browserstack-node-sdk 1.49.9 → 1.49.11

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 (186) 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 +5 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a33_0xe2f8d7=a33_0x3172;(function(_0x2bc075,_0x585d8b){const _0x11046e=a33_0x3172,_0x36f843=_0x2bc075();while(!![]){try{const _0x2ee185=-parseInt(_0x11046e(0xd1))/0x1+parseInt(_0x11046e(0xb0))/0x2+-parseInt(_0x11046e(0xe3))/0x3+parseInt(_0x11046e(0xf7))/0x4*(-parseInt(_0x11046e(0xb7))/0x5)+parseInt(_0x11046e(0x104))/0x6+-parseInt(_0x11046e(0xfd))/0x7+parseInt(_0x11046e(0xc1))/0x8;if(_0x2ee185===_0x585d8b)break;else _0x36f843['push'](_0x36f843['shift']());}catch(_0x5bed3a){_0x36f843['push'](_0x36f843['shift']());}}}(a33_0x1faf,0x38f92));function a33_0x3172(_0x271401,_0x1e76e7){const _0x1faf3b=a33_0x1faf();return a33_0x3172=function(_0x317236,_0x10a239){_0x317236=_0x317236-0x96;let _0xd86ae2=_0x1faf3b[_0x317236];return _0xd86ae2;},a33_0x3172(_0x271401,_0x1e76e7);}function a33_0x1faf(){const _0x587f82=['cpVnW','__drivers','getAccessibilityResults','requireSeleniumWebdriver','edgeOptions_','tUhYS','XklwA','requireHttpClient','Hub\x20url\x20set\x20to\x20','object','set','__driversArray','proxySettings','browserstackAgentObservability','../../../helpers/globals','KXmHW','se:ieOptions','oXqOz','capabilities_','winstonLogger','proxyUrl','keys','NNLkz','sqPiO','optimalHubUrl','push','setCapabilities','isAccessibilityPlatform','browserStackLogLevel','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','lvILQ','704972HfwYoJ','getGlobal','storeOptimalHubUrl','New\x20hub\x20url\x20set\x20to\x20','then','getRequestOptions','AZyPK','1013145IpvsFk','../../../helpers/logger','exports','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','IrTFS','build','CAPABILITY_KEY','WMjGO','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','3|2|0|4|1|5','5855448FLFMdI','proxy_','yIQRL','VcsuS','FxbKR','../../../hubAllocationMethods','moz:firefoxOptions','forEach','setLogLevel','NfTnE','DTLgk','send','agent_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','newHubUrl','Builder','397021CPoWGw','../../../helpers/accessibility-automation/helper','logLevel','ieOptions_','GQIjY','setGlobal','SHuPL','wpOJG','ExXQN','../../../helpers/helper','https://','__driver','KcaGR','edgeOptions','xrijF','capability','Qmfst','lkoJa','539310BinjqD','originalBuilder','RPtGR','Xygrh','chromeOptions_','url_','caps_','mergeDeep','firefoxOptions_','debug','QIpnk','iZsmF','error','options_','safariOptions_','mRWHC','uZDxk','isBrowserstackInfra','session_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','8YDAAEv','Setting\x20Browserstack\x20capabilities','ms:edgeOptions','/session','global','../accessibility-automation/helper','1683892CsnyFA','./helpers/patchHelper','get','jwaYa','isUndefined','setServer','HttpClient','2229300LlOXzx','/wd/hub','../../../bin/utils/constants','getAccessibilityResultsSummary','pPVng','FfQuf','overrideGet'];a33_0x1faf=function(){return _0x587f82;};return a33_0x1faf();}const logger=require(a33_0xe2f8d7(0xb8))[a33_0xe2f8d7(0xa4)],helper=require(a33_0xe2f8d7(0xda)),constants=require(a33_0xe2f8d7(0x106)),hubAllocator=require(a33_0xe2f8d7(0xc6)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0xe2f8d7(0xfc)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0xe2f8d7(0xd2)),globals=require(a33_0xe2f8d7(0x9f)),{overrideExecute}=require(a33_0xe2f8d7(0xfe)),modify=(_0x335740,_0x1fce77=null,_0x407ab5=![])=>{const _0x1943cf=a33_0xe2f8d7,_0x86acdd={'wpOJG':function(_0xcfa531,_0x5951e0){return _0xcfa531!==_0x5951e0;},'KcaGR':_0x1943cf(0xfa),'NNLkz':function(_0x58652d,_0x5e4193){return _0x58652d+_0x5e4193;},'xrijF':_0x1943cf(0xdb),'NfTnE':_0x1943cf(0x105),'GQIjY':'goog:chromeOptions','Xygrh':'chromeOptions','RPtGR':_0x1943cf(0xf9),'HVhdD':_0x1943cf(0xde),'xwsoK':_0x1943cf(0xc7),'iZsmF':'firefoxOptions','jwaYa':'safari.options','FxbKR':_0x1943cf(0xa1),'lkoJa':'ieOptions','aqdZr':function(_0x8720fa,_0xee8018){return _0x8720fa===_0xee8018;},'uZDxk':_0x1943cf(0x9a),'AwEbd':_0x1943cf(0xf8),'mRWHC':function(_0x593b48,_0x561c57,_0x280c07){return _0x593b48(_0x561c57,_0x280c07);},'cpVnW':_0x1943cf(0xa9),'zcESH':_0x1943cf(0xae),'sqPiO':function(_0x4c715e,_0x53e56f,_0x1ae336){return _0x4c715e(_0x53e56f,_0x1ae336);},'VcsuS':function(_0x518c00,_0x52cc5a){return _0x518c00(_0x52cc5a);},'SHuPL':_0x1943cf(0xc0),'lvILQ':_0x1943cf(0xac),'AZyPK':function(_0x4863ff,_0x592b3f,_0x4d3043){return _0x4863ff(_0x592b3f,_0x4d3043);},'tUhYS':function(_0xf3027f){return _0xf3027f();},'oXqOz':function(_0x3df1c0,_0x1f7e83){return _0x3df1c0(_0x1f7e83);},'ExXQN':_0x1943cf(0xce),'DTLgk':function(_0x2645a3,_0x4351c9){return _0x2645a3(_0x4351c9);},'hEDpI':function(_0x4f507a,_0x2d9972){return _0x4f507a(_0x2d9972);},'pPVng':function(_0x119547,_0x21f748,_0x83d57a){return _0x119547(_0x21f748,_0x83d57a);},'KXmHW':_0x1943cf(0xf6),'Qmfst':'Modifying\x20webdriver\x20builder'},_0x43e852=helper[_0x1943cf(0x98)]();let _0x2a6d9f;try{_0x2a6d9f=helper[_0x1943cf(0x10e)](),_0x2a6d9f[_0x1943cf(0xe4)]&&(_0x2a6d9f[_0x1943cf(0xd0)]=_0x2a6d9f[_0x1943cf(0xe4)]);}catch(_0x3c9cf1){return;}if(helper[_0x1943cf(0xf4)]()){const _0x5f3819={};_0x5f3819[_0x1943cf(0xd3)]=_0x335740[_0x1943cf(0xad)],helper[_0x1943cf(0xc9)](_0x5f3819,new Map(),new Map()),logger['info'](_0x86acdd[_0x1943cf(0xa0)]),logger[_0x1943cf(0xec)](_0x86acdd[_0x1943cf(0xe1)]);}class _0x907718 extends _0x43e852[_0x1943cf(0x103)]{[_0x1943cf(0xcc)](_0x1b1165){const _0x57be7a=_0x1943cf;if(_0x86acdd[_0x57be7a(0xd8)](_0x1b1165['path'],_0x86acdd[_0x57be7a(0xdd)])&&_0x86acdd[_0x57be7a(0xd8)](global[_0x57be7a(0xcf)],''))try{global['newHubUrl']=_0x86acdd[_0x57be7a(0xa7)](_0x86acdd[_0x57be7a(0xa7)](_0x86acdd[_0x57be7a(0xdf)],global[_0x57be7a(0xcf)]),_0x86acdd[_0x57be7a(0xca)]),this[_0x57be7a(0xf0)]=hubAllocator[_0x57be7a(0xb5)](global['newHubUrl']),logger[_0x57be7a(0xec)](_0x57be7a(0xb3)+global[_0x57be7a(0xcf)]),global['newHubUrl']='';}catch(_0x36dd28){logger[_0x57be7a(0xef)](_0x36dd28);}return super[_0x57be7a(0xcc)](_0x1b1165);}}class _0x234cc8 extends _0x2a6d9f[_0x1943cf(0xd0)]{[_0x1943cf(0x102)](){const _0x2a5888=_0x1943cf;return this[_0x2a5888(0xe8)]=helper['getHubUrl'](_0x335740),logger[_0x2a5888(0xec)](_0x2a5888(0x99)+this[_0x2a5888(0xe8)]),this;}['__setBrowserOptions'](_0x3e788d){const _0x1fcd00=_0x1943cf;let _0x886948={};for(const _0x43c339 in _0x3e788d){switch(_0x43c339){case _0x86acdd[_0x1fcd00(0xd5)]:case _0x86acdd[_0x1fcd00(0xe6)]:this[_0x1fcd00(0xe7)]&&(_0x886948=this[_0x1fcd00(0xe7)][_0x1fcd00(0xff)](this['chromeOptions_'][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xe7)]['set'](this[_0x1fcd00(0xe7)][_0x1fcd00(0xbd)],helper['mergeDeep'](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0xe5)]:case _0x86acdd['HVhdD']:this[_0x1fcd00(0x10f)]&&(_0x886948=this[_0x1fcd00(0x10f)][_0x1fcd00(0xff)](this[_0x1fcd00(0x10f)]['CAPABILITY_KEY'])||{},this[_0x1fcd00(0x10f)][_0x1fcd00(0x9b)](this[_0x1fcd00(0x10f)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd['xwsoK']:case _0x86acdd[_0x1fcd00(0xee)]:this[_0x1fcd00(0xeb)]&&(_0x886948=this['firefoxOptions_'][_0x1fcd00(0xff)](this[_0x1fcd00(0xeb)][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xeb)][_0x1fcd00(0x9b)](this['firefoxOptions_'][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0x100)]:this[_0x1fcd00(0xf1)]&&(_0x886948=this[_0x1fcd00(0xf1)][_0x1fcd00(0xff)](this[_0x1fcd00(0xf1)][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xf1)][_0x1fcd00(0x9b)](this[_0x1fcd00(0xf1)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0xc5)]:case _0x86acdd[_0x1fcd00(0xe2)]:this[_0x1fcd00(0xd4)]&&(_0x886948=this[_0x1fcd00(0xd4)][_0x1fcd00(0xff)](this[_0x1fcd00(0xd4)][_0x1fcd00(0xbd)])||{},this['ieOptions_']['set'](this[_0x1fcd00(0xd4)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;}}}['setCapabilities'](){const _0x411ea1=_0x1943cf;return logger[_0x411ea1(0xec)](_0x86acdd['AwEbd']),this['__setBrowserOptions'](_0x335740[_0x411ea1(0xe0)]),Object[_0x411ea1(0xa6)](_0x335740[_0x411ea1(0xe0)])[_0x411ea1(0xc8)](_0x5d2c27=>{const _0x3fa5d9=_0x411ea1,_0x599c2a=this[_0x3fa5d9(0xa3)][_0x3fa5d9(0xff)](_0x5d2c27);_0x86acdd['aqdZr'](typeof _0x599c2a,_0x86acdd[_0x3fa5d9(0xf3)])?this[_0x3fa5d9(0xa3)][_0x3fa5d9(0x9b)](_0x5d2c27,helper[_0x3fa5d9(0xea)](_0x599c2a,_0x335740[_0x3fa5d9(0xe0)][_0x5d2c27])):this[_0x3fa5d9(0xa3)][_0x3fa5d9(0x9b)](_0x5d2c27,_0x335740[_0x3fa5d9(0xe0)][_0x5d2c27]);}),this;}[_0x1943cf(0xbc)](){const _0x20cbd3=_0x1943cf,_0x35f6fd={'QIpnk':_0x86acdd[_0x20cbd3(0x10b)],'yIQRL':_0x86acdd['zcESH'],'WMjGO':function(_0x2d1cf7,_0x8525ce,_0x5b23e9){const _0x3da242=_0x20cbd3;return _0x86acdd[_0x3da242(0xa8)](_0x2d1cf7,_0x8525ce,_0x5b23e9);},'IrTFS':function(_0x48e380,_0x4fe6cc){const _0x334ce5=_0x20cbd3;return _0x86acdd[_0x334ce5(0xc4)](_0x48e380,_0x4fe6cc);},'XklwA':function(_0x3798ac,_0x5d102d,_0x47aff4){const _0x3c6b7e=_0x20cbd3;return _0x86acdd[_0x3c6b7e(0xa8)](_0x3798ac,_0x5d102d,_0x47aff4);}};if(helper[_0x20cbd3(0xf4)]()){const _0x53fa42=_0x86acdd[_0x20cbd3(0xd7)]['split']('|');let _0x45ef55=0x0;while(!![]){switch(_0x53fa42[_0x45ef55++]){case'0':this[_0x20cbd3(0xab)]();continue;case'1':globals[_0x20cbd3(0xb1)](_0x86acdd['lvILQ'])&&(!_0x86acdd[_0x20cbd3(0xb6)](setExtension,this,_0x335740)&&globals[_0x20cbd3(0xd6)](_0x86acdd[_0x20cbd3(0xaf)],![]));continue;case'2':this['setServer']();continue;case'3':_0x86acdd[_0x20cbd3(0x96)](isAccessibilityAutomationSession)&&_0x86acdd[_0x20cbd3(0xa2)](setAccessibilityCapabilities,_0x335740);continue;case'4':if(helper['isPacProxy'](_0x335740[_0x20cbd3(0x9d)]['proxyUrl']))this[_0x20cbd3(0xcd)]=helper['getHttpAgent'](_0x335740[_0x20cbd3(0x9d)][_0x20cbd3(0xa5)]);else _0x335740[_0x20cbd3(0x9d)]['proxyUrl']&&(this['proxy_']=_0x335740[_0x20cbd3(0x9d)]['proxyUrl'],logger['debug']('Proxy\x20set\x20to\x20'+this[_0x20cbd3(0xc2)]));continue;case'5':logger[_0x20cbd3(0xec)](_0x86acdd[_0x20cbd3(0xd9)]);continue;}break;}}const _0x41c434=super[_0x20cbd3(0xbc)]();return _0x41c434[_0x20cbd3(0xf5)][_0x20cbd3(0xb4)](_0x3ed4c9=>{const _0x1c168e=_0x20cbd3;try{const _0x138451=_0x3ed4c9[_0x1c168e(0xe9)][_0x1c168e(0xff)](_0x35f6fd[_0x1c168e(0xed)]);_0x138451?(logger[_0x1c168e(0xec)](_0x1c168e(0xba)+_0x138451),hubAllocator['updateHubUrl'](_0x138451),helper[_0x1c168e(0xb2)](_0x138451)):logger['debug'](_0x35f6fd[_0x1c168e(0xc3)]);}catch(_0xfc8887){logger[_0x1c168e(0xec)](_0x1c168e(0xbf)+_0xfc8887);}}),_0x41c434['quitCount_']=0x0,_0x41c434[_0x20cbd3(0xb4)]&&_0x41c434['then'](_0x1f61b3=>{const _0x1fce38=_0x20cbd3,_0x2d2186={'yiDjv':function(_0x497683,_0x2cd1fd,_0x5ba3e9){return _0x35f6fd['WMjGO'](_0x497683,_0x2cd1fd,_0x5ba3e9);},'FfQuf':function(_0xde4516,_0x2b67b0,_0x369b18){const _0x4c978e=a33_0x3172;return _0x35f6fd[_0x4c978e(0xbe)](_0xde4516,_0x2b67b0,_0x369b18);}};_0x35f6fd['WMjGO'](overrideQuit,_0x1f61b3,_0x41c434),_0x35f6fd[_0x1fce38(0xbb)](overrideTakeScreenshot,_0x1f61b3),helper[_0x1fce38(0x10a)](_0x1f61b3,_0x335740),_0x35f6fd[_0x1fce38(0x97)](overrideExecute,_0x1f61b3,_0x335740),_0x1f61b3[_0x1fce38(0x107)]=async()=>{return await _0x2d2186['yiDjv'](getAccessibilityResultsSummary,_0x1f61b3,global);},_0x1f61b3['getAccessibilityResults']=async()=>{const _0x148694=_0x1fce38;return await _0x2d2186[_0x148694(0x109)](getAccessibilityResults,_0x1f61b3,global);};}),_0x41c434[_0x20cbd3(0x107)]=async()=>{const _0x23ac40=_0x20cbd3;return await _0x86acdd[_0x23ac40(0xf2)](getAccessibilityResultsSummary,_0x41c434,global);},_0x41c434[_0x20cbd3(0x10d)]=async()=>{const _0x28d7f1=_0x20cbd3;return await _0x35f6fd[_0x28d7f1(0xbe)](getAccessibilityResults,_0x41c434,global);},_0x86acdd[_0x20cbd3(0xcb)](overrideTakeScreenshot,_0x41c434),_0x86acdd['hEDpI'](overrideQuit,_0x41c434),helper[_0x20cbd3(0x10a)](_0x41c434,_0x335740),_0x86acdd[_0x20cbd3(0x108)](overrideExecute,_0x41c434,_0x335740),helper['isUndefined'](global[_0x20cbd3(0x9c)])&&(global[_0x20cbd3(0x9c)]=[]),helper[_0x20cbd3(0x101)](global['__drivers'])&&(global[_0x20cbd3(0x10c)]=[]),global[_0x20cbd3(0x9c)][_0x20cbd3(0xaa)](_0x41c434),global[_0x20cbd3(0xdc)]=_0x41c434,_0x86acdd['wpOJG'](global[_0x20cbd3(0x10c)],undefined)&&global[_0x20cbd3(0x10c)][_0x20cbd3(0xaa)](_0x41c434),_0x1fce77&&helper[_0x20cbd3(0x101)](_0x1fce77['global'][_0x20cbd3(0x9c)])&&(_0x1fce77['global'][_0x20cbd3(0x9c)]=[]),_0x1fce77&&_0x86acdd['wpOJG'](_0x1fce77[_0x20cbd3(0xfb)]['__drivers'],undefined)&&(_0x1fce77[_0x20cbd3(0xfb)][_0x20cbd3(0x10c)][_0x20cbd3(0xaa)](_0x41c434),_0x1fce77['global']['__driversArray']['push'](_0x41c434)),_0x41c434;}}return _0x2a6d9f[_0x1943cf(0xe4)]=_0x2a6d9f[_0x1943cf(0xd0)],_0x2a6d9f['Builder']=_0x234cc8,_0x43e852[_0x1943cf(0x103)]=_0x907718,_0x2a6d9f;};module[a33_0xe2f8d7(0xb9)][a33_0xe2f8d7(0x9e)]=modify;
1
+ const a33_0x1b2861=a33_0x4a23;function a33_0x15c2(){const _0x30e8d4=['push','__drivers','logLevel','Proxy\x20set\x20to\x20','isAccessibilityPlatform','isUndefined','proxyUrl','YJzNb','__driver','getHubUrl','chromeOptions_','egWSg','https://','Builder','TRYoS','setCapabilities','setLogLevel','firefoxOptions_','LPykp','quitCount_','capabilities_','edgeOptions','moz:firefoxOptions','firefoxOptions','originalBuilder','isPacProxy','fZXRJ','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','options_','2597326ShUoYq','proxySettings','KQTGY','Modifying\x20webdriver\x20builder','/wd/hub','kPMEx','qfDCe','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','send','global','safariOptions_','ixugg','build','../accessibility-automation/helper','wUVIj','kTOlB','proxy_','30FAFSVi','info','IiyrB','debug','../../../hubAllocationMethods','newHubUrl','url_','split','exports','/session','../../../helpers/helper','session_','IDTQL','AsycI','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/globals','setServer','ieOptions','3384752kNQbjB','goog:chromeOptions','bXvxn','DHWUX','getRequestOptions','keys','HttpClient','get','WhWlu','getGlobal','1447726WjzFkw','ieOptions_','yxBcu','RCUeJ','ms:edgeOptions','pRgbp','nmxsN','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','9zDizGO','1313004xtXpwL','optimalHubUrl','setGlobal','UmKxf','CAPABILITY_KEY','epANU','caps_','capability','qvlHT','then','forEach','../../../helpers/accessibility-automation/helper','1755060dbbUuC','__driversArray','edgeOptions_','bryUb','../../../bin/utils/constants','overrideGet','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','winstonLogger','4747936fNJjaw','requireSeleniumWebdriver','set','getAccessibilityResults','New\x20hub\x20url\x20set\x20to\x20','getHttpAgent','getAccessibilityResultsSummary','mergeDeep','pxqMM','__setBrowserOptions','isBrowserstackInfra','dJcRY','storeOptimalHubUrl','Wvixh','rNyWa','590892HzEVQZ','../../../helpers/logger'];a33_0x15c2=function(){return _0x30e8d4;};return a33_0x15c2();}(function(_0x14f6ef,_0x338795){const _0x175e55=a33_0x4a23,_0xfd8bb0=_0x14f6ef();while(!![]){try{const _0x58cd52=parseInt(_0x175e55(0x21f))/0x1+-parseInt(_0x175e55(0x1c6))/0x2+parseInt(_0x175e55(0x1fc))/0x3+parseInt(_0x175e55(0x1e9))/0x4+-parseInt(_0x175e55(0x208))/0x5+parseInt(_0x175e55(0x1d7))/0x6*(parseInt(_0x175e55(0x1f3))/0x7)+parseInt(_0x175e55(0x210))/0x8*(-parseInt(_0x175e55(0x1fb))/0x9);if(_0x58cd52===_0x338795)break;else _0xfd8bb0['push'](_0xfd8bb0['shift']());}catch(_0x35e1c5){_0xfd8bb0['push'](_0xfd8bb0['shift']());}}}(a33_0x15c2,0xa2847));function a33_0x4a23(_0x38a11c,_0x379517){const _0x15c273=a33_0x15c2();return a33_0x4a23=function(_0x4a23c7,_0x30cdf2){_0x4a23c7=_0x4a23c7-0x1ae;let _0x1d84f8=_0x15c273[_0x4a23c7];return _0x1d84f8;},a33_0x4a23(_0x38a11c,_0x379517);}const logger=require(a33_0x1b2861(0x220))[a33_0x1b2861(0x20f)],helper=require(a33_0x1b2861(0x1e1)),constants=require(a33_0x1b2861(0x20c)),hubAllocator=require(a33_0x1b2861(0x1db)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x1b2861(0x1d3)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x1b2861(0x207)),globals=require(a33_0x1b2861(0x1e6)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x23b5e3,_0x54eb50=null,_0x1faa4a=![])=>{const _0x1c3bba=a33_0x1b2861,_0x49872d={'egWSg':function(_0x3b5edf,_0x3e39bc){return _0x3b5edf!==_0x3e39bc;},'qvlHT':_0x1c3bba(0x1e0),'UuEKG':function(_0x1b1b2f,_0x22c7b7){return _0x1b1b2f+_0x22c7b7;},'pxqMM':function(_0x567d91,_0x27b747){return _0x567d91+_0x27b747;},'DaYMc':_0x1c3bba(0x1b5),'yxBcu':_0x1c3bba(0x1ca),'Wvixh':_0x1c3bba(0x1ea),'kDtLR':'chromeOptions','rNyWa':_0x1c3bba(0x1f7),'pRgbp':_0x1c3bba(0x1be),'kPMEx':_0x1c3bba(0x1bf),'DHWUX':_0x1c3bba(0x1c0),'KQTGY':'safari.options','UmKxf':'se:ieOptions','IiyrB':_0x1c3bba(0x1e8),'WjBTO':function(_0x447b18,_0x2d321c){return _0x447b18===_0x2d321c;},'EQQvw':'object','LPykp':'Setting\x20Browserstack\x20capabilities','wUVIj':_0x1c3bba(0x1fd),'brYKM':_0x1c3bba(0x1e5),'AsycI':function(_0xe9abbb,_0x5ee0ed,_0x5490e4){return _0xe9abbb(_0x5ee0ed,_0x5490e4);},'RCUeJ':function(_0x1597fa,_0x4787f4){return _0x1597fa(_0x4787f4);},'qfDCe':function(_0x57d8e0,_0x196064,_0x2c3c23){return _0x57d8e0(_0x196064,_0x2c3c23);},'bryUb':function(_0x26a3c2,_0x3ff5fa,_0x215ea8){return _0x26a3c2(_0x3ff5fa,_0x215ea8);},'kTOlB':'2|1|4|5|0|3','fZXRJ':_0x1c3bba(0x225),'nmxsN':function(_0x434d7c){return _0x434d7c();},'epANU':function(_0x35fc9f,_0xabb3f9){return _0x35fc9f(_0xabb3f9);},'yXqls':_0x1c3bba(0x20e),'WhWlu':function(_0x3c39be,_0x18ab07){return _0x3c39be(_0x18ab07);},'ixugg':function(_0x410308,_0x4548a2){return _0x410308(_0x4548a2);},'TRYoS':function(_0x588c5e,_0x286642){return _0x588c5e!==_0x286642;},'FdSSi':_0x1c3bba(0x1c4),'IDTQL':_0x1c3bba(0x1c9)},_0x37db2d=helper['requireHttpClient']();let _0x5f3304;try{_0x5f3304=helper[_0x1c3bba(0x211)](),_0x5f3304[_0x1c3bba(0x1c1)]&&(_0x5f3304['Builder']=_0x5f3304[_0x1c3bba(0x1c1)]);}catch(_0x1fd2ed){return;}if(helper[_0x1c3bba(0x21a)]()){const _0x541379={};_0x541379[_0x1c3bba(0x223)]=_0x23b5e3['browserStackLogLevel'],helper[_0x1c3bba(0x1b9)](_0x541379,new Map(),new Map()),logger[_0x1c3bba(0x1d8)](_0x49872d['FdSSi']),logger['debug'](_0x49872d[_0x1c3bba(0x1e3)]);}class _0x32f2f2 extends _0x37db2d['HttpClient']{['send'](_0x29ed4a){const _0x3e9ca4=_0x1c3bba;if(_0x49872d[_0x3e9ca4(0x1b4)](_0x29ed4a['path'],_0x49872d[_0x3e9ca4(0x204)])&&_0x49872d['egWSg'](global[_0x3e9ca4(0x1dc)],''))try{global[_0x3e9ca4(0x1dc)]=_0x49872d['UuEKG'](_0x49872d[_0x3e9ca4(0x218)](_0x49872d['DaYMc'],global[_0x3e9ca4(0x1dc)]),_0x49872d[_0x3e9ca4(0x1f5)]),this[_0x3e9ca4(0x1c5)]=hubAllocator[_0x3e9ca4(0x1ed)](global[_0x3e9ca4(0x1dc)]),logger[_0x3e9ca4(0x1da)](_0x3e9ca4(0x214)+global[_0x3e9ca4(0x1dc)]),global[_0x3e9ca4(0x1dc)]='';}catch(_0x5d6d1d){logger['error'](_0x5d6d1d);}return super[_0x3e9ca4(0x1ce)](_0x29ed4a);}}class _0x4efe05 extends _0x5f3304[_0x1c3bba(0x1b6)]{[_0x1c3bba(0x1e7)](){const _0x466fa4=_0x1c3bba;return this[_0x466fa4(0x1dd)]=helper[_0x466fa4(0x1b2)](_0x23b5e3),logger[_0x466fa4(0x1da)]('Hub\x20url\x20set\x20to\x20'+this[_0x466fa4(0x1dd)]),this;}[_0x1c3bba(0x219)](_0x54f490){const _0x84fa3d=_0x1c3bba;let _0x398b2a={};for(const _0x5b5bdd in _0x54f490){switch(_0x5b5bdd){case _0x49872d[_0x84fa3d(0x21d)]:case _0x49872d['kDtLR']:this[_0x84fa3d(0x1b3)]&&(_0x398b2a=this[_0x84fa3d(0x1b3)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1b3)]['CAPABILITY_KEY'])||{},this[_0x84fa3d(0x1b3)][_0x84fa3d(0x212)](this[_0x84fa3d(0x1b3)][_0x84fa3d(0x200)],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x21e)]:case _0x49872d[_0x84fa3d(0x1f8)]:this['edgeOptions_']&&(_0x398b2a=this[_0x84fa3d(0x20a)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x20a)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x20a)][_0x84fa3d(0x212)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1cb)]:case _0x49872d[_0x84fa3d(0x1ec)]:this[_0x84fa3d(0x1ba)]&&(_0x398b2a=this[_0x84fa3d(0x1ba)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1ba)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x1ba)][_0x84fa3d(0x212)](this[_0x84fa3d(0x1ba)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1c8)]:this[_0x84fa3d(0x1d0)]&&(_0x398b2a=this[_0x84fa3d(0x1d0)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1d0)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x1d0)][_0x84fa3d(0x212)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1ff)]:case _0x49872d[_0x84fa3d(0x1d9)]:this['ieOptions_']&&(_0x398b2a=this[_0x84fa3d(0x1f4)]['get'](this['ieOptions_'][_0x84fa3d(0x200)])||{},this['ieOptions_'][_0x84fa3d(0x212)](this[_0x84fa3d(0x1f4)][_0x84fa3d(0x200)],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;}}}['setCapabilities'](){const _0x4fa880=_0x1c3bba,_0x4797ce={'lqIAS':function(_0x3022db,_0x372569){return _0x49872d['WjBTO'](_0x3022db,_0x372569);},'yiwqO':_0x49872d['EQQvw']};return logger[_0x4fa880(0x1da)](_0x49872d[_0x4fa880(0x1bb)]),this[_0x4fa880(0x219)](_0x23b5e3['capability']),Object[_0x4fa880(0x1ee)](_0x23b5e3['capability'])[_0x4fa880(0x206)](_0x125219=>{const _0x3f5101=_0x4fa880,_0x19e14f=this[_0x3f5101(0x1bd)][_0x3f5101(0x1f0)](_0x125219);_0x4797ce['lqIAS'](typeof _0x19e14f,_0x4797ce['yiwqO'])?this[_0x3f5101(0x1bd)][_0x3f5101(0x212)](_0x125219,helper[_0x3f5101(0x217)](_0x19e14f,_0x23b5e3['capability'][_0x125219])):this[_0x3f5101(0x1bd)][_0x3f5101(0x212)](_0x125219,_0x23b5e3[_0x3f5101(0x203)][_0x125219]);}),this;}[_0x1c3bba(0x1d2)](){const _0x1aa386=_0x1c3bba,_0x3206fb={'dJcRY':function(_0x229ae2,_0x4bf7a6,_0x27aa1b){const _0xda1e49=a33_0x4a23;return _0x49872d[_0xda1e49(0x20b)](_0x229ae2,_0x4bf7a6,_0x27aa1b);},'YJzNb':function(_0x404b7c,_0x36037d,_0x34c059){const _0x4dfdf9=a33_0x4a23;return _0x49872d[_0x4dfdf9(0x1e4)](_0x404b7c,_0x36037d,_0x34c059);}};if(helper[_0x1aa386(0x21a)]()){const _0x3556fa=_0x49872d[_0x1aa386(0x1d5)][_0x1aa386(0x1de)]('|');let _0x246ab0=0x0;while(!![]){switch(_0x3556fa[_0x246ab0++]){case'0':globals[_0x1aa386(0x1f2)](_0x49872d[_0x1aa386(0x1c3)])&&(!_0x49872d[_0x1aa386(0x1cc)](setExtension,this,_0x23b5e3)&&globals[_0x1aa386(0x1fe)](_0x49872d[_0x1aa386(0x1c3)],![]));continue;case'1':this[_0x1aa386(0x1e7)]();continue;case'2':_0x49872d[_0x1aa386(0x1f9)](isAccessibilityAutomationSession)&&_0x49872d[_0x1aa386(0x201)](setAccessibilityCapabilities,_0x23b5e3);continue;case'3':logger['debug'](_0x49872d['yXqls']);continue;case'4':this[_0x1aa386(0x1b8)]();continue;case'5':if(helper[_0x1aa386(0x1c2)](_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)]))this['agent_']=helper[_0x1aa386(0x215)](_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)]);else _0x23b5e3['proxySettings'][_0x1aa386(0x1af)]&&(this[_0x1aa386(0x1d6)]=_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)],logger[_0x1aa386(0x1da)](_0x1aa386(0x224)+this[_0x1aa386(0x1d6)]));continue;}break;}}const _0x366a03=super[_0x1aa386(0x1d2)]();return _0x366a03[_0x1aa386(0x1e2)][_0x1aa386(0x205)](_0x1e0694=>{const _0x2238de=_0x1aa386;try{const _0x467726=_0x1e0694[_0x2238de(0x202)][_0x2238de(0x1f0)](_0x49872d[_0x2238de(0x1d4)]);_0x467726?(logger[_0x2238de(0x1da)](_0x2238de(0x1cd)+_0x467726),hubAllocator['updateHubUrl'](_0x467726),helper[_0x2238de(0x21c)](_0x467726)):logger[_0x2238de(0x1da)](_0x49872d['brYKM']);}catch(_0x25fe81){logger[_0x2238de(0x1da)](_0x2238de(0x1fa)+_0x25fe81);}}),_0x366a03[_0x1aa386(0x1bc)]=0x0,_0x366a03[_0x1aa386(0x205)]&&_0x366a03[_0x1aa386(0x205)](_0x9fde9f=>{const _0x58bb3b=_0x1aa386,_0x310386={'bXvxn':function(_0x17aea9,_0x38798d,_0x5379ef){const _0x22c565=a33_0x4a23;return _0x49872d[_0x22c565(0x1e4)](_0x17aea9,_0x38798d,_0x5379ef);}};_0x49872d['AsycI'](overrideQuit,_0x9fde9f,_0x366a03),_0x49872d[_0x58bb3b(0x1f6)](overrideTakeScreenshot,_0x9fde9f),helper[_0x58bb3b(0x20d)](_0x9fde9f,_0x23b5e3),_0x49872d[_0x58bb3b(0x1cc)](overrideExecute,_0x9fde9f,_0x23b5e3),_0x9fde9f[_0x58bb3b(0x216)]=async()=>{const _0x1340bc=_0x58bb3b;return await _0x3206fb[_0x1340bc(0x21b)](getAccessibilityResultsSummary,_0x9fde9f,global);},_0x9fde9f['getAccessibilityResults']=async()=>{const _0x5f005f=_0x58bb3b;return await _0x310386[_0x5f005f(0x1eb)](getAccessibilityResults,_0x9fde9f,global);};}),_0x366a03[_0x1aa386(0x216)]=async()=>{const _0x28a882=_0x1aa386;return await _0x3206fb[_0x28a882(0x21b)](getAccessibilityResultsSummary,_0x366a03,global);},_0x366a03[_0x1aa386(0x213)]=async()=>{const _0x51bc2b=_0x1aa386;return await _0x3206fb[_0x51bc2b(0x1b0)](getAccessibilityResults,_0x366a03,global);},_0x49872d[_0x1aa386(0x1f1)](overrideTakeScreenshot,_0x366a03),_0x49872d[_0x1aa386(0x1d1)](overrideQuit,_0x366a03),helper[_0x1aa386(0x20d)](_0x366a03,_0x23b5e3),_0x49872d[_0x1aa386(0x1e4)](overrideExecute,_0x366a03,_0x23b5e3),helper[_0x1aa386(0x1ae)](global[_0x1aa386(0x209)])&&(global['__driversArray']=[]),helper['isUndefined'](global[_0x1aa386(0x222)])&&(global['__drivers']=[]),global['__driversArray'][_0x1aa386(0x221)](_0x366a03),global[_0x1aa386(0x1b1)]=_0x366a03,_0x49872d[_0x1aa386(0x1b4)](global['__drivers'],undefined)&&global[_0x1aa386(0x222)][_0x1aa386(0x221)](_0x366a03),_0x54eb50&&helper[_0x1aa386(0x1ae)](_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x209)])&&(_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x209)]=[]),_0x54eb50&&_0x49872d[_0x1aa386(0x1b7)](_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x222)],undefined)&&(_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x222)][_0x1aa386(0x221)](_0x366a03),_0x54eb50['global'][_0x1aa386(0x209)][_0x1aa386(0x221)](_0x366a03)),_0x366a03;}}return _0x5f3304[_0x1c3bba(0x1c1)]=_0x5f3304['Builder'],_0x5f3304[_0x1c3bba(0x1b6)]=_0x4efe05,_0x37db2d[_0x1c3bba(0x1ef)]=_0x32f2f2,_0x5f3304;};module[a33_0x1b2861(0x1df)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- function a34_0x5773(_0x43a305,_0x4969dc){const _0xaae76=a34_0xaae7();return a34_0x5773=function(_0x577333,_0x47265b){_0x577333=_0x577333-0xf6;let _0xffa1d3=_0xaae76[_0x577333];return _0xffa1d3;},a34_0x5773(_0x43a305,_0x4969dc);}const a34_0x3daf0a=a34_0x5773;(function(_0x1ea567,_0x464afe){const _0x2bc5f3=a34_0x5773,_0x27e865=_0x1ea567();while(!![]){try{const _0x4b17e8=parseInt(_0x2bc5f3(0x103))/0x1+-parseInt(_0x2bc5f3(0xf6))/0x2*(parseInt(_0x2bc5f3(0xf8))/0x3)+-parseInt(_0x2bc5f3(0xfd))/0x4*(parseInt(_0x2bc5f3(0x104))/0x5)+parseInt(_0x2bc5f3(0xfc))/0x6*(parseInt(_0x2bc5f3(0x100))/0x7)+parseInt(_0x2bc5f3(0x105))/0x8*(parseInt(_0x2bc5f3(0x101))/0x9)+parseInt(_0x2bc5f3(0xf9))/0xa+parseInt(_0x2bc5f3(0xfe))/0xb;if(_0x4b17e8===_0x464afe)break;else _0x27e865['push'](_0x27e865['shift']());}catch(_0x1e646a){_0x27e865['push'](_0x27e865['shift']());}}}(a34_0xaae7,0xc115e));const requestSpy=require(a34_0x3daf0a(0xfb)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a34_0x3daf0a(0x102));exports[a34_0x3daf0a(0xfa)]={'beforeAll'(){const _0x507426={'RPXVk':function(_0x199df3){return _0x199df3();}},_0x1b7640='browserstack internal helper hook';_0x507426['RPXVk'](addRequestSpy);},'afterAll'(){const _0x2d8f9d=a34_0x3daf0a,_0x10aff7='browserstack internal helper hook';this[_0x2d8f9d(0xff)](0xea60),requestSpy[_0x2d8f9d(0xf7)]();}};function a34_0xaae7(){const _0x4b5b52=['311145Vefkpf','366616RbSCFU','130gVZyiB','restore','22152kJgyjb','5603530oYxGXe','mochaHooks','../../../helpers/request-spy','180498BSFRbu','100qDjUHw','13935317iijvYH','timeout','14hnrPhz','144eItMlZ','../../../helpers/test-observability/utils','205965OhQpJJ'];a34_0xaae7=function(){return _0x4b5b52;};return a34_0xaae7();}
1
+ const a34_0x134301=a34_0x5369;(function(_0x260da6,_0x5e7f84){const _0x64b104=a34_0x5369,_0x4edc2b=_0x260da6();while(!![]){try{const _0x3d3c56=-parseInt(_0x64b104(0x1d1))/0x1+-parseInt(_0x64b104(0x1e0))/0x2*(-parseInt(_0x64b104(0x1de))/0x3)+parseInt(_0x64b104(0x1dc))/0x4*(parseInt(_0x64b104(0x1da))/0x5)+parseInt(_0x64b104(0x1df))/0x6*(parseInt(_0x64b104(0x1d8))/0x7)+-parseInt(_0x64b104(0x1d2))/0x8+parseInt(_0x64b104(0x1d4))/0x9*(-parseInt(_0x64b104(0x1d5))/0xa)+-parseInt(_0x64b104(0x1d7))/0xb*(-parseInt(_0x64b104(0x1d9))/0xc);if(_0x3d3c56===_0x5e7f84)break;else _0x4edc2b['push'](_0x4edc2b['shift']());}catch(_0xa89870){_0x4edc2b['push'](_0x4edc2b['shift']());}}}(a34_0x1669,0xdfa84));function a34_0x1669(){const _0x1d6b61=['145UnCBxq','../../../bin/utils/constants','85864YOtRUG','../../../helpers/request-spy','3168OyVCqo','11274FaZCsA','1886smggIN','mochaHooks','692046Kadgiu','5015176MhOEwH','restore','1041273VYPxTY','140MfyroC','../../../helpers/test-observability/utils','20901518AxSnDi','1253vlLrAk','12wrUXnU'];a34_0x1669=function(){return _0x1d6b61;};return a34_0x1669();}const requestSpy=require(a34_0x134301(0x1dd)),constants=require(a34_0x134301(0x1db)),{addRequestSpy}=require(a34_0x134301(0x1d6));function a34_0x5369(_0x55cd5a,_0x5acfe8){const _0x166947=a34_0x1669();return a34_0x5369=function(_0x53697e,_0x2f85c5){_0x53697e=_0x53697e-0x1d0;let _0x5ec0de=_0x166947[_0x53697e];return _0x5ec0de;},a34_0x5369(_0x55cd5a,_0x5acfe8);}exports[a34_0x134301(0x1d0)]={'beforeAll'(){const _0x5e8eae={'AiOWm':function(_0x3edfd8){return _0x3edfd8();}},_0x522e30='browserstack internal helper hook';_0x5e8eae['AiOWm'](addRequestSpy);},'afterAll'(){const _0x4cf3e5=a34_0x134301,_0xc9b229='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x4cf3e5(0x1d3)]();}};
@@ -1 +1 @@
1
- function a35_0xa927(){const _0x3bd9f9=['map_','passed','../../../helpers/testhub/utils','173173eXGduC','hookAnalyticsId','omCxt','RFPbZ','BJnwl','sXYcA','markedStatus','../../../helpers/helper','lEwLA','../../utils/logPatcher','QffJm','get','12636531YKePSh','uuid','getHookSkippedTests','type','../../../helpers/test-observability/utils','getPlatform','toJSON','GlHTr','CKxEI','PEPIc','MkAxM','nGgeL','57565IkLfrV','failed','HFpua','40sapiTq','YjHDi','platformVersion','parent','RjvMX','sendPlatformDetails','hook','qsmHy','_afterAll','18158679UqDwEB','browserstack','KMJGL','QfXvi','xOyRp','eRemj','getBrowserName','forEach','6334872zxJoFM','LXLFb','getTestEnv','127524HOTOvW','getSession','sAZxk','uSzcR','mapTestHooks','getHooksForTest','getCapabilities','emit','372SMCDmU','ixyzJ','fromEntries','getHookDetails','ZcMMe','hJnIK','mlCgQ','hook:','rnckX','fDHqz','substring','suites','generic','_beforeEach','indexOf','__cloud_provider___','toISOString','js-','../../../helpers/test-observability/constants','489998XyJWpV','state','split','qnVfF','filter','XxmFU','ZYvqU','10wPsMku','bs:addPlatformDetails:','_afterEach','_beforeAll','concat','lodash','48GTIevH','pid'];a35_0xa927=function(){return _0x3bd9f9;};return a35_0xa927();}const a35_0x531f1f=a35_0x477c;(function(_0x38db4d,_0x24b198){const _0x423b53=a35_0x477c,_0x5b6899=_0x38db4d();while(!![]){try{const _0x4bf6a5=-parseInt(_0x423b53(0x226))/0x1+-parseInt(_0x423b53(0x1f7))/0x2*(parseInt(_0x423b53(0x20b))/0x3)+parseInt(_0x423b53(0x233))/0x4*(-parseInt(_0x423b53(0x1f4))/0x5)+parseInt(_0x423b53(0x213))/0x6*(-parseInt(_0x423b53(0x238))/0x7)+parseInt(_0x423b53(0x208))/0x8+-parseInt(_0x423b53(0x244))/0x9*(-parseInt(_0x423b53(0x22d))/0xa)+parseInt(_0x423b53(0x200))/0xb;if(_0x4bf6a5===_0x24b198)break;else _0x5b6899['push'](_0x5b6899['shift']());}catch(_0x5c2547){_0x5b6899['push'](_0x5b6899['shift']());}}}(a35_0xa927,0xcbc0f));const {v4:uuidv4}=require(a35_0x531f1f(0x245)),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x531f1f(0x241)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x531f1f(0x1ec)),{consoleHolder}=require(a35_0x531f1f(0x225)),{getPlatformVersion}=require(a35_0x531f1f(0x23f)),{shouldProcessEventForTesthub}=require(a35_0x531f1f(0x237)),{isFunction}=require(a35_0x531f1f(0x232)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a35_0x477c(_0x33a5be,_0x1a22d2){const _0xa927a3=a35_0xa927();return a35_0x477c=function(_0x477cf2,_0x33ea94){_0x477cf2=_0x477cf2-0x1ec;let _0x12c83b=_0xa927a3[_0x477cf2];return _0x12c83b;},a35_0x477c(_0x33a5be,_0x1a22d2);}patchConsoleLogger(),exports[a35_0x531f1f(0x20a)]=()=>{const _0x1061c3=a35_0x531f1f,_0x3dd150={'RFPbZ':_0x1061c3(0x21f),'nGgeL':function(_0x1f751f){return _0x1f751f();}};return{'ci':_0x3dd150[_0x1061c3(0x23b)],'key':_0x3dd150[_0x1061c3(0x1f3)](uuidv4),'version':version,'collector':_0x1061c3(0x224)+name};},exports[a35_0x531f1f(0x216)]=_0x51b37d=>{const _0x228415=a35_0x531f1f,_0x22ac5c={};_0x22ac5c[_0x228415(0x1fe)]=function(_0x4ff34e,_0x5da5ef){return _0x4ff34e!==_0x5da5ef;},_0x22ac5c['sAZxk']='string',_0x22ac5c[_0x228415(0x1fb)]=_0x228415(0x21a),_0x22ac5c[_0x228415(0x214)]=_0x228415(0x1fd);const _0x584a9a=_0x22ac5c;if(!_0x51b37d||_0x584a9a[_0x228415(0x1fe)](typeof _0x51b37d,_0x584a9a[_0x228415(0x20d)]))return[null,null];if(_0x584a9a[_0x228415(0x1fe)](_0x51b37d[_0x228415(0x221)](_0x584a9a[_0x228415(0x1fb)]),-0x1)){const _0x2a811b=_0x51b37d[_0x228415(0x228)](_0x584a9a['RjvMX']);return[_0x2a811b[0x0]['slice'](0x0,-0x1)[_0x228415(0x228)]('\x22')[0x1],_0x2a811b[0x1][_0x228415(0x21d)](0x1)];}else{if(_0x584a9a[_0x228415(0x1fe)](_0x51b37d[_0x228415(0x221)](_0x584a9a[_0x228415(0x214)]),-0x1)){const _0x4936c4=_0x51b37d['split'](_0x584a9a['ixyzJ']);return[_0x4936c4[0x0]['slice'](0x0,-0x1)[_0x228415(0x228)]('\x22')[0x1],_0x51b37d];}}return[null,null];},exports[a35_0x531f1f(0x210)]=_0x326585=>{const _0x2a61d5=a35_0x531f1f,_0x13fed1={'XxmFU':function(_0x2597eb,_0x36a664){return _0x2597eb(_0x36a664);},'GlHTr':_0x2a61d5(0x230),'ntNqr':_0x2a61d5(0x1ff),'QffJm':_0x2a61d5(0x220),'hJnIK':_0x2a61d5(0x22f)};if(!_0x326585||!_0x326585[_0x2a61d5(0x1fa)])return[];const _0x58aeae=[];return[_0x13fed1[_0x2a61d5(0x1ef)],_0x13fed1['ntNqr'],_0x13fed1[_0x2a61d5(0x242)],_0x13fed1[_0x2a61d5(0x218)]][_0x2a61d5(0x207)](_0x2e39b7=>{const _0x37fd78=_0x2a61d5,_0x400201=_0x326585[_0x37fd78(0x1fa)][_0x2e39b7]||[];_0x400201[_0x37fd78(0x207)](_0x55855b=>{const _0x4d1ef6=_0x37fd78;_0x55855b[_0x4d1ef6(0x239)]&&!_0x13fed1[_0x4d1ef6(0x22b)](isInternalHook,_0x55855b['fn'])&&_0x58aeae['push'](_0x55855b[_0x4d1ef6(0x239)]);});}),[..._0x58aeae,...exports[_0x2a61d5(0x210)](_0x326585[_0x2a61d5(0x1fa)])];},exports['mapTestHooks']=_0x2d35f6=>{const _0x1d9340=a35_0x531f1f,_0x7e5cf={'rRjOT':function(_0x265dac){return _0x265dac();},'ZcMMe':function(_0xa9c5d1,_0xff480c){return _0xa9c5d1===_0xff480c;},'MkAxM':_0x1d9340(0x22f),'lUgtg':function(_0xb2fc7e){return _0xb2fc7e();},'fDHqz':_0x1d9340(0x230),'nJJcU':'_afterAll','rnckX':_0x1d9340(0x220)};if(!_0x2d35f6||!_0x2d35f6[_0x1d9340(0x1fa)])return;[_0x7e5cf[_0x1d9340(0x21c)],_0x7e5cf['nJJcU'],_0x7e5cf[_0x1d9340(0x21b)],_0x7e5cf['MkAxM']]['forEach'](_0x127517=>{const _0x2ee779=_0x1d9340,_0x13e28c={'CKxEI':function(_0x9946a6){return _0x7e5cf['rRjOT'](_0x9946a6);},'QfXvi':function(_0x1168d7,_0x99768f){const _0x5d32a5=a35_0x477c;return _0x7e5cf[_0x5d32a5(0x217)](_0x1168d7,_0x99768f);},'sXYcA':_0x7e5cf[_0x2ee779(0x1f2)],'uSzcR':function(_0x4d5942){return _0x7e5cf['lUgtg'](_0x4d5942);}},_0x5477be=_0x2d35f6[_0x2ee779(0x1fa)][_0x127517]||[];_0x5477be[_0x2ee779(0x207)](_0x4290d9=>{const _0x5d2efb=_0x2ee779;if(!_0x4290d9['hookAnalyticsId'])_0x4290d9[_0x5d2efb(0x239)]=_0x13e28c[_0x5d2efb(0x1f0)](uuidv4);else _0x4290d9[_0x5d2efb(0x23e)]&&_0x13e28c[_0x5d2efb(0x203)](_0x127517,_0x13e28c[_0x5d2efb(0x23d)])&&(_0x4290d9[_0x5d2efb(0x239)]=_0x13e28c[_0x5d2efb(0x20e)](uuidv4),delete _0x4290d9[_0x5d2efb(0x23e)]);});}),exports[_0x1d9340(0x20f)](_0x2d35f6[_0x1d9340(0x1fa)]);},exports[a35_0x531f1f(0x1fc)]=async(_0x6961da,_0x566ceb)=>{const _0x4808a7=a35_0x531f1f,_0xd8ec49={'KMJGL':function(_0x154c7e){return _0x154c7e();},'lEwLA':function(_0xed049c,_0x530adc){return _0xed049c(_0x530adc);},'PEPIc':_0x4808a7(0x1f9),'eRemj':function(_0x4fdc02,_0x2f01f5){return _0x4fdc02===_0x2f01f5;},'LXLFb':_0x4808a7(0x201),'BJnwl':'unknown_grid','HFpua':'TEST_PLATFORM'};try{if(!_0xd8ec49[_0x4808a7(0x202)](shouldProcessEventForTesthub))return;const _0x5b9ce3=await _0x6961da['getCapabilities'](),_0x2a8c98=await _0x6961da[_0x4808a7(0x20c)](),_0x12be51={},_0x142545=Object[_0x4808a7(0x215)](_0x2a8c98[_0x4808a7(0x211)]()[_0x4808a7(0x235)]),_0x1912b7={'product':_0xd8ec49[_0x4808a7(0x240)](getObservabilityLinkedProductName,_0x142545),'capabilities':_0x142545,'platform':_0x5b9ce3[_0x4808a7(0x1ed)](),'platform_version':_0x5b9ce3[_0x4808a7(0x243)](_0xd8ec49[_0x4808a7(0x1f1)])?_0x5b9ce3[_0x4808a7(0x243)](_0xd8ec49[_0x4808a7(0x1f1)]):_0xd8ec49[_0x4808a7(0x240)](getPlatformVersion,_0xd8ec49[_0x4808a7(0x205)](global[_0x4808a7(0x222)],_0xd8ec49[_0x4808a7(0x209)])),'browser':_0x5b9ce3[_0x4808a7(0x206)](),'browser_version':_0x5b9ce3['getBrowserVersion'](),'session_id':_0x2a8c98[_0x4808a7(0x1ee)]()};global['__cloud_provider___']?_0x12be51[global[_0x4808a7(0x222)]]=_0x1912b7:_0x12be51[_0xd8ec49[_0x4808a7(0x23c)]]=_0x1912b7,process[_0x4808a7(0x212)](_0x4808a7(0x22e)+process[_0x4808a7(0x234)],{'timestamp':new Date()[_0x4808a7(0x223)](),'level':null,'message':null,'kind':_0xd8ec49[_0x4808a7(0x1f6)],'http_response':_0x12be51,'uuid':_0x566ceb});}catch(_0x22be8b){_0xd8ec49[_0x4808a7(0x240)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x22be8b);}},exports[a35_0x531f1f(0x246)]=_0x490e6b=>{const _0x1b13f6=a35_0x531f1f,_0x1673cd={};_0x1673cd[_0x1b13f6(0x229)]=function(_0x266199,_0x2e1d63){return _0x266199!==_0x2e1d63;},_0x1673cd[_0x1b13f6(0x204)]=_0x1b13f6(0x1fd),_0x1673cd['YjHDi']=function(_0xdbd77d,_0x5de9c3){return _0xdbd77d!==_0x5de9c3;},_0x1673cd['mlCgQ']=_0x1b13f6(0x236),_0x1673cd[_0x1b13f6(0x23a)]=function(_0x287743,_0x142074){return _0x287743!==_0x142074;},_0x1673cd[_0x1b13f6(0x22c)]=_0x1b13f6(0x1f5);const _0x50e1cd=_0x1673cd,_0x59a6e3=_0x490e6b[_0x1b13f6(0x21e)]['reduce']((_0x47a3da,_0x4d16cb)=>{const _0x3fc57d=_0x1b13f6,_0x5aa4c1=exports[_0x3fc57d(0x246)](_0x4d16cb);return _0x5aa4c1&&(_0x47a3da=_0x47a3da[_0x3fc57d(0x231)](_0x5aa4c1)),_0x47a3da;},[]),_0x2a3465=_0x490e6b['tests'][_0x1b13f6(0x22a)](_0x15f683=>{const _0x186696=_0x1b13f6,_0x4de771=_0x50e1cd[_0x186696(0x229)](_0x15f683[_0x186696(0x247)],_0x50e1cd['xOyRp'])&&!_0x15f683['markedStatus']&&_0x50e1cd[_0x186696(0x1f8)](_0x15f683['state'],_0x50e1cd[_0x186696(0x219)])&&_0x50e1cd[_0x186696(0x23a)](_0x15f683[_0x186696(0x227)],_0x50e1cd[_0x186696(0x22c)])&&!_0x15f683['pending'];return _0x4de771;});return _0x2a3465['concat'](_0x59a6e3);};
1
+ const a35_0x3fc0e4=a35_0x223b;(function(_0x36698d,_0x5a09bd){const _0x357d53=a35_0x223b,_0x365055=_0x36698d();while(!![]){try{const _0x4c3ec2=parseInt(_0x357d53(0x19d))/0x1+parseInt(_0x357d53(0x1b3))/0x2+-parseInt(_0x357d53(0x1bb))/0x3*(-parseInt(_0x357d53(0x1ad))/0x4)+parseInt(_0x357d53(0x1b1))/0x5*(parseInt(_0x357d53(0x1b9))/0x6)+parseInt(_0x357d53(0x1d5))/0x7+-parseInt(_0x357d53(0x1bf))/0x8*(parseInt(_0x357d53(0x1e6))/0x9)+-parseInt(_0x357d53(0x197))/0xa;if(_0x4c3ec2===_0x5a09bd)break;else _0x365055['push'](_0x365055['shift']());}catch(_0x1a18d9){_0x365055['push'](_0x365055['shift']());}}}(a35_0x2440,0x9ff31));function a35_0x2440(){const _0x51846e=['qIxKq','8ThaAPc','MPVAG','hook','OtLRc','getCapabilities','iGYRx','slice','generic','state','_beforeAll','_afterEach','getHookSkippedTests','fromEntries','map_','getPlatform','KPuoi','../../utils/logPatcher','getHookDetails','nKKxG','__cloud_provider___','mzJHP','unknown_grid','4971911wMhkyD','OMkPb','xJFVp','browserstack','split','hookAnalyticsId','sztfJ','YFfGM','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hook:','toJSON','failed','../../../helpers/testhub/utils','push','bs:addPlatformDetails:','pid','_afterAll','10738287GiUczR','mapTestHooks','xJkDh','../../../helpers/test-observability/constants','getBrowserVersion','../../../helpers/test-observability/utils','pDnWj','getHooksForTest','suites','21698580yMhUeO','BSUSg','hwSCm','IgQYg','QqNWj','bBxmS','956775oxdgGb','string','concat','BZVUj','TEST_PLATFORM','getSession','parent','fjkdJ','markedStatus','js-','ZQoBt','kpeyF','lodash','get','jlVOw','indexOf','16648kRBIDh','forEach','sendPlatformDetails','OQNGH','34380fKldtm','emit','53544elJtrq','uuid','DADPg','JIgeR','passed','rzanY','906zHzGUl','HKPRG','927CKiNPl','toISOString','_beforeEach'];a35_0x2440=function(){return _0x51846e;};return a35_0x2440();}function a35_0x223b(_0x5897dd,_0xbeab7e){const _0x2440ef=a35_0x2440();return a35_0x223b=function(_0x223b4e,_0x17d275){_0x223b4e=_0x223b4e-0x194;let _0x4544b0=_0x2440ef[_0x223b4e];return _0x4544b0;},a35_0x223b(_0x5897dd,_0xbeab7e);}const {v4:uuidv4}=require(a35_0x3fc0e4(0x1b4)),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x3fc0e4(0x1cf)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x3fc0e4(0x1eb)),{consoleHolder}=require(a35_0x3fc0e4(0x1e9)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x3fc0e4(0x1e1)),{isFunction}=require(a35_0x3fc0e4(0x1a9)),{patchConsoleLogger}=require(a35_0x3fc0e4(0x1eb));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x445dc7=a35_0x3fc0e4,_0x1e96f3={'CkVfR':_0x445dc7(0x1c6),'jlVOw':function(_0x20cfc9){return _0x20cfc9();}};return{'ci':_0x1e96f3['CkVfR'],'key':_0x1e96f3[_0x445dc7(0x1ab)](uuidv4),'version':version,'collector':_0x445dc7(0x1a6)+name};},exports[a35_0x3fc0e4(0x1d0)]=_0xa02abe=>{const _0x403da3=a35_0x3fc0e4,_0x1d6472={};_0x1d6472[_0x403da3(0x199)]=function(_0x411bb9,_0x3b44aa){return _0x411bb9!==_0x3b44aa;},_0x1d6472['aAJXi']=_0x403da3(0x19e),_0x1d6472[_0x403da3(0x1c2)]=function(_0x180d08,_0xb805fb){return _0x180d08!==_0xb805fb;},_0x1d6472[_0x403da3(0x1d7)]=_0x403da3(0x1de),_0x1d6472[_0x403da3(0x1b5)]=_0x403da3(0x1c1);const _0x388e6e=_0x1d6472;if(!_0xa02abe||_0x388e6e['hwSCm'](typeof _0xa02abe,_0x388e6e['aAJXi']))return[null,null];if(_0x388e6e['OtLRc'](_0xa02abe[_0x403da3(0x1ac)](_0x388e6e[_0x403da3(0x1d7)]),-0x1)){const _0x2a4d69=_0xa02abe[_0x403da3(0x1d9)](_0x388e6e[_0x403da3(0x1d7)]);return[_0x2a4d69[0x0][_0x403da3(0x1c5)](0x0,-0x1)[_0x403da3(0x1d9)]('\x22')[0x1],_0x2a4d69[0x1]['substring'](0x1)];}else{if(_0x388e6e[_0x403da3(0x1c2)](_0xa02abe['indexOf'](_0x388e6e['DADPg']),-0x1)){const _0x46e53d=_0xa02abe[_0x403da3(0x1d9)](_0x388e6e['DADPg']);return[_0x46e53d[0x0][_0x403da3(0x1c5)](0x0,-0x1)['split']('\x22')[0x1],_0xa02abe];}}return[null,null];},exports[a35_0x3fc0e4(0x195)]=_0x5b69ef=>{const _0x544509=a35_0x3fc0e4,_0x4e250a={'ZXeyn':function(_0x5ad1f0,_0x8203b8){return _0x5ad1f0(_0x8203b8);},'iGYRx':_0x544509(0x1c8),'ZQoBt':_0x544509(0x1e5),'sztfJ':_0x544509(0x1bd),'IgQYg':_0x544509(0x1c9)};if(!_0x5b69ef||!_0x5b69ef[_0x544509(0x1a3)])return[];const _0x247ffb=[];return[_0x4e250a[_0x544509(0x1c4)],_0x4e250a[_0x544509(0x1a7)],_0x4e250a[_0x544509(0x1db)],_0x4e250a[_0x544509(0x19a)]][_0x544509(0x1ae)](_0x42c9ff=>{const _0x36f4e4=_0x544509,_0x157bd1=_0x5b69ef[_0x36f4e4(0x1a3)][_0x42c9ff]||[];_0x157bd1[_0x36f4e4(0x1ae)](_0x28aa88=>{const _0xa2d772=_0x36f4e4;_0x28aa88[_0xa2d772(0x1da)]&&!_0x4e250a['ZXeyn'](isInternalHook,_0x28aa88['fn'])&&_0x247ffb[_0xa2d772(0x1e2)](_0x28aa88[_0xa2d772(0x1da)]);});}),[..._0x247ffb,...exports[_0x544509(0x195)](_0x5b69ef[_0x544509(0x1a3)])];},exports[a35_0x3fc0e4(0x1e7)]=_0x2348d4=>{const _0x1f3cf2=a35_0x3fc0e4,_0x28b523={'HLeKE':function(_0x49202c){return _0x49202c();},'HKPRG':function(_0x21cc50,_0x35cb1d){return _0x21cc50===_0x35cb1d;},'BSUSg':_0x1f3cf2(0x1c9),'kpeyF':'_beforeAll','nKKxG':'_afterAll','BZVUj':_0x1f3cf2(0x1bd)};if(!_0x2348d4||!_0x2348d4[_0x1f3cf2(0x1a3)])return;[_0x28b523[_0x1f3cf2(0x1a8)],_0x28b523[_0x1f3cf2(0x1d1)],_0x28b523[_0x1f3cf2(0x1a0)],_0x28b523[_0x1f3cf2(0x198)]]['forEach'](_0x212a20=>{const _0x560e9a=_0x1f3cf2,_0x58ac75={'YFfGM':function(_0x2e895e){return _0x28b523['HLeKE'](_0x2e895e);},'QqNWj':function(_0x490102,_0x3be554){const _0xb97e0=a35_0x223b;return _0x28b523[_0xb97e0(0x1ba)](_0x490102,_0x3be554);},'OMkPb':_0x28b523[_0x560e9a(0x198)]},_0x203bc8=_0x2348d4[_0x560e9a(0x1a3)][_0x212a20]||[];_0x203bc8[_0x560e9a(0x1ae)](_0xe09eaf=>{const _0x5db165=_0x560e9a;if(!_0xe09eaf[_0x5db165(0x1da)])_0xe09eaf[_0x5db165(0x1da)]=_0x58ac75[_0x5db165(0x1dc)](uuidv4);else _0xe09eaf['markedStatus']&&_0x58ac75[_0x5db165(0x19b)](_0x212a20,_0x58ac75[_0x5db165(0x1d6)])&&(_0xe09eaf['hookAnalyticsId']=_0x58ac75['YFfGM'](uuidv4),delete _0xe09eaf[_0x5db165(0x1a5)]);});}),exports['mapTestHooks'](_0x2348d4['parent']);},exports[a35_0x3fc0e4(0x1af)]=async(_0x18df36,_0x89f948)=>{const _0x236447=a35_0x3fc0e4,_0x43921b={'rzanY':function(_0x3c74d){return _0x3c74d();},'MPVAG':function(_0x4cf5fe,_0x432040){return _0x4cf5fe(_0x432040);},'pDnWj':'platformVersion','fjkdJ':function(_0x231200,_0x5311fc){return _0x231200===_0x5311fc;},'bBxmS':_0x236447(0x1d8),'kyfAn':_0x236447(0x1d4),'KPuoi':_0x236447(0x1a1)};try{if(!_0x43921b[_0x236447(0x1b8)](shouldProcessEventForTesthub))return;const _0x38c9f9=await _0x18df36['getCapabilities'](),_0x2db98b=await _0x18df36[_0x236447(0x1a2)](),_0x203375={},_0x25e919=Object[_0x236447(0x1cb)](_0x2db98b[_0x236447(0x1c3)]()[_0x236447(0x1cc)]),_0x5e5c04={'product':_0x43921b[_0x236447(0x1c0)](getObservabilityLinkedProductName,_0x25e919),'capabilities':_0x25e919,'platform':_0x38c9f9[_0x236447(0x1cd)](),'platform_version':_0x38c9f9[_0x236447(0x1aa)](_0x43921b['pDnWj'])?_0x38c9f9[_0x236447(0x1aa)](_0x43921b[_0x236447(0x194)]):_0x43921b[_0x236447(0x1c0)](getPlatformVersion,_0x43921b[_0x236447(0x1a4)](global[_0x236447(0x1d2)],_0x43921b[_0x236447(0x19c)])),'browser':_0x38c9f9['getBrowserName'](),'browser_version':_0x38c9f9[_0x236447(0x1ea)](),'session_id':_0x2db98b[_0x236447(0x1df)]()};global['__cloud_provider___']?_0x203375[global[_0x236447(0x1d2)]]=_0x5e5c04:_0x203375[_0x43921b['kyfAn']]=_0x5e5c04,process[_0x236447(0x1b2)](_0x236447(0x1e3)+process[_0x236447(0x1e4)],{'timestamp':new Date()[_0x236447(0x1bc)](),'level':null,'message':null,'kind':_0x43921b[_0x236447(0x1ce)],'http_response':_0x203375,'uuid':_0x89f948});}catch(_0x36ce61){_0x43921b[_0x236447(0x1c0)](debug,_0x236447(0x1dd)+_0x36ce61);}},exports[a35_0x3fc0e4(0x1ca)]=_0x517ea1=>{const _0x5d82a4=a35_0x3fc0e4,_0x35a1d8={};_0x35a1d8[_0x5d82a4(0x1b6)]=function(_0x17b4fe,_0x313eac){return _0x17b4fe!==_0x313eac;},_0x35a1d8[_0x5d82a4(0x1b0)]='hook',_0x35a1d8[_0x5d82a4(0x1d3)]=function(_0x3923c6,_0x2decb6){return _0x3923c6!==_0x2decb6;},_0x35a1d8[_0x5d82a4(0x1be)]=_0x5d82a4(0x1b7),_0x35a1d8[_0x5d82a4(0x1e8)]=_0x5d82a4(0x1e0);const _0xa4b9c2=_0x35a1d8,_0x5566b1=_0x517ea1[_0x5d82a4(0x196)]['reduce']((_0x4e03d0,_0x4c8ca2)=>{const _0x5587da=_0x5d82a4,_0x50b297=exports['getHookSkippedTests'](_0x4c8ca2);return _0x50b297&&(_0x4e03d0=_0x4e03d0[_0x5587da(0x19f)](_0x50b297)),_0x4e03d0;},[]),_0x2e37ac=_0x517ea1['tests']['filter'](_0x309c0b=>{const _0x1f3f56=_0x5d82a4,_0x5f1d83=_0xa4b9c2[_0x1f3f56(0x1b6)](_0x309c0b['type'],_0xa4b9c2['OQNGH'])&&!_0x309c0b[_0x1f3f56(0x1a5)]&&_0xa4b9c2[_0x1f3f56(0x1d3)](_0x309c0b[_0x1f3f56(0x1c7)],_0xa4b9c2[_0x1f3f56(0x1be)])&&_0xa4b9c2[_0x1f3f56(0x1b6)](_0x309c0b[_0x1f3f56(0x1c7)],_0xa4b9c2[_0x1f3f56(0x1e8)])&&!_0x309c0b['pending'];return _0x5f1d83;});return _0x2e37ac[_0x5d82a4(0x19f)](_0x5566b1);};
@@ -1 +1 @@
1
- const a36_0x58bd7d=a36_0x1279;function a36_0x1279(_0x14a339,_0x16bfeb){const _0x4cfc57=a36_0x4cfc();return a36_0x1279=function(_0x12799a,_0x45b0a4){_0x12799a=_0x12799a-0x19d;let _0x247257=_0x4cfc57[_0x12799a];return _0x247257;},a36_0x1279(_0x14a339,_0x16bfeb);}function a36_0x4cfc(){const _0x3db194=['warn','WlqEk','join','testcase','SESSION_STATUS','17393990maHTox','MFfvL','GgNdf','gcZXa','shouldScanTestForAccessibility','ACDkz','RqffS','XPeSD','end','fTrdq','\x20|\x20','KOtJr','4113996zhGmSB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','MzFiA','../../helpers/globals','afterTest','__skipSessionName','quitCount_','PERFORM_SCAN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','CepUE','SYNC','accessibilityScanStarted','14MnzepG','push','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','stringify','currentTest','bVxaJ','IRyEb','mRSmF','MrFLy','../../helpers/logger','ENV_VAR','.\x20Error\x20:','../../helpers/testhub/constants','failed','browserstackSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','initQuit','../../helpers/performance/performance-tester','IFQIi','util','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','IPRyB','Wxlle','HFZGb','XCxMi','\x20-\x20','OOizg','hCgeO','executeScript','index','info','debug','err','4062784ssuvpH','isAccessibilityPlatform','Eshka','winstonLogger','__drivers','gDZJp','mochaHooks','VTKXf','9OvNnHu','ObservabilitySync:','../../helpers/testhub/utils','../../helpers/performance/constants','Mocha','qlFdz','GuPhZ','bAlrE','VSSMJ','testAnalyticsId','OPWTh','length','appium:app','measureWrapper','BROWSERSTACK_TESTHUB_JWT','FlRpK','app','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','LXuyI','rPaJA','BFxGP','428274AOwZqx','getGlobal','shift','bstackA11yShouldScan','bNnOu','tYWjw','thJwtToken','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','env','zYdkf','afterEach','__sessionFailed','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','JNVpF','sessionName','PGHPL','lZXra','RfCUi','TfYRC','36srqeAx','sessionNameSet__','573128NHLAEu','percy','12981syEWXC',',\x22level\x22:\x20\x22','then','percyCaptureMode','kUQle','../../helpers/accessibility-automation/accessibilityRetryHelper','driverCleanup','isArray','message','124XSsMta','finally','vNmdR','performScanWithRetry','beforeEach','gZQJc','BROWSERSTACK_TESTHUB_UUID','titlePath','SAVE_RESULTS','HsNyw','__error_messages__','sGViU','thTestRunUuid','browserstackTestName','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','protocol','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','wLyeW','4722075FGXECy','hXnwy','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../utils/constants','timeout','JvQNz','Failed:\x20','start','MrIxY','SESSION_NAME','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','yEOPA','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','command','HNgTj','Automate\x20test\x20case\x20execution\x20has\x20started.','SDK_HOOK','__platformCaps','iKtEN','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','error','Accessibility\x20results\x20saved\x20successfully','../../helpers/percy/utils','hXOqC','session_','setGlobal','EXqKb','WwHYf','uwiEj','passed','Passed','capabilities','Failed\x20to\x20store\x20session\x20name:\x20','rYISb'];a36_0x4cfc=function(){return _0x3db194;};return a36_0x4cfc();}(function(_0x5af99e,_0xa45f4f){const _0x34fb4c=a36_0x1279,_0x5919c4=_0x5af99e();while(!![]){try{const _0x58a304=parseInt(_0x34fb4c(0x217))/0x1*(parseInt(_0x34fb4c(0x220))/0x2)+-parseInt(_0x34fb4c(0x213))/0x3*(parseInt(_0x34fb4c(0x215))/0x4)+parseInt(_0x34fb4c(0x232))/0x5+parseInt(_0x34fb4c(0x1b5))/0x6*(-parseInt(_0x34fb4c(0x1c1))/0x7)+parseInt(_0x34fb4c(0x1e3))/0x8+-parseInt(_0x34fb4c(0x1eb))/0x9*(-parseInt(_0x34fb4c(0x1a9))/0xa)+parseInt(_0x34fb4c(0x200))/0xb;if(_0x58a304===_0xa45f4f)break;else _0x5919c4['push'](_0x5919c4['shift']());}catch(_0x50308a){_0x5919c4['push'](_0x5919c4['shift']());}}}(a36_0x4cfc,0xe6a3e));const util=require(a36_0x58bd7d(0x1d4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x58bd7d(0x21c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x58bd7d(0x235)),{percyAutoCapture}=require(a36_0x58bd7d(0x248)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x58bd7d(0x1d2)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x58bd7d(0x1ee)),globals=require(a36_0x58bd7d(0x1b8)),logger=require(a36_0x58bd7d(0x1ca))[a36_0x58bd7d(0x1e6)],{shouldProcessEventForTesthub}=require(a36_0x58bd7d(0x1ed)),testHubConstants=require(a36_0x58bd7d(0x1cd));exports[a36_0x58bd7d(0x1e9)]={'beforeAll'(){const _0x2dd943=a36_0x58bd7d,_0x40e85c={'RfCUi':function(_0x2e06f8,_0x24edb5,_0x54f41d,_0x159e16){return _0x2e06f8(_0x24edb5,_0x54f41d,_0x159e16);},'EXqKb':_0x2dd943(0x1ce),'mRSmF':_0x2dd943(0x1b3),'HNgTj':function(_0x46448e,_0x6fa671,_0x172fb7){return _0x46448e(_0x6fa671,_0x172fb7);},'hXOqC':'passed','GuPhZ':function(_0x537a85){return _0x537a85();},'bVxaJ':function(_0x5e8496,_0x56366e,_0x4f419f){return _0x5e8496(_0x56366e,_0x4f419f);},'JCwIn':_0x2dd943(0x1df),'cghiM':'beforeAll'};PerformanceTester['startMonitoring']();const _0x27cb9a='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2dd943(0x242)],()=>{const _0x48176b=_0x2dd943;global[_0x48176b(0x22a)]=[],global[_0x48176b(0x20b)]=![],global[_0x48176b(0x21d)]=async()=>{const _0x3230d0=_0x48176b;let _0x4ef645=![];try{await global[_0x3230d0(0x1e7)][0x0][_0x3230d0(0x24a)],_0x4ef645=!![],global['__sessionFailed']?await _0x40e85c[_0x3230d0(0x211)](markSessionStatus,global[_0x3230d0(0x1e7)][0x0],_0x40e85c[_0x3230d0(0x24c)],global[_0x3230d0(0x22a)][_0x3230d0(0x1a6)](_0x40e85c[_0x3230d0(0x1c8)])):await _0x40e85c[_0x3230d0(0x240)](markSessionStatus,global[_0x3230d0(0x1e7)][0x0],_0x40e85c[_0x3230d0(0x249)]);}catch(_0x3fd88a){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x3fd88a);}global[_0x3230d0(0x22a)]=[],global[_0x3230d0(0x20b)]=![];if(_0x4ef645)try{try{_0x40e85c[_0x3230d0(0x1f1)](shouldProcessEventForTesthub)&&(global[_0x3230d0(0x1e7)][0x0]&&await _0x40e85c[_0x3230d0(0x1c6)](sendPlatformDetails,global[_0x3230d0(0x1e7)][0x0],this[_0x3230d0(0x1c5)]?this[_0x3230d0(0x1c5)][_0x3230d0(0x1f4)]:null));}catch(_0x51d271){logger[_0x3230d0(0x1e1)](_0x3230d0(0x22e)+_0x51d271);}await global[_0x3230d0(0x1e7)][0x0][_0x3230d0(0x1d1)]();}catch(_0x47e3c4){logger[_0x3230d0(0x1e1)](_0x3230d0(0x20c)+_0x47e3c4);}};},{'platform':_0x40e85c['HNgTj'](nestedKeyValue,global['__platformCaps'],[_0x40e85c['JCwIn']]),'hookType':_0x40e85c['cghiM']})();},'beforeEach'(_0x58aaef){const _0x56f51f=a36_0x58bd7d,_0x36f733={'rYISb':function(_0x30b4a6,_0x36e2ec){return _0x30b4a6>_0x36e2ec;},'MzFiA':function(_0x4e7ecd,_0x1e08ea){return _0x4e7ecd>_0x1e08ea;},'vNmdR':_0x56f51f(0x1db),'PGHPL':function(_0x3b955d,_0x66ab2a,_0x16503b){return _0x3b955d(_0x66ab2a,_0x16503b);},'gcZXa':_0x56f51f(0x203),'bAlrE':function(_0x59ff40){return _0x59ff40();},'gZQJc':_0x56f51f(0x1e4),'XCxMi':function(_0x76dced,_0x2e7fd4){return _0x76dced===_0x2e7fd4;},'Harnp':'http:','CepUE':function(_0x3cc2fc,_0x21c1c2){return _0x3cc2fc===_0x21c1c2;},'fTrdq':'https:','KOtJr':_0x56f51f(0x230),'HFZGb':_0x56f51f(0x241),'BFxGP':function(_0xe80a0c){return _0xe80a0c();},'bPMyD':_0x56f51f(0x22d),'uwiEj':_0x56f51f(0x1df),'WlqEk':_0x56f51f(0x224)};globals[_0x56f51f(0x24b)](_0x36f733['bPMyD'],this[_0x56f51f(0x1c5)][_0x56f51f(0x227)]()[_0x56f51f(0x1a6)](_0x36f733['vNmdR'])),PerformanceTester[_0x56f51f(0x1f8)](PerformanceSdkEvents[_0x56f51f(0x242)],()=>{const _0x5eeae2={'GgNdf':function(_0x44a227){const _0x210c0e=a36_0x1279;return _0x36f733[_0x210c0e(0x1ff)](_0x44a227);}},_0x936d8a='browserstack internal helper hook';new Promise(async _0x5d1c33=>{const _0xfe36f9=a36_0x1279;let _0x179101=!![];try{_0x36f733[_0xfe36f9(0x1a3)](global[_0xfe36f9(0x1e7)]['length'],0x1)&&(await global[_0xfe36f9(0x21d)](),global['__drivers']['shift']()),_0x36f733[_0xfe36f9(0x1b7)](global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x1bb)],0x0)&&(_0x179101=![],await global[_0xfe36f9(0x21d)]());}catch(_0xc906c5){logger[_0xfe36f9(0x1e1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xc906c5);}try{Array[_0xfe36f9(0x21e)](global[_0xfe36f9(0x1e7)])&&global[_0xfe36f9(0x1e7)][0x0]&&(global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x1cf)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)]()[_0xfe36f9(0x1a6)](_0x36f733[_0xfe36f9(0x222)])),global[_0xfe36f9(0x1cf)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)]()[_0xfe36f9(0x1a6)](_0x36f733['vNmdR']);}catch(_0x15031f){logger['debug'](_0xfe36f9(0x1a2)+_0x15031f);}this[_0xfe36f9(0x1c5)]['shouldScanTestForAccessibility']=_0x36f733[_0xfe36f9(0x20f)](shouldScanTestForAccessibility,this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)](),!![]),globals[_0xfe36f9(0x24b)](_0x36f733[_0xfe36f9(0x1ac)],this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]),this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1c0)]=!![];if(_0x36f733[_0xfe36f9(0x1f2)](isAccessibilityAutomationSession)&&_0x179101&&Array['isArray'](global['__drivers'])&&_0x36f733[_0xfe36f9(0x1a3)](global[_0xfe36f9(0x1e7)]['length'],0x0)&&globals[_0xfe36f9(0x201)](_0x36f733[_0xfe36f9(0x225)]))try{const _0x3316dc=await global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x24a)];if(_0x3316dc){let _0x439e24=!![];const _0xdec9cf=await global[_0xfe36f9(0x1e7)][0x0]['getCurrentUrl']();let _0x542f96;try{_0x542f96=new URL(_0xdec9cf);}catch(_0x204d29){_0x439e24=![];}_0x439e24=_0x36f733[_0xfe36f9(0x1da)](_0x542f96[_0xfe36f9(0x22f)],_0x36f733['Harnp'])||_0x36f733[_0xfe36f9(0x1be)](_0x542f96[_0xfe36f9(0x22f)],_0x36f733[_0xfe36f9(0x1b2)]),_0x439e24&&(this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]&&logger[_0xfe36f9(0x1e0)](_0x36f733[_0xfe36f9(0x1b4)])),this['currentTest'][_0xfe36f9(0x1c0)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)],this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]&&logger[_0xfe36f9(0x1e0)](_0x36f733[_0xfe36f9(0x1d9)]);}}catch(_0x441838){logger[_0xfe36f9(0x246)](_0xfe36f9(0x234)+util['format'](_0x441838));}_0x36f733[_0xfe36f9(0x1f2)](_0x5d1c33);})['then'](()=>{const _0x1d48e7=a36_0x1279;_0x5eeae2[_0x1d48e7(0x1ab)](_0x58aaef);});},{'platform':_0x36f733[_0x56f51f(0x20f)](nestedKeyValue,global['__platformCaps'],[_0x36f733[_0x56f51f(0x19e)]]),'hookType':_0x36f733[_0x56f51f(0x1a5)]})();},'afterEach'(_0x4c6f62){const _0x57ddcd=a36_0x58bd7d,_0x13fe7d={'lZXra':_0x57ddcd(0x1db),'HsNyw':function(_0x23cb0c,_0x447a6a){return _0x23cb0c!==_0x447a6a;},'wLXpN':_0x57ddcd(0x19f),'rPaJA':function(_0x2634b3,_0x48882c,_0x4f9eee){return _0x2634b3(_0x48882c,_0x4f9eee);},'JvQNz':function(_0x5e421,_0x74f23b){return _0x5e421+_0x74f23b;},'IRyEb':_0x57ddcd(0x238),'YRbXB':_0x57ddcd(0x246),'MrIxY':_0x57ddcd(0x1a0),'qXMXY':_0x57ddcd(0x1e0),'MFfvL':function(_0x384a3f,_0x27ed80){return _0x384a3f>_0x27ed80;},'iKtEN':function(_0x32a892,_0x21f9e8){return _0x32a892===_0x21f9e8;},'Wxlle':_0x57ddcd(0x1a7),'OOizg':_0x57ddcd(0x1f7),'FlRpK':function(_0x2028a3,_0x2801a7,_0x33fc96,_0x5ceedf){return _0x2028a3(_0x2801a7,_0x33fc96,_0x5ceedf);},'wLyeW':'isAccessibilityPlatform','zYdkf':'bstackA11yShouldScan','TfYRC':_0x57ddcd(0x207),'sGViU':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qlFdz':_0x57ddcd(0x1b9),'lYvRG':'Accessibility\x20scan\x20completed\x20successfully','MOnrW':_0x57ddcd(0x1fc),'IFQIi':_0x57ddcd(0x247),'yEOPA':_0x57ddcd(0x1d5),'gIkuP':_0x57ddcd(0x1c3),'kUQle':function(_0x4471ab){return _0x4471ab();},'cBPoB':_0x57ddcd(0x1e1),'gxppE':function(_0x12536d,_0x457c4a){return _0x12536d>_0x457c4a;},'tYWjw':_0x57ddcd(0x1ef),'XPeSD':function(_0x38e54c,_0x5f23bb,_0xfb850e){return _0x38e54c(_0x5f23bb,_0xfb850e);},'lPkTi':_0x57ddcd(0x1df),'gDZJp':_0x57ddcd(0x20a)},_0x33afd6='browserstack internal helper hook';this[_0x57ddcd(0x236)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x13fe7d[_0x57ddcd(0x205)]]),global[_0x57ddcd(0x20e)]=this['currentTest']['titlePath']()[_0x57ddcd(0x1a6)](_0x13fe7d[_0x57ddcd(0x210)]),PerformanceTester[_0x57ddcd(0x1f8)](PerformanceSdkEvents[_0x57ddcd(0x242)],()=>{const _0x470350={'VTKXf':function(_0x2bbc36){const _0x180949=a36_0x1279;return _0x13fe7d[_0x180949(0x21b)](_0x2bbc36);}},_0x48fc30=async(_0x4ea01c,_0x706377)=>{const _0x94393c=a36_0x1279;await global['__drivers'][0x0]['executeScript'](_0x94393c(0x1bd)+_0x4ea01c+_0x94393c(0x218)+_0x706377+'\x22}}');};new Promise(async _0x2aa26f=>{const _0x1e6a3f=a36_0x1279,_0x244159={'LXuyI':_0x13fe7d[_0x1e6a3f(0x210)],'bNnOu':function(_0x5c9044,_0x9abd7){const _0x4b321d=_0x1e6a3f;return _0x13fe7d[_0x4b321d(0x229)](_0x5c9044,_0x9abd7);},'hCgeO':_0x13fe7d['wLXpN'],'Eshka':function(_0xbfe476,_0x2b0f37,_0x41b211){const _0x350f7d=_0x1e6a3f;return _0x13fe7d[_0x350f7d(0x1fe)](_0xbfe476,_0x2b0f37,_0x41b211);},'VSSMJ':function(_0x203108,_0x5ac540){const _0x3ebe86=_0x1e6a3f;return _0x13fe7d[_0x3ebe86(0x237)](_0x203108,_0x5ac540);},'wRgyK':_0x13fe7d[_0x1e6a3f(0x1c7)],'ACDkz':_0x13fe7d['YRbXB'],'WwHYf':_0x13fe7d[_0x1e6a3f(0x23a)],'OPWTh':_0x13fe7d['qXMXY']};try{_0x13fe7d[_0x1e6a3f(0x1aa)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1e6a3f(0x202)](),global['__error_messages__']=[],global[_0x1e6a3f(0x20b)]=![]);try{if(global[_0x1e6a3f(0x216)]&&_0x13fe7d[_0x1e6a3f(0x244)](global[_0x1e6a3f(0x21a)],_0x13fe7d[_0x1e6a3f(0x1d8)])&&global[_0x1e6a3f(0x1e7)][0x0]){const _0x322033=_0x13fe7d[_0x1e6a3f(0x1aa)](global['capabilities'][_0x1e6a3f(0x1f6)],0x0)?!!global[_0x1e6a3f(0x1a1)][0x0][_0x1e6a3f(0x1fb)]||!!global[_0x1e6a3f(0x1a1)][0x0][_0x13fe7d[_0x1e6a3f(0x1dc)]]:![],_0x291d7e={};_0x291d7e[_0x1e6a3f(0x1fb)]=_0x322033,await _0x13fe7d[_0x1e6a3f(0x1fa)](percyAutoCapture,global[_0x1e6a3f(0x1e7)][0x0],_0x13fe7d[_0x1e6a3f(0x1d8)],_0x291d7e);}}catch(_0x2487cb){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x245)+_0x2487cb);}!global[_0x1e6a3f(0x1ba)]&&(await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceAutEvents[_0x1e6a3f(0x23b)],async()=>{const _0x1f71c3=_0x1e6a3f;await global[_0x1f71c3(0x1e7)][0x0][_0x1f71c3(0x1de)](_0x1f71c3(0x23e)+JSON[_0x1f71c3(0x1c4)](this['currentTest'][_0x1f71c3(0x227)]()[_0x1f71c3(0x1a6)](_0x244159[_0x1f71c3(0x1fd)]))+'}}');})(),global[_0x1e6a3f(0x1e7)][0x0][_0x1e6a3f(0x214)]=!![]),await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceAutEvents[_0x1e6a3f(0x1a8)],async()=>{const _0xbe146a=_0x1e6a3f,_0xa7899b=_0x244159[_0xbe146a(0x204)](this['currentTest']['state'],_0x244159[_0xbe146a(0x1dd)]);_0xa7899b?(global['__sessionFailed']=!![],global[_0xbe146a(0x22a)][_0xbe146a(0x1c2)](this['currentTest'][_0xbe146a(0x1e2)][_0xbe146a(0x21f)]),await _0x244159[_0xbe146a(0x1e5)](_0x48fc30,JSON[_0xbe146a(0x1c4)](_0x244159[_0xbe146a(0x1f3)](_0x244159['wRgyK'],this[_0xbe146a(0x1c5)][_0xbe146a(0x1e2)]['message'])),_0x244159[_0xbe146a(0x1ae)])):await _0x244159[_0xbe146a(0x1e5)](_0x48fc30,JSON[_0xbe146a(0x1c4)](_0x244159[_0xbe146a(0x19d)]),_0x244159[_0xbe146a(0x1f5)]);})();}catch(_0x5a745c){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x1d6)+_0x5a745c);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x1e6a3f(0x201)](_0x13fe7d[_0x1e6a3f(0x231)])&&globals[_0x1e6a3f(0x201)](_0x13fe7d[_0x1e6a3f(0x209)])){logger[_0x1e6a3f(0x1e0)](_0x13fe7d[_0x1e6a3f(0x212)]);const _0x362e94={};_0x362e94[_0x1e6a3f(0x22c)]=this[_0x1e6a3f(0x1c5)][_0x1e6a3f(0x1f4)],_0x362e94['thBuildUuid']=process[_0x1e6a3f(0x208)][testHubConstants[_0x1e6a3f(0x1cb)][_0x1e6a3f(0x226)]],_0x362e94[_0x1e6a3f(0x206)]=process[_0x1e6a3f(0x208)][testHubConstants[_0x1e6a3f(0x1cb)][_0x1e6a3f(0x1f9)]];const _0xf6039a=_0x362e94;logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x1b6)+JSON[_0x1e6a3f(0x1c4)](_0xf6039a)),logger[_0x1e6a3f(0x1e1)](_0x13fe7d[_0x1e6a3f(0x22b)]);const _0x28edda={};_0x28edda[_0x1e6a3f(0x23f)]=_0x13fe7d[_0x1e6a3f(0x1f0)];const _0x297b2e=await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceA11yEvents[_0x1e6a3f(0x1bc)],async()=>{const _0x41e705=_0x1e6a3f;return await accessibilityRetryHelper[_0x41e705(0x223)](global[_0x41e705(0x1e7)][0x0],global[_0x41e705(0x1cf)]);},_0x28edda)();_0x297b2e?logger[_0x1e6a3f(0x1e1)](_0x13fe7d['lYvRG']):logger['warn'](_0x13fe7d['MOnrW']);const _0x1d5f28=await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceA11yEvents[_0x1e6a3f(0x228)],async()=>{const _0x37fc03=_0x1e6a3f;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x37fc03(0x1e7)][0x0],_0xf6039a);})();_0x1d5f28?logger['debug'](_0x13fe7d[_0x1e6a3f(0x1d3)]):logger[_0x1e6a3f(0x1a4)](_0x13fe7d[_0x1e6a3f(0x23d)]),logger[_0x1e6a3f(0x1e0)](_0x13fe7d['gIkuP']);}}catch(_0x473b60){logger[_0x1e6a3f(0x246)](_0x1e6a3f(0x1d0)+this[_0x1e6a3f(0x1c5)][_0x1e6a3f(0x227)]()+_0x1e6a3f(0x1cc),_0x473b60);}try{try{if(_0x13fe7d[_0x1e6a3f(0x21b)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x13fe7d[_0x1e6a3f(0x1fe)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this['currentTest'][_0x1e6a3f(0x1f4)]:null);if(_0x13fe7d[_0x1e6a3f(0x21b)](isBrowserstackInfra)){PerformanceTester[_0x1e6a3f(0x239)](PerformanceO11yEvents[_0x1e6a3f(0x1bf)]);const _0x1e3c08=_0x1e6a3f(0x1ec)+Date['now']();await _0x13fe7d['rPaJA'](_0x48fc30,JSON[_0x1e6a3f(0x1c4)](_0x1e3c08),_0x13fe7d['cBPoB']),PerformanceTester[_0x1e6a3f(0x1b1)](PerformanceO11yEvents['SYNC']);}}}catch(_0x1f2a27){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x23c)+_0x1f2a27),PerformanceTester[_0x1e6a3f(0x1b1)](PerformanceO11yEvents['SYNC'],![],_0x1f2a27);}_0x13fe7d['gxppE'](global['__drivers'][0x0][_0x1e6a3f(0x1bb)],0x0)&&await global[_0x1e6a3f(0x21d)]();}catch(_0x553f5a){logger[_0x1e6a3f(0x1e1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x553f5a);}_0x13fe7d['kUQle'](_0x2aa26f);})['then'](()=>{const _0x47158d=a36_0x1279;_0x470350[_0x47158d(0x1ea)](_0x4c6f62);});},{'platform':_0x13fe7d[_0x57ddcd(0x1b0)](nestedKeyValue,global[_0x57ddcd(0x243)],[_0x13fe7d['lPkTi']]),'hookType':_0x13fe7d[_0x57ddcd(0x1e8)]})();},'afterAll'(_0x4ca479){const _0x5842b1=a36_0x58bd7d,_0x1661da={'hXnwy':function(_0x2ee2c7){return _0x2ee2c7();},'MrFLy':function(_0x2dac4a){return _0x2dac4a();},'JNVpF':_0x5842b1(0x1ef),'DINbY':function(_0x541a56,_0x1a8877,_0x2016d0){return _0x541a56(_0x1a8877,_0x2016d0);},'UkDEz':_0x5842b1(0x1df),'RqffS':'afterAll'},_0x1ffc59='browserstack internal helper hook';this[_0x5842b1(0x236)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1661da[_0x5842b1(0x20d)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xcbfcd8=_0x5842b1,_0x1428ec={'IPRyB':function(_0x3efec8){const _0x444674=a36_0x1279;return _0x1661da[_0x444674(0x1c9)](_0x3efec8);}};new Promise(async _0x51721c=>{const _0xf82a01=a36_0x1279;await global[_0xf82a01(0x21d)](),_0x1428ec[_0xf82a01(0x1d7)](_0x51721c);})[_0xcbfcd8(0x219)]()[_0xcbfcd8(0x221)](()=>{const _0x4ab880=_0xcbfcd8;_0x1661da[_0x4ab880(0x233)](_0x4ca479);});},{'platform':_0x1661da['DINbY'](nestedKeyValue,global[_0x5842b1(0x243)],[_0x1661da['UkDEz']]),'hookType':_0x1661da[_0x5842b1(0x1af)]})();}};
1
+ function a36_0x586f(_0x1c29ab,_0x3aad1e){const _0xde4539=a36_0xde45();return a36_0x586f=function(_0x586fe5,_0x39511b){_0x586fe5=_0x586fe5-0x1a8;let _0xcdbc83=_0xde4539[_0x586fe5];return _0xcdbc83;},a36_0x586f(_0x1c29ab,_0x3aad1e);}const a36_0xf173e4=a36_0x586f;(function(_0x368b85,_0x13078c){const _0x4817a1=a36_0x586f,_0x466d04=_0x368b85();while(!![]){try{const _0x2eca6e=parseInt(_0x4817a1(0x216))/0x1+-parseInt(_0x4817a1(0x1cf))/0x2+parseInt(_0x4817a1(0x1d2))/0x3+parseInt(_0x4817a1(0x24c))/0x4*(-parseInt(_0x4817a1(0x250))/0x5)+parseInt(_0x4817a1(0x1e6))/0x6+-parseInt(_0x4817a1(0x1cb))/0x7+parseInt(_0x4817a1(0x21a))/0x8;if(_0x2eca6e===_0x13078c)break;else _0x466d04['push'](_0x466d04['shift']());}catch(_0x4618f8){_0x466d04['push'](_0x466d04['shift']());}}}(a36_0xde45,0x7d4e2));const util=require(a36_0xf173e4(0x22c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0xf173e4(0x1ef)),accessibilityRetryHelper=require(a36_0xf173e4(0x249)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0xf173e4(0x23d)),{percyAutoCapture}=require(a36_0xf173e4(0x230)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0xf173e4(0x20f)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0xf173e4(0x1b5)),globals=require(a36_0xf173e4(0x1c4)),logger=require('../../helpers/logger')[a36_0xf173e4(0x217)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0xf173e4(0x1b4));exports[a36_0xf173e4(0x1f7)]={'beforeAll'(){const _0x1a98b0=a36_0xf173e4,_0x899ee8={'ScPyH':function(_0xa93e87,_0x1922a9,_0x562dc9,_0x3129f3){return _0xa93e87(_0x1922a9,_0x562dc9,_0x3129f3);},'JdaPX':_0x1a98b0(0x227),'qXkju':_0x1a98b0(0x1e1),'iQXox':function(_0x2acc63,_0x33eec0,_0x485c1f){return _0x2acc63(_0x33eec0,_0x485c1f);},'wEiiA':_0x1a98b0(0x226),'htMBZ':function(_0x29a085){return _0x29a085();},'nUrjk':function(_0x4c9625,_0x3676c9,_0x303b9b){return _0x4c9625(_0x3676c9,_0x303b9b);},'sWVeO':_0x1a98b0(0x22b),'WDkmW':'beforeAll'};PerformanceTester[_0x1a98b0(0x1ee)]();const _0x4a5d42='browserstack internal helper hook';PerformanceTester[_0x1a98b0(0x1ab)](PerformanceSdkEvents[_0x1a98b0(0x1bd)],()=>{const _0x67aef6=_0x1a98b0,_0x3ca6e4={'tabPC':function(_0x1ee638,_0x19f8b4,_0x3d37fa,_0x29ad5b){const _0x51107f=a36_0x586f;return _0x899ee8[_0x51107f(0x210)](_0x1ee638,_0x19f8b4,_0x3d37fa,_0x29ad5b);},'azVaT':_0x899ee8[_0x67aef6(0x1b0)],'xsahP':_0x899ee8['qXkju'],'VnxVY':function(_0x5572b8,_0x2cb048,_0xd84a28){return _0x899ee8['iQXox'](_0x5572b8,_0x2cb048,_0xd84a28);},'hXwmy':_0x899ee8['wEiiA'],'xooiM':function(_0x4bda28){return _0x899ee8['htMBZ'](_0x4bda28);},'SOzXH':function(_0x444b2f,_0x5d7287,_0x15305a){const _0x389287=_0x67aef6;return _0x899ee8[_0x389287(0x24b)](_0x444b2f,_0x5d7287,_0x15305a);}};global[_0x67aef6(0x22f)]=[],global[_0x67aef6(0x214)]=![],global[_0x67aef6(0x1d0)]=async()=>{const _0x48cac2=_0x67aef6;let _0xc5b5d6=![];try{await global['__drivers'][0x0][_0x48cac2(0x21d)],_0xc5b5d6=!![],global[_0x48cac2(0x214)]?await _0x3ca6e4[_0x48cac2(0x1f1)](markSessionStatus,global[_0x48cac2(0x1ad)][0x0],_0x3ca6e4['azVaT'],global[_0x48cac2(0x22f)][_0x48cac2(0x245)](_0x3ca6e4[_0x48cac2(0x211)])):await _0x3ca6e4[_0x48cac2(0x215)](markSessionStatus,global[_0x48cac2(0x1ad)][0x0],_0x3ca6e4[_0x48cac2(0x1d8)]);}catch(_0x25accd){logger[_0x48cac2(0x236)](_0x48cac2(0x200)+_0x25accd);}global['__error_messages__']=[],global[_0x48cac2(0x214)]=![];if(_0xc5b5d6)try{try{_0x3ca6e4[_0x48cac2(0x208)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3ca6e4[_0x48cac2(0x1d4)](sendPlatformDetails,global[_0x48cac2(0x1ad)][0x0],this['currentTest']?this[_0x48cac2(0x1c0)][_0x48cac2(0x1df)]:null));}catch(_0x4f7583){logger['debug'](_0x48cac2(0x1dd)+_0x4f7583);}await global['__drivers'][0x0][_0x48cac2(0x242)]();}catch(_0x185e70){logger[_0x48cac2(0x236)](_0x48cac2(0x239)+_0x185e70);}};},{'platform':_0x899ee8[_0x1a98b0(0x1fa)](nestedKeyValue,global['__platformCaps'],[_0x899ee8['sWVeO']]),'hookType':_0x899ee8[_0x1a98b0(0x202)]})();},'beforeEach'(_0x1870aa){const _0x260f3d=a36_0xf173e4,_0x370271={'ZRHlc':function(_0x186c18,_0x4e1ef4){return _0x186c18>_0x4e1ef4;},'MIykq':function(_0x296e5d,_0x4ee48e){return _0x296e5d>_0x4ee48e;},'wlItR':_0x260f3d(0x229),'XlmTQ':function(_0x19450e,_0x41473b,_0x9623b0){return _0x19450e(_0x41473b,_0x9623b0);},'rCmnF':_0x260f3d(0x237),'IFLJU':function(_0x2d23ad){return _0x2d23ad();},'uJPdB':_0x260f3d(0x1cd),'dOjQT':function(_0x5537c2,_0x33449b){return _0x5537c2===_0x33449b;},'RpXuv':_0x260f3d(0x1ff),'gxtNY':function(_0x5a7f03,_0x131964){return _0x5a7f03===_0x131964;},'aplqr':'https:','kYFIi':_0x260f3d(0x1b3),'QRchY':'Automate\x20test\x20case\x20execution\x20has\x20started.','pIJVl':function(_0x5b9062){return _0x5b9062();},'zMqXb':'browserstackTestName','zUJFW':'index','OOsif':_0x260f3d(0x1bf)};globals[_0x260f3d(0x1ed)](_0x370271[_0x260f3d(0x201)],this['currentTest'][_0x260f3d(0x1f5)]()[_0x260f3d(0x245)](_0x370271[_0x260f3d(0x1c2)])),PerformanceTester[_0x260f3d(0x1ab)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1ba83f=_0x260f3d,_0xa67ee0='browserstack internal helper hook';new Promise(async _0x18e23b=>{const _0x15400e=a36_0x586f;let _0x21d1d9=!![];try{_0x370271[_0x15400e(0x1e8)](global[_0x15400e(0x1ad)][_0x15400e(0x1ce)],0x1)&&(await global['driverCleanup'](),global[_0x15400e(0x1ad)][_0x15400e(0x206)]()),_0x370271['MIykq'](global[_0x15400e(0x1ad)][0x0][_0x15400e(0x1fc)],0x0)&&(_0x21d1d9=![],await global[_0x15400e(0x1d0)]());}catch(_0x37218d){logger['debug'](_0x15400e(0x239)+_0x37218d);}try{Array[_0x15400e(0x207)](global['__drivers'])&&global[_0x15400e(0x1ad)][0x0]&&(global['__drivers'][0x0][_0x15400e(0x1d1)]=this[_0x15400e(0x1c0)][_0x15400e(0x1f5)]()[_0x15400e(0x245)](_0x370271[_0x15400e(0x1c2)])),global['browserstackSessionName']=this['currentTest']['titlePath']()[_0x15400e(0x245)](_0x370271[_0x15400e(0x1c2)]);}catch(_0x319f16){logger[_0x15400e(0x236)](_0x15400e(0x220)+_0x319f16);}this['currentTest'][_0x15400e(0x1b7)]=_0x370271['XlmTQ'](shouldScanTestForAccessibility,this[_0x15400e(0x1c0)]['titlePath'](),!![]),globals['setGlobal'](_0x370271[_0x15400e(0x23c)],this['currentTest'][_0x15400e(0x1b7)]),this[_0x15400e(0x1c0)][_0x15400e(0x252)]=!![];if(_0x370271[_0x15400e(0x1fe)](isAccessibilityAutomationSession)&&_0x21d1d9&&Array[_0x15400e(0x207)](global[_0x15400e(0x1ad)])&&_0x370271[_0x15400e(0x1e8)](global[_0x15400e(0x1ad)]['length'],0x0)&&globals[_0x15400e(0x1c9)](_0x370271[_0x15400e(0x234)]))try{const _0x2b10ee=await global[_0x15400e(0x1ad)][0x0][_0x15400e(0x21d)];if(_0x2b10ee){let _0x17e8c9=!![];const _0x4d3d42=await global[_0x15400e(0x1ad)][0x0]['getCurrentUrl']();let _0x1e4b66;try{_0x1e4b66=new URL(_0x4d3d42);}catch(_0x4ee293){_0x17e8c9=![];}_0x17e8c9=_0x370271[_0x15400e(0x235)](_0x1e4b66['protocol'],_0x370271[_0x15400e(0x1db)])||_0x370271[_0x15400e(0x1bb)](_0x1e4b66['protocol'],_0x370271['aplqr']),_0x17e8c9&&(this['currentTest'][_0x15400e(0x1b7)]&&logger['info'](_0x370271['kYFIi'])),this['currentTest']['accessibilityScanStarted']=this[_0x15400e(0x1c0)][_0x15400e(0x1b7)],this[_0x15400e(0x1c0)]['shouldScanTestForAccessibility']&&logger['info'](_0x370271['QRchY']);}}catch(_0x37a6e2){logger[_0x15400e(0x240)](_0x15400e(0x212)+util[_0x15400e(0x251)](_0x37a6e2));}_0x370271[_0x15400e(0x1f2)](_0x18e23b);})[_0x1ba83f(0x1ac)](()=>{const _0x2ddf6e=_0x1ba83f;_0x370271[_0x2ddf6e(0x1f2)](_0x1870aa);});},{'platform':_0x370271[_0x260f3d(0x1ca)](nestedKeyValue,global['__platformCaps'],[_0x370271[_0x260f3d(0x20a)]]),'hookType':_0x370271[_0x260f3d(0x1f6)]})();},'afterEach'(_0x49be9a){const _0xdc6af2=a36_0xf173e4,_0x98267d={'KBItJ':function(_0x120ac9,_0x3e85fa){return _0x120ac9!==_0x3e85fa;},'mkOOI':_0xdc6af2(0x226),'uYyxB':function(_0x54c4f2,_0x4b44df,_0x2564e7){return _0x54c4f2(_0x4b44df,_0x2564e7);},'thnMx':function(_0xbfc853,_0x5517c9){return _0xbfc853+_0x5517c9;},'iJKpm':'Failed:\x20','DhMVk':_0xdc6af2(0x240),'FXXCj':_0xdc6af2(0x1d9),'nwfpR':_0xdc6af2(0x1a9),'fUAjx':function(_0xb4ada0,_0x31e202){return _0xb4ada0>_0x31e202;},'NCdvF':function(_0x28dce4,_0x3376b2){return _0x28dce4===_0x3376b2;},'pbrIR':_0xdc6af2(0x1bc),'nIdHb':function(_0x3dd2ea,_0x141924){return _0x3dd2ea>_0x141924;},'BoGVF':_0xdc6af2(0x23f),'HdTwC':function(_0xbe9609,_0x1283cd,_0x49a901,_0xd7e622){return _0xbe9609(_0x1283cd,_0x49a901,_0xd7e622);},'WtIFI':_0xdc6af2(0x1cd),'YEGVm':_0xdc6af2(0x237),'urgIs':_0xdc6af2(0x20b),'ssCTH':_0xdc6af2(0x1c1),'Bappy':_0xdc6af2(0x20c),'LWLCk':'Accessibility\x20scan\x20completed\x20successfully','gJBRY':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','JNWbB':_0xdc6af2(0x204),'hWLOi':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','WcApA':_0xdc6af2(0x1de),'wgNGR':function(_0x32b006){return _0x32b006();},'LStOT':'debug','QtUDe':function(_0x309007,_0x27a28c){return _0x309007>_0x27a28c;},'Ijarf':function(_0x57c1f7){return _0x57c1f7();},'HrOaG':_0xdc6af2(0x229),'ASZya':_0xdc6af2(0x1f8),'cTtMs':'index','UtvHM':_0xdc6af2(0x21c)},_0x3dcfa1='browserstack internal helper hook';this[_0xdc6af2(0x233)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x98267d[_0xdc6af2(0x231)]]),global[_0xdc6af2(0x1fd)]=this['currentTest']['titlePath']()[_0xdc6af2(0x245)](_0x98267d[_0xdc6af2(0x22d)]),PerformanceTester[_0xdc6af2(0x1ab)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x18f797=_0xdc6af2,_0xc8476b={};_0xc8476b[_0x18f797(0x1f3)]=_0x98267d['HrOaG'];const _0x213769=_0xc8476b,_0x36d595=async(_0x536302,_0x48d237)=>{const _0xb488c3=_0x18f797;await global[_0xb488c3(0x1ad)][0x0][_0xb488c3(0x1f9)](_0xb488c3(0x1b2)+_0x536302+_0xb488c3(0x23a)+_0x48d237+_0xb488c3(0x1dc));};new Promise(async _0x178b77=>{const _0x50724f=_0x18f797,_0x5e0a35={'xaxtK':function(_0x205c96,_0x37f281){return _0x98267d['KBItJ'](_0x205c96,_0x37f281);},'dCsqN':_0x98267d['mkOOI'],'sHnyw':function(_0x46544e,_0xff62af,_0x1c04bd){const _0x44e3bd=a36_0x586f;return _0x98267d[_0x44e3bd(0x1aa)](_0x46544e,_0xff62af,_0x1c04bd);},'LODTv':function(_0x13c202,_0x1f247a){const _0x295771=a36_0x586f;return _0x98267d[_0x295771(0x224)](_0x13c202,_0x1f247a);},'CtTnr':_0x98267d[_0x50724f(0x1ba)],'HZIUk':_0x98267d[_0x50724f(0x205)],'Aobjv':_0x98267d[_0x50724f(0x1be)],'VaMbH':_0x98267d[_0x50724f(0x1b8)]};try{_0x98267d[_0x50724f(0x222)](global[_0x50724f(0x1ad)]['length'],0x1)&&(await global[_0x50724f(0x1d0)](),global['__drivers'][_0x50724f(0x206)](),global[_0x50724f(0x22f)]=[],global[_0x50724f(0x214)]=![]);try{if(global['percy']&&_0x98267d[_0x50724f(0x225)](global['percyCaptureMode'],_0x98267d[_0x50724f(0x248)])&&global[_0x50724f(0x1ad)][0x0]){const _0x1dccc7=_0x98267d[_0x50724f(0x20e)](global[_0x50724f(0x241)]['length'],0x0)?!!global[_0x50724f(0x241)][0x0][_0x50724f(0x1b1)]||!!global['capabilities'][0x0][_0x98267d[_0x50724f(0x1e0)]]:![],_0x410948={};_0x410948[_0x50724f(0x1b1)]=_0x1dccc7,await _0x98267d[_0x50724f(0x244)](percyAutoCapture,global[_0x50724f(0x1ad)][0x0],_0x98267d['pbrIR'],_0x410948);}}catch(_0x354f1e){logger[_0x50724f(0x236)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x354f1e);}!global[_0x50724f(0x246)]&&(await PerformanceTester[_0x50724f(0x1ab)](PerformanceAutEvents[_0x50724f(0x1b6)],async()=>{const _0x3c37d6=_0x50724f;await global[_0x3c37d6(0x1ad)][0x0][_0x3c37d6(0x1f9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3c37d6(0x228)](this[_0x3c37d6(0x1c0)][_0x3c37d6(0x1f5)]()['join'](_0x213769[_0x3c37d6(0x1f3)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x50724f(0x1ab)](PerformanceAutEvents[_0x50724f(0x1c8)],async()=>{const _0x286bcd=_0x50724f,_0x3b3173=_0x5e0a35[_0x286bcd(0x1f0)](this[_0x286bcd(0x1c0)][_0x286bcd(0x238)],_0x5e0a35[_0x286bcd(0x24e)]);_0x3b3173?(global[_0x286bcd(0x214)]=!![],global[_0x286bcd(0x22f)][_0x286bcd(0x1b9)](this[_0x286bcd(0x1c0)][_0x286bcd(0x1d7)][_0x286bcd(0x1fb)]),await _0x5e0a35[_0x286bcd(0x1ec)](_0x36d595,JSON['stringify'](_0x5e0a35[_0x286bcd(0x218)](_0x5e0a35['CtTnr'],this[_0x286bcd(0x1c0)][_0x286bcd(0x1d7)][_0x286bcd(0x1fb)])),_0x5e0a35[_0x286bcd(0x1e3)])):await _0x5e0a35[_0x286bcd(0x1ec)](_0x36d595,JSON[_0x286bcd(0x228)](_0x5e0a35['Aobjv']),_0x5e0a35[_0x286bcd(0x203)]);})();}catch(_0x2d8288){logger['debug'](_0x50724f(0x243)+_0x2d8288);}try{if(this[_0x50724f(0x1c0)][_0x50724f(0x252)]&&globals['getGlobal'](_0x98267d[_0x50724f(0x1e5)])&&globals[_0x50724f(0x1c9)](_0x98267d['YEGVm'])){logger['info'](_0x98267d['urgIs']);const _0x4a0f57={};_0x4a0f57['thTestRunUuid']=this[_0x50724f(0x1c0)][_0x50724f(0x1df)],_0x4a0f57['thBuildUuid']=process[_0x50724f(0x1c5)][testHubConstants[_0x50724f(0x1e4)][_0x50724f(0x223)]],_0x4a0f57[_0x50724f(0x1da)]=process[_0x50724f(0x1c5)][testHubConstants[_0x50724f(0x1e4)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1f228c=_0x4a0f57;logger[_0x50724f(0x236)](_0x50724f(0x22e)+JSON['stringify'](_0x1f228c)),logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1a8)]);const _0x299b51={};_0x299b51[_0x50724f(0x21f)]=_0x98267d[_0x50724f(0x1c7)];const _0x2e1310=await PerformanceTester[_0x50724f(0x1ab)](PerformanceA11yEvents[_0x50724f(0x23b)],async()=>{const _0x4cec59=_0x50724f;return await accessibilityRetryHelper[_0x4cec59(0x21e)](global[_0x4cec59(0x1ad)][0x0],global[_0x4cec59(0x1d1)]);},_0x299b51)();_0x2e1310?logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1ae)]):logger['warn'](_0x98267d[_0x50724f(0x21b)]);const _0x4a2b00=await PerformanceTester[_0x50724f(0x1ab)](PerformanceA11yEvents[_0x50724f(0x23e)],async()=>{const _0x339827=_0x50724f;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x339827(0x1ad)][0x0],_0x1f228c);})();_0x4a2b00?logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1cc)]):logger[_0x50724f(0x232)](_0x98267d[_0x50724f(0x1eb)]),logger[_0x50724f(0x1a9)](_0x98267d[_0x50724f(0x213)]);}}catch(_0xc86e7b){logger[_0x50724f(0x240)](_0x50724f(0x209)+this[_0x50724f(0x1c0)]['titlePath']()+_0x50724f(0x1f4),_0xc86e7b);}try{try{if(_0x98267d['wgNGR'](shouldProcessEventForTesthub)){global[_0x50724f(0x1ad)][0x0]&&await _0x98267d['uYyxB'](sendPlatformDetails,global[_0x50724f(0x1ad)][0x0],this[_0x50724f(0x1c0)]?this[_0x50724f(0x1c0)][_0x50724f(0x1df)]:null);if(_0x98267d[_0x50724f(0x24a)](isBrowserstackInfra)){PerformanceTester[_0x50724f(0x1ea)](PerformanceO11yEvents[_0x50724f(0x219)]);const _0xb8226d='ObservabilitySync:'+Date[_0x50724f(0x1d6)]();await _0x98267d[_0x50724f(0x1aa)](_0x36d595,JSON[_0x50724f(0x228)](_0xb8226d),_0x98267d[_0x50724f(0x20d)]),PerformanceTester[_0x50724f(0x1c3)](PerformanceO11yEvents[_0x50724f(0x219)]);}}}catch(_0x2417ba){logger[_0x50724f(0x236)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x2417ba),PerformanceTester[_0x50724f(0x1c3)](PerformanceO11yEvents[_0x50724f(0x219)],![],_0x2417ba);}_0x98267d[_0x50724f(0x24f)](global[_0x50724f(0x1ad)][0x0][_0x50724f(0x1fc)],0x0)&&await global['driverCleanup']();}catch(_0x2b14d5){logger[_0x50724f(0x236)](_0x50724f(0x239)+_0x2b14d5);}_0x98267d['Ijarf'](_0x178b77);})['then'](()=>{const _0x52492b=_0x18f797;_0x98267d[_0x52492b(0x247)](_0x49be9a);});},{'platform':_0x98267d['uYyxB'](nestedKeyValue,global['__platformCaps'],[_0x98267d[_0xdc6af2(0x22a)]]),'hookType':_0x98267d[_0xdc6af2(0x1e2)]})();},'afterAll'(_0x52f81b){const _0x4de774=a36_0xf173e4,_0x138201={'FpmIo':function(_0x54cc0f){return _0x54cc0f();},'eSBaW':function(_0x421b4b){return _0x421b4b();},'jnjvA':_0x4de774(0x1f8),'FSihO':function(_0x54ea30,_0x275f4e,_0x1b9192){return _0x54ea30(_0x275f4e,_0x1b9192);},'cIYnG':'index','kFcva':_0x4de774(0x221)},_0x59f2e1='browserstack internal helper hook';this[_0x4de774(0x233)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x138201[_0x4de774(0x1c6)]]),PerformanceTester[_0x4de774(0x1ab)](PerformanceSdkEvents[_0x4de774(0x1bd)],()=>{const _0x48b10c=_0x4de774,_0x468aff={'DCGKj':function(_0x42b230){return _0x138201['eSBaW'](_0x42b230);}};new Promise(async _0x4a134f=>{const _0x3a5dc4=a36_0x586f;await global[_0x3a5dc4(0x1d0)](),_0x138201[_0x3a5dc4(0x1d5)](_0x4a134f);})[_0x48b10c(0x1ac)]()[_0x48b10c(0x1d3)](()=>{const _0x56b635=_0x48b10c;_0x468aff[_0x56b635(0x1af)](_0x52f81b);});},{'platform':_0x138201[_0x4de774(0x24d)](nestedKeyValue,global['__platformCaps'],[_0x138201[_0x4de774(0x1e7)]]),'hookType':_0x138201[_0x4de774(0x1e9)]})();}};function a36_0xde45(){const _0x3975db=['../../helpers/accessibility-automation/helper','xaxtK','tabPC','pIJVl','gVNeu','.\x20Error\x20:','titlePath','OOsif','mochaHooks','Mocha','executeScript','nUrjk','message','quitCount_','sessionName','IFLJU','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','zMqXb','WDkmW','VaMbH','Accessibility\x20results\x20saved\x20successfully','DhMVk','shift','isArray','xooiM','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','zUJFW','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','afterTest','LStOT','nIdHb','../../helpers/helper','ScPyH','xsahP','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','WcApA','__sessionFailed','VnxVY','112088FThQdD','winstonLogger','LODTv','SYNC','669576HISzQA','gJBRY','afterEach','session_','performScanWithRetry','command','Failed\x20to\x20store\x20session\x20name:\x20','afterAll','fUAjx','BROWSERSTACK_TESTHUB_UUID','thnMx','NCdvF','passed','failed','stringify','\x20-\x20','cTtMs','index','util','HrOaG','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__error_messages__','../../helpers/percy/utils','ASZya','warn','timeout','uJPdB','dOjQT','debug','bstackA11yShouldScan','state','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20',',\x22level\x22:\x20\x22','PERFORM_SCAN','rCmnF','../utils/constants','SAVE_RESULTS','appium:app','error','capabilities','initQuit','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','HdTwC','join','__skipSessionName','Ijarf','pbrIR','../../helpers/accessibility-automation/accessibilityRetryHelper','wgNGR','iQXox','46556eOLBgW','FSihO','dCsqN','QtUDe','185cvKSOz','format','accessibilityScanStarted','ssCTH','info','uYyxB','measureWrapper','then','__drivers','LWLCk','DCGKj','JdaPX','app','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/testhub/constants','../../helpers/performance/constants','SESSION_NAME','shouldScanTestForAccessibility','nwfpR','push','iJKpm','gxtNY','testcase','SDK_HOOK','FXXCj','beforeEach','currentTest','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','wlItR','end','../../helpers/globals','env','jnjvA','Bappy','SESSION_STATUS','getGlobal','XlmTQ','581994LIBGIA','JNWbB','isAccessibilityPlatform','length','506836tJWfvA','driverCleanup','browserstackSessionName','416928GreBuy','finally','SOzXH','FpmIo','now','err','hXwmy','Passed','thJwtToken','RpXuv','\x22}}','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','testAnalyticsId','BoGVF','\x20|\x20','UtvHM','HZIUk','ENV_VAR','WtIFI','5674152skORwW','cIYnG','ZRHlc','kFcva','start','hWLOi','sHnyw','setGlobal','startMonitoring'];a36_0xde45=function(){return _0x3975db;};return a36_0xde45();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x3bf993=a37_0x3e76;function a37_0x3e76(_0x5b6467,_0x5ae752){const _0x36a805=a37_0x36a8();return a37_0x3e76=function(_0x3e7627,_0x3f651e){_0x3e7627=_0x3e7627-0x16f;let _0x19a22b=_0x36a805[_0x3e7627];return _0x19a22b;},a37_0x3e76(_0x5b6467,_0x5ae752);}(function(_0x52c41b,_0x15da69){const _0x4ff8ba=a37_0x3e76,_0x5da984=_0x52c41b();while(!![]){try{const _0x6a01d6=parseInt(_0x4ff8ba(0x172))/0x1*(-parseInt(_0x4ff8ba(0x197))/0x2)+parseInt(_0x4ff8ba(0x1af))/0x3*(-parseInt(_0x4ff8ba(0x1ac))/0x4)+-parseInt(_0x4ff8ba(0x174))/0x5+-parseInt(_0x4ff8ba(0x17f))/0x6*(parseInt(_0x4ff8ba(0x180))/0x7)+-parseInt(_0x4ff8ba(0x18a))/0x8+-parseInt(_0x4ff8ba(0x191))/0x9*(-parseInt(_0x4ff8ba(0x1a6))/0xa)+parseInt(_0x4ff8ba(0x171))/0xb*(parseInt(_0x4ff8ba(0x17d))/0xc);if(_0x6a01d6===_0x15da69)break;else _0x5da984['push'](_0x5da984['shift']());}catch(_0x90c66f){_0x5da984['push'](_0x5da984['shift']());}}}(a37_0x36a8,0x1b07c));function a37_0x36a8(){const _0x51dbfe=['getPlatformName','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cwd','info','exports','filter','1379952nVmlbO','close','path','winstonLogger','--env','Psmso','QtMyt','9QkMNwi','iwKVK','stringify','now','modifyBrowserStackW3CCaps','map','2fBLcfl','start_process','child_process','VkTyJ','platforms','test_settings','TNjKq','XOZuO','config','test','selenium','findIndex','CwieK','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','trim','1309220SpDGHF','writeFileSync','existsSync','../utils/constants','useW3C','DfxlT','8RsKwnd','IDseq','RyGSS','97023hfvaaS','CZJLa','splice','AIESu','Getting\x20your\x20nightwatch\x20configs\x20from\x20','25729XTzfpj','204628VQBjwy','push','1004375zzGuRJ','mergeDeep','length','--config','nightwatch.cmd','join','env','ZFvVD','debug','4272Srgnrr','forEach','40686MBmSFJ','217oLALbd','nightwatch.conf.js','isUndefined','slice'];a37_0x36a8=function(){return _0x51dbfe;};return a37_0x36a8();}const fs=require('fs'),path=require(a37_0x3bf993(0x18c)),{spawn}=require(a37_0x3bf993(0x199)),logger=require('../../helpers/logger')[a37_0x3bf993(0x18d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a37_0x3bf993(0x1a9)),getUserNightwatchConfigs=(_0x21393f,_0x1ec466)=>{const _0x1d7a0f=a37_0x3bf993,_0x3b702c={'DfxlT':_0x1d7a0f(0x181),'lPofc':'nightwatch.json','rXDDm':function(_0x51eeb5,_0x15bba7){return _0x51eeb5(_0x15bba7);},'AIESu':_0x1d7a0f(0x185)};let _0xf4a687=null,_0x4b3cd={};const _0x33570b=_0x1ec466[_0x1d7a0f(0x1a2)](_0x2ed6de=>_0x2ed6de===_0x1d7a0f(0x177));if(!helper[_0x1d7a0f(0x182)](_0x21393f[_0x1d7a0f(0x19f)])&&fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x21393f['config'])))_0xf4a687=path[_0x1d7a0f(0x179)](process['cwd'](),_0x21393f[_0x1d7a0f(0x19f)]),_0x1ec466[_0x1d7a0f(0x1b1)](_0x33570b,0x2);else{if(fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c[_0x1d7a0f(0x1ab)])))_0xf4a687=path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c[_0x1d7a0f(0x1ab)]);else fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c['lPofc']))&&(_0xf4a687=path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c['lPofc']));}return _0xf4a687?(logger[_0x1d7a0f(0x187)](_0x1d7a0f(0x170)+_0xf4a687),_0x4b3cd=_0x3b702c['rXDDm'](require,_0xf4a687)):logger[_0x1d7a0f(0x187)](_0x3b702c[_0x1d7a0f(0x16f)]),_0x4b3cd;},removeExistingEnvs=_0x2278c5=>{const _0x2625e4=a37_0x3bf993,_0x515e8e={};_0x515e8e[_0x2625e4(0x1a3)]=function(_0x1f415f,_0x47608b){return _0x1f415f>_0x47608b;};const _0x53f964=_0x515e8e;let _0x533de0=_0x2278c5[_0x2625e4(0x1a2)](_0x2692cf=>_0x2692cf==='--env');_0x53f964[_0x2625e4(0x1a3)](_0x533de0,-0x1)&&_0x2278c5[_0x2625e4(0x1b1)](_0x533de0,0x2),_0x533de0=_0x2278c5[_0x2625e4(0x1a2)](_0x5eb3e2=>_0x5eb3e2==='-e'),_0x53f964['CwieK'](_0x533de0,-0x1)&&_0x2278c5[_0x2625e4(0x1b1)](_0x533de0,0x2);};function run(_0x21cef5,_0x45bf3a,_0x3a43d7){const _0x5e21fd=a37_0x3bf993,_0x491cb6={'IDseq':'nightwatch','CMTAr':function(_0x3b4582,_0x1e5d6c){return _0x3b4582+_0x1e5d6c;},'XOZuO':'test_settings','CLdjY':function(_0x5bbfbb,_0x932bc3,_0x518314){return _0x5bbfbb(_0x932bc3,_0x518314);},'VkTyJ':'hub.browserstack.com','wuyZp':_0x5e21fd(0x1a4),'QtMyt':function(_0x51f57c,_0x14b4a7){return _0x51f57c===_0x14b4a7;},'MoxHC':'nightwatch-browserstack.json','qmMEG':function(_0x5b7c94,_0x3a9c6d){return _0x5b7c94(_0x3a9c6d);},'evuHg':function(_0x27c8b1,_0x10bd28,_0x129f6b,_0x449614){return _0x27c8b1(_0x10bd28,_0x129f6b,_0x449614);},'ZFvVD':_0x5e21fd(0x178),'Psmso':_0x5e21fd(0x177),'iwKVK':_0x5e21fd(0x18e),'CZJLa':'inherit','TNjKq':_0x5e21fd(0x18b)};if(!_0x3a43d7[_0x5e21fd(0x19f)])return;const _0x441007=_0x491cb6['CLdjY'](getUserNightwatchConfigs,_0x21cef5,_0x45bf3a),_0x4a6355={};_0x4a6355[_0x5e21fd(0x198)]=![];const _0x4aec44={};_0x4aec44['host']=_0x491cb6[_0x5e21fd(0x19a)],_0x4aec44['port']=0x1bb;const _0x56956e={};_0x56956e['webdriver']=_0x4a6355,_0x56956e[_0x5e21fd(0x1a1)]=_0x4aec44;const _0x42fa93=_0x56956e;logger[_0x5e21fd(0x187)](_0x491cb6['wuyZp']);const _0x598638={..._0x441007},_0x2b0488=_0x598638,_0xceb8c4=helper[_0x5e21fd(0x1aa)](_0x3a43d7[_0x5e21fd(0x19f)]),_0x320e8d=[];_0x3a43d7[_0x5e21fd(0x19f)][_0x5e21fd(0x19b)][_0x5e21fd(0x17e)]((_0x5b785e,_0x50e7e5)=>{const _0x563b76=_0x5e21fd;_0xceb8c4?_0x320e8d[_0x563b76(0x173)](helper[_0x563b76(0x195)](_0x3a43d7[_0x563b76(0x19f)],_0x491cb6[_0x563b76(0x1ad)],_0x50e7e5)):_0x320e8d[_0x563b76(0x173)](helper['modifyBrowserStackCaps'](_0x3a43d7[_0x563b76(0x19f)],_0x491cb6[_0x563b76(0x1ad)],_0x50e7e5));});const _0x3db563={},_0x3bf575=[];_0x21cef5[_0x5e21fd(0x17a)]=_0x21cef5[_0x5e21fd(0x17a)]||_0x21cef5['e'];const _0x52db0e=_0x21cef5[_0x5e21fd(0x17a)]?_0x21cef5[_0x5e21fd(0x17a)][_0x5e21fd(0x1a5)]()['split'](',')[_0x5e21fd(0x196)](_0x46d4d5=>_0x46d4d5['trim']())[_0x5e21fd(0x189)](_0x1bc996=>_0x1bc996!==''):[''];_0x491cb6[_0x5e21fd(0x190)](_0x52db0e[_0x5e21fd(0x176)],0x0)&&_0x52db0e[_0x5e21fd(0x173)]('');_0x52db0e['forEach'](_0x46fdbf=>{const _0x75c4a8=_0x5e21fd,_0x51bc1d={'RCLzW':function(_0x1784e9,_0x32403f){return _0x491cb6['CMTAr'](_0x1784e9,_0x32403f);},'RyGSS':_0x491cb6[_0x75c4a8(0x19e)]};_0x320e8d[_0x75c4a8(0x17e)](_0x5afd07=>{const _0x2d8596=_0x75c4a8;let _0x38527b=_0x51bc1d['RCLzW'](helper[_0x2d8596(0x184)](_0x5afd07,'_'),'_'+Date[_0x2d8596(0x194)]());_0x46fdbf&&(_0x38527b+='_'+_0x46fdbf);if(_0x46fdbf&&(!_0x441007[_0x51bc1d['RyGSS']]||!_0x441007[_0x51bc1d[_0x2d8596(0x1ae)]][_0x46fdbf]))return;const _0x499f0d={..._0x42fa93};_0x499f0d['desiredCapabilities']=_0x5afd07;const _0x1e92e6=_0x499f0d;_0x3db563[_0x38527b]=_0x46fdbf?helper[_0x2d8596(0x175)](_0x441007[_0x51bc1d[_0x2d8596(0x1ae)]][_0x46fdbf],_0x1e92e6):_0x1e92e6,_0x3bf575[_0x2d8596(0x173)](_0x38527b);});});!_0x2b0488[_0x5e21fd(0x19c)]&&(_0x2b0488[_0x5e21fd(0x19c)]={});_0x2b0488[_0x5e21fd(0x19c)]={..._0x2b0488['test_settings'],..._0x3db563};const _0x3dbe4c=path[_0x5e21fd(0x179)](__dirname,_0x491cb6['MoxHC']);fs[_0x5e21fd(0x1a7)](_0x3dbe4c,JSON[_0x5e21fd(0x193)](_0x2b0488)),_0x491cb6['qmMEG'](removeExistingEnvs,_0x45bf3a);const _0x69352a=_0x491cb6['evuHg'](spawn,/^win/[_0x5e21fd(0x1a0)](process['platform'])?_0x491cb6[_0x5e21fd(0x17b)]:_0x491cb6[_0x5e21fd(0x1ad)],[_0x491cb6[_0x5e21fd(0x18f)],_0x3dbe4c,..._0x45bf3a[_0x5e21fd(0x183)](0x1),_0x491cb6[_0x5e21fd(0x192)],_0x3bf575[_0x5e21fd(0x179)](',')],{'stdio':_0x491cb6[_0x5e21fd(0x1b0)]});_0x69352a['on'](_0x491cb6[_0x5e21fd(0x19d)],async _0x583d33=>{const _0x2d1cc4=_0x5e21fd;logger[_0x2d1cc4(0x17c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x583d33),logger[_0x2d1cc4(0x187)]('Deleting\x20'+_0x3dbe4c),fs['unlinkSync'](_0x3dbe4c);});}module[a37_0x3bf993(0x188)]=run;
2
+ 'use strict';const a37_0x145cac=a37_0x2e77;(function(_0x3b6ce0,_0x223322){const _0x13acba=a37_0x2e77,_0xf91f01=_0x3b6ce0();while(!![]){try{const _0x5e83d6=parseInt(_0x13acba(0x12d))/0x1*(parseInt(_0x13acba(0x162))/0x2)+-parseInt(_0x13acba(0x151))/0x3+parseInt(_0x13acba(0x15d))/0x4*(parseInt(_0x13acba(0x168))/0x5)+-parseInt(_0x13acba(0x13e))/0x6*(-parseInt(_0x13acba(0x140))/0x7)+parseInt(_0x13acba(0x15f))/0x8+parseInt(_0x13acba(0x158))/0x9*(parseInt(_0x13acba(0x137))/0xa)+-parseInt(_0x13acba(0x14d))/0xb*(parseInt(_0x13acba(0x166))/0xc);if(_0x5e83d6===_0x223322)break;else _0xf91f01['push'](_0xf91f01['shift']());}catch(_0x1b365f){_0xf91f01['push'](_0xf91f01['shift']());}}}(a37_0x332f,0x3f394));function a37_0x2e77(_0x4918e7,_0x20037f){const _0x332f62=a37_0x332f();return a37_0x2e77=function(_0x2e77c0,_0x1434da){_0x2e77c0=_0x2e77c0-0x121;let _0x21a6a7=_0x332f62[_0x2e77c0];return _0x21a6a7;},a37_0x2e77(_0x4918e7,_0x20037f);}const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x145cac(0x135)),logger=require('../../helpers/logger')[a37_0x145cac(0x132)],{default:BrowserStackSetup}=require(a37_0x145cac(0x13a)),helper=require('../../helpers/helper'),constants=require(a37_0x145cac(0x134)),getUserNightwatchConfigs=(_0x4ac0fe,_0x5e842e)=>{const _0x458f2d=a37_0x145cac,_0xa53b11={'tKJzu':_0x458f2d(0x129),'UbUaa':_0x458f2d(0x141),'yQhtA':function(_0xbcc454,_0x25945c){return _0xbcc454(_0x25945c);},'zCcgN':_0x458f2d(0x160)};let _0x1aba05=null,_0x56cedf={};const _0x59c096=_0x5e842e[_0x458f2d(0x155)](_0x204872=>_0x204872===_0x458f2d(0x165));if(!helper[_0x458f2d(0x14e)](_0x4ac0fe['config'])&&fs[_0x458f2d(0x125)](path['join'](process[_0x458f2d(0x128)](),_0x4ac0fe[_0x458f2d(0x123)])))_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0x4ac0fe['config']),_0x5e842e[_0x458f2d(0x15b)](_0x59c096,0x2);else{if(fs['existsSync'](path['join'](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x127)])))_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x127)]);else fs[_0x458f2d(0x125)](path[_0x458f2d(0x121)](process['cwd'](),_0xa53b11[_0x458f2d(0x159)]))&&(_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x159)]));}return _0x1aba05?(logger[_0x458f2d(0x131)](_0x458f2d(0x16a)+_0x1aba05),_0x56cedf=_0xa53b11[_0x458f2d(0x138)](require,_0x1aba05)):logger['info'](_0xa53b11['zCcgN']),_0x56cedf;},removeExistingEnvs=_0x4c007c=>{const _0x565c5b=a37_0x145cac,_0x2c047e={};_0x2c047e[_0x565c5b(0x130)]=function(_0x472be0,_0x29dcd1){return _0x472be0>_0x29dcd1;},_0x2c047e[_0x565c5b(0x146)]=function(_0xef3f9c,_0x3f65a9){return _0xef3f9c>_0x3f65a9;};const _0x57250c=_0x2c047e;let _0xe667ad=_0x4c007c['findIndex'](_0x41e4a2=>_0x41e4a2===_0x565c5b(0x145));_0x57250c[_0x565c5b(0x130)](_0xe667ad,-0x1)&&_0x4c007c[_0x565c5b(0x15b)](_0xe667ad,0x2),_0xe667ad=_0x4c007c[_0x565c5b(0x155)](_0x1445a0=>_0x1445a0==='-e'),_0x57250c[_0x565c5b(0x146)](_0xe667ad,-0x1)&&_0x4c007c[_0x565c5b(0x15b)](_0xe667ad,0x2);};function a37_0x332f(){const _0x5071e6=['4028304IfLiof','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','ykOzk','11366XqDuZz','inherit','desiredCapabilities','--config','384CdqJtc','nightwatch-browserstack.json','10DVhPJs','nightwatch','Getting\x20your\x20nightwatch\x20configs\x20from\x20','FkZUJ','child\x20process\x20exited\x20with\x20code\x20','join','FDZph','config','modifyBrowserStackCaps','existsSync','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','tKJzu','cwd','nightwatch.conf.js','platform','AaAfq','selenium','29psaBCI','hub.browserstack.com','map','fvrZZ','info','winstonLogger','length','../utils/constants','child_process','filter','2160LEVjXQ','yQhtA','mergeDeep','../../helpers/BrowserStackSetup','push','EphQe','kiabL','180PuYaiX','writeFileSync','11403TtDAys','nightwatch.json','useW3C','feuuB','webdriver','--env','qIkas','debug','Deleting\x20','LAqsQ','test_settings','stringify','exports','229834RPlIJu','isUndefined','Pyqix','forEach','588423DzUhqx','trim','OfzVB','platforms','findIndex','mwNMR','env','3735vuGCNF','UbUaa','getPlatformName','splice','modifyBrowserStackW3CCaps','633716kCkSje','hkAQw'];a37_0x332f=function(){return _0x5071e6;};return a37_0x332f();}function run(_0xf209b,_0x2fbd27,_0x3efd26){const _0xd79f17=a37_0x145cac,_0x366997={'ykOzk':_0xd79f17(0x169),'FDbAL':function(_0x5f1713,_0x375d27){return _0x5f1713+_0x375d27;},'EphQe':_0xd79f17(0x14a),'hkAQw':function(_0x216930,_0x32f0aa,_0x264482){return _0x216930(_0x32f0aa,_0x264482);},'dBozk':_0xd79f17(0x12e),'LAqsQ':_0xd79f17(0x126),'AaAfq':function(_0x23e82e,_0xf06f27){return _0x23e82e===_0xf06f27;},'mwNMR':_0xd79f17(0x167),'OfzVB':function(_0x49d7b0,_0x5ce00d){return _0x49d7b0(_0x5ce00d);},'feuuB':function(_0x50fd36,_0x1396cd,_0x11a05a,_0x5005ca){return _0x50fd36(_0x1396cd,_0x11a05a,_0x5005ca);},'FkZUJ':'nightwatch.cmd','Pyqix':_0xd79f17(0x165),'FDZph':_0xd79f17(0x145),'kiabL':_0xd79f17(0x163),'ZYsjd':'close'};if(!_0x3efd26[_0xd79f17(0x123)])return;const _0x4c0029=_0x366997[_0xd79f17(0x15e)](getUserNightwatchConfigs,_0xf209b,_0x2fbd27),_0x37947f={};_0x37947f['start_process']=![];const _0x420d41={};_0x420d41['host']=_0x366997['dBozk'],_0x420d41['port']=0x1bb;const _0x2e0934={};_0x2e0934[_0xd79f17(0x144)]=_0x37947f,_0x2e0934[_0xd79f17(0x12c)]=_0x420d41;const _0x13d6e0=_0x2e0934;logger['info'](_0x366997[_0xd79f17(0x149)]);const _0x29232e={..._0x4c0029},_0x4c1037=_0x29232e,_0x334d7d=helper[_0xd79f17(0x142)](_0x3efd26[_0xd79f17(0x123)]),_0x29d16e=[];_0x3efd26['config'][_0xd79f17(0x154)][_0xd79f17(0x150)]((_0x21a252,_0x5ade98)=>{const _0x53f538=_0xd79f17;_0x334d7d?_0x29d16e['push'](helper[_0x53f538(0x15c)](_0x3efd26[_0x53f538(0x123)],_0x366997[_0x53f538(0x161)],_0x5ade98)):_0x29d16e[_0x53f538(0x13b)](helper[_0x53f538(0x124)](_0x3efd26[_0x53f538(0x123)],_0x366997[_0x53f538(0x161)],_0x5ade98));});const _0xfe7c80={},_0x4a22bf=[];_0xf209b[_0xd79f17(0x157)]=_0xf209b['env']||_0xf209b['e'];const _0x18989d=_0xf209b[_0xd79f17(0x157)]?_0xf209b[_0xd79f17(0x157)][_0xd79f17(0x152)]()['split'](',')[_0xd79f17(0x12f)](_0x2d3c77=>_0x2d3c77[_0xd79f17(0x152)]())[_0xd79f17(0x136)](_0x3654ee=>_0x3654ee!==''):[''];_0x366997[_0xd79f17(0x12b)](_0x18989d[_0xd79f17(0x133)],0x0)&&_0x18989d[_0xd79f17(0x13b)]('');_0x18989d['forEach'](_0x4e0535=>{_0x29d16e['forEach'](_0x10108b=>{const _0x26d7b4=a37_0x2e77;let _0x2fb3e5=_0x366997['FDbAL'](helper[_0x26d7b4(0x15a)](_0x10108b,'_'),'_'+Date['now']());_0x4e0535&&(_0x2fb3e5+='_'+_0x4e0535);if(_0x4e0535&&(!_0x4c0029[_0x366997['EphQe']]||!_0x4c0029[_0x366997[_0x26d7b4(0x13c)]][_0x4e0535]))return;const _0x1f1a30={..._0x13d6e0};_0x1f1a30[_0x26d7b4(0x164)]=_0x10108b;const _0x1f8623=_0x1f1a30;_0xfe7c80[_0x2fb3e5]=_0x4e0535?helper[_0x26d7b4(0x139)](_0x4c0029[_0x366997[_0x26d7b4(0x13c)]][_0x4e0535],_0x1f8623):_0x1f8623,_0x4a22bf['push'](_0x2fb3e5);});});!_0x4c1037[_0xd79f17(0x14a)]&&(_0x4c1037[_0xd79f17(0x14a)]={});_0x4c1037['test_settings']={..._0x4c1037['test_settings'],..._0xfe7c80};const _0x3afde8=path[_0xd79f17(0x121)](__dirname,_0x366997[_0xd79f17(0x156)]);fs[_0xd79f17(0x13f)](_0x3afde8,JSON[_0xd79f17(0x14b)](_0x4c1037)),_0x366997[_0xd79f17(0x153)](removeExistingEnvs,_0x2fbd27);const _0x3cc761=_0x366997[_0xd79f17(0x143)](spawn,/^win/['test'](process[_0xd79f17(0x12a)])?_0x366997[_0xd79f17(0x16b)]:_0x366997[_0xd79f17(0x161)],[_0x366997[_0xd79f17(0x14f)],_0x3afde8,..._0x2fbd27['slice'](0x1),_0x366997[_0xd79f17(0x122)],_0x4a22bf[_0xd79f17(0x121)](',')],{'stdio':_0x366997[_0xd79f17(0x13d)]});_0x3cc761['on'](_0x366997['ZYsjd'],async _0xc21f76=>{const _0xd0dc0=_0xd79f17;logger[_0xd0dc0(0x147)](_0xd0dc0(0x16c)+_0xc21f76),logger[_0xd0dc0(0x131)](_0xd0dc0(0x148)+_0x3afde8),fs['unlinkSync'](_0x3afde8);});}module[a37_0x145cac(0x14c)]=run;
@@ -1 +1 @@
1
- const a38_0x44d8ce=a38_0x3ead;(function(_0x376163,_0x40a9a7){const _0x1c6d72=a38_0x3ead,_0x4713d8=_0x376163();while(!![]){try{const _0x23bf2c=parseInt(_0x1c6d72(0xaf))/0x1*(parseInt(_0x1c6d72(0xc1))/0x2)+-parseInt(_0x1c6d72(0xec))/0x3+parseInt(_0x1c6d72(0x87))/0x4*(-parseInt(_0x1c6d72(0xf4))/0x5)+parseInt(_0x1c6d72(0x8b))/0x6*(-parseInt(_0x1c6d72(0xcd))/0x7)+parseInt(_0x1c6d72(0xdc))/0x8*(parseInt(_0x1c6d72(0xc8))/0x9)+parseInt(_0x1c6d72(0xe7))/0xa*(parseInt(_0x1c6d72(0xd9))/0xb)+-parseInt(_0x1c6d72(0x107))/0xc*(parseInt(_0x1c6d72(0xd0))/0xd);if(_0x23bf2c===_0x40a9a7)break;else _0x4713d8['push'](_0x4713d8['shift']());}catch(_0x410b7c){_0x4713d8['push'](_0x4713d8['shift']());}}}(a38_0x36e3,0x7ce36));function a38_0x3ead(_0x5dfee4,_0x164f5b){const _0x36e34f=a38_0x36e3();return a38_0x3ead=function(_0x3ead00,_0x1d0601){_0x3ead00=_0x3ead00-0x87;let _0x428250=_0x36e34f[_0x3ead00];return _0x428250;},a38_0x3ead(_0x5dfee4,_0x164f5b);}function a38_0x36e3(){const _0x373b8e=['\x20page:\x20','jdzIv','stringify','project','12lZzqXH','includes','bJEyK','1682084CFDooA','vxUkZ','bstackSdkArgs','phhNF','6mkwbPh','Playwright','latest','winstonLogger','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.includeIssueType.bestPractice','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setAccessibilityCapabilities','DMWXY','ODlLa','browserStackExecuteDriver','YlPLx','debug','../../helpers/performance/constants','getAccessibilityResultsSummary','includeIssueType','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','../../helpers/accessibility-automation/scripts','etCIv','warn','accessibilityOptions','No\x20accessibility\x20results\x20were\x20found.','__workerDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','connectOptions','iyUid','KnkfP','name','bkrsr','iSzEf','No\x20summaryResults\x20found.','url','erZkz','performScan','QDirl','886598HqDukv','gpsFx','hXJdE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','vcFRC','parse','browserName','command','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','OsGoN','DpMfe','processAccessibilityCaps','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','playwright-chromium','workerInfo','wcagVersion','chrome','2yxgWIm','BNObw','deviceName','evaluate','XGYua','format','currentTest','3461454oNGzQZ','FumMm','lmbDY','aIWQV','browserstack.accessibility','70105cQZjfH','GvFjW','yLaDk','3097835fFTjss','scannerProcessingTimeout','YpPZb','Performing\x20scan\x20with\x20method:\x20','yFqYh','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','replace','accessibilityPlatform','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','33aKnDiH','browser_version','getAccessibilityResults','8ZeNygG','UFwKD','accessibilityOptions.includeIssueType.needsReview','use','mMiJS','../../helpers/logger','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','platformValidation','executeAsyncScript','browser','WebDriver','3015780xOJMFU','xjIUF','measureWrapper','accessibilityOptions.scannerProcessingTimeout','YmtFz','1725132PVnPiw','accessibilityOptions.wcagVersion','KSmjY','eOZfk','WYtou','env','BS_A11Y_JWT','ziyZZ','10fAyykP','fqbHl','testInfo','browserStackEvaluate','constructor','chromium','DdbTR','AZGJI','pMpIv','error','xtWFU','bestPractice','PERFORM_SCAN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','executeScript'];a38_0x36e3=function(){return _0x373b8e;};return a38_0x36e3();}const util=require('util'),logger=require(a38_0x44d8ce(0xe1))[a38_0x44d8ce(0x8e)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x44d8ce(0x9c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x44d8ce(0x98));exports['browserStackEvaluate']=async(_0x3ab596,_0x5a8f8d,_0x114b91={})=>{const _0x607063=a38_0x44d8ce,_0x167b5f={};_0x167b5f['BNObw']='bstackSdkArgs';const _0x258eac=_0x167b5f;return await _0x3ab596[_0x607063(0xc4)](_0x607063(0xd8)+_0x5a8f8d['replace'](/arguments/g,_0x258eac[_0x607063(0xc2)])+_0x607063(0x8f)+JSON[_0x607063(0x105)](_0x114b91)+')');},exports[a38_0x44d8ce(0x95)]=async(_0x475090,_0x133720,_0x52bc8e={})=>{const _0x31d19a=a38_0x44d8ce,_0x44ba83={};_0x44ba83[_0x31d19a(0xeb)]=function(_0x4a9fb4,_0x2efc19){return _0x4a9fb4===_0x2efc19;},_0x44ba83[_0x31d19a(0xac)]=_0x31d19a(0xe6),_0x44ba83[_0x31d19a(0xce)]=function(_0x376e4f,_0x1a32dc){return _0x376e4f===_0x1a32dc;},_0x44ba83['FumMm']=_0x31d19a(0x8c),_0x44ba83['lmbDY']=_0x31d19a(0x89);const _0x212ed7=_0x44ba83;if(_0x212ed7[_0x31d19a(0xeb)](_0x475090['constructor'][_0x31d19a(0xa7)],_0x212ed7[_0x31d19a(0xac)]))return await _0x475090[_0x31d19a(0xe4)](_0x133720,_0x52bc8e);else{if(_0x212ed7[_0x31d19a(0xce)](_0x475090[_0x31d19a(0xf8)]['name'],_0x212ed7[_0x31d19a(0xc9)]))return await _0x475090[_0x31d19a(0x102)](_0x31d19a(0xe2)+_0x133720[_0x31d19a(0xd6)](/arguments/g,_0x212ed7[_0x31d19a(0xca)])+_0x31d19a(0xa3)+JSON[_0x31d19a(0x105)](_0x52bc8e)+')');}},exports[a38_0x44d8ce(0x92)]=async _0x271350=>{const _0x3a0f23=a38_0x44d8ce,_0x39e069={};_0x39e069[_0x3a0f23(0xfc)]=_0x3a0f23(0xed),_0x39e069[_0x3a0f23(0xe8)]=_0x3a0f23(0xea),_0x39e069[_0x3a0f23(0xb4)]=_0x3a0f23(0x90),_0x39e069['YlPLx']=_0x3a0f23(0xde),_0x39e069['gpsFx']='accessibilityOptions.authToken',_0x39e069[_0x3a0f23(0xba)]='accessibilityOptions.scannerVersion';const _0xfea9e3=_0x39e069;_0x271350['accessibilityOptions']&&(_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xbf)]&&(_0x271350[_0xfea9e3[_0x3a0f23(0xfc)]]=_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xbf)]),_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xd1)]&&(_0x271350[_0xfea9e3[_0x3a0f23(0xe8)]]=_0x271350[_0x3a0f23(0x9f)]['scannerProcessingTimeout']),_0x271350[_0x3a0f23(0x9f)]['includeIssueType']&&(_0x271350[_0xfea9e3[_0x3a0f23(0xb4)]]=_0x271350['accessibilityOptions'][_0x3a0f23(0x9a)][_0x3a0f23(0xff)],_0x271350[_0xfea9e3[_0x3a0f23(0x96)]]=_0x271350['accessibilityOptions'][_0x3a0f23(0x9a)]['needsReview']));const _0x4d0bb4=JSON[_0x3a0f23(0xb5)](process[_0x3a0f23(0xf1)][_0x3a0f23(0x91)])['scannerVersion'];_0x271350[_0xfea9e3[_0x3a0f23(0xb0)]]=process['env'][_0x3a0f23(0xf2)],_0x271350[_0xfea9e3[_0x3a0f23(0xba)]]=_0x4d0bb4,delete _0x271350[_0x3a0f23(0x9f)];},exports[a38_0x44d8ce(0xdb)]=async _0x2e810d=>{const _0x3f035c=a38_0x44d8ce,_0x1d9ef0={};_0x1d9ef0[_0x3f035c(0x88)]=_0x3f035c(0xa0),_0x1d9ef0[_0x3f035c(0xf5)]=_0x3f035c(0x101);const _0x239de3=_0x1d9ef0;if(global['accessibilityPlatform'])try{const details={'url':await _0x2e810d.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2e810d,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2e810d,scripts.getResults);},{...details})();return res;}catch{return logger[_0x3f035c(0xfd)](_0x239de3[_0x3f035c(0x88)]),[];}else return logger[_0x3f035c(0x9e)](_0x239de3[_0x3f035c(0xf5)]),[];},exports['performScan']=async(_0x18e419,_0xcbe499='')=>{const _0xfc8006=a38_0x44d8ce;logger[_0xfc8006(0x97)](_0xfc8006(0xd3)+_0xcbe499+_0xfc8006(0x103)+_0x18e419);const _0x25b1c6={'url':await _0x18e419[_0xfc8006(0xab)](),'testhub_btcer_uuid':global[_0xfc8006(0xa1)]?.[_0xfc8006(0xc7)]?.['id']};if(global[_0xfc8006(0xd7)])return await PerformanceTester[_0xfc8006(0xe9)](PerformanceA11yEvents[_0xfc8006(0x100)],async()=>{const _0x261ee8=_0xfc8006,_0x5576d6={};_0x5576d6[_0x261ee8(0xb7)]=_0xcbe499;const _0x4b5643=await exports[_0x261ee8(0xf7)](_0x18e419,scripts[_0x261ee8(0xad)],_0x5576d6);return _0x4b5643;},{'command':_0xcbe499,..._0x25b1c6})();},exports[a38_0x44d8ce(0x99)]=async _0x47c989=>{const _0x5d6215=a38_0x44d8ce,_0x16668a={};_0x16668a[_0x5d6215(0x93)]=_0x5d6215(0xaa),_0x16668a[_0x5d6215(0xae)]=_0x5d6215(0xb3);const _0x50a274=_0x16668a;if(global[_0x5d6215(0xd7)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x47c989,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x47c989,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x50a274[_0x5d6215(0x93)]),{};}else return logger[_0x5d6215(0x9e)](_0x50a274['QDirl']),{};},exports[a38_0x44d8ce(0xe3)]=async _0x29d435=>{const _0x50e5a5=a38_0x44d8ce,_0x3ff7f1={'iSzEf':function(_0x2f7128,_0x18f0f7){return _0x2f7128!==_0x18f0f7;},'ODlLa':_0x50e5a5(0xb2),'AZGJI':'chrome','KSmjY':_0x50e5a5(0xbd),'VHuXw':_0x50e5a5(0xf9),'hXJdE':_0x50e5a5(0xd5),'UFwKD':function(_0x21c734,_0x5d5d3a){return _0x21c734(_0x5d5d3a);},'PKpKJ':function(_0x10ba19){return _0x10ba19();},'mMiJS':function(_0x554960,_0x49361d){return _0x554960<_0x49361d;},'jdzIv':_0x50e5a5(0xb8),'bJEyK':function(_0xe17fdd,_0x5f4acd){return _0xe17fdd===_0x5f4acd;},'KnkfP':_0x50e5a5(0x8d),'KUFYI':function(_0x141b39,_0x398571){return _0x141b39>_0x398571;},'eOZfk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x3ff7f1[_0x50e5a5(0xa9)](_0x29d435['deviceName'],''))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0x94)]),![];const _0x423d09=_0x29d435[_0x50e5a5(0xe5)];if(![_0x3ff7f1[_0x50e5a5(0xfb)],_0x3ff7f1[_0x50e5a5(0xee)],_0x3ff7f1['VHuXw']][_0x50e5a5(0x108)](_0x423d09))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0xb1)]),![];const _0x3afa0a=_0x3ff7f1[_0x50e5a5(0xdd)](parseInt,_0x29d435[_0x50e5a5(0xda)]);!_0x3ff7f1['PKpKJ'](isBrowserstackInfra)&&(!_0x3ff7f1[_0x50e5a5(0xe0)](_0x3afa0a,0x64)&&logger['warn'](_0x3ff7f1[_0x50e5a5(0x104)]));if(!(_0x3ff7f1[_0x50e5a5(0x109)](_0x3afa0a,_0x3ff7f1[_0x50e5a5(0xa6)])||_0x3ff7f1['KUFYI'](_0x3afa0a,0x5e)))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0xef)]),![];}catch(_0xd32042){logger[_0x50e5a5(0x97)](_0x50e5a5(0x9b)+util[_0x50e5a5(0xc6)](_0xd32042));}return!![];},exports[a38_0x44d8ce(0xbb)]=(_0x4271bd,_0x28555a,_0x4f3d20)=>{const _0x12e56b=a38_0x44d8ce,_0x29a1ba={'YpPZb':function(_0x5f2a09){return _0x5f2a09();},'iyUid':_0x12e56b(0xcc),'OsGoN':function(_0x30f131,_0x2f90ab){return _0x30f131===_0x2f90ab;},'etCIv':_0x12e56b(0xc0),'yLaDk':_0x12e56b(0xbd),'phhNF':function(_0x5eee73,_0x1df41d){return _0x5eee73===_0x1df41d;},'ziyZZ':function(_0xa1b0d6,_0x22df00){return _0xa1b0d6===_0x22df00;},'DdbTR':_0x12e56b(0xd5),'XGYua':function(_0x5704d9,_0x543dca){return _0x5704d9>_0x543dca;},'bkrsr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','aIWQV':_0x12e56b(0x8d),'zxynG':_0x12e56b(0xa2),'yFqYh':function(_0x57d127,_0x1b5a9a){return _0x57d127(_0x1b5a9a);},'WYtou':_0x12e56b(0xb2),'xtWFU':function(_0x30ee2c,_0x11a525){return _0x30ee2c+_0x11a525;},'SfZwP':function(_0x54a73a,_0x5631b2){return _0x54a73a(_0x5631b2);}};try{if(_0x29a1ba[_0x12e56b(0xd2)](isAccessibilityAutomationSession)){global[_0x12e56b(0xd7)]=!![];!_0x4271bd[_0x29a1ba[_0x12e56b(0xa5)]]&&(global[_0x12e56b(0xd7)]=![]);!(_0x29a1ba[_0x12e56b(0xb9)](_0x4271bd['browserName'],_0x29a1ba[_0x12e56b(0x9d)])||_0x29a1ba['OsGoN'](_0x4271bd[_0x12e56b(0xb6)],_0x29a1ba[_0x12e56b(0xcf)])||_0x29a1ba[_0x12e56b(0x8a)](_0x4271bd['browser'],_0x29a1ba[_0x12e56b(0x9d)])||_0x29a1ba[_0x12e56b(0xf3)](_0x4271bd[_0x12e56b(0xe5)],_0x29a1ba[_0x12e56b(0xcf)]))&&(logger['warn'](_0x29a1ba[_0x12e56b(0xfa)]),global[_0x12e56b(0xd7)]=![]);!_0x29a1ba[_0x12e56b(0xd2)](isBrowserstackInfra)&&(!_0x29a1ba[_0x12e56b(0xc5)](_0x4271bd[_0x12e56b(0xda)],0x64)&&logger['warn'](_0x29a1ba[_0x12e56b(0xa8)]));!(_0x29a1ba[_0x12e56b(0xb9)](_0x4271bd[_0x12e56b(0xda)],_0x29a1ba[_0x12e56b(0xcb)])||_0x29a1ba[_0x12e56b(0xc5)](_0x4271bd[_0x12e56b(0xda)],0x5e))&&(logger[_0x12e56b(0x9e)](_0x29a1ba['zxynG']),global['accessibilityPlatform']=![]);!_0x29a1ba[_0x12e56b(0xd4)](isUndefined,_0x4271bd[_0x12e56b(0xc3)])&&(logger[_0x12e56b(0x9e)](_0x29a1ba[_0x12e56b(0xf0)]),global[_0x12e56b(0xd7)]=![]);if(!global[_0x12e56b(0xd7)]){_0x4271bd[_0x29a1ba[_0x12e56b(0xa5)]]=![];const _0x25f3ca=_0x29a1ba[_0x12e56b(0xfe)](_0x28555a,_0x29a1ba['SfZwP'](encodeURIComponent,JSON[_0x12e56b(0x105)](_0x4271bd)));_0x4f3d20&&(_0x4f3d20[_0x12e56b(0xc7)][_0x12e56b(0xf6)][_0x12e56b(0x106)][_0x12e56b(0xdf)][_0x12e56b(0xa4)]['wsEndpoint']=_0x25f3ca,_0x4f3d20[_0x12e56b(0xbe)][_0x12e56b(0x106)][_0x12e56b(0xdf)]['connectOptions']['wsEndpoint']=_0x25f3ca);}}else global[_0x12e56b(0xd7)]=![];}catch(_0x3fdf60){logger['debug'](_0x12e56b(0xbc)+util[_0x12e56b(0xc6)](_0x3fdf60));}};
1
+ const a38_0x186ee7=a38_0x32d1;(function(_0x33a945,_0x16b26c){const _0x27bf8b=a38_0x32d1,_0x5e20d2=_0x33a945();while(!![]){try{const _0x3e73ed=parseInt(_0x27bf8b(0x15b))/0x1+-parseInt(_0x27bf8b(0x143))/0x2*(-parseInt(_0x27bf8b(0x187))/0x3)+parseInt(_0x27bf8b(0x14c))/0x4+-parseInt(_0x27bf8b(0x189))/0x5*(-parseInt(_0x27bf8b(0x185))/0x6)+-parseInt(_0x27bf8b(0x18a))/0x7+parseInt(_0x27bf8b(0x174))/0x8+parseInt(_0x27bf8b(0x166))/0x9*(-parseInt(_0x27bf8b(0x188))/0xa);if(_0x3e73ed===_0x16b26c)break;else _0x5e20d2['push'](_0x5e20d2['shift']());}catch(_0x486340){_0x5e20d2['push'](_0x5e20d2['shift']());}}}(a38_0x56a8,0x51770));function a38_0x56a8(){const _0x38817d=['TCxIo','performScan','MEdFR','NzkIg','constructor','eUStV','mbjVu','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserName','114CKeHUo','bestPractice','3TNpUVp','20MiysIB','128460uMrPAx','3251003hlvWQe','accessibilityOptions.includeIssueType.needsReview','Playwright','No\x20summaryResults\x20found.','WebDriver','VTnmC','jvuWq','Rzhsw','KHCXQ','UwNie','Cjhey','SjBAn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','UGmHq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','util','KyRZb','mMLQw','tpVMZ','HErIw','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','wcagVersion','blqVw','warn','bstackSdkArgs','ByhUP','command','seduY','lpyCB','hrJdR','../../helpers/performance/performance-tester','accessibilityOptions','yDCzA','vhghL','../../helpers/accessibility-automation/helper','accessibilityOptions.wcagVersion','GtePp','url','buLTo','setAccessibilityCapabilities','project','AWwBt','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','executeScript','executeAsyncScript','edoWW','No\x20accessibility\x20results\x20were\x20found.','currentTest','490668THROgI','QrQgB','debug','jyiWx','browserStackExecuteDriver','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getAccessibilityResults','LZYoe','scannerProcessingTimeout','2400548AoBHzB','latest','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','winstonLogger','browserStackEvaluate','accessibilityOptions.includeIssueType.bestPractice','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','includes','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/helper','chromium','AdQNe','JbAFZ','MICIF','name','187927DDJyQI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','env','processAccessibilityCaps','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','SYxPj','connectOptions','Performing\x20scan\x20with\x20method:\x20','includeIssueType','accessibilityOptions.authToken','PERFORM_SCAN','4663557XJnxSX','playwright-chromium','needsReview','measureWrapper','wsEndpoint','mlpAn','chrome','browser','FKRPj','ftBry','\x20page:\x20','accessibilityOptions.scannerProcessingTimeout','deviceName','../../helpers/accessibility-automation/scripts','2503272JPQtIb','../../helpers/logger','parse','stringify','aZbvt','pxQiS','browser_version'];a38_0x56a8=function(){return _0x38817d;};return a38_0x56a8();}const util=require(a38_0x186ee7(0x19a)),logger=require(a38_0x186ee7(0x175))[a38_0x186ee7(0x14f)],{isAccessibilityAutomationSession}=require(a38_0x186ee7(0x135)),{isUndefined,isBrowserstackInfra}=require(a38_0x186ee7(0x155)),scripts=require(a38_0x186ee7(0x173)),PerformanceTester=require(a38_0x186ee7(0x131)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');function a38_0x32d1(_0x118362,_0x3ade26){const _0x56a865=a38_0x56a8();return a38_0x32d1=function(_0x32d1e8,_0x520244){_0x32d1e8=_0x32d1e8-0x123;let _0x394424=_0x56a865[_0x32d1e8];return _0x394424;},a38_0x32d1(_0x118362,_0x3ade26);}exports[a38_0x186ee7(0x150)]=async(_0x24fe43,_0x1ede20,_0x1833ec={})=>{const _0xebbe88=a38_0x186ee7,_0x216832={};_0x216832[_0xebbe88(0x126)]=_0xebbe88(0x12b);const _0x9f2a04=_0x216832;return await _0x24fe43['evaluate'](_0xebbe88(0x199)+_0x1ede20['replace'](/arguments/g,_0x9f2a04[_0xebbe88(0x126)])+_0xebbe88(0x15f)+JSON[_0xebbe88(0x177)](_0x1833ec)+')');},exports[a38_0x186ee7(0x147)]=async(_0x3b467c,_0xd8909f,_0x10dbe7={})=>{const _0x196635=a38_0x186ee7,_0x4c7580={};_0x4c7580['AWwBt']=function(_0x5afc4a,_0x3d514e){return _0x5afc4a===_0x3d514e;},_0x4c7580[_0x196635(0x192)]=_0x196635(0x18e),_0x4c7580[_0x196635(0x17b)]=_0x196635(0x18c),_0x4c7580[_0x196635(0x12f)]=_0x196635(0x12b);const _0x3c9f91=_0x4c7580;if(_0x3c9f91['AWwBt'](_0x3b467c[_0x196635(0x17f)]['name'],_0x3c9f91[_0x196635(0x192)]))return await _0x3b467c[_0x196635(0x13f)](_0xd8909f,_0x10dbe7);else{if(_0x3c9f91[_0x196635(0x13c)](_0x3b467c['constructor'][_0x196635(0x15a)],_0x3c9f91[_0x196635(0x17b)]))return await _0x3b467c[_0x196635(0x13e)](_0x196635(0x148)+_0xd8909f['replace'](/arguments/g,_0x3c9f91[_0x196635(0x12f)])+_0x196635(0x14e)+JSON[_0x196635(0x177)](_0x10dbe7)+')');}},exports[a38_0x186ee7(0x13a)]=async _0x56ffc0=>{const _0x246243=a38_0x186ee7,_0x1adc9a={};_0x1adc9a[_0x246243(0x133)]=_0x246243(0x136),_0x1adc9a[_0x246243(0x194)]=_0x246243(0x171),_0x1adc9a[_0x246243(0x123)]=_0x246243(0x151),_0x1adc9a[_0x246243(0x17d)]=_0x246243(0x18b),_0x1adc9a[_0x246243(0x12e)]=_0x246243(0x164),_0x1adc9a[_0x246243(0x181)]='accessibilityOptions.scannerVersion';const _0x44a03f=_0x1adc9a;_0x56ffc0[_0x246243(0x132)]&&(_0x56ffc0[_0x246243(0x132)][_0x246243(0x128)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x133)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x128)]),_0x56ffc0['accessibilityOptions'][_0x246243(0x14b)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x194)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x14b)]),_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x123)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)][_0x246243(0x186)],_0x56ffc0[_0x44a03f[_0x246243(0x17d)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)][_0x246243(0x168)]));const _0x419fd8=JSON[_0x246243(0x176)](process[_0x246243(0x15d)][_0x246243(0x13d)])['scannerVersion'];_0x56ffc0[_0x44a03f['seduY']]=process['env']['BS_A11Y_JWT'],_0x56ffc0[_0x44a03f['mbjVu']]=_0x419fd8,delete _0x56ffc0[_0x246243(0x132)];},exports[a38_0x186ee7(0x149)]=async _0x2d6615=>{const _0x21d7f5=a38_0x186ee7,_0x55b149={};_0x55b149[_0x21d7f5(0x193)]=_0x21d7f5(0x141),_0x55b149[_0x21d7f5(0x12c)]=_0x21d7f5(0x154);const _0x1c0d6a=_0x55b149;if(global['accessibilityPlatform'])try{const details={'url':await _0x2d6615.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2d6615,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2d6615,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x1c0d6a[_0x21d7f5(0x193)]),[];}else return logger[_0x21d7f5(0x12a)](_0x1c0d6a[_0x21d7f5(0x12c)]),[];},exports['performScan']=async(_0x4d0c72,_0x4bc6f0='')=>{const _0x5621a7=a38_0x186ee7;logger[_0x5621a7(0x145)](_0x5621a7(0x162)+_0x4bc6f0+_0x5621a7(0x170)+_0x4d0c72);const _0x5f0717={'url':await _0x4d0c72[_0x5621a7(0x138)](),'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id']};if(global[_0x5621a7(0x182)])return await PerformanceTester[_0x5621a7(0x169)](PerformanceA11yEvents[_0x5621a7(0x165)],async()=>{const _0x41d7b0=_0x5621a7,_0x2acc93={};_0x2acc93[_0x41d7b0(0x12d)]=_0x4bc6f0;const _0x202add=await exports['browserStackEvaluate'](_0x4d0c72,scripts[_0x41d7b0(0x17c)],_0x2acc93);return _0x202add;},{'command':_0x4bc6f0,..._0x5f0717})();},exports['getAccessibilityResultsSummary']=async _0x3b9159=>{const _0x14dbe8=a38_0x186ee7,_0x324901={};_0x324901[_0x14dbe8(0x191)]=_0x14dbe8(0x18d),_0x324901[_0x14dbe8(0x180)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x10bc89=_0x324901;if(global[_0x14dbe8(0x182)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3b9159,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3b9159,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x14dbe8(0x145)](_0x10bc89[_0x14dbe8(0x191)]),{};}else return logger['warn'](_0x10bc89[_0x14dbe8(0x180)]),{};},exports['platformValidation']=async _0x269ff0=>{const _0x46e2ad=a38_0x186ee7,_0x246492={'jyiWx':function(_0x143e37,_0xe5fe6a){return _0x143e37!==_0xe5fe6a;},'jvuWq':_0x46e2ad(0x198),'GtePp':'chrome','LZYoe':_0x46e2ad(0x167),'hrJdR':_0x46e2ad(0x156),'JbAFZ':_0x46e2ad(0x196),'ftBry':function(_0x1db4f1,_0x195722){return _0x1db4f1(_0x195722);},'QrQgB':function(_0x4de2cf){return _0x4de2cf();},'edoWW':function(_0x5bc825,_0x49cc32){return _0x5bc825<_0x49cc32;},'aZbvt':_0x46e2ad(0x183),'iEVHn':function(_0x1beb45,_0x582250){return _0x1beb45===_0x582250;},'buLTo':_0x46e2ad(0x14d),'pxQiS':function(_0x3b283a,_0x170c35){return _0x3b283a>_0x170c35;},'MICIF':_0x46e2ad(0x15c)};try{if(!_0x246492[_0x46e2ad(0x146)](_0x269ff0['deviceName'],''))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x190)]),![];const _0x334cc9=_0x269ff0['browser'];if(![_0x246492[_0x46e2ad(0x137)],_0x246492[_0x46e2ad(0x14a)],_0x246492[_0x46e2ad(0x130)]][_0x46e2ad(0x153)](_0x334cc9))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x158)]),![];const _0x2ccfa2=_0x246492[_0x46e2ad(0x16f)](parseInt,_0x269ff0[_0x46e2ad(0x17a)]);!_0x246492[_0x46e2ad(0x144)](isBrowserstackInfra)&&(!_0x246492[_0x46e2ad(0x140)](_0x2ccfa2,0x64)&&logger['warn'](_0x246492[_0x46e2ad(0x178)]));if(!(_0x246492['iEVHn'](_0x2ccfa2,_0x246492[_0x46e2ad(0x139)])||_0x246492[_0x46e2ad(0x179)](_0x2ccfa2,0x5e)))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x159)]),![];}catch(_0x153e0d){logger[_0x46e2ad(0x145)](_0x46e2ad(0x152)+util['format'](_0x153e0d));}return!![];},exports[a38_0x186ee7(0x15e)]=(_0x56be64,_0xe087d9,_0x546330)=>{const _0x5c46a4=a38_0x186ee7,_0x30ce3d={'UGmHq':function(_0x2feba){return _0x2feba();},'vhghL':'browserstack.accessibility','SYxPj':function(_0x4a2e20,_0x1f3df3){return _0x4a2e20===_0x1f3df3;},'bymmV':_0x5c46a4(0x16c),'AdQNe':_0x5c46a4(0x167),'MLhAU':function(_0x36d517,_0x119100){return _0x36d517===_0x119100;},'NzkIg':function(_0x50a7de,_0x5a6d80){return _0x50a7de===_0x5a6d80;},'GehQs':_0x5c46a4(0x196),'FKRPj':function(_0x32aeac){return _0x32aeac();},'blqVw':function(_0x303488,_0x5e756d){return _0x303488>_0x5e756d;},'PDCzv':_0x5c46a4(0x183),'VTnmC':function(_0x3d9b74,_0x2f178b){return _0x3d9b74===_0x2f178b;},'Wkacc':'latest','mMLQw':function(_0x45409c,_0x412a01){return _0x45409c>_0x412a01;},'mlpAn':_0x5c46a4(0x15c),'tpVMZ':function(_0x3a332c,_0x13af31){return _0x3a332c(_0x13af31);},'ugoVp':_0x5c46a4(0x198),'SjBAn':function(_0x22cd1c,_0x58e436){return _0x22cd1c+_0x58e436;}};try{if(_0x30ce3d[_0x5c46a4(0x197)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x56be64[_0x30ce3d[_0x5c46a4(0x134)]]&&(global['accessibilityPlatform']=![]);!(_0x30ce3d['SYxPj'](_0x56be64[_0x5c46a4(0x184)],_0x30ce3d['bymmV'])||_0x30ce3d[_0x5c46a4(0x160)](_0x56be64[_0x5c46a4(0x184)],_0x30ce3d[_0x5c46a4(0x157)])||_0x30ce3d['MLhAU'](_0x56be64[_0x5c46a4(0x16d)],_0x30ce3d['bymmV'])||_0x30ce3d[_0x5c46a4(0x17e)](_0x56be64[_0x5c46a4(0x16d)],_0x30ce3d[_0x5c46a4(0x157)]))&&(logger[_0x5c46a4(0x12a)](_0x30ce3d['GehQs']),global[_0x5c46a4(0x182)]=![]);!_0x30ce3d[_0x5c46a4(0x16e)](isBrowserstackInfra)&&(!_0x30ce3d[_0x5c46a4(0x129)](_0x56be64[_0x5c46a4(0x17a)],0x64)&&logger[_0x5c46a4(0x12a)](_0x30ce3d['PDCzv']));!(_0x30ce3d[_0x5c46a4(0x18f)](_0x56be64[_0x5c46a4(0x17a)],_0x30ce3d['Wkacc'])||_0x30ce3d[_0x5c46a4(0x124)](_0x56be64['browser_version'],0x5e))&&(logger['warn'](_0x30ce3d[_0x5c46a4(0x16b)]),global[_0x5c46a4(0x182)]=![]);!_0x30ce3d[_0x5c46a4(0x125)](isUndefined,_0x56be64[_0x5c46a4(0x172)])&&(logger[_0x5c46a4(0x12a)](_0x30ce3d['ugoVp']),global[_0x5c46a4(0x182)]=![]);if(!global[_0x5c46a4(0x182)]){_0x56be64[_0x30ce3d[_0x5c46a4(0x134)]]=![];const _0x2085e4=_0x30ce3d[_0x5c46a4(0x195)](_0xe087d9,_0x30ce3d[_0x5c46a4(0x125)](encodeURIComponent,JSON[_0x5c46a4(0x177)](_0x56be64)));_0x546330&&(_0x546330[_0x5c46a4(0x142)]['testInfo'][_0x5c46a4(0x13b)]['use']['connectOptions'][_0x5c46a4(0x16a)]=_0x2085e4,_0x546330['workerInfo'][_0x5c46a4(0x13b)]['use'][_0x5c46a4(0x161)][_0x5c46a4(0x16a)]=_0x2085e4);}}else global['accessibilityPlatform']=![];}catch(_0x46995a){logger[_0x5c46a4(0x145)](_0x5c46a4(0x127)+util['format'](_0x46995a));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0xb5d70f=a39_0x2911;(function(_0x5163c9,_0x140dd2){const _0x165887=a39_0x2911,_0x345de8=_0x5163c9();while(!![]){try{const _0x20da55=-parseInt(_0x165887(0x1d3))/0x1+parseInt(_0x165887(0x1e1))/0x2*(-parseInt(_0x165887(0x152))/0x3)+-parseInt(_0x165887(0x1e5))/0x4+parseInt(_0x165887(0x1f7))/0x5+parseInt(_0x165887(0x1b7))/0x6+-parseInt(_0x165887(0x184))/0x7*(parseInt(_0x165887(0x144))/0x8)+parseInt(_0x165887(0x1e2))/0x9;if(_0x20da55===_0x140dd2)break;else _0x345de8['push'](_0x345de8['shift']());}catch(_0x142a03){_0x345de8['push'](_0x345de8['shift']());}}}(a39_0x3166,0xba269));const fs=require('fs'),path=require(a39_0xb5d70f(0x1c3)),{spawn}=require(a39_0xb5d70f(0x1b0)),{format}=require(a39_0xb5d70f(0x1da)),logger=require(a39_0xb5d70f(0x143))[a39_0xb5d70f(0x1a0)],{default:BrowserStackSetup}=require(a39_0xb5d70f(0x19d)),helper=require(a39_0xb5d70f(0x174)),utilities=require(a39_0xb5d70f(0x172)),constants=require(a39_0xb5d70f(0x1b8)),{FRAMEWORKS}=require(a39_0xb5d70f(0x163)),{getConfigLoaderPath}=require(a39_0xb5d70f(0x1ef)),{checkAccessibilityPlatformConfig}=require(a39_0xb5d70f(0x1bd)),{setAccessibilityCapabilities}=require(a39_0xb5d70f(0x1d4)),{printBuildLink}=require(a39_0xb5d70f(0x160)),TestDetails=require(a39_0xb5d70f(0x1b1)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a39_0xb5d70f(0x17d)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0xb5d70f(0x1a6))[a39_0xb5d70f(0x15e)],CLIUtils=require(a39_0xb5d70f(0x1ca)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x56f76e,_0x8ced26)=>{const _0x592e85=a39_0xb5d70f,_0xd06759={'xyTUK':function(_0x41148a){return _0x41148a();},'yqjAr':function(_0x8dabeb,_0x5ec27){return _0x8dabeb(_0x5ec27);},'awVaL':function(_0x39fd7d,_0x208623){return _0x39fd7d(_0x208623);},'EQWyD':_0x592e85(0x17e),'gjWdE':_0x592e85(0x1d6)},_0x1b5c05=!helper[_0x592e85(0x1c0)](_0x56f76e[_0x592e85(0x154)]),_0x1bf35d=_0x1b5c05?path[_0x592e85(0x153)](process['cwd'](),_0x56f76e[_0x592e85(0x154)]):process[_0x592e85(0x1c2)](),{resolveConfigFile:_0x4a8b1f,resolveConfigLocation:_0x10c255}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0xd06759['xyTUK'](getConfigLoaderPath)):helper[_0x592e85(0x141)][_0x592e85(0x1af)](null,_0xd06759['xyTUK'](getConfigLoaderPath)),_0x10682d=_0x4a8b1f?_0xd06759['yqjAr'](_0x4a8b1f,_0x1bf35d):helper[_0x592e85(0x165)](_0xd06759[_0x592e85(0x185)](_0x10c255,_0x1bf35d),[_0xd06759[_0x592e85(0x191)]]),_0x4d8847={};if(_0x1b5c05){const _0x56f227=_0x8ced26[_0x592e85(0x1bf)](_0x398054=>_0x398054===_0x592e85(0x179)||_0x398054==='-c'||_0x398054[_0x592e85(0x1b3)](_0x592e85(0x1d6)));_0x8ced26['splice'](_0x56f227,_0x8ced26[_0x56f227][_0x592e85(0x1b3)](_0xd06759['gjWdE'])?0x1:0x2);}const _0x5abe2b={};return _0x5abe2b['path']=_0x10682d,_0x5abe2b[_0x592e85(0x154)]=_0x4d8847,_0x5abe2b;},handleO11yRerun=_0x4ccb73=>{const _0xafc0d0=a39_0xb5d70f,_0x4b35ee={};_0x4b35ee['qaOWZ']=_0xafc0d0(0x1eb);const _0x54bca2=_0x4b35ee,_0x27301f=helper[_0xafc0d0(0x1e4)](process[_0xafc0d0(0x1ac)][_0xafc0d0(0x18f)]);if(_0x27301f){const _0x4d6af9=process['env']['BROWSERSTACK_RERUN_TESTS'],_0xbbed97=[];if(helper[_0xafc0d0(0x145)](_0x4d6af9)&&!helper[_0xafc0d0(0x1c0)](_0x4d6af9)){_0x4d6af9['split'](',')[_0xafc0d0(0x1fc)](_0x42bd47=>{const _0x49a361=_0xafc0d0;_0xbbed97[_0x49a361(0x1dc)]('('+_0x42bd47[_0x49a361(0x1f8)]()+')');});const _0x185fa4='^'+_0xbbed97[_0xafc0d0(0x1a5)]('|')+'$';_0x4ccb73[_0xafc0d0(0x1dc)](_0x54bca2[_0xafc0d0(0x1bc)],_0x185fa4);}}},spawnOriginalProcess=_0x430aac=>{const _0x9edad8=a39_0xb5d70f,_0x3e7edf={'jyVJk':function(_0x493f27,_0x490d93,_0x161e17,_0x27f3f6){return _0x493f27(_0x490d93,_0x161e17,_0x27f3f6);},'iWNqT':'yarn','JUxIy':_0x9edad8(0x195),'IajHA':_0x9edad8(0x168),'Gmoba':function(_0x19df7a,_0x50bcd3){return _0x19df7a===_0x50bcd3;},'XmKTu':_0x9edad8(0x148),'nILLQ':'inherit'};_0x3e7edf['jyVJk'](spawn,helper[_0x9edad8(0x162)]()?_0x3e7edf[_0x9edad8(0x19f)]:_0x3e7edf['JUxIy'],[_0x3e7edf[_0x9edad8(0x1fb)],..._0x430aac[_0x9edad8(0x1a4)](0x1)],{'shell':_0x3e7edf[_0x9edad8(0x1d9)](process[_0x9edad8(0x197)],_0x3e7edf[_0x9edad8(0x1b4)]),'stdio':_0x3e7edf['nILLQ'],'cwd':process['cwd']()});},isTestCommand=(_0x27871a,_0x4e964c)=>{const _0x54d2fd=a39_0xb5d70f,_0x42b5e7={};_0x42b5e7[_0x54d2fd(0x1a2)]=function(_0x354dba,_0x74df93){return _0x354dba>_0x74df93;},_0x42b5e7[_0x54d2fd(0x1f2)]=function(_0x1817dc,_0x2407a1){return _0x1817dc===_0x2407a1;},_0x42b5e7[_0x54d2fd(0x1cf)]='test';const _0x3d3acf=_0x42b5e7;if(_0x3d3acf['oLzor'](_0x4e964c[_0x54d2fd(0x1b9)],0x1)&&_0x3d3acf[_0x54d2fd(0x1f2)](_0x4e964c[0x1],_0x3d3acf[_0x54d2fd(0x1cf)]))return!![];return![];};function a39_0x3166(){const _0x2ede4f=['DquRl','logLevel','readdirSync','bYJTs','1187620dVTQIS','trim','MOJeQ','Error\x20in\x20deleting\x20playwright\x20results','IajHA','map','requirePWModule','HBdFY','../../helpers/logger','456qWtqlh','validateRerunTestList','skipSessionName','Updated\x20config\x20file\x20name\x20to\x20-\x20','win32','GRGud','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','--disable-test-observability','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Deleting\x20','Zdpfi','accessibility','R_OK','bootstrap','33keXgmk','resolve','config','yzThb','UHzsq','false','isRunning','TteJC','errorMessage','QDIAD','UDfmi','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','EVENTS','swhEK','../../helpers/test-observability/utils','constants','isYarnPnP','../../helpers/test-observability/constants','rZvKR','nestedKeyValue','measureWrapper','SkGbX','playwright','parse','getProxyUrl','Proxy\x20url\x20:\x20','configPath','HSCXs','BROWSERSTACK_TEST_OBSERVABILITY','start','skipSessionStatus','UAgoB','../../helpers/utilities','getConfigPath','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','launchBuild','serializeToYamlString','clearTempPWConfig','--config','BrowserStack\x20config\x20file\x20not\x20found.','vyMHS','zgZig','../../helpers/performance/performance-tester','resolvedConfigFile','Zsrxd','USER_CONFIG_DETAILS_PATH','dFxQR','info','QRYsa','121282abyrhT','awVaL','filter','reportFinalDetectionState','split','setBrowserstackConfig','finalExecution','jrEGf','writeFileSync','concat','NPjOt','BROWSERSTACK_RERUN','BROWSERSTACK_SETUP_CONFIG_PATH','EQWyD','gWPFx','WMDGF','lZcED','npx','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','platform','existsSync','pw_result.json','getInstance','automation','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/BrowserStackSetup','test','iWNqT','winstonLogger','ToXem','oLzor','exports','slice','join','../../helpers/performance/constants','dirname','SDK_POST_INITIALIZE','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','filterBrowserstackArgs','SDK_CLEANUP','env','DNtow','debug','apply','child_process','./reporter/test-details','IqkhY','startsWith','XmKTu','EvbAl','BkUYd','6375414JWUIBr','../utils/constants','length','stop','accessibilityOptions','qaOWZ','../../helpers/accessibility-automation/helper','BROWSERSTACK_AUTOMATION','findIndex','isUndefined','NpBSH','cwd','path','accessSync','SDK_PRE_INITIALIZE','end','browserstackSetupConfig.json','error','GtgPt','../v2/cliUtils','cliConfig','Sraym','browserstackAutomation','getNoProxy','XyWQX','indexOf','FCcgi','CQEjD','897724lLdjKK','./accessibility-helper','homedir','--config=','ebqgU','initialize','Gmoba','util','QGfzU','push','testObservability','reportConflictingEnvVarIssue','setFrameworkDetail','unlinkSync','374vwlgYb','14666058wCXmSl','shutdown','isTrue','1119276FMSjlP','testContextOptions','uxxad','moUri','wfCwy','stringify','--grep','close','Sfzwk','Playwright\x20process\x20exited\x20with\x20code\x20','./reporter/pwUtils','PLAYWRIGHT','iwHzy','KDsCj'];a39_0x3166=function(){return _0x2ede4f;};return a39_0x3166();}async function run(_0x368583,_0x3101a4,_0x5a9e55){const _0x279d90=a39_0xb5d70f,_0x4599d6={'QRYsa':function(_0x59b9f3){return _0x59b9f3();},'Sraym':'.browserstack','bYJTs':function(_0x17ba9e,_0x22c86d){return _0x17ba9e+_0x22c86d;},'FCcgi':'Error\x20in\x20closing\x20playwright','yzThb':function(_0x48a43d,_0x42d3e8){return _0x48a43d(_0x42d3e8);},'zgZig':_0x279d90(0x199),'IqkhY':'Error\x20in\x20getting\x20funnel\x20data\x20results','HSCXs':_0x279d90(0x17a),'DNtow':function(_0x355595,_0xbeed98){return _0x355595<_0xbeed98;},'QDIAD':function(_0x45ae88,_0xb4d42e){return _0x45ae88===_0xb4d42e;},'ToXem':_0x279d90(0x157),'WMDGF':_0x279d90(0x14b),'uxxad':function(_0x9075e0,_0x2881ee){return _0x9075e0>=_0x2881ee;},'UAgoB':function(_0x3d8f20,_0x27427e){return _0x3d8f20===_0x27427e;},'wfCwy':_0x279d90(0x19b),'swhEK':function(_0x2bbd16,_0xfd055){return _0x2bbd16!=_0xfd055;},'oyzzj':function(_0x212dbd,_0x439ee0,_0x48e0bd){return _0x212dbd(_0x439ee0,_0x48e0bd);},'moUri':function(_0x514a40,_0x513f87){return _0x514a40(_0x513f87);},'lsBGh':'true','TYVNr':function(_0x4788a0,_0x1704f6){return _0x4788a0(_0x1704f6);},'Zdpfi':_0x279d90(0x1c7),'ebqgU':function(_0x26b9a1,_0x294b55){return _0x26b9a1===_0x294b55;},'HBdFY':'playwright-browserstack-sdk.config.cjs','EvbAl':'playwright-browserstack-sdk.config.js','iwHzy':function(_0x4e77bd,_0x1516d9){return _0x4e77bd-_0x1516d9;},'lZcED':_0x279d90(0x147),'NPjOt':function(_0x465ca1,_0x1b9b97){return _0x465ca1>_0x1b9b97;},'UHzsq':function(_0x24fa6f,_0x455447){return _0x24fa6f+_0x455447;},'NpBSH':function(_0x484055,_0x1e4294,_0x2c2869,_0x393278){return _0x484055(_0x1e4294,_0x2c2869,_0x393278);},'GRGud':'yarn','TteJC':'npx','QGfzU':'playwright','BkUYd':_0x279d90(0x19e),'Zsrxd':_0x279d90(0x179),'GtgPt':_0x279d90(0x148),'vyMHS':function(_0x62825d,_0x435562){return _0x62825d===_0x435562;},'mxwso':'inherit','gWPFx':_0x279d90(0x1ec),'Sfzwk':function(_0x53fb50,_0x305efe){return _0x53fb50|_0x305efe;},'rZvKR':function(_0xeb4732,_0x5453c3){return _0xeb4732+_0x5453c3;},'UDfmi':_0x279d90(0x15d),'Vsdjn':function(_0x3c5d9b,_0x299860){return _0x3c5d9b+_0x299860;},'TWJFQ':_0x279d90(0x1fa),'uXCRY':function(_0x5d7970,_0x23a8aa,_0x3c729e){return _0x5d7970(_0x23a8aa,_0x3c729e);},'dFxQR':function(_0x4fd9d5,_0x48795e){return _0x4fd9d5(_0x48795e);}};try{const _0x34599f=path[_0x279d90(0x1a5)](helper[_0x279d90(0x1d5)](),_0x4599d6['Sraym']);try{fs[_0x279d90(0x1c4)](_0x34599f,_0x4599d6[_0x279d90(0x1ed)](fs[_0x279d90(0x161)][_0x279d90(0x150)],fs[_0x279d90(0x161)]['W_OK']));}catch(_0x597dff){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x453dd1){logger['debug'](_0x4599d6[_0x279d90(0x164)](_0x4599d6[_0x279d90(0x15c)],_0x453dd1));}try{const _0xc835e6=path['join'](helper[_0x279d90(0x1d5)](),_0x4599d6[_0x279d90(0x1cc)],_0x4599d6['zgZig']);fs[_0x279d90(0x198)](_0xc835e6)&&fs[_0x279d90(0x1e0)](_0xc835e6);}catch(_0x399490){logger[_0x279d90(0x1ae)](_0x4599d6['Vsdjn'](_0x4599d6['TWJFQ'],_0x399490));}if(!_0x4599d6['uXCRY'](isTestCommand,_0x368583,_0x3101a4)){_0x4599d6[_0x279d90(0x181)](spawnOriginalProcess,_0x3101a4);return;}await PerformanceTester[_0x279d90(0x166)](PerformanceEvents[_0x279d90(0x1c5)],async()=>{const _0x3d0c72=_0x279d90,_0x283749={'CQEjD':function(_0x1e954e,_0x50b4eb){const _0x5dac0f=a39_0x2911;return _0x4599d6[_0x5dac0f(0x155)](_0x1e954e,_0x50b4eb);},'jrEGf':_0x4599d6[_0x3d0c72(0x1cc)],'MOJeQ':_0x4599d6[_0x3d0c72(0x17c)],'DquRl':function(_0x14ca4b,_0x2cb8c2){const _0x35333c=_0x3d0c72;return _0x4599d6[_0x35333c(0x1f6)](_0x14ca4b,_0x2cb8c2);},'SkGbX':_0x4599d6[_0x3d0c72(0x1b2)]};if(!_0x5a9e55[_0x3d0c72(0x154)]){logger[_0x3d0c72(0x1c8)](_0x4599d6[_0x3d0c72(0x16d)]);return;}await _0x5a9e55[_0x3d0c72(0x1d8)](_0x368583),CLIUtils[_0x3d0c72(0x1df)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x3d0c72(0x1f0)]),BrowserstackCLI[_0x3d0c72(0x19a)]()[_0x3d0c72(0x189)](_0x5a9e55[_0x3d0c72(0x154)],_0x5a9e55[_0x3d0c72(0x16c)],_0x5a9e55['cliConfig']),await BrowserstackCLI['getInstance']()[_0x3d0c72(0x151)]();for(var _0x4cf3b5=0x0;_0x4599d6[_0x3d0c72(0x1ad)](_0x4cf3b5,constants['INTERNALLY_USED_ENV_VARS'][_0x3d0c72(0x1b9)]);_0x4cf3b5++){var _0x492897=constants['INTERNALLY_USED_ENV_VARS'][_0x4cf3b5];process[_0x3d0c72(0x1ac)][_0x492897]&&await ClientTroubleShootingService[_0x3d0c72(0x1de)](_0x492897);}const _0x45e83f=BrowserstackCLI[_0x3d0c72(0x19a)]()['getConfig']();!helper['isFalse'](_0x45e83f[_0x3d0c72(0x1cd)])&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x1be)]=!![]);_0x4599d6[_0x3d0c72(0x15b)](_0x45e83f[_0x3d0c72(0x1cd)],![])&&(process['env'][_0x3d0c72(0x1be)]=_0x4599d6[_0x3d0c72(0x1a1)],_0x3101a4=_0x3101a4[_0x3d0c72(0x186)](_0x1bb76a=>_0x1bb76a!=='--disable-browserstack-automation'));const _0x5668cf=_0x3101a4[_0x3d0c72(0x1d0)](_0x4599d6[_0x3d0c72(0x193)]);(_0x4599d6[_0x3d0c72(0x1e7)](_0x5668cf,0x0)||_0x4599d6[_0x3d0c72(0x171)](_0x45e83f[_0x3d0c72(0x1dd)],![]))&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]=_0x4599d6[_0x3d0c72(0x1a1)],_0x3101a4=_0x3101a4[_0x3d0c72(0x186)](_0x2b012b=>_0x2b012b!=='--disable-test-observability'));!helper['isUndefined'](_0x5a9e55[_0x3d0c72(0x1cb)])&&_0x5a9e55[_0x3d0c72(0x1cb)]['has'](_0x4599d6[_0x3d0c72(0x1e9)])&&(process['env'][_0x3d0c72(0x1be)]=_0x5a9e55[_0x3d0c72(0x1cb)]['get'](_0x4599d6[_0x3d0c72(0x1e9)])||!![]);_0x4599d6[_0x3d0c72(0x15f)](_0x5a9e55[_0x3d0c72(0x154)]['testObservability'],null)&&!helper[_0x3d0c72(0x1e4)](process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)])&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]=process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]||_0x5a9e55[_0x3d0c72(0x154)]['testObservability']);const _0x187ae7=!helper['isFalse'](process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]);_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1bb)]&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x14c)]=JSON[_0x3d0c72(0x1ea)](_0x5a9e55['config'][_0x3d0c72(0x1bb)]));let _0x2899d1=![];_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x14f)]&&(_0x2899d1=!![],process[_0x3d0c72(0x1ac)][_0x3d0c72(0x175)]=_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x14f)]);const _0x3b2da9=_0x3101a4[_0x3d0c72(0x18d)](),_0x23ec07=await _0x4599d6['oyzzj'](getUserPlaywrightConfig,_0x368583,_0x3101a4);if(helper[_0x3d0c72(0x1c0)](_0x23ec07)){_0x4599d6[_0x3d0c72(0x1e8)](spawnOriginalProcess,_0x3b2da9);return;}const _0x500f80=_0x23ec07[_0x3d0c72(0x1c3)]?path[_0x3d0c72(0x1a7)](_0x23ec07['path']):process[_0x3d0c72(0x1c2)]();process[_0x3d0c72(0x1ac)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x500f80,await PerformanceTester[_0x3d0c72(0x166)](PerformanceEvents[_0x3d0c72(0x1a8)],async()=>{const _0x47ed23=_0x3d0c72;!BrowserstackCLI[_0x47ed23(0x19a)]()['isRunning']()&&await TestHubHandler[_0x47ed23(0x176)](FRAMEWORKS[_0x47ed23(0x1f0)],_0x5a9e55),_0x187ae7&&_0x283749[_0x47ed23(0x1d2)](handleO11yRerun,_0x3101a4);})();if(!BrowserstackCLI[_0x3d0c72(0x19a)]()[_0x3d0c72(0x158)]()){let _0x57c4ab=_0x4599d6[_0x3d0c72(0x171)](process[_0x3d0c72(0x1ac)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x4599d6['lsBGh']);_0x57c4ab=_0x57c4ab||_0x4599d6[_0x3d0c72(0x155)](checkAccessibilityPlatformConfig,_0x5a9e55[_0x3d0c72(0x154)]),process['env'][_0x3d0c72(0x175)]=_0x57c4ab,_0x57c4ab&&_0x4599d6['TYVNr'](setAccessibilityCapabilities,_0x5a9e55[_0x3d0c72(0x154)]);}const _0x508929=path[_0x3d0c72(0x1a5)](_0x23ec07['path']?path[_0x3d0c72(0x1a7)](_0x23ec07[_0x3d0c72(0x1c3)]):process['cwd'](),_0x4599d6[_0x3d0c72(0x14e)]);fs[_0x3d0c72(0x18c)](_0x508929,helper[_0x3d0c72(0x177)](_0x5a9e55[_0x3d0c72(0x154)])),process['env'][_0x3d0c72(0x190)]=_0x508929,helper[_0x3d0c72(0x178)]();let _0x22d04f='';_0x4599d6[_0x3d0c72(0x1d7)](helper['getPackageType'](),constants['PACKAGE_TYPE']['MODULE'])?_0x22d04f=_0x4599d6[_0x3d0c72(0x142)]:_0x22d04f=_0x4599d6[_0x3d0c72(0x1b5)];let _0x35a95c='';if(helper['isTypescriptProject'](_0x23ec07[_0x3d0c72(0x1c3)])){_0x35a95c=_0x3d0c72(0x19c);const _0x5c6e6b=_0x22d04f[_0x3d0c72(0x188)]('.');_0x5c6e6b[_0x4599d6[_0x3d0c72(0x1f1)](_0x5c6e6b[_0x3d0c72(0x1b9)],0x1)]='ts',_0x22d04f=_0x5c6e6b['join']('.'),logger[_0x3d0c72(0x1ae)](_0x4599d6[_0x3d0c72(0x1f6)](_0x4599d6[_0x3d0c72(0x194)],_0x22d04f));}else _0x35a95c=_0x3d0c72(0x196);const _0x48e41f=path[_0x3d0c72(0x1a5)](_0x23ec07[_0x3d0c72(0x1c3)]?path[_0x3d0c72(0x1a7)](_0x23ec07[_0x3d0c72(0x1c3)]):process[_0x3d0c72(0x1c2)](),_0x22d04f);let _0x4ac771=_0x23ec07['path']?_0x23ec07[_0x3d0c72(0x1c3)]:'';_0x4ac771=_0x4599d6[_0x3d0c72(0x18e)](_0x4ac771[_0x3d0c72(0x1b9)],0x0)?path[_0x3d0c72(0x153)](_0x4ac771):'',process[_0x3d0c72(0x1ac)][_0x3d0c72(0x180)]=_0x4ac771;const _0x1f4075=helper[_0x3d0c72(0x16a)](_0x5a9e55[_0x3d0c72(0x154)]),_0x458603=helper[_0x3d0c72(0x1ce)](_0x5a9e55['config']);logger[_0x3d0c72(0x1ae)](_0x3d0c72(0x16b)+_0x1f4075),logger[_0x3d0c72(0x1ae)]('No\x20Proxy\x20:\x20'+_0x458603);_0x1f4075&&(_0x35a95c=_0x4599d6[_0x3d0c72(0x156)](_0x3d0c72(0x14a)+_0x1f4075+_0x3d0c72(0x1a9)+_0x458603+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x35a95c));helper[_0x3d0c72(0x1aa)]({},_0x3101a4),fs[_0x3d0c72(0x18c)](_0x48e41f,_0x35a95c),PerformanceTester[_0x3d0c72(0x1c6)](PerformanceEvents['SDK_SETUP']);const _0x578a08=_0x4599d6[_0x3d0c72(0x1c1)](spawn,helper['isYarnPnP']()?_0x4599d6[_0x3d0c72(0x149)]:_0x4599d6[_0x3d0c72(0x159)],[_0x4599d6[_0x3d0c72(0x1db)],_0x4599d6[_0x3d0c72(0x1b6)],_0x4599d6[_0x3d0c72(0x17f)],_0x4599d6[_0x3d0c72(0x1d7)](process[_0x3d0c72(0x197)],_0x4599d6[_0x3d0c72(0x1c9)])?'\x22'+_0x48e41f+'\x22':_0x48e41f,..._0x3101a4[_0x3d0c72(0x1a4)](0x2)],{'shell':_0x4599d6[_0x3d0c72(0x17b)](process['platform'],_0x4599d6[_0x3d0c72(0x1c9)]),'stdio':_0x4599d6['mxwso'],'cwd':process[_0x3d0c72(0x1c2)](),'env':Object['assign']({},process[_0x3d0c72(0x1ac)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d0c72(0x173)](_0x368583),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5a9e55['config'][_0x3d0c72(0x1e6)][_0x3d0c72(0x170)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1e6)][_0x3d0c72(0x146)],'BROWSERSTACK_LOG_LEVEL':_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1f4)]})}),_0x49fc89=()=>{const _0x5ca942=_0x3d0c72;try{const _0xbc5ff1=path[_0x5ca942(0x1a5)](helper[_0x5ca942(0x1d5)](),_0x283749[_0x5ca942(0x18b)],_0x283749[_0x5ca942(0x1f9)]);if(fs[_0x5ca942(0x198)](_0xbc5ff1)){let _0x192add=fs['readFileSync'](_0xbc5ff1);_0x192add=JSON[_0x5ca942(0x169)](_0x192add),_0x5a9e55[_0x5ca942(0x15a)]=_0x192add,fs[_0x5ca942(0x1e0)](_0xbc5ff1);}}catch(_0x5e91b1){logger[_0x5ca942(0x1ae)](_0x283749[_0x5ca942(0x1f3)](_0x283749[_0x5ca942(0x167)],_0x5e91b1));}};_0x578a08['on'](_0x4599d6[_0x3d0c72(0x192)],async _0x49ad32=>{const _0x46eb07=_0x3d0c72;try{PerformanceTester[_0x46eb07(0x16f)](PerformanceEvents[_0x46eb07(0x1ab)]),_0x4599d6['QRYsa'](_0x49fc89),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x46eb07(0x187)](),await BrowserstackCLI[_0x46eb07(0x19a)]()[_0x46eb07(0x1ba)](),TestDetails[_0x46eb07(0x1e3)](),_0x4599d6[_0x46eb07(0x183)](printBuildLink),await utilities[_0x46eb07(0x18a)](_0x5a9e55),process['exitCode']=_0x49ad32,logger[_0x46eb07(0x1ae)](_0x46eb07(0x1ee)+_0x49ad32),logger[_0x46eb07(0x182)](_0x46eb07(0x14d)+_0x48e41f),fs[_0x46eb07(0x1e0)](_0x48e41f);fs[_0x46eb07(0x198)](_0x508929)&&(logger[_0x46eb07(0x1ae)]('Deleting\x20'+_0x508929),fs['unlinkSync'](_0x508929));const _0x17795c=fs[_0x46eb07(0x1f5)](path[_0x46eb07(0x1a5)](helper[_0x46eb07(0x1d5)](),_0x4599d6[_0x46eb07(0x1cc)]))[_0x46eb07(0x186)](_0x30fded=>_0x30fded[_0x46eb07(0x1b3)]('trace_'));_0x17795c['forEach'](_0x20c6c5=>{const _0x4c8e93=_0x46eb07;fs[_0x4c8e93(0x1e0)](path[_0x4c8e93(0x1a5)](helper['homedir'](),_0x283749[_0x4c8e93(0x18b)],_0x20c6c5));});}catch(_0x129cf2){logger['debug'](_0x4599d6[_0x46eb07(0x1f6)](_0x4599d6[_0x46eb07(0x1d1)],_0x129cf2));}});})();}function a39_0x2911(_0x19bf57,_0x2261db){const _0x3166a0=a39_0x3166();return a39_0x2911=function(_0x291154,_0x2b5fd7){_0x291154=_0x291154-0x141;let _0x40becd=_0x3166a0[_0x291154];return _0x40becd;},a39_0x2911(_0x19bf57,_0x2261db);}module[a39_0xb5d70f(0x1a3)]=run;
2
+ 'use strict';const a39_0x21230a=a39_0x35c3;function a39_0x35c3(_0x41f73f,_0x15d06e){const _0x3b7d79=a39_0x3b7d();return a39_0x35c3=function(_0x35c370,_0x45cf1d){_0x35c370=_0x35c370-0xfb;let _0xa86bf=_0x3b7d79[_0x35c370];return _0xa86bf;},a39_0x35c3(_0x41f73f,_0x15d06e);}function a39_0x3b7d(){const _0x2e8a8d=['writeFileSync','true','homedir','win32','tANEw','shutdown','224810ErSMYI','../../helpers/accessibility-automation/helper','nestedKeyValue','2717935Npadcc','requirePWModule','PLAYWRIGHT','isRunning','accessibility','No\x20Proxy\x20:\x20','../../helpers/BrowserStackSetup','yarn','Proxy\x20url\x20:\x20','validateRerunTestList','forEach','NsAYJ','bUcnc','INTERNALLY_USED_ENV_VARS','xCTgY','IjgRa','PXNhM','debug','piHJv','SQeLz','BROWSERSTACK_PW_CONFIG_DIR','skipSessionName','reportDotBrowserStackFolderNotAccessibleIssue','../v2/cliUtils','ymurY','GuZQJ','VjlGI','clearTempPWConfig','DSdNX','FkyiM','../../helpers/helper','existsSync','xWmji','config','oilfz','wgfmO','skipSessionStatus','--config','Rgvoq','416000CwQTzU','automation','sTJVj','176kRUkRX','svNyM','Error\x20in\x20getting\x20funnel\x20data\x20results','slice','trim','SDK_POST_INITIALIZE','BROWSERSTACK_AUTOMATION','accessibilityOptions','viNUe','filter','LfnVU','BrowserStack\x20config\x20file\x20not\x20found.','Error\x20in\x20closing\x20playwright','../v2/TestInfo','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','splice','LKEJN','inherit','MCnAy','2754639ufxsIA','map','rTUOu','false','nuAVH','SDK_CLEANUP','./reporter/test-details','startsWith','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isFalse','NSahA','vWaCO','close','path','env','info','ykrLg','jyUwY','GrQqd','isYarnPnP','10954pxbRWa','../utils/constants','winstonLogger','findIndex','start','apply','uqIVh','isUndefined','SgtbZ','bFiJa','platform','haUyf','trace_','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','BROWSERSTACK_SETUP_CONFIG_PATH','GulrQ','playwright-browserstack-sdk.config.js','sOvSi','../../helpers/test-observability/utils','oUttJ','sntvH','.browserstack','split','testObservability','../../helpers/performance/constants','filterBrowserstackArgs','--disable-test-observability','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','PACKAGE_TYPE','../../helpers/performance/performance-tester','Playwright\x20process\x20exited\x20with\x20code\x20','cwd','cliConfig','push','test','constants','indexOf','measureWrapper','789kIkZNL','8JLeexN','join','R_OK','resolvedConfigFile','resolve','7945700DnVQxM','jsjul','logLevel','--grep','initialize','BROWSERSTACK_RERUN_TESTS','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','DtUCh','getProxyUrl','XVheU','exitCode','reportConflictingEnvVarIssue','concat','SDK_SETUP','setFrameworkDetail','SDK_PRE_INITIALIZE','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','pw_result.json','W_OK','Deleting\x20','--disable-browserstack-automation','../../helpers/utilities','nziBr','../../helpers/testhub/testhubHandler','npx','length','NExsx','stop','BROWSERSTACK_TEST_OBSERVABILITY','playwright','BROWSERSTACK_RERUN','24KwEUIz','Error\x20in\x20deleting\x20playwright\x20results','stringify','abwcB','readdirSync','JmNlw','unlinkSync','MmYGA','testContextOptions','mLroJ','QUAUD','../v2/browserstackCLI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstackAutomation','SfrEW','wSwNy','qTbih','EVENTS','configPath','isTrue','4948440ZqnJCz','--config=','end','reportFinalDetectionState','MXxGG','readFileSync','getPackageType','WltcC','ENeOC','browserstackSetupConfig.json','launchBuild','getInstance','setBrowserstackConfig','errorMessage'];a39_0x3b7d=function(){return _0x2e8a8d;};return a39_0x3b7d();}(function(_0x29af0a,_0x2866e2){const _0x49d98c=a39_0x35c3,_0x387687=_0x29af0a();while(!![]){try{const _0x52491f=parseInt(_0x49d98c(0x19b))/0x1+-parseInt(_0x49d98c(0x128))/0x2*(-parseInt(_0x49d98c(0x14e))/0x3)+-parseInt(_0x49d98c(0x14f))/0x4*(-parseInt(_0x49d98c(0x19e))/0x5)+parseInt(_0x49d98c(0x187))/0x6+-parseInt(_0x49d98c(0x154))/0x7+-parseInt(_0x49d98c(0x173))/0x8*(parseInt(_0x49d98c(0x114))/0x9)+-parseInt(_0x49d98c(0xfe))/0xa*(parseInt(_0x49d98c(0x101))/0xb);if(_0x52491f===_0x2866e2)break;else _0x387687['push'](_0x387687['shift']());}catch(_0x59e7c7){_0x387687['push'](_0x387687['shift']());}}}(a39_0x3b7d,0xd1896));const fs=require('fs'),path=require(a39_0x21230a(0x121)),{spawn}=require('child_process'),{format}=require('util'),logger=require('../../helpers/logger')[a39_0x21230a(0x12a)],{default:BrowserStackSetup}=require(a39_0x21230a(0x1a4)),helper=require(a39_0x21230a(0x1bc)),utilities=require(a39_0x21230a(0x169)),constants=require(a39_0x21230a(0x129)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x21230a(0x19c)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x21230a(0x13a)),TestDetails=require(a39_0x21230a(0x11a)),TestHubHandler=require(a39_0x21230a(0x16b)),PerformanceTester=require(a39_0x21230a(0x145)),BrowserstackCLI=require(a39_0x21230a(0x17e)),PerformanceEvents=require(a39_0x21230a(0x140))[a39_0x21230a(0x184)],CLIUtils=require(a39_0x21230a(0x1b5)),TestInfo=require(a39_0x21230a(0x10e)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x2d216f,_0x16c635)=>{const _0x2485ba=a39_0x21230a,_0x104ef6={'sntvH':function(_0x16c88c){return _0x16c88c();},'mLroJ':function(_0x2d3778,_0x28a896){return _0x2d3778(_0x28a896);},'NExsx':_0x2485ba(0x152),'SgtbZ':_0x2485ba(0x188)},_0xb4c4f2=!helper['isUndefined'](_0x2d216f['config']),_0xa8dc4b=_0xb4c4f2?path['resolve'](process['cwd'](),_0x2d216f['config']):process[_0x2485ba(0x147)](),{resolveConfigFile:_0x28ce63,resolveConfigLocation:_0x52298d}=helper[_0x2485ba(0x127)]()?helper['requireConfigLoaderYarnPnP'](..._0x104ef6[_0x2485ba(0x13c)](getConfigLoaderPath)):helper[_0x2485ba(0x19f)][_0x2485ba(0x12d)](null,_0x104ef6[_0x2485ba(0x13c)](getConfigLoaderPath)),_0xbced81=_0x28ce63?_0x104ef6[_0x2485ba(0x17c)](_0x28ce63,_0xa8dc4b):helper[_0x2485ba(0x19d)](_0x104ef6[_0x2485ba(0x17c)](_0x52298d,_0xa8dc4b),[_0x104ef6[_0x2485ba(0x16e)]]),_0x3d6ed6={};if(_0xb4c4f2){const _0x69c510=_0x16c635[_0x2485ba(0x12b)](_0x590a8a=>_0x590a8a===_0x2485ba(0xfc)||_0x590a8a==='-c'||_0x590a8a[_0x2485ba(0x11b)](_0x2485ba(0x188)));_0x16c635[_0x2485ba(0x110)](_0x69c510,_0x16c635[_0x69c510]['startsWith'](_0x104ef6[_0x2485ba(0x130)])?0x1:0x2);}const _0x406d82={};return _0x406d82['path']=_0xbced81,_0x406d82[_0x2485ba(0x1bf)]=_0x3d6ed6,_0x406d82;},handleO11yRerun=_0x490edd=>{const _0x2fe85b=a39_0x21230a,_0x1fa7eb={};_0x1fa7eb['tANEw']=_0x2fe85b(0x157);const _0x94c52c=_0x1fa7eb,_0x29a005=helper[_0x2fe85b(0x186)](process[_0x2fe85b(0x122)][_0x2fe85b(0x172)]);if(_0x29a005){const _0x24d470=process[_0x2fe85b(0x122)][_0x2fe85b(0x159)],_0x4d703d=[];if(helper[_0x2fe85b(0x1a7)](_0x24d470)&&!helper[_0x2fe85b(0x12f)](_0x24d470)){_0x24d470[_0x2fe85b(0x13e)](',')[_0x2fe85b(0x115)](_0x115bbb=>{const _0x4d93d1=_0x2fe85b;_0x4d703d['push']('('+_0x115bbb[_0x4d93d1(0x105)]()+')');});const _0x1f3bb8='^'+_0x4d703d['join']('|')+'$';_0x490edd[_0x2fe85b(0x149)](_0x94c52c[_0x2fe85b(0x199)],_0x1f3bb8);}}},spawnOriginalProcess=_0x260640=>{const _0x56d852=a39_0x21230a,_0xa5c412={'ygKoT':function(_0x1c0fa0,_0x915c5a,_0x2a01d9,_0x2a47b8){return _0x1c0fa0(_0x915c5a,_0x2a01d9,_0x2a47b8);},'viNUe':'yarn','kEPFz':_0x56d852(0x16c),'NsAYJ':_0x56d852(0x171),'wgfmO':function(_0x13ed3c,_0x208bf4){return _0x13ed3c===_0x208bf4;},'JmNlw':'win32','MmYGA':_0x56d852(0x112)};_0xa5c412['ygKoT'](spawn,helper[_0x56d852(0x127)]()?_0xa5c412[_0x56d852(0x109)]:_0xa5c412['kEPFz'],[_0xa5c412[_0x56d852(0x1a9)],..._0x260640[_0x56d852(0x104)](0x1)],{'shell':_0xa5c412[_0x56d852(0x1c1)](process[_0x56d852(0x132)],_0xa5c412[_0x56d852(0x178)]),'stdio':_0xa5c412[_0x56d852(0x17a)],'cwd':process[_0x56d852(0x147)]()});},isTestCommand=(_0x5ea5ad,_0xc31979)=>{const _0x258e57=a39_0x21230a,_0x417ec4={};_0x417ec4[_0x258e57(0x13b)]=function(_0x4f504b,_0x2a0016){return _0x4f504b>_0x2a0016;},_0x417ec4[_0x258e57(0x113)]=function(_0x65017c,_0x18c59c){return _0x65017c===_0x18c59c;},_0x417ec4['SQeLz']=_0x258e57(0x14a);const _0x1d6ac0=_0x417ec4;if(_0x1d6ac0[_0x258e57(0x13b)](_0xc31979[_0x258e57(0x16d)],0x1)&&_0x1d6ac0[_0x258e57(0x113)](_0xc31979[0x1],_0x1d6ac0[_0x258e57(0x1b1)]))return!![];return![];};async function run(_0x36a5e1,_0x291b30,_0xde8b52){const _0x19163e=a39_0x21230a,_0x4a4c03={'VjlGI':function(_0x3f75f3,_0x288054){return _0x3f75f3(_0x288054);},'ymurY':function(_0x59aae3){return _0x59aae3();},'TUjqx':function(_0x189433){return _0x189433();},'sTJVj':_0x19163e(0x13d),'jsjul':function(_0xdb1835,_0xe7825d){return _0xdb1835+_0xe7825d;},'IyUbF':_0x19163e(0x10d),'QUAUD':_0x19163e(0x165),'xWmji':function(_0x4060eb,_0x3a3de4){return _0x4060eb+_0x3a3de4;},'DtUCh':_0x19163e(0x103),'piHJv':_0x19163e(0x10c),'HGBdP':function(_0x54e268,_0x2fa04e){return _0x54e268<_0x2fa04e;},'WltcC':function(_0x2f1659,_0x117fb1){return _0x2f1659===_0x117fb1;},'sOvSi':_0x19163e(0x117),'xCTgY':_0x19163e(0x142),'WXLMJ':function(_0x1dde37,_0x48cfbb){return _0x1dde37>=_0x48cfbb;},'nziBr':function(_0x534814,_0x2212ba){return _0x534814===_0x2212ba;},'Rgvoq':_0x19163e(0xff),'oilfz':function(_0x34eca7,_0x2ab9f4){return _0x34eca7!=_0x2ab9f4;},'GulrQ':function(_0x5efc5d,_0x2e831f,_0x135cf3){return _0x5efc5d(_0x2e831f,_0x135cf3);},'qTbih':function(_0x20bf46,_0x16b629){return _0x20bf46===_0x16b629;},'ykrLg':_0x19163e(0x196),'SfrEW':function(_0x613c70,_0x4cc664){return _0x613c70(_0x4cc664);},'MXxGG':function(_0xdeb875,_0x452fa6){return _0xdeb875(_0x452fa6);},'GrQqd':_0x19163e(0x190),'NSahA':function(_0x4b6d23,_0x499db9){return _0x4b6d23===_0x499db9;},'nuAVH':'playwright-browserstack-sdk.config.cjs','THILB':_0x19163e(0x138),'svNyM':function(_0x54ed2c,_0x3ff372){return _0x54ed2c-_0x3ff372;},'mJENE':'Updated\x20config\x20file\x20name\x20to\x20-\x20','haUyf':function(_0x341047,_0x23c51b){return _0x341047>_0x23c51b;},'wSwNy':function(_0x143921,_0x32a06b){return _0x143921+_0x32a06b;},'vWaCO':function(_0x5881c2,_0x2d133a,_0x24f848,_0x1cea9c){return _0x5881c2(_0x2d133a,_0x24f848,_0x1cea9c);},'ENeOC':_0x19163e(0x1a5),'FkyiM':_0x19163e(0x16c),'XVheU':'playwright','rTUOu':_0x19163e(0x14a),'LKEJN':_0x19163e(0xfc),'bUcnc':_0x19163e(0x198),'uqIVh':_0x19163e(0x112),'LfnVU':_0x19163e(0x120),'gxPFx':function(_0x50e7ce,_0x24c84a){return _0x50e7ce|_0x24c84a;},'GuZQJ':function(_0x358515,_0x31a74b){return _0x358515+_0x31a74b;},'jyUwY':_0x19163e(0x135),'abwcB':_0x19163e(0x174),'bFiJa':function(_0x2a3ef8,_0x4e5d36,_0x3dfd13){return _0x2a3ef8(_0x4e5d36,_0x3dfd13);}};try{const _0x262533=path['join'](helper[_0x19163e(0x197)](),_0x4a4c03[_0x19163e(0x100)]);try{fs['accessSync'](_0x262533,_0x4a4c03['gxPFx'](fs['constants'][_0x19163e(0x151)],fs[_0x19163e(0x14b)][_0x19163e(0x166)]));}catch(_0x7762f2){ClientTroubleShootingService[_0x19163e(0x1b4)]();}}catch(_0x101c44){logger['debug'](_0x4a4c03[_0x19163e(0x1b7)](_0x4a4c03[_0x19163e(0x125)],_0x101c44));}try{const _0x15e1d4=path[_0x19163e(0x150)](helper[_0x19163e(0x197)](),_0x4a4c03['sTJVj'],_0x4a4c03[_0x19163e(0x17d)]);fs[_0x19163e(0x1bd)](_0x15e1d4)&&fs[_0x19163e(0x179)](_0x15e1d4);}catch(_0x229c86){logger['debug'](_0x4a4c03[_0x19163e(0x155)](_0x4a4c03[_0x19163e(0x176)],_0x229c86));}if(!_0x4a4c03[_0x19163e(0x131)](isTestCommand,_0x36a5e1,_0x291b30)){_0x4a4c03[_0x19163e(0x18b)](spawnOriginalProcess,_0x291b30);return;}await PerformanceTester[_0x19163e(0x14d)](PerformanceEvents[_0x19163e(0x163)],async()=>{const _0x3e8613=_0x19163e,_0x14bc31={'DSdNX':_0x4a4c03[_0x3e8613(0x100)],'xnqEr':_0x4a4c03['QUAUD'],'IjgRa':function(_0x13bd4e,_0x17d886){const _0xfc2fc7=_0x3e8613;return _0x4a4c03[_0xfc2fc7(0x1be)](_0x13bd4e,_0x17d886);},'PXNhM':_0x4a4c03[_0x3e8613(0x15b)]};if(!_0xde8b52[_0x3e8613(0x1bf)]){logger['error'](_0x4a4c03[_0x3e8613(0x1b0)]);return;}await _0xde8b52[_0x3e8613(0x158)](_0x36a5e1),CLIUtils[_0x3e8613(0x162)](FRAMEWORKS[_0x3e8613(0x1a0)],FRAMEWORKS[_0x3e8613(0x1a0)]),BrowserstackCLI['getInstance']()[_0x3e8613(0x193)](_0xde8b52[_0x3e8613(0x1bf)],_0xde8b52[_0x3e8613(0x185)],_0xde8b52[_0x3e8613(0x148)]),await BrowserstackCLI['getInstance']()['bootstrap']();for(var _0x3b9411=0x0;_0x4a4c03['HGBdP'](_0x3b9411,constants[_0x3e8613(0x1ab)]['length']);_0x3b9411++){var _0x28b757=constants[_0x3e8613(0x1ab)][_0x3b9411];process[_0x3e8613(0x122)][_0x28b757]&&await ClientTroubleShootingService[_0x3e8613(0x15f)](_0x28b757);}const _0x75cde1=BrowserstackCLI[_0x3e8613(0x192)]()['getConfig']();!helper['isFalse'](_0x75cde1[_0x3e8613(0x180)])&&(process['env'][_0x3e8613(0x107)]=!![]);_0x4a4c03[_0x3e8613(0x18e)](_0x75cde1[_0x3e8613(0x180)],![])&&(process[_0x3e8613(0x122)][_0x3e8613(0x107)]=_0x4a4c03[_0x3e8613(0x139)],_0x291b30=_0x291b30[_0x3e8613(0x10a)](_0x420f87=>_0x420f87!==_0x3e8613(0x168)));const _0x19b926=_0x291b30[_0x3e8613(0x14c)](_0x4a4c03[_0x3e8613(0x1ac)]);(_0x4a4c03['WXLMJ'](_0x19b926,0x0)||_0x4a4c03[_0x3e8613(0x16a)](_0x75cde1['testObservability'],![]))&&(process[_0x3e8613(0x122)][_0x3e8613(0x170)]=_0x4a4c03[_0x3e8613(0x139)],_0x291b30=_0x291b30[_0x3e8613(0x10a)](_0x2dc225=>_0x2dc225!==_0x3e8613(0x142)));!helper[_0x3e8613(0x12f)](_0xde8b52[_0x3e8613(0x148)])&&_0xde8b52['cliConfig']['has'](_0x4a4c03[_0x3e8613(0xfd)])&&(process[_0x3e8613(0x122)][_0x3e8613(0x107)]=_0xde8b52[_0x3e8613(0x148)]['get'](_0x4a4c03[_0x3e8613(0xfd)])||!![]);_0x4a4c03[_0x3e8613(0x1c0)](_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x13f)],null)&&!helper['isTrue'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x3e8613(0x170)]=process['env'][_0x3e8613(0x170)]||_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x13f)]);const _0x5796bf=!helper[_0x3e8613(0x11d)](process[_0x3e8613(0x122)][_0x3e8613(0x170)]);_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x108)]&&(process['env'][_0x3e8613(0x17f)]=JSON[_0x3e8613(0x175)](_0xde8b52['config'][_0x3e8613(0x108)]));let _0x54f8cb=![];_0xde8b52['config'][_0x3e8613(0x1a2)]&&(_0x54f8cb=!![],process[_0x3e8613(0x122)][_0x3e8613(0x11c)]=_0xde8b52['config']['accessibility']);const _0x5ad31e=_0x291b30[_0x3e8613(0x160)](),_0x294b05=await _0x4a4c03[_0x3e8613(0x137)](getUserPlaywrightConfig,_0x36a5e1,_0x291b30);if(helper[_0x3e8613(0x12f)](_0x294b05)){_0x4a4c03['VjlGI'](spawnOriginalProcess,_0x5ad31e);return;}const _0xcd6a39=_0x294b05[_0x3e8613(0x121)]?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process[_0x3e8613(0x147)]();process[_0x3e8613(0x122)][_0x3e8613(0x1b2)]=_0xcd6a39,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3e8613(0x106)],async()=>{const _0x2d982e=_0x3e8613;!BrowserstackCLI[_0x2d982e(0x192)]()[_0x2d982e(0x1a1)]()&&await TestHubHandler[_0x2d982e(0x191)](FRAMEWORKS[_0x2d982e(0x1a0)],_0xde8b52),_0x5796bf&&_0x4a4c03[_0x2d982e(0x1b8)](handleO11yRerun,_0x291b30);})();if(!BrowserstackCLI[_0x3e8613(0x192)]()[_0x3e8613(0x1a1)]()){let _0x51db49=_0x4a4c03[_0x3e8613(0x183)](process[_0x3e8613(0x122)][_0x3e8613(0x11c)],_0x4a4c03[_0x3e8613(0x124)]);_0x51db49=_0x51db49||_0x4a4c03[_0x3e8613(0x181)](checkAccessibilityPlatformConfig,_0xde8b52[_0x3e8613(0x1bf)]),process['env'][_0x3e8613(0x11c)]=_0x51db49,_0x51db49&&_0x4a4c03[_0x3e8613(0x18b)](setAccessibilityCapabilities,_0xde8b52[_0x3e8613(0x1bf)]);}const _0x5911c0=path[_0x3e8613(0x150)](_0x294b05[_0x3e8613(0x121)]?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process['cwd'](),_0x4a4c03[_0x3e8613(0x126)]);fs[_0x3e8613(0x195)](_0x5911c0,helper['serializeToYamlString'](_0xde8b52[_0x3e8613(0x1bf)])),process[_0x3e8613(0x122)][_0x3e8613(0x136)]=_0x5911c0,helper[_0x3e8613(0x1b9)]();let _0x5a3c84='';_0x4a4c03[_0x3e8613(0x11e)](helper[_0x3e8613(0x18d)](),constants[_0x3e8613(0x144)]['MODULE'])?_0x5a3c84=_0x4a4c03[_0x3e8613(0x118)]:_0x5a3c84=_0x4a4c03['THILB'];let _0x512957='';if(helper['isTypescriptProject'](_0x294b05[_0x3e8613(0x121)])){_0x512957=_0x3e8613(0x10f);const _0x186e12=_0x5a3c84[_0x3e8613(0x13e)]('.');_0x186e12[_0x4a4c03[_0x3e8613(0x102)](_0x186e12[_0x3e8613(0x16d)],0x1)]='ts',_0x5a3c84=_0x186e12['join']('.'),logger[_0x3e8613(0x1af)](_0x4a4c03[_0x3e8613(0x155)](_0x4a4c03['mJENE'],_0x5a3c84));}else _0x512957=_0x3e8613(0x164);const _0x5ee718=path[_0x3e8613(0x150)](_0x294b05['path']?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process[_0x3e8613(0x147)](),_0x5a3c84);let _0x570e78=_0x294b05['path']?_0x294b05[_0x3e8613(0x121)]:'';_0x570e78=_0x4a4c03[_0x3e8613(0x133)](_0x570e78[_0x3e8613(0x16d)],0x0)?path[_0x3e8613(0x153)](_0x570e78):'',process[_0x3e8613(0x122)]['USER_CONFIG_DETAILS_PATH']=_0x570e78;const _0x10b45d=helper[_0x3e8613(0x15c)](_0xde8b52[_0x3e8613(0x1bf)]),_0x253e75=helper['getNoProxy'](_0xde8b52['config']);logger[_0x3e8613(0x1af)](_0x3e8613(0x1a6)+_0x10b45d),logger[_0x3e8613(0x1af)](_0x3e8613(0x1a3)+_0x253e75);_0x10b45d&&(_0x512957=_0x4a4c03[_0x3e8613(0x182)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x10b45d+_0x3e8613(0x143)+_0x253e75+_0x3e8613(0x15a),_0x512957));helper[_0x3e8613(0x141)]({},_0x291b30),fs[_0x3e8613(0x195)](_0x5ee718,_0x512957),PerformanceTester[_0x3e8613(0x189)](PerformanceEvents[_0x3e8613(0x161)]);const _0x8ba776=_0x4a4c03[_0x3e8613(0x11f)](spawn,helper[_0x3e8613(0x127)]()?_0x4a4c03[_0x3e8613(0x18f)]:_0x4a4c03[_0x3e8613(0x1bb)],[_0x4a4c03[_0x3e8613(0x15d)],_0x4a4c03[_0x3e8613(0x116)],_0x4a4c03[_0x3e8613(0x111)],_0x4a4c03[_0x3e8613(0x18e)](process['platform'],_0x4a4c03[_0x3e8613(0x1aa)])?'\x22'+_0x5ee718+'\x22':_0x5ee718,..._0x291b30[_0x3e8613(0x104)](0x2)],{'shell':_0x4a4c03['WltcC'](process[_0x3e8613(0x132)],_0x4a4c03[_0x3e8613(0x1aa)]),'stdio':_0x4a4c03[_0x3e8613(0x12e)],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x36a5e1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x17b)][_0x3e8613(0xfb)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x17b)][_0x3e8613(0x1b3)],'BROWSERSTACK_LOG_LEVEL':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x156)]})}),_0x361f26=()=>{const _0x558f4c=_0x3e8613;try{const _0xef4bb3=path[_0x558f4c(0x150)](helper[_0x558f4c(0x197)](),_0x14bc31[_0x558f4c(0x1ba)],_0x14bc31['xnqEr']);if(fs[_0x558f4c(0x1bd)](_0xef4bb3)){let _0x21ce98=fs[_0x558f4c(0x18c)](_0xef4bb3);_0x21ce98=JSON['parse'](_0x21ce98),_0xde8b52[_0x558f4c(0x194)]=_0x21ce98,fs[_0x558f4c(0x179)](_0xef4bb3);}}catch(_0x1089a1){logger[_0x558f4c(0x1af)](_0x14bc31[_0x558f4c(0x1ad)](_0x14bc31[_0x558f4c(0x1ae)],_0x1089a1));}};_0x8ba776['on'](_0x4a4c03[_0x3e8613(0x10b)],async _0x165a4a=>{const _0x25518d=_0x3e8613;try{PerformanceTester[_0x25518d(0x12c)](PerformanceEvents[_0x25518d(0x119)]),_0x4a4c03[_0x25518d(0x1b6)](_0x361f26),await TestHubHandler[_0x25518d(0x16f)](),await ClientTroubleShootingService[_0x25518d(0x18a)](),await BrowserstackCLI[_0x25518d(0x192)]()['stop'](),TestDetails[_0x25518d(0x19a)](),_0x4a4c03['TUjqx'](printBuildLink),await utilities['finalExecution'](_0xde8b52),process[_0x25518d(0x15e)]=_0x165a4a,logger['debug'](_0x25518d(0x146)+_0x165a4a),logger[_0x25518d(0x123)]('Deleting\x20'+_0x5ee718),fs['unlinkSync'](_0x5ee718);fs[_0x25518d(0x1bd)](_0x5911c0)&&(logger[_0x25518d(0x1af)](_0x25518d(0x167)+_0x5911c0),fs[_0x25518d(0x179)](_0x5911c0));const _0xf0aa3d=fs[_0x25518d(0x177)](path[_0x25518d(0x150)](helper[_0x25518d(0x197)](),_0x4a4c03['sTJVj']))[_0x25518d(0x10a)](_0x974fd7=>_0x974fd7[_0x25518d(0x11b)](_0x25518d(0x134)));_0xf0aa3d[_0x25518d(0x1a8)](_0x1f4175=>{const _0x3ca008=_0x25518d;fs['unlinkSync'](path[_0x3ca008(0x150)](helper['homedir'](),_0x14bc31[_0x3ca008(0x1ba)],_0x1f4175));});}catch(_0x3fdff8){logger[_0x25518d(0x1af)](_0x4a4c03[_0x25518d(0x155)](_0x4a4c03['IyUbF'],_0x3fdff8));}});})();}module['exports']=run;
@@ -1 +1 @@
1
- const a40_0x41a296=a40_0x22c8;function a40_0x22c8(_0x20fb77,_0x193908){const _0x224037=a40_0x2240();return a40_0x22c8=function(_0x22c89e,_0x2c0ec3){_0x22c89e=_0x22c89e-0xa8;let _0x1bd269=_0x224037[_0x22c89e];return _0x1bd269;},a40_0x22c8(_0x20fb77,_0x193908);}(function(_0x3ee98d,_0x594ea0){const _0x138093=a40_0x22c8,_0x5a960e=_0x3ee98d();while(!![]){try{const _0x3d0783=parseInt(_0x138093(0xc5))/0x1+parseInt(_0x138093(0xc0))/0x2*(parseInt(_0x138093(0xc3))/0x3)+parseInt(_0x138093(0xc8))/0x4+-parseInt(_0x138093(0xad))/0x5*(-parseInt(_0x138093(0xd0))/0x6)+-parseInt(_0x138093(0xb3))/0x7+-parseInt(_0x138093(0xc4))/0x8+parseInt(_0x138093(0xa9))/0x9;if(_0x3d0783===_0x594ea0)break;else _0x5a960e['push'](_0x5a960e['shift']());}catch(_0x61b288){_0x5a960e['push'](_0x5a960e['shift']());}}}(a40_0x2240,0x31618));function a40_0x2240(){const _0x26d366=['winstonLogger','debug','resolve','./mock-process.js','1748205Qyidjl','vNBvQ','daIba','util','70qkgKfe','PLAYWRIGHT','error','LWsTK','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','config','1464204quCILq','DVEuI','format','apply','Running\x20existing\x20global\x20setup','iMAmH','../../helpers/helper','toString','includes','\x20is\x20not\x20found','compareVersions','./patches','Call\x20to\x20child\x20fork\x20with\x20args\x20','10uJdGeq','../../helpers/test-observability/utils','SvoRq','220179nbcpwG','2052264XNSyME','16670mwIyTK','isHandlePWErrorSet','Dvwbq','206580jzStOS','hoKEK','osmeF','child_process','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','./reporter/pwUtils','fork','env','16476ERfHve'];a40_0x2240=function(){return _0x26d366;};return a40_0x2240();}const util=require(a40_0x41a296(0xac)),child_process=require(a40_0x41a296(0xcb)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a40_0x41a296(0xc1)),helper=require(a40_0x41a296(0xb9)),{getLoadUtilsPath,getForkProcessPath}=require(a40_0x41a296(0xcd)),{mockIsWorkerRedundant}=require(a40_0x41a296(0xbe)),logger=require('../../helpers/logger')[a40_0x41a296(0xd1)];module['exports']=async function(_0x11d417){const _0x5672e7=a40_0x41a296,_0x45d60f={'Dvwbq':function(_0x3c5dec,_0x2812be){return _0x3c5dec(_0x2812be);},'DVEuI':function(_0x28cd02){return _0x28cd02();},'iMAmH':_0x5672e7(0xa8),'SvoRq':_0x5672e7(0xb7),'hoKEK':function(_0x27b26d){return _0x27b26d();},'osmeF':function(_0x1b2573,_0x3dd290){return _0x1b2573>=_0x3dd290;},'daIba':'1.33.0','bRRPz':function(_0x3d6ad2,_0x56ccb5,_0x139325){return _0x3d6ad2(_0x56ccb5,_0x139325);},'uMuGP':function(_0x52ecd9,_0x5cee98){return _0x52ecd9!==_0x5cee98;},'ycuzc':'function','LWsTK':'Not\x20able\x20to\x20import\x20globalSetup','vNBvQ':function(_0x3a2b3d,_0x4b9158){return _0x3a2b3d(_0x4b9158);}},_0x4d5c7b=child_process['fork'];if(helper[_0x5672e7(0xc6)]())try{_0x45d60f[_0x5672e7(0xb4)](mockIsWorkerRedundant);}catch(_0x1488f4){logger[_0x5672e7(0xd2)](_0x5672e7(0xb1)+util[_0x5672e7(0xb5)](_0x1488f4));}child_process[_0x5672e7(0xce)]=function(){const _0x505700=_0x5672e7;return _0x45d60f['Dvwbq'](debug,_0x505700(0xbf)+arguments[0x0]),arguments[0x0][_0x505700(0xbb)](_0x45d60f[_0x505700(0xb4)](getForkProcessPath))?arguments[0x0]=require[_0x505700(0xd3)](_0x45d60f[_0x505700(0xb8)]):logger[_0x505700(0xaf)]('Path\x20'+_0x45d60f[_0x505700(0xb4)](getForkProcessPath)+_0x505700(0xbc)),_0x4d5c7b[_0x505700(0xb6)](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x45d60f[_0x5672e7(0xc7)](debug,_0x45d60f[_0x5672e7(0xc2)]);try{const {loadGlobalHook:_0x6360d6}=helper['requirePWModule'][_0x5672e7(0xb6)](null,_0x45d60f[_0x5672e7(0xc9)](getLoadUtilsPath)),_0x32e65b=_0x45d60f[_0x5672e7(0xc7)](getFrameworkVersion,FRAMEWORKS[_0x5672e7(0xae)]);let _0xb5b16c=_0x11d417;if(_0x45d60f[_0x5672e7(0xca)](helper[_0x5672e7(0xbd)](_0x32e65b,_0x45d60f[_0x5672e7(0xab)]),0x0)){const _0xf31f88={};_0xf31f88[_0x5672e7(0xb2)]=_0x11d417,_0xb5b16c=_0xf31f88;}const _0x9fd44b=await _0x45d60f['bRRPz'](_0x6360d6,_0xb5b16c,process[_0x5672e7(0xcf)][_0x5672e7(0xcc)]);if(_0x45d60f['uMuGP'](typeof _0x9fd44b,_0x45d60f['ycuzc']))throw new Error(_0x45d60f[_0x5672e7(0xb0)]);return _0x9fd44b[_0x5672e7(0xb6)](null,arguments);}catch(_0x971600){_0x45d60f[_0x5672e7(0xaa)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x971600[_0x5672e7(0xba)]());}}};
1
+ const a40_0x401826=a40_0x20a1;(function(_0x55623a,_0x370647){const _0x21c13b=a40_0x20a1,_0xbd296c=_0x55623a();while(!![]){try{const _0x294b2a=parseInt(_0x21c13b(0xf7))/0x1*(parseInt(_0x21c13b(0xe9))/0x2)+-parseInt(_0x21c13b(0xeb))/0x3*(-parseInt(_0x21c13b(0xe8))/0x4)+-parseInt(_0x21c13b(0x105))/0x5+-parseInt(_0x21c13b(0xe7))/0x6+-parseInt(_0x21c13b(0xe5))/0x7+parseInt(_0x21c13b(0xf9))/0x8*(-parseInt(_0x21c13b(0xf5))/0x9)+parseInt(_0x21c13b(0xe3))/0xa;if(_0x294b2a===_0x370647)break;else _0xbd296c['push'](_0xbd296c['shift']());}catch(_0x121ff8){_0xbd296c['push'](_0xbd296c['shift']());}}}(a40_0xc934,0xf15f4));const util=require(a40_0x401826(0xf8)),child_process=require('child_process'),{FRAMEWORKS}=require(a40_0x401826(0xe4)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a40_0x401826(0xfa)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')['winstonLogger'];module[a40_0x401826(0xe2)]=async function(_0x3d3c70){const _0x37bc42=a40_0x401826,_0x4261db={'wCOar':function(_0x416fc9,_0x54f886){return _0x416fc9(_0x54f886);},'PQtwo':function(_0x514c13){return _0x514c13();},'owtRh':_0x37bc42(0x100),'mzzXP':function(_0x5691d0){return _0x5691d0();},'OhZSY':function(_0x41a878){return _0x41a878();},'jKmST':_0x37bc42(0xed),'pBcBX':function(_0x27bce4,_0x57d733){return _0x27bce4(_0x57d733);},'fEUex':function(_0x47556b,_0x3d30c7){return _0x47556b>=_0x3d30c7;},'MhBsq':_0x37bc42(0x103),'EYTuN':function(_0x5cf5ff,_0x1fd78a,_0x125da){return _0x5cf5ff(_0x1fd78a,_0x125da);},'VpqnN':function(_0x84fa70,_0x290a20){return _0x84fa70!==_0x290a20;},'ZbUiD':'function','LAJie':_0x37bc42(0xfe)},_0xb3887c=child_process[_0x37bc42(0xe0)];if(helper[_0x37bc42(0x102)]())try{_0x4261db['OhZSY'](mockIsWorkerRedundant);}catch(_0xbf2d2f){logger[_0x37bc42(0x101)](_0x37bc42(0xf1)+util['format'](_0xbf2d2f));}child_process['fork']=function(){const _0x23f75e=_0x37bc42;return _0x4261db[_0x23f75e(0xe6)](debug,_0x23f75e(0xf3)+arguments[0x0]),arguments[0x0][_0x23f75e(0x104)](_0x4261db[_0x23f75e(0xf0)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4261db['owtRh']):logger['error']('Path\x20'+_0x4261db[_0x23f75e(0xee)](getForkProcessPath)+'\x20is\x20not\x20found'),_0xb3887c[_0x23f75e(0xef)](null,arguments);};if(process[_0x37bc42(0xec)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x4261db[_0x37bc42(0xe6)](debug,_0x4261db[_0x37bc42(0xfd)]);try{const {loadGlobalHook:_0x52c241}=helper[_0x37bc42(0xea)][_0x37bc42(0xef)](null,_0x4261db[_0x37bc42(0xf0)](getLoadUtilsPath)),_0x25f65a=_0x4261db[_0x37bc42(0xf4)](getFrameworkVersion,FRAMEWORKS[_0x37bc42(0xe1)]);let _0x375d0a=_0x3d3c70;if(_0x4261db[_0x37bc42(0xf6)](helper[_0x37bc42(0xff)](_0x25f65a,_0x4261db['MhBsq']),0x0)){const _0x54d7e0={};_0x54d7e0[_0x37bc42(0xf2)]=_0x3d3c70,_0x375d0a=_0x54d7e0;}const _0x45a6d6=await _0x4261db['EYTuN'](_0x52c241,_0x375d0a,process[_0x37bc42(0xec)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x4261db[_0x37bc42(0xfb)](typeof _0x45a6d6,_0x4261db['ZbUiD']))throw new Error(_0x4261db[_0x37bc42(0xfc)]);return _0x45a6d6['apply'](null,arguments);}catch(_0x505002){_0x4261db[_0x37bc42(0xf4)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x505002['toString']());}}};function a40_0x20a1(_0x1f1323,_0x2a0dcf){const _0xc934a6=a40_0xc934();return a40_0x20a1=function(_0x20a15,_0x2937b4){_0x20a15=_0x20a15-0xe0;let _0x590120=_0xc934a6[_0x20a15];return _0x590120;},a40_0x20a1(_0x1f1323,_0x2a0dcf);}function a40_0xc934(){const _0x22e3cb=['Running\x20existing\x20global\x20setup','mzzXP','apply','PQtwo','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','config','Call\x20to\x20child\x20fork\x20with\x20args\x20','pBcBX','90BaHiPF','fEUex','79wwHvtf','util','1169608cpvVDO','./reporter/pwUtils','VpqnN','LAJie','jKmST','Not\x20able\x20to\x20import\x20globalSetup','compareVersions','./mock-process.js','debug','isHandlePWErrorSet','1.33.0','includes','1384060kBGMwy','fork','PLAYWRIGHT','exports','16028460qdWNuL','../../helpers/test-observability/constants','4275313vyHyIZ','wCOar','595494CmmPJN','4HzPbRE','1988UtyyUG','requirePWModule','5268354bFxQkO','env'];a40_0xc934=function(){return _0x22e3cb;};return a40_0xc934();}