browserstack-node-sdk 1.65.2 → 1.65.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/node-generic/client.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/reporterArgs.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/sdkErrorHandler.js +1 -1
  156. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  157. package/src/bin/v2/state/hookState.js +1 -1
  158. package/src/bin/v2/state/testFrameworkState.js +1 -1
  159. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  160. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  161. package/src/bin/v2/utils/jest-utils.js +1 -1
  162. package/src/bin/vanilla-js/command.js +1 -1
  163. package/src/browserStackSdk.js +1 -1
  164. package/src/helpers/BrowserStackSetup.js +1 -1
  165. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  166. package/src/helpers/accessibility-automation/constants.js +1 -1
  167. package/src/helpers/accessibility-automation/helper.js +1 -1
  168. package/src/helpers/accessibility-automation/scripts.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a11_0x449d5a=a11_0x2ced;(function(_0x24cfff,_0x40e4bf){const _0x3cda9c=a11_0x2ced,_0x5dea0d=_0x24cfff();while(!![]){try{const _0x172399=parseInt(_0x3cda9c(0xdf))/0x1*(-parseInt(_0x3cda9c(0xe0))/0x2)+-parseInt(_0x3cda9c(0x113))/0x3*(-parseInt(_0x3cda9c(0xfc))/0x4)+-parseInt(_0x3cda9c(0x101))/0x5+parseInt(_0x3cda9c(0xdd))/0x6+parseInt(_0x3cda9c(0x102))/0x7+parseInt(_0x3cda9c(0xfe))/0x8+-parseInt(_0x3cda9c(0xe1))/0x9*(parseInt(_0x3cda9c(0xf6))/0xa);if(_0x172399===_0x40e4bf)break;else _0x5dea0d['push'](_0x5dea0d['shift']());}catch(_0x48e683){_0x5dea0d['push'](_0x5dea0d['shift']());}}}(a11_0x56d2,0xa6611));function a11_0x2ced(_0x432d06,_0x457473){const _0x56d25e=a11_0x56d2();return a11_0x2ced=function(_0x2cedf4,_0x2ac3d6){_0x2cedf4=_0x2cedf4-0xdd;let _0x26f924=_0x56d25e[_0x2cedf4];return _0x26f924;},a11_0x2ced(_0x432d06,_0x457473);}function a11_0x56d2(){const _0x50f5b4=['ARlEj','epilogue','iXHVv','hosts','75BXiCof','setupBrowserstackLocal','only','config','demandOption','every','undefined','Failed\x20to\x20establish\x20connection.','usage','SsGbY','connect','6356736pWUrJf','ngwPx','48409PmEHdx','26nRXtkx','36tNcBkG','browserStackLocalOptions','bstack-accesskey','nVQnB','exports','command','jvJCC','../../helpers/logger','nztKx','tjLgf','uXobL','replace','443','help','demandCommand','join','iOLUz','drZrM','protocol','bstackAccesskey','VAhEc','6074980zeZLBO','integrations-repeater','bstackAccessKey','options','type','footer','155236AzfIER','trim','10256384foAkQI','localIdentifier','map','2426230gUkTMD','6400205qmBsNb','error','integrations','url','string','./constants','describe','toString','zvbRi','port','split','browserstackLocal','Hosts\x20not\x20valid'];a11_0x56d2=function(){return _0x50f5b4;};return a11_0x56d2();}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a11_0x449d5a(0xe8))['winstonLogger'],{URL}=require(a11_0x449d5a(0x105)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a11_0x449d5a(0x107)),validHosts=function(_0x32ca42){const _0x640ae9=a11_0x449d5a;return _0x32ca42[_0x640ae9(0x10c)](',')[_0x640ae9(0x118)](_0x37b0a6=>{try{new URL(_0x37b0a6['trim']());}catch(_0x3d09f1){return![];}return!![];});},parseOnPremHosts=function(_0x5d2997){const _0x268382=a11_0x449d5a,_0x1105c7={};_0x1105c7['wNzVu']=function(_0x5bcbb3,_0x69d8e5){return _0x5bcbb3===_0x69d8e5;},_0x1105c7[_0x268382(0xf2)]='https:',_0x1105c7[_0x268382(0xf5)]=_0x268382(0xed),_0x1105c7[_0x268382(0xe9)]='https';const _0x7d7d55=_0x1105c7;return _0x5d2997['split'](',')[_0x268382(0x100)](_0x49901f=>{const _0x4fc396=_0x268382,_0x2469e8=new URL(_0x49901f[_0x4fc396(0xfd)]()),_0x5966e7=_0x2469e8['hostname'],_0xa38fdd=_0x2469e8[_0x4fc396(0x10b)]||(_0x7d7d55['wNzVu'](_0x2469e8['protocol'],_0x7d7d55[_0x4fc396(0xf2)])?_0x7d7d55[_0x4fc396(0xf5)]:'80'),_0xc16fe5=_0x2469e8[_0x4fc396(0xf3)][_0x4fc396(0xec)](':',''),_0x9215ec=_0x7d7d55['wNzVu'](_0xc16fe5,_0x7d7d55[_0x4fc396(0xe9)])?0x1:0x0;return _0x5966e7+','+_0xa38fdd+','+_0x9215ec;});},connectCommandBuilder=function(_0xafa9ff){const _0xe64e8c=a11_0x449d5a,_0x4abc13={};_0x4abc13['tjLgf']=_0xe64e8c(0x106);const _0x494d55=_0x4abc13,_0xbfe06d={};_0xbfe06d[_0xe64e8c(0x108)]=HELP_MESSAGES[_0xe64e8c(0xf9)]['bstackAccessKey'],_0xbfe06d[_0xe64e8c(0xfa)]=_0x494d55[_0xe64e8c(0xea)];const _0x3fe3ad={};_0x3fe3ad[_0xe64e8c(0x108)]=HELP_MESSAGES[_0xe64e8c(0xf9)][_0xe64e8c(0x112)],_0x3fe3ad[_0xe64e8c(0xfa)]=_0x494d55['tjLgf'],_0x3fe3ad[_0xe64e8c(0x117)]=!![];const _0x4dd4a9={};return _0x4dd4a9[_0xe64e8c(0xe3)]=_0xbfe06d,_0x4dd4a9[_0xe64e8c(0x112)]=_0x3fe3ad,_0xafa9ff['options'](_0x4dd4a9);},connectCommandHandler=async function(_0x2b97f8){const _0x3b429b=a11_0x449d5a,_0x3af4aa={'nVQnB':_0x3b429b(0x104),'SsGbY':function(_0x5c3b86,_0x1d0474){return _0x5c3b86===_0x1d0474;},'uXobL':_0x3b429b(0x119),'QjDOm':'BrowserStack\x20access\x20key\x20missing.','iXHVv':'Integration\x20hosts\x20missing.','iOLUz':function(_0x433123,_0x56747b){return _0x433123(_0x56747b);},'nuGof':_0x3b429b(0x10e),'jvJCC':_0x3b429b(0xf7),'WVZUI':'Connection\x20established\x20successfully.','ngwPx':_0x3b429b(0x11a)};try{const _0x4c7fa0=new BrowserStackSetup(_0x2b97f8,_0x3af4aa[_0x3b429b(0xe4)]);_0x2b97f8[_0x3b429b(0xf4)]&&(_0x4c7fa0[_0x3b429b(0x116)]['accessKey']=_0x2b97f8['bstackAccesskey']);if(_0x3af4aa[_0x3b429b(0x11c)](typeof _0x4c7fa0[_0x3b429b(0x116)]['accessKey'],_0x3af4aa['uXobL'])){logger[_0x3b429b(0x103)](_0x3af4aa['QjDOm']);throw new Error(ERROR_MESSAGES[_0x3b429b(0xf8)]['missing']);}const _0x1b20aa=_0x2b97f8[_0x3b429b(0x112)];if(_0x3af4aa[_0x3b429b(0x11c)](typeof _0x1b20aa,_0x3af4aa[_0x3b429b(0xeb)])){logger[_0x3b429b(0x103)](_0x3af4aa[_0x3b429b(0x111)]);throw new Error(ERROR_MESSAGES[_0x3b429b(0x112)]['missing']);}if(!_0x3af4aa[_0x3b429b(0xf1)](validHosts,_0x1b20aa)){logger['error'](_0x3af4aa['nuGof']);throw new Error(ERROR_MESSAGES[_0x3b429b(0x112)]['invalid']);}const _0x15bbf7=_0x3af4aa[_0x3b429b(0xf1)](parseOnPremHosts,_0x1b20aa);_0x4c7fa0['config'][_0x3b429b(0x10d)]=!![],_0x4c7fa0[_0x3b429b(0x116)][_0x3b429b(0xe2)][_0x3b429b(0xff)]=_0x3af4aa[_0x3b429b(0xe7)],_0x4c7fa0[_0x3b429b(0x116)][_0x3b429b(0xe2)][_0x3b429b(0x115)]=_0x15bbf7[_0x3b429b(0xf0)](','),helper['setProxySettings'](_0x4c7fa0[_0x3b429b(0x116)]),await _0x4c7fa0[_0x3b429b(0x114)](),logger['info'](_0x3af4aa['WVZUI']);}catch(_0x5b7073){logger[_0x3b429b(0x103)](_0x3af4aa[_0x3b429b(0xde)]);throw new Error(_0x5b7073[_0x3b429b(0x109)]());}};function run(_0x3d8589){const _0x53d5c2=a11_0x449d5a,_0x56f20f={};_0x56f20f['zvbRi']=_0x53d5c2(0x11d),_0x56f20f[_0x53d5c2(0x10f)]=_0x53d5c2(0xee);const _0xd156db=_0x56f20f;_0x3d8589[_0x53d5c2(0x11b)](HELP_MESSAGES[_0x53d5c2(0xe6)]['root'])[_0x53d5c2(0xe6)](_0xd156db[_0x53d5c2(0x10a)],HELP_MESSAGES['command'][_0x53d5c2(0x11d)],connectCommandBuilder,connectCommandHandler)[_0x53d5c2(0xef)]()['help'](_0xd156db[_0x53d5c2(0x10f)])[_0x53d5c2(0x110)](HELP_MESSAGES[_0x53d5c2(0xe6)][_0x53d5c2(0xfb)]);}module[a11_0x449d5a(0xe5)]=run;
