browserstack-node-sdk 1.68.2 → 1.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) 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/generated/sdk-messages_pb.d.ts +172 -0
  41. package/generated/sdk-messages_pb.js +1334 -0
  42. package/generated/sdk_grpc_pb.d.ts +10 -0
  43. package/generated/sdk_grpc_pb.js +69 -0
  44. package/package.json +5 -1
  45. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  46. package/src/bin/codeceptjs/command.js +1 -1
  47. package/src/bin/codeceptjs/helper.js +1 -1
  48. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  49. package/src/bin/cucumber-js/command.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  52. package/src/bin/cucumber-js/test-observability.js +1 -1
  53. package/src/bin/cucumber-js/test.setup.js +1 -1
  54. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  55. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  56. package/src/bin/detox/a11ySetup.js +1 -1
  57. package/src/bin/detox/command.js +1 -1
  58. package/src/bin/detox/modifyDetoxConf.js +1 -1
  59. package/src/bin/detox/traEmitter.js +1 -1
  60. package/src/bin/integrations/command.js +1 -1
  61. package/src/bin/integrations/constants.js +1 -1
  62. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/jasmine/command.js +1 -1
  64. package/src/bin/jasmine/test.setup.js +1 -1
  65. package/src/bin/jasmine/testRunMap.js +1 -1
  66. package/src/bin/jest/command.js +1 -1
  67. package/src/bin/jest/customImplements/customCircus.js +1 -1
  68. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  69. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  70. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  71. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  72. package/src/bin/jest/jest.setup.js +1 -1
  73. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  74. package/src/bin/jest/test-observability/helper.js +1 -1
  75. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  76. package/src/bin/jest/test-observability/test-details.js +1 -1
  77. package/src/bin/jest/test.setup.js +1 -1
  78. package/src/bin/jest/test_before.setup.js +1 -1
  79. package/src/bin/launcher/launcher.js +1 -1
  80. package/src/bin/load/index.js +1 -1
  81. package/src/bin/load/loadErrors.js +1 -1
  82. package/src/bin/load/loadUtils.js +1 -1
  83. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  84. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  85. package/src/bin/mocha/command.js +1 -1
  86. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  87. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  88. package/src/bin/mocha/test.setup.js +1 -1
  89. package/src/bin/newman/command.js +1 -1
  90. package/src/bin/newman/helper.js +1 -1
  91. package/src/bin/newman/reporter/index.js +1 -1
  92. package/src/bin/newman/scriptRunner.js +1 -1
  93. package/src/bin/nightwatch/command.js +1 -1
  94. package/src/bin/node-generic/client.js +1 -1
  95. package/src/bin/playwright/accessibility-helper.js +1 -1
  96. package/src/bin/playwright/command.js +1 -1
  97. package/src/bin/playwright/globalSetup.js +1 -1
  98. package/src/bin/playwright/mock-process.js +1 -1
  99. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  100. package/src/bin/playwright/patches.js +1 -1
  101. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  102. package/src/bin/playwright/reporter/reporter.js +1 -1
  103. package/src/bin/playwright/reporter/test-details.js +1 -1
  104. package/src/bin/playwright/reporterArgs.js +1 -1
  105. package/src/bin/playwright/sessionDetails.js +1 -1
  106. package/src/bin/puppeteer/patches.js +1 -1
  107. package/src/bin/puppeteer/sessionDetails.js +1 -1
  108. package/src/bin/puppeteer/test.setup.js +1 -1
  109. package/src/bin/runner.js +1 -1
  110. package/src/bin/setup.js +1 -1
  111. package/src/bin/test-runner/index.js +1 -1
  112. package/src/bin/test-runner/runTest.js +1 -1
  113. package/src/bin/test-runner/testWorker.js +1 -1
  114. package/src/bin/testcafe/a11y-runner.js +1 -1
  115. package/src/bin/testcafe/command.js +1 -1
  116. package/src/bin/testcafe/reporter/index.js +1 -1
  117. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  118. package/src/bin/testcafe/session-registry.js +1 -1
  119. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  120. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  121. package/src/bin/testcafe/w3c-driver.js +1 -1
  122. package/src/bin/utils/apiUtilityMethods.js +1 -1
  123. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  124. package/src/bin/utils/constants.js +1 -1
  125. package/src/bin/utils/log4jsAppender.js +1 -1
  126. package/src/bin/utils/logPatcher.js +1 -1
  127. package/src/bin/utils/logReportingAPI.js +1 -1
  128. package/src/bin/utils/playwright-patcher.js +1 -1
  129. package/src/bin/utils/puppeteer-patcher.js +1 -1
  130. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  131. package/src/bin/utils/sharedUtils.js +1 -1
  132. package/src/bin/v2/TestInfo.js +1 -1
  133. package/src/bin/v2/browserstackCLI.js +1 -1
  134. package/src/bin/v2/cliUtils.js +1 -1
  135. package/src/bin/v2/customTagManager.js +1 -1
  136. package/src/bin/v2/eventDispatcher.js +1 -1
  137. package/src/bin/v2/framework/automationFramework.js +1 -1
  138. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  139. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  140. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  141. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  142. package/src/bin/v2/framework/mochaTestFramework.js +1 -0
  143. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  144. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  145. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  146. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  147. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  148. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -0
  149. package/src/bin/v2/framework/testFramework.js +1 -1
  150. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  151. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  152. package/src/bin/v2/grpcClient.js +1 -1
  153. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  154. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  155. package/src/bin/v2/instances/trackedContext.js +1 -1
  156. package/src/bin/v2/instances/trackedInstance.js +1 -1
  157. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  158. package/src/bin/v2/modules/baseModule.js +1 -1
  159. package/src/bin/v2/modules/loadTestModule.js +1 -1
  160. package/src/bin/v2/modules/observabilityModule.js +1 -1
  161. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  162. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  163. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  164. package/src/bin/v2/modules/testhubModule.js +1 -1
  165. package/src/bin/v2/runStateStore.js +1 -0
  166. package/src/bin/v2/sdkErrorHandler.js +1 -1
  167. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  168. package/src/bin/v2/state/hookState.js +1 -1
  169. package/src/bin/v2/state/testFrameworkState.js +1 -1
  170. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  171. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  172. package/src/bin/v2/utils/jest-utils.js +1 -1
  173. package/src/bin/vanilla-js/command.js +1 -1
  174. package/src/browserStackSdk.js +1 -1
  175. package/src/helpers/BrowserStackSetup.js +1 -1
  176. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  177. package/src/helpers/accessibility-automation/constants.js +1 -1
  178. package/src/helpers/accessibility-automation/helper.js +1 -1
  179. package/src/helpers/accessibility-automation/scripts.js +1 -1
  180. package/src/helpers/ats/constants.js +1 -1
  181. package/src/helpers/ats/helper.js +1 -1
  182. package/src/helpers/caCertHelper.js +1 -1
  183. package/src/helpers/capsMapping.js +1 -1
  184. package/src/helpers/central-scanner/constants.js +1 -1
  185. package/src/helpers/central-scanner/helpers.js +1 -1
  186. package/src/helpers/classLogger.js +1 -1
  187. package/src/helpers/driverInitErrorReporter.js +1 -1
  188. package/src/helpers/globals.js +1 -1
  189. package/src/helpers/helper.js +1 -1
  190. package/src/helpers/logger.js +1 -1
  191. package/src/helpers/metadata.js +1 -1
  192. package/src/helpers/patchHelper.js +1 -1
  193. package/src/helpers/patchHelpers.js +1 -1
  194. package/src/helpers/percy/Percy.js +1 -1
  195. package/src/helpers/percy/PercyBinary.js +1 -1
  196. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  197. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  198. package/src/helpers/percy/PercySDK.js +1 -1
  199. package/src/helpers/percy/index.js +1 -1
  200. package/src/helpers/percy/utils.js +1 -1
  201. package/src/helpers/performance/constants.js +1 -1
  202. package/src/helpers/performance/performance-tester.js +1 -1
  203. package/src/helpers/playwright-helper.js +1 -1
  204. package/src/helpers/processHelper.js +1 -1
  205. package/src/helpers/puppeteer-helper.js +1 -1
  206. package/src/helpers/request-spy.js +1 -1
  207. package/src/helpers/setKeepAlive.js +1 -1
  208. package/src/helpers/stackFrameUtils.js +1 -1
  209. package/src/helpers/test-observability/constants.js +1 -1
  210. package/src/helpers/test-observability/error-handler.js +1 -1
  211. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  212. package/src/helpers/test-observability/sessionHandler.js +1 -1
  213. package/src/helpers/test-observability/utils.js +1 -1
  214. package/src/helpers/test-orchestration/constants.js +1 -1
  215. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  216. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  217. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  218. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  219. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  220. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  221. package/src/helpers/testhub/constants.js +1 -1
  222. package/src/helpers/testhub/testhubHandler.js +1 -1
  223. package/src/helpers/testhub/utils.js +1 -1
  224. package/src/helpers/utilities.js +1 -1
  225. package/src/helpers/w3cMapping.js +1 -1
  226. package/src/hubAllocationMethods.js +1 -1
  227. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';function a17_0x49b7(){const _0x56177d=['sQamu','javascript','uqQWm','startsWith','prefixTestPath','DzdeR','jnosR','XXxnI','YQeYI','keys','CLiEI','config','../../../helpers/test-observability/sessionHandler','Tjtxo','XqFUj','Jasmine','code','join','ftOfY','failure','fMdBd','xrEbW','cHXph','SMciI','ycQTq','TBeKm','match','reverse','pending','_paths','mKvIE','../../../helpers/test-observability/constants','set','passed','LyIFw','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','MKJhS','AssertionError','status','UqaYw','ORQmN','_fileNameByFullName','1271210VAgQHZ','_scopes','_collapseFailedExpectations','finished_at','JruFY','Spec\x20failed','_findGitConfig','519104tlhmMP','Yuegz','jasmineDone','_resolveFilePath','split','endsWith','shouldProcessEventForTesthub','get','GQNZE','lang','NdAlU','fNVgP','exports','fullName','duration','jasmineStarted','toISOString','matcherName','delete','suiteDone','NGsCN','224nMSoam','raLmr','trim','TestRunFinished','failure_reason_expanded','../../../helpers/testhub/utils','setCurrentTestData','slice','CsROP','File\x20path\x20could\x20not\x20be\x20found','511TEHBwM','_suitesById','86cqTdMm','isArray','SPlLf','23970kuvXhI','path','suiteStarted','parentSuiteId','HRUfo','TestRunSkipped','excluded','jdaxX','kEGfS','Exception\x20in\x20jasmine\x20specDone\x20for\x20','stack','expanded','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','sep','appendTesthubParams','dirname','add','filename','number','dzQXh','length','cPcFy','dWdba','CxGuo','687TzAvPh','skipped','actual','specDone','failure_backtrace','\x20:\x20','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','raDzu','17450IWRfuV','expected','TWCrm','LubWf','1616571juwAvm','WyupC','154092mKncXr','piQMC','backtrace','xJVQI','qAlmj','../../../helpers/test-observability/utils','../testRunMap','Obphx','description','_sendSpecEvent','duUpr','message','JASMINE','started_at','uuid','push','NvCQN','TestRunStarted'];a17_0x49b7=function(){return _0x56177d;};return a17_0x49b7();}const a17_0x182341=a17_0x2ffa;function a17_0x2ffa(_0x139433,_0x2e0c64){const _0x49b771=a17_0x49b7();return a17_0x2ffa=function(_0x2ffa49,_0x170a40){_0x2ffa49=_0x2ffa49-0xdb;let _0x3d4fb2=_0x49b771[_0x2ffa49];return _0x3d4fb2;},a17_0x2ffa(_0x139433,_0x2e0c64);}(function(_0x5d00f5,_0x176137){const _0x2bf27c=a17_0x2ffa,_0x2fb58e=_0x5d00f5();while(!![]){try{const _0x58d8cb=-parseInt(_0x2bf27c(0x13c))/0x1+parseInt(_0x2bf27c(0x113))/0x2*(-parseInt(_0x2bf27c(0x12e))/0x3)+parseInt(_0x2bf27c(0x107))/0x4*(-parseInt(_0x2bf27c(0x136))/0x5)+parseInt(_0x2bf27c(0x116))/0x6*(parseInt(_0x2bf27c(0x111))/0x7)+-parseInt(_0x2bf27c(0xf2))/0x8+parseInt(_0x2bf27c(0x13a))/0x9+parseInt(_0x2bf27c(0xeb))/0xa;if(_0x58d8cb===_0x176137)break;else _0x2fb58e['push'](_0x2fb58e['shift']());}catch(_0x53bd2c){_0x2fb58e['push'](_0x2fb58e['shift']());}}}(a17_0x49b7,0x2a81c));const path=require(a17_0x182341(0x117)),fs=require('fs'),{v4:uuidv4}=require(a17_0x182341(0x14a)),testhubUtils=require(a17_0x182341(0x10c)),{FRAMEWORKS}=require(a17_0x182341(0xe0)),SessionHandler=require(a17_0x182341(0x15a)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x182341(0x141)),testRunMap=require(a17_0x182341(0x142)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x182341(0x15d),a17_0x3cd059={};a17_0x3cd059[a17_0x182341(0xe2)]=a17_0x182341(0xe2),a17_0x3cd059['failed']='failed',a17_0x3cd059['pending']=a17_0x182341(0xdd),a17_0x3cd059[a17_0x182341(0x11c)]=a17_0x182341(0x12f);const STATUS_MAP=a17_0x3cd059;class BrowserStackJasmineReporter{constructor(_0x246c04={}){const _0x4b0d13=a17_0x182341,_0x100c12={'UqaYw':function(_0xfa3878){return _0xfa3878();}};this['testObservability']=_0x100c12[_0x4b0d13(0xe8)](isTestObservabilitySession),this[_0x4b0d13(0xde)]=new PathHelper({'cwd':process['cwd']()},undefined),this['_fileNameByFullName']=_0x246c04&&_0x246c04['fileNameByFullName']||{},this[_0x4b0d13(0x112)]=new Map();}[a17_0x182341(0x101)](){}[a17_0x182341(0x118)](_0x26a692){const _0x9a0a27=a17_0x182341,_0x328047={'RArxb':function(_0x247562,_0xd0194){return _0x247562!==_0xd0194;},'OZiRS':function(_0x546a07,_0x3bffb5){return _0x546a07!==_0x3bffb5;},'LyIFw':function(_0x4c9539,_0x113f2a){return _0x4c9539(_0x113f2a);}};try{_0x26a692&&_0x328047['RArxb'](_0x26a692['id'],undefined)&&_0x328047['OZiRS'](_0x26a692['id'],null)&&this[_0x9a0a27(0x112)][_0x9a0a27(0xe1)](_0x26a692['id'],{'description':_0x26a692[_0x9a0a27(0x144)],'parentSuiteId':_0x26a692[_0x9a0a27(0x119)]});}catch(_0x2dadf8){_0x328047[_0x9a0a27(0xe3)](debug,_0x9a0a27(0x122)+(_0x26a692&&_0x26a692[_0x9a0a27(0xff)])+'\x20:\x20'+_0x2dadf8);}}['specStarted'](_0x23451a){const _0x42a7d9=a17_0x182341,_0x5a8f41={'TqiuC':function(_0x5f0208,_0x486dfb){return _0x5f0208!==_0x486dfb;},'TBeKm':function(_0x2d092c){return _0x2d092c();},'fMdBd':'TestRunStarted','mKvIE':function(_0x52f386,_0x12d3b6){return _0x52f386(_0x12d3b6);}};try{if(_0x5a8f41['TqiuC'](testhubUtils[_0x42a7d9(0xf8)](),!![]))return;const _0x4bf89d=_0x5a8f41[_0x42a7d9(0x167)](uuidv4);testRunMap[_0x42a7d9(0xe1)](_0x23451a['id'],_0x4bf89d),this[_0x42a7d9(0x145)](_0x23451a,_0x4bf89d,_0x5a8f41[_0x42a7d9(0x162)]);}catch(_0x57eef0){_0x5a8f41[_0x42a7d9(0xdf)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x23451a&&_0x23451a[_0x42a7d9(0xff)])+_0x42a7d9(0x133)+_0x57eef0);}}[a17_0x182341(0x131)](_0x32b821){const _0x2ba5e2=a17_0x182341,_0x570eef={'Qudkq':function(_0x556687,_0x3a02ae){return _0x556687!==_0x3a02ae;},'qAlmj':function(_0x2ed403){return _0x2ed403();},'DVhSP':function(_0x4cd814,_0x375b2e){return _0x4cd814===_0x375b2e;},'NGsCN':_0x2ba5e2(0x11c),'skrDi':'TestRunSkipped','raLmr':'TestRunFinished','YQeYI':function(_0x3e10fd,_0x1f6c80){return _0x3e10fd(_0x1f6c80);}};try{if(_0x570eef['Qudkq'](testhubUtils[_0x2ba5e2(0xf8)](),!![]))return;const _0x228d0d=testRunMap[_0x2ba5e2(0xf9)](_0x32b821['id'])||_0x570eef[_0x2ba5e2(0x140)](uuidv4),_0x502b98=_0x570eef['DVhSP'](_0x32b821[_0x2ba5e2(0xe7)],_0x570eef[_0x2ba5e2(0x106)])?_0x570eef['skrDi']:_0x570eef[_0x2ba5e2(0x108)];this[_0x2ba5e2(0x145)](_0x32b821,_0x228d0d,_0x502b98);}catch(_0x5a974b){_0x570eef[_0x2ba5e2(0x156)](debug,_0x2ba5e2(0x11f)+(_0x32b821&&_0x32b821[_0x2ba5e2(0xff)])+'\x20:\x20'+_0x5a974b);}finally{_0x32b821&&(testRunMap['remove'](_0x32b821['id']),_specStartTimes[_0x2ba5e2(0x104)](_0x32b821['id']));}}[a17_0x182341(0x105)](){}[a17_0x182341(0xf4)](){}[a17_0x182341(0x145)](_0x5bfc56,_0x5e6daa,_0x3069e6){const _0x50dda9=a17_0x182341,_0x245f47={'CsROP':function(_0x2193f9,_0x3a3004){return _0x2193f9===_0x3a3004;},'kEGfS':_0x50dda9(0x10a),'dWdba':function(_0x55ad99,_0x593b63){return _0x55ad99===_0x593b63;},'cHXph':_0x50dda9(0x11b),'xrEbW':_0x50dda9(0x110),'XqFUj':function(_0x4e5f2a,_0x3c0744,_0x566fe9){return _0x4e5f2a(_0x3c0744,_0x566fe9);},'TWCrm':'err','ycQTq':function(_0x17d646,_0x57d6b2){return _0x17d646===_0x57d6b2;},'DzdeR':_0x50dda9(0x14d),'cPcFy':function(_0x40a738,_0x1f0e19){return _0x40a738!==_0x1f0e19;},'piQMC':function(_0x170b5a,_0x6d789f){return _0x170b5a===_0x6d789f;},'JruFY':_0x50dda9(0x14f),'SMciI':function(_0x221270,_0x230610){return _0x221270&&_0x230610;},'Cjjis':function(_0x4b2210,_0x1fdf31){return _0x4b2210===_0x1fdf31;},'xJVQI':_0x50dda9(0x12f),'NdAlU':_0x50dda9(0xe2),'CxGuo':_0x50dda9(0x128),'raDzu':_0x50dda9(0xe6),'Obphx':'UnhandledError','fNVgP':_0x50dda9(0x149),'OZKSF':_0x50dda9(0xee),'XXxnI':_0x50dda9(0x161),'hQsEE':_0x50dda9(0x132),'HRUfo':_0x50dda9(0x13e),'duUpr':_0x50dda9(0x10b),'MdWPI':_0x50dda9(0x121),'ORQmN':function(_0x255363,_0x7f82ad){return _0x255363===_0x7f82ad;},'jnosR':function(_0x3706b7,_0xff4665){return _0x3706b7(_0xff4665);}};try{const _0x16bf3d=_0x245f47[_0x50dda9(0x10f)](_0x3069e6,_0x245f47[_0x50dda9(0x11e)])||_0x245f47[_0x50dda9(0x12c)](_0x3069e6,_0x245f47['cHXph']),_0x47d0b3=this[_0x50dda9(0xf5)](_0x5bfc56),_0x50f247=_0x47d0b3?this['_paths'][_0x50dda9(0x152)](_0x47d0b3):_0x245f47[_0x50dda9(0x163)],_0x209f12=_0x47d0b3?this['_findGitConfig'](path[_0x50dda9(0x125)](_0x47d0b3)):null,_0x4b807c=this[_0x50dda9(0xed)](_0x5bfc56['failedExpectations']),_0xbd4f82=_0x4b807c?_0x4b807c[_0x50dda9(0x147)]:undefined,_0x3bae8a=_0x4b807c?_0x245f47[_0x50dda9(0x15c)](failureData,_0x4b807c,_0x245f47[_0x50dda9(0x138)]):[],_0x22e065=new Date()[_0x50dda9(0x102)](),_0x226f19=this[_0x50dda9(0xec)](_0x5bfc56);_0x245f47[_0x50dda9(0x166)](_0x3069e6,_0x245f47[_0x50dda9(0x153)])&&_0x5bfc56&&_0x245f47[_0x50dda9(0x12b)](_0x5bfc56['id'],undefined)&&_0x245f47[_0x50dda9(0x12b)](_0x5bfc56['id'],null)&&_specStartTimes[_0x50dda9(0xe1)](_0x5bfc56['id'],_0x22e065);const _0x21dab8=_0x245f47[_0x50dda9(0x13d)](_0x3069e6,_0x245f47[_0x50dda9(0x153)])?_0x22e065:_0x5bfc56&&_specStartTimes['get'](_0x5bfc56['id'])||null,_0x4bcca7={};_0x4bcca7[_0x50dda9(0xfb)]=_0x245f47[_0x50dda9(0xef)],_0x4bcca7[_0x50dda9(0x15e)]=null;const _0x2a055e={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x5e6daa,'name':_0x5bfc56[_0x50dda9(0x144)],'body':_0x4bcca7,'scope':_0x226f19[_0x50dda9(0x15f)]('\x20'),'scopes':_0x226f19,'identifier':_0x5bfc56[_0x50dda9(0xff)],'file_name':_0x50f247,'vc_filepath':_0x245f47[_0x50dda9(0x165)](_0x209f12,_0x47d0b3)?path['relative'](_0x209f12,_0x47d0b3):null,'location':_0x50f247,'result':_0x245f47['Cjjis'](_0x3069e6,_0x245f47[_0x50dda9(0x164)])?_0x245f47[_0x50dda9(0x13f)]:STATUS_MAP[_0x5bfc56[_0x50dda9(0xe7)]]||_0x245f47[_0x50dda9(0xfc)],'failure_reason':_0xbd4f82,'duration_in_ms':_0x245f47['ycQTq'](typeof _0x5bfc56[_0x50dda9(0x100)],_0x245f47[_0x50dda9(0x12d)])?_0x5bfc56[_0x50dda9(0x100)]:null,'started_at':_0x21dab8,'finished_at':_0x16bf3d?_0x22e065:null,'failure':_0x3bae8a,'failure_type':!_0xbd4f82?null:_0xbd4f82[_0x50dda9(0xdb)](/AssertionError/)?_0x245f47[_0x50dda9(0x135)]:_0x245f47[_0x50dda9(0x143)],'retry_of':null};_0x245f47['CsROP'](_0x3069e6,_0x245f47[_0x50dda9(0x164)])&&!_0x2a055e[_0x245f47[_0x50dda9(0xfd)]]&&(_0x2a055e[_0x245f47[_0x50dda9(0xfd)]]=_0x2a055e[_0x245f47['OZKSF']]);const _0x14867c=_0x2a055e[_0x245f47[_0x50dda9(0x155)]][0x0];_0x14867c&&(_0x2a055e[_0x245f47['hQsEE']]=_0x14867c[_0x245f47[_0x50dda9(0x11a)]],_0x2a055e[_0x245f47[_0x50dda9(0x146)]]=_0x14867c[_0x245f47['MdWPI']]);testhubUtils[_0x50dda9(0x124)](_0x2a055e,_0x3069e6,_0x5bfc56,FRAMEWORKS[_0x50dda9(0x148)]);const _0x2c47eb={'event_type':_0x245f47[_0x50dda9(0xe9)](_0x3069e6,_0x245f47['cHXph'])?_0x245f47['kEGfS']:_0x3069e6,'test_run':_0x2a055e};return testhubUtils[_0x50dda9(0x10d)](FRAMEWORKS[_0x50dda9(0x148)],_0x2c47eb),SessionHandler['uploadEventData'](_0x2c47eb);}catch(_0x5ed567){_0x245f47[_0x50dda9(0x154)](debug,_0x50dda9(0xe4)+_0x3069e6+'\x20:\x20'+_0x5ed567);}}[a17_0x182341(0xec)](_0x15fb50){const _0x17600c=a17_0x182341,_0x286b86={'Yuegz':function(_0x54300d,_0x2bb883){return _0x54300d!==_0x2bb883;},'ftOfY':function(_0x53c328,_0x36a28c){return _0x53c328!==_0x36a28c;},'eBXHz':function(_0x6d6c88,_0xcb38c4){return _0x6d6c88>_0xcb38c4;},'SPlLf':function(_0x512230,_0x486315){return _0x512230(_0x486315);},'LubWf':function(_0xe6bbbb,_0x1378e8){return _0xe6bbbb-_0x1378e8;}};try{const _0xc79e99=[];let _0x1e9c10=_0x15fb50&&_0x15fb50['parentSuiteId'];const _0x463a3a=new Set();while(_0x286b86[_0x17600c(0xf3)](_0x1e9c10,undefined)&&_0x286b86[_0x17600c(0x160)](_0x1e9c10,null)&&this[_0x17600c(0x112)]['has'](_0x1e9c10)&&!_0x463a3a['has'](_0x1e9c10)){_0x463a3a[_0x17600c(0x126)](_0x1e9c10);const _0x565ba4=this[_0x17600c(0x112)][_0x17600c(0xf9)](_0x1e9c10);_0x565ba4&&_0x565ba4[_0x17600c(0x144)]&&_0xc79e99[_0x17600c(0x14b)](_0x565ba4[_0x17600c(0x144)]),_0x1e9c10=_0x565ba4?_0x565ba4[_0x17600c(0x119)]:null;}if(_0x286b86['eBXHz'](_0xc79e99['length'],0x0))return _0xc79e99[_0x17600c(0xdc)]();}catch(_0x555bdb){_0x286b86[_0x17600c(0x115)](debug,_0x17600c(0x134)+(_0x15fb50&&_0x15fb50['fullName'])+_0x17600c(0x133)+_0x555bdb);}const _0x7d6c42=_0x15fb50&&_0x15fb50[_0x17600c(0xff)]||'',_0x20e513=_0x15fb50&&_0x15fb50[_0x17600c(0x144)]||'';let _0x7c9e=_0x7d6c42;return _0x20e513&&_0x7d6c42[_0x17600c(0xf7)](_0x20e513)&&(_0x7c9e=_0x7d6c42[_0x17600c(0x10e)](0x0,_0x286b86[_0x17600c(0x139)](_0x7d6c42[_0x17600c(0x12a)],_0x20e513[_0x17600c(0x12a)]))[_0x17600c(0x109)]()),_0x7c9e?_0x7c9e[_0x17600c(0xf6)](/\s+/):[];}[a17_0x182341(0xf5)](_0x2b505c){const _0x40f813=a17_0x182341,_0x5a82c2={};_0x5a82c2[_0x40f813(0x14e)]=function(_0x357592,_0x595c85){return _0x357592===_0x595c85;},_0x5a82c2[_0x40f813(0x158)]=function(_0x5e2256,_0x465784){return _0x5e2256+_0x465784;},_0x5a82c2['WyupC']=function(_0x589a2c,_0x5d26ef){return _0x589a2c>_0x5d26ef;};const _0x4c1145=_0x5a82c2;if(_0x2b505c&&_0x2b505c[_0x40f813(0x127)])return _0x2b505c[_0x40f813(0x127)];if(_0x2b505c&&_0x2b505c[_0x40f813(0xff)]){if(this['_fileNameByFullName'][_0x2b505c[_0x40f813(0xff)]])return this[_0x40f813(0xea)][_0x2b505c[_0x40f813(0xff)]];let _0x40525c=null,_0x2b1e58=-0x1;for(const _0x2a7cd0 of Object[_0x40f813(0x157)](this[_0x40f813(0xea)])){(_0x4c1145[_0x40f813(0x14e)](_0x2b505c[_0x40f813(0xff)],_0x2a7cd0)||_0x2b505c[_0x40f813(0xff)][_0x40f813(0x151)](_0x4c1145[_0x40f813(0x158)](_0x2a7cd0,'\x20')))&&_0x4c1145[_0x40f813(0x13b)](_0x2a7cd0['length'],_0x2b1e58)&&(_0x40525c=this[_0x40f813(0xea)][_0x2a7cd0],_0x2b1e58=_0x2a7cd0['length']);}if(_0x40525c)return _0x40525c;}return null;}[a17_0x182341(0xed)](_0x37e6f3){const _0x49f0c8=a17_0x182341,_0x5ad73a={};_0x5ad73a[_0x49f0c8(0xe5)]=function(_0x4fec10,_0x2ff8c3){return _0x4fec10===_0x2ff8c3;},_0x5ad73a[_0x49f0c8(0xfa)]=_0x49f0c8(0xf0);const _0xaab8d1=_0x5ad73a;if(!Array[_0x49f0c8(0x114)](_0x37e6f3)||_0xaab8d1[_0x49f0c8(0xe5)](_0x37e6f3[_0x49f0c8(0x12a)],0x0))return undefined;const _0x4b5481=[],_0x608803=[];for(const _0x4d65ca of _0x37e6f3){_0x4d65ca&&_0x4d65ca[_0x49f0c8(0x147)]&&_0x4b5481['push'](_0x4d65ca['message']),_0x4d65ca&&_0x4d65ca['stack']&&_0x608803[_0x49f0c8(0x14b)](_0x4d65ca[_0x49f0c8(0x120)]);}const _0x356d94=_0x37e6f3[0x0]||{},_0x2d78d4=_0x4b5481['join']('\x0a')||_0x356d94[_0x49f0c8(0x147)]||_0xaab8d1[_0x49f0c8(0xfa)],_0x55bd1d=_0x608803[_0x49f0c8(0x15f)]('\x0a\x0a')||_0x356d94[_0x49f0c8(0x120)]||_0x2d78d4,_0x59e99d={};return _0x59e99d[_0x49f0c8(0x147)]=_0x2d78d4,_0x59e99d[_0x49f0c8(0x120)]=_0x55bd1d,_0x59e99d[_0x49f0c8(0x103)]=_0x356d94['matcherName'],_0x59e99d['expected']=_0x356d94[_0x49f0c8(0x137)],_0x59e99d['actual']=_0x356d94[_0x49f0c8(0x130)],_0x59e99d;}[a17_0x182341(0xf1)](_0x4c9abf){const _0x1724cc=a17_0x182341,_0x38dc3e={};_0x38dc3e[_0x1724cc(0x14c)]=function(_0x26a2b5,_0x115261){return _0x26a2b5===_0x115261;},_0x38dc3e[_0x1724cc(0x150)]=function(_0x47baba,_0x170b34){return _0x47baba===_0x170b34;},_0x38dc3e[_0x1724cc(0x129)]=function(_0x3bb96c,_0x459891){return _0x3bb96c===_0x459891;},_0x38dc3e[_0x1724cc(0x11d)]='.git',_0x38dc3e[_0x1724cc(0x15b)]=_0x1724cc(0x159);const _0x5e1680=_0x38dc3e,_0x282d18=path[_0x1724cc(0x123)];if(_0x5e1680[_0x1724cc(0x14c)](_0x4c9abf,null)||_0x5e1680[_0x1724cc(0x150)](_0x4c9abf,'')||_0x5e1680[_0x1724cc(0x129)](_0x4c9abf,_0x282d18)||_0x5e1680[_0x1724cc(0x14c)](_0x4c9abf,path[_0x1724cc(0x125)](_0x4c9abf)))return null;try{return fs['statSync'](path['join'](_0x4c9abf,_0x5e1680[_0x1724cc(0x11d)],_0x5e1680[_0x1724cc(0x15b)])),_0x4c9abf;}catch(_0x5c7a1e){return this[_0x1724cc(0xf1)](path['dirname'](_0x4c9abf));}}}module[a17_0x182341(0xfe)]=BrowserStackJasmineReporter;
