browserstack-node-sdk 1.63.3 → 1.63.4

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 (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a16_0x55df36=a16_0x4092;(function(_0x2ab64d,_0x4ef103){const _0x5a64ca=a16_0x4092,_0x1596e6=_0x2ab64d();while(!![]){try{const _0x1c977f=-parseInt(_0x5a64ca(0x20a))/0x1+-parseInt(_0x5a64ca(0x1ef))/0x2*(-parseInt(_0x5a64ca(0x230))/0x3)+-parseInt(_0x5a64ca(0x1e7))/0x4+parseInt(_0x5a64ca(0x231))/0x5+parseInt(_0x5a64ca(0x1c8))/0x6+-parseInt(_0x5a64ca(0x200))/0x7+-parseInt(_0x5a64ca(0x1cd))/0x8*(-parseInt(_0x5a64ca(0x241))/0x9);if(_0x1c977f===_0x4ef103)break;else _0x1596e6['push'](_0x1596e6['shift']());}catch(_0x183059){_0x1596e6['push'](_0x1596e6['shift']());}}}(a16_0x3c9d,0xd98fb));function a16_0x4092(_0x383542,_0x33dd9a){const _0x3c9dac=a16_0x3c9d();return a16_0x4092=function(_0x409208,_0x40e8e3){_0x409208=_0x409208-0x1c7;let _0x45736d=_0x3c9dac[_0x409208];return _0x45736d;},a16_0x4092(_0x383542,_0x33dd9a);}const util=require(a16_0x55df36(0x203)),logger=require(a16_0x55df36(0x20c))[a16_0x55df36(0x1fd)],helper=require(a16_0x55df36(0x239)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x55df36(0x1c7)),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a16_0x55df36(0x211));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a16_0x55df36(0x234)]||process['env'][a16_0x55df36(0x226)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a16_0x5701b0){logger[a16_0x55df36(0x20b)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a16_0x55df36(0x204)](a16_0x5701b0));}try{if(_bstackConfig&&!helper[a16_0x55df36(0x1e5)](a16_0x55df36(0x228))){const YYCAQC=a16_0x55df36(0x1fa)[a16_0x55df36(0x22d)]('|');let pEqaag=0x0;while(!![]){switch(YYCAQC[pEqaag++]){case'0':global[a16_0x55df36(0x1f3)]=_bstackConfig['platformCaps']||{};continue;case'1':logger[a16_0x55df36(0x20b)](a16_0x55df36(0x20f));continue;case'2':global[a16_0x55df36(0x1ce)]=_bstackConfig[a16_0x55df36(0x1e1)];continue;case'3':shouldProcessEventForTesthub()?require('../../index')[a16_0x55df36(0x1eb)](_bstackConfig,null,!![]):require('../../index')['browserstackAgentV2'](_bstackConfig);continue;case'4':helper[a16_0x55df36(0x21f)]()?(global[a16_0x55df36(0x1df)]=helper[a16_0x55df36(0x1ca)](_bstackConfig[a16_0x55df36(0x1fc)]),global[a16_0x55df36(0x225)]=helper['isTrue'](_bstackConfig[a16_0x55df36(0x1ff)])):(global[a16_0x55df36(0x1df)]=!![],global['__skipSessionStatus']=!![]);continue;}break;}}}catch(a16_0x4a8337){logger[a16_0x55df36(0x20b)](a16_0x55df36(0x1d8)+util['format'](a16_0x4a8337));}const _fileNameByFullName={};try{if(typeof describe===a16_0x55df36(0x244)&&typeof global!==a16_0x55df36(0x1da)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x1a903a=a16_0x55df36,_0x54858b={'YnNpe':function(_0x5402e5,_0x36d764){return _0x5402e5(_0x36d764);},'gPfgI':'path','Dvmat':'node:','arlQs':_0x1a903a(0x1d7)},_0x31482c=Error['prepareStackTrace'];try{const _0x3231a0=new Error();Error[_0x1a903a(0x229)]=(_0x4fd81f,_0x321810)=>_0x321810;const _0x44c6ba=_0x3231a0[_0x1a903a(0x235)];Error['prepareStackTrace']=_0x31482c;if(Array['isArray'](_0x44c6ba))for(const _0x3f6efe of _0x44c6ba){const _0x3ac111=_0x3f6efe[_0x1a903a(0x23e)]&&_0x3f6efe[_0x1a903a(0x23e)]();if(_0x3ac111&&!_0x3ac111['includes'](_0x1a903a(0x246)+_0x54858b[_0x1a903a(0x214)](require,_0x54858b[_0x1a903a(0x238)])[_0x1a903a(0x1f8)]+'jasmine'+_0x54858b[_0x1a903a(0x214)](require,_0x54858b[_0x1a903a(0x238)])['sep'])&&!_0x3ac111['startsWith'](_0x54858b[_0x1a903a(0x207)])&&!_0x3ac111['includes'](_0x54858b[_0x1a903a(0x223)]))return _0x3ac111;}}catch(_0x17b70b){Error[_0x1a903a(0x229)]=_0x31482c;}return null;},_wrappedDescribe=function(_0x1a6b05,_0x3be5cc){const _0x33c345=a16_0x55df36,_0x2fe7ab={'VDoBN':function(_0x138ec1){return _0x138ec1();},'lPuHc':function(_0x2340c6,_0x42f5e2){return _0x2340c6&&_0x42f5e2;},'PTOIR':function(_0x287234,_0x50bea7,_0x5d37b0){return _0x287234(_0x50bea7,_0x5d37b0);}};let _0x39b408=null;try{_0x39b408=_0x2fe7ab[_0x33c345(0x213)](_resolveCallerFile);}catch(_0x1ab32d){}_describeTitleStack[_0x33c345(0x220)](_0x1a6b05);const _0x35c5ba=_describeTitleStack[_0x33c345(0x1fe)]('\x20');_0x2fe7ab[_0x33c345(0x1e9)](_0x39b408,_0x35c5ba)&&(_fileNameByFullName[_0x35c5ba]=_0x39b408);try{return _0x2fe7ab[_0x33c345(0x209)](_origDescribe,_0x1a6b05,_0x3be5cc);}finally{_describeTitleStack[_0x33c345(0x1f0)]();}};Object[a16_0x55df36(0x1d2)](_origDescribe)[a16_0x55df36(0x206)](_0x121e19=>{_wrappedDescribe[_0x121e19]=_origDescribe[_0x121e19];}),global[a16_0x55df36(0x240)]=_wrappedDescribe;}}catch(a16_0x1f316c){logger['debug']('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util[a16_0x55df36(0x204)](a16_0x1f316c));}try{if(typeof jasmine!==a16_0x55df36(0x1da)&&jasmine[a16_0x55df36(0x210)]){const BrowserStackJasmineReporter=require(a16_0x55df36(0x1f9)),a16_0x9b2548={};a16_0x9b2548[a16_0x55df36(0x1d0)]=_fileNameByFullName,jasmine[a16_0x55df36(0x210)]()[a16_0x55df36(0x201)](new BrowserStackJasmineReporter(a16_0x9b2548)),logger[a16_0x55df36(0x20b)](a16_0x55df36(0x1c9));}else logger[a16_0x55df36(0x20b)](a16_0x55df36(0x1cb));}catch(a16_0x2624ea){logger[a16_0x55df36(0x20b)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a16_0x55df36(0x204)](a16_0x2624ea));}function a16_0x3c9d(){const _0x46928d=['sessionNameSet__','fileNameByFullName','markSessionStatus','keys','JOajY','setGlobal','tTxBK','stringify','jasmine-core','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','__drivers','undefined','warn','cKkPe','jyXFh','get','__skipSessionName','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','platformIndex','iRzwU','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','hoUuc','getPackageVersion','env','4623924AnicJi','\x22}}','lPuHc','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','browserstackAgentV2','Qdapy','executeScript','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','16136dtGVUG','pop','kCkao','failed','__platformCaps','bstackA11yShouldScan','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','thJwtToken','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','sep','./bstack-reporter/customReporter','1|3|0|2|4','is_mobile_session','skipSessionName','winstonLogger','join','skipSessionStatus','8280188iQmzqX','addReporter','thTestRunUuid','util','format','error','forEach','Dvmat','BROWSERSTACK_TESTHUB_UUID','PTOIR','545746VHqxFv','debug','../../helpers/logger','__sessionFailed','lsWeq','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','getEnv','./testRunMap','Nihcy','VDoBN','YnNpe','saveAccessibilityResultsWithRetry','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','wSCBH','passed','xvgYY','iuhLQ','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','VNBaz','ilgmI','OwNWm','isBrowserstackInfra','push','Passed','getGlobal','arlQs','length','__skipSessionStatus','CONFIG','srQUl','@playwright/test','prepareStackTrace','iPVRe','autoScanning','isArray','split','ENV_VAR','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','6xfebhK','1044740LxZBuV','message','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','BROWSERSTACK_JASMINE_CONFIG','stack','sessionName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','gPfgI','../../helpers/helper','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','wUtqM','getFileName','bstackA11yScanOptions','describe','5432481JOMSbm','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','Spec\x20failed','function','fullName','bin','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','YFXfG','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','../../helpers/testhub/utils','3195678qPfAJE','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','isTrue','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','isMobilePlatform','40hukZRA','browserstackPlatformIndex'];a16_0x3c9d=function(){return _0x46928d;};return a16_0x3c9d();}try{typeof jasmine!==a16_0x55df36(0x1da)&&jasmine['getEnv']&&jasmine[a16_0x55df36(0x210)]()[a16_0x55df36(0x201)]({'specStarted'(_0x24e89b){const _0x554998=a16_0x55df36,_0x2fe88f={};_0x2fe88f[_0x554998(0x21a)]=function(_0x13bb97,_0x2eabd4){return _0x13bb97||_0x2eabd4;};const _0x4c61e8=_0x2fe88f;_activeResultId=_0x24e89b&&_0x24e89b['id'],_activeFullName=_0x24e89b&&_0x24e89b[_0x554998(0x245)],_activeResultRef=_0x4c61e8['iuhLQ'](_0x24e89b,null);},'specDone'(){}});}catch(a16_0x253787){logger[a16_0x55df36(0x20b)](a16_0x55df36(0x247)+util[a16_0x55df36(0x204)](a16_0x253787));}const _resolveAutoScanning=()=>{const _0x458893=a16_0x55df36,_0x5a71ec={};_0x5a71ec[_0x458893(0x1d3)]=function(_0x1d1b16,_0x4a7487){return _0x1d1b16===_0x4a7487;};const _0x385e8e=_0x5a71ec;let _0x1dfd24=!![];try{const _0x333317=JSON['parse'](process[_0x458893(0x1e6)][_0x458893(0x237)]||'{}');_0x385e8e[_0x458893(0x1d3)](_0x333317[_0x458893(0x22b)],![])&&(_0x1dfd24=![]);}catch(_0x2a0cda){logger['debug'](_0x458893(0x22f)+_0x2a0cda[_0x458893(0x232)]);}return _0x1dfd24;};try{typeof beforeEach===a16_0x55df36(0x244)&&beforeEach(function bstackA11yBeforeEach(){const _0x5ebb8e=a16_0x55df36,_0x5d0fb9={'qtEpt':function(_0x45e8d2){return _0x45e8d2();},'iPVRe':function(_0x3fa44a,_0x21c759,_0xa0b73a){return _0x3fa44a(_0x21c759,_0xa0b73a);},'ilgmI':function(_0x10efb5,_0x36a1df){return _0x10efb5&&_0x36a1df;},'VNBaz':_0x5ebb8e(0x1f4),'tTxBK':_0x5ebb8e(0x23f)};try{const _0x3a38b7=_0x5d0fb9['qtEpt'](_resolveAutoScanning),_0x4453d3=_0x5d0fb9[_0x5ebb8e(0x22a)](shouldScanTestForAccessibility,null,![]),_0x1f59da=_0x5d0fb9[_0x5ebb8e(0x21d)](_0x3a38b7,_0x4453d3);globals[_0x5ebb8e(0x1d4)](_0x5d0fb9[_0x5ebb8e(0x21c)],_0x1f59da),globals[_0x5ebb8e(0x1d4)](_0x5d0fb9[_0x5ebb8e(0x1d5)],null);}catch(_0xf9a352){logger[_0x5ebb8e(0x20b)](_0x5ebb8e(0x23b)+util[_0x5ebb8e(0x204)](_0xf9a352));}}),typeof afterEach===a16_0x55df36(0x244)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x4f28b5=a16_0x55df36,_0x13f81b={'xvgYY':function(_0x2f4c70,_0x29acc6){return _0x2f4c70>_0x29acc6;},'wUtqM':function(_0x49e4c1,_0x424ace){return _0x49e4c1>_0x424ace;},'Qdapy':_0x4f28b5(0x243),'lsWeq':function(_0x2a0169,_0x2c405e){return _0x2a0169+_0x2c405e;},'Nihcy':'Failed:\x20','YFXfG':_0x4f28b5(0x221),'jyXFh':_0x4f28b5(0x205),'rfKll':'info','kCkao':_0x4f28b5(0x1f2),'WeMWK':_0x4f28b5(0x218),'iRzwU':function(_0xee4d72){return _0xee4d72();},'hoUuc':'isAccessibilityPlatform','RkTHk':'bstackA11yShouldScan','upQPy':_0x4f28b5(0x1f7),'FtEGY':_0x4f28b5(0x1f5),'OwNWm':_0x4f28b5(0x1ee),'cKkPe':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','srQUl':_0x4f28b5(0x1cc),'wSCBH':_0x4f28b5(0x1ea),'IcueT':_0x4f28b5(0x249)};try{if(Array[_0x4f28b5(0x22c)](global[_0x4f28b5(0x1d9)])&&_0x13f81b[_0x4f28b5(0x219)](global['__drivers'][_0x4f28b5(0x224)],0x0)&&global[_0x4f28b5(0x1d9)][0x0]){const _0x5872b3=_activeFullName||global[_0x4f28b5(0x236)];if(!global['__skipSessionName']&&_0x5872b3){global['sessionName']=_0x5872b3;try{await global[_0x4f28b5(0x1d9)][0x0][_0x4f28b5(0x1ed)](_0x4f28b5(0x1e3)+JSON[_0x4f28b5(0x1d6)](_0x5872b3)+'}}'),global[_0x4f28b5(0x1d9)][0x0][_0x4f28b5(0x1cf)]=!![];}catch(_0x3cfe23){logger[_0x4f28b5(0x20b)](_0x4f28b5(0x23a)+util[_0x4f28b5(0x204)](_0x3cfe23));}}if(!global[_0x4f28b5(0x225)])try{const _0x17851a=_activeResultRef&&Array[_0x4f28b5(0x22c)](_activeResultRef['failedExpectations'])?_activeResultRef['failedExpectations']:[],_0x468878=_0x13f81b[_0x4f28b5(0x23d)](_0x17851a['length'],0x0),_0x1ea7dd=_0x468878?_0x17851a[0x0]&&_0x17851a[0x0][_0x4f28b5(0x232)]||_0x13f81b[_0x4f28b5(0x1ec)]:null;try{await global[_0x4f28b5(0x1d9)][0x0][_0x4f28b5(0x1ed)](_0x4f28b5(0x216)+JSON[_0x4f28b5(0x1d6)](_0x468878?_0x13f81b[_0x4f28b5(0x20e)](_0x13f81b[_0x4f28b5(0x212)],_0x1ea7dd):_0x13f81b[_0x4f28b5(0x248)])+',\x22level\x22:\x20\x22'+(_0x468878?_0x13f81b[_0x4f28b5(0x1dd)]:_0x13f81b['rfKll'])+_0x4f28b5(0x1e8));}catch(_0x2b3ae5){logger[_0x4f28b5(0x20b)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x4f28b5(0x204)](_0x2b3ae5));}_0x468878&&(global[_0x4f28b5(0x20d)]=!![]),await helper[_0x4f28b5(0x1d1)](global[_0x4f28b5(0x1d9)][0x0],_0x468878?_0x13f81b[_0x4f28b5(0x1f1)]:_0x13f81b['WeMWK'],_0x1ea7dd);}catch(_0x45807f){logger[_0x4f28b5(0x20b)](_0x4f28b5(0x21b)+util[_0x4f28b5(0x204)](_0x45807f));}}}catch(_0x37370c){logger['debug'](_0x4f28b5(0x242)+util['format'](_0x37370c));}try{if(_0x13f81b[_0x4f28b5(0x1e2)](isAccessibilityAutomationSession)&&globals[_0x4f28b5(0x222)](_0x13f81b[_0x4f28b5(0x1e4)])&&Array[_0x4f28b5(0x22c)](global[_0x4f28b5(0x1d9)])&&_0x13f81b[_0x4f28b5(0x219)](global['__drivers'][_0x4f28b5(0x224)],0x0)&&global['__drivers'][0x0]){const _0x1acaf3=testRunMap[_0x4f28b5(0x1de)](_activeResultId),_0x51ac4c={};_0x51ac4c[_0x4f28b5(0x202)]=_0x1acaf3,_0x51ac4c['thBuildUuid']=process[_0x4f28b5(0x1e6)][testHubConstants[_0x4f28b5(0x22e)][_0x4f28b5(0x208)]],_0x51ac4c[_0x4f28b5(0x1f6)]=process[_0x4f28b5(0x1e6)][testHubConstants[_0x4f28b5(0x22e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1522db=_0x51ac4c;logger[_0x4f28b5(0x20b)](_0x4f28b5(0x233)+JSON[_0x4f28b5(0x1d6)](_0x1522db));if(globals[_0x4f28b5(0x222)](_0x13f81b['RkTHk'])){logger[_0x4f28b5(0x20b)](_0x13f81b['upQPy']);const _0x257460=await accessibilityRetryHelper['performScanWithRetry'](global[_0x4f28b5(0x1d9)][0x0],global['browserstackSessionName']);_0x257460?logger[_0x4f28b5(0x20b)](_0x13f81b['FtEGY']):logger[_0x4f28b5(0x1db)](_0x13f81b[_0x4f28b5(0x21e)]);}else logger[_0x4f28b5(0x20b)](_0x13f81b[_0x4f28b5(0x1dc)]);globals[_0x4f28b5(0x222)](_0x13f81b[_0x4f28b5(0x227)])&&(_0x1522db[_0x4f28b5(0x1fb)]=!![]);const _0x52b6aa=await accessibilityRetryHelper[_0x4f28b5(0x215)](global[_0x4f28b5(0x1d9)][0x0],_0x1522db);_0x52b6aa?logger[_0x4f28b5(0x20b)](_0x13f81b[_0x4f28b5(0x217)]):logger[_0x4f28b5(0x1db)](_0x13f81b['IcueT']);}}catch(_0x514a9a){logger[_0x4f28b5(0x205)](_0x4f28b5(0x1e0)+util[_0x4f28b5(0x204)](_0x514a9a));}});}catch(a16_0x500371){logger[a16_0x55df36(0x20b)](a16_0x55df36(0x23c)+util[a16_0x55df36(0x204)](a16_0x500371));}module['exports']={};
1
+ 'use strict';const a16_0x25604a=a16_0x4f89;(function(_0x2869c6,_0x521cf1){const _0x2adfe5=a16_0x4f89,_0x573cdf=_0x2869c6();while(!![]){try{const _0x463270=-parseInt(_0x2adfe5(0x1a8))/0x1+-parseInt(_0x2adfe5(0x15d))/0x2*(-parseInt(_0x2adfe5(0x14e))/0x3)+parseInt(_0x2adfe5(0x156))/0x4*(parseInt(_0x2adfe5(0x148))/0x5)+-parseInt(_0x2adfe5(0x14c))/0x6*(-parseInt(_0x2adfe5(0x166))/0x7)+parseInt(_0x2adfe5(0x199))/0x8*(parseInt(_0x2adfe5(0x1a6))/0x9)+-parseInt(_0x2adfe5(0x16f))/0xa+-parseInt(_0x2adfe5(0x1ac))/0xb;if(_0x463270===_0x521cf1)break;else _0x573cdf['push'](_0x573cdf['shift']());}catch(_0x3ec994){_0x573cdf['push'](_0x573cdf['shift']());}}}(a16_0x36ca,0x7337b));const util=require(a16_0x25604a(0x189)),logger=require(a16_0x25604a(0x137))['winstonLogger'],helper=require(a16_0x25604a(0x165)),globals=require(a16_0x25604a(0x172)),{shouldProcessEventForTesthub}=require(a16_0x25604a(0x15b)),testHubConstants=require(a16_0x25604a(0x195)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x25604a(0x18a)),accessibilityRetryHelper=require(a16_0x25604a(0x145)),testRunMap=require(a16_0x25604a(0x136));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;function a16_0x4f89(_0x1989d9,_0x56f32d){const _0x36ca92=a16_0x36ca();return a16_0x4f89=function(_0x4f8955,_0x37ee4d){_0x4f8955=_0x4f8955-0x124;let _0x2935c5=_0x36ca92[_0x4f8955];return _0x2935c5;},a16_0x4f89(_0x1989d9,_0x56f32d);}try{const rawConfig=process[a16_0x25604a(0x188)][a16_0x25604a(0x134)]||process['env'][a16_0x25604a(0x129)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x25604a(0x152)](rawConfig));}catch(a16_0x1c4795){logger[a16_0x25604a(0x159)](a16_0x25604a(0x16e)+util[a16_0x25604a(0x191)](a16_0x1c4795));}try{if(_bstackConfig&&!helper[a16_0x25604a(0x19a)](a16_0x25604a(0x178))){const LQKEUS='0|4|1|3|2'[a16_0x25604a(0x130)]('|');let bXhLtB=0x0;while(!![]){switch(LQKEUS[bXhLtB++]){case'0':logger['debug']('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'1':global[a16_0x25604a(0x184)]=_bstackConfig[a16_0x25604a(0x154)]||{};continue;case'2':helper['isBrowserstackInfra']()?(global[a16_0x25604a(0x12c)]=helper['isTrue'](_bstackConfig[a16_0x25604a(0x196)]),global[a16_0x25604a(0x1a9)]=helper[a16_0x25604a(0x183)](_bstackConfig['skipSessionStatus'])):(global[a16_0x25604a(0x12c)]=!![],global['__skipSessionStatus']=!![]);continue;case'3':global[a16_0x25604a(0x126)]=_bstackConfig[a16_0x25604a(0x169)];continue;case'4':shouldProcessEventForTesthub()?require(a16_0x25604a(0x13f))[a16_0x25604a(0x13d)](_bstackConfig,null,!![]):require(a16_0x25604a(0x13f))[a16_0x25604a(0x13d)](_bstackConfig);continue;}break;}}}catch(a16_0x1b31e1){logger[a16_0x25604a(0x159)](a16_0x25604a(0x135)+util[a16_0x25604a(0x191)](a16_0x1b31e1));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0xe76b22=a16_0x25604a,_0x4e079d={'oInSb':function(_0x1e839d,_0x53aab7){return _0x1e839d(_0x53aab7);},'Begha':_0xe76b22(0x194),'bbVat':_0xe76b22(0x142),'bVxue':_0xe76b22(0x17c)},_0x21b1b4=Error[_0xe76b22(0x16c)];try{const _0x93e8bd=new Error();Error[_0xe76b22(0x16c)]=(_0x58c43e,_0xfd4e36)=>_0xfd4e36;const _0x23f33d=_0x93e8bd[_0xe76b22(0x17d)];Error[_0xe76b22(0x16c)]=_0x21b1b4;if(Array[_0xe76b22(0x128)](_0x23f33d))for(const _0x2a44e8 of _0x23f33d){const _0x143338=_0x2a44e8[_0xe76b22(0x131)]&&_0x2a44e8['getFileName']();if(_0x143338&&!_0x143338['includes'](_0xe76b22(0x140)+_0x4e079d['oInSb'](require,_0x4e079d['Begha'])['sep']+_0xe76b22(0x141)+_0x4e079d['oInSb'](require,_0x4e079d[_0xe76b22(0x17a)])['sep'])&&!_0x143338[_0xe76b22(0x1aa)](_0x4e079d[_0xe76b22(0x125)])&&!_0x143338[_0xe76b22(0x17e)](_0x4e079d['bVxue']))return _0x143338;}}catch(_0x26d91f){Error['prepareStackTrace']=_0x21b1b4;}return null;},_wrappedDescribe=function(_0x50e531,_0x9176ca){const _0x32c760=a16_0x25604a,_0x2bea08={'krbcP':function(_0x5c4843){return _0x5c4843();},'rzZWf':function(_0x31404a,_0x4c34f7){return _0x31404a&&_0x4c34f7;},'yAfwy':function(_0x2844c8,_0x49571d,_0x958292){return _0x2844c8(_0x49571d,_0x958292);}};let _0x3534ec=null;try{_0x3534ec=_0x2bea08['krbcP'](_resolveCallerFile);}catch(_0x2ae899){}_describeTitleStack['push'](_0x50e531);const _0x174175=_describeTitleStack[_0x32c760(0x146)]('\x20');_0x2bea08['rzZWf'](_0x3534ec,_0x174175)&&(_fileNameByFullName[_0x174175]=_0x3534ec);try{return _0x2bea08[_0x32c760(0x151)](_origDescribe,_0x50e531,_0x9176ca);}finally{_describeTitleStack[_0x32c760(0x171)]();}};Object[a16_0x25604a(0x12f)](_origDescribe)[a16_0x25604a(0x12e)](_0x4fb40b=>{_wrappedDescribe[_0x4fb40b]=_origDescribe[_0x4fb40b];}),global[a16_0x25604a(0x13b)]=_wrappedDescribe;}}catch(a16_0x14c4ef){logger[a16_0x25604a(0x159)](a16_0x25604a(0x176)+util['format'](a16_0x14c4ef));}try{if(typeof jasmine!==a16_0x25604a(0x15c)&&jasmine[a16_0x25604a(0x1a0)]){const BrowserStackJasmineReporter=require(a16_0x25604a(0x147)),a16_0x7c884b={};a16_0x7c884b['fileNameByFullName']=_fileNameByFullName,jasmine['getEnv']()['addReporter'](new BrowserStackJasmineReporter(a16_0x7c884b)),logger[a16_0x25604a(0x159)](a16_0x25604a(0x197));}else logger[a16_0x25604a(0x159)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a16_0x407c7f){logger[a16_0x25604a(0x159)](a16_0x25604a(0x18e)+util[a16_0x25604a(0x191)](a16_0x407c7f));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x25604a(0x1a0)]&&jasmine[a16_0x25604a(0x1a0)]()['addReporter']({'specStarted'(_0x447954){const _0x2bfb58=a16_0x25604a,_0x43d69c={};_0x43d69c[_0x2bfb58(0x187)]=function(_0x51fe61,_0xf5896a){return _0x51fe61||_0xf5896a;};const _0x51e698=_0x43d69c;_activeResultId=_0x447954&&_0x447954['id'],_activeFullName=_0x447954&&_0x447954[_0x2bfb58(0x12b)],_activeResultRef=_0x51e698['HhAVq'](_0x447954,null);},'specDone'(){}});}catch(a16_0x2ee6c2){logger[a16_0x25604a(0x159)](a16_0x25604a(0x168)+util['format'](a16_0x2ee6c2));}function a16_0x36ca(){const _0x4a5a0a=['__skipSessionStatus','startsWith',',\x22level\x22:\x20\x22','5736005WOCyir','wmSuK','bbVat','browserstackPlatformIndex','kHzYC','isArray','CONFIG','zfEUu','fullName','__skipSessionName','setGlobal','forEach','keys','split','getFileName','hEuXo','executeScript','BROWSERSTACK_JASMINE_CONFIG','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','./testRunMap','../../helpers/logger','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','passed','describe','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','browserstackAgentV2','ufFlF','../../index','bin','jasmine','node:','performScanWithRetry','__drivers','../../helpers/accessibility-automation/accessibilityRetryHelper','join','./bstack-reporter/customReporter','2355025BLOTeL','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','saveAccessibilityResultsWithRetry','BROWSERSTACK_TESTHUB_UUID','6oizEhk','error','6hhItOT','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','yAfwy','parse','rHVUz','platformCaps','\x22}}','4HMhVVV','__sessionFailed','get','debug','HKGzW','../../helpers/testhub/utils','undefined','726734NlRYcB','info','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Passed','failedExpectations','length','../../helpers/helper','3796044dbFURB','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','platformIndex','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','message','prepareStackTrace','markSessionStatus','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','5429090HbYRAa','ENV_VAR','pop','../../helpers/globals','function','warn','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','zLtIa','@playwright/test','getGlobal','Begha','sessionName','jasmine-core','stack','includes','knfHz','wRxRt','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','dzWPt','isTrue','__platformCaps','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','HhAVq','env','util','../../helpers/accessibility-automation/helper','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','EyOtG','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','tKJzJ','exports','format','DRUsT','is_mobile_session','path','../../helpers/testhub/constants','skipSessionName','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','stringify','265312azvXIV','getPackageVersion','Failed:\x20','ynGAy','isAccessibilityPlatform','thTestRunUuid','browserstackSessionName','getEnv','autoScanning','bstackA11yShouldScan','BROWSERSTACK_TESTHUB_JWT','bzJcc','HuEKI','126okxvGh','VGWml','668032eHzsmg'];a16_0x36ca=function(){return _0x4a5a0a;};return a16_0x36ca();}const _resolveAutoScanning=()=>{const _0xb4c5dc=a16_0x25604a,_0xf5f2d8={};_0xf5f2d8[_0xb4c5dc(0x18d)]=function(_0x2acad6,_0x1db030){return _0x2acad6===_0x1db030;};const _0x4942ec=_0xf5f2d8;let _0x148f7b=!![];try{const _0x3347fc=JSON[_0xb4c5dc(0x152)](process[_0xb4c5dc(0x188)][_0xb4c5dc(0x18c)]||'{}');_0x4942ec['EyOtG'](_0x3347fc[_0xb4c5dc(0x1a1)],![])&&(_0x148f7b=![]);}catch(_0x122cdc){logger[_0xb4c5dc(0x159)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x122cdc[_0xb4c5dc(0x16b)]);}return _0x148f7b;};try{typeof beforeEach===a16_0x25604a(0x173)&&beforeEach(function bstackA11yBeforeEach(){const _0x5cb3e7=a16_0x25604a,_0x4c6cf4={'iFhHo':function(_0x5618f7){return _0x5618f7();},'PNZby':function(_0x484ec5,_0x13a6ea,_0x291c17){return _0x484ec5(_0x13a6ea,_0x291c17);},'RpEBT':function(_0x58c139,_0x280909){return _0x58c139&&_0x280909;},'kHzYC':_0x5cb3e7(0x1a2),'VGWml':_0x5cb3e7(0x15f)};try{const _0x266f27=_0x4c6cf4['iFhHo'](_resolveAutoScanning),_0x1b7156=_0x4c6cf4['PNZby'](shouldScanTestForAccessibility,null,![]),_0x2c8b38=_0x4c6cf4['RpEBT'](_0x266f27,_0x1b7156);globals[_0x5cb3e7(0x12d)](_0x4c6cf4[_0x5cb3e7(0x127)],_0x2c8b38),globals['setGlobal'](_0x4c6cf4[_0x5cb3e7(0x1a7)],null);}catch(_0x302421){logger['debug'](_0x5cb3e7(0x16a)+util['format'](_0x302421));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x4a338a=a16_0x25604a,_0x4fb08a={'HKGzW':function(_0x35ec63,_0xde76ec){return _0x35ec63>_0xde76ec;},'ynGAy':'Spec\x20failed','MulII':function(_0xfc01f4,_0x123d73){return _0xfc01f4+_0x123d73;},'ufFlF':_0x4a338a(0x19b),'tKJzJ':_0x4a338a(0x162),'knfHz':_0x4a338a(0x14d),'skTXH':_0x4a338a(0x15e),'dzWPt':'failed','HuEKI':_0x4a338a(0x13a),'ERjCL':function(_0x47792c){return _0x47792c();},'wmSuK':_0x4a338a(0x19d),'DRUsT':function(_0x4dec7a,_0x481efb){return _0x4dec7a>_0x481efb;},'zfEUu':_0x4a338a(0x1a2),'zLtIa':_0x4a338a(0x186),'hEuXo':_0x4a338a(0x18b),'bzJcc':_0x4a338a(0x139),'rHVUz':_0x4a338a(0x14f),'wRxRt':'isMobilePlatform','VqUfW':_0x4a338a(0x167),'cNIsT':_0x4a338a(0x161)};try{if(Array['isArray'](global[_0x4a338a(0x144)])&&_0x4fb08a[_0x4a338a(0x15a)](global['__drivers'][_0x4a338a(0x164)],0x0)&&global[_0x4a338a(0x144)][0x0]){const _0x13f890=_activeFullName||global[_0x4a338a(0x17b)];if(!global[_0x4a338a(0x12c)]&&_0x13f890){global[_0x4a338a(0x17b)]=_0x13f890;try{await global['__drivers'][0x0][_0x4a338a(0x133)](_0x4a338a(0x185)+JSON[_0x4a338a(0x198)](_0x13f890)+'}}'),global[_0x4a338a(0x144)][0x0]['sessionNameSet__']=!![];}catch(_0x444656){logger['debug'](_0x4a338a(0x160)+util['format'](_0x444656));}}if(!global['__skipSessionStatus'])try{const _0x44d126=_activeResultRef&&Array[_0x4a338a(0x128)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x4a338a(0x163)]:[],_0x429671=_0x4fb08a[_0x4a338a(0x15a)](_0x44d126[_0x4a338a(0x164)],0x0),_0x487f79=_0x429671?_0x44d126[0x0]&&_0x44d126[0x0]['message']||_0x4fb08a[_0x4a338a(0x19c)]:null;try{await global[_0x4a338a(0x144)][0x0][_0x4a338a(0x133)](_0x4a338a(0x150)+JSON['stringify'](_0x429671?_0x4fb08a['MulII'](_0x4fb08a[_0x4a338a(0x13e)],_0x487f79):_0x4fb08a[_0x4a338a(0x18f)])+_0x4a338a(0x1ab)+(_0x429671?_0x4fb08a[_0x4a338a(0x17f)]:_0x4fb08a['skTXH'])+_0x4a338a(0x155));}catch(_0x573ca2){logger[_0x4a338a(0x159)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x4a338a(0x191)](_0x573ca2));}_0x429671&&(global[_0x4a338a(0x157)]=!![]),await helper[_0x4a338a(0x16d)](global[_0x4a338a(0x144)][0x0],_0x429671?_0x4fb08a[_0x4a338a(0x182)]:_0x4fb08a[_0x4a338a(0x1a5)],_0x487f79);}catch(_0x1932fe){logger[_0x4a338a(0x159)](_0x4a338a(0x149)+util['format'](_0x1932fe));}}}catch(_0x4abcbe){logger[_0x4a338a(0x159)](_0x4a338a(0x175)+util[_0x4a338a(0x191)](_0x4abcbe));}try{if(_0x4fb08a['ERjCL'](isAccessibilityAutomationSession)&&globals[_0x4a338a(0x179)](_0x4fb08a[_0x4a338a(0x124)])&&Array[_0x4a338a(0x128)](global[_0x4a338a(0x144)])&&_0x4fb08a[_0x4a338a(0x192)](global[_0x4a338a(0x144)][_0x4a338a(0x164)],0x0)&&global[_0x4a338a(0x144)][0x0]){const _0x6cd0d=testRunMap[_0x4a338a(0x158)](_activeResultId),_0x43e552={};_0x43e552[_0x4a338a(0x19e)]=_0x6cd0d,_0x43e552['thBuildUuid']=process['env'][testHubConstants[_0x4a338a(0x170)][_0x4a338a(0x14b)]],_0x43e552['thJwtToken']=process['env'][testHubConstants['ENV_VAR'][_0x4a338a(0x1a3)]];const _0x3177c8=_0x43e552;logger['debug'](_0x4a338a(0x138)+JSON[_0x4a338a(0x198)](_0x3177c8));if(globals[_0x4a338a(0x179)](_0x4fb08a[_0x4a338a(0x12a)])){logger['debug'](_0x4fb08a[_0x4a338a(0x177)]);const _0x11c04d=await accessibilityRetryHelper[_0x4a338a(0x143)](global[_0x4a338a(0x144)][0x0],global[_0x4a338a(0x19f)]);_0x11c04d?logger[_0x4a338a(0x159)](_0x4fb08a[_0x4a338a(0x132)]):logger[_0x4a338a(0x174)](_0x4fb08a[_0x4a338a(0x1a4)]);}else logger[_0x4a338a(0x159)](_0x4fb08a[_0x4a338a(0x153)]);globals[_0x4a338a(0x179)](_0x4fb08a[_0x4a338a(0x180)])&&(_0x3177c8[_0x4a338a(0x193)]=!![]);const _0x107a54=await accessibilityRetryHelper[_0x4a338a(0x14a)](global[_0x4a338a(0x144)][0x0],_0x3177c8);_0x107a54?logger[_0x4a338a(0x159)](_0x4fb08a['VqUfW']):logger[_0x4a338a(0x174)](_0x4fb08a['cNIsT']);}}catch(_0x15164d){logger[_0x4a338a(0x14d)](_0x4a338a(0x13c)+util[_0x4a338a(0x191)](_0x15164d));}});}catch(a16_0x55c42b){logger[a16_0x25604a(0x159)](a16_0x25604a(0x181)+util[a16_0x25604a(0x191)](a16_0x55c42b));}module[a16_0x25604a(0x190)]={};
@@ -1 +1 @@
1
- 'use strict';const a17_0x392a55=a17_0x2e61;(function(_0x4626cf,_0x5be280){const _0x170ec3=a17_0x2e61,_0x1b1451=_0x4626cf();while(!![]){try{const _0x197664=parseInt(_0x170ec3(0xd2))/0x1*(parseInt(_0x170ec3(0xe3))/0x2)+parseInt(_0x170ec3(0xdd))/0x3*(parseInt(_0x170ec3(0xe1))/0x4)+-parseInt(_0x170ec3(0xd0))/0x5*(parseInt(_0x170ec3(0xe4))/0x6)+-parseInt(_0x170ec3(0xd8))/0x7*(parseInt(_0x170ec3(0xda))/0x8)+parseInt(_0x170ec3(0xd6))/0x9*(parseInt(_0x170ec3(0xe0))/0xa)+parseInt(_0x170ec3(0xd7))/0xb+-parseInt(_0x170ec3(0xdc))/0xc;if(_0x197664===_0x5be280)break;else _0x1b1451['push'](_0x1b1451['shift']());}catch(_0x2a0a42){_0x1b1451['push'](_0x1b1451['shift']());}}}(a17_0x143a,0x762e0));function a17_0x143a(){const _0x446fa4=['egCGA','2560rpPIEv','4zeIFCu','fBzad','803210cwoPAD','822FxIxzO','get','915HEEDZJ','size','2Hiyxpz','set','lJfox','pJQvI','24471JZxRVH','2407581FAFnNd','15253mRTjYG','AFpST','2672OoEwgx','delete','7983240wuEVUY','552138MYubwl','remove'];a17_0x143a=function(){return _0x446fa4;};return a17_0x143a();}function a17_0x2e61(_0x548767,_0x55b150){const _0x143a8e=a17_0x143a();return a17_0x2e61=function(_0x2e61a5,_0x1e37b4){_0x2e61a5=_0x2e61a5-0xd0;let _0x431924=_0x143a8e[_0x2e61a5];return _0x431924;},a17_0x2e61(_0x548767,_0x55b150);}const _specUuidById=new Map();exports[a17_0x392a55(0xd3)]=(_0x248374,_0x31c921)=>{const _0x389b5c=a17_0x392a55,_0x34ee0c={};_0x34ee0c[_0x389b5c(0xd9)]=function(_0x5a820a,_0x3d33f7){return _0x5a820a===_0x3d33f7;},_0x34ee0c[_0x389b5c(0xd4)]=function(_0x3e3a09,_0x30c057){return _0x3e3a09===_0x30c057;};const _0x2c5434=_0x34ee0c;if(_0x2c5434['AFpST'](_0x248374,undefined)||_0x2c5434[_0x389b5c(0xd4)](_0x248374,null))return;_specUuidById[_0x389b5c(0xd3)](_0x248374,_0x31c921);},exports[a17_0x392a55(0xe5)]=_0x25e157=>{const _0x3626fd=a17_0x392a55,_0x1df739={};_0x1df739['fBzad']=function(_0x269785,_0x4bcbed){return _0x269785===_0x4bcbed;};const _0x26575c=_0x1df739;if(_0x26575c[_0x3626fd(0xe2)](_0x25e157,undefined)||_0x26575c['fBzad'](_0x25e157,null))return undefined;return _specUuidById[_0x3626fd(0xe5)](_0x25e157);},exports[a17_0x392a55(0xde)]=_0x156dcd=>{const _0x275978=a17_0x392a55,_0x1f0bd8={};_0x1f0bd8[_0x275978(0xdf)]=function(_0xdb5c4c,_0x39b648){return _0xdb5c4c===_0x39b648;},_0x1f0bd8[_0x275978(0xd5)]=function(_0x18c073,_0x4e2eeb){return _0x18c073===_0x4e2eeb;};const _0xab39c8=_0x1f0bd8;if(_0xab39c8[_0x275978(0xdf)](_0x156dcd,undefined)||_0xab39c8['pJQvI'](_0x156dcd,null))return;_specUuidById[_0x275978(0xdb)](_0x156dcd);},exports['_size']=()=>_specUuidById[a17_0x392a55(0xd1)];
1
+ 'use strict';function a17_0x4471(){const _0x509211=['1093004ozNYjw','10jAVMli','1240216WxzKtQ','45MGGueR','_size','YYhoz','704319XunEIn','FjalI','1731GfYWLb','size','7984277LxOAPV','delete','148zbBJsh','get','2lHrkui','set','nGiCX','10365054VvNmjR','6591995YKtHje','remove'];a17_0x4471=function(){return _0x509211;};return a17_0x4471();}function a17_0x129d(_0x5eda6d,_0x26acc6){const _0x447191=a17_0x4471();return a17_0x129d=function(_0x129d5b,_0x1b512f){_0x129d5b=_0x129d5b-0x1e5;let _0x3ab95f=_0x447191[_0x129d5b];return _0x3ab95f;},a17_0x129d(_0x5eda6d,_0x26acc6);}const a17_0xb97bad=a17_0x129d;(function(_0x28bfa5,_0x2fe6f1){const _0x57b51b=a17_0x129d,_0xa3e9f8=_0x28bfa5();while(!![]){try{const _0x1bd886=parseInt(_0x57b51b(0x1eb))/0x1*(-parseInt(_0x57b51b(0x1f3))/0x2)+parseInt(_0x57b51b(0x1ed))/0x3*(-parseInt(_0x57b51b(0x1f1))/0x4)+parseInt(_0x57b51b(0x1f7))/0x5+-parseInt(_0x57b51b(0x1f6))/0x6+parseInt(_0x57b51b(0x1ef))/0x7+-parseInt(_0x57b51b(0x1e7))/0x8*(-parseInt(_0x57b51b(0x1e8))/0x9)+parseInt(_0x57b51b(0x1e6))/0xa*(parseInt(_0x57b51b(0x1e5))/0xb);if(_0x1bd886===_0x2fe6f1)break;else _0xa3e9f8['push'](_0xa3e9f8['shift']());}catch(_0x234476){_0xa3e9f8['push'](_0xa3e9f8['shift']());}}}(a17_0x4471,0xd6ecc));const _specUuidById=new Map();exports[a17_0xb97bad(0x1f4)]=(_0x339e86,_0x59abc6)=>{const _0x18eb72=a17_0xb97bad,_0x4d48ef={};_0x4d48ef[_0x18eb72(0x1f5)]=function(_0x5d5eed,_0x2d9e9e){return _0x5d5eed===_0x2d9e9e;};const _0x395964=_0x4d48ef;if(_0x395964[_0x18eb72(0x1f5)](_0x339e86,undefined)||_0x395964['nGiCX'](_0x339e86,null))return;_specUuidById['set'](_0x339e86,_0x59abc6);},exports['get']=_0x5d7cc0=>{const _0x7eb06=a17_0xb97bad,_0x142749={};_0x142749[_0x7eb06(0x1ea)]=function(_0x12d135,_0x37d24d){return _0x12d135===_0x37d24d;};const _0x4e5c94=_0x142749;if(_0x4e5c94[_0x7eb06(0x1ea)](_0x5d7cc0,undefined)||_0x4e5c94['YYhoz'](_0x5d7cc0,null))return undefined;return _specUuidById[_0x7eb06(0x1f2)](_0x5d7cc0);},exports[a17_0xb97bad(0x1f8)]=_0x1b0809=>{const _0xc96650=a17_0xb97bad,_0x2fdd92={};_0x2fdd92[_0xc96650(0x1ec)]=function(_0x515033,_0x445a7e){return _0x515033===_0x445a7e;};const _0x2fed55=_0x2fdd92;if(_0x2fed55[_0xc96650(0x1ec)](_0x1b0809,undefined)||_0x2fed55['FjalI'](_0x1b0809,null))return;_specUuidById[_0xc96650(0x1f0)](_0x1b0809);},exports[a17_0xb97bad(0x1e9)]=()=>_specUuidById[a17_0xb97bad(0x1ee)];
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a18_0x1858(_0x1014c8,_0x2617fc){const _0x49355d=a18_0x4935();return a18_0x1858=function(_0x1858b7,_0x5af60c){_0x1858b7=_0x1858b7-0x172;let _0x2ba669=_0x49355d[_0x1858b7];return _0x2ba669;},a18_0x1858(_0x1014c8,_0x2617fc);}const a18_0x28b5b9=a18_0x1858;(function(_0x1bd913,_0x31cd07){const _0x371255=a18_0x1858,_0x5fac66=_0x1bd913();while(!![]){try{const _0x561572=-parseInt(_0x371255(0x23f))/0x1*(parseInt(_0x371255(0x247))/0x2)+parseInt(_0x371255(0x1e4))/0x3*(parseInt(_0x371255(0x203))/0x4)+parseInt(_0x371255(0x1cd))/0x5*(parseInt(_0x371255(0x211))/0x6)+-parseInt(_0x371255(0x173))/0x7+parseInt(_0x371255(0x224))/0x8+-parseInt(_0x371255(0x1c3))/0x9*(-parseInt(_0x371255(0x216))/0xa)+parseInt(_0x371255(0x1e3))/0xb*(-parseInt(_0x371255(0x22e))/0xc);if(_0x561572===_0x31cd07)break;else _0x5fac66['push'](_0x5fac66['shift']());}catch(_0x321aa0){_0x5fac66['push'](_0x5fac66['shift']());}}}(a18_0x4935,0x42e1a));const fs=require('fs'),path=require(a18_0x28b5b9(0x179)),util=require(a18_0x28b5b9(0x18c)),{spawn}=require('child_process'),logger=require(a18_0x28b5b9(0x249))['winstonLogger'],{default:BrowserStackSetup}=require(a18_0x28b5b9(0x23b)),helper=require(a18_0x28b5b9(0x1ac)),utilities=require(a18_0x28b5b9(0x18d)),constants=require('../utils/constants'),accessibilityHelper=require(a18_0x28b5b9(0x1e2)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a18_0x28b5b9(0x1a1)),{debug}=require(a18_0x28b5b9(0x1a1)),TestDetails=require(a18_0x28b5b9(0x269)),{getPercyOptions}=require(a18_0x28b5b9(0x1e9)),TestHubHandler=require(a18_0x28b5b9(0x22d)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a18_0x28b5b9(0x1b5)),PerformanceTester=require(a18_0x28b5b9(0x19a)),PerformanceEvents=require(a18_0x28b5b9(0x21a))[a18_0x28b5b9(0x24f)],TestOrchestrationHandler=require(a18_0x28b5b9(0x261)),BrowserstackCLI=require(a18_0x28b5b9(0x1fe)),{checkPwandBootstrapCli}=require(a18_0x28b5b9(0x235)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a18_0x28b5b9(0x20c)),{checkAccessibilityPlatformConfig}=require(a18_0x28b5b9(0x1e2)),getUserJestConfigs=async(_0x16159a,_0x10f728)=>{const _0x2b92bd=a18_0x28b5b9,_0x3cef0f={'wKYpb':_0x2b92bd(0x1b2),'tdFlp':_0x2b92bd(0x1fb),'hauOT':function(_0x378dc7,_0x44dfd7){return _0x378dc7||_0x44dfd7;},'YvGgu':function(_0x4095ae,_0x375bdd){return _0x4095ae(_0x375bdd);},'CAZhm':_0x2b92bd(0x26e),'zybMT':_0x2b92bd(0x238),'bTBXv':_0x2b92bd(0x21b),'FFybS':'cjs','sXQap':_0x2b92bd(0x1c7)};let _0x28d12e;try{_0x28d12e=helper[_0x2b92bd(0x1ad)](_0x3cef0f[_0x2b92bd(0x196)],_0x3cef0f[_0x2b92bd(0x250)]);}catch{const _0x3e15d9=helper[_0x2b92bd(0x1ad)](_0x3cef0f[_0x2b92bd(0x250)]);_0x28d12e={'default':async _0x1c0cac=>{const _0x24d552=_0x2b92bd,_0x2babc7=await _0x3e15d9['readInitialOptions'](_0x1c0cac,{});return _0x2babc7[_0x24d552(0x1b9)];}};}const _0x1e6bdd=_0x10f728[_0x2b92bd(0x19c)](_0x587142=>_0x587142===_0x2b92bd(0x21c));if(!helper[_0x2b92bd(0x172)](_0x16159a[_0x2b92bd(0x1b9)])){logger[_0x2b92bd(0x1bc)](_0x2b92bd(0x1b4)+_0x16159a['config']),process[_0x2b92bd(0x26b)]['USER_CONFIG_DETAILS_PATH']=_0x16159a[_0x2b92bd(0x1b9)];const _0xc59df9=await(0x0,_0x28d12e[_0x2b92bd(0x1a4)])(path[_0x2b92bd(0x187)](_0x16159a[_0x2b92bd(0x1b9)]));return _0x10f728['splice'](_0x1e6bdd,0x2),_0x3cef0f[_0x2b92bd(0x246)](_0xc59df9,{});}const _0xd2bb57=_0x3cef0f['YvGgu'](require,path[_0x2b92bd(0x175)](process[_0x2b92bd(0x233)](),_0x3cef0f['CAZhm']));if(_0xd2bb57[_0x2b92bd(0x1d4)])return logger[_0x2b92bd(0x1bc)](_0x3cef0f[_0x2b92bd(0x1ca)]),_0xd2bb57[_0x2b92bd(0x1d4)];const _0x4c46db=['js',_0x3cef0f[_0x2b92bd(0x1a0)],_0x3cef0f['FFybS'],_0x3cef0f[_0x2b92bd(0x25f)],'ts'];for(const _0x1f1889 of _0x4c46db){const _0x1215c0=path[_0x2b92bd(0x175)](process[_0x2b92bd(0x233)](),_0x2b92bd(0x1e1)+_0x1f1889);if(fs['existsSync'](_0x1215c0)){process[_0x2b92bd(0x26b)][_0x2b92bd(0x18e)]=_0x1215c0;const _0x5e25da=await(0x0,_0x28d12e[_0x2b92bd(0x1a4)])(_0x1215c0);return _0x5e25da;}}return{};},getSerial=(_0x1a7541,_0x290dbb)=>{const _0x33488a=a18_0x28b5b9,_0x59010e={};_0x59010e[_0x33488a(0x22b)]=_0x33488a(0x1ea),_0x59010e[_0x33488a(0x1f1)]=function(_0x320257,_0x252d4a){return _0x320257>_0x252d4a;},_0x59010e[_0x33488a(0x194)]=_0x33488a(0x207);const _0x491b83=_0x59010e;let _0x4ac6b4=_0x491b83[_0x33488a(0x22b)];return _0x491b83[_0x33488a(0x1f1)](_0x1a7541['length'],0x1)&&(!_0x290dbb[_0x33488a(0x1cb)]&&(helper[_0x33488a(0x172)](_0x290dbb[_0x33488a(0x189)])||_0x491b83[_0x33488a(0x1f1)](_0x290dbb[_0x33488a(0x189)],0x1)))&&(_0x4ac6b4=_0x491b83[_0x33488a(0x194)]),_0x4ac6b4;},getMaxWorkers=(_0x259f13,_0x1b5558,_0x35d99a)=>{const _0x3a78ee=a18_0x28b5b9,_0x48484e={'cbpFr':function(_0x5c5ac8,_0x1896aa){return _0x5c5ac8(_0x1896aa);}};let _0x88a0aa=0x1;if(!helper[_0x3a78ee(0x172)](_0x1b5558[_0x3a78ee(0x244)]))_0x88a0aa=_0x48484e[_0x3a78ee(0x195)](parseInt,_0x1b5558[_0x3a78ee(0x244)]);else{if(!helper[_0x3a78ee(0x172)](_0x259f13['maxWorkers']))_0x88a0aa=_0x259f13[_0x3a78ee(0x189)];else!helper['isUndefined'](_0x35d99a['maxWorkers'])&&(_0x88a0aa=_0x35d99a[_0x3a78ee(0x189)]);}return _0x88a0aa;};async function run(_0x51e233,_0x5079db,_0x2045ef){const _0x13ec78=a18_0x28b5b9,_0x4a7037={'gWZGE':_0x13ec78(0x264),'whoZV':_0x13ec78(0x1d4),'nwVkG':function(_0x370443,_0x339189){return _0x370443(_0x339189);},'QlBHi':_0x13ec78(0x178),'qSdBi':function(_0x5d86af){return _0x5d86af();},'BfPMS':function(_0x3d14e9,_0x6c8937,_0x2d88cd,_0x2b79ec){return _0x3d14e9(_0x6c8937,_0x2d88cd,_0x2b79ec);},'CprAV':function(_0x83030a,_0xce3a8e){return _0x83030a!=_0xce3a8e;},'bATke':'true','IERPO':function(_0x483418,_0x4c8881,_0x52f704){return _0x483418(_0x4c8881,_0x52f704);},'cUHMv':_0x13ec78(0x223),'IVVpl':_0x13ec78(0x207),'VHbQP':function(_0xe6ad80,_0x31b983,_0x4b6ce5,_0x51f490){return _0xe6ad80(_0x31b983,_0x4b6ce5,_0x51f490);},'rmion':function(_0x365117,_0x468faf){return _0x365117*_0x468faf;},'kWDMn':function(_0x830264,_0x2ddc75){return _0x830264===_0x2ddc75;},'bATQZ':'jest_browserstack.config.cjs','OevuQ':'jest_browserstack.config.js','cEEEl':_0x13ec78(0x232),'KfcdJ':_0x13ec78(0x1c4),'KHLAO':_0x13ec78(0x1ba),'ddtOI':'customTestRunnerTemplate.js','rYOcT':_0x13ec78(0x20f),'Wbype':function(_0x4386f7,_0x387b97){return _0x4386f7!==_0x387b97;},'tmJMp':'jest-runner','uCrix':_0x13ec78(0x1f5),'XCOJX':_0x13ec78(0x1b8),'QSTVj':_0x13ec78(0x23d),'EnjVo':_0x13ec78(0x226),'XFEyV':_0x13ec78(0x259),'owrIR':_0x13ec78(0x181),'wWwPd':function(_0x4ef601,_0x2d8b7a){return _0x4ef601(_0x2d8b7a);},'xfCPY':_0x13ec78(0x1ed),'rxpCV':_0x13ec78(0x1db),'xxxjw':_0x13ec78(0x24c),'aPsaa':_0x13ec78(0x215),'cFDGo':_0x13ec78(0x1ae),'kCLBU':_0x13ec78(0x1d3),'HJGPs':_0x13ec78(0x174),'VKtzI':_0x13ec78(0x1f7),'csseI':_0x13ec78(0x1f2),'piASE':function(_0x189f07,_0x2d4236){return _0x189f07&&_0x2d4236;},'sScaP':_0x13ec78(0x237),'Vwmkw':_0x13ec78(0x1bf),'qHtbb':_0x13ec78(0x26d),'CkInQ':_0x13ec78(0x1a4),'hiyTy':function(_0x12852c,_0x33a47a,_0x3deb00){return _0x12852c(_0x33a47a,_0x3deb00);},'QfohG':_0x13ec78(0x17c),'ACJrK':_0x13ec78(0x1fa),'OgWTU':_0x13ec78(0x231),'gLqBC':function(_0x577c25,_0x447cf5){return _0x577c25>_0x447cf5;},'OxFXh':_0x13ec78(0x240),'eXEpP':'--config','eYcsx':function(_0x1930fe,_0x257d98,_0x480915,_0x2148d0){return _0x1930fe(_0x257d98,_0x480915,_0x2148d0);},'JlJEu':_0x13ec78(0x1f4),'KKvkw':function(_0x3d44c9,_0x1ed9e5){return _0x3d44c9===_0x1ed9e5;},'RRjYR':_0x13ec78(0x19e),'uvUrf':'inherit','BfBDA':'close'},_0x22d6dd=helper[_0x13ec78(0x182)](_0x4a7037[_0x13ec78(0x20d)]);global[_0x13ec78(0x202)]=!!_0x22d6dd;const _0x54dabd=_0x4a7037[_0x13ec78(0x191)](getPuppeteerVersion);global[_0x13ec78(0x1da)]=!!_0x54dabd;helper[_0x13ec78(0x230)]()?(await _0x2045ef[_0x13ec78(0x260)](_0x51e233),await helper[_0x13ec78(0x22c)](_0x2045ef[_0x13ec78(0x1b9)])):await _0x2045ef['setupTCGAuth']();if(_0x22d6dd)await _0x4a7037['BfPMS'](checkPwandBootstrapCli,_0x22d6dd,constants['FRAMEWORKS'][_0x13ec78(0x1be)],_0x2045ef);else _0x54dabd&&await _0x4a7037[_0x13ec78(0x193)](checkPuppeteerAndBootstrapCli,_0x54dabd,constants['FRAMEWORKS']['JEST'],_0x2045ef);!BrowserstackCLI['getInstance']()[_0x13ec78(0x1d7)]()&&await _0x2045ef[_0x13ec78(0x205)]();if(!_0x2045ef['config'])return;_0x4a7037[_0x13ec78(0x248)](_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x1d5)],null)?process[_0x13ec78(0x26b)][_0x13ec78(0x21d)]=_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x1d5)]:process[_0x13ec78(0x26b)][_0x13ec78(0x21d)]=_0x4a7037['bATke'];const _0xbd02a4=new TestOrchestrationHandler(_0x2045ef[_0x13ec78(0x1b9)]),_0x5b31d1=await _0x4a7037[_0x13ec78(0x1f3)](getUserJestConfigs,_0x51e233,_0x5079db);logger[_0x13ec78(0x1bc)](_0x4a7037['cUHMv']);const _0x300e12=Object[_0x13ec78(0x265)]({},_0x5b31d1);_0x300e12['testEnvironmentOptions']=Object[_0x13ec78(0x265)]({},_0x300e12[_0x13ec78(0x1a6)],{'server':helper[_0x13ec78(0x204)](_0x2045ef[_0x13ec78(0x1b9)]),'environment':_0x5b31d1[_0x13ec78(0x1e7)]}),_0x300e12['testEnvironmentOptions'][_0x13ec78(0x257)]=_0x4a7037[_0x13ec78(0x253)](getPercyOptions,_0x2045ef[_0x13ec78(0x1b9)]);const _0x1371be=helper[_0x13ec78(0x24a)](_0x2045ef['config']);!helper[_0x13ec78(0x172)](_0x2045ef['config']['accessibilityOptions'])&&(process[_0x13ec78(0x26b)][_0x13ec78(0x252)]=JSON['stringify'](_0x2045ef[_0x13ec78(0x1b9)]['accessibilityOptions']));if(!BrowserstackCLI[_0x13ec78(0x21e)]()[_0x13ec78(0x1d7)]()){const _0x169334=await TestHubHandler[_0x13ec78(0x1ff)](FRAMEWORKS[_0x13ec78(0x1be)],_0x2045ef);}const _0x5caa38=helper[_0x13ec78(0x1cc)](_0x2045ef[_0x13ec78(0x1b9)],_0x1371be,constants['FRAMEWORKS']['JEST']);process[_0x13ec78(0x26b)][_0x13ec78(0x1ce)]=JSON[_0x13ec78(0x20a)](_0x5caa38);let _0x120a97=_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x201)];_0x120a97=_0x120a97||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x2045ef[_0x13ec78(0x1b9)]),process[_0x13ec78(0x26b)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x120a97,logger[_0x13ec78(0x1f6)](_0x13ec78(0x1b0)+_0x120a97+_0x13ec78(0x236)+BrowserstackCLI[_0x13ec78(0x21e)]()[_0x13ec78(0x1d7)]());if(_0x22d6dd)try{const _0x4749c4=_0x4a7037[_0x13ec78(0x253)](checkAccessibilityPlatformConfig,_0x2045ef[_0x13ec78(0x1b9)]);process[_0x13ec78(0x26b)][_0x13ec78(0x227)]=_0x4749c4?_0x4a7037['bATke']:_0x4a7037[_0x13ec78(0x1ef)],logger['debug'](_0x13ec78(0x20b)+_0x4749c4+_0x13ec78(0x1de)+process[_0x13ec78(0x26b)][_0x13ec78(0x227)]);}catch(_0x4af3a3){logger[_0x13ec78(0x1f6)]('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x13ec78(0x24e)](_0x4af3a3));}_0x300e12[_0x13ec78(0x1a6)]['capabilities']=_0x5caa38,_0x300e12[_0x13ec78(0x1a6)][_0x13ec78(0x251)]=_0x4a7037[_0x13ec78(0x1f3)](getSerial,_0x5caa38,_0x51e233),_0x300e12['testEnvironmentOptions'][_0x13ec78(0x242)]=_0x4a7037[_0x13ec78(0x214)](getMaxWorkers,_0x51e233,_0x2045ef[_0x13ec78(0x1b9)],_0x5b31d1),_0x300e12[_0x13ec78(0x1a6)][_0x13ec78(0x25e)]=_0x2045ef['config'][_0x13ec78(0x25e)],_0x300e12[_0x13ec78(0x1a6)]['timeout__']=_0x4a7037['rmion'](_0x51e233[_0x13ec78(0x180)],0x1)||0x1388,_0x300e12[_0x13ec78(0x1a6)][_0x13ec78(0x1c5)]=_0x2045ef['config']['testContextOptions']['skipSessionName'],_0x300e12[_0x13ec78(0x1a6)][_0x13ec78(0x1dc)]=_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x17d)]['skipSessionStatus'],_0x300e12['testEnvironmentOptions'][_0x13ec78(0x1d6)]=_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x25a)],_0x300e12[_0x13ec78(0x1a6)][_0x13ec78(0x1d8)]=_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x1d8)],_0x300e12[_0x13ec78(0x1a6)][_0x13ec78(0x212)]=_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x1ee)];const _0x24314b=helper[_0x13ec78(0x1ab)](_0x2045ef['config']);if(!helper[_0x13ec78(0x1bd)](_0x24314b)){helper[_0x13ec78(0x25c)](_0x24314b[_0x13ec78(0x1e0)])&&(_0x300e12[_0x13ec78(0x1a6)]['retries__']=_0x24314b[_0x13ec78(0x1e0)][_0x13ec78(0x177)]);if(helper[_0x13ec78(0x25c)](_0x24314b['abortBuildOnFailure'])&&helper['isNotUndefined'](_0x24314b[_0x13ec78(0x1a8)][_0x13ec78(0x1ec)])){const _0x47eac5={};_0x47eac5[_0x13ec78(0x25b)]=_0x24314b[_0x13ec78(0x1a8)][_0x13ec78(0x229)],_0x47eac5['workingDir']=_0x24314b[_0x13ec78(0x1a8)]['workingDir'],_0x300e12[_0x13ec78(0x1a6)][_0x13ec78(0x17a)]=_0x47eac5;}}let _0x3afe9b='';_0x4a7037[_0x13ec78(0x24d)](helper[_0x13ec78(0x262)](),constants[_0x13ec78(0x1f9)][_0x13ec78(0x1c2)])?_0x3afe9b=_0x4a7037[_0x13ec78(0x268)]:_0x3afe9b=_0x4a7037['OevuQ'];const _0x20e0d7=_0x3afe9b,_0x1774c6=path[_0x13ec78(0x175)](__dirname,_0x4a7037[_0x13ec78(0x1e5)],_0x4a7037[_0x13ec78(0x1b3)]),_0x14a5ad=path[_0x13ec78(0x175)](__dirname,_0x4a7037['cEEEl'],_0x4a7037[_0x13ec78(0x1eb)]),_0x324c86=path[_0x13ec78(0x175)](__dirname,_0x4a7037[_0x13ec78(0x1e5)],_0x4a7037[_0x13ec78(0x258)]);_0x300e12[_0x13ec78(0x1e7)]&&(process[_0x13ec78(0x26b)][_0x13ec78(0x1a9)]=_0x300e12[_0x13ec78(0x1e7)]);_0x300e12[_0x13ec78(0x1e7)]=path[_0x13ec78(0x175)](__dirname,_0x4a7037['cEEEl'],_0x4a7037[_0x13ec78(0x1f8)]);const _0x50ee19=_0x5b31d1[_0x13ec78(0x18f)];if(_0x50ee19&&_0x4a7037[_0x13ec78(0x23e)](_0x50ee19,_0x4a7037[_0x13ec78(0x239)])){const _0x34c4d0=_0x50ee19['startsWith'](_0x4a7037['uCrix'])?_0x50ee19:_0x13ec78(0x1f5)+_0x50ee19;process[_0x13ec78(0x26b)][_0x13ec78(0x1c6)]=_0x34c4d0,logger[_0x13ec78(0x1bc)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x34c4d0);}_0x300e12['runner']=_0x14a5ad,_0x300e12['setupFilesAfterEnv']=_0x300e12[_0x13ec78(0x255)]||[],_0x300e12[_0x13ec78(0x255)][_0x13ec78(0x185)](path['join'](__dirname,_0x4a7037['XCOJX']));_0xbd02a4['isTestOrchestrationEnabled']()&&(_0x300e12['testSequencer']=path[_0x13ec78(0x175)](__dirname,_0x4a7037[_0x13ec78(0x1e5)],_0x4a7037['QSTVj']));if(testhubUtils[_0x13ec78(0x22a)]()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x30fd1b=null;try{_0x30fd1b=helper['requireModule'](_0x4a7037[_0x13ec78(0x209)],_0x4a7037['XFEyV']);}catch(_0x355f6a){try{_0x30fd1b=helper[_0x13ec78(0x1ad)](_0x4a7037[_0x13ec78(0x1bb)],_0x4a7037[_0x13ec78(0x18a)]);}catch(_0x2bb3e3){_0x4a7037[_0x13ec78(0x1e8)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x2bb3e3);}}_0x30fd1b&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x300e12[_0x13ec78(0x255)][_0x13ec78(0x185)](path['join'](__dirname,_0x4a7037[_0x13ec78(0x200)],_0x4a7037['rxpCV'])),_0x300e12[_0x13ec78(0x1d2)]=path[_0x13ec78(0x175)](__dirname,_0x4a7037[_0x13ec78(0x1e5)],_0x4a7037['xxxjw']));}_0x300e12[_0x13ec78(0x192)]=_0x300e12[_0x13ec78(0x192)]||[];try{helper[_0x13ec78(0x24b)](),_0x300e12[_0x13ec78(0x192)]['push'](path[_0x13ec78(0x175)](__dirname,_0x4a7037['aPsaa']));}catch{logger[_0x13ec78(0x1f6)](_0x4a7037[_0x13ec78(0x217)]);}try{helper[_0x13ec78(0x210)][_0x13ec78(0x1a2)](null,[_0x4a7037[_0x13ec78(0x20d)],_0x4a7037[_0x13ec78(0x228)]]),logger[_0x13ec78(0x1f6)](_0x4a7037['HJGPs']),_0x300e12[_0x13ec78(0x192)][_0x13ec78(0x185)](path[_0x13ec78(0x175)](__dirname,_0x4a7037[_0x13ec78(0x176)]));}catch(_0x4be84b){logger['debug'](_0x4a7037[_0x13ec78(0x183)],_0x4be84b);}if(_0x4a7037['piASE'](!_0x22d6dd,_0x54dabd)){try{logger['debug'](_0x4a7037[_0x13ec78(0x213)]),_0x300e12[_0x13ec78(0x192)]['push'](path[_0x13ec78(0x175)](__dirname,'..',_0x4a7037[_0x13ec78(0x1af)],_0x4a7037[_0x13ec78(0x176)]));}catch(_0x51c93e){logger[_0x13ec78(0x1f6)](_0x13ec78(0x17e)+_0x51c93e[_0x13ec78(0x198)]);}try{const _0x3f6fa5=require['resolve'](_0x4a7037[_0x13ec78(0x1fc)]),_0x6b8862=path['dirname'](_0x3f6fa5)['replace'](/\\/g,'/'),_0x15a2e1={};_0x15a2e1[_0x13ec78(0x1a3)]=_0x6b8862+'/internal/$1',_0x300e12[_0x13ec78(0x1dd)]=Object[_0x13ec78(0x265)]({},_0x300e12['moduleNameMapper']||{},_0x15a2e1),logger['debug'](_0x13ec78(0x19d)+_0x6b8862);}catch(_0x25f89a){logger[_0x13ec78(0x1f6)](_0x13ec78(0x188)+_0x25f89a[_0x13ec78(0x198)]);}}_0x300e12[_0x13ec78(0x254)]=_0x300e12[_0x13ec78(0x254)]||[_0x4a7037[_0x13ec78(0x1c9)]],_0x4a7037[_0x13ec78(0x1d0)](updateTestRerunConfig,_0x300e12,_0x2045ef);const _0x1b60d5=fs[_0x13ec78(0x1cf)](_0x324c86),_0x42232a=helper['resolveModule'](_0x4a7037[_0x13ec78(0x263)],_0x4a7037[_0x13ec78(0x17b)]);!_0x42232a[_0x13ec78(0x221)]?fs[_0x13ec78(0x241)](_0x300e12[_0x13ec78(0x18f)],_0x13ec78(0x218)+_0x1b60d5+_0x13ec78(0x1a5)+_0x2045ef['config'][_0x13ec78(0x1ee)][_0x13ec78(0x245)]+_0x13ec78(0x197)):fs[_0x13ec78(0x241)](_0x300e12['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1b60d5+'\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'+_0x2045ef[_0x13ec78(0x1b9)][_0x13ec78(0x1ee)]['length']+_0x13ec78(0x17f));logger[_0x13ec78(0x1bc)]('Creating\x20'+_0x20e0d7+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x13ec78(0x241)](_0x20e0d7,'const\x20config='+JSON[_0x13ec78(0x20a)](_0x300e12)+_0x13ec78(0x222));if(_0xbd02a4[_0x13ec78(0x1b1)]()){logger[_0x13ec78(0x1f6)](_0x4a7037[_0x13ec78(0x1b6)]);const _0x1e4d49=await _0xbd02a4[_0x13ec78(0x1c8)](_0x300e12,_0x5079db['slice'](0x1),_0x20e0d7);logger[_0x13ec78(0x1f6)](_0x13ec78(0x219)+JSON[_0x13ec78(0x20a)](_0x1e4d49)+_0x13ec78(0x1aa));const _0x6d5aeb=await _0xbd02a4['reorderTestFiles'](_0x1e4d49);logger[_0x13ec78(0x1f6)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x13ec78(0x20a)](_0x6d5aeb)),_0x6d5aeb&&_0x4a7037[_0x13ec78(0x190)](_0x6d5aeb[_0x13ec78(0x245)],0x0)&&(process[_0x13ec78(0x26b)][_0x13ec78(0x243)]=_0x6d5aeb?.[_0x13ec78(0x175)](','));}logger[_0x13ec78(0x1bc)](_0x4a7037[_0x13ec78(0x1a7)]);testhubUtils[_0x13ec78(0x22a)]()&&TestDetails['setup']();helper[_0x13ec78(0x23a)]({},_0x5079db),PerformanceTester[_0x13ec78(0x21f)](PerformanceEvents['SDK_SETUP']);const _0x249b67=[_0x4a7037[_0x13ec78(0x225)],_0x4a7037['eXEpP'],_0x20e0d7,..._0x5079db[_0x13ec78(0x19f)](0x1)];process['env'][_0x13ec78(0x186)]=process[_0x13ec78(0x26b)][_0x13ec78(0x186)]||_0x4a7037[_0x13ec78(0x225)];const _0x57f19c=_0x4a7037[_0x13ec78(0x220)](spawn,_0x4a7037['JlJEu'],_0x249b67,{'shell':_0x4a7037[_0x13ec78(0x1d1)](process[_0x13ec78(0x256)],_0x4a7037[_0x13ec78(0x18b)]),'stdio':_0x4a7037['uvUrf'],'env':Object[_0x13ec78(0x265)]({},process[_0x13ec78(0x26b)])});_0x57f19c['on'](_0x4a7037[_0x13ec78(0x1df)],async _0x2f46c6=>{const _0xf01e27=_0x13ec78;PerformanceTester['start'](PerformanceEvents[_0xf01e27(0x206)]);try{const {browserstackFolderPath:_0x5c550b,tcgConfigPath:_0x1fb57b}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x1fb57b),fs[_0xf01e27(0x20e)](_0x5c550b);}catch(_0x1dd2f5){logger[_0xf01e27(0x1f6)](_0x4a7037[_0xf01e27(0x1c1)],_0x1dd2f5);}process[_0xf01e27(0x1f0)]=_0x2f46c6,logger[_0xf01e27(0x1f6)](_0xf01e27(0x267)+_0x2f46c6),logger[_0xf01e27(0x1bc)](_0xf01e27(0x199)+_0x20e0d7);if(helper[_0xf01e27(0x25c)](_0x24314b)&&helper[_0xf01e27(0x25c)](_0x24314b[_0xf01e27(0x1a8)])&&fs['existsSync'](_0x24314b['abortBuildOnFailure'][_0xf01e27(0x1ec)]))try{const _0x390f2a={};_0x390f2a[_0xf01e27(0x1e6)]=!![],_0x390f2a[_0xf01e27(0x184)]=!![],fs['rmSync'](_0x24314b[_0xf01e27(0x1a8)][_0xf01e27(0x1ec)],_0x390f2a),logger[_0xf01e27(0x1f6)](_0xf01e27(0x22f)+_0x24314b[_0xf01e27(0x1a8)][_0xf01e27(0x1ec)]);}catch(_0x381b67){logger['error'](_0xf01e27(0x234)+_0x381b67);}let _0x257949=null;if(fs['existsSync'](_0x1774c6)){_0x257949=fs[_0xf01e27(0x1cf)](_0x1774c6);try{_0x257949=JSON[_0xf01e27(0x26c)](_0x257949);}catch(_0x3419e){logger[_0xf01e27(0x1f6)](_0xf01e27(0x26a)+_0x1774c6+',\x20'+_0x257949+_0xf01e27(0x1b7)+_0x3419e);}fs[_0xf01e27(0x23c)](_0x1774c6);}fs[_0xf01e27(0x23c)](_0x20e0d7),fs[_0xf01e27(0x23c)](_0x14a5ad),_0x257949&&(_0x2045ef['errorMessage']=helper[_0xf01e27(0x25d)](_0x257949,_0x4a7037[_0xf01e27(0x225)],_0x2045ef));const _0x3a77db=BrowserstackCLI[_0xf01e27(0x1c0)]();try{await TestHubHandler[_0xf01e27(0x208)](),await BrowserstackCLI[_0xf01e27(0x21e)]()[_0xf01e27(0x208)]();}catch(_0x5ad899){console[_0xf01e27(0x266)](_0x5ad899),_0x4a7037['nwVkG'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x5ad899));}testOpsHelper[_0xf01e27(0x1d9)](),TestDetails['shutdown'](),await utilities[_0xf01e27(0x19b)](_0x2045ef,_0x3a77db);});}module[a18_0x28b5b9(0x1fd)]=run;function a18_0x4935(){const _0x34a747=['Vwmkw','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','isTestOrchestrationEnabled','jest-config/build/readConfigFileAndSetRootDir.js','KfcdJ','Getting\x20your\x20jest\x20configs\x20from\x20','../../helpers/test-observability/constants','OgWTU','\x20:\x20','jest.setup.js','config','customTestRunner.js','owrIR','info','isEmpty','JEST','puppeteer','isCLIEnabled','gWZGE','MODULE','2228058AMggnN','jest_browserstack_results.json','skipSessionName','BSTACK_USER_JEST_RUNNER','json','findTestFiles','CkInQ','zybMT','runInBand','prepareCapabilities','337145KadyPZ','BROWSERSTACK_CAPABILITIES','readFileSync','hiyTy','KKvkw','testRunner','playwright','jest','testObservability','browserStackLogLevel','isRunning','turboScaleUrl','printBuildLink','__isPuppeteerInstalled','data-hooks.js','skipSessionStatus','moduleNameMapper',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','BfBDA','retryTestsOnFailure','jest.config.','../../helpers/accessibility-automation/helper','498773LyoMKw','777SEBymS','cEEEl','recursive','testEnvironment','wWwPd','../../helpers/percy/utils','true','KHLAO','workingDir','test-observability','platforms','IVVpl','exitCode','eXDpg','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','IERPO','npx','jest-runner-','debug','test.setup.js','rYOcT','PACKAGE_TYPE','@jest/core','jest-config','qHtbb','exports','../v2/browserstackCLI','launchBuild','xfCPY','accessibility','__isPlaywrightInstalled','6540SDGRXh','getHubUrl','setupBrowserstackLocal','SDK_CLEANUP','false','stop','EnjVo','stringify','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','../utils/clientTroubleshootingService','QlBHi','rmdirSync','customEnvironment.js','requirePWModule','12rvPMpI','platformCaps','sScaP','VHbQP','test_before.setup.js','10PtjMGc','cFDGo','\x0a\x20\x20\x20\x20\x20\x20','Found:\x20','../../helpers/performance/constants','mjs','--config','BROWSERSTACK_TEST_OBSERVABILITY_YML','getInstance','end','eYcsx','error','\x0amodule.exports\x20=\x20config;','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','1225504oScYvz','whoZV','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','kCLBU','maxFailures','shouldProcessEventForTesthub','tVgWR','handleApp','../../helpers/testhub/testhubHandler','48RSjJQc','Deleted\x20fail-fast\x20state\x20folder:\x20','isBrowserstackInfra','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','customImplements','cwd','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','../../helpers/playwright-helper',',\x20CLI\x20running:\x20','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','Getting\x20your\x20jest\x20configs\x20from\x20package.json','tmJMp','filterBrowserstackArgs','../../helpers/BrowserStackSetup','unlinkSync','customSequencer.js','Wbype','341UhDnlr','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','writeFileSync','parallels__','JEST_TEST_ORDER','parallelsPerPlatform','length','hauOT','1902RsQFst','CprAV','../../helpers/logger','useW3C','requireSeleniumWebdriver','customCircus.js','kWDMn','format','EVENTS','tdFlp','serial__','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nwVkG','reporters','setupFilesAfterEnv','platform','browserStackPercyOptions','ddtOI','jest-circus','logLevel','failureThresholdCount','isNotUndefined','getErrorMessageFromResults','proxySettings','sXQap','initialize','../../helpers/test-orchestration/testOrchestrationHandler','getPackageType','QfohG','error\x20removing\x20tcg\x20config\x20file','assign','log','child\x20process\x20exited\x20with\x20code\x20','bATQZ','./test-observability/test-details','Error\x20while\x20parsing\x20','env','parse','puppeteer-core/package.json','package.json','isUndefined','1256248FZWlyO','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','join','VKtzI','maxRetries','@playwright/test','path','failFast','ACJrK','@jest/core/build/ReporterDispatcher.js','testContextOptions','Puppeteer\x20setup\x20error:\x20',';\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','testTimeout','jest-circus/build/runner.js','getPackageVersion','csseI','force','push','BROWSERSTACK_FRAMEWORK','resolve','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','maxWorkers','XFEyV','RRjYR','util','../../helpers/utilities','USER_CONFIG_DETAILS_PATH','runner','gLqBC','qSdBi','setupFiles','BfPMS','JxJlM','cbpFr','wKYpb',';\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','message','Deleting\x20','../../helpers/performance/performance-tester','finalExecution','findIndex','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','win32','slice','bTBXv','../../helpers/test-observability/utils','apply','^puppeteer-core/internal/(.*)','default','\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','testEnvironmentOptions','OxFXh','abortBuildOnFailure','BSTACK_JEST_TEST_ENV','\x20test\x20files\x20to\x20run.','parseTestOrchestrationOptions','../../helpers/helper','requireModule','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found'];a18_0x4935=function(){return _0x34a747;};return a18_0x4935();}
2
+ 'use strict';const a18_0x3c5ac0=a18_0x2585;(function(_0x255e7f,_0x34d3fc){const _0x4f1468=a18_0x2585,_0x2ea690=_0x255e7f();while(!![]){try{const _0x14b3d7=-parseInt(_0x4f1468(0x129))/0x1+parseInt(_0x4f1468(0x1a0))/0x2+parseInt(_0x4f1468(0x19a))/0x3*(parseInt(_0x4f1468(0x141))/0x4)+-parseInt(_0x4f1468(0xd8))/0x5*(parseInt(_0x4f1468(0x1b9))/0x6)+parseInt(_0x4f1468(0x105))/0x7*(-parseInt(_0x4f1468(0x126))/0x8)+parseInt(_0x4f1468(0x119))/0x9*(parseInt(_0x4f1468(0x185))/0xa)+parseInt(_0x4f1468(0x17e))/0xb;if(_0x14b3d7===_0x34d3fc)break;else _0x2ea690['push'](_0x2ea690['shift']());}catch(_0x3344cd){_0x2ea690['push'](_0x2ea690['shift']());}}}(a18_0x3c9b,0x86fec));function a18_0x2585(_0x278ca4,_0xee9ae7){const _0x3c9be4=a18_0x3c9b();return a18_0x2585=function(_0x258574,_0x37328f){_0x258574=_0x258574-0xcc;let _0x46ad21=_0x3c9be4[_0x258574];return _0x46ad21;},a18_0x2585(_0x278ca4,_0xee9ae7);}const fs=require('fs'),path=require(a18_0x3c5ac0(0x135)),util=require(a18_0x3c5ac0(0x19f)),{spawn}=require(a18_0x3c5ac0(0x184)),logger=require(a18_0x3c5ac0(0xcf))[a18_0x3c5ac0(0xdb)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a18_0x3c5ac0(0x17c)),constants=require(a18_0x3c5ac0(0xe8)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a18_0x3c5ac0(0xf4)),testOpsHelper=require(a18_0x3c5ac0(0xd9)),{debug}=require(a18_0x3c5ac0(0xd9)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a18_0x3c5ac0(0x1b1)),testhubUtils=require(a18_0x3c5ac0(0x164)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x3c5ac0(0xf1)),PerformanceEvents=require(a18_0x3c5ac0(0x101))[a18_0x3c5ac0(0x13b)],TestOrchestrationHandler=require(a18_0x3c5ac0(0x186)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x3c5ac0(0x138)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0xdd1108,_0x6e4f14)=>{const _0x1d7690=a18_0x3c5ac0,_0x4acfce={'Cxabs':'jest-config/build/readConfigFileAndSetRootDir.js','zvAKA':_0x1d7690(0x131),'KBzbv':function(_0x4eec58,_0x4b1fbd){return _0x4eec58||_0x4b1fbd;},'nXbaY':function(_0x1d2024,_0x395bfb){return _0x1d2024(_0x395bfb);},'ZLgwG':_0x1d7690(0xcc),'vLLgH':_0x1d7690(0x13a),'zPjoy':_0x1d7690(0x102),'Rmhpu':_0x1d7690(0x1a3),'npJTF':_0x1d7690(0xe1)};let _0xc13890;try{_0xc13890=helper[_0x1d7690(0x190)](_0x4acfce[_0x1d7690(0xde)],_0x4acfce[_0x1d7690(0x133)]);}catch{const _0x3dbee3=helper[_0x1d7690(0x190)](_0x4acfce[_0x1d7690(0x133)]);_0xc13890={'default':async _0x20bc23=>{const _0x3cf5d5=_0x1d7690,_0x5eae53=await _0x3dbee3[_0x3cf5d5(0x10e)](_0x20bc23,{});return _0x5eae53[_0x3cf5d5(0x14d)];}};}const _0x3183fd=_0x6e4f14[_0x1d7690(0x11b)](_0x377b37=>_0x377b37==='--config');if(!helper[_0x1d7690(0xe7)](_0xdd1108[_0x1d7690(0x14d)])){logger['info'](_0x1d7690(0xf6)+_0xdd1108[_0x1d7690(0x14d)]),process[_0x1d7690(0x1a7)][_0x1d7690(0x151)]=_0xdd1108['config'];const _0x1e0a1b=await(0x0,_0xc13890['default'])(path[_0x1d7690(0x165)](_0xdd1108[_0x1d7690(0x14d)]));return _0x6e4f14[_0x1d7690(0x1c5)](_0x3183fd,0x2),_0x4acfce[_0x1d7690(0xda)](_0x1e0a1b,{});}const _0x2f4e35=_0x4acfce[_0x1d7690(0x11c)](require,path['join'](process[_0x1d7690(0x11d)](),_0x4acfce['ZLgwG']));if(_0x2f4e35[_0x1d7690(0x161)])return logger[_0x1d7690(0x1bb)](_0x4acfce[_0x1d7690(0xfd)]),_0x2f4e35['jest'];const _0x5dbfed=['js',_0x4acfce[_0x1d7690(0x13d)],_0x4acfce[_0x1d7690(0x11f)],_0x4acfce['npJTF'],'ts'];for(const _0x5f120e of _0x5dbfed){const _0x593769=path[_0x1d7690(0xeb)](process[_0x1d7690(0x11d)](),_0x1d7690(0x168)+_0x5f120e);if(fs[_0x1d7690(0x110)](_0x593769)){process[_0x1d7690(0x1a7)]['USER_CONFIG_DETAILS_PATH']=_0x593769;const _0x30a43b=await(0x0,_0xc13890[_0x1d7690(0x143)])(_0x593769);return _0x30a43b;}}return{};},getSerial=(_0x4ea88e,_0x52575f)=>{const _0x115ed6=a18_0x3c5ac0,_0x13ab9f={};_0x13ab9f[_0x115ed6(0x103)]=_0x115ed6(0x19b),_0x13ab9f[_0x115ed6(0x154)]=function(_0x1f4f3e,_0x3e927b){return _0x1f4f3e>_0x3e927b;},_0x13ab9f['XeWek']=function(_0x25bfcc,_0x499e05){return _0x25bfcc>_0x499e05;},_0x13ab9f['ijMvR']=_0x115ed6(0x19c);const _0x24d8b5=_0x13ab9f;let _0xdfd103=_0x24d8b5['RaYbH'];return _0x24d8b5[_0x115ed6(0x154)](_0x4ea88e[_0x115ed6(0xd3)],0x1)&&(!_0x52575f[_0x115ed6(0x1c6)]&&(helper[_0x115ed6(0xe7)](_0x52575f[_0x115ed6(0x160)])||_0x24d8b5[_0x115ed6(0x14b)](_0x52575f[_0x115ed6(0x160)],0x1)))&&(_0xdfd103=_0x24d8b5[_0x115ed6(0x1a9)]),_0xdfd103;},getMaxWorkers=(_0x1114e8,_0x5a51ec,_0x19b125)=>{const _0x5e492a=a18_0x3c5ac0,_0x2b84da={'JxEUt':function(_0x519876,_0x5ced28){return _0x519876(_0x5ced28);}};let _0x395e9a=0x1;if(!helper[_0x5e492a(0xe7)](_0x5a51ec['parallelsPerPlatform']))_0x395e9a=_0x2b84da['JxEUt'](parseInt,_0x5a51ec[_0x5e492a(0x1c8)]);else{if(!helper[_0x5e492a(0xe7)](_0x1114e8['maxWorkers']))_0x395e9a=_0x1114e8[_0x5e492a(0x160)];else!helper[_0x5e492a(0xe7)](_0x19b125[_0x5e492a(0x160)])&&(_0x395e9a=_0x19b125[_0x5e492a(0x160)]);}return _0x395e9a;};async function run(_0x231e0b,_0xf17d9d,_0x2ce5ec){const _0x175b4c=a18_0x3c5ac0,_0x37b4c8={'KfhIq':'error\x20removing\x20tcg\x20config\x20file','Exwfm':_0x175b4c(0x161),'bAhmn':function(_0x1d0d30,_0x135cb8){return _0x1d0d30(_0x135cb8);},'eOSTd':'@playwright/test','DgTjc':function(_0x4d27ef){return _0x4d27ef();},'XatJN':function(_0x35553c,_0xf89e59,_0x4f731a,_0x9a0ce4){return _0x35553c(_0xf89e59,_0x4f731a,_0x9a0ce4);},'zzbtw':function(_0x5ca547,_0x420328){return _0x5ca547!=_0x420328;},'NAPva':'true','oeNrC':function(_0x5dd398,_0x28bd9e,_0x1a2f36){return _0x5dd398(_0x28bd9e,_0x1a2f36);},'eIOhv':_0x175b4c(0x155),'FvXkQ':'false','cnffQ':function(_0x416e46,_0x34aa96,_0x180f10){return _0x416e46(_0x34aa96,_0x180f10);},'WJhjW':function(_0x12e875,_0x104b3b){return _0x12e875*_0x104b3b;},'oKUmy':function(_0x3f795c,_0x41d725){return _0x3f795c===_0x41d725;},'yWIId':'jest_browserstack.config.cjs','IthDA':_0x175b4c(0x17a),'jLgcf':'customImplements','gdeTR':_0x175b4c(0xe4),'qWVAB':'customTestRunner.js','YcMog':'customTestRunnerTemplate.js','jtTBY':_0x175b4c(0x13c),'DOqNQ':function(_0x236ad6,_0x33d737){return _0x236ad6!==_0x33d737;},'PdcsE':_0x175b4c(0x1ae),'KtCuX':'jest-runner-','dujkT':_0x175b4c(0x134),'QOUCb':'customSequencer.js','knVoK':_0x175b4c(0x127),'QDWZl':'jest-circus','htxht':_0x175b4c(0x162),'iwKGT':function(_0x1435a3,_0x19a779){return _0x1435a3(_0x19a779);},'rPaYm':_0x175b4c(0x106),'egaOh':_0x175b4c(0x1c0),'kNSOx':_0x175b4c(0x15f),'AniAt':_0x175b4c(0xec),'oAUuU':_0x175b4c(0xee),'kgRhX':'playwright','uoKhs':_0x175b4c(0x1c1),'uezsS':_0x175b4c(0x1b6),'glLQS':_0x175b4c(0x1b7),'kOaOE':function(_0x5eb852,_0x4455c2){return _0x5eb852&&_0x4455c2;},'vYGHM':_0x175b4c(0x16e),'OVPBY':_0x175b4c(0x10f),'jBeSl':_0x175b4c(0x11e),'YBTJT':_0x175b4c(0x143),'MpQvp':function(_0x248bae,_0x3bd815,_0xc5acef){return _0x248bae(_0x3bd815,_0xc5acef);},'dnAwt':_0x175b4c(0x178),'AulrG':_0x175b4c(0x199),'HlKTj':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','TAyrn':function(_0x4fe5cc,_0x2e5254){return _0x4fe5cc>_0x2e5254;},'TBWVT':_0x175b4c(0x170),'qvVJr':_0x175b4c(0x183),'CSgaw':function(_0x237fb2,_0x52e443,_0x253fe6,_0x14fe58){return _0x237fb2(_0x52e443,_0x253fe6,_0x14fe58);},'QgCwa':'npx','HyJrk':function(_0x4f16b6,_0x314c27){return _0x4f16b6===_0x314c27;},'iiWRD':'win32','bFdTN':_0x175b4c(0x1a2),'tQEWY':_0x175b4c(0xff)},_0x2c5c4b=helper[_0x175b4c(0x146)](_0x37b4c8[_0x175b4c(0x130)]);global[_0x175b4c(0x181)]=!!_0x2c5c4b;const _0x1e9f60=_0x37b4c8[_0x175b4c(0x14a)](getPuppeteerVersion);global[_0x175b4c(0x19d)]=!!_0x1e9f60;helper[_0x175b4c(0x1c9)]()?(await _0x2ce5ec[_0x175b4c(0x172)](_0x231e0b),await helper[_0x175b4c(0x1b3)](_0x2ce5ec[_0x175b4c(0x14d)])):await _0x2ce5ec[_0x175b4c(0x166)]();if(_0x2c5c4b)await _0x37b4c8[_0x175b4c(0xdd)](checkPwandBootstrapCli,_0x2c5c4b,constants[_0x175b4c(0x111)]['JEST'],_0x2ce5ec);else _0x1e9f60&&await _0x37b4c8[_0x175b4c(0xdd)](checkPuppeteerAndBootstrapCli,_0x1e9f60,constants[_0x175b4c(0x111)][_0x175b4c(0x128)],_0x2ce5ec);!BrowserstackCLI['getInstance']()[_0x175b4c(0x1a8)]()&&await _0x2ce5ec['setupBrowserstackLocal']();if(!_0x2ce5ec[_0x175b4c(0x14d)])return;_0x37b4c8[_0x175b4c(0xcd)](_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x13e)],null)?process[_0x175b4c(0x1a7)][_0x175b4c(0x16f)]=_0x2ce5ec[_0x175b4c(0x14d)]['testObservability']:process[_0x175b4c(0x1a7)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37b4c8['NAPva'];const _0x427ae7=new TestOrchestrationHandler(_0x2ce5ec[_0x175b4c(0x14d)]),_0x418fc6=await _0x37b4c8['oeNrC'](getUserJestConfigs,_0x231e0b,_0xf17d9d);logger[_0x175b4c(0x1bb)](_0x37b4c8[_0x175b4c(0xe0)]);const _0xcaef3e=Object[_0x175b4c(0x191)]({},_0x418fc6);_0xcaef3e[_0x175b4c(0x18d)]=Object[_0x175b4c(0x191)]({},_0xcaef3e[_0x175b4c(0x18d)],{'server':helper[_0x175b4c(0x1ab)](_0x2ce5ec['config']),'environment':_0x418fc6[_0x175b4c(0x114)]}),_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x156)]=_0x37b4c8['bAhmn'](getPercyOptions,_0x2ce5ec[_0x175b4c(0x14d)]);const _0x5ee4f0=helper[_0x175b4c(0x12c)](_0x2ce5ec[_0x175b4c(0x14d)]);!helper[_0x175b4c(0xe7)](_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0xe5)])&&(process[_0x175b4c(0x1a7)][_0x175b4c(0xd1)]=JSON[_0x175b4c(0xe2)](_0x2ce5ec[_0x175b4c(0x14d)]['accessibilityOptions']));if(!BrowserstackCLI[_0x175b4c(0x120)]()[_0x175b4c(0x1a8)]()){const _0x3acc5e=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x175b4c(0x128)],_0x2ce5ec);}const _0x2601b1=helper[_0x175b4c(0xf5)](_0x2ce5ec[_0x175b4c(0x14d)],_0x5ee4f0,constants[_0x175b4c(0x111)][_0x175b4c(0x128)]);process[_0x175b4c(0x1a7)][_0x175b4c(0x10d)]=JSON['stringify'](_0x2601b1);let _0x1ce57b=_0x2ce5ec['config'][_0x175b4c(0x188)];_0x1ce57b=_0x1ce57b||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x2ce5ec['config']),process['env'][_0x175b4c(0x1bd)]=_0x1ce57b,logger['debug'](_0x175b4c(0x177)+_0x1ce57b+_0x175b4c(0xd5)+BrowserstackCLI[_0x175b4c(0x120)]()['isRunning']());if(_0x2c5c4b)try{const _0x54d7f2=_0x37b4c8[_0x175b4c(0xfb)](checkAccessibilityPlatformConfig,_0x2ce5ec[_0x175b4c(0x14d)]);process[_0x175b4c(0x1a7)][_0x175b4c(0x125)]=_0x54d7f2?_0x37b4c8[_0x175b4c(0x153)]:_0x37b4c8[_0x175b4c(0x176)],logger[_0x175b4c(0x1ad)](_0x175b4c(0x18a)+_0x54d7f2+_0x175b4c(0x1be)+process[_0x175b4c(0x1a7)][_0x175b4c(0x125)]);}catch(_0x100ab4){logger['debug'](_0x175b4c(0x15d)+util[_0x175b4c(0xd2)](_0x100ab4));}_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x18c)]=_0x2601b1,_0xcaef3e['testEnvironmentOptions']['serial__']=_0x37b4c8[_0x175b4c(0x180)](getSerial,_0x2601b1,_0x231e0b),_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x148)]=_0x37b4c8[_0x175b4c(0xdd)](getMaxWorkers,_0x231e0b,_0x2ce5ec[_0x175b4c(0x14d)],_0x418fc6),_0xcaef3e['testEnvironmentOptions'][_0x175b4c(0x14e)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x14e)],_0xcaef3e[_0x175b4c(0x18d)]['timeout__']=_0x37b4c8[_0x175b4c(0x1a6)](_0x231e0b['testTimeout'],0x1)||0x1388,_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0xf0)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x157)][_0x175b4c(0xf0)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x17f)]=_0x2ce5ec['config'][_0x175b4c(0x157)][_0x175b4c(0x17f)],_0xcaef3e[_0x175b4c(0x18d)]['browserStackLogLevel']=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x104)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x1bc)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x1bc)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x10a)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x112)];const _0x286ad1=helper['parseTestOrchestrationOptions'](_0x2ce5ec['config']);if(!helper['isEmpty'](_0x286ad1)){helper['isNotUndefined'](_0x286ad1[_0x175b4c(0x182)])&&(_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0xd4)]=_0x286ad1[_0x175b4c(0x182)][_0x175b4c(0x15b)]);if(helper[_0x175b4c(0xd7)](_0x286ad1[_0x175b4c(0x147)])&&helper['isNotUndefined'](_0x286ad1[_0x175b4c(0x147)][_0x175b4c(0x1a4)])){const _0x19b30e={};_0x19b30e[_0x175b4c(0x12a)]=_0x286ad1['abortBuildOnFailure']['maxFailures'],_0x19b30e[_0x175b4c(0x1a4)]=_0x286ad1[_0x175b4c(0x147)][_0x175b4c(0x1a4)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x121)]=_0x19b30e;}}let _0x59c30e='';_0x37b4c8[_0x175b4c(0x115)](helper['getPackageType'](),constants[_0x175b4c(0x1c4)][_0x175b4c(0x1ac)])?_0x59c30e=_0x37b4c8[_0x175b4c(0x122)]:_0x59c30e=_0x37b4c8[_0x175b4c(0xd0)];const _0x185eae=_0x59c30e,_0x3a9548=path['join'](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x189)]),_0x48f1ef=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8['qWVAB']),_0x2ee751=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8['YcMog']);_0xcaef3e['testEnvironment']&&(process['env']['BSTACK_JEST_TEST_ENV']=_0xcaef3e[_0x175b4c(0x114)]);_0xcaef3e[_0x175b4c(0x114)]=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x109)]);const _0x19c8c9=_0x418fc6[_0x175b4c(0x124)];if(_0x19c8c9&&_0x37b4c8['DOqNQ'](_0x19c8c9,_0x37b4c8[_0x175b4c(0x1c3)])){const _0x19dcb4=_0x19c8c9[_0x175b4c(0x12e)](_0x37b4c8[_0x175b4c(0xea)])?_0x19c8c9:'jest-runner-'+_0x19c8c9;process[_0x175b4c(0x1a7)][_0x175b4c(0x108)]=_0x19dcb4,logger[_0x175b4c(0x1bb)](_0x175b4c(0x17b)+_0x19dcb4);}_0xcaef3e[_0x175b4c(0x124)]=_0x48f1ef,_0xcaef3e[_0x175b4c(0x1b4)]=_0xcaef3e[_0x175b4c(0x1b4)]||[],_0xcaef3e['setupFilesAfterEnv'][_0x175b4c(0x139)](path['join'](__dirname,_0x37b4c8[_0x175b4c(0xe9)]));_0x427ae7[_0x175b4c(0x113)]()&&(_0xcaef3e['testSequencer']=path['join'](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x163)]));if(testhubUtils[_0x175b4c(0x132)]()||BrowserstackCLI[_0x175b4c(0x120)]()['isCliEnabled']()){let _0x201c6e=null;try{_0x201c6e=helper[_0x175b4c(0x190)](_0x37b4c8[_0x175b4c(0x19e)],_0x37b4c8[_0x175b4c(0x152)]);}catch(_0x4e20f4){try{_0x201c6e=helper['requireModule'](_0x37b4c8[_0x175b4c(0x16a)],_0x37b4c8[_0x175b4c(0x152)]);}catch(_0x3b79fb){_0x37b4c8[_0x175b4c(0x173)](debug,_0x175b4c(0xef)+_0x3b79fb);}}_0x201c6e&&(testhubUtils[_0x175b4c(0x132)]()&&_0xcaef3e[_0x175b4c(0x1b4)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0xed)],_0x37b4c8['egaOh'])),_0xcaef3e[_0x175b4c(0x1bf)]=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x16b)]));}_0xcaef3e['setupFiles']=_0xcaef3e[_0x175b4c(0x137)]||[];try{helper[_0x175b4c(0x100)](),_0xcaef3e['setupFiles'][_0x175b4c(0x139)](path['join'](__dirname,_0x37b4c8[_0x175b4c(0x18f)]));}catch{logger[_0x175b4c(0x1ad)](_0x37b4c8['oAUuU']);}try{helper['requirePWModule'][_0x175b4c(0x150)](null,[_0x37b4c8['eOSTd'],_0x37b4c8[_0x175b4c(0x136)]]),logger['debug'](_0x37b4c8['uoKhs']),_0xcaef3e[_0x175b4c(0x137)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,_0x37b4c8['uezsS']));}catch(_0x5ac62b){logger[_0x175b4c(0x1ad)](_0x37b4c8[_0x175b4c(0x149)],_0x5ac62b);}if(_0x37b4c8[_0x175b4c(0x1ba)](!_0x2c5c4b,_0x1e9f60)){try{logger['debug'](_0x37b4c8['vYGHM']),_0xcaef3e[_0x175b4c(0x137)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,'..',_0x37b4c8[_0x175b4c(0xe6)],_0x37b4c8['uezsS']));}catch(_0x39d148){logger[_0x175b4c(0x1ad)]('Puppeteer\x20setup\x20error:\x20'+_0x39d148[_0x175b4c(0x18b)]);}try{const _0x4677cf=require[_0x175b4c(0x165)](_0x37b4c8[_0x175b4c(0xce)]),_0x1ad498=path['dirname'](_0x4677cf)[_0x175b4c(0xdc)](/\\/g,'/'),_0x283b87={};_0x283b87['^puppeteer-core/internal/(.*)']=_0x1ad498+_0x175b4c(0x174),_0xcaef3e['moduleNameMapper']=Object[_0x175b4c(0x191)]({},_0xcaef3e['moduleNameMapper']||{},_0x283b87),logger[_0x175b4c(0x1ad)](_0x175b4c(0x16c)+_0x1ad498);}catch(_0x2c948b){logger[_0x175b4c(0x1ad)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x2c948b[_0x175b4c(0x18b)]);}}_0xcaef3e[_0x175b4c(0x18e)]=_0xcaef3e[_0x175b4c(0x18e)]||[_0x37b4c8[_0x175b4c(0x12b)]],_0x37b4c8[_0x175b4c(0x1a5)](updateTestRerunConfig,_0xcaef3e,_0x2ce5ec);const _0x1ad648=fs[_0x175b4c(0x192)](_0x2ee751),_0x7ed419=helper[_0x175b4c(0xfa)](_0x37b4c8[_0x175b4c(0x159)],_0x37b4c8[_0x175b4c(0x169)]);!_0x7ed419[_0x175b4c(0x12f)]?fs[_0x175b4c(0xd6)](_0xcaef3e[_0x175b4c(0x124)],_0x175b4c(0x15e)+_0x1ad648+'\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'+_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x112)][_0x175b4c(0xd3)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs['writeFileSync'](_0xcaef3e[_0x175b4c(0x124)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1ad648+_0x175b4c(0x145)+_0x2ce5ec[_0x175b4c(0x14d)]['platforms'][_0x175b4c(0xd3)]+';\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');logger[_0x175b4c(0x1bb)](_0x175b4c(0x198)+_0x185eae+_0x175b4c(0x194)),fs['writeFileSync'](_0x185eae,_0x175b4c(0x158)+JSON['stringify'](_0xcaef3e)+_0x175b4c(0x193));if(_0x427ae7[_0x175b4c(0x113)]()){logger[_0x175b4c(0x1ad)](_0x37b4c8[_0x175b4c(0xf9)]);const _0x1b8e83=await _0x427ae7['findTestFiles'](_0xcaef3e,_0xf17d9d['slice'](0x1),_0x185eae);logger[_0x175b4c(0x1ad)](_0x175b4c(0x179)+JSON[_0x175b4c(0xe2)](_0x1b8e83)+_0x175b4c(0x123));const _0x3dcd15=await _0x427ae7[_0x175b4c(0x11a)](_0x1b8e83);logger['debug'](_0x175b4c(0x1aa)+JSON['stringify'](_0x3dcd15)),_0x3dcd15&&_0x37b4c8[_0x175b4c(0x1a1)](_0x3dcd15['length'],0x0)&&(process[_0x175b4c(0x1a7)][_0x175b4c(0xfe)]=_0x3dcd15?.['join'](','));}logger[_0x175b4c(0x1bb)](_0x37b4c8[_0x175b4c(0x1c2)]);testhubUtils[_0x175b4c(0x132)]()&&TestDetails[_0x175b4c(0x16d)]();helper[_0x175b4c(0x142)]({},_0xf17d9d),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x227f7b=[_0x37b4c8[_0x175b4c(0x187)],_0x37b4c8[_0x175b4c(0x140)],_0x185eae,..._0xf17d9d[_0x175b4c(0x12d)](0x1)];process['env'][_0x175b4c(0x107)]=process[_0x175b4c(0x1a7)]['BROWSERSTACK_FRAMEWORK']||_0x37b4c8[_0x175b4c(0x187)];const _0x45898b=_0x37b4c8[_0x175b4c(0x10b)](spawn,_0x37b4c8[_0x175b4c(0x1c7)],_0x227f7b,{'shell':_0x37b4c8[_0x175b4c(0x1b5)](process[_0x175b4c(0x15a)],_0x37b4c8[_0x175b4c(0x196)]),'stdio':_0x37b4c8[_0x175b4c(0x1af)],'env':Object[_0x175b4c(0x191)]({},process[_0x175b4c(0x1a7)])});_0x45898b['on'](_0x37b4c8[_0x175b4c(0x13f)],async _0x3adbac=>{const _0x45b87e=_0x175b4c;PerformanceTester[_0x45b87e(0x175)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0xb2dd1b,tcgConfigPath:_0x3475eb}=helper[_0x45b87e(0x118)]();fs[_0x45b87e(0x10c)](_0x3475eb),fs[_0x45b87e(0x117)](_0xb2dd1b);}catch(_0x1eb1e4){logger[_0x45b87e(0x1ad)](_0x37b4c8[_0x45b87e(0x14f)],_0x1eb1e4);}process[_0x45b87e(0xf7)]=_0x3adbac,logger[_0x45b87e(0x1ad)](_0x45b87e(0xdf)+_0x3adbac),logger[_0x45b87e(0x1bb)]('Deleting\x20'+_0x185eae);if(helper['isNotUndefined'](_0x286ad1)&&helper[_0x45b87e(0xd7)](_0x286ad1[_0x45b87e(0x147)])&&fs[_0x45b87e(0x110)](_0x286ad1['abortBuildOnFailure'][_0x45b87e(0x1a4)]))try{const _0xc0ce27={};_0xc0ce27[_0x45b87e(0x195)]=!![],_0xc0ce27[_0x45b87e(0x14c)]=!![],fs[_0x45b87e(0x144)](_0x286ad1[_0x45b87e(0x147)][_0x45b87e(0x1a4)],_0xc0ce27),logger[_0x45b87e(0x1ad)](_0x45b87e(0x15c)+_0x286ad1[_0x45b87e(0x147)][_0x45b87e(0x1a4)]);}catch(_0x481360){logger[_0x45b87e(0x12f)](_0x45b87e(0xfc)+_0x481360);}let _0x129913=null;if(fs[_0x45b87e(0x110)](_0x3a9548)){_0x129913=fs[_0x45b87e(0x192)](_0x3a9548);try{_0x129913=JSON[_0x45b87e(0xf2)](_0x129913);}catch(_0x56a68a){logger[_0x45b87e(0x1ad)](_0x45b87e(0xf3)+_0x3a9548+',\x20'+_0x129913+_0x45b87e(0x1b8)+_0x56a68a);}fs[_0x45b87e(0x10c)](_0x3a9548);}fs['unlinkSync'](_0x185eae),fs[_0x45b87e(0x10c)](_0x48f1ef),_0x129913&&(_0x2ce5ec['errorMessage']=helper[_0x45b87e(0xf8)](_0x129913,_0x37b4c8[_0x45b87e(0x187)],_0x2ce5ec));const _0x2f4eb0=BrowserstackCLI[_0x45b87e(0xe3)]();try{await TestHubHandler[_0x45b87e(0x116)](),await BrowserstackCLI[_0x45b87e(0x120)]()[_0x45b87e(0x116)]();}catch(_0x4317d0){console[_0x45b87e(0x197)](_0x4317d0),_0x37b4c8['bAhmn'](debug,_0x45b87e(0x17d)+util['format'](_0x4317d0));}testOpsHelper['printBuildLink'](),TestDetails[_0x45b87e(0x167)](),await utilities[_0x45b87e(0x171)](_0x2ce5ec,_0x2f4eb0);});}module[a18_0x3c5ac0(0x1b2)]=run;function a18_0x3c9b(){const _0x572939=['BSTACK_USER_JEST_RUNNER','jtTBY','platformCaps','CSgaw','unlinkSync','BROWSERSTACK_CAPABILITIES','readInitialOptions','puppeteer','existsSync','FRAMEWORKS','platforms','isTestOrchestrationEnabled','testEnvironment','oKUmy','stop','rmdirSync','getTCGConfigFilePaths','2302533vYiyrh','reorderTestFiles','findIndex','nXbaY','cwd','puppeteer-core/package.json','Rmhpu','getInstance','failFast','yWIId','\x20test\x20files\x20to\x20run.','runner','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','2024YbCSDp','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','JEST','202059ShdoqN','failureThresholdCount','YBTJT','useW3C','slice','startsWith','error','eOSTd','jest-config','shouldProcessEventForTesthub','zvAKA','jest.setup.js','path','kgRhX','setupFiles','../../helpers/puppeteer-helper','push','Getting\x20your\x20jest\x20configs\x20from\x20package.json','EVENTS','customEnvironment.js','zPjoy','testObservability','tQEWY','qvVJr','360bKQzdg','filterBrowserstackArgs','default','rmSync','\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','getPackageVersion','abortBuildOnFailure','parallels__','glLQS','DgTjc','XeWek','force','config','proxySettings','KfhIq','apply','USER_CONFIG_DETAILS_PATH','QDWZl','NAPva','gwLbD','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','browserStackPercyOptions','testContextOptions','const\x20config=','dnAwt','platform','maxRetries','Deleted\x20fail-fast\x20state\x20folder:\x20','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','\x0a\x20\x20\x20\x20\x20\x20','customCircus.js','maxWorkers','jest','jest-circus/build/runner.js','QOUCb','../../helpers/testhub/utils','resolve','setupTCGAuth','shutdown','jest.config.','AulrG','htxht','kNSOx','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','setup','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','BROWSERSTACK_TEST_OBSERVABILITY_YML','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','finalExecution','initialize','iwKGT','/internal/$1','start','FvXkQ','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','@jest/core/build/ReporterDispatcher.js','Found:\x20','jest_browserstack.config.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','../../helpers/utilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','7084374DKTpUT','skipSessionStatus','cnffQ','__isPlaywrightInstalled','retryTestsOnFailure','--config','child_process','40cFyFfl','../../helpers/test-orchestration/testOrchestrationHandler','Exwfm','accessibility','gdeTR','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','message','capabilities','testEnvironmentOptions','reporters','AniAt','requireModule','assign','readFileSync','\x0amodule.exports\x20=\x20config;','\x20with\x20browserstack\x20jest\x20configs','recursive','iiWRD','log','Creating\x20','@jest/core','13887hpnZaA','true','false','__isPuppeteerInstalled','knVoK','util','788668dFiFJb','TAyrn','inherit','cjs','workingDir','MpQvp','WJhjW','env','isRunning','ijMvR','Reodered\x20Test\x20Files:\x20','getHubUrl','MODULE','debug','jest-runner','bFdTN','jLgcf','../../helpers/testhub/testhubHandler','exports','handleApp','setupFilesAfterEnv','HyJrk','test.setup.js','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','\x20:\x20','6456918PrrztU','kOaOE','info','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_YML',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','testRunner','data-hooks.js','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TBWVT','PdcsE','PACKAGE_TYPE','splice','runInBand','QgCwa','parallelsPerPlatform','isBrowserstackInfra','package.json','zzbtw','jBeSl','../../helpers/logger','IthDA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','length','retries__',',\x20CLI\x20running:\x20','writeFileSync','isNotUndefined','5rvgWMx','../../helpers/test-observability/utils','KBzbv','winstonLogger','replace','XatJN','Cxabs','child\x20process\x20exited\x20with\x20code\x20','eIOhv','json','stringify','isCLIEnabled','jest_browserstack_results.json','accessibilityOptions','OVPBY','isUndefined','../utils/constants','dujkT','KtCuX','join','test_before.setup.js','rPaYm','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Unable\x20to\x20find\x20jest-circus,\x20','skipSessionName','../../helpers/performance/performance-tester','parse','Error\x20while\x20parsing\x20','./test-observability/helper','prepareCapabilities','Getting\x20your\x20jest\x20configs\x20from\x20','exitCode','getErrorMessageFromResults','HlKTj','resolveModule','bAhmn','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','vLLgH','JEST_TEST_ORDER','close','requireSeleniumWebdriver','../../helpers/performance/constants','mjs','RaYbH','logLevel','17906UmYuKl','test-observability','BROWSERSTACK_FRAMEWORK'];a18_0x3c9b=function(){return _0x572939;};return a18_0x3c9b();}
@@ -1 +1 @@
1
- const a19_0x522267=a19_0x393d;function a19_0x1311(){const _0x8d01b8=['jest-circus','XGCbB','join','623676kWXDHM','jest-circus/build/runner.js','6205275ZoHBbj','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','default','73464gpdAwT','637606gHFlBU','jestAdapterInit','customJestAdapterInit.js','1185928yMAolg','exports','../../../helpers/helper','14805730SiHqRK','21rLHjMy','requireInternalModule','DyoKJ','30KOoaBa','1262052Nvnblu','5qpOYMK','initRequireModule'];a19_0x1311=function(){return _0x8d01b8;};return a19_0x1311();}(function(_0x44d726,_0x3b7210){const _0xde21d9=a19_0x393d,_0x40a706=_0x44d726();while(!![]){try{const _0x2df024=-parseInt(_0xde21d9(0x1d2))/0x1+parseInt(_0xde21d9(0x1d1))/0x2*(-parseInt(_0xde21d9(0x1dc))/0x3)+-parseInt(_0xde21d9(0x1e3))/0x4*(parseInt(_0xde21d9(0x1de))/0x5)+-parseInt(_0xde21d9(0x1dd))/0x6+parseInt(_0xde21d9(0x1d9))/0x7*(-parseInt(_0xde21d9(0x1d5))/0x8)+parseInt(_0xde21d9(0x1e5))/0x9+parseInt(_0xde21d9(0x1d8))/0xa;if(_0x2df024===_0x3b7210)break;else _0x40a706['push'](_0x40a706['shift']());}catch(_0x5ed857){_0x40a706['push'](_0x40a706['shift']());}}}(a19_0x1311,0x5675a));const path=require('path'),{requireModule}=require(a19_0x522267(0x1d7));let initJestAdapter;try{initJestAdapter=requireModule(a19_0x522267(0x1e6),a19_0x522267(0x1e0));}catch{initJestAdapter=requireModule(a19_0x522267(0x1e4),a19_0x522267(0x1e0));}function a19_0x393d(_0x1a0e9b,_0x193ad7){const _0x131197=a19_0x1311();return a19_0x393d=function(_0x393def,_0xecf3b5){_0x393def=_0x393def-0x1d0;let _0x57a129=_0x131197[_0x393def];return _0x57a129;},a19_0x393d(_0x1a0e9b,_0x193ad7);}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a19_0x522267(0x1d0)];const FRAMEWORK_INITIALIZER=path[a19_0x522267(0x1e2)](__dirname,a19_0x522267(0x1d4));module[a19_0x522267(0x1d6)]=(..._0x577e6a)=>{const _0x115177=a19_0x522267,_0xbc3283={'TlKsd':_0x115177(0x1d3),'DyoKJ':function(_0x1df699,_0x41f5a0){return _0x1df699===_0x41f5a0;},'XGCbB':function(_0x549201,..._0x314c44){return _0x549201(..._0x314c44);}};return _0x577e6a[0x3]['initRequireModule']=_0x577e6a[0x3]['requireInternalModule'],_0x577e6a[0x3][_0x115177(0x1da)]=(..._0x5b151a)=>{const _0xc8513e=_0x115177;if(_0x5b151a[0x0]&&_0x5b151a[0x0]['includes'](_0xbc3283['TlKsd'])&&_0xbc3283[_0xc8513e(0x1db)](_0x5b151a[0x1],undefined))return _0x577e6a[0x3][_0xc8513e(0x1df)](FRAMEWORK_INITIALIZER);return _0x577e6a[0x3]['initRequireModule'](..._0x5b151a);},_0xbc3283[_0x115177(0x1e1)](initJestAdapter,..._0x577e6a);};
1
+ function a19_0x5791(_0x4edad8,_0x4759d6){const _0x10e289=a19_0x10e2();return a19_0x5791=function(_0x5791a5,_0x44ddee){_0x5791a5=_0x5791a5-0x16a;let _0x19a46b=_0x10e289[_0x5791a5];return _0x19a46b;},a19_0x5791(_0x4edad8,_0x4759d6);}const a19_0x404bca=a19_0x5791;(function(_0x12c0e3,_0x392639){const _0x1f9146=a19_0x5791,_0x1ec8a2=_0x12c0e3();while(!![]){try{const _0xb59958=parseInt(_0x1f9146(0x17f))/0x1+parseInt(_0x1f9146(0x17b))/0x2+-parseInt(_0x1f9146(0x172))/0x3*(-parseInt(_0x1f9146(0x175))/0x4)+parseInt(_0x1f9146(0x176))/0x5*(parseInt(_0x1f9146(0x16c))/0x6)+parseInt(_0x1f9146(0x16f))/0x7*(-parseInt(_0x1f9146(0x183))/0x8)+parseInt(_0x1f9146(0x171))/0x9+-parseInt(_0x1f9146(0x179))/0xa*(parseInt(_0x1f9146(0x17a))/0xb);if(_0xb59958===_0x392639)break;else _0x1ec8a2['push'](_0x1ec8a2['shift']());}catch(_0xfe2d46){_0x1ec8a2['push'](_0x1ec8a2['shift']());}}}(a19_0x10e2,0xc4582));const path=require(a19_0x404bca(0x17e)),{requireModule}=require(a19_0x404bca(0x180));let initJestAdapter;try{initJestAdapter=requireModule(a19_0x404bca(0x177),a19_0x404bca(0x16d));}catch{initJestAdapter=requireModule(a19_0x404bca(0x178),a19_0x404bca(0x16d));}initJestAdapter=typeof initJestAdapter===a19_0x404bca(0x181)?initJestAdapter:initJestAdapter[a19_0x404bca(0x17c)];function a19_0x10e2(){const _0x4a1d7a=['customJestAdapterInit.js','initRequireModule','exports','30lCkJaw','jest-circus','join','469HjCfib','includes','11541465ShoGRm','168tkJVjc','requireInternalModule','jestAdapterInit','113512xkTMFa','685585pLDRNJ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus/build/runner.js','10pJmUeD','36664793PnrVts','65648Rmxypo','default','ZMGNh','path','921354LFhNFZ','../../../helpers/helper','function','hEnIe','44648tUXqAf'];a19_0x10e2=function(){return _0x4a1d7a;};return a19_0x10e2();}const FRAMEWORK_INITIALIZER=path[a19_0x404bca(0x16e)](__dirname,a19_0x404bca(0x184));module[a19_0x404bca(0x16b)]=(..._0x462a32)=>{const _0x18a5b1=a19_0x404bca,_0x12c7e5={'hEnIe':_0x18a5b1(0x174),'ZMGNh':function(_0x3c5ae6,_0x5272bb){return _0x3c5ae6===_0x5272bb;},'TdAEc':function(_0x43b65f,..._0x19afbb){return _0x43b65f(..._0x19afbb);}};return _0x462a32[0x3][_0x18a5b1(0x16a)]=_0x462a32[0x3][_0x18a5b1(0x173)],_0x462a32[0x3]['requireInternalModule']=(..._0x54f502)=>{const _0x265ace=_0x18a5b1;if(_0x54f502[0x0]&&_0x54f502[0x0][_0x265ace(0x170)](_0x12c7e5[_0x265ace(0x182)])&&_0x12c7e5[_0x265ace(0x17d)](_0x54f502[0x1],undefined))return _0x462a32[0x3][_0x265ace(0x16a)](FRAMEWORK_INITIALIZER);return _0x462a32[0x3][_0x265ace(0x16a)](..._0x54f502);},_0x12c7e5['TdAEc'](initJestAdapter,..._0x462a32);};
@@ -1 +1 @@
1
- const a20_0x5ac56c=a20_0x2c2a;(function(_0x52c832,_0x17a56b){const _0xcf932c=a20_0x2c2a,_0x39cd64=_0x52c832();while(!![]){try{const _0x2d8f40=-parseInt(_0xcf932c(0x97))/0x1+-parseInt(_0xcf932c(0xeb))/0x2*(parseInt(_0xcf932c(0x100))/0x3)+parseInt(_0xcf932c(0xfb))/0x4+-parseInt(_0xcf932c(0xec))/0x5+-parseInt(_0xcf932c(0xc2))/0x6*(-parseInt(_0xcf932c(0xf7))/0x7)+parseInt(_0xcf932c(0xff))/0x8+-parseInt(_0xcf932c(0xef))/0x9;if(_0x2d8f40===_0x17a56b)break;else _0x39cd64['push'](_0x39cd64['shift']());}catch(_0xfd7371){_0x39cd64['push'](_0x39cd64['shift']());}}}(a20_0x1256,0x7f7b5));function a20_0x1256(){const _0x3f3393=['qUGxg','test_done','71049MWUyzO','BYjUL','onTestDone','configuration','getTestEnvironment','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','skip','message','PMPVj','cwd','../../../index','node','staoN','bstack:options','default','zYAJu','BpevG','nixgp','../../../helpers/testhub/utils','jest-environment-node','browserStackGlobals','join','retries__','FRAMEWORKS','env','test_start','registerListeners','GpuwS','percyCaptureMode','percy','resolveTestEnvironment','iZkbd','__webdriver','projectConfig','ysXNh','RhQbl','global','mode','browserstackPercyBestPlatform','zvghs','failFast','errors','jest-resolve','218322qgHCGo','browserstackAgentV2','JEST','isArray','afEjK','nestedKeyValue','KsYBN','../test-observability/obsReporter','testEnvironmentOptions','jZXax','sdiFT','failFastOptions','shutdown','projectName','testContext','dHYnn','split','requireSeleniumWebdriver','builder','__skipSessionStatus','../../utils/constants','failFastActive','browserStackPercyOptions','capability','wnFkl','quit','YWzGK','capabilities','isTrue','timeout__','debug','__jestRetries','shouldProcessEventForTesthub','cleanup','teardown','BSTACK_DELTA','4|3|7|6|0|2|5|1','skipSessionStatus','modifyCommand','__driversArray','browserstackPlatformIndex','1015620dKvlam','858845lBleSx','winstonLogger','isNotUndefined','244440WGmUVq','AdyHC','cleanupDrivers','testPath','test','shouldFailFast','__timeout','xnsuf','147ojPUVq','liWQl','platformCaps','info','331432EOsCcW','BSTACK_JEST_TEST_ENV','\x20>\x20','requireModule','3623744saGvRP','3JkTghC','Error\x20in\x20fail-fast\x20test_done\x20handler:','framework','__esModule','sessionNameProvided','Builder','Fltod','jest-config','__drivers'];a20_0x1256=function(){return _0x3f3393;};return a20_0x1256();}const helper=require('../../../helpers/helper'),constants=require(a20_0x5ac56c(0xd6)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a20_0x5ac56c(0xc9)),testhubUtils=require(a20_0x5ac56c(0xa9)),logger=require('../../../helpers/logger')[a20_0x5ac56c(0xed)],getTestEnvironment=((()=>{const _0xb85fa0=a20_0x5ac56c,_0x354fd5={};_0x354fd5['FqjFU']=_0xb85fa0(0xc1),_0x354fd5['SlEgg']=_0xb85fa0(0x93);const _0x11b824=_0x354fd5;try{const _0x1e44a5=helper[_0xb85fa0(0xfe)](_0x11b824['FqjFU']);if(_0x1e44a5[_0xb85fa0(0xb5)])return _0x1e44a5[_0xb85fa0(0xb5)];const _0xa44897=helper['requireModule'](_0x11b824['SlEgg']);if(_0xa44897[_0xb85fa0(0x9b)])return _0xa44897[_0xb85fa0(0x9b)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x75ebb3=a20_0x5ac56c,_0x5242e1={'qUGxg':function(_0x232326,_0x4b7dbf){return _0x232326(_0x4b7dbf);},'XELXM':_0x75ebb3(0xa2),'PMPVj':_0x75ebb3(0xaa),'BYjUL':function(_0x13e3da,_0x7b085){return _0x13e3da(_0x7b085);}},_0x10da53=_0x5242e1[_0x75ebb3(0x95)](getTestEnvironment,{'rootDir':process[_0x75ebb3(0xa0)](),'testEnvironment':process[_0x75ebb3(0xaf)][_0x75ebb3(0xfc)]||_0x5242e1['XELXM']});if(!_0x10da53)return _0x5242e1[_0x75ebb3(0x95)](_interopRequireDefault,helper[_0x75ebb3(0xfe)](_0x5242e1[_0x75ebb3(0x9f)]));return _0x5242e1[_0x75ebb3(0x98)](_interopRequireDefault,helper['requireModule'](_0x10da53));})()),_seleniumWebdriver2=((()=>{const _0x214002=a20_0x5ac56c,_0x28a719={'jZXax':function(_0x305c5e,_0x146133){return _0x305c5e(_0x146133);}};try{const _0x19d123=helper[_0x214002(0xd3)]();return helper[_0x214002(0xe8)](),_0x28a719[_0x214002(0xcb)](_interopRequireDefault,_0x19d123);}catch{return null;}})());function _interopRequireDefault(_0xf12253){const _0x4ea7f5=a20_0x5ac56c;return _0xf12253&&_0xf12253[_0x4ea7f5(0x8f)]?_0xf12253:{'default':_0xf12253};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a20_0x5ac56c(0x91)]:null;function a20_0x2c2a(_0x1358b8,_0x3996a5){const _0x1256cf=a20_0x1256();return a20_0x2c2a=function(_0x2c2a0b,_0x3db211){_0x2c2a0b=_0x2c2a0b-0x8e;let _0x1162ca=_0x1256cf[_0x2c2a0b];return _0x1162ca;},a20_0x2c2a(_0x1358b8,_0x3996a5);}class CustomEnvironment extends _jestUserEnvironment[a20_0x5ac56c(0xa5)]{constructor(_0x47f4be){const _0x26b256=a20_0x5ac56c,_0x4dc9a3={'iZkbd':'quit','afEjK':function(_0x3da872,_0x275e76){return _0x3da872+_0x275e76;},'GpuwS':_0x26b256(0xa4),'liWQl':function(_0x52c766,_0x585abc){return _0x52c766(_0x585abc);},'xnsuf':'../../../helpers/test-orchestration/failfastManager','ysXNh':_0x26b256(0xe6),'BpevG':'testEnvironmentOptions','sdiFT':_0x26b256(0xd8),'zYAJu':_0x26b256(0xb3),'zvghs':_0x26b256(0xa1),'staoN':_0x26b256(0xb4),'wnFkl':_0x26b256(0xbd)};super(_0x47f4be),this['global'][_0x26b256(0xf5)]=0x0,this[_0x26b256(0x9a)]={};!_0x47f4be[_0x26b256(0xca)]&&(_0x47f4be[_0x26b256(0xca)]={});if(helper['isBrowserstackInfra']()){_0x47f4be[_0x26b256(0xca)]=_0x47f4be[_0x26b256(0xb8)]?_0x47f4be[_0x26b256(0xb8)][_0x26b256(0xca)]:_0x47f4be[_0x26b256(0xca)];_seleniumWebdriver2&&(this[_0x26b256(0xd4)]=new _seleniumWebdriver2['default'][(_0x26b256(0x91))]());this['capability']=_0x47f4be[_0x26b256(0xb8)]?_0x47f4be[_0x26b256(0xb8)][_0x26b256(0xd9)]:_0x47f4be[_0x26b256(0xd9)],this[_0x26b256(0xbb)][_0x26b256(0xf5)]=_0x4dc9a3[_0x26b256(0xc6)](_0x47f4be[_0x26b256(0xca)][_0x26b256(0xdf)]||0x1388,constants[_0x26b256(0xe5)]),this[_0x26b256(0xcd)]=_0x47f4be['testEnvironmentOptions'][_0x26b256(0xbf)];if(this[_0x26b256(0xcd)]){const _0x3f7ad0=this[_0x26b256(0xd9)][_0x4dc9a3[_0x26b256(0xb2)]]?.['buildName']||'',_0x4442cd=this[_0x26b256(0xd9)][_0x4dc9a3['GpuwS']]?.[_0x26b256(0xcf)]||'';this[_0x26b256(0xbf)]=new(_0x4dc9a3[_0x26b256(0xf8)](require,_0x4dc9a3[_0x26b256(0xf6)]))(this[_0x26b256(0xcd)],_0x3f7ad0,_0x4442cd),this['global'][_0x26b256(0xd7)]=![];}helper[_0x26b256(0xee)](_0x47f4be['testEnvironmentOptions'][_0x26b256(0xad)])&&(this[_0x26b256(0xbb)][_0x26b256(0xe1)]=_0x47f4be[_0x26b256(0xca)][_0x26b256(0xad)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x5a03d8=new ObservabilityReporter();_0x5a03d8[_0x26b256(0xb1)]();}this[_0x26b256(0xbb)][_0x26b256(0xab)]={},this[_0x26b256(0x9a)]=_0x47f4be[_0x26b256(0xca)],this['configuration'][_0x26b256(0x8e)]=constants[_0x26b256(0xae)][_0x26b256(0xc4)],this[_0x26b256(0xbb)][_0x26b256(0xea)]=(_0x47f4be[_0x26b256(0xb8)]?_0x47f4be[_0x26b256(0xb8)][_0x26b256(0xea)]:_0x47f4be[_0x26b256(0xea)])||0x0,this[_0x26b256(0xbb)]['__platformCaps']=this[_0x26b256(0x9a)]&&this[_0x26b256(0x9a)][_0x26b256(0xf9)]&&Array['isArray'](this[_0x26b256(0x9a)][_0x26b256(0xf9)])&&this[_0x26b256(0x9a)]['platformCaps'][this[_0x26b256(0xbb)]['browserstackPlatformIndex']]||{};const _0x55298b=this[_0x26b256(0xbb)][_0x26b256(0xea)],_0x354767={...this['configuration'],'capability':this['configuration'][_0x26b256(0xdd)]&&Array[_0x26b256(0xc5)](this[_0x26b256(0x9a)]['capabilities'])&&this[_0x26b256(0x9a)][_0x26b256(0xdd)][_0x55298b]||{},'platformCaps':this[_0x26b256(0x9a)]['platformCaps']&&Array['isArray'](this[_0x26b256(0x9a)][_0x26b256(0xf9)])&&this['configuration'][_0x26b256(0xf9)][_0x55298b]||{}};delete _0x354767[_0x26b256(0xdd)],this[_0x26b256(0xbb)]['jestConfig']=_0x354767;if(_seleniumWebdriver2){const _0x4ad3a3=_0x4dc9a3[_0x26b256(0xb9)][_0x26b256(0xd2)]('|');let _0x20aea0=0x0;while(!![]){switch(_0x4ad3a3[_0x20aea0++]){case'0':this['global'][_0x26b256(0xb3)]=helper[_0x26b256(0xc7)](_0x47f4be,[_0x4dc9a3['BpevG'],_0x4dc9a3[_0x26b256(0xcc)],_0x4dc9a3[_0x26b256(0xa6)]]);continue;case'1':this[_0x26b256(0xbb)][_0x26b256(0xe3)]=async()=>{const _0x1383cb=_0x26b256;await this[_0x1383cb(0xbb)]['driver'][_0x1383cb(0xdb)](_0x4dc9a3[_0x1383cb(0xb6)]);};continue;case'2':helper['isTrue'](this[_0x26b256(0x9a)]['skipSessionName'])?this['global'][_0x26b256(0x90)]=!![]:this[_0x26b256(0xbb)]['sessionNameProvided']=![];continue;case'3':this['global'][_0x26b256(0xb7)]=_0x4dc9a3[_0x26b256(0xf8)](require,_0x4dc9a3[_0x26b256(0xbe)])[_0x26b256(0xc3)]({...this[_0x26b256(0x9a)],'capability':this[_0x26b256(0xd9)]||{}},this,testhubUtils[_0x26b256(0xe2)]());continue;case'4':this[_0x26b256(0xbb)][_0x26b256(0x94)]=[];continue;case'5':this[_0x26b256(0xbb)][_0x26b256(0xd5)]=helper[_0x26b256(0xde)](this[_0x26b256(0x9a)][_0x26b256(0xe7)]);continue;case'6':this['global'][_0x26b256(0xb4)]=helper[_0x26b256(0xc7)](_0x47f4be,[_0x4dc9a3[_0x26b256(0xa7)],_0x4dc9a3[_0x26b256(0xcc)],_0x4dc9a3[_0x26b256(0xa3)]]);continue;case'7':this['global']['browserstackPercyBestPlatform']=helper['nestedKeyValue'](_0x47f4be,[_0x4dc9a3[_0x26b256(0xa7)],_0x4dc9a3[_0x26b256(0xcc)],_0x4dc9a3[_0x26b256(0xda)]]);continue;}break;}}}async['teardown'](){const _0x1b7996=a20_0x5ac56c;_seleniumWebdriver2&&(await helper[_0x1b7996(0xf1)](this[_0x1b7996(0xbb)][_0x1b7996(0xe9)]),this[_0x1b7996(0xbb)][_0x1b7996(0xb7)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()[_0x1b7996(0xce)]();}async['setup'](){}async['handleTestEvent'](_0x28dc68,_0x2fefe3){const _0x4c3c90=a20_0x5ac56c,_0x9cebc1={};_0x9cebc1[_0x4c3c90(0xa8)]=function(_0x19fc61,_0x5a409b){return _0x19fc61===_0x5a409b;},_0x9cebc1[_0x4c3c90(0xba)]=_0x4c3c90(0xb0),_0x9cebc1[_0x4c3c90(0xdc)]=_0x4c3c90(0x9d),_0x9cebc1[_0x4c3c90(0xc8)]=_0x4c3c90(0x96),_0x9cebc1['AdyHC']=_0x4c3c90(0xfd),_0x9cebc1['swviV']=function(_0x4434cb,_0x58bef6){return _0x4434cb===_0x58bef6;},_0x9cebc1['Fltod']=_0x4c3c90(0x101),_0x9cebc1['wckUX']=function(_0x35799f,_0x16e70c){return _0x35799f===_0x16e70c;},_0x9cebc1['dHYnn']=_0x4c3c90(0xe4);const _0x101e2c=_0x9cebc1,{name:_0x5e6fd6}=_0x28dc68;if(_0x101e2c[_0x4c3c90(0xa8)](_0x5e6fd6,_0x101e2c[_0x4c3c90(0xba)])){this[_0x4c3c90(0xbb)][_0x4c3c90(0xd0)]=_0x28dc68[_0x4c3c90(0xf3)];if(_0x101e2c[_0x4c3c90(0xa8)](this['global'][_0x4c3c90(0xd7)],!![])){const _0x3dd84a=_0x28dc68[_0x4c3c90(0xf3)]['name'];logger[_0x4c3c90(0xfa)](_0x4c3c90(0x9c)+_0x3dd84a),_0x28dc68['test'][_0x4c3c90(0xbc)]=_0x101e2c[_0x4c3c90(0xdc)];}}if(this[_0x4c3c90(0xbf)]&&_0x101e2c['nixgp'](_0x5e6fd6,_0x101e2c[_0x4c3c90(0xc8)]))try{const _0xe600bb=_0x28dc68['test'][_0x4c3c90(0xf2)][_0x4c3c90(0xac)](_0x101e2c[_0x4c3c90(0xf0)]),_0x210e2d=_0x28dc68[_0x4c3c90(0xf3)][_0x4c3c90(0xc0)];await this[_0x4c3c90(0xbf)][_0x4c3c90(0x99)](_0xe600bb,_0x210e2d);const _0x5ac43f=await this['failFast'][_0x4c3c90(0xf4)]();_0x101e2c['swviV'](this['global']['failFastActive'],![])&&_0x101e2c[_0x4c3c90(0xa8)](_0x5ac43f,!![])&&(this[_0x4c3c90(0xbb)][_0x4c3c90(0xd7)]=!![]);}catch(_0x47277b){logger[_0x4c3c90(0xe0)](_0x101e2c[_0x4c3c90(0x92)],_0x47277b[_0x4c3c90(0x9e)]);}_0x101e2c['wckUX'](_0x5e6fd6,_0x101e2c[_0x4c3c90(0xd1)])&&(this[_0x4c3c90(0xbf)]&&this['failFast'][_0x4c3c90(0xe3)]());}}module['exports']=CustomEnvironment;
1
+ const a20_0x4d3d5a=a20_0x2e04;(function(_0x3ef1c5,_0x385f38){const _0xb7959a=a20_0x2e04,_0x3d6ada=_0x3ef1c5();while(!![]){try{const _0x3033c2=-parseInt(_0xb7959a(0x1dc))/0x1+-parseInt(_0xb7959a(0x21a))/0x2+parseInt(_0xb7959a(0x215))/0x3+parseInt(_0xb7959a(0x1f2))/0x4*(parseInt(_0xb7959a(0x232))/0x5)+-parseInt(_0xb7959a(0x1e9))/0x6*(parseInt(_0xb7959a(0x1f6))/0x7)+parseInt(_0xb7959a(0x210))/0x8+-parseInt(_0xb7959a(0x224))/0x9;if(_0x3033c2===_0x385f38)break;else _0x3d6ada['push'](_0x3d6ada['shift']());}catch(_0x2c8476){_0x3d6ada['push'](_0x3d6ada['shift']());}}}(a20_0x26f4,0x8105b));const helper=require(a20_0x4d3d5a(0x227)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a20_0x4d3d5a(0x1fd)),RequestQueueHandler=require(a20_0x4d3d5a(0x20f)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a20_0x4d3d5a(0x20c))[a20_0x4d3d5a(0x1f9)],getTestEnvironment=((()=>{const _0x207a56=a20_0x4d3d5a,_0x122878={};_0x122878[_0x207a56(0x21e)]=_0x207a56(0x225),_0x122878['DQwxu']=_0x207a56(0x22c);const _0x3bb68a=_0x122878;try{const _0x3b3994=helper[_0x207a56(0x235)](_0x3bb68a['iogLi']);if(_0x3b3994[_0x207a56(0x1e3)])return _0x3b3994[_0x207a56(0x1e3)];const _0x51175f=helper['requireModule'](_0x3bb68a[_0x207a56(0x236)]);if(_0x51175f[_0x207a56(0x20d)])return _0x51175f[_0x207a56(0x20d)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x46b2b2=a20_0x4d3d5a,_0x3dd4f8={'kHuWP':function(_0x1d35ef,_0x2a03a8){return _0x1d35ef(_0x2a03a8);},'ALYfO':'node','PhyvD':_0x46b2b2(0x223)},_0xf343bd=_0x3dd4f8['kHuWP'](getTestEnvironment,{'rootDir':process[_0x46b2b2(0x1fa)](),'testEnvironment':process[_0x46b2b2(0x204)][_0x46b2b2(0x249)]||_0x3dd4f8[_0x46b2b2(0x23e)]});if(!_0xf343bd)return _0x3dd4f8['kHuWP'](_interopRequireDefault,helper[_0x46b2b2(0x235)](_0x3dd4f8['PhyvD']));return _0x3dd4f8['kHuWP'](_interopRequireDefault,helper['requireModule'](_0xf343bd));})()),_seleniumWebdriver2=((()=>{const _0x3ab2ba=a20_0x4d3d5a,_0x1d2d7c={'JRvZI':function(_0x3eb158,_0x149928){return _0x3eb158(_0x149928);}};try{const _0x58ffde=helper[_0x3ab2ba(0x1e6)]();return helper[_0x3ab2ba(0x226)](),_0x1d2d7c[_0x3ab2ba(0x1ed)](_interopRequireDefault,_0x58ffde);}catch{return null;}})());function _interopRequireDefault(_0x196b2c){const _0x375043=a20_0x4d3d5a;return _0x196b2c&&_0x196b2c[_0x375043(0x247)]?_0x196b2c:{'default':_0x196b2c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a20_0x4d3d5a(0x206)][a20_0x4d3d5a(0x216)]:null;function a20_0x2e04(_0x59678c,_0x30475f){const _0x26f493=a20_0x26f4();return a20_0x2e04=function(_0x2e0458,_0x1bcd25){_0x2e0458=_0x2e0458-0x1dc;let _0x26441b=_0x26f493[_0x2e0458];return _0x26441b;},a20_0x2e04(_0x59678c,_0x30475f);}function a20_0x26f4(){const _0x1d46c5=['percy','registerListeners','test_start','handleTestEvent','failFastActive','env','errors','default','setup','browserstackPercyBestPlatform','global','TKQft','bstack:options','../../../helpers/logger','getTestEnvironment','message','../../../helpers/test-observability/requestQueueHandler','5796880shsCfi','JUEPN','qdEoF','test','percyCaptureMode','1583178IpbyNH','Builder','SdubB','shouldFailFast','cleanup','594944apmnQK','mode','cleanupDrivers','timeout__','iogLi','configuration','testEnvironmentOptions','aFzhg','browserStackPercyOptions','jest-environment-node','2357820XSpdWm','jest-resolve','modifyCommand','../../../helpers/helper','framework','quit','testPath','teardown','jest-config','join','skipSessionName','__jestRetries','nFSWJ','__webdriver','5036025uDzbuJ','FRAMEWORKS','failFast','requireModule','DQwxu','../../../index','isBrowserstackInfra','\x20>\x20','driver','kzsac','WIITl','sJZNl','ALYfO','YncYX','__timeout','gELUE','test_done','info','sessionNameProvided','projectConfig','browserStackGlobals','__esModule','isTrue','BSTACK_JEST_TEST_ENV','isNotUndefined','shutdown','ueLYY','failFastOptions','122993yafQHd','__platformCaps','shouldProcessEventForTesthub','XPmIo','browserstackPlatformIndex','JEST','builder','resolveTestEnvironment','testContext','exports','requireSeleniumWebdriver','capabilities','QoceV','6nlQgyk','retries__','__skipSessionStatus','buildName','JRvZI','nestedKeyValue','projectName','RbuDo','capability','4HiBBWy','isArray','wQWdF','debug','7340347zgWPke','split','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','winstonLogger','cwd','name','platformCaps','../../../helpers/test-observability/utils','getInstance'];a20_0x26f4=function(){return _0x1d46c5;};return a20_0x26f4();}class CustomEnvironment extends _jestUserEnvironment[a20_0x4d3d5a(0x206)]{constructor(_0x620cc0){const _0x52d6f3=a20_0x4d3d5a,_0x23e4cd={'kzsac':_0x52d6f3(0x229),'nFSWJ':function(_0x16888c,_0x5eaecf){return _0x16888c+_0x5eaecf;},'wQWdF':_0x52d6f3(0x20b),'SdubB':function(_0xb63460,_0x52002d){return _0xb63460(_0x52002d);},'yopxm':'../../../helpers/test-orchestration/failfastManager','XPmIo':'5|1|0|3|7|6|2|4','sJZNl':_0x52d6f3(0x220),'QoceV':_0x52d6f3(0x222),'aFzhg':'browserstackPercyBestPlatform','gELUE':function(_0x55aa61,_0x88e9eb){return _0x55aa61(_0x88e9eb);},'wGQgV':_0x52d6f3(0x237),'SRwrl':_0x52d6f3(0x1ff),'KKyNp':'percyCaptureMode'};super(_0x620cc0),this['global'][_0x52d6f3(0x240)]=0x0,this[_0x52d6f3(0x21f)]={};!_0x620cc0[_0x52d6f3(0x220)]&&(_0x620cc0[_0x52d6f3(0x220)]={});if(helper[_0x52d6f3(0x238)]()){_0x620cc0[_0x52d6f3(0x220)]=_0x620cc0[_0x52d6f3(0x245)]?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x220)]:_0x620cc0[_0x52d6f3(0x220)];_seleniumWebdriver2&&(this[_0x52d6f3(0x1e2)]=new _seleniumWebdriver2[(_0x52d6f3(0x206))][(_0x52d6f3(0x216))]());this[_0x52d6f3(0x1f1)]=_0x620cc0[_0x52d6f3(0x245)]?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x1f1)]:_0x620cc0[_0x52d6f3(0x1f1)],this[_0x52d6f3(0x209)][_0x52d6f3(0x240)]=_0x23e4cd[_0x52d6f3(0x230)](_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x21d)]||0x1388,constants['BSTACK_DELTA']),this[_0x52d6f3(0x24d)]=_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x234)];if(this['failFastOptions']){const _0x3f46e3=this[_0x52d6f3(0x1f1)][_0x23e4cd[_0x52d6f3(0x1f4)]]?.[_0x52d6f3(0x1ec)]||'',_0x50f313=this[_0x52d6f3(0x1f1)][_0x23e4cd[_0x52d6f3(0x1f4)]]?.[_0x52d6f3(0x1ef)]||'';this[_0x52d6f3(0x234)]=new(_0x23e4cd[_0x52d6f3(0x217)](require,_0x23e4cd['yopxm']))(this[_0x52d6f3(0x24d)],_0x3f46e3,_0x50f313),this[_0x52d6f3(0x209)][_0x52d6f3(0x203)]=![];}helper[_0x52d6f3(0x24a)](_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x1ea)])&&(this[_0x52d6f3(0x209)][_0x52d6f3(0x22f)]=_0x620cc0[_0x52d6f3(0x220)]['retries__']);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x4c5109=new ObservabilityReporter();_0x4c5109[_0x52d6f3(0x200)]();}this['global'][_0x52d6f3(0x246)]={},this[_0x52d6f3(0x21f)]=_0x620cc0[_0x52d6f3(0x220)],this[_0x52d6f3(0x21f)][_0x52d6f3(0x228)]=constants[_0x52d6f3(0x233)][_0x52d6f3(0x1e1)],this['global'][_0x52d6f3(0x1e0)]=(_0x620cc0['projectConfig']?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x1e0)]:_0x620cc0[_0x52d6f3(0x1e0)])||0x0,this[_0x52d6f3(0x209)][_0x52d6f3(0x1dd)]=this[_0x52d6f3(0x21f)]&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)]&&Array[_0x52d6f3(0x1f3)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)][this[_0x52d6f3(0x209)][_0x52d6f3(0x1e0)]]||{};const _0x119bc=this[_0x52d6f3(0x209)][_0x52d6f3(0x1e0)],_0x4a4a30={...this[_0x52d6f3(0x21f)],'capability':this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)]&&Array['isArray'](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)][_0x119bc]||{},'platformCaps':this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)]&&Array[_0x52d6f3(0x1f3)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)][_0x119bc]||{}};delete _0x4a4a30['capabilities'],this[_0x52d6f3(0x209)]['jestConfig']=_0x4a4a30;if(_seleniumWebdriver2){const _0x4027b4=_0x23e4cd[_0x52d6f3(0x1df)][_0x52d6f3(0x1f7)]('|');let _0x5f5d65=0x0;while(!![]){switch(_0x4027b4[_0x5f5d65++]){case'0':this[_0x52d6f3(0x209)][_0x52d6f3(0x208)]=helper['nestedKeyValue'](_0x620cc0,[_0x23e4cd[_0x52d6f3(0x23d)],_0x23e4cd[_0x52d6f3(0x1e8)],_0x23e4cd[_0x52d6f3(0x221)]]);continue;case'1':this['global'][_0x52d6f3(0x231)]=_0x23e4cd[_0x52d6f3(0x241)](require,_0x23e4cd['wGQgV'])['browserstackAgentV2']({...this['configuration'],'capability':this[_0x52d6f3(0x1f1)]||{}},this,testhubUtils[_0x52d6f3(0x1de)]());continue;case'2':this[_0x52d6f3(0x209)][_0x52d6f3(0x1eb)]=helper[_0x52d6f3(0x248)](this[_0x52d6f3(0x21f)]['skipSessionStatus']);continue;case'3':this[_0x52d6f3(0x209)]['percy']=helper[_0x52d6f3(0x1ee)](_0x620cc0,[_0x23e4cd['sJZNl'],_0x23e4cd['QoceV'],_0x23e4cd['SRwrl']]);continue;case'4':this[_0x52d6f3(0x209)][_0x52d6f3(0x219)]=async()=>{const _0x43d31c=_0x52d6f3;await this[_0x43d31c(0x209)][_0x43d31c(0x23a)]['quit'](_0x23e4cd[_0x43d31c(0x23b)]);};continue;case'5':this[_0x52d6f3(0x209)]['__drivers']=[];continue;case'6':helper[_0x52d6f3(0x248)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x22e)])?this[_0x52d6f3(0x209)][_0x52d6f3(0x244)]=!![]:this[_0x52d6f3(0x209)]['sessionNameProvided']=![];continue;case'7':this['global'][_0x52d6f3(0x214)]=helper[_0x52d6f3(0x1ee)](_0x620cc0,[_0x23e4cd['sJZNl'],_0x23e4cd[_0x52d6f3(0x1e8)],_0x23e4cd['KKyNp']]);continue;}break;}}}async[a20_0x4d3d5a(0x22b)](){const _0xfb82d5=a20_0x4d3d5a;_seleniumWebdriver2&&(await helper[_0xfb82d5(0x21c)](this[_0xfb82d5(0x209)]['__driversArray']),this[_0xfb82d5(0x209)][_0xfb82d5(0x231)]['Builder']=originalBuilder),await RequestQueueHandler[_0xfb82d5(0x1fe)]()[_0xfb82d5(0x24b)]();}async[a20_0x4d3d5a(0x207)](){}async[a20_0x4d3d5a(0x202)](_0x1d7ff6,_0x5f19ec){const _0x143d95=a20_0x4d3d5a,_0x32a548={};_0x32a548['rIYMC']=function(_0x4b954a,_0x125d40){return _0x4b954a===_0x125d40;},_0x32a548[_0x143d95(0x23f)]=_0x143d95(0x201),_0x32a548[_0x143d95(0x212)]=function(_0x3fce2b,_0xcfbc54){return _0x3fce2b===_0xcfbc54;},_0x32a548[_0x143d95(0x24c)]='skip',_0x32a548['TKQft']=_0x143d95(0x242),_0x32a548[_0x143d95(0x1f0)]=_0x143d95(0x239),_0x32a548[_0x143d95(0x23c)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x32a548['vWsyC']=function(_0x584875,_0x548123){return _0x584875===_0x548123;},_0x32a548['JUEPN']=_0x143d95(0x22b);const _0x10a216=_0x32a548,{name:_0x313ea5}=_0x1d7ff6;if(_0x10a216['rIYMC'](_0x313ea5,_0x10a216[_0x143d95(0x23f)])){this['global'][_0x143d95(0x1e4)]=_0x1d7ff6[_0x143d95(0x213)];if(_0x10a216['qdEoF'](this[_0x143d95(0x209)][_0x143d95(0x203)],!![])){const _0x2c4306=_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x1fb)];logger[_0x143d95(0x243)](_0x143d95(0x1f8)+_0x2c4306),_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x21b)]=_0x10a216[_0x143d95(0x24c)];}}if(this[_0x143d95(0x234)]&&_0x10a216['rIYMC'](_0x313ea5,_0x10a216[_0x143d95(0x20a)]))try{const _0x1860ea=_0x1d7ff6['test'][_0x143d95(0x22a)][_0x143d95(0x22d)](_0x10a216[_0x143d95(0x1f0)]),_0x45ffbf=_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x205)];await this['failFast']['onTestDone'](_0x1860ea,_0x45ffbf);const _0x439764=await this['failFast'][_0x143d95(0x218)]();_0x10a216[_0x143d95(0x212)](this['global'][_0x143d95(0x203)],![])&&_0x10a216[_0x143d95(0x212)](_0x439764,!![])&&(this[_0x143d95(0x209)][_0x143d95(0x203)]=!![]);}catch(_0x13bd08){logger[_0x143d95(0x1f5)](_0x10a216['WIITl'],_0x13bd08[_0x143d95(0x20e)]);}_0x10a216['vWsyC'](_0x313ea5,_0x10a216[_0x143d95(0x211)])&&(this[_0x143d95(0x234)]&&this[_0x143d95(0x234)][_0x143d95(0x219)]());}}module[a20_0x4d3d5a(0x1e5)]=CustomEnvironment;
@@ -1 +1 @@
1
- function a21_0x1798(){const _0x27e15c=['_bstackTestName','started_at','passed','FgyPv','AGueD','removeTestUUID','TestRunSkipped','asyncError','lOgFa',',\x20BROWSERSTACK_PUPPETEER=','type','MJMXs','../../utils/constants','xvRFf','PLAYWRIGHT','getTestFramework','fail','FiVIV','test_start','argv','Lvcnw','PRE','mJGFu','HookFinished','currentHook','SQghf','../../v2/state/testFrameworkState','originalTest','../../v2/state/hookState','run_describe_finish','Error\x20routing\x20to\x20JestTestFramework:\x20','getActiveTestNamePattern','slice','wDSib','map','shutdown','3860VLsyDx','QhFpc','call','CLI\x20is\x20enabled\x20and\x20running.','errorsDetailed','wQxyc','xuSiE','../../../helpers/helper','RFQxL','BsOnQ','message','2071785uNGBBb','isCliEnabled','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','4786212aelTMU','split','toISOString','hook','getState','true','jooIu','knhWU','error','pid','test','HookRunStarted','450DtWtHL','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','XwgRt','ZBZmD','EVENT','title','markedStatus','failureMessage','wHPSH','DanoX','rgbwL','BROWSERSTACK_RERUN','function','hookData','getFullJestTestName','name','JEST','createIdentifierFromJestTest','3WAuMim','SQxnZ','JeatK','kGGcg','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','createTestFrameworkData','mhHOI','LOG_REPORT','../../v2/browserstackCLI','mCbgn','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','--testNamePattern','status','uuid','testNamePattern','configuration','debug','stack-trace','478975JjKaHO','1365WTfOdW','getFileName','Error\x20reading\x20platformIndex\x20from\x20args:\x20','kTlaA','isRunning','bootstrap','setActiveHook','keys','GvdvQ','ZhpBy','jest-circus/build/utils.js','AFTER_EACH','Wgtic','yvjda','toString','WXjqq','AFTER_ALL','teardown','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','number','eLGxD','parent','../../../helpers/logger','PUPPETEER','BROWSERSTACK_PUPPETEER','current_test','MEssH','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','state','YQGph','../../v2/utils/jest-utils','HrkUs','__workerDetails','testIdentifier','string','lffnI','beforeAll','272712yTwpmI','__bstackPlatformIndex','jkfiz','registerListeners','YfSaP','config','3784kZEtGK','KLcYv','JPxHw','btrdU','JGpQY','file','piiFf','TestRunStarted','AtMrF','HookRunFinished','EizKF','retryOf','LBpEF','lgpBT','jvFcc','oAmKr','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','sLPMo','BROWSERSTACK_PLATFORM_INDEX','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','parse','_currentRetry','Handling\x20hook\x20event\x20for\x20CLI:\x20','POST','wOdRt','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','CevfJ','_bstackTestStatus','mfnRg','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','setTestUUID','SdMxP','VPlcU','ouzIR','mHbqE','util','includes','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','BEFORE_EACH','ZYnMW','FXbMp','\x20for\x20hook\x20type:\x20','-t=','testAnalyticsId','KXUUL','MDtBo','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','XVhkC','unhandledErrors','284KYklru','Handling\x20test\x20event\x20for\x20CLI:\x20','cdkOp','sendTestRunEvent','jest-circus/build/state.js','TEST',',\x20re-registering\x20event\x20handler','failed','dMNRc','makeSingleTestResult','format','setFrameworkDetail','browserstackTestName','testStarted','dsPrz','GcRcR','115936VWZBKO','IGhSq','unshift','oODWD','UkTBJ','testInfo','EventHandler','MBpqv','_bstackTestFailureReason','testUUID','JnQCc','lfzML','MHRNx','jestConfig','has','sEuin','test_done','ZLGYx','umumR','__jestCurrentTestIdentifier','EbWxJ','kwmug','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','NAAgk','--testNamePattern=','getInstance','TestRunFinished','\x20>\x20','env','startsWith','beforeEach','CEKLJ','cDOUd','createHookData','currentTest','RHuRW','addEventHandler','HookStarted','join','zmZHx','testPath','rcUzz','removeAllListeners','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','lQrEx','../../../helpers/testhub/utils','Error\x20checking\x20CLI\x20readiness:\x20','coEbw','removeActiveHook','browserstackPlatformIndex','../test-observability/obsReporter','trackEvent','PWhpk','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','afterEach','ROOT_DESCRIBE_BLOCK','GRfpn','tGnVI','jest-circus','length','BXWru','hehsy','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','match','JMbTK','errors','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','ABlZQ','../test-observability/test-details',':hookAnalyticsId','Owzgo','hook_start','NHqBP','XoOTh','../../v2/cliUtils','hookUUID','hookAnalyticsId','hook_failure'];a21_0x1798=function(){return _0x27e15c;};return a21_0x1798();}const a21_0x597f8a=a21_0x4544;(function(_0xbf8df0,_0x3848e3){const _0x10f4ba=a21_0x4544,_0x4ab0e4=_0xbf8df0();while(!![]){try{const _0x54f93e=-parseInt(_0x10f4ba(0x230))/0x1*(parseInt(_0x10f4ba(0x268))/0x2)+-parseInt(_0x10f4ba(0x243))/0x3*(parseInt(_0x10f4ba(0x29f))/0x4)+-parseInt(_0x10f4ba(0x20f))/0x5+parseInt(_0x10f4ba(0x212))/0x6+-parseInt(_0x10f4ba(0x242))/0x7+-parseInt(_0x10f4ba(0x192))/0x8*(-parseInt(_0x10f4ba(0x21e))/0x9)+parseInt(_0x10f4ba(0x204))/0xa*(-parseInt(_0x10f4ba(0x26e))/0xb);if(_0x54f93e===_0x3848e3)break;else _0x4ab0e4['push'](_0x4ab0e4['shift']());}catch(_0x3cfa2b){_0x4ab0e4['push'](_0x4ab0e4['shift']());}}}(a21_0x1798,0x719d3));const {requireModule,isTrue}=require(a21_0x597f8a(0x20b)),ObservabilityReporter=require(a21_0x597f8a(0x1c4)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a21_0x597f8a(0x1d6)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a21_0x597f8a(0x1bf)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a21_0x597f8a(0x238)),TestFrameworkState=require(a21_0x597f8a(0x1fa)),HookState=require(a21_0x597f8a(0x1fc)),JestUtils=require(a21_0x597f8a(0x261)),{v4:uuidv4}=require(a21_0x597f8a(0x23d)),util=require(a21_0x597f8a(0x291)),logger=require(a21_0x597f8a(0x259))['winstonLogger'],{FRAMEWORKS}=require(a21_0x597f8a(0x1ec));let exportsI;try{exportsI=requireModule(a21_0x597f8a(0x1a8),a21_0x597f8a(0x1cc));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js',a21_0x597f8a(0x1cc));}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x2ec325){const _0x55501d=a21_0x597f8a,_0x24afbd={};_0x24afbd[_0x55501d(0x271)]=function(_0x523637,_0x436a49){return _0x523637!==_0x436a49;},_0x24afbd['SQghf']=_0x55501d(0x1c9);const _0x4da790=_0x24afbd;try{const _0xb05521=[];let _0x3ac96e=_0x2ec325;while(_0x3ac96e){_0x3ac96e['name']&&_0x4da790['btrdU'](_0x3ac96e[_0x55501d(0x22d)],_0x4da790[_0x55501d(0x1f9)])&&_0xb05521[_0x55501d(0x194)](_0x3ac96e[_0x55501d(0x22d)]),_0x3ac96e=_0x3ac96e['parent'];}return _0xb05521[_0x55501d(0x1b8)]('\x20');}catch(_0x4f4197){return _0x2ec325&&_0x2ec325['name']||'';}}function getActiveTestNamePattern(){const _0x5e45c5=a21_0x597f8a,_0x3399bd={'ffWrr':function(_0x23b8a0,_0xe8f88f,_0x3cb5e4){return _0x23b8a0(_0xe8f88f,_0x3cb5e4);},'lOgFa':_0x5e45c5(0x186),'XVhkC':'jest-circus','ouzIR':function(_0x546e1f,_0x24487a){return _0x546e1f(_0x24487a);},'MDtBo':function(_0x1fff87,_0x528668){return _0x1fff87===_0x528668;},'ABlZQ':_0x5e45c5(0x22a),'JGpQY':function(_0x1c95f2,_0x163df3){return _0x1c95f2 instanceof _0x163df3;},'tbiTS':_0x5e45c5(0x265),'xuSiE':function(_0x1175ec,_0x3732ef){return _0x1175ec>_0x3732ef;},'XwgRt':function(_0x21c846,_0x5742e5){return _0x21c846<_0x5742e5;},'mfnRg':function(_0x291d98,_0x29f90c){return _0x291d98===_0x29f90c;},'JnQCc':_0x5e45c5(0x23b),'wHPSH':function(_0x43e738,_0x2859c6){return _0x43e738+_0x2859c6;},'MEssH':_0x5e45c5(0x1aa),'Nyjil':_0x5e45c5(0x298)};try{let _0x26ff2b;try{_0x26ff2b=_0x3399bd['ffWrr'](requireModule,_0x3399bd[_0x5e45c5(0x1e8)],_0x3399bd[_0x5e45c5(0x29d)]);}catch{_0x26ff2b=_0x3399bd[_0x5e45c5(0x28f)](requireModule,_0x3399bd[_0x5e45c5(0x29d)]);}if(_0x26ff2b&&_0x3399bd[_0x5e45c5(0x29b)](typeof _0x26ff2b[_0x5e45c5(0x216)],_0x3399bd[_0x5e45c5(0x1d5)])){const _0x3ef6fb=_0x26ff2b[_0x5e45c5(0x216)]();if(_0x3ef6fb&&_0x3ef6fb[_0x5e45c5(0x23e)]){if(_0x3399bd[_0x5e45c5(0x272)](_0x3ef6fb['testNamePattern'],RegExp))return _0x3ef6fb['testNamePattern'];if(_0x3399bd[_0x5e45c5(0x29b)](typeof _0x3ef6fb[_0x5e45c5(0x23e)],_0x3399bd['tbiTS'])&&_0x3399bd[_0x5e45c5(0x20a)](_0x3ef6fb[_0x5e45c5(0x23e)][_0x5e45c5(0x1cd)],0x0))return new RegExp(_0x3ef6fb[_0x5e45c5(0x23e)],'i');}}}catch(_0x3571c4){}try{const _0xc6a129=process[_0x5e45c5(0x1f3)]||[];for(let _0x3aaa23=0x0;_0x3399bd[_0x5e45c5(0x220)](_0x3aaa23,_0xc6a129['length']);_0x3aaa23++){const _0x26e69a=_0xc6a129[_0x3aaa23];if(_0x3399bd[_0x5e45c5(0x29b)](_0x26e69a,'-t')||_0x3399bd[_0x5e45c5(0x28a)](_0x26e69a,_0x3399bd[_0x5e45c5(0x19c)])){const _0x186ef6=_0xc6a129[_0x3399bd[_0x5e45c5(0x226)](_0x3aaa23,0x1)];if(_0x186ef6&&!_0x186ef6[_0x5e45c5(0x1af)]('-'))return new RegExp(_0x186ef6,'i');}else{if(_0x26e69a&&(_0x26e69a['startsWith'](_0x3399bd[_0x5e45c5(0x25d)])||_0x26e69a[_0x5e45c5(0x1af)](_0x3399bd['Nyjil']))){const _0x186eee=_0x26e69a[_0x5e45c5(0x213)]('=')[_0x5e45c5(0x200)](0x1)[_0x5e45c5(0x1b8)]('=');if(_0x186eee)return new RegExp(_0x186eee,'i');}}}}catch(_0xbd25bd){}return null;}function isPhantomSkipFromNameFilter(_0x3a4138){const _0x24f97a=a21_0x597f8a,_0x39dafe={'cDOUd':function(_0x44bcfc){return _0x44bcfc();},'rcUzz':function(_0x498e01,_0x14bed9){return _0x498e01(_0x14bed9);}},_0x15ae12=_0x39dafe[_0x24f97a(0x1b2)](getActiveTestNamePattern);if(!_0x15ae12)return![];const _0x2dc0b2=_0x39dafe[_0x24f97a(0x1bb)](getFullJestTestName,_0x3a4138);if(!_0x2dc0b2)return![];return!_0x15ae12[_0x24f97a(0x21c)](_0x2dc0b2);}async function isCLIReady(){const _0x13a79d=a21_0x597f8a,_0x435a1d={'FiVIV':_0x13a79d(0x207),'knhWU':function(_0x12e6b9,_0x4e2807){return _0x12e6b9(_0x4e2807);},'sEuin':_0x13a79d(0x1dc),'KLcYv':function(_0x1fb548,_0x19ae37){return _0x1fb548===_0x19ae37;},'YQGph':_0x13a79d(0x217),'XWiMx':function(_0x539712,_0x38c0f9){return _0x539712(_0x38c0f9);}};try{const _0x238b0a=BrowserstackCLI[_0x13a79d(0x1ab)]();if(_0x238b0a[_0x13a79d(0x210)]()&&_0x238b0a['isRunning']())return logger[_0x13a79d(0x240)](_0x435a1d[_0x13a79d(0x1f1)]),!![];const _0x37aed2=process[_0x13a79d(0x1ae)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x37aed2&&_0x238b0a[_0x13a79d(0x210)]()){if(!_0x238b0a[_0x13a79d(0x247)]())try{const _0x20dc77=_0x435a1d[_0x13a79d(0x219)](require,_0x435a1d[_0x13a79d(0x1a1)]),_0x37c215=_0x20dc77['getAutomationFrameworkDetail']();(!_0x37c215||!_0x37c215[_0x13a79d(0x22d)])&&(_0x435a1d[_0x13a79d(0x26f)](process['env']['BROWSERSTACK_PUPPETEER'],_0x435a1d[_0x13a79d(0x260)])?_0x20dc77['setFrameworkDetail'](FRAMEWORKS[_0x13a79d(0x22e)],FRAMEWORKS[_0x13a79d(0x25a)]):_0x20dc77[_0x13a79d(0x18d)](FRAMEWORKS[_0x13a79d(0x22e)],FRAMEWORKS[_0x13a79d(0x1ee)])),await _0x238b0a[_0x13a79d(0x248)]();}catch(_0x16a90a){return _0x435a1d[_0x13a79d(0x219)](debug,_0x13a79d(0x287)+util[_0x13a79d(0x18c)](_0x16a90a)),![];}return _0x238b0a[_0x13a79d(0x247)]();}return![];}catch(_0x58adea){return _0x435a1d['XWiMx'](debug,_0x13a79d(0x1c0)+util[_0x13a79d(0x18c)](_0x58adea)),![];}}function getTestIdentifierForHook(_0x511224){const _0x56f167=a21_0x597f8a,_0x59d65c={};_0x59d65c['AtMrF']=function(_0x503904,_0x163e22){return _0x503904===_0x163e22;},_0x59d65c[_0x56f167(0x246)]=_0x56f167(0x1b0),_0x59d65c[_0x56f167(0x218)]=function(_0x8c8b47,_0x50432c){return _0x8c8b47===_0x50432c;},_0x59d65c[_0x56f167(0x1f6)]='beforeAll';const _0x36d023=_0x59d65c;if(_0x36d023[_0x56f167(0x276)](_0x511224['type'],_0x36d023[_0x56f167(0x246)])||_0x36d023[_0x56f167(0x218)](_0x511224[_0x56f167(0x1ea)],_0x36d023[_0x56f167(0x1f6)])){let _0x32a00e=global[_0x56f167(0x1a5)];if(!_0x32a00e&&_0x36d023[_0x56f167(0x218)](_0x511224[_0x56f167(0x1ea)],_0x36d023[_0x56f167(0x1f6)])&&_0x511224['parent']){const _0x107efc={};_0x107efc['name']=_0x511224[_0x56f167(0x258)][_0x56f167(0x22d)],_0x107efc['parent']=_0x511224[_0x56f167(0x258)]['parent'],_0x107efc[_0x56f167(0x1e7)]=_0x511224[_0x56f167(0x1e7)],_0x107efc['file']=_0x511224[_0x56f167(0x273)];const _0x23340d=_0x107efc;_0x32a00e=jestUtils[_0x56f167(0x22f)](_0x23340d);}return _0x32a00e;}return global[_0x56f167(0x1a5)];}function a21_0x4544(_0x4e909e,_0x48c5ee){const _0x1798b6=a21_0x1798();return a21_0x4544=function(_0x4544a7,_0x15cfa8){_0x4544a7=_0x4544a7-0x183;let _0x2b146d=_0x1798b6[_0x4544a7];return _0x2b146d;},a21_0x4544(_0x4e909e,_0x48c5ee);}function mapHookTypeToState(_0x6cfbb2){const _0x4bd601=a21_0x597f8a,_0x464ff5={};_0x464ff5[_0x4bd601(0x267)]=TestFrameworkState['BEFORE_ALL'],_0x464ff5['afterAll']=TestFrameworkState[_0x4bd601(0x253)],_0x464ff5[_0x4bd601(0x1b0)]=TestFrameworkState[_0x4bd601(0x294)],_0x464ff5[_0x4bd601(0x1c8)]=TestFrameworkState[_0x4bd601(0x24e)];const _0x5da6ce=_0x464ff5;return _0x5da6ce[_0x6cfbb2]||TestFrameworkState[_0x4bd601(0x294)];}async function handleHookEventCLI(_0x41776b,_0x2d34a0,_0x40fefd){const _0x25384d=a21_0x597f8a,_0x18b330={'mCbgn':function(_0x389b34,_0xbcd6bc){return _0x389b34(_0xbcd6bc);},'eAZOe':_0x25384d(0x241),'RHuRW':function(_0x36a7ea,_0x2eaa77){return _0x36a7ea===_0x2eaa77;},'YcBkG':'ROOT_DESCRIBE_BLOCK','mHbqE':function(_0x38f9d3){return _0x38f9d3();},'zXOWi':function(_0x192454){return _0x192454();},'oAmKr':_0x25384d(0x21d),'FXbMp':function(_0x1e9699,_0x2f4bd3){return _0x1e9699(_0x2f4bd3);},'DanoX':function(_0x426fb1,_0x6c7732){return _0x426fb1===_0x6c7732;},'jkfiz':function(_0x570b73,_0x3fce8c){return _0x570b73(_0x3fce8c);},'AGueD':'HookRunFinished','lfzML':_0x25384d(0x215)};logger[_0x25384d(0x240)](_0x25384d(0x284)+_0x2d34a0+_0x25384d(0x297)+_0x41776b[_0x25384d(0x1ea)]);try{if(_0x41776b['fn']&&_0x41776b['fn'][_0x25384d(0x251)]()[_0x25384d(0x1d1)](/browserstack internal helper hook/))return;if(_0x41776b[_0x25384d(0x258)]&&_0x18b330[_0x25384d(0x1b5)](_0x41776b[_0x25384d(0x258)][_0x25384d(0x22d)],_0x18b330['YcBkG'])){const _0x3f6b9b=_0x41776b['asyncError']&&((()=>{const _0x5291dd=_0x25384d;try{const _0xe37091=_0x18b330[_0x5291dd(0x239)](require,_0x18b330['eAZOe']),_0x538dbc=_0xe37091['parse']['call'](_0xe37091,_0x41776b[_0x5291dd(0x1e7)]);return _0x538dbc[0x0]&&_0x538dbc[0x0][_0x5291dd(0x244)]?_0x538dbc[0x0][_0x5291dd(0x244)]():null;}catch(_0x5cfd11){return logger[_0x5291dd(0x240)](_0x5291dd(0x23a)+_0x5cfd11[_0x5291dd(0x20e)]),null;}})())||_0x41776b[_0x25384d(0x273)]||null;if(!_0x3f6b9b)return;}let _0x27fc86=_0x41776b[_0x25384d(0x1de)];if(!_0x27fc86)_0x27fc86=_0x18b330[_0x25384d(0x290)](uuidv4),_0x41776b[_0x25384d(0x1de)]=_0x27fc86;else _0x41776b[_0x25384d(0x224)]&&(_0x27fc86=_0x18b330['zXOWi'](uuidv4),_0x41776b[_0x25384d(0x1de)]=_0x27fc86,delete _0x41776b[_0x25384d(0x224)]);_0x18b330[_0x25384d(0x1b5)](_0x2d34a0,_0x18b330[_0x25384d(0x27d)])&&(_0x41776b['started_at']=new Date()[_0x25384d(0x214)]());const _0x3dacc7=_0x18b330[_0x25384d(0x296)](getTestIdentifierForHook,_0x41776b);!global[_0x25384d(0x263)]&&(global[_0x25384d(0x263)]={});if(_0x18b330[_0x25384d(0x227)](_0x2d34a0,_0x18b330[_0x25384d(0x27d)])){global[_0x25384d(0x263)][_0x25384d(0x1f8)]={'hookUUID':_0x27fc86,'testIdentifier':_0x3dacc7,'hookType':_0x41776b[_0x25384d(0x1ea)],'startedAt':new Date()[_0x25384d(0x214)]()};const _0x3f2142=BrowserstackCLI['getInstance']()['getTestFramework']();_0x3f2142&&_0x3f2142[_0x25384d(0x249)]&&_0x3f2142[_0x25384d(0x249)](_0x3dacc7,_0x27fc86,_0x41776b[_0x25384d(0x1ea)]);}const _0x5b2a10=await jestUtils[_0x25384d(0x1b3)](_0x41776b,_0x27fc86,_0x2d34a0,_0x3dacc7);if(!_0x5b2a10)return;const _0x3cfe35=_0x18b330[_0x25384d(0x26a)](mapHookTypeToState,_0x41776b[_0x25384d(0x1ea)]),_0x4c4ec3=_0x18b330['DanoX'](_0x2d34a0,_0x18b330[_0x25384d(0x27d)])?HookState[_0x25384d(0x1f5)]:HookState['POST'],_0x3b0025=BrowserstackCLI[_0x25384d(0x1ab)]()['getTestFramework']();if(_0x3b0025){const _0x4aa742={};_0x4aa742[_0x25384d(0x22b)]=_0x5b2a10,await _0x3b0025[_0x25384d(0x1c5)](_0x3cfe35,_0x4c4ec3,_0x4aa742);if(_0x18b330[_0x25384d(0x1b5)](_0x2d34a0,_0x18b330[_0x25384d(0x1e4)])){const _0x46d2be={};_0x46d2be[_0x25384d(0x19b)]=_0x3dacc7,_0x46d2be[_0x25384d(0x1ea)]=_0x18b330[_0x25384d(0x19d)],await _0x3b0025[_0x25384d(0x1c5)](TestFrameworkState[_0x25384d(0x237)],HookState[_0x25384d(0x285)],_0x46d2be),global[_0x25384d(0x263)]&&global[_0x25384d(0x263)][_0x25384d(0x1f8)]&&_0x18b330[_0x25384d(0x227)](global[_0x25384d(0x263)][_0x25384d(0x1f8)][_0x25384d(0x1dd)],_0x27fc86)&&delete global[_0x25384d(0x263)][_0x25384d(0x1f8)],_0x3b0025[_0x25384d(0x1c2)]&&_0x3b0025[_0x25384d(0x1c2)](_0x3dacc7,_0x27fc86);}}}catch(_0x7d1bd8){logger['error'](_0x25384d(0x21f)+util[_0x25384d(0x18c)](_0x7d1bd8));throw _0x7d1bd8;}}async function handleTestEventCLI(_0x3a3683,_0x48e769,_0x365237){const _0x496de2=a21_0x597f8a,_0x1ee38c={};_0x1ee38c[_0x496de2(0x28d)]=function(_0x64081e,_0x15c225){return _0x64081e===_0x15c225;},_0x1ee38c[_0x496de2(0x193)]='TestRunStarted',_0x1ee38c['oODWD']=function(_0x51d1c2,_0x1a5e8f){return _0x51d1c2>_0x1a5e8f;},_0x1ee38c[_0x496de2(0x1eb)]=function(_0x521d7e,_0x76d4ca){return _0x521d7e&&_0x76d4ca;},_0x1ee38c[_0x496de2(0x1be)]=_0x496de2(0x189),_0x1ee38c['UkTBJ']='TestRunFinished',_0x1ee38c['vvVrO']=function(_0x3d5024,_0x14481f){return _0x3d5024&&_0x14481f;},_0x1ee38c['coEbw']=_0x496de2(0x21c);const _0x2aae0b=_0x1ee38c;logger[_0x496de2(0x240)](_0x496de2(0x183)+_0x48e769);try{let _0x39c96f;if(_0x2aae0b[_0x496de2(0x28d)](_0x48e769,_0x2aae0b[_0x496de2(0x193)])){_0x39c96f=jestUtils[_0x496de2(0x22f)](_0x3a3683),global['__jestCurrentTestIdentifier']=_0x39c96f,_0x3a3683[_0x496de2(0x299)]=_0x39c96f,_0x3a3683['id']=_0x39c96f,_0x3a3683['started_at']=new Date()[_0x496de2(0x214)]();const _0x324fec=_0x365237['current_test'];_0x365237[_0x496de2(0x25c)]=_0x3a3683,_0x3a3683['retryOf']=null;if(_0x2aae0b[_0x496de2(0x195)](_0x3a3683[_0x496de2(0x283)],0x0)&&_0x324fec&&_0x2aae0b[_0x496de2(0x28d)](_0x324fec[_0x496de2(0x223)],_0x3a3683[_0x496de2(0x223)])){_0x3a3683[_0x496de2(0x279)]=_0x324fec[_0x496de2(0x299)];const _0xe43e31=await jestUtils[_0x496de2(0x235)](_0x3a3683,_0x39c96f,_0x2aae0b[_0x496de2(0x193)]),_0x1fec46=BrowserstackCLI[_0x496de2(0x1ab)]()[_0x496de2(0x1ef)]();if(_0x2aae0b[_0x496de2(0x1eb)](_0xe43e31,_0x1fec46)){const _0x1674e6={};_0x1674e6[_0x496de2(0x21c)]=_0xe43e31,await _0x1fec46[_0x496de2(0x1c5)](TestFrameworkState[_0x496de2(0x187)],HookState['PRE'],_0x1674e6);}_0x324fec[_0x496de2(0x25f)]=_0x2aae0b['lQrEx'];const _0x235333=await jestUtils[_0x496de2(0x235)](_0x324fec,_0x324fec[_0x496de2(0x299)],_0x2aae0b[_0x496de2(0x196)]);if(_0x2aae0b[_0x496de2(0x1eb)](_0x235333,_0x1fec46)){const _0x3ca48f={};_0x3ca48f[_0x496de2(0x21c)]=_0x235333,await _0x1fec46[_0x496de2(0x1c5)](TestFrameworkState[_0x496de2(0x187)],HookState['POST'],_0x3ca48f);}}else{const _0x5dff5e=await jestUtils[_0x496de2(0x235)](_0x3a3683,_0x39c96f,_0x2aae0b[_0x496de2(0x193)]),_0x24fead=BrowserstackCLI[_0x496de2(0x1ab)]()['getTestFramework']();if(_0x2aae0b['MJMXs'](_0x5dff5e,_0x24fead)){const _0x23b4a4={};_0x23b4a4[_0x496de2(0x21c)]=_0x5dff5e,await _0x24fead[_0x496de2(0x1c5)](TestFrameworkState[_0x496de2(0x187)],HookState['PRE'],_0x23b4a4);}}}else{_0x39c96f=_0x3a3683[_0x496de2(0x299)]||_0x3a3683['id']||global['__jestCurrentTestIdentifier'];const _0xab76db=await jestUtils['createTestFrameworkData'](_0x3a3683,_0x39c96f,_0x48e769),_0x546273=BrowserstackCLI['getInstance']()[_0x496de2(0x1ef)]();if(_0x2aae0b['vvVrO'](_0xab76db,_0x546273)){const _0x4ef788={};_0x4ef788[_0x496de2(0x21c)]=_0xab76db,_0x4ef788[_0x496de2(0x1fb)]=_0x3a3683,_0x4ef788[_0x496de2(0x264)]=_0x39c96f,await _0x546273[_0x496de2(0x1c5)](TestFrameworkState[_0x496de2(0x187)],HookState[_0x496de2(0x285)],_0x4ef788);const _0x5ef876={};_0x5ef876[_0x496de2(0x19b)]=_0x39c96f,_0x5ef876[_0x496de2(0x1ea)]=_0x2aae0b[_0x496de2(0x1c1)],await _0x546273[_0x496de2(0x1c5)](TestFrameworkState['LOG_REPORT'],HookState[_0x496de2(0x285)],_0x5ef876);}}}catch(_0x4f1c0c){logger[_0x496de2(0x21a)](_0x496de2(0x293)+util['format'](_0x4f1c0c));throw _0x4f1c0c;}}exportsI['initialize']=(..._0x40b007)=>{const _0x5880cc=a21_0x597f8a,_0x26394a={'kANaA':function(_0x320ae5,_0x2a0a89){return _0x320ae5(_0x2a0a89);},'lgpBT':_0x5880cc(0x241),'MHRNx':function(_0x51b683,_0x2beec4){return _0x51b683(_0x2beec4);},'zmZHx':function(_0x415f41,_0x30ad74){return _0x415f41&&_0x30ad74;},'Wgtic':_0x5880cc(0x1d9),'sLPMo':function(_0x66e189,_0x4118fa){return _0x66e189===_0x4118fa;},'rgbwL':_0x5880cc(0x1c9),'WXjqq':function(_0x4495d6){return _0x4495d6();},'ZLGYx':function(_0xc91202,_0x43b84e,_0x2359ca,_0x4bb912){return _0xc91202(_0x43b84e,_0x2359ca,_0x4bb912);},'JPxHw':_0x5880cc(0x21d),'NHqBP':function(_0x358e1b,_0x4dc031){return _0x358e1b(_0x4dc031);},'KxFHQ':'hook_success','VPlcU':function(_0x34981c,_0x1ad544){return _0x34981c(_0x1ad544);},'PWhpk':function(_0x1d06e3,_0x72a7,_0x379781,_0x26d242){return _0x1d06e3(_0x72a7,_0x379781,_0x26d242);},'umumR':_0x5880cc(0x277),'lffnI':_0x5880cc(0x1df),'HrkUs':_0x5880cc(0x267),'eLGxD':_0x5880cc(0x1b0),'Lvcnw':_0x5880cc(0x1c8),'BXWru':function(_0x12b9f0,_0x6c687a){return _0x12b9f0>_0x6c687a;},'RFQxL':function(_0x1e5a5a,_0x25413f){return _0x1e5a5a(_0x25413f);},'hehsy':function(_0x31faf2,_0x4c46b0){return _0x31faf2(_0x4c46b0);},'ZBZmD':function(_0x51bbf1,_0x259bc4){return _0x51bbf1(_0x259bc4);},'cdkOp':_0x5880cc(0x1f2),'jvFcc':function(_0x451980,_0x277db8){return _0x451980(_0x277db8);},'CevfJ':function(_0x545aac,_0x48ffa1){return _0x545aac!==_0x48ffa1;},'tmmhd':_0x5880cc(0x1ad),'xvRFf':function(_0x4c4f2e){return _0x4c4f2e();},'SQxnZ':function(_0x4acc52,_0x1dc6fa,_0x46b64c,_0x33f40f){return _0x4acc52(_0x1dc6fa,_0x46b64c,_0x33f40f);},'EizKF':_0x5880cc(0x275),'yvjda':_0x5880cc(0x1a2),'tGnVI':function(_0x5dac6b,_0x4a9a3d){return _0x5dac6b(_0x4a9a3d);},'piiFf':function(_0x35986b,_0x58ec2f){return _0x35986b(_0x58ec2f);},'KXUUL':function(_0x5e398c,_0x5f1310){return _0x5e398c===_0x5f1310;},'GRfpn':_0x5880cc(0x1f0),'MBpqv':_0x5880cc(0x189),'ZYnMW':_0x5880cc(0x1e2),'KIqEP':function(_0x39ae8e,_0x7c4150){return _0x39ae8e||_0x7c4150;},'wQxyc':function(_0x515e57){return _0x515e57();},'LQjgX':_0x5880cc(0x1ac),'FgyPv':function(_0x4d6b57){return _0x4d6b57();},'xTpeO':'test_skip','JMbTK':function(_0x3cf226,_0x3f629d){return _0x3cf226(_0x3f629d);},'wOdRt':function(_0x573a87){return _0x573a87();},'Owzgo':function(_0x51c9f0,_0x4602ad,_0xadd431,_0x16b8df){return _0x51c9f0(_0x4602ad,_0xadd431,_0x16b8df);},'GcRcR':_0x5880cc(0x1e6),'LBpEF':_0x5880cc(0x1fd),'GvdvQ':_0x5880cc(0x254),'dsPrz':function(_0x4e1600){return _0x4e1600();},'TqlGh':function(_0x5e5bcc,_0x26d1f0){return _0x5e5bcc===_0x26d1f0;},'BsOnQ':_0x5880cc(0x265),'ZhpBy':function(_0x48efba,_0x4e1f77){return _0x48efba===_0x4e1f77;},'QhFpc':_0x5880cc(0x256),'CEKLJ':function(_0x5ec2ca,_0x2c6c24){return _0x5ec2ca===_0x2c6c24;},'NAAgk':function(_0x372e8a,_0x5949c5){return _0x372e8a===_0x5949c5;},'mhHOI':function(_0xdb87a6){return _0xdb87a6();},'XoOTh':function(_0x49c0e1,_0x55b649,_0x5a658d){return _0x49c0e1(_0x55b649,_0x5a658d);},'JeatK':_0x5880cc(0x186),'dMNRc':_0x5880cc(0x1cc),'EbWxJ':_0x5880cc(0x24d),'wDSib':function(_0x589dc5){return _0x589dc5();},'kwmug':_0x5880cc(0x198),'YfSaP':function(_0x46c882,_0x280e49){return _0x46c882(_0x280e49);}};try{logger[_0x5880cc(0x240)](_0x5880cc(0x211)+_0x26394a[_0x5880cc(0x190)](shouldProcessEventForTesthub)+_0x5880cc(0x1e9)+process[_0x5880cc(0x1ae)][_0x5880cc(0x25b)]);const _0x198000=_0x40b007&&_0x40b007[0x0]?_0x40b007[0x0]:{};_0x198000&&_0x26394a['TqlGh'](typeof _0x198000[_0x5880cc(0x1ba)],_0x26394a[_0x5880cc(0x20d)])&&_0x198000['testPath']&&(_currentTestPath=_0x198000['testPath']);let _0x2c7b57=0x0;try{if(_0x198000['config']&&_0x26394a[_0x5880cc(0x24c)](typeof _0x198000['config'][_0x5880cc(0x1c3)],_0x26394a[_0x5880cc(0x205)]))_0x2c7b57=_0x198000[_0x5880cc(0x26d)][_0x5880cc(0x1c3)];else{if(_0x198000['configuration']&&_0x26394a[_0x5880cc(0x1b1)](typeof _0x198000[_0x5880cc(0x23f)][_0x5880cc(0x1c3)],_0x26394a[_0x5880cc(0x205)]))_0x2c7b57=_0x198000['configuration'][_0x5880cc(0x1c3)];else global[_0x5880cc(0x19f)]&&_0x26394a[_0x5880cc(0x1a9)](typeof global[_0x5880cc(0x19f)]['browserstackPlatformIndex'],_0x26394a[_0x5880cc(0x205)])&&(_0x2c7b57=global[_0x5880cc(0x19f)]['browserstackPlatformIndex']);}}catch(_0x3995ab){logger['debug'](_0x5880cc(0x245)+util['format'](_0x3995ab));}global[_0x5880cc(0x269)]=_0x2c7b57,process['env'][_0x5880cc(0x280)]=_0x26394a[_0x5880cc(0x221)](String,_0x2c7b57);const _0xf0a602=new ObservabilityReporter();!_initializedPlatformIndices[_0x5880cc(0x1a0)](_0x2c7b57)?(logger[_0x5880cc(0x240)](_0x5880cc(0x1d0)+_0x2c7b57),_initializedPlatformIndices['add'](_0x2c7b57),_0x26394a[_0x5880cc(0x1e3)](shouldProcessEventForTesthub)&&(_0x26394a[_0x5880cc(0x236)](patchConsoleLogger),_0xf0a602[_0x5880cc(0x26b)]())):logger[_0x5880cc(0x240)](_0x5880cc(0x234)+_0x2c7b57+_0x5880cc(0x188));let _0x139f0e;try{_0x139f0e=_0x26394a['XoOTh'](requireModule,_0x26394a[_0x5880cc(0x232)],_0x26394a[_0x5880cc(0x18a)]);}catch{_0x139f0e=_0x26394a[_0x5880cc(0x19e)](requireModule,_0x26394a[_0x5880cc(0x18a)]);}let _0x491884;try{_0x491884=_0x26394a[_0x5880cc(0x1db)](requireModule,_0x26394a[_0x5880cc(0x1a6)],_0x26394a[_0x5880cc(0x18a)])[_0x5880cc(0x18b)];}catch{_0x491884=_0x26394a['VPlcU'](requireModule,_0x26394a[_0x5880cc(0x18a)])[_0x5880cc(0x18b)]||(()=>({}));}const _0x2020e8=BrowserstackCLI[_0x5880cc(0x1ab)]()[_0x5880cc(0x210)]();(_0x26394a[_0x5880cc(0x201)](shouldProcessEventForTesthub)||_0x2020e8)&&_0x139f0e[_0x5880cc(0x1b6)](_0x26394a[_0x5880cc(0x1db)](o11yErrorHandler,async(_0x204362,_0x4d1553)=>{const _0x373af8=_0x5880cc;_0x26394a[_0x373af8(0x1b9)](_currentTestPath,_0x204362)&&_0x204362[_0x373af8(0x21c)]&&!_0x204362[_0x373af8(0x21c)]['file']&&(_0x204362[_0x373af8(0x21c)][_0x373af8(0x273)]=_currentTestPath);switch(_0x204362[_0x373af8(0x22d)]){case _0x26394a[_0x373af8(0x24f)]:if(_0x204362[_0x373af8(0x215)]['fn']&&_0x204362[_0x373af8(0x215)]['fn'][_0x373af8(0x251)]()[_0x373af8(0x1d1)](/browserstack internal helper hook/))break;if(_0x204362['hook'][_0x373af8(0x258)]&&_0x26394a[_0x373af8(0x27f)](_0x204362['hook'][_0x373af8(0x258)][_0x373af8(0x22d)],_0x26394a[_0x373af8(0x228)])){const _0x4d524f=_0x204362[_0x373af8(0x215)][_0x373af8(0x1e7)]&&((()=>{const _0x58c0f1=_0x373af8;try{const _0x3c1b2a=_0x26394a['kANaA'](require,_0x26394a[_0x58c0f1(0x27b)]),_0x4221bb=_0x3c1b2a[_0x58c0f1(0x282)][_0x58c0f1(0x206)](_0x3c1b2a,_0x204362[_0x58c0f1(0x215)][_0x58c0f1(0x1e7)]);return _0x4221bb[0x0]&&_0x4221bb[0x0]['getFileName']?_0x4221bb[0x0][_0x58c0f1(0x244)]():null;}catch(_0x533c44){return logger[_0x58c0f1(0x240)](_0x58c0f1(0x23a)+_0x533c44[_0x58c0f1(0x20e)]),null;}})())||_0x204362[_0x373af8(0x215)]['file']||null;if(!_0x4d524f)break;}if(BrowserstackCLI[_0x373af8(0x1ab)]()[_0x373af8(0x210)]()&&await _0x26394a[_0x373af8(0x252)](isCLIReady)){if(_0x26394a[_0x373af8(0x19e)](shouldProcessEventForTesthub,testHubConstants[_0x373af8(0x222)][_0x373af8(0x1b7)]))try{await _0x26394a[_0x373af8(0x1a3)](handleHookEventCLI,_0x204362[_0x373af8(0x215)],_0x26394a[_0x373af8(0x270)],_0x4d1553);break;}catch(_0x19d9d9){_0x26394a['MHRNx'](debug,_0x373af8(0x1fe)+util['format'](_0x19d9d9));}}if(_0x26394a[_0x373af8(0x1da)](shouldProcessEventForTesthub,testHubConstants[_0x373af8(0x222)][_0x373af8(0x1b7)])){if(!_0x204362[_0x373af8(0x215)][_0x373af8(0x1de)]){const _0x348c8c=TestDetails[_0x373af8(0x28c)](process[_0x373af8(0x21b)]+_0x373af8(0x1d7));_0x204362[_0x373af8(0x215)]['hookAnalyticsId']=_0x348c8c;}else _0x204362[_0x373af8(0x215)][_0x373af8(0x224)]&&(_0x204362[_0x373af8(0x215)][_0x373af8(0x1de)]=TestDetails[_0x373af8(0x28c)](process[_0x373af8(0x21b)]+_0x373af8(0x1d7)),delete _0x204362[_0x373af8(0x215)][_0x373af8(0x224)]);_0x204362[_0x373af8(0x215)][_0x373af8(0x1e1)]=new Date()[_0x373af8(0x214)](),await _0xf0a602[_0x373af8(0x185)](_0x204362[_0x373af8(0x215)],undefined,![],_0x26394a['JPxHw']);}break;case _0x26394a['KxFHQ']:if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x26394a['WXjqq'](isCLIReady)){if(_0x26394a['VPlcU'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x373af8(0x1f7)]))try{await _0x26394a['PWhpk'](handleHookEventCLI,_0x204362['hook'],_0x26394a[_0x373af8(0x1a4)],_0x4d1553);break;}catch(_0x3961f6){_0x26394a[_0x373af8(0x28e)](debug,_0x373af8(0x1fe)+util[_0x373af8(0x18c)](_0x3961f6));}}_0x26394a[_0x373af8(0x1da)](shouldProcessEventForTesthub,testHubConstants[_0x373af8(0x222)][_0x373af8(0x1f7)])&&(await _0xf0a602['sendTestRunEvent'](_0x204362[_0x373af8(0x215)],undefined,![],_0x26394a[_0x373af8(0x1a4)]),TestDetails[_0x373af8(0x1e5)](process[_0x373af8(0x21b)]+':hookAnalyticsId'));break;case _0x26394a[_0x373af8(0x266)]:[_0x26394a[_0x373af8(0x262)],_0x26394a[_0x373af8(0x257)],_0x26394a[_0x373af8(0x1f4)]][_0x373af8(0x292)](_0x204362[_0x373af8(0x215)][_0x373af8(0x1ea)])&&(_0xf0a602[_0x373af8(0x1df)]=_0x204362['hook']['type']),_0x4d1553[_0x373af8(0x29e)]&&_0x26394a['BXWru'](_0x4d1553[_0x373af8(0x29e)]['length'],0x0)&&(_0x204362['hook'][_0x373af8(0x208)]=[_0x4d1553['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI[_0x373af8(0x1ab)]()[_0x373af8(0x210)]()&&await _0x26394a[_0x373af8(0x252)](isCLIReady)){if(_0x26394a['RFQxL'](shouldProcessEventForTesthub,testHubConstants[_0x373af8(0x222)]['HookFinished']))try{await _0x26394a['ZLGYx'](handleHookEventCLI,_0x204362['hook'],_0x26394a[_0x373af8(0x1a4)],_0x4d1553);break;}catch(_0x14ebc9){_0x26394a[_0x373af8(0x1cf)](debug,_0x373af8(0x1fe)+util['format'](_0x14ebc9));}}_0x26394a[_0x373af8(0x221)](shouldProcessEventForTesthub,testHubConstants[_0x373af8(0x222)][_0x373af8(0x1f7)])&&(await _0xf0a602[_0x373af8(0x185)](_0x204362['hook'],undefined,![],_0x26394a[_0x373af8(0x1a4)]),TestDetails['removeTestUUID'](process['pid']+_0x373af8(0x1d7)));break;case _0x26394a[_0x373af8(0x184)]:if(_0x26394a[_0x373af8(0x1da)](isTrue,process[_0x373af8(0x1ae)][_0x373af8(0x229)])&&_0x26394a[_0x373af8(0x27c)](isPhantomSkipFromNameFilter,_0x204362[_0x373af8(0x21c)])){const _0x23230f=_0x26394a[_0x373af8(0x20c)](getFullJestTestName,_0x204362[_0x373af8(0x21c)]);logger[_0x373af8(0x240)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x23230f+'\x22');break;}try{let _0x3ba62c=_0x204362[_0x373af8(0x21c)][_0x373af8(0x22d)]||'';try{let _0x2ff5ea=_0x204362[_0x373af8(0x21c)]['parent'];const _0x514658=[_0x3ba62c];while(_0x2ff5ea&&_0x2ff5ea[_0x373af8(0x22d)]&&_0x26394a[_0x373af8(0x288)](_0x2ff5ea['name'],_0x26394a[_0x373af8(0x228)])){_0x514658[_0x373af8(0x194)](_0x2ff5ea['name']),_0x2ff5ea=_0x2ff5ea[_0x373af8(0x258)];}_0x3ba62c=_0x514658[_0x373af8(0x1b8)](_0x26394a['tmmhd']);}catch(_0x3ec0bd){logger['debug'](_0x373af8(0x25e)+_0x3ec0bd['message']);}process[_0x373af8(0x1e0)]=_0x3ba62c,process[_0x373af8(0x289)]=null,process['_bstackTestFailureReason']=null,logger[_0x373af8(0x240)](_0x373af8(0x255)+_0x3ba62c+'\x22');if(!global[_0x373af8(0x263)]){const _0x544345={};_0x544345[_0x373af8(0x1b4)]={},global[_0x373af8(0x263)]=_0x544345;}!global[_0x373af8(0x263)][_0x373af8(0x1b4)]&&(global['__workerDetails'][_0x373af8(0x1b4)]={});const _0x560513={};_0x560513['title']=_0x3ba62c,_0x560513['name']=_0x3ba62c,global[_0x373af8(0x263)][_0x373af8(0x1b4)][_0x373af8(0x197)]=_0x560513,global[_0x373af8(0x18e)]=_0x3ba62c;}catch(_0x4f7c60){logger[_0x373af8(0x240)](_0x373af8(0x29c)+_0x4f7c60[_0x373af8(0x20e)]);}if(BrowserstackCLI[_0x373af8(0x1ab)]()[_0x373af8(0x210)]()&&await _0x26394a[_0x373af8(0x1ed)](isCLIReady))try{await _0x26394a[_0x373af8(0x231)](handleTestEventCLI,_0x204362[_0x373af8(0x21c)],_0x26394a[_0x373af8(0x278)],_0xf0a602);break;}catch(_0x5aea52){_0x26394a[_0x373af8(0x20c)](debug,_0x373af8(0x1fe)+util[_0x373af8(0x18c)](_0x5aea52));}_0x26394a['WXjqq'](shouldProcessEventForTesthub)&&await _0xf0a602[_0x373af8(0x18f)](_0x204362[_0x373af8(0x21c)]);break;case _0x26394a[_0x373af8(0x250)]:{const _0x2625e5=_0x204362[_0x373af8(0x21c)];if(_0x26394a[_0x373af8(0x221)](isTrue,process[_0x373af8(0x1ae)][_0x373af8(0x229)])&&_0x26394a[_0x373af8(0x1cb)](isPhantomSkipFromNameFilter,_0x2625e5)){const _0x23c175=_0x26394a[_0x373af8(0x1da)](getFullJestTestName,_0x2625e5);logger[_0x373af8(0x240)](_0x373af8(0x281)+_0x23c175+'\x22'),_0x2625e5[_0x373af8(0x224)]=!![];break;}_0x204362[_0x373af8(0x21c)]={..._0x26394a[_0x373af8(0x274)](_0x491884,_0x204362[_0x373af8(0x21c)]),..._0x204362['test']};try{const _0x1fd215=_0x204362[_0x373af8(0x21c)][_0x373af8(0x1d3)]||[],_0x373f70=_0x26394a[_0x373af8(0x1ce)](_0x1fd215[_0x373af8(0x1cd)],0x0)||_0x26394a[_0x373af8(0x29a)](_0x204362[_0x373af8(0x21c)][_0x373af8(0x23c)],_0x26394a[_0x373af8(0x1ca)]),_0x2a438f=_0x373f70?_0x26394a[_0x373af8(0x199)]:_0x26394a[_0x373af8(0x295)];let _0x1fe0f8='';_0x373f70&&(_0x1fe0f8=_0x1fd215[_0x373af8(0x202)](_0x4cc063=>{const _0xccd3f4=_0x373af8;if(Array['isArray'](_0x4cc063))return _0x4cc063[_0xccd3f4(0x202)](_0x19540a=>_0x19540a&&_0x19540a[_0xccd3f4(0x20e)]||String(_0x19540a))[_0xccd3f4(0x1b8)](';\x20');return _0x4cc063&&_0x4cc063[_0xccd3f4(0x20e)]||_0x26394a[_0xccd3f4(0x19e)](String,_0x4cc063);})[_0x373af8(0x1b8)](';\x20')),process[_0x373af8(0x289)]=_0x2a438f,process[_0x373af8(0x19a)]=_0x26394a['KIqEP'](_0x1fe0f8,''),logger[_0x373af8(0x240)](_0x373af8(0x27e)+_0x2a438f+'\x22'),global[_0x373af8(0x263)]&&global['__workerDetails'][_0x373af8(0x1b4)]&&(!global[_0x373af8(0x263)]['currentTest'][_0x373af8(0x197)]&&(global[_0x373af8(0x263)][_0x373af8(0x1b4)][_0x373af8(0x197)]={}),global[_0x373af8(0x263)][_0x373af8(0x1b4)]['testInfo'][_0x373af8(0x23c)]=_0x2a438f,_0x373f70&&(global[_0x373af8(0x263)][_0x373af8(0x1b4)][_0x373af8(0x197)][_0x373af8(0x225)]=_0x1fe0f8));}catch(_0x4b2577){logger['debug'](_0x373af8(0x1c7)+_0x4b2577[_0x373af8(0x20e)]);}if(!_0x204362[_0x373af8(0x21c)][_0x373af8(0x224)]){_0x204362[_0x373af8(0x21c)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0x373af8(0x210)]()&&await _0x26394a[_0x373af8(0x209)](isCLIReady))try{await _0x26394a[_0x373af8(0x1c6)](handleTestEventCLI,_0x204362[_0x373af8(0x21c)],_0x26394a['LQjgX'],_0xf0a602);break;}catch(_0x597423){_0x26394a[_0x373af8(0x27c)](debug,_0x373af8(0x1fe)+util['format'](_0x597423));}_0x26394a[_0x373af8(0x1e3)](shouldProcessEventForTesthub)&&await _0xf0a602[_0x373af8(0x185)](_0x204362['test']);}break;}case _0x26394a['xTpeO']:{const _0xd837fe=_0x204362[_0x373af8(0x21c)];if(_0x26394a[_0x373af8(0x1d2)](isTrue,process[_0x373af8(0x1ae)][_0x373af8(0x229)])&&_0x26394a['piiFf'](isPhantomSkipFromNameFilter,_0xd837fe)){const _0x71c1b1=_0x26394a['hehsy'](getFullJestTestName,_0xd837fe);logger[_0x373af8(0x240)](_0x373af8(0x1bd)+_0x71c1b1+'\x22'),_0xd837fe[_0x373af8(0x224)]=!![];break;}_0x204362[_0x373af8(0x21c)]={..._0x26394a['piiFf'](_0x491884,_0x204362[_0x373af8(0x21c)]),..._0x204362[_0x373af8(0x21c)]};if(!_0x204362['test']['markedStatus']){_0x204362[_0x373af8(0x21c)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0x373af8(0x210)]()&&await _0x26394a[_0x373af8(0x286)](isCLIReady))try{await _0x26394a[_0x373af8(0x1d8)](handleTestEventCLI,_0x204362['test'],_0x26394a[_0x373af8(0x191)],_0xf0a602);break;}catch(_0x34a564){_0x26394a[_0x373af8(0x1d2)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x373af8(0x18c)](_0x34a564));}_0x26394a[_0x373af8(0x252)](shouldProcessEventForTesthub)&&await _0xf0a602['sendTestRunEvent'](_0x204362['test'],undefined,![],_0x26394a['GcRcR']);}break;}case _0x26394a[_0x373af8(0x27a)]:_0xf0a602[_0x373af8(0x1df)]=null;break;case _0x26394a[_0x373af8(0x24b)]:await RequestQueueHandler[_0x373af8(0x1ab)]()[_0x373af8(0x203)](),process[_0x373af8(0x1bc)]();break;default:}},_0x26394a[_0x5880cc(0x1a7)]));}catch(_0x1f0754){_0x26394a[_0x5880cc(0x26c)](debug,_0x5880cc(0x1d4)+_0x1f0754);}return _0x26394a[_0x5880cc(0x274)](initInitialize,..._0x40b007);};try{Object[a21_0x597f8a(0x24a)](exportsI)['forEach'](_0x394ca6=>{const _0x179d7b=a21_0x597f8a,_0x17d39f={'kGGcg':function(_0x2aedcc,_0x449971){return _0x2aedcc(_0x449971);}};try{exports&&(exports[_0x394ca6]=exportsI[_0x394ca6]);}catch(_0x31f2bd){_0x17d39f[_0x179d7b(0x233)](debug,_0x179d7b(0x28b)+_0x31f2bd);}});}catch(a21_0x13874f){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a21_0x13874f);}const a21_0x4a0032={};a21_0x4a0032[a21_0x597f8a(0x22c)]=getFullJestTestName,a21_0x4a0032[a21_0x597f8a(0x1ff)]=getActiveTestNamePattern,a21_0x4a0032['isPhantomSkipFromNameFilter']=isPhantomSkipFromNameFilter,exports['__rerunFilterHelpers']=a21_0x4a0032;
1
+ const a21_0x4b1153=a21_0x28a5;(function(_0x5435e6,_0x404bfe){const _0x2a00a8=a21_0x28a5,_0x11f0e3=_0x5435e6();while(!![]){try{const _0x1ec2e9=-parseInt(_0x2a00a8(0x25e))/0x1*(-parseInt(_0x2a00a8(0x25f))/0x2)+parseInt(_0x2a00a8(0x1c9))/0x3*(-parseInt(_0x2a00a8(0x1d0))/0x4)+parseInt(_0x2a00a8(0x1e2))/0x5+parseInt(_0x2a00a8(0x1ba))/0x6+-parseInt(_0x2a00a8(0x233))/0x7+parseInt(_0x2a00a8(0x213))/0x8+-parseInt(_0x2a00a8(0x1cf))/0x9;if(_0x1ec2e9===_0x404bfe)break;else _0x11f0e3['push'](_0x11f0e3['shift']());}catch(_0x37a1e6){_0x11f0e3['push'](_0x11f0e3['shift']());}}}(a21_0x111d,0xb2640));const {requireModule,isTrue}=require(a21_0x4b1153(0x286)),ObservabilityReporter=require(a21_0x4b1153(0x283)),RequestQueueHandler=require(a21_0x4b1153(0x200)),TestDetails=require(a21_0x4b1153(0x248)),{patchConsoleLogger,debug}=require(a21_0x4b1153(0x2a9)),{o11yErrorHandler}=require(a21_0x4b1153(0x2b8)),{shouldProcessEventForTesthub}=require(a21_0x4b1153(0x25b)),testHubConstants=require(a21_0x4b1153(0x235)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a21_0x4b1153(0x272)),HookState=require(a21_0x4b1153(0x1f6)),JestUtils=require(a21_0x4b1153(0x1b2)),{v4:uuidv4}=require(a21_0x4b1153(0x210)),util=require('util'),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a21_0x4b1153(0x1ee));let exportsI;try{exportsI=requireModule(a21_0x4b1153(0x239),a21_0x4b1153(0x1f7));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js','jest-circus');}const initInitialize=exportsI[a21_0x4b1153(0x1ed)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function a21_0x28a5(_0x591de4,_0x17a0ae){const _0x111d85=a21_0x111d();return a21_0x28a5=function(_0x28a532,_0x111d3a){_0x28a532=_0x28a532-0x1b0;let _0x3ae0e4=_0x111d85[_0x28a532];return _0x3ae0e4;},a21_0x28a5(_0x591de4,_0x17a0ae);}function getFullJestTestName(_0x2176cf){const _0x4e57ff=a21_0x4b1153,_0x36cd36={};_0x36cd36[_0x4e57ff(0x1b3)]=function(_0x2b9d94,_0x1884cb){return _0x2b9d94!==_0x1884cb;},_0x36cd36[_0x4e57ff(0x256)]='ROOT_DESCRIBE_BLOCK';const _0x6a2aa4=_0x36cd36;try{const _0x36aa30=[];let _0x5dfe6d=_0x2176cf;while(_0x5dfe6d){_0x5dfe6d[_0x4e57ff(0x1b8)]&&_0x6a2aa4[_0x4e57ff(0x1b3)](_0x5dfe6d[_0x4e57ff(0x1b8)],_0x6a2aa4['SJJXB'])&&_0x36aa30['unshift'](_0x5dfe6d[_0x4e57ff(0x1b8)]),_0x5dfe6d=_0x5dfe6d[_0x4e57ff(0x277)];}return _0x36aa30[_0x4e57ff(0x23b)]('\x20');}catch(_0x66b83d){return _0x2176cf&&_0x2176cf[_0x4e57ff(0x1b8)]||'';}}function getActiveTestNamePattern(){const _0x2a6070=a21_0x4b1153,_0x541e6d={'aJEKt':function(_0x134f64,_0x232842,_0x3c7259){return _0x134f64(_0x232842,_0x3c7259);},'JSMaY':'jest-circus/build/state.js','YSqBN':_0x2a6070(0x1f7),'oRpYl':function(_0x365a5a,_0x167744){return _0x365a5a(_0x167744);},'uSQtM':function(_0x4b3ec9,_0x23a245){return _0x4b3ec9===_0x23a245;},'CzBji':_0x2a6070(0x2a8),'TOgUz':function(_0x7ddfb3,_0x4116e1){return _0x7ddfb3 instanceof _0x4116e1;},'ENzOq':_0x2a6070(0x267),'GELwL':function(_0x318552,_0x13d4cc){return _0x318552>_0x13d4cc;},'JgYQU':function(_0x3b91c7,_0x2a1f55){return _0x3b91c7<_0x2a1f55;},'XqjgO':function(_0x398087,_0x749e51){return _0x398087===_0x749e51;},'QWibj':function(_0x290f7b,_0x41dd2d){return _0x290f7b===_0x41dd2d;},'vbLBN':_0x2a6070(0x1b7),'BFBbW':function(_0x466a83,_0x2dd815){return _0x466a83+_0x2dd815;},'dNDAD':'--testNamePattern=','YFSJx':_0x2a6070(0x29c)};try{let _0x5beaf3;try{_0x5beaf3=_0x541e6d['aJEKt'](requireModule,_0x541e6d['JSMaY'],_0x541e6d['YSqBN']);}catch{_0x5beaf3=_0x541e6d['oRpYl'](requireModule,_0x541e6d[_0x2a6070(0x2c2)]);}if(_0x5beaf3&&_0x541e6d['uSQtM'](typeof _0x5beaf3[_0x2a6070(0x1e3)],_0x541e6d[_0x2a6070(0x1bc)])){const _0x2bf623=_0x5beaf3[_0x2a6070(0x1e3)]();if(_0x2bf623&&_0x2bf623[_0x2a6070(0x20a)]){if(_0x541e6d[_0x2a6070(0x2bd)](_0x2bf623[_0x2a6070(0x20a)],RegExp))return _0x2bf623['testNamePattern'];if(_0x541e6d[_0x2a6070(0x1de)](typeof _0x2bf623['testNamePattern'],_0x541e6d[_0x2a6070(0x27b)])&&_0x541e6d[_0x2a6070(0x285)](_0x2bf623['testNamePattern'][_0x2a6070(0x24e)],0x0))return new RegExp(_0x2bf623[_0x2a6070(0x20a)],'i');}}}catch(_0x2a170f){}try{const _0x102727=process[_0x2a6070(0x1dd)]||[];for(let _0x5925e4=0x0;_0x541e6d[_0x2a6070(0x1b6)](_0x5925e4,_0x102727[_0x2a6070(0x24e)]);_0x5925e4++){const _0x384fdb=_0x102727[_0x5925e4];if(_0x541e6d['XqjgO'](_0x384fdb,'-t')||_0x541e6d[_0x2a6070(0x1fc)](_0x384fdb,_0x541e6d[_0x2a6070(0x2bc)])){const _0x8fad0f=_0x102727[_0x541e6d[_0x2a6070(0x236)](_0x5925e4,0x1)];if(_0x8fad0f&&!_0x8fad0f[_0x2a6070(0x1be)]('-'))return new RegExp(_0x8fad0f,'i');}else{if(_0x384fdb&&(_0x384fdb['startsWith'](_0x541e6d[_0x2a6070(0x2b2)])||_0x384fdb[_0x2a6070(0x1be)](_0x541e6d[_0x2a6070(0x1ef)]))){const _0x17a080=_0x384fdb['split']('=')[_0x2a6070(0x25a)](0x1)[_0x2a6070(0x23b)]('=');if(_0x17a080)return new RegExp(_0x17a080,'i');}}}}catch(_0x1e056c){}return null;}function isPhantomSkipFromNameFilter(_0x28ad6b){const _0x5c282f=a21_0x4b1153,_0x56cfb3={'SiiEx':function(_0x38cad7){return _0x38cad7();},'jnfgC':function(_0x181bc7,_0x31c93b){return _0x181bc7(_0x31c93b);}},_0x24a056=_0x56cfb3[_0x5c282f(0x20f)](getActiveTestNamePattern);if(!_0x24a056)return![];const _0x15f538=_0x56cfb3[_0x5c282f(0x293)](getFullJestTestName,_0x28ad6b);if(!_0x15f538)return![];return!_0x24a056[_0x5c282f(0x20b)](_0x15f538);}async function isCLIReady(){const _0x11e3c2=a21_0x4b1153,_0x578a71={'UMLXk':'CLI\x20is\x20enabled\x20and\x20running.','Hzxcq':function(_0x3ccdc5,_0x45513d){return _0x3ccdc5(_0x45513d);},'PYABC':_0x11e3c2(0x1d6),'vEccu':function(_0xc5fc26,_0x36d7e1){return _0xc5fc26===_0x36d7e1;},'kHdhu':_0x11e3c2(0x207),'KiCMf':function(_0x400638,_0x42bdec){return _0x400638(_0x42bdec);}};try{const _0x4b02be=BrowserstackCLI[_0x11e3c2(0x232)]();if(_0x4b02be[_0x11e3c2(0x1b1)]()&&_0x4b02be[_0x11e3c2(0x2a6)]())return logger[_0x11e3c2(0x1f1)](_0x578a71['UMLXk']),!![];const _0x37128b=process[_0x11e3c2(0x2c0)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x37128b&&_0x4b02be['isCliEnabled']()){if(!_0x4b02be[_0x11e3c2(0x2a6)]())try{const _0x4d162c=_0x578a71[_0x11e3c2(0x2aa)](require,_0x578a71[_0x11e3c2(0x274)]),_0x1d2afd=_0x4d162c['getAutomationFrameworkDetail']();(!_0x1d2afd||!_0x1d2afd[_0x11e3c2(0x1b8)])&&(_0x578a71['vEccu'](process[_0x11e3c2(0x2c0)][_0x11e3c2(0x223)],_0x578a71[_0x11e3c2(0x26f)])?_0x4d162c[_0x11e3c2(0x243)](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']):_0x4d162c[_0x11e3c2(0x243)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x11e3c2(0x242)])),await _0x4b02be[_0x11e3c2(0x21e)]();}catch(_0x502f4b){return _0x578a71[_0x11e3c2(0x231)](debug,_0x11e3c2(0x246)+util[_0x11e3c2(0x252)](_0x502f4b)),![];}return _0x4b02be[_0x11e3c2(0x2a6)]();}return![];}catch(_0x27f1ae){return _0x578a71[_0x11e3c2(0x2aa)](debug,_0x11e3c2(0x28a)+util[_0x11e3c2(0x252)](_0x27f1ae)),![];}}function getTestIdentifierForHook(_0x313dda){const _0x513248=a21_0x4b1153,_0x543407={};_0x543407['wLCzl']=function(_0x1b31a1,_0x3fea0a){return _0x1b31a1===_0x3fea0a;},_0x543407[_0x513248(0x1c8)]=_0x513248(0x24f),_0x543407['PYthO']=function(_0x5a6aba,_0x58bcd9){return _0x5a6aba===_0x58bcd9;},_0x543407[_0x513248(0x23a)]=_0x513248(0x292),_0x543407[_0x513248(0x250)]=function(_0x20bcd1,_0x966fcb){return _0x20bcd1===_0x966fcb;};const _0x3bbd7f=_0x543407;if(_0x3bbd7f['wLCzl'](_0x313dda[_0x513248(0x1cd)],_0x3bbd7f['Ejphk'])||_0x3bbd7f['PYthO'](_0x313dda[_0x513248(0x1cd)],_0x3bbd7f[_0x513248(0x23a)])){let _0x181ed3=global[_0x513248(0x287)];if(!_0x181ed3&&_0x3bbd7f['CVFUO'](_0x313dda['type'],_0x3bbd7f[_0x513248(0x23a)])&&_0x313dda[_0x513248(0x277)]){const _0xcfca8d={};_0xcfca8d[_0x513248(0x1b8)]=_0x313dda[_0x513248(0x277)][_0x513248(0x1b8)],_0xcfca8d[_0x513248(0x277)]=_0x313dda[_0x513248(0x277)][_0x513248(0x277)],_0xcfca8d[_0x513248(0x21d)]=_0x313dda[_0x513248(0x21d)],_0xcfca8d[_0x513248(0x24c)]=_0x313dda['file'];const _0x16f716=_0xcfca8d;_0x181ed3=jestUtils['createIdentifierFromJestTest'](_0x16f716);}return _0x181ed3;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x3528c2){const _0x1419cd=a21_0x4b1153,_0x1179f2={};_0x1179f2[_0x1419cd(0x292)]=TestFrameworkState['BEFORE_ALL'],_0x1179f2[_0x1419cd(0x1c6)]=TestFrameworkState['AFTER_ALL'],_0x1179f2[_0x1419cd(0x24f)]=TestFrameworkState['BEFORE_EACH'],_0x1179f2[_0x1419cd(0x29e)]=TestFrameworkState['AFTER_EACH'];const _0x5aaa7a=_0x1179f2;return _0x5aaa7a[_0x3528c2]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x423c7d,_0x2b1afd,_0x7cc3df){const _0xfa0c0a=a21_0x4b1153,_0x47ca6e={'lGZmk':function(_0x4f460c,_0x27264f){return _0x4f460c(_0x27264f);},'XitbG':_0xfa0c0a(0x1c4),'WnJWC':function(_0x510b02,_0x2555dc){return _0x510b02===_0x2555dc;},'tXzok':_0xfa0c0a(0x21a),'MWCgx':function(_0x19be4e){return _0x19be4e();},'xZoRQ':function(_0x236199){return _0x236199();},'vcqKX':function(_0x20b967,_0x178f45){return _0x20b967===_0x178f45;},'NvtVs':_0xfa0c0a(0x20d),'Ystld':function(_0x27d5e4,_0x145cf2){return _0x27d5e4(_0x145cf2);},'TEdTs':function(_0x469433,_0x248d09){return _0x469433===_0x248d09;},'pHpIh':function(_0x211930,_0x374ad1){return _0x211930===_0x374ad1;},'rTzXQ':_0xfa0c0a(0x255),'QUbSC':_0xfa0c0a(0x2a4)};logger['debug'](_0xfa0c0a(0x1d1)+_0x2b1afd+'\x20for\x20hook\x20type:\x20'+_0x423c7d['type']);try{if(_0x423c7d['fn']&&_0x423c7d['fn'][_0xfa0c0a(0x23c)]()[_0xfa0c0a(0x215)](/browserstack internal helper hook/))return;if(_0x423c7d[_0xfa0c0a(0x277)]&&_0x47ca6e[_0xfa0c0a(0x28e)](_0x423c7d[_0xfa0c0a(0x277)]['name'],_0x47ca6e[_0xfa0c0a(0x2a2)])){const _0x537bb5=_0x423c7d[_0xfa0c0a(0x21d)]&&((()=>{const _0x322646=_0xfa0c0a;try{const _0x53dcf1=_0x47ca6e[_0x322646(0x1fd)](require,_0x47ca6e[_0x322646(0x202)]),_0x15f2dd=_0x53dcf1['parse'][_0x322646(0x1fb)](_0x53dcf1,_0x423c7d[_0x322646(0x21d)]);return _0x15f2dd[0x0]&&_0x15f2dd[0x0][_0x322646(0x22f)]?_0x15f2dd[0x0]['getFileName']():null;}catch(_0x5c9d6d){return logger[_0x322646(0x1f1)](_0x322646(0x26c)+_0x5c9d6d[_0x322646(0x268)]),null;}})())||_0x423c7d[_0xfa0c0a(0x24c)]||null;if(!_0x537bb5)return;}let _0x40de1c=_0x423c7d[_0xfa0c0a(0x224)];if(!_0x40de1c)_0x40de1c=_0x47ca6e[_0xfa0c0a(0x203)](uuidv4),_0x423c7d['hookAnalyticsId']=_0x40de1c;else _0x423c7d[_0xfa0c0a(0x249)]&&(_0x40de1c=_0x47ca6e[_0xfa0c0a(0x1c3)](uuidv4),_0x423c7d[_0xfa0c0a(0x224)]=_0x40de1c,delete _0x423c7d['markedStatus']);_0x47ca6e[_0xfa0c0a(0x1d3)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2a1)])&&(_0x423c7d[_0xfa0c0a(0x1bf)]=new Date()['toISOString']());const _0x5d24b6=_0x47ca6e[_0xfa0c0a(0x257)](getTestIdentifierForHook,_0x423c7d);!global[_0xfa0c0a(0x220)]&&(global['__workerDetails']={});if(_0x47ca6e[_0xfa0c0a(0x1d3)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2a1)])){global[_0xfa0c0a(0x220)][_0xfa0c0a(0x264)]={'hookUUID':_0x40de1c,'testIdentifier':_0x5d24b6,'hookType':_0x423c7d['type'],'startedAt':new Date()[_0xfa0c0a(0x222)]()};const _0x37e9b7=BrowserstackCLI['getInstance']()[_0xfa0c0a(0x1d4)]();_0x37e9b7&&_0x37e9b7[_0xfa0c0a(0x2b4)]&&_0x37e9b7['setActiveHook'](_0x5d24b6,_0x40de1c,_0x423c7d[_0xfa0c0a(0x1cd)]);}const _0x15b1b5=await jestUtils[_0xfa0c0a(0x298)](_0x423c7d,_0x40de1c,_0x2b1afd,_0x5d24b6);if(!_0x15b1b5)return;const _0x2f38eb=_0x47ca6e[_0xfa0c0a(0x1fd)](mapHookTypeToState,_0x423c7d[_0xfa0c0a(0x1cd)]),_0x16618e=_0x47ca6e['TEdTs'](_0x2b1afd,_0x47ca6e['NvtVs'])?HookState['PRE']:HookState[_0xfa0c0a(0x261)],_0x4de8c3=BrowserstackCLI[_0xfa0c0a(0x232)]()[_0xfa0c0a(0x1d4)]();if(_0x4de8c3){const _0x2e6117={};_0x2e6117[_0xfa0c0a(0x280)]=_0x15b1b5,await _0x4de8c3[_0xfa0c0a(0x241)](_0x2f38eb,_0x16618e,_0x2e6117);if(_0x47ca6e[_0xfa0c0a(0x1e6)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2b3)])){const _0x383e4e={};_0x383e4e[_0xfa0c0a(0x238)]=_0x5d24b6,_0x383e4e['type']=_0x47ca6e[_0xfa0c0a(0x1f2)],await _0x4de8c3['trackEvent'](TestFrameworkState[_0xfa0c0a(0x234)],HookState[_0xfa0c0a(0x261)],_0x383e4e),global[_0xfa0c0a(0x220)]&&global['__workerDetails'][_0xfa0c0a(0x264)]&&_0x47ca6e[_0xfa0c0a(0x28e)](global[_0xfa0c0a(0x220)]['currentHook'][_0xfa0c0a(0x1da)],_0x40de1c)&&delete global[_0xfa0c0a(0x220)][_0xfa0c0a(0x264)],_0x4de8c3[_0xfa0c0a(0x201)]&&_0x4de8c3[_0xfa0c0a(0x201)](_0x5d24b6,_0x40de1c);}}}catch(_0x9cacc0){logger[_0xfa0c0a(0x21c)](_0xfa0c0a(0x1fe)+util[_0xfa0c0a(0x252)](_0x9cacc0));throw _0x9cacc0;}}function a21_0x111d(){const _0x741616=['hookAnalyticsId','fSlKd','includes','test_skip','MLutp','QnqNp','TestRunStarted','EmxiJ','map','originalTest','pid','getFileName','__bstackPlatformIndex','KiCMf','getInstance','5366445BnmqGn','LOG_REPORT','../../../helpers/testhub/constants','BFBbW','xzrxP','testUUID','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','NeMcC','join','toString','Rsesx','sFAcL','UrdBP','bWFtW','trackEvent','PLAYWRIGHT','setFrameworkDetail','YUkLp','TEST','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','eZAus','../test-observability/test-details','markedStatus','njOcy','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','file','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','length','beforeEach','CVFUO','IFmfY','format','run_describe_finish','Error\x20routing\x20to\x20JestTestFramework:\x20','HookRunFinished','SJJXB','Ystld','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','slice','../../../helpers/testhub/utils','fail','JiZZH','2179RcYfoy','838eXmdRn','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','POST','number','ArAai','currentHook','ThRwJ','Tqrhn','string','message','shutdown','RJsIQ','status','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','odNak','BROWSERSTACK_PLATFORM_INDEX','kHdhu','setTestUUID','NapPT','../../v2/state/testFrameworkState',':hookAnalyticsId','PYABC','state','test_done','parent','_bstackTestStatus','iQBBa','keys','ENzOq','failed','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','HvNFP','add','hookData','EbsGI',',\x20BROWSERSTACK_PUPPETEER=','../test-observability/obsReporter','DYqNy','GELwL','../../../helpers/helper','__jestCurrentTestIdentifier','addEventHandler','yPFxC','Error\x20checking\x20CLI\x20readiness:\x20','DbxqW','FDtCz','wfdKu','WnJWC','has','browserstackPlatformIndex','configuration','beforeAll','jnfgC','lMRec','vArAj','eZpoD','jstva','createHookData','jVAJJ','KlRTK','config','-t=','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','afterEach','HookStarted','TestRunFinished','NvtVs','tXzok','testAnalyticsId','hook','_currentRetry','isRunning','SYimm','function','../../../helpers/test-observability/utils','Hzxcq','gFKtR','testInfo','unhandledErrors','PCmfe','_bstackTestFailureReason','sendTestRunEvent','oONcG','dNDAD','rTzXQ','setActiveHook','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','jestConfig','createIdentifierFromJestTest','../../../helpers/test-observability/error-handler','UYPAo','retryOf','PRE','vbLBN','TOgUz','Error\x20reading\x20platformIndex\x20from\x20args:\x20','jgkVE','env','currentTest','YSqBN','rXqbD','qZKJN','isCliEnabled','../../v2/utils/jest-utils','onnyL','zxyXH','EventHandler','JgYQU','--testNamePattern','name','jest-circus/build/state.js','4942086AFjbHi','KTMOS','CzBji','passed','startsWith','started_at','createTestFrameworkData','removeAllListeners','hnnxB','xZoRQ','stack-trace','joAKl','afterAll','Handling\x20test\x20event\x20for\x20CLI:\x20','Ejphk','135003XOfbPu','wGMgl','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','MgyJw','type','neTeO','13002498HmlOjs','20sjSpzi','Handling\x20hook\x20event\x20for\x20CLI:\x20','hgkoo','vcqKX','getTestFramework','testIdentifier','../../v2/cliUtils','isArray','jUOlG','registerListeners','hookUUID','WmMAy','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','argv','uSQtM','qYeEd','eUYpe','errors','1453985uFmuAl','getState','KEAAp','BROWSERSTACK_RERUN','pHpIh','forEach','hook_success','TestRunSkipped','HookFinished','isPhantomSkipFromNameFilter','testPath','initialize','../../utils/constants','YFSJx','VkDGd','debug','QUbSC','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','NgZEl','EVENT','../../v2/state/hookState','jest-circus','hook_failure','XlBLV','makeSingleTestResult','call','QWibj','lGZmk','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','test_start','../../../helpers/test-observability/requestQueueHandler','removeActiveHook','XitbG','MWCgx','lMkEY','getFullJestTestName','jUIkb','true','unshift','flSFS','testNamePattern','test','_bstackTestName','HookRunStarted','vUKCq','SiiEx','uuid','teardown','title','9116568yeZuDx','\x20>\x20','match','WoBLW','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','cIzLt','fCzGk','ROOT_DESCRIBE_BLOCK','__rerunFilterHelpers','error','asyncError','bootstrap','nuHOu','__workerDetails',',\x20re-registering\x20event\x20handler','toISOString','BROWSERSTACK_PUPPETEER'];a21_0x111d=function(){return _0x741616;};return a21_0x111d();}async function handleTestEventCLI(_0x29c3b2,_0x1a1499,_0x9579aa){const _0x1f6087=a21_0x4b1153,_0x2ffcfa={};_0x2ffcfa['fSlKd']=function(_0x520af5,_0x262252){return _0x520af5===_0x262252;},_0x2ffcfa[_0x1f6087(0x1b0)]='TestRunStarted',_0x2ffcfa[_0x1f6087(0x247)]=function(_0xcbebe3,_0x4a8170){return _0xcbebe3>_0x4a8170;},_0x2ffcfa['fCzGk']=function(_0x31fa48,_0x3759a5){return _0x31fa48&&_0x3759a5;},_0x2ffcfa[_0x1f6087(0x28c)]=_0x1f6087(0x27c),_0x2ffcfa[_0x1f6087(0x279)]=_0x1f6087(0x2a0),_0x2ffcfa[_0x1f6087(0x2ab)]=function(_0x3987c0,_0x5a0232){return _0x3987c0&&_0x5a0232;},_0x2ffcfa['ThRwJ']=_0x1f6087(0x20b);const _0x5e045b=_0x2ffcfa;logger[_0x1f6087(0x1f1)](_0x1f6087(0x1c7)+_0x1a1499);try{let _0x2570f6;if(_0x5e045b[_0x1f6087(0x225)](_0x1a1499,_0x5e045b['qZKJN'])){_0x2570f6=jestUtils[_0x1f6087(0x2b7)](_0x29c3b2),global[_0x1f6087(0x287)]=_0x2570f6,_0x29c3b2[_0x1f6087(0x2a3)]=_0x2570f6,_0x29c3b2['id']=_0x2570f6,_0x29c3b2[_0x1f6087(0x1bf)]=new Date()[_0x1f6087(0x222)]();const _0x279fff=_0x9579aa['current_test'];_0x9579aa['current_test']=_0x29c3b2,_0x29c3b2[_0x1f6087(0x2ba)]=null;if(_0x5e045b[_0x1f6087(0x247)](_0x29c3b2[_0x1f6087(0x2a5)],0x0)&&_0x279fff&&_0x5e045b[_0x1f6087(0x225)](_0x279fff[_0x1f6087(0x212)],_0x29c3b2[_0x1f6087(0x212)])){_0x29c3b2[_0x1f6087(0x2ba)]=_0x279fff[_0x1f6087(0x2a3)];const _0x32f3e3=await jestUtils[_0x1f6087(0x1c0)](_0x29c3b2,_0x2570f6,_0x5e045b[_0x1f6087(0x1b0)]),_0x1c188a=BrowserstackCLI[_0x1f6087(0x232)]()['getTestFramework']();if(_0x5e045b[_0x1f6087(0x219)](_0x32f3e3,_0x1c188a)){const _0x4af9d8={};_0x4af9d8[_0x1f6087(0x20b)]=_0x32f3e3,await _0x1c188a[_0x1f6087(0x241)](TestFrameworkState[_0x1f6087(0x245)],HookState[_0x1f6087(0x2bb)],_0x4af9d8);}_0x279fff[_0x1f6087(0x275)]=_0x5e045b[_0x1f6087(0x28c)];const _0x44deb0=await jestUtils[_0x1f6087(0x1c0)](_0x279fff,_0x279fff[_0x1f6087(0x2a3)],_0x5e045b[_0x1f6087(0x279)]);if(_0x5e045b[_0x1f6087(0x219)](_0x44deb0,_0x1c188a)){const _0x1d2956={};_0x1d2956[_0x1f6087(0x20b)]=_0x44deb0,await _0x1c188a[_0x1f6087(0x241)](TestFrameworkState[_0x1f6087(0x245)],HookState[_0x1f6087(0x261)],_0x1d2956);}}else{const _0x106744=await jestUtils[_0x1f6087(0x1c0)](_0x29c3b2,_0x2570f6,_0x5e045b['qZKJN']),_0x4dfb59=BrowserstackCLI[_0x1f6087(0x232)]()[_0x1f6087(0x1d4)]();if(_0x5e045b[_0x1f6087(0x2ab)](_0x106744,_0x4dfb59)){const _0x59fcae={};_0x59fcae[_0x1f6087(0x20b)]=_0x106744,await _0x4dfb59[_0x1f6087(0x241)](TestFrameworkState['TEST'],HookState[_0x1f6087(0x2bb)],_0x59fcae);}}}else{_0x2570f6=_0x29c3b2['testAnalyticsId']||_0x29c3b2['id']||global[_0x1f6087(0x287)];const _0x33f9c6=await jestUtils['createTestFrameworkData'](_0x29c3b2,_0x2570f6,_0x1a1499),_0x276615=BrowserstackCLI[_0x1f6087(0x232)]()[_0x1f6087(0x1d4)]();if(_0x5e045b[_0x1f6087(0x219)](_0x33f9c6,_0x276615)){const _0x463035={};_0x463035[_0x1f6087(0x20b)]=_0x33f9c6,_0x463035[_0x1f6087(0x22d)]=_0x29c3b2,_0x463035[_0x1f6087(0x1d5)]=_0x2570f6,await _0x276615[_0x1f6087(0x241)](TestFrameworkState['TEST'],HookState[_0x1f6087(0x261)],_0x463035);const _0x5eec5f={};_0x5eec5f[_0x1f6087(0x238)]=_0x2570f6,_0x5eec5f[_0x1f6087(0x1cd)]=_0x5e045b[_0x1f6087(0x265)],await _0x276615['trackEvent'](TestFrameworkState[_0x1f6087(0x234)],HookState[_0x1f6087(0x261)],_0x5eec5f);}}}catch(_0x1463e7){logger[_0x1f6087(0x21c)](_0x1f6087(0x27d)+util[_0x1f6087(0x252)](_0x1463e7));throw _0x1463e7;}}exportsI[a21_0x4b1153(0x1ed)]=(..._0x2d1612)=>{const _0x464ca0=a21_0x4b1153,_0x58367c={'NgZEl':function(_0x4d9924,_0x1f1d9f){return _0x4d9924(_0x1f1d9f);},'neTeO':_0x464ca0(0x1c4),'rXqbD':function(_0x371bfe,_0x37d65a){return _0x371bfe&&_0x37d65a;},'nuHOu':'hook_start','lMRec':function(_0x265994,_0x1134f3){return _0x265994===_0x1134f3;},'DYqNy':_0x464ca0(0x21a),'uaPlO':function(_0x4a84fc){return _0x4a84fc();},'UrdBP':function(_0x325937,_0x15aa7a){return _0x325937(_0x15aa7a);},'YUkLp':function(_0x269835,_0x11aa52,_0x43fc76,_0x5091a0){return _0x269835(_0x11aa52,_0x43fc76,_0x5091a0);},'Rsesx':_0x464ca0(0x20d),'UYPAo':function(_0x259577,_0xe1554){return _0x259577(_0xe1554);},'IFmfY':_0x464ca0(0x1e8),'jstva':function(_0x25e45b){return _0x25e45b();},'eUYpe':function(_0x3ae4cb,_0x2481e7){return _0x3ae4cb(_0x2481e7);},'oONcG':_0x464ca0(0x255),'cIRmu':'hook_failure','zxyXH':_0x464ca0(0x292),'RyMDx':_0x464ca0(0x24f),'JiZZH':_0x464ca0(0x29e),'eZpoD':function(_0x19dff1,_0x2482ad){return _0x19dff1>_0x2482ad;},'hgkoo':function(_0x59248c){return _0x59248c();},'HvNFP':function(_0x13e4c1,_0x4a192f){return _0x13e4c1(_0x4a192f);},'KTMOS':function(_0xb675b2,_0x2ef20c,_0x303e0f,_0x1e01d3){return _0xb675b2(_0x2ef20c,_0x303e0f,_0x1e01d3);},'sJEKn':function(_0x2649ae,_0x336f9e){return _0x2649ae(_0x336f9e);},'jVAJJ':_0x464ca0(0x1ff),'MLutp':function(_0x3879bd,_0xfe68ef){return _0x3879bd(_0xfe68ef);},'jgkVE':function(_0x46c14a,_0x5c4db1){return _0x46c14a(_0x5c4db1);},'KBtOH':function(_0xcaf24c,_0x505ffa){return _0xcaf24c!==_0x505ffa;},'ArAai':_0x464ca0(0x214),'EmxiJ':function(_0x379f2a){return _0x379f2a();},'RJsIQ':function(_0x3ba6fd,_0x4810db,_0x26ec97,_0x3b2c7a){return _0x3ba6fd(_0x4810db,_0x26ec97,_0x3b2c7a);},'joAKl':_0x464ca0(0x22a),'odNak':function(_0x3b56f4,_0x1f560b){return _0x3b56f4(_0x1f560b);},'DbxqW':_0x464ca0(0x276),'vUKCq':function(_0xbb0cd2,_0x152db6){return _0xbb0cd2(_0x152db6);},'bWFtW':function(_0x188a3d,_0x3eb59c){return _0x188a3d(_0x3eb59c);},'njOcy':function(_0x59b94a,_0x5a65ea){return _0x59b94a>_0x5a65ea;},'EbsGI':function(_0x33dfbf,_0x583276){return _0x33dfbf===_0x583276;},'wfdKu':_0x464ca0(0x25c),'NapPT':_0x464ca0(0x27c),'RZpVz':_0x464ca0(0x1bd),'uGyAS':function(_0x259c21,_0x3558df){return _0x259c21||_0x3558df;},'qYeEd':function(_0x589ab1){return _0x589ab1();},'flSFS':'TestRunFinished','yPFxC':function(_0xb9ae82,_0x4143d8){return _0xb9ae82(_0x4143d8);},'sFAcL':_0x464ca0(0x227),'WoBLW':function(_0xaa2ff,_0x189d0c){return _0xaa2ff(_0x189d0c);},'UsvQo':function(_0x2761e1,_0x28f25c){return _0x2761e1(_0x28f25c);},'GlKxb':function(_0x2bb64b,_0x24f324,_0x580530,_0x2a341){return _0x2bb64b(_0x24f324,_0x580530,_0x2a341);},'YdEnO':_0x464ca0(0x1e9),'fxLwU':_0x464ca0(0x253),'jUOlG':_0x464ca0(0x211),'XlBLV':function(_0x17a7c2){return _0x17a7c2();},'wGMgl':function(_0x470db2,_0x25a839){return _0x470db2===_0x25a839;},'SYimm':_0x464ca0(0x267),'KlRTK':_0x464ca0(0x262),'vArAj':function(_0xdb3753,_0x93ee5a){return _0xdb3753===_0x93ee5a;},'cIzLt':function(_0x940b57,_0x3c3085){return _0x940b57===_0x3c3085;},'MgyJw':function(_0x3e84b7){return _0x3e84b7();},'DaCcG':function(_0x55c328){return _0x55c328();},'xzrxP':function(_0x1f5480,_0xa0b623,_0xa84f79){return _0x1f5480(_0xa0b623,_0xa84f79);},'ALdAo':_0x464ca0(0x1b9),'Tqrhn':'jest-circus','WmMAy':function(_0x33454b,_0x401e0e){return _0x33454b(_0x401e0e);},'VkDGd':function(_0xd10c59,_0x2ff76b,_0x5de982){return _0xd10c59(_0x2ff76b,_0x5de982);},'QnqNp':'jest-circus/build/utils.js','PCmfe':function(_0x5143ff){return _0x5143ff();},'KEAAp':function(_0x23d0b9,_0x333ff4,_0x491cbd){return _0x23d0b9(_0x333ff4,_0x491cbd);},'hnnxB':_0x464ca0(0x1b5),'GesyE':function(_0x58e737,_0x2b0cb5){return _0x58e737(_0x2b0cb5);}};try{logger[_0x464ca0(0x1f1)](_0x464ca0(0x260)+_0x58367c[_0x464ca0(0x1f9)](shouldProcessEventForTesthub)+_0x464ca0(0x282)+process[_0x464ca0(0x2c0)][_0x464ca0(0x223)]);const _0x2f71fa=_0x2d1612&&_0x2d1612[0x0]?_0x2d1612[0x0]:{};_0x2f71fa&&_0x58367c[_0x464ca0(0x1ca)](typeof _0x2f71fa[_0x464ca0(0x1ec)],_0x58367c[_0x464ca0(0x2a7)])&&_0x2f71fa[_0x464ca0(0x1ec)]&&(_currentTestPath=_0x2f71fa['testPath']);let _0x3dfdd3=0x0;try{if(_0x2f71fa[_0x464ca0(0x29b)]&&_0x58367c[_0x464ca0(0x1ca)](typeof _0x2f71fa[_0x464ca0(0x29b)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)]))_0x3dfdd3=_0x2f71fa[_0x464ca0(0x29b)][_0x464ca0(0x290)];else{if(_0x2f71fa[_0x464ca0(0x291)]&&_0x58367c[_0x464ca0(0x295)](typeof _0x2f71fa[_0x464ca0(0x291)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)]))_0x3dfdd3=_0x2f71fa['configuration'][_0x464ca0(0x290)];else global[_0x464ca0(0x2b6)]&&_0x58367c[_0x464ca0(0x218)](typeof global[_0x464ca0(0x2b6)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)])&&(_0x3dfdd3=global[_0x464ca0(0x2b6)][_0x464ca0(0x290)]);}}catch(_0x5f1529){logger['debug'](_0x464ca0(0x2be)+util[_0x464ca0(0x252)](_0x5f1529));}global[_0x464ca0(0x230)]=_0x3dfdd3,process['env'][_0x464ca0(0x26e)]=_0x58367c[_0x464ca0(0x289)](String,_0x3dfdd3);const _0x5ec5e0=new ObservabilityReporter();!_initializedPlatformIndices[_0x464ca0(0x28f)](_0x3dfdd3)?(logger['debug'](_0x464ca0(0x24b)+_0x3dfdd3),_initializedPlatformIndices[_0x464ca0(0x27f)](_0x3dfdd3),_0x58367c[_0x464ca0(0x1cc)](shouldProcessEventForTesthub)&&(_0x58367c['DaCcG'](patchConsoleLogger),_0x5ec5e0[_0x464ca0(0x1d9)]())):logger['debug']('[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex='+_0x3dfdd3+_0x464ca0(0x221));let _0x2fbf4c;try{_0x2fbf4c=_0x58367c[_0x464ca0(0x237)](requireModule,_0x58367c['ALdAo'],_0x58367c[_0x464ca0(0x266)]);}catch{_0x2fbf4c=_0x58367c[_0x464ca0(0x1db)](requireModule,_0x58367c[_0x464ca0(0x266)]);}let _0x645f8b;try{_0x645f8b=_0x58367c[_0x464ca0(0x1f0)](requireModule,_0x58367c[_0x464ca0(0x229)],_0x58367c['Tqrhn'])['makeSingleTestResult'];}catch{_0x645f8b=_0x58367c['eUYpe'](requireModule,_0x58367c[_0x464ca0(0x266)])[_0x464ca0(0x1fa)]||(()=>({}));}const _0x5e590b=BrowserstackCLI[_0x464ca0(0x232)]()[_0x464ca0(0x1b1)]();(_0x58367c[_0x464ca0(0x2ae)](shouldProcessEventForTesthub)||_0x5e590b)&&_0x2fbf4c[_0x464ca0(0x288)](_0x58367c[_0x464ca0(0x1e4)](o11yErrorHandler,async(_0x24c2a3,_0x825110)=>{const _0x12df10=_0x464ca0,_0x5d8d54={'lMkEY':function(_0x34afe1,_0x1e2578){const _0x123535=a21_0x28a5;return _0x58367c[_0x123535(0x1f4)](_0x34afe1,_0x1e2578);}};_0x58367c[_0x12df10(0x2c3)](_currentTestPath,_0x24c2a3)&&_0x24c2a3[_0x12df10(0x20b)]&&!_0x24c2a3['test'][_0x12df10(0x24c)]&&(_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x24c)]=_currentTestPath);switch(_0x24c2a3['name']){case _0x58367c[_0x12df10(0x21f)]:if(_0x24c2a3['hook']['fn']&&_0x24c2a3[_0x12df10(0x2a4)]['fn'][_0x12df10(0x23c)]()[_0x12df10(0x215)](/browserstack internal helper hook/))break;if(_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x277)]&&_0x58367c[_0x12df10(0x294)](_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x277)][_0x12df10(0x1b8)],_0x58367c[_0x12df10(0x284)])){const _0x3075b5=_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x21d)]&&((()=>{const _0x4059ea=_0x12df10;try{const _0xed12ae=_0x58367c[_0x4059ea(0x1f4)](require,_0x58367c[_0x4059ea(0x1ce)]),_0x1513f5=_0xed12ae['parse']['call'](_0xed12ae,_0x24c2a3[_0x4059ea(0x2a4)][_0x4059ea(0x21d)]);return _0x1513f5[0x0]&&_0x1513f5[0x0][_0x4059ea(0x22f)]?_0x1513f5[0x0]['getFileName']():null;}catch(_0xbc307c){return logger['debug'](_0x4059ea(0x26c)+_0xbc307c['message']),null;}})())||_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x24c)]||null;if(!_0x3075b5)break;}if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c['uaPlO'](isCLIReady)){if(_0x58367c[_0x12df10(0x23f)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0x58367c[_0x12df10(0x244)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c[_0x12df10(0x23d)],_0x825110);break;}catch(_0x333ec0){_0x58367c[_0x12df10(0x2b9)](debug,_0x12df10(0x254)+util['format'](_0x333ec0));}}if(_0x58367c[_0x12df10(0x23f)](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x29f)])){if(!_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x224)]){const _0x41e345=TestDetails['setTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273));_0x24c2a3[_0x12df10(0x2a4)]['hookAnalyticsId']=_0x41e345;}else _0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x249)]&&(_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x224)]=TestDetails[_0x12df10(0x270)](process['pid']+':hookAnalyticsId'),delete _0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x249)]);_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1bf)]=new Date()[_0x12df10(0x222)](),await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c['Rsesx']);}break;case _0x58367c[_0x12df10(0x251)]:if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c['jstva'](isCLIReady)){if(_0x58367c[_0x12df10(0x1e0)](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)]))try{await _0x58367c[_0x12df10(0x244)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c['oONcG'],_0x825110);break;}catch(_0x22adc0){_0x58367c[_0x12df10(0x23f)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x22adc0));}}_0x58367c['NgZEl'](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)])&&(await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c[_0x12df10(0x2b1)]),TestDetails['removeTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273)));break;case _0x58367c['cIRmu']:[_0x58367c[_0x12df10(0x1b4)],_0x58367c['RyMDx'],_0x58367c[_0x12df10(0x25d)]][_0x12df10(0x226)](_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1cd)])&&(_0x5ec5e0[_0x12df10(0x1f8)]=_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1cd)]),_0x825110[_0x12df10(0x2ad)]&&_0x58367c[_0x12df10(0x296)](_0x825110[_0x12df10(0x2ad)][_0x12df10(0x24e)],0x0)&&(_0x24c2a3[_0x12df10(0x2a4)]['errorsDetailed']=[_0x825110[_0x12df10(0x2ad)][0x0][0x0]]);if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1d2)](isCLIReady)){if(_0x58367c[_0x12df10(0x27e)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x12df10(0x1ea)]))try{await _0x58367c[_0x12df10(0x1bb)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c[_0x12df10(0x2b1)],_0x825110);break;}catch(_0x4142d8){_0x58367c[_0x12df10(0x1f4)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x4142d8));}}_0x58367c['sJEKn'](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)])&&(await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c[_0x12df10(0x2b1)]),TestDetails['removeTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273)));break;case _0x58367c[_0x12df10(0x299)]:if(_0x58367c[_0x12df10(0x228)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c[_0x12df10(0x27e)](isPhantomSkipFromNameFilter,_0x24c2a3['test'])){const _0x59148a=_0x58367c[_0x12df10(0x2bf)](getFullJestTestName,_0x24c2a3[_0x12df10(0x20b)]);logger[_0x12df10(0x1f1)](_0x12df10(0x258)+_0x59148a+'\x22');break;}try{let _0x4818c2=_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x1b8)]||'';try{let _0x360063=_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x277)];const _0x740d83=[_0x4818c2];while(_0x360063&&_0x360063[_0x12df10(0x1b8)]&&_0x58367c['KBtOH'](_0x360063[_0x12df10(0x1b8)],_0x58367c[_0x12df10(0x284)])){_0x740d83[_0x12df10(0x208)](_0x360063[_0x12df10(0x1b8)]),_0x360063=_0x360063[_0x12df10(0x277)];}_0x4818c2=_0x740d83[_0x12df10(0x23b)](_0x58367c[_0x12df10(0x263)]);}catch(_0x363dc5){logger['debug'](_0x12df10(0x217)+_0x363dc5[_0x12df10(0x268)]);}process[_0x12df10(0x20c)]=_0x4818c2,process[_0x12df10(0x278)]=null,process[_0x12df10(0x2af)]=null,logger[_0x12df10(0x1f1)](_0x12df10(0x1f3)+_0x4818c2+'\x22');if(!global[_0x12df10(0x220)]){const _0x158b88={};_0x158b88[_0x12df10(0x2c1)]={},global[_0x12df10(0x220)]=_0x158b88;}!global[_0x12df10(0x220)][_0x12df10(0x2c1)]&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)]={});const _0x55c1a7={};_0x55c1a7[_0x12df10(0x212)]=_0x4818c2,_0x55c1a7['name']=_0x4818c2,global[_0x12df10(0x220)]['currentTest'][_0x12df10(0x2ac)]=_0x55c1a7,global['browserstackTestName']=_0x4818c2;}catch(_0x496c2f){logger[_0x12df10(0x1f1)]('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x496c2f[_0x12df10(0x268)]);}if(BrowserstackCLI[_0x12df10(0x232)]()['isCliEnabled']()&&await _0x58367c[_0x12df10(0x22b)](isCLIReady))try{await _0x58367c[_0x12df10(0x26a)](handleTestEventCLI,_0x24c2a3['test'],_0x58367c[_0x12df10(0x1c5)],_0x5ec5e0);break;}catch(_0x298db6){_0x58367c[_0x12df10(0x26d)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x298db6));}_0x58367c[_0x12df10(0x1d2)](shouldProcessEventForTesthub)&&await _0x5ec5e0['testStarted'](_0x24c2a3['test']);break;case _0x58367c[_0x12df10(0x28b)]:{const _0xbb10af=_0x24c2a3[_0x12df10(0x20b)];if(_0x58367c[_0x12df10(0x27e)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c[_0x12df10(0x23f)](isPhantomSkipFromNameFilter,_0xbb10af)){const _0xfdf6c7=_0x58367c[_0x12df10(0x20e)](getFullJestTestName,_0xbb10af);logger[_0x12df10(0x1f1)](_0x12df10(0x1cb)+_0xfdf6c7+'\x22'),_0xbb10af[_0x12df10(0x249)]=!![];break;}_0x24c2a3[_0x12df10(0x20b)]={..._0x58367c[_0x12df10(0x240)](_0x645f8b,_0x24c2a3[_0x12df10(0x20b)]),..._0x24c2a3[_0x12df10(0x20b)]};try{const _0x51a539=_0x24c2a3['test'][_0x12df10(0x1e1)]||[],_0x2158b1=_0x58367c[_0x12df10(0x24a)](_0x51a539['length'],0x0)||_0x58367c[_0x12df10(0x281)](_0x24c2a3[_0x12df10(0x20b)]['status'],_0x58367c[_0x12df10(0x28d)]),_0x5ba71c=_0x2158b1?_0x58367c[_0x12df10(0x271)]:_0x58367c['RZpVz'];let _0x495ef0='';_0x2158b1&&(_0x495ef0=_0x51a539[_0x12df10(0x22c)](_0x4a4ce0=>{const _0x139c34=_0x12df10;if(Array[_0x139c34(0x1d7)](_0x4a4ce0))return _0x4a4ce0[_0x139c34(0x22c)](_0x1b3927=>_0x1b3927&&_0x1b3927[_0x139c34(0x268)]||String(_0x1b3927))['join'](';\x20');return _0x4a4ce0&&_0x4a4ce0[_0x139c34(0x268)]||_0x5d8d54[_0x139c34(0x204)](String,_0x4a4ce0);})[_0x12df10(0x23b)](';\x20')),process['_bstackTestStatus']=_0x5ba71c,process['_bstackTestFailureReason']=_0x58367c['uGyAS'](_0x495ef0,''),logger['debug']('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x5ba71c+'\x22'),global['__workerDetails']&&global['__workerDetails']['currentTest']&&(!global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]={}),global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)][_0x12df10(0x26b)]=_0x5ba71c,_0x2158b1&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]['failureMessage']=_0x495ef0));}catch(_0x32ca06){logger[_0x12df10(0x1f1)](_0x12df10(0x2b5)+_0x32ca06[_0x12df10(0x268)]);}if(!_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x249)]){_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x249)]=!![];if(BrowserstackCLI['getInstance']()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1df)](isCLIReady))try{await _0x58367c['RJsIQ'](handleTestEventCLI,_0x24c2a3[_0x12df10(0x20b)],_0x58367c[_0x12df10(0x209)],_0x5ec5e0);break;}catch(_0x7d4e41){_0x58367c[_0x12df10(0x289)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x12df10(0x252)](_0x7d4e41));}_0x58367c[_0x12df10(0x297)](shouldProcessEventForTesthub)&&await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3[_0x12df10(0x20b)]);}break;}case _0x58367c[_0x12df10(0x23e)]:{const _0x4ab02d=_0x24c2a3['test'];if(_0x58367c[_0x12df10(0x216)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c['UrdBP'](isPhantomSkipFromNameFilter,_0x4ab02d)){const _0x5690e0=_0x58367c['UsvQo'](getFullJestTestName,_0x4ab02d);logger[_0x12df10(0x1f1)](_0x12df10(0x259)+_0x5690e0+'\x22'),_0x4ab02d[_0x12df10(0x249)]=!![];break;}_0x24c2a3['test']={..._0x58367c[_0x12df10(0x27e)](_0x645f8b,_0x24c2a3[_0x12df10(0x20b)]),..._0x24c2a3['test']};if(!_0x24c2a3[_0x12df10(0x20b)]['markedStatus']){_0x24c2a3[_0x12df10(0x20b)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1df)](isCLIReady))try{await _0x58367c['GlKxb'](handleTestEventCLI,_0x24c2a3['test'],_0x58367c['YdEnO'],_0x5ec5e0);break;}catch(_0x54ce1a){_0x58367c[_0x12df10(0x228)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x54ce1a));}_0x58367c[_0x12df10(0x297)](shouldProcessEventForTesthub)&&await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['test'],undefined,![],_0x58367c['YdEnO']);}break;}case _0x58367c['fxLwU']:_0x5ec5e0[_0x12df10(0x1f8)]=null;break;case _0x58367c[_0x12df10(0x1d8)]:await RequestQueueHandler[_0x12df10(0x232)]()[_0x12df10(0x269)](),process[_0x12df10(0x1c1)]();break;default:}},_0x58367c[_0x464ca0(0x1c2)]));}catch(_0x54529d){_0x58367c['GesyE'](debug,_0x464ca0(0x1dc)+_0x54529d);}return _0x58367c['NgZEl'](initInitialize,..._0x2d1612);};try{Object[a21_0x4b1153(0x27a)](exportsI)[a21_0x4b1153(0x1e7)](_0x3639e0=>{const _0x134ef0=a21_0x4b1153,_0x40ecfb={'jUIkb':function(_0x4551c9,_0x59ff34){return _0x4551c9(_0x59ff34);}};try{exports&&(exports[_0x3639e0]=exportsI[_0x3639e0]);}catch(_0x5a7ddc){_0x40ecfb[_0x134ef0(0x206)](debug,_0x134ef0(0x24d)+_0x5a7ddc);}});}catch(a21_0x5c8d9d){debug(a21_0x4b1153(0x29d)+a21_0x5c8d9d);}const a21_0x8232b0={};a21_0x8232b0[a21_0x4b1153(0x205)]=getFullJestTestName,a21_0x8232b0['getActiveTestNamePattern']=getActiveTestNamePattern,a21_0x8232b0[a21_0x4b1153(0x1eb)]=isPhantomSkipFromNameFilter,exports[a21_0x4b1153(0x21b)]=a21_0x8232b0;
@@ -1 +1 @@
1
- const a22_0x54bf7d=a22_0x287f;function a22_0x287f(_0xfa4b88,_0x592209){const _0x275d05=a22_0x275d();return a22_0x287f=function(_0x287f2f,_0x2d4685){_0x287f2f=_0x287f2f-0x81;let _0x17e6e7=_0x275d05[_0x287f2f];return _0x17e6e7;},a22_0x287f(_0xfa4b88,_0x592209);}(function(_0x380fa8,_0xbac1b4){const _0x464457=a22_0x287f,_0xa9ad86=_0x380fa8();while(!![]){try{const _0x1008ad=parseInt(_0x464457(0x94))/0x1*(parseInt(_0x464457(0x92))/0x2)+-parseInt(_0x464457(0x81))/0x3*(parseInt(_0x464457(0x8f))/0x4)+-parseInt(_0x464457(0x88))/0x5*(-parseInt(_0x464457(0x93))/0x6)+-parseInt(_0x464457(0x96))/0x7*(parseInt(_0x464457(0x8d))/0x8)+parseInt(_0x464457(0x87))/0x9*(parseInt(_0x464457(0x82))/0xa)+-parseInt(_0x464457(0x91))/0xb+parseInt(_0x464457(0x85))/0xc*(parseInt(_0x464457(0x86))/0xd);if(_0x1008ad===_0xbac1b4)break;else _0xa9ad86['push'](_0xa9ad86['shift']());}catch(_0x1ece7b){_0xa9ad86['push'](_0xa9ad86['shift']());}}}(a22_0x275d,0x47f22));const Sequencer=require(a22_0x54bf7d(0x90))[a22_0x54bf7d(0x8a)];class CustomSequencer extends Sequencer{[a22_0x54bf7d(0x83)](_0x32680a){const _0x2a8122=a22_0x54bf7d,_0x5788fe=process[_0x2a8122(0x98)][_0x2a8122(0x8b)];if(!_0x5788fe)return _0x32680a;const _0x48eb62=_0x5788fe[_0x2a8122(0x89)](','),_0x583903=new Map(_0x32680a[_0x2a8122(0x8e)](_0x527bc8=>_0x48eb62[_0x2a8122(0x97)](_0x527bc8[_0x2a8122(0x8c)]))['map'](_0x178928=>[_0x178928[_0x2a8122(0x8c)],_0x178928]));return _0x48eb62['map'](_0x19808c=>_0x583903[_0x2a8122(0x84)](_0x19808c))[_0x2a8122(0x8e)](Boolean);}}module[a22_0x54bf7d(0x95)]=CustomSequencer;function a22_0x275d(){const _0x500861=['path','1881312nrBwIE','filter','932GufhVo','@jest/test-sequencer','4490750eqmOxE','5446BSEvqJ','359598jiUedh','134yaQLCI','exports','14DSCbAS','includes','env','7299bKRJsq','40uMPhMp','sort','get','6312876NXODXH','26nUjJwy','52794QkHMkp','25tQmjds','split','default','JEST_TEST_ORDER'];a22_0x275d=function(){return _0x500861;};return a22_0x275d();}
1
+ const a22_0x491cb3=a22_0x182a;(function(_0xa13889,_0x56cdb0){const _0x244eb6=a22_0x182a,_0x384efe=_0xa13889();while(!![]){try{const _0x3937b6=parseInt(_0x244eb6(0x172))/0x1+-parseInt(_0x244eb6(0x16c))/0x2*(-parseInt(_0x244eb6(0x176))/0x3)+parseInt(_0x244eb6(0x168))/0x4+-parseInt(_0x244eb6(0x170))/0x5+-parseInt(_0x244eb6(0x164))/0x6+-parseInt(_0x244eb6(0x169))/0x7*(parseInt(_0x244eb6(0x166))/0x8)+parseInt(_0x244eb6(0x163))/0x9*(parseInt(_0x244eb6(0x173))/0xa);if(_0x3937b6===_0x56cdb0)break;else _0x384efe['push'](_0x384efe['shift']());}catch(_0x2ebb35){_0x384efe['push'](_0x384efe['shift']());}}}(a22_0xfb30,0x62f51));const Sequencer=require(a22_0x491cb3(0x177))[a22_0x491cb3(0x16d)];function a22_0xfb30(){const _0xbbb33b=['default','split','exports','741880bHRxlM','path','72079UfnEVC','110gVYhMi','JEST_TEST_ORDER','get','257208oWXcwA','@jest/test-sequencer','356931VwOhbn','4584342xrGMal','map','12392Nufrcz','sort','2582828LYimZB','35EGicEO','includes','filter','4vlpEmK'];a22_0xfb30=function(){return _0xbbb33b;};return a22_0xfb30();}function a22_0x182a(_0x56760e,_0x53d271){const _0xfb300=a22_0xfb30();return a22_0x182a=function(_0x182a9d,_0x547057){_0x182a9d=_0x182a9d-0x163;let _0x5a12c3=_0xfb300[_0x182a9d];return _0x5a12c3;},a22_0x182a(_0x56760e,_0x53d271);}class CustomSequencer extends Sequencer{[a22_0x491cb3(0x167)](_0x179d7e){const _0x8befe=a22_0x491cb3,_0x3c4823=process['env'][_0x8befe(0x174)];if(!_0x3c4823)return _0x179d7e;const _0x165038=_0x3c4823[_0x8befe(0x16e)](','),_0x2ff42d=new Map(_0x179d7e['filter'](_0x86de63=>_0x165038[_0x8befe(0x16a)](_0x86de63[_0x8befe(0x171)]))[_0x8befe(0x165)](_0x22cd30=>[_0x22cd30[_0x8befe(0x171)],_0x22cd30]));return _0x165038[_0x8befe(0x165)](_0x44133a=>_0x2ff42d[_0x8befe(0x175)](_0x44133a))[_0x8befe(0x16b)](Boolean);}}module[a22_0x491cb3(0x16f)]=CustomSequencer;