2
+ 'use strict';function a11_0x5cf8(){const _0x304478=['VPVNs','LpaTV','aQWAW','integrations-repeater','dMjRK','setProxySettings','setupBrowserstackLocal','mntfS','config','protocol','4851238eyIHJE','join','16zpxOpG','bstack-accesskey','accessKey','options','invalid','https','port','1711305hZEAgr','epilogue','root','bstackAccesskey','Connection\x20established\x20successfully.','drlDS','string','missing','demandOption','undefined','bstackAccessKey','type','jpsAp','url','7861614dpHJhk','JeAhu','ffIaL','qiKdy','replace','every','hostname','usage','split','760484bNKvSt','1QfiLEv','https:','BrowserStack\x20access\x20key\x20missing.','1260THsmjl','Feusy','mKCdx','KIizu','trim','help','error','footer','Integration\x20hosts\x20missing.','toString','kXHGX','map','650fADsgi','exports','ogAnz','../../helpers/logger','../../helpers/helper','JELzO','1976106QhRulN','hosts','KQwmI','../../helpers/BrowserStackSetup','winstonLogger','connect','browserstackLocal','localIdentifier','command','353903tnpRCy','demandCommand','19144hUdaxS','describe'];a11_0x5cf8=function(){return _0x304478;};return a11_0x5cf8();}const a11_0x5b0821=a11_0x543a;(function(_0x1f5ba3,_0x4e0d67){const _0x247b76=a11_0x543a,_0x521c78=_0x1f5ba3();while(!![]){try{const _0x5560b5=parseInt(_0x247b76(0x19b))/0x1*(parseInt(_0x247b76(0x19a))/0x2)+-parseInt(_0x247b76(0x1b0))/0x3+parseInt(_0x247b76(0x1bb))/0x4*(-parseInt(_0x247b76(0x1aa))/0x5)+-parseInt(_0x247b76(0x1de))/0x6+-parseInt(_0x247b76(0x1c7))/0x7+-parseInt(_0x247b76(0x1c9))/0x8*(parseInt(_0x247b76(0x1d0))/0x9)+-parseInt(_0x247b76(0x19e))/0xa*(-parseInt(_0x247b76(0x1b9))/0xb);if(_0x5560b5===_0x4e0d67)break;else _0x521c78['push'](_0x521c78['shift']());}catch(_0x3204e3){_0x521c78['push'](_0x521c78['shift']());}}}(a11_0x5cf8,0xbbe1d));const {default:BrowserStackSetup}=require(a11_0x5b0821(0x1b3)),logger=require(a11_0x5b0821(0x1ad))[a11_0x5b0821(0x1b4)],{URL}=require(a11_0x5b0821(0x1dd)),helper=require(a11_0x5b0821(0x1ae)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x56569d){const _0xe0368d=a11_0x5b0821;return _0x56569d[_0xe0368d(0x199)](',')[_0xe0368d(0x196)](_0x513857=>{const _0x3b8d0c=_0xe0368d;try{new URL(_0x513857[_0x3b8d0c(0x1a2)]());}catch(_0x5c7d64){return![];}return!![];});},parseOnPremHosts=function(_0x12a741){const _0xac4c83=a11_0x5b0821,_0x16920d={};_0x16920d[_0xac4c83(0x1d5)]=function(_0x54ff53,_0x5bfe83){return _0x54ff53===_0x5bfe83;},_0x16920d[_0xac4c83(0x1bf)]=_0xac4c83(0x19c),_0x16920d['dMjRK']='443',_0x16920d[_0xac4c83(0x1df)]=function(_0x2f7c98,_0x7653a9){return _0x2f7c98===_0x7653a9;},_0x16920d[_0xac4c83(0x1c4)]=_0xac4c83(0x1ce);const _0x3c8225=_0x16920d;return _0x12a741['split'](',')[_0xac4c83(0x1a9)](_0xea0282=>{const _0x33dec8=_0xac4c83,_0x54b7bf=new URL(_0xea0282[_0x33dec8(0x1a2)]()),_0x43dd0c=_0x54b7bf[_0x33dec8(0x197)],_0x1034d2=_0x54b7bf[_0x33dec8(0x1cf)]||(_0x3c8225[_0x33dec8(0x1d5)](_0x54b7bf[_0x33dec8(0x1c6)],_0x3c8225[_0x33dec8(0x1bf)])?_0x3c8225[_0x33dec8(0x1c1)]:'80'),_0x34b2b9=_0x54b7bf[_0x33dec8(0x1c6)][_0x33dec8(0x1e2)](':',''),_0x3a6cfd=_0x3c8225[_0x33dec8(0x1df)](_0x34b2b9,_0x3c8225[_0x33dec8(0x1c4)])?0x1:0x0;return _0x43dd0c+','+_0x1034d2+','+_0x3a6cfd;});},connectCommandBuilder=function(_0x54a9ae){const _0x5b5100=a11_0x5b0821,_0x502cc0={};_0x502cc0[_0x5b5100(0x1a1)]=_0x5b5100(0x1d6);const _0x35090f=_0x502cc0,_0x24ab27={};_0x24ab27[_0x5b5100(0x1bc)]=HELP_MESSAGES[_0x5b5100(0x1cc)][_0x5b5100(0x1da)],_0x24ab27[_0x5b5100(0x1db)]=_0x35090f[_0x5b5100(0x1a1)];const _0x32275b={};_0x32275b['describe']=HELP_MESSAGES[_0x5b5100(0x1cc)][_0x5b5100(0x1b1)],_0x32275b['type']=_0x35090f[_0x5b5100(0x1a1)],_0x32275b[_0x5b5100(0x1d8)]=!![];const _0x4faf9f={};return _0x4faf9f[_0x5b5100(0x1ca)]=_0x24ab27,_0x4faf9f[_0x5b5100(0x1b1)]=_0x32275b,_0x54a9ae[_0x5b5100(0x1cc)](_0x4faf9f);},connectCommandHandler=async function(_0x16ce83){const _0x37cd45=a11_0x5b0821,_0x35d327={'KQwmI':'integrations','qiKdy':function(_0xefc01c,_0x17028b){return _0xefc01c===_0x17028b;},'LpaTV':_0x37cd45(0x1d9),'WRMeL':_0x37cd45(0x19d),'ffIaL':_0x37cd45(0x1a6),'Feusy':function(_0x3423ad,_0x13e0e1){return _0x3423ad(_0x13e0e1);},'gYnYD':'Hosts\x20not\x20valid','ogAnz':function(_0x40889d,_0x5dc75f){return _0x40889d(_0x5dc75f);},'jpsAp':_0x37cd45(0x1c0),'JELzO':_0x37cd45(0x1d4),'VPVNs':'Failed\x20to\x20establish\x20connection.'};try{const _0x20954c=new BrowserStackSetup(_0x16ce83,_0x35d327[_0x37cd45(0x1b2)]);_0x16ce83[_0x37cd45(0x1d3)]&&(_0x20954c[_0x37cd45(0x1c5)][_0x37cd45(0x1cb)]=_0x16ce83[_0x37cd45(0x1d3)]);if(_0x35d327[_0x37cd45(0x1e1)](typeof _0x20954c[_0x37cd45(0x1c5)]['accessKey'],_0x35d327[_0x37cd45(0x1be)])){logger[_0x37cd45(0x1a4)](_0x35d327['WRMeL']);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x37cd45(0x1d7)]);}const _0x531ce4=_0x16ce83[_0x37cd45(0x1b1)];if(_0x35d327[_0x37cd45(0x1e1)](typeof _0x531ce4,_0x35d327['LpaTV'])){logger['error'](_0x35d327[_0x37cd45(0x1e0)]);throw new Error(ERROR_MESSAGES[_0x37cd45(0x1b1)][_0x37cd45(0x1d7)]);}if(!_0x35d327[_0x37cd45(0x19f)](validHosts,_0x531ce4)){logger['error'](_0x35d327['gYnYD']);throw new Error(ERROR_MESSAGES['hosts'][_0x37cd45(0x1cd)]);}const _0x414684=_0x35d327[_0x37cd45(0x1ac)](parseOnPremHosts,_0x531ce4);_0x20954c[_0x37cd45(0x1c5)][_0x37cd45(0x1b6)]=!![],_0x20954c[_0x37cd45(0x1c5)]['browserStackLocalOptions'][_0x37cd45(0x1b7)]=_0x35d327[_0x37cd45(0x1dc)],_0x20954c[_0x37cd45(0x1c5)]['browserStackLocalOptions']['only']=_0x414684[_0x37cd45(0x1c8)](','),helper[_0x37cd45(0x1c2)](_0x20954c[_0x37cd45(0x1c5)]),await _0x20954c[_0x37cd45(0x1c3)](),logger['info'](_0x35d327[_0x37cd45(0x1af)]);}catch(_0x3a045d){logger['error'](_0x35d327[_0x37cd45(0x1bd)]);throw new Error(_0x3a045d[_0x37cd45(0x1a7)]());}};function run(_0xad37f2){const _0xcbd3ff=a11_0x5b0821,_0x161a3d={};_0x161a3d[_0xcbd3ff(0x1a8)]=_0xcbd3ff(0x1b5),_0x161a3d['mKCdx']=_0xcbd3ff(0x1a3);const _0x2bde83=_0x161a3d;_0xad37f2[_0xcbd3ff(0x198)](HELP_MESSAGES['command'][_0xcbd3ff(0x1d2)])[_0xcbd3ff(0x1b8)](_0x2bde83[_0xcbd3ff(0x1a8)],HELP_MESSAGES[_0xcbd3ff(0x1b8)][_0xcbd3ff(0x1b5)],connectCommandBuilder,connectCommandHandler)[_0xcbd3ff(0x1ba)]()[_0xcbd3ff(0x1a3)](_0x2bde83[_0xcbd3ff(0x1a0)])[_0xcbd3ff(0x1d1)](HELP_MESSAGES[_0xcbd3ff(0x1b8)][_0xcbd3ff(0x1a5)]);}function a11_0x543a(_0x2b5110,_0xa489df){const _0x5cf83d=a11_0x5cf8();return a11_0x543a=function(_0x543a2b,_0x3d6889){_0x543a2b=_0x543a2b-0x196;let _0x16292a=_0x5cf83d[_0x543a2b];return _0x16292a;},a11_0x543a(_0x2b5110,_0xa489df);}module[a11_0x5b0821(0x1ab)]=run;
@@ -1 +1 @@
1
- var a12_0x3c9f9c=a12_0x14a7;(function(_0x4af87b,_0x582676){var _0x5ad8cf=a12_0x14a7,_0x507e0d=_0x4af87b();while(!![]){try{var _0x198cf3=parseInt(_0x5ad8cf(0x1a4))/0x1+parseInt(_0x5ad8cf(0x1a5))/0x2+parseInt(_0x5ad8cf(0x1a8))/0x3+-parseInt(_0x5ad8cf(0x1b3))/0x4+parseInt(_0x5ad8cf(0x1b2))/0x5+-parseInt(_0x5ad8cf(0x1b4))/0x6+-parseInt(_0x5ad8cf(0x1a7))/0x7*(-parseInt(_0x5ad8cf(0x1a0))/0x8);if(_0x198cf3===_0x582676)break;else _0x507e0d['push'](_0x507e0d['shift']());}catch(_0x4b8d52){_0x507e0d['push'](_0x507e0d['shift']());}}}(a12_0x2b99,0xee31e));var a12_0x43b94e={};a12_0x43b94e[a12_0x3c9f9c(0x1a1)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a12_0x43b94e[a12_0x3c9f9c(0x1ad)]=a12_0x3c9f9c(0x1ac);var a12_0x41c905={};a12_0x41c905['root']=a12_0x3c9f9c(0x1b5),a12_0x41c905[a12_0x3c9f9c(0x1aa)]=a12_0x3c9f9c(0x1ab),a12_0x41c905[a12_0x3c9f9c(0x1b6)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';function a12_0x14a7(_0x4ecdfa,_0x4eabec){var _0x2b99ce=a12_0x2b99();return a12_0x14a7=function(_0x14a785,_0x5441e0){_0x14a785=_0x14a785-0x1a0;var _0x318b88=_0x2b99ce[_0x14a785];return _0x318b88;},a12_0x14a7(_0x4ecdfa,_0x4eabec);}var a12_0x3fa4d8={};a12_0x3fa4d8[a12_0x3c9f9c(0x1a3)]=a12_0x43b94e,a12_0x3fa4d8[a12_0x3c9f9c(0x1ae)]=a12_0x41c905,exports[a12_0x3c9f9c(0x1b1)]=a12_0x3fa4d8;var a12_0x340da1={};a12_0x340da1[a12_0x3c9f9c(0x1af)]=a12_0x3c9f9c(0x1a6);var a12_0xdbd6ef={};function a12_0x2b99(){var _0x13ea7e=['1666606rEfRZA','738838HjyiJA','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','329546LmXnxB','457293xMRPzI','invalid','connect','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','hosts','command','missing','ERROR_MESSAGES','HELP_MESSAGES','5677985EysqNs','6670416cDUvMY','6344562nxlejA','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','footer','64hClGay','bstackAccessKey','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','options'];a12_0x2b99=function(){return _0x13ea7e;};return a12_0x2b99();}a12_0xdbd6ef[a12_0x3c9f9c(0x1af)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a12_0xdbd6ef[a12_0x3c9f9c(0x1a9)]=a12_0x3c9f9c(0x1a2);var a12_0x36a154={};a12_0x36a154['bstackAccessKey']=a12_0x340da1,a12_0x36a154[a12_0x3c9f9c(0x1ad)]=a12_0xdbd6ef,exports[a12_0x3c9f9c(0x1b0)]=a12_0x36a154;
1
+ var a12_0x29c001=a12_0x5e4f;function a12_0x2ec9(){var _0x5cde45=['connect','footer','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','4850ZhoxWg','127030IpYbsK','bstackAccessKey','248GZBQzG','HELP_MESSAGES','4365BsjElG','6467460VYJolM','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','59759gsgvAS','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','24mOQtqj','command','22ReQvFc','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','645180zaGvQz','66656OAQgRc','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','270697deucej','hosts','root','ERROR_MESSAGES','invalid','missing','15jKuDqh'];a12_0x2ec9=function(){return _0x5cde45;};return a12_0x2ec9();}(function(_0x5bf355,_0x4e8a71){var _0x41db41=a12_0x5e4f,_0x33afa6=_0x5bf355();while(!![]){try{var _0x1e55ad=-parseInt(_0x41db41(0x166))/0x1+-parseInt(_0x41db41(0x164))/0x2*(-parseInt(_0x41db41(0x16c))/0x3)+parseInt(_0x41db41(0x17a))/0x4*(-parseInt(_0x41db41(0x171))/0x5)+-parseInt(_0x41db41(0x163))/0x6+parseInt(_0x41db41(0x178))/0x7*(-parseInt(_0x41db41(0x173))/0x8)+parseInt(_0x41db41(0x175))/0x9*(-parseInt(_0x41db41(0x170))/0xa)+-parseInt(_0x41db41(0x17c))/0xb*(-parseInt(_0x41db41(0x176))/0xc);if(_0x1e55ad===_0x4e8a71)break;else _0x33afa6['push'](_0x33afa6['shift']());}catch(_0x1d3acd){_0x33afa6['push'](_0x33afa6['shift']());}}}(a12_0x2ec9,0x343ff));var a12_0xc2ec4e={};a12_0xc2ec4e['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a12_0xc2ec4e[a12_0x29c001(0x167)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a12_0x59d2b8={};a12_0x59d2b8[a12_0x29c001(0x168)]=a12_0x29c001(0x177),a12_0x59d2b8[a12_0x29c001(0x16d)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a12_0x59d2b8[a12_0x29c001(0x16e)]=a12_0x29c001(0x17d);var a12_0x89d874={};a12_0x89d874['options']=a12_0xc2ec4e,a12_0x89d874[a12_0x29c001(0x17b)]=a12_0x59d2b8,exports[a12_0x29c001(0x174)]=a12_0x89d874;var a12_0x4c30e0={};a12_0x4c30e0['missing']=a12_0x29c001(0x165);var a12_0x1c703e={};function a12_0x5e4f(_0x435651,_0x29bee4){var _0x2ec9f8=a12_0x2ec9();return a12_0x5e4f=function(_0x5e4fb3,_0x137a43){_0x5e4fb3=_0x5e4fb3-0x163;var _0x1889d9=_0x2ec9f8[_0x5e4fb3];return _0x1889d9;},a12_0x5e4f(_0x435651,_0x29bee4);}a12_0x1c703e[a12_0x29c001(0x16b)]=a12_0x29c001(0x179),a12_0x1c703e[a12_0x29c001(0x16a)]=a12_0x29c001(0x16f);var a12_0x280575={};a12_0x280575[a12_0x29c001(0x172)]=a12_0x4c30e0,a12_0x280575[a12_0x29c001(0x167)]=a12_0x1c703e,exports[a12_0x29c001(0x169)]=a12_0x280575;
@@ -1 +1 @@
1
- 'use strict';function a13_0x14f4(_0x4adf62,_0x1eda74){const _0x34405e=a13_0x3440();return a13_0x14f4=function(_0x14f4f3,_0xb39ad){_0x14f4f3=_0x14f4f3-0x143;let _0x110a50=_0x34405e[_0x14f4f3];return _0x110a50;},a13_0x14f4(_0x4adf62,_0x1eda74);}const a13_0x345306=a13_0x14f4;(function(_0x5b3035,_0x3fdaf9){const _0x53bda0=a13_0x14f4,_0x16c839=_0x5b3035();while(!![]){try{const _0x1729cd=parseInt(_0x53bda0(0x193))/0x1*(-parseInt(_0x53bda0(0x185))/0x2)+-parseInt(_0x53bda0(0x1c8))/0x3+parseInt(_0x53bda0(0x1a0))/0x4+parseInt(_0x53bda0(0x156))/0x5*(-parseInt(_0x53bda0(0x19d))/0x6)+parseInt(_0x53bda0(0x19c))/0x7*(-parseInt(_0x53bda0(0x18a))/0x8)+-parseInt(_0x53bda0(0x1bf))/0x9+parseInt(_0x53bda0(0x172))/0xa;if(_0x1729cd===_0x3fdaf9)break;else _0x16c839['push'](_0x16c839['shift']());}catch(_0x53d85e){_0x16c839['push'](_0x16c839['shift']());}}}(a13_0x3440,0xabdba));const path=require(a13_0x345306(0x174)),fs=require('fs'),{v4:uuidv4}=require(a13_0x345306(0x1ac)),testhubUtils=require(a13_0x345306(0x14f)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x345306(0x146)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a13_0x345306(0x145)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a13_0xea3167={};a13_0xea3167[a13_0x345306(0x187)]='passed',a13_0xea3167[a13_0x345306(0x18f)]=a13_0x345306(0x18f),a13_0xea3167[a13_0x345306(0x1bd)]=a13_0x345306(0x1bd),a13_0xea3167[a13_0x345306(0x1ba)]=a13_0x345306(0x1c9);function a13_0x3440(){const _0x41b651=['fileNameByFullName','1232112ytqacg','skipped','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','mdanO','../testRunMap','../../../helpers/test-observability/sessionHandler','trim','wYilR','expected','\x20:\x20','waFhA','dMxXM','specDone','rURIE','../../../helpers/testhub/utils','prefixTestPath','finished_at','number','aMxyJ','uploadEventData','keLVu','1420sqpBLr','message','mfRGy','RKdyK','JASMINE','FjMRQ','toISOString','fOvku','join','TestRunStarted','err','RCsUJ','.git','oZCFb','UnhandledError','uRBsv','Wewki','xkuQR','filename','statSync','duration','_suitesById','_sendSpecEvent','keys','AssertionError','iaRKe','esKJt','Exception\x20in\x20jasmine\x20specDone\x20for\x20','57735300xyufmW','failedExpectations','path','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','match','Vmajl','length','EBwkf','EgYEl','aOTwv','iouRz','YIoQI','delete','specStarted','slice','has','fullName','add','cwd','2466230Tmjmll','YavXu','passed','lVHep','snPCt','16ZvJiDd','shouldProcessEventForTesthub','relative','set','znUfz','failed','_collapseFailedExpectations','ZMKzY','config','1ZJPBAh','LeiOb','matcherName','startsWith','_resolveFilePath','setCurrentTestData','_findGitConfig','ygZXu','failure_backtrace','3208667biQDZw','26778coUcEk','dirname','_scopes','212676liYYqi','urrUL','pBDJd','MxoZx','Spec\x20failed','endsWith','ZFmRq','backtrace','stack','xEoxn','lang','parentSuiteId','uuid','failure_reason_expanded','FovwL','TestRunSkipped','reverse','get','GDUuL','status','TestRunFinished','actual','sep','kwCnP','_fileNameByFullName','XkhQO','excluded','VXZvp','suiteDone','pending','javascript','11652264bMwKLc','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','description','fFJZl','_paths','isArray','FfJFP','push'];a13_0x3440=function(){return _0x41b651;};return a13_0x3440();}const STATUS_MAP=a13_0xea3167;class BrowserStackJasmineReporter{constructor(_0x193eaa={}){const _0x3fb1fd=a13_0x345306,_0x5196af={'OiYny':function(_0x3a72f9){return _0x3a72f9();}};this['testObservability']=_0x5196af['OiYny'](isTestObservabilitySession),this[_0x3fb1fd(0x1c3)]=new PathHelper({'cwd':process[_0x3fb1fd(0x184)]()},undefined),this[_0x3fb1fd(0x1b8)]=_0x193eaa&&_0x193eaa[_0x3fb1fd(0x1c7)]||{},this[_0x3fb1fd(0x16b)]=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x12e6eb){const _0x4fccd8=a13_0x345306,_0x26160c={'ZsYEg':function(_0x1cc563,_0x4b218e){return _0x1cc563!==_0x4b218e;},'fFJZl':function(_0x12147c,_0x4d2940){return _0x12147c!==_0x4d2940;},'qsbNc':function(_0x4b3cee,_0x1a64ad){return _0x4b3cee(_0x1a64ad);}};try{_0x12e6eb&&_0x26160c['ZsYEg'](_0x12e6eb['id'],undefined)&&_0x26160c[_0x4fccd8(0x1c2)](_0x12e6eb['id'],null)&&this[_0x4fccd8(0x16b)][_0x4fccd8(0x18d)](_0x12e6eb['id'],{'description':_0x12e6eb['description'],'parentSuiteId':_0x12e6eb[_0x4fccd8(0x1ab)]});}catch(_0x4d6bd4){_0x26160c['qsbNc'](debug,_0x4fccd8(0x1c0)+(_0x12e6eb&&_0x12e6eb[_0x4fccd8(0x182)])+'\x20:\x20'+_0x4d6bd4);}}[a13_0x345306(0x17f)](_0x47405f){const _0x968088=a13_0x345306,_0x405d8b={'xkuQR':function(_0x22560e,_0x28c364){return _0x22560e!==_0x28c364;},'LeiOb':function(_0x2f0f11){return _0x2f0f11();},'RCsUJ':_0x968088(0x15f),'EBwkf':function(_0x1f3eb4,_0xa9103f){return _0x1f3eb4(_0xa9103f);}};try{if(_0x405d8b[_0x968088(0x167)](testhubUtils[_0x968088(0x18b)](),!![]))return;const _0x1554fa=_0x405d8b[_0x968088(0x194)](uuidv4);testRunMap[_0x968088(0x18d)](_0x47405f['id'],_0x1554fa),this[_0x968088(0x16c)](_0x47405f,_0x1554fa,_0x405d8b[_0x968088(0x161)]);}catch(_0x4d86f6){_0x405d8b[_0x968088(0x179)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x47405f&&_0x47405f['fullName'])+'\x20:\x20'+_0x4d86f6);}}[a13_0x345306(0x14d)](_0x4a77b8){const _0x7c90c0=a13_0x345306,_0x2a5ed2={'oZCFb':function(_0x10a112,_0xebe371){return _0x10a112!==_0xebe371;},'aOTwv':function(_0x4d4104){return _0x4d4104();},'dMxXM':function(_0x40492c,_0x47b9d2){return _0x40492c===_0x47b9d2;},'esKJt':'excluded','oGvgh':_0x7c90c0(0x1af),'IhCCx':_0x7c90c0(0x1b4),'kwCnP':function(_0x57655a,_0x11d9a3){return _0x57655a(_0x11d9a3);}};try{if(_0x2a5ed2[_0x7c90c0(0x163)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x16a1f2=testRunMap[_0x7c90c0(0x1b1)](_0x4a77b8['id'])||_0x2a5ed2[_0x7c90c0(0x17b)](uuidv4),_0x196d39=_0x2a5ed2[_0x7c90c0(0x14c)](_0x4a77b8[_0x7c90c0(0x1b3)],_0x2a5ed2[_0x7c90c0(0x170)])?_0x2a5ed2['oGvgh']:_0x2a5ed2['IhCCx'];this[_0x7c90c0(0x16c)](_0x4a77b8,_0x16a1f2,_0x196d39);}catch(_0x4afc82){_0x2a5ed2[_0x7c90c0(0x1b7)](debug,_0x7c90c0(0x171)+(_0x4a77b8&&_0x4a77b8[_0x7c90c0(0x182)])+_0x7c90c0(0x14a)+_0x4afc82);}finally{_0x4a77b8&&(testRunMap['remove'](_0x4a77b8['id']),_specStartTimes[_0x7c90c0(0x17e)](_0x4a77b8['id']));}}[a13_0x345306(0x1bc)](){}['jasmineDone'](){}['_sendSpecEvent'](_0x23fb04,_0x2a0f8f,_0x511492){const _0x1628aa=a13_0x345306,_0x5b8cf2={'ygZXu':function(_0x232b5e,_0x42433e){return _0x232b5e===_0x42433e;},'urrUL':_0x1628aa(0x1b4),'XkhQO':function(_0x1ebf0e,_0x15bbf7){return _0x1ebf0e===_0x15bbf7;},'ZMKzY':_0x1628aa(0x1af),'FovwL':'File\x20path\x20could\x20not\x20be\x20found','NfDYF':function(_0x253120,_0x4b4dad,_0x2bf19d){return _0x253120(_0x4b4dad,_0x2bf19d);},'mdanO':_0x1628aa(0x160),'keLVu':_0x1628aa(0x15f),'aMxyJ':function(_0x494e3d,_0x54706a){return _0x494e3d!==_0x54706a;},'fOvku':_0x1628aa(0x1be),'znUfz':function(_0x45a113,_0xcfcf37){return _0x45a113&&_0xcfcf37;},'mfRGy':_0x1628aa(0x1c9),'GkiOr':_0x1628aa(0x187),'lVHep':function(_0x25f36d,_0x25405b){return _0x25f36d===_0x25405b;},'jfHHx':_0x1628aa(0x152),'MxoZx':_0x1628aa(0x16e),'xEoxn':_0x1628aa(0x164),'rURIE':'started_at','waFhA':_0x1628aa(0x151),'EgYEl':'failure','RaFEt':_0x1628aa(0x19b),'Wewki':_0x1628aa(0x1a7),'daKUW':_0x1628aa(0x1ad),'YavXu':'expanded','YIoQI':function(_0x1a6442,_0x4f9777){return _0x1a6442(_0x4f9777);}};try{const _0x199a5d=_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2[_0x1628aa(0x1a1)])||_0x5b8cf2[_0x1628aa(0x1b9)](_0x511492,_0x5b8cf2[_0x1628aa(0x191)]),_0x34742a=this[_0x1628aa(0x197)](_0x23fb04),_0x17f125=_0x34742a?this[_0x1628aa(0x1c3)][_0x1628aa(0x150)](_0x34742a):_0x5b8cf2[_0x1628aa(0x1ae)],_0x51ed26=_0x34742a?this[_0x1628aa(0x199)](path[_0x1628aa(0x19e)](_0x34742a)):null,_0x448829=this[_0x1628aa(0x190)](_0x23fb04[_0x1628aa(0x173)]),_0x1ef554=_0x448829?_0x448829['message']:undefined,_0x46acba=_0x448829?_0x5b8cf2['NfDYF'](failureData,_0x448829,_0x5b8cf2[_0x1628aa(0x144)]):[],_0x257b7a=new Date()[_0x1628aa(0x15c)](),_0x50c590=this[_0x1628aa(0x19f)](_0x23fb04);_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2[_0x1628aa(0x155)])&&_0x23fb04&&_0x5b8cf2['aMxyJ'](_0x23fb04['id'],undefined)&&_0x5b8cf2[_0x1628aa(0x153)](_0x23fb04['id'],null)&&_specStartTimes[_0x1628aa(0x18d)](_0x23fb04['id'],_0x257b7a);const _0x5fb38d=_0x5b8cf2[_0x1628aa(0x1b9)](_0x511492,_0x5b8cf2[_0x1628aa(0x155)])?_0x257b7a:_0x23fb04&&_specStartTimes['get'](_0x23fb04['id'])||null,_0x36501d={};_0x36501d[_0x1628aa(0x1aa)]=_0x5b8cf2[_0x1628aa(0x15d)],_0x36501d['code']=null;const _0x646a70={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2a0f8f,'name':_0x23fb04[_0x1628aa(0x1c1)],'body':_0x36501d,'scope':_0x50c590[_0x1628aa(0x15e)]('\x20'),'scopes':_0x50c590,'identifier':_0x23fb04[_0x1628aa(0x182)],'file_name':_0x17f125,'vc_filepath':_0x5b8cf2[_0x1628aa(0x18e)](_0x51ed26,_0x34742a)?path[_0x1628aa(0x18c)](_0x51ed26,_0x34742a):null,'location':_0x17f125,'result':_0x5b8cf2['ygZXu'](_0x511492,_0x5b8cf2['ZMKzY'])?_0x5b8cf2[_0x1628aa(0x158)]:STATUS_MAP[_0x23fb04['status']]||_0x5b8cf2['GkiOr'],'failure_reason':_0x1ef554,'duration_in_ms':_0x5b8cf2[_0x1628aa(0x188)](typeof _0x23fb04['duration'],_0x5b8cf2['jfHHx'])?_0x23fb04[_0x1628aa(0x16a)]:null,'started_at':_0x5fb38d,'finished_at':_0x199a5d?_0x257b7a:null,'failure':_0x46acba,'failure_type':!_0x1ef554?null:_0x1ef554[_0x1628aa(0x176)](/AssertionError/)?_0x5b8cf2[_0x1628aa(0x1a3)]:_0x5b8cf2[_0x1628aa(0x1a9)],'retry_of':null};_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2[_0x1628aa(0x191)])&&!_0x646a70[_0x5b8cf2[_0x1628aa(0x14e)]]&&(_0x646a70[_0x5b8cf2['rURIE']]=_0x646a70[_0x5b8cf2[_0x1628aa(0x14b)]]);const _0x5819ac=_0x646a70[_0x5b8cf2[_0x1628aa(0x17a)]][0x0];_0x5819ac&&(_0x646a70[_0x5b8cf2['RaFEt']]=_0x5819ac[_0x5b8cf2[_0x1628aa(0x166)]],_0x646a70[_0x5b8cf2['daKUW']]=_0x5819ac[_0x5b8cf2[_0x1628aa(0x186)]]);testhubUtils['appendTesthubParams'](_0x646a70,_0x511492,_0x23fb04,FRAMEWORKS[_0x1628aa(0x15a)]);const _0x5d0d15={'event_type':_0x5b8cf2[_0x1628aa(0x19a)](_0x511492,_0x5b8cf2['ZMKzY'])?_0x5b8cf2['urrUL']:_0x511492,'test_run':_0x646a70};return testhubUtils[_0x1628aa(0x198)](FRAMEWORKS[_0x1628aa(0x15a)],_0x5d0d15),SessionHandler[_0x1628aa(0x154)](_0x5d0d15);}catch(_0xc8a046){_0x5b8cf2[_0x1628aa(0x17d)](debug,_0x1628aa(0x143)+_0x511492+_0x1628aa(0x14a)+_0xc8a046);}}['_scopes'](_0x97e529){const _0x5dd572=a13_0x345306,_0x4f9871={'FgcVQ':function(_0x22015b,_0x4034b6){return _0x22015b!==_0x4034b6;},'pmBwK':function(_0x3bb3df,_0x5943a4){return _0x3bb3df!==_0x5943a4;},'FfJFP':function(_0x16c256,_0x59d66e){return _0x16c256>_0x59d66e;},'RKdyK':function(_0x4f40b5,_0x532d29){return _0x4f40b5(_0x532d29);},'FjMRQ':function(_0x5a1413,_0x678140){return _0x5a1413-_0x678140;}};try{const _0x1f1aeb=[];let _0x2f0e11=_0x97e529&&_0x97e529[_0x5dd572(0x1ab)];const _0x138a26=new Set();while(_0x4f9871['FgcVQ'](_0x2f0e11,undefined)&&_0x4f9871['pmBwK'](_0x2f0e11,null)&&this[_0x5dd572(0x16b)][_0x5dd572(0x181)](_0x2f0e11)&&!_0x138a26[_0x5dd572(0x181)](_0x2f0e11)){_0x138a26[_0x5dd572(0x183)](_0x2f0e11);const _0x1fcef3=this['_suitesById']['get'](_0x2f0e11);_0x1fcef3&&_0x1fcef3['description']&&_0x1f1aeb[_0x5dd572(0x1c6)](_0x1fcef3[_0x5dd572(0x1c1)]),_0x2f0e11=_0x1fcef3?_0x1fcef3['parentSuiteId']:null;}if(_0x4f9871[_0x5dd572(0x1c5)](_0x1f1aeb[_0x5dd572(0x178)],0x0))return _0x1f1aeb[_0x5dd572(0x1b0)]();}catch(_0x367a8f){_0x4f9871[_0x5dd572(0x159)](debug,_0x5dd572(0x175)+(_0x97e529&&_0x97e529['fullName'])+_0x5dd572(0x14a)+_0x367a8f);}const _0x49d99b=_0x97e529&&_0x97e529[_0x5dd572(0x182)]||'',_0x9196ee=_0x97e529&&_0x97e529[_0x5dd572(0x1c1)]||'';let _0x3ff632=_0x49d99b;return _0x9196ee&&_0x49d99b[_0x5dd572(0x1a5)](_0x9196ee)&&(_0x3ff632=_0x49d99b[_0x5dd572(0x180)](0x0,_0x4f9871[_0x5dd572(0x15b)](_0x49d99b[_0x5dd572(0x178)],_0x9196ee[_0x5dd572(0x178)]))[_0x5dd572(0x147)]()),_0x3ff632?_0x3ff632['split'](/\s+/):[];}[a13_0x345306(0x197)](_0xd594fe){const _0xbfacc1=a13_0x345306,_0x582f7a={};_0x582f7a[_0xbfacc1(0x1a2)]=function(_0x5996d1,_0x3cb430){return _0x5996d1===_0x3cb430;},_0x582f7a[_0xbfacc1(0x16f)]=function(_0x5dd823,_0x52eaf1){return _0x5dd823+_0x52eaf1;},_0x582f7a[_0xbfacc1(0x148)]=function(_0x2c2478,_0x4ab33b){return _0x2c2478>_0x4ab33b;};const _0x4dc983=_0x582f7a;if(_0xd594fe&&_0xd594fe[_0xbfacc1(0x168)])return _0xd594fe[_0xbfacc1(0x168)];if(_0xd594fe&&_0xd594fe[_0xbfacc1(0x182)]){if(this[_0xbfacc1(0x1b8)][_0xd594fe['fullName']])return this['_fileNameByFullName'][_0xd594fe['fullName']];let _0x375c36=null,_0x490700=-0x1;for(const _0x1fd6cb of Object[_0xbfacc1(0x16d)](this['_fileNameByFullName'])){(_0x4dc983['pBDJd'](_0xd594fe['fullName'],_0x1fd6cb)||_0xd594fe[_0xbfacc1(0x182)][_0xbfacc1(0x196)](_0x4dc983['iaRKe'](_0x1fd6cb,'\x20')))&&_0x4dc983[_0xbfacc1(0x148)](_0x1fd6cb[_0xbfacc1(0x178)],_0x490700)&&(_0x375c36=this[_0xbfacc1(0x1b8)][_0x1fd6cb],_0x490700=_0x1fd6cb[_0xbfacc1(0x178)]);}if(_0x375c36)return _0x375c36;}return null;}[a13_0x345306(0x190)](_0x3c4e04){const _0x49cc4a=a13_0x345306,_0x358726={};_0x358726[_0x49cc4a(0x1b2)]=function(_0x1de0fd,_0x578ea9){return _0x1de0fd===_0x578ea9;},_0x358726[_0x49cc4a(0x165)]=_0x49cc4a(0x1a4);const _0x25d4ee=_0x358726;if(!Array[_0x49cc4a(0x1c4)](_0x3c4e04)||_0x25d4ee[_0x49cc4a(0x1b2)](_0x3c4e04[_0x49cc4a(0x178)],0x0))return undefined;const _0x532af9=[],_0x22b559=[];for(const _0x5a9dd1 of _0x3c4e04){_0x5a9dd1&&_0x5a9dd1[_0x49cc4a(0x157)]&&_0x532af9['push'](_0x5a9dd1[_0x49cc4a(0x157)]),_0x5a9dd1&&_0x5a9dd1[_0x49cc4a(0x1a8)]&&_0x22b559[_0x49cc4a(0x1c6)](_0x5a9dd1[_0x49cc4a(0x1a8)]);}const _0x5d889b=_0x3c4e04[0x0]||{},_0x780b59=_0x532af9[_0x49cc4a(0x15e)]('\x0a')||_0x5d889b[_0x49cc4a(0x157)]||_0x25d4ee[_0x49cc4a(0x165)],_0x54bac7=_0x22b559[_0x49cc4a(0x15e)]('\x0a\x0a')||_0x5d889b['stack']||_0x780b59,_0x1ce8d8={};return _0x1ce8d8[_0x49cc4a(0x157)]=_0x780b59,_0x1ce8d8['stack']=_0x54bac7,_0x1ce8d8[_0x49cc4a(0x195)]=_0x5d889b[_0x49cc4a(0x195)],_0x1ce8d8[_0x49cc4a(0x149)]=_0x5d889b[_0x49cc4a(0x149)],_0x1ce8d8[_0x49cc4a(0x1b5)]=_0x5d889b[_0x49cc4a(0x1b5)],_0x1ce8d8;}[a13_0x345306(0x199)](_0x33fc8b){const _0x2c4dfb=a13_0x345306,_0x869f10={};_0x869f10[_0x2c4dfb(0x189)]=function(_0x485664,_0x84be53){return _0x485664===_0x84be53;},_0x869f10[_0x2c4dfb(0x17c)]=function(_0x3b223a,_0xc27eb3){return _0x3b223a===_0xc27eb3;},_0x869f10[_0x2c4dfb(0x177)]=function(_0x46e23f,_0x3d2046){return _0x46e23f===_0x3d2046;},_0x869f10['VXZvp']=_0x2c4dfb(0x162),_0x869f10['ZFmRq']=_0x2c4dfb(0x192);const _0x9c856b=_0x869f10,_0x6bf3a8=path[_0x2c4dfb(0x1b6)];if(_0x9c856b[_0x2c4dfb(0x189)](_0x33fc8b,null)||_0x9c856b[_0x2c4dfb(0x17c)](_0x33fc8b,'')||_0x9c856b['snPCt'](_0x33fc8b,_0x6bf3a8)||_0x9c856b[_0x2c4dfb(0x177)](_0x33fc8b,path['dirname'](_0x33fc8b)))return null;try{return fs[_0x2c4dfb(0x169)](path[_0x2c4dfb(0x15e)](_0x33fc8b,_0x9c856b[_0x2c4dfb(0x1bb)],_0x9c856b[_0x2c4dfb(0x1a6)])),_0x33fc8b;}catch(_0x32df02){return this[_0x2c4dfb(0x199)](path[_0x2c4dfb(0x19e)](_0x33fc8b));}}}module['exports']=BrowserStackJasmineReporter;
1
+ 'use strict';const a13_0x450ab3=a13_0x283e;(function(_0x598946,_0x2009d8){const _0x181189=a13_0x283e,_0x1ec63c=_0x598946();while(!![]){try{const _0x35d7f3=parseInt(_0x181189(0x122))/0x1+-parseInt(_0x181189(0x130))/0x2*(-parseInt(_0x181189(0x180))/0x3)+-parseInt(_0x181189(0x14f))/0x4+-parseInt(_0x181189(0x12a))/0x5+-parseInt(_0x181189(0x147))/0x6*(-parseInt(_0x181189(0xfc))/0x7)+-parseInt(_0x181189(0x137))/0x8*(-parseInt(_0x181189(0x115))/0x9)+-parseInt(_0x181189(0x17f))/0xa*(parseInt(_0x181189(0x160))/0xb);if(_0x35d7f3===_0x2009d8)break;else _0x1ec63c['push'](_0x1ec63c['shift']());}catch(_0x285ec0){_0x1ec63c['push'](_0x1ec63c['shift']());}}}(a13_0xe849,0xc58c7));const path=require(a13_0x450ab3(0x103)),fs=require('fs'),{v4:uuidv4}=require(a13_0x450ab3(0x133)),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x450ab3(0x10d)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a13_0x450ab3(0x109)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a13_0x5532bb={};a13_0x5532bb[a13_0x450ab3(0x142)]=a13_0x450ab3(0x142),a13_0x5532bb[a13_0x450ab3(0x154)]=a13_0x450ab3(0x154),a13_0x5532bb[a13_0x450ab3(0x179)]=a13_0x450ab3(0x179),a13_0x5532bb[a13_0x450ab3(0x100)]=a13_0x450ab3(0x11b);function a13_0xe849(){const _0x5e6470=['trim','statSync','failure_backtrace','_suitesById','failure','_fileNameByFullName','4533824UZNffw','BecOd','_findGitConfig','Exception\x20in\x20jasmine\x20specDone\x20for\x20','startsWith','failed','exports','TestRunStarted','TestRunFinished','itylu','started_at','AssertionError','backtrace','shouldProcessEventForTesthub','IFyAN','push','status','4367gGCrqB','lXOed','testObservability','number','appendTesthubParams','alGvI','setCurrentTestData','match','CmnVx','MvtDl','tqDnE','QlpYx','uploadEventData','YVvBc','eegiv','aTuec','lang','_resolveFilePath','WuojZ','stack','get','failedExpectations','XNadC','obrva','toISOString','pending','message','set','otFDm','_paths','isArray','5410GTClgC','9GeGEjr','expanded','suiteStarted','3326701GnMwor','jPPHa','duration','UtKvq','excluded','JASMINE','TestRunSkipped','path','config','AEogm','actual','UnhandledError','err','../testRunMap','RhheG','fullName','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','../../../helpers/test-observability/sessionHandler','IyaPa','code','\x20:\x20','suiteDone','TVkrf','failure_reason_expanded','kRWLR','2353842iiHWiA','description','jasmineDone','dirname','rHDsz','javascript','skipped','remove','dECin','expected','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','zNNIu','parentSuiteId','1246064rVZFId','_sendSpecEvent','PQWao','hKoQy','prefixTestPath','klzph','qCeWo','qzlYY','5252900NthfXk','HrKFw','_scopes','zVUwN','slice','WGJrY','183094MOLpTi','nRhJv','COgOk','uuid','pkJEO','has','filename','8DgbcZX','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','edRdv','JWluh','iOPXt','oKEIB','File\x20path\x20could\x20not\x20be\x20found','length','cWTAV','EOobH','finished_at','passed','join','matcherName','xfQPJ','add','18POvVBl','iAQey'];a13_0xe849=function(){return _0x5e6470;};return a13_0xe849();}const STATUS_MAP=a13_0x5532bb;function a13_0x283e(_0xef8cd,_0x1c215e){const _0xe84903=a13_0xe849();return a13_0x283e=function(_0x283e99,_0x1dbdc7){_0x283e99=_0x283e99-0xfc;let _0x12d475=_0xe84903[_0x283e99];return _0x12d475;},a13_0x283e(_0xef8cd,_0x1c215e);}class BrowserStackJasmineReporter{constructor(_0x84ce58={}){const _0x24d5fa=a13_0x450ab3,_0x41345a={'EOobH':function(_0x2820b9){return _0x2820b9();}};this[_0x24d5fa(0x162)]=_0x41345a[_0x24d5fa(0x140)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x24d5fa(0x14e)]=_0x84ce58&&_0x84ce58['fileNameByFullName']||{},this[_0x24d5fa(0x14c)]=new Map();}['jasmineStarted'](){}[a13_0x450ab3(0x182)](_0x32c35e){const _0x1479b4=a13_0x450ab3,_0x221fde={'TVkrf':function(_0x65f13a,_0x6511d4){return _0x65f13a!==_0x6511d4;},'yJMBx':function(_0x362a22,_0x5c67b8){return _0x362a22(_0x5c67b8);}};try{_0x32c35e&&_0x221fde[_0x1479b4(0x112)](_0x32c35e['id'],undefined)&&_0x221fde[_0x1479b4(0x112)](_0x32c35e['id'],null)&&this['_suitesById'][_0x1479b4(0x17b)](_0x32c35e['id'],{'description':_0x32c35e['description'],'parentSuiteId':_0x32c35e['parentSuiteId']});}catch(_0x4ada3e){_0x221fde['yJMBx'](debug,_0x1479b4(0x10c)+(_0x32c35e&&_0x32c35e[_0x1479b4(0x10b)])+_0x1479b4(0x110)+_0x4ada3e);}}['specStarted'](_0x3eb161){const _0x15093b=a13_0x450ab3,_0x27bffc={'vMOzF':function(_0x163830,_0x442b43){return _0x163830!==_0x442b43;},'WGJrY':function(_0x1530a0){return _0x1530a0();},'pkJEO':_0x15093b(0x156),'IyaPa':function(_0x100844,_0x3216f5){return _0x100844(_0x3216f5);}};try{if(_0x27bffc['vMOzF'](testhubUtils[_0x15093b(0x15c)](),!![]))return;const _0x2f24ec=_0x27bffc[_0x15093b(0x12f)](uuidv4);testRunMap[_0x15093b(0x17b)](_0x3eb161['id'],_0x2f24ec),this[_0x15093b(0x123)](_0x3eb161,_0x2f24ec,_0x27bffc[_0x15093b(0x134)]);}catch(_0x8c2808){_0x27bffc[_0x15093b(0x10e)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x3eb161&&_0x3eb161['fullName'])+'\x20:\x20'+_0x8c2808);}}['specDone'](_0x1b5d03){const _0x443629=a13_0x450ab3,_0x3041a5={'hxkUt':function(_0x1ff6ca,_0x2070c4){return _0x1ff6ca!==_0x2070c4;},'CmnVx':function(_0x45c5f2){return _0x45c5f2();},'tqDnE':function(_0x532156,_0x430fe1){return _0x532156===_0x430fe1;},'aTuec':_0x443629(0x100),'hKoQy':_0x443629(0x102),'jPPHa':_0x443629(0x157),'dECin':function(_0x280569,_0x9656a2){return _0x280569(_0x9656a2);}};try{if(_0x3041a5['hxkUt'](testhubUtils[_0x443629(0x15c)](),!![]))return;const _0x57e9e3=testRunMap[_0x443629(0x174)](_0x1b5d03['id'])||_0x3041a5[_0x443629(0x168)](uuidv4),_0x215e81=_0x3041a5[_0x443629(0x16a)](_0x1b5d03[_0x443629(0x15f)],_0x3041a5[_0x443629(0x16f)])?_0x3041a5[_0x443629(0x125)]:_0x3041a5[_0x443629(0xfd)];this['_sendSpecEvent'](_0x1b5d03,_0x57e9e3,_0x215e81);}catch(_0x127b94){_0x3041a5[_0x443629(0x11d)](debug,_0x443629(0x152)+(_0x1b5d03&&_0x1b5d03[_0x443629(0x10b)])+'\x20:\x20'+_0x127b94);}finally{_0x1b5d03&&(testRunMap[_0x443629(0x11c)](_0x1b5d03['id']),_specStartTimes['delete'](_0x1b5d03['id']));}}[a13_0x450ab3(0x111)](){}[a13_0x450ab3(0x117)](){}[a13_0x450ab3(0x123)](_0x555443,_0xd3dae0,_0x528ebd){const _0x1043b1=a13_0x450ab3,_0x282d9f={'zVUwN':function(_0x826ee7,_0x43b03a){return _0x826ee7===_0x43b03a;},'Yitjs':_0x1043b1(0x157),'eegiv':function(_0x62b061,_0x460e62){return _0x62b061===_0x460e62;},'edRdv':_0x1043b1(0x102),'AEogm':_0x1043b1(0x13d),'RhheG':function(_0x51d0d8,_0x52bf4b,_0x5ade52){return _0x51d0d8(_0x52bf4b,_0x5ade52);},'klzph':_0x1043b1(0x108),'YVvBc':function(_0xff1ed7,_0x549808){return _0xff1ed7===_0x549808;},'HrKFw':_0x1043b1(0x156),'obrva':function(_0x1294df,_0x4f6a96){return _0x1294df!==_0x4f6a96;},'suIkQ':function(_0x7465ae,_0x21b73f){return _0x7465ae!==_0x21b73f;},'XNadC':function(_0x32e517,_0x1d93b4){return _0x32e517===_0x1d93b4;},'rHDsz':_0x1043b1(0x11a),'cWTAV':function(_0xd41c1b,_0x3ada13){return _0xd41c1b&&_0x3ada13;},'JWluh':function(_0x15ef5d,_0x3ed8ab){return _0x15ef5d===_0x3ed8ab;},'UAVCv':_0x1043b1(0x11b),'uadUv':_0x1043b1(0x142),'AlBSc':_0x1043b1(0x163),'rVARB':_0x1043b1(0x15a),'otFDm':_0x1043b1(0x107),'BecOd':function(_0x449195,_0x537748){return _0x449195===_0x537748;},'QlpYx':_0x1043b1(0x159),'qCeWo':_0x1043b1(0x141),'itylu':_0x1043b1(0x14d),'iOPXt':_0x1043b1(0x14b),'mWiMr':_0x1043b1(0x15b),'oKEIB':_0x1043b1(0x113),'qzlYY':_0x1043b1(0x181),'IFyAN':function(_0x20fad9,_0x5c00fd){return _0x20fad9(_0x5c00fd);}};try{const _0x1ac1c1=_0x282d9f[_0x1043b1(0x12d)](_0x528ebd,_0x282d9f['Yitjs'])||_0x282d9f[_0x1043b1(0x16e)](_0x528ebd,_0x282d9f[_0x1043b1(0x139)]),_0x3d206b=this['_resolveFilePath'](_0x555443),_0x3bd389=_0x3d206b?this[_0x1043b1(0x17d)][_0x1043b1(0x126)](_0x3d206b):_0x282d9f[_0x1043b1(0x105)],_0x58537b=_0x3d206b?this[_0x1043b1(0x151)](path[_0x1043b1(0x118)](_0x3d206b)):null,_0xd2afde=this['_collapseFailedExpectations'](_0x555443[_0x1043b1(0x175)]),_0x816f55=_0xd2afde?_0xd2afde[_0x1043b1(0x17a)]:undefined,_0x1210fb=_0xd2afde?_0x282d9f[_0x1043b1(0x10a)](failureData,_0xd2afde,_0x282d9f[_0x1043b1(0x127)]):[],_0x2d81de=new Date()[_0x1043b1(0x178)](),_0x2b8c92=this['_scopes'](_0x555443);_0x282d9f[_0x1043b1(0x16d)](_0x528ebd,_0x282d9f['HrKFw'])&&_0x555443&&_0x282d9f[_0x1043b1(0x177)](_0x555443['id'],undefined)&&_0x282d9f['suIkQ'](_0x555443['id'],null)&&_specStartTimes['set'](_0x555443['id'],_0x2d81de);const _0x1166dc=_0x282d9f[_0x1043b1(0x176)](_0x528ebd,_0x282d9f[_0x1043b1(0x12b)])?_0x2d81de:_0x555443&&_specStartTimes[_0x1043b1(0x174)](_0x555443['id'])||null,_0x28b4ea={};_0x28b4ea[_0x1043b1(0x170)]=_0x282d9f[_0x1043b1(0x119)],_0x28b4ea[_0x1043b1(0x10f)]=null;const _0x1ec189={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0xd3dae0,'name':_0x555443[_0x1043b1(0x116)],'body':_0x28b4ea,'scope':_0x2b8c92['join']('\x20'),'scopes':_0x2b8c92,'identifier':_0x555443['fullName'],'file_name':_0x3bd389,'vc_filepath':_0x282d9f[_0x1043b1(0x13f)](_0x58537b,_0x3d206b)?path['relative'](_0x58537b,_0x3d206b):null,'location':_0x3bd389,'result':_0x282d9f[_0x1043b1(0x13a)](_0x528ebd,_0x282d9f['edRdv'])?_0x282d9f['UAVCv']:STATUS_MAP[_0x555443[_0x1043b1(0x15f)]]||_0x282d9f['uadUv'],'failure_reason':_0x816f55,'duration_in_ms':_0x282d9f[_0x1043b1(0x176)](typeof _0x555443[_0x1043b1(0xfe)],_0x282d9f['AlBSc'])?_0x555443[_0x1043b1(0xfe)]:null,'started_at':_0x1166dc,'finished_at':_0x1ac1c1?_0x2d81de:null,'failure':_0x1210fb,'failure_type':!_0x816f55?null:_0x816f55[_0x1043b1(0x167)](/AssertionError/)?_0x282d9f['rVARB']:_0x282d9f[_0x1043b1(0x17c)],'retry_of':null};_0x282d9f[_0x1043b1(0x150)](_0x528ebd,_0x282d9f['edRdv'])&&!_0x1ec189[_0x282d9f[_0x1043b1(0x16b)]]&&(_0x1ec189[_0x282d9f['QlpYx']]=_0x1ec189[_0x282d9f[_0x1043b1(0x128)]]);const _0x46aaf6=_0x1ec189[_0x282d9f[_0x1043b1(0x158)]][0x0];_0x46aaf6&&(_0x1ec189[_0x282d9f[_0x1043b1(0x13b)]]=_0x46aaf6[_0x282d9f['mWiMr']],_0x1ec189[_0x282d9f[_0x1043b1(0x13c)]]=_0x46aaf6[_0x282d9f[_0x1043b1(0x129)]]);testhubUtils[_0x1043b1(0x164)](_0x1ec189,_0x528ebd,_0x555443,FRAMEWORKS['JASMINE']);const _0x5600d0={'event_type':_0x282d9f[_0x1043b1(0x13a)](_0x528ebd,_0x282d9f[_0x1043b1(0x139)])?_0x282d9f['Yitjs']:_0x528ebd,'test_run':_0x1ec189};return testhubUtils[_0x1043b1(0x166)](FRAMEWORKS[_0x1043b1(0x101)],_0x5600d0),SessionHandler[_0x1043b1(0x16c)](_0x5600d0);}catch(_0x28c9f0){_0x282d9f[_0x1043b1(0x15d)](debug,_0x1043b1(0x11f)+_0x528ebd+_0x1043b1(0x110)+_0x28c9f0);}}[a13_0x450ab3(0x12c)](_0x591a74){const _0xef5f12=a13_0x450ab3,_0x2a1cc3={'xfQPJ':function(_0x43ec2d,_0xf2ee68){return _0x43ec2d!==_0xf2ee68;},'alGvI':function(_0x670dbe,_0x41abaf){return _0x670dbe>_0x41abaf;},'lXOed':function(_0x778cec,_0x202e72){return _0x778cec(_0x202e72);},'zNNIu':function(_0x3ac226,_0x120c66){return _0x3ac226-_0x120c66;}};try{const _0x1d6226=[];let _0x39ca9c=_0x591a74&&_0x591a74[_0xef5f12(0x121)];const _0x51513a=new Set();while(_0x2a1cc3[_0xef5f12(0x145)](_0x39ca9c,undefined)&&_0x2a1cc3['xfQPJ'](_0x39ca9c,null)&&this['_suitesById'][_0xef5f12(0x135)](_0x39ca9c)&&!_0x51513a[_0xef5f12(0x135)](_0x39ca9c)){_0x51513a[_0xef5f12(0x146)](_0x39ca9c);const _0x45c3da=this[_0xef5f12(0x14c)]['get'](_0x39ca9c);_0x45c3da&&_0x45c3da[_0xef5f12(0x116)]&&_0x1d6226[_0xef5f12(0x15e)](_0x45c3da['description']),_0x39ca9c=_0x45c3da?_0x45c3da[_0xef5f12(0x121)]:null;}if(_0x2a1cc3[_0xef5f12(0x165)](_0x1d6226['length'],0x0))return _0x1d6226['reverse']();}catch(_0x4d0329){_0x2a1cc3[_0xef5f12(0x161)](debug,_0xef5f12(0x138)+(_0x591a74&&_0x591a74[_0xef5f12(0x10b)])+_0xef5f12(0x110)+_0x4d0329);}const _0x413c2e=_0x591a74&&_0x591a74[_0xef5f12(0x10b)]||'',_0x4518d4=_0x591a74&&_0x591a74[_0xef5f12(0x116)]||'';let _0x412840=_0x413c2e;return _0x4518d4&&_0x413c2e['endsWith'](_0x4518d4)&&(_0x412840=_0x413c2e[_0xef5f12(0x12e)](0x0,_0x2a1cc3[_0xef5f12(0x120)](_0x413c2e[_0xef5f12(0x13e)],_0x4518d4[_0xef5f12(0x13e)]))[_0xef5f12(0x149)]()),_0x412840?_0x412840['split'](/\s+/):[];}[a13_0x450ab3(0x171)](_0x5c11b0){const _0x254d8d=a13_0x450ab3,_0x385407={};_0x385407[_0x254d8d(0x148)]=function(_0x5b59ab,_0x19dccc){return _0x5b59ab===_0x19dccc;},_0x385407[_0x254d8d(0x132)]=function(_0x355fa3,_0x11a553){return _0x355fa3+_0x11a553;},_0x385407[_0x254d8d(0x169)]=function(_0x16cfb7,_0x3cba70){return _0x16cfb7>_0x3cba70;};const _0xf5ea69=_0x385407;if(_0x5c11b0&&_0x5c11b0[_0x254d8d(0x136)])return _0x5c11b0[_0x254d8d(0x136)];if(_0x5c11b0&&_0x5c11b0[_0x254d8d(0x10b)]){if(this['_fileNameByFullName'][_0x5c11b0[_0x254d8d(0x10b)]])return this[_0x254d8d(0x14e)][_0x5c11b0[_0x254d8d(0x10b)]];let _0x151fe7=null,_0x2607c5=-0x1;for(const _0x573775 of Object['keys'](this[_0x254d8d(0x14e)])){(_0xf5ea69[_0x254d8d(0x148)](_0x5c11b0[_0x254d8d(0x10b)],_0x573775)||_0x5c11b0[_0x254d8d(0x10b)][_0x254d8d(0x153)](_0xf5ea69[_0x254d8d(0x132)](_0x573775,'\x20')))&&_0xf5ea69[_0x254d8d(0x169)](_0x573775[_0x254d8d(0x13e)],_0x2607c5)&&(_0x151fe7=this[_0x254d8d(0x14e)][_0x573775],_0x2607c5=_0x573775[_0x254d8d(0x13e)]);}if(_0x151fe7)return _0x151fe7;}return null;}['_collapseFailedExpectations'](_0x2907d8){const _0x10bb30=a13_0x450ab3,_0x3033bc={};_0x3033bc[_0x10bb30(0x124)]=function(_0x5bdc99,_0x33285f){return _0x5bdc99===_0x33285f;},_0x3033bc[_0x10bb30(0x172)]='Spec\x20failed';const _0x580a8e=_0x3033bc;if(!Array[_0x10bb30(0x17e)](_0x2907d8)||_0x580a8e[_0x10bb30(0x124)](_0x2907d8[_0x10bb30(0x13e)],0x0))return undefined;const _0x179c2d=[],_0x1aa076=[];for(const _0x461a82 of _0x2907d8){_0x461a82&&_0x461a82[_0x10bb30(0x17a)]&&_0x179c2d['push'](_0x461a82[_0x10bb30(0x17a)]),_0x461a82&&_0x461a82['stack']&&_0x1aa076[_0x10bb30(0x15e)](_0x461a82['stack']);}const _0x3f20a7=_0x2907d8[0x0]||{},_0xfea3de=_0x179c2d[_0x10bb30(0x143)]('\x0a')||_0x3f20a7[_0x10bb30(0x17a)]||_0x580a8e['WuojZ'],_0x43a0c3=_0x1aa076[_0x10bb30(0x143)]('\x0a\x0a')||_0x3f20a7[_0x10bb30(0x173)]||_0xfea3de,_0x4a06dd={};return _0x4a06dd[_0x10bb30(0x17a)]=_0xfea3de,_0x4a06dd[_0x10bb30(0x173)]=_0x43a0c3,_0x4a06dd[_0x10bb30(0x144)]=_0x3f20a7[_0x10bb30(0x144)],_0x4a06dd[_0x10bb30(0x11e)]=_0x3f20a7['expected'],_0x4a06dd['actual']=_0x3f20a7[_0x10bb30(0x106)],_0x4a06dd;}[a13_0x450ab3(0x151)](_0x5400d8){const _0x529a94=a13_0x450ab3,_0x5a733e={};_0x5a733e[_0x529a94(0xff)]=function(_0x347b18,_0x5426c4){return _0x347b18===_0x5426c4;},_0x5a733e[_0x529a94(0x114)]=function(_0x74c0af,_0x2b1099){return _0x74c0af===_0x2b1099;},_0x5a733e[_0x529a94(0x131)]='.git',_0x5a733e['AmOmH']=_0x529a94(0x104);const _0x24e01d=_0x5a733e,_0x4eb88d=path['sep'];if(_0x24e01d[_0x529a94(0xff)](_0x5400d8,null)||_0x24e01d[_0x529a94(0xff)](_0x5400d8,'')||_0x24e01d[_0x529a94(0x114)](_0x5400d8,_0x4eb88d)||_0x24e01d[_0x529a94(0x114)](_0x5400d8,path['dirname'](_0x5400d8)))return null;try{return fs[_0x529a94(0x14a)](path[_0x529a94(0x143)](_0x5400d8,_0x24e01d[_0x529a94(0x131)],_0x24e01d['AmOmH'])),_0x5400d8;}catch(_0x3a5b14){return this[_0x529a94(0x151)](path[_0x529a94(0x118)](_0x5400d8));}}}module[a13_0x450ab3(0x155)]=BrowserStackJasmineReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x53fb(_0xf61bd6,_0x53317f){const _0x55dc60=a14_0x55dc();return a14_0x53fb=function(_0x53fbdb,_0x19e5e7){_0x53fbdb=_0x53fbdb-0x65;let _0x1a5d52=_0x55dc60[_0x53fbdb];return _0x1a5d52;},a14_0x53fb(_0xf61bd6,_0x53317f);}function a14_0x55dc(){const _0x52acf9=['../../helpers/testhub/testhubHandler','exports','win32','SkgMC','BFsmI','cwd','glob','getHubUrl','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','30iUlTnC','stringify','startsWith','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','spec_files','../../helpers/puppeteer-helper','test.setup.js','length','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','slice','40ppVcvc','TrYVZ','ZjXOF','YeLWG','specArgs','all','FRAMEWORKS','qkOhO','isUndefined','p-limit','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','eqrxn','globSync','format','stop',')\x20:\x20','IRQSj','sohzW','\x20platform(s),\x20parallelsPerPlatform=','BROWSERSTACK_RERUN_TESTS','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','KiEBT','260679fUwTPf','WQSsO','env','assign','181530hsXYLv','handleApp','binSessionId','lhSbA','../../helpers/test-observability/utils','FZKHw','Uqqkb','debug','winstonLogger','start','../../helpers/utilities','getPlatformName','qpXPC','testObservability','platform','qAhBR','prepareCapabilities','isCLIEnabled','maxWorkers','capability','exitCode','accessibilityOptions','from','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','child_process','BROWSERSTACK_CAPABILITIES','vkthn','inherit','__isPuppeteerInstalled','QOBiY','ORyvG','spec/support/jasmine.json','../../helpers/performance/constants','isBrowserstackInfra','join','filter','qnoZz','info','mgLkw','eAMWM','getPackageVersion','error','UOmYD','shouldReRunObservabilityTests','vSVpG','KNWOH','BxjTw','\x20work-item(s),\x20max\x20','sFJcI','BROWSERSTACK_JASMINE_PARALLELS','KeVBi','**/*[sS]pec.?(m)js','end','IRrMu','NUGZT','OqKOD','1318122knlYil','bTgnb','config','eFHYi','NAlnL','jasmine\x20child\x20(platformIndex=','IRHwv','\x20concurrent)','tgNLp',';\x20proceeding\x20without\x20injection','getInstance','utf8','XzJhX','poWEn','push','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','string',',\x20specs=','QdJWi','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','map','32083381ScGUGx','../v2/browserstackCLI','validPlatformsPresent','close','parallelsPerPlatform','GdVDH','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20:\x20','2dogjfa','platformIndex','../../helpers/test-observability/constants','resolve','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','888082LXXCiZ',')\x20exited\x20with\x20code\x20','JASMINE','152548OoWRAN','initialize','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JASMINE_CONFIG_PATH','spec_dir','SDK_CLEANUP','100BJRYkg','spec','isArray','YSmre','dlYUO','570290kjoLmq','existsSync','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','../../helpers/logger'];a14_0x55dc=function(){return _0x52acf9;};return a14_0x55dc();}const a14_0x5f5cd9=a14_0x53fb;(function(_0x2afa93,_0x31874f){const _0x536f16=a14_0x53fb,_0x5081fa=_0x2afa93();while(!![]){try{const _0x3ac304=-parseInt(_0x536f16(0x8d))/0x1*(parseInt(_0x536f16(0x92))/0x2)+parseInt(_0x536f16(0xce))/0x3+-parseInt(_0x536f16(0x95))/0x4*(parseInt(_0x536f16(0x9b))/0x5)+-parseInt(_0x536f16(0xd2))/0x6+parseInt(_0x536f16(0xa0))/0x7*(-parseInt(_0x536f16(0xb7))/0x8)+-parseInt(_0x536f16(0x70))/0x9*(parseInt(_0x536f16(0xad))/0xa)+parseInt(_0x536f16(0x85))/0xb;if(_0x3ac304===_0x31874f)break;else _0x5081fa['push'](_0x5081fa['shift']());}catch(_0x269d43){_0x5081fa['push'](_0x5081fa['shift']());}}}(a14_0x55dc,0x74273));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a14_0x5f5cd9(0xea)),glob=require(a14_0x5f5cd9(0xaa)),pLimit=require(a14_0x5f5cd9(0xc0)),logger=require(a14_0x5f5cd9(0xa3))[a14_0x5f5cd9(0xda)],helper=require('../../helpers/helper'),utilities=require(a14_0x5f5cd9(0xdc)),constants=require('../utils/constants'),TestHubHandler=require(a14_0x5f5cd9(0xa4)),testOpsHelper=require(a14_0x5f5cd9(0xd6)),{debug}=require(a14_0x5f5cd9(0xd6)),{FRAMEWORKS}=require(a14_0x5f5cd9(0x8f)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x5f5cd9(0xf2))['EVENTS'],BrowserstackCLI=require(a14_0x5f5cd9(0x86)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x5f5cd9(0xb2)),getMaxWorkers=(_0x487a3f,_0x39a155)=>{const _0x5bb09e=a14_0x5f5cd9,_0x1e523c={'qnoZz':function(_0x39868f,_0x5e37f7){return _0x39868f(_0x5e37f7);}};let _0x58c19d=0x1;if(!helper['isUndefined'](_0x39a155[_0x5bb09e(0x89)]))_0x58c19d=_0x1e523c[_0x5bb09e(0xf6)](parseInt,_0x39a155[_0x5bb09e(0x89)]);else!helper[_0x5bb09e(0xbf)](_0x487a3f[_0x5bb09e(0xe4)])&&(_0x58c19d=_0x487a3f['maxWorkers']);return _0x58c19d;},resolveJasmineConfigPath=()=>{const _0x3f58fe=a14_0x5f5cd9,_0x56f4dc={};_0x56f4dc[_0x3f58fe(0xd8)]=_0x3f58fe(0xf1);const _0x53bd2c=_0x56f4dc,_0x524ee8=[];process['env']['JASMINE_CONFIG_PATH']&&_0x524ee8[_0x3f58fe(0x7e)](path['resolve'](process[_0x3f58fe(0xa9)](),process[_0x3f58fe(0xd0)][_0x3f58fe(0x98)]));_0x524ee8[_0x3f58fe(0x7e)](path['resolve'](process[_0x3f58fe(0xa9)](),_0x53bd2c[_0x3f58fe(0xd8)]));for(const _0x4c83f8 of _0x524ee8){try{if(fs[_0x3f58fe(0xa1)](_0x4c83f8))return _0x4c83f8;}catch(_0x33b5eb){}}return null;},enumerateSpecFiles=_0x3592a6=>{const _0x5be5c3=a14_0x5f5cd9,_0x4088d2={'tgNLp':function(_0x4c2130,_0x5d84af){return _0x4c2130(_0x5d84af);},'YeLWG':function(_0x5e0e44,_0x1e9cc3){return _0x5e0e44>_0x1e9cc3;},'PocAc':function(_0x28f954,_0xd83125){return _0x28f954(_0xd83125);},'duBDU':function(_0x1709bd,_0x53f3c3){return _0x1709bd<_0x53f3c3;},'BxjTw':function(_0x2b982f,_0x3e8703){return _0x2b982f===_0x3e8703;},'QdJWi':_0x5be5c3(0x80),'WQSsO':function(_0x7bb63,_0x4e62a2,_0x80fd44){return _0x7bb63(_0x4e62a2,_0x80fd44);},'dfmxk':function(_0x204351){return _0x204351();},'TrYVZ':_0x5be5c3(0x7b),'bTgnb':_0x5be5c3(0x9c),'IRrMu':function(_0x3ce242,_0x2e44c7){return _0x3ce242>_0x2e44c7;},'OqKOD':_0x5be5c3(0x6b),'lhSbA':function(_0x5663bb,_0x5ed707){return _0x5663bb(_0x5ed707);}};try{if(testOpsHelper[_0x5be5c3(0xfd)]()){const _0x411141=testOpsHelper['parseFileNames'](process['env'][_0x5be5c3(0xca)]);if(Array[_0x5be5c3(0x9d)](_0x411141)&&_0x4088d2[_0x5be5c3(0xba)](_0x411141[_0x5be5c3(0xb4)],0x0))return _0x411141[_0x5be5c3(0x84)](_0x346323=>path[_0x5be5c3(0x90)](process[_0x5be5c3(0xa9)](),_0x346323['trim']()))[_0x5be5c3(0xf5)](Boolean);}}catch(_0x12b2f0){_0x4088d2['PocAc'](debug,_0x5be5c3(0xb0)+util[_0x5be5c3(0xc4)](_0x12b2f0));}const _0x2519c0=[];try{for(let _0x4c45ac=0x1;_0x4088d2['duBDU'](_0x4c45ac,_0x3592a6[_0x5be5c3(0xb4)]);_0x4c45ac++){const _0x1141cf=_0x3592a6[_0x4c45ac];_0x4088d2[_0x5be5c3(0x66)](typeof _0x1141cf,_0x4088d2[_0x5be5c3(0x82)])&&!_0x1141cf[_0x5be5c3(0xaf)]('-')&&_0x2519c0[_0x5be5c3(0x7e)](_0x1141cf);}}catch(_0x7384a2){}const _0x535de2={'cwd':process[_0x5be5c3(0xa9)](),'absolute':!![],'nodir':!![]},_0x14834b=(_0x4de582,_0x32c5c6)=>{const _0xf0f525=_0x5be5c3,_0x550232=[];for(const _0x165625 of _0x4de582){try{const _0x58284e=_0x32c5c6?path['posix']['join'](_0x32c5c6,_0x165625):_0x165625,_0x141fd9=glob[_0xf0f525(0xc3)](_0x58284e,_0x535de2);Array[_0xf0f525(0x9d)](_0x141fd9)&&_0x550232['push'](..._0x141fd9);}catch(_0x5a7005){_0x4088d2[_0xf0f525(0x78)](debug,_0xf0f525(0x7f)+_0x165625+'\x27\x20:\x20'+util['format'](_0x5a7005));}}return _0x550232;};if(_0x4088d2[_0x5be5c3(0xba)](_0x2519c0[_0x5be5c3(0xb4)],0x0)){const _0x279a7b=_0x4088d2[_0x5be5c3(0xcf)](_0x14834b,_0x2519c0,null);if(_0x4088d2[_0x5be5c3(0xba)](_0x279a7b[_0x5be5c3(0xb4)],0x0))return Array[_0x5be5c3(0xe8)](new Set(_0x279a7b));return _0x2519c0['map'](_0xbb31d1=>path[_0x5be5c3(0x90)](process[_0x5be5c3(0xa9)](),_0xbb31d1));}try{const _0x54742e=_0x4088d2['dfmxk'](resolveJasmineConfigPath);if(_0x54742e){const _0x2bad42=JSON['parse'](fs['readFileSync'](_0x54742e,_0x4088d2[_0x5be5c3(0xb8)])),_0x2fa9eb=_0x2bad42[_0x5be5c3(0x99)]||_0x4088d2[_0x5be5c3(0x71)],_0x57bc41=Array[_0x5be5c3(0x9d)](_0x2bad42[_0x5be5c3(0xb1)])&&_0x4088d2[_0x5be5c3(0x6d)](_0x2bad42[_0x5be5c3(0xb1)][_0x5be5c3(0xb4)],0x0)?_0x2bad42[_0x5be5c3(0xb1)]:[_0x4088d2[_0x5be5c3(0x6f)]],_0x58defa=_0x4088d2[_0x5be5c3(0xcf)](_0x14834b,_0x57bc41,_0x2fa9eb);if(_0x4088d2[_0x5be5c3(0x6d)](_0x58defa['length'],0x0))return Array[_0x5be5c3(0xe8)](new Set(_0x58defa));}}catch(_0x4706aa){_0x4088d2[_0x5be5c3(0xd5)](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x5be5c3(0xc4)](_0x4706aa));}return null;};async function run(_0x4f41d5,_0x1243b7,_0x4538c4){const _0x4212b2=a14_0x5f5cd9,_0x18c8a4={'NUGZT':function(_0x46a3cf,_0x5e2399){return _0x46a3cf>_0x5e2399;},'fAenA':'all','XzJhX':function(_0x2ac63b,_0x2e8837){return _0x2ac63b(_0x2e8837);},'ZjXOF':function(_0x3eb828,_0x39e37d){return _0x3eb828||_0x39e37d;},'mgLkw':function(_0x37b1ba,_0x59d0cd){return _0x37b1ba(_0x59d0cd);},'KNWOH':function(_0x26597a,_0x121540){return _0x26597a(_0x121540);},'NAlnL':function(_0x334180,_0xa0608b){return _0x334180>_0xa0608b;},'SkgMC':function(_0x518c88,_0x509520,_0x78d9be,_0x5838e3){return _0x518c88(_0x509520,_0x78d9be,_0x5838e3);},'FZKHw':'npx','YSmre':'jasmine','vSVpG':function(_0x2992f0,_0x2a26cd){return _0x2992f0===_0x2a26cd;},'KeVBi':_0x4212b2(0xa6),'qkOhO':_0x4212b2(0xed),'QOBiY':_0x4212b2(0x88),'sohzW':_0x4212b2(0xfb),'fvJnk':'@playwright/test','IRHwv':function(_0xc2ccf4){return _0xc2ccf4();},'vkthn':function(_0xa7f44c,_0x36a725){return _0xa7f44c!=_0x36a725;},'UOmYD':'true','eFHYi':function(_0x1ca360,_0x575236){return _0x1ca360(_0x575236);},'qpXPC':function(_0x58b67a,_0x451c28,_0x5b60f5){return _0x58b67a(_0x451c28,_0x5b60f5);},'poWEn':function(_0x23bd7f,_0x10da88){return _0x23bd7f*_0x10da88;},'BFsmI':function(_0x53235c,_0x3c4c15){return _0x53235c(_0x3c4c15);},'eAMWM':function(_0x16c330,_0x58d89b){return _0x16c330(_0x58d89b);},'TqKek':_0x4212b2(0xb3),'IRQSj':function(_0x39c275,_0xca647c){return _0x39c275(_0xca647c);},'ORyvG':function(_0x2d0ca5,_0x49a6d0){return _0x2d0ca5(_0x49a6d0);},'eqrxn':function(_0x204d7c,_0x4a5d61){return _0x204d7c<_0x4a5d61;},'dlYUO':function(_0x305226,_0x214d3e){return _0x305226(_0x214d3e);}},_0x45c229=helper[_0x4212b2(0xfa)](_0x18c8a4['fvJnk']);global['__isPlaywrightInstalled']=!!_0x45c229;const _0x189ac8=_0x18c8a4[_0x4212b2(0x76)](getPuppeteerVersion);global[_0x4212b2(0xee)]=!!_0x189ac8;helper[_0x4212b2(0xf3)]()&&(await _0x4538c4[_0x4212b2(0x96)](_0x4f41d5),await helper[_0x4212b2(0xd3)](_0x4538c4[_0x4212b2(0x72)]));if(_0x45c229)await _0x18c8a4[_0x4212b2(0xa7)](checkPwandBootstrapCli,_0x45c229,constants[_0x4212b2(0xbd)][_0x4212b2(0x94)],_0x4538c4);else _0x189ac8&&await _0x18c8a4[_0x4212b2(0xa7)](checkPuppeteerAndBootstrapCli,_0x189ac8,constants[_0x4212b2(0xbd)]['JASMINE'],_0x4538c4);if(!_0x4538c4[_0x4212b2(0x72)])return;_0x18c8a4[_0x4212b2(0xec)](_0x4538c4[_0x4212b2(0x72)][_0x4212b2(0xdf)],null)?process[_0x4212b2(0xd0)][_0x4212b2(0x8b)]=_0x4538c4['config']['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x18c8a4[_0x4212b2(0xfc)];!helper[_0x4212b2(0xbf)](_0x4538c4[_0x4212b2(0x72)][_0x4212b2(0xe7)])&&(process[_0x4212b2(0xd0)][_0x4212b2(0x97)]=JSON[_0x4212b2(0xae)](_0x4538c4['config'][_0x4212b2(0xe7)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x4212b2(0x94)],_0x4538c4);}catch(_0x1a1d94){logger[_0x4212b2(0xfb)]('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x4212b2(0xc4)](_0x1a1d94)),_0x18c8a4[_0x4212b2(0x65)](debug,_0x4212b2(0xcb)+util['format'](_0x1a1d94));}let _0x2f30a9=![],_0x45ec36=[];try{_0x2f30a9=helper['useW3C'](_0x4538c4[_0x4212b2(0x72)]),_0x45ec36=helper[_0x4212b2(0xe2)](_0x4538c4['config'],_0x2f30a9,constants[_0x4212b2(0xbd)]['JASMINE']),process[_0x4212b2(0xd0)][_0x4212b2(0xeb)]=JSON[_0x4212b2(0xae)](_0x45ec36);}catch(_0x14981a){_0x18c8a4['eFHYi'](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x4212b2(0xc4)](_0x14981a));}let _0x31e2ad=null,_0x59e1d7=![];try{_0x31e2ad=helper[_0x4212b2(0xab)](_0x4538c4[_0x4212b2(0x72)]),_0x59e1d7=helper[_0x4212b2(0x87)](_0x4538c4['config']);}catch(_0x4db878){_0x18c8a4['XzJhX'](debug,_0x4212b2(0xcc)+util['format'](_0x4db878));}const _0xf2a5a3=_0x25cc82=>{const _0x1d5eda=_0x4212b2,_0x56fa7d=Array[_0x1d5eda(0x9d)](_0x45ec36)&&_0x18c8a4['NUGZT'](_0x45ec36['length'],_0x25cc82)?_0x45ec36[_0x25cc82]:Array[_0x1d5eda(0x9d)](_0x45ec36)&&_0x18c8a4[_0x1d5eda(0x6e)](_0x45ec36[_0x1d5eda(0xb4)],0x0)?_0x45ec36[0x0]:{};return{'server':_0x31e2ad,'capability':_0x56fa7d,'proxySettings':_0x4538c4['config']['proxySettings'],'platform':helper[_0x1d5eda(0xdd)](_0x56fa7d),'browserStackLogLevel':_0x4538c4['config']['logLevel'],'platformIndex':_0x25cc82,'framework':constants['FRAMEWORKS']['JASMINE'],'platformCaps':_0x59e1d7?Object[_0x1d5eda(0xd1)]({'index':_0x25cc82},_0x4538c4['config']['platforms'][_0x25cc82]):{'index':_0x25cc82}};};let _0x5cc527=0x1,_0x1ce3da=0x1,_0x5dbfc9=0x1;try{_0x5cc527=_0x18c8a4[_0x4212b2(0xde)](getMaxWorkers,_0x4f41d5,_0x4538c4[_0x4212b2(0x72)]),_0x1ce3da=_0x59e1d7?_0x4538c4[_0x4212b2(0x72)]['platforms'][_0x4212b2(0xb4)]:0x1,_0x5dbfc9=_0x18c8a4[_0x4212b2(0x7d)](_0x1ce3da,_0x5cc527),process[_0x4212b2(0xd0)][_0x4212b2(0x69)]=_0x18c8a4[_0x4212b2(0xa8)](String,_0x5dbfc9);}catch(_0x40d26c){_0x18c8a4[_0x4212b2(0xa8)](debug,_0x4212b2(0xe9)+util['format'](_0x40d26c));}try{BrowserstackCLI[_0x4212b2(0x7a)]()[_0x4212b2(0xd4)]&&(process[_0x4212b2(0xd0)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x4212b2(0x7a)]()[_0x4212b2(0xd4)]);}catch(_0x19d5d0){_0x18c8a4[_0x4212b2(0xf9)](debug,_0x4212b2(0xa2)+util[_0x4212b2(0xc4)](_0x19d5d0));}const _0x5bbe45=[];try{const _0x48dc76=path[_0x4212b2(0x90)](__dirname,_0x18c8a4['TqKek']);fs['existsSync'](_0x48dc76)?_0x5bbe45[_0x4212b2(0x7e)]('--helper='+_0x48dc76):_0x18c8a4[_0x4212b2(0xc7)](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x48dc76+_0x4212b2(0x79));}catch(_0x22f03b){_0x18c8a4[_0x4212b2(0xa8)](debug,_0x4212b2(0x91)+util[_0x4212b2(0xc4)](_0x22f03b));}const _0x3c9dfb=_0x1243b7[_0x4212b2(0xb6)](0x1),_0x594831=_0x18c8a4[_0x4212b2(0xf0)](enumerateSpecFiles,_0x1243b7),_0x5b6604=[];for(let _0x3d251a=0x0;_0x18c8a4[_0x4212b2(0xc2)](_0x3d251a,_0x1ce3da);_0x3d251a++){if(_0x18c8a4['NUGZT'](_0x5cc527,0x1)&&Array['isArray'](_0x594831)&&_0x18c8a4[_0x4212b2(0x6e)](_0x594831[_0x4212b2(0xb4)],0x0))for(const _0x19a86e of _0x594831){const _0x5f2b49={};_0x5f2b49[_0x4212b2(0x8e)]=_0x3d251a,_0x5f2b49[_0x4212b2(0xbb)]=[_0x19a86e],_0x5b6604[_0x4212b2(0x7e)](_0x5f2b49);}else{const _0x54988a={};_0x54988a['platformIndex']=_0x3d251a,_0x54988a[_0x4212b2(0xbb)]=_0x594831,_0x5b6604['push'](_0x54988a);}}logger[_0x4212b2(0xf7)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x1ce3da+_0x4212b2(0xc9)+_0x5cc527+'\x20('+_0x5b6604[_0x4212b2(0xb4)]+_0x4212b2(0x67)+_0x5dbfc9+_0x4212b2(0x77)),PerformanceTester[_0x4212b2(0x6c)](PerformanceEvents['SDK_SETUP']);const _0x4394b5=_0x44d1f4=>new Promise(_0xd61185=>{const _0x4ac89f=_0x4212b2,_0x384e24={'qAhBR':_0x18c8a4['fAenA'],'GdVDH':function(_0x371f9a,_0x4f6c5a){const _0xc6cd71=a14_0x53fb;return _0x18c8a4[_0xc6cd71(0x7c)](_0x371f9a,_0x4f6c5a);},'aEbHw':function(_0x37f8b5,_0x2380dc){const _0x8f83f5=a14_0x53fb;return _0x18c8a4[_0x8f83f5(0xb9)](_0x37f8b5,_0x2380dc);},'sFJcI':function(_0x232cff,_0x1b8085){const _0x599ecb=a14_0x53fb;return _0x18c8a4[_0x599ecb(0xf8)](_0x232cff,_0x1b8085);},'KiEBT':function(_0xb266c8,_0x12c9bf){const _0x24ba68=a14_0x53fb;return _0x18c8a4[_0x24ba68(0x65)](_0xb266c8,_0x12c9bf);}};let _0x5b99b5;try{const _0x491111=_0x18c8a4['XzJhX'](_0xf2a5a3,_0x44d1f4[_0x4ac89f(0x8e)]);_0x5b99b5=Object[_0x4ac89f(0xd1)]({},process[_0x4ac89f(0xd0)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x4ac89f(0xae)](_0x491111),'BROWSERSTACK_CAPABILITIES':JSON[_0x4ac89f(0xae)]([_0x491111[_0x4ac89f(0xe5)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x56994f){_0x18c8a4['KNWOH'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x44d1f4[_0x4ac89f(0x8e)]+_0x4ac89f(0x8c)+util[_0x4ac89f(0xc4)](_0x56994f)),_0x5b99b5=Object[_0x4ac89f(0xd1)]({},process[_0x4ac89f(0xd0)]);}const _0x49bad3=Array['isArray'](_0x44d1f4[_0x4ac89f(0xbb)])?_0x44d1f4[_0x4ac89f(0xbb)]:[],_0x25d256=_0x18c8a4[_0x4ac89f(0x74)](_0x49bad3[_0x4ac89f(0xb4)],0x0)?_0x3c9dfb[_0x4ac89f(0xf5)](_0x2733ec=>typeof _0x2733ec===_0x4ac89f(0x80)&&_0x2733ec['startsWith']('-')):_0x3c9dfb,_0x50861a=[..._0x5bbe45,..._0x25d256,..._0x49bad3];try{const _0x281b7e=_0x18c8a4[_0x4ac89f(0xa7)](spawn,_0x18c8a4[_0x4ac89f(0xd7)],[_0x18c8a4[_0x4ac89f(0x9e)],..._0x50861a],{'shell':_0x18c8a4[_0x4ac89f(0xfe)](process[_0x4ac89f(0xe0)],_0x18c8a4[_0x4ac89f(0x6a)]),'stdio':_0x18c8a4[_0x4ac89f(0xbe)],'env':_0x5b99b5});_0x281b7e['on'](_0x18c8a4[_0x4ac89f(0xef)],_0x59c456=>{const _0x27dcd9=_0x4ac89f;logger[_0x27dcd9(0xd9)](_0x27dcd9(0x75)+_0x44d1f4[_0x27dcd9(0x8e)]+_0x27dcd9(0x81)+(_0x49bad3[_0x27dcd9(0xb4)]?_0x49bad3[_0x27dcd9(0xf4)](','):_0x384e24[_0x27dcd9(0xe1)])+_0x27dcd9(0x93)+_0x59c456),_0x384e24[_0x27dcd9(0x8a)](_0xd61185,_0x384e24['aEbHw'](_0x59c456,0x0));}),_0x281b7e['on'](_0x18c8a4[_0x4ac89f(0xc8)],_0x2d5545=>{const _0x1c64e5=_0x4ac89f;_0x384e24[_0x1c64e5(0x68)](debug,_0x1c64e5(0xb5)+_0x44d1f4[_0x1c64e5(0x8e)]+_0x1c64e5(0xc6)+util[_0x1c64e5(0xc4)](_0x2d5545)),_0x384e24[_0x1c64e5(0xcd)](_0xd61185,0x1);});}catch(_0x4c629e){_0x18c8a4[_0x4ac89f(0x65)](debug,_0x4ac89f(0xc1)+_0x44d1f4[_0x4ac89f(0x8e)]+_0x4ac89f(0xc6)+util['format'](_0x4c629e)),_0x18c8a4[_0x4ac89f(0x7c)](_0xd61185,0x1);}}),_0x4fabe8=_0x18c8a4[_0x4212b2(0x73)](pLimit,_0x18c8a4['NAlnL'](_0x5dbfc9,0x0)?_0x5dbfc9:0x1),_0x56d779=await Promise[_0x4212b2(0xbc)](_0x5b6604[_0x4212b2(0x84)](_0xfd43d9=>_0x4fabe8(()=>_0x4394b5(_0xfd43d9))));PerformanceTester[_0x4212b2(0xdb)](PerformanceEvents[_0x4212b2(0x9a)]);const _0x34db31=_0x56d779['find'](_0x5a9ed7=>_0x5a9ed7!==0x0)||0x0;process[_0x4212b2(0xe6)]=_0x34db31,logger[_0x4212b2(0xd9)](_0x4212b2(0xac)+_0x34db31);const _0x2f5e0c=BrowserstackCLI[_0x4212b2(0xe3)]();try{await TestHubHandler[_0x4212b2(0xc5)](),await BrowserstackCLI[_0x4212b2(0x7a)]()['stop']();}catch(_0x1bb551){_0x18c8a4[_0x4212b2(0x9f)](debug,_0x4212b2(0x83)+util['format'](_0x1bb551));}testOpsHelper['printBuildLink'](),await utilities['finalExecution'](_0x4538c4,_0x2f5e0c);}module[a14_0x5f5cd9(0xa5)]=run;
2
+ 'use strict';const a14_0xfa1657=a14_0x2865;function a14_0x2865(_0x23271f,_0x427540){const _0x456db1=a14_0x456d();return a14_0x2865=function(_0x286535,_0x5898bc){_0x286535=_0x286535-0x107;let _0x7309f7=_0x456db1[_0x286535];return _0x7309f7;},a14_0x2865(_0x23271f,_0x427540);}(function(_0x464701,_0x19dea4){const _0x3be57c=a14_0x2865,_0x507f6d=_0x464701();while(!![]){try{const _0x686fec=parseInt(_0x3be57c(0x197))/0x1+-parseInt(_0x3be57c(0x126))/0x2+parseInt(_0x3be57c(0x191))/0x3*(-parseInt(_0x3be57c(0x134))/0x4)+-parseInt(_0x3be57c(0x12f))/0x5+parseInt(_0x3be57c(0x172))/0x6*(-parseInt(_0x3be57c(0x15a))/0x7)+parseInt(_0x3be57c(0x142))/0x8+parseInt(_0x3be57c(0x11d))/0x9*(parseInt(_0x3be57c(0x118))/0xa);if(_0x686fec===_0x19dea4)break;else _0x507f6d['push'](_0x507f6d['shift']());}catch(_0x394509){_0x507f6d['push'](_0x507f6d['shift']());}}}(a14_0x456d,0xc4bf3));const fs=require('fs'),path=require('path'),util=require(a14_0xfa1657(0x15e)),{spawn}=require(a14_0xfa1657(0x156)),glob=require(a14_0xfa1657(0x17e)),pLimit=require(a14_0xfa1657(0x150)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a14_0xfa1657(0x12d)),utilities=require(a14_0xfa1657(0x18e)),constants=require(a14_0xfa1657(0x10f)),TestHubHandler=require(a14_0xfa1657(0x19f)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0xfa1657(0x140)),{FRAMEWORKS}=require(a14_0xfa1657(0x116)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0xfa1657(0x152))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0xfa1657(0x1a1)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0xfa1657(0x141)),getMaxWorkers=(_0x39f791,_0x59b4c6)=>{const _0x54b5f3=a14_0xfa1657,_0x2f83c0={'JOkZB':function(_0x4509c6,_0x4f73b7){return _0x4509c6(_0x4f73b7);}};let _0xfb1895=0x1;if(!helper[_0x54b5f3(0x114)](_0x59b4c6['parallelsPerPlatform']))_0xfb1895=_0x2f83c0[_0x54b5f3(0x1aa)](parseInt,_0x59b4c6[_0x54b5f3(0x183)]);else!helper[_0x54b5f3(0x114)](_0x39f791[_0x54b5f3(0x169)])&&(_0xfb1895=_0x39f791['maxWorkers']);return _0xfb1895;},resolveJasmineConfigPath=()=>{const _0x1829a9=a14_0xfa1657,_0x16b9e2={};_0x16b9e2[_0x1829a9(0x1ab)]=_0x1829a9(0x18c);const _0x5da654=_0x16b9e2,_0x43f831=[];process[_0x1829a9(0x1a9)][_0x1829a9(0x173)]&&_0x43f831[_0x1829a9(0x10a)](path['resolve'](process[_0x1829a9(0x187)](),process[_0x1829a9(0x1a9)][_0x1829a9(0x173)]));_0x43f831[_0x1829a9(0x10a)](path[_0x1829a9(0x174)](process[_0x1829a9(0x187)](),_0x5da654[_0x1829a9(0x1ab)]));for(const _0x4e9525 of _0x43f831){try{if(fs[_0x1829a9(0x137)](_0x4e9525))return _0x4e9525;}catch(_0x35fb4b){}}return null;},enumerateSpecFiles=_0x5ec5c7=>{const _0x288795=a14_0xfa1657,_0xd7a7c6={'KDWqH':function(_0x39a239,_0x4d75d8){return _0x39a239(_0x4d75d8);},'ndLsl':function(_0x205561,_0xb97e09){return _0x205561>_0xb97e09;},'JQixf':function(_0x35c9a6,_0x45d63b){return _0x35c9a6<_0x45d63b;},'XkyYF':function(_0x119005,_0x594bba){return _0x119005===_0x594bba;},'LtSZm':_0x288795(0x165),'UpFIo':function(_0x3fdb72,_0x14b54f){return _0x3fdb72>_0x14b54f;},'XJJxr':function(_0x4ea052,_0x5c45d3,_0x1ba59f){return _0x4ea052(_0x5c45d3,_0x1ba59f);},'mkwmk':function(_0x4ad7c1,_0x1a803a){return _0x4ad7c1>_0x1a803a;},'ugWYZ':function(_0x4dd088){return _0x4dd088();},'bcKwN':_0x288795(0x18d),'jUfOV':'spec','AomKL':_0x288795(0x178),'yZzIa':function(_0x175276,_0x343fe6,_0x1688fc){return _0x175276(_0x343fe6,_0x1688fc);},'DWNUD':function(_0x434483,_0x2a7a53){return _0x434483(_0x2a7a53);}};try{if(testOpsHelper[_0x288795(0x13d)]()){const _0x2f5c09=testOpsHelper[_0x288795(0x13c)](process[_0x288795(0x1a9)][_0x288795(0x193)]);if(Array['isArray'](_0x2f5c09)&&_0xd7a7c6[_0x288795(0x180)](_0x2f5c09[_0x288795(0x1a0)],0x0))return _0x2f5c09['map'](_0x5120b9=>path[_0x288795(0x174)](process[_0x288795(0x187)](),_0x5120b9[_0x288795(0x14e)]()))['filter'](Boolean);}}catch(_0x4b7a74){_0xd7a7c6[_0x288795(0x17c)](debug,_0x288795(0x159)+util[_0x288795(0x11a)](_0x4b7a74));}const _0x1afb9a=[];try{for(let _0x4e56ec=0x1;_0xd7a7c6['JQixf'](_0x4e56ec,_0x5ec5c7['length']);_0x4e56ec++){const _0x46b1c3=_0x5ec5c7[_0x4e56ec];_0xd7a7c6[_0x288795(0x123)](typeof _0x46b1c3,_0xd7a7c6[_0x288795(0x19b)])&&!_0x46b1c3[_0x288795(0x192)]('-')&&_0x1afb9a[_0x288795(0x10a)](_0x46b1c3);}}catch(_0x2b67b5){}const _0x493275={'cwd':process[_0x288795(0x187)](),'absolute':!![],'nodir':!![]},_0x346b44=(_0x1e5ccc,_0x57e7af)=>{const _0x502358=_0x288795,_0x3c56ec=[];for(const _0x1fe52b of _0x1e5ccc){try{const _0x45b1c2=_0x57e7af?path[_0x502358(0x185)]['join'](_0x57e7af,_0x1fe52b):_0x1fe52b,_0x2a7274=glob[_0x502358(0x196)](_0x45b1c2,_0x493275);Array[_0x502358(0x139)](_0x2a7274)&&_0x3c56ec[_0x502358(0x10a)](..._0x2a7274);}catch(_0x4508ba){_0xd7a7c6[_0x502358(0x17c)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x1fe52b+'\x27\x20:\x20'+util[_0x502358(0x11a)](_0x4508ba));}}return _0x3c56ec;};if(_0xd7a7c6[_0x288795(0x145)](_0x1afb9a[_0x288795(0x1a0)],0x0)){const _0x379b60=_0xd7a7c6[_0x288795(0x17a)](_0x346b44,_0x1afb9a,null);if(_0xd7a7c6[_0x288795(0x1a4)](_0x379b60['length'],0x0))return Array[_0x288795(0x155)](new Set(_0x379b60));return _0x1afb9a[_0x288795(0x15c)](_0x410417=>path[_0x288795(0x174)](process['cwd'](),_0x410417));}try{const _0x3a56f7=_0xd7a7c6['ugWYZ'](resolveJasmineConfigPath);if(_0x3a56f7){const _0x120157=JSON[_0x288795(0x107)](fs[_0x288795(0x12a)](_0x3a56f7,_0xd7a7c6['bcKwN'])),_0x395767=_0x120157[_0x288795(0x190)]||_0xd7a7c6[_0x288795(0x131)],_0xd94eb0=Array[_0x288795(0x139)](_0x120157[_0x288795(0x1a5)])&&_0xd7a7c6[_0x288795(0x1a4)](_0x120157['spec_files']['length'],0x0)?_0x120157[_0x288795(0x1a5)]:[_0xd7a7c6[_0x288795(0x199)]],_0x2737e5=_0xd7a7c6[_0x288795(0x128)](_0x346b44,_0xd94eb0,_0x395767);if(_0xd7a7c6[_0x288795(0x1a4)](_0x2737e5['length'],0x0))return Array[_0x288795(0x155)](new Set(_0x2737e5));}}catch(_0xa6e0ce){_0xd7a7c6[_0x288795(0x12c)](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x288795(0x11a)](_0xa6e0ce));}return null;};function a14_0x456d(){const _0x3d71f5=['IwYcK','\x20:\x20','trim',',\x20specs=','p-limit','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','../../helpers/performance/constants','find','diOcd','from','child_process','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','982324WzpMwl','testObservability','map','xPmRb','util','BROWSERSTACK_CAPABILITIES','ciASd','end','all','config','getPlatformName','string','exitCode','ppoQL','__isPuppeteerInstalled','maxWorkers','true','npx','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20',')\x20:\x20','BROWSERSTACK_JASMINE_PARALLELS','svzUP','kIbAs','XIfHE','66wGweRI','JASMINE_CONFIG_PATH','resolve','getPackageVersion','OeGhD','IKftW','**/*[sS]pec.?(m)js','printBuildLink','XJJxr','initialize','KDWqH','start','glob','RoTfR','ndLsl','FRAMEWORKS','accessibilityOptions','parallelsPerPlatform','BAQWV','posix','PCSyK','cwd','seCpm','clZZl','binSessionId','inherit','spec/support/jasmine.json','utf8','../../helpers/utilities','assign','spec_dir','57RBiFpv','startsWith','BROWSERSTACK_RERUN_TESTS','MJYNx','specArgs','globSync','43166IfPaOX','finalExecution','AomKL','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','LtSZm','slice','JftzU','CeUbR','../../helpers/testhub/testhubHandler','length','../../helpers/playwright-helper','WMCLC','BROWSERSTACK_TEST_OBSERVABILITY_YML','mkwmk','spec_files','LdIBV','handleApp','\x20platform(s),\x20parallelsPerPlatform=','env','JOkZB','EcTov','parse','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','capability','push','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','close','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','../utils/constants','XsQqE','WNeeu','stringify',';\x20proceeding\x20without\x20injection','isUndefined','platform','../../helpers/test-observability/constants','\x20work-item(s),\x20max\x20','2610WfaPWT',')\x20exited\x20with\x20code\x20','format','BaxZk','DmEKT','112383XnceFY','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','error','test.setup.js','filter','XkyYF','NalYg','launchBuild','1561596LCrrNf','getInstance','yZzIa','IdsMt','readFileSync','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','DWNUD','../../helpers/helper','isBrowserstackInfra','4833575ywmWUa','info','jUfOV','debug','__isPlaywrightInstalled','92788dEogYy','JASMINE','win32','existsSync','mbaZp','isArray','mTFgh','cuOVl','parseFileNames','shouldReRunObservabilityTests','stop','LUCzj','../../helpers/test-observability/utils','../../helpers/puppeteer-helper','9884080MkbkCO','--helper=','validPlatformsPresent','UpFIo','irtdW','platformIndex','SffCH','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','platforms','EWOtw'];a14_0x456d=function(){return _0x3d71f5;};return a14_0x456d();}async function run(_0x23af8a,_0x7af9af,_0x5d4754){const _0x55b326=a14_0xfa1657,_0x37e6c1={'cuOVl':function(_0x2c2b50,_0x2321b5){return _0x2c2b50>_0x2321b5;},'NalYg':function(_0x280739,_0x2915ab){return _0x280739>_0x2915ab;},'mqTdw':'all','LUCzj':function(_0x5ae46a,_0x49f4a9){return _0x5ae46a(_0x49f4a9);},'JftzU':function(_0x1105ee,_0x272fae){return _0x1105ee||_0x272fae;},'RoTfR':function(_0x5e0b20,_0x25b31a){return _0x5e0b20(_0x25b31a);},'DmEKT':function(_0x2797fa,_0x1b3c13){return _0x2797fa(_0x1b3c13);},'IKftW':function(_0x372a55,_0x1eaebe,_0x420b0f,_0x15264c){return _0x372a55(_0x1eaebe,_0x420b0f,_0x15264c);},'mbaZp':_0x55b326(0x16b),'kIbAs':'jasmine','IwYcK':function(_0x49ae09,_0x46f2fe){return _0x49ae09===_0x46f2fe;},'WMCLC':_0x55b326(0x136),'LdIBV':_0x55b326(0x18b),'OeGhD':_0x55b326(0x10d),'oLPtK':_0x55b326(0x120),'AcJyT':function(_0x511105,_0x44ecd9){return _0x511105(_0x44ecd9);},'WNeeu':function(_0x313257,_0x2d9dcb){return _0x313257(_0x2d9dcb);},'BAQWV':'@playwright/test','CeUbR':function(_0x461d9c){return _0x461d9c();},'EWOtw':function(_0x1d73b0,_0x5c204b,_0x3c9e15,_0x2acf3d){return _0x1d73b0(_0x5c204b,_0x3c9e15,_0x2acf3d);},'mTFgh':function(_0x1e95de,_0x571b5a,_0x3d6010,_0x3d5fb8){return _0x1e95de(_0x571b5a,_0x3d6010,_0x3d5fb8);},'clZZl':function(_0x36dd67,_0xd6ef01){return _0x36dd67!=_0xd6ef01;},'MJYNx':_0x55b326(0x16a),'ppoQL':function(_0x511285,_0x3c53ea){return _0x511285(_0x3c53ea);},'ciASd':function(_0x3d5baa,_0x257c07){return _0x3d5baa(_0x257c07);},'diOcd':function(_0x5dc699,_0x4c7dc9,_0x4ab6b2){return _0x5dc699(_0x4c7dc9,_0x4ab6b2);},'XIfHE':function(_0x34f643,_0x3a94c0){return _0x34f643*_0x3a94c0;},'seCpm':function(_0x4a0ea8,_0x4b5b7c){return _0x4a0ea8(_0x4b5b7c);},'XsQqE':function(_0x532360,_0x255141){return _0x532360(_0x255141);},'LxDbw':_0x55b326(0x121),'PCSyK':function(_0x42f145,_0x1ffa03){return _0x42f145(_0x1ffa03);},'mMIRH':function(_0x1577dc,_0x246ff1){return _0x1577dc(_0x246ff1);},'svzUP':function(_0x3a1db8,_0x3aad5a){return _0x3a1db8<_0x3aad5a;},'xPmRb':function(_0xca9c50,_0x7efec){return _0xca9c50>_0x7efec;},'SffCH':function(_0x573519,_0x4f7c27){return _0x573519(_0x4f7c27);},'IdsMt':function(_0x1532fb,_0x5eae08){return _0x1532fb>_0x5eae08;}},_0x2c3e97=helper[_0x55b326(0x175)](_0x37e6c1[_0x55b326(0x184)]);global[_0x55b326(0x133)]=!!_0x2c3e97;const _0xf4c564=_0x37e6c1[_0x55b326(0x19e)](getPuppeteerVersion);global[_0x55b326(0x168)]=!!_0xf4c564;helper[_0x55b326(0x12e)]()&&(await _0x5d4754[_0x55b326(0x17b)](_0x23af8a),await helper[_0x55b326(0x1a7)](_0x5d4754[_0x55b326(0x163)]));if(_0x2c3e97)await _0x37e6c1[_0x55b326(0x14b)](checkPwandBootstrapCli,_0x2c3e97,constants[_0x55b326(0x181)][_0x55b326(0x135)],_0x5d4754);else _0xf4c564&&await _0x37e6c1[_0x55b326(0x13a)](checkPuppeteerAndBootstrapCli,_0xf4c564,constants[_0x55b326(0x181)][_0x55b326(0x135)],_0x5d4754);if(!_0x5d4754['config'])return;_0x37e6c1[_0x55b326(0x189)](_0x5d4754[_0x55b326(0x163)][_0x55b326(0x15b)],null)?process['env'][_0x55b326(0x1a3)]=_0x5d4754[_0x55b326(0x163)][_0x55b326(0x15b)]:process[_0x55b326(0x1a9)][_0x55b326(0x1a3)]=_0x37e6c1[_0x55b326(0x194)];!helper['isUndefined'](_0x5d4754[_0x55b326(0x163)]['accessibilityOptions'])&&(process[_0x55b326(0x1a9)][_0x55b326(0x157)]=JSON[_0x55b326(0x112)](_0x5d4754[_0x55b326(0x163)][_0x55b326(0x182)]));try{await TestHubHandler[_0x55b326(0x125)](FRAMEWORKS['JASMINE'],_0x5d4754);}catch(_0x239843){logger[_0x55b326(0x120)](_0x55b326(0x19a)+util[_0x55b326(0x11a)](_0x239843)),_0x37e6c1[_0x55b326(0x167)](debug,_0x55b326(0x10c)+util[_0x55b326(0x11a)](_0x239843));}let _0x1ab72b=![],_0x1ad39e=[];try{_0x1ab72b=helper['useW3C'](_0x5d4754['config']),_0x1ad39e=helper['prepareCapabilities'](_0x5d4754[_0x55b326(0x163)],_0x1ab72b,constants[_0x55b326(0x181)][_0x55b326(0x135)]),process['env'][_0x55b326(0x15f)]=JSON[_0x55b326(0x112)](_0x1ad39e);}catch(_0x53f5d3){_0x37e6c1[_0x55b326(0x160)](debug,_0x55b326(0x11e)+util[_0x55b326(0x11a)](_0x53f5d3));}let _0x2b01c2=null,_0x59ce40=![];try{_0x2b01c2=helper['getHubUrl'](_0x5d4754[_0x55b326(0x163)]),_0x59ce40=helper[_0x55b326(0x144)](_0x5d4754[_0x55b326(0x163)]);}catch(_0x3ab4cf){_0x37e6c1[_0x55b326(0x160)](debug,_0x55b326(0x10b)+util[_0x55b326(0x11a)](_0x3ab4cf));}const _0x13441d=_0xc7e13=>{const _0x1af81e=_0x55b326,_0x50daae=Array[_0x1af81e(0x139)](_0x1ad39e)&&_0x37e6c1[_0x1af81e(0x13b)](_0x1ad39e[_0x1af81e(0x1a0)],_0xc7e13)?_0x1ad39e[_0xc7e13]:Array[_0x1af81e(0x139)](_0x1ad39e)&&_0x37e6c1[_0x1af81e(0x124)](_0x1ad39e[_0x1af81e(0x1a0)],0x0)?_0x1ad39e[0x0]:{};return{'server':_0x2b01c2,'capability':_0x50daae,'proxySettings':_0x5d4754['config']['proxySettings'],'platform':helper[_0x1af81e(0x164)](_0x50daae),'browserStackLogLevel':_0x5d4754[_0x1af81e(0x163)]['logLevel'],'platformIndex':_0xc7e13,'framework':constants[_0x1af81e(0x181)][_0x1af81e(0x135)],'platformCaps':_0x59ce40?Object[_0x1af81e(0x18f)]({'index':_0xc7e13},_0x5d4754[_0x1af81e(0x163)][_0x1af81e(0x14a)][_0xc7e13]):{'index':_0xc7e13}};};let _0x49c26a=0x1,_0x3ea195=0x1,_0x1bae12=0x1;try{_0x49c26a=_0x37e6c1[_0x55b326(0x154)](getMaxWorkers,_0x23af8a,_0x5d4754[_0x55b326(0x163)]),_0x3ea195=_0x59ce40?_0x5d4754[_0x55b326(0x163)][_0x55b326(0x14a)]['length']:0x1,_0x1bae12=_0x37e6c1[_0x55b326(0x171)](_0x3ea195,_0x49c26a),process[_0x55b326(0x1a9)][_0x55b326(0x16e)]=_0x37e6c1['ppoQL'](String,_0x1bae12);}catch(_0x3193b1){_0x37e6c1[_0x55b326(0x188)](debug,_0x55b326(0x151)+util[_0x55b326(0x11a)](_0x3193b1));}try{BrowserstackCLI[_0x55b326(0x127)]()[_0x55b326(0x18a)]&&(process[_0x55b326(0x1a9)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x55b326(0x127)]()[_0x55b326(0x18a)]);}catch(_0x2ced67){_0x37e6c1[_0x55b326(0x110)](debug,_0x55b326(0x10e)+util[_0x55b326(0x11a)](_0x2ced67));}const _0x1a378f=[];try{const _0x34de68=path[_0x55b326(0x174)](__dirname,_0x37e6c1['LxDbw']);fs[_0x55b326(0x137)](_0x34de68)?_0x1a378f[_0x55b326(0x10a)](_0x55b326(0x143)+_0x34de68):_0x37e6c1[_0x55b326(0x188)](debug,_0x55b326(0x11f)+_0x34de68+_0x55b326(0x113));}catch(_0x3650db){_0x37e6c1[_0x55b326(0x186)](debug,_0x55b326(0x16c)+util[_0x55b326(0x11a)](_0x3650db));}const _0x1580d7=_0x7af9af[_0x55b326(0x19c)](0x1),_0x5e3936=_0x37e6c1['mMIRH'](enumerateSpecFiles,_0x7af9af),_0x37fb63=[];for(let _0x49ed1a=0x0;_0x37e6c1[_0x55b326(0x16f)](_0x49ed1a,_0x3ea195);_0x49ed1a++){if(_0x37e6c1[_0x55b326(0x124)](_0x49c26a,0x1)&&Array[_0x55b326(0x139)](_0x5e3936)&&_0x37e6c1[_0x55b326(0x15d)](_0x5e3936[_0x55b326(0x1a0)],0x0))for(const _0x5d96e4 of _0x5e3936){const _0x67b058={};_0x67b058['platformIndex']=_0x49ed1a,_0x67b058[_0x55b326(0x195)]=[_0x5d96e4],_0x37fb63[_0x55b326(0x10a)](_0x67b058);}else{const _0x57d38a={};_0x57d38a['platformIndex']=_0x49ed1a,_0x57d38a[_0x55b326(0x195)]=_0x5e3936,_0x37fb63[_0x55b326(0x10a)](_0x57d38a);}}logger[_0x55b326(0x130)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x3ea195+_0x55b326(0x1a8)+_0x49c26a+'\x20('+_0x37fb63[_0x55b326(0x1a0)]+_0x55b326(0x117)+_0x1bae12+'\x20concurrent)'),PerformanceTester[_0x55b326(0x161)](PerformanceEvents['SDK_SETUP']);const _0x23eb85=_0x59fae6=>new Promise(_0x2d13a8=>{const _0x2fbdf3=_0x55b326,_0x33277d={'HuEZd':_0x37e6c1['mqTdw'],'irtdW':function(_0x16b8e8,_0x5e2c04){const _0x288d39=a14_0x2865;return _0x37e6c1[_0x288d39(0x13f)](_0x16b8e8,_0x5e2c04);},'BaxZk':function(_0x441411,_0x28a574){const _0x5f38ed=a14_0x2865;return _0x37e6c1[_0x5f38ed(0x19d)](_0x441411,_0x28a574);}};let _0x25caf5;try{const _0x599dc5=_0x37e6c1[_0x2fbdf3(0x17f)](_0x13441d,_0x59fae6['platformIndex']);_0x25caf5=Object[_0x2fbdf3(0x18f)]({},process[_0x2fbdf3(0x1a9)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x599dc5),'BROWSERSTACK_CAPABILITIES':JSON[_0x2fbdf3(0x112)]([_0x599dc5[_0x2fbdf3(0x109)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x3d60be){_0x37e6c1[_0x2fbdf3(0x11c)](debug,_0x2fbdf3(0x108)+_0x59fae6['platformIndex']+_0x2fbdf3(0x14d)+util[_0x2fbdf3(0x11a)](_0x3d60be)),_0x25caf5=Object['assign']({},process[_0x2fbdf3(0x1a9)]);}const _0x16ac46=Array['isArray'](_0x59fae6[_0x2fbdf3(0x195)])?_0x59fae6[_0x2fbdf3(0x195)]:[],_0x432023=_0x37e6c1[_0x2fbdf3(0x13b)](_0x16ac46[_0x2fbdf3(0x1a0)],0x0)?_0x1580d7[_0x2fbdf3(0x122)](_0x2393f4=>typeof _0x2393f4===_0x2fbdf3(0x165)&&_0x2393f4['startsWith']('-')):_0x1580d7,_0x369292=[..._0x1a378f,..._0x432023,..._0x16ac46];try{const _0xad1b59=_0x37e6c1[_0x2fbdf3(0x177)](spawn,_0x37e6c1[_0x2fbdf3(0x138)],[_0x37e6c1[_0x2fbdf3(0x170)],..._0x369292],{'shell':_0x37e6c1[_0x2fbdf3(0x14c)](process[_0x2fbdf3(0x115)],_0x37e6c1[_0x2fbdf3(0x1a2)]),'stdio':_0x37e6c1[_0x2fbdf3(0x1a6)],'env':_0x25caf5});_0xad1b59['on'](_0x37e6c1[_0x2fbdf3(0x176)],_0x50367f=>{const _0x12f19c=_0x2fbdf3;logger[_0x12f19c(0x132)]('jasmine\x20child\x20(platformIndex='+_0x59fae6[_0x12f19c(0x147)]+_0x12f19c(0x14f)+(_0x16ac46[_0x12f19c(0x1a0)]?_0x16ac46['join'](','):_0x33277d['HuEZd'])+_0x12f19c(0x119)+_0x50367f),_0x33277d[_0x12f19c(0x146)](_0x2d13a8,_0x33277d[_0x12f19c(0x11b)](_0x50367f,0x0));}),_0xad1b59['on'](_0x37e6c1['oLPtK'],_0x4872fc=>{const _0xea5b5b=_0x2fbdf3;_0x33277d[_0xea5b5b(0x146)](debug,_0xea5b5b(0x149)+_0x59fae6['platformIndex']+_0xea5b5b(0x16d)+util[_0xea5b5b(0x11a)](_0x4872fc)),_0x33277d['irtdW'](_0x2d13a8,0x1);});}catch(_0x4974b3){_0x37e6c1['AcJyT'](debug,_0x2fbdf3(0x12b)+_0x59fae6[_0x2fbdf3(0x147)]+')\x20:\x20'+util[_0x2fbdf3(0x11a)](_0x4974b3)),_0x37e6c1[_0x2fbdf3(0x111)](_0x2d13a8,0x1);}}),_0x4269f7=_0x37e6c1[_0x55b326(0x148)](pLimit,_0x37e6c1[_0x55b326(0x129)](_0x1bae12,0x0)?_0x1bae12:0x1),_0x2cb9bb=await Promise[_0x55b326(0x162)](_0x37fb63[_0x55b326(0x15c)](_0x5b4004=>_0x4269f7(()=>_0x23eb85(_0x5b4004))));PerformanceTester[_0x55b326(0x17d)](PerformanceEvents['SDK_CLEANUP']);const _0x178016=_0x2cb9bb[_0x55b326(0x153)](_0x471f4b=>_0x471f4b!==0x0)||0x0;process[_0x55b326(0x166)]=_0x178016,logger[_0x55b326(0x132)](_0x55b326(0x158)+_0x178016);const _0x482bef=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x55b326(0x13e)](),await BrowserstackCLI[_0x55b326(0x127)]()['stop']();}catch(_0x2c5fae){_0x37e6c1[_0x55b326(0x111)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x2c5fae));}testOpsHelper[_0x55b326(0x179)](),await utilities[_0x55b326(0x198)](_0x5d4754,_0x482bef);}module['exports']=run;
@@ -1 +1 @@
1
- 'use strict';const a15_0x553053=a15_0xb55d;(function(_0x81c3c3,_0xc0888b){const _0x311d6a=a15_0xb55d,_0x1d3203=_0x81c3c3();while(!![]){try{const _0x28249b=-parseInt(_0x311d6a(0x198))/0x1+-parseInt(_0x311d6a(0x1f8))/0x2+-parseInt(_0x311d6a(0x1a7))/0x3+parseInt(_0x311d6a(0x18e))/0x4+parseInt(_0x311d6a(0x18f))/0x5*(-parseInt(_0x311d6a(0x199))/0x6)+parseInt(_0x311d6a(0x19c))/0x7*(parseInt(_0x311d6a(0x1b3))/0x8)+parseInt(_0x311d6a(0x1d5))/0x9*(parseInt(_0x311d6a(0x1d8))/0xa);if(_0x28249b===_0xc0888b)break;else _0x1d3203['push'](_0x1d3203['shift']());}catch(_0x24d7db){_0x1d3203['push'](_0x1d3203['shift']());}}}(a15_0x4c70,0x9a290));function a15_0xb55d(_0x217a6d,_0x22e446){const _0x4c7074=a15_0x4c70();return a15_0xb55d=function(_0xb55d62,_0x571a42){_0xb55d62=_0xb55d62-0x18d;let _0x288ca6=_0x4c7074[_0xb55d62];return _0x288ca6;},a15_0xb55d(_0x217a6d,_0x22e446);}const util=require('util'),logger=require(a15_0x553053(0x1f1))['winstonLogger'],helper=require('../../helpers/helper'),globals=require(a15_0x553053(0x19a)),{shouldProcessEventForTesthub}=require(a15_0x553053(0x1b2)),testHubConstants=require(a15_0x553053(0x1e0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a15_0x553053(0x1ac)),testRunMap=require(a15_0x553053(0x20a));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a15_0x553053(0x1b5)][a15_0x553053(0x1e6)]||process[a15_0x553053(0x1b5)][a15_0x553053(0x1f2)];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x553053(0x1f4)](rawConfig));}catch(a15_0x6922f6){logger['debug'](a15_0x553053(0x1e4)+util[a15_0x553053(0x1fc)](a15_0x6922f6));}try{if(_bstackConfig&&!helper[a15_0x553053(0x206)](a15_0x553053(0x1f9))){const VVEOmv='1|3|2|4|0'[a15_0x553053(0x1df)]('|');let EmJFwi=0x0;while(!![]){switch(VVEOmv[EmJFwi++]){case'0':helper[a15_0x553053(0x1ce)]()?(global[a15_0x553053(0x1a0)]=helper[a15_0x553053(0x1e3)](_bstackConfig[a15_0x553053(0x20b)]),global[a15_0x553053(0x1ad)]=helper[a15_0x553053(0x1e3)](_bstackConfig[a15_0x553053(0x1bb)])):(global[a15_0x553053(0x1a0)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':logger['debug']('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'2':global[a15_0x553053(0x203)]=_bstackConfig[a15_0x553053(0x1eb)]||{};continue;case'3':shouldProcessEventForTesthub()?require(a15_0x553053(0x202))[a15_0x553053(0x1aa)](_bstackConfig,null,!![]):require(a15_0x553053(0x202))['browserstackAgentV2'](_bstackConfig);continue;case'4':global[a15_0x553053(0x1e1)]=_bstackConfig[a15_0x553053(0x1e5)];continue;}break;}}}catch(a15_0x386d6b){logger['debug'](a15_0x553053(0x1bd)+util['format'](a15_0x386d6b));}function a15_0x4c70(){const _0x1ffd5b=['./bstack-reporter/customReporter','path','warn','VIGQJ','dZymD','585732zJmckN','FRdAe','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','browserstackAgentV2','__sessionFailed','../../helpers/accessibility-automation/accessibilityRetryHelper','__skipSessionStatus','saveAccessibilityResultsWithRetry','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','setGlobal','markSessionStatus','../../helpers/testhub/utils','1153608ixZfpZ','htuch','env','stack','kbBqM','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','failed','node:','skipSessionStatus','qRJVe','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','Failed:\x20',',\x22level\x22:\x20\x22','BROWSERSTACK_TESTHUB_UUID','sessionNameSet__','stringify','uoHCg','kwOVR','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','thBuildUuid','thTestRunUuid','error','isArray','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','forEach','mustc','isBrowserstackInfra','get','sep','pop','function','qtsZd','debug','135819JMHDOG','EQYFT','autoScanning','10dYwgsg','getGlobal','VTxBo','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','browserstackSessionName','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','describe','split','../../helpers/testhub/constants','browserstackPlatformIndex','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','isTrue','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','platformIndex','BROWSERSTACK_JASMINE_CONFIG','TdcQd','FYrza','Passed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','platformCaps','SrmmZ','includes','bin','JrTpA','performScanWithRetry','../../helpers/logger','CONFIG','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','parse','executeScript','failedExpectations','__drivers','1017430AipqLe','@playwright/test','DIAfd','EqTfJ','format','bstackA11yScanOptions','GIIxD','keys','evYvm','eqTzp','../../index','__platformCaps','RXlBP','is_mobile_session','getPackageVersion','passed','length','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','./testRunMap','skipSessionName','TorFb','4133716OscsWM','20uXRLDC','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','ENV_VAR','info','join','undefined','bstackA11yShouldScan','prepareStackTrace','jDJOo','472885xuZTBC','590766FImlyE','../../helpers/globals','addReporter','56EhdNwm','YSyrJ','startsWith','getEnv','__skipSessionName','woLsR'];a15_0x4c70=function(){return _0x1ffd5b;};return a15_0x4c70();}const _fileNameByFullName={};try{if(typeof describe===a15_0x553053(0x1d2)&&typeof global!==a15_0x553053(0x194)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x52e904=a15_0x553053,_0x26d406={'qtsZd':function(_0x54fb40,_0x9d90a4){return _0x54fb40(_0x9d90a4);},'VIGQJ':_0x52e904(0x1a3),'EniRk':_0x52e904(0x1ba),'dZymD':'jasmine-core'},_0x509bdf=Error['prepareStackTrace'];try{const _0x59338d=new Error();Error[_0x52e904(0x196)]=(_0x12a535,_0x29dbf7)=>_0x29dbf7;const _0x507854=_0x59338d[_0x52e904(0x1b6)];Error[_0x52e904(0x196)]=_0x509bdf;if(Array[_0x52e904(0x1c9)](_0x507854))for(const _0x13e4ed of _0x507854){const _0x423c8a=_0x13e4ed['getFileName']&&_0x13e4ed['getFileName']();if(_0x423c8a&&!_0x423c8a[_0x52e904(0x1ed)](_0x52e904(0x1ee)+_0x26d406['qtsZd'](require,_0x26d406[_0x52e904(0x1a5)])['sep']+'jasmine'+_0x26d406[_0x52e904(0x1d3)](require,_0x26d406[_0x52e904(0x1a5)])[_0x52e904(0x1d0)])&&!_0x423c8a[_0x52e904(0x19e)](_0x26d406['EniRk'])&&!_0x423c8a[_0x52e904(0x1ed)](_0x26d406[_0x52e904(0x1a6)]))return _0x423c8a;}}catch(_0x2757c7){Error['prepareStackTrace']=_0x509bdf;}return null;},_wrappedDescribe=function(_0x2a8dce,_0x295fad){const _0x109bea=a15_0x553053,_0x1f9262={'TttfW':function(_0x516e94){return _0x516e94();},'FRdAe':function(_0x21bcea,_0x43864c){return _0x21bcea&&_0x43864c;},'DIAfd':function(_0x289016,_0x971934,_0x53b32e){return _0x289016(_0x971934,_0x53b32e);}};let _0x43f70d=null;try{_0x43f70d=_0x1f9262['TttfW'](_resolveCallerFile);}catch(_0xea286a){}_describeTitleStack['push'](_0x2a8dce);const _0x468777=_describeTitleStack[_0x109bea(0x193)]('\x20');_0x1f9262[_0x109bea(0x1a8)](_0x43f70d,_0x468777)&&(_fileNameByFullName[_0x468777]=_0x43f70d);try{return _0x1f9262[_0x109bea(0x1fa)](_origDescribe,_0x2a8dce,_0x295fad);}finally{_describeTitleStack[_0x109bea(0x1d1)]();}};Object[a15_0x553053(0x1ff)](_origDescribe)[a15_0x553053(0x1cc)](_0x1d5182=>{_wrappedDescribe[_0x1d5182]=_origDescribe[_0x1d5182];}),global[a15_0x553053(0x1de)]=_wrappedDescribe;}}catch(a15_0x55d70f){logger[a15_0x553053(0x1d4)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util[a15_0x553053(0x1fc)](a15_0x55d70f));}try{if(typeof jasmine!==a15_0x553053(0x194)&&jasmine[a15_0x553053(0x19f)]){const BrowserStackJasmineReporter=require(a15_0x553053(0x1a2)),a15_0x3d5cdb={};a15_0x3d5cdb['fileNameByFullName']=_fileNameByFullName,jasmine[a15_0x553053(0x19f)]()[a15_0x553053(0x19b)](new BrowserStackJasmineReporter(a15_0x3d5cdb)),logger[a15_0x553053(0x1d4)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a15_0x553053(0x1d4)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a15_0x136501){logger[a15_0x553053(0x1d4)](a15_0x553053(0x1a9)+util[a15_0x553053(0x1fc)](a15_0x136501));}try{typeof jasmine!==a15_0x553053(0x194)&&jasmine[a15_0x553053(0x19f)]&&jasmine['getEnv']()[a15_0x553053(0x19b)]({'specStarted'(_0x22c8c2){const _0x2e9bbb=a15_0x553053,_0x58ee17={};_0x58ee17['SrmmZ']=function(_0x45c9c5,_0xf9a39){return _0x45c9c5||_0xf9a39;};const _0x2e2a57=_0x58ee17;_activeResultId=_0x22c8c2&&_0x22c8c2['id'],_activeFullName=_0x22c8c2&&_0x22c8c2['fullName'],_activeResultRef=_0x2e2a57[_0x2e9bbb(0x1ec)](_0x22c8c2,null);},'specDone'(){}});}catch(a15_0x219be7){logger[a15_0x553053(0x1d4)](a15_0x553053(0x1b8)+util[a15_0x553053(0x1fc)](a15_0x219be7));}const _resolveAutoScanning=()=>{const _0x23308e=a15_0x553053,_0x45af7b={};_0x45af7b[_0x23308e(0x1a1)]=function(_0x29cf88,_0x31bee9){return _0x29cf88===_0x31bee9;};const _0x1cfb45=_0x45af7b;let _0x2d00ff=!![];try{const _0x3797d2=JSON[_0x23308e(0x1f4)](process[_0x23308e(0x1b5)][_0x23308e(0x1ea)]||'{}');_0x1cfb45[_0x23308e(0x1a1)](_0x3797d2[_0x23308e(0x1d7)],![])&&(_0x2d00ff=![]);}catch(_0x1e8c5a){logger[_0x23308e(0x1d4)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x1e8c5a['message']);}return _0x2d00ff;};try{typeof beforeEach===a15_0x553053(0x1d2)&&beforeEach(function bstackA11yBeforeEach(){const _0x542e45=a15_0x553053,_0x585287={'jDJOo':function(_0xc83c0e){return _0xc83c0e();},'qrVkR':function(_0x146aa0,_0x9ca4fb,_0x3da70d){return _0x146aa0(_0x9ca4fb,_0x3da70d);},'ojZhb':function(_0xcc473a,_0x13c7f5){return _0xcc473a&&_0x13c7f5;},'mustc':_0x542e45(0x195),'EQYFT':_0x542e45(0x1fd)};try{const _0x501dc4=_0x585287[_0x542e45(0x197)](_resolveAutoScanning),_0x3447f3=_0x585287['qrVkR'](shouldScanTestForAccessibility,null,![]),_0x2a8501=_0x585287['ojZhb'](_0x501dc4,_0x3447f3);globals['setGlobal'](_0x585287[_0x542e45(0x1cd)],_0x2a8501),globals[_0x542e45(0x1b0)](_0x585287[_0x542e45(0x1d6)],null);}catch(_0x3c6575){logger[_0x542e45(0x1d4)](_0x542e45(0x1c5)+util[_0x542e45(0x1fc)](_0x3c6575));}}),typeof afterEach===a15_0x553053(0x1d2)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x150f40=a15_0x553053,_0x2368c5={'GIIxD':function(_0x16c6d1,_0x340f29){return _0x16c6d1>_0x340f29;},'RXlBP':'Spec\x20failed','JrTpA':function(_0x1cba01,_0x396711){return _0x1cba01+_0x396711;},'qRJVe':_0x150f40(0x1be),'hHGsE':_0x150f40(0x1e9),'YSyrJ':'error','kwOVR':_0x150f40(0x192),'kbBqM':_0x150f40(0x1b9),'TdcQd':_0x150f40(0x207),'MmGSs':function(_0x5a738a){return _0x5a738a();},'TorFb':'isAccessibilityPlatform','YTJtf':'bstackA11yShouldScan','VTxBo':_0x150f40(0x1af),'eqTzp':_0x150f40(0x1f3),'FYrza':_0x150f40(0x1e2),'uoHCg':_0x150f40(0x1dd),'EqTfJ':'isMobilePlatform','evYvm':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','htuch':_0x150f40(0x1ca)};try{if(Array['isArray'](global[_0x150f40(0x1f7)])&&_0x2368c5[_0x150f40(0x1fe)](global[_0x150f40(0x1f7)]['length'],0x0)&&global[_0x150f40(0x1f7)][0x0]){const _0x5345fb=_activeFullName||global['sessionName'];if(!global[_0x150f40(0x1a0)]&&_0x5345fb){global['sessionName']=_0x5345fb;try{await global[_0x150f40(0x1f7)][0x0][_0x150f40(0x1f5)](_0x150f40(0x1db)+JSON[_0x150f40(0x1c2)](_0x5345fb)+'}}'),global['__drivers'][0x0][_0x150f40(0x1c1)]=!![];}catch(_0x5a2162){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util[_0x150f40(0x1fc)](_0x5a2162));}}if(!global[_0x150f40(0x1ad)])try{const _0x10c803=_activeResultRef&&Array['isArray'](_activeResultRef[_0x150f40(0x1f6)])?_activeResultRef[_0x150f40(0x1f6)]:[],_0x926790=_0x2368c5[_0x150f40(0x1fe)](_0x10c803[_0x150f40(0x208)],0x0),_0x281c78=_0x926790?_0x10c803[0x0]&&_0x10c803[0x0]['message']||_0x2368c5[_0x150f40(0x204)]:null;try{await global['__drivers'][0x0][_0x150f40(0x1f5)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON[_0x150f40(0x1c2)](_0x926790?_0x2368c5[_0x150f40(0x1ef)](_0x2368c5[_0x150f40(0x1bc)],_0x281c78):_0x2368c5['hHGsE'])+_0x150f40(0x1bf)+(_0x926790?_0x2368c5[_0x150f40(0x19d)]:_0x2368c5[_0x150f40(0x1c4)])+'\x22}}');}catch(_0x202365){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util['format'](_0x202365));}_0x926790&&(global[_0x150f40(0x1ab)]=!![]),await helper[_0x150f40(0x1b1)](global['__drivers'][0x0],_0x926790?_0x2368c5[_0x150f40(0x1b7)]:_0x2368c5[_0x150f40(0x1e7)],_0x281c78);}catch(_0x745c94){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util['format'](_0x745c94));}}}catch(_0x5c0474){logger[_0x150f40(0x1d4)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x150f40(0x1fc)](_0x5c0474));}try{if(_0x2368c5['MmGSs'](isAccessibilityAutomationSession)&&globals[_0x150f40(0x1d9)](_0x2368c5[_0x150f40(0x18d)])&&Array[_0x150f40(0x1c9)](global[_0x150f40(0x1f7)])&&_0x2368c5[_0x150f40(0x1fe)](global['__drivers'][_0x150f40(0x208)],0x0)&&global['__drivers'][0x0]){const _0x19f0b9=testRunMap[_0x150f40(0x1cf)](_activeResultId),_0x61ca0f={};_0x61ca0f[_0x150f40(0x1c7)]=_0x19f0b9,_0x61ca0f[_0x150f40(0x1c6)]=process[_0x150f40(0x1b5)][testHubConstants[_0x150f40(0x191)][_0x150f40(0x1c0)]],_0x61ca0f['thJwtToken']=process[_0x150f40(0x1b5)][testHubConstants[_0x150f40(0x191)]['BROWSERSTACK_TESTHUB_JWT']];const _0xdeb5d0=_0x61ca0f;logger[_0x150f40(0x1d4)](_0x150f40(0x1cb)+JSON[_0x150f40(0x1c2)](_0xdeb5d0));if(globals[_0x150f40(0x1d9)](_0x2368c5['YTJtf'])){logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x1da)]);const _0x3e9a7d=await accessibilityRetryHelper[_0x150f40(0x1f0)](global[_0x150f40(0x1f7)][0x0],global[_0x150f40(0x1dc)]);_0x3e9a7d?logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x201)]):logger[_0x150f40(0x1a4)](_0x2368c5[_0x150f40(0x1e8)]);}else logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x1c3)]);globals[_0x150f40(0x1d9)](_0x2368c5[_0x150f40(0x1fb)])&&(_0xdeb5d0[_0x150f40(0x205)]=!![]);const _0x247449=await accessibilityRetryHelper[_0x150f40(0x1ae)](global['__drivers'][0x0],_0xdeb5d0);_0x247449?logger[_0x150f40(0x1d4)](_0x2368c5[_0x150f40(0x200)]):logger[_0x150f40(0x1a4)](_0x2368c5[_0x150f40(0x1b4)]);}}catch(_0x390f04){logger[_0x150f40(0x1c8)](_0x150f40(0x209)+util[_0x150f40(0x1fc)](_0x390f04));}});}catch(a15_0x507fc1){logger[a15_0x553053(0x1d4)](a15_0x553053(0x190)+util[a15_0x553053(0x1fc)](a15_0x507fc1));}module['exports']={};
1
+ 'use strict';const a15_0x1d01ee=a15_0x3c32;(function(_0x43b5af,_0x15c77f){const _0xfa6243=a15_0x3c32,_0x48f50b=_0x43b5af();while(!![]){try{const _0x1dfd0d=parseInt(_0xfa6243(0x15c))/0x1+-parseInt(_0xfa6243(0x157))/0x2*(parseInt(_0xfa6243(0x151))/0x3)+-parseInt(_0xfa6243(0x1ad))/0x4*(-parseInt(_0xfa6243(0x13c))/0x5)+parseInt(_0xfa6243(0x12d))/0x6*(parseInt(_0xfa6243(0x140))/0x7)+-parseInt(_0xfa6243(0x197))/0x8+parseInt(_0xfa6243(0x185))/0x9+-parseInt(_0xfa6243(0x148))/0xa*(parseInt(_0xfa6243(0x173))/0xb);if(_0x1dfd0d===_0x15c77f)break;else _0x48f50b['push'](_0x48f50b['shift']());}catch(_0x40e910){_0x48f50b['push'](_0x48f50b['shift']());}}}(a15_0x26d8,0xbc31b));const util=require('util'),logger=require(a15_0x1d01ee(0x144))[a15_0x1d01ee(0x15b)],helper=require(a15_0x1d01ee(0x14e)),globals=require(a15_0x1d01ee(0x17d)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a15_0x1d01ee(0x138)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a15_0x1d01ee(0x190)),accessibilityRetryHelper=require(a15_0x1d01ee(0x1a7)),testRunMap=require(a15_0x1d01ee(0x147));function a15_0x3c32(_0x37fdb4,_0x1f1744){const _0x26d8d3=a15_0x26d8();return a15_0x3c32=function(_0x3c3268,_0x225f6c){_0x3c3268=_0x3c3268-0x12d;let _0x12e779=_0x26d8d3[_0x3c3268];return _0x12e779;},a15_0x3c32(_0x37fdb4,_0x1f1744);}let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a15_0x1d01ee(0x187)]||process[a15_0x1d01ee(0x13f)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x1d01ee(0x132)](rawConfig));}catch(a15_0x5ae9c6){logger['debug'](a15_0x1d01ee(0x199)+util['format'](a15_0x5ae9c6));}try{if(_bstackConfig&&!helper['getPackageVersion'](a15_0x1d01ee(0x16e))){const UOfGlE=a15_0x1d01ee(0x184)['split']('|');let LZwyCw=0x0;while(!![]){switch(UOfGlE[LZwyCw++]){case'0':helper[a15_0x1d01ee(0x15e)]()?(global[a15_0x1d01ee(0x18b)]=helper[a15_0x1d01ee(0x183)](_bstackConfig[a15_0x1d01ee(0x146)]),global[a15_0x1d01ee(0x13b)]=helper[a15_0x1d01ee(0x183)](_bstackConfig[a15_0x1d01ee(0x180)])):(global[a15_0x1d01ee(0x18b)]=!![],global[a15_0x1d01ee(0x13b)]=!![]);continue;case'1':global['__platformCaps']=_bstackConfig[a15_0x1d01ee(0x1a3)]||{};continue;case'2':global['browserstackPlatformIndex']=_bstackConfig[a15_0x1d01ee(0x156)];continue;case'3':shouldProcessEventForTesthub()?require(a15_0x1d01ee(0x198))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a15_0x1d01ee(0x198))[a15_0x1d01ee(0x16f)](_bstackConfig);continue;case'4':logger[a15_0x1d01ee(0x143)](a15_0x1d01ee(0x192));continue;}break;}}}catch(a15_0x30c87a){logger['debug']('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a15_0x1d01ee(0x1a2)](a15_0x30c87a));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a15_0x1d01ee(0x176)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x3853d1=a15_0x1d01ee,_0x40cbc8={'Rxxee':function(_0x120ad7,_0x2d3974){return _0x120ad7(_0x2d3974);},'kijdx':_0x3853d1(0x179),'ykKpX':_0x3853d1(0x16b),'buSDX':_0x3853d1(0x17c)},_0x55708c=Error[_0x3853d1(0x135)];try{const _0x474256=new Error();Error[_0x3853d1(0x135)]=(_0x4547b6,_0x226ed8)=>_0x226ed8;const _0x4cc4d1=_0x474256['stack'];Error[_0x3853d1(0x135)]=_0x55708c;if(Array['isArray'](_0x4cc4d1))for(const _0x1f2d64 of _0x4cc4d1){const _0x81c39a=_0x1f2d64[_0x3853d1(0x172)]&&_0x1f2d64[_0x3853d1(0x172)]();if(_0x81c39a&&!_0x81c39a[_0x3853d1(0x18c)](_0x3853d1(0x145)+_0x40cbc8['Rxxee'](require,_0x40cbc8[_0x3853d1(0x1a9)])[_0x3853d1(0x133)]+_0x3853d1(0x142)+_0x40cbc8[_0x3853d1(0x137)](require,_0x40cbc8['kijdx'])[_0x3853d1(0x133)])&&!_0x81c39a['startsWith'](_0x40cbc8['ykKpX'])&&!_0x81c39a['includes'](_0x40cbc8['buSDX']))return _0x81c39a;}}catch(_0x2199ab){Error[_0x3853d1(0x135)]=_0x55708c;}return null;},_wrappedDescribe=function(_0x11fb55,_0x4bdfa0){const _0x44ce64=a15_0x1d01ee,_0x156699={'crRZM':function(_0x17b762){return _0x17b762();},'qzGFX':function(_0x2cf2ce,_0x2678d6){return _0x2cf2ce&&_0x2678d6;},'kmuxB':function(_0x285e00,_0x57ec8c,_0x48917f){return _0x285e00(_0x57ec8c,_0x48917f);}};let _0x2e52ca=null;try{_0x2e52ca=_0x156699[_0x44ce64(0x14d)](_resolveCallerFile);}catch(_0xecdb2f){}_describeTitleStack[_0x44ce64(0x163)](_0x11fb55);const _0x14657c=_describeTitleStack[_0x44ce64(0x162)]('\x20');_0x156699['qzGFX'](_0x2e52ca,_0x14657c)&&(_fileNameByFullName[_0x14657c]=_0x2e52ca);try{return _0x156699[_0x44ce64(0x188)](_origDescribe,_0x11fb55,_0x4bdfa0);}finally{_describeTitleStack[_0x44ce64(0x1a0)]();}};Object[a15_0x1d01ee(0x174)](_origDescribe)['forEach'](_0x6d3e66=>{_wrappedDescribe[_0x6d3e66]=_origDescribe[_0x6d3e66];}),global['describe']=_wrappedDescribe;}}catch(a15_0x2162d6){logger[a15_0x1d01ee(0x143)](a15_0x1d01ee(0x175)+util[a15_0x1d01ee(0x1a2)](a15_0x2162d6));}try{if(typeof jasmine!=='undefined'&&jasmine[a15_0x1d01ee(0x181)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a15_0x30bd89={};a15_0x30bd89[a15_0x1d01ee(0x168)]=_fileNameByFullName,jasmine[a15_0x1d01ee(0x181)]()[a15_0x1d01ee(0x141)](new BrowserStackJasmineReporter(a15_0x30bd89)),logger[a15_0x1d01ee(0x143)](a15_0x1d01ee(0x1aa));}else logger[a15_0x1d01ee(0x143)](a15_0x1d01ee(0x134));}catch(a15_0x2b15ba){logger['debug']('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a15_0x1d01ee(0x1a2)](a15_0x2b15ba));}function a15_0x26d8(){const _0xa91973=['85855RQouAl','addReporter','jasmine','debug','../../helpers/logger','bin','skipSessionName','./testRunMap','4542050lahBNR','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','jXSfO','warn','DmPzT','crRZM','../../helpers/helper','getGlobal','ENV_VAR','679359mzoOKV','is_mobile_session','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','markSessionStatus','platformIndex','12SGqyjX','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','bXNAP','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','winstonLogger','850295dSJAfU','zJoJE','isBrowserstackInfra','stringify','pYRaM','Passed','join','push','error','thJwtToken','isBvi','function','fileNameByFullName','EUlUH','message','node:','failedExpectations','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','@playwright/test','browserstackAgentV2','performScanWithRetry','BROWSERSTACK_TESTHUB_UUID','getFileName','11AAPZpM','keys','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','undefined','BROWSERSTACK_TESTHUB_JWT','bstackA11yScanOptions','path','zKZin','__sessionFailed','jasmine-core','../../helpers/globals','saveAccessibilityResultsWithRetry','browserstackSessionName','skipSessionStatus','getEnv',',\x22level\x22:\x20\x22','isTrue','4|3|1|2|0','5824701EKmSFq','info','BROWSERSTACK_JASMINE_CONFIG','kmuxB','bstackA11yShouldScan','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','__skipSessionName','includes','__drivers','LYmJf','isArray','../../helpers/accessibility-automation/helper','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','DkbDq','waCac','executeScript','4496992RInzZR','../../index','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','BKZpm','WWAEk','nAThN','\x22}}','thTestRunUuid','pop','vtodH','format','platformCaps','isMobilePlatform','geMSv','Spec\x20failed','../../helpers/accessibility-automation/accessibilityRetryHelper','exports','kijdx','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','zwYbQ','1352qvQJtj','length','396CvFcFn','Kipzi','Failed:\x20','aTBNT','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','parse','sep','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','prepareStackTrace','uBvgr','Rxxee','../../helpers/testhub/constants','sessionName','NdImy','__skipSessionStatus','12410xbssUG','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','env'];a15_0x26d8=function(){return _0xa91973;};return a15_0x26d8();}try{typeof jasmine!==a15_0x1d01ee(0x176)&&jasmine['getEnv']&&jasmine[a15_0x1d01ee(0x181)]()[a15_0x1d01ee(0x141)]({'specStarted'(_0x26d44c){const _0x456ddb=a15_0x1d01ee,_0x38a5d7={};_0x38a5d7[_0x456ddb(0x19b)]=function(_0x2af864,_0x2080d6){return _0x2af864||_0x2080d6;};const _0x5683e7=_0x38a5d7;_activeResultId=_0x26d44c&&_0x26d44c['id'],_activeFullName=_0x26d44c&&_0x26d44c['fullName'],_activeResultRef=_0x5683e7[_0x456ddb(0x19b)](_0x26d44c,null);},'specDone'(){}});}catch(a15_0x23367a){logger[a15_0x1d01ee(0x143)](a15_0x1d01ee(0x13d)+util[a15_0x1d01ee(0x1a2)](a15_0x23367a));}const _resolveAutoScanning=()=>{const _0x47ed1f=a15_0x1d01ee,_0x1faa99={};_0x1faa99[_0x47ed1f(0x136)]=function(_0xb8bca7,_0x5b30d8){return _0xb8bca7===_0x5b30d8;};const _0x493e4f=_0x1faa99;let _0x6ace51=!![];try{const _0x1200f2=JSON[_0x47ed1f(0x132)](process[_0x47ed1f(0x13f)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x493e4f['uBvgr'](_0x1200f2['autoScanning'],![])&&(_0x6ace51=![]);}catch(_0x1f18ea){logger[_0x47ed1f(0x143)](_0x47ed1f(0x193)+_0x1f18ea['message']);}return _0x6ace51;};try{typeof beforeEach===a15_0x1d01ee(0x167)&&beforeEach(function bstackA11yBeforeEach(){const _0x8af7f4=a15_0x1d01ee,_0xd26a54={'aTBNT':function(_0x41e20c){return _0x41e20c();},'tITHj':function(_0x5aa1bb,_0xd535fd,_0x2d1892){return _0x5aa1bb(_0xd535fd,_0x2d1892);},'JnSYC':function(_0x207fc3,_0x413241){return _0x207fc3&&_0x413241;},'DmPzT':_0x8af7f4(0x189),'LZbmp':_0x8af7f4(0x178)};try{const _0x3eb8d9=_0xd26a54[_0x8af7f4(0x130)](_resolveAutoScanning),_0xbb6ef8=_0xd26a54['tITHj'](shouldScanTestForAccessibility,null,![]),_0x48b09b=_0xd26a54['JnSYC'](_0x3eb8d9,_0xbb6ef8);globals[_0x8af7f4(0x153)](_0xd26a54[_0x8af7f4(0x14c)],_0x48b09b),globals[_0x8af7f4(0x153)](_0xd26a54['LZbmp'],null);}catch(_0x5ae396){logger[_0x8af7f4(0x143)]('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x8af7f4(0x1a2)](_0x5ae396));}}),typeof afterEach===a15_0x1d01ee(0x167)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x11f692=a15_0x1d01ee,_0x532755={'zKZin':function(_0x5665e3,_0xfed0e1){return _0x5665e3>_0xfed0e1;},'zJoJE':_0x11f692(0x1a6),'uKXoQ':function(_0x84d1f9,_0x2e64e7){return _0x84d1f9+_0x2e64e7;},'EUlUH':_0x11f692(0x12f),'zwYbQ':_0x11f692(0x161),'jXSfO':_0x11f692(0x164),'isBvi':_0x11f692(0x186),'LYmJf':'failed','Kipzi':'passed','ZFbtq':function(_0x5682ec){return _0x5682ec();},'WWAEk':'isAccessibilityPlatform','DkbDq':function(_0x8c0d98,_0x4085ca){return _0x8c0d98>_0x4085ca;},'nAThN':_0x11f692(0x189),'bXNAP':_0x11f692(0x16d),'waCac':_0x11f692(0x158),'pYRaM':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','twiGz':_0x11f692(0x15a),'geMSv':_0x11f692(0x1a4),'vtodH':_0x11f692(0x18a),'NdImy':_0x11f692(0x1ab)};try{if(Array[_0x11f692(0x18f)](global[_0x11f692(0x18d)])&&_0x532755[_0x11f692(0x17a)](global[_0x11f692(0x18d)][_0x11f692(0x1ae)],0x0)&&global[_0x11f692(0x18d)][0x0]){const _0x26d152=_activeFullName||global['sessionName'];if(!global[_0x11f692(0x18b)]&&_0x26d152){global[_0x11f692(0x139)]=_0x26d152;try{await global[_0x11f692(0x18d)][0x0]['executeScript'](_0x11f692(0x13e)+JSON[_0x11f692(0x15f)](_0x26d152)+'}}'),global[_0x11f692(0x18d)][0x0]['sessionNameSet__']=!![];}catch(_0x19ac4c){logger[_0x11f692(0x143)](_0x11f692(0x191)+util[_0x11f692(0x1a2)](_0x19ac4c));}}if(!global[_0x11f692(0x13b)])try{const _0x2875c6=_activeResultRef&&Array[_0x11f692(0x18f)](_activeResultRef[_0x11f692(0x16c)])?_activeResultRef[_0x11f692(0x16c)]:[],_0x5188ef=_0x532755[_0x11f692(0x17a)](_0x2875c6[_0x11f692(0x1ae)],0x0),_0x207597=_0x5188ef?_0x2875c6[0x0]&&_0x2875c6[0x0][_0x11f692(0x16a)]||_0x532755[_0x11f692(0x15d)]:null;try{await global[_0x11f692(0x18d)][0x0][_0x11f692(0x196)](_0x11f692(0x154)+JSON[_0x11f692(0x15f)](_0x5188ef?_0x532755['uKXoQ'](_0x532755[_0x11f692(0x169)],_0x207597):_0x532755[_0x11f692(0x1ac)])+_0x11f692(0x182)+(_0x5188ef?_0x532755[_0x11f692(0x14a)]:_0x532755[_0x11f692(0x166)])+_0x11f692(0x19e));}catch(_0x5277f5){logger[_0x11f692(0x143)](_0x11f692(0x149)+util[_0x11f692(0x1a2)](_0x5277f5));}_0x5188ef&&(global[_0x11f692(0x17b)]=!![]),await helper[_0x11f692(0x155)](global['__drivers'][0x0],_0x5188ef?_0x532755[_0x11f692(0x18e)]:_0x532755[_0x11f692(0x12e)],_0x207597);}catch(_0x4e75cd){logger[_0x11f692(0x143)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util['format'](_0x4e75cd));}}}catch(_0x500509){logger[_0x11f692(0x143)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x11f692(0x1a2)](_0x500509));}try{if(_0x532755['ZFbtq'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x532755[_0x11f692(0x19c)])&&Array[_0x11f692(0x18f)](global[_0x11f692(0x18d)])&&_0x532755[_0x11f692(0x194)](global[_0x11f692(0x18d)][_0x11f692(0x1ae)],0x0)&&global[_0x11f692(0x18d)][0x0]){const _0x224c35=testRunMap['get'](_activeResultId),_0x1709e0={};_0x1709e0[_0x11f692(0x19f)]=_0x224c35,_0x1709e0['thBuildUuid']=process['env'][testHubConstants[_0x11f692(0x150)][_0x11f692(0x171)]],_0x1709e0[_0x11f692(0x165)]=process['env'][testHubConstants['ENV_VAR'][_0x11f692(0x177)]];const _0x4acda6=_0x1709e0;logger[_0x11f692(0x143)](_0x11f692(0x131)+JSON['stringify'](_0x4acda6));if(globals[_0x11f692(0x14f)](_0x532755[_0x11f692(0x19d)])){logger[_0x11f692(0x143)](_0x532755[_0x11f692(0x159)]);const _0x4af8f9=await accessibilityRetryHelper[_0x11f692(0x170)](global[_0x11f692(0x18d)][0x0],global[_0x11f692(0x17f)]);_0x4af8f9?logger[_0x11f692(0x143)](_0x532755[_0x11f692(0x195)]):logger[_0x11f692(0x14b)](_0x532755[_0x11f692(0x160)]);}else logger[_0x11f692(0x143)](_0x532755['twiGz']);globals[_0x11f692(0x14f)](_0x532755[_0x11f692(0x1a5)])&&(_0x4acda6[_0x11f692(0x152)]=!![]);const _0x4167ec=await accessibilityRetryHelper[_0x11f692(0x17e)](global['__drivers'][0x0],_0x4acda6);_0x4167ec?logger[_0x11f692(0x143)](_0x532755[_0x11f692(0x1a1)]):logger[_0x11f692(0x14b)](_0x532755[_0x11f692(0x13a)]);}}catch(_0x3894e2){logger[_0x11f692(0x164)](_0x11f692(0x19a)+util['format'](_0x3894e2));}});}catch(a15_0x1ab305){logger[a15_0x1d01ee(0x143)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util['format'](a15_0x1ab305));}module[a15_0x1d01ee(0x1a8)]={};
@@ -1 +1 @@
1
- 'use strict';const a16_0x1951a4=a16_0x45f9;(function(_0x8be725,_0x164471){const _0x595ca4=a16_0x45f9,_0x3a686b=_0x8be725();while(!![]){try{const _0x52a6e7=parseInt(_0x595ca4(0x126))/0x1+parseInt(_0x595ca4(0x128))/0x2+-parseInt(_0x595ca4(0x12f))/0x3+-parseInt(_0x595ca4(0x122))/0x4*(parseInt(_0x595ca4(0x121))/0x5)+parseInt(_0x595ca4(0x123))/0x6*(-parseInt(_0x595ca4(0x127))/0x7)+-parseInt(_0x595ca4(0x131))/0x8+parseInt(_0x595ca4(0x124))/0x9;if(_0x52a6e7===_0x164471)break;else _0x3a686b['push'](_0x3a686b['shift']());}catch(_0x2f7fc0){_0x3a686b['push'](_0x3a686b['shift']());}}}(a16_0x448d,0x89ef0));function a16_0x448d(){const _0x34f642=['PVRIT','8376552fXVQgK','get','765430zOWVdU','8XUWZgg','12ezyZKu','12321720fPFOlF','HokkV','1088563CtbcgP','2323447KMYaye','1794936sEQJLX','YqKlr','size','delete','set','_size','ZSHiB','2319156SOSMPc'];a16_0x448d=function(){return _0x34f642;};return a16_0x448d();}const _specUuidById=new Map();function a16_0x45f9(_0x4895db,_0x55cacd){const _0x448df6=a16_0x448d();return a16_0x45f9=function(_0x45f93f,_0x5b4029){_0x45f93f=_0x45f93f-0x120;let _0x38b5b8=_0x448df6[_0x45f93f];return _0x38b5b8;},a16_0x45f9(_0x4895db,_0x55cacd);}exports[a16_0x1951a4(0x12c)]=(_0x393f67,_0x493e5e)=>{const _0x54bab6=a16_0x1951a4,_0x75d44={};_0x75d44['HokkV']=function(_0x4d66c3,_0x4bf161){return _0x4d66c3===_0x4bf161;};const _0x166dd6=_0x75d44;if(_0x166dd6[_0x54bab6(0x125)](_0x393f67,undefined)||_0x166dd6[_0x54bab6(0x125)](_0x393f67,null))return;_specUuidById[_0x54bab6(0x12c)](_0x393f67,_0x493e5e);},exports[a16_0x1951a4(0x120)]=_0x2a1de4=>{const _0x577dfa=a16_0x1951a4,_0x204e69={};_0x204e69[_0x577dfa(0x12e)]=function(_0x1e6521,_0x5b48ce){return _0x1e6521===_0x5b48ce;},_0x204e69[_0x577dfa(0x129)]=function(_0x1d0086,_0x182b97){return _0x1d0086===_0x182b97;};const _0x1b7f7d=_0x204e69;if(_0x1b7f7d['ZSHiB'](_0x2a1de4,undefined)||_0x1b7f7d[_0x577dfa(0x129)](_0x2a1de4,null))return undefined;return _specUuidById[_0x577dfa(0x120)](_0x2a1de4);},exports['remove']=_0xa0ec60=>{const _0x1b554e=a16_0x1951a4,_0x2eebf2={};_0x2eebf2[_0x1b554e(0x130)]=function(_0x1c57b9,_0x3c1eda){return _0x1c57b9===_0x3c1eda;};const _0x174a07=_0x2eebf2;if(_0x174a07[_0x1b554e(0x130)](_0xa0ec60,undefined)||_0x174a07[_0x1b554e(0x130)](_0xa0ec60,null))return;_specUuidById[_0x1b554e(0x12b)](_0xa0ec60);},exports[a16_0x1951a4(0x12d)]=()=>_specUuidById[a16_0x1951a4(0x12a)];
1
+ 'use strict';const a16_0x57b422=a16_0x2486;(function(_0x5ab774,_0x11ebdb){const _0x442b51=a16_0x2486,_0x2715d0=_0x5ab774();while(!![]){try{const _0x4846a3=-parseInt(_0x442b51(0x1ef))/0x1+-parseInt(_0x442b51(0x1f2))/0x2+-parseInt(_0x442b51(0x1eb))/0x3*(parseInt(_0x442b51(0x1e8))/0x4)+parseInt(_0x442b51(0x1f1))/0x5+-parseInt(_0x442b51(0x1ee))/0x6*(parseInt(_0x442b51(0x1f0))/0x7)+-parseInt(_0x442b51(0x1f4))/0x8+parseInt(_0x442b51(0x1e9))/0x9;if(_0x4846a3===_0x11ebdb)break;else _0x2715d0['push'](_0x2715d0['shift']());}catch(_0x47fe5b){_0x2715d0['push'](_0x2715d0['shift']());}}}(a16_0x1d42,0x62f7b));function a16_0x1d42(){const _0x2e7b34=['1054086jpTxNA','498165AaVbqJ','7tLUriz','1451500mclxLh','1035048KXJofK','set','3673288RXxBZk','qqziN','delete','aXCtG','get','259620WXJCRk','19395288kkFfvr','sfjBY','18WhTDDi','remove','tnVKY'];a16_0x1d42=function(){return _0x2e7b34;};return a16_0x1d42();}const _specUuidById=new Map();function a16_0x2486(_0x296c0f,_0x443e9d){const _0x1d428e=a16_0x1d42();return a16_0x2486=function(_0x248617,_0x539d26){_0x248617=_0x248617-0x1e7;let _0x1f6edf=_0x1d428e[_0x248617];return _0x1f6edf;},a16_0x2486(_0x296c0f,_0x443e9d);}exports[a16_0x57b422(0x1f3)]=(_0x12af44,_0x4e01a1)=>{const _0x405cfb=a16_0x57b422,_0x43f410={};_0x43f410['aXCtG']=function(_0x36536e,_0x1c9763){return _0x36536e===_0x1c9763;};const _0x5035dc=_0x43f410;if(_0x5035dc['aXCtG'](_0x12af44,undefined)||_0x5035dc[_0x405cfb(0x1f7)](_0x12af44,null))return;_specUuidById[_0x405cfb(0x1f3)](_0x12af44,_0x4e01a1);},exports['get']=_0x418765=>{const _0x46f1ce=a16_0x57b422,_0x35fc6b={};_0x35fc6b['tnVKY']=function(_0x5b7470,_0x1fbc32){return _0x5b7470===_0x1fbc32;};const _0x2bcf86=_0x35fc6b;if(_0x2bcf86[_0x46f1ce(0x1ed)](_0x418765,undefined)||_0x2bcf86[_0x46f1ce(0x1ed)](_0x418765,null))return undefined;return _specUuidById[_0x46f1ce(0x1e7)](_0x418765);},exports[a16_0x57b422(0x1ec)]=_0x5a8cd0=>{const _0x1970ec=a16_0x57b422,_0x28b5cd={};_0x28b5cd['sfjBY']=function(_0x10e27f,_0x307148){return _0x10e27f===_0x307148;},_0x28b5cd[_0x1970ec(0x1f5)]=function(_0x4bb8ca,_0x41814b){return _0x4bb8ca===_0x41814b;};const _0x2ec1a=_0x28b5cd;if(_0x2ec1a[_0x1970ec(0x1ea)](_0x5a8cd0,undefined)||_0x2ec1a[_0x1970ec(0x1f5)](_0x5a8cd0,null))return;_specUuidById[_0x1970ec(0x1f6)](_0x5a8cd0);},exports['_size']=()=>_specUuidById['size'];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a17_0x58451a=a17_0x5aba;(function(_0x4a3d02,_0x45e413){const _0x2260dd=a17_0x5aba,_0x55c333=_0x4a3d02();while(!![]){try{const _0x241132=-parseInt(_0x2260dd(0x177))/0x1*(-parseInt(_0x2260dd(0xfb))/0x2)+parseInt(_0x2260dd(0xee))/0x3*(parseInt(_0x2260dd(0xfa))/0x4)+-parseInt(_0x2260dd(0x11e))/0x5*(parseInt(_0x2260dd(0x180))/0x6)+-parseInt(_0x2260dd(0x19e))/0x7*(parseInt(_0x2260dd(0x136))/0x8)+parseInt(_0x2260dd(0x187))/0x9*(-parseInt(_0x2260dd(0xfc))/0xa)+-parseInt(_0x2260dd(0x105))/0xb+parseInt(_0x2260dd(0x117))/0xc*(parseInt(_0x2260dd(0xea))/0xd);if(_0x241132===_0x45e413)break;else _0x55c333['push'](_0x55c333['shift']());}catch(_0xacd86a){_0x55c333['push'](_0x55c333['shift']());}}}(a17_0x11df,0x29014));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a17_0x58451a(0x167)),logger=require('../../helpers/logger')[a17_0x58451a(0xcf)],{default:BrowserStackSetup}=require(a17_0x58451a(0x16e)),helper=require(a17_0x58451a(0xc9)),utilities=require(a17_0x58451a(0x100)),constants=require(a17_0x58451a(0x151)),accessibilityHelper=require(a17_0x58451a(0x19d)),{updateTestRerunConfig}=require(a17_0x58451a(0x120)),testOpsHelper=require(a17_0x58451a(0xdf)),{debug}=require(a17_0x58451a(0xdf)),TestDetails=require(a17_0x58451a(0xeb)),{getPercyOptions}=require(a17_0x58451a(0xc0)),TestHubHandler=require(a17_0x58451a(0xa5)),testhubUtils=require(a17_0x58451a(0x13f)),{FRAMEWORKS}=require(a17_0x58451a(0x11b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a17_0x58451a(0x102))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a17_0x58451a(0xac)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a17_0x58451a(0x149)),ClientTroubleShootingService=require(a17_0x58451a(0xc2)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x480d9f,_0x1c281e)=>{const _0x20df50=a17_0x58451a,_0x4cd71e={'IOFaC':_0x20df50(0x17e),'JHrvz':_0x20df50(0x110),'ZgTpE':function(_0x227520,_0x28fde1){return _0x227520||_0x28fde1;},'gvFdp':function(_0x26562c,_0x5d9a4d){return _0x26562c(_0x5d9a4d);},'bmdpO':_0x20df50(0x124),'BRjYM':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','QsBjQ':_0x20df50(0x103),'RMqGa':_0x20df50(0x199),'CLGlI':_0x20df50(0xba)};let _0x17995e;try{_0x17995e=helper[_0x20df50(0xce)](_0x4cd71e[_0x20df50(0x139)],_0x4cd71e['JHrvz']);}catch{const _0xdd22ef=helper['requireModule'](_0x4cd71e[_0x20df50(0x128)]);_0x17995e={'default':async _0x355a54=>{const _0x275403=await _0xdd22ef['readInitialOptions'](_0x355a54,{});return _0x275403['config'];}};}const _0x4916cd=_0x1c281e[_0x20df50(0x135)](_0x4a3c33=>_0x4a3c33==='--config');if(!helper['isUndefined'](_0x480d9f['config'])){logger[_0x20df50(0x12f)](_0x20df50(0x122)+_0x480d9f[_0x20df50(0x133)]),process['env'][_0x20df50(0x19f)]=_0x480d9f[_0x20df50(0x133)];const _0x3aa74f=await(0x0,_0x17995e['default'])(path[_0x20df50(0x114)](_0x480d9f['config']));return _0x1c281e[_0x20df50(0xd6)](_0x4916cd,0x2),_0x4cd71e['ZgTpE'](_0x3aa74f,{});}const _0x4fa489=_0x4cd71e[_0x20df50(0xc3)](require,path[_0x20df50(0x134)](process[_0x20df50(0xbf)](),_0x4cd71e[_0x20df50(0xc5)]));if(_0x4fa489[_0x20df50(0x188)])return logger[_0x20df50(0x12f)](_0x4cd71e[_0x20df50(0x132)]),_0x4fa489['jest'];const _0xebe44d=['js',_0x4cd71e[_0x20df50(0xb5)],_0x4cd71e[_0x20df50(0x123)],_0x4cd71e['CLGlI'],'ts'];for(const _0x497834 of _0xebe44d){const _0xdf4a15=path[_0x20df50(0x134)](process['cwd'](),_0x20df50(0x13e)+_0x497834);if(fs[_0x20df50(0x175)](_0xdf4a15)){process['env'][_0x20df50(0x19f)]=_0xdf4a15;const _0x368a91=await(0x0,_0x17995e[_0x20df50(0x161)])(_0xdf4a15);return _0x368a91;}}return{};},getSerial=(_0x2373c8,_0x1161fe)=>{const _0x29ef79=a17_0x58451a,_0x45efe0={};_0x45efe0[_0x29ef79(0x152)]='true',_0x45efe0['NjVIe']=function(_0xac5063,_0x790705){return _0xac5063>_0x790705;},_0x45efe0[_0x29ef79(0xd2)]=function(_0x4fb01e,_0x2e9d28){return _0x4fb01e>_0x2e9d28;},_0x45efe0[_0x29ef79(0xf6)]=_0x29ef79(0x104);const _0x455d91=_0x45efe0;let _0x2f34cb=_0x455d91[_0x29ef79(0x152)];return _0x455d91[_0x29ef79(0xa7)](_0x2373c8[_0x29ef79(0xde)],0x1)&&(!_0x1161fe[_0x29ef79(0x111)]&&(helper[_0x29ef79(0xe8)](_0x1161fe[_0x29ef79(0x171)])||_0x455d91[_0x29ef79(0xd2)](_0x1161fe[_0x29ef79(0x171)],0x1)))&&(_0x2f34cb=_0x455d91[_0x29ef79(0xf6)]),_0x2f34cb;},getMaxWorkers=(_0x1089cb,_0x4a1f47,_0xc8da51)=>{const _0x11e45c=a17_0x58451a,_0x291ab4={'LmFIO':function(_0x6fe1eb,_0x2a688b){return _0x6fe1eb(_0x2a688b);}};let _0x16bcf0=0x1;if(!helper[_0x11e45c(0xe8)](_0x4a1f47[_0x11e45c(0x12d)]))_0x16bcf0=_0x291ab4[_0x11e45c(0x16f)](parseInt,_0x4a1f47[_0x11e45c(0x12d)]);else{if(!helper[_0x11e45c(0xe8)](_0x1089cb[_0x11e45c(0x171)]))_0x16bcf0=_0x1089cb[_0x11e45c(0x171)];else!helper[_0x11e45c(0xe8)](_0xc8da51['maxWorkers'])&&(_0x16bcf0=_0xc8da51[_0x11e45c(0x171)]);}return _0x16bcf0;};function a17_0x5aba(_0xd08057,_0x425a52){const _0x11df9e=a17_0x11df();return a17_0x5aba=function(_0x5aba27,_0x288e5f){_0x5aba27=_0x5aba27-0xa2;let _0x3001b7=_0x11df9e[_0x5aba27];return _0x3001b7;},a17_0x5aba(_0xd08057,_0x425a52);}async function run(_0x85e2df,_0x2b763b,_0x2f6c28){const _0x515370=a17_0x58451a,_0x1ef147={'EfBAB':_0x515370(0x188),'jcJGW':function(_0x40cd43,_0x1cda32){return _0x40cd43(_0x1cda32);},'yIyhV':_0x515370(0x172),'ubgzA':function(_0x448816){return _0x448816();},'VIfJD':function(_0x3b9630,_0x2d5593,_0x4c3faa,_0x843f46){return _0x3b9630(_0x2d5593,_0x4c3faa,_0x843f46);},'tpQuD':function(_0x413ce7,_0x378d9b){return _0x413ce7!=_0x378d9b;},'bZYZK':_0x515370(0x173),'grINN':function(_0x36ad18,_0xe8b179,_0x4c888b){return _0x36ad18(_0xe8b179,_0x4c888b);},'sfZaq':_0x515370(0x154),'FrLEC':function(_0x93e8e3,_0x40b715){return _0x93e8e3(_0x40b715);},'zsmwR':function(_0x95b76a,_0x1479db){return _0x95b76a(_0x1479db);},'SXscI':_0x515370(0x104),'HQiDq':function(_0x103ed1,_0x346f25,_0x44d6f6,_0x53363c){return _0x103ed1(_0x346f25,_0x44d6f6,_0x53363c);},'mMEsm':function(_0x55d4a9,_0x10a849){return _0x55d4a9*_0x10a849;},'hLpXe':function(_0xc384,_0xf10dc0){return _0xc384===_0xf10dc0;},'ILQfG':_0x515370(0x10f),'zpIbc':_0x515370(0x195),'GVYBR':_0x515370(0xda),'Mmhxb':_0x515370(0xca),'iFHeJ':'customTestRunner.js','vQlpJ':_0x515370(0x194),'gTDMc':_0x515370(0xe6),'MGebQ':function(_0x1601bc,_0x1558ee){return _0x1601bc!==_0x1558ee;},'emhQB':_0x515370(0xf5),'XLwyi':_0x515370(0x183),'DzKNT':'jest.setup.js','bwbCk':_0x515370(0x15b),'JuaNl':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','yFeLy':_0x515370(0x1a0),'sBJUu':_0x515370(0xcc),'VsxBv':function(_0xdee328,_0x58d691){return _0xdee328(_0x58d691);},'BJBwj':'test-observability','BFMGr':_0x515370(0x16d),'HCBvB':_0x515370(0xd4),'PqHzy':_0x515370(0xd3),'sykPr':_0x515370(0xe0),'dpzRs':_0x515370(0x18c),'PwuGw':_0x515370(0x19b),'Pfwsa':'test.setup.js','eMxJn':_0x515370(0xe4),'GLdJc':function(_0x5c4848,_0x35a2e8){return _0x5c4848&&_0x35a2e8;},'XQyQF':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','TmTcD':_0x515370(0x16a),'ksCwZ':_0x515370(0xf7),'yyAtT':_0x515370(0x161),'ybdEs':function(_0x326efd,_0x580848,_0x5d9c72){return _0x326efd(_0x580848,_0x5d9c72);},'skblS':_0x515370(0xd8),'nSlad':_0x515370(0xfd),'JSNSh':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','lEcwV':function(_0x34efa6,_0x133e11){return _0x34efa6>_0x133e11;},'leGWm':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','OOUiJ':_0x515370(0x18f),'OVsfZ':function(_0x445eab,_0x1efb2d,_0x5a3c66,_0x3b64a1){return _0x445eab(_0x1efb2d,_0x5a3c66,_0x3b64a1);},'ASshg':_0x515370(0x1a1),'yFkso':function(_0x11aa63,_0x3ea2f9){return _0x11aa63===_0x3ea2f9;},'yJrDr':_0x515370(0xcd),'UTXlg':'inherit','EWOuf':_0x515370(0xab)},_0x373bf4=helper[_0x515370(0x10e)](_0x1ef147[_0x515370(0x109)]);global[_0x515370(0xd5)]=!!_0x373bf4;const _0x232c8e=_0x1ef147[_0x515370(0x143)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x232c8e;helper[_0x515370(0xb6)]()&&(await _0x2f6c28[_0x515370(0x147)](_0x85e2df),await helper[_0x515370(0x186)](_0x2f6c28[_0x515370(0x133)]));if(_0x373bf4)await _0x1ef147[_0x515370(0xbb)](checkPwandBootstrapCli,_0x373bf4,constants[_0x515370(0x185)][_0x515370(0xaa)],_0x2f6c28);else _0x232c8e&&await _0x1ef147[_0x515370(0xbb)](checkPuppeteerAndBootstrapCli,_0x232c8e,constants[_0x515370(0x185)][_0x515370(0xaa)],_0x2f6c28);!BrowserstackCLI['getInstance']()[_0x515370(0xe9)]()&&await _0x2f6c28[_0x515370(0x17a)]();if(!_0x2f6c28[_0x515370(0x133)])return;_0x1ef147[_0x515370(0x191)](_0x2f6c28[_0x515370(0x133)][_0x515370(0x137)],null)?process['env'][_0x515370(0xad)]=_0x2f6c28[_0x515370(0x133)][_0x515370(0x137)]:process[_0x515370(0xaf)][_0x515370(0xad)]=_0x1ef147['bZYZK'];const _0x3f31c2=new TestOrchestrationHandler(_0x2f6c28[_0x515370(0x133)]),_0xd9380=await _0x1ef147[_0x515370(0x107)](getUserJestConfigs,_0x85e2df,_0x2b763b);logger[_0x515370(0x12f)](_0x1ef147[_0x515370(0x16b)]);const _0x1fdb60=Object['assign']({},_0xd9380);_0x1fdb60[_0x515370(0x15e)]=Object[_0x515370(0x156)]({},_0x1fdb60[_0x515370(0x15e)],{'server':helper[_0x515370(0xcb)](_0x2f6c28[_0x515370(0x133)]),'environment':_0xd9380['testEnvironment']}),_0x1fdb60[_0x515370(0x15e)][_0x515370(0x198)]=_0x1ef147[_0x515370(0x184)](getPercyOptions,_0x2f6c28[_0x515370(0x133)]);const _0x121a40=helper[_0x515370(0xb7)](_0x2f6c28['config']);!helper['isUndefined'](_0x2f6c28[_0x515370(0x133)][_0x515370(0xf2)])&&(process[_0x515370(0xaf)][_0x515370(0x14f)]=JSON[_0x515370(0x18e)](_0x2f6c28[_0x515370(0x133)][_0x515370(0xf2)]));if(!BrowserstackCLI[_0x515370(0xe2)]()['isRunning']()){const _0x1ae3fc=await TestHubHandler[_0x515370(0x197)](FRAMEWORKS['JEST'],_0x2f6c28);}const _0x44db7a=helper[_0x515370(0x159)](_0x2f6c28[_0x515370(0x133)],_0x121a40,constants['FRAMEWORKS'][_0x515370(0xaa)]);process['env'][_0x515370(0xef)]=JSON[_0x515370(0x18e)](_0x44db7a);let _0x76bc17=_0x2f6c28[_0x515370(0x133)]['accessibility'];_0x76bc17=_0x76bc17||accessibilityHelper[_0x515370(0x14b)](_0x2f6c28[_0x515370(0x133)]),process[_0x515370(0xaf)][_0x515370(0x142)]=_0x76bc17,logger[_0x515370(0x12a)](_0x515370(0x112)+_0x76bc17+_0x515370(0xc4)+BrowserstackCLI[_0x515370(0xe2)]()['isRunning']());if(_0x373bf4)try{const _0x243b7a=_0x1ef147[_0x515370(0xf1)](checkAccessibilityPlatformConfig,_0x2f6c28[_0x515370(0x133)]);process[_0x515370(0xaf)][_0x515370(0x15c)]=_0x243b7a?_0x1ef147['bZYZK']:_0x1ef147[_0x515370(0x18b)],logger['debug'](_0x515370(0xb0)+_0x243b7a+_0x515370(0x14e)+process[_0x515370(0xaf)][_0x515370(0x15c)]);}catch(_0x33f05e){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x515370(0xa8)](_0x33f05e));}_0x1fdb60[_0x515370(0x15e)]['capabilities']=_0x44db7a,_0x1fdb60['testEnvironmentOptions']['serial__']=_0x1ef147[_0x515370(0x107)](getSerial,_0x44db7a,_0x85e2df),_0x1fdb60[_0x515370(0x15e)][_0x515370(0x11f)]=_0x1ef147[_0x515370(0xfe)](getMaxWorkers,_0x85e2df,_0x2f6c28[_0x515370(0x133)],_0xd9380),_0x1fdb60[_0x515370(0x15e)][_0x515370(0xa3)]=_0x2f6c28[_0x515370(0x133)][_0x515370(0xa3)],_0x1fdb60[_0x515370(0x15e)][_0x515370(0x11a)]=_0x1ef147[_0x515370(0xa6)](_0x85e2df['testTimeout'],0x1)||0x1388,_0x1fdb60[_0x515370(0x15e)][_0x515370(0xf0)]=_0x2f6c28[_0x515370(0x133)]['testContextOptions'][_0x515370(0xf0)],_0x1fdb60[_0x515370(0x15e)]['skipSessionStatus']=_0x2f6c28['config']['testContextOptions']['skipSessionStatus'],_0x1fdb60[_0x515370(0x15e)][_0x515370(0xf4)]=_0x2f6c28[_0x515370(0x133)][_0x515370(0x160)],_0x1fdb60[_0x515370(0x15e)][_0x515370(0x17c)]=_0x2f6c28['config'][_0x515370(0x17c)],_0x1fdb60[_0x515370(0x15e)]['platformCaps']=_0x2f6c28['config'][_0x515370(0xb2)];const _0x28e570=helper['parseTestOrchestrationOptions'](_0x2f6c28[_0x515370(0x133)]);if(!helper[_0x515370(0xc8)](_0x28e570)){helper[_0x515370(0x10c)](_0x28e570[_0x515370(0x190)])&&(_0x1fdb60[_0x515370(0x15e)][_0x515370(0x115)]=_0x28e570[_0x515370(0x190)][_0x515370(0xbd)]);if(helper['isNotUndefined'](_0x28e570['abortBuildOnFailure'])&&helper['isNotUndefined'](_0x28e570[_0x515370(0xff)]['workingDir'])){const _0x31d1db={};_0x31d1db[_0x515370(0x168)]=_0x28e570[_0x515370(0xff)][_0x515370(0x16c)],_0x31d1db['workingDir']=_0x28e570[_0x515370(0xff)]['workingDir'],_0x1fdb60[_0x515370(0x15e)][_0x515370(0xe7)]=_0x31d1db;}}let _0x11cfd0='';_0x1ef147[_0x515370(0xc7)](helper[_0x515370(0x1a2)](),constants[_0x515370(0x162)][_0x515370(0x129)])?_0x11cfd0=_0x1ef147[_0x515370(0x118)]:_0x11cfd0=_0x1ef147[_0x515370(0x13a)];const _0x4c4aa1=_0x11cfd0,_0x58bb85=path['join'](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147[_0x515370(0x10a)]),_0x1e011f=path[_0x515370(0x134)](__dirname,_0x1ef147['GVYBR'],_0x1ef147['iFHeJ']),_0x5b2420=path['join'](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147[_0x515370(0x138)]);_0x1fdb60['testEnvironment']&&(process[_0x515370(0xaf)][_0x515370(0x126)]=_0x1fdb60[_0x515370(0x141)]);_0x1fdb60[_0x515370(0x141)]=path[_0x515370(0x134)](__dirname,_0x1ef147['GVYBR'],_0x1ef147[_0x515370(0xe5)]);const _0x57e9f6=_0xd9380['runner'];if(_0x57e9f6&&_0x1ef147[_0x515370(0x146)](_0x57e9f6,_0x1ef147[_0x515370(0x144)])){const _0x45b32c=_0x57e9f6[_0x515370(0xc6)](_0x1ef147[_0x515370(0x15f)])?_0x57e9f6:_0x515370(0x183)+_0x57e9f6;process[_0x515370(0xaf)][_0x515370(0xdd)]=_0x45b32c,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x45b32c);}_0x1fdb60[_0x515370(0x196)]=_0x1e011f,_0x1fdb60['setupFilesAfterEnv']=_0x1fdb60[_0x515370(0x166)]||[],_0x1fdb60['setupFilesAfterEnv'][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147['DzKNT']));_0x3f31c2[_0x515370(0xf3)]()&&(_0x1fdb60['testSequencer']=path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147['bwbCk']));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x515370(0xe2)]()[_0x515370(0xe3)]()){let _0x2cd4ff=null;try{_0x2cd4ff=helper['requireModule'](_0x1ef147['JuaNl'],_0x1ef147['yFeLy']);}catch(_0x494287){try{_0x2cd4ff=helper[_0x515370(0xce)](_0x1ef147[_0x515370(0x131)],_0x1ef147[_0x515370(0xb1)]);}catch(_0x58671b){_0x1ef147[_0x515370(0xd9)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x58671b);}}_0x2cd4ff&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x1fdb60[_0x515370(0x166)][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x19a)],_0x1ef147[_0x515370(0xdb)])),_0x1fdb60[_0x515370(0x164)]=path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x116)],_0x1ef147['HCBvB']));}_0x1fdb60[_0x515370(0x19c)]=_0x1fdb60['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x1fdb60[_0x515370(0x19c)][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x13b)]));}catch{logger[_0x515370(0x12a)](_0x1ef147['sykPr']);}try{helper[_0x515370(0x182)][_0x515370(0x12b)](null,[_0x1ef147[_0x515370(0x109)],_0x1ef147[_0x515370(0x12c)]]),logger['debug'](_0x1ef147[_0x515370(0x119)]),_0x1fdb60[_0x515370(0x19c)][_0x515370(0x157)](path[_0x515370(0x134)](__dirname,_0x1ef147[_0x515370(0x18a)]));}catch(_0x188406){logger[_0x515370(0x12a)](_0x1ef147[_0x515370(0x10b)],_0x188406);}if(_0x1ef147[_0x515370(0x192)](!_0x373bf4,_0x232c8e)){try{logger[_0x515370(0x12a)](_0x1ef147[_0x515370(0xd1)]),_0x1fdb60[_0x515370(0x166)][_0x515370(0x157)](path['join'](__dirname,'..',_0x1ef147[_0x515370(0x148)],_0x1ef147[_0x515370(0x18a)]));}catch(_0x18515c){logger[_0x515370(0x12a)](_0x515370(0x127)+_0x18515c[_0x515370(0xa2)]);}try{const _0x373c3c=require[_0x515370(0x114)](_0x1ef147[_0x515370(0x113)]),_0x33ad19=path[_0x515370(0x14a)](_0x373c3c)[_0x515370(0xdc)](/\\/g,'/'),_0x191890={};_0x191890['^puppeteer-core/internal/(.*)']=_0x33ad19+_0x515370(0x18d),_0x1fdb60[_0x515370(0xb9)]=Object[_0x515370(0x156)]({},_0x1fdb60[_0x515370(0xb9)]||{},_0x191890),logger[_0x515370(0x12a)](_0x515370(0x11c)+_0x33ad19);}catch(_0xdd738f){logger[_0x515370(0x12a)](_0x515370(0x14d)+_0xdd738f[_0x515370(0xa2)]);}}_0x1fdb60[_0x515370(0xec)]=_0x1fdb60['reporters']||[_0x1ef147[_0x515370(0x13c)]],_0x1ef147['ybdEs'](updateTestRerunConfig,_0x1fdb60,_0x2f6c28);const _0x3a605b=fs[_0x515370(0xa4)](_0x5b2420),_0x3a3f23=helper[_0x515370(0xe1)](_0x1ef147[_0x515370(0xd0)],_0x1ef147['nSlad']);!_0x3a3f23[_0x515370(0xae)]?fs[_0x515370(0xf8)](_0x1fdb60[_0x515370(0x196)],_0x515370(0x163)+_0x3a605b+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x2f6c28[_0x515370(0x133)][_0x515370(0xb2)][_0x515370(0xde)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs[_0x515370(0xf8)](_0x1fdb60[_0x515370(0x196)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x3a605b+_0x515370(0x125)+_0x2f6c28[_0x515370(0x133)][_0x515370(0xb2)][_0x515370(0xde)]+_0x515370(0x181));logger[_0x515370(0x12f)](_0x515370(0x158)+_0x4c4aa1+_0x515370(0x140)),fs[_0x515370(0xf8)](_0x4c4aa1,'const\x20config='+JSON[_0x515370(0x18e)](_0x1fdb60)+_0x515370(0xb4));if(_0x3f31c2[_0x515370(0xf3)]()){logger['debug'](_0x1ef147[_0x515370(0x12e)]);const _0x3c1030=await _0x3f31c2[_0x515370(0xc1)](_0x1fdb60,_0x2b763b['slice'](0x1),_0x4c4aa1);logger['debug'](_0x515370(0xed)+JSON[_0x515370(0x18e)](_0x3c1030)+_0x515370(0x101));const _0x14f624=await _0x3f31c2[_0x515370(0x17f)](_0x3c1030);logger[_0x515370(0x12a)](_0x515370(0x153)+JSON[_0x515370(0x18e)](_0x14f624)),_0x14f624&&_0x1ef147[_0x515370(0x155)](_0x14f624[_0x515370(0xde)],0x0)&&(process[_0x515370(0xaf)]['JEST_TEST_ORDER']=_0x14f624?.['join'](','));}logger['info'](_0x1ef147[_0x515370(0xa9)]);testhubUtils[_0x515370(0x121)]()&&TestDetails[_0x515370(0x150)]();helper[_0x515370(0x108)]({},_0x2b763b),PerformanceTester[_0x515370(0x193)](PerformanceEvents['SDK_SETUP']);const _0x44700e=[_0x1ef147[_0x515370(0x11d)],_0x1ef147[_0x515370(0x169)],_0x4c4aa1,..._0x2b763b[_0x515370(0xbe)](0x1)];process[_0x515370(0xaf)][_0x515370(0x178)]=process[_0x515370(0xaf)][_0x515370(0x178)]||_0x1ef147[_0x515370(0x11d)];const _0x2ba31d=_0x1ef147[_0x515370(0x165)](spawn,_0x1ef147[_0x515370(0x14c)],_0x44700e,{'shell':_0x1ef147[_0x515370(0xd7)](process[_0x515370(0xbc)],_0x1ef147[_0x515370(0xb8)]),'stdio':_0x1ef147[_0x515370(0x106)],'env':Object['assign']({},process[_0x515370(0xaf)])});_0x2ba31d['on'](_0x1ef147['EWOuf'],async _0x449f26=>{const _0x49c46c=_0x515370;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),process[_0x49c46c(0x13d)]=_0x449f26,logger[_0x49c46c(0x12a)](_0x49c46c(0x170)+_0x449f26),logger['info'](_0x49c46c(0xf9)+_0x4c4aa1);if(helper['isNotUndefined'](_0x28e570)&&helper['isNotUndefined'](_0x28e570[_0x49c46c(0xff)])&&fs[_0x49c46c(0x175)](_0x28e570[_0x49c46c(0xff)][_0x49c46c(0x145)]))try{const _0x5c04eb={};_0x5c04eb['recursive']=!![],_0x5c04eb[_0x49c46c(0xb3)]=!![],fs['rmSync'](_0x28e570['abortBuildOnFailure'][_0x49c46c(0x145)],_0x5c04eb),logger[_0x49c46c(0x12a)](_0x49c46c(0x174)+_0x28e570[_0x49c46c(0xff)][_0x49c46c(0x145)]);}catch(_0x1ab57c){logger[_0x49c46c(0xae)](_0x49c46c(0x10d)+_0x1ab57c);}let _0x525ee9=null;if(fs[_0x49c46c(0x175)](_0x58bb85)){_0x525ee9=fs[_0x49c46c(0xa4)](_0x58bb85);try{_0x525ee9=JSON[_0x49c46c(0x176)](_0x525ee9);}catch(_0x5772a8){logger['debug'](_0x49c46c(0x189)+_0x58bb85+',\x20'+_0x525ee9+'\x20:\x20'+_0x5772a8);}fs['unlinkSync'](_0x58bb85);}fs['unlinkSync'](_0x4c4aa1),fs[_0x49c46c(0x15d)](_0x1e011f),_0x525ee9&&(_0x2f6c28['errorMessage']=helper[_0x49c46c(0x130)](_0x525ee9,_0x1ef147[_0x49c46c(0x11d)],_0x2f6c28));const _0xc15f28=BrowserstackCLI[_0x49c46c(0x15a)]();try{await TestHubHandler[_0x49c46c(0x179)](),await BrowserstackCLI[_0x49c46c(0xe2)]()[_0x49c46c(0x179)]();}catch(_0x3b51a1){console['log'](_0x3b51a1),_0x1ef147['jcJGW'](debug,_0x49c46c(0x17d)+util[_0x49c46c(0xa8)](_0x3b51a1));}testOpsHelper[_0x49c46c(0x17b)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x2f6c28,_0xc15f28);});}module['exports']=run;function a17_0x11df(){const _0x30c341=['BSTACK_USER_JEST_RUNNER','length','../../helpers/test-observability/utils','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','resolveModule','getInstance','isCliEnabled','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','gTDMc','customEnvironment.js','failFast','isUndefined','isRunning','6382909tDWoYD','./test-observability/test-details','reporters','Found:\x20','238821pTETLF','BROWSERSTACK_CAPABILITIES','skipSessionName','zsmwR','accessibilityOptions','isTestOrchestrationEnabled','browserStackLogLevel','jest-runner','OcyaV','puppeteer-core/package.json','writeFileSync','Deleting\x20','8ukZzNT','176014LWnXkZ','3190xIQYrY','@jest/core','HQiDq','abortBuildOnFailure','../../helpers/utilities','\x20test\x20files\x20to\x20run.','../../helpers/performance/constants','mjs','false','2624655FGXhzJ','UTXlg','grINN','filterBrowserstackArgs','yIyhV','Mmhxb','eMxJn','isNotUndefined','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','getPackageVersion','jest_browserstack.config.cjs','jest-config','runInBand','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','ksCwZ','resolve','retries__','GVYBR','12GGcfxH','ILQfG','PwuGw','timeout__','../../helpers/test-observability/constants','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','EfBAB','1205dIRTjF','parallels__','./test-observability/helper','shouldProcessEventForTesthub','Getting\x20your\x20jest\x20configs\x20from\x20','RMqGa','package.json','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','BSTACK_JEST_TEST_ENV','Puppeteer\x20setup\x20error:\x20','JHrvz','MODULE','debug','apply','dpzRs','parallelsPerPlatform','JSNSh','info','getErrorMessageFromResults','sBJUu','BRjYM','config','join','findIndex','3824hrxONW','testObservability','vQlpJ','IOFaC','zpIbc','PqHzy','yyAtT','exitCode','jest.config.','../../helpers/testhub/utils','\x20with\x20browserstack\x20jest\x20configs','testEnvironment','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ubgzA','emhQB','workingDir','MGebQ','initialize','TmTcD','../../helpers/puppeteer-helper','dirname','checkAccessibilityPlatformConfig','ASshg','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setup','../utils/constants','TSHeE','Reodered\x20Test\x20Files:\x20','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','lEcwV','assign','push','Creating\x20','prepareCapabilities','isCLIEnabled','customSequencer.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','unlinkSync','testEnvironmentOptions','XLwyi','logLevel','default','PACKAGE_TYPE','\x0a\x20\x20\x20\x20\x20\x20','testRunner','OVsfZ','setupFilesAfterEnv','child_process','failureThresholdCount','OOUiJ','puppeteer','sfZaq','maxFailures','data-hooks.js','../../helpers/BrowserStackSetup','LmFIO','child\x20process\x20exited\x20with\x20code\x20','maxWorkers','@playwright/test','true','Deleted\x20fail-fast\x20state\x20folder:\x20','existsSync','parse','3vpPNic','BROWSERSTACK_FRAMEWORK','stop','setupBrowserstackLocal','printBuildLink','turboScaleUrl','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','jest-config/build/readConfigFileAndSetRootDir.js','reorderTestFiles','3846BakTPM',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','requirePWModule','jest-runner-','FrLEC','FRAMEWORKS','handleApp','7092jSbEEh','jest','Error\x20while\x20parsing\x20','Pfwsa','SXscI','playwright','/internal/$1','stringify','--config','retryTestsOnFailure','tpQuD','GLdJc','end','customTestRunnerTemplate.js','jest_browserstack.config.js','runner','launchBuild','browserStackPercyOptions','cjs','BJBwj','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','setupFiles','../../helpers/accessibility-automation/helper','1491GpAodz','USER_CONFIG_DETAILS_PATH','jest-circus','npx','getPackageType','message','proxySettings','readFileSync','../../helpers/testhub/testhubHandler','mMEsm','NjVIe','format','leGWm','JEST','close','../../helpers/playwright-helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','error','env','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','yFeLy','platforms','force','\x0amodule.exports\x20=\x20config;','QsBjQ','isBrowserstackInfra','useW3C','yJrDr','moduleNameMapper','json','VIfJD','platform','maxRetries','slice','cwd','../../helpers/percy/utils','findTestFiles','../utils/clientTroubleshootingService','gvFdp',',\x20CLI\x20running:\x20','bmdpO','startsWith','hLpXe','isEmpty','../../helpers/helper','jest_browserstack_results.json','getHubUrl','jest-circus/build/runner.js','win32','requireModule','winstonLogger','skblS','XQyQF','aWtbc','test_before.setup.js','customCircus.js','__isPlaywrightInstalled','splice','yFkso','@jest/core/build/ReporterDispatcher.js','VsxBv','customImplements','BFMGr','replace'];a17_0x11df=function(){return _0x30c341;};return a17_0x11df();}
2
+ 'use strict';const a17_0x3422d6=a17_0x2423;(function(_0x3132e9,_0x1b25e8){const _0x54ba16=a17_0x2423,_0x57fdba=_0x3132e9();while(!![]){try{const _0x4c5b09=-parseInt(_0x54ba16(0x1dc))/0x1+-parseInt(_0x54ba16(0x10e))/0x2+parseInt(_0x54ba16(0x1de))/0x3+-parseInt(_0x54ba16(0x1e8))/0x4+parseInt(_0x54ba16(0x1bf))/0x5+-parseInt(_0x54ba16(0x167))/0x6+parseInt(_0x54ba16(0x10c))/0x7*(parseInt(_0x54ba16(0x120))/0x8);if(_0x4c5b09===_0x1b25e8)break;else _0x57fdba['push'](_0x57fdba['shift']());}catch(_0x23a2ec){_0x57fdba['push'](_0x57fdba['shift']());}}}(a17_0x3562,0xd48c5));function a17_0x2423(_0x565a00,_0x36b141){const _0x356240=a17_0x3562();return a17_0x2423=function(_0x2423b2,_0x256e5a){_0x2423b2=_0x2423b2-0xf4;let _0x3234c9=_0x356240[_0x2423b2];return _0x3234c9;},a17_0x2423(_0x565a00,_0x36b141);}function a17_0x3562(){const _0x57cdb4=['cwd','test.setup.js','554778NKxvrw','\x20test\x20files\x20to\x20run.','1540640tDMvzO','wXeuK','assign','parseTestOrchestrationOptions','QxIfr','zYiCc','browserStackPercyOptions','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','parse',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','proxySettings','timeout__','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','BSTACK_USER_JEST_RUNNER','force','EVENTS','testEnvironmentOptions','SOzFs','80DskIPy','bPFIT','jest_browserstack.config.js','./test-observability/test-details','unRpv','lKWak','BROWSERSTACK_TEST_OBSERVABILITY_YML','cFpgW','setupFiles','tsoIP','../../helpers/puppeteer-helper','testEnvironment','BROWSERSTACK_FRAMEWORK','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','BSTACK_JEST_TEST_ENV','jest-runner-','tGDbv','testContextOptions','VXNpi','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','../../helpers/test-observability/constants','handleApp','fcJPz','ZktVz','useW3C','printBuildLink','\x0a\x20\x20\x20\x20\x20\x20','LMYUp','WgHip','isCLIEnabled','apply','xmMZY','../../helpers/playwright-helper','SDK_SETUP','USER_CONFIG_DETAILS_PATH','jest-config','win32','../../helpers/logger','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','unlinkSync','setupFilesAfterEnv','Deleting\x20','accessibility','../../helpers/performance/performance-tester','abortBuildOnFailure','--config','writeFileSync','errorMessage','path','Kfrja','customEnvironment.js','requirePWModule','findIndex',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','reporters','PitFX','requireModule','vibBA','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','join','retryTestsOnFailure','../../helpers/performance/constants','XQaty','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','../../helpers/test-observability/utils','Unable\x20to\x20find\x20jest-circus,\x20','isUndefined','@playwright/test','platforms','../../helpers/testhub/testhubHandler','JEST_TEST_ORDER','98556DccvRT','parallels__','existsSync','testRunner','customImplements','KYpNK','jest_browserstack_results.json','RskCr','bdDEy','qdyEs','jest.setup.js','lIJfM','/internal/$1','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','dirname','serial__','const\x20config=','jest.config.','MODULE','moduleNameMapper','PbbsF','../../helpers/utilities','isBrowserstackInfra','testObservability','maxRetries','format','initialize','exports','../../helpers/helper','../utils/clientTroubleshootingService','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','message','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','jest-runner','end','package.json','recursive','logLevel','FRAMEWORKS','iUTqB','default','Reodered\x20Test\x20Files:\x20','OEYjh','\x0amodule.exports\x20=\x20config;','finalExecution','jest','debug','JEST','workingDir','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','length','config','resolve','isNotUndefined','stringify','findTestFiles','resolveModule','winstonLogger','isCliEnabled','__isPuppeteerInstalled','jClwG','jest-circus/build/runner.js','OxLHx','data-hooks.js','parallelsPerPlatform','skipSessionStatus','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','TlAid','kSKUx','PACKAGE_TYPE','beVbF','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','KEuVG','startsWith','stop','REBgK','cjs','child_process','POXII','Getting\x20your\x20jest\x20configs\x20from\x20package.json','requireSeleniumWebdriver','readFileSync','true','rmSync','getErrorMessageFromResults','splice','getPackageType','7672455INpjRc','testSequencer','\x20:\x20','CTQpo','setup','getPackageVersion','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','push','ffEKe','accessibilityOptions','VdChy','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','log','customCircus.js','NDsXB','\x20with\x20browserstack\x20jest\x20configs','puppeteer-core/package.json','env',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','shouldProcessEventForTesthub','json','runner','../../helpers/test-orchestration/testOrchestrationHandler','setupBrowserstackLocal','customSequencer.js','slice','KrvHn','isEmpty','isTestOrchestrationEnabled','647531SqoFeL','../../helpers/percy/utils','4794216duZBKr','SDK_CLEANUP','error',',\x20CLI\x20running:\x20','isRunning','checkAccessibilityPlatformConfig','turboScaleUrl','playwright','gxfKn','platform','6480916aYemyy','jLLuJ','dPZxg','filterBrowserstackArgs','tNWyC','getInstance','info','close','customTestRunner.js','^puppeteer-core/internal/(.*)','puppeteer','child\x20process\x20exited\x20with\x20code\x20','mjs','anQWo','Creating\x20','dPDgi','failureThresholdCount','XnyaO','retries__','maxWorkers','../../helpers/accessibility-automation/helper','hXTfu','YHTKE'];a17_0x3562=function(){return _0x57cdb4;};return a17_0x3562();}const fs=require('fs'),path=require(a17_0x3422d6(0x150)),util=require('util'),{spawn}=require(a17_0x3422d6(0x1b5)),logger=require(a17_0x3422d6(0x145))[a17_0x3422d6(0x1a1)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a17_0x3422d6(0x184)),utilities=require(a17_0x3422d6(0x17d)),constants=require('../utils/constants'),accessibilityHelper=require(a17_0x3422d6(0x107)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a17_0x3422d6(0x160)),{debug}=require(a17_0x3422d6(0x160)),TestDetails=require(a17_0x3422d6(0x123)),{getPercyOptions}=require(a17_0x3422d6(0x1dd)),TestHubHandler=require(a17_0x3422d6(0x165)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a17_0x3422d6(0x134)),PerformanceTester=require(a17_0x3422d6(0x14b)),PerformanceEvents=require(a17_0x3422d6(0x15d))[a17_0x3422d6(0x11d)],TestOrchestrationHandler=require(a17_0x3422d6(0x1d5)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a17_0x3422d6(0x140)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a17_0x3422d6(0x12a)),ClientTroubleShootingService=require(a17_0x3422d6(0x185)),{checkAccessibilityPlatformConfig}=require(a17_0x3422d6(0x107)),getUserJestConfigs=async(_0x5b9c4f,_0xf82661)=>{const _0x2e84b8=a17_0x3422d6,_0x3938a2={'unRpv':'jest-config/build/readConfigFileAndSetRootDir.js','NDsXB':_0x2e84b8(0x143),'bdDEy':function(_0x55d17f,_0x38c730){return _0x55d17f||_0x38c730;},'REBgK':function(_0x2875e1,_0x4f3e7f){return _0x2875e1(_0x4f3e7f);},'VdChy':_0x2e84b8(0x18b),'lIJfM':_0x2e84b8(0x1b7),'iUTqB':_0x2e84b8(0xff),'CTQpo':_0x2e84b8(0x1b4),'hXTfu':_0x2e84b8(0x1d3)};let _0x27ea04;try{_0x27ea04=helper['requireModule'](_0x3938a2[_0x2e84b8(0x124)],_0x3938a2[_0x2e84b8(0x1cd)]);}catch{const _0x193b21=helper['requireModule'](_0x3938a2[_0x2e84b8(0x1cd)]);_0x27ea04={'default':async _0x10395d=>{const _0x310393=_0x2e84b8,_0x5e754c=await _0x193b21['readInitialOptions'](_0x10395d,{});return _0x5e754c[_0x310393(0x19b)];}};}const _0x37c320=_0xf82661[_0x2e84b8(0x154)](_0x475cb5=>_0x475cb5===_0x2e84b8(0x14d));if(!helper['isUndefined'](_0x5b9c4f[_0x2e84b8(0x19b)])){logger[_0x2e84b8(0xf9)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x5b9c4f[_0x2e84b8(0x19b)]),process[_0x2e84b8(0x1d0)][_0x2e84b8(0x142)]=_0x5b9c4f[_0x2e84b8(0x19b)];const _0x2a4371=await(0x0,_0x27ea04['default'])(path[_0x2e84b8(0x19c)](_0x5b9c4f['config']));return _0xf82661[_0x2e84b8(0x1bd)](_0x37c320,0x2),_0x3938a2[_0x2e84b8(0x16f)](_0x2a4371,{});}const _0x2b517c=_0x3938a2[_0x2e84b8(0x1b3)](require,path[_0x2e84b8(0x15b)](process[_0x2e84b8(0x10a)](),_0x3938a2[_0x2e84b8(0x1c9)]));if(_0x2b517c['jest'])return logger['info'](_0x3938a2[_0x2e84b8(0x172)]),_0x2b517c[_0x2e84b8(0x195)];const _0x2f9234=['js',_0x3938a2[_0x2e84b8(0x18f)],_0x3938a2[_0x2e84b8(0x1c2)],_0x3938a2[_0x2e84b8(0x108)],'ts'];for(const _0x201326 of _0x2f9234){const _0x129d5f=path[_0x2e84b8(0x15b)](process['cwd'](),_0x2e84b8(0x179)+_0x201326);if(fs[_0x2e84b8(0x169)](_0x129d5f)){process[_0x2e84b8(0x1d0)][_0x2e84b8(0x142)]=_0x129d5f;const _0x433fb2=await(0x0,_0x27ea04[_0x2e84b8(0x190)])(_0x129d5f);return _0x433fb2;}}return{};},getSerial=(_0x4dab3b,_0x3161bb)=>{const _0x21cd9e=a17_0x3422d6,_0x4578c1={};_0x4578c1[_0x21cd9e(0x151)]=_0x21cd9e(0x1ba),_0x4578c1[_0x21cd9e(0x121)]=function(_0xeca1ff,_0x487adc){return _0xeca1ff>_0x487adc;},_0x4578c1['KEuVG']='false';const _0x9d1a78=_0x4578c1;let _0x16d8c0=_0x9d1a78[_0x21cd9e(0x151)];return _0x9d1a78['bPFIT'](_0x4dab3b['length'],0x1)&&(!_0x3161bb['runInBand']&&(helper['isUndefined'](_0x3161bb['maxWorkers'])||_0x9d1a78[_0x21cd9e(0x121)](_0x3161bb[_0x21cd9e(0x106)],0x1)))&&(_0x16d8c0=_0x9d1a78[_0x21cd9e(0x1b0)]),_0x16d8c0;},getMaxWorkers=(_0x5c8be0,_0x4fba3b,_0x5596c9)=>{const _0x180514=a17_0x3422d6,_0x1c1df0={'ffEKe':function(_0x145e96,_0x22ae72){return _0x145e96(_0x22ae72);}};let _0x1bc568=0x1;if(!helper['isUndefined'](_0x4fba3b[_0x180514(0x1a8)]))_0x1bc568=_0x1c1df0[_0x180514(0x1c7)](parseInt,_0x4fba3b[_0x180514(0x1a8)]);else{if(!helper[_0x180514(0x162)](_0x5c8be0[_0x180514(0x106)]))_0x1bc568=_0x5c8be0['maxWorkers'];else!helper['isUndefined'](_0x5596c9[_0x180514(0x106)])&&(_0x1bc568=_0x5596c9[_0x180514(0x106)]);}return _0x1bc568;};async function run(_0x5df61b,_0x26cadc,_0x58827c){const _0x2365ff=a17_0x3422d6,_0x5e9278={'anQWo':_0x2365ff(0x195),'lKWak':function(_0x27a67d,_0x5c14db){return _0x27a67d(_0x5c14db);},'KYpNK':_0x2365ff(0x163),'YHTKE':function(_0x318c66){return _0x318c66();},'KFuYP':function(_0x5e5c49,_0x1c1d9b,_0x33c372,_0x24ab8b){return _0x5e5c49(_0x1c1d9b,_0x33c372,_0x24ab8b);},'jLLuJ':function(_0x3b6c36,_0x2d1270,_0x26c1fb,_0x2b6543){return _0x3b6c36(_0x2d1270,_0x26c1fb,_0x2b6543);},'tGDbv':function(_0x42af9e,_0x467adb){return _0x42af9e!=_0x467adb;},'mNWAi':'true','GblAl':function(_0x375bce,_0x263e40,_0x314fba){return _0x375bce(_0x263e40,_0x314fba);},'oKifr':_0x2365ff(0x1aa),'vibBA':function(_0x53ed79,_0x5d89a6){return _0x53ed79(_0x5d89a6);},'OxLHx':function(_0x2452b9,_0x500313){return _0x2452b9(_0x500313);},'UguPR':'false','PbbsF':function(_0x1afcb5,_0x1e2ecc,_0x53392b){return _0x1afcb5(_0x1e2ecc,_0x53392b);},'WFsFC':function(_0x39ed40,_0x26a854,_0x2fb6a0,_0x5360ff){return _0x39ed40(_0x26a854,_0x2fb6a0,_0x5360ff);},'xmMZY':function(_0x405fde,_0x420655){return _0x405fde*_0x420655;},'afTFw':function(_0x6c9f02,_0x1ba742){return _0x6c9f02===_0x1ba742;},'jClwG':'jest_browserstack.config.cjs','xIpjl':_0x2365ff(0x122),'KrvHn':_0x2365ff(0x16b),'dPZxg':_0x2365ff(0x16d),'MfaEl':_0x2365ff(0xfb),'zYiCc':'customTestRunnerTemplate.js','uPbBH':_0x2365ff(0x152),'tNWyC':function(_0x2dcd5b,_0x3d36d8){return _0x2dcd5b!==_0x3d36d8;},'UbpSg':_0x2365ff(0x189),'jWtdV':_0x2365ff(0x12f),'WgHip':_0x2365ff(0x171),'OEYjh':_0x2365ff(0x1d7),'rdkOU':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','qYLfz':'jest-circus','QxIfr':_0x2365ff(0x1a5),'xciiQ':function(_0x50b4d0,_0x504495){return _0x50b4d0(_0x504495);},'VXNpi':'test-observability','qdyEs':_0x2365ff(0x1a7),'QQyDX':_0x2365ff(0x1cc),'XQaty':'test_before.setup.js','POXII':_0x2365ff(0x12d),'CdbPU':_0x2365ff(0x1e5),'wXeuK':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','SOzFs':_0x2365ff(0x10b),'fcJPz':_0x2365ff(0x174),'beVbF':function(_0xc3a599,_0x109da6){return _0xc3a599&&_0x109da6;},'gxfKn':_0x2365ff(0x133),'cFpgW':_0x2365ff(0xfd),'kSKUx':_0x2365ff(0x1cf),'dPDgi':_0x2365ff(0x190),'RskCr':function(_0x3b4103,_0x371300,_0x13bf3d){return _0x3b4103(_0x371300,_0x13bf3d);},'JVOLd':'@jest/core/build/ReporterDispatcher.js','wVOiX':'@jest/core','LMYUp':_0x2365ff(0x1c5),'ZktVz':function(_0x407a73,_0x237674){return _0x407a73>_0x237674;},'bAyfw':_0x2365ff(0x146),'FydyT':_0x2365ff(0x14d),'TlAid':'npx','XnyaO':function(_0x4da91c,_0x4b4b54){return _0x4da91c===_0x4b4b54;},'PitFX':_0x2365ff(0x144),'slhkr':'inherit','tsoIP':_0x2365ff(0xfa)},_0x2b3309=helper[_0x2365ff(0x1c4)](_0x5e9278[_0x2365ff(0x16c)]);global['__isPlaywrightInstalled']=!!_0x2b3309;const _0x5487e7=_0x5e9278[_0x2365ff(0x109)](getPuppeteerVersion);global[_0x2365ff(0x1a3)]=!!_0x5487e7;helper[_0x2365ff(0x17e)]()&&(await _0x58827c[_0x2365ff(0x182)](_0x5df61b),await helper[_0x2365ff(0x135)](_0x58827c[_0x2365ff(0x19b)]));if(_0x2b3309)await _0x5e9278['KFuYP'](checkPwandBootstrapCli,_0x2b3309,constants[_0x2365ff(0x18e)]['JEST'],_0x58827c);else _0x5487e7&&await _0x5e9278['jLLuJ'](checkPuppeteerAndBootstrapCli,_0x5487e7,constants[_0x2365ff(0x18e)][_0x2365ff(0x197)],_0x58827c);!BrowserstackCLI[_0x2365ff(0xf8)]()[_0x2365ff(0x1e2)]()&&await _0x58827c[_0x2365ff(0x1d6)]();if(!_0x58827c[_0x2365ff(0x19b)])return;_0x5e9278[_0x2365ff(0x130)](_0x58827c[_0x2365ff(0x19b)][_0x2365ff(0x17f)],null)?process['env'][_0x2365ff(0x126)]=_0x58827c['config'][_0x2365ff(0x17f)]:process[_0x2365ff(0x1d0)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5e9278['mNWAi'];const _0x1e75db=new TestOrchestrationHandler(_0x58827c['config']),_0xed4333=await _0x5e9278['GblAl'](getUserJestConfigs,_0x5df61b,_0x26cadc);logger[_0x2365ff(0xf9)](_0x5e9278['oKifr']);const _0x44015e=Object[_0x2365ff(0x110)]({},_0xed4333);_0x44015e[_0x2365ff(0x11e)]=Object[_0x2365ff(0x110)]({},_0x44015e[_0x2365ff(0x11e)],{'server':helper['getHubUrl'](_0x58827c[_0x2365ff(0x19b)]),'environment':_0xed4333[_0x2365ff(0x12b)]}),_0x44015e[_0x2365ff(0x11e)][_0x2365ff(0x114)]=_0x5e9278[_0x2365ff(0x159)](getPercyOptions,_0x58827c[_0x2365ff(0x19b)]);const _0xadf65=helper[_0x2365ff(0x138)](_0x58827c[_0x2365ff(0x19b)]);!helper[_0x2365ff(0x162)](_0x58827c[_0x2365ff(0x19b)]['accessibilityOptions'])&&(process[_0x2365ff(0x1d0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2365ff(0x19e)](_0x58827c['config'][_0x2365ff(0x1c8)]));if(!BrowserstackCLI[_0x2365ff(0xf8)]()['isRunning']()){const _0x54b466=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2365ff(0x197)],_0x58827c);}const _0x381479=helper['prepareCapabilities'](_0x58827c['config'],_0xadf65,constants[_0x2365ff(0x18e)][_0x2365ff(0x197)]);process['env']['BROWSERSTACK_CAPABILITIES']=JSON['stringify'](_0x381479);let _0x170b9e=_0x58827c[_0x2365ff(0x19b)][_0x2365ff(0x14a)];_0x170b9e=_0x170b9e||accessibilityHelper[_0x2365ff(0x1e3)](_0x58827c[_0x2365ff(0x19b)]),process[_0x2365ff(0x1d0)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x170b9e,logger[_0x2365ff(0x196)](_0x2365ff(0x175)+_0x170b9e+_0x2365ff(0x1e1)+BrowserstackCLI[_0x2365ff(0xf8)]()['isRunning']());if(_0x2b3309)try{const _0x3f0098=_0x5e9278[_0x2365ff(0x1a6)](checkAccessibilityPlatformConfig,_0x58827c[_0x2365ff(0x19b)]);process[_0x2365ff(0x1d0)][_0x2365ff(0x1ca)]=_0x3f0098?_0x5e9278['mNWAi']:_0x5e9278['UguPR'],logger[_0x2365ff(0x196)](_0x2365ff(0x186)+_0x3f0098+_0x2365ff(0x1d1)+process[_0x2365ff(0x1d0)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x1108bc){logger[_0x2365ff(0x196)](_0x2365ff(0x15a)+util[_0x2365ff(0x181)](_0x1108bc));}_0x44015e[_0x2365ff(0x11e)]['capabilities']=_0x381479,_0x44015e[_0x2365ff(0x11e)][_0x2365ff(0x177)]=_0x5e9278[_0x2365ff(0x17c)](getSerial,_0x381479,_0x5df61b),_0x44015e[_0x2365ff(0x11e)][_0x2365ff(0x168)]=_0x5e9278['WFsFC'](getMaxWorkers,_0x5df61b,_0x58827c[_0x2365ff(0x19b)],_0xed4333),_0x44015e[_0x2365ff(0x11e)][_0x2365ff(0x118)]=_0x58827c[_0x2365ff(0x19b)][_0x2365ff(0x118)],_0x44015e[_0x2365ff(0x11e)][_0x2365ff(0x119)]=_0x5e9278[_0x2365ff(0x13f)](_0x5df61b['testTimeout'],0x1)||0x1388,_0x44015e[_0x2365ff(0x11e)]['skipSessionName']=_0x58827c[_0x2365ff(0x19b)][_0x2365ff(0x131)]['skipSessionName'],_0x44015e['testEnvironmentOptions'][_0x2365ff(0x1a9)]=_0x58827c[_0x2365ff(0x19b)][_0x2365ff(0x131)]['skipSessionStatus'],_0x44015e[_0x2365ff(0x11e)]['browserStackLogLevel']=_0x58827c[_0x2365ff(0x19b)][_0x2365ff(0x18d)],_0x44015e[_0x2365ff(0x11e)][_0x2365ff(0x1e4)]=_0x58827c['config'][_0x2365ff(0x1e4)],_0x44015e['testEnvironmentOptions']['platformCaps']=_0x58827c['config'][_0x2365ff(0x164)];const _0x2cf20a=helper[_0x2365ff(0x111)](_0x58827c[_0x2365ff(0x19b)]);if(!helper[_0x2365ff(0x1da)](_0x2cf20a)){helper[_0x2365ff(0x19d)](_0x2cf20a['retryTestsOnFailure'])&&(_0x44015e[_0x2365ff(0x11e)][_0x2365ff(0x105)]=_0x2cf20a[_0x2365ff(0x15c)][_0x2365ff(0x180)]);if(helper[_0x2365ff(0x19d)](_0x2cf20a[_0x2365ff(0x14c)])&&helper[_0x2365ff(0x19d)](_0x2cf20a['abortBuildOnFailure'][_0x2365ff(0x198)])){const _0x5c32d6={};_0x5c32d6[_0x2365ff(0x103)]=_0x2cf20a['abortBuildOnFailure']['maxFailures'],_0x5c32d6['workingDir']=_0x2cf20a[_0x2365ff(0x14c)][_0x2365ff(0x198)],_0x44015e['testEnvironmentOptions']['failFast']=_0x5c32d6;}}let _0x550077='';_0x5e9278['afTFw'](helper[_0x2365ff(0x1be)](),constants[_0x2365ff(0x1ad)][_0x2365ff(0x17a)])?_0x550077=_0x5e9278[_0x2365ff(0x1a4)]:_0x550077=_0x5e9278['xIpjl'];const _0x10b492=_0x550077,_0x216dc8=path['join'](__dirname,_0x5e9278[_0x2365ff(0x1d9)],_0x5e9278[_0x2365ff(0xf5)]),_0x309843=path[_0x2365ff(0x15b)](__dirname,_0x5e9278[_0x2365ff(0x1d9)],_0x5e9278['MfaEl']),_0x277d47=path[_0x2365ff(0x15b)](__dirname,_0x5e9278['KrvHn'],_0x5e9278[_0x2365ff(0x113)]);_0x44015e[_0x2365ff(0x12b)]&&(process[_0x2365ff(0x1d0)][_0x2365ff(0x12e)]=_0x44015e[_0x2365ff(0x12b)]);_0x44015e[_0x2365ff(0x12b)]=path[_0x2365ff(0x15b)](__dirname,_0x5e9278[_0x2365ff(0x1d9)],_0x5e9278['uPbBH']);const _0x2156bb=_0xed4333[_0x2365ff(0x1d4)];if(_0x2156bb&&_0x5e9278[_0x2365ff(0xf7)](_0x2156bb,_0x5e9278['UbpSg'])){const _0x596109=_0x2156bb[_0x2365ff(0x1b1)](_0x5e9278['jWtdV'])?_0x2156bb:_0x2365ff(0x12f)+_0x2156bb;process[_0x2365ff(0x1d0)][_0x2365ff(0x11b)]=_0x596109,logger[_0x2365ff(0xf9)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x596109);}_0x44015e[_0x2365ff(0x1d4)]=_0x309843,_0x44015e['setupFilesAfterEnv']=_0x44015e['setupFilesAfterEnv']||[],_0x44015e[_0x2365ff(0x148)][_0x2365ff(0x1c6)](path[_0x2365ff(0x15b)](__dirname,_0x5e9278[_0x2365ff(0x13c)]));_0x1e75db[_0x2365ff(0x1db)]()&&(_0x44015e[_0x2365ff(0x1c0)]=path[_0x2365ff(0x15b)](__dirname,_0x5e9278['KrvHn'],_0x5e9278[_0x2365ff(0x192)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x2365ff(0xf8)]()[_0x2365ff(0x1a2)]()){let _0x4dfec9=null;try{_0x4dfec9=helper['requireModule'](_0x5e9278['rdkOU'],_0x5e9278['qYLfz']);}catch(_0x368778){try{_0x4dfec9=helper[_0x2365ff(0x158)](_0x5e9278[_0x2365ff(0x112)],_0x5e9278['qYLfz']);}catch(_0x2df7e8){_0x5e9278['xciiQ'](debug,_0x2365ff(0x161)+_0x2df7e8);}}_0x4dfec9&&(testhubUtils[_0x2365ff(0x1d2)]()&&_0x44015e['setupFilesAfterEnv'][_0x2365ff(0x1c6)](path['join'](__dirname,_0x5e9278[_0x2365ff(0x132)],_0x5e9278[_0x2365ff(0x170)])),_0x44015e[_0x2365ff(0x16a)]=path[_0x2365ff(0x15b)](__dirname,_0x5e9278[_0x2365ff(0x1d9)],_0x5e9278['QQyDX']));}_0x44015e['setupFiles']=_0x44015e[_0x2365ff(0x128)]||[];try{helper[_0x2365ff(0x1b8)](),_0x44015e[_0x2365ff(0x128)][_0x2365ff(0x1c6)](path[_0x2365ff(0x15b)](__dirname,_0x5e9278[_0x2365ff(0x15e)]));}catch{logger[_0x2365ff(0x196)](_0x5e9278[_0x2365ff(0x1b6)]);}try{helper[_0x2365ff(0x153)][_0x2365ff(0x13e)](null,[_0x5e9278[_0x2365ff(0x16c)],_0x5e9278['CdbPU']]),logger[_0x2365ff(0x196)](_0x5e9278[_0x2365ff(0x10f)]),_0x44015e[_0x2365ff(0x128)][_0x2365ff(0x1c6)](path[_0x2365ff(0x15b)](__dirname,_0x5e9278[_0x2365ff(0x11f)]));}catch(_0x161223){logger[_0x2365ff(0x196)](_0x5e9278[_0x2365ff(0x136)],_0x161223);}if(_0x5e9278[_0x2365ff(0x1ae)](!_0x2b3309,_0x5487e7)){try{logger[_0x2365ff(0x196)](_0x5e9278[_0x2365ff(0x1e6)]),_0x44015e[_0x2365ff(0x148)][_0x2365ff(0x1c6)](path[_0x2365ff(0x15b)](__dirname,'..',_0x5e9278[_0x2365ff(0x127)],_0x5e9278['SOzFs']));}catch(_0x5e4894){logger[_0x2365ff(0x196)]('Puppeteer\x20setup\x20error:\x20'+_0x5e4894[_0x2365ff(0x187)]);}try{const _0x22b896=require[_0x2365ff(0x19c)](_0x5e9278[_0x2365ff(0x1ac)]),_0x173fe8=path[_0x2365ff(0x176)](_0x22b896)['replace'](/\\/g,'/'),_0x4959ee={};_0x4959ee[_0x2365ff(0xfc)]=_0x173fe8+_0x2365ff(0x173),_0x44015e[_0x2365ff(0x17b)]=Object[_0x2365ff(0x110)]({},_0x44015e['moduleNameMapper']||{},_0x4959ee),logger['debug'](_0x2365ff(0x15f)+_0x173fe8);}catch(_0x3aee5c){logger[_0x2365ff(0x196)](_0x2365ff(0x199)+_0x3aee5c[_0x2365ff(0x187)]);}}_0x44015e['reporters']=_0x44015e[_0x2365ff(0x156)]||[_0x5e9278[_0x2365ff(0x102)]],_0x5e9278[_0x2365ff(0x16e)](updateTestRerunConfig,_0x44015e,_0x58827c);const _0x3056c7=fs[_0x2365ff(0x1b9)](_0x277d47),_0x49e078=helper[_0x2365ff(0x1a0)](_0x5e9278['JVOLd'],_0x5e9278['wVOiX']);!_0x49e078[_0x2365ff(0x1e0)]?fs[_0x2365ff(0x14e)](_0x44015e[_0x2365ff(0x1d4)],_0x2365ff(0x13a)+_0x3056c7+_0x2365ff(0x115)+_0x58827c[_0x2365ff(0x19b)]['platforms']['length']+_0x2365ff(0x155)):fs[_0x2365ff(0x14e)](_0x44015e[_0x2365ff(0x1d4)],_0x2365ff(0x13a)+_0x3056c7+_0x2365ff(0x11a)+_0x58827c[_0x2365ff(0x19b)]['platforms'][_0x2365ff(0x19a)]+_0x2365ff(0x117));logger['info'](_0x2365ff(0x101)+_0x10b492+_0x2365ff(0x1ce)),fs[_0x2365ff(0x14e)](_0x10b492,_0x2365ff(0x178)+JSON[_0x2365ff(0x19e)](_0x44015e)+_0x2365ff(0x193));if(_0x1e75db[_0x2365ff(0x1db)]()){logger[_0x2365ff(0x196)](_0x5e9278[_0x2365ff(0x13b)]);const _0x206651=await _0x1e75db[_0x2365ff(0x19f)](_0x44015e,_0x26cadc['slice'](0x1),_0x10b492);logger[_0x2365ff(0x196)]('Found:\x20'+JSON[_0x2365ff(0x19e)](_0x206651)+_0x2365ff(0x10d));const _0x550252=await _0x1e75db['reorderTestFiles'](_0x206651);logger[_0x2365ff(0x196)](_0x2365ff(0x191)+JSON[_0x2365ff(0x19e)](_0x550252)),_0x550252&&_0x5e9278[_0x2365ff(0x137)](_0x550252[_0x2365ff(0x19a)],0x0)&&(process[_0x2365ff(0x1d0)][_0x2365ff(0x166)]=_0x550252?.[_0x2365ff(0x15b)](','));}logger['info'](_0x5e9278['bAyfw']);testhubUtils[_0x2365ff(0x1d2)]()&&TestDetails[_0x2365ff(0x1c3)]();helper[_0x2365ff(0xf6)]({},_0x26cadc),PerformanceTester[_0x2365ff(0x18a)](PerformanceEvents[_0x2365ff(0x141)]);const _0x17bc31=[_0x5e9278[_0x2365ff(0x100)],_0x5e9278['FydyT'],_0x10b492,..._0x26cadc[_0x2365ff(0x1d8)](0x1)];process['env'][_0x2365ff(0x12c)]=process[_0x2365ff(0x1d0)][_0x2365ff(0x12c)]||_0x5e9278[_0x2365ff(0x100)];const _0x4f385d=_0x5e9278[_0x2365ff(0xf4)](spawn,_0x5e9278[_0x2365ff(0x1ab)],_0x17bc31,{'shell':_0x5e9278[_0x2365ff(0x104)](process[_0x2365ff(0x1e7)],_0x5e9278[_0x2365ff(0x157)]),'stdio':_0x5e9278['slhkr'],'env':Object['assign']({},process[_0x2365ff(0x1d0)])});_0x4f385d['on'](_0x5e9278[_0x2365ff(0x129)],async _0xeab14f=>{const _0x3d3712=_0x2365ff;PerformanceTester['start'](PerformanceEvents[_0x3d3712(0x1df)]),process['exitCode']=_0xeab14f,logger[_0x3d3712(0x196)](_0x3d3712(0xfe)+_0xeab14f),logger[_0x3d3712(0xf9)](_0x3d3712(0x149)+_0x10b492);if(helper[_0x3d3712(0x19d)](_0x2cf20a)&&helper[_0x3d3712(0x19d)](_0x2cf20a[_0x3d3712(0x14c)])&&fs['existsSync'](_0x2cf20a[_0x3d3712(0x14c)][_0x3d3712(0x198)]))try{const _0x2fde2a={};_0x2fde2a[_0x3d3712(0x18c)]=!![],_0x2fde2a[_0x3d3712(0x11c)]=!![],fs[_0x3d3712(0x1bb)](_0x2cf20a[_0x3d3712(0x14c)][_0x3d3712(0x198)],_0x2fde2a),logger[_0x3d3712(0x196)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x2cf20a[_0x3d3712(0x14c)][_0x3d3712(0x198)]);}catch(_0x3a80fa){logger['error'](_0x3d3712(0x1af)+_0x3a80fa);}let _0x1db0c5=null;if(fs[_0x3d3712(0x169)](_0x216dc8)){_0x1db0c5=fs['readFileSync'](_0x216dc8);try{_0x1db0c5=JSON[_0x3d3712(0x116)](_0x1db0c5);}catch(_0x18f282){logger[_0x3d3712(0x196)]('Error\x20while\x20parsing\x20'+_0x216dc8+',\x20'+_0x1db0c5+_0x3d3712(0x1c1)+_0x18f282);}fs[_0x3d3712(0x147)](_0x216dc8);}fs[_0x3d3712(0x147)](_0x10b492),fs['unlinkSync'](_0x309843),_0x1db0c5&&(_0x58827c[_0x3d3712(0x14f)]=helper[_0x3d3712(0x1bc)](_0x1db0c5,_0x5e9278['anQWo'],_0x58827c));const _0x471509=BrowserstackCLI[_0x3d3712(0x13d)]();try{await TestHubHandler[_0x3d3712(0x1b2)](),await BrowserstackCLI[_0x3d3712(0xf8)]()[_0x3d3712(0x1b2)]();}catch(_0x4f0008){console[_0x3d3712(0x1cb)](_0x4f0008),_0x5e9278[_0x3d3712(0x125)](debug,_0x3d3712(0x188)+util[_0x3d3712(0x181)](_0x4f0008));}testOpsHelper[_0x3d3712(0x139)](),TestDetails['shutdown'](),await utilities[_0x3d3712(0x194)](_0x58827c,_0x471509);});}module[a17_0x3422d6(0x183)]=run;
@@ -1 +1 @@
1
- function a18_0x28fd(_0x21fd91,_0x5a48b2){const _0x28776e=a18_0x2877();return a18_0x28fd=function(_0x28fd66,_0x3309b9){_0x28fd66=_0x28fd66-0xda;let _0x2a3879=_0x28776e[_0x28fd66];return _0x2a3879;},a18_0x28fd(_0x21fd91,_0x5a48b2);}const a18_0x90173c=a18_0x28fd;(function(_0x5a60ed,_0x579f32){const _0x4313e3=a18_0x28fd,_0x5c60ab=_0x5a60ed();while(!![]){try{const _0x1e5746=parseInt(_0x4313e3(0xe2))/0x1*(parseInt(_0x4313e3(0xe9))/0x2)+parseInt(_0x4313e3(0xeb))/0x3+parseInt(_0x4313e3(0xee))/0x4+-parseInt(_0x4313e3(0xe1))/0x5+parseInt(_0x4313e3(0xe0))/0x6*(-parseInt(_0x4313e3(0xe7))/0x7)+-parseInt(_0x4313e3(0xed))/0x8+-parseInt(_0x4313e3(0xde))/0x9*(parseInt(_0x4313e3(0xdb))/0xa);if(_0x1e5746===_0x579f32)break;else _0x5c60ab['push'](_0x5c60ab['shift']());}catch(_0x447969){_0x5c60ab['push'](_0x5c60ab['shift']());}}}(a18_0x2877,0xf40c0));const path=require(a18_0x90173c(0xe4)),{requireModule}=require(a18_0x90173c(0xec));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus');}catch{initJestAdapter=requireModule(a18_0x90173c(0xea),a18_0x90173c(0xf0));}initJestAdapter=typeof initJestAdapter===a18_0x90173c(0xdc)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a18_0x90173c(0xda)](__dirname,a18_0x90173c(0xe6));module[a18_0x90173c(0xe5)]=(..._0x446d68)=>{const _0x40ce71=a18_0x90173c,_0x46cb6c={'EmZgs':'jestAdapterInit','tnIZx':function(_0x57f17c,_0x51d1d2){return _0x57f17c===_0x51d1d2;},'bKQXU':function(_0x5c149d,..._0x6e2f57){return _0x5c149d(..._0x6e2f57);}};return _0x446d68[0x3]['initRequireModule']=_0x446d68[0x3][_0x40ce71(0xdf)],_0x446d68[0x3][_0x40ce71(0xdf)]=(..._0x396abc)=>{const _0x17383c=_0x40ce71;if(_0x396abc[0x0]&&_0x396abc[0x0][_0x17383c(0xdd)](_0x46cb6c['EmZgs'])&&_0x46cb6c[_0x17383c(0xe8)](_0x396abc[0x1],undefined))return _0x446d68[0x3][_0x17383c(0xe3)](FRAMEWORK_INITIALIZER);return _0x446d68[0x3]['initRequireModule'](..._0x396abc);},_0x46cb6c[_0x40ce71(0xef)](initJestAdapter,..._0x446d68);};function a18_0x2877(){const _0x4adc0e=['requireInternalModule','4362FVuMwt','842020qKvIud','332YVdZfz','initRequireModule','path','exports','customJestAdapterInit.js','1652zrIgcl','tnIZx','11888kLPxCJ','jest-circus/build/runner.js','2195676Dxwbvm','../../../helpers/helper','15662832ujZdcd','5425876iEINoI','bKQXU','jest-circus','join','9590PJspbG','function','includes','7173csNCGn'];a18_0x2877=function(){return _0x4adc0e;};return a18_0x2877();}
1
+ const a18_0x5760f2=a18_0x5d0c;(function(_0x510f12,_0x3c785f){const _0x334805=a18_0x5d0c,_0xd86f0=_0x510f12();while(!![]){try{const _0x247bfc=-parseInt(_0x334805(0x1c2))/0x1*(parseInt(_0x334805(0x1c4))/0x2)+parseInt(_0x334805(0x1c0))/0x3*(parseInt(_0x334805(0x1c6))/0x4)+-parseInt(_0x334805(0x1bb))/0x5*(-parseInt(_0x334805(0x1be))/0x6)+parseInt(_0x334805(0x1cb))/0x7*(-parseInt(_0x334805(0x1c5))/0x8)+parseInt(_0x334805(0x1c8))/0x9+-parseInt(_0x334805(0x1cd))/0xa+-parseInt(_0x334805(0x1ba))/0xb;if(_0x247bfc===_0x3c785f)break;else _0xd86f0['push'](_0xd86f0['shift']());}catch(_0x4c9eea){_0xd86f0['push'](_0xd86f0['shift']());}}}(a18_0x49d0,0x8552d));const path=require('path'),{requireModule}=require('../../../helpers/helper');let initJestAdapter;function a18_0x49d0(){const _0x4c9a95=['5HoGdUf','includes','jestAdapterInit','4064406Vuonim','requireInternalModule','234900xiZnFD','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','2AQajmt','default','107736fqqwyi','8sOqGvn','40teIBrG','customJestAdapterInit.js','7685973SrNbVC','bohdW','initRequireModule','4042199xqLIif','jest-circus/build/runner.js','3975930jBDtxj','jest-circus','7540709yfyIza'];a18_0x49d0=function(){return _0x4c9a95;};return a18_0x49d0();}try{initJestAdapter=requireModule(a18_0x5760f2(0x1c1),a18_0x5760f2(0x1ce));}catch{initJestAdapter=requireModule(a18_0x5760f2(0x1cc),a18_0x5760f2(0x1ce));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a18_0x5760f2(0x1c3)];function a18_0x5d0c(_0x5497ac,_0x467436){const _0x49d0d4=a18_0x49d0();return a18_0x5d0c=function(_0x5d0ca0,_0x19f570){_0x5d0ca0=_0x5d0ca0-0x1ba;let _0x42a5ef=_0x49d0d4[_0x5d0ca0];return _0x42a5ef;},a18_0x5d0c(_0x5497ac,_0x467436);}const FRAMEWORK_INITIALIZER=path['join'](__dirname,a18_0x5760f2(0x1c7));module['exports']=(..._0x406132)=>{const _0x997213=a18_0x5760f2,_0x1a4643={'eEfrP':_0x997213(0x1bd),'bohdW':function(_0xaefce5,_0x168333){return _0xaefce5===_0x168333;},'MUqAv':function(_0x3907e3,..._0x2605ce){return _0x3907e3(..._0x2605ce);}};return _0x406132[0x3]['initRequireModule']=_0x406132[0x3][_0x997213(0x1bf)],_0x406132[0x3]['requireInternalModule']=(..._0x50edd4)=>{const _0x31aebe=_0x997213;if(_0x50edd4[0x0]&&_0x50edd4[0x0][_0x31aebe(0x1bc)](_0x1a4643['eEfrP'])&&_0x1a4643[_0x31aebe(0x1c9)](_0x50edd4[0x1],undefined))return _0x406132[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x406132[0x3][_0x31aebe(0x1ca)](..._0x50edd4);},_0x1a4643['MUqAv'](initJestAdapter,..._0x406132);};