browserstack-node-sdk 1.65.1 → 1.65.2

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 (216) 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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/node-generic/client.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/reporterArgs.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/nodeGenericTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/sdkErrorHandler.js +1 -1
  156. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  157. package/src/bin/v2/state/hookState.js +1 -1
  158. package/src/bin/v2/state/testFrameworkState.js +1 -1
  159. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  160. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  161. package/src/bin/v2/utils/jest-utils.js +1 -1
  162. package/src/bin/vanilla-js/command.js +1 -1
  163. package/src/browserStackSdk.js +1 -1
  164. package/src/helpers/BrowserStackSetup.js +1 -1
  165. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  166. package/src/helpers/accessibility-automation/constants.js +1 -1
  167. package/src/helpers/accessibility-automation/helper.js +1 -1
  168. package/src/helpers/accessibility-automation/scripts.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a171_0x297a91=a171_0x5bb9;(function(_0x100155,_0x195f60){const _0x49c2b0=a171_0x5bb9,_0x39aec3=_0x100155();while(!![]){try{const _0x296da3=-parseInt(_0x49c2b0(0x256))/0x1+-parseInt(_0x49c2b0(0x21f))/0x2*(-parseInt(_0x49c2b0(0x200))/0x3)+parseInt(_0x49c2b0(0x262))/0x4*(parseInt(_0x49c2b0(0x28f))/0x5)+parseInt(_0x49c2b0(0x214))/0x6*(-parseInt(_0x49c2b0(0x29b))/0x7)+-parseInt(_0x49c2b0(0x240))/0x8*(parseInt(_0x49c2b0(0x1cf))/0x9)+parseInt(_0x49c2b0(0x260))/0xa*(-parseInt(_0x49c2b0(0x27c))/0xb)+parseInt(_0x49c2b0(0x220))/0xc*(parseInt(_0x49c2b0(0x28a))/0xd);if(_0x296da3===_0x195f60)break;else _0x39aec3['push'](_0x39aec3['shift']());}catch(_0x4efbc8){_0x39aec3['push'](_0x39aec3['shift']());}}}(a171_0x5d18,0xdf000));const bsSetupHelper=require(a171_0x297a91(0x2a1)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x297a91(0x20d)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require('../logger')['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a171_0x297a91(0x2a6)),globals=require(a171_0x297a91(0x271)),testHubConstants=require(a171_0x297a91(0x216)),PWTestDetails=require(a171_0x297a91(0x206)),JestTestDetails=require(a171_0x297a91(0x27b)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a171_0x297a91(0x231)),OrchestrationUtils=require(a171_0x297a91(0x22b)),constants=require(a171_0x297a91(0x2a3));let testData={};exports[a171_0x297a91(0x20e)]=_0x50ef2d=>{const _0x288002=a171_0x297a91,_0x4cd5aa={'OHuJs':function(_0xf77944){return _0xf77944();},'epkmH':function(_0x4a1c4b,_0x3ebe27){return _0x4a1c4b===_0x3ebe27;},'vvrOc':'true'};let _0x4b8182=![],_0xec10b2=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x288002(0x1de)](_0x50ef2d))_0xec10b2=!![];else bsSetupHelper[_0x288002(0x21d)]()&&(_0x4b8182=!![]);return Object[_0x288002(0x233)]({'observability':_0x4cd5aa[_0x288002(0x24d)](isTestObservabilitySession),'accessibility':exports[_0x288002(0x257)](_0x50ef2d),'percy':_0x50ef2d[_0x288002(0x1f1)]||![],'sr_automation':_0x4cd5aa[_0x288002(0x276)](process[_0x288002(0x1ee)][_0x288002(0x1f6)],_0x4cd5aa[_0x288002(0x1e8)])||_0x50ef2d[_0x288002(0x26e)]||![],'automate':_0x4b8182,'app_automate':_0xec10b2,'turboscale':bsSetupHelper[_0x288002(0x25f)](_0x50ef2d),'lts':LoadTestModule[_0x288002(0x23c)](_0x50ef2d)},bsSetupHelper['getCentralUser']());},exports[a171_0x297a91(0x274)]=(_0x5c040c,_0x5bd940)=>{const _0x26cfff=a171_0x297a91,_0x19d795={'suRXm':function(_0x5c5dde,_0x326ab0){return _0x5c5dde(_0x326ab0);},'mfbBm':'javascript'},_0x3af493={'frameworkName':_0x5bd940,'frameworkVersion':_0x19d795[_0x26cfff(0x298)](getFrameworkVersion,_0x5bd940),'sdkVersion':bsSetupHelper[_0x26cfff(0x215)](),'language':_0x19d795[_0x26cfff(0x249)],'testFramework':bsSetupHelper[_0x26cfff(0x213)](_0x5c040c,_0x5bd940)};return process[_0x26cfff(0x1ee)][_0x26cfff(0x1ce)]=JSON[_0x26cfff(0x1e1)](_0x3af493),_0x3af493;},exports['setPercyFlag']=_0x1758ee=>{const _0x1e60e0=a171_0x297a91,_0x4013f9={};_0x4013f9[_0x1e60e0(0x224)]='false',_0x4013f9['vRftX']=_0x1e60e0(0x201);const _0x1d8c57=_0x4013f9;process[_0x1e60e0(0x1ee)][_0x1e60e0(0x281)]=_0x1d8c57['IzOIu'],bsSetupHelper[_0x1e60e0(0x219)](_0x1758ee[_0x1e60e0(0x228)][_0x1e60e0(0x1f1)])&&(!_0x1758ee[_0x1e60e0(0x1f1)]||!_0x1758ee[_0x1e60e0(0x1f1)]['isRunning']())&&(process[_0x1e60e0(0x1ee)][_0x1e60e0(0x281)]=_0x1d8c57[_0x1e60e0(0x217)]);},exports[a171_0x297a91(0x265)]=()=>{const _0x2b998a=a171_0x297a91;return bsSetupHelper[_0x2b998a(0x219)](process[_0x2b998a(0x1ee)][_0x2b998a(0x281)]);},exports[a171_0x297a91(0x257)]=(_0x4238d2={})=>{const _0x1c118d=a171_0x297a91,_0x128e5e={};_0x128e5e['KqguY']=function(_0xddf504,_0x11dab8){return _0xddf504!==_0x11dab8;},_0x128e5e[_0x1c118d(0x287)]=function(_0xb2b5d,_0xce7f3f){return _0xb2b5d===_0xce7f3f;},_0x128e5e['vmfOO']=_0x1c118d(0x201),_0x128e5e[_0x1c118d(0x1f2)]=function(_0x365459,_0x1f25e3){return _0x365459>_0x1f25e3;},_0x128e5e[_0x1c118d(0x280)]=function(_0x891740,_0x54b675){return _0x891740===_0x54b675;};const _0x41bac8=_0x128e5e;if(_0x41bac8[_0x1c118d(0x1ea)](process[_0x1c118d(0x1ee)][_0x1c118d(0x28e)],undefined))return bsSetupHelper[_0x1c118d(0x219)](process['env'][_0x1c118d(0x28e)]);let _0x29b42e=_0x41bac8['ThIRM'](process[_0x1c118d(0x1ee)][_0x1c118d(0x23b)],_0x41bac8[_0x1c118d(0x209)]);return _0x41bac8['hRPCJ'](Object[_0x1c118d(0x1d3)](_0x4238d2)[_0x1c118d(0x207)],0x0)&&(process[_0x1c118d(0x1ee)][_0x1c118d(0x222)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4238d2)),_0x29b42e=_0x29b42e||_0x41bac8['ItwZz'](process[_0x1c118d(0x1ee)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x41bac8[_0x1c118d(0x209)]),_0x29b42e;},exports[a171_0x297a91(0x223)]=(_0x14bca9,_0x1b1356)=>{const _0x34020a=a171_0x297a91,_0x3b1433={'RjbbO':function(_0x575d69){return _0x575d69();},'VvftM':'4|2|1|5|0|3','wiamN':_0x34020a(0x201),'Ewyll':function(_0x59c01b,_0x448e6e,_0x2c4661){return _0x59c01b(_0x448e6e,_0x2c4661);},'TdXlG':'observability','ZghHc':_0x34020a(0x230)};if(!_0x14bca9||!_0x14bca9[_0x34020a(0x1db)])return exports[_0x34020a(0x1ff)](),[null,null,null];if(!_0x14bca9[_0x34020a(0x1db)][_0x34020a(0x1e3)])return exports[_0x34020a(0x1ff)](_0x14bca9[_0x34020a(0x1db)]),[null,null,null];if(_0x3b1433['RjbbO'](isTestObservabilitySession)){const _0x85bf41=_0x3b1433[_0x34020a(0x26f)][_0x34020a(0x1d4)]('|');let _0x55758b=0x0;while(!![]){switch(_0x85bf41[_0x55758b++]){case'0':logger['debug']('['+constants['TEST_REPORTING_ANALYTICS']+_0x34020a(0x26a)+_0x14bca9['build_hashed_id']);continue;case'1':_0x14bca9[_0x34020a(0x296)]&&(process[_0x34020a(0x1ee)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x14bca9[_0x34020a(0x296)]);continue;case'2':if(_0x14bca9[_0x34020a(0x293)]){process[_0x34020a(0x1ee)][_0x34020a(0x1e2)]=_0x14bca9[_0x34020a(0x293)];const _0x562e45={};_0x562e45[_0x34020a(0x1f8)]=_0x1b1356[_0x34020a(0x1f8)],_0x562e45[_0x34020a(0x1cc)]=_0x1b1356['password'],process[_0x34020a(0x1ee)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x34020a(0x1e1)](_0x562e45);}continue;case'3':return[_0x14bca9[_0x34020a(0x293)],_0x14bca9['build_hashed_id'],process['env'][_0x34020a(0x211)]];case'4':process[_0x34020a(0x1ee)][_0x34020a(0x229)]=_0x3b1433[_0x34020a(0x275)];continue;case'5':_0x3b1433[_0x34020a(0x21e)](nestedKeyValue,_0x14bca9,[_0x3b1433[_0x34020a(0x24c)],_0x3b1433[_0x34020a(0x1cb)]])&&(process[_0x34020a(0x1ee)][_0x34020a(0x211)]=_0x14bca9['observability']['options'][_0x34020a(0x1d9)]['toString']());continue;}break;}}return[null,null,null];},exports[a171_0x297a91(0x2a0)]=_0x2d473c=>{const _0x4ccd75=a171_0x297a91,_0x4722b7={'VBpnn':function(_0x1ffdbb,_0x45b521,_0x33f2fa){return _0x1ffdbb(_0x45b521,_0x33f2fa);},'iwJHB':_0x4ccd75(0x212),'bRUhJ':_0x4ccd75(0x230),'rUXYr':function(_0x1249e5,_0x14f193,_0x317cdc,_0x4ee5ba){return _0x1249e5(_0x14f193,_0x317cdc,_0x4ee5ba);},'AIZKT':_0x4ccd75(0x25e),'qWsnB':_0x4ccd75(0x27e),'tfyGD':_0x4ccd75(0x29c),'uqDLH':_0x4ccd75(0x26c),'gJVMq':function(_0x55513d,_0x10673c,_0x333573,_0x5d1490){return _0x55513d(_0x10673c,_0x333573,_0x5d1490);},'RIVSd':_0x4ccd75(0x24e),'ajsXm':'goog:chromeOptions','WKhiH':function(_0x329f4e,_0x4531b6){return _0x329f4e(_0x4531b6);},'vEUKX':function(_0x4cb6a0,_0x72ef05){return _0x4cb6a0===_0x72ef05;},'ICOcI':function(_0x51269a,_0xdf7873){return _0x51269a===_0xdf7873;},'iEZJd':'true','rsRmR':_0x4ccd75(0x227)};if(!_0x2d473c[_0x4ccd75(0x212)])return exports[_0x4ccd75(0x246)](),[null,null];if(!_0x2d473c['accessibility'][_0x4ccd75(0x1e3)])return exports[_0x4ccd75(0x246)](_0x2d473c['accessibility']),[null,null];if(_0x4722b7[_0x4ccd75(0x1fb)](nestedKeyValue,_0x2d473c,[_0x4722b7[_0x4ccd75(0x1ca)],_0x4722b7[_0x4ccd75(0x268)]])){const {accessibilityToken:_0x3d02ad,scannerVersion:_0x461ad4,scannerProcessingTimeout:_0x399076,isMobileScanningEnabledForGroup:_0x1a4ee5}=_0x4722b7[_0x4ccd75(0x20c)](jsonifyAccessibilityArray,_0x2d473c[_0x4ccd75(0x212)][_0x4ccd75(0x230)]['capabilities'],_0x4722b7[_0x4ccd75(0x1ef)],_0x4722b7[_0x4ccd75(0x241)]),_0x11871e={'scripts':_0x4722b7[_0x4ccd75(0x20c)](jsonifyAccessibilityArray,_0x2d473c[_0x4ccd75(0x212)][_0x4ccd75(0x230)][_0x4ccd75(0x290)],_0x4722b7['AIZKT'],_0x4722b7[_0x4ccd75(0x28d)])};_0x11871e[_0x4722b7[_0x4ccd75(0x1c9)]]=_0x2d473c['accessibility']['options'][_0x4ccd75(0x252)][_0x4ccd75(0x26c)];const _0x157702=_0x4722b7[_0x4ccd75(0x264)](jsonifyAccessibilityArray,_0x2d473c['accessibility'][_0x4ccd75(0x230)]['capabilities'],_0x4722b7[_0x4ccd75(0x1ef)],_0x4722b7[_0x4ccd75(0x241)]);_0x11871e[_0x4722b7[_0x4ccd75(0x1d2)]]=_0x157702[_0x4722b7['ajsXm']],scripts['parseFromJson'](_0x11871e),scripts[_0x4ccd75(0x299)]();let _0x535d66=process[_0x4ccd75(0x1ee)][_0x4ccd75(0x226)];_0x535d66=!!_0x535d66?JSON['parse'](_0x535d66):{},_0x535d66['scannerVersion']=_0x461ad4,process['env'][_0x4ccd75(0x226)]=JSON[_0x4ccd75(0x1e1)](_0x535d66),process[_0x4ccd75(0x1ee)][_0x4ccd75(0x258)]=_0x3d02ad,process[_0x4ccd75(0x1ee)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x4722b7[_0x4ccd75(0x263)](String,_0x4722b7[_0x4ccd75(0x1e9)](_0x1a4ee5,!![])||_0x4722b7['ICOcI'](_0x1a4ee5,_0x4722b7[_0x4ccd75(0x247)])),logger[_0x4ccd75(0x1f9)](_0x4ccd75(0x208)+_0x2d473c[_0x4ccd75(0x296)]);const _0xde280e=accessibilityHelper[_0x4ccd75(0x1f0)](_0x3d02ad);return _0xde280e&&bsSetupHelper['isTrue'](_0xde280e[_0x4ccd75(0x1fc)])&&(process[_0x4ccd75(0x1ee)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x4ccd75(0x1f9)](_0x4722b7[_0x4ccd75(0x1e5)])),[_0x3d02ad,_0x2d473c['build_hashed_id'],_0x399076];}return[null,null];},exports[a171_0x297a91(0x1ff)]=_0x1f4579=>{const _0x434e7c=a171_0x297a91,_0x463c9e={};_0x463c9e[_0x434e7c(0x2a2)]='2|6|1|4|3|0|5',_0x463c9e[_0x434e7c(0x1e7)]=_0x434e7c(0x1f7),_0x463c9e[_0x434e7c(0x286)]=_0x434e7c(0x1df);const _0x40274a=_0x463c9e,_0x45a6f9=_0x40274a[_0x434e7c(0x2a2)][_0x434e7c(0x1d4)]('|');let _0x80ed06=0x0;while(!![]){switch(_0x45a6f9[_0x80ed06++]){case'0':process[_0x434e7c(0x1ee)][_0x434e7c(0x211)]=_0x40274a[_0x434e7c(0x1e7)];continue;case'1':process[_0x434e7c(0x1ee)][_0x434e7c(0x229)]=_0x40274a['zbPHv'];continue;case'2':process[_0x434e7c(0x1ee)]['BROWSERSTACK_TESTHUB_UUID']=_0x40274a[_0x434e7c(0x1e7)];continue;case'3':process[_0x434e7c(0x1ee)][_0x434e7c(0x253)]=_0x40274a[_0x434e7c(0x1e7)];continue;case'4':process[_0x434e7c(0x1ee)][_0x434e7c(0x1e2)]=_0x40274a[_0x434e7c(0x1e7)];continue;case'5':exports[_0x434e7c(0x2a4)](_0x1f4579,testHubConstants[_0x434e7c(0x23f)]);continue;case'6':process[_0x434e7c(0x1ee)][_0x434e7c(0x20b)]=_0x40274a[_0x434e7c(0x1e7)];continue;}break;}},exports[a171_0x297a91(0x246)]=_0x50e44d=>{const _0x41f7a8=a171_0x297a91,_0xb2e2f3={};_0xb2e2f3[_0x41f7a8(0x25d)]=_0x41f7a8(0x1e4),_0xb2e2f3[_0x41f7a8(0x1d6)]=_0x41f7a8(0x1f7),_0xb2e2f3[_0x41f7a8(0x225)]=_0x41f7a8(0x1df);const _0x39a71a=_0xb2e2f3,_0xbd2f57=_0x39a71a[_0x41f7a8(0x25d)]['split']('|');let _0x2aef98=0x0;while(!![]){switch(_0xbd2f57[_0x2aef98++]){case'0':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x39a71a[_0x41f7a8(0x1d6)];continue;case'1':exports['logBuildError'](_0x50e44d,testHubConstants[_0x41f7a8(0x279)]);continue;case'2':process[_0x41f7a8(0x1ee)][_0x41f7a8(0x23b)]=_0x39a71a[_0x41f7a8(0x225)];continue;case'3':process[_0x41f7a8(0x1ee)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x39a71a['UpyVj'];continue;case'4':process[_0x41f7a8(0x1ee)][_0x41f7a8(0x1d8)]=_0x39a71a[_0x41f7a8(0x1d6)];continue;}break;}},exports[a171_0x297a91(0x2a4)]=(_0x20c140,_0x45c343='')=>{const _0x35087e=a171_0x297a91,_0x2060b7={};_0x2060b7['YmdWn']=function(_0x288651,_0x138373){return _0x288651===_0x138373;};const _0x37c5fd=_0x2060b7;if(_0x37c5fd[_0x35087e(0x1fa)](_0x20c140,undefined)){logger['error'](_0x45c343[_0x35087e(0x1f5)]()+_0x35087e(0x202));return;}for(const _0x5b2c27 of _0x20c140[_0x35087e(0x1e0)]){const _0xc1230=_0x5b2c27[_0x35087e(0x288)],_0x3e8415=_0x5b2c27['message'];if(_0x3e8415)switch(_0xc1230){case testHubConstants[_0x35087e(0x1cd)][_0x35087e(0x269)]:logger['error'](_0x3e8415);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger[_0x35087e(0x27d)](_0x3e8415);break;case testHubConstants[_0x35087e(0x1cd)][_0x35087e(0x254)]:logger['error'](_0x3e8415);break;default:logger[_0x35087e(0x1d1)](_0x3e8415);}}};function a171_0x5bb9(_0x3febbe,_0x3bb108){const _0x5d1887=a171_0x5d18();return a171_0x5bb9=function(_0x5bb9ef,_0x12ad71){_0x5bb9ef=_0x5bb9ef-0x1c9;let _0xb6a3c8=_0x5d1887[_0x5bb9ef];return _0xb6a3c8;},a171_0x5bb9(_0x3febbe,_0x3bb108);}const jsonifyAccessibilityArray=(_0x44bf4e,_0x41e335,_0x44dc2e)=>{const _0x4457f0={};return _0x44bf4e['forEach'](_0x384b53=>{_0x4457f0[_0x384b53[_0x41e335]]=_0x384b53[_0x44dc2e];}),_0x4457f0;};exports[a171_0x297a91(0x21c)]=_0x131b62=>{const _0x445f02=a171_0x297a91;_0x131b62[_0x445f02(0x293)]&&(process[_0x445f02(0x1ee)][_0x445f02(0x20b)]=_0x131b62[_0x445f02(0x293)]);_0x131b62[_0x445f02(0x296)]&&(process[_0x445f02(0x1ee)][_0x445f02(0x1d8)]=_0x131b62['build_hashed_id'],logger[_0x445f02(0x1f9)](_0x445f02(0x234)+_0x131b62['build_hashed_id']));;},exports['shouldProcessEventForTesthub']=(_0xbca1f4='',_0x29d21e='')=>{const _0x2c6e47=a171_0x297a91,_0x530ea2={'lTnRr':function(_0x4fd8aa){return _0x4fd8aa();},'erUef':function(_0x13b82f,_0x2d1da8){return _0x13b82f===_0x2d1da8;},'MtjfA':_0x2c6e47(0x282),'Vpqth':_0x2c6e47(0x1ed),'knreV':'CBTSessionCreated','nPwzN':_0x2c6e47(0x259),'uUuhN':'HookRunFinished'};if(exports[_0x2c6e47(0x265)]()&&!exports[_0x2c6e47(0x257)]()&&!_0x530ea2[_0x2c6e47(0x244)](isTestObservabilitySession)){if(_0x530ea2[_0x2c6e47(0x210)](_0x29d21e,_0x530ea2[_0x2c6e47(0x28c)]))return![];if([_0x530ea2['Vpqth'],_0x530ea2['knreV']][_0x2c6e47(0x27a)](_0xbca1f4))return![];return!![];}if(exports[_0x2c6e47(0x257)]()&&!_0x530ea2['lTnRr'](isTestObservabilitySession)){if([_0x530ea2[_0x2c6e47(0x21b)],_0x530ea2[_0x2c6e47(0x29d)],_0x530ea2[_0x2c6e47(0x1d0)]][_0x2c6e47(0x27a)](_0xbca1f4))return![];return!![];}return exports[_0x2c6e47(0x257)]()||_0x530ea2[_0x2c6e47(0x244)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a171_0x297a91(0x2a5)]=(_0x106dd2,_0x3676db,_0xbe613f='',_0x29d866)=>{const _0x3fa0f1=a171_0x297a91,_0x2c8371={'gxCIz':_0x3fa0f1(0x259),'bAXUx':'HookRunFinished','PTVGy':function(_0x2a32e7,_0x149ee4){return _0x2a32e7===_0x149ee4;},'vgfpV':_0x3fa0f1(0x295),'bxBnU':'isAccessibilityPlatform','NkaWV':_0x3fa0f1(0x212),'PFUWd':function(_0x2a93b1,_0x301570){return _0x2a93b1&&_0x301570;},'DbaDZ':function(_0x464973,_0x2fa5b5){return _0x464973===_0x2fa5b5;},'nIqDj':function(_0x47d5c7,_0x30ea26){return _0x47d5c7+_0x30ea26;},'kAAtl':function(_0x56248d,_0x2ed146){return _0x56248d(_0x2ed146);},'Wlqij':_0x3fa0f1(0x1e6),'FOPoH':function(_0x486ef8,_0x3d7990){return _0x486ef8+_0x3d7990;},'hCXSA':function(_0x2213ae,_0x2a398d){return _0x2213ae+_0x2a398d;},'EHWof':function(_0x2bf65e,_0x21ef3e){return _0x2bf65e===_0x21ef3e;},'yuRjM':function(_0x221107,_0x108a3f){return _0x221107===_0x108a3f;},'SFuDb':'TestRunStarted','kjySc':function(_0x3d9acd,_0x1530a8){return _0x3d9acd&&_0x1530a8;},'geutp':'product_map'};if(![_0x2c8371['gxCIz'],_0x2c8371[_0x3fa0f1(0x1f4)]][_0x3fa0f1(0x27a)](_0x3676db)&&exports[_0x3fa0f1(0x257)]()){const _0x2286f9={};if(_0x2c8371[_0x3fa0f1(0x25c)](_0x29d866,FRAMEWORKS['MOCHA'])){const _0x5782a4=globals[_0x3fa0f1(0x236)](_0x2c8371[_0x3fa0f1(0x1ec)])||accessibilityHelper[_0x3fa0f1(0x239)](_0xbe613f[_0x3fa0f1(0x28b)](),!![]),_0x158a16=globals[_0x3fa0f1(0x236)](_0x2c8371['bxBnU']);_0x2286f9[_0x2c8371[_0x3fa0f1(0x251)]]=_0x2c8371[_0x3fa0f1(0x204)](_0x158a16,_0x5782a4);}if(_0x2c8371['DbaDZ'](_0x29d866,FRAMEWORKS[_0x3fa0f1(0x297)])){const _0x557839=_0x2c8371[_0x3fa0f1(0x22a)](_0x2c8371[_0x3fa0f1(0x22a)](_0x106dd2[_0x3fa0f1(0x272)][_0x3fa0f1(0x20a)]('\x20'),'\x20'),_0xbe613f[_0x3fa0f1(0x25e)]),_0x4f9828=globals[_0x3fa0f1(0x236)](_0x2c8371[_0x3fa0f1(0x1ec)])||accessibilityHelper[_0x3fa0f1(0x239)](_0x557839,![]),_0x393b5d=browserStackGlobals[_0x3fa0f1(0x29e)];_0x2286f9[_0x2c8371[_0x3fa0f1(0x251)]]=_0x2c8371['PFUWd'](_0x393b5d,_0x4f9828);}if(_0x2c8371['PTVGy'](_0x29d866,FRAMEWORKS['JASMINE'])){const _0x55a7f8=_0x2c8371['kAAtl'](require,_0x2c8371['Wlqij']),_0x30350c=_0xbe613f&&_0x55a7f8[_0x3fa0f1(0x235)](_0xbe613f['id'])||_0x106dd2[_0x3fa0f1(0x285)];_0x30350c&&(_0x106dd2['uuid']=_0x30350c);const _0x4377fb=_0x2c8371['FOPoH'](_0x2c8371[_0x3fa0f1(0x25b)](_0x106dd2[_0x3fa0f1(0x272)]['join']('\x20'),'\x20'),_0xbe613f[_0x3fa0f1(0x237)]||_0x106dd2[_0x3fa0f1(0x25e)]),_0x4016b5=globals[_0x3fa0f1(0x236)](_0x2c8371[_0x3fa0f1(0x1ec)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x4377fb,![]),_0x4c81cf=globals['getGlobal'](_0x2c8371[_0x3fa0f1(0x278)]);_0x2286f9[_0x2c8371[_0x3fa0f1(0x251)]]=_0x2c8371[_0x3fa0f1(0x204)](_0x4c81cf,_0x4016b5);}if(_0x2c8371[_0x3fa0f1(0x1dc)](_0x29d866,FRAMEWORKS[_0x3fa0f1(0x22e)])){if(_0x2c8371[_0x3fa0f1(0x267)](_0x3676db,_0x2c8371[_0x3fa0f1(0x1fd)]))return;_0x2286f9[_0x2c8371[_0x3fa0f1(0x251)]]=PWTestDetails[_0x3fa0f1(0x218)](_0x106dd2[_0x3fa0f1(0x285)]);}if(_0x2c8371['PTVGy'](_0x29d866,FRAMEWORKS[_0x3fa0f1(0x24f)])){const _0x558f18=accessibilityHelper['shouldScanTestForAccessibility'](_0xbe613f['titlePath'](),!![]),_0x17095f=global[_0x3fa0f1(0x243)];_0x2286f9[_0x2c8371[_0x3fa0f1(0x251)]]=_0x2c8371[_0x3fa0f1(0x204)](_0x17095f,_0x558f18);}if(_0x2c8371[_0x3fa0f1(0x1dc)](_0x29d866,FRAMEWORKS[_0x3fa0f1(0x26b)])){const _0x49b7a7=accessibilityHelper[_0x3fa0f1(0x239)](null,![],_0x106dd2[_0x3fa0f1(0x248)]),_0x159ed8=globals[_0x3fa0f1(0x236)](_0x2c8371[_0x3fa0f1(0x278)]);_0x2286f9[_0x2c8371[_0x3fa0f1(0x251)]]=_0x2c8371['kjySc'](_0x159ed8,_0x49b7a7);}_0x106dd2[_0x2c8371[_0x3fa0f1(0x20f)]]=_0x2286f9;}},exports[a171_0x297a91(0x261)]=_0x118b2b=>{const _0x2d7ddf=a171_0x297a91,_0xbac800={};_0xbac800[_0x2d7ddf(0x29a)]=function(_0x4866f7,_0x480388){return _0x4866f7>_0x480388;},_0xbac800[_0x2d7ddf(0x22c)]=function(_0xb9a983,_0x4a8013){return _0xb9a983>_0x4a8013;};const _0x8d2c8e=_0xbac800;let _0xe731d9={};if(_0x8d2c8e['IenDr'](Object[_0x2d7ddf(0x1d3)](testData)[_0x2d7ddf(0x207)],0x0))return testData;_0xe731d9=JestTestDetails['getTestData']();if(_0x8d2c8e['tTbBO'](Object[_0x2d7ddf(0x1d3)](_0xe731d9)[_0x2d7ddf(0x207)],0x0))return _0xe731d9;return _0xe731d9;},exports['setCurrentTestData']=(_0x2fce25,_0x1932be={})=>{const _0x5f3840=a171_0x297a91;if(bsSetupHelper[_0x5f3840(0x277)](_0x1932be['test_run']))return;switch(_0x2fce25){case FRAMEWORKS[_0x5f3840(0x205)]:testData=_0x1932be['test_run'];break;case FRAMEWORKS[_0x5f3840(0x297)]:JestTestDetails[_0x5f3840(0x27f)](_0x1932be[_0x5f3840(0x291)]);break;case FRAMEWORKS[_0x5f3840(0x242)]:testData=_0x1932be['test_run'];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x35e419=>{const _0x24ba02=a171_0x297a91,_0x1da079={};_0x1da079[_0x24ba02(0x266)]=function(_0x34b122,_0x3a86d1){return _0x34b122!==_0x3a86d1;},_0x1da079['vtXtN']=function(_0x27a153,_0x7dfeaf){return _0x27a153!==_0x7dfeaf;},_0x1da079[_0x24ba02(0x1d7)]=function(_0x438488,_0x389eee){return _0x438488!==_0x389eee;};const _0x7cb98c=_0x1da079;if(_0x7cb98c[_0x24ba02(0x266)](_0x35e419['accessibility'],null)&&_0x7cb98c[_0x24ba02(0x238)](_0x35e419[_0x24ba02(0x212)],undefined))return _0x35e419['accessibility'];let _0x54fcc2=![],_0xb125c3=![];if(_0x35e419[_0x24ba02(0x203)])for(const _0x843568 of _0x35e419[_0x24ba02(0x203)]){_0x7cb98c[_0x24ba02(0x1d7)](_0x843568[_0x24ba02(0x212)],null)&&_0x7cb98c['nfvIE'](_0x843568[_0x24ba02(0x212)],undefined)&&(_0x54fcc2=_0x54fcc2||bsSetupHelper[_0x24ba02(0x219)](_0x843568[_0x24ba02(0x212)]),_0xb125c3=!![]);}if(_0xb125c3)return _0x54fcc2;return null;},exports[a171_0x297a91(0x26d)]=_0x18c12b=>{if(!_0x18c12b)return{};const _0x2a4d61=new OrchestrationUtils(_0x18c12b);return _0x2a4d61['getBuildStartData']();},exports[a171_0x297a91(0x270)]=_0x467e8f=>{const _0x57ec31=a171_0x297a91,_0x306e70={'VpMJY':function(_0x23e947){return _0x23e947();},'SePOi':function(_0x32210a,_0x2d283d){return _0x32210a===_0x2d283d;},'UbGTK':_0x57ec31(0x201)};let _0x57eb2e=![],_0x38681e=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x57ec31(0x1de)](_0x467e8f))_0x38681e=!![];else bsSetupHelper[_0x57ec31(0x21d)]()&&(_0x57eb2e=!![]);return Object[_0x57ec31(0x233)]({'observability':_0x306e70[_0x57ec31(0x245)](isTestObservabilitySession),'accessibility':exports[_0x57ec31(0x1d5)](_0x467e8f),'percy':_0x467e8f['percy']||![],'sr_automation':_0x306e70[_0x57ec31(0x23e)](process['env'][_0x57ec31(0x1f6)],_0x306e70[_0x57ec31(0x221)])||_0x467e8f[_0x57ec31(0x26e)]||![],'automate':_0x57eb2e,'app_automate':_0x38681e,'turboscale':bsSetupHelper[_0x57ec31(0x25f)](_0x467e8f),'lts':LoadTestModule[_0x57ec31(0x23c)](_0x467e8f)},bsSetupHelper[_0x57ec31(0x1eb)]());};const normalizeTestPlanId=_0x439c6e=>{const _0x206aa4=a171_0x297a91,_0x4f4899={};_0x4f4899[_0x206aa4(0x24a)]=function(_0x2b8b66,_0xe478f3){return _0x2b8b66!==_0xe478f3;},_0x4f4899[_0x206aa4(0x1f3)]=_0x206aa4(0x1dd),_0x4f4899[_0x206aa4(0x273)]=function(_0x3cac1c,_0x49da44){return _0x3cac1c>_0x49da44;};const _0x390f5a=_0x4f4899;if(_0x390f5a[_0x206aa4(0x24a)](typeof _0x439c6e,_0x390f5a[_0x206aa4(0x1f3)]))return undefined;const _0x3a61fd=_0x439c6e[_0x206aa4(0x23a)]();return _0x390f5a[_0x206aa4(0x273)](_0x3a61fd[_0x206aa4(0x207)],0x0)?_0x3a61fd:undefined;},readTestPlanIdFromCliArgs=(_0x18041c=process[a171_0x297a91(0x21a)])=>{const _0x719bc1=a171_0x297a91,_0xcca46c={};_0xcca46c['XpXeE']=function(_0xc034f6,_0x84e623){return _0xc034f6<_0x84e623;},_0xcca46c[_0x719bc1(0x22f)]=function(_0x1a49a4,_0x2d945c){return _0x1a49a4===_0x2d945c;},_0xcca46c['flsLI']=function(_0x252af5,_0x19c9c2){return _0x252af5+_0x19c9c2;},_0xcca46c[_0x719bc1(0x294)]=function(_0x279992,_0x1d8580){return _0x279992+_0x1d8580;};const _0x296b93=_0xcca46c,_0x1691a2='--'+testHubConstants[_0x719bc1(0x25a)];for(let _0x59a28c=0x0;_0x296b93[_0x719bc1(0x23d)](_0x59a28c,_0x18041c['length']);_0x59a28c+=0x1){const _0x5806c3=_0x18041c[_0x59a28c];if(_0x296b93['oyGRg'](_0x5806c3,_0x1691a2)){const _0x516d15=_0x18041c[_0x296b93[_0x719bc1(0x289)](_0x59a28c,0x1)];if(!_0x516d15||_0x516d15[_0x719bc1(0x29f)]('--'))return undefined;return _0x516d15;}if(_0x5806c3['startsWith'](_0x1691a2+'='))return _0x5806c3[_0x719bc1(0x283)](_0x296b93['XVelo'](_0x1691a2[_0x719bc1(0x207)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x384b56={})=>{const _0x2fcbd6=a171_0x297a91,_0x3ee7ab={'UiFUN':function(_0x525bd8,_0x4840a2){return _0x525bd8(_0x4840a2);}};return _0x3ee7ab['UiFUN'](normalizeTestPlanId,_0x384b56&&_0x384b56[_0x2fcbd6(0x250)]&&_0x384b56[_0x2fcbd6(0x250)]['testPlanId']);};exports[a171_0x297a91(0x1da)]=(_0x134a28={},_0x551310=process[a171_0x297a91(0x21a)],_0x5e6403=process[a171_0x297a91(0x1ee)])=>{const _0x597968=a171_0x297a91,_0x27cec7={'YQFbF':function(_0x3a855c,_0x43cec6){return _0x3a855c(_0x43cec6);},'CXCbY':function(_0x3b28b8,_0x2d75cb){return _0x3b28b8(_0x2d75cb);},'EMneg':function(_0x35fda4,_0x1d3ab1){return _0x35fda4(_0x1d3ab1);}};try{const _0x528216=_0x27cec7[_0x597968(0x255)](normalizeTestPlanId,_0x27cec7[_0x597968(0x292)](readTestPlanIdFromCliArgs,_0x551310));if(_0x528216)return _0x528216;const _0x157154=_0x27cec7['CXCbY'](normalizeTestPlanId,_0x5e6403&&_0x5e6403[testHubConstants[_0x597968(0x24b)][_0x597968(0x284)]]);if(_0x157154)return _0x157154;return _0x27cec7[_0x597968(0x1fe)](readTestPlanIdFromConfig,_0x134a28);}catch(_0x19191e){return logger['debug'](_0x597968(0x232)+(_0x19191e&&_0x19191e[_0x597968(0x22d)]?_0x19191e[_0x597968(0x22d)]:_0x19191e)),undefined;}};function a171_0x5d18(){const _0x1b6753=['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','setTestObservabilityVariables','IzOIu','UpyVj','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','config','BS_TESTOPS_BUILD_COMPLETED','nIqDj','../test-orchestration/orchestrationUtils.js','tTbBO','message','PLAYWRIGHT','oyGRg','options','../ats/helper','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','assign','BROWSERSTACK_TESTHUB_UUID:\x20','get','getGlobal','description','vtXtN','shouldScanTestForAccessibility','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isLTSSession','XpXeE','SePOi','OBSERVABILITY','3339224KYCBKK','qWsnB','JASMINE','accessibilityPlatform','lTnRr','VpMJY','handleErrorForAccessibility','iEZJd','tags','mfbBm','JCSwO','ENV_VAR','TdXlG','OHuJs','nonBStackInfraA11yChromeOptions','CODECEPT','testManagementOptions','NkaWV','commandsToWrap','BS_TESTOPS_BUILD_HASHED_ID','DEPRECATED','YQFbF','1479967ypMxzP','isAccessibilityEnabled','BS_A11Y_JWT','HookRunStarted','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','hCXSA','PTVGy','WMuLf','name','isTurboScaleSession','346150jIFqia','getCurrentTestData','3792lZcJqx','WKhiH','gJVMq','isPercyBuild','nfvIE','yuRjM','bRUhJ','INVALID_CREDENTIALS',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','CUCUMBER','commands','getTestOrchestrationBuildStartData','sr_automation','VvftM','getProductMapForBuildStartCall','../globals.js','scopes','yjmvf','getFrameworkDetails','wiamN','epkmH','isUndefined','bxBnU','ACCESSIBILITY','includes','../../bin/jest/test-observability/test-details.js','187xJsRRb','info','value','setTestData','ItwZz','BROWSERSTACK_PERCY','uploadEventData','slice','BROWSERSTACK_TEST_PLAN_ID','uuid','zbPHv','ThIRM','key','flsLI','55944967GUzyec','titlePath','MtjfA','tfyGD','BROWSERSTACK_ACCESSIBILITY','940zibEHn','scripts','test_run','CXCbY','jwt','XVelo','bstackA11yShouldScan','build_hashed_id','JEST','suRXm','toJson','IenDr','119CUulMT','command','uUuhN','isAccessibilityPlatform','startsWith','setAccessibilityVariables','../helper','gsLIQ','../../bin/utils/constants.js','logBuildError','appendTesthubParams','../accessibility-automation/scripts.js','uqDLH','iwJHB','ZghHc','password','ERROR','FRAMEWORK_DETAILS','36DJWSaZ','Vpqth','error','RIVSd','keys','split','getAccessibilityValueFromYml','RQTnH','sfSDp','BROWSERSTACK_TESTHUB_UUID','allow_screenshots','getTestPlanId','observability','EHWof','string','isAppAutomateSession','false','errors','stringify','BS_TESTOPS_JWT','success','4|0|2|3|1','rsRmR','../../bin/jasmine/testRunMap.js','uyRLr','vvrOc','vEUKX','KqguY','getCentralUser','vgfpV','LogCreated','env','AIZKT','parseA11yJwtPayload','percy','hRPCJ','XoBUT','bAXUx','toUpperCase','BROWSERSTACK_SR_AUTOMATION','null','username','debug','YmdWn','VBpnn','skipCDPConnectOverride','SFuDb','EMneg','handleErrorForObservability','2296623dYPoGy','true','\x20Build\x20creation\x20failed','platforms','PFUWd','MOCHA','../../bin/playwright/reporter/test-details.js','length','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','vmfOO','join','BROWSERSTACK_TESTHUB_JWT','rUXYr','../test-observability/utils','getProductMap','geutp','erUef','BS_TESTOPS_ALLOW_SCREENSHOTS','accessibility','getTestFrameworkDetails','210276tubCUt','getAgentVersion','./constants.js','vRftX','getAccessibilityPlatformValidation','isTrue','argv','nPwzN','setTestHubCommonMetaInfo','isBrowserstackInfra','Ewyll','2woUuFq','12jOjYHV','UbGTK'];a171_0x5d18=function(){return _0x1b6753;};return a171_0x5d18();}
1
+ const a171_0x346c11=a171_0x13bc;(function(_0x585850,_0x1b0c4d){const _0x5538bf=a171_0x13bc,_0x178fdc=_0x585850();while(!![]){try{const _0x114771=parseInt(_0x5538bf(0x18b))/0x1+-parseInt(_0x5538bf(0x202))/0x2*(parseInt(_0x5538bf(0x15c))/0x3)+-parseInt(_0x5538bf(0x177))/0x4+parseInt(_0x5538bf(0x1db))/0x5+-parseInt(_0x5538bf(0x15f))/0x6+-parseInt(_0x5538bf(0x189))/0x7+parseInt(_0x5538bf(0x1e9))/0x8*(parseInt(_0x5538bf(0x194))/0x9);if(_0x114771===_0x1b0c4d)break;else _0x178fdc['push'](_0x178fdc['shift']());}catch(_0x40fbc9){_0x178fdc['push'](_0x178fdc['shift']());}}}(a171_0x33ea,0x4cf27));function a171_0x13bc(_0x14f5c3,_0x2287fc){const _0x33ea41=a171_0x33ea();return a171_0x13bc=function(_0x13bcd9,_0x573feb){_0x13bcd9=_0x13bcd9-0x134;let _0x42bd08=_0x33ea41[_0x13bcd9];return _0x42bd08;},a171_0x13bc(_0x14f5c3,_0x2287fc);}const bsSetupHelper=require('../helper'),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x346c11(0x200)),accessibilityHelper=require(a171_0x346c11(0x1ec)),logger=require(a171_0x346c11(0x203))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a171_0x346c11(0x1c5)),globals=require(a171_0x346c11(0x1a7)),testHubConstants=require(a171_0x346c11(0x14c)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a171_0x346c11(0x1e2)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a171_0x346c11(0x1ad)),OrchestrationUtils=require(a171_0x346c11(0x1fc)),constants=require(a171_0x346c11(0x207));let testData={};exports[a171_0x346c11(0x1ae)]=_0x26f212=>{const _0x2cde4d=a171_0x346c11,_0x5701ff={'CKkoT':function(_0x1d8406){return _0x1d8406();},'zyOsW':function(_0x4e616e,_0x206e80){return _0x4e616e===_0x206e80;},'eHyWP':_0x2cde4d(0x16f)};let _0x3bba8b=![],_0x1d7b79=![];if(bsSetupHelper[_0x2cde4d(0x199)]()&&bsSetupHelper['isAppAutomateSession'](_0x26f212))_0x1d7b79=!![];else bsSetupHelper[_0x2cde4d(0x199)]()&&(_0x3bba8b=!![]);return Object[_0x2cde4d(0x19b)]({'observability':_0x5701ff[_0x2cde4d(0x205)](isTestObservabilitySession),'accessibility':exports[_0x2cde4d(0x147)](_0x26f212),'percy':_0x26f212['percy']||![],'sr_automation':_0x5701ff[_0x2cde4d(0x167)](process[_0x2cde4d(0x15a)][_0x2cde4d(0x155)],_0x5701ff[_0x2cde4d(0x173)])||_0x26f212[_0x2cde4d(0x1b2)]||![],'automate':_0x3bba8b,'app_automate':_0x1d7b79,'turboscale':bsSetupHelper[_0x2cde4d(0x1f1)](_0x26f212),'lts':LoadTestModule[_0x2cde4d(0x1d1)](_0x26f212)},bsSetupHelper[_0x2cde4d(0x186)]());},exports[a171_0x346c11(0x19a)]=(_0x3c29ad,_0x331451)=>{const _0x1be497=a171_0x346c11,_0x5b96fd={'TnYxh':function(_0x346169,_0x535bd1){return _0x346169(_0x535bd1);},'qFZWO':_0x1be497(0x1ca)},_0x489df8={'frameworkName':_0x331451,'frameworkVersion':_0x5b96fd[_0x1be497(0x162)](getFrameworkVersion,_0x331451),'sdkVersion':bsSetupHelper[_0x1be497(0x18f)](),'language':_0x5b96fd['qFZWO'],'testFramework':bsSetupHelper[_0x1be497(0x1d8)](_0x3c29ad,_0x331451)};return process[_0x1be497(0x15a)]['FRAMEWORK_DETAILS']=JSON['stringify'](_0x489df8),_0x489df8;},exports[a171_0x346c11(0x183)]=_0x5c4d71=>{const _0x22477c=a171_0x346c11,_0xbe5780={};_0xbe5780[_0x22477c(0x1f4)]=_0x22477c(0x1e8),_0xbe5780['CiYQx']=_0x22477c(0x16f);const _0x5c54a9=_0xbe5780;process['env']['BROWSERSTACK_PERCY']=_0x5c54a9[_0x22477c(0x1f4)],bsSetupHelper[_0x22477c(0x16d)](_0x5c4d71[_0x22477c(0x134)]['percy'])&&(!_0x5c4d71[_0x22477c(0x180)]||!_0x5c4d71[_0x22477c(0x180)]['isRunning']())&&(process['env']['BROWSERSTACK_PERCY']=_0x5c54a9['CiYQx']);},exports[a171_0x346c11(0x1c2)]=()=>{const _0x23f8c5=a171_0x346c11;return bsSetupHelper['isTrue'](process['env'][_0x23f8c5(0x1b5)]);},exports['isAccessibilityEnabled']=(_0x4afc69={})=>{const _0x50dbd1=a171_0x346c11,_0x28297e={};_0x28297e[_0x50dbd1(0x1c4)]=function(_0x587542,_0xb03ac4){return _0x587542!==_0xb03ac4;},_0x28297e[_0x50dbd1(0x1c7)]=function(_0x29c963,_0x4893e7){return _0x29c963===_0x4893e7;},_0x28297e[_0x50dbd1(0x1dc)]=_0x50dbd1(0x16f),_0x28297e[_0x50dbd1(0x176)]=function(_0x35a3fc,_0x114e12){return _0x35a3fc>_0x114e12;};const _0x4fb4a8=_0x28297e;if(_0x4fb4a8[_0x50dbd1(0x1c4)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1af)],undefined))return bsSetupHelper['isTrue'](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1af)]);let _0x1d98ca=_0x4fb4a8[_0x50dbd1(0x1c7)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1c3)],_0x4fb4a8[_0x50dbd1(0x1dc)]);return _0x4fb4a8['atMoF'](Object[_0x50dbd1(0x145)](_0x4afc69)[_0x50dbd1(0x1f7)],0x0)&&(process[_0x50dbd1(0x15a)][_0x50dbd1(0x1ce)]=accessibilityHelper[_0x50dbd1(0x1e1)](_0x4afc69)),_0x1d98ca=_0x1d98ca||_0x4fb4a8[_0x50dbd1(0x1c7)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1ce)],_0x4fb4a8[_0x50dbd1(0x1dc)]),_0x1d98ca;},exports[a171_0x346c11(0x1cc)]=(_0x1cb363,_0x3cef1f)=>{const _0x5cc13a=a171_0x346c11,_0x1f62d1={'VRqFe':function(_0x27ebe0){return _0x27ebe0();},'nfBuh':_0x5cc13a(0x1e6),'CaoIl':_0x5cc13a(0x16f),'IdODu':function(_0x326563,_0x3bd266,_0x450d28){return _0x326563(_0x3bd266,_0x450d28);},'xlNnx':_0x5cc13a(0x1f8),'NpiOZ':_0x5cc13a(0x153)};if(!_0x1cb363||!_0x1cb363[_0x5cc13a(0x1f8)])return exports[_0x5cc13a(0x1ef)](),[null,null,null];if(!_0x1cb363['observability']['success'])return exports[_0x5cc13a(0x1ef)](_0x1cb363[_0x5cc13a(0x1f8)]),[null,null,null];if(_0x1f62d1[_0x5cc13a(0x1c9)](isTestObservabilitySession)){const _0xed120=_0x1f62d1['nfBuh']['split']('|');let _0x2d10b7=0x0;while(!![]){switch(_0xed120[_0x2d10b7++]){case'0':_0x1cb363[_0x5cc13a(0x15e)]&&(process['env'][_0x5cc13a(0x16e)]=_0x1cb363[_0x5cc13a(0x15e)]);continue;case'1':return[_0x1cb363['jwt'],_0x1cb363['build_hashed_id'],process[_0x5cc13a(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'2':process[_0x5cc13a(0x15a)][_0x5cc13a(0x175)]=_0x1f62d1[_0x5cc13a(0x1fb)];continue;case'3':logger['debug']('['+constants[_0x5cc13a(0x1d4)]+_0x5cc13a(0x1c0)+_0x1cb363[_0x5cc13a(0x15e)]);continue;case'4':if(_0x1cb363['jwt']){process[_0x5cc13a(0x15a)][_0x5cc13a(0x14e)]=_0x1cb363[_0x5cc13a(0x1da)];const _0x43d058={};_0x43d058[_0x5cc13a(0x182)]=_0x3cef1f[_0x5cc13a(0x182)],_0x43d058[_0x5cc13a(0x1fa)]=_0x3cef1f[_0x5cc13a(0x1fa)],process[_0x5cc13a(0x15a)][_0x5cc13a(0x1ac)]=JSON[_0x5cc13a(0x1f9)](_0x43d058);}continue;case'5':_0x1f62d1[_0x5cc13a(0x1b3)](nestedKeyValue,_0x1cb363,[_0x1f62d1[_0x5cc13a(0x1bc)],_0x1f62d1[_0x5cc13a(0x165)]])&&(process[_0x5cc13a(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1cb363['observability']['options'][_0x5cc13a(0x142)]['toString']());continue;}break;}}return[null,null,null];},exports[a171_0x346c11(0x1d3)]=_0xc12a7a=>{const _0x1b669d=a171_0x346c11,_0x22bf4a={'PbbVj':function(_0xd5650a,_0x50ce37,_0x451793){return _0xd5650a(_0x50ce37,_0x451793);},'ZqfyT':_0x1b669d(0x188),'bbonW':'options','wgXor':function(_0x50de7d,_0xeabf25,_0x159314,_0x160a2f){return _0x50de7d(_0xeabf25,_0x159314,_0x160a2f);},'uabGN':_0x1b669d(0x157),'PDmRB':_0x1b669d(0x204),'xoXXe':_0x1b669d(0x149),'hRwMU':_0x1b669d(0x18e),'UrrgS':_0x1b669d(0x1d0),'qzzfX':_0x1b669d(0x1bf),'RxybE':function(_0x300589,_0x56c190){return _0x300589(_0x56c190);},'LuziA':function(_0x34ff7f,_0x21efa8){return _0x34ff7f===_0x21efa8;},'fpFLc':function(_0x323121,_0x464cb2){return _0x323121===_0x464cb2;},'dJSTb':'true','UgQOH':_0x1b669d(0x152)};if(!_0xc12a7a[_0x1b669d(0x188)])return exports[_0x1b669d(0x17e)](),[null,null];if(!_0xc12a7a[_0x1b669d(0x188)]['success'])return exports['handleErrorForAccessibility'](_0xc12a7a[_0x1b669d(0x188)]),[null,null];if(_0x22bf4a[_0x1b669d(0x1b1)](nestedKeyValue,_0xc12a7a,[_0x22bf4a['ZqfyT'],_0x22bf4a[_0x1b669d(0x141)]])){const {accessibilityToken:_0x493594,scannerVersion:_0x3b26f9,scannerProcessingTimeout:_0x1c0211,isMobileScanningEnabledForGroup:_0x237cc2}=_0x22bf4a[_0x1b669d(0x172)](jsonifyAccessibilityArray,_0xc12a7a['accessibility']['options'][_0x1b669d(0x1e7)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x185)]),_0x1c109f={'scripts':_0x22bf4a['wgXor'](jsonifyAccessibilityArray,_0xc12a7a[_0x1b669d(0x188)][_0x1b669d(0x153)][_0x1b669d(0x171)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x15d)])};_0x1c109f[_0x22bf4a[_0x1b669d(0x169)]]=_0xc12a7a['accessibility']['options'][_0x1b669d(0x13f)]['commands'];const _0x69e027=_0x22bf4a[_0x1b669d(0x172)](jsonifyAccessibilityArray,_0xc12a7a[_0x1b669d(0x188)][_0x1b669d(0x153)][_0x1b669d(0x1e7)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x185)]);_0x1c109f[_0x22bf4a[_0x1b669d(0x13e)]]=_0x69e027[_0x22bf4a[_0x1b669d(0x151)]],scripts['parseFromJson'](_0x1c109f),scripts[_0x1b669d(0x1f0)]();let _0x44489c=process[_0x1b669d(0x15a)][_0x1b669d(0x1a6)];_0x44489c=!!_0x44489c?JSON['parse'](_0x44489c):{},_0x44489c[_0x1b669d(0x146)]=_0x3b26f9,process[_0x1b669d(0x15a)][_0x1b669d(0x1a6)]=JSON[_0x1b669d(0x1f9)](_0x44489c),process['env'][_0x1b669d(0x1e3)]=_0x493594,process[_0x1b669d(0x15a)][_0x1b669d(0x1a9)]=_0x22bf4a['RxybE'](String,_0x22bf4a[_0x1b669d(0x187)](_0x237cc2,!![])||_0x22bf4a[_0x1b669d(0x209)](_0x237cc2,_0x22bf4a[_0x1b669d(0x139)])),logger['debug'](_0x1b669d(0x1b8)+_0xc12a7a[_0x1b669d(0x15e)]);const _0x21684f=accessibilityHelper[_0x1b669d(0x19f)](_0x493594);return _0x21684f&&bsSetupHelper['isTrue'](_0x21684f['skipCDPConnectOverride'])&&(process[_0x1b669d(0x15a)][_0x1b669d(0x1be)]=!![],logger[_0x1b669d(0x17f)](_0x22bf4a['UgQOH'])),[_0x493594,_0xc12a7a[_0x1b669d(0x15e)],_0x1c0211];}return[null,null];},exports[a171_0x346c11(0x1ef)]=_0x396091=>{const _0x3c5035=a171_0x346c11,_0x2bf824={};_0x2bf824[_0x3c5035(0x135)]=_0x3c5035(0x193),_0x2bf824['JTXbo']=_0x3c5035(0x1e8),_0x2bf824[_0x3c5035(0x170)]='null';const _0x5102fd=_0x2bf824,_0x194cc4=_0x5102fd['xTLNy'][_0x3c5035(0x1bd)]('|');let _0x412ad3=0x0;while(!![]){switch(_0x194cc4[_0x412ad3++]){case'0':process[_0x3c5035(0x15a)]['BS_TESTOPS_BUILD_COMPLETED']=_0x5102fd[_0x3c5035(0x196)];continue;case'1':process[_0x3c5035(0x15a)][_0x3c5035(0x1a4)]=_0x5102fd[_0x3c5035(0x170)];continue;case'2':process['env'][_0x3c5035(0x14e)]=_0x5102fd[_0x3c5035(0x170)];continue;case'3':process[_0x3c5035(0x15a)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x5102fd[_0x3c5035(0x170)];continue;case'4':exports['logBuildError'](_0x396091,testHubConstants['OBSERVABILITY']);continue;case'5':process[_0x3c5035(0x15a)]['BROWSERSTACK_TESTHUB_JWT']=_0x5102fd[_0x3c5035(0x170)];continue;case'6':process[_0x3c5035(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x5102fd[_0x3c5035(0x170)];continue;}break;}},exports[a171_0x346c11(0x17e)]=_0x391de7=>{const _0x56a458=a171_0x346c11,_0x51f008={};_0x51f008[_0x56a458(0x13c)]='4|3|2|0|1',_0x51f008['txWiA']=_0x56a458(0x1e8),_0x51f008[_0x56a458(0x1ab)]='null';const _0x17b3b6=_0x51f008,_0x9300a2=_0x17b3b6['VBguI'][_0x56a458(0x1bd)]('|');let _0x1dee9d=0x0;while(!![]){switch(_0x9300a2[_0x1dee9d++]){case'0':process[_0x56a458(0x15a)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x17b3b6[_0x56a458(0x17b)];continue;case'1':exports[_0x56a458(0x191)](_0x391de7,testHubConstants['ACCESSIBILITY']);continue;case'2':process[_0x56a458(0x15a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x17b3b6['txWiA'];continue;case'3':process[_0x56a458(0x15a)][_0x56a458(0x17d)]=_0x17b3b6['CDXLN'];continue;case'4':process[_0x56a458(0x15a)]['BROWSERSTACK_TESTHUB_UUID']=_0x17b3b6[_0x56a458(0x1ab)];continue;}break;}},exports[a171_0x346c11(0x191)]=(_0xfcf87d,_0x388822='')=>{const _0x4c3e89=a171_0x346c11,_0x424676={};_0x424676[_0x4c3e89(0x1df)]=function(_0x12c0a0,_0x2c35e0){return _0x12c0a0===_0x2c35e0;};const _0x4299d3=_0x424676;if(_0x4299d3['SkqJA'](_0xfcf87d,undefined)){logger[_0x4c3e89(0x178)](_0x388822['toUpperCase']()+_0x4c3e89(0x1cf));return;}for(const _0x45ccef of _0xfcf87d[_0x4c3e89(0x1b6)]){const _0x1774df=_0x45ccef[_0x4c3e89(0x1a2)],_0x4187a4=_0x45ccef[_0x4c3e89(0x1cd)];if(_0x4187a4)switch(_0x1774df){case testHubConstants[_0x4c3e89(0x136)][_0x4c3e89(0x1ed)]:logger['error'](_0x4187a4);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger[_0x4c3e89(0x1d5)](_0x4187a4);break;case testHubConstants['ERROR'][_0x4c3e89(0x1ee)]:logger[_0x4c3e89(0x178)](_0x4187a4);break;default:logger[_0x4c3e89(0x178)](_0x4187a4);}}};const jsonifyAccessibilityArray=(_0x1876c1,_0x5f1323,_0x28f227)=>{const _0x4af647=a171_0x346c11,_0x5e9492={};return _0x1876c1[_0x4af647(0x179)](_0x3c9050=>{_0x5e9492[_0x3c9050[_0x5f1323]]=_0x3c9050[_0x28f227];}),_0x5e9492;};exports['setTestHubCommonMetaInfo']=_0x52d765=>{const _0x59629a=a171_0x346c11;_0x52d765['jwt']&&(process[_0x59629a(0x15a)][_0x59629a(0x17d)]=_0x52d765[_0x59629a(0x1da)]);_0x52d765[_0x59629a(0x15e)]&&(process[_0x59629a(0x15a)][_0x59629a(0x1a4)]=_0x52d765['build_hashed_id'],logger['debug'](_0x59629a(0x190)+_0x52d765[_0x59629a(0x15e)]));;},exports[a171_0x346c11(0x1a8)]=(_0x2309b8='',_0x1e79b2='')=>{const _0x793076=a171_0x346c11,_0x11dfd6={'bFkBv':function(_0x1a6b1d){return _0x1a6b1d();},'ypNYL':function(_0x94247d,_0x3d1877){return _0x94247d===_0x3d1877;},'bfDPX':_0x793076(0x144),'FjtjL':_0x793076(0x19c),'tDdIu':_0x793076(0x1c1),'wmlGy':'HookRunStarted','uYbhT':_0x793076(0x1a1),'VYKbU':function(_0x2d4546){return _0x2d4546();}};if(exports[_0x793076(0x1c2)]()&&!exports[_0x793076(0x147)]()&&!_0x11dfd6[_0x793076(0x184)](isTestObservabilitySession)){if(_0x11dfd6[_0x793076(0x19d)](_0x1e79b2,_0x11dfd6[_0x793076(0x20b)]))return![];if([_0x11dfd6['FjtjL'],_0x11dfd6[_0x793076(0x181)]][_0x793076(0x17c)](_0x2309b8))return![];return!![];}if(exports[_0x793076(0x147)]()&&!_0x11dfd6[_0x793076(0x184)](isTestObservabilitySession)){if([_0x11dfd6[_0x793076(0x137)],_0x11dfd6[_0x793076(0x18a)],_0x11dfd6[_0x793076(0x148)]]['includes'](_0x2309b8))return![];return!![];}return exports[_0x793076(0x147)]()||_0x11dfd6[_0x793076(0x1b4)](isTestObservabilitySession)||exports[_0x793076(0x1c2)]();},exports['appendTesthubParams']=(_0xa7e5ee,_0x42bca8,_0x213404='',_0x308a9e)=>{const _0x245068=a171_0x346c11,_0x2b46cf={'BKKsl':_0x245068(0x1a3),'GIiyj':'HookRunFinished','zfLTS':function(_0x5e74ce,_0x58fcda){return _0x5e74ce===_0x58fcda;},'HtGwQ':'bstackA11yShouldScan','cOkzR':'isAccessibilityPlatform','vCXOJ':_0x245068(0x188),'LxOUg':function(_0x2b51a0,_0x4f6148){return _0x2b51a0&&_0x4f6148;},'iJOiK':function(_0x2cc8b0,_0x4de1a9){return _0x2cc8b0===_0x4de1a9;},'QGnvQ':function(_0x113298,_0x367b6c){return _0x113298+_0x367b6c;},'GFrUJ':function(_0x2c96fb,_0x51b4db){return _0x2c96fb+_0x51b4db;},'GswSR':function(_0xd4132b,_0x4dc866){return _0xd4132b&&_0x4dc866;},'wbwuz':function(_0x70c7c6,_0x15617f){return _0x70c7c6(_0x15617f);},'phhpm':'../../bin/jasmine/testRunMap.js','xdTij':function(_0x4822da,_0x3d5fdb){return _0x4822da+_0x3d5fdb;},'HABJv':function(_0xb33b60,_0x4ba519){return _0xb33b60+_0x4ba519;},'WzgyW':function(_0x3b5112,_0x4db7f7){return _0x3b5112===_0x4db7f7;},'mCsni':function(_0x3f6f0a,_0xc89859){return _0x3f6f0a===_0xc89859;},'WqWpN':_0x245068(0x1b0),'ePxkH':function(_0x1d57db,_0x2b539f){return _0x1d57db&&_0x2b539f;},'UOOPZ':function(_0x344f23,_0x400845){return _0x344f23===_0x400845;},'mnllY':function(_0x26ca7c,_0x3c527b){return _0x26ca7c&&_0x3c527b;},'nSsyV':_0x245068(0x17a)};if(![_0x2b46cf[_0x245068(0x20d)],_0x2b46cf['GIiyj']]['includes'](_0x42bca8)&&exports[_0x245068(0x147)]()){const _0x271176={};if(_0x2b46cf[_0x245068(0x174)](_0x308a9e,FRAMEWORKS[_0x245068(0x1ff)])){const _0x2079b1=globals[_0x245068(0x156)](_0x2b46cf['HtGwQ'])||accessibilityHelper['shouldScanTestForAccessibility'](_0x213404['titlePath'](),!![]),_0x14782c=globals['getGlobal'](_0x2b46cf[_0x245068(0x1e5)]);_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1fd)](_0x14782c,_0x2079b1);}if(_0x2b46cf['iJOiK'](_0x308a9e,FRAMEWORKS[_0x245068(0x208)])){const _0x3d7fd9=_0x2b46cf[_0x245068(0x201)](_0x2b46cf[_0x245068(0x158)](_0xa7e5ee[_0x245068(0x13a)][_0x245068(0x140)]('\x20'),'\x20'),_0x213404['name']),_0x14cd0d=globals[_0x245068(0x156)](_0x2b46cf['HtGwQ'])||accessibilityHelper[_0x245068(0x150)](_0x3d7fd9,![]),_0x160b66=browserStackGlobals[_0x245068(0x138)];_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1f3)](_0x160b66,_0x14cd0d);}if(_0x2b46cf['iJOiK'](_0x308a9e,FRAMEWORKS[_0x245068(0x13d)])){const _0x198573=_0x2b46cf[_0x245068(0x1d6)](require,_0x2b46cf['phhpm']),_0x57d07e=_0x213404&&_0x198573['get'](_0x213404['id'])||_0xa7e5ee[_0x245068(0x1ea)];_0x57d07e&&(_0xa7e5ee[_0x245068(0x1ea)]=_0x57d07e);const _0x4780c7=_0x2b46cf['xdTij'](_0x2b46cf[_0x245068(0x1eb)](_0xa7e5ee[_0x245068(0x13a)]['join']('\x20'),'\x20'),_0x213404[_0x245068(0x14a)]||_0xa7e5ee[_0x245068(0x157)]),_0x30b0a7=globals['getGlobal'](_0x2b46cf[_0x245068(0x1aa)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x4780c7,![]),_0x27cbb6=globals[_0x245068(0x156)](_0x2b46cf['cOkzR']);_0x271176[_0x2b46cf['vCXOJ']]=_0x2b46cf['LxOUg'](_0x27cbb6,_0x30b0a7);}if(_0x2b46cf['WzgyW'](_0x308a9e,FRAMEWORKS[_0x245068(0x18c)])){if(_0x2b46cf[_0x245068(0x197)](_0x42bca8,_0x2b46cf[_0x245068(0x143)]))return;_0x271176[_0x2b46cf[_0x245068(0x13b)]]=PWTestDetails[_0x245068(0x160)](_0xa7e5ee[_0x245068(0x1ea)]);}if(_0x2b46cf[_0x245068(0x15b)](_0x308a9e,FRAMEWORKS[_0x245068(0x1d2)])){const _0x2b6cbc=accessibilityHelper[_0x245068(0x150)](_0x213404[_0x245068(0x14d)](),!![]),_0x5e0dc7=global['accessibilityPlatform'];_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1f5)](_0x5e0dc7,_0x2b6cbc);}if(_0x2b46cf[_0x245068(0x161)](_0x308a9e,FRAMEWORKS[_0x245068(0x1cb)])){const _0x55b373=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0xa7e5ee[_0x245068(0x20a)]),_0x270fdf=globals['getGlobal'](_0x2b46cf[_0x245068(0x1e5)]);_0x271176[_0x2b46cf['vCXOJ']]=_0x2b46cf['mnllY'](_0x270fdf,_0x55b373);}_0xa7e5ee[_0x2b46cf['nSsyV']]=_0x271176;}},exports[a171_0x346c11(0x192)]=_0x19475e=>{const _0x132798=a171_0x346c11,_0x4357bb={};_0x4357bb[_0x132798(0x19e)]=function(_0x552f65,_0x2ae8a4){return _0x552f65>_0x2ae8a4;};const _0xb1b987=_0x4357bb;let _0x4c7bde={};if(_0xb1b987[_0x132798(0x19e)](Object['keys'](testData)[_0x132798(0x1f7)],0x0))return testData;_0x4c7bde=JestTestDetails[_0x132798(0x1d9)]();if(_0xb1b987[_0x132798(0x19e)](Object[_0x132798(0x145)](_0x4c7bde)[_0x132798(0x1f7)],0x0))return _0x4c7bde;return _0x4c7bde;},exports[a171_0x346c11(0x1e0)]=(_0x3171ad,_0x340df2={})=>{const _0x2a7d9b=a171_0x346c11;if(bsSetupHelper[_0x2a7d9b(0x198)](_0x340df2[_0x2a7d9b(0x1d7)]))return;switch(_0x3171ad){case FRAMEWORKS['MOCHA']:testData=_0x340df2[_0x2a7d9b(0x1d7)];break;case FRAMEWORKS[_0x2a7d9b(0x208)]:JestTestDetails['setTestData'](_0x340df2[_0x2a7d9b(0x1d7)]);break;case FRAMEWORKS['JASMINE']:testData=_0x340df2['test_run'];break;default:break;}},exports[a171_0x346c11(0x1b7)]=_0x2f3e3c=>{const _0x142b35=a171_0x346c11,_0x11d291={};_0x11d291['TNbun']=function(_0x2e9763,_0x4dda01){return _0x2e9763!==_0x4dda01;},_0x11d291['hhAWo']=function(_0x567d6e,_0x4645f1){return _0x567d6e!==_0x4645f1;},_0x11d291[_0x142b35(0x168)]=function(_0x5c7e12,_0x25eaad){return _0x5c7e12!==_0x25eaad;};const _0x4496d3=_0x11d291;if(_0x4496d3[_0x142b35(0x163)](_0x2f3e3c[_0x142b35(0x188)],null)&&_0x4496d3[_0x142b35(0x195)](_0x2f3e3c[_0x142b35(0x188)],undefined))return _0x2f3e3c[_0x142b35(0x188)];let _0x407fc7=![],_0x180f9c=![];if(_0x2f3e3c[_0x142b35(0x20c)])for(const _0x5e9b29 of _0x2f3e3c['platforms']){_0x4496d3['hhAWo'](_0x5e9b29[_0x142b35(0x188)],null)&&_0x4496d3[_0x142b35(0x168)](_0x5e9b29[_0x142b35(0x188)],undefined)&&(_0x407fc7=_0x407fc7||bsSetupHelper['isTrue'](_0x5e9b29[_0x142b35(0x188)]),_0x180f9c=!![]);}if(_0x180f9c)return _0x407fc7;return null;},exports['getTestOrchestrationBuildStartData']=_0x304e4f=>{if(!_0x304e4f)return{};const _0x297baa=new OrchestrationUtils(_0x304e4f);return _0x297baa['getBuildStartData']();},exports[a171_0x346c11(0x14f)]=_0x29d5bb=>{const _0xf47f26=a171_0x346c11,_0x263bc8={'PIviF':function(_0x4c7dbf){return _0x4c7dbf();},'Wlvcb':function(_0x1c5bff,_0x5157e){return _0x1c5bff===_0x5157e;},'zFaNX':_0xf47f26(0x16f)};let _0x17d506=![],_0x4c479f=![];if(bsSetupHelper[_0xf47f26(0x199)]()&&bsSetupHelper[_0xf47f26(0x1f2)](_0x29d5bb))_0x4c479f=!![];else bsSetupHelper[_0xf47f26(0x199)]()&&(_0x17d506=!![]);return Object[_0xf47f26(0x19b)]({'observability':_0x263bc8[_0xf47f26(0x1a5)](isTestObservabilitySession),'accessibility':exports[_0xf47f26(0x1b7)](_0x29d5bb),'percy':_0x29d5bb[_0xf47f26(0x180)]||![],'sr_automation':_0x263bc8['Wlvcb'](process[_0xf47f26(0x15a)]['BROWSERSTACK_SR_AUTOMATION'],_0x263bc8[_0xf47f26(0x1dd)])||_0x29d5bb[_0xf47f26(0x1b2)]||![],'automate':_0x17d506,'app_automate':_0x4c479f,'turboscale':bsSetupHelper[_0xf47f26(0x1f1)](_0x29d5bb),'lts':LoadTestModule[_0xf47f26(0x1d1)](_0x29d5bb)},bsSetupHelper[_0xf47f26(0x186)]());};function a171_0x33ea(){const _0x21284f=['../../bin/utils/constants.js','JEST','fpFLc','tags','bfDPX','platforms','BKKsl','config','xTLNy','ERROR','wmlGy','isAccessibilityPlatform','dJSTb','scopes','vCXOJ','VBguI','JASMINE','UrrgS','commandsToWrap','join','bbonW','allow_screenshots','WqWpN','uploadEventData','keys','scannerVersion','isAccessibilityEnabled','FjtjL','command','description','vmpEt','./constants.js','titlePath','BS_TESTOPS_JWT','getProductMapForBuildStartCall','shouldScanTestForAccessibility','qzzfX','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','options','uabGN','BROWSERSTACK_SR_AUTOMATION','getGlobal','name','GFrUJ','gTbwH','env','iJOiK','3foxsjt','xoXXe','build_hashed_id','757338dOpdBX','getAccessibilityPlatformValidation','UOOPZ','TnYxh','TNbun','ZxoNK','NpiOZ','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','zyOsW','ByItE','hRwMU','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','ENV_VAR','ujbFh','isTrue','BS_TESTOPS_BUILD_HASHED_ID','true','uxsSj','scripts','wgXor','eHyWP','zfLTS','BS_TESTOPS_BUILD_COMPLETED','atMoF','509712SdwXWb','error','forEach','product_map','txWiA','includes','BROWSERSTACK_TESTHUB_JWT','handleErrorForAccessibility','debug','percy','tDdIu','username','setPercyFlag','bFkBv','PDmRB','getCentralUser','LuziA','accessibility','737576YQhxiK','uYbhT','95090uOYrZL','PLAYWRIGHT','xGcWt','commands','getAgentVersion','BROWSERSTACK_TESTHUB_UUID:\x20','logBuildError','getCurrentTestData','1|5|0|2|3|6|4','729QyVwIY','hhAWo','JTXbo','mCsni','isUndefined','isBrowserstackInfra','getFrameworkDetails','assign','LogCreated','ypNYL','icJPw','parseA11yJwtPayload','testPlanId','HookRunFinished','key','HookRunStarted','BROWSERSTACK_TESTHUB_UUID','PIviF','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../globals.js','shouldProcessEventForTesthub','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','HtGwQ','CDXLN','CREDENTIALS_FOR_CRASH_REPORTING','../ats/helper','getProductMap','BROWSERSTACK_ACCESSIBILITY','TestRunStarted','PbbVj','sr_automation','IdODu','VYKbU','BROWSERSTACK_PERCY','errors','getAccessibilityValueFromYml','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','QQRAr','icnLs','ZAFQi','xlNnx','split','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','goog:chromeOptions',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','CBTSessionCreated','isPercyBuild','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Tpdut','../accessibility-automation/scripts.js','startsWith','xgKSu','getTestPlanId','VRqFe','javascript','CUCUMBER','setTestObservabilityVariables','message','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x20Build\x20creation\x20failed','nonBStackInfraA11yChromeOptions','isLTSSession','CODECEPT','setAccessibilityVariables','TEST_REPORTING_ANALYTICS','info','wbwuz','test_run','getTestFrameworkDetails','getTestData','jwt','1037310nKVBin','hiaxp','zFaNX','uLHwy','SkqJA','setCurrentTestData','checkAccessibilityPlatformConfig','../../bin/jest/test-observability/test-details.js','BS_A11Y_JWT','testManagementOptions','cOkzR','2|4|0|5|3|1','capabilities','false','64920tZWdYB','uuid','HABJv','../accessibility-automation/helper','INVALID_CREDENTIALS','DEPRECATED','handleErrorForObservability','toJson','isTurboScaleSession','isAppAutomateSession','GswSR','YLhre','ePxkH','BhRxS','length','observability','stringify','password','CaoIl','../test-orchestration/orchestrationUtils.js','LxOUg','string','MOCHA','../test-observability/utils','QGnvQ','571346ejaBeW','../logger','value','CKkoT','argv'];a171_0x33ea=function(){return _0x21284f;};return a171_0x33ea();}const normalizeTestPlanId=_0x5e0dac=>{const _0x58868c=a171_0x346c11,_0x5671c6={};_0x5671c6[_0x58868c(0x14b)]=function(_0x3f004f,_0x45af25){return _0x3f004f!==_0x45af25;},_0x5671c6[_0x58868c(0x18d)]=_0x58868c(0x1fe),_0x5671c6['icnLs']=function(_0x5d16ac,_0x161851){return _0x5d16ac>_0x161851;};const _0x2022cd=_0x5671c6;if(_0x2022cd[_0x58868c(0x14b)](typeof _0x5e0dac,_0x2022cd[_0x58868c(0x18d)]))return undefined;const _0xa05236=_0x5e0dac['trim']();return _0x2022cd[_0x58868c(0x1ba)](_0xa05236[_0x58868c(0x1f7)],0x0)?_0xa05236:undefined;},readTestPlanIdFromCliArgs=(_0x3f8be6=process[a171_0x346c11(0x206)])=>{const _0x207fb6=a171_0x346c11,_0x254061={};_0x254061['ZAFQi']=function(_0x1cc08f,_0x5076a2){return _0x1cc08f<_0x5076a2;},_0x254061[_0x207fb6(0x1f6)]=function(_0x716bd4,_0x5ecb2e){return _0x716bd4===_0x5ecb2e;},_0x254061[_0x207fb6(0x159)]=function(_0x44640a,_0x41a2af){return _0x44640a+_0x41a2af;},_0x254061['uLHwy']=function(_0x4685ce,_0x2e4503){return _0x4685ce+_0x2e4503;};const _0x5e0aa1=_0x254061,_0x37fd50='--'+testHubConstants[_0x207fb6(0x16a)];for(let _0x204a90=0x0;_0x5e0aa1[_0x207fb6(0x1bb)](_0x204a90,_0x3f8be6['length']);_0x204a90+=0x1){const _0x4d67c5=_0x3f8be6[_0x204a90];if(_0x5e0aa1[_0x207fb6(0x1f6)](_0x4d67c5,_0x37fd50)){const _0x279c62=_0x3f8be6[_0x5e0aa1['gTbwH'](_0x204a90,0x1)];if(!_0x279c62||_0x279c62[_0x207fb6(0x1c6)]('--'))return undefined;return _0x279c62;}if(_0x4d67c5['startsWith'](_0x37fd50+'='))return _0x4d67c5['slice'](_0x5e0aa1[_0x207fb6(0x1de)](_0x37fd50[_0x207fb6(0x1f7)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x1e3a90={})=>{const _0x18757d=a171_0x346c11,_0x4c8be7={'sxZRM':function(_0x449bc6,_0x732834){return _0x449bc6(_0x732834);}};return _0x4c8be7['sxZRM'](normalizeTestPlanId,_0x1e3a90&&_0x1e3a90[_0x18757d(0x1e4)]&&_0x1e3a90[_0x18757d(0x1e4)][_0x18757d(0x1a0)]);};exports[a171_0x346c11(0x1c8)]=(_0x42c883={},_0x707f17=process[a171_0x346c11(0x206)],_0xdc0245=process[a171_0x346c11(0x15a)])=>{const _0x52a9fc=a171_0x346c11,_0x18141a={'ujbFh':function(_0x324a0c,_0x583358){return _0x324a0c(_0x583358);},'ZxoNK':function(_0x432b21,_0x471fc2){return _0x432b21(_0x471fc2);},'QQRAr':function(_0x112123,_0x26e401){return _0x112123(_0x26e401);}};try{const _0x2310d3=_0x18141a[_0x52a9fc(0x16c)](normalizeTestPlanId,_0x18141a[_0x52a9fc(0x16c)](readTestPlanIdFromCliArgs,_0x707f17));if(_0x2310d3)return _0x2310d3;const _0x513ad1=_0x18141a[_0x52a9fc(0x164)](normalizeTestPlanId,_0xdc0245&&_0xdc0245[testHubConstants[_0x52a9fc(0x16b)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x513ad1)return _0x513ad1;return _0x18141a[_0x52a9fc(0x1b9)](readTestPlanIdFromConfig,_0x42c883);}catch(_0x24616d){return logger[_0x52a9fc(0x17f)](_0x52a9fc(0x166)+(_0x24616d&&_0x24616d[_0x52a9fc(0x1cd)]?_0x24616d[_0x52a9fc(0x1cd)]:_0x24616d)),undefined;}};
@@ -1 +1 @@
1
- function a172_0x4804(_0x1801c6,_0x1135ef){const _0x35dbc0=a172_0x35db();return a172_0x4804=function(_0x4804aa,_0x3de041){_0x4804aa=_0x4804aa-0xf6;let _0x57bd10=_0x35dbc0[_0x4804aa];return _0x57bd10;},a172_0x4804(_0x1801c6,_0x1135ef);}const a172_0x2ed661=a172_0x4804;(function(_0xebf1ad,_0x57eacf){const _0x3df278=a172_0x4804,_0x24525c=_0xebf1ad();while(!![]){try{const _0x4ea033=-parseInt(_0x3df278(0x114))/0x1*(-parseInt(_0x3df278(0x116))/0x2)+parseInt(_0x3df278(0x182))/0x3+parseInt(_0x3df278(0x151))/0x4*(-parseInt(_0x3df278(0x144))/0x5)+-parseInt(_0x3df278(0x156))/0x6*(parseInt(_0x3df278(0x14f))/0x7)+-parseInt(_0x3df278(0x18e))/0x8+parseInt(_0x3df278(0x15b))/0x9+-parseInt(_0x3df278(0x124))/0xa*(parseInt(_0x3df278(0x185))/0xb);if(_0x4ea033===_0x57eacf)break;else _0x24525c['push'](_0x24525c['shift']());}catch(_0x5cae1c){_0x24525c['push'](_0x24525c['shift']());}}}(a172_0x35db,0xe5dd7));const os=require('os'),util=require(a172_0x2ed661(0x164)),fs=require('fs'),{getProductMap}=require(a172_0x2ed661(0x141)),logger=require(a172_0x2ed661(0x15d))['winstonLogger'],constants=require(a172_0x2ed661(0x13e)),testHubConstants=require(a172_0x2ed661(0xfe)),{getTransformPath}=require(a172_0x2ed661(0x175)),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x2ed661(0x167)),PerformanceTester=require('./performance/performance-tester'),globals=require(a172_0x2ed661(0x129)),helper=require(a172_0x2ed661(0x167)),{isTestObservabilitySession}=require(a172_0x2ed661(0x142));let unhandledErrors='';function a172_0x35db(){const _0x52b9b9=['lZYJu','getTestFrameworkDetails','values','nodeRequest','type','browserStackConfig','deviceName','APP_AUTOMATE_PRODUCTS','fireFunnelTestEvent','rSNnM','hostname','chmodSync','browserVersion','sanitizeBrowserStackConfig','toString','getStackTraceAsString','error','673RxxEQz','W_OK','4214bGHtJA','version','setReadWriteExecuteAccess','vRQiF','dwkUQ','globalException','osVersion','unknown','buildName','cyKSd','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','framework','TCORN','uSBgq','81560XgqrsJ','finalExecution','sdkRunId','accessSync','cJWBO','./globals','getTurboScaleBuildLink','config','EJfPH','oiYNt','Phhgu','isBrowserstackInfra','[REDACTED]','YWhCh','stopPercy','replace','SdNwo','WVFib','playwrightVersion','ZJFVG','getUserName','assign','bYUkb','mCekZ','_hubAllocationData','getPackageVersion','../bin/utils/constants','ERfQr','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','./testhub/utils','./test-observability/utils','\x20:\x20','5jNkKfR','Error\x20in\x20firing\x20request\x20to\x20','isAppAutomateSession','eljUa','AWLtN','POST','browser','DQXzu','parse','ffyDV','join','63644hbrbMw','FkWTs','4294412sGjaiS','Failed\x20to\x20set\x20directory\x20access:\x20','split','trim','user_killed','372uybVNB','codeceptjs','getGlobal','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','finalExecutionRan','9229959svGDhk','undefined','./logger','null','nodejs','_buildHashedId','AjPXU','keys','X_OK','util','\x20has\x20now\x20read/write/execute\x20permissions.','every','./helper','buildIdentifier','VcDtL','getAccessKey','errorMessage','forEach','tests','body','getSessionsList','killSignal','szpoL','selenium-webdriver','getTurboScaleSessionsList','wkdDd','../bin/playwright/reporter/pwUtils','source','isTurboScaleSession','apply','oFBCP','aAIFI','event_properties','reduce','env','BrkEU','notifyUpdate','debug','LiVtZ','2107956QAoTaA','ENV_VAR','application/json','286HGwszF','object','stack','asLot',',\x20testhub\x20id:\x20','getNodeAgent','SDKTestSuccessful','isNullOrEmpty','BROWSERSTACK_TESTHUB_UUID','2842592eJNyJb','push','requirePWModule','crcis','hmXZm','getBuildLink','AUTOMATE_PRODUCTS','length','constants','all','info','hubAllocation','uxeqF','../helpers/testhub/constants','name','Playwright','UwzgC','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'];a172_0x35db=function(){return _0x52b9b9;};return a172_0x35db();}exports['fireFunnelTestEvent']=async(_0x27b693,_0x416fd6={},_0x5dae00,_0x2c7a36,_0x374a03=![])=>{const _0x19e9a8=a172_0x2ed661,_0x58c95b={'asLot':function(_0x20bbdf,_0x3e5579){return _0x20bbdf===_0x3e5579;},'DQXzu':_0x19e9a8(0x186),'YWhCh':function(_0x1b0f9e,_0x15acb8){return _0x1b0f9e>_0x15acb8;},'cJWBO':function(_0x5b0caf,_0x3fc06f){return _0x5b0caf>_0x3fc06f;},'ZJFVG':'tests','jmAxC':function(_0x3a3cf8){return _0x3a3cf8();},'ERfQr':function(_0x1bd681){return _0x1bd681();},'rRabw':function(_0x5af6d8,_0x43a096){return _0x5af6d8==_0x43a096;},'soeyf':_0x19e9a8(0x15e),'mCekZ':_0x19e9a8(0x15c),'rSNnM':function(_0x35cd6c,_0x575238){return _0x35cd6c>_0x575238;},'crcis':function(_0x24e839,_0x2dff49){return _0x24e839===_0x2dff49;},'AWLtN':_0x19e9a8(0x157),'GMzVN':function(_0x58930d,_0x31e602){return _0x58930d>_0x31e602;},'uSBgq':function(_0x47531d,_0x30add2){return _0x47531d!==_0x30add2;},'FkWTs':_0x19e9a8(0x100),'szpoL':function(_0x3b77f6,_0x955003){return _0x3b77f6===_0x955003;},'lZYJu':_0x19e9a8(0x113),'LiVtZ':function(_0x1a65a5,_0xbf6c33){return _0x1a65a5>_0xbf6c33;},'dwkUQ':function(_0x240b0d,_0x1cf7ce){return _0x240b0d+_0x1cf7ce;},'VcDtL':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','WVFib':_0x19e9a8(0x160),'UwzgC':function(_0x3513c9,_0x24151e){return _0x3513c9(_0x24151e);},'cyKSd':_0x19e9a8(0x11d),'hdRNI':_0x19e9a8(0x15f),'AjPXU':function(_0x733226,_0x972f2f){return _0x733226===_0x972f2f;},'TCORN':_0x19e9a8(0x18b),'Phhgu':_0x19e9a8(0x172),'JkSKn':_0x19e9a8(0x184),'mqbIy':_0x19e9a8(0x130),'oiYNt':_0x19e9a8(0x149)};let _0x23f77a=[];if(helper[_0x19e9a8(0x12f)]()&&_0x58c95b['jmAxC'](isTestObservabilitySession))_0x23f77a=helper[_0x19e9a8(0x146)](_0x5dae00)?constants[_0x19e9a8(0x10a)]:constants[_0x19e9a8(0xf7)];else{if(_0x58c95b[_0x19e9a8(0x13f)](isTestObservabilitySession))_0x23f77a=constants[_0x19e9a8(0x159)];else helper['isBrowserstackInfra']()&&(_0x23f77a=helper['isAppAutomateSession'](_0x5dae00)?constants['APP_AUTOMATE']:constants['AUTOMATE']);}let _0x32a8eb=_0x5dae00[_0x19e9a8(0x168)];if(_0x58c95b['rRabw'](_0x32a8eb,null))_0x32a8eb=_0x58c95b['soeyf'];else _0x58c95b[_0x19e9a8(0x188)](_0x32a8eb,undefined)&&(_0x32a8eb=_0x58c95b[_0x19e9a8(0x13b)]);unhandledErrors&&_0x58c95b[_0x19e9a8(0x10c)](unhandledErrors['length'],0x0)&&(_0x416fd6[_0x19e9a8(0x11b)]=unhandledErrors);global['sdkRunId']&&(_0x416fd6[_0x19e9a8(0x126)]=global[_0x19e9a8(0x126)]);try{if(_0x416fd6[_0x19e9a8(0x113)]){if(_0x58c95b[_0x19e9a8(0x191)](_0x2c7a36,_0x58c95b[_0x19e9a8(0x148)])&&_0x58c95b['GMzVN'](_0x416fd6[_0x19e9a8(0x113)][_0x19e9a8(0xf8)],0x0)){const _0x12cc12={};_0x12cc12['os']='',_0x12cc12[_0x19e9a8(0x11c)]='',_0x12cc12[_0x19e9a8(0x14a)]='',_0x12cc12['browserVersion']='';const _0x2cee54=_0x12cc12;let _0x11379f={};const _0xfaa631=_0x416fd6[_0x19e9a8(0x113)];_0x11379f=_0xfaa631[_0x19e9a8(0x17c)]((_0x14781e,_0x597503)=>{for(const _0x3deec9 in _0x597503){_0x14781e[_0x3deec9]=_0x597503[_0x3deec9];}return _0x14781e;},{});const _0x5eb9e6={};_0x5eb9e6[_0x19e9a8(0x16d)]=_0x11379f,_0x416fd6[_0x19e9a8(0x113)]=[Object[_0x19e9a8(0x139)]({},_0x2cee54,_0x5eb9e6)];}else{let _0x3ef7b0=0x0;const _0x396279=_0x58c95b[_0x19e9a8(0x123)](_0x2c7a36,_0x58c95b[_0x19e9a8(0x150)])?JSON[_0x19e9a8(0x14c)](_0x416fd6[_0x19e9a8(0x113)]):_0x416fd6[_0x19e9a8(0x113)],_0xe21a4a=Object[_0x19e9a8(0x105)](_0x396279);_0xe21a4a[_0x19e9a8(0x16c)](_0x1cdc88=>{const _0x10e7c9=_0x19e9a8;if(_0x58c95b['asLot'](typeof _0x1cdc88,_0x58c95b[_0x10e7c9(0x14b)])){const _0x58a5fb=Object['values'](_0x1cdc88);!_0x58a5fb[_0x10e7c9(0x166)](_0x320216=>_0x320216===null||_0x320216===undefined||_0x320216==='')&&(_0x3ef7b0+=0x1);}});if(_0x58c95b[_0x19e9a8(0x171)](_0x3ef7b0,0x0))delete _0x416fd6[_0x58c95b['lZYJu']];else{const _0x52b4ac=[];Object[_0x19e9a8(0x162)](_0x396279)[_0x19e9a8(0x16c)](_0x150b4c=>{const _0x490ba5=_0x19e9a8,_0x504da0={'EJfPH':function(_0x4d4c0a,_0x3acd4f){const _0xf0ca78=a172_0x4804;return _0x58c95b[_0xf0ca78(0x131)](_0x4d4c0a,_0x3acd4f);}},[_0x580ddf,_0x51e9b2,_0x1c55c0,_0x2857e5]=_0x150b4c[_0x490ba5(0x153)](',\x20');let _0x11dac3={};if(!_0x2857e5){const _0x47ee8c={};_0x47ee8c[_0x490ba5(0x109)]=_0x580ddf,_0x47ee8c[_0x490ba5(0x11c)]=_0x51e9b2,_0x47ee8c[_0x490ba5(0x14a)]=_0x1c55c0,_0x11dac3=_0x47ee8c;}else{const _0x201d1d={};_0x201d1d['os']=_0x580ddf,_0x201d1d[_0x490ba5(0x11c)]=_0x51e9b2,_0x201d1d['browser']=_0x1c55c0,_0x201d1d[_0x490ba5(0x10f)]=_0x2857e5,_0x11dac3=_0x201d1d;}const _0x3e8aac={},_0x2cbc77=_0x396279[_0x150b4c];Object[_0x490ba5(0x162)](_0x2cbc77)[_0x490ba5(0x16c)](_0x120155=>{const _0x24ce0a=_0x490ba5;_0x504da0[_0x24ce0a(0x12c)](_0x2cbc77[_0x120155]['length'],0x0)&&(_0x3e8aac[_0x120155]=_0x2cbc77[_0x120155]);}),_0x58c95b[_0x490ba5(0x128)](Object[_0x490ba5(0x162)](_0x3e8aac)[_0x490ba5(0xf8)],0x0)&&(_0x11dac3[_0x58c95b[_0x490ba5(0x137)]]=_0x3e8aac,_0x52b4ac[_0x490ba5(0x18f)](_0x11dac3));}),_0x58c95b[_0x19e9a8(0x181)](_0x52b4ac[_0x19e9a8(0xf8)],0x0)?_0x416fd6[_0x19e9a8(0x113)]=_0x52b4ac:delete _0x416fd6[_0x58c95b[_0x19e9a8(0x103)]];}}}}catch(_0x5ac7d2){delete _0x416fd6[_0x58c95b[_0x19e9a8(0x103)]],logger['debug'](_0x58c95b[_0x19e9a8(0x11a)](_0x58c95b[_0x19e9a8(0x169)],_0x5ac7d2));}const _0x4815a0=helper[_0x19e9a8(0x104)](_0x5dae00,_0x5dae00[_0x19e9a8(0x121)]),_0x223083={'userName':helper[_0x19e9a8(0x138)](_0x5dae00),'accessKey':helper[_0x19e9a8(0x16a)](_0x5dae00),'event_type':_0x27b693,'detectedFramework':_0x2c7a36,'buildHashedId':globals[_0x19e9a8(0x158)](_0x58c95b[_0x19e9a8(0x135)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x19e9a8(0x183)][_0x19e9a8(0x18d)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x58c95b['UwzgC'](getProductMap,_0x5dae00),'productMap':_0x58c95b[_0x19e9a8(0x101)](getProductMap,_0x5dae00),'language_framework':_0x5dae00[_0x19e9a8(0x176)]||_0x58c95b['cyKSd'],'referrer':helper[_0x19e9a8(0x18a)](_0x2c7a36),'framework':_0x5dae00[_0x19e9a8(0x121)],'frameworkVersion':helper['getFrameworkVersion'](_0x2c7a36),'automationFramework':_0x4815a0[_0x19e9a8(0xff)],'automationFrameworkVersion':_0x4815a0[_0x19e9a8(0x117)],'language':_0x58c95b['hdRNI'],'languageVersion':process[_0x19e9a8(0x117)],'product':_0x23f77a,'buildName':_0x5dae00[_0x19e9a8(0x11e)]||_0x58c95b[_0x19e9a8(0x13b)],'buildIdentifier':_0x32a8eb,'os':os[_0x19e9a8(0x107)]()||_0x58c95b[_0x19e9a8(0x11f)],'hostname':os[_0x19e9a8(0x10d)]()||_0x58c95b[_0x19e9a8(0x11f)],..._0x416fd6,'isCLIEnabled':_0x374a03}};try{_0x58c95b[_0x19e9a8(0x161)](_0x27b693,_0x58c95b[_0x19e9a8(0x122)])&&(_0x223083[_0x19e9a8(0x17b)][_0x19e9a8(0x108)]=helper[_0x19e9a8(0x110)](_0x5dae00)),_0x58c95b['crcis'](_0x2c7a36,_0x58c95b[_0x19e9a8(0x150)])?_0x223083[_0x19e9a8(0x17b)][_0x19e9a8(0x136)]=helper[_0x19e9a8(0x190)][_0x19e9a8(0x178)](null,_0x58c95b['ERfQr'](getTransformPath),!![]):_0x223083[_0x19e9a8(0x17b)]['seleniumVersion']=helper[_0x19e9a8(0x13d)](_0x58c95b[_0x19e9a8(0x12e)]);}catch(_0x45e34e){logger[_0x19e9a8(0x180)](_0x19e9a8(0x102)+_0x45e34e);}const _0x1fdc74={};_0x1fdc74['content-type']=_0x58c95b['JkSKn'];const _0x303224={'headers':_0x1fdc74,'body':_0x223083,'auth':{'user':helper[_0x19e9a8(0x138)](_0x5dae00),'pass':helper['getAccessKey'](_0x5dae00)},'json':!![]};logger[_0x19e9a8(0x180)](_0x19e9a8(0x120)+JSON['stringify'](_0x303224[_0x19e9a8(0x16e)])[_0x19e9a8(0x133)](new RegExp(helper[_0x19e9a8(0x138)](_0x5dae00),'g'),_0x58c95b['mqbIy'])[_0x19e9a8(0x133)](new RegExp(helper['getAccessKey'](_0x5dae00),'g'),_0x58c95b['mqbIy']));try{const _0x1c5837=await helper[_0x19e9a8(0x106)](_0x58c95b[_0x19e9a8(0x12d)],FUNNEL_INSTRUMENTATION_API_URL,_0x303224,_0x5dae00);logger[_0x19e9a8(0x180)]('API\x20Event\x20'+_0x27b693+'\x20response\x20-\x20'+util['format']('%j',_0x1c5837));}catch(_0x46c924){logger['debug'](_0x19e9a8(0x145)+FUNNEL_INSTRUMENTATION_API_URL+_0x19e9a8(0x143)+util['format'](_0x46c924));}},exports[a172_0x2ed661(0x125)]=async(_0x28ec71,_0x33c861=![])=>{const _0x1bfcfc=a172_0x2ed661,_0x5f32aa={'uxeqF':function(_0x38c506){return _0x38c506();},'ffyDV':_0x1bfcfc(0x13c),'bYUkb':'finishedMetadata','lHmtj':_0x1bfcfc(0x155),'eljUa':_0x1bfcfc(0x18b),'hmXZm':function(_0x743a1c,_0x4a20b1,_0xa9a0c4){return _0x743a1c(_0x4a20b1,_0xa9a0c4);},'BrkEU':function(_0x11f081,_0x563bb8){return _0x11f081+_0x563bb8;},'vRQiF':_0x1bfcfc(0x140)};if(_0x28ec71['finalExecutionRan'])return;_0x28ec71[_0x1bfcfc(0x15a)]=!![];try{await _0x28ec71[_0x1bfcfc(0x132)](),_0x5f32aa[_0x1bfcfc(0xfd)](printNudgeLocalNotSetError);const _0x37eef2={};_0x37eef2[_0x1bfcfc(0x113)]=_0x28ec71[_0x1bfcfc(0x16b)]?_0x28ec71['errorMessage']:'{}';const _0x2eb49c=_0x37eef2,_0x1bd526=Object[_0x1bfcfc(0x139)]({},_0x2eb49c),_0x343296=globals[_0x1bfcfc(0x158)](_0x5f32aa[_0x1bfcfc(0x14d)]);_0x343296&&(_0x1bd526[_0x1bfcfc(0xfc)]=_0x343296);!!_0x28ec71[_0x1bfcfc(0x170)]&&(_0x1bd526[_0x5f32aa[_0x1bfcfc(0x13a)]]={'reason':_0x5f32aa['lHmtj'],'signal':_0x28ec71[_0x1bfcfc(0x170)]});unhandledErrors=_0x28ec71['unhandledErrors'][_0x1bfcfc(0x14e)]('\x0a');let _0xd1748f,_0x53b8b5,_0x58bcaf;helper[_0x1bfcfc(0x177)](_0x28ec71[_0x1bfcfc(0x12b)])?([_0xd1748f,_0x53b8b5]=await helper[_0x1bfcfc(0x12a)](_0x28ec71[_0x1bfcfc(0x12b)]),[_0x58bcaf]=await Promise[_0x1bfcfc(0xfa)]([helper[_0x1bfcfc(0x173)](_0xd1748f,_0x28ec71[_0x1bfcfc(0x12b)]),exports[_0x1bfcfc(0x10b)](_0x5f32aa[_0x1bfcfc(0x147)],_0x1bd526,_0x28ec71['config'],_0x28ec71[_0x1bfcfc(0x121)],_0x33c861)])):([_0xd1748f,_0x53b8b5]=await helper[_0x1bfcfc(0xf6)](_0x28ec71[_0x1bfcfc(0x12b)]),[_0x58bcaf]=await Promise[_0x1bfcfc(0xfa)]([helper[_0x1bfcfc(0x16f)](_0xd1748f,_0x28ec71['config']),exports[_0x1bfcfc(0x10b)](_0x5f32aa['eljUa'],_0x1bd526,_0x28ec71[_0x1bfcfc(0x12b)],_0x28ec71['framework'],_0x33c861)])),_0x58bcaf&&await _0x5f32aa[_0x1bfcfc(0x192)](generateCIArtifacts,_0x58bcaf,_0x53b8b5),logger[_0x1bfcfc(0xfb)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x28ec71['sdkRunId']+_0x1bfcfc(0x189)+process[_0x1bfcfc(0x17d)][_0x1bfcfc(0x18d)]),await helper['sendLogs'](_0x28ec71[_0x1bfcfc(0x12b)]);}catch(_0x5030f0){logger[_0x1bfcfc(0x180)](_0x5f32aa[_0x1bfcfc(0x17e)](_0x5f32aa[_0x1bfcfc(0x119)],_0x5030f0));}helper[_0x1bfcfc(0x17f)]();},exports[a172_0x2ed661(0x112)]=_0x4ea8e3=>{const _0x49fcec=a172_0x2ed661,_0x45e3b5={'aAIFI':function(_0x7765dc,_0x347f83){return _0x7765dc instanceof _0x347f83;},'wkdDd':function(_0x5b5123,_0xc6c0e1){return _0x5b5123(_0xc6c0e1);}};try{if(_0x45e3b5[_0x49fcec(0x17a)](_0x4ea8e3,Error))return _0x4ea8e3[_0x49fcec(0x187)]||_0x4ea8e3[_0x49fcec(0x111)]();return _0x45e3b5[_0x49fcec(0x174)](String,_0x4ea8e3);}catch(_0x1b0d7d){return _0x4ea8e3?_0x4ea8e3[_0x49fcec(0x111)]():'';}},exports[a172_0x2ed661(0x18c)]=_0x375e49=>{const _0x474ad0=a172_0x2ed661,_0x2afdbd={};_0x2afdbd['oFBCP']=function(_0x58d893,_0x5f08fd){return _0x58d893===_0x5f08fd;};const _0x56d7e9=_0x2afdbd;return!_0x375e49||_0x56d7e9[_0x474ad0(0x179)](_0x375e49[_0x474ad0(0x154)](),'');},exports['isModifiable']=_0x4c5379=>{const _0x35a01f=a172_0x2ed661,_0x1630ad={};_0x1630ad[_0x35a01f(0x134)]=function(_0x3c1737,_0x10f099){return _0x3c1737|_0x10f099;};const _0x335ab1=_0x1630ad;try{return fs[_0x35a01f(0x127)](_0x4c5379,_0x335ab1[_0x35a01f(0x134)](fs[_0x35a01f(0xf9)][_0x35a01f(0x115)],fs[_0x35a01f(0xf9)][_0x35a01f(0x163)])),!![];}catch(_0x16e7f6){return![];}},exports[a172_0x2ed661(0x118)]=_0x3010a4=>{const _0x3d58ee=a172_0x2ed661;try{fs[_0x3d58ee(0x10e)](_0x3010a4,0x1ff),logger['debug']('Directory\x20'+_0x3010a4+_0x3d58ee(0x165));}catch(_0x43d6e2){logger['error'](_0x3d58ee(0x152)+exports['getStackTraceAsString'](_0x43d6e2));}};
1
+ const a172_0x374123=a172_0x51f0;function a172_0x51f0(_0x524562,_0x55fc6){const _0x938e42=a172_0x938e();return a172_0x51f0=function(_0x51f0db,_0x1d211f){_0x51f0db=_0x51f0db-0x17c;let _0xfbf531=_0x938e42[_0x51f0db];return _0xfbf531;},a172_0x51f0(_0x524562,_0x55fc6);}(function(_0x29c52b,_0x5aabdd){const _0x14bc5a=a172_0x51f0,_0x22ecb7=_0x29c52b();while(!![]){try{const _0x1c8d19=-parseInt(_0x14bc5a(0x1e6))/0x1+-parseInt(_0x14bc5a(0x207))/0x2*(-parseInt(_0x14bc5a(0x214))/0x3)+parseInt(_0x14bc5a(0x1cf))/0x4*(-parseInt(_0x14bc5a(0x20d))/0x5)+parseInt(_0x14bc5a(0x212))/0x6*(parseInt(_0x14bc5a(0x180))/0x7)+parseInt(_0x14bc5a(0x1f5))/0x8*(-parseInt(_0x14bc5a(0x196))/0x9)+-parseInt(_0x14bc5a(0x1ac))/0xa*(parseInt(_0x14bc5a(0x194))/0xb)+parseInt(_0x14bc5a(0x1d9))/0xc;if(_0x1c8d19===_0x5aabdd)break;else _0x22ecb7['push'](_0x22ecb7['shift']());}catch(_0x228395){_0x22ecb7['push'](_0x22ecb7['shift']());}}}(a172_0x938e,0xe3b08));const os=require('os'),util=require(a172_0x374123(0x1b6)),fs=require('fs'),{getProductMap}=require(a172_0x374123(0x200)),logger=require(a172_0x374123(0x210))[a172_0x374123(0x185)],constants=require(a172_0x374123(0x1ca)),testHubConstants=require(a172_0x374123(0x1f3)),{getTransformPath}=require(a172_0x374123(0x1ea)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x374123(0x1ca)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a172_0x374123(0x191)),globals=require('./globals'),helper=require(a172_0x374123(0x18c)),{isTestObservabilitySession}=require('./test-observability/utils');function a172_0x938e(){const _0x5b7503=['_hubAllocationData','tRUHE','killSignal','MFVTu','config','setReadWriteExecuteAccess','osaaj','VNZRB','tests','util','JRdkS','hqizW','Playwright','codeceptjs','toString','zOBgB','chmodSync','SDKTestSuccessful','apply','join','globalException','BBilg','bvqpu','stopPercy','osVersion','getFrameworkVersion','object','ieQMg','getGlobal','../bin/utils/constants','getAccessKey','framework','every','hubAllocation','1840524AWPCuh','constants','BgLmO','jpcHP','accessSync','HAGSO','QTXbR','getBuildLink','format','\x20:\x20','42943464gbWabh','zRJEa','unhandledErrors','AUTOMATE_PRODUCTS','getTurboScaleBuildLink','iioeS','playwrightVersion','type','finalExecutionRan','getOptimalHubUrl','error','isNullOrEmpty','browserVersion','1201872oPEErV','split','sdkRunId','nSITO','../bin/playwright/reporter/pwUtils','iizKO','jploa','push','API\x20Event\x20','SDK\x20run\x20ended\x20for\x20id:\x20','AUxxU','\x20has\x20now\x20read/write/execute\x20permissions.','mFNlr','../helpers/testhub/constants','unknown','2616RSXkWL','klHgd','AUTOMATE','getNodeAgent','trim','content-type','event_properties','all','user_killed','isAppAutomateSession','stack','./testhub/utils','application/json','isBrowserstackInfra','seleniumVersion','dHFlo','values','keys','1474JtIZBL','fhjWw','name','dacHq','sRbkY','getUserName','10fadLyu','rqpXb','uZOyP','./logger','getSessionsList','5416278vevCql','browser','5466aAqXjt','forEach','finalExecution','browserStackConfig','requirePWModule','Directory\x20','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','7CyeRIb','version','POST','undefined','notifyUpdate','winstonLogger','isModifiable','isTurboScaleSession','sendLogs','PRODUCT_IF_NOT_BROWSERSTACK_INFRA',',\x20testhub\x20id:\x20','length','./helper','mWfml','ZdMxy','hyXdB','finishedMetadata','./performance/performance-tester','reduce','getStackTraceAsString','15057438pUBcxG','vWErB','38547OFttMy','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','ENV_VAR','fQsmF','getPackageVersion','W_OK','debug','env','APP_AUTOMATE','fireFunnelTestEvent','getTestFrameworkDetails','EFYGQ','null','assign','info','selenium-webdriver','errorMessage','sanitizeBrowserStackConfig','zrqrU','replace','nodeRequest','RYWTf','10xlPQRH'];a172_0x938e=function(){return _0x5b7503;};return a172_0x938e();}let unhandledErrors='';exports[a172_0x374123(0x19f)]=async(_0x3a47d2,_0x2e3cf3={},_0x2f151c,_0x42f83,_0x4c558c=![])=>{const _0x545e69=a172_0x374123,_0x241114={'hqizW':function(_0x54eebd,_0x18ede7){return _0x54eebd===_0x18ede7;},'JRdkS':_0x545e69(0x1c7),'mFNlr':function(_0x3f5e46,_0x480b75){return _0x3f5e46>_0x480b75;},'FkbPQ':_0x545e69(0x1b5),'BBilg':function(_0x403c8b){return _0x403c8b();},'yYfoT':function(_0x119ddf,_0x10576b){return _0x119ddf==_0x10576b;},'IoHqx':_0x545e69(0x1a2),'mWfml':function(_0x15c23b,_0x32cd7c){return _0x15c23b===_0x32cd7c;},'dHFlo':_0x545e69(0x183),'HAGSO':function(_0x12b084,_0x4f93ea){return _0x12b084>_0x4f93ea;},'dacHq':function(_0x5315e5,_0x4c7ede){return _0x5315e5===_0x4c7ede;},'tRUHE':_0x545e69(0x1ba),'CJGua':function(_0x24bc4e,_0x82e253){return _0x24bc4e!==_0x82e253;},'vWErB':_0x545e69(0x1b9),'fQsmF':'error','BgLmO':function(_0x55daab,_0x45ed1a){return _0x55daab>_0x45ed1a;},'zrqrU':function(_0x24bedd,_0x3380d0){return _0x24bedd+_0x3380d0;},'bvqpu':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','klHgd':'_buildHashedId','osaaj':function(_0x165711,_0x2f51b5){return _0x165711(_0x2f51b5);},'sRbkY':function(_0xd2c1b3,_0x314ed4){return _0xd2c1b3(_0x314ed4);},'MFVTu':_0x545e69(0x1f4),'ieQMg':'nodejs','iioeS':_0x545e69(0x1be),'fhjWw':function(_0x42d904,_0x4fdc50){return _0x42d904===_0x4fdc50;},'tyNiF':_0x545e69(0x1a5),'uZOyP':_0x545e69(0x201),'hyXdB':'[REDACTED]','nSITO':_0x545e69(0x182)};let _0x444ff5=[];if(helper[_0x545e69(0x202)]()&&_0x241114[_0x545e69(0x1c2)](isTestObservabilitySession))_0x444ff5=helper[_0x545e69(0x1fe)](_0x2f151c)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x545e69(0x1dc)];else{if(_0x241114['BBilg'](isTestObservabilitySession))_0x444ff5=constants[_0x545e69(0x189)];else helper[_0x545e69(0x202)]()&&(_0x444ff5=helper['isAppAutomateSession'](_0x2f151c)?constants[_0x545e69(0x19e)]:constants[_0x545e69(0x1f7)]);}let _0x4327c7=_0x2f151c['buildIdentifier'];if(_0x241114['yYfoT'](_0x4327c7,null))_0x4327c7=_0x241114['IoHqx'];else _0x241114[_0x545e69(0x18d)](_0x4327c7,undefined)&&(_0x4327c7=_0x241114['dHFlo']);unhandledErrors&&_0x241114['HAGSO'](unhandledErrors[_0x545e69(0x18b)],0x0)&&(_0x2e3cf3[_0x545e69(0x1c1)]=unhandledErrors);global['sdkRunId']&&(_0x2e3cf3['sdkRunId']=global[_0x545e69(0x1e8)]);try{if(_0x2e3cf3['error']){if(_0x241114[_0x545e69(0x20a)](_0x42f83,_0x241114[_0x545e69(0x1ae)])&&_0x241114[_0x545e69(0x1d4)](_0x2e3cf3[_0x545e69(0x1e3)][_0x545e69(0x18b)],0x0)){const _0x2d5c19={};_0x2d5c19['os']='',_0x2d5c19[_0x545e69(0x1c5)]='',_0x2d5c19['browser']='',_0x2d5c19[_0x545e69(0x1e5)]='';const _0x39d00c=_0x2d5c19;let _0x3e9ad9={};const _0x4bc7a9=_0x2e3cf3[_0x545e69(0x1e3)];_0x3e9ad9=_0x4bc7a9[_0x545e69(0x192)]((_0x38da69,_0x295a47)=>{for(const _0x3c59df in _0x295a47){_0x38da69[_0x3c59df]=_0x295a47[_0x3c59df];}return _0x38da69;},{});const _0x300bd8={};_0x300bd8[_0x545e69(0x1b5)]=_0x3e9ad9,_0x2e3cf3[_0x545e69(0x1e3)]=[Object[_0x545e69(0x1a3)]({},_0x39d00c,_0x300bd8)];}else{let _0x355fe5=0x0;const _0x58932b=_0x241114['CJGua'](_0x42f83,_0x241114['vWErB'])?JSON['parse'](_0x2e3cf3[_0x545e69(0x1e3)]):_0x2e3cf3[_0x545e69(0x1e3)],_0x3e3b52=Object[_0x545e69(0x205)](_0x58932b);_0x3e3b52[_0x545e69(0x215)](_0x1b9aa2=>{const _0x313542=_0x545e69;if(_0x241114[_0x313542(0x1b8)](typeof _0x1b9aa2,_0x241114[_0x313542(0x1b7)])){const _0x4a9e93=Object[_0x313542(0x205)](_0x1b9aa2);!_0x4a9e93[_0x313542(0x1cd)](_0x248abf=>_0x248abf===null||_0x248abf===undefined||_0x248abf==='')&&(_0x355fe5+=0x1);}});if(_0x241114['dacHq'](_0x355fe5,0x0))delete _0x2e3cf3[_0x241114[_0x545e69(0x199)]];else{const _0x5857fe=[];Object[_0x545e69(0x206)](_0x58932b)['forEach'](_0x279cc2=>{const _0x5b025e=_0x545e69,_0x4348d2={'EFYGQ':function(_0x3dd21e,_0x1176fc){const _0x45bc6a=a172_0x51f0;return _0x241114[_0x45bc6a(0x1f2)](_0x3dd21e,_0x1176fc);}},[_0x9575d6,_0x4618c9,_0x581a39,_0x5bfb77]=_0x279cc2[_0x5b025e(0x1e7)](',\x20');let _0x169676={};if(!_0x5bfb77){const _0x344ae0={};_0x344ae0['deviceName']=_0x9575d6,_0x344ae0[_0x5b025e(0x1c5)]=_0x4618c9,_0x344ae0['browser']=_0x581a39,_0x169676=_0x344ae0;}else{const _0x12b13b={};_0x12b13b['os']=_0x9575d6,_0x12b13b[_0x5b025e(0x1c5)]=_0x4618c9,_0x12b13b[_0x5b025e(0x213)]=_0x581a39,_0x12b13b[_0x5b025e(0x1e5)]=_0x5bfb77,_0x169676=_0x12b13b;}const _0x430922={},_0x556c47=_0x58932b[_0x279cc2];Object[_0x5b025e(0x206)](_0x556c47)['forEach'](_0x5abebd=>{const _0x5dbd07=_0x5b025e;_0x4348d2[_0x5dbd07(0x1a1)](_0x556c47[_0x5abebd][_0x5dbd07(0x18b)],0x0)&&(_0x430922[_0x5abebd]=_0x556c47[_0x5abebd]);}),_0x241114[_0x5b025e(0x1f2)](Object[_0x5b025e(0x206)](_0x430922)['length'],0x0)&&(_0x169676[_0x241114['FkbPQ']]=_0x430922,_0x5857fe[_0x5b025e(0x1ed)](_0x169676));}),_0x241114[_0x545e69(0x1d1)](_0x5857fe[_0x545e69(0x18b)],0x0)?_0x2e3cf3[_0x545e69(0x1e3)]=_0x5857fe:delete _0x2e3cf3[_0x241114[_0x545e69(0x199)]];}}}}catch(_0x4d5554){delete _0x2e3cf3[_0x241114['fQsmF']],logger[_0x545e69(0x19c)](_0x241114[_0x545e69(0x1a8)](_0x241114[_0x545e69(0x1c3)],_0x4d5554));}const _0x582cea=helper[_0x545e69(0x1a0)](_0x2f151c,_0x2f151c[_0x545e69(0x1cc)]),_0x611534={'userName':helper['getUserName'](_0x2f151c),'accessKey':helper[_0x545e69(0x1cb)](_0x2f151c),'event_type':_0x3a47d2,'detectedFramework':_0x42f83,'buildHashedId':globals[_0x545e69(0x1c9)](_0x241114[_0x545e69(0x1f6)]),'optimalHubUrl':helper[_0x545e69(0x1e2)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x545e69(0x198)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global['sdkRunId'],'product_map':_0x241114[_0x545e69(0x1b3)](getProductMap,_0x2f151c),'productMap':_0x241114[_0x545e69(0x20b)](getProductMap,_0x2f151c),'language_framework':_0x2f151c['source']||_0x241114[_0x545e69(0x1b0)],'referrer':helper[_0x545e69(0x1f8)](_0x42f83),'framework':_0x2f151c[_0x545e69(0x1cc)],'frameworkVersion':helper[_0x545e69(0x1c6)](_0x42f83),'automationFramework':_0x582cea[_0x545e69(0x209)],'automationFrameworkVersion':_0x582cea[_0x545e69(0x181)],'language':_0x241114[_0x545e69(0x1c8)],'languageVersion':process[_0x545e69(0x181)],'product':_0x444ff5,'buildName':_0x2f151c['buildName']||_0x241114[_0x545e69(0x204)],'buildIdentifier':_0x4327c7,'os':os[_0x545e69(0x1e0)]()||_0x241114[_0x545e69(0x1b0)],'hostname':os['hostname']()||_0x241114[_0x545e69(0x1b0)],..._0x2e3cf3,'isCLIEnabled':_0x4c558c}};try{_0x241114[_0x545e69(0x1b8)](_0x3a47d2,_0x241114[_0x545e69(0x1de)])&&(_0x611534[_0x545e69(0x1fb)][_0x545e69(0x17c)]=helper[_0x545e69(0x1a7)](_0x2f151c)),_0x241114[_0x545e69(0x208)](_0x42f83,_0x241114[_0x545e69(0x195)])?_0x611534[_0x545e69(0x1fb)][_0x545e69(0x1df)]=helper[_0x545e69(0x17d)][_0x545e69(0x1bf)](null,_0x241114['BBilg'](getTransformPath),!![]):_0x611534[_0x545e69(0x1fb)][_0x545e69(0x203)]=helper[_0x545e69(0x19a)](_0x241114['tyNiF']);}catch(_0x3b9d2c){logger[_0x545e69(0x19c)](_0x545e69(0x197)+_0x3b9d2c);}const _0x4bc326={};_0x4bc326[_0x545e69(0x1fa)]=_0x241114[_0x545e69(0x20f)];const _0x2dbd19={'headers':_0x4bc326,'body':_0x611534,'auth':{'user':helper[_0x545e69(0x20c)](_0x2f151c),'pass':helper[_0x545e69(0x1cb)](_0x2f151c)},'json':!![]};logger[_0x545e69(0x19c)](_0x545e69(0x17f)+JSON['stringify'](_0x2dbd19['body'])[_0x545e69(0x1a9)](new RegExp(helper['getUserName'](_0x2f151c),'g'),_0x241114[_0x545e69(0x18f)])['replace'](new RegExp(helper[_0x545e69(0x1cb)](_0x2f151c),'g'),_0x241114[_0x545e69(0x18f)]));try{const _0x599bc0=await helper[_0x545e69(0x1aa)](_0x241114[_0x545e69(0x1e9)],FUNNEL_INSTRUMENTATION_API_URL,_0x2dbd19,_0x2f151c);logger[_0x545e69(0x19c)](_0x545e69(0x1ee)+_0x3a47d2+'\x20response\x20-\x20'+util[_0x545e69(0x1d7)]('%j',_0x599bc0));}catch(_0x27e15e){logger[_0x545e69(0x19c)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x545e69(0x1d8)+util[_0x545e69(0x1d7)](_0x27e15e));}},exports[a172_0x374123(0x216)]=async(_0x1cd72b,_0x480068=![])=>{const _0x355095=a172_0x374123,_0xbe1ae2={'jploa':function(_0x5a021b){return _0x5a021b();},'iizKO':_0x355095(0x1ad),'pozSK':_0x355095(0x190),'AUxxU':_0x355095(0x1fd),'rqpXb':_0x355095(0x1be),'VNZRB':function(_0x514996,_0x1facc3,_0xa3fa4c){return _0x514996(_0x1facc3,_0xa3fa4c);},'RYWTf':function(_0x154ff8,_0x119cd9){return _0x154ff8+_0x119cd9;},'zRJEa':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0x1cd72b[_0x355095(0x1e1)])return;_0x1cd72b[_0x355095(0x1e1)]=!![];try{await _0x1cd72b[_0x355095(0x1c4)](),_0xbe1ae2[_0x355095(0x1ec)](printNudgeLocalNotSetError);const _0x5b3dd1={};_0x5b3dd1[_0x355095(0x1e3)]=_0x1cd72b[_0x355095(0x1a6)]?_0x1cd72b['errorMessage']:'{}';const _0x57eba5=_0x5b3dd1,_0x25bebf=Object[_0x355095(0x1a3)]({},_0x57eba5),_0x47918f=globals['getGlobal'](_0xbe1ae2[_0x355095(0x1eb)]);_0x47918f&&(_0x25bebf[_0x355095(0x1ce)]=_0x47918f);!!_0x1cd72b['killSignal']&&(_0x25bebf[_0xbe1ae2['pozSK']]={'reason':_0xbe1ae2[_0x355095(0x1f0)],'signal':_0x1cd72b[_0x355095(0x1af)]});unhandledErrors=_0x1cd72b[_0x355095(0x1db)][_0x355095(0x1c0)]('\x0a');let _0x5e5eca,_0x536a9c,_0x19d384;helper[_0x355095(0x187)](_0x1cd72b['config'])?([_0x5e5eca,_0x536a9c]=await helper[_0x355095(0x1dd)](_0x1cd72b[_0x355095(0x1b1)]),[_0x19d384]=await Promise[_0x355095(0x1fc)]([helper['getTurboScaleSessionsList'](_0x5e5eca,_0x1cd72b[_0x355095(0x1b1)]),exports[_0x355095(0x19f)](_0xbe1ae2[_0x355095(0x20e)],_0x25bebf,_0x1cd72b[_0x355095(0x1b1)],_0x1cd72b['framework'],_0x480068)])):([_0x5e5eca,_0x536a9c]=await helper[_0x355095(0x1d6)](_0x1cd72b[_0x355095(0x1b1)]),[_0x19d384]=await Promise['all']([helper[_0x355095(0x211)](_0x5e5eca,_0x1cd72b['config']),exports['fireFunnelTestEvent'](_0xbe1ae2['rqpXb'],_0x25bebf,_0x1cd72b[_0x355095(0x1b1)],_0x1cd72b[_0x355095(0x1cc)],_0x480068)])),_0x19d384&&await _0xbe1ae2[_0x355095(0x1b4)](generateCIArtifacts,_0x19d384,_0x536a9c),logger[_0x355095(0x1a4)](_0x355095(0x1ef)+_0x1cd72b[_0x355095(0x1e8)]+_0x355095(0x18a)+process[_0x355095(0x19d)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x355095(0x188)](_0x1cd72b[_0x355095(0x1b1)]);}catch(_0x50e3d0){logger['debug'](_0xbe1ae2[_0x355095(0x1ab)](_0xbe1ae2[_0x355095(0x1da)],_0x50e3d0));}helper[_0x355095(0x184)]();},exports[a172_0x374123(0x193)]=_0x585ccc=>{const _0x1849f1=a172_0x374123,_0x10f3eb={'zOBgB':function(_0x1cc6df,_0xd82ba7){return _0x1cc6df instanceof _0xd82ba7;},'jpcHP':function(_0x268c74,_0x1db8fc){return _0x268c74(_0x1db8fc);}};try{if(_0x10f3eb[_0x1849f1(0x1bc)](_0x585ccc,Error))return _0x585ccc[_0x1849f1(0x1ff)]||_0x585ccc[_0x1849f1(0x1bb)]();return _0x10f3eb[_0x1849f1(0x1d2)](String,_0x585ccc);}catch(_0xd9eba1){return _0x585ccc?_0x585ccc[_0x1849f1(0x1bb)]():'';}},exports[a172_0x374123(0x1e4)]=_0x21e1ee=>{const _0x35a54a=a172_0x374123,_0x266193={};_0x266193[_0x35a54a(0x1d5)]=function(_0x45bc52,_0x443b25){return _0x45bc52===_0x443b25;};const _0x33b412=_0x266193;return!_0x21e1ee||_0x33b412[_0x35a54a(0x1d5)](_0x21e1ee[_0x35a54a(0x1f9)](),'');},exports[a172_0x374123(0x186)]=_0x1cb744=>{const _0x3c43a8=a172_0x374123,_0x12fdb7={};_0x12fdb7[_0x3c43a8(0x18e)]=function(_0x345d72,_0xe9ce07){return _0x345d72|_0xe9ce07;};const _0xb4520c=_0x12fdb7;try{return fs[_0x3c43a8(0x1d3)](_0x1cb744,_0xb4520c[_0x3c43a8(0x18e)](fs['constants'][_0x3c43a8(0x19b)],fs[_0x3c43a8(0x1d0)]['X_OK'])),!![];}catch(_0x51268f){return![];}},exports[a172_0x374123(0x1b2)]=_0x2351d3=>{const _0x2bb27c=a172_0x374123;try{fs[_0x2bb27c(0x1bd)](_0x2351d3,0x1ff),logger['debug'](_0x2bb27c(0x17e)+_0x2351d3+_0x2bb27c(0x1f1));}catch(_0x378199){logger[_0x2bb27c(0x1e3)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x2bb27c(0x193)](_0x378199));}};
@@ -1 +1 @@
1
- function a173_0xa726(){var _0x3fdb61=['consoleLogs','hosts','APVQp','useW3c','browserVersion','autoWait','2494848AZwaMt','ZdBKB','accessibility','browserstack.accessibilityOptions.wcagVersion','browserstack.console','seleniumVersion','buildProductMap','cgnvv','wDllT','localIdentifier','browserstack.performance','tEfnZ','WbpOK','browserstack.accessibilityOptions.authToken','enableSim','RyoGu','browserstack.autoWait','tLONj','wfQds','browserstack.accessibilityOptions.includeIssueType.bestPractice','headerParams','noLnL','nHHdo','playwrightVersion','UlMFh','jyVIu','browserstack.accessibilityOptions.includeIssueType.needsReview','browserstack.headerParams','90nsevgd','buildIdentifier','HsKWW','browser_version','1429190qmRxOH','iWBBi','pVqOG','appiumVersion','MDaOn','tRAXZ','AQXpK','LhzoD','browserstack.accessibility','accessibilityOptions.scannerProcessingTimeout','MvCcW','browserstack.buildIdentifier','ZteGW','seleniumLogs','realMobile','browserstack.bfcache','tLqbz','browserstack.buildProductMap','browserstack.disableCorsRestrictions','accessibilityOptions.includeIssueType.needsReview','4gYXqzP','JBBuE','accessibilityOptions.wcagVersion','userName','HQjqU','browserstack.geoLocation','IFNVw','browser','hnEkN','browserstack.simOptions','nOmAG','browserstack.customNetwork','UaOjF','accessibilityOptions.authToken','networkProfile','2670138qmTHnd','browserstack.video','browserstack.uploadMedia','Pdlzg','telemetryLogs','browserstack.user','Pmzxv','NZtpr','mXlwL','LAUsE','browserstack.browserstackSDK','browserstack.use_w3c','NIbNd','YDSPe','networkLogs','testhubBuildUuid','timezone','browserstack.appium_version','buildName','browserstack.enableSim','resolution','TZmdO','JutSm','maskCommands','osVersion','YMJIV','jRArl','aLBqq','cjsTf','mKRBf','browserstack.accessibilityOptions.scannerProcessingTimeout','accessibilityOptions.scannerVersion','yBgfk','disableCorsRestrictions','245322jyWdDG','TpFmJ','raMnR','browserstack.telemetryLogs','browserstack.selenium_version','build','accessKey','bDdIV','wsLocalSupport','ddIrJ','browserstack.maskBasicAuth','7362240yznQFZ','browserstack.networkLogs','381512uyiokx','browserstack.accessibilityOptions.scannerVersion','overridelocalInfo.userAuthToken','deviceName','4671085tYZKRV','debug','browserstack.hosts','rjxGn','browserstack.networkProfile','meiTI','EdjLo','idleTimeout','maskBasicAuth','simOptions','vbeEb'];a173_0xa726=function(){return _0x3fdb61;};return a173_0xa726();}function a173_0x19f6(_0x4df98b,_0x3573dc){var _0xa726e6=a173_0xa726();return a173_0x19f6=function(_0x19f6ab,_0x4cc6b4){_0x19f6ab=_0x19f6ab-0x11f;var _0x1586b6=_0xa726e6[_0x19f6ab];return _0x1586b6;},a173_0x19f6(_0x4df98b,_0x3573dc);}(function(_0x4a2103,_0x1e31d3){var _0x5e8dab=a173_0x19f6,_0x1de3a1=_0x4a2103();while(!![]){try{var _0x54075d=parseInt(_0x5e8dab(0x193))/0x1+-parseInt(_0x5e8dab(0x171))/0x2+-parseInt(_0x5e8dab(0x12e))/0x3+parseInt(_0x5e8dab(0x162))/0x4*(parseInt(_0x5e8dab(0x1a4))/0x5)+parseInt(_0x5e8dab(0x19e))/0x6+parseInt(_0x5e8dab(0x14e))/0x7+-parseInt(_0x5e8dab(0x1a0))/0x8*(-parseInt(_0x5e8dab(0x14a))/0x9);if(_0x54075d===_0x1e31d3)break;else _0x1de3a1['push'](_0x1de3a1['shift']());}catch(_0x3a5333){_0x1de3a1['push'](_0x1de3a1['shift']());}}}(a173_0xa726,0xe0d7a),exports['W3CMapping']=()=>{var _0x11e76c=a173_0x19f6,_0x135d8f={};_0x135d8f[_0x11e76c(0x195)]=_0x11e76c(0x165),_0x135d8f[_0x11e76c(0x18c)]=_0x11e76c(0x199),_0x135d8f[_0x11e76c(0x120)]=_0x11e76c(0x189),_0x135d8f['nHHdo']='browser',_0x135d8f[_0x11e76c(0x155)]=_0x11e76c(0x12c),_0x135d8f['McrMT']=_0x11e76c(0x12b),_0x135d8f['wfQds']='projectName',_0x135d8f[_0x11e76c(0x146)]=_0x11e76c(0x183),_0x135d8f[_0x11e76c(0x166)]='sessionName',_0x135d8f[_0x11e76c(0x168)]='local',_0x135d8f[_0x11e76c(0x17d)]=_0x11e76c(0x137),_0x135d8f[_0x11e76c(0x136)]=_0x11e76c(0x1a5),_0x135d8f[_0x11e76c(0x15e)]=_0x11e76c(0x128),_0x135d8f[_0x11e76c(0x14c)]=_0x11e76c(0x17f),_0x135d8f[_0x11e76c(0x127)]='networkLogsOptions',_0x135d8f[_0x11e76c(0x14f)]='appiumLogs',_0x135d8f[_0x11e76c(0x12f)]='video',_0x135d8f[_0x11e76c(0x163)]=_0x11e76c(0x15b),_0x135d8f[_0x11e76c(0x16a)]=_0x11e76c(0x175),_0x135d8f[_0x11e76c(0x187)]='geoLocation',_0x135d8f[_0x11e76c(0x12a)]=_0x11e76c(0x181),_0x135d8f['AQXpK']=_0x11e76c(0x185),_0x135d8f['meiTI']=_0x11e76c(0x133),_0x135d8f['YDSPe']=_0x11e76c(0x188),_0x135d8f[_0x11e76c(0x16c)]=_0x11e76c(0x124),_0x135d8f[_0x11e76c(0x13a)]=_0x11e76c(0x125),_0x135d8f[_0x11e76c(0x179)]=_0x11e76c(0x12d),_0x135d8f[_0x11e76c(0x178)]=_0x11e76c(0x129),_0x135d8f['jyVIu']='bfcache',_0x135d8f[_0x11e76c(0x194)]=_0x11e76c(0x19b),_0x135d8f[_0x11e76c(0x18a)]=_0x11e76c(0x192),_0x135d8f[_0x11e76c(0x135)]=_0x11e76c(0x1a3),_0x135d8f['iudDD']=_0x11e76c(0x15c),_0x135d8f['MrjsI']=_0x11e76c(0x151),_0x135d8f[_0x11e76c(0x13f)]='deviceOrientation',_0x135d8f[_0x11e76c(0x186)]='customNetwork',_0x135d8f[_0x11e76c(0x153)]=_0x11e76c(0x170),_0x135d8f[_0x11e76c(0x19a)]=_0x11e76c(0x14b),_0x135d8f[_0x11e76c(0x143)]='browserstackSDK',_0x135d8f['LAUsE']=_0x11e76c(0x130),_0x135d8f['mVAMd']=_0x11e76c(0x134),_0x135d8f[_0x11e76c(0x18d)]=_0x11e76c(0x180),_0x135d8f[_0x11e76c(0x18b)]=_0x11e76c(0x164),_0x135d8f[_0x11e76c(0x152)]=_0x11e76c(0x190),_0x135d8f[_0x11e76c(0x177)]=_0x11e76c(0x157),_0x135d8f[_0x11e76c(0x18e)]='accessibilityOptions.includeIssueType.bestPractice',_0x135d8f[_0x11e76c(0x191)]=_0x11e76c(0x161),_0x135d8f[_0x11e76c(0x123)]=_0x11e76c(0x16f),_0x135d8f['Pdlzg']='uploadMedia',_0x135d8f[_0x11e76c(0x13d)]=_0x11e76c(0x13c),_0x135d8f[_0x11e76c(0x158)]=_0x11e76c(0x126),_0x135d8f[_0x11e76c(0x16e)]=_0x11e76c(0x145),_0x135d8f[_0x11e76c(0x150)]=_0x11e76c(0x1a2),_0x135d8f[_0x11e76c(0x15a)]='overridelocalInfo.localIdentifier',_0x135d8f['tEfnZ']=_0x11e76c(0x142),_0x135d8f['ddIrJ']='performance';var _0x3988eb=_0x135d8f,_0x50b2be={};return _0x50b2be[_0x11e76c(0x176)]=_0x3988eb[_0x11e76c(0x195)],_0x50b2be['browserstack.key']=_0x3988eb[_0x11e76c(0x18c)],_0x50b2be['os']='os',_0x50b2be['os_version']=_0x3988eb['rjxGn'],_0x50b2be[_0x11e76c(0x169)]=_0x3988eb[_0x11e76c(0x144)],_0x50b2be[_0x11e76c(0x14d)]=_0x3988eb['LhzoD'],_0x50b2be[_0x11e76c(0x17c)]=_0x3988eb['McrMT'],_0x50b2be['project']=_0x3988eb[_0x11e76c(0x140)],_0x50b2be[_0x11e76c(0x198)]=_0x3988eb[_0x11e76c(0x146)],_0x50b2be['name']=_0x3988eb[_0x11e76c(0x166)],_0x50b2be['browserstack.local']=_0x3988eb[_0x11e76c(0x168)],_0x50b2be['browserstack.localIdentifier']=_0x3988eb[_0x11e76c(0x17d)],_0x50b2be['browserstack.debug']=_0x3988eb['wDllT'],_0x50b2be[_0x11e76c(0x132)]=_0x3988eb[_0x11e76c(0x15e)],_0x50b2be[_0x11e76c(0x19f)]=_0x3988eb['HsKWW'],_0x50b2be['browserstack.networkLogsOptions']=_0x3988eb['vbeEb'],_0x50b2be['browserstack.appiumLogs']=_0x3988eb[_0x11e76c(0x14f)],_0x50b2be[_0x11e76c(0x172)]=_0x3988eb[_0x11e76c(0x12f)],_0x50b2be['browserstack.seleniumLogs']=_0x3988eb['JBBuE'],_0x50b2be[_0x11e76c(0x196)]=_0x3988eb[_0x11e76c(0x16a)],_0x50b2be[_0x11e76c(0x167)]=_0x3988eb['JutSm'],_0x50b2be['browserstack.timezone']=_0x3988eb['APVQp'],_0x50b2be['resolution']=_0x3988eb[_0x11e76c(0x154)],_0x50b2be[_0x11e76c(0x197)]=_0x3988eb[_0x11e76c(0x122)],_0x50b2be['browserstack.maskCommands']=_0x3988eb[_0x11e76c(0x17e)],_0x50b2be['browserstack.idleTimeout']=_0x3988eb[_0x11e76c(0x16c)],_0x50b2be[_0x11e76c(0x19d)]=_0x3988eb[_0x11e76c(0x13a)],_0x50b2be[_0x11e76c(0x13e)]=_0x3988eb[_0x11e76c(0x179)],_0x50b2be[_0x11e76c(0x11f)]=_0x3988eb['NZtpr'],_0x50b2be[_0x11e76c(0x15d)]=_0x3988eb[_0x11e76c(0x147)],_0x50b2be['browserstack.wsLocalSupport']=_0x3988eb['TpFmJ'],_0x50b2be[_0x11e76c(0x160)]=_0x3988eb[_0x11e76c(0x18a)],_0x50b2be['device']=_0x3988eb[_0x11e76c(0x135)],_0x50b2be[_0x11e76c(0x15c)]=_0x3988eb['iudDD'],_0x50b2be[_0x11e76c(0x182)]=_0x3988eb['MrjsI'],_0x50b2be['deviceOrientation']=_0x3988eb['tLONj'],_0x50b2be[_0x11e76c(0x16d)]=_0x3988eb[_0x11e76c(0x186)],_0x50b2be[_0x11e76c(0x121)]=_0x3988eb['tRAXZ'],_0x50b2be[_0x11e76c(0x159)]=_0x3988eb['bDdIV'],_0x50b2be[_0x11e76c(0x17b)]=_0x3988eb['noLnL'],_0x50b2be[_0x11e76c(0x156)]=_0x3988eb[_0x11e76c(0x17a)],_0x50b2be[_0x11e76c(0x15f)]=_0x3988eb['mVAMd'],_0x50b2be['browserstack.testhubBuildUuid']=_0x3988eb['cjsTf'],_0x50b2be[_0x11e76c(0x131)]=_0x3988eb[_0x11e76c(0x18b)],_0x50b2be[_0x11e76c(0x1a1)]=_0x3988eb[_0x11e76c(0x152)],_0x50b2be[_0x11e76c(0x18f)]=_0x3988eb[_0x11e76c(0x177)],_0x50b2be[_0x11e76c(0x141)]=_0x3988eb[_0x11e76c(0x18e)],_0x50b2be[_0x11e76c(0x148)]=_0x3988eb['yBgfk'],_0x50b2be[_0x11e76c(0x13b)]=_0x3988eb[_0x11e76c(0x123)],_0x50b2be[_0x11e76c(0x173)]=_0x3988eb[_0x11e76c(0x174)],_0x50b2be[_0x11e76c(0x184)]=_0x3988eb[_0x11e76c(0x13d)],_0x50b2be[_0x11e76c(0x16b)]=_0x3988eb['MvCcW'],_0x50b2be['browserstack.playwrightVersion']=_0x3988eb[_0x11e76c(0x16e)],_0x50b2be['browserstack.overridelocalInfo.userAuthToken']=_0x3988eb[_0x11e76c(0x150)],_0x50b2be['browserstack.overridelocalInfo.localIdentifier']=_0x3988eb['ZteGW'],_0x50b2be[_0x11e76c(0x149)]=_0x3988eb[_0x11e76c(0x139)],_0x50b2be[_0x11e76c(0x138)]=_0x3988eb[_0x11e76c(0x19c)],_0x50b2be;});
1
+ var a173_0xdcf3f=a173_0x3cec;function a173_0x3cec(_0x334f5a,_0x16b507){var _0x3e60c5=a173_0x3e60();return a173_0x3cec=function(_0x3cec86,_0x3cd239){_0x3cec86=_0x3cec86-0xfd;var _0x334729=_0x3e60c5[_0x3cec86];return _0x334729;},a173_0x3cec(_0x334f5a,_0x16b507);}function a173_0x3e60(){var _0x188ff9=['fgNnM','uploadMedia','browser','browserstack.networkLogsOptions','browserstack.networkProfile','browserstackSDK','oDvgt','7hdxQfi','Wqtpm','simOptions','gaavS','accessibilityOptions.includeIssueType.bestPractice','deviceOrientation','timezone','appiumLogs','hEPWB','BADAT','waYEI','vJeWc','RdlPJ','RddPE','project','gVvsN','customNetwork','seleniumLogs','browser_version','accessibilityOptions.wcagVersion','xjUfr','geoLocation','browserstack.performance','UvmRH','testhubBuildUuid','gAFyN','browserstack.appium_version','W3CMapping','ITNpz','wMXkv','projectName','sessionName','ppSqj','realMobile','browserVersion','browserstack.idleTimeout','qyyzM','maskBasicAuth','browserstack.maskCommands','4awrfgv','wvdUS','debug','SNQBm','seleniumVersion','sPVom','browserstack.buildProductMap','zwkVA','telemetryLogs','274121shEcQW','accessibilityOptions.scannerProcessingTimeout','rETvt','userName','networkLogs','idleTimeout','KJBQA','wTCsA','2JALRBE','BWHGm','enableSim','Ywtdv','build','browserstack.overridelocalInfo.userAuthToken','DazNH','browserstack.local','HZntj','overridelocalInfo.localIdentifier','browserstack.video','QtIZR','WgxlD','networkProfile','browserstack.telemetryLogs','Djbbr','dgrhZ','bfcache','overridelocalInfo.userAuthToken','resolution','accessibilityOptions.includeIssueType.needsReview','browserstack.user','browserstack.accessibilityOptions.scannerVersion','xTToU','disableCorsRestrictions','browserstack.buildIdentifier','lgKjm','MnchV','browserstack.networkLogs','1279158scKoLN','KGMoc','browserstack.playwrightVersion','browserstack.selenium_version','SbcIE','1370265DQjNQd','browserstack.use_w3c','appiumVersion','accessibility','browserstack.accessibilityOptions.wcagVersion','local','os_version','browserstack.timezone','hosts','5189796oXSZhA','dUusb','5720770HwesrT','cKmIE','TJsiY','GxkwX','browserstack.seleniumLogs','browserstack.simOptions','YDHKW','gHBzN','browserstack.wsLocalSupport','SFNKY','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.debug','browserstack.appiumLogs','maskCommands','video','OogTo','browserstack.browserstackSDK','performance','autoWait','oObdE','browserstack.uploadMedia','ffLyo','browserstack.hosts','browserstack.enableSim','headerParams','FiFKU','browserstack.bfcache','browserstack.customNetwork','3002885iLArEB','YbWXj','networkLogsOptions','browserstack.headerParams','huLhf','browserstack.console','browserstack.localIdentifier','browserstack.accessibility','QoAFr','browserstack.accessibilityOptions.includeIssueType.bestPractice','PBQIf','2443768jmRQmt','browserstack.autoWait','browserstack.accessibilityOptions.includeIssueType.needsReview','TZinY'];a173_0x3e60=function(){return _0x188ff9;};return a173_0x3e60();}(function(_0x285276,_0x27dd52){var _0x1258a8=a173_0x3cec,_0x188a28=_0x285276();while(!![]){try{var _0x22779c=-parseInt(_0x1258a8(0xfe))/0x1*(parseInt(_0x1258a8(0x106))/0x2)+-parseInt(_0x1258a8(0x128))/0x3+-parseInt(_0x1258a8(0x18c))/0x4*(parseInt(_0x1258a8(0x14f))/0x5)+parseInt(_0x1258a8(0x123))/0x6+parseInt(_0x1258a8(0x165))/0x7*(parseInt(_0x1258a8(0x15a))/0x8)+parseInt(_0x1258a8(0x131))/0x9+parseInt(_0x1258a8(0x133))/0xa;if(_0x22779c===_0x27dd52)break;else _0x188a28['push'](_0x188a28['shift']());}catch(_0x38f85c){_0x188a28['push'](_0x188a28['shift']());}}}(a173_0x3e60,0x5203c),exports[a173_0xdcf3f(0x180)]=()=>{var _0x28904c=a173_0xdcf3f,_0x5de1ef={};_0x5de1ef['PywTO']=_0x28904c(0x101),_0x5de1ef['KJBQA']='accessKey',_0x5de1ef['eiWre']='osVersion',_0x5de1ef['waYEI']=_0x28904c(0x160),_0x5de1ef[_0x28904c(0x111)]=_0x28904c(0x187),_0x5de1ef[_0x28904c(0x109)]='useW3c',_0x5de1ef[_0x28904c(0x166)]=_0x28904c(0x183),_0x5de1ef['ppSqj']='buildName',_0x5de1ef[_0x28904c(0x116)]=_0x28904c(0x184),_0x5de1ef['HZntj']=_0x28904c(0x12d),_0x5de1ef[_0x28904c(0x181)]='localIdentifier',_0x5de1ef['ffLyo']=_0x28904c(0x18e),_0x5de1ef[_0x28904c(0x150)]='consoleLogs',_0x5de1ef[_0x28904c(0x191)]=_0x28904c(0x102),_0x5de1ef[_0x28904c(0x134)]=_0x28904c(0x151),_0x5de1ef[_0x28904c(0x124)]=_0x28904c(0x16c),_0x5de1ef[_0x28904c(0x10c)]=_0x28904c(0x141),_0x5de1ef['GxkwX']=_0x28904c(0x176),_0x5de1ef[_0x28904c(0x16e)]=_0x28904c(0xfd),_0x5de1ef[_0x28904c(0x112)]=_0x28904c(0x17a),_0x5de1ef[_0x28904c(0x168)]=_0x28904c(0x16b),_0x5de1ef[_0x28904c(0x13c)]=_0x28904c(0x119),_0x5de1ef['fgNnM']=_0x28904c(0x190),_0x5de1ef[_0x28904c(0x182)]=_0x28904c(0x140),_0x5de1ef['xTToU']=_0x28904c(0x103),_0x5de1ef[_0x28904c(0x15d)]=_0x28904c(0x18a),_0x5de1ef[_0x28904c(0x164)]=_0x28904c(0x145),_0x5de1ef[_0x28904c(0x153)]=_0x28904c(0x130),_0x5de1ef[_0x28904c(0x159)]=_0x28904c(0x117),_0x5de1ef[_0x28904c(0x16d)]='wsLocalSupport',_0x5de1ef[_0x28904c(0x193)]=_0x28904c(0x11e),_0x5de1ef[_0x28904c(0x14c)]='deviceName',_0x5de1ef[_0x28904c(0x157)]=_0x28904c(0x186),_0x5de1ef[_0x28904c(0x171)]=_0x28904c(0x12a),_0x5de1ef[_0x28904c(0x120)]=_0x28904c(0x16a),_0x5de1ef[_0x28904c(0x18f)]=_0x28904c(0x175),_0x5de1ef[_0x28904c(0x18d)]=_0x28904c(0x113),_0x5de1ef[_0x28904c(0x135)]='buildIdentifier',_0x5de1ef['gVvsN']=_0x28904c(0x163),_0x5de1ef['gAFyN']=_0x28904c(0x12b),_0x5de1ef['OogTo']='buildProductMap',_0x5de1ef['xjUfr']=_0x28904c(0x17d),_0x5de1ef[_0x28904c(0x189)]=_0x28904c(0x178),_0x5de1ef[_0x28904c(0x172)]='accessibilityOptions.scannerVersion',_0x5de1ef[_0x28904c(0x127)]=_0x28904c(0xff),_0x5de1ef[_0x28904c(0x139)]=_0x28904c(0x169),_0x5de1ef[_0x28904c(0x105)]=_0x28904c(0x11a),_0x5de1ef[_0x28904c(0x17c)]='accessibilityOptions.authToken',_0x5de1ef[_0x28904c(0x146)]=_0x28904c(0x15f),_0x5de1ef[_0x28904c(0x115)]=_0x28904c(0x108),_0x5de1ef[_0x28904c(0x100)]=_0x28904c(0x167),_0x5de1ef[_0x28904c(0x13a)]='playwrightVersion',_0x5de1ef['BWHGm']=_0x28904c(0x118),_0x5de1ef[_0x28904c(0x132)]=_0x28904c(0x10f),_0x5de1ef['vJeWc']=_0x28904c(0x14b),_0x5de1ef[_0x28904c(0x121)]=_0x28904c(0x144);var _0x415bc4=_0x5de1ef,_0x4d3c76={};return _0x4d3c76[_0x28904c(0x11b)]=_0x415bc4['PywTO'],_0x4d3c76['browserstack.key']=_0x415bc4[_0x28904c(0x104)],_0x4d3c76['os']='os',_0x4d3c76[_0x28904c(0x12e)]=_0x415bc4['eiWre'],_0x4d3c76[_0x28904c(0x160)]=_0x415bc4[_0x28904c(0x16f)],_0x4d3c76[_0x28904c(0x177)]=_0x415bc4[_0x28904c(0x111)],_0x4d3c76[_0x28904c(0x129)]=_0x415bc4['Ywtdv'],_0x4d3c76[_0x28904c(0x173)]=_0x415bc4[_0x28904c(0x166)],_0x4d3c76[_0x28904c(0x10a)]=_0x415bc4[_0x28904c(0x185)],_0x4d3c76['name']=_0x415bc4[_0x28904c(0x116)],_0x4d3c76[_0x28904c(0x10d)]=_0x415bc4[_0x28904c(0x10e)],_0x4d3c76[_0x28904c(0x155)]=_0x415bc4[_0x28904c(0x181)],_0x4d3c76[_0x28904c(0x13e)]=_0x415bc4[_0x28904c(0x148)],_0x4d3c76[_0x28904c(0x154)]=_0x415bc4['YbWXj'],_0x4d3c76[_0x28904c(0x122)]=_0x415bc4[_0x28904c(0x191)],_0x4d3c76[_0x28904c(0x161)]=_0x415bc4['cKmIE'],_0x4d3c76[_0x28904c(0x13f)]=_0x415bc4[_0x28904c(0x124)],_0x4d3c76[_0x28904c(0x110)]=_0x415bc4[_0x28904c(0x10c)],_0x4d3c76[_0x28904c(0x137)]=_0x415bc4[_0x28904c(0x136)],_0x4d3c76[_0x28904c(0x114)]=_0x415bc4[_0x28904c(0x16e)],_0x4d3c76['browserstack.geoLocation']=_0x415bc4['WgxlD'],_0x4d3c76[_0x28904c(0x12f)]=_0x415bc4[_0x28904c(0x168)],_0x4d3c76['resolution']=_0x415bc4[_0x28904c(0x13c)],_0x4d3c76[_0x28904c(0x126)]=_0x415bc4[_0x28904c(0x15e)],_0x4d3c76[_0x28904c(0x18b)]=_0x415bc4[_0x28904c(0x182)],_0x4d3c76[_0x28904c(0x188)]=_0x415bc4[_0x28904c(0x11d)],_0x4d3c76['browserstack.maskBasicAuth']=_0x415bc4[_0x28904c(0x15d)],_0x4d3c76[_0x28904c(0x15b)]=_0x415bc4[_0x28904c(0x164)],_0x4d3c76[_0x28904c(0x149)]=_0x415bc4['huLhf'],_0x4d3c76[_0x28904c(0x14d)]=_0x415bc4[_0x28904c(0x159)],_0x4d3c76[_0x28904c(0x13b)]=_0x415bc4['hEPWB'],_0x4d3c76['browserstack.disableCorsRestrictions']=_0x415bc4[_0x28904c(0x193)],_0x4d3c76['device']=_0x415bc4[_0x28904c(0x14c)],_0x4d3c76[_0x28904c(0x186)]=_0x415bc4[_0x28904c(0x157)],_0x4d3c76[_0x28904c(0x17f)]=_0x415bc4[_0x28904c(0x171)],_0x4d3c76[_0x28904c(0x16a)]=_0x415bc4[_0x28904c(0x120)],_0x4d3c76[_0x28904c(0x14e)]=_0x415bc4[_0x28904c(0x18f)],_0x4d3c76[_0x28904c(0x162)]=_0x415bc4['wvdUS'],_0x4d3c76[_0x28904c(0x11f)]=_0x415bc4[_0x28904c(0x135)],_0x4d3c76[_0x28904c(0x143)]=_0x415bc4[_0x28904c(0x174)],_0x4d3c76[_0x28904c(0x156)]=_0x415bc4[_0x28904c(0x17e)],_0x4d3c76[_0x28904c(0x192)]=_0x415bc4[_0x28904c(0x142)],_0x4d3c76['browserstack.testhubBuildUuid']=_0x415bc4[_0x28904c(0x179)],_0x4d3c76[_0x28904c(0x12c)]=_0x415bc4[_0x28904c(0x189)],_0x4d3c76[_0x28904c(0x11c)]=_0x415bc4[_0x28904c(0x172)],_0x4d3c76[_0x28904c(0x13d)]=_0x415bc4[_0x28904c(0x127)],_0x4d3c76[_0x28904c(0x158)]=_0x415bc4[_0x28904c(0x139)],_0x4d3c76[_0x28904c(0x15c)]=_0x415bc4[_0x28904c(0x105)],_0x4d3c76['browserstack.accessibilityOptions.authToken']=_0x415bc4[_0x28904c(0x17c)],_0x4d3c76[_0x28904c(0x147)]=_0x415bc4[_0x28904c(0x146)],_0x4d3c76[_0x28904c(0x14a)]=_0x415bc4[_0x28904c(0x115)],_0x4d3c76[_0x28904c(0x138)]=_0x415bc4[_0x28904c(0x100)],_0x4d3c76[_0x28904c(0x125)]=_0x415bc4[_0x28904c(0x13a)],_0x4d3c76[_0x28904c(0x10b)]=_0x415bc4[_0x28904c(0x107)],_0x4d3c76['browserstack.overridelocalInfo.localIdentifier']=_0x415bc4[_0x28904c(0x132)],_0x4d3c76[_0x28904c(0x152)]=_0x415bc4[_0x28904c(0x170)],_0x4d3c76[_0x28904c(0x17b)]=_0x415bc4['MnchV'],_0x4d3c76;});
@@ -1 +1 @@
1
- const a174_0xe68b52=a174_0x20bb;function a174_0x5c8b(){const _0x1ada24=['GET','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','mMrYp','GPGmF','util','all','AsUgw','410iUWZNl','getGlobal','./helpers/globals','zFxwO','./bin/utils/constants','https://','format','czHBv','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','1115304RhVWvG','\x20HUB\x20-\x20','KdcgI','nextHubs','kiAYW','oOEMV','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','Execution\x20time\x20for\x20','imLCO','Invalid\x20new\x20HUB\x20URL:\x20','path','PZfSQ','fulfilled','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','Response:\x20','url','delete','HUB_URL_MAP','value','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','JucvN','hubs','CKsjT','consumeHubUrlForSession','IasYg','16353RkVtvA','nuOAI','set','winstonLogger','YBYyL','allSettled','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','/wd/hub','./helpers/helper','has','285DARVnH','map','2392yKSfpS','setGlobal','MhJcW','oKpbp','132011dsOCcE','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','ERROR\x20in\x20hub\x20selection:\x20','hubRegion','allocateHub','catch','NEAREST\x20HUBS\x20LIST:\x20','1930397dmAsUA','hash','_hubAllocationData','GqxFa','latency','6870588hxujMC','RBIlj','EUyug','DTiwr','hostname','WHCCB','now','XSaHF','next_hubs','data','qXHfg','FLWyY','1564100knMLHY','debug','findLatency','then','lMipp','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','check','nodeRequest','race','hubRegion\x20','hubUrl','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','replace','tJvNi','skipped','QzqIe','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','ZejOg','newHubUrlBySession','Fuocx','ekVLe','HUB\x20URL\x20SET\x20TO\x20-\x20','15flLqGN','search','kTWZj','1450FHlzKm'];a174_0x5c8b=function(){return _0x1ada24;};return a174_0x5c8b();}(function(_0x49c770,_0x2ab7ba){const _0x10fc5c=a174_0x20bb,_0x522e8a=_0x49c770();while(!![]){try{const _0x574294=parseInt(_0x10fc5c(0xdf))/0x1+parseInt(_0x10fc5c(0xce))/0x2*(parseInt(_0x10fc5c(0x102))/0x3)+-parseInt(_0x10fc5c(0xb5))/0x4*(-parseInt(_0x10fc5c(0xcb))/0x5)+-parseInt(_0x10fc5c(0xa9))/0x6+-parseInt(_0x10fc5c(0x10f))/0x7+parseInt(_0x10fc5c(0x104))/0x8*(-parseInt(_0x10fc5c(0xf8))/0x9)+-parseInt(_0x10fc5c(0xd6))/0xa*(-parseInt(_0x10fc5c(0x108))/0xb);if(_0x574294===_0x2ab7ba)break;else _0x522e8a['push'](_0x522e8a['shift']());}catch(_0x41a82e){_0x522e8a['push'](_0x522e8a['shift']());}}}(a174_0x5c8b,0xd8197));function a174_0x20bb(_0x2039d2,_0x3adcf0){const _0x5c8b4f=a174_0x5c8b();return a174_0x20bb=function(_0x20bb9e,_0x1de8b2){_0x20bb9e=_0x20bb9e-0xa6;let _0x16d087=_0x5c8b4f[_0x20bb9e];return _0x16d087;},a174_0x20bb(_0x2039d2,_0x3adcf0);}const url=require(a174_0xe68b52(0xee)),util=require(a174_0xe68b52(0xd3)),helper=require(a174_0xe68b52(0x100)),logger=require('./helpers/logger')[a174_0xe68b52(0xfb)],constants=require(a174_0xe68b52(0xda)),globals=require(a174_0xe68b52(0xd8));global['newHubUrlBySession']=global[a174_0xe68b52(0xc7)]||new Map(),exports['getRequestOptions']=_0x3c7dd8=>{const _0x10328f=a174_0xe68b52,_0x1cfb68={};_0x1cfb68[_0x10328f(0xe4)]=function(_0x393e73,_0x5677ef){return _0x393e73+_0x5677ef;},_0x1cfb68['QzqIe']=_0x10328f(0xe8);const _0x37716d=_0x1cfb68,_0x3f4316=url['parse'](_0x3c7dd8);if(!_0x3f4316[_0x10328f(0xad)])throw new Error(_0x37716d[_0x10328f(0xe4)](_0x37716d[_0x10328f(0xc4)],_0x3c7dd8));return _0x3f4316[_0x10328f(0xcc)]=null,_0x3f4316[_0x10328f(0x110)]=null,_0x3f4316[_0x10328f(0xe9)]=_0x3f4316['pathname'],_0x3f4316;},exports['updateHubUrl']=(_0x46769a,_0x5881f3)=>{const _0x372df3=a174_0xe68b52,_0x29f992={};_0x29f992[_0x372df3(0xfc)]=_0x372df3(0xc0);const _0xcecaab=_0x29f992;if(!_0x5881f3){logger['debug'](_0xcecaab[_0x372df3(0xfc)]);return;}global['newHubUrlBySession'][_0x372df3(0xfa)](_0x5881f3,_0x46769a);},exports[a174_0xe68b52(0xf6)]=_0x4ff1ae=>{const _0x31c77f=a174_0xe68b52;if(_0x4ff1ae&&global['newHubUrlBySession'][_0x31c77f(0x101)](_0x4ff1ae)){const _0x3a793d=global[_0x31c77f(0xc7)]['get'](_0x4ff1ae);return global[_0x31c77f(0xc7)][_0x31c77f(0xef)](_0x4ff1ae),_0x3a793d;}return'';},exports[a174_0xe68b52(0x10c)]=_0x5c2030=>{const _0x29d823=a174_0xe68b52,_0x465a8a={'nuOAI':function(_0x161756,_0x512bfa){return _0x161756!==_0x512bfa;},'DTiwr':function(_0x7f9aa8,_0x46162e){return _0x7f9aa8+_0x46162e;},'ZejOg':'https://','tJvNi':function(_0x536cd8,_0x361c5d){return _0x536cd8==_0x361c5d;},'qXHfg':function(_0x45012f,_0x3c203b){return _0x45012f===_0x3c203b;},'imLCO':function(_0x260e64){return _0x260e64();},'JucvN':function(_0x586776){return _0x586776();},'kiAYW':_0x29d823(0xa6),'czHBv':_0x29d823(0xeb),'KdcgI':_0x29d823(0xba),'GPGmF':_0x29d823(0xff),'lMipp':function(_0x1a7d82){return _0x1a7d82();}};return new Promise(_0x233e8a=>{const _0x3fbd87=_0x29d823,_0x4f5851={'AsUgw':_0x465a8a[_0x3fbd87(0xe3)],'FLWyY':function(_0x5012e9,_0x384185){const _0x318165=_0x3fbd87;return _0x465a8a[_0x318165(0xb3)](_0x5012e9,_0x384185);},'mMrYp':_0x465a8a[_0x3fbd87(0xdd)],'zFxwO':_0x465a8a[_0x3fbd87(0xe1)],'GqxFa':function(_0x5e2fbb,_0x1330ee){const _0x53c3dd=_0x3fbd87;return _0x465a8a[_0x53c3dd(0xac)](_0x5e2fbb,_0x1330ee);},'AviXp':_0x465a8a[_0x3fbd87(0xc6)],'oKpbp':_0x465a8a[_0x3fbd87(0xd2)],'RBIlj':function(_0x5ca4a1){return _0x465a8a['lMipp'](_0x5ca4a1);},'EUyug':function(_0x5b42f4){return _0x465a8a['imLCO'](_0x5b42f4);}};if(_0x5c2030&&_0x5c2030['hubRegion']){const _0x404a1e=constants[_0x3fbd87(0xf0)][_0x5c2030[_0x3fbd87(0x10b)]];if(_0x404a1e)return constants[_0x3fbd87(0xbf)]=_0x404a1e,logger[_0x3fbd87(0xb6)](_0x3fbd87(0xc5)+_0x404a1e),globals['setGlobal'](_0x465a8a[_0x3fbd87(0xe3)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x404a1e[_0x3fbd87(0xc1)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x3fbd87(0xaf)]()}),_0x465a8a[_0x3fbd87(0xb9)](_0x233e8a);logger[_0x3fbd87(0xb6)](_0x3fbd87(0xbe)+_0x5c2030[_0x3fbd87(0x10b)]+_0x3fbd87(0xfe));}Promise['resolve'](this[_0x3fbd87(0xe2)](_0x5c2030))[_0x3fbd87(0xb8)](_0x446635=>{const _0x25c266=_0x3fbd87,_0x25b8ea={'wrJxq':function(_0x472f28,_0x4dcf0f){const _0x3ba263=a174_0x20bb;return _0x465a8a[_0x3ba263(0xf9)](_0x472f28,_0x4dcf0f);},'vlLJw':function(_0x55ef5d,_0x3208df){const _0x4ae520=a174_0x20bb;return _0x465a8a[_0x4ae520(0xac)](_0x55ef5d,_0x3208df);},'atNPz':_0x465a8a['ZejOg']};logger[_0x25c266(0xb6)](_0x25c266(0x10e)+util['format']('%j',_0x446635));if(_0x465a8a[_0x25c266(0xc2)](_0x446635,null)||_0x465a8a[_0x25c266(0xb3)](_0x446635['length'],0x0))return _0x465a8a[_0x25c266(0xe7)](_0x233e8a);const _0x24fff2=_0x446635['map'](_0x50f964=>{const _0xb1403c=_0x25c266,_0xd704e4=_0x25b8ea['vlLJw'](_0x25b8ea['atNPz'],_0x50f964);return this[_0xb1403c(0xb7)](_0x5c2030,_0xd704e4)['then'](_0x18b914=>{const _0x258bc8=_0xb1403c;if(_0x18b914&&_0x18b914['hubUrl']&&_0x25b8ea['wrJxq'](_0x18b914[_0x258bc8(0xa8)],undefined)){const _0x2d6346={};return _0x2d6346[_0x258bc8(0xbf)]=_0x18b914[_0x258bc8(0xbf)],_0x2d6346['latency']=_0x18b914['latency'],_0x2d6346['ok']=!![],_0x2d6346;}const _0x91d7fc={};return _0x91d7fc['hubUrl']=_0xd704e4,_0x91d7fc[_0x258bc8(0xa8)]=null,_0x91d7fc['ok']=![],_0x91d7fc;})[_0xb1403c(0x10d)](()=>({'hubUrl':_0xd704e4,'latency':null,'ok':![]}));});Promise[_0x25c266(0xbd)](_0x24fff2[_0x25c266(0x103)](_0x4427b5=>_0x4427b5[_0x25c266(0xb8)](_0x64bede=>_0x64bede['ok']?_0x64bede:null)))['then'](_0x442b73=>{const _0x5752c0=_0x25c266;if(_0x442b73)return _0x442b73;return Promise[_0x5752c0(0xd4)](_0x24fff2)[_0x5752c0(0xb8)](()=>null);})[_0x25c266(0xb8)](_0x194ad2=>{const _0x51161d=_0x25c266,_0x4c7448={'ekVLe':_0x4f5851[_0x51161d(0xd5)],'DTDSV':function(_0x3b86e6,_0x289c9b){const _0x3c4356=_0x51161d;return _0x4f5851[_0x3c4356(0xb4)](_0x3b86e6,_0x289c9b);},'MhJcW':_0x4f5851[_0x51161d(0xd1)]};if(!_0x194ad2){logger['debug'](_0x4f5851[_0x51161d(0xd9)]);const _0x129ca0=_0x4f5851['GqxFa'](_0x4f5851['AviXp'],_0x446635[0x0]);return globals['setGlobal'](_0x4f5851['AsUgw'],{'nearestHubs':_0x446635[_0x51161d(0x103)](_0x367e4e=>'https://'+_0x367e4e),'hubLatencies':{},'selectedHub':_0x129ca0,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x51161d(0xaf)]()}),constants[_0x51161d(0xbf)]=_0x4f5851[_0x51161d(0xa7)](_0x129ca0,_0x4f5851[_0x51161d(0x107)]),logger['debug'](_0x51161d(0xe5)+_0x129ca0),_0x4f5851['RBIlj'](_0x233e8a);}const _0x25fa8f={[_0x194ad2[_0x51161d(0xbf)]]:_0x194ad2['latency']},_0x17fdb9={'nearestHubs':_0x446635[_0x51161d(0x103)](_0x2a8cd8=>_0x51161d(0xdb)+_0x2a8cd8),'hubLatencies':_0x25fa8f,'selectedHub':_0x194ad2['hubUrl'],'selectedHubLatency':_0x194ad2['latency'],'timestamp':Date[_0x51161d(0xaf)]()};globals[_0x51161d(0x105)](_0x4f5851[_0x51161d(0xd5)],_0x17fdb9),constants[_0x51161d(0xbf)]=_0x4f5851['GqxFa'](_0x194ad2['hubUrl'],_0x4f5851[_0x51161d(0x107)]),logger[_0x51161d(0xb6)](_0x51161d(0xca)+_0x194ad2[_0x51161d(0xbf)]),_0x4f5851[_0x51161d(0xab)](_0x233e8a),Promise[_0x51161d(0xfd)](_0x24fff2)[_0x51161d(0xb8)](_0x31ac92=>{const _0x5e364f=_0x51161d;try{const _0x407537=globals[_0x5e364f(0xd7)](_0x4c7448[_0x5e364f(0xc9)]);if(!_0x407537||_0x407537[_0x5e364f(0xc3)])return;const _0x573d09={};for(const _0x2fceab of _0x31ac92){_0x4c7448['DTDSV'](_0x2fceab['status'],_0x4c7448[_0x5e364f(0x106)])&&_0x2fceab[_0x5e364f(0xf1)]&&_0x2fceab[_0x5e364f(0xf1)]['ok']&&(_0x573d09[_0x2fceab[_0x5e364f(0xf1)][_0x5e364f(0xbf)]]=_0x2fceab[_0x5e364f(0xf1)]['latency']);}_0x407537['hubLatencies']=_0x573d09;}catch(_0x2b1dc4){logger['debug'](_0x5e364f(0xde)+_0x2b1dc4);}})[_0x51161d(0x10d)](_0x3bc067=>{const _0xb17a6c=_0x51161d;logger[_0xb17a6c(0xb6)](_0xb17a6c(0xec)+_0x3bc067);});})[_0x25c266(0x10d)](_0x2ae791=>{const _0x2c84af=_0x25c266;logger['debug'](_0x2c84af(0x10a)+_0x2ae791),_0x4f5851[_0x2c84af(0xaa)](_0x233e8a);});})[_0x3fbd87(0x10d)](_0x5df0d9=>{const _0xfa2509=_0x3fbd87;logger['debug'](_0xfa2509(0xf2)+_0x5df0d9),_0x465a8a[_0xfa2509(0xf3)](_0x233e8a);});});},exports[a174_0xe68b52(0xb7)]=async(_0xff1b05,_0x3c9aad)=>{const _0x2169e3=a174_0xe68b52,_0x5db1cd={};_0x5db1cd[_0x2169e3(0xf5)]=_0x2169e3(0xcf),_0x5db1cd[_0x2169e3(0xcd)]=_0x2169e3(0xbb),_0x5db1cd[_0x2169e3(0xea)]=function(_0x7fe0a9,_0x1e7c35){return _0x7fe0a9-_0x1e7c35;};const _0x3d0bed=_0x5db1cd;try{const _0x59e093=new Date();await helper[_0x2169e3(0xbc)](_0x3d0bed[_0x2169e3(0xf5)],_0x3d0bed['kTWZj'],{},_0xff1b05,_0x3c9aad,0x1388);const _0x4d0bb8=_0x3d0bed[_0x2169e3(0xea)](new Date(),_0x59e093);logger[_0x2169e3(0xb6)](_0x2169e3(0xe6)+_0x3c9aad+'\x20is:\x20'+_0x4d0bb8+'ms');const _0x2a6bba={};return _0x2a6bba['hubUrl']=_0x3c9aad,_0x2a6bba[_0x2169e3(0xa8)]=_0x4d0bb8,_0x2a6bba;}catch(_0x48d650){return logger['debug'](_0x2169e3(0x109)+_0x3c9aad+_0x2169e3(0xe0)+_0x48d650),{};}},exports['nextHubs']=async _0x147e53=>{const _0x34b998=a174_0xe68b52,_0x1d4a01={'XSaHF':function(_0xc7348a,_0xca9a0f){return _0xc7348a(_0xca9a0f);},'WHCCB':_0x34b998(0xda),'IasYg':_0x34b998(0xff),'bxqdr':_0x34b998(0xcf),'Fuocx':_0x34b998(0xb1)};try{const _0x39fef8=_0x1d4a01[_0x34b998(0xb0)](require,_0x1d4a01[_0x34b998(0xae)])[_0x34b998(0xbf)][_0x34b998(0xc1)](_0x1d4a01[_0x34b998(0xf7)],''),_0x92ec73=await helper[_0x34b998(0xbc)](_0x1d4a01['bxqdr'],_0x1d4a01[_0x34b998(0xc8)],{},_0x147e53,_0x39fef8,0x1388),_0x5a52df=_0x92ec73[_0x34b998(0xb2)];return logger['debug'](_0x34b998(0xed)+util[_0x34b998(0xdc)]('%j',_0x5a52df)),_0x5a52df[_0x34b998(0xf4)];}catch(_0x58e902){logger[_0x34b998(0xb6)](_0x34b998(0xd0)+_0x58e902);}return null;};
1
+ const a174_0x4af2eb=a174_0x255c;function a174_0x33d7(){const _0x5bd9f2=['uxkSG','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','hubs','skipped','path','vHWCv','catch','./bin/utils/constants','resolve','HUB\x20URL\x20SET\x20TO\x20-\x20','KeGnj','hdfQP','nextHubs','YNpdp','PguTc','latency','hubLatencies','Lwskm','UJlgo','check','status','3213016PPQgth','1146581dscpEL','AyNRb','DgRtF','fELFE','Invalid\x20new\x20HUB\x20URL:\x20','rRebx','/wd/hub','tCQDR','hubUrl','2097aSoyPO','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','FXPIU','get','winstonLogger','xRCMP','pLgZk','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','JJFya','vGdfT','./helpers/globals','BISxI','./helpers/helper','mJatb','newHubUrlBySession','findLatency','set','delete','data','replace','eBWzu','VgBcK','DBIiV','setGlobal','wSYaS','FWmNf','eoQvw','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','AHsQb','https://','89310YEKLJV','format','pathname','DuviQ','./helpers/logger','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','IpPxU','has','allocateHub','search','4820580AIPpLX','CvRzo','value','zNdcn','bxEDG','\x20is:\x20','hubRegion\x20','debug','url','all','then','Response:\x20','ciCfB','OUVOH','util','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','FZgoJ','map','updateHubUrl','oXDbi','3eViABh','ptsEi','now','UPkRq','_hubAllocationData','parse','3926538qmBovF','xEjzT','2rlnRJf','hash','VaMhH','4914750iGQtnA','DsGMe','hubRegion','nodeRequest','GET','miQlV','7786448MNBPYT'];a174_0x33d7=function(){return _0x5bd9f2;};return a174_0x33d7();}(function(_0xfa54b8,_0x5c4851){const _0x326741=a174_0x255c,_0x5cfae3=_0xfa54b8();while(!![]){try{const _0x3efe14=parseInt(_0x326741(0x10f))/0x1*(parseInt(_0x326741(0xef))/0x2)+parseInt(_0x326741(0xe7))/0x3*(parseInt(_0x326741(0x10e))/0x4)+-parseInt(_0x326741(0xf2))/0x5+-parseInt(_0x326741(0xd3))/0x6+-parseInt(_0x326741(0xed))/0x7+-parseInt(_0x326741(0xf8))/0x8+parseInt(_0x326741(0x118))/0x9*(parseInt(_0x326741(0xc9))/0xa);if(_0x3efe14===_0x5c4851)break;else _0x5cfae3['push'](_0x5cfae3['shift']());}catch(_0xe946b5){_0x5cfae3['push'](_0x5cfae3['shift']());}}}(a174_0x33d7,0xad5fa));function a174_0x255c(_0x32e8ce,_0x2aa167){const _0x33d7cb=a174_0x33d7();return a174_0x255c=function(_0x255cde,_0x24374b){_0x255cde=_0x255cde-0xae;let _0x21147e=_0x33d7cb[_0x255cde];return _0x21147e;},a174_0x255c(_0x32e8ce,_0x2aa167);}const url=require(a174_0x4af2eb(0xdb)),util=require(a174_0x4af2eb(0xe1)),helper=require(a174_0x4af2eb(0xb7)),logger=require(a174_0x4af2eb(0xcd))[a174_0x4af2eb(0xae)],constants=require(a174_0x4af2eb(0x100)),globals=require(a174_0x4af2eb(0xb5));global[a174_0x4af2eb(0xb9)]=global[a174_0x4af2eb(0xb9)]||new Map(),exports['getRequestOptions']=_0xa862fb=>{const _0x211391=a174_0x4af2eb,_0x2d7f91={};_0x2d7f91['UJlgo']=function(_0x2de2cb,_0x1c3817){return _0x2de2cb+_0x1c3817;},_0x2d7f91[_0x211391(0xe8)]=_0x211391(0x113);const _0x22d888=_0x2d7f91,_0x281d84=url[_0x211391(0xec)](_0xa862fb);if(!_0x281d84['hostname'])throw new Error(_0x22d888[_0x211391(0x10b)](_0x22d888[_0x211391(0xe8)],_0xa862fb));return _0x281d84[_0x211391(0xd2)]=null,_0x281d84[_0x211391(0xf0)]=null,_0x281d84[_0x211391(0xfd)]=_0x281d84[_0x211391(0xcb)],_0x281d84;},exports[a174_0x4af2eb(0xe5)]=(_0x40e21d,_0x22e3f4)=>{const _0x54fb72=a174_0x4af2eb,_0x3d540e={};_0x3d540e[_0x54fb72(0x114)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x284c0f=_0x3d540e;if(!_0x22e3f4){logger[_0x54fb72(0xda)](_0x284c0f[_0x54fb72(0x114)]);return;}global[_0x54fb72(0xb9)][_0x54fb72(0xbb)](_0x22e3f4,_0x40e21d);},exports['consumeHubUrlForSession']=_0x2d95d9=>{const _0x32b7c1=a174_0x4af2eb;if(_0x2d95d9&&global['newHubUrlBySession'][_0x32b7c1(0xd0)](_0x2d95d9)){const _0x391d29=global[_0x32b7c1(0xb9)][_0x32b7c1(0x11b)](_0x2d95d9);return global[_0x32b7c1(0xb9)][_0x32b7c1(0xbc)](_0x2d95d9),_0x391d29;}return'';},exports[a174_0x4af2eb(0xd1)]=_0x6a1745=>{const _0x44c3c6=a174_0x4af2eb,_0x496efc={'eoQvw':_0x44c3c6(0xeb),'eBWzu':function(_0xa11771,_0x22c9a1){return _0xa11771===_0x22c9a1;},'AyNRb':'fulfilled','rHErW':_0x44c3c6(0x119),'tCQDR':function(_0x1c3ed6,_0x54eaf6){return _0x1c3ed6+_0x54eaf6;},'VaMhH':'https://','OUVOH':function(_0x326e79,_0x4ad51a){return _0x326e79+_0x4ad51a;},'VgBcK':'/wd/hub','DuviQ':function(_0x3d6815){return _0x3d6815();},'miQlV':function(_0x4cbfd4,_0x440b89){return _0x4cbfd4+_0x440b89;},'FZgoJ':function(_0x3dc6ba){return _0x3dc6ba();},'uxkSG':function(_0x5f3f54,_0x213584){return _0x5f3f54==_0x213584;},'FXPIU':function(_0x381712,_0x29a64a){return _0x381712===_0x29a64a;},'fELFE':function(_0x2ceb64,_0x2940bf){return _0x2ceb64!==_0x2940bf;},'oXDbi':function(_0x36752c,_0x750d25){return _0x36752c+_0x750d25;}};return new Promise(_0x5f0ed5=>{const _0x9ef778=_0x44c3c6,_0x41e521={'YNpdp':function(_0x36aa0f,_0x8ee96d){const _0x3f13fd=a174_0x255c;return _0x496efc[_0x3f13fd(0x112)](_0x36aa0f,_0x8ee96d);},'wSYaS':function(_0x40358c,_0x5295a4){const _0x7b3de=a174_0x255c;return _0x496efc[_0x7b3de(0xe6)](_0x40358c,_0x5295a4);},'CvRzo':_0x496efc[_0x9ef778(0xf1)],'pLgZk':function(_0x2d2d20){const _0x11f2d7=_0x9ef778;return _0x496efc[_0x11f2d7(0xcc)](_0x2d2d20);}};if(_0x6a1745&&_0x6a1745[_0x9ef778(0xf4)]){const _0x42ebb7=constants['HUB_URL_MAP'][_0x6a1745['hubRegion']];if(_0x42ebb7)return constants[_0x9ef778(0x117)]=_0x42ebb7,logger['debug'](_0x9ef778(0xc6)+_0x42ebb7),globals['setGlobal'](_0x496efc[_0x9ef778(0xc5)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x42ebb7[_0x9ef778(0xbe)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x9ef778(0xe9)]()}),_0x496efc[_0x9ef778(0xcc)](_0x5f0ed5);logger[_0x9ef778(0xda)](_0x9ef778(0xd9)+_0x6a1745[_0x9ef778(0xf4)]+_0x9ef778(0xfa));}Promise[_0x9ef778(0x101)](this[_0x9ef778(0x105)](_0x6a1745))[_0x9ef778(0xdd)](_0xddd8cc=>{const _0xfa30c6=_0x9ef778,_0x35186c={'DsGMe':_0x496efc['eoQvw'],'vCJne':function(_0x596e6d,_0x54fe80){const _0xedcf12=a174_0x255c;return _0x496efc[_0xedcf12(0xbf)](_0x596e6d,_0x54fe80);},'KeGnj':_0x496efc[_0xfa30c6(0x110)],'DgRtF':_0x496efc['rHErW'],'vGdfT':function(_0x4bb1cc,_0x5b906a){const _0x128e9b=_0xfa30c6;return _0x496efc[_0x128e9b(0x116)](_0x4bb1cc,_0x5b906a);},'GnHCV':_0x496efc[_0xfa30c6(0xf1)],'zNdcn':function(_0x539e9a,_0x4a4986){const _0x48289b=_0xfa30c6;return _0x496efc[_0x48289b(0xe0)](_0x539e9a,_0x4a4986);},'hdfQP':_0x496efc[_0xfa30c6(0xc0)],'ciCfB':function(_0x131933){const _0x1a75e7=_0xfa30c6;return _0x496efc[_0x1a75e7(0xcc)](_0x131933);},'AHsQb':function(_0x174cf3,_0x45fdc2){const _0x3e8b45=_0xfa30c6;return _0x496efc[_0x3e8b45(0xf7)](_0x174cf3,_0x45fdc2);},'yoLsv':function(_0x28a1cf){const _0x3cf386=_0xfa30c6;return _0x496efc[_0x3cf386(0xcc)](_0x28a1cf);},'PguTc':function(_0x1f6da1){const _0x239445=_0xfa30c6;return _0x496efc[_0x239445(0xe3)](_0x1f6da1);}};logger[_0xfa30c6(0xda)]('NEAREST\x20HUBS\x20LIST:\x20'+util['format']('%j',_0xddd8cc));if(_0x496efc[_0xfa30c6(0xf9)](_0xddd8cc,null)||_0x496efc[_0xfa30c6(0x11a)](_0xddd8cc['length'],0x0))return _0x496efc[_0xfa30c6(0xcc)](_0x5f0ed5);const _0x3239b4=_0xddd8cc[_0xfa30c6(0xe4)](_0x4e000d=>{const _0x2f50a8=_0xfa30c6,_0x26db2d={'xRCMP':function(_0x58ec63,_0xde90ee){const _0x21fd54=a174_0x255c;return _0x41e521[_0x21fd54(0x106)](_0x58ec63,_0xde90ee);}},_0x28b573=_0x41e521[_0x2f50a8(0xc3)](_0x41e521[_0x2f50a8(0xd4)],_0x4e000d);return this[_0x2f50a8(0xba)](_0x6a1745,_0x28b573)['then'](_0x11dad9=>{const _0xfafb=_0x2f50a8;if(_0x11dad9&&_0x11dad9[_0xfafb(0x117)]&&_0x26db2d[_0xfafb(0xaf)](_0x11dad9[_0xfafb(0x108)],undefined)){const _0x157d31={};return _0x157d31[_0xfafb(0x117)]=_0x11dad9[_0xfafb(0x117)],_0x157d31[_0xfafb(0x108)]=_0x11dad9[_0xfafb(0x108)],_0x157d31['ok']=!![],_0x157d31;}const _0x2247f2={};return _0x2247f2['hubUrl']=_0x28b573,_0x2247f2['latency']=null,_0x2247f2['ok']=![],_0x2247f2;})[_0x2f50a8(0xff)](()=>({'hubUrl':_0x28b573,'latency':null,'ok':![]}));});Promise['race'](_0x3239b4[_0xfa30c6(0xe4)](_0x3ba3d0=>_0x3ba3d0[_0xfa30c6(0xdd)](_0x4145b0=>_0x4145b0['ok']?_0x4145b0:null)))['then'](_0x4ba5de=>{const _0x5ba6fd=_0xfa30c6;if(_0x4ba5de)return _0x4ba5de;return Promise[_0x5ba6fd(0xdc)](_0x3239b4)[_0x5ba6fd(0xdd)](()=>null);})[_0xfa30c6(0xdd)](_0x5d4b33=>{const _0x140668=_0xfa30c6,_0x3634d0={'JJFya':_0x35186c[_0x140668(0xf3)],'vHWCv':function(_0x4d8f7d,_0x3793e8){return _0x35186c['vCJne'](_0x4d8f7d,_0x3793e8);},'DBIiV':_0x35186c[_0x140668(0x103)]};if(!_0x5d4b33){logger[_0x140668(0xda)](_0x35186c[_0x140668(0x111)]);const _0x4f8b16=_0x35186c[_0x140668(0xb4)](_0x35186c['GnHCV'],_0xddd8cc[0x0]);return globals[_0x140668(0xc2)](_0x35186c[_0x140668(0xf3)],{'nearestHubs':_0xddd8cc[_0x140668(0xe4)](_0x196614=>_0x140668(0xc8)+_0x196614),'hubLatencies':{},'selectedHub':_0x4f8b16,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x140668(0xe9)]()}),constants[_0x140668(0x117)]=_0x35186c[_0x140668(0xd6)](_0x4f8b16,_0x35186c[_0x140668(0x104)]),logger[_0x140668(0xda)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x4f8b16),_0x35186c[_0x140668(0xdf)](_0x5f0ed5);}const _0x11bcb2={[_0x5d4b33[_0x140668(0x117)]]:_0x5d4b33[_0x140668(0x108)]},_0xaca05c={'nearestHubs':_0xddd8cc['map'](_0x25777a=>_0x140668(0xc8)+_0x25777a),'hubLatencies':_0x11bcb2,'selectedHub':_0x5d4b33[_0x140668(0x117)],'selectedHubLatency':_0x5d4b33['latency'],'timestamp':Date[_0x140668(0xe9)]()};globals[_0x140668(0xc2)](_0x35186c[_0x140668(0xf3)],_0xaca05c),constants[_0x140668(0x117)]=_0x35186c[_0x140668(0xc7)](_0x5d4b33[_0x140668(0x117)],_0x35186c[_0x140668(0x104)]),logger['debug'](_0x140668(0x102)+_0x5d4b33[_0x140668(0x117)]),_0x35186c['yoLsv'](_0x5f0ed5),Promise['allSettled'](_0x3239b4)['then'](_0x40c2a2=>{const _0x528dd4=_0x140668;try{const _0x5490c1=globals['getGlobal'](_0x3634d0[_0x528dd4(0xb3)]);if(!_0x5490c1||_0x5490c1[_0x528dd4(0xfc)])return;const _0x5e06b4={};for(const _0x368488 of _0x40c2a2){_0x3634d0[_0x528dd4(0xfe)](_0x368488[_0x528dd4(0x10d)],_0x3634d0[_0x528dd4(0xc1)])&&_0x368488[_0x528dd4(0xd5)]&&_0x368488[_0x528dd4(0xd5)]['ok']&&(_0x5e06b4[_0x368488[_0x528dd4(0xd5)][_0x528dd4(0x117)]]=_0x368488[_0x528dd4(0xd5)][_0x528dd4(0x108)]);}_0x5490c1[_0x528dd4(0x109)]=_0x5e06b4;}catch(_0xdb0503){logger[_0x528dd4(0xda)](_0x528dd4(0xce)+_0xdb0503);}})[_0x140668(0xff)](_0x46efb4=>{const _0x3f7154=_0x140668;logger[_0x3f7154(0xda)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x46efb4);});})[_0xfa30c6(0xff)](_0xcfb3cf=>{const _0x1cffc8=_0xfa30c6;logger[_0x1cffc8(0xda)]('ERROR\x20in\x20hub\x20selection:\x20'+_0xcfb3cf),_0x35186c[_0x1cffc8(0x107)](_0x5f0ed5);});})[_0x9ef778(0xff)](_0x48e23b=>{const _0x1a6404=_0x9ef778;logger[_0x1a6404(0xda)](_0x1a6404(0xb1)+_0x48e23b),_0x41e521[_0x1a6404(0xb0)](_0x5f0ed5);});});},exports[a174_0x4af2eb(0xba)]=async(_0x495d4e,_0x4540c2)=>{const _0x523d77=a174_0x4af2eb,_0x50c855={};_0x50c855[_0x523d77(0x10a)]=_0x523d77(0xf6),_0x50c855[_0x523d77(0xea)]=_0x523d77(0x10c),_0x50c855[_0x523d77(0xb8)]=function(_0x4cb7b8,_0x4e61e3){return _0x4cb7b8-_0x4e61e3;};const _0x301d59=_0x50c855;try{const _0x11d0dc=new Date();await helper[_0x523d77(0xf5)](_0x301d59['Lwskm'],_0x301d59[_0x523d77(0xea)],{},_0x495d4e,_0x4540c2,0x1388);const _0x1185e1=_0x301d59[_0x523d77(0xb8)](new Date(),_0x11d0dc);logger[_0x523d77(0xda)]('Execution\x20time\x20for\x20'+_0x4540c2+_0x523d77(0xd8)+_0x1185e1+'ms');const _0x174a1c={};return _0x174a1c[_0x523d77(0x117)]=_0x4540c2,_0x174a1c[_0x523d77(0x108)]=_0x1185e1,_0x174a1c;}catch(_0xcb4d1c){return logger[_0x523d77(0xda)](_0x523d77(0xe2)+_0x4540c2+'\x20HUB\x20-\x20'+_0xcb4d1c),{};}},exports['nextHubs']=async _0x23f11b=>{const _0x484c44=a174_0x4af2eb,_0x4a7c24={'bxEDG':function(_0x4b8eb4,_0x44dc93){return _0x4b8eb4(_0x44dc93);},'IpPxU':'./bin/utils/constants','xEjzT':_0x484c44(0x115),'FWmNf':_0x484c44(0xf6),'BISxI':'next_hubs'};try{const _0x56fe0e=_0x4a7c24[_0x484c44(0xd7)](require,_0x4a7c24[_0x484c44(0xcf)])[_0x484c44(0x117)][_0x484c44(0xbe)](_0x4a7c24[_0x484c44(0xee)],''),_0x1bffb2=await helper[_0x484c44(0xf5)](_0x4a7c24[_0x484c44(0xc4)],_0x4a7c24[_0x484c44(0xb6)],{},_0x23f11b,_0x56fe0e,0x1388),_0x491a5a=_0x1bffb2[_0x484c44(0xbd)];return logger[_0x484c44(0xda)](_0x484c44(0xde)+util[_0x484c44(0xca)]('%j',_0x491a5a)),_0x491a5a[_0x484c44(0xfb)];}catch(_0x39c7ee){logger[_0x484c44(0xda)](_0x484c44(0xb2)+_0x39c7ee);}return null;};