browserstack-node-sdk 1.47.0 → 1.47.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +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/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -0
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x3fe566=a10_0x3ad9;(function(_0x27bf58,_0x1c7063){const _0x41c59e=a10_0x3ad9,_0x170baf=_0x27bf58();while(!![]){try{const _0x8229de=-parseInt(_0x41c59e(0x1d9))/0x1*(parseInt(_0x41c59e(0x1fd))/0x2)+-parseInt(_0x41c59e(0x1f8))/0x3*(-parseInt(_0x41c59e(0x1e9))/0x4)+-parseInt(_0x41c59e(0x1e6))/0x5+-parseInt(_0x41c59e(0x1eb))/0x6+parseInt(_0x41c59e(0x1d6))/0x7*(-parseInt(_0x41c59e(0x1fe))/0x8)+parseInt(_0x41c59e(0x1d8))/0x9*(-parseInt(_0x41c59e(0x1dc))/0xa)+parseInt(_0x41c59e(0x1df))/0xb;if(_0x8229de===_0x1c7063)break;else _0x170baf['push'](_0x170baf['shift']());}catch(_0x4eb0a3){_0x170baf['push'](_0x170baf['shift']());}}}(a10_0xa496,0xbd256));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x3fe566(0x1ec)),cucumberModule=requireModule(a10_0x3fe566(0x1f6),a10_0x3fe566(0x1ef)),logger=require('../../helpers/logger')[a10_0x3fe566(0x1e0)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],configuration=process[a10_0x3fe566(0x1f0)][a10_0x3fe566(0x1f2)];if(configuration!==undefined){const config=JSON[a10_0x3fe566(0x1e7)](configuration);isTrue(config[a10_0x3fe566(0x1f5)])&&(global[a10_0x3fe566(0x201)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x3fe566(0x1fa)]),require(a10_0x3fe566(0x1ee))[a10_0x3fe566(0x1e2)](config),global[a10_0x3fe566(0x1fb)]=config['platformCaps']||{};}global[a10_0x3fe566(0x1e3)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x3fe566(0x1dd)];cucumberModule[a10_0x3fe566(0x1dd)]=_0x5355d3=>{const _0x20ad80=a10_0x3fe566,_0x4c0410={'akHgv':function(_0x2001bf,_0x3cdf98){return _0x2001bf(_0x3cdf98);}};global['__timeout']=_0x5355d3,_0x4c0410[_0x20ad80(0x1e1)](__setDefaultTimeout,_0x5355d3);};function a10_0xa496(){const _0xf52ef4=['\x22}}','skipSessionStatus','__platformCaps','toLowerCase','528698SJLsUK','8qUNgiH','timeout','passed','__skipSessionName','initQuit','__driver','__error_messages__','result','join','Inside\x20browserstack\x20After','2345749reoHwS','eCSOh','11884635aZhkXO','5HJUaGc','name','debug','10XaIfgI','setDefaultTimeout','session_','40944233rLaDVq','winstonLogger','akHgv','browserstackAgentV2','__timeout','aGYsk','CEXbr','1622265RogoLh','parse','Inside\x20browserstack\x20Before','88iEXOFY','pickle','5738802NdFQQI','../../helpers/setKeepAlive','TWcha','../../index','cucumber','env','then','CONFIG','XErcP','KpnHM','skipSessionName','cucumber/lib/index.js','\x20|\x20','178749EUPRfQ'];a10_0xa496=function(){return _0xf52ef4;};return a10_0xa496();}const a10_0x41ea3d={};a10_0x41ea3d[a10_0x3fe566(0x1da)]='bstack',Before(a10_0x41ea3d,function(){const _0x21e1ea=a10_0x3fe566,_0x1fbafc={};_0x1fbafc[_0x21e1ea(0x1ed)]=_0x21e1ea(0x1e8);const _0x3a1939=_0x1fbafc;logger['debug'](_0x3a1939['TWcha']),global[_0x21e1ea(0x204)]=[];});const a10_0x5db725={};function a10_0x3ad9(_0x133cc0,_0x2cad71){const _0xa496c7=a10_0xa496();return a10_0x3ad9=function(_0x3ad9a7,_0x5579e6){_0x3ad9a7=_0x3ad9a7-0x1d6;let _0x434e74=_0xa496c7[_0x3ad9a7];return _0x434e74;},a10_0x3ad9(_0x133cc0,_0x2cad71);}a10_0x5db725[a10_0x3fe566(0x1da)]='bstack',a10_0x5db725[a10_0x3fe566(0x1ff)]=0x2710,After(a10_0x5db725,function(_0x5e061b,_0x1ad4b5){const _0xcf4ad9=a10_0x3fe566,_0x30a776={'XErcP':function(_0x23d0ac,_0x2ca764){return _0x23d0ac===_0x2ca764;},'evdZV':'failed','CEXbr':function(_0x29973f,_0x397fe1,_0x25e9a2,_0x2b1262){return _0x29973f(_0x397fe1,_0x25e9a2,_0x2b1262);},'KpnHM':_0xcf4ad9(0x1f7),'eCSOh':function(_0x131f2a,_0x591959,_0x3159d1){return _0x131f2a(_0x591959,_0x3159d1);},'CGDqy':_0xcf4ad9(0x200),'aGYsk':function(_0xe7fa40){return _0xe7fa40();},'DbgQl':function(_0x1e8ea7,_0x1ce8b4){return _0x1e8ea7(_0x1ce8b4);},'Oxgxe':_0xcf4ad9(0x207)};logger[_0xcf4ad9(0x1db)](_0x30a776['Oxgxe']),new Promise(async(_0x54a59f,_0x4dcf6b)=>{const _0x4eb514=_0xcf4ad9;let _0x15bb43=![];try{await global['__driver'][_0x4eb514(0x1de)],_0x15bb43=!![],!global['__skipSessionName']&&await global[_0x4eb514(0x203)]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x5e061b[_0x4eb514(0x1ea)][_0x4eb514(0x1da)]+_0x4eb514(0x1f9)),_0x30a776[_0x4eb514(0x1f3)](_0x5e061b[_0x4eb514(0x205)]['status'][_0x4eb514(0x1fc)](),_0x30a776['evdZV'])?await _0x30a776[_0x4eb514(0x1e5)](markSessionStatus,global[_0x4eb514(0x203)],_0x30a776['evdZV'],global[_0x4eb514(0x204)][_0x4eb514(0x206)](_0x30a776[_0x4eb514(0x1f4)])):await _0x30a776[_0x4eb514(0x1d7)](markSessionStatus,global[_0x4eb514(0x203)],_0x30a776['CGDqy']);}catch(_0x211c7e){logger[_0x4eb514(0x1db)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x211c7e);}if(_0x15bb43)try{await global[_0x4eb514(0x203)][_0x4eb514(0x202)](),_0x30a776[_0x4eb514(0x1e4)](_0x54a59f);}catch(_0x15a7d6){logger['debug']('Error:\x20quiting\x20at\x20After:\x20'+_0x15a7d6),_0x30a776['DbgQl'](_0x4dcf6b,_0x15a7d6);}else _0x30a776['aGYsk'](_0x4dcf6b);})[_0xcf4ad9(0x1f1)](()=>_0x1ad4b5());});
1
+ const a10_0x1fbdec=a10_0xaa4d;function a10_0xaa4d(_0x5cf4f9,_0x30e6b9){const _0x1a1d7b=a10_0x1a1d();return a10_0xaa4d=function(_0xaa4daa,_0x43ed15){_0xaa4daa=_0xaa4daa-0x158;let _0x1c49d4=_0x1a1d7b[_0xaa4daa];return _0x1c49d4;},a10_0xaa4d(_0x5cf4f9,_0x30e6b9);}(function(_0x452360,_0x16dbbb){const _0x50fb58=a10_0xaa4d,_0x52e154=_0x452360();while(!![]){try{const _0x2c45c1=parseInt(_0x50fb58(0x16c))/0x1*(parseInt(_0x50fb58(0x158))/0x2)+parseInt(_0x50fb58(0x167))/0x3+parseInt(_0x50fb58(0x15b))/0x4+-parseInt(_0x50fb58(0x189))/0x5+parseInt(_0x50fb58(0x160))/0x6+-parseInt(_0x50fb58(0x169))/0x7+-parseInt(_0x50fb58(0x184))/0x8;if(_0x2c45c1===_0x16dbbb)break;else _0x52e154['push'](_0x52e154['shift']());}catch(_0x5ebf29){_0x52e154['push'](_0x52e154['shift']());}}}(a10_0x1a1d,0x2f640));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a10_0x1fbdec(0x15c),a10_0x1fbdec(0x164)),logger=require(a10_0x1fbdec(0x17d))[a10_0x1fbdec(0x179)];modifyCommand(),setKeepAlive();function a10_0x1a1d(){const _0x2d2e3b=['browserstackAgentV2','__skipSessionName','LYjPb','GTvqC','__driver','nODfI','vdKIU','winstonLogger','result','__platformCaps','debug','../../helpers/logger','IxJMs','skipSessionStatus','Zwsjs','Error:\x20setting\x20status\x20at\x20After:\x20','skipSessionName','join','4221168vaEsln','Before','session_','ljTmh','rZXyU','338455GAoYhq','__error_messages__','hwRYW','2PVCMsC','cXlmN','status','1418492MuWyMY','cucumber/lib/index.js','\x22}}','Error:\x20quiting\x20at\x20After:\x20','platformCaps','73950chzRGH','then','__timeout','Inside\x20browserstack\x20Before','cucumber','ehDMY','name','1037127izSMIu','passed','1614025mokopm','Inside\x20browserstack\x20After','bstack','307367RDufAk','initQuit','setDefaultTimeout','CONFIG','parse','failed'];a10_0x1a1d=function(){return _0x2d2e3b;};return a10_0x1a1d();}const Before=cucumberModule[a10_0x1fbdec(0x185)],After=cucumberModule['After'],configuration=process['env'][a10_0x1fbdec(0x16f)];if(configuration!==undefined){const config=JSON[a10_0x1fbdec(0x170)](configuration);isTrue(config[a10_0x1fbdec(0x182)])&&(global[a10_0x1fbdec(0x173)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x1fbdec(0x17f)]),require('../../index')[a10_0x1fbdec(0x172)](config),global[a10_0x1fbdec(0x17b)]=config[a10_0x1fbdec(0x15f)]||{};}global[a10_0x1fbdec(0x162)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x1fbdec(0x16e)]=_0x1297f9=>{const _0x32ea0a=a10_0x1fbdec,_0x570e60={'LYjPb':function(_0x82bff,_0x5b0ba2){return _0x82bff(_0x5b0ba2);}};global[_0x32ea0a(0x162)]=_0x1297f9,_0x570e60[_0x32ea0a(0x174)](__setDefaultTimeout,_0x1297f9);};const a10_0x1421ea={};a10_0x1421ea[a10_0x1fbdec(0x166)]=a10_0x1fbdec(0x16b),Before(a10_0x1421ea,function(){const _0x3a6f56=a10_0x1fbdec,_0x7b427b={};_0x7b427b[_0x3a6f56(0x175)]=_0x3a6f56(0x163);const _0x5cc330=_0x7b427b;logger[_0x3a6f56(0x17c)](_0x5cc330[_0x3a6f56(0x175)]),global[_0x3a6f56(0x18a)]=[];});const a10_0x237548={};a10_0x237548[a10_0x1fbdec(0x166)]=a10_0x1fbdec(0x16b),a10_0x237548['timeout']=0x2710,After(a10_0x237548,function(_0x4a5b30,_0x577c25){const _0x3df054=a10_0x1fbdec,_0x4840c4={'Zwsjs':function(_0x5f1c6a,_0x56b18d){return _0x5f1c6a===_0x56b18d;},'hwRYW':_0x3df054(0x171),'ljTmh':function(_0x2bc30d,_0x4901a1,_0x4ca93f,_0x37c2c3){return _0x2bc30d(_0x4901a1,_0x4ca93f,_0x37c2c3);},'rZXyU':'\x20|\x20','IxJMs':function(_0x19bf68,_0x327bba,_0x3ead2a){return _0x19bf68(_0x327bba,_0x3ead2a);},'nODfI':_0x3df054(0x168),'vdKIU':function(_0x561e19){return _0x561e19();},'aiaZH':function(_0x4d038a,_0x3fe7f7){return _0x4d038a(_0x3fe7f7);},'cXlmN':function(_0x29de4c){return _0x29de4c();},'ehDMY':_0x3df054(0x16a)};logger[_0x3df054(0x17c)](_0x4840c4[_0x3df054(0x165)]),new Promise(async(_0xde9117,_0x2969a8)=>{const _0x44fe6d=_0x3df054;let _0x19afd2=![];try{await global[_0x44fe6d(0x176)][_0x44fe6d(0x186)],_0x19afd2=!![],!global[_0x44fe6d(0x173)]&&await global['__driver']['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x4a5b30['pickle'][_0x44fe6d(0x166)]+_0x44fe6d(0x15d)),_0x4840c4[_0x44fe6d(0x180)](_0x4a5b30[_0x44fe6d(0x17a)][_0x44fe6d(0x15a)]['toLowerCase'](),_0x4840c4['hwRYW'])?await _0x4840c4[_0x44fe6d(0x187)](markSessionStatus,global[_0x44fe6d(0x176)],_0x4840c4[_0x44fe6d(0x18b)],global[_0x44fe6d(0x18a)][_0x44fe6d(0x183)](_0x4840c4[_0x44fe6d(0x188)])):await _0x4840c4[_0x44fe6d(0x17e)](markSessionStatus,global['__driver'],_0x4840c4[_0x44fe6d(0x177)]);}catch(_0x11fae8){logger[_0x44fe6d(0x17c)](_0x44fe6d(0x181)+_0x11fae8);}if(_0x19afd2)try{await global[_0x44fe6d(0x176)][_0x44fe6d(0x16d)](),_0x4840c4[_0x44fe6d(0x178)](_0xde9117);}catch(_0x8bca08){logger[_0x44fe6d(0x17c)](_0x44fe6d(0x15e)+_0x8bca08),_0x4840c4['aiaZH'](_0x2969a8,_0x8bca08);}else _0x4840c4[_0x44fe6d(0x159)](_0x2969a8);})[_0x3df054(0x161)](()=>_0x577c25());});
@@ -1 +1 @@
1
- const a11_0x2d54e2=a11_0x1843;(function(_0x3d1883,_0x5807cc){const _0x158a66=a11_0x1843,_0x227551=_0x3d1883();while(!![]){try{const _0x5d2c5e=-parseInt(_0x158a66(0x14b))/0x1+parseInt(_0x158a66(0x144))/0x2*(parseInt(_0x158a66(0x14a))/0x3)+parseInt(_0x158a66(0x149))/0x4*(-parseInt(_0x158a66(0x14c))/0x5)+parseInt(_0x158a66(0x148))/0x6+-parseInt(_0x158a66(0x14e))/0x7*(parseInt(_0x158a66(0x146))/0x8)+parseInt(_0x158a66(0x150))/0x9+parseInt(_0x158a66(0x14f))/0xa;if(_0x5d2c5e===_0x5807cc)break;else _0x227551['push'](_0x227551['shift']());}catch(_0x189cd3){_0x227551['push'](_0x227551['shift']());}}}(a11_0x1cca,0x74ac9));const {requireModule}=require('../../helpers/helper'),constants=require('../utils/constants');;function a11_0x1cca(){const _0x4711cd=['2650824OcygQp','setDefaultTimeout','cucumber/lib/index.js','78hmLBah','BSTACK_DELTA','112xykrIX','cucumber','327162yZGpdN','76TZqsFY','41235GQLOFZ','577509VSoAKu','70435htPjtw','@cucumber/cucumber/lib/index.js','465017pUQLCL','13679750uCLXUz'];a11_0x1cca=function(){return _0x4711cd;};return a11_0x1cca();}let cucumberModule=null;function a11_0x1843(_0x4b2b33,_0x1ba6a3){const _0x1cca2b=a11_0x1cca();return a11_0x1843=function(_0x1843de,_0xfa245d){_0x1843de=_0x1843de-0x143;let _0x49dbcb=_0x1cca2b[_0x1843de];return _0x49dbcb;},a11_0x1843(_0x4b2b33,_0x1ba6a3);}try{cucumberModule=requireModule(a11_0x2d54e2(0x14d),'@cucumber/cucumber');}catch(a11_0x2c8b09){cucumberModule=requireModule(a11_0x2d54e2(0x143),a11_0x2d54e2(0x147));}cucumberModule[a11_0x2d54e2(0x151)](constants[a11_0x2d54e2(0x145)]+global['__timeout']*0x1);
1
+ function a11_0x3044(_0x2e1dd2,_0x1b949e){const _0x4c5666=a11_0x4c56();return a11_0x3044=function(_0x304402,_0x4cde7c){_0x304402=_0x304402-0x15b;let _0x1ffb1b=_0x4c5666[_0x304402];return _0x1ffb1b;},a11_0x3044(_0x2e1dd2,_0x1b949e);}function a11_0x4c56(){const _0x2d24f4=['4473708QVpizO','5bASaFc','1440585ipKEPt','BSTACK_DELTA','232328BFyUuB','2821908NxvbSy','../utils/constants','__timeout','cucumber/lib/index.js','802311FpCVAR','3069745DJIURH','@cucumber/cucumber','@cucumber/cucumber/lib/index.js','cucumber','../../helpers/helper','2949416epUqdh'];a11_0x4c56=function(){return _0x2d24f4;};return a11_0x4c56();}const a11_0xc1efaf=a11_0x3044;(function(_0x46680e,_0x450785){const _0x2c882f=a11_0x3044,_0x300627=_0x46680e();while(!![]){try{const _0x585188=-parseInt(_0x2c882f(0x168))/0x1+-parseInt(_0x2c882f(0x163))/0x2+parseInt(_0x2c882f(0x161))/0x3+parseInt(_0x2c882f(0x164))/0x4*(-parseInt(_0x2c882f(0x160))/0x5)+parseInt(_0x2c882f(0x15f))/0x6+parseInt(_0x2c882f(0x169))/0x7+parseInt(_0x2c882f(0x15e))/0x8;if(_0x585188===_0x450785)break;else _0x300627['push'](_0x300627['shift']());}catch(_0x1de19f){_0x300627['push'](_0x300627['shift']());}}}(a11_0x4c56,0x63df1));const {requireModule}=require(a11_0xc1efaf(0x15d)),constants=require(a11_0xc1efaf(0x165));;let cucumberModule=null;try{cucumberModule=requireModule(a11_0xc1efaf(0x15b),a11_0xc1efaf(0x16a));}catch(a11_0x522265){cucumberModule=requireModule(a11_0xc1efaf(0x167),a11_0xc1efaf(0x15c));}cucumberModule['setDefaultTimeout'](constants[a11_0xc1efaf(0x162)]+global[a11_0xc1efaf(0x166)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a12_0x4dde(){const _0x4ffcc6=['62360xLsHka','accessKey','join','XxNNT','config','../../helpers/BrowserStackSetup','hosts','https:','replace','YIamD','bstackAccessKey','../../helpers/helper','browserstackLocal','./constants','443','49924nvsFyQ','tBsfz','describe','JVeXm','5624324ddklJk','invalid','2180120XolzWa','root','307791igZxLz','footer','DvlGH','setProxySettings','eMcHl','trim','browserStackLocalOptions','toString','zhSnt','Ndenh','setupBrowserstackLocal','hZhVj','options','only','EjGis','4192794FtLruz','bstack-accesskey','exports','https','fnWTv','command','VLgkc','port','hzPkd','rmKLA','split','string','help','connect','hostname','error','Connection\x20established\x20successfully.','undefined','epilogue','Hosts\x20not\x20valid','usage','1218xqoEKF','missing','info','Clmtp','cnyJu','url','bstackAccesskey','472UdzBRD','1436775aopZxw','integrations','type','map','protocol','localIdentifier','../../helpers/logger'];a12_0x4dde=function(){return _0x4ffcc6;};return a12_0x4dde();}function a12_0x20f2(_0x419619,_0x2b31dc){const _0x4dde4b=a12_0x4dde();return a12_0x20f2=function(_0x20f2d0,_0x36706f){_0x20f2d0=_0x20f2d0-0x177;let _0x78412f=_0x4dde4b[_0x20f2d0];return _0x78412f;},a12_0x20f2(_0x419619,_0x2b31dc);}const a12_0xfba028=a12_0x20f2;(function(_0x245344,_0x41ac13){const _0x46c006=a12_0x20f2,_0x260789=_0x245344();while(!![]){try{const _0x47bc75=-parseInt(_0x46c006(0x1a8))/0x1+-parseInt(_0x46c006(0x17a))/0x2+parseInt(_0x46c006(0x18b))/0x3+parseInt(_0x46c006(0x178))/0x4+-parseInt(_0x46c006(0x1af))/0x5+parseInt(_0x46c006(0x1a0))/0x6*(-parseInt(_0x46c006(0x1be))/0x7)+parseInt(_0x46c006(0x1a7))/0x8*(parseInt(_0x46c006(0x17c))/0x9);if(_0x47bc75===_0x41ac13)break;else _0x260789['push'](_0x260789['shift']());}catch(_0x49277f){_0x260789['push'](_0x260789['shift']());}}}(a12_0x4dde,0xcbb0d));const {default:BrowserStackSetup}=require(a12_0xfba028(0x1b4)),logger=require(a12_0xfba028(0x1ae))['winstonLogger'],{URL}=require(a12_0xfba028(0x1a5)),helper=require(a12_0xfba028(0x1ba)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0xfba028(0x1bc)),validHosts=function(_0x3053b7){const _0x72f595=a12_0xfba028;return _0x3053b7[_0x72f595(0x195)](',')['every'](_0x11f4dc=>{const _0x1860da=_0x72f595;try{new URL(_0x11f4dc[_0x1860da(0x181)]());}catch(_0x454a7b){return![];}return!![];});},parseOnPremHosts=function(_0x53cb74){const _0x220424=a12_0xfba028,_0x2b871b={};_0x2b871b[_0x220424(0x185)]=function(_0x37a408,_0x2ea8c2){return _0x37a408===_0x2ea8c2;},_0x2b871b['fnWTv']=_0x220424(0x1b6),_0x2b871b[_0x220424(0x184)]=_0x220424(0x1bd),_0x2b871b[_0x220424(0x1b2)]=function(_0x55c5c2,_0x574d38){return _0x55c5c2===_0x574d38;},_0x2b871b[_0x220424(0x1a4)]=_0x220424(0x18e);const _0x583429=_0x2b871b;return _0x53cb74[_0x220424(0x195)](',')[_0x220424(0x1ab)](_0x5de318=>{const _0x2b86e5=_0x220424,_0xfeb451=new URL(_0x5de318[_0x2b86e5(0x181)]()),_0x587142=_0xfeb451[_0x2b86e5(0x199)],_0x4b90c9=_0xfeb451[_0x2b86e5(0x192)]||(_0x583429[_0x2b86e5(0x185)](_0xfeb451[_0x2b86e5(0x1ac)],_0x583429[_0x2b86e5(0x18f)])?_0x583429['zhSnt']:'80'),_0x15b402=_0xfeb451[_0x2b86e5(0x1ac)][_0x2b86e5(0x1b7)](':',''),_0x190165=_0x583429[_0x2b86e5(0x1b2)](_0x15b402,_0x583429[_0x2b86e5(0x1a4)])?0x1:0x0;return _0x587142+','+_0x4b90c9+','+_0x190165;});},connectCommandBuilder=function(_0x3253af){const _0x2d2672=a12_0xfba028,_0x3a780e={};_0x3a780e[_0x2d2672(0x193)]=_0x2d2672(0x196);const _0x23e40e=_0x3a780e,_0x30b81e={};_0x30b81e[_0x2d2672(0x1c0)]=HELP_MESSAGES[_0x2d2672(0x188)][_0x2d2672(0x1b9)],_0x30b81e[_0x2d2672(0x1aa)]=_0x23e40e[_0x2d2672(0x193)];const _0x19d6a3={};_0x19d6a3['describe']=HELP_MESSAGES[_0x2d2672(0x188)][_0x2d2672(0x1b5)],_0x19d6a3[_0x2d2672(0x1aa)]=_0x23e40e[_0x2d2672(0x193)],_0x19d6a3['demandOption']=!![];const _0x2b8e15={};return _0x2b8e15[_0x2d2672(0x18c)]=_0x30b81e,_0x2b8e15[_0x2d2672(0x1b5)]=_0x19d6a3,_0x3253af['options'](_0x2b8e15);},connectCommandHandler=async function(_0x4dce27){const _0xec018e=a12_0xfba028,_0xb4d182={'EjGis':_0xec018e(0x1a9),'VLgkc':function(_0x14b029,_0x40ea91){return _0x14b029===_0x40ea91;},'tBsfz':_0xec018e(0x19c),'hZhVj':'BrowserStack\x20access\x20key\x20missing.','QMhRT':function(_0x49e406,_0x1c9561){return _0x49e406===_0x1c9561;},'JVeXm':'Integration\x20hosts\x20missing.','Clmtp':function(_0x310b4a,_0x1be3a4){return _0x310b4a(_0x1be3a4);},'xKfAJ':_0xec018e(0x19e),'ElIxd':'integrations-repeater','YIamD':_0xec018e(0x19b),'DvlGH':'Failed\x20to\x20establish\x20connection.'};try{const _0x3f3839=new BrowserStackSetup(_0x4dce27,_0xb4d182[_0xec018e(0x18a)]);_0x4dce27['bstackAccesskey']&&(_0x3f3839[_0xec018e(0x1b3)]['accessKey']=_0x4dce27[_0xec018e(0x1a6)]);if(_0xb4d182[_0xec018e(0x191)](typeof _0x3f3839['config'][_0xec018e(0x1b0)],_0xb4d182[_0xec018e(0x1bf)])){logger[_0xec018e(0x19a)](_0xb4d182[_0xec018e(0x187)]);throw new Error(ERROR_MESSAGES[_0xec018e(0x1b9)][_0xec018e(0x1a1)]);}const _0x2dcf2b=_0x4dce27[_0xec018e(0x1b5)];if(_0xb4d182['QMhRT'](typeof _0x2dcf2b,_0xb4d182[_0xec018e(0x1bf)])){logger[_0xec018e(0x19a)](_0xb4d182[_0xec018e(0x177)]);throw new Error(ERROR_MESSAGES[_0xec018e(0x1b5)][_0xec018e(0x1a1)]);}if(!_0xb4d182[_0xec018e(0x1a3)](validHosts,_0x2dcf2b)){logger[_0xec018e(0x19a)](_0xb4d182['xKfAJ']);throw new Error(ERROR_MESSAGES[_0xec018e(0x1b5)][_0xec018e(0x179)]);}const _0x336092=_0xb4d182[_0xec018e(0x1a3)](parseOnPremHosts,_0x2dcf2b);_0x3f3839[_0xec018e(0x1b3)][_0xec018e(0x1bb)]=!![],_0x3f3839[_0xec018e(0x1b3)][_0xec018e(0x182)][_0xec018e(0x1ad)]=_0xb4d182['ElIxd'],_0x3f3839['config']['browserStackLocalOptions'][_0xec018e(0x189)]=_0x336092[_0xec018e(0x1b1)](','),helper[_0xec018e(0x17f)](_0x3f3839[_0xec018e(0x1b3)]),await _0x3f3839[_0xec018e(0x186)](),logger[_0xec018e(0x1a2)](_0xb4d182[_0xec018e(0x1b8)]);}catch(_0x59e055){logger[_0xec018e(0x19a)](_0xb4d182[_0xec018e(0x17e)]);throw new Error(_0x59e055[_0xec018e(0x183)]());}};function run(_0x390bdc){const _0x56a7fd=a12_0xfba028,_0x641dbb={};_0x641dbb[_0x56a7fd(0x194)]=_0x56a7fd(0x198),_0x641dbb[_0x56a7fd(0x180)]=_0x56a7fd(0x197);const _0x5adaec=_0x641dbb;_0x390bdc[_0x56a7fd(0x19f)](HELP_MESSAGES[_0x56a7fd(0x190)][_0x56a7fd(0x17b)])['command'](_0x5adaec['rmKLA'],HELP_MESSAGES[_0x56a7fd(0x190)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x56a7fd(0x197)](_0x5adaec[_0x56a7fd(0x180)])[_0x56a7fd(0x19d)](HELP_MESSAGES['command'][_0x56a7fd(0x17d)]);}module[a12_0xfba028(0x18d)]=run;
2
+ 'use strict';const a12_0x36ff1d=a12_0x5c11;(function(_0x8ae731,_0x1abae0){const _0x19b31f=a12_0x5c11,_0x15595d=_0x8ae731();while(!![]){try{const _0x33099f=-parseInt(_0x19b31f(0x1af))/0x1+-parseInt(_0x19b31f(0x1da))/0x2*(parseInt(_0x19b31f(0x1c4))/0x3)+-parseInt(_0x19b31f(0x1cb))/0x4+parseInt(_0x19b31f(0x1b1))/0x5*(parseInt(_0x19b31f(0x1d3))/0x6)+-parseInt(_0x19b31f(0x1e3))/0x7+parseInt(_0x19b31f(0x1b5))/0x8*(parseInt(_0x19b31f(0x1bd))/0x9)+parseInt(_0x19b31f(0x1ae))/0xa;if(_0x33099f===_0x1abae0)break;else _0x15595d['push'](_0x15595d['shift']());}catch(_0x33c411){_0x15595d['push'](_0x15595d['shift']());}}}(a12_0x1823,0x7233b));const {default:BrowserStackSetup}=require(a12_0x36ff1d(0x1e7)),logger=require(a12_0x36ff1d(0x1f1))[a12_0x36ff1d(0x1c2)],{URL}=require('url'),helper=require(a12_0x36ff1d(0x1ea)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x36ff1d(0x1ce)),validHosts=function(_0x38a551){const _0x1a2acd=a12_0x36ff1d;return _0x38a551[_0x1a2acd(0x1c1)](',')[_0x1a2acd(0x1e8)](_0x34e197=>{try{new URL(_0x34e197['trim']());}catch(_0x5b9e70){return![];}return!![];});},parseOnPremHosts=function(_0xf4ed12){const _0x570d4f=a12_0x36ff1d,_0x25dd76={};_0x25dd76[_0x570d4f(0x1bb)]=function(_0x220afc,_0x2da74f){return _0x220afc===_0x2da74f;},_0x25dd76[_0x570d4f(0x1f4)]=_0x570d4f(0x1e6),_0x25dd76['dqTBm']='443',_0x25dd76[_0x570d4f(0x1dd)]=function(_0x368e4b,_0xcf08bf){return _0x368e4b===_0xcf08bf;},_0x25dd76['jmpRD']=_0x570d4f(0x1d4);const _0x160a8=_0x25dd76;return _0xf4ed12[_0x570d4f(0x1c1)](',')['map'](_0x5c462b=>{const _0x4cfdb6=_0x570d4f,_0x44802e=new URL(_0x5c462b['trim']()),_0x53a819=_0x44802e[_0x4cfdb6(0x1e2)],_0x5999e7=_0x44802e[_0x4cfdb6(0x1d7)]||(_0x160a8['EOpyx'](_0x44802e[_0x4cfdb6(0x1bf)],_0x160a8[_0x4cfdb6(0x1f4)])?_0x160a8[_0x4cfdb6(0x1c5)]:'80'),_0x547fe3=_0x44802e['protocol'][_0x4cfdb6(0x1b6)](':',''),_0x377574=_0x160a8['JpSjW'](_0x547fe3,_0x160a8[_0x4cfdb6(0x1db)])?0x1:0x0;return _0x53a819+','+_0x5999e7+','+_0x377574;});},connectCommandBuilder=function(_0x55068b){const _0x4b1ea0=a12_0x36ff1d,_0x575ce={};_0x575ce[_0x4b1ea0(0x1ec)]=_0x4b1ea0(0x1b9);const _0x33bb6d=_0x575ce,_0x199e67={};_0x199e67[_0x4b1ea0(0x1df)]=HELP_MESSAGES[_0x4b1ea0(0x1b8)][_0x4b1ea0(0x1ca)],_0x199e67[_0x4b1ea0(0x1ba)]=_0x33bb6d[_0x4b1ea0(0x1ec)];const _0x4dedf4={};_0x4dedf4[_0x4b1ea0(0x1df)]=HELP_MESSAGES[_0x4b1ea0(0x1b8)][_0x4b1ea0(0x1dc)],_0x4dedf4['type']=_0x33bb6d['rBCAR'],_0x4dedf4[_0x4b1ea0(0x1c6)]=!![];const _0x28e1b4={};return _0x28e1b4['bstack-accesskey']=_0x199e67,_0x28e1b4[_0x4b1ea0(0x1dc)]=_0x4dedf4,_0x55068b[_0x4b1ea0(0x1b8)](_0x28e1b4);},connectCommandHandler=async function(_0x2fc9af){const _0x18436f=a12_0x36ff1d,_0x4f8998={'yegaC':_0x18436f(0x1cd),'pFunp':function(_0x5ca5cf,_0x29b47c){return _0x5ca5cf===_0x29b47c;},'tiFIO':_0x18436f(0x1b7),'kMsnu':'BrowserStack\x20access\x20key\x20missing.','Kvuzw':'Integration\x20hosts\x20missing.','BkQON':function(_0x4565cc,_0x24377f){return _0x4565cc(_0x24377f);},'JGhuG':'Hosts\x20not\x20valid','FzYbz':function(_0x43abc7,_0x3e0ad0){return _0x43abc7(_0x3e0ad0);},'GvosK':_0x18436f(0x1e9),'RObLQ':_0x18436f(0x1d5),'jMKfI':_0x18436f(0x1f3)};try{const _0x51210a=new BrowserStackSetup(_0x2fc9af,_0x4f8998[_0x18436f(0x1eb)]);_0x2fc9af['bstackAccesskey']&&(_0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1c3)]=_0x2fc9af['bstackAccesskey']);if(_0x4f8998['pFunp'](typeof _0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1c3)],_0x4f8998[_0x18436f(0x1e1)])){logger[_0x18436f(0x1d9)](_0x4f8998['kMsnu']);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x18436f(0x1ef)]);}const _0x5c1afa=_0x2fc9af[_0x18436f(0x1dc)];if(_0x4f8998[_0x18436f(0x1ed)](typeof _0x5c1afa,_0x4f8998[_0x18436f(0x1e1)])){logger[_0x18436f(0x1d9)](_0x4f8998[_0x18436f(0x1c8)]);throw new Error(ERROR_MESSAGES['hosts'][_0x18436f(0x1ef)]);}if(!_0x4f8998['BkQON'](validHosts,_0x5c1afa)){logger[_0x18436f(0x1d9)](_0x4f8998[_0x18436f(0x1d1)]);throw new Error(ERROR_MESSAGES[_0x18436f(0x1dc)][_0x18436f(0x1f2)]);}const _0xd4bc16=_0x4f8998[_0x18436f(0x1d8)](parseOnPremHosts,_0x5c1afa);_0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1bc)]=!![],_0x51210a['config'][_0x18436f(0x1c7)][_0x18436f(0x1b3)]=_0x4f8998[_0x18436f(0x1b4)],_0x51210a[_0x18436f(0x1ee)][_0x18436f(0x1c7)]['only']=_0xd4bc16[_0x18436f(0x1d6)](','),helper[_0x18436f(0x1f0)](_0x51210a['config']),await _0x51210a[_0x18436f(0x1f5)](),logger[_0x18436f(0x1c9)](_0x4f8998[_0x18436f(0x1e5)]);}catch(_0x15163b){logger[_0x18436f(0x1d9)](_0x4f8998[_0x18436f(0x1b0)]);throw new Error(_0x15163b[_0x18436f(0x1e0)]());}};function a12_0x5c11(_0x205b5d,_0x1131de){const _0x182353=a12_0x1823();return a12_0x5c11=function(_0x5c1121,_0x3303ad){_0x5c1121=_0x5c1121-0x1ae;let _0x488762=_0x182353[_0x5c1121];return _0x488762;},a12_0x5c11(_0x205b5d,_0x1131de);}function a12_0x1823(){const _0x32af9f=['LNbre','setupBrowserstackLocal','6688780BruPJa','667161Hizkwe','jMKfI','474205SpviEf','connect','localIdentifier','GvosK','192wiVPle','replace','undefined','options','string','type','EOpyx','browserstackLocal','338679fnQyfF','footer','protocol','root','split','winstonLogger','accessKey','3keLsdB','dqTBm','demandOption','browserStackLocalOptions','Kvuzw','info','bstackAccessKey','441420GdtKfb','command','integrations','./constants','epilogue','help','JGhuG','demandCommand','36VeligJ','https','Connection\x20established\x20successfully.','join','port','FzYbz','error','792734InSgyp','jmpRD','hosts','JpSjW','edttX','describe','toString','tiFIO','hostname','3495898qpricZ','dHxJs','RObLQ','https:','../../helpers/BrowserStackSetup','every','integrations-repeater','../../helpers/helper','yegaC','rBCAR','pFunp','config','missing','setProxySettings','../../helpers/logger','invalid','Failed\x20to\x20establish\x20connection.'];a12_0x1823=function(){return _0x32af9f;};return a12_0x1823();}function run(_0x39360f){const _0x1ba158=a12_0x36ff1d,_0x19db40={};_0x19db40[_0x1ba158(0x1de)]='connect',_0x19db40[_0x1ba158(0x1e4)]=_0x1ba158(0x1d0);const _0x47800f=_0x19db40;_0x39360f['usage'](HELP_MESSAGES['command'][_0x1ba158(0x1c0)])[_0x1ba158(0x1cc)](_0x47800f[_0x1ba158(0x1de)],HELP_MESSAGES['command'][_0x1ba158(0x1b2)],connectCommandBuilder,connectCommandHandler)[_0x1ba158(0x1d2)]()[_0x1ba158(0x1d0)](_0x47800f[_0x1ba158(0x1e4)])[_0x1ba158(0x1cf)](HELP_MESSAGES[_0x1ba158(0x1cc)][_0x1ba158(0x1be)]);}module['exports']=run;
@@ -1 +1 @@
1
- var a13_0x262a26=a13_0xafcb;(function(_0x48345b,_0x3f7760){var _0x2271d4=a13_0xafcb,_0x1c0291=_0x48345b();while(!![]){try{var _0x2b0301=parseInt(_0x2271d4(0x9a))/0x1*(parseInt(_0x2271d4(0x9f))/0x2)+-parseInt(_0x2271d4(0xa3))/0x3+parseInt(_0x2271d4(0x9e))/0x4+-parseInt(_0x2271d4(0xaa))/0x5*(-parseInt(_0x2271d4(0xa5))/0x6)+-parseInt(_0x2271d4(0xa7))/0x7*(-parseInt(_0x2271d4(0xa8))/0x8)+-parseInt(_0x2271d4(0xac))/0x9*(parseInt(_0x2271d4(0xa9))/0xa)+-parseInt(_0x2271d4(0xaf))/0xb;if(_0x2b0301===_0x3f7760)break;else _0x1c0291['push'](_0x1c0291['shift']());}catch(_0x3ffb27){_0x1c0291['push'](_0x1c0291['shift']());}}}(a13_0x3fcf,0xd75ad));function a13_0x3fcf(){var _0xe95b7d=['invalid','hosts','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','4058132pfqNGx','97818UgvQBD','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','3714246TuKqqW','command','42OHypXk','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','40684vKorrv','8wREjoj','10IpfbMd','605415zeSWPC','missing','8960418kXvbuR','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','options','2951608IgwyHT','bstackAccessKey','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','root','ERROR_MESSAGES','31aIeBCJ'];a13_0x3fcf=function(){return _0xe95b7d;};return a13_0x3fcf();}var a13_0x17135f={};a13_0x17135f[a13_0x262a26(0xb0)]=a13_0x262a26(0xa6),a13_0x17135f[a13_0x262a26(0x9c)]=a13_0x262a26(0xa1);var a13_0x5b0f8c={};a13_0x5b0f8c[a13_0x262a26(0xb2)]=a13_0x262a26(0x9d),a13_0x5b0f8c['connect']=a13_0x262a26(0xad),a13_0x5b0f8c['footer']=a13_0x262a26(0xa0);var a13_0xbf5f0={};a13_0xbf5f0[a13_0x262a26(0xae)]=a13_0x17135f,a13_0xbf5f0[a13_0x262a26(0xa4)]=a13_0x5b0f8c,exports['HELP_MESSAGES']=a13_0xbf5f0;var a13_0xbc4893={};a13_0xbc4893['missing']=a13_0x262a26(0xa2);function a13_0xafcb(_0x5ad62a,_0x2e790b){var _0x3fcf1f=a13_0x3fcf();return a13_0xafcb=function(_0xafcbbb,_0x32ba5e){_0xafcbbb=_0xafcbbb-0x99;var _0x5827d1=_0x3fcf1f[_0xafcbbb];return _0x5827d1;},a13_0xafcb(_0x5ad62a,_0x2e790b);}var a13_0x29f870={};a13_0x29f870[a13_0x262a26(0xab)]=a13_0x262a26(0xb1),a13_0x29f870[a13_0x262a26(0x9b)]='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x59834c={};a13_0x59834c[a13_0x262a26(0xb0)]=a13_0xbc4893,a13_0x59834c[a13_0x262a26(0x9c)]=a13_0x29f870,exports[a13_0x262a26(0x99)]=a13_0x59834c;
1
+ var a13_0x346a06=a13_0x3c1a;(function(_0xcc2ac4,_0x542703){var _0x4369d5=a13_0x3c1a,_0x5c3836=_0xcc2ac4();while(!![]){try{var _0x4d7f81=-parseInt(_0x4369d5(0x134))/0x1*(parseInt(_0x4369d5(0x12a))/0x2)+parseInt(_0x4369d5(0x13a))/0x3+-parseInt(_0x4369d5(0x12f))/0x4+-parseInt(_0x4369d5(0x13b))/0x5*(-parseInt(_0x4369d5(0x133))/0x6)+-parseInt(_0x4369d5(0x13c))/0x7+-parseInt(_0x4369d5(0x126))/0x8*(-parseInt(_0x4369d5(0x135))/0x9)+parseInt(_0x4369d5(0x13f))/0xa;if(_0x4d7f81===_0x542703)break;else _0x5c3836['push'](_0x5c3836['shift']());}catch(_0x216c95){_0x5c3836['push'](_0x5c3836['shift']());}}}(a13_0xdde7,0x6298f));var a13_0x340312={};a13_0x340312[a13_0x346a06(0x129)]=a13_0x346a06(0x130),a13_0x340312[a13_0x346a06(0x127)]=a13_0x346a06(0x128);var a13_0x1be9b1={};function a13_0xdde7(){var _0x51f3f4=['root','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','4069194ugPAtd','1Declbw','2484wYgkkA','command','HELP_MESSAGES','missing','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','437241jrBLMF','5VahOeH','4717062ZZSBCN','ERROR_MESSAGES','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','5074010BtcSJA','footer','10176TgeMoK','hosts','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','bstackAccessKey','164568ToOsVO','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','options','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','connect','2089656RiUNEI','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a13_0xdde7=function(){return _0x51f3f4;};return a13_0xdde7();}a13_0x1be9b1[a13_0x346a06(0x131)]=a13_0x346a06(0x12b),a13_0x1be9b1[a13_0x346a06(0x12e)]=a13_0x346a06(0x13e),a13_0x1be9b1[a13_0x346a06(0x125)]=a13_0x346a06(0x139);var a13_0x58174b={};a13_0x58174b[a13_0x346a06(0x12c)]=a13_0x340312,a13_0x58174b[a13_0x346a06(0x136)]=a13_0x1be9b1,exports[a13_0x346a06(0x137)]=a13_0x58174b;var a13_0x1b2ba3={};a13_0x1b2ba3[a13_0x346a06(0x138)]=a13_0x346a06(0x132);function a13_0x3c1a(_0x3b1b2a,_0x4c8180){var _0xdde7f1=a13_0xdde7();return a13_0x3c1a=function(_0x3c1ad1,_0x2b9f40){_0x3c1ad1=_0x3c1ad1-0x125;var _0x37e302=_0xdde7f1[_0x3c1ad1];return _0x37e302;},a13_0x3c1a(_0x3b1b2a,_0x4c8180);}var a13_0x2af459={};a13_0x2af459[a13_0x346a06(0x138)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x2af459['invalid']=a13_0x346a06(0x12d);var a13_0xf7b32c={};a13_0xf7b32c[a13_0x346a06(0x129)]=a13_0x1b2ba3,a13_0xf7b32c[a13_0x346a06(0x127)]=a13_0x2af459,exports[a13_0x346a06(0x13d)]=a13_0xf7b32c;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x3816cd=a14_0x13bb;function a14_0x1d23(){const _0x483ade=['jest.config.','Error\x20while\x20parsing\x20','runInBand','error\x20removing\x20tcg\x20config\x20file','force','isBrowserstackInfra','../../helpers/test-observability/utils','errorMessage','platforms','skipSessionStatus','SMtZJ','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jest','Getting\x20your\x20jest\x20configs\x20from\x20package.json','laBQc','testTimeout','capabilities','cwd','isRunning','2052738EmRoFt','MODULE','mjs','testRunner','196977QwMINE','cjs','readFileSync','retries__','getHubUrl','false','isNotUndefined','splice','QERSi','exports','assign','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','winstonLogger','Unable\x20to\x20find\x20jest-circus,\x20','platformCaps','useW3C','USER_CONFIG_DETAILS_PATH','findIndex','customSequencer.js','OYmuG','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','103045IMrErM','../../helpers/percy/utils','dkSjW','MNmlr','vuCbo','serial__','../../helpers/test-observability/constants','../../helpers/performance/constants','Deleted\x20fail-fast\x20state\x20folder:\x20','2208240MskJZp','resolve','@playwright/test','recursive','playwright','slice','../../helpers/performance/performance-tester','jest_browserstack.config.js','filterBrowserstackArgs','../../helpers/helper','../../helpers/accessibility-automation/helper','../../helpers/utilities','requirePWModule','jxOsD','466800pRtloS','test-observability','launchBuild','workingDir','MJrIy','JfwRn','proxySettings','failFast','findTestFiles','vmKwv','debug','gAMQi','testEnvironmentOptions','initialize','checkAccessibilityPlatformConfig','jest.setup.js','./test-observability/test-details','tChnO','uZQSS','DVnrR','QhRaA','isUndefined','afcny','data-hooks.js','env','log','MpbgU','WVmvL','default','browserStackPercyOptions','\x20with\x20browserstack\x20jest\x20configs','../../helpers/logger','writeFileSync','getInstance','shouldProcessEventForTesthub','turboScaleUrl','join','apply','ltQDy','rmdirSync','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','qUzYg','BDOqi','shutdown','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','stop','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','__isPlaywrightInstalled','customCircus.js','Creating\x20','test.setup.js','end','./test-observability/helper','JEST','AJivD','timeout__','testEnvironment','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/testhub/testhubHandler','runner','config','Deleting\x20','517020yncioG','logLevel','UrMQK','util','test_before.setup.js','reorderTestFiles','yrEND','HrMsN','npx','PitWt','maxRetries','skipSessionName','SweTW','GEJEH','XOCxR','lcpOx','exitCode','../../helpers/BrowserStackSetup','true','abortBuildOnFailure','retryTestsOnFailure','reporters','jest-config','platform','FRwqX','parseTestOrchestrationOptions','maxFailures','getPackageType','../v2/browserstackCLI','lDVAS','paDwk','info','existsSync','setupFilesAfterEnv','child_process','\x0a\x20\x20\x20\x20','const\x20config=','path','../utils/constants','testObservability','cznNZ','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../helpers/test-orchestration/testOrchestrationHandler','setupFiles','izzuX','parse','win32','push','jakeC','stringify','YhlDI','length','JxeKW','../../helpers/playwright-helper','requireSeleniumWebdriver','BSTACK_JEST_TEST_ENV','sfUup','package.json','parallels__','unlinkSync','jest-circus','FCnOo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jest-config/build/readConfigFileAndSetRootDir.js','Found:\x20','getTCGConfigFilePaths','1893045NcVeHO','xaole','format','accessibility','fQDmp','inherit','44NUkQtD','parallelsPerPlatform','--config','maxWorkers','requireModule','\x20:\x20','child\x20process\x20exited\x20with\x20code\x20','start','customTestRunner.js','../../helpers/testhub/utils','testContextOptions','jkWhF','XWBZi','isTestOrchestrationEnabled','tShYy','FRAMEWORKS','jest_browserstack_results.json','finalExecution'];a14_0x1d23=function(){return _0x483ade;};return a14_0x1d23();}function a14_0x13bb(_0x207630,_0x3bb5c0){const _0x1d2395=a14_0x1d23();return a14_0x13bb=function(_0x13bb4b,_0x209992){_0x13bb4b=_0x13bb4b-0x6b;let _0x48c5b0=_0x1d2395[_0x13bb4b];return _0x48c5b0;},a14_0x13bb(_0x207630,_0x3bb5c0);}(function(_0x345547,_0x1fb4d1){const _0x4baa60=a14_0x13bb,_0x302f37=_0x345547();while(!![]){try{const _0x35cbdc=parseInt(_0x4baa60(0xac))/0x1+parseInt(_0x4baa60(0x116))/0x2+parseInt(_0x4baa60(0xd8))/0x3+-parseInt(_0x4baa60(0x83))/0x4*(parseInt(_0x4baa60(0xc1))/0x5)+parseInt(_0x4baa60(0xa8))/0x6+-parseInt(_0x4baa60(0x7d))/0x7+-parseInt(_0x4baa60(0xca))/0x8;if(_0x35cbdc===_0x1fb4d1)break;else _0x302f37['push'](_0x302f37['shift']());}catch(_0x46b96c){_0x302f37['push'](_0x302f37['shift']());}}}(a14_0x1d23,0x2bf4e));const fs=require('fs'),path=require(a14_0x3816cd(0x13b)),util=require(a14_0x3816cd(0x119)),{spawn}=require(a14_0x3816cd(0x138)),logger=require(a14_0x3816cd(0xf7))[a14_0x3816cd(0xb8)],{default:BrowserStackSetup}=require(a14_0x3816cd(0x127)),helper=require(a14_0x3816cd(0xd3)),utilities=require(a14_0x3816cd(0xd5)),constants=require(a14_0x3816cd(0x13c)),accessibilityHelper=require(a14_0x3816cd(0xd4)),{updateTestRerunConfig}=require(a14_0x3816cd(0x10c)),testOpsHelper=require(a14_0x3816cd(0x9b)),{debug}=require(a14_0x3816cd(0x9b)),TestDetails=require(a14_0x3816cd(0xe8)),{getPercyOptions}=require(a14_0x3816cd(0xc2)),TestHubHandler=require(a14_0x3816cd(0x112)),testhubUtils=require(a14_0x3816cd(0x8c)),{FRAMEWORKS}=require(a14_0x3816cd(0xc7)),PerformanceTester=require(a14_0x3816cd(0xd0)),PerformanceEvents=require(a14_0x3816cd(0xc8))['EVENTS'],TestOrchestrationHandler=require(a14_0x3816cd(0x140)),BrowserstackCLI=require(a14_0x3816cd(0x132)),{checkPwandBootstrapCli}=require(a14_0x3816cd(0x70)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserJestConfigs=async(_0x32e887,_0x4c53d2)=>{const _0x302e59=a14_0x3816cd,_0x5ea078={'AzEWl':_0x302e59(0x7a),'sfUup':_0x302e59(0x12c),'lcpOx':function(_0x535ee3,_0x2fb4bc){return _0x535ee3||_0x2fb4bc;},'fQDmp':function(_0x4a2f91,_0x3371dc){return _0x4a2f91(_0x3371dc);},'AJivD':_0x302e59(0x74),'vuCbo':_0x302e59(0xa2),'afcny':_0x302e59(0xaa),'QhRaA':_0x302e59(0xad),'SpJKS':'json'},_0x233b96=helper[_0x302e59(0x87)](_0x5ea078['AzEWl'],_0x5ea078[_0x302e59(0x73)]),_0x2f4459=_0x4c53d2[_0x302e59(0xbd)](_0x3d91e1=>_0x3d91e1===_0x302e59(0x85));if(!helper['isUndefined'](_0x32e887[_0x302e59(0x114)])){logger[_0x302e59(0x135)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x32e887['config']),process[_0x302e59(0xf0)][_0x302e59(0xbc)]=_0x32e887[_0x302e59(0x114)];const _0x5a548c=await(0x0,_0x233b96[_0x302e59(0xf4)])(path[_0x302e59(0xcb)](_0x32e887[_0x302e59(0x114)]));return _0x4c53d2[_0x302e59(0xb3)](_0x2f4459,0x2),_0x5ea078[_0x302e59(0x125)](_0x5a548c,{});}const _0xd7de5f=_0x5ea078[_0x302e59(0x81)](require,path[_0x302e59(0xfc)](process[_0x302e59(0xa6)](),_0x5ea078[_0x302e59(0x10e)]));if(_0xd7de5f[_0x302e59(0xa1)])return logger[_0x302e59(0x135)](_0x5ea078[_0x302e59(0xc5)]),_0xd7de5f[_0x302e59(0xa1)];const _0x271ede=['js',_0x5ea078[_0x302e59(0xee)],_0x5ea078[_0x302e59(0xec)],_0x5ea078['SpJKS'],'ts'];for(const _0x2cb494 of _0x271ede){const _0x2af710=path[_0x302e59(0xfc)](process[_0x302e59(0xa6)](),_0x302e59(0x95)+_0x2cb494);if(fs[_0x302e59(0x136)](_0x2af710)){process[_0x302e59(0xf0)][_0x302e59(0xbc)]=_0x2af710;const _0x216887=await(0x0,_0x233b96['default'])(_0x2af710);return _0x216887;}}return{};},getSerial=(_0x4c36ca,_0x50fdb6)=>{const _0x37cd39=a14_0x3816cd,_0x157697={};_0x157697['XWBZi']=_0x37cd39(0x128),_0x157697[_0x37cd39(0xe9)]=function(_0x23efef,_0x38955e){return _0x23efef>_0x38955e;},_0x157697[_0x37cd39(0x78)]=function(_0x3337ce,_0x23ecc7){return _0x3337ce>_0x23ecc7;},_0x157697[_0x37cd39(0x122)]=_0x37cd39(0xb1);const _0x2ec506=_0x157697;let _0x7e8602=_0x2ec506[_0x37cd39(0x8f)];return _0x2ec506[_0x37cd39(0xe9)](_0x4c36ca['length'],0x1)&&(!_0x50fdb6[_0x37cd39(0x97)]&&(helper[_0x37cd39(0xed)](_0x50fdb6[_0x37cd39(0x86)])||_0x2ec506[_0x37cd39(0x78)](_0x50fdb6[_0x37cd39(0x86)],0x1)))&&(_0x7e8602=_0x2ec506['SweTW']),_0x7e8602;},getMaxWorkers=(_0x155ef3,_0x2000c8,_0xdbf8bd)=>{const _0x38bca3=a14_0x3816cd,_0x1caf17={'QERSi':function(_0xf288a6,_0x57e089){return _0xf288a6(_0x57e089);}};let _0x1c8da5=0x1;if(!helper['isUndefined'](_0x2000c8[_0x38bca3(0x84)]))_0x1c8da5=_0x1caf17[_0x38bca3(0xb4)](parseInt,_0x2000c8[_0x38bca3(0x84)]);else{if(!helper[_0x38bca3(0xed)](_0x155ef3[_0x38bca3(0x86)]))_0x1c8da5=_0x155ef3[_0x38bca3(0x86)];else!helper[_0x38bca3(0xed)](_0xdbf8bd[_0x38bca3(0x86)])&&(_0x1c8da5=_0xdbf8bd['maxWorkers']);}return _0x1c8da5;};async function run(_0x22fe7c,_0x165adc,_0x589521){const _0x4eeb9f=a14_0x3816cd,_0x505352={'GEJEH':_0x4eeb9f(0x98),'gAMQi':'jest','SMtZJ':function(_0x451453,_0x3ba6fc){return _0x451453(_0x3ba6fc);},'xaole':_0x4eeb9f(0xcc),'OYmuG':function(_0x304bee,_0x38835d,_0x5078e7,_0x507780){return _0x304bee(_0x38835d,_0x5078e7,_0x507780);},'WVmvL':function(_0x11455b,_0x1031e4){return _0x11455b!=_0x1031e4;},'xSsXK':'true','paDwk':function(_0x354d81,_0x1f55e7,_0x189bd3){return _0x354d81(_0x1f55e7,_0x189bd3);},'izzuX':_0x4eeb9f(0xb7),'HrMsN':function(_0x374540,_0x178259){return _0x374540(_0x178259);},'DVnrR':function(_0x4f55df,_0x589fe2,_0x3a491a){return _0x4f55df(_0x589fe2,_0x3a491a);},'yrEND':function(_0x1f6116,_0x56f3b9,_0x110331,_0x254e16){return _0x1f6116(_0x56f3b9,_0x110331,_0x254e16);},'sdTse':function(_0x33ea16,_0x116b3a){return _0x33ea16*_0x116b3a;},'MJrIy':function(_0xa1cc71,_0x20cb3d){return _0xa1cc71===_0x20cb3d;},'XOCxR':'jest_browserstack.config.cjs','RsjAl':_0x4eeb9f(0xd1),'qUzYg':'customImplements','cznNZ':_0x4eeb9f(0x93),'xCOfR':_0x4eeb9f(0x8b),'nrLtE':'customTestRunnerTemplate.js','HudZk':'customEnvironment.js','tShYy':_0x4eeb9f(0xe7),'dPXcl':_0x4eeb9f(0xbe),'PitWt':_0x4eeb9f(0x100),'MNmlr':_0x4eeb9f(0x77),'eTbfT':function(_0x229edd,_0x8879ef){return _0x229edd(_0x8879ef);},'ltQDy':_0x4eeb9f(0xd9),'uZQSS':_0x4eeb9f(0xef),'JfwRn':_0x4eeb9f(0x108),'UrMQK':_0x4eeb9f(0x11a),'JxeKW':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','vmKwv':_0x4eeb9f(0xce),'SEVzF':_0x4eeb9f(0x104),'jakeC':_0x4eeb9f(0x10a),'jkWhF':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','jxOsD':_0x4eeb9f(0xf4),'dkSjW':_0x4eeb9f(0x13f),'kqWTX':function(_0x330d42,_0x1bece5){return _0x330d42>_0x1bece5;},'laBQc':_0x4eeb9f(0xa0),'YhlDI':_0x4eeb9f(0x11e),'FRwqX':'--config','lDVAS':_0x4eeb9f(0x144),'BDOqi':_0x4eeb9f(0x82),'MpbgU':'close'},_0x3e0e74=helper['getPackageVersion'](_0x505352['xaole']);global[_0x4eeb9f(0x107)]=!!_0x3e0e74;helper[_0x4eeb9f(0x9a)]()?(await _0x589521[_0x4eeb9f(0xe5)](_0x22fe7c),await helper['handleApp'](_0x589521['config'])):await _0x589521['setupTCGAuth']();await _0x505352[_0x4eeb9f(0xbf)](checkPwandBootstrapCli,_0x3e0e74,constants[_0x4eeb9f(0x92)][_0x4eeb9f(0x10d)],_0x589521);if(!_0x589521['config'])return;_0x505352[_0x4eeb9f(0xf3)](_0x589521[_0x4eeb9f(0x114)][_0x4eeb9f(0x13d)],null)?process[_0x4eeb9f(0xf0)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x589521[_0x4eeb9f(0x114)][_0x4eeb9f(0x13d)]:process[_0x4eeb9f(0xf0)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x505352['xSsXK'];const _0x1530f0=new TestOrchestrationHandler(_0x589521[_0x4eeb9f(0x114)]),_0x25ea21=await _0x505352[_0x4eeb9f(0x134)](getUserJestConfigs,_0x22fe7c,_0x165adc);logger[_0x4eeb9f(0x135)](_0x505352[_0x4eeb9f(0x142)]);const _0x16a905=Object[_0x4eeb9f(0xb6)]({},_0x25ea21);_0x16a905[_0x4eeb9f(0xe4)]=Object[_0x4eeb9f(0xb6)]({},_0x16a905[_0x4eeb9f(0xe4)],{'server':helper[_0x4eeb9f(0xb0)](_0x589521['config']),'environment':_0x25ea21[_0x4eeb9f(0x110)]}),_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0xf5)]=_0x505352[_0x4eeb9f(0x11d)](getPercyOptions,_0x589521[_0x4eeb9f(0x114)]);const _0x47e6b2=helper[_0x4eeb9f(0xbb)](_0x589521['config']);!helper['isUndefined'](_0x589521['config']['accessibilityOptions'])&&(process[_0x4eeb9f(0xf0)][_0x4eeb9f(0x79)]=JSON[_0x4eeb9f(0x6c)](_0x589521['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x4eeb9f(0xf9)]()[_0x4eeb9f(0xa7)]()){const _0x2dee66=await TestHubHandler[_0x4eeb9f(0xda)](FRAMEWORKS['JEST'],_0x589521);}const _0x496268=helper['prepareCapabilities'](_0x589521[_0x4eeb9f(0x114)],_0x47e6b2,constants['FRAMEWORKS']['JEST']);process[_0x4eeb9f(0xf0)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x4eeb9f(0x6c)](_0x496268);let _0x551853=_0x589521['config'][_0x4eeb9f(0x80)];_0x551853=_0x551853||accessibilityHelper[_0x4eeb9f(0xe6)](_0x589521[_0x4eeb9f(0x114)]),process[_0x4eeb9f(0xf0)][_0x4eeb9f(0x111)]=_0x551853,_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0xa5)]=_0x496268,_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0xc6)]=_0x505352[_0x4eeb9f(0xeb)](getSerial,_0x496268,_0x22fe7c),_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0x75)]=_0x505352[_0x4eeb9f(0x11c)](getMaxWorkers,_0x22fe7c,_0x589521[_0x4eeb9f(0x114)],_0x25ea21),_0x16a905[_0x4eeb9f(0xe4)]['proxySettings']=_0x589521[_0x4eeb9f(0x114)][_0x4eeb9f(0xde)],_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0x10f)]=_0x505352['sdTse'](_0x22fe7c[_0x4eeb9f(0xa4)],0x1)||0x1388,_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0x121)]=_0x589521[_0x4eeb9f(0x114)]['testContextOptions'][_0x4eeb9f(0x121)],_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0x9e)]=_0x589521[_0x4eeb9f(0x114)][_0x4eeb9f(0x8d)][_0x4eeb9f(0x9e)],_0x16a905[_0x4eeb9f(0xe4)]['browserStackLogLevel']=_0x589521[_0x4eeb9f(0x114)][_0x4eeb9f(0x117)],_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0xfb)]=_0x589521[_0x4eeb9f(0x114)]['turboScaleUrl'],_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0xba)]=_0x589521['config'][_0x4eeb9f(0x9d)];const _0x10bfb3=helper[_0x4eeb9f(0x12f)](_0x589521[_0x4eeb9f(0x114)]);if(!helper['isEmpty'](_0x10bfb3)){helper['isNotUndefined'](_0x10bfb3['retryTestsOnFailure'])&&(_0x16a905[_0x4eeb9f(0xe4)][_0x4eeb9f(0xaf)]=_0x10bfb3[_0x4eeb9f(0x12a)][_0x4eeb9f(0x120)]);if(helper['isNotUndefined'](_0x10bfb3[_0x4eeb9f(0x129)])&&helper['isNotUndefined'](_0x10bfb3[_0x4eeb9f(0x129)][_0x4eeb9f(0xdb)])){const _0x5abeb0={};_0x5abeb0['failureThresholdCount']=_0x10bfb3['abortBuildOnFailure'][_0x4eeb9f(0x130)],_0x5abeb0[_0x4eeb9f(0xdb)]=_0x10bfb3[_0x4eeb9f(0x129)][_0x4eeb9f(0xdb)],_0x16a905['testEnvironmentOptions'][_0x4eeb9f(0xdf)]=_0x5abeb0;}}let _0x374cd3='';_0x505352[_0x4eeb9f(0xdc)](helper[_0x4eeb9f(0x131)](),constants['PACKAGE_TYPE'][_0x4eeb9f(0xa9)])?_0x374cd3=_0x505352[_0x4eeb9f(0x124)]:_0x374cd3=_0x505352['RsjAl'];const _0x1e2003=_0x374cd3,_0x1f477a=path[_0x4eeb9f(0xfc)](__dirname,_0x505352['qUzYg'],_0x505352[_0x4eeb9f(0x13e)]),_0x2f275f=path['join'](__dirname,_0x505352[_0x4eeb9f(0x101)],_0x505352['xCOfR']),_0x29bce=path[_0x4eeb9f(0xfc)](__dirname,_0x505352['qUzYg'],_0x505352['nrLtE']);_0x16a905[_0x4eeb9f(0x110)]&&(process[_0x4eeb9f(0xf0)][_0x4eeb9f(0x72)]=_0x16a905[_0x4eeb9f(0x110)]);_0x16a905[_0x4eeb9f(0x110)]=path['join'](__dirname,_0x505352[_0x4eeb9f(0x101)],_0x505352['HudZk']),_0x16a905[_0x4eeb9f(0x113)]=_0x2f275f,_0x16a905[_0x4eeb9f(0x137)]=_0x16a905[_0x4eeb9f(0x137)]||[],_0x16a905['setupFilesAfterEnv']['push'](path[_0x4eeb9f(0xfc)](__dirname,_0x505352[_0x4eeb9f(0x91)]));_0x1530f0['isTestOrchestrationEnabled']()&&(_0x16a905['testSequencer']=path['join'](__dirname,_0x505352[_0x4eeb9f(0x101)],_0x505352['dPXcl']));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x1afa17=null;try{_0x1afa17=helper['requireModule'](_0x505352[_0x4eeb9f(0x11f)],_0x505352[_0x4eeb9f(0xc4)]);}catch(_0x3cddec){_0x505352['eTbfT'](debug,_0x4eeb9f(0xb9)+_0x3cddec);}_0x1afa17&&(_0x16a905[_0x4eeb9f(0x137)][_0x4eeb9f(0x145)](path['join'](__dirname,_0x505352[_0x4eeb9f(0xfe)],_0x505352[_0x4eeb9f(0xea)])),_0x16a905[_0x4eeb9f(0xab)]=path[_0x4eeb9f(0xfc)](__dirname,_0x505352[_0x4eeb9f(0x101)],_0x505352[_0x4eeb9f(0xdd)]));}_0x16a905[_0x4eeb9f(0x141)]=_0x16a905['setupFiles']||[];try{helper[_0x4eeb9f(0x71)](),_0x16a905[_0x4eeb9f(0x141)][_0x4eeb9f(0x145)](path[_0x4eeb9f(0xfc)](__dirname,_0x505352[_0x4eeb9f(0x118)]));}catch{logger[_0x4eeb9f(0xe2)](_0x505352[_0x4eeb9f(0x6f)]);}try{helper[_0x4eeb9f(0xd6)][_0x4eeb9f(0xfd)](null,[_0x505352[_0x4eeb9f(0x7e)],_0x505352[_0x4eeb9f(0xe1)]]),logger[_0x4eeb9f(0xe2)](_0x505352['SEVzF']),_0x16a905[_0x4eeb9f(0x141)][_0x4eeb9f(0x145)](path[_0x4eeb9f(0xfc)](__dirname,_0x505352[_0x4eeb9f(0x6b)]));}catch(_0x3d597a){logger[_0x4eeb9f(0xe2)](_0x505352[_0x4eeb9f(0x8e)],_0x3d597a);}_0x16a905[_0x4eeb9f(0x12b)]=_0x16a905[_0x4eeb9f(0x12b)]||[_0x505352[_0x4eeb9f(0xd7)]],_0x505352[_0x4eeb9f(0x134)](updateTestRerunConfig,_0x16a905,_0x589521);const _0x5f468b=fs['readFileSync'](_0x29bce);fs['writeFileSync'](_0x16a905['runner'],_0x4eeb9f(0x139)+_0x5f468b+_0x4eeb9f(0x106)+_0x589521[_0x4eeb9f(0x114)]['platforms']['length']+';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x4eeb9f(0x135)](_0x4eeb9f(0x109)+_0x1e2003+_0x4eeb9f(0xf6)),fs[_0x4eeb9f(0xf8)](_0x1e2003,_0x4eeb9f(0x13a)+JSON[_0x4eeb9f(0x6c)](_0x16a905)+'\x0amodule.exports\x20=\x20config;');if(_0x1530f0[_0x4eeb9f(0x90)]()){logger['debug'](_0x505352[_0x4eeb9f(0xc3)]);const _0x4c4d44=await _0x1530f0[_0x4eeb9f(0xe0)](_0x16a905,_0x165adc[_0x4eeb9f(0xcf)](0x1),_0x1e2003);logger[_0x4eeb9f(0xe2)](_0x4eeb9f(0x7b)+JSON[_0x4eeb9f(0x6c)](_0x4c4d44)+'\x20test\x20files\x20to\x20run.');const _0x5b3fb4=await _0x1530f0[_0x4eeb9f(0x11b)](_0x4c4d44);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON[_0x4eeb9f(0x6c)](_0x5b3fb4)),_0x5b3fb4&&_0x505352['kqWTX'](_0x5b3fb4[_0x4eeb9f(0x6e)],0x0)&&(process[_0x4eeb9f(0xf0)]['JEST_TEST_ORDER']=_0x5b3fb4?.['join'](','));}logger[_0x4eeb9f(0x135)](_0x505352[_0x4eeb9f(0xa3)]);testhubUtils[_0x4eeb9f(0xfa)]()&&TestDetails['setup']();helper[_0x4eeb9f(0xd2)]({},_0x165adc),PerformanceTester[_0x4eeb9f(0x10b)](PerformanceEvents['SDK_SETUP']);const _0x43e255=_0x505352[_0x4eeb9f(0xbf)](spawn,_0x505352[_0x4eeb9f(0x6d)],[_0x505352[_0x4eeb9f(0xe3)],_0x505352[_0x4eeb9f(0x12e)],_0x1e2003,..._0x165adc['slice'](0x1)],{'shell':_0x505352[_0x4eeb9f(0xdc)](process[_0x4eeb9f(0x12d)],_0x505352[_0x4eeb9f(0x133)]),'stdio':_0x505352[_0x4eeb9f(0x102)],'env':Object[_0x4eeb9f(0xb6)]({},process[_0x4eeb9f(0xf0)])});_0x43e255['on'](_0x505352[_0x4eeb9f(0xf2)],async _0x207c3d=>{const _0x5844ed=_0x4eeb9f;PerformanceTester[_0x5844ed(0x8a)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x4327a1,tcgConfigPath:_0x5b9bea}=helper[_0x5844ed(0x7c)]();fs['unlinkSync'](_0x5b9bea),fs[_0x5844ed(0xff)](_0x4327a1);}catch(_0x44f1bf){logger[_0x5844ed(0xe2)](_0x505352[_0x5844ed(0x123)],_0x44f1bf);}process[_0x5844ed(0x126)]=_0x207c3d,logger[_0x5844ed(0xe2)](_0x5844ed(0x89)+_0x207c3d),logger['info'](_0x5844ed(0x115)+_0x1e2003);if(helper[_0x5844ed(0xb2)](_0x10bfb3)&&helper['isNotUndefined'](_0x10bfb3[_0x5844ed(0x129)])&&fs[_0x5844ed(0x136)](_0x10bfb3[_0x5844ed(0x129)]['workingDir']))try{const _0x11cb1b={};_0x11cb1b[_0x5844ed(0xcd)]=!![],_0x11cb1b[_0x5844ed(0x99)]=!![],fs['rmSync'](_0x10bfb3[_0x5844ed(0x129)][_0x5844ed(0xdb)],_0x11cb1b),logger[_0x5844ed(0xe2)](_0x5844ed(0xc9)+_0x10bfb3[_0x5844ed(0x129)]['workingDir']);}catch(_0x53ad81){logger['error'](_0x5844ed(0xc0)+_0x53ad81);}let _0x5903be=null;if(fs['existsSync'](_0x1f477a)){_0x5903be=fs[_0x5844ed(0xae)](_0x1f477a);try{_0x5903be=JSON[_0x5844ed(0x143)](_0x5903be);}catch(_0x2bff9c){logger[_0x5844ed(0xe2)](_0x5844ed(0x96)+_0x1f477a+',\x20'+_0x5903be+_0x5844ed(0x88)+_0x2bff9c);}fs['unlinkSync'](_0x1f477a);}fs['unlinkSync'](_0x1e2003),fs[_0x5844ed(0x76)](_0x2f275f),_0x5903be&&(_0x589521[_0x5844ed(0x9c)]=helper['getErrorMessageFromResults'](_0x5903be,_0x505352['gAMQi'],_0x589521));try{await TestHubHandler[_0x5844ed(0x105)](),await BrowserstackCLI['getInstance']()[_0x5844ed(0x105)]();}catch(_0x37cf9f){console[_0x5844ed(0xf1)](_0x37cf9f),_0x505352[_0x5844ed(0x9f)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5844ed(0x7f)](_0x37cf9f));}testOpsHelper['printBuildLink'](),TestDetails[_0x5844ed(0x103)](),await utilities[_0x5844ed(0x94)](_0x589521);});}module[a14_0x3816cd(0xb5)]=run;
2
+ 'use strict';function a14_0x2575(){const _0x386d99=['checkAccessibilityPlatformConfig','LEZHs','existsSync','gPsgy','getPackageType','failureThresholdCount','parallelsPerPlatform','DuQqm','mjs','jest','child\x20process\x20exited\x20with\x20code\x20','oNJOG','playwright','parseTestOrchestrationOptions','runInBand','assign','recursive','proxySettings','zfTtL','useW3C','setupFilesAfterEnv','Deleting\x20','reporters','aXJkK','win32','Error\x20while\x20parsing\x20','../v2/browserstackCLI','customSequencer.js','../../helpers/test-orchestration/testOrchestrationHandler','error\x20removing\x20tcg\x20config\x20file','324680zBuUTJ','BROWSERSTACK_TEST_OBSERVABILITY_YML','cjs','prepareCapabilities','BSTACK_JEST_TEST_ENV','cDais','customImplements','709962ZYOFnW','findIndex','akRVj','retryTestsOnFailure','qbdqa','JEST','../../helpers/BrowserStackSetup','../../helpers/performance/performance-tester','2JaVeuE','close','FRAMEWORKS','AOWFF','697380HKZgbZ','iyWKL','rmdirSync','EUfIF','usTej','customCircus.js','maxWorkers','turboScaleUrl','slice','apXsp','writeFileSync','isUndefined','yhbZE','shouldProcessEventForTesthub','../../helpers/percy/utils','parallels__','config','shutdown','testTimeout','eXIzF','10hfnvAg','initialize','SDK_SETUP','accessibilityOptions','fHBXs','setupFiles','testEnvironment','hwtWF','246847DuJyVW','testContextOptions','requireModule','RRbgM','LGIRw','ZLHZq','\x20test\x20files\x20to\x20run.','4072YJZjBy','parse','isEmpty','TaDao','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','customTestRunnerTemplate.js','ZQdGL','dEovQ','platform','NdBuW','exports','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest_browserstack_results.json','capabilities','FMMPD','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','NyqlZ','2814XDjyVc','join','log','debug','customEnvironment.js','../../helpers/logger','platformCaps','jest_browserstack.config.cjs','\x0a\x20\x20\x20\x20','workingDir','OPfRj','Creating\x20','getTCGConfigFilePaths','jest.setup.js','printBuildLink','--config','winstonLogger','testRunner','Getting\x20your\x20jest\x20configs\x20from\x20','length','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','format','requireSeleniumWebdriver','dkSpJ','stop','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','requirePWModule','BROWSERSTACK_TEST_ACCESSIBILITY_YML','resolve','getErrorMessageFromResults','PACKAGE_TYPE','customTestRunner.js','finalExecution','const\x20config=','handleApp','serial__','testObservability','EVzgr','\x20:\x20','start','json','../../helpers/playwright-helper','rmSync','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','BROWSERSTACK_CAPABILITIES','isTestOrchestrationEnabled','./test-observability/test-details','abortBuildOnFailure','end','../../helpers/accessibility-automation/helper','847620XDbQIi','cwd','EQjxp','ngCek','stringify','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','runner','1875879TAUsqq','retries__','browserStackLogLevel','../../helpers/testhub/testhubHandler','npx','VUOUz','isBrowserstackInfra','Found:\x20','testSequencer','@playwright/test','platforms','../../helpers/testhub/utils','env','jest.config.','gvQyj','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','HgAhu','filterBrowserstackArgs','inherit','USER_CONFIG_DETAILS_PATH','getPackageVersion','BtIww','testEnvironmentOptions','data-hooks.js','apply','HUGAy','fzhsr','info','WoFuK','timeout__','errorMessage','JXxPi','Reodered\x20Test\x20Files:\x20','jest-circus','test-observability','SDK_CLEANUP','DTzrP','isNotUndefined','test_before.setup.js','../../helpers/test-observability/utils','maxRetries','Afkxw','default','unlinkSync','lSrLE','EVENTS','vUldm','findTestFiles','util','eqTmT','GIQyV','auYun','maxFailures','exitCode','push','true','failFast','skipSessionStatus','hIwkL','accessibility','test.setup.js','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/performance/constants','AcfPn'];a14_0x2575=function(){return _0x386d99;};return a14_0x2575();}const a14_0x2965e7=a14_0x3c41;(function(_0x312697,_0x441e2b){const _0x34fc27=a14_0x3c41,_0x399544=_0x312697();while(!![]){try{const _0x55758f=-parseInt(_0x34fc27(0x120))/0x1*(-parseInt(_0x34fc27(0x100))/0x2)+parseInt(_0x34fc27(0xf8))/0x3+-parseInt(_0x34fc27(0xf1))/0x4+-parseInt(_0x34fc27(0x104))/0x5+-parseInt(_0x34fc27(0x16a))/0x6+parseInt(_0x34fc27(0x138))/0x7*(-parseInt(_0x34fc27(0x127))/0x8)+-parseInt(_0x34fc27(0x171))/0x9*(-parseInt(_0x34fc27(0x118))/0xa);if(_0x55758f===_0x441e2b)break;else _0x399544['push'](_0x399544['shift']());}catch(_0x566451){_0x399544['push'](_0x399544['shift']());}}}(a14_0x2575,0x1e9d6));const fs=require('fs'),path=require('path'),util=require(a14_0x2965e7(0x1a1)),{spawn}=require('child_process'),logger=require(a14_0x2965e7(0x13d))[a14_0x2965e7(0x148)],{default:BrowserStackSetup}=require(a14_0x2965e7(0xfe)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x2965e7(0x169)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x2965e7(0x198)),TestDetails=require(a14_0x2965e7(0x166)),{getPercyOptions}=require(a14_0x2965e7(0x112)),TestHubHandler=require(a14_0x2965e7(0x174)),testhubUtils=require(a14_0x2965e7(0x17c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a14_0x2965e7(0xff)),PerformanceEvents=require(a14_0x2965e7(0x1af))[a14_0x2965e7(0x19e)],TestOrchestrationHandler=require(a14_0x2965e7(0xef)),BrowserstackCLI=require(a14_0x2965e7(0xed)),{checkPwandBootstrapCli}=require(a14_0x2965e7(0x161)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserJestConfigs=async(_0x5743a3,_0x1844d0)=>{const _0xd26a15=a14_0x2965e7,_0xdfed2d={'ngCek':_0xd26a15(0x1ae),'eXIzF':'jest-config','EUfIF':function(_0x5452d4,_0x526427){return _0x5452d4||_0x526427;},'jBZLt':function(_0x5e5238,_0x7632e4){return _0x5e5238(_0x7632e4);},'HUGAy':'package.json','DuQqm':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','AOWFF':_0xd26a15(0xdb),'yhbZE':_0xd26a15(0xf3),'gPsgy':_0xd26a15(0x160)},_0x38b4cb=helper['requireModule'](_0xdfed2d[_0xd26a15(0x16d)],_0xdfed2d[_0xd26a15(0x117)]),_0x2da330=_0x1844d0[_0xd26a15(0xf9)](_0x5056df=>_0x5056df===_0xd26a15(0x147));if(!helper[_0xd26a15(0x10f)](_0x5743a3[_0xd26a15(0x114)])){logger[_0xd26a15(0x18c)](_0xd26a15(0x14a)+_0x5743a3['config']),process[_0xd26a15(0x17d)][_0xd26a15(0x184)]=_0x5743a3[_0xd26a15(0x114)];const _0x434c64=await(0x0,_0x38b4cb[_0xd26a15(0x19b)])(path[_0xd26a15(0x154)](_0x5743a3[_0xd26a15(0x114)]));return _0x1844d0['splice'](_0x2da330,0x2),_0xdfed2d[_0xd26a15(0x107)](_0x434c64,{});}const _0x3c6149=_0xdfed2d['jBZLt'](require,path['join'](process['cwd'](),_0xdfed2d[_0xd26a15(0x18a)]));if(_0x3c6149[_0xd26a15(0xdc)])return logger[_0xd26a15(0x18c)](_0xdfed2d[_0xd26a15(0xda)]),_0x3c6149[_0xd26a15(0xdc)];const _0x4066e3=['js',_0xdfed2d[_0xd26a15(0x103)],_0xdfed2d[_0xd26a15(0x110)],_0xdfed2d[_0xd26a15(0x1b4)],'ts'];for(const _0x29b74d of _0x4066e3){const _0x359877=path[_0xd26a15(0x139)](process[_0xd26a15(0x16b)](),_0xd26a15(0x17e)+_0x29b74d);if(fs[_0xd26a15(0x1b3)](_0x359877)){process[_0xd26a15(0x17d)][_0xd26a15(0x184)]=_0x359877;const _0x16e0cf=await(0x0,_0x38b4cb[_0xd26a15(0x19b)])(_0x359877);return _0x16e0cf;}}return{};},getSerial=(_0x55dfdb,_0x61688a)=>{const _0x39184c=a14_0x2965e7,_0x4ed6b7={};_0x4ed6b7[_0x39184c(0x12a)]=_0x39184c(0x1a8),_0x4ed6b7['FMMPD']=function(_0x1bab52,_0x4886e2){return _0x1bab52>_0x4886e2;},_0x4ed6b7[_0x39184c(0x176)]='false';const _0x220e0e=_0x4ed6b7;let _0x43438d=_0x220e0e['TaDao'];return _0x220e0e[_0x39184c(0x135)](_0x55dfdb[_0x39184c(0x14b)],0x1)&&(!_0x61688a[_0x39184c(0xe1)]&&(helper[_0x39184c(0x10f)](_0x61688a[_0x39184c(0x10a)])||_0x220e0e[_0x39184c(0x135)](_0x61688a[_0x39184c(0x10a)],0x1)))&&(_0x43438d=_0x220e0e[_0x39184c(0x176)]),_0x43438d;},getMaxWorkers=(_0x33eace,_0xf56b10,_0x50c0d0)=>{const _0x535c54=a14_0x2965e7,_0x4fbca6={'JXxPi':function(_0x301d15,_0x228dfc){return _0x301d15(_0x228dfc);}};let _0x4142e0=0x1;if(!helper[_0x535c54(0x10f)](_0xf56b10[_0x535c54(0xd9)]))_0x4142e0=_0x4fbca6[_0x535c54(0x190)](parseInt,_0xf56b10[_0x535c54(0xd9)]);else{if(!helper[_0x535c54(0x10f)](_0x33eace['maxWorkers']))_0x4142e0=_0x33eace[_0x535c54(0x10a)];else!helper[_0x535c54(0x10f)](_0x50c0d0[_0x535c54(0x10a)])&&(_0x4142e0=_0x50c0d0[_0x535c54(0x10a)]);}return _0x4142e0;};async function run(_0x3490a3,_0x5acb4f,_0x4ee3aa){const _0x2064bb=a14_0x2965e7,_0x4d8b2a={'fHBXs':_0x2064bb(0xf0),'EQjxp':'jest','AcfPn':function(_0x20ac37,_0x2bf5c0){return _0x20ac37(_0x2bf5c0);},'dkSpJ':_0x2064bb(0x17a),'LGIRw':function(_0x2c52b6,_0x31e669,_0x344c3a,_0xdec564){return _0x2c52b6(_0x31e669,_0x344c3a,_0xdec564);},'VBhHv':function(_0x2bd682,_0x3690d0){return _0x2bd682!=_0x3690d0;},'NdBuW':_0x2064bb(0x1a8),'zJUeH':function(_0x2655b9,_0xcb7792,_0x5e4cca){return _0x2655b9(_0xcb7792,_0x5e4cca);},'ZLHZq':_0x2064bb(0x180),'EVzgr':function(_0x2803c9,_0x2aaea8,_0x264f82){return _0x2803c9(_0x2aaea8,_0x264f82);},'usTej':function(_0x46ce27,_0x5c27b5){return _0x46ce27*_0x5c27b5;},'vUldm':function(_0x4ee8af,_0xe83de8){return _0x4ee8af===_0xe83de8;},'WZTyI':_0x2064bb(0x13f),'akRVj':'jest_browserstack.config.js','hwtWF':_0x2064bb(0xf7),'BtIww':_0x2064bb(0x133),'iyWKL':_0x2064bb(0x157),'SInVq':_0x2064bb(0x12c),'cDais':_0x2064bb(0x13c),'LEZHs':_0x2064bb(0x145),'lSrLE':_0x2064bb(0xee),'WoFuK':_0x2064bb(0x132),'qbdqa':_0x2064bb(0x192),'ZQdGL':_0x2064bb(0x193),'HgAhu':_0x2064bb(0x188),'zfTtL':_0x2064bb(0x109),'RRbgM':_0x2064bb(0x197),'hIwkL':_0x2064bb(0x12b),'aXJkK':_0x2064bb(0xdf),'apXsp':_0x2064bb(0x136),'NyqlZ':_0x2064bb(0x1ad),'dEovQ':_0x2064bb(0x14c),'GIQyV':'default','OPfRj':function(_0x18d727,_0x13a159,_0x1addaa){return _0x18d727(_0x13a159,_0x1addaa);},'xnhhj':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Vpgah':function(_0x4a4b6b,_0x500487){return _0x4a4b6b>_0x500487;},'eqTmT':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','auYun':function(_0xef6d12,_0x198cab,_0x2c0aad,_0x131f4a){return _0xef6d12(_0x198cab,_0x2c0aad,_0x131f4a);},'Afkxw':_0x2064bb(0x175),'gvQyj':_0x2064bb(0x147),'hWJMJ':function(_0x4f4b4a,_0x424d88){return _0x4f4b4a===_0x424d88;},'fzhsr':_0x2064bb(0xeb),'oNJOG':_0x2064bb(0x183),'DTzrP':_0x2064bb(0x101)},_0x4fdc2c=helper[_0x2064bb(0x185)](_0x4d8b2a[_0x2064bb(0x14f)]);global['__isPlaywrightInstalled']=!!_0x4fdc2c;helper[_0x2064bb(0x177)]()?(await _0x4ee3aa[_0x2064bb(0x119)](_0x3490a3),await helper[_0x2064bb(0x15a)](_0x4ee3aa['config'])):await _0x4ee3aa['setupTCGAuth']();await _0x4d8b2a[_0x2064bb(0x124)](checkPwandBootstrapCli,_0x4fdc2c,constants['FRAMEWORKS'][_0x2064bb(0xfd)],_0x4ee3aa);if(!_0x4ee3aa[_0x2064bb(0x114)])return;_0x4d8b2a['VBhHv'](_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x15c)],null)?process['env'][_0x2064bb(0xf2)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x15c)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4d8b2a[_0x2064bb(0x130)];const _0x2ea5b2=new TestOrchestrationHandler(_0x4ee3aa[_0x2064bb(0x114)]),_0x10aa04=await _0x4d8b2a['zJUeH'](getUserJestConfigs,_0x3490a3,_0x5acb4f);logger['info'](_0x4d8b2a[_0x2064bb(0x125)]);const _0xa6782d=Object[_0x2064bb(0xe2)]({},_0x10aa04);_0xa6782d[_0x2064bb(0x187)]=Object[_0x2064bb(0xe2)]({},_0xa6782d['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x4ee3aa['config']),'environment':_0x10aa04['testEnvironment']}),_0xa6782d[_0x2064bb(0x187)]['browserStackPercyOptions']=_0x4d8b2a['AcfPn'](getPercyOptions,_0x4ee3aa[_0x2064bb(0x114)]);const _0x3990b4=helper[_0x2064bb(0xe6)](_0x4ee3aa[_0x2064bb(0x114)]);!helper['isUndefined'](_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x11b)])&&(process[_0x2064bb(0x17d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x11b)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x36ad94=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2064bb(0xfd)],_0x4ee3aa);}const _0x583fe2=helper[_0x2064bb(0xf4)](_0x4ee3aa[_0x2064bb(0x114)],_0x3990b4,constants[_0x2064bb(0x102)]['JEST']);process[_0x2064bb(0x17d)][_0x2064bb(0x164)]=JSON['stringify'](_0x583fe2);let _0x3dd17=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x1ac)];_0x3dd17=_0x3dd17||accessibilityHelper[_0x2064bb(0x1b1)](_0x4ee3aa[_0x2064bb(0x114)]),process[_0x2064bb(0x17d)][_0x2064bb(0x153)]=_0x3dd17,_0xa6782d['testEnvironmentOptions'][_0x2064bb(0x134)]=_0x583fe2,_0xa6782d['testEnvironmentOptions'][_0x2064bb(0x15b)]=_0x4d8b2a[_0x2064bb(0x15d)](getSerial,_0x583fe2,_0x3490a3),_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x113)]=_0x4d8b2a['LGIRw'](getMaxWorkers,_0x3490a3,_0x4ee3aa['config'],_0x10aa04),_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0xe4)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0xe4)],_0xa6782d['testEnvironmentOptions'][_0x2064bb(0x18e)]=_0x4d8b2a[_0x2064bb(0x108)](_0x3490a3[_0x2064bb(0x116)],0x1)||0x1388,_0xa6782d[_0x2064bb(0x187)]['skipSessionName']=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x121)]['skipSessionName'],_0xa6782d[_0x2064bb(0x187)]['skipSessionStatus']=_0x4ee3aa['config'][_0x2064bb(0x121)][_0x2064bb(0x1aa)],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x173)]=_0x4ee3aa[_0x2064bb(0x114)]['logLevel'],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x10b)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x10b)],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x13e)]=_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x17b)];const _0x4de764=helper[_0x2064bb(0xe0)](_0x4ee3aa[_0x2064bb(0x114)]);if(!helper[_0x2064bb(0x129)](_0x4de764)){helper[_0x2064bb(0x196)](_0x4de764[_0x2064bb(0xfb)])&&(_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x172)]=_0x4de764['retryTestsOnFailure'][_0x2064bb(0x199)]);if(helper[_0x2064bb(0x196)](_0x4de764['abortBuildOnFailure'])&&helper[_0x2064bb(0x196)](_0x4de764[_0x2064bb(0x167)]['workingDir'])){const _0x581db6={};_0x581db6[_0x2064bb(0x1b6)]=_0x4de764[_0x2064bb(0x167)][_0x2064bb(0x1a5)],_0x581db6[_0x2064bb(0x141)]=_0x4de764[_0x2064bb(0x167)][_0x2064bb(0x141)],_0xa6782d[_0x2064bb(0x187)][_0x2064bb(0x1a9)]=_0x581db6;}}let _0x350da='';_0x4d8b2a[_0x2064bb(0x19f)](helper[_0x2064bb(0x1b5)](),constants[_0x2064bb(0x156)]['MODULE'])?_0x350da=_0x4d8b2a['WZTyI']:_0x350da=_0x4d8b2a[_0x2064bb(0xfa)];const _0x4334c8=_0x350da,_0x379625=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x11f)],_0x4d8b2a[_0x2064bb(0x186)]),_0xb3c7c2=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a['hwtWF'],_0x4d8b2a[_0x2064bb(0x105)]),_0x597f50=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x11f)],_0x4d8b2a['SInVq']);_0xa6782d[_0x2064bb(0x11e)]&&(process['env'][_0x2064bb(0xf5)]=_0xa6782d[_0x2064bb(0x11e)]);_0xa6782d[_0x2064bb(0x11e)]=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a['hwtWF'],_0x4d8b2a[_0x2064bb(0xf6)]),_0xa6782d[_0x2064bb(0x170)]=_0xb3c7c2,_0xa6782d[_0x2064bb(0xe7)]=_0xa6782d['setupFilesAfterEnv']||[],_0xa6782d['setupFilesAfterEnv']['push'](path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x1b2)]));_0x2ea5b2[_0x2064bb(0x165)]()&&(_0xa6782d[_0x2064bb(0x179)]=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x11f)],_0x4d8b2a[_0x2064bb(0x19d)]));if(testhubUtils[_0x2064bb(0x111)]()){let _0x144adc=null;try{_0x144adc=helper[_0x2064bb(0x122)](_0x4d8b2a[_0x2064bb(0x18d)],_0x4d8b2a[_0x2064bb(0xfc)]);}catch(_0xb9e16){_0x4d8b2a[_0x2064bb(0x1b0)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0xb9e16);}_0x144adc&&(_0xa6782d[_0x2064bb(0xe7)][_0x2064bb(0x1a7)](path['join'](__dirname,_0x4d8b2a[_0x2064bb(0x12d)],_0x4d8b2a[_0x2064bb(0x181)])),_0xa6782d[_0x2064bb(0x149)]=path[_0x2064bb(0x139)](__dirname,_0x4d8b2a['hwtWF'],_0x4d8b2a[_0x2064bb(0xe5)]));}_0xa6782d[_0x2064bb(0x11d)]=_0xa6782d[_0x2064bb(0x11d)]||[];try{helper[_0x2064bb(0x14e)](),_0xa6782d['setupFiles'][_0x2064bb(0x1a7)](path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x123)]));}catch{logger[_0x2064bb(0x13b)](_0x4d8b2a[_0x2064bb(0x1ab)]);}try{helper[_0x2064bb(0x152)][_0x2064bb(0x189)](null,[_0x4d8b2a['dkSpJ'],_0x4d8b2a[_0x2064bb(0xea)]]),logger[_0x2064bb(0x13b)](_0x4d8b2a[_0x2064bb(0x10d)]),_0xa6782d[_0x2064bb(0x11d)][_0x2064bb(0x1a7)](path[_0x2064bb(0x139)](__dirname,_0x4d8b2a[_0x2064bb(0x137)]));}catch(_0x454ed2){logger[_0x2064bb(0x13b)](_0x4d8b2a[_0x2064bb(0x12e)],_0x454ed2);}_0xa6782d[_0x2064bb(0xe9)]=_0xa6782d['reporters']||[_0x4d8b2a[_0x2064bb(0x1a3)]],_0x4d8b2a[_0x2064bb(0x142)](updateTestRerunConfig,_0xa6782d,_0x4ee3aa);const _0x771db7=fs['readFileSync'](_0x597f50);fs[_0x2064bb(0x10e)](_0xa6782d[_0x2064bb(0x170)],_0x2064bb(0x140)+_0x771db7+_0x2064bb(0x16f)+_0x4ee3aa[_0x2064bb(0x114)][_0x2064bb(0x17b)]['length']+';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x2064bb(0x18c)](_0x2064bb(0x143)+_0x4334c8+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x4334c8,_0x2064bb(0x159)+JSON[_0x2064bb(0x16e)](_0xa6782d)+'\x0amodule.exports\x20=\x20config;');if(_0x2ea5b2[_0x2064bb(0x165)]()){logger[_0x2064bb(0x13b)](_0x4d8b2a['xnhhj']);const _0x5e7b63=await _0x2ea5b2[_0x2064bb(0x1a0)](_0xa6782d,_0x5acb4f['slice'](0x1),_0x4334c8);logger[_0x2064bb(0x13b)](_0x2064bb(0x178)+JSON[_0x2064bb(0x16e)](_0x5e7b63)+_0x2064bb(0x126));const _0x4459fe=await _0x2ea5b2['reorderTestFiles'](_0x5e7b63);logger[_0x2064bb(0x13b)](_0x2064bb(0x191)+JSON['stringify'](_0x4459fe)),_0x4459fe&&_0x4d8b2a['Vpgah'](_0x4459fe[_0x2064bb(0x14b)],0x0)&&(process[_0x2064bb(0x17d)]['JEST_TEST_ORDER']=_0x4459fe?.[_0x2064bb(0x139)](','));}logger[_0x2064bb(0x18c)](_0x4d8b2a[_0x2064bb(0x1a2)]);testhubUtils[_0x2064bb(0x111)]()&&TestDetails['setup']();helper[_0x2064bb(0x182)]({},_0x5acb4f),PerformanceTester[_0x2064bb(0x168)](PerformanceEvents[_0x2064bb(0x11a)]);const _0x1589f4=_0x4d8b2a[_0x2064bb(0x1a4)](spawn,_0x4d8b2a[_0x2064bb(0x19a)],[_0x4d8b2a[_0x2064bb(0x16c)],_0x4d8b2a[_0x2064bb(0x17f)],_0x4334c8,..._0x5acb4f[_0x2064bb(0x10c)](0x1)],{'shell':_0x4d8b2a['hWJMJ'](process[_0x2064bb(0x12f)],_0x4d8b2a[_0x2064bb(0x18b)]),'stdio':_0x4d8b2a[_0x2064bb(0xde)],'env':Object[_0x2064bb(0xe2)]({},process[_0x2064bb(0x17d)])});_0x1589f4['on'](_0x4d8b2a[_0x2064bb(0x195)],async _0x50415c=>{const _0x440bbb=_0x2064bb;PerformanceTester[_0x440bbb(0x15f)](PerformanceEvents[_0x440bbb(0x194)]);try{const {browserstackFolderPath:_0x160d75,tcgConfigPath:_0x108e3c}=helper[_0x440bbb(0x144)]();fs[_0x440bbb(0x19c)](_0x108e3c),fs[_0x440bbb(0x106)](_0x160d75);}catch(_0xacaec6){logger[_0x440bbb(0x13b)](_0x4d8b2a[_0x440bbb(0x11c)],_0xacaec6);}process[_0x440bbb(0x1a6)]=_0x50415c,logger[_0x440bbb(0x13b)](_0x440bbb(0xdd)+_0x50415c),logger[_0x440bbb(0x18c)](_0x440bbb(0xe8)+_0x4334c8);if(helper['isNotUndefined'](_0x4de764)&&helper[_0x440bbb(0x196)](_0x4de764[_0x440bbb(0x167)])&&fs[_0x440bbb(0x1b3)](_0x4de764['abortBuildOnFailure']['workingDir']))try{const _0x4dcaf3={};_0x4dcaf3[_0x440bbb(0xe3)]=!![],_0x4dcaf3['force']=!![],fs[_0x440bbb(0x162)](_0x4de764['abortBuildOnFailure'][_0x440bbb(0x141)],_0x4dcaf3),logger[_0x440bbb(0x13b)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x4de764[_0x440bbb(0x167)][_0x440bbb(0x141)]);}catch(_0x49c758){logger['error'](_0x440bbb(0x163)+_0x49c758);}let _0x2653c5=null;if(fs[_0x440bbb(0x1b3)](_0x379625)){_0x2653c5=fs['readFileSync'](_0x379625);try{_0x2653c5=JSON[_0x440bbb(0x128)](_0x2653c5);}catch(_0x2b97ea){logger['debug'](_0x440bbb(0xec)+_0x379625+',\x20'+_0x2653c5+_0x440bbb(0x15e)+_0x2b97ea);}fs['unlinkSync'](_0x379625);}fs[_0x440bbb(0x19c)](_0x4334c8),fs[_0x440bbb(0x19c)](_0xb3c7c2),_0x2653c5&&(_0x4ee3aa[_0x440bbb(0x18f)]=helper[_0x440bbb(0x155)](_0x2653c5,_0x4d8b2a['EQjxp'],_0x4ee3aa));try{await TestHubHandler[_0x440bbb(0x150)](),await BrowserstackCLI['getInstance']()[_0x440bbb(0x150)]();}catch(_0x3ded71){console[_0x440bbb(0x13a)](_0x3ded71),_0x4d8b2a[_0x440bbb(0x1b0)](debug,_0x440bbb(0x151)+util[_0x440bbb(0x14d)](_0x3ded71));}testOpsHelper[_0x440bbb(0x146)](),TestDetails[_0x440bbb(0x115)](),await utilities[_0x440bbb(0x158)](_0x4ee3aa);});}function a14_0x3c41(_0x23d501,_0x3d676e){const _0x257507=a14_0x2575();return a14_0x3c41=function(_0x3c4150,_0x1bd48c){_0x3c4150=_0x3c4150-0xd9;let _0x8197e9=_0x257507[_0x3c4150];return _0x8197e9;},a14_0x3c41(_0x23d501,_0x3d676e);}module[a14_0x2965e7(0x131)]=run;
@@ -1 +1 @@
1
- const a15_0x1877fc=a15_0x3209;(function(_0x817860,_0x4fc23a){const _0x4dd5af=a15_0x3209,_0xc0f4ea=_0x817860();while(!![]){try{const _0x54089b=parseInt(_0x4dd5af(0xc5))/0x1+-parseInt(_0x4dd5af(0xc6))/0x2+parseInt(_0x4dd5af(0xba))/0x3*(parseInt(_0x4dd5af(0xcf))/0x4)+-parseInt(_0x4dd5af(0xcc))/0x5+parseInt(_0x4dd5af(0xc1))/0x6+-parseInt(_0x4dd5af(0xbc))/0x7*(parseInt(_0x4dd5af(0xc3))/0x8)+-parseInt(_0x4dd5af(0xcb))/0x9*(-parseInt(_0x4dd5af(0xce))/0xa);if(_0x54089b===_0x4fc23a)break;else _0xc0f4ea['push'](_0xc0f4ea['shift']());}catch(_0x126c26){_0xc0f4ea['push'](_0xc0f4ea['shift']());}}}(a15_0x38d9,0xbc2c6));const path=require(a15_0x1877fc(0xca)),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule(a15_0x1877fc(0xbb),'jest-circus');initJestAdapter=typeof initJestAdapter===a15_0x1877fc(0xcd)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a15_0x1877fc(0xd0)](__dirname,a15_0x1877fc(0xbe));module[a15_0x1877fc(0xc8)]=(..._0x1acb57)=>{const _0x1276e7=a15_0x1877fc,_0x41e5a8={'MHqnU':_0x1276e7(0xbf),'PtDGJ':function(_0x6edb4,_0x2c24c7){return _0x6edb4===_0x2c24c7;},'leWBZ':function(_0x36539c,..._0x321efc){return _0x36539c(..._0x321efc);}};return _0x1acb57[0x3][_0x1276e7(0xc4)]=_0x1acb57[0x3][_0x1276e7(0xc2)],_0x1acb57[0x3]['requireInternalModule']=(..._0x47ebef)=>{const _0x25f5c7=_0x1276e7;if(_0x47ebef[0x0]&&_0x47ebef[0x0][_0x25f5c7(0xc7)](_0x41e5a8[_0x25f5c7(0xbd)])&&_0x41e5a8[_0x25f5c7(0xc9)](_0x47ebef[0x1],undefined))return _0x1acb57[0x3][_0x25f5c7(0xc4)](FRAMEWORK_INITIALIZER);return _0x1acb57[0x3]['initRequireModule'](..._0x47ebef);},_0x41e5a8[_0x1276e7(0xc0)](initJestAdapter,..._0x1acb57);};function a15_0x3209(_0x221354,_0x2cd31f){const _0x38d966=a15_0x38d9();return a15_0x3209=function(_0x3209fe,_0x1266d2){_0x3209fe=_0x3209fe-0xba;let _0x200399=_0x38d966[_0x3209fe];return _0x200399;},a15_0x3209(_0x221354,_0x2cd31f);}function a15_0x38d9(){const _0x3677ea=['function','621850MyOQJG','4qoOGno','join','999579fUSvvM','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','7qxcLvk','MHqnU','customJestAdapterInit.js','jestAdapterInit','leWBZ','3890604gxCfTy','requireInternalModule','3404872sjMWXq','initRequireModule','1324449onHJCB','146006tjTBIp','includes','exports','PtDGJ','path','27FvmAAc','6116305vDKxCz'];a15_0x38d9=function(){return _0x3677ea;};return a15_0x38d9();}
1
+ const a15_0x13b830=a15_0x2c58;(function(_0xb3f792,_0x1f281f){const _0xe5431a=a15_0x2c58,_0x4a134d=_0xb3f792();while(!![]){try{const _0x6ae637=parseInt(_0xe5431a(0x152))/0x1*(-parseInt(_0xe5431a(0x160))/0x2)+-parseInt(_0xe5431a(0x14a))/0x3+parseInt(_0xe5431a(0x15a))/0x4*(-parseInt(_0xe5431a(0x15d))/0x5)+-parseInt(_0xe5431a(0x150))/0x6+-parseInt(_0xe5431a(0x15f))/0x7*(-parseInt(_0xe5431a(0x14c))/0x8)+-parseInt(_0xe5431a(0x153))/0x9+parseInt(_0xe5431a(0x154))/0xa;if(_0x6ae637===_0x1f281f)break;else _0x4a134d['push'](_0x4a134d['shift']());}catch(_0x27c445){_0x4a134d['push'](_0x4a134d['shift']());}}}(a15_0x1f58,0xa1ead));const path=require(a15_0x13b830(0x14b)),{requireModule}=require(a15_0x13b830(0x156));function a15_0x2c58(_0xa5b46f,_0x1c5fd0){const _0x1f58af=a15_0x1f58();return a15_0x2c58=function(_0x2c58a1,_0x253cfd){_0x2c58a1=_0x2c58a1-0x149;let _0x24967c=_0x1f58af[_0x2c58a1];return _0x24967c;},a15_0x2c58(_0xa5b46f,_0x1c5fd0);}let initJestAdapter=requireModule(a15_0x13b830(0x157),a15_0x13b830(0x159));initJestAdapter=typeof initJestAdapter===a15_0x13b830(0x14e)?initJestAdapter:initJestAdapter[a15_0x13b830(0x155)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a15_0x13b830(0x15c));module[a15_0x13b830(0x14f)]=(..._0x228386)=>{const _0x5c7f47=a15_0x13b830,_0x1571c9={'QpOdF':_0x5c7f47(0x161),'ZyCWB':function(_0x508d04,_0xd49c5e){return _0x508d04===_0xd49c5e;},'YzJlt':function(_0x4d9184,..._0x5ec58f){return _0x4d9184(..._0x5ec58f);}};return _0x228386[0x3][_0x5c7f47(0x14d)]=_0x228386[0x3][_0x5c7f47(0x15e)],_0x228386[0x3]['requireInternalModule']=(..._0xfd6418)=>{const _0x1bb4cb=_0x5c7f47;if(_0xfd6418[0x0]&&_0xfd6418[0x0][_0x1bb4cb(0x151)](_0x1571c9[_0x1bb4cb(0x158)])&&_0x1571c9[_0x1bb4cb(0x149)](_0xfd6418[0x1],undefined))return _0x228386[0x3][_0x1bb4cb(0x14d)](FRAMEWORK_INITIALIZER);return _0x228386[0x3]['initRequireModule'](..._0xfd6418);},_0x1571c9[_0x5c7f47(0x15b)](initJestAdapter,..._0x228386);};function a15_0x1f58(){const _0x1efc06=['161BLhvvI','29018rJMJdY','jestAdapterInit','ZyCWB','2674062pwnKXq','path','272168RlUlZS','initRequireModule','function','exports','2129280TgzpEf','includes','85GBwylQ','10830285ENfAJT','44465970aMuJec','default','../../../helpers/helper','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','QpOdF','jest-circus','321092RIvsEs','YzJlt','customJestAdapterInit.js','55QzpfSI','requireInternalModule'];a15_0x1f58=function(){return _0x1efc06;};return a15_0x1f58();}
@@ -1 +1 @@
1
- const a16_0x1742c0=a16_0x415a;(function(_0x38a889,_0x20b11c){const _0x26bae4=a16_0x415a,_0xda47d=_0x38a889();while(!![]){try{const _0x5d2e71=parseInt(_0x26bae4(0x1f0))/0x1+-parseInt(_0x26bae4(0x20f))/0x2+-parseInt(_0x26bae4(0x1f8))/0x3*(parseInt(_0x26bae4(0x1bf))/0x4)+-parseInt(_0x26bae4(0x221))/0x5+parseInt(_0x26bae4(0x216))/0x6*(-parseInt(_0x26bae4(0x1f1))/0x7)+parseInt(_0x26bae4(0x1d2))/0x8+parseInt(_0x26bae4(0x1d7))/0x9*(parseInt(_0x26bae4(0x205))/0xa);if(_0x5d2e71===_0x20b11c)break;else _0xda47d['push'](_0xda47d['shift']());}catch(_0x286abb){_0xda47d['push'](_0xda47d['shift']());}}}(a16_0x909a,0xb147b));const helper=require(a16_0x1742c0(0x1e7)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x1742c0(0x1c1)),testhubUtils=require(a16_0x1742c0(0x217)),logger=require(a16_0x1742c0(0x226))['winstonLogger'],getTestEnvironment=((()=>{const _0x4ab83c=a16_0x1742c0,_0x32b8ee={};_0x32b8ee[_0x4ab83c(0x1de)]=_0x4ab83c(0x1d0),_0x32b8ee[_0x4ab83c(0x1fd)]='jest-config';const _0x374c49=_0x32b8ee;try{const _0x28950c=helper[_0x4ab83c(0x22b)](_0x374c49[_0x4ab83c(0x1de)]);if(_0x28950c[_0x4ab83c(0x21f)])return _0x28950c['resolveTestEnvironment'];const _0xb11ce0=helper['requireModule'](_0x374c49['FMPwo']);if(_0xb11ce0['getTestEnvironment'])return _0xb11ce0[_0x4ab83c(0x1e2)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x1b2078=a16_0x1742c0,_0x1aceb0={'pbrIR':function(_0x38e8fb,_0x17172a){return _0x38e8fb(_0x17172a);},'EXtMM':'node','siemi':function(_0x14b9e9,_0x54962b){return _0x14b9e9(_0x54962b);},'zuxPt':'jest-environment-node'},_0x237a9b=_0x1aceb0[_0x1b2078(0x1f5)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process['env'][_0x1b2078(0x1dd)]||_0x1aceb0[_0x1b2078(0x1cb)]});if(!_0x237a9b)return _0x1aceb0[_0x1b2078(0x1be)](_interopRequireDefault,helper[_0x1b2078(0x22b)](_0x1aceb0[_0x1b2078(0x1bd)]));return _0x1aceb0['pbrIR'](_interopRequireDefault,helper[_0x1b2078(0x22b)](_0x237a9b));})()),_seleniumWebdriver2=((()=>{const _0x20a477=a16_0x1742c0,_0x110ea3={'Sgbav':function(_0x12dcc5,_0x345615){return _0x12dcc5(_0x345615);}};try{const _0x261420=helper[_0x20a477(0x204)]();return helper[_0x20a477(0x20b)](),_0x110ea3[_0x20a477(0x21c)](_interopRequireDefault,_0x261420);}catch{return null;}})());function _interopRequireDefault(_0x51e7b8){const _0x555050=a16_0x1742c0;return _0x51e7b8&&_0x51e7b8[_0x555050(0x1c6)]?_0x51e7b8:{'default':_0x51e7b8};}function a16_0x909a(){const _0x1e185f=['browserstackAgentV2','getTestEnvironment','isTrue','handleTestEvent','nestedKeyValue','__webdriver','../../../helpers/helper','join','onTestDone','isNotUndefined','__timeout','isBrowserstackInfra','isArray','shouldProcessEventForTesthub','__driversArray','1054416ngBhjb','7MiJWMa','global','dNhWy','buildName','pbrIR','zJRnK','teardown','3601863IHeVjo','name','__skipSessionStatus','__jestRetries','browserstackPercyBestPlatform','FMPwo','driver','default','skipSessionStatus','projectConfig','registerListeners','browserStackGlobals','requireSeleniumWebdriver','57350KgvTGk','nQcNl','__platformCaps','capability','dZGdb','percyCaptureMode','modifyCommand','IAYgw','info','EAPOP','1194768LZyjbf','kdvYN','skipSessionName','test_start','mode','timeout__','jestConfig','6624318ufGXjw','../../../helpers/testhub/utils','../../../index','Error\x20in\x20fail-fast\x20test_done\x20handler:','setup','UiIpe','Sgbav','testContext','Builder','resolveTestEnvironment','FRAMEWORKS','2117930rpQJHu','projectName','JEST','__drivers','rBVix','../../../helpers/logger','test_done','bstack:options','quit','percy','requireModule','zuxPt','siemi','4IVSsmX','iJwLE','../test-observability/obsReporter','testPath','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','yUNFD','sessionNameProvided','__esModule','failFastOptions','configuration','testEnvironmentOptions','sViYI','EXtMM','browserStackPercyOptions','cleanup','test','failFastActive','jest-resolve','cleanupDrivers','2048296pRMDdx','ycbic','RZtZm','builder','retries__','4302sHFMku','NzkMP','../../../helpers/test-orchestration/failfastManager','failFast','platformCaps','capabilities','BSTACK_JEST_TEST_ENV','iXhIN','sCOee','exports'];a16_0x909a=function(){return _0x1e185f;};return a16_0x909a();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x1742c0(0x1ff)][a16_0x1742c0(0x21e)]:null;function a16_0x415a(_0x1153f3,_0x16af7a){const _0x909a56=a16_0x909a();return a16_0x415a=function(_0x415a00,_0x27da68){_0x415a00=_0x415a00-0x1bd;let _0x5a8128=_0x909a56[_0x415a00];return _0x5a8128;},a16_0x415a(_0x1153f3,_0x16af7a);}class CustomEnvironment extends _jestUserEnvironment[a16_0x1742c0(0x1ff)]{constructor(_0x4fb36f){const _0x11c612=a16_0x1742c0,_0x5ad951={'ycbic':'quit','uAfxC':function(_0x1ec00c,_0x5cd6c4){return _0x1ec00c+_0x5cd6c4;},'dZGdb':_0x11c612(0x228),'EAPOP':function(_0x4e83a0,_0x3ceac){return _0x4e83a0(_0x3ceac);},'RZtZm':_0x11c612(0x1d9),'UiIpe':'1|7|4|5|3|0|6|2','zJRnK':'testEnvironmentOptions','nQcNl':_0x11c612(0x1cc),'nPTCg':_0x11c612(0x20a),'NzkMP':'browserstackPercyBestPlatform','iJwLE':_0x11c612(0x22a),'DcwRd':function(_0x4a87c2,_0x2eb525){return _0x4a87c2(_0x2eb525);},'pNAaz':_0x11c612(0x218)};super(_0x4fb36f),this['global'][_0x11c612(0x1eb)]=0x0,this['configuration']={};!_0x4fb36f[_0x11c612(0x1c9)]&&(_0x4fb36f[_0x11c612(0x1c9)]={});if(helper[_0x11c612(0x1ec)]()){_0x4fb36f[_0x11c612(0x1c9)]=_0x4fb36f[_0x11c612(0x201)]?_0x4fb36f[_0x11c612(0x201)][_0x11c612(0x1c9)]:_0x4fb36f[_0x11c612(0x1c9)];_seleniumWebdriver2&&(this[_0x11c612(0x1d5)]=new _seleniumWebdriver2[(_0x11c612(0x1ff))][(_0x11c612(0x21e))]());this[_0x11c612(0x208)]=_0x4fb36f['projectConfig']?_0x4fb36f['projectConfig'][_0x11c612(0x208)]:_0x4fb36f[_0x11c612(0x208)],this[_0x11c612(0x1f2)][_0x11c612(0x1eb)]=_0x5ad951['uAfxC'](_0x4fb36f[_0x11c612(0x1c9)][_0x11c612(0x214)]||0x1388,constants['BSTACK_DELTA']),this[_0x11c612(0x1c7)]=_0x4fb36f['testEnvironmentOptions'][_0x11c612(0x1da)];if(this[_0x11c612(0x1c7)]){const _0x44d27d=this[_0x11c612(0x208)][_0x5ad951[_0x11c612(0x209)]]?.[_0x11c612(0x1f4)]||'',_0xea6362=this[_0x11c612(0x208)][_0x5ad951['dZGdb']]?.[_0x11c612(0x222)]||'';this['failFast']=new(_0x5ad951[_0x11c612(0x20e)](require,_0x5ad951[_0x11c612(0x1d4)]))(this[_0x11c612(0x1c7)],_0x44d27d,_0xea6362),this[_0x11c612(0x1f2)][_0x11c612(0x1cf)]=![];}helper[_0x11c612(0x1ea)](_0x4fb36f['testEnvironmentOptions']['retries__'])&&(this[_0x11c612(0x1f2)][_0x11c612(0x1fb)]=_0x4fb36f[_0x11c612(0x1c9)][_0x11c612(0x1d6)]);}if(testhubUtils[_0x11c612(0x1ee)]()){const _0x869260=new ObservabilityReporter();_0x869260[_0x11c612(0x202)]();}this['global'][_0x11c612(0x203)]={},this['configuration']=_0x4fb36f['testEnvironmentOptions'],this['configuration']['framework']=constants[_0x11c612(0x220)][_0x11c612(0x223)],this['global']['browserstackPlatformIndex']=(_0x4fb36f['projectConfig']?_0x4fb36f[_0x11c612(0x201)]['browserstackPlatformIndex']:_0x4fb36f['browserstackPlatformIndex'])||0x0,this[_0x11c612(0x1f2)][_0x11c612(0x207)]=this[_0x11c612(0x1c8)]&&this['configuration'][_0x11c612(0x1db)]&&Array['isArray'](this[_0x11c612(0x1c8)][_0x11c612(0x1db)])&&this[_0x11c612(0x1c8)][_0x11c612(0x1db)][this['global']['browserstackPlatformIndex']]||{};const _0x38b2ad=this[_0x11c612(0x1f2)]['browserstackPlatformIndex'],_0x2f6e76={...this[_0x11c612(0x1c8)],'capability':this[_0x11c612(0x1c8)][_0x11c612(0x1dc)]&&Array[_0x11c612(0x1ed)](this[_0x11c612(0x1c8)][_0x11c612(0x1dc)])&&this[_0x11c612(0x1c8)][_0x11c612(0x1dc)][_0x38b2ad]||{},'platformCaps':this[_0x11c612(0x1c8)][_0x11c612(0x1db)]&&Array[_0x11c612(0x1ed)](this['configuration'][_0x11c612(0x1db)])&&this[_0x11c612(0x1c8)][_0x11c612(0x1db)][_0x38b2ad]||{}};delete _0x2f6e76[_0x11c612(0x1dc)],this['global'][_0x11c612(0x215)]=_0x2f6e76;if(_seleniumWebdriver2){const _0x2ffa0e=_0x5ad951[_0x11c612(0x21b)]['split']('|');let _0x54583f=0x0;while(!![]){switch(_0x2ffa0e[_0x54583f++]){case'0':helper['isTrue'](this[_0x11c612(0x1c8)][_0x11c612(0x211)])?this[_0x11c612(0x1f2)][_0x11c612(0x1c5)]=!![]:this[_0x11c612(0x1f2)][_0x11c612(0x1c5)]=![];continue;case'1':this[_0x11c612(0x1f2)][_0x11c612(0x224)]=[];continue;case'2':this['global'][_0x11c612(0x1cd)]=async()=>{const _0x482c19=_0x11c612;await this[_0x482c19(0x1f2)][_0x482c19(0x1fe)][_0x482c19(0x229)](_0x5ad951[_0x482c19(0x1d3)]);};continue;case'3':this['global'][_0x11c612(0x20a)]=helper[_0x11c612(0x1e5)](_0x4fb36f,[_0x5ad951['zJRnK'],_0x5ad951[_0x11c612(0x206)],_0x5ad951['nPTCg']]);continue;case'4':this[_0x11c612(0x1f2)][_0x11c612(0x1fc)]=helper[_0x11c612(0x1e5)](_0x4fb36f,[_0x5ad951['zJRnK'],_0x5ad951[_0x11c612(0x206)],_0x5ad951[_0x11c612(0x1d8)]]);continue;case'5':this[_0x11c612(0x1f2)][_0x11c612(0x22a)]=helper[_0x11c612(0x1e5)](_0x4fb36f,[_0x5ad951[_0x11c612(0x1f6)],_0x5ad951['nQcNl'],_0x5ad951[_0x11c612(0x1c0)]]);continue;case'6':this['global'][_0x11c612(0x1fa)]=helper[_0x11c612(0x1e3)](this[_0x11c612(0x1c8)][_0x11c612(0x200)]);continue;case'7':this[_0x11c612(0x1f2)][_0x11c612(0x1e6)]=_0x5ad951['DcwRd'](require,_0x5ad951['pNAaz'])[_0x11c612(0x1e1)]({...this['configuration'],'capability':this[_0x11c612(0x208)]||{}},this,testhubUtils[_0x11c612(0x1ee)]());continue;}break;}}}async['teardown'](){const _0x20762e=a16_0x1742c0;_seleniumWebdriver2&&(await helper[_0x20762e(0x1d1)](this[_0x20762e(0x1f2)][_0x20762e(0x1ef)]),this[_0x20762e(0x1f2)][_0x20762e(0x1e6)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async[a16_0x1742c0(0x21a)](){}async[a16_0x1742c0(0x1e4)](_0x419074,_0x4ff377){const _0x1e99f0=a16_0x1742c0,_0x1cf577={};_0x1cf577[_0x1e99f0(0x1ca)]=function(_0xb4ef74,_0x55d213){return _0xb4ef74===_0x55d213;},_0x1cf577[_0x1e99f0(0x210)]=_0x1e99f0(0x212),_0x1cf577[_0x1e99f0(0x1c4)]='skip',_0x1cf577['RCRjv']=_0x1e99f0(0x227),_0x1cf577['MRFlf']='\x20>\x20',_0x1cf577[_0x1e99f0(0x225)]=function(_0x246978,_0x453959){return _0x246978===_0x453959;},_0x1cf577[_0x1e99f0(0x1df)]=function(_0x618f4b,_0x4c8c35){return _0x618f4b===_0x4c8c35;},_0x1cf577['IAYgw']=_0x1e99f0(0x219),_0x1cf577[_0x1e99f0(0x1f3)]=_0x1e99f0(0x1f7);const _0x35cc3e=_0x1cf577,{name:_0x29609c}=_0x419074;if(_0x35cc3e[_0x1e99f0(0x1ca)](_0x29609c,_0x35cc3e[_0x1e99f0(0x210)])){this[_0x1e99f0(0x1f2)][_0x1e99f0(0x21d)]=_0x419074['test'];if(_0x35cc3e[_0x1e99f0(0x1ca)](this['global'][_0x1e99f0(0x1cf)],!![])){const _0x17e3be=_0x419074[_0x1e99f0(0x1ce)][_0x1e99f0(0x1f9)];logger[_0x1e99f0(0x20d)](_0x1e99f0(0x1c3)+_0x17e3be),_0x419074[_0x1e99f0(0x1ce)][_0x1e99f0(0x213)]=_0x35cc3e[_0x1e99f0(0x1c4)];}}if(this[_0x1e99f0(0x1da)]&&_0x35cc3e[_0x1e99f0(0x1ca)](_0x29609c,_0x35cc3e['RCRjv']))try{const _0x870ae9=_0x419074['test'][_0x1e99f0(0x1c2)][_0x1e99f0(0x1e8)](_0x35cc3e['MRFlf']),_0x55ff37=_0x419074[_0x1e99f0(0x1ce)]['errors'];await this[_0x1e99f0(0x1da)][_0x1e99f0(0x1e9)](_0x870ae9,_0x55ff37);const _0x3f8c64=await this[_0x1e99f0(0x1da)]['shouldFailFast']();_0x35cc3e[_0x1e99f0(0x225)](this[_0x1e99f0(0x1f2)][_0x1e99f0(0x1cf)],![])&&_0x35cc3e['sCOee'](_0x3f8c64,!![])&&(this[_0x1e99f0(0x1f2)][_0x1e99f0(0x1cf)]=!![]);}catch(_0x2063d9){logger['debug'](_0x35cc3e[_0x1e99f0(0x20c)],_0x2063d9['message']);}_0x35cc3e[_0x1e99f0(0x1ca)](_0x29609c,_0x35cc3e[_0x1e99f0(0x1f3)])&&(this['failFast']&&this[_0x1e99f0(0x1da)]['cleanup']());}}module[a16_0x1742c0(0x1e0)]=CustomEnvironment;
1
+ const a16_0xc9a98f=a16_0x5dee;function a16_0x33dd(){const _0x82a58d=['BSTACK_DELTA','name','default','capability','NPorn','eHbDI','__timeout','node','info','handleTestEvent','registerListeners','__jestRetries','shouldProcessEventForTesthub','testEnvironmentOptions','rmfJR','jest-resolve','1jvcoZI','modifyCommand','jestConfig','percy','testPath','3357434BwetaH','__esModule','configuration','framework','debug','ceDTj','errors','cWhEC','shutdown','isTrue','browserstackPercyBestPlatform','OHBTx','platformCaps','brDPp','failFastOptions','isNotUndefined','../../../helpers/helper','1|0|3|5|6|7|4|2','isArray','winstonLogger','test_done','12504680dZmdMv','aFnmI','sessionNameProvided','browserstackAgentV2','JEST','skip','resolveTestEnvironment','../../../helpers/test-orchestration/failfastManager','cleanupDrivers','__platformCaps','capabilities','retries__','Builder','buildName','592739WFWeez','oDJVv','bstack:options','2867550TKCvue','BYmAU','env','locTt','LSdCv','OCssx','getTestEnvironment','nestedKeyValue','YVeSP','failFast','108oIyliC','builder','failFastActive','ZhHeD','__driversArray','quit','message','Error\x20in\x20fail-fast\x20test_done\x20handler:','teardown','FRAMEWORKS','../../../helpers/logger','getInstance','testContext','4809592WNXVUY','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','../../../helpers/testhub/utils','fWuZd','../../utils/constants','gglgI','__webdriver','projectConfig','qRGAU','44800515kMSpYn','projectName','browserStackPercyOptions','oddXF','requireSeleniumWebdriver','1783671MYZHCt','requireModule','test','dwQYg','jest-environment-node','exports','onTestDone','SbUmA','__drivers','percyCaptureMode','split','browserstackPlatformIndex','mode','\x20>\x20','global','skipSessionName','AHoXV','skipSessionStatus','BSTACK_JEST_TEST_ENV'];a16_0x33dd=function(){return _0x82a58d;};return a16_0x33dd();}(function(_0x1c7d7b,_0x414ea2){const _0x99bedc=a16_0x5dee,_0x2fa379=_0x1c7d7b();while(!![]){try{const _0x5ef3b4=parseInt(_0x99bedc(0x1de))/0x1*(-parseInt(_0x99bedc(0x1e3))/0x2)+-parseInt(_0x99bedc(0x1bb))/0x3+-parseInt(_0x99bedc(0x220))/0x4+-parseInt(_0x99bedc(0x209))/0x5+parseInt(_0x99bedc(0x213))/0x6*(-parseInt(_0x99bedc(0x206))/0x7)+parseInt(_0x99bedc(0x1f8))/0x8+parseInt(_0x99bedc(0x1b6))/0x9;if(_0x5ef3b4===_0x414ea2)break;else _0x2fa379['push'](_0x2fa379['shift']());}catch(_0x212587){_0x2fa379['push'](_0x2fa379['shift']());}}}(a16_0x33dd,0xec380));const helper=require(a16_0xc9a98f(0x1f3)),constants=require(a16_0xc9a98f(0x224)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0xc9a98f(0x222)),logger=require(a16_0xc9a98f(0x21d))[a16_0xc9a98f(0x1f6)],getTestEnvironment=((()=>{const _0x1e98d3=a16_0xc9a98f,_0x3937c9={};_0x3937c9[_0x1e98d3(0x211)]=_0x1e98d3(0x1dd),_0x3937c9[_0x1e98d3(0x1ea)]='jest-config';const _0x21be9f=_0x3937c9;try{const _0x4b7720=helper['requireModule'](_0x21be9f[_0x1e98d3(0x211)]);if(_0x4b7720[_0x1e98d3(0x1fe)])return _0x4b7720[_0x1e98d3(0x1fe)];const _0x27bd76=helper[_0x1e98d3(0x1bc)](_0x21be9f[_0x1e98d3(0x1ea)]);if(_0x27bd76['getTestEnvironment'])return _0x27bd76[_0x1e98d3(0x20f)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x115806=a16_0xc9a98f,_0x76dd4d={'oddXF':function(_0x3e2814,_0x17f908){return _0x3e2814(_0x17f908);},'OHBTx':_0x115806(0x1d5),'SbUmA':_0x115806(0x1bf)},_0x21b9c8=_0x76dd4d[_0x115806(0x1b9)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x115806(0x20b)][_0x115806(0x1cd)]||_0x76dd4d[_0x115806(0x1ee)]});if(!_0x21b9c8)return _0x76dd4d[_0x115806(0x1b9)](_interopRequireDefault,helper[_0x115806(0x1bc)](_0x76dd4d[_0x115806(0x1c2)]));return _0x76dd4d[_0x115806(0x1b9)](_interopRequireDefault,helper[_0x115806(0x1bc)](_0x21b9c8));})()),_seleniumWebdriver2=((()=>{const _0x52b7e8=a16_0xc9a98f,_0x109bfe={'fWuZd':function(_0x2e7f63,_0x249d31){return _0x2e7f63(_0x249d31);}};try{const _0x47dd2c=helper[_0x52b7e8(0x1ba)]();return helper[_0x52b7e8(0x1df)](),_0x109bfe[_0x52b7e8(0x223)](_interopRequireDefault,_0x47dd2c);}catch{return null;}})());function a16_0x5dee(_0x33a8a9,_0xf79e88){const _0x33ddd1=a16_0x33dd();return a16_0x5dee=function(_0x5dee77,_0x4e9948){_0x5dee77=_0x5dee77-0x1b2;let _0x56ede4=_0x33ddd1[_0x5dee77];return _0x56ede4;},a16_0x5dee(_0x33a8a9,_0xf79e88);}function _interopRequireDefault(_0x19ee2c){const _0x49b208=a16_0xc9a98f;return _0x19ee2c&&_0x19ee2c[_0x49b208(0x1e4)]?_0x19ee2c:{'default':_0x19ee2c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xc9a98f(0x1d0)][a16_0xc9a98f(0x204)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0xc9a98f(0x1d0)]{constructor(_0x5536cd){const _0x115579=a16_0xc9a98f,_0x11a6bf={'LSdCv':'quit','jhKcM':function(_0x880cb9,_0x1dd4a9){return _0x880cb9+_0x1dd4a9;},'ceDTj':_0x115579(0x208),'SrWCk':function(_0x1ffc79,_0x21f706){return _0x1ffc79(_0x21f706);},'NPorn':_0x115579(0x1ff),'XDMJs':_0x115579(0x1f4),'KksOb':function(_0x37939c,_0x308b36){return _0x37939c(_0x308b36);},'rmfJR':'../../../index','qRGAU':_0x115579(0x1db),'gglgI':_0x115579(0x1b8),'locTt':_0x115579(0x1ed),'AHoXV':_0x115579(0x1e1),'OCssx':'percyCaptureMode'};super(_0x5536cd),this[_0x115579(0x1c9)][_0x115579(0x1d4)]=0x0,this[_0x115579(0x1e5)]={};!_0x5536cd[_0x115579(0x1db)]&&(_0x5536cd['testEnvironmentOptions']={});if(helper['isBrowserstackInfra']()){_0x5536cd[_0x115579(0x1db)]=_0x5536cd['projectConfig']?_0x5536cd[_0x115579(0x1b4)][_0x115579(0x1db)]:_0x5536cd['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x115579(0x214)]=new _seleniumWebdriver2[(_0x115579(0x1d0))]['Builder']());this[_0x115579(0x1d1)]=_0x5536cd[_0x115579(0x1b4)]?_0x5536cd[_0x115579(0x1b4)][_0x115579(0x1d1)]:_0x5536cd[_0x115579(0x1d1)],this[_0x115579(0x1c9)]['__timeout']=_0x11a6bf['jhKcM'](_0x5536cd[_0x115579(0x1db)]['timeout__']||0x1388,constants[_0x115579(0x1ce)]),this[_0x115579(0x1f1)]=_0x5536cd['testEnvironmentOptions'][_0x115579(0x212)];if(this['failFastOptions']){const _0x3784de=this[_0x115579(0x1d1)][_0x11a6bf['ceDTj']]?.[_0x115579(0x205)]||'',_0x200fb1=this[_0x115579(0x1d1)][_0x11a6bf[_0x115579(0x1e8)]]?.[_0x115579(0x1b7)]||'';this[_0x115579(0x212)]=new(_0x11a6bf['SrWCk'](require,_0x11a6bf[_0x115579(0x1d2)]))(this[_0x115579(0x1f1)],_0x3784de,_0x200fb1),this[_0x115579(0x1c9)][_0x115579(0x215)]=![];}helper[_0x115579(0x1f2)](_0x5536cd['testEnvironmentOptions']['retries__'])&&(this[_0x115579(0x1c9)][_0x115579(0x1d9)]=_0x5536cd[_0x115579(0x1db)][_0x115579(0x203)]);}if(testhubUtils[_0x115579(0x1da)]()){const _0x1507cf=new ObservabilityReporter();_0x1507cf[_0x115579(0x1d8)]();}this[_0x115579(0x1c9)]['browserStackGlobals']={},this['configuration']=_0x5536cd[_0x115579(0x1db)],this['configuration'][_0x115579(0x1e6)]=constants[_0x115579(0x21c)][_0x115579(0x1fc)],this[_0x115579(0x1c9)][_0x115579(0x1c6)]=(_0x5536cd['projectConfig']?_0x5536cd[_0x115579(0x1b4)][_0x115579(0x1c6)]:_0x5536cd[_0x115579(0x1c6)])||0x0,this['global'][_0x115579(0x201)]=this[_0x115579(0x1e5)]&&this[_0x115579(0x1e5)]['platformCaps']&&Array[_0x115579(0x1f5)](this['configuration'][_0x115579(0x1ef)])&&this[_0x115579(0x1e5)][_0x115579(0x1ef)][this[_0x115579(0x1c9)][_0x115579(0x1c6)]]||{};const _0x5d9850=this[_0x115579(0x1c9)][_0x115579(0x1c6)],_0x1210b0={...this['configuration'],'capability':this['configuration'][_0x115579(0x202)]&&Array['isArray'](this[_0x115579(0x1e5)][_0x115579(0x202)])&&this[_0x115579(0x1e5)][_0x115579(0x202)][_0x5d9850]||{},'platformCaps':this['configuration'][_0x115579(0x1ef)]&&Array['isArray'](this[_0x115579(0x1e5)]['platformCaps'])&&this['configuration'][_0x115579(0x1ef)][_0x5d9850]||{}};delete _0x1210b0[_0x115579(0x202)],this[_0x115579(0x1c9)][_0x115579(0x1e0)]=_0x1210b0;if(_seleniumWebdriver2){const _0x29fae7=_0x11a6bf['XDMJs'][_0x115579(0x1c5)]('|');let _0x197b81=0x0;while(!![]){switch(_0x29fae7[_0x197b81++]){case'0':this['global'][_0x115579(0x1b3)]=_0x11a6bf['KksOb'](require,_0x11a6bf[_0x115579(0x1dc)])[_0x115579(0x1fb)]({...this[_0x115579(0x1e5)],'capability':this[_0x115579(0x1d1)]||{}},this,testhubUtils[_0x115579(0x1da)]());continue;case'1':this['global'][_0x115579(0x1c3)]=[];continue;case'2':this[_0x115579(0x1c9)]['cleanup']=async()=>{const _0x7721c=_0x115579;await this[_0x7721c(0x1c9)]['driver'][_0x7721c(0x218)](_0x11a6bf[_0x7721c(0x20d)]);};continue;case'3':this['global'][_0x115579(0x1ed)]=helper[_0x115579(0x210)](_0x5536cd,[_0x11a6bf[_0x115579(0x1b5)],_0x11a6bf[_0x115579(0x1b2)],_0x11a6bf[_0x115579(0x20c)]]);continue;case'4':this[_0x115579(0x1c9)]['__skipSessionStatus']=helper[_0x115579(0x1ec)](this[_0x115579(0x1e5)][_0x115579(0x1cc)]);continue;case'5':this[_0x115579(0x1c9)]['percy']=helper[_0x115579(0x210)](_0x5536cd,[_0x11a6bf[_0x115579(0x1b5)],_0x11a6bf[_0x115579(0x1b2)],_0x11a6bf[_0x115579(0x1cb)]]);continue;case'6':this['global'][_0x115579(0x1c4)]=helper['nestedKeyValue'](_0x5536cd,[_0x11a6bf[_0x115579(0x1b5)],_0x11a6bf[_0x115579(0x1b2)],_0x11a6bf[_0x115579(0x20e)]]);continue;case'7':helper[_0x115579(0x1ec)](this[_0x115579(0x1e5)][_0x115579(0x1ca)])?this['global'][_0x115579(0x1fa)]=!![]:this[_0x115579(0x1c9)][_0x115579(0x1fa)]=![];continue;}break;}}}async[a16_0xc9a98f(0x21b)](){const _0x1eb88d=a16_0xc9a98f;_seleniumWebdriver2&&(await helper[_0x1eb88d(0x200)](this[_0x1eb88d(0x1c9)][_0x1eb88d(0x217)]),this['global'][_0x1eb88d(0x1b3)]['Builder']=originalBuilder),await RequestQueueHandler[_0x1eb88d(0x21e)]()[_0x1eb88d(0x1eb)]();}async['setup'](){}async[a16_0xc9a98f(0x1d7)](_0x232f67,_0x43e3f0){const _0x183cbe=a16_0xc9a98f,_0x1c1865={};_0x1c1865[_0x183cbe(0x1f9)]=function(_0x3219d3,_0x59e2e9){return _0x3219d3===_0x59e2e9;},_0x1c1865[_0x183cbe(0x1be)]='test_start',_0x1c1865[_0x183cbe(0x216)]=_0x183cbe(0x1fd),_0x1c1865[_0x183cbe(0x207)]=_0x183cbe(0x1f7),_0x1c1865[_0x183cbe(0x20a)]=_0x183cbe(0x1c8),_0x1c1865[_0x183cbe(0x1d3)]=_0x183cbe(0x21a),_0x1c1865['brDPp']=function(_0x142acd,_0x2d4a71){return _0x142acd===_0x2d4a71;},_0x1c1865['uNObC']=_0x183cbe(0x21b);const _0x425437=_0x1c1865,{name:_0x3e8583}=_0x232f67;if(_0x425437[_0x183cbe(0x1f9)](_0x3e8583,_0x425437[_0x183cbe(0x1be)])){this[_0x183cbe(0x1c9)][_0x183cbe(0x21f)]=_0x232f67[_0x183cbe(0x1bd)];if(_0x425437[_0x183cbe(0x1f9)](this['global']['failFastActive'],!![])){const _0x4303a0=_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1cf)];logger[_0x183cbe(0x1d6)](_0x183cbe(0x221)+_0x4303a0),_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1c7)]=_0x425437['ZhHeD'];}}if(this[_0x183cbe(0x212)]&&_0x425437[_0x183cbe(0x1f9)](_0x3e8583,_0x425437[_0x183cbe(0x207)]))try{const _0x280615=_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1e2)]['join'](_0x425437[_0x183cbe(0x20a)]),_0x2a2fe8=_0x232f67[_0x183cbe(0x1bd)][_0x183cbe(0x1e9)];await this[_0x183cbe(0x212)][_0x183cbe(0x1c1)](_0x280615,_0x2a2fe8);const _0x2684f5=await this[_0x183cbe(0x212)]['shouldFailFast']();_0x425437[_0x183cbe(0x1f9)](this['global']['failFastActive'],![])&&_0x425437['aFnmI'](_0x2684f5,!![])&&(this[_0x183cbe(0x1c9)][_0x183cbe(0x215)]=!![]);}catch(_0x4a4b7e){logger[_0x183cbe(0x1e7)](_0x425437[_0x183cbe(0x1d3)],_0x4a4b7e[_0x183cbe(0x219)]);}_0x425437[_0x183cbe(0x1f0)](_0x3e8583,_0x425437['uNObC'])&&(this['failFast']&&this[_0x183cbe(0x212)]['cleanup']());}}module[a16_0xc9a98f(0x1c0)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x467c33=a17_0x124f;(function(_0x56e3e4,_0x161bdd){const _0x520660=a17_0x124f,_0x652707=_0x56e3e4();while(!![]){try{const _0x4a6e68=-parseInt(_0x520660(0x229))/0x1+-parseInt(_0x520660(0x21a))/0x2*(parseInt(_0x520660(0x1cd))/0x3)+-parseInt(_0x520660(0x1b0))/0x4*(parseInt(_0x520660(0x1d8))/0x5)+parseInt(_0x520660(0x1d6))/0x6+parseInt(_0x520660(0x1e7))/0x7+-parseInt(_0x520660(0x215))/0x8*(-parseInt(_0x520660(0x1dc))/0x9)+-parseInt(_0x520660(0x245))/0xa;if(_0x4a6e68===_0x161bdd)break;else _0x652707['push'](_0x652707['shift']());}catch(_0x597020){_0x652707['push'](_0x652707['shift']());}}}(a17_0x1663,0xa0ae4));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x467c33(0x1b6)),RequestQueueHandler=require(a17_0x467c33(0x1ea)),TestDetails=require(a17_0x467c33(0x238)),{patchConsoleLogger,debug}=require(a17_0x467c33(0x233)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x467c33(0x1d3)),testHubConstants=require(a17_0x467c33(0x21f)),BrowserstackCLI=require(a17_0x467c33(0x224)),TestFrameworkState=require(a17_0x467c33(0x221)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x467c33(0x244)),{v4:uuidv4}=require(a17_0x467c33(0x207)),util=require(a17_0x467c33(0x1fd)),logger=require(a17_0x467c33(0x235))[a17_0x467c33(0x22d)],{FRAMEWORKS}=require(a17_0x467c33(0x248)),exportsI=requireModule(a17_0x467c33(0x1f5),a17_0x467c33(0x237)),initInitialize=exportsI[a17_0x467c33(0x1f4)],jestUtils=new JestUtils();async function isCLIReady(){const _0x428163=a17_0x467c33,_0x23d69c={'PDAGN':_0x428163(0x1b2),'PBisn':function(_0x1fcc17,_0x4a3d21){return _0x1fcc17(_0x4a3d21);},'nblwH':_0x428163(0x1f1),'tzEba':function(_0x2616b6,_0x2cd099){return _0x2616b6(_0x2cd099);}};try{const _0x3e5465=BrowserstackCLI['getInstance']();if(_0x3e5465['isCliEnabled']()&&_0x3e5465[_0x428163(0x205)]())return logger[_0x428163(0x218)](_0x23d69c['PDAGN']),!![];const _0x8ee20=process['env'][_0x428163(0x1e5)];if(_0x8ee20&&_0x3e5465['isCliEnabled']()){if(!_0x3e5465[_0x428163(0x205)]())try{const _0x1fb60=_0x23d69c[_0x428163(0x255)](require,_0x23d69c[_0x428163(0x242)]);_0x1fb60[_0x428163(0x1df)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x428163(0x1c1)]),await _0x3e5465[_0x428163(0x25a)]();}catch(_0x5ba5e1){return _0x23d69c['PBisn'](debug,_0x428163(0x1bf)+util[_0x428163(0x240)](_0x5ba5e1)),![];}return _0x3e5465[_0x428163(0x205)]();}return![];}catch(_0x23d758){return _0x23d69c['tzEba'](debug,_0x428163(0x1de)+util[_0x428163(0x240)](_0x23d758)),![];}}function getTestIdentifierForHook(_0x4b02cf){const _0x1dc511=a17_0x467c33,_0x5a779b={};_0x5a779b['KkmXc']=function(_0xd781f0,_0x1e89bb){return _0xd781f0===_0x1e89bb;},_0x5a779b['uNdCQ']=_0x1dc511(0x1d9),_0x5a779b[_0x1dc511(0x1ec)]=_0x1dc511(0x1ee),_0x5a779b[_0x1dc511(0x254)]=function(_0x4fdb41,_0x371df0){return _0x4fdb41===_0x371df0;};const _0x1f08b7=_0x5a779b;if(_0x1f08b7[_0x1dc511(0x1ce)](_0x4b02cf[_0x1dc511(0x24c)],_0x1f08b7[_0x1dc511(0x228)])||_0x1f08b7['KkmXc'](_0x4b02cf['type'],_0x1f08b7[_0x1dc511(0x1ec)])){let _0xabfc82=global[_0x1dc511(0x1d1)];if(!_0xabfc82&&_0x1f08b7['YdjrM'](_0x4b02cf[_0x1dc511(0x24c)],_0x1f08b7[_0x1dc511(0x1ec)])&&_0x4b02cf[_0x1dc511(0x227)]){const _0x5f03df={};_0x5f03df['name']=_0x4b02cf[_0x1dc511(0x227)][_0x1dc511(0x23c)],_0x5f03df[_0x1dc511(0x227)]=_0x4b02cf[_0x1dc511(0x227)][_0x1dc511(0x227)],_0x5f03df[_0x1dc511(0x261)]=_0x4b02cf[_0x1dc511(0x261)],_0x5f03df[_0x1dc511(0x1e6)]=_0x4b02cf[_0x1dc511(0x1e6)];const _0x3785f6=_0x5f03df;_0xabfc82=jestUtils[_0x1dc511(0x222)](_0x3785f6);}return _0xabfc82;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x14c86c){const _0x1abba9=a17_0x467c33,_0x4f9f09={};_0x4f9f09[_0x1abba9(0x1ee)]=TestFrameworkState[_0x1abba9(0x1e0)],_0x4f9f09[_0x1abba9(0x25d)]=TestFrameworkState['AFTER_ALL'],_0x4f9f09[_0x1abba9(0x1d9)]=TestFrameworkState[_0x1abba9(0x208)],_0x4f9f09[_0x1abba9(0x25f)]=TestFrameworkState[_0x1abba9(0x1d7)];const _0x30f651=_0x4f9f09;return _0x30f651[_0x14c86c]||TestFrameworkState[_0x1abba9(0x208)];}function a17_0x1663(){const _0x527131=['CLI\x20is\x20enabled\x20and\x20running.','sendTestRunEvent','PyvtQ','error','../test-observability/obsReporter','\x20for\x20hook\x20type:\x20','jest-circus/build/state.js','teardown','testUUID','hook','DSsku','nMmcH','originalTest','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','TDRnC','PLAYWRIGHT','fqWva','testAnalyticsId','PRE','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','SEMCq','removeActiveHook','mbsur','dmTyB','AEVIm','Rowxi','hook_start','105xxNKdC','KkmXc','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','markedStatus','__jestCurrentTestIdentifier','qRrQU','../../../helpers/testhub/utils','Handling\x20test\x20event\x20for\x20CLI:\x20','isCliEnabled','5187378qWCwpO','AFTER_EACH','2460eMMZvl','beforeEach','HookFinished','hookData','9leMmgF','UQakR','Error\x20checking\x20CLI\x20readiness:\x20','setFrameworkDetail','BEFORE_ALL','wyvDD','aHQBG','trackEvent','unhandledErrors','BROWSERSTACK_CLI_BIN_SESSION_ID','file','5883612jDLwfc','lChXd','bhRJj','../../../helpers/test-observability/requestQueueHandler','setActiveHook','Walpu','started_at','beforeAll','LOG_REPORT','zaSBK','../../v2/cliUtils','UBKyr','EVENT','initialize','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','KdyLx','EcWQX','test_start','setTestUUID','forEach','yVgMP','ynASC','util','errorsDetailed',':hookAnalyticsId','xFHIV','createTestFrameworkData','zCrwV','nvXjw','retryOf','isRunning','VnQZS','uuid','BEFORE_EACH','shutdown','pid','KZlmY','lDiAK','currentHook','UWOyQ','zMUju','title','POST','testStarted','pOTVY','removeAllListeners','1661872DcYXwW','gRnKn','CXfOh','debug','TestRunStarted','1502SDVKXG','uNvgF','match','keys','toString','../../../helpers/testhub/constants','hook_failure','../../v2/state/testFrameworkState','createIdentifierFromJestTest','kpTvW','../../v2/browserstackCLI','eMDUS','HookRunFinished','parent','uNdCQ','239432jGrwLn','test','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','getInstance','winstonLogger','getTestFramework','Handling\x20hook\x20event\x20for\x20CLI:\x20','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','OIFrg','uViyz','../../../helpers/test-observability/utils','hookAnalyticsId','../../../helpers/logger','eKcDB','jest-circus','../test-observability/test-details','failed','yNpdg','__workerDetails','name','TEST','hhuzL','_currentRetry','format','UwZep','nblwH','TestRunFinished','../../v2/utils/jest-utils','6839080ssMMet','DpTEl','includes','../../utils/constants','NWdkz','toISOString','YMGye','type','EventHandler','QFwXY','oBQxb','EQWtQ','TkkUI','cZmMS','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','YdjrM','PBisn','ELmvv','HookRunStarted','Error\x20routing\x20to\x20JestTestFramework:\x20','qowJY','bootstrap','run_describe_finish','hookUUID','afterAll','state','afterEach','removeTestUUID','asyncError','addEventHandler','YVaiC','ovzNB','2480quTRgd','current_test'];a17_0x1663=function(){return _0x527131;};return a17_0x1663();}async function handleHookEventCLI(_0x398fa1,_0x86b9a8,_0x4ea7aa){const _0x4e72ea=a17_0x467c33,_0x1941c8={'VnQZS':function(_0x1b26f0){return _0x1b26f0();},'uzjPO':function(_0x5c07d8){return _0x5c07d8();},'YVaiC':function(_0x484864,_0x30cf89){return _0x484864===_0x30cf89;},'yVgMP':_0x4e72ea(0x257),'rgqoA':function(_0x27448,_0x17f167){return _0x27448(_0x17f167);},'yNpdg':function(_0x26845c,_0x53d36f){return _0x26845c(_0x53d36f);},'EQWtQ':function(_0x5d3f76,_0x538d95){return _0x5d3f76===_0x538d95;},'nbUKc':function(_0x1f32a6,_0x15335c){return _0x1f32a6===_0x15335c;},'EcWQX':_0x4e72ea(0x226),'NWdkz':'hook'};logger[_0x4e72ea(0x218)](_0x4e72ea(0x22f)+_0x86b9a8+_0x4e72ea(0x1b7)+_0x398fa1[_0x4e72ea(0x24c)]);try{if(_0x398fa1['fn']&&_0x398fa1['fn'][_0x4e72ea(0x21e)]()[_0x4e72ea(0x21c)](/browserstack internal helper hook/))return;let _0x39f2af=_0x398fa1['hookAnalyticsId'];if(!_0x39f2af)_0x39f2af=_0x1941c8[_0x4e72ea(0x206)](uuidv4),_0x398fa1[_0x4e72ea(0x234)]=_0x39f2af;else _0x398fa1[_0x4e72ea(0x1d0)]&&(_0x39f2af=_0x1941c8['uzjPO'](uuidv4),_0x398fa1[_0x4e72ea(0x234)]=_0x39f2af,delete _0x398fa1['markedStatus']);_0x1941c8[_0x4e72ea(0x263)](_0x86b9a8,_0x1941c8[_0x4e72ea(0x1fb)])&&(_0x398fa1[_0x4e72ea(0x1ed)]=new Date()[_0x4e72ea(0x24a)]());const _0x26f554=_0x1941c8['rgqoA'](getTestIdentifierForHook,_0x398fa1);!global[_0x4e72ea(0x23b)]&&(global[_0x4e72ea(0x23b)]={});if(_0x1941c8[_0x4e72ea(0x263)](_0x86b9a8,_0x1941c8[_0x4e72ea(0x1fb)])){global[_0x4e72ea(0x23b)][_0x4e72ea(0x20d)]={'hookUUID':_0x39f2af,'testIdentifier':_0x26f554,'hookType':_0x398fa1[_0x4e72ea(0x24c)],'startedAt':new Date()[_0x4e72ea(0x24a)]()};const _0x57aafc=BrowserstackCLI[_0x4e72ea(0x22c)]()[_0x4e72ea(0x22e)]();_0x57aafc&&_0x57aafc[_0x4e72ea(0x1eb)]&&_0x57aafc[_0x4e72ea(0x1eb)](_0x26f554,_0x39f2af,_0x398fa1['type']);}const _0x2f1611=await jestUtils['createHookData'](_0x398fa1,_0x39f2af,_0x86b9a8,_0x26f554);if(!_0x2f1611)return;const _0x38aa4f=_0x1941c8[_0x4e72ea(0x23a)](mapHookTypeToState,_0x398fa1['type']),_0xc9868b=_0x1941c8[_0x4e72ea(0x250)](_0x86b9a8,_0x1941c8['yVgMP'])?HookState[_0x4e72ea(0x1c4)]:HookState[_0x4e72ea(0x211)],_0x15e2a5=BrowserstackCLI['getInstance']()[_0x4e72ea(0x22e)]();if(_0x15e2a5){const _0x362e78={};_0x362e78[_0x4e72ea(0x1db)]=_0x2f1611,await _0x15e2a5['trackEvent'](_0x38aa4f,_0xc9868b,_0x362e78);if(_0x1941c8['nbUKc'](_0x86b9a8,_0x1941c8[_0x4e72ea(0x1f7)])){const _0x21e18b={};_0x21e18b[_0x4e72ea(0x1ba)]=_0x26f554,_0x21e18b[_0x4e72ea(0x24c)]=_0x1941c8[_0x4e72ea(0x249)],await _0x15e2a5[_0x4e72ea(0x1e3)](TestFrameworkState[_0x4e72ea(0x1ef)],HookState['POST'],_0x21e18b),global['__workerDetails']&&global[_0x4e72ea(0x23b)][_0x4e72ea(0x20d)]&&_0x1941c8[_0x4e72ea(0x263)](global['__workerDetails'][_0x4e72ea(0x20d)][_0x4e72ea(0x25c)],_0x39f2af)&&delete global[_0x4e72ea(0x23b)][_0x4e72ea(0x20d)],_0x15e2a5[_0x4e72ea(0x1c7)]&&_0x15e2a5[_0x4e72ea(0x1c7)](_0x26f554,_0x39f2af);}}}catch(_0x5abe85){logger[_0x4e72ea(0x1b5)](_0x4e72ea(0x1c5)+util[_0x4e72ea(0x240)](_0x5abe85));throw _0x5abe85;}}function a17_0x124f(_0xc523e9,_0x467183){const _0x1663a2=a17_0x1663();return a17_0x124f=function(_0x124f8b,_0x4e8286){_0x124f8b=_0x124f8b-0x1af;let _0x1ccd25=_0x1663a2[_0x124f8b];return _0x1ccd25;},a17_0x124f(_0xc523e9,_0x467183);}async function handleTestEventCLI(_0x3bd213,_0x5d3248,_0x50f146){const _0xdecc73=a17_0x467c33,_0xef3eeb={};_0xef3eeb[_0xdecc73(0x223)]=function(_0x195f04,_0x1c9918){return _0x195f04===_0x1c9918;},_0xef3eeb[_0xdecc73(0x24f)]=_0xdecc73(0x219),_0xef3eeb[_0xdecc73(0x21b)]=function(_0x3f948e,_0x3548ba){return _0x3f948e>_0x3548ba;},_0xef3eeb[_0xdecc73(0x259)]=function(_0x23e641,_0x46e59c){return _0x23e641===_0x46e59c;},_0xef3eeb['lDiAK']=function(_0xf43a78,_0x5d0cc1){return _0xf43a78&&_0x5d0cc1;},_0xef3eeb[_0xdecc73(0x1e1)]=_0xdecc73(0x239),_0xef3eeb['uViyz']=_0xdecc73(0x243),_0xef3eeb[_0xdecc73(0x1f0)]=function(_0x3b09f6,_0x8b7cc9){return _0x3b09f6&&_0x8b7cc9;},_0xef3eeb[_0xdecc73(0x203)]=function(_0x4d0d18,_0x48eb9c){return _0x4d0d18&&_0x48eb9c;},_0xef3eeb[_0xdecc73(0x1bd)]='test';const _0x335fc0=_0xef3eeb;logger[_0xdecc73(0x218)](_0xdecc73(0x1d4)+_0x5d3248);try{let _0x5db81c;if(_0x335fc0[_0xdecc73(0x223)](_0x5d3248,_0x335fc0['oBQxb'])){_0x5db81c=jestUtils[_0xdecc73(0x222)](_0x3bd213),global[_0xdecc73(0x1d1)]=_0x5db81c,_0x3bd213['testAnalyticsId']=_0x5db81c,_0x3bd213['id']=_0x5db81c,_0x3bd213['started_at']=new Date()[_0xdecc73(0x24a)]();const _0x191318=_0x50f146['current_test'];_0x50f146[_0xdecc73(0x1b1)]=_0x3bd213,_0x3bd213[_0xdecc73(0x204)]=null;if(_0x335fc0[_0xdecc73(0x21b)](_0x3bd213[_0xdecc73(0x23f)],0x0)&&_0x191318&&_0x335fc0[_0xdecc73(0x259)](_0x191318[_0xdecc73(0x210)],_0x3bd213[_0xdecc73(0x210)])){_0x3bd213['retryOf']=_0x191318[_0xdecc73(0x1c3)];const _0x3784e9=await jestUtils[_0xdecc73(0x201)](_0x3bd213,_0x5db81c,_0x335fc0[_0xdecc73(0x24f)]),_0x544318=BrowserstackCLI[_0xdecc73(0x22c)]()['getTestFramework']();if(_0x335fc0[_0xdecc73(0x20c)](_0x3784e9,_0x544318)){const _0x4adea0={};_0x4adea0['test']=_0x3784e9,await _0x544318[_0xdecc73(0x1e3)](TestFrameworkState['TEST'],HookState['PRE'],_0x4adea0);}_0x191318[_0xdecc73(0x25e)]=_0x335fc0[_0xdecc73(0x1e1)];const _0x32fac7=await jestUtils['createTestFrameworkData'](_0x191318,_0x191318[_0xdecc73(0x1c3)],_0x335fc0[_0xdecc73(0x232)]);if(_0x335fc0['lDiAK'](_0x32fac7,_0x544318)){const _0x2af9fc={};_0x2af9fc[_0xdecc73(0x22a)]=_0x32fac7,await _0x544318[_0xdecc73(0x1e3)](TestFrameworkState['TEST'],HookState[_0xdecc73(0x211)],_0x2af9fc);}}else{const _0x15fe29=await jestUtils['createTestFrameworkData'](_0x3bd213,_0x5db81c,_0x335fc0[_0xdecc73(0x24f)]),_0x19a534=BrowserstackCLI[_0xdecc73(0x22c)]()['getTestFramework']();if(_0x335fc0[_0xdecc73(0x1f0)](_0x15fe29,_0x19a534)){const _0xbab8f7={};_0xbab8f7['test']=_0x15fe29,await _0x19a534[_0xdecc73(0x1e3)](TestFrameworkState['TEST'],HookState['PRE'],_0xbab8f7);}}}else{_0x5db81c=_0x3bd213[_0xdecc73(0x1c3)]||_0x3bd213['id']||global[_0xdecc73(0x1d1)];const _0x2ec9d2=await jestUtils['createTestFrameworkData'](_0x3bd213,_0x5db81c,_0x5d3248),_0x204721=BrowserstackCLI[_0xdecc73(0x22c)]()[_0xdecc73(0x22e)]();if(_0x335fc0[_0xdecc73(0x203)](_0x2ec9d2,_0x204721)){const _0x3ef01f={};_0x3ef01f[_0xdecc73(0x22a)]=_0x2ec9d2,_0x3ef01f[_0xdecc73(0x1be)]=_0x3bd213,await _0x204721['trackEvent'](TestFrameworkState[_0xdecc73(0x23d)],HookState['POST'],_0x3ef01f);const _0x3c722c={};_0x3c722c[_0xdecc73(0x1ba)]=_0x5db81c,_0x3c722c[_0xdecc73(0x24c)]=_0x335fc0[_0xdecc73(0x1bd)],await _0x204721[_0xdecc73(0x1e3)](TestFrameworkState[_0xdecc73(0x1ef)],HookState[_0xdecc73(0x211)],_0x3c722c);}}}catch(_0x2fd66e){logger['error'](_0xdecc73(0x22b)+util[_0xdecc73(0x240)](_0x2fd66e));throw _0x2fd66e;}}exportsI['initialize']=(..._0x148a9a)=>{const _0x5f48a=a17_0x467c33,_0x5e888c={'gRnKn':function(_0x2106ea,_0xf413f6,_0x481661){return _0x2106ea(_0xf413f6,_0x481661);},'SEMCq':'jest-circus/build/utils.js','ynASC':'jest-circus','PSwsB':_0x5f48a(0x1cc),'xFHIV':function(_0x57daa2,_0x205a33){return _0x57daa2(_0x205a33);},'OIFrg':function(_0x383915){return _0x383915();},'DpTEl':function(_0x34211c,_0x2fd22e,_0xeadd0a,_0x34be1f){return _0x34211c(_0x2fd22e,_0xeadd0a,_0x34be1f);},'ovzNB':_0x5f48a(0x257),'AQdkL':'hook_success','mbsur':function(_0x3b75d3,_0x3b313c){return _0x3b75d3(_0x3b313c);},'pOTVY':_0x5f48a(0x226),'qRrQU':function(_0x15d454,_0x9c88e4){return _0x15d454(_0x9c88e4);},'UQakR':_0x5f48a(0x220),'CcMqM':'beforeAll','zCrwV':'beforeEach','lChXd':'afterEach','ELmvv':function(_0x244c5f,_0x16b688){return _0x244c5f>_0x16b688;},'DSsku':function(_0xaf0b57){return _0xaf0b57();},'cZmMS':function(_0x49f02c,_0x1862e6,_0x12c596,_0xa8e048){return _0x49f02c(_0x1862e6,_0x12c596,_0xa8e048);},'TDRnC':_0x5f48a(0x1f8),'YMGye':function(_0xd23a81){return _0xd23a81();},'EgUFt':function(_0x802f61){return _0x802f61();},'aHQBG':function(_0x2d6a70,_0x315502,_0x4af27e,_0x3a6deb){return _0x2d6a70(_0x315502,_0x4af27e,_0x3a6deb);},'fqWva':_0x5f48a(0x219),'VsVWZ':function(_0x4a5b02,_0x13eacc){return _0x4a5b02(_0x13eacc);},'eKcDB':'test_done','Rowxi':function(_0x46aba5,_0x262f0f){return _0x46aba5(_0x262f0f);},'PyvtQ':function(_0x33cbf2){return _0x33cbf2();},'mWKHC':_0x5f48a(0x243),'KZlmY':function(_0x4ea785,_0x56ec4a){return _0x4ea785(_0x56ec4a);},'QFwXY':'test_skip','UWOyQ':function(_0x2645de){return _0x2645de();},'AEVIm':function(_0x319827){return _0x319827();},'bhRJj':function(_0x4144e7,_0x2163c3,_0x1717c0,_0x43d482){return _0x4144e7(_0x2163c3,_0x1717c0,_0x43d482);},'UwZep':'TestRunSkipped','UBKyr':function(_0x543a0e,_0x3f6cf2){return _0x543a0e(_0x3f6cf2);},'CXfOh':_0x5f48a(0x25b),'eMDUS':_0x5f48a(0x1b9),'zMUju':function(_0x56bcb4){return _0x56bcb4();},'dmTyB':_0x5f48a(0x1b8),'hhuzL':function(_0x38fc87,_0x218733,_0x47300a){return _0x38fc87(_0x218733,_0x47300a);},'cVTkL':_0x5f48a(0x24d),'KdyLx':function(_0x56ebeb,_0x44dfc6){return _0x56ebeb(_0x44dfc6);}};try{const _0xe46307=new ObservabilityReporter();_0x5e888c[_0x5f48a(0x20e)](shouldProcessEventForTesthub)&&(_0x5e888c[_0x5f48a(0x20f)](patchConsoleLogger),_0xe46307['registerListeners']()),_0x5e888c[_0x5f48a(0x1bc)](shouldProcessEventForTesthub)&&_0x5e888c[_0x5f48a(0x216)](requireModule,_0x5e888c[_0x5f48a(0x1c9)],_0x5e888c[_0x5f48a(0x1fc)])[_0x5f48a(0x262)](_0x5e888c[_0x5f48a(0x23e)](o11yErrorHandler,async(_0x37a0e1,_0x581a42)=>{const _0x3cc51b=_0x5f48a,_0xccd650=_0x5e888c['gRnKn'](requireModule,_0x5e888c[_0x3cc51b(0x1c6)],_0x5e888c['ynASC'])['makeSingleTestResult'];switch(_0x37a0e1[_0x3cc51b(0x23c)]){case _0x5e888c['PSwsB']:if(_0x5e888c[_0x3cc51b(0x200)](shouldProcessEventForTesthub,testHubConstants[_0x3cc51b(0x1f3)]['HookStarted'])){if(_0x37a0e1[_0x3cc51b(0x1bb)]['fn']&&_0x37a0e1[_0x3cc51b(0x1bb)]['fn'][_0x3cc51b(0x21e)]()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x3cc51b(0x22c)]()[_0x3cc51b(0x1d5)]()&&await _0x5e888c[_0x3cc51b(0x231)](isCLIReady))try{await _0x5e888c['DpTEl'](handleHookEventCLI,_0x37a0e1[_0x3cc51b(0x1bb)],_0x5e888c[_0x3cc51b(0x1af)],_0x581a42);break;}catch(_0x168248){_0x5e888c[_0x3cc51b(0x200)](debug,_0x3cc51b(0x258)+util[_0x3cc51b(0x240)](_0x168248));}if(!_0x37a0e1[_0x3cc51b(0x1bb)]['hookAnalyticsId']){const _0x104d21=TestDetails['setTestUUID'](process[_0x3cc51b(0x20a)]+':hookAnalyticsId');_0x37a0e1[_0x3cc51b(0x1bb)][_0x3cc51b(0x234)]=_0x104d21;}else _0x37a0e1[_0x3cc51b(0x1bb)]['markedStatus']&&(_0x37a0e1[_0x3cc51b(0x1bb)][_0x3cc51b(0x234)]=TestDetails[_0x3cc51b(0x1f9)](process[_0x3cc51b(0x20a)]+':hookAnalyticsId'),delete _0x37a0e1[_0x3cc51b(0x1bb)]['markedStatus']);_0x37a0e1['hook'][_0x3cc51b(0x1ed)]=new Date()[_0x3cc51b(0x24a)](),await _0xe46307['sendTestRunEvent'](_0x37a0e1[_0x3cc51b(0x1bb)],undefined,![],_0x5e888c['ovzNB']);}break;case _0x5e888c['AQdkL']:if(_0x5e888c[_0x3cc51b(0x1c8)](shouldProcessEventForTesthub,testHubConstants[_0x3cc51b(0x1f3)][_0x3cc51b(0x1da)])){if(BrowserstackCLI[_0x3cc51b(0x22c)]()[_0x3cc51b(0x1d5)]()&&await _0x5e888c['OIFrg'](isCLIReady))try{await _0x5e888c[_0x3cc51b(0x246)](handleHookEventCLI,_0x37a0e1['hook'],_0x5e888c[_0x3cc51b(0x213)],_0x581a42);break;}catch(_0x4563cf){_0x5e888c[_0x3cc51b(0x1d2)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x3cc51b(0x240)](_0x4563cf));}await _0xe46307[_0x3cc51b(0x1b3)](_0x37a0e1[_0x3cc51b(0x1bb)],undefined,![],_0x5e888c[_0x3cc51b(0x213)]),TestDetails['removeTestUUID'](process['pid']+':hookAnalyticsId');}break;case _0x5e888c[_0x3cc51b(0x1dd)]:[_0x5e888c['CcMqM'],_0x5e888c[_0x3cc51b(0x202)],_0x5e888c[_0x3cc51b(0x1e8)]][_0x3cc51b(0x247)](_0x37a0e1[_0x3cc51b(0x1bb)][_0x3cc51b(0x24c)])&&(_0xe46307['hook_failure']=_0x37a0e1[_0x3cc51b(0x1bb)][_0x3cc51b(0x24c)]),_0x581a42[_0x3cc51b(0x1e4)]&&_0x5e888c[_0x3cc51b(0x256)](_0x581a42[_0x3cc51b(0x1e4)]['length'],0x0)&&(_0x37a0e1[_0x3cc51b(0x1bb)][_0x3cc51b(0x1fe)]=[_0x581a42[_0x3cc51b(0x1e4)][0x0][0x0]]);if(_0x5e888c['mbsur'](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished'])){if(BrowserstackCLI[_0x3cc51b(0x22c)]()[_0x3cc51b(0x1d5)]()&&await _0x5e888c[_0x3cc51b(0x1bc)](isCLIReady))try{await _0x5e888c[_0x3cc51b(0x252)](handleHookEventCLI,_0x37a0e1[_0x3cc51b(0x1bb)],_0x5e888c[_0x3cc51b(0x213)],_0x581a42);break;}catch(_0x4f5221){_0x5e888c['xFHIV'](debug,_0x3cc51b(0x258)+util[_0x3cc51b(0x240)](_0x4f5221));}await _0xe46307['sendTestRunEvent'](_0x37a0e1[_0x3cc51b(0x1bb)],undefined,![],_0x5e888c['pOTVY']),TestDetails[_0x3cc51b(0x260)](process['pid']+_0x3cc51b(0x1ff));}break;case _0x5e888c[_0x3cc51b(0x1c0)]:if(_0x5e888c[_0x3cc51b(0x24b)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x3cc51b(0x22c)]()[_0x3cc51b(0x1d5)]()&&await _0x5e888c['EgUFt'](isCLIReady))try{await _0x5e888c[_0x3cc51b(0x1e2)](handleTestEventCLI,_0x37a0e1[_0x3cc51b(0x22a)],_0x5e888c[_0x3cc51b(0x1c2)],_0xe46307);break;}catch(_0x3defb7){_0x5e888c['VsVWZ'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x3cc51b(0x240)](_0x3defb7));}await _0xe46307[_0x3cc51b(0x212)](_0x37a0e1[_0x3cc51b(0x22a)]);}break;case _0x5e888c[_0x3cc51b(0x236)]:_0x37a0e1[_0x3cc51b(0x22a)]={..._0x5e888c[_0x3cc51b(0x1cb)](_0xccd650,_0x37a0e1[_0x3cc51b(0x22a)]),..._0x37a0e1[_0x3cc51b(0x22a)]};if(_0x5e888c[_0x3cc51b(0x24b)](shouldProcessEventForTesthub)){if(!_0x37a0e1['test'][_0x3cc51b(0x1d0)]){_0x37a0e1[_0x3cc51b(0x22a)][_0x3cc51b(0x1d0)]=!![];if(BrowserstackCLI['getInstance']()[_0x3cc51b(0x1d5)]()&&await _0x5e888c[_0x3cc51b(0x1b4)](isCLIReady))try{await _0x5e888c[_0x3cc51b(0x1e2)](handleTestEventCLI,_0x37a0e1[_0x3cc51b(0x22a)],_0x5e888c['mWKHC'],_0xe46307);break;}catch(_0x20ff4f){_0x5e888c[_0x3cc51b(0x20b)](debug,_0x3cc51b(0x258)+util['format'](_0x20ff4f));}await _0xe46307[_0x3cc51b(0x1b3)](_0x37a0e1[_0x3cc51b(0x22a)]);}}break;case _0x5e888c[_0x3cc51b(0x24e)]:_0x37a0e1[_0x3cc51b(0x22a)]={..._0x5e888c[_0x3cc51b(0x20b)](_0xccd650,_0x37a0e1[_0x3cc51b(0x22a)]),..._0x37a0e1[_0x3cc51b(0x22a)]};if(_0x5e888c[_0x3cc51b(0x20e)](shouldProcessEventForTesthub)){if(!_0x37a0e1[_0x3cc51b(0x22a)]['markedStatus']){_0x37a0e1['test']['markedStatus']=!![];if(BrowserstackCLI[_0x3cc51b(0x22c)]()[_0x3cc51b(0x1d5)]()&&await _0x5e888c[_0x3cc51b(0x1ca)](isCLIReady))try{await _0x5e888c[_0x3cc51b(0x1e9)](handleTestEventCLI,_0x37a0e1['test'],_0x5e888c['UwZep'],_0xe46307);break;}catch(_0x4c3a34){_0x5e888c[_0x3cc51b(0x1f2)](debug,_0x3cc51b(0x258)+util[_0x3cc51b(0x240)](_0x4c3a34));}await _0xe46307[_0x3cc51b(0x1b3)](_0x37a0e1[_0x3cc51b(0x22a)],undefined,![],_0x5e888c[_0x3cc51b(0x241)]);}}break;case _0x5e888c[_0x3cc51b(0x217)]:_0xe46307[_0x3cc51b(0x220)]=null;break;case _0x5e888c[_0x3cc51b(0x225)]:await RequestQueueHandler[_0x3cc51b(0x22c)]()[_0x3cc51b(0x209)](),process[_0x3cc51b(0x214)]();break;default:}},_0x5e888c['cVTkL']));}catch(_0x21285e){_0x5e888c[_0x5f48a(0x1f6)](debug,_0x5f48a(0x230)+_0x21285e);}return _0x5e888c[_0x5f48a(0x1d2)](initInitialize,..._0x148a9a);};try{Object[a17_0x467c33(0x21d)](exportsI)[a17_0x467c33(0x1fa)](_0x4879d9=>{const _0x58441a=a17_0x467c33,_0x180c9a={'TkkUI':function(_0x50eca2,_0x320d0b){return _0x50eca2(_0x320d0b);}};try{exports&&(exports[_0x4879d9]=exportsI[_0x4879d9]);}catch(_0x5d0c6e){_0x180c9a[_0x58441a(0x251)](debug,_0x58441a(0x253)+_0x5d0c6e);}});}catch(a17_0x2ed78e){debug(a17_0x467c33(0x1cf)+a17_0x2ed78e);}
1
+ const a17_0x252473=a17_0x11ad;(function(_0x1da01b,_0x852793){const _0x55fd3f=a17_0x11ad,_0x331e5a=_0x1da01b();while(!![]){try{const _0x340a27=parseInt(_0x55fd3f(0x1e1))/0x1*(-parseInt(_0x55fd3f(0x23f))/0x2)+parseInt(_0x55fd3f(0x1f8))/0x3*(parseInt(_0x55fd3f(0x27f))/0x4)+parseInt(_0x55fd3f(0x235))/0x5+-parseInt(_0x55fd3f(0x21c))/0x6+parseInt(_0x55fd3f(0x261))/0x7+-parseInt(_0x55fd3f(0x23d))/0x8+-parseInt(_0x55fd3f(0x260))/0x9*(-parseInt(_0x55fd3f(0x1d8))/0xa);if(_0x340a27===_0x852793)break;else _0x331e5a['push'](_0x331e5a['shift']());}catch(_0x410b8c){_0x331e5a['push'](_0x331e5a['shift']());}}}(a17_0x51f8,0x88981));const {requireModule}=require(a17_0x252473(0x1da)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x252473(0x26f)),TestDetails=require(a17_0x252473(0x217)),{patchConsoleLogger,debug}=require(a17_0x252473(0x211)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x252473(0x250)),testHubConstants=require(a17_0x252473(0x226)),BrowserstackCLI=require(a17_0x252473(0x20f)),TestFrameworkState=require(a17_0x252473(0x208)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x252473(0x276)),{v4:uuidv4}=require('uuid'),util=require(a17_0x252473(0x1e9)),logger=require('../../../helpers/logger')[a17_0x252473(0x27a)],{FRAMEWORKS}=require(a17_0x252473(0x273)),exportsI=requireModule(a17_0x252473(0x22b),a17_0x252473(0x246)),initInitialize=exportsI[a17_0x252473(0x254)],jestUtils=new JestUtils();async function isCLIReady(){const _0x388f7b=a17_0x252473,_0x1c11a9={'vjkfV':_0x388f7b(0x27c),'pioPW':function(_0x532f37,_0xe88ba1){return _0x532f37(_0xe88ba1);},'AUTyA':_0x388f7b(0x1d9)};try{const _0x2ed212=BrowserstackCLI[_0x388f7b(0x20a)]();if(_0x2ed212[_0x388f7b(0x280)]()&&_0x2ed212['isRunning']())return logger[_0x388f7b(0x241)](_0x1c11a9[_0x388f7b(0x210)]),!![];const _0xb7b3e7=process[_0x388f7b(0x1f6)][_0x388f7b(0x1fa)];if(_0xb7b3e7&&_0x2ed212[_0x388f7b(0x280)]()){if(!_0x2ed212[_0x388f7b(0x26a)]())try{const _0x277b7c=_0x1c11a9['pioPW'](require,_0x1c11a9[_0x388f7b(0x1dc)]);_0x277b7c['setFrameworkDetail'](FRAMEWORKS[_0x388f7b(0x1f4)],FRAMEWORKS[_0x388f7b(0x25a)]),await _0x2ed212[_0x388f7b(0x205)]();}catch(_0x12e555){return _0x1c11a9[_0x388f7b(0x1db)](debug,_0x388f7b(0x213)+util['format'](_0x12e555)),![];}return _0x2ed212['isRunning']();}return![];}catch(_0x455fab){return _0x1c11a9['pioPW'](debug,_0x388f7b(0x26b)+util['format'](_0x455fab)),![];}}function a17_0x11ad(_0x472582,_0x14269f){const _0x51f873=a17_0x51f8();return a17_0x11ad=function(_0x11ad07,_0x2c8078){_0x11ad07=_0x11ad07-0x1d4;let _0xabf41c=_0x51f873[_0x11ad07];return _0xabf41c;},a17_0x11ad(_0x472582,_0x14269f);}function getTestIdentifierForHook(_0x5242c0){const _0x3e97d7=a17_0x252473,_0x42e652={};_0x42e652[_0x3e97d7(0x1fe)]=function(_0x104b1d,_0x30331c){return _0x104b1d===_0x30331c;},_0x42e652['XuKxe']=_0x3e97d7(0x239),_0x42e652['UzTnH']=_0x3e97d7(0x20d);const _0x4c12ca=_0x42e652;if(_0x4c12ca['iCrYC'](_0x5242c0[_0x3e97d7(0x27d)],_0x4c12ca[_0x3e97d7(0x266)])||_0x4c12ca['iCrYC'](_0x5242c0[_0x3e97d7(0x27d)],_0x4c12ca[_0x3e97d7(0x23c)])){let _0x91ab5c=global[_0x3e97d7(0x1f3)];if(!_0x91ab5c&&_0x4c12ca[_0x3e97d7(0x1fe)](_0x5242c0[_0x3e97d7(0x27d)],_0x4c12ca[_0x3e97d7(0x23c)])&&_0x5242c0[_0x3e97d7(0x271)]){const _0xe117ea={};_0xe117ea[_0x3e97d7(0x1d7)]=_0x5242c0[_0x3e97d7(0x271)][_0x3e97d7(0x1d7)],_0xe117ea[_0x3e97d7(0x271)]=_0x5242c0[_0x3e97d7(0x271)][_0x3e97d7(0x271)],_0xe117ea[_0x3e97d7(0x20e)]=_0x5242c0[_0x3e97d7(0x20e)],_0xe117ea['file']=_0x5242c0['file'];const _0x4618e1=_0xe117ea;_0x91ab5c=jestUtils['createIdentifierFromJestTest'](_0x4618e1);}return _0x91ab5c;}return global[_0x3e97d7(0x1f3)];}function mapHookTypeToState(_0x5aa647){const _0x58f440=a17_0x252473,_0x257925={};_0x257925[_0x58f440(0x20d)]=TestFrameworkState[_0x58f440(0x26c)],_0x257925[_0x58f440(0x1eb)]=TestFrameworkState[_0x58f440(0x26d)],_0x257925[_0x58f440(0x239)]=TestFrameworkState[_0x58f440(0x234)],_0x257925['afterEach']=TestFrameworkState['AFTER_EACH'];const _0x59d743=_0x257925;return _0x59d743[_0x5aa647]||TestFrameworkState[_0x58f440(0x234)];}function a17_0x51f8(){const _0x2af69f=['XJTVS','cLEJY','XuKxe','wamKu','keys','KMjUp','isRunning','Error\x20checking\x20CLI\x20readiness:\x20','BEFORE_ALL','AFTER_ALL','EVENT','../../../helpers/test-observability/requestQueueHandler','NJIXh','parent','SsnmG','../../utils/constants','shutdown','fdAyW','../../v2/utils/jest-utils','TestRunSkipped','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','fjtia','winstonLogger','pid','CLI\x20is\x20enabled\x20and\x20running.','type','TADkZ','1502536BpzbMT','isCliEnabled','HookStarted','createTestFrameworkData','error','name','1194290TXvVnY','../../v2/cliUtils','../../../helpers/helper','pioPW','AUTyA','teardown','TestRunStarted','dnhlB','state','82uYSxhy','qZOmk','Handling\x20test\x20event\x20for\x20CLI:\x20','jJOYq','Handling\x20hook\x20event\x20for\x20CLI:\x20','hook_start','sgLBn','UIhqj','util','test_start','afterAll','unhandledErrors','title','DtSkW','GJnVP','createHookData','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','trackEvent','__jestCurrentTestIdentifier','JEST','HwOpg','env','started_at','6iqLcco','HabxH','BROWSERSTACK_CLI_BIN_SESSION_ID','OUvQb','includes','hook_failure','iCrYC','match','ftsFT','Gerox','CbbFv','rntzy','removeAllListeners','bootstrap','getTestFramework','format','../../v2/state/testFrameworkState','jest-circus/build/utils.js','getInstance','SdNaD','EnKuo','beforeAll','asyncError','../../v2/browserstackCLI','vjkfV','../../../helpers/test-observability/utils','addEventHandler','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','afterEach','sendTestRunEvent','failed','../test-observability/test-details',':hookAnalyticsId','DRiwq','test_done','PMUkR','3407904enrray','RBrsu','toString','markedStatus','EIzWZ','test_skip','uTVMa','Rrwij','OogJA','removeTestUUID','../../../helpers/testhub/constants','TestRunFinished','test','IjXpE','zMjpB','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','RNiZM','toISOString','YlIGt','setActiveHook','testStarted','removeActiveHook','retryOf','currentHook','BEFORE_EACH','5009525Yqalwd','forEach','Error\x20routing\x20to\x20JestTestFramework:\x20','testAnalyticsId','beforeEach','run_describe_finish','length','UzTnH','3821408SpgpEj','oEjlI','9956aSDWVJ','nZBrt','debug','jNZnt','LOG_REPORT','hookData','cmsDj','jest-circus','setTestUUID','hsvME','tACPp','CwkTG','TEST','hookAnalyticsId','KatEE','mOAEO','HookRunFinished','../../../helpers/testhub/utils','hookUUID','Uptpt','PRE','initialize','ubXlh','POST','testUUID','EventHandler','qYdGm','PLAYWRIGHT','_currentRetry','CVUTb','__workerDetails','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','TSVsr','9hKCEqP','985201XOZiqc','hook','HookFinished'];a17_0x51f8=function(){return _0x2af69f;};return a17_0x51f8();}async function handleHookEventCLI(_0x5db308,_0x22feb6,_0x26b3aa){const _0x4705f2=a17_0x252473,_0x2490af={'uTVMa':function(_0x271861){return _0x271861();},'zoxnl':function(_0x204ad8,_0x42b7b8){return _0x204ad8===_0x42b7b8;},'UIhqj':'HookRunStarted','qYdGm':function(_0x12c34d,_0x27d8c8){return _0x12c34d(_0x27d8c8);},'sgLBn':function(_0xbf481e,_0x4b9eb4){return _0xbf481e===_0x4b9eb4;},'Rrwij':function(_0x165191,_0x28a05a){return _0x165191===_0x28a05a;},'DtSkW':function(_0x262766,_0x44974f){return _0x262766===_0x44974f;},'IPKxy':_0x4705f2(0x24f),'KatEE':_0x4705f2(0x262)};logger[_0x4705f2(0x241)](_0x4705f2(0x1e5)+_0x22feb6+'\x20for\x20hook\x20type:\x20'+_0x5db308[_0x4705f2(0x27d)]);try{if(_0x5db308['fn']&&_0x5db308['fn'][_0x4705f2(0x21e)]()[_0x4705f2(0x1ff)](/browserstack internal helper hook/))return;let _0x17d5d7=_0x5db308[_0x4705f2(0x24c)];if(!_0x17d5d7)_0x17d5d7=_0x2490af[_0x4705f2(0x222)](uuidv4),_0x5db308[_0x4705f2(0x24c)]=_0x17d5d7;else _0x5db308['markedStatus']&&(_0x17d5d7=_0x2490af[_0x4705f2(0x222)](uuidv4),_0x5db308['hookAnalyticsId']=_0x17d5d7,delete _0x5db308[_0x4705f2(0x21f)]);_0x2490af['zoxnl'](_0x22feb6,_0x2490af[_0x4705f2(0x1e8)])&&(_0x5db308[_0x4705f2(0x1f7)]=new Date()[_0x4705f2(0x22d)]());const _0x46ff89=_0x2490af['qYdGm'](getTestIdentifierForHook,_0x5db308);!global[_0x4705f2(0x25d)]&&(global[_0x4705f2(0x25d)]={});if(_0x2490af[_0x4705f2(0x1e7)](_0x22feb6,_0x2490af[_0x4705f2(0x1e8)])){global[_0x4705f2(0x25d)][_0x4705f2(0x233)]={'hookUUID':_0x17d5d7,'testIdentifier':_0x46ff89,'hookType':_0x5db308[_0x4705f2(0x27d)],'startedAt':new Date()[_0x4705f2(0x22d)]()};const _0x5b4972=BrowserstackCLI['getInstance']()[_0x4705f2(0x206)]();_0x5b4972&&_0x5b4972['setActiveHook']&&_0x5b4972[_0x4705f2(0x22f)](_0x46ff89,_0x17d5d7,_0x5db308[_0x4705f2(0x27d)]);}const _0x52b783=await jestUtils[_0x4705f2(0x1f0)](_0x5db308,_0x17d5d7,_0x22feb6,_0x46ff89);if(!_0x52b783)return;const _0x104781=_0x2490af[_0x4705f2(0x259)](mapHookTypeToState,_0x5db308[_0x4705f2(0x27d)]),_0x453d87=_0x2490af[_0x4705f2(0x223)](_0x22feb6,_0x2490af[_0x4705f2(0x1e8)])?HookState[_0x4705f2(0x253)]:HookState['POST'],_0x38103c=BrowserstackCLI['getInstance']()[_0x4705f2(0x206)]();if(_0x38103c){const _0x4e612b={};_0x4e612b[_0x4705f2(0x244)]=_0x52b783,await _0x38103c['trackEvent'](_0x104781,_0x453d87,_0x4e612b);if(_0x2490af[_0x4705f2(0x1ee)](_0x22feb6,_0x2490af['IPKxy'])){const _0x37d322={};_0x37d322[_0x4705f2(0x257)]=_0x46ff89,_0x37d322[_0x4705f2(0x27d)]=_0x2490af[_0x4705f2(0x24d)],await _0x38103c[_0x4705f2(0x1f2)](TestFrameworkState[_0x4705f2(0x243)],HookState[_0x4705f2(0x256)],_0x37d322),global[_0x4705f2(0x25d)]&&global[_0x4705f2(0x25d)][_0x4705f2(0x233)]&&_0x2490af[_0x4705f2(0x223)](global[_0x4705f2(0x25d)]['currentHook'][_0x4705f2(0x251)],_0x17d5d7)&&delete global[_0x4705f2(0x25d)][_0x4705f2(0x233)],_0x38103c[_0x4705f2(0x231)]&&_0x38103c[_0x4705f2(0x231)](_0x46ff89,_0x17d5d7);}}}catch(_0x2ea578){logger[_0x4705f2(0x1d6)](_0x4705f2(0x278)+util[_0x4705f2(0x207)](_0x2ea578));throw _0x2ea578;}}async function handleTestEventCLI(_0x18e320,_0x38ca3d,_0x216710){const _0x3a92e8=a17_0x252473,_0xca3a5d={};_0xca3a5d[_0x3a92e8(0x1e4)]=function(_0x36d3c5,_0x143880){return _0x36d3c5===_0x143880;},_0xca3a5d['mOAEO']=_0x3a92e8(0x1de),_0xca3a5d[_0x3a92e8(0x1ef)]=function(_0x14cbbe,_0x3ad90f){return _0x14cbbe>_0x3ad90f;},_0xca3a5d[_0x3a92e8(0x252)]=function(_0x578d00,_0x34a7fc){return _0x578d00===_0x34a7fc;},_0xca3a5d[_0x3a92e8(0x25f)]=function(_0x18e4f3,_0x4c64e7){return _0x18e4f3&&_0x4c64e7;},_0xca3a5d[_0x3a92e8(0x22a)]=_0x3a92e8(0x216),_0xca3a5d[_0x3a92e8(0x1fb)]=_0x3a92e8(0x227),_0xca3a5d[_0x3a92e8(0x255)]=function(_0x375fa1,_0x50ece5){return _0x375fa1&&_0x50ece5;},_0xca3a5d['PMUkR']=function(_0xeab98b,_0x34fd77){return _0xeab98b&&_0x34fd77;},_0xca3a5d[_0x3a92e8(0x1e2)]='test';const _0x599173=_0xca3a5d;logger[_0x3a92e8(0x241)](_0x3a92e8(0x1e3)+_0x38ca3d);try{let _0x237d05;if(_0x599173[_0x3a92e8(0x1e4)](_0x38ca3d,_0x599173[_0x3a92e8(0x24e)])){_0x237d05=jestUtils['createIdentifierFromJestTest'](_0x18e320),global[_0x3a92e8(0x1f3)]=_0x237d05,_0x18e320['testAnalyticsId']=_0x237d05,_0x18e320['id']=_0x237d05,_0x18e320[_0x3a92e8(0x1f7)]=new Date()[_0x3a92e8(0x22d)]();const _0x1bbd50=_0x216710['current_test'];_0x216710['current_test']=_0x18e320,_0x18e320[_0x3a92e8(0x232)]=null;if(_0x599173[_0x3a92e8(0x1ef)](_0x18e320[_0x3a92e8(0x25b)],0x0)&&_0x1bbd50&&_0x599173[_0x3a92e8(0x252)](_0x1bbd50[_0x3a92e8(0x1ed)],_0x18e320[_0x3a92e8(0x1ed)])){_0x18e320[_0x3a92e8(0x232)]=_0x1bbd50[_0x3a92e8(0x238)];const _0x4384a4=await jestUtils['createTestFrameworkData'](_0x18e320,_0x237d05,_0x599173[_0x3a92e8(0x24e)]),_0x250bbd=BrowserstackCLI[_0x3a92e8(0x20a)]()[_0x3a92e8(0x206)]();if(_0x599173[_0x3a92e8(0x25f)](_0x4384a4,_0x250bbd)){const _0x2d84b4={};_0x2d84b4[_0x3a92e8(0x228)]=_0x4384a4,await _0x250bbd[_0x3a92e8(0x1f2)](TestFrameworkState['TEST'],HookState[_0x3a92e8(0x253)],_0x2d84b4);}_0x1bbd50[_0x3a92e8(0x1e0)]=_0x599173['zMjpB'];const _0xa4fe67=await jestUtils[_0x3a92e8(0x1d5)](_0x1bbd50,_0x1bbd50[_0x3a92e8(0x238)],_0x599173[_0x3a92e8(0x1fb)]);if(_0x599173[_0x3a92e8(0x25f)](_0xa4fe67,_0x250bbd)){const _0x5e9abc={};_0x5e9abc['test']=_0xa4fe67,await _0x250bbd[_0x3a92e8(0x1f2)](TestFrameworkState[_0x3a92e8(0x24b)],HookState['POST'],_0x5e9abc);}}else{const _0x66743e=await jestUtils[_0x3a92e8(0x1d5)](_0x18e320,_0x237d05,_0x599173[_0x3a92e8(0x24e)]),_0x2f0bf9=BrowserstackCLI[_0x3a92e8(0x20a)]()[_0x3a92e8(0x206)]();if(_0x599173[_0x3a92e8(0x255)](_0x66743e,_0x2f0bf9)){const _0x102d18={};_0x102d18[_0x3a92e8(0x228)]=_0x66743e,await _0x2f0bf9['trackEvent'](TestFrameworkState[_0x3a92e8(0x24b)],HookState[_0x3a92e8(0x253)],_0x102d18);}}}else{_0x237d05=_0x18e320[_0x3a92e8(0x238)]||_0x18e320['id']||global[_0x3a92e8(0x1f3)];const _0x50bd56=await jestUtils[_0x3a92e8(0x1d5)](_0x18e320,_0x237d05,_0x38ca3d),_0x1eb972=BrowserstackCLI[_0x3a92e8(0x20a)]()[_0x3a92e8(0x206)]();if(_0x599173[_0x3a92e8(0x21b)](_0x50bd56,_0x1eb972)){const _0x90e864={};_0x90e864['test']=_0x50bd56,_0x90e864['originalTest']=_0x18e320,await _0x1eb972[_0x3a92e8(0x1f2)](TestFrameworkState['TEST'],HookState[_0x3a92e8(0x256)],_0x90e864);const _0x575bc2={};_0x575bc2[_0x3a92e8(0x257)]=_0x237d05,_0x575bc2[_0x3a92e8(0x27d)]=_0x599173['qZOmk'],await _0x1eb972[_0x3a92e8(0x1f2)](TestFrameworkState[_0x3a92e8(0x243)],HookState[_0x3a92e8(0x256)],_0x575bc2);}}}catch(_0x458bfb){logger[_0x3a92e8(0x1d6)](_0x3a92e8(0x25e)+util[_0x3a92e8(0x207)](_0x458bfb));throw _0x458bfb;}}exportsI[a17_0x252473(0x254)]=(..._0x18b8f2)=>{const _0x3c6919=a17_0x252473,_0x382744={'nZBrt':function(_0x1a0551,_0x179937,_0x1ddede){return _0x1a0551(_0x179937,_0x1ddede);},'bNHXS':_0x3c6919(0x209),'Gerox':'jest-circus','RNiZM':_0x3c6919(0x1e6),'IjXpE':function(_0xe27327,_0x4dae49){return _0xe27327(_0x4dae49);},'XJTVS':function(_0x2bb305){return _0x2bb305();},'EnKuo':function(_0x31fec8,_0x28fc10,_0x576f48,_0x28d5c7){return _0x31fec8(_0x28fc10,_0x576f48,_0x28d5c7);},'fdAyW':'HookRunStarted','ftsFT':'hook_success','rntzy':function(_0x38995a,_0x58d549,_0x18bc14,_0x27c4db){return _0x38995a(_0x58d549,_0x18bc14,_0x27c4db);},'CbbFv':_0x3c6919(0x24f),'JbfDW':_0x3c6919(0x1fd),'tACPp':_0x3c6919(0x20d),'NJIXh':'beforeEach','xUqRe':_0x3c6919(0x214),'nEisL':function(_0x1fa66f,_0x3ebc97){return _0x1fa66f>_0x3ebc97;},'OogJA':function(_0x2993b3){return _0x2993b3();},'GXGSk':function(_0x50dd18,_0x4919d4,_0x304a95,_0x3ae22d){return _0x50dd18(_0x4919d4,_0x304a95,_0x3ae22d);},'HabxH':_0x3c6919(0x1ea),'CbrLJ':function(_0x2a6235,_0x462b55,_0x99492,_0x1aeccf){return _0x2a6235(_0x462b55,_0x99492,_0x1aeccf);},'cmsDj':_0x3c6919(0x1de),'SdNaD':function(_0x16d889,_0x2f019f){return _0x16d889(_0x2f019f);},'DRiwq':_0x3c6919(0x21a),'SsnmG':function(_0x3fd54e,_0x2a18bd){return _0x3fd54e(_0x2a18bd);},'CwkTG':function(_0x5926c8){return _0x5926c8();},'TADkZ':function(_0x583e41){return _0x583e41();},'dnhlB':_0x3c6919(0x227),'KMjUp':_0x3c6919(0x221),'BENrv':function(_0x4675a4,_0x1dd074){return _0x4675a4(_0x1dd074);},'jNZnt':function(_0x3514e4){return _0x3514e4();},'oEjlI':function(_0x1a142e){return _0x1a142e();},'wBjYy':function(_0x94a981,_0x5f1d62,_0x940c23,_0x3e193e){return _0x94a981(_0x5f1d62,_0x940c23,_0x3e193e);},'CVUTb':_0x3c6919(0x277),'RBrsu':_0x3c6919(0x23a),'lowiO':_0x3c6919(0x1dd),'wamKu':function(_0xfdb044,_0x19d537,_0x38f048){return _0xfdb044(_0x19d537,_0x38f048);},'EIzWZ':'jest-circus/build/state.js','fjtia':function(_0x4c1829,_0x51c37d,_0x3a591e){return _0x4c1829(_0x51c37d,_0x3a591e);},'cLEJY':_0x3c6919(0x258),'YlIGt':function(_0x1101d0,_0x1e8d8d){return _0x1101d0(_0x1e8d8d);},'hsvME':function(_0x46e740,..._0x5f1b07){return _0x46e740(..._0x5f1b07);}};try{const _0x35c72f=new ObservabilityReporter();_0x382744[_0x3c6919(0x264)](shouldProcessEventForTesthub)&&(_0x382744[_0x3c6919(0x23e)](patchConsoleLogger),_0x35c72f['registerListeners']()),_0x382744[_0x3c6919(0x23e)](shouldProcessEventForTesthub)&&_0x382744[_0x3c6919(0x267)](requireModule,_0x382744[_0x3c6919(0x220)],_0x382744[_0x3c6919(0x201)])[_0x3c6919(0x212)](_0x382744[_0x3c6919(0x279)](o11yErrorHandler,async(_0x696e67,_0x236d86)=>{const _0x25f49a=_0x3c6919,_0x1417c4=_0x382744[_0x25f49a(0x240)](requireModule,_0x382744['bNHXS'],_0x382744['Gerox'])['makeSingleTestResult'];switch(_0x696e67['name']){case _0x382744[_0x25f49a(0x22c)]:if(_0x382744[_0x25f49a(0x229)](shouldProcessEventForTesthub,testHubConstants[_0x25f49a(0x26e)][_0x25f49a(0x1d4)])){if(_0x696e67[_0x25f49a(0x262)]['fn']&&_0x696e67[_0x25f49a(0x262)]['fn'][_0x25f49a(0x21e)]()[_0x25f49a(0x1ff)](/browserstack internal helper hook/))break;if(BrowserstackCLI['getInstance']()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x264)](isCLIReady))try{await _0x382744[_0x25f49a(0x20c)](handleHookEventCLI,_0x696e67[_0x25f49a(0x262)],_0x382744[_0x25f49a(0x275)],_0x236d86);break;}catch(_0x2cb121){_0x382744[_0x25f49a(0x229)](debug,_0x25f49a(0x237)+util['format'](_0x2cb121));}if(!_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x24c)]){const _0x491142=TestDetails[_0x25f49a(0x247)](process[_0x25f49a(0x27b)]+_0x25f49a(0x218));_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x24c)]=_0x491142;}else _0x696e67[_0x25f49a(0x262)][_0x25f49a(0x21f)]&&(_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x24c)]=TestDetails[_0x25f49a(0x247)](process[_0x25f49a(0x27b)]+':hookAnalyticsId'),delete _0x696e67[_0x25f49a(0x262)]['markedStatus']);_0x696e67[_0x25f49a(0x262)][_0x25f49a(0x1f7)]=new Date()[_0x25f49a(0x22d)](),await _0x35c72f[_0x25f49a(0x215)](_0x696e67[_0x25f49a(0x262)],undefined,![],_0x382744[_0x25f49a(0x275)]);}break;case _0x382744[_0x25f49a(0x200)]:if(_0x382744[_0x25f49a(0x229)](shouldProcessEventForTesthub,testHubConstants[_0x25f49a(0x26e)][_0x25f49a(0x263)])){if(BrowserstackCLI[_0x25f49a(0x20a)]()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x264)](isCLIReady))try{await _0x382744[_0x25f49a(0x203)](handleHookEventCLI,_0x696e67[_0x25f49a(0x262)],_0x382744[_0x25f49a(0x202)],_0x236d86);break;}catch(_0x5694e1){_0x382744[_0x25f49a(0x229)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x5694e1));}await _0x35c72f[_0x25f49a(0x215)](_0x696e67[_0x25f49a(0x262)],undefined,![],_0x382744[_0x25f49a(0x202)]),TestDetails['removeTestUUID'](process['pid']+_0x25f49a(0x218));}break;case _0x382744['JbfDW']:[_0x382744[_0x25f49a(0x249)],_0x382744[_0x25f49a(0x270)],_0x382744['xUqRe']][_0x25f49a(0x1fc)](_0x696e67[_0x25f49a(0x262)]['type'])&&(_0x35c72f['hook_failure']=_0x696e67['hook'][_0x25f49a(0x27d)]),_0x236d86[_0x25f49a(0x1ec)]&&_0x382744['nEisL'](_0x236d86[_0x25f49a(0x1ec)][_0x25f49a(0x23b)],0x0)&&(_0x696e67[_0x25f49a(0x262)]['errorsDetailed']=[_0x236d86[_0x25f49a(0x1ec)][0x0][0x0]]);if(_0x382744[_0x25f49a(0x229)](shouldProcessEventForTesthub,testHubConstants[_0x25f49a(0x26e)][_0x25f49a(0x263)])){if(BrowserstackCLI[_0x25f49a(0x20a)]()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x224)](isCLIReady))try{await _0x382744['GXGSk'](handleHookEventCLI,_0x696e67[_0x25f49a(0x262)],_0x382744['CbbFv'],_0x236d86);break;}catch(_0x27b7c6){_0x382744[_0x25f49a(0x229)](debug,_0x25f49a(0x237)+util['format'](_0x27b7c6));}await _0x35c72f[_0x25f49a(0x215)](_0x696e67[_0x25f49a(0x262)],undefined,![],_0x382744[_0x25f49a(0x202)]),TestDetails[_0x25f49a(0x225)](process[_0x25f49a(0x27b)]+_0x25f49a(0x218));}break;case _0x382744[_0x25f49a(0x1f9)]:if(_0x382744['OogJA'](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x25f49a(0x20a)]()['isCliEnabled']()&&await _0x382744[_0x25f49a(0x224)](isCLIReady))try{await _0x382744['CbrLJ'](handleTestEventCLI,_0x696e67[_0x25f49a(0x228)],_0x382744[_0x25f49a(0x245)],_0x35c72f);break;}catch(_0xf52097){_0x382744[_0x25f49a(0x20b)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x25f49a(0x207)](_0xf52097));}await _0x35c72f[_0x25f49a(0x230)](_0x696e67[_0x25f49a(0x228)]);}break;case _0x382744[_0x25f49a(0x219)]:_0x696e67[_0x25f49a(0x228)]={..._0x382744[_0x25f49a(0x272)](_0x1417c4,_0x696e67['test']),..._0x696e67[_0x25f49a(0x228)]};if(_0x382744[_0x25f49a(0x24a)](shouldProcessEventForTesthub)){if(!_0x696e67['test'][_0x25f49a(0x21f)]){_0x696e67[_0x25f49a(0x228)][_0x25f49a(0x21f)]=!![];if(BrowserstackCLI[_0x25f49a(0x20a)]()['isCliEnabled']()&&await _0x382744[_0x25f49a(0x27e)](isCLIReady))try{await _0x382744['rntzy'](handleTestEventCLI,_0x696e67['test'],_0x382744[_0x25f49a(0x1df)],_0x35c72f);break;}catch(_0x2a6867){_0x382744[_0x25f49a(0x272)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x2a6867));}await _0x35c72f[_0x25f49a(0x215)](_0x696e67['test']);}}break;case _0x382744[_0x25f49a(0x269)]:_0x696e67['test']={..._0x382744['BENrv'](_0x1417c4,_0x696e67[_0x25f49a(0x228)]),..._0x696e67['test']};if(_0x382744[_0x25f49a(0x242)](shouldProcessEventForTesthub)){if(!_0x696e67[_0x25f49a(0x228)][_0x25f49a(0x21f)]){_0x696e67['test'][_0x25f49a(0x21f)]=!![];if(BrowserstackCLI['getInstance']()[_0x25f49a(0x280)]()&&await _0x382744[_0x25f49a(0x23e)](isCLIReady))try{await _0x382744['wBjYy'](handleTestEventCLI,_0x696e67[_0x25f49a(0x228)],_0x382744[_0x25f49a(0x25c)],_0x35c72f);break;}catch(_0x36f261){_0x382744['SsnmG'](debug,_0x25f49a(0x237)+util[_0x25f49a(0x207)](_0x36f261));}await _0x35c72f['sendTestRunEvent'](_0x696e67[_0x25f49a(0x228)],undefined,![],_0x382744['CVUTb']);}}break;case _0x382744[_0x25f49a(0x21d)]:_0x35c72f[_0x25f49a(0x1fd)]=null;break;case _0x382744['lowiO']:await RequestQueueHandler[_0x25f49a(0x20a)]()[_0x25f49a(0x274)](),process[_0x25f49a(0x204)]();break;default:}},_0x382744[_0x3c6919(0x265)]));}catch(_0xd895bb){_0x382744[_0x3c6919(0x22e)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0xd895bb);}return _0x382744[_0x3c6919(0x248)](initInitialize,..._0x18b8f2);};try{Object[a17_0x252473(0x268)](exportsI)[a17_0x252473(0x236)](_0x19bd43=>{const _0x128a49=a17_0x252473,_0x4957be={'HwOpg':function(_0x410f47,_0x2a473e){return _0x410f47(_0x2a473e);}};try{exports&&(exports[_0x19bd43]=exportsI[_0x19bd43]);}catch(_0x610cc8){_0x4957be[_0x128a49(0x1f5)](debug,_0x128a49(0x1f1)+_0x610cc8);}});}catch(a17_0x68f2f5){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x68f2f5);}
@@ -1 +1 @@
1
- const a18_0x5cb7f1=a18_0x52c1;(function(_0x417f3f,_0x23930e){const _0x2a69a0=a18_0x52c1,_0x16d6a5=_0x417f3f();while(!![]){try{const _0x4390d1=parseInt(_0x2a69a0(0x1c6))/0x1+-parseInt(_0x2a69a0(0x1c2))/0x2*(-parseInt(_0x2a69a0(0x1c7))/0x3)+parseInt(_0x2a69a0(0x1c1))/0x4*(parseInt(_0x2a69a0(0x1c3))/0x5)+-parseInt(_0x2a69a0(0x1c9))/0x6+-parseInt(_0x2a69a0(0x1bc))/0x7+parseInt(_0x2a69a0(0x1bb))/0x8*(parseInt(_0x2a69a0(0x1c0))/0x9)+parseInt(_0x2a69a0(0x1be))/0xa;if(_0x4390d1===_0x23930e)break;else _0x16d6a5['push'](_0x16d6a5['shift']());}catch(_0x48ee8e){_0x16d6a5['push'](_0x16d6a5['shift']());}}}(a18_0x3cc9,0xdf79d));const Sequencer=require('@jest/test-sequencer')[a18_0x5cb7f1(0x1ca)];function a18_0x52c1(_0x3f48ae,_0x5b3799){const _0x3cc961=a18_0x3cc9();return a18_0x52c1=function(_0x52c178,_0x49c60f){_0x52c178=_0x52c178-0x1ba;let _0x27105f=_0x3cc961[_0x52c178];return _0x27105f;},a18_0x52c1(_0x3f48ae,_0x5b3799);}function a18_0x3cc9(){const _0x2f7bd2=['10908086kWJfKS','exports','11654080uZpoXv','env','2556DGmDlc','396BIADkd','25846Ufwbrp','39580cjAPhu','filter','includes','431334mIyhVE','393aoNkan','sort','10041144qyJxvs','default','path','map','2080UcAVBY'];a18_0x3cc9=function(){return _0x2f7bd2;};return a18_0x3cc9();}class CustomSequencer extends Sequencer{[a18_0x5cb7f1(0x1c8)](_0x4595c1){const _0x1201bd=a18_0x5cb7f1,_0x42a692=process[_0x1201bd(0x1bf)]['JEST_TEST_ORDER'];if(!_0x42a692)return _0x4595c1;const _0xa9b81f=_0x42a692['split'](','),_0x535624=new Map(_0x4595c1[_0x1201bd(0x1c4)](_0x2a6160=>_0xa9b81f[_0x1201bd(0x1c5)](_0x2a6160[_0x1201bd(0x1cb)]))[_0x1201bd(0x1ba)](_0x27207a=>[_0x27207a[_0x1201bd(0x1cb)],_0x27207a]));return _0xa9b81f[_0x1201bd(0x1ba)](_0x5d35c9=>_0x535624['get'](_0x5d35c9))['filter'](Boolean);}}module[a18_0x5cb7f1(0x1bd)]=CustomSequencer;
1
+ const a18_0x3f2f82=a18_0x1681;(function(_0x407288,_0x26f79c){const _0x2f5d66=a18_0x1681,_0x5a8822=_0x407288();while(!![]){try{const _0x219743=parseInt(_0x2f5d66(0x1bd))/0x1+parseInt(_0x2f5d66(0x1b5))/0x2+parseInt(_0x2f5d66(0x1b8))/0x3*(parseInt(_0x2f5d66(0x1bc))/0x4)+-parseInt(_0x2f5d66(0x1c0))/0x5+-parseInt(_0x2f5d66(0x1c2))/0x6+-parseInt(_0x2f5d66(0x1b6))/0x7*(parseInt(_0x2f5d66(0x1c5))/0x8)+-parseInt(_0x2f5d66(0x1c3))/0x9*(-parseInt(_0x2f5d66(0x1bf))/0xa);if(_0x219743===_0x26f79c)break;else _0x5a8822['push'](_0x5a8822['shift']());}catch(_0x1a35cb){_0x5a8822['push'](_0x5a8822['shift']());}}}(a18_0xc3f8,0xb5304));const Sequencer=require(a18_0x3f2f82(0x1c4))[a18_0x3f2f82(0x1be)];class CustomSequencer extends Sequencer{[a18_0x3f2f82(0x1b7)](_0xd62afa){const _0x33fee4=a18_0x3f2f82,_0x56305d=process[_0x33fee4(0x1ba)]['JEST_TEST_ORDER'];if(!_0x56305d)return _0xd62afa;const _0x44ada7=_0x56305d[_0x33fee4(0x1c6)](','),_0x1de3d6=new Map(_0xd62afa[_0x33fee4(0x1bb)](_0x5676d1=>_0x44ada7[_0x33fee4(0x1c7)](_0x5676d1[_0x33fee4(0x1c1)]))[_0x33fee4(0x1b9)](_0x6667a4=>[_0x6667a4[_0x33fee4(0x1c1)],_0x6667a4]));return _0x44ada7['map'](_0x3f1f3a=>_0x1de3d6['get'](_0x3f1f3a))[_0x33fee4(0x1bb)](Boolean);}}function a18_0x1681(_0x1cc417,_0x5866fa){const _0xc3f86d=a18_0xc3f8();return a18_0x1681=function(_0x1681ee,_0x5199c8){_0x1681ee=_0x1681ee-0x1b5;let _0x2930ad=_0xc3f86d[_0x1681ee];return _0x2930ad;},a18_0x1681(_0x1cc417,_0x5866fa);}function a18_0xc3f8(){const _0x3d2be9=['24HAXTKv','split','includes','1156374DMhess','2607241OZQUft','sort','1237173hWkXFL','map','env','filter','8DtCTpG','632119fVZvQu','default','929120WEXtwh','4514205sDWCeV','path','6228228lMyQrD','171WubbJj','@jest/test-sequencer'];a18_0xc3f8=function(){return _0x3d2be9;};return a18_0xc3f8();}module['exports']=CustomSequencer;
@@ -1 +1 @@
1
- 'use strict';const a19_0x59b34e=a19_0x4c35;(function(_0x1d0a40,_0x2434e7){const _0x26473=a19_0x4c35,_0x255dc2=_0x1d0a40();while(!![]){try{const _0x5a3784=-parseInt(_0x26473(0x11c))/0x1+parseInt(_0x26473(0x118))/0x2+parseInt(_0x26473(0x101))/0x3+parseInt(_0x26473(0x105))/0x4*(parseInt(_0x26473(0x11b))/0x5)+-parseInt(_0x26473(0x110))/0x6*(-parseInt(_0x26473(0x11e))/0x7)+parseInt(_0x26473(0xff))/0x8*(parseInt(_0x26473(0x11a))/0x9)+parseInt(_0x26473(0x121))/0xa*(-parseInt(_0x26473(0x114))/0xb);if(_0x5a3784===_0x2434e7)break;else _0x255dc2['push'](_0x255dc2['shift']());}catch(_0x411a0f){_0x255dc2['push'](_0x255dc2['shift']());}}}(a19_0x58ad,0x326b7));const {requireModule,isBrowserstackInfra}=require(a19_0x59b34e(0x10f)),a19_0x563601={};function a19_0x58ad(){const _0x5a1771=['crrVk','parallels__','push','runTests','_globalConfig','value','serial','../../../helpers/helper','6mZdAlU','pIilx','length','context','7113128EsAYxT','serial__','UKBlZ','freeze','679032osMfvm','exports','7542QxSXJI','1994635lgdXwl','403583RVHgxX','LtZPI','1399055EIedXE','defineProperty','xqJeF','10kpoNSp','2136cJjxTD','jest-runner','284088QwdBbb','default','capabilities','testEnvironmentOptions','4NqzbxX','config','__esModule'];a19_0x58ad=function(){return _0x5a1771;};return a19_0x58ad();}a19_0x563601[a19_0x59b34e(0x10d)]=!![],Object[a19_0x59b34e(0x11f)](exports,a19_0x59b34e(0x107),a19_0x563601),exports[a19_0x59b34e(0x102)]=void 0x0;function _interopRequireDefault(_0x30b496){const _0x4f9e68=a19_0x59b34e;return _0x30b496&&_0x30b496[_0x4f9e68(0x107)]?_0x30b496:{'default':_0x30b496};}const JestRunner=_interopRequireDefault(requireModule(a19_0x59b34e(0x100)))[a19_0x59b34e(0x102)];function a19_0x4c35(_0x44042a,_0x22601d){const _0x58ad2b=a19_0x58ad();return a19_0x4c35=function(_0x4c3584,_0x760a30){_0x4c3584=_0x4c3584-0xff;let _0x322ff4=_0x58ad2b[_0x4c3584];return _0x322ff4;},a19_0x4c35(_0x44042a,_0x22601d);}class TestRunner extends JestRunner{constructor(..._0x568023){super(..._0x568023);}[a19_0x59b34e(0x10b)](..._0x5d8eb7){const _0x4879e6=a19_0x59b34e,_0x5345b9={'pIilx':function(_0x1bee8e){return _0x1bee8e();},'xqJeF':function(_0x28ca67,_0x830a6c){return _0x28ca67-_0x830a6c;},'UKBlZ':function(_0x4f1446,_0x5ce212){return _0x4f1446*_0x5ce212;},'BqihX':function(_0x4ced3a,_0x19d177){return _0x4ced3a===_0x19d177;},'crrVk':'false','LtZPI':function(_0x433f97,_0x7fc3e1){return _0x433f97<_0x7fc3e1;}};if(!_0x5345b9[_0x4879e6(0x111)](isBrowserstackInfra))return super[_0x4879e6(0x10b)](..._0x5d8eb7);const _0x22ea73=_0x5d8eb7[0x0],_0x51e8ab=_0x5d8eb7[_0x5345b9[_0x4879e6(0x120)](_0x5d8eb7['length'],0x1)],_0x98fbb5=_0x22ea73[0x0]['context'][_0x4879e6(0x106)][_0x4879e6(0x104)][_0x4879e6(0x103)],_0x3b9fd6=_0x22ea73[0x0][_0x4879e6(0x113)]['config'][_0x4879e6(0x104)][_0x4879e6(0x109)];_0x3b9fd6&&(this['_globalConfig']=Object[_0x4879e6(0x117)]({...this[_0x4879e6(0x10c)],'maxWorkers':_0x5345b9[_0x4879e6(0x116)](_0x3b9fd6,_0x98fbb5[_0x4879e6(0x112)])}));_0x5345b9['BqihX'](_0x22ea73[0x0][_0x4879e6(0x113)]['config'][_0x4879e6(0x104)][_0x4879e6(0x115)],_0x5345b9[_0x4879e6(0x108)])&&(_0x51e8ab&&(_0x51e8ab[_0x4879e6(0x10e)]=![]));const _0x39f8d9=[];for(let _0xf34570=0x0;_0x5345b9[_0x4879e6(0x11d)](_0xf34570,_0x22ea73['length']);_0xf34570++){const _0x207c8f=[];_0x98fbb5['forEach']((_0xc117d7,_0x2030c9)=>{const _0x3d7aeb=_0x4879e6,_0xc883f2={..._0x22ea73[_0xf34570]},_0x42af32=_0xc883f2;_0x42af32[_0x3d7aeb(0x113)]=Object[_0x3d7aeb(0x117)]({..._0x42af32['context'],'config':{..._0x42af32[_0x3d7aeb(0x113)][_0x3d7aeb(0x106)],'capability':_0xc117d7,'browserstackPlatformIndex':_0x2030c9}}),_0x207c8f[_0x3d7aeb(0x10a)](_0x42af32);}),_0x39f8d9[_0x4879e6(0x10a)](..._0x207c8f);}return super[_0x4879e6(0x10b)](_0x39f8d9,..._0x5d8eb7['slice'](0x1));}}module[a19_0x59b34e(0x119)]=TestRunner;
1
+ 'use strict';const a19_0xebc64f=a19_0x39ed;(function(_0x28b11f,_0x24c358){const _0x359ac1=a19_0x39ed,_0x222e0b=_0x28b11f();while(!![]){try{const _0x19b399=-parseInt(_0x359ac1(0xf9))/0x1+parseInt(_0x359ac1(0xe4))/0x2*(-parseInt(_0x359ac1(0xe1))/0x3)+-parseInt(_0x359ac1(0xee))/0x4+parseInt(_0x359ac1(0xe5))/0x5*(-parseInt(_0x359ac1(0xe6))/0x6)+-parseInt(_0x359ac1(0xe9))/0x7+parseInt(_0x359ac1(0xdd))/0x8+parseInt(_0x359ac1(0xf4))/0x9*(parseInt(_0x359ac1(0xea))/0xa);if(_0x19b399===_0x24c358)break;else _0x222e0b['push'](_0x222e0b['shift']());}catch(_0x11a2d9){_0x222e0b['push'](_0x222e0b['shift']());}}}(a19_0x8734,0x6374f));function a19_0x8734(){const _0x5bb6f8=['config','slice','runTests','parallels__','7145217lCFyao','default','jest-runner','freeze','capabilities','209760oDvkEC','testEnvironmentOptions','_globalConfig','serial','../../../helpers/helper','value','DreOt','1296600tFYLuf','serial__','context','push','2269173ZeiIkH','kEcpn','__esModule','2AoFbfz','5LqAjvV','1032384gweLnD','Agqpd','false','5408221reoofz','30Pylban','length','iLuan','defineProperty','902484CGYREI','yQdyL'];a19_0x8734=function(){return _0x5bb6f8;};return a19_0x8734();}const {requireModule,isBrowserstackInfra}=require(a19_0xebc64f(0xfd)),a19_0x450358={};a19_0x450358[a19_0xebc64f(0xfe)]=!![],Object[a19_0xebc64f(0xed)](exports,a19_0xebc64f(0xe3),a19_0x450358),exports[a19_0xebc64f(0xf5)]=void 0x0;function a19_0x39ed(_0x1f692d,_0x3fad1e){const _0x8734d3=a19_0x8734();return a19_0x39ed=function(_0x39edde,_0x2f5775){_0x39edde=_0x39edde-0xdd;let _0x5acd45=_0x8734d3[_0x39edde];return _0x5acd45;},a19_0x39ed(_0x1f692d,_0x3fad1e);}function _interopRequireDefault(_0x3e4e5){const _0x7225f4=a19_0xebc64f;return _0x3e4e5&&_0x3e4e5[_0x7225f4(0xe3)]?_0x3e4e5:{'default':_0x3e4e5};}const JestRunner=_interopRequireDefault(requireModule(a19_0xebc64f(0xf6)))['default'];class TestRunner extends JestRunner{constructor(..._0x252b4f){super(..._0x252b4f);}['runTests'](..._0x1c6852){const _0x22c5dc=a19_0xebc64f,_0x16337e={'yQdyL':function(_0x722c7b){return _0x722c7b();},'kEcpn':function(_0x7ea36e,_0x4494d0){return _0x7ea36e-_0x4494d0;},'iLuan':function(_0x22807d,_0x5597b1){return _0x22807d*_0x5597b1;},'YvuXo':function(_0x2f8474,_0x787590){return _0x2f8474===_0x787590;},'DreOt':_0x22c5dc(0xe8),'Agqpd':function(_0x4afeaf,_0x4bdf24){return _0x4afeaf<_0x4bdf24;}};if(!_0x16337e[_0x22c5dc(0xef)](isBrowserstackInfra))return super[_0x22c5dc(0xf2)](..._0x1c6852);const _0x4a075e=_0x1c6852[0x0],_0x3703e7=_0x1c6852[_0x16337e[_0x22c5dc(0xe2)](_0x1c6852[_0x22c5dc(0xeb)],0x1)],_0x449b2b=_0x4a075e[0x0][_0x22c5dc(0xdf)][_0x22c5dc(0xf0)][_0x22c5dc(0xfa)][_0x22c5dc(0xf8)],_0x1bcf26=_0x4a075e[0x0][_0x22c5dc(0xdf)][_0x22c5dc(0xf0)]['testEnvironmentOptions'][_0x22c5dc(0xf3)];_0x1bcf26&&(this[_0x22c5dc(0xfb)]=Object[_0x22c5dc(0xf7)]({...this['_globalConfig'],'maxWorkers':_0x16337e[_0x22c5dc(0xec)](_0x1bcf26,_0x449b2b['length'])}));_0x16337e['YvuXo'](_0x4a075e[0x0][_0x22c5dc(0xdf)]['config'][_0x22c5dc(0xfa)][_0x22c5dc(0xde)],_0x16337e[_0x22c5dc(0xff)])&&(_0x3703e7&&(_0x3703e7[_0x22c5dc(0xfc)]=![]));const _0x4e75a5=[];for(let _0x166440=0x0;_0x16337e[_0x22c5dc(0xe7)](_0x166440,_0x4a075e['length']);_0x166440++){const _0x1a72c6=[];_0x449b2b['forEach']((_0x30d9c,_0x594b84)=>{const _0xa4d006=_0x22c5dc,_0x2e7410={..._0x4a075e[_0x166440]},_0xf17fb7=_0x2e7410;_0xf17fb7[_0xa4d006(0xdf)]=Object['freeze']({..._0xf17fb7[_0xa4d006(0xdf)],'config':{..._0xf17fb7[_0xa4d006(0xdf)][_0xa4d006(0xf0)],'capability':_0x30d9c,'browserstackPlatformIndex':_0x594b84}}),_0x1a72c6[_0xa4d006(0xe0)](_0xf17fb7);}),_0x4e75a5[_0x22c5dc(0xe0)](..._0x1a72c6);}return super[_0x22c5dc(0xf2)](_0x4e75a5,..._0x1c6852[_0x22c5dc(0xf1)](0x1));}}module['exports']=TestRunner;