browserstack-node-sdk 1.34.55 → 1.34.56

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 (137) 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/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a2_0x1556d4=a2_0x2550;(function(_0x56e944,_0xd42917){const _0x4fa68e=a2_0x2550,_0x4517b4=_0x56e944();while(!![]){try{const _0x53e5e6=parseInt(_0x4fa68e(0x9e))/0x1+parseInt(_0x4fa68e(0xa0))/0x2*(parseInt(_0x4fa68e(0x9f))/0x3)+-parseInt(_0x4fa68e(0x9d))/0x4+parseInt(_0x4fa68e(0x8d))/0x5*(-parseInt(_0x4fa68e(0xa6))/0x6)+parseInt(_0x4fa68e(0xa1))/0x7*(parseInt(_0x4fa68e(0x88))/0x8)+-parseInt(_0x4fa68e(0x89))/0x9*(parseInt(_0x4fa68e(0x94))/0xa)+parseInt(_0x4fa68e(0x95))/0xb;if(_0x53e5e6===_0xd42917)break;else _0x4517b4['push'](_0x4517b4['shift']());}catch(_0x44a5ee){_0x4517b4['push'](_0x4517b4['shift']());}}}(a2_0x2cac,0xbd08f));const fs=require('fs'),{getCredentialsPath,isUndefined}=require('../utils/utilityMethods'),{logger}=require('../config/logger'),{inputCloudProviderKeys}=require(a2_0x1556d4(0x91)),{WS_EVENTS}=require(a2_0x1556d4(0x83));class CloudProvider{constructor(_0x3072ae,_0x2896ce,_0x43408d,_0x17149c,_0x428a36){const _0x3be42b=a2_0x1556d4,_0x3e4397={};_0x3e4397[_0x3be42b(0x9b)]='4|1|0|3|2';const _0x7e7e61=_0x3e4397,_0x5546f1=_0x7e7e61[_0x3be42b(0x9b)][_0x3be42b(0xa7)]('|');let _0x3dc35d=0x0;while(!![]){switch(_0x5546f1[_0x3dc35d++]){case'0':this[_0x3be42b(0x96)]=_0x43408d;continue;case'1':this[_0x3be42b(0x8b)]=_0x2896ce;continue;case'2':this[_0x3be42b(0xa8)]=_0x428a36;continue;case'3':this[_0x3be42b(0x8a)]=_0x17149c;continue;case'4':this['cloudProviderName']=_0x3072ae;continue;}break;}}async[a2_0x1556d4(0x90)](){const _0x1879a9=a2_0x1556d4,_0x3ddb20={'wDrkK':function(_0x2ad6d3){return _0x2ad6d3();},'rtbll':function(_0x6f6432,_0x411dc0){return _0x6f6432(_0x411dc0);},'qFaRh':_0x1879a9(0xa5),'sDxXb':function(_0x4711d4,_0x256fb7,_0x1bc6cc,_0x496c4e){return _0x4711d4(_0x256fb7,_0x1bc6cc,_0x496c4e);},'cKOhE':_0x1879a9(0x8e),'nEKqY':_0x1879a9(0x8f)},_0x504d10=JSON[_0x1879a9(0xaa)](fs[_0x1879a9(0x99)](_0x3ddb20[_0x1879a9(0x86)](getCredentialsPath))),_0xf34577=_0x504d10[_0x1879a9(0x85)]||{};if(_0x3ddb20[_0x1879a9(0x87)](isUndefined,_0xf34577[this[_0x1879a9(0x8c)]])){logger[_0x1879a9(0xa2)](_0x3ddb20[_0x1879a9(0x93)]);_0x3ddb20[_0x1879a9(0x87)](isUndefined,_0x504d10[_0x1879a9(0x85)])&&(_0x504d10[_0x1879a9(0x85)]={});_0x504d10[_0x1879a9(0x85)][this[_0x1879a9(0x8c)]]={};const _0xb16c3c=await _0x3ddb20[_0x1879a9(0x92)](inputCloudProviderKeys,this[_0x1879a9(0x8c)],_0x504d10,this);fs[_0x1879a9(0xa3)](_0x3ddb20['wDrkK'](getCredentialsPath),JSON['stringify'](_0xb16c3c)),logger['debug'](_0x3ddb20[_0x1879a9(0xa4)]);}else{const _0x429b99=_0x3ddb20[_0x1879a9(0x98)],_0x4454fe={};_0x4454fe[_0x1879a9(0x97)]=WS_EVENTS[_0x1879a9(0x84)],_0x4454fe['message']=_0x429b99,this['webSocketUtils'][_0x1879a9(0x9c)](this[_0x1879a9(0x8a)],_0x4454fe),logger[_0x1879a9(0xa2)](_0x429b99),await this[_0x1879a9(0xa9)](_0xf34577);}}}function a2_0x2cac(){const _0x27e142=['cloudProviderName','10QLJZkI','Saving\x20credentials\x20for\x20cloud\x20provider\x20locally\x20for\x20later\x20runs','Found\x20credentials\x20for\x20cloud\x20provider\x20locally.\x20Using\x20them\x20to\x20perform\x20actions','init','../utils/userInput','sDxXb','qFaRh','9585170ZUackY','22459822Dkxhyr','gridName','type','nEKqY','readFileSync','exports','rfzdY','sendEventToBackend','2779852zsXeZt','71982PxMkBz','1869BHbxJn','878lXuTqe','63084MpRguB','info','writeFileSync','cKOhE','Unable\x20to\x20fetch\x20credentials\x20for\x20cloud\x20provider\x20locally','2555106UMpLun','split','webSocketUtils','setCachedCredsInRegistry','parse','../config/constants','LOG','cloudProvider','wDrkK','rtbll','792PPZcHE','9MFtQPJ','rws','clusterName'];a2_0x2cac=function(){return _0x27e142;};return a2_0x2cac();}function a2_0x2550(_0x236401,_0x5b0c76){const _0x2cacfe=a2_0x2cac();return a2_0x2550=function(_0x255049,_0x3e76fe){_0x255049=_0x255049-0x83;let _0x29c0ee=_0x2cacfe[_0x255049];return _0x29c0ee;},a2_0x2550(_0x236401,_0x5b0c76);}const a2_0x40e345={};a2_0x40e345['CloudProvider']=CloudProvider,module[a2_0x1556d4(0x9a)]=a2_0x40e345;
1
+ const a2_0x4479c1=a2_0x4c36;function a2_0x4c36(_0x3909cd,_0x12f5df){const _0x1b3816=a2_0x1b38();return a2_0x4c36=function(_0x4c36db,_0x3c46d1){_0x4c36db=_0x4c36db-0x1a9;let _0x372e16=_0x1b3816[_0x4c36db];return _0x372e16;},a2_0x4c36(_0x3909cd,_0x12f5df);}(function(_0x425128,_0x295b13){const _0x1c1863=a2_0x4c36,_0x550474=_0x425128();while(!![]){try{const _0x27dee7=-parseInt(_0x1c1863(0x1cc))/0x1*(-parseInt(_0x1c1863(0x1ba))/0x2)+-parseInt(_0x1c1863(0x1d3))/0x3+parseInt(_0x1c1863(0x1d2))/0x4+-parseInt(_0x1c1863(0x1ae))/0x5*(-parseInt(_0x1c1863(0x1c9))/0x6)+parseInt(_0x1c1863(0x1c8))/0x7*(-parseInt(_0x1c1863(0x1c7))/0x8)+-parseInt(_0x1c1863(0x1b6))/0x9*(-parseInt(_0x1c1863(0x1b8))/0xa)+parseInt(_0x1c1863(0x1bb))/0xb*(-parseInt(_0x1c1863(0x1ab))/0xc);if(_0x27dee7===_0x295b13)break;else _0x550474['push'](_0x550474['shift']());}catch(_0x26820){_0x550474['push'](_0x550474['shift']());}}}(a2_0x1b38,0xdce01));const fs=require('fs'),{getCredentialsPath,isUndefined}=require('../utils/utilityMethods'),{logger}=require(a2_0x4479c1(0x1ca)),{inputCloudProviderKeys}=require(a2_0x4479c1(0x1cf)),{WS_EVENTS}=require('../config/constants');class CloudProvider{constructor(_0x131f5e,_0x175a37,_0x31077a,_0x11e17c,_0x4f7a62){const _0x580d8c=a2_0x4479c1,_0x2a6813={};_0x2a6813[_0x580d8c(0x1c1)]=_0x580d8c(0x1aa);const _0x594907=_0x2a6813,_0x1174b4=_0x594907[_0x580d8c(0x1c1)][_0x580d8c(0x1c5)]('|');let _0x2532fc=0x0;while(!![]){switch(_0x1174b4[_0x2532fc++]){case'0':this[_0x580d8c(0x1b9)]=_0x11e17c;continue;case'1':this[_0x580d8c(0x1cd)]=_0x31077a;continue;case'2':this[_0x580d8c(0x1d0)]=_0x131f5e;continue;case'3':this[_0x580d8c(0x1b2)]=_0x4f7a62;continue;case'4':this[_0x580d8c(0x1c3)]=_0x175a37;continue;}break;}}async[a2_0x4479c1(0x1c4)](){const _0x4f0b30=a2_0x4479c1,_0x530b68={'dcxSF':function(_0x3bbae4){return _0x3bbae4();},'MqHih':function(_0x455311,_0x92f675){return _0x455311(_0x92f675);},'DFVqF':'Unable\x20to\x20fetch\x20credentials\x20for\x20cloud\x20provider\x20locally','BgPPf':function(_0xe87649,_0x30ad68,_0x5844e5,_0x3bd1fb){return _0xe87649(_0x30ad68,_0x5844e5,_0x3bd1fb);},'IyhhQ':function(_0x167c61){return _0x167c61();},'YaZXS':_0x4f0b30(0x1bd),'nClvY':_0x4f0b30(0x1b1)},_0x4a3e0b=JSON[_0x4f0b30(0x1d1)](fs[_0x4f0b30(0x1c2)](_0x530b68[_0x4f0b30(0x1ad)](getCredentialsPath))),_0x595f7e=_0x4a3e0b[_0x4f0b30(0x1b7)]||{};if(_0x530b68[_0x4f0b30(0x1a9)](isUndefined,_0x595f7e[this[_0x4f0b30(0x1d0)]])){logger[_0x4f0b30(0x1b0)](_0x530b68[_0x4f0b30(0x1c0)]);_0x530b68[_0x4f0b30(0x1a9)](isUndefined,_0x4a3e0b['cloudProvider'])&&(_0x4a3e0b[_0x4f0b30(0x1b7)]={});_0x4a3e0b[_0x4f0b30(0x1b7)][this[_0x4f0b30(0x1d0)]]={};const _0x34eafa=await _0x530b68[_0x4f0b30(0x1be)](inputCloudProviderKeys,this[_0x4f0b30(0x1d0)],_0x4a3e0b,this);fs['writeFileSync'](_0x530b68[_0x4f0b30(0x1b4)](getCredentialsPath),JSON[_0x4f0b30(0x1af)](_0x34eafa)),logger[_0x4f0b30(0x1b3)](_0x530b68[_0x4f0b30(0x1ac)]);}else{const _0x1f3409=_0x530b68[_0x4f0b30(0x1c6)],_0x5eb5d3={};_0x5eb5d3[_0x4f0b30(0x1b5)]=WS_EVENTS[_0x4f0b30(0x1bc)],_0x5eb5d3[_0x4f0b30(0x1bf)]=_0x1f3409,this['webSocketUtils']['sendEventToBackend'](this[_0x4f0b30(0x1b9)],_0x5eb5d3),logger[_0x4f0b30(0x1b0)](_0x1f3409),await this[_0x4f0b30(0x1cb)](_0x595f7e);}}}function a2_0x1b38(){const _0x53b5de=['293ROxLgy','gridName','exports','../utils/userInput','cloudProviderName','parse','810332qszSYq','1853310PgIkyB','CloudProvider','MqHih','2|4|1|0|3','12fdhxrP','YaZXS','dcxSF','5hNWETc','stringify','info','Found\x20credentials\x20for\x20cloud\x20provider\x20locally.\x20Using\x20them\x20to\x20perform\x20actions','webSocketUtils','debug','IyhhQ','type','18geAnIB','cloudProvider','6707860BBVoGK','rws','10808aJKezE','30688845qrMGyW','LOG','Saving\x20credentials\x20for\x20cloud\x20provider\x20locally\x20for\x20later\x20runs','BgPPf','message','DFVqF','dGIMU','readFileSync','clusterName','init','split','nClvY','2801848XnCEim','7BWlXpt','9210444XLhcQa','../config/logger','setCachedCredsInRegistry'];a2_0x1b38=function(){return _0x53b5de;};return a2_0x1b38();}const a2_0x9896aa={};a2_0x9896aa[a2_0x4479c1(0x1d4)]=CloudProvider,module[a2_0x4479c1(0x1ce)]=a2_0x9896aa;
@@ -1 +1 @@
1
- const a3_0x5582b1=a3_0x3fdc;function a3_0x3fdc(_0x468b3a,_0x14649c){const _0x59bfb3=a3_0x59bf();return a3_0x3fdc=function(_0x3fdc15,_0x210724){_0x3fdc15=_0x3fdc15-0x1dc;let _0x4269b5=_0x59bfb3[_0x3fdc15];return _0x4269b5;},a3_0x3fdc(_0x468b3a,_0x14649c);}(function(_0x1e7cf2,_0x56cdb8){const _0x3f6f58=a3_0x3fdc,_0x44aeaa=_0x1e7cf2();while(!![]){try{const _0x17d5ee=-parseInt(_0x3f6f58(0x23d))/0x1+parseInt(_0x3f6f58(0x239))/0x2*(parseInt(_0x3f6f58(0x358))/0x3)+-parseInt(_0x3f6f58(0x25f))/0x4+-parseInt(_0x3f6f58(0x204))/0x5+-parseInt(_0x3f6f58(0x278))/0x6*(parseInt(_0x3f6f58(0x33a))/0x7)+-parseInt(_0x3f6f58(0x2c2))/0x8*(-parseInt(_0x3f6f58(0x266))/0x9)+parseInt(_0x3f6f58(0x255))/0xa*(parseInt(_0x3f6f58(0x2f3))/0xb);if(_0x17d5ee===_0x56cdb8)break;else _0x44aeaa['push'](_0x44aeaa['shift']());}catch(_0x438fc9){_0x44aeaa['push'](_0x44aeaa['shift']());}}}(a3_0x59bf,0xe5fa5));const fs=require('fs'),path=require(a3_0x5582b1(0x350)),got=require(a3_0x5582b1(0x257)),util=require(a3_0x5582b1(0x2ec)),cp=require(a3_0x5582b1(0x2f2)),{google}=require(a3_0x5582b1(0x281)),compute=require(a3_0x5582b1(0x295)),container=require(a3_0x5582b1(0x1ea)),{ProjectsClient}=require(a3_0x5582b1(0x265))['v3'],{logger}=require(a3_0x5582b1(0x33f)),{CloudProvider}=require(a3_0x5582b1(0x305)),{getDirForConfig,getAuthHeader,runCommand}=require(a3_0x5582b1(0x2fc)),{deleteRoutingDeps,deleteAgent}=require(a3_0x5582b1(0x32d)),{inputConfirmation,closeInput}=require(a3_0x5582b1(0x319)),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require(a3_0x5582b1(0x364)),PERMISSIONS=require(a3_0x5582b1(0x1dd));class GoogleCloudProvider extends CloudProvider{constructor(_0x1375d5,_0x5910f0,_0x191229,_0xe87e08){const _0x4ca253=a3_0x5582b1,_0xf783ab={};_0xf783ab[_0x4ca253(0x1f5)]=_0x4ca253(0x1f1),_0xf783ab['xbMhl']=_0x4ca253(0x25e),_0xf783ab[_0x4ca253(0x21c)]='turboscale-service-account';const _0x5265a7=_0xf783ab,_0x102930=_0x5265a7[_0x4ca253(0x1f5)][_0x4ca253(0x34e)]('|');let _0x892bea=0x0;while(!![]){switch(_0x102930[_0x892bea++]){case'0':this['customRoleName']=_0x5265a7['xbMhl'];continue;case'1':this[_0x4ca253(0x245)]=null;continue;case'2':super(GCP,_0x1375d5,_0x5910f0,_0x191229,_0xe87e08);continue;case'3':this[_0x4ca253(0x287)]=null;continue;case'4':this[_0x4ca253(0x2f9)]=null;continue;case'5':this['containerClient']=null;continue;case'6':this[_0x4ca253(0x27f)]=null;continue;case'7':this[_0x4ca253(0x211)]=null;continue;case'8':this[_0x4ca253(0x31b)]=_0x5265a7[_0x4ca253(0x21c)];continue;}break;}}async[a3_0x5582b1(0x313)](){this['sendGCPInfoToHST'](this['rws']);}async[a3_0x5582b1(0x227)](){const _0x2df535=a3_0x5582b1;await super[_0x2df535(0x227)]();const _0x2755ce=this[_0x2df535(0x211)],_0x2cdf77={};_0x2cdf77[_0x2df535(0x32b)]=_0x2755ce,this[_0x2df535(0x29a)]=new container['v1']['ClusterManagerClient'](_0x2cdf77);const _0xb80ed0={};_0xb80ed0[_0x2df535(0x32b)]=_0x2755ce,this[_0x2df535(0x287)]=new compute['v1']['NetworksClient'](_0xb80ed0);const _0x55ba8d={};return _0x55ba8d['keyFile']=_0x2755ce,this[_0x2df535(0x2f9)]=new ProjectsClient(_0x55ba8d),this[_0x2df535(0x245)]=google[_0x2df535(0x301)]('v1'),this;}async['getUserInput'](_0x47b20f,_0x798bcf){const _0x2f8d2d=a3_0x5582b1,_0x3f9f8f={'LwCsL':function(_0x2115f3,_0x2f9444){return _0x2115f3(_0x2f9444);},'TSCAq':_0x2f8d2d(0x2dc),'APNZU':function(_0x45218c){return _0x45218c();},'YrFVL':'gcp_credentials.json'},_0x520cc8=await _0x3f9f8f[_0x2f8d2d(0x361)](_0x47b20f,_0x3f9f8f[_0x2f8d2d(0x293)]);let _0x5ce776=await fs[_0x2f8d2d(0x2f7)](_0x520cc8);_0x5ce776=_0x5ce776['toString']();const _0x39d306=_0x3f9f8f[_0x2f8d2d(0x21e)](getDirForConfig),_0x3cb80f=path['join'](_0x39d306,_0x3f9f8f[_0x2f8d2d(0x26e)]);fs['writeFileSync'](_0x3cb80f,_0x5ce776),this[_0x2f8d2d(0x211)]=_0x3cb80f;const _0xd5e51f={};return _0xd5e51f[_0x2f8d2d(0x32b)]=_0x3cb80f,_0x798bcf['cloudProvider'][GCP]=_0xd5e51f,_0x5ce776=JSON['parse'](_0x5ce776),this['projectId']=_0x5ce776[_0x2f8d2d(0x2a5)],_0x798bcf;}async['setCachedCredsInRegistry'](_0x1b7a44){const _0x141901=a3_0x5582b1;this[_0x141901(0x211)]=_0x1b7a44[this['cloudProviderName']][_0x141901(0x32b)];let _0x9a1f11=await fs[_0x141901(0x2f7)](this[_0x141901(0x211)]);_0x9a1f11=JSON[_0x141901(0x20d)](_0x9a1f11),this[_0x141901(0x27f)]=_0x9a1f11[_0x141901(0x2a5)];}[a3_0x5582b1(0x2b2)](_0x15511d){const _0x413e13=a3_0x5582b1;return _0x15511d['status'][_0x413e13(0x26f)][_0x413e13(0x310)][0x0]['ip'];}async[a3_0x5582b1(0x2c6)](){const _0x47dcab=a3_0x5582b1,_0x4e42af={};_0x4e42af['jLCJt']=function(_0x3977ed,_0x124a17){return _0x3977ed===_0x124a17;},_0x4e42af['GvcoC']=_0x47dcab(0x35d),_0x4e42af[_0x47dcab(0x235)]=_0x47dcab(0x1ed),_0x4e42af[_0x47dcab(0x1e9)]=function(_0x45ea24,_0x265e12){return _0x45ea24!==_0x265e12;},_0x4e42af[_0x47dcab(0x2a7)]=_0x47dcab(0x2ef),_0x4e42af[_0x47dcab(0x320)]='nqAwl',_0x4e42af[_0x47dcab(0x21d)]=function(_0x2499ca,_0x20eae1){return _0x2499ca===_0x20eae1;},_0x4e42af['QKOvm']=function(_0x665c97,_0x3ffa03){return _0x665c97===_0x3ffa03;},_0x4e42af['YjuIE']='LMcRd';const _0x8651dc=_0x4e42af;try{if(_0x8651dc[_0x47dcab(0x25c)](_0x8651dc[_0x47dcab(0x235)],_0x8651dc[_0x47dcab(0x235)])){const _0x165331=await this[_0x47dcab(0x29c)]();if(_0x165331[0x0]?.['resourceLabels']?.[_0x47dcab(0x271)]){if(_0x8651dc['lNTpa'](_0x8651dc['icsQB'],_0x8651dc[_0x47dcab(0x320)])){const _0x803ac0=_0x165331[0x0]?.[_0x47dcab(0x304)]?.[_0x47dcab(0x271)];return _0x803ac0&&_0x8651dc[_0x47dcab(0x21d)](_0x803ac0[_0x47dcab(0x2cd)](),_0x8651dc[_0x47dcab(0x226)]);}else{const _0x983a75=_0x47dcab(0x2cc)+this[_0x47dcab(0x27f)]+_0x47dcab(0x234)+_0xf1d204[_0x47dcab(0x275)]+_0x47dcab(0x2ea)+_0x3c531c[0x0];if(_0x8651dc[_0x47dcab(0x25c)](_0x983a75,_0x1b99a4))return[!![],_0x59f14c];}}}else _0xd1298d[_0x47dcab(0x20c)](_0x2c401d);}catch(_0x1a57e1){if(_0x8651dc[_0x47dcab(0x261)](_0x8651dc[_0x47dcab(0x220)],_0x8651dc[_0x47dcab(0x220)]))return![];else{const _0xdccc08=_0x9dfbb7[0x0]?.[_0x47dcab(0x304)]?.['managedby'];return _0xdccc08&&_0x8651dc['jLCJt'](_0xdccc08[_0x47dcab(0x2cd)](),_0x8651dc['GvcoC']);}}return![];}async[a3_0x5582b1(0x225)](){const _0xbecb8=a3_0x5582b1,_0x194ee5={'HplKm':function(_0x50980d,_0xf50920){return _0x50980d===_0xf50920;},'hDgfW':_0xbecb8(0x1fb),'hYqkS':_0xbecb8(0x307),'WxNsw':_0xbecb8(0x316),'FMlOI':_0xbecb8(0x252),'OXmve':_0xbecb8(0x353),'QrSTI':_0xbecb8(0x277),'hdbek':function(_0xc5ce04,_0x3aeb44){return _0xc5ce04!==_0x3aeb44;},'GsYaK':_0xbecb8(0x1e8),'uBykb':'Bdlmn','NZEIB':function(_0x139794,_0x116690){return _0x139794!==_0x116690;},'ymbfu':_0xbecb8(0x2a6),'JoJTP':function(_0x4d1f9c,_0x4b3e05){return _0x4d1f9c===_0x4b3e05;},'nGkJe':'NhjQT','upPcW':_0xbecb8(0x2ba),'BxhPx':function(_0x286b1b,_0x26aa49){return _0x286b1b===_0x26aa49;},'LRpzb':function(_0x3175f4,_0x3f4e60){return _0x3175f4!==_0x3f4e60;},'EaQAc':_0xbecb8(0x36f),'EwwWZ':function(_0x158950,_0x5e3902){return _0x158950!==_0x5e3902;},'rSQNI':_0xbecb8(0x2de),'bWkSi':function(_0x2e69af,_0x22086b){return _0x2e69af>_0x22086b;},'yOYcU':_0xbecb8(0x214),'pvvSC':function(_0x81d71,_0x4f51b7){return _0x81d71<_0x4f51b7;},'dRUTX':function(_0x51e7de,_0x492762){return _0x51e7de===_0x492762;},'GVfAh':_0xbecb8(0x280),'PnrrE':_0xbecb8(0x1e1),'nDTHM':function(_0x1e170f,_0xb0a845){return _0x1e170f+_0xb0a845;},'hpDcf':function(_0x551619,_0x3db03d){return _0x551619(_0x3db03d);},'lKaie':_0xbecb8(0x217),'fMcmy':function(_0x11da1b,_0x262dcd){return _0x11da1b(_0x262dcd);},'yiqNW':function(_0x336cad,_0x2132d6){return _0x336cad(_0x2132d6);},'RnrST':function(_0x48070d,_0x1b965a){return _0x48070d<=_0x1b965a;},'PrViH':_0xbecb8(0x2f4),'ZhtVX':'MCdpD','GjOQf':_0xbecb8(0x20a),'UONSx':function(_0x3f1c7f){return _0x3f1c7f();},'HNliu':function(_0x2e5940,_0x432bfe){return _0x2e5940-_0x432bfe;},'gfKse':function(_0x5dff74,_0x4d47ba){return _0x5dff74!==_0x4d47ba;},'QRZeV':function(_0x334a76,_0x5b75eb){return _0x334a76-_0x5b75eb;},'YRZGf':_0xbecb8(0x368),'UWWPN':function(_0xf97869,_0x2a5746){return _0xf97869-_0x2a5746;}};let _0x4c59b9=await fs[_0xbecb8(0x2f7)](path[_0xbecb8(0x2c1)](__dirname,'..',_0x194ee5['WxNsw'],_0x194ee5[_0xbecb8(0x230)],_0x194ee5[_0xbecb8(0x34a)]),_0x194ee5[_0xbecb8(0x262)]);_0x4c59b9=JSON['parse'](_0x4c59b9);let _0x44fdac=[global_registry['clusterRegion']];if(_0x194ee5[_0xbecb8(0x2c0)](_0x4c59b9[global_registry[_0xbecb8(0x275)]],undefined)){if(_0x194ee5[_0xbecb8(0x24f)](_0x194ee5['GsYaK'],_0x194ee5[_0xbecb8(0x2b3)]))_0x44fdac=_0x44fdac[_0xbecb8(0x272)](_0x4c59b9[global_registry['clusterRegion']]);else return _0x1bf12c[_0xbecb8(0x34f)][_0xbecb8(0x26f)][_0xbecb8(0x310)][0x0]['ip'];}const _0x336303=[];for await(const _0x48e61d of _0x44fdac){if(_0x194ee5[_0xbecb8(0x2c0)](_0x194ee5[_0xbecb8(0x28b)],_0x194ee5[_0xbecb8(0x28b)]))_0x5aaff0[_0xbecb8(0x208)]('error\x20:\x20'+_0x1480bc+'\x20:\x20'+_0x5c8ee1[_0xbecb8(0x27c)]),_0x2ce456[_0xbecb8(0x2cb)]=_0xbecb8(0x337)+_0x51a69d,_0x3f103c[_0xbecb8(0x208)]=_0x11bcd7;else{const _0x1f0e0b={};_0x1f0e0b[_0xbecb8(0x2d4)]=_0xbecb8(0x22d)+this[_0xbecb8(0x27f)]+'/locations/'+_0x48e61d;const _0xef0695=_0x1f0e0b,_0x22dc78=await this[_0xbecb8(0x29a)][_0xbecb8(0x26a)](_0xef0695);for(const _0xd1bb35 of _0x22dc78[0x0][_0xbecb8(0x1e2)]){if(_0x194ee5['NZEIB'](_0x194ee5[_0xbecb8(0x2d3)],_0x194ee5[_0xbecb8(0x2d3)]))for(const _0x31b2d9 of _0x5efabd[_0xbecb8(0x2cb)][_0xbecb8(0x1de)]){if(_0x194ee5[_0xbecb8(0x24f)](_0x31b2d9?.['name'],_0xbecb8(0x22d)+this[_0xbecb8(0x27f)]+_0xbecb8(0x342)+this['serviceAccountName']+'@'+this[_0xbecb8(0x27f)]+_0xbecb8(0x32a)))return!![];}else{if(_0x194ee5[_0xbecb8(0x24f)](_0xd1bb35[_0xbecb8(0x223)],this[_0xbecb8(0x2bb)])){if(_0x194ee5[_0xbecb8(0x2d6)](_0x194ee5['nGkJe'],_0x194ee5[_0xbecb8(0x2fa)])){_0x165cc7[_0xbecb8(0x302)](_0x194ee5['hDgfW']);return;}else _0x336303[_0xbecb8(0x36d)](_0x48e61d);}}}}}const _0x4694b1=_0x336303[_0xbecb8(0x20f)];if(_0x194ee5[_0xbecb8(0x324)](_0x4694b1,0x1))return _0x194ee5[_0xbecb8(0x326)](_0x194ee5[_0xbecb8(0x206)],_0x194ee5['EaQAc'])?[!![],_0x3036aa]:(_0x194ee5[_0xbecb8(0x21a)](global_registry[_0xbecb8(0x275)],_0x336303[0x0])&&(_0x194ee5[_0xbecb8(0x1e0)](_0x194ee5[_0xbecb8(0x20e)],_0x194ee5[_0xbecb8(0x20e)])?_0x25a000[_0xbecb8(0x34f)]=![]:(global_registry[_0xbecb8(0x275)]=_0x336303[0x0],this[_0xbecb8(0x263)]())),!![]);else{if(_0x194ee5[_0xbecb8(0x212)](_0x4694b1,0x1)){if(_0x194ee5[_0xbecb8(0x1e0)](_0x194ee5[_0xbecb8(0x1f4)],_0x194ee5[_0xbecb8(0x1f4)]))_0x40b53e[_0xbecb8(0x208)]=_0xb76a50;else{console[_0xbecb8(0x2e1)](_0xbecb8(0x359)+this[_0xbecb8(0x2bb)]+_0xbecb8(0x315));for(let _0x3789ec=0x0;_0x194ee5[_0xbecb8(0x1fa)](_0x3789ec,_0x4694b1);_0x3789ec+=0x1){_0x194ee5['dRUTX'](_0x194ee5['GVfAh'],_0x194ee5[_0xbecb8(0x1f7)])?_0x3feaa=_0x194ee5[_0xbecb8(0x296)]:console[_0xbecb8(0x2e1)]('['+_0x194ee5[_0xbecb8(0x30a)](_0x3789ec,0x1)+']\x20'+_0x336303[_0x3789ec]);}const _0x1aeb52=await _0x194ee5[_0xbecb8(0x219)](inputConfirmation,_0x194ee5[_0xbecb8(0x31a)]),_0x5e5926=_0x194ee5[_0xbecb8(0x2a8)](Number,_0x1aeb52);if(_0x194ee5['yiqNW'](isNaN,_0x5e5926)||_0x194ee5[_0xbecb8(0x34d)](_0x5e5926,0x0)||_0x194ee5[_0xbecb8(0x212)](_0x5e5926,_0x4694b1)){if(_0x194ee5['HplKm'](_0x194ee5[_0xbecb8(0x2fb)],_0x194ee5[_0xbecb8(0x1f6)]))return!![];else console['error'](_0x194ee5[_0xbecb8(0x2ed)]),process[_0xbecb8(0x256)](0x1);}return _0x194ee5[_0xbecb8(0x1ee)](closeInput),logger[_0xbecb8(0x302)](_0xbecb8(0x2bc)+_0x336303[_0x194ee5[_0xbecb8(0x330)](_0x5e5926,0x1)]),_0x194ee5[_0xbecb8(0x298)](global_registry[_0xbecb8(0x275)],_0x336303[_0x194ee5[_0xbecb8(0x339)](_0x5e5926,0x1)])&&(_0x194ee5[_0xbecb8(0x21a)](_0x194ee5[_0xbecb8(0x24b)],_0x194ee5['YRZGf'])?_0x28d620=_0x1ee9fb[_0xbecb8(0x272)](_0x4ac3b9[_0x1a2f50['clusterRegion']]):(global_registry['clusterRegion']=_0x336303[_0x194ee5[_0xbecb8(0x1dc)](_0x5e5926,0x1)],this['updateClusterRegion']())),!![];}}}return![];}async[a3_0x5582b1(0x29c)](){const _0x2b52a8=a3_0x5582b1,_0x2e48a0=await this['containerClient'][_0x2b52a8(0x314)]({'name':_0x2b52a8(0x22d)+this[_0x2b52a8(0x27f)]+_0x2b52a8(0x31d)+global_registry[_0x2b52a8(0x275)]+_0x2b52a8(0x346)+this[_0x2b52a8(0x2bb)]});return _0x2e48a0;}async[a3_0x5582b1(0x259)](){const _0x2074ad=a3_0x5582b1,_0x4bb938={};_0x4bb938[_0x2074ad(0x22a)]='gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--user-output-enabled=false',_0x4bb938[_0x2074ad(0x279)]=_0x2074ad(0x316),_0x4bb938[_0x2074ad(0x2fd)]=_0x2074ad(0x252),_0x4bb938[_0x2074ad(0x236)]='KubeConfigTemplate.yaml';const _0xc6be4f=_0x4bb938;cp[_0x2074ad(0x31f)](_0xc6be4f['CzrML']),cp[_0x2074ad(0x1e5)](_0x2074ad(0x233)+this['credentialsPath']);const _0xef760c=await this['getClusterInfo'](),_0x46ba6e=_0x2074ad(0x27b)+this[_0x2074ad(0x27f)]+'_'+global_registry[_0x2074ad(0x275)]+'_'+this[_0x2074ad(0x2bb)];let _0x475fbc=await fs['readFileAsync'](path[_0x2074ad(0x2c1)](__dirname,'..',_0xc6be4f[_0x2074ad(0x279)],_0xc6be4f[_0x2074ad(0x2fd)],_0xc6be4f[_0x2074ad(0x236)]));return _0x475fbc=_0x475fbc[_0x2074ad(0x2ab)](),_0x475fbc=_0x475fbc[_0x2074ad(0x28f)](/<CLUSTER_NAME>/g,_0x46ba6e),_0x475fbc=_0x475fbc[_0x2074ad(0x28f)](/<CLUSTER_URL>/g,_0x2074ad(0x242)+_0xef760c[0x0][_0x2074ad(0x2b7)]),_0x475fbc=_0x475fbc[_0x2074ad(0x28f)](/<CERTIFICATE_DATA>/g,_0xef760c[0x0]['masterAuth']['clusterCaCertificate']),_0x475fbc;}async[a3_0x5582b1(0x1ef)](){const _0x2ce8fa=a3_0x5582b1,_0x3e4ab9={};_0x3e4ab9[_0x2ce8fa(0x238)]=function(_0x4a6b6d,_0x2466ce){return _0x4a6b6d===_0x2466ce;},_0x3e4ab9[_0x2ce8fa(0x25d)]=function(_0x1deca5,_0x53e6f1){return _0x1deca5-_0x53e6f1;},_0x3e4ab9['zPvrP']=_0x2ce8fa(0x215),_0x3e4ab9['meESG']=function(_0x3efb60,_0xe65cbe){return _0x3efb60===_0xe65cbe;},_0x3e4ab9[_0x2ce8fa(0x1e7)]=_0x2ce8fa(0x360),_0x3e4ab9[_0x2ce8fa(0x32f)]=_0x2ce8fa(0x209),_0x3e4ab9[_0x2ce8fa(0x276)]=function(_0x3a9a97,_0x212a7b){return _0x3a9a97===_0x212a7b;},_0x3e4ab9[_0x2ce8fa(0x29d)]=_0x2ce8fa(0x32e),_0x3e4ab9[_0x2ce8fa(0x273)]=function(_0x4f50a4,_0x857906){return _0x4f50a4===_0x857906;},_0x3e4ab9[_0x2ce8fa(0x299)]=function(_0x46d8a7,_0x4f2581){return _0x46d8a7!==_0x4f2581;},_0x3e4ab9['jwYBi']=_0x2ce8fa(0x2e6);const _0x106bef=_0x3e4ab9,_0x596b5d={};_0x596b5d[_0x2ce8fa(0x2da)]=[_0x106bef[_0x2ce8fa(0x371)]],_0x596b5d['keyFile']=this[_0x2ce8fa(0x211)];const _0x2c1b24=await google[_0x2ce8fa(0x1fc)]['getClient'](_0x596b5d),_0x13639c=await this['iamClient']['projects']['serviceAccounts']['list']({'name':_0x2ce8fa(0x22d)+this['projectId'],'auth':_0x2c1b24});if(_0x13639c?.[_0x2ce8fa(0x2cb)]?.[_0x2ce8fa(0x1de)]){if(_0x106bef['meESG'](_0x106bef[_0x2ce8fa(0x1e7)],_0x106bef[_0x2ce8fa(0x32f)]))_0x106bef[_0x2ce8fa(0x238)](_0x1b2547['name'],this[_0x2ce8fa(0x2bb)])&&_0xc3fed2[_0x2ce8fa(0x36d)](_0x43cfba);else for(const _0x17d18e of _0x13639c[_0x2ce8fa(0x2cb)][_0x2ce8fa(0x1de)]){if(_0x106bef['ojrpX'](_0x106bef[_0x2ce8fa(0x29d)],_0x106bef[_0x2ce8fa(0x29d)])){if(_0x106bef[_0x2ce8fa(0x273)](_0x17d18e?.[_0x2ce8fa(0x223)],_0x2ce8fa(0x22d)+this[_0x2ce8fa(0x27f)]+'/serviceAccounts/'+this[_0x2ce8fa(0x31b)]+'@'+this[_0x2ce8fa(0x27f)]+_0x2ce8fa(0x32a))){if(_0x106bef[_0x2ce8fa(0x299)](_0x106bef[_0x2ce8fa(0x366)],_0x106bef[_0x2ce8fa(0x366)]))_0x5af141[_0x2ce8fa(0x275)]=_0x48c983[_0x106bef[_0x2ce8fa(0x25d)](_0x41c1bd,0x1)],this['updateClusterRegion']();else return!![];}}else this[_0x2ce8fa(0x2d9)](this['rws']);}}return![];}async['setupServiceAccount'](){const _0x2f28f9=a3_0x5582b1,_0x41722a={};_0x41722a[_0x2f28f9(0x34c)]=function(_0x4a38c7,_0x4909b2){return _0x4a38c7!==_0x4909b2;},_0x41722a[_0x2f28f9(0x334)]='PZlfA',_0x41722a[_0x2f28f9(0x268)]=_0x2f28f9(0x1fb),_0x41722a[_0x2f28f9(0x2d5)]=_0x2f28f9(0x202),_0x41722a['MFLBG']=_0x2f28f9(0x215),_0x41722a['TEBvt']=_0x2f28f9(0x2e9),_0x41722a[_0x2f28f9(0x36e)]=_0x2f28f9(0x344),_0x41722a[_0x2f28f9(0x36a)]='storage.buckets.createTagBinding',_0x41722a[_0x2f28f9(0x29e)]=_0x2f28f9(0x30e),_0x41722a[_0x2f28f9(0x20b)]='storage.buckets.deleteTagBinding',_0x41722a[_0x2f28f9(0x267)]=_0x2f28f9(0x291),_0x41722a[_0x2f28f9(0x244)]=_0x2f28f9(0x306),_0x41722a[_0x2f28f9(0x241)]=_0x2f28f9(0x2cf),_0x41722a['lwCgc']=_0x2f28f9(0x2aa),_0x41722a[_0x2f28f9(0x213)]=_0x2f28f9(0x2a3),_0x41722a[_0x2f28f9(0x1f8)]='storage.buckets.listTagBindings',_0x41722a[_0x2f28f9(0x2ff)]=_0x2f28f9(0x2bf),_0x41722a['cUycz']='storage.buckets.update',_0x41722a[_0x2f28f9(0x290)]=_0x2f28f9(0x355),_0x41722a[_0x2f28f9(0x1eb)]=_0x2f28f9(0x300),_0x41722a[_0x2f28f9(0x229)]=_0x2f28f9(0x356),_0x41722a['wvsIG']='storage.multipartUploads.listParts',_0x41722a[_0x2f28f9(0x27d)]='storage.objects.create',_0x41722a[_0x2f28f9(0x2c9)]='storage.objects.delete',_0x41722a['MeKhj']=_0x2f28f9(0x27e),_0x41722a['RFFxj']=_0x2f28f9(0x340),_0x41722a[_0x2f28f9(0x343)]='storage.objects.list',_0x41722a[_0x2f28f9(0x2b9)]=_0x2f28f9(0x23c),_0x41722a['kzHLk']=_0x2f28f9(0x351),_0x41722a['prZbG']=_0x2f28f9(0x292),_0x41722a[_0x2f28f9(0x231)]='Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation';const _0x53018b=_0x41722a,_0x207dbd=await this[_0x2f28f9(0x1ef)]();if(_0x207dbd){if(_0x53018b['YOedO'](_0x53018b[_0x2f28f9(0x334)],_0x53018b[_0x2f28f9(0x334)]))return _0x4e3689[_0x2f28f9(0x208)](_0x2f28f9(0x249)+_0x36839d+_0x2f28f9(0x258)+_0x45a9a0),[![],[]];else{logger[_0x2f28f9(0x302)](_0x53018b[_0x2f28f9(0x268)]);return;}}logger['info'](_0x53018b[_0x2f28f9(0x2d5)]);const _0x2e95b2={};_0x2e95b2['scopes']=[_0x53018b['MFLBG']],_0x2e95b2[_0x2f28f9(0x32b)]=this[_0x2f28f9(0x211)];const _0x347887=await google[_0x2f28f9(0x1fc)][_0x2f28f9(0x24d)](_0x2e95b2),_0x537889={};_0x537889['includedPermissions']=[_0x53018b[_0x2f28f9(0x363)],_0x53018b[_0x2f28f9(0x36e)],_0x53018b[_0x2f28f9(0x36a)],_0x53018b[_0x2f28f9(0x29e)],_0x53018b[_0x2f28f9(0x20b)],_0x53018b[_0x2f28f9(0x267)],_0x53018b['vXpCB'],_0x53018b[_0x2f28f9(0x241)],_0x53018b[_0x2f28f9(0x2b4)],_0x53018b['vPUBB'],_0x53018b[_0x2f28f9(0x1f8)],_0x53018b[_0x2f28f9(0x2ff)],_0x53018b[_0x2f28f9(0x323)],_0x53018b[_0x2f28f9(0x290)],_0x53018b[_0x2f28f9(0x1eb)],_0x53018b[_0x2f28f9(0x229)],_0x53018b[_0x2f28f9(0x22c)],_0x53018b[_0x2f28f9(0x27d)],_0x53018b['RTkTU'],_0x53018b['MeKhj'],_0x53018b[_0x2f28f9(0x30f)],_0x53018b['LRwly'],_0x53018b[_0x2f28f9(0x2b9)],_0x53018b[_0x2f28f9(0x2e0)]],_0x537889[_0x2f28f9(0x2d8)]=_0x53018b[_0x2f28f9(0x232)],await this[_0x2f28f9(0x245)][_0x2f28f9(0x322)]['roles'][_0x2f28f9(0x2fe)]({'parent':_0x2f28f9(0x22d)+this[_0x2f28f9(0x27f)],'requestBody':{'role':_0x537889,'roleId':this[_0x2f28f9(0x348)]},'auth':_0x347887});const _0x371c49={};_0x371c49[_0x2f28f9(0x223)]=_0x2f28f9(0x22d)+this[_0x2f28f9(0x27f)],_0x371c49[_0x2f28f9(0x1e3)]={},_0x371c49[_0x2f28f9(0x1fc)]=_0x347887,_0x371c49[_0x2f28f9(0x1e3)][_0x2f28f9(0x336)]=this[_0x2f28f9(0x31b)];const _0x264a5f=_0x371c49;await this[_0x2f28f9(0x245)][_0x2f28f9(0x282)][_0x2f28f9(0x1e4)][_0x2f28f9(0x2fe)](_0x264a5f);let _0x20d2bc=await this[_0x2f28f9(0x2f9)][_0x2f28f9(0x264)]({'resource':_0x2f28f9(0x22d)+this['projectId']});_0x20d2bc=_0x20d2bc[0x0]['bindings'];const _0x51bfa6={};_0x51bfa6[_0x2f28f9(0x35b)]=_0x2f28f9(0x22d)+this[_0x2f28f9(0x27f)]+_0x2f28f9(0x24a)+this[_0x2f28f9(0x348)],_0x51bfa6['members']=[_0x2f28f9(0x35c)+this[_0x2f28f9(0x31b)]+'@'+this[_0x2f28f9(0x27f)]+'.iam.gserviceaccount.com'],_0x20d2bc[_0x2f28f9(0x36d)](_0x51bfa6);const _0x2ec3c2={};_0x2ec3c2['bindings']=_0x20d2bc,await this[_0x2f28f9(0x2f9)][_0x2f28f9(0x216)]({'resource':_0x2f28f9(0x22d)+this[_0x2f28f9(0x27f)],'policy':_0x2ec3c2}),logger[_0x2f28f9(0x302)](_0x53018b[_0x2f28f9(0x231)]);}async[a3_0x5582b1(0x218)](_0x2372a6=a3_0x5582b1(0x307),_0x5a92a6=[a3_0x5582b1(0x307)]){const _0x19fabf=a3_0x5582b1,_0x23bc62={};_0x23bc62[_0x19fabf(0x27a)]='Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.',_0x23bc62[_0x19fabf(0x1e6)]=_0x19fabf(0x35e),_0x23bc62[_0x19fabf(0x362)]='Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account',_0x23bc62['hCZeN']=function(_0x7e3864,_0x2e419c){return _0x7e3864===_0x2e419c;},_0x23bc62[_0x19fabf(0x31c)]=_0x19fabf(0x357),_0x23bc62[_0x19fabf(0x200)]=_0x19fabf(0x28d),_0x23bc62['fpeTf']=_0x19fabf(0x307),_0x23bc62[_0x19fabf(0x369)]=function(_0x1d79f8,_0x25627f){return _0x1d79f8===_0x25627f;},_0x23bc62[_0x19fabf(0x260)]=function(_0x2c6821,_0x145a19){return _0x2c6821!==_0x145a19;},_0x23bc62['pmtnz']=_0x19fabf(0x34b);const _0x145d96=_0x23bc62,_0x2f9604={};return _0x2f9604[_0x19fabf(0x26c)]=WS_EVENTS[_0x19fabf(0x25b)],_0x2f9604[_0x19fabf(0x2c5)]=_0x145d96[_0x19fabf(0x1e6)],this['webSocketUtils'][_0x19fabf(0x205)](this[_0x19fabf(0x286)],_0x2f9604),logger['info'](_0x145d96[_0x19fabf(0x362)]),!_0x2372a6&&(_0x145d96[_0x19fabf(0x1ff)](_0x145d96[_0x19fabf(0x31c)],_0x145d96[_0x19fabf(0x200)])?_0x10bc6a['execSync'](_0x19fabf(0x2dd)+this[_0x19fabf(0x2bb)]+_0x19fabf(0x35f)+_0xc98031[_0x19fabf(0x275)]+_0x19fabf(0x228)):_0x2372a6=_0x145d96[_0x19fabf(0x253)]),(!_0x5a92a6||_0x145d96['EpAtw'](_0x5a92a6[_0x19fabf(0x20f)],0x0))&&(_0x145d96[_0x19fabf(0x260)](_0x145d96[_0x19fabf(0x2f8)],_0x145d96[_0x19fabf(0x2f8)])?(_0x2d22ca[_0x19fabf(0x208)](_0x145d96[_0x19fabf(0x27a)]),_0x1529aa['exit'](0x1)):_0x5a92a6=[_0x145d96[_0x19fabf(0x253)]]),await this[_0x19fabf(0x31e)](),await this[_0x19fabf(0x33e)](_0x2372a6,_0x5a92a6),await this[_0x19fabf(0x338)](),[_0x2372a6,_0x5a92a6];}async[a3_0x5582b1(0x33e)](_0x50e746=a3_0x5582b1(0x307),_0x261539=[a3_0x5582b1(0x307)]){const _0x2d4afd=a3_0x5582b1,_0x51ca6d={};_0x51ca6d['GBKZO']='default',_0x51ca6d[_0x2d4afd(0x1df)]=function(_0x4e5d33,_0x50c416){return _0x4e5d33===_0x50c416;},_0x51ca6d[_0x2d4afd(0x2f5)]='SGgSz',_0x51ca6d[_0x2d4afd(0x32c)]=_0x2d4afd(0x372),_0x51ca6d[_0x2d4afd(0x248)]='Creating\x20GKE\x20Cluster',_0x51ca6d[_0x2d4afd(0x2c4)]=_0x2d4afd(0x316),_0x51ca6d['MNSML']=_0x2d4afd(0x252),_0x51ca6d[_0x2d4afd(0x2f1)]='gkecluster.json',_0x51ca6d[_0x2d4afd(0x28c)]=_0x2d4afd(0x277),_0x51ca6d[_0x2d4afd(0x2f0)]=_0x2d4afd(0x353),_0x51ca6d[_0x2d4afd(0x224)]=function(_0x137a12,_0x36502f){return _0x137a12*_0x36502f;},_0x51ca6d[_0x2d4afd(0x21f)]=function(_0x47b711,_0x42de99){return _0x47b711!==_0x42de99;},_0x51ca6d[_0x2d4afd(0x2e3)]=_0x2d4afd(0x26b),_0x51ca6d[_0x2d4afd(0x2eb)]=_0x2d4afd(0x221),_0x51ca6d[_0x2d4afd(0x332)]=function(_0x1305bd,_0x402af1){return _0x1305bd===_0x402af1;},_0x51ca6d['wKLyD']=_0x2d4afd(0x1fe),_0x51ca6d[_0x2d4afd(0x23b)]=_0x2d4afd(0x2c8),_0x51ca6d[_0x2d4afd(0x283)]=_0x2d4afd(0x237),_0x51ca6d['dWxrB']=_0x2d4afd(0x318),_0x51ca6d['Xuzbv']='sOIRp',_0x51ca6d['VonZR']=_0x2d4afd(0x246);const _0x1f9a00=_0x51ca6d;try{if(_0x1f9a00[_0x2d4afd(0x1df)](_0x1f9a00['FCNGd'],_0x1f9a00[_0x2d4afd(0x32c)]))_0x590b07=[_0x1f9a00[_0x2d4afd(0x312)]];else{logger[_0x2d4afd(0x302)](_0x1f9a00[_0x2d4afd(0x248)]);let _0x31ac84=await fs['readFileAsync'](path[_0x2d4afd(0x2c1)](__dirname,'..',_0x1f9a00[_0x2d4afd(0x2c4)],_0x1f9a00[_0x2d4afd(0x284)],_0x1f9a00[_0x2d4afd(0x2f1)]),_0x1f9a00['wntqI']);_0x31ac84=JSON[_0x2d4afd(0x20d)](_0x31ac84);let _0x1c2771=await fs[_0x2d4afd(0x2f7)](path[_0x2d4afd(0x2c1)](__dirname,'..',_0x1f9a00['epwdh'],_0x1f9a00[_0x2d4afd(0x284)],_0x1f9a00[_0x2d4afd(0x2f0)]),_0x1f9a00[_0x2d4afd(0x28c)]);_0x1c2771=JSON[_0x2d4afd(0x20d)](_0x1c2771),_0x31ac84[_0x2d4afd(0x223)]=this[_0x2d4afd(0x2bb)],_0x31ac84[_0x2d4afd(0x2d0)][0x0][_0x2d4afd(0x2c3)][_0x2d4afd(0x201)]=global_registry['instanceType'],_0x31ac84[_0x2d4afd(0x2d0)][0x1][_0x2d4afd(0x2c3)][_0x2d4afd(0x201)]=global_registry[_0x2d4afd(0x317)],_0x31ac84['nodePools'][0x0][_0x2d4afd(0x2c3)]['serviceAccount']=this['serviceAccountName']+'@'+this[_0x2d4afd(0x27f)]+_0x2d4afd(0x32a),_0x31ac84['nodePools'][0x1][_0x2d4afd(0x2c3)][_0x2d4afd(0x341)]=this['serviceAccountName']+'@'+this[_0x2d4afd(0x27f)]+_0x2d4afd(0x32a),_0x31ac84[_0x2d4afd(0x2d0)][0x0]['autoscaling'][_0x2d4afd(0x2f6)]=global_registry[_0x2d4afd(0x247)],_0x31ac84['nodePools'][0x1]['autoscaling'][_0x2d4afd(0x2f6)]=0x0,_0x31ac84[_0x2d4afd(0x2d0)][0x0][_0x2d4afd(0x2a9)]['maxNodeCount']=global_registry['maxNodes'],_0x31ac84[_0x2d4afd(0x2d0)][0x1]['autoscaling']['maxNodeCount']=global_registry['maxNodes'],_0x31ac84[_0x2d4afd(0x328)]=global_registry[_0x2d4afd(0x275)],_0x31ac84[_0x2d4afd(0x210)]=[_0x1c2771[global_registry[_0x2d4afd(0x275)]][0x0]],_0x31ac84['network']=_0x2d4afd(0x22d)+this[_0x2d4afd(0x27f)]+_0x2d4afd(0x33d)+_0x50e746,_0x31ac84[_0x2d4afd(0x365)]=_0x2d4afd(0x22d)+this[_0x2d4afd(0x27f)]+'/regions/'+global_registry['clusterRegion']+'/subnetworks/'+_0x261539[0x0];const _0x2b56a2=await this[_0x2d4afd(0x29a)][_0x2d4afd(0x33e)]({'cluster':_0x31ac84,'parent':_0x2d4afd(0x22d)+this[_0x2d4afd(0x27f)]+_0x2d4afd(0x31d)+global_registry['clusterRegion']});await this['webSocketUtils'][_0x2d4afd(0x30b)](_0x1f9a00['jlHlb'](_0x1f9a00[_0x2d4afd(0x224)](0x7,0x3c),0x3e8));}}catch(_0x550122){if(_0x1f9a00[_0x2d4afd(0x21f)](_0x1f9a00[_0x2d4afd(0x2e3)],_0x1f9a00[_0x2d4afd(0x2eb)])){const _0x512333=await this['isClusterPresent']();if(_0x512333)_0x1f9a00['xdYxB'](_0x1f9a00[_0x2d4afd(0x367)],_0x1f9a00[_0x2d4afd(0x23b)])?(_0xc92ba8[_0x2d4afd(0x275)]=_0x3a53dd[0x0],this['updateClusterRegion']()):(logger[_0x2d4afd(0x302)](_0x1f9a00[_0x2d4afd(0x283)],_0x550122[_0x2d4afd(0x27c)]),await this['deleteCluster']());else{if(_0x1f9a00[_0x2d4afd(0x21f)](_0x1f9a00[_0x2d4afd(0x1fd)],_0x1f9a00['Xuzbv']))logger[_0x2d4afd(0x302)](_0x1f9a00[_0x2d4afd(0x2c7)]);else return!![];}throw _0x550122;}else return!![];}}async[a3_0x5582b1(0x309)](_0x39bac1,_0x4ef5ed,_0x9b09f4,_0x257f47,_0x2374e1){}async[a3_0x5582b1(0x338)](){const _0x6381ed=a3_0x5582b1;cp[_0x6381ed(0x31f)](_0x6381ed(0x2dd)+this[_0x6381ed(0x2bb)]+_0x6381ed(0x35f)+global_registry[_0x6381ed(0x275)]+_0x6381ed(0x228));}async[a3_0x5582b1(0x289)](_0x26fd0c,_0x1473dd){const _0x24f0c2=a3_0x5582b1,_0x1cc4ac={'LQKTg':function(_0x4e35c6,_0x341b29){return _0x4e35c6+_0x341b29;},'wlTkl':function(_0x265ed4,_0x40724d){return _0x265ed4!==_0x40724d;},'yvQcs':_0x24f0c2(0x2af),'dXUGq':function(_0x94777d,_0x43fe6f){return _0x94777d(_0x43fe6f);},'YWjrI':function(_0x367657,_0x534359){return _0x367657(_0x534359);},'MoywQ':function(_0x29d1b0,_0x367d62){return _0x29d1b0===_0x367d62;},'fZehh':'RUNNING','YxJSM':function(_0x51653b,_0x3ed8bc){return _0x51653b===_0x3ed8bc;},'MAtzM':_0x24f0c2(0x30d),'OXrpK':_0x24f0c2(0x22f),'sTOim':_0x24f0c2(0x2a4),'LEygZ':_0x24f0c2(0x2ee),'NJWHV':function(_0x1c05b0,_0x1f966a){return _0x1c05b0!==_0x1f966a;},'rBdWl':_0x24f0c2(0x28e),'SyfPG':_0x24f0c2(0x254),'rFwoR':_0x24f0c2(0x2ae)};try{if(_0x1cc4ac['wlTkl'](_0x1cc4ac[_0x24f0c2(0x321)],_0x1cc4ac['yvQcs']))_0x3830e1['log']('['+_0x1cc4ac[_0x24f0c2(0x2e5)](_0x41009f,0x1)+']\x20'+_0x14f0ee[_0x1ef839]);else{await _0x1cc4ac['dXUGq'](deleteAgent,_0x26fd0c),await _0x1cc4ac[_0x24f0c2(0x352)](deleteRoutingDeps,_0x26fd0c),logger[_0x24f0c2(0x302)](_0x24f0c2(0x2ac)+this[_0x24f0c2(0x2bb)]);const _0x324605=await this[_0x24f0c2(0x29a)]['deleteCluster']({'name':'projects/'+this[_0x24f0c2(0x27f)]+'/locations/'+global_registry[_0x24f0c2(0x275)]+'/clusters/'+this['clusterName']});if(_0x1cc4ac[_0x24f0c2(0x2ad)](_0x324605[0x0]?.[_0x24f0c2(0x34f)],_0x1cc4ac[_0x24f0c2(0x36c)])||_0x1cc4ac[_0x24f0c2(0x2d2)](_0x324605[0x0]?.[_0x24f0c2(0x34f)],_0x1cc4ac[_0x24f0c2(0x2b1)])){if(_0x1cc4ac[_0x24f0c2(0x2d2)](_0x1cc4ac[_0x24f0c2(0x26d)],_0x1cc4ac[_0x24f0c2(0x2be)]))_0x1a83a5[_0x24f0c2(0x349)][_0x24f0c2(0x36d)](_0x467dbb);else return!![];}logger[_0x24f0c2(0x302)](_0x1cc4ac[_0x24f0c2(0x203)]);}}catch(_0x2d5fec){if(_0x1cc4ac[_0x24f0c2(0x2b8)](_0x1cc4ac['rBdWl'],_0x1cc4ac['SyfPG'])){logger[_0x24f0c2(0x302)](_0x1cc4ac[_0x24f0c2(0x21b)]);throw _0x2d5fec;}else _0x5aaa73['debug'](_0x14ea37);}}async[a3_0x5582b1(0x2ce)](_0xd5c1f1){const _0xaac82f=a3_0x5582b1,_0x19fbb9={};_0x19fbb9[_0xaac82f(0x36b)]=_0xaac82f(0x2ae),_0x19fbb9[_0xaac82f(0x270)]=function(_0x3a9fb0,_0x789121){return _0x3a9fb0===_0x789121;},_0x19fbb9[_0xaac82f(0x269)]=function(_0x574a84,_0xcccdf8){return _0x574a84===_0xcccdf8;},_0x19fbb9[_0xaac82f(0x308)]=_0xaac82f(0x2df),_0x19fbb9[_0xaac82f(0x311)]=function(_0x51acfd,_0x2d09aa){return _0x51acfd>_0x2d09aa;},_0x19fbb9[_0xaac82f(0x2b6)]=function(_0x2d435b,_0xdd6699){return _0x2d435b===_0xdd6699;},_0x19fbb9[_0xaac82f(0x333)]=_0xaac82f(0x347),_0x19fbb9[_0xaac82f(0x2d1)]='tlVps',_0x19fbb9[_0xaac82f(0x251)]=_0xaac82f(0x1f9);const _0x208fdd=_0x19fbb9;try{if(_0x208fdd[_0xaac82f(0x269)](_0x208fdd[_0xaac82f(0x308)],_0x208fdd[_0xaac82f(0x308)])){const _0x33e4a4=await this[_0xaac82f(0x287)][_0xaac82f(0x2a0)]({'project':this[_0xaac82f(0x27f)],'network':_0xd5c1f1});if(_0x208fdd[_0xaac82f(0x311)](_0x33e4a4['length'],0x0)&&_0x208fdd[_0xaac82f(0x2b6)](_0x33e4a4[0x0]['name'],_0xd5c1f1)){if(_0x208fdd[_0xaac82f(0x270)](_0x208fdd[_0xaac82f(0x333)],_0x208fdd[_0xaac82f(0x2d1)])){_0x270fd2['info'](_0x208fdd[_0xaac82f(0x36b)]);throw _0x1e1895;}else return!![];}}else _0x53a98e[_0xaac82f(0x36d)](_0x5b5921);}catch(_0x15d73f){if(_0x208fdd['MwxEH'](_0x208fdd[_0xaac82f(0x251)],_0x208fdd[_0xaac82f(0x251)]))return![];else{if(_0x208fdd[_0xaac82f(0x270)](_0x2608b2?.[_0xaac82f(0x223)],'projects/'+this[_0xaac82f(0x27f)]+'/serviceAccounts/'+this[_0xaac82f(0x31b)]+'@'+this['projectId']+_0xaac82f(0x32a)))return!![];}}return![];}async[a3_0x5582b1(0x33b)](_0x5b1d4f,_0x2f7cf2){const _0x1f7c58=a3_0x5582b1,_0xe0ded2={};_0xe0ded2['UlJDm']='allowed',_0xe0ded2[_0x1f7c58(0x2b0)]=_0x1f7c58(0x243),_0xe0ded2[_0x1f7c58(0x2e2)]=_0x1f7c58(0x246),_0xe0ded2[_0x1f7c58(0x2db)]=function(_0x2717c1,_0x16f61b){return _0x2717c1!==_0x16f61b;},_0xe0ded2[_0x1f7c58(0x303)]=_0x1f7c58(0x335),_0xe0ded2[_0x1f7c58(0x373)]=function(_0x408011,_0xac7cf4){return _0x408011!==_0xac7cf4;},_0xe0ded2['sLPja']=_0x1f7c58(0x30c),_0xe0ded2['GVIVV']=function(_0x138f4a,_0x17671a){return _0x138f4a===_0x17671a;},_0xe0ded2[_0x1f7c58(0x29b)]=function(_0x209994,_0x4fa118){return _0x209994!==_0x4fa118;},_0xe0ded2['nZdTs']='CcjBe',_0xe0ded2[_0x1f7c58(0x2e8)]=_0x1f7c58(0x2a2);const _0x2df5f7=_0xe0ded2;try{if(_0x2df5f7[_0x1f7c58(0x2db)](_0x2df5f7[_0x1f7c58(0x303)],_0x2df5f7[_0x1f7c58(0x303)])){const _0x447628=_0x55a2a9[_0x1f7c58(0x24c)]['includes'](_0x2a765d);_0x38aa40+='\x0a\x09'+_0x5607f9+_0x1f7c58(0x1f3)+(_0x447628?_0x2df5f7[_0x1f7c58(0x327)]:_0x2df5f7[_0x1f7c58(0x2b0)]),!_0x447628&&(_0x1a7989[_0x1f7c58(0x34f)]=![]);}else{const _0x2e53b6=await this[_0x1f7c58(0x287)][_0x1f7c58(0x2a0)]({'project':this['projectId'],'network':_0x2f7cf2});for(const _0x2cba56 of _0x2e53b6[0x0][_0x1f7c58(0x329)]){if(_0x2df5f7['FJZcy'](_0x2df5f7[_0x1f7c58(0x1f0)],_0x2df5f7[_0x1f7c58(0x1f0)]))return![];else{const _0x38595b=_0x1f7c58(0x2cc)+this[_0x1f7c58(0x27f)]+_0x1f7c58(0x234)+global_registry['clusterRegion']+'/subnetworks/'+_0x5b1d4f[0x0];if(_0x2df5f7[_0x1f7c58(0x35a)](_0x38595b,_0x2cba56)){if(_0x2df5f7['HNTld'](_0x2df5f7[_0x1f7c58(0x25a)],_0x2df5f7[_0x1f7c58(0x25a)]))_0x475edc[_0x1f7c58(0x302)](_0x2df5f7[_0x1f7c58(0x2e2)]);else return[!![],_0x5b1d4f];}}}}}catch(_0x2da5be){return _0x2df5f7['GVIVV'](_0x2df5f7[_0x1f7c58(0x2e8)],_0x2df5f7['SFKdT'])?(logger[_0x1f7c58(0x208)]('Cannot\x20find\x20subnets\x20'+_0x5b1d4f+_0x1f7c58(0x258)+_0x2da5be),[![],[]]):(_0x2df5f7[_0x1f7c58(0x2db)](_0x2739bc[_0x1f7c58(0x275)],_0x1bc4ce[0x0])&&(_0x503a1e[_0x1f7c58(0x275)]=_0x1c0c4e[0x0],this[_0x1f7c58(0x263)]()),!![]);}return[![],[]];}async['sendGCPInfoToHST'](){const _0x266105=a3_0x5582b1,_0x41d4f8={};_0x41d4f8['TgugB']=function(_0x228b78,_0x3db711){return _0x228b78===_0x3db711;},_0x41d4f8['qAeAI']='LXUuc';const _0x5f1c27=_0x41d4f8,_0x30febc=await this[_0x266105(0x287)][_0x266105(0x23e)]({'project':this[_0x266105(0x27f)]}),_0x3a1bcf={};_0x3a1bcf['username']=global_registry[_0x266105(0x2bd)],_0x3a1bcf['accessKey']=global_registry[_0x266105(0x23f)],_0x3a1bcf[_0x266105(0x2ca)]=GCP,_0x3a1bcf[_0x266105(0x349)]=[];const _0x5b4f55=_0x3a1bcf;for(const _0x597bac of _0x30febc){if(_0x5f1c27[_0x266105(0x2e4)](_0x5f1c27[_0x266105(0x250)],_0x5f1c27[_0x266105(0x250)]))_0x5b4f55[_0x266105(0x349)][_0x266105(0x36d)](_0x597bac);else return![];}const _0x596bb1={};_0x596bb1[_0x266105(0x26c)]=WS_EVENTS['RESOURCES'],_0x596bb1['message']=_0x5b4f55,this[_0x266105(0x370)][_0x266105(0x205)](this['rws'],_0x596bb1);}async[a3_0x5582b1(0x263)](){const _0x2e430e=a3_0x5582b1,_0x5bd7a2={'noveP':function(_0x146ee0,_0xc0f4c1,_0x2891ef){return _0x146ee0(_0xc0f4c1,_0x2891ef);},'NGJsH':'PUT','XVyRl':_0x2e430e(0x2d7),'YCWgy':function(_0x670885,_0x44e474,_0x59f004){return _0x670885(_0x44e474,_0x59f004);}},_0x22c7e9=_0x2e430e(0x242)+AG_API_URL+_0x2e430e(0x1f2),_0x4c3c98={};_0x4c3c98[_0x2e430e(0x2a1)]=global_registry['gridProfileId'];const _0x62a2cb={};_0x62a2cb[_0x2e430e(0x331)]=global_registry['clusterRegion'];const _0x1984fa={'searchParams':_0x4c3c98,'json':_0x62a2cb,'headers':_0x5bd7a2['noveP'](getAuthHeader,global_registry[_0x2e430e(0x2bd)],global_registry[_0x2e430e(0x23f)]),'method':_0x5bd7a2['NGJsH'],'responseType':_0x5bd7a2[_0x2e430e(0x28a)],'throwHttpErrors':![]},_0xe1bd62=await _0x5bd7a2[_0x2e430e(0x22e)](got,_0x22c7e9,_0x1984fa);}async[a3_0x5582b1(0x2b5)](){const _0x2c3117=a3_0x5582b1,_0x328976={'ZlRdW':function(_0x599d68,_0x2db593){return _0x599d68(_0x2db593);},'rkchU':_0x2c3117(0x354),'tJfJs':_0x2c3117(0x274),'gcaMF':_0x2c3117(0x2e7)},_0x37ac54={};_0x37ac54['status']=![],_0x37ac54[_0x2c3117(0x208)]=null,_0x37ac54['data']='';const _0x6c0c5e=_0x37ac54;try{const _0x2750f0=await _0x328976[_0x2c3117(0x240)](runCommand,_0x328976[_0x2c3117(0x24e)]);_0x2750f0[_0x2c3117(0x23a)](_0x328976[_0x2c3117(0x345)])?logger[_0x2c3117(0x20c)](_0x2750f0):logger[_0x2c3117(0x288)](_0x2750f0),_0x6c0c5e['status']=!![],_0x6c0c5e[_0x2c3117(0x2cb)]=_0x328976['gcaMF'];}catch(_0x2ae324){logger[_0x2c3117(0x208)]('error\x20:\x20'+_0x2ae324+_0x2c3117(0x1f3)+_0x2ae324[_0x2c3117(0x27c)]),_0x6c0c5e[_0x2c3117(0x2cb)]=_0x2c3117(0x337)+_0x2ae324,_0x6c0c5e[_0x2c3117(0x208)]=_0x2ae324;}return _0x6c0c5e;}async['checkAccess'](){const _0x212c5a=a3_0x5582b1,_0x24c45d={};_0x24c45d[_0x212c5a(0x222)]=_0x212c5a(0x325),_0x24c45d[_0x212c5a(0x207)]=_0x212c5a(0x243);const _0x588378=_0x24c45d,_0x3c6ca7={};_0x3c6ca7[_0x212c5a(0x34f)]=![],_0x3c6ca7[_0x212c5a(0x208)]=null,_0x3c6ca7[_0x212c5a(0x2cb)]='';const _0x2d880b=_0x3c6ca7;try{let _0x21e581='';const _0x55a2d8=_0x212c5a(0x22d)+this[_0x212c5a(0x27f)],[_0x5e375b]=await this['resourcemanagerClient'][_0x212c5a(0x29f)]({'resource':_0x55a2d8,'permissions':Object[_0x212c5a(0x285)](PERMISSIONS)});_0x2d880b[_0x212c5a(0x34f)]=!![],logger[_0x212c5a(0x288)](_0x212c5a(0x22b)+_0x55a2d8+':\x20'+JSON[_0x212c5a(0x294)](_0x5e375b)),Object[_0x212c5a(0x1ec)](PERMISSIONS)[_0x212c5a(0x33c)](([_0x2920bc,_0x1249eb])=>{const _0x39fd62=_0x212c5a,_0x3776f4=_0x5e375b[_0x39fd62(0x24c)]['includes'](_0x2920bc);_0x21e581+='\x0a\x09'+_0x1249eb+_0x39fd62(0x1f3)+(_0x3776f4?_0x588378[_0x39fd62(0x222)]:_0x588378[_0x39fd62(0x207)]),!_0x3776f4&&(_0x2d880b[_0x39fd62(0x34f)]=![]);}),_0x2d880b[_0x212c5a(0x2cb)]=_0x21e581;}catch(_0xc2c70b){_0x2d880b[_0x212c5a(0x208)]=_0xc2c70b;}return _0x2d880b;}}function a3_0x59bf(){const _0x3f480b=['KUfxV','replace','JxKUC','storage.buckets.get','Turboscale\x20Custom\x20Role','TSCAq','stringify','@google-cloud/compute','hYqkS','GoogleCloudProvider','gfKse','gPgEe','containerClient','HNTld','getClusterInfo','uiccL','PBTJI','testIamPermissions','get','profileId','sFlCv','storage.buckets.listEffectiveTags','wEiGs','project_id','hwfVp','icsQB','fMcmy','autoscaling','storage.buckets.list','toString','Deleting\x20the\x20cluster\x20','MoywQ','GKE\x20Cluster\x20deletion\x20failed','Osnsg','PXGGZ','MAtzM','getGridHostname','GsYaK','lwCgc','isCliToolInstalled','QfVnp','endpoint','NJWHV','DNvoz','rqmaT','clusterName','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','bstackUsername','sTOim','storage.buckets.setIamPolicy','hdbek','join','8VSemaj','config','epwdh','message','isBrowserstackCluster','VonZR','wkIBX','RTkTU','cloudProvider','data','https://www.googleapis.com/compute/v1/projects/','toLowerCase','isVPCPresent','storage.buckets.getObjectInsights','nodePools','XPnCL','YxJSM','ymbfu','parent','DpRym','JoJTP','json','title','sendGCPInfoToHST','scopes','YJeJH','Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','vtsxl','aVXQI','kzHLk','log','Pysgr','qtqKK','TgugB','LQKTg','PaNsv','cli\x20tool\x20is\x20installed','SFKdT','iam.serviceAccounts.signBlob','/subnetworks/','exnvL','util','GjOQf','Cluster\x20deletion\x20completed','wDNOK','Eyhjm','NcIEf','child_process','11FPmPGD','dESOt','FCNGd','minNodeCount','readFileAsync','pmtnz','resourcemanagerClient','upPcW','PrViH','../utils/utilityMethods','QRyJI','create','OyVLV','storage.multipartUploads.create','iam','info','GDmwG','resourceLabels','./CloudProvider','storage.buckets.getIamPolicy','default','FmHDn','setupHubHa','nDTHM','delay','dYHhf','DONE','storage.buckets.delete','RFFxj','ingress','Ktryy','GBKZO','sendResourceDataToHST','getCluster','\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:','templates','instanceType','XtjDV','../utils/userInput','lKaie','serviceAccountName','LUcFn','/locations/','setupServiceAccount','execSync','QXCvN','yvQcs','organizations','cUycz','BxhPx','allowed','LRpzb','UlJDm','location','subnetworks','.iam.gserviceaccount.com','keyFile','HZgOK','../utils/gridComponents','EZPRz','hsQSW','HNliu','newRegion','xdYxB','gESEp','fXcjS','uhVcl','accountId','Please\x20install\x20gcloud\x20CLI\x20tool.\x20Error\x20:\x20','updateWindowsNodeGroup','QRZeV','35nGNwWP','isSubnetsValid','forEach','/global/networks/','createCluster','../config/logger','storage.objects.getIamPolicy','serviceAccount','/serviceAccounts/','LRwly','storage.buckets.create','tJfJs','/clusters/','ogmKJ','customRoleName','vpcInfo','OXmve','JRRfA','YOedO','RnrST','split','status','path','storage.objects.update','YWjrI','regionmap.json','gcloud\x20--version','storage.multipartUploads.abort','storage.multipartUploads.list','uxzoQ','8796hCvvEG','Found\x20cluster\x20with\x20name\x20\x27','GVIVV','role','serviceAccount:','browserstack','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','\x20--windows-os-version=ltsc2022\x20--region\x20','nKipi','LwCsL','jyvQr','TEBvt','../config/constants','subnetwork','jwYBi','wKLyD','FcrYg','EpAtw','hWATq','Ihakr','fZehh','push','qnJhU','KuSJc','webSocketUtils','zPvrP','qmUWq','FJZcy','UWWPN','../permissions/GCP.json','accounts','rdwyi','EwwWZ','TKfbg','clusters','requestBody','serviceAccounts','exec','PCemq','fuLVa','FJrGA','lNTpa','@google-cloud/container','DqqUw','entries','PwAjm','UONSx','checkServiceAccount','sLPja','2|5|3|4|1|7|6|0|8','/packages/cli/update-cluster-region','\x20:\x20','yOYcU','FmAtn','ZhtVX','PnrrE','Anhqm','MeZHq','pvvSC','Service\x20account\x20already\x20exists,\x20skipping','auth','dWxrB','fOgCn','hCZeN','vIeYm','machineType','Creating\x20service\x20account','LEygZ','773555HEhHlv','sendEventToBackend','EaQAc','ZVANR','error','gjcVR','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','LiZGR','warn','parse','rSQNI','length','locations','credentialsPath','bWkSi','vPUBB','BXrDN','https://www.googleapis.com/auth/cloud-platform','setIamPolicy','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','setupNewCluster','hpDcf','NZEIB','rFwoR','DoxTV','vpwGB','APNZU','gCQaO','YjuIE','Rjqyr','Fxuhq','name','jlHlb','isClusterPresent','GvcoC','init','\x20--quiet\x20--user-output-enabled=false','axPks','CzrML','permissions\x20check\x20response\x20for\x20','wvsIG','projects/','YCWgy','QWXVH','FMlOI','dDPUS','prZbG','gcloud\x20auth\x20login\x20--cred-file=','/regions/','jYIId','FRdje','Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20','vGCni','14XVYukk','startsWith','bdrfD','storage.objects.setIamPolicy','368624fwqURJ','list','bstackAccesskey','ZlRdW','aBGgQ','https://','denied','vXpCB','iamClient','Cluster\x20creation\x20failed','minNodes','JVBYk','Cannot\x20find\x20subnets\x20','/roles/','YRZGf','permissions','getClient','rkchU','HplKm','qAeAI','NjJKJ','gcpresources','fpeTf','mWFLR','17132590WICrcH','exit','got','.\x20Error:\x20','getKubeConfigData','nZdTs','LOG','jLCJt','kCxnV','turboscale_custom_role','1038364aEFifS','JCPFk','QKOvm','QrSTI','updateClusterRegion','getIamPolicy','@google-cloud/resource-manager','4735953TcQykZ','hroap','WpZwF','Pwryr','listClusters','HNbYl','type','OXrpK','YrFVL','loadBalancer','MwxEH','managedby','concat','pKQSo','Intercepted','clusterRegion','ojrpX','utf-8','642102GVacbg','mPAGU','OMDKg','gke_','stack','XYQXV','storage.objects.get','projectId','xzRDE','googleapis','projects','NixGk','MNSML','keys','rws','networkClient','debug','deleteCluster','XVyRl','uBykb','wntqI','iVben'];a3_0x59bf=function(){return _0x3f480b;};return a3_0x59bf();}const a3_0x364ca2={};a3_0x364ca2[a3_0x5582b1(0x297)]=GoogleCloudProvider,module['exports']=a3_0x364ca2;
1
+ const a3_0x2dcfc2=a3_0x482e;(function(_0x5b88bf,_0x3502a6){const _0x5199e8=a3_0x482e,_0x3e2655=_0x5b88bf();while(!![]){try{const _0x4312d4=-parseInt(_0x5199e8(0x218))/0x1+-parseInt(_0x5199e8(0x178))/0x2+parseInt(_0x5199e8(0x10c))/0x3+parseInt(_0x5199e8(0x127))/0x4+parseInt(_0x5199e8(0x145))/0x5*(-parseInt(_0x5199e8(0x123))/0x6)+parseInt(_0x5199e8(0xc9))/0x7+parseInt(_0x5199e8(0x173))/0x8;if(_0x4312d4===_0x3502a6)break;else _0x3e2655['push'](_0x3e2655['shift']());}catch(_0x183008){_0x3e2655['push'](_0x3e2655['shift']());}}}(a3_0x1161,0x56038));const fs=require('fs'),path=require(a3_0x2dcfc2(0xb0)),got=require('got'),util=require(a3_0x2dcfc2(0x111)),cp=require(a3_0x2dcfc2(0x148)),{google}=require(a3_0x2dcfc2(0x219)),compute=require(a3_0x2dcfc2(0x206)),container=require(a3_0x2dcfc2(0x121)),{ProjectsClient}=require(a3_0x2dcfc2(0xb8))['v3'],{logger}=require('../config/logger'),{CloudProvider}=require('./CloudProvider'),{getDirForConfig,getAuthHeader,runCommand}=require(a3_0x2dcfc2(0xde)),{deleteRoutingDeps,deleteAgent}=require('../utils/gridComponents'),{inputConfirmation,closeInput}=require(a3_0x2dcfc2(0x1a1)),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require(a3_0x2dcfc2(0x19a)),PERMISSIONS=require(a3_0x2dcfc2(0xfe));function a3_0x482e(_0x53df6f,_0x1708e9){const _0x1161e1=a3_0x1161();return a3_0x482e=function(_0x482e64,_0x98f255){_0x482e64=_0x482e64-0x9b;let _0x4f9d51=_0x1161e1[_0x482e64];return _0x4f9d51;},a3_0x482e(_0x53df6f,_0x1708e9);}class GoogleCloudProvider extends CloudProvider{constructor(_0x514c55,_0x3817e9,_0x82e144,_0xa338b7){const _0x1585b6=a3_0x2dcfc2,_0x4a4cae={};_0x4a4cae[_0x1585b6(0x16f)]=_0x1585b6(0x1d8),_0x4a4cae['WXVvR']=_0x1585b6(0x129),_0x4a4cae[_0x1585b6(0x203)]=_0x1585b6(0x1ad);const _0x3f9ea8=_0x4a4cae,_0xfa3138=_0x3f9ea8[_0x1585b6(0x16f)][_0x1585b6(0xc6)]('|');let _0x4c420e=0x0;while(!![]){switch(_0xfa3138[_0x4c420e++]){case'0':this[_0x1585b6(0x149)]=null;continue;case'1':this[_0x1585b6(0x102)]=_0x3f9ea8[_0x1585b6(0x1e2)];continue;case'2':this[_0x1585b6(0x17f)]=null;continue;case'3':this[_0x1585b6(0x182)]=null;continue;case'4':this[_0x1585b6(0xee)]=null;continue;case'5':this[_0x1585b6(0x1e0)]=null;continue;case'6':super(GCP,_0x514c55,_0x3817e9,_0x82e144,_0xa338b7);continue;case'7':this[_0x1585b6(0x126)]=null;continue;case'8':this[_0x1585b6(0x168)]=_0x3f9ea8[_0x1585b6(0x203)];continue;}break;}}async[a3_0x2dcfc2(0xa4)](){const _0x1e77a4=a3_0x2dcfc2;this[_0x1e77a4(0xc5)](this['rws']);}async['init'](){const _0x446756=a3_0x2dcfc2;await super[_0x446756(0xb6)]();const _0xe36967=this[_0x446756(0x126)],_0x494591={};_0x494591[_0x446756(0x1b1)]=_0xe36967,this[_0x446756(0x1e0)]=new container['v1'][(_0x446756(0xc4))](_0x494591);const _0x5f1ba7={};_0x5f1ba7[_0x446756(0x1b1)]=_0xe36967,this['networkClient']=new compute['v1'][(_0x446756(0x1a9))](_0x5f1ba7);const _0x113cc5={};return _0x113cc5[_0x446756(0x1b1)]=_0xe36967,this[_0x446756(0xee)]=new ProjectsClient(_0x113cc5),this[_0x446756(0x182)]=google[_0x446756(0x202)]('v1'),this;}async[a3_0x2dcfc2(0x1de)](_0x2521a6,_0x3143e0){const _0x12f80f=a3_0x2dcfc2,_0x4ed3e8={'azTkv':function(_0x3d2c53,_0x10944e){return _0x3d2c53(_0x10944e);},'terlh':'Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','fdoTr':function(_0x250fc6){return _0x250fc6();},'ftnwO':_0x12f80f(0x16b)},_0x43319a=await _0x4ed3e8[_0x12f80f(0x115)](_0x2521a6,_0x4ed3e8[_0x12f80f(0xd3)]);let _0xae9d58=await fs[_0x12f80f(0x141)](_0x43319a);_0xae9d58=_0xae9d58['toString']();const _0x27e66a=_0x4ed3e8[_0x12f80f(0xbb)](getDirForConfig),_0xe4b725=path[_0x12f80f(0x1fb)](_0x27e66a,_0x4ed3e8['ftnwO']);fs['writeFileSync'](_0xe4b725,_0xae9d58),this[_0x12f80f(0x126)]=_0xe4b725;const _0x37dffe={};return _0x37dffe[_0x12f80f(0x1b1)]=_0xe4b725,_0x3143e0['cloudProvider'][GCP]=_0x37dffe,_0xae9d58=JSON[_0x12f80f(0x12a)](_0xae9d58),this[_0x12f80f(0x17f)]=_0xae9d58[_0x12f80f(0x171)],_0x3143e0;}async['setCachedCredsInRegistry'](_0x38a4fa){const _0xd59c6e=a3_0x2dcfc2;this[_0xd59c6e(0x126)]=_0x38a4fa[this[_0xd59c6e(0x194)]]['keyFile'];let _0x3515fc=await fs[_0xd59c6e(0x141)](this[_0xd59c6e(0x126)]);_0x3515fc=JSON[_0xd59c6e(0x12a)](_0x3515fc),this['projectId']=_0x3515fc[_0xd59c6e(0x171)];}[a3_0x2dcfc2(0x105)](_0x1c7430){const _0x3c0dae=a3_0x2dcfc2;return _0x1c7430['status'][_0x3c0dae(0x19d)][_0x3c0dae(0x1c7)][0x0]['ip'];}async['isBrowserstackCluster'](){const _0x47404b=a3_0x2dcfc2,_0x54901a={};_0x54901a[_0x47404b(0x1a0)]=_0x47404b(0x214),_0x54901a[_0x47404b(0x1d1)]=function(_0x4c7a38,_0x2095b3){return _0x4c7a38+_0x2095b3;},_0x54901a['yhgpA']=function(_0x3738d7,_0x2eb9a0){return _0x3738d7!==_0x2eb9a0;},_0x54901a['OzFwq']=_0x47404b(0x213),_0x54901a[_0x47404b(0x1a7)]=_0x47404b(0xf6),_0x54901a[_0x47404b(0x1ee)]=function(_0x510aac,_0x46522b){return _0x510aac===_0x46522b;},_0x54901a[_0x47404b(0x1a5)]='AEXzI',_0x54901a['eNqoi']=function(_0x282528,_0x51a667){return _0x282528===_0x51a667;},_0x54901a['TfaRY']=_0x47404b(0xf1),_0x54901a[_0x47404b(0xce)]='RiiUY';const _0x9eb3ec=_0x54901a;try{if(_0x9eb3ec[_0x47404b(0x18c)](_0x9eb3ec[_0x47404b(0xa1)],_0x9eb3ec[_0x47404b(0x1a7)])){const _0x108a24=await this[_0x47404b(0x217)]();if(_0x108a24[0x0]?.['resourceLabels']?.[_0x47404b(0xa5)]){if(_0x9eb3ec[_0x47404b(0x1ee)](_0x9eb3ec[_0x47404b(0x1a5)],_0x9eb3ec[_0x47404b(0x1a5)])){const _0x389bd4=_0x108a24[0x0]?.[_0x47404b(0xff)]?.[_0x47404b(0xa5)];return _0x389bd4&&_0x9eb3ec[_0x47404b(0x1aa)](_0x389bd4[_0x47404b(0x19e)](),_0x9eb3ec[_0x47404b(0xaf)]);}else _0x1c7a79['error'](_0x9eb3ec[_0x47404b(0x1a0)]),_0x2e3bde[_0x47404b(0x1eb)](0x1);}}else _0x5266f7[_0x47404b(0xa8)]('['+_0x9eb3ec[_0x47404b(0x1d1)](_0x565b76,0x1)+']\x20'+_0xea4b50[_0x895730]);}catch(_0x5e0905){if(_0x9eb3ec[_0x47404b(0x18c)](_0x9eb3ec['wTEzp'],_0x9eb3ec['wTEzp']))this[_0x47404b(0xc5)](this['rws']);else return![];}return![];}async[a3_0x2dcfc2(0xb5)](){const _0x5cb9f4=a3_0x2dcfc2,_0x59081e={'TgqKa':'default','Rivbd':function(_0x8ee188,_0x150e3f){return _0x8ee188===_0x150e3f;},'yDLxa':function(_0x4ff9e1,_0x2cfcef){return _0x4ff9e1-_0x2cfcef;},'YhDwi':function(_0x46f83d,_0x582ef2){return _0x46f83d===_0x582ef2;},'pWgjt':_0x5cb9f4(0xd6),'hcGEZ':_0x5cb9f4(0x1c0),'Byqra':_0x5cb9f4(0x144),'tdHnJ':_0x5cb9f4(0x21c),'AaRMh':function(_0x546d7c,_0x129968){return _0x546d7c!==_0x129968;},'FzBdI':function(_0x36fcb8,_0x540e4a){return _0x36fcb8!==_0x540e4a;},'ARPSU':_0x5cb9f4(0xbc),'MGWeO':function(_0x37c3a4,_0x26fe78){return _0x37c3a4===_0x26fe78;},'mGDTy':_0x5cb9f4(0x12b),'fOYGr':'XalRD','lAHZS':function(_0x602b2a,_0x44ba3d){return _0x602b2a!==_0x44ba3d;},'bwsNw':_0x5cb9f4(0x1c1),'UFqit':function(_0x32e7c7,_0x364449){return _0x32e7c7===_0x364449;},'GhELX':function(_0x95bdf2,_0x3089b6){return _0x95bdf2===_0x3089b6;},'OUzjF':_0x5cb9f4(0x179),'PrAWe':function(_0x1c9601,_0xd9685f){return _0x1c9601!==_0xd9685f;},'wZrXc':'akbrV','yEUCj':_0x5cb9f4(0xf5),'ZpLnp':function(_0x1590f3,_0x289878){return _0x1590f3>_0x289878;},'Xuhkb':_0x5cb9f4(0x134),'ROXgs':function(_0x38f23e,_0x5bf0e3){return _0x38f23e<_0x5bf0e3;},'volHL':_0x5cb9f4(0x13d),'nzaYh':_0x5cb9f4(0xa9),'xYIHD':function(_0x5c7922,_0x13948b){return _0x5c7922+_0x13948b;},'fIMpV':function(_0x3634fb,_0x40772b){return _0x3634fb(_0x40772b);},'VSiBd':_0x5cb9f4(0x1f1),'yZuYB':function(_0x2db5e0,_0x3c3673){return _0x2db5e0(_0x3c3673);},'SmeTS':function(_0x2ac05a,_0x4a7043){return _0x2ac05a<=_0x4a7043;},'xvnYa':function(_0xb62762,_0x44e7ce){return _0xb62762>_0x44e7ce;},'qKCFp':_0x5cb9f4(0x1c6),'MpIMp':'Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','DAFAB':function(_0x1da614){return _0x1da614();},'XuCJN':function(_0x16c0cd,_0x2c8d4a){return _0x16c0cd!==_0x2c8d4a;},'PjdQn':function(_0x1e2f3c,_0x5acf67){return _0x1e2f3c-_0x5acf67;},'RJcNK':function(_0x1e2cd8,_0x20a1e6){return _0x1e2cd8===_0x20a1e6;},'tmVpi':'rvWvr','ZRaxA':_0x5cb9f4(0xbf),'iyLTH':function(_0x148c03,_0x5dae42){return _0x148c03-_0x5dae42;}};let _0x5819a6=await fs[_0x5cb9f4(0x141)](path[_0x5cb9f4(0x1fb)](__dirname,'..',_0x59081e[_0x5cb9f4(0x18e)],_0x59081e[_0x5cb9f4(0x108)],_0x59081e[_0x5cb9f4(0xf7)]),_0x59081e[_0x5cb9f4(0x161)]);_0x5819a6=JSON[_0x5cb9f4(0x12a)](_0x5819a6);let _0x14116c=[global_registry['clusterRegion']];if(_0x59081e[_0x5cb9f4(0x1d3)](_0x5819a6[global_registry[_0x5cb9f4(0x209)]],undefined)){if(_0x59081e[_0x5cb9f4(0x147)](_0x59081e[_0x5cb9f4(0x21e)],_0x59081e['ARPSU']))return[!![],_0x5a3a51];else _0x14116c=_0x14116c['concat'](_0x5819a6[global_registry[_0x5cb9f4(0x209)]]);}const _0x1fe4f6=[];for await(const _0x35e946 of _0x14116c){if(_0x59081e[_0x5cb9f4(0xa2)](_0x59081e[_0x5cb9f4(0x113)],_0x59081e[_0x5cb9f4(0x113)])){const _0x3f6736={};_0x3f6736[_0x5cb9f4(0x17d)]=_0x5cb9f4(0x21f)+this[_0x5cb9f4(0x17f)]+_0x5cb9f4(0x216)+_0x35e946;const _0x10518a=_0x3f6736,_0x3ff98e=await this[_0x5cb9f4(0x1e0)][_0x5cb9f4(0x210)](_0x10518a);for(const _0x3ead52 of _0x3ff98e[0x0][_0x5cb9f4(0xb2)]){if(_0x59081e[_0x5cb9f4(0x13a)](_0x59081e[_0x5cb9f4(0x167)],_0x59081e[_0x5cb9f4(0x167)])){if(_0x59081e[_0x5cb9f4(0x1c4)](_0x3ead52[_0x5cb9f4(0xfc)],this[_0x5cb9f4(0x21b)])){if(_0x59081e['lAHZS'](_0x59081e[_0x5cb9f4(0xd2)],_0x59081e['bwsNw']))return!![];else _0x1fe4f6[_0x5cb9f4(0x1b0)](_0x35e946);}}else _0x3603c9[_0x5cb9f4(0x11c)](_0x3d88fe);}}else _0x395f2b=_0x5de757[_0x5cb9f4(0x14c)](_0x212d25[_0x4c8503['clusterRegion']]);}const _0x395e13=_0x1fe4f6[_0x5cb9f4(0xf9)];if(_0x59081e[_0x5cb9f4(0x1ea)](_0x395e13,0x1)){if(_0x59081e['GhELX'](_0x59081e[_0x5cb9f4(0xfb)],_0x59081e[_0x5cb9f4(0xfb)]))return _0x59081e[_0x5cb9f4(0x1d3)](global_registry['clusterRegion'],_0x1fe4f6[0x0])&&(_0x59081e[_0x5cb9f4(0x192)](_0x59081e[_0x5cb9f4(0x15b)],_0x59081e[_0x5cb9f4(0x1e1)])?(global_registry['clusterRegion']=_0x1fe4f6[0x0],this[_0x5cb9f4(0xcf)]()):_0x1e5163[_0x5cb9f4(0xca)]=_0x30b5df),!![];else _0x1f82e7=_0x59081e[_0x5cb9f4(0x1ed)];}else{if(_0x59081e[_0x5cb9f4(0x162)](_0x395e13,0x1)){if(_0x59081e[_0x5cb9f4(0xbd)](_0x59081e[_0x5cb9f4(0xb9)],_0x59081e[_0x5cb9f4(0xb9)]))for(const _0x1b1e9d of _0x8ef257[_0x5cb9f4(0x1ef)][_0x5cb9f4(0xd8)]){if(_0x59081e['Rivbd'](_0x1b1e9d?.[_0x5cb9f4(0xfc)],'projects/'+this[_0x5cb9f4(0x17f)]+_0x5cb9f4(0xc3)+this[_0x5cb9f4(0x168)]+'@'+this['projectId']+_0x5cb9f4(0x1c9)))return!![];}else{console['log'](_0x5cb9f4(0x128)+this[_0x5cb9f4(0x21b)]+_0x5cb9f4(0xb7));for(let _0x2f801c=0x0;_0x59081e['ROXgs'](_0x2f801c,_0x395e13);_0x2f801c+=0x1){_0x59081e['AaRMh'](_0x59081e['volHL'],_0x59081e[_0x5cb9f4(0x11d)])?console[_0x5cb9f4(0xa8)]('['+_0x59081e[_0x5cb9f4(0x166)](_0x2f801c,0x1)+']\x20'+_0x1fe4f6[_0x2f801c]):(_0x40621d[_0x5cb9f4(0x209)]=_0x5711e6[_0x59081e[_0x5cb9f4(0x160)](_0x3327ee,0x1)],this[_0x5cb9f4(0xcf)]());}const _0x36118f=await _0x59081e[_0x5cb9f4(0x1f8)](inputConfirmation,_0x59081e[_0x5cb9f4(0x14d)]),_0x50f533=_0x59081e['fIMpV'](Number,_0x36118f);return(_0x59081e['yZuYB'](isNaN,_0x50f533)||_0x59081e[_0x5cb9f4(0x1f6)](_0x50f533,0x0)||_0x59081e[_0x5cb9f4(0x1fd)](_0x50f533,_0x395e13))&&(_0x59081e['YhDwi'](_0x59081e[_0x5cb9f4(0x12c)],_0x59081e['qKCFp'])?(console[_0x5cb9f4(0xca)](_0x59081e[_0x5cb9f4(0xdd)]),process[_0x5cb9f4(0x1eb)](0x1)):_0x23341b=[_0x59081e[_0x5cb9f4(0x1ed)]]),_0x59081e[_0x5cb9f4(0x1f5)](closeInput),logger['info'](_0x5cb9f4(0xd4)+_0x1fe4f6[_0x59081e[_0x5cb9f4(0x160)](_0x50f533,0x1)]),_0x59081e[_0x5cb9f4(0x1d5)](global_registry[_0x5cb9f4(0x209)],_0x1fe4f6[_0x59081e['PjdQn'](_0x50f533,0x1)])&&(_0x59081e[_0x5cb9f4(0x183)](_0x59081e[_0x5cb9f4(0xd5)],_0x59081e[_0x5cb9f4(0x1b4)])?_0x59081e[_0x5cb9f4(0x13a)](_0x34ed8d[_0x5cb9f4(0xfc)],this[_0x5cb9f4(0x21b)])&&_0x4fb3cd[_0x5cb9f4(0x1b0)](_0xf620f8):(global_registry[_0x5cb9f4(0x209)]=_0x1fe4f6[_0x59081e[_0x5cb9f4(0xd1)](_0x50f533,0x1)],this[_0x5cb9f4(0xcf)]())),!![];}}}return![];}async[a3_0x2dcfc2(0x217)](){const _0x1aca6e=a3_0x2dcfc2,_0x29a917=await this[_0x1aca6e(0x1e0)]['getCluster']({'name':'projects/'+this[_0x1aca6e(0x17f)]+_0x1aca6e(0x216)+global_registry[_0x1aca6e(0x209)]+'/clusters/'+this['clusterName']});return _0x29a917;}async[a3_0x2dcfc2(0x103)](){const _0x22180c=a3_0x2dcfc2,_0x383059={};_0x383059[_0x22180c(0x20c)]=_0x22180c(0x215),_0x383059['ojCkd']=_0x22180c(0xd6),_0x383059[_0x22180c(0xf4)]='gcpresources',_0x383059[_0x22180c(0x186)]='KubeConfigTemplate.yaml';const _0x2d45b1=_0x383059;cp[_0x22180c(0x1b5)](_0x2d45b1[_0x22180c(0x20c)]),cp[_0x22180c(0x1b7)](_0x22180c(0x21a)+this[_0x22180c(0x126)]);const _0x2a0958=await this[_0x22180c(0x217)](),_0x410360='gke_'+this[_0x22180c(0x17f)]+'_'+global_registry[_0x22180c(0x209)]+'_'+this['clusterName'];let _0x38c1ab=await fs['readFileAsync'](path['join'](__dirname,'..',_0x2d45b1['ojCkd'],_0x2d45b1[_0x22180c(0xf4)],_0x2d45b1[_0x22180c(0x186)]));return _0x38c1ab=_0x38c1ab[_0x22180c(0x18b)](),_0x38c1ab=_0x38c1ab['replace'](/<CLUSTER_NAME>/g,_0x410360),_0x38c1ab=_0x38c1ab[_0x22180c(0x135)](/<CLUSTER_URL>/g,'https://'+_0x2a0958[0x0][_0x22180c(0x16d)]),_0x38c1ab=_0x38c1ab[_0x22180c(0x135)](/<CERTIFICATE_DATA>/g,_0x2a0958[0x0][_0x22180c(0xef)][_0x22180c(0xc0)]),_0x38c1ab;}async[a3_0x2dcfc2(0x15d)](){const _0x5e99ba=a3_0x2dcfc2,_0x4b938d={};_0x4b938d['HPVbe']='Cluster\x20creation\x20failed',_0x4b938d[_0x5e99ba(0x15f)]='https://www.googleapis.com/auth/cloud-platform',_0x4b938d[_0x5e99ba(0x131)]=function(_0x6f38bf,_0x5d1978){return _0x6f38bf!==_0x5d1978;},_0x4b938d['FWthW']=_0x5e99ba(0x190),_0x4b938d['ZMSma']=_0x5e99ba(0x153),_0x4b938d[_0x5e99ba(0x120)]=function(_0x3a26bd,_0x37dd6e){return _0x3a26bd===_0x37dd6e;},_0x4b938d[_0x5e99ba(0xe7)]=_0x5e99ba(0x132),_0x4b938d[_0x5e99ba(0x9d)]='nxJNX';const _0x581ca9=_0x4b938d,_0x48ec1e={};_0x48ec1e[_0x5e99ba(0xe8)]=[_0x581ca9[_0x5e99ba(0x15f)]],_0x48ec1e[_0x5e99ba(0x1b1)]=this[_0x5e99ba(0x126)];const _0x693b7e=await google[_0x5e99ba(0x1cf)][_0x5e99ba(0xf3)](_0x48ec1e),_0x43aacf=await this[_0x5e99ba(0x182)]['projects']['serviceAccounts'][_0x5e99ba(0x1cc)]({'name':'projects/'+this[_0x5e99ba(0x17f)],'auth':_0x693b7e});if(_0x43aacf?.[_0x5e99ba(0x1ef)]?.['accounts']){if(_0x581ca9[_0x5e99ba(0x131)](_0x581ca9[_0x5e99ba(0x1d2)],_0x581ca9[_0x5e99ba(0x207)]))for(const _0x4ceaea of _0x43aacf[_0x5e99ba(0x1ef)]['accounts']){if(_0x581ca9[_0x5e99ba(0x120)](_0x581ca9['QDyxW'],_0x581ca9['QDyxW'])){if(_0x581ca9[_0x5e99ba(0x120)](_0x4ceaea?.[_0x5e99ba(0xfc)],_0x5e99ba(0x21f)+this[_0x5e99ba(0x17f)]+'/serviceAccounts/'+this[_0x5e99ba(0x168)]+'@'+this[_0x5e99ba(0x17f)]+'.iam.gserviceaccount.com'))return _0x581ca9[_0x5e99ba(0x131)](_0x581ca9[_0x5e99ba(0x9d)],_0x581ca9[_0x5e99ba(0x9d)])?![]:!![];}else _0xe789b[_0x5e99ba(0x1f9)](_0x581ca9[_0x5e99ba(0xab)]);}else _0x31036d[_0x5e99ba(0xca)](_0x5e99ba(0x174)+_0x53140c+_0x5e99ba(0x176)+_0x41c392[_0x5e99ba(0x204)]),_0x3fb7e3[_0x5e99ba(0x1ef)]=_0x5e99ba(0x205)+_0x666bc,_0x53d5dc['error']=_0x48c710;}return![];}async[a3_0x2dcfc2(0x1f0)](){const _0x1de8e7=a3_0x2dcfc2,_0x2daa10={};_0x2daa10[_0x1de8e7(0x101)]=function(_0x29a4d2,_0x4c6464){return _0x29a4d2===_0x4c6464;},_0x2daa10['lWeQa']=_0x1de8e7(0xf1),_0x2daa10[_0x1de8e7(0x220)]=function(_0x1ba582,_0x1f78c4){return _0x1ba582!==_0x1f78c4;},_0x2daa10[_0x1de8e7(0x189)]=_0x1de8e7(0xec),_0x2daa10['VRtId']=_0x1de8e7(0x19f),_0x2daa10[_0x1de8e7(0x9b)]=_0x1de8e7(0xc2),_0x2daa10[_0x1de8e7(0x1e6)]=_0x1de8e7(0x154),_0x2daa10[_0x1de8e7(0x1d0)]=_0x1de8e7(0x172),_0x2daa10[_0x1de8e7(0x1df)]='storage.buckets.create',_0x2daa10['RysoC']=_0x1de8e7(0x1a4),_0x2daa10[_0x1de8e7(0x1ba)]='storage.buckets.delete',_0x2daa10['Gsufy']=_0x1de8e7(0x195),_0x2daa10[_0x1de8e7(0x1fa)]=_0x1de8e7(0x10b),_0x2daa10[_0x1de8e7(0x1ca)]=_0x1de8e7(0x20e),_0x2daa10['YjNzB']=_0x1de8e7(0x125),_0x2daa10[_0x1de8e7(0x13e)]=_0x1de8e7(0x1e4),_0x2daa10[_0x1de8e7(0x152)]=_0x1de8e7(0xdc),_0x2daa10['uyNxA']='storage.buckets.listTagBindings',_0x2daa10[_0x1de8e7(0x11e)]=_0x1de8e7(0xe0),_0x2daa10[_0x1de8e7(0x1ff)]='storage.buckets.update',_0x2daa10[_0x1de8e7(0x109)]='storage.multipartUploads.abort',_0x2daa10[_0x1de8e7(0x14f)]=_0x1de8e7(0x17c),_0x2daa10[_0x1de8e7(0x13b)]=_0x1de8e7(0x18a),_0x2daa10[_0x1de8e7(0x157)]=_0x1de8e7(0xae),_0x2daa10['dTZCc']='storage.objects.create',_0x2daa10[_0x1de8e7(0x1be)]=_0x1de8e7(0x9c),_0x2daa10[_0x1de8e7(0x18f)]=_0x1de8e7(0x1d9),_0x2daa10['RuyxS']='storage.objects.getIamPolicy',_0x2daa10[_0x1de8e7(0x12f)]=_0x1de8e7(0x117),_0x2daa10[_0x1de8e7(0xd7)]=_0x1de8e7(0x187),_0x2daa10[_0x1de8e7(0x1db)]='storage.objects.update',_0x2daa10[_0x1de8e7(0x191)]=_0x1de8e7(0x1fc),_0x2daa10[_0x1de8e7(0x1a6)]=_0x1de8e7(0x17e);const _0x2478c4=_0x2daa10,_0xc0462c=await this[_0x1de8e7(0x15d)]();if(_0xc0462c){if(_0x2478c4[_0x1de8e7(0x220)](_0x2478c4[_0x1de8e7(0x189)],_0x2478c4['dkLnG'])){const _0x318c75=_0x115a40[0x0]?.['resourceLabels']?.[_0x1de8e7(0xa5)];return _0x318c75&&_0x2478c4['fsTgp'](_0x318c75[_0x1de8e7(0x19e)](),_0x2478c4['lWeQa']);}else{logger[_0x1de8e7(0x1f9)](_0x2478c4[_0x1de8e7(0x21d)]);return;}}logger[_0x1de8e7(0x1f9)](_0x2478c4[_0x1de8e7(0x9b)]);const _0x33a2f3={};_0x33a2f3[_0x1de8e7(0xe8)]=[_0x2478c4['qbxKR']],_0x33a2f3[_0x1de8e7(0x1b1)]=this['credentialsPath'];const _0x373aa1=await google['auth']['getClient'](_0x33a2f3),_0x4912aa={};_0x4912aa['includedPermissions']=[_0x2478c4['enVIb'],_0x2478c4[_0x1de8e7(0x1df)],_0x2478c4['RysoC'],_0x2478c4[_0x1de8e7(0x1ba)],_0x2478c4[_0x1de8e7(0x12d)],_0x2478c4[_0x1de8e7(0x1fa)],_0x2478c4['KByAe'],_0x2478c4[_0x1de8e7(0x10d)],_0x2478c4[_0x1de8e7(0x13e)],_0x2478c4[_0x1de8e7(0x152)],_0x2478c4[_0x1de8e7(0xed)],_0x2478c4[_0x1de8e7(0x11e)],_0x2478c4[_0x1de8e7(0x1ff)],_0x2478c4[_0x1de8e7(0x109)],_0x2478c4['ApIMp'],_0x2478c4[_0x1de8e7(0x13b)],_0x2478c4['DAtpr'],_0x2478c4['dTZCc'],_0x2478c4['wCkNX'],_0x2478c4[_0x1de8e7(0x18f)],_0x2478c4[_0x1de8e7(0xad)],_0x2478c4[_0x1de8e7(0x12f)],_0x2478c4['ZNLlm'],_0x2478c4[_0x1de8e7(0x1db)]],_0x4912aa[_0x1de8e7(0x1b8)]=_0x2478c4[_0x1de8e7(0x191)],await this[_0x1de8e7(0x182)]['organizations']['roles'][_0x1de8e7(0x1bf)]({'parent':'projects/'+this['projectId'],'requestBody':{'role':_0x4912aa,'roleId':this['customRoleName']},'auth':_0x373aa1});const _0x5daf50={};_0x5daf50['name']='projects/'+this['projectId'],_0x5daf50['requestBody']={},_0x5daf50[_0x1de8e7(0x1cf)]=_0x373aa1,_0x5daf50['requestBody'][_0x1de8e7(0xfd)]=this['serviceAccountName'];const _0xaf7f97=_0x5daf50;await this[_0x1de8e7(0x182)][_0x1de8e7(0x146)][_0x1de8e7(0x12e)]['create'](_0xaf7f97);let _0x31af42=await this[_0x1de8e7(0xee)][_0x1de8e7(0xa3)]({'resource':_0x1de8e7(0x21f)+this[_0x1de8e7(0x17f)]});_0x31af42=_0x31af42[0x0][_0x1de8e7(0x1a8)];const _0x487136={};_0x487136['role']=_0x1de8e7(0x21f)+this['projectId']+_0x1de8e7(0x139)+this[_0x1de8e7(0x102)],_0x487136['members']=[_0x1de8e7(0x1d6)+this[_0x1de8e7(0x168)]+'@'+this[_0x1de8e7(0x17f)]+'.iam.gserviceaccount.com'],_0x31af42[_0x1de8e7(0x1b0)](_0x487136);const _0x927814={};_0x927814[_0x1de8e7(0x1a8)]=_0x31af42,await this[_0x1de8e7(0xee)][_0x1de8e7(0xea)]({'resource':_0x1de8e7(0x21f)+this[_0x1de8e7(0x17f)],'policy':_0x927814}),logger[_0x1de8e7(0x1f9)](_0x2478c4[_0x1de8e7(0x1a6)]);}async[a3_0x2dcfc2(0x1d7)](_0x183cea=a3_0x2dcfc2(0x1c5),_0x1f21bb=[a3_0x2dcfc2(0x1c5)]){const _0x44e2ab=a3_0x2dcfc2,_0x4be08b={};_0x4be08b['oXEIp']=_0x44e2ab(0x1bb),_0x4be08b['GAjQX']=_0x44e2ab(0xc7),_0x4be08b[_0x44e2ab(0x200)]=function(_0x19025b,_0x414c6d){return _0x19025b!==_0x414c6d;},_0x4be08b[_0x44e2ab(0x1ae)]=_0x44e2ab(0x11b),_0x4be08b[_0x44e2ab(0x1b3)]=_0x44e2ab(0x1c5),_0x4be08b[_0x44e2ab(0x106)]=function(_0x19a282,_0x5aa3c5){return _0x19a282===_0x5aa3c5;},_0x4be08b[_0x44e2ab(0x175)]=function(_0x50acc9,_0x2df838){return _0x50acc9!==_0x2df838;},_0x4be08b[_0x44e2ab(0x9f)]='XnAFf';const _0x36a773=_0x4be08b,_0x5d173e={};return _0x5d173e[_0x44e2ab(0x1b9)]=WS_EVENTS['LOG'],_0x5d173e[_0x44e2ab(0x142)]=_0x36a773[_0x44e2ab(0xe1)],this[_0x44e2ab(0x1ce)][_0x44e2ab(0xac)](this[_0x44e2ab(0x20f)],_0x5d173e),logger['info'](_0x36a773['GAjQX']),!_0x183cea&&(_0x36a773[_0x44e2ab(0x200)](_0x36a773[_0x44e2ab(0x1ae)],_0x36a773[_0x44e2ab(0x1ae)])?_0x45d4ef['status']=![]:_0x183cea=_0x36a773[_0x44e2ab(0x1b3)]),(!_0x1f21bb||_0x36a773[_0x44e2ab(0x106)](_0x1f21bb['length'],0x0))&&(_0x36a773['nlrNW'](_0x36a773['sTBWD'],_0x36a773[_0x44e2ab(0x9f)])?_0x27d19f['execSync']('gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster='+this['clusterName']+'\x20--windows-os-version=ltsc2022\x20--region\x20'+_0x1f53f1[_0x44e2ab(0x209)]+'\x20--quiet\x20--user-output-enabled=false'):_0x1f21bb=[_0x36a773[_0x44e2ab(0x1b3)]]),await this['setupServiceAccount'](),await this[_0x44e2ab(0xd0)](_0x183cea,_0x1f21bb),await this[_0x44e2ab(0xeb)](),[_0x183cea,_0x1f21bb];}async['createCluster'](_0x5a58ac='default',_0x22d64d=[a3_0x2dcfc2(0x1c5)]){const _0x3d4f4c=a3_0x2dcfc2,_0x4db0c0={};_0x4db0c0[_0x3d4f4c(0xc8)]=_0x3d4f4c(0x19f),_0x4db0c0[_0x3d4f4c(0xf2)]=_0x3d4f4c(0x10f),_0x4db0c0['cdcZw']='denied',_0x4db0c0[_0x3d4f4c(0x155)]=_0x3d4f4c(0x1cd),_0x4db0c0[_0x3d4f4c(0xe5)]=function(_0x722ba5,_0x4f0967){return _0x722ba5!==_0x4f0967;},_0x4db0c0['tODoC']=_0x3d4f4c(0x110),_0x4db0c0[_0x3d4f4c(0x185)]='Creating\x20GKE\x20Cluster',_0x4db0c0[_0x3d4f4c(0x159)]=_0x3d4f4c(0xd6),_0x4db0c0[_0x3d4f4c(0x107)]=_0x3d4f4c(0x1c0),_0x4db0c0['bYbNJ']=_0x3d4f4c(0x1a3),_0x4db0c0[_0x3d4f4c(0x100)]=_0x3d4f4c(0x21c),_0x4db0c0['NKwfz']=_0x3d4f4c(0x144),_0x4db0c0[_0x3d4f4c(0x170)]=function(_0x23dea8,_0x5da279){return _0x23dea8*_0x5da279;},_0x4db0c0[_0x3d4f4c(0x112)]=function(_0x145dfa,_0xafe3fa){return _0x145dfa*_0xafe3fa;},_0x4db0c0[_0x3d4f4c(0x133)]=function(_0x440e80,_0x3dd149){return _0x440e80!==_0x3dd149;},_0x4db0c0[_0x3d4f4c(0xbe)]='HcWhO',_0x4db0c0[_0x3d4f4c(0x199)]='LwrXY',_0x4db0c0[_0x3d4f4c(0x156)]='QjLly',_0x4db0c0[_0x3d4f4c(0x10a)]=_0x3d4f4c(0x114),_0x4db0c0[_0x3d4f4c(0x17a)]=function(_0x4e03b5,_0x4e3f13){return _0x4e03b5===_0x4e3f13;},_0x4db0c0[_0x3d4f4c(0x15a)]=_0x3d4f4c(0x1cb),_0x4db0c0[_0x3d4f4c(0x18d)]=_0x3d4f4c(0x16c);const _0x1638de=_0x4db0c0;try{if(_0x1638de['UIYom'](_0x1638de[_0x3d4f4c(0x116)],_0x1638de[_0x3d4f4c(0x116)])){_0x46e460[_0x3d4f4c(0x1f9)](_0x1638de['FSBEa']);return;}else{logger[_0x3d4f4c(0x1f9)](_0x1638de[_0x3d4f4c(0x185)]);let _0x51359a=await fs[_0x3d4f4c(0x141)](path[_0x3d4f4c(0x1fb)](__dirname,'..',_0x1638de[_0x3d4f4c(0x159)],_0x1638de['KdwXt'],_0x1638de[_0x3d4f4c(0xfa)]),_0x1638de['doJah']);_0x51359a=JSON['parse'](_0x51359a);let _0xcc42ce=await fs['readFileAsync'](path[_0x3d4f4c(0x1fb)](__dirname,'..',_0x1638de['zRGnf'],_0x1638de[_0x3d4f4c(0x107)],_0x1638de[_0x3d4f4c(0x19c)]),_0x1638de['doJah']);_0xcc42ce=JSON[_0x3d4f4c(0x12a)](_0xcc42ce),_0x51359a[_0x3d4f4c(0xfc)]=this[_0x3d4f4c(0x21b)],_0x51359a[_0x3d4f4c(0x140)][0x0][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x1af)]=global_registry[_0x3d4f4c(0x124)],_0x51359a[_0x3d4f4c(0x140)][0x1][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x1af)]=global_registry[_0x3d4f4c(0x124)],_0x51359a['nodePools'][0x0][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x20b)]=this['serviceAccountName']+'@'+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x1c9),_0x51359a[_0x3d4f4c(0x140)][0x1][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x20b)]=this[_0x3d4f4c(0x168)]+'@'+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x1c9),_0x51359a[_0x3d4f4c(0x140)][0x0][_0x3d4f4c(0x196)][_0x3d4f4c(0xb3)]=global_registry['minNodes'],_0x51359a[_0x3d4f4c(0x140)][0x1][_0x3d4f4c(0x196)][_0x3d4f4c(0xb3)]=0x0,_0x51359a[_0x3d4f4c(0x140)][0x0][_0x3d4f4c(0x196)][_0x3d4f4c(0x143)]=global_registry[_0x3d4f4c(0x1ac)],_0x51359a['nodePools'][0x1][_0x3d4f4c(0x196)][_0x3d4f4c(0x143)]=global_registry[_0x3d4f4c(0x1ac)],_0x51359a['location']=global_registry[_0x3d4f4c(0x209)],_0x51359a['locations']=[_0xcc42ce[global_registry[_0x3d4f4c(0x209)]][0x0]],_0x51359a[_0x3d4f4c(0x164)]='projects/'+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x198)+_0x5a58ac,_0x51359a[_0x3d4f4c(0xe3)]=_0x3d4f4c(0x21f)+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x1f3)+global_registry[_0x3d4f4c(0x209)]+_0x3d4f4c(0x13f)+_0x22d64d[0x0];const _0x3657b1=await this[_0x3d4f4c(0x1e0)][_0x3d4f4c(0xd0)]({'cluster':_0x51359a,'parent':_0x3d4f4c(0x21f)+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x216)+global_registry[_0x3d4f4c(0x209)]});await this[_0x3d4f4c(0x1ce)][_0x3d4f4c(0x15e)](_0x1638de[_0x3d4f4c(0x170)](_0x1638de[_0x3d4f4c(0x112)](0x7,0x3c),0x3e8));}}catch(_0x274ca8){if(_0x1638de[_0x3d4f4c(0x133)](_0x1638de[_0x3d4f4c(0xbe)],_0x1638de[_0x3d4f4c(0xbe)])){const _0x283e00=_0x2b381e['permissions'][_0x3d4f4c(0x10e)](_0x2accfb);_0x3b219d+='\x0a\x09'+_0x27b0ef+_0x3d4f4c(0x176)+(_0x283e00?_0x1638de[_0x3d4f4c(0xf2)]:_0x1638de[_0x3d4f4c(0x151)]),!_0x283e00&&(_0x1a0836[_0x3d4f4c(0x1f7)]=![]);}else{const _0x48cc93=await this[_0x3d4f4c(0xb5)]();if(_0x48cc93)_0x1638de['GobVz'](_0x1638de[_0x3d4f4c(0x199)],_0x1638de[_0x3d4f4c(0x156)])?(logger[_0x3d4f4c(0x1f9)](_0x1638de[_0x3d4f4c(0x10a)],_0x274ca8[_0x3d4f4c(0x204)]),await this[_0x3d4f4c(0xcc)]()):_0x269cd4[_0x3d4f4c(0x1e7)](_0x4a5093);else{if(_0x1638de[_0x3d4f4c(0x17a)](_0x1638de['AongB'],_0x1638de[_0x3d4f4c(0x15a)]))logger[_0x3d4f4c(0x1f9)](_0x1638de['fkKTM']);else{_0x1729a3['info'](_0x1638de[_0x3d4f4c(0x155)]);throw _0x357f2b;}}throw _0x274ca8;}}}async['setupHubHa'](_0x27950a,_0x108b0d,_0x42b552,_0x21c707,_0x4b8ae4){}async[a3_0x2dcfc2(0xeb)](){const _0x27ade8=a3_0x2dcfc2;cp[_0x27ade8(0x1b5)](_0x27ade8(0xf8)+this[_0x27ade8(0x21b)]+'\x20--windows-os-version=ltsc2022\x20--region\x20'+global_registry[_0x27ade8(0x209)]+_0x27ade8(0xda));}async[a3_0x2dcfc2(0xcc)](_0x12189e,_0x424303){const _0x3c00ce=a3_0x2dcfc2,_0x35acc0={'MgMch':function(_0x59bc44,_0x45155b){return _0x59bc44!==_0x45155b;},'KSlDq':function(_0x50ff90,_0x39527b){return _0x50ff90===_0x39527b;},'yjyZD':function(_0x268eb0,_0x3d8494){return _0x268eb0===_0x3d8494;},'bDSwP':_0x3c00ce(0x180),'jAEpv':_0x3c00ce(0xb4),'LYWrZ':function(_0x4f8bda,_0x35b0a6){return _0x4f8bda(_0x35b0a6);},'jiJlL':_0x3c00ce(0x9e),'eYMCa':_0x3c00ce(0x1f4),'sohvf':_0x3c00ce(0x136),'wsOJE':'kevfa','SaNns':_0x3c00ce(0x158),'FibcQ':function(_0x86dade,_0x26987b){return _0x86dade===_0x26987b;},'JIgcm':_0x3c00ce(0x1a2),'ptfcu':_0x3c00ce(0x1cd)};try{if(_0x35acc0[_0x3c00ce(0x14a)](_0x35acc0['bDSwP'],_0x35acc0['jAEpv']))return _0x35acc0['MgMch'](_0x847cf[_0x3c00ce(0x209)],_0x460b29[0x0])&&(_0xeaf38d[_0x3c00ce(0x209)]=_0x39bd62[0x0],this[_0x3c00ce(0xcf)]()),!![];else{await _0x35acc0[_0x3c00ce(0x197)](deleteAgent,_0x12189e),await _0x35acc0[_0x3c00ce(0x197)](deleteRoutingDeps,_0x12189e),logger['info'](_0x3c00ce(0x1e5)+this[_0x3c00ce(0x21b)]);const _0x617f53=await this[_0x3c00ce(0x1e0)][_0x3c00ce(0xcc)]({'name':_0x3c00ce(0x21f)+this['projectId']+_0x3c00ce(0x216)+global_registry[_0x3c00ce(0x209)]+'/clusters/'+this['clusterName']});if(_0x35acc0[_0x3c00ce(0x14a)](_0x617f53[0x0]?.[_0x3c00ce(0x1f7)],_0x35acc0['jiJlL'])||_0x35acc0[_0x3c00ce(0x14a)](_0x617f53[0x0]?.['status'],_0x35acc0[_0x3c00ce(0x1e3)])){if(_0x35acc0[_0x3c00ce(0x15c)](_0x35acc0[_0x3c00ce(0xdf)],_0x35acc0[_0x3c00ce(0xd9)]))return!![];else _0x2c9c81['vpcInfo']['push'](_0x227f06);}logger[_0x3c00ce(0x1f9)](_0x35acc0[_0x3c00ce(0x1e8)]);}}catch(_0x2858d0){if(_0x35acc0[_0x3c00ce(0xa0)](_0x35acc0[_0x3c00ce(0x1f2)],_0x35acc0[_0x3c00ce(0x1f2)])){logger[_0x3c00ce(0x1f9)](_0x35acc0['ptfcu']);throw _0x2858d0;}else{if(_0x35acc0[_0x3c00ce(0x1dc)](_0x43683e?.['name'],'projects/'+this[_0x3c00ce(0x17f)]+_0x3c00ce(0xc3)+this[_0x3c00ce(0x168)]+'@'+this[_0x3c00ce(0x17f)]+_0x3c00ce(0x1c9)))return!![];}}}async[a3_0x2dcfc2(0x1ec)](_0x15f38c){const _0x404692=a3_0x2dcfc2,_0x5b63c1={};_0x5b63c1[_0x404692(0x1c8)]=function(_0x551272,_0xc40c09){return _0x551272!==_0xc40c09;},_0x5b63c1[_0x404692(0x1b6)]='YgNgH',_0x5b63c1['lRqOG']=function(_0x3d1f77,_0x39fe7a){return _0x3d1f77>_0x39fe7a;},_0x5b63c1[_0x404692(0x181)]=function(_0x5c653b,_0x14d28d){return _0x5c653b===_0x14d28d;},_0x5b63c1[_0x404692(0x1b2)]=function(_0x1177d7,_0x25a566){return _0x1177d7===_0x25a566;},_0x5b63c1[_0x404692(0xdb)]=_0x404692(0xb1),_0x5b63c1[_0x404692(0x13c)]='uCBwS',_0x5b63c1['VdMnp']=_0x404692(0x118);const _0x2bb802=_0x5b63c1;try{if(_0x2bb802['uZjCR'](_0x2bb802[_0x404692(0x1b6)],_0x2bb802[_0x404692(0x1b6)]))_0x337464[_0x404692(0x1b0)](_0x19eae0);else{const _0xe6fc55=await this['networkClient'][_0x404692(0x1c2)]({'project':this[_0x404692(0x17f)],'network':_0x15f38c});if(_0x2bb802[_0x404692(0x211)](_0xe6fc55['length'],0x0)&&_0x2bb802[_0x404692(0x181)](_0xe6fc55[0x0]['name'],_0x15f38c))return _0x2bb802['KAewm'](_0x2bb802[_0x404692(0xdb)],_0x2bb802[_0x404692(0xdb)])?!![]:!![];}}catch(_0x567fa1){return _0x2bb802[_0x404692(0x1c8)](_0x2bb802[_0x404692(0x13c)],_0x2bb802[_0x404692(0x130)])?![]:!![];}return![];}async[a3_0x2dcfc2(0xaa)](_0x1c9fa0,_0x2edb48){const _0x581665=a3_0x2dcfc2,_0x31d5a3={};_0x31d5a3[_0x581665(0xa6)]=function(_0x5d869a,_0x530743){return _0x5d869a===_0x530743;},_0x31d5a3[_0x581665(0x20d)]=function(_0x38f8f1,_0x442565){return _0x38f8f1!==_0x442565;},_0x31d5a3[_0x581665(0x1dd)]='HbMQd',_0x31d5a3[_0x581665(0x1fe)]=_0x581665(0x17b),_0x31d5a3['UbzQY']=_0x581665(0x150),_0x31d5a3['XHUvW']=_0x581665(0x163),_0x31d5a3[_0x581665(0x11f)]=_0x581665(0xe2);const _0x34d1ae=_0x31d5a3;try{if(_0x34d1ae[_0x581665(0x20d)](_0x34d1ae['jrtuu'],_0x34d1ae[_0x581665(0x1dd)]))return _0x13e149[_0x581665(0xca)](_0x581665(0x138)+_0x434e4e+_0x581665(0x119)+_0x22f66b),[![],[]];else{const _0x2de712=await this['networkClient'][_0x581665(0x1c2)]({'project':this[_0x581665(0x17f)],'network':_0x2edb48});for(const _0x1f2b7e of _0x2de712[0x0][_0x581665(0xf0)]){if(_0x34d1ae[_0x581665(0x20d)](_0x34d1ae[_0x581665(0x1fe)],_0x34d1ae[_0x581665(0x1fe)])){const _0x1dd2e4=_0x581665(0x1c3)+this['projectId']+_0x581665(0x1f3)+_0x1aa857[_0x581665(0x209)]+_0x581665(0x13f)+_0x47bc2b[0x0];if(_0x34d1ae[_0x581665(0xa6)](_0x1dd2e4,_0x2d13d2))return[!![],_0x72b79e];}else{const _0xaead7a=_0x581665(0x1c3)+this['projectId']+_0x581665(0x1f3)+global_registry[_0x581665(0x209)]+_0x581665(0x13f)+_0x1c9fa0[0x0];if(_0x34d1ae[_0x581665(0xa6)](_0xaead7a,_0x1f2b7e))return _0x34d1ae['yqMEx'](_0x34d1ae[_0x581665(0x104)],_0x34d1ae[_0x581665(0xba)])?[!![],_0x1c9fa0]:_0x583d00[_0x581665(0x1f7)][_0x581665(0x19d)]['ingress'][0x0]['ip'];}}}}catch(_0x53d373){if(_0x34d1ae['NNtKA'](_0x34d1ae[_0x581665(0x11f)],_0x34d1ae[_0x581665(0x11f)]))return logger[_0x581665(0xca)](_0x581665(0x138)+_0x1c9fa0+_0x581665(0x119)+_0x53d373),[![],[]];else _0x23823f[_0x581665(0x209)]=_0x14790b[0x0],this['updateClusterRegion']();}return[![],[]];}async[a3_0x2dcfc2(0xc5)](){const _0x1a39ff=a3_0x2dcfc2,_0x160ba8={};_0x160ba8[_0x1a39ff(0xc1)]=function(_0x4391e0,_0x592124){return _0x4391e0!==_0x592124;},_0x160ba8[_0x1a39ff(0xe6)]=_0x1a39ff(0x122),_0x160ba8[_0x1a39ff(0x188)]=_0x1a39ff(0x1da);const _0xc88ad6=_0x160ba8,_0xf5d0db=await this[_0x1a39ff(0x149)][_0x1a39ff(0x1cc)]({'project':this[_0x1a39ff(0x17f)]}),_0x6c19a1={};_0x6c19a1[_0x1a39ff(0x11a)]=global_registry['bstackUsername'],_0x6c19a1[_0x1a39ff(0x137)]=global_registry[_0x1a39ff(0xa7)],_0x6c19a1[_0x1a39ff(0xe9)]=GCP,_0x6c19a1[_0x1a39ff(0x169)]=[];const _0x1fe23a=_0x6c19a1;for(const _0x40a26a of _0xf5d0db){if(_0xc88ad6[_0x1a39ff(0xc1)](_0xc88ad6[_0x1a39ff(0xe6)],_0xc88ad6[_0x1a39ff(0x188)]))_0x1fe23a[_0x1a39ff(0x169)]['push'](_0x40a26a);else return![];}const _0x1422d2={};_0x1422d2[_0x1a39ff(0x1b9)]=WS_EVENTS[_0x1a39ff(0x1d4)],_0x1422d2[_0x1a39ff(0x142)]=_0x1fe23a,this['webSocketUtils'][_0x1a39ff(0xac)](this['rws'],_0x1422d2);}async['updateClusterRegion'](){const _0x483aab=a3_0x2dcfc2,_0x3445ef={'tYplU':function(_0x17f0dd,_0x2b9b25,_0x4d1947){return _0x17f0dd(_0x2b9b25,_0x4d1947);},'SaOWk':_0x483aab(0x208),'IZwdG':_0x483aab(0xcd)},_0x7be09=_0x483aab(0x14e)+AG_API_URL+'/packages/cli/update-cluster-region',_0x5546f4={};_0x5546f4[_0x483aab(0x193)]=global_registry[_0x483aab(0x14b)];const _0x289340={};_0x289340['newRegion']=global_registry['clusterRegion'];const _0x51ea76={'searchParams':_0x5546f4,'json':_0x289340,'headers':_0x3445ef[_0x483aab(0xcb)](getAuthHeader,global_registry[_0x483aab(0x165)],global_registry[_0x483aab(0xa7)]),'method':_0x3445ef[_0x483aab(0x16a)],'responseType':_0x3445ef[_0x483aab(0x19b)],'throwHttpErrors':![]},_0x35db8a=await _0x3445ef[_0x483aab(0xcb)](got,_0x7be09,_0x51ea76);}async['isCliToolInstalled'](){const _0x1ffe1a=a3_0x2dcfc2,_0x3a4d7f={'YanZm':function(_0x217205,_0x317365){return _0x217205(_0x317365);},'GddKL':_0x1ffe1a(0x177),'WyqgC':'Intercepted','CemYg':_0x1ffe1a(0x20a)},_0x285850={};_0x285850[_0x1ffe1a(0x1f7)]=![],_0x285850['error']=null,_0x285850[_0x1ffe1a(0x1ef)]='';const _0x4ac585=_0x285850;try{const _0x1c44e8=await _0x3a4d7f[_0x1ffe1a(0x1bc)](runCommand,_0x3a4d7f['GddKL']);_0x1c44e8['startsWith'](_0x3a4d7f[_0x1ffe1a(0x16e)])?logger[_0x1ffe1a(0x11c)](_0x1c44e8):logger[_0x1ffe1a(0x1e7)](_0x1c44e8),_0x4ac585['status']=!![],_0x4ac585['data']=_0x3a4d7f['CemYg'];}catch(_0x1f7682){logger[_0x1ffe1a(0xca)](_0x1ffe1a(0x174)+_0x1f7682+'\x20:\x20'+_0x1f7682['stack']),_0x4ac585[_0x1ffe1a(0x1ef)]=_0x1ffe1a(0x205)+_0x1f7682,_0x4ac585[_0x1ffe1a(0xca)]=_0x1f7682;}return _0x4ac585;}async['checkAccess'](){const _0x1de5e9=a3_0x2dcfc2,_0x38c07d={};_0x38c07d[_0x1de5e9(0x201)]=_0x1de5e9(0x10f),_0x38c07d[_0x1de5e9(0x221)]='denied';const _0x55e889=_0x38c07d,_0x521cf3={};_0x521cf3['status']=![],_0x521cf3[_0x1de5e9(0xca)]=null,_0x521cf3[_0x1de5e9(0x1ef)]='';const _0x4c594b=_0x521cf3;try{let _0x102870='';const _0x21d7c8=_0x1de5e9(0x21f)+this[_0x1de5e9(0x17f)],[_0x1403cc]=await this[_0x1de5e9(0xee)]['testIamPermissions']({'resource':_0x21d7c8,'permissions':Object[_0x1de5e9(0xe4)](PERMISSIONS)});_0x4c594b[_0x1de5e9(0x1f7)]=!![],logger[_0x1de5e9(0x1e7)](_0x1de5e9(0x1bd)+_0x21d7c8+':\x20'+JSON['stringify'](_0x1403cc)),Object[_0x1de5e9(0x184)](PERMISSIONS)[_0x1de5e9(0x212)](([_0x512471,_0x4bcb4c])=>{const _0x3e8ea0=_0x1de5e9,_0x329594=_0x1403cc[_0x3e8ea0(0x1ab)][_0x3e8ea0(0x10e)](_0x512471);_0x102870+='\x0a\x09'+_0x4bcb4c+_0x3e8ea0(0x176)+(_0x329594?_0x55e889[_0x3e8ea0(0x201)]:_0x55e889[_0x3e8ea0(0x221)]),!_0x329594&&(_0x4c594b[_0x3e8ea0(0x1f7)]=![]);}),_0x4c594b['data']=_0x102870;}catch(_0x3009aa){_0x4c594b[_0x1de5e9(0xca)]=_0x3009aa;}return _0x4c594b;}}function a3_0x1161(){const _0x2466d7=['tKOPC','iamClient','RJcNK','entries','kceuM','xMcJo','storage.objects.setIamPolicy','gAseG','dkLnG','storage.multipartUploads.list','toString','yhgpA','fkKTM','pWgjt','akZgx','WZxEd','ZbpQO','PrAWe','profileId','cloudProviderName','storage.buckets.deleteTagBinding','autoscaling','LYWrZ','/global/networks/','PdcLw','../config/constants','IZwdG','NKwfz','loadBalancer','toLowerCase','Service\x20account\x20already\x20exists,\x20skipping','ikQnZ','../utils/userInput','OMdSP','gkecluster.json','storage.buckets.createTagBinding','udtjx','IzMgT','VYrHI','bindings','NetworksClient','eNqoi','permissions','maxNodes','turboscale-service-account','JdDdp','machineType','push','keyFile','KAewm','PuvBO','ZRaxA','execSync','uPeZx','exec','title','type','NWEmN','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','YanZm','permissions\x20check\x20response\x20for\x20','wCkNX','create','gcpresources','pklbr','get','https://www.googleapis.com/compute/v1/projects/','Rivbd','default','alCsD','ingress','uZjCR','.iam.gserviceaccount.com','KByAe','GPNWi','list','GKE\x20Cluster\x20deletion\x20failed','webSocketUtils','auth','enVIb','LUqJQ','FWthW','AaRMh','RESOURCES','XuCJN','serviceAccount:','setupNewCluster','6|5|0|4|3|7|2|1|8','storage.objects.get','VkZMU','yLmBa','KSlDq','jrtuu','getUserInput','VyZuN','containerClient','yEUCj','WXVvR','eYMCa','storage.buckets.list','Deleting\x20the\x20cluster\x20','qbxKR','debug','SaNns','config','UFqit','exit','isVPCPresent','TgqKa','XtogR','data','setupServiceAccount','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','JIgcm','/regions/','DONE','DAFAB','SmeTS','status','fIMpV','info','QSPDk','join','Turboscale\x20Custom\x20Role','xvnYa','mnRuW','xYuhC','tjsOy','jxhyR','iam','tmZtj','stack','Please\x20install\x20gcloud\x20CLI\x20tool.\x20Error\x20:\x20','@google-cloud/compute','ZMSma','PUT','clusterRegion','cli\x20tool\x20is\x20installed','serviceAccount','jhtmy','yqMEx','storage.buckets.getIamPolicy','rws','listClusters','lRqOG','forEach','gqsiR','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--user-output-enabled=false','/locations/','getClusterInfo','370149ivHAdF','googleapis','gcloud\x20auth\x20login\x20--cred-file=','clusterName','utf-8','VRtId','ARPSU','projects/','dbKTe','MOuGt','ePKNz','storage.objects.delete','febHZ','RUNNING','sTBWD','FibcQ','OzFwq','MGWeO','getIamPolicy','sendResourceDataToHST','managedby','NNtKA','bstackAccesskey','log','KYjqP','isSubnetsValid','HPVbe','sendEventToBackend','RuyxS','storage.multipartUploads.listParts','TfaRY','path','XXPiQ','clusters','minNodeCount','jFWyW','isClusterPresent','init','\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:','@google-cloud/resource-manager','Xuhkb','XHUvW','fdoTr','zjGQG','lAHZS','tqhGR','eRufT','clusterCaCertificate','SmwBY','Creating\x20service\x20account','/serviceAccounts/','ClusterManagerClient','sendGCPInfoToHST','split','Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','FSBEa','3686816gRYkoU','error','tYplU','deleteCluster','json','wTEzp','updateClusterRegion','createCluster','iyLTH','bwsNw','terlh','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','tmVpi','templates','ZNLlm','accounts','wsOJE','\x20--quiet\x20--user-output-enabled=false','fJzGy','storage.buckets.listEffectiveTags','MpIMp','../utils/utilityMethods','sohvf','storage.buckets.setIamPolicy','oXEIp','HLmfz','subnetwork','keys','UIYom','GGHkn','QDyxW','scopes','cloudProvider','setIamPolicy','updateWindowsNodeGroup','oxhSn','uyNxA','resourcemanagerClient','masterAuth','subnetworks','browserstack','UrVuV','getClient','tYfJt','FTywA','VxljH','Byqra','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','length','bYbNJ','OUzjF','name','accountId','../permissions/GCP.json','resourceLabels','doJah','fsTgp','customRoleName','getKubeConfigData','UbzQY','getGridHostname','FRcJQ','KdwXt','hcGEZ','GDady','FREal','storage.buckets.get','1529340bQigFM','YjNzB','includes','allowed','qSQAH','util','aFVbt','mGDTy','Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20','azTkv','tODoC','storage.objects.list','BwCgw','.\x20Error:\x20','username','CQfAi','warn','nzaYh','ijRqC','cRYAL','jeGTT','@google-cloud/container','bGUpv','12luCwqk','instanceType','storage.buckets.getObjectInsights','credentialsPath','479176pddNtO','Found\x20cluster\x20with\x20name\x20\x27','turboscale_custom_role','parse','Vqbee','qKCFp','Gsufy','serviceAccounts','wtJhb','VdMnp','Dhzto','Sgxop','GobVz','gRgKb','replace','SIFrk','accessKey','Cannot\x20find\x20subnets\x20','/roles/','YhDwi','ftusB','nnDSD','MRxhn','hBmqX','/subnetworks/','nodePools','readFileAsync','message','maxNodeCount','regionmap.json','1506595WqhNIW','projects','FzBdI','child_process','networkClient','yjyZD','gridProfileId','concat','VSiBd','https://','ApIMp','TjAdR','cdcZw','pwHcd','dYccH','https://www.googleapis.com/auth/cloud-platform','boQqh','IKTaF','DAtpr','Cluster\x20deletion\x20completed','zRGnf','AongB','wZrXc','MgMch','checkServiceAccount','delay','BbOxW','yDLxa','tdHnJ','ZpLnp','dpxWl','network','bstackUsername','xYIHD','fOYGr','serviceAccountName','vpcInfo','SaOWk','gcp_credentials.json','Cluster\x20creation\x20failed','endpoint','WyqgC','djaqw','AijVB','project_id','iam.serviceAccounts.signBlob','3714192ITfdPB','error\x20:\x20','nlrNW','\x20:\x20','gcloud\x20--version','590874LVRcRN','wRnrE','oMZyw','KBGsx','storage.multipartUploads.create','parent','Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation','projectId','Xawxv'];a3_0x1161=function(){return _0x2466d7;};return a3_0x1161();}const a3_0x269a57={};a3_0x269a57['GoogleCloudProvider']=GoogleCloudProvider,module['exports']=a3_0x269a57;
@@ -1 +1 @@
1
- const a4_0x2982ea=a4_0x24d3;function a4_0x24d3(_0x169981,_0x3b14cc){const _0x481b90=a4_0x481b();return a4_0x24d3=function(_0x24d373,_0xa896a6){_0x24d373=_0x24d373-0x16a;let _0x5314b4=_0x481b90[_0x24d373];return _0x5314b4;},a4_0x24d3(_0x169981,_0x3b14cc);}(function(_0xc8bdb,_0x45ce6b){const _0x104958=a4_0x24d3,_0x1d51ae=_0xc8bdb();while(!![]){try{const _0x16552b=parseInt(_0x104958(0x18d))/0x1+parseInt(_0x104958(0x189))/0x2*(parseInt(_0x104958(0x16e))/0x3)+parseInt(_0x104958(0x179))/0x4+-parseInt(_0x104958(0x18e))/0x5+-parseInt(_0x104958(0x18a))/0x6+-parseInt(_0x104958(0x173))/0x7*(-parseInt(_0x104958(0x17d))/0x8)+-parseInt(_0x104958(0x178))/0x9*(parseInt(_0x104958(0x184))/0xa);if(_0x16552b===_0x45ce6b)break;else _0x1d51ae['push'](_0x1d51ae['shift']());}catch(_0x262989){_0x1d51ae['push'](_0x1d51ae['shift']());}}}(a4_0x481b,0x1faef));const {AWSCloudProvider}=require('./AWS'),{GoogleCloudProvider}=require(a4_0x2982ea(0x180)),{installAzurePackages,IsNodeCompatibleWithAzure}=require(a4_0x2982ea(0x176)),{AWS,AZURE,GCP,messageTypes}=require(a4_0x2982ea(0x18f)),{sendInstrumentationEvent}=require(a4_0x2982ea(0x170)),{logger}=require(a4_0x2982ea(0x181));function a4_0x481b(){const _0x3c6b8d=['dFuMz','3gvjKJk','vjyLt','../utils/instrumentationUtils','zPIcN','node','7sDhqon','TdRKr','LAYDH','../utils/utilityMethods','exit','1882809JFMsQl','840572igBJaR','\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.','stack','Unknown\x20cloud\x20provider\x20found\x20-\x20','2017352xVZnYa','create-grid-called','pbxIL','./GoogleCloudProvider','../config/logger','getCloudProviderObjectWithOutInit','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','10nWoCep','init','tYjBW','versions','message','432986VoLJPu','1476894xSDjRj','Current\x20Node.js\x20version\x20','error','92619xWdSYi','931495MEizYJ','../config/constants','GKdLW','./Azure','getCloudProviderObject'];a4_0x481b=function(){return _0x3c6b8d;};return a4_0x481b();}exports[a4_0x2982ea(0x16c)]=async(_0x3060ee,_0x50f69d,_0xa389fc,_0x4333f3,_0x4821de,_0x2a607f)=>{const _0x2c0b9d=a4_0x2982ea,_0x6271dd={'ZtPkG':function(_0x288829){return _0x288829();},'GKdLW':function(_0x4567b4,_0x535b9e){return _0x4567b4(_0x535b9e);},'pbxIL':_0x2c0b9d(0x16b),'vjyLt':function(_0x379a48,_0x4384cf,_0x259721,_0x387c70,_0x349d89,_0xd65b14,_0x405b3){return _0x379a48(_0x4384cf,_0x259721,_0x387c70,_0x349d89,_0xd65b14,_0x405b3);},'TdRKr':_0x2c0b9d(0x17e),'dFuMz':'grid-spawning-failed'};switch(_0x3060ee){case AWS:{const _0x1fbc06=new AWSCloudProvider(_0x50f69d,_0xa389fc,_0x4333f3,_0x4821de);return await _0x1fbc06[_0x2c0b9d(0x185)]();}case GCP:{const _0x1ba62f=new GoogleCloudProvider(_0x50f69d,_0xa389fc,_0x4333f3,_0x4821de);return await _0x1ba62f[_0x2c0b9d(0x185)]();}case AZURE:{try{await _0x6271dd['ZtPkG'](installAzurePackages);const {AzureCloudProvider:_0x4ea889}=_0x6271dd[_0x2c0b9d(0x16a)](require,_0x6271dd[_0x2c0b9d(0x17f)]),_0x373349=new _0x4ea889(_0x50f69d,_0xa389fc,_0x4333f3,_0x4821de);return await _0x373349['init']();}catch(_0xa27f5a){const _0xd0d461=_0x2c0b9d(0x18b)+process[_0x2c0b9d(0x187)][_0x2c0b9d(0x172)]+_0x2c0b9d(0x183)+_0xa27f5a[_0x2c0b9d(0x188)]+',\x20stacktrace:\x20'+_0xa27f5a[_0x2c0b9d(0x17b)];logger[_0x2c0b9d(0x18c)](_0xd0d461);const _0x4cc42c={};_0x4cc42c[_0x2c0b9d(0x18c)]=_0xd0d461,await _0x6271dd[_0x2c0b9d(0x16f)](sendInstrumentationEvent,_0x2a607f,_0x6271dd[_0x2c0b9d(0x174)],messageTypes['ERROR'],_0x6271dd[_0x2c0b9d(0x16d)],_0x4cc42c,_0x2a607f),process['exit'](0x1);}}default:logger[_0x2c0b9d(0x18c)](_0x2c0b9d(0x17c)+_0x3060ee),process['exit'](0x1);}},exports[a4_0x2982ea(0x182)]=async(_0x390f67,_0x2b3256,_0x2f60a1,_0x25588d,_0x337cf3,_0x2b6d00)=>{const _0x33fcad=a4_0x2982ea,_0x440df1={'tYjBW':function(_0xf00f04){return _0xf00f04();},'LAYDH':function(_0x2ffb38){return _0x2ffb38();},'zPIcN':function(_0x12d158,_0x339bcf){return _0x12d158(_0x339bcf);},'OPZyn':'./Azure'};switch(_0x390f67){case AWS:return new AWSCloudProvider(_0x2b3256,_0x2f60a1,_0x25588d,_0x337cf3);case GCP:return new GoogleCloudProvider(_0x2b3256,_0x2f60a1,_0x25588d,_0x337cf3);case AZURE:{!_0x440df1[_0x33fcad(0x186)](IsNodeCompatibleWithAzure)&&(logger[_0x33fcad(0x18c)]('Current\x20Node.js\x20version\x20'+process[_0x33fcad(0x187)][_0x33fcad(0x172)]+_0x33fcad(0x17a)),process['exit'](0x1));await _0x440df1[_0x33fcad(0x175)](installAzurePackages);const {AzureCloudProvider:_0x3be3f0}=_0x440df1[_0x33fcad(0x171)](require,_0x440df1['OPZyn']);return new _0x3be3f0(_0x2b3256,_0x2f60a1,_0x25588d,_0x337cf3);}default:logger['error']('Unknown\x20cloud\x20provider\x20found\x20-\x20'+_0x390f67),process[_0x33fcad(0x177)](0x1);}};
1
+ function a4_0x478b(_0xe4a008,_0x24ab6a){const _0x5755e6=a4_0x5755();return a4_0x478b=function(_0x478be1,_0x183420){_0x478be1=_0x478be1-0x136;let _0xd2cad0=_0x5755e6[_0x478be1];return _0xd2cad0;},a4_0x478b(_0xe4a008,_0x24ab6a);}function a4_0x5755(){const _0x2538cf=['mWaxF','20721590BzavkK','11334uzZJSb','../config/logger','error','./GoogleCloudProvider','getCloudProviderObject','exit','stack','DDMdQ','yQSQO','BokOX','3895209XVzYhL','Current\x20Node.js\x20version\x20','./AWS','onybH','init','nrLTT','node','create-grid-called','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','versions','Unknown\x20cloud\x20provider\x20found\x20-\x20','getCloudProviderObjectWithOutInit','4665348mpiQZt','4365KXjhYe','bpvNE','7zmAWWw','13395780OZVRAJ','EZfuF','12560792fwIxWm','grid-spawning-failed','../utils/utilityMethods','44696NRQTEB',',\x20stacktrace:\x20','../config/constants','7ZSLGrs'];a4_0x5755=function(){return _0x2538cf;};return a4_0x5755();}const a4_0x2c4346=a4_0x478b;(function(_0x13d734,_0x3c23c1){const _0x304b77=a4_0x478b,_0x41209a=_0x13d734();while(!![]){try{const _0x1cce88=-parseInt(_0x304b77(0x147))/0x1*(parseInt(_0x304b77(0x144))/0x2)+-parseInt(_0x304b77(0x154))/0x3+-parseInt(_0x304b77(0x13b))/0x4+-parseInt(_0x304b77(0x13c))/0x5*(parseInt(_0x304b77(0x14a))/0x6)+parseInt(_0x304b77(0x13e))/0x7*(parseInt(_0x304b77(0x141))/0x8)+parseInt(_0x304b77(0x13f))/0x9+parseInt(_0x304b77(0x149))/0xa;if(_0x1cce88===_0x3c23c1)break;else _0x41209a['push'](_0x41209a['shift']());}catch(_0x2b9ebc){_0x41209a['push'](_0x41209a['shift']());}}}(a4_0x5755,0xd20f5));const {AWSCloudProvider}=require(a4_0x2c4346(0x156)),{GoogleCloudProvider}=require(a4_0x2c4346(0x14d)),{installAzurePackages,IsNodeCompatibleWithAzure}=require(a4_0x2c4346(0x143)),{AWS,AZURE,GCP,messageTypes}=require(a4_0x2c4346(0x146)),{sendInstrumentationEvent}=require('../utils/instrumentationUtils'),{logger}=require(a4_0x2c4346(0x14b));exports[a4_0x2c4346(0x14e)]=async(_0x5d552c,_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597,_0x3f52b3)=>{const _0x524087=a4_0x2c4346,_0x261315={'mWaxF':function(_0x3d9498){return _0x3d9498();},'BokOX':function(_0x544a72,_0x39e966){return _0x544a72(_0x39e966);},'sRvzm':'./Azure','bpvNE':function(_0x1e1091,_0x5d8b71,_0x434257,_0x3b2123,_0x118774,_0x7f55ce,_0x366dbc){return _0x1e1091(_0x5d8b71,_0x434257,_0x3b2123,_0x118774,_0x7f55ce,_0x366dbc);},'onybH':_0x524087(0x136),'DDMdQ':_0x524087(0x142)};switch(_0x5d552c){case AWS:{const _0x224b27=new AWSCloudProvider(_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597);return await _0x224b27[_0x524087(0x158)]();}case GCP:{const _0xb4ee10=new GoogleCloudProvider(_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597);return await _0xb4ee10[_0x524087(0x158)]();}case AZURE:{try{await _0x261315[_0x524087(0x148)](installAzurePackages);const {AzureCloudProvider:_0x23a3be}=_0x261315[_0x524087(0x153)](require,_0x261315['sRvzm']),_0x57193a=new _0x23a3be(_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597);return await _0x57193a[_0x524087(0x158)]();}catch(_0x4b0b0f){const _0x1d586f=_0x524087(0x155)+process[_0x524087(0x138)][_0x524087(0x15a)]+_0x524087(0x137)+_0x4b0b0f['message']+_0x524087(0x145)+_0x4b0b0f[_0x524087(0x150)];logger[_0x524087(0x14c)](_0x1d586f);const _0x5720ad={};_0x5720ad[_0x524087(0x14c)]=_0x1d586f,await _0x261315[_0x524087(0x13d)](sendInstrumentationEvent,_0x3f52b3,_0x261315[_0x524087(0x157)],messageTypes['ERROR'],_0x261315[_0x524087(0x151)],_0x5720ad,_0x3f52b3),process[_0x524087(0x14f)](0x1);}}default:logger[_0x524087(0x14c)](_0x524087(0x139)+_0x5d552c),process[_0x524087(0x14f)](0x1);}},exports[a4_0x2c4346(0x13a)]=async(_0xfe15c3,_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3,_0x38a86a)=>{const _0x9bfa62=a4_0x2c4346,_0x3a03e5={'yQSQO':function(_0x515408){return _0x515408();},'sbIhU':function(_0x133943){return _0x133943();},'nrLTT':function(_0x4ae3ed,_0x5eade8){return _0x4ae3ed(_0x5eade8);},'EZfuF':'./Azure'};switch(_0xfe15c3){case AWS:return new AWSCloudProvider(_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3);case GCP:return new GoogleCloudProvider(_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3);case AZURE:{!_0x3a03e5[_0x9bfa62(0x152)](IsNodeCompatibleWithAzure)&&(logger[_0x9bfa62(0x14c)](_0x9bfa62(0x155)+process[_0x9bfa62(0x138)]['node']+'\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.'),process[_0x9bfa62(0x14f)](0x1));await _0x3a03e5['sbIhU'](installAzurePackages);const {AzureCloudProvider:_0x258565}=_0x3a03e5[_0x9bfa62(0x159)](require,_0x3a03e5[_0x9bfa62(0x140)]);return new _0x258565(_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3);}default:logger[_0x9bfa62(0x14c)](_0x9bfa62(0x139)+_0xfe15c3),process['exit'](0x1);}};
@@ -1 +1 @@
1
- const a5_0x30dfa2=a5_0x4502;(function(_0x2846c1,_0x48690b){const _0x433494=a5_0x4502,_0x51cbf4=_0x2846c1();while(!![]){try{const _0x5bba2c=-parseInt(_0x433494(0x16b))/0x1*(-parseInt(_0x433494(0x177))/0x2)+parseInt(_0x433494(0x141))/0x3*(-parseInt(_0x433494(0x155))/0x4)+parseInt(_0x433494(0x14d))/0x5*(-parseInt(_0x433494(0x150))/0x6)+parseInt(_0x433494(0x139))/0x7+-parseInt(_0x433494(0x17b))/0x8*(-parseInt(_0x433494(0x162))/0x9)+-parseInt(_0x433494(0x195))/0xa+parseInt(_0x433494(0x196))/0xb;if(_0x5bba2c===_0x48690b)break;else _0x51cbf4['push'](_0x51cbf4['shift']());}catch(_0xb4e72){_0x51cbf4['push'](_0x51cbf4['shift']());}}}(a5_0x35ed,0xabb96));function a5_0x35ed(){const _0x58dd5e=['XjniP','desc','iWUQV','invalid-selection','LyIOl','configure-called','length','AqjkI','35rSKcpR','https://','ksuGB','843198PdOGQE','existsSync','\x20\x20username:\x20','stack','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','72tbXmJU','epilogue','rRzHm','statusCode','configure','Failed\x20to\x20configure\x20resources!\x20Error:\x20','LflgF','../utils/userInput','INFO','strict','Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','password','username','18qqmqGi','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','rRmso','recommendCommands','server-error','profileId','parse','nwltE','SramQ','4tGeWkP','PqXbt','lYHOF','uuid','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','CwwzA','ERROR','invalid-input','AbiYr','readFileSync','Updated\x20default\x20Grid\x20Profile\x20successfully','name','314852pUyRJY','Browserstack','JTrDU','PUT','1019944rnUnPX','body','usage','biTSY','JHnbV','What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','stringify','RwvLY','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','requestId','rNDIW','KRDQA','FUZWs','../utils/utilityMethods','sXuaE','FGUNW','VgJOQ','active','XwqwF','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','unauthorised','toLowerCase','ZZMcP','help','ZwxYZ','Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','7072290dOwcyG','8382440JLQIgI','oeCOC','tUrWO','unknown-error','pyorm','iCNUj','ZHgzZ','ESZEt','TSgvS','BRtPG','core:','aduFP','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','list','OjyyW','5476968joikwU','command','Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.','init-not-called','QUDLW','DdAEZ','exit','error','5802vGTCGT','IVHcN','JZauX','log'];a5_0x35ed=function(){return _0x58dd5e;};return a5_0x35ed();}function a5_0x4502(_0x1fbe4b,_0x3fee5b){const _0x35ed13=a5_0x35ed();return a5_0x4502=function(_0x450268,_0x1cafbd){_0x450268=_0x450268-0x12e;let _0x2f40a5=_0x35ed13[_0x450268];return _0x2f40a5;},a5_0x4502(_0x1fbe4b,_0x3fee5b);}const fs=require('fs'),got=require('got'),{v4:uuidv4}=require(a5_0x30dfa2(0x16e)),{inputConfirmation,closeInput}=require(a5_0x30dfa2(0x15c)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require('../config/constants'),{getCredentialsPath,getAuthHeader}=require(a5_0x30dfa2(0x188)),{sendInstrumentationEvent}=require('../utils/instrumentationUtils');exports[a5_0x30dfa2(0x13a)]=a5_0x30dfa2(0x159),exports[a5_0x30dfa2(0x146)]=a5_0x30dfa2(0x13b),exports['builder']=function(_0x3d9a1a){const _0x54cfe6=a5_0x30dfa2,_0x22022c={};_0x22022c[_0x54cfe6(0x13e)]='help';const _0x417849=_0x22022c;return _0x3d9a1a[_0x54cfe6(0x17d)](HELP_HEADER_MESSAGE[_0x54cfe6(0x159)])[_0x54cfe6(0x156)](HELP_FOOTER_MESSAGE)[_0x54cfe6(0x192)](_0x417849[_0x54cfe6(0x13e)])[_0x54cfe6(0x165)]()[_0x54cfe6(0x15e)]()['argv'];},exports['handler']=async function(_0x4276ee){const _0xf9dabe=a5_0x30dfa2,_0x14c7d5={'aduFP':function(_0x1bd179){return _0x1bd179();},'JTrDU':'Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','iWUQV':function(_0x26b442,_0xc47aa8,_0x30574c,_0x432f9a,_0x5d36e5,_0x2c73e7,_0x3ca305){return _0x26b442(_0xc47aa8,_0x30574c,_0x432f9a,_0x5d36e5,_0x2c73e7,_0x3ca305);},'LflgF':_0xf9dabe(0x14a),'ZZMcP':_0xf9dabe(0x13c),'CwwzA':'GET','SramQ':function(_0xf5f61,_0x7051cb,_0xeae641){return _0xf5f61(_0x7051cb,_0xeae641);},'oeCOC':function(_0x4602ff,_0x4bf9dd){return _0x4602ff!==_0x4bf9dd;},'tUrWO':function(_0x119306,_0x14da92){return _0x119306!==_0x14da92;},'VgJOQ':function(_0x4e5f83,_0x709622){return _0x4e5f83===_0x709622;},'pyorm':_0xf9dabe(0x16f),'nwltE':_0xf9dabe(0x134),'JYddh':function(_0x32def8,_0x4dcbd9){return _0x32def8(_0x4dcbd9);},'SmgDO':_0xf9dabe(0x15f),'ZHgzZ':function(_0x153ef7,_0x5f20b0){return _0x153ef7===_0x5f20b0;},'BmPUC':function(_0x4c94bb,_0x1c96bb){return _0x4c94bb===_0x1c96bb;},'ksuGB':function(_0x4a6aee,_0x20feb8){return _0x4a6aee===_0x20feb8;},'biTSY':_0xf9dabe(0x163),'KRDQA':function(_0x3ae142,_0x3e6f7f,_0x2f1e8e,_0x4ea1e6,_0xeed6a2,_0x42b78e,_0x55c9a2){return _0x3ae142(_0x3e6f7f,_0x2f1e8e,_0x4ea1e6,_0xeed6a2,_0x42b78e,_0x55c9a2);},'mVhuw':_0xf9dabe(0x172),'AbiYr':function(_0x2d2aa7,_0x57c0d6){return _0x2d2aa7===_0x57c0d6;},'ZwxYZ':_0xf9dabe(0x180),'sXuaE':function(_0x3a43ef,_0x1be6a5){return _0x3a43ef<_0x1be6a5;},'OjyyW':function(_0x3b1112,_0x39f89c){return _0x3b1112+_0x39f89c;},'rRmso':function(_0x8fde2c,_0x4832e3){return _0x8fde2c(_0x4832e3);},'JHnbV':_0xf9dabe(0x183),'PqXbt':function(_0x286183,_0x827dd6){return _0x286183(_0x827dd6);},'XjniP':function(_0x462982,_0x396313){return _0x462982<=_0x396313;},'FGUNW':function(_0x5f16b9,_0x38e488){return _0x5f16b9>_0x38e488;},'rRzHm':_0xf9dabe(0x148),'RwvLY':function(_0x5a2f4b,_0x190f1d){return _0x5a2f4b-_0x190f1d;},'IVHcN':_0xf9dabe(0x17a),'rNDIW':function(_0x52f113,_0x14f355,_0x54f8f9){return _0x52f113(_0x14f355,_0x54f8f9);},'ESZEt':'json','XwqwF':function(_0x5d5abb,_0x2f6150){return _0x5d5abb!==_0x2f6150;},'LVBoL':function(_0x2e9486,_0x453975){return _0x2e9486===_0x453975;},'iCNUj':_0xf9dabe(0x175),'TSgvS':function(_0x2da6d0,_0x1e1cc3){return _0x2da6d0===_0x1e1cc3;},'KDMmS':_0xf9dabe(0x194),'AqjkI':_0xf9dabe(0x18f),'lYHOF':function(_0x1ca863,_0x75bc41,_0x229141,_0x22c6a9,_0x4af575,_0x200c9e,_0xcf7a98){return _0x1ca863(_0x75bc41,_0x229141,_0x22c6a9,_0x4af575,_0x200c9e,_0xcf7a98);},'QUDLW':_0xf9dabe(0x166),'FUZWs':function(_0x254dab,_0x14872e){return _0x254dab===_0x14872e;},'BRtPG':_0xf9dabe(0x136),'JZauX':function(_0x3b4dad,_0x9e2636,_0x285137,_0x1d861f,_0x1c2b99,_0x377e95,_0x408571){return _0x3b4dad(_0x9e2636,_0x285137,_0x1d861f,_0x1c2b99,_0x377e95,_0x408571);},'LyIOl':_0xf9dabe(0x199)};try{global_registry[_0xf9dabe(0x184)]=_0x14c7d5['aduFP'](uuidv4);const _0x153835=_0xf9dabe(0x14e)+AG_API_URL+'/packages/cli/configure';!fs[_0xf9dabe(0x151)](_0x14c7d5[_0xf9dabe(0x135)](getCredentialsPath))&&(console[_0xf9dabe(0x140)](_0x14c7d5[_0xf9dabe(0x179)]),await _0x14c7d5[_0xf9dabe(0x147)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5['LflgF'],messageTypes[_0xf9dabe(0x171)],_0x14c7d5[_0xf9dabe(0x191)],null,_0x4276ee),process[_0xf9dabe(0x13f)](0x1));await _0x14c7d5['iWUQV'](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x15d)],null,null,_0x4276ee);const _0x20d3bc=JSON[_0xf9dabe(0x168)](fs[_0xf9dabe(0x174)](_0x14c7d5[_0xf9dabe(0x135)](getCredentialsPath))),_0x537ab0={'method':_0x14c7d5[_0xf9dabe(0x170)],'headers':_0x14c7d5[_0xf9dabe(0x16a)](getAuthHeader,_0x20d3bc[_0xf9dabe(0x178)][_0xf9dabe(0x161)],_0x20d3bc[_0xf9dabe(0x178)]['password']),'throwHttpErrors':![]},_0x5b9aba=await _0x14c7d5['SramQ'](got,_0x153835,_0x537ab0);if(_0x14c7d5[_0xf9dabe(0x197)](_0x5b9aba,null)&&_0x14c7d5[_0xf9dabe(0x198)](_0x5b9aba,undefined)&&_0x14c7d5[_0xf9dabe(0x18b)](_0x5b9aba[_0xf9dabe(0x158)],0xc8)){const _0x5ee3fe=JSON[_0xf9dabe(0x168)](_0x5b9aba[_0xf9dabe(0x17c)]);console[_0xf9dabe(0x144)](_0x14c7d5[_0xf9dabe(0x12e)]),console[_0xf9dabe(0x144)](_0x14c7d5[_0xf9dabe(0x169)]),console[_0xf9dabe(0x144)](_0xf9dabe(0x152)+_0x20d3bc[_0xf9dabe(0x178)]['username']),console['log']('\x20\x20grid-profile:\x20'+_0x5ee3fe[_0xf9dabe(0x18c)][_0xf9dabe(0x176)]);const _0x4a9b0b=await _0x14c7d5['JYddh'](inputConfirmation,_0x14c7d5['SmgDO']);(_0x14c7d5['VgJOQ'](_0x4a9b0b,undefined)||_0x14c7d5[_0xf9dabe(0x130)](_0x4a9b0b,null)||!(_0x14c7d5['BmPUC'](_0x4a9b0b['toLowerCase'](),'y')||_0x14c7d5[_0xf9dabe(0x14f)](_0x4a9b0b[_0xf9dabe(0x190)](),'n')))&&(console['error'](_0x14c7d5['biTSY']),await _0x14c7d5[_0xf9dabe(0x186)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x171)],_0x14c7d5['mVhuw'],null,_0x4276ee),process[_0xf9dabe(0x13f)](0x1));_0x14c7d5[_0xf9dabe(0x173)](_0x4a9b0b['toLowerCase'](),'n')&&process[_0xf9dabe(0x13f)](0x0);console[_0xf9dabe(0x144)](_0x14c7d5[_0xf9dabe(0x193)]);const _0x3baa6e=_0x5ee3fe['list'][_0xf9dabe(0x14b)];for(let _0x596d10=0x0;_0x14c7d5[_0xf9dabe(0x189)](_0x596d10,_0x3baa6e);_0x596d10+=0x1){console['log']('['+_0x14c7d5[_0xf9dabe(0x138)](_0x596d10,0x1)+']\x20'+_0x5ee3fe[_0xf9dabe(0x137)][_0x596d10][_0xf9dabe(0x176)]);}const _0x14fd06=await _0x14c7d5[_0xf9dabe(0x164)](inputConfirmation,_0x14c7d5[_0xf9dabe(0x17f)]),_0x581a42=_0x14c7d5['JYddh'](Number,_0x14fd06);(_0x14c7d5[_0xf9dabe(0x16c)](isNaN,_0x581a42)||_0x14c7d5[_0xf9dabe(0x145)](_0x581a42,0x0)||_0x14c7d5[_0xf9dabe(0x18a)](_0x581a42,_0x3baa6e))&&(console['error'](_0x14c7d5[_0xf9dabe(0x17e)]),await _0x14c7d5[_0xf9dabe(0x147)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x171)],_0x14c7d5[_0xf9dabe(0x157)],null,_0x4276ee),process[_0xf9dabe(0x13f)](0x1));_0x14c7d5[_0xf9dabe(0x135)](closeInput);const _0x3e220d=_0x5ee3fe[_0xf9dabe(0x137)][_0x14c7d5[_0xf9dabe(0x182)](_0x581a42,0x1)]['id'],_0x551b5a={};_0x551b5a[_0xf9dabe(0x167)]=_0x3e220d;const _0x1cc304={'method':_0x14c7d5[_0xf9dabe(0x142)],'headers':_0x14c7d5[_0xf9dabe(0x185)](getAuthHeader,_0x20d3bc['Browserstack'][_0xf9dabe(0x161)],_0x20d3bc[_0xf9dabe(0x178)][_0xf9dabe(0x160)]),'json':_0x551b5a,'responseType':_0x14c7d5[_0xf9dabe(0x131)],'throwHttpErrors':![]},_0x1ec8da=await _0x14c7d5[_0xf9dabe(0x16a)](got,_0x153835,_0x1cc304);_0x14c7d5[_0xf9dabe(0x18d)](_0x1ec8da,null)&&_0x14c7d5['oeCOC'](_0x1ec8da,undefined)&&_0x14c7d5['LVBoL'](_0x1ec8da[_0xf9dabe(0x158)],0xc8)&&(console[_0xf9dabe(0x144)](_0x14c7d5[_0xf9dabe(0x12f)]),process['exit'](0x0)),_0x14c7d5[_0xf9dabe(0x132)](_0x1ec8da['statusCode'],0x191)&&(console['error'](_0x14c7d5['KDMmS']),await _0x14c7d5[_0xf9dabe(0x186)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x171)],_0x14c7d5['AqjkI'],null,_0x4276ee),process[_0xf9dabe(0x13f)](0x1)),console[_0xf9dabe(0x140)](_0xf9dabe(0x18e)+JSON[_0xf9dabe(0x181)](_0x1ec8da)),await _0x14c7d5[_0xf9dabe(0x16d)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x171)],_0x14c7d5[_0xf9dabe(0x13d)],_0x1ec8da,_0x4276ee),process[_0xf9dabe(0x13f)](0x1);}_0x14c7d5[_0xf9dabe(0x187)](_0x5b9aba[_0xf9dabe(0x158)],0x191)&&(console['error'](_0x14c7d5[_0xf9dabe(0x133)]),await _0x14c7d5[_0xf9dabe(0x186)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x171)],_0x14c7d5[_0xf9dabe(0x14c)],null,_0x4276ee),process[_0xf9dabe(0x13f)](0x1)),console['error'](_0xf9dabe(0x154)+JSON[_0xf9dabe(0x181)](_0x5b9aba)),await _0x14c7d5[_0xf9dabe(0x143)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x171)],_0x14c7d5[_0xf9dabe(0x13d)],_0x5b9aba,_0x4276ee),process[_0xf9dabe(0x13f)](0x1);}catch(_0x3b8c03){console[_0xf9dabe(0x140)](_0xf9dabe(0x15a)+_0x3b8c03[_0xf9dabe(0x153)]),await _0x14c7d5[_0xf9dabe(0x16d)](sendInstrumentationEvent,_0x4276ee,_0x14c7d5[_0xf9dabe(0x15b)],messageTypes[_0xf9dabe(0x171)],_0x14c7d5[_0xf9dabe(0x149)],_0x3b8c03,_0x4276ee),process[_0xf9dabe(0x13f)](0x1);}};
1
+ function a5_0x2b8f(_0x56fde3,_0x1f19a3){const _0x4d43e2=a5_0x4d43();return a5_0x2b8f=function(_0x2b8f94,_0x213f62){_0x2b8f94=_0x2b8f94-0x1d3;let _0x3d0440=_0x4d43e2[_0x2b8f94];return _0x3d0440;},a5_0x2b8f(_0x56fde3,_0x1f19a3);}const a5_0x293c41=a5_0x2b8f;(function(_0x52a705,_0x1fd0c3){const _0x5190a2=a5_0x2b8f,_0x99db84=_0x52a705();while(!![]){try{const _0x5d03b6=-parseInt(_0x5190a2(0x23e))/0x1+parseInt(_0x5190a2(0x211))/0x2*(parseInt(_0x5190a2(0x20f))/0x3)+-parseInt(_0x5190a2(0x1ea))/0x4*(parseInt(_0x5190a2(0x23c))/0x5)+parseInt(_0x5190a2(0x22d))/0x6+parseInt(_0x5190a2(0x22a))/0x7+parseInt(_0x5190a2(0x1fe))/0x8*(-parseInt(_0x5190a2(0x1f3))/0x9)+parseInt(_0x5190a2(0x226))/0xa*(parseInt(_0x5190a2(0x1e8))/0xb);if(_0x5d03b6===_0x1fd0c3)break;else _0x99db84['push'](_0x99db84['shift']());}catch(_0x26bdca){_0x99db84['push'](_0x99db84['shift']());}}}(a5_0x4d43,0x67d36));const fs=require('fs'),got=require(a5_0x293c41(0x22c)),{v4:uuidv4}=require(a5_0x293c41(0x214)),{inputConfirmation,closeInput}=require(a5_0x293c41(0x1f2)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a5_0x293c41(0x231)),{getCredentialsPath,getAuthHeader}=require(a5_0x293c41(0x220)),{sendInstrumentationEvent}=require('../utils/instrumentationUtils');function a5_0x4d43(){const _0x3e669a=['profileId','strict','../config/constants','username','IECQF','iWUiv','invalid-input','server-error','LRlWG','TZYli','ujzYD','nzqDS','Browserstack','30ObWxnM','XdcIb','582799ncbqCp','exit','configure','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','xHMme','eoOsr','LKLpR','yQPZX','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','AGenL','CVQEE','FFUQW','KcaRn','length','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','\x20\x20username:\x20','QjToa','MMhpS','list','error','body','unknown-error','11dJOhzV','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','278308GOBitw','builder','help','uCjMG','readFileSync','toLowerCase','AyKgD','core:','../utils/userInput','515925xGCZkS','OCjoE','WuVfT','PUT','recommendCommands','handler','init-not-called','wwcPR','statusCode','pOVWQ','ZCHEd','56kpXkPq','eLqTG','usage','YJmLd','Xahal','name','configure-called','Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','active','unauthorised','RMXCQ','Yqrnc','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','password','OIIvo','FkIOG','FsOzE','326949knpHYu','invalid-selection','2EPxWhi','JZjXs','parse','uuid','Failed\x20to\x20configure\x20resources!\x20Error:\x20','command','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','GET','fudwp','CZMvx','tTSHh','pJVMG','stack','XvWBh','xKKvb','../utils/utilityMethods','LgHyg','stringify','xnMnd','epilogue','existsSync','8186590sRmhot','WLkWy','ERROR','log','890197HmWyjZ','INFO','got','4631958FTmhHs','\x20\x20grid-profile:\x20'];a5_0x4d43=function(){return _0x3e669a;};return a5_0x4d43();}exports[a5_0x293c41(0x216)]=a5_0x293c41(0x1d4),exports['desc']='Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.',exports[a5_0x293c41(0x1eb)]=function(_0x47fd37){const _0x58ab76=a5_0x293c41,_0x4203b1={};_0x4203b1[_0x58ab76(0x223)]=_0x58ab76(0x1ec);const _0x50afc2=_0x4203b1;return _0x47fd37[_0x58ab76(0x200)](HELP_HEADER_MESSAGE['configure'])[_0x58ab76(0x224)](HELP_FOOTER_MESSAGE)['help'](_0x50afc2[_0x58ab76(0x223)])[_0x58ab76(0x1f7)]()[_0x58ab76(0x230)]()['argv'];},exports[a5_0x293c41(0x1f8)]=async function(_0x3c8974){const _0x3ff361=a5_0x293c41,_0x27cdb9={'pJVMG':function(_0x41aa5b){return _0x41aa5b();},'TZYli':'Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','FkIOG':function(_0x5e02c3,_0x23bc4d,_0x298563,_0x1a89f5,_0x324d9e,_0x3f6346,_0x3879ee){return _0x5e02c3(_0x23bc4d,_0x298563,_0x1a89f5,_0x324d9e,_0x3f6346,_0x3879ee);},'Xahal':_0x3ff361(0x204),'bjLqX':_0x3ff361(0x1f9),'LRlWG':function(_0x198056,_0x4c2d80,_0x36ad22,_0x36e945,_0x192933,_0x3dc77c,_0x5ad83c){return _0x198056(_0x4c2d80,_0x36ad22,_0x36e945,_0x192933,_0x3dc77c,_0x5ad83c);},'iWUiv':_0x3ff361(0x218),'JZjXs':function(_0x239d95,_0x16cfb0,_0x397825){return _0x239d95(_0x16cfb0,_0x397825);},'LKLpR':function(_0x3debe0,_0x22d214,_0x597688){return _0x3debe0(_0x22d214,_0x597688);},'AyKgD':function(_0x4f67e5,_0x58962d){return _0x4f67e5!==_0x58962d;},'Yqrnc':function(_0x239a19,_0x4668c4){return _0x239a19!==_0x4668c4;},'QjToa':function(_0x4dfdda,_0x242f7a){return _0x4dfdda===_0x242f7a;},'XvWBh':_0x3ff361(0x1e9),'NwhGu':_0x3ff361(0x1f1),'eoOsr':function(_0xff722a,_0x5689c4){return _0xff722a(_0x5689c4);},'xKKvb':'Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','MMhpS':function(_0x4eaeb8,_0x5b6413){return _0x4eaeb8===_0x5b6413;},'eLqTG':function(_0x1b4dfa,_0x3bf87b){return _0x1b4dfa===_0x3bf87b;},'tTSHh':_0x3ff361(0x217),'CZMvx':function(_0x5d8f21,_0x4c2516,_0x5c418b,_0x18dc38,_0x450e50,_0x7a0435,_0x11d905){return _0x5d8f21(_0x4c2516,_0x5c418b,_0x18dc38,_0x450e50,_0x7a0435,_0x11d905);},'XdcIb':_0x3ff361(0x235),'LgHyg':'What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','EuaJx':function(_0x16ca68,_0x4ae6cb){return _0x16ca68<_0x4ae6cb;},'kpmxy':function(_0x11d9bf,_0x53c506){return _0x11d9bf+_0x53c506;},'wwcPR':function(_0x3b3c7a,_0x281a58){return _0x3b3c7a(_0x281a58);},'YJmLd':_0x3ff361(0x1e0),'AGenL':function(_0x417a3a,_0x35b96f){return _0x417a3a(_0x35b96f);},'OIIvo':function(_0x1a9820,_0x472270){return _0x1a9820(_0x472270);},'RMXCQ':function(_0x4f44de,_0x4f8279){return _0x4f44de<=_0x4f8279;},'uCjMG':function(_0x5aa7d1,_0x55079a){return _0x5aa7d1>_0x55079a;},'ZCHEd':_0x3ff361(0x210),'pOVWQ':function(_0x425d97){return _0x425d97();},'ggzFk':function(_0x4f0239,_0x3864cb){return _0x4f0239-_0x3864cb;},'SNfke':_0x3ff361(0x1f6),'fudwp':function(_0x3af83c,_0x5c1d98,_0x5781f1){return _0x3af83c(_0x5c1d98,_0x5781f1);},'CVQEE':'json','OCjoE':function(_0x1ca515,_0x1bbf7d){return _0x1ca515!==_0x1bbf7d;},'aoUhh':function(_0x175b20,_0x42380f){return _0x175b20!==_0x42380f;},'nzqDS':function(_0x499355,_0x28946a){return _0x499355===_0x28946a;},'WLkWy':'Updated\x20default\x20Grid\x20Profile\x20successfully','GdXfZ':function(_0x5cd3ae,_0x55348a){return _0x5cd3ae===_0x55348a;},'xHMme':_0x3ff361(0x205),'KcaRn':function(_0x2d92db,_0x1d76f4,_0x4b949c,_0x4fd99d,_0x406070,_0x19b1f3,_0x146413){return _0x2d92db(_0x1d76f4,_0x4b949c,_0x4fd99d,_0x406070,_0x19b1f3,_0x146413);},'ujzYD':_0x3ff361(0x207),'WuVfT':_0x3ff361(0x236),'FsOzE':function(_0x49e51c,_0x24e33d){return _0x49e51c===_0x24e33d;},'qIQUz':_0x3ff361(0x20a),'IECQF':function(_0x430459,_0x2285a5,_0x163023,_0x28a81c,_0x37e504,_0x4e0441,_0x1083ac){return _0x430459(_0x2285a5,_0x163023,_0x28a81c,_0x37e504,_0x4e0441,_0x1083ac);},'yQPZX':function(_0x43df92,_0x55e857,_0x34999d,_0x346162,_0x173ff3,_0x10e625,_0x4b63c3){return _0x43df92(_0x55e857,_0x34999d,_0x346162,_0x173ff3,_0x10e625,_0x4b63c3);},'FFUQW':_0x3ff361(0x1e7)};try{global_registry['requestId']=_0x27cdb9[_0x3ff361(0x21c)](uuidv4);const _0x23ce21='https://'+AG_API_URL+'/packages/cli/configure';!fs[_0x3ff361(0x225)](_0x27cdb9['pJVMG'](getCredentialsPath))&&(console[_0x3ff361(0x1e5)](_0x27cdb9[_0x3ff361(0x238)]),await _0x27cdb9[_0x3ff361(0x20d)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x228)],_0x27cdb9['bjLqX'],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1));await _0x27cdb9[_0x3ff361(0x237)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x22b)],null,null,_0x3c8974);const _0x885294=JSON[_0x3ff361(0x213)](fs[_0x3ff361(0x1ee)](_0x27cdb9[_0x3ff361(0x21c)](getCredentialsPath))),_0x181bee={'method':_0x27cdb9[_0x3ff361(0x234)],'headers':_0x27cdb9[_0x3ff361(0x212)](getAuthHeader,_0x885294[_0x3ff361(0x23b)][_0x3ff361(0x232)],_0x885294[_0x3ff361(0x23b)]['password']),'throwHttpErrors':![]},_0x5c727e=await _0x27cdb9[_0x3ff361(0x1d8)](got,_0x23ce21,_0x181bee);if(_0x27cdb9[_0x3ff361(0x1f0)](_0x5c727e,null)&&_0x27cdb9[_0x3ff361(0x209)](_0x5c727e,undefined)&&_0x27cdb9[_0x3ff361(0x1e2)](_0x5c727e[_0x3ff361(0x1fb)],0xc8)){const _0x24c84b=JSON[_0x3ff361(0x213)](_0x5c727e[_0x3ff361(0x1e6)]);console[_0x3ff361(0x229)](_0x27cdb9[_0x3ff361(0x21e)]),console[_0x3ff361(0x229)](_0x27cdb9['NwhGu']),console[_0x3ff361(0x229)](_0x3ff361(0x1e1)+_0x885294[_0x3ff361(0x23b)][_0x3ff361(0x232)]),console['log'](_0x3ff361(0x22e)+_0x24c84b[_0x3ff361(0x206)][_0x3ff361(0x203)]);const _0x21ed59=await _0x27cdb9[_0x3ff361(0x1d7)](inputConfirmation,_0x27cdb9[_0x3ff361(0x21f)]);(_0x27cdb9['QjToa'](_0x21ed59,undefined)||_0x27cdb9[_0x3ff361(0x1e2)](_0x21ed59,null)||!(_0x27cdb9[_0x3ff361(0x1e3)](_0x21ed59[_0x3ff361(0x1ef)](),'y')||_0x27cdb9[_0x3ff361(0x1ff)](_0x21ed59['toLowerCase'](),'n')))&&(console['error'](_0x27cdb9[_0x3ff361(0x21b)]),await _0x27cdb9['CZMvx'](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x23d)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1));_0x27cdb9[_0x3ff361(0x1e2)](_0x21ed59['toLowerCase'](),'n')&&process[_0x3ff361(0x1d3)](0x0);console[_0x3ff361(0x229)](_0x27cdb9[_0x3ff361(0x221)]);const _0x365c8f=_0x24c84b[_0x3ff361(0x1e4)][_0x3ff361(0x1df)];for(let _0x5ec1f5=0x0;_0x27cdb9['EuaJx'](_0x5ec1f5,_0x365c8f);_0x5ec1f5+=0x1){console[_0x3ff361(0x229)]('['+_0x27cdb9['kpmxy'](_0x5ec1f5,0x1)+']\x20'+_0x24c84b['list'][_0x5ec1f5][_0x3ff361(0x203)]);}const _0x313682=await _0x27cdb9[_0x3ff361(0x1fa)](inputConfirmation,_0x27cdb9[_0x3ff361(0x201)]),_0x2100ea=_0x27cdb9[_0x3ff361(0x1db)](Number,_0x313682);(_0x27cdb9[_0x3ff361(0x20c)](isNaN,_0x2100ea)||_0x27cdb9[_0x3ff361(0x208)](_0x2100ea,0x0)||_0x27cdb9[_0x3ff361(0x1ed)](_0x2100ea,_0x365c8f))&&(console[_0x3ff361(0x1e5)](_0x27cdb9[_0x3ff361(0x21b)]),await _0x27cdb9[_0x3ff361(0x20d)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9['Xahal'],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x1fd)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1));_0x27cdb9[_0x3ff361(0x1fc)](closeInput);const _0x2da877=_0x24c84b[_0x3ff361(0x1e4)][_0x27cdb9['ggzFk'](_0x2100ea,0x1)]['id'],_0x2d5580={};_0x2d5580[_0x3ff361(0x22f)]=_0x2da877;const _0x20abd6={'method':_0x27cdb9['SNfke'],'headers':_0x27cdb9[_0x3ff361(0x219)](getAuthHeader,_0x885294[_0x3ff361(0x23b)][_0x3ff361(0x232)],_0x885294['Browserstack'][_0x3ff361(0x20b)]),'json':_0x2d5580,'responseType':_0x27cdb9[_0x3ff361(0x1dc)],'throwHttpErrors':![]},_0x52aa24=await _0x27cdb9['JZjXs'](got,_0x23ce21,_0x20abd6);_0x27cdb9[_0x3ff361(0x1f4)](_0x52aa24,null)&&_0x27cdb9['aoUhh'](_0x52aa24,undefined)&&_0x27cdb9[_0x3ff361(0x23a)](_0x52aa24[_0x3ff361(0x1fb)],0xc8)&&(console[_0x3ff361(0x229)](_0x27cdb9[_0x3ff361(0x227)]),process['exit'](0x0)),_0x27cdb9['GdXfZ'](_0x52aa24[_0x3ff361(0x1fb)],0x191)&&(console[_0x3ff361(0x1e5)](_0x27cdb9[_0x3ff361(0x1d6)]),await _0x27cdb9[_0x3ff361(0x1de)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x228)],_0x27cdb9[_0x3ff361(0x239)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1)),console[_0x3ff361(0x1e5)](_0x3ff361(0x1d5)+JSON['stringify'](_0x52aa24)),await _0x27cdb9[_0x3ff361(0x21a)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x228)],_0x27cdb9[_0x3ff361(0x1f5)],_0x52aa24,_0x3c8974),process[_0x3ff361(0x1d3)](0x1);}_0x27cdb9[_0x3ff361(0x20e)](_0x5c727e['statusCode'],0x191)&&(console[_0x3ff361(0x1e5)](_0x27cdb9['qIQUz']),await _0x27cdb9[_0x3ff361(0x233)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9['Xahal'],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x239)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1)),console['error'](_0x3ff361(0x1da)+JSON[_0x3ff361(0x222)](_0x5c727e)),await _0x27cdb9[_0x3ff361(0x1de)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9['Xahal'],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x1f5)],_0x5c727e,_0x3c8974),process[_0x3ff361(0x1d3)](0x1);}catch(_0x57b19a){console[_0x3ff361(0x1e5)](_0x3ff361(0x215)+_0x57b19a[_0x3ff361(0x21d)]),await _0x27cdb9[_0x3ff361(0x1d9)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x1dd)],_0x57b19a,_0x3c8974),process['exit'](0x1);}};
@@ -1 +1 @@
1
- const a6_0x55d569=a6_0x5ba5;(function(_0x33d726,_0x5727e1){const _0x3deac8=a6_0x5ba5,_0x1ef62e=_0x33d726();while(!![]){try{const _0x1baabd=-parseInt(_0x3deac8(0xfb))/0x1+-parseInt(_0x3deac8(0x10b))/0x2*(parseInt(_0x3deac8(0xff))/0x3)+parseInt(_0x3deac8(0x111))/0x4*(parseInt(_0x3deac8(0x105))/0x5)+-parseInt(_0x3deac8(0x103))/0x6*(parseInt(_0x3deac8(0x107))/0x7)+parseInt(_0x3deac8(0x101))/0x8*(parseInt(_0x3deac8(0xfa))/0x9)+parseInt(_0x3deac8(0x10c))/0xa+parseInt(_0x3deac8(0x109))/0xb;if(_0x1baabd===_0x5727e1)break;else _0x1ef62e['push'](_0x1ef62e['shift']());}catch(_0x1eac2f){_0x1ef62e['push'](_0x1ef62e['shift']());}}}(a6_0x1022,0x29fd9));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a6_0x55d569(0x102));function a6_0x1022(){const _0x46c018=['connect_commands','UjWiN','2968CUErgw','handler','14697ipoyDD','324760xOQgvm','usage','connect','strict','1752KCRvwT','Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment','1376sQkkZE','../config/constants','6xbPaTg','demandCommand','115tmezgJ','commandDir','1553377KVnwlI','PlHUx','5285104HIiOPY','help','890HzvptZ','2001380ADmXVd','command','recommendCommands'];a6_0x1022=function(){return _0x46c018;};return a6_0x1022();}function a6_0x5ba5(_0x5f39da,_0x43b368){const _0x1022ac=a6_0x1022();return a6_0x5ba5=function(_0x5ba5ae,_0x4b5578){_0x5ba5ae=_0x5ba5ae-0xfa;let _0x120ff0=_0x1022ac[_0x5ba5ae];return _0x120ff0;},a6_0x5ba5(_0x5f39da,_0x43b368);}exports[a6_0x55d569(0x10d)]=a6_0x55d569(0xfd),exports['desc']=a6_0x55d569(0x100),exports['builder']=function(_0x501249){const _0x359c9c=a6_0x55d569,_0x97220e={};_0x97220e[_0x359c9c(0x108)]=_0x359c9c(0x10f),_0x97220e[_0x359c9c(0x110)]=_0x359c9c(0x10a);const _0x462939=_0x97220e;return _0x501249[_0x359c9c(0xfc)](HELP_HEADER_MESSAGE['connect'])['epilogue'](HELP_FOOTER_MESSAGE)[_0x359c9c(0x106)](_0x462939[_0x359c9c(0x108)])[_0x359c9c(0x104)]()[_0x359c9c(0x10e)]()[_0x359c9c(0xfe)]()[_0x359c9c(0x10a)](_0x462939[_0x359c9c(0x110)]);},exports[a6_0x55d569(0x112)]=function(_0x5c4550){};
1
+ function a6_0x26f8(){const _0x4bf393=['../config/constants','624555qrhslv','4luCQsL','408EoCcTr','jTnVY','strict','PWsBQ','recommendCommands','desc','connect_commands','56wsQVIO','connect','command','handler','1705060EIcOOw','demandCommand','epilogue','help','usage','2365USZFeT','43106ZkXePM','71389JYwBbV','1385130miCXof','313602rkgoMy'];a6_0x26f8=function(){return _0x4bf393;};return a6_0x26f8();}function a6_0x3be3(_0x425145,_0x5e39a2){const _0x26f892=a6_0x26f8();return a6_0x3be3=function(_0x3be3a4,_0x3240f2){_0x3be3a4=_0x3be3a4-0x13c;let _0x4ab9e3=_0x26f892[_0x3be3a4];return _0x4ab9e3;},a6_0x3be3(_0x425145,_0x5e39a2);}const a6_0x418fd4=a6_0x3be3;(function(_0x33c921,_0x12fe51){const _0x29f5e5=a6_0x3be3,_0x2b5586=_0x33c921();while(!![]){try{const _0x2c5315=-parseInt(_0x29f5e5(0x148))/0x1+parseInt(_0x29f5e5(0x14d))/0x2*(-parseInt(_0x29f5e5(0x14a))/0x3)+parseInt(_0x29f5e5(0x14e))/0x4*(-parseInt(_0x29f5e5(0x146))/0x5)+parseInt(_0x29f5e5(0x149))/0x6+-parseInt(_0x29f5e5(0x147))/0x7*(-parseInt(_0x29f5e5(0x13d))/0x8)+parseInt(_0x29f5e5(0x14c))/0x9+parseInt(_0x29f5e5(0x141))/0xa;if(_0x2c5315===_0x12fe51)break;else _0x2b5586['push'](_0x2b5586['shift']());}catch(_0x27e12e){_0x2b5586['push'](_0x2b5586['shift']());}}}(a6_0x26f8,0x2d347));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a6_0x418fd4(0x14b));exports[a6_0x418fd4(0x13f)]=a6_0x418fd4(0x13e),exports[a6_0x418fd4(0x153)]='Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment',exports['builder']=function(_0x29cf5c){const _0x5b0b59=a6_0x418fd4,_0x5da90f={};_0x5da90f[_0x5b0b59(0x14f)]=_0x5b0b59(0x13c),_0x5da90f[_0x5b0b59(0x151)]=_0x5b0b59(0x144);const _0x3e4acf=_0x5da90f;return _0x29cf5c[_0x5b0b59(0x145)](HELP_HEADER_MESSAGE[_0x5b0b59(0x13e)])[_0x5b0b59(0x143)](HELP_FOOTER_MESSAGE)['commandDir'](_0x3e4acf[_0x5b0b59(0x14f)])[_0x5b0b59(0x142)]()[_0x5b0b59(0x152)]()[_0x5b0b59(0x150)]()[_0x5b0b59(0x144)](_0x3e4acf['PWsBQ']);},exports[a6_0x418fd4(0x140)]=function(_0xe465f4){};
@@ -1 +1 @@
1
- const a7_0x5072d5=a7_0x10d0;(function(_0x21f715,_0x539535){const _0x375082=a7_0x10d0,_0x2a7f1e=_0x21f715();while(!![]){try{const _0x26c838=parseInt(_0x375082(0x123))/0x1*(parseInt(_0x375082(0xfb))/0x2)+parseInt(_0x375082(0x12b))/0x3+parseInt(_0x375082(0x148))/0x4+-parseInt(_0x375082(0xf0))/0x5*(-parseInt(_0x375082(0x10b))/0x6)+-parseInt(_0x375082(0x14a))/0x7*(parseInt(_0x375082(0x137))/0x8)+parseInt(_0x375082(0xff))/0x9+-parseInt(_0x375082(0x12e))/0xa;if(_0x26c838===_0x539535)break;else _0x2a7f1e['push'](_0x2a7f1e['shift']());}catch(_0x17adc8){_0x2a7f1e['push'](_0x2a7f1e['shift']());}}}(a7_0xf6cd,0x6e0a8));function a7_0x10d0(_0x2e2d73,_0x2236f2){const _0xf6cd7=a7_0xf6cd();return a7_0x10d0=function(_0x10d0c6,_0x4fff3a){_0x10d0c6=_0x10d0c6-0xec;let _0x157270=_0xf6cd7[_0x10d0c6];return _0x157270;},a7_0x10d0(_0x2e2d73,_0x2236f2);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x5072d5(0x157)),{logger}=require(a7_0x5072d5(0x122)),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x5072d5(0xef));function a7_0xf6cd(){const _0x1a6b81=['isRunning','FlMKg','ajcQA','../../utils/utilityMethods','2787115ejmrcv','handler','use-staging','type','TdxKg','hFrLD','lkBvv','epilogue','wbcpy','string','kzvuZ','10660EGKKNr','jDpcg','UwXfS','EijQI','4709493mrdfvp','gaVAO','owcCm','usage','grid','Grid\x20type:\x20Trial','npATq','We\x20have\x20successfully\x20established\x20a\x20connection\x20between\x20trial\x20grid\x20and\x20your\x20setup.\x20You\x20should\x20be\x20able\x20to\x20start\x20testing\x20your\x20internal\x20development\x20or\x20staging\x20websites.','Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','gyBHh','argv','beforeExit','6HRqKgP','sHPoM','Advance\x20options\x20for\x20Browserstack\x20Local','JhcMw','wZzyH','NPobv','OoeYN','This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC','lMtns','help','OKoUo','create','XcauP','jDfwX','NrPZa','bstackAccesskey','browserStackLocalOptions','Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','accessKey','YrbeJ','UvXaY','frVEu','CRYvX','../../config/logger','44cXggoT','cVUft','HxEUG','bgtws','cnOkF','LcnPQ','exit','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','166449jtzing','DMbRc','grid-id','9756530cUGtHp','fmpIT','ZKPKR','qIGiA','IBtvd','SYTjB','ZEBbt','demandOption','Pass\x20the\x20ID\x20of\x20the\x20Grid','4339352OMvYjd','AGdjQ','caiKo','options','MaRYD','bstack-accesskey','customRepeaters','advanceOptions','AMpLG','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','oWOMB','bstackUsername','info','cxIpj','SIGINT','gSeIg','error','2392388fdJmLv','uPzYe','7iwuafU','llYqX','builder','JXDpQ','SIGTERM','description','fHYGF','yMcNn','bstack-username','ZlOOC','WrEfz','YBSnH','vEkkd','../../config/constants','osYLn','ByBcA'];a7_0xf6cd=function(){return _0x1a6b81;};return a7_0xf6cd();}exports['command']=a7_0x5072d5(0x103),exports['desc']=a7_0x5072d5(0x112),exports[a7_0x5072d5(0x14c)]=_0x38589a=>{const _0x10f883=a7_0x5072d5,_0x465c19={};_0x465c19['YBSnH']=_0x10f883(0x11c),_0x465c19[_0x10f883(0x130)]='string',_0x465c19[_0x10f883(0x127)]=_0x10f883(0x140),_0x465c19['UHJZG']=_0x10f883(0x136),_0x465c19[_0x10f883(0xf4)]=_0x10f883(0x107),_0x465c19[_0x10f883(0x12f)]=_0x10f883(0x10d),_0x465c19['XcauP']='help';const _0xa8318c=_0x465c19,_0x2cde85={};_0x2cde85[_0x10f883(0x14f)]=_0xa8318c[_0x10f883(0x155)],_0x2cde85[_0x10f883(0xf3)]=_0xa8318c['ZKPKR'];const _0x160608={};_0x160608['description']=_0xa8318c[_0x10f883(0x127)],_0x160608['type']=_0xa8318c['ZKPKR'];const _0x19826c={};_0x19826c[_0x10f883(0x135)]=!![],_0x19826c[_0x10f883(0x14f)]=_0xa8318c['UHJZG'],_0x19826c[_0x10f883(0xf3)]=_0xa8318c[_0x10f883(0x130)];const _0x305ed4={};_0x305ed4[_0x10f883(0x14f)]=_0xa8318c[_0x10f883(0xf4)],_0x305ed4[_0x10f883(0xf3)]=_0xa8318c['ZKPKR'];const _0x5766a0={};_0x5766a0[_0x10f883(0x14f)]=_0xa8318c[_0x10f883(0x12f)],_0x5766a0[_0x10f883(0xf3)]=_0xa8318c[_0x10f883(0x130)];const _0x2cbc70={};return _0x2cbc70[_0x10f883(0x152)]=_0x2cde85,_0x2cbc70[_0x10f883(0x13c)]=_0x160608,_0x2cbc70['grid-id']=_0x19826c,_0x2cbc70[_0x10f883(0xf2)]=_0x305ed4,_0x2cbc70['advance-options']=_0x5766a0,_0x38589a[_0x10f883(0x102)](HELP_HEADER_MESSAGE[_0x10f883(0x116)])[_0x10f883(0xf7)](HELP_FOOTER_MESSAGE)[_0x10f883(0x13a)](_0x2cbc70)[_0x10f883(0x114)](_0xa8318c[_0x10f883(0x117)])[_0x10f883(0x109)];},exports[a7_0x5072d5(0xf1)]=async _0x262a49=>{const _0x2ea941=a7_0x5072d5,_0x47d4a5={'YrbeJ':function(_0x32c569,_0x5ac97d){return _0x32c569===_0x5ac97d;},'FUZgg':function(_0xac25d2,_0x4a831c){return _0xac25d2(_0x4a831c);},'cVUft':_0x2ea941(0x104),'vEkkd':function(_0x194af9,_0x1a4a8a){return _0x194af9(_0x1a4a8a);},'ZlOOC':_0x2ea941(0x10a),'kzvuZ':_0x2ea941(0x145),'caiKo':_0x2ea941(0x14e),'ByBcA':_0x2ea941(0x106),'llYqX':function(_0x24e218,_0x174104){return _0x24e218(_0x174104);},'EijQI':'Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','DYxNn':function(_0x5915ab,_0x3d1735){return _0x5915ab===_0x3d1735;},'fjKdx':_0x2ea941(0x111),'PcSMA':_0x2ea941(0xee),'AGdjQ':function(_0x144b9a,_0x3a1ff4){return _0x144b9a(_0x3a1ff4);},'hFrLD':_0x2ea941(0x12a),'NrPZa':function(_0x1af983,_0x195a51){return _0x1af983(_0x195a51);},'lkBvv':'Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','MaRYD':_0x2ea941(0xf9),'osYLn':_0x2ea941(0x140),'IBtvd':_0x2ea941(0x136),'gaVAO':_0x2ea941(0x107),'gyBHh':_0x2ea941(0x10d),'GubXq':_0x2ea941(0x114),'jDpcg':function(_0x1148af,_0x3d976c){return _0x1148af(_0x3d976c);},'NPobv':function(_0x322a7a,_0x4de0d5){return _0x322a7a!==_0x4de0d5;},'yMcNn':_0x2ea941(0x10c),'frVEu':function(_0x6526e2,_0x51fe7f){return _0x6526e2===_0x51fe7f;},'LcnPQ':function(_0x5566ed,_0x1c7918){return _0x5566ed===_0x1c7918;},'uPzYe':function(_0x1b0646,_0x292921){return _0x1b0646(_0x292921);},'kffjI':function(_0x18aaff,_0x1da62f,_0x1b02db){return _0x18aaff(_0x1da62f,_0x1b02db);},'UvXaY':function(_0x54c797,_0x438097){return _0x54c797&&_0x438097;},'jDfwX':function(_0x40ec15,_0x348e97){return _0x40ec15!==_0x348e97;},'npATq':_0x2ea941(0x115),'lMtns':function(_0x14c3c4,_0x235d72){return _0x14c3c4(_0x235d72);},'JhcMw':function(_0x5490ea,_0x237e3d,_0x2281b7,_0x401f8c){return _0x5490ea(_0x237e3d,_0x2281b7,_0x401f8c);},'UwXfS':_0x2ea941(0x13f),'FlMKg':_0x2ea941(0x144),'bdiou':'Please\x20provide\x20a\x20valid\x20Grid\x20Identifier','qIGiA':'true','ZEBbt':_0x2ea941(0x126),'rSpZO':_0x2ea941(0x121),'owcCm':_0x2ea941(0xf8),'WrEfz':function(_0x48958c,_0xc57701){return _0x48958c===_0xc57701;},'QehMo':'OQEPW','SYTjB':_0x2ea941(0x150)};let _0x28698c=_0x262a49[_0x2ea941(0x142)],_0xd45a20=_0x262a49[_0x2ea941(0x11a)];const _0x51232d=_0x262a49[_0x2ea941(0x13e)],_0x910b95=_0x39e91d=>{const _0x529246=_0x2ea941;if(_0x47d4a5['DYxNn'](_0x47d4a5['fjKdx'],_0x47d4a5['PcSMA'])){const _0xb99ab3={'JXDpQ':function(_0x1c72db,_0xcf7c66){return _0x47d4a5['YrbeJ'](_0x1c72db,_0xcf7c66);},'HxEUG':function(_0x103823,_0x4f49af){return _0x47d4a5['FUZgg'](_0x103823,_0x4f49af);}};let _0x1890bf=_0x47d4a5[_0x529246(0x124)];_0x3e6a7c['info'](_0x1890bf);try{const _0x206075={};_0x206075['accessKey']=_0x149b16,_0x206075[_0x529246(0x13d)]=_0x4a256d[_0x529246(0x13d)],_0x206075['browserStackLocalOptions']=_0x1d95ad;const _0x4f92f3=_0x206075,_0x3fd132=_0x47d4a5[_0x529246(0x156)](_0x1a5dc9,_0x4f92f3);let _0x50d23a=0x0;const _0x1f9796=async()=>{const _0x9394b6=_0x529246;_0x50d23a++,_0xb99ab3[_0x9394b6(0x14d)](_0x50d23a,0x1)&&_0x3fd132&&_0x3fd132[_0x9394b6(0xec)]()&&_0xb99ab3[_0x9394b6(0x125)](_0x55c46e,_0x3fd132);};_0x29ddea['on'](_0x47d4a5[_0x529246(0x153)],_0x1f9796),_0x257abe['on'](_0x47d4a5[_0x529246(0xfa)],_0x1f9796),_0x38185e['on'](_0x47d4a5[_0x529246(0x139)],_0x1f9796),_0x1890bf=_0x47d4a5[_0x529246(0x159)],_0x3f5b9e[_0x529246(0x143)](_0x1890bf);}catch(_0x363018){_0x47d4a5[_0x529246(0x14b)](_0x50de56,_0x47d4a5[_0x529246(0xfe)]);}}else logger[_0x529246(0x147)](_0x39e91d),process[_0x529246(0x129)](0x1);};[_0x28698c,_0xd45a20]=_0x47d4a5['kffjI'](fetchOrUpdateUserConfig,_0x28698c,_0xd45a20);!_0x47d4a5[_0x2ea941(0x11f)](_0x28698c,_0xd45a20)&&(_0x47d4a5[_0x2ea941(0x118)](_0x47d4a5[_0x2ea941(0x105)],_0x47d4a5['npATq'])?_0x47d4a5[_0x2ea941(0x138)](_0x5e0a30,_0x47d4a5['hFrLD']):_0x47d4a5[_0x2ea941(0x113)](_0x910b95,_0x47d4a5[_0x2ea941(0xf5)]));const _0x1d521a=_0x262a49['gridId'],[_0x3e4cc4,_0x3a9056]=await _0x47d4a5[_0x2ea941(0x10e)](getGridDetails,_0x28698c,_0xd45a20,_0x1d521a);!_0x3a9056&&(_0x47d4a5[_0x2ea941(0x128)](_0x47d4a5[_0x2ea941(0xfd)],_0x47d4a5[_0x2ea941(0xed)])?_0x47d4a5[_0x2ea941(0x119)](_0x3d307b,_0x47d4a5[_0x2ea941(0xfe)]):_0x47d4a5[_0x2ea941(0x156)](_0x910b95,_0x47d4a5['bdiou']));const _0x1ae626=_0x47d4a5[_0x2ea941(0x120)](_0x262a49['useStaging'],_0x47d4a5[_0x2ea941(0x131)])?!![]:![];if(_0x3a9056&&_0x3a9056['isTrialGrid']&&_0x1ae626){if(_0x47d4a5[_0x2ea941(0x110)](_0x47d4a5[_0x2ea941(0x134)],_0x47d4a5['rSpZO'])){let _0x1a95cb=_0x47d4a5[_0x2ea941(0x124)];logger[_0x2ea941(0x143)](_0x1a95cb);try{if(_0x47d4a5[_0x2ea941(0x110)](_0x47d4a5[_0x2ea941(0x101)],_0x47d4a5[_0x2ea941(0x101)])){const _0x362e61={};_0x362e61[_0x2ea941(0x14f)]=_0x47d4a5[_0x2ea941(0xf6)],_0x362e61[_0x2ea941(0xf3)]=_0x47d4a5[_0x2ea941(0x13b)];const _0x5af12b={};_0x5af12b[_0x2ea941(0x14f)]=_0x47d4a5[_0x2ea941(0x158)],_0x5af12b['type']=_0x47d4a5['MaRYD'];const _0x174e9e={};_0x174e9e[_0x2ea941(0x135)]=!![],_0x174e9e[_0x2ea941(0x14f)]=_0x47d4a5[_0x2ea941(0x132)],_0x174e9e[_0x2ea941(0xf3)]=_0x47d4a5[_0x2ea941(0x13b)];const _0x13ded8={};_0x13ded8[_0x2ea941(0x14f)]=_0x47d4a5[_0x2ea941(0x100)],_0x13ded8[_0x2ea941(0xf3)]=_0x47d4a5[_0x2ea941(0x13b)];const _0xcfd5c8={};_0xcfd5c8['description']=_0x47d4a5[_0x2ea941(0x108)],_0xcfd5c8['type']=_0x47d4a5[_0x2ea941(0x13b)];const _0xa38aeb={};return _0xa38aeb['bstack-username']=_0x362e61,_0xa38aeb[_0x2ea941(0x13c)]=_0x5af12b,_0xa38aeb[_0x2ea941(0x12d)]=_0x174e9e,_0xa38aeb['use-staging']=_0x13ded8,_0xa38aeb['advance-options']=_0xcfd5c8,_0x58a452[_0x2ea941(0x102)](_0x4f014f[_0x2ea941(0x116)])[_0x2ea941(0xf7)](_0x34fdb7)['options'](_0xa38aeb)[_0x2ea941(0x114)](_0x47d4a5['GubXq'])[_0x2ea941(0x109)];}else{const _0x2218b4={};_0x2218b4['accessKey']=_0xd45a20,_0x2218b4[_0x2ea941(0x13d)]=_0x3a9056[_0x2ea941(0x13d)],_0x2218b4[_0x2ea941(0x11b)]=_0x51232d;const _0xc6b159=_0x2218b4,_0x1a9248=_0x47d4a5[_0x2ea941(0x149)](startLocalBinarySync,_0xc6b159);let _0x4b3b4d=0x0;const _0x3de285=async()=>{const _0x20d608=_0x2ea941,_0x5c160a={'aULjL':function(_0x50ec4c,_0x517ecc){const _0x14dd5b=a7_0x10d0;return _0x47d4a5[_0x14dd5b(0x11e)](_0x50ec4c,_0x517ecc);},'oWOMB':function(_0x30b97c,_0x38adc7){return _0x47d4a5['jDpcg'](_0x30b97c,_0x38adc7);},'wZzyH':_0x47d4a5[_0x20d608(0x153)],'dUycZ':_0x47d4a5['kzvuZ'],'gSeIg':_0x47d4a5['caiKo'],'DMbRc':_0x47d4a5['ByBcA']};if(_0x47d4a5['NPobv'](_0x47d4a5['yMcNn'],_0x47d4a5[_0x20d608(0x151)])){const _0x1e0525={};_0x1e0525[_0x20d608(0x11d)]=_0x10d48f,_0x1e0525[_0x20d608(0x13d)]=_0x5c9bbf[_0x20d608(0x13d)],_0x1e0525[_0x20d608(0x11b)]=_0x5900d0;const _0x1784be=_0x1e0525,_0x2fa6f1=_0x5c160a[_0x20d608(0x141)](_0x511c3f,_0x1784be);let _0x31d659=0x0;const _0x2307b8=async()=>{const _0x58072f=_0x20d608;_0x31d659++,_0x5c160a['aULjL'](_0x31d659,0x1)&&_0x2fa6f1&&_0x2fa6f1[_0x58072f(0xec)]()&&_0x5c160a['oWOMB'](_0x2e41cd,_0x2fa6f1);};_0x546b6d['on'](_0x5c160a[_0x20d608(0x10f)],_0x2307b8),_0x5d7705['on'](_0x5c160a['dUycZ'],_0x2307b8),_0x4d5150['on'](_0x5c160a[_0x20d608(0x146)],_0x2307b8),_0x3a0ee9=_0x5c160a[_0x20d608(0x12c)],_0x49c507[_0x20d608(0x143)](_0x5da025);}else _0x4b3b4d++,_0x47d4a5[_0x20d608(0x120)](_0x4b3b4d,0x1)&&_0x1a9248&&_0x1a9248[_0x20d608(0xec)]()&&_0x47d4a5[_0x20d608(0xfc)](stopLocalBinary,_0x1a9248);};process['on'](_0x47d4a5[_0x2ea941(0x153)],_0x3de285),process['on'](_0x47d4a5['kzvuZ'],_0x3de285),process['on'](_0x47d4a5['caiKo'],_0x3de285),_0x1a95cb=_0x47d4a5[_0x2ea941(0x159)],logger['info'](_0x1a95cb);}}catch(_0x4e230e){_0x47d4a5[_0x2ea941(0x154)](_0x47d4a5['QehMo'],_0x47d4a5[_0x2ea941(0x133)])?(_0x1522b9++,_0x47d4a5[_0x2ea941(0x128)](_0x5da855,0x1)&&_0x1b4db0&&_0x5c8c4e['isRunning']()&&_0x47d4a5[_0x2ea941(0x149)](_0x2643d9,_0x5304e8)):_0x47d4a5['vEkkd'](_0x910b95,_0x47d4a5['EijQI']);}}else _0x5dd37f[_0x2ea941(0x147)](_0x14e3a6),_0x5ac6fb[_0x2ea941(0x129)](0x1);}process[_0x2ea941(0x129)](0x0);};
1
+ const a7_0x485a52=a7_0x3e60;function a7_0x4c1f(){const _0x3cbbc6=['GSUNm','UVsHo','370jLnItc','oRtrH','VkqTa','DfyYb','HTjRK','Rtrcg','yILXa','WQnOP','error','browserStackLocalOptions','info','bstack-username','bstack-accesskey','353298fVnchY','ZReVw','type','Cedkc','PHGsI','demandOption','SPJiK','imcHl','exit','1105456bLlnVA','WJcOq','12jUGjZs','feJxZ','advance-options','true','QnxxG','aLJwx','options','IfYpR','description','../../utils/utilityMethods','Pass\x20the\x20ID\x20of\x20the\x20Grid','builder','SIGINT','This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC','WvKXc','accessKey','SIGTERM','Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','epilogue','Grid\x20type:\x20Trial','608KJUTMm','IrCyN','plVVX','gridId','ywTsv','ndNhN','grid','command','NUNXN','dUioH','sTCct','HjFng','SBCBL','xYqZG','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','Please\x20provide\x20a\x20valid\x20Grid\x20Identifier','LxxBC','aaIXR','cZwoy','1464vpSvxy','bstackUsername','DtQHM','help','13013ZaJNMa','Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','UtdPl','yVYdi','useStaging','../../config/constants','jqPhJ','isRunning','psOPy','customRepeaters','oxmfT','isTrialGrid','17349NHOqKn','DgCUt','nEluh','create','vEeoW','use-staging','advanceOptions','tEqVF','15sFmmgp','NPryL','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','jdJYu','DSCKE','65997wCAeQe','Tywcj','4485552fWKWZf','WjaCX','RcTWc','desc','usage','536oVMXmx','handler','beforeExit'];a7_0x4c1f=function(){return _0x3cbbc6;};return a7_0x4c1f();}(function(_0x5c5959,_0x13b9a5){const _0x5c8dfa=a7_0x3e60,_0x1fa4dd=_0x5c5959();while(!![]){try{const _0x618c44=parseInt(_0x5c8dfa(0xc1))/0x1*(-parseInt(_0x5c8dfa(0xf2))/0x2)+parseInt(_0x5c8dfa(0x115))/0x3*(-parseInt(_0x5c8dfa(0xde))/0x4)+-parseInt(_0x5c8dfa(0xb5))/0x5*(parseInt(_0x5c8dfa(0xd3))/0x6)+-parseInt(_0x5c8dfa(0x109))/0x7*(-parseInt(_0x5c8dfa(0x105))/0x8)+parseInt(_0x5c8dfa(0xba))/0x9*(-parseInt(_0x5c8dfa(0xc6))/0xa)+parseInt(_0x5c8dfa(0xdc))/0xb+parseInt(_0x5c8dfa(0xbc))/0xc;if(_0x618c44===_0x13b9a5)break;else _0x1fa4dd['push'](_0x1fa4dd['shift']());}catch(_0x50202d){_0x1fa4dd['push'](_0x1fa4dd['shift']());}}}(a7_0x4c1f,0x2d772));function a7_0x3e60(_0x50c1cc,_0x15bc4b){const _0x4c1f80=a7_0x4c1f();return a7_0x3e60=function(_0x3e60e8,_0x19d2c4){_0x3e60e8=_0x3e60e8-0xae;let _0x4aab6e=_0x4c1f80[_0x3e60e8];return _0x4aab6e;},a7_0x3e60(_0x50c1cc,_0x15bc4b);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x485a52(0x10e)),{logger}=require('../../config/logger'),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x485a52(0xe7));exports[a7_0x485a52(0xf9)]=a7_0x485a52(0xf8),exports[a7_0x485a52(0xbf)]=a7_0x485a52(0xeb),exports[a7_0x485a52(0xe9)]=_0x15abc4=>{const _0x1874e1=a7_0x485a52,_0x580ec7={};_0x580ec7['cZwoy']='Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.',_0x580ec7[_0x1874e1(0xd4)]='string',_0x580ec7['NmNwk']=_0x1874e1(0xb7),_0x580ec7[_0x1874e1(0x10b)]=_0x1874e1(0xe8),_0x580ec7['oxmfT']=_0x1874e1(0xef),_0x580ec7[_0x1874e1(0xc7)]='Advance\x20options\x20for\x20Browserstack\x20Local',_0x580ec7[_0x1874e1(0x103)]='help';const _0x5d3b86=_0x580ec7,_0x158adc={};_0x158adc[_0x1874e1(0xe6)]=_0x5d3b86[_0x1874e1(0x104)],_0x158adc['type']=_0x5d3b86[_0x1874e1(0xd4)];const _0x537500={};_0x537500[_0x1874e1(0xe6)]=_0x5d3b86['NmNwk'],_0x537500[_0x1874e1(0xd5)]=_0x5d3b86[_0x1874e1(0xd4)];const _0x5b367b={};_0x5b367b[_0x1874e1(0xd8)]=!![],_0x5b367b['description']=_0x5d3b86[_0x1874e1(0x10b)],_0x5b367b[_0x1874e1(0xd5)]=_0x5d3b86[_0x1874e1(0xd4)];const _0x3b65fe={};_0x3b65fe['description']=_0x5d3b86[_0x1874e1(0x113)],_0x3b65fe[_0x1874e1(0xd5)]=_0x5d3b86['ZReVw'];const _0x18bdef={};_0x18bdef[_0x1874e1(0xe6)]=_0x5d3b86[_0x1874e1(0xc7)],_0x18bdef[_0x1874e1(0xd5)]=_0x5d3b86[_0x1874e1(0xd4)];const _0x4fc8d5={};return _0x4fc8d5[_0x1874e1(0xd1)]=_0x158adc,_0x4fc8d5[_0x1874e1(0xd2)]=_0x537500,_0x4fc8d5['grid-id']=_0x5b367b,_0x4fc8d5[_0x1874e1(0xb2)]=_0x3b65fe,_0x4fc8d5[_0x1874e1(0xe0)]=_0x18bdef,_0x15abc4[_0x1874e1(0xc0)](HELP_HEADER_MESSAGE[_0x1874e1(0xb0)])[_0x1874e1(0xf0)](HELP_FOOTER_MESSAGE)[_0x1874e1(0xe4)](_0x4fc8d5)[_0x1874e1(0x108)](_0x5d3b86['aaIXR'])['argv'];},exports[a7_0x485a52(0xc2)]=async _0x44a815=>{const _0x49a3c=a7_0x485a52,_0x415aea={'DtQHM':function(_0x14ea1e,_0x4b9bb0){return _0x14ea1e(_0x4b9bb0);},'Cbhcv':_0x49a3c(0x101),'HjFng':function(_0x1affed,_0xc560b5){return _0x1affed===_0xc560b5;},'jqPhJ':_0x49a3c(0xc5),'yILXa':_0x49a3c(0x100),'IfYpR':function(_0x269bdb,_0x3be651){return _0x269bdb===_0x3be651;},'LxxBC':function(_0x32157a,_0x54da06){return _0x32157a(_0x54da06);},'yVYdi':function(_0x20cfa7,_0x47680f){return _0x20cfa7(_0x47680f);},'sTCct':_0x49a3c(0xc3),'RcTWc':_0x49a3c(0xea),'nEluh':_0x49a3c(0xee),'Tywcj':'We\x20have\x20successfully\x20established\x20a\x20connection\x20between\x20trial\x20grid\x20and\x20your\x20setup.\x20You\x20should\x20be\x20able\x20to\x20start\x20testing\x20your\x20internal\x20development\x20or\x20staging\x20websites.','vEeoW':function(_0x4b337d,_0xec23f7){return _0x4b337d===_0xec23f7;},'dUioH':_0x49a3c(0xf1),'ywTsv':function(_0x3d9698,_0x1770dc){return _0x3d9698(_0x1770dc);},'tEqVF':_0x49a3c(0x10a),'QnxxG':function(_0x2135a4,_0x40e9b5){return _0x2135a4!==_0x40e9b5;},'azQvT':'wEobR','sSAOi':function(_0x46de3e,_0x59e220){return _0x46de3e===_0x59e220;},'Rtrcg':function(_0x38f252,_0x472e23,_0x3df09f){return _0x38f252(_0x472e23,_0x3df09f);},'DSCKE':function(_0x4b954d,_0x1f1d95){return _0x4b954d&&_0x1f1d95;},'NUNXN':_0x49a3c(0xda),'ThIgl':function(_0x2508f4,_0x3d0bda,_0x417052,_0x177968){return _0x2508f4(_0x3d0bda,_0x417052,_0x177968);},'psOPy':function(_0x24ca7d,_0x4d1860){return _0x24ca7d!==_0x4d1860;},'aLJwx':_0x49a3c(0xf7),'xYqZG':'aTJal','VkqTa':_0x49a3c(0xe1),'feJxZ':function(_0x263ac9,_0x3ddc92){return _0x263ac9!==_0x3ddc92;},'plVVX':_0x49a3c(0xd7),'WQnOP':_0x49a3c(0xf3),'Cedkc':_0x49a3c(0xdd),'OXICD':function(_0x328167,_0x46f5e7){return _0x328167===_0x46f5e7;},'NPryL':_0x49a3c(0xfe),'HTjRK':_0x49a3c(0xbd),'DfyYb':function(_0x59d6c8,_0x3d19fc){return _0x59d6c8(_0x3d19fc);}};let _0x4972e2=_0x44a815[_0x49a3c(0x106)],_0x5ba920=_0x44a815['bstackAccesskey'];const _0x221c93=_0x44a815[_0x49a3c(0xb3)],_0x580be9=_0x36d692=>{const _0x10e75e=_0x49a3c,_0x605330={'jdJYu':function(_0x18f74d,_0x32cd51){return _0x415aea['DtQHM'](_0x18f74d,_0x32cd51);},'WvKXc':_0x415aea['Cbhcv']};_0x415aea[_0x10e75e(0xfd)](_0x415aea[_0x10e75e(0x10f)],_0x415aea[_0x10e75e(0x10f)])?(logger[_0x10e75e(0xce)](_0x36d692),process[_0x10e75e(0xdb)](0x1)):_0x605330[_0x10e75e(0xb8)](_0x940bdb,_0x605330[_0x10e75e(0xec)]);};[_0x4972e2,_0x5ba920]=_0x415aea[_0x49a3c(0xcb)](fetchOrUpdateUserConfig,_0x4972e2,_0x5ba920);!_0x415aea[_0x49a3c(0xb9)](_0x4972e2,_0x5ba920)&&(_0x415aea[_0x49a3c(0xe2)](_0x415aea[_0x49a3c(0xfa)],_0x415aea[_0x49a3c(0xfa)])?_0x415aea[_0x49a3c(0x107)](_0x3bd1e7,_0x415aea[_0x49a3c(0xcc)]):_0x415aea[_0x49a3c(0x107)](_0x580be9,_0x415aea[_0x49a3c(0xcc)]));const _0x57e5df=_0x44a815[_0x49a3c(0xf5)],[_0x59dbd4,_0x4a4cd1]=await _0x415aea['ThIgl'](getGridDetails,_0x4972e2,_0x5ba920,_0x57e5df);!_0x4a4cd1&&(_0x415aea['psOPy'](_0x415aea[_0x49a3c(0xe3)],_0x415aea[_0x49a3c(0xff)])?_0x415aea[_0x49a3c(0xf6)](_0x580be9,_0x415aea['Cbhcv']):(_0x5c9908++,_0x415aea[_0x49a3c(0xe5)](_0xa82ebe,0x1)&&_0x3e7bfb&&_0x482f42['isRunning']()&&_0x415aea['LxxBC'](_0x14bd60,_0x34b07f)));const _0x14ef9f=_0x415aea['sSAOi'](_0x44a815[_0x49a3c(0x10d)],_0x415aea[_0x49a3c(0xc8)])?!![]:![];if(_0x4a4cd1&&_0x4a4cd1[_0x49a3c(0x114)]&&_0x14ef9f){if(_0x415aea[_0x49a3c(0xdf)](_0x415aea[_0x49a3c(0xf4)],_0x415aea[_0x49a3c(0xcd)])){let _0xc14d1c=_0x415aea[_0x49a3c(0xfb)];logger[_0x49a3c(0xd0)](_0xc14d1c);try{if(_0x415aea[_0x49a3c(0x111)](_0x415aea[_0x49a3c(0xd6)],_0x415aea[_0x49a3c(0xd6)])){const _0x3c0b5b={'zmyrC':function(_0x26133c,_0x2ed1ad){const _0x2d9e5f=_0x49a3c;return _0x415aea[_0x2d9e5f(0xe5)](_0x26133c,_0x2ed1ad);},'DgCUt':function(_0x513f9a,_0x435d1c){const _0x22576d=_0x49a3c;return _0x415aea[_0x22576d(0x10c)](_0x513f9a,_0x435d1c);}},_0x33eda3={};_0x33eda3[_0x49a3c(0xed)]=_0x4db4d4,_0x33eda3[_0x49a3c(0x112)]=_0x55b540['customRepeaters'],_0x33eda3[_0x49a3c(0xcf)]=_0x377bbb;const _0x543071=_0x33eda3,_0x266bcd=_0x415aea[_0x49a3c(0x10c)](_0x5cee86,_0x543071);let _0x39afc6=0x0;const _0x2d23f1=async()=>{const _0x3ca5c3=_0x49a3c;_0x39afc6++,_0x3c0b5b['zmyrC'](_0x39afc6,0x1)&&_0x266bcd&&_0x266bcd[_0x3ca5c3(0x110)]()&&_0x3c0b5b[_0x3ca5c3(0xae)](_0x437ed0,_0x266bcd);};_0x168111['on'](_0x415aea[_0x49a3c(0xfc)],_0x2d23f1),_0x16d06d['on'](_0x415aea[_0x49a3c(0xbe)],_0x2d23f1),_0x343649['on'](_0x415aea[_0x49a3c(0xaf)],_0x2d23f1),_0x367c71=_0x415aea[_0x49a3c(0xbb)],_0x4b370d[_0x49a3c(0xd0)](_0x2b8151);}else{const _0x3f4731={};_0x3f4731[_0x49a3c(0xed)]=_0x5ba920,_0x3f4731[_0x49a3c(0x112)]=_0x4a4cd1[_0x49a3c(0x112)],_0x3f4731[_0x49a3c(0xcf)]=_0x221c93;const _0xf42c92=_0x3f4731,_0x4fb3b6=_0x415aea[_0x49a3c(0x107)](startLocalBinarySync,_0xf42c92);let _0x2d3773=0x0;const _0x518894=async()=>{const _0x10f4ed=_0x49a3c;if(_0x415aea[_0x10f4ed(0xe2)](_0x415aea['azQvT'],_0x415aea['azQvT'])){const _0x287210={'SPJiK':function(_0x116cbd,_0x3aae58){const _0x364779=_0x10f4ed;return _0x415aea[_0x364779(0xb1)](_0x116cbd,_0x3aae58);},'GSUNm':function(_0x4b86a8,_0x5b277e){const _0x40b1a5=_0x10f4ed;return _0x415aea[_0x40b1a5(0x102)](_0x4b86a8,_0x5b277e);}};let _0x47a42c=_0x415aea[_0x10f4ed(0xfb)];_0x4197f2[_0x10f4ed(0xd0)](_0x47a42c);try{const _0x54430b={};_0x54430b[_0x10f4ed(0xed)]=_0x2ecb1b,_0x54430b[_0x10f4ed(0x112)]=_0x56f281[_0x10f4ed(0x112)],_0x54430b['browserStackLocalOptions']=_0x2acc77;const _0xeb3aa=_0x54430b,_0x120937=_0x415aea[_0x10f4ed(0x10c)](_0xe91c2e,_0xeb3aa);let _0x4426df=0x0;const _0x445ac9=async()=>{const _0x1896a9=_0x10f4ed;_0x4426df++,_0x287210[_0x1896a9(0xd9)](_0x4426df,0x1)&&_0x120937&&_0x120937[_0x1896a9(0x110)]()&&_0x287210[_0x1896a9(0xc4)](_0x1dfc87,_0x120937);};_0x427b08['on'](_0x415aea[_0x10f4ed(0xfc)],_0x445ac9),_0x53979a['on'](_0x415aea[_0x10f4ed(0xbe)],_0x445ac9),_0x20819e['on'](_0x415aea[_0x10f4ed(0xaf)],_0x445ac9),_0x47a42c=_0x415aea[_0x10f4ed(0xbb)],_0xf58203['info'](_0x47a42c);}catch(_0x22dd77){_0x415aea[_0x10f4ed(0xf6)](_0x5b3913,_0x415aea[_0x10f4ed(0xb4)]);}}else _0x2d3773++,_0x415aea['sSAOi'](_0x2d3773,0x1)&&_0x4fb3b6&&_0x4fb3b6[_0x10f4ed(0x110)]()&&_0x415aea[_0x10f4ed(0x102)](stopLocalBinary,_0x4fb3b6);};process['on'](_0x415aea[_0x49a3c(0xfc)],_0x518894),process['on'](_0x415aea[_0x49a3c(0xbe)],_0x518894),process['on'](_0x415aea[_0x49a3c(0xaf)],_0x518894),_0xc14d1c=_0x415aea[_0x49a3c(0xbb)],logger['info'](_0xc14d1c);}}catch(_0x16ccfb){_0x415aea['OXICD'](_0x415aea[_0x49a3c(0xb6)],_0x415aea[_0x49a3c(0xca)])?_0x415aea[_0x49a3c(0x102)](_0x3e898d,_0x415aea[_0x49a3c(0xb4)]):_0x415aea[_0x49a3c(0xc9)](_0x580be9,_0x415aea[_0x49a3c(0xb4)]);}}else _0x7e1f9e[_0x49a3c(0xce)](_0x566db1),_0x300c72[_0x49a3c(0xdb)](0x1);}process[_0x49a3c(0xdb)](0x0);};
@@ -1 +1 @@
1
- const a8_0x411c82=a8_0x5379;(function(_0x8067a,_0x2a9cb1){const _0x238849=a8_0x5379,_0x1aaf6e=_0x8067a();while(!![]){try{const _0x540cd0=parseInt(_0x238849(0x1ac))/0x1+parseInt(_0x238849(0x1aa))/0x2+-parseInt(_0x238849(0x1a4))/0x3+parseInt(_0x238849(0x1a6))/0x4*(parseInt(_0x238849(0x1a5))/0x5)+-parseInt(_0x238849(0x1ab))/0x6+parseInt(_0x238849(0x1b4))/0x7*(-parseInt(_0x238849(0x1b5))/0x8)+parseInt(_0x238849(0x1b7))/0x9;if(_0x540cd0===_0x2a9cb1)break;else _0x1aaf6e['push'](_0x1aaf6e['shift']());}catch(_0x483e7e){_0x1aaf6e['push'](_0x1aaf6e['shift']());}}}(a8_0x202a,0x73d90));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x411c82(0x1ae));exports[a8_0x411c82(0x1b0)]=a8_0x411c82(0x1b6),exports[a8_0x411c82(0x1a9)]=a8_0x411c82(0x1a2),exports[a8_0x411c82(0x1b1)]=function(_0x4753f8){const _0x4a2f48=a8_0x411c82,_0x1cac80={};_0x1cac80[_0x4a2f48(0x1b8)]=_0x4a2f48(0x1ad),_0x1cac80[_0x4a2f48(0x1b2)]=_0x4a2f48(0x1a7);const _0x3c1c2b=_0x1cac80;return _0x4753f8['usage'](HELP_HEADER_MESSAGE['create'])['epilogue'](HELP_FOOTER_MESSAGE)['commandDir'](_0x3c1c2b['NosPC'])[_0x4a2f48(0x1b3)]()[_0x4a2f48(0x1af)]()[_0x4a2f48(0x1a3)]()[_0x4a2f48(0x1a7)](_0x3c1c2b[_0x4a2f48(0x1b2)]);},exports[a8_0x411c82(0x1a8)]=function(_0x2a98a9){};function a8_0x5379(_0x151b97,_0x4e6361){const _0x202af3=a8_0x202a();return a8_0x5379=function(_0x5379fe,_0x42c664){_0x5379fe=_0x5379fe-0x1a2;let _0x9932=_0x202af3[_0x5379fe];return _0x9932;},a8_0x5379(_0x151b97,_0x4e6361);}function a8_0x202a(){const _0x259d1a=['command','builder','gafdD','demandCommand','259WLwAcE','92024kAiYrC','create','15586182XUtSyU','NosPC','Create\x20a\x20new\x20Automation\x20grid.','strict','2456289rxGLqt','5GCbgpW','702836BaDMPn','help','handler','desc','258266gpCEBf','4869186ZMiRex','493777OSNRTB','create_commands','../config/constants','recommendCommands'];a8_0x202a=function(){return _0x259d1a;};return a8_0x202a();}
1
+ function a8_0x2143(){const _0x28a1f3=['strict','53828CGEExk','152496YMPQeh','create','XTGip','9qVSHHa','12074150fmPtkV','desc','1078458qoiVeV','commandDir','2032504XkbtXq','42cnbyhn','../config/constants','312628TZloSN','epilogue','demandCommand','recommendCommands','XWzgH','handler','120oLwxtI','help','15863034xNigER','Create\x20a\x20new\x20Automation\x20grid.','174AtCICY'];a8_0x2143=function(){return _0x28a1f3;};return a8_0x2143();}const a8_0x23e1af=a8_0x1f10;(function(_0x1e8df9,_0x4cf022){const _0x40292e=a8_0x1f10,_0x21349d=_0x1e8df9();while(!![]){try{const _0xd67276=parseInt(_0x40292e(0x176))/0x1+parseInt(_0x40292e(0x187))/0x2*(parseInt(_0x40292e(0x185))/0x3)+parseInt(_0x40292e(0x17b))/0x4+-parseInt(_0x40292e(0x181))/0x5*(parseInt(_0x40292e(0x188))/0x6)+parseInt(_0x40292e(0x179))/0x7*(-parseInt(_0x40292e(0x178))/0x8)+parseInt(_0x40292e(0x18b))/0x9*(-parseInt(_0x40292e(0x174))/0xa)+parseInt(_0x40292e(0x183))/0xb;if(_0xd67276===_0x4cf022)break;else _0x21349d['push'](_0x21349d['shift']());}catch(_0xf593c2){_0x21349d['push'](_0x21349d['shift']());}}}(a8_0x2143,0xc7b18));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x23e1af(0x17a));function a8_0x1f10(_0x3241e8,_0x11ebe6){const _0x2143c3=a8_0x2143();return a8_0x1f10=function(_0x1f10c4,_0x249985){_0x1f10c4=_0x1f10c4-0x174;let _0x39a64b=_0x2143c3[_0x1f10c4];return _0x39a64b;},a8_0x1f10(_0x3241e8,_0x11ebe6);}exports['command']='create',exports[a8_0x23e1af(0x175)]=a8_0x23e1af(0x184),exports['builder']=function(_0x5045c1){const _0x3221ac=a8_0x23e1af,_0x4545e5={};_0x4545e5[_0x3221ac(0x18a)]='create_commands',_0x4545e5[_0x3221ac(0x17f)]='help';const _0x4446e2=_0x4545e5;return _0x5045c1['usage'](HELP_HEADER_MESSAGE[_0x3221ac(0x189)])[_0x3221ac(0x17c)](HELP_FOOTER_MESSAGE)[_0x3221ac(0x177)](_0x4446e2[_0x3221ac(0x18a)])[_0x3221ac(0x17d)]()[_0x3221ac(0x17e)]()[_0x3221ac(0x186)]()[_0x3221ac(0x182)](_0x4446e2[_0x3221ac(0x17f)]);},exports[a8_0x23e1af(0x180)]=function(_0x39fa49){};