browserstack-node-sdk 1.50.4 → 1.50.5

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 -1
  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
- function a10_0x1f11(_0x2ef79a,_0x1fda36){const _0x37af6d=a10_0x37af();return a10_0x1f11=function(_0x1f11e1,_0x23c375){_0x1f11e1=_0x1f11e1-0x1c9;let _0x28b658=_0x37af6d[_0x1f11e1];return _0x28b658;},a10_0x1f11(_0x2ef79a,_0x1fda36);}const a10_0x26a7c4=a10_0x1f11;(function(_0xf2b2e4,_0xd8703){const _0xcd5291=a10_0x1f11,_0x5e3789=_0xf2b2e4();while(!![]){try{const _0x3dcac9=parseInt(_0xcd5291(0x1f7))/0x1+parseInt(_0xcd5291(0x1e7))/0x2*(parseInt(_0xcd5291(0x1d4))/0x3)+-parseInt(_0xcd5291(0x1e3))/0x4+-parseInt(_0xcd5291(0x1d6))/0x5+parseInt(_0xcd5291(0x1f4))/0x6+parseInt(_0xcd5291(0x1e5))/0x7+-parseInt(_0xcd5291(0x1ed))/0x8;if(_0x3dcac9===_0xd8703)break;else _0x5e3789['push'](_0x5e3789['shift']());}catch(_0x145ead){_0x5e3789['push'](_0x5e3789['shift']());}}}(a10_0x37af,0x3a3cb));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x26a7c4(0x1ca)),setKeepAlive=require(a10_0x26a7c4(0x1d2)),cucumberModule=requireModule(a10_0x26a7c4(0x1d1),a10_0x26a7c4(0x1f1)),logger=require(a10_0x26a7c4(0x1e8))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x26a7c4(0x1cd)],configuration=process[a10_0x26a7c4(0x1e0)][a10_0x26a7c4(0x1dd)];if(configuration!==undefined){const config=JSON[a10_0x26a7c4(0x1cf)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x26a7c4(0x1e6)]=!![]),global[a10_0x26a7c4(0x1db)]=isTrue(config['skipSessionStatus']),require(a10_0x26a7c4(0x1f3))[a10_0x26a7c4(0x1d8)](config),global['__platformCaps']=config['platformCaps']||{};}global[a10_0x26a7c4(0x1d9)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x26a7c4(0x1e4)];cucumberModule['setDefaultTimeout']=_0x2bb448=>{const _0x2a3fe3=a10_0x26a7c4,_0x3cc472={'begyy':function(_0x40dca8,_0x17bdf3){return _0x40dca8(_0x17bdf3);}};global[_0x2a3fe3(0x1d9)]=_0x2bb448,_0x3cc472[_0x2a3fe3(0x1ce)](__setDefaultTimeout,_0x2bb448);};const a10_0xf230a1={};a10_0xf230a1[a10_0x26a7c4(0x1cb)]='bstack',Before(a10_0xf230a1,function(){const _0x5e556f=a10_0x26a7c4,_0x2e1908={};_0x2e1908[_0x5e556f(0x1df)]='Inside\x20browserstack\x20Before';const _0x292672=_0x2e1908;logger[_0x5e556f(0x1f6)](_0x292672[_0x5e556f(0x1df)]),global[_0x5e556f(0x1ee)]=[];});const a10_0x1daed8={};a10_0x1daed8[a10_0x26a7c4(0x1cb)]=a10_0x26a7c4(0x1eb),a10_0x1daed8[a10_0x26a7c4(0x1d7)]=0x2710,After(a10_0x1daed8,function(_0x4975fb,_0x4ba87d){const _0xc5acbe=a10_0x26a7c4,_0x41fbd3={'JbMRn':function(_0x4092cb,_0x44b279){return _0x4092cb===_0x44b279;},'urwVO':_0xc5acbe(0x1cc),'YMomK':function(_0x24e1eb,_0x82aa1a,_0x534617,_0x50d91a){return _0x24e1eb(_0x82aa1a,_0x534617,_0x50d91a);},'AKXze':'\x20|\x20','KUMFB':function(_0x6a615d,_0x5ba965,_0x3c1416){return _0x6a615d(_0x5ba965,_0x3c1416);},'uazSn':_0xc5acbe(0x1de),'Kifnk':function(_0x96caa0){return _0x96caa0();},'OuExH':function(_0x36953c,_0x4d78b7){return _0x36953c(_0x4d78b7);},'KZGIe':function(_0x2032cd){return _0x2032cd();},'vhwlE':'Inside\x20browserstack\x20After'};logger[_0xc5acbe(0x1f6)](_0x41fbd3['vhwlE']),new Promise(async(_0x39d6ea,_0x425066)=>{const _0x576129=_0xc5acbe;let _0x582bc2=![];try{await global[_0x576129(0x1e1)]['session_'],_0x582bc2=!![],!global['__skipSessionName']&&await global['__driver']['executeScript'](_0x576129(0x1da)+_0x4975fb['pickle'][_0x576129(0x1cb)]+_0x576129(0x1ec)),_0x41fbd3[_0x576129(0x1c9)](_0x4975fb[_0x576129(0x1e2)][_0x576129(0x1e9)]['toLowerCase'](),_0x41fbd3[_0x576129(0x1d3)])?await _0x41fbd3[_0x576129(0x1f2)](markSessionStatus,global[_0x576129(0x1e1)],_0x41fbd3[_0x576129(0x1d3)],global['__error_messages__']['join'](_0x41fbd3[_0x576129(0x1ea)])):await _0x41fbd3['KUMFB'](markSessionStatus,global[_0x576129(0x1e1)],_0x41fbd3[_0x576129(0x1dc)]);}catch(_0x28bea4){logger[_0x576129(0x1f6)](_0x576129(0x1ef)+_0x28bea4);}if(_0x582bc2)try{await global[_0x576129(0x1e1)][_0x576129(0x1d5)](),_0x41fbd3[_0x576129(0x1f0)](_0x39d6ea);}catch(_0x451c54){logger[_0x576129(0x1f6)](_0x576129(0x1d0)+_0x451c54),_0x41fbd3[_0x576129(0x1f5)](_0x425066,_0x451c54);}else _0x41fbd3[_0x576129(0x1f8)](_0x425066);})['then'](()=>_0x4ba87d());});function a10_0x37af(){const _0x322d33=['JbMRn','../../helpers/helper','name','failed','After','begyy','parse','Error:\x20quiting\x20at\x20After:\x20','cucumber/lib/index.js','../../helpers/setKeepAlive','urwVO','1743kyIfUk','initQuit','2072455JJOVMO','timeout','browserstackAgentV2','__timeout','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','__skipSessionStatus','uazSn','CONFIG','passed','hEbxa','env','__driver','result','1619368VluCLi','setDefaultTimeout','1366596OYstzg','__skipSessionName','1286MagcaP','../../helpers/logger','status','AKXze','bstack','\x22}}','1526824VSgOnD','__error_messages__','Error:\x20setting\x20status\x20at\x20After:\x20','Kifnk','cucumber','YMomK','../../index','2526294kdAyhy','OuExH','debug','258865todRzR','KZGIe'];a10_0x37af=function(){return _0x322d33;};return a10_0x37af();}
1
+ const a10_0x39a147=a10_0x54bc;(function(_0x550f08,_0x4b53ba){const _0x587282=a10_0x54bc,_0x4fb2b8=_0x550f08();while(!![]){try{const _0x416cfc=parseInt(_0x587282(0x102))/0x1*(-parseInt(_0x587282(0xf9))/0x2)+-parseInt(_0x587282(0xe7))/0x3+parseInt(_0x587282(0xff))/0x4+-parseInt(_0x587282(0xf8))/0x5+-parseInt(_0x587282(0xeb))/0x6*(-parseInt(_0x587282(0xde))/0x7)+parseInt(_0x587282(0xea))/0x8+parseInt(_0x587282(0xdc))/0x9*(parseInt(_0x587282(0xe8))/0xa);if(_0x416cfc===_0x4b53ba)break;else _0x4fb2b8['push'](_0x4fb2b8['shift']());}catch(_0x15a1db){_0x4fb2b8['push'](_0x4fb2b8['shift']());}}}(a10_0x42af,0x329cf));function a10_0x54bc(_0x87b2eb,_0x2b6d49){const _0x42afec=a10_0x42af();return a10_0x54bc=function(_0x54bc17,_0x238129){_0x54bc17=_0x54bc17-0xd9;let _0x268b63=_0x42afec[_0x54bc17];return _0x268b63;},a10_0x54bc(_0x87b2eb,_0x2b6d49);}function a10_0x42af(){const _0x1175b4=['1017633mLKjcZ','30veXyhK','toLowerCase','219688QhXUJE','30WzfTIY','timeout','skipSessionName','../../helpers/helper','xUveR','winstonLogger','then','WPzst','__skipSessionName','wwufD','__timeout','setDefaultTimeout','passed','1950450khsiUD','2rQeBzQ','debug','../../index','jAUUv','kYjkf','fSfxO','808216IAnPuU','initQuit','ociFd','114604knsDLJ','CONFIG','browserstackAgentV2','session_','__driver','name','cucumber/lib/index.js','__error_messages__','URwcX','env','skipSessionStatus','xDujv','status','../../helpers/setKeepAlive','join','QxAKp','pxqyt','2128068zxklEX','__skipSessionStatus','157283tthdAv','executeScript','Inside\x20browserstack\x20Before','platformCaps','\x22}}','failed','ULeeF','After','bstack'];a10_0x42af=function(){return _0x1175b4;};return a10_0x42af();}const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x39a147(0xee)),setKeepAlive=require(a10_0x39a147(0x10f)),cucumberModule=requireModule(a10_0x39a147(0x108),'cucumber'),logger=require('../../helpers/logger')[a10_0x39a147(0xf0)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x39a147(0xe5)],configuration=process[a10_0x39a147(0x10b)][a10_0x39a147(0x103)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x39a147(0xed)])&&(global[a10_0x39a147(0xf3)]=!![]),global[a10_0x39a147(0xdd)]=isTrue(config[a10_0x39a147(0x10c)]),require(a10_0x39a147(0xfb))[a10_0x39a147(0x104)](config),global['__platformCaps']=config[a10_0x39a147(0xe1)]||{};}global[a10_0x39a147(0xf5)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x39a147(0xf6)]=_0x39a539=>{const _0x289769=a10_0x39a147,_0x5276e5={'ociFd':function(_0x287934,_0x4b10a5){return _0x287934(_0x4b10a5);}};global[_0x289769(0xf5)]=_0x39a539,_0x5276e5[_0x289769(0x101)](__setDefaultTimeout,_0x39a539);};const a10_0x538882={};a10_0x538882[a10_0x39a147(0x107)]=a10_0x39a147(0xe6),Before(a10_0x538882,function(){const _0x5410e2=a10_0x39a147,_0x13e7ff={};_0x13e7ff['WPzst']=_0x5410e2(0xe0);const _0x4ba469=_0x13e7ff;logger[_0x5410e2(0xfa)](_0x4ba469[_0x5410e2(0xf2)]),global[_0x5410e2(0x109)]=[];});const a10_0x20f071={};a10_0x20f071['name']=a10_0x39a147(0xe6),a10_0x20f071[a10_0x39a147(0xec)]=0x2710,After(a10_0x20f071,function(_0x25fbb0,_0x4c2369){const _0x45f1e9=a10_0x39a147,_0x2a9861={'ULeeF':function(_0xe95141,_0x5e2fef){return _0xe95141===_0x5e2fef;},'URwcX':_0x45f1e9(0xe3),'xDujv':function(_0x3ee186,_0x4e9266,_0x42c5d9,_0x342dff){return _0x3ee186(_0x4e9266,_0x42c5d9,_0x342dff);},'xUveR':'\x20|\x20','wwufD':function(_0xf7743d,_0x16d02a,_0x1b91cc){return _0xf7743d(_0x16d02a,_0x1b91cc);},'jAUUv':_0x45f1e9(0xf7),'pxqyt':function(_0x4d8ec2){return _0x4d8ec2();},'QxAKp':function(_0x132233,_0x17436d){return _0x132233(_0x17436d);},'fSfxO':function(_0x171864){return _0x171864();},'kYjkf':'Inside\x20browserstack\x20After'};logger['debug'](_0x2a9861[_0x45f1e9(0xfd)]),new Promise(async(_0x665801,_0x942180)=>{const _0x4a16e5=_0x45f1e9;let _0x3473cd=![];try{await global['__driver'][_0x4a16e5(0x105)],_0x3473cd=!![],!global['__skipSessionName']&&await global[_0x4a16e5(0x106)][_0x4a16e5(0xdf)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x25fbb0['pickle']['name']+_0x4a16e5(0xe2)),_0x2a9861[_0x4a16e5(0xe4)](_0x25fbb0['result'][_0x4a16e5(0x10e)][_0x4a16e5(0xe9)](),_0x2a9861['URwcX'])?await _0x2a9861[_0x4a16e5(0x10d)](markSessionStatus,global['__driver'],_0x2a9861[_0x4a16e5(0x10a)],global['__error_messages__'][_0x4a16e5(0xd9)](_0x2a9861[_0x4a16e5(0xef)])):await _0x2a9861[_0x4a16e5(0xf4)](markSessionStatus,global[_0x4a16e5(0x106)],_0x2a9861[_0x4a16e5(0xfc)]);}catch(_0x36011c){logger[_0x4a16e5(0xfa)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x36011c);}if(_0x3473cd)try{await global[_0x4a16e5(0x106)][_0x4a16e5(0x100)](),_0x2a9861[_0x4a16e5(0xdb)](_0x665801);}catch(_0x281708){logger['debug']('Error:\x20quiting\x20at\x20After:\x20'+_0x281708),_0x2a9861[_0x4a16e5(0xda)](_0x942180,_0x281708);}else _0x2a9861[_0x4a16e5(0xfe)](_0x942180);})[_0x45f1e9(0xf1)](()=>_0x4c2369());});
@@ -1 +1 @@
1
- const a11_0x126824=a11_0x3e09;(function(_0x2978e7,_0x5102c0){const _0x4a309c=a11_0x3e09,_0x48e9f7=_0x2978e7();while(!![]){try{const _0x3ee3e3=-parseInt(_0x4a309c(0x185))/0x1+parseInt(_0x4a309c(0x182))/0x2+parseInt(_0x4a309c(0x187))/0x3*(-parseInt(_0x4a309c(0x180))/0x4)+parseInt(_0x4a309c(0x188))/0x5*(parseInt(_0x4a309c(0x189))/0x6)+-parseInt(_0x4a309c(0x186))/0x7+parseInt(_0x4a309c(0x181))/0x8*(parseInt(_0x4a309c(0x183))/0x9)+-parseInt(_0x4a309c(0x17e))/0xa;if(_0x3ee3e3===_0x5102c0)break;else _0x48e9f7['push'](_0x48e9f7['shift']());}catch(_0x2ee66a){_0x48e9f7['push'](_0x48e9f7['shift']());}}}(a11_0x9d91,0xcdcdf));const {requireModule}=require(a11_0x126824(0x17d)),constants=require(a11_0x126824(0x17b));function a11_0x3e09(_0x5e0856,_0x13a68a){const _0x9d9118=a11_0x9d91();return a11_0x3e09=function(_0x3e0940,_0x1d6738){_0x3e0940=_0x3e0940-0x179;let _0x1ffeb8=_0x9d9118[_0x3e0940];return _0x1ffeb8;},a11_0x3e09(_0x5e0856,_0x13a68a);}function a11_0x9d91(){const _0x4a12c9=['2636630tQSNKT','cucumber/lib/index.js','12ixYNqz','853032UOYuKy','2636796uwceFv','117okAINm','setDefaultTimeout','312926tfwvFp','8987286cfCRVn','569139TEKuIA','785TTVruI','21708kVhSyb','__timeout','@cucumber/cucumber','../utils/constants','@cucumber/cucumber/lib/index.js','../../helpers/helper'];a11_0x9d91=function(){return _0x4a12c9;};return a11_0x9d91();};let cucumberModule=null;try{cucumberModule=requireModule(a11_0x126824(0x17c),a11_0x126824(0x17a));}catch(a11_0x3142d9){cucumberModule=requireModule(a11_0x126824(0x17f),'cucumber');}cucumberModule[a11_0x126824(0x184)](constants['BSTACK_DELTA']+global[a11_0x126824(0x179)]*0x1);
1
+ const a11_0x2170fd=a11_0x44ae;(function(_0x117148,_0xaaeed6){const _0x4749c5=a11_0x44ae,_0x599d2f=_0x117148();while(!![]){try{const _0x31ddae=parseInt(_0x4749c5(0x11d))/0x1*(parseInt(_0x4749c5(0x121))/0x2)+-parseInt(_0x4749c5(0x126))/0x3+-parseInt(_0x4749c5(0x11e))/0x4+-parseInt(_0x4749c5(0x127))/0x5+parseInt(_0x4749c5(0x11c))/0x6+-parseInt(_0x4749c5(0x120))/0x7*(-parseInt(_0x4749c5(0x124))/0x8)+parseInt(_0x4749c5(0x122))/0x9;if(_0x31ddae===_0xaaeed6)break;else _0x599d2f['push'](_0x599d2f['shift']());}catch(_0x44312e){_0x599d2f['push'](_0x599d2f['shift']());}}}(a11_0x3d12,0x34d63));const {requireModule}=require(a11_0x2170fd(0x11f)),constants=require(a11_0x2170fd(0x129));;function a11_0x3d12(){const _0x525e96=['1510512yBCvbQ','839PBKWex','925000LpfpZu','../../helpers/helper','210JkNDlC','92qtaDxC','2848851IkXHGr','@cucumber/cucumber/lib/index.js','90360IxlVeq','__timeout','428718JENsvw','1775800urTpdq','setDefaultTimeout','../utils/constants','@cucumber/cucumber','cucumber'];a11_0x3d12=function(){return _0x525e96;};return a11_0x3d12();}let cucumberModule=null;function a11_0x44ae(_0x5ec7a6,_0x537f0d){const _0x3d1287=a11_0x3d12();return a11_0x44ae=function(_0x44ae30,_0x1144ec){_0x44ae30=_0x44ae30-0x11a;let _0x5cb031=_0x3d1287[_0x44ae30];return _0x5cb031;},a11_0x44ae(_0x5ec7a6,_0x537f0d);}try{cucumberModule=requireModule(a11_0x2170fd(0x123),a11_0x2170fd(0x11a));}catch(a11_0x161e9b){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x2170fd(0x11b));}cucumberModule[a11_0x2170fd(0x128)](constants['BSTACK_DELTA']+global[a11_0x2170fd(0x125)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x550224=a12_0x393f;(function(_0x28a364,_0x2e0d8b){const _0x3915bd=a12_0x393f,_0x5ec288=_0x28a364();while(!![]){try{const _0x48060c=-parseInt(_0x3915bd(0x8e))/0x1+-parseInt(_0x3915bd(0x78))/0x2*(-parseInt(_0x3915bd(0xa0))/0x3)+parseInt(_0x3915bd(0x85))/0x4+-parseInt(_0x3915bd(0xab))/0x5*(parseInt(_0x3915bd(0xb0))/0x6)+parseInt(_0x3915bd(0x70))/0x7+parseInt(_0x3915bd(0xa8))/0x8*(-parseInt(_0x3915bd(0xa4))/0x9)+parseInt(_0x3915bd(0x6f))/0xa*(parseInt(_0x3915bd(0xaf))/0xb);if(_0x48060c===_0x2e0d8b)break;else _0x5ec288['push'](_0x5ec288['shift']());}catch(_0x5dddef){_0x5ec288['push'](_0x5ec288['shift']());}}}(a12_0xd0b7,0xda1a2));const {default:BrowserStackSetup}=require(a12_0x550224(0xa6)),logger=require(a12_0x550224(0x7e))[a12_0x550224(0x9a)],{URL}=require('url'),helper=require(a12_0x550224(0x6d)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x19df27){return _0x19df27['split'](',')['every'](_0x580983=>{const _0x3438bb=a12_0x393f;try{new URL(_0x580983[_0x3438bb(0xa3)]());}catch(_0x2d0e2d){return![];}return!![];});},parseOnPremHosts=function(_0x4d2ad1){const _0x2758e4=a12_0x550224,_0x35a61e={};_0x35a61e[_0x2758e4(0xa1)]=function(_0x2b6d76,_0x5c1ad1){return _0x2b6d76===_0x5c1ad1;},_0x35a61e[_0x2758e4(0x74)]=_0x2758e4(0x76),_0x35a61e[_0x2758e4(0x8c)]=_0x2758e4(0xa9),_0x35a61e[_0x2758e4(0x75)]=_0x2758e4(0x91);const _0x5cefe9=_0x35a61e;return _0x4d2ad1[_0x2758e4(0x6c)](',')[_0x2758e4(0x7c)](_0x1bd859=>{const _0x3f0a03=_0x2758e4,_0xb134f4=new URL(_0x1bd859['trim']()),_0x5df9d3=_0xb134f4[_0x3f0a03(0xa7)],_0x2d6235=_0xb134f4[_0x3f0a03(0x98)]||(_0x5cefe9[_0x3f0a03(0xa1)](_0xb134f4[_0x3f0a03(0x93)],_0x5cefe9[_0x3f0a03(0x74)])?_0x5cefe9[_0x3f0a03(0x8c)]:'80'),_0x2fb894=_0xb134f4[_0x3f0a03(0x93)][_0x3f0a03(0x94)](':',''),_0x1592ec=_0x5cefe9[_0x3f0a03(0xa1)](_0x2fb894,_0x5cefe9[_0x3f0a03(0x75)])?0x1:0x0;return _0x5df9d3+','+_0x2d6235+','+_0x1592ec;});},connectCommandBuilder=function(_0x44070c){const _0x44f4b3=a12_0x550224,_0xe067de={};_0xe067de[_0x44f4b3(0x69)]=_0x44f4b3(0x6e);const _0x5e73db=_0xe067de,_0x41b908={};_0x41b908[_0x44f4b3(0x96)]=HELP_MESSAGES[_0x44f4b3(0x73)][_0x44f4b3(0x9e)],_0x41b908['type']=_0x5e73db['kscbf'];const _0x3a1664={};_0x3a1664[_0x44f4b3(0x96)]=HELP_MESSAGES['options'][_0x44f4b3(0x80)],_0x3a1664[_0x44f4b3(0x95)]=_0x5e73db[_0x44f4b3(0x69)],_0x3a1664['demandOption']=!![];const _0x3425f2={};return _0x3425f2[_0x44f4b3(0x8b)]=_0x41b908,_0x3425f2[_0x44f4b3(0x80)]=_0x3a1664,_0x44070c['options'](_0x3425f2);},connectCommandHandler=async function(_0x2d5f9d){const _0x35ea05=a12_0x550224,_0x2beca5={'bylZT':'integrations','SrGOG':function(_0x5e191e,_0x26645b){return _0x5e191e===_0x26645b;},'sbNvY':'undefined','fOptR':'BrowserStack\x20access\x20key\x20missing.','gMHTk':_0x35ea05(0x7f),'lLMaZ':function(_0x5c9816,_0x4b1dec){return _0x5c9816(_0x4b1dec);},'agnIH':_0x35ea05(0x7d),'NpqfR':_0x35ea05(0x8a),'rJMvz':_0x35ea05(0xad),'HkhjN':_0x35ea05(0x97)};try{const _0x440dce=new BrowserStackSetup(_0x2d5f9d,_0x2beca5[_0x35ea05(0xae)]);_0x2d5f9d[_0x35ea05(0xa5)]&&(_0x440dce[_0x35ea05(0x9f)][_0x35ea05(0xac)]=_0x2d5f9d[_0x35ea05(0xa5)]);if(_0x2beca5[_0x35ea05(0x90)](typeof _0x440dce['config'][_0x35ea05(0xac)],_0x2beca5['sbNvY'])){logger[_0x35ea05(0xb2)](_0x2beca5[_0x35ea05(0xb1)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x35ea05(0x9c)]);}const _0x57e61c=_0x2d5f9d[_0x35ea05(0x80)];if(_0x2beca5[_0x35ea05(0x90)](typeof _0x57e61c,_0x2beca5[_0x35ea05(0x99)])){logger['error'](_0x2beca5[_0x35ea05(0x77)]);throw new Error(ERROR_MESSAGES['hosts'][_0x35ea05(0x9c)]);}if(!_0x2beca5[_0x35ea05(0x79)](validHosts,_0x57e61c)){logger[_0x35ea05(0xb2)](_0x2beca5[_0x35ea05(0x7a)]);throw new Error(ERROR_MESSAGES[_0x35ea05(0x80)]['invalid']);}const _0x1cfc37=_0x2beca5['lLMaZ'](parseOnPremHosts,_0x57e61c);_0x440dce[_0x35ea05(0x9f)][_0x35ea05(0x6b)]=!![],_0x440dce[_0x35ea05(0x9f)][_0x35ea05(0x87)][_0x35ea05(0x6a)]=_0x2beca5[_0x35ea05(0x86)],_0x440dce[_0x35ea05(0x9f)]['browserStackLocalOptions'][_0x35ea05(0x89)]=_0x1cfc37['join'](','),helper['setProxySettings'](_0x440dce['config']),await _0x440dce[_0x35ea05(0x84)](),logger[_0x35ea05(0x8d)](_0x2beca5[_0x35ea05(0x82)]);}catch(_0x30add){logger['error'](_0x2beca5[_0x35ea05(0x81)]);throw new Error(_0x30add[_0x35ea05(0x88)]());}};function a12_0x393f(_0xdcd757,_0x46dc7c){const _0xd0b787=a12_0xd0b7();return a12_0x393f=function(_0x393f1b,_0x56b4da){_0x393f1b=_0x393f1b-0x68;let _0x8fea7e=_0xd0b787[_0x393f1b];return _0x8fea7e;},a12_0x393f(_0xdcd757,_0x46dc7c);}function a12_0xd0b7(){const _0xa0013d=['sbNvY','winstonLogger','footer','missing','usage','bstackAccessKey','config','6ldnNch','mekUY','root','trim','81sQiyEO','bstackAccesskey','../../helpers/BrowserStackSetup','hostname','1436792FgRstb','443','xqUkn','2149685WgfLEw','accessKey','Connection\x20established\x20successfully.','bylZT','44kEMDER','6uyyHtS','fOptR','error','connect','kscbf','localIdentifier','browserstackLocal','split','../../helpers/helper','string','6238580IGHFws','4340623pibHlA','fXZAr','demandCommand','options','rQzmR','acTwY','https:','gMHTk','68488ftGdYg','lLMaZ','agnIH','help','map','Hosts\x20not\x20valid','../../helpers/logger','Integration\x20hosts\x20missing.','hosts','HkhjN','rJMvz','command','setupBrowserstackLocal','4879396dFahuA','NpqfR','browserStackLocalOptions','toString','only','integrations-repeater','bstack-accesskey','Vkema','info','1464184QJCFhZ','epilogue','SrGOG','https','exports','protocol','replace','type','describe','Failed\x20to\x20establish\x20connection.','port'];a12_0xd0b7=function(){return _0xa0013d;};return a12_0xd0b7();}function run(_0x295424){const _0x410026=a12_0x550224,_0x5c601e={};_0x5c601e[_0x410026(0xaa)]=_0x410026(0x68),_0x5c601e[_0x410026(0x71)]=_0x410026(0x7b);const _0x1258fd=_0x5c601e;_0x295424[_0x410026(0x9d)](HELP_MESSAGES[_0x410026(0x83)][_0x410026(0xa2)])[_0x410026(0x83)](_0x1258fd[_0x410026(0xaa)],HELP_MESSAGES[_0x410026(0x83)][_0x410026(0x68)],connectCommandBuilder,connectCommandHandler)[_0x410026(0x72)]()['help'](_0x1258fd[_0x410026(0x71)])[_0x410026(0x8f)](HELP_MESSAGES['command'][_0x410026(0x9b)]);}module[a12_0x550224(0x92)]=run;
2
+ 'use strict';function a12_0x29b6(_0x5be3ff,_0x2e83c9){const _0xaa88c=a12_0xaa88();return a12_0x29b6=function(_0x29b611,_0x4e3094){_0x29b611=_0x29b611-0x1ab;let _0x5753d8=_0xaa88c[_0x29b611];return _0x5753d8;},a12_0x29b6(_0x5be3ff,_0x2e83c9);}const a12_0x236479=a12_0x29b6;(function(_0x3cdb35,_0xf7cbe3){const _0x53c085=a12_0x29b6,_0x2414cd=_0x3cdb35();while(!![]){try{const _0x27bfae=-parseInt(_0x53c085(0x1d3))/0x1+parseInt(_0x53c085(0x1b0))/0x2+parseInt(_0x53c085(0x1cf))/0x3*(parseInt(_0x53c085(0x1ce))/0x4)+parseInt(_0x53c085(0x1bc))/0x5*(parseInt(_0x53c085(0x1d7))/0x6)+parseInt(_0x53c085(0x1ad))/0x7*(-parseInt(_0x53c085(0x1c8))/0x8)+parseInt(_0x53c085(0x1e4))/0x9+-parseInt(_0x53c085(0x1ef))/0xa;if(_0x27bfae===_0xf7cbe3)break;else _0x2414cd['push'](_0x2414cd['shift']());}catch(_0x19200f){_0x2414cd['push'](_0x2414cd['shift']());}}}(a12_0xaa88,0xba366));const {default:BrowserStackSetup}=require(a12_0x236479(0x1e7)),logger=require(a12_0x236479(0x1ca))[a12_0x236479(0x1ab)],{URL}=require(a12_0x236479(0x1e1)),helper=require(a12_0x236479(0x1b3)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x236479(0x1f3)),validHosts=function(_0x217632){const _0xd491d6=a12_0x236479;return _0x217632[_0xd491d6(0x1b9)](',')[_0xd491d6(0x1df)](_0x1152ba=>{try{new URL(_0x1152ba['trim']());}catch(_0x5539b9){return![];}return!![];});},parseOnPremHosts=function(_0x2f1925){const _0x453070=a12_0x236479,_0x481521={};_0x481521[_0x453070(0x1cc)]=function(_0x567732,_0x34d297){return _0x567732===_0x34d297;},_0x481521[_0x453070(0x1be)]='https:',_0x481521[_0x453070(0x1b1)]=_0x453070(0x1d1),_0x481521[_0x453070(0x1d4)]='https';const _0x27fdc9=_0x481521;return _0x2f1925[_0x453070(0x1b9)](',')[_0x453070(0x1d0)](_0x38180d=>{const _0x224ec8=_0x453070,_0x564a05=new URL(_0x38180d[_0x224ec8(0x1ea)]()),_0x2943f4=_0x564a05['hostname'],_0x419b52=_0x564a05[_0x224ec8(0x1b7)]||(_0x27fdc9[_0x224ec8(0x1cc)](_0x564a05[_0x224ec8(0x1c2)],_0x27fdc9[_0x224ec8(0x1be)])?_0x27fdc9[_0x224ec8(0x1b1)]:'80'),_0x1ccdb7=_0x564a05[_0x224ec8(0x1c2)][_0x224ec8(0x1dc)](':',''),_0x25592c=_0x27fdc9[_0x224ec8(0x1cc)](_0x1ccdb7,_0x27fdc9[_0x224ec8(0x1d4)])?0x1:0x0;return _0x2943f4+','+_0x419b52+','+_0x25592c;});},connectCommandBuilder=function(_0x58be1b){const _0x2987a1=a12_0x236479,_0xff1e28={};_0xff1e28[_0x2987a1(0x1cb)]=_0x2987a1(0x1c7);const _0x57e487=_0xff1e28,_0x45128e={};_0x45128e[_0x2987a1(0x1c1)]=HELP_MESSAGES[_0x2987a1(0x1c9)][_0x2987a1(0x1d2)],_0x45128e['type']=_0x57e487[_0x2987a1(0x1cb)];const _0xd5e782={};_0xd5e782[_0x2987a1(0x1c1)]=HELP_MESSAGES[_0x2987a1(0x1c9)][_0x2987a1(0x1d6)],_0xd5e782[_0x2987a1(0x1da)]=_0x57e487[_0x2987a1(0x1cb)],_0xd5e782[_0x2987a1(0x1ae)]=!![];const _0x457133={};return _0x457133[_0x2987a1(0x1ec)]=_0x45128e,_0x457133['hosts']=_0xd5e782,_0x58be1b['options'](_0x457133);},connectCommandHandler=async function(_0x43142e){const _0x56e542=a12_0x236479,_0xe78d33={'BAhtT':_0x56e542(0x1e3),'PbgTG':function(_0x2e0bf5,_0xdc9148){return _0x2e0bf5===_0xdc9148;},'fGSte':'undefined','cskDu':_0x56e542(0x1bd),'fOzch':function(_0x1ad8c1,_0x53035c){return _0x1ad8c1===_0x53035c;},'Jzvbn':_0x56e542(0x1ed),'CFveu':function(_0x45f60f,_0x4eff4a){return _0x45f60f(_0x4eff4a);},'SZVsU':_0x56e542(0x1d8),'cdeWZ':function(_0x250cfc,_0xbb56ba){return _0x250cfc(_0xbb56ba);},'pQQJf':'integrations-repeater','uEFtO':_0x56e542(0x1f1),'TZzLC':_0x56e542(0x1c3)};try{const _0x430a93=new BrowserStackSetup(_0x43142e,_0xe78d33[_0x56e542(0x1b2)]);_0x43142e[_0x56e542(0x1f2)]&&(_0x430a93[_0x56e542(0x1db)][_0x56e542(0x1b6)]=_0x43142e[_0x56e542(0x1f2)]);if(_0xe78d33[_0x56e542(0x1de)](typeof _0x430a93[_0x56e542(0x1db)][_0x56e542(0x1b6)],_0xe78d33[_0x56e542(0x1c6)])){logger[_0x56e542(0x1dd)](_0xe78d33['cskDu']);throw new Error(ERROR_MESSAGES[_0x56e542(0x1d2)][_0x56e542(0x1e8)]);}const _0x1d729b=_0x43142e['hosts'];if(_0xe78d33['fOzch'](typeof _0x1d729b,_0xe78d33[_0x56e542(0x1c6)])){logger['error'](_0xe78d33[_0x56e542(0x1cd)]);throw new Error(ERROR_MESSAGES['hosts'][_0x56e542(0x1e8)]);}if(!_0xe78d33[_0x56e542(0x1bf)](validHosts,_0x1d729b)){logger[_0x56e542(0x1dd)](_0xe78d33['SZVsU']);throw new Error(ERROR_MESSAGES[_0x56e542(0x1d6)][_0x56e542(0x1ac)]);}const _0x1dcdf9=_0xe78d33[_0x56e542(0x1d9)](parseOnPremHosts,_0x1d729b);_0x430a93[_0x56e542(0x1db)][_0x56e542(0x1b8)]=!![],_0x430a93[_0x56e542(0x1db)]['browserStackLocalOptions']['localIdentifier']=_0xe78d33[_0x56e542(0x1c0)],_0x430a93[_0x56e542(0x1db)][_0x56e542(0x1e2)][_0x56e542(0x1d5)]=_0x1dcdf9[_0x56e542(0x1b5)](','),helper[_0x56e542(0x1c4)](_0x430a93[_0x56e542(0x1db)]),await _0x430a93['setupBrowserstackLocal'](),logger['info'](_0xe78d33[_0x56e542(0x1e6)]);}catch(_0x555742){logger[_0x56e542(0x1dd)](_0xe78d33[_0x56e542(0x1af)]);throw new Error(_0x555742[_0x56e542(0x1e5)]());}};function a12_0xaa88(){const _0x35f57a=['setProxySettings','help','fGSte','string','8xRplWf','options','../../helpers/logger','xKUKv','ikCAE','Jzvbn','24WdRHlD','626889EyNwPT','map','443','bstackAccessKey','288632JVRojo','CMzKg','only','hosts','6aWmnoE','Hosts\x20not\x20valid','cdeWZ','type','config','replace','error','PbgTG','every','exports','url','browserStackLocalOptions','integrations','5183856jnXElH','toString','uEFtO','../../helpers/BrowserStackSetup','missing','usage','trim','AzQYh','bstack-accesskey','Integration\x20hosts\x20missing.','connect','18028050oTAeFB','demandCommand','Connection\x20established\x20successfully.','bstackAccesskey','./constants','winstonLogger','invalid','8339863crrKpI','demandOption','TZzLC','2075722FHbPKI','yoiEy','BAhtT','../../helpers/helper','WTrlG','join','accessKey','port','browserstackLocal','split','command','epilogue','5889745OdjYBJ','BrowserStack\x20access\x20key\x20missing.','txtnN','CFveu','pQQJf','describe','protocol','Failed\x20to\x20establish\x20connection.'];a12_0xaa88=function(){return _0x35f57a;};return a12_0xaa88();}function run(_0xd4f505){const _0xcb8210=a12_0x236479,_0x228d26={};_0x228d26[_0xcb8210(0x1b4)]=_0xcb8210(0x1ee),_0x228d26[_0xcb8210(0x1eb)]=_0xcb8210(0x1c5);const _0xf02dd9=_0x228d26;_0xd4f505[_0xcb8210(0x1e9)](HELP_MESSAGES[_0xcb8210(0x1ba)]['root'])[_0xcb8210(0x1ba)](_0xf02dd9[_0xcb8210(0x1b4)],HELP_MESSAGES[_0xcb8210(0x1ba)][_0xcb8210(0x1ee)],connectCommandBuilder,connectCommandHandler)[_0xcb8210(0x1f0)]()[_0xcb8210(0x1c5)](_0xf02dd9[_0xcb8210(0x1eb)])[_0xcb8210(0x1bb)](HELP_MESSAGES[_0xcb8210(0x1ba)]['footer']);}module[a12_0x236479(0x1e0)]=run;
@@ -1 +1 @@
1
- var a13_0x3a5901=a13_0x320d;(function(_0xb799aa,_0x59e0cc){var _0x302446=a13_0x320d,_0x5b348a=_0xb799aa();while(!![]){try{var _0x489ea9=parseInt(_0x302446(0x11d))/0x1*(parseInt(_0x302446(0x118))/0x2)+-parseInt(_0x302446(0x117))/0x3+parseInt(_0x302446(0x10f))/0x4+parseInt(_0x302446(0x120))/0x5*(-parseInt(_0x302446(0x10c))/0x6)+parseInt(_0x302446(0x121))/0x7*(parseInt(_0x302446(0x113))/0x8)+-parseInt(_0x302446(0x10b))/0x9*(-parseInt(_0x302446(0x119))/0xa)+-parseInt(_0x302446(0x112))/0xb*(parseInt(_0x302446(0x123))/0xc);if(_0x489ea9===_0x59e0cc)break;else _0x5b348a['push'](_0x5b348a['shift']());}catch(_0x383fa2){_0x5b348a['push'](_0x5b348a['shift']());}}}(a13_0x24f0,0x2602b));var a13_0x7f1f41={};a13_0x7f1f41[a13_0x3a5901(0x11c)]=a13_0x3a5901(0x116),a13_0x7f1f41[a13_0x3a5901(0x111)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x478f61={};a13_0x478f61[a13_0x3a5901(0x114)]=a13_0x3a5901(0x11f),a13_0x478f61[a13_0x3a5901(0x109)]=a13_0x3a5901(0x115),a13_0x478f61[a13_0x3a5901(0x10a)]=a13_0x3a5901(0x110);var a13_0x347491={};a13_0x347491[a13_0x3a5901(0x125)]=a13_0x7f1f41,a13_0x347491[a13_0x3a5901(0x124)]=a13_0x478f61,exports[a13_0x3a5901(0x122)]=a13_0x347491;var a13_0x4dcb8f={};a13_0x4dcb8f[a13_0x3a5901(0x11a)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';function a13_0x320d(_0x35031a,_0x1243be){var _0x24f020=a13_0x24f0();return a13_0x320d=function(_0x320db4,_0x465015){_0x320db4=_0x320db4-0x109;var _0x2e51a4=_0x24f020[_0x320db4];return _0x2e51a4;},a13_0x320d(_0x35031a,_0x1243be);}function a13_0x24f0(){var _0x49d71d=['Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','809337ZRILhT','2lAnPQy','13780pXZvOK','missing','invalid','bstackAccessKey','87118IFlvYs','ERROR_MESSAGES','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','125WsoyUV','91xAXOGj','HELP_MESSAGES','1452UVbEYB','command','options','connect','footer','1179EueYdi','31494hYOnGb','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.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','971996IeBYWh','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','hosts','18337detxeQ','152472dIuqQU','root','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.'];a13_0x24f0=function(){return _0x49d71d;};return a13_0x24f0();}var a13_0x418e58={};a13_0x418e58[a13_0x3a5901(0x11a)]=a13_0x3a5901(0x10e),a13_0x418e58[a13_0x3a5901(0x11b)]=a13_0x3a5901(0x10d);var a13_0x3527ca={};a13_0x3527ca[a13_0x3a5901(0x11c)]=a13_0x4dcb8f,a13_0x3527ca['hosts']=a13_0x418e58,exports[a13_0x3a5901(0x11e)]=a13_0x3527ca;
1
+ var a13_0x2087ed=a13_0x2d93;(function(_0x196288,_0x427c05){var _0x5e0403=a13_0x2d93,_0x112be1=_0x196288();while(!![]){try{var _0x3f7851=parseInt(_0x5e0403(0x69))/0x1+parseInt(_0x5e0403(0x7a))/0x2+-parseInt(_0x5e0403(0x80))/0x3*(-parseInt(_0x5e0403(0x78))/0x4)+-parseInt(_0x5e0403(0x7b))/0x5*(parseInt(_0x5e0403(0x79))/0x6)+-parseInt(_0x5e0403(0x7d))/0x7+-parseInt(_0x5e0403(0x7e))/0x8*(-parseInt(_0x5e0403(0x74))/0x9)+parseInt(_0x5e0403(0x7f))/0xa;if(_0x3f7851===_0x427c05)break;else _0x112be1['push'](_0x112be1['shift']());}catch(_0x54e29a){_0x112be1['push'](_0x112be1['shift']());}}}(a13_0x6c69,0xe8c2d));var a13_0x11de76={};a13_0x11de76[a13_0x2087ed(0x6a)]=a13_0x2087ed(0x7c),a13_0x11de76['hosts']=a13_0x2087ed(0x76);var a13_0x36f434={};a13_0x36f434['root']='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x36f434[a13_0x2087ed(0x6d)]=a13_0x2087ed(0x6c),a13_0x36f434[a13_0x2087ed(0x72)]=a13_0x2087ed(0x70);var a13_0xa0a9f7={};function a13_0x2d93(_0x24677e,_0x519ccf){var _0x6c6934=a13_0x6c69();return a13_0x2d93=function(_0x2d93f5,_0x482911){_0x2d93f5=_0x2d93f5-0x69;var _0x53b7e5=_0x6c6934[_0x2d93f5];return _0x53b7e5;},a13_0x2d93(_0x24677e,_0x519ccf);}a13_0xa0a9f7[a13_0x2087ed(0x6f)]=a13_0x11de76,a13_0xa0a9f7[a13_0x2087ed(0x77)]=a13_0x36f434,exports[a13_0x2087ed(0x75)]=a13_0xa0a9f7;var a13_0x1e6a30={};a13_0x1e6a30[a13_0x2087ed(0x6b)]=a13_0x2087ed(0x6e);var a13_0x2dd2e3={};a13_0x2dd2e3[a13_0x2087ed(0x6b)]=a13_0x2087ed(0x73),a13_0x2dd2e3['invalid']='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.';function a13_0x6c69(){var _0x15c568=['249393gRjPne','788158ascRDt','bstackAccessKey','missing','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','connect','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','options','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','hosts','footer','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','1850877ezWFsV','HELP_MESSAGES','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.','command','4gpSDOZ','4047282MvuGjZ','3694258eLIRrr','10GJSCPX','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','8873417IqGhst','16FbZLoD','4403900fdfmKi'];a13_0x6c69=function(){return _0x15c568;};return a13_0x6c69();}var a13_0x45223d={};a13_0x45223d[a13_0x2087ed(0x6a)]=a13_0x1e6a30,a13_0x45223d[a13_0x2087ed(0x71)]=a13_0x2dd2e3,exports['ERROR_MESSAGES']=a13_0x45223d;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x5a54a7=a14_0xa6ec;(function(_0x583977,_0x4d7d3e){const _0xafcedb=a14_0xa6ec,_0x297d82=_0x583977();while(!![]){try{const _0x5762f3=-parseInt(_0xafcedb(0x1fc))/0x1*(parseInt(_0xafcedb(0x27e))/0x2)+parseInt(_0xafcedb(0x27b))/0x3*(parseInt(_0xafcedb(0x282))/0x4)+-parseInt(_0xafcedb(0x236))/0x5*(parseInt(_0xafcedb(0x294))/0x6)+parseInt(_0xafcedb(0x2b8))/0x7*(parseInt(_0xafcedb(0x248))/0x8)+-parseInt(_0xafcedb(0x2bd))/0x9*(parseInt(_0xafcedb(0x2c9))/0xa)+parseInt(_0xafcedb(0x22a))/0xb+parseInt(_0xafcedb(0x295))/0xc*(parseInt(_0xafcedb(0x2c7))/0xd);if(_0x5762f3===_0x4d7d3e)break;else _0x297d82['push'](_0x297d82['shift']());}catch(_0x1d883c){_0x297d82['push'](_0x297d82['shift']());}}}(a14_0x1555,0x3be63));const fs=require('fs'),path=require(a14_0x5a54a7(0x2ae)),util=require(a14_0x5a54a7(0x1fd)),{spawn}=require(a14_0x5a54a7(0x1ed)),logger=require(a14_0x5a54a7(0x1f4))[a14_0x5a54a7(0x1f3)],{default:BrowserStackSetup}=require(a14_0x5a54a7(0x288)),helper=require(a14_0x5a54a7(0x2c8)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x5a54a7(0x1f6)),{updateTestRerunConfig}=require(a14_0x5a54a7(0x2ac)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x5a54a7(0x25e)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a14_0x5a54a7(0x223)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a14_0x5a54a7(0x291)),{FRAMEWORKS}=require(a14_0x5a54a7(0x216)),PerformanceTester=require(a14_0x5a54a7(0x212)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x5a54a7(0x234)],TestOrchestrationHandler=require(a14_0x5a54a7(0x208)),BrowserstackCLI=require(a14_0x5a54a7(0x263)),{checkPwandBootstrapCli}=require(a14_0x5a54a7(0x207)),ClientTroubleShootingService=require(a14_0x5a54a7(0x2b2)),{checkAccessibilityPlatformConfig}=require(a14_0x5a54a7(0x1f6)),getUserJestConfigs=async(_0x46b62c,_0x33bbcc)=>{const _0x5bb493=a14_0x5a54a7,_0x5511a7={'CNlpv':'jest-config/build/readConfigFileAndSetRootDir.js','PKiko':_0x5bb493(0x254),'ydTSK':function(_0x55677f,_0x3ef8b8){return _0x55677f||_0x3ef8b8;},'VcEnt':function(_0x5a4d32,_0x27bbdf){return _0x5a4d32(_0x27bbdf);},'wfYin':_0x5bb493(0x255),'EjyVd':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','yMXAA':_0x5bb493(0x280),'fgXlM':_0x5bb493(0x23a),'KrYXr':_0x5bb493(0x28d)};let _0x365300;try{_0x365300=helper[_0x5bb493(0x27f)](_0x5511a7[_0x5bb493(0x27d)],_0x5511a7[_0x5bb493(0x201)]);}catch{const _0x5a60ce=helper[_0x5bb493(0x27f)](_0x5511a7[_0x5bb493(0x201)]);_0x365300={'default':async _0xc12fe0=>{const _0x33a4db=_0x5bb493,_0x5a65f0=await _0x5a60ce[_0x33a4db(0x267)](_0xc12fe0,{});return _0x5a65f0['config'];}};}const _0x3a464c=_0x33bbcc[_0x5bb493(0x238)](_0x515204=>_0x515204===_0x5bb493(0x265));if(!helper['isUndefined'](_0x46b62c[_0x5bb493(0x2aa)])){logger[_0x5bb493(0x237)](_0x5bb493(0x251)+_0x46b62c[_0x5bb493(0x2aa)]),process[_0x5bb493(0x229)]['USER_CONFIG_DETAILS_PATH']=_0x46b62c['config'];const _0x43f187=await(0x0,_0x365300['default'])(path[_0x5bb493(0x25b)](_0x46b62c['config']));return _0x33bbcc[_0x5bb493(0x276)](_0x3a464c,0x2),_0x5511a7['ydTSK'](_0x43f187,{});}const _0x3d7af9=_0x5511a7[_0x5bb493(0x26a)](require,path[_0x5bb493(0x1f7)](process[_0x5bb493(0x23f)](),_0x5511a7['wfYin']));if(_0x3d7af9[_0x5bb493(0x257)])return logger[_0x5bb493(0x237)](_0x5511a7['EjyVd']),_0x3d7af9[_0x5bb493(0x257)];const _0x1af9b8=['js',_0x5511a7[_0x5bb493(0x258)],_0x5511a7[_0x5bb493(0x2a4)],_0x5511a7[_0x5bb493(0x270)],'ts'];for(const _0x3503a0 of _0x1af9b8){const _0x2225fd=path[_0x5bb493(0x1f7)](process[_0x5bb493(0x23f)](),_0x5bb493(0x297)+_0x3503a0);if(fs[_0x5bb493(0x23b)](_0x2225fd)){process['env'][_0x5bb493(0x2a2)]=_0x2225fd;const _0x7beccf=await(0x0,_0x365300[_0x5bb493(0x2b0)])(_0x2225fd);return _0x7beccf;}}return{};},getSerial=(_0x503e7d,_0x445730)=>{const _0x38dfbb=a14_0x5a54a7,_0x3f4769={};_0x3f4769[_0x38dfbb(0x2bb)]=_0x38dfbb(0x250),_0x3f4769['dUFZI']=function(_0x4a1674,_0x3820ca){return _0x4a1674>_0x3820ca;},_0x3f4769[_0x38dfbb(0x202)]=_0x38dfbb(0x272);const _0x453b3c=_0x3f4769;let _0x19a5a7=_0x453b3c[_0x38dfbb(0x2bb)];return _0x453b3c['dUFZI'](_0x503e7d['length'],0x1)&&(!_0x445730['runInBand']&&(helper[_0x38dfbb(0x2bc)](_0x445730['maxWorkers'])||_0x453b3c['dUFZI'](_0x445730[_0x38dfbb(0x1fb)],0x1)))&&(_0x19a5a7=_0x453b3c[_0x38dfbb(0x202)]),_0x19a5a7;},getMaxWorkers=(_0x583a91,_0x41a342,_0x465a82)=>{const _0x50722f=a14_0x5a54a7,_0x25b66e={'Qdxls':function(_0x5d2205,_0x1fee37){return _0x5d2205(_0x1fee37);}};let _0x92020c=0x1;if(!helper['isUndefined'](_0x41a342['parallelsPerPlatform']))_0x92020c=_0x25b66e[_0x50722f(0x25d)](parseInt,_0x41a342[_0x50722f(0x2c5)]);else{if(!helper[_0x50722f(0x2bc)](_0x583a91[_0x50722f(0x1fb)]))_0x92020c=_0x583a91[_0x50722f(0x1fb)];else!helper[_0x50722f(0x2bc)](_0x465a82[_0x50722f(0x1fb)])&&(_0x92020c=_0x465a82[_0x50722f(0x1fb)]);}return _0x92020c;};async function run(_0x5bf346,_0x30e1d3,_0x435320){const _0x4bc29c=a14_0x5a54a7,_0x4a3bcf={'ltTvF':_0x4bc29c(0x268),'pGpvB':'jest','OEcun':function(_0x90b1b1,_0x2e0814){return _0x90b1b1(_0x2e0814);},'HEWwv':_0x4bc29c(0x219),'YIsei':function(_0x193644,_0x207c63,_0x162848,_0x3635a2){return _0x193644(_0x207c63,_0x162848,_0x3635a2);},'PbcAU':function(_0x3324d9,_0x2bfe21){return _0x3324d9!=_0x2bfe21;},'tXLzX':_0x4bc29c(0x250),'QeVzl':function(_0x9a8d6f,_0x466840,_0x1d2f29){return _0x9a8d6f(_0x466840,_0x1d2f29);},'LgeBv':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','lXhNU':function(_0x140c8c,_0x1f386c){return _0x140c8c(_0x1f386c);},'dkUNF':'false','sbeCU':function(_0x55f56e,_0x22d9b7,_0x4517fa){return _0x55f56e(_0x22d9b7,_0x4517fa);},'YRrMA':function(_0x4c4078,_0x432fb7){return _0x4c4078*_0x432fb7;},'OBaIB':function(_0x196c26,_0x48b25e){return _0x196c26===_0x48b25e;},'jETVc':_0x4bc29c(0x233),'pDmki':_0x4bc29c(0x2c3),'iFjDG':_0x4bc29c(0x299),'yLnBC':_0x4bc29c(0x28a),'JDYMx':_0x4bc29c(0x1f2),'ZLtad':_0x4bc29c(0x2a6),'bKuqZ':_0x4bc29c(0x1e7),'yDsxN':_0x4bc29c(0x214),'IGrjR':'customSequencer.js','TXXbw':_0x4bc29c(0x24a),'iDTzs':_0x4bc29c(0x20c),'aMdig':_0x4bc29c(0x26e),'SRHoB':'test-observability','XwOck':_0x4bc29c(0x284),'ukECp':_0x4bc29c(0x29b),'LKETF':_0x4bc29c(0x244),'UrZEj':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','UBAOY':_0x4bc29c(0x2af),'sVwAJ':_0x4bc29c(0x261),'SNqrt':'test.setup.js','HZGLJ':_0x4bc29c(0x21b),'NEVvZ':'default','JUCrh':_0x4bc29c(0x243),'ujGFI':'@jest/core','ZlIQS':_0x4bc29c(0x226),'todDN':function(_0x52c329,_0x3ac3b8){return _0x52c329>_0x3ac3b8;},'wXpZW':_0x4bc29c(0x26c),'AXvJd':'npx','vxbAM':_0x4bc29c(0x265),'Wzhaw':function(_0x2a23e4,_0x16f4cd){return _0x2a23e4===_0x16f4cd;},'oaWRa':_0x4bc29c(0x21f),'rqoiE':_0x4bc29c(0x22b),'ZqcMo':_0x4bc29c(0x211)},_0x464131=helper[_0x4bc29c(0x220)](_0x4a3bcf[_0x4bc29c(0x293)]);global['__isPlaywrightInstalled']=!!_0x464131;helper[_0x4bc29c(0x266)]()?(await _0x435320[_0x4bc29c(0x23e)](_0x5bf346),await helper[_0x4bc29c(0x25a)](_0x435320[_0x4bc29c(0x2aa)])):await _0x435320['setupTCGAuth']();await _0x4a3bcf[_0x4bc29c(0x231)](checkPwandBootstrapCli,_0x464131,constants[_0x4bc29c(0x296)][_0x4bc29c(0x22e)],_0x435320);if(!_0x435320['config'])return;_0x4a3bcf['PbcAU'](_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x23d)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x23d)]:process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4a3bcf[_0x4bc29c(0x28e)];const _0x52d7a1=new TestOrchestrationHandler(_0x435320['config']),_0x3b51e0=await _0x4a3bcf[_0x4bc29c(0x253)](getUserJestConfigs,_0x5bf346,_0x30e1d3);logger['info'](_0x4a3bcf[_0x4bc29c(0x29d)]);const _0x25a5c7=Object[_0x4bc29c(0x28f)]({},_0x3b51e0);_0x25a5c7['testEnvironmentOptions']=Object['assign']({},_0x25a5c7['testEnvironmentOptions'],{'server':helper[_0x4bc29c(0x24b)](_0x435320[_0x4bc29c(0x2aa)]),'environment':_0x3b51e0[_0x4bc29c(0x2c4)]}),_0x25a5c7[_0x4bc29c(0x23c)][_0x4bc29c(0x259)]=_0x4a3bcf[_0x4bc29c(0x22c)](getPercyOptions,_0x435320[_0x4bc29c(0x2aa)]);const _0xd3a934=helper['useW3C'](_0x435320[_0x4bc29c(0x2aa)]);!helper[_0x4bc29c(0x2bc)](_0x435320[_0x4bc29c(0x2aa)]['accessibilityOptions'])&&(process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4bc29c(0x26f)](_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x210)]));if(!BrowserstackCLI[_0x4bc29c(0x20d)]()['isRunning']()){const _0x2761d0=await TestHubHandler[_0x4bc29c(0x252)](FRAMEWORKS[_0x4bc29c(0x22e)],_0x435320);}const _0x5ea376=helper[_0x4bc29c(0x2bf)](_0x435320[_0x4bc29c(0x2aa)],_0xd3a934,constants[_0x4bc29c(0x296)][_0x4bc29c(0x22e)]);process[_0x4bc29c(0x229)][_0x4bc29c(0x2b3)]=JSON[_0x4bc29c(0x26f)](_0x5ea376);let _0x3466a5=_0x435320[_0x4bc29c(0x2aa)]['accessibility'];_0x3466a5=_0x3466a5||accessibilityHelper[_0x4bc29c(0x20e)](_0x435320['config']),process[_0x4bc29c(0x229)][_0x4bc29c(0x239)]=_0x3466a5,logger[_0x4bc29c(0x262)](_0x4bc29c(0x1fe)+_0x3466a5+_0x4bc29c(0x222)+BrowserstackCLI[_0x4bc29c(0x20d)]()[_0x4bc29c(0x1f5)]());if(_0x464131)try{const _0x439fa6=_0x4a3bcf['lXhNU'](checkAccessibilityPlatformConfig,_0x435320['config']);process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x439fa6?_0x4a3bcf[_0x4bc29c(0x28e)]:_0x4a3bcf[_0x4bc29c(0x230)],logger[_0x4bc29c(0x262)](_0x4bc29c(0x1f0)+_0x439fa6+_0x4bc29c(0x1ea)+process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x48dd47){logger[_0x4bc29c(0x262)]('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x4bc29c(0x203)](_0x48dd47));}_0x25a5c7['testEnvironmentOptions']['capabilities']=_0x5ea376,_0x25a5c7[_0x4bc29c(0x23c)]['serial__']=_0x4a3bcf[_0x4bc29c(0x273)](getSerial,_0x5ea376,_0x5bf346),_0x25a5c7[_0x4bc29c(0x23c)]['parallels__']=_0x4a3bcf[_0x4bc29c(0x231)](getMaxWorkers,_0x5bf346,_0x435320['config'],_0x3b51e0),_0x25a5c7['testEnvironmentOptions']['proxySettings']=_0x435320['config'][_0x4bc29c(0x2a5)],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x221)]=_0x4a3bcf['YRrMA'](_0x5bf346[_0x4bc29c(0x271)],0x1)||0x1388,_0x25a5c7['testEnvironmentOptions']['skipSessionName']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x232)][_0x4bc29c(0x21e)],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x281)]=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x232)][_0x4bc29c(0x281)],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x2c6)]=_0x435320[_0x4bc29c(0x2aa)]['logLevel'],_0x25a5c7[_0x4bc29c(0x23c)]['turboScaleUrl']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x1e8)],_0x25a5c7[_0x4bc29c(0x23c)]['platformCaps']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x213)];const _0x63bda=helper[_0x4bc29c(0x269)](_0x435320[_0x4bc29c(0x2aa)]);if(!helper[_0x4bc29c(0x2c1)](_0x63bda)){helper[_0x4bc29c(0x206)](_0x63bda[_0x4bc29c(0x1ee)])&&(_0x25a5c7[_0x4bc29c(0x23c)][_0x4bc29c(0x2b6)]=_0x63bda[_0x4bc29c(0x1ee)][_0x4bc29c(0x24d)]);if(helper[_0x4bc29c(0x206)](_0x63bda[_0x4bc29c(0x249)])&&helper[_0x4bc29c(0x206)](_0x63bda[_0x4bc29c(0x249)]['workingDir'])){const _0x4c7001={};_0x4c7001[_0x4bc29c(0x2ca)]=_0x63bda[_0x4bc29c(0x249)]['maxFailures'],_0x4c7001[_0x4bc29c(0x235)]=_0x63bda[_0x4bc29c(0x249)]['workingDir'],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x21c)]=_0x4c7001;}}let _0x16dcc6='';_0x4a3bcf[_0x4bc29c(0x25f)](helper[_0x4bc29c(0x27a)](),constants[_0x4bc29c(0x1fa)][_0x4bc29c(0x204)])?_0x16dcc6=_0x4a3bcf[_0x4bc29c(0x246)]:_0x16dcc6=_0x4a3bcf['pDmki'];const _0x5cbd47=_0x16dcc6,_0x31828d=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf['iFjDG'],_0x4a3bcf[_0x4bc29c(0x2b9)]),_0x205fdc=path['join'](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf['JDYMx']),_0x31e174=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf['iFjDG'],_0x4a3bcf[_0x4bc29c(0x2b4)]);_0x25a5c7[_0x4bc29c(0x2c4)]&&(process[_0x4bc29c(0x229)][_0x4bc29c(0x26b)]=_0x25a5c7[_0x4bc29c(0x2c4)]);_0x25a5c7[_0x4bc29c(0x2c4)]=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf['bKuqZ']),_0x25a5c7[_0x4bc29c(0x209)]=_0x205fdc,_0x25a5c7['setupFilesAfterEnv']=_0x25a5c7[_0x4bc29c(0x1ff)]||[],_0x25a5c7[_0x4bc29c(0x1ff)][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1f8)]));_0x52d7a1[_0x4bc29c(0x2ba)]()&&(_0x25a5c7[_0x4bc29c(0x25c)]=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf[_0x4bc29c(0x1ef)]));if(testhubUtils[_0x4bc29c(0x22f)]()){let _0x108831=null;try{_0x108831=helper[_0x4bc29c(0x27f)](_0x4a3bcf['TXXbw'],_0x4a3bcf[_0x4bc29c(0x22d)]);}catch(_0x15a586){try{_0x108831=helper[_0x4bc29c(0x27f)](_0x4a3bcf[_0x4bc29c(0x2c0)],_0x4a3bcf[_0x4bc29c(0x22d)]);}catch(_0x25db52){_0x4a3bcf['OEcun'](debug,_0x4bc29c(0x20f)+_0x25db52);}}_0x108831&&(_0x25a5c7[_0x4bc29c(0x1ff)][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x26d)],_0x4a3bcf[_0x4bc29c(0x298)])),_0x25a5c7['testRunner']=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf['ukECp']));}_0x25a5c7[_0x4bc29c(0x24c)]=_0x25a5c7[_0x4bc29c(0x24c)]||[];try{helper[_0x4bc29c(0x287)](),_0x25a5c7[_0x4bc29c(0x24c)][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x285)]));}catch{logger[_0x4bc29c(0x262)](_0x4a3bcf[_0x4bc29c(0x27c)]);}try{helper[_0x4bc29c(0x2b5)][_0x4bc29c(0x205)](null,[_0x4a3bcf[_0x4bc29c(0x293)],_0x4a3bcf[_0x4bc29c(0x225)]]),logger[_0x4bc29c(0x262)](_0x4a3bcf[_0x4bc29c(0x217)]),_0x25a5c7['setupFiles'][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf['SNqrt']));}catch(_0x38663a){logger['debug'](_0x4a3bcf[_0x4bc29c(0x1ec)],_0x38663a);}_0x25a5c7[_0x4bc29c(0x21a)]=_0x25a5c7[_0x4bc29c(0x21a)]||[_0x4a3bcf[_0x4bc29c(0x2a3)]],_0x4a3bcf[_0x4bc29c(0x273)](updateTestRerunConfig,_0x25a5c7,_0x435320);const _0x2b698d=fs[_0x4bc29c(0x29e)](_0x31e174),_0x1a0e5d=helper[_0x4bc29c(0x292)](_0x4a3bcf[_0x4bc29c(0x21d)],_0x4a3bcf['ujGFI']);!_0x1a0e5d[_0x4bc29c(0x279)]?fs[_0x4bc29c(0x218)](_0x25a5c7[_0x4bc29c(0x209)],_0x4bc29c(0x2b7)+_0x2b698d+_0x4bc29c(0x2be)+_0x435320['config'][_0x4bc29c(0x213)][_0x4bc29c(0x1f1)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs['writeFileSync'](_0x25a5c7[_0x4bc29c(0x209)],_0x4bc29c(0x2b7)+_0x2b698d+_0x4bc29c(0x215)+_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x213)][_0x4bc29c(0x1f1)]+_0x4bc29c(0x283));logger[_0x4bc29c(0x237)](_0x4bc29c(0x29f)+_0x5cbd47+_0x4bc29c(0x200)),fs[_0x4bc29c(0x218)](_0x5cbd47,_0x4bc29c(0x20b)+JSON[_0x4bc29c(0x26f)](_0x25a5c7)+_0x4bc29c(0x24e));if(_0x52d7a1[_0x4bc29c(0x2ba)]()){logger[_0x4bc29c(0x262)](_0x4a3bcf['ZlIQS']);const _0x4bd782=await _0x52d7a1[_0x4bc29c(0x286)](_0x25a5c7,_0x30e1d3[_0x4bc29c(0x278)](0x1),_0x5cbd47);logger[_0x4bc29c(0x262)](_0x4bc29c(0x2a1)+JSON[_0x4bc29c(0x26f)](_0x4bd782)+_0x4bc29c(0x2ab));const _0x992278=await _0x52d7a1[_0x4bc29c(0x241)](_0x4bd782);logger[_0x4bc29c(0x262)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x4bc29c(0x26f)](_0x992278)),_0x992278&&_0x4a3bcf['todDN'](_0x992278[_0x4bc29c(0x1f1)],0x0)&&(process[_0x4bc29c(0x229)][_0x4bc29c(0x2c2)]=_0x992278?.[_0x4bc29c(0x1f7)](','));}logger['info'](_0x4a3bcf[_0x4bc29c(0x24f)]);testhubUtils[_0x4bc29c(0x22f)]()&&TestDetails[_0x4bc29c(0x29a)]();helper['filterBrowserstackArgs']({},_0x30e1d3),PerformanceTester['end'](PerformanceEvents[_0x4bc29c(0x2cb)]);const _0x5178b7=_0x4a3bcf[_0x4bc29c(0x231)](spawn,_0x4a3bcf['AXvJd'],[_0x4a3bcf[_0x4bc29c(0x245)],_0x4a3bcf[_0x4bc29c(0x29c)],_0x5cbd47,..._0x30e1d3[_0x4bc29c(0x278)](0x1)],{'shell':_0x4a3bcf[_0x4bc29c(0x20a)](process[_0x4bc29c(0x240)],_0x4a3bcf[_0x4bc29c(0x274)]),'stdio':_0x4a3bcf[_0x4bc29c(0x1e9)],'env':Object['assign']({},process[_0x4bc29c(0x229)])});_0x5178b7['on'](_0x4a3bcf['ZqcMo'],async _0x4b4bbc=>{const _0x44dc54=_0x4bc29c;PerformanceTester['start'](PerformanceEvents[_0x44dc54(0x264)]);try{const {browserstackFolderPath:_0x140f32,tcgConfigPath:_0x5ee341}=helper[_0x44dc54(0x277)]();fs[_0x44dc54(0x28b)](_0x5ee341),fs[_0x44dc54(0x256)](_0x140f32);}catch(_0x38c2a8){logger['debug'](_0x4a3bcf[_0x44dc54(0x1f9)],_0x38c2a8);}process[_0x44dc54(0x260)]=_0x4b4bbc,logger[_0x44dc54(0x262)](_0x44dc54(0x2a9)+_0x4b4bbc),logger[_0x44dc54(0x237)](_0x44dc54(0x2a7)+_0x5cbd47);if(helper[_0x44dc54(0x206)](_0x63bda)&&helper[_0x44dc54(0x206)](_0x63bda[_0x44dc54(0x249)])&&fs[_0x44dc54(0x23b)](_0x63bda[_0x44dc54(0x249)][_0x44dc54(0x235)]))try{const _0x1066da={};_0x1066da[_0x44dc54(0x2a8)]=!![],_0x1066da[_0x44dc54(0x2b1)]=!![],fs['rmSync'](_0x63bda[_0x44dc54(0x249)]['workingDir'],_0x1066da),logger[_0x44dc54(0x262)](_0x44dc54(0x224)+_0x63bda['abortBuildOnFailure'][_0x44dc54(0x235)]);}catch(_0x13d775){logger['error'](_0x44dc54(0x228)+_0x13d775);}let _0x4f8ef4=null;if(fs['existsSync'](_0x31828d)){_0x4f8ef4=fs[_0x44dc54(0x29e)](_0x31828d);try{_0x4f8ef4=JSON[_0x44dc54(0x290)](_0x4f8ef4);}catch(_0x15ca66){logger[_0x44dc54(0x262)](_0x44dc54(0x227)+_0x31828d+',\x20'+_0x4f8ef4+'\x20:\x20'+_0x15ca66);}fs[_0x44dc54(0x28b)](_0x31828d);}fs['unlinkSync'](_0x5cbd47),fs[_0x44dc54(0x28b)](_0x205fdc),_0x4f8ef4&&(_0x435320[_0x44dc54(0x275)]=helper['getErrorMessageFromResults'](_0x4f8ef4,_0x4a3bcf[_0x44dc54(0x245)],_0x435320));const _0x2d13f4=BrowserstackCLI[_0x44dc54(0x28c)]();try{await TestHubHandler[_0x44dc54(0x289)](),await BrowserstackCLI[_0x44dc54(0x20d)]()[_0x44dc54(0x289)]();}catch(_0x7d828f){console['log'](_0x7d828f),_0x4a3bcf['OEcun'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x44dc54(0x203)](_0x7d828f));}testOpsHelper[_0x44dc54(0x242)](),TestDetails[_0x44dc54(0x2a0)](),await utilities['finalExecution'](_0x435320,_0x2d13f4);});}function a14_0x1555(){const _0x13a17d=['accessibilityOptions','close','../../helpers/performance/performance-tester','platforms','jest.setup.js','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','../../helpers/test-observability/constants','sVwAJ','writeFileSync','@playwright/test','reporters','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','failFast','JUCrh','skipSessionName','win32','getPackageVersion','timeout__',',\x20CLI\x20running:\x20','../../helpers/percy/utils','Deleted\x20fail-fast\x20state\x20folder:\x20','UBAOY','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Error\x20while\x20parsing\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','env','3877533iOrUur','inherit','lXhNU','iDTzs','JEST','shouldProcessEventForTesthub','dkUNF','YIsei','testContextOptions','jest_browserstack.config.cjs','EVENTS','workingDir','10aWguMx','info','findIndex','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cjs','existsSync','testEnvironmentOptions','testObservability','initialize','cwd','platform','reorderTestFiles','printBuildLink','@jest/core/build/ReporterDispatcher.js','test_before.setup.js','pGpvB','jETVc','push','1144urGxdi','abortBuildOnFailure','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','getHubUrl','setupFiles','maxRetries','\x0amodule.exports\x20=\x20config;','wXpZW','true','Getting\x20your\x20jest\x20configs\x20from\x20','launchBuild','QeVzl','jest-config','package.json','rmdirSync','jest','yMXAA','browserStackPercyOptions','handleApp','resolve','testSequencer','Qdxls','../../helpers/test-observability/utils','OBaIB','exitCode','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','debug','../v2/browserstackCLI','SDK_CLEANUP','--config','isBrowserstackInfra','readInitialOptions','error\x20removing\x20tcg\x20config\x20file','parseTestOrchestrationOptions','VcEnt','BSTACK_JEST_TEST_ENV','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','SRHoB','jest-circus/build/runner.js','stringify','KrYXr','testTimeout','false','sbeCU','oaWRa','errorMessage','splice','getTCGConfigFilePaths','slice','error','getPackageType','831CVWZGe','UrZEj','CNlpv','889270xJQXBn','requireModule','mjs','skipSessionStatus','4564mJWSRX',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','data-hooks.js','LKETF','findTestFiles','requireSeleniumWebdriver','../../helpers/BrowserStackSetup','stop','jest_browserstack_results.json','unlinkSync','isCLIEnabled','json','tXLzX','assign','parse','../../helpers/testhub/utils','resolveModule','HEWwv','528414YaaofA','1303908YKwpVN','FRAMEWORKS','jest.config.','XwOck','customImplements','setup','customCircus.js','vxbAM','LgeBv','readFileSync','Creating\x20','shutdown','Found:\x20','USER_CONFIG_DETAILS_PATH','NEVvZ','fgXlM','proxySettings','customTestRunnerTemplate.js','Deleting\x20','recursive','child\x20process\x20exited\x20with\x20code\x20','config','\x20test\x20files\x20to\x20run.','./test-observability/helper','exports','path','playwright','default','force','../utils/clientTroubleshootingService','BROWSERSTACK_CAPABILITIES','ZLtad','requirePWModule','retries__','\x0a\x20\x20\x20\x20\x20\x20','17157drxzLE','yLnBC','isTestOrchestrationEnabled','UIGaU','isUndefined','72ysgInq','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','prepareCapabilities','aMdig','isEmpty','JEST_TEST_ORDER','jest_browserstack.config.js','testEnvironment','parallelsPerPlatform','browserStackLogLevel','13lbxPFX','../../helpers/helper','326990ixXime','failureThresholdCount','SDK_SETUP','customEnvironment.js','turboScaleUrl','rqoiE',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','iFjDG','HZGLJ','child_process','retryTestsOnFailure','IGrjR','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','length','customTestRunner.js','winstonLogger','../../helpers/logger','isRunning','../../helpers/accessibility-automation/helper','join','yDsxN','ltTvF','PACKAGE_TYPE','maxWorkers','1nrPkfo','util','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','setupFilesAfterEnv','\x20with\x20browserstack\x20jest\x20configs','PKiko','mqcwf','format','MODULE','apply','isNotUndefined','../../helpers/playwright-helper','../../helpers/test-orchestration/testOrchestrationHandler','runner','Wzhaw','const\x20config=','jest-circus','getInstance','checkAccessibilityPlatformConfig','Unable\x20to\x20find\x20jest-circus,\x20'];a14_0x1555=function(){return _0x13a17d;};return a14_0x1555();}function a14_0xa6ec(_0x2a6930,_0x286fd0){const _0x1555b4=a14_0x1555();return a14_0xa6ec=function(_0xa6ec5d,_0x38fe54){_0xa6ec5d=_0xa6ec5d-0x1e7;let _0x1169d8=_0x1555b4[_0xa6ec5d];return _0x1169d8;},a14_0xa6ec(_0x2a6930,_0x286fd0);}module[a14_0x5a54a7(0x2ad)]=run;
2
+ 'use strict';function a14_0x28f7(_0x559606,_0x50ba06){const _0x2ea4ff=a14_0x2ea4();return a14_0x28f7=function(_0x28f7e8,_0x46c8e4){_0x28f7e8=_0x28f7e8-0xa6;let _0x62c049=_0x2ea4ff[_0x28f7e8];return _0x62c049;},a14_0x28f7(_0x559606,_0x50ba06);}const a14_0x2f9b6a=a14_0x28f7;(function(_0x213cbe,_0x5e9c66){const _0x121a59=a14_0x28f7,_0x3f3a1b=_0x213cbe();while(!![]){try{const _0x217303=-parseInt(_0x121a59(0xab))/0x1*(parseInt(_0x121a59(0x165))/0x2)+parseInt(_0x121a59(0x183))/0x3*(-parseInt(_0x121a59(0x115))/0x4)+-parseInt(_0x121a59(0xc5))/0x5*(parseInt(_0x121a59(0x118))/0x6)+-parseInt(_0x121a59(0x12d))/0x7+-parseInt(_0x121a59(0x10f))/0x8*(parseInt(_0x121a59(0xe1))/0x9)+parseInt(_0x121a59(0xf4))/0xa+parseInt(_0x121a59(0x11e))/0xb*(parseInt(_0x121a59(0x149))/0xc);if(_0x217303===_0x5e9c66)break;else _0x3f3a1b['push'](_0x3f3a1b['shift']());}catch(_0x8a21d6){_0x3f3a1b['push'](_0x3f3a1b['shift']());}}}(a14_0x2ea4,0x63d0c));const fs=require('fs'),path=require(a14_0x2f9b6a(0x13f)),util=require('util'),{spawn}=require('child_process'),logger=require(a14_0x2f9b6a(0xca))[a14_0x2f9b6a(0x186)],{default:BrowserStackSetup}=require(a14_0x2f9b6a(0xa8)),helper=require(a14_0x2f9b6a(0x114)),utilities=require(a14_0x2f9b6a(0x156)),constants=require(a14_0x2f9b6a(0x127)),accessibilityHelper=require(a14_0x2f9b6a(0x15e)),{updateTestRerunConfig}=require(a14_0x2f9b6a(0x146)),testOpsHelper=require(a14_0x2f9b6a(0xf2)),{debug}=require(a14_0x2f9b6a(0xf2)),TestDetails=require(a14_0x2f9b6a(0x140)),{getPercyOptions}=require(a14_0x2f9b6a(0xb9)),TestHubHandler=require(a14_0x2f9b6a(0x160)),testhubUtils=require(a14_0x2f9b6a(0x184)),{FRAMEWORKS}=require(a14_0x2f9b6a(0x105)),PerformanceTester=require(a14_0x2f9b6a(0x17d)),PerformanceEvents=require(a14_0x2f9b6a(0x13d))[a14_0x2f9b6a(0x106)],TestOrchestrationHandler=require(a14_0x2f9b6a(0xea)),BrowserstackCLI=require(a14_0x2f9b6a(0x182)),{checkPwandBootstrapCli}=require(a14_0x2f9b6a(0x154)),ClientTroubleShootingService=require(a14_0x2f9b6a(0x14c)),{checkAccessibilityPlatformConfig}=require(a14_0x2f9b6a(0x15e)),getUserJestConfigs=async(_0x46caf1,_0x988c7e)=>{const _0x4728ff=a14_0x2f9b6a,_0x4b32b2={'qkiym':_0x4728ff(0xd1),'vWZJe':_0x4728ff(0x167),'UmPfE':function(_0x29c978,_0x275a77){return _0x29c978||_0x275a77;},'UvhqV':function(_0x430287,_0x10f0b8){return _0x430287(_0x10f0b8);},'IHbIn':'package.json','DzsFx':_0x4728ff(0x172),'vCrTo':_0x4728ff(0xf0),'oqGNq':'cjs','DZnEZ':_0x4728ff(0x169)};let _0x46cd1f;try{_0x46cd1f=helper[_0x4728ff(0x155)](_0x4b32b2[_0x4728ff(0xfd)],_0x4b32b2[_0x4728ff(0xc8)]);}catch{const _0x3f22e0=helper[_0x4728ff(0x155)](_0x4b32b2[_0x4728ff(0xc8)]);_0x46cd1f={'default':async _0x5a4426=>{const _0x1042e1=await _0x3f22e0['readInitialOptions'](_0x5a4426,{});return _0x1042e1['config'];}};}const _0x98dcfe=_0x988c7e[_0x4728ff(0x13c)](_0x4990fb=>_0x4990fb===_0x4728ff(0x15f));if(!helper[_0x4728ff(0xdf)](_0x46caf1['config'])){logger[_0x4728ff(0x120)](_0x4728ff(0xdb)+_0x46caf1['config']),process[_0x4728ff(0x136)]['USER_CONFIG_DETAILS_PATH']=_0x46caf1['config'];const _0x17442f=await(0x0,_0x46cd1f[_0x4728ff(0x159)])(path[_0x4728ff(0xf1)](_0x46caf1[_0x4728ff(0x116)]));return _0x988c7e[_0x4728ff(0x17b)](_0x98dcfe,0x2),_0x4b32b2[_0x4728ff(0x161)](_0x17442f,{});}const _0xc5f21c=_0x4b32b2[_0x4728ff(0xfb)](require,path[_0x4728ff(0x178)](process[_0x4728ff(0x158)](),_0x4b32b2[_0x4728ff(0x142)]));if(_0xc5f21c[_0x4728ff(0xb8)])return logger[_0x4728ff(0x120)](_0x4b32b2[_0x4728ff(0x128)]),_0xc5f21c[_0x4728ff(0xb8)];const _0x191623=['js',_0x4b32b2[_0x4728ff(0x104)],_0x4b32b2[_0x4728ff(0x13e)],_0x4b32b2[_0x4728ff(0x134)],'ts'];for(const _0x226dcc of _0x191623){const _0x102417=path[_0x4728ff(0x178)](process[_0x4728ff(0x158)](),'jest.config.'+_0x226dcc);if(fs[_0x4728ff(0xef)](_0x102417)){process[_0x4728ff(0x136)][_0x4728ff(0xa9)]=_0x102417;const _0x4d7bfe=await(0x0,_0x46cd1f[_0x4728ff(0x159)])(_0x102417);return _0x4d7bfe;}}return{};},getSerial=(_0x112626,_0x6e4607)=>{const _0x767683=a14_0x2f9b6a,_0x551d6a={};_0x551d6a['ATVnS']=_0x767683(0x103),_0x551d6a[_0x767683(0xcc)]=function(_0xe39767,_0x304ff9){return _0xe39767>_0x304ff9;},_0x551d6a['XdMoK']=function(_0xf03352,_0x4b8719){return _0xf03352>_0x4b8719;},_0x551d6a['eihXs']=_0x767683(0x101);const _0x239944=_0x551d6a;let _0x2dee6d=_0x239944[_0x767683(0x113)];return _0x239944[_0x767683(0xcc)](_0x112626['length'],0x1)&&(!_0x6e4607[_0x767683(0xd5)]&&(helper['isUndefined'](_0x6e4607[_0x767683(0xee)])||_0x239944[_0x767683(0xaa)](_0x6e4607['maxWorkers'],0x1)))&&(_0x2dee6d=_0x239944[_0x767683(0xf8)]),_0x2dee6d;},getMaxWorkers=(_0x22a15e,_0x460a9e,_0x43238d)=>{const _0x1c1c60=a14_0x2f9b6a,_0x2e62a8={'ZXQpo':function(_0x3a0792,_0x2300e8){return _0x3a0792(_0x2300e8);}};let _0x43cc6a=0x1;if(!helper[_0x1c1c60(0xdf)](_0x460a9e[_0x1c1c60(0xb6)]))_0x43cc6a=_0x2e62a8['ZXQpo'](parseInt,_0x460a9e['parallelsPerPlatform']);else{if(!helper[_0x1c1c60(0xdf)](_0x22a15e[_0x1c1c60(0xee)]))_0x43cc6a=_0x22a15e[_0x1c1c60(0xee)];else!helper[_0x1c1c60(0xdf)](_0x43238d[_0x1c1c60(0xee)])&&(_0x43cc6a=_0x43238d[_0x1c1c60(0xee)]);}return _0x43cc6a;};async function run(_0x4bc783,_0x54554c,_0x127ad3){const _0x390674=a14_0x2f9b6a,_0x5cef29={'vQAJe':'error\x20removing\x20tcg\x20config\x20file','LqMCU':_0x390674(0xb8),'xYpYV':function(_0x11ea42,_0xa62034){return _0x11ea42(_0xa62034);},'wAEMN':_0x390674(0x124),'ENGik':function(_0xaf887b,_0x10d324,_0x65bb23,_0x3a05ee){return _0xaf887b(_0x10d324,_0x65bb23,_0x3a05ee);},'YLugd':function(_0x2987c9,_0x1f14e1){return _0x2987c9!=_0x1f14e1;},'kRcFe':_0x390674(0x103),'TDfOr':function(_0x78c8d5,_0xd1d323,_0x1ae354){return _0x78c8d5(_0xd1d323,_0x1ae354);},'FvAGW':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','kVNvp':function(_0x30be43,_0x49b82d){return _0x30be43(_0x49b82d);},'elOcA':_0x390674(0x101),'rLPGq':function(_0x3a14bf,_0xa47dc){return _0x3a14bf*_0xa47dc;},'BqAAT':function(_0x26c045,_0x5f1782){return _0x26c045===_0x5f1782;},'YsmEM':_0x390674(0x145),'jIGwR':_0x390674(0x189),'oKDRk':_0x390674(0x13a),'TaokV':_0x390674(0x11b),'xcQcv':_0x390674(0x110),'zfHwv':'customTestRunnerTemplate.js','Wntsm':_0x390674(0x11c),'FPlhe':_0x390674(0x123),'egWBD':_0x390674(0xbf),'GBbVk':_0x390674(0xe4),'VqSWF':_0x390674(0xad),'yAtwE':_0x390674(0x18b),'yBYkG':_0x390674(0x132),'VFtUW':'data-hooks.js','MmYqA':_0x390674(0x180),'dYMgE':_0x390674(0xac),'JEjsS':_0x390674(0xda),'BFmMs':'playwright','LtQrk':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','yTSVg':'test.setup.js','YLwPl':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','BJmaQ':_0x390674(0x159),'byjML':function(_0x3c09c8,_0x3e6099,_0x1fccfe){return _0x3c09c8(_0x3e6099,_0x1fccfe);},'iljqT':_0x390674(0xbb),'jJVoo':_0x390674(0x157),'iZLKd':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','icqVB':function(_0x830da,_0x1c4679){return _0x830da>_0x1c4679;},'rlgWh':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','clQlg':_0x390674(0x143),'MoTkK':_0x390674(0x15f),'lKQAb':function(_0x4571a7,_0x75e367){return _0x4571a7===_0x75e367;},'UROjX':_0x390674(0x109),'lMvDz':_0x390674(0x14b),'OuwJT':_0x390674(0x148)},_0x2adc0e=helper[_0x390674(0xc2)](_0x5cef29[_0x390674(0xe6)]);global['__isPlaywrightInstalled']=!!_0x2adc0e;helper['isBrowserstackInfra']()?(await _0x127ad3['initialize'](_0x4bc783),await helper[_0x390674(0x14e)](_0x127ad3[_0x390674(0x116)])):await _0x127ad3[_0x390674(0x15c)]();await _0x5cef29[_0x390674(0x11a)](checkPwandBootstrapCli,_0x2adc0e,constants[_0x390674(0xf9)][_0x390674(0x10a)],_0x127ad3);if(!_0x127ad3[_0x390674(0x116)])return;_0x5cef29[_0x390674(0xd6)](_0x127ad3[_0x390674(0x116)]['testObservability'],null)?process[_0x390674(0x136)][_0x390674(0xf5)]=_0x127ad3[_0x390674(0x116)]['testObservability']:process[_0x390674(0x136)][_0x390674(0xf5)]=_0x5cef29[_0x390674(0xc7)];const _0x2ae2f4=new TestOrchestrationHandler(_0x127ad3[_0x390674(0x116)]),_0x196e28=await _0x5cef29[_0x390674(0x14a)](getUserJestConfigs,_0x4bc783,_0x54554c);logger[_0x390674(0x120)](_0x5cef29[_0x390674(0x10e)]);const _0x1ca090=Object[_0x390674(0xf3)]({},_0x196e28);_0x1ca090[_0x390674(0x10c)]=Object[_0x390674(0xf3)]({},_0x1ca090[_0x390674(0x10c)],{'server':helper[_0x390674(0xd4)](_0x127ad3[_0x390674(0x116)]),'environment':_0x196e28[_0x390674(0xc6)]}),_0x1ca090['testEnvironmentOptions'][_0x390674(0xdd)]=_0x5cef29['kVNvp'](getPercyOptions,_0x127ad3[_0x390674(0x116)]);const _0x3271e4=helper[_0x390674(0x17c)](_0x127ad3[_0x390674(0x116)]);!helper[_0x390674(0xdf)](_0x127ad3[_0x390674(0x116)][_0x390674(0x171)])&&(process[_0x390674(0x136)][_0x390674(0x14d)]=JSON[_0x390674(0x11f)](_0x127ad3[_0x390674(0x116)][_0x390674(0x171)]));if(!BrowserstackCLI[_0x390674(0xcb)]()['isRunning']()){const _0x578d01=await TestHubHandler[_0x390674(0xeb)](FRAMEWORKS[_0x390674(0x10a)],_0x127ad3);}const _0x3efe3b=helper[_0x390674(0x111)](_0x127ad3[_0x390674(0x116)],_0x3271e4,constants['FRAMEWORKS'][_0x390674(0x10a)]);process[_0x390674(0x136)][_0x390674(0x10d)]=JSON[_0x390674(0x11f)](_0x3efe3b);let _0x5019ec=_0x127ad3['config'][_0x390674(0x153)];_0x5019ec=_0x5019ec||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x127ad3[_0x390674(0x116)]),process[_0x390674(0x136)][_0x390674(0x12c)]=_0x5019ec,logger[_0x390674(0x147)](_0x390674(0xbd)+_0x5019ec+_0x390674(0xc9)+BrowserstackCLI[_0x390674(0xcb)]()['isRunning']());if(_0x2adc0e)try{const _0x2986dc=_0x5cef29[_0x390674(0x131)](checkAccessibilityPlatformConfig,_0x127ad3[_0x390674(0x116)]);process[_0x390674(0x136)][_0x390674(0x12a)]=_0x2986dc?_0x5cef29[_0x390674(0xc7)]:_0x5cef29['elOcA'],logger[_0x390674(0x147)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x2986dc+_0x390674(0x125)+process[_0x390674(0x136)][_0x390674(0x12a)]);}catch(_0x23291e){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x390674(0xd9)](_0x23291e));}_0x1ca090[_0x390674(0x10c)][_0x390674(0x100)]=_0x3efe3b,_0x1ca090[_0x390674(0x10c)][_0x390674(0x16a)]=_0x5cef29[_0x390674(0x14a)](getSerial,_0x3efe3b,_0x4bc783),_0x1ca090[_0x390674(0x10c)]['parallels__']=_0x5cef29[_0x390674(0x11a)](getMaxWorkers,_0x4bc783,_0x127ad3[_0x390674(0x116)],_0x196e28),_0x1ca090['testEnvironmentOptions']['proxySettings']=_0x127ad3[_0x390674(0x116)]['proxySettings'],_0x1ca090[_0x390674(0x10c)]['timeout__']=_0x5cef29[_0x390674(0x17f)](_0x4bc783['testTimeout'],0x1)||0x1388,_0x1ca090[_0x390674(0x10c)][_0x390674(0x177)]=_0x127ad3[_0x390674(0x116)][_0x390674(0x187)][_0x390674(0x177)],_0x1ca090[_0x390674(0x10c)]['skipSessionStatus']=_0x127ad3[_0x390674(0x116)][_0x390674(0x187)]['skipSessionStatus'],_0x1ca090['testEnvironmentOptions'][_0x390674(0xf7)]=_0x127ad3['config']['logLevel'],_0x1ca090[_0x390674(0x10c)][_0x390674(0x16e)]=_0x127ad3[_0x390674(0x116)][_0x390674(0x16e)],_0x1ca090[_0x390674(0x10c)][_0x390674(0xcf)]=_0x127ad3[_0x390674(0x116)]['platforms'];const _0xd0b330=helper[_0x390674(0x175)](_0x127ad3[_0x390674(0x116)]);if(!helper['isEmpty'](_0xd0b330)){helper[_0x390674(0xcd)](_0xd0b330['retryTestsOnFailure'])&&(_0x1ca090[_0x390674(0x10c)][_0x390674(0x112)]=_0xd0b330[_0x390674(0xd7)][_0x390674(0x137)]);if(helper[_0x390674(0xcd)](_0xd0b330[_0x390674(0x119)])&&helper['isNotUndefined'](_0xd0b330[_0x390674(0x119)][_0x390674(0xe3)])){const _0x32773f={};_0x32773f[_0x390674(0x133)]=_0xd0b330[_0x390674(0x119)][_0x390674(0xfe)],_0x32773f['workingDir']=_0xd0b330[_0x390674(0x119)]['workingDir'],_0x1ca090[_0x390674(0x10c)][_0x390674(0xff)]=_0x32773f;}}let _0x5366d6='';_0x5cef29[_0x390674(0xe5)](helper[_0x390674(0xe2)](),constants[_0x390674(0x130)]['MODULE'])?_0x5366d6=_0x5cef29['YsmEM']:_0x5366d6=_0x5cef29[_0x390674(0xd0)];const _0x2a6c21=_0x5366d6,_0x1c136b=path[_0x390674(0x178)](__dirname,_0x5cef29['oKDRk'],_0x5cef29[_0x390674(0x12b)]),_0x2fb518=path[_0x390674(0x178)](__dirname,_0x5cef29[_0x390674(0xb5)],_0x5cef29[_0x390674(0xc0)]),_0x506843=path[_0x390674(0x178)](__dirname,_0x5cef29[_0x390674(0xb5)],_0x5cef29[_0x390674(0x121)]);_0x1ca090[_0x390674(0xc6)]&&(process[_0x390674(0x136)]['BSTACK_JEST_TEST_ENV']=_0x1ca090[_0x390674(0xc6)]);_0x1ca090['testEnvironment']=path['join'](__dirname,_0x5cef29[_0x390674(0xb5)],_0x5cef29[_0x390674(0xfc)]),_0x1ca090[_0x390674(0x152)]=_0x2fb518,_0x1ca090['setupFilesAfterEnv']=_0x1ca090[_0x390674(0x16d)]||[],_0x1ca090['setupFilesAfterEnv']['push'](path['join'](__dirname,_0x5cef29[_0x390674(0x18a)]));_0x2ae2f4[_0x390674(0x166)]()&&(_0x1ca090[_0x390674(0x139)]=path['join'](__dirname,_0x5cef29[_0x390674(0xb5)],_0x5cef29[_0x390674(0x16f)]));if(testhubUtils[_0x390674(0xc3)]()){let _0xccd033=null;try{_0xccd033=helper['requireModule'](_0x5cef29[_0x390674(0xce)],_0x5cef29[_0x390674(0x135)]);}catch(_0x2ad099){try{_0xccd033=helper['requireModule'](_0x5cef29[_0x390674(0xb4)],_0x5cef29[_0x390674(0x135)]);}catch(_0x2c1298){_0x5cef29['xYpYV'](debug,_0x390674(0x181)+_0x2c1298);}}_0xccd033&&(_0x1ca090['setupFilesAfterEnv'][_0x390674(0xb7)](path[_0x390674(0x178)](__dirname,_0x5cef29[_0x390674(0x15d)],_0x5cef29['VFtUW'])),_0x1ca090[_0x390674(0xb1)]=path[_0x390674(0x178)](__dirname,_0x5cef29['oKDRk'],_0x5cef29[_0x390674(0x14f)]));}_0x1ca090[_0x390674(0xf6)]=_0x1ca090['setupFiles']||[];try{helper[_0x390674(0xb2)](),_0x1ca090['setupFiles'][_0x390674(0xb7)](path[_0x390674(0x178)](__dirname,_0x5cef29[_0x390674(0x15b)]));}catch{logger[_0x390674(0x147)](_0x5cef29[_0x390674(0x122)]);}try{helper[_0x390674(0x141)][_0x390674(0xfa)](null,[_0x5cef29[_0x390674(0xe6)],_0x5cef29[_0x390674(0x107)]]),logger['debug'](_0x5cef29[_0x390674(0xaf)]),_0x1ca090[_0x390674(0xf6)]['push'](path[_0x390674(0x178)](__dirname,_0x5cef29[_0x390674(0xe9)]));}catch(_0x2f464b){logger['debug'](_0x5cef29[_0x390674(0x10b)],_0x2f464b);}_0x1ca090[_0x390674(0x129)]=_0x1ca090[_0x390674(0x129)]||[_0x5cef29[_0x390674(0x16c)]],_0x5cef29[_0x390674(0x117)](updateTestRerunConfig,_0x1ca090,_0x127ad3);const _0x1895af=fs[_0x390674(0xd8)](_0x506843),_0x4bd327=helper[_0x390674(0x188)](_0x5cef29[_0x390674(0xdc)],_0x5cef29[_0x390674(0xe0)]);!_0x4bd327[_0x390674(0xe7)]?fs[_0x390674(0xde)](_0x1ca090[_0x390674(0x152)],_0x390674(0x151)+_0x1895af+_0x390674(0xa7)+_0x127ad3[_0x390674(0x116)][_0x390674(0xd2)]['length']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs[_0x390674(0xde)](_0x1ca090[_0x390674(0x152)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1895af+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x127ad3[_0x390674(0x116)][_0x390674(0xd2)][_0x390674(0x185)]+_0x390674(0xae));logger['info'](_0x390674(0xbe)+_0x2a6c21+_0x390674(0x144)),fs[_0x390674(0xde)](_0x2a6c21,'const\x20config='+JSON[_0x390674(0x11f)](_0x1ca090)+_0x390674(0xed));if(_0x2ae2f4['isTestOrchestrationEnabled']()){logger[_0x390674(0x147)](_0x5cef29['iZLKd']);const _0xcebd9b=await _0x2ae2f4[_0x390674(0x164)](_0x1ca090,_0x54554c[_0x390674(0x138)](0x1),_0x2a6c21);logger[_0x390674(0x147)](_0x390674(0xc1)+JSON[_0x390674(0x11f)](_0xcebd9b)+_0x390674(0xbc));const _0x55b54f=await _0x2ae2f4['reorderTestFiles'](_0xcebd9b);logger[_0x390674(0x147)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x390674(0x11f)](_0x55b54f)),_0x55b54f&&_0x5cef29[_0x390674(0xec)](_0x55b54f[_0x390674(0x185)],0x0)&&(process[_0x390674(0x136)]['JEST_TEST_ORDER']=_0x55b54f?.[_0x390674(0x178)](','));}logger[_0x390674(0x120)](_0x5cef29[_0x390674(0x163)]);testhubUtils[_0x390674(0xc3)]()&&TestDetails[_0x390674(0xc4)]();helper['filterBrowserstackArgs']({},_0x54554c),PerformanceTester[_0x390674(0x12f)](PerformanceEvents[_0x390674(0x16b)]);const _0x23c748=_0x5cef29['ENGik'](spawn,_0x5cef29[_0x390674(0xba)],[_0x5cef29[_0x390674(0x168)],_0x5cef29[_0x390674(0xa6)],_0x2a6c21,..._0x54554c['slice'](0x1)],{'shell':_0x5cef29[_0x390674(0x18c)](process['platform'],_0x5cef29[_0x390674(0x176)]),'stdio':_0x5cef29[_0x390674(0x17e)],'env':Object['assign']({},process[_0x390674(0x136)])});_0x23c748['on'](_0x5cef29[_0x390674(0xb0)],async _0xfe9c39=>{const _0x2369da=_0x390674;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x27e0a1,tcgConfigPath:_0x3dd32f}=helper[_0x2369da(0x170)]();fs[_0x2369da(0xd3)](_0x3dd32f),fs[_0x2369da(0x179)](_0x27e0a1);}catch(_0x4b8aab){logger['debug'](_0x5cef29[_0x2369da(0x102)],_0x4b8aab);}process[_0x2369da(0xb3)]=_0xfe9c39,logger[_0x2369da(0x147)]('child\x20process\x20exited\x20with\x20code\x20'+_0xfe9c39),logger[_0x2369da(0x120)]('Deleting\x20'+_0x2a6c21);if(helper[_0x2369da(0xcd)](_0xd0b330)&&helper['isNotUndefined'](_0xd0b330['abortBuildOnFailure'])&&fs[_0x2369da(0xef)](_0xd0b330[_0x2369da(0x119)][_0x2369da(0xe3)]))try{const _0x5cd692={};_0x5cd692[_0x2369da(0x11d)]=!![],_0x5cd692[_0x2369da(0x174)]=!![],fs['rmSync'](_0xd0b330[_0x2369da(0x119)]['workingDir'],_0x5cd692),logger[_0x2369da(0x147)](_0x2369da(0x126)+_0xd0b330['abortBuildOnFailure'][_0x2369da(0xe3)]);}catch(_0x59950e){logger['error']('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x59950e);}let _0x5c0897=null;if(fs[_0x2369da(0xef)](_0x1c136b)){_0x5c0897=fs[_0x2369da(0xd8)](_0x1c136b);try{_0x5c0897=JSON[_0x2369da(0x15a)](_0x5c0897);}catch(_0x1c2e3c){logger[_0x2369da(0x147)]('Error\x20while\x20parsing\x20'+_0x1c136b+',\x20'+_0x5c0897+'\x20:\x20'+_0x1c2e3c);}fs[_0x2369da(0xd3)](_0x1c136b);}fs['unlinkSync'](_0x2a6c21),fs[_0x2369da(0xd3)](_0x2fb518),_0x5c0897&&(_0x127ad3[_0x2369da(0x108)]=helper[_0x2369da(0x12e)](_0x5c0897,_0x5cef29[_0x2369da(0x168)],_0x127ad3));const _0x2f798f=BrowserstackCLI[_0x2369da(0x150)]();try{await TestHubHandler[_0x2369da(0xe8)](),await BrowserstackCLI[_0x2369da(0xcb)]()[_0x2369da(0xe8)]();}catch(_0x179925){console['log'](_0x179925),_0x5cef29['xYpYV'](debug,_0x2369da(0x162)+util['format'](_0x179925));}testOpsHelper['printBuildLink'](),TestDetails[_0x2369da(0x13b)](),await utilities[_0x2369da(0x173)](_0x127ad3,_0x2f798f);});}module[a14_0x2f9b6a(0x17a)]=run;function a14_0x2ea4(){const _0x844f4=['platforms','unlinkSync','getHubUrl','runInBand','YLugd','retryTestsOnFailure','readFileSync','format','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Getting\x20your\x20jest\x20configs\x20from\x20','iljqT','browserStackPercyOptions','writeFileSync','isUndefined','jJVoo','909qPEEwl','getPackageType','workingDir','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','BqAAT','wAEMN','error','stop','yTSVg','../../helpers/test-orchestration/testOrchestrationHandler','launchBuild','icqVB','\x0amodule.exports\x20=\x20config;','maxWorkers','existsSync','mjs','resolve','../../helpers/test-observability/utils','assign','3931040azcLQG','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupFiles','browserStackLogLevel','eihXs','FRAMEWORKS','apply','UvhqV','Wntsm','qkiym','maxFailures','failFast','capabilities','false','vQAJe','true','vCrTo','../../helpers/test-observability/constants','EVENTS','BFmMs','errorMessage','win32','JEST','YLwPl','testEnvironmentOptions','BROWSERSTACK_CAPABILITIES','FvAGW','63992oFNutV','customTestRunner.js','prepareCapabilities','retries__','ATVnS','../../helpers/helper','2043932xeHSFc','config','byjML','6312aFjWhG','abortBuildOnFailure','ENGik','jest_browserstack_results.json','customEnvironment.js','recursive','26301gKtjHY','stringify','info','zfHwv','JEjsS','jest.setup.js','@playwright/test',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','Deleted\x20fail-fast\x20state\x20folder:\x20','../utils/constants','DzsFx','reporters','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','TaokV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','1449707Rtvpav','getErrorMessageFromResults','end','PACKAGE_TYPE','xYpYV','test-observability','failureThresholdCount','DZnEZ','VqSWF','env','maxRetries','slice','testSequencer','customImplements','shutdown','findIndex','../../helpers/performance/constants','oqGNq','path','./test-observability/test-details','requirePWModule','IHbIn','npx','\x20with\x20browserstack\x20jest\x20configs','jest_browserstack.config.cjs','./test-observability/helper','debug','close','12612Jddmsn','TDfOr','inherit','../utils/clientTroubleshootingService','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','handleApp','MmYqA','isCLIEnabled','\x0a\x20\x20\x20\x20\x20\x20','runner','accessibility','../../helpers/playwright-helper','requireModule','../../helpers/utilities','@jest/core','cwd','default','parse','dYMgE','setupTCGAuth','yBYkG','../../helpers/accessibility-automation/helper','--config','../../helpers/testhub/testhubHandler','UmPfE','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','rlgWh','findTestFiles','879916TwjIxI','isTestOrchestrationEnabled','jest-config','LqMCU','json','serial__','SDK_SETUP','BJmaQ','setupFilesAfterEnv','turboScaleUrl','egWBD','getTCGConfigFilePaths','accessibilityOptions','Getting\x20your\x20jest\x20configs\x20from\x20package.json','finalExecution','force','parseTestOrchestrationOptions','UROjX','skipSessionName','join','rmdirSync','exports','splice','useW3C','../../helpers/performance/performance-tester','lMvDz','rLPGq','customCircus.js','Unable\x20to\x20find\x20jest-circus,\x20','../v2/browserstackCLI','3ERkswl','../../helpers/testhub/utils','length','winstonLogger','testContextOptions','resolveModule','jest_browserstack.config.js','FPlhe','jest-circus/build/runner.js','lKQAb','MoTkK','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','../../helpers/BrowserStackSetup','USER_CONFIG_DETAILS_PATH','XdMoK','1GWGOyy','test_before.setup.js','jest-circus',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','LtQrk','OuwJT','testRunner','requireSeleniumWebdriver','exitCode','yAtwE','oKDRk','parallelsPerPlatform','push','jest','../../helpers/percy/utils','clQlg','@jest/core/build/ReporterDispatcher.js','\x20test\x20files\x20to\x20run.','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','Creating\x20','customSequencer.js','xcQcv','Found:\x20','getPackageVersion','shouldProcessEventForTesthub','setup','2525rlZEkk','testEnvironment','kRcFe','vWZJe',',\x20CLI\x20running:\x20','../../helpers/logger','getInstance','Ivytl','isNotUndefined','GBbVk','platformCaps','jIGwR','jest-config/build/readConfigFileAndSetRootDir.js'];a14_0x2ea4=function(){return _0x844f4;};return a14_0x2ea4();}
@@ -1 +1 @@
1
- function a15_0x4949(){const _0x5c15f1=['default','3643845nAYWJw','path','initRequireModule','6060929qvBcTD','914341uKAvEr','1388378xYWjFV','jest-circus/build/runner.js','yiGQf','../../../helpers/helper','wzxVX','requireInternalModule','jest-circus','join','exports','10320696KiCdFy','DhYRr','212946jEzlLw','includes','6443476BeoRQc','function','5qyDVhH','jestAdapterInit','8NyLPiw'];a15_0x4949=function(){return _0x5c15f1;};return a15_0x4949();}function a15_0x52a5(_0x5f1a9b,_0x7ecbb0){const _0x4949f2=a15_0x4949();return a15_0x52a5=function(_0x52a548,_0x167c1f){_0x52a548=_0x52a548-0x144;let _0x3d773f=_0x4949f2[_0x52a548];return _0x3d773f;},a15_0x52a5(_0x5f1a9b,_0x7ecbb0);}const a15_0x1f2fea=a15_0x52a5;(function(_0x4c98e8,_0xa55b8d){const _0x256532=a15_0x52a5,_0x45e67c=_0x4c98e8();while(!![]){try{const _0x3666d8=parseInt(_0x256532(0x151))/0x1+parseInt(_0x256532(0x152))/0x2+parseInt(_0x256532(0x14d))/0x3+-parseInt(_0x256532(0x147))/0x4+parseInt(_0x256532(0x149))/0x5*(-parseInt(_0x256532(0x145))/0x6)+parseInt(_0x256532(0x150))/0x7*(parseInt(_0x256532(0x14b))/0x8)+-parseInt(_0x256532(0x15b))/0x9;if(_0x3666d8===_0xa55b8d)break;else _0x45e67c['push'](_0x45e67c['shift']());}catch(_0xa9422b){_0x45e67c['push'](_0x45e67c['shift']());}}}(a15_0x4949,0xdab90));const path=require(a15_0x1f2fea(0x14e)),{requireModule}=require(a15_0x1f2fea(0x155));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a15_0x1f2fea(0x158));}catch{initJestAdapter=requireModule(a15_0x1f2fea(0x153),'jest-circus');}initJestAdapter=typeof initJestAdapter===a15_0x1f2fea(0x148)?initJestAdapter:initJestAdapter[a15_0x1f2fea(0x14c)];const FRAMEWORK_INITIALIZER=path[a15_0x1f2fea(0x159)](__dirname,'customJestAdapterInit.js');module[a15_0x1f2fea(0x15a)]=(..._0x39f7ae)=>{const _0x3d9b9d=a15_0x1f2fea,_0xa52c37={'wzxVX':_0x3d9b9d(0x14a),'DhYRr':function(_0x4250b7,_0x1fb8c8){return _0x4250b7===_0x1fb8c8;},'yiGQf':function(_0x31287e,..._0x3af5bf){return _0x31287e(..._0x3af5bf);}};return _0x39f7ae[0x3][_0x3d9b9d(0x14f)]=_0x39f7ae[0x3][_0x3d9b9d(0x157)],_0x39f7ae[0x3]['requireInternalModule']=(..._0xde5b44)=>{const _0x320136=_0x3d9b9d;if(_0xde5b44[0x0]&&_0xde5b44[0x0][_0x320136(0x146)](_0xa52c37[_0x320136(0x156)])&&_0xa52c37[_0x320136(0x144)](_0xde5b44[0x1],undefined))return _0x39f7ae[0x3][_0x320136(0x14f)](FRAMEWORK_INITIALIZER);return _0x39f7ae[0x3]['initRequireModule'](..._0xde5b44);},_0xa52c37[_0x3d9b9d(0x154)](initJestAdapter,..._0x39f7ae);};
1
+ const a15_0x25b2cf=a15_0x1df3;(function(_0x41dada,_0x48ec2e){const _0x29e8a5=a15_0x1df3,_0x29e95e=_0x41dada();while(!![]){try{const _0x4ea261=parseInt(_0x29e8a5(0x136))/0x1*(parseInt(_0x29e8a5(0x130))/0x2)+-parseInt(_0x29e8a5(0x13c))/0x3+-parseInt(_0x29e8a5(0x131))/0x4+-parseInt(_0x29e8a5(0x12e))/0x5*(parseInt(_0x29e8a5(0x144))/0x6)+-parseInt(_0x29e8a5(0x13a))/0x7*(-parseInt(_0x29e8a5(0x145))/0x8)+parseInt(_0x29e8a5(0x12f))/0x9*(parseInt(_0x29e8a5(0x142))/0xa)+parseInt(_0x29e8a5(0x137))/0xb*(-parseInt(_0x29e8a5(0x13d))/0xc);if(_0x4ea261===_0x48ec2e)break;else _0x29e95e['push'](_0x29e95e['shift']());}catch(_0x1d43c0){_0x29e95e['push'](_0x29e95e['shift']());}}}(a15_0xd50d,0x9beac));const path=require(a15_0x25b2cf(0x147)),{requireModule}=require(a15_0x25b2cf(0x143));function a15_0x1df3(_0x589e5a,_0x50c9d1){const _0xd50d76=a15_0xd50d();return a15_0x1df3=function(_0x1df3a5,_0x3d73ea){_0x1df3a5=_0x1df3a5-0x12e;let _0x2dcee9=_0xd50d76[_0x1df3a5];return _0x2dcee9;},a15_0x1df3(_0x589e5a,_0x50c9d1);}function a15_0xd50d(){const _0x332197=['jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','378812RgSLHW','initRequireModule','531309wzzhPw','12puErow','jest-circus','function','join','requireInternalModule','8437370NbvReQ','../../../helpers/helper','36aUQVpM','8EzASdU','includes','path','178620KShBsM','9YiYbix','122HklWvb','1400544QTZwpS','yQuiM','nbQTN','default','customJestAdapterInit.js','16597eOcGsP','5830561zHjSwT','exports'];a15_0xd50d=function(){return _0x332197;};return a15_0xd50d();}let initJestAdapter;try{initJestAdapter=requireModule(a15_0x25b2cf(0x139),a15_0x25b2cf(0x13e));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js','jest-circus');}initJestAdapter=typeof initJestAdapter===a15_0x25b2cf(0x13f)?initJestAdapter:initJestAdapter[a15_0x25b2cf(0x134)];const FRAMEWORK_INITIALIZER=path[a15_0x25b2cf(0x140)](__dirname,a15_0x25b2cf(0x135));module[a15_0x25b2cf(0x138)]=(..._0xdead6f)=>{const _0x3fcb34=a15_0x25b2cf,_0x471d7d={'nbQTN':'jestAdapterInit','yQuiM':function(_0x4425b3,_0x21916f){return _0x4425b3===_0x21916f;},'nGtoc':function(_0xb3073,..._0x7ba56b){return _0xb3073(..._0x7ba56b);}};return _0xdead6f[0x3]['initRequireModule']=_0xdead6f[0x3][_0x3fcb34(0x141)],_0xdead6f[0x3][_0x3fcb34(0x141)]=(..._0x38640b)=>{const _0xd1e664=_0x3fcb34;if(_0x38640b[0x0]&&_0x38640b[0x0][_0xd1e664(0x146)](_0x471d7d[_0xd1e664(0x133)])&&_0x471d7d[_0xd1e664(0x132)](_0x38640b[0x1],undefined))return _0xdead6f[0x3][_0xd1e664(0x13b)](FRAMEWORK_INITIALIZER);return _0xdead6f[0x3]['initRequireModule'](..._0x38640b);},_0x471d7d['nGtoc'](initJestAdapter,..._0xdead6f);};
@@ -1 +1 @@
1
- function a16_0x4497(){const _0x38fea2=['8cScsNt','../../../helpers/test-observability/requestQueueHandler','JcrHJ','browserStackGlobals','1056614cKCsNn','qwCiC','projectConfig','jestConfig','BToyu','getInstance','nestedKeyValue','__driversArray','jest-environment-node','browserstackPercyBestPlatform','XYJVm','teardown','tXBSf','modifyCommand','FHfIN','Builder','failFastOptions','registerListeners','__webdriver','\x20>\x20','projectName','skipSessionStatus','EyGEn','yzjXQ','../../../helpers/helper','join','isNotUndefined','667390NHsocw','retries__','BSTACK_JEST_TEST_ENV','__skipSessionStatus','isArray','../../../helpers/test-orchestration/failfastManager','AtuMm','testPath','../test-observability/obsReporter','shutdown','shouldFailFast','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','skip','../../../helpers/testhub/utils','info','isTrue','failFast','requireModule','BSTACK_DELTA','test_done','yIXDM','capability','errors','buildName','failFastActive','builder','../../../index','WOCJO','pdReZ','1AHpLhL','__timeout','../../../helpers/test-observability/utils','pIkNm','testContext','browserstackPlatformIndex','77dlrrvD','quit','env','jest-config','__drivers','resolveTestEnvironment','capabilities','471ikhQhE','debug','Error\x20in\x20fail-fast\x20test_done\x20handler:','global','JEST','default','iIvEF','sxFmq','DIKJD','platformCaps','XsaBg','dkdbD','umtIX','FRAMEWORKS','12HAOuYQ','browserstackAgentV2','1955541WlqFzm','sessionNameProvided','testEnvironmentOptions','percy','bstack:options','shouldProcessEventForTesthub','timeout__','zhpiz','configuration','aBZex','../../../helpers/logger','6856XlZJTj','fthhn','jest-resolve','1306719EDTqNJ','onTestDone','cleanupDrivers','700508ESrueK','framework','split','name','getTestEnvironment','48crSolu','__platformCaps','wjEBD','cleanup','538315ILeZHD','XGEWK','cwd','2|4|0|5|3|6|7|1','handleTestEvent','test','kRhIN','../../utils/constants','percyCaptureMode'];a16_0x4497=function(){return _0x38fea2;};return a16_0x4497();}const a16_0x55f03e=a16_0x2a16;(function(_0x2b9224,_0x6cb881){const _0x209601=a16_0x2a16,_0x414ef0=_0x2b9224();while(!![]){try{const _0x3e81c2=parseInt(_0x209601(0x12e))/0x1*(parseInt(_0x209601(0xe0))/0x2)+parseInt(_0x209601(0x13b))/0x3*(-parseInt(_0x209601(0xda))/0x4)+parseInt(_0x209601(0xe9))/0x5*(parseInt(_0x209601(0x149))/0x6)+-parseInt(_0x209601(0xcf))/0x7+-parseInt(_0x209601(0xf2))/0x8*(-parseInt(_0x209601(0xdd))/0x9)+-parseInt(_0x209601(0x111))/0xa*(-parseInt(_0x209601(0x134))/0xb)+-parseInt(_0x209601(0xe5))/0xc*(parseInt(_0x209601(0xf6))/0xd);if(_0x3e81c2===_0x6cb881)break;else _0x414ef0['push'](_0x414ef0['shift']());}catch(_0xe6d60e){_0x414ef0['push'](_0x414ef0['shift']());}}}(a16_0x4497,0x4a4f3));const helper=require(a16_0x55f03e(0x10e)),constants=require(a16_0x55f03e(0xf0)),{isTestObservabilitySession}=require(a16_0x55f03e(0x130)),RequestQueueHandler=require(a16_0x55f03e(0xf3)),ObservabilityReporter=require(a16_0x55f03e(0x119)),testhubUtils=require(a16_0x55f03e(0x11e)),logger=require(a16_0x55f03e(0xd9))['winstonLogger'],getTestEnvironment=((()=>{const _0x41318f=a16_0x55f03e,_0x361408={};_0x361408['aBZex']=_0x41318f(0xdc),_0x361408[_0x41318f(0x141)]=_0x41318f(0x137);const _0x4ccde6=_0x361408;try{const _0x436752=helper['requireModule'](_0x4ccde6[_0x41318f(0xd8)]);if(_0x436752[_0x41318f(0x139)])return _0x436752[_0x41318f(0x139)];const _0x1bb6c9=helper['requireModule'](_0x4ccde6['iIvEF']);if(_0x1bb6c9[_0x41318f(0xe4)])return _0x1bb6c9[_0x41318f(0xe4)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x53a527=a16_0x55f03e,_0x5e8be2={'kRhIN':function(_0x2d5a8b,_0x3c5998){return _0x2d5a8b(_0x3c5998);},'fthhn':'node','wjEBD':function(_0x522d56,_0x184be1){return _0x522d56(_0x184be1);},'dkdbD':_0x53a527(0xfe),'WOCJO':function(_0xd8fb26,_0x344160){return _0xd8fb26(_0x344160);}},_0x344bef=_0x5e8be2[_0x53a527(0xef)](getTestEnvironment,{'rootDir':process[_0x53a527(0xeb)](),'testEnvironment':process[_0x53a527(0x136)][_0x53a527(0x113)]||_0x5e8be2[_0x53a527(0xdb)]});if(!_0x344bef)return _0x5e8be2[_0x53a527(0xe7)](_interopRequireDefault,helper[_0x53a527(0x122)](_0x5e8be2[_0x53a527(0x146)]));return _0x5e8be2[_0x53a527(0x12c)](_interopRequireDefault,helper[_0x53a527(0x122)](_0x344bef));})()),_seleniumWebdriver2=((()=>{const _0x559156=a16_0x55f03e,_0x158357={'TTnsE':function(_0x3058e1,_0x135f26){return _0x3058e1(_0x135f26);}};try{const _0x260702=helper['requireSeleniumWebdriver']();return helper[_0x559156(0x103)](),_0x158357['TTnsE'](_interopRequireDefault,_0x260702);}catch{return null;}})());function _interopRequireDefault(_0x300df1){return _0x300df1&&_0x300df1['__esModule']?_0x300df1:{'default':_0x300df1};}function a16_0x2a16(_0x37cfad,_0x3efd0f){const _0x4497e6=a16_0x4497();return a16_0x2a16=function(_0x2a16ce,_0x4d3f61){_0x2a16ce=_0x2a16ce-0xce;let _0x21823d=_0x4497e6[_0x2a16ce];return _0x21823d;},a16_0x2a16(_0x37cfad,_0x3efd0f);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x55f03e(0x140)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x55f03e(0x140)]{constructor(_0x5912db){const _0x346ae4=a16_0x55f03e,_0x341833={'XsaBg':_0x346ae4(0x135),'mTCJS':function(_0x5e5cf4,_0x1486b7){return _0x5e5cf4+_0x1486b7;},'umtIX':_0x346ae4(0xd3),'pIkNm':function(_0x387e88,_0x1cf3e4){return _0x387e88(_0x1cf3e4);},'TCeEi':_0x346ae4(0x116),'tXBSf':_0x346ae4(0xec),'XYJVm':_0x346ae4(0xd1),'qwCiC':'browserStackPercyOptions','BToyu':_0x346ae4(0xff),'EyGEn':'percyCaptureMode','DIKJD':_0x346ae4(0x12b),'yIXDM':_0x346ae4(0xd2)};super(_0x5912db),this['global'][_0x346ae4(0x12f)]=0x0,this[_0x346ae4(0xd7)]={};!_0x5912db[_0x346ae4(0xd1)]&&(_0x5912db[_0x346ae4(0xd1)]={});if(helper['isBrowserstackInfra']()){_0x5912db[_0x346ae4(0xd1)]=_0x5912db[_0x346ae4(0xf8)]?_0x5912db[_0x346ae4(0xf8)][_0x346ae4(0xd1)]:_0x5912db[_0x346ae4(0xd1)];_seleniumWebdriver2&&(this[_0x346ae4(0x12a)]=new _seleniumWebdriver2[(_0x346ae4(0x140))][(_0x346ae4(0x105))]());this[_0x346ae4(0x126)]=_0x5912db[_0x346ae4(0xf8)]?_0x5912db[_0x346ae4(0xf8)][_0x346ae4(0x126)]:_0x5912db[_0x346ae4(0x126)],this['global'][_0x346ae4(0x12f)]=_0x341833['mTCJS'](_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0xd5)]||0x1388,constants[_0x346ae4(0x123)]),this[_0x346ae4(0x106)]=_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0x121)];if(this[_0x346ae4(0x106)]){const _0x596db8=this[_0x346ae4(0x126)][_0x341833[_0x346ae4(0x147)]]?.[_0x346ae4(0x128)]||'',_0x45ad7b=this[_0x346ae4(0x126)][_0x341833[_0x346ae4(0x147)]]?.[_0x346ae4(0x10a)]||'';this[_0x346ae4(0x121)]=new(_0x341833[_0x346ae4(0x131)](require,_0x341833['TCeEi']))(this[_0x346ae4(0x106)],_0x596db8,_0x45ad7b),this['global'][_0x346ae4(0x129)]=![];}helper[_0x346ae4(0x110)](_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0x112)])&&(this[_0x346ae4(0x13e)]['__jestRetries']=_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0x112)]);}if(testhubUtils[_0x346ae4(0xd4)]()){const _0x6662e2=new ObservabilityReporter();_0x6662e2[_0x346ae4(0x107)]();}this['global'][_0x346ae4(0xf5)]={},this['configuration']=_0x5912db[_0x346ae4(0xd1)],this[_0x346ae4(0xd7)][_0x346ae4(0xe1)]=constants[_0x346ae4(0x148)][_0x346ae4(0x13f)],this[_0x346ae4(0x13e)][_0x346ae4(0x133)]=(_0x5912db[_0x346ae4(0xf8)]?_0x5912db[_0x346ae4(0xf8)]['browserstackPlatformIndex']:_0x5912db['browserstackPlatformIndex'])||0x0,this[_0x346ae4(0x13e)][_0x346ae4(0xe6)]=this[_0x346ae4(0xd7)]&&this[_0x346ae4(0xd7)]['platformCaps']&&Array[_0x346ae4(0x115)](this[_0x346ae4(0xd7)][_0x346ae4(0x144)])&&this['configuration']['platformCaps'][this[_0x346ae4(0x13e)]['browserstackPlatformIndex']]||{};const _0xa45f8c=this[_0x346ae4(0x13e)][_0x346ae4(0x133)],_0x311e4f={...this[_0x346ae4(0xd7)],'capability':this[_0x346ae4(0xd7)]['capabilities']&&Array['isArray'](this[_0x346ae4(0xd7)][_0x346ae4(0x13a)])&&this[_0x346ae4(0xd7)][_0x346ae4(0x13a)][_0xa45f8c]||{},'platformCaps':this['configuration']['platformCaps']&&Array['isArray'](this[_0x346ae4(0xd7)][_0x346ae4(0x144)])&&this[_0x346ae4(0xd7)][_0x346ae4(0x144)][_0xa45f8c]||{}};delete _0x311e4f[_0x346ae4(0x13a)],this[_0x346ae4(0x13e)][_0x346ae4(0xf9)]=_0x311e4f;if(_seleniumWebdriver2){const _0x350d79=_0x341833[_0x346ae4(0x102)][_0x346ae4(0xe2)]('|');let _0x550f9f=0x0;while(!![]){switch(_0x350d79[_0x550f9f++]){case'0':this['global']['browserstackPercyBestPlatform']=helper['nestedKeyValue'](_0x5912db,[_0x341833['XYJVm'],_0x341833[_0x346ae4(0xf7)],_0x341833[_0x346ae4(0xfa)]]);continue;case'1':this['global'][_0x346ae4(0xe8)]=async()=>{const _0x52328d=_0x346ae4;await this[_0x52328d(0x13e)]['driver']['quit'](_0x341833[_0x52328d(0x145)]);};continue;case'2':this[_0x346ae4(0x13e)][_0x346ae4(0x138)]=[];continue;case'3':this[_0x346ae4(0x13e)][_0x346ae4(0xf1)]=helper['nestedKeyValue'](_0x5912db,[_0x341833['XYJVm'],_0x341833[_0x346ae4(0xf7)],_0x341833[_0x346ae4(0x10c)]]);continue;case'4':this['global'][_0x346ae4(0x108)]=_0x341833[_0x346ae4(0x131)](require,_0x341833[_0x346ae4(0x143)])[_0x346ae4(0xce)]({...this[_0x346ae4(0xd7)],'capability':this[_0x346ae4(0x126)]||{}},this,testhubUtils[_0x346ae4(0xd4)]());continue;case'5':this[_0x346ae4(0x13e)][_0x346ae4(0xd2)]=helper[_0x346ae4(0xfc)](_0x5912db,[_0x341833[_0x346ae4(0x100)],_0x341833[_0x346ae4(0xf7)],_0x341833[_0x346ae4(0x125)]]);continue;case'6':helper['isTrue'](this['configuration']['skipSessionName'])?this['global'][_0x346ae4(0xd0)]=!![]:this[_0x346ae4(0x13e)][_0x346ae4(0xd0)]=![];continue;case'7':this[_0x346ae4(0x13e)][_0x346ae4(0x114)]=helper[_0x346ae4(0x120)](this['configuration'][_0x346ae4(0x10b)]);continue;}break;}}}async[a16_0x55f03e(0x101)](){const _0x5488f7=a16_0x55f03e;_seleniumWebdriver2&&(await helper[_0x5488f7(0xdf)](this[_0x5488f7(0x13e)][_0x5488f7(0xfd)]),this['global'][_0x5488f7(0x108)]['Builder']=originalBuilder),await RequestQueueHandler[_0x5488f7(0xfb)]()[_0x5488f7(0x11a)]();}async['setup'](){}async[a16_0x55f03e(0xed)](_0x35068a,_0xa9a917){const _0x3c7e8d=a16_0x55f03e,_0x4b45be={};_0x4b45be[_0x3c7e8d(0x12d)]=function(_0x5049a4,_0x24ef4d){return _0x5049a4===_0x24ef4d;},_0x4b45be[_0x3c7e8d(0x142)]='test_start',_0x4b45be['KZMJX']=_0x3c7e8d(0x11d),_0x4b45be[_0x3c7e8d(0xf4)]=function(_0x35853f,_0x3438c5){return _0x35853f===_0x3438c5;},_0x4b45be['XGEWK']=_0x3c7e8d(0x124),_0x4b45be[_0x3c7e8d(0x104)]=_0x3c7e8d(0x109),_0x4b45be[_0x3c7e8d(0x117)]=function(_0x52303d,_0x1b116a){return _0x52303d===_0x1b116a;},_0x4b45be[_0x3c7e8d(0x10d)]=_0x3c7e8d(0x13d),_0x4b45be[_0x3c7e8d(0xd6)]=function(_0x1d96c2,_0x28a79b){return _0x1d96c2===_0x28a79b;},_0x4b45be['VdIcd']=_0x3c7e8d(0x101);const _0x3b5930=_0x4b45be,{name:_0x5b0f00}=_0x35068a;if(_0x3b5930[_0x3c7e8d(0x12d)](_0x5b0f00,_0x3b5930[_0x3c7e8d(0x142)])){this[_0x3c7e8d(0x13e)][_0x3c7e8d(0x132)]=_0x35068a[_0x3c7e8d(0xee)];if(_0x3b5930[_0x3c7e8d(0x12d)](this[_0x3c7e8d(0x13e)][_0x3c7e8d(0x129)],!![])){const _0x10d1ec=_0x35068a['test'][_0x3c7e8d(0xe3)];logger[_0x3c7e8d(0x11f)](_0x3c7e8d(0x11c)+_0x10d1ec),_0x35068a['test']['mode']=_0x3b5930['KZMJX'];}}if(this[_0x3c7e8d(0x121)]&&_0x3b5930[_0x3c7e8d(0xf4)](_0x5b0f00,_0x3b5930[_0x3c7e8d(0xea)]))try{const _0x5da041=_0x35068a['test'][_0x3c7e8d(0x118)][_0x3c7e8d(0x10f)](_0x3b5930[_0x3c7e8d(0x104)]),_0x1e7429=_0x35068a[_0x3c7e8d(0xee)][_0x3c7e8d(0x127)];await this[_0x3c7e8d(0x121)][_0x3c7e8d(0xde)](_0x5da041,_0x1e7429);const _0x43eaca=await this[_0x3c7e8d(0x121)][_0x3c7e8d(0x11b)]();_0x3b5930['AtuMm'](this['global']['failFastActive'],![])&&_0x3b5930['JcrHJ'](_0x43eaca,!![])&&(this[_0x3c7e8d(0x13e)][_0x3c7e8d(0x129)]=!![]);}catch(_0x219ad6){logger[_0x3c7e8d(0x13c)](_0x3b5930[_0x3c7e8d(0x10d)],_0x219ad6['message']);}_0x3b5930['zhpiz'](_0x5b0f00,_0x3b5930['VdIcd'])&&(this[_0x3c7e8d(0x121)]&&this[_0x3c7e8d(0x121)][_0x3c7e8d(0xe8)]());}}module['exports']=CustomEnvironment;
1
+ const a16_0x4c9c0a=a16_0x10fe;(function(_0x33e0f3,_0x3be7b6){const _0x3ae85f=a16_0x10fe,_0x200075=_0x33e0f3();while(!![]){try{const _0x26dcd1=parseInt(_0x3ae85f(0x17a))/0x1*(parseInt(_0x3ae85f(0x172))/0x2)+-parseInt(_0x3ae85f(0x14a))/0x3+parseInt(_0x3ae85f(0x127))/0x4*(-parseInt(_0x3ae85f(0x163))/0x5)+parseInt(_0x3ae85f(0x168))/0x6+parseInt(_0x3ae85f(0x170))/0x7*(-parseInt(_0x3ae85f(0x169))/0x8)+parseInt(_0x3ae85f(0x12c))/0x9+-parseInt(_0x3ae85f(0x13d))/0xa;if(_0x26dcd1===_0x3be7b6)break;else _0x200075['push'](_0x200075['shift']());}catch(_0x26049e){_0x200075['push'](_0x200075['shift']());}}}(a16_0x49eb,0xc9e27));const helper=require(a16_0x4c9c0a(0x15f)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a16_0x4c9c0a(0x13b)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0x4c9c0a(0x11d)),logger=require(a16_0x4c9c0a(0x14c))[a16_0x4c9c0a(0x11e)],getTestEnvironment=((()=>{const _0xdd5a90=a16_0x4c9c0a,_0x3b7a2c={};_0x3b7a2c['YECoj']=_0xdd5a90(0x153),_0x3b7a2c['fGJqb']=_0xdd5a90(0x152);const _0x46c80e=_0x3b7a2c;try{const _0x8e2eca=helper[_0xdd5a90(0x142)](_0x46c80e['YECoj']);if(_0x8e2eca['resolveTestEnvironment'])return _0x8e2eca[_0xdd5a90(0x12f)];const _0x1468e9=helper[_0xdd5a90(0x142)](_0x46c80e['fGJqb']);if(_0x1468e9[_0xdd5a90(0x16b)])return _0x1468e9[_0xdd5a90(0x16b)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x26a780=a16_0x4c9c0a,_0x511d34={'vLdxh':function(_0x84d4e3,_0x436bc1){return _0x84d4e3(_0x436bc1);},'eRioa':_0x26a780(0x12b),'ohqHj':function(_0x5255d2,_0x77cd75){return _0x5255d2(_0x77cd75);},'blJYc':_0x26a780(0x14b)},_0x439a64=_0x511d34[_0x26a780(0x132)](getTestEnvironment,{'rootDir':process[_0x26a780(0x16a)](),'testEnvironment':process['env'][_0x26a780(0x159)]||_0x511d34[_0x26a780(0x155)]});if(!_0x439a64)return _0x511d34[_0x26a780(0x141)](_interopRequireDefault,helper[_0x26a780(0x142)](_0x511d34[_0x26a780(0x119)]));return _0x511d34[_0x26a780(0x132)](_interopRequireDefault,helper[_0x26a780(0x142)](_0x439a64));})()),_seleniumWebdriver2=((()=>{const _0x570224=a16_0x4c9c0a,_0x454190={'XWcqQ':function(_0x29e173,_0x4c1090){return _0x29e173(_0x4c1090);}};try{const _0x5ce052=helper[_0x570224(0x112)]();return helper[_0x570224(0x174)](),_0x454190[_0x570224(0x113)](_interopRequireDefault,_0x5ce052);}catch{return null;}})());function _interopRequireDefault(_0x226da2){const _0x433bbf=a16_0x4c9c0a;return _0x226da2&&_0x226da2[_0x433bbf(0x140)]?_0x226da2:{'default':_0x226da2};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x4c9c0a(0x17e)][a16_0x4c9c0a(0x175)]:null;function a16_0x10fe(_0x1bbd6d,_0x463dcd){const _0x49eb81=a16_0x49eb();return a16_0x10fe=function(_0x10fedd,_0x4f1863){_0x10fedd=_0x10fedd-0x112;let _0x206081=_0x49eb81[_0x10fedd];return _0x206081;},a16_0x10fe(_0x1bbd6d,_0x463dcd);}class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x51a4e3){const _0x4ddb4b=a16_0x4c9c0a,_0x2acf62={'fHIkK':_0x4ddb4b(0x17b),'PwBwx':function(_0x2efafc,_0x324357){return _0x2efafc+_0x324357;},'culyq':_0x4ddb4b(0x167),'XarBk':function(_0x528a26,_0x554a45){return _0x528a26(_0x554a45);},'sERKW':_0x4ddb4b(0x135),'djOlr':_0x4ddb4b(0x133),'jqVRQ':_0x4ddb4b(0x156),'kEPXd':'browserStackPercyOptions','iGFnM':_0x4ddb4b(0x121),'HGcBy':_0x4ddb4b(0x160),'ibckD':_0x4ddb4b(0x149),'BulrO':_0x4ddb4b(0x134)};super(_0x51a4e3),this['global']['__timeout']=0x0,this[_0x4ddb4b(0x164)]={};!_0x51a4e3[_0x4ddb4b(0x156)]&&(_0x51a4e3[_0x4ddb4b(0x156)]={});if(helper[_0x4ddb4b(0x181)]()){_0x51a4e3['testEnvironmentOptions']=_0x51a4e3[_0x4ddb4b(0x147)]?_0x51a4e3['projectConfig']['testEnvironmentOptions']:_0x51a4e3[_0x4ddb4b(0x156)];_seleniumWebdriver2&&(this[_0x4ddb4b(0x12e)]=new _seleniumWebdriver2[(_0x4ddb4b(0x17e))][(_0x4ddb4b(0x175))]());this[_0x4ddb4b(0x145)]=_0x51a4e3['projectConfig']?_0x51a4e3['projectConfig'][_0x4ddb4b(0x145)]:_0x51a4e3[_0x4ddb4b(0x145)],this[_0x4ddb4b(0x129)][_0x4ddb4b(0x14d)]=_0x2acf62[_0x4ddb4b(0x13e)](_0x51a4e3[_0x4ddb4b(0x156)]['timeout__']||0x1388,constants['BSTACK_DELTA']),this[_0x4ddb4b(0x15a)]=_0x51a4e3['testEnvironmentOptions']['failFast'];if(this[_0x4ddb4b(0x15a)]){const _0xf6b5cb=this[_0x4ddb4b(0x145)][_0x2acf62[_0x4ddb4b(0x130)]]?.[_0x4ddb4b(0x148)]||'',_0x2a31a3=this['capability'][_0x2acf62[_0x4ddb4b(0x130)]]?.[_0x4ddb4b(0x131)]||'';this['failFast']=new(_0x2acf62[_0x4ddb4b(0x17d)](require,_0x2acf62[_0x4ddb4b(0x137)]))(this['failFastOptions'],_0xf6b5cb,_0x2a31a3),this[_0x4ddb4b(0x129)][_0x4ddb4b(0x178)]=![];}helper['isNotUndefined'](_0x51a4e3[_0x4ddb4b(0x156)][_0x4ddb4b(0x16f)])&&(this[_0x4ddb4b(0x129)][_0x4ddb4b(0x158)]=_0x51a4e3[_0x4ddb4b(0x156)][_0x4ddb4b(0x16f)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x1c7485=new ObservabilityReporter();_0x1c7485[_0x4ddb4b(0x161)]();}this[_0x4ddb4b(0x129)]['browserStackGlobals']={},this[_0x4ddb4b(0x164)]=_0x51a4e3[_0x4ddb4b(0x156)],this[_0x4ddb4b(0x164)][_0x4ddb4b(0x144)]=constants[_0x4ddb4b(0x139)][_0x4ddb4b(0x122)],this[_0x4ddb4b(0x129)][_0x4ddb4b(0x179)]=(_0x51a4e3['projectConfig']?_0x51a4e3[_0x4ddb4b(0x147)][_0x4ddb4b(0x179)]:_0x51a4e3[_0x4ddb4b(0x179)])||0x0,this[_0x4ddb4b(0x129)][_0x4ddb4b(0x118)]=this[_0x4ddb4b(0x164)]&&this[_0x4ddb4b(0x164)][_0x4ddb4b(0x12a)]&&Array[_0x4ddb4b(0x15b)](this[_0x4ddb4b(0x164)][_0x4ddb4b(0x12a)])&&this['configuration']['platformCaps'][this['global']['browserstackPlatformIndex']]||{};const _0x2db417=this[_0x4ddb4b(0x129)]['browserstackPlatformIndex'],_0x3a6feb={...this[_0x4ddb4b(0x164)],'capability':this[_0x4ddb4b(0x164)][_0x4ddb4b(0x17c)]&&Array['isArray'](this[_0x4ddb4b(0x164)][_0x4ddb4b(0x17c)])&&this['configuration'][_0x4ddb4b(0x17c)][_0x2db417]||{},'platformCaps':this[_0x4ddb4b(0x164)][_0x4ddb4b(0x12a)]&&Array[_0x4ddb4b(0x15b)](this[_0x4ddb4b(0x164)][_0x4ddb4b(0x12a)])&&this[_0x4ddb4b(0x164)][_0x4ddb4b(0x12a)][_0x2db417]||{}};delete _0x3a6feb[_0x4ddb4b(0x17c)],this[_0x4ddb4b(0x129)][_0x4ddb4b(0x14e)]=_0x3a6feb;if(_seleniumWebdriver2){const _0xebe6d=_0x2acf62[_0x4ddb4b(0x11c)][_0x4ddb4b(0x13f)]('|');let _0x208916=0x0;while(!![]){switch(_0xebe6d[_0x208916++]){case'0':this['global'][_0x4ddb4b(0x121)]=helper[_0x4ddb4b(0x189)](_0x51a4e3,[_0x2acf62[_0x4ddb4b(0x182)],_0x2acf62['kEPXd'],_0x2acf62[_0x4ddb4b(0x15e)]]);continue;case'1':this[_0x4ddb4b(0x129)][_0x4ddb4b(0x160)]=helper[_0x4ddb4b(0x189)](_0x51a4e3,[_0x2acf62[_0x4ddb4b(0x182)],_0x2acf62[_0x4ddb4b(0x13a)],_0x2acf62[_0x4ddb4b(0x126)]]);continue;case'2':this[_0x4ddb4b(0x129)][_0x4ddb4b(0x165)]=async()=>{const _0x184df5=_0x4ddb4b;await this['global'][_0x184df5(0x16c)][_0x184df5(0x17b)](_0x2acf62[_0x184df5(0x124)]);};continue;case'3':this[_0x4ddb4b(0x129)][_0x4ddb4b(0x177)]=[];continue;case'4':this['global'][_0x4ddb4b(0x187)]=helper['isTrue'](this[_0x4ddb4b(0x164)][_0x4ddb4b(0x125)]);continue;case'5':this[_0x4ddb4b(0x129)][_0x4ddb4b(0x149)]=helper[_0x4ddb4b(0x189)](_0x51a4e3,[_0x2acf62['jqVRQ'],_0x2acf62[_0x4ddb4b(0x13a)],_0x2acf62['ibckD']]);continue;case'6':helper['isTrue'](this[_0x4ddb4b(0x164)][_0x4ddb4b(0x117)])?this[_0x4ddb4b(0x129)][_0x4ddb4b(0x150)]=!![]:this[_0x4ddb4b(0x129)][_0x4ddb4b(0x150)]=![];continue;case'7':this[_0x4ddb4b(0x129)][_0x4ddb4b(0x180)]=_0x2acf62[_0x4ddb4b(0x17d)](require,_0x2acf62[_0x4ddb4b(0x138)])[_0x4ddb4b(0x114)]({...this[_0x4ddb4b(0x164)],'capability':this[_0x4ddb4b(0x145)]||{}},this,testhubUtils[_0x4ddb4b(0x16e)]());continue;}break;}}}async['teardown'](){const _0x56ec1f=a16_0x4c9c0a;_seleniumWebdriver2&&(await helper[_0x56ec1f(0x123)](this[_0x56ec1f(0x129)][_0x56ec1f(0x188)]),this[_0x56ec1f(0x129)]['__webdriver']['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async[a16_0x4c9c0a(0x17f)](){}async[a16_0x4c9c0a(0x166)](_0x49c762,_0x1ff667){const _0x752b9f=a16_0x4c9c0a,_0x25bb77={};_0x25bb77[_0x752b9f(0x116)]=function(_0x145ffa,_0xcffc78){return _0x145ffa===_0xcffc78;},_0x25bb77[_0x752b9f(0x136)]=_0x752b9f(0x184),_0x25bb77[_0x752b9f(0x15d)]=function(_0x4866dc,_0x14c63f){return _0x4866dc===_0x14c63f;},_0x25bb77[_0x752b9f(0x162)]=_0x752b9f(0x143),_0x25bb77['aGMFj']=function(_0x111853,_0x3df915){return _0x111853===_0x3df915;},_0x25bb77[_0x752b9f(0x11a)]=_0x752b9f(0x171),_0x25bb77[_0x752b9f(0x11f)]=_0x752b9f(0x185),_0x25bb77[_0x752b9f(0x186)]=function(_0x27ac42,_0x35e58e){return _0x27ac42===_0x35e58e;},_0x25bb77[_0x752b9f(0x120)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x25bb77['fYouZ']=function(_0x4e4ba9,_0x5d748c){return _0x4e4ba9===_0x5d748c;},_0x25bb77[_0x752b9f(0x12d)]=_0x752b9f(0x173);const _0xd35dd2=_0x25bb77,{name:_0x25eda4}=_0x49c762;if(_0xd35dd2[_0x752b9f(0x116)](_0x25eda4,_0xd35dd2[_0x752b9f(0x136)])){this[_0x752b9f(0x129)][_0x752b9f(0x16d)]=_0x49c762[_0x752b9f(0x115)];if(_0xd35dd2[_0x752b9f(0x15d)](this[_0x752b9f(0x129)][_0x752b9f(0x178)],!![])){const _0x333596=_0x49c762['test'][_0x752b9f(0x15c)];logger[_0x752b9f(0x14f)](_0x752b9f(0x13c)+_0x333596),_0x49c762[_0x752b9f(0x115)][_0x752b9f(0x151)]=_0xd35dd2['YeNYP'];}}if(this[_0x752b9f(0x183)]&&_0xd35dd2['aGMFj'](_0x25eda4,_0xd35dd2[_0x752b9f(0x11a)]))try{const _0x5b11d3=_0x49c762[_0x752b9f(0x115)]['testPath'][_0x752b9f(0x11b)](_0xd35dd2['PaLHj']),_0x4e6769=_0x49c762['test'][_0x752b9f(0x176)];await this['failFast']['onTestDone'](_0x5b11d3,_0x4e6769);const _0x5d8056=await this[_0x752b9f(0x183)][_0x752b9f(0x157)]();_0xd35dd2[_0x752b9f(0x15d)](this[_0x752b9f(0x129)][_0x752b9f(0x178)],![])&&_0xd35dd2[_0x752b9f(0x186)](_0x5d8056,!![])&&(this[_0x752b9f(0x129)]['failFastActive']=!![]);}catch(_0x5b3369){logger[_0x752b9f(0x128)](_0xd35dd2[_0x752b9f(0x120)],_0x5b3369[_0x752b9f(0x146)]);}_0xd35dd2['fYouZ'](_0x25eda4,_0xd35dd2['yZdsF'])&&(this[_0x752b9f(0x183)]&&this[_0x752b9f(0x183)]['cleanup']());}}module[a16_0x4c9c0a(0x154)]=CustomEnvironment;function a16_0x49eb(){const _0x540fc=['ohqHj','requireModule','skip','framework','capability','message','projectConfig','buildName','percy','2631072GtvWub','jest-environment-node','../../../helpers/logger','__timeout','jestConfig','info','sessionNameProvided','mode','jest-config','jest-resolve','exports','eRioa','testEnvironmentOptions','shouldFailFast','__jestRetries','BSTACK_JEST_TEST_ENV','failFastOptions','isArray','name','LnPeH','iGFnM','../../../helpers/helper','percyCaptureMode','registerListeners','YeNYP','215RCcsXz','configuration','cleanup','handleTestEvent','bstack:options','9727890ZoxyGl','32kKAIkm','cwd','getTestEnvironment','driver','testContext','shouldProcessEventForTesthub','retries__','861616VGAqdC','test_done','2mWZWiT','teardown','modifyCommand','Builder','errors','__drivers','failFastActive','browserstackPlatformIndex','1158789eVRFEY','quit','capabilities','XarBk','default','setup','__webdriver','isBrowserstackInfra','jqVRQ','failFast','test_start','\x20>\x20','OTJvy','__skipSessionStatus','__driversArray','nestedKeyValue','requireSeleniumWebdriver','XWcqQ','browserstackAgentV2','test','PrYeA','skipSessionName','__platformCaps','blJYc','mvqYt','join','djOlr','../../../helpers/testhub/utils','winstonLogger','PaLHj','WirCp','browserstackPercyBestPlatform','JEST','cleanupDrivers','fHIkK','skipSessionStatus','HGcBy','141164IXogNZ','debug','global','platformCaps','node','9713664MMyxrR','yZdsF','builder','resolveTestEnvironment','culyq','projectName','vLdxh','3|7|0|5|1|6|4|2','../../../index','../../../helpers/test-orchestration/failfastManager','gqZsC','sERKW','BulrO','FRAMEWORKS','kEPXd','../../../helpers/test-observability/requestQueueHandler','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','1455920UdMvlK','PwBwx','split','__esModule'];a16_0x49eb=function(){return _0x540fc;};return a16_0x49eb();}
@@ -1 +1 @@
1
- const a17_0x5d0d6e=a17_0xcec9;(function(_0x4582f8,_0x3241f8){const _0x35af8e=a17_0xcec9,_0x1ff3b5=_0x4582f8();while(!![]){try{const _0x3902e9=parseInt(_0x35af8e(0xf1))/0x1+-parseInt(_0x35af8e(0x105))/0x2*(parseInt(_0x35af8e(0x126))/0x3)+-parseInt(_0x35af8e(0x154))/0x4*(-parseInt(_0x35af8e(0xcd))/0x5)+parseInt(_0x35af8e(0x146))/0x6*(parseInt(_0x35af8e(0xcc))/0x7)+parseInt(_0x35af8e(0x10f))/0x8*(-parseInt(_0x35af8e(0x144))/0x9)+-parseInt(_0x35af8e(0x112))/0xa+parseInt(_0x35af8e(0x12a))/0xb*(-parseInt(_0x35af8e(0x113))/0xc);if(_0x3902e9===_0x3241f8)break;else _0x1ff3b5['push'](_0x1ff3b5['shift']());}catch(_0x517ad6){_0x1ff3b5['push'](_0x1ff3b5['shift']());}}}(a17_0x43df,0xd5057));const {requireModule}=require(a17_0x5d0d6e(0x116)),ObservabilityReporter=require(a17_0x5d0d6e(0x13f)),RequestQueueHandler=require(a17_0x5d0d6e(0xff)),TestDetails=require(a17_0x5d0d6e(0xe1)),{patchConsoleLogger,debug}=require(a17_0x5d0d6e(0x153)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x5d0d6e(0x137)),testHubConstants=require(a17_0x5d0d6e(0x100)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0x5d0d6e(0x11a)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x5d0d6e(0x111)),{v4:uuidv4}=require(a17_0x5d0d6e(0x13b)),util=require(a17_0x5d0d6e(0xc8)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a17_0x5d0d6e(0x145));function a17_0x43df(){const _0x1f1432=['afterEach','ZaMaD','createTestFrameworkData','msTMI','setFrameworkDetail','vlUDX','ajXHJ','../../../helpers/test-observability/requestQueueHandler','../../../helpers/testhub/constants','test_done','test_start','file','CkpLV','2zWmbnC','YlanQ','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','ztHWY','createIdentifierFromJestTest','qdjaS','HZQTz','OQaOT','pndDV','KsrIC','68512jhSWtJ','CLI\x20is\x20enabled\x20and\x20running.','../../v2/utils/jest-utils','5334210JeDiHA','372RTTzVQ','vvsgW','sendTestRunEvent','../../../helpers/helper','forEach','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','jest-circus/build/jestAdapterInit.js','../../v2/state/testFrameworkState','POST','Handling\x20hook\x20event\x20for\x20CLI:\x20','setTestUUID','unhandledErrors','mWhPL','current_test','name','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','tbVDK','test_skip','hook_success','4505124bLLWov','__workerDetails','toISOString','HookFinished','412181LGrRGn','PQleF','hookAnalyticsId','makeSingleTestResult','hMizC','wLFMd','hookData','removeActiveHook','test','addEventHandler','beforeAll','AFTER_EACH','Error\x20routing\x20to\x20JestTestFramework:\x20','../../../helpers/testhub/utils','meYGU','hook','_currentRetry','uuid','uAwuq','errorsDetailed','hook_start','../test-observability/obsReporter','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','getInstance','lOMTz','match','27HdVOcs','../../utils/constants','22194bOViRN','Nubll','createHookData','markedStatus','JEST','hOPqs','toString','LOG_REPORT','GyoYA','../../v2/cliUtils','jest-circus','Error\x20checking\x20CLI\x20readiness:\x20','BEFORE_ALL','../../../helpers/test-observability/utils','41116kSlxvb','XHRSW','zIJDi','initialize','jest-circus/build/state.js','GvehU','asyncError','QHiys','QEamx','BROWSERSTACK_CLI_BIN_SESSION_ID','TestRunFinished','KjTqp','TZgbk','Handling\x20test\x20event\x20for\x20CLI:\x20','hVerc','Oouxj','EVENT','format','aBgrl','teardown','riDks','EventHandler','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','Koxgu','removeAllListeners','YwYRe','testAnalyticsId','GmkgB','ZZErN','\x20for\x20hook\x20type:\x20','TestRunSkipped','run_describe_finish','pid','env','isRunning','util','HookRunStarted','MdfQE','yyxAP','1967wwyBqb','685fPqtOH','removeTestUUID','type','currentHook','title','parent','includes','started_at','getTestFramework','originalTest','afterAll','zIxiD','AFTER_ALL','oGeZx','WsGTn','qwGwV','MPAbN','jest-circus/build/utils.js','trackEvent','failed','../test-observability/test-details','PRE','error','setActiveHook',':hookAnalyticsId','retryOf','shutdown','BEFORE_EACH','RWxFA','TestRunStarted','PwyAk','tXzTY','hook_failure','__jestCurrentTestIdentifier','debug','baTks','1647315GhGgIi','beforeEach','PLAYWRIGHT','registerListeners','isCliEnabled','state','TEST'];a17_0x43df=function(){return _0x1f1432;};return a17_0x43df();}let exportsI;try{exportsI=requireModule(a17_0x5d0d6e(0x118),a17_0x5d0d6e(0x150));}catch{exportsI=requireModule(a17_0x5d0d6e(0x119),'jest-circus');}const initInitialize=exportsI[a17_0x5d0d6e(0x157)],jestUtils=new JestUtils();async function isCLIReady(){const _0x3fdf07=a17_0x5d0d6e,_0x30dec0={'VRoAR':_0x3fdf07(0x110),'CGgrV':function(_0x48e1d6,_0xc7665c){return _0x48e1d6(_0xc7665c);},'aBgrl':_0x3fdf07(0x14f),'FBSCz':function(_0x5c01dc,_0x26b574){return _0x5c01dc(_0x26b574);}};try{const _0x54c572=BrowserstackCLI['getInstance']();if(_0x54c572[_0x3fdf07(0xf5)]()&&_0x54c572[_0x3fdf07(0xc7)]())return logger[_0x3fdf07(0xef)](_0x30dec0['VRoAR']),!![];const _0x3685a2=process[_0x3fdf07(0xc6)][_0x3fdf07(0xae)];if(_0x3685a2&&_0x54c572[_0x3fdf07(0xf5)]()){if(!_0x54c572[_0x3fdf07(0xc7)]())try{const _0x57ae44=_0x30dec0['CGgrV'](require,_0x30dec0[_0x3fdf07(0xb7)]);_0x57ae44[_0x3fdf07(0xfc)](FRAMEWORKS[_0x3fdf07(0x14a)],FRAMEWORKS[_0x3fdf07(0xf3)]),await _0x54c572['bootstrap']();}catch(_0x24eb8d){return _0x30dec0['FBSCz'](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x3fdf07(0xb6)](_0x24eb8d)),![];}return _0x54c572[_0x3fdf07(0xc7)]();}return![];}catch(_0x3c09cc){return _0x30dec0['CGgrV'](debug,_0x3fdf07(0x151)+util[_0x3fdf07(0xb6)](_0x3c09cc)),![];}}function getTestIdentifierForHook(_0x536e1c){const _0x2af490=a17_0x5d0d6e,_0x55510c={};_0x55510c['Oouxj']=function(_0x4fd758,_0x4b4ffc){return _0x4fd758===_0x4b4ffc;},_0x55510c[_0x2af490(0x156)]='beforeEach',_0x55510c['uZspb']=function(_0x576288,_0x26a84b){return _0x576288===_0x26a84b;},_0x55510c[_0x2af490(0xfd)]=_0x2af490(0x134);const _0x3fe2bc=_0x55510c;if(_0x3fe2bc[_0x2af490(0xb4)](_0x536e1c[_0x2af490(0xcf)],_0x3fe2bc['zIJDi'])||_0x3fe2bc['uZspb'](_0x536e1c[_0x2af490(0xcf)],_0x3fe2bc[_0x2af490(0xfd)])){let _0x369b4b=global[_0x2af490(0xee)];if(!_0x369b4b&&_0x3fe2bc[_0x2af490(0xb4)](_0x536e1c[_0x2af490(0xcf)],_0x3fe2bc['vlUDX'])&&_0x536e1c['parent']){const _0x566bc0={};_0x566bc0[_0x2af490(0x121)]=_0x536e1c[_0x2af490(0xd2)][_0x2af490(0x121)],_0x566bc0[_0x2af490(0xd2)]=_0x536e1c[_0x2af490(0xd2)]['parent'],_0x566bc0[_0x2af490(0x15a)]=_0x536e1c['asyncError'],_0x566bc0[_0x2af490(0x103)]=_0x536e1c[_0x2af490(0x103)];const _0x14493e=_0x566bc0;_0x369b4b=jestUtils['createIdentifierFromJestTest'](_0x14493e);}return _0x369b4b;}return global[_0x2af490(0xee)];}function mapHookTypeToState(_0x5672d1){const _0x486ad1=a17_0x5d0d6e,_0x4670aa={};_0x4670aa[_0x486ad1(0x134)]=TestFrameworkState[_0x486ad1(0x152)],_0x4670aa[_0x486ad1(0xd7)]=TestFrameworkState[_0x486ad1(0xd9)],_0x4670aa['beforeEach']=TestFrameworkState[_0x486ad1(0xe8)],_0x4670aa[_0x486ad1(0xf8)]=TestFrameworkState[_0x486ad1(0x135)];const _0x28714e=_0x4670aa;return _0x28714e[_0x5672d1]||TestFrameworkState[_0x486ad1(0xe8)];}function a17_0xcec9(_0x342a1f,_0x29e80f){const _0x43dfbe=a17_0x43df();return a17_0xcec9=function(_0xcec986,_0x117bcd){_0xcec986=_0xcec986-0xad;let _0x12e828=_0x43dfbe[_0xcec986];return _0x12e828;},a17_0xcec9(_0x342a1f,_0x29e80f);}async function handleHookEventCLI(_0x3452c3,_0x2f698f,_0x1448f0){const _0x578672=a17_0x5d0d6e,_0x455172={'pndDV':function(_0x5f0aa0){return _0x5f0aa0();},'lOMTz':function(_0x5ef927){return _0x5ef927();},'OQaOT':function(_0x2214fa,_0x4dc90f){return _0x2214fa===_0x4dc90f;},'ztHWY':_0x578672(0xc9),'RLFWf':function(_0x526722,_0x3de8fc){return _0x526722(_0x3de8fc);},'FPHWh':function(_0x3c444e,_0xe2b3fd){return _0x3c444e===_0xe2b3fd;},'KjTqp':'HookRunFinished','ZZErN':_0x578672(0x139),'TZgbk':function(_0x43ad85,_0x42b1f3){return _0x43ad85===_0x42b1f3;}};logger[_0x578672(0xef)](_0x578672(0x11c)+_0x2f698f+_0x578672(0xc2)+_0x3452c3['type']);try{if(_0x3452c3['fn']&&_0x3452c3['fn'][_0x578672(0x14c)]()[_0x578672(0x143)](/browserstack internal helper hook/))return;let _0x14a206=_0x3452c3[_0x578672(0x12c)];if(!_0x14a206)_0x14a206=_0x455172[_0x578672(0x10d)](uuidv4),_0x3452c3[_0x578672(0x12c)]=_0x14a206;else _0x3452c3[_0x578672(0x149)]&&(_0x14a206=_0x455172[_0x578672(0x142)](uuidv4),_0x3452c3[_0x578672(0x12c)]=_0x14a206,delete _0x3452c3['markedStatus']);_0x455172[_0x578672(0x10c)](_0x2f698f,_0x455172['ztHWY'])&&(_0x3452c3[_0x578672(0xd4)]=new Date()[_0x578672(0x128)]());const _0x52282f=_0x455172['RLFWf'](getTestIdentifierForHook,_0x3452c3);!global[_0x578672(0x127)]&&(global[_0x578672(0x127)]={});if(_0x455172[_0x578672(0x10c)](_0x2f698f,_0x455172[_0x578672(0x108)])){global[_0x578672(0x127)]['currentHook']={'hookUUID':_0x14a206,'testIdentifier':_0x52282f,'hookType':_0x3452c3['type'],'startedAt':new Date()[_0x578672(0x128)]()};const _0x5605a7=BrowserstackCLI[_0x578672(0x141)]()[_0x578672(0xd5)]();_0x5605a7&&_0x5605a7[_0x578672(0xe4)]&&_0x5605a7['setActiveHook'](_0x52282f,_0x14a206,_0x3452c3[_0x578672(0xcf)]);}const _0x5d2138=await jestUtils[_0x578672(0x148)](_0x3452c3,_0x14a206,_0x2f698f,_0x52282f);if(!_0x5d2138)return;const _0x283126=_0x455172['RLFWf'](mapHookTypeToState,_0x3452c3[_0x578672(0xcf)]),_0x3299f9=_0x455172[_0x578672(0x10c)](_0x2f698f,_0x455172[_0x578672(0x108)])?HookState[_0x578672(0xe2)]:HookState[_0x578672(0x11b)],_0x1c41ec=BrowserstackCLI['getInstance']()[_0x578672(0xd5)]();if(_0x1c41ec){const _0x535e61={};_0x535e61[_0x578672(0x130)]=_0x5d2138,await _0x1c41ec[_0x578672(0xdf)](_0x283126,_0x3299f9,_0x535e61);if(_0x455172['FPHWh'](_0x2f698f,_0x455172[_0x578672(0xb0)])){const _0xc0390e={};_0xc0390e['testUUID']=_0x52282f,_0xc0390e[_0x578672(0xcf)]=_0x455172[_0x578672(0xc1)],await _0x1c41ec['trackEvent'](TestFrameworkState[_0x578672(0x14d)],HookState['POST'],_0xc0390e),global[_0x578672(0x127)]&&global[_0x578672(0x127)][_0x578672(0xd0)]&&_0x455172[_0x578672(0xb1)](global[_0x578672(0x127)][_0x578672(0xd0)]['hookUUID'],_0x14a206)&&delete global[_0x578672(0x127)]['currentHook'],_0x1c41ec[_0x578672(0x131)]&&_0x1c41ec[_0x578672(0x131)](_0x52282f,_0x14a206);}}}catch(_0xede95a){logger['error'](_0x578672(0x140)+util['format'](_0xede95a));throw _0xede95a;}}async function handleTestEventCLI(_0x15a9f,_0x5d1fb2,_0x4ef085){const _0x4ed3fa=a17_0x5d0d6e,_0x5bb8aa={};_0x5bb8aa[_0x4ed3fa(0x10a)]=function(_0x235b28,_0x1cfffc){return _0x235b28===_0x1cfffc;},_0x5bb8aa[_0x4ed3fa(0xfe)]=_0x4ed3fa(0xea),_0x5bb8aa[_0x4ed3fa(0x15b)]=function(_0x2ccbd0,_0x256469){return _0x2ccbd0>_0x256469;},_0x5bb8aa[_0x4ed3fa(0x155)]=function(_0x1d0df7,_0x13e5ac){return _0x1d0df7===_0x13e5ac;},_0x5bb8aa[_0x4ed3fa(0xd8)]=function(_0x3c22b1,_0x43abbf){return _0x3c22b1&&_0x43abbf;},_0x5bb8aa[_0x4ed3fa(0x10b)]=_0x4ed3fa(0xe0),_0x5bb8aa['TiUjz']=_0x4ed3fa(0xaf),_0x5bb8aa[_0x4ed3fa(0xc0)]=function(_0x5660be,_0x450c54){return _0x5660be&&_0x450c54;},_0x5bb8aa[_0x4ed3fa(0x10e)]=_0x4ed3fa(0x132);const _0x6dc8fd=_0x5bb8aa;logger[_0x4ed3fa(0xef)](_0x4ed3fa(0xb2)+_0x5d1fb2);try{let _0x6dd58b;if(_0x6dc8fd[_0x4ed3fa(0x10a)](_0x5d1fb2,_0x6dc8fd[_0x4ed3fa(0xfe)])){_0x6dd58b=jestUtils[_0x4ed3fa(0x109)](_0x15a9f),global[_0x4ed3fa(0xee)]=_0x6dd58b,_0x15a9f[_0x4ed3fa(0xbf)]=_0x6dd58b,_0x15a9f['id']=_0x6dd58b,_0x15a9f['started_at']=new Date()[_0x4ed3fa(0x128)]();const _0x2f3f81=_0x4ef085[_0x4ed3fa(0x120)];_0x4ef085[_0x4ed3fa(0x120)]=_0x15a9f,_0x15a9f[_0x4ed3fa(0xe6)]=null;if(_0x6dc8fd[_0x4ed3fa(0x15b)](_0x15a9f[_0x4ed3fa(0x13a)],0x0)&&_0x2f3f81&&_0x6dc8fd[_0x4ed3fa(0x155)](_0x2f3f81[_0x4ed3fa(0xd1)],_0x15a9f[_0x4ed3fa(0xd1)])){_0x15a9f[_0x4ed3fa(0xe6)]=_0x2f3f81[_0x4ed3fa(0xbf)];const _0x4f40d7=await jestUtils[_0x4ed3fa(0xfa)](_0x15a9f,_0x6dd58b,_0x6dc8fd[_0x4ed3fa(0xfe)]),_0x579250=BrowserstackCLI['getInstance']()[_0x4ed3fa(0xd5)]();if(_0x6dc8fd['zIxiD'](_0x4f40d7,_0x579250)){const _0x149958={};_0x149958[_0x4ed3fa(0x132)]=_0x4f40d7,await _0x579250[_0x4ed3fa(0xdf)](TestFrameworkState['TEST'],HookState[_0x4ed3fa(0xe2)],_0x149958);}_0x2f3f81[_0x4ed3fa(0xf6)]=_0x6dc8fd[_0x4ed3fa(0x10b)];const _0x5c4d18=await jestUtils[_0x4ed3fa(0xfa)](_0x2f3f81,_0x2f3f81[_0x4ed3fa(0xbf)],_0x6dc8fd['TiUjz']);if(_0x6dc8fd['GmkgB'](_0x5c4d18,_0x579250)){const _0x28cec2={};_0x28cec2['test']=_0x5c4d18,await _0x579250['trackEvent'](TestFrameworkState['TEST'],HookState[_0x4ed3fa(0x11b)],_0x28cec2);}}else{const _0x13037c=await jestUtils[_0x4ed3fa(0xfa)](_0x15a9f,_0x6dd58b,_0x6dc8fd[_0x4ed3fa(0xfe)]),_0x5ae7af=BrowserstackCLI['getInstance']()[_0x4ed3fa(0xd5)]();if(_0x6dc8fd['zIxiD'](_0x13037c,_0x5ae7af)){const _0x553281={};_0x553281[_0x4ed3fa(0x132)]=_0x13037c,await _0x5ae7af[_0x4ed3fa(0xdf)](TestFrameworkState[_0x4ed3fa(0xf7)],HookState[_0x4ed3fa(0xe2)],_0x553281);}}}else{_0x6dd58b=_0x15a9f['testAnalyticsId']||_0x15a9f['id']||global[_0x4ed3fa(0xee)];const _0x2373b9=await jestUtils['createTestFrameworkData'](_0x15a9f,_0x6dd58b,_0x5d1fb2),_0x131435=BrowserstackCLI['getInstance']()[_0x4ed3fa(0xd5)]();if(_0x6dc8fd[_0x4ed3fa(0xc0)](_0x2373b9,_0x131435)){const _0x327580={};_0x327580['test']=_0x2373b9,_0x327580[_0x4ed3fa(0xd6)]=_0x15a9f,await _0x131435[_0x4ed3fa(0xdf)](TestFrameworkState[_0x4ed3fa(0xf7)],HookState['POST'],_0x327580);const _0x3a5f92={};_0x3a5f92['testUUID']=_0x6dd58b,_0x3a5f92[_0x4ed3fa(0xcf)]=_0x6dc8fd['KsrIC'],await _0x131435[_0x4ed3fa(0xdf)](TestFrameworkState[_0x4ed3fa(0x14d)],HookState[_0x4ed3fa(0x11b)],_0x3a5f92);}}}catch(_0x585d7c){logger[_0x4ed3fa(0xe3)](_0x4ed3fa(0x122)+util[_0x4ed3fa(0xb6)](_0x585d7c));throw _0x585d7c;}}exportsI['initialize']=(..._0x389f2a)=>{const _0x4aa70d=a17_0x5d0d6e,_0x2330fb={'Nubll':_0x4aa70d(0x13e),'riDks':function(_0x365d3c,_0x19736b){return _0x365d3c(_0x19736b);},'mWhPL':function(_0x5e5f66){return _0x5e5f66();},'uAwuq':function(_0x1e107a,_0x1253ea,_0x560100,_0x48ebe5){return _0x1e107a(_0x1253ea,_0x560100,_0x48ebe5);},'hMizC':'HookRunStarted','WsGTn':_0x4aa70d(0x125),'yEfJw':function(_0x35970d,_0x37734e){return _0x35970d(_0x37734e);},'tXzTY':'HookRunFinished','PwyAk':'hook_failure','oGeZx':_0x4aa70d(0x134),'wLFMd':_0x4aa70d(0xf2),'tbVDK':_0x4aa70d(0xf8),'baTks':function(_0x2e7bee,_0x10b5bb){return _0x2e7bee>_0x10b5bb;},'Koxgu':function(_0x39bc72,_0x100f2b){return _0x39bc72(_0x100f2b);},'ZsMfX':function(_0x488246,_0x49a75b,_0x466f3e,_0x57c2d2){return _0x488246(_0x49a75b,_0x466f3e,_0x57c2d2);},'MdfQE':function(_0x30b920,_0x5d83d0){return _0x30b920(_0x5d83d0);},'PQleF':_0x4aa70d(0x102),'ZaMaD':function(_0xfc052c){return _0xfc052c();},'QEamx':function(_0x258c9e,_0x260a17,_0x486f43,_0x201e06){return _0x258c9e(_0x260a17,_0x486f43,_0x201e06);},'RWxFA':'TestRunStarted','msTMI':_0x4aa70d(0x101),'yyxAP':function(_0x3aef25,_0x204deb){return _0x3aef25(_0x204deb);},'hOPqs':function(_0x70a064){return _0x70a064();},'tfEKU':'TestRunFinished','yKPEY':_0x4aa70d(0x124),'YlanQ':function(_0xef4fc8,_0x3a9266){return _0xef4fc8(_0x3a9266);},'UIVvs':function(_0x20083d){return _0x20083d();},'OxcBK':_0x4aa70d(0xc3),'vvsgW':_0x4aa70d(0xc4),'YwYRe':_0x4aa70d(0xb8),'CkpLV':function(_0x5d4b67,_0x4dc3a0,_0x453695){return _0x5d4b67(_0x4dc3a0,_0x453695);},'GvehU':_0x4aa70d(0x158),'meYGU':'jest-circus','MPAbN':_0x4aa70d(0xde),'QGtSz':_0x4aa70d(0xba),'qwGwV':function(_0x3a588b,_0xcffb89){return _0x3a588b(_0xcffb89);},'GyoYA':function(_0x1e1d46,..._0x5a9733){return _0x1e1d46(..._0x5a9733);}};try{const _0x16dfa2=new ObservabilityReporter();_0x2330fb['ZaMaD'](shouldProcessEventForTesthub)&&(_0x2330fb[_0x4aa70d(0x14b)](patchConsoleLogger),_0x16dfa2[_0x4aa70d(0xf4)]());let _0x1640ea;try{_0x1640ea=_0x2330fb[_0x4aa70d(0x104)](requireModule,_0x2330fb[_0x4aa70d(0x159)],_0x2330fb[_0x4aa70d(0x138)]);}catch{_0x1640ea=_0x2330fb[_0x4aa70d(0xca)](requireModule,_0x2330fb[_0x4aa70d(0x138)]);}let _0x293ec0;try{_0x293ec0=_0x2330fb[_0x4aa70d(0x104)](requireModule,_0x2330fb[_0x4aa70d(0xdd)],_0x2330fb[_0x4aa70d(0x138)])['makeSingleTestResult'];}catch{_0x293ec0=_0x2330fb[_0x4aa70d(0x106)](requireModule,_0x2330fb['meYGU'])[_0x4aa70d(0x12d)];}_0x2330fb[_0x4aa70d(0x14b)](shouldProcessEventForTesthub)&&_0x1640ea[_0x4aa70d(0x133)](_0x2330fb['CkpLV'](o11yErrorHandler,async(_0x3465dc,_0x1f8232)=>{const _0x4fe1e4=_0x4aa70d;switch(_0x3465dc['name']){case _0x2330fb[_0x4fe1e4(0x147)]:if(_0x2330fb['riDks'](shouldProcessEventForTesthub,testHubConstants[_0x4fe1e4(0xb5)]['HookStarted'])){if(_0x3465dc['hook']['fn']&&_0x3465dc['hook']['fn']['toString']()[_0x4fe1e4(0x143)](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0x11f)](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0x13c)](handleHookEventCLI,_0x3465dc[_0x4fe1e4(0x139)],_0x2330fb[_0x4fe1e4(0x12e)],_0x1f8232);break;}catch(_0x10d412){_0x2330fb[_0x4fe1e4(0xb9)](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x10d412));}if(!_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x12c)]){const _0x488ebd=TestDetails['setTestUUID'](process[_0x4fe1e4(0xc5)]+':hookAnalyticsId');_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x12c)]=_0x488ebd;}else _0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x149)]&&(_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x12c)]=TestDetails[_0x4fe1e4(0x11d)](process[_0x4fe1e4(0xc5)]+_0x4fe1e4(0xe5)),delete _0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x149)]);_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0xd4)]=new Date()['toISOString'](),await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x139)],undefined,![],_0x2330fb[_0x4fe1e4(0x12e)]);}break;case _0x2330fb[_0x4fe1e4(0xdb)]:if(_0x2330fb['yEfJw'](shouldProcessEventForTesthub,testHubConstants[_0x4fe1e4(0xb5)][_0x4fe1e4(0x129)])){if(BrowserstackCLI['getInstance']()[_0x4fe1e4(0xf5)]()&&await _0x2330fb['mWhPL'](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0x13c)](handleHookEventCLI,_0x3465dc[_0x4fe1e4(0x139)],_0x2330fb['tXzTY'],_0x1f8232);break;}catch(_0x1a08ef){_0x2330fb['yEfJw'](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x1a08ef));}await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x139)],undefined,![],_0x2330fb[_0x4fe1e4(0xec)]),TestDetails[_0x4fe1e4(0xce)](process[_0x4fe1e4(0xc5)]+_0x4fe1e4(0xe5));}break;case _0x2330fb[_0x4fe1e4(0xeb)]:[_0x2330fb[_0x4fe1e4(0xda)],_0x2330fb[_0x4fe1e4(0x12f)],_0x2330fb[_0x4fe1e4(0x123)]][_0x4fe1e4(0xd3)](_0x3465dc['hook'][_0x4fe1e4(0xcf)])&&(_0x16dfa2[_0x4fe1e4(0xed)]=_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0xcf)]),_0x1f8232['unhandledErrors']&&_0x2330fb[_0x4fe1e4(0xf0)](_0x1f8232['unhandledErrors']['length'],0x0)&&(_0x3465dc['hook'][_0x4fe1e4(0x13d)]=[_0x1f8232[_0x4fe1e4(0x11e)][0x0][0x0]]);if(_0x2330fb[_0x4fe1e4(0xbc)](shouldProcessEventForTesthub,testHubConstants[_0x4fe1e4(0xb5)][_0x4fe1e4(0x129)])){if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0x11f)](isCLIReady))try{await _0x2330fb['ZsMfX'](handleHookEventCLI,_0x3465dc[_0x4fe1e4(0x139)],_0x2330fb[_0x4fe1e4(0xec)],_0x1f8232);break;}catch(_0x3a80c2){_0x2330fb['MdfQE'](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x3a80c2));}await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x139)],undefined,![],_0x2330fb[_0x4fe1e4(0xec)]),TestDetails[_0x4fe1e4(0xce)](process[_0x4fe1e4(0xc5)]+_0x4fe1e4(0xe5));}break;case _0x2330fb[_0x4fe1e4(0x12b)]:if(_0x2330fb[_0x4fe1e4(0x11f)](shouldProcessEventForTesthub)){if(BrowserstackCLI['getInstance']()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0xf9)](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0xad)](handleTestEventCLI,_0x3465dc[_0x4fe1e4(0x132)],_0x2330fb[_0x4fe1e4(0xe9)],_0x16dfa2);break;}catch(_0x37654c){_0x2330fb['Koxgu'](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x37654c));}await _0x16dfa2['testStarted'](_0x3465dc[_0x4fe1e4(0x132)]);}break;case _0x2330fb[_0x4fe1e4(0xfb)]:_0x3465dc[_0x4fe1e4(0x132)]={..._0x2330fb[_0x4fe1e4(0xcb)](_0x293ec0,_0x3465dc[_0x4fe1e4(0x132)]),..._0x3465dc[_0x4fe1e4(0x132)]};if(_0x2330fb[_0x4fe1e4(0xf9)](shouldProcessEventForTesthub)){if(!_0x3465dc['test']['markedStatus']){_0x3465dc['test'][_0x4fe1e4(0x149)]=!![];if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0x14b)](isCLIReady))try{await _0x2330fb['ZsMfX'](handleTestEventCLI,_0x3465dc[_0x4fe1e4(0x132)],_0x2330fb['tfEKU'],_0x16dfa2);break;}catch(_0xa77a05){_0x2330fb[_0x4fe1e4(0xca)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4fe1e4(0xb6)](_0xa77a05));}await _0x16dfa2['sendTestRunEvent'](_0x3465dc[_0x4fe1e4(0x132)]);}}break;case _0x2330fb['yKPEY']:_0x3465dc['test']={..._0x2330fb[_0x4fe1e4(0x106)](_0x293ec0,_0x3465dc[_0x4fe1e4(0x132)]),..._0x3465dc[_0x4fe1e4(0x132)]};if(_0x2330fb['UIVvs'](shouldProcessEventForTesthub)){if(!_0x3465dc[_0x4fe1e4(0x132)][_0x4fe1e4(0x149)]){_0x3465dc['test'][_0x4fe1e4(0x149)]=!![];if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb['ZaMaD'](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0xad)](handleTestEventCLI,_0x3465dc['test'],_0x2330fb['OxcBK'],_0x16dfa2);break;}catch(_0x2a187d){_0x2330fb[_0x4fe1e4(0xb9)](debug,_0x4fe1e4(0x136)+util['format'](_0x2a187d));}await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x132)],undefined,![],_0x2330fb['OxcBK']);}}break;case _0x2330fb[_0x4fe1e4(0x114)]:_0x16dfa2[_0x4fe1e4(0xed)]=null;break;case _0x2330fb[_0x4fe1e4(0xbe)]:await RequestQueueHandler[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xe7)](),process[_0x4fe1e4(0xbd)]();break;default:}},_0x2330fb['QGtSz']));}catch(_0x3c1104){_0x2330fb[_0x4aa70d(0xdc)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x3c1104);}return _0x2330fb[_0x4aa70d(0x14e)](initInitialize,..._0x389f2a);};try{Object['keys'](exportsI)[a17_0x5d0d6e(0x117)](_0x2d2f34=>{const _0xc6c1bc=a17_0x5d0d6e,_0x2a6867={'hVerc':function(_0x2e0745,_0x3811fb){return _0x2e0745(_0x3811fb);}};try{exports&&(exports[_0x2d2f34]=exportsI[_0x2d2f34]);}catch(_0x350297){_0x2a6867[_0xc6c1bc(0xb3)](debug,_0xc6c1bc(0x107)+_0x350297);}});}catch(a17_0x4a25aa){debug(a17_0x5d0d6e(0xbb)+a17_0x4a25aa);}
1
+ const a17_0x46177d=a17_0x3ef5;(function(_0x5a9b04,_0x18192d){const _0x4f9cb8=a17_0x3ef5,_0x1ce3fc=_0x5a9b04();while(!![]){try{const _0x314e30=-parseInt(_0x4f9cb8(0x243))/0x1+-parseInt(_0x4f9cb8(0x235))/0x2+-parseInt(_0x4f9cb8(0x1df))/0x3*(-parseInt(_0x4f9cb8(0x23b))/0x4)+-parseInt(_0x4f9cb8(0x1f2))/0x5*(-parseInt(_0x4f9cb8(0x23d))/0x6)+parseInt(_0x4f9cb8(0x1f9))/0x7+parseInt(_0x4f9cb8(0x237))/0x8+-parseInt(_0x4f9cb8(0x21c))/0x9;if(_0x314e30===_0x18192d)break;else _0x1ce3fc['push'](_0x1ce3fc['shift']());}catch(_0x1667d5){_0x1ce3fc['push'](_0x1ce3fc['shift']());}}}(a17_0x2430,0xc2a55));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x46177d(0x220)),RequestQueueHandler=require(a17_0x46177d(0x22d)),TestDetails=require(a17_0x46177d(0x1f3)),{patchConsoleLogger,debug}=require(a17_0x46177d(0x1e4)),{o11yErrorHandler}=require(a17_0x46177d(0x246)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a17_0x46177d(0x274)),TestFrameworkState=require(a17_0x46177d(0x23c)),HookState=require(a17_0x46177d(0x231)),JestUtils=require(a17_0x46177d(0x23f)),{v4:uuidv4}=require(a17_0x46177d(0x254)),util=require(a17_0x46177d(0x1f1)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a17_0x46177d(0x1d3));let exportsI;function a17_0x2430(){const _0x3e05d6=['createHookData','NCfEC','TEST','getTestFramework','createTestFrameworkData','../../utils/constants','nJtFR','loDyZ','jest-circus/build/utils.js','AFTER_EACH','format','beforeAll','uOQJH','oEmhz','pid','KwkCz','VqXjV','8199xUxeUU','xmbms','XVPDs','arHfJ','hook_start','../../../helpers/test-observability/utils','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','EventHandler','parent','addEventHandler','trackEvent','JZXtK','fHamI','Handling\x20test\x20event\x20for\x20CLI:\x20','DrCPm','current_test','jbtPv','EVENT','util','450645NNrRaW','../test-observability/test-details','test','createIdentifierFromJestTest','markedStatus','removeActiveHook','rWzkB','6081208UXZkaP','DXCKT','Handling\x20hook\x20event\x20for\x20CLI:\x20','JqrzR','name','PRE','bONrg','hook_failure','title','POST','qFHuu','EVGxb','forEach','run_describe_finish','match','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','removeTestUUID','__workerDetails','setActiveHook','hookUUID','HookFinished','PHOJq','hook',':hookAnalyticsId','toISOString','type','afterAll','ESGHl','debug','JEST','HookStarted','AFTER_ALL','KbaFd','deXXO','__jestCurrentTestIdentifier','3806361zZstGL','Error\x20routing\x20to\x20JestTestFramework:\x20','toString','BEFORE_EACH','../test-observability/obsReporter','xSRFd','oazdN','CLI\x20is\x20enabled\x20and\x20running.','Hcjfr','testStarted','test_skip','EKzSu','HookRunStarted','../../v2/cliUtils','bootstrap','hookData','hook_success','../../../helpers/test-observability/requestQueueHandler','gaYCH','setTestUUID','retryOf','../../v2/state/hookState','setFrameworkDetail','MzhSu','makeSingleTestResult','2086924cFrbtD','errorsDetailed','257944NEiJQm','BEFORE_ALL','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','BZwlJ','2252aBUuJm','../../v2/state/testFrameworkState','12bGqLAn','BROWSERSTACK_CLI_BIN_SESSION_ID','../../v2/utils/jest-utils','dIbnI','sendTestRunEvent','FuqqD','356264euKKlB','testAnalyticsId','originalTest','../../../helpers/test-observability/error-handler','isCliEnabled','shutdown','xfMHe','started_at','HookRunFinished','TestRunStarted','asyncError','wNUBl','includes','oNKdg','FWvhN','iXbYS','failed','uuid','jPFgK','Rbtkh','initialize','fEMOf','keys','state','jest-circus','Error\x20checking\x20CLI\x20readiness:\x20','TestRunFinished','testUUID','EWEHR','CUHlR','MqFCe','LOG_REPORT','hookAnalyticsId','UgcTY','currentHook','file','hMkBk','unhandledErrors','beforeEach','\x20for\x20hook\x20type:\x20','isRunning','afterEach','WRvqC','IlbzA','getInstance','CNfYi','_currentRetry','WCTdT','test_start','../../v2/browserstackCLI','error','bghvH','jHNsx','REsrw'];a17_0x2430=function(){return _0x3e05d6;};return a17_0x2430();}try{exportsI=requireModule(a17_0x46177d(0x239),'jest-circus');}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js',a17_0x46177d(0x25b));}const initInitialize=exportsI[a17_0x46177d(0x257)],jestUtils=new JestUtils();async function isCLIReady(){const _0x3c8ad6=a17_0x46177d,_0x540065={'gaYCH':_0x3c8ad6(0x223),'jPFgK':function(_0x476856,_0x1d58b9){return _0x476856(_0x1d58b9);},'VxaoC':_0x3c8ad6(0x229)};try{const _0x251483=BrowserstackCLI[_0x3c8ad6(0x26f)]();if(_0x251483['isCliEnabled']()&&_0x251483[_0x3c8ad6(0x26b)]())return logger[_0x3c8ad6(0x215)](_0x540065[_0x3c8ad6(0x22e)]),!![];const _0x20f124=process['env'][_0x3c8ad6(0x23e)];if(_0x20f124&&_0x251483['isCliEnabled']()){if(!_0x251483[_0x3c8ad6(0x26b)]())try{const _0x845f4c=_0x540065[_0x3c8ad6(0x255)](require,_0x540065['VxaoC']);_0x845f4c[_0x3c8ad6(0x232)](FRAMEWORKS[_0x3c8ad6(0x216)],FRAMEWORKS['PLAYWRIGHT']),await _0x251483[_0x3c8ad6(0x22a)]();}catch(_0x596542){return _0x540065['jPFgK'](debug,_0x3c8ad6(0x208)+util[_0x3c8ad6(0x1d8)](_0x596542)),![];}return _0x251483[_0x3c8ad6(0x26b)]();}return![];}catch(_0x2ce0b8){return _0x540065['jPFgK'](debug,_0x3c8ad6(0x25c)+util[_0x3c8ad6(0x1d8)](_0x2ce0b8)),![];}}function getTestIdentifierForHook(_0x1cfe67){const _0x219543=a17_0x46177d,_0xfeb198={};_0xfeb198['hMkBk']=function(_0x67c877,_0x188bb3){return _0x67c877===_0x188bb3;},_0xfeb198[_0x219543(0x272)]='beforeEach',_0xfeb198[_0x219543(0x278)]=_0x219543(0x1d9),_0xfeb198['BZwlJ']=function(_0x5345b5,_0x428a65){return _0x5345b5===_0x428a65;};const _0x57b01c=_0xfeb198;if(_0x57b01c[_0x219543(0x267)](_0x1cfe67[_0x219543(0x212)],_0x57b01c[_0x219543(0x272)])||_0x57b01c['hMkBk'](_0x1cfe67['type'],_0x57b01c['REsrw'])){let _0x518a91=global[_0x219543(0x21b)];if(!_0x518a91&&_0x57b01c[_0x219543(0x23a)](_0x1cfe67['type'],_0x57b01c[_0x219543(0x278)])&&_0x1cfe67[_0x219543(0x1e7)]){const _0x3a48a5={};_0x3a48a5[_0x219543(0x1fd)]=_0x1cfe67['parent'][_0x219543(0x1fd)],_0x3a48a5[_0x219543(0x1e7)]=_0x1cfe67[_0x219543(0x1e7)][_0x219543(0x1e7)],_0x3a48a5[_0x219543(0x24d)]=_0x1cfe67[_0x219543(0x24d)],_0x3a48a5[_0x219543(0x266)]=_0x1cfe67['file'];const _0x5a6a86=_0x3a48a5;_0x518a91=jestUtils[_0x219543(0x1f5)](_0x5a6a86);}return _0x518a91;}return global[_0x219543(0x21b)];}function mapHookTypeToState(_0x4adb15){const _0x2e7350=a17_0x46177d,_0x5396c4={};_0x5396c4['beforeAll']=TestFrameworkState[_0x2e7350(0x238)],_0x5396c4[_0x2e7350(0x213)]=TestFrameworkState[_0x2e7350(0x218)],_0x5396c4[_0x2e7350(0x269)]=TestFrameworkState[_0x2e7350(0x21f)],_0x5396c4['afterEach']=TestFrameworkState[_0x2e7350(0x1d7)];const _0x546627=_0x5396c4;return _0x546627[_0x4adb15]||TestFrameworkState[_0x2e7350(0x21f)];}async function handleHookEventCLI(_0x5a5f12,_0x113396,_0x33b912){const _0x1201d2=a17_0x46177d,_0x17e37f={'GILfq':function(_0x84761a){return _0x84761a();},'deXXO':function(_0xb90127){return _0xb90127();},'FUAeB':function(_0x2fb6db,_0x5a0e57){return _0x2fb6db===_0x5a0e57;},'EWEHR':_0x1201d2(0x228),'NCfEC':function(_0x3301f7,_0x3e8500){return _0x3301f7(_0x3e8500);},'WjShz':function(_0x2410bf,_0x44cdae){return _0x2410bf===_0x44cdae;},'fEMOf':function(_0x43351a,_0x1f00b0){return _0x43351a===_0x1f00b0;},'xgWwA':function(_0x4ee389,_0x3dfdcd){return _0x4ee389===_0x3dfdcd;},'UBZgp':_0x1201d2(0x24b),'jbtPv':_0x1201d2(0x20f),'wNUBl':function(_0x283250,_0x4caf31){return _0x283250===_0x4caf31;}};logger['debug'](_0x1201d2(0x1fb)+_0x113396+_0x1201d2(0x26a)+_0x5a5f12[_0x1201d2(0x212)]);try{if(_0x5a5f12['fn']&&_0x5a5f12['fn'][_0x1201d2(0x21e)]()[_0x1201d2(0x207)](/browserstack internal helper hook/))return;let _0x164e24=_0x5a5f12[_0x1201d2(0x263)];if(!_0x164e24)_0x164e24=_0x17e37f['GILfq'](uuidv4),_0x5a5f12[_0x1201d2(0x263)]=_0x164e24;else _0x5a5f12[_0x1201d2(0x1f6)]&&(_0x164e24=_0x17e37f[_0x1201d2(0x21a)](uuidv4),_0x5a5f12[_0x1201d2(0x263)]=_0x164e24,delete _0x5a5f12[_0x1201d2(0x1f6)]);_0x17e37f['FUAeB'](_0x113396,_0x17e37f['EWEHR'])&&(_0x5a5f12[_0x1201d2(0x24a)]=new Date()[_0x1201d2(0x211)]());const _0x5c09fc=_0x17e37f[_0x1201d2(0x27a)](getTestIdentifierForHook,_0x5a5f12);!global[_0x1201d2(0x20a)]&&(global[_0x1201d2(0x20a)]={});if(_0x17e37f['WjShz'](_0x113396,_0x17e37f[_0x1201d2(0x25f)])){global[_0x1201d2(0x20a)]['currentHook']={'hookUUID':_0x164e24,'testIdentifier':_0x5c09fc,'hookType':_0x5a5f12[_0x1201d2(0x212)],'startedAt':new Date()[_0x1201d2(0x211)]()};const _0x545914=BrowserstackCLI[_0x1201d2(0x26f)]()[_0x1201d2(0x1d1)]();_0x545914&&_0x545914[_0x1201d2(0x20b)]&&_0x545914[_0x1201d2(0x20b)](_0x5c09fc,_0x164e24,_0x5a5f12['type']);}const _0x2ff7c9=await jestUtils[_0x1201d2(0x279)](_0x5a5f12,_0x164e24,_0x113396,_0x5c09fc);if(!_0x2ff7c9)return;const _0x33aa5d=_0x17e37f[_0x1201d2(0x27a)](mapHookTypeToState,_0x5a5f12['type']),_0x350b15=_0x17e37f[_0x1201d2(0x258)](_0x113396,_0x17e37f[_0x1201d2(0x25f)])?HookState[_0x1201d2(0x1fe)]:HookState[_0x1201d2(0x202)],_0xe4a052=BrowserstackCLI['getInstance']()[_0x1201d2(0x1d1)]();if(_0xe4a052){const _0x2f61c8={};_0x2f61c8[_0x1201d2(0x22b)]=_0x2ff7c9,await _0xe4a052[_0x1201d2(0x1e9)](_0x33aa5d,_0x350b15,_0x2f61c8);if(_0x17e37f['xgWwA'](_0x113396,_0x17e37f['UBZgp'])){const _0x3f1d77={};_0x3f1d77[_0x1201d2(0x25e)]=_0x5c09fc,_0x3f1d77[_0x1201d2(0x212)]=_0x17e37f[_0x1201d2(0x1ef)],await _0xe4a052['trackEvent'](TestFrameworkState[_0x1201d2(0x262)],HookState['POST'],_0x3f1d77),global[_0x1201d2(0x20a)]&&global[_0x1201d2(0x20a)][_0x1201d2(0x265)]&&_0x17e37f[_0x1201d2(0x24e)](global[_0x1201d2(0x20a)][_0x1201d2(0x265)][_0x1201d2(0x20c)],_0x164e24)&&delete global[_0x1201d2(0x20a)][_0x1201d2(0x265)],_0xe4a052[_0x1201d2(0x1f7)]&&_0xe4a052[_0x1201d2(0x1f7)](_0x5c09fc,_0x164e24);}}}catch(_0x346a36){logger[_0x1201d2(0x275)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util['format'](_0x346a36));throw _0x346a36;}}async function handleTestEventCLI(_0x475cf5,_0x37f7fa,_0x32bce4){const _0x5bb0cd=a17_0x46177d,_0x2609b9={};_0x2609b9[_0x5bb0cd(0x256)]=function(_0x1b14a6,_0xa1f46f){return _0x1b14a6===_0xa1f46f;},_0x2609b9['JZXtK']='TestRunStarted',_0x2609b9[_0x5bb0cd(0x222)]=function(_0x471f23,_0x2f0bc5){return _0x471f23>_0x2f0bc5;},_0x2609b9['qFHuu']=function(_0x4f1e46,_0x5466a0){return _0x4f1e46===_0x5466a0;},_0x2609b9[_0x5bb0cd(0x242)]=function(_0x3e7ffd,_0x59146b){return _0x3e7ffd&&_0x59146b;},_0x2609b9[_0x5bb0cd(0x1ff)]=_0x5bb0cd(0x253),_0x2609b9[_0x5bb0cd(0x227)]=_0x5bb0cd(0x25d),_0x2609b9[_0x5bb0cd(0x20e)]='test';const _0x5359f6=_0x2609b9;logger[_0x5bb0cd(0x215)](_0x5bb0cd(0x1ec)+_0x37f7fa);try{let _0x2eb319;if(_0x5359f6['Rbtkh'](_0x37f7fa,_0x5359f6[_0x5bb0cd(0x1ea)])){_0x2eb319=jestUtils[_0x5bb0cd(0x1f5)](_0x475cf5),global[_0x5bb0cd(0x21b)]=_0x2eb319,_0x475cf5[_0x5bb0cd(0x244)]=_0x2eb319,_0x475cf5['id']=_0x2eb319,_0x475cf5[_0x5bb0cd(0x24a)]=new Date()['toISOString']();const _0x54ba8c=_0x32bce4[_0x5bb0cd(0x1ee)];_0x32bce4['current_test']=_0x475cf5,_0x475cf5[_0x5bb0cd(0x230)]=null;if(_0x5359f6['oazdN'](_0x475cf5[_0x5bb0cd(0x271)],0x0)&&_0x54ba8c&&_0x5359f6[_0x5bb0cd(0x203)](_0x54ba8c[_0x5bb0cd(0x201)],_0x475cf5[_0x5bb0cd(0x201)])){_0x475cf5[_0x5bb0cd(0x230)]=_0x54ba8c['testAnalyticsId'];const _0x3765c1=await jestUtils[_0x5bb0cd(0x1d2)](_0x475cf5,_0x2eb319,_0x5359f6['JZXtK']),_0xa049d7=BrowserstackCLI[_0x5bb0cd(0x26f)]()[_0x5bb0cd(0x1d1)]();if(_0x5359f6[_0x5bb0cd(0x242)](_0x3765c1,_0xa049d7)){const _0x428a01={};_0x428a01['test']=_0x3765c1,await _0xa049d7['trackEvent'](TestFrameworkState['TEST'],HookState[_0x5bb0cd(0x1fe)],_0x428a01);}_0x54ba8c[_0x5bb0cd(0x25a)]=_0x5359f6['bONrg'];const _0x2a548c=await jestUtils[_0x5bb0cd(0x1d2)](_0x54ba8c,_0x54ba8c[_0x5bb0cd(0x244)],_0x5359f6[_0x5bb0cd(0x227)]);if(_0x5359f6['FuqqD'](_0x2a548c,_0xa049d7)){const _0x5de024={};_0x5de024[_0x5bb0cd(0x1f4)]=_0x2a548c,await _0xa049d7['trackEvent'](TestFrameworkState[_0x5bb0cd(0x27b)],HookState[_0x5bb0cd(0x202)],_0x5de024);}}else{const _0x266cc2=await jestUtils[_0x5bb0cd(0x1d2)](_0x475cf5,_0x2eb319,_0x5359f6[_0x5bb0cd(0x1ea)]),_0x2d4ddd=BrowserstackCLI['getInstance']()[_0x5bb0cd(0x1d1)]();if(_0x5359f6['FuqqD'](_0x266cc2,_0x2d4ddd)){const _0x4b4b0c={};_0x4b4b0c['test']=_0x266cc2,await _0x2d4ddd['trackEvent'](TestFrameworkState[_0x5bb0cd(0x27b)],HookState[_0x5bb0cd(0x1fe)],_0x4b4b0c);}}}else{_0x2eb319=_0x475cf5[_0x5bb0cd(0x244)]||_0x475cf5['id']||global[_0x5bb0cd(0x21b)];const _0x3306af=await jestUtils['createTestFrameworkData'](_0x475cf5,_0x2eb319,_0x37f7fa),_0x1718f9=BrowserstackCLI[_0x5bb0cd(0x26f)]()[_0x5bb0cd(0x1d1)]();if(_0x5359f6[_0x5bb0cd(0x242)](_0x3306af,_0x1718f9)){const _0x234805={};_0x234805[_0x5bb0cd(0x1f4)]=_0x3306af,_0x234805[_0x5bb0cd(0x245)]=_0x475cf5,await _0x1718f9['trackEvent'](TestFrameworkState[_0x5bb0cd(0x27b)],HookState[_0x5bb0cd(0x202)],_0x234805);const _0x171810={};_0x171810[_0x5bb0cd(0x25e)]=_0x2eb319,_0x171810[_0x5bb0cd(0x212)]=_0x5359f6[_0x5bb0cd(0x20e)],await _0x1718f9[_0x5bb0cd(0x1e9)](TestFrameworkState[_0x5bb0cd(0x262)],HookState['POST'],_0x171810);}}}catch(_0x4660f1){logger[_0x5bb0cd(0x275)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x5bb0cd(0x1d8)](_0x4660f1));throw _0x4660f1;}}function a17_0x3ef5(_0x3531e5,_0x1c790f){const _0x24304b=a17_0x2430();return a17_0x3ef5=function(_0x3ef542,_0x5484de){_0x3ef542=_0x3ef542-0x1d1;let _0x37e221=_0x24304b[_0x3ef542];return _0x37e221;},a17_0x3ef5(_0x3531e5,_0x1c790f);}exportsI[a17_0x46177d(0x257)]=(..._0x72327d)=>{const _0x5e8344=a17_0x46177d,_0x39ee33={'arHfJ':_0x5e8344(0x1e3),'xfMHe':function(_0x1e0a0b,_0x550574){return _0x1e0a0b(_0x550574);},'loDyZ':function(_0x5b8b1c){return _0x5b8b1c();},'JqrzR':function(_0x1ed630,_0x23fcde,_0x1b3adb,_0x5df82b){return _0x1ed630(_0x23fcde,_0x1b3adb,_0x5df82b);},'rWzkB':'HookRunStarted','ESGHl':function(_0x58079e,_0x580cce){return _0x58079e(_0x580cce);},'WRvqC':_0x5e8344(0x22c),'oEmhz':function(_0x3b9e56){return _0x3b9e56();},'nJtFR':_0x5e8344(0x24b),'VjBAk':_0x5e8344(0x200),'RMiTu':_0x5e8344(0x1d9),'Hcjfr':_0x5e8344(0x269),'MzhSu':_0x5e8344(0x26c),'FWvhN':function(_0x16a51d,_0x4e5777){return _0x16a51d>_0x4e5777;},'IlbzA':function(_0x59032f,_0x1df75e,_0x114e33,_0x44740e){return _0x59032f(_0x1df75e,_0x114e33,_0x44740e);},'HsqNh':_0x5e8344(0x273),'iXbYS':function(_0x25e5d9){return _0x25e5d9();},'jHNsx':_0x5e8344(0x24c),'MxLYh':function(_0x4695ce,_0xa1d33){return _0x4695ce(_0xa1d33);},'bghvH':'test_done','uOQJH':function(_0x1f2fe7){return _0x1f2fe7();},'UgcTY':function(_0x61704,_0x24b7d0,_0x2a6f98,_0x2810d3){return _0x61704(_0x24b7d0,_0x2a6f98,_0x2810d3);},'XVPDs':_0x5e8344(0x25d),'OpQIr':function(_0x370f80,_0x4797e9){return _0x370f80(_0x4797e9);},'fHamI':_0x5e8344(0x226),'xSRFd':function(_0x363b6e,_0x1fefa9){return _0x363b6e(_0x1fefa9);},'CUHlR':function(_0xfb71bf){return _0xfb71bf();},'oNKdg':'TestRunSkipped','FKXis':function(_0x354de6,_0x2eb4ae){return _0x354de6(_0x2eb4ae);},'PHzPW':_0x5e8344(0x206),'xmbms':'teardown','VqXjV':function(_0x31b389,_0x273aac,_0x3ead11){return _0x31b389(_0x273aac,_0x3ead11);},'KbaFd':'jest-circus/build/state.js','DrCPm':_0x5e8344(0x25b),'dIbnI':_0x5e8344(0x1d6),'CNfYi':function(_0x2f4259,_0x229c1f){return _0x2f4259(_0x229c1f);},'YuMIq':function(_0x284f0f){return _0x284f0f();},'KwkCz':_0x5e8344(0x1e6),'DXCKT':function(_0x3bb656,_0xfbe2f7){return _0x3bb656(_0xfbe2f7);},'MqFCe':function(_0x3e6481,..._0x2d327b){return _0x3e6481(..._0x2d327b);}};try{const _0x377930=new ObservabilityReporter();_0x39ee33['CUHlR'](shouldProcessEventForTesthub)&&(_0x39ee33[_0x5e8344(0x260)](patchConsoleLogger),_0x377930['registerListeners']());let _0xaa3cfa;try{_0xaa3cfa=_0x39ee33[_0x5e8344(0x1de)](requireModule,_0x39ee33[_0x5e8344(0x219)],_0x39ee33[_0x5e8344(0x1ed)]);}catch{_0xaa3cfa=_0x39ee33[_0x5e8344(0x214)](requireModule,_0x39ee33[_0x5e8344(0x1ed)]);}let _0x39190c;try{_0x39190c=_0x39ee33[_0x5e8344(0x1de)](requireModule,_0x39ee33[_0x5e8344(0x240)],_0x39ee33['DrCPm'])[_0x5e8344(0x234)];}catch{_0x39190c=_0x39ee33[_0x5e8344(0x270)](requireModule,_0x39ee33[_0x5e8344(0x1ed)])[_0x5e8344(0x234)];}_0x39ee33['YuMIq'](shouldProcessEventForTesthub)&&_0xaa3cfa[_0x5e8344(0x1e8)](_0x39ee33[_0x5e8344(0x1de)](o11yErrorHandler,async(_0x21e735,_0x3af59f)=>{const _0x209ac4=_0x5e8344;switch(_0x21e735[_0x209ac4(0x1fd)]){case _0x39ee33[_0x209ac4(0x1e2)]:if(_0x39ee33['xfMHe'](shouldProcessEventForTesthub,testHubConstants[_0x209ac4(0x1f0)][_0x209ac4(0x217)])){if(_0x21e735[_0x209ac4(0x20f)]['fn']&&_0x21e735[_0x209ac4(0x20f)]['fn'][_0x209ac4(0x21e)]()[_0x209ac4(0x207)](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x209ac4(0x26f)]()['isCliEnabled']()&&await _0x39ee33[_0x209ac4(0x1d5)](isCLIReady))try{await _0x39ee33['JqrzR'](handleHookEventCLI,_0x21e735[_0x209ac4(0x20f)],_0x39ee33[_0x209ac4(0x1f8)],_0x3af59f);break;}catch(_0x4144b8){_0x39ee33[_0x209ac4(0x214)](debug,_0x209ac4(0x21d)+util[_0x209ac4(0x1d8)](_0x4144b8));}if(!_0x21e735['hook'][_0x209ac4(0x263)]){const _0x315e87=TestDetails[_0x209ac4(0x22f)](process[_0x209ac4(0x1dc)]+_0x209ac4(0x210));_0x21e735['hook'][_0x209ac4(0x263)]=_0x315e87;}else _0x21e735['hook'][_0x209ac4(0x1f6)]&&(_0x21e735[_0x209ac4(0x20f)][_0x209ac4(0x263)]=TestDetails[_0x209ac4(0x22f)](process[_0x209ac4(0x1dc)]+_0x209ac4(0x210)),delete _0x21e735[_0x209ac4(0x20f)]['markedStatus']);_0x21e735[_0x209ac4(0x20f)][_0x209ac4(0x24a)]=new Date()[_0x209ac4(0x211)](),await _0x377930[_0x209ac4(0x241)](_0x21e735[_0x209ac4(0x20f)],undefined,![],_0x39ee33[_0x209ac4(0x1f8)]);}break;case _0x39ee33[_0x209ac4(0x26d)]:if(_0x39ee33[_0x209ac4(0x214)](shouldProcessEventForTesthub,testHubConstants[_0x209ac4(0x1f0)]['HookFinished'])){if(BrowserstackCLI[_0x209ac4(0x26f)]()['isCliEnabled']()&&await _0x39ee33[_0x209ac4(0x1db)](isCLIReady))try{await _0x39ee33[_0x209ac4(0x1fc)](handleHookEventCLI,_0x21e735[_0x209ac4(0x20f)],_0x39ee33[_0x209ac4(0x1d4)],_0x3af59f);break;}catch(_0x14006f){_0x39ee33[_0x209ac4(0x214)](debug,_0x209ac4(0x21d)+util[_0x209ac4(0x1d8)](_0x14006f));}await _0x377930[_0x209ac4(0x241)](_0x21e735['hook'],undefined,![],_0x39ee33[_0x209ac4(0x1d4)]),TestDetails['removeTestUUID'](process[_0x209ac4(0x1dc)]+_0x209ac4(0x210));}break;case _0x39ee33['VjBAk']:[_0x39ee33['RMiTu'],_0x39ee33[_0x209ac4(0x224)],_0x39ee33[_0x209ac4(0x233)]][_0x209ac4(0x24f)](_0x21e735['hook'][_0x209ac4(0x212)])&&(_0x377930[_0x209ac4(0x200)]=_0x21e735['hook'][_0x209ac4(0x212)]),_0x3af59f['unhandledErrors']&&_0x39ee33[_0x209ac4(0x251)](_0x3af59f[_0x209ac4(0x268)]['length'],0x0)&&(_0x21e735[_0x209ac4(0x20f)][_0x209ac4(0x236)]=[_0x3af59f[_0x209ac4(0x268)][0x0][0x0]]);if(_0x39ee33[_0x209ac4(0x249)](shouldProcessEventForTesthub,testHubConstants[_0x209ac4(0x1f0)][_0x209ac4(0x20d)])){if(BrowserstackCLI[_0x209ac4(0x26f)]()[_0x209ac4(0x247)]()&&await _0x39ee33[_0x209ac4(0x1db)](isCLIReady))try{await _0x39ee33[_0x209ac4(0x26e)](handleHookEventCLI,_0x21e735['hook'],_0x39ee33[_0x209ac4(0x1d4)],_0x3af59f);break;}catch(_0x5f09bb){_0x39ee33[_0x209ac4(0x214)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x209ac4(0x1d8)](_0x5f09bb));}await _0x377930[_0x209ac4(0x241)](_0x21e735[_0x209ac4(0x20f)],undefined,![],_0x39ee33['nJtFR']),TestDetails[_0x209ac4(0x209)](process[_0x209ac4(0x1dc)]+_0x209ac4(0x210));}break;case _0x39ee33['HsqNh']:if(_0x39ee33[_0x209ac4(0x1d5)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x209ac4(0x26f)]()[_0x209ac4(0x247)]()&&await _0x39ee33[_0x209ac4(0x252)](isCLIReady))try{await _0x39ee33[_0x209ac4(0x1fc)](handleTestEventCLI,_0x21e735[_0x209ac4(0x1f4)],_0x39ee33[_0x209ac4(0x277)],_0x377930);break;}catch(_0x800c2c){_0x39ee33['MxLYh'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x209ac4(0x1d8)](_0x800c2c));}await _0x377930[_0x209ac4(0x225)](_0x21e735['test']);}break;case _0x39ee33[_0x209ac4(0x276)]:_0x21e735[_0x209ac4(0x1f4)]={..._0x39ee33[_0x209ac4(0x249)](_0x39190c,_0x21e735['test']),..._0x21e735[_0x209ac4(0x1f4)]};if(_0x39ee33[_0x209ac4(0x252)](shouldProcessEventForTesthub)){if(!_0x21e735[_0x209ac4(0x1f4)][_0x209ac4(0x1f6)]){_0x21e735[_0x209ac4(0x1f4)][_0x209ac4(0x1f6)]=!![];if(BrowserstackCLI['getInstance']()[_0x209ac4(0x247)]()&&await _0x39ee33[_0x209ac4(0x1da)](isCLIReady))try{await _0x39ee33[_0x209ac4(0x264)](handleTestEventCLI,_0x21e735['test'],_0x39ee33[_0x209ac4(0x1e1)],_0x377930);break;}catch(_0x9d260a){_0x39ee33['OpQIr'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x209ac4(0x1d8)](_0x9d260a));}await _0x377930[_0x209ac4(0x241)](_0x21e735['test']);}}break;case _0x39ee33[_0x209ac4(0x1eb)]:_0x21e735[_0x209ac4(0x1f4)]={..._0x39ee33[_0x209ac4(0x221)](_0x39190c,_0x21e735['test']),..._0x21e735['test']};if(_0x39ee33[_0x209ac4(0x1d5)](shouldProcessEventForTesthub)){if(!_0x21e735[_0x209ac4(0x1f4)][_0x209ac4(0x1f6)]){_0x21e735[_0x209ac4(0x1f4)][_0x209ac4(0x1f6)]=!![];if(BrowserstackCLI[_0x209ac4(0x26f)]()['isCliEnabled']()&&await _0x39ee33[_0x209ac4(0x260)](isCLIReady))try{await _0x39ee33['IlbzA'](handleTestEventCLI,_0x21e735[_0x209ac4(0x1f4)],_0x39ee33[_0x209ac4(0x250)],_0x377930);break;}catch(_0x2267b2){_0x39ee33['FKXis'](debug,_0x209ac4(0x21d)+util['format'](_0x2267b2));}await _0x377930[_0x209ac4(0x241)](_0x21e735[_0x209ac4(0x1f4)],undefined,![],_0x39ee33[_0x209ac4(0x250)]);}}break;case _0x39ee33['PHzPW']:_0x377930[_0x209ac4(0x200)]=null;break;case _0x39ee33[_0x209ac4(0x1e0)]:await RequestQueueHandler['getInstance']()[_0x209ac4(0x248)](),process['removeAllListeners']();break;default:}},_0x39ee33[_0x5e8344(0x1dd)]));}catch(_0x2c50c4){_0x39ee33[_0x5e8344(0x1fa)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x2c50c4);}return _0x39ee33[_0x5e8344(0x261)](initInitialize,..._0x72327d);};try{Object[a17_0x46177d(0x259)](exportsI)[a17_0x46177d(0x205)](_0x4944a7=>{const _0x559a58=a17_0x46177d,_0x53ff39={'EVGxb':function(_0x517247,_0x3a49bf){return _0x517247(_0x3a49bf);}};try{exports&&(exports[_0x4944a7]=exportsI[_0x4944a7]);}catch(_0x3ce422){_0x53ff39[_0x559a58(0x204)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x3ce422);}});}catch(a17_0x38d5c3){debug(a17_0x46177d(0x1e5)+a17_0x38d5c3);}
@@ -1 +1 @@
1
- const a18_0x3e2400=a18_0xdc64;(function(_0x589f7e,_0x1421e5){const _0x4021d5=a18_0xdc64,_0x518e0a=_0x589f7e();while(!![]){try{const _0x1e6d67=-parseInt(_0x4021d5(0x80))/0x1*(parseInt(_0x4021d5(0x71))/0x2)+-parseInt(_0x4021d5(0x7a))/0x3+-parseInt(_0x4021d5(0x75))/0x4*(parseInt(_0x4021d5(0x76))/0x5)+parseInt(_0x4021d5(0x70))/0x6+parseInt(_0x4021d5(0x6f))/0x7*(-parseInt(_0x4021d5(0x77))/0x8)+parseInt(_0x4021d5(0x7c))/0x9*(parseInt(_0x4021d5(0x6d))/0xa)+-parseInt(_0x4021d5(0x81))/0xb*(-parseInt(_0x4021d5(0x7f))/0xc);if(_0x1e6d67===_0x1421e5)break;else _0x518e0a['push'](_0x518e0a['shift']());}catch(_0x78a149){_0x518e0a['push'](_0x518e0a['shift']());}}}(a18_0x3451,0x6652a));function a18_0xdc64(_0x4b27f2,_0x54e684){const _0x34519a=a18_0x3451();return a18_0xdc64=function(_0xdc642b,_0x225f37){_0xdc642b=_0xdc642b-0x6d;let _0x43a8ea=_0x34519a[_0xdc642b];return _0x43a8ea;},a18_0xdc64(_0x4b27f2,_0x54e684);}const Sequencer=require(a18_0x3e2400(0x7d))['default'];function a18_0x3451(){const _0x4fd8a2=['135wRlOfj','@jest/test-sequencer','sort','4462632kHfrrU','398973RHmrwa','22sgbcLI','60470FUzqlz','env','301OfOoPB','4836816hymzDC','4zIeILz','filter','includes','exports','1492ODxJnG','1615iWYdbm','49368bIXOwA','path','split','113163OYPkXu','JEST_TEST_ORDER'];a18_0x3451=function(){return _0x4fd8a2;};return a18_0x3451();}class CustomSequencer extends Sequencer{[a18_0x3e2400(0x7e)](_0x5e4c7c){const _0x2f14b7=a18_0x3e2400,_0x34ca66=process[_0x2f14b7(0x6e)][_0x2f14b7(0x7b)];if(!_0x34ca66)return _0x5e4c7c;const _0x42838d=_0x34ca66[_0x2f14b7(0x79)](','),_0x59087a=new Map(_0x5e4c7c[_0x2f14b7(0x72)](_0x4e3ae8=>_0x42838d[_0x2f14b7(0x73)](_0x4e3ae8['path']))['map'](_0x2a8bf3=>[_0x2a8bf3[_0x2f14b7(0x78)],_0x2a8bf3]));return _0x42838d['map'](_0x1d9c15=>_0x59087a['get'](_0x1d9c15))[_0x2f14b7(0x72)](Boolean);}}module[a18_0x3e2400(0x74)]=CustomSequencer;
1
+ const a18_0x43fb5f=a18_0x1841;(function(_0x56e61c,_0x6bb118){const _0x2ca67b=a18_0x1841,_0x1012c0=_0x56e61c();while(!![]){try{const _0x58a902=parseInt(_0x2ca67b(0x1f0))/0x1+parseInt(_0x2ca67b(0x1e5))/0x2*(parseInt(_0x2ca67b(0x1ed))/0x3)+-parseInt(_0x2ca67b(0x1e2))/0x4*(-parseInt(_0x2ca67b(0x1e7))/0x5)+-parseInt(_0x2ca67b(0x1f1))/0x6+parseInt(_0x2ca67b(0x1eb))/0x7*(-parseInt(_0x2ca67b(0x1f3))/0x8)+parseInt(_0x2ca67b(0x1ef))/0x9+-parseInt(_0x2ca67b(0x1e8))/0xa;if(_0x58a902===_0x6bb118)break;else _0x1012c0['push'](_0x1012c0['shift']());}catch(_0x1f9107){_0x1012c0['push'](_0x1012c0['shift']());}}}(a18_0x5386,0x55d9c));function a18_0x5386(){const _0x694cf2=['path','2vAuKHZ','exports','95DBcDrq','6431460pmGZhO','split','sort','7qsQFtV','get','815874KeBOQE','map','3858138LepBCc','228895gJERNx','533706lQcmgV','filter','1092712CLgbSJ','61220XVIYlK','default'];a18_0x5386=function(){return _0x694cf2;};return a18_0x5386();}function a18_0x1841(_0x26ebe2,_0x5ffc85){const _0x538603=a18_0x5386();return a18_0x1841=function(_0x184124,_0x18bd40){_0x184124=_0x184124-0x1e2;let _0x5cba0a=_0x538603[_0x184124];return _0x5cba0a;},a18_0x1841(_0x26ebe2,_0x5ffc85);}const Sequencer=require('@jest/test-sequencer')[a18_0x43fb5f(0x1e3)];class CustomSequencer extends Sequencer{[a18_0x43fb5f(0x1ea)](_0xc371d7){const _0x5d16ef=a18_0x43fb5f,_0x2c65ec=process['env']['JEST_TEST_ORDER'];if(!_0x2c65ec)return _0xc371d7;const _0x51574c=_0x2c65ec[_0x5d16ef(0x1e9)](','),_0x4d5a74=new Map(_0xc371d7[_0x5d16ef(0x1f2)](_0x2e9a67=>_0x51574c['includes'](_0x2e9a67[_0x5d16ef(0x1e4)]))['map'](_0x13dc5b=>[_0x13dc5b['path'],_0x13dc5b]));return _0x51574c[_0x5d16ef(0x1ee)](_0x3032bf=>_0x4d5a74[_0x5d16ef(0x1ec)](_0x3032bf))[_0x5d16ef(0x1f2)](Boolean);}}module[a18_0x43fb5f(0x1e6)]=CustomSequencer;
@@ -1 +1 @@
1
- 'use strict';function a19_0x3bdb(){const _0x385cb6=['runTests','44pIEUBp','1454322BzeSJO','4MlHZQr','default','value','EMXUb','serial__','423040yTyQql','2BGuBKV','xWKxl','jest-runner','config','freeze','2139420NpjIgl','forEach','rfgbQ','length','__esModule','defineProperty','897480iUcbJB','293353EbNDok','kXJRV','_globalConfig','kusVP','push','exports','testEnvironmentOptions','919683IhjKwr','32YDZjQZ','slice','212202eHxuea','context','7BlwbjN'];a19_0x3bdb=function(){return _0x385cb6;};return a19_0x3bdb();}const a19_0x2724e4=a19_0x5443;(function(_0x34e83c,_0x1b7ba1){const _0x4d5a8f=a19_0x5443,_0x44acb0=_0x34e83c();while(!![]){try{const _0x31aef3=parseInt(_0x4d5a8f(0xba))/0x1*(-parseInt(_0x4d5a8f(0xae))/0x2)+parseInt(_0x4d5a8f(0xc1))/0x3*(-parseInt(_0x4d5a8f(0xca))/0x4)+parseInt(_0x4d5a8f(0xb9))/0x5+-parseInt(_0x4d5a8f(0xc9))/0x6*(parseInt(_0x4d5a8f(0xc6))/0x7)+parseInt(_0x4d5a8f(0xc2))/0x8*(parseInt(_0x4d5a8f(0xc4))/0x9)+parseInt(_0x4d5a8f(0xad))/0xa+-parseInt(_0x4d5a8f(0xc8))/0xb*(-parseInt(_0x4d5a8f(0xb3))/0xc);if(_0x31aef3===_0x1b7ba1)break;else _0x44acb0['push'](_0x44acb0['shift']());}catch(_0x1a8077){_0x44acb0['push'](_0x44acb0['shift']());}}}(a19_0x3bdb,0x2da47));const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a19_0x17d4e9={};function a19_0x5443(_0x214ead,_0x54b2c7){const _0x3bdb2d=a19_0x3bdb();return a19_0x5443=function(_0x544345,_0x528649){_0x544345=_0x544345-0xac;let _0x59b80e=_0x3bdb2d[_0x544345];return _0x59b80e;},a19_0x5443(_0x214ead,_0x54b2c7);}a19_0x17d4e9[a19_0x2724e4(0xcc)]=!![],Object[a19_0x2724e4(0xb8)](exports,a19_0x2724e4(0xb7),a19_0x17d4e9),exports[a19_0x2724e4(0xcb)]=void 0x0;function _interopRequireDefault(_0x242c15){const _0x35a988=a19_0x2724e4;return _0x242c15&&_0x242c15[_0x35a988(0xb7)]?_0x242c15:{'default':_0x242c15};}const JestRunner=_interopRequireDefault(requireModule(a19_0x2724e4(0xb0)))[a19_0x2724e4(0xcb)];class TestRunner extends JestRunner{constructor(..._0x63b4e1){super(..._0x63b4e1);}['runTests'](..._0x2e8ee0){const _0x2a422d=a19_0x2724e4,_0x52e3f9={'xWKxl':function(_0x4a6a29){return _0x4a6a29();},'EMXUb':function(_0x43704e,_0x5d07be){return _0x43704e-_0x5d07be;},'kXJRV':function(_0xb6f7ec,_0x49c1fb){return _0xb6f7ec*_0x49c1fb;},'IZatE':function(_0x35573c,_0x213fce){return _0x35573c===_0x213fce;},'kusVP':'false','rfgbQ':function(_0x14a42a,_0x3b8382){return _0x14a42a<_0x3b8382;}};if(!_0x52e3f9[_0x2a422d(0xaf)](isBrowserstackInfra))return super['runTests'](..._0x2e8ee0);const _0x3e338b=_0x2e8ee0[0x0],_0x16756a=_0x2e8ee0[_0x52e3f9[_0x2a422d(0xcd)](_0x2e8ee0[_0x2a422d(0xb6)],0x1)],_0x10ceb1=_0x3e338b[0x0][_0x2a422d(0xc5)]['config'][_0x2a422d(0xc0)]['capabilities'],_0x479650=_0x3e338b[0x0][_0x2a422d(0xc5)][_0x2a422d(0xb1)][_0x2a422d(0xc0)]['parallels__'];_0x479650&&(this['_globalConfig']=Object[_0x2a422d(0xb2)]({...this[_0x2a422d(0xbc)],'maxWorkers':_0x52e3f9[_0x2a422d(0xbb)](_0x479650,_0x10ceb1[_0x2a422d(0xb6)])}));_0x52e3f9['IZatE'](_0x3e338b[0x0][_0x2a422d(0xc5)]['config']['testEnvironmentOptions'][_0x2a422d(0xac)],_0x52e3f9[_0x2a422d(0xbd)])&&(_0x16756a&&(_0x16756a['serial']=![]));const _0x1e0c01=[];for(let _0x4a0f55=0x0;_0x52e3f9[_0x2a422d(0xb5)](_0x4a0f55,_0x3e338b['length']);_0x4a0f55++){const _0x3bb2d3=[];_0x10ceb1[_0x2a422d(0xb4)]((_0x32aa3f,_0x5cf0d5)=>{const _0x509e54=_0x2a422d,_0x357c72={..._0x3e338b[_0x4a0f55]},_0x79ad45=_0x357c72;_0x79ad45[_0x509e54(0xc5)]=Object['freeze']({..._0x79ad45[_0x509e54(0xc5)],'config':{..._0x79ad45['context']['config'],'capability':_0x32aa3f,'browserstackPlatformIndex':_0x5cf0d5}}),_0x3bb2d3[_0x509e54(0xbe)](_0x79ad45);}),_0x1e0c01[_0x2a422d(0xbe)](..._0x3bb2d3);}return super[_0x2a422d(0xc7)](_0x1e0c01,..._0x2e8ee0[_0x2a422d(0xc3)](0x1));}}module[a19_0x2724e4(0xbf)]=TestRunner;
1
+ 'use strict';const a19_0x21c277=a19_0x2d14;(function(_0x5e10de,_0x42a821){const _0x33fc23=a19_0x2d14,_0x267150=_0x5e10de();while(!![]){try{const _0x18d649=parseInt(_0x33fc23(0x156))/0x1*(parseInt(_0x33fc23(0x16f))/0x2)+-parseInt(_0x33fc23(0x160))/0x3+-parseInt(_0x33fc23(0x167))/0x4+-parseInt(_0x33fc23(0x157))/0x5+parseInt(_0x33fc23(0x153))/0x6+-parseInt(_0x33fc23(0x158))/0x7*(parseInt(_0x33fc23(0x162))/0x8)+parseInt(_0x33fc23(0x15e))/0x9*(parseInt(_0x33fc23(0x15f))/0xa);if(_0x18d649===_0x42a821)break;else _0x267150['push'](_0x267150['shift']());}catch(_0x13c614){_0x267150['push'](_0x267150['shift']());}}}(a19_0x3aff,0xee43a));const {requireModule,isBrowserstackInfra}=require(a19_0x21c277(0x169)),a19_0x4118d9={};a19_0x4118d9[a19_0x21c277(0x172)]=!![],Object[a19_0x21c277(0x166)](exports,'__esModule',a19_0x4118d9),exports[a19_0x21c277(0x154)]=void 0x0;function _interopRequireDefault(_0x5c6711){return _0x5c6711&&_0x5c6711['__esModule']?_0x5c6711:{'default':_0x5c6711};}const JestRunner=_interopRequireDefault(requireModule(a19_0x21c277(0x164)))[a19_0x21c277(0x154)];function a19_0x2d14(_0x13053d,_0x49ff69){const _0x3aff98=a19_0x3aff();return a19_0x2d14=function(_0x2d14bd,_0x1d6dd6){_0x2d14bd=_0x2d14bd-0x150;let _0x2ceecb=_0x3aff98[_0x2d14bd];return _0x2ceecb;},a19_0x2d14(_0x13053d,_0x49ff69);}class TestRunner extends JestRunner{constructor(..._0x1204e4){super(..._0x1204e4);}['runTests'](..._0x2a47b2){const _0x534fc2=a19_0x21c277,_0x5c4b13={'GPIaB':function(_0x18d185){return _0x18d185();},'fwJmt':function(_0x3f5a43,_0x4af3db){return _0x3f5a43-_0x4af3db;},'qIbOj':function(_0x5e6808,_0x3246f1){return _0x5e6808*_0x3246f1;},'Epcdi':function(_0x2628fd,_0x2ee700){return _0x2628fd===_0x2ee700;},'ZIQxa':_0x534fc2(0x16a),'xEHsi':function(_0x10942e,_0x19a67e){return _0x10942e<_0x19a67e;}};if(!_0x5c4b13[_0x534fc2(0x159)](isBrowserstackInfra))return super[_0x534fc2(0x15b)](..._0x2a47b2);const _0x1cad02=_0x2a47b2[0x0],_0x29aabc=_0x2a47b2[_0x5c4b13['fwJmt'](_0x2a47b2[_0x534fc2(0x150)],0x1)],_0x443279=_0x1cad02[0x0][_0x534fc2(0x161)]['config']['testEnvironmentOptions'][_0x534fc2(0x15d)],_0x9a48ba=_0x1cad02[0x0][_0x534fc2(0x161)]['config']['testEnvironmentOptions'][_0x534fc2(0x152)];_0x9a48ba&&(this[_0x534fc2(0x15a)]=Object[_0x534fc2(0x155)]({...this['_globalConfig'],'maxWorkers':_0x5c4b13[_0x534fc2(0x15c)](_0x9a48ba,_0x443279['length'])}));_0x5c4b13[_0x534fc2(0x16c)](_0x1cad02[0x0]['context'][_0x534fc2(0x171)][_0x534fc2(0x168)][_0x534fc2(0x16b)],_0x5c4b13[_0x534fc2(0x16d)])&&(_0x29aabc&&(_0x29aabc[_0x534fc2(0x151)]=![]));const _0x2f9c42=[];for(let _0x59c709=0x0;_0x5c4b13['xEHsi'](_0x59c709,_0x1cad02[_0x534fc2(0x150)]);_0x59c709++){const _0x649e85=[];_0x443279[_0x534fc2(0x170)]((_0x40247d,_0x486f3a)=>{const _0x2106fc=_0x534fc2,_0x1c787={..._0x1cad02[_0x59c709]},_0x499009=_0x1c787;_0x499009[_0x2106fc(0x161)]=Object[_0x2106fc(0x155)]({..._0x499009[_0x2106fc(0x161)],'config':{..._0x499009['context'][_0x2106fc(0x171)],'capability':_0x40247d,'browserstackPlatformIndex':_0x486f3a}}),_0x649e85[_0x2106fc(0x165)](_0x499009);}),_0x2f9c42[_0x534fc2(0x165)](..._0x649e85);}return super[_0x534fc2(0x15b)](_0x2f9c42,..._0x2a47b2[_0x534fc2(0x163)](0x1));}}function a19_0x3aff(){const _0x217120=['130LOGcBL','forEach','config','value','length','serial','parallels__','11091210nqPYVF','default','freeze','7247quIwqi','6906870TMEtuy','28FUyLPO','GPIaB','_globalConfig','runTests','qIbOj','capabilities','40909824jCWSxz','10hAZOlL','5440155zPIvAu','context','2167928eVEURU','slice','jest-runner','push','defineProperty','6441892LcQLmc','testEnvironmentOptions','../../../helpers/helper','false','serial__','Epcdi','ZIQxa','exports'];a19_0x3aff=function(){return _0x217120;};return a19_0x3aff();}module[a19_0x21c277(0x16e)]=TestRunner;