browserstack-node-sdk 1.66.0 → 1.66.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) 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/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a15_0x35945c=a15_0x1fc8;(function(_0x408a3b,_0x376a59){const _0x16d5b1=a15_0x1fc8,_0x590d3d=_0x408a3b();while(!![]){try{const _0x432760=-parseInt(_0x16d5b1(0x180))/0x1+parseInt(_0x16d5b1(0x18d))/0x2*(parseInt(_0x16d5b1(0x18a))/0x3)+-parseInt(_0x16d5b1(0x19a))/0x4*(-parseInt(_0x16d5b1(0x19c))/0x5)+parseInt(_0x16d5b1(0x171))/0x6*(-parseInt(_0x16d5b1(0x167))/0x7)+-parseInt(_0x16d5b1(0x170))/0x8*(-parseInt(_0x16d5b1(0x18b))/0x9)+parseInt(_0x16d5b1(0x191))/0xa*(parseInt(_0x16d5b1(0x19b))/0xb)+parseInt(_0x16d5b1(0x188))/0xc*(-parseInt(_0x16d5b1(0x16c))/0xd);if(_0x432760===_0x376a59)break;else _0x590d3d['push'](_0x590d3d['shift']());}catch(_0x1b6d4d){_0x590d3d['push'](_0x590d3d['shift']());}}}(a15_0x119b,0x6d390));const {default:BrowserStackSetup}=require(a15_0x35945c(0x184)),logger=require(a15_0x35945c(0x17a))[a15_0x35945c(0x189)],{URL}=require(a15_0x35945c(0x164)),helper=require(a15_0x35945c(0x183)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x35945c(0x17d)),validHosts=function(_0x5240ba){const _0x571f19=a15_0x35945c;return _0x5240ba[_0x571f19(0x161)](',')[_0x571f19(0x19f)](_0xad3be5=>{const _0x13799f=_0x571f19;try{new URL(_0xad3be5[_0x13799f(0x196)]());}catch(_0x5b8772){return![];}return!![];});},parseOnPremHosts=function(_0x529b71){const _0x36edd6=a15_0x35945c,_0xdff815={};_0xdff815['lhQtu']=function(_0xdf34d6,_0x4efac1){return _0xdf34d6===_0x4efac1;},_0xdff815[_0x36edd6(0x175)]=_0x36edd6(0x15b),_0xdff815['WuNvy']='443',_0xdff815['VjXfF']=function(_0x5d78a7,_0x3b1a00){return _0x5d78a7===_0x3b1a00;},_0xdff815[_0x36edd6(0x185)]=_0x36edd6(0x177);const _0x1a3b18=_0xdff815;return _0x529b71[_0x36edd6(0x161)](',')[_0x36edd6(0x176)](_0x1f9797=>{const _0x51d655=_0x36edd6,_0x7b03a5=new URL(_0x1f9797[_0x51d655(0x196)]()),_0x4cb264=_0x7b03a5[_0x51d655(0x193)],_0x3fbf9f=_0x7b03a5['port']||(_0x1a3b18['lhQtu'](_0x7b03a5[_0x51d655(0x16b)],_0x1a3b18[_0x51d655(0x175)])?_0x1a3b18[_0x51d655(0x18e)]:'80'),_0x280091=_0x7b03a5[_0x51d655(0x16b)][_0x51d655(0x17f)](':',''),_0x154d36=_0x1a3b18['VjXfF'](_0x280091,_0x1a3b18[_0x51d655(0x185)])?0x1:0x0;return _0x4cb264+','+_0x3fbf9f+','+_0x154d36;});},connectCommandBuilder=function(_0x11dbec){const _0x1ba44a=a15_0x35945c,_0x235795={};_0x235795[_0x1ba44a(0x169)]='string';const _0x27994b=_0x235795,_0x22e0c7={};_0x22e0c7[_0x1ba44a(0x186)]=HELP_MESSAGES[_0x1ba44a(0x192)]['bstackAccessKey'],_0x22e0c7[_0x1ba44a(0x199)]=_0x27994b['AFVLT'];const _0x2f1f4a={};_0x2f1f4a[_0x1ba44a(0x186)]=HELP_MESSAGES[_0x1ba44a(0x192)]['hosts'],_0x2f1f4a[_0x1ba44a(0x199)]=_0x27994b['AFVLT'],_0x2f1f4a['demandOption']=!![];const _0x59fe79={};return _0x59fe79['bstack-accesskey']=_0x22e0c7,_0x59fe79[_0x1ba44a(0x16f)]=_0x2f1f4a,_0x11dbec[_0x1ba44a(0x192)](_0x59fe79);},connectCommandHandler=async function(_0x1f67bc){const _0x25658e=a15_0x35945c,_0x38e50c={'WYSZH':_0x25658e(0x168),'fHUca':function(_0x47dc2b,_0x1d5e48){return _0x47dc2b===_0x1d5e48;},'fEqyL':_0x25658e(0x15a),'lLKkV':_0x25658e(0x179),'xbbKs':function(_0x4eaf87,_0x37bbb4){return _0x4eaf87===_0x37bbb4;},'cyWSJ':_0x25658e(0x165),'xdRPA':function(_0x556c9e,_0x21ce2a){return _0x556c9e(_0x21ce2a);},'rEUdM':_0x25658e(0x187),'cJbUl':function(_0x15cfcd,_0x4127d0){return _0x15cfcd(_0x4127d0);},'IRBcd':'integrations-repeater','XePai':'Connection\x20established\x20successfully.','PFKAN':'Failed\x20to\x20establish\x20connection.'};try{const _0x2bc141=new BrowserStackSetup(_0x1f67bc,_0x38e50c[_0x25658e(0x15f)]);_0x1f67bc[_0x25658e(0x173)]&&(_0x2bc141[_0x25658e(0x195)][_0x25658e(0x18c)]=_0x1f67bc['bstackAccesskey']);if(_0x38e50c['fHUca'](typeof _0x2bc141[_0x25658e(0x195)][_0x25658e(0x18c)],_0x38e50c['fEqyL'])){logger[_0x25658e(0x18f)](_0x38e50c[_0x25658e(0x159)]);throw new Error(ERROR_MESSAGES[_0x25658e(0x194)][_0x25658e(0x19e)]);}const _0xe7c0a8=_0x1f67bc[_0x25658e(0x16f)];if(_0x38e50c[_0x25658e(0x16a)](typeof _0xe7c0a8,_0x38e50c[_0x25658e(0x182)])){logger[_0x25658e(0x18f)](_0x38e50c[_0x25658e(0x172)]);throw new Error(ERROR_MESSAGES[_0x25658e(0x16f)][_0x25658e(0x19e)]);}if(!_0x38e50c[_0x25658e(0x16e)](validHosts,_0xe7c0a8)){logger[_0x25658e(0x18f)](_0x38e50c['rEUdM']);throw new Error(ERROR_MESSAGES['hosts'][_0x25658e(0x160)]);}const _0x36c025=_0x38e50c[_0x25658e(0x197)](parseOnPremHosts,_0xe7c0a8);_0x2bc141[_0x25658e(0x195)][_0x25658e(0x163)]=!![],_0x2bc141[_0x25658e(0x195)][_0x25658e(0x16d)]['localIdentifier']=_0x38e50c[_0x25658e(0x174)],_0x2bc141[_0x25658e(0x195)][_0x25658e(0x16d)]['only']=_0x36c025['join'](','),helper['setProxySettings'](_0x2bc141[_0x25658e(0x195)]),await _0x2bc141[_0x25658e(0x166)](),logger[_0x25658e(0x181)](_0x38e50c['XePai']);}catch(_0x2548b6){logger[_0x25658e(0x18f)](_0x38e50c[_0x25658e(0x15c)]);throw new Error(_0x2548b6['toString']());}};function a15_0x1fc8(_0x5bebec,_0x255c1a){const _0x119b3b=a15_0x119b();return a15_0x1fc8=function(_0x1fc893,_0x92d543){_0x1fc893=_0x1fc893-0x159;let _0x3bece0=_0x119b3b[_0x1fc893];return _0x3bece0;},a15_0x1fc8(_0x5bebec,_0x255c1a);}function run(_0x3283d8){const _0x5d0017=a15_0x35945c,_0x512c89={};_0x512c89[_0x5d0017(0x17e)]=_0x5d0017(0x190),_0x512c89[_0x5d0017(0x198)]='help';const _0x33174f=_0x512c89;_0x3283d8[_0x5d0017(0x162)](HELP_MESSAGES['command'][_0x5d0017(0x17c)])[_0x5d0017(0x178)](_0x33174f['aaAER'],HELP_MESSAGES[_0x5d0017(0x178)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x5d0017(0x17b)]()[_0x5d0017(0x19d)](_0x33174f[_0x5d0017(0x198)])[_0x5d0017(0x15d)](HELP_MESSAGES['command'][_0x5d0017(0x15e)]);}function a15_0x119b(){const _0x5bd714=['usage','browserstackLocal','url','Integration\x20hosts\x20missing.','setupBrowserstackLocal','7mWMbBI','integrations','AFVLT','xbbKs','protocol','3432RJJNkR','browserStackLocalOptions','xdRPA','hosts','601208lkcUdR','146766xhJXmV','cyWSJ','bstackAccesskey','IRBcd','BJOXA','map','https','command','BrowserStack\x20access\x20key\x20missing.','../../helpers/logger','demandCommand','root','./constants','aaAER','replace','699710accrEB','info','fEqyL','../../helpers/helper','../../helpers/BrowserStackSetup','tkZIe','describe','Hosts\x20not\x20valid','28044gcAyOi','winstonLogger','1113oNvckt','99DXlfvX','accessKey','1282ELsUDd','WuNvy','error','connect','273700WpRHnS','options','hostname','bstackAccessKey','config','trim','cJbUl','qAjSg','type','2567732NCuZDw','33cGmfNO','5UTdPMz','help','missing','every','lLKkV','undefined','https:','PFKAN','epilogue','footer','WYSZH','invalid','split'];a15_0x119b=function(){return _0x5bd714;};return a15_0x119b();}module['exports']=run;
2
+ 'use strict';const a15_0xee2b73=a15_0x4ad8;function a15_0x4ad8(_0x3a591c,_0xcd93a8){const _0x495cf5=a15_0x495c();return a15_0x4ad8=function(_0x4ad886,_0x9358c8){_0x4ad886=_0x4ad886-0x12c;let _0x4656e9=_0x495cf5[_0x4ad886];return _0x4656e9;},a15_0x4ad8(_0x3a591c,_0xcd93a8);}(function(_0xef42f0,_0x5a9345){const _0x2b9c81=a15_0x4ad8,_0x407615=_0xef42f0();while(!![]){try{const _0x1fb799=-parseInt(_0x2b9c81(0x156))/0x1+-parseInt(_0x2b9c81(0x150))/0x2+parseInt(_0x2b9c81(0x12f))/0x3*(-parseInt(_0x2b9c81(0x163))/0x4)+-parseInt(_0x2b9c81(0x153))/0x5+parseInt(_0x2b9c81(0x12d))/0x6+parseInt(_0x2b9c81(0x147))/0x7+parseInt(_0x2b9c81(0x133))/0x8;if(_0x1fb799===_0x5a9345)break;else _0x407615['push'](_0x407615['shift']());}catch(_0x50e9b6){_0x407615['push'](_0x407615['shift']());}}}(a15_0x495c,0xbf66f));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')[a15_0xee2b73(0x16f)],{URL}=require(a15_0xee2b73(0x155)),helper=require(a15_0xee2b73(0x14f)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x21b4f3){const _0x333130=a15_0xee2b73;return _0x21b4f3[_0x333130(0x167)](',')[_0x333130(0x13b)](_0x5a557f=>{try{new URL(_0x5a557f['trim']());}catch(_0x2f378a){return![];}return!![];});},parseOnPremHosts=function(_0x5cb970){const _0x494c96=a15_0xee2b73,_0x30cd90={};_0x30cd90[_0x494c96(0x138)]=function(_0x2e0a52,_0x4eda3b){return _0x2e0a52===_0x4eda3b;},_0x30cd90[_0x494c96(0x140)]=_0x494c96(0x15f),_0x30cd90[_0x494c96(0x13d)]=_0x494c96(0x16c),_0x30cd90[_0x494c96(0x13e)]='https';const _0x577e68=_0x30cd90;return _0x5cb970[_0x494c96(0x167)](',')[_0x494c96(0x149)](_0x179944=>{const _0x20e96a=_0x494c96,_0x56447b=new URL(_0x179944[_0x20e96a(0x169)]()),_0x20193b=_0x56447b[_0x20e96a(0x154)],_0x2cb9ce=_0x56447b[_0x20e96a(0x143)]||(_0x577e68[_0x20e96a(0x138)](_0x56447b[_0x20e96a(0x12c)],_0x577e68[_0x20e96a(0x140)])?_0x577e68['vhEhL']:'80'),_0x59be1f=_0x56447b['protocol'][_0x20e96a(0x130)](':',''),_0x3ee3a3=_0x577e68[_0x20e96a(0x138)](_0x59be1f,_0x577e68[_0x20e96a(0x13e)])?0x1:0x0;return _0x20193b+','+_0x2cb9ce+','+_0x3ee3a3;});},connectCommandBuilder=function(_0x378da3){const _0x5e06e2=a15_0xee2b73,_0x35d7d9={};_0x35d7d9[_0x5e06e2(0x14e)]='string';const _0x300620=_0x35d7d9,_0x33ffc8={};_0x33ffc8['describe']=HELP_MESSAGES[_0x5e06e2(0x136)]['bstackAccessKey'],_0x33ffc8[_0x5e06e2(0x14c)]=_0x300620[_0x5e06e2(0x14e)];const _0x432b87={};_0x432b87[_0x5e06e2(0x12e)]=HELP_MESSAGES[_0x5e06e2(0x136)][_0x5e06e2(0x15a)],_0x432b87[_0x5e06e2(0x14c)]=_0x300620[_0x5e06e2(0x14e)],_0x432b87[_0x5e06e2(0x15d)]=!![];const _0xb53b4={};return _0xb53b4[_0x5e06e2(0x135)]=_0x33ffc8,_0xb53b4[_0x5e06e2(0x15a)]=_0x432b87,_0x378da3[_0x5e06e2(0x136)](_0xb53b4);},connectCommandHandler=async function(_0x1c64f8){const _0x14adb7=a15_0xee2b73,_0xf6dbf9={'tWspX':_0x14adb7(0x162),'DwHYX':function(_0x55993b,_0xe8d7bb){return _0x55993b===_0xe8d7bb;},'oepIm':_0x14adb7(0x131),'YqVJy':'BrowserStack\x20access\x20key\x20missing.','hFymy':_0x14adb7(0x157),'fBQPn':function(_0x4f065b,_0x276055){return _0x4f065b(_0x276055);},'WBahk':_0x14adb7(0x14d),'CzkaO':_0x14adb7(0x168),'KHFCv':'Connection\x20established\x20successfully.','JlDfw':_0x14adb7(0x13a)};try{const _0x2636eb=new BrowserStackSetup(_0x1c64f8,_0xf6dbf9[_0x14adb7(0x15b)]);_0x1c64f8[_0x14adb7(0x151)]&&(_0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x139)]=_0x1c64f8[_0x14adb7(0x151)]);if(_0xf6dbf9[_0x14adb7(0x152)](typeof _0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x139)],_0xf6dbf9['oepIm'])){logger[_0x14adb7(0x159)](_0xf6dbf9[_0x14adb7(0x14b)]);throw new Error(ERROR_MESSAGES[_0x14adb7(0x13f)][_0x14adb7(0x14a)]);}const _0x34305a=_0x1c64f8[_0x14adb7(0x15a)];if(_0xf6dbf9[_0x14adb7(0x152)](typeof _0x34305a,_0xf6dbf9['oepIm'])){logger[_0x14adb7(0x159)](_0xf6dbf9[_0x14adb7(0x161)]);throw new Error(ERROR_MESSAGES[_0x14adb7(0x15a)][_0x14adb7(0x14a)]);}if(!_0xf6dbf9[_0x14adb7(0x164)](validHosts,_0x34305a)){logger[_0x14adb7(0x159)](_0xf6dbf9[_0x14adb7(0x165)]);throw new Error(ERROR_MESSAGES[_0x14adb7(0x15a)][_0x14adb7(0x141)]);}const _0x1ae1d6=_0xf6dbf9['fBQPn'](parseOnPremHosts,_0x34305a);_0x2636eb[_0x14adb7(0x132)]['browserstackLocal']=!![],_0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x137)][_0x14adb7(0x134)]=_0xf6dbf9[_0x14adb7(0x160)],_0x2636eb[_0x14adb7(0x132)][_0x14adb7(0x137)][_0x14adb7(0x15e)]=_0x1ae1d6['join'](','),helper['setProxySettings'](_0x2636eb['config']),await _0x2636eb[_0x14adb7(0x166)](),logger['info'](_0xf6dbf9[_0x14adb7(0x13c)]);}catch(_0x25296a){logger[_0x14adb7(0x159)](_0xf6dbf9['JlDfw']);throw new Error(_0x25296a[_0x14adb7(0x158)]());}};function run(_0x37c553){const _0x5862dd=a15_0xee2b73,_0x406a46={};_0x406a46[_0x5862dd(0x16d)]=_0x5862dd(0x146),_0x406a46[_0x5862dd(0x142)]=_0x5862dd(0x15c);const _0x128aea=_0x406a46;_0x37c553[_0x5862dd(0x16e)](HELP_MESSAGES['command'][_0x5862dd(0x145)])[_0x5862dd(0x16a)](_0x128aea[_0x5862dd(0x16d)],HELP_MESSAGES['command'][_0x5862dd(0x146)],connectCommandBuilder,connectCommandHandler)[_0x5862dd(0x16b)]()[_0x5862dd(0x15c)](_0x128aea[_0x5862dd(0x142)])[_0x5862dd(0x148)](HELP_MESSAGES['command']['footer']);}module[a15_0xee2b73(0x144)]=run;function a15_0x495c(){const _0x4e45d6=['WBahk','setupBrowserstackLocal','split','integrations-repeater','trim','command','demandCommand','443','VGgPs','usage','winstonLogger','protocol','9101454XcKiHZ','describe','2022cURCIg','replace','undefined','config','22804344IkzycE','localIdentifier','bstack-accesskey','options','browserStackLocalOptions','vZVEe','accessKey','Failed\x20to\x20establish\x20connection.','every','KHFCv','vhEhL','gLniN','bstackAccessKey','yxnxq','invalid','PsKaA','port','exports','root','connect','1514667bIuvhb','epilogue','map','missing','YqVJy','type','Hosts\x20not\x20valid','OIzJd','../../helpers/helper','999670KgNYOA','bstackAccesskey','DwHYX','4663510FPTRhz','hostname','url','1344855aNiQSG','Integration\x20hosts\x20missing.','toString','error','hosts','tWspX','help','demandOption','only','https:','CzkaO','hFymy','integrations','6068RTjEvO','fBQPn'];a15_0x495c=function(){return _0x4e45d6;};return a15_0x495c();}
@@ -1 +1 @@
1
- var a16_0x2b422a=a16_0x1026;(function(_0x74510,_0x3f6a1e){var _0x42ad46=a16_0x1026,_0x2d2982=_0x74510();while(!![]){try{var _0x3a611e=parseInt(_0x42ad46(0x1d5))/0x1+-parseInt(_0x42ad46(0x1cf))/0x2+parseInt(_0x42ad46(0x1d2))/0x3*(-parseInt(_0x42ad46(0x1d6))/0x4)+-parseInt(_0x42ad46(0x1cd))/0x5*(-parseInt(_0x42ad46(0x1c5))/0x6)+-parseInt(_0x42ad46(0x1c8))/0x7+-parseInt(_0x42ad46(0x1c7))/0x8+parseInt(_0x42ad46(0x1c6))/0x9;if(_0x3a611e===_0x3f6a1e)break;else _0x2d2982['push'](_0x2d2982['shift']());}catch(_0x3c0b2b){_0x2d2982['push'](_0x2d2982['shift']());}}}(a16_0x4e5f,0x2efb4));var a16_0x2a514c={};a16_0x2a514c['bstackAccessKey']=a16_0x2b422a(0x1d7),a16_0x2a514c[a16_0x2b422a(0x1d0)]=a16_0x2b422a(0x1d1);var a16_0x6e903d={};a16_0x6e903d[a16_0x2b422a(0x1cb)]=a16_0x2b422a(0x1ca),a16_0x6e903d[a16_0x2b422a(0x1c9)]=a16_0x2b422a(0x1d8),a16_0x6e903d['footer']='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a16_0x10373e={};a16_0x10373e['options']=a16_0x2a514c,a16_0x10373e[a16_0x2b422a(0x1d3)]=a16_0x6e903d,exports['HELP_MESSAGES']=a16_0x10373e;var a16_0xe8c47c={};a16_0xe8c47c[a16_0x2b422a(0x1c4)]=a16_0x2b422a(0x1ce);var a16_0x16d49f={};function a16_0x4e5f(){var _0x341a5b=['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.','306719uvcKLM','1528924nvXQVC','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','missing','42xxMHof','8688996MEgwKS','2123472KFJEZl','2513945QUAkUo','connect','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','root','invalid','130255jembKg','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','510568vSWaPD','hosts','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.','3MrQujC','command'];a16_0x4e5f=function(){return _0x341a5b;};return a16_0x4e5f();}a16_0x16d49f[a16_0x2b422a(0x1c4)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a16_0x16d49f[a16_0x2b422a(0x1cc)]=a16_0x2b422a(0x1d4);function a16_0x1026(_0x46ec68,_0x5d9aa4){var _0x4e5ffd=a16_0x4e5f();return a16_0x1026=function(_0x1026c6,_0x18df1f){_0x1026c6=_0x1026c6-0x1c4;var _0x38a401=_0x4e5ffd[_0x1026c6];return _0x38a401;},a16_0x1026(_0x46ec68,_0x5d9aa4);}var a16_0x3f5ab5={};a16_0x3f5ab5['bstackAccessKey']=a16_0xe8c47c,a16_0x3f5ab5[a16_0x2b422a(0x1d0)]=a16_0x16d49f,exports['ERROR_MESSAGES']=a16_0x3f5ab5;
1
+ var a16_0x36e800=a16_0x3e36;(function(_0x565af4,_0x18509e){var _0x6145b5=a16_0x3e36,_0x29f254=_0x565af4();while(!![]){try{var _0x50b54a=parseInt(_0x6145b5(0x1b8))/0x1+parseInt(_0x6145b5(0x1bf))/0x2*(-parseInt(_0x6145b5(0x1a8))/0x3)+-parseInt(_0x6145b5(0x1b0))/0x4*(parseInt(_0x6145b5(0x1b9))/0x5)+-parseInt(_0x6145b5(0x1ab))/0x6+parseInt(_0x6145b5(0x1be))/0x7*(parseInt(_0x6145b5(0x1c1))/0x8)+parseInt(_0x6145b5(0x1ae))/0x9+-parseInt(_0x6145b5(0x1bd))/0xa;if(_0x50b54a===_0x18509e)break;else _0x29f254['push'](_0x29f254['shift']());}catch(_0x1747d5){_0x29f254['push'](_0x29f254['shift']());}}}(a16_0x49be,0xa68fd));var a16_0x10bc28={};function a16_0x3e36(_0x2058c8,_0x253432){var _0x49be9a=a16_0x49be();return a16_0x3e36=function(_0x3e3653,_0xd6657e){_0x3e3653=_0x3e3653-0x1a8;var _0x37b05d=_0x49be9a[_0x3e3653];return _0x37b05d;},a16_0x3e36(_0x2058c8,_0x253432);}a16_0x10bc28['bstackAccessKey']=a16_0x36e800(0x1b2),a16_0x10bc28[a16_0x36e800(0x1bb)]=a16_0x36e800(0x1b4);var a16_0x21e550={};a16_0x21e550[a16_0x36e800(0x1b6)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a16_0x21e550[a16_0x36e800(0x1b5)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a16_0x21e550[a16_0x36e800(0x1bc)]=a16_0x36e800(0x1ad);var a16_0x501cf3={};a16_0x501cf3[a16_0x36e800(0x1af)]=a16_0x10bc28,a16_0x501cf3[a16_0x36e800(0x1b3)]=a16_0x21e550,exports[a16_0x36e800(0x1ba)]=a16_0x501cf3;var a16_0x4ca634={};function a16_0x49be(){var _0x2520d4=['119268cmLjOi','invalid','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','command','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.','connect','root','bstackAccessKey','1223209mbfMGp','125sCDgkN','HELP_MESSAGES','hosts','footer','6870630dUehrx','31199bwInpd','4DiQJLy','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','2248lVIFBd','151467kmsuXk','missing','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','2764020EUZUmx','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.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','1806723AECZHT','options'];a16_0x49be=function(){return _0x2520d4;};return a16_0x49be();}a16_0x4ca634[a16_0x36e800(0x1a9)]=a16_0x36e800(0x1aa);var a16_0xcd5502={};a16_0xcd5502[a16_0x36e800(0x1a9)]=a16_0x36e800(0x1c0),a16_0xcd5502[a16_0x36e800(0x1b1)]=a16_0x36e800(0x1ac);var a16_0x238776={};a16_0x238776[a16_0x36e800(0x1b7)]=a16_0x4ca634,a16_0x238776[a16_0x36e800(0x1bb)]=a16_0xcd5502,exports['ERROR_MESSAGES']=a16_0x238776;
@@ -1 +1 @@
1
- 'use strict';const a17_0x2cb3d0=a17_0x4183;(function(_0x1269ba,_0x506d5c){const _0x32788f=a17_0x4183,_0x6824ea=_0x1269ba();while(!![]){try{const _0x377b9a=parseInt(_0x32788f(0x1a4))/0x1*(-parseInt(_0x32788f(0x16a))/0x2)+parseInt(_0x32788f(0x144))/0x3+parseInt(_0x32788f(0x14d))/0x4+parseInt(_0x32788f(0x14c))/0x5*(parseInt(_0x32788f(0x1a6))/0x6)+-parseInt(_0x32788f(0x1a7))/0x7+parseInt(_0x32788f(0x18a))/0x8*(parseInt(_0x32788f(0x13a))/0x9)+-parseInt(_0x32788f(0x15f))/0xa*(parseInt(_0x32788f(0x14a))/0xb);if(_0x377b9a===_0x506d5c)break;else _0x6824ea['push'](_0x6824ea['shift']());}catch(_0x2af8fe){_0x6824ea['push'](_0x6824ea['shift']());}}}(a17_0x1b19,0x2bea5));function a17_0x1b19(){const _0x57466e=['IWjwz','description','Spec\x20failed','1913931jXkggO','TestRunStarted','Zkedl','bblVL','eJkVc','FjDvO','PLVIn','nSwYT','reverse','skipped','386004PLhyYC','Exception\x20in\x20jasmine\x20specDone\x20for\x20','isArray','sKjDj','pWZSN','SmhPa','310178QPeERF','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','4310awdZIw','864456cAzqfa','WZfiW','NQKGA','path','gBXks','setCurrentTestData','_collapseFailedExpectations','xDrgP','toISOString','specDone','MbkmU','has','match','JSglp','fullName','split','length','join','10FSSCWe','expected','oSQIa','actual','testObservability','excluded','exports','deUjH','ElAjk','set','relative','8MoQkza','IFPib','err','_fileNameByFullName','File\x20path\x20could\x20not\x20be\x20found','_resolveFilePath','started_at','failedExpectations','matcherName','startsWith','ZeKEN','_paths','keys','trim','failure_reason_expanded','xAieJ','javascript','number','hHoSv','zBnnh','code','backtrace','_suitesById','JPDRE','kazeA','push','TestRunFinished','JASMINE','get','parentSuiteId','pTEje','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','8NrtcDI','specStarted','rMuiO','oofJP','rrQny','status','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','AssertionError','fileNameByFullName','../testRunMap','kfbHo','cwd','_sendSpecEvent','mfigR','slice','MsDqQ','remove','uploadEventData','ujQMS','KOtij','MuIqE','QdHZT','pAhHy','duration','stack','message','88130tLoKSd','suiteStarted','954zdvSho','937328OVocTh','_findGitConfig','dirname','IlPRa','config','LWbNm','\x20:\x20','lOPEX','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','HWYjL','prefixTestPath','../../../helpers/test-observability/utils','EAPqK','pending','../../../helpers/test-observability/constants','cjGUc','OYhjX','endsWith','ZvdxV','_scopes','shouldProcessEventForTesthub','suiteDone','UnhandledError'];a17_0x1b19=function(){return _0x57466e;};return a17_0x1b19();}const path=require(a17_0x2cb3d0(0x150)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require(a17_0x2cb3d0(0x1b5)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x2cb3d0(0x1b2)),testRunMap=require(a17_0x2cb3d0(0x193)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a17_0x38e198={};function a17_0x4183(_0x3fd615,_0x41c55e){const _0x1b19ca=a17_0x1b19();return a17_0x4183=function(_0x4183f5,_0x2a59c7){_0x4183f5=_0x4183f5-0x131;let _0x5f5724=_0x1b19ca[_0x4183f5];return _0x5f5724;},a17_0x4183(_0x3fd615,_0x41c55e);}a17_0x38e198['passed']='passed',a17_0x38e198['failed']='failed',a17_0x38e198[a17_0x2cb3d0(0x1b4)]=a17_0x2cb3d0(0x1b4),a17_0x38e198[a17_0x2cb3d0(0x164)]=a17_0x2cb3d0(0x143);const STATUS_MAP=a17_0x38e198;class BrowserStackJasmineReporter{constructor(_0x136435={}){const _0x1a14ed=a17_0x2cb3d0,_0x515ac1={'deUjH':function(_0xa47a7c){return _0xa47a7c();}};this[_0x1a14ed(0x163)]=_0x515ac1[_0x1a14ed(0x166)](isTestObservabilitySession),this[_0x1a14ed(0x175)]=new PathHelper({'cwd':process[_0x1a14ed(0x195)]()},undefined),this['_fileNameByFullName']=_0x136435&&_0x136435[_0x1a14ed(0x192)]||{},this['_suitesById']=new Map();}['jasmineStarted'](){}[a17_0x2cb3d0(0x1a5)](_0x255b9e){const _0x402e3d=a17_0x2cb3d0,_0x5ce4c9={'VLFko':function(_0x55b72c,_0x20fe32){return _0x55b72c!==_0x20fe32;},'lOPEX':function(_0x19e6be,_0x281b97){return _0x19e6be!==_0x281b97;},'zBnnh':function(_0x98d654,_0x1cc8c8){return _0x98d654(_0x1cc8c8);}};try{_0x255b9e&&_0x5ce4c9['VLFko'](_0x255b9e['id'],undefined)&&_0x5ce4c9[_0x402e3d(0x1ae)](_0x255b9e['id'],null)&&this[_0x402e3d(0x180)][_0x402e3d(0x168)](_0x255b9e['id'],{'description':_0x255b9e[_0x402e3d(0x138)],'parentSuiteId':_0x255b9e[_0x402e3d(0x187)]});}catch(_0x51232e){_0x5ce4c9[_0x402e3d(0x17d)](debug,_0x402e3d(0x1af)+(_0x255b9e&&_0x255b9e['fullName'])+'\x20:\x20'+_0x51232e);}}[a17_0x2cb3d0(0x18b)](_0x2b448d){const _0x29b5f3=a17_0x2cb3d0,_0x528b80={'xDrgP':function(_0x4e2292,_0xd3ca9c){return _0x4e2292!==_0xd3ca9c;},'bblVL':function(_0x5edab6){return _0x5edab6();},'kazeA':_0x29b5f3(0x13b),'xAieJ':function(_0x8f1f9a,_0x2fad81){return _0x8f1f9a(_0x2fad81);}};try{if(_0x528b80[_0x29b5f3(0x154)](testhubUtils[_0x29b5f3(0x134)](),!![]))return;const _0x3844ae=_0x528b80[_0x29b5f3(0x13d)](uuidv4);testRunMap[_0x29b5f3(0x168)](_0x2b448d['id'],_0x3844ae),this[_0x29b5f3(0x196)](_0x2b448d,_0x3844ae,_0x528b80[_0x29b5f3(0x182)]);}catch(_0x2e8281){_0x528b80[_0x29b5f3(0x179)](debug,_0x29b5f3(0x189)+(_0x2b448d&&_0x2b448d[_0x29b5f3(0x15b)])+_0x29b5f3(0x1ad)+_0x2e8281);}}[a17_0x2cb3d0(0x156)](_0x169019){const _0x4f4207=a17_0x2cb3d0,_0x35278b={'OYhjX':function(_0x277474,_0xa095f){return _0x277474!==_0xa095f;},'cjGUc':function(_0x530cc6){return _0x530cc6();},'JPDRE':function(_0x1d26cd,_0x257ad9){return _0x1d26cd===_0x257ad9;},'MuIqE':'excluded','pTEje':'TestRunSkipped','HWYjL':_0x4f4207(0x184),'JlQOq':function(_0x353bb4,_0x2391ec){return _0x353bb4(_0x2391ec);}};try{if(_0x35278b[_0x4f4207(0x1b7)](testhubUtils[_0x4f4207(0x134)](),!![]))return;const _0x2641f2=testRunMap[_0x4f4207(0x186)](_0x169019['id'])||_0x35278b[_0x4f4207(0x1b6)](uuidv4),_0xe82476=_0x35278b[_0x4f4207(0x181)](_0x169019[_0x4f4207(0x18f)],_0x35278b[_0x4f4207(0x19e)])?_0x35278b[_0x4f4207(0x188)]:_0x35278b[_0x4f4207(0x1b0)];this[_0x4f4207(0x196)](_0x169019,_0x2641f2,_0xe82476);}catch(_0x4a786c){_0x35278b['JlQOq'](debug,_0x4f4207(0x145)+(_0x169019&&_0x169019[_0x4f4207(0x15b)])+_0x4f4207(0x1ad)+_0x4a786c);}finally{_0x169019&&(testRunMap[_0x4f4207(0x19a)](_0x169019['id']),_specStartTimes['delete'](_0x169019['id']));}}[a17_0x2cb3d0(0x135)](){}['jasmineDone'](){}[a17_0x2cb3d0(0x196)](_0x55755f,_0x8a129b,_0x1229e1){const _0x412ea9=a17_0x2cb3d0,_0x187b1e={'ZeKEN':function(_0x2a174e,_0x42cb0e){return _0x2a174e===_0x42cb0e;},'sKjDj':_0x412ea9(0x184),'MbkmU':function(_0x1d36e8,_0x5249b5){return _0x1d36e8===_0x5249b5;},'QdHZT':'TestRunSkipped','eJkVc':_0x412ea9(0x16e),'NQKGA':function(_0x21e7ec,_0x234ee2,_0x1ecbc7){return _0x21e7ec(_0x234ee2,_0x1ecbc7);},'zILXX':_0x412ea9(0x16c),'ujQMS':_0x412ea9(0x13b),'EAPqK':function(_0x14f73a,_0x2684df){return _0x14f73a!==_0x2684df;},'rrQny':function(_0x5890d2,_0x53cb9e){return _0x5890d2===_0x53cb9e;},'KOtij':_0x412ea9(0x17a),'nSwYT':function(_0x505152,_0x19b244){return _0x505152&&_0x19b244;},'GNekU':function(_0x4833ad,_0x2a2646){return _0x4833ad===_0x2a2646;},'mfigR':'skipped','kfbHo':'passed','VMCcP':function(_0x50f59d,_0x55aaa1){return _0x50f59d===_0x55aaa1;},'SmhPa':_0x412ea9(0x17b),'uisdD':_0x412ea9(0x191),'jFtBG':_0x412ea9(0x136),'MsDqQ':_0x412ea9(0x170),'gBXks':'finished_at','cmboG':'failure','hHoSv':'failure_backtrace','mWIGG':_0x412ea9(0x17f),'IWjwz':_0x412ea9(0x178),'JWcku':'expanded','ElAjk':function(_0x49fd27,_0x1253da){return _0x49fd27(_0x1253da);}};try{const _0x3182ef=_0x187b1e[_0x412ea9(0x174)](_0x1229e1,_0x187b1e[_0x412ea9(0x147)])||_0x187b1e[_0x412ea9(0x157)](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)]),_0x50aa3f=this[_0x412ea9(0x16f)](_0x55755f),_0x5219d8=_0x50aa3f?this[_0x412ea9(0x175)][_0x412ea9(0x1b1)](_0x50aa3f):_0x187b1e[_0x412ea9(0x13e)],_0x3862b5=_0x50aa3f?this['_findGitConfig'](path['dirname'](_0x50aa3f)):null,_0xefe442=this[_0x412ea9(0x153)](_0x55755f[_0x412ea9(0x171)]),_0x286c4e=_0xefe442?_0xefe442[_0x412ea9(0x1a3)]:undefined,_0x546896=_0xefe442?_0x187b1e[_0x412ea9(0x14f)](failureData,_0xefe442,_0x187b1e['zILXX']):[],_0x258300=new Date()[_0x412ea9(0x155)](),_0x105d72=this[_0x412ea9(0x133)](_0x55755f);_0x187b1e['ZeKEN'](_0x1229e1,_0x187b1e['ujQMS'])&&_0x55755f&&_0x187b1e[_0x412ea9(0x1b3)](_0x55755f['id'],undefined)&&_0x187b1e[_0x412ea9(0x1b3)](_0x55755f['id'],null)&&_specStartTimes['set'](_0x55755f['id'],_0x258300);const _0x5260a0=_0x187b1e[_0x412ea9(0x18e)](_0x1229e1,_0x187b1e[_0x412ea9(0x19c)])?_0x258300:_0x55755f&&_specStartTimes[_0x412ea9(0x186)](_0x55755f['id'])||null,_0x27c339={};_0x27c339['lang']=_0x187b1e[_0x412ea9(0x19d)],_0x27c339[_0x412ea9(0x17e)]=null;const _0x3dfb12={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x8a129b,'name':_0x55755f[_0x412ea9(0x138)],'body':_0x27c339,'scope':_0x105d72[_0x412ea9(0x15e)]('\x20'),'scopes':_0x105d72,'identifier':_0x55755f['fullName'],'file_name':_0x5219d8,'vc_filepath':_0x187b1e[_0x412ea9(0x141)](_0x3862b5,_0x50aa3f)?path[_0x412ea9(0x169)](_0x3862b5,_0x50aa3f):null,'location':_0x5219d8,'result':_0x187b1e['GNekU'](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)])?_0x187b1e[_0x412ea9(0x197)]:STATUS_MAP[_0x55755f[_0x412ea9(0x18f)]]||_0x187b1e[_0x412ea9(0x194)],'failure_reason':_0x286c4e,'duration_in_ms':_0x187b1e['VMCcP'](typeof _0x55755f[_0x412ea9(0x1a1)],_0x187b1e[_0x412ea9(0x149)])?_0x55755f[_0x412ea9(0x1a1)]:null,'started_at':_0x5260a0,'finished_at':_0x3182ef?_0x258300:null,'failure':_0x546896,'failure_type':!_0x286c4e?null:_0x286c4e[_0x412ea9(0x159)](/AssertionError/)?_0x187b1e['uisdD']:_0x187b1e['jFtBG'],'retry_of':null};_0x187b1e['rrQny'](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)])&&!_0x3dfb12[_0x187b1e['MsDqQ']]&&(_0x3dfb12[_0x187b1e[_0x412ea9(0x199)]]=_0x3dfb12[_0x187b1e[_0x412ea9(0x151)]]);const _0x15621b=_0x3dfb12[_0x187b1e['cmboG']][0x0];_0x15621b&&(_0x3dfb12[_0x187b1e[_0x412ea9(0x17c)]]=_0x15621b[_0x187b1e['mWIGG']],_0x3dfb12[_0x187b1e[_0x412ea9(0x137)]]=_0x15621b[_0x187b1e['JWcku']]);testhubUtils['appendTesthubParams'](_0x3dfb12,_0x1229e1,_0x55755f,FRAMEWORKS[_0x412ea9(0x185)]);const _0x13f519={'event_type':_0x187b1e[_0x412ea9(0x157)](_0x1229e1,_0x187b1e[_0x412ea9(0x19f)])?_0x187b1e[_0x412ea9(0x147)]:_0x1229e1,'test_run':_0x3dfb12};return testhubUtils[_0x412ea9(0x152)](FRAMEWORKS[_0x412ea9(0x185)],_0x13f519),SessionHandler[_0x412ea9(0x19b)](_0x13f519);}catch(_0x2834eb){_0x187b1e[_0x412ea9(0x167)](debug,_0x412ea9(0x190)+_0x1229e1+_0x412ea9(0x1ad)+_0x2834eb);}}['_scopes'](_0x4aa0ad){const _0x4f2758=a17_0x2cb3d0,_0x4c209e={'rMuiO':function(_0x217297,_0x438369){return _0x217297!==_0x438369;},'WZfiW':function(_0x2f3386,_0x406653){return _0x2f3386!==_0x406653;},'Zkedl':function(_0x5780cd,_0x5c38a9){return _0x5780cd>_0x5c38a9;},'klxHo':function(_0x4c62df,_0x5760e8){return _0x4c62df(_0x5760e8);},'IFPib':function(_0x5c318a,_0x5ee016){return _0x5c318a-_0x5ee016;}};try{const _0x2e1354=[];let _0x26daac=_0x4aa0ad&&_0x4aa0ad[_0x4f2758(0x187)];const _0x27ccd3=new Set();while(_0x4c209e[_0x4f2758(0x18c)](_0x26daac,undefined)&&_0x4c209e[_0x4f2758(0x14e)](_0x26daac,null)&&this['_suitesById'][_0x4f2758(0x158)](_0x26daac)&&!_0x27ccd3[_0x4f2758(0x158)](_0x26daac)){_0x27ccd3['add'](_0x26daac);const _0x4b6f41=this[_0x4f2758(0x180)][_0x4f2758(0x186)](_0x26daac);_0x4b6f41&&_0x4b6f41['description']&&_0x2e1354['push'](_0x4b6f41['description']),_0x26daac=_0x4b6f41?_0x4b6f41[_0x4f2758(0x187)]:null;}if(_0x4c209e[_0x4f2758(0x13c)](_0x2e1354[_0x4f2758(0x15d)],0x0))return _0x2e1354[_0x4f2758(0x142)]();}catch(_0x4f409f){_0x4c209e['klxHo'](debug,_0x4f2758(0x14b)+(_0x4aa0ad&&_0x4aa0ad[_0x4f2758(0x15b)])+_0x4f2758(0x1ad)+_0x4f409f);}const _0x34dec2=_0x4aa0ad&&_0x4aa0ad[_0x4f2758(0x15b)]||'',_0xb36b66=_0x4aa0ad&&_0x4aa0ad['description']||'';let _0x14d3fc=_0x34dec2;return _0xb36b66&&_0x34dec2[_0x4f2758(0x131)](_0xb36b66)&&(_0x14d3fc=_0x34dec2[_0x4f2758(0x198)](0x0,_0x4c209e[_0x4f2758(0x16b)](_0x34dec2[_0x4f2758(0x15d)],_0xb36b66[_0x4f2758(0x15d)]))[_0x4f2758(0x177)]()),_0x14d3fc?_0x14d3fc[_0x4f2758(0x15c)](/\s+/):[];}['_resolveFilePath'](_0x4b75f2){const _0x479f8b=a17_0x2cb3d0,_0x4fc8db={};_0x4fc8db[_0x479f8b(0x1a0)]=function(_0x5c9f1b,_0x3d6a18){return _0x5c9f1b===_0x3d6a18;},_0x4fc8db[_0x479f8b(0x132)]=function(_0x121da2,_0x58cfa1){return _0x121da2+_0x58cfa1;},_0x4fc8db['PLVIn']=function(_0x1822a0,_0x568a12){return _0x1822a0>_0x568a12;};const _0x4b7cb9=_0x4fc8db;if(_0x4b75f2&&_0x4b75f2['filename'])return _0x4b75f2['filename'];if(_0x4b75f2&&_0x4b75f2['fullName']){if(this['_fileNameByFullName'][_0x4b75f2[_0x479f8b(0x15b)]])return this['_fileNameByFullName'][_0x4b75f2[_0x479f8b(0x15b)]];let _0x451aad=null,_0x23d722=-0x1;for(const _0x1846f6 of Object[_0x479f8b(0x176)](this[_0x479f8b(0x16d)])){(_0x4b7cb9[_0x479f8b(0x1a0)](_0x4b75f2[_0x479f8b(0x15b)],_0x1846f6)||_0x4b75f2[_0x479f8b(0x15b)][_0x479f8b(0x173)](_0x4b7cb9['ZvdxV'](_0x1846f6,'\x20')))&&_0x4b7cb9[_0x479f8b(0x140)](_0x1846f6['length'],_0x23d722)&&(_0x451aad=this['_fileNameByFullName'][_0x1846f6],_0x23d722=_0x1846f6[_0x479f8b(0x15d)]);}if(_0x451aad)return _0x451aad;}return null;}[a17_0x2cb3d0(0x153)](_0x27876c){const _0x139f81=a17_0x2cb3d0,_0x59c61f={};_0x59c61f[_0x139f81(0x15a)]=function(_0x4d0df4,_0x4866f7){return _0x4d0df4===_0x4866f7;},_0x59c61f['oSQIa']=_0x139f81(0x139);const _0x164e43=_0x59c61f;if(!Array[_0x139f81(0x146)](_0x27876c)||_0x164e43[_0x139f81(0x15a)](_0x27876c[_0x139f81(0x15d)],0x0))return undefined;const _0x53e436=[],_0x53ad2e=[];for(const _0x325737 of _0x27876c){_0x325737&&_0x325737[_0x139f81(0x1a3)]&&_0x53e436[_0x139f81(0x183)](_0x325737[_0x139f81(0x1a3)]),_0x325737&&_0x325737['stack']&&_0x53ad2e[_0x139f81(0x183)](_0x325737[_0x139f81(0x1a2)]);}const _0x1b84ee=_0x27876c[0x0]||{},_0x4cb256=_0x53e436[_0x139f81(0x15e)]('\x0a')||_0x1b84ee[_0x139f81(0x1a3)]||_0x164e43[_0x139f81(0x161)],_0x5c29bd=_0x53ad2e[_0x139f81(0x15e)]('\x0a\x0a')||_0x1b84ee[_0x139f81(0x1a2)]||_0x4cb256,_0x5e9371={};return _0x5e9371[_0x139f81(0x1a3)]=_0x4cb256,_0x5e9371[_0x139f81(0x1a2)]=_0x5c29bd,_0x5e9371[_0x139f81(0x172)]=_0x1b84ee[_0x139f81(0x172)],_0x5e9371[_0x139f81(0x160)]=_0x1b84ee[_0x139f81(0x160)],_0x5e9371[_0x139f81(0x162)]=_0x1b84ee['actual'],_0x5e9371;}['_findGitConfig'](_0x5d3d69){const _0x199560=a17_0x2cb3d0,_0x56887e={};_0x56887e[_0x199560(0x148)]=function(_0x5d87bb,_0x375945){return _0x5d87bb===_0x375945;},_0x56887e[_0x199560(0x18d)]=function(_0x173f4d,_0x3c9d59){return _0x173f4d===_0x3c9d59;},_0x56887e[_0x199560(0x13f)]=function(_0x3b0310,_0x3537d5){return _0x3b0310===_0x3537d5;},_0x56887e['IlPRa']='.git',_0x56887e['LWbNm']=_0x199560(0x1ab);const _0x43ff75=_0x56887e,_0x984129=path['sep'];if(_0x43ff75[_0x199560(0x148)](_0x5d3d69,null)||_0x43ff75[_0x199560(0x148)](_0x5d3d69,'')||_0x43ff75[_0x199560(0x18d)](_0x5d3d69,_0x984129)||_0x43ff75['FjDvO'](_0x5d3d69,path[_0x199560(0x1a9)](_0x5d3d69)))return null;try{return fs['statSync'](path[_0x199560(0x15e)](_0x5d3d69,_0x43ff75[_0x199560(0x1aa)],_0x43ff75[_0x199560(0x1ac)])),_0x5d3d69;}catch(_0x1a50b1){return this[_0x199560(0x1a8)](path['dirname'](_0x5d3d69));}}}module[a17_0x2cb3d0(0x165)]=BrowserStackJasmineReporter;
1
+ 'use strict';const a17_0x4d7f94=a17_0x2a86;(function(_0x2216c4,_0x35411c){const _0x3a83fe=a17_0x2a86,_0xd2764b=_0x2216c4();while(!![]){try{const _0x2783e0=parseInt(_0x3a83fe(0x21e))/0x1*(-parseInt(_0x3a83fe(0x1bf))/0x2)+-parseInt(_0x3a83fe(0x1e5))/0x3*(parseInt(_0x3a83fe(0x1d9))/0x4)+parseInt(_0x3a83fe(0x19e))/0x5+-parseInt(_0x3a83fe(0x1b6))/0x6+-parseInt(_0x3a83fe(0x1d3))/0x7*(-parseInt(_0x3a83fe(0x1e4))/0x8)+parseInt(_0x3a83fe(0x1b8))/0x9+-parseInt(_0x3a83fe(0x1ca))/0xa*(-parseInt(_0x3a83fe(0x1f0))/0xb);if(_0x2783e0===_0x35411c)break;else _0xd2764b['push'](_0xd2764b['shift']());}catch(_0x39f396){_0xd2764b['push'](_0xd2764b['shift']());}}}(a17_0x559b,0x5c6f5));function a17_0x2a86(_0x2c19d2,_0x2e99d5){const _0x559bd4=a17_0x559b();return a17_0x2a86=function(_0x2a86b4,_0x5e1f6b){_0x2a86b4=_0x2a86b4-0x19e;let _0x36aa7d=_0x559bd4[_0x2a86b4];return _0x36aa7d;},a17_0x2a86(_0x2c19d2,_0x2e99d5);}function a17_0x559b(){const _0x1b6d8e=['_collapseFailedExpectations','reverse','matcherName','err','nucEY','HBCsb','cwd','failed','DojoR','iGHnh','uploadEventData','MRFVA','excluded','setCurrentTestData','description','skipped','Mywlf','File\x20path\x20could\x20not\x20be\x20found','UMWqY','get','_fileNameByFullName','135395PuqIpE','prefixTestPath','pending','statSync','specDone','JASMINE','LgMNj','oUVmL','remove','1610700ozPLyg','push','passed','expected','testObservability','length','expanded','XGWrg','sSOti','_findGitConfig','../../../helpers/test-observability/utils','startsWith','add','delete','_suitesById','../../../helpers/testhub/utils','message','xcfre','yWRRX','endsWith','TestRunSkipped','_sendSpecEvent','TuXGJ','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','2472096sDXpaq','ReIYE','383121jPKSEe','jasmineDone','BYFLO','bTzpi','shouldProcessEventForTesthub','duration','aWecK','4BntTtm','LxKiG','zWiwY','split','finished_at','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failedExpectations','qFDtC','gWmWI','UnhandledError','status','1309580HGrgIi','vbbfw','code','\x20:\x20','set','jasmineStarted','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','cckTX','sep','115241jLRuFg','yClJL','config','frxDF','actual','uQKKe','427972QNTwZn','khddD','_resolveFilePath','PMFCI','join','kKwzh','failure_backtrace','Uryle','lang','isArray','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','136SRlQSM','3mWwolh','_paths','dirname','feVkq','parentSuiteId','stack','GVaUt','failure_reason_expanded','failure','../../../helpers/test-observability/constants','NZTuX','44uKCLgG','cYALb','tTySD','MfLmZ','eybmE','../../../helpers/test-observability/sessionHandler','fullName','filename','../testRunMap','.git','Spec\x20failed','lXgjW','jevnl','trim','_scopes','DnnuG','TestRunFinished','specStarted','ofPjl','fileNameByFullName','AssertionError','toISOString','suiteStarted','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','has'];a17_0x559b=function(){return _0x1b6d8e;};return a17_0x559b();}const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a17_0x4d7f94(0x1ad)),{FRAMEWORKS}=require(a17_0x4d7f94(0x1ee)),SessionHandler=require(a17_0x4d7f94(0x1f5)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x4d7f94(0x1a8)),testRunMap=require(a17_0x4d7f94(0x1f8)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a17_0x2dbac9={};a17_0x2dbac9[a17_0x4d7f94(0x1a0)]=a17_0x4d7f94(0x1a0),a17_0x2dbac9['failed']=a17_0x4d7f94(0x210),a17_0x2dbac9[a17_0x4d7f94(0x220)]=a17_0x4d7f94(0x220),a17_0x2dbac9[a17_0x4d7f94(0x215)]='skipped';const STATUS_MAP=a17_0x2dbac9;class BrowserStackJasmineReporter{constructor(_0x49e62e={}){const _0x167ec1=a17_0x4d7f94,_0x241028={'JApTK':function(_0x4409a7){return _0x4409a7();}};this[_0x167ec1(0x1a2)]=_0x241028['JApTK'](isTestObservabilitySession),this[_0x167ec1(0x1e6)]=new PathHelper({'cwd':process[_0x167ec1(0x20f)]()},undefined),this['_fileNameByFullName']=_0x49e62e&&_0x49e62e[_0x167ec1(0x203)]||{},this[_0x167ec1(0x1ac)]=new Map();}[a17_0x4d7f94(0x1cf)](){}[a17_0x4d7f94(0x206)](_0xeb4823){const _0x56a832=a17_0x4d7f94,_0x48a182={'GVaUt':function(_0x3d3a5f,_0x5af007){return _0x3d3a5f!==_0x5af007;},'lXgjW':function(_0x3d2f0e,_0x2f4477){return _0x3d2f0e(_0x2f4477);}};try{_0xeb4823&&_0x48a182[_0x56a832(0x1eb)](_0xeb4823['id'],undefined)&&_0x48a182[_0x56a832(0x1eb)](_0xeb4823['id'],null)&&this['_suitesById']['set'](_0xeb4823['id'],{'description':_0xeb4823[_0x56a832(0x217)],'parentSuiteId':_0xeb4823[_0x56a832(0x1e9)]});}catch(_0x3343e4){_0x48a182[_0x56a832(0x1fb)](debug,_0x56a832(0x1d0)+(_0xeb4823&&_0xeb4823[_0x56a832(0x1f6)])+_0x56a832(0x1cd)+_0x3343e4);}}[a17_0x4d7f94(0x201)](_0x3322ff){const _0x598a4a=a17_0x4d7f94,_0x28315f={'cVxxn':function(_0x17e029,_0xee6892){return _0x17e029!==_0xee6892;},'sSOti':function(_0x3ed328){return _0x3ed328();},'yASRj':'TestRunStarted','yWRRX':function(_0x2029fc,_0x649bca){return _0x2029fc(_0x649bca);}};try{if(_0x28315f['cVxxn'](testhubUtils[_0x598a4a(0x1bc)](),!![]))return;const _0x121544=_0x28315f[_0x598a4a(0x1a6)](uuidv4);testRunMap['set'](_0x3322ff['id'],_0x121544),this[_0x598a4a(0x1b3)](_0x3322ff,_0x121544,_0x28315f['yASRj']);}catch(_0x344959){_0x28315f[_0x598a4a(0x1b0)](debug,_0x598a4a(0x1e3)+(_0x3322ff&&_0x3322ff[_0x598a4a(0x1f6)])+_0x598a4a(0x1cd)+_0x344959);}}[a17_0x4d7f94(0x222)](_0x5634ee){const _0x59c8ac=a17_0x4d7f94,_0x316faf={'DnnuG':function(_0x408140,_0x12d8cf){return _0x408140!==_0x12d8cf;},'MfLmZ':function(_0x5f3923){return _0x5f3923();},'NZTuX':function(_0x402baf,_0x49d3fd){return _0x402baf===_0x49d3fd;},'Uryle':_0x59c8ac(0x215),'VnHFY':_0x59c8ac(0x1b2),'ofPjl':_0x59c8ac(0x200),'oUVmL':function(_0x291cf8,_0x3e4b2c){return _0x291cf8(_0x3e4b2c);}};try{if(_0x316faf[_0x59c8ac(0x1ff)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2c327e=testRunMap[_0x59c8ac(0x21c)](_0x5634ee['id'])||_0x316faf[_0x59c8ac(0x1f3)](uuidv4),_0x293cc8=_0x316faf[_0x59c8ac(0x1ef)](_0x5634ee['status'],_0x316faf[_0x59c8ac(0x1e0)])?_0x316faf['VnHFY']:_0x316faf[_0x59c8ac(0x202)];this[_0x59c8ac(0x1b3)](_0x5634ee,_0x2c327e,_0x293cc8);}catch(_0x2e66c8){_0x316faf[_0x59c8ac(0x225)](debug,_0x59c8ac(0x1c4)+(_0x5634ee&&_0x5634ee[_0x59c8ac(0x1f6)])+_0x59c8ac(0x1cd)+_0x2e66c8);}finally{_0x5634ee&&(testRunMap[_0x59c8ac(0x226)](_0x5634ee['id']),_specStartTimes[_0x59c8ac(0x1ab)](_0x5634ee['id']));}}['suiteDone'](){}[a17_0x4d7f94(0x1b9)](){}[a17_0x4d7f94(0x1b3)](_0x39d1bf,_0x37b50b,_0x376d1f){const _0x277150=a17_0x4d7f94,_0x21c360={'kKwzh':function(_0x127745,_0x135442){return _0x127745===_0x135442;},'LgMNj':_0x277150(0x200),'jevnl':function(_0x2118ad,_0x23b722){return _0x2118ad===_0x23b722;},'UMWqY':_0x277150(0x1b2),'tNsFq':_0x277150(0x21a),'RqWbP':function(_0x5cf6ea,_0x14f46d,_0xb5b446){return _0x5cf6ea(_0x14f46d,_0xb5b446);},'ReIYE':_0x277150(0x20c),'vbbfw':'TestRunStarted','JXgtv':function(_0x4d063b,_0x2e847f){return _0x4d063b!==_0x2e847f;},'qFDtC':function(_0x586e43,_0x588e40){return _0x586e43!==_0x588e40;},'frxDF':function(_0x59ecb0,_0x3be4dc){return _0x59ecb0===_0x3be4dc;},'cYALb':'javascript','aEkIH':function(_0x96335b,_0x457d62){return _0x96335b&&_0x457d62;},'yClJL':_0x277150(0x218),'oGsPb':_0x277150(0x1a0),'PMFCI':'number','HBCsb':_0x277150(0x204),'BzFEx':_0x277150(0x1c8),'tTySD':function(_0x463ca5,_0x24a14d){return _0x463ca5===_0x24a14d;},'Mywlf':'started_at','xcfre':_0x277150(0x1c3),'gWmWI':_0x277150(0x1ed),'suVuo':_0x277150(0x1df),'khddD':'backtrace','bTzpi':_0x277150(0x1ec),'XGWrg':_0x277150(0x1a4),'FSfOD':function(_0x491eea,_0x3e0a82){return _0x491eea(_0x3e0a82);}};try{const _0x3a9369=_0x21c360[_0x277150(0x1de)](_0x376d1f,_0x21c360[_0x277150(0x224)])||_0x21c360[_0x277150(0x1fc)](_0x376d1f,_0x21c360[_0x277150(0x21b)]),_0xfc7d09=this['_resolveFilePath'](_0x39d1bf),_0x3cc3fd=_0xfc7d09?this[_0x277150(0x1e6)][_0x277150(0x21f)](_0xfc7d09):_0x21c360['tNsFq'],_0x1b5d92=_0xfc7d09?this[_0x277150(0x1a7)](path[_0x277150(0x1e7)](_0xfc7d09)):null,_0x3bdaf3=this[_0x277150(0x209)](_0x39d1bf[_0x277150(0x1c5)]),_0x239a02=_0x3bdaf3?_0x3bdaf3[_0x277150(0x1ae)]:undefined,_0x3e2bfa=_0x3bdaf3?_0x21c360['RqWbP'](failureData,_0x3bdaf3,_0x21c360[_0x277150(0x1b7)]):[],_0x590e10=new Date()[_0x277150(0x205)](),_0x4e1d25=this[_0x277150(0x1fe)](_0x39d1bf);_0x21c360[_0x277150(0x1fc)](_0x376d1f,_0x21c360[_0x277150(0x1cb)])&&_0x39d1bf&&_0x21c360['JXgtv'](_0x39d1bf['id'],undefined)&&_0x21c360[_0x277150(0x1c6)](_0x39d1bf['id'],null)&&_specStartTimes[_0x277150(0x1ce)](_0x39d1bf['id'],_0x590e10);const _0x1eeb26=_0x21c360[_0x277150(0x1d6)](_0x376d1f,_0x21c360[_0x277150(0x1cb)])?_0x590e10:_0x39d1bf&&_specStartTimes[_0x277150(0x21c)](_0x39d1bf['id'])||null,_0x1b7446={};_0x1b7446[_0x277150(0x1e1)]=_0x21c360[_0x277150(0x1f1)],_0x1b7446[_0x277150(0x1cc)]=null;const _0x3093be={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x37b50b,'name':_0x39d1bf[_0x277150(0x217)],'body':_0x1b7446,'scope':_0x4e1d25[_0x277150(0x1dd)]('\x20'),'scopes':_0x4e1d25,'identifier':_0x39d1bf[_0x277150(0x1f6)],'file_name':_0x3cc3fd,'vc_filepath':_0x21c360['aEkIH'](_0x1b5d92,_0xfc7d09)?path['relative'](_0x1b5d92,_0xfc7d09):null,'location':_0x3cc3fd,'result':_0x21c360[_0x277150(0x1d6)](_0x376d1f,_0x21c360[_0x277150(0x21b)])?_0x21c360[_0x277150(0x1d4)]:STATUS_MAP[_0x39d1bf[_0x277150(0x1c9)]]||_0x21c360['oGsPb'],'failure_reason':_0x239a02,'duration_in_ms':_0x21c360[_0x277150(0x1fc)](typeof _0x39d1bf[_0x277150(0x1bd)],_0x21c360[_0x277150(0x1dc)])?_0x39d1bf[_0x277150(0x1bd)]:null,'started_at':_0x1eeb26,'finished_at':_0x3a9369?_0x590e10:null,'failure':_0x3e2bfa,'failure_type':!_0x239a02?null:_0x239a02['match'](/AssertionError/)?_0x21c360[_0x277150(0x20e)]:_0x21c360['BzFEx'],'retry_of':null};_0x21c360[_0x277150(0x1f2)](_0x376d1f,_0x21c360[_0x277150(0x21b)])&&!_0x3093be[_0x21c360[_0x277150(0x219)]]&&(_0x3093be[_0x21c360['Mywlf']]=_0x3093be[_0x21c360[_0x277150(0x1af)]]);const _0x4972cc=_0x3093be[_0x21c360[_0x277150(0x1c7)]][0x0];_0x4972cc&&(_0x3093be[_0x21c360['suVuo']]=_0x4972cc[_0x21c360[_0x277150(0x1da)]],_0x3093be[_0x21c360[_0x277150(0x1bb)]]=_0x4972cc[_0x21c360[_0x277150(0x1a5)]]);testhubUtils['appendTesthubParams'](_0x3093be,_0x376d1f,_0x39d1bf,FRAMEWORKS[_0x277150(0x223)]);const _0x357dba={'event_type':_0x21c360[_0x277150(0x1de)](_0x376d1f,_0x21c360[_0x277150(0x21b)])?_0x21c360[_0x277150(0x224)]:_0x376d1f,'test_run':_0x3093be};return testhubUtils[_0x277150(0x216)](FRAMEWORKS[_0x277150(0x223)],_0x357dba),SessionHandler[_0x277150(0x213)](_0x357dba);}catch(_0x30b3b3){_0x21c360['FSfOD'](debug,_0x277150(0x207)+_0x376d1f+_0x277150(0x1cd)+_0x30b3b3);}}[a17_0x4d7f94(0x1fe)](_0x58bb70){const _0x959a02=a17_0x4d7f94,_0x43ff95={'iGHnh':function(_0x1966cd,_0x1d3620){return _0x1966cd!==_0x1d3620;},'TuXGJ':function(_0x519569,_0x3ee62d){return _0x519569>_0x3ee62d;},'cckTX':function(_0x567a53,_0x3d04e6){return _0x567a53(_0x3d04e6);},'nucEY':function(_0x2311ef,_0x328bf8){return _0x2311ef-_0x328bf8;}};try{const _0x53e0f4=[];let _0x331f30=_0x58bb70&&_0x58bb70[_0x959a02(0x1e9)];const _0x545153=new Set();while(_0x43ff95[_0x959a02(0x212)](_0x331f30,undefined)&&_0x43ff95[_0x959a02(0x212)](_0x331f30,null)&&this['_suitesById'][_0x959a02(0x208)](_0x331f30)&&!_0x545153[_0x959a02(0x208)](_0x331f30)){_0x545153[_0x959a02(0x1aa)](_0x331f30);const _0x46c035=this[_0x959a02(0x1ac)][_0x959a02(0x21c)](_0x331f30);_0x46c035&&_0x46c035[_0x959a02(0x217)]&&_0x53e0f4['push'](_0x46c035[_0x959a02(0x217)]),_0x331f30=_0x46c035?_0x46c035[_0x959a02(0x1e9)]:null;}if(_0x43ff95[_0x959a02(0x1b4)](_0x53e0f4[_0x959a02(0x1a3)],0x0))return _0x53e0f4[_0x959a02(0x20a)]();}catch(_0x1b14ab){_0x43ff95[_0x959a02(0x1d1)](debug,_0x959a02(0x1b5)+(_0x58bb70&&_0x58bb70[_0x959a02(0x1f6)])+_0x959a02(0x1cd)+_0x1b14ab);}const _0x41bad9=_0x58bb70&&_0x58bb70[_0x959a02(0x1f6)]||'',_0xa79092=_0x58bb70&&_0x58bb70[_0x959a02(0x217)]||'';let _0x187909=_0x41bad9;return _0xa79092&&_0x41bad9[_0x959a02(0x1b1)](_0xa79092)&&(_0x187909=_0x41bad9['slice'](0x0,_0x43ff95[_0x959a02(0x20d)](_0x41bad9[_0x959a02(0x1a3)],_0xa79092[_0x959a02(0x1a3)]))[_0x959a02(0x1fd)]()),_0x187909?_0x187909[_0x959a02(0x1c2)](/\s+/):[];}[a17_0x4d7f94(0x1db)](_0x1705c5){const _0xa1137f=a17_0x4d7f94,_0x71b77b={};_0x71b77b[_0xa1137f(0x1e8)]=function(_0x525dcd,_0x3775f5){return _0x525dcd===_0x3775f5;},_0x71b77b['aWecK']=function(_0x78b075,_0x21f15d){return _0x78b075+_0x21f15d;},_0x71b77b[_0xa1137f(0x214)]=function(_0x453d70,_0x51f3db){return _0x453d70>_0x51f3db;};const _0x3ac22e=_0x71b77b;if(_0x1705c5&&_0x1705c5[_0xa1137f(0x1f7)])return _0x1705c5[_0xa1137f(0x1f7)];if(_0x1705c5&&_0x1705c5[_0xa1137f(0x1f6)]){if(this[_0xa1137f(0x21d)][_0x1705c5['fullName']])return this['_fileNameByFullName'][_0x1705c5['fullName']];let _0x162d7e=null,_0x567038=-0x1;for(const _0x4e3866 of Object['keys'](this[_0xa1137f(0x21d)])){(_0x3ac22e[_0xa1137f(0x1e8)](_0x1705c5['fullName'],_0x4e3866)||_0x1705c5[_0xa1137f(0x1f6)][_0xa1137f(0x1a9)](_0x3ac22e[_0xa1137f(0x1be)](_0x4e3866,'\x20')))&&_0x3ac22e[_0xa1137f(0x214)](_0x4e3866[_0xa1137f(0x1a3)],_0x567038)&&(_0x162d7e=this[_0xa1137f(0x21d)][_0x4e3866],_0x567038=_0x4e3866['length']);}if(_0x162d7e)return _0x162d7e;}return null;}[a17_0x4d7f94(0x209)](_0x261554){const _0x4940a3=a17_0x4d7f94,_0x579d1b={};_0x579d1b[_0x4940a3(0x211)]=function(_0x14a4b2,_0x2f1b74){return _0x14a4b2===_0x2f1b74;},_0x579d1b['BYFLO']=_0x4940a3(0x1fa);const _0x201f18=_0x579d1b;if(!Array[_0x4940a3(0x1e2)](_0x261554)||_0x201f18[_0x4940a3(0x211)](_0x261554['length'],0x0))return undefined;const _0x5a352a=[],_0xecf224=[];for(const _0x101e3a of _0x261554){_0x101e3a&&_0x101e3a[_0x4940a3(0x1ae)]&&_0x5a352a[_0x4940a3(0x19f)](_0x101e3a['message']),_0x101e3a&&_0x101e3a[_0x4940a3(0x1ea)]&&_0xecf224[_0x4940a3(0x19f)](_0x101e3a['stack']);}const _0x22f3d4=_0x261554[0x0]||{},_0x21878d=_0x5a352a[_0x4940a3(0x1dd)]('\x0a')||_0x22f3d4[_0x4940a3(0x1ae)]||_0x201f18[_0x4940a3(0x1ba)],_0xa206e2=_0xecf224[_0x4940a3(0x1dd)]('\x0a\x0a')||_0x22f3d4['stack']||_0x21878d,_0x13e298={};return _0x13e298['message']=_0x21878d,_0x13e298[_0x4940a3(0x1ea)]=_0xa206e2,_0x13e298[_0x4940a3(0x20b)]=_0x22f3d4[_0x4940a3(0x20b)],_0x13e298[_0x4940a3(0x1a1)]=_0x22f3d4[_0x4940a3(0x1a1)],_0x13e298[_0x4940a3(0x1d7)]=_0x22f3d4['actual'],_0x13e298;}['_findGitConfig'](_0x3e5548){const _0xa37572=a17_0x4d7f94,_0x539a09={};_0x539a09['LxKiG']=function(_0x2f6a06,_0x488ff9){return _0x2f6a06===_0x488ff9;},_0x539a09[_0xa37572(0x1d8)]=function(_0x23ac28,_0x1c3d39){return _0x23ac28===_0x1c3d39;},_0x539a09[_0xa37572(0x1f4)]=function(_0x14237d,_0x2b38dc){return _0x14237d===_0x2b38dc;},_0x539a09['zWiwY']=_0xa37572(0x1f9),_0x539a09['rKcLG']=_0xa37572(0x1d5);const _0x5ddddf=_0x539a09,_0x33709d=path[_0xa37572(0x1d2)];if(_0x5ddddf[_0xa37572(0x1c0)](_0x3e5548,null)||_0x5ddddf['LxKiG'](_0x3e5548,'')||_0x5ddddf['uQKKe'](_0x3e5548,_0x33709d)||_0x5ddddf['eybmE'](_0x3e5548,path[_0xa37572(0x1e7)](_0x3e5548)))return null;try{return fs[_0xa37572(0x221)](path[_0xa37572(0x1dd)](_0x3e5548,_0x5ddddf[_0xa37572(0x1c1)],_0x5ddddf['rKcLG'])),_0x3e5548;}catch(_0x26c762){return this['_findGitConfig'](path[_0xa37572(0x1e7)](_0x3e5548));}}}module['exports']=BrowserStackJasmineReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a18_0x1a8e9a=a18_0x1b73;(function(_0x50955c,_0x25c444){const _0x456bc7=a18_0x1b73,_0x22c8f6=_0x50955c();while(!![]){try{const _0x4a8797=-parseInt(_0x456bc7(0xf9))/0x1+parseInt(_0x456bc7(0xe4))/0x2*(parseInt(_0x456bc7(0x10b))/0x3)+-parseInt(_0x456bc7(0x12f))/0x4+parseInt(_0x456bc7(0x11e))/0x5*(-parseInt(_0x456bc7(0x154))/0x6)+parseInt(_0x456bc7(0x10a))/0x7*(-parseInt(_0x456bc7(0x150))/0x8)+-parseInt(_0x456bc7(0x15e))/0x9*(-parseInt(_0x456bc7(0x12d))/0xa)+parseInt(_0x456bc7(0x145))/0xb;if(_0x4a8797===_0x25c444)break;else _0x22c8f6['push'](_0x22c8f6['shift']());}catch(_0xf1005e){_0x22c8f6['push'](_0x22c8f6['shift']());}}}(a18_0x4e7a,0x5b563));function a18_0x4e7a(){const _0x3ae59b=['DWsxf','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','start','true','IYYFB','\x27\x20:\x20','useW3C','info','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','1868181ilBYrG','71787axrjNh','isArray','lBLLI','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','zMWof','tPlCV','resolve','HYFci','../../helpers/testhub/testhubHandler','handleApp','isCLIEnabled','MGsbO','getHubUrl','__isPuppeteerInstalled','format','platforms','BROWSERSTACK_JASMINE_PARALLELS','validPlatformsPresent','error','337865ygZZWm','ZxVTW','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20',';\x20proceeding\x20without\x20injection','PqnAy','globSync','ixuWd','spec_files','mSzRo','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','Alpvm','env','sSMAb','../../helpers/test-observability/utils','filter','290nhPetI','platformIndex','2820572DDEmuj','JASMINE','capability','slice',')\x20exited\x20with\x20code\x20','rBbvZ','lQvAR','YfHLs','child_process','XPTVf','XBmtX','util','Running\x20your\x20Jasmine\x20tests\x20across\x20','proxySettings','kCEBK','stop','existsSync','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','cwd','../../helpers/utilities','startsWith','stringify','13727417HaZivH','PtgEA','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','end','BROWSERSTACK_TEST_OBSERVABILITY_YML','specArgs','**/*[sS]pec.?(m)js','islpJ','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','BROWSERSTACK_CAPABILITIES','8ulCyBC','printBuildLink','launchBuild','DMCqb','6oXTeeS','xSfGr','shouldReRunObservabilityTests','../utils/constants','OsoFF',')\x20:\x20','WXIAp','testObservability','accessibilityOptions','getPackageVersion','101835AUsYfv','pQLqL','from','yCjsm','bkmyJ','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','SDK_SETUP','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','test.setup.js','DaQJr','--helper=','readFileSync','JrZuY','CAbcL','win32','../../helpers/puppeteer-helper','map','logLevel','platform','debug','spec','NqLDi','all','finalExecution','spec/support/jasmine.json','\x20platform(s),\x20parallelsPerPlatform=','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','p-limit','push','JASMINE_CONFIG_PATH','\x20:\x20','FRAMEWORKS','RRuEZ','10ufYRSb','SDK_CLEANUP','qZydt','../v2/browserstackCLI','@playwright/test','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','utf8','../../helpers/playwright-helper','spec_dir','zstQd','inherit','binSessionId','length','config','../../helpers/logger','maxWorkers','sgQJL','isUndefined',',\x20specs=','getInstance','\x20work-item(s),\x20max\x20','282013HgtWLz','EVENTS','getPlatformName','\x20concurrent)','posix','string','GFXyb'];a18_0x4e7a=function(){return _0x3ae59b;};return a18_0x4e7a();}const fs=require('fs'),path=require('path'),util=require(a18_0x1a8e9a(0x13a)),{spawn}=require(a18_0x1a8e9a(0x137)),glob=require('glob'),pLimit=require(a18_0x1a8e9a(0x179)),logger=require(a18_0x1a8e9a(0xf2))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a18_0x1a8e9a(0x142)),constants=require(a18_0x1a8e9a(0x157)),TestHubHandler=require(a18_0x1a8e9a(0x113)),testOpsHelper=require(a18_0x1a8e9a(0x12b)),{debug}=require(a18_0x1a8e9a(0x12b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a18_0x1a8e9a(0xfa)],BrowserstackCLI=require(a18_0x1a8e9a(0xe7)),{checkPwandBootstrapCli}=require(a18_0x1a8e9a(0xeb)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x1a8e9a(0x16d)),getMaxWorkers=(_0x5cae6b,_0x231699)=>{const _0x3d1098=a18_0x1a8e9a,_0x490e93={'cjkRG':function(_0xd75b82,_0x33e71f){return _0xd75b82(_0x33e71f);}};let _0x1084c9=0x1;if(!helper['isUndefined'](_0x231699['parallelsPerPlatform']))_0x1084c9=_0x490e93['cjkRG'](parseInt,_0x231699['parallelsPerPlatform']);else!helper[_0x3d1098(0xf5)](_0x5cae6b[_0x3d1098(0xf3)])&&(_0x1084c9=_0x5cae6b[_0x3d1098(0xf3)]);return _0x1084c9;},resolveJasmineConfigPath=()=>{const _0x2385d0=a18_0x1a8e9a,_0x2f09c9={};_0x2f09c9[_0x2385d0(0x139)]=_0x2385d0(0x176);const _0x29a370=_0x2f09c9,_0x4f356a=[];process[_0x2385d0(0x129)][_0x2385d0(0x17b)]&&_0x4f356a['push'](path['resolve'](process['cwd'](),process[_0x2385d0(0x129)][_0x2385d0(0x17b)]));_0x4f356a[_0x2385d0(0x17a)](path[_0x2385d0(0x111)](process['cwd'](),_0x29a370['XBmtX']));for(const _0x48b287 of _0x4f356a){try{if(fs['existsSync'](_0x48b287))return _0x48b287;}catch(_0xbae26d){}}return null;},enumerateSpecFiles=_0xd3d350=>{const _0x1f67c5=a18_0x1a8e9a,_0x50fe13={'islpJ':function(_0x4eb941,_0x1a472a){return _0x4eb941(_0x1a472a);},'xSfGr':function(_0x508b8a,_0x46d924){return _0x508b8a>_0x46d924;},'zebhg':function(_0x50d8a0,_0xfd8ec7){return _0x50d8a0(_0xfd8ec7);},'JrZuY':function(_0x3b9cde,_0x185db7){return _0x3b9cde<_0x185db7;},'XPTVf':function(_0x16df24,_0x4fc1ce){return _0x16df24===_0x4fc1ce;},'NqLDi':_0x1f67c5(0xfe),'pQLqL':function(_0x398461,_0x4896c6){return _0x398461>_0x4896c6;},'tPlCV':function(_0x137c52,_0xce28bf,_0x3eecda){return _0x137c52(_0xce28bf,_0x3eecda);},'lQvAR':function(_0x3ddf0c){return _0x3ddf0c();},'dLQQq':_0x1f67c5(0xea),'bkmyJ':_0x1f67c5(0x172),'MGsbO':function(_0x4b5457,_0x12d541){return _0x4b5457>_0x12d541;},'jVrPG':_0x1f67c5(0x14b),'DWsxf':function(_0x4694ee,_0x1cd99c){return _0x4694ee>_0x1cd99c;}};try{if(testOpsHelper[_0x1f67c5(0x156)]()){const _0x547a9f=testOpsHelper['parseFileNames'](process[_0x1f67c5(0x129)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x1f67c5(0x10c)](_0x547a9f)&&_0x50fe13[_0x1f67c5(0x155)](_0x547a9f[_0x1f67c5(0xf0)],0x0))return _0x547a9f[_0x1f67c5(0x16e)](_0x3eb82c=>path[_0x1f67c5(0x111)](process[_0x1f67c5(0x141)](),_0x3eb82c['trim']()))['filter'](Boolean);}}catch(_0x46c9ea){_0x50fe13['zebhg'](debug,_0x1f67c5(0x120)+util[_0x1f67c5(0x119)](_0x46c9ea));}const _0x204c8c=[];try{for(let _0x1baf94=0x1;_0x50fe13[_0x1f67c5(0x16a)](_0x1baf94,_0xd3d350[_0x1f67c5(0xf0)]);_0x1baf94++){const _0x3744df=_0xd3d350[_0x1baf94];_0x50fe13[_0x1f67c5(0x138)](typeof _0x3744df,_0x50fe13[_0x1f67c5(0x173)])&&!_0x3744df[_0x1f67c5(0x143)]('-')&&_0x204c8c[_0x1f67c5(0x17a)](_0x3744df);}}catch(_0x4f82e0){}const _0x458404={'cwd':process[_0x1f67c5(0x141)](),'absolute':!![],'nodir':!![]},_0x214a68=(_0xe9e54b,_0x4f909a)=>{const _0x5573fc=_0x1f67c5,_0x31fbe0=[];for(const _0x59d1e9 of _0xe9e54b){try{const _0x16a958=_0x4f909a?path[_0x5573fc(0xfd)][_0x5573fc(0x102)](_0x4f909a,_0x59d1e9):_0x59d1e9,_0x28db88=glob[_0x5573fc(0x123)](_0x16a958,_0x458404);Array[_0x5573fc(0x10c)](_0x28db88)&&_0x31fbe0[_0x5573fc(0x17a)](..._0x28db88);}catch(_0x251e26){_0x50fe13[_0x5573fc(0x14c)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x59d1e9+_0x5573fc(0x106)+util[_0x5573fc(0x119)](_0x251e26));}}return _0x31fbe0;};if(_0x50fe13[_0x1f67c5(0x15f)](_0x204c8c[_0x1f67c5(0xf0)],0x0)){const _0x35203f=_0x50fe13[_0x1f67c5(0x110)](_0x214a68,_0x204c8c,null);if(_0x50fe13[_0x1f67c5(0x15f)](_0x35203f[_0x1f67c5(0xf0)],0x0))return Array[_0x1f67c5(0x160)](new Set(_0x35203f));return _0x204c8c['map'](_0x2b3616=>path['resolve'](process['cwd'](),_0x2b3616));}try{const _0x40eeff=_0x50fe13[_0x1f67c5(0x135)](resolveJasmineConfigPath);if(_0x40eeff){const _0x22f360=JSON['parse'](fs[_0x1f67c5(0x169)](_0x40eeff,_0x50fe13['dLQQq'])),_0x1505d4=_0x22f360[_0x1f67c5(0xec)]||_0x50fe13[_0x1f67c5(0x162)],_0x480ec8=Array['isArray'](_0x22f360['spec_files'])&&_0x50fe13[_0x1f67c5(0x116)](_0x22f360['spec_files'][_0x1f67c5(0xf0)],0x0)?_0x22f360[_0x1f67c5(0x125)]:[_0x50fe13['jVrPG']],_0x3624cf=_0x50fe13['tPlCV'](_0x214a68,_0x480ec8,_0x1505d4);if(_0x50fe13[_0x1f67c5(0x100)](_0x3624cf[_0x1f67c5(0xf0)],0x0))return Array['from'](new Set(_0x3624cf));}}catch(_0x1f9ec6){_0x50fe13[_0x1f67c5(0x14c)](debug,_0x1f67c5(0x127)+util[_0x1f67c5(0x119)](_0x1f9ec6));}return null;};async function run(_0x593aea,_0x4526bd,_0x362453){const _0x251892=a18_0x1a8e9a,_0x3aa783={'sgQJL':function(_0x4036fa,_0x40c91b){return _0x4036fa>_0x40c91b;},'agdgc':function(_0x19a59a,_0x371f88){return _0x19a59a>_0x371f88;},'PtgEA':_0x251892(0x174),'rBbvZ':function(_0x3d2442,_0x2e615c){return _0x3d2442(_0x2e615c);},'PqnAy':function(_0x477458,_0x4e131d){return _0x477458||_0x4e131d;},'sSMAb':function(_0x465676,_0x7e410){return _0x465676>_0x7e410;},'bJTwy':function(_0xeffab,_0x4d0b63,_0x4ef212,_0x35528d){return _0xeffab(_0x4d0b63,_0x4ef212,_0x35528d);},'ZxVTW':'npx','qZydt':'jasmine','niFsk':function(_0x5726a0,_0x355d6d){return _0x5726a0===_0x355d6d;},'kCEBK':_0x251892(0x16c),'DcAay':_0x251892(0xee),'GFXyb':'close','yCjsm':_0x251892(0x11d),'zMWof':function(_0x527dd6,_0x2954cc){return _0x527dd6(_0x2954cc);},'ixuWd':function(_0xd8f2e2,_0x2f0524){return _0xd8f2e2(_0x2f0524);},'mSzRo':_0x251892(0xe8),'WXIAp':function(_0x5e9ee3){return _0x5e9ee3();},'CAbcL':function(_0x3ccc07,_0x1ae847,_0x41ed6a,_0x37246e){return _0x3ccc07(_0x1ae847,_0x41ed6a,_0x37246e);},'lBLLI':function(_0xb59eb7,_0x288ab7){return _0xb59eb7!=_0x288ab7;},'ljmOM':_0x251892(0x104),'Alpvm':function(_0x5d03b4,_0x2d58ad){return _0x5d03b4(_0x2d58ad);},'HYFci':function(_0x36aacb,_0x1c19d5,_0x3f901d){return _0x36aacb(_0x1c19d5,_0x3f901d);},'DaQJr':function(_0x34501e,_0x211af8){return _0x34501e*_0x211af8;},'gzLbx':_0x251892(0x166),'zstQd':function(_0x4da66e,_0x1c3adc){return _0x4da66e<_0x1c3adc;},'OsoFF':function(_0x301818,_0x3f9329){return _0x301818>_0x3f9329;}},_0x79eaaa=helper[_0x251892(0x15d)](_0x3aa783[_0x251892(0x126)]);global['__isPlaywrightInstalled']=!!_0x79eaaa;const _0x33305b=_0x3aa783[_0x251892(0x15a)](getPuppeteerVersion);global[_0x251892(0x118)]=!!_0x33305b;helper['isBrowserstackInfra']()&&(await _0x362453['initialize'](_0x593aea),await helper[_0x251892(0x114)](_0x362453[_0x251892(0xf1)]));if(_0x79eaaa)await _0x3aa783[_0x251892(0x16b)](checkPwandBootstrapCli,_0x79eaaa,constants[_0x251892(0x17d)][_0x251892(0x130)],_0x362453);else _0x33305b&&await _0x3aa783['bJTwy'](checkPuppeteerAndBootstrapCli,_0x33305b,constants[_0x251892(0x17d)][_0x251892(0x130)],_0x362453);if(!_0x362453[_0x251892(0xf1)])return;_0x3aa783[_0x251892(0x10d)](_0x362453[_0x251892(0xf1)][_0x251892(0x15b)],null)?process[_0x251892(0x129)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x362453['config'][_0x251892(0x15b)]:process[_0x251892(0x129)][_0x251892(0x149)]=_0x3aa783['ljmOM'];!helper[_0x251892(0xf5)](_0x362453[_0x251892(0xf1)][_0x251892(0x15c)])&&(process[_0x251892(0x129)][_0x251892(0x101)]=JSON[_0x251892(0x144)](_0x362453['config'][_0x251892(0x15c)]));try{await TestHubHandler[_0x251892(0x152)](FRAMEWORKS[_0x251892(0x130)],_0x362453);}catch(_0x13883b){logger[_0x251892(0x11d)](_0x251892(0x14e)+util['format'](_0x13883b)),_0x3aa783[_0x251892(0x10f)](debug,_0x251892(0x147)+util[_0x251892(0x119)](_0x13883b));}let _0x365912=![],_0x156b22=[];try{_0x365912=helper[_0x251892(0x107)](_0x362453[_0x251892(0xf1)]),_0x156b22=helper['prepareCapabilities'](_0x362453[_0x251892(0xf1)],_0x365912,constants[_0x251892(0x17d)]['JASMINE']),process['env'][_0x251892(0x14f)]=JSON[_0x251892(0x144)](_0x156b22);}catch(_0x297bc3){_0x3aa783[_0x251892(0x134)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x251892(0x119)](_0x297bc3));}let _0x430159=null,_0x1d706b=![];try{_0x430159=helper[_0x251892(0x117)](_0x362453['config']),_0x1d706b=helper[_0x251892(0x11c)](_0x362453['config']);}catch(_0x52f964){_0x3aa783[_0x251892(0x128)](debug,_0x251892(0x165)+util['format'](_0x52f964));}const _0x4b1205=_0x1f886e=>{const _0x566db1=_0x251892,_0x444db1=Array[_0x566db1(0x10c)](_0x156b22)&&_0x3aa783[_0x566db1(0xf4)](_0x156b22[_0x566db1(0xf0)],_0x1f886e)?_0x156b22[_0x1f886e]:Array['isArray'](_0x156b22)&&_0x3aa783['agdgc'](_0x156b22[_0x566db1(0xf0)],0x0)?_0x156b22[0x0]:{};return{'server':_0x430159,'capability':_0x444db1,'proxySettings':_0x362453[_0x566db1(0xf1)][_0x566db1(0x13c)],'platform':helper[_0x566db1(0xfb)](_0x444db1),'browserStackLogLevel':_0x362453[_0x566db1(0xf1)][_0x566db1(0x16f)],'platformIndex':_0x1f886e,'framework':constants[_0x566db1(0x17d)][_0x566db1(0x130)],'platformCaps':_0x1d706b?Object['assign']({'index':_0x1f886e},_0x362453[_0x566db1(0xf1)][_0x566db1(0x11a)][_0x1f886e]):{'index':_0x1f886e}};};let _0x1cf95d=0x1,_0x10d533=0x1,_0x56c8aa=0x1;try{_0x1cf95d=_0x3aa783[_0x251892(0x112)](getMaxWorkers,_0x593aea,_0x362453[_0x251892(0xf1)]),_0x10d533=_0x1d706b?_0x362453[_0x251892(0xf1)][_0x251892(0x11a)][_0x251892(0xf0)]:0x1,_0x56c8aa=_0x3aa783[_0x251892(0x167)](_0x10d533,_0x1cf95d),process[_0x251892(0x129)][_0x251892(0x11b)]=_0x3aa783['Alpvm'](String,_0x56c8aa);}catch(_0x481d9a){_0x3aa783[_0x251892(0x124)](debug,_0x251892(0x10e)+util[_0x251892(0x119)](_0x481d9a));}try{BrowserstackCLI[_0x251892(0xf7)]()['binSessionId']&&(process[_0x251892(0x129)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x251892(0xf7)]()[_0x251892(0xef)]);}catch(_0x33f6ae){_0x3aa783[_0x251892(0x128)](debug,_0x251892(0xe9)+util[_0x251892(0x119)](_0x33f6ae));}const _0xe67647=[];try{const _0x2a4d9b=path['resolve'](__dirname,_0x3aa783['gzLbx']);fs[_0x251892(0x13f)](_0x2a4d9b)?_0xe67647['push'](_0x251892(0x168)+_0x2a4d9b):_0x3aa783[_0x251892(0x128)](debug,_0x251892(0x109)+_0x2a4d9b+_0x251892(0x121));}catch(_0x20cbfc){_0x3aa783[_0x251892(0x134)](debug,_0x251892(0x140)+util[_0x251892(0x119)](_0x20cbfc));}const _0x5adc30=_0x4526bd[_0x251892(0x132)](0x1),_0x3a0bff=_0x3aa783['zMWof'](enumerateSpecFiles,_0x4526bd),_0x32c92c=[];for(let _0x781d84=0x0;_0x3aa783[_0x251892(0xed)](_0x781d84,_0x10d533);_0x781d84++){if(_0x3aa783[_0x251892(0xf4)](_0x1cf95d,0x1)&&Array[_0x251892(0x10c)](_0x3a0bff)&&_0x3aa783[_0x251892(0x158)](_0x3a0bff['length'],0x0))for(const _0x363627 of _0x3a0bff){const _0x40940d={};_0x40940d['platformIndex']=_0x781d84,_0x40940d['specArgs']=[_0x363627],_0x32c92c[_0x251892(0x17a)](_0x40940d);}else{const _0x5d0c5f={};_0x5d0c5f['platformIndex']=_0x781d84,_0x5d0c5f[_0x251892(0x14a)]=_0x3a0bff,_0x32c92c[_0x251892(0x17a)](_0x5d0c5f);}}logger[_0x251892(0x108)](_0x251892(0x13b)+_0x10d533+_0x251892(0x177)+_0x1cf95d+'\x20('+_0x32c92c[_0x251892(0xf0)]+_0x251892(0xf8)+_0x56c8aa+_0x251892(0xfc)),PerformanceTester[_0x251892(0x148)](PerformanceEvents[_0x251892(0x164)]);const _0x545c7f=_0x58b8df=>new Promise(_0x4ed382=>{const _0x11f701=_0x251892,_0x4e7856={'IYYFB':_0x3aa783[_0x11f701(0x146)],'DMCqb':function(_0x1c0172,_0x3cc5db){const _0x31f494=_0x11f701;return _0x3aa783[_0x31f494(0x134)](_0x1c0172,_0x3cc5db);},'RRuEZ':function(_0x38ec14,_0x24ddfd){const _0x31b190=_0x11f701;return _0x3aa783[_0x31b190(0x122)](_0x38ec14,_0x24ddfd);},'YfHLs':function(_0x38dfb7,_0x1ab52e){const _0x56e4df=_0x11f701;return _0x3aa783[_0x56e4df(0x134)](_0x38dfb7,_0x1ab52e);}};let _0x117202;try{const _0x556cd2=_0x3aa783['rBbvZ'](_0x4b1205,_0x58b8df['platformIndex']);_0x117202=Object['assign']({},process[_0x11f701(0x129)],{'BROWSERSTACK_JASMINE_CONFIG':JSON['stringify'](_0x556cd2),'BROWSERSTACK_CAPABILITIES':JSON[_0x11f701(0x144)]([_0x556cd2[_0x11f701(0x131)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x1f5aaf){_0x3aa783['rBbvZ'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x58b8df[_0x11f701(0x12e)]+_0x11f701(0x17c)+util[_0x11f701(0x119)](_0x1f5aaf)),_0x117202=Object['assign']({},process[_0x11f701(0x129)]);}const _0x28e0b0=Array[_0x11f701(0x10c)](_0x58b8df[_0x11f701(0x14a)])?_0x58b8df[_0x11f701(0x14a)]:[],_0x559acf=_0x3aa783['sSMAb'](_0x28e0b0[_0x11f701(0xf0)],0x0)?_0x5adc30[_0x11f701(0x12c)](_0x1e67f2=>typeof _0x1e67f2===_0x11f701(0xfe)&&_0x1e67f2['startsWith']('-')):_0x5adc30,_0xbb2673=[..._0xe67647,..._0x559acf,..._0x28e0b0];try{const _0x1989b0=_0x3aa783['bJTwy'](spawn,_0x3aa783[_0x11f701(0x11f)],[_0x3aa783[_0x11f701(0xe6)],..._0xbb2673],{'shell':_0x3aa783['niFsk'](process[_0x11f701(0x170)],_0x3aa783[_0x11f701(0x13d)]),'stdio':_0x3aa783['DcAay'],'env':_0x117202});_0x1989b0['on'](_0x3aa783[_0x11f701(0xff)],_0x5a5610=>{const _0x478cc9=_0x11f701;logger[_0x478cc9(0x171)]('jasmine\x20child\x20(platformIndex='+_0x58b8df[_0x478cc9(0x12e)]+_0x478cc9(0xf6)+(_0x28e0b0['length']?_0x28e0b0[_0x478cc9(0x102)](','):_0x4e7856[_0x478cc9(0x105)])+_0x478cc9(0x133)+_0x5a5610),_0x4e7856[_0x478cc9(0x153)](_0x4ed382,_0x4e7856[_0x478cc9(0xe3)](_0x5a5610,0x0));}),_0x1989b0['on'](_0x3aa783[_0x11f701(0x161)],_0x1be08e=>{const _0x7131f1=_0x11f701;_0x4e7856[_0x7131f1(0x153)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x58b8df[_0x7131f1(0x12e)]+')\x20:\x20'+util['format'](_0x1be08e)),_0x4e7856[_0x7131f1(0x136)](_0x4ed382,0x1);});}catch(_0x4a2724){_0x3aa783[_0x11f701(0x10f)](debug,_0x11f701(0x163)+_0x58b8df[_0x11f701(0x12e)]+_0x11f701(0x159)+util[_0x11f701(0x119)](_0x4a2724)),_0x3aa783[_0x11f701(0x124)](_0x4ed382,0x1);}}),_0x11325b=_0x3aa783[_0x251892(0x128)](pLimit,_0x3aa783[_0x251892(0x12a)](_0x56c8aa,0x0)?_0x56c8aa:0x1),_0x5e5eb9=await Promise[_0x251892(0x174)](_0x32c92c[_0x251892(0x16e)](_0x335a2f=>_0x11325b(()=>_0x545c7f(_0x335a2f))));PerformanceTester[_0x251892(0x103)](PerformanceEvents[_0x251892(0xe5)]);const _0x5644f6=_0x5e5eb9['find'](_0x4d0de0=>_0x4d0de0!==0x0)||0x0;process['exitCode']=_0x5644f6,logger[_0x251892(0x171)](_0x251892(0x178)+_0x5644f6);const _0x54ea6e=BrowserstackCLI[_0x251892(0x115)]();try{await TestHubHandler[_0x251892(0x13e)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x359c57){_0x3aa783[_0x251892(0x128)](debug,_0x251892(0x14d)+util[_0x251892(0x119)](_0x359c57));}testOpsHelper[_0x251892(0x151)](),await utilities[_0x251892(0x175)](_0x362453,_0x54ea6e);}function a18_0x1b73(_0x28a7d2,_0x15f8ed){const _0x4e7a71=a18_0x4e7a();return a18_0x1b73=function(_0x1b7304,_0x240245){_0x1b7304=_0x1b7304-0xe3;let _0x38285f=_0x4e7a71[_0x1b7304];return _0x38285f;},a18_0x1b73(_0x28a7d2,_0x15f8ed);}module['exports']=run;
2
+ 'use strict';function a18_0x16e4(){const _0x5e6b8a=['jasmine','WJZYo','WyAfw','BROWSERSTACK_RERUN_TESTS','Ehhpc','winstonLogger','map','Running\x20your\x20Jasmine\x20tests\x20across\x20','mNIYN','JASMINE','BROWSERSTACK_JASMINE_PARALLELS','KgxWV','BROWSERSTACK_CAPABILITIES','handleApp','isUndefined','start','1775823LyyRhY','pKeaY',';\x20proceeding\x20without\x20injection','../../helpers/test-observability/utils','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','../../helpers/puppeteer-helper','\x20:\x20','binSessionId','\x27\x20:\x20','specArgs','AuOmR','syOxl','sBUyy','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','getPackageVersion','true','info','JASMINE_CONFIG_PATH','jKMuC','KeVpW','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','cwd','finalExecution','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','53260WcYpsu','spec','gEktR','BROWSERSTACK_CLI_BIN_SESSION_ID','string','fBrzg','brxpL','9HTvQAt','platform','isBrowserstackInfra','VtAKm','existsSync','11801360HVBhML','child_process','Beiqi','find','SDK_CLEANUP','prepareCapabilities','MRVvv','BROWSERSTACK_TEST_OBSERVABILITY_YML','@playwright/test','startsWith','EVENTS','getHubUrl','../../helpers/helper','\x20concurrent)','tYqjG','\x20platform(s),\x20parallelsPerPlatform=','bagFr','IZJQa','yzcmF','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','__isPlaywrightInstalled','stop','testObservability','format','filter','93oMjZfq','maxWorkers','LCGmK','close','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','\x20work-item(s),\x20max\x20',',\x20specs=','nSyqC','rhFJh','slice','lXMkm','validPlatformsPresent','mkJdf','../v2/browserstackCLI',')\x20exited\x20with\x20code\x20','exports','platformIndex','oPufT','../../helpers/test-observability/constants','launchBuild','from','KzKrd','win32','npshO','../../helpers/playwright-helper','mbszF','--helper=','assign','13312152HCdsiX',')\x20:\x20','readFileSync','parallelsPerPlatform','636RqWYEh','npx','spec_dir','config','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','platforms','Gupqt','../../helpers/performance/constants','error','exitCode','end','posix','isArray','spec_files','../../helpers/utilities','fLEnt','13065420pQcxeb','env','isCLIEnabled','length','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','SuwGR','114596TpHqFn','VUVXH','proxySettings','stringify','2871594DuBRjG','test.setup.js','push','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','parseFileNames','FORLY','parse','FRAMEWORKS','SJjxI','NAQXz','capability','getInstance','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','accessibilityOptions','qszXQ','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','resolve','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','debug','trim','p-limit'];a18_0x16e4=function(){return _0x5e6b8a;};return a18_0x16e4();}const a18_0x39d0bf=a18_0x37a9;(function(_0x2f10ef,_0x3775a3){const _0x5a675d=a18_0x37a9,_0x396afc=_0x2f10ef();while(!![]){try{const _0x22ef28=parseInt(_0x5a675d(0x22f))/0x1+-parseInt(_0x5a675d(0x208))/0x2+-parseInt(_0x5a675d(0x26c))/0x3*(-parseInt(_0x5a675d(0x204))/0x4)+parseInt(_0x5a675d(0x247))/0x5*(-parseInt(_0x5a675d(0x1ee))/0x6)+-parseInt(_0x5a675d(0x1ea))/0x7+parseInt(_0x5a675d(0x253))/0x8*(parseInt(_0x5a675d(0x24e))/0x9)+parseInt(_0x5a675d(0x1fe))/0xa;if(_0x22ef28===_0x3775a3)break;else _0x396afc['push'](_0x396afc['shift']());}catch(_0x43909d){_0x396afc['push'](_0x396afc['shift']());}}}(a18_0x16e4,0xef041));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a18_0x39d0bf(0x254)),glob=require('glob'),pLimit=require(a18_0x39d0bf(0x21e)),logger=require('../../helpers/logger')[a18_0x39d0bf(0x224)],helper=require(a18_0x39d0bf(0x25f)),utilities=require(a18_0x39d0bf(0x1fc)),constants=require(a18_0x39d0bf(0x20b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a18_0x39d0bf(0x232)),{debug}=require(a18_0x39d0bf(0x232)),{FRAMEWORKS}=require(a18_0x39d0bf(0x1e0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a18_0x39d0bf(0x1f5))[a18_0x39d0bf(0x25d)],BrowserstackCLI=require(a18_0x39d0bf(0x1db)),{checkPwandBootstrapCli}=require(a18_0x39d0bf(0x1e6)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x39d0bf(0x234)),getMaxWorkers=(_0x43b8ae,_0x25aef0)=>{const _0x505182=a18_0x39d0bf,_0x5551e9={'mkJdf':function(_0x83564b,_0xb56a0){return _0x83564b(_0xb56a0);}};let _0x2ab5a2=0x1;if(!helper['isUndefined'](_0x25aef0['parallelsPerPlatform']))_0x2ab5a2=_0x5551e9[_0x505182(0x1da)](parseInt,_0x25aef0[_0x505182(0x1ed)]);else!helper[_0x505182(0x22d)](_0x43b8ae['maxWorkers'])&&(_0x2ab5a2=_0x43b8ae[_0x505182(0x26d)]);return _0x2ab5a2;},resolveJasmineConfigPath=()=>{const _0x39a287=a18_0x39d0bf,_0x2dab05={};_0x2dab05[_0x39a287(0x265)]='spec/support/jasmine.json';const _0x3c42c0=_0x2dab05,_0x386691=[];process[_0x39a287(0x1ff)][_0x39a287(0x240)]&&_0x386691[_0x39a287(0x20a)](path['resolve'](process[_0x39a287(0x244)](),process[_0x39a287(0x1ff)]['JASMINE_CONFIG_PATH']));_0x386691[_0x39a287(0x20a)](path[_0x39a287(0x21a)](process[_0x39a287(0x244)](),_0x3c42c0[_0x39a287(0x265)]));for(const _0x1bf99e of _0x386691){try{if(fs[_0x39a287(0x252)](_0x1bf99e))return _0x1bf99e;}catch(_0x58178a){}}return null;},enumerateSpecFiles=_0x375691=>{const _0x212d7a=a18_0x39d0bf,_0x2cd92f={'mNIYN':function(_0x5f2f87,_0x427db0){return _0x5f2f87(_0x427db0);},'SuwGR':function(_0x38712f,_0x311d56){return _0x38712f>_0x311d56;},'LCGmK':function(_0x5e388b,_0x4e78cf){return _0x5e388b(_0x4e78cf);},'Beiqi':function(_0x456069,_0x2bfb9c){return _0x456069<_0x2bfb9c;},'IZJQa':function(_0x3cc8f9,_0x24f786){return _0x3cc8f9===_0x24f786;},'WJZYo':_0x212d7a(0x24b),'gEktR':function(_0x57c192,_0x1b7039){return _0x57c192>_0x1b7039;},'JASqF':function(_0x537535,_0x1bfa56,_0x27b8d7){return _0x537535(_0x1bfa56,_0x27b8d7);},'pKeaY':function(_0x1e9c1d,_0x68b14c){return _0x1e9c1d>_0x68b14c;},'mbszF':function(_0x4569c7){return _0x4569c7();},'WyAfw':'utf8','fBrzg':_0x212d7a(0x248),'AuOmR':'**/*[sS]pec.?(m)js','KUBvg':function(_0x213f84,_0x48d345){return _0x213f84>_0x48d345;},'SevaJ':function(_0x12c763,_0x2a98aa){return _0x12c763(_0x2a98aa);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x2f8a14=testOpsHelper[_0x212d7a(0x20d)](process[_0x212d7a(0x1ff)][_0x212d7a(0x222)]);if(Array[_0x212d7a(0x1fa)](_0x2f8a14)&&_0x2cd92f[_0x212d7a(0x203)](_0x2f8a14['length'],0x0))return _0x2f8a14[_0x212d7a(0x225)](_0x255c74=>path[_0x212d7a(0x21a)](process[_0x212d7a(0x244)](),_0x255c74[_0x212d7a(0x21d)]()))[_0x212d7a(0x26b)](Boolean);}}catch(_0x5ed686){_0x2cd92f[_0x212d7a(0x1d0)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util['format'](_0x5ed686));}const _0x46f6f8=[];try{for(let _0x410b24=0x1;_0x2cd92f[_0x212d7a(0x255)](_0x410b24,_0x375691[_0x212d7a(0x201)]);_0x410b24++){const _0x4e5e62=_0x375691[_0x410b24];_0x2cd92f[_0x212d7a(0x264)](typeof _0x4e5e62,_0x2cd92f[_0x212d7a(0x220)])&&!_0x4e5e62[_0x212d7a(0x25c)]('-')&&_0x46f6f8[_0x212d7a(0x20a)](_0x4e5e62);}}catch(_0x4b7e00){}const _0xf044d6={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x5867b7=(_0x925679,_0x31c3a3)=>{const _0x3c535d=_0x212d7a,_0x1c28c5=[];for(const _0x16eaf1 of _0x925679){try{const _0x1d5252=_0x31c3a3?path[_0x3c535d(0x1f9)]['join'](_0x31c3a3,_0x16eaf1):_0x16eaf1,_0x59dc52=glob['globSync'](_0x1d5252,_0xf044d6);Array[_0x3c535d(0x1fa)](_0x59dc52)&&_0x1c28c5[_0x3c535d(0x20a)](..._0x59dc52);}catch(_0x4d89b0){_0x2cd92f[_0x3c535d(0x227)](debug,_0x3c535d(0x219)+_0x16eaf1+_0x3c535d(0x237)+util[_0x3c535d(0x26a)](_0x4d89b0));}}return _0x1c28c5;};if(_0x2cd92f[_0x212d7a(0x249)](_0x46f6f8['length'],0x0)){const _0x13d666=_0x2cd92f['JASqF'](_0x5867b7,_0x46f6f8,null);if(_0x2cd92f[_0x212d7a(0x230)](_0x13d666[_0x212d7a(0x201)],0x0))return Array[_0x212d7a(0x1e2)](new Set(_0x13d666));return _0x46f6f8[_0x212d7a(0x225)](_0xb8011e=>path[_0x212d7a(0x21a)](process[_0x212d7a(0x244)](),_0xb8011e));}try{const _0x2c9615=_0x2cd92f[_0x212d7a(0x1e7)](resolveJasmineConfigPath);if(_0x2c9615){const _0x40cce2=JSON[_0x212d7a(0x20f)](fs[_0x212d7a(0x1ec)](_0x2c9615,_0x2cd92f[_0x212d7a(0x221)])),_0x2bced8=_0x40cce2[_0x212d7a(0x1f0)]||_0x2cd92f[_0x212d7a(0x24c)],_0x5e2515=Array[_0x212d7a(0x1fa)](_0x40cce2[_0x212d7a(0x1fb)])&&_0x2cd92f[_0x212d7a(0x203)](_0x40cce2[_0x212d7a(0x1fb)]['length'],0x0)?_0x40cce2[_0x212d7a(0x1fb)]:[_0x2cd92f[_0x212d7a(0x239)]],_0x45e284=_0x2cd92f['JASqF'](_0x5867b7,_0x5e2515,_0x2bced8);if(_0x2cd92f['KUBvg'](_0x45e284['length'],0x0))return Array[_0x212d7a(0x1e2)](new Set(_0x45e284));}}catch(_0x364e9a){_0x2cd92f['SevaJ'](debug,_0x212d7a(0x21b)+util[_0x212d7a(0x26a)](_0x364e9a));}return null;};async function run(_0x4ea76e,_0x223cf5,_0x3db0af){const _0x3efd97=a18_0x39d0bf,_0x111263={'sBUyy':function(_0x128ea3,_0x44b538){return _0x128ea3>_0x44b538;},'ZrRxU':'all','oPufT':function(_0x814d03,_0x555892){return _0x814d03(_0x555892);},'brxpL':function(_0x36b609,_0x424c5d){return _0x36b609||_0x424c5d;},'nSyqC':function(_0xb9cf1d,_0x4d80e2){return _0xb9cf1d(_0x4d80e2);},'Gupqt':function(_0x3c299c,_0x2c8f80){return _0x3c299c>_0x2c8f80;},'fLEnt':function(_0x546ad9,_0x291b90,_0x41f72c,_0x525c2c){return _0x546ad9(_0x291b90,_0x41f72c,_0x525c2c);},'lXMkm':_0x3efd97(0x1ef),'KeVpW':_0x3efd97(0x21f),'VtAKm':function(_0x3659c2,_0x37d303){return _0x3659c2===_0x37d303;},'VUVXH':_0x3efd97(0x1e4),'jKMuC':'inherit','sxhnq':_0x3efd97(0x1d1),'Ehhpc':'error','qszXQ':function(_0x257aa1,_0x1649dc){return _0x257aa1(_0x1649dc);},'PpylQ':function(_0x54a276,_0x1d6560){return _0x54a276(_0x1d6560);},'FORLY':_0x3efd97(0x25b),'sIAEO':function(_0xdd1b9b){return _0xdd1b9b();},'pVvys':function(_0x46c4d7,_0x4896b4,_0x107b42,_0x569df9){return _0x46c4d7(_0x4896b4,_0x107b42,_0x569df9);},'sjTEw':function(_0x1e665c,_0x3f39e7){return _0x1e665c!=_0x3f39e7;},'NAQXz':_0x3efd97(0x23e),'tYqjG':function(_0x21bef3,_0x2bdc32,_0x2fcbfb){return _0x21bef3(_0x2bdc32,_0x2fcbfb);},'KzKrd':function(_0x322187,_0x372dee){return _0x322187*_0x372dee;},'syOxl':function(_0x523e54,_0x23ae82){return _0x523e54(_0x23ae82);},'KgxWV':_0x3efd97(0x209),'npshO':function(_0x311d61,_0x1f028){return _0x311d61(_0x1f028);},'qZMSB':function(_0x5d999f,_0x233904){return _0x5d999f<_0x233904;},'xlUAK':function(_0x498319,_0x406262){return _0x498319>_0x406262;},'bagFr':function(_0x5d5ede,_0x371f74){return _0x5d5ede>_0x371f74;},'rhFJh':function(_0x58f749,_0x321954){return _0x58f749(_0x321954);},'MRVvv':function(_0x39507a,_0x521a26){return _0x39507a>_0x521a26;}},_0x63440e=helper[_0x3efd97(0x23d)](_0x111263[_0x3efd97(0x20e)]);global[_0x3efd97(0x267)]=!!_0x63440e;const _0x38e4ae=_0x111263['sIAEO'](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x38e4ae;helper[_0x3efd97(0x250)]()&&(await _0x3db0af['initialize'](_0x4ea76e),await helper[_0x3efd97(0x22c)](_0x3db0af[_0x3efd97(0x1f1)]));if(_0x63440e)await _0x111263[_0x3efd97(0x1fd)](checkPwandBootstrapCli,_0x63440e,constants[_0x3efd97(0x210)][_0x3efd97(0x228)],_0x3db0af);else _0x38e4ae&&await _0x111263['pVvys'](checkPuppeteerAndBootstrapCli,_0x38e4ae,constants['FRAMEWORKS'][_0x3efd97(0x228)],_0x3db0af);if(!_0x3db0af[_0x3efd97(0x1f1)])return;_0x111263['sjTEw'](_0x3db0af[_0x3efd97(0x1f1)][_0x3efd97(0x269)],null)?process[_0x3efd97(0x1ff)][_0x3efd97(0x25a)]=_0x3db0af[_0x3efd97(0x1f1)][_0x3efd97(0x269)]:process[_0x3efd97(0x1ff)][_0x3efd97(0x25a)]=_0x111263[_0x3efd97(0x212)];!helper[_0x3efd97(0x22d)](_0x3db0af['config'][_0x3efd97(0x217)])&&(process[_0x3efd97(0x1ff)][_0x3efd97(0x20c)]=JSON[_0x3efd97(0x207)](_0x3db0af['config']['accessibilityOptions']));try{await TestHubHandler[_0x3efd97(0x1e1)](FRAMEWORKS[_0x3efd97(0x228)],_0x3db0af);}catch(_0x43ce51){logger[_0x3efd97(0x1f6)](_0x3efd97(0x233)+util[_0x3efd97(0x26a)](_0x43ce51)),_0x111263[_0x3efd97(0x218)](debug,_0x3efd97(0x1d2)+util[_0x3efd97(0x26a)](_0x43ce51));}let _0x58b4ea=![],_0x56faa4=[];try{_0x58b4ea=helper['useW3C'](_0x3db0af[_0x3efd97(0x1f1)]),_0x56faa4=helper[_0x3efd97(0x258)](_0x3db0af['config'],_0x58b4ea,constants[_0x3efd97(0x210)]['JASMINE']),process[_0x3efd97(0x1ff)][_0x3efd97(0x22b)]=JSON[_0x3efd97(0x207)](_0x56faa4);}catch(_0x58f0b1){_0x111263[_0x3efd97(0x218)](debug,_0x3efd97(0x202)+util[_0x3efd97(0x26a)](_0x58f0b1));}let _0x18cd85=null,_0x5ef809=![];try{_0x18cd85=helper[_0x3efd97(0x25e)](_0x3db0af[_0x3efd97(0x1f1)]),_0x5ef809=helper[_0x3efd97(0x1d9)](_0x3db0af[_0x3efd97(0x1f1)]);}catch(_0x4e3ce8){_0x111263[_0x3efd97(0x1d5)](debug,_0x3efd97(0x243)+util[_0x3efd97(0x26a)](_0x4e3ce8));}const _0x71b87e=_0x25a419=>{const _0x14db4c=_0x3efd97,_0x4ae70d=Array[_0x14db4c(0x1fa)](_0x56faa4)&&_0x111263['sBUyy'](_0x56faa4[_0x14db4c(0x201)],_0x25a419)?_0x56faa4[_0x25a419]:Array[_0x14db4c(0x1fa)](_0x56faa4)&&_0x111263[_0x14db4c(0x23b)](_0x56faa4[_0x14db4c(0x201)],0x0)?_0x56faa4[0x0]:{};return{'server':_0x18cd85,'capability':_0x4ae70d,'proxySettings':_0x3db0af[_0x14db4c(0x1f1)][_0x14db4c(0x206)],'platform':helper['getPlatformName'](_0x4ae70d),'browserStackLogLevel':_0x3db0af[_0x14db4c(0x1f1)]['logLevel'],'platformIndex':_0x25a419,'framework':constants['FRAMEWORKS'][_0x14db4c(0x228)],'platformCaps':_0x5ef809?Object['assign']({'index':_0x25a419},_0x3db0af['config'][_0x14db4c(0x1f3)][_0x25a419]):{'index':_0x25a419}};};let _0x399c0d=0x1,_0x2ac30f=0x1,_0x3663a0=0x1;try{_0x399c0d=_0x111263[_0x3efd97(0x261)](getMaxWorkers,_0x4ea76e,_0x3db0af['config']),_0x2ac30f=_0x5ef809?_0x3db0af[_0x3efd97(0x1f1)][_0x3efd97(0x1f3)][_0x3efd97(0x201)]:0x1,_0x3663a0=_0x111263[_0x3efd97(0x1e3)](_0x2ac30f,_0x399c0d),process[_0x3efd97(0x1ff)][_0x3efd97(0x229)]=_0x111263['oPufT'](String,_0x3663a0);}catch(_0x522687){_0x111263[_0x3efd97(0x1df)](debug,_0x3efd97(0x266)+util['format'](_0x522687));}try{BrowserstackCLI['getInstance']()[_0x3efd97(0x236)]&&(process[_0x3efd97(0x1ff)][_0x3efd97(0x24a)]=BrowserstackCLI['getInstance']()[_0x3efd97(0x236)]);}catch(_0x4d45f1){_0x111263[_0x3efd97(0x23a)](debug,_0x3efd97(0x215)+util[_0x3efd97(0x26a)](_0x4d45f1));}const _0xcdd042=[];try{const _0x396f72=path[_0x3efd97(0x21a)](__dirname,_0x111263[_0x3efd97(0x22a)]);fs[_0x3efd97(0x252)](_0x396f72)?_0xcdd042['push'](_0x3efd97(0x1e8)+_0x396f72):_0x111263[_0x3efd97(0x1e5)](debug,_0x3efd97(0x246)+_0x396f72+_0x3efd97(0x231));}catch(_0x4b22f7){_0x111263['nSyqC'](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x3efd97(0x26a)](_0x4b22f7));}const _0x39025a=_0x223cf5[_0x3efd97(0x1d7)](0x1),_0x220cc7=_0x111263[_0x3efd97(0x1d5)](enumerateSpecFiles,_0x223cf5),_0xe1e003=[];for(let _0x3c43d0=0x0;_0x111263['qZMSB'](_0x3c43d0,_0x2ac30f);_0x3c43d0++){if(_0x111263['xlUAK'](_0x399c0d,0x1)&&Array['isArray'](_0x220cc7)&&_0x111263[_0x3efd97(0x263)](_0x220cc7['length'],0x0))for(const _0x976fc4 of _0x220cc7){const _0x1d838e={};_0x1d838e['platformIndex']=_0x3c43d0,_0x1d838e[_0x3efd97(0x238)]=[_0x976fc4],_0xe1e003[_0x3efd97(0x20a)](_0x1d838e);}else{const _0x28f1ca={};_0x28f1ca[_0x3efd97(0x1de)]=_0x3c43d0,_0x28f1ca[_0x3efd97(0x238)]=_0x220cc7,_0xe1e003[_0x3efd97(0x20a)](_0x28f1ca);}}logger[_0x3efd97(0x23f)](_0x3efd97(0x226)+_0x2ac30f+_0x3efd97(0x262)+_0x399c0d+'\x20('+_0xe1e003[_0x3efd97(0x201)]+_0x3efd97(0x1d3)+_0x3663a0+_0x3efd97(0x260)),PerformanceTester[_0x3efd97(0x1f8)](PerformanceEvents['SDK_SETUP']);const _0x180e49=_0x2ae441=>new Promise(_0x42256a=>{const _0x521ef4=_0x3efd97,_0x5f4dc4={'SJjxI':function(_0x4b4738,_0x47b9bd){const _0x2dbd83=a18_0x37a9;return _0x111263[_0x2dbd83(0x1d5)](_0x4b4738,_0x47b9bd);}};let _0xbb217c;try{const _0x1e2787=_0x111263[_0x521ef4(0x1d5)](_0x71b87e,_0x2ae441['platformIndex']);_0xbb217c=Object[_0x521ef4(0x1e9)]({},process[_0x521ef4(0x1ff)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x521ef4(0x207)](_0x1e2787),'BROWSERSTACK_CAPABILITIES':JSON[_0x521ef4(0x207)]([_0x1e2787[_0x521ef4(0x213)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xe813bc){_0x111263[_0x521ef4(0x1d5)](debug,_0x521ef4(0x23c)+_0x2ae441[_0x521ef4(0x1de)]+_0x521ef4(0x235)+util[_0x521ef4(0x26a)](_0xe813bc)),_0xbb217c=Object[_0x521ef4(0x1e9)]({},process[_0x521ef4(0x1ff)]);}const _0x5f5d6b=Array[_0x521ef4(0x1fa)](_0x2ae441[_0x521ef4(0x238)])?_0x2ae441[_0x521ef4(0x238)]:[],_0x222e8c=_0x111263[_0x521ef4(0x1f4)](_0x5f5d6b[_0x521ef4(0x201)],0x0)?_0x39025a[_0x521ef4(0x26b)](_0x2503d1=>typeof _0x2503d1===_0x521ef4(0x24b)&&_0x2503d1[_0x521ef4(0x25c)]('-')):_0x39025a,_0x4f4aac=[..._0xcdd042,..._0x222e8c,..._0x5f5d6b];try{const _0x37502b=_0x111263[_0x521ef4(0x1fd)](spawn,_0x111263[_0x521ef4(0x1d8)],[_0x111263[_0x521ef4(0x242)],..._0x4f4aac],{'shell':_0x111263[_0x521ef4(0x251)](process[_0x521ef4(0x24f)],_0x111263[_0x521ef4(0x205)]),'stdio':_0x111263[_0x521ef4(0x241)],'env':_0xbb217c});_0x37502b['on'](_0x111263['sxhnq'],_0x277cb0=>{const _0x56b09a=_0x521ef4;logger[_0x56b09a(0x21c)]('jasmine\x20child\x20(platformIndex='+_0x2ae441[_0x56b09a(0x1de)]+_0x56b09a(0x1d4)+(_0x5f5d6b['length']?_0x5f5d6b['join'](','):_0x111263['ZrRxU'])+_0x56b09a(0x1dc)+_0x277cb0),_0x111263[_0x56b09a(0x1df)](_0x42256a,_0x111263[_0x56b09a(0x24d)](_0x277cb0,0x0));}),_0x37502b['on'](_0x111263[_0x521ef4(0x223)],_0x53ad12=>{const _0x4fdffc=_0x521ef4;_0x5f4dc4['SJjxI'](debug,_0x4fdffc(0x1f2)+_0x2ae441[_0x4fdffc(0x1de)]+_0x4fdffc(0x1eb)+util[_0x4fdffc(0x26a)](_0x53ad12)),_0x5f4dc4[_0x4fdffc(0x211)](_0x42256a,0x1);});}catch(_0x4f09b4){_0x111263[_0x521ef4(0x218)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x2ae441['platformIndex']+_0x521ef4(0x1eb)+util[_0x521ef4(0x26a)](_0x4f09b4)),_0x111263['PpylQ'](_0x42256a,0x1);}}),_0x214f15=_0x111263[_0x3efd97(0x1d6)](pLimit,_0x111263[_0x3efd97(0x259)](_0x3663a0,0x0)?_0x3663a0:0x1),_0x16c890=await Promise['all'](_0xe1e003[_0x3efd97(0x225)](_0x2fa16e=>_0x214f15(()=>_0x180e49(_0x2fa16e))));PerformanceTester[_0x3efd97(0x22e)](PerformanceEvents[_0x3efd97(0x257)]);const _0x1987e9=_0x16c890[_0x3efd97(0x256)](_0x111dba=>_0x111dba!==0x0)||0x0;process[_0x3efd97(0x1f7)]=_0x1987e9,logger[_0x3efd97(0x21c)](_0x3efd97(0x216)+_0x1987e9);const _0x29631f=BrowserstackCLI[_0x3efd97(0x200)]();try{await TestHubHandler[_0x3efd97(0x268)](),await BrowserstackCLI[_0x3efd97(0x214)]()[_0x3efd97(0x268)]();}catch(_0x489832){_0x111263[_0x3efd97(0x218)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x3efd97(0x26a)](_0x489832));}testOpsHelper['printBuildLink'](),await utilities[_0x3efd97(0x245)](_0x3db0af,_0x29631f);}function a18_0x37a9(_0x308fb0,_0x2b2ce7){const _0x16e485=a18_0x16e4();return a18_0x37a9=function(_0x37a967,_0x1dc33a){_0x37a967=_0x37a967-0x1d0;let _0x4fb9f2=_0x16e485[_0x37a967];return _0x4fb9f2;},a18_0x37a9(_0x308fb0,_0x2b2ce7);}module[a18_0x39d0bf(0x1dd)]=run;
@@ -1 +1 @@
1
- 'use strict';function a19_0x3060(){const _0x5479da=['uegtT','11qzFdsP','VuAed','88912vByQah','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','Hsbor','vSKEW','winstonLogger','error','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','split','glwMJ','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','forEach','Spec\x20failed','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','getGlobal','isAccessibilityPlatform','getPackageVersion','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','Passed','NPQXY','sep','guCKq','browserstackAgentV2','undefined','240tIQCnh','824062WcDkiv','exports','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','jasmine-core','../../helpers/testhub/constants','SLgrW','format','setGlobal','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','util','nBNQG','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','executeScript','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','warn','../../helpers/accessibility-automation/accessibilityRetryHelper','isBrowserstackInfra','gPICS','bstackA11yShouldScan','611YuVDnQ','qKZvh','platformIndex','autoScanning','\x22}}','36392aFSQfI','markSessionStatus','DDwWv','addReporter','nAwQX','length','5403629yHTYoo','__sessionFailed','255900KZebnQ','function','__drivers','stringify','isArray','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','AZQuC','LEdEv','@playwright/test','platformCaps','KQrJD','vXQeS','message','gWrBm','failed','startsWith','ENV_VAR','aYYwF','3|0|2|4|1','1026534LMbUTD','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','wQvXj','thTestRunUuid','env','XTMWi','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','CONFIG','sessionName','../../helpers/helper','../../helpers/logger','ioBmo','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','failedExpectations','saveAccessibilityResultsWithRetry','3832940XVftcc','pvWrz','3DVWBkB','BROWSERSTACK_JASMINE_CONFIG','getEnv','jasmine','iuLHj','parse',',\x22level\x22:\x20\x22','pop','skipSessionStatus','isTrue','debug','getFileName','bstackA11yScanOptions','6MRVpsD','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','27HbTnnH','CmstN','isMobilePlatform','sJoZo','__skipSessionStatus','path','AzYqs','../../index','__skipSessionName','prepareStackTrace','./testRunMap','WWQTw','KNLgr'];a19_0x3060=function(){return _0x5479da;};return a19_0x3060();}const a19_0x32b546=a19_0x5845;(function(_0x2b06ab,_0x5e9b2f){const _0x55439e=a19_0x5845,_0x1cbcc2=_0x2b06ab();while(!![]){try{const _0xca2f77=parseInt(_0x55439e(0xac))/0x1+parseInt(_0x55439e(0xf8))/0x2*(parseInt(_0x55439e(0xbe))/0x3)+-parseInt(_0x55439e(0x111))/0x4*(-parseInt(_0x55439e(0xf7))/0x5)+-parseInt(_0x55439e(0xcb))/0x6*(parseInt(_0x55439e(0x117))/0x7)+parseInt(_0x55439e(0xdf))/0x8*(parseInt(_0x55439e(0xcf))/0x9)+parseInt(_0x55439e(0xbc))/0xa*(parseInt(_0x55439e(0xdd))/0xb)+-parseInt(_0x55439e(0x119))/0xc*(parseInt(_0x55439e(0x10c))/0xd);if(_0xca2f77===_0x5e9b2f)break;else _0x1cbcc2['push'](_0x1cbcc2['shift']());}catch(_0x363e63){_0x1cbcc2['push'](_0x1cbcc2['shift']());}}}(a19_0x3060,0x7e633));const util=require(a19_0x32b546(0x101)),logger=require(a19_0x32b546(0xb7))[a19_0x32b546(0xe4)],helper=require(a19_0x32b546(0xb6)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x32b546(0xfc)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a19_0x32b546(0x108)),testRunMap=require(a19_0x32b546(0xd9));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x32b546(0xb1)][a19_0x32b546(0xbf)]||process['env'][a19_0x32b546(0xb4)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x63b972){logger['debug']('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x32b546(0xfe)](a19_0x63b972));}function a19_0x5845(_0x27834b,_0x2c3db5){const _0x306004=a19_0x3060();return a19_0x5845=function(_0x5845b5,_0x797d24){_0x5845b5=_0x5845b5-0xa0;let _0xbeb9cc=_0x306004[_0x5845b5];return _0xbeb9cc;},a19_0x5845(_0x27834b,_0x2c3db5);}try{if(_bstackConfig&&!helper[a19_0x32b546(0xef)](a19_0x32b546(0xa1))){const UEljav=a19_0x32b546(0xab)[a19_0x32b546(0xe7)]('|');let tWYRUs=0x0;while(!![]){switch(UEljav[tWYRUs++]){case'0':shouldProcessEventForTesthub()?require(a19_0x32b546(0xd6))[a19_0x32b546(0xf5)](_bstackConfig,null,!![]):require('../../index')[a19_0x32b546(0xf5)](_bstackConfig);continue;case'1':helper[a19_0x32b546(0x109)]()?(global[a19_0x32b546(0xd7)]=helper[a19_0x32b546(0xc7)](_bstackConfig['skipSessionName']),global[a19_0x32b546(0xd3)]=helper[a19_0x32b546(0xc7)](_bstackConfig[a19_0x32b546(0xc6)])):(global[a19_0x32b546(0xd7)]=!![],global['__skipSessionStatus']=!![]);continue;case'2':global['__platformCaps']=_bstackConfig[a19_0x32b546(0xa2)]||{};continue;case'3':logger[a19_0x32b546(0xc8)](a19_0x32b546(0x106));continue;case'4':global['browserstackPlatformIndex']=_bstackConfig[a19_0x32b546(0x10e)];continue;}break;}}}catch(a19_0xcc891f){logger['debug'](a19_0x32b546(0xad)+util[a19_0x32b546(0xfe)](a19_0xcc891f));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a19_0x32b546(0xf6)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x5eb1cb=a19_0x32b546,_0x5035b0={'VuAed':function(_0x3d1fc2,_0x48dbd1){return _0x3d1fc2(_0x48dbd1);},'SLgrW':_0x5eb1cb(0xd4),'guCKq':'node:','LEdEv':_0x5eb1cb(0xfb)},_0x2f9155=Error[_0x5eb1cb(0xd8)];try{const _0x45b8ce=new Error();Error['prepareStackTrace']=(_0x1eb586,_0x566645)=>_0x566645;const _0x116053=_0x45b8ce['stack'];Error[_0x5eb1cb(0xd8)]=_0x2f9155;if(Array[_0x5eb1cb(0x11d)](_0x116053))for(const _0x27d79e of _0x116053){const _0x2b285e=_0x27d79e[_0x5eb1cb(0xc9)]&&_0x27d79e['getFileName']();if(_0x2b285e&&!_0x2b285e['includes']('bin'+_0x5035b0[_0x5eb1cb(0xde)](require,_0x5035b0[_0x5eb1cb(0xfd)])[_0x5eb1cb(0xf3)]+_0x5eb1cb(0xc1)+_0x5035b0[_0x5eb1cb(0xde)](require,_0x5035b0['SLgrW'])[_0x5eb1cb(0xf3)])&&!_0x2b285e[_0x5eb1cb(0xa8)](_0x5035b0[_0x5eb1cb(0xf4)])&&!_0x2b285e['includes'](_0x5035b0[_0x5eb1cb(0xa0)]))return _0x2b285e;}}catch(_0x27a6b7){Error['prepareStackTrace']=_0x2f9155;}return null;},_wrappedDescribe=function(_0x1fc55b,_0x1c9ad8){const _0x1c25cd=a19_0x32b546,_0x1d097b={'wQvXj':function(_0x300229){return _0x300229();},'bSVTS':function(_0x4d9fda,_0x1063a8){return _0x4d9fda&&_0x1063a8;},'Hsbor':function(_0xb10eb4,_0x44292c,_0x4ccaee){return _0xb10eb4(_0x44292c,_0x4ccaee);}};let _0x226674=null;try{_0x226674=_0x1d097b[_0x1c25cd(0xaf)](_resolveCallerFile);}catch(_0x4c91d5){}_describeTitleStack['push'](_0x1fc55b);const _0x3c4647=_describeTitleStack['join']('\x20');_0x1d097b['bSVTS'](_0x226674,_0x3c4647)&&(_fileNameByFullName[_0x3c4647]=_0x226674);try{return _0x1d097b[_0x1c25cd(0xe2)](_origDescribe,_0x1fc55b,_0x1c9ad8);}finally{_describeTitleStack[_0x1c25cd(0xc5)]();}};Object['keys'](_origDescribe)[a19_0x32b546(0xea)](_0x3cefca=>{_wrappedDescribe[_0x3cefca]=_origDescribe[_0x3cefca];}),global['describe']=_wrappedDescribe;}}catch(a19_0x1e0bde){logger[a19_0x32b546(0xc8)](a19_0x32b546(0xb3)+util['format'](a19_0x1e0bde));}try{if(typeof jasmine!==a19_0x32b546(0xf6)&&jasmine['getEnv']){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a19_0x25a098={};a19_0x25a098['fileNameByFullName']=_fileNameByFullName,jasmine[a19_0x32b546(0xc0)]()[a19_0x32b546(0x114)](new BrowserStackJasmineReporter(a19_0x25a098)),logger[a19_0x32b546(0xc8)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x32b546(0xc8)](a19_0x32b546(0x105));}catch(a19_0xecbd9d){logger[a19_0x32b546(0xc8)](a19_0x32b546(0xcd)+util[a19_0x32b546(0xfe)](a19_0xecbd9d));}try{typeof jasmine!=='undefined'&&jasmine[a19_0x32b546(0xc0)]&&jasmine[a19_0x32b546(0xc0)]()[a19_0x32b546(0x114)]({'specStarted'(_0x58a31c){const _0x1697b6=a19_0x32b546,_0x26e025={};_0x26e025[_0x1697b6(0x102)]=function(_0x5c0506,_0x33d4c0){return _0x5c0506||_0x33d4c0;};const _0x5de5b1=_0x26e025;_activeResultId=_0x58a31c&&_0x58a31c['id'],_activeFullName=_0x58a31c&&_0x58a31c['fullName'],_activeResultRef=_0x5de5b1[_0x1697b6(0x102)](_0x58a31c,null);},'specDone'(){}});}catch(a19_0x513975){logger[a19_0x32b546(0xc8)](a19_0x32b546(0x100)+util['format'](a19_0x513975));}const _resolveAutoScanning=()=>{const _0x56334c=a19_0x32b546,_0x50019b={};_0x50019b[_0x56334c(0xe3)]=function(_0xa1b45c,_0x4b1393){return _0xa1b45c===_0x4b1393;};const _0x25b47a=_0x50019b;let _0x17c438=!![];try{const _0x16be23=JSON[_0x56334c(0xc3)](process[_0x56334c(0xb1)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x25b47a[_0x56334c(0xe3)](_0x16be23[_0x56334c(0x10f)],![])&&(_0x17c438=![]);}catch(_0x4a807d){logger[_0x56334c(0xc8)](_0x56334c(0xe6)+_0x4a807d[_0x56334c(0xa5)]);}return _0x17c438;};try{typeof beforeEach===a19_0x32b546(0x11a)&&beforeEach(function bstackA11yBeforeEach(){const _0x5e4429=a19_0x32b546,_0x2ef643={'AzYqs':function(_0x368ecb){return _0x368ecb();},'AZQuC':function(_0x57847,_0x38bf93,_0x1eb769){return _0x57847(_0x38bf93,_0x1eb769);},'gZrSf':function(_0xc02bb3,_0x57ec2e){return _0xc02bb3&&_0x57ec2e;},'SYyUB':_0x5e4429(0x10b),'aYYwF':_0x5e4429(0xca)};try{const _0x30c39d=_0x2ef643[_0x5e4429(0xd5)](_resolveAutoScanning),_0x338822=_0x2ef643[_0x5e4429(0x11f)](shouldScanTestForAccessibility,null,![]),_0x5cab41=_0x2ef643['gZrSf'](_0x30c39d,_0x338822);globals['setGlobal'](_0x2ef643['SYyUB'],_0x5cab41),globals[_0x5e4429(0xff)](_0x2ef643[_0x5e4429(0xaa)],null);}catch(_0x8d6e34){logger[_0x5e4429(0xc8)](_0x5e4429(0x103)+util[_0x5e4429(0xfe)](_0x8d6e34));}}),typeof afterEach===a19_0x32b546(0x11a)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x567507=a19_0x32b546,_0x4abf4f={'iuLHj':function(_0xb44bd0,_0xe199b7){return _0xb44bd0>_0xe199b7;},'NPQXY':_0x567507(0xeb),'CmstN':function(_0x204803,_0x48a0cd){return _0x204803+_0x48a0cd;},'rqbcM':'Failed:\x20','gWrBm':_0x567507(0xf1),'glwMJ':_0x567507(0xe5),'DSxIL':'info','KNLgr':_0x567507(0xa7),'vXQeS':'passed','qKZvh':function(_0x52d7aa){return _0x52d7aa();},'nAwQX':_0x567507(0xee),'ioBmo':function(_0x435258,_0x1c2833){return _0x435258>_0x1c2833;},'uegtT':'bstackA11yShouldScan','WWQTw':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','XTMWi':_0x567507(0xfa),'gPICS':_0x567507(0xb9),'sJoZo':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','KQrJD':_0x567507(0xd1),'pvWrz':_0x567507(0xec),'DDwWv':_0x567507(0xcc)};try{if(Array['isArray'](global[_0x567507(0x11b)])&&_0x4abf4f[_0x567507(0xc2)](global[_0x567507(0x11b)][_0x567507(0x116)],0x0)&&global[_0x567507(0x11b)][0x0]){const _0x2e8a99=_activeFullName||global[_0x567507(0xb5)];if(!global[_0x567507(0xd7)]&&_0x2e8a99){global[_0x567507(0xb5)]=_0x2e8a99;try{await global[_0x567507(0x11b)][0x0][_0x567507(0x104)](_0x567507(0xce)+JSON[_0x567507(0x11c)](_0x2e8a99)+'}}'),global[_0x567507(0x11b)][0x0]['sessionNameSet__']=!![];}catch(_0x47f7da){logger[_0x567507(0xc8)](_0x567507(0x11e)+util[_0x567507(0xfe)](_0x47f7da));}}if(!global[_0x567507(0xd3)])try{const _0x1b190e=_activeResultRef&&Array[_0x567507(0x11d)](_activeResultRef[_0x567507(0xba)])?_activeResultRef[_0x567507(0xba)]:[],_0x3f232a=_0x4abf4f[_0x567507(0xc2)](_0x1b190e[_0x567507(0x116)],0x0),_0x11c600=_0x3f232a?_0x1b190e[0x0]&&_0x1b190e[0x0][_0x567507(0xa5)]||_0x4abf4f[_0x567507(0xf2)]:null;try{await global[_0x567507(0x11b)][0x0][_0x567507(0x104)](_0x567507(0xe9)+JSON[_0x567507(0x11c)](_0x3f232a?_0x4abf4f[_0x567507(0xd0)](_0x4abf4f['rqbcM'],_0x11c600):_0x4abf4f[_0x567507(0xa6)])+_0x567507(0xc4)+(_0x3f232a?_0x4abf4f[_0x567507(0xe8)]:_0x4abf4f['DSxIL'])+_0x567507(0x110));}catch(_0x49eb04){logger['debug'](_0x567507(0xe0)+util[_0x567507(0xfe)](_0x49eb04));}_0x3f232a&&(global[_0x567507(0x118)]=!![]),await helper[_0x567507(0x112)](global[_0x567507(0x11b)][0x0],_0x3f232a?_0x4abf4f[_0x567507(0xdb)]:_0x4abf4f[_0x567507(0xa4)],_0x11c600);}catch(_0x1bd8c2){logger['debug'](_0x567507(0xf0)+util['format'](_0x1bd8c2));}}}catch(_0x43c42d){logger[_0x567507(0xc8)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x567507(0xfe)](_0x43c42d));}try{if(_0x4abf4f[_0x567507(0x10d)](isAccessibilityAutomationSession)&&globals[_0x567507(0xed)](_0x4abf4f[_0x567507(0x115)])&&Array['isArray'](global[_0x567507(0x11b)])&&_0x4abf4f[_0x567507(0xb8)](global['__drivers'][_0x567507(0x116)],0x0)&&global['__drivers'][0x0]){const _0x52f415=testRunMap['get'](_activeResultId),_0x53c7c8={};_0x53c7c8[_0x567507(0xb0)]=_0x52f415,_0x53c7c8['thBuildUuid']=process[_0x567507(0xb1)][testHubConstants[_0x567507(0xa9)]['BROWSERSTACK_TESTHUB_UUID']],_0x53c7c8['thJwtToken']=process[_0x567507(0xb1)][testHubConstants[_0x567507(0xa9)]['BROWSERSTACK_TESTHUB_JWT']];const _0x364312=_0x53c7c8;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x567507(0x11c)](_0x364312));if(globals[_0x567507(0xed)](_0x4abf4f[_0x567507(0xdc)])){logger[_0x567507(0xc8)](_0x4abf4f[_0x567507(0xda)]);const _0x47844b=await accessibilityRetryHelper['performScanWithRetry'](global[_0x567507(0x11b)][0x0],global['browserstackSessionName']);_0x47844b?logger['debug'](_0x4abf4f[_0x567507(0xb2)]):logger[_0x567507(0x107)](_0x4abf4f[_0x567507(0x10a)]);}else logger[_0x567507(0xc8)](_0x4abf4f[_0x567507(0xd2)]);globals[_0x567507(0xed)](_0x4abf4f[_0x567507(0xa3)])&&(_0x364312['is_mobile_session']=!![]);const _0x42813a=await accessibilityRetryHelper[_0x567507(0xbb)](global[_0x567507(0x11b)][0x0],_0x364312);_0x42813a?logger['debug'](_0x4abf4f[_0x567507(0xbd)]):logger[_0x567507(0x107)](_0x4abf4f[_0x567507(0x113)]);}}catch(_0x5b2899){logger['error'](_0x567507(0xae)+util[_0x567507(0xfe)](_0x5b2899));}});}catch(a19_0x52546c){logger['debug'](a19_0x32b546(0xe1)+util[a19_0x32b546(0xfe)](a19_0x52546c));}module[a19_0x32b546(0xf9)]={};
1
+ 'use strict';const a19_0x37517b=a19_0x6719;(function(_0x1c1550,_0x4c38ae){const _0x370bd1=a19_0x6719,_0x43f10d=_0x1c1550();while(!![]){try{const _0x3917ee=-parseInt(_0x370bd1(0x1f9))/0x1*(parseInt(_0x370bd1(0x212))/0x2)+-parseInt(_0x370bd1(0x1bb))/0x3+-parseInt(_0x370bd1(0x1cb))/0x4*(-parseInt(_0x370bd1(0x1d5))/0x5)+-parseInt(_0x370bd1(0x1c7))/0x6+-parseInt(_0x370bd1(0x1d1))/0x7+-parseInt(_0x370bd1(0x20c))/0x8+parseInt(_0x370bd1(0x1c3))/0x9;if(_0x3917ee===_0x4c38ae)break;else _0x43f10d['push'](_0x43f10d['shift']());}catch(_0x159c2e){_0x43f10d['push'](_0x43f10d['shift']());}}}(a19_0x2d4a,0x6ac5b));const util=require(a19_0x37517b(0x1cf)),logger=require(a19_0x37517b(0x1d6))['winstonLogger'],helper=require(a19_0x37517b(0x1e8)),globals=require(a19_0x37517b(0x1bf)),{shouldProcessEventForTesthub}=require(a19_0x37517b(0x1da)),testHubConstants=require(a19_0x37517b(0x1e3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x37517b(0x1ed)),accessibilityRetryHelper=require(a19_0x37517b(0x1d0)),testRunMap=require(a19_0x37517b(0x1e4));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x37517b(0x1bc)][a19_0x37517b(0x1aa)]||process[a19_0x37517b(0x1bc)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x2c138c){logger[a19_0x37517b(0x223)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x37517b(0x1c5)](a19_0x2c138c));}try{if(_bstackConfig&&!helper[a19_0x37517b(0x217)]('@playwright/test')){const TvkXeu=a19_0x37517b(0x1ad)[a19_0x37517b(0x21e)]('|');let XnVHvc=0x0;while(!![]){switch(TvkXeu[XnVHvc++]){case'0':logger[a19_0x37517b(0x223)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'1':global[a19_0x37517b(0x1d2)]=_bstackConfig[a19_0x37517b(0x1a5)];continue;case'2':global[a19_0x37517b(0x1b5)]=_bstackConfig[a19_0x37517b(0x1ac)]||{};continue;case'3':helper['isBrowserstackInfra']()?(global[a19_0x37517b(0x1a6)]=helper[a19_0x37517b(0x1dd)](_bstackConfig[a19_0x37517b(0x220)]),global[a19_0x37517b(0x1be)]=helper[a19_0x37517b(0x1dd)](_bstackConfig['skipSessionStatus'])):(global[a19_0x37517b(0x1a6)]=!![],global['__skipSessionStatus']=!![]);continue;case'4':shouldProcessEventForTesthub()?require(a19_0x37517b(0x1dc))[a19_0x37517b(0x1ff)](_bstackConfig,null,!![]):require('../../index')[a19_0x37517b(0x1ff)](_bstackConfig);continue;}break;}}}catch(a19_0x2bab84){logger['debug'](a19_0x37517b(0x1a4)+util[a19_0x37517b(0x1c5)](a19_0x2bab84));}const _fileNameByFullName={};try{if(typeof describe===a19_0x37517b(0x1f0)&&typeof global!==a19_0x37517b(0x1d7)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x227ad7=a19_0x37517b,_0x29d049={'aBBmz':function(_0x3698f5,_0x3439dd){return _0x3698f5(_0x3439dd);},'wHOnZ':_0x227ad7(0x1fa),'Tfoqz':function(_0x3a4f04,_0x5d9bb4){return _0x3a4f04(_0x5d9bb4);},'uzItX':_0x227ad7(0x1c9),'bbNkH':'jasmine-core'},_0x4e40b5=Error['prepareStackTrace'];try{const _0x2551d3=new Error();Error['prepareStackTrace']=(_0x121656,_0x41f144)=>_0x41f144;const _0x1c35fb=_0x2551d3[_0x227ad7(0x210)];Error[_0x227ad7(0x1f2)]=_0x4e40b5;if(Array[_0x227ad7(0x1a7)](_0x1c35fb))for(const _0x5a5f74 of _0x1c35fb){const _0x5168f3=_0x5a5f74[_0x227ad7(0x1e7)]&&_0x5a5f74['getFileName']();if(_0x5168f3&&!_0x5168f3[_0x227ad7(0x1b8)](_0x227ad7(0x1f7)+_0x29d049[_0x227ad7(0x1c2)](require,_0x29d049['wHOnZ'])[_0x227ad7(0x1fc)]+_0x227ad7(0x21b)+_0x29d049['Tfoqz'](require,_0x29d049[_0x227ad7(0x20b)])[_0x227ad7(0x1fc)])&&!_0x5168f3[_0x227ad7(0x1e5)](_0x29d049[_0x227ad7(0x222)])&&!_0x5168f3[_0x227ad7(0x1b8)](_0x29d049[_0x227ad7(0x221)]))return _0x5168f3;}}catch(_0x168f52){Error[_0x227ad7(0x1f2)]=_0x4e40b5;}return null;},_wrappedDescribe=function(_0x5df016,_0x5d0ce7){const _0x3804d1=a19_0x37517b,_0x9de1b6={'WHZqi':function(_0x9c6707){return _0x9c6707();},'CzrIv':function(_0x29e155,_0x121e10){return _0x29e155&&_0x121e10;},'mNcBX':function(_0xaf9ca4,_0x590cdc,_0x2b85e0){return _0xaf9ca4(_0x590cdc,_0x2b85e0);}};let _0x3fda5b=null;try{_0x3fda5b=_0x9de1b6['WHZqi'](_resolveCallerFile);}catch(_0x1d1dba){}_describeTitleStack['push'](_0x5df016);const _0x3d40ef=_describeTitleStack[_0x3804d1(0x1b2)]('\x20');_0x9de1b6['CzrIv'](_0x3fda5b,_0x3d40ef)&&(_fileNameByFullName[_0x3d40ef]=_0x3fda5b);try{return _0x9de1b6[_0x3804d1(0x21f)](_origDescribe,_0x5df016,_0x5d0ce7);}finally{_describeTitleStack[_0x3804d1(0x1af)]();}};Object['keys'](_origDescribe)[a19_0x37517b(0x213)](_0x5a16b7=>{_wrappedDescribe[_0x5a16b7]=_origDescribe[_0x5a16b7];}),global[a19_0x37517b(0x1f3)]=_wrappedDescribe;}}catch(a19_0x1cdc37){logger[a19_0x37517b(0x223)](a19_0x37517b(0x216)+util['format'](a19_0x1cdc37));}function a19_0x6719(_0x566982,_0x63a87c){const _0x2d4a41=a19_0x2d4a();return a19_0x6719=function(_0x671994,_0x580cf3){_0x671994=_0x671994-0x1a2;let _0x4aace7=_0x2d4a41[_0x671994];return _0x4aace7;},a19_0x6719(_0x566982,_0x63a87c);}try{if(typeof jasmine!==a19_0x37517b(0x1d7)&&jasmine[a19_0x37517b(0x205)]){const BrowserStackJasmineReporter=require(a19_0x37517b(0x1d3)),a19_0x53e2bb={};a19_0x53e2bb['fileNameByFullName']=_fileNameByFullName,jasmine[a19_0x37517b(0x205)]()[a19_0x37517b(0x1c8)](new BrowserStackJasmineReporter(a19_0x53e2bb)),logger[a19_0x37517b(0x223)](a19_0x37517b(0x20e));}else logger[a19_0x37517b(0x223)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a19_0x13e783){logger[a19_0x37517b(0x223)](a19_0x37517b(0x204)+util['format'](a19_0x13e783));}function a19_0x2d4a(){const _0x71a64d=['MUKnk','../../index','isTrue','fullName','__sessionFailed','pzLab','failedExpectations','sessionNameSet__','../../helpers/testhub/constants','./testRunMap','startsWith','BROWSERSTACK_TESTHUB_JWT','getFileName','../../helpers/helper','parse','isMobilePlatform','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','exports','../../helpers/accessibility-automation/helper','thBuildUuid','bstackA11yScanOptions','function','executeScript','prepareStackTrace','describe','performScanWithRetry','ZKJys','eUBCB','bin','adkmx','75RKojPq','path','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','sep','ENV_VAR','Failed:\x20','browserstackAgentV2','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getGlobal','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','getEnv','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','hxYVQ','\x22}}','wHOnZ','6213904uhafAa','message','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','gEYGV','stack','YsAap','816BvBLGh','forEach','DCYWv','warn','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','getPackageVersion','BROWSERSTACK_TESTHUB_UUID','fyewG','__drivers','jasmine','HvJKJ','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','split','mNcBX','skipSessionName','bbNkH','uzItX','debug','setGlobal','dYdqx','furnr','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','platformIndex','__skipSessionName','isArray','autoScanning','Spec\x20failed','BROWSERSTACK_JASMINE_CONFIG','oBdly','platformCaps','0|4|2|1|3','stringify','pop','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','info','join','odiPg','gGaMk','__platformCaps','SEUkW','error','includes','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','765141pXRMUH','env','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','__skipSessionStatus','../../helpers/globals','fGCDn','thTestRunUuid','aBBmz','21068793CLoWtg','aiYUQ','format','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','4997112jambvq','addReporter','node:','Passed','112IsMKTg','sessionName','length','jDVME','util','../../helpers/accessibility-automation/accessibilityRetryHelper','4116203MzINIR','browserstackPlatformIndex','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','103505wKgWhV','../../helpers/logger','undefined','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','failed','../../helpers/testhub/utils'];a19_0x2d4a=function(){return _0x71a64d;};return a19_0x2d4a();}try{typeof jasmine!==a19_0x37517b(0x1d7)&&jasmine['getEnv']&&jasmine[a19_0x37517b(0x205)]()[a19_0x37517b(0x1c8)]({'specStarted'(_0x35f3b5){const _0x2ab12b=a19_0x37517b,_0x32630a={};_0x32630a[_0x2ab12b(0x21c)]=function(_0x101d9d,_0x4c4354){return _0x101d9d||_0x4c4354;};const _0x109945=_0x32630a;_activeResultId=_0x35f3b5&&_0x35f3b5['id'],_activeFullName=_0x35f3b5&&_0x35f3b5[_0x2ab12b(0x1de)],_activeResultRef=_0x109945[_0x2ab12b(0x21c)](_0x35f3b5,null);},'specDone'(){}});}catch(a19_0x477d15){logger[a19_0x37517b(0x223)](a19_0x37517b(0x1b9)+util['format'](a19_0x477d15));}const _resolveAutoScanning=()=>{const _0x24eee3=a19_0x37517b,_0x3de5a6={};_0x3de5a6['oBdly']=function(_0x48bc6a,_0x41f2e2){return _0x48bc6a===_0x41f2e2;};const _0x217996=_0x3de5a6;let _0x15e87a=!![];try{const _0x41e1e7=JSON[_0x24eee3(0x1e9)](process['env'][_0x24eee3(0x200)]||'{}');_0x217996[_0x24eee3(0x1ab)](_0x41e1e7[_0x24eee3(0x1a8)],![])&&(_0x15e87a=![]);}catch(_0x19aa83){logger[_0x24eee3(0x223)](_0x24eee3(0x1ba)+_0x19aa83['message']);}return _0x15e87a;};try{typeof beforeEach===a19_0x37517b(0x1f0)&&beforeEach(function bstackA11yBeforeEach(){const _0x760349=a19_0x37517b,_0x52a633={'DCYWv':function(_0x244c23){return _0x244c23();},'BRyue':function(_0x2e8114,_0x32b7a2,_0x71deb){return _0x2e8114(_0x32b7a2,_0x71deb);},'odiPg':function(_0x2d0eca,_0x4f4042){return _0x2d0eca&&_0x4f4042;},'EPFpL':'bstackA11yShouldScan','YsAap':_0x760349(0x1ef)};try{const _0x1f7716=_0x52a633[_0x760349(0x214)](_resolveAutoScanning),_0x5ddad5=_0x52a633['BRyue'](shouldScanTestForAccessibility,null,![]),_0x1a7513=_0x52a633[_0x760349(0x1b3)](_0x1f7716,_0x5ddad5);globals[_0x760349(0x224)](_0x52a633['EPFpL'],_0x1a7513),globals[_0x760349(0x224)](_0x52a633[_0x760349(0x211)],null);}catch(_0xc694e5){logger[_0x760349(0x223)](_0x760349(0x1fb)+util[_0x760349(0x1c5)](_0xc694e5));}}),typeof afterEach===a19_0x37517b(0x1f0)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x17179a=a19_0x37517b,_0xf8eb4c={'dYdqx':function(_0x43f6aa,_0x3eed2c){return _0x43f6aa>_0x3eed2c;},'pzLab':_0x17179a(0x1a9),'ZKJys':function(_0x260884,_0x1cdb77){return _0x260884+_0x1cdb77;},'fyewG':_0x17179a(0x1fe),'gGaMk':_0x17179a(0x1ca),'MUKnk':'error','krbpR':_0x17179a(0x1b1),'hxYVQ':_0x17179a(0x1d9),'furnr':'passed','jDVME':function(_0xfd0646){return _0xfd0646();},'adkmx':'isAccessibilityPlatform','fGCDn':'bstackA11yShouldScan','LWsSR':_0x17179a(0x1eb),'hidXA':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','gEYGV':_0x17179a(0x21d),'tzCbu':_0x17179a(0x1bd),'SEUkW':_0x17179a(0x1ea),'eUBCB':_0x17179a(0x1d4),'aiYUQ':_0x17179a(0x1b0)};try{if(Array[_0x17179a(0x1a7)](global[_0x17179a(0x21a)])&&_0xf8eb4c[_0x17179a(0x1a2)](global[_0x17179a(0x21a)][_0x17179a(0x1cd)],0x0)&&global[_0x17179a(0x21a)][0x0]){const _0x21f877=_activeFullName||global[_0x17179a(0x1cc)];if(!global[_0x17179a(0x1a6)]&&_0x21f877){global[_0x17179a(0x1cc)]=_0x21f877;try{await global[_0x17179a(0x21a)][0x0]['executeScript'](_0x17179a(0x1c6)+JSON[_0x17179a(0x1ae)](_0x21f877)+'}}'),global[_0x17179a(0x21a)][0x0][_0x17179a(0x1e2)]=!![];}catch(_0x40b0dc){logger[_0x17179a(0x223)](_0x17179a(0x1d8)+util[_0x17179a(0x1c5)](_0x40b0dc));}}if(!global['__skipSessionStatus'])try{const _0x4449c4=_activeResultRef&&Array[_0x17179a(0x1a7)](_activeResultRef[_0x17179a(0x1e1)])?_activeResultRef[_0x17179a(0x1e1)]:[],_0x37b51c=_0xf8eb4c['dYdqx'](_0x4449c4[_0x17179a(0x1cd)],0x0),_0x58d6fa=_0x37b51c?_0x4449c4[0x0]&&_0x4449c4[0x0][_0x17179a(0x20d)]||_0xf8eb4c[_0x17179a(0x1e0)]:null;try{await global[_0x17179a(0x21a)][0x0][_0x17179a(0x1f1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON[_0x17179a(0x1ae)](_0x37b51c?_0xf8eb4c[_0x17179a(0x1f5)](_0xf8eb4c[_0x17179a(0x219)],_0x58d6fa):_0xf8eb4c[_0x17179a(0x1b4)])+',\x22level\x22:\x20\x22'+(_0x37b51c?_0xf8eb4c[_0x17179a(0x1db)]:_0xf8eb4c['krbpR'])+_0x17179a(0x20a));}catch(_0x4918a9){logger[_0x17179a(0x223)](_0x17179a(0x203)+util['format'](_0x4918a9));}_0x37b51c&&(global[_0x17179a(0x1df)]=!![]),await helper['markSessionStatus'](global['__drivers'][0x0],_0x37b51c?_0xf8eb4c[_0x17179a(0x209)]:_0xf8eb4c[_0x17179a(0x1a3)],_0x58d6fa);}catch(_0x38f6f1){logger['debug'](_0x17179a(0x208)+util[_0x17179a(0x1c5)](_0x38f6f1));}}}catch(_0x31b5f2){logger[_0x17179a(0x223)](_0x17179a(0x207)+util['format'](_0x31b5f2));}try{if(_0xf8eb4c[_0x17179a(0x1ce)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0xf8eb4c[_0x17179a(0x1f8)])&&Array['isArray'](global[_0x17179a(0x21a)])&&_0xf8eb4c['dYdqx'](global[_0x17179a(0x21a)]['length'],0x0)&&global[_0x17179a(0x21a)][0x0]){const _0x47b6cd=testRunMap['get'](_activeResultId),_0x2353c8={};_0x2353c8[_0x17179a(0x1c1)]=_0x47b6cd,_0x2353c8[_0x17179a(0x1ee)]=process['env'][testHubConstants[_0x17179a(0x1fd)][_0x17179a(0x218)]],_0x2353c8['thJwtToken']=process[_0x17179a(0x1bc)][testHubConstants[_0x17179a(0x1fd)][_0x17179a(0x1e6)]];const _0x2c39a1=_0x2353c8;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x17179a(0x1ae)](_0x2c39a1));if(globals[_0x17179a(0x201)](_0xf8eb4c[_0x17179a(0x1c0)])){logger[_0x17179a(0x223)](_0xf8eb4c['LWsSR']);const _0x142d38=await accessibilityRetryHelper[_0x17179a(0x1f4)](global[_0x17179a(0x21a)][0x0],global['browserstackSessionName']);_0x142d38?logger[_0x17179a(0x223)](_0xf8eb4c['hidXA']):logger['warn'](_0xf8eb4c[_0x17179a(0x20f)]);}else logger['debug'](_0xf8eb4c['tzCbu']);globals[_0x17179a(0x201)](_0xf8eb4c[_0x17179a(0x1b6)])&&(_0x2c39a1['is_mobile_session']=!![]);const _0x22e2fd=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x17179a(0x21a)][0x0],_0x2c39a1);_0x22e2fd?logger[_0x17179a(0x223)](_0xf8eb4c[_0x17179a(0x1f6)]):logger[_0x17179a(0x215)](_0xf8eb4c[_0x17179a(0x1c4)]);}}catch(_0x4a1346){logger[_0x17179a(0x1b7)](_0x17179a(0x202)+util[_0x17179a(0x1c5)](_0x4a1346));}});}catch(a19_0x38cc33){logger['debug'](a19_0x37517b(0x206)+util[a19_0x37517b(0x1c5)](a19_0x38cc33));}module[a19_0x37517b(0x1ec)]={};
@@ -1 +1 @@
1
- 'use strict';function a20_0x355e(_0x41a554,_0x1f0e21){const _0x5e36f8=a20_0x5e36();return a20_0x355e=function(_0x355e0d,_0xfefdca){_0x355e0d=_0x355e0d-0x129;let _0x58e9bd=_0x5e36f8[_0x355e0d];return _0x58e9bd;},a20_0x355e(_0x41a554,_0x1f0e21);}const a20_0x2c5cab=a20_0x355e;(function(_0x4636fb,_0x316c32){const _0x1b916b=a20_0x355e,_0x5758f0=_0x4636fb();while(!![]){try{const _0x57a606=parseInt(_0x1b916b(0x131))/0x1*(-parseInt(_0x1b916b(0x135))/0x2)+-parseInt(_0x1b916b(0x132))/0x3+parseInt(_0x1b916b(0x12c))/0x4+parseInt(_0x1b916b(0x133))/0x5+-parseInt(_0x1b916b(0x136))/0x6+parseInt(_0x1b916b(0x12a))/0x7*(parseInt(_0x1b916b(0x137))/0x8)+parseInt(_0x1b916b(0x138))/0x9;if(_0x57a606===_0x316c32)break;else _0x5758f0['push'](_0x5758f0['shift']());}catch(_0x2e8af5){_0x5758f0['push'](_0x5758f0['shift']());}}}(a20_0x5e36,0x71a8c));function a20_0x5e36(){const _0x31c173=['14hKyGdC','5130540VyvUiI','320MthJRs','18344934MTalHi','wilOD','_size','bAuhX','64666ypwHbI','get','622408lpOohT','sqYuu','oGJDh','remove','size','93837pBDiJD','2604174evyYZI','1410535hJqAFH','set'];a20_0x5e36=function(){return _0x31c173;};return a20_0x5e36();}const _specUuidById=new Map();exports['set']=(_0xe5865e,_0x1e1e33)=>{const _0x5a4d5d=a20_0x355e,_0x417b71={};_0x417b71[_0x5a4d5d(0x12e)]=function(_0x5b0dd3,_0x240347){return _0x5b0dd3===_0x240347;};const _0x508705=_0x417b71;if(_0x508705[_0x5a4d5d(0x12e)](_0xe5865e,undefined)||_0x508705[_0x5a4d5d(0x12e)](_0xe5865e,null))return;_specUuidById[_0x5a4d5d(0x134)](_0xe5865e,_0x1e1e33);},exports[a20_0x2c5cab(0x12b)]=_0x2a2f57=>{const _0x2aa761=a20_0x2c5cab,_0x44f10f={};_0x44f10f['wilOD']=function(_0x41ba93,_0x1be1bb){return _0x41ba93===_0x1be1bb;},_0x44f10f[_0x2aa761(0x129)]=function(_0x2b8d44,_0x20735d){return _0x2b8d44===_0x20735d;};const _0x19fd96=_0x44f10f;if(_0x19fd96[_0x2aa761(0x139)](_0x2a2f57,undefined)||_0x19fd96['bAuhX'](_0x2a2f57,null))return undefined;return _specUuidById[_0x2aa761(0x12b)](_0x2a2f57);},exports[a20_0x2c5cab(0x12f)]=_0x183580=>{const _0x36a194=a20_0x2c5cab,_0x19dec9={};_0x19dec9[_0x36a194(0x12d)]=function(_0x14f2c6,_0x2a4b7a){return _0x14f2c6===_0x2a4b7a;};const _0x457d33=_0x19dec9;if(_0x457d33[_0x36a194(0x12d)](_0x183580,undefined)||_0x457d33[_0x36a194(0x12d)](_0x183580,null))return;_specUuidById['delete'](_0x183580);},exports[a20_0x2c5cab(0x13a)]=()=>_specUuidById[a20_0x2c5cab(0x130)];
1
+ 'use strict';function a20_0x1e5d(_0x43a3f4,_0x7afb22){const _0x395325=a20_0x3953();return a20_0x1e5d=function(_0x1e5dbf,_0x36a061){_0x1e5dbf=_0x1e5dbf-0x94;let _0x1df061=_0x395325[_0x1e5dbf];return _0x1df061;},a20_0x1e5d(_0x43a3f4,_0x7afb22);}const a20_0x30dffe=a20_0x1e5d;(function(_0x39df5b,_0x55a990){const _0x4a918c=a20_0x1e5d,_0x538dc5=_0x39df5b();while(!![]){try{const _0x821dfa=parseInt(_0x4a918c(0x95))/0x1*(parseInt(_0x4a918c(0x97))/0x2)+-parseInt(_0x4a918c(0xa2))/0x3+parseInt(_0x4a918c(0x9a))/0x4+parseInt(_0x4a918c(0x99))/0x5*(-parseInt(_0x4a918c(0x9d))/0x6)+parseInt(_0x4a918c(0xa7))/0x7*(parseInt(_0x4a918c(0xa0))/0x8)+parseInt(_0x4a918c(0x9f))/0x9*(-parseInt(_0x4a918c(0x94))/0xa)+parseInt(_0x4a918c(0x98))/0xb*(parseInt(_0x4a918c(0x96))/0xc);if(_0x821dfa===_0x55a990)break;else _0x538dc5['push'](_0x538dc5['shift']());}catch(_0x5191f4){_0x538dc5['push'](_0x538dc5['shift']());}}}(a20_0x3953,0xcc63a));function a20_0x3953(){const _0x126399=['CsBwF','delete','18lLzgUz','_size','76554LLqmgG','8fKcued','size','255996USIwwV','CIZUX','get','TfYLx','XSpwX','3891524vhgRyL','set','1040utbicz','98629FCEAbP','5698092kpBIzF','18alJynv','11mXZmYl','2704965cNWGUB','6046716pLeJJH'];a20_0x3953=function(){return _0x126399;};return a20_0x3953();}const _specUuidById=new Map();exports[a20_0x30dffe(0xa8)]=(_0x38515a,_0x5e6cfb)=>{const _0x3c71ef=a20_0x30dffe,_0x1b504c={};_0x1b504c['CIZUX']=function(_0xb57ff7,_0x314e3e){return _0xb57ff7===_0x314e3e;},_0x1b504c[_0x3c71ef(0xa6)]=function(_0x299027,_0x33030c){return _0x299027===_0x33030c;};const _0x5dd42d=_0x1b504c;if(_0x5dd42d[_0x3c71ef(0xa3)](_0x38515a,undefined)||_0x5dd42d[_0x3c71ef(0xa6)](_0x38515a,null))return;_specUuidById['set'](_0x38515a,_0x5e6cfb);},exports[a20_0x30dffe(0xa4)]=_0x253d04=>{const _0x49190e=a20_0x30dffe,_0x148d6b={};_0x148d6b[_0x49190e(0x9b)]=function(_0x13b477,_0x3c4dd0){return _0x13b477===_0x3c4dd0;};const _0x1e5f50=_0x148d6b;if(_0x1e5f50['CsBwF'](_0x253d04,undefined)||_0x1e5f50[_0x49190e(0x9b)](_0x253d04,null))return undefined;return _specUuidById[_0x49190e(0xa4)](_0x253d04);},exports['remove']=_0x306154=>{const _0x5c49f6=a20_0x30dffe,_0x599abd={};_0x599abd['TfYLx']=function(_0x154537,_0x2c4937){return _0x154537===_0x2c4937;};const _0x516b56=_0x599abd;if(_0x516b56[_0x5c49f6(0xa5)](_0x306154,undefined)||_0x516b56[_0x5c49f6(0xa5)](_0x306154,null))return;_specUuidById[_0x5c49f6(0x9c)](_0x306154);},exports[a20_0x30dffe(0x9e)]=()=>_specUuidById[a20_0x30dffe(0xa1)];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a21_0x163406=a21_0x41f8;function a21_0x41f8(_0x8f5f04,_0x4f2cfa){const _0x3d358b=a21_0x3d35();return a21_0x41f8=function(_0x41f883,_0x1233c2){_0x41f883=_0x41f883-0x16e;let _0x168741=_0x3d358b[_0x41f883];return _0x168741;},a21_0x41f8(_0x8f5f04,_0x4f2cfa);}(function(_0x23c1f3,_0x148203){const _0x4acef7=a21_0x41f8,_0x178abd=_0x23c1f3();while(!![]){try{const _0x51af4a=-parseInt(_0x4acef7(0x198))/0x1+parseInt(_0x4acef7(0x1d7))/0x2+parseInt(_0x4acef7(0x223))/0x3+-parseInt(_0x4acef7(0x1d0))/0x4+-parseInt(_0x4acef7(0x200))/0x5*(parseInt(_0x4acef7(0x18b))/0x6)+parseInt(_0x4acef7(0x197))/0x7*(parseInt(_0x4acef7(0x192))/0x8)+-parseInt(_0x4acef7(0x175))/0x9*(-parseInt(_0x4acef7(0x17b))/0xa);if(_0x51af4a===_0x148203)break;else _0x178abd['push'](_0x178abd['shift']());}catch(_0x48ebe9){_0x178abd['push'](_0x178abd['shift']());}}}(a21_0x3d35,0xe1c99));function a21_0x3d35(){const _0x341255=['runInBand','workingDir','handleApp','shouldProcessEventForTesthub','1356268TYsxwg','../../helpers/test-observability/constants','customEnvironment.js','retryTestsOnFailure','LjzuD','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','YmWMd','cjs','testContextOptions','../../helpers/test-observability/utils','mcgkn','getHubUrl','eizRp','slice','lqHfu','setup','getPackageType','mZyWA','IqfQC','QFBqC','assign','Deleted\x20fail-fast\x20state\x20folder:\x20','Reodered\x20Test\x20Files:\x20','parallelsPerPlatform','printBuildLink','child\x20process\x20exited\x20with\x20code\x20','customCircus.js','YhJbm','XASsP','../../helpers/logger','getInstance','default','eibOL','WVLBc','mjs','push','platforms','IDdYN','Unable\x20to\x20find\x20jest-circus,\x20','testObservability','cwd','5KQbCDX','setupBrowserstackLocal','\x0a\x20\x20\x20\x20\x20\x20','jest-circus/build/runner.js','../../helpers/utilities','isNotUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','platformCaps','ffWpy','turboScaleUrl','BWDSt','jest_browserstack.config.cjs','true','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','jest.setup.js','puppeteer','join','yRhus','JKdLj','json','parallels__','tYZCh','FezgY','Deleting\x20','Zqwrj','close','__isPlaywrightInstalled','false','cIQve','reporters','testSequencer','testRunner','BROWSERSTACK_CAPABILITIES','../../helpers/test-orchestration/testOrchestrationHandler','serial__','4283259MpaBzR','capabilities','resolveModule','runner','PACKAGE_TYPE','testEnvironment','reorderTestFiles','klsYx','jest.config.','FRAMEWORKS','../../helpers/testhub/testhubHandler','cQxOu','test.setup.js','message','SDK_CLEANUP','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','stop','length','BSTACK_JEST_TEST_ENV','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','isCLIEnabled','test_before.setup.js','gDoqS',';\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','util','maxWorkers','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','vYeuR','jest-runner-',';\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','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','puppeteer-core/package.json','env','../../helpers/puppeteer-helper','bizdq','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','error','useW3C','exitCode','Found:\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','end','platform','requireSeleniumWebdriver','wJtng','isUndefined','initialize','format','Preserving\x20user\x27s\x20Jest\x20runner:\x20','splice','@playwright/test','\x0amodule.exports\x20=\x20config;','config','proxySettings','package.json','SDK_SETUP','wMOtp','timeout__','isRunning','HvSkb','__isPuppeteerInstalled','nCdbw','recursive','testTimeout','jest','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','requirePWModule','\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','\x20with\x20browserstack\x20jest\x20configs','skipSessionName','setupFiles','krFFi','maxRetries','aMGSA','IrDce','nYPeL','\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','EVENTS','setupFilesAfterEnv','qbdiR','abortBuildOnFailure','apply','45TztvLN','logLevel','info','FBiij','isBrowserstackInfra','BSTACK_USER_JEST_RUNNER','1432390LcTOsp','jest-config/build/readConfigFileAndSetRootDir.js','../v2/browserstackCLI','unlinkSync','xyFlB','ujZVG','findIndex','../../helpers/accessibility-automation/helper','yesnz','accessibility','startsWith','isEmpty','ZRRbJ','jest-config','browserStackPercyOptions','moduleNameMapper','8786058HsabMB','USER_CONFIG_DETAILS_PATH','test-observability','writeFileSync','jest_browserstack_results.json','start','launchBuild','26056ChgScz','Creating\x20','parse','iEXvd','BROWSERSTACK_FRAMEWORK','3122uIBWnk','270340neqbXX','eHzXI','errorMessage','Puppeteer\x20setup\x20error:\x20','ArdpH','../../helpers/testhub/utils','customImplements','../../helpers/BrowserStackSetup','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','../../helpers/playwright-helper','CqLnn','dWTVz','./test-observability/test-details','existsSync','requireModule','stringify','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','gvjaK','child_process','PMUsX','testEnvironmentOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20while\x20parsing\x20','NeKjO','jest-circus','log','failureThresholdCount','BQOOZ','oPHmL','isTestOrchestrationEnabled','readInitialOptions','../../helpers/percy/utils','failFast','ZwFHe','aBgqj','accessibilityOptions','./test-observability/helper','../../helpers/performance/performance-tester','skipSessionStatus','npx','../utils/clientTroubleshootingService',',\x20CLI\x20running:\x20','retries__','playwright','readFileSync','SrzIk','../utils/constants','debug','dirname','tdndZ','filterBrowserstackArgs','JEST','BROWSERSTACK_TEST_OBSERVABILITY_YML','inherit','jest-runner','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','6460784IqGmjp','resolve','kpllv'];a21_0x3d35=function(){return _0x341255;};return a21_0x3d35();}const fs=require('fs'),path=require('path'),util=require(a21_0x163406(0x23b)),{spawn}=require(a21_0x163406(0x1aa)),logger=require(a21_0x163406(0x1f4))['winstonLogger'],{default:BrowserStackSetup}=require(a21_0x163406(0x19f)),helper=require('../../helpers/helper'),utilities=require(a21_0x163406(0x204)),constants=require(a21_0x163406(0x1c6)),accessibilityHelper=require(a21_0x163406(0x182)),{updateTestRerunConfig}=require(a21_0x163406(0x1bc)),testOpsHelper=require(a21_0x163406(0x1e0)),{debug}=require(a21_0x163406(0x1e0)),TestDetails=require(a21_0x163406(0x1a4)),{getPercyOptions}=require(a21_0x163406(0x1b7)),TestHubHandler=require(a21_0x163406(0x22d)),testhubUtils=require(a21_0x163406(0x19d)),{FRAMEWORKS}=require(a21_0x163406(0x1d8)),PerformanceTester=require(a21_0x163406(0x1bd)),PerformanceEvents=require('../../helpers/performance/constants')[a21_0x163406(0x170)],TestOrchestrationHandler=require(a21_0x163406(0x221)),BrowserstackCLI=require(a21_0x163406(0x17d)),{checkPwandBootstrapCli}=require(a21_0x163406(0x1a1)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x163406(0x244)),ClientTroubleShootingService=require(a21_0x163406(0x1c0)),{checkAccessibilityPlatformConfig}=require(a21_0x163406(0x182)),getUserJestConfigs=async(_0x234eed,_0x3038cf)=>{const _0x305483=a21_0x163406,_0x371003={'IDdYN':_0x305483(0x17c),'IqfQC':_0x305483(0x188),'NQWJa':function(_0x49b0ed,_0x12f027){return _0x49b0ed||_0x12f027;},'WfvwD':function(_0x5595e8,_0x54bc4a){return _0x5595e8(_0x54bc4a);},'aBgqj':_0x305483(0x259),'AuXcI':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','mZyWA':_0x305483(0x1f9),'tYZCh':_0x305483(0x1de),'vYeuR':_0x305483(0x213)};let _0x3d4ff6;try{_0x3d4ff6=helper[_0x305483(0x1a6)](_0x371003[_0x305483(0x1fc)],_0x371003['IqfQC']);}catch{const _0x1fac49=helper['requireModule'](_0x371003[_0x305483(0x1e9)]);_0x3d4ff6={'default':async _0x1cd9de=>{const _0x2c5e04=_0x305483,_0x34d13a=await _0x1fac49[_0x2c5e04(0x1b6)](_0x1cd9de,{});return _0x34d13a['config'];}};}const _0x37a514=_0x3038cf[_0x305483(0x181)](_0x1f3f1e=>_0x1f3f1e==='--config');if(!helper[_0x305483(0x250)](_0x234eed['config'])){logger[_0x305483(0x177)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x234eed[_0x305483(0x257)]),process[_0x305483(0x243)]['USER_CONFIG_DETAILS_PATH']=_0x234eed['config'];const _0x455585=await(0x0,_0x3d4ff6[_0x305483(0x1f6)])(path[_0x305483(0x1d1)](_0x234eed[_0x305483(0x257)]));return _0x3038cf[_0x305483(0x254)](_0x37a514,0x2),_0x371003['NQWJa'](_0x455585,{});}const _0x552167=_0x371003['WfvwD'](require,path[_0x305483(0x210)](process[_0x305483(0x1ff)](),_0x371003[_0x305483(0x1ba)]));if(_0x552167[_0x305483(0x263)])return logger[_0x305483(0x177)](_0x371003['AuXcI']),_0x552167[_0x305483(0x263)];const _0x25927a=['js',_0x371003[_0x305483(0x1e8)],_0x371003[_0x305483(0x215)],_0x371003[_0x305483(0x23e)],'ts'];for(const _0x33f3d9 of _0x25927a){const _0x385e31=path[_0x305483(0x210)](process[_0x305483(0x1ff)](),_0x305483(0x22b)+_0x33f3d9);if(fs['existsSync'](_0x385e31)){process[_0x305483(0x243)][_0x305483(0x18c)]=_0x385e31;const _0x3d4954=await(0x0,_0x3d4ff6[_0x305483(0x1f6)])(_0x385e31);return _0x3d4954;}}return{};},getSerial=(_0x23ca73,_0x45d6c3)=>{const _0x30f7df=a21_0x163406,_0x51b084={};_0x51b084[_0x30f7df(0x1ea)]=_0x30f7df(0x20c),_0x51b084[_0x30f7df(0x208)]=function(_0x2af884,_0xbc3283){return _0x2af884>_0xbc3283;},_0x51b084[_0x30f7df(0x20a)]=function(_0x5c45d1,_0x244dea){return _0x5c45d1>_0x244dea;},_0x51b084['mcgkn']=_0x30f7df(0x21b);const _0x5ca0b4=_0x51b084;let _0x4936bb=_0x5ca0b4[_0x30f7df(0x1ea)];return _0x5ca0b4[_0x30f7df(0x208)](_0x23ca73[_0x30f7df(0x234)],0x1)&&(!_0x45d6c3[_0x30f7df(0x1d3)]&&(helper[_0x30f7df(0x250)](_0x45d6c3[_0x30f7df(0x23c)])||_0x5ca0b4['BWDSt'](_0x45d6c3[_0x30f7df(0x23c)],0x1)))&&(_0x4936bb=_0x5ca0b4[_0x30f7df(0x1e1)]),_0x4936bb;},getMaxWorkers=(_0x39d828,_0x5bfcb1,_0x1e8afc)=>{const _0x533c27=a21_0x163406,_0x50e2ab={'eizRp':function(_0x32f837,_0x4905cc){return _0x32f837(_0x4905cc);}};let _0x2ff12d=0x1;if(!helper[_0x533c27(0x250)](_0x5bfcb1[_0x533c27(0x1ee)]))_0x2ff12d=_0x50e2ab[_0x533c27(0x1e3)](parseInt,_0x5bfcb1[_0x533c27(0x1ee)]);else{if(!helper[_0x533c27(0x250)](_0x39d828[_0x533c27(0x23c)]))_0x2ff12d=_0x39d828[_0x533c27(0x23c)];else!helper['isUndefined'](_0x1e8afc[_0x533c27(0x23c)])&&(_0x2ff12d=_0x1e8afc[_0x533c27(0x23c)]);}return _0x2ff12d;};async function run(_0x23a5ea,_0x3966a3,_0x50bb8b){const _0x497a05=a21_0x163406,_0x14ba40={'eHzXI':_0x497a05(0x263),'lqHfu':function(_0x1b45b7,_0x501834){return _0x1b45b7(_0x501834);},'YhJbm':_0x497a05(0x255),'kpllv':function(_0x488c23){return _0x488c23();},'cQxOu':function(_0x5b5569,_0x910869,_0xc42ac7,_0x43750b){return _0x5b5569(_0x910869,_0xc42ac7,_0x43750b);},'aMGSA':function(_0x565e29,_0x1b3ce6,_0x4e2116,_0x12df68){return _0x565e29(_0x1b3ce6,_0x4e2116,_0x12df68);},'FBiij':function(_0x48a90c,_0x23203a){return _0x48a90c!=_0x23203a;},'HvSkb':'true','tdndZ':function(_0x29941b,_0x298275,_0x434005){return _0x29941b(_0x298275,_0x434005);},'NeKjO':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Zqwrj':function(_0x4de5a5,_0x26210d){return _0x4de5a5(_0x26210d);},'BQOOZ':_0x497a05(0x21b),'gvjaK':function(_0x33fe5d,_0x557b52,_0x56f677,_0x16ea83){return _0x33fe5d(_0x557b52,_0x56f677,_0x16ea83);},'oPHmL':function(_0x5eeae5,_0x4fba08){return _0x5eeae5*_0x4fba08;},'bknmY':function(_0x4db7d5,_0x5546d5){return _0x4db7d5===_0x5546d5;},'bizdq':_0x497a05(0x20b),'yRhus':'jest_browserstack.config.js','ZwFHe':_0x497a05(0x19e),'dWTVz':_0x497a05(0x18f),'wJtng':'customTestRunner.js','ZRRbJ':'customTestRunnerTemplate.js','PMUsX':_0x497a05(0x1d9),'iEXvd':function(_0x2daa38,_0xda017b){return _0x2daa38!==_0xda017b;},'HFttM':_0x497a05(0x1ce),'VwEfx':_0x497a05(0x23f),'ArdpH':_0x497a05(0x20e),'eibOL':'customSequencer.js','WIxss':_0x497a05(0x1a0),'YmWMd':_0x497a05(0x1b0),'xyFlB':_0x497a05(0x203),'qqjwv':_0x497a05(0x18d),'ujZVG':'data-hooks.js','nYPeL':_0x497a05(0x1f1),'cIQve':_0x497a05(0x238),'Imhuy':_0x497a05(0x1dc),'IrDce':_0x497a05(0x1c3),'FezgY':_0x497a05(0x1a8),'gDoqS':_0x497a05(0x22f),'rYabs':_0x497a05(0x1cf),'ZJuMX':function(_0xa11e2d,_0x41477c){return _0xa11e2d&&_0x41477c;},'qbdiR':_0x497a05(0x236),'klsYx':_0x497a05(0x20f),'WVLBc':_0x497a05(0x242),'XASsP':'default','wMOtp':'@jest/core/build/ReporterDispatcher.js','yesnz':'@jest/core','YEMvJ':_0x497a05(0x20d),'EACLb':function(_0x447f27,_0x51a4fe){return _0x447f27>_0x51a4fe;},'SrzIk':_0x497a05(0x264),'nCdbw':'--config','JKdLj':_0x497a05(0x1bf),'CqLnn':function(_0x2baf4b,_0x336607){return _0x2baf4b===_0x336607;},'krFFi':'win32','vQFdj':_0x497a05(0x1cd),'LjzuD':_0x497a05(0x219)},_0x16a72b=helper['getPackageVersion'](_0x14ba40[_0x497a05(0x1f2)]);global[_0x497a05(0x21a)]=!!_0x16a72b;const _0x5ac04e=_0x14ba40[_0x497a05(0x1d2)](getPuppeteerVersion);global[_0x497a05(0x25f)]=!!_0x5ac04e;helper[_0x497a05(0x179)]()&&(await _0x50bb8b[_0x497a05(0x251)](_0x23a5ea),await helper[_0x497a05(0x1d5)](_0x50bb8b[_0x497a05(0x257)]));if(_0x16a72b)await _0x14ba40[_0x497a05(0x22e)](checkPwandBootstrapCli,_0x16a72b,constants[_0x497a05(0x22c)]['JEST'],_0x50bb8b);else _0x5ac04e&&await _0x14ba40[_0x497a05(0x26c)](checkPuppeteerAndBootstrapCli,_0x5ac04e,constants['FRAMEWORKS'][_0x497a05(0x1cb)],_0x50bb8b);!BrowserstackCLI[_0x497a05(0x1f5)]()[_0x497a05(0x25d)]()&&await _0x50bb8b[_0x497a05(0x201)]();if(!_0x50bb8b['config'])return;_0x14ba40[_0x497a05(0x178)](_0x50bb8b[_0x497a05(0x257)]['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1fe)]:process[_0x497a05(0x243)][_0x497a05(0x1cc)]=_0x14ba40['HvSkb'];const _0x23e2ec=new TestOrchestrationHandler(_0x50bb8b[_0x497a05(0x257)]),_0x1bd2bf=await _0x14ba40[_0x497a05(0x1c9)](getUserJestConfigs,_0x23a5ea,_0x3966a3);logger['info'](_0x14ba40[_0x497a05(0x1af)]);const _0x4b7a77=Object[_0x497a05(0x1eb)]({},_0x1bd2bf);_0x4b7a77[_0x497a05(0x1ac)]=Object[_0x497a05(0x1eb)]({},_0x4b7a77[_0x497a05(0x1ac)],{'server':helper[_0x497a05(0x1e2)](_0x50bb8b['config']),'environment':_0x1bd2bf[_0x497a05(0x228)]}),_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x189)]=_0x14ba40['lqHfu'](getPercyOptions,_0x50bb8b[_0x497a05(0x257)]);const _0x183809=helper[_0x497a05(0x248)](_0x50bb8b[_0x497a05(0x257)]);!helper[_0x497a05(0x250)](_0x50bb8b['config']['accessibilityOptions'])&&(process[_0x497a05(0x243)][_0x497a05(0x1ad)]=JSON['stringify'](_0x50bb8b['config'][_0x497a05(0x1bb)]));if(!BrowserstackCLI[_0x497a05(0x1f5)]()['isRunning']()){const _0x2d4b69=await TestHubHandler[_0x497a05(0x191)](FRAMEWORKS[_0x497a05(0x1cb)],_0x50bb8b);}const _0x208f5c=helper['prepareCapabilities'](_0x50bb8b[_0x497a05(0x257)],_0x183809,constants[_0x497a05(0x22c)][_0x497a05(0x1cb)]);process['env'][_0x497a05(0x220)]=JSON[_0x497a05(0x1a7)](_0x208f5c);let _0x2beb36=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x184)];_0x2beb36=_0x2beb36||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x50bb8b[_0x497a05(0x257)]),process[_0x497a05(0x243)][_0x497a05(0x206)]=_0x2beb36,logger[_0x497a05(0x1c7)](_0x497a05(0x232)+_0x2beb36+_0x497a05(0x1c1)+BrowserstackCLI[_0x497a05(0x1f5)]()[_0x497a05(0x25d)]());if(_0x16a72b)try{const _0xa7e545=_0x14ba40[_0x497a05(0x218)](checkAccessibilityPlatformConfig,_0x50bb8b[_0x497a05(0x257)]);process[_0x497a05(0x243)][_0x497a05(0x246)]=_0xa7e545?_0x14ba40[_0x497a05(0x25e)]:_0x14ba40[_0x497a05(0x1b3)],logger[_0x497a05(0x1c7)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0xa7e545+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process['env'][_0x497a05(0x246)]);}catch(_0x17fd7e){logger[_0x497a05(0x1c7)](_0x497a05(0x23d)+util['format'](_0x17fd7e));}_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x224)]=_0x208f5c,_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x222)]=_0x14ba40['tdndZ'](getSerial,_0x208f5c,_0x23a5ea),_0x4b7a77['testEnvironmentOptions'][_0x497a05(0x214)]=_0x14ba40[_0x497a05(0x1a9)](getMaxWorkers,_0x23a5ea,_0x50bb8b['config'],_0x1bd2bf),_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x258)]=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x258)],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x25c)]=_0x14ba40[_0x497a05(0x1b4)](_0x23a5ea[_0x497a05(0x262)],0x1)||0x1388,_0x4b7a77['testEnvironmentOptions']['skipSessionName']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1df)][_0x497a05(0x268)],_0x4b7a77[_0x497a05(0x1ac)]['skipSessionStatus']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1df)][_0x497a05(0x1be)],_0x4b7a77[_0x497a05(0x1ac)]['browserStackLogLevel']=_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x176)],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x209)]=_0x50bb8b['config'][_0x497a05(0x209)],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x207)]=_0x50bb8b['config']['platforms'];const _0x3229c0=helper['parseTestOrchestrationOptions'](_0x50bb8b[_0x497a05(0x257)]);if(!helper[_0x497a05(0x186)](_0x3229c0)){helper['isNotUndefined'](_0x3229c0[_0x497a05(0x1da)])&&(_0x4b7a77['testEnvironmentOptions'][_0x497a05(0x1c2)]=_0x3229c0[_0x497a05(0x1da)][_0x497a05(0x26b)]);if(helper['isNotUndefined'](_0x3229c0['abortBuildOnFailure'])&&helper[_0x497a05(0x205)](_0x3229c0[_0x497a05(0x173)][_0x497a05(0x1d4)])){const _0x50da9d={};_0x50da9d[_0x497a05(0x1b2)]=_0x3229c0[_0x497a05(0x173)]['maxFailures'],_0x50da9d[_0x497a05(0x1d4)]=_0x3229c0['abortBuildOnFailure']['workingDir'],_0x4b7a77[_0x497a05(0x1ac)][_0x497a05(0x1b8)]=_0x50da9d;}}let _0x5b5d10='';_0x14ba40['bknmY'](helper[_0x497a05(0x1e7)](),constants[_0x497a05(0x227)]['MODULE'])?_0x5b5d10=_0x14ba40[_0x497a05(0x245)]:_0x5b5d10=_0x14ba40[_0x497a05(0x211)];const _0x2027f5=_0x5b5d10,_0x566cc1=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x1a3)]),_0x3fc472=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x24f)]),_0x47ca0f=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x187)]);_0x4b7a77['testEnvironment']&&(process[_0x497a05(0x243)][_0x497a05(0x235)]=_0x4b7a77[_0x497a05(0x228)]);_0x4b7a77[_0x497a05(0x228)]=path[_0x497a05(0x210)](__dirname,_0x14ba40['ZwFHe'],_0x14ba40[_0x497a05(0x1ab)]);const _0x2a5f25=_0x1bd2bf[_0x497a05(0x226)];if(_0x2a5f25&&_0x14ba40[_0x497a05(0x195)](_0x2a5f25,_0x14ba40['HFttM'])){const _0x6d3a39=_0x2a5f25[_0x497a05(0x185)](_0x14ba40['VwEfx'])?_0x2a5f25:_0x497a05(0x23f)+_0x2a5f25;process[_0x497a05(0x243)][_0x497a05(0x17a)]=_0x6d3a39,logger[_0x497a05(0x177)](_0x497a05(0x253)+_0x6d3a39);}_0x4b7a77[_0x497a05(0x226)]=_0x3fc472,_0x4b7a77[_0x497a05(0x171)]=_0x4b7a77[_0x497a05(0x171)]||[],_0x4b7a77[_0x497a05(0x171)]['push'](path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x19c)]));_0x23e2ec[_0x497a05(0x1b5)]()&&(_0x4b7a77[_0x497a05(0x21e)]=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x1f7)]));if(testhubUtils[_0x497a05(0x1d6)]()||BrowserstackCLI[_0x497a05(0x1f5)]()['isCliEnabled']()){let _0x572cea=null;try{_0x572cea=helper[_0x497a05(0x1a6)](_0x14ba40['WIxss'],_0x14ba40[_0x497a05(0x1dd)]);}catch(_0x12f614){try{_0x572cea=helper['requireModule'](_0x14ba40[_0x497a05(0x17f)],_0x14ba40[_0x497a05(0x1dd)]);}catch(_0xec7f11){_0x14ba40[_0x497a05(0x1e5)](debug,_0x497a05(0x1fd)+_0xec7f11);}}_0x572cea&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x4b7a77[_0x497a05(0x171)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,_0x14ba40['qqjwv'],_0x14ba40[_0x497a05(0x180)])),_0x4b7a77[_0x497a05(0x21f)]=path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x1b9)],_0x14ba40[_0x497a05(0x16e)]));}_0x4b7a77[_0x497a05(0x269)]=_0x4b7a77['setupFiles']||[];try{helper[_0x497a05(0x24e)](),_0x4b7a77[_0x497a05(0x269)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,_0x14ba40[_0x497a05(0x21c)]));}catch{logger['debug'](_0x14ba40['Imhuy']);}try{helper[_0x497a05(0x265)][_0x497a05(0x174)](null,[_0x14ba40[_0x497a05(0x1f2)],_0x14ba40[_0x497a05(0x26d)]]),logger[_0x497a05(0x1c7)](_0x14ba40[_0x497a05(0x216)]),_0x4b7a77[_0x497a05(0x269)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,_0x14ba40['gDoqS']));}catch(_0x585bad){logger['debug'](_0x14ba40['rYabs'],_0x585bad);}if(_0x14ba40['ZJuMX'](!_0x16a72b,_0x5ac04e)){try{logger[_0x497a05(0x1c7)](_0x14ba40[_0x497a05(0x172)]),_0x4b7a77[_0x497a05(0x171)][_0x497a05(0x1fa)](path[_0x497a05(0x210)](__dirname,'..',_0x14ba40[_0x497a05(0x22a)],_0x14ba40[_0x497a05(0x239)]));}catch(_0x22b09d){logger[_0x497a05(0x1c7)](_0x497a05(0x19b)+_0x22b09d[_0x497a05(0x230)]);}try{const _0x396228=require['resolve'](_0x14ba40[_0x497a05(0x1f8)]),_0x671a9=path[_0x497a05(0x1c8)](_0x396228)['replace'](/\\/g,'/'),_0x17e8c9={};_0x17e8c9['^puppeteer-core/internal/(.*)']=_0x671a9+'/internal/$1',_0x4b7a77[_0x497a05(0x18a)]=Object[_0x497a05(0x1eb)]({},_0x4b7a77[_0x497a05(0x18a)]||{},_0x17e8c9),logger[_0x497a05(0x1c7)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x671a9);}catch(_0x563a07){logger['debug'](_0x497a05(0x241)+_0x563a07[_0x497a05(0x230)]);}}_0x4b7a77[_0x497a05(0x21d)]=_0x4b7a77[_0x497a05(0x21d)]||[_0x14ba40[_0x497a05(0x1f3)]],_0x14ba40[_0x497a05(0x1c9)](updateTestRerunConfig,_0x4b7a77,_0x50bb8b);const _0x2e921e=fs[_0x497a05(0x1c4)](_0x47ca0f),_0x3c9a1b=helper[_0x497a05(0x225)](_0x14ba40[_0x497a05(0x25b)],_0x14ba40[_0x497a05(0x183)]);!_0x3c9a1b[_0x497a05(0x247)]?fs[_0x497a05(0x18e)](_0x4b7a77[_0x497a05(0x226)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2e921e+_0x497a05(0x266)+_0x50bb8b[_0x497a05(0x257)][_0x497a05(0x1fb)][_0x497a05(0x234)]+_0x497a05(0x240)):fs[_0x497a05(0x18e)](_0x4b7a77[_0x497a05(0x226)],_0x497a05(0x202)+_0x2e921e+_0x497a05(0x16f)+_0x50bb8b['config']['platforms'][_0x497a05(0x234)]+_0x497a05(0x23a));logger[_0x497a05(0x177)](_0x497a05(0x193)+_0x2027f5+_0x497a05(0x267)),fs[_0x497a05(0x18e)](_0x2027f5,'const\x20config='+JSON['stringify'](_0x4b7a77)+_0x497a05(0x256));if(_0x23e2ec[_0x497a05(0x1b5)]()){logger[_0x497a05(0x1c7)](_0x14ba40['YEMvJ']);const _0x20c41f=await _0x23e2ec['findTestFiles'](_0x4b7a77,_0x3966a3[_0x497a05(0x1e4)](0x1),_0x2027f5);logger['debug'](_0x497a05(0x24a)+JSON['stringify'](_0x20c41f)+'\x20test\x20files\x20to\x20run.');const _0x51d345=await _0x23e2ec[_0x497a05(0x229)](_0x20c41f);logger[_0x497a05(0x1c7)](_0x497a05(0x1ed)+JSON[_0x497a05(0x1a7)](_0x51d345)),_0x51d345&&_0x14ba40['EACLb'](_0x51d345[_0x497a05(0x234)],0x0)&&(process[_0x497a05(0x243)]['JEST_TEST_ORDER']=_0x51d345?.['join'](','));}logger[_0x497a05(0x177)](_0x14ba40[_0x497a05(0x1c5)]);testhubUtils[_0x497a05(0x1d6)]()&&TestDetails[_0x497a05(0x1e6)]();helper[_0x497a05(0x1ca)]({},_0x3966a3),PerformanceTester[_0x497a05(0x24c)](PerformanceEvents[_0x497a05(0x25a)]);const _0x2c66a7=[_0x14ba40['eHzXI'],_0x14ba40[_0x497a05(0x260)],_0x2027f5,..._0x3966a3['slice'](0x1)];process[_0x497a05(0x243)][_0x497a05(0x196)]=process[_0x497a05(0x243)][_0x497a05(0x196)]||_0x14ba40[_0x497a05(0x199)];const _0x5efcc3=_0x14ba40['aMGSA'](spawn,_0x14ba40[_0x497a05(0x212)],_0x2c66a7,{'shell':_0x14ba40[_0x497a05(0x1a2)](process[_0x497a05(0x24d)],_0x14ba40[_0x497a05(0x26a)]),'stdio':_0x14ba40['vQFdj'],'env':Object[_0x497a05(0x1eb)]({},process[_0x497a05(0x243)])});_0x5efcc3['on'](_0x14ba40[_0x497a05(0x1db)],async _0x3732fa=>{const _0x1b7740=_0x497a05;PerformanceTester[_0x1b7740(0x190)](PerformanceEvents[_0x1b7740(0x231)]),process[_0x1b7740(0x249)]=_0x3732fa,logger[_0x1b7740(0x1c7)](_0x1b7740(0x1f0)+_0x3732fa),logger['info'](_0x1b7740(0x217)+_0x2027f5);if(helper[_0x1b7740(0x205)](_0x3229c0)&&helper[_0x1b7740(0x205)](_0x3229c0[_0x1b7740(0x173)])&&fs['existsSync'](_0x3229c0['abortBuildOnFailure'][_0x1b7740(0x1d4)]))try{const _0x1fc9a7={};_0x1fc9a7[_0x1b7740(0x261)]=!![],_0x1fc9a7['force']=!![],fs['rmSync'](_0x3229c0[_0x1b7740(0x173)][_0x1b7740(0x1d4)],_0x1fc9a7),logger['debug'](_0x1b7740(0x1ec)+_0x3229c0[_0x1b7740(0x173)]['workingDir']);}catch(_0x49ff23){logger[_0x1b7740(0x247)](_0x1b7740(0x24b)+_0x49ff23);}let _0x234e58=null;if(fs[_0x1b7740(0x1a5)](_0x566cc1)){_0x234e58=fs[_0x1b7740(0x1c4)](_0x566cc1);try{_0x234e58=JSON[_0x1b7740(0x194)](_0x234e58);}catch(_0x12768c){logger[_0x1b7740(0x1c7)](_0x1b7740(0x1ae)+_0x566cc1+',\x20'+_0x234e58+'\x20:\x20'+_0x12768c);}fs[_0x1b7740(0x17e)](_0x566cc1);}fs[_0x1b7740(0x17e)](_0x2027f5),fs[_0x1b7740(0x17e)](_0x3fc472),_0x234e58&&(_0x50bb8b[_0x1b7740(0x19a)]=helper['getErrorMessageFromResults'](_0x234e58,_0x14ba40[_0x1b7740(0x199)],_0x50bb8b));const _0x54dada=BrowserstackCLI[_0x1b7740(0x237)]();try{await TestHubHandler[_0x1b7740(0x233)](),await BrowserstackCLI[_0x1b7740(0x1f5)]()[_0x1b7740(0x233)]();}catch(_0x4541e9){console[_0x1b7740(0x1b1)](_0x4541e9),_0x14ba40[_0x1b7740(0x1e5)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x1b7740(0x252)](_0x4541e9));}testOpsHelper[_0x1b7740(0x1ef)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x50bb8b,_0x54dada);});}module['exports']=run;
2
+ 'use strict';function a21_0x1b9f(_0x3f4035,_0x24e7ae){const _0x406d9e=a21_0x406d();return a21_0x1b9f=function(_0x1b9f8e,_0x4408ec){_0x1b9f8e=_0x1b9f8e-0xea;let _0x396c3f=_0x406d9e[_0x1b9f8e];return _0x396c3f;},a21_0x1b9f(_0x3f4035,_0x24e7ae);}const a21_0x2da262=a21_0x1b9f;(function(_0x5e40ef,_0x15f48c){const _0x1fd166=a21_0x1b9f,_0x7eadc=_0x5e40ef();while(!![]){try{const _0x11c913=-parseInt(_0x1fd166(0x1de))/0x1*(-parseInt(_0x1fd166(0x1d6))/0x2)+parseInt(_0x1fd166(0x1cd))/0x3+parseInt(_0x1fd166(0x166))/0x4*(parseInt(_0x1fd166(0x1f2))/0x5)+-parseInt(_0x1fd166(0x136))/0x6+parseInt(_0x1fd166(0x1e9))/0x7+parseInt(_0x1fd166(0x11a))/0x8*(-parseInt(_0x1fd166(0x108))/0x9)+-parseInt(_0x1fd166(0x128))/0xa;if(_0x11c913===_0x15f48c)break;else _0x7eadc['push'](_0x7eadc['shift']());}catch(_0x391f77){_0x7eadc['push'](_0x7eadc['shift']());}}}(a21_0x406d,0xbf7ec));function a21_0x406d(){const _0x32fac0=['Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','readFileSync','qlOVR','ujPin','customCircus.js','mNNKR','isNotUndefined','../../helpers/testhub/testhubHandler','ttcPZ','@playwright/test','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_OBSERVABILITY_YML','pFUko','jest-config/build/readConfigFileAndSetRootDir.js','MgNqE','findIndex','printBuildLink','shouldProcessEventForTesthub','customTestRunnerTemplate.js','FFyZU','FEUmR','opPKU','mjs','apply','BCGAn','format','runner','Deleted\x20fail-fast\x20state\x20folder:\x20','shutdown','testObservability','\x0a\x20\x20\x20\x20\x20\x20','USER_CONFIG_DETAILS_PATH','maxFailures','env','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','accessibilityOptions','isUndefined','info','aDXCy','KQRBl','getPackageVersion','failureThresholdCount','Unable\x20to\x20find\x20jest-circus,\x20','YWQQQ','accessibility','setupFilesAfterEnv','requireSeleniumWebdriver','handleApp','true','Afaba','parse','logLevel','end','Creating\x20','../utils/constants','DWhhz','SDK_CLEANUP','workingDir','obIAq','mnJJC','serial__','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','capabilities','testContextOptions','test.setup.js','child_process','stop','\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','BROWSERSTACK_FRAMEWORK','jNszO','EVENTS','puppeteer','splice','../../helpers/testhub/utils','force','GYBKn','rXaTu','testSequencer','2651808yLoNzf','./test-observability/helper','jest-circus','maxWorkers','replace','../../helpers/performance/performance-tester','jest-runner','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','setupBrowserstackLocal','3118DWbMWP','initialize','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','abortBuildOnFailure','eiogW','push','ZmtcT','ngpfD','413UxZXbs','njYLp','BROWSERSTACK_TEST_ACCESSIBILITY_YML','platformCaps','FRAMEWORKS','jest','../../helpers/logger','jest-runner-','isCliEnabled','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x0amodule.exports\x20=\x20config;','3997112Zqrbpy','resolve','customSequencer.js','jest_browserstack.config.js','inherit','dgUgg','skipSessionName','platform','getHubUrl','35uUznCC','join','Getting\x20your\x20jest\x20configs\x20from\x20','parallels__','uGjIz','isRunning','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','jest-config','startsWith','testEnvironment','\x20test\x20files\x20to\x20run.','package.json','ShyOw','writeFileSync','path','length','recursive','browserStackPercyOptions','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/test-observability/constants','aYwcM','Puppeteer\x20setup\x20error:\x20','testEnvironmentOptions','BSTACK_USER_JEST_RUNNER','VdqlV','FyNtg','Mqvpo','default','filterBrowserstackArgs','tpRmR','debug','runInBand','error','106317XiGnFe','OmUnv','jest_browserstack_results.json','../../helpers/accessibility-automation/helper','../v2/browserstackCLI','util','json','oBpxo',',\x20CLI\x20running:\x20','qvslI','cwd','DPcvV','customImplements','getInstance','npx','jest.config.','stringify','BSTACK_JEST_TEST_ENV','488QDjhJs','message','rmSync','../../helpers/test-observability/utils','requireModule','exports','FClsL','../../helpers/puppeteer-helper','existsSync','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','finalExecution','iaASr','^puppeteer-core/internal/(.*)','dirname','11782420BYjyGZ','exitCode','zlkAg',';\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','utQtj','unlinkSync','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','false','close','GXeXb','XNlgK','data-hooks.js','turboScaleUrl','Preserving\x20user\x27s\x20Jest\x20runner:\x20','5841282UnnJpb','ZvarJ','aenqG','customEnvironment.js','../../helpers/helper','JEST','testRunner','slice','browserStackLogLevel','retries__','/internal/$1','start','setup','--config','platforms','parseTestOrchestrationOptions','win32','\x20:\x20','launchBuild','parallelsPerPlatform','isTestOrchestrationEnabled','Fnpze','EAQvv','child\x20process\x20exited\x20with\x20code\x20','prepareCapabilities','\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','skipSessionStatus','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','jest_browserstack.config.cjs','cjs','MODULE','reporters','BROWSERSTACK_CAPABILITIES',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','getErrorMessageFromResults','nNlUG','yHfzd','Wuxcn','@jest/core','const\x20config=','VjyyL','Found:\x20','assign','jest.setup.js','rZhqX','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','maxRetries','playwright','890244HXmQUr','vIpAU','retryTestsOnFailure','findTestFiles','../../helpers/utilities','tWThn','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','pJzmX','GNgIK','winstonLogger','checkAccessibilityPlatformConfig','\x20with\x20browserstack\x20jest\x20configs','readInitialOptions','fvRhv','DrKup','Getting\x20your\x20jest\x20configs\x20from\x20package.json','Reodered\x20Test\x20Files:\x20','../utils/clientTroubleshootingService','oFktg','config','setupFiles','Deleting\x20','testTimeout','pnimO','moduleNameMapper'];a21_0x406d=function(){return _0x32fac0;};return a21_0x406d();}const fs=require('fs'),path=require(a21_0x2da262(0xf5)),util=require(a21_0x2da262(0x10d)),{spawn}=require(a21_0x2da262(0x1c0)),logger=require(a21_0x2da262(0x1e4))[a21_0x2da262(0x16f)],{default:BrowserStackSetup}=require(a21_0x2da262(0x189)),helper=require(a21_0x2da262(0x13a)),utilities=require(a21_0x2da262(0x16a)),constants=require(a21_0x2da262(0x1b5)),accessibilityHelper=require(a21_0x2da262(0x10b)),{updateTestRerunConfig}=require(a21_0x2da262(0x1ce)),testOpsHelper=require(a21_0x2da262(0x11d)),{debug}=require(a21_0x2da262(0x11d)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a21_0x2da262(0x186)),testhubUtils=require(a21_0x2da262(0x1c8)),{FRAMEWORKS}=require(a21_0x2da262(0xfa)),PerformanceTester=require(a21_0x2da262(0x1d2)),PerformanceEvents=require('../../helpers/performance/constants')[a21_0x2da262(0x1c5)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x2da262(0x10c)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x2da262(0x121)),ClientTroubleShootingService=require(a21_0x2da262(0x177)),{checkAccessibilityPlatformConfig}=require(a21_0x2da262(0x10b)),getUserJestConfigs=async(_0x5a9d7b,_0x1e0c10)=>{const _0xdb0bbe=a21_0x2da262,_0x15f2da={'TOtOz':_0xdb0bbe(0x18c),'aenqG':_0xdb0bbe(0xee),'eiogW':function(_0x2761e2,_0x2908fc){return _0x2761e2||_0x2908fc;},'utQtj':function(_0x120246,_0xcb863e){return _0x120246(_0xcb863e);},'dgUgg':_0xdb0bbe(0xf2),'AmwKb':_0xdb0bbe(0x175),'rXaTu':_0xdb0bbe(0x195),'itABJ':_0xdb0bbe(0x153),'qvslI':_0xdb0bbe(0x10e)};let _0x252b51;try{_0x252b51=helper[_0xdb0bbe(0x11e)](_0x15f2da['TOtOz'],_0x15f2da[_0xdb0bbe(0x138)]);}catch{const _0x2ea8ed=helper[_0xdb0bbe(0x11e)](_0x15f2da[_0xdb0bbe(0x138)]);_0x252b51={'default':async _0x4955a5=>{const _0x498cee=_0xdb0bbe,_0x1e5fdb=await _0x2ea8ed[_0x498cee(0x172)](_0x4955a5,{});return _0x1e5fdb[_0x498cee(0x179)];}};}const _0x53f6d8=_0x1e0c10[_0xdb0bbe(0x18e)](_0x2cdecb=>_0x2cdecb===_0xdb0bbe(0x143));if(!helper['isUndefined'](_0x5a9d7b[_0xdb0bbe(0x179)])){logger[_0xdb0bbe(0x1a4)](_0xdb0bbe(0x1f4)+_0x5a9d7b[_0xdb0bbe(0x179)]),process[_0xdb0bbe(0x1a0)][_0xdb0bbe(0x19e)]=_0x5a9d7b[_0xdb0bbe(0x179)];const _0x2290e4=await(0x0,_0x252b51[_0xdb0bbe(0x102)])(path['resolve'](_0x5a9d7b[_0xdb0bbe(0x179)]));return _0x1e0c10[_0xdb0bbe(0x1c7)](_0x53f6d8,0x2),_0x15f2da[_0xdb0bbe(0x1da)](_0x2290e4,{});}const _0x2daba3=_0x15f2da[_0xdb0bbe(0x12c)](require,path[_0xdb0bbe(0x1f3)](process[_0xdb0bbe(0x112)](),_0x15f2da[_0xdb0bbe(0x1ee)]));if(_0x2daba3['jest'])return logger[_0xdb0bbe(0x1a4)](_0x15f2da['AmwKb']),_0x2daba3[_0xdb0bbe(0x1e3)];const _0x47077d=['js',_0x15f2da[_0xdb0bbe(0x1cb)],_0x15f2da['itABJ'],_0x15f2da[_0xdb0bbe(0x111)],'ts'];for(const _0x14347e of _0x47077d){const _0x538235=path[_0xdb0bbe(0x1f3)](process[_0xdb0bbe(0x112)](),_0xdb0bbe(0x117)+_0x14347e);if(fs[_0xdb0bbe(0x122)](_0x538235)){process[_0xdb0bbe(0x1a0)]['USER_CONFIG_DETAILS_PATH']=_0x538235;const _0x2982bc=await(0x0,_0x252b51[_0xdb0bbe(0x102)])(_0x538235);return _0x2982bc;}}return{};},getSerial=(_0x31cb54,_0x29ede5)=>{const _0x30e234=a21_0x2da262,_0x535062={};_0x535062[_0x30e234(0x193)]=_0x30e234(0x1af),_0x535062[_0x30e234(0x16d)]=function(_0x501e6b,_0x3ffb49){return _0x501e6b>_0x3ffb49;},_0x535062[_0x30e234(0x1dd)]=function(_0x252f9c,_0x307bfa){return _0x252f9c>_0x307bfa;},_0x535062[_0x30e234(0x184)]=_0x30e234(0x12f);const _0x54651c=_0x535062;let _0x1fa58a=_0x54651c[_0x30e234(0x193)];return _0x54651c[_0x30e234(0x16d)](_0x31cb54[_0x30e234(0xf6)],0x1)&&(!_0x29ede5[_0x30e234(0x106)]&&(helper['isUndefined'](_0x29ede5[_0x30e234(0x1d0)])||_0x54651c[_0x30e234(0x1dd)](_0x29ede5[_0x30e234(0x1d0)],0x1)))&&(_0x1fa58a=_0x54651c[_0x30e234(0x184)]),_0x1fa58a;},getMaxWorkers=(_0xb9e72f,_0x4d97ae,_0x18f3c2)=>{const _0x171cbd=a21_0x2da262,_0x30a196={'jNszO':function(_0xaf8e6,_0xe486b7){return _0xaf8e6(_0xe486b7);}};let _0x58078b=0x1;if(!helper[_0x171cbd(0x1a3)](_0x4d97ae['parallelsPerPlatform']))_0x58078b=_0x30a196[_0x171cbd(0x1c4)](parseInt,_0x4d97ae[_0x171cbd(0x149)]);else{if(!helper[_0x171cbd(0x1a3)](_0xb9e72f[_0x171cbd(0x1d0)]))_0x58078b=_0xb9e72f[_0x171cbd(0x1d0)];else!helper[_0x171cbd(0x1a3)](_0x18f3c2[_0x171cbd(0x1d0)])&&(_0x58078b=_0x18f3c2[_0x171cbd(0x1d0)]);}return _0x58078b;};async function run(_0xe6b467,_0x344f5d,_0x3ee232){const _0x130191=a21_0x2da262,_0xcb9a53={'GYBKn':'jest','uGjIz':function(_0x1e0e2d,_0x49fc25){return _0x1e0e2d(_0x49fc25);},'XNlgK':_0x130191(0x188),'aDXCy':function(_0x41ed03){return _0x41ed03();},'ZvarJ':function(_0x54170d,_0x5eb04d,_0x51053a,_0x24593a){return _0x54170d(_0x5eb04d,_0x51053a,_0x24593a);},'GXeXb':function(_0x46434d,_0x7a5a23){return _0x46434d!=_0x7a5a23;},'GNgIK':_0x130191(0x1af),'VdqlV':function(_0x5965e0,_0x808393,_0x38c175){return _0x5965e0(_0x808393,_0x38c175);},'qlOVR':_0x130191(0xf9),'MgNqE':function(_0x240566,_0x2afff5){return _0x240566(_0x2afff5);},'pFUko':function(_0x386d33,_0x2c8448){return _0x386d33(_0x2c8448);},'oBpxo':_0x130191(0x12f),'rZhqX':function(_0x3461d6,_0x5d27f4,_0x5c3f7f,_0x365632){return _0x3461d6(_0x5d27f4,_0x5c3f7f,_0x365632);},'ZmtcT':function(_0x524cb0,_0xeb0583){return _0x524cb0*_0xeb0583;},'oFktg':function(_0x3c86ff,_0x40bea9){return _0x3c86ff===_0x40bea9;},'DPcvV':_0x130191(0x152),'ZDQOe':_0x130191(0x1ec),'obIAq':_0x130191(0x114),'njYLp':_0x130191(0x10a),'zlkAg':'customTestRunner.js','ShyOw':_0x130191(0x191),'OmUnv':_0x130191(0x139),'jUazW':function(_0x351527,_0x4b5239){return _0x351527!==_0x4b5239;},'vIpAU':_0x130191(0x1d3),'YWQQQ':'jest-runner-','ttcPZ':_0x130191(0x161),'NaHuK':_0x130191(0x1eb),'FClsL':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DrKup':_0x130191(0x1cf),'ptShW':'jest-circus/build/runner.js','DWhhz':function(_0x3aa97c,_0x1b1e24){return _0x3aa97c(_0x1b1e24);},'yHfzd':'test-observability','MATJJ':_0x130191(0x133),'PvXZP':_0x130191(0x183),'Afaba':'test_before.setup.js','ujPin':_0x130191(0x123),'aYwcM':_0x130191(0x165),'opPKU':_0x130191(0x1d8),'tWThn':_0x130191(0x1bf),'Fnpze':_0x130191(0x151),'mnJJC':function(_0x112774,_0x3d4013){return _0x112774&&_0x3d4013;},'ZKkBM':_0x130191(0x163),'EAQvv':_0x130191(0x1c6),'fvRhv':'puppeteer-core/package.json','Wuxcn':'default','Mqvpo':function(_0x36ee8c,_0x3fc3d6,_0x5b6a7b){return _0x36ee8c(_0x3fc3d6,_0x5b6a7b);},'pnimO':'@jest/core/build/ReporterDispatcher.js','iaASr':_0x130191(0x15c),'KQRBl':_0x130191(0x1d4),'IAlgJ':function(_0x3848d3,_0x3b4982){return _0x3848d3>_0x3b4982;},'BCGAn':_0x130191(0x17f),'FyNtg':_0x130191(0x143),'FFyZU':_0x130191(0x116),'nNlUG':function(_0x1eca75,_0x141d8d){return _0x1eca75===_0x141d8d;},'kItWk':_0x130191(0x146),'tpRmR':_0x130191(0x1ed),'VjyyL':_0x130191(0x130)},_0x2946e9=helper[_0x130191(0x1a7)](_0xcb9a53[_0x130191(0x132)]);global['__isPlaywrightInstalled']=!!_0x2946e9;const _0xa1a105=_0xcb9a53[_0x130191(0x1a5)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0xa1a105;helper['isBrowserstackInfra']()&&(await _0x3ee232[_0x130191(0x1d7)](_0xe6b467),await helper[_0x130191(0x1ae)](_0x3ee232[_0x130191(0x179)]));if(_0x2946e9)await _0xcb9a53[_0x130191(0x137)](checkPwandBootstrapCli,_0x2946e9,constants[_0x130191(0x1e2)][_0x130191(0x13b)],_0x3ee232);else _0xa1a105&&await _0xcb9a53[_0x130191(0x137)](checkPuppeteerAndBootstrapCli,_0xa1a105,constants[_0x130191(0x1e2)]['JEST'],_0x3ee232);!BrowserstackCLI['getInstance']()[_0x130191(0xeb)]()&&await _0x3ee232[_0x130191(0x1d5)]();if(!_0x3ee232['config'])return;_0xcb9a53[_0x130191(0x131)](_0x3ee232[_0x130191(0x179)][_0x130191(0x19c)],null)?process[_0x130191(0x1a0)][_0x130191(0x18a)]=_0x3ee232[_0x130191(0x179)]['testObservability']:process[_0x130191(0x1a0)][_0x130191(0x18a)]=_0xcb9a53[_0x130191(0x16e)];const _0x2e7119=new TestOrchestrationHandler(_0x3ee232[_0x130191(0x179)]),_0xffe2d7=await _0xcb9a53[_0x130191(0xff)](getUserJestConfigs,_0xe6b467,_0x344f5d);logger[_0x130191(0x1a4)](_0xcb9a53[_0x130191(0x181)]);const _0x557b3e=Object[_0x130191(0x160)]({},_0xffe2d7);_0x557b3e[_0x130191(0xfd)]=Object[_0x130191(0x160)]({},_0x557b3e['testEnvironmentOptions'],{'server':helper[_0x130191(0x1f1)](_0x3ee232[_0x130191(0x179)]),'environment':_0xffe2d7[_0x130191(0xf0)]}),_0x557b3e[_0x130191(0xfd)][_0x130191(0xf8)]=_0xcb9a53[_0x130191(0x18d)](getPercyOptions,_0x3ee232[_0x130191(0x179)]);const _0x132578=helper['useW3C'](_0x3ee232[_0x130191(0x179)]);!helper['isUndefined'](_0x3ee232[_0x130191(0x179)][_0x130191(0x1a2)])&&(process[_0x130191(0x1a0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x130191(0x118)](_0x3ee232[_0x130191(0x179)][_0x130191(0x1a2)]));if(!BrowserstackCLI[_0x130191(0x115)]()[_0x130191(0xeb)]()){const _0x309060=await TestHubHandler[_0x130191(0x148)](FRAMEWORKS[_0x130191(0x13b)],_0x3ee232);}const _0x4ea66a=helper[_0x130191(0x14e)](_0x3ee232[_0x130191(0x179)],_0x132578,constants[_0x130191(0x1e2)][_0x130191(0x13b)]);process[_0x130191(0x1a0)][_0x130191(0x156)]=JSON[_0x130191(0x118)](_0x4ea66a);let _0x146503=_0x3ee232[_0x130191(0x179)][_0x130191(0x1ab)];_0x146503=_0x146503||accessibilityHelper[_0x130191(0x170)](_0x3ee232[_0x130191(0x179)]),process[_0x130191(0x1a0)][_0x130191(0x1e0)]=_0x146503,logger[_0x130191(0x105)](_0x130191(0x1bc)+_0x146503+_0x130191(0x110)+BrowserstackCLI[_0x130191(0x115)]()[_0x130191(0xeb)]());if(_0x2946e9)try{const _0x1e0594=_0xcb9a53[_0x130191(0x18b)](checkAccessibilityPlatformConfig,_0x3ee232[_0x130191(0x179)]);process['env'][_0x130191(0x1e7)]=_0x1e0594?_0xcb9a53['GNgIK']:_0xcb9a53[_0x130191(0x10f)],logger[_0x130191(0x105)](_0x130191(0x16c)+_0x1e0594+_0x130191(0x157)+process[_0x130191(0x1a0)][_0x130191(0x1e7)]);}catch(_0x35641d){logger[_0x130191(0x105)]('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util['format'](_0x35641d));}_0x557b3e['testEnvironmentOptions'][_0x130191(0x1bd)]=_0x4ea66a,_0x557b3e['testEnvironmentOptions'][_0x130191(0x1bb)]=_0xcb9a53[_0x130191(0xff)](getSerial,_0x4ea66a,_0xe6b467),_0x557b3e[_0x130191(0xfd)][_0x130191(0x1f5)]=_0xcb9a53[_0x130191(0x162)](getMaxWorkers,_0xe6b467,_0x3ee232[_0x130191(0x179)],_0xffe2d7),_0x557b3e[_0x130191(0xfd)]['proxySettings']=_0x3ee232[_0x130191(0x179)]['proxySettings'],_0x557b3e[_0x130191(0xfd)]['timeout__']=_0xcb9a53[_0x130191(0x1dc)](_0xe6b467[_0x130191(0x17c)],0x1)||0x1388,_0x557b3e[_0x130191(0xfd)][_0x130191(0x1ef)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x1be)][_0x130191(0x1ef)],_0x557b3e[_0x130191(0xfd)][_0x130191(0x150)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x1be)]['skipSessionStatus'],_0x557b3e[_0x130191(0xfd)][_0x130191(0x13e)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x1b2)],_0x557b3e['testEnvironmentOptions']['turboScaleUrl']=_0x3ee232[_0x130191(0x179)][_0x130191(0x134)],_0x557b3e[_0x130191(0xfd)][_0x130191(0x1e1)]=_0x3ee232[_0x130191(0x179)][_0x130191(0x144)];const _0x43072e=helper[_0x130191(0x145)](_0x3ee232[_0x130191(0x179)]);if(!helper['isEmpty'](_0x43072e)){helper[_0x130191(0x185)](_0x43072e['retryTestsOnFailure'])&&(_0x557b3e[_0x130191(0xfd)][_0x130191(0x13f)]=_0x43072e[_0x130191(0x168)][_0x130191(0x164)]);if(helper[_0x130191(0x185)](_0x43072e['abortBuildOnFailure'])&&helper['isNotUndefined'](_0x43072e['abortBuildOnFailure'][_0x130191(0x1b8)])){const _0x1734c9={};_0x1734c9[_0x130191(0x1a8)]=_0x43072e[_0x130191(0x1d9)][_0x130191(0x19f)],_0x1734c9[_0x130191(0x1b8)]=_0x43072e[_0x130191(0x1d9)][_0x130191(0x1b8)],_0x557b3e[_0x130191(0xfd)]['failFast']=_0x1734c9;}}let _0x396d59='';_0xcb9a53[_0x130191(0x178)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x130191(0x154)])?_0x396d59=_0xcb9a53[_0x130191(0x113)]:_0x396d59=_0xcb9a53['ZDQOe'];const _0x5918e7=_0x396d59,_0x490ae8=path['join'](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53[_0x130191(0x1df)]),_0x1c0782=path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53[_0x130191(0x12a)]),_0x3fe0c2=path['join'](__dirname,_0xcb9a53['obIAq'],_0xcb9a53[_0x130191(0xf3)]);_0x557b3e[_0x130191(0xf0)]&&(process[_0x130191(0x1a0)][_0x130191(0x119)]=_0x557b3e[_0x130191(0xf0)]);_0x557b3e[_0x130191(0xf0)]=path['join'](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53[_0x130191(0x109)]);const _0x433d62=_0xffe2d7[_0x130191(0x199)];if(_0x433d62&&_0xcb9a53['jUazW'](_0x433d62,_0xcb9a53[_0x130191(0x167)])){const _0x1e1885=_0x433d62[_0x130191(0xef)](_0xcb9a53[_0x130191(0x1aa)])?_0x433d62:_0x130191(0x1e5)+_0x433d62;process[_0x130191(0x1a0)][_0x130191(0xfe)]=_0x1e1885,logger[_0x130191(0x1a4)](_0x130191(0x135)+_0x1e1885);}_0x557b3e[_0x130191(0x199)]=_0x1c0782,_0x557b3e['setupFilesAfterEnv']=_0x557b3e[_0x130191(0x1ac)]||[],_0x557b3e[_0x130191(0x1ac)][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x187)]));_0x2e7119[_0x130191(0x14a)]()&&(_0x557b3e[_0x130191(0x1cc)]=path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53['NaHuK']));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x130191(0x115)]()[_0x130191(0x1e6)]()){let _0x14ed87=null;try{_0x14ed87=helper['requireModule'](_0xcb9a53[_0x130191(0x120)],_0xcb9a53[_0x130191(0x174)]);}catch(_0x573bce){try{_0x14ed87=helper[_0x130191(0x11e)](_0xcb9a53['ptShW'],_0xcb9a53[_0x130191(0x174)]);}catch(_0x1258a7){_0xcb9a53[_0x130191(0x1b6)](debug,_0x130191(0x1a9)+_0x1258a7);}}_0x14ed87&&(testhubUtils[_0x130191(0x190)]()&&_0x557b3e[_0x130191(0x1ac)][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x15a)],_0xcb9a53['MATJJ'])),_0x557b3e[_0x130191(0x13c)]=path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b9)],_0xcb9a53['PvXZP']));}_0x557b3e[_0x130191(0x17a)]=_0x557b3e[_0x130191(0x17a)]||[];try{helper[_0x130191(0x1ad)](),_0x557b3e['setupFiles'][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x1b0)]));}catch{logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x182)]);}try{helper['requirePWModule'][_0x130191(0x196)](null,[_0xcb9a53[_0x130191(0x132)],_0xcb9a53[_0x130191(0xfb)]]),logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x194)]),_0x557b3e[_0x130191(0x17a)]['push'](path[_0x130191(0x1f3)](__dirname,_0xcb9a53[_0x130191(0x16b)]));}catch(_0x3d4c73){logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x14b)],_0x3d4c73);}if(_0xcb9a53[_0x130191(0x1ba)](!_0x2946e9,_0xa1a105)){try{logger[_0x130191(0x105)](_0xcb9a53['ZKkBM']),_0x557b3e['setupFilesAfterEnv'][_0x130191(0x1db)](path[_0x130191(0x1f3)](__dirname,'..',_0xcb9a53[_0x130191(0x14c)],_0xcb9a53[_0x130191(0x16b)]));}catch(_0x399815){logger[_0x130191(0x105)](_0x130191(0xfc)+_0x399815[_0x130191(0x11b)]);}try{const _0x3c487c=require[_0x130191(0x1ea)](_0xcb9a53[_0x130191(0x173)]),_0x43c653=path[_0x130191(0x127)](_0x3c487c)[_0x130191(0x1d1)](/\\/g,'/'),_0x28ff68={};_0x28ff68[_0x130191(0x126)]=_0x43c653+_0x130191(0x140),_0x557b3e[_0x130191(0x17e)]=Object[_0x130191(0x160)]({},_0x557b3e[_0x130191(0x17e)]||{},_0x28ff68),logger['debug'](_0x130191(0x12e)+_0x43c653);}catch(_0x192e1d){logger[_0x130191(0x105)](_0x130191(0xec)+_0x192e1d[_0x130191(0x11b)]);}}_0x557b3e[_0x130191(0x155)]=_0x557b3e[_0x130191(0x155)]||[_0xcb9a53[_0x130191(0x15b)]],_0xcb9a53[_0x130191(0x101)](updateTestRerunConfig,_0x557b3e,_0x3ee232);const _0x1c6351=fs[_0x130191(0x180)](_0x3fe0c2),_0x125881=helper['resolveModule'](_0xcb9a53[_0x130191(0x17d)],_0xcb9a53[_0x130191(0x125)]);!_0x125881[_0x130191(0x107)]?fs[_0x130191(0xf4)](_0x557b3e[_0x130191(0x199)],_0x130191(0x19d)+_0x1c6351+_0x130191(0x1c2)+_0x3ee232[_0x130191(0x179)][_0x130191(0x144)]['length']+';\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[_0x130191(0xf4)](_0x557b3e[_0x130191(0x199)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1c6351+_0x130191(0x14f)+_0x3ee232[_0x130191(0x179)][_0x130191(0x144)][_0x130191(0xf6)]+_0x130191(0x12b));logger[_0x130191(0x1a4)](_0x130191(0x1b4)+_0x5918e7+_0x130191(0x171)),fs[_0x130191(0xf4)](_0x5918e7,_0x130191(0x15d)+JSON['stringify'](_0x557b3e)+_0x130191(0x1e8));if(_0x2e7119['isTestOrchestrationEnabled']()){logger[_0x130191(0x105)](_0xcb9a53[_0x130191(0x1a6)]);const _0x472efa=await _0x2e7119[_0x130191(0x169)](_0x557b3e,_0x344f5d['slice'](0x1),_0x5918e7);logger['debug'](_0x130191(0x15f)+JSON[_0x130191(0x118)](_0x472efa)+_0x130191(0xf1));const _0x46d145=await _0x2e7119['reorderTestFiles'](_0x472efa);logger[_0x130191(0x105)](_0x130191(0x176)+JSON[_0x130191(0x118)](_0x46d145)),_0x46d145&&_0xcb9a53['IAlgJ'](_0x46d145['length'],0x0)&&(process[_0x130191(0x1a0)]['JEST_TEST_ORDER']=_0x46d145?.['join'](','));}logger[_0x130191(0x1a4)](_0xcb9a53[_0x130191(0x197)]);testhubUtils[_0x130191(0x190)]()&&TestDetails[_0x130191(0x142)]();helper[_0x130191(0x103)]({},_0x344f5d),PerformanceTester[_0x130191(0x1b3)](PerformanceEvents['SDK_SETUP']);const _0x1a8dd5=[_0xcb9a53[_0x130191(0x1ca)],_0xcb9a53[_0x130191(0x100)],_0x5918e7,..._0x344f5d[_0x130191(0x13d)](0x1)];process[_0x130191(0x1a0)][_0x130191(0x1c3)]=process[_0x130191(0x1a0)][_0x130191(0x1c3)]||_0xcb9a53[_0x130191(0x1ca)];const _0x9d780f=_0xcb9a53['ZvarJ'](spawn,_0xcb9a53[_0x130191(0x192)],_0x1a8dd5,{'shell':_0xcb9a53[_0x130191(0x159)](process[_0x130191(0x1f0)],_0xcb9a53['kItWk']),'stdio':_0xcb9a53[_0x130191(0x104)],'env':Object[_0x130191(0x160)]({},process[_0x130191(0x1a0)])});_0x9d780f['on'](_0xcb9a53[_0x130191(0x15e)],async _0x569c0e=>{const _0x3efb63=_0x130191;PerformanceTester[_0x3efb63(0x141)](PerformanceEvents[_0x3efb63(0x1b7)]),process[_0x3efb63(0x129)]=_0x569c0e,logger['debug'](_0x3efb63(0x14d)+_0x569c0e),logger[_0x3efb63(0x1a4)](_0x3efb63(0x17b)+_0x5918e7);if(helper[_0x3efb63(0x185)](_0x43072e)&&helper[_0x3efb63(0x185)](_0x43072e['abortBuildOnFailure'])&&fs[_0x3efb63(0x122)](_0x43072e['abortBuildOnFailure'][_0x3efb63(0x1b8)]))try{const _0x4efb48={};_0x4efb48[_0x3efb63(0xf7)]=!![],_0x4efb48[_0x3efb63(0x1c9)]=!![],fs[_0x3efb63(0x11c)](_0x43072e[_0x3efb63(0x1d9)][_0x3efb63(0x1b8)],_0x4efb48),logger[_0x3efb63(0x105)](_0x3efb63(0x19a)+_0x43072e[_0x3efb63(0x1d9)]['workingDir']);}catch(_0x24d7c3){logger[_0x3efb63(0x107)](_0x3efb63(0x1a1)+_0x24d7c3);}let _0x5e23e8=null;if(fs[_0x3efb63(0x122)](_0x490ae8)){_0x5e23e8=fs[_0x3efb63(0x180)](_0x490ae8);try{_0x5e23e8=JSON[_0x3efb63(0x1b1)](_0x5e23e8);}catch(_0x288e70){logger[_0x3efb63(0x105)]('Error\x20while\x20parsing\x20'+_0x490ae8+',\x20'+_0x5e23e8+_0x3efb63(0x147)+_0x288e70);}fs[_0x3efb63(0x12d)](_0x490ae8);}fs[_0x3efb63(0x12d)](_0x5918e7),fs[_0x3efb63(0x12d)](_0x1c0782),_0x5e23e8&&(_0x3ee232['errorMessage']=helper[_0x3efb63(0x158)](_0x5e23e8,_0xcb9a53[_0x3efb63(0x1ca)],_0x3ee232));const _0x4f3a91=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x3efb63(0x115)]()[_0x3efb63(0x1c1)]();}catch(_0x435f44){console['log'](_0x435f44),_0xcb9a53[_0x3efb63(0xea)](debug,_0x3efb63(0xed)+util[_0x3efb63(0x198)](_0x435f44));}testOpsHelper[_0x3efb63(0x18f)](),TestDetails[_0x3efb63(0x19b)](),await utilities[_0x3efb63(0x124)](_0x3ee232,_0x4f3a91);});}module[a21_0x2da262(0x11f)]=run;
@@ -1 +1 @@
1
- const a22_0x1747ae=a22_0x5871;(function(_0x52bf8b,_0xa0f9ef){const _0x40ae69=a22_0x5871,_0x2c6550=_0x52bf8b();while(!![]){try{const _0x583a94=-parseInt(_0x40ae69(0x9b))/0x1*(-parseInt(_0x40ae69(0xa4))/0x2)+-parseInt(_0x40ae69(0xa9))/0x3*(parseInt(_0x40ae69(0x98))/0x4)+-parseInt(_0x40ae69(0x99))/0x5+-parseInt(_0x40ae69(0xb1))/0x6*(-parseInt(_0x40ae69(0x9c))/0x7)+parseInt(_0x40ae69(0xab))/0x8*(parseInt(_0x40ae69(0xaa))/0x9)+parseInt(_0x40ae69(0xa6))/0xa+-parseInt(_0x40ae69(0xac))/0xb*(parseInt(_0x40ae69(0xae))/0xc);if(_0x583a94===_0xa0f9ef)break;else _0x2c6550['push'](_0x2c6550['shift']());}catch(_0x15e3cb){_0x2c6550['push'](_0x2c6550['shift']());}}}(a22_0x212e,0x2719a));function a22_0x5871(_0x4e8979,_0x58610c){const _0x212e73=a22_0x212e();return a22_0x5871=function(_0x587126,_0x123049){_0x587126=_0x587126-0x98;let _0x1ec5a8=_0x212e73[_0x587126];return _0x1ec5a8;},a22_0x5871(_0x4e8979,_0x58610c);}const path=require('path'),{requireModule}=require(a22_0x1747ae(0x9f));let initJestAdapter;function a22_0x212e(){const _0x3aea00=['1089LSyPqr','jest-circus/build/runner.js','31704fSISML','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','default','1542XgzALt','213748EJSUPb','582070RflMgs','includes','26550FrDLNz','2933PKXAUE','jest-circus','OTqcd','../../../helpers/helper','exports','eokCP','jestAdapterInit','requireInternalModule','12oowjNa','customJestAdapterInit.js','2928370HQSgEs','srbvK','initRequireModule','3fqeBmP','27dzPCej','84648vLKKFr'];a22_0x212e=function(){return _0x3aea00;};return a22_0x212e();}try{initJestAdapter=requireModule(a22_0x1747ae(0xaf),'jest-circus');}catch{initJestAdapter=requireModule(a22_0x1747ae(0xad),a22_0x1747ae(0x9d));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a22_0x1747ae(0xb0)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a22_0x1747ae(0xa5));module[a22_0x1747ae(0xa0)]=(..._0x2dc2ce)=>{const _0x22c5fd=a22_0x1747ae,_0x4b7237={'OTqcd':_0x22c5fd(0xa2),'eokCP':function(_0x4df104,_0x5bedd0){return _0x4df104===_0x5bedd0;},'srbvK':function(_0x4773db,..._0x440024){return _0x4773db(..._0x440024);}};return _0x2dc2ce[0x3][_0x22c5fd(0xa8)]=_0x2dc2ce[0x3][_0x22c5fd(0xa3)],_0x2dc2ce[0x3][_0x22c5fd(0xa3)]=(..._0x419254)=>{const _0x34baed=_0x22c5fd;if(_0x419254[0x0]&&_0x419254[0x0][_0x34baed(0x9a)](_0x4b7237[_0x34baed(0x9e)])&&_0x4b7237[_0x34baed(0xa1)](_0x419254[0x1],undefined))return _0x2dc2ce[0x3][_0x34baed(0xa8)](FRAMEWORK_INITIALIZER);return _0x2dc2ce[0x3]['initRequireModule'](..._0x419254);},_0x4b7237[_0x22c5fd(0xa7)](initJestAdapter,..._0x2dc2ce);};
1
+ function a22_0x4ae0(){const _0xd1738e=['21203870WDFCQA','1122pfvrIF','exports','function','jest-circus/build/runner.js','1140240ltjRGZ','4802518KJwRwj','customJestAdapterInit.js','../../../helpers/helper','jest-circus','path','4276BDqnUD','3740544xzOQtr','751888joekjI','9XGbLoR','301986ZrEyEL','lItNb','hDxCz','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','initRequireModule','20aSOcaB','includes','join','eYXIj'];a22_0x4ae0=function(){return _0xd1738e;};return a22_0x4ae0();}const a22_0x41940c=a22_0x4d59;(function(_0x47ca25,_0x16f484){const _0x5b8885=a22_0x4d59,_0x2c749e=_0x47ca25();while(!![]){try{const _0x418c6e=-parseInt(_0x5b8885(0x1ca))/0x1+-parseInt(_0x5b8885(0x1cc))/0x2+parseInt(_0x5b8885(0x1be))/0x3*(-parseInt(_0x5b8885(0x1c8))/0x4)+-parseInt(_0x5b8885(0x1b9))/0x5*(-parseInt(_0x5b8885(0x1c2))/0x6)+-parseInt(_0x5b8885(0x1c3))/0x7+-parseInt(_0x5b8885(0x1c9))/0x8+parseInt(_0x5b8885(0x1cb))/0x9*(parseInt(_0x5b8885(0x1bd))/0xa);if(_0x418c6e===_0x16f484)break;else _0x2c749e['push'](_0x2c749e['shift']());}catch(_0x52b5e3){_0x2c749e['push'](_0x2c749e['shift']());}}}(a22_0x4ae0,0x6791a));const path=require(a22_0x41940c(0x1c7)),{requireModule}=require(a22_0x41940c(0x1c5));function a22_0x4d59(_0x2af06c,_0x30e9a1){const _0x4ae0ab=a22_0x4ae0();return a22_0x4d59=function(_0x4d593c,_0x370b01){_0x4d593c=_0x4d593c-0x1b7;let _0x4b340b=_0x4ae0ab[_0x4d593c];return _0x4b340b;},a22_0x4d59(_0x2af06c,_0x30e9a1);}let initJestAdapter;try{initJestAdapter=requireModule(a22_0x41940c(0x1b7),a22_0x41940c(0x1c6));}catch{initJestAdapter=requireModule(a22_0x41940c(0x1c1),'jest-circus');}initJestAdapter=typeof initJestAdapter===a22_0x41940c(0x1c0)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x41940c(0x1bb)](__dirname,a22_0x41940c(0x1c4));module[a22_0x41940c(0x1bf)]=(..._0x1369f4)=>{const _0x268c3c=a22_0x41940c,_0x9086f9={'lItNb':'jestAdapterInit','eYXIj':function(_0x1df4b3,_0x5ab3b7){return _0x1df4b3===_0x5ab3b7;},'hDxCz':function(_0x4cfcec,..._0x123a61){return _0x4cfcec(..._0x123a61);}};return _0x1369f4[0x3][_0x268c3c(0x1b8)]=_0x1369f4[0x3]['requireInternalModule'],_0x1369f4[0x3]['requireInternalModule']=(..._0x1bc630)=>{const _0x12f78b=_0x268c3c;if(_0x1bc630[0x0]&&_0x1bc630[0x0][_0x12f78b(0x1ba)](_0x9086f9[_0x12f78b(0x1cd)])&&_0x9086f9[_0x12f78b(0x1bc)](_0x1bc630[0x1],undefined))return _0x1369f4[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x1369f4[0x3]['initRequireModule'](..._0x1bc630);},_0x9086f9[_0x268c3c(0x1ce)](initJestAdapter,..._0x1369f4);};