1
+ 'use strict';const a17_0x16c43c=a17_0x5eae;function a17_0x5eae(_0x505cba,_0x552361){const _0xa4abe9=a17_0xa4ab();return a17_0x5eae=function(_0x5eae73,_0x514bb5){_0x5eae73=_0x5eae73-0x136;let _0x30f05b=_0xa4abe9[_0x5eae73];return _0x30f05b;},a17_0x5eae(_0x505cba,_0x552361);}(function(_0x13988c,_0x3c50af){const _0x49c0fc=a17_0x5eae,_0x5b9b0b=_0x13988c();while(!![]){try{const _0x3e0fbc=-parseInt(_0x49c0fc(0x181))/0x1*(-parseInt(_0x49c0fc(0x179))/0x2)+parseInt(_0x49c0fc(0x1b3))/0x3*(parseInt(_0x49c0fc(0x1a9))/0x4)+parseInt(_0x49c0fc(0x1ae))/0x5*(-parseInt(_0x49c0fc(0x1b2))/0x6)+parseInt(_0x49c0fc(0x162))/0x7*(parseInt(_0x49c0fc(0x16d))/0x8)+parseInt(_0x49c0fc(0x154))/0x9*(-parseInt(_0x49c0fc(0x189))/0xa)+parseInt(_0x49c0fc(0x173))/0xb+-parseInt(_0x49c0fc(0x13f))/0xc*(parseInt(_0x49c0fc(0x159))/0xd);if(_0x3e0fbc===_0x3c50af)break;else _0x5b9b0b['push'](_0x5b9b0b['shift']());}catch(_0x3ca3bb){_0x5b9b0b['push'](_0x5b9b0b['shift']());}}}(a17_0xa4ab,0x3d59f));const path=require(a17_0x16c43c(0x144)),fs=require('fs'),{v4:uuidv4}=require(a17_0x16c43c(0x160)),testhubUtils=require(a17_0x16c43c(0x185)),{FRAMEWORKS}=require(a17_0x16c43c(0x161)),SessionHandler=require(a17_0x16c43c(0x17f)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x16c43c(0x16a)),testRunMap=require(a17_0x16c43c(0x147)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x16c43c(0x1bf),a17_0xd7ecf={};function a17_0xa4ab(){const _0x34c3e5=['description','DzAHj','isArray','AssertionError','EhRww','LbzUQ','split','fullName','684AzWdDY','ojetr','prefixTestPath','statSync','NFzrN','path','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','uJFDe','../testRunMap','rOoeT','jasmineStarted','FiGsj','wEbLW','rzAuc','toISOString','uehoJ','slice','jxJYR','length','message','Efgct','9Ylocep','expanded','push','cKUrL','config','189319YrPJuC','hjFOz','ITSxS','set','jasmineDone','yvsCq','SZaQo','uuid','../../../helpers/test-observability/constants','1645217XjNBiR','keys','setCurrentTestData','parentSuiteId','VxvRG','kjfkw','BMIQL','failed','../../../helpers/test-observability/utils','dirname','startsWith','16uTbhpc','remove','_suitesById','CsAKl','WTKcq','cXvit','2373679ahgAVk','add','\x20:\x20','suiteDone','backtrace','pqshF','916646eTyrbK','HrmKE','_resolveFilePath','_findGitConfig','gYJzS','pending','../../../helpers/test-observability/sessionHandler','Exception\x20in\x20jasmine\x20specDone\x20for\x20','1EGvnaU','PwWKI','_sendSpecEvent','EPAyg','../../../helpers/testhub/utils','shouldProcessEventForTesthub','delete','status','578660MAzBGG','testObservability','TestRunFinished','oiHjM','gZsFG','appendTesthubParams','exports','duration','err','iWcmU','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','Rjlqk','code','LiKNw','MxoZd','number','TestRunStarted','trim','UrcIv','expected','_collapseFailedExpectations','excluded','finished_at','lang','JASMINE','endsWith','get','stack','filename','MGuih','has','sOiVX','1155092fkoJEk','BodDD','BmDKn','passed','skipped','9725lxtDDX','bmSjp','QkiKb','_scopes','906TWiqrI','3KRxCXJ','TestRunSkipped','_fileNameByFullName','actual','specStarted','uvPLE','javascript','specDone','failure','File\x20path\x20could\x20not\x20be\x20found','pQSOY','join','Jasmine','cwd','IKlub','uploadEventData','sep','wmata'];a17_0xa4ab=function(){return _0x34c3e5;};return a17_0xa4ab();}a17_0xd7ecf[a17_0x16c43c(0x1ac)]=a17_0x16c43c(0x1ac),a17_0xd7ecf[a17_0x16c43c(0x169)]=a17_0x16c43c(0x169),a17_0xd7ecf[a17_0x16c43c(0x17e)]=a17_0x16c43c(0x17e),a17_0xd7ecf[a17_0x16c43c(0x19e)]=a17_0x16c43c(0x1ad);const STATUS_MAP=a17_0xd7ecf;class BrowserStackJasmineReporter{constructor(_0x5cb26e={}){const _0x15d4c2=a17_0x16c43c,_0x2a9bb0={'BmDKn':function(_0x403047){return _0x403047();}};this[_0x15d4c2(0x18a)]=_0x2a9bb0[_0x15d4c2(0x1ab)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x15d4c2(0x1c0)]()},undefined),this['_fileNameByFullName']=_0x5cb26e&&_0x5cb26e['fileNameByFullName']||{},this[_0x15d4c2(0x16f)]=new Map();}[a17_0x16c43c(0x149)](){}['suiteStarted'](_0x46cc54){const _0x259be3=a17_0x16c43c,_0x3eb5a3={'cXvit':function(_0x38c1a8,_0xc13d8b){return _0x38c1a8!==_0xc13d8b;},'oiHjM':function(_0x4781b5,_0x13b331){return _0x4781b5!==_0x13b331;},'nBWeK':function(_0x3ff844,_0x5da6ed){return _0x3ff844(_0x5da6ed);}};try{_0x46cc54&&_0x3eb5a3[_0x259be3(0x172)](_0x46cc54['id'],undefined)&&_0x3eb5a3[_0x259be3(0x18c)](_0x46cc54['id'],null)&&this['_suitesById'][_0x259be3(0x15c)](_0x46cc54['id'],{'description':_0x46cc54[_0x259be3(0x137)],'parentSuiteId':_0x46cc54[_0x259be3(0x165)]});}catch(_0x550ffc){_0x3eb5a3['nBWeK'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x46cc54&&_0x46cc54['fullName'])+_0x259be3(0x175)+_0x550ffc);}}[a17_0x16c43c(0x1b7)](_0x39f4a5){const _0x41f2e7=a17_0x16c43c,_0x20e6ac={'FiGsj':function(_0x25e6f3,_0x1c29b9){return _0x25e6f3!==_0x1c29b9;},'uehoJ':function(_0x449209){return _0x449209();},'wmata':_0x41f2e7(0x199),'gYJzS':function(_0x325f80,_0xacf69a){return _0x325f80(_0xacf69a);}};try{if(_0x20e6ac[_0x41f2e7(0x14a)](testhubUtils[_0x41f2e7(0x186)](),!![]))return;const _0x152e19=_0x20e6ac[_0x41f2e7(0x14e)](uuidv4);testRunMap[_0x41f2e7(0x15c)](_0x39f4a5['id'],_0x152e19),this[_0x41f2e7(0x183)](_0x39f4a5,_0x152e19,_0x20e6ac[_0x41f2e7(0x136)]);}catch(_0x11f205){_0x20e6ac[_0x41f2e7(0x17d)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x39f4a5&&_0x39f4a5[_0x41f2e7(0x13e)])+_0x41f2e7(0x175)+_0x11f205);}}[a17_0x16c43c(0x1ba)](_0x356e74){const _0x380f9e=a17_0x16c43c,_0x5cb65c={'tNCBC':function(_0x5c3edf,_0x4c8a4a){return _0x5c3edf!==_0x4c8a4a;},'sOiVX':function(_0x1a8a09){return _0x1a8a09();},'Rjlqk':function(_0x505120,_0x42aefe){return _0x505120===_0x42aefe;},'QkiKb':_0x380f9e(0x19e),'pqshF':_0x380f9e(0x1b4),'CsAKl':_0x380f9e(0x18b),'RheUe':function(_0x3c0a2e,_0x5bf211){return _0x3c0a2e(_0x5bf211);}};try{if(_0x5cb65c['tNCBC'](testhubUtils[_0x380f9e(0x186)](),!![]))return;const _0x41412f=testRunMap['get'](_0x356e74['id'])||_0x5cb65c[_0x380f9e(0x1a8)](uuidv4),_0x5a5b22=_0x5cb65c[_0x380f9e(0x194)](_0x356e74['status'],_0x5cb65c[_0x380f9e(0x1b0)])?_0x5cb65c[_0x380f9e(0x178)]:_0x5cb65c[_0x380f9e(0x170)];this['_sendSpecEvent'](_0x356e74,_0x41412f,_0x5a5b22);}catch(_0x50c04b){_0x5cb65c['RheUe'](debug,_0x380f9e(0x180)+(_0x356e74&&_0x356e74[_0x380f9e(0x13e)])+_0x380f9e(0x175)+_0x50c04b);}finally{_0x356e74&&(testRunMap[_0x380f9e(0x16e)](_0x356e74['id']),_specStartTimes[_0x380f9e(0x187)](_0x356e74['id']));}}[a17_0x16c43c(0x176)](){}[a17_0x16c43c(0x15d)](){}[a17_0x16c43c(0x183)](_0x523a68,_0x428f64,_0x58b787){const _0x49d9b2=a17_0x16c43c,_0x5b1b5b={'gZsFG':function(_0x3186e2,_0xdbd1c3){return _0x3186e2===_0xdbd1c3;},'WTKcq':'TestRunFinished','DzAHj':function(_0x13e976,_0x992f50){return _0x13e976===_0x992f50;},'LbzUQ':'TestRunSkipped','rpNNp':_0x49d9b2(0x1bc),'UrcIv':function(_0x1bbf80,_0x2ceeca,_0x51f2fd){return _0x1bbf80(_0x2ceeca,_0x51f2fd);},'JFrGE':_0x49d9b2(0x191),'hjFOz':function(_0x285c76,_0x240fcf){return _0x285c76===_0x240fcf;},'wEbLW':_0x49d9b2(0x199),'krMgH':function(_0x572258,_0x292091){return _0x572258!==_0x292091;},'UDGYU':function(_0x299205,_0x450d17){return _0x299205!==_0x450d17;},'IKlub':function(_0x59d4f2,_0x4a0856){return _0x59d4f2===_0x4a0856;},'ITSxS':_0x49d9b2(0x1b9),'Efgct':function(_0x35dea1,_0x17ac57){return _0x35dea1&&_0x17ac57;},'BqQhy':_0x49d9b2(0x1ad),'BodDD':_0x49d9b2(0x1ac),'EhRww':function(_0x58fd61,_0x58eb86){return _0x58fd61===_0x58eb86;},'rOoeT':_0x49d9b2(0x198),'AyZxw':_0x49d9b2(0x13a),'LiKNw':'UnhandledError','cKUrL':function(_0x13a8a7,_0x437399){return _0x13a8a7===_0x437399;},'uJFDe':'started_at','VxvRG':_0x49d9b2(0x19f),'jTPzI':_0x49d9b2(0x1bb),'MxoZd':'failure_backtrace','jxJYR':_0x49d9b2(0x177),'kiNmB':'failure_reason_expanded','HrmKE':_0x49d9b2(0x155),'pQSOY':function(_0x3753d6,_0xf1a2f4){return _0x3753d6===_0xf1a2f4;},'iWcmU':function(_0x1cfd33,_0x4af389){return _0x1cfd33(_0x4af389);}};try{const _0x515979=_0x5b1b5b[_0x49d9b2(0x18d)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x171)])||_0x5b1b5b[_0x49d9b2(0x138)](_0x58b787,_0x5b1b5b['LbzUQ']),_0x4aaa8d=this[_0x49d9b2(0x17b)](_0x523a68),_0x38d77a=_0x4aaa8d?this['_paths'][_0x49d9b2(0x141)](_0x4aaa8d):_0x5b1b5b['rpNNp'],_0x31f733=_0x4aaa8d?this[_0x49d9b2(0x17c)](path[_0x49d9b2(0x16b)](_0x4aaa8d)):null,_0x1a879a=this[_0x49d9b2(0x19d)](_0x523a68['failedExpectations']),_0x2cbbbd=_0x1a879a?_0x1a879a[_0x49d9b2(0x152)]:undefined,_0x148998=_0x1a879a?_0x5b1b5b[_0x49d9b2(0x19b)](failureData,_0x1a879a,_0x5b1b5b['JFrGE']):[],_0x4fc450=new Date()[_0x49d9b2(0x14d)](),_0x424585=this[_0x49d9b2(0x1b1)](_0x523a68);_0x5b1b5b[_0x49d9b2(0x15a)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x14b)])&&_0x523a68&&_0x5b1b5b['krMgH'](_0x523a68['id'],undefined)&&_0x5b1b5b['UDGYU'](_0x523a68['id'],null)&&_specStartTimes[_0x49d9b2(0x15c)](_0x523a68['id'],_0x4fc450);const _0x2a33f7=_0x5b1b5b[_0x49d9b2(0x1c1)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x14b)])?_0x4fc450:_0x523a68&&_specStartTimes[_0x49d9b2(0x1a3)](_0x523a68['id'])||null,_0x4f73a2={};_0x4f73a2[_0x49d9b2(0x1a0)]=_0x5b1b5b[_0x49d9b2(0x15b)],_0x4f73a2[_0x49d9b2(0x195)]=null;const _0x45d4f4={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x428f64,'name':_0x523a68['description'],'body':_0x4f73a2,'scope':_0x424585[_0x49d9b2(0x1be)]('\x20'),'scopes':_0x424585,'identifier':_0x523a68[_0x49d9b2(0x13e)],'file_name':_0x38d77a,'vc_filepath':_0x5b1b5b[_0x49d9b2(0x153)](_0x31f733,_0x4aaa8d)?path['relative'](_0x31f733,_0x4aaa8d):null,'location':_0x38d77a,'result':_0x5b1b5b['DzAHj'](_0x58b787,_0x5b1b5b['LbzUQ'])?_0x5b1b5b['BqQhy']:STATUS_MAP[_0x523a68[_0x49d9b2(0x188)]]||_0x5b1b5b[_0x49d9b2(0x1aa)],'failure_reason':_0x2cbbbd,'duration_in_ms':_0x5b1b5b[_0x49d9b2(0x13b)](typeof _0x523a68[_0x49d9b2(0x190)],_0x5b1b5b[_0x49d9b2(0x148)])?_0x523a68[_0x49d9b2(0x190)]:null,'started_at':_0x2a33f7,'finished_at':_0x515979?_0x4fc450:null,'failure':_0x148998,'failure_type':!_0x2cbbbd?null:_0x2cbbbd['match'](/AssertionError/)?_0x5b1b5b['AyZxw']:_0x5b1b5b[_0x49d9b2(0x196)],'retry_of':null};_0x5b1b5b[_0x49d9b2(0x157)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x13c)])&&!_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x146)]]&&(_0x45d4f4[_0x5b1b5b['uJFDe']]=_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x166)]]);const _0x43e27e=_0x45d4f4[_0x5b1b5b['jTPzI']][0x0];_0x43e27e&&(_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x197)]]=_0x43e27e[_0x5b1b5b[_0x49d9b2(0x150)]],_0x45d4f4[_0x5b1b5b['kiNmB']]=_0x43e27e[_0x5b1b5b[_0x49d9b2(0x17a)]]);testhubUtils[_0x49d9b2(0x18e)](_0x45d4f4,_0x58b787,_0x523a68,FRAMEWORKS[_0x49d9b2(0x1a1)]);const _0xae7a95={'event_type':_0x5b1b5b[_0x49d9b2(0x1bd)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x13c)])?_0x5b1b5b[_0x49d9b2(0x171)]:_0x58b787,'test_run':_0x45d4f4};return testhubUtils[_0x49d9b2(0x164)](FRAMEWORKS['JASMINE'],_0xae7a95),SessionHandler[_0x49d9b2(0x1c2)](_0xae7a95);}catch(_0x3a09bd){_0x5b1b5b[_0x49d9b2(0x192)](debug,_0x49d9b2(0x193)+_0x58b787+_0x49d9b2(0x175)+_0x3a09bd);}}[a17_0x16c43c(0x1b1)](_0x76e0f1){const _0x45084=a17_0x16c43c,_0x8e1baf={'iZzru':function(_0x3f5d8a,_0x2747a7){return _0x3f5d8a!==_0x2747a7;},'SZaQo':function(_0x361115,_0x57311f){return _0x361115!==_0x57311f;},'EPAyg':function(_0xa2253,_0x234ff4){return _0xa2253>_0x234ff4;},'kjfkw':function(_0x5b4936,_0x4db3d0){return _0x5b4936(_0x4db3d0);},'PwWKI':function(_0x578439,_0x40a664){return _0x578439-_0x40a664;}};try{const _0x14f63f=[];let _0x33d962=_0x76e0f1&&_0x76e0f1[_0x45084(0x165)];const _0x1995fe=new Set();while(_0x8e1baf['iZzru'](_0x33d962,undefined)&&_0x8e1baf[_0x45084(0x15f)](_0x33d962,null)&&this[_0x45084(0x16f)][_0x45084(0x1a7)](_0x33d962)&&!_0x1995fe[_0x45084(0x1a7)](_0x33d962)){_0x1995fe[_0x45084(0x174)](_0x33d962);const _0xc6ad11=this[_0x45084(0x16f)][_0x45084(0x1a3)](_0x33d962);_0xc6ad11&&_0xc6ad11[_0x45084(0x137)]&&_0x14f63f[_0x45084(0x156)](_0xc6ad11['description']),_0x33d962=_0xc6ad11?_0xc6ad11[_0x45084(0x165)]:null;}if(_0x8e1baf[_0x45084(0x184)](_0x14f63f['length'],0x0))return _0x14f63f['reverse']();}catch(_0x4b729c){_0x8e1baf[_0x45084(0x167)](debug,_0x45084(0x145)+(_0x76e0f1&&_0x76e0f1[_0x45084(0x13e)])+_0x45084(0x175)+_0x4b729c);}const _0x2b94c9=_0x76e0f1&&_0x76e0f1[_0x45084(0x13e)]||'',_0xce1f39=_0x76e0f1&&_0x76e0f1[_0x45084(0x137)]||'';let _0x2069c4=_0x2b94c9;return _0xce1f39&&_0x2b94c9[_0x45084(0x1a2)](_0xce1f39)&&(_0x2069c4=_0x2b94c9[_0x45084(0x14f)](0x0,_0x8e1baf[_0x45084(0x182)](_0x2b94c9[_0x45084(0x151)],_0xce1f39[_0x45084(0x151)]))[_0x45084(0x19a)]()),_0x2069c4?_0x2069c4[_0x45084(0x13d)](/\s+/):[];}[a17_0x16c43c(0x17b)](_0x3ed265){const _0x5ba1be=a17_0x16c43c,_0x1494cc={};_0x1494cc['MGuih']=function(_0x381a5d,_0x212c1d){return _0x381a5d===_0x212c1d;},_0x1494cc[_0x5ba1be(0x14c)]=function(_0x322fda,_0x5153de){return _0x322fda+_0x5153de;},_0x1494cc[_0x5ba1be(0x168)]=function(_0x945780,_0x23a7c3){return _0x945780>_0x23a7c3;};const _0x45f48a=_0x1494cc;if(_0x3ed265&&_0x3ed265[_0x5ba1be(0x1a5)])return _0x3ed265['filename'];if(_0x3ed265&&_0x3ed265[_0x5ba1be(0x13e)]){if(this[_0x5ba1be(0x1b5)][_0x3ed265[_0x5ba1be(0x13e)]])return this[_0x5ba1be(0x1b5)][_0x3ed265[_0x5ba1be(0x13e)]];let _0x236212=null,_0x3a7da2=-0x1;for(const _0x170494 of Object[_0x5ba1be(0x163)](this[_0x5ba1be(0x1b5)])){(_0x45f48a[_0x5ba1be(0x1a6)](_0x3ed265[_0x5ba1be(0x13e)],_0x170494)||_0x3ed265[_0x5ba1be(0x13e)][_0x5ba1be(0x16c)](_0x45f48a[_0x5ba1be(0x14c)](_0x170494,'\x20')))&&_0x45f48a['BMIQL'](_0x170494[_0x5ba1be(0x151)],_0x3a7da2)&&(_0x236212=this[_0x5ba1be(0x1b5)][_0x170494],_0x3a7da2=_0x170494[_0x5ba1be(0x151)]);}if(_0x236212)return _0x236212;}return null;}['_collapseFailedExpectations'](_0x4d33b2){const _0x45e689=a17_0x16c43c,_0xb36bc0={};_0xb36bc0['yvsCq']=function(_0x4e29eb,_0x17a6a0){return _0x4e29eb===_0x17a6a0;},_0xb36bc0[_0x45e689(0x143)]='Spec\x20failed';const _0x5899ca=_0xb36bc0;if(!Array[_0x45e689(0x139)](_0x4d33b2)||_0x5899ca[_0x45e689(0x15e)](_0x4d33b2['length'],0x0))return undefined;const _0x103a35=[],_0x316447=[];for(const _0x244ea9 of _0x4d33b2){_0x244ea9&&_0x244ea9[_0x45e689(0x152)]&&_0x103a35[_0x45e689(0x156)](_0x244ea9['message']),_0x244ea9&&_0x244ea9['stack']&&_0x316447[_0x45e689(0x156)](_0x244ea9[_0x45e689(0x1a4)]);}const _0x1c6e92=_0x4d33b2[0x0]||{},_0x4940b2=_0x103a35[_0x45e689(0x1be)]('\x0a')||_0x1c6e92[_0x45e689(0x152)]||_0x5899ca['NFzrN'],_0x2d73de=_0x316447[_0x45e689(0x1be)]('\x0a\x0a')||_0x1c6e92[_0x45e689(0x1a4)]||_0x4940b2,_0x1754f6={};return _0x1754f6[_0x45e689(0x152)]=_0x4940b2,_0x1754f6[_0x45e689(0x1a4)]=_0x2d73de,_0x1754f6['matcherName']=_0x1c6e92['matcherName'],_0x1754f6[_0x45e689(0x19c)]=_0x1c6e92[_0x45e689(0x19c)],_0x1754f6[_0x45e689(0x1b6)]=_0x1c6e92[_0x45e689(0x1b6)],_0x1754f6;}['_findGitConfig'](_0x184400){const _0xefee8f=a17_0x16c43c,_0x6a7fb3={};_0x6a7fb3['bmSjp']=function(_0x28126a,_0x525c1a){return _0x28126a===_0x525c1a;},_0x6a7fb3[_0xefee8f(0x140)]='.git',_0x6a7fb3[_0xefee8f(0x1b8)]=_0xefee8f(0x158);const _0x367d81=_0x6a7fb3,_0x7c84ab=path[_0xefee8f(0x1c3)];if(_0x367d81[_0xefee8f(0x1af)](_0x184400,null)||_0x367d81[_0xefee8f(0x1af)](_0x184400,'')||_0x367d81[_0xefee8f(0x1af)](_0x184400,_0x7c84ab)||_0x367d81[_0xefee8f(0x1af)](_0x184400,path[_0xefee8f(0x16b)](_0x184400)))return null;try{return fs[_0xefee8f(0x142)](path['join'](_0x184400,_0x367d81[_0xefee8f(0x140)],_0x367d81[_0xefee8f(0x1b8)])),_0x184400;}catch(_0x514c20){return this[_0xefee8f(0x17c)](path['dirname'](_0x184400));}}}module[a17_0x16c43c(0x18f)]=BrowserStackJasmineReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a18_0xd3a528=a18_0x58a2;(function(_0x3bad8a,_0x18acfb){const _0x4fc21a=a18_0x58a2,_0x19e5dc=_0x3bad8a();while(!![]){try{const _0x16313f=-parseInt(_0x4fc21a(0x20e))/0x1+parseInt(_0x4fc21a(0x25a))/0x2+parseInt(_0x4fc21a(0x216))/0x3+parseInt(_0x4fc21a(0x24b))/0x4*(parseInt(_0x4fc21a(0x21b))/0x5)+parseInt(_0x4fc21a(0x23c))/0x6*(parseInt(_0x4fc21a(0x1f0))/0x7)+parseInt(_0x4fc21a(0x231))/0x8+-parseInt(_0x4fc21a(0x1f3))/0x9;if(_0x16313f===_0x18acfb)break;else _0x19e5dc['push'](_0x19e5dc['shift']());}catch(_0x36dee7){_0x19e5dc['push'](_0x19e5dc['shift']());}}}(a18_0x3257,0x65247));function a18_0x58a2(_0x5a28e5,_0x599f7f){const _0x325780=a18_0x3257();return a18_0x58a2=function(_0x58a245,_0x1b64a2){_0x58a245=_0x58a245-0x1ed;let _0x22f386=_0x325780[_0x58a245];return _0x22f386;},a18_0x58a2(_0x5a28e5,_0x599f7f);}const fs=require('fs'),path=require(a18_0xd3a528(0x223)),util=require(a18_0xd3a528(0x23b)),{spawn}=require(a18_0xd3a528(0x293)),glob=require(a18_0xd3a528(0x200)),pLimit=require('p-limit'),logger=require('../../helpers/logger')[a18_0xd3a528(0x271)],helper=require(a18_0xd3a528(0x256)),utilities=require(a18_0xd3a528(0x1ee)),constants=require(a18_0xd3a528(0x28e)),TestHubHandler=require(a18_0xd3a528(0x20c)),testOpsHelper=require(a18_0xd3a528(0x254)),{debug}=require(a18_0xd3a528(0x254)),{FRAMEWORKS}=require(a18_0xd3a528(0x282)),PerformanceTester=require(a18_0xd3a528(0x273)),PerformanceEvents=require('../../helpers/performance/constants')[a18_0xd3a528(0x249)],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0xd3a528(0x1fa)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0xd3a528(0x26f)),getMaxWorkers=(_0x131295,_0x293ae6)=>{const _0x1d0e76=a18_0xd3a528,_0x452427={'REOSV':function(_0x294a7e,_0xe03193){return _0x294a7e(_0xe03193);}};let _0x21e774=0x1;if(!helper[_0x1d0e76(0x25e)](_0x293ae6['parallelsPerPlatform']))_0x21e774=_0x452427[_0x1d0e76(0x27f)](parseInt,_0x293ae6[_0x1d0e76(0x1f2)]);else!helper[_0x1d0e76(0x25e)](_0x131295[_0x1d0e76(0x288)])&&(_0x21e774=_0x131295['maxWorkers']);return _0x21e774;},resolveJasmineConfigPath=()=>{const _0x389186=a18_0xd3a528,_0x55ac86={};_0x55ac86[_0x389186(0x281)]=_0x389186(0x278);const _0x36c16a=_0x55ac86,_0xcf50b2=[];process[_0x389186(0x22e)]['JASMINE_CONFIG_PATH']&&_0xcf50b2['push'](path['resolve'](process['cwd'](),process[_0x389186(0x22e)][_0x389186(0x244)]));_0xcf50b2['push'](path[_0x389186(0x289)](process[_0x389186(0x269)](),_0x36c16a['CyVpV']));for(const _0x4cc8d7 of _0xcf50b2){try{if(fs[_0x389186(0x206)](_0x4cc8d7))return _0x4cc8d7;}catch(_0x30b66d){}}return null;},enumerateSpecFiles=_0x4d334d=>{const _0x3b2013=a18_0xd3a528,_0x232e79={'Iycwl':function(_0x1bbcd4,_0x1afcd7){return _0x1bbcd4(_0x1afcd7);},'pRlwQ':function(_0x212150,_0x1db717){return _0x212150>_0x1db717;},'WuEmM':function(_0x45e94e,_0x300d9b){return _0x45e94e(_0x300d9b);},'IgAFc':function(_0x52edc8,_0x1ba848){return _0x52edc8<_0x1ba848;},'Jmwbc':function(_0x366e9c,_0x354238){return _0x366e9c===_0x354238;},'oIVoN':_0x3b2013(0x21c),'ozwcg':function(_0x4fd32e,_0x3a4ec){return _0x4fd32e>_0x3a4ec;},'VeZGv':function(_0x2092fd,_0x4771d6,_0x14b36b){return _0x2092fd(_0x4771d6,_0x14b36b);},'HecyF':function(_0x1220a6,_0x55867c){return _0x1220a6>_0x55867c;},'GoARR':function(_0x567502){return _0x567502();},'xMBDT':_0x3b2013(0x283),'FEqow':_0x3b2013(0x259),'wQTvW':_0x3b2013(0x210),'xeATL':function(_0xdd95fc,_0x11569d,_0x3bb966){return _0xdd95fc(_0x11569d,_0x3bb966);},'qowJS':function(_0xc87d3,_0xf4a468){return _0xc87d3>_0xf4a468;}};try{if(testOpsHelper[_0x3b2013(0x28b)]()){const _0x35afe2=testOpsHelper[_0x3b2013(0x280)](process[_0x3b2013(0x22e)][_0x3b2013(0x1f1)]);if(Array['isArray'](_0x35afe2)&&_0x232e79['pRlwQ'](_0x35afe2[_0x3b2013(0x286)],0x0))return _0x35afe2[_0x3b2013(0x251)](_0x156a52=>path[_0x3b2013(0x289)](process['cwd'](),_0x156a52[_0x3b2013(0x1f5)]()))[_0x3b2013(0x264)](Boolean);}}catch(_0x2b5925){_0x232e79[_0x3b2013(0x21e)](debug,_0x3b2013(0x24f)+util[_0x3b2013(0x208)](_0x2b5925));}const _0x20ded5=[];try{for(let _0xf5d305=0x1;_0x232e79['IgAFc'](_0xf5d305,_0x4d334d['length']);_0xf5d305++){const _0x585b5e=_0x4d334d[_0xf5d305];_0x232e79[_0x3b2013(0x265)](typeof _0x585b5e,_0x232e79['oIVoN'])&&!_0x585b5e[_0x3b2013(0x28a)]('-')&&_0x20ded5[_0x3b2013(0x267)](_0x585b5e);}}catch(_0x2fd956){}const _0x9d24bd={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x533eda=(_0x1faf1b,_0x381ff7)=>{const _0x2e3bd5=_0x3b2013,_0x3522df=[];for(const _0x2c6af8 of _0x1faf1b){try{const _0x5da145=_0x381ff7?path[_0x2e3bd5(0x241)][_0x2e3bd5(0x258)](_0x381ff7,_0x2c6af8):_0x2c6af8,_0x2b1bfe=glob[_0x2e3bd5(0x287)](_0x5da145,_0x9d24bd);Array[_0x2e3bd5(0x218)](_0x2b1bfe)&&_0x3522df['push'](..._0x2b1bfe);}catch(_0x519d34){_0x232e79[_0x2e3bd5(0x291)](debug,_0x2e3bd5(0x248)+_0x2c6af8+_0x2e3bd5(0x28f)+util['format'](_0x519d34));}}return _0x3522df;};if(_0x232e79[_0x3b2013(0x226)](_0x20ded5[_0x3b2013(0x286)],0x0)){const _0x23994c=_0x232e79[_0x3b2013(0x230)](_0x533eda,_0x20ded5,null);if(_0x232e79['HecyF'](_0x23994c[_0x3b2013(0x286)],0x0))return Array[_0x3b2013(0x24a)](new Set(_0x23994c));return _0x20ded5[_0x3b2013(0x251)](_0x38802d=>path['resolve'](process[_0x3b2013(0x269)](),_0x38802d));}try{const _0x204699=_0x232e79[_0x3b2013(0x21d)](resolveJasmineConfigPath);if(_0x204699){const _0x2cb603=JSON[_0x3b2013(0x285)](fs['readFileSync'](_0x204699,_0x232e79[_0x3b2013(0x26c)])),_0x30dc21=_0x2cb603[_0x3b2013(0x246)]||_0x232e79[_0x3b2013(0x22c)],_0x175470=Array[_0x3b2013(0x218)](_0x2cb603[_0x3b2013(0x261)])&&_0x232e79[_0x3b2013(0x275)](_0x2cb603[_0x3b2013(0x261)][_0x3b2013(0x286)],0x0)?_0x2cb603[_0x3b2013(0x261)]:[_0x232e79[_0x3b2013(0x268)]],_0x5f530e=_0x232e79[_0x3b2013(0x239)](_0x533eda,_0x175470,_0x30dc21);if(_0x232e79[_0x3b2013(0x24c)](_0x5f530e[_0x3b2013(0x286)],0x0))return Array['from'](new Set(_0x5f530e));}}catch(_0x39f5e5){_0x232e79['WuEmM'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x3b2013(0x208)](_0x39f5e5));}return null;};async function run(_0x2acf83,_0x3756d5,_0x18fa3c){const _0xe8fa54=a18_0xd3a528,_0x364889={'Vjflc':function(_0x1fb0d4,_0xc198be){return _0x1fb0d4>_0xc198be;},'DXSAi':'all','THgyn':function(_0x4f5ac4,_0x78ad26){return _0x4f5ac4(_0x78ad26);},'bBVYk':function(_0x16d2d9,_0x1c810d){return _0x16d2d9||_0x1c810d;},'jdYEQ':function(_0x40a329,_0x4fce08){return _0x40a329(_0x4fce08);},'ugVQz':function(_0x3f8f81,_0x3597aa){return _0x3f8f81(_0x3597aa);},'TsGAF':function(_0x296ec8,_0x416875){return _0x296ec8>_0x416875;},'huEII':function(_0x3dd3f8,_0x17f8db,_0x1a052d,_0x8d2f10){return _0x3dd3f8(_0x17f8db,_0x1a052d,_0x8d2f10);},'DSvPF':_0xe8fa54(0x252),'GcqxY':_0xe8fa54(0x22a),'kvLue':function(_0x129892,_0x43e6f5){return _0x129892===_0x43e6f5;},'gSDzb':_0xe8fa54(0x240),'qmOTi':_0xe8fa54(0x25d),'dCNzo':_0xe8fa54(0x215),'RWkvS':_0xe8fa54(0x250),'CNNGe':function(_0x2073e9,_0xe1fc5a){return _0x2073e9(_0xe1fc5a);},'oEUli':_0xe8fa54(0x220),'aPYOd':function(_0x2ed451){return _0x2ed451();},'fZVRV':function(_0x350e2a,_0x2efe2e,_0x42489b,_0x4d3358){return _0x350e2a(_0x2efe2e,_0x42489b,_0x4d3358);},'asNDR':function(_0x3f175a,_0x51effb){return _0x3f175a!=_0x51effb;},'kImRH':_0xe8fa54(0x28c),'qcsmy':function(_0x11170f,_0x487266){return _0x11170f(_0x487266);},'VMJSv':function(_0x1e7e8f,_0x49e27c){return _0x1e7e8f(_0x49e27c);},'tBFjy':function(_0xe11be5,_0x473241,_0x3744da){return _0xe11be5(_0x473241,_0x3744da);},'llNOr':function(_0x4547ad,_0x32c51e){return _0x4547ad*_0x32c51e;},'qhjui':function(_0x305553,_0x51a48a){return _0x305553(_0x51a48a);},'VPmsw':_0xe8fa54(0x201),'fYSXu':function(_0x503d22,_0x1c718b){return _0x503d22(_0x1c718b);},'OljNk':function(_0x3987ef,_0x58d527){return _0x3987ef(_0x58d527);},'KfpNJ':function(_0x1d3cc9,_0x15eda9){return _0x1d3cc9(_0x15eda9);},'KWHgt':function(_0x42fc83,_0x322e46){return _0x42fc83<_0x322e46;},'KrbQw':function(_0x1a709b,_0x4bb562){return _0x1a709b>_0x4bb562;},'rmpqh':function(_0x27c9cf,_0x3ee48b){return _0x27c9cf(_0x3ee48b);}},_0x48f0b3=helper[_0xe8fa54(0x277)](_0x364889[_0xe8fa54(0x24d)]);global['__isPlaywrightInstalled']=!!_0x48f0b3;const _0x282992=_0x364889[_0xe8fa54(0x20b)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x282992;helper[_0xe8fa54(0x23f)]()&&(await _0x18fa3c[_0xe8fa54(0x21f)](_0x2acf83),await helper[_0xe8fa54(0x253)](_0x18fa3c[_0xe8fa54(0x232)]));if(_0x48f0b3)await _0x364889[_0xe8fa54(0x27a)](checkPwandBootstrapCli,_0x48f0b3,constants['FRAMEWORKS'][_0xe8fa54(0x229)],_0x18fa3c);else _0x282992&&await _0x364889['fZVRV'](checkPuppeteerAndBootstrapCli,_0x282992,constants['FRAMEWORKS'][_0xe8fa54(0x229)],_0x18fa3c);if(!_0x18fa3c['config'])return;_0x364889[_0xe8fa54(0x235)](_0x18fa3c[_0xe8fa54(0x232)][_0xe8fa54(0x23a)],null)?process['env'][_0xe8fa54(0x238)]=_0x18fa3c['config']['testObservability']:process[_0xe8fa54(0x22e)][_0xe8fa54(0x238)]=_0x364889[_0xe8fa54(0x211)];!helper[_0xe8fa54(0x25e)](_0x18fa3c[_0xe8fa54(0x232)]['accessibilityOptions'])&&(process[_0xe8fa54(0x22e)][_0xe8fa54(0x25c)]=JSON[_0xe8fa54(0x209)](_0x18fa3c['config'][_0xe8fa54(0x20f)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0xe8fa54(0x229)],_0x18fa3c);}catch(_0x22be22){logger[_0xe8fa54(0x250)](_0xe8fa54(0x214)+util[_0xe8fa54(0x208)](_0x22be22)),_0x364889[_0xe8fa54(0x1ef)](debug,_0xe8fa54(0x279)+util[_0xe8fa54(0x208)](_0x22be22));}let _0x5aa7f3=![],_0x47a01c=[];try{_0x5aa7f3=helper['useW3C'](_0x18fa3c[_0xe8fa54(0x232)]),_0x47a01c=helper[_0xe8fa54(0x243)](_0x18fa3c[_0xe8fa54(0x232)],_0x5aa7f3,constants[_0xe8fa54(0x205)][_0xe8fa54(0x229)]),process['env'][_0xe8fa54(0x1f6)]=JSON[_0xe8fa54(0x209)](_0x47a01c);}catch(_0x45be24){_0x364889[_0xe8fa54(0x1f4)](debug,_0xe8fa54(0x221)+util[_0xe8fa54(0x208)](_0x45be24));}let _0x390047=null,_0x326b7f=![];try{_0x390047=helper['getHubUrl'](_0x18fa3c[_0xe8fa54(0x232)]),_0x326b7f=helper[_0xe8fa54(0x276)](_0x18fa3c[_0xe8fa54(0x232)]);}catch(_0x3547ac){_0x364889[_0xe8fa54(0x257)](debug,_0xe8fa54(0x1ff)+util[_0xe8fa54(0x208)](_0x3547ac));}let _0x382d63={};try{_0x382d63=helper[_0xe8fa54(0x1f8)](_0x18fa3c[_0xe8fa54(0x232)],_0x5aa7f3,constants[_0xe8fa54(0x205)][_0xe8fa54(0x229)]);}catch(_0x28d1f1){_0x364889['jdYEQ'](debug,_0xe8fa54(0x227)+util[_0xe8fa54(0x208)](_0x28d1f1));}const _0xed9a6=_0x1573c9=>{const _0x24097f=_0xe8fa54,_0x20e6fb=Array['isArray'](_0x47a01c)&&_0x364889[_0x24097f(0x284)](_0x47a01c[_0x24097f(0x286)],_0x1573c9)?_0x47a01c[_0x1573c9]:Array[_0x24097f(0x218)](_0x47a01c)&&_0x364889['Vjflc'](_0x47a01c[_0x24097f(0x286)],0x0)?_0x47a01c[0x0]:{};return Object[_0x24097f(0x28d)]({'server':_0x390047,'capability':_0x20e6fb,'proxySettings':_0x18fa3c[_0x24097f(0x232)][_0x24097f(0x237)],'platform':helper[_0x24097f(0x266)](_0x20e6fb),'browserStackLogLevel':_0x18fa3c['config'][_0x24097f(0x270)],'platformIndex':_0x1573c9,'framework':constants[_0x24097f(0x205)][_0x24097f(0x229)],'platformCaps':_0x326b7f?Object[_0x24097f(0x28d)]({'index':_0x1573c9},_0x18fa3c['config'][_0x24097f(0x292)][_0x1573c9]):{'index':_0x1573c9}},_0x382d63);};let _0x31155e=0x1,_0x13d1e5=0x1,_0x534150=0x1;try{_0x31155e=_0x364889['tBFjy'](getMaxWorkers,_0x2acf83,_0x18fa3c[_0xe8fa54(0x232)]),_0x13d1e5=_0x326b7f?_0x18fa3c[_0xe8fa54(0x232)][_0xe8fa54(0x292)][_0xe8fa54(0x286)]:0x1,_0x534150=_0x364889['llNOr'](_0x13d1e5,_0x31155e),process['env'][_0xe8fa54(0x212)]=_0x364889[_0xe8fa54(0x207)](String,_0x534150);}catch(_0x165364){_0x364889[_0xe8fa54(0x245)](debug,_0xe8fa54(0x262)+util[_0xe8fa54(0x208)](_0x165364));}try{BrowserstackCLI[_0xe8fa54(0x242)]()[_0xe8fa54(0x260)]&&(process[_0xe8fa54(0x22e)][_0xe8fa54(0x217)]=BrowserstackCLI[_0xe8fa54(0x242)]()['binSessionId']);}catch(_0x2eb0d4){_0x364889[_0xe8fa54(0x27c)](debug,_0xe8fa54(0x225)+util[_0xe8fa54(0x208)](_0x2eb0d4));}const _0x2c3acb=[];try{const _0x520ef8=path[_0xe8fa54(0x289)](__dirname,_0x364889[_0xe8fa54(0x203)]);fs[_0xe8fa54(0x206)](_0x520ef8)?_0x2c3acb[_0xe8fa54(0x267)](_0xe8fa54(0x255)+_0x520ef8):_0x364889[_0xe8fa54(0x224)](debug,_0xe8fa54(0x1fb)+_0x520ef8+';\x20proceeding\x20without\x20injection');}catch(_0x104af7){_0x364889['OljNk'](debug,_0xe8fa54(0x25f)+util[_0xe8fa54(0x208)](_0x104af7));}const _0x23fa5c=_0x3756d5['slice'](0x1),_0x2cc0bd=_0x364889['KfpNJ'](enumerateSpecFiles,_0x3756d5),_0x31a981=[];for(let _0x2c730a=0x0;_0x364889['KWHgt'](_0x2c730a,_0x13d1e5);_0x2c730a++){if(_0x364889['KrbQw'](_0x31155e,0x1)&&Array[_0xe8fa54(0x218)](_0x2cc0bd)&&_0x364889[_0xe8fa54(0x1f7)](_0x2cc0bd[_0xe8fa54(0x286)],0x0))for(const _0xb6a639 of _0x2cc0bd){const _0x2996bb={};_0x2996bb[_0xe8fa54(0x236)]=_0x2c730a,_0x2996bb[_0xe8fa54(0x274)]=[_0xb6a639],_0x31a981[_0xe8fa54(0x267)](_0x2996bb);}else{const _0x2777eb={};_0x2777eb[_0xe8fa54(0x236)]=_0x2c730a,_0x2777eb['specArgs']=_0x2cc0bd,_0x31a981[_0xe8fa54(0x267)](_0x2777eb);}}logger['info']('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x13d1e5+_0xe8fa54(0x213)+_0x31155e+'\x20('+_0x31a981[_0xe8fa54(0x286)]+_0xe8fa54(0x21a)+_0x534150+'\x20concurrent)'),PerformanceTester[_0xe8fa54(0x1f9)](PerformanceEvents[_0xe8fa54(0x25b)]);const _0xdd1cb2=_0x15f62e=>new Promise(_0xf09609=>{const _0x5878b8=_0xe8fa54,_0x3375f3={'tQWIy':_0x364889[_0x5878b8(0x1ed)],'uuOHp':function(_0x51071a,_0x234a6c){return _0x364889['THgyn'](_0x51071a,_0x234a6c);},'XuNcQ':function(_0x57d170,_0x19cf60){const _0xdf15ef=_0x5878b8;return _0x364889[_0xdf15ef(0x22f)](_0x57d170,_0x19cf60);},'yBywG':function(_0x53a39b,_0x3ca5a4){return _0x364889['THgyn'](_0x53a39b,_0x3ca5a4);},'veRZw':function(_0x2a1b20,_0x3968d8){return _0x364889['jdYEQ'](_0x2a1b20,_0x3968d8);}};let _0x2a9893;try{const _0x41826d=_0x364889[_0x5878b8(0x207)](_0xed9a6,_0x15f62e[_0x5878b8(0x236)]);_0x2a9893=Object[_0x5878b8(0x28d)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5878b8(0x209)](_0x41826d),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x41826d['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x49bfd5){_0x364889[_0x5878b8(0x1f4)](debug,_0x5878b8(0x26b)+_0x15f62e[_0x5878b8(0x236)]+_0x5878b8(0x27b)+util[_0x5878b8(0x208)](_0x49bfd5)),_0x2a9893=Object[_0x5878b8(0x28d)]({},process[_0x5878b8(0x22e)]);}const _0x8df7eb=Array[_0x5878b8(0x218)](_0x15f62e[_0x5878b8(0x274)])?_0x15f62e[_0x5878b8(0x274)]:[],_0x18d2e5=_0x364889['TsGAF'](_0x8df7eb[_0x5878b8(0x286)],0x0)?_0x23fa5c[_0x5878b8(0x264)](_0x55abe6=>typeof _0x55abe6===_0x5878b8(0x21c)&&_0x55abe6[_0x5878b8(0x28a)]('-')):_0x23fa5c,_0x9f8a8f=[..._0x2c3acb,..._0x18d2e5,..._0x8df7eb];try{const _0x1a80f7=_0x364889[_0x5878b8(0x27a)](spawn,_0x364889[_0x5878b8(0x234)],[_0x364889['GcqxY'],..._0x9f8a8f],{'shell':_0x364889[_0x5878b8(0x202)](process[_0x5878b8(0x26a)],_0x364889[_0x5878b8(0x1fc)]),'stdio':_0x364889[_0x5878b8(0x27d)],'env':_0x2a9893});_0x1a80f7['on'](_0x364889[_0x5878b8(0x247)],_0x2dae74=>{const _0xe2ae53=_0x5878b8;logger[_0xe2ae53(0x22b)]('jasmine\x20child\x20(platformIndex='+_0x15f62e[_0xe2ae53(0x236)]+_0xe2ae53(0x20a)+(_0x8df7eb[_0xe2ae53(0x286)]?_0x8df7eb['join'](','):_0x3375f3[_0xe2ae53(0x1fe)])+')\x20exited\x20with\x20code\x20'+_0x2dae74),_0x3375f3[_0xe2ae53(0x24e)](_0xf09609,_0x3375f3[_0xe2ae53(0x1fd)](_0x2dae74,0x0));}),_0x1a80f7['on'](_0x364889[_0x5878b8(0x233)],_0x2dd6ef=>{const _0x251310=_0x5878b8;_0x3375f3[_0x251310(0x23d)](debug,_0x251310(0x222)+_0x15f62e[_0x251310(0x236)]+_0x251310(0x228)+util[_0x251310(0x208)](_0x2dd6ef)),_0x3375f3['veRZw'](_0xf09609,0x1);});}catch(_0x5abd9e){_0x364889[_0x5878b8(0x245)](debug,_0x5878b8(0x204)+_0x15f62e[_0x5878b8(0x236)]+')\x20:\x20'+util['format'](_0x5abd9e)),_0x364889[_0x5878b8(0x245)](_0xf09609,0x1);}}),_0x4894dc=_0x364889[_0xe8fa54(0x26d)](pLimit,_0x364889[_0xe8fa54(0x1f7)](_0x534150,0x0)?_0x534150:0x1),_0xe99d91=await Promise['all'](_0x31a981[_0xe8fa54(0x251)](_0x16db0d=>_0x4894dc(()=>_0xdd1cb2(_0x16db0d))));PerformanceTester[_0xe8fa54(0x272)](PerformanceEvents[_0xe8fa54(0x290)]);const _0x161ed0=_0xe99d91[_0xe8fa54(0x27e)](_0x492602=>_0x492602!==0x0)||0x0;process[_0xe8fa54(0x23e)]=_0x161ed0,logger['debug'](_0xe8fa54(0x22d)+_0x161ed0);const _0x4a1875=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0xe8fa54(0x242)]()[_0xe8fa54(0x263)]();}catch(_0x510099){_0x364889[_0xe8fa54(0x1ef)](debug,_0xe8fa54(0x26e)+util[_0xe8fa54(0x208)](_0x510099));}testOpsHelper[_0xe8fa54(0x219)](),await utilities['finalExecution'](_0x18fa3c,_0x4a1875);}module[a18_0xd3a528(0x20d)]=run;function a18_0x3257(){const _0x1f2061=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','inherit','isUndefined','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','binSessionId','spec_files','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','stop','filter','Jmwbc','getPlatformName','push','wQTvW','cwd','platform','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','xMBDT','rmpqh','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/puppeteer-helper','logLevel','winstonLogger','start','../../helpers/performance/performance-tester','specArgs','pRlwQ','validPlatformsPresent','getPackageVersion','spec/support/jasmine.json','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','huEII','\x20:\x20','qhjui','qmOTi','find','REOSV','parseFileNames','CyVpV','../../helpers/test-observability/constants','utf8','Vjflc','parse','length','globSync','maxWorkers','resolve','startsWith','shouldReRunObservabilityTests','true','assign','../utils/constants','\x27\x20:\x20','SDK_CLEANUP','Iycwl','platforms','child_process','DXSAi','../../helpers/utilities','qcsmy','14fYfnXr','BROWSERSTACK_RERUN_TESTS','parallelsPerPlatform','15548022WYvaLN','THgyn','trim','BROWSERSTACK_CAPABILITIES','TsGAF','getMultiDriverWorkerConfig','end','../../helpers/playwright-helper','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','gSDzb','XuNcQ','tQWIy','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','glob','test.setup.js','kvLue','VPmsw','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','FRAMEWORKS','existsSync','ugVQz','format','stringify',',\x20specs=','aPYOd','../../helpers/testhub/testhubHandler','exports','2774BLHLKx','accessibilityOptions','**/*[sS]pec.?(m)js','kImRH','BROWSERSTACK_JASMINE_PARALLELS','\x20platform(s),\x20parallelsPerPlatform=','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','close','729504RFBngT','BROWSERSTACK_CLI_BIN_SESSION_ID','isArray','printBuildLink','\x20work-item(s),\x20max\x20','2114815HPrjko','string','GoARR','WuEmM','initialize','@playwright/test','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','path','fYSXu','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','ozwcg','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20',')\x20:\x20','JASMINE','jasmine','debug','FEqow','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','env','bBVYk','VeZGv','2934304Gbwnmy','config','RWkvS','DSvPF','asNDR','platformIndex','proxySettings','BROWSERSTACK_TEST_OBSERVABILITY_YML','xeATL','testObservability','util','2286462VHKVez','yBywG','exitCode','isBrowserstackInfra','win32','posix','getInstance','prepareCapabilities','JASMINE_CONFIG_PATH','CNNGe','spec_dir','dCNzo','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','EVENTS','from','4zaRVOi','qowJS','oEUli','uuOHp','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','error','map','npx','handleApp','../../helpers/test-observability/utils','--helper=','../../helpers/helper','VMJSv','join','spec','699076DQBkoe','SDK_SETUP'];a18_0x3257=function(){return _0x1f2061;};return a18_0x3257();}
2
+ 'use strict';const a18_0x2eeff6=a18_0xa11d;function a18_0x252d(){const _0x1c4cab=['jasmine\x20child\x20(platformIndex=','end','\x20:\x20','prepareCapabilities','vKiXu','launchBuild','useW3C','parallelsPerPlatform','binSessionId','inherit','Tqafe','getHubUrl','BROWSERSTACK_RERUN_TESTS','p-limit','../../helpers/playwright-helper','assign','SDK_SETUP','dJBES','FjxxJ','BROWSERSTACK_JASMINE_PARALLELS','push','JASMINE','876444ANJZvN','error','specArgs',',\x20specs=','from','rIrgJ','exports','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','tQyAt','jasmine','startsWith','UMFRn','JASMINE_CONFIG_PATH','all','QFOWT','\x20platform(s),\x20parallelsPerPlatform=','jZeXh','isArray','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','IozqB','VAMvu','validPlatformsPresent','5DaKKfo','resolve','KtaZx','testObservability','jHTSH','Running\x20your\x20Jasmine\x20tests\x20across\x20','isUndefined','ZWXVO','start','UEpDE','spec_files','iLBYu','accessibilityOptions','30vSkoRF','ppPMW','105509BgAuWI','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','initialize','env','kkPMM','DeRKY','maxWorkers','FRAMEWORKS','spec','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','shouldReRunObservabilityTests','CIJTc','string','../utils/constants','isCLIEnabled','WVKtU','../../helpers/puppeteer-helper','__isPlaywrightInstalled','oEVxk','platformIndex','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','slice',';\x20proceeding\x20without\x20injection','../../helpers/logger','join','../../helpers/test-observability/constants','hYvaL','find','../../helpers/helper','spec_dir','winstonLogger','platform','bcZGN','path','exitCode','getPlatformName','jkoRV','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','eXoPQ','stop','../../helpers/test-observability/utils','proxySettings','Gdxao','258597WxsxUB','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','getMultiDriverWorkerConfig','__isPuppeteerInstalled','49cpnBtw','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','existsSync','PNexL','cwd','length','../../helpers/performance/constants','aqGhC','npx','jtpNV','../v2/browserstackCLI','2MfVCVA','../../helpers/testhub/testhubHandler','getPackageVersion','HFPYn','debug','handleApp','INAIi','xnJdH','IDnuF','PKzqJ','parse','trim','tcvRG','filter','isBrowserstackInfra','EVENTS','spec/support/jasmine.json','comut','3109447ZCkkQh','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','rPzPE','FuzSY','aodFF','format','close','win32','\x20concurrent)','216012zBbEyG','4329JnjhsC','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','../../helpers/utilities','stringify','TtwYm','map','../../helpers/performance/performance-tester','TadNP','2054568cvLPES','BROWSERSTACK_CAPABILITIES','readFileSync','dOODp','@playwright/test','\x20work-item(s),\x20max\x20','parseFileNames','WPCeQ','posix','--helper=','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','SDK_CLEANUP','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','getInstance','config',')\x20:\x20'];a18_0x252d=function(){return _0x1c4cab;};return a18_0x252d();}function a18_0xa11d(_0x15e4e0,_0x12da66){const _0x252d85=a18_0x252d();return a18_0xa11d=function(_0xa11d4,_0x4e12de){_0xa11d4=_0xa11d4-0x8c;let _0x416a48=_0x252d85[_0xa11d4];return _0x416a48;},a18_0xa11d(_0x15e4e0,_0x12da66);}(function(_0x3f028f,_0x40a9ee){const _0x168059=a18_0xa11d,_0x3be0cc=_0x3f028f();while(!![]){try{const _0x58e82c=-parseInt(_0x168059(0xaa))/0x1*(-parseInt(_0x168059(0xe4))/0x2)+-parseInt(_0x168059(0xd5))/0x3+parseInt(_0x168059(0x12e))/0x4*(-parseInt(_0x168059(0x9b))/0x5)+parseInt(_0x168059(0xff))/0x6*(-parseInt(_0x168059(0xd9))/0x7)+-parseInt(_0x168059(0x108))/0x8+parseInt(_0x168059(0x100))/0x9+parseInt(_0x168059(0xa8))/0xa*(parseInt(_0x168059(0xf6))/0xb);if(_0x58e82c===_0x40a9ee)break;else _0x3be0cc['push'](_0x3be0cc['shift']());}catch(_0x15b5f8){_0x3be0cc['push'](_0x3be0cc['shift']());}}}(a18_0x252d,0x22264));const fs=require('fs'),path=require(a18_0x2eeff6(0xcb)),util=require('util'),{spawn}=require('child_process'),glob=require('glob'),pLimit=require(a18_0x2eeff6(0x125)),logger=require(a18_0x2eeff6(0xc1))[a18_0x2eeff6(0xc8)],helper=require(a18_0x2eeff6(0xc6)),utilities=require(a18_0x2eeff6(0x102)),constants=require(a18_0x2eeff6(0xb7)),TestHubHandler=require(a18_0x2eeff6(0xe5)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a18_0x2eeff6(0xd2)),{FRAMEWORKS}=require(a18_0x2eeff6(0xc3)),PerformanceTester=require(a18_0x2eeff6(0x106)),PerformanceEvents=require(a18_0x2eeff6(0xdf))[a18_0x2eeff6(0xf3)],BrowserstackCLI=require(a18_0x2eeff6(0xe3)),{checkPwandBootstrapCli}=require(a18_0x2eeff6(0x126)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x2eeff6(0xba)),getMaxWorkers=(_0x1ca423,_0x408db1)=>{const _0x5d5ab7=a18_0x2eeff6,_0x33716e={'FuzSY':function(_0x5027d5,_0x2cc1c2){return _0x5027d5(_0x2cc1c2);}};let _0x4f1b41=0x1;if(!helper['isUndefined'](_0x408db1[_0x5d5ab7(0x11f)]))_0x4f1b41=_0x33716e[_0x5d5ab7(0xf9)](parseInt,_0x408db1[_0x5d5ab7(0x11f)]);else!helper['isUndefined'](_0x1ca423['maxWorkers'])&&(_0x4f1b41=_0x1ca423[_0x5d5ab7(0xb0)]);return _0x4f1b41;},resolveJasmineConfigPath=()=>{const _0x453355=a18_0x2eeff6,_0x9890d9={};_0x9890d9[_0x453355(0xed)]=_0x453355(0xf4);const _0x22fd4b=_0x9890d9,_0x214bf3=[];process['env'][_0x453355(0x91)]&&_0x214bf3['push'](path['resolve'](process[_0x453355(0xdd)](),process[_0x453355(0xad)][_0x453355(0x91)]));_0x214bf3[_0x453355(0x12c)](path[_0x453355(0x9c)](process['cwd'](),_0x22fd4b[_0x453355(0xed)]));for(const _0x385e83 of _0x214bf3){try{if(fs['existsSync'](_0x385e83))return _0x385e83;}catch(_0x54a3da){}}return null;},enumerateSpecFiles=_0x186ab3=>{const _0x49b747=a18_0x2eeff6,_0x2d924c={'ppPMW':function(_0x18fac5,_0x4fa629){return _0x18fac5(_0x4fa629);},'Tqafe':function(_0x51a3e4,_0x170dd2){return _0x51a3e4>_0x170dd2;},'TtwYm':function(_0x412676,_0x1f0e9c){return _0x412676<_0x1f0e9c;},'KtaZx':function(_0x25c31a,_0x1a29c0){return _0x25c31a===_0x1a29c0;},'INAIi':_0x49b747(0xb6),'IozqB':function(_0x13626f,_0x3003a7){return _0x13626f>_0x3003a7;},'AQLPb':function(_0xf2d512,_0x29c3a8,_0x3d26e4){return _0xf2d512(_0x29c3a8,_0x3d26e4);},'HFPYn':function(_0x2a6ed4){return _0x2a6ed4();},'VUKZu':'utf8','hYvaL':_0x49b747(0xb2),'UEpDE':'**/*[sS]pec.?(m)js','QweTR':function(_0x4aa7ff,_0x4d4af4,_0x19cd1f){return _0x4aa7ff(_0x4d4af4,_0x19cd1f);},'iLBYu':function(_0x2ec477,_0x3e275f){return _0x2ec477(_0x3e275f);}};try{if(testOpsHelper[_0x49b747(0xb4)]()){const _0x50361c=testOpsHelper[_0x49b747(0x10e)](process[_0x49b747(0xad)][_0x49b747(0x124)]);if(Array['isArray'](_0x50361c)&&_0x2d924c[_0x49b747(0x122)](_0x50361c[_0x49b747(0xde)],0x0))return _0x50361c[_0x49b747(0x105)](_0x3aba50=>path[_0x49b747(0x9c)](process[_0x49b747(0xdd)](),_0x3aba50[_0x49b747(0xef)]()))[_0x49b747(0xf1)](Boolean);}}catch(_0x3b6013){_0x2d924c[_0x49b747(0xa9)](debug,_0x49b747(0xbe)+util[_0x49b747(0xfb)](_0x3b6013));}const _0x37e619=[];try{for(let _0xb7f694=0x1;_0x2d924c[_0x49b747(0x104)](_0xb7f694,_0x186ab3['length']);_0xb7f694++){const _0xd1a9aa=_0x186ab3[_0xb7f694];_0x2d924c[_0x49b747(0x9d)](typeof _0xd1a9aa,_0x2d924c[_0x49b747(0xea)])&&!_0xd1a9aa['startsWith']('-')&&_0x37e619[_0x49b747(0x12c)](_0xd1a9aa);}}catch(_0x3cd93a){}const _0x4de846={'cwd':process[_0x49b747(0xdd)](),'absolute':!![],'nodir':!![]},_0x13f336=(_0x357bd0,_0x3d1ee4)=>{const _0x46ac6f=_0x49b747,_0x467d01=[];for(const _0xc27fe5 of _0x357bd0){try{const _0x2d2934=_0x3d1ee4?path[_0x46ac6f(0x110)]['join'](_0x3d1ee4,_0xc27fe5):_0xc27fe5,_0x5ef5a6=glob['globSync'](_0x2d2934,_0x4de846);Array[_0x46ac6f(0x96)](_0x5ef5a6)&&_0x467d01['push'](..._0x5ef5a6);}catch(_0x271d6c){_0x2d924c[_0x46ac6f(0xa9)](debug,_0x46ac6f(0xda)+_0xc27fe5+'\x27\x20:\x20'+util[_0x46ac6f(0xfb)](_0x271d6c));}}return _0x467d01;};if(_0x2d924c[_0x49b747(0x98)](_0x37e619[_0x49b747(0xde)],0x0)){const _0x23b8ef=_0x2d924c['AQLPb'](_0x13f336,_0x37e619,null);if(_0x2d924c[_0x49b747(0x122)](_0x23b8ef[_0x49b747(0xde)],0x0))return Array['from'](new Set(_0x23b8ef));return _0x37e619[_0x49b747(0x105)](_0xead965=>path[_0x49b747(0x9c)](process[_0x49b747(0xdd)](),_0xead965));}try{const _0x38481c=_0x2d924c[_0x49b747(0xe7)](resolveJasmineConfigPath);if(_0x38481c){const _0x34c18c=JSON[_0x49b747(0xee)](fs[_0x49b747(0x10a)](_0x38481c,_0x2d924c['VUKZu'])),_0x175cf8=_0x34c18c[_0x49b747(0xc7)]||_0x2d924c[_0x49b747(0xc4)],_0x51e17e=Array[_0x49b747(0x96)](_0x34c18c[_0x49b747(0xa5)])&&_0x2d924c[_0x49b747(0x122)](_0x34c18c['spec_files'][_0x49b747(0xde)],0x0)?_0x34c18c[_0x49b747(0xa5)]:[_0x2d924c[_0x49b747(0xa4)]],_0x5e61d4=_0x2d924c['QweTR'](_0x13f336,_0x51e17e,_0x175cf8);if(_0x2d924c[_0x49b747(0x122)](_0x5e61d4[_0x49b747(0xde)],0x0))return Array[_0x49b747(0x132)](new Set(_0x5e61d4));}}catch(_0x5ee809){_0x2d924c[_0x49b747(0xa6)](debug,_0x49b747(0xf7)+util[_0x49b747(0xfb)](_0x5ee809));}return null;};async function run(_0x677b41,_0x2b2dcd,_0x414d0d){const _0x5b23e5=a18_0x2eeff6,_0x20d4fa={'jZeXh':function(_0x24b41e,_0x41e7d8){return _0x24b41e>_0x41e7d8;},'kkPMM':function(_0x26b25a,_0x56d231){return _0x26b25a>_0x56d231;},'UMFRn':_0x5b23e5(0x92),'tcvRG':function(_0x3664d2,_0x1caf89){return _0x3664d2(_0x1caf89);},'comut':function(_0x1710e9,_0x3504d5){return _0x1710e9||_0x3504d5;},'WVKtU':function(_0x308404,_0x2a7dfd){return _0x308404(_0x2a7dfd);},'PNexL':function(_0x1ea03d,_0x272845){return _0x1ea03d(_0x272845);},'xazZE':function(_0x2fa127,_0x3ddfc6){return _0x2fa127>_0x3ddfc6;},'dJBES':function(_0x153137,_0x2bdf73,_0x2b75b2,_0x202eb1){return _0x153137(_0x2bdf73,_0x2b75b2,_0x202eb1);},'IDnuF':_0x5b23e5(0xe1),'vKiXu':_0x5b23e5(0x8e),'hlzcZ':function(_0x2dbc30,_0x2697f5){return _0x2dbc30===_0x2697f5;},'WPCeQ':_0x5b23e5(0xfd),'jtpNV':_0x5b23e5(0x121),'VAMvu':_0x5b23e5(0xfc),'jHTSH':'error','FjxxJ':_0x5b23e5(0x10c),'DeRKY':function(_0x1a3e2c){return _0x1a3e2c();},'jkoRV':function(_0x3af773,_0xb85a3c,_0x2e7658,_0x5d1fe1){return _0x3af773(_0xb85a3c,_0x2e7658,_0x5d1fe1);},'rIrgJ':function(_0x1cc392,_0x1d485f){return _0x1cc392!=_0x1d485f;},'dOODp':'true','bcZGN':function(_0x12ed64,_0x4239e0){return _0x12ed64(_0x4239e0);},'ofaQt':function(_0x3e335a,_0x5854c2){return _0x3e335a(_0x5854c2);},'eXoPQ':function(_0x31eb35,_0x50cdf8,_0x3216f8){return _0x31eb35(_0x50cdf8,_0x3216f8);},'aqGhC':function(_0x1abf94,_0x585abd){return _0x1abf94*_0x585abd;},'DuUEL':function(_0x413909,_0x41c514){return _0x413909(_0x41c514);},'tQyAt':'test.setup.js','Gdxao':function(_0x26b20f,_0x2d0cfc){return _0x26b20f(_0x2d0cfc);},'ZWXVO':function(_0x35272e,_0x1fdf54){return _0x35272e(_0x1fdf54);},'aodFF':function(_0xda5943,_0x35025f){return _0xda5943(_0x35025f);},'TadNP':function(_0x2f9c28,_0x21697f){return _0x2f9c28<_0x21697f;},'QFOWT':function(_0x4c1ce4,_0x1476d0){return _0x4c1ce4>_0x1476d0;},'xnJdH':function(_0x2d1175,_0x29ad9d){return _0x2d1175(_0x29ad9d);}},_0x3d4126=helper[_0x5b23e5(0xe6)](_0x20d4fa[_0x5b23e5(0x12a)]);global[_0x5b23e5(0xbb)]=!!_0x3d4126;const _0x526b55=_0x20d4fa[_0x5b23e5(0xaf)](getPuppeteerVersion);global[_0x5b23e5(0xd8)]=!!_0x526b55;helper[_0x5b23e5(0xf2)]()&&(await _0x414d0d[_0x5b23e5(0xac)](_0x677b41),await helper[_0x5b23e5(0xe9)](_0x414d0d[_0x5b23e5(0x116)]));if(_0x3d4126)await _0x20d4fa[_0x5b23e5(0xce)](checkPwandBootstrapCli,_0x3d4126,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)],_0x414d0d);else _0x526b55&&await _0x20d4fa[_0x5b23e5(0x129)](checkPuppeteerAndBootstrapCli,_0x526b55,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)],_0x414d0d);if(!_0x414d0d[_0x5b23e5(0x116)])return;_0x20d4fa[_0x5b23e5(0x133)](_0x414d0d[_0x5b23e5(0x116)][_0x5b23e5(0x9e)],null)?process[_0x5b23e5(0xad)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x414d0d[_0x5b23e5(0x116)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x20d4fa[_0x5b23e5(0x10b)];!helper[_0x5b23e5(0xa1)](_0x414d0d[_0x5b23e5(0x116)][_0x5b23e5(0xa7)])&&(process[_0x5b23e5(0xad)][_0x5b23e5(0xcf)]=JSON['stringify'](_0x414d0d[_0x5b23e5(0x116)]['accessibilityOptions']));try{await TestHubHandler[_0x5b23e5(0x11d)](FRAMEWORKS['JASMINE'],_0x414d0d);}catch(_0x55d852){logger[_0x5b23e5(0x12f)](_0x5b23e5(0xd6)+util[_0x5b23e5(0xfb)](_0x55d852)),_0x20d4fa['WVKtU'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x5b23e5(0xfb)](_0x55d852));}let _0x515c4a=![],_0x3bf8cf=[];try{_0x515c4a=helper[_0x5b23e5(0x11e)](_0x414d0d['config']),_0x3bf8cf=helper[_0x5b23e5(0x11b)](_0x414d0d['config'],_0x515c4a,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)]),process['env'][_0x5b23e5(0x109)]=JSON['stringify'](_0x3bf8cf);}catch(_0x21fba4){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x5b23e5(0xfb)](_0x21fba4));}let _0x2dfbba=null,_0xa7f6cd=![];try{_0x2dfbba=helper[_0x5b23e5(0x123)](_0x414d0d[_0x5b23e5(0x116)]),_0xa7f6cd=helper[_0x5b23e5(0x9a)](_0x414d0d[_0x5b23e5(0x116)]);}catch(_0x5e1ab6){_0x20d4fa[_0x5b23e5(0xca)](debug,_0x5b23e5(0x114)+util[_0x5b23e5(0xfb)](_0x5e1ab6));}let _0x2c7e5={};try{_0x2c7e5=helper[_0x5b23e5(0xd7)](_0x414d0d[_0x5b23e5(0x116)],_0x515c4a,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)]);}catch(_0x3ae2d5){_0x20d4fa['ofaQt'](debug,'Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20'+util['format'](_0x3ae2d5));}const _0x46bc2c=_0x2073d6=>{const _0xbeeb6a=_0x5b23e5,_0x33798a=Array['isArray'](_0x3bf8cf)&&_0x20d4fa[_0xbeeb6a(0x95)](_0x3bf8cf['length'],_0x2073d6)?_0x3bf8cf[_0x2073d6]:Array[_0xbeeb6a(0x96)](_0x3bf8cf)&&_0x20d4fa[_0xbeeb6a(0xae)](_0x3bf8cf['length'],0x0)?_0x3bf8cf[0x0]:{};return Object[_0xbeeb6a(0x127)]({'server':_0x2dfbba,'capability':_0x33798a,'proxySettings':_0x414d0d[_0xbeeb6a(0x116)][_0xbeeb6a(0xd3)],'platform':helper[_0xbeeb6a(0xcd)](_0x33798a),'browserStackLogLevel':_0x414d0d[_0xbeeb6a(0x116)]['logLevel'],'platformIndex':_0x2073d6,'framework':constants['FRAMEWORKS'][_0xbeeb6a(0x12d)],'platformCaps':_0xa7f6cd?Object[_0xbeeb6a(0x127)]({'index':_0x2073d6},_0x414d0d['config']['platforms'][_0x2073d6]):{'index':_0x2073d6}},_0x2c7e5);};let _0x3e6a1c=0x1,_0x4f500d=0x1,_0x11266f=0x1;try{_0x3e6a1c=_0x20d4fa[_0x5b23e5(0xd0)](getMaxWorkers,_0x677b41,_0x414d0d[_0x5b23e5(0x116)]),_0x4f500d=_0xa7f6cd?_0x414d0d[_0x5b23e5(0x116)]['platforms'][_0x5b23e5(0xde)]:0x1,_0x11266f=_0x20d4fa[_0x5b23e5(0xe0)](_0x4f500d,_0x3e6a1c),process[_0x5b23e5(0xad)][_0x5b23e5(0x12b)]=_0x20d4fa['tcvRG'](String,_0x11266f);}catch(_0x1f687d){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util[_0x5b23e5(0xfb)](_0x1f687d));}try{BrowserstackCLI['getInstance']()[_0x5b23e5(0x120)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()[_0x5b23e5(0x120)]);}catch(_0x3eb5ca){_0x20d4fa['DuUEL'](debug,_0x5b23e5(0xb3)+util[_0x5b23e5(0xfb)](_0x3eb5ca));}const _0x3be51a=[];try{const _0x12b51a=path[_0x5b23e5(0x9c)](__dirname,_0x20d4fa[_0x5b23e5(0x8d)]);fs[_0x5b23e5(0xdb)](_0x12b51a)?_0x3be51a[_0x5b23e5(0x12c)](_0x5b23e5(0x111)+_0x12b51a):_0x20d4fa[_0x5b23e5(0xd4)](debug,_0x5b23e5(0x101)+_0x12b51a+_0x5b23e5(0xc0));}catch(_0xa678de){_0x20d4fa[_0x5b23e5(0xa2)](debug,_0x5b23e5(0xab)+util[_0x5b23e5(0xfb)](_0xa678de));}const _0x30b3e2=_0x2b2dcd[_0x5b23e5(0xbf)](0x1),_0x47541f=_0x20d4fa[_0x5b23e5(0xfa)](enumerateSpecFiles,_0x2b2dcd),_0x5d27a7=[];for(let _0x3e4a95=0x0;_0x20d4fa[_0x5b23e5(0x107)](_0x3e4a95,_0x4f500d);_0x3e4a95++){if(_0x20d4fa[_0x5b23e5(0x93)](_0x3e6a1c,0x1)&&Array['isArray'](_0x47541f)&&_0x20d4fa[_0x5b23e5(0xae)](_0x47541f[_0x5b23e5(0xde)],0x0))for(const _0x17ff12 of _0x47541f){const _0x414a05={};_0x414a05['platformIndex']=_0x3e4a95,_0x414a05['specArgs']=[_0x17ff12],_0x5d27a7[_0x5b23e5(0x12c)](_0x414a05);}else{const _0x25c896={};_0x25c896['platformIndex']=_0x3e4a95,_0x25c896[_0x5b23e5(0x130)]=_0x47541f,_0x5d27a7[_0x5b23e5(0x12c)](_0x25c896);}}logger['info'](_0x5b23e5(0xa0)+_0x4f500d+_0x5b23e5(0x94)+_0x3e6a1c+'\x20('+_0x5d27a7[_0x5b23e5(0xde)]+_0x5b23e5(0x10d)+_0x11266f+_0x5b23e5(0xfe)),PerformanceTester[_0x5b23e5(0x119)](PerformanceEvents[_0x5b23e5(0x128)]);const _0x13d2c7=_0x130e50=>new Promise(_0x2303c6=>{const _0x3f4e75=_0x5b23e5,_0x42648c={'zkpsy':_0x20d4fa[_0x3f4e75(0x90)],'bCyrW':function(_0x49f672,_0x191f0a){const _0xaaf4c9=_0x3f4e75;return _0x20d4fa[_0xaaf4c9(0xf0)](_0x49f672,_0x191f0a);},'oEVxk':function(_0x1a1465,_0x346d69){const _0x239a13=_0x3f4e75;return _0x20d4fa[_0x239a13(0xf5)](_0x1a1465,_0x346d69);},'rPzPE':function(_0x23acfc,_0x1ab2d0){const _0x374f79=_0x3f4e75;return _0x20d4fa[_0x374f79(0xb9)](_0x23acfc,_0x1ab2d0);},'CIJTc':function(_0x3cd7f3,_0x626590){const _0xeb3d5f=_0x3f4e75;return _0x20d4fa[_0xeb3d5f(0xdc)](_0x3cd7f3,_0x626590);}};let _0x1c1f70;try{const _0x117f82=_0x20d4fa['WVKtU'](_0x46bc2c,_0x130e50[_0x3f4e75(0xbd)]);_0x1c1f70=Object[_0x3f4e75(0x127)]({},process[_0x3f4e75(0xad)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x3f4e75(0x103)](_0x117f82),'BROWSERSTACK_CAPABILITIES':JSON[_0x3f4e75(0x103)]([_0x117f82['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x13e004){_0x20d4fa[_0x3f4e75(0xb9)](debug,_0x3f4e75(0x8c)+_0x130e50['platformIndex']+_0x3f4e75(0x11a)+util[_0x3f4e75(0xfb)](_0x13e004)),_0x1c1f70=Object[_0x3f4e75(0x127)]({},process[_0x3f4e75(0xad)]);}const _0x12e89f=Array[_0x3f4e75(0x96)](_0x130e50[_0x3f4e75(0x130)])?_0x130e50['specArgs']:[],_0x1b2224=_0x20d4fa['xazZE'](_0x12e89f[_0x3f4e75(0xde)],0x0)?_0x30b3e2[_0x3f4e75(0xf1)](_0x4df9ba=>typeof _0x4df9ba===_0x3f4e75(0xb6)&&_0x4df9ba[_0x3f4e75(0x8f)]('-')):_0x30b3e2,_0x1bbb93=[..._0x3be51a,..._0x1b2224,..._0x12e89f];try{const _0x49054d=_0x20d4fa['dJBES'](spawn,_0x20d4fa[_0x3f4e75(0xec)],[_0x20d4fa[_0x3f4e75(0x11c)],..._0x1bbb93],{'shell':_0x20d4fa['hlzcZ'](process[_0x3f4e75(0xc9)],_0x20d4fa[_0x3f4e75(0x10f)]),'stdio':_0x20d4fa[_0x3f4e75(0xe2)],'env':_0x1c1f70});_0x49054d['on'](_0x20d4fa[_0x3f4e75(0x99)],_0x4cd7d5=>{const _0x12992f=_0x3f4e75;logger[_0x12992f(0xe8)](_0x12992f(0x118)+_0x130e50['platformIndex']+_0x12992f(0x131)+(_0x12e89f[_0x12992f(0xde)]?_0x12e89f[_0x12992f(0xc2)](','):_0x42648c['zkpsy'])+')\x20exited\x20with\x20code\x20'+_0x4cd7d5),_0x42648c['bCyrW'](_0x2303c6,_0x42648c[_0x12992f(0xbc)](_0x4cd7d5,0x0));}),_0x49054d['on'](_0x20d4fa[_0x3f4e75(0x9f)],_0x23afdf=>{const _0x450f22=_0x3f4e75;_0x42648c[_0x450f22(0xf8)](debug,_0x450f22(0x112)+_0x130e50[_0x450f22(0xbd)]+')\x20:\x20'+util[_0x450f22(0xfb)](_0x23afdf)),_0x42648c[_0x450f22(0xb5)](_0x2303c6,0x1);});}catch(_0x5ec5a4){_0x20d4fa[_0x3f4e75(0xb9)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x130e50[_0x3f4e75(0xbd)]+_0x3f4e75(0x117)+util['format'](_0x5ec5a4)),_0x20d4fa[_0x3f4e75(0xb9)](_0x2303c6,0x1);}}),_0x1d0ce9=_0x20d4fa[_0x5b23e5(0xeb)](pLimit,_0x20d4fa[_0x5b23e5(0x93)](_0x11266f,0x0)?_0x11266f:0x1),_0x3356cf=await Promise[_0x5b23e5(0x92)](_0x5d27a7[_0x5b23e5(0x105)](_0x406c64=>_0x1d0ce9(()=>_0x13d2c7(_0x406c64))));PerformanceTester[_0x5b23e5(0xa3)](PerformanceEvents[_0x5b23e5(0x113)]);const _0x40bd8c=_0x3356cf[_0x5b23e5(0xc5)](_0x6ec58e=>_0x6ec58e!==0x0)||0x0;process[_0x5b23e5(0xcc)]=_0x40bd8c,logger[_0x5b23e5(0xe8)](_0x5b23e5(0x97)+_0x40bd8c);const _0x25c5ce=BrowserstackCLI[_0x5b23e5(0xb8)]();try{await TestHubHandler[_0x5b23e5(0xd1)](),await BrowserstackCLI[_0x5b23e5(0x115)]()['stop']();}catch(_0x10e903){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5b23e5(0xfb)](_0x10e903));}testOpsHelper['printBuildLink'](),await utilities['finalExecution'](_0x414d0d,_0x25c5ce);}module[a18_0x2eeff6(0x134)]=run;
@@ -1 +1 @@
1
- 'use strict';const a19_0x1c53ee=a19_0x1100;(function(_0x59fb0e,_0x48c48e){const _0x4bdfd3=a19_0x1100,_0x44e143=_0x59fb0e();while(!![]){try{const _0x543577=parseInt(_0x4bdfd3(0x7d))/0x1+-parseInt(_0x4bdfd3(0xbf))/0x2+parseInt(_0x4bdfd3(0xc6))/0x3+parseInt(_0x4bdfd3(0xdb))/0x4*(parseInt(_0x4bdfd3(0x101))/0x5)+-parseInt(_0x4bdfd3(0xed))/0x6*(-parseInt(_0x4bdfd3(0xb4))/0x7)+parseInt(_0x4bdfd3(0xba))/0x8+parseInt(_0x4bdfd3(0xe4))/0x9*(-parseInt(_0x4bdfd3(0x96))/0xa);if(_0x543577===_0x48c48e)break;else _0x44e143['push'](_0x44e143['shift']());}catch(_0xba3180){_0x44e143['push'](_0x44e143['shift']());}}}(a19_0x48c4,0x5490e));const util=require(a19_0x1c53ee(0xf2)),logger=require(a19_0x1c53ee(0xbe))['winstonLogger'],helper=require(a19_0x1c53ee(0x7c)),globals=require(a19_0x1c53ee(0x90)),{shouldProcessEventForTesthub}=require(a19_0x1c53ee(0xd5)),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a19_0x1c53ee(0x80)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x1c53ee(0xe1)]['BROWSERSTACK_JASMINE_CONFIG']||process[a19_0x1c53ee(0xe1)][a19_0x1c53ee(0xad)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x1c53ee(0xc3)](rawConfig));}catch(a19_0x55886c){logger[a19_0x1c53ee(0xea)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x1c53ee(0xc9)](a19_0x55886c));}function a19_0x1100(_0x2f293b,_0x5e8fe1){const _0x48c424=a19_0x48c4();return a19_0x1100=function(_0x110053,_0xa32b29){_0x110053=_0x110053-0x7a;let _0x11e63c=_0x48c424[_0x110053];return _0x11e63c;},a19_0x1100(_0x2f293b,_0x5e8fe1);}try{if(_bstackConfig&&!helper[a19_0x1c53ee(0xaa)](a19_0x1c53ee(0xb7))){const ldTDwE=a19_0x1c53ee(0xcb)[a19_0x1c53ee(0xbc)]('|');let xwEfOD=0x0;while(!![]){switch(ldTDwE[xwEfOD++]){case'0':helper['isBrowserstackInfra']()?(global['__skipSessionName']=helper[a19_0x1c53ee(0x87)](_bstackConfig[a19_0x1c53ee(0xe0)]),global[a19_0x1c53ee(0x86)]=helper['isTrue'](_bstackConfig[a19_0x1c53ee(0xfb)])):(global['__skipSessionName']=!![],global[a19_0x1c53ee(0x86)]=!![]);continue;case'1':global[a19_0x1c53ee(0xc2)]=_bstackConfig[a19_0x1c53ee(0xb2)]||{};continue;case'2':logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xbb));continue;case'3':shouldProcessEventForTesthub()?require(a19_0x1c53ee(0xce))[a19_0x1c53ee(0xd0)](_bstackConfig,null,!![]):require(a19_0x1c53ee(0xce))['browserstackAgentV2'](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;}break;}}}catch(a19_0x3d191b){logger['debug']('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util['format'](a19_0x3d191b));}const _fileNameByFullName={};try{if(typeof describe===a19_0x1c53ee(0x83)&&typeof global!==a19_0x1c53ee(0xee)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x1b8e5c=a19_0x1c53ee,_0x105a79={'KTiJR':function(_0x562ad0,_0x3826cd){return _0x562ad0(_0x3826cd);},'FJrug':_0x1b8e5c(0x9e),'PHNGC':_0x1b8e5c(0x102),'mUimk':_0x1b8e5c(0xab)},_0x4bce7c=Error[_0x1b8e5c(0xd1)];try{const _0x5d7022=new Error();Error['prepareStackTrace']=(_0x5b6cb2,_0x45c088)=>_0x45c088;const _0x213955=_0x5d7022[_0x1b8e5c(0xc4)];Error[_0x1b8e5c(0xd1)]=_0x4bce7c;if(Array[_0x1b8e5c(0xf8)](_0x213955))for(const _0x2a3fed of _0x213955){const _0xb56f18=_0x2a3fed[_0x1b8e5c(0xb1)]&&_0x2a3fed[_0x1b8e5c(0xb1)]();if(_0xb56f18&&!_0xb56f18['includes'](_0x1b8e5c(0xc0)+_0x105a79[_0x1b8e5c(0xff)](require,_0x105a79[_0x1b8e5c(0x91)])[_0x1b8e5c(0x8a)]+_0x1b8e5c(0xec)+_0x105a79[_0x1b8e5c(0xff)](require,_0x105a79[_0x1b8e5c(0x91)])[_0x1b8e5c(0x8a)])&&!_0xb56f18[_0x1b8e5c(0xcd)](_0x105a79[_0x1b8e5c(0xf3)])&&!_0xb56f18[_0x1b8e5c(0xb6)](_0x105a79[_0x1b8e5c(0xd9)]))return _0xb56f18;}}catch(_0x427ad6){Error[_0x1b8e5c(0xd1)]=_0x4bce7c;}return null;},_wrappedDescribe=function(_0x524cb5,_0x1f709a){const _0x167930=a19_0x1c53ee,_0x53b501={'GOWra':function(_0x1b6f9d){return _0x1b6f9d();},'jGxFa':function(_0x2fed83,_0x40fc87){return _0x2fed83&&_0x40fc87;},'DUwbt':function(_0x393696,_0x878ccd,_0x2fc578){return _0x393696(_0x878ccd,_0x2fc578);}};let _0x3decd3=null;try{_0x3decd3=_0x53b501[_0x167930(0xa2)](_resolveCallerFile);}catch(_0x21f16f){}_describeTitleStack['push'](_0x524cb5);const _0x4e1617=_describeTitleStack[_0x167930(0xd6)]('\x20');_0x53b501[_0x167930(0xef)](_0x3decd3,_0x4e1617)&&(_fileNameByFullName[_0x4e1617]=_0x3decd3);try{return _0x53b501['DUwbt'](_origDescribe,_0x524cb5,_0x1f709a);}finally{_describeTitleStack[_0x167930(0xde)]();}};Object[a19_0x1c53ee(0x84)](_origDescribe)[a19_0x1c53ee(0xe2)](_0x4040f1=>{_wrappedDescribe[_0x4040f1]=_origDescribe[_0x4040f1];}),global['describe']=_wrappedDescribe;}}catch(a19_0x370d12){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xcf)+util[a19_0x1c53ee(0xc9)](a19_0x370d12));}try{if(typeof jasmine!=='undefined'&&jasmine[a19_0x1c53ee(0x8c)]){const BrowserStackJasmineReporter=require(a19_0x1c53ee(0x81)),a19_0x517877={};a19_0x517877[a19_0x1c53ee(0xe7)]=_fileNameByFullName,jasmine[a19_0x1c53ee(0x8c)]()[a19_0x1c53ee(0xa9)](new BrowserStackJasmineReporter(a19_0x517877)),logger[a19_0x1c53ee(0xea)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xd7));}catch(a19_0x37991b){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0x9f)+util[a19_0x1c53ee(0xc9)](a19_0x37991b));}try{typeof jasmine!==a19_0x1c53ee(0xee)&&jasmine['getEnv']&&jasmine[a19_0x1c53ee(0x8c)]()[a19_0x1c53ee(0xa9)]({'specStarted'(_0x58f3d5){const _0x31a07f=a19_0x1c53ee,_0x339e87={};_0x339e87['eQNaz']=function(_0x35663b,_0x3db58a){return _0x35663b||_0x3db58a;};const _0x2dee84=_0x339e87;_activeResultId=_0x58f3d5&&_0x58f3d5['id'],_activeFullName=_0x58f3d5&&_0x58f3d5[_0x31a07f(0x107)],_activeResultRef=_0x2dee84['eQNaz'](_0x58f3d5,null);},'specDone'(){}});}catch(a19_0x1ed763){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0x93)+util[a19_0x1c53ee(0xc9)](a19_0x1ed763));}const _resolveAutoScanning=()=>{const _0x42464d=a19_0x1c53ee,_0x149395={};_0x149395['TnqmZ']=function(_0x459570,_0x6d37f3){return _0x459570===_0x6d37f3;};const _0x290bc0=_0x149395;let _0x58c5ed=!![];try{const _0x5845dc=JSON[_0x42464d(0xc3)](process[_0x42464d(0xe1)][_0x42464d(0x103)]||'{}');_0x290bc0[_0x42464d(0xc1)](_0x5845dc[_0x42464d(0x9b)],![])&&(_0x58c5ed=![]);}catch(_0x3e221a){logger[_0x42464d(0xea)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x3e221a['message']);}return _0x58c5ed;};try{typeof beforeEach===a19_0x1c53ee(0x83)&&beforeEach(function bstackA11yBeforeEach(){const _0x9171fb=a19_0x1c53ee,_0x5652b1={'xnfcZ':function(_0x2be603){return _0x2be603();},'jMFbJ':function(_0x1e6b53,_0x7d3931,_0xd565a7){return _0x1e6b53(_0x7d3931,_0xd565a7);},'FBvWi':function(_0x110b52,_0x5a22d2){return _0x110b52&&_0x5a22d2;},'oMBjs':'bstackA11yShouldScan','CQxIZ':_0x9171fb(0xa6)};try{const _0x21e702=_0x5652b1[_0x9171fb(0xb0)](_resolveAutoScanning),_0x3439eb=_0x5652b1[_0x9171fb(0xdd)](shouldScanTestForAccessibility,null,![]),_0x23257d=_0x5652b1[_0x9171fb(0xc7)](_0x21e702,_0x3439eb);globals[_0x9171fb(0xeb)](_0x5652b1['oMBjs'],_0x23257d),globals[_0x9171fb(0xeb)](_0x5652b1[_0x9171fb(0xca)],null);}catch(_0x25ca7b){logger[_0x9171fb(0xea)](_0x9171fb(0x106)+util[_0x9171fb(0xc9)](_0x25ca7b));}}),typeof afterEach===a19_0x1c53ee(0x83)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x88074=a19_0x1c53ee,_0x21c07c={'mUqEF':function(_0x272e22,_0x4d65da){return _0x272e22>_0x4d65da;},'QqBfG':function(_0x565f22,_0x45cd4d){return _0x565f22>_0x45cd4d;},'GCDOG':_0x88074(0xfe),'rmYXr':function(_0x1bac79,_0x4b498f){return _0x1bac79+_0x4b498f;},'YwoFB':_0x88074(0xdc),'jCgGJ':_0x88074(0x98),'IDDKl':_0x88074(0x8e),'FiKui':'info','mYxln':_0x88074(0xf6),'FAYtW':_0x88074(0x105),'ToyNr':function(_0x3dafa1){return _0x3dafa1();},'RNNsJ':'isAccessibilityPlatform','lUBFI':_0x88074(0xcc),'zwIjo':_0x88074(0xa0),'ZkiaN':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','rJady':_0x88074(0xe6),'XKoJt':_0x88074(0xa1),'ZZPqQ':_0x88074(0x9a),'VbnIJ':_0x88074(0x7b),'yRXcS':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x8b)](global[_0x88074(0x7f)][_0x88074(0xf7)],0x1)){const _0x3e65fc=global[_0x88074(0x7f)][0x0];try{await _0x3e65fc[_0x88074(0x9c)],await _0x3e65fc[_0x88074(0xac)]();}catch(_0x27c665){logger[_0x88074(0xea)](_0x88074(0xe3)+util[_0x88074(0xc9)](_0x27c665));}global['__drivers'][_0x88074(0x97)]();}}catch(_0x5d7c5d){logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20'+util[_0x88074(0xc9)](_0x5d7c5d));}try{if(Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x100)](global['__drivers'][_0x88074(0xf7)],0x0)&&global['__drivers'][0x0]){const _0x29f7b0=_activeFullName||global[_0x88074(0xd8)];if(!global['__skipSessionName']&&_0x29f7b0){global[_0x88074(0xd8)]=_0x29f7b0;try{await global[_0x88074(0x7f)][0x0][_0x88074(0xfa)](_0x88074(0xc5)+JSON[_0x88074(0xe8)](_0x29f7b0)+'}}'),global[_0x88074(0x7f)][0x0][_0x88074(0xa7)]=!![];}catch(_0xab081f){logger[_0x88074(0xea)](_0x88074(0xa4)+util[_0x88074(0xc9)](_0xab081f));}}if(!global[_0x88074(0x86)])try{const _0x5c7ff7=_activeResultRef&&Array[_0x88074(0xf8)](_activeResultRef[_0x88074(0x82)])?_activeResultRef[_0x88074(0x82)]:[],_0x200e63=_0x21c07c[_0x88074(0x100)](_0x5c7ff7['length'],0x0),_0x1d0120=_0x200e63?_0x5c7ff7[0x0]&&_0x5c7ff7[0x0][_0x88074(0xb9)]||_0x21c07c[_0x88074(0xa3)]:null;try{await global[_0x88074(0x7f)][0x0][_0x88074(0xfa)](_0x88074(0xf0)+JSON[_0x88074(0xe8)](_0x200e63?_0x21c07c[_0x88074(0xa8)](_0x21c07c[_0x88074(0x104)],_0x1d0120):_0x21c07c[_0x88074(0xaf)])+_0x88074(0xbd)+(_0x200e63?_0x21c07c[_0x88074(0xfd)]:_0x21c07c[_0x88074(0xf9)])+_0x88074(0xf1));}catch(_0x257d5a){logger[_0x88074(0xea)](_0x88074(0xdf)+util[_0x88074(0xc9)](_0x257d5a));}_0x200e63&&(global[_0x88074(0x92)]=!![]),await helper[_0x88074(0xf5)](global[_0x88074(0x7f)][0x0],_0x200e63?_0x21c07c[_0x88074(0x7a)]:_0x21c07c[_0x88074(0xf4)],_0x1d0120);}catch(_0x7dfcd3){logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x88074(0xc9)](_0x7dfcd3));}}}catch(_0x1aa876){logger[_0x88074(0xea)](_0x88074(0xb3)+util[_0x88074(0xc9)](_0x1aa876));}try{if(_0x21c07c[_0x88074(0xa5)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x21c07c[_0x88074(0x99)])&&Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x100)](global[_0x88074(0x7f)][_0x88074(0xf7)],0x0)&&global[_0x88074(0x7f)][0x0]){const _0x13450a=testRunMap['get'](_activeResultId),_0x7d5cb9={};_0x7d5cb9[_0x88074(0xd4)]=_0x13450a,_0x7d5cb9['thBuildUuid']=process[_0x88074(0xe1)][testHubConstants[_0x88074(0xc8)][_0x88074(0x89)]],_0x7d5cb9[_0x88074(0xb8)]=process['env'][testHubConstants[_0x88074(0xc8)][_0x88074(0x85)]];const _0x47b605=_0x7d5cb9;logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x88074(0xe8)](_0x47b605));if(globals['getGlobal'](_0x21c07c[_0x88074(0x95)])){logger[_0x88074(0xea)](_0x21c07c['zwIjo']);const _0x58cb77=await accessibilityRetryHelper['performScanWithRetry'](global[_0x88074(0x7f)][0x0],global[_0x88074(0x94)]);_0x58cb77?logger[_0x88074(0xea)](_0x21c07c[_0x88074(0x9d)]):logger[_0x88074(0x8f)](_0x21c07c[_0x88074(0x8d)]);}else logger[_0x88074(0xea)](_0x21c07c['XKoJt']);globals[_0x88074(0x88)](_0x21c07c[_0x88074(0x7e)])&&(_0x47b605[_0x88074(0xfc)]=!![]);const _0x245ba6=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x47b605);_0x245ba6?logger[_0x88074(0xea)](_0x21c07c[_0x88074(0xda)]):logger[_0x88074(0x8f)](_0x21c07c[_0x88074(0xd3)]);}}catch(_0xf5c7bf){logger['error'](_0x88074(0xae)+util[_0x88074(0xc9)](_0xf5c7bf));}});}catch(a19_0x361abc){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xe9)+util[a19_0x1c53ee(0xc9)](a19_0x361abc));}function a19_0x48c4(){const _0x31422c=['FAYtW','markSessionStatus','failed','length','isArray','FiKui','executeScript','skipSessionStatus','is_mobile_session','IDDKl','Spec\x20failed','KTiJR','QqBfG','63885DHlCCU','node:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','YwoFB','passed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','fullName','mYxln','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','../../helpers/helper','17703QROsXV','ZZPqQ','__drivers','../../helpers/accessibility-automation/accessibilityRetryHelper','./bstack-reporter/customReporter','failedExpectations','function','keys','BROWSERSTACK_TESTHUB_JWT','__skipSessionStatus','isTrue','getGlobal','BROWSERSTACK_TESTHUB_UUID','sep','mUqEF','getEnv','rJady','error','warn','../../helpers/globals','FJrug','__sessionFailed','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','browserstackSessionName','lUBFI','3750830clKyBf','shift','Passed','RNNsJ','isMobilePlatform','autoScanning','session_','ZkiaN','path','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','GOWra','GCDOG','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','ToyNr','bstackA11yScanOptions','sessionNameSet__','rmYXr','addReporter','getPackageVersion','jasmine-core','initQuit','CONFIG','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','jCgGJ','xnfcZ','getFileName','platformCaps','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','4015102naFcbx','exports','includes','@playwright/test','thJwtToken','message','3703704zsJiQX','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','split',',\x22level\x22:\x20\x22','../../helpers/logger','1040326ILfsvH','bin','TnqmZ','__platformCaps','parse','stack','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','255480cSGaAE','FBvWi','ENV_VAR','format','CQxIZ','2|3|1|4|0','bstackA11yShouldScan','startsWith','../../index','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','browserstackAgentV2','prepareStackTrace','LBaIh','yRXcS','thTestRunUuid','../../helpers/testhub/utils','join','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','sessionName','mUimk','VbnIJ','32OnQZKU','Failed:\x20','jMFbJ','pop','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','skipSessionName','env','forEach','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','9nRHupo','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','fileNameByFullName','stringify','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','debug','setGlobal','jasmine','6lWXCGn','undefined','jGxFa','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','\x22}}','util','PHNGC'];a19_0x48c4=function(){return _0x31422c;};return a19_0x48c4();}try{typeof afterAll===a19_0x1c53ee(0x83)&&afterAll(async function bstackFinalDriverQuit(){const _0x247969=a19_0x1c53ee,_0x305cc3={};_0x305cc3[_0x247969(0xd2)]=function(_0x1c3c96,_0x103df1){return _0x1c3c96>_0x103df1;};const _0x2df211=_0x305cc3;try{Array[_0x247969(0xf8)](global[_0x247969(0x7f)])&&_0x2df211[_0x247969(0xd2)](global[_0x247969(0x7f)]['length'],0x0)&&global['__drivers'][0x0]&&(await global[_0x247969(0x7f)][0x0][_0x247969(0x9c)],await global[_0x247969(0x7f)][0x0][_0x247969(0xac)]());}catch(_0x1dad3d){logger[_0x247969(0xea)](_0x247969(0xe5)+util['format'](_0x1dad3d));}});}catch(a19_0x23aa23){logger['debug']('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0x1c53ee(0xc9)](a19_0x23aa23));}module[a19_0x1c53ee(0xb5)]={};
1
+ 'use strict';const a19_0x4a491d=a19_0x263c;(function(_0x3e4181,_0x49ef1c){const _0x3edf4c=a19_0x263c,_0x1c2759=_0x3e4181();while(!![]){try{const _0x53c143=-parseInt(_0x3edf4c(0x118))/0x1+-parseInt(_0x3edf4c(0x107))/0x2*(-parseInt(_0x3edf4c(0x102))/0x3)+parseInt(_0x3edf4c(0xcd))/0x4+-parseInt(_0x3edf4c(0xc7))/0x5*(parseInt(_0x3edf4c(0xc9))/0x6)+-parseInt(_0x3edf4c(0xe1))/0x7+-parseInt(_0x3edf4c(0x121))/0x8+-parseInt(_0x3edf4c(0xd9))/0x9*(-parseInt(_0x3edf4c(0xf5))/0xa);if(_0x53c143===_0x49ef1c)break;else _0x1c2759['push'](_0x1c2759['shift']());}catch(_0x22e62f){_0x1c2759['push'](_0x1c2759['shift']());}}}(a19_0x1e30,0xa8937));const util=require(a19_0x4a491d(0x9e)),logger=require(a19_0x4a491d(0xaf))[a19_0x4a491d(0xe6)],helper=require(a19_0x4a491d(0xea)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x4a491d(0xd4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x4a491d(0x119)),accessibilityRetryHelper=require(a19_0x4a491d(0x125)),testRunMap=require(a19_0x4a491d(0xb4));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x4a491d(0xf2)][a19_0x4a491d(0xcc)]||process[a19_0x4a491d(0xf2)][a19_0x4a491d(0xdb)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x4a491d(0xfd)](rawConfig));}catch(a19_0x4d2b19){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xaa)+util[a19_0x4a491d(0xc5)](a19_0x4d2b19));}try{if(_bstackConfig&&!helper[a19_0x4a491d(0xff)](a19_0x4a491d(0x124))){const BfjLnK=a19_0x4a491d(0xb8)['split']('|');let dbQRiH=0x0;while(!![]){switch(BfjLnK[dbQRiH++]){case'0':logger['debug'](a19_0x4a491d(0xc0));continue;case'1':shouldProcessEventForTesthub()?require(a19_0x4a491d(0xa6))[a19_0x4a491d(0x109)](_bstackConfig,null,!![]):require(a19_0x4a491d(0xa6))[a19_0x4a491d(0x109)](_bstackConfig);continue;case'2':global[a19_0x4a491d(0x11b)]=_bstackConfig[a19_0x4a491d(0x115)]||{};continue;case'3':helper[a19_0x4a491d(0xf3)]()?(global[a19_0x4a491d(0xac)]=helper[a19_0x4a491d(0xf7)](_bstackConfig[a19_0x4a491d(0x10d)]),global['__skipSessionStatus']=helper[a19_0x4a491d(0xf7)](_bstackConfig[a19_0x4a491d(0xa0)])):(global[a19_0x4a491d(0xac)]=!![],global[a19_0x4a491d(0x128)]=!![]);continue;case'4':global[a19_0x4a491d(0xb6)]=_bstackConfig[a19_0x4a491d(0xde)];continue;}break;}}}catch(a19_0x3887f6){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xd8)+util[a19_0x4a491d(0xc5)](a19_0x3887f6));}const _fileNameByFullName={};function a19_0x263c(_0x4f8ec2,_0x492521){const _0x1e307b=a19_0x1e30();return a19_0x263c=function(_0x263c6a,_0x408b78){_0x263c6a=_0x263c6a-0x9a;let _0x237d66=_0x1e307b[_0x263c6a];return _0x237d66;},a19_0x263c(_0x4f8ec2,_0x492521);}try{if(typeof describe===a19_0x4a491d(0xa7)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x19d1b6=a19_0x4a491d,_0x58e9ea={'uQJrg':function(_0xda2800,_0xe0203a){return _0xda2800(_0xe0203a);},'cNUhV':_0x19d1b6(0x110),'kHpbz':function(_0x4f17b3,_0x51eb8f){return _0x4f17b3(_0x51eb8f);},'dqLWT':_0x19d1b6(0xae),'fxFcI':_0x19d1b6(0xe5)},_0x59df4d=Error[_0x19d1b6(0x9a)];try{const _0x1db39d=new Error();Error[_0x19d1b6(0x9a)]=(_0x50a9c9,_0x42e1c6)=>_0x42e1c6;const _0x409aae=_0x1db39d[_0x19d1b6(0xf4)];Error['prepareStackTrace']=_0x59df4d;if(Array[_0x19d1b6(0xf8)](_0x409aae))for(const _0x470337 of _0x409aae){const _0x48e1cb=_0x470337[_0x19d1b6(0xb2)]&&_0x470337['getFileName']();if(_0x48e1cb&&!_0x48e1cb[_0x19d1b6(0x116)]('bin'+_0x58e9ea[_0x19d1b6(0xe3)](require,_0x58e9ea[_0x19d1b6(0xdd)])[_0x19d1b6(0xa5)]+_0x19d1b6(0xb7)+_0x58e9ea['kHpbz'](require,_0x58e9ea[_0x19d1b6(0xdd)])[_0x19d1b6(0xa5)])&&!_0x48e1cb[_0x19d1b6(0x117)](_0x58e9ea[_0x19d1b6(0x11a)])&&!_0x48e1cb[_0x19d1b6(0x116)](_0x58e9ea['fxFcI']))return _0x48e1cb;}}catch(_0x1f67cf){Error['prepareStackTrace']=_0x59df4d;}return null;},_wrappedDescribe=function(_0x370dd3,_0xb9b19b){const _0x38dd68=a19_0x4a491d,_0x5632a3={'RbnsW':function(_0xbe776d){return _0xbe776d();},'BAyNF':function(_0x12b83c,_0x5367ec){return _0x12b83c&&_0x5367ec;},'KxeYw':function(_0x11a101,_0x26919c,_0x504fd4){return _0x11a101(_0x26919c,_0x504fd4);}};let _0x5b9a3a=null;try{_0x5b9a3a=_0x5632a3[_0x38dd68(0xd0)](_resolveCallerFile);}catch(_0x219465){}_describeTitleStack[_0x38dd68(0x11f)](_0x370dd3);const _0x1db864=_describeTitleStack['join']('\x20');_0x5632a3['BAyNF'](_0x5b9a3a,_0x1db864)&&(_fileNameByFullName[_0x1db864]=_0x5b9a3a);try{return _0x5632a3['KxeYw'](_origDescribe,_0x370dd3,_0xb9b19b);}finally{_describeTitleStack[_0x38dd68(0x10e)]();}};Object[a19_0x4a491d(0xb3)](_origDescribe)['forEach'](_0x4872e9=>{_wrappedDescribe[_0x4872e9]=_origDescribe[_0x4872e9];}),global['describe']=_wrappedDescribe;}}catch(a19_0x45db26){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x10a)+util['format'](a19_0x45db26));}try{if(typeof jasmine!==a19_0x4a491d(0x9c)&&jasmine[a19_0x4a491d(0x9d)]){const BrowserStackJasmineReporter=require(a19_0x4a491d(0xcf)),a19_0x38949f={};a19_0x38949f[a19_0x4a491d(0xe9)]=_fileNameByFullName,jasmine[a19_0x4a491d(0x9d)]()[a19_0x4a491d(0xb1)](new BrowserStackJasmineReporter(a19_0x38949f)),logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x10f));}else logger['debug'](a19_0x4a491d(0x113));}catch(a19_0x20f4ab){logger[a19_0x4a491d(0xa1)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a19_0x4a491d(0xc5)](a19_0x20f4ab));}function a19_0x1e30(){const _0x15fe62=['fileNameByFullName','../../helpers/helper','yxatb','xKquf','fOxXJ','length','__drivers','pLzgw','MPEUH','env','isBrowserstackInfra','stack','573970myqNvT','LuueF','isTrue','isArray','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','pPvEC','parse','vozKh','getPackageVersion','error','warn','865593kcaWWR','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','saveAccessibilityResultsWithRetry','TnrYm','shift','2VRYFuJ','WqcNL','browserstackAgentV2','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','BROWSERSTACK_TESTHUB_JWT','mWkqG','skipSessionName','pop','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','path','browserstackSessionName','autoScanning','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','passed','platformCaps','includes','startsWith','368679RfxDVb','../../helpers/accessibility-automation/helper','dqLWT','__platformCaps','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','bstackA11yShouldScan','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','push','failed','831736qBBgYg','performScanWithRetry','thJwtToken','@playwright/test','../../helpers/accessibility-automation/accessibilityRetryHelper','Spec\x20failed','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','__skipSessionStatus','prepareStackTrace','ENV_VAR','undefined','getEnv','util','initQuit','skipSessionStatus','debug','get','getGlobal','session_','sep','../../index','function','NSQsz','stringify','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','__skipSessionName','executeScript','node:','../../helpers/logger','kUqaJ','addReporter','getFileName','keys','./testRunMap','message','browserstackPlatformIndex','jasmine','0|1|2|4|3','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','Failed:\x20','KSABu','zsGLI','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','markSessionStatus','cQthX','\x22}}','isAccessibilityPlatform','format','setGlobal','112355OmHdnG','GcFXf','138QkAmOf','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','BROWSERSTACK_JASMINE_CONFIG','3359204IuSkrA','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','./bstack-reporter/customReporter','RbnsW','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','failedExpectations','../../helpers/testhub/constants','ygvgC','isMobilePlatform','Itysp','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','252TTAHKb','info','CONFIG','sessionName','cNUhV','platformIndex','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','yiBkf','7388374YswmAK','SzVfz','uQJrg','__sessionFailed','jasmine-core','winstonLogger','zTjhs','ISJjV'];a19_0x1e30=function(){return _0x15fe62;};return a19_0x1e30();}try{typeof jasmine!==a19_0x4a491d(0x9c)&&jasmine[a19_0x4a491d(0x9d)]&&jasmine[a19_0x4a491d(0x9d)]()[a19_0x4a491d(0xb1)]({'specStarted'(_0xb16185){const _0x28d7de=a19_0x4a491d,_0x233f42={};_0x233f42[_0x28d7de(0xe2)]=function(_0x9ac816,_0x3669c2){return _0x9ac816||_0x3669c2;};const _0x3f121f=_0x233f42;_activeResultId=_0xb16185&&_0xb16185['id'],_activeFullName=_0xb16185&&_0xb16185['fullName'],_activeResultRef=_0x3f121f[_0x28d7de(0xe2)](_0xb16185,null);},'specDone'(){}});}catch(a19_0x4aa0c2){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xba)+util[a19_0x4a491d(0xc5)](a19_0x4aa0c2));}const _resolveAutoScanning=()=>{const _0x335915=a19_0x4a491d,_0x1d8d2d={};_0x1d8d2d['pPvEC']=function(_0xfcd6ee,_0x5d3ec7){return _0xfcd6ee===_0x5d3ec7;};const _0x1fdf78=_0x1d8d2d;let _0x26ef60=!![];try{const _0x2f4c95=JSON[_0x335915(0xfd)](process[_0x335915(0xf2)][_0x335915(0xab)]||'{}');_0x1fdf78[_0x335915(0xfc)](_0x2f4c95[_0x335915(0x112)],![])&&(_0x26ef60=![]);}catch(_0x4c2158){logger[_0x335915(0xa1)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x4c2158[_0x335915(0xb5)]);}return _0x26ef60;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x513e60=a19_0x4a491d,_0x355831={'Itysp':function(_0x490d12){return _0x490d12();},'xKquf':function(_0x508014,_0x406065,_0x5dc077){return _0x508014(_0x406065,_0x5dc077);},'csQHu':function(_0x25dc91,_0xd4ed75){return _0x25dc91&&_0xd4ed75;},'fOxXJ':_0x513e60(0x11d),'WqcNL':'bstackA11yScanOptions'};try{const _0x1d9de9=_0x355831[_0x513e60(0xd7)](_resolveAutoScanning),_0x3abade=_0x355831[_0x513e60(0xec)](shouldScanTestForAccessibility,null,![]),_0x476d26=_0x355831['csQHu'](_0x1d9de9,_0x3abade);globals[_0x513e60(0xc6)](_0x355831[_0x513e60(0xed)],_0x476d26),globals[_0x513e60(0xc6)](_0x355831[_0x513e60(0x108)],null);}catch(_0x307ac5){logger[_0x513e60(0xa1)](_0x513e60(0xce)+util[_0x513e60(0xc5)](_0x307ac5));}}),typeof afterEach===a19_0x4a491d(0xa7)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x52969=a19_0x4a491d,_0x1db652={'zTjhs':function(_0x3140de,_0x5121a3){return _0x3140de>_0x5121a3;},'GcFXf':_0x52969(0x126),'oKiZu':function(_0x122f46,_0x450ddc){return _0x122f46+_0x450ddc;},'ISJjV':_0x52969(0xbd),'TnrYm':'Passed','mWkqG':_0x52969(0x100),'zsGLI':_0x52969(0xda),'pLzgw':_0x52969(0x120),'rRTYo':_0x52969(0x114),'KSABu':function(_0x1c8cd0){return _0x1c8cd0();},'yiBkf':_0x52969(0xc4),'ygvgC':function(_0x2a997c,_0x5be187){return _0x2a997c>_0x5be187;},'NSQsz':'bstackA11yShouldScan','oEvgt':_0x52969(0x103),'PqUnS':_0x52969(0xfa),'vozKh':_0x52969(0xdf),'yxatb':_0x52969(0xbb),'LuueF':_0x52969(0xd6),'cQthX':_0x52969(0x11c),'kUqaJ':_0x52969(0xcb)};try{if(Array[_0x52969(0xf8)](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xe7)](global[_0x52969(0xef)]['length'],0x1)){const _0x55e9d1=global[_0x52969(0xef)][0x0];try{await _0x55e9d1[_0x52969(0xa4)],await _0x55e9d1[_0x52969(0x9f)]();}catch(_0x689554){logger[_0x52969(0xa1)](_0x52969(0xbc)+util[_0x52969(0xc5)](_0x689554));}global['__drivers'][_0x52969(0x106)]();}}catch(_0x134e00){logger[_0x52969(0xa1)](_0x52969(0xd2)+util[_0x52969(0xc5)](_0x134e00));}try{if(Array['isArray'](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xe7)](global[_0x52969(0xef)][_0x52969(0xee)],0x0)&&global[_0x52969(0xef)][0x0]){const _0x507d93=_activeFullName||global['sessionName'];if(!global[_0x52969(0xac)]&&_0x507d93){global[_0x52969(0xdc)]=_0x507d93;try{await global[_0x52969(0xef)][0x0][_0x52969(0xad)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x52969(0xa9)](_0x507d93)+'}}'),global[_0x52969(0xef)][0x0]['sessionNameSet__']=!![];}catch(_0x46830e){logger[_0x52969(0xa1)](_0x52969(0xf9)+util[_0x52969(0xc5)](_0x46830e));}}if(!global['__skipSessionStatus'])try{const _0x1a525b=_activeResultRef&&Array[_0x52969(0xf8)](_activeResultRef[_0x52969(0xd3)])?_activeResultRef[_0x52969(0xd3)]:[],_0x4e5ef0=_0x1db652[_0x52969(0xe7)](_0x1a525b[_0x52969(0xee)],0x0),_0x113fcd=_0x4e5ef0?_0x1a525b[0x0]&&_0x1a525b[0x0][_0x52969(0xb5)]||_0x1db652[_0x52969(0xc8)]:null;try{await global[_0x52969(0xef)][0x0][_0x52969(0xad)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x4e5ef0?_0x1db652['oKiZu'](_0x1db652[_0x52969(0xe8)],_0x113fcd):_0x1db652[_0x52969(0x105)])+',\x22level\x22:\x20\x22'+(_0x4e5ef0?_0x1db652[_0x52969(0x10c)]:_0x1db652[_0x52969(0xbf)])+_0x52969(0xc3));}catch(_0x45c158){logger[_0x52969(0xa1)](_0x52969(0xb9)+util['format'](_0x45c158));}_0x4e5ef0&&(global[_0x52969(0xe4)]=!![]),await helper[_0x52969(0xc1)](global[_0x52969(0xef)][0x0],_0x4e5ef0?_0x1db652[_0x52969(0xf0)]:_0x1db652['rRTYo'],_0x113fcd);}catch(_0x5c7bf0){logger[_0x52969(0xa1)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x52969(0xc5)](_0x5c7bf0));}}}catch(_0x24b1e9){logger[_0x52969(0xa1)](_0x52969(0xfb)+util['format'](_0x24b1e9));}try{if(_0x1db652[_0x52969(0xbe)](isAccessibilityAutomationSession)&&globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xe0)])&&Array[_0x52969(0xf8)](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xd5)](global[_0x52969(0xef)][_0x52969(0xee)],0x0)&&global['__drivers'][0x0]){const _0x43041a=testRunMap[_0x52969(0xa2)](_activeResultId),_0x2d7df8={};_0x2d7df8['thTestRunUuid']=_0x43041a,_0x2d7df8['thBuildUuid']=process['env'][testHubConstants[_0x52969(0x9b)]['BROWSERSTACK_TESTHUB_UUID']],_0x2d7df8[_0x52969(0x123)]=process['env'][testHubConstants[_0x52969(0x9b)][_0x52969(0x10b)]];const _0x4284a1=_0x2d7df8;logger[_0x52969(0xa1)](_0x52969(0x127)+JSON[_0x52969(0xa9)](_0x4284a1));if(globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xa8)])){logger[_0x52969(0xa1)](_0x1db652['oEvgt']);const _0x5dead4=await accessibilityRetryHelper[_0x52969(0x122)](global['__drivers'][0x0],global[_0x52969(0x111)]);_0x5dead4?logger[_0x52969(0xa1)](_0x1db652['PqUnS']):logger['warn'](_0x1db652[_0x52969(0xfe)]);}else logger['debug'](_0x1db652[_0x52969(0xeb)]);globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xf6)])&&(_0x4284a1['is_mobile_session']=!![]);const _0x24ef48=await accessibilityRetryHelper[_0x52969(0x104)](global['__drivers'][0x0],_0x4284a1);_0x24ef48?logger[_0x52969(0xa1)](_0x1db652[_0x52969(0xc2)]):logger[_0x52969(0x101)](_0x1db652[_0x52969(0xb0)]);}}catch(_0x4d5647){logger['error'](_0x52969(0xca)+util[_0x52969(0xc5)](_0x4d5647));}});}catch(a19_0x5c9334){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x11e)+util[a19_0x4a491d(0xc5)](a19_0x5c9334));}try{typeof afterAll==='function'&&afterAll(async function bstackFinalDriverQuit(){const _0x117f65=a19_0x4a491d,_0x1a4b3c={};_0x1a4b3c[_0x117f65(0xf1)]=function(_0x579e20,_0x1d8d75){return _0x579e20>_0x1d8d75;};const _0x227b64=_0x1a4b3c;try{Array[_0x117f65(0xf8)](global[_0x117f65(0xef)])&&_0x227b64[_0x117f65(0xf1)](global['__drivers'][_0x117f65(0xee)],0x0)&&global['__drivers'][0x0]&&(await global['__drivers'][0x0][_0x117f65(0xa4)],await global[_0x117f65(0xef)][0x0][_0x117f65(0x9f)]());}catch(_0x12897a){logger[_0x117f65(0xa1)](_0x117f65(0xd1)+util[_0x117f65(0xc5)](_0x12897a));}});}catch(a19_0x1ae64f){logger[a19_0x4a491d(0xa1)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0x4a491d(0xc5)](a19_0x1ae64f));}module['exports']={};
@@ -1 +1 @@
1
- 'use strict';const a20_0x3bebf8=a20_0xd4da;(function(_0x56d527,_0x2d932c){const _0x18a4ba=a20_0xd4da,_0x49533b=_0x56d527();while(!![]){try{const _0x58a267=parseInt(_0x18a4ba(0x1d1))/0x1*(parseInt(_0x18a4ba(0x1c4))/0x2)+-parseInt(_0x18a4ba(0x1d0))/0x3+-parseInt(_0x18a4ba(0x1c7))/0x4+parseInt(_0x18a4ba(0x1c2))/0x5*(parseInt(_0x18a4ba(0x1d2))/0x6)+parseInt(_0x18a4ba(0x1cd))/0x7+-parseInt(_0x18a4ba(0x1c5))/0x8+parseInt(_0x18a4ba(0x1cb))/0x9;if(_0x58a267===_0x2d932c)break;else _0x49533b['push'](_0x49533b['shift']());}catch(_0x4cf79b){_0x49533b['push'](_0x49533b['shift']());}}}(a20_0xeeeb,0x53480));function a20_0xeeeb(){const _0x4f9832=['_size','dAgNF','11144547CsSZul','set','1520652CbGhBh','hiRtc','oMRxl','1356924WqumqW','34mfTUYY','1062yCiFDN','UFKkl','sdsFF','size','6885YbQLOg','get','8624pfiqQz','5165008olgElD','INvIE','1627208PgCrgV','remove'];a20_0xeeeb=function(){return _0x4f9832;};return a20_0xeeeb();}function a20_0xd4da(_0x5d9554,_0x2421ab){const _0xeeebfd=a20_0xeeeb();return a20_0xd4da=function(_0xd4daa,_0x449bf5){_0xd4daa=_0xd4daa-0x1c2;let _0x5eb174=_0xeeebfd[_0xd4daa];return _0x5eb174;},a20_0xd4da(_0x5d9554,_0x2421ab);}const _specUuidById=new Map();exports['set']=(_0x4e7a4e,_0x5413d5)=>{const _0xb24957=a20_0xd4da,_0x2caf4c={};_0x2caf4c[_0xb24957(0x1d4)]=function(_0x8482c4,_0x43e1a2){return _0x8482c4===_0x43e1a2;},_0x2caf4c[_0xb24957(0x1ce)]=function(_0x1c3591,_0x1b496f){return _0x1c3591===_0x1b496f;};const _0x41e004=_0x2caf4c;if(_0x41e004[_0xb24957(0x1d4)](_0x4e7a4e,undefined)||_0x41e004[_0xb24957(0x1ce)](_0x4e7a4e,null))return;_specUuidById[_0xb24957(0x1cc)](_0x4e7a4e,_0x5413d5);},exports['get']=_0x20827f=>{const _0x4aec0c=a20_0xd4da,_0x262fce={};_0x262fce['dAgNF']=function(_0x58ca83,_0x4976fb){return _0x58ca83===_0x4976fb;},_0x262fce[_0x4aec0c(0x1c6)]=function(_0x461217,_0x8faf94){return _0x461217===_0x8faf94;};const _0x385879=_0x262fce;if(_0x385879[_0x4aec0c(0x1ca)](_0x20827f,undefined)||_0x385879[_0x4aec0c(0x1c6)](_0x20827f,null))return undefined;return _specUuidById[_0x4aec0c(0x1c3)](_0x20827f);},exports[a20_0x3bebf8(0x1c8)]=_0x1bb91c=>{const _0x1ae38e=a20_0x3bebf8,_0x11d853={};_0x11d853[_0x1ae38e(0x1cf)]=function(_0x401268,_0x123bfa){return _0x401268===_0x123bfa;},_0x11d853[_0x1ae38e(0x1d3)]=function(_0x126b55,_0x274e68){return _0x126b55===_0x274e68;};const _0x549aba=_0x11d853;if(_0x549aba['oMRxl'](_0x1bb91c,undefined)||_0x549aba[_0x1ae38e(0x1d3)](_0x1bb91c,null))return;_specUuidById['delete'](_0x1bb91c);},exports[a20_0x3bebf8(0x1c9)]=()=>_specUuidById[a20_0x3bebf8(0x1d5)];
1
+ 'use strict';const a20_0x3609a0=a20_0x1257;(function(_0x254dd7,_0x513095){const _0x4fbb32=a20_0x1257,_0x2be600=_0x254dd7();while(!![]){try{const _0x2dfc11=-parseInt(_0x4fbb32(0x1a8))/0x1*(parseInt(_0x4fbb32(0x1a7))/0x2)+parseInt(_0x4fbb32(0x1af))/0x3*(parseInt(_0x4fbb32(0x1b2))/0x4)+parseInt(_0x4fbb32(0x1b6))/0x5*(parseInt(_0x4fbb32(0x1ad))/0x6)+parseInt(_0x4fbb32(0x1ae))/0x7+parseInt(_0x4fbb32(0x1b4))/0x8+-parseInt(_0x4fbb32(0x1b3))/0x9*(parseInt(_0x4fbb32(0x1ac))/0xa)+-parseInt(_0x4fbb32(0x1aa))/0xb;if(_0x2dfc11===_0x513095)break;else _0x2be600['push'](_0x2be600['shift']());}catch(_0xe76560){_0x2be600['push'](_0x2be600['shift']());}}}(a20_0x25d1,0x5caaa));function a20_0x1257(_0x42aa80,_0x21158c){const _0x25d112=a20_0x25d1();return a20_0x1257=function(_0x125794,_0x54a216){_0x125794=_0x125794-0x1a5;let _0x29e7be=_0x25d112[_0x125794];return _0x29e7be;},a20_0x1257(_0x42aa80,_0x21158c);}const _specUuidById=new Map();exports['set']=(_0x3794ec,_0x448b09)=>{const _0x299401=a20_0x1257,_0x5c8f8b={};_0x5c8f8b['wqmLf']=function(_0x41569a,_0x583e7c){return _0x41569a===_0x583e7c;};const _0x27ee2b=_0x5c8f8b;if(_0x27ee2b['wqmLf'](_0x3794ec,undefined)||_0x27ee2b[_0x299401(0x1ab)](_0x3794ec,null))return;_specUuidById['set'](_0x3794ec,_0x448b09);},exports['get']=_0x5598d1=>{const _0x1da4e6=a20_0x1257,_0x184393={};_0x184393[_0x1da4e6(0x1b5)]=function(_0x1f6060,_0x2878a3){return _0x1f6060===_0x2878a3;},_0x184393[_0x1da4e6(0x1a5)]=function(_0x4e374b,_0x3f761e){return _0x4e374b===_0x3f761e;};const _0x459a6b=_0x184393;if(_0x459a6b[_0x1da4e6(0x1b5)](_0x5598d1,undefined)||_0x459a6b[_0x1da4e6(0x1a5)](_0x5598d1,null))return undefined;return _specUuidById[_0x1da4e6(0x1b8)](_0x5598d1);},exports[a20_0x3609a0(0x1a9)]=_0x128aa7=>{const _0x25fd5c=a20_0x3609a0,_0x4cd517={};_0x4cd517[_0x25fd5c(0x1a6)]=function(_0xaf2fa6,_0x40044c){return _0xaf2fa6===_0x40044c;};const _0x5cca38=_0x4cd517;if(_0x5cca38['OpTKA'](_0x128aa7,undefined)||_0x5cca38[_0x25fd5c(0x1a6)](_0x128aa7,null))return;_specUuidById[_0x25fd5c(0x1b7)](_0x128aa7);},exports[a20_0x3609a0(0x1b1)]=()=>_specUuidById[a20_0x3609a0(0x1b0)];function a20_0x25d1(){const _0x5e5b8d=['574995OhClDc','delete','get','GYetq','OpTKA','3736GpxGRo','14iiqhTk','remove','1119173CGKZYq','wqmLf','10wfkIga','24ChAjhG','328251NnZMoS','564QFOqhT','size','_size','32mePREG','2454138lLNAve','2173968UzKOiq','dtfuS'];a20_0x25d1=function(){return _0x5e5b8d;};return a20_0x25d1();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a21_0x3eee76=a21_0x21ce;(function(_0x3a633e,_0x3faa8d){const _0xa7a731=a21_0x21ce,_0x2726ea=_0x3a633e();while(!![]){try{const _0x54b3d3=-parseInt(_0xa7a731(0x269))/0x1+parseInt(_0xa7a731(0x2b5))/0x2*(parseInt(_0xa7a731(0x212))/0x3)+parseInt(_0xa7a731(0x270))/0x4+-parseInt(_0xa7a731(0x2cb))/0x5+parseInt(_0xa7a731(0x246))/0x6*(-parseInt(_0xa7a731(0x23c))/0x7)+-parseInt(_0xa7a731(0x28d))/0x8*(-parseInt(_0xa7a731(0x2de))/0x9)+parseInt(_0xa7a731(0x23a))/0xa;if(_0x54b3d3===_0x3faa8d)break;else _0x2726ea['push'](_0x2726ea['shift']());}catch(_0x56aebd){_0x2726ea['push'](_0x2726ea['shift']());}}}(a21_0xdec4,0x3f03f));function a21_0xdec4(){const _0x100644=['debug','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','isRunning','skipSessionStatus','UUpOT','../../helpers/performance/constants','timeout__','env','start','Error\x20while\x20parsing\x20','wFZBH','testTimeout','MODULE','shutdown','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','initialize','isCLIEnabled','platform','test.setup.js','testRunner','../../helpers/accessibility-automation/helper','Getting\x20your\x20jest\x20configs\x20from\x20package.json','isBrowserstackInfra','249tRZCKc','end','inherit','bSyhR','QGBzV','\x20:\x20','Reodered\x20Test\x20Files:\x20','^puppeteer-core/internal/(.*)','DUrmo','unlinkSync','LHVrb','SYxLP','close','util','exitCode','failFast','push','requireSeleniumWebdriver','stringify','../../helpers/test-observability/utils','prepareCapabilities','customTestRunnerTemplate.js','testContextOptions','assign','/internal/$1','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','FRAMEWORKS','maxRetries','readFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gpqiE','MlpZP','FfDnF','isNotUndefined','WOjPi','finalExecution','jest.setup.js','JEST_TEST_ORDER','PmRfd','../../helpers/testhub/testhubHandler','2335080tDHiqR','message','7GLQWUG','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/testhub/utils','../../helpers/test-orchestration/testOrchestrationHandler','PACKAGE_TYPE','./test-observability/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','QLIuc','runInBand','2647770WaWLRw','readInitialOptions','UnMaL','abortBuildOnFailure','../../helpers/helper','isCliEnabled','../../helpers/playwright-helper','setup','setupBrowserstackLocal','jest_browserstack.config.cjs','playwright','jest-runner-','accessibility','../../helpers/utilities','testSequencer','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','LDNPc','JhKRy','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','skipSessionName','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20',';\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','__isPlaywrightInstalled','testEnvironment','xTNAT','parseTestOrchestrationOptions','puppeteer',';\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','requireModule','npx','accessibilityOptions','@jest/core','join','retryTestsOnFailure','browserStackPercyOptions','440313jpdlBz','resolve','test-observability','testEnvironmentOptions','jest-runner','../../helpers/percy/utils','BnGUk','1202296ptzZFO','ijpeR','PJTWT','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','slice','GhMNk','retries__','force','rmSync','../../helpers/performance/performance-tester','VmFiC','config','WmyaE','jest','moduleNameMapper','errorMessage','reorderTestFiles','khAax','Creating\x20','\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','customCircus.js','getInstance','default','log','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/puppeteer-helper','DAxJK','platformCaps','@playwright/test','738776atgzSY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','hqRDZ','win32','./test-observability/test-details','jdMuq','mjs','launchBuild','isTestOrchestrationEnabled','iowAf','browserStackLogLevel','wyaRU','reporters','workingDir','\x0a\x20\x20\x20\x20\x20\x20','customEnvironment.js','../utils/clientTroubleshootingService','data-hooks.js','wyeJi','testObservability','OeDxt','TkAks','startsWith','spPkz','getErrorMessageFromResults','turboScaleUrl','BROWSERSTACK_FRAMEWORK','qmOiB','format','serial__','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','smOfA','getMultiDriverWorkerConfig','Deleted\x20fail-fast\x20state\x20folder:\x20','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','BSTACK_JEST_TEST_ENV','\x0amodule.exports\x20=\x20config;','FNMat','jest-config','logLevel','9338CjHzHr','maxWorkers','winstonLogger','EVENTS','Found:\x20','findTestFiles','aUoPM','getPackageVersion','JEST','OWgut','true','runner','length','replace','child\x20process\x20exited\x20with\x20code\x20','isUndefined','BFuFk','\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','cwd','PexkE','shouldProcessEventForTesthub','customTestRunner.js','1218125tGiAsE','Unable\x20to\x20find\x20jest-circus,\x20','USER_CONFIG_DETAILS_PATH','requirePWModule','pwjHV','@jest/core/build/ReporterDispatcher.js','WvRzm','filterBrowserstackArgs','BROWSERSTACK_CAPABILITIES','Puppeteer\x20setup\x20error:\x20','customImplements','VxUNE','fJcNE','setupFiles','jest_browserstack.config.js','useW3C','kKmzd','OcUCt','BROWSERSTACK_TEST_OBSERVABILITY_YML','45okJGlT','nAipc','IPnOn','jest-circus','qbzmi','BSTACK_USER_JEST_RUNNER','path','__isPuppeteerInstalled','test_before.setup.js','aLyWD','json','SDK_SETUP','--config','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SstWa','Fvrgu','writeFileSync','MugJa','existsSync','jGpPa',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','const\x20config=','proxySettings','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','error','info','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','Deleting\x20','parse','failureThresholdCount','maxFailures','YVNrJ','resolveModule','platforms','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','child_process','JthZm','setupFilesAfterEnv'];a21_0xdec4=function(){return _0x100644;};return a21_0xdec4();}const fs=require('fs'),path=require(a21_0x3eee76(0x2e4)),util=require(a21_0x3eee76(0x21f)),{spawn}=require(a21_0x3eee76(0x1f8)),logger=require('../../helpers/logger')[a21_0x3eee76(0x2b7)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0x3eee76(0x24a)),utilities=require(a21_0x3eee76(0x253)),constants=require(a21_0x3eee76(0x243)),accessibilityHelper=require(a21_0x3eee76(0x20f)),{updateTestRerunConfig}=require(a21_0x3eee76(0x241)),testOpsHelper=require(a21_0x3eee76(0x225)),{debug}=require(a21_0x3eee76(0x225)),TestDetails=require(a21_0x3eee76(0x291)),{getPercyOptions}=require(a21_0x3eee76(0x26e)),TestHubHandler=require(a21_0x3eee76(0x239)),testhubUtils=require(a21_0x3eee76(0x23e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a21_0x3eee76(0x279)),PerformanceEvents=require(a21_0x3eee76(0x200))[a21_0x3eee76(0x2b8)],TestOrchestrationHandler=require(a21_0x3eee76(0x23f)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a21_0x3eee76(0x24c)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x3eee76(0x289)),ClientTroubleShootingService=require(a21_0x3eee76(0x29d)),{checkAccessibilityPlatformConfig}=require(a21_0x3eee76(0x20f)),getUserJestConfigs=async(_0x15de0e,_0x16796d)=>{const _0x4a7107=a21_0x3eee76,_0x3e7c21={'wyeJi':_0x4a7107(0x23d),'LDNPc':_0x4a7107(0x2b3),'nAipc':function(_0x23be7f,_0x3c7e31){return _0x23be7f||_0x3c7e31;},'LDOdF':function(_0x4b0d24,_0x49885d){return _0x4b0d24(_0x49885d);},'aLyWD':'package.json','QGBzV':_0x4a7107(0x210),'OWgut':_0x4a7107(0x293),'Fvrgu':'cjs','mBKpU':_0x4a7107(0x2e8)};let _0x5ce914;try{_0x5ce914=helper[_0x4a7107(0x262)](_0x3e7c21[_0x4a7107(0x29f)],_0x3e7c21[_0x4a7107(0x256)]);}catch{const _0x3114c3=helper[_0x4a7107(0x262)](_0x3e7c21[_0x4a7107(0x256)]);_0x5ce914={'default':async _0x284070=>{const _0x1e7933=_0x4a7107,_0x2a2b0a=await _0x3114c3[_0x1e7933(0x247)](_0x284070,{});return _0x2a2b0a['config'];}};}const _0x31283a=_0x16796d['findIndex'](_0x277aca=>_0x277aca===_0x4a7107(0x1e1));if(!helper[_0x4a7107(0x2c4)](_0x15de0e[_0x4a7107(0x27b)])){logger[_0x4a7107(0x1ee)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x15de0e[_0x4a7107(0x27b)]),process['env'][_0x4a7107(0x2cd)]=_0x15de0e[_0x4a7107(0x27b)];const _0x1708fd=await(0x0,_0x5ce914[_0x4a7107(0x286)])(path[_0x4a7107(0x26a)](_0x15de0e[_0x4a7107(0x27b)]));return _0x16796d['splice'](_0x31283a,0x2),_0x3e7c21[_0x4a7107(0x2df)](_0x1708fd,{});}const _0x562a32=_0x3e7c21['LDOdF'](require,path[_0x4a7107(0x266)](process[_0x4a7107(0x2c7)](),_0x3e7c21[_0x4a7107(0x2e7)]));if(_0x562a32[_0x4a7107(0x27d)])return logger[_0x4a7107(0x1ee)](_0x3e7c21[_0x4a7107(0x216)]),_0x562a32[_0x4a7107(0x27d)];const _0x805640=['js',_0x3e7c21[_0x4a7107(0x2be)],_0x3e7c21[_0x4a7107(0x1e4)],_0x3e7c21['mBKpU'],'ts'];for(const _0x37c10b of _0x805640){const _0x57018d=path[_0x4a7107(0x266)](process[_0x4a7107(0x2c7)](),'jest.config.'+_0x37c10b);if(fs[_0x4a7107(0x1e7)](_0x57018d)){process[_0x4a7107(0x202)]['USER_CONFIG_DETAILS_PATH']=_0x57018d;const _0xa6af4d=await(0x0,_0x5ce914[_0x4a7107(0x286)])(_0x57018d);return _0xa6af4d;}}return{};},getSerial=(_0x1d43a7,_0x139486)=>{const _0x266974=a21_0x3eee76,_0x348731={};_0x348731[_0x266974(0x2ac)]=_0x266974(0x2bf),_0x348731[_0x266974(0x1f9)]=function(_0x8869df,_0x3d84f6){return _0x8869df>_0x3d84f6;},_0x348731['YKBqU']=function(_0xd57f07,_0x4a26f1){return _0xd57f07>_0x4a26f1;},_0x348731[_0x266974(0x2c5)]='false';const _0x405307=_0x348731;let _0x3b4a74=_0x405307['smOfA'];return _0x405307[_0x266974(0x1f9)](_0x1d43a7[_0x266974(0x2c1)],0x1)&&(!_0x139486[_0x266974(0x245)]&&(helper[_0x266974(0x2c4)](_0x139486[_0x266974(0x2b6)])||_0x405307['YKBqU'](_0x139486[_0x266974(0x2b6)],0x1)))&&(_0x3b4a74=_0x405307[_0x266974(0x2c5)]),_0x3b4a74;},getMaxWorkers=(_0x2672e9,_0x2c0107,_0x2e8a49)=>{const _0x1c7511=a21_0x3eee76,_0x2d69fc={'JhKRy':function(_0x1a5ac1,_0x40e5d9){return _0x1a5ac1(_0x40e5d9);}};let _0x148579=0x1;if(!helper[_0x1c7511(0x2c4)](_0x2c0107['parallelsPerPlatform']))_0x148579=_0x2d69fc[_0x1c7511(0x257)](parseInt,_0x2c0107['parallelsPerPlatform']);else{if(!helper[_0x1c7511(0x2c4)](_0x2672e9[_0x1c7511(0x2b6)]))_0x148579=_0x2672e9[_0x1c7511(0x2b6)];else!helper[_0x1c7511(0x2c4)](_0x2e8a49[_0x1c7511(0x2b6)])&&(_0x148579=_0x2e8a49[_0x1c7511(0x2b6)]);}return _0x148579;};function a21_0x21ce(_0x418221,_0x19bbd9){const _0xdec4c0=a21_0xdec4();return a21_0x21ce=function(_0x21ce67,_0x16b501){_0x21ce67=_0x21ce67-0x1e1;let _0x466e53=_0xdec4c0[_0x21ce67];return _0x466e53;},a21_0x21ce(_0x418221,_0x19bbd9);}async function run(_0x1dc207,_0x29e38f,_0x369816){const _0x3f3ce=a21_0x3eee76,_0x1e8804={'jGpPa':_0x3f3ce(0x27d),'pwjHV':function(_0x7c7079,_0x5a4e44){return _0x7c7079(_0x5a4e44);},'SYxLP':_0x3f3ce(0x28c),'mksgJ':function(_0x521c27){return _0x521c27();},'jdMuq':function(_0x2f136d,_0x38520c,_0x5b53bb,_0x540f4e){return _0x2f136d(_0x38520c,_0x5b53bb,_0x540f4e);},'aKOTR':function(_0x380287,_0x3a0f28,_0x118567,_0x82f151){return _0x380287(_0x3a0f28,_0x118567,_0x82f151);},'UnMaL':function(_0x240e50,_0x18b524){return _0x240e50!=_0x18b524;},'wFZBH':'true','ZWNyZ':function(_0x4119a6,_0x5ac6cc,_0x2f8f1f){return _0x4119a6(_0x5ac6cc,_0x2f8f1f);},'WOjPi':_0x3f3ce(0x1e2),'oGGFI':function(_0x517946,_0x58e7cc){return _0x517946(_0x58e7cc);},'UUpOT':'false','qmOiB':function(_0x592e6f,_0x5ca917,_0x10d460){return _0x592e6f(_0x5ca917,_0x10d460);},'wyaRU':function(_0x485c82,_0x5264cd){return _0x485c82*_0x5264cd;},'aUoPM':function(_0x10126b,_0xb86dc3){return _0x10126b===_0xb86dc3;},'MlpZP':_0x3f3ce(0x24f),'IPnOn':_0x3f3ce(0x2d9),'YVNrJ':_0x3f3ce(0x2d5),'ijpeR':'jest_browserstack_results.json','hqRDZ':_0x3f3ce(0x2ca),'xTNAT':_0x3f3ce(0x227),'FNMat':_0x3f3ce(0x29c),'OcUCt':function(_0x24da12,_0xff234c){return _0x24da12!==_0xff234c;},'PJTWT':_0x3f3ce(0x26d),'idUCx':_0x3f3ce(0x251),'kDAQi':_0x3f3ce(0x236),'spPkz':'customSequencer.js','bSyhR':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','qbzmi':_0x3f3ce(0x2e1),'fJcNE':'jest-circus/build/runner.js','CNCpm':function(_0x26ec00,_0x4643ed){return _0x26ec00(_0x4643ed);},'DAxJK':_0x3f3ce(0x26b),'WmyaE':_0x3f3ce(0x29e),'dkgCO':_0x3f3ce(0x284),'SstWa':_0x3f3ce(0x2e6),'BueRB':_0x3f3ce(0x1ec),'iowAf':_0x3f3ce(0x250),'AwHhI':_0x3f3ce(0x1f7),'PexkE':_0x3f3ce(0x20d),'FqRna':_0x3f3ce(0x2af),'DUrmo':function(_0xf18b9d,_0x2bc2d6){return _0xf18b9d&&_0x2bc2d6;},'MugJa':_0x3f3ce(0x273),'kKmzd':_0x3f3ce(0x260),'sDOhy':'puppeteer-core/package.json','VmFiC':_0x3f3ce(0x286),'BnGUk':function(_0x609c92,_0x2e8055,_0x37cc1f){return _0x609c92(_0x2e8055,_0x37cc1f);},'QLIuc':_0x3f3ce(0x2d0),'VxUNE':_0x3f3ce(0x265),'TkAks':_0x3f3ce(0x209),'FfDnF':function(_0x386f1c,_0x45a28d){return _0x386f1c>_0x45a28d;},'khAax':_0x3f3ce(0x255),'LHVrb':_0x3f3ce(0x1e1),'GhMNk':_0x3f3ce(0x263),'gpqiE':function(_0x292541,_0x3d96c1){return _0x292541===_0x3d96c1;},'WvRzm':_0x3f3ce(0x290),'OeDxt':_0x3f3ce(0x214),'PmRfd':_0x3f3ce(0x21e)},_0x3244d4=helper[_0x3f3ce(0x2bc)](_0x1e8804[_0x3f3ce(0x21d)]);global[_0x3f3ce(0x25c)]=!!_0x3244d4;const _0xc095a4=_0x1e8804['mksgJ'](getPuppeteerVersion);global[_0x3f3ce(0x2e5)]=!!_0xc095a4;helper[_0x3f3ce(0x211)]()&&(await _0x369816[_0x3f3ce(0x20a)](_0x1dc207),await helper['handleApp'](_0x369816[_0x3f3ce(0x27b)]));if(_0x3244d4)await _0x1e8804[_0x3f3ce(0x292)](checkPwandBootstrapCli,_0x3244d4,constants[_0x3f3ce(0x22c)][_0x3f3ce(0x2bd)],_0x369816);else _0xc095a4&&await _0x1e8804['aKOTR'](checkPuppeteerAndBootstrapCli,_0xc095a4,constants['FRAMEWORKS'][_0x3f3ce(0x2bd)],_0x369816);!BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x1fd)]()&&await _0x369816[_0x3f3ce(0x24e)]();if(!_0x369816[_0x3f3ce(0x27b)])return;_0x1e8804[_0x3f3ce(0x248)](_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2a0)],null)?process[_0x3f3ce(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x369816[_0x3f3ce(0x27b)]['testObservability']:process[_0x3f3ce(0x202)][_0x3f3ce(0x2dd)]=_0x1e8804[_0x3f3ce(0x205)];const _0x316f05=new TestOrchestrationHandler(_0x369816['config']),_0x41993a=await _0x1e8804['ZWNyZ'](getUserJestConfigs,_0x1dc207,_0x29e38f);logger[_0x3f3ce(0x1ee)](_0x1e8804[_0x3f3ce(0x234)]);const _0x47312a=Object['assign']({},_0x41993a);_0x47312a[_0x3f3ce(0x26c)]=Object['assign']({},_0x47312a['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x369816[_0x3f3ce(0x27b)]),'environment':_0x41993a[_0x3f3ce(0x25d)]}),_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x268)]=_0x1e8804[_0x3f3ce(0x2cf)](getPercyOptions,_0x369816['config']);const _0x374401=helper[_0x3f3ce(0x2da)](_0x369816['config']);!helper['isUndefined'](_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x264)])&&(process['env'][_0x3f3ce(0x242)]=JSON[_0x3f3ce(0x224)](_0x369816['config'][_0x3f3ce(0x264)]));if(!BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x1fd)]()){const _0x5d534e=await TestHubHandler[_0x3f3ce(0x294)](FRAMEWORKS[_0x3f3ce(0x2bd)],_0x369816);}const _0x3411b2=helper[_0x3f3ce(0x226)](_0x369816[_0x3f3ce(0x27b)],_0x374401,constants['FRAMEWORKS'][_0x3f3ce(0x2bd)]);process[_0x3f3ce(0x202)][_0x3f3ce(0x2d3)]=JSON[_0x3f3ce(0x224)](_0x3411b2);let _0x34c45e=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x252)];_0x34c45e=_0x34c45e||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x369816[_0x3f3ce(0x27b)]),process[_0x3f3ce(0x202)][_0x3f3ce(0x22f)]=_0x34c45e,logger['debug'](_0x3f3ce(0x258)+_0x34c45e+',\x20CLI\x20running:\x20'+BrowserstackCLI['getInstance']()[_0x3f3ce(0x1fd)]());if(_0x3244d4)try{const _0x5f41e0=_0x1e8804['oGGFI'](checkAccessibilityPlatformConfig,_0x369816[_0x3f3ce(0x27b)]);process[_0x3f3ce(0x202)][_0x3f3ce(0x28e)]=_0x5f41e0?_0x1e8804['wFZBH']:_0x1e8804[_0x3f3ce(0x1ff)],logger['debug'](_0x3f3ce(0x22b)+_0x5f41e0+_0x3f3ce(0x1e9)+process[_0x3f3ce(0x202)][_0x3f3ce(0x28e)]);}catch(_0xfc57fa){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x1fc)+util[_0x3f3ce(0x2a9)](_0xfc57fa));}_0x47312a[_0x3f3ce(0x26c)]['capabilities']=_0x3411b2,_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x2aa)]=_0x1e8804[_0x3f3ce(0x2a8)](getSerial,_0x3411b2,_0x1dc207),_0x47312a[_0x3f3ce(0x26c)]['parallels__']=_0x1e8804['aKOTR'](getMaxWorkers,_0x1dc207,_0x369816['config'],_0x41993a),_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x1eb)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1eb)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x201)]=_0x1e8804[_0x3f3ce(0x298)](_0x1dc207[_0x3f3ce(0x206)],0x1)||0x1388,_0x47312a[_0x3f3ce(0x26c)]['skipSessionName']=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x228)][_0x3f3ce(0x259)],_0x47312a[_0x3f3ce(0x26c)]['skipSessionStatus']=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x228)][_0x3f3ce(0x1fe)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x297)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2b4)],_0x47312a['testEnvironmentOptions'][_0x3f3ce(0x2a6)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2a6)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x28b)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)],Object['assign'](_0x47312a['testEnvironmentOptions'],helper[_0x3f3ce(0x2ad)](_0x369816[_0x3f3ce(0x27b)],_0x374401,constants[_0x3f3ce(0x22c)][_0x3f3ce(0x2bd)]));const _0x2e1778=helper[_0x3f3ce(0x25f)](_0x369816['config']);if(!helper['isEmpty'](_0x2e1778)){helper[_0x3f3ce(0x233)](_0x2e1778[_0x3f3ce(0x267)])&&(_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x276)]=_0x2e1778['retryTestsOnFailure'][_0x3f3ce(0x22d)]);if(helper[_0x3f3ce(0x233)](_0x2e1778['abortBuildOnFailure'])&&helper[_0x3f3ce(0x233)](_0x2e1778[_0x3f3ce(0x249)][_0x3f3ce(0x29a)])){const _0x135616={};_0x135616[_0x3f3ce(0x1f2)]=_0x2e1778['abortBuildOnFailure'][_0x3f3ce(0x1f3)],_0x135616['workingDir']=_0x2e1778['abortBuildOnFailure'][_0x3f3ce(0x29a)],_0x47312a['testEnvironmentOptions'][_0x3f3ce(0x221)]=_0x135616;}}let _0x4eacf4='';_0x1e8804[_0x3f3ce(0x2bb)](helper['getPackageType'](),constants[_0x3f3ce(0x240)][_0x3f3ce(0x207)])?_0x4eacf4=_0x1e8804[_0x3f3ce(0x231)]:_0x4eacf4=_0x1e8804[_0x3f3ce(0x2e0)];const _0x1f7f4f=_0x4eacf4,_0x4716b7=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x271)]),_0x3d34a1=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x28f)]),_0x5a3a2b=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x25e)]);_0x47312a[_0x3f3ce(0x25d)]&&(process[_0x3f3ce(0x202)][_0x3f3ce(0x2b0)]=_0x47312a['testEnvironment']);_0x47312a[_0x3f3ce(0x25d)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x2b2)]);const _0x250e40=_0x41993a[_0x3f3ce(0x2c0)];if(_0x250e40&&_0x1e8804[_0x3f3ce(0x2dc)](_0x250e40,_0x1e8804[_0x3f3ce(0x272)])){const _0x55e834=_0x250e40[_0x3f3ce(0x2a3)](_0x1e8804['idUCx'])?_0x250e40:_0x3f3ce(0x251)+_0x250e40;process['env'][_0x3f3ce(0x2e3)]=_0x55e834,logger[_0x3f3ce(0x1ee)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x55e834);}_0x47312a[_0x3f3ce(0x2c0)]=_0x3d34a1,_0x47312a['setupFilesAfterEnv']=_0x47312a['setupFilesAfterEnv']||[],_0x47312a[_0x3f3ce(0x1fa)][_0x3f3ce(0x222)](path['join'](__dirname,_0x1e8804['kDAQi']));_0x316f05[_0x3f3ce(0x295)]()&&(_0x47312a[_0x3f3ce(0x254)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x2a4)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x24b)]()){let _0x185957=null;try{_0x185957=helper[_0x3f3ce(0x262)](_0x1e8804[_0x3f3ce(0x215)],_0x1e8804['qbzmi']);}catch(_0x4130ca){try{_0x185957=helper[_0x3f3ce(0x262)](_0x1e8804[_0x3f3ce(0x2d7)],_0x1e8804[_0x3f3ce(0x2e2)]);}catch(_0x4f354e){_0x1e8804['CNCpm'](debug,_0x3f3ce(0x2cc)+_0x4f354e);}}_0x185957&&(testhubUtils[_0x3f3ce(0x2c9)]()&&_0x47312a['setupFilesAfterEnv'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x28a)],_0x1e8804[_0x3f3ce(0x27c)])),_0x47312a[_0x3f3ce(0x20e)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804['dkgCO']));}_0x47312a[_0x3f3ce(0x2d8)]=_0x47312a['setupFiles']||[];try{helper[_0x3f3ce(0x223)](),_0x47312a['setupFiles'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1e3)]));}catch{logger['debug'](_0x1e8804['BueRB']);}try{helper[_0x3f3ce(0x2ce)]['apply'](null,[_0x1e8804['SYxLP'],_0x1e8804[_0x3f3ce(0x296)]]),logger['debug'](_0x1e8804['AwHhI']),_0x47312a[_0x3f3ce(0x2d8)]['push'](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x2c8)]));}catch(_0x5bd0d3){logger['debug'](_0x1e8804['FqRna'],_0x5bd0d3);}if(_0x1e8804[_0x3f3ce(0x21a)](!_0x3244d4,_0xc095a4)){try{logger[_0x3f3ce(0x1fb)](_0x1e8804[_0x3f3ce(0x1e6)]),_0x47312a['setupFilesAfterEnv'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,'..',_0x1e8804[_0x3f3ce(0x2db)],_0x1e8804['PexkE']));}catch(_0x18d3f4){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2d4)+_0x18d3f4['message']);}try{const _0x4a63b7=require[_0x3f3ce(0x26a)](_0x1e8804['sDOhy']),_0x1b599f=path['dirname'](_0x4a63b7)[_0x3f3ce(0x2c2)](/\\/g,'/'),_0x4bebf7={};_0x4bebf7[_0x3f3ce(0x219)]=_0x1b599f+_0x3f3ce(0x22a),_0x47312a['moduleNameMapper']=Object[_0x3f3ce(0x229)]({},_0x47312a[_0x3f3ce(0x27e)]||{},_0x4bebf7),logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x1ef)+_0x1b599f);}catch(_0x3d6abe){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2ab)+_0x3d6abe[_0x3f3ce(0x23b)]);}}_0x47312a[_0x3f3ce(0x299)]=_0x47312a['reporters']||[_0x1e8804[_0x3f3ce(0x27a)]],_0x1e8804[_0x3f3ce(0x26f)](updateTestRerunConfig,_0x47312a,_0x369816);const _0x7050d7=fs[_0x3f3ce(0x22e)](_0x5a3a2b),_0x2bf6ce=helper[_0x3f3ce(0x1f5)](_0x1e8804[_0x3f3ce(0x244)],_0x1e8804[_0x3f3ce(0x2d6)]);!_0x2bf6ce[_0x3f3ce(0x1ed)]?fs[_0x3f3ce(0x1e5)](_0x47312a[_0x3f3ce(0x2c0)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x7050d7+_0x3f3ce(0x2c6)+_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)][_0x3f3ce(0x2c1)]+_0x3f3ce(0x25b)):fs[_0x3f3ce(0x1e5)](_0x47312a['runner'],_0x3f3ce(0x29b)+_0x7050d7+_0x3f3ce(0x283)+_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)]['length']+_0x3f3ce(0x261));logger[_0x3f3ce(0x1ee)](_0x3f3ce(0x282)+_0x1f7f4f+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x1f7f4f,_0x3f3ce(0x1ea)+JSON[_0x3f3ce(0x224)](_0x47312a)+_0x3f3ce(0x2b1));if(_0x316f05[_0x3f3ce(0x295)]()){logger[_0x3f3ce(0x1fb)](_0x1e8804[_0x3f3ce(0x2a2)]);const _0x56db49=await _0x316f05[_0x3f3ce(0x2ba)](_0x47312a,_0x29e38f[_0x3f3ce(0x274)](0x1),_0x1f7f4f);logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2b9)+JSON[_0x3f3ce(0x224)](_0x56db49)+'\x20test\x20files\x20to\x20run.');const _0x114e66=await _0x316f05[_0x3f3ce(0x280)](_0x56db49);logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x218)+JSON[_0x3f3ce(0x224)](_0x114e66)),_0x114e66&&_0x1e8804[_0x3f3ce(0x232)](_0x114e66[_0x3f3ce(0x2c1)],0x0)&&(process[_0x3f3ce(0x202)][_0x3f3ce(0x237)]=_0x114e66?.[_0x3f3ce(0x266)](','));}logger[_0x3f3ce(0x1ee)](_0x1e8804[_0x3f3ce(0x281)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x3f3ce(0x24d)]();helper[_0x3f3ce(0x2d2)]({},_0x29e38f),PerformanceTester[_0x3f3ce(0x213)](PerformanceEvents[_0x3f3ce(0x2e9)]);const _0x30e877=[_0x1e8804[_0x3f3ce(0x1e8)],_0x1e8804[_0x3f3ce(0x21c)],_0x1f7f4f,..._0x29e38f[_0x3f3ce(0x274)](0x1)];process[_0x3f3ce(0x202)][_0x3f3ce(0x2a7)]=process[_0x3f3ce(0x202)][_0x3f3ce(0x2a7)]||_0x1e8804[_0x3f3ce(0x1e8)];const _0x49fbeb=_0x1e8804['aKOTR'](spawn,_0x1e8804[_0x3f3ce(0x275)],_0x30e877,{'shell':_0x1e8804[_0x3f3ce(0x230)](process[_0x3f3ce(0x20c)],_0x1e8804[_0x3f3ce(0x2d1)]),'stdio':_0x1e8804[_0x3f3ce(0x2a1)],'env':Object[_0x3f3ce(0x229)]({},process[_0x3f3ce(0x202)])});_0x49fbeb['on'](_0x1e8804[_0x3f3ce(0x238)],async _0x21524e=>{const _0x4b2a4c=_0x3f3ce;PerformanceTester[_0x4b2a4c(0x203)](PerformanceEvents['SDK_CLEANUP']),process[_0x4b2a4c(0x220)]=_0x21524e,logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x2c3)+_0x21524e),logger[_0x4b2a4c(0x1ee)](_0x4b2a4c(0x1f0)+_0x1f7f4f);if(helper[_0x4b2a4c(0x233)](_0x2e1778)&&helper['isNotUndefined'](_0x2e1778['abortBuildOnFailure'])&&fs[_0x4b2a4c(0x1e7)](_0x2e1778[_0x4b2a4c(0x249)]['workingDir']))try{const _0xa0c2f9={};_0xa0c2f9['recursive']=!![],_0xa0c2f9[_0x4b2a4c(0x277)]=!![],fs[_0x4b2a4c(0x278)](_0x2e1778[_0x4b2a4c(0x249)]['workingDir'],_0xa0c2f9),logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x2ae)+_0x2e1778['abortBuildOnFailure']['workingDir']);}catch(_0x2deb80){logger['error'](_0x4b2a4c(0x25a)+_0x2deb80);}let _0x25b2b5=null;if(fs[_0x4b2a4c(0x1e7)](_0x4716b7)){_0x25b2b5=fs[_0x4b2a4c(0x22e)](_0x4716b7);try{_0x25b2b5=JSON[_0x4b2a4c(0x1f1)](_0x25b2b5);}catch(_0x5617cf){logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x204)+_0x4716b7+',\x20'+_0x25b2b5+_0x4b2a4c(0x217)+_0x5617cf);}fs['unlinkSync'](_0x4716b7);}fs[_0x4b2a4c(0x21b)](_0x1f7f4f),fs['unlinkSync'](_0x3d34a1),_0x25b2b5&&(_0x369816[_0x4b2a4c(0x27f)]=helper[_0x4b2a4c(0x2a5)](_0x25b2b5,_0x1e8804[_0x4b2a4c(0x1e8)],_0x369816));const _0x265df4=BrowserstackCLI[_0x4b2a4c(0x20b)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x44930b){console[_0x4b2a4c(0x287)](_0x44930b),_0x1e8804['pwjHV'](debug,_0x4b2a4c(0x288)+util[_0x4b2a4c(0x2a9)](_0x44930b));}testOpsHelper['printBuildLink'](),TestDetails[_0x4b2a4c(0x208)](),await utilities[_0x4b2a4c(0x235)](_0x369816,_0x265df4);});}module['exports']=run;
2
+ 'use strict';const a21_0x12d3ce=a21_0x317a;function a21_0x30a9(){const _0x51c14d=['winstonLogger','../../helpers/helper','workingDir','bCeph','SDK_CLEANUP','test-observability','NeAzV','getInstance','cjs','yBkFy','puppeteer-core/package.json','abortBuildOnFailure','194414nxVtRg','../../helpers/percy/utils','splice','parse','customTestRunner.js','Error\x20while\x20parsing\x20','1814995BqiGeh','startsWith','writeFileSync','reorderTestFiles','Reodered\x20Test\x20Files:\x20','findTestFiles','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','serial__','Unable\x20to\x20find\x20jest-circus,\x20','UHaSR','turboScaleUrl','dfisP','dirname','true','--config','getMultiDriverWorkerConfig','../../helpers/performance/constants','MODULE','message','force','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','package.json','exitCode','YInBU','1423542OAZkVI','customImplements','hoYAx','./test-observability/helper','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','browserStackLogLevel','\x0a\x20\x20\x20\x20\x20\x20','1342405ZvzCNk','../../helpers/test-observability/utils','platformCaps','Deleted\x20fail-fast\x20state\x20folder:\x20','cWESt','customSequencer.js','jest-config/build/readConfigFileAndSetRootDir.js','env','readFileSync','WqngH','false','isUndefined','HdEZB','browserStackPercyOptions','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','jest-config','mHAat','assign','./test-observability/test-details','requirePWModule','rmSync','wzdNm','slice','rQllK','const\x20config=','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Creating\x20','TgIoI','../../helpers/testhub/utils','\x20test\x20files\x20to\x20run.','Preserving\x20user\x27s\x20Jest\x20runner:\x20','283712gpiMae','resolve','iChPv','push','initialize','USER_CONFIG_DETAILS_PATH','proxySettings','\x0amodule.exports\x20=\x20config;','getHubUrl','default','finalExecution','shutdown','mxaHR','URrbv','getPackageType','platforms','vPjLt','customTestRunnerTemplate.js','OPZhe','cwd','DflON','isCLIEnabled','path','resolveModule','requireModule','CQqIR','config','failureThresholdCount','TjkJa','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','setupBrowserstackLocal','isBrowserstackInfra','UYBka','\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','JrEVv','jest-circus/build/runner.js','testEnvironmentOptions','OBvaC','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','vNkBK','util','start',';\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','bTPZc','child\x20process\x20exited\x20with\x20code\x20','jest-circus','isRunning','269248EcZktT',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','errorMessage','testSequencer','json','../../helpers/puppeteer-helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','mjs','BROWSERSTACK_CAPABILITIES','VBlcg','printBuildLink','HfEjD','../../helpers/playwright-helper','KLzpp','__isPlaywrightInstalled','@jest/core','skipSessionStatus','apply','findIndex','parallelsPerPlatform','KBLXX','failFast','setupFiles','../../helpers/accessibility-automation/helper','stringify','Deleting\x20','unlinkSync','error','customCircus.js','^puppeteer-core/internal/(.*)','maxWorkers','logLevel','jest-runner-','win32','DLrlN','exports','existsSync','testEnvironment','jest_browserstack.config.cjs','../utils/constants','JEST','retries__','RltUf','data-hooks.js','parallels__','launchBuild','moduleNameMapper','skipSessionName','test.setup.js','test_before.setup.js','debug','timeout__','xYpUg','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isEmpty','format','platform',',\x20CLI\x20running:\x20','testObservability','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','JDGfi','FRAMEWORKS','length','getPackageVersion','BSTACK_USER_JEST_RUNNER','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','\x20with\x20browserstack\x20jest\x20configs','CodHG','YFxVF','LbZIp','../v2/browserstackCLI','../../helpers/BrowserStackSetup','wxBRn','setupFilesAfterEnv','isNotUndefined','runner','customEnvironment.js','TRsNt','testRunner','1383IdHsEG',';\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','lWZHs','__isPuppeteerInstalled','Getting\x20your\x20jest\x20configs\x20from\x20package.json','FJAnm','jest','../../helpers/logger','parseTestOrchestrationOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','runInBand','join','recursive','261rFSBPF','../../helpers/testhub/testhubHandler','readInitialOptions','TEowI','handleApp','playwright','testContextOptions','2460qaIOLW','BSTACK_JEST_TEST_ENV','../utils/clientTroubleshootingService','info','SwDdH','filterBrowserstackArgs','\x20:\x20','reporters','Erboq','@jest/core/build/ReporterDispatcher.js','jest.setup.js','end','getErrorMessageFromResults','accessibilityOptions','jest-runner','BROWSERSTACK_FRAMEWORK','npx','shouldProcessEventForTesthub','requireSeleniumWebdriver','../../helpers/utilities','ZwAJO','testTimeout','QBVMI','TcgKM','Found:\x20','ZTtgp','retryTestsOnFailure'];a21_0x30a9=function(){return _0x51c14d;};return a21_0x30a9();}(function(_0xfda9ef,_0x1b25ed){const _0x3f5f35=a21_0x317a,_0x216ab0=_0xfda9ef();while(!![]){try{const _0x2796ac=-parseInt(_0x3f5f35(0x209))/0x1+-parseInt(_0x3f5f35(0x295))/0x2+-parseInt(_0x3f5f35(0x25a))/0x3*(parseInt(_0x3f5f35(0x26e))/0x4)+parseInt(_0x3f5f35(0x2ba))/0x5+-parseInt(_0x3f5f35(0x2b3))/0x6+-parseInt(_0x3f5f35(0x29b))/0x7+-parseInt(_0x3f5f35(0x1da))/0x8*(-parseInt(_0x3f5f35(0x267))/0x9);if(_0x2796ac===_0x1b25ed)break;else _0x216ab0['push'](_0x216ab0['shift']());}catch(_0x35d4ac){_0x216ab0['push'](_0x216ab0['shift']());}}}(a21_0x30a9,0x24b99));const fs=require('fs'),path=require(a21_0x12d3ce(0x1f0)),util=require(a21_0x12d3ce(0x202)),{spawn}=require('child_process'),logger=require(a21_0x12d3ce(0x261))[a21_0x12d3ce(0x289)],{default:BrowserStackSetup}=require(a21_0x12d3ce(0x252)),helper=require(a21_0x12d3ce(0x28a)),utilities=require(a21_0x12d3ce(0x281)),constants=require(a21_0x12d3ce(0x230)),accessibilityHelper=require(a21_0x12d3ce(0x220)),{updateTestRerunConfig}=require(a21_0x12d3ce(0x2b6)),testOpsHelper=require(a21_0x12d3ce(0x2bb)),{debug}=require(a21_0x12d3ce(0x2bb)),TestDetails=require(a21_0x12d3ce(0x2cc)),{getPercyOptions}=require(a21_0x12d3ce(0x296)),TestHubHandler=require(a21_0x12d3ce(0x268)),testhubUtils=require(a21_0x12d3ce(0x2d6)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a21_0x12d3ce(0x2ab))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x12d3ce(0x251)),{checkPwandBootstrapCli}=require(a21_0x12d3ce(0x215)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x12d3ce(0x20e)),ClientTroubleShootingService=require(a21_0x12d3ce(0x270)),{checkAccessibilityPlatformConfig}=require(a21_0x12d3ce(0x220)),getUserJestConfigs=async(_0x49edc2,_0x3a52f8)=>{const _0x2d7a1e=a21_0x12d3ce,_0x48131f={'ePhZT':_0x2d7a1e(0x2c0),'WqngH':_0x2d7a1e(0x2c9),'VKpvb':function(_0x101340,_0x2a322e){return _0x101340||_0x2a322e;},'HfEjD':function(_0x4d111a,_0x31838b){return _0x4d111a(_0x31838b);},'FJAnm':_0x2d7a1e(0x2b0),'UYBka':_0x2d7a1e(0x25e),'pVoaf':_0x2d7a1e(0x210),'JrEVv':_0x2d7a1e(0x291),'bTPZc':_0x2d7a1e(0x20d)};let _0x45c245;try{_0x45c245=helper[_0x2d7a1e(0x1f2)](_0x48131f['ePhZT'],_0x48131f[_0x2d7a1e(0x2c3)]);}catch{const _0x4cd128=helper[_0x2d7a1e(0x1f2)](_0x48131f[_0x2d7a1e(0x2c3)]);_0x45c245={'default':async _0x3ad4fa=>{const _0x27e8ee=_0x2d7a1e,_0x52a874=await _0x4cd128[_0x27e8ee(0x269)](_0x3ad4fa,{});return _0x52a874['config'];}};}const _0x15b16d=_0x3a52f8[_0x2d7a1e(0x21b)](_0x4595c8=>_0x4595c8===_0x2d7a1e(0x2a9));if(!helper[_0x2d7a1e(0x2c5)](_0x49edc2[_0x2d7a1e(0x1f4)])){logger[_0x2d7a1e(0x271)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x49edc2[_0x2d7a1e(0x1f4)]),process['env'][_0x2d7a1e(0x1df)]=_0x49edc2[_0x2d7a1e(0x1f4)];const _0x463a90=await(0x0,_0x45c245['default'])(path['resolve'](_0x49edc2[_0x2d7a1e(0x1f4)]));return _0x3a52f8[_0x2d7a1e(0x297)](_0x15b16d,0x2),_0x48131f['VKpvb'](_0x463a90,{});}const _0x182956=_0x48131f[_0x2d7a1e(0x214)](require,path[_0x2d7a1e(0x265)](process[_0x2d7a1e(0x1ed)](),_0x48131f[_0x2d7a1e(0x25f)]));if(_0x182956[_0x2d7a1e(0x260)])return logger[_0x2d7a1e(0x271)](_0x48131f[_0x2d7a1e(0x1fa)]),_0x182956['jest'];const _0x5455e0=['js',_0x48131f['pVoaf'],_0x48131f[_0x2d7a1e(0x1fc)],_0x48131f[_0x2d7a1e(0x205)],'ts'];for(const _0x4eefa4 of _0x5455e0){const _0x1af1b5=path['join'](process['cwd'](),'jest.config.'+_0x4eefa4);if(fs[_0x2d7a1e(0x22d)](_0x1af1b5)){process[_0x2d7a1e(0x2c1)][_0x2d7a1e(0x1df)]=_0x1af1b5;const _0x5a36d1=await(0x0,_0x45c245['default'])(_0x1af1b5);return _0x5a36d1;}}return{};},getSerial=(_0x4f7c33,_0x1aa277)=>{const _0x4e2c66=a21_0x12d3ce,_0x4b0cf4={};_0x4b0cf4[_0x4e2c66(0x2d1)]='true',_0x4b0cf4[_0x4e2c66(0x2c6)]=function(_0x54ec05,_0x1e52b5){return _0x54ec05>_0x1e52b5;},_0x4b0cf4[_0x4e2c66(0x28c)]=function(_0x3bac0e,_0x1f540f){return _0x3bac0e>_0x1f540f;},_0x4b0cf4[_0x4e2c66(0x292)]=_0x4e2c66(0x2c4);const _0x336504=_0x4b0cf4;let _0x56e926=_0x336504[_0x4e2c66(0x2d1)];return _0x336504[_0x4e2c66(0x2c6)](_0x4f7c33[_0x4e2c66(0x248)],0x1)&&(!_0x1aa277[_0x4e2c66(0x264)]&&(helper[_0x4e2c66(0x2c5)](_0x1aa277[_0x4e2c66(0x227)])||_0x336504['bCeph'](_0x1aa277[_0x4e2c66(0x227)],0x1)))&&(_0x56e926=_0x336504[_0x4e2c66(0x292)]),_0x56e926;},getMaxWorkers=(_0x14c91f,_0x3749b0,_0x625a4c)=>{const _0x392727=a21_0x12d3ce,_0xb6b57d={'vPjLt':function(_0x20f321,_0xd0b4b8){return _0x20f321(_0xd0b4b8);}};let _0x14ba21=0x1;if(!helper[_0x392727(0x2c5)](_0x3749b0[_0x392727(0x21c)]))_0x14ba21=_0xb6b57d[_0x392727(0x1ea)](parseInt,_0x3749b0[_0x392727(0x21c)]);else{if(!helper['isUndefined'](_0x14c91f['maxWorkers']))_0x14ba21=_0x14c91f[_0x392727(0x227)];else!helper['isUndefined'](_0x625a4c[_0x392727(0x227)])&&(_0x14ba21=_0x625a4c[_0x392727(0x227)]);}return _0x14ba21;};function a21_0x317a(_0x52ddd3,_0x9d05cd){const _0x30a9f9=a21_0x30a9();return a21_0x317a=function(_0x317ad7,_0x142a4d){_0x317ad7=_0x317ad7-0x1da;let _0x8ebf0d=_0x30a9f9[_0x317ad7];return _0x8ebf0d;},a21_0x317a(_0x52ddd3,_0x9d05cd);}async function run(_0x3b8faf,_0x32578e,_0xdd4f72){const _0x2dc418=a21_0x12d3ce,_0x124fca={'iChPv':_0x2dc418(0x260),'QBVMI':function(_0x59fc77,_0x54543c){return _0x59fc77(_0x54543c);},'ZTtgp':'@playwright/test','wxBRn':function(_0x39476b){return _0x39476b();},'mxaHR':function(_0x2d6bfa,_0x34f520,_0x10242f,_0x5512da){return _0x2d6bfa(_0x34f520,_0x10242f,_0x5512da);},'TgIoI':function(_0x22d4a7,_0x3afe6a,_0x4697ef,_0x5c6653){return _0x22d4a7(_0x3afe6a,_0x4697ef,_0x5c6653);},'LdVKC':function(_0x305e73,_0x31b41c){return _0x305e73!=_0x31b41c;},'SwDdH':_0x2dc418(0x2a8),'Erboq':function(_0x35ee70,_0x19302f,_0x1df8a3){return _0x35ee70(_0x19302f,_0x1df8a3);},'bgaNz':_0x2dc418(0x23e),'KLzpp':function(_0xb7444f,_0x200f14){return _0xb7444f(_0x200f14);},'NeAzV':'false','cWESt':function(_0x518f02,_0x11c5e1,_0x3a3ea1){return _0x518f02(_0x11c5e1,_0x3a3ea1);},'mHAat':function(_0x19de52,_0x5538ef,_0xb0ee46,_0x5184f5){return _0x19de52(_0x5538ef,_0xb0ee46,_0x5184f5);},'TRsNt':function(_0x24d069,_0x5cebfa){return _0x24d069*_0x5cebfa;},'LbZIp':function(_0x3712a3,_0x17ef35){return _0x3712a3===_0x17ef35;},'JDGfi':_0x2dc418(0x22f),'bDTvI':'jest_browserstack.config.js','OBvaC':_0x2dc418(0x2b4),'YFxVF':'jest_browserstack_results.json','rgIlp':_0x2dc418(0x299),'VBlcg':_0x2dc418(0x1eb),'xYpUg':_0x2dc418(0x257),'TjkJa':function(_0x170420,_0x3c15d9){return _0x170420!==_0x3c15d9;},'hUbLO':_0x2dc418(0x27c),'UHaSR':_0x2dc418(0x229),'gltwo':_0x2dc418(0x278),'FfJXB':_0x2dc418(0x2bf),'ElvdL':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DflON':_0x2dc418(0x207),'CodHG':_0x2dc418(0x1fd),'VNXVv':_0x2dc418(0x28e),'RltUf':_0x2dc418(0x234),'OPZhe':_0x2dc418(0x225),'yLzUg':_0x2dc418(0x23a),'TcgKM':_0x2dc418(0x2d3),'gZwIR':_0x2dc418(0x26c),'YInBU':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TEowI':_0x2dc418(0x239),'KBLXX':_0x2dc418(0x2b7),'lWZHs':function(_0xd18bb6,_0xcde5b4){return _0xd18bb6&&_0xcde5b4;},'JxUAl':_0x2dc418(0x1f7),'dfisP':'puppeteer','lJpol':_0x2dc418(0x293),'dSfBd':_0x2dc418(0x1e3),'URrbv':_0x2dc418(0x277),'qNaCg':_0x2dc418(0x218),'wzdNm':_0x2dc418(0x2a1),'ZwAJO':function(_0x382ced,_0x3226a6){return _0x382ced>_0x3226a6;},'IyUyE':_0x2dc418(0x2af),'CQqIR':_0x2dc418(0x2a9),'hoYAx':_0x2dc418(0x27e),'UNQBE':function(_0xd5956f,_0x54acf5){return _0xd5956f===_0x54acf5;},'vNkBK':_0x2dc418(0x22a),'DLrlN':'inherit','spAID':'close'},_0x4bc5dc=helper[_0x2dc418(0x249)](_0x124fca[_0x2dc418(0x287)]);global[_0x2dc418(0x217)]=!!_0x4bc5dc;const _0x4866a3=_0x124fca[_0x2dc418(0x253)](getPuppeteerVersion);global[_0x2dc418(0x25d)]=!!_0x4866a3;helper[_0x2dc418(0x1f9)]()&&(await _0xdd4f72[_0x2dc418(0x1de)](_0x3b8faf),await helper[_0x2dc418(0x26b)](_0xdd4f72[_0x2dc418(0x1f4)]));if(_0x4bc5dc)await _0x124fca[_0x2dc418(0x1e6)](checkPwandBootstrapCli,_0x4bc5dc,constants[_0x2dc418(0x247)]['JEST'],_0xdd4f72);else _0x4866a3&&await _0x124fca[_0x2dc418(0x2d5)](checkPuppeteerAndBootstrapCli,_0x4866a3,constants[_0x2dc418(0x247)][_0x2dc418(0x231)],_0xdd4f72);!BrowserstackCLI[_0x2dc418(0x290)]()['isRunning']()&&await _0xdd4f72[_0x2dc418(0x1f8)]();if(!_0xdd4f72[_0x2dc418(0x1f4)])return;_0x124fca['LdVKC'](_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x244)],null)?process[_0x2dc418(0x2c1)][_0x2dc418(0x20f)]=_0xdd4f72['config'][_0x2dc418(0x244)]:process[_0x2dc418(0x2c1)][_0x2dc418(0x20f)]=_0x124fca[_0x2dc418(0x272)];const _0x576b78=new TestOrchestrationHandler(_0xdd4f72[_0x2dc418(0x1f4)]),_0x39977b=await _0x124fca[_0x2dc418(0x276)](getUserJestConfigs,_0x3b8faf,_0x32578e);logger[_0x2dc418(0x271)](_0x124fca['bgaNz']);const _0x5441dc=Object[_0x2dc418(0x2cb)]({},_0x39977b);_0x5441dc['testEnvironmentOptions']=Object[_0x2dc418(0x2cb)]({},_0x5441dc[_0x2dc418(0x1fe)],{'server':helper[_0x2dc418(0x1e2)](_0xdd4f72[_0x2dc418(0x1f4)]),'environment':_0x39977b['testEnvironment']}),_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x2c7)]=_0x124fca[_0x2dc418(0x284)](getPercyOptions,_0xdd4f72[_0x2dc418(0x1f4)]);const _0x3e6a01=helper['useW3C'](_0xdd4f72[_0x2dc418(0x1f4)]);!helper[_0x2dc418(0x2c5)](_0xdd4f72['config'][_0x2dc418(0x27b)])&&(process[_0x2dc418(0x2c1)][_0x2dc418(0x263)]=JSON[_0x2dc418(0x221)](_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x27b)]));if(!BrowserstackCLI[_0x2dc418(0x290)]()[_0x2dc418(0x208)]()){const _0xe166a5=await TestHubHandler[_0x2dc418(0x236)](FRAMEWORKS[_0x2dc418(0x231)],_0xdd4f72);}const _0x55fb59=helper['prepareCapabilities'](_0xdd4f72[_0x2dc418(0x1f4)],_0x3e6a01,constants[_0x2dc418(0x247)][_0x2dc418(0x231)]);process[_0x2dc418(0x2c1)][_0x2dc418(0x211)]=JSON['stringify'](_0x55fb59);let _0x16f599=_0xdd4f72['config']['accessibility'];_0x16f599=_0x16f599||accessibilityHelper['checkAccessibilityPlatformConfig'](_0xdd4f72[_0x2dc418(0x1f4)]),process[_0x2dc418(0x2c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x16f599,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x16f599+_0x2dc418(0x243)+BrowserstackCLI[_0x2dc418(0x290)]()[_0x2dc418(0x208)]());if(_0x4bc5dc)try{const _0x2397d4=_0x124fca[_0x2dc418(0x216)](checkAccessibilityPlatformConfig,_0xdd4f72[_0x2dc418(0x1f4)]);process[_0x2dc418(0x2c1)][_0x2dc418(0x23f)]=_0x2397d4?_0x124fca['SwDdH']:_0x124fca[_0x2dc418(0x28f)],logger['debug'](_0x2dc418(0x24c)+_0x2397d4+_0x2dc418(0x20a)+process[_0x2dc418(0x2c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x3a3a10){logger[_0x2dc418(0x23b)](_0x2dc418(0x200)+util['format'](_0x3a3a10));}_0x5441dc[_0x2dc418(0x1fe)]['capabilities']=_0x55fb59,_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x2a2)]=_0x124fca[_0x2dc418(0x2be)](getSerial,_0x55fb59,_0x3b8faf),_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x235)]=_0x124fca[_0x2dc418(0x2ca)](getMaxWorkers,_0x3b8faf,_0xdd4f72[_0x2dc418(0x1f4)],_0x39977b),_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x1e0)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x1e0)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x23c)]=_0x124fca[_0x2dc418(0x258)](_0x3b8faf[_0x2dc418(0x283)],0x1)||0x1388,_0x5441dc['testEnvironmentOptions']['skipSessionName']=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x26d)][_0x2dc418(0x238)],_0x5441dc[_0x2dc418(0x1fe)]['skipSessionStatus']=_0xdd4f72['config'][_0x2dc418(0x26d)][_0x2dc418(0x219)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x2b8)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x228)],_0x5441dc[_0x2dc418(0x1fe)]['turboScaleUrl']=_0xdd4f72['config'][_0x2dc418(0x2a5)],_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x2bc)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x1e9)],Object[_0x2dc418(0x2cb)](_0x5441dc[_0x2dc418(0x1fe)],helper[_0x2dc418(0x2aa)](_0xdd4f72[_0x2dc418(0x1f4)],_0x3e6a01,constants[_0x2dc418(0x247)][_0x2dc418(0x231)]));const _0x289650=helper[_0x2dc418(0x262)](_0xdd4f72[_0x2dc418(0x1f4)]);if(!helper[_0x2dc418(0x240)](_0x289650)){helper[_0x2dc418(0x255)](_0x289650[_0x2dc418(0x288)])&&(_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x232)]=_0x289650['retryTestsOnFailure']['maxRetries']);if(helper[_0x2dc418(0x255)](_0x289650['abortBuildOnFailure'])&&helper[_0x2dc418(0x255)](_0x289650[_0x2dc418(0x294)][_0x2dc418(0x28b)])){const _0x2dcb85={};_0x2dcb85[_0x2dc418(0x1f5)]=_0x289650['abortBuildOnFailure']['maxFailures'],_0x2dcb85['workingDir']=_0x289650[_0x2dc418(0x294)][_0x2dc418(0x28b)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x21e)]=_0x2dcb85;}}let _0x5d1f3f='';_0x124fca[_0x2dc418(0x250)](helper[_0x2dc418(0x1e8)](),constants['PACKAGE_TYPE'][_0x2dc418(0x2ac)])?_0x5d1f3f=_0x124fca[_0x2dc418(0x246)]:_0x5d1f3f=_0x124fca['bDTvI'];const _0x506855=_0x5d1f3f,_0x5daee3=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x24f)]),_0xd8f7ee=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca['rgIlp']),_0x58c81c=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x212)]);_0x5441dc[_0x2dc418(0x22e)]&&(process[_0x2dc418(0x2c1)][_0x2dc418(0x26f)]=_0x5441dc['testEnvironment']);_0x5441dc['testEnvironment']=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x23d)]);const _0x34a422=_0x39977b[_0x2dc418(0x256)];if(_0x34a422&&_0x124fca[_0x2dc418(0x1f6)](_0x34a422,_0x124fca['hUbLO'])){const _0xdf9290=_0x34a422[_0x2dc418(0x29c)](_0x124fca[_0x2dc418(0x2a4)])?_0x34a422:_0x2dc418(0x229)+_0x34a422;process['env'][_0x2dc418(0x24a)]=_0xdf9290,logger[_0x2dc418(0x271)](_0x2dc418(0x2d8)+_0xdf9290);}_0x5441dc[_0x2dc418(0x256)]=_0xd8f7ee,_0x5441dc[_0x2dc418(0x254)]=_0x5441dc['setupFilesAfterEnv']||[],_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,_0x124fca['gltwo']));_0x576b78['isTestOrchestrationEnabled']()&&(_0x5441dc[_0x2dc418(0x20c)]=path[_0x2dc418(0x265)](__dirname,_0x124fca['OBvaC'],_0x124fca['FfJXB']));if(testhubUtils[_0x2dc418(0x27f)]()||BrowserstackCLI[_0x2dc418(0x290)]()['isCliEnabled']()){let _0x2b5948=null;try{_0x2b5948=helper[_0x2dc418(0x1f2)](_0x124fca['ElvdL'],_0x124fca[_0x2dc418(0x1ee)]);}catch(_0x53ff6a){try{_0x2b5948=helper[_0x2dc418(0x1f2)](_0x124fca[_0x2dc418(0x24e)],_0x124fca[_0x2dc418(0x1ee)]);}catch(_0x11d164){_0x124fca['QBVMI'](debug,_0x2dc418(0x2a3)+_0x11d164);}}_0x2b5948&&(testhubUtils[_0x2dc418(0x27f)]()&&_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,_0x124fca['VNXVv'],_0x124fca[_0x2dc418(0x233)])),_0x5441dc[_0x2dc418(0x259)]=path[_0x2dc418(0x265)](__dirname,_0x124fca['OBvaC'],_0x124fca[_0x2dc418(0x1ec)]));}_0x5441dc[_0x2dc418(0x21f)]=_0x5441dc[_0x2dc418(0x21f)]||[];try{helper[_0x2dc418(0x280)](),_0x5441dc['setupFiles']['push'](path[_0x2dc418(0x265)](__dirname,_0x124fca['yLzUg']));}catch{logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x285)]);}try{helper[_0x2dc418(0x2cd)][_0x2dc418(0x21a)](null,[_0x124fca[_0x2dc418(0x287)],_0x124fca['gZwIR']]),logger['debug'](_0x124fca[_0x2dc418(0x2b2)]),_0x5441dc[_0x2dc418(0x21f)]['push'](path[_0x2dc418(0x265)](__dirname,_0x124fca['TEowI']));}catch(_0x3a00bf){logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x21d)],_0x3a00bf);}if(_0x124fca[_0x2dc418(0x25c)](!_0x4bc5dc,_0x4866a3)){try{logger[_0x2dc418(0x23b)](_0x124fca['JxUAl']),_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,'..',_0x124fca[_0x2dc418(0x2a6)],_0x124fca[_0x2dc418(0x26a)]));}catch(_0x1e9eff){logger[_0x2dc418(0x23b)]('Puppeteer\x20setup\x20error:\x20'+_0x1e9eff[_0x2dc418(0x2ad)]);}try{const _0xc7a5da=require[_0x2dc418(0x1db)](_0x124fca['lJpol']),_0x40b1af=path[_0x2dc418(0x2a7)](_0xc7a5da)['replace'](/\\/g,'/'),_0x3bd2ac={};_0x3bd2ac[_0x2dc418(0x226)]=_0x40b1af+'/internal/$1',_0x5441dc[_0x2dc418(0x237)]=Object[_0x2dc418(0x2cb)]({},_0x5441dc[_0x2dc418(0x237)]||{},_0x3bd2ac),logger[_0x2dc418(0x23b)](_0x2dc418(0x245)+_0x40b1af);}catch(_0x2a099a){logger[_0x2dc418(0x23b)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x2a099a['message']);}}_0x5441dc[_0x2dc418(0x275)]=_0x5441dc[_0x2dc418(0x275)]||[_0x124fca['dSfBd']],_0x124fca[_0x2dc418(0x276)](updateTestRerunConfig,_0x5441dc,_0xdd4f72);const _0xeb2c52=fs[_0x2dc418(0x2c2)](_0x58c81c),_0x5a7cde=helper[_0x2dc418(0x1f1)](_0x124fca[_0x2dc418(0x1e7)],_0x124fca['qNaCg']);!_0x5a7cde[_0x2dc418(0x224)]?fs[_0x2dc418(0x29d)](_0x5441dc['runner'],_0x2dc418(0x2b9)+_0xeb2c52+_0x2dc418(0x1fb)+_0xdd4f72['config']['platforms'][_0x2dc418(0x248)]+_0x2dc418(0x25b)):fs[_0x2dc418(0x29d)](_0x5441dc[_0x2dc418(0x256)],_0x2dc418(0x2b9)+_0xeb2c52+'\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'+_0xdd4f72['config'][_0x2dc418(0x1e9)]['length']+_0x2dc418(0x204));logger['info'](_0x2dc418(0x2d4)+_0x506855+_0x2dc418(0x24d)),fs['writeFileSync'](_0x506855,_0x2dc418(0x2d2)+JSON['stringify'](_0x5441dc)+_0x2dc418(0x1e1));if(_0x576b78['isTestOrchestrationEnabled']()){logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x2cf)]);const _0xfaffa1=await _0x576b78[_0x2dc418(0x2a0)](_0x5441dc,_0x32578e[_0x2dc418(0x2d0)](0x1),_0x506855);logger[_0x2dc418(0x23b)](_0x2dc418(0x286)+JSON['stringify'](_0xfaffa1)+_0x2dc418(0x2d7));const _0x13637c=await _0x576b78[_0x2dc418(0x29e)](_0xfaffa1);logger[_0x2dc418(0x23b)](_0x2dc418(0x29f)+JSON[_0x2dc418(0x221)](_0x13637c)),_0x13637c&&_0x124fca[_0x2dc418(0x282)](_0x13637c[_0x2dc418(0x248)],0x0)&&(process[_0x2dc418(0x2c1)]['JEST_TEST_ORDER']=_0x13637c?.[_0x2dc418(0x265)](','));}logger[_0x2dc418(0x271)](_0x124fca['IyUyE']);testhubUtils[_0x2dc418(0x27f)]()&&TestDetails['setup']();helper[_0x2dc418(0x273)]({},_0x32578e),PerformanceTester[_0x2dc418(0x279)](PerformanceEvents['SDK_SETUP']);const _0x5f187c=[_0x124fca[_0x2dc418(0x1dc)],_0x124fca[_0x2dc418(0x1f3)],_0x506855,..._0x32578e[_0x2dc418(0x2d0)](0x1)];process['env'][_0x2dc418(0x27d)]=process['env']['BROWSERSTACK_FRAMEWORK']||_0x124fca[_0x2dc418(0x1dc)];const _0x3781cd=_0x124fca[_0x2dc418(0x1e6)](spawn,_0x124fca[_0x2dc418(0x2b5)],_0x5f187c,{'shell':_0x124fca['UNQBE'](process[_0x2dc418(0x242)],_0x124fca[_0x2dc418(0x201)]),'stdio':_0x124fca[_0x2dc418(0x22b)],'env':Object[_0x2dc418(0x2cb)]({},process[_0x2dc418(0x2c1)])});_0x3781cd['on'](_0x124fca['spAID'],async _0x5acd00=>{const _0x4931d5=_0x2dc418;PerformanceTester[_0x4931d5(0x203)](PerformanceEvents[_0x4931d5(0x28d)]),process[_0x4931d5(0x2b1)]=_0x5acd00,logger[_0x4931d5(0x23b)](_0x4931d5(0x206)+_0x5acd00),logger[_0x4931d5(0x271)](_0x4931d5(0x222)+_0x506855);if(helper[_0x4931d5(0x255)](_0x289650)&&helper['isNotUndefined'](_0x289650[_0x4931d5(0x294)])&&fs[_0x4931d5(0x22d)](_0x289650[_0x4931d5(0x294)][_0x4931d5(0x28b)]))try{const _0x41ba22={};_0x41ba22[_0x4931d5(0x266)]=!![],_0x41ba22[_0x4931d5(0x2ae)]=!![],fs[_0x4931d5(0x2ce)](_0x289650[_0x4931d5(0x294)]['workingDir'],_0x41ba22),logger['debug'](_0x4931d5(0x2bd)+_0x289650[_0x4931d5(0x294)][_0x4931d5(0x28b)]);}catch(_0x22e3d7){logger['error'](_0x4931d5(0x2c8)+_0x22e3d7);}let _0x1efbea=null;if(fs[_0x4931d5(0x22d)](_0x5daee3)){_0x1efbea=fs[_0x4931d5(0x2c2)](_0x5daee3);try{_0x1efbea=JSON[_0x4931d5(0x298)](_0x1efbea);}catch(_0x295934){logger[_0x4931d5(0x23b)](_0x4931d5(0x29a)+_0x5daee3+',\x20'+_0x1efbea+_0x4931d5(0x274)+_0x295934);}fs[_0x4931d5(0x223)](_0x5daee3);}fs[_0x4931d5(0x223)](_0x506855),fs[_0x4931d5(0x223)](_0xd8f7ee),_0x1efbea&&(_0xdd4f72[_0x4931d5(0x20b)]=helper[_0x4931d5(0x27a)](_0x1efbea,_0x124fca[_0x4931d5(0x1dc)],_0xdd4f72));const _0x5723f9=BrowserstackCLI[_0x4931d5(0x1ef)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x4931d5(0x290)]()['stop']();}catch(_0x53908a){console['log'](_0x53908a),_0x124fca[_0x4931d5(0x284)](debug,_0x4931d5(0x24b)+util[_0x4931d5(0x241)](_0x53908a));}testOpsHelper[_0x4931d5(0x213)](),TestDetails[_0x4931d5(0x1e5)](),await utilities[_0x4931d5(0x1e4)](_0xdd4f72,_0x5723f9);});}module[a21_0x12d3ce(0x22c)]=run;
@@ -1 +1 @@
1
- const a22_0x3a0965=a22_0x49cb;function a22_0x2c05(){const _0x50162f=['../../../helpers/helper','exports','1737646sxHOcU','29110qTEkKg','includes','fVtxr','OJwKr','jestAdapterInit','requireInternalModule','customJestAdapterInit.js','329783VXWRBY','join','initRequireModule','jest-circus/build/runner.js','564XhhXwY','20RDIKFc','507783YruAbD','10588011GqbQcq','function','jest-circus','mzDtj','8421248vgPRlo','190MfHgCy','100278uzeqeW'];a22_0x2c05=function(){return _0x50162f;};return a22_0x2c05();}(function(_0x2d1114,_0x19d60b){const _0x490e00=a22_0x49cb,_0x2ac175=_0x2d1114();while(!![]){try{const _0x229bd1=-parseInt(_0x490e00(0x188))/0x1+-parseInt(_0x490e00(0x198))/0x2+-parseInt(_0x490e00(0x18e))/0x3*(-parseInt(_0x490e00(0x18d))/0x4)+parseInt(_0x490e00(0x199))/0x5*(parseInt(_0x490e00(0x18c))/0x6)+parseInt(_0x490e00(0x18f))/0x7+-parseInt(_0x490e00(0x193))/0x8+-parseInt(_0x490e00(0x195))/0x9*(-parseInt(_0x490e00(0x194))/0xa);if(_0x229bd1===_0x19d60b)break;else _0x2ac175['push'](_0x2ac175['shift']());}catch(_0x525fe8){_0x2ac175['push'](_0x2ac175['shift']());}}}(a22_0x2c05,0xd3916));const path=require('path'),{requireModule}=require(a22_0x3a0965(0x196));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a22_0x3a0965(0x191));}catch{initJestAdapter=requireModule(a22_0x3a0965(0x18b),a22_0x3a0965(0x191));}function a22_0x49cb(_0x58342e,_0x2b40e0){const _0x2c05a7=a22_0x2c05();return a22_0x49cb=function(_0x49cb28,_0xc846e4){_0x49cb28=_0x49cb28-0x182;let _0x4c00e2=_0x2c05a7[_0x49cb28];return _0x4c00e2;},a22_0x49cb(_0x58342e,_0x2b40e0);}initJestAdapter=typeof initJestAdapter===a22_0x3a0965(0x190)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x3a0965(0x189)](__dirname,a22_0x3a0965(0x187));module[a22_0x3a0965(0x197)]=(..._0x3bfc9a)=>{const _0x2d74e4=a22_0x3a0965,_0x222ba9={'mzDtj':_0x2d74e4(0x185),'OJwKr':function(_0x37b55d,_0x32043f){return _0x37b55d===_0x32043f;},'fVtxr':function(_0x131383,..._0x9c0ec5){return _0x131383(..._0x9c0ec5);}};return _0x3bfc9a[0x3]['initRequireModule']=_0x3bfc9a[0x3][_0x2d74e4(0x186)],_0x3bfc9a[0x3][_0x2d74e4(0x186)]=(..._0x5c6fa1)=>{const _0x238fca=_0x2d74e4;if(_0x5c6fa1[0x0]&&_0x5c6fa1[0x0][_0x238fca(0x182)](_0x222ba9[_0x238fca(0x192)])&&_0x222ba9[_0x238fca(0x184)](_0x5c6fa1[0x1],undefined))return _0x3bfc9a[0x3][_0x238fca(0x18a)](FRAMEWORK_INITIALIZER);return _0x3bfc9a[0x3][_0x238fca(0x18a)](..._0x5c6fa1);},_0x222ba9[_0x2d74e4(0x183)](initJestAdapter,..._0x3bfc9a);};
1
+ const a22_0x10b74d=a22_0x2729;(function(_0x5647f4,_0x447f6b){const _0x30a894=a22_0x2729,_0x398938=_0x5647f4();while(!![]){try{const _0x1dacad=parseInt(_0x30a894(0xcb))/0x1*(-parseInt(_0x30a894(0xc3))/0x2)+parseInt(_0x30a894(0xce))/0x3+parseInt(_0x30a894(0xbd))/0x4+-parseInt(_0x30a894(0xcf))/0x5*(parseInt(_0x30a894(0xcd))/0x6)+-parseInt(_0x30a894(0xc9))/0x7+parseInt(_0x30a894(0xca))/0x8*(-parseInt(_0x30a894(0xd1))/0x9)+parseInt(_0x30a894(0xc4))/0xa;if(_0x1dacad===_0x447f6b)break;else _0x398938['push'](_0x398938['shift']());}catch(_0x403b27){_0x398938['push'](_0x398938['shift']());}}}(a22_0x33ab,0xf37cc));const path=require(a22_0x10b74d(0xc5)),{requireModule}=require(a22_0x10b74d(0xbf));function a22_0x2729(_0x3bdfaf,_0x1d013f){const _0x33ab75=a22_0x33ab();return a22_0x2729=function(_0x27294,_0x895280){_0x27294=_0x27294-0xbd;let _0x15b33e=_0x33ab75[_0x27294];return _0x15b33e;},a22_0x2729(_0x3bdfaf,_0x1d013f);}function a22_0x33ab(){const _0x535754=['11244072ZLLOpK','11495104ThkPXB','3943ZwzBgm','COEYo','322230OiUeIE','3036879KWjNum','55CeynJl','qYBUN','9TPzdHn','exports','5208644RIYKhp','join','../../../helpers/helper','jest-circus/build/runner.js','default','jestAdapterInit','458qUBPhz','32197560RaCQIl','path','jest-circus','ItBYn','requireInternalModule'];a22_0x33ab=function(){return _0x535754;};return a22_0x33ab();}let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a22_0x10b74d(0xc6));}catch{initJestAdapter=requireModule(a22_0x10b74d(0xc0),'jest-circus');}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a22_0x10b74d(0xc1)];const FRAMEWORK_INITIALIZER=path[a22_0x10b74d(0xbe)](__dirname,'customJestAdapterInit.js');module[a22_0x10b74d(0xd2)]=(..._0x4b1c90)=>{const _0x45e1a4=a22_0x10b74d,_0x1ead33={'ItBYn':_0x45e1a4(0xc2),'qYBUN':function(_0x447c66,_0x2584eb){return _0x447c66===_0x2584eb;},'COEYo':function(_0x4aee84,..._0x48b603){return _0x4aee84(..._0x48b603);}};return _0x4b1c90[0x3]['initRequireModule']=_0x4b1c90[0x3][_0x45e1a4(0xc8)],_0x4b1c90[0x3][_0x45e1a4(0xc8)]=(..._0x25ba2a)=>{const _0x42ccff=_0x45e1a4;if(_0x25ba2a[0x0]&&_0x25ba2a[0x0]['includes'](_0x1ead33[_0x42ccff(0xc7)])&&_0x1ead33[_0x42ccff(0xd0)](_0x25ba2a[0x1],undefined))return _0x4b1c90[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x4b1c90[0x3]['initRequireModule'](..._0x25ba2a);},_0x1ead33[_0x45e1a4(0xcc)](initJestAdapter,..._0x4b1c90);};
@@ -1 +1 @@
1
- const a23_0x2ba3ba=a23_0x20a7;(function(_0x57e551,_0x11b0e6){const _0xc45c77=a23_0x20a7,_0x33ef01=_0x57e551();while(!![]){try{const _0x2810be=-parseInt(_0xc45c77(0x1f5))/0x1*(-parseInt(_0xc45c77(0x1f4))/0x2)+parseInt(_0xc45c77(0x1e9))/0x3*(-parseInt(_0xc45c77(0x200))/0x4)+-parseInt(_0xc45c77(0x220))/0x5+-parseInt(_0xc45c77(0x21e))/0x6+parseInt(_0xc45c77(0x21c))/0x7+parseInt(_0xc45c77(0x20e))/0x8*(-parseInt(_0xc45c77(0x1ec))/0x9)+-parseInt(_0xc45c77(0x224))/0xa*(-parseInt(_0xc45c77(0x22f))/0xb);if(_0x2810be===_0x11b0e6)break;else _0x33ef01['push'](_0x33ef01['shift']());}catch(_0x39f178){_0x33ef01['push'](_0x33ef01['shift']());}}}(a23_0x4cf2,0xb18bd));const helper=require('../../../helpers/helper'),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a23_0x2ba3ba(0x1f9)),RequestQueueHandler=require(a23_0x2ba3ba(0x237)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a23_0x2ba3ba(0x216))[a23_0x2ba3ba(0x1f8)],getTestEnvironment=((()=>{const _0x3d04e5=a23_0x2ba3ba,_0x5454fd={};_0x5454fd[_0x3d04e5(0x233)]=_0x3d04e5(0x1de),_0x5454fd[_0x3d04e5(0x1e4)]=_0x3d04e5(0x246);const _0x2dc6dd=_0x5454fd;try{const _0x2d7d8d=helper[_0x3d04e5(0x21a)](_0x2dc6dd[_0x3d04e5(0x233)]);if(_0x2d7d8d[_0x3d04e5(0x1e2)])return _0x2d7d8d[_0x3d04e5(0x1e2)];const _0x144e9d=helper['requireModule'](_0x2dc6dd[_0x3d04e5(0x1e4)]);if(_0x144e9d[_0x3d04e5(0x205)])return _0x144e9d[_0x3d04e5(0x205)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3a4a87=a23_0x2ba3ba,_0x3aef59={'cVbGC':function(_0x1d5854,_0x4a4a7a){return _0x1d5854(_0x4a4a7a);},'qrcpp':'node','UOugz':_0x3a4a87(0x1e6),'LtdKz':function(_0x3bd35d,_0x2dd228){return _0x3bd35d(_0x2dd228);}},_0x45099b=_0x3aef59[_0x3a4a87(0x214)](getTestEnvironment,{'rootDir':process[_0x3a4a87(0x219)](),'testEnvironment':process[_0x3a4a87(0x241)]['BSTACK_JEST_TEST_ENV']||_0x3aef59[_0x3a4a87(0x204)]});if(!_0x45099b)return _0x3aef59['cVbGC'](_interopRequireDefault,helper[_0x3a4a87(0x21a)](_0x3aef59[_0x3a4a87(0x20f)]));return _0x3aef59[_0x3a4a87(0x239)](_interopRequireDefault,helper['requireModule'](_0x45099b));})()),_seleniumWebdriver2=((()=>{const _0x28faa1=a23_0x2ba3ba,_0x26eafb={'WKNlm':function(_0x174719,_0x308739){return _0x174719(_0x308739);}};try{const _0xf30c7c=helper[_0x28faa1(0x225)]();return helper['modifyCommand'](),_0x26eafb[_0x28faa1(0x23c)](_interopRequireDefault,_0xf30c7c);}catch{return null;}})());function a23_0x4cf2(){const _0x20d2b8=['LtdKz','mode','BSTACK_DELTA','WKNlm','Error\x20in\x20fail-fast\x20test_done\x20handler:','browserstackAgentV2','name','global','env','../../../index','message','test_done','DTixS','jest-config','browserstackPercyBestPlatform','isArray','browserstackPlatformIndex','JhdYq','skipSessionName','debug','suGSK','jest-resolve','__drivers','sessionNameProvided','zfXPG','resolveTestEnvironment','__webdriver','WkKOF','glwak','jest-environment-node','failFastOptions','browserStackGlobals','3CgkHPv','handleTestEvent','cleanup','195309POjnkv','shouldFailFast','skip','teardown','../../../helpers/test-orchestration/failfastManager','JEST','test','JbvcY','2502474NOgrkj','1vliybd','mLrjD','testEnvironmentOptions','winstonLogger','../../../helpers/test-observability/utils','ReapS','qZBgK','projectName','__timeout','SUOfp','__esModule','4795108REnDET','nestedKeyValue','percy','buildName','qrcpp','getTestEnvironment','percyCaptureMode','testContext','__jestRetries','failFastActive','ihgWp','builder','platformCaps','jestConfig','488kIVdvj','UOugz','info','capability','KhIHO','testPath','cVbGC','driver','../../../helpers/logger','failFast','skipSessionStatus','cwd','requireModule','split','5893370QcgIjz','PpqqO','4274340Tfutqz','Builder','4391680IhfAoN','projectConfig','retries__','DrMEt','30gmJzdj','requireSeleniumWebdriver','capabilities','quit','5|7|1|4|6|2|3|0','jOgfU','gFtha','exports','bqjnk','test_start','bstack:options','10073602ifjSmC','wOnQA','default','kjYjl','qpHTi','shouldProcessEventForTesthub','onTestDone','configuration','../../../helpers/test-observability/requestQueueHandler','isTrue'];a23_0x4cf2=function(){return _0x20d2b8;};return a23_0x4cf2();}function _interopRequireDefault(_0x372510){const _0x5a0d88=a23_0x2ba3ba;return _0x372510&&_0x372510[_0x5a0d88(0x1ff)]?_0x372510:{'default':_0x372510};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a23_0x2ba3ba(0x231)][a23_0x2ba3ba(0x21f)]:null;function a23_0x20a7(_0x509967,_0x2779fe){const _0x4cf2e8=a23_0x4cf2();return a23_0x20a7=function(_0x20a706,_0x26bdbb){_0x20a706=_0x20a706-0x1dd;let _0x2d2e26=_0x4cf2e8[_0x20a706];return _0x2d2e26;},a23_0x20a7(_0x509967,_0x2779fe);}class CustomEnvironment extends _jestUserEnvironment[a23_0x2ba3ba(0x231)]{constructor(_0x1fbaad){const _0x5d4651=a23_0x2ba3ba,_0x24c8e3={'qZBgK':_0x5d4651(0x227),'JbvcY':function(_0xe9448,_0x359f49){return _0xe9448+_0x359f49;},'bqjnk':_0x5d4651(0x22e),'gFtha':function(_0x8b0527,_0x34f24e){return _0x8b0527(_0x34f24e);},'JhdYq':_0x5d4651(0x1f0),'zfXPG':_0x5d4651(0x228),'DTixS':_0x5d4651(0x1f7),'DrMEt':'browserStackPercyOptions','ReapS':_0x5d4651(0x247),'liuCL':_0x5d4651(0x202),'drKIW':_0x5d4651(0x206),'xYOfC':function(_0x5edc6b,_0x5b36cf){return _0x5edc6b(_0x5b36cf);},'glwak':_0x5d4651(0x242)};super(_0x1fbaad),this['global'][_0x5d4651(0x1fd)]=0x0,this['configuration']={};!_0x1fbaad[_0x5d4651(0x1f7)]&&(_0x1fbaad[_0x5d4651(0x1f7)]={});if(helper['isBrowserstackInfra']()){_0x1fbaad[_0x5d4651(0x1f7)]=_0x1fbaad['projectConfig']?_0x1fbaad['projectConfig'][_0x5d4651(0x1f7)]:_0x1fbaad['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x5d4651(0x20b)]=new _seleniumWebdriver2[(_0x5d4651(0x231))][(_0x5d4651(0x21f))]());this['capability']=_0x1fbaad[_0x5d4651(0x221)]?_0x1fbaad['projectConfig'][_0x5d4651(0x211)]:_0x1fbaad['capability'],this[_0x5d4651(0x240)][_0x5d4651(0x1fd)]=_0x24c8e3[_0x5d4651(0x1f3)](_0x1fbaad[_0x5d4651(0x1f7)]['timeout__']||0x1388,constants[_0x5d4651(0x23b)]),this[_0x5d4651(0x1e7)]=_0x1fbaad[_0x5d4651(0x1f7)][_0x5d4651(0x217)];if(this[_0x5d4651(0x1e7)]){const _0x516a40=this['capability'][_0x24c8e3[_0x5d4651(0x22c)]]?.[_0x5d4651(0x203)]||'',_0x2dd1e5=this['capability'][_0x24c8e3[_0x5d4651(0x22c)]]?.[_0x5d4651(0x1fc)]||'';this[_0x5d4651(0x217)]=new(_0x24c8e3[_0x5d4651(0x22a)](require,_0x24c8e3[_0x5d4651(0x24a)]))(this[_0x5d4651(0x1e7)],_0x516a40,_0x2dd1e5),this['global']['failFastActive']=![];}helper['isNotUndefined'](_0x1fbaad[_0x5d4651(0x1f7)]['retries__'])&&(this[_0x5d4651(0x240)][_0x5d4651(0x208)]=_0x1fbaad[_0x5d4651(0x1f7)][_0x5d4651(0x222)]);}if(testhubUtils[_0x5d4651(0x234)]()){const _0x50eab1=new ObservabilityReporter();_0x50eab1['registerListeners']();}this[_0x5d4651(0x240)][_0x5d4651(0x1e8)]={},this[_0x5d4651(0x236)]=_0x1fbaad['testEnvironmentOptions'],this[_0x5d4651(0x236)]['framework']=constants['FRAMEWORKS'][_0x5d4651(0x1f1)],this[_0x5d4651(0x240)][_0x5d4651(0x249)]=(_0x1fbaad[_0x5d4651(0x221)]?_0x1fbaad[_0x5d4651(0x221)][_0x5d4651(0x249)]:_0x1fbaad[_0x5d4651(0x249)])||0x0,this[_0x5d4651(0x240)]['__platformCaps']=this[_0x5d4651(0x236)]&&this[_0x5d4651(0x236)][_0x5d4651(0x20c)]&&Array[_0x5d4651(0x248)](this[_0x5d4651(0x236)][_0x5d4651(0x20c)])&&this[_0x5d4651(0x236)][_0x5d4651(0x20c)][this[_0x5d4651(0x240)]['browserstackPlatformIndex']]||{};const _0x2f0e09=this[_0x5d4651(0x240)][_0x5d4651(0x249)],_0x4c2769={...this[_0x5d4651(0x236)],'capability':this[_0x5d4651(0x236)][_0x5d4651(0x226)]&&Array['isArray'](this['configuration'][_0x5d4651(0x226)])&&this[_0x5d4651(0x236)][_0x5d4651(0x226)][_0x2f0e09]||{},'platformCaps':this[_0x5d4651(0x236)][_0x5d4651(0x20c)]&&Array['isArray'](this['configuration'][_0x5d4651(0x20c)])&&this['configuration'][_0x5d4651(0x20c)][_0x2f0e09]||{}};delete _0x4c2769['capabilities'],this[_0x5d4651(0x240)][_0x5d4651(0x20d)]=_0x4c2769;if(_seleniumWebdriver2){const _0x1a90f8=_0x24c8e3[_0x5d4651(0x1e1)][_0x5d4651(0x21b)]('|');let _0x85217c=0x0;while(!![]){switch(_0x1a90f8[_0x85217c++]){case'0':this['global']['cleanup']=async()=>{const _0x2a401f=_0x5d4651;await this[_0x2a401f(0x240)][_0x2a401f(0x215)][_0x2a401f(0x227)](_0x24c8e3[_0x2a401f(0x1fb)]);};continue;case'1':this[_0x5d4651(0x240)]['browserstackPercyBestPlatform']=helper[_0x5d4651(0x201)](_0x1fbaad,[_0x24c8e3[_0x5d4651(0x245)],_0x24c8e3[_0x5d4651(0x223)],_0x24c8e3[_0x5d4651(0x1fa)]]);continue;case'2':helper['isTrue'](this[_0x5d4651(0x236)][_0x5d4651(0x24b)])?this[_0x5d4651(0x240)][_0x5d4651(0x1e0)]=!![]:this[_0x5d4651(0x240)]['sessionNameProvided']=![];continue;case'3':this[_0x5d4651(0x240)]['__skipSessionStatus']=helper[_0x5d4651(0x238)](this['configuration'][_0x5d4651(0x218)]);continue;case'4':this[_0x5d4651(0x240)]['percy']=helper[_0x5d4651(0x201)](_0x1fbaad,[_0x24c8e3['DTixS'],_0x24c8e3[_0x5d4651(0x223)],_0x24c8e3['liuCL']]);continue;case'5':this[_0x5d4651(0x240)][_0x5d4651(0x1df)]=[];continue;case'6':this[_0x5d4651(0x240)][_0x5d4651(0x206)]=helper[_0x5d4651(0x201)](_0x1fbaad,[_0x24c8e3[_0x5d4651(0x245)],_0x24c8e3[_0x5d4651(0x223)],_0x24c8e3['drKIW']]);continue;case'7':this[_0x5d4651(0x240)][_0x5d4651(0x1e3)]=_0x24c8e3['xYOfC'](require,_0x24c8e3[_0x5d4651(0x1e5)])[_0x5d4651(0x23e)]({...this[_0x5d4651(0x236)],'capability':this[_0x5d4651(0x211)]||{}},this,testhubUtils[_0x5d4651(0x234)]());continue;}break;}}}async[a23_0x2ba3ba(0x1ef)](){const _0x1622b2=a23_0x2ba3ba;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x1622b2(0x240)]['__driversArray']),this[_0x1622b2(0x240)][_0x1622b2(0x1e3)][_0x1622b2(0x21f)]=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async['setup'](){}async[a23_0x2ba3ba(0x1ea)](_0x3e605f,_0x59c57a){const _0xd243b9=a23_0x2ba3ba,_0x6ca744={};_0x6ca744[_0xd243b9(0x21d)]=function(_0x9b684e,_0x326539){return _0x9b684e===_0x326539;},_0x6ca744[_0xd243b9(0x232)]=_0xd243b9(0x22d),_0x6ca744[_0xd243b9(0x1f6)]=_0xd243b9(0x1ee),_0x6ca744[_0xd243b9(0x1dd)]=function(_0x40bf5a,_0x11464f){return _0x40bf5a===_0x11464f;},_0x6ca744[_0xd243b9(0x230)]=_0xd243b9(0x244),_0x6ca744[_0xd243b9(0x212)]='\x20>\x20',_0x6ca744[_0xd243b9(0x229)]=function(_0x569e70,_0x1d09f1){return _0x569e70===_0x1d09f1;},_0x6ca744[_0xd243b9(0x1fe)]=_0xd243b9(0x23d),_0x6ca744[_0xd243b9(0x20a)]=_0xd243b9(0x1ef);const _0x9c2966=_0x6ca744,{name:_0xd60182}=_0x3e605f;if(_0x9c2966['PpqqO'](_0xd60182,_0x9c2966['kjYjl'])){this[_0xd243b9(0x240)][_0xd243b9(0x207)]=_0x3e605f['test'];if(_0x9c2966['PpqqO'](this['global'][_0xd243b9(0x209)],!![])){const _0x5c92a8=_0x3e605f['test'][_0xd243b9(0x23f)];logger[_0xd243b9(0x210)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x5c92a8),_0x3e605f[_0xd243b9(0x1f2)][_0xd243b9(0x23a)]=_0x9c2966[_0xd243b9(0x1f6)];}}if(this[_0xd243b9(0x217)]&&_0x9c2966[_0xd243b9(0x1dd)](_0xd60182,_0x9c2966[_0xd243b9(0x230)]))try{const _0x4ab778=_0x3e605f[_0xd243b9(0x1f2)][_0xd243b9(0x213)]['join'](_0x9c2966[_0xd243b9(0x212)]),_0x32a4b2=_0x3e605f[_0xd243b9(0x1f2)]['errors'];await this[_0xd243b9(0x217)][_0xd243b9(0x235)](_0x4ab778,_0x32a4b2);const _0x4f0cf4=await this[_0xd243b9(0x217)][_0xd243b9(0x1ed)]();_0x9c2966['PpqqO'](this[_0xd243b9(0x240)][_0xd243b9(0x209)],![])&&_0x9c2966[_0xd243b9(0x229)](_0x4f0cf4,!![])&&(this[_0xd243b9(0x240)]['failFastActive']=!![]);}catch(_0x5e413c){logger[_0xd243b9(0x24c)](_0x9c2966[_0xd243b9(0x1fe)],_0x5e413c[_0xd243b9(0x243)]);}_0x9c2966[_0xd243b9(0x229)](_0xd60182,_0x9c2966[_0xd243b9(0x20a)])&&(this['failFast']&&this[_0xd243b9(0x217)][_0xd243b9(0x1eb)]());}}module[a23_0x2ba3ba(0x22b)]=CustomEnvironment;
1
+ const a23_0x4b940a=a23_0x3053;(function(_0x6bc873,_0x31c924){const _0x9ca2d1=a23_0x3053,_0x4cdf73=_0x6bc873();while(!![]){try{const _0x324d75=parseInt(_0x9ca2d1(0x1f3))/0x1*(-parseInt(_0x9ca2d1(0x1ac))/0x2)+parseInt(_0x9ca2d1(0x1b2))/0x3*(parseInt(_0x9ca2d1(0x1cb))/0x4)+parseInt(_0x9ca2d1(0x1fa))/0x5*(parseInt(_0x9ca2d1(0x1dd))/0x6)+parseInt(_0x9ca2d1(0x1c8))/0x7*(parseInt(_0x9ca2d1(0x18d))/0x8)+-parseInt(_0x9ca2d1(0x1ec))/0x9+-parseInt(_0x9ca2d1(0x197))/0xa*(parseInt(_0x9ca2d1(0x1e4))/0xb)+parseInt(_0x9ca2d1(0x1d6))/0xc;if(_0x324d75===_0x31c924)break;else _0x4cdf73['push'](_0x4cdf73['shift']());}catch(_0x16bf41){_0x4cdf73['push'](_0x4cdf73['shift']());}}}(a23_0x310b,0x62e82));function a23_0x310b(){const _0xda2881=['iQidn','browserstackPlatformIndex','join','jest-resolve','../../../helpers/helper','__platformCaps','FHDVT','browserstackAgentV2','80nPKsll','capabilities','TcxhY','peVfu','FLDYj','../../../helpers/test-observability/utils','aGiHq','shutdown','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','wRCur','isArray','qsMRY','message','cleanup','testPath','debug','failFast','node','errors','isTrue','../../../helpers/test-orchestration/failfastManager','1363882AyPtGM','cleanupDrivers','elkyh','\x20>\x20','UxCin','../test-observability/obsReporter','6HXrQTC','jest-config','iCojb','__skipSessionStatus','Error\x20in\x20fail-fast\x20test_done\x20handler:','qVEEy','browserstackPercyBestPlatform','test_start','CIKXb','requireSeleniumWebdriver','quit','global','bOjTD','retries__','shouldProcessEventForTesthub','timeout__','resolveTestEnvironment','builder','platformCaps','configuration','Builder','failFastOptions','7aXLFPt','buildName','VXpdy','59588DVAoVe','BSTACK_DELTA','__webdriver','__esModule','BSTACK_JEST_TEST_ENV','wGOiV','skip','shouldFailFast','registerListeners','split','failFastActive','21601752zMcWEc','teardown','requireModule','KaGfS','driver','sessionNameProvided','percy','3264uYTzvI','yTqDY','browserStackGlobals','exports','qAiiB','__timeout','projectConfig','1087856QBZNwz','jest-environment-node','../../../helpers/testhub/utils','Tmaiy','projectName','hEMtA','percyCaptureMode','lEgIS','6180714AXgqcs','TTXdH','../../../helpers/test-observability/requestQueueHandler','name','test_done','capability','skipSessionStatus','1kjohOH','testEnvironmentOptions','info','test','__drivers','getTestEnvironment','framework','2780pXHmYG','nestedKeyValue','../../../index','JEST','../../utils/constants','jXEjJ','browserStackPercyOptions','default','CThxV','3460584gVlzky','testContext'];a23_0x310b=function(){return _0xda2881;};return a23_0x310b();}const helper=require(a23_0x4b940a(0x193)),constants=require(a23_0x4b940a(0x1fe)),{isTestObservabilitySession}=require(a23_0x4b940a(0x19c)),RequestQueueHandler=require(a23_0x4b940a(0x1ee)),ObservabilityReporter=require(a23_0x4b940a(0x1b1)),testhubUtils=require(a23_0x4b940a(0x1e6)),logger=require('../../../helpers/logger')['winstonLogger'],getTestEnvironment=((()=>{const _0x54f663=a23_0x4b940a,_0x31cf45={};_0x31cf45[_0x54f663(0x1d9)]=_0x54f663(0x192),_0x31cf45[_0x54f663(0x1a2)]=_0x54f663(0x1b3);const _0x6d7a7a=_0x31cf45;try{const _0x37b5da=helper[_0x54f663(0x1d8)](_0x6d7a7a['KaGfS']);if(_0x37b5da[_0x54f663(0x1c2)])return _0x37b5da['resolveTestEnvironment'];const _0x464fb4=helper[_0x54f663(0x1d8)](_0x6d7a7a['qsMRY']);if(_0x464fb4[_0x54f663(0x1f8)])return _0x464fb4['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2d61af=a23_0x4b940a,_0x48d2bb={'wRCur':function(_0x42aacf,_0x1341ee){return _0x42aacf(_0x1341ee);},'elkyh':_0x2d61af(0x1a8),'RafVU':function(_0x3dacfa,_0x3096ed){return _0x3dacfa(_0x3096ed);},'qAiiB':_0x2d61af(0x1e5),'flISn':function(_0x4271f3,_0x3ca799){return _0x4271f3(_0x3ca799);}},_0xf0bc7b=_0x48d2bb[_0x2d61af(0x1a0)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process['env'][_0x2d61af(0x1cf)]||_0x48d2bb[_0x2d61af(0x1ae)]});if(!_0xf0bc7b)return _0x48d2bb['RafVU'](_interopRequireDefault,helper[_0x2d61af(0x1d8)](_0x48d2bb[_0x2d61af(0x1e1)]));return _0x48d2bb['flISn'](_interopRequireDefault,helper[_0x2d61af(0x1d8)](_0xf0bc7b));})()),_seleniumWebdriver2=((()=>{const _0x3a40bb=a23_0x4b940a,_0x2275e1={'aGiHq':function(_0x528c18,_0x49c71e){return _0x528c18(_0x49c71e);}};try{const _0x4df167=helper[_0x3a40bb(0x1bb)]();return helper['modifyCommand'](),_0x2275e1[_0x3a40bb(0x19d)](_interopRequireDefault,_0x4df167);}catch{return null;}})());function a23_0x3053(_0xfbf5eb,_0x8a7e19){const _0x310b29=a23_0x310b();return a23_0x3053=function(_0x305393,_0x2cf80e){_0x305393=_0x305393-0x189;let _0x4032d7=_0x310b29[_0x305393];return _0x4032d7;},a23_0x3053(_0xfbf5eb,_0x8a7e19);}function _interopRequireDefault(_0x58f867){const _0x1e9e02=a23_0x4b940a;return _0x58f867&&_0x58f867[_0x1e9e02(0x1ce)]?_0x58f867:{'default':_0x58f867};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a23_0x4b940a(0x1c6)]:null;class CustomEnvironment extends _jestUserEnvironment[a23_0x4b940a(0x18b)]{constructor(_0x33db6d){const _0x15d3ea=a23_0x4b940a,_0xc87b21={'iCojb':_0x15d3ea(0x1bc),'wGOiV':function(_0x5d6bb1,_0x3d93aa){return _0x5d6bb1+_0x3d93aa;},'hEMtA':'bstack:options','afIsg':function(_0x4ea4e5,_0x3a6fb3){return _0x4ea4e5(_0x3a6fb3);},'iQidn':_0x15d3ea(0x1ab),'UxCin':'1|3|5|2|4|7|6|0','bOjTD':_0x15d3ea(0x1f4),'lEgIS':_0x15d3ea(0x18a),'TTXdH':_0x15d3ea(0x1dc),'VXpdy':_0x15d3ea(0x1fc),'yqSCP':_0x15d3ea(0x1ea),'CIKXb':_0x15d3ea(0x1b8)};super(_0x33db6d),this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1e2)]=0x0,this[_0x15d3ea(0x1c5)]={};!_0x33db6d[_0x15d3ea(0x1f4)]&&(_0x33db6d[_0x15d3ea(0x1f4)]={});if(helper['isBrowserstackInfra']()){_0x33db6d[_0x15d3ea(0x1f4)]=_0x33db6d[_0x15d3ea(0x1e3)]?_0x33db6d[_0x15d3ea(0x1e3)]['testEnvironmentOptions']:_0x33db6d['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x15d3ea(0x1c3)]=new _seleniumWebdriver2['default'][(_0x15d3ea(0x1c6))]());this[_0x15d3ea(0x1f1)]=_0x33db6d[_0x15d3ea(0x1e3)]?_0x33db6d[_0x15d3ea(0x1e3)][_0x15d3ea(0x1f1)]:_0x33db6d[_0x15d3ea(0x1f1)],this['global'][_0x15d3ea(0x1e2)]=_0xc87b21[_0x15d3ea(0x1d0)](_0x33db6d[_0x15d3ea(0x1f4)][_0x15d3ea(0x1c1)]||0x1388,constants[_0x15d3ea(0x1cc)]),this[_0x15d3ea(0x1c7)]=_0x33db6d[_0x15d3ea(0x1f4)][_0x15d3ea(0x1a7)];if(this[_0x15d3ea(0x1c7)]){const _0x45f4ed=this[_0x15d3ea(0x1f1)][_0xc87b21[_0x15d3ea(0x1e9)]]?.[_0x15d3ea(0x1c9)]||'',_0x2c5d98=this[_0x15d3ea(0x1f1)][_0xc87b21[_0x15d3ea(0x1e9)]]?.[_0x15d3ea(0x1e8)]||'';this[_0x15d3ea(0x1a7)]=new(_0xc87b21['afIsg'](require,_0xc87b21[_0x15d3ea(0x18f)]))(this[_0x15d3ea(0x1c7)],_0x45f4ed,_0x2c5d98),this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1d5)]=![];}helper['isNotUndefined'](_0x33db6d[_0x15d3ea(0x1f4)][_0x15d3ea(0x1bf)])&&(this[_0x15d3ea(0x1bd)]['__jestRetries']=_0x33db6d[_0x15d3ea(0x1f4)][_0x15d3ea(0x1bf)]);}if(testhubUtils[_0x15d3ea(0x1c0)]()){const _0x3f75d3=new ObservabilityReporter();_0x3f75d3[_0x15d3ea(0x1d3)]();}this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1df)]={},this[_0x15d3ea(0x1c5)]=_0x33db6d[_0x15d3ea(0x1f4)],this[_0x15d3ea(0x1c5)][_0x15d3ea(0x1f9)]=constants['FRAMEWORKS'][_0x15d3ea(0x1fd)],this['global']['browserstackPlatformIndex']=(_0x33db6d[_0x15d3ea(0x1e3)]?_0x33db6d['projectConfig'][_0x15d3ea(0x190)]:_0x33db6d[_0x15d3ea(0x190)])||0x0,this[_0x15d3ea(0x1bd)][_0x15d3ea(0x194)]=this[_0x15d3ea(0x1c5)]&&this['configuration'][_0x15d3ea(0x1c4)]&&Array[_0x15d3ea(0x1a1)](this['configuration'][_0x15d3ea(0x1c4)])&&this[_0x15d3ea(0x1c5)][_0x15d3ea(0x1c4)][this[_0x15d3ea(0x1bd)][_0x15d3ea(0x190)]]||{};const _0x57adfa=this[_0x15d3ea(0x1bd)][_0x15d3ea(0x190)],_0x44ccd1={...this[_0x15d3ea(0x1c5)],'capability':this[_0x15d3ea(0x1c5)]['capabilities']&&Array[_0x15d3ea(0x1a1)](this[_0x15d3ea(0x1c5)][_0x15d3ea(0x198)])&&this[_0x15d3ea(0x1c5)][_0x15d3ea(0x198)][_0x57adfa]||{},'platformCaps':this['configuration']['platformCaps']&&Array[_0x15d3ea(0x1a1)](this['configuration']['platformCaps'])&&this[_0x15d3ea(0x1c5)]['platformCaps'][_0x57adfa]||{}};delete _0x44ccd1[_0x15d3ea(0x198)],this[_0x15d3ea(0x1bd)]['jestConfig']=_0x44ccd1;if(_seleniumWebdriver2){const _0xf6026=_0xc87b21[_0x15d3ea(0x1b0)][_0x15d3ea(0x1d4)]('|');let _0x1f22c7=0x0;while(!![]){switch(_0xf6026[_0x1f22c7++]){case'0':this[_0x15d3ea(0x1bd)]['cleanup']=async()=>{const _0x4741d0=_0x15d3ea;await this[_0x4741d0(0x1bd)][_0x4741d0(0x1da)]['quit'](_0xc87b21[_0x4741d0(0x1b4)]);};continue;case'1':this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1f7)]=[];continue;case'2':this[_0x15d3ea(0x1bd)]['percy']=helper[_0x15d3ea(0x1fb)](_0x33db6d,[_0xc87b21[_0x15d3ea(0x1be)],_0xc87b21[_0x15d3ea(0x1eb)],_0xc87b21[_0x15d3ea(0x1ed)]]);continue;case'3':this['global'][_0x15d3ea(0x1cd)]=_0xc87b21['afIsg'](require,_0xc87b21[_0x15d3ea(0x1ca)])[_0x15d3ea(0x196)]({...this[_0x15d3ea(0x1c5)],'capability':this[_0x15d3ea(0x1f1)]||{}},this,testhubUtils[_0x15d3ea(0x1c0)]());continue;case'4':this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1ea)]=helper[_0x15d3ea(0x1fb)](_0x33db6d,[_0xc87b21[_0x15d3ea(0x1be)],_0xc87b21[_0x15d3ea(0x1eb)],_0xc87b21['yqSCP']]);continue;case'5':this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1b8)]=helper[_0x15d3ea(0x1fb)](_0x33db6d,[_0xc87b21[_0x15d3ea(0x1be)],_0xc87b21[_0x15d3ea(0x1eb)],_0xc87b21[_0x15d3ea(0x1ba)]]);continue;case'6':this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1b5)]=helper[_0x15d3ea(0x1aa)](this['configuration'][_0x15d3ea(0x1f2)]);continue;case'7':helper[_0x15d3ea(0x1aa)](this['configuration']['skipSessionName'])?this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1db)]=!![]:this[_0x15d3ea(0x1bd)][_0x15d3ea(0x1db)]=![];continue;}break;}}}async['teardown'](){const _0x1a8473=a23_0x4b940a;_seleniumWebdriver2&&(await helper[_0x1a8473(0x1ad)](this['global']['__driversArray']),this['global'][_0x1a8473(0x1cd)][_0x1a8473(0x1c6)]=originalBuilder),await RequestQueueHandler['getInstance']()[_0x1a8473(0x19e)]();}async['setup'](){}async['handleTestEvent'](_0x185521,_0x1f45c0){const _0x180a52=a23_0x4b940a,_0x35f519={};_0x35f519[_0x180a52(0x189)]=function(_0x88296,_0x5d520e){return _0x88296===_0x5d520e;},_0x35f519[_0x180a52(0x19b)]=_0x180a52(0x1b9),_0x35f519['TcxhY']=function(_0x35c5ed,_0x15d74c){return _0x35c5ed===_0x15d74c;},_0x35f519[_0x180a52(0x19a)]=_0x180a52(0x1d1),_0x35f519[_0x180a52(0x1e7)]=function(_0x327e61,_0x34864f){return _0x327e61===_0x34864f;},_0x35f519[_0x180a52(0x1b7)]=_0x180a52(0x1f0),_0x35f519['NdCtF']=_0x180a52(0x1af),_0x35f519['CThxV']=function(_0x42dab8,_0x515990){return _0x42dab8===_0x515990;},_0x35f519[_0x180a52(0x195)]=_0x180a52(0x1b6),_0x35f519[_0x180a52(0x1de)]=function(_0x3feeb0,_0x4245a2){return _0x3feeb0===_0x4245a2;},_0x35f519['EXvDR']=_0x180a52(0x1d7);const _0x37728c=_0x35f519,{name:_0x5162f1}=_0x185521;if(_0x37728c['jXEjJ'](_0x5162f1,_0x37728c['FLDYj'])){this[_0x180a52(0x1bd)][_0x180a52(0x18e)]=_0x185521[_0x180a52(0x1f6)];if(_0x37728c[_0x180a52(0x199)](this[_0x180a52(0x1bd)]['failFastActive'],!![])){const _0x2fcab3=_0x185521[_0x180a52(0x1f6)][_0x180a52(0x1ef)];logger[_0x180a52(0x1f5)](_0x180a52(0x19f)+_0x2fcab3),_0x185521['test']['mode']=_0x37728c['peVfu'];}}if(this[_0x180a52(0x1a7)]&&_0x37728c[_0x180a52(0x1e7)](_0x5162f1,_0x37728c[_0x180a52(0x1b7)]))try{const _0x34f8fc=_0x185521['test'][_0x180a52(0x1a5)][_0x180a52(0x191)](_0x37728c['NdCtF']),_0x20d25b=_0x185521[_0x180a52(0x1f6)][_0x180a52(0x1a9)];await this[_0x180a52(0x1a7)]['onTestDone'](_0x34f8fc,_0x20d25b);const _0x2af763=await this[_0x180a52(0x1a7)][_0x180a52(0x1d2)]();_0x37728c[_0x180a52(0x199)](this['global'][_0x180a52(0x1d5)],![])&&_0x37728c[_0x180a52(0x18c)](_0x2af763,!![])&&(this[_0x180a52(0x1bd)][_0x180a52(0x1d5)]=!![]);}catch(_0x3dd544){logger[_0x180a52(0x1a6)](_0x37728c[_0x180a52(0x195)],_0x3dd544[_0x180a52(0x1a3)]);}_0x37728c[_0x180a52(0x1de)](_0x5162f1,_0x37728c['EXvDR'])&&(this[_0x180a52(0x1a7)]&&this[_0x180a52(0x1a7)][_0x180a52(0x1a4)]());}}module[a23_0x4b940a(0x1e0)]=CustomEnvironment;