browserstack-node-sdk 1.49.11 → 1.50.0

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 +2 -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 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a33_0x1b2861=a33_0x4a23;function a33_0x15c2(){const _0x30e8d4=['push','__drivers','logLevel','Proxy\x20set\x20to\x20','isAccessibilityPlatform','isUndefined','proxyUrl','YJzNb','__driver','getHubUrl','chromeOptions_','egWSg','https://','Builder','TRYoS','setCapabilities','setLogLevel','firefoxOptions_','LPykp','quitCount_','capabilities_','edgeOptions','moz:firefoxOptions','firefoxOptions','originalBuilder','isPacProxy','fZXRJ','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','options_','2597326ShUoYq','proxySettings','KQTGY','Modifying\x20webdriver\x20builder','/wd/hub','kPMEx','qfDCe','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','send','global','safariOptions_','ixugg','build','../accessibility-automation/helper','wUVIj','kTOlB','proxy_','30FAFSVi','info','IiyrB','debug','../../../hubAllocationMethods','newHubUrl','url_','split','exports','/session','../../../helpers/helper','session_','IDTQL','AsycI','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/globals','setServer','ieOptions','3384752kNQbjB','goog:chromeOptions','bXvxn','DHWUX','getRequestOptions','keys','HttpClient','get','WhWlu','getGlobal','1447726WjzFkw','ieOptions_','yxBcu','RCUeJ','ms:edgeOptions','pRgbp','nmxsN','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','9zDizGO','1313004xtXpwL','optimalHubUrl','setGlobal','UmKxf','CAPABILITY_KEY','epANU','caps_','capability','qvlHT','then','forEach','../../../helpers/accessibility-automation/helper','1755060dbbUuC','__driversArray','edgeOptions_','bryUb','../../../bin/utils/constants','overrideGet','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','winstonLogger','4747936fNJjaw','requireSeleniumWebdriver','set','getAccessibilityResults','New\x20hub\x20url\x20set\x20to\x20','getHttpAgent','getAccessibilityResultsSummary','mergeDeep','pxqMM','__setBrowserOptions','isBrowserstackInfra','dJcRY','storeOptimalHubUrl','Wvixh','rNyWa','590892HzEVQZ','../../../helpers/logger'];a33_0x15c2=function(){return _0x30e8d4;};return a33_0x15c2();}(function(_0x14f6ef,_0x338795){const _0x175e55=a33_0x4a23,_0xfd8bb0=_0x14f6ef();while(!![]){try{const _0x58cd52=parseInt(_0x175e55(0x21f))/0x1+-parseInt(_0x175e55(0x1c6))/0x2+parseInt(_0x175e55(0x1fc))/0x3+parseInt(_0x175e55(0x1e9))/0x4+-parseInt(_0x175e55(0x208))/0x5+parseInt(_0x175e55(0x1d7))/0x6*(parseInt(_0x175e55(0x1f3))/0x7)+parseInt(_0x175e55(0x210))/0x8*(-parseInt(_0x175e55(0x1fb))/0x9);if(_0x58cd52===_0x338795)break;else _0xfd8bb0['push'](_0xfd8bb0['shift']());}catch(_0x35e1c5){_0xfd8bb0['push'](_0xfd8bb0['shift']());}}}(a33_0x15c2,0xa2847));function a33_0x4a23(_0x38a11c,_0x379517){const _0x15c273=a33_0x15c2();return a33_0x4a23=function(_0x4a23c7,_0x30cdf2){_0x4a23c7=_0x4a23c7-0x1ae;let _0x1d84f8=_0x15c273[_0x4a23c7];return _0x1d84f8;},a33_0x4a23(_0x38a11c,_0x379517);}const logger=require(a33_0x1b2861(0x220))[a33_0x1b2861(0x20f)],helper=require(a33_0x1b2861(0x1e1)),constants=require(a33_0x1b2861(0x20c)),hubAllocator=require(a33_0x1b2861(0x1db)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x1b2861(0x1d3)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x1b2861(0x207)),globals=require(a33_0x1b2861(0x1e6)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x23b5e3,_0x54eb50=null,_0x1faa4a=![])=>{const _0x1c3bba=a33_0x1b2861,_0x49872d={'egWSg':function(_0x3b5edf,_0x3e39bc){return _0x3b5edf!==_0x3e39bc;},'qvlHT':_0x1c3bba(0x1e0),'UuEKG':function(_0x1b1b2f,_0x22c7b7){return _0x1b1b2f+_0x22c7b7;},'pxqMM':function(_0x567d91,_0x27b747){return _0x567d91+_0x27b747;},'DaYMc':_0x1c3bba(0x1b5),'yxBcu':_0x1c3bba(0x1ca),'Wvixh':_0x1c3bba(0x1ea),'kDtLR':'chromeOptions','rNyWa':_0x1c3bba(0x1f7),'pRgbp':_0x1c3bba(0x1be),'kPMEx':_0x1c3bba(0x1bf),'DHWUX':_0x1c3bba(0x1c0),'KQTGY':'safari.options','UmKxf':'se:ieOptions','IiyrB':_0x1c3bba(0x1e8),'WjBTO':function(_0x447b18,_0x2d321c){return _0x447b18===_0x2d321c;},'EQQvw':'object','LPykp':'Setting\x20Browserstack\x20capabilities','wUVIj':_0x1c3bba(0x1fd),'brYKM':_0x1c3bba(0x1e5),'AsycI':function(_0xe9abbb,_0x5ee0ed,_0x5490e4){return _0xe9abbb(_0x5ee0ed,_0x5490e4);},'RCUeJ':function(_0x1597fa,_0x4787f4){return _0x1597fa(_0x4787f4);},'qfDCe':function(_0x57d8e0,_0x196064,_0x2c3c23){return _0x57d8e0(_0x196064,_0x2c3c23);},'bryUb':function(_0x26a3c2,_0x3ff5fa,_0x215ea8){return _0x26a3c2(_0x3ff5fa,_0x215ea8);},'kTOlB':'2|1|4|5|0|3','fZXRJ':_0x1c3bba(0x225),'nmxsN':function(_0x434d7c){return _0x434d7c();},'epANU':function(_0x35fc9f,_0xabb3f9){return _0x35fc9f(_0xabb3f9);},'yXqls':_0x1c3bba(0x20e),'WhWlu':function(_0x3c39be,_0x18ab07){return _0x3c39be(_0x18ab07);},'ixugg':function(_0x410308,_0x4548a2){return _0x410308(_0x4548a2);},'TRYoS':function(_0x588c5e,_0x286642){return _0x588c5e!==_0x286642;},'FdSSi':_0x1c3bba(0x1c4),'IDTQL':_0x1c3bba(0x1c9)},_0x37db2d=helper['requireHttpClient']();let _0x5f3304;try{_0x5f3304=helper[_0x1c3bba(0x211)](),_0x5f3304[_0x1c3bba(0x1c1)]&&(_0x5f3304['Builder']=_0x5f3304[_0x1c3bba(0x1c1)]);}catch(_0x1fd2ed){return;}if(helper[_0x1c3bba(0x21a)]()){const _0x541379={};_0x541379[_0x1c3bba(0x223)]=_0x23b5e3['browserStackLogLevel'],helper[_0x1c3bba(0x1b9)](_0x541379,new Map(),new Map()),logger[_0x1c3bba(0x1d8)](_0x49872d['FdSSi']),logger['debug'](_0x49872d[_0x1c3bba(0x1e3)]);}class _0x32f2f2 extends _0x37db2d['HttpClient']{['send'](_0x29ed4a){const _0x3e9ca4=_0x1c3bba;if(_0x49872d[_0x3e9ca4(0x1b4)](_0x29ed4a['path'],_0x49872d[_0x3e9ca4(0x204)])&&_0x49872d['egWSg'](global[_0x3e9ca4(0x1dc)],''))try{global[_0x3e9ca4(0x1dc)]=_0x49872d['UuEKG'](_0x49872d[_0x3e9ca4(0x218)](_0x49872d['DaYMc'],global[_0x3e9ca4(0x1dc)]),_0x49872d[_0x3e9ca4(0x1f5)]),this[_0x3e9ca4(0x1c5)]=hubAllocator[_0x3e9ca4(0x1ed)](global[_0x3e9ca4(0x1dc)]),logger[_0x3e9ca4(0x1da)](_0x3e9ca4(0x214)+global[_0x3e9ca4(0x1dc)]),global[_0x3e9ca4(0x1dc)]='';}catch(_0x5d6d1d){logger['error'](_0x5d6d1d);}return super[_0x3e9ca4(0x1ce)](_0x29ed4a);}}class _0x4efe05 extends _0x5f3304[_0x1c3bba(0x1b6)]{[_0x1c3bba(0x1e7)](){const _0x466fa4=_0x1c3bba;return this[_0x466fa4(0x1dd)]=helper[_0x466fa4(0x1b2)](_0x23b5e3),logger[_0x466fa4(0x1da)]('Hub\x20url\x20set\x20to\x20'+this[_0x466fa4(0x1dd)]),this;}[_0x1c3bba(0x219)](_0x54f490){const _0x84fa3d=_0x1c3bba;let _0x398b2a={};for(const _0x5b5bdd in _0x54f490){switch(_0x5b5bdd){case _0x49872d[_0x84fa3d(0x21d)]:case _0x49872d['kDtLR']:this[_0x84fa3d(0x1b3)]&&(_0x398b2a=this[_0x84fa3d(0x1b3)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1b3)]['CAPABILITY_KEY'])||{},this[_0x84fa3d(0x1b3)][_0x84fa3d(0x212)](this[_0x84fa3d(0x1b3)][_0x84fa3d(0x200)],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x21e)]:case _0x49872d[_0x84fa3d(0x1f8)]:this['edgeOptions_']&&(_0x398b2a=this[_0x84fa3d(0x20a)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x20a)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x20a)][_0x84fa3d(0x212)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1cb)]:case _0x49872d[_0x84fa3d(0x1ec)]:this[_0x84fa3d(0x1ba)]&&(_0x398b2a=this[_0x84fa3d(0x1ba)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1ba)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x1ba)][_0x84fa3d(0x212)](this[_0x84fa3d(0x1ba)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1c8)]:this[_0x84fa3d(0x1d0)]&&(_0x398b2a=this[_0x84fa3d(0x1d0)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1d0)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x1d0)][_0x84fa3d(0x212)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1ff)]:case _0x49872d[_0x84fa3d(0x1d9)]:this['ieOptions_']&&(_0x398b2a=this[_0x84fa3d(0x1f4)]['get'](this['ieOptions_'][_0x84fa3d(0x200)])||{},this['ieOptions_'][_0x84fa3d(0x212)](this[_0x84fa3d(0x1f4)][_0x84fa3d(0x200)],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;}}}['setCapabilities'](){const _0x4fa880=_0x1c3bba,_0x4797ce={'lqIAS':function(_0x3022db,_0x372569){return _0x49872d['WjBTO'](_0x3022db,_0x372569);},'yiwqO':_0x49872d['EQQvw']};return logger[_0x4fa880(0x1da)](_0x49872d[_0x4fa880(0x1bb)]),this[_0x4fa880(0x219)](_0x23b5e3['capability']),Object[_0x4fa880(0x1ee)](_0x23b5e3['capability'])[_0x4fa880(0x206)](_0x125219=>{const _0x3f5101=_0x4fa880,_0x19e14f=this[_0x3f5101(0x1bd)][_0x3f5101(0x1f0)](_0x125219);_0x4797ce['lqIAS'](typeof _0x19e14f,_0x4797ce['yiwqO'])?this[_0x3f5101(0x1bd)][_0x3f5101(0x212)](_0x125219,helper[_0x3f5101(0x217)](_0x19e14f,_0x23b5e3['capability'][_0x125219])):this[_0x3f5101(0x1bd)][_0x3f5101(0x212)](_0x125219,_0x23b5e3[_0x3f5101(0x203)][_0x125219]);}),this;}[_0x1c3bba(0x1d2)](){const _0x1aa386=_0x1c3bba,_0x3206fb={'dJcRY':function(_0x229ae2,_0x4bf7a6,_0x27aa1b){const _0xda1e49=a33_0x4a23;return _0x49872d[_0xda1e49(0x20b)](_0x229ae2,_0x4bf7a6,_0x27aa1b);},'YJzNb':function(_0x404b7c,_0x36037d,_0x34c059){const _0x4dfdf9=a33_0x4a23;return _0x49872d[_0x4dfdf9(0x1e4)](_0x404b7c,_0x36037d,_0x34c059);}};if(helper[_0x1aa386(0x21a)]()){const _0x3556fa=_0x49872d[_0x1aa386(0x1d5)][_0x1aa386(0x1de)]('|');let _0x246ab0=0x0;while(!![]){switch(_0x3556fa[_0x246ab0++]){case'0':globals[_0x1aa386(0x1f2)](_0x49872d[_0x1aa386(0x1c3)])&&(!_0x49872d[_0x1aa386(0x1cc)](setExtension,this,_0x23b5e3)&&globals[_0x1aa386(0x1fe)](_0x49872d[_0x1aa386(0x1c3)],![]));continue;case'1':this[_0x1aa386(0x1e7)]();continue;case'2':_0x49872d[_0x1aa386(0x1f9)](isAccessibilityAutomationSession)&&_0x49872d[_0x1aa386(0x201)](setAccessibilityCapabilities,_0x23b5e3);continue;case'3':logger['debug'](_0x49872d['yXqls']);continue;case'4':this[_0x1aa386(0x1b8)]();continue;case'5':if(helper[_0x1aa386(0x1c2)](_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)]))this['agent_']=helper[_0x1aa386(0x215)](_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)]);else _0x23b5e3['proxySettings'][_0x1aa386(0x1af)]&&(this[_0x1aa386(0x1d6)]=_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)],logger[_0x1aa386(0x1da)](_0x1aa386(0x224)+this[_0x1aa386(0x1d6)]));continue;}break;}}const _0x366a03=super[_0x1aa386(0x1d2)]();return _0x366a03[_0x1aa386(0x1e2)][_0x1aa386(0x205)](_0x1e0694=>{const _0x2238de=_0x1aa386;try{const _0x467726=_0x1e0694[_0x2238de(0x202)][_0x2238de(0x1f0)](_0x49872d[_0x2238de(0x1d4)]);_0x467726?(logger[_0x2238de(0x1da)](_0x2238de(0x1cd)+_0x467726),hubAllocator['updateHubUrl'](_0x467726),helper[_0x2238de(0x21c)](_0x467726)):logger[_0x2238de(0x1da)](_0x49872d['brYKM']);}catch(_0x25fe81){logger[_0x2238de(0x1da)](_0x2238de(0x1fa)+_0x25fe81);}}),_0x366a03[_0x1aa386(0x1bc)]=0x0,_0x366a03[_0x1aa386(0x205)]&&_0x366a03[_0x1aa386(0x205)](_0x9fde9f=>{const _0x58bb3b=_0x1aa386,_0x310386={'bXvxn':function(_0x17aea9,_0x38798d,_0x5379ef){const _0x22c565=a33_0x4a23;return _0x49872d[_0x22c565(0x1e4)](_0x17aea9,_0x38798d,_0x5379ef);}};_0x49872d['AsycI'](overrideQuit,_0x9fde9f,_0x366a03),_0x49872d[_0x58bb3b(0x1f6)](overrideTakeScreenshot,_0x9fde9f),helper[_0x58bb3b(0x20d)](_0x9fde9f,_0x23b5e3),_0x49872d[_0x58bb3b(0x1cc)](overrideExecute,_0x9fde9f,_0x23b5e3),_0x9fde9f[_0x58bb3b(0x216)]=async()=>{const _0x1340bc=_0x58bb3b;return await _0x3206fb[_0x1340bc(0x21b)](getAccessibilityResultsSummary,_0x9fde9f,global);},_0x9fde9f['getAccessibilityResults']=async()=>{const _0x5f005f=_0x58bb3b;return await _0x310386[_0x5f005f(0x1eb)](getAccessibilityResults,_0x9fde9f,global);};}),_0x366a03[_0x1aa386(0x216)]=async()=>{const _0x28a882=_0x1aa386;return await _0x3206fb[_0x28a882(0x21b)](getAccessibilityResultsSummary,_0x366a03,global);},_0x366a03[_0x1aa386(0x213)]=async()=>{const _0x51bc2b=_0x1aa386;return await _0x3206fb[_0x51bc2b(0x1b0)](getAccessibilityResults,_0x366a03,global);},_0x49872d[_0x1aa386(0x1f1)](overrideTakeScreenshot,_0x366a03),_0x49872d[_0x1aa386(0x1d1)](overrideQuit,_0x366a03),helper[_0x1aa386(0x20d)](_0x366a03,_0x23b5e3),_0x49872d[_0x1aa386(0x1e4)](overrideExecute,_0x366a03,_0x23b5e3),helper[_0x1aa386(0x1ae)](global[_0x1aa386(0x209)])&&(global['__driversArray']=[]),helper['isUndefined'](global[_0x1aa386(0x222)])&&(global['__drivers']=[]),global['__driversArray'][_0x1aa386(0x221)](_0x366a03),global[_0x1aa386(0x1b1)]=_0x366a03,_0x49872d[_0x1aa386(0x1b4)](global['__drivers'],undefined)&&global[_0x1aa386(0x222)][_0x1aa386(0x221)](_0x366a03),_0x54eb50&&helper[_0x1aa386(0x1ae)](_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x209)])&&(_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x209)]=[]),_0x54eb50&&_0x49872d[_0x1aa386(0x1b7)](_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x222)],undefined)&&(_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x222)][_0x1aa386(0x221)](_0x366a03),_0x54eb50['global'][_0x1aa386(0x209)][_0x1aa386(0x221)](_0x366a03)),_0x366a03;}}return _0x5f3304[_0x1c3bba(0x1c1)]=_0x5f3304['Builder'],_0x5f3304[_0x1c3bba(0x1b6)]=_0x4efe05,_0x37db2d[_0x1c3bba(0x1ef)]=_0x32f2f2,_0x5f3304;};module[a33_0x1b2861(0x1df)]['browserstackAgentObservability']=modify;
1
+ const a33_0x3ea761=a33_0x1931;(function(_0xaa5734,_0x44ea7c){const _0x3f9750=a33_0x1931,_0x533ac8=_0xaa5734();while(!![]){try{const _0x345721=parseInt(_0x3f9750(0x1ac))/0x1+-parseInt(_0x3f9750(0x15e))/0x2*(parseInt(_0x3f9750(0x17e))/0x3)+parseInt(_0x3f9750(0x158))/0x4+parseInt(_0x3f9750(0x163))/0x5+parseInt(_0x3f9750(0x16c))/0x6+-parseInt(_0x3f9750(0x15b))/0x7*(parseInt(_0x3f9750(0x160))/0x8)+-parseInt(_0x3f9750(0x14c))/0x9;if(_0x345721===_0x44ea7c)break;else _0x533ac8['push'](_0x533ac8['shift']());}catch(_0x3d95cc){_0x533ac8['push'](_0x533ac8['shift']());}}}(a33_0x42ba,0x9a0e4));const logger=require(a33_0x3ea761(0x188))['winstonLogger'],helper=require(a33_0x3ea761(0x155)),constants=require(a33_0x3ea761(0x1a2)),hubAllocator=require(a33_0x3ea761(0x167)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x3ea761(0x156)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x3ea761(0x19d)),globals=require(a33_0x3ea761(0x1a8)),{overrideExecute}=require(a33_0x3ea761(0x1ad)),modify=(_0x44278c,_0x3b92d9=null,_0x4b45f2=![])=>{const _0x5e6b6b=a33_0x3ea761,_0x1a788e={'ktaJJ':function(_0x56c3d9,_0x49cabe){return _0x56c3d9!==_0x49cabe;},'iYCjC':_0x5e6b6b(0x1b2),'tnZSs':function(_0x19f195,_0x452f53){return _0x19f195+_0x452f53;},'AFoHs':_0x5e6b6b(0x198),'plpEd':_0x5e6b6b(0x1a9),'CWkcq':'goog:chromeOptions','VAXfB':_0x5e6b6b(0x191),'dedOL':_0x5e6b6b(0x1be),'VNcmc':'edgeOptions','GDmOl':_0x5e6b6b(0x15f),'mkGcj':'firefoxOptions','zTsja':'safari.options','WUmZX':_0x5e6b6b(0x171),'kXcBL':'ieOptions','ggECY':function(_0x4d6ec2,_0x39614f){return _0x4d6ec2===_0x39614f;},'ylnwt':_0x5e6b6b(0x157),'zlUqC':_0x5e6b6b(0x19c),'RnnQU':_0x5e6b6b(0x18a),'nLAdP':_0x5e6b6b(0x16f),'MmKmz':function(_0x1218fb,_0x5b236d,_0x4101c2){return _0x1218fb(_0x5b236d,_0x4101c2);},'beivu':'2|3|4|0|5|1','qiTAn':function(_0x9927a0,_0x14ab07){return _0x9927a0(_0x14ab07);},'rpAnx':_0x5e6b6b(0x14d),'xhXhM':function(_0x3dfb69){return _0x3dfb69();},'CLMCC':function(_0x137824,_0x22d108){return _0x137824(_0x22d108);},'Dafew':_0x5e6b6b(0x187),'BPgdx':_0x5e6b6b(0x182),'FIsiR':function(_0x5e5378,_0xc56941,_0x8cdc32){return _0x5e5378(_0xc56941,_0x8cdc32);},'PvDTa':_0x5e6b6b(0x152),'qfHLr':_0x5e6b6b(0x185)},_0x43cda8=helper[_0x5e6b6b(0x176)]();let _0x53b2da;try{_0x53b2da=helper[_0x5e6b6b(0x161)](),_0x53b2da['originalBuilder']&&(_0x53b2da[_0x5e6b6b(0x1b8)]=_0x53b2da[_0x5e6b6b(0x16a)]);}catch(_0x2d3944){return;}if(helper['isBrowserstackInfra']()){const _0x1d95dc={};_0x1d95dc[_0x5e6b6b(0x169)]=_0x44278c[_0x5e6b6b(0x17d)],helper['setLogLevel'](_0x1d95dc,new Map(),new Map()),logger['info'](_0x1a788e[_0x5e6b6b(0x19f)]),logger[_0x5e6b6b(0x15a)](_0x1a788e[_0x5e6b6b(0x183)]);}class _0x59d29b extends _0x43cda8[_0x5e6b6b(0x19a)]{[_0x5e6b6b(0x164)](_0x396e30){const _0x528b95=_0x5e6b6b;if(_0x1a788e[_0x528b95(0x162)](_0x396e30[_0x528b95(0x15c)],_0x1a788e[_0x528b95(0x14e)])&&_0x1a788e[_0x528b95(0x162)](global[_0x528b95(0x181)],''))try{global[_0x528b95(0x181)]=_0x1a788e[_0x528b95(0x145)](_0x1a788e[_0x528b95(0x145)](_0x1a788e[_0x528b95(0x1bb)],global[_0x528b95(0x181)]),_0x1a788e[_0x528b95(0x153)]),this[_0x528b95(0x1b9)]=hubAllocator[_0x528b95(0x154)](global[_0x528b95(0x181)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global[_0x528b95(0x181)]),global[_0x528b95(0x181)]='';}catch(_0x3a1772){logger['error'](_0x3a1772);}return super[_0x528b95(0x164)](_0x396e30);}}class _0x1a68d4 extends _0x53b2da[_0x5e6b6b(0x1b8)]{[_0x5e6b6b(0x1ae)](){const _0x1930d4=_0x5e6b6b;return this[_0x1930d4(0x179)]=helper[_0x1930d4(0x173)](_0x44278c),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x1930d4(0x179)]),this;}[_0x5e6b6b(0x1b6)](_0x374c02){const _0x519fbe=_0x5e6b6b;let _0x284669={};for(const _0x1ca88d in _0x374c02){switch(_0x1ca88d){case _0x1a788e[_0x519fbe(0x19b)]:case _0x1a788e['VAXfB']:this[_0x519fbe(0x1b3)]&&(_0x284669=this['chromeOptions_'][_0x519fbe(0x17c)](this[_0x519fbe(0x1b3)][_0x519fbe(0x192)])||{},this['chromeOptions_'][_0x519fbe(0x189)](this[_0x519fbe(0x1b3)][_0x519fbe(0x192)],helper['mergeDeep'](_0x284669,_0x374c02[_0x1ca88d])));break;case _0x1a788e[_0x519fbe(0x16d)]:case _0x1a788e[_0x519fbe(0x159)]:this[_0x519fbe(0x19e)]&&(_0x284669=this[_0x519fbe(0x19e)]['get'](this[_0x519fbe(0x19e)][_0x519fbe(0x192)])||{},this['edgeOptions_'][_0x519fbe(0x189)](this[_0x519fbe(0x19e)][_0x519fbe(0x192)],helper[_0x519fbe(0x14f)](_0x284669,_0x374c02[_0x1ca88d])));break;case _0x1a788e[_0x519fbe(0x1a3)]:case _0x1a788e[_0x519fbe(0x165)]:this['firefoxOptions_']&&(_0x284669=this[_0x519fbe(0x1a5)][_0x519fbe(0x17c)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x519fbe(0x1a5)][_0x519fbe(0x189)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x519fbe(0x14f)](_0x284669,_0x374c02[_0x1ca88d])));break;case _0x1a788e[_0x519fbe(0x1b0)]:this[_0x519fbe(0x1a4)]&&(_0x284669=this['safariOptions_'][_0x519fbe(0x17c)](this[_0x519fbe(0x1a4)][_0x519fbe(0x192)])||{},this['safariOptions_']['set'](this[_0x519fbe(0x1a4)][_0x519fbe(0x192)],helper[_0x519fbe(0x14f)](_0x284669,_0x374c02[_0x1ca88d])));break;case _0x1a788e[_0x519fbe(0x1af)]:case _0x1a788e[_0x519fbe(0x17b)]:this[_0x519fbe(0x196)]&&(_0x284669=this[_0x519fbe(0x196)][_0x519fbe(0x17c)](this[_0x519fbe(0x196)][_0x519fbe(0x192)])||{},this[_0x519fbe(0x196)][_0x519fbe(0x189)](this['ieOptions_'][_0x519fbe(0x192)],helper[_0x519fbe(0x14f)](_0x284669,_0x374c02[_0x1ca88d])));break;}}}[_0x5e6b6b(0x190)](){const _0x508c5d=_0x5e6b6b,_0x1b8728={'gocvi':function(_0x1120ab,_0x1a9689){const _0x451af9=a33_0x1931;return _0x1a788e[_0x451af9(0x174)](_0x1120ab,_0x1a9689);},'uXoEU':_0x1a788e[_0x508c5d(0x16e)]};return logger[_0x508c5d(0x15a)](_0x1a788e[_0x508c5d(0x197)]),this[_0x508c5d(0x1b6)](_0x44278c[_0x508c5d(0x193)]),Object[_0x508c5d(0x178)](_0x44278c[_0x508c5d(0x193)])[_0x508c5d(0x180)](_0x46edc0=>{const _0x53ad39=_0x508c5d,_0x9cc2b5=this[_0x53ad39(0x175)][_0x53ad39(0x17c)](_0x46edc0);_0x1b8728[_0x53ad39(0x1a6)](typeof _0x9cc2b5,_0x1b8728['uXoEU'])?this[_0x53ad39(0x175)][_0x53ad39(0x189)](_0x46edc0,helper['mergeDeep'](_0x9cc2b5,_0x44278c[_0x53ad39(0x193)][_0x46edc0])):this[_0x53ad39(0x175)][_0x53ad39(0x189)](_0x46edc0,_0x44278c[_0x53ad39(0x193)][_0x46edc0]);}),this;}[_0x5e6b6b(0x1b5)](){const _0x1522da=_0x5e6b6b,_0x149429={'fpGAO':function(_0x4b649b,_0x859a04,_0x3c516e){const _0x28f751=a33_0x1931;return _0x1a788e[_0x28f751(0x166)](_0x4b649b,_0x859a04,_0x3c516e);},'OcCiw':_0x1a788e[_0x1522da(0x184)],'AoFoF':function(_0x3d9e58,_0x43d4cb){const _0x4ab092=_0x1522da;return _0x1a788e[_0x4ab092(0x172)](_0x3d9e58,_0x43d4cb);}};if(helper[_0x1522da(0x14a)]()){const _0x52aef5=_0x1a788e[_0x1522da(0x1aa)][_0x1522da(0x1b4)]('|');let _0x197bc3=0x0;while(!![]){switch(_0x52aef5[_0x197bc3++]){case'0':_0x1a788e['xhXhM'](isAccessibilityAutomationSession)&&_0x1a788e[_0x1522da(0x16b)](setAccessibilityCapabilities,_0x44278c);continue;case'1':if(helper[_0x1522da(0x195)](_0x44278c[_0x1522da(0x1b7)][_0x1522da(0x1bd)]))this['agent_']=helper[_0x1522da(0x1a7)](_0x44278c[_0x1522da(0x1b7)][_0x1522da(0x1bd)]);else _0x44278c[_0x1522da(0x1b7)][_0x1522da(0x1bd)]&&(this[_0x1522da(0x170)]=_0x44278c['proxySettings'][_0x1522da(0x1bd)],logger[_0x1522da(0x15a)](_0x1522da(0x15d)+this[_0x1522da(0x170)]));continue;case'2':logger[_0x1522da(0x15a)](_0x1a788e[_0x1522da(0x17f)]);continue;case'3':this[_0x1522da(0x1ae)]();continue;case'4':globals['getGlobal'](_0x1a788e[_0x1522da(0x186)])&&(!_0x1a788e[_0x1522da(0x1b1)](setExtension,this,_0x44278c)&&globals[_0x1522da(0x1a1)](_0x1a788e['BPgdx'],![]));continue;case'5':this['setCapabilities']();continue;}break;}}const _0x530050=super[_0x1522da(0x1b5)]();return _0x530050['session_'][_0x1522da(0x199)](_0x1530ac=>{const _0x5e54dc=_0x1522da;try{const _0x89942c=_0x1530ac['caps_'][_0x5e54dc(0x17c)](_0x1a788e[_0x5e54dc(0x147)]);_0x89942c?(logger[_0x5e54dc(0x15a)](_0x5e54dc(0x1a0)+_0x89942c),hubAllocator[_0x5e54dc(0x177)](_0x89942c),helper[_0x5e54dc(0x149)](_0x89942c)):logger[_0x5e54dc(0x15a)](_0x1a788e[_0x5e54dc(0x18e)]);}catch(_0x3c05c7){logger[_0x5e54dc(0x15a)](_0x5e54dc(0x18b)+_0x3c05c7);}}),_0x530050[_0x1522da(0x18d)]=0x0,_0x530050[_0x1522da(0x199)]&&_0x530050[_0x1522da(0x199)](_0x44f53a=>{const _0x23600a=_0x1522da,_0x36aefe=_0x149429[_0x23600a(0x18f)]['split']('|');let _0x5ec6a0=0x0;while(!![]){switch(_0x36aefe[_0x5ec6a0++]){case'0':_0x149429[_0x23600a(0x1ab)](overrideExecute,_0x44f53a,_0x44278c);continue;case'1':_0x44f53a['getAccessibilityResults']=async()=>{return await _0x149429['fpGAO'](getAccessibilityResults,_0x44f53a,global);};continue;case'2':_0x149429['fpGAO'](overrideQuit,_0x44f53a,_0x530050);continue;case'3':_0x149429['AoFoF'](overrideTakeScreenshot,_0x44f53a);continue;case'4':helper[_0x23600a(0x151)](_0x44f53a,_0x44278c);continue;case'5':_0x44f53a['getAccessibilityResultsSummary']=async()=>{const _0x4b1211=_0x23600a;return await _0x149429[_0x4b1211(0x1ab)](getAccessibilityResultsSummary,_0x44f53a,global);};continue;}break;}}),_0x530050[_0x1522da(0x150)]=async()=>{const _0x17f56d=_0x1522da;return await _0x149429[_0x17f56d(0x1ab)](getAccessibilityResultsSummary,_0x530050,global);},_0x530050[_0x1522da(0x148)]=async()=>{const _0x25c913=_0x1522da;return await _0x1a788e[_0x25c913(0x166)](getAccessibilityResults,_0x530050,global);},_0x1a788e[_0x1522da(0x16b)](overrideTakeScreenshot,_0x530050),_0x1a788e[_0x1522da(0x16b)](overrideQuit,_0x530050),helper[_0x1522da(0x151)](_0x530050,_0x44278c),_0x1a788e[_0x1522da(0x1b1)](overrideExecute,_0x530050,_0x44278c),helper[_0x1522da(0x18c)](global[_0x1522da(0x168)])&&(global[_0x1522da(0x168)]=[]),helper[_0x1522da(0x18c)](global['__drivers'])&&(global[_0x1522da(0x17a)]=[]),global[_0x1522da(0x168)][_0x1522da(0x1ba)](_0x530050),global[_0x1522da(0x1bc)]=_0x530050,_0x1a788e[_0x1522da(0x162)](global['__drivers'],undefined)&&global[_0x1522da(0x17a)][_0x1522da(0x1ba)](_0x530050),_0x3b92d9&&helper[_0x1522da(0x18c)](_0x3b92d9[_0x1522da(0x14b)][_0x1522da(0x168)])&&(_0x3b92d9['global'][_0x1522da(0x168)]=[]),_0x3b92d9&&_0x1a788e[_0x1522da(0x162)](_0x3b92d9[_0x1522da(0x14b)][_0x1522da(0x17a)],undefined)&&(_0x3b92d9['global']['__drivers'][_0x1522da(0x1ba)](_0x530050),_0x3b92d9[_0x1522da(0x14b)][_0x1522da(0x168)][_0x1522da(0x1ba)](_0x530050)),_0x530050;}}return _0x53b2da[_0x5e6b6b(0x16a)]=_0x53b2da[_0x5e6b6b(0x1b8)],_0x53b2da['Builder']=_0x1a68d4,_0x43cda8[_0x5e6b6b(0x19a)]=_0x59d29b,_0x53b2da;};function a33_0x1931(_0x912c4,_0x5c8351){const _0x42ba21=a33_0x42ba();return a33_0x1931=function(_0x19315f,_0x27a497){_0x19315f=_0x19315f-0x145;let _0x3f9556=_0x42ba21[_0x19315f];return _0x3f9556;},a33_0x1931(_0x912c4,_0x5c8351);}function a33_0x42ba(){const _0x347810=['7207074WplHvJ','0|3|5|1|4|2','iYCjC','mergeDeep','getAccessibilityResultsSummary','overrideGet','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','plpEd','getRequestOptions','../../../helpers/helper','../../../helpers/patchHelpers','object','4716028vFcWCu','VNcmc','debug','14sddJMT','path','Proxy\x20set\x20to\x20','471140nQsOVK','moz:firefoxOptions','1272056NwoWrn','requireSeleniumWebdriver','ktaJJ','4326735HEMziw','send','mkGcj','MmKmz','../../../hubAllocationMethods','__driversArray','logLevel','originalBuilder','CLMCC','82074OFMCWi','dedOL','ylnwt','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','proxy_','se:ieOptions','qiTAn','getHubUrl','ggECY','capabilities_','requireHttpClient','updateHubUrl','keys','url_','__drivers','kXcBL','get','browserStackLogLevel','15dlXAOY','Dafew','forEach','newHubUrl','isAccessibilityPlatform','qfHLr','beivu','Modifying\x20webdriver\x20builder','BPgdx','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../../../helpers/logger','set','optimalHubUrl','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','isUndefined','quitCount_','nLAdP','OcCiw','setCapabilities','chromeOptions','CAPABILITY_KEY','capability','exports','isPacProxy','ieOptions_','zlUqC','https://','then','HttpClient','CWkcq','Setting\x20Browserstack\x20capabilities','../../../helpers/accessibility-automation/helper','edgeOptions_','PvDTa','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','setGlobal','../../../bin/utils/constants','GDmOl','safariOptions_','firefoxOptions_','gocvi','getHttpAgent','../../../helpers/globals','/wd/hub','rpAnx','fpGAO','869629VsjovA','./helpers/patchHelper','setServer','WUmZX','zTsja','FIsiR','/session','chromeOptions_','split','build','__setBrowserOptions','proxySettings','Builder','options_','push','AFoHs','__driver','proxyUrl','ms:edgeOptions','tnZSs','browserstackAgentObservability','RnnQU','getAccessibilityResults','storeOptimalHubUrl','isBrowserstackInfra','global'];a33_0x42ba=function(){return _0x347810;};return a33_0x42ba();}module[a33_0x3ea761(0x194)][a33_0x3ea761(0x146)]=modify;
@@ -1 +1 @@
1
- const a34_0x134301=a34_0x5369;(function(_0x260da6,_0x5e7f84){const _0x64b104=a34_0x5369,_0x4edc2b=_0x260da6();while(!![]){try{const _0x3d3c56=-parseInt(_0x64b104(0x1d1))/0x1+-parseInt(_0x64b104(0x1e0))/0x2*(-parseInt(_0x64b104(0x1de))/0x3)+parseInt(_0x64b104(0x1dc))/0x4*(parseInt(_0x64b104(0x1da))/0x5)+parseInt(_0x64b104(0x1df))/0x6*(parseInt(_0x64b104(0x1d8))/0x7)+-parseInt(_0x64b104(0x1d2))/0x8+parseInt(_0x64b104(0x1d4))/0x9*(-parseInt(_0x64b104(0x1d5))/0xa)+-parseInt(_0x64b104(0x1d7))/0xb*(-parseInt(_0x64b104(0x1d9))/0xc);if(_0x3d3c56===_0x5e7f84)break;else _0x4edc2b['push'](_0x4edc2b['shift']());}catch(_0xa89870){_0x4edc2b['push'](_0x4edc2b['shift']());}}}(a34_0x1669,0xdfa84));function a34_0x1669(){const _0x1d6b61=['145UnCBxq','../../../bin/utils/constants','85864YOtRUG','../../../helpers/request-spy','3168OyVCqo','11274FaZCsA','1886smggIN','mochaHooks','692046Kadgiu','5015176MhOEwH','restore','1041273VYPxTY','140MfyroC','../../../helpers/test-observability/utils','20901518AxSnDi','1253vlLrAk','12wrUXnU'];a34_0x1669=function(){return _0x1d6b61;};return a34_0x1669();}const requestSpy=require(a34_0x134301(0x1dd)),constants=require(a34_0x134301(0x1db)),{addRequestSpy}=require(a34_0x134301(0x1d6));function a34_0x5369(_0x55cd5a,_0x5acfe8){const _0x166947=a34_0x1669();return a34_0x5369=function(_0x53697e,_0x2f85c5){_0x53697e=_0x53697e-0x1d0;let _0x5ec0de=_0x166947[_0x53697e];return _0x5ec0de;},a34_0x5369(_0x55cd5a,_0x5acfe8);}exports[a34_0x134301(0x1d0)]={'beforeAll'(){const _0x5e8eae={'AiOWm':function(_0x3edfd8){return _0x3edfd8();}},_0x522e30='browserstack internal helper hook';_0x5e8eae['AiOWm'](addRequestSpy);},'afterAll'(){const _0x4cf3e5=a34_0x134301,_0xc9b229='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x4cf3e5(0x1d3)]();}};
1
+ const a34_0x3507f1=a34_0x14d0;function a34_0x14d0(_0x43d505,_0x3d2b85){const _0x4fd5ae=a34_0x4fd5();return a34_0x14d0=function(_0x14d021,_0x44921c){_0x14d021=_0x14d021-0xaa;let _0xaffb55=_0x4fd5ae[_0x14d021];return _0xaffb55;},a34_0x14d0(_0x43d505,_0x3d2b85);}(function(_0x70e3e6,_0x4a60aa){const _0x54dd35=a34_0x14d0,_0x26e934=_0x70e3e6();while(!![]){try{const _0x5041ba=-parseInt(_0x54dd35(0xb9))/0x1+parseInt(_0x54dd35(0xb1))/0x2+-parseInt(_0x54dd35(0xaf))/0x3*(-parseInt(_0x54dd35(0xae))/0x4)+-parseInt(_0x54dd35(0xac))/0x5+parseInt(_0x54dd35(0xb2))/0x6*(-parseInt(_0x54dd35(0xb7))/0x7)+-parseInt(_0x54dd35(0xab))/0x8*(parseInt(_0x54dd35(0xb6))/0x9)+parseInt(_0x54dd35(0xb4))/0xa;if(_0x5041ba===_0x4a60aa)break;else _0x26e934['push'](_0x26e934['shift']());}catch(_0x275351){_0x26e934['push'](_0x26e934['shift']());}}}(a34_0x4fd5,0xf0ec8));const requestSpy=require(a34_0x3507f1(0xb5)),constants=require(a34_0x3507f1(0xaa)),{addRequestSpy}=require(a34_0x3507f1(0xb3));exports[a34_0x3507f1(0xb8)]={'beforeAll'(){const _0xad5e03=a34_0x3507f1,_0x2b5a2a={'pfJkl':function(_0x1accf6){return _0x1accf6();}},_0x555a1c='browserstack internal helper hook';_0x2b5a2a[_0xad5e03(0xad)](addRequestSpy);},'afterAll'(){const _0x395d99=a34_0x3507f1,_0x2552b9='browserstack internal helper hook';this[_0x395d99(0xb0)](0xea60),requestSpy['restore']();}};function a34_0x4fd5(){const _0x3ca0d9=['mochaHooks','883058JZhDzm','../../../bin/utils/constants','48DaQWTZ','2883150bhyHLF','pfJkl','177316BYXTIU','33aibISz','timeout','2615788gnLpwe','6lSvACb','../../../helpers/test-observability/utils','37211400TbioAO','../../../helpers/request-spy','2936268pKCZXV','7788403iwRXNd'];a34_0x4fd5=function(){return _0x3ca0d9;};return a34_0x4fd5();}
@@ -1 +1 @@
1
- const a35_0x3fc0e4=a35_0x223b;(function(_0x36698d,_0x5a09bd){const _0x357d53=a35_0x223b,_0x365055=_0x36698d();while(!![]){try{const _0x4c3ec2=parseInt(_0x357d53(0x19d))/0x1+parseInt(_0x357d53(0x1b3))/0x2+-parseInt(_0x357d53(0x1bb))/0x3*(-parseInt(_0x357d53(0x1ad))/0x4)+parseInt(_0x357d53(0x1b1))/0x5*(parseInt(_0x357d53(0x1b9))/0x6)+parseInt(_0x357d53(0x1d5))/0x7+-parseInt(_0x357d53(0x1bf))/0x8*(parseInt(_0x357d53(0x1e6))/0x9)+-parseInt(_0x357d53(0x197))/0xa;if(_0x4c3ec2===_0x5a09bd)break;else _0x365055['push'](_0x365055['shift']());}catch(_0x1a18d9){_0x365055['push'](_0x365055['shift']());}}}(a35_0x2440,0x9ff31));function a35_0x2440(){const _0x51846e=['qIxKq','8ThaAPc','MPVAG','hook','OtLRc','getCapabilities','iGYRx','slice','generic','state','_beforeAll','_afterEach','getHookSkippedTests','fromEntries','map_','getPlatform','KPuoi','../../utils/logPatcher','getHookDetails','nKKxG','__cloud_provider___','mzJHP','unknown_grid','4971911wMhkyD','OMkPb','xJFVp','browserstack','split','hookAnalyticsId','sztfJ','YFfGM','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hook:','toJSON','failed','../../../helpers/testhub/utils','push','bs:addPlatformDetails:','pid','_afterAll','10738287GiUczR','mapTestHooks','xJkDh','../../../helpers/test-observability/constants','getBrowserVersion','../../../helpers/test-observability/utils','pDnWj','getHooksForTest','suites','21698580yMhUeO','BSUSg','hwSCm','IgQYg','QqNWj','bBxmS','956775oxdgGb','string','concat','BZVUj','TEST_PLATFORM','getSession','parent','fjkdJ','markedStatus','js-','ZQoBt','kpeyF','lodash','get','jlVOw','indexOf','16648kRBIDh','forEach','sendPlatformDetails','OQNGH','34380fKldtm','emit','53544elJtrq','uuid','DADPg','JIgeR','passed','rzanY','906zHzGUl','HKPRG','927CKiNPl','toISOString','_beforeEach'];a35_0x2440=function(){return _0x51846e;};return a35_0x2440();}function a35_0x223b(_0x5897dd,_0xbeab7e){const _0x2440ef=a35_0x2440();return a35_0x223b=function(_0x223b4e,_0x17d275){_0x223b4e=_0x223b4e-0x194;let _0x4544b0=_0x2440ef[_0x223b4e];return _0x4544b0;},a35_0x223b(_0x5897dd,_0xbeab7e);}const {v4:uuidv4}=require(a35_0x3fc0e4(0x1b4)),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x3fc0e4(0x1cf)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x3fc0e4(0x1eb)),{consoleHolder}=require(a35_0x3fc0e4(0x1e9)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x3fc0e4(0x1e1)),{isFunction}=require(a35_0x3fc0e4(0x1a9)),{patchConsoleLogger}=require(a35_0x3fc0e4(0x1eb));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x445dc7=a35_0x3fc0e4,_0x1e96f3={'CkVfR':_0x445dc7(0x1c6),'jlVOw':function(_0x20cfc9){return _0x20cfc9();}};return{'ci':_0x1e96f3['CkVfR'],'key':_0x1e96f3[_0x445dc7(0x1ab)](uuidv4),'version':version,'collector':_0x445dc7(0x1a6)+name};},exports[a35_0x3fc0e4(0x1d0)]=_0xa02abe=>{const _0x403da3=a35_0x3fc0e4,_0x1d6472={};_0x1d6472[_0x403da3(0x199)]=function(_0x411bb9,_0x3b44aa){return _0x411bb9!==_0x3b44aa;},_0x1d6472['aAJXi']=_0x403da3(0x19e),_0x1d6472[_0x403da3(0x1c2)]=function(_0x180d08,_0xb805fb){return _0x180d08!==_0xb805fb;},_0x1d6472[_0x403da3(0x1d7)]=_0x403da3(0x1de),_0x1d6472[_0x403da3(0x1b5)]=_0x403da3(0x1c1);const _0x388e6e=_0x1d6472;if(!_0xa02abe||_0x388e6e['hwSCm'](typeof _0xa02abe,_0x388e6e['aAJXi']))return[null,null];if(_0x388e6e['OtLRc'](_0xa02abe[_0x403da3(0x1ac)](_0x388e6e[_0x403da3(0x1d7)]),-0x1)){const _0x2a4d69=_0xa02abe[_0x403da3(0x1d9)](_0x388e6e[_0x403da3(0x1d7)]);return[_0x2a4d69[0x0][_0x403da3(0x1c5)](0x0,-0x1)[_0x403da3(0x1d9)]('\x22')[0x1],_0x2a4d69[0x1]['substring'](0x1)];}else{if(_0x388e6e[_0x403da3(0x1c2)](_0xa02abe['indexOf'](_0x388e6e['DADPg']),-0x1)){const _0x46e53d=_0xa02abe[_0x403da3(0x1d9)](_0x388e6e['DADPg']);return[_0x46e53d[0x0][_0x403da3(0x1c5)](0x0,-0x1)['split']('\x22')[0x1],_0xa02abe];}}return[null,null];},exports[a35_0x3fc0e4(0x195)]=_0x5b69ef=>{const _0x544509=a35_0x3fc0e4,_0x4e250a={'ZXeyn':function(_0x5ad1f0,_0x8203b8){return _0x5ad1f0(_0x8203b8);},'iGYRx':_0x544509(0x1c8),'ZQoBt':_0x544509(0x1e5),'sztfJ':_0x544509(0x1bd),'IgQYg':_0x544509(0x1c9)};if(!_0x5b69ef||!_0x5b69ef[_0x544509(0x1a3)])return[];const _0x247ffb=[];return[_0x4e250a[_0x544509(0x1c4)],_0x4e250a[_0x544509(0x1a7)],_0x4e250a[_0x544509(0x1db)],_0x4e250a[_0x544509(0x19a)]][_0x544509(0x1ae)](_0x42c9ff=>{const _0x36f4e4=_0x544509,_0x157bd1=_0x5b69ef[_0x36f4e4(0x1a3)][_0x42c9ff]||[];_0x157bd1[_0x36f4e4(0x1ae)](_0x28aa88=>{const _0xa2d772=_0x36f4e4;_0x28aa88[_0xa2d772(0x1da)]&&!_0x4e250a['ZXeyn'](isInternalHook,_0x28aa88['fn'])&&_0x247ffb[_0xa2d772(0x1e2)](_0x28aa88[_0xa2d772(0x1da)]);});}),[..._0x247ffb,...exports[_0x544509(0x195)](_0x5b69ef[_0x544509(0x1a3)])];},exports[a35_0x3fc0e4(0x1e7)]=_0x2348d4=>{const _0x1f3cf2=a35_0x3fc0e4,_0x28b523={'HLeKE':function(_0x49202c){return _0x49202c();},'HKPRG':function(_0x21cc50,_0x35cb1d){return _0x21cc50===_0x35cb1d;},'BSUSg':_0x1f3cf2(0x1c9),'kpeyF':'_beforeAll','nKKxG':'_afterAll','BZVUj':_0x1f3cf2(0x1bd)};if(!_0x2348d4||!_0x2348d4[_0x1f3cf2(0x1a3)])return;[_0x28b523[_0x1f3cf2(0x1a8)],_0x28b523[_0x1f3cf2(0x1d1)],_0x28b523[_0x1f3cf2(0x1a0)],_0x28b523[_0x1f3cf2(0x198)]]['forEach'](_0x212a20=>{const _0x560e9a=_0x1f3cf2,_0x58ac75={'YFfGM':function(_0x2e895e){return _0x28b523['HLeKE'](_0x2e895e);},'QqNWj':function(_0x490102,_0x3be554){const _0xb97e0=a35_0x223b;return _0x28b523[_0xb97e0(0x1ba)](_0x490102,_0x3be554);},'OMkPb':_0x28b523[_0x560e9a(0x198)]},_0x203bc8=_0x2348d4[_0x560e9a(0x1a3)][_0x212a20]||[];_0x203bc8[_0x560e9a(0x1ae)](_0xe09eaf=>{const _0x5db165=_0x560e9a;if(!_0xe09eaf[_0x5db165(0x1da)])_0xe09eaf[_0x5db165(0x1da)]=_0x58ac75[_0x5db165(0x1dc)](uuidv4);else _0xe09eaf['markedStatus']&&_0x58ac75[_0x5db165(0x19b)](_0x212a20,_0x58ac75[_0x5db165(0x1d6)])&&(_0xe09eaf['hookAnalyticsId']=_0x58ac75['YFfGM'](uuidv4),delete _0xe09eaf[_0x5db165(0x1a5)]);});}),exports['mapTestHooks'](_0x2348d4['parent']);},exports[a35_0x3fc0e4(0x1af)]=async(_0x18df36,_0x89f948)=>{const _0x236447=a35_0x3fc0e4,_0x43921b={'rzanY':function(_0x3c74d){return _0x3c74d();},'MPVAG':function(_0x4cf5fe,_0x432040){return _0x4cf5fe(_0x432040);},'pDnWj':'platformVersion','fjkdJ':function(_0x231200,_0x5311fc){return _0x231200===_0x5311fc;},'bBxmS':_0x236447(0x1d8),'kyfAn':_0x236447(0x1d4),'KPuoi':_0x236447(0x1a1)};try{if(!_0x43921b[_0x236447(0x1b8)](shouldProcessEventForTesthub))return;const _0x38c9f9=await _0x18df36['getCapabilities'](),_0x2db98b=await _0x18df36[_0x236447(0x1a2)](),_0x203375={},_0x25e919=Object[_0x236447(0x1cb)](_0x2db98b[_0x236447(0x1c3)]()[_0x236447(0x1cc)]),_0x5e5c04={'product':_0x43921b[_0x236447(0x1c0)](getObservabilityLinkedProductName,_0x25e919),'capabilities':_0x25e919,'platform':_0x38c9f9[_0x236447(0x1cd)](),'platform_version':_0x38c9f9[_0x236447(0x1aa)](_0x43921b['pDnWj'])?_0x38c9f9[_0x236447(0x1aa)](_0x43921b[_0x236447(0x194)]):_0x43921b[_0x236447(0x1c0)](getPlatformVersion,_0x43921b[_0x236447(0x1a4)](global[_0x236447(0x1d2)],_0x43921b[_0x236447(0x19c)])),'browser':_0x38c9f9['getBrowserName'](),'browser_version':_0x38c9f9[_0x236447(0x1ea)](),'session_id':_0x2db98b[_0x236447(0x1df)]()};global['__cloud_provider___']?_0x203375[global[_0x236447(0x1d2)]]=_0x5e5c04:_0x203375[_0x43921b['kyfAn']]=_0x5e5c04,process[_0x236447(0x1b2)](_0x236447(0x1e3)+process[_0x236447(0x1e4)],{'timestamp':new Date()[_0x236447(0x1bc)](),'level':null,'message':null,'kind':_0x43921b[_0x236447(0x1ce)],'http_response':_0x203375,'uuid':_0x89f948});}catch(_0x36ce61){_0x43921b[_0x236447(0x1c0)](debug,_0x236447(0x1dd)+_0x36ce61);}},exports[a35_0x3fc0e4(0x1ca)]=_0x517ea1=>{const _0x5d82a4=a35_0x3fc0e4,_0x35a1d8={};_0x35a1d8[_0x5d82a4(0x1b6)]=function(_0x17b4fe,_0x313eac){return _0x17b4fe!==_0x313eac;},_0x35a1d8[_0x5d82a4(0x1b0)]='hook',_0x35a1d8[_0x5d82a4(0x1d3)]=function(_0x3923c6,_0x2decb6){return _0x3923c6!==_0x2decb6;},_0x35a1d8[_0x5d82a4(0x1be)]=_0x5d82a4(0x1b7),_0x35a1d8[_0x5d82a4(0x1e8)]=_0x5d82a4(0x1e0);const _0xa4b9c2=_0x35a1d8,_0x5566b1=_0x517ea1[_0x5d82a4(0x196)]['reduce']((_0x4e03d0,_0x4c8ca2)=>{const _0x5587da=_0x5d82a4,_0x50b297=exports['getHookSkippedTests'](_0x4c8ca2);return _0x50b297&&(_0x4e03d0=_0x4e03d0[_0x5587da(0x19f)](_0x50b297)),_0x4e03d0;},[]),_0x2e37ac=_0x517ea1['tests']['filter'](_0x309c0b=>{const _0x1f3f56=_0x5d82a4,_0x5f1d83=_0xa4b9c2[_0x1f3f56(0x1b6)](_0x309c0b['type'],_0xa4b9c2['OQNGH'])&&!_0x309c0b[_0x1f3f56(0x1a5)]&&_0xa4b9c2[_0x1f3f56(0x1d3)](_0x309c0b[_0x1f3f56(0x1c7)],_0xa4b9c2[_0x1f3f56(0x1be)])&&_0xa4b9c2[_0x1f3f56(0x1b6)](_0x309c0b[_0x1f3f56(0x1c7)],_0xa4b9c2[_0x1f3f56(0x1e8)])&&!_0x309c0b['pending'];return _0x5f1d83;});return _0x2e37ac[_0x5d82a4(0x19f)](_0x5566b1);};
1
+ function a35_0x3a93(_0x5a90a2,_0x2b9b84){const _0x232d0f=a35_0x232d();return a35_0x3a93=function(_0x3a9336,_0x4ff018){_0x3a9336=_0x3a9336-0x101;let _0x1b1079=_0x232d0f[_0x3a9336];return _0x1b1079;},a35_0x3a93(_0x5a90a2,_0x2b9b84);}const a35_0x4d4980=a35_0x3a93;function a35_0x232d(){const _0x5855c9=['../../../helpers/helper','getTestEnv','push','markedStatus','xaQvl','hook','uuid','_beforeEach','../../../../package.json','unknown_grid','tkFMK','RsrOi','JOeyz','split','532656eJtOcA','BLFtF','concat','4795901dTCXeO','fromEntries','reduce','EBCNQ','_beforeAll','30NaTsEA','RZKbL','hookAnalyticsId','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','parent','getSession','getHookSkippedTests','getHooksForTest','WGJll','GZHGA','nMrAF','14qnPgYa','passed','ipjBp','1238702jHsYZX','state','__cloud_provider___','../../utils/logPatcher','../../../helpers/testhub/utils','ocFvn','_afterAll','getPlatform','10iywDyZ','bs:addPlatformDetails:','toJSON','391317ZapnOP','LycIB','../../../helpers/test-observability/utils','_afterEach','FOCvj','ZWiAx','slice','forEach','tests','VNtIG','gPILo','QeiZl','pending','846ilvyXX','icSNF','sendPlatformDetails','FWPOY','type','../../../helpers/test-observability/constants','substring','HJgPf','TEST_PLATFORM','1905564QhbCZu','mapTestHooks','1693152mVMIBT','hook:','lodash','FVvPp','emit','map_','getHookDetails','indexOf','18368sfHgmt','bArxa','failed'];a35_0x232d=function(){return _0x5855c9;};return a35_0x232d();}(function(_0x59afa7,_0x2dfd03){const _0xebdaff=a35_0x3a93,_0x5024df=_0x59afa7();while(!![]){try{const _0x1b38ad=-parseInt(_0xebdaff(0x150))/0x1+parseInt(_0xebdaff(0x145))/0x2+parseInt(_0xebdaff(0x114))/0x3+parseInt(_0xebdaff(0x116))/0x4*(parseInt(_0xebdaff(0x14d))/0x5)+parseInt(_0xebdaff(0x12f))/0x6*(-parseInt(_0xebdaff(0x142))/0x7)+-parseInt(_0xebdaff(0x11e))/0x8*(-parseInt(_0xebdaff(0x10b))/0x9)+parseInt(_0xebdaff(0x137))/0xa*(-parseInt(_0xebdaff(0x132))/0xb);if(_0x1b38ad===_0x2dfd03)break;else _0x5024df['push'](_0x5024df['shift']());}catch(_0x3250a9){_0x5024df['push'](_0x5024df['shift']());}}}(a35_0x232d,0x6b721));const {v4:uuidv4}=require(a35_0x4d4980(0x127)),{name,version}=require(a35_0x4d4980(0x129)),logPatcher=require(a35_0x4d4980(0x148)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x4d4980(0x110)),{getPlatformVersion}=require(a35_0x4d4980(0x121)),{shouldProcessEventForTesthub}=require(a35_0x4d4980(0x149)),{isFunction}=require(a35_0x4d4980(0x118)),{patchConsoleLogger}=require(a35_0x4d4980(0x152));patchConsoleLogger(),exports[a35_0x4d4980(0x122)]=()=>{const _0x58eb26=a35_0x4d4980,_0x514dcc={'RAJKs':'generic','FVvPp':function(_0x324b78){return _0x324b78();}};return{'ci':_0x514dcc['RAJKs'],'key':_0x514dcc[_0x58eb26(0x119)](uuidv4),'version':version,'collector':'js-'+name};},exports[a35_0x4d4980(0x11c)]=_0x865ba9=>{const _0x3c6c0d=a35_0x4d4980,_0x4bc2ac={};_0x4bc2ac['JxGuD']=function(_0x25b0f3,_0x202cea){return _0x25b0f3!==_0x202cea;},_0x4bc2ac['BbPAD']='string',_0x4bc2ac['WGJll']=function(_0x344e8c,_0x4fd2b3){return _0x344e8c!==_0x4fd2b3;},_0x4bc2ac[_0x3c6c0d(0x107)]=_0x3c6c0d(0x117),_0x4bc2ac['VjfwN']=function(_0x283919,_0x41b0ea){return _0x283919!==_0x41b0ea;},_0x4bc2ac[_0x3c6c0d(0x144)]=_0x3c6c0d(0x126);const _0xf7ba10=_0x4bc2ac;if(!_0x865ba9||_0xf7ba10['JxGuD'](typeof _0x865ba9,_0xf7ba10['BbPAD']))return[null,null];if(_0xf7ba10[_0x3c6c0d(0x13f)](_0x865ba9[_0x3c6c0d(0x11d)](_0xf7ba10['VNtIG']),-0x1)){const _0x1e8585=_0x865ba9['split'](_0xf7ba10[_0x3c6c0d(0x107)]);return[_0x1e8585[0x0][_0x3c6c0d(0x104)](0x0,-0x1)[_0x3c6c0d(0x12e)]('\x22')[0x1],_0x1e8585[0x1][_0x3c6c0d(0x111)](0x1)];}else{if(_0xf7ba10['VjfwN'](_0x865ba9[_0x3c6c0d(0x11d)](_0xf7ba10[_0x3c6c0d(0x144)]),-0x1)){const _0x482b2f=_0x865ba9['split'](_0xf7ba10[_0x3c6c0d(0x144)]);return[_0x482b2f[0x0][_0x3c6c0d(0x104)](0x0,-0x1)[_0x3c6c0d(0x12e)]('\x22')[0x1],_0x865ba9];}}return[null,null];},exports[a35_0x4d4980(0x13e)]=_0x25cb23=>{const _0x2094ff=a35_0x4d4980,_0x292d27={'qRSdi':function(_0x2ccbd5,_0x5e2900){return _0x2ccbd5(_0x5e2900);},'GUViF':_0x2094ff(0x136),'gPILo':_0x2094ff(0x14b),'nMrAF':_0x2094ff(0x128),'RsrOi':_0x2094ff(0x101)};if(!_0x25cb23||!_0x25cb23[_0x2094ff(0x13b)])return[];const _0xd9b84c=[];return[_0x292d27['GUViF'],_0x292d27[_0x2094ff(0x108)],_0x292d27[_0x2094ff(0x141)],_0x292d27[_0x2094ff(0x12c)]][_0x2094ff(0x105)](_0x2156a8=>{const _0x3954ba=_0x2094ff,_0x415067={'FWPOY':function(_0x14e287,_0x1e3150){return _0x292d27['qRSdi'](_0x14e287,_0x1e3150);}},_0x5cd619=_0x25cb23['parent'][_0x2156a8]||[];_0x5cd619[_0x3954ba(0x105)](_0x5b82bb=>{const _0x50ff0d=_0x3954ba;_0x5b82bb[_0x50ff0d(0x139)]&&!_0x415067[_0x50ff0d(0x10e)](isInternalHook,_0x5b82bb['fn'])&&_0xd9b84c[_0x50ff0d(0x123)](_0x5b82bb[_0x50ff0d(0x139)]);});}),[..._0xd9b84c,...exports[_0x2094ff(0x13e)](_0x25cb23['parent'])];},exports[a35_0x4d4980(0x115)]=_0x4d8d99=>{const _0x592990=a35_0x4d4980,_0x4cc03e={'RZKbL':function(_0x46cd55){return _0x46cd55();},'FOCvj':function(_0x238b35,_0x541f03){return _0x238b35===_0x541f03;},'QeiZl':_0x592990(0x101),'JOeyz':_0x592990(0x136),'rpoPW':'_afterAll','GZHGA':'_beforeEach'};if(!_0x4d8d99||!_0x4d8d99[_0x592990(0x13b)])return;[_0x4cc03e[_0x592990(0x12d)],_0x4cc03e['rpoPW'],_0x4cc03e[_0x592990(0x140)],_0x4cc03e[_0x592990(0x109)]][_0x592990(0x105)](_0x46a6e0=>{const _0x11a9d3=_0x592990,_0x4d613d=_0x4d8d99[_0x11a9d3(0x13b)][_0x46a6e0]||[];_0x4d613d[_0x11a9d3(0x105)](_0x5c6e4c=>{const _0x28db1e=_0x11a9d3;if(!_0x5c6e4c[_0x28db1e(0x139)])_0x5c6e4c[_0x28db1e(0x139)]=_0x4cc03e['RZKbL'](uuidv4);else _0x5c6e4c['markedStatus']&&_0x4cc03e[_0x28db1e(0x102)](_0x46a6e0,_0x4cc03e[_0x28db1e(0x109)])&&(_0x5c6e4c[_0x28db1e(0x139)]=_0x4cc03e[_0x28db1e(0x138)](uuidv4),delete _0x5c6e4c[_0x28db1e(0x124)]);});}),exports['mapTestHooks'](_0x4d8d99[_0x592990(0x13b)]);},exports[a35_0x4d4980(0x10d)]=async(_0x192992,_0x2e30f2)=>{const _0x576b87=a35_0x4d4980,_0x19cee9={'bArxa':function(_0x581af4){return _0x581af4();},'HJgPf':function(_0x439e8a,_0x339063){return _0x439e8a(_0x339063);},'wroxJ':'platformVersion','xaQvl':function(_0xfca187,_0x87d0e2){return _0xfca187===_0x87d0e2;},'ocFvn':'browserstack','rKCHc':_0x576b87(0x12a),'ZWiAx':_0x576b87(0x113),'BLFtF':function(_0x10b91e,_0x324a4b){return _0x10b91e(_0x324a4b);}};try{if(!_0x19cee9[_0x576b87(0x11f)](shouldProcessEventForTesthub))return;const _0x23e3e7=await _0x192992['getCapabilities'](),_0x206076=await _0x192992[_0x576b87(0x13c)](),_0x7b7087={},_0xc4b148=Object[_0x576b87(0x133)](_0x206076['getCapabilities']()[_0x576b87(0x11b)]),_0x1ec22f={'product':_0x19cee9[_0x576b87(0x112)](getObservabilityLinkedProductName,_0xc4b148),'capabilities':_0xc4b148,'platform':_0x23e3e7[_0x576b87(0x14c)](),'platform_version':_0x23e3e7['get'](_0x19cee9['wroxJ'])?_0x23e3e7['get'](_0x19cee9['wroxJ']):_0x19cee9[_0x576b87(0x112)](getPlatformVersion,_0x19cee9[_0x576b87(0x125)](global[_0x576b87(0x147)],_0x19cee9[_0x576b87(0x14a)])),'browser':_0x23e3e7['getBrowserName'](),'browser_version':_0x23e3e7['getBrowserVersion'](),'session_id':_0x206076[_0x576b87(0x14f)]()};global[_0x576b87(0x147)]?_0x7b7087[global['__cloud_provider___']]=_0x1ec22f:_0x7b7087[_0x19cee9['rKCHc']]=_0x1ec22f,process[_0x576b87(0x11a)](_0x576b87(0x14e)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x19cee9[_0x576b87(0x103)],'http_response':_0x7b7087,'uuid':_0x2e30f2});}catch(_0x14febc){_0x19cee9[_0x576b87(0x130)](debug,_0x576b87(0x13a)+_0x14febc);}},exports[a35_0x4d4980(0x13d)]=_0x51d6d2=>{const _0x268229=a35_0x4d4980,_0x32556c={};_0x32556c['EBCNQ']=function(_0x2de593,_0x42216c){return _0x2de593!==_0x42216c;},_0x32556c['tkFMK']='hook',_0x32556c[_0x268229(0x151)]=function(_0x31a4f5,_0x460ccc){return _0x31a4f5!==_0x460ccc;},_0x32556c['vnmmO']=_0x268229(0x143),_0x32556c['icSNF']=_0x268229(0x120);const _0x200925=_0x32556c,_0xe4e7dd=_0x51d6d2['suites'][_0x268229(0x134)]((_0xefebed,_0x5e5ca5)=>{const _0x254eb0=_0x268229,_0x145eeb=exports[_0x254eb0(0x13d)](_0x5e5ca5);return _0x145eeb&&(_0xefebed=_0xefebed[_0x254eb0(0x131)](_0x145eeb)),_0xefebed;},[]),_0x2ea947=_0x51d6d2[_0x268229(0x106)]['filter'](_0x527844=>{const _0x50f8fc=_0x268229,_0x3ecd0b=_0x200925[_0x50f8fc(0x135)](_0x527844[_0x50f8fc(0x10f)],_0x200925[_0x50f8fc(0x12b)])&&!_0x527844[_0x50f8fc(0x124)]&&_0x200925[_0x50f8fc(0x151)](_0x527844[_0x50f8fc(0x146)],_0x200925['vnmmO'])&&_0x200925[_0x50f8fc(0x135)](_0x527844[_0x50f8fc(0x146)],_0x200925[_0x50f8fc(0x10c)])&&!_0x527844[_0x50f8fc(0x10a)];return _0x3ecd0b;});return _0x2ea947[_0x268229(0x131)](_0xe4e7dd);};
@@ -1 +1 @@
1
- function a36_0x586f(_0x1c29ab,_0x3aad1e){const _0xde4539=a36_0xde45();return a36_0x586f=function(_0x586fe5,_0x39511b){_0x586fe5=_0x586fe5-0x1a8;let _0xcdbc83=_0xde4539[_0x586fe5];return _0xcdbc83;},a36_0x586f(_0x1c29ab,_0x3aad1e);}const a36_0xf173e4=a36_0x586f;(function(_0x368b85,_0x13078c){const _0x4817a1=a36_0x586f,_0x466d04=_0x368b85();while(!![]){try{const _0x2eca6e=parseInt(_0x4817a1(0x216))/0x1+-parseInt(_0x4817a1(0x1cf))/0x2+parseInt(_0x4817a1(0x1d2))/0x3+parseInt(_0x4817a1(0x24c))/0x4*(-parseInt(_0x4817a1(0x250))/0x5)+parseInt(_0x4817a1(0x1e6))/0x6+-parseInt(_0x4817a1(0x1cb))/0x7+parseInt(_0x4817a1(0x21a))/0x8;if(_0x2eca6e===_0x13078c)break;else _0x466d04['push'](_0x466d04['shift']());}catch(_0x4618f8){_0x466d04['push'](_0x466d04['shift']());}}}(a36_0xde45,0x7d4e2));const util=require(a36_0xf173e4(0x22c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0xf173e4(0x1ef)),accessibilityRetryHelper=require(a36_0xf173e4(0x249)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0xf173e4(0x23d)),{percyAutoCapture}=require(a36_0xf173e4(0x230)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0xf173e4(0x20f)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0xf173e4(0x1b5)),globals=require(a36_0xf173e4(0x1c4)),logger=require('../../helpers/logger')[a36_0xf173e4(0x217)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0xf173e4(0x1b4));exports[a36_0xf173e4(0x1f7)]={'beforeAll'(){const _0x1a98b0=a36_0xf173e4,_0x899ee8={'ScPyH':function(_0xa93e87,_0x1922a9,_0x562dc9,_0x3129f3){return _0xa93e87(_0x1922a9,_0x562dc9,_0x3129f3);},'JdaPX':_0x1a98b0(0x227),'qXkju':_0x1a98b0(0x1e1),'iQXox':function(_0x2acc63,_0x33eec0,_0x485c1f){return _0x2acc63(_0x33eec0,_0x485c1f);},'wEiiA':_0x1a98b0(0x226),'htMBZ':function(_0x29a085){return _0x29a085();},'nUrjk':function(_0x4c9625,_0x3676c9,_0x303b9b){return _0x4c9625(_0x3676c9,_0x303b9b);},'sWVeO':_0x1a98b0(0x22b),'WDkmW':'beforeAll'};PerformanceTester[_0x1a98b0(0x1ee)]();const _0x4a5d42='browserstack internal helper hook';PerformanceTester[_0x1a98b0(0x1ab)](PerformanceSdkEvents[_0x1a98b0(0x1bd)],()=>{const _0x67aef6=_0x1a98b0,_0x3ca6e4={'tabPC':function(_0x1ee638,_0x19f8b4,_0x3d37fa,_0x29ad5b){const _0x51107f=a36_0x586f;return _0x899ee8[_0x51107f(0x210)](_0x1ee638,_0x19f8b4,_0x3d37fa,_0x29ad5b);},'azVaT':_0x899ee8[_0x67aef6(0x1b0)],'xsahP':_0x899ee8['qXkju'],'VnxVY':function(_0x5572b8,_0x2cb048,_0xd84a28){return _0x899ee8['iQXox'](_0x5572b8,_0x2cb048,_0xd84a28);},'hXwmy':_0x899ee8['wEiiA'],'xooiM':function(_0x4bda28){return _0x899ee8['htMBZ'](_0x4bda28);},'SOzXH':function(_0x444b2f,_0x5d7287,_0x15305a){const _0x389287=_0x67aef6;return _0x899ee8[_0x389287(0x24b)](_0x444b2f,_0x5d7287,_0x15305a);}};global[_0x67aef6(0x22f)]=[],global[_0x67aef6(0x214)]=![],global[_0x67aef6(0x1d0)]=async()=>{const _0x48cac2=_0x67aef6;let _0xc5b5d6=![];try{await global['__drivers'][0x0][_0x48cac2(0x21d)],_0xc5b5d6=!![],global[_0x48cac2(0x214)]?await _0x3ca6e4[_0x48cac2(0x1f1)](markSessionStatus,global[_0x48cac2(0x1ad)][0x0],_0x3ca6e4['azVaT'],global[_0x48cac2(0x22f)][_0x48cac2(0x245)](_0x3ca6e4[_0x48cac2(0x211)])):await _0x3ca6e4[_0x48cac2(0x215)](markSessionStatus,global[_0x48cac2(0x1ad)][0x0],_0x3ca6e4[_0x48cac2(0x1d8)]);}catch(_0x25accd){logger[_0x48cac2(0x236)](_0x48cac2(0x200)+_0x25accd);}global['__error_messages__']=[],global[_0x48cac2(0x214)]=![];if(_0xc5b5d6)try{try{_0x3ca6e4[_0x48cac2(0x208)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3ca6e4[_0x48cac2(0x1d4)](sendPlatformDetails,global[_0x48cac2(0x1ad)][0x0],this['currentTest']?this[_0x48cac2(0x1c0)][_0x48cac2(0x1df)]:null));}catch(_0x4f7583){logger['debug'](_0x48cac2(0x1dd)+_0x4f7583);}await global['__drivers'][0x0][_0x48cac2(0x242)]();}catch(_0x185e70){logger[_0x48cac2(0x236)](_0x48cac2(0x239)+_0x185e70);}};},{'platform':_0x899ee8[_0x1a98b0(0x1fa)](nestedKeyValue,global['__platformCaps'],[_0x899ee8['sWVeO']]),'hookType':_0x899ee8[_0x1a98b0(0x202)]})();},'beforeEach'(_0x1870aa){const _0x260f3d=a36_0xf173e4,_0x370271={'ZRHlc':function(_0x186c18,_0x4e1ef4){return _0x186c18>_0x4e1ef4;},'MIykq':function(_0x296e5d,_0x4ee48e){return _0x296e5d>_0x4ee48e;},'wlItR':_0x260f3d(0x229),'XlmTQ':function(_0x19450e,_0x41473b,_0x9623b0){return _0x19450e(_0x41473b,_0x9623b0);},'rCmnF':_0x260f3d(0x237),'IFLJU':function(_0x2d23ad){return _0x2d23ad();},'uJPdB':_0x260f3d(0x1cd),'dOjQT':function(_0x5537c2,_0x33449b){return _0x5537c2===_0x33449b;},'RpXuv':_0x260f3d(0x1ff),'gxtNY':function(_0x5a7f03,_0x131964){return _0x5a7f03===_0x131964;},'aplqr':'https:','kYFIi':_0x260f3d(0x1b3),'QRchY':'Automate\x20test\x20case\x20execution\x20has\x20started.','pIJVl':function(_0x5b9062){return _0x5b9062();},'zMqXb':'browserstackTestName','zUJFW':'index','OOsif':_0x260f3d(0x1bf)};globals[_0x260f3d(0x1ed)](_0x370271[_0x260f3d(0x201)],this['currentTest'][_0x260f3d(0x1f5)]()[_0x260f3d(0x245)](_0x370271[_0x260f3d(0x1c2)])),PerformanceTester[_0x260f3d(0x1ab)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1ba83f=_0x260f3d,_0xa67ee0='browserstack internal helper hook';new Promise(async _0x18e23b=>{const _0x15400e=a36_0x586f;let _0x21d1d9=!![];try{_0x370271[_0x15400e(0x1e8)](global[_0x15400e(0x1ad)][_0x15400e(0x1ce)],0x1)&&(await global['driverCleanup'](),global[_0x15400e(0x1ad)][_0x15400e(0x206)]()),_0x370271['MIykq'](global[_0x15400e(0x1ad)][0x0][_0x15400e(0x1fc)],0x0)&&(_0x21d1d9=![],await global[_0x15400e(0x1d0)]());}catch(_0x37218d){logger['debug'](_0x15400e(0x239)+_0x37218d);}try{Array[_0x15400e(0x207)](global['__drivers'])&&global[_0x15400e(0x1ad)][0x0]&&(global['__drivers'][0x0][_0x15400e(0x1d1)]=this[_0x15400e(0x1c0)][_0x15400e(0x1f5)]()[_0x15400e(0x245)](_0x370271[_0x15400e(0x1c2)])),global['browserstackSessionName']=this['currentTest']['titlePath']()[_0x15400e(0x245)](_0x370271[_0x15400e(0x1c2)]);}catch(_0x319f16){logger[_0x15400e(0x236)](_0x15400e(0x220)+_0x319f16);}this['currentTest'][_0x15400e(0x1b7)]=_0x370271['XlmTQ'](shouldScanTestForAccessibility,this[_0x15400e(0x1c0)]['titlePath'](),!![]),globals['setGlobal'](_0x370271[_0x15400e(0x23c)],this['currentTest'][_0x15400e(0x1b7)]),this[_0x15400e(0x1c0)][_0x15400e(0x252)]=!![];if(_0x370271[_0x15400e(0x1fe)](isAccessibilityAutomationSession)&&_0x21d1d9&&Array[_0x15400e(0x207)](global[_0x15400e(0x1ad)])&&_0x370271[_0x15400e(0x1e8)](global[_0x15400e(0x1ad)]['length'],0x0)&&globals[_0x15400e(0x1c9)](_0x370271[_0x15400e(0x234)]))try{const _0x2b10ee=await global[_0x15400e(0x1ad)][0x0][_0x15400e(0x21d)];if(_0x2b10ee){let _0x17e8c9=!![];const _0x4d3d42=await global[_0x15400e(0x1ad)][0x0]['getCurrentUrl']();let _0x1e4b66;try{_0x1e4b66=new URL(_0x4d3d42);}catch(_0x4ee293){_0x17e8c9=![];}_0x17e8c9=_0x370271[_0x15400e(0x235)](_0x1e4b66['protocol'],_0x370271[_0x15400e(0x1db)])||_0x370271[_0x15400e(0x1bb)](_0x1e4b66['protocol'],_0x370271['aplqr']),_0x17e8c9&&(this['currentTest'][_0x15400e(0x1b7)]&&logger['info'](_0x370271['kYFIi'])),this['currentTest']['accessibilityScanStarted']=this[_0x15400e(0x1c0)][_0x15400e(0x1b7)],this[_0x15400e(0x1c0)]['shouldScanTestForAccessibility']&&logger['info'](_0x370271['QRchY']);}}catch(_0x37a6e2){logger[_0x15400e(0x240)](_0x15400e(0x212)+util[_0x15400e(0x251)](_0x37a6e2));}_0x370271[_0x15400e(0x1f2)](_0x18e23b);})[_0x1ba83f(0x1ac)](()=>{const _0x2ddf6e=_0x1ba83f;_0x370271[_0x2ddf6e(0x1f2)](_0x1870aa);});},{'platform':_0x370271[_0x260f3d(0x1ca)](nestedKeyValue,global['__platformCaps'],[_0x370271[_0x260f3d(0x20a)]]),'hookType':_0x370271[_0x260f3d(0x1f6)]})();},'afterEach'(_0x49be9a){const _0xdc6af2=a36_0xf173e4,_0x98267d={'KBItJ':function(_0x120ac9,_0x3e85fa){return _0x120ac9!==_0x3e85fa;},'mkOOI':_0xdc6af2(0x226),'uYyxB':function(_0x54c4f2,_0x4b44df,_0x2564e7){return _0x54c4f2(_0x4b44df,_0x2564e7);},'thnMx':function(_0xbfc853,_0x5517c9){return _0xbfc853+_0x5517c9;},'iJKpm':'Failed:\x20','DhMVk':_0xdc6af2(0x240),'FXXCj':_0xdc6af2(0x1d9),'nwfpR':_0xdc6af2(0x1a9),'fUAjx':function(_0xb4ada0,_0x31e202){return _0xb4ada0>_0x31e202;},'NCdvF':function(_0x28dce4,_0x3376b2){return _0x28dce4===_0x3376b2;},'pbrIR':_0xdc6af2(0x1bc),'nIdHb':function(_0x3dd2ea,_0x141924){return _0x3dd2ea>_0x141924;},'BoGVF':_0xdc6af2(0x23f),'HdTwC':function(_0xbe9609,_0x1283cd,_0x49a901,_0xd7e622){return _0xbe9609(_0x1283cd,_0x49a901,_0xd7e622);},'WtIFI':_0xdc6af2(0x1cd),'YEGVm':_0xdc6af2(0x237),'urgIs':_0xdc6af2(0x20b),'ssCTH':_0xdc6af2(0x1c1),'Bappy':_0xdc6af2(0x20c),'LWLCk':'Accessibility\x20scan\x20completed\x20successfully','gJBRY':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','JNWbB':_0xdc6af2(0x204),'hWLOi':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','WcApA':_0xdc6af2(0x1de),'wgNGR':function(_0x32b006){return _0x32b006();},'LStOT':'debug','QtUDe':function(_0x309007,_0x27a28c){return _0x309007>_0x27a28c;},'Ijarf':function(_0x57c1f7){return _0x57c1f7();},'HrOaG':_0xdc6af2(0x229),'ASZya':_0xdc6af2(0x1f8),'cTtMs':'index','UtvHM':_0xdc6af2(0x21c)},_0x3dcfa1='browserstack internal helper hook';this[_0xdc6af2(0x233)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x98267d[_0xdc6af2(0x231)]]),global[_0xdc6af2(0x1fd)]=this['currentTest']['titlePath']()[_0xdc6af2(0x245)](_0x98267d[_0xdc6af2(0x22d)]),PerformanceTester[_0xdc6af2(0x1ab)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x18f797=_0xdc6af2,_0xc8476b={};_0xc8476b[_0x18f797(0x1f3)]=_0x98267d['HrOaG'];const _0x213769=_0xc8476b,_0x36d595=async(_0x536302,_0x48d237)=>{const _0xb488c3=_0x18f797;await global[_0xb488c3(0x1ad)][0x0][_0xb488c3(0x1f9)](_0xb488c3(0x1b2)+_0x536302+_0xb488c3(0x23a)+_0x48d237+_0xb488c3(0x1dc));};new Promise(async _0x178b77=>{const _0x50724f=_0x18f797,_0x5e0a35={'xaxtK':function(_0x205c96,_0x37f281){return _0x98267d['KBItJ'](_0x205c96,_0x37f281);},'dCsqN':_0x98267d['mkOOI'],'sHnyw':function(_0x46544e,_0xff62af,_0x1c04bd){const _0x44e3bd=a36_0x586f;return _0x98267d[_0x44e3bd(0x1aa)](_0x46544e,_0xff62af,_0x1c04bd);},'LODTv':function(_0x13c202,_0x1f247a){const _0x295771=a36_0x586f;return _0x98267d[_0x295771(0x224)](_0x13c202,_0x1f247a);},'CtTnr':_0x98267d[_0x50724f(0x1ba)],'HZIUk':_0x98267d[_0x50724f(0x205)],'Aobjv':_0x98267d[_0x50724f(0x1be)],'VaMbH':_0x98267d[_0x50724f(0x1b8)]};try{_0x98267d[_0x50724f(0x222)](global[_0x50724f(0x1ad)]['length'],0x1)&&(await global[_0x50724f(0x1d0)](),global['__drivers'][_0x50724f(0x206)](),global[_0x50724f(0x22f)]=[],global[_0x50724f(0x214)]=![]);try{if(global['percy']&&_0x98267d[_0x50724f(0x225)](global['percyCaptureMode'],_0x98267d[_0x50724f(0x248)])&&global[_0x50724f(0x1ad)][0x0]){const _0x1dccc7=_0x98267d[_0x50724f(0x20e)](global[_0x50724f(0x241)]['length'],0x0)?!!global[_0x50724f(0x241)][0x0][_0x50724f(0x1b1)]||!!global['capabilities'][0x0][_0x98267d[_0x50724f(0x1e0)]]:![],_0x410948={};_0x410948[_0x50724f(0x1b1)]=_0x1dccc7,await _0x98267d[_0x50724f(0x244)](percyAutoCapture,global[_0x50724f(0x1ad)][0x0],_0x98267d['pbrIR'],_0x410948);}}catch(_0x354f1e){logger[_0x50724f(0x236)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x354f1e);}!global[_0x50724f(0x246)]&&(await PerformanceTester[_0x50724f(0x1ab)](PerformanceAutEvents[_0x50724f(0x1b6)],async()=>{const _0x3c37d6=_0x50724f;await global[_0x3c37d6(0x1ad)][0x0][_0x3c37d6(0x1f9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3c37d6(0x228)](this[_0x3c37d6(0x1c0)][_0x3c37d6(0x1f5)]()['join'](_0x213769[_0x3c37d6(0x1f3)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x50724f(0x1ab)](PerformanceAutEvents[_0x50724f(0x1c8)],async()=>{const _0x286bcd=_0x50724f,_0x3b3173=_0x5e0a35[_0x286bcd(0x1f0)](this[_0x286bcd(0x1c0)][_0x286bcd(0x238)],_0x5e0a35[_0x286bcd(0x24e)]);_0x3b3173?(global[_0x286bcd(0x214)]=!![],global[_0x286bcd(0x22f)][_0x286bcd(0x1b9)](this[_0x286bcd(0x1c0)][_0x286bcd(0x1d7)][_0x286bcd(0x1fb)]),await _0x5e0a35[_0x286bcd(0x1ec)](_0x36d595,JSON['stringify'](_0x5e0a35[_0x286bcd(0x218)](_0x5e0a35['CtTnr'],this[_0x286bcd(0x1c0)][_0x286bcd(0x1d7)][_0x286bcd(0x1fb)])),_0x5e0a35[_0x286bcd(0x1e3)])):await _0x5e0a35[_0x286bcd(0x1ec)](_0x36d595,JSON[_0x286bcd(0x228)](_0x5e0a35['Aobjv']),_0x5e0a35[_0x286bcd(0x203)]);})();}catch(_0x2d8288){logger['debug'](_0x50724f(0x243)+_0x2d8288);}try{if(this[_0x50724f(0x1c0)][_0x50724f(0x252)]&&globals['getGlobal'](_0x98267d[_0x50724f(0x1e5)])&&globals[_0x50724f(0x1c9)](_0x98267d['YEGVm'])){logger['info'](_0x98267d['urgIs']);const _0x4a0f57={};_0x4a0f57['thTestRunUuid']=this[_0x50724f(0x1c0)][_0x50724f(0x1df)],_0x4a0f57['thBuildUuid']=process[_0x50724f(0x1c5)][testHubConstants[_0x50724f(0x1e4)][_0x50724f(0x223)]],_0x4a0f57[_0x50724f(0x1da)]=process[_0x50724f(0x1c5)][testHubConstants[_0x50724f(0x1e4)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1f228c=_0x4a0f57;logger[_0x50724f(0x236)](_0x50724f(0x22e)+JSON['stringify'](_0x1f228c)),logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1a8)]);const _0x299b51={};_0x299b51[_0x50724f(0x21f)]=_0x98267d[_0x50724f(0x1c7)];const _0x2e1310=await PerformanceTester[_0x50724f(0x1ab)](PerformanceA11yEvents[_0x50724f(0x23b)],async()=>{const _0x4cec59=_0x50724f;return await accessibilityRetryHelper[_0x4cec59(0x21e)](global[_0x4cec59(0x1ad)][0x0],global[_0x4cec59(0x1d1)]);},_0x299b51)();_0x2e1310?logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1ae)]):logger['warn'](_0x98267d[_0x50724f(0x21b)]);const _0x4a2b00=await PerformanceTester[_0x50724f(0x1ab)](PerformanceA11yEvents[_0x50724f(0x23e)],async()=>{const _0x339827=_0x50724f;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x339827(0x1ad)][0x0],_0x1f228c);})();_0x4a2b00?logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1cc)]):logger[_0x50724f(0x232)](_0x98267d[_0x50724f(0x1eb)]),logger[_0x50724f(0x1a9)](_0x98267d[_0x50724f(0x213)]);}}catch(_0xc86e7b){logger[_0x50724f(0x240)](_0x50724f(0x209)+this[_0x50724f(0x1c0)]['titlePath']()+_0x50724f(0x1f4),_0xc86e7b);}try{try{if(_0x98267d['wgNGR'](shouldProcessEventForTesthub)){global[_0x50724f(0x1ad)][0x0]&&await _0x98267d['uYyxB'](sendPlatformDetails,global[_0x50724f(0x1ad)][0x0],this[_0x50724f(0x1c0)]?this[_0x50724f(0x1c0)][_0x50724f(0x1df)]:null);if(_0x98267d[_0x50724f(0x24a)](isBrowserstackInfra)){PerformanceTester[_0x50724f(0x1ea)](PerformanceO11yEvents[_0x50724f(0x219)]);const _0xb8226d='ObservabilitySync:'+Date[_0x50724f(0x1d6)]();await _0x98267d[_0x50724f(0x1aa)](_0x36d595,JSON[_0x50724f(0x228)](_0xb8226d),_0x98267d[_0x50724f(0x20d)]),PerformanceTester[_0x50724f(0x1c3)](PerformanceO11yEvents[_0x50724f(0x219)]);}}}catch(_0x2417ba){logger[_0x50724f(0x236)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x2417ba),PerformanceTester[_0x50724f(0x1c3)](PerformanceO11yEvents[_0x50724f(0x219)],![],_0x2417ba);}_0x98267d[_0x50724f(0x24f)](global[_0x50724f(0x1ad)][0x0][_0x50724f(0x1fc)],0x0)&&await global['driverCleanup']();}catch(_0x2b14d5){logger[_0x50724f(0x236)](_0x50724f(0x239)+_0x2b14d5);}_0x98267d['Ijarf'](_0x178b77);})['then'](()=>{const _0x52492b=_0x18f797;_0x98267d[_0x52492b(0x247)](_0x49be9a);});},{'platform':_0x98267d['uYyxB'](nestedKeyValue,global['__platformCaps'],[_0x98267d[_0xdc6af2(0x22a)]]),'hookType':_0x98267d[_0xdc6af2(0x1e2)]})();},'afterAll'(_0x52f81b){const _0x4de774=a36_0xf173e4,_0x138201={'FpmIo':function(_0x54cc0f){return _0x54cc0f();},'eSBaW':function(_0x421b4b){return _0x421b4b();},'jnjvA':_0x4de774(0x1f8),'FSihO':function(_0x54ea30,_0x275f4e,_0x1b9192){return _0x54ea30(_0x275f4e,_0x1b9192);},'cIYnG':'index','kFcva':_0x4de774(0x221)},_0x59f2e1='browserstack internal helper hook';this[_0x4de774(0x233)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x138201[_0x4de774(0x1c6)]]),PerformanceTester[_0x4de774(0x1ab)](PerformanceSdkEvents[_0x4de774(0x1bd)],()=>{const _0x48b10c=_0x4de774,_0x468aff={'DCGKj':function(_0x42b230){return _0x138201['eSBaW'](_0x42b230);}};new Promise(async _0x4a134f=>{const _0x3a5dc4=a36_0x586f;await global[_0x3a5dc4(0x1d0)](),_0x138201[_0x3a5dc4(0x1d5)](_0x4a134f);})[_0x48b10c(0x1ac)]()[_0x48b10c(0x1d3)](()=>{const _0x56b635=_0x48b10c;_0x468aff[_0x56b635(0x1af)](_0x52f81b);});},{'platform':_0x138201[_0x4de774(0x24d)](nestedKeyValue,global['__platformCaps'],[_0x138201[_0x4de774(0x1e7)]]),'hookType':_0x138201[_0x4de774(0x1e9)]})();}};function a36_0xde45(){const _0x3975db=['../../helpers/accessibility-automation/helper','xaxtK','tabPC','pIJVl','gVNeu','.\x20Error\x20:','titlePath','OOsif','mochaHooks','Mocha','executeScript','nUrjk','message','quitCount_','sessionName','IFLJU','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','zMqXb','WDkmW','VaMbH','Accessibility\x20results\x20saved\x20successfully','DhMVk','shift','isArray','xooiM','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','zUJFW','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','afterTest','LStOT','nIdHb','../../helpers/helper','ScPyH','xsahP','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','WcApA','__sessionFailed','VnxVY','112088FThQdD','winstonLogger','LODTv','SYNC','669576HISzQA','gJBRY','afterEach','session_','performScanWithRetry','command','Failed\x20to\x20store\x20session\x20name:\x20','afterAll','fUAjx','BROWSERSTACK_TESTHUB_UUID','thnMx','NCdvF','passed','failed','stringify','\x20-\x20','cTtMs','index','util','HrOaG','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__error_messages__','../../helpers/percy/utils','ASZya','warn','timeout','uJPdB','dOjQT','debug','bstackA11yShouldScan','state','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20',',\x22level\x22:\x20\x22','PERFORM_SCAN','rCmnF','../utils/constants','SAVE_RESULTS','appium:app','error','capabilities','initQuit','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','HdTwC','join','__skipSessionName','Ijarf','pbrIR','../../helpers/accessibility-automation/accessibilityRetryHelper','wgNGR','iQXox','46556eOLBgW','FSihO','dCsqN','QtUDe','185cvKSOz','format','accessibilityScanStarted','ssCTH','info','uYyxB','measureWrapper','then','__drivers','LWLCk','DCGKj','JdaPX','app','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/testhub/constants','../../helpers/performance/constants','SESSION_NAME','shouldScanTestForAccessibility','nwfpR','push','iJKpm','gxtNY','testcase','SDK_HOOK','FXXCj','beforeEach','currentTest','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','wlItR','end','../../helpers/globals','env','jnjvA','Bappy','SESSION_STATUS','getGlobal','XlmTQ','581994LIBGIA','JNWbB','isAccessibilityPlatform','length','506836tJWfvA','driverCleanup','browserstackSessionName','416928GreBuy','finally','SOzXH','FpmIo','now','err','hXwmy','Passed','thJwtToken','RpXuv','\x22}}','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','testAnalyticsId','BoGVF','\x20|\x20','UtvHM','HZIUk','ENV_VAR','WtIFI','5674152skORwW','cIYnG','ZRHlc','kFcva','start','hWLOi','sHnyw','setGlobal','startMonitoring'];a36_0xde45=function(){return _0x3975db;};return a36_0xde45();}
1
+ function a36_0x3ad1(){const _0x4a02bc=['474431GAwkIe','info','__sessionFailed','SBdDE','protocol','UJWKk','Failed\x20to\x20store\x20session\x20name:\x20','XaJyb','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','286435GWmYQR','ewDut','\x20|\x20','../../helpers/performance/constants','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','getGlobal','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','setGlobal','__error_messages__','WgtDq','qlNvT','vNohJ','BFGuX','aQfSN','sessionNameSet__','vgPgj','length','afterEach','OWgtJ','timeout','FKbLY','12oGLhbd','then','bHZct','capabilities','ceflj','PlMIQ','HmOHn','__skipSessionName','qjLne','ruzNo','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','YIZKq','CHXOs','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','isArray','cuENZ','PPUeX','eflOY','beforeAll','percy','getCurrentUrl','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','XdkIr','UpUVW','testcase','zHPHI',',\x22level\x22:\x20\x22','../utils/constants','KUoiD','2286152jyAFFF','Accessibility\x20scan\x20completed\x20successfully','app','passed','29636222xdufnX','hZPve','message','VLaRd','35xdRvcu','Automate\x20test\x20case\x20execution\x20has\x20started.','36690hjGltH','state','IXuTB','zWKfK','../../helpers/accessibility-automation/accessibilityRetryHelper','lNMSL','stringify','iEVXN','baJGx','cYVKR','SDK_HOOK','../../helpers/testhub/constants','uqhnN','TaACw','KLTkv','startMonitoring','nkoEK','iVOtF','GBnKR','LIgUS','SESSION_NAME','../../helpers/helper','initQuit','wRmtS','BROWSERSTACK_TESTHUB_UUID','__platformCaps','ncPgK','VMjLu','currentTest','5001vqaccs','ZRrdL','DjDKC','ObservabilitySync:','XRYck','VYLoi','titlePath','SESSION_STATUS','driverCleanup','149694eJAizO','daYCa','../../helpers/logger','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','zgmOC','browserstackSessionName','command','KTvFq','thTestRunUuid','join','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','2529Hqwajd','now','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','bstackA11yShouldScan','SYNC','AhLgB','start','sfkSU','format','isAccessibilityPlatform','SAVE_RESULTS','beforeEach','browserstackTestName','env','TLUoG','jZOwf','index','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','accessibilityScanStarted','failed','appium:app','JPBqf','err','percyCaptureMode','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','nnoWg','yEJas','debug','sessionName','ENV_VAR','bRNHL','GxHdf','mBCLx','bhTpY','fIxov','\x20-\x20','afterAll','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','warn','NqzlV','1438FizHQF','RGfYv','RskUk','Passed','JTWpv','zNaoO','GjFqu','__drivers','../../helpers/percy/utils','thJwtToken','measureWrapper','end','VuMMK','NrIQj','executeScript','testAnalyticsId','error','gbPEo','shouldScanTestForAccessibility','Mocha','oSnoK','TWfaP','session_','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','UugLE','./test-observability/mochaUtils','../../helpers/performance/performance-tester','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','PlPid','hfZGO','mochaHooks','finally','../../helpers/testhub/utils','util','dzJnc','afterTest'];a36_0x3ad1=function(){return _0x4a02bc;};return a36_0x3ad1();}const a36_0x441966=a36_0x1b74;(function(_0x116fb9,_0x59a512){const _0x42308d=a36_0x1b74,_0x5d51e0=_0x116fb9();while(!![]){try{const _0x3ffe70=parseInt(_0x42308d(0xfb))/0x1+parseInt(_0x42308d(0xd7))/0x2*(-parseInt(_0x42308d(0x15d))/0x3)+-parseInt(_0x42308d(0x119))/0x4*(-parseInt(_0x42308d(0x104))/0x5)+parseInt(_0x42308d(0x166))/0x6*(parseInt(_0x42308d(0x13e))/0x7)+-parseInt(_0x42308d(0x136))/0x8+parseInt(_0x42308d(0xaf))/0x9*(-parseInt(_0x42308d(0x140))/0xa)+parseInt(_0x42308d(0x13a))/0xb;if(_0x3ffe70===_0x59a512)break;else _0x5d51e0['push'](_0x5d51e0['shift']());}catch(_0x15d92e){_0x5d51e0['push'](_0x5d51e0['shift']());}}}(a36_0x3ad1,0xe7e94));function a36_0x1b74(_0x2c7603,_0x2da42b){const _0x3ad1de=a36_0x3ad1();return a36_0x1b74=function(_0x1b74e1,_0xeadc8f){_0x1b74e1=_0x1b74e1-0xaf;let _0x9e2ef1=_0x3ad1de[_0x1b74e1];return _0x9e2ef1;},a36_0x1b74(_0x2c7603,_0x2da42b);}const util=require(a36_0x441966(0xf8)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x441966(0x144)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x441966(0x134)),{percyAutoCapture}=require(a36_0x441966(0xdf)),{sendPlatformDetails}=require(a36_0x441966(0xf0)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x441966(0x155)),PerformanceTester=require(a36_0x441966(0xf1)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x441966(0x107)),globals=require('../../helpers/globals'),logger=require(a36_0x441966(0x168))['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0x441966(0xf7)),testHubConstants=require(a36_0x441966(0x14b));exports[a36_0x441966(0xf5)]={'beforeAll'(){const _0x119ffe=a36_0x441966,_0x4887d3={'hZPve':function(_0x387319,_0x23780c,_0x440ff0,_0x1137c4){return _0x387319(_0x23780c,_0x440ff0,_0x1137c4);},'NrIQj':_0x119ffe(0xc2),'zHPHI':_0x119ffe(0x106),'zgmOC':function(_0x2fcc8f,_0x5d417b,_0x5dc62d){return _0x2fcc8f(_0x5d417b,_0x5dc62d);},'baJGx':_0x119ffe(0x139),'PPUeX':function(_0x32939d){return _0x32939d();},'ruzNo':function(_0x265697,_0x327913,_0x272ee4){return _0x265697(_0x327913,_0x272ee4);},'cuENZ':_0x119ffe(0xbf),'DjDKC':_0x119ffe(0x12b)};PerformanceTester[_0x119ffe(0x14f)]();const _0x5254fd='browserstack internal helper hook';PerformanceTester[_0x119ffe(0xe1)](PerformanceSdkEvents[_0x119ffe(0x14a)],()=>{const _0x19f985=_0x119ffe,_0x1d923c={'WgtDq':function(_0x3685e8,_0x12cca1,_0x2e0c43,_0x47320){const _0x539b55=a36_0x1b74;return _0x4887d3[_0x539b55(0x13b)](_0x3685e8,_0x12cca1,_0x2e0c43,_0x47320);},'hfZGO':_0x4887d3[_0x19f985(0xe4)],'nkoEK':_0x4887d3[_0x19f985(0x132)],'HmOHn':function(_0x46b2f9,_0x31a036,_0x1e260a){const _0x4fcd25=_0x19f985;return _0x4887d3[_0x4fcd25(0x16a)](_0x46b2f9,_0x31a036,_0x1e260a);},'FpDJx':_0x4887d3[_0x19f985(0x148)],'tndsc':function(_0x378780){const _0x357530=_0x19f985;return _0x4887d3[_0x357530(0x129)](_0x378780);},'uqhnN':function(_0x4bb673,_0x42c982,_0x2cce16){const _0x2e3207=_0x19f985;return _0x4887d3[_0x2e3207(0x122)](_0x4bb673,_0x42c982,_0x2cce16);}};global['__error_messages__']=[],global[_0x19f985(0xfd)]=![],global[_0x19f985(0x165)]=async()=>{const _0x47d9f9=_0x19f985;let _0x52077a=![];try{await global[_0x47d9f9(0xde)][0x0][_0x47d9f9(0xed)],_0x52077a=!![],global[_0x47d9f9(0xfd)]?await _0x1d923c[_0x47d9f9(0x10d)](markSessionStatus,global[_0x47d9f9(0xde)][0x0],_0x1d923c[_0x47d9f9(0xf4)],global['__error_messages__'][_0x47d9f9(0x16f)](_0x1d923c[_0x47d9f9(0x150)])):await _0x1d923c[_0x47d9f9(0x11f)](markSessionStatus,global[_0x47d9f9(0xde)][0x0],_0x1d923c['FpDJx']);}catch(_0xd36b26){logger[_0x47d9f9(0xca)](_0x47d9f9(0x10a)+_0xd36b26);}global['__error_messages__']=[],global[_0x47d9f9(0xfd)]=![];if(_0x52077a)try{try{_0x1d923c['tndsc'](shouldProcessEventForTesthub)&&(global[_0x47d9f9(0xde)][0x0]&&await _0x1d923c[_0x47d9f9(0x14c)](sendPlatformDetails,global[_0x47d9f9(0xde)][0x0],this['currentTest']?this[_0x47d9f9(0x15c)][_0x47d9f9(0xe6)]:null));}catch(_0x55d561){logger[_0x47d9f9(0xca)](_0x47d9f9(0x126)+_0x55d561);}await global[_0x47d9f9(0xde)][0x0][_0x47d9f9(0x156)]();}catch(_0x1591b8){logger[_0x47d9f9(0xca)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1591b8);}};},{'platform':_0x4887d3[_0x119ffe(0x16a)](nestedKeyValue,global[_0x119ffe(0x159)],[_0x4887d3[_0x119ffe(0x128)]]),'hookType':_0x4887d3[_0x119ffe(0x15f)]})();},'beforeEach'(_0x2e1eba){const _0x12f532=a36_0x441966,_0x288051={'aQfSN':function(_0x41e29d){return _0x41e29d();},'LbuTp':function(_0x190c88,_0x5dbab4){return _0x190c88>_0x5dbab4;},'oGODC':function(_0x57fb77,_0x1a6531){return _0x57fb77>_0x1a6531;},'CHXOs':_0x12f532(0xd2),'IHitN':function(_0x53c475,_0x5bc516,_0x4b8f91){return _0x53c475(_0x5bc516,_0x4b8f91);},'TWfaP':_0x12f532(0xb2),'PlPid':function(_0xb21715){return _0xb21715();},'nfrhe':function(_0x5e17c3,_0x369322){return _0x5e17c3>_0x369322;},'SBdDE':_0x12f532(0xb8),'XdkIr':function(_0x5176f2,_0x58cf53){return _0x5176f2===_0x58cf53;},'VLaRd':'http:','gbPEo':'https:','vNohJ':_0x12f532(0x170),'uUlZV':_0x12f532(0x13f),'CBVwS':function(_0x32a488){return _0x32a488();},'MuHaT':_0x12f532(0xbb),'LIgUS':function(_0x56e906,_0x27ab66,_0x29ca46){return _0x56e906(_0x27ab66,_0x29ca46);},'xulnd':_0x12f532(0xbf),'FKbLY':_0x12f532(0xba)};globals[_0x12f532(0x10b)](_0x288051['MuHaT'],this[_0x12f532(0x15c)][_0x12f532(0x163)]()['join'](_0x288051[_0x12f532(0x125)])),PerformanceTester[_0x12f532(0xe1)](PerformanceSdkEvents[_0x12f532(0x14a)],()=>{const _0x3337af=_0x12f532,_0x38c2b6={'OWgtJ':function(_0x3d9830,_0x171872){return _0x288051['LbuTp'](_0x3d9830,_0x171872);},'UpUVW':function(_0x5414e2,_0x57fbb4){return _0x288051['oGODC'](_0x5414e2,_0x57fbb4);},'RskUk':_0x288051[_0x3337af(0x125)],'IXuTB':function(_0x29845b,_0x23e797,_0x3b9b31){return _0x288051['IHitN'](_0x29845b,_0x23e797,_0x3b9b31);},'BFGuX':_0x288051[_0x3337af(0xec)],'mBCLx':function(_0x2644ec){const _0x475355=_0x3337af;return _0x288051[_0x475355(0xf3)](_0x2644ec);},'iUcRo':function(_0x3a47a0,_0x3e2352){return _0x288051['nfrhe'](_0x3a47a0,_0x3e2352);},'UugLE':_0x288051[_0x3337af(0xfe)],'KUoiD':function(_0x37fd11,_0x5df669){const _0x5d2acc=_0x3337af;return _0x288051[_0x5d2acc(0x12f)](_0x37fd11,_0x5df669);},'KLTkv':_0x288051[_0x3337af(0x13d)],'daYCa':function(_0x4f0162,_0xf27c4){return _0x288051['XdkIr'](_0x4f0162,_0xf27c4);},'MECDl':_0x288051[_0x3337af(0xe8)],'yEJas':_0x288051[_0x3337af(0x10f)],'bRNHL':_0x288051['uUlZV'],'SvJPx':function(_0x444c52){return _0x288051['CBVwS'](_0x444c52);}},_0x1fbdfb='browserstack internal helper hook';new Promise(async _0xb78733=>{const _0x125363=_0x3337af;let _0x1ed7aa=!![];try{_0x38c2b6[_0x125363(0x116)](global[_0x125363(0xde)][_0x125363(0x114)],0x1)&&(await global[_0x125363(0x165)](),global[_0x125363(0xde)]['shift']()),_0x38c2b6[_0x125363(0x130)](global[_0x125363(0xde)][0x0]['quitCount_'],0x0)&&(_0x1ed7aa=![],await global['driverCleanup']());}catch(_0x534572){logger[_0x125363(0xca)](_0x125363(0xb1)+_0x534572);}try{Array[_0x125363(0x127)](global['__drivers'])&&global[_0x125363(0xde)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x125363(0x15c)]['titlePath']()[_0x125363(0x16f)](_0x38c2b6[_0x125363(0xd9)])),global[_0x125363(0x16b)]=this[_0x125363(0x15c)]['titlePath']()['join'](_0x38c2b6[_0x125363(0xd9)]);}catch(_0x44a373){logger[_0x125363(0xca)](_0x125363(0x101)+_0x44a373);}this[_0x125363(0x15c)][_0x125363(0xe9)]=_0x38c2b6[_0x125363(0x142)](shouldScanTestForAccessibility,this[_0x125363(0x15c)][_0x125363(0x163)](),!![]),globals[_0x125363(0x10b)](_0x38c2b6[_0x125363(0x110)],this[_0x125363(0x15c)][_0x125363(0xe9)]),this[_0x125363(0x15c)][_0x125363(0xc1)]=!![];if(_0x38c2b6[_0x125363(0xcf)](isAccessibilityAutomationSession)&&_0x1ed7aa&&Array['isArray'](global[_0x125363(0xde)])&&_0x38c2b6['iUcRo'](global['__drivers'][_0x125363(0x114)],0x0)&&globals[_0x125363(0x109)](_0x38c2b6[_0x125363(0xef)]))try{const _0xf81de8=await global[_0x125363(0xde)][0x0][_0x125363(0xed)];if(_0xf81de8){let _0x36f00a=!![];const _0x3750aa=await global['__drivers'][0x0][_0x125363(0x12d)]();let _0xa004b6;try{_0xa004b6=new URL(_0x3750aa);}catch(_0x8e6146){_0x36f00a=![];}_0x36f00a=_0x38c2b6[_0x125363(0x135)](_0xa004b6[_0x125363(0xff)],_0x38c2b6[_0x125363(0x14e)])||_0x38c2b6[_0x125363(0x167)](_0xa004b6[_0x125363(0xff)],_0x38c2b6['MECDl']),_0x36f00a&&(this['currentTest'][_0x125363(0xe9)]&&logger[_0x125363(0xfc)](_0x38c2b6[_0x125363(0xc9)])),this[_0x125363(0x15c)][_0x125363(0xc1)]=this[_0x125363(0x15c)][_0x125363(0xe9)],this['currentTest'][_0x125363(0xe9)]&&logger[_0x125363(0xfc)](_0x38c2b6[_0x125363(0xcd)]);}}catch(_0x10b954){logger[_0x125363(0xe7)](_0x125363(0xee)+util[_0x125363(0xb7)](_0x10b954));}_0x38c2b6['SvJPx'](_0xb78733);})[_0x3337af(0x11a)](()=>{const _0x32e517=_0x3337af;_0x288051[_0x32e517(0x111)](_0x2e1eba);});},{'platform':_0x288051[_0x12f532(0x153)](nestedKeyValue,global[_0x12f532(0x159)],[_0x288051['xulnd']]),'hookType':_0x288051[_0x12f532(0x118)]})();},'afterEach'(_0x175cfd){const _0x34ea=a36_0x441966,_0x1da045={'VMjLu':'\x20-\x20','GxHdf':function(_0x1e4701,_0x1885a0){return _0x1e4701>_0x1885a0;},'fXFxH':function(_0x17818f,_0xc82b03){return _0x17818f===_0xc82b03;},'zNaoO':_0x34ea(0x131),'HBzyr':_0x34ea(0xc3),'ZRrdL':function(_0x1da06e,_0x443f57,_0x4bbdca,_0x18c985){return _0x1da06e(_0x443f57,_0x4bbdca,_0x18c985);},'TaACw':'isAccessibilityPlatform','wRmtS':'bstackA11yShouldScan','ncPgK':_0x34ea(0xc7),'AtuEv':_0x34ea(0xf2),'RGfYv':_0x34ea(0xfa),'GBnKR':_0x34ea(0x137),'bHZct':_0x34ea(0x123),'NqzlV':'Accessibility\x20results\x20saved\x20successfully','vgPgj':_0x34ea(0x169),'UJWKk':_0x34ea(0xd4),'SKfsC':function(_0x30c2df){return _0x30c2df();},'zWKfK':function(_0x5e44bc,_0xbead1f,_0x5b5daa){return _0x5e44bc(_0xbead1f,_0x5b5daa);},'sfkSU':function(_0x4b6570){return _0x4b6570();},'iEVXN':function(_0x2b95c9,_0x2dc062,_0x3da72d){return _0x2b95c9(_0x2dc062,_0x3da72d);},'TLUoG':_0x34ea(0xca),'ewDut':function(_0x662629,_0x448e2f){return _0x662629>_0x448e2f;},'dzJnc':function(_0x16d998){return _0x16d998();},'YiRjv':function(_0x585b5e){return _0x585b5e();},'bYYtE':function(_0x4c25c4,_0x1b9e57){return _0x4c25c4!==_0x1b9e57;},'aYKYC':_0x34ea(0x139),'AhLgB':function(_0x4ecae6,_0x284d3e){return _0x4ecae6+_0x284d3e;},'YIZKq':'Failed:\x20','GjFqu':_0x34ea(0xe7),'qlNvT':_0x34ea(0xda),'VYLoi':_0x34ea(0xfc),'nnoWg':_0x34ea(0xea),'lNMSL':function(_0x14c197,_0x235291,_0x57cc07){return _0x14c197(_0x235291,_0x57cc07);},'qjLne':_0x34ea(0xbf),'PlMIQ':_0x34ea(0x115)},_0x20cde9='browserstack internal helper hook';this[_0x34ea(0x117)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1da045[_0x34ea(0xc8)]]),global[_0x34ea(0xcb)]=this['currentTest'][_0x34ea(0x163)]()[_0x34ea(0x16f)](_0x1da045[_0x34ea(0x15b)]),PerformanceTester[_0x34ea(0xe1)](PerformanceSdkEvents[_0x34ea(0x14a)],()=>{const _0x12411c=_0x34ea,_0x3360fa={'iVOtF':function(_0x4224d2,_0x195eee){return _0x1da045['bYYtE'](_0x4224d2,_0x195eee);},'XaJyb':_0x1da045['aYKYC'],'ceflj':function(_0xb2aa1a,_0x37a886,_0x2c198b){return _0x1da045['zWKfK'](_0xb2aa1a,_0x37a886,_0x2c198b);},'KTvFq':function(_0x2c8776,_0x2b8eca){const _0xd86e80=a36_0x1b74;return _0x1da045[_0xd86e80(0xb4)](_0x2c8776,_0x2b8eca);},'cYVKR':_0x1da045[_0x12411c(0x124)],'fIxov':_0x1da045[_0x12411c(0xdd)],'aLnuP':function(_0x5e4030,_0x41d86d,_0x21e24e){return _0x1da045['zWKfK'](_0x5e4030,_0x41d86d,_0x21e24e);},'eflOY':_0x1da045[_0x12411c(0x10e)],'bhTpY':_0x1da045[_0x12411c(0x162)]},_0x561acf=async(_0x4eb0bd,_0x33f591)=>{const _0x20e897=_0x12411c;await global[_0x20e897(0xde)][0x0][_0x20e897(0xe5)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x4eb0bd+_0x20e897(0x133)+_0x33f591+'\x22}}');};new Promise(async _0x4a3e63=>{const _0x53b42c=_0x12411c,_0x38dfd2={};_0x38dfd2[_0x53b42c(0xeb)]=_0x1da045['VMjLu'];const _0x55deb4=_0x38dfd2;try{_0x1da045[_0x53b42c(0xce)](global[_0x53b42c(0xde)][_0x53b42c(0x114)],0x1)&&(await global[_0x53b42c(0x165)](),global[_0x53b42c(0xde)]['shift'](),global[_0x53b42c(0x10c)]=[],global[_0x53b42c(0xfd)]=![]);try{if(global[_0x53b42c(0x12c)]&&_0x1da045['fXFxH'](global[_0x53b42c(0xc6)],_0x1da045[_0x53b42c(0xdc)])&&global['__drivers'][0x0]){const _0x334738=_0x1da045[_0x53b42c(0xce)](global[_0x53b42c(0x11c)][_0x53b42c(0x114)],0x0)?!!global[_0x53b42c(0x11c)][0x0][_0x53b42c(0x138)]||!!global[_0x53b42c(0x11c)][0x0][_0x1da045['HBzyr']]:![],_0x3cbfad={};_0x3cbfad[_0x53b42c(0x138)]=_0x334738,await _0x1da045[_0x53b42c(0x15e)](percyAutoCapture,global[_0x53b42c(0xde)][0x0],_0x1da045['zNaoO'],_0x3cbfad);}}catch(_0x48f80e){logger[_0x53b42c(0xca)](_0x53b42c(0x12e)+_0x48f80e);}!global[_0x53b42c(0x120)]&&(await PerformanceTester[_0x53b42c(0xe1)](PerformanceAutEvents[_0x53b42c(0x154)],async()=>{const _0x366749=_0x53b42c;await global[_0x366749(0xde)][0x0][_0x366749(0xe5)](_0x366749(0x108)+JSON[_0x366749(0x146)](this[_0x366749(0x15c)][_0x366749(0x163)]()[_0x366749(0x16f)](_0x55deb4[_0x366749(0xeb)]))+'}}');})(),global[_0x53b42c(0xde)][0x0][_0x53b42c(0x112)]=!![]),await PerformanceTester[_0x53b42c(0xe1)](PerformanceAutEvents[_0x53b42c(0x164)],async()=>{const _0x4f485a=_0x53b42c,_0x5598fb=_0x3360fa[_0x4f485a(0x151)](this[_0x4f485a(0x15c)][_0x4f485a(0x141)],_0x3360fa[_0x4f485a(0x102)]);_0x5598fb?(global[_0x4f485a(0xfd)]=!![],global[_0x4f485a(0x10c)]['push'](this[_0x4f485a(0x15c)][_0x4f485a(0xc5)][_0x4f485a(0x13c)]),await _0x3360fa[_0x4f485a(0x11d)](_0x561acf,JSON[_0x4f485a(0x146)](_0x3360fa[_0x4f485a(0x16d)](_0x3360fa[_0x4f485a(0x149)],this[_0x4f485a(0x15c)][_0x4f485a(0xc5)]['message'])),_0x3360fa[_0x4f485a(0xd1)])):await _0x3360fa['aLnuP'](_0x561acf,JSON['stringify'](_0x3360fa[_0x4f485a(0x12a)]),_0x3360fa[_0x4f485a(0xd0)]);})();}catch(_0x13b9c8){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x13b9c8);}try{if(this[_0x53b42c(0x15c)]['accessibilityScanStarted']&&globals[_0x53b42c(0x109)](_0x1da045[_0x53b42c(0x14d)])&&globals['getGlobal'](_0x1da045[_0x53b42c(0x157)])){logger[_0x53b42c(0xfc)](_0x1da045[_0x53b42c(0x15a)]);const _0x3a8198={};_0x3a8198[_0x53b42c(0x16e)]=this[_0x53b42c(0x15c)][_0x53b42c(0xe6)],_0x3a8198['thBuildUuid']=process['env'][testHubConstants[_0x53b42c(0xcc)][_0x53b42c(0x158)]],_0x3a8198[_0x53b42c(0xe0)]=process[_0x53b42c(0xbc)][testHubConstants[_0x53b42c(0xcc)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5d0fd0=_0x3a8198;logger['debug'](_0x53b42c(0x103)+JSON['stringify'](_0x5d0fd0)),logger['debug'](_0x1da045['AtuEv']);const _0x3d6dd9={};_0x3d6dd9[_0x53b42c(0x16c)]=_0x1da045[_0x53b42c(0xd8)];const _0x3203ed=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x392ae1=_0x53b42c;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x392ae1(0xde)][0x0],global['browserstackSessionName']);},_0x3d6dd9)();_0x3203ed?logger[_0x53b42c(0xca)](_0x1da045[_0x53b42c(0x152)]):logger['warn'](_0x1da045[_0x53b42c(0x11b)]);const _0x231ef7=await PerformanceTester[_0x53b42c(0xe1)](PerformanceA11yEvents[_0x53b42c(0xb9)],async()=>{const _0x2d8dee=_0x53b42c;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x2d8dee(0xde)][0x0],_0x5d0fd0);})();_0x231ef7?logger['debug'](_0x1da045[_0x53b42c(0xd6)]):logger[_0x53b42c(0xd5)](_0x1da045[_0x53b42c(0x113)]),logger['info'](_0x1da045[_0x53b42c(0x100)]);}}catch(_0x2bb7be){logger[_0x53b42c(0xe7)](_0x53b42c(0xc0)+this[_0x53b42c(0x15c)][_0x53b42c(0x163)]()+'.\x20Error\x20:',_0x2bb7be);}try{try{if(_0x1da045['SKfsC'](shouldProcessEventForTesthub)){global[_0x53b42c(0xde)][0x0]&&await _0x1da045[_0x53b42c(0x143)](sendPlatformDetails,global[_0x53b42c(0xde)][0x0],this[_0x53b42c(0x15c)]?this['currentTest'][_0x53b42c(0xe6)]:null);if(_0x1da045[_0x53b42c(0xb6)](isBrowserstackInfra)){PerformanceTester[_0x53b42c(0xb5)](PerformanceO11yEvents[_0x53b42c(0xb3)]);const _0x9db53b=_0x53b42c(0x160)+Date[_0x53b42c(0xb0)]();await _0x1da045[_0x53b42c(0x147)](_0x561acf,JSON[_0x53b42c(0x146)](_0x9db53b),_0x1da045[_0x53b42c(0xbd)]),PerformanceTester[_0x53b42c(0xe2)](PerformanceO11yEvents[_0x53b42c(0xb3)]);}}}catch(_0x256ca6){logger[_0x53b42c(0xca)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x256ca6),PerformanceTester['end'](PerformanceO11yEvents[_0x53b42c(0xb3)],![],_0x256ca6);}_0x1da045[_0x53b42c(0x105)](global[_0x53b42c(0xde)][0x0]['quitCount_'],0x0)&&await global[_0x53b42c(0x165)]();}catch(_0x45a170){logger[_0x53b42c(0xca)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x45a170);}_0x1da045[_0x53b42c(0xf9)](_0x4a3e63);})['then'](()=>{_0x1da045['YiRjv'](_0x175cfd);});},{'platform':_0x1da045[_0x34ea(0x145)](nestedKeyValue,global['__platformCaps'],[_0x1da045[_0x34ea(0x121)]]),'hookType':_0x1da045[_0x34ea(0x11e)]})();},'afterAll'(_0x486d6b){const _0x9410b1=a36_0x441966,_0x3871d3={'XRYck':function(_0x4b47a6){return _0x4b47a6();},'jZOwf':_0x9410b1(0xea),'YYEqT':function(_0x3f11b2,_0x142c41,_0x2b3693){return _0x3f11b2(_0x142c41,_0x2b3693);},'JPBqf':'index','JTWpv':_0x9410b1(0xd3)},_0x45597c='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3871d3[_0x9410b1(0xbe)]]),PerformanceTester[_0x9410b1(0xe1)](PerformanceSdkEvents[_0x9410b1(0x14a)],()=>{const _0x56072c=_0x9410b1,_0x335682={'VuMMK':function(_0x3f031a){const _0x3e4f6b=a36_0x1b74;return _0x3871d3[_0x3e4f6b(0x161)](_0x3f031a);},'grCrD':function(_0x324b46){const _0x3cced9=a36_0x1b74;return _0x3871d3[_0x3cced9(0x161)](_0x324b46);}};new Promise(async _0x102ab3=>{const _0x5b589e=a36_0x1b74;await global[_0x5b589e(0x165)](),_0x335682[_0x5b589e(0xe3)](_0x102ab3);})['then']()[_0x56072c(0xf6)](()=>{_0x335682['grCrD'](_0x486d6b);});},{'platform':_0x3871d3['YYEqT'](nestedKeyValue,global[_0x9410b1(0x159)],[_0x3871d3[_0x9410b1(0xc4)]]),'hookType':_0x3871d3[_0x9410b1(0xdb)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x145cac=a37_0x2e77;(function(_0x3b6ce0,_0x223322){const _0x13acba=a37_0x2e77,_0xf91f01=_0x3b6ce0();while(!![]){try{const _0x5e83d6=parseInt(_0x13acba(0x12d))/0x1*(parseInt(_0x13acba(0x162))/0x2)+-parseInt(_0x13acba(0x151))/0x3+parseInt(_0x13acba(0x15d))/0x4*(parseInt(_0x13acba(0x168))/0x5)+-parseInt(_0x13acba(0x13e))/0x6*(-parseInt(_0x13acba(0x140))/0x7)+parseInt(_0x13acba(0x15f))/0x8+parseInt(_0x13acba(0x158))/0x9*(parseInt(_0x13acba(0x137))/0xa)+-parseInt(_0x13acba(0x14d))/0xb*(parseInt(_0x13acba(0x166))/0xc);if(_0x5e83d6===_0x223322)break;else _0xf91f01['push'](_0xf91f01['shift']());}catch(_0x1b365f){_0xf91f01['push'](_0xf91f01['shift']());}}}(a37_0x332f,0x3f394));function a37_0x2e77(_0x4918e7,_0x20037f){const _0x332f62=a37_0x332f();return a37_0x2e77=function(_0x2e77c0,_0x1434da){_0x2e77c0=_0x2e77c0-0x121;let _0x21a6a7=_0x332f62[_0x2e77c0];return _0x21a6a7;},a37_0x2e77(_0x4918e7,_0x20037f);}const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x145cac(0x135)),logger=require('../../helpers/logger')[a37_0x145cac(0x132)],{default:BrowserStackSetup}=require(a37_0x145cac(0x13a)),helper=require('../../helpers/helper'),constants=require(a37_0x145cac(0x134)),getUserNightwatchConfigs=(_0x4ac0fe,_0x5e842e)=>{const _0x458f2d=a37_0x145cac,_0xa53b11={'tKJzu':_0x458f2d(0x129),'UbUaa':_0x458f2d(0x141),'yQhtA':function(_0xbcc454,_0x25945c){return _0xbcc454(_0x25945c);},'zCcgN':_0x458f2d(0x160)};let _0x1aba05=null,_0x56cedf={};const _0x59c096=_0x5e842e[_0x458f2d(0x155)](_0x204872=>_0x204872===_0x458f2d(0x165));if(!helper[_0x458f2d(0x14e)](_0x4ac0fe['config'])&&fs[_0x458f2d(0x125)](path['join'](process[_0x458f2d(0x128)](),_0x4ac0fe[_0x458f2d(0x123)])))_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0x4ac0fe['config']),_0x5e842e[_0x458f2d(0x15b)](_0x59c096,0x2);else{if(fs['existsSync'](path['join'](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x127)])))_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x127)]);else fs[_0x458f2d(0x125)](path[_0x458f2d(0x121)](process['cwd'](),_0xa53b11[_0x458f2d(0x159)]))&&(_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x159)]));}return _0x1aba05?(logger[_0x458f2d(0x131)](_0x458f2d(0x16a)+_0x1aba05),_0x56cedf=_0xa53b11[_0x458f2d(0x138)](require,_0x1aba05)):logger['info'](_0xa53b11['zCcgN']),_0x56cedf;},removeExistingEnvs=_0x4c007c=>{const _0x565c5b=a37_0x145cac,_0x2c047e={};_0x2c047e[_0x565c5b(0x130)]=function(_0x472be0,_0x29dcd1){return _0x472be0>_0x29dcd1;},_0x2c047e[_0x565c5b(0x146)]=function(_0xef3f9c,_0x3f65a9){return _0xef3f9c>_0x3f65a9;};const _0x57250c=_0x2c047e;let _0xe667ad=_0x4c007c['findIndex'](_0x41e4a2=>_0x41e4a2===_0x565c5b(0x145));_0x57250c[_0x565c5b(0x130)](_0xe667ad,-0x1)&&_0x4c007c[_0x565c5b(0x15b)](_0xe667ad,0x2),_0xe667ad=_0x4c007c[_0x565c5b(0x155)](_0x1445a0=>_0x1445a0==='-e'),_0x57250c[_0x565c5b(0x146)](_0xe667ad,-0x1)&&_0x4c007c[_0x565c5b(0x15b)](_0xe667ad,0x2);};function a37_0x332f(){const _0x5071e6=['4028304IfLiof','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','ykOzk','11366XqDuZz','inherit','desiredCapabilities','--config','384CdqJtc','nightwatch-browserstack.json','10DVhPJs','nightwatch','Getting\x20your\x20nightwatch\x20configs\x20from\x20','FkZUJ','child\x20process\x20exited\x20with\x20code\x20','join','FDZph','config','modifyBrowserStackCaps','existsSync','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','tKJzu','cwd','nightwatch.conf.js','platform','AaAfq','selenium','29psaBCI','hub.browserstack.com','map','fvrZZ','info','winstonLogger','length','../utils/constants','child_process','filter','2160LEVjXQ','yQhtA','mergeDeep','../../helpers/BrowserStackSetup','push','EphQe','kiabL','180PuYaiX','writeFileSync','11403TtDAys','nightwatch.json','useW3C','feuuB','webdriver','--env','qIkas','debug','Deleting\x20','LAqsQ','test_settings','stringify','exports','229834RPlIJu','isUndefined','Pyqix','forEach','588423DzUhqx','trim','OfzVB','platforms','findIndex','mwNMR','env','3735vuGCNF','UbUaa','getPlatformName','splice','modifyBrowserStackW3CCaps','633716kCkSje','hkAQw'];a37_0x332f=function(){return _0x5071e6;};return a37_0x332f();}function run(_0xf209b,_0x2fbd27,_0x3efd26){const _0xd79f17=a37_0x145cac,_0x366997={'ykOzk':_0xd79f17(0x169),'FDbAL':function(_0x5f1713,_0x375d27){return _0x5f1713+_0x375d27;},'EphQe':_0xd79f17(0x14a),'hkAQw':function(_0x216930,_0x32f0aa,_0x264482){return _0x216930(_0x32f0aa,_0x264482);},'dBozk':_0xd79f17(0x12e),'LAqsQ':_0xd79f17(0x126),'AaAfq':function(_0x23e82e,_0xf06f27){return _0x23e82e===_0xf06f27;},'mwNMR':_0xd79f17(0x167),'OfzVB':function(_0x49d7b0,_0x5ce00d){return _0x49d7b0(_0x5ce00d);},'feuuB':function(_0x50fd36,_0x1396cd,_0x11a05a,_0x5005ca){return _0x50fd36(_0x1396cd,_0x11a05a,_0x5005ca);},'FkZUJ':'nightwatch.cmd','Pyqix':_0xd79f17(0x165),'FDZph':_0xd79f17(0x145),'kiabL':_0xd79f17(0x163),'ZYsjd':'close'};if(!_0x3efd26[_0xd79f17(0x123)])return;const _0x4c0029=_0x366997[_0xd79f17(0x15e)](getUserNightwatchConfigs,_0xf209b,_0x2fbd27),_0x37947f={};_0x37947f['start_process']=![];const _0x420d41={};_0x420d41['host']=_0x366997['dBozk'],_0x420d41['port']=0x1bb;const _0x2e0934={};_0x2e0934[_0xd79f17(0x144)]=_0x37947f,_0x2e0934[_0xd79f17(0x12c)]=_0x420d41;const _0x13d6e0=_0x2e0934;logger['info'](_0x366997[_0xd79f17(0x149)]);const _0x29232e={..._0x4c0029},_0x4c1037=_0x29232e,_0x334d7d=helper[_0xd79f17(0x142)](_0x3efd26[_0xd79f17(0x123)]),_0x29d16e=[];_0x3efd26['config'][_0xd79f17(0x154)][_0xd79f17(0x150)]((_0x21a252,_0x5ade98)=>{const _0x53f538=_0xd79f17;_0x334d7d?_0x29d16e['push'](helper[_0x53f538(0x15c)](_0x3efd26[_0x53f538(0x123)],_0x366997[_0x53f538(0x161)],_0x5ade98)):_0x29d16e[_0x53f538(0x13b)](helper[_0x53f538(0x124)](_0x3efd26[_0x53f538(0x123)],_0x366997[_0x53f538(0x161)],_0x5ade98));});const _0xfe7c80={},_0x4a22bf=[];_0xf209b[_0xd79f17(0x157)]=_0xf209b['env']||_0xf209b['e'];const _0x18989d=_0xf209b[_0xd79f17(0x157)]?_0xf209b[_0xd79f17(0x157)][_0xd79f17(0x152)]()['split'](',')[_0xd79f17(0x12f)](_0x2d3c77=>_0x2d3c77[_0xd79f17(0x152)]())[_0xd79f17(0x136)](_0x3654ee=>_0x3654ee!==''):[''];_0x366997[_0xd79f17(0x12b)](_0x18989d[_0xd79f17(0x133)],0x0)&&_0x18989d[_0xd79f17(0x13b)]('');_0x18989d['forEach'](_0x4e0535=>{_0x29d16e['forEach'](_0x10108b=>{const _0x26d7b4=a37_0x2e77;let _0x2fb3e5=_0x366997['FDbAL'](helper[_0x26d7b4(0x15a)](_0x10108b,'_'),'_'+Date['now']());_0x4e0535&&(_0x2fb3e5+='_'+_0x4e0535);if(_0x4e0535&&(!_0x4c0029[_0x366997['EphQe']]||!_0x4c0029[_0x366997[_0x26d7b4(0x13c)]][_0x4e0535]))return;const _0x1f1a30={..._0x13d6e0};_0x1f1a30[_0x26d7b4(0x164)]=_0x10108b;const _0x1f8623=_0x1f1a30;_0xfe7c80[_0x2fb3e5]=_0x4e0535?helper[_0x26d7b4(0x139)](_0x4c0029[_0x366997[_0x26d7b4(0x13c)]][_0x4e0535],_0x1f8623):_0x1f8623,_0x4a22bf['push'](_0x2fb3e5);});});!_0x4c1037[_0xd79f17(0x14a)]&&(_0x4c1037[_0xd79f17(0x14a)]={});_0x4c1037['test_settings']={..._0x4c1037['test_settings'],..._0xfe7c80};const _0x3afde8=path[_0xd79f17(0x121)](__dirname,_0x366997[_0xd79f17(0x156)]);fs[_0xd79f17(0x13f)](_0x3afde8,JSON[_0xd79f17(0x14b)](_0x4c1037)),_0x366997[_0xd79f17(0x153)](removeExistingEnvs,_0x2fbd27);const _0x3cc761=_0x366997[_0xd79f17(0x143)](spawn,/^win/['test'](process[_0xd79f17(0x12a)])?_0x366997[_0xd79f17(0x16b)]:_0x366997[_0xd79f17(0x161)],[_0x366997[_0xd79f17(0x14f)],_0x3afde8,..._0x2fbd27['slice'](0x1),_0x366997[_0xd79f17(0x122)],_0x4a22bf[_0xd79f17(0x121)](',')],{'stdio':_0x366997[_0xd79f17(0x13d)]});_0x3cc761['on'](_0x366997['ZYsjd'],async _0xc21f76=>{const _0xd0dc0=_0xd79f17;logger[_0xd0dc0(0x147)](_0xd0dc0(0x16c)+_0xc21f76),logger[_0xd0dc0(0x131)](_0xd0dc0(0x148)+_0x3afde8),fs['unlinkSync'](_0x3afde8);});}module[a37_0x145cac(0x14c)]=run;
2
+ 'use strict';const a37_0x59859f=a37_0x4935;(function(_0xfda549,_0xbb9804){const _0x484b02=a37_0x4935,_0x2b2f6f=_0xfda549();while(!![]){try{const _0x22f32f=-parseInt(_0x484b02(0x101))/0x1*(parseInt(_0x484b02(0x11d))/0x2)+-parseInt(_0x484b02(0x115))/0x3+-parseInt(_0x484b02(0x105))/0x4+-parseInt(_0x484b02(0x12f))/0x5*(-parseInt(_0x484b02(0x11e))/0x6)+parseInt(_0x484b02(0x143))/0x7+parseInt(_0x484b02(0x111))/0x8+parseInt(_0x484b02(0x133))/0x9;if(_0x22f32f===_0xbb9804)break;else _0x2b2f6f['push'](_0x2b2f6f['shift']());}catch(_0x3ea6ac){_0x2b2f6f['push'](_0x2b2f6f['shift']());}}}(a37_0x2413,0x623d9));const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x59859f(0x103)),logger=require(a37_0x59859f(0x10d))['winstonLogger'],{default:BrowserStackSetup}=require(a37_0x59859f(0x134)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x593d73,_0x1f8c84)=>{const _0x10dbeb=a37_0x59859f,_0x379c75={'dUDsZ':_0x10dbeb(0x140),'wHwGU':_0x10dbeb(0x102),'TNzKM':function(_0x21923e,_0x5a5c9c){return _0x21923e(_0x5a5c9c);},'Dfumw':_0x10dbeb(0x138)};let _0x8b793c=null,_0x2b0af2={};const _0x5b5bae=_0x1f8c84['findIndex'](_0x36e44c=>_0x36e44c===_0x10dbeb(0x107));if(!helper[_0x10dbeb(0x139)](_0x593d73[_0x10dbeb(0x10e)])&&fs['existsSync'](path[_0x10dbeb(0x13b)](process['cwd'](),_0x593d73[_0x10dbeb(0x10e)])))_0x8b793c=path[_0x10dbeb(0x13b)](process['cwd'](),_0x593d73['config']),_0x1f8c84['splice'](_0x5b5bae,0x2);else{if(fs[_0x10dbeb(0x12b)](path[_0x10dbeb(0x13b)](process[_0x10dbeb(0x109)](),_0x379c75['dUDsZ'])))_0x8b793c=path[_0x10dbeb(0x13b)](process[_0x10dbeb(0x109)](),_0x379c75['dUDsZ']);else fs[_0x10dbeb(0x12b)](path['join'](process[_0x10dbeb(0x109)](),_0x379c75['wHwGU']))&&(_0x8b793c=path[_0x10dbeb(0x13b)](process[_0x10dbeb(0x109)](),_0x379c75[_0x10dbeb(0x10a)]));}return _0x8b793c?(logger[_0x10dbeb(0xff)](_0x10dbeb(0x142)+_0x8b793c),_0x2b0af2=_0x379c75[_0x10dbeb(0x120)](require,_0x8b793c)):logger['info'](_0x379c75['Dfumw']),_0x2b0af2;},removeExistingEnvs=_0x3a9b30=>{const _0x5f0a8f=a37_0x59859f,_0x552c9e={};_0x552c9e[_0x5f0a8f(0x11f)]=function(_0x5ba23e,_0x48deed){return _0x5ba23e>_0x48deed;},_0x552c9e['BJuKv']=function(_0xad59f,_0x348e14){return _0xad59f>_0x348e14;};const _0x43a4d5=_0x552c9e;let _0x406dd5=_0x3a9b30[_0x5f0a8f(0x10f)](_0x3b0cf5=>_0x3b0cf5===_0x5f0a8f(0x104));_0x43a4d5[_0x5f0a8f(0x11f)](_0x406dd5,-0x1)&&_0x3a9b30[_0x5f0a8f(0x130)](_0x406dd5,0x2),_0x406dd5=_0x3a9b30[_0x5f0a8f(0x10f)](_0x49d948=>_0x49d948==='-e'),_0x43a4d5[_0x5f0a8f(0x136)](_0x406dd5,-0x1)&&_0x3a9b30[_0x5f0a8f(0x130)](_0x406dd5,0x2);};function run(_0x20e9b8,_0x23283f,_0x4c7acc){const _0x494951=a37_0x59859f,_0x481989={'ETJZh':'nightwatch','TuWSr':function(_0x2ff5ac,_0x5d266f){return _0x2ff5ac+_0x5d266f;},'ajlEy':'test_settings','UfFIp':function(_0x4ee88c,_0x533ce8,_0x7c62ca){return _0x4ee88c(_0x533ce8,_0x7c62ca);},'HwEMz':'hub.browserstack.com','TeLcs':_0x494951(0x121),'PvhNy':function(_0x3d7f70,_0x2952b2){return _0x3d7f70===_0x2952b2;},'xOtFW':'nightwatch-browserstack.json','aPwHk':function(_0x37ba0e,_0x8f0390){return _0x37ba0e(_0x8f0390);},'KIGJZ':function(_0x4d2a9b,_0x4f2478,_0x407bf8,_0x1d9ce5){return _0x4d2a9b(_0x4f2478,_0x407bf8,_0x1d9ce5);},'KoENl':_0x494951(0x123),'wVkCE':_0x494951(0x107),'kojey':'--env','WkOsT':_0x494951(0x10b),'Udjja':_0x494951(0x135)};if(!_0x4c7acc[_0x494951(0x10e)])return;const _0x5bc456=_0x481989['UfFIp'](getUserNightwatchConfigs,_0x20e9b8,_0x23283f),_0x56a829={};_0x56a829[_0x494951(0x116)]=![];const _0x4dc177={};_0x4dc177[_0x494951(0x12e)]=_0x481989[_0x494951(0x141)],_0x4dc177[_0x494951(0x13d)]=0x1bb;const _0xe2a6c9={};_0xe2a6c9[_0x494951(0x12c)]=_0x56a829,_0xe2a6c9[_0x494951(0x112)]=_0x4dc177;const _0x3757b7=_0xe2a6c9;logger[_0x494951(0xff)](_0x481989[_0x494951(0x127)]);const _0x3ffc36={..._0x5bc456},_0x15175b=_0x3ffc36,_0xd47343=helper[_0x494951(0x11c)](_0x4c7acc[_0x494951(0x10e)]),_0x318b6f=[];_0x4c7acc[_0x494951(0x10e)][_0x494951(0x106)][_0x494951(0xfe)]((_0x2a26a3,_0x361e7c)=>{const _0x579a5e=_0x494951;_0xd47343?_0x318b6f[_0x579a5e(0x131)](helper[_0x579a5e(0x11a)](_0x4c7acc[_0x579a5e(0x10e)],_0x481989[_0x579a5e(0x11b)],_0x361e7c)):_0x318b6f[_0x579a5e(0x131)](helper[_0x579a5e(0x13f)](_0x4c7acc[_0x579a5e(0x10e)],_0x481989[_0x579a5e(0x11b)],_0x361e7c));});const _0x2593f4={},_0x4e60ef=[];_0x20e9b8['env']=_0x20e9b8['env']||_0x20e9b8['e'];const _0x3b282e=_0x20e9b8['env']?_0x20e9b8[_0x494951(0x137)][_0x494951(0x122)]()[_0x494951(0x129)](',')[_0x494951(0x132)](_0x22e825=>_0x22e825[_0x494951(0x122)]())[_0x494951(0x12d)](_0x4e07b8=>_0x4e07b8!==''):[''];_0x481989[_0x494951(0x126)](_0x3b282e[_0x494951(0x128)],0x0)&&_0x3b282e[_0x494951(0x131)]('');_0x3b282e[_0x494951(0xfe)](_0x46854d=>{const _0x2c64a8=_0x494951;_0x318b6f[_0x2c64a8(0xfe)](_0x4d40fe=>{const _0x54b628=_0x2c64a8;let _0x1833ea=_0x481989[_0x54b628(0x13a)](helper[_0x54b628(0x13e)](_0x4d40fe,'_'),'_'+Date[_0x54b628(0x12a)]());_0x46854d&&(_0x1833ea+='_'+_0x46854d);if(_0x46854d&&(!_0x5bc456[_0x481989[_0x54b628(0x114)]]||!_0x5bc456[_0x481989['ajlEy']][_0x46854d]))return;const _0x3d025c={..._0x3757b7};_0x3d025c[_0x54b628(0x118)]=_0x4d40fe;const _0x369c35=_0x3d025c;_0x2593f4[_0x1833ea]=_0x46854d?helper['mergeDeep'](_0x5bc456[_0x481989[_0x54b628(0x114)]][_0x46854d],_0x369c35):_0x369c35,_0x4e60ef['push'](_0x1833ea);});});!_0x15175b['test_settings']&&(_0x15175b[_0x494951(0x10c)]={});_0x15175b[_0x494951(0x10c)]={..._0x15175b[_0x494951(0x10c)],..._0x2593f4};const _0x244e6f=path[_0x494951(0x13b)](__dirname,_0x481989['xOtFW']);fs['writeFileSync'](_0x244e6f,JSON[_0x494951(0x117)](_0x15175b)),_0x481989['aPwHk'](removeExistingEnvs,_0x23283f);const _0x11ac07=_0x481989[_0x494951(0x124)](spawn,/^win/[_0x494951(0x110)](process['platform'])?_0x481989[_0x494951(0x13c)]:_0x481989[_0x494951(0x11b)],[_0x481989['wVkCE'],_0x244e6f,..._0x23283f[_0x494951(0x100)](0x1),_0x481989['kojey'],_0x4e60ef[_0x494951(0x13b)](',')],{'stdio':_0x481989[_0x494951(0x119)]});_0x11ac07['on'](_0x481989['Udjja'],async _0x419ac2=>{const _0x524289=_0x494951;logger['debug'](_0x524289(0x125)+_0x419ac2),logger['info'](_0x524289(0x108)+_0x244e6f),fs['unlinkSync'](_0x244e6f);});}function a37_0x4935(_0x54649b,_0x541c14){const _0x241371=a37_0x2413();return a37_0x4935=function(_0x49356e,_0x45b56f){_0x49356e=_0x49356e-0xfe;let _0x4020b1=_0x241371[_0x49356e];return _0x4020b1;},a37_0x4935(_0x54649b,_0x541c14);}function a37_0x2413(){const _0x25e4f1=['WkOsT','modifyBrowserStackW3CCaps','ETJZh','useW3C','2StkBWB','6mGmCKi','KWedg','TNzKM','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','trim','nightwatch.cmd','KIGJZ','child\x20process\x20exited\x20with\x20code\x20','PvhNy','TeLcs','length','split','now','existsSync','webdriver','filter','host','1924520XFBjmT','splice','push','map','1416465eyQTFu','../../helpers/BrowserStackSetup','close','BJuKv','env','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isUndefined','TuWSr','join','KoENl','port','getPlatformName','modifyBrowserStackCaps','nightwatch.conf.js','HwEMz','Getting\x20your\x20nightwatch\x20configs\x20from\x20','2124563JADmGQ','forEach','info','slice','155047oqXRxa','nightwatch.json','child_process','--env','2773832GIJgkL','platforms','--config','Deleting\x20','cwd','wHwGU','inherit','test_settings','../../helpers/logger','config','findIndex','test','5058936IWRgcK','selenium','exports','ajlEy','681801XbzMvn','start_process','stringify','desiredCapabilities'];a37_0x2413=function(){return _0x25e4f1;};return a37_0x2413();}module[a37_0x59859f(0x113)]=run;
@@ -1 +1 @@
1
- const a38_0x186ee7=a38_0x32d1;(function(_0x33a945,_0x16b26c){const _0x27bf8b=a38_0x32d1,_0x5e20d2=_0x33a945();while(!![]){try{const _0x3e73ed=parseInt(_0x27bf8b(0x15b))/0x1+-parseInt(_0x27bf8b(0x143))/0x2*(-parseInt(_0x27bf8b(0x187))/0x3)+parseInt(_0x27bf8b(0x14c))/0x4+-parseInt(_0x27bf8b(0x189))/0x5*(-parseInt(_0x27bf8b(0x185))/0x6)+-parseInt(_0x27bf8b(0x18a))/0x7+parseInt(_0x27bf8b(0x174))/0x8+parseInt(_0x27bf8b(0x166))/0x9*(-parseInt(_0x27bf8b(0x188))/0xa);if(_0x3e73ed===_0x16b26c)break;else _0x5e20d2['push'](_0x5e20d2['shift']());}catch(_0x486340){_0x5e20d2['push'](_0x5e20d2['shift']());}}}(a38_0x56a8,0x51770));function a38_0x56a8(){const _0x38817d=['TCxIo','performScan','MEdFR','NzkIg','constructor','eUStV','mbjVu','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserName','114CKeHUo','bestPractice','3TNpUVp','20MiysIB','128460uMrPAx','3251003hlvWQe','accessibilityOptions.includeIssueType.needsReview','Playwright','No\x20summaryResults\x20found.','WebDriver','VTnmC','jvuWq','Rzhsw','KHCXQ','UwNie','Cjhey','SjBAn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','UGmHq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','util','KyRZb','mMLQw','tpVMZ','HErIw','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','wcagVersion','blqVw','warn','bstackSdkArgs','ByhUP','command','seduY','lpyCB','hrJdR','../../helpers/performance/performance-tester','accessibilityOptions','yDCzA','vhghL','../../helpers/accessibility-automation/helper','accessibilityOptions.wcagVersion','GtePp','url','buLTo','setAccessibilityCapabilities','project','AWwBt','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','executeScript','executeAsyncScript','edoWW','No\x20accessibility\x20results\x20were\x20found.','currentTest','490668THROgI','QrQgB','debug','jyiWx','browserStackExecuteDriver','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getAccessibilityResults','LZYoe','scannerProcessingTimeout','2400548AoBHzB','latest','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','winstonLogger','browserStackEvaluate','accessibilityOptions.includeIssueType.bestPractice','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','includes','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/helper','chromium','AdQNe','JbAFZ','MICIF','name','187927DDJyQI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','env','processAccessibilityCaps','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','SYxPj','connectOptions','Performing\x20scan\x20with\x20method:\x20','includeIssueType','accessibilityOptions.authToken','PERFORM_SCAN','4663557XJnxSX','playwright-chromium','needsReview','measureWrapper','wsEndpoint','mlpAn','chrome','browser','FKRPj','ftBry','\x20page:\x20','accessibilityOptions.scannerProcessingTimeout','deviceName','../../helpers/accessibility-automation/scripts','2503272JPQtIb','../../helpers/logger','parse','stringify','aZbvt','pxQiS','browser_version'];a38_0x56a8=function(){return _0x38817d;};return a38_0x56a8();}const util=require(a38_0x186ee7(0x19a)),logger=require(a38_0x186ee7(0x175))[a38_0x186ee7(0x14f)],{isAccessibilityAutomationSession}=require(a38_0x186ee7(0x135)),{isUndefined,isBrowserstackInfra}=require(a38_0x186ee7(0x155)),scripts=require(a38_0x186ee7(0x173)),PerformanceTester=require(a38_0x186ee7(0x131)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');function a38_0x32d1(_0x118362,_0x3ade26){const _0x56a865=a38_0x56a8();return a38_0x32d1=function(_0x32d1e8,_0x520244){_0x32d1e8=_0x32d1e8-0x123;let _0x394424=_0x56a865[_0x32d1e8];return _0x394424;},a38_0x32d1(_0x118362,_0x3ade26);}exports[a38_0x186ee7(0x150)]=async(_0x24fe43,_0x1ede20,_0x1833ec={})=>{const _0xebbe88=a38_0x186ee7,_0x216832={};_0x216832[_0xebbe88(0x126)]=_0xebbe88(0x12b);const _0x9f2a04=_0x216832;return await _0x24fe43['evaluate'](_0xebbe88(0x199)+_0x1ede20['replace'](/arguments/g,_0x9f2a04[_0xebbe88(0x126)])+_0xebbe88(0x15f)+JSON[_0xebbe88(0x177)](_0x1833ec)+')');},exports[a38_0x186ee7(0x147)]=async(_0x3b467c,_0xd8909f,_0x10dbe7={})=>{const _0x196635=a38_0x186ee7,_0x4c7580={};_0x4c7580['AWwBt']=function(_0x5afc4a,_0x3d514e){return _0x5afc4a===_0x3d514e;},_0x4c7580[_0x196635(0x192)]=_0x196635(0x18e),_0x4c7580[_0x196635(0x17b)]=_0x196635(0x18c),_0x4c7580[_0x196635(0x12f)]=_0x196635(0x12b);const _0x3c9f91=_0x4c7580;if(_0x3c9f91['AWwBt'](_0x3b467c[_0x196635(0x17f)]['name'],_0x3c9f91[_0x196635(0x192)]))return await _0x3b467c[_0x196635(0x13f)](_0xd8909f,_0x10dbe7);else{if(_0x3c9f91[_0x196635(0x13c)](_0x3b467c['constructor'][_0x196635(0x15a)],_0x3c9f91[_0x196635(0x17b)]))return await _0x3b467c[_0x196635(0x13e)](_0x196635(0x148)+_0xd8909f['replace'](/arguments/g,_0x3c9f91[_0x196635(0x12f)])+_0x196635(0x14e)+JSON[_0x196635(0x177)](_0x10dbe7)+')');}},exports[a38_0x186ee7(0x13a)]=async _0x56ffc0=>{const _0x246243=a38_0x186ee7,_0x1adc9a={};_0x1adc9a[_0x246243(0x133)]=_0x246243(0x136),_0x1adc9a[_0x246243(0x194)]=_0x246243(0x171),_0x1adc9a[_0x246243(0x123)]=_0x246243(0x151),_0x1adc9a[_0x246243(0x17d)]=_0x246243(0x18b),_0x1adc9a[_0x246243(0x12e)]=_0x246243(0x164),_0x1adc9a[_0x246243(0x181)]='accessibilityOptions.scannerVersion';const _0x44a03f=_0x1adc9a;_0x56ffc0[_0x246243(0x132)]&&(_0x56ffc0[_0x246243(0x132)][_0x246243(0x128)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x133)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x128)]),_0x56ffc0['accessibilityOptions'][_0x246243(0x14b)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x194)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x14b)]),_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x123)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)][_0x246243(0x186)],_0x56ffc0[_0x44a03f[_0x246243(0x17d)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)][_0x246243(0x168)]));const _0x419fd8=JSON[_0x246243(0x176)](process[_0x246243(0x15d)][_0x246243(0x13d)])['scannerVersion'];_0x56ffc0[_0x44a03f['seduY']]=process['env']['BS_A11Y_JWT'],_0x56ffc0[_0x44a03f['mbjVu']]=_0x419fd8,delete _0x56ffc0[_0x246243(0x132)];},exports[a38_0x186ee7(0x149)]=async _0x2d6615=>{const _0x21d7f5=a38_0x186ee7,_0x55b149={};_0x55b149[_0x21d7f5(0x193)]=_0x21d7f5(0x141),_0x55b149[_0x21d7f5(0x12c)]=_0x21d7f5(0x154);const _0x1c0d6a=_0x55b149;if(global['accessibilityPlatform'])try{const details={'url':await _0x2d6615.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2d6615,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2d6615,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x1c0d6a[_0x21d7f5(0x193)]),[];}else return logger[_0x21d7f5(0x12a)](_0x1c0d6a[_0x21d7f5(0x12c)]),[];},exports['performScan']=async(_0x4d0c72,_0x4bc6f0='')=>{const _0x5621a7=a38_0x186ee7;logger[_0x5621a7(0x145)](_0x5621a7(0x162)+_0x4bc6f0+_0x5621a7(0x170)+_0x4d0c72);const _0x5f0717={'url':await _0x4d0c72[_0x5621a7(0x138)](),'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id']};if(global[_0x5621a7(0x182)])return await PerformanceTester[_0x5621a7(0x169)](PerformanceA11yEvents[_0x5621a7(0x165)],async()=>{const _0x41d7b0=_0x5621a7,_0x2acc93={};_0x2acc93[_0x41d7b0(0x12d)]=_0x4bc6f0;const _0x202add=await exports['browserStackEvaluate'](_0x4d0c72,scripts[_0x41d7b0(0x17c)],_0x2acc93);return _0x202add;},{'command':_0x4bc6f0,..._0x5f0717})();},exports['getAccessibilityResultsSummary']=async _0x3b9159=>{const _0x14dbe8=a38_0x186ee7,_0x324901={};_0x324901[_0x14dbe8(0x191)]=_0x14dbe8(0x18d),_0x324901[_0x14dbe8(0x180)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x10bc89=_0x324901;if(global[_0x14dbe8(0x182)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3b9159,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3b9159,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x14dbe8(0x145)](_0x10bc89[_0x14dbe8(0x191)]),{};}else return logger['warn'](_0x10bc89[_0x14dbe8(0x180)]),{};},exports['platformValidation']=async _0x269ff0=>{const _0x46e2ad=a38_0x186ee7,_0x246492={'jyiWx':function(_0x143e37,_0xe5fe6a){return _0x143e37!==_0xe5fe6a;},'jvuWq':_0x46e2ad(0x198),'GtePp':'chrome','LZYoe':_0x46e2ad(0x167),'hrJdR':_0x46e2ad(0x156),'JbAFZ':_0x46e2ad(0x196),'ftBry':function(_0x1db4f1,_0x195722){return _0x1db4f1(_0x195722);},'QrQgB':function(_0x4de2cf){return _0x4de2cf();},'edoWW':function(_0x5bc825,_0x49cc32){return _0x5bc825<_0x49cc32;},'aZbvt':_0x46e2ad(0x183),'iEVHn':function(_0x1beb45,_0x582250){return _0x1beb45===_0x582250;},'buLTo':_0x46e2ad(0x14d),'pxQiS':function(_0x3b283a,_0x170c35){return _0x3b283a>_0x170c35;},'MICIF':_0x46e2ad(0x15c)};try{if(!_0x246492[_0x46e2ad(0x146)](_0x269ff0['deviceName'],''))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x190)]),![];const _0x334cc9=_0x269ff0['browser'];if(![_0x246492[_0x46e2ad(0x137)],_0x246492[_0x46e2ad(0x14a)],_0x246492[_0x46e2ad(0x130)]][_0x46e2ad(0x153)](_0x334cc9))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x158)]),![];const _0x2ccfa2=_0x246492[_0x46e2ad(0x16f)](parseInt,_0x269ff0[_0x46e2ad(0x17a)]);!_0x246492[_0x46e2ad(0x144)](isBrowserstackInfra)&&(!_0x246492[_0x46e2ad(0x140)](_0x2ccfa2,0x64)&&logger['warn'](_0x246492[_0x46e2ad(0x178)]));if(!(_0x246492['iEVHn'](_0x2ccfa2,_0x246492[_0x46e2ad(0x139)])||_0x246492[_0x46e2ad(0x179)](_0x2ccfa2,0x5e)))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x159)]),![];}catch(_0x153e0d){logger[_0x46e2ad(0x145)](_0x46e2ad(0x152)+util['format'](_0x153e0d));}return!![];},exports[a38_0x186ee7(0x15e)]=(_0x56be64,_0xe087d9,_0x546330)=>{const _0x5c46a4=a38_0x186ee7,_0x30ce3d={'UGmHq':function(_0x2feba){return _0x2feba();},'vhghL':'browserstack.accessibility','SYxPj':function(_0x4a2e20,_0x1f3df3){return _0x4a2e20===_0x1f3df3;},'bymmV':_0x5c46a4(0x16c),'AdQNe':_0x5c46a4(0x167),'MLhAU':function(_0x36d517,_0x119100){return _0x36d517===_0x119100;},'NzkIg':function(_0x50a7de,_0x5a6d80){return _0x50a7de===_0x5a6d80;},'GehQs':_0x5c46a4(0x196),'FKRPj':function(_0x32aeac){return _0x32aeac();},'blqVw':function(_0x303488,_0x5e756d){return _0x303488>_0x5e756d;},'PDCzv':_0x5c46a4(0x183),'VTnmC':function(_0x3d9b74,_0x2f178b){return _0x3d9b74===_0x2f178b;},'Wkacc':'latest','mMLQw':function(_0x45409c,_0x412a01){return _0x45409c>_0x412a01;},'mlpAn':_0x5c46a4(0x15c),'tpVMZ':function(_0x3a332c,_0x13af31){return _0x3a332c(_0x13af31);},'ugoVp':_0x5c46a4(0x198),'SjBAn':function(_0x22cd1c,_0x58e436){return _0x22cd1c+_0x58e436;}};try{if(_0x30ce3d[_0x5c46a4(0x197)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x56be64[_0x30ce3d[_0x5c46a4(0x134)]]&&(global['accessibilityPlatform']=![]);!(_0x30ce3d['SYxPj'](_0x56be64[_0x5c46a4(0x184)],_0x30ce3d['bymmV'])||_0x30ce3d[_0x5c46a4(0x160)](_0x56be64[_0x5c46a4(0x184)],_0x30ce3d[_0x5c46a4(0x157)])||_0x30ce3d['MLhAU'](_0x56be64[_0x5c46a4(0x16d)],_0x30ce3d['bymmV'])||_0x30ce3d[_0x5c46a4(0x17e)](_0x56be64[_0x5c46a4(0x16d)],_0x30ce3d[_0x5c46a4(0x157)]))&&(logger[_0x5c46a4(0x12a)](_0x30ce3d['GehQs']),global[_0x5c46a4(0x182)]=![]);!_0x30ce3d[_0x5c46a4(0x16e)](isBrowserstackInfra)&&(!_0x30ce3d[_0x5c46a4(0x129)](_0x56be64[_0x5c46a4(0x17a)],0x64)&&logger[_0x5c46a4(0x12a)](_0x30ce3d['PDCzv']));!(_0x30ce3d[_0x5c46a4(0x18f)](_0x56be64[_0x5c46a4(0x17a)],_0x30ce3d['Wkacc'])||_0x30ce3d[_0x5c46a4(0x124)](_0x56be64['browser_version'],0x5e))&&(logger['warn'](_0x30ce3d[_0x5c46a4(0x16b)]),global[_0x5c46a4(0x182)]=![]);!_0x30ce3d[_0x5c46a4(0x125)](isUndefined,_0x56be64[_0x5c46a4(0x172)])&&(logger[_0x5c46a4(0x12a)](_0x30ce3d['ugoVp']),global[_0x5c46a4(0x182)]=![]);if(!global[_0x5c46a4(0x182)]){_0x56be64[_0x30ce3d[_0x5c46a4(0x134)]]=![];const _0x2085e4=_0x30ce3d[_0x5c46a4(0x195)](_0xe087d9,_0x30ce3d[_0x5c46a4(0x125)](encodeURIComponent,JSON[_0x5c46a4(0x177)](_0x56be64)));_0x546330&&(_0x546330[_0x5c46a4(0x142)]['testInfo'][_0x5c46a4(0x13b)]['use']['connectOptions'][_0x5c46a4(0x16a)]=_0x2085e4,_0x546330['workerInfo'][_0x5c46a4(0x13b)]['use'][_0x5c46a4(0x161)][_0x5c46a4(0x16a)]=_0x2085e4);}}else global['accessibilityPlatform']=![];}catch(_0x46995a){logger[_0x5c46a4(0x145)](_0x5c46a4(0x127)+util['format'](_0x46995a));}};
1
+ const a38_0x2095c2=a38_0x2f40;(function(_0x2b61b9,_0x3236d5){const _0x15a9c9=a38_0x2f40,_0x34324a=_0x2b61b9();while(!![]){try{const _0x2468e2=-parseInt(_0x15a9c9(0xd3))/0x1+parseInt(_0x15a9c9(0xa6))/0x2*(parseInt(_0x15a9c9(0xcb))/0x3)+parseInt(_0x15a9c9(0xc2))/0x4*(parseInt(_0x15a9c9(0xc8))/0x5)+parseInt(_0x15a9c9(0xc6))/0x6*(parseInt(_0x15a9c9(0xf7))/0x7)+parseInt(_0x15a9c9(0x9f))/0x8+parseInt(_0x15a9c9(0xe8))/0x9+-parseInt(_0x15a9c9(0xc7))/0xa*(parseInt(_0x15a9c9(0x10d))/0xb);if(_0x2468e2===_0x3236d5)break;else _0x34324a['push'](_0x34324a['shift']());}catch(_0x1c9597){_0x34324a['push'](_0x34324a['shift']());}}}(a38_0x2350,0x23982));function a38_0x2f40(_0xbe0916,_0x1fea2f){const _0x2350af=a38_0x2350();return a38_0x2f40=function(_0x2f4043,_0x257982){_0x2f4043=_0x2f4043-0x8c;let _0x2e2358=_0x2350af[_0x2f4043];return _0x2e2358;},a38_0x2f40(_0xbe0916,_0x1fea2f);}const util=require(a38_0x2095c2(0x9d)),logger=require(a38_0x2095c2(0x98))[a38_0x2095c2(0xfa)],{automationLogger}=require(a38_0x2095c2(0x98)),{isAccessibilityAutomationSession}=require(a38_0x2095c2(0x10e)),{isUndefined,isBrowserstackInfra}=require(a38_0x2095c2(0xab)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a38_0x2095c2(0xec)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x2095c2(0xde)),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');exports[a38_0x2095c2(0xbf)]=async(_0x156ebf,_0x1b7666,_0x547a3e={})=>{const _0x418ebf=a38_0x2095c2,_0x340d2d={};_0x340d2d[_0x418ebf(0xa9)]=_0x418ebf(0xb2),_0x340d2d[_0x418ebf(0xf3)]=function(_0x4224a1,_0x1608f2){return _0x4224a1===_0x1608f2;},_0x340d2d[_0x418ebf(0xba)]=_0x418ebf(0xb6);const _0x37803a=_0x340d2d,_0x4f5a5e=await _0x156ebf['evaluate']('(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'+_0x1b7666[_0x418ebf(0xa4)](/arguments/g,_0x37803a[_0x418ebf(0xa9)])+_0x418ebf(0xcd)+JSON['stringify'](_0x547a3e)+')');try{if(_0x1b7666&&_0x37803a['KIJvv'](typeof _0x1b7666,_0x37803a[_0x418ebf(0xba)])){const _0x3d229d=AUTOMATION_LOG_COMMANDS[_0x418ebf(0xb1)](_0x9b2ee5=>_0x1b7666[_0x418ebf(0x8c)](_0x9b2ee5));if(_0x3d229d){const _0x247f18={};_0x247f18[_0x418ebf(0x110)]=_0x3d229d,_0x247f18[_0x418ebf(0xaf)]=[_0x547a3e];const _0x1476ac={};_0x1476ac[_0x418ebf(0xa7)]=_0x4f5a5e;const _0xe44d48={};_0xe44d48['request']=_0x247f18,_0xe44d48['response']=_0x1476ac,automationLogger[_0x418ebf(0xb7)]('['+new Date()[_0x418ebf(0xb5)]()+_0x418ebf(0x95)+JSON[_0x418ebf(0xe7)](_0xe44d48));}}}catch(_0xda2217){logger[_0x418ebf(0x91)](_0x418ebf(0xad)+_0xda2217['message']);}return _0x4f5a5e;},exports['browserStackExecuteDriver']=async(_0x5b465a,_0x59009a,_0x2116da={})=>{const _0x33eebb=a38_0x2095c2,_0x488bfd={};_0x488bfd[_0x33eebb(0xed)]=function(_0x15f09e,_0x5790b9){return _0x15f09e===_0x5790b9;},_0x488bfd[_0x33eebb(0x106)]=_0x33eebb(0xee),_0x488bfd[_0x33eebb(0xdb)]=_0x33eebb(0xd5),_0x488bfd[_0x33eebb(0xa0)]=_0x33eebb(0xb2);const _0x3e40ac=_0x488bfd;if(_0x3e40ac[_0x33eebb(0xed)](_0x5b465a[_0x33eebb(0xbd)][_0x33eebb(0xdf)],_0x3e40ac[_0x33eebb(0x106)]))return await _0x5b465a[_0x33eebb(0x99)](_0x59009a,_0x2116da);else{if(_0x3e40ac[_0x33eebb(0xed)](_0x5b465a[_0x33eebb(0xbd)][_0x33eebb(0xdf)],_0x3e40ac[_0x33eebb(0xdb)]))return await _0x5b465a['executeScript'](_0x33eebb(0x96)+_0x59009a[_0x33eebb(0xa4)](/arguments/g,_0x3e40ac[_0x33eebb(0xa0)])+_0x33eebb(0x105)+JSON[_0x33eebb(0xe7)](_0x2116da)+')');}},exports[a38_0x2095c2(0xda)]=async _0x3b2e83=>{const _0x38af73=a38_0x2095c2,_0x1ffc32={};_0x1ffc32[_0x38af73(0xeb)]=_0x38af73(0xdd),_0x1ffc32[_0x38af73(0x10b)]='accessibilityOptions.scannerProcessingTimeout',_0x1ffc32[_0x38af73(0xd4)]=_0x38af73(0xb0),_0x1ffc32[_0x38af73(0x9c)]=_0x38af73(0xc3),_0x1ffc32[_0x38af73(0xd6)]=_0x38af73(0xa3),_0x1ffc32['ZvYQc']=_0x38af73(0xca);const _0x5253bb=_0x1ffc32;_0x3b2e83[_0x38af73(0xe2)]&&(_0x3b2e83['accessibilityOptions'][_0x38af73(0xf8)]&&(_0x3b2e83[_0x5253bb[_0x38af73(0xeb)]]=_0x3b2e83[_0x38af73(0xe2)][_0x38af73(0xf8)]),_0x3b2e83[_0x38af73(0xe2)][_0x38af73(0xe3)]&&(_0x3b2e83[_0x5253bb[_0x38af73(0x10b)]]=_0x3b2e83[_0x38af73(0xe2)]['scannerProcessingTimeout']),_0x3b2e83[_0x38af73(0xe2)][_0x38af73(0x8d)]&&(_0x3b2e83[_0x5253bb[_0x38af73(0xd4)]]=_0x3b2e83[_0x38af73(0xe2)][_0x38af73(0x8d)][_0x38af73(0xbe)],_0x3b2e83[_0x5253bb[_0x38af73(0x9c)]]=_0x3b2e83[_0x38af73(0xe2)][_0x38af73(0x8d)][_0x38af73(0xe4)]));const _0x412ea9=JSON[_0x38af73(0xef)](process[_0x38af73(0xb3)][_0x38af73(0x102)])['scannerVersion'];_0x3b2e83[_0x5253bb[_0x38af73(0xd6)]]=process[_0x38af73(0xb3)][_0x38af73(0xf1)],_0x3b2e83[_0x5253bb[_0x38af73(0x10f)]]=_0x412ea9,delete _0x3b2e83[_0x38af73(0xe2)];},exports[a38_0x2095c2(0xb9)]=async _0x4ad23a=>{const _0x39621b=a38_0x2095c2,_0x50f945={};_0x50f945['fJEII']=_0x39621b(0xc1),_0x50f945[_0x39621b(0xd8)]=_0x39621b(0xc4);const _0x264357=_0x50f945;if(global['accessibilityPlatform'])try{const details={'url':await _0x4ad23a.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(_0x4ad23a,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4ad23a,scripts.getResults);},{...details})();return res;}catch{return logger[_0x39621b(0x9b)](_0x264357[_0x39621b(0xe1)]),[];}else return logger[_0x39621b(0xfd)](_0x264357['YUDdi']),[];},exports[a38_0x2095c2(0xe0)]=async(_0x3ded74,_0x20caef='')=>{const _0x4a93f2=a38_0x2095c2;logger['debug'](_0x4a93f2(0xa8)+_0x20caef+_0x4a93f2(0xcc)+_0x3ded74);const _0x4729a0={'url':await _0x3ded74['url'](),'testhub_btcer_uuid':global[_0x4a93f2(0xc0)]?.[_0x4a93f2(0xb8)]?.['id']};if(global[_0x4a93f2(0xf5)])return await PerformanceTester[_0x4a93f2(0xd2)](PerformanceA11yEvents[_0x4a93f2(0xfc)],async()=>{const _0x2874bb=_0x4a93f2,_0x20dbf6={};_0x20dbf6[_0x2874bb(0x110)]=_0x20caef;const _0xccea6b=await exports['browserStackEvaluate'](_0x3ded74,scripts[_0x2874bb(0xe0)],_0x20dbf6);return _0xccea6b;},{'command':_0x20caef,..._0x4729a0})();},exports[a38_0x2095c2(0x104)]=async _0x271ae5=>{const _0x427532=a38_0x2095c2,_0xfe8a={};_0xfe8a[_0x427532(0xf9)]='No\x20summaryResults\x20found.',_0xfe8a[_0x427532(0xf6)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x5df436=_0xfe8a;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(_0x271ae5,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x271ae5,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x427532(0x91)](_0x5df436[_0x427532(0xf9)]),{};}else return logger['warn'](_0x5df436[_0x427532(0xf6)]),{};},exports[a38_0x2095c2(0xd7)]=async _0x45e9c4=>{const _0x4d6d50=a38_0x2095c2,_0x3ea946={'oEudn':function(_0x252265,_0x2164c0){return _0x252265!==_0x2164c0;},'ufIjC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','DkDOj':_0x4d6d50(0x90),'XsOUs':_0x4d6d50(0xb4),'PeGkZ':_0x4d6d50(0x8f),'ORSKt':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','AFmfL':function(_0x428ca3,_0x454f88){return _0x428ca3(_0x454f88);},'QJiFW':function(_0xc130fa){return _0xc130fa();},'GYqlI':function(_0x19a764,_0x1eca6b){return _0x19a764<_0x1eca6b;},'GBvXI':_0x4d6d50(0x94),'IBhlQ':function(_0x15c78b,_0x5053cb){return _0x15c78b===_0x5053cb;},'UyFJW':'latest','Wodbt':function(_0x347a15,_0x32daf0){return _0x347a15>_0x32daf0;},'pogGy':_0x4d6d50(0xea)};try{if(!_0x3ea946[_0x4d6d50(0xd0)](_0x45e9c4[_0x4d6d50(0x97)],''))return logger[_0x4d6d50(0xfd)](_0x3ea946['ufIjC']),![];const _0x427a0b=_0x45e9c4[_0x4d6d50(0x103)];if(![_0x3ea946['DkDOj'],_0x3ea946[_0x4d6d50(0xa1)],_0x3ea946['PeGkZ']]['includes'](_0x427a0b))return logger[_0x4d6d50(0xfd)](_0x3ea946['ORSKt']),![];const _0x34840d=_0x3ea946[_0x4d6d50(0xa2)](parseInt,_0x45e9c4[_0x4d6d50(0xbc)]);!_0x3ea946[_0x4d6d50(0x8e)](isBrowserstackInfra)&&(!_0x3ea946['GYqlI'](_0x34840d,0x64)&&logger['warn'](_0x3ea946[_0x4d6d50(0xfe)]));if(!(_0x3ea946[_0x4d6d50(0x107)](_0x34840d,_0x3ea946['UyFJW'])||_0x3ea946[_0x4d6d50(0xe9)](_0x34840d,0x5e)))return logger[_0x4d6d50(0xfd)](_0x3ea946[_0x4d6d50(0xe6)]),![];}catch(_0xf6876a){logger[_0x4d6d50(0x91)](_0x4d6d50(0xf2)+util[_0x4d6d50(0x10a)](_0xf6876a));}return!![];},exports[a38_0x2095c2(0x101)]=(_0x4c66ac,_0xe64980,_0x22e18b)=>{const _0x155d04=a38_0x2095c2,_0x328393={'blaiL':function(_0x53998f){return _0x53998f();},'WpjXK':_0x155d04(0x10c),'mlnrC':function(_0x38690,_0x54f0db){return _0x38690===_0x54f0db;},'NsMLU':'chrome','iIZOL':function(_0x384876,_0x2ae088){return _0x384876===_0x2ae088;},'sRIge':'playwright-chromium','clDka':function(_0x11dbe4,_0x3215c8){return _0x11dbe4===_0x3215c8;},'jjFVf':_0x155d04(0xe5),'WlLKq':function(_0x429535,_0x3da955){return _0x429535>_0x3da955;},'BqREj':_0x155d04(0x94),'srWNv':function(_0x43d24e,_0x3bc105){return _0x43d24e===_0x3bc105;},'qPXKa':_0x155d04(0xa5),'GbaNq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','mLDpr':function(_0x4bf86f,_0x452730){return _0x4bf86f(_0x452730);},'xTEFH':_0x155d04(0x92),'nzjtc':function(_0x369dfa,_0x3eedf0){return _0x369dfa+_0x3eedf0;}};try{if(_0x328393[_0x155d04(0xdc)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x4c66ac[_0x328393[_0x155d04(0xaa)]]&&(global['accessibilityPlatform']=![]);!(_0x328393[_0x155d04(0xc9)](_0x4c66ac['browserName'],_0x328393[_0x155d04(0x108)])||_0x328393['iIZOL'](_0x4c66ac['browserName'],_0x328393[_0x155d04(0x100)])||_0x328393['iIZOL'](_0x4c66ac[_0x155d04(0x103)],_0x328393[_0x155d04(0x108)])||_0x328393[_0x155d04(0x9e)](_0x4c66ac[_0x155d04(0x103)],_0x328393[_0x155d04(0x100)]))&&(logger[_0x155d04(0xfd)](_0x328393[_0x155d04(0xfb)]),global['accessibilityPlatform']=![]);!_0x328393[_0x155d04(0xdc)](isBrowserstackInfra)&&(!_0x328393[_0x155d04(0xac)](_0x4c66ac[_0x155d04(0xbc)],0x64)&&logger['warn'](_0x328393['BqREj']));!(_0x328393[_0x155d04(0x93)](_0x4c66ac[_0x155d04(0xbc)],_0x328393[_0x155d04(0x9a)])||_0x328393[_0x155d04(0xac)](_0x4c66ac['browser_version'],0x5e))&&(logger['warn'](_0x328393[_0x155d04(0xce)]),global[_0x155d04(0xf5)]=![]);!_0x328393[_0x155d04(0xd9)](isUndefined,_0x4c66ac[_0x155d04(0x97)])&&(logger[_0x155d04(0xfd)](_0x328393[_0x155d04(0xbb)]),global[_0x155d04(0xf5)]=![]);if(!global[_0x155d04(0xf5)]){_0x4c66ac[_0x328393[_0x155d04(0xaa)]]=![];const _0x3f5536=_0x328393[_0x155d04(0xc5)](_0xe64980,_0x328393[_0x155d04(0xd9)](encodeURIComponent,JSON[_0x155d04(0xe7)](_0x4c66ac)));_0x22e18b&&(_0x22e18b[_0x155d04(0xb8)][_0x155d04(0xf0)][_0x155d04(0xcf)][_0x155d04(0xff)][_0x155d04(0xae)]['wsEndpoint']=_0x3f5536,_0x22e18b[_0x155d04(0xd1)][_0x155d04(0xcf)][_0x155d04(0xff)][_0x155d04(0xae)][_0x155d04(0x109)]=_0x3f5536);}}else global[_0x155d04(0xf5)]=![];}catch(_0x2f7645){logger[_0x155d04(0x91)](_0x155d04(0xf4)+util['format'](_0x2f7645));}};function a38_0x2350(){const _0x49ee08=['bstackSdkArgs','env','playwright-chromium','toISOString','string','silly','currentTest','getAccessibilityResults','xcGAD','xTEFH','browser_version','constructor','bestPractice','browserStackEvaluate','__workerDetails','No\x20accessibility\x20results\x20were\x20found.','16948aPVoXr','accessibilityOptions.includeIssueType.needsReview','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','nzjtc','6nwggCA','1320710ppATwA','65JYbHjg','mlnrC','accessibilityOptions.scannerVersion','633666ZXuHCe','\x20page:\x20','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','GbaNq','project','oEudn','workerInfo','measureWrapper','112765OvsaiY','nRAYy','Playwright','EiQuf','platformValidation','YUDdi','mLDpr','setAccessibilityCapabilities','TLbJk','blaiL','accessibilityOptions.wcagVersion','../../helpers/performance/constants','name','performScan','fJEII','accessibilityOptions','scannerProcessingTimeout','needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','pogGy','stringify','1207962TBUtTd','Wodbt','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','HdrLX','../../helpers/performance/performance-tester','ODWra','WebDriver','parse','testInfo','BS_A11Y_JWT','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','KIJvv','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityPlatform','yDfMS','274603rPbyZU','wcagVersion','nspBI','winstonLogger','jjFVf','PERFORM_SCAN','warn','GBvXI','use','sRIge','processAccessibilityCaps','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browser','getAccessibilityResultsSummary','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Fzzkq','IBhlQ','NsMLU','wsEndpoint','format','ApAzu','browserstack.accessibility','33knHPmh','../../helpers/accessibility-automation/helper','ZvYQc','command','includes','includeIssueType','QJiFW','chromium','chrome','debug','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','srWNv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','][\x20SDK-AUTOMATION\x20]\x20','(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','deviceName','../../helpers/logger','executeAsyncScript','qPXKa','error','fkAfp','util','clDka','1720176bNrLYv','MuraA','XsOUs','AFmfL','accessibilityOptions.authToken','replace','latest','2FMNRSn','body','Performing\x20scan\x20with\x20method:\x20','tZtID','WpjXK','../../helpers/helper','WlLKq','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','connectOptions','parameters','accessibilityOptions.includeIssueType.bestPractice','find'];a38_0x2350=function(){return _0x49ee08;};return a38_0x2350();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x21230a=a39_0x35c3;function a39_0x35c3(_0x41f73f,_0x15d06e){const _0x3b7d79=a39_0x3b7d();return a39_0x35c3=function(_0x35c370,_0x45cf1d){_0x35c370=_0x35c370-0xfb;let _0xa86bf=_0x3b7d79[_0x35c370];return _0xa86bf;},a39_0x35c3(_0x41f73f,_0x15d06e);}function a39_0x3b7d(){const _0x2e8a8d=['writeFileSync','true','homedir','win32','tANEw','shutdown','224810ErSMYI','../../helpers/accessibility-automation/helper','nestedKeyValue','2717935Npadcc','requirePWModule','PLAYWRIGHT','isRunning','accessibility','No\x20Proxy\x20:\x20','../../helpers/BrowserStackSetup','yarn','Proxy\x20url\x20:\x20','validateRerunTestList','forEach','NsAYJ','bUcnc','INTERNALLY_USED_ENV_VARS','xCTgY','IjgRa','PXNhM','debug','piHJv','SQeLz','BROWSERSTACK_PW_CONFIG_DIR','skipSessionName','reportDotBrowserStackFolderNotAccessibleIssue','../v2/cliUtils','ymurY','GuZQJ','VjlGI','clearTempPWConfig','DSdNX','FkyiM','../../helpers/helper','existsSync','xWmji','config','oilfz','wgfmO','skipSessionStatus','--config','Rgvoq','416000CwQTzU','automation','sTJVj','176kRUkRX','svNyM','Error\x20in\x20getting\x20funnel\x20data\x20results','slice','trim','SDK_POST_INITIALIZE','BROWSERSTACK_AUTOMATION','accessibilityOptions','viNUe','filter','LfnVU','BrowserStack\x20config\x20file\x20not\x20found.','Error\x20in\x20closing\x20playwright','../v2/TestInfo','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','splice','LKEJN','inherit','MCnAy','2754639ufxsIA','map','rTUOu','false','nuAVH','SDK_CLEANUP','./reporter/test-details','startsWith','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isFalse','NSahA','vWaCO','close','path','env','info','ykrLg','jyUwY','GrQqd','isYarnPnP','10954pxbRWa','../utils/constants','winstonLogger','findIndex','start','apply','uqIVh','isUndefined','SgtbZ','bFiJa','platform','haUyf','trace_','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','BROWSERSTACK_SETUP_CONFIG_PATH','GulrQ','playwright-browserstack-sdk.config.js','sOvSi','../../helpers/test-observability/utils','oUttJ','sntvH','.browserstack','split','testObservability','../../helpers/performance/constants','filterBrowserstackArgs','--disable-test-observability','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','PACKAGE_TYPE','../../helpers/performance/performance-tester','Playwright\x20process\x20exited\x20with\x20code\x20','cwd','cliConfig','push','test','constants','indexOf','measureWrapper','789kIkZNL','8JLeexN','join','R_OK','resolvedConfigFile','resolve','7945700DnVQxM','jsjul','logLevel','--grep','initialize','BROWSERSTACK_RERUN_TESTS','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','DtUCh','getProxyUrl','XVheU','exitCode','reportConflictingEnvVarIssue','concat','SDK_SETUP','setFrameworkDetail','SDK_PRE_INITIALIZE','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','pw_result.json','W_OK','Deleting\x20','--disable-browserstack-automation','../../helpers/utilities','nziBr','../../helpers/testhub/testhubHandler','npx','length','NExsx','stop','BROWSERSTACK_TEST_OBSERVABILITY','playwright','BROWSERSTACK_RERUN','24KwEUIz','Error\x20in\x20deleting\x20playwright\x20results','stringify','abwcB','readdirSync','JmNlw','unlinkSync','MmYGA','testContextOptions','mLroJ','QUAUD','../v2/browserstackCLI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstackAutomation','SfrEW','wSwNy','qTbih','EVENTS','configPath','isTrue','4948440ZqnJCz','--config=','end','reportFinalDetectionState','MXxGG','readFileSync','getPackageType','WltcC','ENeOC','browserstackSetupConfig.json','launchBuild','getInstance','setBrowserstackConfig','errorMessage'];a39_0x3b7d=function(){return _0x2e8a8d;};return a39_0x3b7d();}(function(_0x29af0a,_0x2866e2){const _0x49d98c=a39_0x35c3,_0x387687=_0x29af0a();while(!![]){try{const _0x52491f=parseInt(_0x49d98c(0x19b))/0x1+-parseInt(_0x49d98c(0x128))/0x2*(-parseInt(_0x49d98c(0x14e))/0x3)+-parseInt(_0x49d98c(0x14f))/0x4*(-parseInt(_0x49d98c(0x19e))/0x5)+parseInt(_0x49d98c(0x187))/0x6+-parseInt(_0x49d98c(0x154))/0x7+-parseInt(_0x49d98c(0x173))/0x8*(parseInt(_0x49d98c(0x114))/0x9)+-parseInt(_0x49d98c(0xfe))/0xa*(parseInt(_0x49d98c(0x101))/0xb);if(_0x52491f===_0x2866e2)break;else _0x387687['push'](_0x387687['shift']());}catch(_0x59e7c7){_0x387687['push'](_0x387687['shift']());}}}(a39_0x3b7d,0xd1896));const fs=require('fs'),path=require(a39_0x21230a(0x121)),{spawn}=require('child_process'),{format}=require('util'),logger=require('../../helpers/logger')[a39_0x21230a(0x12a)],{default:BrowserStackSetup}=require(a39_0x21230a(0x1a4)),helper=require(a39_0x21230a(0x1bc)),utilities=require(a39_0x21230a(0x169)),constants=require(a39_0x21230a(0x129)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x21230a(0x19c)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x21230a(0x13a)),TestDetails=require(a39_0x21230a(0x11a)),TestHubHandler=require(a39_0x21230a(0x16b)),PerformanceTester=require(a39_0x21230a(0x145)),BrowserstackCLI=require(a39_0x21230a(0x17e)),PerformanceEvents=require(a39_0x21230a(0x140))[a39_0x21230a(0x184)],CLIUtils=require(a39_0x21230a(0x1b5)),TestInfo=require(a39_0x21230a(0x10e)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x2d216f,_0x16c635)=>{const _0x2485ba=a39_0x21230a,_0x104ef6={'sntvH':function(_0x16c88c){return _0x16c88c();},'mLroJ':function(_0x2d3778,_0x28a896){return _0x2d3778(_0x28a896);},'NExsx':_0x2485ba(0x152),'SgtbZ':_0x2485ba(0x188)},_0xb4c4f2=!helper['isUndefined'](_0x2d216f['config']),_0xa8dc4b=_0xb4c4f2?path['resolve'](process['cwd'](),_0x2d216f['config']):process[_0x2485ba(0x147)](),{resolveConfigFile:_0x28ce63,resolveConfigLocation:_0x52298d}=helper[_0x2485ba(0x127)]()?helper['requireConfigLoaderYarnPnP'](..._0x104ef6[_0x2485ba(0x13c)](getConfigLoaderPath)):helper[_0x2485ba(0x19f)][_0x2485ba(0x12d)](null,_0x104ef6[_0x2485ba(0x13c)](getConfigLoaderPath)),_0xbced81=_0x28ce63?_0x104ef6[_0x2485ba(0x17c)](_0x28ce63,_0xa8dc4b):helper[_0x2485ba(0x19d)](_0x104ef6[_0x2485ba(0x17c)](_0x52298d,_0xa8dc4b),[_0x104ef6[_0x2485ba(0x16e)]]),_0x3d6ed6={};if(_0xb4c4f2){const _0x69c510=_0x16c635[_0x2485ba(0x12b)](_0x590a8a=>_0x590a8a===_0x2485ba(0xfc)||_0x590a8a==='-c'||_0x590a8a[_0x2485ba(0x11b)](_0x2485ba(0x188)));_0x16c635[_0x2485ba(0x110)](_0x69c510,_0x16c635[_0x69c510]['startsWith'](_0x104ef6[_0x2485ba(0x130)])?0x1:0x2);}const _0x406d82={};return _0x406d82['path']=_0xbced81,_0x406d82[_0x2485ba(0x1bf)]=_0x3d6ed6,_0x406d82;},handleO11yRerun=_0x490edd=>{const _0x2fe85b=a39_0x21230a,_0x1fa7eb={};_0x1fa7eb['tANEw']=_0x2fe85b(0x157);const _0x94c52c=_0x1fa7eb,_0x29a005=helper[_0x2fe85b(0x186)](process[_0x2fe85b(0x122)][_0x2fe85b(0x172)]);if(_0x29a005){const _0x24d470=process[_0x2fe85b(0x122)][_0x2fe85b(0x159)],_0x4d703d=[];if(helper[_0x2fe85b(0x1a7)](_0x24d470)&&!helper[_0x2fe85b(0x12f)](_0x24d470)){_0x24d470[_0x2fe85b(0x13e)](',')[_0x2fe85b(0x115)](_0x115bbb=>{const _0x4d93d1=_0x2fe85b;_0x4d703d['push']('('+_0x115bbb[_0x4d93d1(0x105)]()+')');});const _0x1f3bb8='^'+_0x4d703d['join']('|')+'$';_0x490edd[_0x2fe85b(0x149)](_0x94c52c[_0x2fe85b(0x199)],_0x1f3bb8);}}},spawnOriginalProcess=_0x260640=>{const _0x56d852=a39_0x21230a,_0xa5c412={'ygKoT':function(_0x1c0fa0,_0x915c5a,_0x2a01d9,_0x2a47b8){return _0x1c0fa0(_0x915c5a,_0x2a01d9,_0x2a47b8);},'viNUe':'yarn','kEPFz':_0x56d852(0x16c),'NsAYJ':_0x56d852(0x171),'wgfmO':function(_0x13ed3c,_0x208bf4){return _0x13ed3c===_0x208bf4;},'JmNlw':'win32','MmYGA':_0x56d852(0x112)};_0xa5c412['ygKoT'](spawn,helper[_0x56d852(0x127)]()?_0xa5c412[_0x56d852(0x109)]:_0xa5c412['kEPFz'],[_0xa5c412[_0x56d852(0x1a9)],..._0x260640[_0x56d852(0x104)](0x1)],{'shell':_0xa5c412[_0x56d852(0x1c1)](process[_0x56d852(0x132)],_0xa5c412[_0x56d852(0x178)]),'stdio':_0xa5c412[_0x56d852(0x17a)],'cwd':process[_0x56d852(0x147)]()});},isTestCommand=(_0x5ea5ad,_0xc31979)=>{const _0x258e57=a39_0x21230a,_0x417ec4={};_0x417ec4[_0x258e57(0x13b)]=function(_0x4f504b,_0x2a0016){return _0x4f504b>_0x2a0016;},_0x417ec4[_0x258e57(0x113)]=function(_0x65017c,_0x18c59c){return _0x65017c===_0x18c59c;},_0x417ec4['SQeLz']=_0x258e57(0x14a);const _0x1d6ac0=_0x417ec4;if(_0x1d6ac0[_0x258e57(0x13b)](_0xc31979[_0x258e57(0x16d)],0x1)&&_0x1d6ac0[_0x258e57(0x113)](_0xc31979[0x1],_0x1d6ac0[_0x258e57(0x1b1)]))return!![];return![];};async function run(_0x36a5e1,_0x291b30,_0xde8b52){const _0x19163e=a39_0x21230a,_0x4a4c03={'VjlGI':function(_0x3f75f3,_0x288054){return _0x3f75f3(_0x288054);},'ymurY':function(_0x59aae3){return _0x59aae3();},'TUjqx':function(_0x189433){return _0x189433();},'sTJVj':_0x19163e(0x13d),'jsjul':function(_0xdb1835,_0xe7825d){return _0xdb1835+_0xe7825d;},'IyUbF':_0x19163e(0x10d),'QUAUD':_0x19163e(0x165),'xWmji':function(_0x4060eb,_0x3a3de4){return _0x4060eb+_0x3a3de4;},'DtUCh':_0x19163e(0x103),'piHJv':_0x19163e(0x10c),'HGBdP':function(_0x54e268,_0x2fa04e){return _0x54e268<_0x2fa04e;},'WltcC':function(_0x2f1659,_0x117fb1){return _0x2f1659===_0x117fb1;},'sOvSi':_0x19163e(0x117),'xCTgY':_0x19163e(0x142),'WXLMJ':function(_0x1dde37,_0x48cfbb){return _0x1dde37>=_0x48cfbb;},'nziBr':function(_0x534814,_0x2212ba){return _0x534814===_0x2212ba;},'Rgvoq':_0x19163e(0xff),'oilfz':function(_0x34eca7,_0x2ab9f4){return _0x34eca7!=_0x2ab9f4;},'GulrQ':function(_0x5efc5d,_0x2e831f,_0x135cf3){return _0x5efc5d(_0x2e831f,_0x135cf3);},'qTbih':function(_0x20bf46,_0x16b629){return _0x20bf46===_0x16b629;},'ykrLg':_0x19163e(0x196),'SfrEW':function(_0x613c70,_0x4cc664){return _0x613c70(_0x4cc664);},'MXxGG':function(_0xdeb875,_0x452fa6){return _0xdeb875(_0x452fa6);},'GrQqd':_0x19163e(0x190),'NSahA':function(_0x4b6d23,_0x499db9){return _0x4b6d23===_0x499db9;},'nuAVH':'playwright-browserstack-sdk.config.cjs','THILB':_0x19163e(0x138),'svNyM':function(_0x54ed2c,_0x3ff372){return _0x54ed2c-_0x3ff372;},'mJENE':'Updated\x20config\x20file\x20name\x20to\x20-\x20','haUyf':function(_0x341047,_0x23c51b){return _0x341047>_0x23c51b;},'wSwNy':function(_0x143921,_0x32a06b){return _0x143921+_0x32a06b;},'vWaCO':function(_0x5881c2,_0x2d133a,_0x24f848,_0x1cea9c){return _0x5881c2(_0x2d133a,_0x24f848,_0x1cea9c);},'ENeOC':_0x19163e(0x1a5),'FkyiM':_0x19163e(0x16c),'XVheU':'playwright','rTUOu':_0x19163e(0x14a),'LKEJN':_0x19163e(0xfc),'bUcnc':_0x19163e(0x198),'uqIVh':_0x19163e(0x112),'LfnVU':_0x19163e(0x120),'gxPFx':function(_0x50e7ce,_0x24c84a){return _0x50e7ce|_0x24c84a;},'GuZQJ':function(_0x358515,_0x31a74b){return _0x358515+_0x31a74b;},'jyUwY':_0x19163e(0x135),'abwcB':_0x19163e(0x174),'bFiJa':function(_0x2a3ef8,_0x4e5d36,_0x3dfd13){return _0x2a3ef8(_0x4e5d36,_0x3dfd13);}};try{const _0x262533=path['join'](helper[_0x19163e(0x197)](),_0x4a4c03[_0x19163e(0x100)]);try{fs['accessSync'](_0x262533,_0x4a4c03['gxPFx'](fs['constants'][_0x19163e(0x151)],fs[_0x19163e(0x14b)][_0x19163e(0x166)]));}catch(_0x7762f2){ClientTroubleShootingService[_0x19163e(0x1b4)]();}}catch(_0x101c44){logger['debug'](_0x4a4c03[_0x19163e(0x1b7)](_0x4a4c03[_0x19163e(0x125)],_0x101c44));}try{const _0x15e1d4=path[_0x19163e(0x150)](helper[_0x19163e(0x197)](),_0x4a4c03['sTJVj'],_0x4a4c03[_0x19163e(0x17d)]);fs[_0x19163e(0x1bd)](_0x15e1d4)&&fs[_0x19163e(0x179)](_0x15e1d4);}catch(_0x229c86){logger['debug'](_0x4a4c03[_0x19163e(0x155)](_0x4a4c03[_0x19163e(0x176)],_0x229c86));}if(!_0x4a4c03[_0x19163e(0x131)](isTestCommand,_0x36a5e1,_0x291b30)){_0x4a4c03[_0x19163e(0x18b)](spawnOriginalProcess,_0x291b30);return;}await PerformanceTester[_0x19163e(0x14d)](PerformanceEvents[_0x19163e(0x163)],async()=>{const _0x3e8613=_0x19163e,_0x14bc31={'DSdNX':_0x4a4c03[_0x3e8613(0x100)],'xnqEr':_0x4a4c03['QUAUD'],'IjgRa':function(_0x13bd4e,_0x17d886){const _0xfc2fc7=_0x3e8613;return _0x4a4c03[_0xfc2fc7(0x1be)](_0x13bd4e,_0x17d886);},'PXNhM':_0x4a4c03[_0x3e8613(0x15b)]};if(!_0xde8b52[_0x3e8613(0x1bf)]){logger['error'](_0x4a4c03[_0x3e8613(0x1b0)]);return;}await _0xde8b52[_0x3e8613(0x158)](_0x36a5e1),CLIUtils[_0x3e8613(0x162)](FRAMEWORKS[_0x3e8613(0x1a0)],FRAMEWORKS[_0x3e8613(0x1a0)]),BrowserstackCLI['getInstance']()[_0x3e8613(0x193)](_0xde8b52[_0x3e8613(0x1bf)],_0xde8b52[_0x3e8613(0x185)],_0xde8b52[_0x3e8613(0x148)]),await BrowserstackCLI['getInstance']()['bootstrap']();for(var _0x3b9411=0x0;_0x4a4c03['HGBdP'](_0x3b9411,constants[_0x3e8613(0x1ab)]['length']);_0x3b9411++){var _0x28b757=constants[_0x3e8613(0x1ab)][_0x3b9411];process[_0x3e8613(0x122)][_0x28b757]&&await ClientTroubleShootingService[_0x3e8613(0x15f)](_0x28b757);}const _0x75cde1=BrowserstackCLI[_0x3e8613(0x192)]()['getConfig']();!helper['isFalse'](_0x75cde1[_0x3e8613(0x180)])&&(process['env'][_0x3e8613(0x107)]=!![]);_0x4a4c03[_0x3e8613(0x18e)](_0x75cde1[_0x3e8613(0x180)],![])&&(process[_0x3e8613(0x122)][_0x3e8613(0x107)]=_0x4a4c03[_0x3e8613(0x139)],_0x291b30=_0x291b30[_0x3e8613(0x10a)](_0x420f87=>_0x420f87!==_0x3e8613(0x168)));const _0x19b926=_0x291b30[_0x3e8613(0x14c)](_0x4a4c03[_0x3e8613(0x1ac)]);(_0x4a4c03['WXLMJ'](_0x19b926,0x0)||_0x4a4c03[_0x3e8613(0x16a)](_0x75cde1['testObservability'],![]))&&(process[_0x3e8613(0x122)][_0x3e8613(0x170)]=_0x4a4c03[_0x3e8613(0x139)],_0x291b30=_0x291b30[_0x3e8613(0x10a)](_0x2dc225=>_0x2dc225!==_0x3e8613(0x142)));!helper[_0x3e8613(0x12f)](_0xde8b52[_0x3e8613(0x148)])&&_0xde8b52['cliConfig']['has'](_0x4a4c03[_0x3e8613(0xfd)])&&(process[_0x3e8613(0x122)][_0x3e8613(0x107)]=_0xde8b52[_0x3e8613(0x148)]['get'](_0x4a4c03[_0x3e8613(0xfd)])||!![]);_0x4a4c03[_0x3e8613(0x1c0)](_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x13f)],null)&&!helper['isTrue'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x3e8613(0x170)]=process['env'][_0x3e8613(0x170)]||_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x13f)]);const _0x5796bf=!helper[_0x3e8613(0x11d)](process[_0x3e8613(0x122)][_0x3e8613(0x170)]);_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x108)]&&(process['env'][_0x3e8613(0x17f)]=JSON[_0x3e8613(0x175)](_0xde8b52['config'][_0x3e8613(0x108)]));let _0x54f8cb=![];_0xde8b52['config'][_0x3e8613(0x1a2)]&&(_0x54f8cb=!![],process[_0x3e8613(0x122)][_0x3e8613(0x11c)]=_0xde8b52['config']['accessibility']);const _0x5ad31e=_0x291b30[_0x3e8613(0x160)](),_0x294b05=await _0x4a4c03[_0x3e8613(0x137)](getUserPlaywrightConfig,_0x36a5e1,_0x291b30);if(helper[_0x3e8613(0x12f)](_0x294b05)){_0x4a4c03['VjlGI'](spawnOriginalProcess,_0x5ad31e);return;}const _0xcd6a39=_0x294b05[_0x3e8613(0x121)]?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process[_0x3e8613(0x147)]();process[_0x3e8613(0x122)][_0x3e8613(0x1b2)]=_0xcd6a39,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3e8613(0x106)],async()=>{const _0x2d982e=_0x3e8613;!BrowserstackCLI[_0x2d982e(0x192)]()[_0x2d982e(0x1a1)]()&&await TestHubHandler[_0x2d982e(0x191)](FRAMEWORKS[_0x2d982e(0x1a0)],_0xde8b52),_0x5796bf&&_0x4a4c03[_0x2d982e(0x1b8)](handleO11yRerun,_0x291b30);})();if(!BrowserstackCLI[_0x3e8613(0x192)]()[_0x3e8613(0x1a1)]()){let _0x51db49=_0x4a4c03[_0x3e8613(0x183)](process[_0x3e8613(0x122)][_0x3e8613(0x11c)],_0x4a4c03[_0x3e8613(0x124)]);_0x51db49=_0x51db49||_0x4a4c03[_0x3e8613(0x181)](checkAccessibilityPlatformConfig,_0xde8b52[_0x3e8613(0x1bf)]),process['env'][_0x3e8613(0x11c)]=_0x51db49,_0x51db49&&_0x4a4c03[_0x3e8613(0x18b)](setAccessibilityCapabilities,_0xde8b52[_0x3e8613(0x1bf)]);}const _0x5911c0=path[_0x3e8613(0x150)](_0x294b05[_0x3e8613(0x121)]?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process['cwd'](),_0x4a4c03[_0x3e8613(0x126)]);fs[_0x3e8613(0x195)](_0x5911c0,helper['serializeToYamlString'](_0xde8b52[_0x3e8613(0x1bf)])),process[_0x3e8613(0x122)][_0x3e8613(0x136)]=_0x5911c0,helper[_0x3e8613(0x1b9)]();let _0x5a3c84='';_0x4a4c03[_0x3e8613(0x11e)](helper[_0x3e8613(0x18d)](),constants[_0x3e8613(0x144)]['MODULE'])?_0x5a3c84=_0x4a4c03[_0x3e8613(0x118)]:_0x5a3c84=_0x4a4c03['THILB'];let _0x512957='';if(helper['isTypescriptProject'](_0x294b05[_0x3e8613(0x121)])){_0x512957=_0x3e8613(0x10f);const _0x186e12=_0x5a3c84[_0x3e8613(0x13e)]('.');_0x186e12[_0x4a4c03[_0x3e8613(0x102)](_0x186e12[_0x3e8613(0x16d)],0x1)]='ts',_0x5a3c84=_0x186e12['join']('.'),logger[_0x3e8613(0x1af)](_0x4a4c03[_0x3e8613(0x155)](_0x4a4c03['mJENE'],_0x5a3c84));}else _0x512957=_0x3e8613(0x164);const _0x5ee718=path[_0x3e8613(0x150)](_0x294b05['path']?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process[_0x3e8613(0x147)](),_0x5a3c84);let _0x570e78=_0x294b05['path']?_0x294b05[_0x3e8613(0x121)]:'';_0x570e78=_0x4a4c03[_0x3e8613(0x133)](_0x570e78[_0x3e8613(0x16d)],0x0)?path[_0x3e8613(0x153)](_0x570e78):'',process[_0x3e8613(0x122)]['USER_CONFIG_DETAILS_PATH']=_0x570e78;const _0x10b45d=helper[_0x3e8613(0x15c)](_0xde8b52[_0x3e8613(0x1bf)]),_0x253e75=helper['getNoProxy'](_0xde8b52['config']);logger[_0x3e8613(0x1af)](_0x3e8613(0x1a6)+_0x10b45d),logger[_0x3e8613(0x1af)](_0x3e8613(0x1a3)+_0x253e75);_0x10b45d&&(_0x512957=_0x4a4c03[_0x3e8613(0x182)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x10b45d+_0x3e8613(0x143)+_0x253e75+_0x3e8613(0x15a),_0x512957));helper[_0x3e8613(0x141)]({},_0x291b30),fs[_0x3e8613(0x195)](_0x5ee718,_0x512957),PerformanceTester[_0x3e8613(0x189)](PerformanceEvents[_0x3e8613(0x161)]);const _0x8ba776=_0x4a4c03[_0x3e8613(0x11f)](spawn,helper[_0x3e8613(0x127)]()?_0x4a4c03[_0x3e8613(0x18f)]:_0x4a4c03[_0x3e8613(0x1bb)],[_0x4a4c03[_0x3e8613(0x15d)],_0x4a4c03[_0x3e8613(0x116)],_0x4a4c03[_0x3e8613(0x111)],_0x4a4c03[_0x3e8613(0x18e)](process['platform'],_0x4a4c03[_0x3e8613(0x1aa)])?'\x22'+_0x5ee718+'\x22':_0x5ee718,..._0x291b30[_0x3e8613(0x104)](0x2)],{'shell':_0x4a4c03['WltcC'](process[_0x3e8613(0x132)],_0x4a4c03[_0x3e8613(0x1aa)]),'stdio':_0x4a4c03[_0x3e8613(0x12e)],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x36a5e1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x17b)][_0x3e8613(0xfb)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x17b)][_0x3e8613(0x1b3)],'BROWSERSTACK_LOG_LEVEL':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x156)]})}),_0x361f26=()=>{const _0x558f4c=_0x3e8613;try{const _0xef4bb3=path[_0x558f4c(0x150)](helper[_0x558f4c(0x197)](),_0x14bc31[_0x558f4c(0x1ba)],_0x14bc31['xnqEr']);if(fs[_0x558f4c(0x1bd)](_0xef4bb3)){let _0x21ce98=fs[_0x558f4c(0x18c)](_0xef4bb3);_0x21ce98=JSON['parse'](_0x21ce98),_0xde8b52[_0x558f4c(0x194)]=_0x21ce98,fs[_0x558f4c(0x179)](_0xef4bb3);}}catch(_0x1089a1){logger[_0x558f4c(0x1af)](_0x14bc31[_0x558f4c(0x1ad)](_0x14bc31[_0x558f4c(0x1ae)],_0x1089a1));}};_0x8ba776['on'](_0x4a4c03[_0x3e8613(0x10b)],async _0x165a4a=>{const _0x25518d=_0x3e8613;try{PerformanceTester[_0x25518d(0x12c)](PerformanceEvents[_0x25518d(0x119)]),_0x4a4c03[_0x25518d(0x1b6)](_0x361f26),await TestHubHandler[_0x25518d(0x16f)](),await ClientTroubleShootingService[_0x25518d(0x18a)](),await BrowserstackCLI[_0x25518d(0x192)]()['stop'](),TestDetails[_0x25518d(0x19a)](),_0x4a4c03['TUjqx'](printBuildLink),await utilities['finalExecution'](_0xde8b52),process[_0x25518d(0x15e)]=_0x165a4a,logger['debug'](_0x25518d(0x146)+_0x165a4a),logger[_0x25518d(0x123)]('Deleting\x20'+_0x5ee718),fs['unlinkSync'](_0x5ee718);fs[_0x25518d(0x1bd)](_0x5911c0)&&(logger[_0x25518d(0x1af)](_0x25518d(0x167)+_0x5911c0),fs[_0x25518d(0x179)](_0x5911c0));const _0xf0aa3d=fs[_0x25518d(0x177)](path[_0x25518d(0x150)](helper[_0x25518d(0x197)](),_0x4a4c03['sTJVj']))[_0x25518d(0x10a)](_0x974fd7=>_0x974fd7[_0x25518d(0x11b)](_0x25518d(0x134)));_0xf0aa3d[_0x25518d(0x1a8)](_0x1f4175=>{const _0x3ca008=_0x25518d;fs['unlinkSync'](path[_0x3ca008(0x150)](helper['homedir'](),_0x14bc31[_0x3ca008(0x1ba)],_0x1f4175));});}catch(_0x3fdff8){logger[_0x25518d(0x1af)](_0x4a4c03[_0x25518d(0x155)](_0x4a4c03['IyUbF'],_0x3fdff8));}});})();}module['exports']=run;
2
+ 'use strict';const a39_0x244616=a39_0x583c;function a39_0x10dd(){const _0x41894f=['initialize','assign','246835CGwnmK','../../helpers/performance/performance-tester','yarn','measureWrapper','win32','BROWSERSTACK_SETUP_CONFIG_PATH','.browserstack','PNPzs','FWbWr','isYarnPnP','isRunning','WnqAP','env','Deleting\x20','has','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_ACCESSIBILITY_YML','nZIZt','BOjHD','43490YyJXbC','setFrameworkDetail','existsSync','PXDJy','end','readdirSync','startsWith','Error\x20in\x20closing\x20playwright','getNoProxy','USER_CONFIG_DETAILS_PATH','concat','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/testhub/testhubHandler','stringify','--grep','XVPne','../../helpers/accessibility-automation/helper','./reporter/pwUtils','cByoa','unlinkSync','aGyGE','playwright','splice','BHCsU','XmbLZ','../../helpers/utilities','getConfig','../../helpers/logger','889401NuPFKC','xwECa','testObservability','testContextOptions','constants','join','PqYiP','SDK_POST_INITIALIZE','--config=','resolvedConfigFile','UJikE','\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();','homedir','reportDotBrowserStackFolderNotAccessibleIssue','kBFzW','BROWSERSTACK_RERUN_TESTS','isUndefined','FRldX','debug','true','indexOf','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','accessSync','child_process','exitCode','ARruH','dDqlQ','48trzEkV','NTgcx','egUkd','PACKAGE_TYPE','exports','get','MODULE','../../helpers/helper','playwright-browserstack-sdk.config.js','uRHgF','automation','isTypescriptProject','length','--disable-browserstack-automation','3230096PDVZtj','./accessibility-helper','inherit','readFileSync','cliConfig','cwd','1414gBbMzU','Error\x20in\x20deleting\x20playwright\x20results','EwIae','xVyaG','dirname','tcqeZ','cKhgv','filter','launchBuild','getConfigPath','1156545rehYTb','test','close','sAzjm','2MesspD','INTERNALLY_USED_ENV_VARS','serializeToYamlString','isFalse','tohaY','clearTempPWConfig','finalExecution','vrAAh','981JgDGBk','YFIRH','W_OK','BfYeV','info','writeFileSync','accessibility','\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','getInstance','../../helpers/test-observability/utils','requirePWModule','playwright-browserstack-sdk.config.cjs','map','../v2/cliUtils','--config','23696yVFTaz','sZYdr','fkoHH','KVrEq','trim','QXbOO','rAXNI','skipSessionStatus','sPeDM','npx','path','DdCth','BLFPS','slice','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../v2/TestInfo','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','start','EVENTS','Playwright\x20process\x20exited\x20with\x20code\x20','SWxTN','false','cGhKr','error','BROWSERSTACK_PW_CONFIG_DIR','mfxMu','ltTHo','rqIRO','apply','Proxy\x20url\x20:\x20','logLevel','SDK_CLEANUP','isTrue','config','accessibilityOptions','platform','forEach','browserstackAutomation','NcCNI','stop','validateRerunTestList','errorMessage','Updated\x20config\x20file\x20name\x20to\x20-\x20','browserstackSetupConfig.json','ITpBx','HJWwI','OLlZt','push','Error\x20in\x20getting\x20funnel\x20data\x20results','SDK_PRE_INITIALIZE','split','BROWSERSTACK_AUTOMATION','RJWec','getProxyUrl','PLAYWRIGHT','BrowserStack\x20config\x20file\x20not\x20found.','AMgWM','--disable-test-observability','Ejnar','prEzL','parse','5377460WTxIFg'];a39_0x10dd=function(){return _0x41894f;};return a39_0x10dd();}(function(_0x4a3c84,_0x14b032){const _0x218c90=a39_0x583c,_0x53d569=_0x4a3c84();while(!![]){try{const _0x361d5f=-parseInt(_0x218c90(0xd8))/0x1*(parseInt(_0x218c90(0x115))/0x2)+-parseInt(_0x218c90(0x111))/0x3+parseInt(_0x218c90(0x101))/0x4+-parseInt(_0x218c90(0xa9))/0x5*(-parseInt(_0x218c90(0xf3))/0x6)+-parseInt(_0x218c90(0x107))/0x7*(-parseInt(_0x218c90(0x69))/0x8)+parseInt(_0x218c90(0x11d))/0x9*(parseInt(_0x218c90(0xbc))/0xa)+-parseInt(_0x218c90(0xa6))/0xb;if(_0x361d5f===_0x14b032)break;else _0x53d569['push'](_0x53d569['shift']());}catch(_0x2afb32){_0x53d569['push'](_0x53d569['shift']());}}}(a39_0x10dd,0x7cc49));function a39_0x583c(_0x230d74,_0x334aef){const _0x10dd0d=a39_0x10dd();return a39_0x583c=function(_0x583c3b,_0xd7dfa2){_0x583c3b=_0x583c3b-0x64;let _0x39bb0c=_0x10dd0d[_0x583c3b];return _0x39bb0c;},a39_0x583c(_0x230d74,_0x334aef);}const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x244616(0xef)),{format}=require('util'),logger=require(a39_0x244616(0xd7))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x244616(0xfa)),utilities=require(a39_0x244616(0xd5)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x244616(0xcd)),{checkAccessibilityPlatformConfig}=require(a39_0x244616(0xcc)),{setAccessibilityCapabilities}=require(a39_0x244616(0x102)),{printBuildLink}=require(a39_0x244616(0x126)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x244616(0xc8)),PerformanceTester=require(a39_0x244616(0xaa)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')[a39_0x244616(0x7b)],CLIUtils=require(a39_0x244616(0x67)),TestInfo=require(a39_0x244616(0x78)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x3c1def,_0x24a2b4)=>{const _0x151837=a39_0x244616,_0x2fcced={'laxMo':function(_0x2d8246){return _0x2d8246();},'aGyGE':function(_0x55f606){return _0x55f606();},'FWbWr':function(_0x55372a,_0x1a6823){return _0x55372a(_0x1a6823);},'VchBN':_0x151837(0xe1),'AMgWM':_0x151837(0xe0)},_0x338c0a=!helper[_0x151837(0xe8)](_0x3c1def[_0x151837(0x8a)]),_0x3a3e76=_0x338c0a?path['resolve'](process[_0x151837(0x106)](),_0x3c1def[_0x151837(0x8a)]):process['cwd'](),{resolveConfigFile:_0x5a2150,resolveConfigLocation:_0x280209}=helper[_0x151837(0xb2)]()?helper['requireConfigLoaderYarnPnP'](..._0x2fcced['laxMo'](getConfigLoaderPath)):helper[_0x151837(0x64)][_0x151837(0x85)](null,_0x2fcced[_0x151837(0xd0)](getConfigLoaderPath)),_0x30fd2d=_0x5a2150?_0x2fcced[_0x151837(0xb1)](_0x5a2150,_0x3a3e76):helper['nestedKeyValue'](_0x2fcced[_0x151837(0xb1)](_0x280209,_0x3a3e76),[_0x2fcced['VchBN']]),_0x103962={};if(_0x338c0a){const _0x238106=_0x24a2b4['findIndex'](_0x556923=>_0x556923===_0x151837(0x68)||_0x556923==='-c'||_0x556923[_0x151837(0xc2)](_0x151837(0xe0)));_0x24a2b4[_0x151837(0xd2)](_0x238106,_0x24a2b4[_0x238106][_0x151837(0xc2)](_0x2fcced[_0x151837(0xa1)])?0x1:0x2);}const _0x12627f={};return _0x12627f['path']=_0x30fd2d,_0x12627f[_0x151837(0x8a)]=_0x103962,_0x12627f;},handleO11yRerun=_0x5e4f7a=>{const _0x2e7e1a=a39_0x244616,_0xa8d706={};_0xa8d706[_0x2e7e1a(0x97)]=_0x2e7e1a(0xca);const _0x578fe1=_0xa8d706,_0x3be21c=helper[_0x2e7e1a(0x89)](process['env']['BROWSERSTACK_RERUN']);if(_0x3be21c){const _0x173f89=process[_0x2e7e1a(0xb5)][_0x2e7e1a(0xe7)],_0x3901b7=[];if(helper[_0x2e7e1a(0x91)](_0x173f89)&&!helper[_0x2e7e1a(0xe8)](_0x173f89)){_0x173f89[_0x2e7e1a(0x9b)](',')[_0x2e7e1a(0x66)](_0x55e446=>{const _0x2c994a=_0x2e7e1a;_0x3901b7['push']('('+_0x55e446[_0x2c994a(0x6d)]()+')');});const _0x276184='^'+_0x3901b7['join']('|')+'$';_0x5e4f7a[_0x2e7e1a(0x98)](_0x578fe1['OLlZt'],_0x276184);}}},spawnOriginalProcess=_0x33c6ab=>{const _0x1dc9a6=a39_0x244616,_0x1d6c16={'uRHgF':function(_0x2b31a3,_0x582ffe,_0xe4b85a,_0x2e5f8a){return _0x2b31a3(_0x582ffe,_0xe4b85a,_0x2e5f8a);},'mAJPD':_0x1dc9a6(0xab),'SWxTN':_0x1dc9a6(0x72),'BLFPS':_0x1dc9a6(0xd1),'zgIyN':function(_0x195c43,_0x2141e5){return _0x195c43===_0x2141e5;},'ltTHo':'win32','Ejnar':'inherit'};_0x1d6c16[_0x1dc9a6(0xfc)](spawn,helper['isYarnPnP']()?_0x1d6c16['mAJPD']:_0x1d6c16[_0x1dc9a6(0x7d)],[_0x1d6c16[_0x1dc9a6(0x75)],..._0x33c6ab[_0x1dc9a6(0x76)](0x1)],{'shell':_0x1d6c16['zgIyN'](process[_0x1dc9a6(0x8c)],_0x1d6c16[_0x1dc9a6(0x83)]),'stdio':_0x1d6c16[_0x1dc9a6(0xa3)],'cwd':process[_0x1dc9a6(0x106)]()});},isTestCommand=(_0x4d4a5a,_0x47e467)=>{const _0x22320c=a39_0x244616,_0x57d241={};_0x57d241[_0x22320c(0x120)]=function(_0x566031,_0x52ca0f){return _0x566031>_0x52ca0f;},_0x57d241[_0x22320c(0x84)]=function(_0x49a096,_0x24bb02){return _0x49a096===_0x24bb02;},_0x57d241[_0x22320c(0xbf)]='test';const _0x5ecf7e=_0x57d241;if(_0x5ecf7e[_0x22320c(0x120)](_0x47e467[_0x22320c(0xff)],0x1)&&_0x5ecf7e[_0x22320c(0x84)](_0x47e467[0x1],_0x5ecf7e[_0x22320c(0xbf)]))return!![];return![];};async function run(_0x486870,_0x268143,_0x22c139){const _0xd0cd7c=a39_0x244616,_0x2eb3ab={'BHCsU':function(_0x12c3a4,_0x341d5f){return _0x12c3a4(_0x341d5f);},'fkoHH':_0xd0cd7c(0xaf),'EwIae':'pw_result.json','RJWec':function(_0x36c638,_0x11d3c1){return _0x36c638+_0x11d3c1;},'sAzjm':_0xd0cd7c(0x99),'UJikE':function(_0x4353d0){return _0x4353d0();},'prEzL':_0xd0cd7c(0xc3),'KVrEq':_0xd0cd7c(0xa0),'FRldX':function(_0x419ffa,_0x442577){return _0x419ffa<_0x442577;},'PNPzs':function(_0x147976,_0x2dee2d){return _0x147976===_0x2dee2d;},'cGhKr':_0xd0cd7c(0x7e),'NTgcx':_0xd0cd7c(0xa2),'YFIRH':function(_0x4d6b74,_0x3f8778){return _0x4d6b74>=_0x3f8778;},'xVyaG':function(_0x38d166,_0x3ebd58){return _0x38d166===_0x3ebd58;},'ARruH':_0xd0cd7c(0xfd),'zdNoy':function(_0x57bba6,_0x57a2de){return _0x57bba6!=_0x57a2de;},'sPeDM':function(_0x40f704,_0x20e5df,_0xf99977){return _0x40f704(_0x20e5df,_0xf99977);},'XVPne':function(_0x46043b,_0xd561ff){return _0x46043b(_0xd561ff);},'tohaY':function(_0x45f9c2,_0xf1ffaa){return _0x45f9c2===_0xf1ffaa;},'kBFzW':_0xd0cd7c(0xeb),'rAXNI':_0xd0cd7c(0x94),'RfNVy':_0xd0cd7c(0x65),'mfxMu':_0xd0cd7c(0xfb),'dDqlQ':function(_0x5cc287,_0x3ea5c5){return _0x5cc287-_0x3ea5c5;},'egUkd':function(_0x33eccf,_0x2aba9b){return _0x33eccf+_0x2aba9b;},'GHxUz':_0xd0cd7c(0x93),'BOjHD':function(_0x17863b,_0x42e572){return _0x17863b>_0x42e572;},'sZYdr':function(_0x44aabb,_0x33831c,_0x4d3015,_0x1f310f){return _0x44aabb(_0x33831c,_0x4d3015,_0x1f310f);},'pBDXE':_0xd0cd7c(0xab),'cKhgv':_0xd0cd7c(0x72),'nZIZt':_0xd0cd7c(0xd1),'Rrkzo':_0xd0cd7c(0x112),'WnqAP':_0xd0cd7c(0x68),'HaxGV':function(_0x405bda,_0x4d9243){return _0x405bda===_0x4d9243;},'QXbOO':_0xd0cd7c(0xad),'xtnkl':_0xd0cd7c(0x103),'DevAq':_0xd0cd7c(0x113),'DdCth':function(_0x4b6fa6,_0x2625f4){return _0x4b6fa6|_0x2625f4;},'GBHHm':function(_0x18b3dd,_0x4908b4){return _0x18b3dd+_0x4908b4;},'ITpBx':_0xd0cd7c(0xed),'HJWwI':function(_0x320cda,_0x4ff925){return _0x320cda+_0x4ff925;},'NcCNI':_0xd0cd7c(0x108),'GnWuB':function(_0x57ddbf,_0xd7cdc8){return _0x57ddbf(_0xd7cdc8);}};try{const _0xdbb3cc=path[_0xd0cd7c(0xdd)](helper['homedir'](),_0x2eb3ab[_0xd0cd7c(0x6b)]);try{fs[_0xd0cd7c(0xee)](_0xdbb3cc,_0x2eb3ab[_0xd0cd7c(0x74)](fs[_0xd0cd7c(0xdc)]['R_OK'],fs[_0xd0cd7c(0xdc)][_0xd0cd7c(0x11f)]));}catch(_0x5cc489){ClientTroubleShootingService[_0xd0cd7c(0xe5)]();}}catch(_0x19b72f){logger[_0xd0cd7c(0xea)](_0x2eb3ab['GBHHm'](_0x2eb3ab[_0xd0cd7c(0x95)],_0x19b72f));}try{const _0x531d79=path[_0xd0cd7c(0xdd)](helper[_0xd0cd7c(0xe4)](),_0x2eb3ab['fkoHH'],_0x2eb3ab[_0xd0cd7c(0x109)]);fs['existsSync'](_0x531d79)&&fs['unlinkSync'](_0x531d79);}catch(_0x5e3ce5){logger[_0xd0cd7c(0xea)](_0x2eb3ab[_0xd0cd7c(0x96)](_0x2eb3ab[_0xd0cd7c(0x8f)],_0x5e3ce5));}if(!_0x2eb3ab[_0xd0cd7c(0x71)](isTestCommand,_0x486870,_0x268143)){_0x2eb3ab['GnWuB'](spawnOriginalProcess,_0x268143);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0xd0cd7c(0x9a)],async()=>{const _0x2d5910=_0xd0cd7c,_0x3d495a={'vrAAh':function(_0x1a4635,_0x40eb49){return _0x2eb3ab['BHCsU'](_0x1a4635,_0x40eb49);},'xwECa':_0x2eb3ab[_0x2d5910(0x6b)],'HLYBf':_0x2eb3ab[_0x2d5910(0x109)],'XmbLZ':function(_0x1253c5,_0x130561){const _0x41928a=_0x2d5910;return _0x2eb3ab[_0x41928a(0x9d)](_0x1253c5,_0x130561);},'PqYiP':_0x2eb3ab[_0x2d5910(0x114)],'tcqeZ':function(_0x30138f){return _0x2eb3ab['UJikE'](_0x30138f);},'TOhwC':function(_0x569ff6){const _0x48a508=_0x2d5910;return _0x2eb3ab[_0x48a508(0xe2)](_0x569ff6);},'cByoa':_0x2eb3ab[_0x2d5910(0xa4)]};if(!_0x22c139['config']){logger[_0x2d5910(0x80)](_0x2eb3ab[_0x2d5910(0x6c)]);return;}await _0x22c139[_0x2d5910(0xa7)](_0x486870),CLIUtils[_0x2d5910(0xbd)](FRAMEWORKS[_0x2d5910(0x9f)],FRAMEWORKS[_0x2d5910(0x9f)]),BrowserstackCLI[_0x2d5910(0x125)]()['setBrowserstackConfig'](_0x22c139['config'],_0x22c139['configPath'],_0x22c139[_0x2d5910(0x105)]),await BrowserstackCLI[_0x2d5910(0x125)]()['bootstrap']();for(var _0x387841=0x0;_0x2eb3ab[_0x2d5910(0xe9)](_0x387841,constants['INTERNALLY_USED_ENV_VARS'][_0x2d5910(0xff)]);_0x387841++){var _0x271887=constants[_0x2d5910(0x116)][_0x387841];process['env'][_0x271887]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x271887);}const _0x36f8ef=BrowserstackCLI[_0x2d5910(0x125)]()[_0x2d5910(0xd6)]();!helper[_0x2d5910(0x118)](_0x36f8ef['browserstackAutomation'])&&(process[_0x2d5910(0xb5)][_0x2d5910(0x9c)]=!![]);_0x2eb3ab['PNPzs'](_0x36f8ef[_0x2d5910(0x8e)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x2eb3ab[_0x2d5910(0x7f)],_0x268143=_0x268143[_0x2d5910(0x10e)](_0x3d6eb5=>_0x3d6eb5!==_0x2d5910(0x100)));const _0xb2f0f2=_0x268143[_0x2d5910(0xec)](_0x2eb3ab[_0x2d5910(0xf4)]);(_0x2eb3ab[_0x2d5910(0x11e)](_0xb2f0f2,0x0)||_0x2eb3ab[_0x2d5910(0x10a)](_0x36f8ef['testObservability'],![]))&&(process[_0x2d5910(0xb5)][_0x2d5910(0xc7)]=_0x2eb3ab['cGhKr'],_0x268143=_0x268143['filter'](_0x3c8f93=>_0x3c8f93!==_0x2d5910(0xa2)));!helper[_0x2d5910(0xe8)](_0x22c139[_0x2d5910(0x105)])&&_0x22c139[_0x2d5910(0x105)][_0x2d5910(0xb7)](_0x2eb3ab[_0x2d5910(0xf1)])&&(process[_0x2d5910(0xb5)][_0x2d5910(0x9c)]=_0x22c139[_0x2d5910(0x105)][_0x2d5910(0xf8)](_0x2eb3ab[_0x2d5910(0xf1)])||!![]);_0x2eb3ab['zdNoy'](_0x22c139['config']['testObservability'],null)&&!helper[_0x2d5910(0x89)](process['env'][_0x2d5910(0xc7)])&&(process['env'][_0x2d5910(0xc7)]=process[_0x2d5910(0xb5)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x22c139[_0x2d5910(0x8a)][_0x2d5910(0xda)]);const _0x595668=!helper[_0x2d5910(0x118)](process[_0x2d5910(0xb5)][_0x2d5910(0xc7)]);_0x22c139[_0x2d5910(0x8a)][_0x2d5910(0x8b)]&&(process[_0x2d5910(0xb5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2d5910(0xc9)](_0x22c139[_0x2d5910(0x8a)][_0x2d5910(0x8b)]));let _0x24d49d=![];_0x22c139[_0x2d5910(0x8a)][_0x2d5910(0x123)]&&(_0x24d49d=!![],process[_0x2d5910(0xb5)][_0x2d5910(0xb9)]=_0x22c139[_0x2d5910(0x8a)]['accessibility']);const _0x3a0d7b=_0x268143[_0x2d5910(0xc6)](),_0x472271=await _0x2eb3ab[_0x2d5910(0x71)](getUserPlaywrightConfig,_0x486870,_0x268143);if(helper['isUndefined'](_0x472271)){_0x2eb3ab['XVPne'](spawnOriginalProcess,_0x3a0d7b);return;}const _0x5f393d=_0x472271[_0x2d5910(0x73)]?path[_0x2d5910(0x10b)](_0x472271[_0x2d5910(0x73)]):process['cwd']();process[_0x2d5910(0xb5)][_0x2d5910(0x81)]=_0x5f393d,await PerformanceTester[_0x2d5910(0xac)](PerformanceEvents[_0x2d5910(0xdf)],async()=>{const _0x22b7f8=_0x2d5910;!BrowserstackCLI[_0x22b7f8(0x125)]()[_0x22b7f8(0xb3)]()&&await TestHubHandler[_0x22b7f8(0x10f)](FRAMEWORKS[_0x22b7f8(0x9f)],_0x22c139),_0x595668&&_0x3d495a[_0x22b7f8(0x11c)](handleO11yRerun,_0x268143);})();if(!BrowserstackCLI[_0x2d5910(0x125)]()[_0x2d5910(0xb3)]()){let _0x4a3e70=_0x2eb3ab[_0x2d5910(0x119)](process[_0x2d5910(0xb5)][_0x2d5910(0xb9)],_0x2eb3ab[_0x2d5910(0xe6)]);_0x4a3e70=_0x4a3e70||_0x2eb3ab[_0x2d5910(0xd3)](checkAccessibilityPlatformConfig,_0x22c139[_0x2d5910(0x8a)]),process[_0x2d5910(0xb5)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4a3e70,_0x4a3e70&&_0x2eb3ab[_0x2d5910(0xcb)](setAccessibilityCapabilities,_0x22c139[_0x2d5910(0x8a)]);}const _0x39d310=path[_0x2d5910(0xdd)](_0x472271[_0x2d5910(0x73)]?path[_0x2d5910(0x10b)](_0x472271[_0x2d5910(0x73)]):process[_0x2d5910(0x106)](),_0x2eb3ab[_0x2d5910(0x6f)]);fs[_0x2d5910(0x122)](_0x39d310,helper[_0x2d5910(0x117)](_0x22c139['config'])),process[_0x2d5910(0xb5)][_0x2d5910(0xae)]=_0x39d310,helper[_0x2d5910(0x11a)]();let _0x10d7c8='';_0x2eb3ab[_0x2d5910(0xb0)](helper['getPackageType'](),constants[_0x2d5910(0xf6)][_0x2d5910(0xf9)])?_0x10d7c8=_0x2eb3ab['RfNVy']:_0x10d7c8=_0x2eb3ab[_0x2d5910(0x82)];let _0x59903f='';if(helper[_0x2d5910(0xfe)](_0x472271[_0x2d5910(0x73)])){_0x59903f=_0x2d5910(0x77);const _0x546c5c=_0x10d7c8[_0x2d5910(0x9b)]('.');_0x546c5c[_0x2eb3ab[_0x2d5910(0xf2)](_0x546c5c['length'],0x1)]='ts',_0x10d7c8=_0x546c5c[_0x2d5910(0xdd)]('.'),logger[_0x2d5910(0xea)](_0x2eb3ab[_0x2d5910(0xf5)](_0x2eb3ab['GHxUz'],_0x10d7c8));}else _0x59903f=_0x2d5910(0x79);const _0x3eb6fd=path[_0x2d5910(0xdd)](_0x472271[_0x2d5910(0x73)]?path[_0x2d5910(0x10b)](_0x472271['path']):process[_0x2d5910(0x106)](),_0x10d7c8);let _0x14c98b=_0x472271['path']?_0x472271['path']:'';_0x14c98b=_0x2eb3ab[_0x2d5910(0xbb)](_0x14c98b['length'],0x0)?path['resolve'](_0x14c98b):'',process[_0x2d5910(0xb5)][_0x2d5910(0xc5)]=_0x14c98b;const _0x8271e6=helper[_0x2d5910(0x9e)](_0x22c139[_0x2d5910(0x8a)]),_0x50fda4=helper[_0x2d5910(0xc4)](_0x22c139['config']);logger['debug'](_0x2d5910(0x86)+_0x8271e6),logger[_0x2d5910(0xea)]('No\x20Proxy\x20:\x20'+_0x50fda4);_0x8271e6&&(_0x59903f=_0x2eb3ab['egUkd'](_0x2d5910(0xb8)+_0x8271e6+_0x2d5910(0x124)+_0x50fda4+_0x2d5910(0xe3),_0x59903f));helper['filterBrowserstackArgs']({},_0x268143),fs['writeFileSync'](_0x3eb6fd,_0x59903f),PerformanceTester[_0x2d5910(0xc0)](PerformanceEvents['SDK_SETUP']);const _0x33f40c=_0x2eb3ab[_0x2d5910(0x6a)](spawn,helper['isYarnPnP']()?_0x2eb3ab['pBDXE']:_0x2eb3ab[_0x2d5910(0x10d)],[_0x2eb3ab[_0x2d5910(0xba)],_0x2eb3ab['Rrkzo'],_0x2eb3ab[_0x2d5910(0xb4)],_0x2eb3ab['HaxGV'](process[_0x2d5910(0x8c)],_0x2eb3ab['QXbOO'])?'\x22'+_0x3eb6fd+'\x22':_0x3eb6fd,..._0x268143['slice'](0x2)],{'shell':_0x2eb3ab[_0x2d5910(0x119)](process[_0x2d5910(0x8c)],_0x2eb3ab[_0x2d5910(0x6e)]),'stdio':_0x2eb3ab['xtnkl'],'cwd':process[_0x2d5910(0x106)](),'env':Object[_0x2d5910(0xa8)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2d5910(0x110)](_0x486870),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x22c139[_0x2d5910(0x8a)][_0x2d5910(0xdb)][_0x2d5910(0x70)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x22c139[_0x2d5910(0x8a)]['testContextOptions']['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x22c139['config'][_0x2d5910(0x87)]})}),_0x50a529=()=>{const _0x40c56e=_0x2d5910;try{const _0x4d16b1=path[_0x40c56e(0xdd)](helper['homedir'](),_0x3d495a[_0x40c56e(0xd9)],_0x3d495a['HLYBf']);if(fs[_0x40c56e(0xbe)](_0x4d16b1)){let _0x16adc9=fs[_0x40c56e(0x104)](_0x4d16b1);_0x16adc9=JSON[_0x40c56e(0xa5)](_0x16adc9),_0x22c139[_0x40c56e(0x92)]=_0x16adc9,fs[_0x40c56e(0xcf)](_0x4d16b1);}}catch(_0x3fcf15){logger[_0x40c56e(0xea)](_0x3d495a[_0x40c56e(0xd4)](_0x3d495a[_0x40c56e(0xde)],_0x3fcf15));}};_0x33f40c['on'](_0x2eb3ab['DevAq'],async _0x5c4e65=>{const _0x1c87f1=_0x2d5910;try{PerformanceTester[_0x1c87f1(0x7a)](PerformanceEvents[_0x1c87f1(0x88)]),_0x3d495a[_0x1c87f1(0x10c)](_0x50a529),await TestHubHandler[_0x1c87f1(0x90)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x15e4a5=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI['getInstance']()['stop'](),TestDetails['shutdown'](),_0x3d495a['TOhwC'](printBuildLink),await utilities[_0x1c87f1(0x11b)](_0x22c139,_0x15e4a5),process[_0x1c87f1(0xf0)]=_0x5c4e65,logger[_0x1c87f1(0xea)](_0x1c87f1(0x7c)+_0x5c4e65),logger[_0x1c87f1(0x121)](_0x1c87f1(0xb6)+_0x3eb6fd),fs[_0x1c87f1(0xcf)](_0x3eb6fd);fs[_0x1c87f1(0xbe)](_0x39d310)&&(logger['debug'](_0x1c87f1(0xb6)+_0x39d310),fs['unlinkSync'](_0x39d310));const _0x15c3bc=fs[_0x1c87f1(0xc1)](path[_0x1c87f1(0xdd)](helper[_0x1c87f1(0xe4)](),_0x3d495a[_0x1c87f1(0xd9)]))[_0x1c87f1(0x10e)](_0x1e0cb7=>_0x1e0cb7['startsWith']('trace_'));_0x15c3bc[_0x1c87f1(0x8d)](_0x195b57=>{const _0x26a380=_0x1c87f1;fs['unlinkSync'](path['join'](helper[_0x26a380(0xe4)](),_0x3d495a[_0x26a380(0xd9)],_0x195b57));});}catch(_0x49ba6a){logger[_0x1c87f1(0xea)](_0x3d495a[_0x1c87f1(0xd4)](_0x3d495a[_0x1c87f1(0xce)],_0x49ba6a));}});})();}module[a39_0x244616(0xf7)]=run;