browserstack-node-sdk 1.64.0 → 1.64.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) 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/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a172_0x3f6817=a172_0x4dc4;(function(_0x559352,_0x3866c8){const _0x48f925=a172_0x4dc4,_0x29c2b7=_0x559352();while(!![]){try{const _0x5a82d0=-parseInt(_0x48f925(0x155))/0x1+parseInt(_0x48f925(0x15a))/0x2*(parseInt(_0x48f925(0x171))/0x3)+-parseInt(_0x48f925(0x19b))/0x4*(parseInt(_0x48f925(0x164))/0x5)+-parseInt(_0x48f925(0x149))/0x6+parseInt(_0x48f925(0x106))/0x7*(-parseInt(_0x48f925(0x1b7))/0x8)+parseInt(_0x48f925(0x174))/0x9*(-parseInt(_0x48f925(0x17b))/0xa)+parseInt(_0x48f925(0x176))/0xb;if(_0x5a82d0===_0x3866c8)break;else _0x29c2b7['push'](_0x29c2b7['shift']());}catch(_0x47d0f1){_0x29c2b7['push'](_0x29c2b7['shift']());}}}(a172_0x3f6a,0xcfb92));const bsSetupHelper=require(a172_0x3f6817(0x198)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a172_0x3f6817(0x100)),accessibilityHelper=require(a172_0x3f6817(0x107)),logger=require('../logger')[a172_0x3f6817(0x1be)],{nestedKeyValue}=require(a172_0x3f6817(0x1c4)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require(a172_0x3f6817(0x1a2)),PWTestDetails=require(a172_0x3f6817(0x1bf)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x3f6817(0x16c)),{isTurboScaleSession}=require(a172_0x3f6817(0x158)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a172_0x3f6817(0x18d));function a172_0x4dc4(_0x5b994d,_0x121d78){const _0x3f6ad2=a172_0x3f6a();return a172_0x4dc4=function(_0x4dc46d,_0x993b){_0x4dc46d=_0x4dc46d-0xf9;let _0xa1bf46=_0x3f6ad2[_0x4dc46d];return _0xa1bf46;},a172_0x4dc4(_0x5b994d,_0x121d78);}let testData={};exports[a172_0x3f6817(0x10f)]=_0x2899b9=>{const _0x39510d=a172_0x3f6817,_0x3e15fa={'zjloC':function(_0x37c44a){return _0x37c44a();},'WgBHp':function(_0x573390,_0x2ff1b5){return _0x573390===_0x2ff1b5;},'xrYvG':_0x39510d(0x13c)};let _0x401536=![],_0x2943f4=![];if(bsSetupHelper[_0x39510d(0x138)]()&&bsSetupHelper[_0x39510d(0x165)](_0x2899b9))_0x2943f4=!![];else bsSetupHelper[_0x39510d(0x138)]()&&(_0x401536=!![]);return Object[_0x39510d(0x19a)]({'observability':_0x3e15fa[_0x39510d(0x180)](isTestObservabilitySession),'accessibility':exports[_0x39510d(0x160)](_0x2899b9),'percy':_0x2899b9[_0x39510d(0x10e)]||![],'sr_automation':_0x3e15fa['WgBHp'](process[_0x39510d(0x1b2)][_0x39510d(0x111)],_0x3e15fa[_0x39510d(0x1bc)])||_0x2899b9[_0x39510d(0x192)]||![],'automate':_0x401536,'app_automate':_0x2943f4,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2899b9),'lts':LoadTestModule['isLTSSession'](_0x2899b9)},bsSetupHelper[_0x39510d(0x1c2)]());},exports[a172_0x3f6817(0x15d)]=(_0x2b8a20,_0xd72a33)=>{const _0x568431=a172_0x3f6817,_0x84fd2c={'VJrUX':function(_0x30891b,_0x57659b){return _0x30891b(_0x57659b);},'Voudu':_0x568431(0x1ad)},_0x450592={'frameworkName':_0xd72a33,'frameworkVersion':_0x84fd2c[_0x568431(0x18c)](getFrameworkVersion,_0xd72a33),'sdkVersion':bsSetupHelper[_0x568431(0x163)](),'language':_0x84fd2c[_0x568431(0xfb)],'testFramework':bsSetupHelper[_0x568431(0x19c)](_0x2b8a20,_0xd72a33)};return process[_0x568431(0x1b2)][_0x568431(0x11f)]=JSON[_0x568431(0x12b)](_0x450592),_0x450592;},exports[a172_0x3f6817(0x104)]=_0x1505a8=>{const _0x33de9f=a172_0x3f6817,_0x30fc55={};_0x30fc55['YkeTf']=_0x33de9f(0x1b0),_0x30fc55['uTBCq']=_0x33de9f(0x13c);const _0x41d3c8=_0x30fc55;process['env']['BROWSERSTACK_PERCY']=_0x41d3c8[_0x33de9f(0x121)],bsSetupHelper['isTrue'](_0x1505a8['config']['percy'])&&(!_0x1505a8[_0x33de9f(0x10e)]||!_0x1505a8['percy']['isRunning']())&&(process[_0x33de9f(0x1b2)]['BROWSERSTACK_PERCY']=_0x41d3c8['uTBCq']);},exports[a172_0x3f6817(0x15e)]=()=>{const _0x58f201=a172_0x3f6817;return bsSetupHelper[_0x58f201(0x16b)](process[_0x58f201(0x1b2)][_0x58f201(0x102)]);},exports[a172_0x3f6817(0x160)]=(_0x4ab9d4={})=>{const _0x21e071=a172_0x3f6817,_0x44bf6b={};_0x44bf6b['vsjjc']=function(_0x1c182b,_0x3c07fa){return _0x1c182b!==_0x3c07fa;},_0x44bf6b[_0x21e071(0x168)]=function(_0x15a5d7,_0x50b128){return _0x15a5d7===_0x50b128;},_0x44bf6b[_0x21e071(0x11c)]=_0x21e071(0x13c),_0x44bf6b[_0x21e071(0x1c1)]=function(_0x296ef2,_0x584928){return _0x296ef2>_0x584928;},_0x44bf6b[_0x21e071(0x1bd)]=function(_0x34db50,_0x102411){return _0x34db50===_0x102411;};const _0x5268a9=_0x44bf6b;if(_0x5268a9[_0x21e071(0x1cb)](process[_0x21e071(0x1b2)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x21e071(0x16b)](process['env'][_0x21e071(0x10c)]);let _0x1dfae9=_0x5268a9['GjNIs'](process[_0x21e071(0x1b2)][_0x21e071(0x129)],_0x5268a9[_0x21e071(0x11c)]);return _0x5268a9['WatkR'](Object['keys'](_0x4ab9d4)[_0x21e071(0x1c5)],0x0)&&(process[_0x21e071(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x21e071(0x152)](_0x4ab9d4)),_0x1dfae9=_0x1dfae9||_0x5268a9[_0x21e071(0x1bd)](process[_0x21e071(0x1b2)][_0x21e071(0x1b3)],_0x5268a9[_0x21e071(0x11c)]),_0x1dfae9;},exports[a172_0x3f6817(0x113)]=(_0x17b773,_0x3a3d1f)=>{const _0x521807=a172_0x3f6817,_0x39d781={'BuaxI':function(_0x47509c){return _0x47509c();},'nhHxs':_0x521807(0x134),'cPnwi':function(_0x49b371,_0x4d04b9,_0x1af577){return _0x49b371(_0x4d04b9,_0x1af577);},'XiVfL':_0x521807(0x127),'iVVrx':_0x521807(0x147),'nEkiD':_0x521807(0x13c)};if(!_0x17b773||!_0x17b773[_0x521807(0x127)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x17b773[_0x521807(0x127)][_0x521807(0x12a)])return exports[_0x521807(0x1b8)](_0x17b773[_0x521807(0x127)]),[null,null,null];if(_0x39d781[_0x521807(0x119)](isTestObservabilitySession)){const _0x59d6d0=_0x39d781['nhHxs'][_0x521807(0x172)]('|');let _0x4867c9=0x0;while(!![]){switch(_0x59d6d0[_0x4867c9++]){case'0':if(_0x17b773[_0x521807(0x15c)]){process['env']['BS_TESTOPS_JWT']=_0x17b773[_0x521807(0x15c)];const _0x35ec23={};_0x35ec23[_0x521807(0x1a8)]=_0x3a3d1f[_0x521807(0x1a8)],_0x35ec23[_0x521807(0x1d8)]=_0x3a3d1f[_0x521807(0x1d8)],process[_0x521807(0x1b2)][_0x521807(0x1b9)]=JSON['stringify'](_0x35ec23);}continue;case'1':_0x17b773[_0x521807(0x1cd)]&&(process[_0x521807(0x1b2)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x17b773[_0x521807(0x1cd)]);continue;case'2':_0x39d781[_0x521807(0x145)](nestedKeyValue,_0x17b773,[_0x39d781[_0x521807(0x1c8)],_0x39d781[_0x521807(0x11b)]])&&(process[_0x521807(0x1b2)][_0x521807(0x166)]=_0x17b773[_0x521807(0x127)][_0x521807(0x147)][_0x521807(0x16d)][_0x521807(0x1c7)]());continue;case'3':process['env'][_0x521807(0x137)]=_0x39d781['nEkiD'];continue;case'4':logger[_0x521807(0x1a3)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x521807(0x132)+_0x17b773[_0x521807(0x1cd)]);continue;case'5':return[_0x17b773['jwt'],_0x17b773[_0x521807(0x1cd)],process['env'][_0x521807(0x166)]];}break;}}return[null,null,null];},exports[a172_0x3f6817(0x1a7)]=_0x1f2c5b=>{const _0x5c20b8=a172_0x3f6817,_0x3cef25={'lpUwZ':function(_0x2985f1,_0x50353e,_0x4ef246){return _0x2985f1(_0x50353e,_0x4ef246);},'RcUos':_0x5c20b8(0x1a5),'vjlYV':_0x5c20b8(0x147),'MZvnF':function(_0xbbb20e,_0x3371be,_0x2c6b65,_0x5971f0){return _0xbbb20e(_0x3371be,_0x2c6b65,_0x5971f0);},'dupAD':_0x5c20b8(0x13d),'COxnS':_0x5c20b8(0x14c),'LiOuu':function(_0x219e3e,_0x2de02b,_0x1bb553,_0x3f0113){return _0x219e3e(_0x2de02b,_0x1bb553,_0x3f0113);},'FqJPL':_0x5c20b8(0x1a0),'PGAjJ':_0x5c20b8(0x193),'IYGcB':_0x5c20b8(0x16a),'VKPhu':_0x5c20b8(0x167),'cQCPT':function(_0x47c92b,_0x13ac12){return _0x47c92b(_0x13ac12);},'UGdej':function(_0x5a648e,_0x3bedfc){return _0x5a648e===_0x3bedfc;},'qpZUE':function(_0x4279b2,_0x1396c3){return _0x4279b2===_0x1396c3;},'MkTcA':_0x5c20b8(0x13c),'cWtTX':_0x5c20b8(0x1d1)};if(!_0x1f2c5b[_0x5c20b8(0x1a5)])return exports[_0x5c20b8(0x120)](),[null,null];if(!_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x12a)])return exports[_0x5c20b8(0x120)](_0x1f2c5b[_0x5c20b8(0x1a5)]),[null,null];if(_0x3cef25[_0x5c20b8(0x182)](nestedKeyValue,_0x1f2c5b,[_0x3cef25[_0x5c20b8(0x139)],_0x3cef25[_0x5c20b8(0x116)]])){const {accessibilityToken:_0x402810,scannerVersion:_0x47fec0,scannerProcessingTimeout:_0x95969c,isMobileScanningEnabledForGroup:_0x3c0921}=_0x3cef25[_0x5c20b8(0x10d)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x147)][_0x5c20b8(0x133)],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25[_0x5c20b8(0x101)]),_0x564552={'scripts':_0x3cef25[_0x5c20b8(0x142)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)]['options'][_0x5c20b8(0x162)],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25['FqJPL'])};_0x564552[_0x3cef25[_0x5c20b8(0x189)]]=_0x1f2c5b['accessibility'][_0x5c20b8(0x147)]['commandsToWrap']['commands'];const _0xc9aa46=_0x3cef25[_0x5c20b8(0x142)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x147)]['capabilities'],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25[_0x5c20b8(0x101)]);_0x564552[_0x3cef25['IYGcB']]=_0xc9aa46[_0x3cef25[_0x5c20b8(0xfd)]],scripts[_0x5c20b8(0x12f)](_0x564552),scripts[_0x5c20b8(0x1ae)]();let _0x3d90ef=process['env'][_0x5c20b8(0x151)];_0x3d90ef=!!_0x3d90ef?JSON[_0x5c20b8(0x112)](_0x3d90ef):{},_0x3d90ef[_0x5c20b8(0x1d0)]=_0x47fec0,process[_0x5c20b8(0x1b2)][_0x5c20b8(0x151)]=JSON[_0x5c20b8(0x12b)](_0x3d90ef),process[_0x5c20b8(0x1b2)][_0x5c20b8(0x175)]=_0x402810,process[_0x5c20b8(0x1b2)][_0x5c20b8(0x144)]=_0x3cef25['cQCPT'](String,_0x3cef25['UGdej'](_0x3c0921,!![])||_0x3cef25[_0x5c20b8(0x18a)](_0x3c0921,_0x3cef25[_0x5c20b8(0x169)])),logger['debug'](_0x5c20b8(0x1aa)+_0x1f2c5b[_0x5c20b8(0x1cd)]);const _0x1423ad=accessibilityHelper[_0x5c20b8(0x150)](_0x402810);return _0x1423ad&&bsSetupHelper[_0x5c20b8(0x16b)](_0x1423ad['skipCDPConnectOverride'])&&(process[_0x5c20b8(0x1b2)][_0x5c20b8(0x1ca)]=!![],logger[_0x5c20b8(0x1a3)](_0x3cef25['cWtTX'])),[_0x402810,_0x1f2c5b[_0x5c20b8(0x1cd)],_0x95969c];}return[null,null];},exports[a172_0x3f6817(0x1b8)]=_0x23aebc=>{const _0x13962f=a172_0x3f6817,_0x2a6334={};_0x2a6334[_0x13962f(0x196)]=_0x13962f(0x157),_0x2a6334[_0x13962f(0x128)]=_0x13962f(0x173),_0x2a6334[_0x13962f(0x18e)]='false';const _0xb33bef=_0x2a6334,_0x5c556a=_0xb33bef['dfYVd'][_0x13962f(0x172)]('|');let _0xfc9c47=0x0;while(!![]){switch(_0x5c556a[_0xfc9c47++]){case'0':process[_0x13962f(0x1b2)][_0x13962f(0x166)]=_0xb33bef[_0x13962f(0x128)];continue;case'1':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0xb33bef['iRJzM'];continue;case'2':exports[_0x13962f(0x1d3)](_0x23aebc,testHubConstants['OBSERVABILITY']);continue;case'3':process[_0x13962f(0x1b2)]['BROWSERSTACK_TESTHUB_JWT']=_0xb33bef[_0x13962f(0x128)];continue;case'4':process[_0x13962f(0x1b2)][_0x13962f(0x10a)]=_0xb33bef[_0x13962f(0x128)];continue;case'5':process['env'][_0x13962f(0x124)]=_0xb33bef['hRYrq'];continue;case'6':process[_0x13962f(0x1b2)]['BS_TESTOPS_BUILD_HASHED_ID']=_0xb33bef[_0x13962f(0x128)];continue;}break;}},exports[a172_0x3f6817(0x120)]=_0x4c2a11=>{const _0x14e548=a172_0x3f6817,_0x191abf={};_0x191abf[_0x14e548(0x1bb)]=_0x14e548(0x1c6),_0x191abf[_0x14e548(0x14d)]=_0x14e548(0x1b0),_0x191abf[_0x14e548(0x1c0)]=_0x14e548(0x173);const _0x284737=_0x191abf,_0xe1922=_0x284737[_0x14e548(0x1bb)]['split']('|');let _0x5a9486=0x0;while(!![]){switch(_0xe1922[_0x5a9486++]){case'0':process[_0x14e548(0x1b2)][_0x14e548(0x129)]=_0x284737['zIMNe'];continue;case'1':process[_0x14e548(0x1b2)][_0x14e548(0x170)]=_0x284737[_0x14e548(0x1c0)];continue;case'2':exports[_0x14e548(0x1d3)](_0x4c2a11,testHubConstants[_0x14e548(0x122)]);continue;case'3':process[_0x14e548(0x1b2)][_0x14e548(0x124)]=_0x284737[_0x14e548(0x1c0)];continue;case'4':process[_0x14e548(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x284737[_0x14e548(0x14d)];continue;}break;}},exports[a172_0x3f6817(0x1d3)]=(_0xfffb43,_0x5bc1b3='')=>{const _0x234e03=a172_0x3f6817,_0x416f4a={};_0x416f4a[_0x234e03(0x159)]=function(_0x4a8a8a,_0x5e59ba){return _0x4a8a8a===_0x5e59ba;};const _0xa5f882=_0x416f4a;if(_0xa5f882['mbuLp'](_0xfffb43,undefined)){logger['error'](_0x5bc1b3[_0x234e03(0x13f)]()+'\x20Build\x20creation\x20failed');return;}for(const _0xc279d0 of _0xfffb43['errors']){const _0x283f3a=_0xc279d0[_0x234e03(0x178)],_0x367076=_0xc279d0['message'];if(_0x367076)switch(_0x283f3a){case testHubConstants[_0x234e03(0x123)][_0x234e03(0xfc)]:logger['error'](_0x367076);break;case testHubConstants[_0x234e03(0x123)]['ACCESS_DENIED']:logger[_0x234e03(0x140)](_0x367076);break;case testHubConstants['ERROR'][_0x234e03(0x194)]:logger[_0x234e03(0x15f)](_0x367076);break;default:logger[_0x234e03(0x15f)](_0x367076);}}};const jsonifyAccessibilityArray=(_0x206630,_0x699d6d,_0x458372)=>{const _0x1016cf=a172_0x3f6817,_0x10f7c4={};return _0x206630[_0x1016cf(0x1ce)](_0x4ca564=>{_0x10f7c4[_0x4ca564[_0x699d6d]]=_0x4ca564[_0x458372];}),_0x10f7c4;};function a172_0x3f6a(){const _0x2a0f98=['build_hashed_id','forEach','setTestData','scannerVersion','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','shouldScanTestForAccessibility','logBuildError','VNXTz','get','tags','CblNE','password','getAccessibilityPlatformValidation','HMWIc','getTestPlanId','Voudu','INVALID_CREDENTIALS','VKPhu','../../bin/jasmine/testRunMap.js','gnQcv','../test-observability/utils','COxnS','BROWSERSTACK_PERCY','titlePath','setPercyFlag','bGuSk','8911JJhdMk','../accessibility-automation/helper','TGQII','PztKP','BS_TESTOPS_JWT','cItPm','BROWSERSTACK_ACCESSIBILITY','MZvnF','percy','getProductMap','testManagementOptions','BROWSERSTACK_SR_AUTOMATION','parse','setTestObservabilityVariables','argv','uGmOU','vjlYV','platforms','getProductMapForBuildStartCall','BuaxI','JASMINE','iVVrx','ziivb','HookRunFinished','EdKlc','FRAMEWORK_DETAILS','handleErrorForAccessibility','YkeTf','ACCESSIBILITY','ERROR','BROWSERSTACK_TESTHUB_UUID','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','egSBF','observability','hRYrq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','success','stringify','oSMxl','eBonV','upDGf','parseFromJson','HookRunStarted','uploadEventData',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','capabilities','3|0|1|2|4|5','JwiPP','qOmRM','BS_TESTOPS_BUILD_COMPLETED','isBrowserstackInfra','RcUos','TestRunStarted','yBTIR','true','name','isTurboScaleSession','toUpperCase','info','uYZHh','LiOuu','hRXmc','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','cPnwi','getTestData','options','uuid','8791980JbjPnP','LogCreated','scopes','value','zIMNe','trim','vrhEW','parseA11yJwtPayload','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','checkAccessibilityPlatformConfig','setCurrentTestData','keys','323360zAOBYd','hYVsZ','5|3|1|4|6|0|2','../ats/helper','mbuLp','83880YTCRdc','ENV_VAR','jwt','getFrameworkDetails','isPercyBuild','error','isAccessibilityEnabled','slice','scripts','getAgentVersion','30035iqyozN','isAppAutomateSession','BS_TESTOPS_ALLOW_SCREENSHOTS','goog:chromeOptions','GjNIs','MkTcA','nonBStackInfraA11yChromeOptions','isTrue','../test-observability/constants.js','allow_screenshots','hMGMm','accessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','18vEybXm','split','null','27WMhdJH','BS_A11Y_JWT','59639217cGEJZe','MOCHA','key','VsqYx','isLTSSession','4424410MxXbZN','startsWith','RXrOt','JEST','waEkg','zjloC','MqcSH','lpUwZ','setTestHubCommonMetaInfo','getTestOrchestrationBuildStartData','sXofH','getCurrentTestData','getGlobal','AgUeu','PGAjJ','qpZUE','join','VJrUX','../../bin/utils/constants.js','iRJzM','gqaor','BsoXx','gBDYp','sr_automation','commands','DEPRECATED','CODECEPT','dfYVd','message','../helper','JEogR','assign','504GXhrBi','getTestFrameworkDetails','oiQWY','getAccessibilityValueFromYml','EJErI','command','rBEfy','./constants.js','debug','product_map','accessibility','includes','setAccessibilityVariables','username','CUCUMBER','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','string','isAccessibilityPlatform','javascript','toJson','bstackA11yShouldScan','false','description','env','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getBuildStartData','IPCyX','dupAD','5968noNhuK','handleErrorForObservability','CREDENTIALS_FOR_CRASH_REPORTING','LRAfi','COerM','xrYvG','KXzYo','winstonLogger','../../bin/playwright/reporter/test-details.js','nYQpS','WatkR','getCentralUser','BROWSERSTACK_TESTHUB_UUID:\x20','../helper.js','length','3|1|0|4|2','toString','XiVfL','KdbBB','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','vsjjc','test_run'];a172_0x3f6a=function(){return _0x2a0f98;};return a172_0x3f6a();}exports[a172_0x3f6817(0x183)]=_0x25845a=>{const _0x353705=a172_0x3f6817;_0x25845a[_0x353705(0x15c)]&&(process[_0x353705(0x1b2)][_0x353705(0x170)]=_0x25845a['jwt']);_0x25845a[_0x353705(0x1cd)]&&(process[_0x353705(0x1b2)][_0x353705(0x124)]=_0x25845a[_0x353705(0x1cd)],logger['debug'](_0x353705(0x1c3)+_0x25845a[_0x353705(0x1cd)]));;},exports['shouldProcessEventForTesthub']=(_0x85041a='',_0x172a57='')=>{const _0x29f80e=a172_0x3f6817,_0x21a29f={'gBDYp':function(_0x1b803d){return _0x1b803d();},'MqcSH':function(_0xf8b4de,_0x3333ad){return _0xf8b4de===_0x3333ad;},'JwiPP':_0x29f80e(0x131),'PztKP':_0x29f80e(0x14a),'hRXmc':'CBTSessionCreated','VpsTI':_0x29f80e(0x130),'VsqYx':_0x29f80e(0x11d),'uGmOU':function(_0x73df30){return _0x73df30();}};if(exports[_0x29f80e(0x15e)]()&&!exports[_0x29f80e(0x160)]()&&!_0x21a29f[_0x29f80e(0x191)](isTestObservabilitySession)){if(_0x21a29f[_0x29f80e(0x181)](_0x172a57,_0x21a29f[_0x29f80e(0x135)]))return![];if([_0x21a29f[_0x29f80e(0x109)],_0x21a29f[_0x29f80e(0x143)]][_0x29f80e(0x1a6)](_0x85041a))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x21a29f[_0x29f80e(0x191)](isTestObservabilitySession)){if([_0x21a29f['VpsTI'],_0x21a29f[_0x29f80e(0x179)],_0x21a29f['PztKP']][_0x29f80e(0x1a6)](_0x85041a))return![];return!![];}return exports[_0x29f80e(0x160)]()||_0x21a29f[_0x29f80e(0x115)](isTestObservabilitySession)||exports[_0x29f80e(0x15e)]();},exports['appendTesthubParams']=(_0x192931,_0x26e848,_0x25f17b='',_0x4d5981)=>{const _0x36a053=a172_0x3f6817,_0x2a2c56={'yBTIR':_0x36a053(0x130),'hYVsZ':_0x36a053(0x11d),'gnQcv':function(_0x1fe32d,_0xa48adf){return _0x1fe32d===_0xa48adf;},'RXrOt':_0x36a053(0x1af),'EJErI':_0x36a053(0x1ac),'gqaor':_0x36a053(0x1a5),'VNXTz':function(_0x2f77b6,_0x459139){return _0x2f77b6&&_0x459139;},'JEogR':function(_0x5f0996,_0x19206f){return _0x5f0996+_0x19206f;},'sXofH':function(_0x43b246,_0x1fc8da){return _0x43b246(_0x1fc8da);},'IPCyX':_0x36a053(0xfe),'rBEfy':function(_0x19e7d8,_0x2fce07){return _0x19e7d8&&_0x2fce07;},'ocjJG':function(_0xadb0dd,_0x285fdc){return _0xadb0dd===_0x285fdc;},'LRAfi':function(_0x449969,_0xf12d52){return _0x449969===_0xf12d52;},'cItPm':_0x36a053(0x13a),'KdbBB':function(_0x563a1e,_0x2cbdf8){return _0x563a1e===_0x2cbdf8;},'HMWIc':function(_0x3d40aa,_0x1b10dc){return _0x3d40aa&&_0x1b10dc;},'HNJsJ':_0x36a053(0x1a4)};if(![_0x2a2c56[_0x36a053(0x13b)],_0x2a2c56[_0x36a053(0x156)]]['includes'](_0x26e848)&&exports[_0x36a053(0x160)]()){const _0x195cad={};if(_0x2a2c56[_0x36a053(0xff)](_0x4d5981,FRAMEWORKS['MOCHA'])){const _0x275e10=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x17d)])||accessibilityHelper[_0x36a053(0x1d2)](_0x25f17b[_0x36a053(0x103)](),!![]),_0x2b4665=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0x1d4)](_0x2b4665,_0x275e10);}if(_0x2a2c56[_0x36a053(0xff)](_0x4d5981,FRAMEWORKS[_0x36a053(0x17e)])){const _0xd0ce0a=_0x2a2c56['JEogR'](_0x2a2c56[_0x36a053(0x199)](_0x192931[_0x36a053(0x14b)]['join']('\x20'),'\x20'),_0x25f17b[_0x36a053(0x13d)]),_0x113798=globals[_0x36a053(0x187)](_0x2a2c56['RXrOt'])||accessibilityHelper[_0x36a053(0x1d2)](_0xd0ce0a,![]),_0x57c597=browserStackGlobals[_0x36a053(0x1ac)];_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56['VNXTz'](_0x57c597,_0x113798);}if(_0x2a2c56['gnQcv'](_0x4d5981,FRAMEWORKS[_0x36a053(0x11a)])){const _0x2865a2=_0x2a2c56[_0x36a053(0x185)](require,_0x2a2c56[_0x36a053(0x1b5)]),_0x5cdaa7=_0x25f17b&&_0x2865a2[_0x36a053(0x1d5)](_0x25f17b['id'])||_0x192931[_0x36a053(0x148)];_0x5cdaa7&&(_0x192931[_0x36a053(0x148)]=_0x5cdaa7);const _0x243915=_0x2a2c56[_0x36a053(0x199)](_0x2a2c56[_0x36a053(0x199)](_0x192931['scopes'][_0x36a053(0x18b)]('\x20'),'\x20'),_0x25f17b[_0x36a053(0x1b1)]||_0x192931[_0x36a053(0x13d)]),_0x5f0abb=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x17d)])||accessibilityHelper[_0x36a053(0x1d2)](_0x243915,![]),_0x365db0=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0x1a1)](_0x365db0,_0x5f0abb);}if(_0x2a2c56['ocjJG'](_0x4d5981,FRAMEWORKS['PLAYWRIGHT'])){if(_0x2a2c56[_0x36a053(0x1ba)](_0x26e848,_0x2a2c56[_0x36a053(0x10b)]))return;_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=PWTestDetails[_0x36a053(0x1d9)](_0x192931[_0x36a053(0x148)]);}if(_0x2a2c56[_0x36a053(0x1c9)](_0x4d5981,FRAMEWORKS[_0x36a053(0x195)])){const _0x2271b9=accessibilityHelper[_0x36a053(0x1d2)](_0x25f17b[_0x36a053(0x103)](),!![]),_0x500f09=global[_0x36a053(0x16f)];_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56['HMWIc'](_0x500f09,_0x2271b9);}if(_0x2a2c56['KdbBB'](_0x4d5981,FRAMEWORKS[_0x36a053(0x1a9)])){const _0x549b17=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x192931[_0x36a053(0x1d6)]),_0x2a4bca=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0xf9)](_0x2a4bca,_0x549b17);}_0x192931[_0x2a2c56['HNJsJ']]=_0x195cad;}},exports[a172_0x3f6817(0x186)]=_0x33af77=>{const _0x120147=a172_0x3f6817,_0x3a46ef={};_0x3a46ef[_0x120147(0x12e)]=function(_0xafc3c,_0x541807){return _0xafc3c>_0x541807;};const _0x28ca06=_0x3a46ef;let _0x641e15={};if(_0x28ca06['upDGf'](Object[_0x120147(0x154)](testData)[_0x120147(0x1c5)],0x0))return testData;_0x641e15=JestTestDetails[_0x120147(0x146)]();if(_0x28ca06['upDGf'](Object[_0x120147(0x154)](_0x641e15)[_0x120147(0x1c5)],0x0))return _0x641e15;return _0x641e15;},exports[a172_0x3f6817(0x153)]=(_0x1c8901,_0x4de145={})=>{const _0x1063bf=a172_0x3f6817;if(bsSetupHelper['isUndefined'](_0x4de145[_0x1063bf(0x1cc)]))return;switch(_0x1c8901){case FRAMEWORKS[_0x1063bf(0x177)]:testData=_0x4de145[_0x1063bf(0x1cc)];break;case FRAMEWORKS[_0x1063bf(0x17e)]:JestTestDetails[_0x1063bf(0x1cf)](_0x4de145[_0x1063bf(0x1cc)]);break;case FRAMEWORKS[_0x1063bf(0x11a)]:testData=_0x4de145['test_run'];break;default:break;}},exports[a172_0x3f6817(0x19e)]=_0x5dfe07=>{const _0x168bd0=a172_0x3f6817,_0x38f82e={};_0x38f82e[_0x168bd0(0x19d)]=function(_0x3fb3e9,_0x4faef7){return _0x3fb3e9!==_0x4faef7;},_0x38f82e['uYZHh']=function(_0x2bc6e1,_0x26683d){return _0x2bc6e1!==_0x26683d;},_0x38f82e[_0x168bd0(0x14f)]=function(_0x29b067,_0x5b9754){return _0x29b067!==_0x5b9754;};const _0x1ca329=_0x38f82e;if(_0x1ca329[_0x168bd0(0x19d)](_0x5dfe07[_0x168bd0(0x1a5)],null)&&_0x1ca329[_0x168bd0(0x141)](_0x5dfe07['accessibility'],undefined))return _0x5dfe07['accessibility'];let _0x2bc051=![],_0x526b38=![];if(_0x5dfe07[_0x168bd0(0x117)])for(const _0x52186f of _0x5dfe07[_0x168bd0(0x117)]){_0x1ca329['oiQWY'](_0x52186f[_0x168bd0(0x1a5)],null)&&_0x1ca329[_0x168bd0(0x14f)](_0x52186f[_0x168bd0(0x1a5)],undefined)&&(_0x2bc051=_0x2bc051||bsSetupHelper[_0x168bd0(0x16b)](_0x52186f[_0x168bd0(0x1a5)]),_0x526b38=!![]);}if(_0x526b38)return _0x2bc051;return null;},exports[a172_0x3f6817(0x184)]=_0x499b88=>{const _0x290937=a172_0x3f6817;if(!_0x499b88)return{};const _0x3fe640=new OrchestrationUtils(_0x499b88);return _0x3fe640[_0x290937(0x1b4)]();},exports[a172_0x3f6817(0x118)]=_0x2c2ef5=>{const _0x3ee9af=a172_0x3f6817,_0x7ca176={'BsoXx':function(_0xda7ad9){return _0xda7ad9();},'TGQII':function(_0x3f5de1,_0x470fb8){return _0x3f5de1===_0x470fb8;},'egSBF':'true'};let _0x37f092=![],_0x1485db=![];if(bsSetupHelper[_0x3ee9af(0x138)]()&&bsSetupHelper[_0x3ee9af(0x165)](_0x2c2ef5))_0x1485db=!![];else bsSetupHelper[_0x3ee9af(0x138)]()&&(_0x37f092=!![]);return Object[_0x3ee9af(0x19a)]({'observability':_0x7ca176[_0x3ee9af(0x190)](isTestObservabilitySession),'accessibility':exports[_0x3ee9af(0x19e)](_0x2c2ef5),'percy':_0x2c2ef5[_0x3ee9af(0x10e)]||![],'sr_automation':_0x7ca176[_0x3ee9af(0x108)](process['env'][_0x3ee9af(0x111)],_0x7ca176[_0x3ee9af(0x126)])||_0x2c2ef5[_0x3ee9af(0x192)]||![],'automate':_0x37f092,'app_automate':_0x1485db,'turboscale':bsSetupHelper[_0x3ee9af(0x13e)](_0x2c2ef5),'lts':LoadTestModule[_0x3ee9af(0x17a)](_0x2c2ef5)},bsSetupHelper[_0x3ee9af(0x1c2)]());};const normalizeTestPlanId=_0x152745=>{const _0x1ca2b7=a172_0x3f6817,_0x2ac284={};_0x2ac284[_0x1ca2b7(0x136)]=function(_0x5ecad9,_0x320856){return _0x5ecad9!==_0x320856;},_0x2ac284[_0x1ca2b7(0x12c)]=_0x1ca2b7(0x1ab),_0x2ac284['hMGMm']=function(_0x3a114a,_0x35f930){return _0x3a114a>_0x35f930;};const _0x4f3b74=_0x2ac284;if(_0x4f3b74['qOmRM'](typeof _0x152745,_0x4f3b74['oSMxl']))return undefined;const _0x3397ee=_0x152745[_0x1ca2b7(0x14e)]();return _0x4f3b74[_0x1ca2b7(0x16e)](_0x3397ee[_0x1ca2b7(0x1c5)],0x0)?_0x3397ee:undefined;},readTestPlanIdFromCliArgs=(_0x57b1f8=process['argv'])=>{const _0x2755f1=a172_0x3f6817,_0x443dc1={};_0x443dc1['AgUeu']=function(_0x5ecb38,_0x44eb07){return _0x5ecb38<_0x44eb07;},_0x443dc1[_0x2755f1(0x12d)]=function(_0x175ddf,_0x350d51){return _0x175ddf===_0x350d51;},_0x443dc1[_0x2755f1(0x1d7)]=function(_0x1e22cd,_0x261f95){return _0x1e22cd+_0x261f95;},_0x443dc1[_0x2755f1(0x17f)]=function(_0x4bba0c,_0x3fcd33){return _0x4bba0c+_0x3fcd33;};const _0x10cde1=_0x443dc1,_0x5470f1='--'+testHubConstants[_0x2755f1(0x125)];for(let _0x5ec732=0x0;_0x10cde1[_0x2755f1(0x188)](_0x5ec732,_0x57b1f8['length']);_0x5ec732+=0x1){const _0x69b140=_0x57b1f8[_0x5ec732];if(_0x10cde1['eBonV'](_0x69b140,_0x5470f1)){const _0x511b31=_0x57b1f8[_0x10cde1[_0x2755f1(0x1d7)](_0x5ec732,0x1)];if(!_0x511b31||_0x511b31[_0x2755f1(0x17c)]('--'))return undefined;return _0x511b31;}if(_0x69b140[_0x2755f1(0x17c)](_0x5470f1+'='))return _0x69b140[_0x2755f1(0x161)](_0x10cde1['waEkg'](_0x5470f1[_0x2755f1(0x1c5)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x910d38={})=>{const _0x1791c7=a172_0x3f6817,_0x43a891={'bOJux':function(_0x5d3fb4,_0x279c97){return _0x5d3fb4(_0x279c97);}};return _0x43a891['bOJux'](normalizeTestPlanId,_0x910d38&&_0x910d38['testManagementOptions']&&_0x910d38[_0x1791c7(0x110)]['testPlanId']);};exports[a172_0x3f6817(0xfa)]=(_0xca297e={},_0x3735a6=process[a172_0x3f6817(0x114)],_0x210756=process['env'])=>{const _0x329bc2=a172_0x3f6817,_0x82fcbf={'bGuSk':function(_0x2d48ff,_0x1ec292){return _0x2d48ff(_0x1ec292);},'EdKlc':function(_0x409867,_0x2b1f3b){return _0x409867(_0x2b1f3b);}};try{const _0x2f9868=_0x82fcbf[_0x329bc2(0x105)](normalizeTestPlanId,_0x82fcbf[_0x329bc2(0x105)](readTestPlanIdFromCliArgs,_0x3735a6));if(_0x2f9868)return _0x2f9868;const _0x16c7f5=_0x82fcbf[_0x329bc2(0x11e)](normalizeTestPlanId,_0x210756&&_0x210756[testHubConstants[_0x329bc2(0x15b)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x16c7f5)return _0x16c7f5;return _0x82fcbf[_0x329bc2(0x11e)](readTestPlanIdFromConfig,_0xca297e);}catch(_0x173c50){return logger[_0x329bc2(0x1a3)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x173c50&&_0x173c50[_0x329bc2(0x197)]?_0x173c50[_0x329bc2(0x197)]:_0x173c50)),undefined;}};
1
+ const a172_0x1ee7e3=a172_0xcf59;(function(_0x460e3f,_0x41bd4f){const _0x2bdee6=a172_0xcf59,_0x5c386c=_0x460e3f();while(!![]){try{const _0x196f03=-parseInt(_0x2bdee6(0x221))/0x1+-parseInt(_0x2bdee6(0x1d2))/0x2*(parseInt(_0x2bdee6(0x196))/0x3)+-parseInt(_0x2bdee6(0x189))/0x4*(parseInt(_0x2bdee6(0x200))/0x5)+parseInt(_0x2bdee6(0x241))/0x6+-parseInt(_0x2bdee6(0x1c5))/0x7+-parseInt(_0x2bdee6(0x242))/0x8*(-parseInt(_0x2bdee6(0x20b))/0x9)+parseInt(_0x2bdee6(0x17c))/0xa;if(_0x196f03===_0x41bd4f)break;else _0x5c386c['push'](_0x5c386c['shift']());}catch(_0x18b20f){_0x5c386c['push'](_0x5c386c['shift']());}}}(a172_0x22db,0xbadbf));const bsSetupHelper=require(a172_0x1ee7e3(0x186)),LoadTestModule=require(a172_0x1ee7e3(0x217)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a172_0x1ee7e3(0x1c9)),logger=require(a172_0x1ee7e3(0x1cb))['winstonLogger'],{nestedKeyValue}=require(a172_0x1ee7e3(0x1cc)),scripts=require(a172_0x1ee7e3(0x179)),globals=require('../globals.js'),testHubConstants=require(a172_0x1ee7e3(0x1e3)),PWTestDetails=require(a172_0x1ee7e3(0x1cd)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x1ee7e3(0x16c)),{isTurboScaleSession}=require(a172_0x1ee7e3(0x247)),OrchestrationUtils=require(a172_0x1ee7e3(0x1a3)),constants=require(a172_0x1ee7e3(0x243));let testData={};exports[a172_0x1ee7e3(0x1a2)]=_0x35f246=>{const _0x27ff06=a172_0x1ee7e3,_0x2a2515={'rcUrD':function(_0x3195e){return _0x3195e();},'FVWca':function(_0x1611c5,_0x225c33){return _0x1611c5===_0x225c33;},'hxujI':_0x27ff06(0x1f8)};let _0x52a79a=![],_0x53d9ec=![];if(bsSetupHelper[_0x27ff06(0x17e)]()&&bsSetupHelper[_0x27ff06(0x1d1)](_0x35f246))_0x53d9ec=!![];else bsSetupHelper[_0x27ff06(0x17e)]()&&(_0x52a79a=!![]);return Object[_0x27ff06(0x1d7)]({'observability':_0x2a2515['rcUrD'](isTestObservabilitySession),'accessibility':exports[_0x27ff06(0x212)](_0x35f246),'percy':_0x35f246['percy']||![],'sr_automation':_0x2a2515[_0x27ff06(0x215)](process[_0x27ff06(0x1af)][_0x27ff06(0x197)],_0x2a2515[_0x27ff06(0x232)])||_0x35f246[_0x27ff06(0x191)]||![],'automate':_0x52a79a,'app_automate':_0x53d9ec,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x35f246),'lts':LoadTestModule['isLTSSession'](_0x35f246)},bsSetupHelper[_0x27ff06(0x209)]());},exports[a172_0x1ee7e3(0x18e)]=(_0xd7e77d,_0x4573be)=>{const _0x41d6ab=a172_0x1ee7e3,_0x3268f1={'YiAda':function(_0x1775ce,_0x617909){return _0x1775ce(_0x617909);},'tUttY':'javascript'},_0x26b3f3={'frameworkName':_0x4573be,'frameworkVersion':_0x3268f1[_0x41d6ab(0x22e)](getFrameworkVersion,_0x4573be),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x3268f1[_0x41d6ab(0x19b)],'testFramework':bsSetupHelper[_0x41d6ab(0x1d0)](_0xd7e77d,_0x4573be)};return process['env'][_0x41d6ab(0x1c7)]=JSON[_0x41d6ab(0x176)](_0x26b3f3),_0x26b3f3;},exports[a172_0x1ee7e3(0x182)]=_0x2abfbc=>{const _0x22e68a=a172_0x1ee7e3,_0x1c84dc={};_0x1c84dc[_0x22e68a(0x1ef)]='false',_0x1c84dc['BGMyx']=_0x22e68a(0x1f8);const _0x2fd3e0=_0x1c84dc;process[_0x22e68a(0x1af)][_0x22e68a(0x1d9)]=_0x2fd3e0['PHHaw'],bsSetupHelper['isTrue'](_0x2abfbc[_0x22e68a(0x1ac)][_0x22e68a(0x1a1)])&&(!_0x2abfbc[_0x22e68a(0x1a1)]||!_0x2abfbc[_0x22e68a(0x1a1)][_0x22e68a(0x1d4)]())&&(process[_0x22e68a(0x1af)][_0x22e68a(0x1d9)]=_0x2fd3e0[_0x22e68a(0x245)]);},exports[a172_0x1ee7e3(0x1f0)]=()=>{const _0x4b2bf4=a172_0x1ee7e3;return bsSetupHelper[_0x4b2bf4(0x21d)](process['env'][_0x4b2bf4(0x1d9)]);},exports[a172_0x1ee7e3(0x212)]=(_0x4b738a={})=>{const _0x589971=a172_0x1ee7e3,_0x4baf07={};_0x4baf07[_0x589971(0x17d)]=function(_0x571845,_0x23de0b){return _0x571845!==_0x23de0b;},_0x4baf07[_0x589971(0x216)]=function(_0x4456f5,_0x33f6d0){return _0x4456f5===_0x33f6d0;},_0x4baf07[_0x589971(0x231)]='true',_0x4baf07[_0x589971(0x24d)]=function(_0xef01f4,_0x2a58c6){return _0xef01f4>_0x2a58c6;},_0x4baf07['gBsMq']=function(_0x356989,_0x5ddddb){return _0x356989===_0x5ddddb;};const _0x2c0a9f=_0x4baf07;if(_0x2c0a9f[_0x589971(0x17d)](process[_0x589971(0x1af)][_0x589971(0x1ab)],undefined))return bsSetupHelper['isTrue'](process[_0x589971(0x1af)][_0x589971(0x1ab)]);let _0x1a3668=_0x2c0a9f['TUzIe'](process[_0x589971(0x1af)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2c0a9f['qLoPu']);return _0x2c0a9f[_0x589971(0x24d)](Object['keys'](_0x4b738a)['length'],0x0)&&(process[_0x589971(0x1af)][_0x589971(0x20d)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4b738a)),_0x1a3668=_0x1a3668||_0x2c0a9f[_0x589971(0x230)](process[_0x589971(0x1af)][_0x589971(0x20d)],_0x2c0a9f[_0x589971(0x231)]),_0x1a3668;},exports[a172_0x1ee7e3(0x220)]=(_0x1f248c,_0x445e9a)=>{const _0x155f2f=a172_0x1ee7e3,_0x121745={'TyHiL':function(_0x4fbced){return _0x4fbced();},'XQoVa':_0x155f2f(0x22f),'nDwyr':_0x155f2f(0x1f8),'BZpbu':function(_0x3d07c9,_0x4d398,_0x1ef226){return _0x3d07c9(_0x4d398,_0x1ef226);},'ptfxH':_0x155f2f(0x1b5),'KlEdS':'options'};if(!_0x1f248c||!_0x1f248c[_0x155f2f(0x1b5)])return exports[_0x155f2f(0x1e2)](),[null,null,null];if(!_0x1f248c[_0x155f2f(0x1b5)][_0x155f2f(0x19a)])return exports[_0x155f2f(0x1e2)](_0x1f248c[_0x155f2f(0x1b5)]),[null,null,null];if(_0x121745[_0x155f2f(0x1ff)](isTestObservabilitySession)){const _0x1e6d6b=_0x121745[_0x155f2f(0x238)][_0x155f2f(0x18b)]('|');let _0x88614f=0x0;while(!![]){switch(_0x1e6d6b[_0x88614f++]){case'0':if(_0x1f248c[_0x155f2f(0x19c)]){process[_0x155f2f(0x1af)][_0x155f2f(0x183)]=_0x1f248c[_0x155f2f(0x19c)];const _0x2f49ac={};_0x2f49ac[_0x155f2f(0x1b1)]=_0x445e9a[_0x155f2f(0x1b1)],_0x2f49ac[_0x155f2f(0x201)]=_0x445e9a[_0x155f2f(0x201)],process['env'][_0x155f2f(0x23c)]=JSON['stringify'](_0x2f49ac);}continue;case'1':process[_0x155f2f(0x1af)][_0x155f2f(0x1ca)]=_0x121745['nDwyr'];continue;case'2':logger['debug']('['+constants[_0x155f2f(0x195)]+_0x155f2f(0x17a)+_0x1f248c[_0x155f2f(0x22a)]);continue;case'3':_0x1f248c['build_hashed_id']&&(process[_0x155f2f(0x1af)][_0x155f2f(0x228)]=_0x1f248c[_0x155f2f(0x22a)]);continue;case'4':return[_0x1f248c[_0x155f2f(0x19c)],_0x1f248c[_0x155f2f(0x22a)],process['env'][_0x155f2f(0x185)]];case'5':_0x121745[_0x155f2f(0x1df)](nestedKeyValue,_0x1f248c,[_0x121745[_0x155f2f(0x1bf)],_0x121745[_0x155f2f(0x1e7)]])&&(process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1f248c[_0x155f2f(0x1b5)][_0x155f2f(0x21e)][_0x155f2f(0x1eb)][_0x155f2f(0x21a)]());continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x3fd6cd=>{const _0x1419d0=a172_0x1ee7e3,_0x2cf4ef={'IqeRF':function(_0x5dfd61,_0x209e55,_0x195fe5){return _0x5dfd61(_0x209e55,_0x195fe5);},'wCSEA':_0x1419d0(0x1fb),'qQADI':_0x1419d0(0x21e),'mNPgg':function(_0x151139,_0x1b4dd2,_0x34206b,_0x27bed0){return _0x151139(_0x1b4dd2,_0x34206b,_0x27bed0);},'OsMmV':_0x1419d0(0x169),'fZDFF':_0x1419d0(0x226),'gCXPH':function(_0x23227c,_0x3c06a5,_0x10dd4f,_0x417c71){return _0x23227c(_0x3c06a5,_0x10dd4f,_0x417c71);},'hCvqA':_0x1419d0(0x23f),'fCslu':'commands','EvgdJ':_0x1419d0(0x1f9),'xNdlZ':_0x1419d0(0x1ae),'XrfHI':function(_0x16d1f7,_0x410758){return _0x16d1f7(_0x410758);},'ZRkUL':function(_0x4cf897,_0xbc58b1){return _0x4cf897===_0xbc58b1;},'olBZs':'true','BoVzn':_0x1419d0(0x1f1)};if(!_0x3fd6cd[_0x1419d0(0x1fb)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x3fd6cd['accessibility'][_0x1419d0(0x19a)])return exports[_0x1419d0(0x1fa)](_0x3fd6cd[_0x1419d0(0x1fb)]),[null,null];if(_0x2cf4ef[_0x1419d0(0x18d)](nestedKeyValue,_0x3fd6cd,[_0x2cf4ef['wCSEA'],_0x2cf4ef[_0x1419d0(0x22d)]])){const {accessibilityToken:_0x1e6279,scannerVersion:_0x2de49f,scannerProcessingTimeout:_0x3e4cae,isMobileScanningEnabledForGroup:_0xfa5fb1}=_0x2cf4ef[_0x1419d0(0x229)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)][_0x1419d0(0x233)],_0x2cf4ef[_0x1419d0(0x225)],_0x2cf4ef['fZDFF']),_0x40d661={'scripts':_0x2cf4ef[_0x1419d0(0x1dd)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)]['scripts'],_0x2cf4ef['OsMmV'],_0x2cf4ef[_0x1419d0(0x23a)])};_0x40d661[_0x2cf4ef[_0x1419d0(0x170)]]=_0x3fd6cd['accessibility']['options']['commandsToWrap'][_0x1419d0(0x1b2)];const _0x4a13ef=_0x2cf4ef[_0x1419d0(0x229)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)][_0x1419d0(0x233)],_0x2cf4ef[_0x1419d0(0x225)],_0x2cf4ef['fZDFF']);_0x40d661[_0x2cf4ef[_0x1419d0(0x1c1)]]=_0x4a13ef[_0x2cf4ef[_0x1419d0(0x24c)]],scripts[_0x1419d0(0x180)](_0x40d661),scripts[_0x1419d0(0x246)]();let _0x7d910e=process['env'][_0x1419d0(0x206)];_0x7d910e=!!_0x7d910e?JSON[_0x1419d0(0x16e)](_0x7d910e):{},_0x7d910e[_0x1419d0(0x1c8)]=_0x2de49f,process['env'][_0x1419d0(0x206)]=JSON[_0x1419d0(0x176)](_0x7d910e),process[_0x1419d0(0x1af)]['BS_A11Y_JWT']=_0x1e6279,process[_0x1419d0(0x1af)][_0x1419d0(0x1cf)]=_0x2cf4ef[_0x1419d0(0x1ad)](String,_0x2cf4ef[_0x1419d0(0x224)](_0xfa5fb1,!![])||_0x2cf4ef['ZRkUL'](_0xfa5fb1,_0x2cf4ef['olBZs'])),logger[_0x1419d0(0x1fd)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x3fd6cd['build_hashed_id']);const _0x3f05b1=accessibilityHelper[_0x1419d0(0x1d8)](_0x1e6279);return _0x3f05b1&&bsSetupHelper['isTrue'](_0x3f05b1['skipCDPConnectOverride'])&&(process[_0x1419d0(0x1af)][_0x1419d0(0x1ed)]=!![],logger[_0x1419d0(0x1fd)](_0x2cf4ef[_0x1419d0(0x21c)])),[_0x1e6279,_0x3fd6cd[_0x1419d0(0x22a)],_0x3e4cae];}return[null,null];},exports['handleErrorForObservability']=_0x327c73=>{const _0x5236a9=a172_0x1ee7e3,_0x3a3baf={};_0x3a3baf[_0x5236a9(0x23d)]='0|6|3|5|4|2|1',_0x3a3baf[_0x5236a9(0x1f6)]=_0x5236a9(0x1e5),_0x3a3baf['qRSre']='false';const _0x534f04=_0x3a3baf,_0x4d837c=_0x534f04['NkOcp'][_0x5236a9(0x18b)]('|');let _0x45352e=0x0;while(!![]){switch(_0x4d837c[_0x45352e++]){case'0':process[_0x5236a9(0x1af)]['BROWSERSTACK_TESTHUB_UUID']=_0x534f04[_0x5236a9(0x1f6)];continue;case'1':exports[_0x5236a9(0x20a)](_0x327c73,testHubConstants[_0x5236a9(0x1a9)]);continue;case'2':process['env'][_0x5236a9(0x185)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'3':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x534f04[_0x5236a9(0x190)];continue;case'4':process['env'][_0x5236a9(0x228)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'5':process[_0x5236a9(0x1af)][_0x5236a9(0x183)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'6':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x534f04[_0x5236a9(0x1f6)];continue;}break;}},exports[a172_0x1ee7e3(0x1fa)]=_0x482b92=>{const _0xb16e77=a172_0x1ee7e3,_0x3c4859={};_0x3c4859[_0xb16e77(0x207)]=_0xb16e77(0x1e1),_0x3c4859[_0xb16e77(0x211)]=_0xb16e77(0x1e5),_0x3c4859[_0xb16e77(0x234)]=_0xb16e77(0x1c3);const _0xa76ad2=_0x3c4859,_0x44a95e=_0xa76ad2['WcLoa'][_0xb16e77(0x18b)]('|');let _0x299a0f=0x0;while(!![]){switch(_0x44a95e[_0x299a0f++]){case'0':exports[_0xb16e77(0x20a)](_0x482b92,testHubConstants[_0xb16e77(0x199)]);continue;case'1':process[_0xb16e77(0x1af)][_0xb16e77(0x227)]=_0xa76ad2[_0xb16e77(0x211)];continue;case'2':process[_0xb16e77(0x1af)][_0xb16e77(0x1d5)]=_0xa76ad2[_0xb16e77(0x234)];continue;case'3':process[_0xb16e77(0x1af)][_0xb16e77(0x1f5)]=_0xa76ad2[_0xb16e77(0x211)];continue;case'4':process[_0xb16e77(0x1af)][_0xb16e77(0x20d)]=_0xa76ad2[_0xb16e77(0x234)];continue;}break;}},exports[a172_0x1ee7e3(0x20a)]=(_0x51feb1,_0x295498='')=>{const _0x3b450c=a172_0x1ee7e3,_0x9baf66={};_0x9baf66[_0x3b450c(0x20f)]=function(_0x1095c8,_0x230db6){return _0x1095c8===_0x230db6;};const _0x39565f=_0x9baf66;if(_0x39565f[_0x3b450c(0x20f)](_0x51feb1,undefined)){logger[_0x3b450c(0x16a)](_0x295498[_0x3b450c(0x213)]()+_0x3b450c(0x19e));return;}for(const _0x5f4fef of _0x51feb1[_0x3b450c(0x175)]){const _0x344357=_0x5f4fef['key'],_0x5d1898=_0x5f4fef[_0x3b450c(0x21b)];if(_0x5d1898)switch(_0x344357){case testHubConstants[_0x3b450c(0x188)][_0x3b450c(0x1f7)]:logger[_0x3b450c(0x16a)](_0x5d1898);break;case testHubConstants['ERROR'][_0x3b450c(0x1dc)]:logger[_0x3b450c(0x235)](_0x5d1898);break;case testHubConstants[_0x3b450c(0x188)][_0x3b450c(0x178)]:logger[_0x3b450c(0x16a)](_0x5d1898);break;default:logger['error'](_0x5d1898);}}};const jsonifyAccessibilityArray=(_0x2a69bf,_0x4a5f8e,_0x389619)=>{const _0x3c55f1=a172_0x1ee7e3,_0x3839ed={};return _0x2a69bf[_0x3c55f1(0x218)](_0x18b7ac=>{_0x3839ed[_0x18b7ac[_0x4a5f8e]]=_0x18b7ac[_0x389619];}),_0x3839ed;};exports[a172_0x1ee7e3(0x1c0)]=_0x84f903=>{const _0x2a91f0=a172_0x1ee7e3;_0x84f903[_0x2a91f0(0x19c)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x84f903[_0x2a91f0(0x19c)]);_0x84f903[_0x2a91f0(0x22a)]&&(process[_0x2a91f0(0x1af)][_0x2a91f0(0x227)]=_0x84f903['build_hashed_id'],logger[_0x2a91f0(0x1fd)](_0x2a91f0(0x19f)+_0x84f903[_0x2a91f0(0x22a)]));;},exports[a172_0x1ee7e3(0x198)]=(_0x9f54eb='',_0x23100c='')=>{const _0x1db1a2=a172_0x1ee7e3,_0x1efa5d={'CupCH':function(_0x30d68a){return _0x30d68a();},'LIBNX':function(_0x595678,_0x4b180d){return _0x595678===_0x4b180d;},'YRCVr':_0x1db1a2(0x1fe),'GswqO':_0x1db1a2(0x16b),'OKlAQ':_0x1db1a2(0x21f),'GcsBB':_0x1db1a2(0x248),'RIJXY':_0x1db1a2(0x173),'rWkNu':function(_0x25e651){return _0x25e651();}};if(exports[_0x1db1a2(0x1f0)]()&&!exports['isAccessibilityEnabled']()&&!_0x1efa5d[_0x1db1a2(0x210)](isTestObservabilitySession)){if(_0x1efa5d['LIBNX'](_0x23100c,_0x1efa5d[_0x1db1a2(0x23e)]))return![];if([_0x1efa5d['GswqO'],_0x1efa5d[_0x1db1a2(0x203)]][_0x1db1a2(0x1ce)](_0x9f54eb))return![];return!![];}if(exports[_0x1db1a2(0x212)]()&&!_0x1efa5d[_0x1db1a2(0x210)](isTestObservabilitySession)){if([_0x1efa5d[_0x1db1a2(0x244)],_0x1efa5d['RIJXY'],_0x1efa5d[_0x1db1a2(0x223)]][_0x1db1a2(0x1ce)](_0x9f54eb))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x1efa5d['rWkNu'](isTestObservabilitySession)||exports[_0x1db1a2(0x1f0)]();},exports[a172_0x1ee7e3(0x1ec)]=(_0x20ae70,_0x1c9f08,_0x3e1e35='',_0x2c1d45)=>{const _0x1e5f1c=a172_0x1ee7e3,_0x21d53e={'IAxoV':_0x1e5f1c(0x248),'KwmoN':_0x1e5f1c(0x173),'NqcCo':function(_0x18c9d6,_0x3b8acd){return _0x18c9d6===_0x3b8acd;},'pQTOA':_0x1e5f1c(0x1be),'ZnwRP':_0x1e5f1c(0x1c2),'TPIFL':_0x1e5f1c(0x1fb),'FTBRD':function(_0x3d2e7c,_0x3057f7){return _0x3d2e7c&&_0x3057f7;},'xOzDm':function(_0x585041,_0x1e30e2){return _0x585041===_0x1e30e2;},'zQlDs':function(_0x1d9bf9,_0x2afc69){return _0x1d9bf9+_0x2afc69;},'GSqGs':function(_0x5c1b67,_0x283b45){return _0x5c1b67+_0x283b45;},'tLgTt':function(_0x289905,_0x2aadfd){return _0x289905===_0x2aadfd;},'rbGpX':function(_0x5bab54,_0x3747c8){return _0x5bab54(_0x3747c8);},'OGxXu':'../../bin/jasmine/testRunMap.js','sNAVd':function(_0x13a296,_0x448ec6){return _0x13a296+_0x448ec6;},'suMRz':function(_0x191520,_0x23ff65){return _0x191520+_0x23ff65;},'lGNFo':function(_0xb3dd34,_0x30d11d){return _0xb3dd34&&_0x30d11d;},'oKeBU':function(_0x3e8302,_0x40738c){return _0x3e8302===_0x40738c;},'RgmZP':_0x1e5f1c(0x193),'GXRIj':function(_0x57a3d9,_0x583e1f){return _0x57a3d9===_0x583e1f;},'VAszf':function(_0x409695,_0x399f20){return _0x409695===_0x399f20;},'yXTtV':function(_0x72ae1a,_0x48fbfc){return _0x72ae1a&&_0x48fbfc;},'iOPJa':_0x1e5f1c(0x1a0)};if(![_0x21d53e[_0x1e5f1c(0x222)],_0x21d53e['KwmoN']][_0x1e5f1c(0x1ce)](_0x1c9f08)&&exports['isAccessibilityEnabled']()){const _0x1263b9={};if(_0x21d53e['NqcCo'](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x24b)])){const _0x19284e=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper[_0x1e5f1c(0x1b4)](_0x3e1e35[_0x1e5f1c(0x205)](),!![]),_0x37f2c4=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x168)](_0x37f2c4,_0x19284e);}if(_0x21d53e[_0x1e5f1c(0x1b8)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x17f)])){const _0x1830fa=_0x21d53e[_0x1e5f1c(0x1a7)](_0x21d53e[_0x1e5f1c(0x219)](_0x20ae70[_0x1e5f1c(0x23b)][_0x1e5f1c(0x19d)]('\x20'),'\x20'),_0x3e1e35['name']),_0x45a443=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x1830fa,![]),_0xec79a8=browserStackGlobals[_0x1e5f1c(0x1c2)];_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e['FTBRD'](_0xec79a8,_0x45a443);}if(_0x21d53e[_0x1e5f1c(0x20e)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x1d6)])){const _0x583083=_0x21d53e[_0x1e5f1c(0x1f4)](require,_0x21d53e[_0x1e5f1c(0x18c)]),_0xf80b5f=_0x3e1e35&&_0x583083[_0x1e5f1c(0x1e9)](_0x3e1e35['id'])||_0x20ae70[_0x1e5f1c(0x18f)];_0xf80b5f&&(_0x20ae70[_0x1e5f1c(0x18f)]=_0xf80b5f);const _0x407320=_0x21d53e[_0x1e5f1c(0x1b6)](_0x21d53e[_0x1e5f1c(0x22c)](_0x20ae70[_0x1e5f1c(0x23b)][_0x1e5f1c(0x19d)]('\x20'),'\x20'),_0x3e1e35['description']||_0x20ae70['name']),_0x384f95=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper[_0x1e5f1c(0x1b4)](_0x407320,![]),_0x17de4c=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x17b)](_0x17de4c,_0x384f95);}if(_0x21d53e['oKeBU'](_0x2c1d45,FRAMEWORKS['PLAYWRIGHT'])){if(_0x21d53e[_0x1e5f1c(0x172)](_0x1c9f08,_0x21d53e[_0x1e5f1c(0x1a5)]))return;_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x20ae70['uuid']);}if(_0x21d53e[_0x1e5f1c(0x1e8)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x1c4)])){const _0x5b00c0=accessibilityHelper[_0x1e5f1c(0x1b4)](_0x3e1e35[_0x1e5f1c(0x205)](),!![]),_0x5e51de=global[_0x1e5f1c(0x184)];_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x168)](_0x5e51de,_0x5b00c0);}if(_0x21d53e[_0x1e5f1c(0x202)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x214)])){const _0x2b00a5=accessibilityHelper[_0x1e5f1c(0x1b4)](null,![],_0x20ae70[_0x1e5f1c(0x18a)]),_0x25d8e3=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e['TPIFL']]=_0x21d53e[_0x1e5f1c(0x1bb)](_0x25d8e3,_0x2b00a5);}_0x20ae70[_0x21d53e['iOPJa']]=_0x1263b9;}},exports[a172_0x1ee7e3(0x1e6)]=_0x160da5=>{const _0x24201f=a172_0x1ee7e3,_0x326800={};_0x326800[_0x24201f(0x1bd)]=function(_0x4af1ff,_0x39ab51){return _0x4af1ff>_0x39ab51;};const _0x2d26b1=_0x326800;let _0x25965c={};if(_0x2d26b1['thNXN'](Object[_0x24201f(0x174)](testData)[_0x24201f(0x1fc)],0x0))return testData;_0x25965c=JestTestDetails['getTestData']();if(_0x2d26b1['thNXN'](Object[_0x24201f(0x174)](_0x25965c)[_0x24201f(0x1fc)],0x0))return _0x25965c;return _0x25965c;},exports[a172_0x1ee7e3(0x181)]=(_0x2ac122,_0x44a70d={})=>{const _0x35bb87=a172_0x1ee7e3;if(bsSetupHelper[_0x35bb87(0x237)](_0x44a70d[_0x35bb87(0x240)]))return;switch(_0x2ac122){case FRAMEWORKS['MOCHA']:testData=_0x44a70d[_0x35bb87(0x240)];break;case FRAMEWORKS[_0x35bb87(0x17f)]:JestTestDetails[_0x35bb87(0x204)](_0x44a70d[_0x35bb87(0x240)]);break;case FRAMEWORKS[_0x35bb87(0x1d6)]:testData=_0x44a70d['test_run'];break;default:break;}},exports[a172_0x1ee7e3(0x208)]=_0x42254e=>{const _0x318280=a172_0x1ee7e3,_0x3b3365={};_0x3b3365[_0x318280(0x1bc)]=function(_0x5b2d81,_0x3c6143){return _0x5b2d81!==_0x3c6143;},_0x3b3365[_0x318280(0x1db)]=function(_0x1789d7,_0x445494){return _0x1789d7!==_0x445494;};const _0x2325f=_0x3b3365;if(_0x2325f[_0x318280(0x1bc)](_0x42254e['accessibility'],null)&&_0x2325f[_0x318280(0x1db)](_0x42254e['accessibility'],undefined))return _0x42254e['accessibility'];let _0x3bfbc2=![],_0x2f37e3=![];if(_0x42254e['platforms'])for(const _0x23b877 of _0x42254e[_0x318280(0x194)]){_0x2325f[_0x318280(0x1db)](_0x23b877['accessibility'],null)&&_0x2325f['vzRSU'](_0x23b877[_0x318280(0x1fb)],undefined)&&(_0x3bfbc2=_0x3bfbc2||bsSetupHelper['isTrue'](_0x23b877[_0x318280(0x1fb)]),_0x2f37e3=!![]);}if(_0x2f37e3)return _0x3bfbc2;return null;},exports[a172_0x1ee7e3(0x1ba)]=_0x5bd1db=>{const _0xb1ae9c=a172_0x1ee7e3;if(!_0x5bd1db)return{};const _0x42ae3a=new OrchestrationUtils(_0x5bd1db);return _0x42ae3a[_0xb1ae9c(0x16f)]();},exports[a172_0x1ee7e3(0x192)]=_0x32e276=>{const _0x1a2b73=a172_0x1ee7e3,_0x54cf7c={'xbSQg':function(_0x9e5c1b){return _0x9e5c1b();},'maEak':function(_0x179e09,_0x3fe9e0){return _0x179e09===_0x3fe9e0;},'ojRsD':'true'};let _0x4c8621=![],_0x3b1958=![];if(bsSetupHelper[_0x1a2b73(0x17e)]()&&bsSetupHelper['isAppAutomateSession'](_0x32e276))_0x3b1958=!![];else bsSetupHelper[_0x1a2b73(0x17e)]()&&(_0x4c8621=!![]);return Object['assign']({'observability':_0x54cf7c['xbSQg'](isTestObservabilitySession),'accessibility':exports[_0x1a2b73(0x208)](_0x32e276),'percy':_0x32e276['percy']||![],'sr_automation':_0x54cf7c['maEak'](process[_0x1a2b73(0x1af)][_0x1a2b73(0x197)],_0x54cf7c[_0x1a2b73(0x1de)])||_0x32e276[_0x1a2b73(0x191)]||![],'automate':_0x4c8621,'app_automate':_0x3b1958,'turboscale':bsSetupHelper[_0x1a2b73(0x20c)](_0x32e276),'lts':LoadTestModule[_0x1a2b73(0x239)](_0x32e276)},bsSetupHelper['getCentralUser']());};function a172_0x22db(){const _0x407db1=['CREDENTIALS_FOR_CRASH_REPORTING','NkOcp','YRCVr','command','test_run','3794310PgtzGn','232najfxX','../../bin/utils/constants.js','GcsBB','BGMyx','toJson','../ats/helper','HookRunStarted','XQYiC','startsWith','MOCHA','xNdlZ','LrhBV','FTBRD','name','error','LogCreated','../test-observability/constants.js','OCzMe','parse','getBuildStartData','fCslu','TPIFL','NqcCo','HookRunFinished','keys','errors','stringify','PAlJw','DEPRECATED','../accessibility-automation/scripts.js',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','lGNFo','10939940BiULCP','lWULB','isBrowserstackInfra','JEST','parseFromJson','setCurrentTestData','setPercyFlag','BS_TESTOPS_JWT','accessibilityPlatform','BS_TESTOPS_ALLOW_SCREENSHOTS','../helper','pQTOA','ERROR','1446652BBWNao','tags','split','OGxXu','IqeRF','getFrameworkDetails','uuid','qRSre','sr_automation','getProductMapForBuildStartCall','TestRunStarted','platforms','TEST_REPORTING_ANALYTICS','63CJuuVg','BROWSERSTACK_SR_AUTOMATION','shouldProcessEventForTesthub','ACCESSIBILITY','success','tUttY','jwt','join','\x20Build\x20creation\x20failed','BROWSERSTACK_TESTHUB_UUID:\x20','product_map','percy','getProductMap','../test-orchestration/orchestrationUtils.js','MoKTb','RgmZP','zrbLq','zQlDs','ZnwRP','OBSERVABILITY','argv','BROWSERSTACK_ACCESSIBILITY','config','XrfHI','goog:chromeOptions','env','getGlobal','username','commands','ZzPJS','shouldScanTestForAccessibility','observability','sNAVd','KZQzI','xOzDm','trim','getTestOrchestrationBuildStartData','yXTtV','vzRSU','thNXN','bstackA11yShouldScan','ptfxH','setTestHubCommonMetaInfo','EvgdJ','isAccessibilityPlatform','false','CODECEPT','1571199heyFuv','slice','FRAMEWORK_DETAILS','scannerVersion','../accessibility-automation/helper','BS_TESTOPS_BUILD_COMPLETED','../logger','../helper.js','../../bin/playwright/reporter/test-details.js','includes','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getTestFrameworkDetails','isAppAutomateSession','69066dDAHsD','PBljN','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','JASMINE','assign','parseA11yJwtPayload','BROWSERSTACK_PERCY','string','taEOV','ACCESS_DENIED','gCXPH','ojRsD','BZpbu','QyySy','1|3|2|4|0','handleErrorForObservability','./constants.js','testManagementOptions','null','getCurrentTestData','KlEdS','GXRIj','get','testPlanId','allow_screenshots','appendTesthubParams','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','PHHaw','isPercyBuild','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','BROWSERSTACK_TEST_PLAN_ID','ENV_VAR','rbGpX','BROWSERSTACK_TESTHUB_JWT','klWwd','INVALID_CREDENTIALS','true','nonBStackInfraA11yChromeOptions','handleErrorForAccessibility','accessibility','length','debug','uploadEventData','TyHiL','5vIncaF','password','VAszf','OKlAQ','setTestData','titlePath','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','WcLoa','getAccessibilityValueFromYml','getCentralUser','logBuildError','256860xWRREe','isTurboScaleSession','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','tLgTt','HxvAT','CupCH','HGUjT','isAccessibilityEnabled','toUpperCase','CUCUMBER','FVWca','TUzIe','../../bin/v2/modules/loadTestModule','forEach','GSqGs','toString','message','BoVzn','isTrue','options','CBTSessionCreated','setTestObservabilityVariables','477351JolnXj','IAxoV','GswqO','ZRkUL','OsMmV','value','BROWSERSTACK_TESTHUB_UUID','BS_TESTOPS_BUILD_HASHED_ID','mNPgg','build_hashed_id','kUEnR','suMRz','qQADI','YiAda','1|0|3|5|2|4','gBsMq','qLoPu','hxujI','capabilities','NGVWc','info','getTestPlanId','isUndefined','XQoVa','isLTSSession','hCvqA','scopes'];a172_0x22db=function(){return _0x407db1;};return a172_0x22db();}function a172_0xcf59(_0x420bb5,_0x536554){const _0x22db8e=a172_0x22db();return a172_0xcf59=function(_0xcf5997,_0x21fd7e){_0xcf5997=_0xcf5997-0x168;let _0x4f9cba=_0x22db8e[_0xcf5997];return _0x4f9cba;},a172_0xcf59(_0x420bb5,_0x536554);}const normalizeTestPlanId=_0x180301=>{const _0x4eb0dc=a172_0x1ee7e3,_0x44c6c5={};_0x44c6c5[_0x4eb0dc(0x1e0)]=function(_0xb92ca4,_0x34fdf3){return _0xb92ca4!==_0x34fdf3;},_0x44c6c5['PAlJw']=_0x4eb0dc(0x1da),_0x44c6c5[_0x4eb0dc(0x1a4)]=function(_0x40222a,_0x1dc244){return _0x40222a>_0x1dc244;};const _0x314b66=_0x44c6c5;if(_0x314b66[_0x4eb0dc(0x1e0)](typeof _0x180301,_0x314b66[_0x4eb0dc(0x177)]))return undefined;const _0xec8c1b=_0x180301[_0x4eb0dc(0x1b9)]();return _0x314b66['MoKTb'](_0xec8c1b[_0x4eb0dc(0x1fc)],0x0)?_0xec8c1b:undefined;},readTestPlanIdFromCliArgs=(_0x1500b0=process[a172_0x1ee7e3(0x1aa)])=>{const _0x3de5c8=a172_0x1ee7e3,_0x594718={};_0x594718['YPSJd']=function(_0x1343cc,_0x37dce2){return _0x1343cc<_0x37dce2;},_0x594718[_0x3de5c8(0x249)]=function(_0x1ac895,_0x4262f5){return _0x1ac895===_0x4262f5;},_0x594718[_0x3de5c8(0x1a6)]=function(_0x2272bf,_0x110a86){return _0x2272bf+_0x110a86;},_0x594718[_0x3de5c8(0x16d)]=function(_0x2cd463,_0x106ee2){return _0x2cd463+_0x106ee2;};const _0x4b2b8b=_0x594718,_0x23e75e='--'+testHubConstants[_0x3de5c8(0x1ee)];for(let _0x3bf4c0=0x0;_0x4b2b8b['YPSJd'](_0x3bf4c0,_0x1500b0[_0x3de5c8(0x1fc)]);_0x3bf4c0+=0x1){const _0x583fdb=_0x1500b0[_0x3bf4c0];if(_0x4b2b8b[_0x3de5c8(0x249)](_0x583fdb,_0x23e75e)){const _0x1e8a73=_0x1500b0[_0x4b2b8b[_0x3de5c8(0x1a6)](_0x3bf4c0,0x1)];if(!_0x1e8a73||_0x1e8a73[_0x3de5c8(0x24a)]('--'))return undefined;return _0x1e8a73;}if(_0x583fdb[_0x3de5c8(0x24a)](_0x23e75e+'='))return _0x583fdb[_0x3de5c8(0x1c6)](_0x4b2b8b[_0x3de5c8(0x16d)](_0x23e75e['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x37d356={})=>{const _0x231e77=a172_0x1ee7e3,_0x2417ad={'kUEnR':function(_0x52acca,_0x58c59b){return _0x52acca(_0x58c59b);}};return _0x2417ad[_0x231e77(0x22b)](normalizeTestPlanId,_0x37d356&&_0x37d356['testManagementOptions']&&_0x37d356[_0x231e77(0x1e4)][_0x231e77(0x1ea)]);};exports[a172_0x1ee7e3(0x236)]=(_0x3d357e={},_0x39a30f=process[a172_0x1ee7e3(0x1aa)],_0x9734f5=process[a172_0x1ee7e3(0x1af)])=>{const _0xb982a4=a172_0x1ee7e3,_0x3ab2a4={'PBljN':function(_0x1b5124,_0x182914){return _0x1b5124(_0x182914);},'gYRRh':function(_0xdcd2c7,_0x5c5524){return _0xdcd2c7(_0x5c5524);},'KZQzI':function(_0x1d3678,_0x506430){return _0x1d3678(_0x506430);},'ZzPJS':function(_0x300a63,_0x49088d){return _0x300a63(_0x49088d);}};try{const _0x92f3df=_0x3ab2a4[_0xb982a4(0x1d3)](normalizeTestPlanId,_0x3ab2a4['gYRRh'](readTestPlanIdFromCliArgs,_0x39a30f));if(_0x92f3df)return _0x92f3df;const _0x1bf9f8=_0x3ab2a4[_0xb982a4(0x1b7)](normalizeTestPlanId,_0x9734f5&&_0x9734f5[testHubConstants[_0xb982a4(0x1f3)][_0xb982a4(0x1f2)]]);if(_0x1bf9f8)return _0x1bf9f8;return _0x3ab2a4[_0xb982a4(0x1b3)](readTestPlanIdFromConfig,_0x3d357e);}catch(_0x502b8f){return logger[_0xb982a4(0x1fd)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x502b8f&&_0x502b8f[_0xb982a4(0x21b)]?_0x502b8f[_0xb982a4(0x21b)]:_0x502b8f)),undefined;}};
@@ -1 +1 @@
1
- const a173_0x1ce470=a173_0x329c;function a173_0x2003(){const _0x125d2d=['9kAJJMA','64366lRKbJk','fireFunnelTestEvent','exports','2169928TyecoE','2329467OkjLlo','11vqOfyK','5415560jBpCGa','830806VWdYGn','457992UYRtJh','12rxzcyB','cancel','666ANjUCX','zCEfD','./utilities','20780oIpZbb','busAM'];a173_0x2003=function(){return _0x125d2d;};return a173_0x2003();}(function(_0x10418b,_0x18dbad){const _0x154773=a173_0x329c,_0x26e005=_0x10418b();while(!![]){try{const _0x15dd09=parseInt(_0x154773(0x9f))/0x1+parseInt(_0x154773(0x98))/0x2*(parseInt(_0x154773(0xa1))/0x3)+-parseInt(_0x154773(0xa0))/0x4+parseInt(_0x154773(0xa6))/0x5*(-parseInt(_0x154773(0xa3))/0x6)+parseInt(_0x154773(0x9c))/0x7+parseInt(_0x154773(0x9b))/0x8*(parseInt(_0x154773(0x97))/0x9)+parseInt(_0x154773(0x9e))/0xa*(-parseInt(_0x154773(0x9d))/0xb);if(_0x15dd09===_0x18dbad)break;else _0x26e005['push'](_0x26e005['shift']());}catch(_0x55a16d){_0x26e005['push'](_0x26e005['shift']());}}}(a173_0x2003,0x6ceee));const utilities=require(a173_0x1ce470(0xa5));function a173_0x329c(_0x3b1549,_0x25e14d){const _0x200345=a173_0x2003();return a173_0x329c=function(_0x329cd3,_0x3a9f0f){_0x329cd3=_0x329cd3-0x97;let _0x26b1e4=_0x200345[_0x329cd3];return _0x26b1e4;},a173_0x329c(_0x3b1549,_0x25e14d);}module[a173_0x1ce470(0x9a)]=(_0x3a2891,_0x1e64b3,_0x5e3770,_0x1f6946,_0x4d8d64,_0x33731a)=>{const _0xeae094=a173_0x1ce470,_0x53b856={'azGDK':function(_0x87f6a,_0x22abb1){return _0x87f6a-_0x22abb1;},'busAM':function(_0x25c59c,_0x3003da){return _0x25c59c(_0x3003da);},'zCEfD':function(_0x163a13,_0x134216,_0x4d08dd){return _0x163a13(_0x134216,_0x4d08dd);}};let _0x5d863f,_0x14e753=![];const _0x4b7ae1=new Promise((_0xb35f50,_0x4e326b)=>{const _0x4c8738=a173_0x329c;_0x5d863f=_0x53b856[_0x4c8738(0xa4)](setTimeout,()=>{const _0x3ef863=_0x4c8738;if(!_0x14e753){const _0x80b79e={'status':''+_0x1e64b3,'timeTaken':_0x53b856['azGDK'](new Date(),_0x1f6946)};utilities[_0x3ef863(0x99)](_0x5e3770,_0x80b79e,_0x4d8d64,_0x33731a),_0x53b856[_0x3ef863(0xa7)](_0x4e326b,new Error(_0x1e64b3));}},_0x3a2891);});return _0x4b7ae1[_0xeae094(0xa2)]=()=>{const _0x810da5=_0xeae094;_0x14e753=!![],_0x53b856[_0x810da5(0xa7)](clearTimeout,_0x5d863f);},_0x4b7ae1;};
1
+ function a173_0x20c9(_0x391a8b,_0x1efb87){const _0x3b55fe=a173_0x3b55();return a173_0x20c9=function(_0x20c96c,_0x15dabc){_0x20c96c=_0x20c96c-0x92;let _0x220007=_0x3b55fe[_0x20c96c];return _0x220007;},a173_0x20c9(_0x391a8b,_0x1efb87);}const a173_0x1c3d98=a173_0x20c9;(function(_0x14fdfc,_0x527d24){const _0x1a4c83=a173_0x20c9,_0x135510=_0x14fdfc();while(!![]){try{const _0x498865=-parseInt(_0x1a4c83(0x96))/0x1+-parseInt(_0x1a4c83(0x97))/0x2*(parseInt(_0x1a4c83(0xa0))/0x3)+-parseInt(_0x1a4c83(0x95))/0x4+-parseInt(_0x1a4c83(0x93))/0x5+-parseInt(_0x1a4c83(0x92))/0x6+-parseInt(_0x1a4c83(0x98))/0x7*(-parseInt(_0x1a4c83(0x9b))/0x8)+parseInt(_0x1a4c83(0x9a))/0x9;if(_0x498865===_0x527d24)break;else _0x135510['push'](_0x135510['shift']());}catch(_0x3b59b3){_0x135510['push'](_0x135510['shift']());}}}(a173_0x3b55,0xa3f62));const utilities=require(a173_0x1c3d98(0x9c));function a173_0x3b55(){const _0x96c5bc=['wzFAh','6ANZsvh','4179402rIKslj','6385550wVZxEw','DZLNT','3814916ysVIzZ','712357obiiOU','884998nyYbiz','7FuKXpd','cancel','39322089KXcNBf','6617808jwkADu','./utilities','exports','khKIg'];a173_0x3b55=function(){return _0x96c5bc;};return a173_0x3b55();}module[a173_0x1c3d98(0x9d)]=(_0x32a208,_0x4857c0,_0x460f10,_0x3ba5e0,_0x5e870,_0x55ea75)=>{const _0x3dbf5e=a173_0x1c3d98,_0x575b26={'khKIg':function(_0x4ac10b,_0x2d8a90){return _0x4ac10b-_0x2d8a90;},'wzFAh':function(_0x15c059,_0x3a5b5d){return _0x15c059(_0x3a5b5d);},'DZLNT':function(_0x4979af,_0x3a871e,_0x41146b){return _0x4979af(_0x3a871e,_0x41146b);}};let _0x25166b,_0x3f4c29=![];const _0x375e42=new Promise((_0x18a585,_0x3faef2)=>{const _0x2fb0d7=a173_0x20c9;_0x25166b=_0x575b26[_0x2fb0d7(0x94)](setTimeout,()=>{const _0x13deb0=_0x2fb0d7;if(!_0x3f4c29){const _0x3a0d8b={'status':''+_0x4857c0,'timeTaken':_0x575b26[_0x13deb0(0x9e)](new Date(),_0x3ba5e0)};utilities['fireFunnelTestEvent'](_0x460f10,_0x3a0d8b,_0x5e870,_0x55ea75),_0x575b26[_0x13deb0(0x9f)](_0x3faef2,new Error(_0x4857c0));}},_0x32a208);});return _0x375e42[_0x3dbf5e(0x99)]=()=>{const _0x2468ba=_0x3dbf5e;_0x3f4c29=!![],_0x575b26[_0x2468ba(0x9f)](clearTimeout,_0x25166b);},_0x375e42;};
@@ -1 +1 @@
1
- const a174_0x45b3d8=a174_0x3b6f;(function(_0x1d1546,_0x647f1a){const _0x596ede=a174_0x3b6f,_0x3e9905=_0x1d1546();while(!![]){try{const _0x496563=-parseInt(_0x596ede(0x1ba))/0x1+-parseInt(_0x596ede(0x183))/0x2*(-parseInt(_0x596ede(0x1d4))/0x3)+-parseInt(_0x596ede(0x171))/0x4+parseInt(_0x596ede(0x1d3))/0x5+-parseInt(_0x596ede(0x1b6))/0x6+-parseInt(_0x596ede(0x179))/0x7*(-parseInt(_0x596ede(0x1db))/0x8)+parseInt(_0x596ede(0x1e2))/0x9;if(_0x496563===_0x647f1a)break;else _0x3e9905['push'](_0x3e9905['shift']());}catch(_0x5e285b){_0x3e9905['push'](_0x3e9905['shift']());}}}(a174_0x16f7,0x96023));function a174_0x3b6f(_0x415ab3,_0x56f93f){const _0x16f76a=a174_0x16f7();return a174_0x3b6f=function(_0x3b6fa5,_0x39c498){_0x3b6fa5=_0x3b6fa5-0x168;let _0x503c87=_0x16f76a[_0x3b6fa5];return _0x503c87;},a174_0x3b6f(_0x415ab3,_0x56f93f);}const os=require('os'),util=require(a174_0x45b3d8(0x16f)),fs=require('fs'),{getProductMap}=require(a174_0x45b3d8(0x170)),logger=require(a174_0x45b3d8(0x1e0))['winstonLogger'],constants=require(a174_0x45b3d8(0x18b)),testHubConstants=require(a174_0x45b3d8(0x1be)),{getTransformPath}=require(a174_0x45b3d8(0x19b)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a174_0x45b3d8(0x18b)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a174_0x45b3d8(0x1a9)),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a174_0x45b3d8(0x1a9)),{isTestObservabilitySession}=require(a174_0x45b3d8(0x176));function a174_0x16f7(){const _0x48997e=['seleniumVersion','getOptimalHubUrl','errorMessage','BROWSERSTACK_TESTHUB_UUID','length','93276vbctst','deviceName','type','requirePWModule','641974FPJKfd','framework','osVersion','sendLogs','../helpers/testhub/constants','finalExecution','_buildHashedId','playwrightVersion','event_properties','uweVc','sanitizeBrowserStackConfig','ENV_VAR','chmodSync','unknown','zNRqV','codeceptjs','MmmVn','bCWcF','POST','user_killed','killSignal','\x20has\x20now\x20read/write/execute\x20permissions.','unhandledErrors','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','W_OK','470105LWMHVb','546EcyIsf','IqZst','accessSync','error','eXAPF','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','hwVIp','840mkndrL','getTestFrameworkDetails','nodeRequest','parse','name','./logger','isModifiable','9252504HqUqMP','buildName','deuJM','Error\x20in\x20firing\x20request\x20to\x20','AUTOMATE','forEach','info','getFrameworkVersion','finishedMetadata','replace','getNodeAgent','browserStackConfig','browserVersion','content-type','RMxHg','isNullOrEmpty','getTurboScaleBuildLink','qpocB','env','jCGQy','sdkRunId','format','API\x20Event\x20','selenium-webdriver','util','./testhub/utils','1501020ixRIFm','APP_AUTOMATE','CQbWd','ZCRhZ','APP_AUTOMATE_PRODUCTS','./test-observability/utils','uPend','SDK\x20run\x20ended\x20for\x20id:\x20','10815ScykBi','assign','apply','getUserName','toString','_hubAllocationData','source','browser','Failed\x20to\x20set\x20directory\x20access:\x20','VqDHz','3988VuLAYI','globalException','CnLVg','join','iIXwd','getAccessKey','[REDACTED]','UvpeK','../bin/utils/constants','tests','vDcFF','isBrowserstackInfra','debug','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','getTurboScaleSessionsList','wrbNX','cCmLM','getStackTraceAsString','SDKTestSuccessful','keys','split','application/json','config','all','../bin/playwright/reporter/pwUtils','version','isTurboScaleSession','constants','mNcGy','undefined','X_OK','dseMT','reduce','values','RmkFD','isAppAutomateSession','lOSAw','getGlobal','./helper','dGzwQ','fireFunnelTestEvent','Playwright','trim','pkczo','TdHaJ','getSessionsList'];a174_0x16f7=function(){return _0x48997e;};return a174_0x16f7();}let unhandledErrors='';exports[a174_0x45b3d8(0x1ab)]=async(_0x4c3a9d,_0x4e7a9f={},_0x7fa53d,_0x900adf,_0xfcd152=![])=>{const _0x5c1ebc=a174_0x45b3d8,_0x263c7c={'wrbNX':function(_0x524931,_0x124abb){return _0x524931===_0x124abb;},'ANYhl':'object','mNcGy':function(_0x54fb31,_0x59e6e9){return _0x54fb31>_0x59e6e9;},'VqDHz':_0x5c1ebc(0x18c),'nmGan':function(_0x156018){return _0x156018();},'AEHOb':function(_0x2f8abc){return _0x2f8abc();},'cCmLM':function(_0x58d857,_0x3c524e){return _0x58d857==_0x3c524e;},'zNRqV':'null','dGzwQ':_0x5c1ebc(0x1a0),'GUXjV':function(_0x33b268,_0x4c9316){return _0x33b268>_0x4c9316;},'RmkFD':_0x5c1ebc(0x1c9),'ZSNzT':function(_0xb76a02,_0x160801){return _0xb76a02>_0x160801;},'eXAPF':function(_0x260224,_0x36ae15){return _0x260224!==_0x36ae15;},'MmmVn':_0x5c1ebc(0x1ac),'TBAXK':function(_0x41e56b,_0x55171c){return _0x41e56b===_0x55171c;},'uPend':_0x5c1ebc(0x1d7),'IqZst':function(_0x168ce5,_0x34811b){return _0x168ce5>_0x34811b;},'uweVc':function(_0x357f34,_0x59aee8){return _0x357f34+_0x59aee8;},'UvpeK':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','rmMWQ':_0x5c1ebc(0x1c0),'CnLVg':function(_0x621943,_0x6a0157){return _0x621943(_0x6a0157);},'hwVIp':_0x5c1ebc(0x1c7),'iIXwd':'nodejs','TdHaJ':function(_0x458c8f,_0x9c749f){return _0x458c8f===_0x9c749f;},'jCGQy':_0x5c1ebc(0x195),'deuJM':function(_0xf8e71d){return _0xf8e71d();},'XPPLH':_0x5c1ebc(0x16e),'dTDny':_0x5c1ebc(0x198),'bCWcF':_0x5c1ebc(0x189),'rQsfA':_0x5c1ebc(0x1cc)};let _0x4f9358=[];if(helper[_0x5c1ebc(0x18e)]()&&_0x263c7c['nmGan'](isTestObservabilitySession))_0x4f9358=helper[_0x5c1ebc(0x1a6)](_0x7fa53d)?constants[_0x5c1ebc(0x175)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x263c7c['AEHOb'](isTestObservabilitySession))_0x4f9358=constants[_0x5c1ebc(0x190)];else helper[_0x5c1ebc(0x18e)]()&&(_0x4f9358=helper['isAppAutomateSession'](_0x7fa53d)?constants[_0x5c1ebc(0x172)]:constants[_0x5c1ebc(0x1e6)]);}let _0x5d7d71=_0x7fa53d['buildIdentifier'];if(_0x263c7c[_0x5c1ebc(0x193)](_0x5d7d71,null))_0x5d7d71=_0x263c7c[_0x5c1ebc(0x1c8)];else _0x263c7c['wrbNX'](_0x5d7d71,undefined)&&(_0x5d7d71=_0x263c7c[_0x5c1ebc(0x1aa)]);unhandledErrors&&_0x263c7c['GUXjV'](unhandledErrors[_0x5c1ebc(0x1b5)],0x0)&&(_0x4e7a9f[_0x5c1ebc(0x184)]=unhandledErrors);global['sdkRunId']&&(_0x4e7a9f[_0x5c1ebc(0x16b)]=global[_0x5c1ebc(0x16b)]);try{if(_0x4e7a9f[_0x5c1ebc(0x1d7)]){if(_0x263c7c[_0x5c1ebc(0x192)](_0x900adf,_0x263c7c[_0x5c1ebc(0x1a5)])&&_0x263c7c['ZSNzT'](_0x4e7a9f[_0x5c1ebc(0x1d7)][_0x5c1ebc(0x1b5)],0x0)){const _0x5d171a={};_0x5d171a['os']='',_0x5d171a[_0x5c1ebc(0x1bc)]='',_0x5d171a[_0x5c1ebc(0x180)]='',_0x5d171a[_0x5c1ebc(0x1ee)]='';const _0x235395=_0x5d171a;let _0xc399b1={};const _0x54d579=_0x4e7a9f[_0x5c1ebc(0x1d7)];_0xc399b1=_0x54d579[_0x5c1ebc(0x1a3)]((_0x5511bb,_0x3700d4)=>{for(const _0x44b9b9 in _0x3700d4){_0x5511bb[_0x44b9b9]=_0x3700d4[_0x44b9b9];}return _0x5511bb;},{});const _0x4fd87c={};_0x4fd87c[_0x5c1ebc(0x18c)]=_0xc399b1,_0x4e7a9f[_0x5c1ebc(0x1d7)]=[Object['assign']({},_0x235395,_0x4fd87c)];}else{let _0x1c2377=0x0;const _0x46a2d9=_0x263c7c[_0x5c1ebc(0x1d8)](_0x900adf,_0x263c7c[_0x5c1ebc(0x1ca)])?JSON[_0x5c1ebc(0x1de)](_0x4e7a9f['error']):_0x4e7a9f[_0x5c1ebc(0x1d7)],_0x539d6b=Object[_0x5c1ebc(0x1a4)](_0x46a2d9);_0x539d6b['forEach'](_0x1f6b86=>{const _0x14cc89=_0x5c1ebc;if(_0x263c7c[_0x14cc89(0x192)](typeof _0x1f6b86,_0x263c7c['ANYhl'])){const _0x383f9c=Object[_0x14cc89(0x1a4)](_0x1f6b86);!_0x383f9c['every'](_0x40bc19=>_0x40bc19===null||_0x40bc19===undefined||_0x40bc19==='')&&(_0x1c2377+=0x1);}});if(_0x263c7c['TBAXK'](_0x1c2377,0x0))delete _0x4e7a9f[_0x263c7c['uPend']];else{const _0x5c3daf=[];Object[_0x5c1ebc(0x196)](_0x46a2d9)[_0x5c1ebc(0x1e7)](_0x10631f=>{const _0x41db37=_0x5c1ebc,[_0x4e6dbd,_0x2e6742,_0x17cee0,_0x1f5da3]=_0x10631f[_0x41db37(0x197)](',\x20');let _0x50f97c={};if(!_0x1f5da3){const _0x4bc31a={};_0x4bc31a[_0x41db37(0x1b7)]=_0x4e6dbd,_0x4bc31a[_0x41db37(0x1bc)]=_0x2e6742,_0x4bc31a[_0x41db37(0x180)]=_0x17cee0,_0x50f97c=_0x4bc31a;}else{const _0x4e95d4={};_0x4e95d4['os']=_0x4e6dbd,_0x4e95d4[_0x41db37(0x1bc)]=_0x2e6742,_0x4e95d4[_0x41db37(0x180)]=_0x17cee0,_0x4e95d4[_0x41db37(0x1ee)]=_0x1f5da3,_0x50f97c=_0x4e95d4;}const _0x590fc6={},_0x3b9cf1=_0x46a2d9[_0x10631f];Object[_0x41db37(0x196)](_0x3b9cf1)[_0x41db37(0x1e7)](_0x5c65b5=>{const _0x1f6b2d=_0x41db37;_0x263c7c[_0x1f6b2d(0x19f)](_0x3b9cf1[_0x5c65b5][_0x1f6b2d(0x1b5)],0x0)&&(_0x590fc6[_0x5c65b5]=_0x3b9cf1[_0x5c65b5]);}),_0x263c7c[_0x41db37(0x19f)](Object[_0x41db37(0x196)](_0x590fc6)['length'],0x0)&&(_0x50f97c[_0x263c7c[_0x41db37(0x182)]]=_0x590fc6,_0x5c3daf['push'](_0x50f97c));}),_0x263c7c[_0x5c1ebc(0x1d5)](_0x5c3daf[_0x5c1ebc(0x1b5)],0x0)?_0x4e7a9f[_0x5c1ebc(0x1d7)]=_0x5c3daf:delete _0x4e7a9f[_0x263c7c[_0x5c1ebc(0x177)]];}}}}catch(_0x4bcc3a){delete _0x4e7a9f[_0x263c7c[_0x5c1ebc(0x177)]],logger[_0x5c1ebc(0x18f)](_0x263c7c[_0x5c1ebc(0x1c3)](_0x263c7c[_0x5c1ebc(0x18a)],_0x4bcc3a));}const _0x8fce5f=helper[_0x5c1ebc(0x1dc)](_0x7fa53d,_0x7fa53d[_0x5c1ebc(0x1bb)]),_0x18827f={'userName':helper[_0x5c1ebc(0x17c)](_0x7fa53d),'accessKey':helper[_0x5c1ebc(0x188)](_0x7fa53d),'event_type':_0x4c3a9d,'detectedFramework':_0x900adf,'buildHashedId':globals[_0x5c1ebc(0x1a8)](_0x263c7c['rmMWQ']),'optimalHubUrl':helper[_0x5c1ebc(0x1b2)](),'event_properties':{'testhub_uuid':process[_0x5c1ebc(0x169)][testHubConstants[_0x5c1ebc(0x1c5)][_0x5c1ebc(0x1b4)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x263c7c[_0x5c1ebc(0x185)](getProductMap,_0x7fa53d),'productMap':_0x263c7c['CnLVg'](getProductMap,_0x7fa53d),'language_framework':_0x7fa53d[_0x5c1ebc(0x17f)]||_0x263c7c[_0x5c1ebc(0x1da)],'referrer':helper[_0x5c1ebc(0x1ec)](_0x900adf),'framework':_0x7fa53d[_0x5c1ebc(0x1bb)],'frameworkVersion':helper[_0x5c1ebc(0x1e9)](_0x900adf),'automationFramework':_0x8fce5f[_0x5c1ebc(0x1df)],'automationFrameworkVersion':_0x8fce5f[_0x5c1ebc(0x19c)],'language':_0x263c7c[_0x5c1ebc(0x187)],'languageVersion':process[_0x5c1ebc(0x19c)],'product':_0x4f9358,'buildName':_0x7fa53d[_0x5c1ebc(0x1e3)]||_0x263c7c[_0x5c1ebc(0x1aa)],'buildIdentifier':_0x5d7d71,'os':os[_0x5c1ebc(0x1b8)]()||_0x263c7c['hwVIp'],'hostname':os['hostname']()||_0x263c7c[_0x5c1ebc(0x1da)],..._0x4e7a9f,'isCLIEnabled':_0xfcd152}};try{_0x263c7c[_0x5c1ebc(0x1af)](_0x4c3a9d,_0x263c7c[_0x5c1ebc(0x16a)])&&(_0x18827f['event_properties'][_0x5c1ebc(0x1ed)]=helper[_0x5c1ebc(0x1c4)](_0x7fa53d)),_0x263c7c['wrbNX'](_0x900adf,_0x263c7c[_0x5c1ebc(0x1ca)])?_0x18827f[_0x5c1ebc(0x1c2)][_0x5c1ebc(0x1c1)]=helper[_0x5c1ebc(0x1b9)][_0x5c1ebc(0x17b)](null,_0x263c7c[_0x5c1ebc(0x1e4)](getTransformPath),!![]):_0x18827f[_0x5c1ebc(0x1c2)][_0x5c1ebc(0x1b1)]=helper['getPackageVersion'](_0x263c7c['XPPLH']);}catch(_0xaf9aa2){logger['debug']('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0xaf9aa2);}const _0x509e00={};_0x509e00[_0x5c1ebc(0x1ef)]=_0x263c7c['dTDny'];const _0x39bd51={'headers':_0x509e00,'body':_0x18827f,'auth':{'user':helper['getUserName'](_0x7fa53d),'pass':helper[_0x5c1ebc(0x188)](_0x7fa53d)},'json':!![]};logger[_0x5c1ebc(0x18f)](_0x5c1ebc(0x1d1)+JSON['stringify'](_0x39bd51['body'])[_0x5c1ebc(0x1eb)](new RegExp(helper[_0x5c1ebc(0x17c)](_0x7fa53d),'g'),_0x263c7c[_0x5c1ebc(0x1cb)])[_0x5c1ebc(0x1eb)](new RegExp(helper[_0x5c1ebc(0x188)](_0x7fa53d),'g'),_0x263c7c[_0x5c1ebc(0x1cb)]));try{const _0x37e1f3=await helper[_0x5c1ebc(0x1dd)](_0x263c7c['rQsfA'],FUNNEL_INSTRUMENTATION_API_URL,_0x39bd51,_0x7fa53d);logger['debug'](_0x5c1ebc(0x16d)+_0x4c3a9d+'\x20response\x20-\x20'+util[_0x5c1ebc(0x16c)]('%j',_0x37e1f3));}catch(_0x102f6d){logger[_0x5c1ebc(0x18f)](_0x5c1ebc(0x1e5)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x5c1ebc(0x16c)](_0x102f6d));}},exports[a174_0x45b3d8(0x1bf)]=async(_0x1a432b,_0x43ffb7=![])=>{const _0x345c20=a174_0x45b3d8,_0x2a48d9={'vDcFF':function(_0x20e58f){return _0x20e58f();},'hOcDo':_0x345c20(0x17e),'RMxHg':_0x345c20(0x1ea),'BWLvu':_0x345c20(0x1cd),'pkczo':_0x345c20(0x195),'CQbWd':function(_0x189b42,_0xaffd19,_0x4a672b){return _0x189b42(_0xaffd19,_0x4a672b);},'Gfomt':function(_0x28240e,_0x2e2d2d){return _0x28240e+_0x2e2d2d;},'lOSAw':_0x345c20(0x1d9)};try{await _0x1a432b['stopPercy'](),_0x2a48d9[_0x345c20(0x18d)](printNudgeLocalNotSetError);const _0x561829={};_0x561829[_0x345c20(0x1d7)]=_0x1a432b['errorMessage']?_0x1a432b[_0x345c20(0x1b3)]:'{}';const _0x4685ee=_0x561829,_0x42623a=Object[_0x345c20(0x17a)]({},_0x4685ee),_0x1c1919=globals['getGlobal'](_0x2a48d9['hOcDo']);_0x1c1919&&(_0x42623a['hubAllocation']=_0x1c1919);!!_0x1a432b['killSignal']&&(_0x42623a[_0x2a48d9[_0x345c20(0x1f0)]]={'reason':_0x2a48d9['BWLvu'],'signal':_0x1a432b[_0x345c20(0x1ce)]});unhandledErrors=_0x1a432b[_0x345c20(0x1d0)][_0x345c20(0x186)]('\x0a');let _0x37fe42,_0x3b1b49,_0x540bf7;helper[_0x345c20(0x19d)](_0x1a432b[_0x345c20(0x199)])?([_0x37fe42,_0x3b1b49]=await helper[_0x345c20(0x1f2)](_0x1a432b[_0x345c20(0x199)]),[_0x540bf7]=await Promise[_0x345c20(0x19a)]([helper[_0x345c20(0x191)](_0x37fe42,_0x1a432b[_0x345c20(0x199)]),exports[_0x345c20(0x1ab)](_0x2a48d9[_0x345c20(0x1ae)],_0x42623a,_0x1a432b[_0x345c20(0x199)],_0x1a432b[_0x345c20(0x1bb)],_0x43ffb7)])):([_0x37fe42,_0x3b1b49]=await helper['getBuildLink'](_0x1a432b[_0x345c20(0x199)]),[_0x540bf7]=await Promise[_0x345c20(0x19a)]([helper[_0x345c20(0x1b0)](_0x37fe42,_0x1a432b[_0x345c20(0x199)]),exports[_0x345c20(0x1ab)](_0x2a48d9['pkczo'],_0x42623a,_0x1a432b['config'],_0x1a432b[_0x345c20(0x1bb)],_0x43ffb7)])),_0x540bf7&&await _0x2a48d9[_0x345c20(0x173)](generateCIArtifacts,_0x540bf7,_0x3b1b49),logger[_0x345c20(0x1e8)](_0x345c20(0x178)+_0x1a432b[_0x345c20(0x16b)]+',\x20testhub\x20id:\x20'+process[_0x345c20(0x169)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x345c20(0x1bd)](_0x1a432b[_0x345c20(0x199)]);}catch(_0x564ff3){logger[_0x345c20(0x18f)](_0x2a48d9['Gfomt'](_0x2a48d9[_0x345c20(0x1a7)],_0x564ff3));}helper['notifyUpdate']();},exports[a174_0x45b3d8(0x194)]=_0x597a59=>{const _0x5491cb=a174_0x45b3d8,_0x18f6ad={'AuLch':function(_0x3e1874,_0x59a149){return _0x3e1874 instanceof _0x59a149;},'dseMT':function(_0x26edaa,_0xf707c8){return _0x26edaa(_0xf707c8);}};try{if(_0x18f6ad['AuLch'](_0x597a59,Error))return _0x597a59['stack']||_0x597a59['toString']();return _0x18f6ad[_0x5491cb(0x1a2)](String,_0x597a59);}catch(_0x3d214b){return _0x597a59?_0x597a59[_0x5491cb(0x17d)]():'';}},exports[a174_0x45b3d8(0x1f1)]=_0x4bdf26=>{const _0x256988=a174_0x45b3d8,_0xdd14d={};_0xdd14d[_0x256988(0x174)]=function(_0x321189,_0x284282){return _0x321189===_0x284282;};const _0x4f8e22=_0xdd14d;return!_0x4bdf26||_0x4f8e22[_0x256988(0x174)](_0x4bdf26[_0x256988(0x1ad)](),'');},exports[a174_0x45b3d8(0x1e1)]=_0x39aa52=>{const _0x491596=a174_0x45b3d8,_0x51424e={};_0x51424e['qpocB']=function(_0x51c44d,_0x205d82){return _0x51c44d|_0x205d82;};const _0x142c33=_0x51424e;try{return fs[_0x491596(0x1d6)](_0x39aa52,_0x142c33[_0x491596(0x168)](fs[_0x491596(0x19e)][_0x491596(0x1d2)],fs['constants'][_0x491596(0x1a1)])),!![];}catch(_0x6522e5){return![];}},exports['setReadWriteExecuteAccess']=_0x2c24ef=>{const _0x3624e2=a174_0x45b3d8;try{fs[_0x3624e2(0x1c6)](_0x2c24ef,0x1ff),logger[_0x3624e2(0x18f)]('Directory\x20'+_0x2c24ef+_0x3624e2(0x1cf));}catch(_0x40fd21){logger['error'](_0x3624e2(0x181)+exports[_0x3624e2(0x194)](_0x40fd21));}};
1
+ function a174_0xc4ea(){const _0x444a44=['finishedMetadata','wLBLs','error','osVersion','sdkRunId','qQkLR','EOPtO','info','every','1248814GPDOMQ','version','ETsUG','[REDACTED]','debug','getTurboScaleBuildLink','ksmsb','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','DpeXs','constants','application/json','gStJh','sanitizeBrowserStackConfig','W_OK','\x20:\x20','lPcuG','values','getAccessKey','stack','hostname','replace','iQOlB','getPackageVersion','join','APP_AUTOMATE','zznME','CZaBA','requirePWModule','VqXxD','Failed\x20to\x20set\x20directory\x20access:\x20','../bin/playwright/reporter/pwUtils','../bin/utils/constants','JVHbt','tests','jcqGQ','chmodSync','104279tZbSIG','stopPercy','format','env','1074705nHRhjj','getFrameworkVersion','body','X_OK','getUserName','./test-observability/utils','push','apply','LtPVl','vjpLx','winstonLogger','OwUbH','errorMessage','gdpjP','tUUSw','assign','name','YxGxn','toString','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','MreOq','dfqzl','globalException','DmEWZ','keys','Error\x20in\x20firing\x20request\x20to\x20','buildIdentifier','type','accessSync','297777rIhFlb','playwrightVersion','split','killSignal','WzVGq','unknown','AGJuA','isModifiable','finalExecution','BROWSERSTACK_TESTHUB_UUID','getSessionsList','./testhub/utils','1817178zYGEfY','parse','fHsBM','config','user_killed','ENV_VAR','754108ZRDrMw','isAppAutomateSession','util','browser','APP_AUTOMATE_PRODUCTS','event_properties','all','ukIpG','length','object','framework','API\x20Event\x20','nodejs','isTurboScaleSession','getNodeAgent','reduce','browserVersion','forEach','getTurboScaleSessionsList','SDKTestSuccessful','null','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','Playwright','iXDEh','TLUvJ','POST','Directory\x20','deviceName','4394640dfDsja','./performance/performance-tester','\x20has\x20now\x20read/write/execute\x20permissions.','notifyUpdate','4SjSaai','isBrowserstackInfra','hubAllocation',',\x20testhub\x20id:\x20','SDK\x20run\x20ended\x20for\x20id:\x20','fireFunnelTestEvent','stringify','source','UwyTv','yjDnZ','buildName'];a174_0xc4ea=function(){return _0x444a44;};return a174_0xc4ea();}const a174_0x2764c8=a174_0x51f6;function a174_0x51f6(_0x253350,_0x4a6004){const _0xc4eadc=a174_0xc4ea();return a174_0x51f6=function(_0x51f6b0,_0x3250a0){_0x51f6b0=_0x51f6b0-0x6f;let _0x356bcf=_0xc4eadc[_0x51f6b0];return _0x356bcf;},a174_0x51f6(_0x253350,_0x4a6004);}(function(_0x28619e,_0x35e7f3){const _0x55edce=a174_0x51f6,_0x4e19cf=_0x28619e();while(!![]){try{const _0x4dc08e=-parseInt(_0x55edce(0xf2))/0x1+-parseInt(_0x55edce(0xba))/0x2*(parseInt(_0x55edce(0x88))/0x3)+parseInt(_0x55edce(0x9a))/0x4+parseInt(_0x55edce(0xf6))/0x5+-parseInt(_0x55edce(0x94))/0x6+-parseInt(_0x55edce(0xce))/0x7+parseInt(_0x55edce(0xb6))/0x8;if(_0x4dc08e===_0x35e7f3)break;else _0x4e19cf['push'](_0x4e19cf['shift']());}catch(_0x2c883c){_0x4e19cf['push'](_0x4e19cf['shift']());}}}(a174_0xc4ea,0x29320));const os=require('os'),util=require(a174_0x2764c8(0x9c)),fs=require('fs'),{getProductMap}=require(a174_0x2764c8(0x93)),logger=require('./logger')[a174_0x2764c8(0x75)],constants=require(a174_0x2764c8(0xed)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a174_0x2764c8(0xec)),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a174_0x2764c8(0xb7)),globals=require('./globals'),helper=require('./helper'),{isTestObservabilitySession}=require(a174_0x2764c8(0x70));let unhandledErrors='';exports[a174_0x2764c8(0xbf)]=async(_0x37fcb1,_0x3e1261={},_0x530aa7,_0x27f2f8,_0x3cc55c=![])=>{const _0x5784a8=a174_0x2764c8,_0x3d1365={'jcqGQ':function(_0x1fd3bd,_0x3ab21f){return _0x1fd3bd===_0x3ab21f;},'MreOq':_0x5784a8(0xa3),'ETsUG':function(_0x288c8d,_0x341bbc){return _0x288c8d>_0x341bbc;},'zznME':'tests','ukIpG':function(_0x1c46b4){return _0x1c46b4();},'OwUbH':function(_0x12dd70,_0x21c1e4){return _0x12dd70==_0x21c1e4;},'gdpjP':_0x5784a8(0xae),'JVHbt':'undefined','AGJuA':function(_0xc9bd33,_0x45f08e){return _0xc9bd33>_0x45f08e;},'YxGxn':function(_0x2d1c99,_0x5de577){return _0x2d1c99===_0x5de577;},'iQOlB':'codeceptjs','iXDEh':function(_0x5bcb34,_0x516ccb){return _0x5bcb34>_0x516ccb;},'tUUSw':function(_0x585a55,_0x541c0f){return _0x585a55!==_0x541c0f;},'DmEWZ':_0x5784a8(0xb0),'WzVGq':_0x5784a8(0xc7),'nyaQN':function(_0x3a4c24,_0x3a9deb){return _0x3a4c24+_0x3a9deb;},'yTcYW':_0x5784a8(0x7e),'ltfRX':'_buildHashedId','EIJke':function(_0x38e671,_0x3dd26e){return _0x38e671(_0x3dd26e);},'tKdPF':function(_0x383694,_0x3329f7){return _0x383694(_0x3329f7);},'fHsBM':_0x5784a8(0x8d),'pbQdl':_0x5784a8(0xa6),'lPcuG':_0x5784a8(0xad),'wLBLs':function(_0x3bd844,_0x2f676c){return _0x3bd844===_0x2f676c;},'gStJh':'selenium-webdriver','EOPtO':_0x5784a8(0xd8),'LtPVl':_0x5784a8(0xd1),'ksmsb':_0x5784a8(0xb3)};let _0x26f967=[];if(helper[_0x5784a8(0xbb)]()&&_0x3d1365[_0x5784a8(0xa1)](isTestObservabilitySession))_0x26f967=helper['isAppAutomateSession'](_0x530aa7)?constants[_0x5784a8(0x9e)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x3d1365['ukIpG'](isTestObservabilitySession))_0x26f967=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x5784a8(0xbb)]()&&(_0x26f967=helper[_0x5784a8(0x9b)](_0x530aa7)?constants[_0x5784a8(0xe6)]:constants['AUTOMATE']);}let _0x45a70c=_0x530aa7[_0x5784a8(0x85)];if(_0x3d1365[_0x5784a8(0x76)](_0x45a70c,null))_0x45a70c=_0x3d1365[_0x5784a8(0x78)];else _0x3d1365[_0x5784a8(0xf0)](_0x45a70c,undefined)&&(_0x45a70c=_0x3d1365[_0x5784a8(0xee)]);unhandledErrors&&_0x3d1365[_0x5784a8(0x8e)](unhandledErrors[_0x5784a8(0xa2)],0x0)&&(_0x3e1261[_0x5784a8(0x81)]=unhandledErrors);global[_0x5784a8(0xc9)]&&(_0x3e1261[_0x5784a8(0xc9)]=global[_0x5784a8(0xc9)]);try{if(_0x3e1261[_0x5784a8(0xc7)]){if(_0x3d1365[_0x5784a8(0x7c)](_0x27f2f8,_0x3d1365[_0x5784a8(0xe3)])&&_0x3d1365[_0x5784a8(0xb1)](_0x3e1261['error'][_0x5784a8(0xa2)],0x0)){const _0x177a61={};_0x177a61['os']='',_0x177a61[_0x5784a8(0xc8)]='',_0x177a61[_0x5784a8(0x9d)]='',_0x177a61['browserVersion']='';const _0x1b89ef=_0x177a61;let _0x43cb41={};const _0x192d6e=_0x3e1261['error'];_0x43cb41=_0x192d6e[_0x5784a8(0xa9)]((_0x2a5962,_0x15a8c1)=>{for(const _0x385a91 in _0x15a8c1){_0x2a5962[_0x385a91]=_0x15a8c1[_0x385a91];}return _0x2a5962;},{});const _0x2ba07a={};_0x2ba07a[_0x5784a8(0xef)]=_0x43cb41,_0x3e1261[_0x5784a8(0xc7)]=[Object[_0x5784a8(0x7a)]({},_0x1b89ef,_0x2ba07a)];}else{let _0x14fbd2=0x0;const _0x2b547d=_0x3d1365[_0x5784a8(0x79)](_0x27f2f8,_0x3d1365['DmEWZ'])?JSON[_0x5784a8(0x95)](_0x3e1261[_0x5784a8(0xc7)]):_0x3e1261[_0x5784a8(0xc7)],_0x19be46=Object[_0x5784a8(0xde)](_0x2b547d);_0x19be46[_0x5784a8(0xab)](_0x5189b7=>{const _0x4ef328=_0x5784a8;if(_0x3d1365[_0x4ef328(0xf0)](typeof _0x5189b7,_0x3d1365[_0x4ef328(0x7f)])){const _0x28d8d5=Object[_0x4ef328(0xde)](_0x5189b7);!_0x28d8d5[_0x4ef328(0xcd)](_0x5d6e89=>_0x5d6e89===null||_0x5d6e89===undefined||_0x5d6e89==='')&&(_0x14fbd2+=0x1);}});if(_0x3d1365[_0x5784a8(0x7c)](_0x14fbd2,0x0))delete _0x3e1261[_0x3d1365[_0x5784a8(0x8c)]];else{const _0x4b3c12=[];Object[_0x5784a8(0x83)](_0x2b547d)[_0x5784a8(0xab)](_0x370046=>{const _0x63df71=_0x5784a8,[_0x82933f,_0x3fc8dd,_0x1c7cb7,_0x1104d8]=_0x370046[_0x63df71(0x8a)](',\x20');let _0x1faf3d={};if(!_0x1104d8){const _0xb1b874={};_0xb1b874[_0x63df71(0xb5)]=_0x82933f,_0xb1b874['osVersion']=_0x3fc8dd,_0xb1b874['browser']=_0x1c7cb7,_0x1faf3d=_0xb1b874;}else{const _0x446327={};_0x446327['os']=_0x82933f,_0x446327[_0x63df71(0xc8)]=_0x3fc8dd,_0x446327[_0x63df71(0x9d)]=_0x1c7cb7,_0x446327[_0x63df71(0xaa)]=_0x1104d8,_0x1faf3d=_0x446327;}const _0x195c33={},_0x2cccba=_0x2b547d[_0x370046];Object[_0x63df71(0x83)](_0x2cccba)['forEach'](_0x3104f9=>{const _0x2b625b=_0x63df71;_0x3d1365[_0x2b625b(0xd0)](_0x2cccba[_0x3104f9][_0x2b625b(0xa2)],0x0)&&(_0x195c33[_0x3104f9]=_0x2cccba[_0x3104f9]);}),_0x3d1365[_0x63df71(0xd0)](Object['keys'](_0x195c33)[_0x63df71(0xa2)],0x0)&&(_0x1faf3d[_0x3d1365[_0x63df71(0xe7)]]=_0x195c33,_0x4b3c12[_0x63df71(0x71)](_0x1faf3d));}),_0x3d1365[_0x5784a8(0xd0)](_0x4b3c12[_0x5784a8(0xa2)],0x0)?_0x3e1261['error']=_0x4b3c12:delete _0x3e1261[_0x3d1365[_0x5784a8(0x8c)]];}}}}catch(_0x16e10e){delete _0x3e1261[_0x3d1365['WzVGq']],logger[_0x5784a8(0xd2)](_0x3d1365['nyaQN'](_0x3d1365['yTcYW'],_0x16e10e));}const _0x34bf10=helper['getTestFrameworkDetails'](_0x530aa7,_0x530aa7[_0x5784a8(0xa4)]),_0x598fc7={'userName':helper[_0x5784a8(0x6f)](_0x530aa7),'accessKey':helper['getAccessKey'](_0x530aa7),'event_type':_0x37fcb1,'detectedFramework':_0x27f2f8,'buildHashedId':globals['getGlobal'](_0x3d1365['ltfRX']),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x5784a8(0xf5)][testHubConstants[_0x5784a8(0x99)][_0x5784a8(0x91)]]||'','sdkRunId':global[_0x5784a8(0xc9)],'product_map':_0x3d1365['EIJke'](getProductMap,_0x530aa7),'productMap':_0x3d1365['tKdPF'](getProductMap,_0x530aa7),'language_framework':_0x530aa7[_0x5784a8(0xc1)]||_0x3d1365['fHsBM'],'referrer':helper[_0x5784a8(0xa8)](_0x27f2f8),'framework':_0x530aa7['framework'],'frameworkVersion':helper[_0x5784a8(0xf7)](_0x27f2f8),'automationFramework':_0x34bf10[_0x5784a8(0x7b)],'automationFrameworkVersion':_0x34bf10[_0x5784a8(0xcf)],'language':_0x3d1365['pbQdl'],'languageVersion':process[_0x5784a8(0xcf)],'product':_0x26f967,'buildName':_0x530aa7[_0x5784a8(0xc4)]||_0x3d1365[_0x5784a8(0xee)],'buildIdentifier':_0x45a70c,'os':os[_0x5784a8(0x86)]()||_0x3d1365['fHsBM'],'hostname':os[_0x5784a8(0xe1)]()||_0x3d1365[_0x5784a8(0x96)],..._0x3e1261,'isCLIEnabled':_0x3cc55c}};try{_0x3d1365[_0x5784a8(0xf0)](_0x37fcb1,_0x3d1365[_0x5784a8(0xdd)])&&(_0x598fc7['event_properties']['browserStackConfig']=helper[_0x5784a8(0xda)](_0x530aa7)),_0x3d1365[_0x5784a8(0xc6)](_0x27f2f8,_0x3d1365[_0x5784a8(0x82)])?_0x598fc7[_0x5784a8(0x9f)][_0x5784a8(0x89)]=helper[_0x5784a8(0xe9)][_0x5784a8(0x72)](null,_0x3d1365[_0x5784a8(0xa1)](getTransformPath),!![]):_0x598fc7[_0x5784a8(0x9f)]['seleniumVersion']=helper[_0x5784a8(0xe4)](_0x3d1365[_0x5784a8(0xd9)]);}catch(_0x1ccd0a){logger[_0x5784a8(0xd2)](_0x5784a8(0xaf)+_0x1ccd0a);}const _0x240a3b={};_0x240a3b['content-type']=_0x3d1365[_0x5784a8(0xcb)];const _0x103923={'headers':_0x240a3b,'body':_0x598fc7,'auth':{'user':helper[_0x5784a8(0x6f)](_0x530aa7),'pass':helper[_0x5784a8(0xdf)](_0x530aa7)},'json':!![]};logger['debug']('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x5784a8(0xc0)](_0x103923[_0x5784a8(0xf8)])['replace'](new RegExp(helper[_0x5784a8(0x6f)](_0x530aa7),'g'),_0x3d1365[_0x5784a8(0x73)])[_0x5784a8(0xe2)](new RegExp(helper['getAccessKey'](_0x530aa7),'g'),_0x3d1365[_0x5784a8(0x73)]));try{const _0x44050a=await helper['nodeRequest'](_0x3d1365[_0x5784a8(0xd4)],FUNNEL_INSTRUMENTATION_API_URL,_0x103923,_0x530aa7);logger['debug'](_0x5784a8(0xa5)+_0x37fcb1+'\x20response\x20-\x20'+util[_0x5784a8(0xf4)]('%j',_0x44050a));}catch(_0x5f9cd9){logger[_0x5784a8(0xd2)](_0x5784a8(0x84)+FUNNEL_INSTRUMENTATION_API_URL+_0x5784a8(0xdc)+util['format'](_0x5f9cd9));}},exports[a174_0x2764c8(0x90)]=async(_0x4c9e87,_0x98520a=![])=>{const _0x39fc0a=a174_0x2764c8,_0x252644={'UwyTv':function(_0x412599){return _0x412599();},'KAylj':'_hubAllocationData','rTnmU':_0x39fc0a(0xc5),'CZaBA':_0x39fc0a(0x98),'dfqzl':_0x39fc0a(0xad),'TLUvJ':function(_0x24e832,_0x19e08e,_0x2a6216){return _0x24e832(_0x19e08e,_0x2a6216);},'yjDnZ':function(_0x22b6f7,_0x3a9d93){return _0x22b6f7+_0x3a9d93;},'iHUjw':_0x39fc0a(0xd5)};try{await _0x4c9e87[_0x39fc0a(0xf3)](),_0x252644[_0x39fc0a(0xc2)](printNudgeLocalNotSetError);const _0x362138={};_0x362138[_0x39fc0a(0xc7)]=_0x4c9e87[_0x39fc0a(0x77)]?_0x4c9e87[_0x39fc0a(0x77)]:'{}';const _0x370699=_0x362138,_0x558f88=Object[_0x39fc0a(0x7a)]({},_0x370699),_0xf20f25=globals['getGlobal'](_0x252644['KAylj']);_0xf20f25&&(_0x558f88[_0x39fc0a(0xbc)]=_0xf20f25);!!_0x4c9e87[_0x39fc0a(0x8b)]&&(_0x558f88[_0x252644['rTnmU']]={'reason':_0x252644[_0x39fc0a(0xe8)],'signal':_0x4c9e87[_0x39fc0a(0x8b)]});unhandledErrors=_0x4c9e87['unhandledErrors'][_0x39fc0a(0xe5)]('\x0a');let _0x2d1037,_0x1ff66b,_0x2a9f82;helper[_0x39fc0a(0xa7)](_0x4c9e87[_0x39fc0a(0x97)])?([_0x2d1037,_0x1ff66b]=await helper[_0x39fc0a(0xd3)](_0x4c9e87[_0x39fc0a(0x97)]),[_0x2a9f82]=await Promise['all']([helper[_0x39fc0a(0xac)](_0x2d1037,_0x4c9e87['config']),exports[_0x39fc0a(0xbf)](_0x252644[_0x39fc0a(0x80)],_0x558f88,_0x4c9e87['config'],_0x4c9e87[_0x39fc0a(0xa4)],_0x98520a)])):([_0x2d1037,_0x1ff66b]=await helper['getBuildLink'](_0x4c9e87[_0x39fc0a(0x97)]),[_0x2a9f82]=await Promise[_0x39fc0a(0xa0)]([helper[_0x39fc0a(0x92)](_0x2d1037,_0x4c9e87[_0x39fc0a(0x97)]),exports[_0x39fc0a(0xbf)](_0x252644[_0x39fc0a(0x80)],_0x558f88,_0x4c9e87[_0x39fc0a(0x97)],_0x4c9e87[_0x39fc0a(0xa4)],_0x98520a)])),_0x2a9f82&&await _0x252644[_0x39fc0a(0xb2)](generateCIArtifacts,_0x2a9f82,_0x1ff66b),logger[_0x39fc0a(0xcc)](_0x39fc0a(0xbe)+_0x4c9e87['sdkRunId']+_0x39fc0a(0xbd)+process[_0x39fc0a(0xf5)][_0x39fc0a(0x91)]),await helper['sendLogs'](_0x4c9e87[_0x39fc0a(0x97)]);}catch(_0x4114fc){logger[_0x39fc0a(0xd2)](_0x252644[_0x39fc0a(0xc3)](_0x252644['iHUjw'],_0x4114fc));}helper[_0x39fc0a(0xb9)]();},exports['getStackTraceAsString']=_0x2b9574=>{const _0x3c16b4=a174_0x2764c8,_0x42b59f={'VqXxD':function(_0x2f6c66,_0x41d30e){return _0x2f6c66 instanceof _0x41d30e;},'DpeXs':function(_0x2425c8,_0x184e5d){return _0x2425c8(_0x184e5d);}};try{if(_0x42b59f[_0x3c16b4(0xea)](_0x2b9574,Error))return _0x2b9574[_0x3c16b4(0xe0)]||_0x2b9574[_0x3c16b4(0x7d)]();return _0x42b59f[_0x3c16b4(0xd6)](String,_0x2b9574);}catch(_0x2940da){return _0x2b9574?_0x2b9574[_0x3c16b4(0x7d)]():'';}},exports['isNullOrEmpty']=_0x512588=>{const _0x3f7bd4=a174_0x2764c8,_0x1758f8={};_0x1758f8['qQkLR']=function(_0x132b41,_0x431b0a){return _0x132b41===_0x431b0a;};const _0x383b62=_0x1758f8;return!_0x512588||_0x383b62[_0x3f7bd4(0xca)](_0x512588['trim'](),'');},exports[a174_0x2764c8(0x8f)]=_0x35be8c=>{const _0x30f60b=a174_0x2764c8,_0x5be7a4={};_0x5be7a4['vjpLx']=function(_0x3209c5,_0x1c6c3e){return _0x3209c5|_0x1c6c3e;};const _0x30bf07=_0x5be7a4;try{return fs[_0x30f60b(0x87)](_0x35be8c,_0x30bf07[_0x30f60b(0x74)](fs[_0x30f60b(0xd7)][_0x30f60b(0xdb)],fs['constants'][_0x30f60b(0xf9)])),!![];}catch(_0x1b7f56){return![];}},exports['setReadWriteExecuteAccess']=_0xdf87d8=>{const _0x1c85b5=a174_0x2764c8;try{fs[_0x1c85b5(0xf1)](_0xdf87d8,0x1ff),logger[_0x1c85b5(0xd2)](_0x1c85b5(0xb4)+_0xdf87d8+_0x1c85b5(0xb8));}catch(_0x151c8a){logger[_0x1c85b5(0xc7)](_0x1c85b5(0xeb)+exports['getStackTraceAsString'](_0x151c8a));}};
@@ -1 +1 @@
1
- var a175_0x5d47a9=a175_0x5469;function a175_0x5469(_0x523dd3,_0x36743a){var _0xa29e74=a175_0xa29e();return a175_0x5469=function(_0x5469a5,_0x38ce66){_0x5469a5=_0x5469a5-0x120;var _0x270c58=_0xa29e74[_0x5469a5];return _0x270c58;},a175_0x5469(_0x523dd3,_0x36743a);}(function(_0x3ed821,_0x50e43c){var _0x16ee91=a175_0x5469,_0x57a3b3=_0x3ed821();while(!![]){try{var _0x317b6e=-parseInt(_0x16ee91(0x18c))/0x1+parseInt(_0x16ee91(0x175))/0x2*(-parseInt(_0x16ee91(0x13f))/0x3)+-parseInt(_0x16ee91(0x194))/0x4*(parseInt(_0x16ee91(0x185))/0x5)+parseInt(_0x16ee91(0x16e))/0x6*(-parseInt(_0x16ee91(0x19c))/0x7)+parseInt(_0x16ee91(0x129))/0x8+parseInt(_0x16ee91(0x189))/0x9+parseInt(_0x16ee91(0x163))/0xa;if(_0x317b6e===_0x50e43c)break;else _0x57a3b3['push'](_0x57a3b3['shift']());}catch(_0x3cc200){_0x57a3b3['push'](_0x57a3b3['shift']());}}}(a175_0xa29e,0x3e4b1),exports[a175_0x5d47a9(0x142)]=()=>{var _0x51715b=a175_0x5d47a9,_0x257824={};_0x257824[_0x51715b(0x17f)]=_0x51715b(0x16b),_0x257824[_0x51715b(0x13e)]='accessKey',_0x257824[_0x51715b(0x179)]='osVersion',_0x257824[_0x51715b(0x181)]=_0x51715b(0x192),_0x257824[_0x51715b(0x135)]=_0x51715b(0x183),_0x257824['vmWdW']=_0x51715b(0x14a),_0x257824[_0x51715b(0x155)]='projectName',_0x257824['phnVH']='buildName',_0x257824[_0x51715b(0x160)]=_0x51715b(0x1a4),_0x257824[_0x51715b(0x13c)]='local',_0x257824[_0x51715b(0x177)]=_0x51715b(0x14c),_0x257824[_0x51715b(0x1a2)]=_0x51715b(0x1a9),_0x257824[_0x51715b(0x144)]='consoleLogs',_0x257824[_0x51715b(0x1a7)]=_0x51715b(0x134),_0x257824['tBEXO']=_0x51715b(0x19a),_0x257824['OirLm']=_0x51715b(0x180),_0x257824[_0x51715b(0x140)]='video',_0x257824[_0x51715b(0x150)]='seleniumLogs',_0x257824[_0x51715b(0x146)]=_0x51715b(0x18d),_0x257824['zuedH']='geoLocation',_0x257824[_0x51715b(0x169)]='timezone',_0x257824[_0x51715b(0x18f)]=_0x51715b(0x128),_0x257824[_0x51715b(0x125)]=_0x51715b(0x1a6),_0x257824['QKOGr']=_0x51715b(0x17a),_0x257824[_0x51715b(0x130)]=_0x51715b(0x12f),_0x257824[_0x51715b(0x176)]=_0x51715b(0x15d),_0x257824['mRNze']='autoWait',_0x257824[_0x51715b(0x149)]='hosts',_0x257824[_0x51715b(0x162)]=_0x51715b(0x136),_0x257824['PwCUW']=_0x51715b(0x19f),_0x257824['EjTIs']=_0x51715b(0x172),_0x257824[_0x51715b(0x12a)]=_0x51715b(0x187),_0x257824[_0x51715b(0x145)]='realMobile',_0x257824[_0x51715b(0x152)]=_0x51715b(0x15b),_0x257824[_0x51715b(0x139)]=_0x51715b(0x154),_0x257824[_0x51715b(0x196)]=_0x51715b(0x127),_0x257824[_0x51715b(0x186)]=_0x51715b(0x174),_0x257824[_0x51715b(0x19b)]=_0x51715b(0x18b),_0x257824[_0x51715b(0x16d)]=_0x51715b(0x14b),_0x257824[_0x51715b(0x143)]=_0x51715b(0x13a),_0x257824[_0x51715b(0x19e)]=_0x51715b(0x1a0),_0x257824[_0x51715b(0x17e)]=_0x51715b(0x131),_0x257824[_0x51715b(0x120)]='accessibilityOptions.wcagVersion',_0x257824[_0x51715b(0x16c)]=_0x51715b(0x124),_0x257824['mKWiC']=_0x51715b(0x168),_0x257824[_0x51715b(0x165)]=_0x51715b(0x16a),_0x257824[_0x51715b(0x147)]=_0x51715b(0x126),_0x257824[_0x51715b(0x170)]=_0x51715b(0x188),_0x257824['SmYbw']='uploadMedia',_0x257824[_0x51715b(0x158)]=_0x51715b(0x141),_0x257824[_0x51715b(0x182)]=_0x51715b(0x1ab),_0x257824[_0x51715b(0x167)]=_0x51715b(0x171),_0x257824['QJuww']=_0x51715b(0x14e),_0x257824[_0x51715b(0x137)]=_0x51715b(0x17d),_0x257824[_0x51715b(0x1aa)]=_0x51715b(0x178),_0x257824[_0x51715b(0x14f)]=_0x51715b(0x14d);var _0x4daf46=_0x257824,_0x3cc98a={};return _0x3cc98a[_0x51715b(0x161)]=_0x4daf46['mqwWa'],_0x3cc98a[_0x51715b(0x16f)]=_0x4daf46[_0x51715b(0x13e)],_0x3cc98a['os']='os',_0x3cc98a[_0x51715b(0x195)]=_0x4daf46[_0x51715b(0x179)],_0x3cc98a[_0x51715b(0x192)]=_0x4daf46[_0x51715b(0x181)],_0x3cc98a['browser_version']=_0x4daf46[_0x51715b(0x135)],_0x3cc98a[_0x51715b(0x1a8)]=_0x4daf46['vmWdW'],_0x3cc98a['project']=_0x4daf46['EIEWe'],_0x3cc98a[_0x51715b(0x184)]=_0x4daf46[_0x51715b(0x122)],_0x3cc98a[_0x51715b(0x133)]=_0x4daf46[_0x51715b(0x160)],_0x3cc98a[_0x51715b(0x190)]=_0x4daf46[_0x51715b(0x13c)],_0x3cc98a[_0x51715b(0x13d)]=_0x4daf46[_0x51715b(0x177)],_0x3cc98a[_0x51715b(0x153)]=_0x4daf46[_0x51715b(0x1a2)],_0x3cc98a[_0x51715b(0x198)]=_0x4daf46[_0x51715b(0x144)],_0x3cc98a[_0x51715b(0x1a5)]=_0x4daf46['pmJZE'],_0x3cc98a[_0x51715b(0x159)]=_0x4daf46[_0x51715b(0x18e)],_0x3cc98a[_0x51715b(0x164)]=_0x4daf46[_0x51715b(0x12c)],_0x3cc98a['browserstack.video']=_0x4daf46[_0x51715b(0x140)],_0x3cc98a[_0x51715b(0x19d)]=_0x4daf46[_0x51715b(0x150)],_0x3cc98a[_0x51715b(0x148)]=_0x4daf46[_0x51715b(0x146)],_0x3cc98a[_0x51715b(0x15f)]=_0x4daf46[_0x51715b(0x12d)],_0x3cc98a[_0x51715b(0x197)]=_0x4daf46['NPNRJ'],_0x3cc98a[_0x51715b(0x128)]=_0x4daf46[_0x51715b(0x18f)],_0x3cc98a['browserstack.selenium_version']=_0x4daf46[_0x51715b(0x125)],_0x3cc98a[_0x51715b(0x156)]=_0x4daf46['QKOGr'],_0x3cc98a['browserstack.idleTimeout']=_0x4daf46[_0x51715b(0x130)],_0x3cc98a[_0x51715b(0x121)]=_0x4daf46[_0x51715b(0x176)],_0x3cc98a['browserstack.autoWait']=_0x4daf46['mRNze'],_0x3cc98a['browserstack.hosts']=_0x4daf46['IcQUb'],_0x3cc98a['browserstack.bfcache']=_0x4daf46[_0x51715b(0x162)],_0x3cc98a['browserstack.wsLocalSupport']=_0x4daf46[_0x51715b(0x123)],_0x3cc98a['browserstack.disableCorsRestrictions']=_0x4daf46[_0x51715b(0x151)],_0x3cc98a[_0x51715b(0x193)]=_0x4daf46[_0x51715b(0x12a)],_0x3cc98a[_0x51715b(0x166)]=_0x4daf46[_0x51715b(0x145)],_0x3cc98a[_0x51715b(0x18a)]=_0x4daf46[_0x51715b(0x152)],_0x3cc98a['deviceOrientation']=_0x4daf46[_0x51715b(0x139)],_0x3cc98a[_0x51715b(0x13b)]=_0x4daf46[_0x51715b(0x196)],_0x3cc98a[_0x51715b(0x17c)]=_0x4daf46[_0x51715b(0x186)],_0x3cc98a[_0x51715b(0x138)]=_0x4daf46[_0x51715b(0x19b)],_0x3cc98a[_0x51715b(0x12e)]=_0x4daf46[_0x51715b(0x16d)],_0x3cc98a[_0x51715b(0x1a1)]=_0x4daf46['bGltf'],_0x3cc98a['browserstack.buildProductMap']=_0x4daf46['jxIJV'],_0x3cc98a[_0x51715b(0x132)]=_0x4daf46[_0x51715b(0x17e)],_0x3cc98a['browserstack.accessibilityOptions.wcagVersion']=_0x4daf46[_0x51715b(0x120)],_0x3cc98a['browserstack.accessibilityOptions.scannerVersion']=_0x4daf46['CHwdw'],_0x3cc98a[_0x51715b(0x17b)]=_0x4daf46['mKWiC'],_0x3cc98a[_0x51715b(0x173)]=_0x4daf46[_0x51715b(0x165)],_0x3cc98a[_0x51715b(0x1a3)]=_0x4daf46['OPvhe'],_0x3cc98a[_0x51715b(0x191)]=_0x4daf46[_0x51715b(0x170)],_0x3cc98a['browserstack.uploadMedia']=_0x4daf46[_0x51715b(0x15a)],_0x3cc98a['browserstack.enableSim']=_0x4daf46[_0x51715b(0x158)],_0x3cc98a[_0x51715b(0x157)]=_0x4daf46['LbvyX'],_0x3cc98a['browserstack.playwrightVersion']=_0x4daf46[_0x51715b(0x167)],_0x3cc98a[_0x51715b(0x12b)]=_0x4daf46[_0x51715b(0x199)],_0x3cc98a['browserstack.overridelocalInfo.localIdentifier']=_0x4daf46[_0x51715b(0x137)],_0x3cc98a[_0x51715b(0x15e)]=_0x4daf46[_0x51715b(0x1aa)],_0x3cc98a[_0x51715b(0x15c)]=_0x4daf46['eNaei'],_0x3cc98a;});function a175_0xa29e(){var _0x1520b2=['debug','AgFxA','simOptions','TOYiy','browserstack.maskBasicAuth','phnVH','PwCUW','accessibilityOptions.scannerVersion','ysZrW','accessibilityOptions.includeIssueType.needsReview','customNetwork','resolution','3094064qwMPnK','vxYgZ','browserstack.overridelocalInfo.userAuthToken','OirLm','zuedH','browserstack.browserstackSDK','idleTimeout','nqBZM','testhubBuildUuid','browserstack.testhubBuildUuid','name','networkLogs','XUlpy','bfcache','VsrnC','browserstack.buildIdentifier','KQDZM','accessibility','browserstack.customNetwork','xwsSh','browserstack.localIdentifier','KzRFd','3279VfIcbj','lKFas','enableSim','W3CMapping','bGltf','IHVTT','lFxGv','EnXii','OPvhe','browserstack.telemetryLogs','IcQUb','useW3c','browserstackSDK','localIdentifier','performance','overridelocalInfo.userAuthToken','eNaei','DvmMw','EjTIs','iqyHP','browserstack.debug','deviceOrientation','EIEWe','browserstack.maskCommands','browserstack.simOptions','bOTsy','browserstack.networkLogsOptions','SmYbw','appiumVersion','browserstack.performance','maskBasicAuth','browserstack.headerParams','browserstack.geoLocation','mpgZa','browserstack.user','bpDdR','1633400dgfknb','browserstack.appiumLogs','rjhUY','realMobile','vHgFK','accessibilityOptions.scannerProcessingTimeout','NPNRJ','accessibilityOptions.includeIssueType.bestPractice','userName','CHwdw','zwnyO','629352ufQOsx','browserstack.key','gqQGB','playwrightVersion','disableCorsRestrictions','browserstack.accessibilityOptions.includeIssueType.bestPractice','networkProfile','674FpGgHb','pqbUn','kCCZL','headerParams','BkJRB','maskCommands','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.networkProfile','overridelocalInfo.localIdentifier','vyxgP','mqwWa','appiumLogs','ajTlJ','LbvyX','browserVersion','build','290puovXs','xdgVs','deviceName','accessibilityOptions.authToken','2690244zYmdrX','browserstack.appium_version','buildIdentifier','14750CZSlkC','telemetryLogs','tBEXO','reLao','browserstack.local','browserstack.accessibilityOptions.authToken','browser','device','68uXJsup','os_version','Fhavf','browserstack.timezone','browserstack.console','QJuww','networkLogsOptions','zwcAq','14wUerHA','browserstack.seleniumLogs','jxIJV','wsLocalSupport','buildProductMap','browserstack.accessibility','ArhwJ','browserstack.accessibilityOptions.includeIssueType.needsReview','sessionName','browserstack.networkLogs','seleniumVersion','pmJZE','browserstack.use_w3c'];a175_0xa29e=function(){return _0x1520b2;};return a175_0xa29e();}
1
+ function a175_0x4171(_0x2bbafa,_0x1d144f){var _0x22e034=a175_0x22e0();return a175_0x4171=function(_0x417182,_0x5a9f91){_0x417182=_0x417182-0x78;var _0x367484=_0x22e034[_0x417182];return _0x367484;},a175_0x4171(_0x2bbafa,_0x1d144f);}var a175_0x3f05b5=a175_0x4171;function a175_0x22e0(){var _0x37b6c9=['name','accessKey','browser_version','localIdentifier','upnzq','GmLlv','browserstack.bfcache','browserstack.localIdentifier','telemetryLogs','5621yZwKTp','browserstack.video','16KxzSrR','browserstack.accessibilityOptions.scannerVersion','accessibilityOptions.scannerProcessingTimeout','autoWait','browserstack.debug','browserstack.accessibilityOptions.scannerProcessingTimeout','resolution','SBcNd','851065MlGuFs','accessibilityOptions.includeIssueType.bestPractice','W3CMapping','debug','browserstack.networkLogsOptions','browserstack.accessibilityOptions.authToken','EZMeo','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserstack.customNetwork','project','browserstack.local','6316695MmqiTG','browserstack.use_w3c','bvLpV','uploadMedia','browserstack.accessibilityOptions.includeIssueType.needsReview','Nipml','RhFrM','browserstack.overridelocalInfo.userAuthToken','xUBIH','WNuwp','browserstack.idleTimeout','QmRpv','rLJuD','osVersion','JGtDC','CyooO','6znYQaQ','timezone','browserstack.wsLocalSupport','SqctK','browserstack.playwrightVersion','MsxHY','browser','SmXOP','browserstack.telemetryLogs','customNetwork','kMhrC','TPOuN','WJvtI','faqKG','overridelocalInfo.localIdentifier','networkProfile','15826HWAXLV','qVdti','WPwKt','browserstack.overridelocalInfo.localIdentifier','useW3c','mshQD','wsLocalSupport','browserstack.buildIdentifier','tuTrX','browserstack.key','cwzRw','zDLTU','zybzd','deviceOrientation','OAAFv','INjxD','playwrightVersion','browserstack.console','3329973WUQpwW','714832ykXVDu','userName','maskCommands','browserstack.appiumLogs','seleniumLogs','enableSim','browserstack.headerParams','geoLocation','KqaxM','DcCax','simOptions','browserstack.maskBasicAuth','MHdbz','sessionName','deviceName','16090XRutsi','buildProductMap','14qrVGcm','browserstack.buildProductMap','pFChF','gTHOG','browserstack.accessibilityOptions.wcagVersion','browserstack.networkLogs','SMhem','accessibilityOptions.includeIssueType.needsReview','xoSBg','vMbee','rmkgY','bzVbq','XfJQU','browserstackSDK','accessibilityOptions.wcagVersion','browserstack.selenium_version','browserstack.autoWait','YLEWK','GfGNv','browserstack.enableSim','Woylm','browserstack.browserstackSDK','networkLogs','projectName','TBlQu','accessibilityOptions.scannerVersion','browserstack.timezone','video','59496XgvLIM','device','accessibility','DMfLj','buildIdentifier','realMobile','local','XdqLM','overridelocalInfo.userAuthToken','browserstack.simOptions','buildName','EqRRE','Nhyht','kHJLH','browserstack.testhubBuildUuid'];a175_0x22e0=function(){return _0x37b6c9;};return a175_0x22e0();}(function(_0x49a9a9,_0x55366b){var _0xec1765=a175_0x4171,_0x513264=_0x49a9a9();while(!![]){try{var _0x25560a=parseInt(_0xec1765(0xf5))/0x1+-parseInt(_0xec1765(0x8c))/0x2*(-parseInt(_0xec1765(0xa8))/0x3)+-parseInt(_0xec1765(0x7b))/0x4+-parseInt(_0xec1765(0xca))/0x5*(parseInt(_0xec1765(0xe5))/0x6)+-parseInt(_0xec1765(0xd5))/0x7+-parseInt(_0xec1765(0xc2))/0x8*(-parseInt(_0xec1765(0x7a))/0x9)+parseInt(_0xec1765(0x8a))/0xa*(parseInt(_0xec1765(0xc0))/0xb);if(_0x25560a===_0x55366b)break;else _0x513264['push'](_0x513264['shift']());}catch(_0xb3a2eb){_0x513264['push'](_0x513264['shift']());}}}(a175_0x22e0,0x71a81),exports[a175_0x3f05b5(0xcc)]=()=>{var _0x544c31=a175_0x3f05b5,_0x3e60b={};_0x3e60b[_0x544c31(0xbb)]=_0x544c31(0x7c),_0x3e60b['keKBX']=_0x544c31(0xb8),_0x3e60b[_0x544c31(0x97)]=_0x544c31(0xe2),_0x3e60b['INjxD']='browser',_0x3e60b[_0x544c31(0xf6)]='browserVersion',_0x3e60b[_0x544c31(0x92)]=_0x544c31(0xf9),_0x3e60b[_0x544c31(0xec)]=_0x544c31(0xa3),_0x3e60b[_0x544c31(0xaf)]=_0x544c31(0xb2),_0x3e60b[_0x544c31(0xa4)]=_0x544c31(0x88),_0x3e60b[_0x544c31(0xef)]=_0x544c31(0xae),_0x3e60b[_0x544c31(0x96)]=_0x544c31(0xba),_0x3e60b[_0x544c31(0x95)]=_0x544c31(0xcd),_0x3e60b[_0x544c31(0xf0)]='consoleLogs',_0x3e60b['MsxHY']=_0x544c31(0xa2),_0x3e60b[_0x544c31(0xe4)]='networkLogsOptions',_0x3e60b[_0x544c31(0xbc)]='appiumLogs',_0x3e60b['Woylm']=_0x544c31(0xa7),_0x3e60b[_0x544c31(0xb5)]=_0x544c31(0x7f),_0x3e60b['UkHxg']=_0x544c31(0xbf),_0x3e60b['zSSeX']=_0x544c31(0x82),_0x3e60b[_0x544c31(0xe1)]=_0x544c31(0xe6),_0x3e60b['WPwKt']=_0x544c31(0xc8),_0x3e60b[_0x544c31(0xfa)]='seleniumVersion',_0x3e60b[_0x544c31(0xe0)]=_0x544c31(0x7d),_0x3e60b['XfJQU']='idleTimeout',_0x3e60b['xUBIH']='maskBasicAuth',_0x3e60b[_0x544c31(0xab)]=_0x544c31(0xc5),_0x3e60b[_0x544c31(0xff)]='hosts',_0x3e60b['oMGop']='bfcache',_0x3e60b[_0x544c31(0x83)]=_0x544c31(0xfb),_0x3e60b[_0x544c31(0xda)]='disableCorsRestrictions',_0x3e60b[_0x544c31(0x8e)]=_0x544c31(0x89),_0x3e60b[_0x544c31(0x87)]='realMobile',_0x3e60b[_0x544c31(0xd0)]='appiumVersion',_0x3e60b[_0x544c31(0xdb)]='deviceOrientation',_0x3e60b[_0x544c31(0x94)]=_0x544c31(0xee),_0x3e60b[_0x544c31(0x84)]=_0x544c31(0xf4),_0x3e60b[_0x544c31(0x8f)]=_0x544c31(0xac),_0x3e60b[_0x544c31(0x9d)]=_0x544c31(0x99),_0x3e60b[_0x544c31(0x100)]=_0x544c31(0xaa),_0x3e60b['WNuwp']=_0x544c31(0x8b),_0x3e60b[_0x544c31(0x103)]='testhubBuildUuid',_0x3e60b['dZyyX']=_0x544c31(0x9a),_0x3e60b[_0x544c31(0xe8)]=_0x544c31(0xa5),_0x3e60b['SBcNd']=_0x544c31(0xc4),_0x3e60b[_0x544c31(0xb3)]=_0x544c31(0xcb),_0x3e60b[_0x544c31(0xf2)]=_0x544c31(0x93),_0x3e60b[_0x544c31(0xf1)]='accessibilityOptions.authToken',_0x3e60b[_0x544c31(0xb4)]=_0x544c31(0xd8),_0x3e60b['rDqxK']=_0x544c31(0x80),_0x3e60b[_0x544c31(0xfd)]=_0x544c31(0x85),_0x3e60b[_0x544c31(0x101)]=_0x544c31(0x78),_0x3e60b[_0x544c31(0x9e)]=_0x544c31(0xb0),_0x3e60b[_0x544c31(0xd7)]=_0x544c31(0xf3),_0x3e60b['QtVCf']='headerParams',_0x3e60b[_0x544c31(0xe3)]='performance';var _0x3e9149=_0x3e60b,_0x2a98f7={};return _0x2a98f7['browserstack.user']=_0x3e9149[_0x544c31(0xbb)],_0x2a98f7[_0x544c31(0xfe)]=_0x3e9149['keKBX'],_0x2a98f7['os']='os',_0x2a98f7['os_version']=_0x3e9149[_0x544c31(0x97)],_0x2a98f7[_0x544c31(0xeb)]=_0x3e9149[_0x544c31(0x104)],_0x2a98f7[_0x544c31(0xb9)]=_0x3e9149[_0x544c31(0xf6)],_0x2a98f7[_0x544c31(0xd6)]=_0x3e9149[_0x544c31(0x92)],_0x2a98f7[_0x544c31(0xd3)]=_0x3e9149[_0x544c31(0xec)],_0x2a98f7['build']=_0x3e9149[_0x544c31(0xaf)],_0x2a98f7[_0x544c31(0xb7)]=_0x3e9149[_0x544c31(0xa4)],_0x2a98f7[_0x544c31(0xd4)]=_0x3e9149[_0x544c31(0xef)],_0x2a98f7[_0x544c31(0xbe)]=_0x3e9149['rmkgY'],_0x2a98f7[_0x544c31(0xc6)]=_0x3e9149['vMbee'],_0x2a98f7[_0x544c31(0x79)]=_0x3e9149[_0x544c31(0xf0)],_0x2a98f7[_0x544c31(0x91)]=_0x3e9149[_0x544c31(0xea)],_0x2a98f7[_0x544c31(0xce)]=_0x3e9149[_0x544c31(0xe4)],_0x2a98f7[_0x544c31(0x7e)]=_0x3e9149['GmLlv'],_0x2a98f7[_0x544c31(0xc1)]=_0x3e9149[_0x544c31(0xa0)],_0x2a98f7['browserstack.seleniumLogs']=_0x3e9149[_0x544c31(0xb5)],_0x2a98f7[_0x544c31(0xed)]=_0x3e9149['UkHxg'],_0x2a98f7['browserstack.geoLocation']=_0x3e9149['zSSeX'],_0x2a98f7[_0x544c31(0xa6)]=_0x3e9149[_0x544c31(0xe1)],_0x2a98f7[_0x544c31(0xc8)]=_0x3e9149[_0x544c31(0xf7)],_0x2a98f7[_0x544c31(0x9b)]=_0x3e9149[_0x544c31(0xfa)],_0x2a98f7['browserstack.maskCommands']=_0x3e9149['QmRpv'],_0x2a98f7[_0x544c31(0xdf)]=_0x3e9149[_0x544c31(0x98)],_0x2a98f7[_0x544c31(0x86)]=_0x3e9149[_0x544c31(0xdd)],_0x2a98f7[_0x544c31(0x9c)]=_0x3e9149[_0x544c31(0xab)],_0x2a98f7['browserstack.hosts']=_0x3e9149[_0x544c31(0xff)],_0x2a98f7[_0x544c31(0xbd)]=_0x3e9149['oMGop'],_0x2a98f7[_0x544c31(0xe7)]=_0x3e9149[_0x544c31(0x83)],_0x2a98f7['browserstack.disableCorsRestrictions']=_0x3e9149[_0x544c31(0xda)],_0x2a98f7[_0x544c31(0xa9)]=_0x3e9149[_0x544c31(0x8e)],_0x2a98f7[_0x544c31(0xad)]=_0x3e9149['MHdbz'],_0x2a98f7['browserstack.appium_version']=_0x3e9149[_0x544c31(0xd0)],_0x2a98f7[_0x544c31(0x102)]=_0x3e9149['RhFrM'],_0x2a98f7[_0x544c31(0xd2)]=_0x3e9149[_0x544c31(0x94)],_0x2a98f7['browserstack.networkProfile']=_0x3e9149['DcCax'],_0x2a98f7[_0x544c31(0xfc)]=_0x3e9149[_0x544c31(0x8f)],_0x2a98f7[_0x544c31(0xa1)]=_0x3e9149[_0x544c31(0x9d)],_0x2a98f7['browserstack.accessibility']=_0x3e9149['zDLTU'],_0x2a98f7[_0x544c31(0x8d)]=_0x3e9149[_0x544c31(0xde)],_0x2a98f7[_0x544c31(0xb6)]=_0x3e9149['OAAFv'],_0x2a98f7[_0x544c31(0x90)]=_0x3e9149['dZyyX'],_0x2a98f7[_0x544c31(0xc3)]=_0x3e9149[_0x544c31(0xe8)],_0x2a98f7[_0x544c31(0xc7)]=_0x3e9149[_0x544c31(0xc9)],_0x2a98f7[_0x544c31(0xd1)]=_0x3e9149[_0x544c31(0xb3)],_0x2a98f7[_0x544c31(0xd9)]=_0x3e9149[_0x544c31(0xf2)],_0x2a98f7[_0x544c31(0xcf)]=_0x3e9149[_0x544c31(0xf1)],_0x2a98f7['browserstack.uploadMedia']=_0x3e9149[_0x544c31(0xb4)],_0x2a98f7[_0x544c31(0x9f)]=_0x3e9149['rDqxK'],_0x2a98f7[_0x544c31(0xb1)]=_0x3e9149['tuTrX'],_0x2a98f7[_0x544c31(0xe9)]=_0x3e9149[_0x544c31(0x101)],_0x2a98f7[_0x544c31(0xdc)]=_0x3e9149[_0x544c31(0x9e)],_0x2a98f7[_0x544c31(0xf8)]=_0x3e9149['bvLpV'],_0x2a98f7[_0x544c31(0x81)]=_0x3e9149['QtVCf'],_0x2a98f7['browserstack.performance']=_0x3e9149[_0x544c31(0xe3)],_0x2a98f7;});
@@ -1 +1 @@
1
- const a176_0x46f3b0=a176_0x4a57;(function(_0xbd9134,_0x57406e){const _0xdbd4b2=a176_0x4a57,_0x564126=_0xbd9134();while(!![]){try{const _0x50306d=parseInt(_0xdbd4b2(0x15f))/0x1+parseInt(_0xdbd4b2(0x17a))/0x2+-parseInt(_0xdbd4b2(0x14b))/0x3+parseInt(_0xdbd4b2(0x17b))/0x4*(-parseInt(_0xdbd4b2(0x174))/0x5)+-parseInt(_0xdbd4b2(0x147))/0x6+-parseInt(_0xdbd4b2(0x195))/0x7*(parseInt(_0xdbd4b2(0x1a3))/0x8)+parseInt(_0xdbd4b2(0x160))/0x9*(parseInt(_0xdbd4b2(0x184))/0xa);if(_0x50306d===_0x57406e)break;else _0x564126['push'](_0x564126['shift']());}catch(_0x59352b){_0x564126['push'](_0x564126['shift']());}}}(a176_0x440c,0x587fb));const url=require(a176_0x46f3b0(0x16a)),util=require(a176_0x46f3b0(0x14f)),helper=require(a176_0x46f3b0(0x16f)),logger=require('./helpers/logger')['winstonLogger'],constants=require(a176_0x46f3b0(0x140)),globals=require(a176_0x46f3b0(0x173));global['newHubUrlBySession']=global['newHubUrlBySession']||new Map(),exports['getRequestOptions']=_0x289a30=>{const _0x1de199=a176_0x46f3b0,_0x2fb5d3={};_0x2fb5d3[_0x1de199(0x161)]=function(_0x34e760,_0x385cf0){return _0x34e760+_0x385cf0;},_0x2fb5d3[_0x1de199(0x158)]='Invalid\x20new\x20HUB\x20URL:\x20';const _0x2ae0f5=_0x2fb5d3,_0x2022f2=url[_0x1de199(0x16b)](_0x289a30);if(!_0x2022f2[_0x1de199(0x15a)])throw new Error(_0x2ae0f5[_0x1de199(0x161)](_0x2ae0f5[_0x1de199(0x158)],_0x289a30));return _0x2022f2[_0x1de199(0x175)]=null,_0x2022f2[_0x1de199(0x13f)]=null,_0x2022f2[_0x1de199(0x170)]=_0x2022f2[_0x1de199(0x176)],_0x2022f2;},exports[a176_0x46f3b0(0x150)]=(_0x4e1a3d,_0x2c299d)=>{const _0x47b169=a176_0x46f3b0,_0x51dcd1={};_0x51dcd1[_0x47b169(0x189)]=_0x47b169(0x13b);const _0x3b3648=_0x51dcd1;if(!_0x2c299d){logger[_0x47b169(0x13c)](_0x3b3648['VMeCT']);return;}global[_0x47b169(0x177)][_0x47b169(0x197)](_0x2c299d,_0x4e1a3d);},exports[a176_0x46f3b0(0x15d)]=_0x52c91e=>{const _0x41a8fd=a176_0x46f3b0;if(_0x52c91e&&global[_0x41a8fd(0x177)][_0x41a8fd(0x1a1)](_0x52c91e)){const _0x2b5c0d=global[_0x41a8fd(0x177)][_0x41a8fd(0x19c)](_0x52c91e);return global[_0x41a8fd(0x177)][_0x41a8fd(0x18c)](_0x52c91e),_0x2b5c0d;}return'';},exports['allocateHub']=_0x63c18d=>{const _0x2f53e9=a176_0x46f3b0,_0x3a5a3e={'dXuqD':function(_0xabd1c7,_0x115eb0){return _0xabd1c7!==_0x115eb0;},'XtmDM':function(_0x2a2c3b,_0x5c7e8e){return _0x2a2c3b+_0x5c7e8e;},'wdHJe':'https://','KsCpO':_0x2f53e9(0x187),'NcEaT':function(_0x17b6b3,_0x35f31f){return _0x17b6b3===_0x35f31f;},'Xogei':_0x2f53e9(0x155),'iximA':_0x2f53e9(0x18f),'WZWNv':function(_0x3825a3,_0x2d630e){return _0x3825a3+_0x2d630e;},'muxHv':_0x2f53e9(0x162),'ZLYui':function(_0x18413d){return _0x18413d();},'LdhtE':function(_0x16cdc9,_0x1fa731){return _0x16cdc9+_0x1fa731;},'WcTzi':function(_0x4c8c15){return _0x4c8c15();},'NXFLp':function(_0x34c54f,_0x30cd41){return _0x34c54f==_0x30cd41;},'puHsx':function(_0x2df37a,_0x145d8e){return _0x2df37a===_0x145d8e;}};return new Promise(_0x3b3adb=>{const _0x5ac75e=_0x2f53e9,_0x235120={'YTzMB':function(_0x3a1047,_0x451888){const _0x2eae68=a176_0x4a57;return _0x3a5a3e[_0x2eae68(0x191)](_0x3a1047,_0x451888);},'OylVV':function(_0x4946db,_0x5b1da8){const _0x36cd57=a176_0x4a57;return _0x3a5a3e[_0x36cd57(0x190)](_0x4946db,_0x5b1da8);},'bmvEn':_0x3a5a3e[_0x5ac75e(0x167)],'YicEa':_0x3a5a3e[_0x5ac75e(0x169)],'wKTCt':function(_0x5accc2,_0x593fdc){return _0x3a5a3e['NcEaT'](_0x5accc2,_0x593fdc);},'rurMI':_0x3a5a3e[_0x5ac75e(0x163)],'oQpqh':_0x3a5a3e['iximA'],'jCCys':function(_0x4d54c4,_0x2a44e4){const _0x59f638=_0x5ac75e;return _0x3a5a3e[_0x59f638(0x199)](_0x4d54c4,_0x2a44e4);},'oBdlw':function(_0x3afec7,_0x2a5ba6){return _0x3a5a3e['XtmDM'](_0x3afec7,_0x2a5ba6);},'bFrFB':_0x3a5a3e[_0x5ac75e(0x14a)],'naVLX':function(_0x14b763){const _0x38bace=_0x5ac75e;return _0x3a5a3e[_0x38bace(0x172)](_0x14b763);},'fUKvd':function(_0x437549,_0x632536){const _0x4ec7cd=_0x5ac75e;return _0x3a5a3e[_0x4ec7cd(0x153)](_0x437549,_0x632536);},'OJkJq':function(_0xff71b3){const _0x2f3794=_0x5ac75e;return _0x3a5a3e[_0x2f3794(0x182)](_0xff71b3);},'oxhsX':function(_0x56b6be,_0x5e810f){const _0x253085=_0x5ac75e;return _0x3a5a3e[_0x253085(0x15e)](_0x56b6be,_0x5e810f);},'AEDAq':function(_0x2604a3,_0x59abae){const _0x9e8650=_0x5ac75e;return _0x3a5a3e[_0x9e8650(0x15c)](_0x2604a3,_0x59abae);}};if(_0x63c18d&&_0x63c18d['hubRegion']){const _0x45d146=constants['HUB_URL_MAP'][_0x63c18d['hubRegion']];if(_0x45d146)return constants[_0x5ac75e(0x168)]=_0x45d146,logger[_0x5ac75e(0x13c)](_0x5ac75e(0x19e)+_0x45d146),globals[_0x5ac75e(0x166)](_0x3a5a3e[_0x5ac75e(0x169)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x45d146['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x3a5a3e[_0x5ac75e(0x172)](_0x3b3adb);logger['debug']('hubRegion\x20'+_0x63c18d[_0x5ac75e(0x143)]+_0x5ac75e(0x17e));}Promise[_0x5ac75e(0x19b)](this[_0x5ac75e(0x1a6)](_0x63c18d))['then'](_0x9c6006=>{const _0x2a8180=_0x5ac75e,_0x17acaa={'gsKcj':function(_0x3011d5){return _0x235120['naVLX'](_0x3011d5);}};logger[_0x2a8180(0x13c)](_0x2a8180(0x14d)+util[_0x2a8180(0x178)]('%j',_0x9c6006));if(_0x235120[_0x2a8180(0x194)](_0x9c6006,null)||_0x235120['AEDAq'](_0x9c6006[_0x2a8180(0x1a5)],0x0))return _0x235120[_0x2a8180(0x14c)](_0x3b3adb);const _0x2f64cc=_0x9c6006[_0x2a8180(0x186)](_0xf1c5ff=>{const _0x51c030=_0x2a8180,_0x5dea15={'TizZj':function(_0x4b876c,_0x3515cf){const _0xed258b=a176_0x4a57;return _0x235120[_0xed258b(0x16e)](_0x4b876c,_0x3515cf);}},_0xdfeed3=_0x235120[_0x51c030(0x196)](_0x235120[_0x51c030(0x188)],_0xf1c5ff);return this[_0x51c030(0x16c)](_0x63c18d,_0xdfeed3)[_0x51c030(0x1a0)](_0xa12782=>{const _0x1666bf=_0x51c030;if(_0xa12782&&_0xa12782[_0x1666bf(0x168)]&&_0x5dea15[_0x1666bf(0x193)](_0xa12782['latency'],undefined)){const _0x2fd1a5={};return _0x2fd1a5[_0x1666bf(0x168)]=_0xa12782[_0x1666bf(0x168)],_0x2fd1a5[_0x1666bf(0x19a)]=_0xa12782['latency'],_0x2fd1a5['ok']=!![],_0x2fd1a5;}const _0x3761da={};return _0x3761da[_0x1666bf(0x168)]=_0xdfeed3,_0x3761da[_0x1666bf(0x19a)]=null,_0x3761da['ok']=![],_0x3761da;})[_0x51c030(0x17f)](()=>({'hubUrl':_0xdfeed3,'latency':null,'ok':![]}));});Promise[_0x2a8180(0x13e)](_0x2f64cc[_0x2a8180(0x186)](_0x402f84=>_0x402f84[_0x2a8180(0x1a0)](_0x21f6ca=>_0x21f6ca['ok']?_0x21f6ca:null)))[_0x2a8180(0x1a0)](_0x357879=>{const _0x815817=_0x2a8180;if(_0x357879)return _0x357879;return Promise[_0x815817(0x181)](_0x2f64cc)[_0x815817(0x1a0)](()=>null);})[_0x2a8180(0x1a0)](_0x318dce=>{const _0x51229a=_0x2a8180,_0x14fbbf={'AmzzY':_0x235120[_0x51229a(0x18e)],'HkBac':function(_0x4ce1d1,_0x1b9e98){const _0x212ad9=_0x51229a;return _0x235120[_0x212ad9(0x148)](_0x4ce1d1,_0x1b9e98);},'ThcKf':_0x235120[_0x51229a(0x159)]};if(!_0x318dce){logger[_0x51229a(0x13c)](_0x235120['oQpqh']);const _0x13949d=_0x235120[_0x51229a(0x164)](_0x235120[_0x51229a(0x188)],_0x9c6006[0x0]);return globals[_0x51229a(0x166)](_0x235120['YicEa'],{'nearestHubs':_0x9c6006[_0x51229a(0x186)](_0x3dff13=>'https://'+_0x3dff13),'hubLatencies':{},'selectedHub':_0x13949d,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants['hubUrl']=_0x235120['oBdlw'](_0x13949d,_0x235120[_0x51229a(0x156)]),logger[_0x51229a(0x13c)](_0x51229a(0x185)+_0x13949d),_0x235120[_0x51229a(0x14c)](_0x3b3adb);}const _0x2666e4={[_0x318dce[_0x51229a(0x168)]]:_0x318dce[_0x51229a(0x19a)]},_0x151491={'nearestHubs':_0x9c6006[_0x51229a(0x186)](_0x4ee940=>_0x51229a(0x144)+_0x4ee940),'hubLatencies':_0x2666e4,'selectedHub':_0x318dce['hubUrl'],'selectedHubLatency':_0x318dce['latency'],'timestamp':Date['now']()};globals['setGlobal'](_0x235120[_0x51229a(0x18e)],_0x151491),constants[_0x51229a(0x168)]=_0x235120[_0x51229a(0x15b)](_0x318dce['hubUrl'],_0x235120['bFrFB']),logger[_0x51229a(0x13c)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0x318dce['hubUrl']),_0x235120[_0x51229a(0x1a2)](_0x3b3adb),Promise[_0x51229a(0x179)](_0x2f64cc)['then'](_0x9f1a15=>{const _0x1b2ebe=_0x51229a;try{const _0x263f5e=globals[_0x1b2ebe(0x151)](_0x14fbbf[_0x1b2ebe(0x180)]);if(!_0x263f5e||_0x263f5e[_0x1b2ebe(0x13d)])return;const _0x5dde5b={};for(const _0x2b382b of _0x9f1a15){_0x14fbbf[_0x1b2ebe(0x157)](_0x2b382b[_0x1b2ebe(0x13a)],_0x14fbbf['ThcKf'])&&_0x2b382b[_0x1b2ebe(0x149)]&&_0x2b382b[_0x1b2ebe(0x149)]['ok']&&(_0x5dde5b[_0x2b382b[_0x1b2ebe(0x149)][_0x1b2ebe(0x168)]]=_0x2b382b['value'][_0x1b2ebe(0x19a)]);}_0x263f5e[_0x1b2ebe(0x141)]=_0x5dde5b;}catch(_0xd0c1bf){logger[_0x1b2ebe(0x13c)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xd0c1bf);}})[_0x51229a(0x17f)](_0x4bcec5=>{const _0x4ac4b3=_0x51229a;logger['debug'](_0x4ac4b3(0x18b)+_0x4bcec5);});})['catch'](_0x180c3d=>{const _0x3be22e=_0x2a8180;logger[_0x3be22e(0x13c)](_0x3be22e(0x16d)+_0x180c3d),_0x17acaa[_0x3be22e(0x192)](_0x3b3adb);});})[_0x5ac75e(0x17f)](_0x2d751c=>{const _0x9dd3f9=_0x5ac75e;logger[_0x9dd3f9(0x13c)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x2d751c),_0x235120['OJkJq'](_0x3b3adb);});});},exports[a176_0x46f3b0(0x16c)]=async(_0x544420,_0x1e02b0)=>{const _0xf002ad=a176_0x46f3b0,_0x3f67d9={};_0x3f67d9[_0xf002ad(0x152)]=_0xf002ad(0x17d),_0x3f67d9[_0xf002ad(0x171)]='check',_0x3f67d9[_0xf002ad(0x1a4)]=function(_0x4ca7c1,_0x26ca95){return _0x4ca7c1-_0x26ca95;};const _0x1645da=_0x3f67d9;try{const _0x5c7564=new Date();await helper['nodeRequest'](_0x1645da[_0xf002ad(0x152)],_0x1645da[_0xf002ad(0x171)],{},_0x544420,_0x1e02b0,0x1388);const _0x4e4b01=_0x1645da[_0xf002ad(0x1a4)](new Date(),_0x5c7564);logger[_0xf002ad(0x13c)](_0xf002ad(0x142)+_0x1e02b0+_0xf002ad(0x14e)+_0x4e4b01+'ms');const _0x27f5cf={};return _0x27f5cf['hubUrl']=_0x1e02b0,_0x27f5cf[_0xf002ad(0x19a)]=_0x4e4b01,_0x27f5cf;}catch(_0x207a5c){return logger[_0xf002ad(0x13c)](_0xf002ad(0x154)+_0x1e02b0+_0xf002ad(0x17c)+_0x207a5c),{};}},exports[a176_0x46f3b0(0x1a6)]=async _0x2da3e2=>{const _0x274cce=a176_0x46f3b0,_0x4cc316={'opYkJ':function(_0x3dfec6,_0x5d74c4){return _0x3dfec6(_0x5d74c4);},'eyKYZ':_0x274cce(0x140),'LhReq':_0x274cce(0x162),'BBVRE':_0x274cce(0x17d),'ipVbD':_0x274cce(0x19f)};try{const _0x587cab=_0x4cc316[_0x274cce(0x18d)](require,_0x4cc316[_0x274cce(0x165)])['hubUrl'][_0x274cce(0x198)](_0x4cc316[_0x274cce(0x19d)],''),_0x5501b5=await helper[_0x274cce(0x145)](_0x4cc316[_0x274cce(0x146)],_0x4cc316['ipVbD'],{},_0x2da3e2,_0x587cab,0x1388),_0x3b65fb=_0x5501b5['data'];return logger[_0x274cce(0x13c)]('Response:\x20'+util[_0x274cce(0x178)]('%j',_0x3b65fb)),_0x3b65fb[_0x274cce(0x183)];}catch(_0x19f594){logger[_0x274cce(0x13c)](_0x274cce(0x18a)+_0x19f594);}return null;};function a176_0x4a57(_0x4884f7,_0x1d20e4){const _0x440ce0=a176_0x440c();return a176_0x4a57=function(_0x4a57e2,_0x52290c){_0x4a57e2=_0x4a57e2-0x13a;let _0xaac6e6=_0x440ce0[_0x4a57e2];return _0xaac6e6;},a176_0x4a57(_0x4884f7,_0x1d20e4);}function a176_0x440c(){const _0x52f7da=['./helpers/helper','path','qBgYa','ZLYui','./helpers/globals','215JsOJnc','search','pathname','newHubUrlBySession','format','allSettled','333684OFwYhQ','12088lQVfhq','\x20HUB\x20-\x20','GET','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','catch','AmzzY','all','WcTzi','hubs','590Lcsvfn','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','map','_hubAllocationData','bmvEn','VMeCT','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','delete','opYkJ','YicEa','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','XtmDM','dXuqD','gsKcj','TizZj','oxhsX','1904gBDqIL','OylVV','set','replace','WZWNv','latency','resolve','get','LhReq','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','next_hubs','then','has','OJkJq','8264uYckAd','rTKYi','length','nextHubs','status','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','debug','skipped','race','hash','./bin/utils/constants','hubLatencies','Execution\x20time\x20for\x20','hubRegion','https://','nodeRequest','BBVRE','3870672PRwjhn','wKTCt','value','muxHv','1132905pZCgkt','naVLX','NEAREST\x20HUBS\x20LIST:\x20','\x20is:\x20','util','updateHubUrl','getGlobal','RacGW','LdhtE','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','fulfilled','bFrFB','HkBac','FgKsf','rurMI','hostname','fUKvd','puHsx','consumeHubUrlForSession','NXFLp','31126BvjQwU','243792PngZat','bolsm','/wd/hub','Xogei','jCCys','eyKYZ','setGlobal','wdHJe','hubUrl','KsCpO','url','parse','findLatency','ERROR\x20in\x20hub\x20selection:\x20','YTzMB'];a176_0x440c=function(){return _0x52f7da;};return a176_0x440c();}
1
+ const a176_0x4fc156=a176_0x44a2;(function(_0x4455e6,_0x19612a){const _0x157f67=a176_0x44a2,_0x4b5297=_0x4455e6();while(!![]){try{const _0xed46f=-parseInt(_0x157f67(0x11f))/0x1+-parseInt(_0x157f67(0x178))/0x2*(-parseInt(_0x157f67(0x117))/0x3)+-parseInt(_0x157f67(0x12d))/0x4*(-parseInt(_0x157f67(0x157))/0x5)+-parseInt(_0x157f67(0x11b))/0x6+parseInt(_0x157f67(0x122))/0x7*(parseInt(_0x157f67(0x116))/0x8)+-parseInt(_0x157f67(0x150))/0x9*(-parseInt(_0x157f67(0x11e))/0xa)+-parseInt(_0x157f67(0x11d))/0xb*(parseInt(_0x157f67(0x147))/0xc);if(_0xed46f===_0x19612a)break;else _0x4b5297['push'](_0x4b5297['shift']());}catch(_0x54746c){_0x4b5297['push'](_0x4b5297['shift']());}}}(a176_0x1b57,0x9672d));function a176_0x1b57(){const _0x240d91=['./helpers/logger','latency','hubLatencies','4KBhsvV','rGzQp','fwWQQ','tbcIS','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','hubUrl','40jUiMsa','1732662KchMiG','now','HUB_URL_MAP','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','1223736NPBoDn','LeGPB','1133HAYlRg','329740TrlcKf','277551NouJhL','util','setGlobal','740075VKpvev','Jqsfb','resolve','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','debug','all','SpHcC','Response:\x20','XzGGa','ikZoy','ERROR\x20in\x20hub\x20selection:\x20','912556TvFPDV','path','TDiXo','catch','jvadl','set','hPdIQ','hubRegion','parse','\x20HUB\x20-\x20','GEQtK','puYsU','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','allSettled','Execution\x20time\x20for\x20','NEAREST\x20HUBS\x20LIST:\x20','delete','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','./helpers/helper','qzSZn','next_hubs','nextHubs','Invalid\x20new\x20HUB\x20URL:\x20','udVQM','get','findLatency','175212rqVlOy','SLLWT','DhuKN','status','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','pathname','MMGUy','getRequestOptions','https://','126UpnZyg','IUetb','hubs','value','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','allocateHub','length','10vIuaou','zFzGx','nodeRequest','check','bEtIh','newHubUrlBySession','race','IVHdS','replace','./bin/utils/constants','updateHubUrl','/wd/hub','format','hubRegion\x20','Fukhe','ZyoBL','HrhAN','HjGhI','hash','then','map','GET','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','whRlb','search','DstDb','hostname','IIoQP','BZFKZ','ZYvNE'];a176_0x1b57=function(){return _0x240d91;};return a176_0x1b57();}const url=require('url'),util=require(a176_0x4fc156(0x120)),helper=require(a176_0x4fc156(0x13f)),logger=require(a176_0x4fc156(0x175))['winstonLogger'],constants=require(a176_0x4fc156(0x160)),globals=require('./helpers/globals');function a176_0x44a2(_0x438ee1,_0x2c1558){const _0x1b5711=a176_0x1b57();return a176_0x44a2=function(_0x44a2f6,_0x4e40fb){_0x44a2f6=_0x44a2f6-0x116;let _0x2a20c1=_0x1b5711[_0x44a2f6];return _0x2a20c1;},a176_0x44a2(_0x438ee1,_0x2c1558);}global['newHubUrlBySession']=global[a176_0x4fc156(0x15c)]||new Map(),exports[a176_0x4fc156(0x14e)]=_0x5d8b2a=>{const _0x527400=a176_0x4fc156,_0x3f1696={};_0x3f1696[_0x527400(0x166)]=function(_0x304ff4,_0x5ad5aa){return _0x304ff4+_0x5ad5aa;},_0x3f1696[_0x527400(0x15e)]=_0x527400(0x143);const _0x2661f4=_0x3f1696,_0x2a663a=url[_0x527400(0x135)](_0x5d8b2a);if(!_0x2a663a[_0x527400(0x171)])throw new Error(_0x2661f4[_0x527400(0x166)](_0x2661f4['IVHdS'],_0x5d8b2a));return _0x2a663a[_0x527400(0x16f)]=null,_0x2a663a[_0x527400(0x169)]=null,_0x2a663a[_0x527400(0x12e)]=_0x2a663a[_0x527400(0x14c)],_0x2a663a;},exports[a176_0x4fc156(0x161)]=(_0x4647cc,_0x2b6251)=>{const _0x1d4075=a176_0x4fc156,_0x3c9c24={};_0x3c9c24['HjGhI']=_0x1d4075(0x139);const _0x874729=_0x3c9c24;if(!_0x2b6251){logger['debug'](_0x874729[_0x1d4075(0x168)]);return;}global[_0x1d4075(0x15c)][_0x1d4075(0x132)](_0x2b6251,_0x4647cc);},exports['consumeHubUrlForSession']=_0x8be84b=>{const _0x6e5ed1=a176_0x4fc156;if(_0x8be84b&&global[_0x6e5ed1(0x15c)]['has'](_0x8be84b)){const _0x5a7e86=global[_0x6e5ed1(0x15c)][_0x6e5ed1(0x145)](_0x8be84b);return global[_0x6e5ed1(0x15c)][_0x6e5ed1(0x13d)](_0x8be84b),_0x5a7e86;}return'';},exports[a176_0x4fc156(0x155)]=_0x392ff0=>{const _0x570b09=a176_0x4fc156,_0x51d7d5={'bEtIh':'_hubAllocationData','SLLWT':function(_0xab3c8c,_0x1190b8){return _0xab3c8c===_0x1190b8;},'IUetb':'fulfilled','XzGGa':_0x570b09(0x125),'Jqsfb':function(_0x1ed35a,_0x3b78b6){return _0x1ed35a+_0x3b78b6;},'VTMRR':_0x570b09(0x14f),'whRlb':_0x570b09(0x162),'zFzGx':function(_0x1ca881){return _0x1ca881();},'ZAxSM':function(_0x4b96a8,_0x36830f){return _0x4b96a8==_0x36830f;},'LeGPB':function(_0x3b68ba,_0x272328){return _0x3b68ba===_0x272328;},'Fukhe':function(_0x112be3,_0x5987c7){return _0x112be3!==_0x5987c7;},'IIoQP':function(_0x2a8a76){return _0x2a8a76();},'udVQM':function(_0x325f64){return _0x325f64();},'oqOvd':function(_0x2f7c57){return _0x2f7c57();}};return new Promise(_0x4a3f84=>{const _0x7dc11b=_0x570b09,_0x470f40={'puYsU':function(_0x417156,_0x3a1d69){const _0xe22767=a176_0x44a2;return _0x51d7d5[_0xe22767(0x165)](_0x417156,_0x3a1d69);},'cJZYQ':function(_0x22fa4c,_0x2f5339){return _0x51d7d5['Jqsfb'](_0x22fa4c,_0x2f5339);},'xmkOq':_0x51d7d5['VTMRR'],'MMGUy':function(_0x1afbf5){const _0x545104=a176_0x44a2;return _0x51d7d5[_0x545104(0x172)](_0x1afbf5);},'qzSZn':function(_0x12cf81){const _0x4e612d=a176_0x44a2;return _0x51d7d5[_0x4e612d(0x144)](_0x12cf81);}};if(_0x392ff0&&_0x392ff0['hubRegion']){const _0x31258b=constants[_0x7dc11b(0x119)][_0x392ff0[_0x7dc11b(0x134)]];if(_0x31258b)return constants[_0x7dc11b(0x17d)]=_0x31258b,logger[_0x7dc11b(0x126)]('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0x31258b),globals[_0x7dc11b(0x121)](_0x51d7d5[_0x7dc11b(0x15b)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x31258b[_0x7dc11b(0x15f)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x51d7d5['oqOvd'](_0x4a3f84);logger[_0x7dc11b(0x126)](_0x7dc11b(0x164)+_0x392ff0[_0x7dc11b(0x134)]+_0x7dc11b(0x16d));}Promise[_0x7dc11b(0x124)](this[_0x7dc11b(0x142)](_0x392ff0))[_0x7dc11b(0x16a)](_0x270d0c=>{const _0x2851c7=_0x7dc11b,_0x3321a0={'rGzQp':_0x51d7d5[_0x2851c7(0x15b)],'ikZoy':function(_0x15cdf6,_0x2c5373){const _0x32e658=_0x2851c7;return _0x51d7d5[_0x32e658(0x148)](_0x15cdf6,_0x2c5373);},'GEQtK':_0x51d7d5[_0x2851c7(0x151)],'TDiXo':_0x51d7d5[_0x2851c7(0x12a)],'HrhAN':function(_0x5e5457,_0x457344){const _0x27a256=_0x2851c7;return _0x51d7d5[_0x27a256(0x123)](_0x5e5457,_0x457344);},'CSPAu':_0x51d7d5['VTMRR'],'DhuKN':_0x51d7d5[_0x2851c7(0x16e)],'BZFKZ':function(_0x27625a){const _0x528709=_0x2851c7;return _0x51d7d5[_0x528709(0x158)](_0x27625a);}};logger[_0x2851c7(0x126)](_0x2851c7(0x13c)+util[_0x2851c7(0x163)]('%j',_0x270d0c));if(_0x51d7d5['ZAxSM'](_0x270d0c,null)||_0x51d7d5[_0x2851c7(0x11c)](_0x270d0c[_0x2851c7(0x156)],0x0))return _0x51d7d5['zFzGx'](_0x4a3f84);const _0x3527cd=_0x270d0c['map'](_0x2b76c4=>{const _0x3ae7bc=_0x2851c7,_0x3dbd5b={'ZYvNE':function(_0x11b24e,_0x52ee0b){const _0x731b17=a176_0x44a2;return _0x470f40[_0x731b17(0x138)](_0x11b24e,_0x52ee0b);}},_0x2b279f=_0x470f40['cJZYQ'](_0x470f40['xmkOq'],_0x2b76c4);return this[_0x3ae7bc(0x146)](_0x392ff0,_0x2b279f)[_0x3ae7bc(0x16a)](_0xfcf136=>{const _0x153e32=_0x3ae7bc;if(_0xfcf136&&_0xfcf136[_0x153e32(0x17d)]&&_0x3dbd5b[_0x153e32(0x174)](_0xfcf136[_0x153e32(0x176)],undefined)){const _0x3530be={};return _0x3530be['hubUrl']=_0xfcf136[_0x153e32(0x17d)],_0x3530be[_0x153e32(0x176)]=_0xfcf136[_0x153e32(0x176)],_0x3530be['ok']=!![],_0x3530be;}const _0x330094={};return _0x330094[_0x153e32(0x17d)]=_0x2b279f,_0x330094[_0x153e32(0x176)]=null,_0x330094['ok']=![],_0x330094;})[_0x3ae7bc(0x130)](()=>({'hubUrl':_0x2b279f,'latency':null,'ok':![]}));});Promise[_0x2851c7(0x15d)](_0x3527cd[_0x2851c7(0x16b)](_0x450ddd=>_0x450ddd[_0x2851c7(0x16a)](_0x256747=>_0x256747['ok']?_0x256747:null)))[_0x2851c7(0x16a)](_0x524573=>{const _0x2825b5=_0x2851c7;if(_0x524573)return _0x524573;return Promise[_0x2825b5(0x127)](_0x3527cd)[_0x2825b5(0x16a)](()=>null);})[_0x2851c7(0x16a)](_0xbc14d8=>{const _0x46be44=_0x2851c7;if(!_0xbc14d8){logger[_0x46be44(0x126)](_0x3321a0[_0x46be44(0x12f)]);const _0xb3afaa=_0x3321a0[_0x46be44(0x167)](_0x3321a0['CSPAu'],_0x270d0c[0x0]);return globals[_0x46be44(0x121)](_0x3321a0[_0x46be44(0x179)],{'nearestHubs':_0x270d0c[_0x46be44(0x16b)](_0x441c5b=>_0x46be44(0x14f)+_0x441c5b),'hubLatencies':{},'selectedHub':_0xb3afaa,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x46be44(0x118)]()}),constants[_0x46be44(0x17d)]=_0x3321a0['HrhAN'](_0xb3afaa,_0x3321a0['DhuKN']),logger[_0x46be44(0x126)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0xb3afaa),_0x3321a0[_0x46be44(0x173)](_0x4a3f84);}const _0x2ab484={[_0xbc14d8[_0x46be44(0x17d)]]:_0xbc14d8[_0x46be44(0x176)]},_0x159bc6={'nearestHubs':_0x270d0c[_0x46be44(0x16b)](_0x8d4f47=>_0x46be44(0x14f)+_0x8d4f47),'hubLatencies':_0x2ab484,'selectedHub':_0xbc14d8[_0x46be44(0x17d)],'selectedHubLatency':_0xbc14d8[_0x46be44(0x176)],'timestamp':Date[_0x46be44(0x118)]()};globals[_0x46be44(0x121)](_0x3321a0[_0x46be44(0x179)],_0x159bc6),constants['hubUrl']=_0x3321a0['HrhAN'](_0xbc14d8[_0x46be44(0x17d)],_0x3321a0[_0x46be44(0x149)]),logger[_0x46be44(0x126)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0xbc14d8[_0x46be44(0x17d)]),_0x3321a0[_0x46be44(0x173)](_0x4a3f84),Promise[_0x46be44(0x13a)](_0x3527cd)[_0x46be44(0x16a)](_0x1db670=>{const _0x1fb851=_0x46be44;try{const _0x3d1201=globals['getGlobal'](_0x3321a0[_0x1fb851(0x179)]);if(!_0x3d1201||_0x3d1201['skipped'])return;const _0x33fe4d={};for(const _0x15e475 of _0x1db670){_0x3321a0[_0x1fb851(0x12b)](_0x15e475[_0x1fb851(0x14a)],_0x3321a0[_0x1fb851(0x137)])&&_0x15e475[_0x1fb851(0x153)]&&_0x15e475[_0x1fb851(0x153)]['ok']&&(_0x33fe4d[_0x15e475['value'][_0x1fb851(0x17d)]]=_0x15e475[_0x1fb851(0x153)][_0x1fb851(0x176)]);}_0x3d1201[_0x1fb851(0x177)]=_0x33fe4d;}catch(_0x5cf556){logger[_0x1fb851(0x126)](_0x1fb851(0x154)+_0x5cf556);}})['catch'](_0x48b38e=>{const _0x1be12f=_0x46be44;logger[_0x1be12f(0x126)](_0x1be12f(0x14b)+_0x48b38e);});})['catch'](_0xee7821=>{const _0x48487c=_0x2851c7;logger[_0x48487c(0x126)](_0x48487c(0x12c)+_0xee7821),_0x470f40[_0x48487c(0x14d)](_0x4a3f84);});})[_0x7dc11b(0x130)](_0x585d22=>{const _0x2429a7=_0x7dc11b;logger[_0x2429a7(0x126)](_0x2429a7(0x17c)+_0x585d22),_0x470f40[_0x2429a7(0x140)](_0x4a3f84);});});},exports[a176_0x4fc156(0x146)]=async(_0xadd5f5,_0x57e540)=>{const _0x4f2acc=a176_0x4fc156,_0x39732d={};_0x39732d['fwWQQ']=_0x4f2acc(0x16c),_0x39732d[_0x4f2acc(0x170)]=_0x4f2acc(0x15a),_0x39732d['SpHcC']=function(_0x57b91e,_0x13777d){return _0x57b91e-_0x13777d;};const _0x5823c2=_0x39732d;try{const _0x1820d0=new Date();await helper[_0x4f2acc(0x159)](_0x5823c2[_0x4f2acc(0x17a)],_0x5823c2[_0x4f2acc(0x170)],{},_0xadd5f5,_0x57e540,0x1388);const _0xc79415=_0x5823c2[_0x4f2acc(0x128)](new Date(),_0x1820d0);logger[_0x4f2acc(0x126)](_0x4f2acc(0x13b)+_0x57e540+'\x20is:\x20'+_0xc79415+'ms');const _0x1f7f69={};return _0x1f7f69[_0x4f2acc(0x17d)]=_0x57e540,_0x1f7f69[_0x4f2acc(0x176)]=_0xc79415,_0x1f7f69;}catch(_0x20615f){return logger[_0x4f2acc(0x126)](_0x4f2acc(0x13e)+_0x57e540+_0x4f2acc(0x136)+_0x20615f),{};}},exports[a176_0x4fc156(0x142)]=async _0x3b31bd=>{const _0x111edc=a176_0x4fc156,_0x40b1d9={'hPdIQ':function(_0x586084,_0x4cdfff){return _0x586084(_0x4cdfff);},'CYqap':'./bin/utils/constants','SkSCQ':_0x111edc(0x162),'tbcIS':_0x111edc(0x16c),'jvadl':_0x111edc(0x141)};try{const _0x2e503d=_0x40b1d9[_0x111edc(0x133)](require,_0x40b1d9['CYqap'])[_0x111edc(0x17d)][_0x111edc(0x15f)](_0x40b1d9['SkSCQ'],''),_0x10d0d4=await helper[_0x111edc(0x159)](_0x40b1d9[_0x111edc(0x17b)],_0x40b1d9[_0x111edc(0x131)],{},_0x3b31bd,_0x2e503d,0x1388),_0x54ae68=_0x10d0d4['data'];return logger[_0x111edc(0x126)](_0x111edc(0x129)+util[_0x111edc(0x163)]('%j',_0x54ae68)),_0x54ae68[_0x111edc(0x152)];}catch(_0xad4fcc){logger[_0x111edc(0x126)](_0x111edc(0x11a)+_0xad4fcc);}return null;};