browserstack-node-sdk 1.47.0 → 1.47.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/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 -0
  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
- function a33_0xc7d3(_0xeaccf5,_0x20be4c){const _0x3bb36f=a33_0x3bb3();return a33_0xc7d3=function(_0xc7d30d,_0x32d52b){_0xc7d30d=_0xc7d30d-0x18b;let _0x58d534=_0x3bb36f[_0xc7d30d];return _0x58d534;},a33_0xc7d3(_0xeaccf5,_0x20be4c);}function a33_0x3bb3(){const _0x4037dd=['New\x20hub\x20url\x20set\x20to\x20','debug','/wd/hub','4uJGEay','rxngi','isBrowserstackInfra','FKGBB','edgeOptions','setServer','isAccessibilityPlatform','mpUxu','xlTNQ','chromeOptions_','KPFFj','2192005DhwVor','CAPABILITY_KEY','then','session_','1547990nAMDVJ','4064fqslwZ','HQJgY','setGlobal','/session','../accessibility-automation/helper','ieOptions_','safari.options','browserstackAgentObservability','winstonLogger','dsDIV','BHToD','chromeOptions','XXXAs','capabilities_','getRequestOptions','ms:edgeOptions','requireSeleniumWebdriver','1242633XcBYtK','browserStackLogLevel','safariOptions_','build','BMoCi','../../../helpers/accessibility-automation/helper','jkwLV','updateHubUrl','__setBrowserOptions','split','firefoxOptions_','forEach','NSrRN','qEAdv','../../../bin/utils/constants','proxyUrl','overrideGet','6DGfrHk','moz:firefoxOptions','originalBuilder','393105yjRCkO','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','mergeDeep','set','Proxy\x20set\x20to\x20','push','__driversArray','../../../helpers/logger','../../../helpers/globals','isUndefined','__drivers','bZPOK','agent_','send','edgeOptions_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Czgct','80832XoSkHA','GSaEy','goog:chromeOptions','get','url_','newHubUrl','proxySettings','../../../helpers/patchHelpers','firefoxOptions','logLevel','getAccessibilityResultsSummary','requireHttpClient','2288eAAndn','setCapabilities','ieOptions','options_','fhmnC','../../../helpers/helper','mTLGo','4291QOguHg','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','Builder','MxSdp','SxEfB','capability','gVsAN','TRpRQ','EfmsB','./helpers/patchHelper','rXrzP','WukQZ','error','global','exports','../../../hubAllocationMethods','9JHxvgu','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','501192zCynWG','getAccessibilityResults','setLogLevel','QvfIa','HttpClient','XjJHS','2|5|3|1|4|0','getHttpAgent'];a33_0x3bb3=function(){return _0x4037dd;};return a33_0x3bb3();}const a33_0x239bd4=a33_0xc7d3;(function(_0x4b3365,_0x44c730){const _0x59b550=a33_0xc7d3,_0x46420e=_0x4b3365();while(!![]){try{const _0x492928=-parseInt(_0x59b550(0x1d0))/0x1+parseInt(_0x59b550(0x190))/0x2+-parseInt(_0x59b550(0x1bc))/0x3*(parseInt(_0x59b550(0x19b))/0x4)+-parseInt(_0x59b550(0x1a6))/0x5*(parseInt(_0x59b550(0x1cd))/0x6)+-parseInt(_0x59b550(0x1f4))/0x7*(parseInt(_0x59b550(0x1ab))/0x8)+parseInt(_0x59b550(0x18e))/0x9*(parseInt(_0x59b550(0x1aa))/0xa)+parseInt(_0x59b550(0x1ed))/0xb*(parseInt(_0x59b550(0x1e1))/0xc);if(_0x492928===_0x44c730)break;else _0x46420e['push'](_0x46420e['shift']());}catch(_0x571370){_0x46420e['push'](_0x46420e['shift']());}}}(a33_0x3bb3,0x3ce12));const logger=require(a33_0x239bd4(0x1d7))[a33_0x239bd4(0x1b3)],helper=require(a33_0x239bd4(0x1f2)),constants=require(a33_0x239bd4(0x1ca)),hubAllocator=require(a33_0x239bd4(0x18d)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x239bd4(0x1e8)),{setAccessibilityCapabilities,setExtension}=require(a33_0x239bd4(0x1af)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x239bd4(0x1c1)),globals=require(a33_0x239bd4(0x1d8)),{overrideExecute}=require(a33_0x239bd4(0x1fd)),modify=(_0x2791e9,_0x10174d=null,_0x1ed8e3=![])=>{const _0x1a3c5b=a33_0x239bd4,_0x4e4a15={'XXXAs':function(_0x56040a,_0x4072f5){return _0x56040a!==_0x4072f5;},'SxEfB':_0x1a3c5b(0x1ae),'vfjrs':function(_0x56afb7,_0x572c89){return _0x56afb7+_0x572c89;},'BMoCi':function(_0x15598d,_0x47c898){return _0x15598d+_0x47c898;},'FKGBB':'https://','xlTNQ':_0x1a3c5b(0x19a),'rXrzP':_0x1a3c5b(0x1e3),'rxngi':_0x1a3c5b(0x1b6),'yKgff':_0x1a3c5b(0x1ba),'UDwUS':_0x1a3c5b(0x19f),'cwVYe':_0x1a3c5b(0x1ce),'HQJgY':_0x1a3c5b(0x1e9),'EfmsB':_0x1a3c5b(0x1b1),'HYfQS':'se:ieOptions','fhmnC':_0x1a3c5b(0x1ef),'bZPOK':function(_0xfb54eb,_0x54a844){return _0xfb54eb===_0x54a844;},'JSOrV':'object','Czgct':'Setting\x20Browserstack\x20capabilities','dZDeB':'optimalHubUrl','NSrRN':_0x1a3c5b(0x1f5),'jkwLV':function(_0x2866e7,_0x2bf558,_0x51f975){return _0x2866e7(_0x2bf558,_0x51f975);},'qEAdv':function(_0x492742,_0x4854b3){return _0x492742(_0x4854b3);},'dsDIV':function(_0x10d195,_0x16d381,_0x4a5dd0){return _0x10d195(_0x16d381,_0x4a5dd0);},'mpUxu':_0x1a3c5b(0x196),'MxSdp':_0x1a3c5b(0x18f),'BHToD':function(_0x327576){return _0x327576();},'mTLGo':_0x1a3c5b(0x1a1),'WukQZ':function(_0x5d8bf8,_0x1303be,_0x28eb05){return _0x5d8bf8(_0x1303be,_0x28eb05);},'luldY':function(_0x2c2321,_0x2931c4){return _0x2c2321(_0x2931c4);},'gVsAN':function(_0x576eea,_0x20c3dc,_0x5bc5f5){return _0x576eea(_0x20c3dc,_0x5bc5f5);},'XjJHS':function(_0x273e1d,_0xb85183){return _0x273e1d!==_0xb85183;},'TRpRQ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','GSaEy':'Modifying\x20webdriver\x20builder'},_0x13c1e6=helper[_0x1a3c5b(0x1ec)]();let _0x172fb2;try{_0x172fb2=helper[_0x1a3c5b(0x1bb)](),_0x172fb2[_0x1a3c5b(0x1cf)]&&(_0x172fb2[_0x1a3c5b(0x1f6)]=_0x172fb2[_0x1a3c5b(0x1cf)]);}catch(_0x11edda){return;}if(helper[_0x1a3c5b(0x19d)]()){const _0x39b1f8={};_0x39b1f8[_0x1a3c5b(0x1ea)]=_0x2791e9[_0x1a3c5b(0x1bd)],helper[_0x1a3c5b(0x192)](_0x39b1f8,new Map(),new Map()),logger['info'](_0x4e4a15[_0x1a3c5b(0x1fb)]),logger['debug'](_0x4e4a15[_0x1a3c5b(0x1e2)]);}class _0x477130 extends _0x13c1e6[_0x1a3c5b(0x194)]{[_0x1a3c5b(0x1dd)](_0x3e3497){const _0x1c83ec=_0x1a3c5b;if(_0x4e4a15[_0x1c83ec(0x1b7)](_0x3e3497['path'],_0x4e4a15[_0x1c83ec(0x1f8)])&&_0x4e4a15[_0x1c83ec(0x1b7)](global['newHubUrl'],''))try{global[_0x1c83ec(0x1e6)]=_0x4e4a15['vfjrs'](_0x4e4a15[_0x1c83ec(0x1c0)](_0x4e4a15[_0x1c83ec(0x19e)],global[_0x1c83ec(0x1e6)]),_0x4e4a15[_0x1c83ec(0x1a3)]),this[_0x1c83ec(0x1f0)]=hubAllocator[_0x1c83ec(0x1b9)](global[_0x1c83ec(0x1e6)]),logger[_0x1c83ec(0x199)](_0x1c83ec(0x198)+global['newHubUrl']),global[_0x1c83ec(0x1e6)]='';}catch(_0x5905a){logger[_0x1c83ec(0x200)](_0x5905a);}return super[_0x1c83ec(0x1dd)](_0x3e3497);}}class _0x1377f8 extends _0x172fb2[_0x1a3c5b(0x1f6)]{[_0x1a3c5b(0x1a0)](){const _0x11027d=_0x1a3c5b;return this[_0x11027d(0x1e5)]=helper['getHubUrl'](_0x2791e9),logger['debug']('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}['__setBrowserOptions'](_0x69c6e4){const _0xe4ad3a=_0x1a3c5b;let _0xed9b85={};for(const _0x38f594 in _0x69c6e4){switch(_0x38f594){case _0x4e4a15[_0xe4ad3a(0x1fe)]:case _0x4e4a15[_0xe4ad3a(0x19c)]:this['chromeOptions_']&&(_0xed9b85=this[_0xe4ad3a(0x1a4)][_0xe4ad3a(0x1e4)](this['chromeOptions_']['CAPABILITY_KEY'])||{},this[_0xe4ad3a(0x1a4)][_0xe4ad3a(0x1d3)](this[_0xe4ad3a(0x1a4)]['CAPABILITY_KEY'],helper['mergeDeep'](_0xed9b85,_0x69c6e4[_0x38f594])));break;case _0x4e4a15['yKgff']:case _0x4e4a15['UDwUS']:this[_0xe4ad3a(0x1de)]&&(_0xed9b85=this[_0xe4ad3a(0x1de)][_0xe4ad3a(0x1e4)](this['edgeOptions_'][_0xe4ad3a(0x1a7)])||{},this['edgeOptions_'][_0xe4ad3a(0x1d3)](this[_0xe4ad3a(0x1de)][_0xe4ad3a(0x1a7)],helper['mergeDeep'](_0xed9b85,_0x69c6e4[_0x38f594])));break;case _0x4e4a15['cwVYe']:case _0x4e4a15[_0xe4ad3a(0x1ac)]:this[_0xe4ad3a(0x1c6)]&&(_0xed9b85=this[_0xe4ad3a(0x1c6)]['get'](this[_0xe4ad3a(0x1c6)][_0xe4ad3a(0x1a7)])||{},this[_0xe4ad3a(0x1c6)][_0xe4ad3a(0x1d3)](this[_0xe4ad3a(0x1c6)][_0xe4ad3a(0x1a7)],helper[_0xe4ad3a(0x1d2)](_0xed9b85,_0x69c6e4[_0x38f594])));break;case _0x4e4a15[_0xe4ad3a(0x1fc)]:this[_0xe4ad3a(0x1be)]&&(_0xed9b85=this[_0xe4ad3a(0x1be)]['get'](this[_0xe4ad3a(0x1be)][_0xe4ad3a(0x1a7)])||{},this[_0xe4ad3a(0x1be)]['set'](this[_0xe4ad3a(0x1be)]['CAPABILITY_KEY'],helper[_0xe4ad3a(0x1d2)](_0xed9b85,_0x69c6e4[_0x38f594])));break;case _0x4e4a15['HYfQS']:case _0x4e4a15[_0xe4ad3a(0x1f1)]:this[_0xe4ad3a(0x1b0)]&&(_0xed9b85=this[_0xe4ad3a(0x1b0)][_0xe4ad3a(0x1e4)](this[_0xe4ad3a(0x1b0)]['CAPABILITY_KEY'])||{},this[_0xe4ad3a(0x1b0)][_0xe4ad3a(0x1d3)](this[_0xe4ad3a(0x1b0)]['CAPABILITY_KEY'],helper['mergeDeep'](_0xed9b85,_0x69c6e4[_0x38f594])));break;}}}[_0x1a3c5b(0x1ee)](){const _0x41f888=_0x1a3c5b;return logger[_0x41f888(0x199)](_0x4e4a15[_0x41f888(0x1e0)]),this[_0x41f888(0x1c4)](_0x2791e9['capability']),Object['keys'](_0x2791e9['capability'])[_0x41f888(0x1c7)](_0x36c285=>{const _0x2110ef=_0x41f888,_0x5db076=this[_0x2110ef(0x1b8)][_0x2110ef(0x1e4)](_0x36c285);_0x4e4a15[_0x2110ef(0x1db)](typeof _0x5db076,_0x4e4a15['JSOrV'])?this['capabilities_'][_0x2110ef(0x1d3)](_0x36c285,helper[_0x2110ef(0x1d2)](_0x5db076,_0x2791e9[_0x2110ef(0x1f9)][_0x36c285])):this[_0x2110ef(0x1b8)][_0x2110ef(0x1d3)](_0x36c285,_0x2791e9[_0x2110ef(0x1f9)][_0x36c285]);}),this;}[_0x1a3c5b(0x1bf)](){const _0x4c6803=_0x1a3c5b,_0x5f3e37={'KPFFj':function(_0x1791df,_0x2b586e,_0x43ad66){const _0x2f0baf=a33_0xc7d3;return _0x4e4a15[_0x2f0baf(0x1c2)](_0x1791df,_0x2b586e,_0x43ad66);}};if(helper['isBrowserstackInfra']()){const _0x4783fe=_0x4e4a15[_0x4c6803(0x1a2)][_0x4c6803(0x1c5)]('|');let _0x125f1b=0x0;while(!![]){switch(_0x4783fe[_0x125f1b++]){case'0':logger[_0x4c6803(0x199)](_0x4e4a15[_0x4c6803(0x1f7)]);continue;case'1':if(helper['isPacProxy'](_0x2791e9[_0x4c6803(0x1e7)][_0x4c6803(0x1cb)]))this[_0x4c6803(0x1dc)]=helper[_0x4c6803(0x197)](_0x2791e9[_0x4c6803(0x1e7)]['proxyUrl']);else _0x2791e9['proxySettings'][_0x4c6803(0x1cb)]&&(this['proxy_']=_0x2791e9[_0x4c6803(0x1e7)]['proxyUrl'],logger[_0x4c6803(0x199)](_0x4c6803(0x1d4)+this['proxy_']));continue;case'2':_0x4e4a15[_0x4c6803(0x1b5)](isAccessibilityAutomationSession)&&_0x4e4a15[_0x4c6803(0x1c9)](setAccessibilityCapabilities,_0x2791e9);continue;case'3':this[_0x4c6803(0x1ee)]();continue;case'4':globals['getGlobal'](_0x4e4a15[_0x4c6803(0x1f3)])&&(!_0x4e4a15[_0x4c6803(0x1ff)](setExtension,this,_0x2791e9)&&globals[_0x4c6803(0x1ad)](_0x4e4a15[_0x4c6803(0x1f3)],![]));continue;case'5':this['setServer']();continue;}break;}}const _0x33459d=super['build']();return _0x33459d[_0x4c6803(0x1a9)][_0x4c6803(0x1a8)](_0xc27ee9=>{const _0x554c06=_0x4c6803;try{const _0x5aa62e=_0xc27ee9['caps_'][_0x554c06(0x1e4)](_0x4e4a15['dZDeB']);_0x5aa62e?(logger[_0x554c06(0x199)](_0x554c06(0x1df)+_0x5aa62e),hubAllocator[_0x554c06(0x1c3)](_0x5aa62e),helper['storeOptimalHubUrl'](_0x5aa62e)):logger[_0x554c06(0x199)](_0x4e4a15[_0x554c06(0x1c8)]);}catch(_0x78b512){logger[_0x554c06(0x199)](_0x554c06(0x1d1)+_0x78b512);}}),_0x33459d['quitCount_']=0x0,_0x33459d['then']&&_0x33459d[_0x4c6803(0x1a8)](_0x37fee4=>{const _0x548ede=_0x4c6803,_0x56f7ea={'QvfIa':function(_0x115f1c,_0x5dfb6c,_0x5bb6d7){const _0x2c85e8=a33_0xc7d3;return _0x4e4a15[_0x2c85e8(0x1c2)](_0x115f1c,_0x5dfb6c,_0x5bb6d7);}};_0x4e4a15[_0x548ede(0x1c2)](overrideQuit,_0x37fee4,_0x33459d),_0x4e4a15['qEAdv'](overrideTakeScreenshot,_0x37fee4),helper['overrideGet'](_0x37fee4,_0x2791e9),_0x4e4a15['jkwLV'](overrideExecute,_0x37fee4,_0x2791e9),_0x37fee4[_0x548ede(0x1eb)]=async()=>{const _0x33cf04=_0x548ede;return await _0x56f7ea[_0x33cf04(0x193)](getAccessibilityResultsSummary,_0x37fee4,global);},_0x37fee4[_0x548ede(0x191)]=async()=>{const _0x17081c=_0x548ede;return await _0x5f3e37[_0x17081c(0x1a5)](getAccessibilityResults,_0x37fee4,global);};}),_0x33459d[_0x4c6803(0x1eb)]=async()=>{const _0x4de8e9=_0x4c6803;return await _0x4e4a15[_0x4de8e9(0x1b4)](getAccessibilityResultsSummary,_0x33459d,global);},_0x33459d[_0x4c6803(0x191)]=async()=>{const _0x216a34=_0x4c6803;return await _0x5f3e37[_0x216a34(0x1a5)](getAccessibilityResults,_0x33459d,global);},_0x4e4a15[_0x4c6803(0x1c9)](overrideTakeScreenshot,_0x33459d),_0x4e4a15['luldY'](overrideQuit,_0x33459d),helper[_0x4c6803(0x1cc)](_0x33459d,_0x2791e9),_0x4e4a15[_0x4c6803(0x1fa)](overrideExecute,_0x33459d,_0x2791e9),helper[_0x4c6803(0x1d9)](global[_0x4c6803(0x1d6)])&&(global[_0x4c6803(0x1d6)]=[]),helper['isUndefined'](global['__drivers'])&&(global[_0x4c6803(0x1da)]=[]),global['__driversArray'][_0x4c6803(0x1d5)](_0x33459d),global['__driver']=_0x33459d,_0x4e4a15[_0x4c6803(0x195)](global[_0x4c6803(0x1da)],undefined)&&global['__drivers']['push'](_0x33459d),_0x10174d&&helper['isUndefined'](_0x10174d[_0x4c6803(0x18b)]['__driversArray'])&&(_0x10174d[_0x4c6803(0x18b)][_0x4c6803(0x1d6)]=[]),_0x10174d&&_0x4e4a15['XXXAs'](_0x10174d[_0x4c6803(0x18b)]['__drivers'],undefined)&&(_0x10174d[_0x4c6803(0x18b)][_0x4c6803(0x1da)]['push'](_0x33459d),_0x10174d[_0x4c6803(0x18b)][_0x4c6803(0x1d6)][_0x4c6803(0x1d5)](_0x33459d)),_0x33459d;}}return _0x172fb2[_0x1a3c5b(0x1cf)]=_0x172fb2['Builder'],_0x172fb2[_0x1a3c5b(0x1f6)]=_0x1377f8,_0x13c1e6[_0x1a3c5b(0x194)]=_0x477130,_0x172fb2;};module[a33_0x239bd4(0x18c)][a33_0x239bd4(0x1b2)]=modify;
1
+ const a33_0x4b0af5=a33_0x3376;(function(_0x19dc6e,_0x557cd5){const _0x52c9cf=a33_0x3376,_0xe1a833=_0x19dc6e();while(!![]){try{const _0x2adc22=parseInt(_0x52c9cf(0x11f))/0x1+-parseInt(_0x52c9cf(0x15a))/0x2+-parseInt(_0x52c9cf(0x135))/0x3+-parseInt(_0x52c9cf(0xe8))/0x4+parseInt(_0x52c9cf(0xf7))/0x5+-parseInt(_0x52c9cf(0x136))/0x6*(-parseInt(_0x52c9cf(0xf3))/0x7)+-parseInt(_0x52c9cf(0x14a))/0x8;if(_0x2adc22===_0x557cd5)break;else _0xe1a833['push'](_0xe1a833['shift']());}catch(_0xdcd205){_0xe1a833['push'](_0xe1a833['shift']());}}}(a33_0x3bd9,0x8106e));const logger=require(a33_0x4b0af5(0x140))[a33_0x4b0af5(0xf0)],helper=require('../../../helpers/helper'),constants=require(a33_0x4b0af5(0x13b)),hubAllocator=require(a33_0x4b0af5(0x13e)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x4b0af5(0x141)),{setAccessibilityCapabilities,setExtension}=require(a33_0x4b0af5(0xed)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x4b0af5(0xfb)),{overrideExecute}=require(a33_0x4b0af5(0x116)),modify=(_0x34bc81,_0x498735=null,_0x237cbd=![])=>{const _0x5a854f=a33_0x4b0af5,_0x29636d={'mAlrn':function(_0x343d90,_0x4d6c7c){return _0x343d90!==_0x4d6c7c;},'GtmuM':_0x5a854f(0xf2),'nKtIl':function(_0x75a93b,_0x3f871b){return _0x75a93b+_0x3f871b;},'JQWPt':function(_0x29b7fa,_0x128cab){return _0x29b7fa+_0x128cab;},'oDcaf':_0x5a854f(0x12c),'RiiIG':_0x5a854f(0x114),'iBGKX':_0x5a854f(0x139),'bvOwV':'chromeOptions','EiHqu':_0x5a854f(0x119),'zONLP':_0x5a854f(0x156),'BEcGH':_0x5a854f(0x14d),'yBNTI':'firefoxOptions','xKBnU':_0x5a854f(0x127),'GuAUh':_0x5a854f(0x148),'KGpvi':_0x5a854f(0xe4),'YwNyA':function(_0x1819e9,_0xe1a768){return _0x1819e9===_0xe1a768;},'ZjMqR':_0x5a854f(0x15d),'GKrap':_0x5a854f(0xfc),'EJbWc':function(_0x5a8097,_0x5c186b,_0x24f83e){return _0x5a8097(_0x5c186b,_0x24f83e);},'EKQAv':function(_0x4baebc,_0x4ee387,_0x399d55){return _0x4baebc(_0x4ee387,_0x399d55);},'DjAJu':function(_0xb385da,_0x4f8dcc){return _0xb385da(_0x4f8dcc);},'dGvTM':function(_0x3509a9,_0x5418bc,_0x32a44e){return _0x3509a9(_0x5418bc,_0x32a44e);},'rCKwu':_0x5a854f(0x128),'cWaHH':_0x5a854f(0x157),'FKUvT':function(_0x53c467,_0x5de404,_0x597c5d){return _0x53c467(_0x5de404,_0x597c5d);},'dQurm':'4|3|5|0|1|2','dDhkr':'isAccessibilityPlatform','DePJG':_0x5a854f(0xef),'hMllV':function(_0x250fea){return _0x250fea();},'NZAlH':function(_0xf58dca,_0x37db29){return _0xf58dca(_0x37db29);},'pSrfA':function(_0x4520c7,_0x12e72f){return _0x4520c7!==_0x12e72f;},'lWrJV':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','GuTHL':_0x5a854f(0x14b)},_0x3cda6f=helper[_0x5a854f(0x122)]();let _0xdfa79e;try{_0xdfa79e=helper[_0x5a854f(0x118)](),_0xdfa79e[_0x5a854f(0xfd)]&&(_0xdfa79e[_0x5a854f(0xfe)]=_0xdfa79e[_0x5a854f(0xfd)]);}catch(_0x4c75a8){return;}if(helper[_0x5a854f(0xf8)]()){const _0x227a10={};_0x227a10[_0x5a854f(0x145)]=_0x34bc81['browserStackLogLevel'],helper[_0x5a854f(0x13a)](_0x227a10,new Map(),new Map()),logger[_0x5a854f(0x11c)](_0x29636d[_0x5a854f(0x134)]),logger[_0x5a854f(0xf1)](_0x29636d[_0x5a854f(0x123)]);}class _0x7c020b extends _0x3cda6f['HttpClient']{['send'](_0x4bdf38){const _0x5dcade=_0x5a854f;if(_0x29636d['mAlrn'](_0x4bdf38['path'],_0x29636d[_0x5dcade(0x120)])&&_0x29636d[_0x5dcade(0x15e)](global[_0x5dcade(0xf6)],''))try{global[_0x5dcade(0xf6)]=_0x29636d[_0x5dcade(0x10b)](_0x29636d[_0x5dcade(0x112)](_0x29636d['oDcaf'],global[_0x5dcade(0xf6)]),_0x29636d[_0x5dcade(0x143)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x5dcade(0xf6)]),logger[_0x5dcade(0xf1)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global['newHubUrl']='';}catch(_0x5214fc){logger[_0x5dcade(0x12b)](_0x5214fc);}return super[_0x5dcade(0x10d)](_0x4bdf38);}}class _0x216535 extends _0xdfa79e[_0x5a854f(0xfe)]{['setServer'](){const _0xafb725=_0x5a854f;return this[_0xafb725(0xea)]=helper['getHubUrl'](_0x34bc81),logger[_0xafb725(0xf1)](_0xafb725(0x13d)+this[_0xafb725(0xea)]),this;}[_0x5a854f(0x10e)](_0x1ab68e){const _0x3d4c16=_0x5a854f;let _0x34dfd3={};for(const _0x3d4472 in _0x1ab68e){switch(_0x3d4472){case _0x29636d[_0x3d4c16(0x11a)]:case _0x29636d[_0x3d4c16(0x15b)]:this['chromeOptions_']&&(_0x34dfd3=this['chromeOptions_'][_0x3d4c16(0xe6)](this[_0x3d4c16(0x130)][_0x3d4c16(0xfa)])||{},this['chromeOptions_']['set'](this[_0x3d4c16(0x130)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x124)]:case _0x29636d[_0x3d4c16(0x108)]:this[_0x3d4c16(0x10c)]&&(_0x34dfd3=this[_0x3d4c16(0x10c)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x10c)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x3d4c16(0x109)](this[_0x3d4c16(0x10c)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x100)]:case _0x29636d['yBNTI']:this[_0x3d4c16(0x14f)]&&(_0x34dfd3=this[_0x3d4c16(0x14f)]['get'](this['firefoxOptions_'][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x14f)][_0x3d4c16(0x109)](this['firefoxOptions_'][_0x3d4c16(0xfa)],helper['mergeDeep'](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x147)]:this[_0x3d4c16(0x113)]&&(_0x34dfd3=this[_0x3d4c16(0x113)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x113)][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x113)][_0x3d4c16(0x109)](this[_0x3d4c16(0x113)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x142)]:case _0x29636d[_0x3d4c16(0x106)]:this[_0x3d4c16(0x103)]&&(_0x34dfd3=this[_0x3d4c16(0x103)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x103)][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x103)][_0x3d4c16(0x109)](this['ieOptions_'][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;}}}['setCapabilities'](){const _0x30c795=_0x5a854f,_0x41a807={'pSPuA':function(_0x177c5b,_0x599ccb){const _0x48cc59=a33_0x3376;return _0x29636d[_0x48cc59(0x131)](_0x177c5b,_0x599ccb);},'FiURz':_0x29636d[_0x30c795(0xeb)]};return logger[_0x30c795(0xf1)](_0x29636d[_0x30c795(0x159)]),this[_0x30c795(0x10e)](_0x34bc81['capability']),Object[_0x30c795(0x115)](_0x34bc81[_0x30c795(0x102)])[_0x30c795(0x14c)](_0x60afd0=>{const _0x20348e=_0x30c795,_0xa0c2d6=this['capabilities_'][_0x20348e(0xe6)](_0x60afd0);_0x41a807['pSPuA'](typeof _0xa0c2d6,_0x41a807[_0x20348e(0xf4)])?this['capabilities_'][_0x20348e(0x109)](_0x60afd0,helper['mergeDeep'](_0xa0c2d6,_0x34bc81[_0x20348e(0x102)][_0x60afd0])):this['capabilities_'][_0x20348e(0x109)](_0x60afd0,_0x34bc81[_0x20348e(0x102)][_0x60afd0]);}),this;}['build'](){const _0x30026d=_0x5a854f,_0x143276={'LIupw':_0x29636d[_0x30026d(0x153)],'yCbJa':_0x29636d[_0x30026d(0x137)],'YOPux':function(_0x2d303b,_0x10b631,_0x547a00){return _0x29636d['FKUvT'](_0x2d303b,_0x10b631,_0x547a00);}};if(helper[_0x30026d(0xf8)]()){const _0x582eb7=_0x29636d[_0x30026d(0x11e)][_0x30026d(0x149)]('|');let _0x7bc404=0x0;while(!![]){switch(_0x582eb7[_0x7bc404++]){case'0':if(helper[_0x30026d(0x11d)](_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]))this[_0x30026d(0x101)]=helper[_0x30026d(0x15c)](_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]);else _0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]&&(this[_0x30026d(0x110)]=_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)],logger[_0x30026d(0xf1)](_0x30026d(0x14e)+this['proxy_']));continue;case'1':globals['getGlobal'](_0x29636d[_0x30026d(0x151)])&&(!_0x29636d['EKQAv'](setExtension,this,_0x34bc81)&&globals[_0x30026d(0x144)](_0x29636d['dDhkr'],![]));continue;case'2':logger['debug'](_0x29636d['DePJG']);continue;case'3':this[_0x30026d(0x146)]();continue;case'4':_0x29636d[_0x30026d(0x117)](isAccessibilityAutomationSession)&&_0x29636d['DjAJu'](setAccessibilityCapabilities,_0x34bc81);continue;case'5':this[_0x30026d(0x126)]();continue;}break;}}const _0x1aa450=super[_0x30026d(0x12e)]();return _0x1aa450[_0x30026d(0x13f)]['then'](_0x57cd6b=>{const _0x4909d7=_0x30026d;try{const _0xd9eb8f=_0x57cd6b[_0x4909d7(0x158)][_0x4909d7(0xe6)](_0x143276[_0x4909d7(0x129)]);_0xd9eb8f?(logger[_0x4909d7(0xf1)](_0x4909d7(0x10f)+_0xd9eb8f),hubAllocator[_0x4909d7(0xec)](_0xd9eb8f),helper['storeOptimalHubUrl'](_0xd9eb8f)):logger[_0x4909d7(0xf1)](_0x143276[_0x4909d7(0xe7)]);}catch(_0x4efa42){logger[_0x4909d7(0xf1)](_0x4909d7(0x10a)+_0x4efa42);}}),_0x1aa450[_0x30026d(0x107)]=0x0,_0x1aa450['then']&&_0x1aa450['then'](_0x2cf3dd=>{const _0x2af696=_0x30026d,_0x3d2f73={'BFlpO':function(_0x15a6f1,_0x34e90b,_0x840063){const _0x5616d2=a33_0x3376;return _0x29636d[_0x5616d2(0xff)](_0x15a6f1,_0x34e90b,_0x840063);},'hOCyk':function(_0x1b915e,_0x37c25f,_0x290646){const _0x1fd676=a33_0x3376;return _0x29636d[_0x1fd676(0xff)](_0x1b915e,_0x37c25f,_0x290646);}};_0x29636d[_0x2af696(0xe5)](overrideQuit,_0x2cf3dd,_0x1aa450),_0x29636d[_0x2af696(0x150)](overrideTakeScreenshot,_0x2cf3dd),helper[_0x2af696(0x152)](_0x2cf3dd,_0x34bc81),_0x29636d[_0x2af696(0xff)](overrideExecute,_0x2cf3dd,_0x34bc81),_0x2cf3dd[_0x2af696(0x104)]=async()=>{const _0x1e6a1d=_0x2af696;return await _0x3d2f73[_0x1e6a1d(0x12f)](getAccessibilityResultsSummary,_0x2cf3dd,global);},_0x2cf3dd['getAccessibilityResults']=async()=>{const _0x4a8c7f=_0x2af696;return await _0x3d2f73[_0x4a8c7f(0x132)](getAccessibilityResults,_0x2cf3dd,global);};}),_0x1aa450[_0x30026d(0x104)]=async()=>{const _0x400f2d=_0x30026d;return await _0x143276[_0x400f2d(0xf9)](getAccessibilityResultsSummary,_0x1aa450,global);},_0x1aa450['getAccessibilityResults']=async()=>{const _0x3c057d=_0x30026d;return await _0x29636d[_0x3c057d(0xe9)](getAccessibilityResults,_0x1aa450,global);},_0x29636d[_0x30026d(0x150)](overrideTakeScreenshot,_0x1aa450),_0x29636d[_0x30026d(0xf5)](overrideQuit,_0x1aa450),helper[_0x30026d(0x152)](_0x1aa450,_0x34bc81),_0x29636d[_0x30026d(0xff)](overrideExecute,_0x1aa450,_0x34bc81),helper[_0x30026d(0x12a)](global[_0x30026d(0x121)])&&(global[_0x30026d(0x121)]=[]),helper[_0x30026d(0x12a)](global[_0x30026d(0xee)])&&(global[_0x30026d(0xee)]=[]),global[_0x30026d(0x121)][_0x30026d(0x13c)](_0x1aa450),global[_0x30026d(0x133)]=_0x1aa450,_0x29636d['mAlrn'](global[_0x30026d(0xee)],undefined)&&global[_0x30026d(0xee)][_0x30026d(0x13c)](_0x1aa450),_0x498735&&helper[_0x30026d(0x12a)](_0x498735['global'][_0x30026d(0x121)])&&(_0x498735[_0x30026d(0x155)][_0x30026d(0x121)]=[]),_0x498735&&_0x29636d[_0x30026d(0x105)](_0x498735['global']['__drivers'],undefined)&&(_0x498735[_0x30026d(0x155)][_0x30026d(0xee)][_0x30026d(0x13c)](_0x1aa450),_0x498735[_0x30026d(0x155)][_0x30026d(0x121)][_0x30026d(0x13c)](_0x1aa450)),_0x1aa450;}}return _0xdfa79e[_0x5a854f(0xfd)]=_0xdfa79e[_0x5a854f(0xfe)],_0xdfa79e[_0x5a854f(0xfe)]=_0x216535,_0x3cda6f[_0x5a854f(0x125)]=_0x7c020b,_0xdfa79e;};function a33_0x3376(_0x7581a6,_0x4cd63c){const _0x3bd9bd=a33_0x3bd9();return a33_0x3376=function(_0x33760f,_0x436f39){_0x33760f=_0x33760f-0xe4;let _0x4c9391=_0x3bd9bd[_0x33760f];return _0x4c9391;},a33_0x3376(_0x7581a6,_0x4cd63c);}function a33_0x3bd9(){const _0x48121e=['YOPux','CAPABILITY_KEY','../../../helpers/globals','Setting\x20Browserstack\x20capabilities','originalBuilder','Builder','EJbWc','BEcGH','agent_','capability','ieOptions_','getAccessibilityResultsSummary','pSrfA','KGpvi','quitCount_','zONLP','set','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','nKtIl','edgeOptions_','send','__setBrowserOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','proxy_','exports','JQWPt','safariOptions_','/wd/hub','keys','./helpers/patchHelper','hMllV','requireSeleniumWebdriver','ms:edgeOptions','iBGKX','proxyUrl','info','isPacProxy','dQurm','769008WXDyHJ','GtmuM','__driversArray','requireHttpClient','GuTHL','EiHqu','HttpClient','setCapabilities','safari.options','optimalHubUrl','LIupw','isUndefined','error','https://','proxySettings','build','BFlpO','chromeOptions_','YwNyA','hOCyk','__driver','lWrJV','39942AAdqqE','1223544BLzQXw','cWaHH','mergeDeep','goog:chromeOptions','setLogLevel','../../../bin/utils/constants','push','Hub\x20url\x20set\x20to\x20','../../../hubAllocationMethods','session_','../../../helpers/logger','../../../helpers/patchHelpers','GuAUh','RiiIG','setGlobal','logLevel','setServer','xKBnU','se:ieOptions','split','4143224RLCemx','Modifying\x20webdriver\x20builder','forEach','moz:firefoxOptions','Proxy\x20set\x20to\x20','firefoxOptions_','DjAJu','dDhkr','overrideGet','rCKwu','browserstackAgentObservability','global','edgeOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','caps_','GKrap','1731206GeIkHG','bvOwV','getHttpAgent','object','mAlrn','ieOptions','EKQAv','get','yCbJa','1837344HFIQuF','dGvTM','url_','ZjMqR','updateHubUrl','../accessibility-automation/helper','__drivers','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','winstonLogger','debug','/session','35ADFzmN','FiURz','NZAlH','newHubUrl','2980110yiCodO','isBrowserstackInfra'];a33_0x3bd9=function(){return _0x48121e;};return a33_0x3bd9();}module[a33_0x4b0af5(0x111)][a33_0x4b0af5(0x154)]=modify;
@@ -1 +1 @@
1
- const a34_0x3b52f0=a34_0x204c;(function(_0x1ca254,_0x16843c){const _0xfee402=a34_0x204c,_0x11f0a3=_0x1ca254();while(!![]){try{const _0x550b6b=parseInt(_0xfee402(0x158))/0x1*(parseInt(_0xfee402(0x164))/0x2)+-parseInt(_0xfee402(0x157))/0x3+parseInt(_0xfee402(0x15e))/0x4+-parseInt(_0xfee402(0x155))/0x5*(parseInt(_0xfee402(0x159))/0x6)+parseInt(_0xfee402(0x161))/0x7*(parseInt(_0xfee402(0x15a))/0x8)+parseInt(_0xfee402(0x15b))/0x9+-parseInt(_0xfee402(0x15f))/0xa;if(_0x550b6b===_0x16843c)break;else _0x11f0a3['push'](_0x11f0a3['shift']());}catch(_0x5f5b4a){_0x11f0a3['push'](_0x11f0a3['shift']());}}}(a34_0x99a3,0xd89f7));function a34_0x204c(_0x5b049c,_0x17fd6c){const _0x99a3da=a34_0x99a3();return a34_0x204c=function(_0x204c82,_0x1e991c){_0x204c82=_0x204c82-0x155;let _0x50743f=_0x99a3da[_0x204c82];return _0x50743f;},a34_0x204c(_0x5b049c,_0x17fd6c);}const requestSpy=require(a34_0x3b52f0(0x15c)),constants=require(a34_0x3b52f0(0x156)),{addRequestSpy}=require(a34_0x3b52f0(0x163));exports[a34_0x3b52f0(0x160)]={'beforeAll'(){const _0x2ac78d=a34_0x3b52f0,_0x7b93bb={'ismpM':function(_0x204a62){return _0x204a62();}},_0x4052e8='browserstack internal helper hook';_0x7b93bb[_0x2ac78d(0x15d)](addRequestSpy);},'afterAll'(){const _0x165768=a34_0x3b52f0,_0x1939a1='browserstack internal helper hook';this[_0x165768(0x165)](0xea60),requestSpy[_0x165768(0x162)]();}};function a34_0x99a3(){const _0x2b60f8=['56YCluvM','restore','../../../helpers/test-observability/utils','2pNrsly','timeout','2757910HxqvGm','../../../bin/utils/constants','4646214KtsFin','1412413UFFuwh','6tjOpyN','1249264GtuzxZ','13604805aNqVhN','../../../helpers/request-spy','ismpM','2425584oIjcQc','17921110kcWbWd','mochaHooks'];a34_0x99a3=function(){return _0x2b60f8;};return a34_0x99a3();}
1
+ const a34_0x3ae314=a34_0x435c;function a34_0x55a6(){const _0x34e43d=['7foPKDL','1002081LTJmNV','timeout','restore','62007fCzfBn','1621718uimKWg','mochaHooks','ZgWYn','../../../helpers/test-observability/utils','36xqgAsx','3184209IuWfbQ','138265KiKSMO','../../../bin/utils/constants','4503240QTGNJU','120RAOygM','../../../helpers/request-spy','2255848madyQM','1HdBfLt'];a34_0x55a6=function(){return _0x34e43d;};return a34_0x55a6();}(function(_0x5e78c7,_0x16f508){const _0x26df78=a34_0x435c,_0x9a6ab8=_0x5e78c7();while(!![]){try{const _0x58b9ee=parseInt(_0x26df78(0xeb))/0x1*(parseInt(_0x26df78(0xf1))/0x2)+-parseInt(_0x26df78(0xed))/0x3+-parseInt(_0x26df78(0xf5))/0x4*(parseInt(_0x26df78(0xf7))/0x5)+parseInt(_0x26df78(0xf9))/0x6+parseInt(_0x26df78(0xec))/0x7*(-parseInt(_0x26df78(0xea))/0x8)+-parseInt(_0x26df78(0xf6))/0x9+parseInt(_0x26df78(0xe8))/0xa*(parseInt(_0x26df78(0xf0))/0xb);if(_0x58b9ee===_0x16f508)break;else _0x9a6ab8['push'](_0x9a6ab8['shift']());}catch(_0x3927de){_0x9a6ab8['push'](_0x9a6ab8['shift']());}}}(a34_0x55a6,0x642f5));const requestSpy=require(a34_0x3ae314(0xe9)),constants=require(a34_0x3ae314(0xf8)),{addRequestSpy}=require(a34_0x3ae314(0xf4));function a34_0x435c(_0x2722cc,_0x28b1b7){const _0x55a6ad=a34_0x55a6();return a34_0x435c=function(_0x435c3d,_0x4ab713){_0x435c3d=_0x435c3d-0xe8;let _0x57d2f0=_0x55a6ad[_0x435c3d];return _0x57d2f0;},a34_0x435c(_0x2722cc,_0x28b1b7);}exports[a34_0x3ae314(0xf2)]={'beforeAll'(){const _0x439549=a34_0x3ae314,_0x4702ec={'ZgWYn':function(_0x31b23b){return _0x31b23b();}},_0x29efbb='browserstack internal helper hook';_0x4702ec[_0x439549(0xf3)](addRequestSpy);},'afterAll'(){const _0x5cae69=a34_0x3ae314,_0xde63e='browserstack internal helper hook';this[_0x5cae69(0xee)](0xea60),requestSpy[_0x5cae69(0xef)]();}};
@@ -1 +1 @@
1
- const a35_0x227bfe=a35_0xcfa9;(function(_0x41b25e,_0x1d9751){const _0x2b5092=a35_0xcfa9,_0x26e323=_0x41b25e();while(!![]){try{const _0x2d7740=-parseInt(_0x2b5092(0x198))/0x1+-parseInt(_0x2b5092(0x1a6))/0x2*(parseInt(_0x2b5092(0x1d9))/0x3)+-parseInt(_0x2b5092(0x1c0))/0x4+parseInt(_0x2b5092(0x1d8))/0x5*(parseInt(_0x2b5092(0x1da))/0x6)+parseInt(_0x2b5092(0x1d2))/0x7*(parseInt(_0x2b5092(0x1c5))/0x8)+-parseInt(_0x2b5092(0x1b9))/0x9+parseInt(_0x2b5092(0x1d5))/0xa;if(_0x2d7740===_0x1d9751)break;else _0x26e323['push'](_0x26e323['shift']());}catch(_0x17f845){_0x26e323['push'](_0x26e323['shift']());}}}(a35_0x28c0,0x3c990));const {v4:uuidv4}=require('uuid'),{name,version}=require(a35_0x227bfe(0x19e)),logPatcher=require(a35_0x227bfe(0x1bb)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x227bfe(0x1af)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x227bfe(0x197)),{isFunction}=require(a35_0x227bfe(0x1be)),{patchConsoleLogger}=require(a35_0x227bfe(0x1af));function a35_0xcfa9(_0x19592f,_0x33c7a6){const _0x28c0ec=a35_0x28c0();return a35_0xcfa9=function(_0xcfa9b0,_0x5c3d57){_0xcfa9b0=_0xcfa9b0-0x191;let _0x1d1538=_0x28c0ec[_0xcfa9b0];return _0x1d1538;},a35_0xcfa9(_0x19592f,_0x33c7a6);}function a35_0x28c0(){const _0x5487cc=['_afterEach','generic','forEach','filter','xcOnw','UOUtU','fromEntries','4362237IWdCYJ','platformVersion','../../utils/logPatcher','NmPfu','reduce','lodash','mEquz','42924fGABWR','IVDGb','parent','QdGzF','passed','32lIXrgZ','_beforeEach','mapTestHooks','getHookDetails','get','IbpnG','IFSoT','rddDn','tIoSE','toJSON','__cloud_provider___','Uknyh','cBRnK','38297dHfaZN','hAGjL','sendPlatformDetails','6886660LsDvZW','VGEuV','eNCKv','956945WIrhxm','12VyOeiN','6LTzYzC','getTestEnv','hook','getHookSkippedTests','pid','Mftva','LPidA','MupVV','AGRdP','OUCrn','getHooksForTest','JMRte','concat','hookAnalyticsId','split','markedStatus','../../../helpers/testhub/utils','158303asgLdN','TEST_PLATFORM','tests','push','unknown_grid','getSession','../../../../package.json','state','mZUdL','slice','toISOString','oNWVq','failed','emit','2RnAIgE','_afterAll','ghwEW','getBrowserName','niiUf','WhQmX','indexOf','suites','getCapabilities','../../../helpers/test-observability/utils','substring','qIkVI'];a35_0x28c0=function(){return _0x5487cc;};return a35_0x28c0();}patchConsoleLogger(),exports[a35_0x227bfe(0x1db)]=()=>{const _0x37bb8f=a35_0x227bfe,_0x2a179e={'WhQmX':_0x37bb8f(0x1b3),'cxRhp':function(_0x517f6c){return _0x517f6c();}};return{'ci':_0x2a179e[_0x37bb8f(0x1ab)],'key':_0x2a179e['cxRhp'](uuidv4),'version':version,'collector':'js-'+name};},exports[a35_0x227bfe(0x1c8)]=_0x3a1520=>{const _0x3c3a5b=a35_0x227bfe,_0x3d0e9d={};_0x3d0e9d[_0x3c3a5b(0x1c3)]=function(_0x360da2,_0x6bf88f){return _0x360da2!==_0x6bf88f;},_0x3d0e9d[_0x3c3a5b(0x1ca)]='string',_0x3d0e9d[_0x3c3a5b(0x1e1)]=function(_0x5a335a,_0x5e0423){return _0x5a335a!==_0x5e0423;},_0x3d0e9d[_0x3c3a5b(0x1a0)]='hook:',_0x3d0e9d[_0x3c3a5b(0x1cb)]=function(_0x5649ed,_0x4788ac){return _0x5649ed!==_0x4788ac;},_0x3d0e9d[_0x3c3a5b(0x1cd)]=_0x3c3a5b(0x1dc);const _0x1af1ff=_0x3d0e9d;if(!_0x3a1520||_0x1af1ff[_0x3c3a5b(0x1c3)](typeof _0x3a1520,_0x1af1ff[_0x3c3a5b(0x1ca)]))return[null,null];if(_0x1af1ff[_0x3c3a5b(0x1e1)](_0x3a1520[_0x3c3a5b(0x1ac)](_0x1af1ff[_0x3c3a5b(0x1a0)]),-0x1)){const _0xa8dc76=_0x3a1520[_0x3c3a5b(0x195)](_0x1af1ff[_0x3c3a5b(0x1a0)]);return[_0xa8dc76[0x0][_0x3c3a5b(0x1a1)](0x0,-0x1)[_0x3c3a5b(0x195)]('\x22')[0x1],_0xa8dc76[0x1][_0x3c3a5b(0x1b0)](0x1)];}else{if(_0x1af1ff[_0x3c3a5b(0x1cb)](_0x3a1520['indexOf'](_0x1af1ff[_0x3c3a5b(0x1cd)]),-0x1)){const _0x161efe=_0x3a1520[_0x3c3a5b(0x195)](_0x1af1ff[_0x3c3a5b(0x1cd)]);return[_0x161efe[0x0][_0x3c3a5b(0x1a1)](0x0,-0x1)[_0x3c3a5b(0x195)]('\x22')[0x1],_0x3a1520];}}return[null,null];},exports[a35_0x227bfe(0x191)]=_0x223cf7=>{const _0x5acabc=a35_0x227bfe,_0x2ce7f1={'niiUf':function(_0x22acee,_0x13af45){return _0x22acee(_0x13af45);},'ghwEW':'_beforeAll','JMRte':_0x5acabc(0x1a7),'UOUtU':'_beforeEach','VGEuV':_0x5acabc(0x1b2)};if(!_0x223cf7||!_0x223cf7['parent'])return[];const _0x461903=[];return[_0x2ce7f1[_0x5acabc(0x1a8)],_0x2ce7f1[_0x5acabc(0x192)],_0x2ce7f1[_0x5acabc(0x1b7)],_0x2ce7f1[_0x5acabc(0x1d6)]]['forEach'](_0x2f22a5=>{const _0xcd9a39=_0x5acabc,_0x10bf93={'xcOnw':function(_0x39ff71,_0x14cc2b){const _0x1d8e8a=a35_0xcfa9;return _0x2ce7f1[_0x1d8e8a(0x1aa)](_0x39ff71,_0x14cc2b);}},_0x462142=_0x223cf7[_0xcd9a39(0x1c2)][_0x2f22a5]||[];_0x462142[_0xcd9a39(0x1b4)](_0x4201f0=>{const _0xe3cd0b=_0xcd9a39;_0x4201f0[_0xe3cd0b(0x194)]&&!_0x10bf93[_0xe3cd0b(0x1b6)](isInternalHook,_0x4201f0['fn'])&&_0x461903[_0xe3cd0b(0x19b)](_0x4201f0[_0xe3cd0b(0x194)]);});}),[..._0x461903,...exports[_0x5acabc(0x191)](_0x223cf7[_0x5acabc(0x1c2)])];},exports[a35_0x227bfe(0x1c7)]=_0x59d78a=>{const _0x40f1af=a35_0x227bfe,_0x5bc8e8={'NmPfu':function(_0x505f7e){return _0x505f7e();},'yFWjU':function(_0x8514db,_0x3c5505){return _0x8514db===_0x3c5505;},'yaouy':_0x40f1af(0x1b2),'wpnOg':'_beforeAll','xfHdu':_0x40f1af(0x1a7),'HLWdt':_0x40f1af(0x1c6)};if(!_0x59d78a||!_0x59d78a[_0x40f1af(0x1c2)])return;[_0x5bc8e8['wpnOg'],_0x5bc8e8['xfHdu'],_0x5bc8e8['HLWdt'],_0x5bc8e8['yaouy']][_0x40f1af(0x1b4)](_0x4f5f3a=>{const _0x1e7c83=_0x40f1af,_0x4e7dc4={'IVDGb':function(_0x27cf8d){const _0x690a20=a35_0xcfa9;return _0x5bc8e8[_0x690a20(0x1bc)](_0x27cf8d);},'NCkLk':function(_0xb48e0e,_0x17edd8){return _0x5bc8e8['yFWjU'](_0xb48e0e,_0x17edd8);},'HVZaX':_0x5bc8e8['yaouy']},_0x1d61b4=_0x59d78a[_0x1e7c83(0x1c2)][_0x4f5f3a]||[];_0x1d61b4['forEach'](_0x4cb0ad=>{const _0x3bf40d=_0x1e7c83;if(!_0x4cb0ad[_0x3bf40d(0x194)])_0x4cb0ad[_0x3bf40d(0x194)]=_0x4e7dc4['IVDGb'](uuidv4);else _0x4cb0ad[_0x3bf40d(0x196)]&&_0x4e7dc4['NCkLk'](_0x4f5f3a,_0x4e7dc4['HVZaX'])&&(_0x4cb0ad[_0x3bf40d(0x194)]=_0x4e7dc4[_0x3bf40d(0x1c1)](uuidv4),delete _0x4cb0ad[_0x3bf40d(0x196)]);});}),exports['mapTestHooks'](_0x59d78a[_0x40f1af(0x1c2)]);},exports[a35_0x227bfe(0x1d4)]=async(_0x2e7b2a,_0x5a24f2)=>{const _0x14a0bb=a35_0x227bfe,_0x1b61bb={'cBRnK':function(_0x233af3){return _0x233af3();},'hAGjL':function(_0x57157a,_0x303abf){return _0x57157a(_0x303abf);},'AGRdP':_0x14a0bb(0x1ba),'JuTBk':function(_0x202ec0,_0x546b8f){return _0x202ec0(_0x546b8f);},'oNWVq':function(_0x3a6927,_0x218c81){return _0x3a6927===_0x218c81;},'eNCKv':'browserstack','ibAzw':_0x14a0bb(0x19c),'Uknyh':_0x14a0bb(0x199)};try{if(!_0x1b61bb[_0x14a0bb(0x1d1)](shouldProcessEventForTesthub))return;const _0x326a3d=await _0x2e7b2a[_0x14a0bb(0x1ae)](),_0x740d30=await _0x2e7b2a[_0x14a0bb(0x19d)](),_0x2e8e05={},_0x242d3c=Object[_0x14a0bb(0x1b8)](_0x740d30[_0x14a0bb(0x1ae)]()['map_']),_0x2a55a5={'product':_0x1b61bb[_0x14a0bb(0x1d3)](getObservabilityLinkedProductName,_0x242d3c),'capabilities':_0x242d3c,'platform':_0x326a3d['getPlatform'](),'platform_version':_0x326a3d['get'](_0x1b61bb[_0x14a0bb(0x1e2)])?_0x326a3d[_0x14a0bb(0x1c9)](_0x1b61bb['AGRdP']):_0x1b61bb['JuTBk'](getPlatformVersion,_0x1b61bb[_0x14a0bb(0x1a3)](global[_0x14a0bb(0x1cf)],_0x1b61bb[_0x14a0bb(0x1d7)])),'browser':_0x326a3d[_0x14a0bb(0x1a9)](),'browser_version':_0x326a3d['getBrowserVersion'](),'session_id':_0x740d30[_0x14a0bb(0x1ce)]()};global[_0x14a0bb(0x1cf)]?_0x2e8e05[global[_0x14a0bb(0x1cf)]]=_0x2a55a5:_0x2e8e05[_0x1b61bb['ibAzw']]=_0x2a55a5,process[_0x14a0bb(0x1a5)]('bs:addPlatformDetails:'+process[_0x14a0bb(0x1de)],{'timestamp':new Date()[_0x14a0bb(0x1a2)](),'level':null,'message':null,'kind':_0x1b61bb[_0x14a0bb(0x1d0)],'http_response':_0x2e8e05,'uuid':_0x5a24f2});}catch(_0x376e07){_0x1b61bb['JuTBk'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x376e07);}},exports[a35_0x227bfe(0x1dd)]=_0x11d283=>{const _0x37adc3=a35_0x227bfe,_0x27025f={};_0x27025f['mEquz']=function(_0x186fa1,_0x1d2e27){return _0x186fa1!==_0x1d2e27;},_0x27025f[_0x37adc3(0x1df)]=_0x37adc3(0x1dc),_0x27025f[_0x37adc3(0x1e3)]=function(_0x5ef859,_0x322e28){return _0x5ef859!==_0x322e28;},_0x27025f[_0x37adc3(0x1b1)]=_0x37adc3(0x1c4),_0x27025f[_0x37adc3(0x1e0)]=function(_0x306800,_0xa74c28){return _0x306800!==_0xa74c28;},_0x27025f[_0x37adc3(0x1cc)]=_0x37adc3(0x1a4);const _0x53c30f=_0x27025f,_0x818bf0=_0x11d283[_0x37adc3(0x1ad)][_0x37adc3(0x1bd)]((_0x1c8177,_0x238c6c)=>{const _0x15ee77=_0x37adc3,_0x1e2a96=exports['getHookSkippedTests'](_0x238c6c);return _0x1e2a96&&(_0x1c8177=_0x1c8177[_0x15ee77(0x193)](_0x1e2a96)),_0x1c8177;},[]),_0x151cfc=_0x11d283[_0x37adc3(0x19a)][_0x37adc3(0x1b5)](_0xaeb784=>{const _0x2456f9=_0x37adc3,_0x21d4a9=_0x53c30f[_0x2456f9(0x1bf)](_0xaeb784['type'],_0x53c30f[_0x2456f9(0x1df)])&&!_0xaeb784['markedStatus']&&_0x53c30f[_0x2456f9(0x1e3)](_0xaeb784['state'],_0x53c30f[_0x2456f9(0x1b1)])&&_0x53c30f[_0x2456f9(0x1e0)](_0xaeb784[_0x2456f9(0x19f)],_0x53c30f['rddDn'])&&!_0xaeb784['pending'];return _0x21d4a9;});return _0x151cfc[_0x37adc3(0x193)](_0x818bf0);};
1
+ const a35_0x5d4d0b=a35_0x1564;(function(_0x3138f2,_0x67e0f5){const _0x2c2a9f=a35_0x1564,_0xce5e28=_0x3138f2();while(!![]){try{const _0x51ea16=parseInt(_0x2c2a9f(0x1e7))/0x1*(parseInt(_0x2c2a9f(0x1d4))/0x2)+-parseInt(_0x2c2a9f(0x1b1))/0x3*(parseInt(_0x2c2a9f(0x1db))/0x4)+parseInt(_0x2c2a9f(0x1b7))/0x5*(-parseInt(_0x2c2a9f(0x1f2))/0x6)+-parseInt(_0x2c2a9f(0x1f0))/0x7*(-parseInt(_0x2c2a9f(0x1d5))/0x8)+parseInt(_0x2c2a9f(0x1f5))/0x9+parseInt(_0x2c2a9f(0x1e9))/0xa+-parseInt(_0x2c2a9f(0x1eb))/0xb*(parseInt(_0x2c2a9f(0x1e1))/0xc);if(_0x51ea16===_0x67e0f5)break;else _0xce5e28['push'](_0xce5e28['shift']());}catch(_0x53d26f){_0xce5e28['push'](_0xce5e28['shift']());}}}(a35_0x9441,0x974c3));const {v4:uuidv4}=require(a35_0x5d4d0b(0x1cf)),{name,version}=require(a35_0x5d4d0b(0x1f6)),logPatcher=require(a35_0x5d4d0b(0x1b3)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x5d4d0b(0x1e5)),{getPlatformVersion}=require(a35_0x5d4d0b(0x1c1)),{shouldProcessEventForTesthub}=require(a35_0x5d4d0b(0x1c8)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a35_0x5d4d0b(0x1da));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x22b453=a35_0x5d4d0b,_0x3d67e4={'LqvvB':'generic','IkTCK':function(_0x17264d){return _0x17264d();}};return{'ci':_0x3d67e4[_0x22b453(0x1bc)],'key':_0x3d67e4[_0x22b453(0x1e6)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x648092=>{const _0x5cb2cb=a35_0x5d4d0b,_0x3d436c={};_0x3d436c['DslyX']=function(_0x14569a,_0x15ad03){return _0x14569a!==_0x15ad03;},_0x3d436c['kjhwW']=_0x5cb2cb(0x1d0),_0x3d436c[_0x5cb2cb(0x1a3)]='hook:',_0x3d436c[_0x5cb2cb(0x1dc)]='hook';const _0x5c353b=_0x3d436c;if(!_0x648092||_0x5c353b[_0x5cb2cb(0x1b0)](typeof _0x648092,_0x5c353b[_0x5cb2cb(0x1ea)]))return[null,null];if(_0x5c353b[_0x5cb2cb(0x1b0)](_0x648092[_0x5cb2cb(0x1b2)](_0x5c353b['JXVAo']),-0x1)){const _0x31314e=_0x648092['split'](_0x5c353b[_0x5cb2cb(0x1a3)]);return[_0x31314e[0x0][_0x5cb2cb(0x1d2)](0x0,-0x1)[_0x5cb2cb(0x1a5)]('\x22')[0x1],_0x31314e[0x1][_0x5cb2cb(0x1a4)](0x1)];}else{if(_0x5c353b[_0x5cb2cb(0x1b0)](_0x648092[_0x5cb2cb(0x1b2)](_0x5c353b[_0x5cb2cb(0x1dc)]),-0x1)){const _0x10c547=_0x648092[_0x5cb2cb(0x1a5)](_0x5c353b[_0x5cb2cb(0x1dc)]);return[_0x10c547[0x0]['slice'](0x0,-0x1)[_0x5cb2cb(0x1a5)]('\x22')[0x1],_0x648092];}}return[null,null];},exports[a35_0x5d4d0b(0x1ac)]=_0x6a47d8=>{const _0x5132c9=a35_0x5d4d0b,_0x43d87c={'VPkKs':function(_0x33d1c8,_0x459a9b){return _0x33d1c8(_0x459a9b);},'OdzCM':_0x5132c9(0x1aa),'vdwBe':_0x5132c9(0x1ab),'hLNyb':_0x5132c9(0x1e2),'IxWqL':_0x5132c9(0x1a1)};if(!_0x6a47d8||!_0x6a47d8['parent'])return[];const _0x30fb31=[];return[_0x43d87c[_0x5132c9(0x1bf)],_0x43d87c['vdwBe'],_0x43d87c[_0x5132c9(0x1d9)],_0x43d87c['IxWqL']][_0x5132c9(0x1d6)](_0x2954c7=>{const _0x570bea=_0x5132c9,_0x2c74c2=_0x6a47d8[_0x570bea(0x1c2)][_0x2954c7]||[];_0x2c74c2[_0x570bea(0x1d6)](_0x216d5f=>{const _0x59f313=_0x570bea;_0x216d5f[_0x59f313(0x1c6)]&&!_0x43d87c['VPkKs'](isInternalHook,_0x216d5f['fn'])&&_0x30fb31[_0x59f313(0x1a7)](_0x216d5f[_0x59f313(0x1c6)]);});}),[..._0x30fb31,...exports[_0x5132c9(0x1ac)](_0x6a47d8[_0x5132c9(0x1c2)])];},exports[a35_0x5d4d0b(0x1d3)]=_0x250260=>{const _0x2d6565=a35_0x5d4d0b,_0x5ea7c6={'sOMmX':function(_0x52250c){return _0x52250c();},'rxMTd':function(_0x3ba2cc,_0x768b3d){return _0x3ba2cc===_0x768b3d;},'uLHeL':_0x2d6565(0x1a1),'ykakA':'_beforeAll','twqye':'_afterAll','aBDEd':_0x2d6565(0x1e2)};if(!_0x250260||!_0x250260[_0x2d6565(0x1c2)])return;[_0x5ea7c6['ykakA'],_0x5ea7c6['twqye'],_0x5ea7c6[_0x2d6565(0x1c4)],_0x5ea7c6['uLHeL']]['forEach'](_0x435fad=>{const _0x727ea4=_0x2d6565,_0x577704={'nGUnt':function(_0x4cacf7){const _0x150ff8=a35_0x1564;return _0x5ea7c6[_0x150ff8(0x1b9)](_0x4cacf7);},'mtEeR':function(_0x5dd7a4,_0x236f75){const _0x1c0b62=a35_0x1564;return _0x5ea7c6[_0x1c0b62(0x1f3)](_0x5dd7a4,_0x236f75);},'HXvpW':_0x5ea7c6[_0x727ea4(0x1bd)],'hMBgF':function(_0x2d7b2b){const _0x3ea925=_0x727ea4;return _0x5ea7c6[_0x3ea925(0x1b9)](_0x2d7b2b);}},_0x20ed2c=_0x250260[_0x727ea4(0x1c2)][_0x435fad]||[];_0x20ed2c[_0x727ea4(0x1d6)](_0x5e93ce=>{const _0x2f0ce1=_0x727ea4;if(!_0x5e93ce[_0x2f0ce1(0x1c6)])_0x5e93ce[_0x2f0ce1(0x1c6)]=_0x577704['nGUnt'](uuidv4);else _0x5e93ce[_0x2f0ce1(0x1e3)]&&_0x577704[_0x2f0ce1(0x1a6)](_0x435fad,_0x577704['HXvpW'])&&(_0x5e93ce[_0x2f0ce1(0x1c6)]=_0x577704['hMBgF'](uuidv4),delete _0x5e93ce['markedStatus']);});}),exports[_0x2d6565(0x1d3)](_0x250260['parent']);},exports[a35_0x5d4d0b(0x1dd)]=async(_0x50c12d,_0x436e58)=>{const _0x30f2e9=a35_0x5d4d0b,_0x103a0a={'uKYYz':function(_0x5df2ac){return _0x5df2ac();},'YAeVT':function(_0x47df6d,_0x391050){return _0x47df6d(_0x391050);},'JdPhW':_0x30f2e9(0x1e0),'UREyQ':function(_0x5e7b8a,_0x1a6057){return _0x5e7b8a===_0x1a6057;},'OVxuq':_0x30f2e9(0x1ca),'qKBQu':_0x30f2e9(0x1b8),'qCynD':_0x30f2e9(0x1b5)};try{if(!_0x103a0a[_0x30f2e9(0x1cc)](shouldProcessEventForTesthub))return;const _0x202d5d=await _0x50c12d[_0x30f2e9(0x1ef)](),_0x4174e0=await _0x50c12d[_0x30f2e9(0x1df)](),_0x39ece2={},_0x4e0ef6=Object[_0x30f2e9(0x1af)](_0x4174e0[_0x30f2e9(0x1ef)]()[_0x30f2e9(0x1cb)]),_0x2683db={'product':_0x103a0a[_0x30f2e9(0x1bb)](getObservabilityLinkedProductName,_0x4e0ef6),'capabilities':_0x4e0ef6,'platform':_0x202d5d[_0x30f2e9(0x1a9)](),'platform_version':_0x202d5d[_0x30f2e9(0x1c7)](_0x103a0a[_0x30f2e9(0x1c5)])?_0x202d5d[_0x30f2e9(0x1c7)](_0x103a0a['JdPhW']):_0x103a0a[_0x30f2e9(0x1bb)](getPlatformVersion,_0x103a0a[_0x30f2e9(0x1a8)](global[_0x30f2e9(0x1e4)],_0x103a0a[_0x30f2e9(0x1d8)])),'browser':_0x202d5d[_0x30f2e9(0x1c3)](),'browser_version':_0x202d5d['getBrowserVersion'](),'session_id':_0x4174e0[_0x30f2e9(0x1ed)]()};global[_0x30f2e9(0x1e4)]?_0x39ece2[global['__cloud_provider___']]=_0x2683db:_0x39ece2[_0x103a0a[_0x30f2e9(0x1ba)]]=_0x2683db,process[_0x30f2e9(0x1c9)](_0x30f2e9(0x1ec)+process[_0x30f2e9(0x1ae)],{'timestamp':new Date()[_0x30f2e9(0x1f4)](),'level':null,'message':null,'kind':_0x103a0a[_0x30f2e9(0x1cd)],'http_response':_0x39ece2,'uuid':_0x436e58});}catch(_0x1779d2){_0x103a0a['YAeVT'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x1779d2);}},exports['getHookSkippedTests']=_0x5087c5=>{const _0x53f596=a35_0x5d4d0b,_0x24cbae={};_0x24cbae[_0x53f596(0x1ad)]=function(_0xf95151,_0x2b9a24){return _0xf95151!==_0x2b9a24;},_0x24cbae[_0x53f596(0x1de)]=_0x53f596(0x1ee),_0x24cbae[_0x53f596(0x1ce)]=_0x53f596(0x1a0),_0x24cbae['dxYfX']=function(_0x280051,_0x1c4e17){return _0x280051!==_0x1c4e17;},_0x24cbae[_0x53f596(0x1b6)]=_0x53f596(0x1d7);const _0x10eeb9=_0x24cbae,_0x2436ba=_0x5087c5['suites'][_0x53f596(0x1e8)]((_0x127ab0,_0x57f6b8)=>{const _0x179e3d=exports['getHookSkippedTests'](_0x57f6b8);return _0x179e3d&&(_0x127ab0=_0x127ab0['concat'](_0x179e3d)),_0x127ab0;},[]),_0x24c5b8=_0x5087c5[_0x53f596(0x1be)][_0x53f596(0x1f1)](_0x4c9c94=>{const _0x2a21bd=_0x53f596,_0x13bdc6=_0x10eeb9[_0x2a21bd(0x1ad)](_0x4c9c94['type'],_0x10eeb9[_0x2a21bd(0x1de)])&&!_0x4c9c94[_0x2a21bd(0x1e3)]&&_0x10eeb9[_0x2a21bd(0x1ad)](_0x4c9c94[_0x2a21bd(0x1c0)],_0x10eeb9[_0x2a21bd(0x1ce)])&&_0x10eeb9[_0x2a21bd(0x1a2)](_0x4c9c94[_0x2a21bd(0x1c0)],_0x10eeb9['IuJIl'])&&!_0x4c9c94[_0x2a21bd(0x1d1)];return _0x13bdc6;});return _0x24c5b8[_0x53f596(0x1b4)](_0x2436ba);};function a35_0x1564(_0x525a60,_0x176d62){const _0x9441ac=a35_0x9441();return a35_0x1564=function(_0x156474,_0x563b09){_0x156474=_0x156474-0x1a0;let _0x202886=_0x9441ac[_0x156474];return _0x202886;},a35_0x1564(_0x525a60,_0x176d62);}function a35_0x9441(){const _0x539cb1=['markedStatus','__cloud_provider___','../../../helpers/test-observability/constants','IkTCK','62002Mifzmx','reduce','10434080ILuMlU','kjhwW','66gxegAJ','bs:addPlatformDetails:','toJSON','hook','getCapabilities','147KZkmAg','filter','17058lVLjlC','rxMTd','toISOString','2568006NjzZQZ','../../../../package.json','passed','_afterEach','dxYfX','JXVAo','substring','split','mtEeR','push','UREyQ','getPlatform','_beforeAll','_afterAll','getHooksForTest','kzXKG','pid','fromEntries','DslyX','39iFGvEJ','indexOf','../../utils/logPatcher','concat','TEST_PLATFORM','IuJIl','655QrkabW','unknown_grid','sOMmX','qKBQu','YAeVT','LqvvB','uLHeL','tests','OdzCM','state','../../../helpers/helper','parent','getBrowserName','aBDEd','JdPhW','hookAnalyticsId','get','../../../helpers/testhub/utils','emit','browserstack','map_','uKYYz','qCynD','Kjwsk','uuid','string','pending','slice','mapTestHooks','38nHDTsk','305736xURNKA','forEach','failed','OVxuq','hLNyb','../../../helpers/test-observability/utils','12868lDQXJG','hGTuL','sendPlatformDetails','Nllwi','getSession','platformVersion','4550736CRhuxD','_beforeEach'];a35_0x9441=function(){return _0x539cb1;};return a35_0x9441();}
@@ -1 +1 @@
1
- const a36_0x2699f4=a36_0x4606;function a36_0x436c(){const _0x5144b2=['pvcfE','protocol','ydBHJ','iFkqS','saveAccessibilityResultsWithRetry','gJWBE','qsCvV','../../helpers/performance/constants','yaLyu','getCurrentUrl','isArray','executeScript','wGWch','finally','SDK_HOOK','bhQhd','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','PERFORM_SCAN','VGsVS','NRuzx','tpujs','BwYxr','KJKrN','__platformCaps','http:','WDBlb','SESSION_NAME','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','appium:app','now','fQSzc','zwFos','Failed:\x20','./test-observability/mochaUtils','percy','sessionName','12ochqoI','VZOPj','tAyaM','HFuxO','DyeVs','quitCount_','__drivers','capabilities','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','warn','Passed','hOamn',',\x22level\x22:\x20\x22','env','winstonLogger','bstackA11yShouldScan','mochaHooks','188511rTVMZY','RxHsj','startMonitoring','fpKTo','1232ShhmcY','getGlobal','ObservabilitySync:','1898726qZFNwY','../../helpers/testhub/utils','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','vJlnW','2024pRBwll','length','debug','vjdaL','vmqIU','Mocha','KcQEc','\x20|\x20','kwmYJ','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','https:','94008PplQqF','zioyS','Navms','isAccessibilityPlatform','.\x20Error\x20:','19586fJUFLu','mgcky','EHGAN','mhnNa','SWRdg','Accessibility\x20results\x20saved\x20successfully','beforeEach','format','session_','failed','NMSei','driverCleanup','thBuildUuid','afterTest','TcsJb','ENV_VAR','afterAll','VtcLR','passed','SESSION_STATUS','AAghC','err','EETsU','__error_messages__','initQuit','currentTest','start','NAlHN','setGlobal','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/helper','BsSRu','gpWwF','THrOH','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','GbaBv','../../helpers/testhub/constants','join','sessionNameSet__','performScanWithRetry','index','then','24fVAsxP','eudyz','WoZqG','SsVdy','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','dhgdD','browserstackTestName','thTestRunUuid','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','timeout','../../helpers/accessibility-automation/helper','jDRSA','EsGoY','../../helpers/percy/utils','KoBHh','kCdZA','../../helpers/accessibility-automation/accessibilityRetryHelper','Failed\x20to\x20store\x20session\x20name:\x20','PzzSV','testAnalyticsId','error','shouldScanTestForAccessibility','PWXld','2015082TzchHg','app','beforeAll','state','TzDXU','command','KdcXo','../../helpers/logger','../../helpers/globals','\x20-\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','WZXOY','SYNC','xuvhT','browserstackSessionName','accessibilityScanStarted','1032670ehuxUY','YePyj','LzBnN','../utils/constants','thJwtToken','Automate\x20test\x20case\x20execution\x20has\x20started.','titlePath','info','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','guStl','HQvWV','unxEN','percyCaptureMode','gZIFB','UNIuP','yujMD','87019nFTGgM','nvGbD','measureWrapper','ivQzk','__sessionFailed','30jAprbi','message','RDVSx','stringify','shift','JbnTU'];a36_0x436c=function(){return _0x5144b2;};return a36_0x436c();}(function(_0x43cf65,_0x5a9be6){const _0x47aeaf=a36_0x4606,_0x4b9b41=_0x43cf65();while(!![]){try{const _0x2531a0=parseInt(_0x47aeaf(0x1d2))/0x1+parseInt(_0x47aeaf(0x15b))/0x2+-parseInt(_0x47aeaf(0x154))/0x3*(parseInt(_0x47aeaf(0x143))/0x4)+parseInt(_0x47aeaf(0x1c2))/0x5*(-parseInt(_0x47aeaf(0x19a))/0x6)+-parseInt(_0x47aeaf(0x170))/0x7*(-parseInt(_0x47aeaf(0x15f))/0x8)+-parseInt(_0x47aeaf(0x1b1))/0x9*(-parseInt(_0x47aeaf(0x1d7))/0xa)+parseInt(_0x47aeaf(0x158))/0xb*(-parseInt(_0x47aeaf(0x16b))/0xc);if(_0x2531a0===_0x5a9be6)break;else _0x4b9b41['push'](_0x4b9b41['shift']());}catch(_0x4ad599){_0x4b9b41['push'](_0x4b9b41['shift']());}}}(a36_0x436c,0x7fe8b));function a36_0x4606(_0x24da52,_0x2a681d){const _0x436c77=a36_0x436c();return a36_0x4606=function(_0x4606e5,_0x1076dd){_0x4606e5=_0x4606e5-0x140;let _0x29f5e6=_0x436c77[_0x4606e5];return _0x29f5e6;},a36_0x4606(_0x24da52,_0x2a681d);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x2699f4(0x1a4)),accessibilityRetryHelper=require(a36_0x2699f4(0x1aa)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x2699f4(0x1c5)),{percyAutoCapture}=require(a36_0x2699f4(0x1a7)),{sendPlatformDetails}=require(a36_0x2699f4(0x140)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x2699f4(0x18e)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x2699f4(0x1e4)),globals=require(a36_0x2699f4(0x1b9)),logger=require(a36_0x2699f4(0x1b8))[a36_0x2699f4(0x151)],{shouldProcessEventForTesthub}=require(a36_0x2699f4(0x15c)),testHubConstants=require(a36_0x2699f4(0x194));exports[a36_0x2699f4(0x153)]={'beforeAll'(){const _0x550303=a36_0x2699f4,_0x38bcee={'KcQEc':function(_0x3e0708,_0x5274bd,_0x2bc3fa,_0x10b7ff){return _0x3e0708(_0x5274bd,_0x2bc3fa,_0x10b7ff);},'BsSRu':_0x550303(0x179),'IQbii':_0x550303(0x166),'jDRSA':function(_0x42f2ac,_0x59c8b0,_0x5a7618){return _0x42f2ac(_0x59c8b0,_0x5a7618);},'wGWch':'passed','NRuzx':function(_0xafced2){return _0xafced2();},'qsCvV':function(_0x170656,_0x54e45e,_0x100a62){return _0x170656(_0x54e45e,_0x100a62);},'ydBHJ':function(_0x48f8e4,_0xddce75,_0x18567f){return _0x48f8e4(_0xddce75,_0x18567f);},'Navms':_0x550303(0x198),'ivQzk':_0x550303(0x1b3)};PerformanceTester[_0x550303(0x156)]();const _0x3e0218='browserstack internal helper hook';PerformanceTester[_0x550303(0x1d4)](PerformanceSdkEvents[_0x550303(0x1eb)],()=>{const _0x5248e5=_0x550303,_0x1d912c={'JbnTU':function(_0x34b65a,_0x3e6726,_0x1b8b2b,_0x298045){const _0x5ee19e=a36_0x4606;return _0x38bcee[_0x5ee19e(0x165)](_0x34b65a,_0x3e6726,_0x1b8b2b,_0x298045);},'WDBlb':_0x38bcee[_0x5248e5(0x18f)],'WoZqG':_0x38bcee['IQbii'],'UIkpu':function(_0x47faad,_0x11e263,_0x59c79d){const _0x59a2eb=_0x5248e5;return _0x38bcee[_0x59a2eb(0x1a5)](_0x47faad,_0x11e263,_0x59c79d);},'fpKTo':_0x38bcee[_0x5248e5(0x1e9)],'nvGbD':function(_0x1b7336){const _0x471a8c=_0x5248e5;return _0x38bcee[_0x471a8c(0x1f0)](_0x1b7336);},'RxHsj':function(_0x5d94c1,_0x1f79d4,_0x3dfb84){const _0x2132e8=_0x5248e5;return _0x38bcee[_0x2132e8(0x1e3)](_0x5d94c1,_0x1f79d4,_0x3dfb84);}};global[_0x5248e5(0x187)]=[],global['__sessionFailed']=![],global[_0x5248e5(0x17b)]=async()=>{const _0x18f6b5=_0x5248e5;let _0x5912c4=![];try{await global[_0x18f6b5(0x149)][0x0][_0x18f6b5(0x178)],_0x5912c4=!![],global[_0x18f6b5(0x1d6)]?await _0x1d912c[_0x18f6b5(0x1dc)](markSessionStatus,global['__drivers'][0x0],_0x1d912c[_0x18f6b5(0x1f6)],global[_0x18f6b5(0x187)]['join'](_0x1d912c[_0x18f6b5(0x19c)])):await _0x1d912c['UIkpu'](markSessionStatus,global[_0x18f6b5(0x149)][0x0],_0x1d912c[_0x18f6b5(0x157)]);}catch(_0x47a7a4){logger['debug'](_0x18f6b5(0x1bc)+_0x47a7a4);}global['__error_messages__']=[],global[_0x18f6b5(0x1d6)]=![];if(_0x5912c4)try{try{_0x1d912c[_0x18f6b5(0x1d3)](shouldProcessEventForTesthub)&&(global[_0x18f6b5(0x149)][0x0]&&await _0x1d912c[_0x18f6b5(0x155)](sendPlatformDetails,global[_0x18f6b5(0x149)][0x0],this['currentTest']?this[_0x18f6b5(0x189)]['testAnalyticsId']:null));}catch(_0x42c21b){logger['debug'](_0x18f6b5(0x192)+_0x42c21b);}await global[_0x18f6b5(0x149)][0x0][_0x18f6b5(0x188)]();}catch(_0x2a62fa){logger[_0x18f6b5(0x161)](_0x18f6b5(0x18d)+_0x2a62fa);}};},{'platform':_0x38bcee[_0x550303(0x1df)](nestedKeyValue,global[_0x550303(0x1f4)],[_0x38bcee[_0x550303(0x16d)]]),'hookType':_0x38bcee[_0x550303(0x1d5)]})();},'beforeEach'(_0x8d1e9a){const _0x4557eb=a36_0x2699f4,_0x2ea935={'VtcLR':function(_0x19f041,_0x2c504b){return _0x19f041>_0x2c504b;},'EsGoY':_0x4557eb(0x1ba),'tEYlz':function(_0x58d777,_0x2147ec,_0x1678f8){return _0x58d777(_0x2147ec,_0x1678f8);},'dhgdD':_0x4557eb(0x152),'yaLyu':function(_0x4f044a){return _0x4f044a();},'IAHxq':'isAccessibilityPlatform','unxEN':function(_0x176fde,_0xab06c){return _0x176fde===_0xab06c;},'WZXOY':_0x4557eb(0x1f5),'fQSzc':_0x4557eb(0x16a),'TQfqc':_0x4557eb(0x15d),'EETsU':_0x4557eb(0x1c7),'KJKrN':function(_0x310a8a){return _0x310a8a();},'kCdZA':function(_0x5c29da){return _0x5c29da();},'HFuxO':_0x4557eb(0x1a0),'ksbSX':function(_0x52cc9f,_0x14be7a,_0x1c10e0){return _0x52cc9f(_0x14be7a,_0x1c10e0);},'AAghC':'index','NAlHN':_0x4557eb(0x176)};globals[_0x4557eb(0x18c)](_0x2ea935[_0x4557eb(0x146)],this[_0x4557eb(0x189)][_0x4557eb(0x1c8)]()['join'](_0x2ea935[_0x4557eb(0x1a6)])),PerformanceTester[_0x4557eb(0x1d4)](PerformanceSdkEvents[_0x4557eb(0x1eb)],()=>{const _0x18e00a=_0x4557eb,_0x363dde={'PWXld':function(_0x7b28d7){const _0x3cbed9=a36_0x4606;return _0x2ea935[_0x3cbed9(0x1a9)](_0x7b28d7);}},_0x33a84b='browserstack internal helper hook';new Promise(async _0x4c9f81=>{const _0x27d4c7=a36_0x4606;let _0x5f2e4f=!![];try{_0x2ea935[_0x27d4c7(0x181)](global['__drivers']['length'],0x1)&&(await global[_0x27d4c7(0x17b)](),global[_0x27d4c7(0x149)][_0x27d4c7(0x1db)]()),_0x2ea935['VtcLR'](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x5f2e4f=![],await global[_0x27d4c7(0x17b)]());}catch(_0x16fa06){logger[_0x27d4c7(0x161)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x16fa06);}try{Array[_0x27d4c7(0x1e7)](global[_0x27d4c7(0x149)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x27d4c7(0x1c0)]=this['currentTest'][_0x27d4c7(0x1c8)]()[_0x27d4c7(0x195)](_0x2ea935[_0x27d4c7(0x1a6)])),global['browserstackSessionName']=this['currentTest'][_0x27d4c7(0x1c8)]()[_0x27d4c7(0x195)](_0x2ea935[_0x27d4c7(0x1a6)]);}catch(_0x540470){logger[_0x27d4c7(0x161)](_0x27d4c7(0x1ab)+_0x540470);}this['currentTest'][_0x27d4c7(0x1af)]=_0x2ea935['tEYlz'](shouldScanTestForAccessibility,this[_0x27d4c7(0x189)]['titlePath'](),!![]),globals[_0x27d4c7(0x18c)](_0x2ea935[_0x27d4c7(0x19f)],this[_0x27d4c7(0x189)]['shouldScanTestForAccessibility']),this[_0x27d4c7(0x189)][_0x27d4c7(0x1c1)]=!![];if(_0x2ea935[_0x27d4c7(0x1e5)](isAccessibilityAutomationSession)&&_0x5f2e4f&&Array[_0x27d4c7(0x1e7)](global[_0x27d4c7(0x149)])&&_0x2ea935[_0x27d4c7(0x181)](global['__drivers'][_0x27d4c7(0x160)],0x0)&&globals['getGlobal'](_0x2ea935['IAHxq']))try{const _0x367776=await global[_0x27d4c7(0x149)][0x0][_0x27d4c7(0x178)];if(_0x367776){let _0x2b14cb=!![];const _0x46d7cc=await global[_0x27d4c7(0x149)][0x0][_0x27d4c7(0x1e6)]();let _0x3cf10e;try{_0x3cf10e=new URL(_0x46d7cc);}catch(_0x4959cc){_0x2b14cb=![];}_0x2b14cb=_0x2ea935[_0x27d4c7(0x1cd)](_0x3cf10e[_0x27d4c7(0x1de)],_0x2ea935[_0x27d4c7(0x1bd)])||_0x2ea935[_0x27d4c7(0x1cd)](_0x3cf10e[_0x27d4c7(0x1de)],_0x2ea935[_0x27d4c7(0x1fb)]),_0x2b14cb&&(this[_0x27d4c7(0x189)]['shouldScanTestForAccessibility']&&logger[_0x27d4c7(0x1c9)](_0x2ea935['TQfqc'])),this['currentTest'][_0x27d4c7(0x1c1)]=this['currentTest'][_0x27d4c7(0x1af)],this[_0x27d4c7(0x189)][_0x27d4c7(0x1af)]&&logger['info'](_0x2ea935[_0x27d4c7(0x186)]);}}catch(_0x48c751){logger[_0x27d4c7(0x1ae)](_0x27d4c7(0x1bb)+util[_0x27d4c7(0x177)](_0x48c751));}_0x2ea935[_0x27d4c7(0x1f3)](_0x4c9f81);})[_0x18e00a(0x199)](()=>{const _0x346077=_0x18e00a;_0x363dde[_0x346077(0x1b0)](_0x8d1e9a);});},{'platform':_0x2ea935['ksbSX'](nestedKeyValue,global[_0x4557eb(0x1f4)],[_0x2ea935[_0x4557eb(0x184)]]),'hookType':_0x2ea935[_0x4557eb(0x18b)]})();},'afterEach'(_0x5d64c){const _0x4e1f89=a36_0x2699f4,_0x2ccf89={'gpWwF':_0x4e1f89(0x1ba),'pSnOs':function(_0x505224,_0x5e3eac){return _0x505224>_0x5e3eac;},'GbaBv':function(_0x471d9d,_0x93ed64){return _0x471d9d===_0x93ed64;},'VZOPj':'testcase','guStl':_0x4e1f89(0x1f9),'DyeVs':function(_0x6bc826,_0xbb0146,_0x188e02,_0x581e53){return _0x6bc826(_0xbb0146,_0x188e02,_0x581e53);},'BwYxr':_0x4e1f89(0x16e),'YePyj':_0x4e1f89(0x152),'eudyz':_0x4e1f89(0x169),'ASiOh':_0x4e1f89(0x14b),'yujMD':_0x4e1f89(0x17d),'rkgMt':'Accessibility\x20scan\x20completed\x20successfully','pvcfE':_0x4e1f89(0x1a2),'zioyS':_0x4e1f89(0x175),'EHGAN':_0x4e1f89(0x1ed),'RDVSx':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','UNIuP':function(_0x5b1c0){return _0x5b1c0();},'SRols':function(_0xc45f6b,_0x5b7f94,_0xda8d1d){return _0xc45f6b(_0x5b7f94,_0xda8d1d);},'gJWBE':function(_0x54dfb8,_0x2e9b72,_0x46861e){return _0x54dfb8(_0x2e9b72,_0x46861e);},'CEjSj':_0x4e1f89(0x161),'iFkqS':function(_0xf1c244,_0x5d3252){return _0xf1c244>_0x5d3252;},'THrOH':function(_0x36334c){return _0x36334c();},'tpujs':function(_0x2efcd0,_0x49e5f0){return _0x2efcd0!==_0x49e5f0;},'zwFos':_0x4e1f89(0x182),'hOamn':function(_0x4fa0ca,_0x1b766e){return _0x4fa0ca+_0x1b766e;},'DKJPW':_0x4e1f89(0x1fd),'SWRdg':'error','vmqIU':_0x4e1f89(0x14d),'kwmYJ':_0x4e1f89(0x1c9),'TcsJb':_0x4e1f89(0x164),'TzDXU':function(_0x21e706,_0x4c0c84,_0x404778){return _0x21e706(_0x4c0c84,_0x404778);},'YXnfh':'index','mgcky':'afterEach'},_0x30545b='browserstack internal helper hook';this[_0x4e1f89(0x1a3)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2ccf89[_0x4e1f89(0x17e)]]),global[_0x4e1f89(0x142)]=this[_0x4e1f89(0x189)][_0x4e1f89(0x1c8)]()[_0x4e1f89(0x195)](_0x2ccf89['gpWwF']),PerformanceTester[_0x4e1f89(0x1d4)](PerformanceSdkEvents[_0x4e1f89(0x1eb)],()=>{const _0x177b01=_0x4e1f89,_0x59ee93={'KdcXo':function(_0x289916,_0x3646a8){const _0x5c517e=a36_0x4606;return _0x2ccf89[_0x5c517e(0x1f1)](_0x289916,_0x3646a8);},'vjdaL':_0x2ccf89[_0x177b01(0x1fc)],'gZIFB':function(_0x3241c1,_0x5b8800,_0x271bc0){const _0x38f34a=_0x177b01;return _0x2ccf89[_0x38f34a(0x1e2)](_0x3241c1,_0x5b8800,_0x271bc0);},'VGsVS':function(_0xb001b,_0x4aee27){const _0x239045=_0x177b01;return _0x2ccf89[_0x239045(0x14e)](_0xb001b,_0x4aee27);},'xuvhT':_0x2ccf89['DKJPW'],'HQvWV':_0x2ccf89[_0x177b01(0x174)],'NvgKO':_0x2ccf89[_0x177b01(0x163)],'LzBnN':_0x2ccf89[_0x177b01(0x167)],'vJlnW':function(_0x4179fa){const _0x2b769c=_0x177b01;return _0x2ccf89[_0x2b769c(0x191)](_0x4179fa);}},_0x210d60=async(_0x31568b,_0x5dd99b)=>{const _0x34ba3b=_0x177b01;await global[_0x34ba3b(0x149)][0x0][_0x34ba3b(0x1e8)](_0x34ba3b(0x1f8)+_0x31568b+_0x34ba3b(0x14f)+_0x5dd99b+'\x22}}');};new Promise(async _0x29c32e=>{const _0x344f1a=_0x177b01,_0xd3b7bf={};_0xd3b7bf['NMSei']=_0x2ccf89[_0x344f1a(0x190)];const _0x1e0f64=_0xd3b7bf;try{_0x2ccf89['pSnOs'](global['__drivers'][_0x344f1a(0x160)],0x1)&&(await global[_0x344f1a(0x17b)](),global[_0x344f1a(0x149)][_0x344f1a(0x1db)](),global[_0x344f1a(0x187)]=[],global[_0x344f1a(0x1d6)]=![]);try{if(global[_0x344f1a(0x141)]&&_0x2ccf89[_0x344f1a(0x193)](global[_0x344f1a(0x1ce)],_0x2ccf89[_0x344f1a(0x144)])&&global[_0x344f1a(0x149)][0x0]){const _0xbd09c8=_0x2ccf89['pSnOs'](global[_0x344f1a(0x14a)][_0x344f1a(0x160)],0x0)?!!global[_0x344f1a(0x14a)][0x0][_0x344f1a(0x1b2)]||!!global['capabilities'][0x0][_0x2ccf89[_0x344f1a(0x1cb)]]:![],_0x558bcf={};_0x558bcf[_0x344f1a(0x1b2)]=_0xbd09c8,await _0x2ccf89[_0x344f1a(0x147)](percyAutoCapture,global['__drivers'][0x0],_0x2ccf89[_0x344f1a(0x144)],_0x558bcf);}}catch(_0x15f920){logger[_0x344f1a(0x161)](_0x344f1a(0x168)+_0x15f920);}!global['__skipSessionName']&&(await PerformanceTester[_0x344f1a(0x1d4)](PerformanceAutEvents[_0x344f1a(0x1f7)],async()=>{const _0x14205f=_0x344f1a;await global[_0x14205f(0x149)][0x0][_0x14205f(0x1e8)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x14205f(0x1da)](this['currentTest'][_0x14205f(0x1c8)]()[_0x14205f(0x195)](_0x1e0f64[_0x14205f(0x17a)]))+'}}');})(),global[_0x344f1a(0x149)][0x0][_0x344f1a(0x196)]=!![]),await PerformanceTester[_0x344f1a(0x1d4)](PerformanceAutEvents[_0x344f1a(0x183)],async()=>{const _0x4a4673=_0x344f1a,_0x27c21c=_0x59ee93[_0x4a4673(0x1b7)](this[_0x4a4673(0x189)][_0x4a4673(0x1b4)],_0x59ee93[_0x4a4673(0x162)]);_0x27c21c?(global[_0x4a4673(0x1d6)]=!![],global[_0x4a4673(0x187)]['push'](this[_0x4a4673(0x189)][_0x4a4673(0x185)]['message']),await _0x59ee93[_0x4a4673(0x1cf)](_0x210d60,JSON[_0x4a4673(0x1da)](_0x59ee93[_0x4a4673(0x1ef)](_0x59ee93[_0x4a4673(0x1bf)],this[_0x4a4673(0x189)][_0x4a4673(0x185)][_0x4a4673(0x1d8)])),_0x59ee93[_0x4a4673(0x1cc)])):await _0x59ee93[_0x4a4673(0x1cf)](_0x210d60,JSON[_0x4a4673(0x1da)](_0x59ee93['NvgKO']),_0x59ee93[_0x4a4673(0x1c4)]);})();}catch(_0x222d96){logger[_0x344f1a(0x161)](_0x344f1a(0x1ca)+_0x222d96);}try{if(this['currentTest'][_0x344f1a(0x1c1)]&&globals[_0x344f1a(0x159)](_0x2ccf89[_0x344f1a(0x1f2)])&&globals['getGlobal'](_0x2ccf89[_0x344f1a(0x1c3)])){logger[_0x344f1a(0x1c9)](_0x2ccf89[_0x344f1a(0x19b)]);const _0x5ea65e={};_0x5ea65e[_0x344f1a(0x1a1)]=this[_0x344f1a(0x189)][_0x344f1a(0x1ad)],_0x5ea65e[_0x344f1a(0x17c)]=process[_0x344f1a(0x150)][testHubConstants[_0x344f1a(0x17f)]['BROWSERSTACK_TESTHUB_UUID']],_0x5ea65e[_0x344f1a(0x1c6)]=process[_0x344f1a(0x150)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x475e2d=_0x5ea65e;logger[_0x344f1a(0x161)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x344f1a(0x1da)](_0x475e2d)),logger['debug'](_0x2ccf89['ASiOh']);const _0x54ea48={};_0x54ea48[_0x344f1a(0x1b6)]=_0x2ccf89[_0x344f1a(0x1d1)];const _0x305f45=await PerformanceTester[_0x344f1a(0x1d4)](PerformanceA11yEvents[_0x344f1a(0x1ee)],async()=>{const _0x1f0fed=_0x344f1a;return await accessibilityRetryHelper[_0x1f0fed(0x197)](global[_0x1f0fed(0x149)][0x0],global[_0x1f0fed(0x1c0)]);},_0x54ea48)();_0x305f45?logger['debug'](_0x2ccf89['rkgMt']):logger['warn'](_0x2ccf89[_0x344f1a(0x1dd)]);const _0x15ca7f=await PerformanceTester[_0x344f1a(0x1d4)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2e78b4=_0x344f1a;return await accessibilityRetryHelper[_0x2e78b4(0x1e1)](global[_0x2e78b4(0x149)][0x0],_0x475e2d);})();_0x15ca7f?logger[_0x344f1a(0x161)](_0x2ccf89[_0x344f1a(0x16c)]):logger[_0x344f1a(0x14c)](_0x2ccf89[_0x344f1a(0x172)]),logger[_0x344f1a(0x1c9)](_0x2ccf89[_0x344f1a(0x1d9)]);}}catch(_0x175047){logger[_0x344f1a(0x1ae)](_0x344f1a(0x19e)+this['currentTest'][_0x344f1a(0x1c8)]()+_0x344f1a(0x16f),_0x175047);}try{try{if(_0x2ccf89['UNIuP'](shouldProcessEventForTesthub)){global[_0x344f1a(0x149)][0x0]&&await _0x2ccf89['SRols'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x344f1a(0x189)][_0x344f1a(0x1ad)]:null);if(_0x2ccf89[_0x344f1a(0x1d0)](isBrowserstackInfra)){PerformanceTester[_0x344f1a(0x18a)](PerformanceO11yEvents[_0x344f1a(0x1be)]);const _0x31d10b=_0x344f1a(0x15a)+Date[_0x344f1a(0x1fa)]();await _0x2ccf89[_0x344f1a(0x1e2)](_0x210d60,JSON[_0x344f1a(0x1da)](_0x31d10b),_0x2ccf89['CEjSj']),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x414a49){logger[_0x344f1a(0x161)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x414a49),PerformanceTester['end'](PerformanceO11yEvents[_0x344f1a(0x1be)],![],_0x414a49);}_0x2ccf89[_0x344f1a(0x1e0)](global[_0x344f1a(0x149)][0x0][_0x344f1a(0x148)],0x0)&&await global[_0x344f1a(0x17b)]();}catch(_0x5d878c){logger['debug'](_0x344f1a(0x18d)+_0x5d878c);}_0x2ccf89[_0x344f1a(0x191)](_0x29c32e);})[_0x177b01(0x199)](()=>{const _0x435a53=_0x177b01;_0x59ee93[_0x435a53(0x15e)](_0x5d64c);});},{'platform':_0x2ccf89[_0x4e1f89(0x1b5)](nestedKeyValue,global['__platformCaps'],[_0x2ccf89['YXnfh']]),'hookType':_0x2ccf89[_0x4e1f89(0x171)]})();},'afterAll'(_0x5e8880){const _0x6f1c6=a36_0x2699f4,_0x5bcb11={'KoBHh':function(_0x4f0b28){return _0x4f0b28();},'SsVdy':function(_0x90c550){return _0x90c550();},'tAyaM':_0x6f1c6(0x164),'HbweU':function(_0x3ad021,_0x458afd,_0x4b921a){return _0x3ad021(_0x458afd,_0x4b921a);},'mhnNa':_0x6f1c6(0x198),'PzzSV':_0x6f1c6(0x180)},_0x4eef7f='browserstack internal helper hook';this[_0x6f1c6(0x1a3)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5bcb11[_0x6f1c6(0x145)]]),PerformanceTester[_0x6f1c6(0x1d4)](PerformanceSdkEvents[_0x6f1c6(0x1eb)],()=>{const _0x166abc=_0x6f1c6,_0x642fdc={'bhQhd':function(_0xff7861){const _0x196faa=a36_0x4606;return _0x5bcb11[_0x196faa(0x19d)](_0xff7861);}};new Promise(async _0x525a7b=>{const _0x594cd2=a36_0x4606;await global[_0x594cd2(0x17b)](),_0x5bcb11[_0x594cd2(0x1a8)](_0x525a7b);})[_0x166abc(0x199)]()[_0x166abc(0x1ea)](()=>{const _0x2e4270=_0x166abc;_0x642fdc[_0x2e4270(0x1ec)](_0x5e8880);});},{'platform':_0x5bcb11['HbweU'](nestedKeyValue,global['__platformCaps'],[_0x5bcb11[_0x6f1c6(0x173)]]),'hookType':_0x5bcb11[_0x6f1c6(0x1ac)]})();}};
1
+ function a36_0x33ff(_0x53a4d8,_0xd2615d){const _0x23029c=a36_0x2302();return a36_0x33ff=function(_0x33ff8f,_0x1872a0){_0x33ff8f=_0x33ff8f-0x196;let _0x45a6cd=_0x23029c[_0x33ff8f];return _0x45a6cd;},a36_0x33ff(_0x53a4d8,_0xd2615d);}const a36_0x14b1af=a36_0x33ff;(function(_0x3ba744,_0x296dd7){const _0x81d7f4=a36_0x33ff,_0x7fbefd=_0x3ba744();while(!![]){try{const _0x3c18d1=-parseInt(_0x81d7f4(0x1e6))/0x1*(-parseInt(_0x81d7f4(0x1c4))/0x2)+-parseInt(_0x81d7f4(0x1d0))/0x3+-parseInt(_0x81d7f4(0x1a9))/0x4*(-parseInt(_0x81d7f4(0x249))/0x5)+parseInt(_0x81d7f4(0x19d))/0x6+parseInt(_0x81d7f4(0x223))/0x7*(-parseInt(_0x81d7f4(0x1b1))/0x8)+parseInt(_0x81d7f4(0x21c))/0x9*(parseInt(_0x81d7f4(0x1c3))/0xa)+-parseInt(_0x81d7f4(0x1dd))/0xb;if(_0x3c18d1===_0x296dd7)break;else _0x7fbefd['push'](_0x7fbefd['shift']());}catch(_0xb8cb81){_0x7fbefd['push'](_0x7fbefd['shift']());}}}(a36_0x2302,0x1910d));const util=require(a36_0x14b1af(0x248)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x14b1af(0x219)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x14b1af(0x24c)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x14b1af(0x1a2)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x14b1af(0x1e0)),PerformanceTester=require(a36_0x14b1af(0x1eb)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x14b1af(0x1e2)),globals=require(a36_0x14b1af(0x247)),logger=require(a36_0x14b1af(0x1da))[a36_0x14b1af(0x21f)],{shouldProcessEventForTesthub}=require(a36_0x14b1af(0x227)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0xe5e9a4=a36_0x14b1af,_0x4a6414={'YvQaV':function(_0x1ad4bd,_0x2ba538,_0x42b1dc,_0x57b387){return _0x1ad4bd(_0x2ba538,_0x42b1dc,_0x57b387);},'JCQYM':_0xe5e9a4(0x206),'bIJTy':_0xe5e9a4(0x1ea),'qALXE':function(_0x169115,_0x48ae1f,_0x72c32d){return _0x169115(_0x48ae1f,_0x72c32d);},'UBFRy':_0xe5e9a4(0x237),'XAiMR':function(_0x453cf6){return _0x453cf6();},'STfEv':function(_0x55a34c,_0x2fc4f4,_0x2d3821){return _0x55a34c(_0x2fc4f4,_0x2d3821);},'lgoRC':_0xe5e9a4(0x1f1),'zXkKt':_0xe5e9a4(0x1a8)};PerformanceTester[_0xe5e9a4(0x214)]();const _0x29b55e='browserstack internal helper hook';PerformanceTester[_0xe5e9a4(0x222)](PerformanceSdkEvents[_0xe5e9a4(0x1b8)],()=>{const _0x177159=_0xe5e9a4;global['__error_messages__']=[],global[_0x177159(0x1e5)]=![],global[_0x177159(0x231)]=async()=>{const _0x31601e=_0x177159;let _0x57c9c3=![];try{await global['__drivers'][0x0]['session_'],_0x57c9c3=!![],global[_0x31601e(0x1e5)]?await _0x4a6414['YvQaV'](markSessionStatus,global[_0x31601e(0x1fc)][0x0],_0x4a6414['JCQYM'],global[_0x31601e(0x1fd)]['join'](_0x4a6414[_0x31601e(0x23e)])):await _0x4a6414[_0x31601e(0x1f6)](markSessionStatus,global['__drivers'][0x0],_0x4a6414[_0x31601e(0x1cd)]);}catch(_0x56fd13){logger[_0x31601e(0x22e)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x56fd13);}global[_0x31601e(0x1fd)]=[],global[_0x31601e(0x1e5)]=![];if(_0x57c9c3)try{try{_0x4a6414[_0x31601e(0x1e8)](shouldProcessEventForTesthub)&&(global[_0x31601e(0x1fc)][0x0]&&await _0x4a6414['STfEv'](sendPlatformDetails,global[_0x31601e(0x1fc)][0x0],this[_0x31601e(0x24a)]?this[_0x31601e(0x24a)][_0x31601e(0x23a)]:null));}catch(_0x86bbc7){logger[_0x31601e(0x22e)](_0x31601e(0x1d1)+_0x86bbc7);}await global['__drivers'][0x0]['initQuit']();}catch(_0x37cd6b){logger[_0x31601e(0x22e)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x37cd6b);}};},{'platform':_0x4a6414[_0xe5e9a4(0x1cc)](nestedKeyValue,global['__platformCaps'],[_0x4a6414[_0xe5e9a4(0x1ad)]]),'hookType':_0x4a6414[_0xe5e9a4(0x1a5)]})();},'beforeEach'(_0x96d3b1){const _0x5e1ea3=a36_0x14b1af,_0x8094d={'NYLJO':function(_0x3607c0){return _0x3607c0();},'iKUPT':function(_0x4d202e,_0x303abd){return _0x4d202e>_0x303abd;},'utzuI':_0x5e1ea3(0x19e),'QlOaj':function(_0x589844,_0x41fdd2,_0x393847){return _0x589844(_0x41fdd2,_0x393847);},'DvhhA':_0x5e1ea3(0x1f5),'znHyg':function(_0x275940){return _0x275940();},'JMzob':_0x5e1ea3(0x1c1),'vRWMk':function(_0xc931c5,_0x440437){return _0xc931c5===_0x440437;},'INzzV':_0x5e1ea3(0x1f3),'UMyTL':'https:','ZmSLB':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AbvLg':'Automate\x20test\x20case\x20execution\x20has\x20started.','ZcZZV':_0x5e1ea3(0x243),'WUjzg':_0x5e1ea3(0x1f1),'eGjsg':'beforeEach'};globals[_0x5e1ea3(0x1c2)](_0x8094d['ZcZZV'],this[_0x5e1ea3(0x24a)][_0x5e1ea3(0x1d4)]()[_0x5e1ea3(0x23f)](_0x8094d['utzuI'])),PerformanceTester[_0x5e1ea3(0x222)](PerformanceSdkEvents[_0x5e1ea3(0x1b8)],()=>{const _0x5ebab4=_0x5e1ea3,_0x53bfd7={'GtoyM':function(_0x417f8f,_0x33a60b){return _0x8094d['iKUPT'](_0x417f8f,_0x33a60b);},'CBIWh':function(_0x1c7dfc,_0x5c625f){const _0x3ce335=a36_0x33ff;return _0x8094d[_0x3ce335(0x1ec)](_0x1c7dfc,_0x5c625f);},'KYRIi':_0x8094d[_0x5ebab4(0x1f0)],'SyBEX':function(_0x461b00,_0x18de4a,_0x27fdf8){const _0x35ee07=_0x5ebab4;return _0x8094d[_0x35ee07(0x23b)](_0x461b00,_0x18de4a,_0x27fdf8);},'moDCq':_0x8094d[_0x5ebab4(0x20b)],'GZDkL':function(_0x1b728c){const _0x2460b1=_0x5ebab4;return _0x8094d[_0x2460b1(0x210)](_0x1b728c);},'qVRpn':_0x8094d[_0x5ebab4(0x1f8)],'CBrlZ':function(_0x28f1b8,_0x131087){const _0x235447=_0x5ebab4;return _0x8094d[_0x235447(0x201)](_0x28f1b8,_0x131087);},'PccFY':_0x8094d['INzzV'],'OeCMx':function(_0x388342,_0x1bd099){const _0x5b0ee3=_0x5ebab4;return _0x8094d[_0x5b0ee3(0x201)](_0x388342,_0x1bd099);},'LZVrQ':_0x8094d[_0x5ebab4(0x1b4)],'SkYPA':_0x8094d[_0x5ebab4(0x1bd)],'RKOij':_0x8094d['AbvLg']},_0x19dfdc='browserstack internal helper hook';new Promise(async _0x3979ad=>{const _0x3997e3=_0x5ebab4;let _0x5ce061=!![];try{_0x53bfd7[_0x3997e3(0x1d5)](global[_0x3997e3(0x1fc)][_0x3997e3(0x1b9)],0x1)&&(await global[_0x3997e3(0x231)](),global[_0x3997e3(0x1fc)][_0x3997e3(0x246)]()),_0x53bfd7[_0x3997e3(0x1be)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x5ce061=![],await global[_0x3997e3(0x231)]());}catch(_0x4b61ce){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4b61ce);}try{Array['isArray'](global[_0x3997e3(0x1fc)])&&global[_0x3997e3(0x1fc)][0x0]&&(global[_0x3997e3(0x1fc)][0x0][_0x3997e3(0x1d3)]=this[_0x3997e3(0x24a)][_0x3997e3(0x1d4)]()[_0x3997e3(0x23f)](_0x53bfd7['KYRIi'])),global['browserstackSessionName']=this[_0x3997e3(0x24a)]['titlePath']()[_0x3997e3(0x23f)](_0x53bfd7[_0x3997e3(0x242)]);}catch(_0xa5386){logger[_0x3997e3(0x22e)](_0x3997e3(0x216)+_0xa5386);}this[_0x3997e3(0x24a)]['shouldScanTestForAccessibility']=_0x53bfd7[_0x3997e3(0x21d)](shouldScanTestForAccessibility,this[_0x3997e3(0x24a)][_0x3997e3(0x1d4)](),!![]),globals[_0x3997e3(0x1c2)](_0x53bfd7[_0x3997e3(0x1bc)],this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]),this[_0x3997e3(0x24a)]['accessibilityScanStarted']=!![];if(_0x53bfd7['GZDkL'](isAccessibilityAutomationSession)&&_0x5ce061&&Array[_0x3997e3(0x203)](global[_0x3997e3(0x1fc)])&&_0x53bfd7['GtoyM'](global[_0x3997e3(0x1fc)][_0x3997e3(0x1b9)],0x0)&&globals[_0x3997e3(0x22c)](_0x53bfd7[_0x3997e3(0x1ee)]))try{const _0x3ccf81=await global[_0x3997e3(0x1fc)][0x0]['session_'];if(_0x3ccf81){let _0xd0b873=!![];const _0x5e8b09=await global[_0x3997e3(0x1fc)][0x0]['getCurrentUrl']();let _0x3afdd1;try{_0x3afdd1=new URL(_0x5e8b09);}catch(_0x35780d){_0xd0b873=![];}_0xd0b873=_0x53bfd7[_0x3997e3(0x21e)](_0x3afdd1[_0x3997e3(0x1e3)],_0x53bfd7[_0x3997e3(0x212)])||_0x53bfd7[_0x3997e3(0x19c)](_0x3afdd1[_0x3997e3(0x1e3)],_0x53bfd7[_0x3997e3(0x1a7)]),_0xd0b873&&(this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]&&logger[_0x3997e3(0x235)](_0x53bfd7[_0x3997e3(0x225)])),this[_0x3997e3(0x24a)]['accessibilityScanStarted']=this[_0x3997e3(0x24a)][_0x3997e3(0x20c)],this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]&&logger[_0x3997e3(0x235)](_0x53bfd7[_0x3997e3(0x236)]);}}catch(_0x5c934b){logger[_0x3997e3(0x20f)](_0x3997e3(0x1d2)+util[_0x3997e3(0x1ca)](_0x5c934b));}_0x53bfd7[_0x3997e3(0x1b2)](_0x3979ad);})[_0x5ebab4(0x1ab)](()=>{const _0x30c4dd=_0x5ebab4;_0x8094d[_0x30c4dd(0x1e1)](_0x96d3b1);});},{'platform':_0x8094d[_0x5e1ea3(0x23b)](nestedKeyValue,global['__platformCaps'],[_0x8094d[_0x5e1ea3(0x1ac)]]),'hookType':_0x8094d[_0x5e1ea3(0x21a)]})();},'afterEach'(_0x755c4b){const _0x410d75=a36_0x14b1af,_0x3d380c={'lLQQc':_0x410d75(0x19e),'dhwDc':function(_0x4bb6bb,_0x127c10){return _0x4bb6bb>_0x127c10;},'EuDoE':function(_0x4d91b9,_0x4b95d9){return _0x4d91b9===_0x4b95d9;},'xflBF':_0x410d75(0x1ef),'DljzW':'appium:app','GLNgV':function(_0x19b46a,_0x402f72,_0x4794ce,_0xb0d48a){return _0x19b46a(_0x402f72,_0x4794ce,_0xb0d48a);},'KGJMy':_0x410d75(0x1c1),'qJwAX':'bstackA11yShouldScan','kjpza':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','fCCUd':_0x410d75(0x1ed),'yLREk':_0x410d75(0x1c9),'dZXta':'Accessibility\x20scan\x20completed\x20successfully','IQxrG':_0x410d75(0x234),'qiNEF':'Accessibility\x20results\x20saved\x20successfully','EZNZQ':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ADHso':_0x410d75(0x200),'JlVzy':function(_0x22b928){return _0x22b928();},'iimQi':function(_0xde05ed,_0x4d75fe,_0x3c9268){return _0xde05ed(_0x4d75fe,_0x3c9268);},'ToIcN':function(_0x1aec61){return _0x1aec61();},'EvSIA':function(_0x3f5971,_0x3b617d,_0x5537ce){return _0x3f5971(_0x3b617d,_0x5537ce);},'JCaLM':_0x410d75(0x22e),'FfaqV':function(_0x495050,_0x5e90a6){return _0x495050>_0x5e90a6;},'GtZwt':function(_0x3ec9cd,_0x4a3ec1){return _0x3ec9cd!==_0x4a3ec1;},'EnYWz':_0x410d75(0x237),'aHAiK':function(_0x3fa54a,_0x325688){return _0x3fa54a+_0x325688;},'zJAcG':_0x410d75(0x20a),'NjuXs':_0x410d75(0x20f),'iLiwW':_0x410d75(0x23c),'lFDpB':_0x410d75(0x235),'kQtHE':function(_0x44a5cf){return _0x44a5cf();},'pxOFh':_0x410d75(0x1c7),'tYOlF':function(_0x36415c,_0x36ae7d,_0x1a15cf){return _0x36415c(_0x36ae7d,_0x1a15cf);},'xWDOY':_0x410d75(0x1f1),'hiERi':_0x410d75(0x22a)},_0xa8833f='browserstack internal helper hook';this[_0x410d75(0x1a0)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3d380c[_0x410d75(0x1a3)]]),global[_0x410d75(0x1b0)]=this[_0x410d75(0x24a)][_0x410d75(0x1d4)]()[_0x410d75(0x23f)](_0x3d380c['lLQQc']),PerformanceTester[_0x410d75(0x222)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2f0b57=_0x410d75,_0x4208cc={'alOWz':function(_0x44ad5c,_0x1a33a2){const _0x4935e1=a36_0x33ff;return _0x3d380c[_0x4935e1(0x1ff)](_0x44ad5c,_0x1a33a2);},'hatWU':_0x3d380c[_0x2f0b57(0x207)],'oQeri':function(_0x4c0cee,_0x24cce6,_0x25dc1f){return _0x3d380c['iimQi'](_0x4c0cee,_0x24cce6,_0x25dc1f);},'jgTKd':function(_0x273395,_0x19f66d){const _0xd5ec46=_0x2f0b57;return _0x3d380c[_0xd5ec46(0x1bf)](_0x273395,_0x19f66d);},'wWlJo':_0x3d380c[_0x2f0b57(0x1d6)],'Lrsoz':_0x3d380c[_0x2f0b57(0x215)],'GfgNs':_0x3d380c['iLiwW'],'xvchB':_0x3d380c[_0x2f0b57(0x21b)],'WbiDM':function(_0xa06efb){const _0x17399d=_0x2f0b57;return _0x3d380c[_0x17399d(0x197)](_0xa06efb);}},_0x12bdd5=async(_0x4368be,_0x2b86a4)=>{const _0x4533ca=_0x2f0b57;await global[_0x4533ca(0x1fc)][0x0][_0x4533ca(0x1cb)](_0x4533ca(0x1ba)+_0x4368be+',\x22level\x22:\x20\x22'+_0x2b86a4+_0x4533ca(0x208));};new Promise(async _0x1e5fc2=>{const _0x2869ad=_0x2f0b57,_0x317021={};_0x317021[_0x2869ad(0x204)]=_0x3d380c[_0x2869ad(0x209)];const _0x69894b=_0x317021;try{_0x3d380c[_0x2869ad(0x1f9)](global['__drivers'][_0x2869ad(0x1b9)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x2869ad(0x246)](),global[_0x2869ad(0x1fd)]=[],global[_0x2869ad(0x1e5)]=![]);try{if(global[_0x2869ad(0x1b6)]&&_0x3d380c[_0x2869ad(0x226)](global[_0x2869ad(0x205)],_0x3d380c['xflBF'])&&global['__drivers'][0x0]){const _0x352ecf=_0x3d380c[_0x2869ad(0x1f9)](global[_0x2869ad(0x1a1)]['length'],0x0)?!!global[_0x2869ad(0x1a1)][0x0][_0x2869ad(0x1a6)]||!!global['capabilities'][0x0][_0x3d380c[_0x2869ad(0x1c8)]]:![],_0x552e52={};_0x552e52[_0x2869ad(0x1a6)]=_0x352ecf,await _0x3d380c[_0x2869ad(0x211)](percyAutoCapture,global[_0x2869ad(0x1fc)][0x0],_0x3d380c[_0x2869ad(0x1b3)],_0x552e52);}}catch(_0x4f8bb6){logger[_0x2869ad(0x22e)](_0x2869ad(0x233)+_0x4f8bb6);}!global[_0x2869ad(0x1e4)]&&(await PerformanceTester[_0x2869ad(0x222)](PerformanceAutEvents[_0x2869ad(0x22f)],async()=>{const _0x38c858=_0x2869ad;await global[_0x38c858(0x1fc)][0x0][_0x38c858(0x1cb)](_0x38c858(0x22d)+JSON[_0x38c858(0x1b5)](this[_0x38c858(0x24a)][_0x38c858(0x1d4)]()[_0x38c858(0x23f)](_0x69894b[_0x38c858(0x204)]))+'}}');})(),global[_0x2869ad(0x1fc)][0x0][_0x2869ad(0x1af)]=!![]),await PerformanceTester[_0x2869ad(0x222)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x56d51b=_0x2869ad,_0x520fe0=_0x4208cc[_0x56d51b(0x1e7)](this['currentTest'][_0x56d51b(0x1c6)],_0x4208cc[_0x56d51b(0x1c0)]);_0x520fe0?(global['__sessionFailed']=!![],global['__error_messages__'][_0x56d51b(0x240)](this[_0x56d51b(0x24a)]['err'][_0x56d51b(0x1dc)]),await _0x4208cc[_0x56d51b(0x232)](_0x12bdd5,JSON[_0x56d51b(0x1b5)](_0x4208cc[_0x56d51b(0x239)](_0x4208cc[_0x56d51b(0x20e)],this['currentTest'][_0x56d51b(0x19a)]['message'])),_0x4208cc[_0x56d51b(0x1a4)])):await _0x4208cc['oQeri'](_0x12bdd5,JSON[_0x56d51b(0x1b5)](_0x4208cc['GfgNs']),_0x4208cc[_0x56d51b(0x1bb)]);})();}catch(_0x3f77ae){logger[_0x2869ad(0x22e)](_0x2869ad(0x1cf)+_0x3f77ae);}try{if(this[_0x2869ad(0x24a)][_0x2869ad(0x19f)]&&globals['getGlobal'](_0x3d380c[_0x2869ad(0x229)])&&globals['getGlobal'](_0x3d380c[_0x2869ad(0x224)])){logger[_0x2869ad(0x235)](_0x3d380c[_0x2869ad(0x220)]);const _0x784593={};_0x784593[_0x2869ad(0x1db)]=this[_0x2869ad(0x24a)]['testAnalyticsId'],_0x784593[_0x2869ad(0x1d9)]=process[_0x2869ad(0x1ce)][testHubConstants[_0x2869ad(0x24b)][_0x2869ad(0x198)]],_0x784593[_0x2869ad(0x245)]=process[_0x2869ad(0x1ce)][testHubConstants[_0x2869ad(0x24b)][_0x2869ad(0x1fe)]];const _0x57cb5b=_0x784593;logger['debug'](_0x2869ad(0x1fb)+JSON[_0x2869ad(0x1b5)](_0x57cb5b)),logger['debug'](_0x3d380c[_0x2869ad(0x202)]);const _0x284b13={};_0x284b13['command']=_0x3d380c[_0x2869ad(0x1ae)];const _0x1c0035=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2869ad(0x22b)],async()=>{const _0x2c481c=_0x2869ad;return await accessibilityRetryHelper[_0x2c481c(0x1f7)](global['__drivers'][0x0],global[_0x2c481c(0x1d3)]);},_0x284b13)();_0x1c0035?logger['debug'](_0x3d380c['dZXta']):logger[_0x2869ad(0x1d7)](_0x3d380c[_0x2869ad(0x228)]);const _0x353c7e=await PerformanceTester[_0x2869ad(0x222)](PerformanceA11yEvents[_0x2869ad(0x1c5)],async()=>{const _0x238cc8=_0x2869ad;return await accessibilityRetryHelper[_0x238cc8(0x1aa)](global[_0x238cc8(0x1fc)][0x0],_0x57cb5b);})();_0x353c7e?logger['debug'](_0x3d380c['qiNEF']):logger[_0x2869ad(0x1d7)](_0x3d380c[_0x2869ad(0x1de)]),logger[_0x2869ad(0x235)](_0x3d380c[_0x2869ad(0x221)]);}}catch(_0x486877){logger[_0x2869ad(0x20f)](_0x2869ad(0x213)+this['currentTest']['titlePath']()+_0x2869ad(0x20d),_0x486877);}try{try{if(_0x3d380c['JlVzy'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x3d380c[_0x2869ad(0x1e9)](sendPlatformDetails,global[_0x2869ad(0x1fc)][0x0],this[_0x2869ad(0x24a)]?this[_0x2869ad(0x24a)][_0x2869ad(0x23a)]:null);if(_0x3d380c['ToIcN'](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x2869ad(0x1f2)]);const _0x20b37d=_0x2869ad(0x1df)+Date['now']();await _0x3d380c[_0x2869ad(0x1fa)](_0x12bdd5,JSON[_0x2869ad(0x1b5)](_0x20b37d),_0x3d380c[_0x2869ad(0x244)]),PerformanceTester[_0x2869ad(0x1d8)](PerformanceO11yEvents[_0x2869ad(0x1f2)]);}}}catch(_0x15fb34){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x15fb34),PerformanceTester[_0x2869ad(0x1d8)](PerformanceO11yEvents[_0x2869ad(0x1f2)],![],_0x15fb34);}_0x3d380c['FfaqV'](global[_0x2869ad(0x1fc)][0x0][_0x2869ad(0x1b7)],0x0)&&await global['driverCleanup']();}catch(_0x4db918){logger[_0x2869ad(0x22e)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4db918);}_0x3d380c[_0x2869ad(0x230)](_0x1e5fc2);})[_0x2f0b57(0x1ab)](()=>{const _0x31d670=_0x2f0b57;_0x4208cc[_0x31d670(0x19b)](_0x755c4b);});},{'platform':_0x3d380c[_0x410d75(0x1f4)](nestedKeyValue,global[_0x410d75(0x23d)],[_0x3d380c[_0x410d75(0x218)]]),'hookType':_0x3d380c[_0x410d75(0x217)]})();},'afterAll'(_0x53683c){const _0x4c6f38=a36_0x14b1af,_0x1420a0={'uNUCx':function(_0x5230ea){return _0x5230ea();},'NGMMr':function(_0x45933e){return _0x45933e();},'dnbvW':_0x4c6f38(0x1c7),'YSxTQ':function(_0x5c5b58,_0x19dbbd,_0x3ed513){return _0x5c5b58(_0x19dbbd,_0x3ed513);},'zgNvA':_0x4c6f38(0x1f1),'LbWaJ':'afterAll'},_0x4c12f8='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1420a0['dnbvW']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4c6f38(0x1b8)],()=>{const _0x1a5386=_0x4c6f38,_0x1ae725={'pyimF':function(_0x5e4294){const _0x56cc60=a36_0x33ff;return _0x1420a0[_0x56cc60(0x24d)](_0x5e4294);}};new Promise(async _0x381ea4=>{const _0x9d4fa=a36_0x33ff;await global[_0x9d4fa(0x231)](),_0x1ae725[_0x9d4fa(0x199)](_0x381ea4);})[_0x1a5386(0x1ab)]()[_0x1a5386(0x238)](()=>{const _0x2c8bd6=_0x1a5386;_0x1420a0[_0x2c8bd6(0x196)](_0x53683c);});},{'platform':_0x1420a0['YSxTQ'](nestedKeyValue,global['__platformCaps'],[_0x1420a0[_0x4c6f38(0x241)]]),'hookType':_0x1420a0['LbWaJ']})();}};function a36_0x2302(){const _0x9184db=['STfEv','UBFRy','env','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','422616BIfkyQ','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','browserstackSessionName','titlePath','GtoyM','zJAcG','warn','end','thBuildUuid','../../helpers/logger','thTestRunUuid','message','3461084QiFbek','EZNZQ','ObservabilitySync:','../../helpers/helper','NYLJO','../../helpers/performance/constants','protocol','__skipSessionName','__sessionFailed','1TRHVoR','alOWz','XAiMR','iimQi','\x20|\x20','../../helpers/performance/performance-tester','iKUPT','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qVRpn','testcase','utzuI','index','SYNC','http:','tYOlF','bstackA11yShouldScan','qALXE','performScanWithRetry','JMzob','dhwDc','EvSIA','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__drivers','__error_messages__','BROWSERSTACK_TESTHUB_JWT','GtZwt','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vRWMk','fCCUd','isArray','diehK','percyCaptureMode','failed','EnYWz','\x22}}','lLQQc','Failed:\x20','DvhhA','shouldScanTestForAccessibility','.\x20Error\x20:','wWlJo','error','znHyg','GLNgV','PccFY','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','startMonitoring','NjuXs','Failed\x20to\x20store\x20session\x20name:\x20','hiERi','xWDOY','../../helpers/accessibility-automation/accessibilityRetryHelper','eGjsg','lFDpB','9pOYhUV','SyBEX','CBrlZ','winstonLogger','kjpza','ADHso','measureWrapper','199731XQZkUo','qJwAX','SkYPA','EuDoE','../../helpers/testhub/utils','IQxrG','KGJMy','afterEach','PERFORM_SCAN','getGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','debug','SESSION_NAME','ToIcN','driverCleanup','oQeri','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','info','RKOij','passed','finally','jgTKd','testAnalyticsId','QlOaj','Passed','__platformCaps','bIJTy','join','push','zgNvA','KYRIi','browserstackTestName','JCaLM','thJwtToken','shift','../../helpers/globals','util','987135OVWdea','currentTest','ENV_VAR','../utils/constants','NGMMr','uNUCx','kQtHE','BROWSERSTACK_TESTHUB_UUID','pyimF','err','WbiDM','OeCMx','971526QHRdRB','\x20-\x20','accessibilityScanStarted','timeout','capabilities','./test-observability/mochaUtils','pxOFh','Lrsoz','zXkKt','app','LZVrQ','beforeAll','4zOruWx','saveAccessibilityResultsWithRetry','then','WUjzg','lgoRC','yLREk','sessionNameSet__','sessionName','56UiSuzC','GZDkL','xflBF','UMyTL','stringify','percy','quitCount_','SDK_HOOK','length','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','xvchB','moDCq','ZmSLB','CBIWh','aHAiK','hatWU','isAccessibilityPlatform','setGlobal','1990010EToUvx','399134sPHSpX','SAVE_RESULTS','state','Mocha','DljzW','afterTest','format','executeScript'];a36_0x2302=function(){return _0x9184db;};return a36_0x2302();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a37_0x38df(){const _0x328456=['filter','../utils/constants','jZmzp','JuGaX','config','child_process','402968UuXbMo','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','ibbmW','Getting\x20your\x20nightwatch\x20configs\x20from\x20','1060hxVZvA','vxCVF','findIndex','nightwatch.cmd','port','push','stringify','296408oGcasz','IJtWk','inherit','1059512kczSWr','start_process','desiredCapabilities','--config','splice','host','nightwatch.conf.js','slice','env','getPlatformName','10MheFKZ','qooBn','cwd','webdriver','nightwatch.json','../../helpers/logger','info','useW3C','child\x20process\x20exited\x20with\x20code\x20','selenium','ISWvM','existsSync','Deleting\x20','test_settings','TQELe','2223045rzgKit','mLAmP','40emIECb','qVsZw','DDtys','unlinkSync','12774LwRHBt','--env','iZlAq','24lquwfk','winstonLogger','JIcEq','NGOhX','okuWm','jvkDj','../../helpers/helper','forEach','hub.browserstack.com','close','trim','exports','modifyBrowserStackCaps','mergeDeep','TwYpa','hGudb','nightwatch','join','map','split','modifyBrowserStackW3CCaps','writeFileSync','length','test','EfBKY','3194811yniGVp','3OjpCwd','108534AhrWqS'];a37_0x38df=function(){return _0x328456;};return a37_0x38df();}const a37_0x348cea=a37_0x4c8b;(function(_0x1d59b6,_0x303c85){const _0xd4115a=a37_0x4c8b,_0x598137=_0x1d59b6();while(!![]){try{const _0x30d21a=-parseInt(_0xd4115a(0x155))/0x1+-parseInt(_0xd4115a(0x15c))/0x2+parseInt(_0xd4115a(0x154))/0x3*(parseInt(_0xd4115a(0x16a))/0x4)+parseInt(_0xd4115a(0x160))/0x5*(parseInt(_0xd4115a(0x137))/0x6)+-parseInt(_0xd4115a(0x167))/0x7*(parseInt(_0xd4115a(0x133))/0x8)+parseInt(_0xd4115a(0x153))/0x9*(-parseInt(_0xd4115a(0x174))/0xa)+-parseInt(_0xd4115a(0x131))/0xb*(-parseInt(_0xd4115a(0x13a))/0xc);if(_0x30d21a===_0x303c85)break;else _0x598137['push'](_0x598137['shift']());}catch(_0x3a2f29){_0x598137['push'](_0x598137['shift']());}}}(a37_0x38df,0x3b7f3));function a37_0x4c8b(_0x48fe8d,_0xa735ed){const _0x38dfe9=a37_0x38df();return a37_0x4c8b=function(_0x4c8b0e,_0x1434a6){_0x4c8b0e=_0x4c8b0e-0x12f;let _0x51ef97=_0x38dfe9[_0x4c8b0e];return _0x51ef97;},a37_0x4c8b(_0x48fe8d,_0xa735ed);}const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x348cea(0x15b)),logger=require(a37_0x348cea(0x179))[a37_0x348cea(0x13b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a37_0x348cea(0x140)),constants=require(a37_0x348cea(0x157)),getUserNightwatchConfigs=(_0xcb44db,_0x516c6b)=>{const _0x3754c0=a37_0x348cea,_0x43148d={'IJtWk':_0x3754c0(0x170),'ibbmW':_0x3754c0(0x178),'jZmzp':function(_0x5df9d8,_0x46e410){return _0x5df9d8(_0x46e410);},'KQUdY':_0x3754c0(0x15d)};let _0x26e2cb=null,_0x4e3423={};const _0x137f3b=_0x516c6b['findIndex'](_0x1f8192=>_0x1f8192===_0x3754c0(0x16d));if(!helper['isUndefined'](_0xcb44db[_0x3754c0(0x15a)])&&fs[_0x3754c0(0x17f)](path[_0x3754c0(0x14b)](process[_0x3754c0(0x176)](),_0xcb44db[_0x3754c0(0x15a)])))_0x26e2cb=path[_0x3754c0(0x14b)](process[_0x3754c0(0x176)](),_0xcb44db['config']),_0x516c6b[_0x3754c0(0x16e)](_0x137f3b,0x2);else{if(fs[_0x3754c0(0x17f)](path[_0x3754c0(0x14b)](process[_0x3754c0(0x176)](),_0x43148d[_0x3754c0(0x168)])))_0x26e2cb=path[_0x3754c0(0x14b)](process[_0x3754c0(0x176)](),_0x43148d[_0x3754c0(0x168)]);else fs['existsSync'](path[_0x3754c0(0x14b)](process[_0x3754c0(0x176)](),_0x43148d[_0x3754c0(0x15e)]))&&(_0x26e2cb=path[_0x3754c0(0x14b)](process[_0x3754c0(0x176)](),_0x43148d[_0x3754c0(0x15e)]));}return _0x26e2cb?(logger[_0x3754c0(0x17a)](_0x3754c0(0x15f)+_0x26e2cb),_0x4e3423=_0x43148d[_0x3754c0(0x158)](require,_0x26e2cb)):logger[_0x3754c0(0x17a)](_0x43148d['KQUdY']),_0x4e3423;},removeExistingEnvs=_0x45bff1=>{const _0x3c4f5b=a37_0x348cea,_0x1dfd15={};_0x1dfd15[_0x3c4f5b(0x134)]=function(_0x4d35e7,_0x392cb8){return _0x4d35e7>_0x392cb8;},_0x1dfd15[_0x3c4f5b(0x149)]=function(_0x2284da,_0xcce466){return _0x2284da>_0xcce466;};const _0x45cbc8=_0x1dfd15;let _0x3763ef=_0x45bff1[_0x3c4f5b(0x162)](_0x4ba356=>_0x4ba356===_0x3c4f5b(0x138));_0x45cbc8[_0x3c4f5b(0x134)](_0x3763ef,-0x1)&&_0x45bff1['splice'](_0x3763ef,0x2),_0x3763ef=_0x45bff1[_0x3c4f5b(0x162)](_0xf55f44=>_0xf55f44==='-e'),_0x45cbc8['hGudb'](_0x3763ef,-0x1)&&_0x45bff1[_0x3c4f5b(0x16e)](_0x3763ef,0x2);};function run(_0x34c699,_0x48970f,_0x39dc29){const _0x5d9dfe=a37_0x348cea,_0x108512={'JIcEq':_0x5d9dfe(0x14a),'ISWvM':function(_0x270b65,_0x377292){return _0x270b65+_0x377292;},'jvkDj':_0x5d9dfe(0x12f),'iZlAq':function(_0xac8bda,_0x56b3c9,_0x565f2d){return _0xac8bda(_0x56b3c9,_0x565f2d);},'DDtys':_0x5d9dfe(0x142),'JuGaX':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','vxCVF':function(_0x329e64,_0x318f22){return _0x329e64===_0x318f22;},'QGDgt':'nightwatch-browserstack.json','okuWm':function(_0x11269b,_0x4c1ce8){return _0x11269b(_0x4c1ce8);},'qooBn':function(_0x596b2c,_0x560b99,_0x1dedaf,_0x51193a){return _0x596b2c(_0x560b99,_0x1dedaf,_0x51193a);},'EfBKY':_0x5d9dfe(0x163),'TQELe':_0x5d9dfe(0x16d),'TwYpa':_0x5d9dfe(0x138),'mLAmP':_0x5d9dfe(0x169),'wfUio':_0x5d9dfe(0x143)};if(!_0x39dc29[_0x5d9dfe(0x15a)])return;const _0x1e7896=_0x108512[_0x5d9dfe(0x139)](getUserNightwatchConfigs,_0x34c699,_0x48970f),_0x63fe98={};_0x63fe98[_0x5d9dfe(0x16b)]=![];const _0x5be69d={};_0x5be69d[_0x5d9dfe(0x16f)]=_0x108512[_0x5d9dfe(0x135)],_0x5be69d[_0x5d9dfe(0x164)]=0x1bb;const _0x16f99e={};_0x16f99e[_0x5d9dfe(0x177)]=_0x63fe98,_0x16f99e[_0x5d9dfe(0x17d)]=_0x5be69d;const _0x34bcea=_0x16f99e;logger[_0x5d9dfe(0x17a)](_0x108512[_0x5d9dfe(0x159)]);const _0x1ab7af={..._0x1e7896},_0x1951b2=_0x1ab7af,_0x47a2f3=helper[_0x5d9dfe(0x17b)](_0x39dc29['config']),_0x4d3db3=[];_0x39dc29[_0x5d9dfe(0x15a)]['platforms']['forEach']((_0x10e823,_0x46fef0)=>{const _0x198e1c=_0x5d9dfe;_0x47a2f3?_0x4d3db3[_0x198e1c(0x165)](helper[_0x198e1c(0x14e)](_0x39dc29[_0x198e1c(0x15a)],_0x108512['JIcEq'],_0x46fef0)):_0x4d3db3[_0x198e1c(0x165)](helper[_0x198e1c(0x146)](_0x39dc29[_0x198e1c(0x15a)],_0x108512['JIcEq'],_0x46fef0));});const _0x2214f3={},_0x51335b=[];_0x34c699['env']=_0x34c699[_0x5d9dfe(0x172)]||_0x34c699['e'];const _0x5e92e7=_0x34c699[_0x5d9dfe(0x172)]?_0x34c699[_0x5d9dfe(0x172)]['trim']()[_0x5d9dfe(0x14d)](',')[_0x5d9dfe(0x14c)](_0x3daa3c=>_0x3daa3c[_0x5d9dfe(0x144)]())[_0x5d9dfe(0x156)](_0x3a6bd4=>_0x3a6bd4!==''):[''];_0x108512[_0x5d9dfe(0x161)](_0x5e92e7[_0x5d9dfe(0x150)],0x0)&&_0x5e92e7[_0x5d9dfe(0x165)]('');_0x5e92e7['forEach'](_0x2b2f36=>{const _0x29b70f=_0x5d9dfe,_0x500a55={'xsNhs':function(_0x55488a,_0x12d20d){const _0x39ac0f=a37_0x4c8b;return _0x108512[_0x39ac0f(0x17e)](_0x55488a,_0x12d20d);},'NGOhX':_0x108512[_0x29b70f(0x13f)]};_0x4d3db3[_0x29b70f(0x141)](_0x1403c4=>{const _0x3d32a1=_0x29b70f;let _0x5af5d1=_0x500a55['xsNhs'](helper[_0x3d32a1(0x173)](_0x1403c4,'_'),'_'+Date['now']());_0x2b2f36&&(_0x5af5d1+='_'+_0x2b2f36);if(_0x2b2f36&&(!_0x1e7896[_0x500a55[_0x3d32a1(0x13d)]]||!_0x1e7896[_0x500a55[_0x3d32a1(0x13d)]][_0x2b2f36]))return;const _0x4172bd={..._0x34bcea};_0x4172bd[_0x3d32a1(0x16c)]=_0x1403c4;const _0x42fc9a=_0x4172bd;_0x2214f3[_0x5af5d1]=_0x2b2f36?helper[_0x3d32a1(0x147)](_0x1e7896[_0x500a55[_0x3d32a1(0x13d)]][_0x2b2f36],_0x42fc9a):_0x42fc9a,_0x51335b[_0x3d32a1(0x165)](_0x5af5d1);});});!_0x1951b2[_0x5d9dfe(0x12f)]&&(_0x1951b2[_0x5d9dfe(0x12f)]={});_0x1951b2[_0x5d9dfe(0x12f)]={..._0x1951b2['test_settings'],..._0x2214f3};const _0x2bcd92=path[_0x5d9dfe(0x14b)](__dirname,_0x108512['QGDgt']);fs[_0x5d9dfe(0x14f)](_0x2bcd92,JSON[_0x5d9dfe(0x166)](_0x1951b2)),_0x108512[_0x5d9dfe(0x13e)](removeExistingEnvs,_0x48970f);const _0x3daa80=_0x108512[_0x5d9dfe(0x175)](spawn,/^win/[_0x5d9dfe(0x151)](process['platform'])?_0x108512[_0x5d9dfe(0x152)]:_0x108512[_0x5d9dfe(0x13c)],[_0x108512[_0x5d9dfe(0x130)],_0x2bcd92,..._0x48970f[_0x5d9dfe(0x171)](0x1),_0x108512[_0x5d9dfe(0x148)],_0x51335b['join'](',')],{'stdio':_0x108512[_0x5d9dfe(0x132)]});_0x3daa80['on'](_0x108512['wfUio'],async _0x50c966=>{const _0x267e4=_0x5d9dfe;logger['debug'](_0x267e4(0x17c)+_0x50c966),logger[_0x267e4(0x17a)](_0x267e4(0x180)+_0x2bcd92),fs[_0x267e4(0x136)](_0x2bcd92);});}module[a37_0x348cea(0x145)]=run;
2
+ 'use strict';const a37_0x1b3dbf=a37_0x3844;(function(_0x1e4a13,_0x1567c){const _0xbd3078=a37_0x3844,_0x5520ce=_0x1e4a13();while(!![]){try{const _0x119bb7=parseInt(_0xbd3078(0x1b5))/0x1+-parseInt(_0xbd3078(0x1da))/0x2*(parseInt(_0xbd3078(0x19e))/0x3)+parseInt(_0xbd3078(0x19f))/0x4+-parseInt(_0xbd3078(0x1d5))/0x5+-parseInt(_0xbd3078(0x19b))/0x6+-parseInt(_0xbd3078(0x1ba))/0x7*(parseInt(_0xbd3078(0x195))/0x8)+parseInt(_0xbd3078(0x1d1))/0x9*(parseInt(_0xbd3078(0x1bc))/0xa);if(_0x119bb7===_0x1567c)break;else _0x5520ce['push'](_0x5520ce['shift']());}catch(_0x29f185){_0x5520ce['push'](_0x5520ce['shift']());}}}(a37_0x4c64,0x6a81f));function a37_0x4c64(){const _0x2bd628=['yIukS','info','FpNJU','host','../utils/constants','dCzAg','UoHNs','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Getting\x20your\x20nightwatch\x20configs\x20from\x20','ctoFD','start_process','webdriver','env','split','tOfbe','findIndex','wdkqR','desiredCapabilities','507163CIYPLl','writeFileSync','now','join','stringify','7DCGYQj','test','2412020QyBcRe','winstonLogger','test_settings','trim','port','forEach','rLJLz','close','inherit','ixPWV','AEMqg','ikywS','platform','cpSqJ','length','isUndefined','cwd','../../helpers/logger','Deleting\x20','child\x20process\x20exited\x20with\x20code\x20','modifyBrowserStackW3CCaps','36kWikxS','config','existsSync','push','3399170ASSMiW','BhhHC','../../helpers/helper','splice','fwjwv','2uIkCLi','MHwah','nightwatch.cmd','RffZe','unlinkSync','path','slice','2749712nIimhP','getPlatformName','iDsot','fEZBx','NxjEX','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','489726HCldWJ','selenium','nightwatch.conf.js','1264299pnmovc','1963544vipqfm','--config','filter','modifyBrowserStackCaps'];a37_0x4c64=function(){return _0x2bd628;};return a37_0x4c64();}const fs=require('fs'),path=require(a37_0x1b3dbf(0x193)),{spawn}=require('child_process'),logger=require(a37_0x1b3dbf(0x1cd))[a37_0x1b3dbf(0x1bd)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a37_0x1b3dbf(0x1d7)),constants=require(a37_0x1b3dbf(0x1a7)),getUserNightwatchConfigs=(_0x3a25db,_0x399b0c)=>{const _0x3cf260=a37_0x1b3dbf,_0x44e892={'iDsot':_0x3cf260(0x19d),'ixPWV':'nightwatch.json','yIukS':function(_0x4d4b84,_0x562f19){return _0x4d4b84(_0x562f19);},'AEMqg':_0x3cf260(0x19a)};let _0x19707f=null,_0x4701c4={};const _0x161503=_0x399b0c[_0x3cf260(0x1b2)](_0x162223=>_0x162223===_0x3cf260(0x1a0));if(!helper[_0x3cf260(0x1cb)](_0x3a25db[_0x3cf260(0x1d2)])&&fs['existsSync'](path['join'](process[_0x3cf260(0x1cc)](),_0x3a25db['config'])))_0x19707f=path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x3a25db[_0x3cf260(0x1d2)]),_0x399b0c[_0x3cf260(0x1d8)](_0x161503,0x2);else{if(fs[_0x3cf260(0x1d3)](path[_0x3cf260(0x1b8)](process['cwd'](),_0x44e892[_0x3cf260(0x197)])))_0x19707f=path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x44e892[_0x3cf260(0x197)]);else fs[_0x3cf260(0x1d3)](path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x44e892[_0x3cf260(0x1c5)]))&&(_0x19707f=path[_0x3cf260(0x1b8)](process[_0x3cf260(0x1cc)](),_0x44e892[_0x3cf260(0x1c5)]));}return _0x19707f?(logger[_0x3cf260(0x1a4)](_0x3cf260(0x1ab)+_0x19707f),_0x4701c4=_0x44e892[_0x3cf260(0x1a3)](require,_0x19707f)):logger[_0x3cf260(0x1a4)](_0x44e892[_0x3cf260(0x1c6)]),_0x4701c4;},removeExistingEnvs=_0x25184a=>{const _0x2e1f4e=a37_0x1b3dbf,_0x4287fe={};_0x4287fe[_0x2e1f4e(0x1c2)]=function(_0x132d57,_0x35738f){return _0x132d57>_0x35738f;};const _0xc63f74=_0x4287fe;let _0x18cdc1=_0x25184a[_0x2e1f4e(0x1b2)](_0x616a80=>_0x616a80==='--env');_0xc63f74[_0x2e1f4e(0x1c2)](_0x18cdc1,-0x1)&&_0x25184a['splice'](_0x18cdc1,0x2),_0x18cdc1=_0x25184a[_0x2e1f4e(0x1b2)](_0x461284=>_0x461284==='-e'),_0xc63f74['rLJLz'](_0x18cdc1,-0x1)&&_0x25184a[_0x2e1f4e(0x1d8)](_0x18cdc1,0x2);};function run(_0x285906,_0x2eee8b,_0x554f95){const _0x4aa22c=a37_0x1b3dbf,_0x22a889={'BhhHC':'nightwatch','dCzAg':function(_0x4b1ebe,_0x18a1eb){return _0x4b1ebe+_0x18a1eb;},'NxjEX':_0x4aa22c(0x1be),'fwjwv':function(_0x42ef11,_0x300d46,_0x391663){return _0x42ef11(_0x300d46,_0x391663);},'cpSqJ':'hub.browserstack.com','ikywS':_0x4aa22c(0x1aa),'tVNAq':function(_0x3174cd,_0x568d5a){return _0x3174cd===_0x568d5a;},'BtHRu':'nightwatch-browserstack.json','RffZe':function(_0x3d99e2,_0x372e02){return _0x3d99e2(_0x372e02);},'ctoFD':function(_0x5eb66b,_0x1d9172,_0x266549,_0x8d1057){return _0x5eb66b(_0x1d9172,_0x266549,_0x8d1057);},'wdkqR':_0x4aa22c(0x190),'BTEuV':_0x4aa22c(0x1a0),'UoHNs':'--env','FpNJU':_0x4aa22c(0x1c4),'fEZBx':_0x4aa22c(0x1c3)};if(!_0x554f95[_0x4aa22c(0x1d2)])return;const _0x2bb308=_0x22a889[_0x4aa22c(0x1d9)](getUserNightwatchConfigs,_0x285906,_0x2eee8b),_0x43a07c={};_0x43a07c[_0x4aa22c(0x1ad)]=![];const _0xbd4205={};_0xbd4205[_0x4aa22c(0x1a6)]=_0x22a889[_0x4aa22c(0x1c9)],_0xbd4205[_0x4aa22c(0x1c0)]=0x1bb;const _0x48e503={};_0x48e503[_0x4aa22c(0x1ae)]=_0x43a07c,_0x48e503[_0x4aa22c(0x19c)]=_0xbd4205;const _0x24ef7e=_0x48e503;logger[_0x4aa22c(0x1a4)](_0x22a889[_0x4aa22c(0x1c7)]);const _0x56c976={..._0x2bb308},_0x28af38=_0x56c976,_0x50b275=helper['useW3C'](_0x554f95[_0x4aa22c(0x1d2)]),_0x342846=[];_0x554f95[_0x4aa22c(0x1d2)]['platforms'][_0x4aa22c(0x1c1)]((_0x476b13,_0x35a9b1)=>{const _0x3d6691=_0x4aa22c;_0x50b275?_0x342846['push'](helper[_0x3d6691(0x1d0)](_0x554f95[_0x3d6691(0x1d2)],_0x22a889['BhhHC'],_0x35a9b1)):_0x342846[_0x3d6691(0x1d4)](helper[_0x3d6691(0x1a2)](_0x554f95[_0x3d6691(0x1d2)],_0x22a889[_0x3d6691(0x1d6)],_0x35a9b1));});const _0x43cb5b={},_0x44099f=[];_0x285906[_0x4aa22c(0x1af)]=_0x285906[_0x4aa22c(0x1af)]||_0x285906['e'];const _0x32eef9=_0x285906[_0x4aa22c(0x1af)]?_0x285906['env'][_0x4aa22c(0x1bf)]()[_0x4aa22c(0x1b0)](',')['map'](_0x4d3a0e=>_0x4d3a0e[_0x4aa22c(0x1bf)]())[_0x4aa22c(0x1a1)](_0x51d782=>_0x51d782!==''):[''];_0x22a889['tVNAq'](_0x32eef9[_0x4aa22c(0x1ca)],0x0)&&_0x32eef9[_0x4aa22c(0x1d4)]('');_0x32eef9[_0x4aa22c(0x1c1)](_0xaa4fd9=>{const _0x508911=_0x4aa22c,_0x1980e={'tOfbe':function(_0x150f35,_0x1eaa0d){const _0x57b28c=a37_0x3844;return _0x22a889[_0x57b28c(0x1a8)](_0x150f35,_0x1eaa0d);},'MHwah':_0x22a889[_0x508911(0x199)]};_0x342846['forEach'](_0x29f2fe=>{const _0x473cbf=_0x508911;let _0xebacdd=_0x1980e[_0x473cbf(0x1b1)](helper[_0x473cbf(0x196)](_0x29f2fe,'_'),'_'+Date[_0x473cbf(0x1b7)]());_0xaa4fd9&&(_0xebacdd+='_'+_0xaa4fd9);if(_0xaa4fd9&&(!_0x2bb308[_0x1980e[_0x473cbf(0x18f)]]||!_0x2bb308[_0x1980e['MHwah']][_0xaa4fd9]))return;const _0x583d10={..._0x24ef7e};_0x583d10[_0x473cbf(0x1b4)]=_0x29f2fe;const _0x2bd90a=_0x583d10;_0x43cb5b[_0xebacdd]=_0xaa4fd9?helper['mergeDeep'](_0x2bb308[_0x1980e[_0x473cbf(0x18f)]][_0xaa4fd9],_0x2bd90a):_0x2bd90a,_0x44099f['push'](_0xebacdd);});});!_0x28af38['test_settings']&&(_0x28af38['test_settings']={});_0x28af38['test_settings']={..._0x28af38['test_settings'],..._0x43cb5b};const _0x36e801=path[_0x4aa22c(0x1b8)](__dirname,_0x22a889['BtHRu']);fs[_0x4aa22c(0x1b6)](_0x36e801,JSON[_0x4aa22c(0x1b9)](_0x28af38)),_0x22a889[_0x4aa22c(0x191)](removeExistingEnvs,_0x2eee8b);const _0x242ada=_0x22a889[_0x4aa22c(0x1ac)](spawn,/^win/[_0x4aa22c(0x1bb)](process[_0x4aa22c(0x1c8)])?_0x22a889[_0x4aa22c(0x1b3)]:_0x22a889[_0x4aa22c(0x1d6)],[_0x22a889['BTEuV'],_0x36e801,..._0x2eee8b[_0x4aa22c(0x194)](0x1),_0x22a889[_0x4aa22c(0x1a9)],_0x44099f[_0x4aa22c(0x1b8)](',')],{'stdio':_0x22a889[_0x4aa22c(0x1a5)]});_0x242ada['on'](_0x22a889[_0x4aa22c(0x198)],async _0x2286b6=>{const _0x35afcb=_0x4aa22c;logger['debug'](_0x35afcb(0x1cf)+_0x2286b6),logger[_0x35afcb(0x1a4)](_0x35afcb(0x1ce)+_0x36e801),fs[_0x35afcb(0x192)](_0x36e801);});}function a37_0x3844(_0x2e6b98,_0x1e2abc){const _0x4c642e=a37_0x4c64();return a37_0x3844=function(_0x3844f4,_0x26897f){_0x3844f4=_0x3844f4-0x18f;let _0x364587=_0x4c642e[_0x3844f4];return _0x364587;},a37_0x3844(_0x2e6b98,_0x1e2abc);}module['exports']=run;
@@ -1 +1 @@
1
- const a38_0x332972=a38_0x5aac;function a38_0x5aac(_0x351b7c,_0x1ea0a0){const _0x48e90c=a38_0x48e9();return a38_0x5aac=function(_0x5aac8d,_0xa73939){_0x5aac8d=_0x5aac8d-0xed;let _0x517f6e=_0x48e90c[_0x5aac8d];return _0x517f6e;},a38_0x5aac(_0x351b7c,_0x1ea0a0);}(function(_0x167b65,_0x294216){const _0x505407=a38_0x5aac,_0x48b63a=_0x167b65();while(!![]){try{const _0x4c394=parseInt(_0x505407(0xf4))/0x1*(-parseInt(_0x505407(0xf6))/0x2)+-parseInt(_0x505407(0x10d))/0x3+-parseInt(_0x505407(0x160))/0x4*(-parseInt(_0x505407(0x14f))/0x5)+parseInt(_0x505407(0x13c))/0x6+-parseInt(_0x505407(0x11c))/0x7*(parseInt(_0x505407(0x116))/0x8)+-parseInt(_0x505407(0x152))/0x9*(parseInt(_0x505407(0x111))/0xa)+parseInt(_0x505407(0x153))/0xb;if(_0x4c394===_0x294216)break;else _0x48b63a['push'](_0x48b63a['shift']());}catch(_0x12f463){_0x48b63a['push'](_0x48b63a['shift']());}}}(a38_0x48e9,0xc3d02));function a38_0x48e9(){const _0x5e9ec4=['url','YfFUW','parse','szyYz','latest','422184JZDgTQ','currentTest','accessibilityOptions.authToken','qwmwy','__workerDetails','workerInfo','PERFORM_SCAN','No\x20accessibility\x20results\x20were\x20found.','QLQBS','wsEndpoint','replace','\x20page:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../helpers/helper','IudFk','YfWkO','testInfo','../../helpers/logger','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','5boAldQ','dtdEI','rosKY','9kjpaHj','34931655PxlsvO','No\x20summaryResults\x20found.','wcagVersion','browserStackEvaluate','VDNxc','PMjHd','(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','ZyIso','warn','OUoWh','getAccessibilityResults','epAzI','GiohX','3949672LfPfCY','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NQMIJ','wimhA','yIOdN','platformValidation','includeIssueType','../../helpers/performance/performance-tester','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','SKQrX','../../helpers/accessibility-automation/scripts','(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','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','7156eNZoQK','performScan','298PXrehM','JMkzA','VyUnL','WebDriver','Tbebt','format','chromium','NRVMM','browser','BS_A11Y_JWT','constructor','htZfY','includes','browser_version','getAccessibilityResultsSummary','../../helpers/performance/constants','connectOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','scannerProcessingTimeout','TfdVW','mZmRa','measureWrapper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','3156834dVhQGm','stringify','processAccessibilityCaps','error','7494650AFayof','needsReview','qKeUa','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browserstack.accessibility','2253400aiLYBM','winstonLogger','bstackSdkArgs','YVtQY','OHwYm','JDTzI','14SCLlFh','AXTXR','Playwright','accessibilityOptions','xdKvu','debug','evaluate','use','lZFlN','Performing\x20scan\x20with\x20method:\x20','JdHpf','SAGJK','accessibilityOptions.scannerVersion','NoKzs','gKQne','gsCqe','env','SeEHQ','DkxHz','../../helpers/accessibility-automation/helper','hXnRy','rMRCu','chrome','accessibilityOptions.includeIssueType.bestPractice','playwright-chromium','accessibilityPlatform','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'];a38_0x48e9=function(){return _0x5e9ec4;};return a38_0x48e9();}const util=require('util'),logger=require(a38_0x332972(0x14d))[a38_0x332972(0x117)],{isAccessibilityAutomationSession}=require(a38_0x332972(0x12f)),{isUndefined,isBrowserstackInfra}=require(a38_0x332972(0x149)),scripts=require(a38_0x332972(0xf0)),PerformanceTester=require(a38_0x332972(0xed)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x332972(0x105));exports[a38_0x332972(0x156)]=async(_0x549353,_0x15981f,_0x589edb={})=>{const _0x4269a0=a38_0x332972,_0x18eb52={};_0x18eb52[_0x4269a0(0x14a)]=_0x4269a0(0x118);const _0x52d432=_0x18eb52;return await _0x549353[_0x4269a0(0x122)](_0x4269a0(0x159)+_0x15981f[_0x4269a0(0x146)](/arguments/g,_0x52d432[_0x4269a0(0x14a)])+_0x4269a0(0xf2)+JSON[_0x4269a0(0x10e)](_0x589edb)+')');},exports['browserStackExecuteDriver']=async(_0x3dbf67,_0x25238e,_0x19fa67={})=>{const _0x3cbead=a38_0x332972,_0xf8c3ad={};_0xf8c3ad[_0x3cbead(0x15f)]=function(_0xf4e15a,_0x294c9b){return _0xf4e15a===_0x294c9b;},_0xf8c3ad[_0x3cbead(0x124)]=_0x3cbead(0xf9),_0xf8c3ad[_0x3cbead(0x15a)]=_0x3cbead(0x11e),_0xf8c3ad['NoKzs']=_0x3cbead(0x118);const _0x177b1a=_0xf8c3ad;if(_0x177b1a['GiohX'](_0x3dbf67[_0x3cbead(0x100)]['name'],_0x177b1a[_0x3cbead(0x124)]))return await _0x3dbf67['executeAsyncScript'](_0x25238e,_0x19fa67);else{if(_0x177b1a[_0x3cbead(0x15f)](_0x3dbf67['constructor']['name'],_0x177b1a['ZyIso']))return await _0x3dbf67['executeScript'](_0x3cbead(0xf1)+_0x25238e['replace'](/arguments/g,_0x177b1a[_0x3cbead(0x129)])+_0x3cbead(0x14e)+JSON[_0x3cbead(0x10e)](_0x19fa67)+')');}},exports['setAccessibilityCapabilities']=async _0x4a82fa=>{const _0x65adfa=a38_0x332972,_0x296ae5={};_0x296ae5[_0x65adfa(0xf7)]='accessibilityOptions.wcagVersion',_0x296ae5[_0x65adfa(0x12d)]='accessibilityOptions.scannerProcessingTimeout',_0x296ae5[_0x65adfa(0x101)]=_0x65adfa(0x133),_0x296ae5[_0x65adfa(0x109)]='accessibilityOptions.includeIssueType.needsReview',_0x296ae5[_0x65adfa(0xfa)]=_0x65adfa(0x13e),_0x296ae5[_0x65adfa(0x13f)]=_0x65adfa(0x128);const _0x5bd82a=_0x296ae5;_0x4a82fa[_0x65adfa(0x11f)]&&(_0x4a82fa[_0x65adfa(0x11f)][_0x65adfa(0x155)]&&(_0x4a82fa[_0x5bd82a[_0x65adfa(0xf7)]]=_0x4a82fa[_0x65adfa(0x11f)][_0x65adfa(0x155)]),_0x4a82fa[_0x65adfa(0x11f)][_0x65adfa(0x108)]&&(_0x4a82fa[_0x5bd82a[_0x65adfa(0x12d)]]=_0x4a82fa['accessibilityOptions']['scannerProcessingTimeout']),_0x4a82fa['accessibilityOptions']['includeIssueType']&&(_0x4a82fa[_0x5bd82a[_0x65adfa(0x101)]]=_0x4a82fa[_0x65adfa(0x11f)][_0x65adfa(0x166)]['bestPractice'],_0x4a82fa[_0x5bd82a['TfdVW']]=_0x4a82fa[_0x65adfa(0x11f)]['includeIssueType'][_0x65adfa(0x112)]));const _0x1080da=JSON[_0x65adfa(0x139)](process[_0x65adfa(0x12c)][_0x65adfa(0x161)])['scannerVersion'];_0x4a82fa[_0x5bd82a['Tbebt']]=process[_0x65adfa(0x12c)][_0x65adfa(0xff)],_0x4a82fa[_0x5bd82a['qwmwy']]=_0x1080da,delete _0x4a82fa[_0x65adfa(0x11f)];},exports[a38_0x332972(0x15d)]=async _0x44c526=>{const _0x5b85c7=a38_0x332972,_0x58fd04={};_0x58fd04[_0x5b85c7(0x131)]=_0x5b85c7(0x143),_0x58fd04[_0x5b85c7(0x12a)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x1e58fd=_0x58fd04;if(global[_0x5b85c7(0x135)])try{const details={'url':await _0x44c526.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(_0x44c526,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x44c526,scripts.getResults);},{...details})();return res;}catch{return logger[_0x5b85c7(0x110)](_0x1e58fd['rMRCu']),[];}else return logger['warn'](_0x1e58fd[_0x5b85c7(0x12a)]),[];},exports[a38_0x332972(0xf5)]=async(_0xa844ce,_0xc5ab9b='')=>{const _0x11aa04=a38_0x332972;logger[_0x11aa04(0x121)](_0x11aa04(0x125)+_0xc5ab9b+_0x11aa04(0x147)+_0xa844ce);const _0x394489={'url':await _0xa844ce[_0x11aa04(0x137)](),'testhub_btcer_uuid':global[_0x11aa04(0x140)]?.[_0x11aa04(0x13d)]?.['id']};if(global[_0x11aa04(0x135)])return await PerformanceTester[_0x11aa04(0x10b)](PerformanceA11yEvents[_0x11aa04(0x142)],async()=>{const _0x47a2d6=_0x11aa04,_0x101939={};_0x101939['command']=_0xc5ab9b;const _0x558081=await exports[_0x47a2d6(0x156)](_0xa844ce,scripts[_0x47a2d6(0xf5)],_0x101939);return _0x558081;},{'command':_0xc5ab9b,..._0x394489})();},exports[a38_0x332972(0x104)]=async _0x27145a=>{const _0x1fd2dc=a38_0x332972,_0x27327a={};_0x27327a[_0x1fd2dc(0x10a)]=_0x1fd2dc(0x154),_0x27327a[_0x1fd2dc(0x12e)]=_0x1fd2dc(0xf3);const _0x19ed38=_0x27327a;if(global[_0x1fd2dc(0x135)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x27145a,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x27145a,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x19ed38[_0x1fd2dc(0x10a)]),{};}else return logger[_0x1fd2dc(0x15b)](_0x19ed38[_0x1fd2dc(0x12e)]),{};},exports[a38_0x332972(0x165)]=async _0x431aff=>{const _0x5d7c56=a38_0x332972,_0x118ebc={'SKQrX':function(_0x3990a0,_0x26db16){return _0x3990a0!==_0x26db16;},'LEWPx':_0x5d7c56(0x107),'CHBLN':_0x5d7c56(0x132),'dtdEI':_0x5d7c56(0x134),'epAzI':_0x5d7c56(0xfc),'rosKY':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','NQMIJ':function(_0x527d1a,_0x102dab){return _0x527d1a(_0x102dab);},'wimhA':function(_0x1bcdbc){return _0x1bcdbc();},'yIOdN':function(_0x2a46d4,_0x4516a8){return _0x2a46d4<_0x4516a8;},'VDNxc':_0x5d7c56(0xee),'NRVMM':function(_0x3419a1,_0x76f3ac){return _0x3419a1===_0x76f3ac;},'Rqupd':'latest','xdKvu':function(_0x425865,_0xcf25a4){return _0x425865>_0xcf25a4;},'gsCqe':_0x5d7c56(0x148)};try{if(!_0x118ebc[_0x5d7c56(0xef)](_0x431aff['deviceName'],''))return logger[_0x5d7c56(0x15b)](_0x118ebc['LEWPx']),![];const _0x18d509=_0x431aff['browser'];if(![_0x118ebc['CHBLN'],_0x118ebc[_0x5d7c56(0x150)],_0x118ebc[_0x5d7c56(0x15e)]][_0x5d7c56(0x102)](_0x18d509))return logger[_0x5d7c56(0x15b)](_0x118ebc[_0x5d7c56(0x151)]),![];const _0x2ba9f3=_0x118ebc[_0x5d7c56(0x162)](parseInt,_0x431aff[_0x5d7c56(0x103)]);!_0x118ebc[_0x5d7c56(0x163)](isBrowserstackInfra)&&(!_0x118ebc[_0x5d7c56(0x164)](_0x2ba9f3,0x64)&&logger[_0x5d7c56(0x15b)](_0x118ebc[_0x5d7c56(0x157)]));if(!(_0x118ebc[_0x5d7c56(0xfd)](_0x2ba9f3,_0x118ebc['Rqupd'])||_0x118ebc[_0x5d7c56(0x120)](_0x2ba9f3,0x5e)))return logger[_0x5d7c56(0x15b)](_0x118ebc[_0x5d7c56(0x12b)]),![];}catch(_0x395c4a){logger[_0x5d7c56(0x121)](_0x5d7c56(0x136)+util[_0x5d7c56(0xfb)](_0x395c4a));}return!![];},exports[a38_0x332972(0x10f)]=(_0x4aeb4b,_0x33a706,_0x29e92a)=>{const _0x4a1019=a38_0x332972,_0x3d13d6={'PMjHd':function(_0x5a5910){return _0x5a5910();},'JdHpf':_0x4a1019(0x115),'QLQBS':function(_0x38a6a5,_0x53d080){return _0x38a6a5===_0x53d080;},'YfFUW':_0x4a1019(0x132),'SAGJK':function(_0x2f4e19,_0x3e032a){return _0x2f4e19===_0x3e032a;},'AXTXR':_0x4a1019(0x134),'YVtQY':function(_0x5dae0c,_0xf682e8){return _0x5dae0c===_0xf682e8;},'OHwYm':function(_0x2562eb,_0x1ac169){return _0x2562eb===_0x1ac169;},'YfWkO':_0x4a1019(0x10c),'RmoMU':function(_0x28af14,_0x31a748){return _0x28af14>_0x31a748;},'JDTzI':_0x4a1019(0xee),'uvyMT':function(_0x5730bb,_0x2aa9fc){return _0x5730bb===_0x2aa9fc;},'qKeUa':_0x4a1019(0x13b),'ZlIad':_0x4a1019(0x148),'OUoWh':function(_0x59eee6,_0xd1bc14){return _0x59eee6(_0xd1bc14);},'szyYz':_0x4a1019(0x107),'VyUnL':function(_0x5efbaf,_0x401c7a){return _0x5efbaf+_0x401c7a;},'hXnRy':function(_0x64b48f,_0x2c32d8){return _0x64b48f(_0x2c32d8);}};try{if(_0x3d13d6[_0x4a1019(0x158)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x4aeb4b[_0x3d13d6[_0x4a1019(0x126)]]&&(global[_0x4a1019(0x135)]=![]);!(_0x3d13d6[_0x4a1019(0x144)](_0x4aeb4b['browserName'],_0x3d13d6[_0x4a1019(0x138)])||_0x3d13d6[_0x4a1019(0x127)](_0x4aeb4b['browserName'],_0x3d13d6[_0x4a1019(0x11d)])||_0x3d13d6[_0x4a1019(0x119)](_0x4aeb4b[_0x4a1019(0xfe)],_0x3d13d6[_0x4a1019(0x138)])||_0x3d13d6[_0x4a1019(0x11a)](_0x4aeb4b['browser'],_0x3d13d6['AXTXR']))&&(logger['warn'](_0x3d13d6[_0x4a1019(0x14b)]),global[_0x4a1019(0x135)]=![]);!_0x3d13d6['PMjHd'](isBrowserstackInfra)&&(!_0x3d13d6['RmoMU'](_0x4aeb4b[_0x4a1019(0x103)],0x64)&&logger[_0x4a1019(0x15b)](_0x3d13d6[_0x4a1019(0x11b)]));!(_0x3d13d6['uvyMT'](_0x4aeb4b[_0x4a1019(0x103)],_0x3d13d6[_0x4a1019(0x113)])||_0x3d13d6['RmoMU'](_0x4aeb4b[_0x4a1019(0x103)],0x5e))&&(logger['warn'](_0x3d13d6['ZlIad']),global[_0x4a1019(0x135)]=![]);!_0x3d13d6[_0x4a1019(0x15c)](isUndefined,_0x4aeb4b['deviceName'])&&(logger['warn'](_0x3d13d6[_0x4a1019(0x13a)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x4aeb4b[_0x3d13d6[_0x4a1019(0x126)]]=![];const _0x4160a8=_0x3d13d6[_0x4a1019(0xf8)](_0x33a706,_0x3d13d6[_0x4a1019(0x130)](encodeURIComponent,JSON[_0x4a1019(0x10e)](_0x4aeb4b)));_0x29e92a&&(_0x29e92a[_0x4a1019(0x13d)][_0x4a1019(0x14c)]['project'][_0x4a1019(0x123)]['connectOptions']['wsEndpoint']=_0x4160a8,_0x29e92a[_0x4a1019(0x141)]['project']['use'][_0x4a1019(0x106)][_0x4a1019(0x145)]=_0x4160a8);}}else global[_0x4a1019(0x135)]=![];}catch(_0x302cb1){logger[_0x4a1019(0x121)](_0x4a1019(0x114)+util[_0x4a1019(0xfb)](_0x302cb1));}};
1
+ const a38_0x2eee64=a38_0x3c51;function a38_0x3c51(_0x5d49e6,_0x2130ce){const _0x19f176=a38_0x19f1();return a38_0x3c51=function(_0x3c514d,_0x3f1dc5){_0x3c514d=_0x3c514d-0x89;let _0x287103=_0x19f176[_0x3c514d];return _0x287103;},a38_0x3c51(_0x5d49e6,_0x2130ce);}(function(_0x2445c3,_0x4e850e){const _0x215fec=a38_0x3c51,_0x25eec4=_0x2445c3();while(!![]){try{const _0x49f2c4=parseInt(_0x215fec(0xdf))/0x1*(parseInt(_0x215fec(0xd4))/0x2)+-parseInt(_0x215fec(0xc5))/0x3+parseInt(_0x215fec(0x94))/0x4+parseInt(_0x215fec(0xe7))/0x5*(-parseInt(_0x215fec(0xf9))/0x6)+parseInt(_0x215fec(0xab))/0x7+-parseInt(_0x215fec(0xf0))/0x8+-parseInt(_0x215fec(0xb6))/0x9*(-parseInt(_0x215fec(0xcf))/0xa);if(_0x49f2c4===_0x4e850e)break;else _0x25eec4['push'](_0x25eec4['shift']());}catch(_0x4a7e97){_0x25eec4['push'](_0x25eec4['shift']());}}}(a38_0x19f1,0xc128e));const util=require('util'),logger=require(a38_0x2eee64(0x8e))[a38_0x2eee64(0xbe)],{isAccessibilityAutomationSession}=require(a38_0x2eee64(0xe8)),{isUndefined,isBrowserstackInfra}=require(a38_0x2eee64(0xb7)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a38_0x2eee64(0x96)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x2eee64(0xe9));function a38_0x19f1(){const _0x510609=['cEFpA','NExsi','accessibilityOptions.includeIssueType.bestPractice','TBGMn','OJJFO','getAccessibilityResultsSummary','AcTUT','wfrqs','error','browser','LukTX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','../../helpers/logger','OtByB','ZkpcV','VCsnd','browserStackExecuteDriver','fwviD','5830552CsnWSw','No\x20accessibility\x20results\x20were\x20found.','../../helpers/performance/performance-tester','TvKSQ','accessibilityOptions.authToken','wsEndpoint','browser_version','OYBwB','browserstack.accessibility','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','processAccessibilityCaps','currentTest','needsReview','parse','browserName','LtbOp','BS_A11Y_JWT','chromium','RBjTF','(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','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BAtpw','3064516qdgsTb','evaluate','use','bqFMS','replace','yQHjY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','constructor','accessibilityOptions.scannerProcessingTimeout','setAccessibilityCapabilities','uJXNt','359703tOhCFQ','../../helpers/helper','env','connectOptions','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','executeScript','GysSt','zvOBU','winstonLogger','ktljh','chrome','accessibilityOptions','includes','workerInfo','LefKy','3571494EHtfxy','kbwYI','accessibilityOptions.scannerVersion','Playwright','command','pHFTp','ylEba','\x20page:\x20','qGzLk','qRIwQ','470DswZDU','playwright-chromium','bstackSdkArgs','(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','viDaQ','674914FtvVrh','qUoho','debug','performScan','qcVSq','qRHaT','wcagVersion','browserStackEvaluate','testInfo','Oiedn','VTNTi','1mcQiwV','deviceName','oufIr','ZnOrf','executeAsyncScript','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','CKmdT','stringify','5STljCB','../../helpers/accessibility-automation/helper','../../helpers/performance/constants','No\x20summaryResults\x20found.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','ddAsg','bestPractice','JoOEE','7042680mzrLGj','format','url','platformValidation','scannerProcessingTimeout','ECBhC','rDGyx','project','Performing\x20scan\x20with\x20method:\x20','7495902wSqXsO','name','accessibilityPlatform','getAccessibilityResults','__workerDetails'];a38_0x19f1=function(){return _0x510609;};return a38_0x19f1();}exports[a38_0x2eee64(0xdb)]=async(_0x1f6b1d,_0x280edf,_0x16cbc1={})=>{const _0xe2ed14=a38_0x2eee64,_0x21e02f={};_0x21e02f[_0xe2ed14(0xd3)]='bstackSdkArgs';const _0x43904f=_0x21e02f;return await _0x1f6b1d[_0xe2ed14(0xac)](_0xe2ed14(0xd2)+_0x280edf['replace'](/arguments/g,_0x43904f[_0xe2ed14(0xd3)])+_0xe2ed14(0xe4)+JSON['stringify'](_0x16cbc1)+')');},exports[a38_0x2eee64(0x92)]=async(_0x2f48e1,_0x5c41de,_0x5a5dd0={})=>{const _0x9a41af=a38_0x2eee64,_0x3c389b={};_0x3c389b[_0x9a41af(0xcb)]=function(_0x4a338b,_0x3ed9f9){return _0x4a338b===_0x3ed9f9;},_0x3c389b[_0x9a41af(0xde)]='WebDriver',_0x3c389b['qUoho']=function(_0x342567,_0x3a6bc0){return _0x342567===_0x3a6bc0;},_0x3c389b[_0x9a41af(0xfe)]=_0x9a41af(0xc8),_0x3c389b['DAPga']=_0x9a41af(0xd1);const _0x1fcac1=_0x3c389b;if(_0x1fcac1[_0x9a41af(0xcb)](_0x2f48e1[_0x9a41af(0xb2)][_0x9a41af(0xfa)],_0x1fcac1['VTNTi']))return await _0x2f48e1[_0x9a41af(0xe3)](_0x5c41de,_0x5a5dd0);else{if(_0x1fcac1[_0x9a41af(0xd5)](_0x2f48e1[_0x9a41af(0xb2)][_0x9a41af(0xfa)],_0x1fcac1[_0x9a41af(0xfe)]))return await _0x2f48e1[_0x9a41af(0xbb)](_0x9a41af(0xa7)+_0x5c41de[_0x9a41af(0xaf)](/arguments/g,_0x1fcac1['DAPga'])+_0x9a41af(0xba)+JSON['stringify'](_0x5a5dd0)+')');}},exports[a38_0x2eee64(0xb4)]=async _0x115f6f=>{const _0x414886=a38_0x2eee64,_0x16ccd7={};_0x16ccd7[_0x414886(0xc4)]='accessibilityOptions.wcagVersion',_0x16ccd7[_0x414886(0xca)]=_0x414886(0xb3),_0x16ccd7[_0x414886(0x91)]=_0x414886(0x100),_0x16ccd7['jqJAz']='accessibilityOptions.includeIssueType.needsReview',_0x16ccd7['ZkpcV']=_0x414886(0x98),_0x16ccd7['OtByB']=_0x414886(0xc7);const _0x36cdfb=_0x16ccd7;_0x115f6f['accessibilityOptions']&&(_0x115f6f['accessibilityOptions'][_0x414886(0xda)]&&(_0x115f6f[_0x36cdfb['LefKy']]=_0x115f6f[_0x414886(0xc1)]['wcagVersion']),_0x115f6f[_0x414886(0xc1)][_0x414886(0xf4)]&&(_0x115f6f[_0x36cdfb[_0x414886(0xca)]]=_0x115f6f[_0x414886(0xc1)][_0x414886(0xf4)]),_0x115f6f['accessibilityOptions']['includeIssueType']&&(_0x115f6f[_0x36cdfb[_0x414886(0x91)]]=_0x115f6f[_0x414886(0xc1)]['includeIssueType'][_0x414886(0xee)],_0x115f6f[_0x36cdfb['jqJAz']]=_0x115f6f[_0x414886(0xc1)]['includeIssueType'][_0x414886(0xa0)]));const _0x21d094=JSON[_0x414886(0xa1)](process[_0x414886(0xb8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x115f6f[_0x36cdfb[_0x414886(0x90)]]=process[_0x414886(0xb8)][_0x414886(0xa4)],_0x115f6f[_0x36cdfb[_0x414886(0x8f)]]=_0x21d094,delete _0x115f6f[_0x414886(0xc1)];},exports[a38_0x2eee64(0xfc)]=async _0x462564=>{const _0xc7e0bf=a38_0x2eee64,_0x28c8c0={};_0x28c8c0['LtbOp']=_0xc7e0bf(0x95),_0x28c8c0['kbwYI']=_0xc7e0bf(0x9d);const _0x3438d7=_0x28c8c0;if(global[_0xc7e0bf(0xfb)])try{const details={'url':await _0x462564.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(_0x462564,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x462564,scripts.getResults);},{...details})();return res;}catch{return logger[_0xc7e0bf(0x89)](_0x3438d7[_0xc7e0bf(0xa3)]),[];}else return logger[_0xc7e0bf(0xa8)](_0x3438d7[_0xc7e0bf(0xc6)]),[];},exports[a38_0x2eee64(0xd7)]=async(_0x187abc,_0x537234='')=>{const _0x4901e4=a38_0x2eee64;logger[_0x4901e4(0xd6)](_0x4901e4(0xf8)+_0x537234+_0x4901e4(0xcc)+_0x187abc);const _0x169775={'url':await _0x187abc[_0x4901e4(0xf2)](),'testhub_btcer_uuid':global[_0x4901e4(0xfd)]?.[_0x4901e4(0x9f)]?.['id']};if(global[_0x4901e4(0xfb)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x25ea5f=_0x4901e4,_0xdd1d50={};_0xdd1d50[_0x25ea5f(0xc9)]=_0x537234;const _0x34d2d0=await exports[_0x25ea5f(0xdb)](_0x187abc,scripts[_0x25ea5f(0xd7)],_0xdd1d50);return _0x34d2d0;},{'command':_0x537234,..._0x169775})();},exports[a38_0x2eee64(0x103)]=async _0x53e777=>{const _0x29f8ab=a38_0x2eee64,_0x551be1={};_0x551be1['LukTX']=_0x29f8ab(0xea),_0x551be1['jxrXh']=_0x29f8ab(0xeb);const _0x82d7b9=_0x551be1;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x53e777,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x53e777,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x29f8ab(0xd6)](_0x82d7b9[_0x29f8ab(0x8b)]),{};}else return logger[_0x29f8ab(0xa8)](_0x82d7b9['jxrXh']),{};},exports[a38_0x2eee64(0xf3)]=async _0x46303c=>{const _0x3de58d=a38_0x2eee64,_0x3a0999={'ECBhC':function(_0x5dbf29,_0x1f7fd1){return _0x5dbf29!==_0x1f7fd1;},'ktljh':_0x3de58d(0x8c),'wfrqs':_0x3de58d(0xc0),'OYBwB':_0x3de58d(0xd0),'kSdCK':_0x3de58d(0xa5),'ZnOrf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','qRHaT':function(_0x41cc5d,_0x49cb49){return _0x41cc5d(_0x49cb49);},'zvOBU':function(_0x5368c1){return _0x5368c1();},'GysSt':function(_0x314593,_0x46b242){return _0x314593<_0x46b242;},'qGzLk':_0x3de58d(0xec),'NExsi':function(_0x2dd785,_0x200ca4){return _0x2dd785===_0x200ca4;},'OJJFO':'latest','fwviD':function(_0x59ea97,_0x16c7ad){return _0x59ea97>_0x16c7ad;},'CKmdT':_0x3de58d(0xa9)};try{if(!_0x3a0999[_0x3de58d(0xf5)](_0x46303c[_0x3de58d(0xe0)],''))return logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xbf)]),![];const _0x48e514=_0x46303c['browser'];if(![_0x3a0999[_0x3de58d(0x105)],_0x3a0999[_0x3de58d(0x9b)],_0x3a0999['kSdCK']][_0x3de58d(0xc2)](_0x48e514))return logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xe2)]),![];const _0x2622ba=_0x3a0999[_0x3de58d(0xd9)](parseInt,_0x46303c[_0x3de58d(0x9a)]);!_0x3a0999[_0x3de58d(0xbd)](isBrowserstackInfra)&&(!_0x3a0999[_0x3de58d(0xbc)](_0x2622ba,0x64)&&logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xcd)]));if(!(_0x3a0999[_0x3de58d(0xff)](_0x2622ba,_0x3a0999[_0x3de58d(0x102)])||_0x3a0999[_0x3de58d(0x93)](_0x2622ba,0x5e)))return logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xe5)]),![];}catch(_0x837ea4){logger['debug'](_0x3de58d(0x8d)+util[_0x3de58d(0xf1)](_0x837ea4));}return!![];},exports[a38_0x2eee64(0x9e)]=(_0x1938e0,_0x382c05,_0x561fa8)=>{const _0x2e30c4=a38_0x2eee64,_0x34473c={'dEVis':function(_0x24ccab){return _0x24ccab();},'ddAsg':_0x2e30c4(0x9c),'TBGMn':function(_0x45bc85,_0x317dc4){return _0x45bc85===_0x317dc4;},'oufIr':_0x2e30c4(0xc0),'Oiedn':_0x2e30c4(0xd0),'RBjTF':function(_0x5500ab,_0x3a586a){return _0x5500ab===_0x3a586a;},'jMHyU':function(_0x5b1386,_0x1e12b4){return _0x5b1386===_0x1e12b4;},'TvKSQ':_0x2e30c4(0xb1),'uJXNt':function(_0x2814e0){return _0x2814e0();},'yQHjY':function(_0x58bf2c,_0x4eea89){return _0x58bf2c>_0x4eea89;},'BAtpw':_0x2e30c4(0xec),'bqFMS':function(_0x2b1b25,_0xea11fa){return _0x2b1b25===_0xea11fa;},'rDGyx':'latest','JoOEE':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','qcVSq':function(_0x151491,_0x2dde0a){return _0x151491(_0x2dde0a);},'qRIwQ':_0x2e30c4(0x8c),'AcTUT':function(_0x48a4b1,_0xb84ce5){return _0x48a4b1+_0xb84ce5;}};try{if(_0x34473c['dEVis'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x1938e0[_0x34473c[_0x2e30c4(0xed)]]&&(global[_0x2e30c4(0xfb)]=![]);!(_0x34473c[_0x2e30c4(0x101)](_0x1938e0[_0x2e30c4(0xa2)],_0x34473c['oufIr'])||_0x34473c[_0x2e30c4(0x101)](_0x1938e0[_0x2e30c4(0xa2)],_0x34473c[_0x2e30c4(0xdd)])||_0x34473c[_0x2e30c4(0xa6)](_0x1938e0[_0x2e30c4(0x8a)],_0x34473c[_0x2e30c4(0xe1)])||_0x34473c['jMHyU'](_0x1938e0['browser'],_0x34473c[_0x2e30c4(0xdd)]))&&(logger[_0x2e30c4(0xa8)](_0x34473c[_0x2e30c4(0x97)]),global['accessibilityPlatform']=![]);!_0x34473c[_0x2e30c4(0xb5)](isBrowserstackInfra)&&(!_0x34473c[_0x2e30c4(0xb0)](_0x1938e0[_0x2e30c4(0x9a)],0x64)&&logger[_0x2e30c4(0xa8)](_0x34473c[_0x2e30c4(0xaa)]));!(_0x34473c[_0x2e30c4(0xae)](_0x1938e0[_0x2e30c4(0x9a)],_0x34473c[_0x2e30c4(0xf6)])||_0x34473c['yQHjY'](_0x1938e0[_0x2e30c4(0x9a)],0x5e))&&(logger['warn'](_0x34473c[_0x2e30c4(0xef)]),global[_0x2e30c4(0xfb)]=![]);!_0x34473c[_0x2e30c4(0xd8)](isUndefined,_0x1938e0[_0x2e30c4(0xe0)])&&(logger['warn'](_0x34473c[_0x2e30c4(0xce)]),global[_0x2e30c4(0xfb)]=![]);if(!global[_0x2e30c4(0xfb)]){_0x1938e0[_0x34473c[_0x2e30c4(0xed)]]=![];const _0x1fab12=_0x34473c[_0x2e30c4(0x104)](_0x382c05,_0x34473c[_0x2e30c4(0xd8)](encodeURIComponent,JSON[_0x2e30c4(0xe6)](_0x1938e0)));_0x561fa8&&(_0x561fa8[_0x2e30c4(0x9f)][_0x2e30c4(0xdc)][_0x2e30c4(0xf7)][_0x2e30c4(0xad)][_0x2e30c4(0xb9)][_0x2e30c4(0x99)]=_0x1fab12,_0x561fa8[_0x2e30c4(0xc3)][_0x2e30c4(0xf7)][_0x2e30c4(0xad)][_0x2e30c4(0xb9)][_0x2e30c4(0x99)]=_0x1fab12);}}else global[_0x2e30c4(0xfb)]=![];}catch(_0xf3a7e){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x2e30c4(0xf1)](_0xf3a7e));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x36f1c9=a39_0x1008;(function(_0xdf4846,_0x11c303){const _0x12be0a=a39_0x1008,_0x45a178=_0xdf4846();while(!![]){try{const _0x31627e=-parseInt(_0x12be0a(0x1d3))/0x1+-parseInt(_0x12be0a(0x24f))/0x2*(-parseInt(_0x12be0a(0x1eb))/0x3)+parseInt(_0x12be0a(0x1d4))/0x4+-parseInt(_0x12be0a(0x1ae))/0x5+parseInt(_0x12be0a(0x208))/0x6*(parseInt(_0x12be0a(0x242))/0x7)+-parseInt(_0x12be0a(0x1a5))/0x8*(parseInt(_0x12be0a(0x24e))/0x9)+parseInt(_0x12be0a(0x23b))/0xa;if(_0x31627e===_0x11c303)break;else _0x45a178['push'](_0x45a178['shift']());}catch(_0x5a88ad){_0x45a178['push'](_0x45a178['shift']());}}}(a39_0x5cff,0x49ffc));function a39_0x5cff(){const _0x537d88=['pbFKu','gBgqZ','getInstance','concat','No\x20Proxy\x20:\x20','../utils/clientTroubleshootingService','getConfig','EVENTS','--disable-browserstack-automation','aHjnq','reportDotBrowserStackFolderNotAccessibleIssue','./accessibility-helper','../../helpers/testhub/testhubHandler','BROWSERSTACK_PW_CONFIG_DIR','trim','join','../../helpers/accessibility-automation/helper','SDK_PRE_INITIALIZE','PACKAGE_TYPE','444MzUALy','VPIST','launchBuild','path','--grep','playwright-browserstack-sdk.config.js','cwd','mFVTI','info','qVuzJ','testObservability','validateRerunTestList','test','xMuFm','--config','PPoBz','cliConfig','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/BrowserStackSetup','startsWith','resolvedConfigFile','CfjMT','debug','end','parse','OEMrZ','writeFileSync','zHNLF','BROWSERSTACK_SETUP_CONFIG_PATH','SDK_CLEANUP','readdirSync','getNoProxy','--disable-test-observability','browserstackAutomation','indexOf','RsKlO','xZsPm','initialize','false','PxRTA','xTkpf','forEach','exports','env','../v2/TestInfo','start','stringify','accessibilityOptions','Rlxce','isUndefined','reportConflictingEnvVarIssue','7556900OjpgfL','gNQTt','apply','filterBrowserstackArgs','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','oJBSR','NPJuM','40593njfTOz','resolve','close','kpzeZ','Indjc','setBrowserstackConfig','MpVOR','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','\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','shutdown','accessibility','slBlj','18DQvzGR','2fQwALJ','finalExecution','isFalse','SDK_SETUP','skipSessionName','KdegN','existsSync','assign','PLAYWRIGHT','ErfTJ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','config','PqRss','inherit','logLevel','../../helpers/performance/performance-tester','R_OK','1973912ovojns','serializeToYamlString','getConfigPath','yLdQb','OCPnm','constants','unlinkSync','INTERNALLY_USED_ENV_VARS','isRunning','1363335mvdJHP','findIndex','zNEeX','JhLGX','winstonLogger','Proxy\x20url\x20:\x20','oOyFu','../../helpers/logger','dirname','OQIgn','WFEgH','get','hjTBV','XBNiY','sZuII','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/utilities','measureWrapper','BGsvx','length','bCWar','map','split','\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();','USER_CONFIG_DETAILS_PATH','PhhnA','win32','trace_','../../helpers/test-observability/constants','slice','IZTRg','eQpzU','Error\x20in\x20deleting\x20playwright\x20results','npx','Afgtt','WELzl','playwright-browserstack-sdk.config.cjs','316678vvUdYk','558072TfUauW','playwright','isTypescriptProject','stop','./reporter/test-details','testContextOptions','DhHrr','Deleting\x20','setFrameworkDetail','--config=','DboXm','nestedKeyValue','isTrue','homedir','RVUGS','getProxyUrl','XRcSq','skipSessionStatus','cjcGt','VaKvD','platform','BROWSERSTACK_TEST_ACCESSIBILITY_YML','VYbOj','184767nAhzdU','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','ZuJQs','BROWSERSTACK_TEST_OBSERVABILITY','MODULE','./reporter/pwUtils','BrowserStack\x20config\x20file\x20not\x20found.','filter','WeSlI','accessSync'];a39_0x5cff=function(){return _0x537d88;};return a39_0x5cff();}const fs=require('fs'),path=require(a39_0x36f1c9(0x20b)),{spawn}=require('child_process'),{format}=require('util'),logger=require(a39_0x36f1c9(0x1b5))[a39_0x36f1c9(0x1b2)],{default:BrowserStackSetup}=require(a39_0x36f1c9(0x21a)),helper=require('../../helpers/helper'),utilities=require(a39_0x36f1c9(0x1be)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a39_0x36f1c9(0x1ca)),{getConfigLoaderPath}=require(a39_0x36f1c9(0x1f0)),{checkAccessibilityPlatformConfig}=require(a39_0x36f1c9(0x205)),{setAccessibilityCapabilities}=require(a39_0x36f1c9(0x200)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x36f1c9(0x1d8)),TestHubHandler=require(a39_0x36f1c9(0x201)),PerformanceTester=require(a39_0x36f1c9(0x25e)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')[a39_0x36f1c9(0x1fc)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x36f1c9(0x234)),ClientTroubleShootingService=require(a39_0x36f1c9(0x1fa)),getUserPlaywrightConfig=async(_0x149c86,_0x2dc6c9)=>{const _0x5402fd=a39_0x36f1c9,_0x5b9dbc={'nTDIT':function(_0x4adaf6){return _0x4adaf6();},'hjTBV':function(_0x42a12e,_0x152754){return _0x42a12e(_0x152754);},'WfIrK':function(_0x37fcb7,_0x346a9c){return _0x37fcb7(_0x346a9c);},'KdegN':_0x5402fd(0x21c),'WqJBV':_0x5402fd(0x1dd)},_0x21268d=!helper[_0x5402fd(0x239)](_0x149c86[_0x5402fd(0x25a)]),_0x53ea59=_0x21268d?path[_0x5402fd(0x243)](process['cwd'](),_0x149c86[_0x5402fd(0x25a)]):process[_0x5402fd(0x20e)](),{resolveConfigFile:_0x4f4a50,resolveConfigLocation:_0xb26d40}=helper['requirePWModule'][_0x5402fd(0x23d)](null,_0x5b9dbc['nTDIT'](getConfigLoaderPath)),_0x2c599b=_0x4f4a50?_0x5b9dbc[_0x5402fd(0x1ba)](_0x4f4a50,_0x53ea59):helper[_0x5402fd(0x1df)](_0x5b9dbc['WfIrK'](_0xb26d40,_0x53ea59),[_0x5b9dbc[_0x5402fd(0x254)]]),_0x320834={};if(_0x21268d){const _0x26781e=_0x2dc6c9[_0x5402fd(0x1af)](_0x415d1a=>_0x415d1a===_0x5402fd(0x216)||_0x415d1a==='-c'||_0x415d1a[_0x5402fd(0x21b)](_0x5402fd(0x1dd)));_0x2dc6c9['splice'](_0x26781e,_0x2dc6c9[_0x26781e][_0x5402fd(0x21b)](_0x5b9dbc['WqJBV'])?0x1:0x2);}const _0x1a7d04={};return _0x1a7d04[_0x5402fd(0x20b)]=_0x2c599b,_0x1a7d04[_0x5402fd(0x25a)]=_0x320834,_0x1a7d04;},handleO11yRerun=_0x5e4051=>{const _0x39ab7f=a39_0x36f1c9,_0x436cb6={};_0x436cb6[_0x39ab7f(0x1e4)]=_0x39ab7f(0x20c);const _0x52c020=_0x436cb6,_0x38330f=helper[_0x39ab7f(0x1e0)](process[_0x39ab7f(0x233)]['BROWSERSTACK_RERUN']);if(_0x38330f){const _0x55a2ea=process[_0x39ab7f(0x233)]['BROWSERSTACK_RERUN_TESTS'],_0x4f00b4=[];if(helper[_0x39ab7f(0x213)](_0x55a2ea)&&!helper[_0x39ab7f(0x239)](_0x55a2ea)){_0x55a2ea[_0x39ab7f(0x1c4)](',')[_0x39ab7f(0x1c3)](_0x267bae=>{const _0x1cd344=_0x39ab7f;_0x4f00b4['push']('('+_0x267bae[_0x1cd344(0x203)]()+')');});const _0x370bc7='^'+_0x4f00b4['join']('|')+'$';_0x5e4051['push'](_0x52c020['XRcSq'],_0x370bc7);}}},spawnOriginalProcess=_0x35d52b=>{const _0xab15b6=a39_0x36f1c9,_0x2d6631={'DhHrr':function(_0xa4a506,_0x3f45de,_0x45301a,_0x3e8ee2){return _0xa4a506(_0x3f45de,_0x45301a,_0x3e8ee2);},'OQIgn':_0xab15b6(0x1cf),'yLdQb':_0xab15b6(0x1d5),'oJBSR':function(_0x8e6028,_0x7d8e4e){return _0x8e6028===_0x7d8e4e;},'PhhnA':_0xab15b6(0x1c8),'CfjMT':_0xab15b6(0x25c)};_0x2d6631[_0xab15b6(0x1da)](spawn,_0x2d6631[_0xab15b6(0x1b7)],[_0x2d6631[_0xab15b6(0x1a8)],..._0x35d52b[_0xab15b6(0x1cb)](0x1)],{'shell':_0x2d6631[_0xab15b6(0x240)](process[_0xab15b6(0x1e8)],_0x2d6631[_0xab15b6(0x1c7)]),'stdio':_0x2d6631[_0xab15b6(0x21d)],'cwd':process[_0xab15b6(0x20e)]()});},isTestCommand=(_0x683b8e,_0x1571c6)=>{const _0x429219=a39_0x36f1c9,_0x3d1aa2={};_0x3d1aa2[_0x429219(0x241)]=function(_0x4cce7e,_0x3ab4f6){return _0x4cce7e>_0x3ab4f6;},_0x3d1aa2['kpzeZ']=function(_0x138d3b,_0x356c95){return _0x138d3b===_0x356c95;},_0x3d1aa2[_0x429219(0x217)]=_0x429219(0x214);const _0x5a41cb=_0x3d1aa2;if(_0x5a41cb[_0x429219(0x241)](_0x1571c6[_0x429219(0x1c1)],0x1)&&_0x5a41cb[_0x429219(0x245)](_0x1571c6[0x1],_0x5a41cb[_0x429219(0x217)]))return!![];return![];};async function run(_0x4e4537,_0x151bc5,_0x49ba8e){const _0x5151bb=a39_0x36f1c9,_0x283317={'WeSlI':function(_0x40cb20,_0x5a79b1){return _0x40cb20(_0x5a79b1);},'XBNiY':'.browserstack','ErfTJ':'pw_result.json','MpVOR':function(_0x3900cf,_0x4b6cbb){return _0x3900cf+_0x4b6cbb;},'gBgqZ':'Error\x20in\x20getting\x20funnel\x20data\x20results','VYbOj':function(_0x5809f7){return _0x5809f7();},'zHNLF':function(_0x3e79da,_0x5535db){return _0x3e79da+_0x5535db;},'yYycj':'Error\x20in\x20closing\x20playwright','PxRTA':_0x5151bb(0x1f1),'Otxrd':function(_0x8b26e4,_0x1bd74){return _0x8b26e4<_0x1bd74;},'IZTRg':function(_0xdde2c5,_0x1970e8){return _0xdde2c5===_0x1970e8;},'OEMrZ':_0x5151bb(0x22e),'zNEeX':'--disable-test-observability','jwlsa':function(_0x5be0fe,_0x1579f7){return _0x5be0fe>=_0x1579f7;},'aHjnq':function(_0x5eb2be,_0x3380e4){return _0x5eb2be===_0x3380e4;},'ZBcCF':'automation','sZuII':function(_0x55fa59,_0x46f26b){return _0x55fa59!=_0x46f26b;},'ZuJQs':function(_0x1fc44f,_0x13322a,_0xe98f54){return _0x1fc44f(_0x13322a,_0xe98f54);},'cjcGt':function(_0x2c6387,_0xd0542f){return _0x2c6387(_0xd0542f);},'RVUGS':function(_0x252b8c,_0xd5a243){return _0x252b8c===_0xd5a243;},'KLJND':'true','slBlj':'browserstackSetupConfig.json','DboXm':_0x5151bb(0x1d2),'WFEgH':_0x5151bb(0x20d),'qVuzJ':function(_0x59156b,_0x1b6c09){return _0x59156b-_0x1b6c09;},'JhLGX':'Updated\x20config\x20file\x20name\x20to\x20-\x20','VaKvD':function(_0x43247a,_0x39cee5){return _0x43247a>_0x39cee5;},'eQpzU':function(_0x3bd98d,_0x417789,_0x38bf4f,_0x96022f){return _0x3bd98d(_0x417789,_0x38bf4f,_0x96022f);},'gNQTt':_0x5151bb(0x1cf),'Indjc':_0x5151bb(0x1d5),'bCWar':_0x5151bb(0x214),'OaNMs':_0x5151bb(0x216),'WELzl':_0x5151bb(0x1c8),'PqRss':function(_0x32ada5,_0x288f3c){return _0x32ada5===_0x288f3c;},'xMuFm':_0x5151bb(0x25c),'VPIST':_0x5151bb(0x244),'OCPnm':function(_0x5b98b6,_0x2c19e9){return _0x5b98b6|_0x2c19e9;},'xZsPm':_0x5151bb(0x1ec),'LhOlp':_0x5151bb(0x1ce)};try{const _0x113d22=path['join'](helper[_0x5151bb(0x1e1)](),_0x283317[_0x5151bb(0x1bb)]);try{fs[_0x5151bb(0x1f4)](_0x113d22,_0x283317[_0x5151bb(0x1a9)](fs[_0x5151bb(0x1aa)][_0x5151bb(0x1a4)],fs[_0x5151bb(0x1aa)]['W_OK']));}catch(_0x5f1091){ClientTroubleShootingService[_0x5151bb(0x1ff)]();}}catch(_0x3e14eb){logger['debug'](_0x283317['MpVOR'](_0x283317[_0x5151bb(0x22c)],_0x3e14eb));}try{const _0x5e592e=path[_0x5151bb(0x204)](helper[_0x5151bb(0x1e1)](),_0x283317[_0x5151bb(0x1bb)],_0x283317[_0x5151bb(0x258)]);fs['existsSync'](_0x5e592e)&&fs[_0x5151bb(0x1ab)](_0x5e592e);}catch(_0x2f5f5f){logger[_0x5151bb(0x21e)](_0x283317[_0x5151bb(0x248)](_0x283317['LhOlp'],_0x2f5f5f));}if(!_0x283317['ZuJQs'](isTestCommand,_0x4e4537,_0x151bc5)){_0x283317[_0x5151bb(0x1e6)](spawnOriginalProcess,_0x151bc5);return;}await PerformanceTester[_0x5151bb(0x1bf)](PerformanceEvents[_0x5151bb(0x206)],async()=>{const _0x539eb6=_0x5151bb,_0x5612cb={'Rlxce':function(_0x4cee7e,_0x160c5b){const _0x1f223d=a39_0x1008;return _0x283317[_0x1f223d(0x1f3)](_0x4cee7e,_0x160c5b);},'xTkpf':_0x283317[_0x539eb6(0x1bb)],'Afgtt':_0x283317['ErfTJ'],'BGsvx':function(_0x11d914,_0x2d6fd0){return _0x283317['MpVOR'](_0x11d914,_0x2d6fd0);},'TYyrp':_0x283317[_0x539eb6(0x1f6)],'RsKlO':function(_0x39637f){const _0x210310=_0x539eb6;return _0x283317[_0x210310(0x1ea)](_0x39637f);},'oOyFu':function(_0x12ce51){const _0x305838=_0x539eb6;return _0x283317[_0x305838(0x1ea)](_0x12ce51);},'fpTpz':function(_0x12d1e5,_0x5ee1d5){const _0xc36fa6=_0x539eb6;return _0x283317[_0xc36fa6(0x223)](_0x12d1e5,_0x5ee1d5);},'pbFKu':_0x283317['yYycj']};if(!_0x49ba8e[_0x539eb6(0x25a)]){logger['error'](_0x283317[_0x539eb6(0x22f)]);return;}await _0x49ba8e[_0x539eb6(0x22d)](_0x4e4537),CLIUtils[_0x539eb6(0x1dc)](FRAMEWORKS[_0x539eb6(0x257)],FRAMEWORKS[_0x539eb6(0x257)]),BrowserstackCLI[_0x539eb6(0x1f7)]()[_0x539eb6(0x247)](_0x49ba8e[_0x539eb6(0x25a)],_0x49ba8e[_0x539eb6(0x218)]),await BrowserstackCLI[_0x539eb6(0x1f7)]()['bootstrap']();for(var _0x27bd89=0x0;_0x283317['Otxrd'](_0x27bd89,constants['INTERNALLY_USED_ENV_VARS'][_0x539eb6(0x1c1)]);_0x27bd89++){var _0xc50901=constants[_0x539eb6(0x1ac)][_0x27bd89];process[_0x539eb6(0x233)][_0xc50901]&&await ClientTroubleShootingService[_0x539eb6(0x23a)](_0xc50901);}const _0x5e280f=BrowserstackCLI['getInstance']()[_0x539eb6(0x1fb)]();!helper[_0x539eb6(0x251)](_0x5e280f[_0x539eb6(0x229)])&&(process[_0x539eb6(0x233)]['BROWSERSTACK_AUTOMATION']=!![]);_0x283317[_0x539eb6(0x1cc)](_0x5e280f[_0x539eb6(0x229)],![])&&(process[_0x539eb6(0x233)]['BROWSERSTACK_AUTOMATION']=_0x283317[_0x539eb6(0x221)],_0x151bc5=_0x151bc5[_0x539eb6(0x1f2)](_0x10c70e=>_0x10c70e!==_0x539eb6(0x1fd)));const _0x4ddf63=_0x151bc5[_0x539eb6(0x22a)](_0x283317[_0x539eb6(0x1b0)]);(_0x283317['jwlsa'](_0x4ddf63,0x0)||_0x283317['aHjnq'](_0x5e280f[_0x539eb6(0x212)],![]))&&(process[_0x539eb6(0x233)][_0x539eb6(0x1ee)]=_0x283317[_0x539eb6(0x221)],_0x151bc5=_0x151bc5[_0x539eb6(0x1f2)](_0x18fd67=>_0x18fd67!==_0x539eb6(0x228)));!helper[_0x539eb6(0x239)](_0x49ba8e[_0x539eb6(0x218)])&&_0x49ba8e[_0x539eb6(0x218)]['has'](_0x283317['ZBcCF'])&&(process[_0x539eb6(0x233)]['BROWSERSTACK_AUTOMATION']=_0x49ba8e[_0x539eb6(0x218)][_0x539eb6(0x1b9)](_0x283317['ZBcCF'])||!![]);_0x283317[_0x539eb6(0x1bc)](_0x49ba8e['config'][_0x539eb6(0x212)],null)&&!helper[_0x539eb6(0x1e0)](process['env'][_0x539eb6(0x1ee)])&&(process[_0x539eb6(0x233)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x539eb6(0x233)][_0x539eb6(0x1ee)]||_0x49ba8e[_0x539eb6(0x25a)][_0x539eb6(0x212)]);const _0x157cc8=!helper['isFalse'](process[_0x539eb6(0x233)][_0x539eb6(0x1ee)]);_0x49ba8e['config'][_0x539eb6(0x237)]&&(process[_0x539eb6(0x233)][_0x539eb6(0x259)]=JSON[_0x539eb6(0x236)](_0x49ba8e[_0x539eb6(0x25a)]['accessibilityOptions']));let _0x4d2d68=![];_0x49ba8e['config'][_0x539eb6(0x24c)]&&(_0x4d2d68=!![],process[_0x539eb6(0x233)][_0x539eb6(0x1e9)]=_0x49ba8e[_0x539eb6(0x25a)]['accessibility']);const _0xd84c9=_0x151bc5[_0x539eb6(0x1f8)](),_0xd2ef01=await _0x283317[_0x539eb6(0x1ed)](getUserPlaywrightConfig,_0x4e4537,_0x151bc5);if(helper[_0x539eb6(0x239)](_0xd2ef01)){_0x283317[_0x539eb6(0x1e6)](spawnOriginalProcess,_0xd84c9);return;}const _0x523db8=_0xd2ef01['path']?path['dirname'](_0xd2ef01[_0x539eb6(0x20b)]):process[_0x539eb6(0x20e)]();process[_0x539eb6(0x233)][_0x539eb6(0x202)]=_0x523db8,await PerformanceTester[_0x539eb6(0x1bf)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x27870c=_0x539eb6;!BrowserstackCLI['getInstance']()['isRunning']()&&await TestHubHandler[_0x27870c(0x20a)](FRAMEWORKS[_0x27870c(0x257)],_0x49ba8e),_0x157cc8&&_0x5612cb[_0x27870c(0x238)](handleO11yRerun,_0x151bc5);})();if(!BrowserstackCLI[_0x539eb6(0x1f7)]()[_0x539eb6(0x1ad)]()){let _0x1aa1b4=_0x283317[_0x539eb6(0x1e2)](process[_0x539eb6(0x233)][_0x539eb6(0x1e9)],_0x283317['KLJND']);_0x1aa1b4=_0x1aa1b4||_0x283317[_0x539eb6(0x1e6)](checkAccessibilityPlatformConfig,_0x49ba8e['config']),process[_0x539eb6(0x233)][_0x539eb6(0x1e9)]=_0x1aa1b4,_0x1aa1b4&&_0x283317[_0x539eb6(0x1f3)](setAccessibilityCapabilities,_0x49ba8e[_0x539eb6(0x25a)]);}const _0x151953=path[_0x539eb6(0x204)](_0xd2ef01[_0x539eb6(0x20b)]?path[_0x539eb6(0x1b6)](_0xd2ef01['path']):process[_0x539eb6(0x20e)](),_0x283317[_0x539eb6(0x24d)]);fs[_0x539eb6(0x222)](_0x151953,helper[_0x539eb6(0x1a6)](_0x49ba8e[_0x539eb6(0x25a)])),process[_0x539eb6(0x233)][_0x539eb6(0x224)]=_0x151953,helper['clearTempPWConfig']();let _0x5683f5='';_0x283317[_0x539eb6(0x1fe)](helper['getPackageType'](),constants[_0x539eb6(0x207)][_0x539eb6(0x1ef)])?_0x5683f5=_0x283317[_0x539eb6(0x1de)]:_0x5683f5=_0x283317[_0x539eb6(0x1b8)];let _0x200b2c='';if(helper[_0x539eb6(0x1d6)](_0xd2ef01['path'])){_0x200b2c=_0x539eb6(0x1bd);const _0x29045f=_0x5683f5[_0x539eb6(0x1c4)]('.');_0x29045f[_0x283317[_0x539eb6(0x211)](_0x29045f[_0x539eb6(0x1c1)],0x1)]='ts',_0x5683f5=_0x29045f[_0x539eb6(0x204)]('.'),logger[_0x539eb6(0x21e)](_0x283317['zHNLF'](_0x283317[_0x539eb6(0x1b1)],_0x5683f5));}else _0x200b2c=_0x539eb6(0x23f);const _0x59e809=path[_0x539eb6(0x204)](_0xd2ef01[_0x539eb6(0x20b)]?path[_0x539eb6(0x1b6)](_0xd2ef01[_0x539eb6(0x20b)]):process['cwd'](),_0x5683f5);let _0x2fef55=_0xd2ef01['path']?_0xd2ef01[_0x539eb6(0x20b)]:'';_0x2fef55=_0x283317[_0x539eb6(0x1e7)](_0x2fef55[_0x539eb6(0x1c1)],0x0)?path[_0x539eb6(0x243)](_0x2fef55):'',process[_0x539eb6(0x233)][_0x539eb6(0x1c6)]=_0x2fef55;const _0x5a7bbc=helper[_0x539eb6(0x1e3)](_0x49ba8e[_0x539eb6(0x25a)]),_0x3afdb0=helper[_0x539eb6(0x227)](_0x49ba8e[_0x539eb6(0x25a)]);logger[_0x539eb6(0x21e)](_0x539eb6(0x1b3)+_0x5a7bbc),logger[_0x539eb6(0x21e)](_0x539eb6(0x1f9)+_0x3afdb0);_0x5a7bbc&&(_0x200b2c=_0x283317['zHNLF'](_0x539eb6(0x249)+_0x5a7bbc+_0x539eb6(0x24a)+_0x3afdb0+_0x539eb6(0x1c5),_0x200b2c));helper[_0x539eb6(0x23e)]({},_0x151bc5),fs['writeFileSync'](_0x59e809,_0x200b2c),PerformanceTester[_0x539eb6(0x21f)](PerformanceEvents[_0x539eb6(0x252)]);const _0x152dd2=_0x283317[_0x539eb6(0x1cd)](spawn,_0x283317[_0x539eb6(0x23c)],[_0x283317[_0x539eb6(0x246)],_0x283317[_0x539eb6(0x1c2)],_0x283317['OaNMs'],_0x283317[_0x539eb6(0x1e2)](process[_0x539eb6(0x1e8)],_0x283317[_0x539eb6(0x1d1)])?'\x22'+_0x59e809+'\x22':_0x59e809,..._0x151bc5['slice'](0x2)],{'shell':_0x283317[_0x539eb6(0x25b)](process[_0x539eb6(0x1e8)],_0x283317[_0x539eb6(0x1d1)]),'stdio':_0x283317[_0x539eb6(0x215)],'cwd':process['cwd'](),'env':Object[_0x539eb6(0x256)]({},process[_0x539eb6(0x233)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x539eb6(0x1a7)](_0x4e4537),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x49ba8e[_0x539eb6(0x25a)][_0x539eb6(0x1d9)][_0x539eb6(0x1e5)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x49ba8e[_0x539eb6(0x25a)][_0x539eb6(0x1d9)][_0x539eb6(0x253)],'BROWSERSTACK_LOG_LEVEL':_0x49ba8e[_0x539eb6(0x25a)][_0x539eb6(0x25d)]})}),_0x4a4438=()=>{const _0x16d3ce=_0x539eb6;try{const _0x388302=path['join'](helper[_0x16d3ce(0x1e1)](),_0x5612cb['xTkpf'],_0x5612cb[_0x16d3ce(0x1d0)]);if(fs[_0x16d3ce(0x255)](_0x388302)){let _0x24f532=fs['readFileSync'](_0x388302);_0x24f532=JSON[_0x16d3ce(0x220)](_0x24f532),_0x49ba8e['errorMessage']=_0x24f532,fs[_0x16d3ce(0x1ab)](_0x388302);}}catch(_0x490ed0){logger[_0x16d3ce(0x21e)](_0x5612cb[_0x16d3ce(0x1c0)](_0x5612cb['TYyrp'],_0x490ed0));}};_0x152dd2['on'](_0x283317[_0x539eb6(0x209)],async _0x4fd033=>{const _0x46d2ba=_0x539eb6,_0x18cb2d={};_0x18cb2d['mFVTI']=_0x5612cb['xTkpf'];const _0x1077c4=_0x18cb2d;try{PerformanceTester[_0x46d2ba(0x235)](PerformanceEvents[_0x46d2ba(0x225)]),_0x5612cb[_0x46d2ba(0x22b)](_0x4a4438),await TestHubHandler[_0x46d2ba(0x1d7)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI['getInstance']()['stop'](),TestDetails[_0x46d2ba(0x24b)](),_0x5612cb[_0x46d2ba(0x1b4)](printBuildLink),await utilities[_0x46d2ba(0x250)](_0x49ba8e),process['exitCode']=_0x4fd033,logger[_0x46d2ba(0x21e)](_0x46d2ba(0x219)+_0x4fd033),logger[_0x46d2ba(0x210)](_0x46d2ba(0x1db)+_0x59e809),fs['unlinkSync'](_0x59e809);fs['existsSync'](_0x151953)&&(logger[_0x46d2ba(0x21e)]('Deleting\x20'+_0x151953),fs[_0x46d2ba(0x1ab)](_0x151953));const _0x104804=fs[_0x46d2ba(0x226)](path[_0x46d2ba(0x204)](helper[_0x46d2ba(0x1e1)](),_0x5612cb[_0x46d2ba(0x230)]))['filter'](_0x4c59f8=>_0x4c59f8['startsWith'](_0x46d2ba(0x1c9)));_0x104804[_0x46d2ba(0x231)](_0x56a144=>{const _0x1298c5=_0x46d2ba;fs[_0x1298c5(0x1ab)](path[_0x1298c5(0x204)](helper[_0x1298c5(0x1e1)](),_0x1077c4[_0x1298c5(0x20f)],_0x56a144));});}catch(_0xbf9c28){logger['debug'](_0x5612cb['fpTpz'](_0x5612cb[_0x46d2ba(0x1f5)],_0xbf9c28));}});})();}function a39_0x1008(_0xe54be7,_0x353f17){const _0x5cfffd=a39_0x5cff();return a39_0x1008=function(_0x100875,_0x408808){_0x100875=_0x100875-0x1a4;let _0x302f54=_0x5cfffd[_0x100875];return _0x302f54;},a39_0x1008(_0xe54be7,_0x353f17);}module[a39_0x36f1c9(0x232)]=run;
2
+ 'use strict';const a39_0x5b60aa=a39_0x9291;function a39_0x2111(){const _0x2a0908=['winstonLogger','OxHTX','TeJpi','BROWSERSTACK_AUTOMATION','debug','--disable-test-observability','initialize','isUndefined','setFrameworkDetail','Playwright\x20process\x20exited\x20with\x20code\x20','pw_result.json','skipSessionName','BROWSERSTACK_PW_CONFIG_DIR','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','yRcTN','cliConfig','WgWzD','NYzxm','Ahuzc','SCNFu','lLbSU','dtwwA','constants','dirname','QJPcs','playwright','BROWSERSTACK_TEST_OBSERVABILITY','accessSync','resolve','bEGVH','exports','../utils/constants','win32','test','BrowserStack\x20config\x20file\x20not\x20found.','nestedKeyValue','rmHpQ','npx','SPmAv','sKThv','child_process','\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','Updated\x20config\x20file\x20name\x20to\x20-\x20','nTToq','browserstackSetupConfig.json','XBOWN','.browserstack','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','../../helpers/BrowserStackSetup','jfhPC','1905724qAurmR','bootstrap','INTERNALLY_USED_ENV_VARS','VNHvq','forEach','length','PLAYWRIGHT','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../v2/browserstackCLI','cwd','Ozuhe','stop','gAdDt','--config=','info','writeFileSync','\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();','has','../../helpers/performance/performance-tester','LehAB','resolvedConfigFile','requirePWModule','BROWSERSTACK_SETUP_CONFIG_PATH','concat','error','inherit','false','unlinkSync','dtSWH','133Tyucit','isTrue','parse','No\x20Proxy\x20:\x20','CUlIc','3892473kNOhku','sglEa','WEyMM','1890720gbcrzb','../../helpers/performance/constants','faACa','setBrowserstackConfig','kDuLm','W_OK','Error\x20in\x20deleting\x20playwright\x20results','KZbna','ICoam','Error\x20in\x20closing\x20playwright','Rmmza','./reporter/pwUtils','startsWith','OXWlJ','--disable-browserstack-automation','SDK_PRE_INITIALIZE','start','config','readdirSync','errorMessage','shutdown','./reporter/test-details','../../helpers/test-observability/utils','existsSync','platform','getInstance','automation','get','../../helpers/testhub/testhubHandler','R_OK','../v2/TestInfo','../../helpers/helper','playwright-browserstack-sdk.config.cjs','11656adhdCR','path','true','slice','apply','USER_CONFIG_DETAILS_PATH','browserstackAutomation','rrTYp','filterBrowserstackArgs','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_RERUN','getNoProxy','../../helpers/accessibility-automation/helper','RbzHv','../../helpers/logger','1042627jaKaRy','15wskiXZ','accessibilityOptions','PACKAGE_TYPE','RZohJ','validateRerunTestList','lELTP','trace_','zmtTR','reportFinalDetectionState','RMFFb','XYTFQ','splice','testObservability','accessibility','PjqSq','hfgdA','gjrWR','finalExecution','isFalse','clearTempPWConfig','RtxXu','util','jCSjt','getProxyUrl','QFuEH','playwright-browserstack-sdk.config.js','WKKpB','--grep','end','stringify','env','Owohe','--config','join','BROWSERSTACK_RERUN_TESTS','Deleting\x20','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','measureWrapper','filter','serializeToYamlString','SKypr','logLevel','XRers','homedir','5051268wBDQll','384844rZGzKw','exitCode','CFWPa','readFileSync','testContextOptions','push','getConfigPath'];a39_0x2111=function(){return _0x2a0908;};return a39_0x2111();}(function(_0x4cb9f7,_0x2f74c9){const _0xd7ccb6=a39_0x9291,_0x4bad98=_0x4cb9f7();while(!![]){try{const _0x3c5ab7=-parseInt(_0xd7ccb6(0x17a))/0x1+parseInt(_0xd7ccb6(0x1a8))/0x2+parseInt(_0xd7ccb6(0x207))/0x3+parseInt(_0xd7ccb6(0x1e1))/0x4*(parseInt(_0xd7ccb6(0x17b))/0x5)+-parseInt(_0xd7ccb6(0x1a7))/0x6+-parseInt(_0xd7ccb6(0x1ff))/0x7*(parseInt(_0xd7ccb6(0x16b))/0x8)+parseInt(_0xd7ccb6(0x204))/0x9;if(_0x3c5ab7===_0x2f74c9)break;else _0x4bad98['push'](_0x4bad98['shift']());}catch(_0xd2aa18){_0x4bad98['push'](_0x4bad98['shift']());}}}(a39_0x2111,0xbc8a8));function a39_0x9291(_0x4fdf27,_0x42cc7f){const _0x2111f5=a39_0x2111();return a39_0x9291=function(_0x929111,_0x530195){_0x929111=_0x929111-0x155;let _0x21cf58=_0x2111f5[_0x929111];return _0x21cf58;},a39_0x9291(_0x4fdf27,_0x42cc7f);}const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x5b60aa(0x1d7)),{format}=require(a39_0x5b60aa(0x190)),logger=require(a39_0x5b60aa(0x179))[a39_0x5b60aa(0x1af)],{default:BrowserStackSetup}=require(a39_0x5b60aa(0x1df)),helper=require(a39_0x5b60aa(0x169)),utilities=require('../../helpers/utilities'),constants=require(a39_0x5b60aa(0x1ce)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x5b60aa(0x155)),{checkAccessibilityPlatformConfig}=require(a39_0x5b60aa(0x177)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x5b60aa(0x160)),TestDetails=require(a39_0x5b60aa(0x15f)),TestHubHandler=require(a39_0x5b60aa(0x166)),PerformanceTester=require(a39_0x5b60aa(0x1f4)),BrowserstackCLI=require(a39_0x5b60aa(0x1ea)),PerformanceEvents=require(a39_0x5b60aa(0x208))[a39_0x5b60aa(0x1e8)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x5b60aa(0x168)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x8df82f,_0x4f5622)=>{const _0x430503=a39_0x5b60aa,_0x32bade={'hnpbD':function(_0x114ea6){return _0x114ea6();},'zmtTR':function(_0x8c9b8d,_0x2eca13){return _0x8c9b8d(_0x2eca13);},'hfgdA':function(_0x3e6cd0,_0x5b4046){return _0x3e6cd0(_0x5b4046);},'gAdDt':_0x430503(0x1f6),'sSPIP':_0x430503(0x1ef)},_0x22e93c=!helper[_0x430503(0x1b6)](_0x8df82f[_0x430503(0x15b)]),_0xbb52cb=_0x22e93c?path[_0x430503(0x1cb)](process[_0x430503(0x1eb)](),_0x8df82f[_0x430503(0x15b)]):process[_0x430503(0x1eb)](),{resolveConfigFile:_0x44c96b,resolveConfigLocation:_0x3ae6b0}=helper[_0x430503(0x1f7)][_0x430503(0x16f)](null,_0x32bade['hnpbD'](getConfigLoaderPath)),_0x278906=_0x44c96b?_0x32bade[_0x430503(0x182)](_0x44c96b,_0xbb52cb):helper[_0x430503(0x1d2)](_0x32bade[_0x430503(0x18a)](_0x3ae6b0,_0xbb52cb),[_0x32bade[_0x430503(0x1ee)]]),_0x4b6efa={};if(_0x22e93c){const _0x22eb27=_0x4f5622['findIndex'](_0x468a5d=>_0x468a5d===_0x430503(0x19b)||_0x468a5d==='-c'||_0x468a5d[_0x430503(0x156)](_0x430503(0x1ef)));_0x4f5622[_0x430503(0x186)](_0x22eb27,_0x4f5622[_0x22eb27][_0x430503(0x156)](_0x32bade['sSPIP'])?0x1:0x2);}const _0x32acbf={};return _0x32acbf[_0x430503(0x16c)]=_0x278906,_0x32acbf['config']=_0x4b6efa,_0x32acbf;},handleO11yRerun=_0x5e1049=>{const _0x596c3d=a39_0x5b60aa,_0x5aab87={};_0x5aab87['LehAB']=_0x596c3d(0x196);const _0x411ce6=_0x5aab87,_0x57e586=helper[_0x596c3d(0x200)](process[_0x596c3d(0x199)][_0x596c3d(0x175)]);if(_0x57e586){const _0x1d712c=process[_0x596c3d(0x199)][_0x596c3d(0x19d)],_0x3e0f31=[];if(helper[_0x596c3d(0x17f)](_0x1d712c)&&!helper[_0x596c3d(0x1b6)](_0x1d712c)){_0x1d712c['split'](',')['map'](_0x231e9f=>{const _0xd20d59=_0x596c3d;_0x3e0f31[_0xd20d59(0x1ad)]('('+_0x231e9f['trim']()+')');});const _0x2ade3c='^'+_0x3e0f31['join']('|')+'$';_0x5e1049[_0x596c3d(0x1ad)](_0x411ce6[_0x596c3d(0x1f5)],_0x2ade3c);}}},spawnOriginalProcess=_0x31ce30=>{const _0x8886ef=a39_0x5b60aa,_0x9e5b97={'XBOWN':function(_0x406766,_0x436fb3,_0x1304af,_0x55022d){return _0x406766(_0x436fb3,_0x1304af,_0x55022d);},'kDuLm':_0x8886ef(0x1d4),'rrTYp':'playwright','zJToo':function(_0xc32c34,_0x509bc3){return _0xc32c34===_0x509bc3;},'cjXpZ':_0x8886ef(0x1cf),'SCNFu':_0x8886ef(0x1fb)};_0x9e5b97[_0x8886ef(0x1dc)](spawn,_0x9e5b97[_0x8886ef(0x20b)],[_0x9e5b97[_0x8886ef(0x172)],..._0x31ce30[_0x8886ef(0x16e)](0x1)],{'shell':_0x9e5b97['zJToo'](process[_0x8886ef(0x162)],_0x9e5b97['cjXpZ']),'stdio':_0x9e5b97[_0x8886ef(0x1c2)],'cwd':process['cwd']()});},isTestCommand=(_0x1e8972,_0x505e96)=>{const _0x18d0cc=a39_0x5b60aa,_0x3d8459={};_0x3d8459['RZohJ']=function(_0x711132,_0xb18cce){return _0x711132>_0xb18cce;},_0x3d8459[_0x18d0cc(0x1c7)]=function(_0x4d83f2,_0xf75332){return _0x4d83f2===_0xf75332;},_0x3d8459[_0x18d0cc(0x1c0)]=_0x18d0cc(0x1d0);const _0x405fb2=_0x3d8459;if(_0x405fb2[_0x18d0cc(0x17e)](_0x505e96[_0x18d0cc(0x1e6)],0x1)&&_0x405fb2[_0x18d0cc(0x1c7)](_0x505e96[0x1],_0x405fb2[_0x18d0cc(0x1c0)]))return!![];return![];};async function run(_0x42f20c,_0x263c5f,_0x320232){const _0x3146db=a39_0x5b60aa,_0x46f720={'QFuEH':function(_0x1a9f55,_0x5aa08f){return _0x1a9f55(_0x5aa08f);},'Ahuzc':_0x3146db(0x1dd),'lELTP':_0x3146db(0x1b9),'bEGVH':function(_0x27ccc9,_0xa38c6f){return _0x27ccc9+_0xa38c6f;},'rmHpQ':_0x3146db(0x174),'qAlyp':function(_0x375a05){return _0x375a05();},'XRers':function(_0x15755e){return _0x15755e();},'KZbna':_0x3146db(0x210),'dtwwA':_0x3146db(0x1d1),'Owohe':function(_0x1b93e4,_0x2bde2c){return _0x1b93e4<_0x2bde2c;},'Ozuhe':function(_0x39e344,_0x1aa11a){return _0x39e344===_0x1aa11a;},'WgWzD':_0x3146db(0x1fc),'SKypr':_0x3146db(0x1b4),'Aeler':function(_0x220d18,_0x19a3fb){return _0x220d18>=_0x19a3fb;},'XYTFQ':_0x3146db(0x164),'PjqSq':function(_0x226ea8,_0x505f95){return _0x226ea8!=_0x505f95;},'OXWlJ':function(_0x2742b2,_0x34c564,_0x4473f8){return _0x2742b2(_0x34c564,_0x4473f8);},'jfhPC':_0x3146db(0x16d),'VNHvq':_0x3146db(0x1db),'FXXzf':_0x3146db(0x16a),'ePgGO':_0x3146db(0x194),'Rmmza':function(_0x2ffdab,_0x3f94c8){return _0x2ffdab-_0x3f94c8;},'CUlIc':_0x3146db(0x1d9),'WEyMM':function(_0x24c735,_0x3da0ca){return _0x24c735>_0x3da0ca;},'sKThv':function(_0x36413d,_0x5b08a8){return _0x36413d+_0x5b08a8;},'dtSWH':function(_0x10d00d,_0x28e5ce,_0x2f50e9,_0x17c437){return _0x10d00d(_0x28e5ce,_0x2f50e9,_0x17c437);},'dfFXB':_0x3146db(0x1d4),'yRcTN':_0x3146db(0x1c8),'XmtUk':_0x3146db(0x1d0),'jCSjt':_0x3146db(0x19b),'WKKpB':_0x3146db(0x1cf),'TeJpi':_0x3146db(0x1fb),'RMFFb':'close','SPmAv':function(_0x57b45f,_0x3bc28a){return _0x57b45f|_0x3bc28a;},'lLbSU':function(_0x9ea989,_0x12e51d){return _0x9ea989+_0x12e51d;},'ExHOn':_0x3146db(0x1bc),'CFWPa':_0x3146db(0x20d),'gjrWR':function(_0x2d9312,_0x326d2a,_0x5ee6b7){return _0x2d9312(_0x326d2a,_0x5ee6b7);},'ICoam':function(_0x3f6643,_0x4d9730){return _0x3f6643(_0x4d9730);}};try{const _0x3b54d6=path['join'](helper[_0x3146db(0x1a6)](),_0x46f720['Ahuzc']);try{fs[_0x3146db(0x1ca)](_0x3b54d6,_0x46f720[_0x3146db(0x1d5)](fs['constants'][_0x3146db(0x167)],fs[_0x3146db(0x1c5)][_0x3146db(0x20c)]));}catch(_0xce43fd){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x126f80){logger[_0x3146db(0x1b3)](_0x46f720[_0x3146db(0x1c3)](_0x46f720['ExHOn'],_0x126f80));}try{const _0x5a5176=path[_0x3146db(0x19c)](helper['homedir'](),_0x46f720[_0x3146db(0x1c1)],_0x46f720[_0x3146db(0x180)]);fs['existsSync'](_0x5a5176)&&fs[_0x3146db(0x1fd)](_0x5a5176);}catch(_0x45bce0){logger['debug'](_0x46f720[_0x3146db(0x1cc)](_0x46f720[_0x3146db(0x1aa)],_0x45bce0));}if(!_0x46f720[_0x3146db(0x18b)](isTestCommand,_0x42f20c,_0x263c5f)){_0x46f720[_0x3146db(0x20f)](spawnOriginalProcess,_0x263c5f);return;}await PerformanceTester[_0x3146db(0x1a0)](PerformanceEvents[_0x3146db(0x159)],async()=>{const _0x534eca=_0x3146db,_0x15b24e={'OxHTX':_0x46f720[_0x534eca(0x1c1)],'faAEh':_0x46f720[_0x534eca(0x180)],'sglEa':function(_0x20d6d3,_0x45f912){const _0x367ac1=_0x534eca;return _0x46f720[_0x367ac1(0x1cc)](_0x20d6d3,_0x45f912);},'faACa':_0x46f720[_0x534eca(0x1d3)],'RbzHv':function(_0x1192d6){return _0x46f720['qAlyp'](_0x1192d6);},'nTToq':function(_0xa3a4a){const _0x9e6a7d=_0x534eca;return _0x46f720[_0x9e6a7d(0x1a5)](_0xa3a4a);},'BKrzw':_0x46f720[_0x534eca(0x20e)]};if(!_0x320232[_0x534eca(0x15b)]){logger[_0x534eca(0x1fa)](_0x46f720[_0x534eca(0x1c4)]);return;}await _0x320232[_0x534eca(0x1b5)](_0x42f20c),CLIUtils[_0x534eca(0x1b7)](FRAMEWORKS[_0x534eca(0x1e7)],FRAMEWORKS[_0x534eca(0x1e7)]),BrowserstackCLI['getInstance']()[_0x534eca(0x20a)](_0x320232[_0x534eca(0x15b)],_0x320232[_0x534eca(0x1be)]),await BrowserstackCLI[_0x534eca(0x163)]()[_0x534eca(0x1e2)]();for(var _0x4c489a=0x0;_0x46f720[_0x534eca(0x19a)](_0x4c489a,constants[_0x534eca(0x1e3)][_0x534eca(0x1e6)]);_0x4c489a++){var _0x3b4c92=constants[_0x534eca(0x1e3)][_0x4c489a];process['env'][_0x3b4c92]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x3b4c92);}const _0x59304a=BrowserstackCLI[_0x534eca(0x163)]()['getConfig']();!helper[_0x534eca(0x18d)](_0x59304a[_0x534eca(0x171)])&&(process[_0x534eca(0x199)][_0x534eca(0x1b2)]=!![]);_0x46f720['Ozuhe'](_0x59304a[_0x534eca(0x171)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x46f720[_0x534eca(0x1bf)],_0x263c5f=_0x263c5f[_0x534eca(0x1a1)](_0x118088=>_0x118088!==_0x534eca(0x158)));const _0x2c4dc7=_0x263c5f['indexOf'](_0x46f720[_0x534eca(0x1a3)]);(_0x46f720['Aeler'](_0x2c4dc7,0x0)||_0x46f720['Ozuhe'](_0x59304a[_0x534eca(0x187)],![]))&&(process[_0x534eca(0x199)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x46f720[_0x534eca(0x1bf)],_0x263c5f=_0x263c5f[_0x534eca(0x1a1)](_0x555b78=>_0x555b78!=='--disable-test-observability'));!helper[_0x534eca(0x1b6)](_0x320232[_0x534eca(0x1be)])&&_0x320232[_0x534eca(0x1be)][_0x534eca(0x1f3)](_0x46f720[_0x534eca(0x185)])&&(process[_0x534eca(0x199)][_0x534eca(0x1b2)]=_0x320232[_0x534eca(0x1be)][_0x534eca(0x165)](_0x46f720[_0x534eca(0x185)])||!![]);_0x46f720[_0x534eca(0x189)](_0x320232['config'][_0x534eca(0x187)],null)&&!helper[_0x534eca(0x200)](process[_0x534eca(0x199)][_0x534eca(0x1c9)])&&(process[_0x534eca(0x199)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x534eca(0x199)][_0x534eca(0x1c9)]||_0x320232['config'][_0x534eca(0x187)]);const _0x814471=!helper[_0x534eca(0x18d)](process[_0x534eca(0x199)][_0x534eca(0x1c9)]);_0x320232['config'][_0x534eca(0x17c)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x534eca(0x198)](_0x320232[_0x534eca(0x15b)][_0x534eca(0x17c)]));let _0x4a1886=![];_0x320232['config'][_0x534eca(0x188)]&&(_0x4a1886=!![],process['env'][_0x534eca(0x1e9)]=_0x320232[_0x534eca(0x15b)][_0x534eca(0x188)]);const _0x49ae54=_0x263c5f[_0x534eca(0x1f9)](),_0x2fbe5e=await _0x46f720[_0x534eca(0x157)](getUserPlaywrightConfig,_0x42f20c,_0x263c5f);if(helper[_0x534eca(0x1b6)](_0x2fbe5e)){_0x46f720[_0x534eca(0x193)](spawnOriginalProcess,_0x49ae54);return;}const _0x283615=_0x2fbe5e[_0x534eca(0x16c)]?path[_0x534eca(0x1c6)](_0x2fbe5e[_0x534eca(0x16c)]):process[_0x534eca(0x1eb)]();process[_0x534eca(0x199)][_0x534eca(0x1bb)]=_0x283615,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x3915e4=_0x534eca;!BrowserstackCLI[_0x3915e4(0x163)]()['isRunning']()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3915e4(0x1e7)],_0x320232),_0x814471&&_0x46f720[_0x3915e4(0x193)](handleO11yRerun,_0x263c5f);})();if(!BrowserstackCLI[_0x534eca(0x163)]()['isRunning']()){let _0x3c35b4=_0x46f720[_0x534eca(0x1ec)](process[_0x534eca(0x199)][_0x534eca(0x1e9)],_0x46f720[_0x534eca(0x1e0)]);_0x3c35b4=_0x3c35b4||_0x46f720[_0x534eca(0x193)](checkAccessibilityPlatformConfig,_0x320232['config']),process['env'][_0x534eca(0x1e9)]=_0x3c35b4,_0x3c35b4&&_0x46f720[_0x534eca(0x193)](setAccessibilityCapabilities,_0x320232[_0x534eca(0x15b)]);}const _0x263eb9=path[_0x534eca(0x19c)](_0x2fbe5e[_0x534eca(0x16c)]?path['dirname'](_0x2fbe5e[_0x534eca(0x16c)]):process[_0x534eca(0x1eb)](),_0x46f720[_0x534eca(0x1e4)]);fs[_0x534eca(0x1f1)](_0x263eb9,helper[_0x534eca(0x1a2)](_0x320232['config'])),process[_0x534eca(0x199)][_0x534eca(0x1f8)]=_0x263eb9,helper[_0x534eca(0x18e)]();let _0x1f42b5='';_0x46f720[_0x534eca(0x1ec)](helper['getPackageType'](),constants[_0x534eca(0x17d)]['MODULE'])?_0x1f42b5=_0x46f720['FXXzf']:_0x1f42b5=_0x46f720['ePgGO'];let _0x350ce9='';if(helper['isTypescriptProject'](_0x2fbe5e[_0x534eca(0x16c)])){_0x350ce9='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x46d433=_0x1f42b5['split']('.');_0x46d433[_0x46f720[_0x534eca(0x211)](_0x46d433['length'],0x1)]='ts',_0x1f42b5=_0x46d433[_0x534eca(0x19c)]('.'),logger[_0x534eca(0x1b3)](_0x46f720[_0x534eca(0x1cc)](_0x46f720[_0x534eca(0x203)],_0x1f42b5));}else _0x350ce9=_0x534eca(0x19f);const _0x33a9ba=path[_0x534eca(0x19c)](_0x2fbe5e[_0x534eca(0x16c)]?path[_0x534eca(0x1c6)](_0x2fbe5e['path']):process[_0x534eca(0x1eb)](),_0x1f42b5);let _0xdd3cff=_0x2fbe5e[_0x534eca(0x16c)]?_0x2fbe5e[_0x534eca(0x16c)]:'';_0xdd3cff=_0x46f720[_0x534eca(0x206)](_0xdd3cff[_0x534eca(0x1e6)],0x0)?path[_0x534eca(0x1cb)](_0xdd3cff):'',process['env'][_0x534eca(0x170)]=_0xdd3cff;const _0x248212=helper[_0x534eca(0x192)](_0x320232[_0x534eca(0x15b)]),_0x3fa2fd=helper[_0x534eca(0x176)](_0x320232[_0x534eca(0x15b)]);logger[_0x534eca(0x1b3)]('Proxy\x20url\x20:\x20'+_0x248212),logger['debug'](_0x534eca(0x202)+_0x3fa2fd);_0x248212&&(_0x350ce9=_0x46f720[_0x534eca(0x1d6)](_0x534eca(0x1de)+_0x248212+_0x534eca(0x1d8)+_0x3fa2fd+_0x534eca(0x1f2),_0x350ce9));helper[_0x534eca(0x173)]({},_0x263c5f),fs[_0x534eca(0x1f1)](_0x33a9ba,_0x350ce9),PerformanceTester[_0x534eca(0x197)](PerformanceEvents['SDK_SETUP']);const _0x3f6b7d=_0x46f720[_0x534eca(0x1fe)](spawn,_0x46f720['dfFXB'],[_0x46f720[_0x534eca(0x1bd)],_0x46f720['XmtUk'],_0x46f720[_0x534eca(0x191)],_0x46f720[_0x534eca(0x1ec)](process['platform'],_0x46f720[_0x534eca(0x195)])?'\x22'+_0x33a9ba+'\x22':_0x33a9ba,..._0x263c5f['slice'](0x2)],{'shell':_0x46f720[_0x534eca(0x1ec)](process['platform'],_0x46f720[_0x534eca(0x195)]),'stdio':_0x46f720[_0x534eca(0x1b1)],'cwd':process[_0x534eca(0x1eb)](),'env':Object['assign']({},process[_0x534eca(0x199)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x534eca(0x1ae)](_0x42f20c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x320232[_0x534eca(0x15b)][_0x534eca(0x1ac)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x320232['config'][_0x534eca(0x1ac)][_0x534eca(0x1ba)],'BROWSERSTACK_LOG_LEVEL':_0x320232[_0x534eca(0x15b)][_0x534eca(0x1a4)]})}),_0x2b563a=()=>{const _0x532e80=_0x534eca;try{const _0x1b5a66=path[_0x532e80(0x19c)](helper[_0x532e80(0x1a6)](),_0x15b24e[_0x532e80(0x1b0)],_0x15b24e['faAEh']);if(fs['existsSync'](_0x1b5a66)){let _0x4862ad=fs[_0x532e80(0x1ab)](_0x1b5a66);_0x4862ad=JSON[_0x532e80(0x201)](_0x4862ad),_0x320232[_0x532e80(0x15d)]=_0x4862ad,fs['unlinkSync'](_0x1b5a66);}}catch(_0x3a7220){logger[_0x532e80(0x1b3)](_0x15b24e[_0x532e80(0x205)](_0x15b24e[_0x532e80(0x209)],_0x3a7220));}};_0x3f6b7d['on'](_0x46f720[_0x534eca(0x184)],async _0x392a0c=>{const _0x260951=_0x534eca,_0x3eed8c={};_0x3eed8c[_0x260951(0x18f)]=_0x15b24e[_0x260951(0x1b0)];const _0x34f7b0=_0x3eed8c;try{PerformanceTester[_0x260951(0x15a)](PerformanceEvents['SDK_CLEANUP']),_0x15b24e[_0x260951(0x178)](_0x2b563a),await TestHubHandler[_0x260951(0x1ed)](),await ClientTroubleShootingService[_0x260951(0x183)](),await BrowserstackCLI[_0x260951(0x163)]()[_0x260951(0x1ed)](),TestDetails[_0x260951(0x15e)](),_0x15b24e[_0x260951(0x1da)](printBuildLink),await utilities[_0x260951(0x18c)](_0x320232),process[_0x260951(0x1a9)]=_0x392a0c,logger['debug'](_0x260951(0x1b8)+_0x392a0c),logger[_0x260951(0x1f0)](_0x260951(0x19e)+_0x33a9ba),fs[_0x260951(0x1fd)](_0x33a9ba);fs[_0x260951(0x161)](_0x263eb9)&&(logger[_0x260951(0x1b3)]('Deleting\x20'+_0x263eb9),fs[_0x260951(0x1fd)](_0x263eb9));const _0x5dafa3=fs[_0x260951(0x15c)](path[_0x260951(0x19c)](helper[_0x260951(0x1a6)](),_0x15b24e[_0x260951(0x1b0)]))['filter'](_0x4b2372=>_0x4b2372['startsWith'](_0x260951(0x181)));_0x5dafa3[_0x260951(0x1e5)](_0x10806b=>{const _0x4ea820=_0x260951;fs['unlinkSync'](path[_0x4ea820(0x19c)](helper['homedir'](),_0x34f7b0[_0x4ea820(0x18f)],_0x10806b));});}catch(_0x22bf18){logger[_0x260951(0x1b3)](_0x15b24e[_0x260951(0x205)](_0x15b24e['BKrzw'],_0x22bf18));}});})();}module[a39_0x5b60aa(0x1cd)]=run;