browserstack-node-sdk 1.42.7 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) 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/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -0
  128. package/src/helpers/accessibility-automation/constants.js +1 -1
  129. package/src/helpers/accessibility-automation/helper.js +1 -1
  130. package/src/helpers/accessibility-automation/scripts.js +1 -1
  131. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  132. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  133. package/src/helpers/ats/constants.js +1 -1
  134. package/src/helpers/ats/helper.js +1 -1
  135. package/src/helpers/capsMapping.js +1 -1
  136. package/src/helpers/central-scanner/constants.js +1 -1
  137. package/src/helpers/central-scanner/helpers.js +1 -1
  138. package/src/helpers/classLogger.js +1 -1
  139. package/src/helpers/globals.js +1 -1
  140. package/src/helpers/helper.js +1 -1
  141. package/src/helpers/logger.js +1 -1
  142. package/src/helpers/metadata.js +1 -1
  143. package/src/helpers/patchHelper.js +1 -1
  144. package/src/helpers/patchHelpers.js +1 -1
  145. package/src/helpers/percy/Percy.js +1 -1
  146. package/src/helpers/percy/PercyBinary.js +1 -1
  147. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  148. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  149. package/src/helpers/percy/PercySDK.js +1 -1
  150. package/src/helpers/percy/index.js +1 -1
  151. package/src/helpers/percy/utils.js +1 -1
  152. package/src/helpers/performance/constants.js +1 -1
  153. package/src/helpers/performance/performance-tester.js +1 -1
  154. package/src/helpers/playwright-helper.js +1 -1
  155. package/src/helpers/processHelper.js +1 -1
  156. package/src/helpers/request-spy.js +1 -1
  157. package/src/helpers/setKeepAlive.js +1 -1
  158. package/src/helpers/test-observability/constants.js +1 -1
  159. package/src/helpers/test-observability/error-handler.js +1 -1
  160. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  161. package/src/helpers/test-observability/sessionHandler.js +1 -1
  162. package/src/helpers/test-observability/utils.js +1 -1
  163. package/src/helpers/test-orchestration/constants.js +1 -1
  164. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  165. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  166. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  167. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  168. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  169. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  170. package/src/helpers/testhub/constants.js +1 -1
  171. package/src/helpers/testhub/testhubHandler.js +1 -1
  172. package/src/helpers/testhub/utils.js +1 -1
  173. package/src/helpers/timeoutPromise.js +1 -1
  174. package/src/helpers/utilities.js +1 -1
  175. package/src/helpers/w3cMapping.js +1 -1
  176. package/src/hubAllocationMethods.js +1 -1
  177. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x382141=a10_0x31a3;(function(_0x564bc5,_0x3b9076){const _0x1f4ec9=a10_0x31a3,_0x645e9e=_0x564bc5();while(!![]){try{const _0x21489d=parseInt(_0x1f4ec9(0x17f))/0x1+parseInt(_0x1f4ec9(0x11b))/0x2*(-parseInt(_0x1f4ec9(0x16e))/0x3)+-parseInt(_0x1f4ec9(0x12c))/0x4*(-parseInt(_0x1f4ec9(0xe4))/0x5)+parseInt(_0x1f4ec9(0xf6))/0x6*(parseInt(_0x1f4ec9(0x17b))/0x7)+parseInt(_0x1f4ec9(0x109))/0x8+parseInt(_0x1f4ec9(0x15a))/0x9*(-parseInt(_0x1f4ec9(0x11f))/0xa)+-parseInt(_0x1f4ec9(0x128))/0xb*(parseInt(_0x1f4ec9(0x101))/0xc);if(_0x21489d===_0x3b9076)break;else _0x645e9e['push'](_0x645e9e['shift']());}catch(_0x5ea690){_0x645e9e['push'](_0x645e9e['shift']());}}}(a10_0x1231,0x666d6));const path=require(a10_0x382141(0x13d)),util=require(a10_0x382141(0x10e)),hooksMap={},SessionHandler=require(a10_0x382141(0x13f)),testhubUtils=require(a10_0x382141(0x153)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a10_0x382141(0x126))[a10_0x382141(0x15e)],{o11yClassErrorHandler}=require(a10_0x382141(0xfb)),{FRAMEWORKS}=require(a10_0x382141(0x121)),TestDetails=require(a10_0x382141(0x17e));function a10_0x1231(){const _0x159e1f=['passed','debug','forEach','OmiEh','237132LIHGOk','root','pending','tableBody','DJbkf','sourceReference','exports','relative','5825328pbRfiL','aKzMt','BTBTj','HWVgB','HqjgN','util','duration_in_ms','testCaseStartedId','jVDVe','tVXAd','DNuvC','_gitConfigPath','gdCim','skipped','failure_reason','testStepResult','getHookResult','tagExpression','7478bfITxY','aVkoF','name','configureGit','10cOfUdA','includes','../../helpers/test-observability/constants.js','backtrace','getScenarioExamples','failure','cells','../../helpers/logger','getTestUUID','715XPKRGw','OILxV','finished_at','exception','6256hUajIE','test_run','message','pOafv','getCucumberHookType','getHookRunEventData','QhRDa','getHooksListForTest','split','SmKvp','FarzL','join','iRJjP','rzNAN','Wbbyk','filter','PPQfN','path','event_type','../../helpers/test-observability/sessionHandler','xLxls','cucumber','hooks','javascript','fyHuI','flatMap','Exception\x20in\x20getHookRunEventData:\x20','FAILED','YQppp','match','children','PpLQH','failure_data','nanos','map','toISOString','toLowerCase','fWhPG','hook','../../helpers/testhub/utils','failure_type','Exception\x20in\x20sendHook:\x20','length','VJeZA','MwYTg','htUut','1423701yiVxXB','status','mwGjW','unknown','winstonLogger','ZmAUC','2|3|0|1|4','uri','push','uploadEventData','HookRunStarted','fNsEM','GyQtG','tags','gDHpy','BAzpf','HookRunFinished','examples','IKREZ','CUCUMBER','141AdIDHS','UnhandledError','timestamp','testStepFinished','KIVQB','testCaseFinished','_gitConfigured','failureData','AFTER_EACH','JSrjE','failureType','find','mveov','21rOoPYW','hookId','BEFORE_EACH','../playwright/reporter/test-details','541357UUKcKv','uNobF','failed','zDOTb','strip-ansi','pickleStepId','1010rOEzUm','scenario','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','sendHook','format','AssertionError','KVwkw','value','vGetB','bMwAV','aZNpb','eZkGu','hook_run','feature','WEtFC','uuid','tkZia','toString','904956aiEoHG','result','astNodeIds','EUePE','EFGtu','../../helpers/test-observability/error-handler','poBxN'];a10_0x1231=function(){return _0x159e1f;};return a10_0x1231();}function a10_0x31a3(_0x1afc99,_0x3e0b7b){const _0x123144=a10_0x1231();return a10_0x31a3=function(_0x31a319,_0x4c8b56){_0x31a319=_0x31a319-0xe3;let _0x13bac3=_0x123144[_0x31a319];return _0x13bac3;},a10_0x31a3(_0x1afc99,_0x3e0b7b);}this[a10_0x382141(0x174)]=![],this[a10_0x382141(0x114)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x18a802,_0x4d0fb4,_0x6ac90f,_0x488f49,_0x425610){const _0x1afa73=a10_0x382141,_0x3a0e6b={'gdCim':function(_0x430bfc,_0x55a661){return _0x430bfc===_0x55a661;},'aKzMt':_0x1afa73(0x147),'xLxls':_0x1afa73(0x181),'zDOTb':function(_0x21f7f5,_0x2b1926){return _0x21f7f5===_0x2b1926;},'BAzpf':'SKIPPED','fNsEM':_0x1afa73(0x116),'htUut':function(_0x302737,_0x6a5ad1){return _0x302737||_0x6a5ad1;},'DNuvC':function(_0x29ec67,_0x1ebc0b){return _0x29ec67+_0x1ebc0b;},'kfpjU':function(_0x40302b,_0x508922){return _0x40302b+_0x508922;},'eZkGu':'test','KVwkw':_0x1afa73(0x143),'ZGXTt':'cucumber','uNobF':_0x1afa73(0x103),'PpLQH':_0x1afa73(0xfd),'JSrjE':function(_0x3b89ce,_0x1c4f0b){return _0x3b89ce!==_0x1c4f0b;},'iRJjP':function(_0x2aa4d5,_0x57c2bc){return _0x2aa4d5/_0x57c2bc;},'Qsyko':_0x1afa73(0x183),'Kijfi':function(_0x2dcaff,_0x3048d3){return _0x2dcaff(_0x3048d3);},'sgnKC':_0x1afa73(0x15d),'SJSHB':function(_0x5e8a86,_0x2b0488){return _0x5e8a86(_0x2b0488);},'fyHuI':_0x1afa73(0xe9),'EFGtu':_0x1afa73(0x16f),'HAUtJ':function(_0x279d34,_0x1aea57){return _0x279d34===_0x1aea57;},'WEtFC':'TestRunFinished','aVkoF':function(_0x1e0a84,_0x5e6d80){return _0x1e0a84>_0x5e6d80;}},{feature:_0x201237,scenario:_0x3c35bd,steps:_0x41007d,uuid:_0x446eb4,startedAt:_0x24d5bb,finishedAt:_0x18754b}=_0x3a0e6b[_0x1afa73(0x159)](_0x425610,{}),_0x598d12=this[_0x1afa73(0x123)](_0x4d0fb4,_0x6ac90f);await this[_0x1afa73(0x11e)]();const _0xcf5248=_0x598d12?_0x3a0e6b[_0x1afa73(0x113)](_0x3a0e6b[_0x1afa73(0x113)](_0x3a0e6b['kfpjU'](_0x6ac90f[_0x1afa73(0x11d)],'\x20('),_0x598d12[_0x1afa73(0x137)](',\x20')),')'):_0x6ac90f[_0x1afa73(0x11d)],_0x5d292e={'uuid':_0x446eb4,'started_at':_0x24d5bb,'finished_at':_0x18754b,'type':_0x3a0e6b[_0x1afa73(0xef)],'body':{'lang':_0x3a0e6b[_0x1afa73(0xea)],'code':null},'name':_0xcf5248,'scopes':[_0x201237&&_0x201237['name']?_0x201237[_0x1afa73(0x11d)]:''],'tags':_0x6ac90f[_0x1afa73(0x167)]?_0x6ac90f[_0x1afa73(0x167)]['map'](({name:_0x865960})=>_0x865960):[],'file_name':_0x6ac90f[_0x1afa73(0x161)],'location':_0x6ac90f['uri'],'vc_filepath':this[_0x1afa73(0x114)]&&_0x6ac90f[_0x1afa73(0x161)]?path[_0x1afa73(0x108)](this['_gitConfigPath'],_0x6ac90f[_0x1afa73(0x161)]):null,'framework':_0x3a0e6b['ZGXTt'],'result':_0x3a0e6b[_0x1afa73(0x180)],'meta':{'feature':_0x201237,'scenario':_0x3c35bd,'steps':_0x41007d,'examples':_0x598d12},'customRerunParam':{'rerun_name':_0xcf5248}};if(_0x18a802[_0x1afa73(0x173)]&&_0x41007d){const _0x562fae=_0x18a802[_0x1afa73(0x173)];let _0x62034a=_0x3a0e6b[_0x1afa73(0x14b)];_0x41007d['every'](_0x19cfeb=>{const _0x4af44c=_0x1afa73;if(_0x3a0e6b[_0x4af44c(0x115)](_0x19cfeb[_0x4af44c(0xf7)],_0x3a0e6b[_0x4af44c(0x10a)]))return _0x62034a=_0x3a0e6b[_0x4af44c(0x140)],_0x562fae[_0x4af44c(0x124)]=_0x19cfeb['failure'],_0x562fae['failureType']=_0x19cfeb[_0x4af44c(0x178)],![];else{if(_0x3a0e6b[_0x4af44c(0x182)](_0x19cfeb[_0x4af44c(0xf7)],_0x3a0e6b[_0x4af44c(0x169)]))return _0x62034a=_0x3a0e6b[_0x4af44c(0x165)],![];}return!![];}),_0x5d292e[_0x1afa73(0x12a)]=new Date()[_0x1afa73(0x14f)](),_0x5d292e[_0x1afa73(0xf7)]=_0x62034a;_0x562fae[_0x1afa73(0x170)]&&_0x3a0e6b[_0x1afa73(0x177)](_0x562fae[_0x1afa73(0x170)][_0x1afa73(0x14d)],undefined)?_0x5d292e['duration_in_ms']=_0x3a0e6b[_0x1afa73(0x138)](_0x562fae['timestamp'][_0x1afa73(0x14d)],0xf4240):_0x5d292e[_0x1afa73(0x10f)]=undefined;if(_0x3a0e6b[_0x1afa73(0x182)](_0x62034a,_0x3a0e6b[_0x1afa73(0x140)])){const {default:_0x82b4fb}=await import(_0x3a0e6b['Qsyko']);_0x5d292e[_0x1afa73(0x124)]=[{'backtrace':[_0x562fae['failure']?_0x3a0e6b['Kijfi'](_0x82b4fb,_0x562fae[_0x1afa73(0x124)]):_0x3a0e6b['sgnKC']]}],_0x5d292e['failure_reason']=_0x562fae[_0x1afa73(0x124)]?_0x3a0e6b['SJSHB'](_0x82b4fb,_0x562fae[_0x1afa73(0x124)]):_0x562fae['message'],_0x562fae[_0x1afa73(0x178)]&&(_0x5d292e[_0x1afa73(0x154)]=_0x562fae['failureType'][_0x1afa73(0x149)](/AssertError/)?_0x3a0e6b[_0x1afa73(0x144)]:_0x3a0e6b[_0x1afa73(0xfa)]);}}if(_0x3a0e6b['HAUtJ'](_0x488f49,_0x3a0e6b[_0x1afa73(0xf2)])){const _0x4aa9b9=this[_0x1afa73(0x133)](_0x18a802[_0x1afa73(0x173)][_0x1afa73(0x110)]);_0x4aa9b9&&_0x3a0e6b[_0x1afa73(0x11c)](_0x4aa9b9[_0x1afa73(0x156)],0x0)&&(_0x5d292e[_0x1afa73(0x142)]=_0x4aa9b9,this['updateTestStatus'](_0x18a802[_0x1afa73(0x173)][_0x1afa73(0x110)],_0x5d292e));}testhubUtils['appendTesthubParams'](_0x5d292e,_0x488f49,'',FRAMEWORKS[_0x1afa73(0x16d)]);const _0x754c3f={};_0x754c3f[_0x1afa73(0x13e)]=_0x488f49,_0x754c3f[_0x1afa73(0x12d)]=_0x5d292e;const _0x29e903=_0x754c3f;await SessionHandler[_0x1afa73(0x163)](_0x29e903);}['updateTestStatus'](_0x48e24b,_0xc2a0ce){const _0x2c5029=a10_0x382141,_0x459c0b={};_0x459c0b['PPQfN']=function(_0xb1819e,_0x3aa89f){return _0xb1819e instanceof _0x3aa89f;},_0x459c0b['gDHpy']=function(_0x4639d1,_0x483c2f){return _0x4639d1===_0x483c2f;},_0x459c0b[_0x2c5029(0x135)]=_0x2c5029(0x181),_0x459c0b[_0x2c5029(0x112)]=_0x2c5029(0x160);const _0x25a000=_0x459c0b,_0xc81daa=hooksMap[_0x48e24b];if(_0x25a000[_0x2c5029(0x13c)](_0xc81daa,Array))for(const _0x3686f3 of _0xc81daa){if(_0x25a000[_0x2c5029(0x168)](_0x3686f3[_0x2c5029(0xf7)],_0x25a000[_0x2c5029(0x135)])){const _0x2f4e85=_0x25a000['tVXAd']['split']('|');let _0x42fd22=0x0;while(!![]){switch(_0x2f4e85[_0x42fd22++]){case'0':_0xc2a0ce[_0x2c5029(0x117)]=_0x25a000[_0x2c5029(0x13c)](_0x3686f3[_0x2c5029(0x14c)],Array)?_0x3686f3[_0x2c5029(0x14c)][0x0][_0x2c5029(0x122)][_0x2c5029(0x137)]('\x0a'):'';continue;case'1':_0xc2a0ce[_0x2c5029(0x154)]=_0x3686f3[_0x2c5029(0x154)];continue;case'2':_0xc2a0ce[_0x2c5029(0xf7)]=_0x3686f3[_0x2c5029(0xf7)];continue;case'3':_0xc2a0ce[_0x2c5029(0x124)]=_0x3686f3[_0x2c5029(0x14c)];continue;case'4':return _0xc2a0ce;}break;}}};}[a10_0x382141(0x133)](_0x54d02d){const _0x102d06=a10_0x382141;if(hooksMap[_0x54d02d])return hooksMap[_0x54d02d][_0x102d06(0x14e)](_0x51b457=>_0x51b457[_0x102d06(0xf3)]);return[];}[a10_0x382141(0x131)](_0x3df8e0,_0x359a2c,_0x190488,_0x53d037,_0x14efe3,_0x2e8e75){const _0x2986e9=a10_0x382141,_0x2f080b={'YbhqX':function(_0x28a8fa,_0x19eaea){return _0x28a8fa===_0x19eaea;},'KIVQB':_0x2986e9(0x16a),'rzNAN':function(_0x1c4a98,_0x5b7b82,_0x105f19){return _0x1c4a98(_0x5b7b82,_0x105f19);},'mveov':_0x2986e9(0x106),'IKREZ':'uri','FarzL':_0x2986e9(0x103),'MwYTg':_0x2986e9(0x152),'OILxV':'javascript','Wbbyk':_0x2986e9(0xf1),'tkZia':'name','DJbkf':_0x2986e9(0x141)};try{if(_0x2f080b['YbhqX'](_0x190488,_0x2f080b[_0x2986e9(0x172)])){const _0x37b708=new Date()[_0x2986e9(0x14f)](),_0x4961f7=hooksMap[_0x359a2c];if(!_0x4961f7)return;const _0x53e398=_0x4961f7['find'](_0x597591=>_0x597591[_0x2986e9(0xf3)]===_0x53d037['id']);if(!_0x53e398)return;const _0x571a70=this[_0x2986e9(0x119)](_0x3df8e0,_0x359a2c);_0x53e398[_0x2986e9(0xf7)]=_0x571a70['status'],_0x53e398[_0x2986e9(0x12a)]=_0x37b708,_0x53e398['failure_type']=_0x571a70[_0x2986e9(0x178)];const _0x2e5fcb={};return _0x2e5fcb['backtrace']=_0x571a70[_0x2986e9(0x175)],_0x53e398['failure_data']=[_0x2e5fcb],_0x53e398;}const _0x5cdd9a=TestDetails[_0x2986e9(0x127)](_0x359a2c),_0x34be50=_0x3df8e0[_0x2986e9(0x142)][_0x2986e9(0x179)](_0x38a664=>_0x38a664['id']===_0x53d037[_0x2986e9(0x17c)]),_0xede008=_0x2f080b[_0x2986e9(0x139)](nestedKeyValue,_0x34be50,[_0x2f080b[_0x2986e9(0x17a)],_0x2f080b[_0x2986e9(0x16c)]]),_0x4c8ff6=new Date()[_0x2986e9(0x14f)](),_0x4d56a6=_0x2f080b[_0x2986e9(0x136)],_0x16199c=_0x34be50[_0x2986e9(0x11a)]?_0x34be50[_0x2986e9(0x11a)][_0x2986e9(0x134)]('\x20')[_0x2986e9(0x13b)](_0x3b1ff5=>_0x3b1ff5['includes']('@')):[],_0x3f8383={'uuid':_0x53d037['id'],'type':_0x2f080b[_0x2986e9(0x158)],'hook_type':_0x2e8e75,'name':_0x34be50[_0x2986e9(0x11d)],'body':{'lang':_0x2f080b[_0x2986e9(0x129)],'code':null},'tags':_0x16199c,'test_run_id':_0x5cdd9a,'scope':_0x2f080b['rzNAN'](nestedKeyValue,_0x14efe3,[_0x2f080b[_0x2986e9(0x13a)],_0x2f080b[_0x2986e9(0xf4)]]),'scopes':[_0x2f080b[_0x2986e9(0x139)](nestedKeyValue,_0x14efe3,[_0x2f080b[_0x2986e9(0x13a)],_0x2f080b['tkZia']])||''],'file_name':_0xede008,'location':_0xede008,'vc_filepath':this[_0x2986e9(0x114)]?path[_0x2986e9(0x108)](this[_0x2986e9(0x114)],_0xede008):null,'result':_0x4d56a6,'started_at':_0x4c8ff6,'framework':_0x2f080b[_0x2986e9(0x105)]};return _0x3f8383;}catch(_0x540c88){logger[_0x2986e9(0xfe)](_0x2986e9(0x146)+util[_0x2986e9(0xe8)](_0x540c88)+'\x20');}}async[a10_0x382141(0xe7)](_0x130345,_0x2a6902,_0x10d783,_0x3fc624,_0x33e018,_0x54d379){const _0x3bd5b4=a10_0x382141,_0x59aa3a={'GyQtG':function(_0x87931d,_0x25fc3a){return _0x87931d===_0x25fc3a;},'QhRDa':_0x3bd5b4(0x164),'ZmAUC':function(_0x346ed7,_0x300405,_0x4d1001){return _0x346ed7(_0x300405,_0x4d1001);},'fWhPG':_0x3bd5b4(0x106),'OmiEh':'uri','VJeZA':_0x3bd5b4(0xe6)};try{const _0x49170b=_0x3fc624[_0x3bd5b4(0x179)](_0x3f5183=>_0x3f5183['id']===_0x33e018);if(!_0x49170b[_0x3bd5b4(0x17c)])return;const _0x509205=this[_0x3bd5b4(0x130)](_0x3fc624,_0x49170b),_0x39074b=this[_0x3bd5b4(0x131)](_0x130345,_0x2a6902,_0x10d783,_0x49170b,_0x54d379,_0x509205);if(!_0x39074b)return;_0x59aa3a[_0x3bd5b4(0x166)](_0x10d783,_0x59aa3a[_0x3bd5b4(0x132)])&&(hooksMap[_0x2a6902]?hooksMap[_0x2a6902][_0x3bd5b4(0x162)](_0x39074b):hooksMap[_0x2a6902]=[_0x39074b]);const _0x2625eb=_0x130345[_0x3bd5b4(0x142)][_0x3bd5b4(0x179)](_0x366565=>_0x366565['id']===_0x49170b[_0x3bd5b4(0x17c)]),_0x3e6ec1=_0x59aa3a[_0x3bd5b4(0x15f)](nestedKeyValue,_0x2625eb,[_0x59aa3a[_0x3bd5b4(0x151)],_0x59aa3a[_0x3bd5b4(0x100)]]);if(!_0x3e6ec1)return;else{if(_0x3e6ec1[_0x3bd5b4(0x120)](_0x59aa3a[_0x3bd5b4(0x157)]))return;}const _0x11e34e={};_0x11e34e[_0x3bd5b4(0x13e)]=_0x10d783,_0x11e34e[_0x3bd5b4(0xf0)]=_0x39074b;const _0xafee88=_0x11e34e;await SessionHandler[_0x3bd5b4(0x163)](_0xafee88);}catch(_0x44344c){logger[_0x3bd5b4(0xfe)](_0x3bd5b4(0x155)+util[_0x3bd5b4(0xe8)](_0x44344c)+'\x20');}}[a10_0x382141(0x119)](_0x48380f,_0x3c0778){const _0x22849b=a10_0x382141,_0x2734dd={};_0x2734dd[_0x22849b(0xec)]=function(_0x258cca,_0x10d898){return _0x258cca===_0x10d898;},_0x2734dd[_0x22849b(0x10d)]=_0x22849b(0x181),_0x2734dd[_0x22849b(0x10b)]=_0x22849b(0x16f),_0x2734dd[_0x22849b(0x111)]=_0x22849b(0xe9),_0x2734dd[_0x22849b(0x10c)]=function(_0x253417,_0x1dc88a){return _0x253417||_0x1dc88a;};const _0x43c1bb=_0x2734dd,_0x4cde27=_0x48380f[_0x22849b(0x171)][_0x3c0778][_0x22849b(0x118)];let _0x39d1f1,_0x2ac62a;return _0x4cde27&&_0x43c1bb['vGetB'](_0x4cde27['status'][_0x22849b(0xf5)]()[_0x22849b(0x150)](),_0x43c1bb[_0x22849b(0x10d)])&&(_0x39d1f1=_0x43c1bb[_0x22849b(0xec)](_0x4cde27['exception'],undefined)?_0x4cde27[_0x22849b(0x12e)]:_0x4cde27[_0x22849b(0x12b)]['message'],_0x2ac62a=_0x43c1bb[_0x22849b(0xec)](_0x4cde27[_0x22849b(0x12b)],undefined)?_0x43c1bb[_0x22849b(0x10b)]:_0x4cde27[_0x22849b(0x12e)]['match'](/Assert/)?_0x43c1bb[_0x22849b(0x111)]:_0x43c1bb[_0x22849b(0x10b)]),{'status':_0x4cde27[_0x22849b(0x15b)][_0x22849b(0x150)](),'failureType':_0x43c1bb[_0x22849b(0x10c)](_0x2ac62a,null),'failureData':!_0x39d1f1?null:[_0x39d1f1]};}[a10_0x382141(0x130)](_0x393c9d,_0x1581d1){const _0x55086a=a10_0x382141,_0x1a898e={};_0x1a898e[_0x55086a(0xfc)]=function(_0x13621f,_0x5a668e){return _0x13621f===_0x5a668e;},_0x1a898e[_0x55086a(0xee)]=_0x55086a(0x176),_0x1a898e[_0x55086a(0x12f)]=_0x55086a(0x17d);const _0x51020e=_0x1a898e;let _0x13f790=![];for(const _0x28876e of _0x393c9d){_0x28876e[_0x55086a(0xe3)]&&(_0x13f790=!![]);if(_0x51020e[_0x55086a(0xfc)](_0x1581d1['id'],_0x28876e['id']))return _0x13f790?_0x51020e['aZNpb']:_0x51020e[_0x55086a(0x12f)];}}[a10_0x382141(0x123)]=(_0x340f34,_0x533e92)=>{const _0x21bf06=a10_0x382141,_0x5739cb={};_0x5739cb[_0x21bf06(0x148)]=function(_0x2fbe73,_0x5766cd){return _0x2fbe73===_0x5766cd;},_0x5739cb['bMwAV']=function(_0x1d106d,_0x5a97d9){return _0x1d106d===_0x5a97d9;},_0x5739cb['OCvNx']=function(_0x4cf0cf,_0x4f5e54){return _0x4cf0cf>_0x4f5e54;};const _0x27a978=_0x5739cb;if(!(_0x533e92[_0x21bf06(0xf8)]&&_0x27a978['OCvNx'](_0x533e92[_0x21bf06(0xf8)][_0x21bf06(0x156)],0x1)))return;const _0x2f1690=_0x533e92[_0x21bf06(0xf8)][0x0],_0x5c57e1=_0x533e92[_0x21bf06(0xf8)][0x1],_0x83ab34=_0x340f34[_0x21bf06(0xf1)]&&_0x340f34[_0x21bf06(0xf1)][_0x21bf06(0x14a)]?_0x340f34['feature'][_0x21bf06(0x14a)]:undefined;let _0x5e7b27=[];_0x83ab34&&_0x83ab34[_0x21bf06(0xff)](_0x2e5685=>{const _0x5d7252=_0x21bf06,_0x4acf9f={'mwGjW':function(_0x341fc1,_0x1afc1c){return _0x27a978['YQppp'](_0x341fc1,_0x1afc1c);}};if(_0x2e5685['rule'])_0x2e5685['rule'][_0x5d7252(0x14a)][_0x5d7252(0xff)](_0x2eadfa=>{const _0x5971a2=_0x5d7252;if(_0x2eadfa[_0x5971a2(0xe5)]&&_0x4acf9f[_0x5971a2(0x15c)](_0x2eadfa[_0x5971a2(0xe5)]['id'],_0x2f1690)&&_0x2eadfa[_0x5971a2(0xe5)][_0x5971a2(0x16b)]){const _0x1a09d2=_0x2eadfa[_0x5971a2(0xe5)][_0x5971a2(0x16b)][_0x5971a2(0x145)](_0x45eba8=>_0x45eba8['tableBody'])[_0x5971a2(0x179)](_0x13d08b=>_0x13d08b['id']===_0x5c57e1);let _0x95e1c4;_0x1a09d2&&_0x1a09d2[_0x5971a2(0x125)]?_0x95e1c4=_0x1a09d2[_0x5971a2(0x125)][_0x5971a2(0x14e)](_0x238e8a=>_0x238e8a[_0x5971a2(0xeb)]):_0x95e1c4=[],_0x95e1c4&&(_0x5e7b27=_0x95e1c4);}});else{if(_0x2e5685[_0x5d7252(0xe5)]&&_0x27a978[_0x5d7252(0xed)](_0x2e5685[_0x5d7252(0xe5)]['id'],_0x2f1690)&&_0x2e5685[_0x5d7252(0xe5)][_0x5d7252(0x16b)]){const _0x47d429=_0x2e5685[_0x5d7252(0xe5)]['examples']['flatMap'](_0x827822=>_0x827822[_0x5d7252(0x104)])[_0x5d7252(0x179)](_0x46664f=>_0x46664f['id']===_0x5c57e1);let _0x3df14b;_0x47d429&&_0x47d429[_0x5d7252(0x125)]?_0x3df14b=_0x47d429[_0x5d7252(0x125)]['map'](_0x3131c7=>_0x3131c7['value']):_0x3df14b=[],_0x3df14b&&(_0x5e7b27=_0x3df14b);}}});if(_0x5e7b27[_0x21bf06(0x156)])return _0x5e7b27;return;};async[a10_0x382141(0x11e)](){const _0xb1f418=a10_0x382141,_0x4fbf2f={'EUePE':function(_0x7869a2){return _0x7869a2();}};if(this[_0xb1f418(0x174)])return this[_0xb1f418(0x114)];const _0x37dde8=await _0x4fbf2f[_0xb1f418(0xf9)](getGitMetaData);_0x37dde8&&(this[_0xb1f418(0x114)]=_0x37dde8[_0xb1f418(0x102)]),this[_0xb1f418(0x174)]=!![];}}module[a10_0x382141(0x107)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x382141(0x11e),a10_0x382141(0x123),a10_0x382141(0x130),'getHookResult',a10_0x382141(0xe7),a10_0x382141(0x131),'sendTestRunEventForCucumber']);
1
+ const a10_0x154cb8=a10_0x4f56;(function(_0x2104e9,_0x3883af){const _0x4681ae=a10_0x4f56,_0x936da8=_0x2104e9();while(!![]){try{const _0x240904=-parseInt(_0x4681ae(0x137))/0x1+parseInt(_0x4681ae(0xcc))/0x2+parseInt(_0x4681ae(0x136))/0x3*(parseInt(_0x4681ae(0xa0))/0x4)+-parseInt(_0x4681ae(0x124))/0x5+parseInt(_0x4681ae(0xc3))/0x6+-parseInt(_0x4681ae(0x118))/0x7+parseInt(_0x4681ae(0xa1))/0x8;if(_0x240904===_0x3883af)break;else _0x936da8['push'](_0x936da8['shift']());}catch(_0x599794){_0x936da8['push'](_0x936da8['shift']());}}}(a10_0x5ebc,0x71379));const path=require(a10_0x154cb8(0x9c)),util=require(a10_0x154cb8(0x10b)),hooksMap={},SessionHandler=require(a10_0x154cb8(0xd5)),testhubUtils=require(a10_0x154cb8(0xe6)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x154cb8(0x101)),logger=require(a10_0x154cb8(0xa7))[a10_0x154cb8(0xdd)],{o11yClassErrorHandler}=require(a10_0x154cb8(0x107)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a10_0x154cb8(0xe7));this['_gitConfigured']=![],this[a10_0x154cb8(0x125)]=null;function a10_0x5ebc(){const _0x3f056c=['testCaseFinished','UnhandledError','../../helpers/test-observability/sessionHandler','uri','join','cucumber','xWgZx','jlaSx','FAILED','CxtQb','winstonLogger','fdCrY','hhngm','OVSig','TJzAh','failure_type','message','DYudN','hookId','../../helpers/testhub/utils','../playwright/reporter/test-details','zpgvM','RiPvT','every','testCaseStartedId','find','hYIUd','nanos','feature','getHookResult','cells','javascript','ZHhfG','tZLZc','tzSnF','iUzgR','failure_reason','getTestUUID','backtrace','QGrnf','TgQTf','Qjjni','Exception\x20in\x20sendHook:\x20','jKXKP','hook','unknown','../../helpers/helper','failureType','result','eUOMK','hooks','astNodeIds','../../helpers/test-observability/error-handler','tagExpression','tags','CUCUMBER','util','format','filter','toLowerCase','Exception\x20in\x20getHookRunEventData:\x20','BaKQS','LNpfK','ISghp','CRYKV','SKIPPED','status','oREri','configureGit','4557189IscsRW','updateTestStatus','pihik','examples','pickleStepId','rule','failure_data','REaCk','getScenarioExamples','sourceReference','map','failed','760645qLNEAr','_gitConfigPath','name','duration_in_ms','toString','uploadEventData','sendHook','testStepResult','strip-ansi','test_run','rYxrp','tableBody','GHbLi','split','pending','AFTER_EACH','flatMap','event_type','6ovrWoP','476284xhwwuA','appendTesthubParams','test','iUenW','gOWlF','path','value','uDWne','CrPbO','1563932USLwml','3349312igGCKA','BEFORE_EACH','1|2|3|0|4','tYQeq','sendTestRunEventForCucumber','length','../../helpers/logger','JJKRo','failureData','children','AwGjr','match','grQzG','TXyJx','finished_at','ZJbct','wSNSk','debug','root','_gitConfigured','exception','getHooksListForTest','Vsgll','getHookRunEventData','yDaWM','XNNcq','wlWho','HFpuj','forEach','HookRunFinished','xvlbs','push','scenario','sLYsq','2494056pGjqoI','kxtIy','AssertionError','testStepFinished','roEjr','failure','odnIf','passed','getCucumberHookType','253742SIPyNf','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','exports','uuid','relative','includes','toISOString'];a10_0x5ebc=function(){return _0x3f056c;};return a10_0x5ebc();}function a10_0x4f56(_0x43760e,_0x33b206){const _0x5ebc62=a10_0x5ebc();return a10_0x4f56=function(_0x4f568c,_0x193255){_0x4f568c=_0x4f568c-0x9b;let _0x1f29a9=_0x5ebc62[_0x4f568c];return _0x1f29a9;},a10_0x4f56(_0x43760e,_0x33b206);}class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x172008,_0x13e4a0,_0x1be914,_0x6e81b1,_0xe88c09){const _0x40b50f=a10_0x154cb8,_0x48485d={'hYIUd':function(_0x4c5de5,_0x28c8ba){return _0x4c5de5===_0x28c8ba;},'VfcaQ':_0x40b50f(0xdb),'HFpuj':'failed','DYudN':function(_0xb03c8e,_0x3b9234){return _0xb03c8e===_0x3b9234;},'tYQeq':_0x40b50f(0x114),'CrPbO':'skipped','eUOMK':function(_0x1c9120,_0x36e724){return _0x1c9120||_0x36e724;},'iUenW':function(_0x2ba0e0,_0x5d49a4){return _0x2ba0e0+_0x5d49a4;},'CRYKV':_0x40b50f(0x139),'jlaSx':_0x40b50f(0xf2),'wSNSk':_0x40b50f(0xd8),'xFHGu':'pending','AwGjr':_0x40b50f(0xca),'OVSig':function(_0x1e152a,_0x10e3cf){return _0x1e152a!==_0x10e3cf;},'CxtQb':function(_0x2f6589,_0x11a34e){return _0x2f6589/_0x11a34e;},'XNNcq':_0x40b50f(0x12c),'wlWho':function(_0x2fd453,_0x176b5c){return _0x2fd453(_0x176b5c);},'MrHPg':_0x40b50f(0x100),'ZHhfG':'AssertionError','GHbLi':_0x40b50f(0xd4),'roEjr':'TestRunFinished','BjHWv':function(_0x5dd219,_0xb737ea){return _0x5dd219>_0xb737ea;}},{feature:_0x155267,scenario:_0x2782bc,steps:_0x5727ec,uuid:_0x2e7e1e,startedAt:_0x42194a,finishedAt:_0x41c7a1}=_0x48485d[_0x40b50f(0x104)](_0xe88c09,{}),_0x198add=this[_0x40b50f(0x120)](_0x13e4a0,_0x1be914);await this[_0x40b50f(0x117)]();const _0x1ed671=_0x198add?_0x48485d[_0x40b50f(0x13a)](_0x48485d[_0x40b50f(0x13a)](_0x48485d[_0x40b50f(0x13a)](_0x1be914['name'],'\x20('),_0x198add[_0x40b50f(0xd7)](',\x20')),')'):_0x1be914[_0x40b50f(0x126)],_0x2f4a82={'uuid':_0x2e7e1e,'started_at':_0x42194a,'finished_at':_0x41c7a1,'type':_0x48485d[_0x40b50f(0x113)],'body':{'lang':_0x48485d[_0x40b50f(0xda)],'code':null},'name':_0x1ed671,'scopes':[_0x155267&&_0x155267[_0x40b50f(0x126)]?_0x155267['name']:''],'tags':_0x1be914[_0x40b50f(0x109)]?_0x1be914[_0x40b50f(0x109)][_0x40b50f(0x122)](({name:_0x3a0cf7})=>_0x3a0cf7):[],'file_name':_0x1be914[_0x40b50f(0xd6)],'location':_0x1be914[_0x40b50f(0xd6)],'vc_filepath':this[_0x40b50f(0x125)]&&_0x1be914[_0x40b50f(0xd6)]?path['relative'](this[_0x40b50f(0x125)],_0x1be914[_0x40b50f(0xd6)]):null,'framework':_0x48485d[_0x40b50f(0xb1)],'result':_0x48485d['xFHGu'],'meta':{'feature':_0x155267,'scenario':_0x2782bc,'steps':_0x5727ec,'examples':_0x198add},'customRerunParam':{'rerun_name':_0x1ed671}};if(_0x172008[_0x40b50f(0xd3)]&&_0x5727ec){const _0x495267=_0x172008[_0x40b50f(0xd3)];let _0x234687=_0x48485d[_0x40b50f(0xab)];_0x5727ec[_0x40b50f(0xea)](_0xfb96cc=>{const _0x3e1a84=_0x40b50f;if(_0x48485d[_0x3e1a84(0xed)](_0xfb96cc['result'],_0x48485d['VfcaQ']))return _0x234687=_0x48485d[_0x3e1a84(0xbc)],_0x495267['failure']=_0xfb96cc[_0x3e1a84(0xc8)],_0x495267[_0x3e1a84(0x102)]=_0xfb96cc[_0x3e1a84(0x102)],![];else{if(_0x48485d[_0x3e1a84(0xe4)](_0xfb96cc[_0x3e1a84(0x103)],_0x48485d[_0x3e1a84(0xa4)]))return _0x234687=_0x48485d[_0x3e1a84(0x9f)],![];}return!![];}),_0x2f4a82['finished_at']=new Date()[_0x40b50f(0xd2)](),_0x2f4a82['result']=_0x234687;_0x495267['timestamp']&&_0x48485d[_0x40b50f(0xe0)](_0x495267['timestamp']['nanos'],undefined)?_0x2f4a82['duration_in_ms']=_0x48485d[_0x40b50f(0xdc)](_0x495267['timestamp'][_0x40b50f(0xee)],0xf4240):_0x2f4a82[_0x40b50f(0x127)]=undefined;if(_0x48485d[_0x40b50f(0xe4)](_0x234687,_0x48485d[_0x40b50f(0xbc)])){const {default:_0x1734f7}=await import(_0x48485d[_0x40b50f(0xba)]);_0x2f4a82[_0x40b50f(0xc8)]=[{'backtrace':[_0x495267[_0x40b50f(0xc8)]?_0x48485d[_0x40b50f(0xbb)](_0x1734f7,_0x495267[_0x40b50f(0xc8)]):_0x48485d['MrHPg']]}],_0x2f4a82[_0x40b50f(0xf7)]=_0x495267[_0x40b50f(0xc8)]?_0x48485d[_0x40b50f(0xbb)](_0x1734f7,_0x495267['failure']):_0x495267[_0x40b50f(0xe3)],_0x495267['failureType']&&(_0x2f4a82[_0x40b50f(0xe2)]=_0x495267[_0x40b50f(0x102)][_0x40b50f(0xac)](/AssertError/)?_0x48485d[_0x40b50f(0xf3)]:_0x48485d[_0x40b50f(0x130)]);}}if(_0x48485d[_0x40b50f(0xe4)](_0x6e81b1,_0x48485d[_0x40b50f(0xc7)])){const _0x4a9a83=this[_0x40b50f(0xb6)](_0x172008[_0x40b50f(0xd3)][_0x40b50f(0xeb)]);_0x4a9a83&&_0x48485d['BjHWv'](_0x4a9a83['length'],0x0)&&(_0x2f4a82['hooks']=_0x4a9a83,this[_0x40b50f(0x119)](_0x172008['testCaseFinished'][_0x40b50f(0xeb)],_0x2f4a82));}testhubUtils[_0x40b50f(0x138)](_0x2f4a82,_0x6e81b1,'',FRAMEWORKS[_0x40b50f(0x10a)]);const _0x3eb25d={};_0x3eb25d[_0x40b50f(0x135)]=_0x6e81b1,_0x3eb25d[_0x40b50f(0x12d)]=_0x2f4a82;const _0x4fb7ca=_0x3eb25d;await SessionHandler[_0x40b50f(0x129)](_0x4fb7ca);}['updateTestStatus'](_0x962909,_0x44cd08){const _0x2cbb=a10_0x154cb8,_0x3bd538={};_0x3bd538[_0x2cbb(0x111)]=function(_0x460a06,_0x5eb198){return _0x460a06 instanceof _0x5eb198;},_0x3bd538['BaKQS']=function(_0x5d57c8,_0x2adee1){return _0x5d57c8===_0x2adee1;},_0x3bd538[_0x2cbb(0xd9)]=_0x2cbb(0x123),_0x3bd538[_0x2cbb(0xdf)]=_0x2cbb(0xa3);const _0x1c5ad5=_0x3bd538,_0x5270da=hooksMap[_0x962909];if(_0x1c5ad5[_0x2cbb(0x111)](_0x5270da,Array))for(const _0x3bc3a1 of _0x5270da){if(_0x1c5ad5[_0x2cbb(0x110)](_0x3bc3a1[_0x2cbb(0x103)],_0x1c5ad5[_0x2cbb(0xd9)])){const _0x186c47=_0x1c5ad5[_0x2cbb(0xdf)][_0x2cbb(0x131)]('|');let _0x1d7c65=0x0;while(!![]){switch(_0x186c47[_0x1d7c65++]){case'0':_0x44cd08[_0x2cbb(0xe2)]=_0x3bc3a1['failure_type'];continue;case'1':_0x44cd08[_0x2cbb(0x103)]=_0x3bc3a1[_0x2cbb(0x103)];continue;case'2':_0x44cd08[_0x2cbb(0xc8)]=_0x3bc3a1[_0x2cbb(0x11e)];continue;case'3':_0x44cd08['failure_reason']=_0x1c5ad5[_0x2cbb(0x111)](_0x3bc3a1['failure_data'],Array)?_0x3bc3a1['failure_data'][0x0]['backtrace']['join']('\x0a'):'';continue;case'4':return _0x44cd08;}break;}}};}['getHooksListForTest'](_0x176b7f){const _0x3369b2=a10_0x154cb8;if(hooksMap[_0x176b7f])return hooksMap[_0x176b7f][_0x3369b2(0x122)](_0x3285b0=>_0x3285b0['uuid']);return[];}[a10_0x154cb8(0xb8)](_0x365cf1,_0x4c8112,_0x2253c3,_0x483310,_0x1ea35e,_0x43b763){const _0x505732=a10_0x154cb8,_0x12c571={'UiDNR':function(_0x2665a2,_0x337edb){return _0x2665a2===_0x337edb;},'Vsgll':_0x505732(0xbe),'sLYsq':function(_0x48e9ff,_0x32f7fc,_0x452a92){return _0x48e9ff(_0x32f7fc,_0x452a92);},'iUzgR':_0x505732(0x121),'RiPvT':_0x505732(0xd6),'yDaWM':_0x505732(0x132),'tZLZc':_0x505732(0xff),'glghI':_0x505732(0xf2),'fdCrY':function(_0x4a6f45,_0x14f0d8,_0x552fe5){return _0x4a6f45(_0x14f0d8,_0x552fe5);},'kxtIy':_0x505732(0xef),'TJzAh':_0x505732(0x126),'REaCk':_0x505732(0xd8)};try{if(_0x12c571['UiDNR'](_0x2253c3,_0x12c571[_0x505732(0xb7)])){const _0x50c092=new Date()['toISOString'](),_0x5d9d85=hooksMap[_0x4c8112];if(!_0x5d9d85)return;const _0x35425a=_0x5d9d85['find'](_0x27a1d5=>_0x27a1d5[_0x505732(0xcf)]===_0x483310['id']);if(!_0x35425a)return;const _0x38a0c1=this[_0x505732(0xf0)](_0x365cf1,_0x4c8112);_0x35425a[_0x505732(0x103)]=_0x38a0c1[_0x505732(0x115)],_0x35425a[_0x505732(0xaf)]=_0x50c092,_0x35425a[_0x505732(0xe2)]=_0x38a0c1[_0x505732(0x102)];const _0x5431b7={};return _0x5431b7[_0x505732(0xf9)]=_0x38a0c1[_0x505732(0xa9)],_0x35425a['failure_data']=[_0x5431b7],_0x35425a;}const _0x12d439=TestDetails[_0x505732(0xf8)](_0x4c8112),_0x50acb3=_0x365cf1[_0x505732(0x105)][_0x505732(0xec)](_0x44c4dc=>_0x44c4dc['id']===_0x483310[_0x505732(0xe5)]),_0x8e1b80=_0x12c571[_0x505732(0xc2)](nestedKeyValue,_0x50acb3,[_0x12c571[_0x505732(0xf6)],_0x12c571[_0x505732(0xe9)]]),_0x446e81=new Date()[_0x505732(0xd2)](),_0x41650a=_0x12c571[_0x505732(0xb9)],_0x46d743=_0x50acb3[_0x505732(0x108)]?_0x50acb3[_0x505732(0x108)][_0x505732(0x131)]('\x20')[_0x505732(0x10d)](_0xe2fc06=>_0xe2fc06[_0x505732(0xd1)]('@')):[],_0x2c31e4={'uuid':_0x483310['id'],'type':_0x12c571[_0x505732(0xf4)],'hook_type':_0x43b763,'name':_0x50acb3[_0x505732(0x126)],'body':{'lang':_0x12c571['glghI'],'code':null},'tags':_0x46d743,'test_run_id':_0x12d439,'scope':_0x12c571[_0x505732(0xde)](nestedKeyValue,_0x1ea35e,[_0x12c571['kxtIy'],_0x12c571[_0x505732(0xe1)]]),'scopes':[_0x12c571[_0x505732(0xde)](nestedKeyValue,_0x1ea35e,[_0x12c571[_0x505732(0xc4)],_0x12c571[_0x505732(0xe1)]])||''],'file_name':_0x8e1b80,'location':_0x8e1b80,'vc_filepath':this[_0x505732(0x125)]?path[_0x505732(0xd0)](this['_gitConfigPath'],_0x8e1b80):null,'result':_0x41650a,'started_at':_0x446e81,'framework':_0x12c571[_0x505732(0x11f)]};return _0x2c31e4;}catch(_0x3d4df3){logger[_0x505732(0xb2)](_0x505732(0x10f)+util[_0x505732(0x10c)](_0x3d4df3)+'\x20');}}async[a10_0x154cb8(0x12a)](_0x1c8aea,_0x150cc0,_0x9d2263,_0xe53441,_0x1653a9,_0x4fcbc5){const _0x3083d3=a10_0x154cb8,_0x7c86a9={'oREri':function(_0x589f69,_0x3fa285){return _0x589f69===_0x3fa285;},'tzSnF':'HookRunStarted','jKXKP':function(_0x2afad5,_0x476815,_0x559634){return _0x2afad5(_0x476815,_0x559634);},'pihik':_0x3083d3(0x121),'ZJbct':_0x3083d3(0xd6),'TXyJx':_0x3083d3(0xcd)};try{const _0x53298e=_0xe53441[_0x3083d3(0xec)](_0x3966bb=>_0x3966bb['id']===_0x1653a9);if(!_0x53298e[_0x3083d3(0xe5)])return;const _0xc7c042=this[_0x3083d3(0xcb)](_0xe53441,_0x53298e),_0x5e6438=this[_0x3083d3(0xb8)](_0x1c8aea,_0x150cc0,_0x9d2263,_0x53298e,_0x4fcbc5,_0xc7c042);if(!_0x5e6438)return;_0x7c86a9[_0x3083d3(0x116)](_0x9d2263,_0x7c86a9[_0x3083d3(0xf5)])&&(hooksMap[_0x150cc0]?hooksMap[_0x150cc0][_0x3083d3(0xc0)](_0x5e6438):hooksMap[_0x150cc0]=[_0x5e6438]);const _0x2699ed=_0x1c8aea[_0x3083d3(0x105)][_0x3083d3(0xec)](_0x6c90ef=>_0x6c90ef['id']===_0x53298e[_0x3083d3(0xe5)]),_0x25959e=_0x7c86a9[_0x3083d3(0xfe)](nestedKeyValue,_0x2699ed,[_0x7c86a9[_0x3083d3(0x11a)],_0x7c86a9[_0x3083d3(0xb0)]]);if(!_0x25959e)return;else{if(_0x25959e[_0x3083d3(0xd1)](_0x7c86a9[_0x3083d3(0xae)]))return;}const _0x4e2226={};_0x4e2226[_0x3083d3(0x135)]=_0x9d2263,_0x4e2226['hook_run']=_0x5e6438;const _0x4961ed=_0x4e2226;await SessionHandler[_0x3083d3(0x129)](_0x4961ed);}catch(_0x5d2704){logger['debug'](_0x3083d3(0xfd)+util[_0x3083d3(0x10c)](_0x5d2704)+'\x20');}}[a10_0x154cb8(0xf0)](_0x5a704a,_0xb53e06){const _0x194a83=a10_0x154cb8,_0x49eea3={};_0x49eea3[_0x194a83(0x112)]=function(_0x1d8392,_0x31e1d2){return _0x1d8392===_0x31e1d2;},_0x49eea3[_0x194a83(0xe8)]='failed',_0x49eea3[_0x194a83(0xbf)]=function(_0x416926,_0x3a7eb5){return _0x416926===_0x3a7eb5;},_0x49eea3['rYxrp']=function(_0x32fb43,_0x2483dc){return _0x32fb43===_0x2483dc;},_0x49eea3[_0x194a83(0xfc)]=_0x194a83(0xd4),_0x49eea3[_0x194a83(0xfb)]=_0x194a83(0xc5),_0x49eea3[_0x194a83(0x9b)]=function(_0x3188f6,_0x4d476d){return _0x3188f6||_0x4d476d;};const _0x212d41=_0x49eea3,_0x47452e=_0x5a704a[_0x194a83(0xc6)][_0xb53e06][_0x194a83(0x12b)];let _0x3fe81b,_0x16c55b;return _0x47452e&&_0x212d41['ISghp'](_0x47452e[_0x194a83(0x115)][_0x194a83(0x128)]()[_0x194a83(0x10e)](),_0x212d41[_0x194a83(0xe8)])&&(_0x3fe81b=_0x212d41[_0x194a83(0xbf)](_0x47452e[_0x194a83(0xb5)],undefined)?_0x47452e[_0x194a83(0xe3)]:_0x47452e[_0x194a83(0xb5)]['message'],_0x16c55b=_0x212d41[_0x194a83(0x12e)](_0x47452e[_0x194a83(0xb5)],undefined)?_0x212d41['Qjjni']:_0x47452e[_0x194a83(0xe3)][_0x194a83(0xac)](/Assert/)?_0x212d41[_0x194a83(0xfb)]:_0x212d41['Qjjni']),{'status':_0x47452e['status']['toLowerCase'](),'failureType':_0x212d41[_0x194a83(0x9b)](_0x16c55b,null),'failureData':!_0x3fe81b?null:[_0x3fe81b]};}[a10_0x154cb8(0xcb)](_0x4bbc6c,_0x1b6e69){const _0x5547a3=a10_0x154cb8,_0x1b5af0={};_0x1b5af0[_0x5547a3(0xad)]=function(_0x25d905,_0x4112db){return _0x25d905===_0x4112db;},_0x1b5af0['uDWne']=_0x5547a3(0x133),_0x1b5af0['odnIf']=_0x5547a3(0xa2);const _0x876c8f=_0x1b5af0;let _0x45d93e=![];for(const _0x393144 of _0x4bbc6c){_0x393144[_0x5547a3(0x11c)]&&(_0x45d93e=!![]);if(_0x876c8f[_0x5547a3(0xad)](_0x1b6e69['id'],_0x393144['id']))return _0x45d93e?_0x876c8f[_0x5547a3(0x9e)]:_0x876c8f[_0x5547a3(0xc9)];}}[a10_0x154cb8(0x120)]=(_0x4ed6bc,_0x410782)=>{const _0x5ed6c4=a10_0x154cb8,_0x400db2={};_0x400db2[_0x5ed6c4(0xfa)]=function(_0x47d218,_0xc3c74c){return _0x47d218===_0xc3c74c;},_0x400db2[_0x5ed6c4(0xa8)]=function(_0x2b4c84,_0x232734){return _0x2b4c84===_0x232734;},_0x400db2['HSkQB']=function(_0x560b52,_0xad20e5){return _0x560b52>_0xad20e5;};const _0x90ce92=_0x400db2;if(!(_0x410782[_0x5ed6c4(0x106)]&&_0x90ce92['HSkQB'](_0x410782[_0x5ed6c4(0x106)]['length'],0x1)))return;const _0x55366a=_0x410782[_0x5ed6c4(0x106)][0x0],_0x12c21a=_0x410782[_0x5ed6c4(0x106)][0x1],_0x52e637=_0x4ed6bc[_0x5ed6c4(0xef)]&&_0x4ed6bc[_0x5ed6c4(0xef)]['children']?_0x4ed6bc[_0x5ed6c4(0xef)]['children']:undefined;let _0xc6e115=[];_0x52e637&&_0x52e637[_0x5ed6c4(0xbd)](_0x52fd0b=>{const _0x15f617=_0x5ed6c4;if(_0x52fd0b[_0x15f617(0x11d)])_0x52fd0b[_0x15f617(0x11d)][_0x15f617(0xaa)]['forEach'](_0x67cefc=>{const _0x239ccc=_0x15f617;if(_0x67cefc[_0x239ccc(0xc1)]&&_0x90ce92[_0x239ccc(0xfa)](_0x67cefc[_0x239ccc(0xc1)]['id'],_0x55366a)&&_0x67cefc[_0x239ccc(0xc1)]['examples']){const _0x7f5fa2=_0x67cefc['scenario'][_0x239ccc(0x11b)][_0x239ccc(0x134)](_0x49f575=>_0x49f575[_0x239ccc(0x12f)])['find'](_0x1f6400=>_0x1f6400['id']===_0x12c21a);let _0x382716;_0x7f5fa2&&_0x7f5fa2[_0x239ccc(0xf1)]?_0x382716=_0x7f5fa2['cells']['map'](_0x4a5cbf=>_0x4a5cbf['value']):_0x382716=[],_0x382716&&(_0xc6e115=_0x382716);}});else{if(_0x52fd0b[_0x15f617(0xc1)]&&_0x90ce92[_0x15f617(0xa8)](_0x52fd0b[_0x15f617(0xc1)]['id'],_0x55366a)&&_0x52fd0b['scenario']['examples']){const _0x4f4e30=_0x52fd0b['scenario'][_0x15f617(0x11b)][_0x15f617(0x134)](_0x50979a=>_0x50979a['tableBody'])[_0x15f617(0xec)](_0x146f65=>_0x146f65['id']===_0x12c21a);let _0x70c938;_0x4f4e30&&_0x4f4e30['cells']?_0x70c938=_0x4f4e30[_0x15f617(0xf1)][_0x15f617(0x122)](_0x4295f8=>_0x4295f8[_0x15f617(0x9d)]):_0x70c938=[],_0x70c938&&(_0xc6e115=_0x70c938);}}});if(_0xc6e115[_0x5ed6c4(0xa6)])return _0xc6e115;return;};async[a10_0x154cb8(0x117)](){const _0x2c5974=a10_0x154cb8,_0x453af2={'TcJkx':function(_0x24e6db){return _0x24e6db();}};if(this[_0x2c5974(0xb4)])return this['_gitConfigPath'];const _0x29ed4d=await _0x453af2['TcJkx'](getGitMetaData);_0x29ed4d&&(this[_0x2c5974(0x125)]=_0x29ed4d[_0x2c5974(0xb3)]),this[_0x2c5974(0xb4)]=!![];}}module[a10_0x154cb8(0xce)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x154cb8(0x117),'getScenarioExamples',a10_0x154cb8(0xcb),a10_0x154cb8(0xf0),a10_0x154cb8(0x12a),a10_0x154cb8(0xb8),a10_0x154cb8(0xa5)]);
@@ -1 +1 @@
1
- const a11_0x48ad81=a11_0x3210;(function(_0x3170d3,_0x36f1de){const _0x39cac3=a11_0x3210,_0x25a2d2=_0x3170d3();while(!![]){try{const _0x179fd8=parseInt(_0x39cac3(0xbd))/0x1*(-parseInt(_0x39cac3(0x96))/0x2)+-parseInt(_0x39cac3(0xc0))/0x3*(-parseInt(_0x39cac3(0xee))/0x4)+-parseInt(_0x39cac3(0x10a))/0x5+-parseInt(_0x39cac3(0x122))/0x6+parseInt(_0x39cac3(0x142))/0x7*(-parseInt(_0x39cac3(0x135))/0x8)+parseInt(_0x39cac3(0x113))/0x9*(parseInt(_0x39cac3(0x139))/0xa)+parseInt(_0x39cac3(0xb9))/0xb;if(_0x179fd8===_0x36f1de)break;else _0x25a2d2['push'](_0x25a2d2['shift']());}catch(_0x3ab646){_0x25a2d2['push'](_0x25a2d2['shift']());}}}(a11_0x3e86,0x8c963));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x48ad81(0x9c)),setKeepAlive=require(a11_0x48ad81(0x108)),util=require(a11_0x48ad81(0x9f)),PerformanceTester=require(a11_0x48ad81(0x7c)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0x48ad81(0x13d),'@cucumber/cucumber'),logger=require(a11_0x48ad81(0xff))[a11_0x48ad81(0x7f)],{shouldProcessEventForTesthub}=require(a11_0x48ad81(0x100)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x48ad81(0xb7)),TestDetails=require('../playwright/reporter/test-details.js'),RequestQueueHandler=require(a11_0x48ad81(0xf0)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a11_0x48ad81(0xc6)),scripts=require(a11_0x48ad81(0xa6)),globals=require('../../helpers/globals'),testHubConstants=require(a11_0x48ad81(0xfc)),{shouldScanTestForAccessibility}=require(a11_0x48ad81(0xf2)),{isUndefined}=require(a11_0x48ad81(0xf8)),helper=require(a11_0x48ad81(0x109)),a11_0x401fab={};a11_0x401fab[a11_0x48ad81(0x87)]=undefined,a11_0x401fab[a11_0x48ad81(0x141)]={},a11_0x401fab[a11_0x48ad81(0xba)]=![],a11_0x401fab[a11_0x48ad81(0x12d)]=null,a11_0x401fab[a11_0x48ad81(0x137)]=![],a11_0x401fab[a11_0x48ad81(0x141)]['id']=undefined,a11_0x401fab[a11_0x48ad81(0x141)]['testInfo']=undefined;const workerDetails=a11_0x401fab;global[a11_0x48ad81(0x8b)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x17625c){const _0x337581=a11_0x48ad81,_0x1e6d95=workerDetails[_0x337581(0x141)][_0x337581(0xfe)];if(!_0x1e6d95)return;await MyReporter[_0x337581(0x7d)](_0x1e6d95,_0x17625c);}),registerListeners=()=>{const _0x2e82db=a11_0x48ad81,_0x86f97f={};_0x86f97f[_0x2e82db(0x81)]=_0x2e82db(0xd0);const _0x7740a9=_0x86f97f;logger[_0x2e82db(0xd2)](_0x7740a9[_0x2e82db(0x81)]),process[_0x2e82db(0x121)](_0x2e82db(0x83)+process[_0x2e82db(0x82)]),process['on'](_0x2e82db(0x83)+process[_0x2e82db(0x82)],sendTestLog),PerformanceTester[_0x2e82db(0xb3)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x48ad81(0xb2)],After=cucumberModule[a11_0x48ad81(0xec)],AfterAll=cucumberModule[a11_0x48ad81(0xc7)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule['AfterStep'],configuration=process[a11_0x48ad81(0x9e)][a11_0x48ad81(0x130)],bstackConfig=process[a11_0x48ad81(0x9e)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a11_0x48ad81(0x97)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a11_0x48ad81(0x99)]),global['__skipSessionStatus']=isTrue(config[a11_0x48ad81(0x11c)])):(global[a11_0x48ad81(0xd8)]=!![],global['__skipSessionStatus']=!![]);!helper['getPackageVersion'](a11_0x48ad81(0x93))&&(logger[a11_0x48ad81(0xd2)](a11_0x48ad81(0x136)),shouldProcessEventForTesthub()?require('../../index')[a11_0x48ad81(0x10f)](config,null,!![]):require('../../index')[a11_0x48ad81(0x10f)](config));global[a11_0x48ad81(0xa8)]=config[a11_0x48ad81(0x75)]||{};if(helper[a11_0x48ad81(0xa0)](a11_0x48ad81(0x93)))try{logger[a11_0x48ad81(0xd2)](a11_0x48ad81(0xa3)),playwrightPatcher=require(a11_0x48ad81(0x110)),playwrightPatcher[a11_0x48ad81(0x123)](config),logger['debug'](a11_0x48ad81(0xd7));}catch(a11_0x3d904d){logger[a11_0x48ad81(0xd2)](a11_0x48ad81(0x106)+util[a11_0x48ad81(0x125)](a11_0x3d904d));}}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a11_0x48ad81(0x11d)](a11_0x48ad81(0x80)));}global[a11_0x48ad81(0x12a)]=0x0;function a11_0x3210(_0x3948ed,_0x43c883){const _0x3e86a6=a11_0x3e86();return a11_0x3210=function(_0x3210ab,_0xb26c70){_0x3210ab=_0x3210ab-0x74;let _0x5111c1=_0x3e86a6[_0x3210ab];return _0x5111c1;},a11_0x3210(_0x3948ed,_0x43c883);}const __setDefaultTimeout=cucumberModule[a11_0x48ad81(0xd5)];cucumberModule[a11_0x48ad81(0xd5)]=_0x340948=>{const _0x32a4a4=a11_0x48ad81,_0x5e6295={'Mofmh':function(_0x11f5fe,_0x5fa17b){return _0x11f5fe(_0x5fa17b);}};global[_0x32a4a4(0x12a)]=_0x340948,_0x5e6295['Mofmh'](__setDefaultTimeout,_0x340948);};const a11_0x2258ce={};a11_0x2258ce['name']='bstack',BeforeAll(a11_0x2258ce,async function(){const _0x131013=a11_0x48ad81,_0x33a363={'amqaQ':function(_0x1c9d27,_0x3370d5,_0x5d99f5,_0x42e91d){return _0x1c9d27(_0x3370d5,_0x5d99f5,_0x42e91d);},'FXAld':'failed','lXQDw':_0x131013(0x107),'pEktE':function(_0x2c916d,_0x73db2,_0x82da49){return _0x2c916d(_0x73db2,_0x82da49);},'cwfGV':'passed','qcrka':_0x131013(0xdd),'BUOFE':function(_0x240bda,_0x55a73f){return _0x240bda(_0x55a73f);},'ySwMk':'../v2/browserstackCLI','EYpiF':function(_0x314c72,_0x3f5c99){return _0x314c72(_0x3f5c99);},'ZXPmY':'../v2/cliUtils','LwZWI':function(_0x52b34d,_0x407389){return _0x52b34d(_0x407389);},'GGopG':_0x131013(0x9c),'DhDLe':_0x131013(0x103),'Jkphl':function(_0x544a00){return _0x544a00();},'eDSLy':function(_0x547884){return _0x547884();}};PerformanceTester[_0x131013(0xb3)](),logger[_0x131013(0xd2)](_0x33a363[_0x131013(0x119)]),global[_0x131013(0x10d)]=[],global[_0x131013(0xca)]=![];if(playwrightPatcher)try{const _0x130c1d=_0x33a363['BUOFE'](require,_0x33a363[_0x131013(0xcb)]),_0x4a1939=_0x33a363['EYpiF'](require,_0x33a363[_0x131013(0x74)]),{FRAMEWORKS:_0x1155a4}=_0x33a363[_0x131013(0xbf)](require,_0x33a363[_0x131013(0x8d)]);_0x130c1d[_0x131013(0x86)]()[_0x131013(0x77)]()&&(logger['debug'](_0x33a363['DhDLe']),_0x4a1939[_0x131013(0xac)](_0x1155a4[_0x131013(0xe0)],_0x1155a4['PLAYWRIGHT']),await _0x130c1d[_0x131013(0x86)]()['bootstrap']());}catch(_0x496570){logger[_0x131013(0xd2)](_0x131013(0xe7)+util[_0x131013(0x125)](_0x496570));}_0x33a363['Jkphl'](shouldProcessEventForTesthub)&&(_0x33a363[_0x131013(0xb0)](registerListeners),_0x33a363[_0x131013(0xdf)](addRequestSpy,![])),global[_0x131013(0xa7)]=async()=>{const _0x2602ff=_0x131013;let _0x2dfcd1=![];try{global[_0x2602ff(0xcd)]&&global[_0x2602ff(0xcd)][0x0]&&(await global[_0x2602ff(0xcd)][0x0][_0x2602ff(0x7a)],_0x2dfcd1=!![],global[_0x2602ff(0xca)]?await _0x33a363['amqaQ'](markSessionStatus,global[_0x2602ff(0xcd)][0x0],_0x33a363[_0x2602ff(0xf6)],global[_0x2602ff(0x10d)][_0x2602ff(0xe1)](_0x33a363['lXQDw'])):await _0x33a363['pEktE'](markSessionStatus,global[_0x2602ff(0xcd)][0x0],_0x33a363[_0x2602ff(0x91)]));}catch(_0x33b5ae){logger[_0x2602ff(0xd2)](_0x2602ff(0x79)+_0x33b5ae);}global[_0x2602ff(0x10d)]=[],global[_0x2602ff(0xca)]=![];if(_0x2dfcd1)try{await global[_0x2602ff(0xcd)][0x0][_0x2602ff(0x112)](),global[_0x2602ff(0xcd)][0x0][_0x2602ff(0x7a)]['then'](_0x44ac2d=>{const _0x469fad=_0x2602ff;logger[_0x469fad(0xd2)](_0x469fad(0x134)+_0x44ac2d[_0x469fad(0xe5)]());})[_0x2602ff(0x117)](_0x52147e=>{});}catch(_0x45c248){logger[_0x2602ff(0xd2)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x45c248);}};});const a11_0x7f56ff={};a11_0x7f56ff[a11_0x48ad81(0xfb)]=a11_0x48ad81(0xaf),a11_0x7f56ff[a11_0x48ad81(0x94)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x48ad81(0xaa)],Before(a11_0x7f56ff,function(_0x50f30e,_0x3ef035){const _0x23025f=a11_0x48ad81,_0x293272={'KoXOp':function(_0x1f11de,_0x8853f1){return _0x1f11de>_0x8853f1;},'shkeL':function(_0x3162e6,_0x26af97){return _0x3162e6(_0x26af97);},'dzxlk':function(_0x3ab615,_0x44d9d3,_0x5d4c15,_0x30ed5d){return _0x3ab615(_0x44d9d3,_0x5d4c15,_0x30ed5d);},'tFwOr':_0x23025f(0xc5),'ZiBAr':function(_0x2a418a){return _0x2a418a();},'SsTEy':_0x23025f(0xbb)};commandRepository['setTestNameForHealingContext'](_0x50f30e['pickle'][_0x23025f(0xfb)]),logger[_0x23025f(0xd2)](_0x293272[_0x23025f(0x76)]),new Promise(async _0x5621b8=>{const _0x4e8107=_0x23025f;try{global['__drivers']&&_0x293272[_0x4e8107(0xbe)](global[_0x4e8107(0xcd)][_0x4e8107(0xd3)],0x1)&&(await global[_0x4e8107(0xa7)](),global['__drivers'][_0x4e8107(0x111)]()),global[_0x4e8107(0xcd)]&&global[_0x4e8107(0xcd)][0x0]&&global['__drivers'][0x0][_0x4e8107(0x7e)]&&_0x293272['KoXOp'](global['__drivers'][0x0][_0x4e8107(0x7e)],0x0)&&await global[_0x4e8107(0xa7)]();}catch(_0x5b2d0f){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x5b2d0f);}workerDetails[_0x4e8107(0x141)][_0x4e8107(0xfe)]=_0x50f30e;if(playwrightPatcher)try{await playwrightPatcher[_0x4e8107(0xf7)](_0x50f30e);}catch(_0xe1129){logger[_0x4e8107(0xd2)](_0x4e8107(0xcf)+util[_0x4e8107(0x125)](_0xe1129));}try{if(!_0x293272[_0x4e8107(0x124)](isUndefined,_0x50f30e['pickle']['tags'])){const _0x1178de=_0x293272[_0x4e8107(0x126)](shouldScanTestForAccessibility,null,![],_0x50f30e[_0x4e8107(0xf5)]['tags'][_0x4e8107(0x105)](({name:_0x214652})=>_0x214652));globals[_0x4e8107(0x8f)](_0x293272[_0x4e8107(0x120)],_0x1178de);}}catch(_0x4eab17){logger[_0x4e8107(0xd2)](_0x4e8107(0x132)+util[_0x4e8107(0x125)](_0x4eab17));}_0x293272['ZiBAr'](_0x5621b8);})['finally'](_0x3ef035);});const a11_0x179646={};a11_0x179646[a11_0x48ad81(0xfb)]=a11_0x48ad81(0xaf),a11_0x179646[a11_0x48ad81(0x94)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x48ad81(0xaa)],After(a11_0x179646,function(_0x459ac5,_0x3e26e0){const _0x3d419c=a11_0x48ad81,_0x2ba183={'EEVaf':function(_0xe3a9ab,_0x1510a5){return _0xe3a9ab>_0x1510a5;},'fdTqn':function(_0x159ad2,_0x21f0f2){return _0x159ad2===_0x21f0f2;},'WYPfI':'failed','hYtJF':function(_0x2e2935,_0x576e15){return _0x2e2935===_0x576e15;},'CfcAg':function(_0x76b91b,_0x61596e,_0x2db578,_0x2f5f00){return _0x76b91b(_0x61596e,_0x2db578,_0x2f5f00);},'JWBER':_0x3d419c(0x107),'FFSiL':function(_0x13f4ff,_0x76fb05,_0x5c65e9){return _0x13f4ff(_0x76fb05,_0x5c65e9);},'zOuZg':'passed','vOhtX':_0x3d419c(0xef),'AWmBf':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','hyhei':function(_0xfb4c1b){return _0xfb4c1b();},'umFEi':function(_0x377961,_0x19c4e4,_0x2e556a,_0x6d7fe1){return _0x377961(_0x19c4e4,_0x2e556a,_0x6d7fe1);},'WkJYu':_0x3d419c(0x9d),'HYKrZ':_0x3d419c(0xdb),'efdDU':_0x3d419c(0xc5),'Ajjrq':_0x3d419c(0xd9),'LNBUG':_0x3d419c(0xa1),'PLqZF':_0x3d419c(0x13a),'olnFy':function(_0xe01741,_0x31408d){return _0xe01741>_0x31408d;},'knqas':'Inside\x20browserstack\x20After'};logger[_0x3d419c(0xd2)](_0x2ba183[_0x3d419c(0x131)]),workerDetails[_0x3d419c(0x141)][_0x3d419c(0xfe)]=_0x459ac5,new Promise(async _0x50c930=>{const _0x551600=_0x3d419c;let _0x1c26dd=![],_0x25d511=![],_0x357d4e=![];try{global[_0x551600(0xcd)]&&_0x2ba183[_0x551600(0xce)](global[_0x551600(0xcd)]['length'],0x0)&&(_0x25d511=!![]),playwrightPatcher&&global[_0x551600(0x8b)]&&global['__workerDetails']['pwPage']&&(_0x357d4e=!![],logger[_0x551600(0xd2)](_0x551600(0xde)+!!global['__workerDetails'][_0x551600(0x12d)]));}catch(_0x15f46e){logger['debug'](_0x551600(0xb5)+_0x15f46e);}logger[_0x551600(0xd2)](_0x551600(0xe2)+_0x25d511+_0x551600(0xe6)+_0x357d4e);const _0x2e427f=_0x459ac5[_0x551600(0xb8)][_0x551600(0xa9)][_0x551600(0x11e)]()['toLowerCase'](),_0x2b3fc8=_0x2ba183[_0x551600(0x118)](_0x2e427f,_0x2ba183['WYPfI'])||_0x2ba183['hYtJF'](_0x2e427f,'6'),_0x377cf6=_0x2b3fc8?_0x459ac5[_0x551600(0xb8)][_0x551600(0xe3)]:null;if(_0x2b3fc8)try{global[_0x551600(0x10d)][_0x551600(0x115)](_0x459ac5[_0x551600(0xb8)][_0x551600(0xe3)]),global[_0x551600(0xca)]=!![];}catch(_0x4a2441){logger[_0x551600(0xd2)](_0x551600(0xa5)+_0x4a2441);}if(_0x25d511)try{global['__drivers']&&_0x2ba183[_0x551600(0xce)](global['__drivers'][_0x551600(0xd3)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x551600(0x111)](),global[_0x551600(0x10d)]=[],global[_0x551600(0xca)]=![]),global[_0x551600(0xcd)]&&global[_0x551600(0xcd)][0x0]&&(await global['__drivers'][0x0][_0x551600(0x7a)],_0x1c26dd=!![],!global[_0x551600(0xd8)]&&await global[_0x551600(0xcd)][0x0][_0x551600(0xd4)](_0x551600(0xeb)+_0x459ac5[_0x551600(0xf5)][_0x551600(0xfb)]+'\x22}}'),_0x2b3fc8?await _0x2ba183[_0x551600(0xe8)](markSessionStatus,global[_0x551600(0xcd)][0x0],_0x2ba183[_0x551600(0x8a)],global[_0x551600(0x10d)][_0x551600(0xe1)](_0x2ba183['JWBER'])):await _0x2ba183[_0x551600(0x104)](markSessionStatus,global[_0x551600(0xcd)][0x0],_0x2ba183[_0x551600(0x8c)]));}catch(_0x32eec7){logger[_0x551600(0xd2)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x551600(0x125)](_0x32eec7));}if(_0x357d4e)try{const _0x46c749=_0x2b3fc8?_0x2ba183[_0x551600(0x8a)]:_0x2ba183['zOuZg'];await playwrightPatcher['afterTestHook'](_0x459ac5,_0x46c749,_0x377cf6),logger[_0x551600(0xd2)](_0x2ba183[_0x551600(0x140)]);}catch(_0x4d09c7){logger[_0x551600(0xd2)](_0x551600(0x13b)+util[_0x551600(0x125)](_0x4d09c7));try{playwrightPatcher[_0x551600(0x11a)]&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x551600(0xd2)](_0x2ba183[_0x551600(0xbc)]));}catch(_0x3277fa){logger[_0x551600(0xd2)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x551600(0x125)](_0x3277fa));}}try{if(_0x2ba183[_0x551600(0xc1)](shouldProcessEventForTesthub)){const _0xc218e=TestDetails[_0x551600(0xb4)](_0x459ac5[_0x551600(0x10e)]);let _0x4d8481=null;global[_0x551600(0xcd)]&&global[_0x551600(0xcd)][0x0]&&(_0x4d8481=await _0x2ba183['umFEi'](sendPlatformDetails,global['__drivers'][0x0],_0xc218e,!![]));const _0x4b95c7={};_0x4b95c7['uuid']=_0xc218e,_0x4b95c7[_0x551600(0x12f)]=_0x4d8481;const _0x216ba7=_0x4b95c7,_0xcb060f={};_0xcb060f[_0x551600(0xe9)]=_0x2ba183[_0x551600(0x98)],_0xcb060f[_0x551600(0x133)]=_0x216ba7,await SessionHandler[_0x551600(0x88)](_0xcb060f);}}catch(_0x2c9f98){logger[_0x551600(0xd2)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x551600(0x125)](_0x2c9f98));}try{if(globals['getGlobal'](_0x2ba183[_0x551600(0x8e)])&&globals[_0x551600(0x138)](_0x2ba183[_0x551600(0x90)])){logger['info'](_0x2ba183[_0x551600(0xe4)]);const _0x26a472=TestDetails[_0x551600(0xb4)](_0x459ac5[_0x551600(0x10e)]),_0x17c125={};_0x17c125['thTestRunUuid']=_0x26a472,_0x17c125[_0x551600(0x128)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x17c125[_0x551600(0x143)]=process['env'][testHubConstants[_0x551600(0x78)][_0x551600(0xed)]];const _0x44cf30=_0x17c125;logger[_0x551600(0xd2)](_0x551600(0x9a)+JSON[_0x551600(0x9b)](_0x44cf30)),logger[_0x551600(0xd2)](_0x2ba183[_0x551600(0x127)]),global[_0x551600(0xcd)]&&global[_0x551600(0xcd)][0x0]&&(logger['debug'](util[_0x551600(0x125)](await global['__drivers'][0x0][_0x551600(0x101)](scripts[_0x551600(0xc4)],{'method':global[_0x551600(0x102)]}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x551600(0x129)],_0x44cf30)),logger['info'](_0x2ba183['PLqZF']);}}catch(_0x4a2d81){logger[_0x551600(0x13c)](_0x551600(0xdc)+util[_0x551600(0x125)]);}if(_0x1c26dd)try{global[_0x551600(0xcd)][0x0]&&_0x2ba183[_0x551600(0xc3)](global[_0x551600(0xcd)][0x0][_0x551600(0x7e)],0x0)&&await global['__drivers'][0x0][_0x551600(0x112)]();}catch(_0x4e4d2b){logger[_0x551600(0xd2)](_0x551600(0xcc)+_0x4e4d2b);}_0x2ba183[_0x551600(0xc1)](_0x50c930);})[_0x3d419c(0xd6)](()=>_0x3e26e0());});function a11_0x3e86(){const _0x5bb747=['lcyFR','nlqSf','pickle','FXAld','beforeTestHook','lodash','qHlKm','tFVFv','name','../../helpers/testhub/constants.js','shutdown','testInfo','../../helpers/logger','../../helpers/testhub/utils','executeAsyncScript','browserstackSessionName','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','FFSiL','map','Error\x20initializing\x20Playwright\x20patching:\x20','\x20|\x20','../../helpers/setKeepAlive','../../helpers/helper','3275595ptUqeM','cleanup','WNEgc','__error_messages__','testCaseStartedId','browserstackAgentV2','./playwright-patcher','shift','initQuit','135ryOIoa','text','push','\x0aError:\x20','catch','fdTqn','qcrka','executeDeferredCloses','vJYtG','skipSessionStatus','setFramework','toString','toLowerCase','tFwOr','removeAllListeners','5742540humpgS','initializePlaywrightPatching','shkeL','format','dzxlk','LNBUG','thBuildUuid','saveTestResults','__timeout','pickleStep','then','pwPage','VrEVY','integrations','CONFIG','knqas','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','test_run','Error:\x20in\x20quitting\x20driver\x20','168WkaFBm','Performing\x20Selenium\x20Patching','isPageFixture','getGlobal','704630wJiImg','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Error:\x20at\x20After\x20(Playwright):\x20','error','@cucumber/cucumber/lib/index.js','info','pqTIw','vOhtX','currentTest','49868RtGdrR','thJwtToken','ZXPmY','platformCaps','SsTEy','isCliEnabled','ENV_VAR','Error:\x20cleaning\x20up\x20driver:\x20','session_','xmqPD','../../helpers/performance/performance-tester','addTestUIDAndReportLog','quitCount_','winstonLogger','cucumber-js','bCNUV','pid','bs:addLog:','iAoWb','failed','getInstance','workerInfo','uploadEventData','DTSio','WYPfI','__workerDetails','zOuZg','GGopG','HYKrZ','setGlobal','efdDU','cwfGV','\x22}}','@playwright/test','timeout','wvpld','4848BRkfEH','parse','WkJYu','skipSessionName','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','stringify','../utils/constants','CBTSessionCreated','env','util','getPackageVersion','Performing\x20scan\x20before\x20saving\x20results','voaWe','Performing\x20Playwright\x20Patching',',\x22level\x22:\x20\x22','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','../../helpers/accessibility-automation/scripts','driverCleanup','__platformCaps','status','Cucumber-JS','kVWYY','setFrameworkDetail','dmneC','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','bstack','eDSLy','closeTracker','Before','startMonitoring','getTestUUID','Error\x20determining\x20test\x20flow:\x20','split','../../helpers/test-observability/utils','result','13380092XlSohT','o11ySyncDone','Inside\x20browserstack\x20Before','AWmBf','393ImEuUi','KoXOp','LwZWI','3VwNRuO','hyhei','nmTfC','olnFy','performScan','bstackA11yShouldScan','../../helpers/test-observability/sessionHandler','AfterAll','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Inside\x20browserstack\x20AfterAll','__sessionFailed','ySwMk','Error:\x20quiting\x20driver\x20at\x20After:\x20','__drivers','EEVaf','Error\x20in\x20playwright\x20beforeTestHook:\x20','Inside\x20browserstack\x20registerListeners','NlxHT','debug','length','executeScript','setDefaultTimeout','finally','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','__skipSessionName','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','QMOvl','isAccessibilityPlatform','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','Inside\x20browserstack\x20BeforeAll','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','BUOFE','CUCUMBER','join','Flow\x20detection:\x20isSeleniumFlow=','message','Ajjrq','getId',',\x20isPlaywrightFlow=','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','CfcAg','event_type','mNZSa','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','After','BROWSERSTACK_TESTHUB_JWT','4067884UtkICv','Completed\x20Playwright\x20afterTestHook\x20execution','../../helpers/test-observability/requestQueueHandler','JZSFK','../../helpers/accessibility-automation/helper'];a11_0x3e86=function(){return _0x5bb747;};return a11_0x3e86();}const a11_0x158706={};a11_0x158706[a11_0x48ad81(0xfb)]=a11_0x48ad81(0xaf),a11_0x158706[a11_0x48ad81(0x94)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a11_0x158706,function(_0x56611f,_0x5379a3){const _0xff5da0=a11_0x48ad81,_0x312204={'xmqPD':function(_0x2d4fe4,_0x23e824){return _0x2d4fe4===_0x23e824;},'mNZSa':_0xff5da0(0x85),'kVWYY':function(_0x19e08e,_0x5a39ac){return _0x19e08e===_0x5a39ac;},'pqTIw':function(_0x1803cc,_0x3e0c3f){return _0x1803cc!==_0x3e0c3f;},'QMOvl':function(_0x51587b,_0x49091a,_0x5459ba){return _0x51587b(_0x49091a,_0x5459ba);},'qHlKm':function(_0x3c907e,_0x1a5a6e){return _0x3c907e+_0x1a5a6e;},'DTSio':function(_0x26c753,_0x3e28bb){return _0x26c753+_0x3e28bb;},'nmTfC':'Failed:\x20','vdsVN':_0xff5da0(0x116),'wvpld':'error','NlxHT':function(_0x68fa48,_0x24262c){return _0x68fa48+_0x24262c;},'tFVFv':function(_0x4bff9c,_0x1caf6e){return _0x4bff9c!==_0x1caf6e;},'vJYtG':function(_0xb42585,_0x185ae4){return _0xb42585+_0x185ae4;},'WNEgc':'Passed:\x20','voaWe':_0xff5da0(0x13e),'dmneC':function(_0x52ba9f,_0x3660d7,_0xc7c345){return _0x52ba9f(_0x3660d7,_0xc7c345);},'oDPRX':'Passed','lcyFR':function(_0x5cc688){return _0x5cc688();},'zjcAY':'Inside\x20browserstack\x20AfterStep'};logger[_0xff5da0(0xd2)](_0x312204['zjcAY']);const _0x2beff0=async(_0x4d3587,_0xb9c7e7)=>{const _0x28729b=_0xff5da0;global[_0x28729b(0xcd)]&&global[_0x28729b(0xcd)][0x0]&&await global[_0x28729b(0xcd)][0x0]['executeScript'](_0x28729b(0xae)+_0x4d3587+_0x28729b(0xa4)+_0xb9c7e7+_0x28729b(0x92));};new Promise(async _0x4ddb24=>{const _0x43c940=_0xff5da0;try{_0x312204[_0x43c940(0x7b)](_0x56611f['result'][_0x43c940(0xa9)][_0x43c940(0x11e)]()[_0x43c940(0x11f)](),_0x312204[_0x43c940(0xea)])||_0x312204[_0x43c940(0xab)](_0x56611f[_0x43c940(0xb8)][_0x43c940(0xa9)][_0x43c940(0x11e)]()[_0x43c940(0x11f)](),'6')?(global[_0x43c940(0xca)]=!![],global['__error_messages__']['push'](_0x56611f[_0x43c940(0xb8)][_0x43c940(0xe3)]),_0x312204[_0x43c940(0x13f)](_0x56611f[_0x43c940(0x12b)],undefined)?await _0x312204[_0x43c940(0xda)](_0x2beff0,JSON['stringify'](_0x312204[_0x43c940(0xf9)](_0x312204['DTSio'](_0x312204[_0x43c940(0x89)](_0x312204[_0x43c940(0xc2)],'\x22'+_0x56611f[_0x43c940(0x12b)][_0x43c940(0x114)]+'\x22\x20'),_0x312204['vdsVN']),_0x56611f[_0x43c940(0xb8)][_0x43c940(0xe3)])),_0x312204[_0x43c940(0x95)]):await _0x312204[_0x43c940(0xda)](_0x2beff0,JSON[_0x43c940(0x9b)](_0x312204[_0x43c940(0xd1)](_0x312204[_0x43c940(0xc2)],_0x56611f[_0x43c940(0xb8)][_0x43c940(0xe3)])),_0x312204[_0x43c940(0x95)])):_0x312204[_0x43c940(0xfa)](_0x56611f[_0x43c940(0x12b)],undefined)?await _0x312204[_0x43c940(0xda)](_0x2beff0,JSON[_0x43c940(0x9b)](_0x312204[_0x43c940(0x11b)](_0x312204[_0x43c940(0x10c)],'\x22'+_0x56611f[_0x43c940(0x12b)][_0x43c940(0x114)]+'\x22')),_0x312204[_0x43c940(0xa2)]):await _0x312204[_0x43c940(0xad)](_0x2beff0,JSON[_0x43c940(0x9b)](_0x312204['oDPRX']),_0x312204[_0x43c940(0xa2)]),global[_0x43c940(0xcd)]&&global[_0x43c940(0xcd)][0x0]&&global['__drivers'][0x0]['session_'][_0x43c940(0x12c)](_0x27bf81=>{})['catch'](_0x5d3511=>{const _0x598abd=_0x43c940;logger[_0x598abd(0xd2)](_0x598abd(0xc8)+util[_0x598abd(0x125)](_0x5d3511));});}catch(_0x41b399){logger[_0x43c940(0xd2)]('Error:\x20at\x20After\x20Step:\x20'+_0x41b399);}_0x312204[_0x43c940(0xf3)](_0x4ddb24);})[_0xff5da0(0xd6)](()=>_0x5379a3());});const a11_0x4fe25a={};a11_0x4fe25a[a11_0x48ad81(0xfb)]=a11_0x48ad81(0xaf),a11_0x4fe25a[a11_0x48ad81(0x94)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x48ad81(0xaa)],AfterAll(a11_0x4fe25a,async function(_0x4b0b63,_0x20d25b){const _0x3f83a0=a11_0x48ad81,_0x11fe58={'VrEVY':'3|1|4|2|0','iAoWb':function(_0x2df1d2){return _0x2df1d2();},'nlqSf':'Cleaned\x20up\x20Playwright\x20close\x20tracker','JZSFK':_0x3f83a0(0xc9)};logger[_0x3f83a0(0xd2)](_0x11fe58[_0x3f83a0(0xf1)]),await new Promise(async _0x531031=>{const _0x4ccff4=_0x3f83a0,_0x4e9b50=_0x11fe58[_0x4ccff4(0x12e)][_0x4ccff4(0xb6)]('|');let _0xa51da=0x0;while(!![]){switch(_0x4e9b50[_0xa51da++]){case'0':_0x11fe58[_0x4ccff4(0x84)](_0x531031);continue;case'1':PerformanceTester['stopMonitoring']();continue;case'2':await global['driverCleanup']();continue;case'3':await RequestQueueHandler[_0x4ccff4(0x86)]()[_0x4ccff4(0xfd)]();continue;case'4':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher[_0x4ccff4(0xb1)]&&playwrightPatcher[_0x4ccff4(0xb1)][_0x4ccff4(0x10b)](),logger[_0x4ccff4(0xd2)](_0x11fe58[_0x4ccff4(0xf4)]));}catch(_0x5b28bf){logger[_0x4ccff4(0xd2)]('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x4ccff4(0x125)](_0x5b28bf));}continue;}break;}});});
1
+ const a11_0x388c89=a11_0x2dd4;(function(_0x56d40b,_0x2f540f){const _0x136ab8=a11_0x2dd4,_0x3ff75a=_0x56d40b();while(!![]){try{const _0x1d2440=-parseInt(_0x136ab8(0xeb))/0x1*(parseInt(_0x136ab8(0x108))/0x2)+-parseInt(_0x136ab8(0x16d))/0x3+-parseInt(_0x136ab8(0x138))/0x4+-parseInt(_0x136ab8(0x124))/0x5*(-parseInt(_0x136ab8(0x15b))/0x6)+parseInt(_0x136ab8(0x101))/0x7*(-parseInt(_0x136ab8(0x151))/0x8)+parseInt(_0x136ab8(0xc7))/0x9+-parseInt(_0x136ab8(0x14b))/0xa*(-parseInt(_0x136ab8(0x13f))/0xb);if(_0x1d2440===_0x2f540f)break;else _0x3ff75a['push'](_0x3ff75a['shift']());}catch(_0x4e086e){_0x3ff75a['push'](_0x3ff75a['shift']());}}}(a11_0x153b,0x97d91));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x388c89(0x168)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x388c89(0x131)),setKeepAlive=require(a11_0x388c89(0xae)),util=require(a11_0x388c89(0x12d)),PerformanceTester=require(a11_0x388c89(0xaa)),{commandRepository}=require(a11_0x388c89(0x154)),cucumberModule=requireModule(a11_0x388c89(0x113),a11_0x388c89(0x145)),logger=require('../../helpers/logger')[a11_0x388c89(0x12a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x388c89(0x153)),TestDetails=require(a11_0x388c89(0x133)),RequestQueueHandler=require(a11_0x388c89(0xbe)),{o11yErrorHandler}=require(a11_0x388c89(0xc0)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a11_0x388c89(0x134)),scripts=require(a11_0x388c89(0xe1)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a11_0x388c89(0xb2)),{isUndefined}=require(a11_0x388c89(0xfe)),helper=require(a11_0x388c89(0x168)),a11_0x23ef2a={};a11_0x23ef2a[a11_0x388c89(0xc3)]=undefined,a11_0x23ef2a[a11_0x388c89(0x122)]={},a11_0x23ef2a[a11_0x388c89(0x16a)]=![],a11_0x23ef2a[a11_0x388c89(0x135)]=null,a11_0x23ef2a['isPageFixture']=![],a11_0x23ef2a[a11_0x388c89(0x122)]['id']=undefined,a11_0x23ef2a[a11_0x388c89(0x122)][a11_0x388c89(0x11a)]=undefined;const workerDetails=a11_0x23ef2a;global[a11_0x388c89(0x10b)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3a789e){const _0x103540=a11_0x388c89,_0x27ac61=workerDetails['currentTest']['testInfo'];if(!_0x27ac61)return;await MyReporter[_0x103540(0x10f)](_0x27ac61,_0x3a789e);}),registerListeners=()=>{const _0x34dcff=a11_0x388c89,_0x3f90ca={};_0x3f90ca['NljkI']=_0x34dcff(0xfd);const _0xc55d43=_0x3f90ca;logger[_0x34dcff(0xcd)](_0xc55d43[_0x34dcff(0x170)]),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on'](_0x34dcff(0x11e)+process[_0x34dcff(0x14a)],sendTestLog),PerformanceTester[_0x34dcff(0xbd)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x388c89(0xee)],After=cucumberModule[a11_0x388c89(0x157)],AfterAll=cucumberModule[a11_0x388c89(0x15a)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule['AfterStep'],configuration=process[a11_0x388c89(0x103)][a11_0x388c89(0xab)],bstackConfig=process[a11_0x388c89(0x103)][a11_0x388c89(0x14f)];function a11_0x153b(){const _0x572168=['After','executeAsyncScript','__skipSessionName','AfterAll','86628bxHhkD','failed','TpCUh','browserstackAgentV2','toString','platformCaps','cleanup','tags','Passed','__platformCaps','finally','Owtrf','Inside\x20browserstack\x20AfterStep','../../helpers/helper','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','o11ySyncDone','dmZAj','aVWEC','610758sDSOFc','iIAEz','isAccessibilityPlatform','NljkI','testCaseStartedId','message','toLowerCase','BrHjU','thJwtToken','bootstrap','3|2|1|0|4','__sessionFailed','setConfig','event_type','Flow\x20detection:\x20isSeleniumFlow=','driverCleanup','Error\x20in\x20playwright\x20beforeTestHook:\x20','getTestUUID','../v2/cliUtils','Error:\x20quiting\x20driver\x20at\x20After:\x20','Inside\x20browserstack\x20Before','setDefaultTimeout','../../helpers/performance/performance-tester','CONFIG','cmtXy','TQXxw','../../helpers/setKeepAlive','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','thTestRunUuid','BROWSERSTACK_TESTHUB_JWT','../../helpers/accessibility-automation/helper','lQSum','pickle','ChpGU','browserstackSessionName','NGYSS','zOIta','idUAG','\x22}}','push','TODaG','startMonitoring','../../helpers/test-observability/requestQueueHandler','catch','../../helpers/test-observability/error-handler','Bveto','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','workerInfo','getGlobal','Error:\x20at\x20After\x20Step:\x20','Inside\x20browserstack\x20After','807912MHyARa','__skipSessionStatus','name','../v2/browserstackCLI','dxssT','dGQbo','debug','shutdown','IWBAS','\x20|\x20','text','Cucumber-JS','NkLsg','ENV_VAR',',\x20isPlaywrightFlow=','Inside\x20browserstack\x20AfterAll','bstack','eQIJy','length','./playwright-patcher','gKuTA','tYmhi','executeScript','closeTracker','integrations','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/accessibility-automation/scripts','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','PUPHV','mUfkd','ISXru','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','yGEQC','\x0aError:\x20','setTestNameForHealingContext','@playwright/test','69fjzVgQ','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Before','XLodn','timeout','join','bstackA11yShouldScan','parse','Failed:\x20','test_run','executeDeferredCloses','getInstance','initQuit','split','ovRgb','HqCya','riOdb','Inside\x20browserstack\x20registerListeners','lodash','passed','nXYsH','5404427EYJSoA','then','env','HWGqu','__drivers','getId','performScan','9058pFOfMF','CMTSM','result','__workerDetails','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','PLAYWRIGHT','getPackageVersion','addTestUIDAndReportLog','Completed\x20Playwright\x20afterTestHook\x20execution','initializePlaywrightPatching',',\x22level\x22:\x20\x22','@cucumber/cucumber/lib/index.js','../../index','FlMpu','format','Error:\x20sendPlatformDetails\x20at\x20After:\x20','info','setFrameworkDetail','testInfo','afterTestHook','Passed:\x20','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','bs:addLog:','session_','__error_messages__','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','currentTest','urCCM','400GuFUaA','gTAdd','shift','WwIZB','error','Error:\x20in\x20quitting\x20driver\x20','winstonLogger','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','JDsxo','util','mDiDG','Performing\x20scan\x20before\x20saving\x20results','Error:\x20cleaning\x20up\x20driver:\x20','../utils/constants','pickleStep','../playwright/reporter/test-details.js','../../helpers/test-observability/sessionHandler','pwPage','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','1133260NnPIAn','Error\x20initializing\x20Playwright\x20patching:\x20','CBTSessionCreated','uploadEventData','PRaRd','UwOnJ','quitCount_','264CSugbt','Performing\x20Playwright\x20Patching','oZhvZ','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','cucumber-js','CUCUMBER','@cucumber/cucumber','thBuildUuid','CgPkn','setFramework','ptssa','pid','395260GhfULz','stringify','Ejtha','skipSessionStatus','BSTACK_CONFIG','ftMty','8TlgSYx','status','../../helpers/test-observability/utils','../../helpers/ai-sdk/autoHealHelper','uuid','beforeTestHook'];a11_0x153b=function(){return _0x572168;};return a11_0x153b();}if(configuration!==undefined){const config=JSON[a11_0x388c89(0xf3)](configuration);isBrowserstackInfra()?(global[a11_0x388c89(0x159)]=isTrue(config['skipSessionName']),global[a11_0x388c89(0xc8)]=isTrue(config[a11_0x388c89(0x14e)])):(global[a11_0x388c89(0x159)]=!![],global[a11_0x388c89(0xc8)]=!![]);!helper[a11_0x388c89(0x10e)](a11_0x388c89(0xea))&&(logger[a11_0x388c89(0xcd)]('Performing\x20Selenium\x20Patching'),shouldProcessEventForTesthub()?require(a11_0x388c89(0x114))[a11_0x388c89(0x15e)](config,null,!![]):require('../../index')[a11_0x388c89(0x15e)](config));global[a11_0x388c89(0x164)]=config[a11_0x388c89(0x160)]||{};if(helper['getPackageVersion']('@playwright/test'))try{logger['debug'](a11_0x388c89(0x140)),playwrightPatcher=require(a11_0x388c89(0xda)),playwrightPatcher[a11_0x388c89(0x111)](config),logger[a11_0x388c89(0xcd)](a11_0x388c89(0xc2));}catch(a11_0x59523c){logger[a11_0x388c89(0xcd)](a11_0x388c89(0x139)+util['format'](a11_0x59523c));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x388c89(0xf3)](bstackConfig);browserStackConfig&&(commandRepository[a11_0x388c89(0xa0)](browserStackConfig),commandRepository[a11_0x388c89(0x148)](a11_0x388c89(0x143)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a11_0x388c89(0xa9)];function a11_0x2dd4(_0x542f59,_0x286238){const _0x153baf=a11_0x153b();return a11_0x2dd4=function(_0x2dd464,_0x166627){_0x2dd464=_0x2dd464-0x98;let _0x2497c6=_0x153baf[_0x2dd464];return _0x2497c6;},a11_0x2dd4(_0x542f59,_0x286238);}cucumberModule[a11_0x388c89(0xa9)]=_0x549adf=>{const _0xc90ac1={'zkWhe':function(_0x55bb48,_0x422a95){return _0x55bb48(_0x422a95);}};global['__timeout']=_0x549adf,_0xc90ac1['zkWhe'](__setDefaultTimeout,_0x549adf);};const a11_0x177957={};a11_0x177957[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),BeforeAll(a11_0x177957,async function(){const _0xe09d9=a11_0x388c89,_0x1aaf9c={'xSoBV':function(_0x568043,_0x3046d2,_0x1711d2,_0x30681f){return _0x568043(_0x3046d2,_0x1711d2,_0x30681f);},'Ejtha':'failed','WeuCd':_0xe09d9(0xd0),'HqCya':function(_0x1ba1a5,_0x137fef,_0x900955){return _0x1ba1a5(_0x137fef,_0x900955);},'WwIZB':_0xe09d9(0xff),'zOIta':'Inside\x20browserstack\x20BeforeAll','POhyv':function(_0x13d470,_0x3cf4db){return _0x13d470(_0x3cf4db);},'gTAdd':_0xe09d9(0xca),'sfQAo':function(_0x562053,_0x21b28f){return _0x562053(_0x21b28f);},'aQpwQ':_0xe09d9(0xa6),'rwuqY':_0xe09d9(0x131),'gKuTA':_0xe09d9(0x11d),'Owtrf':function(_0x482654){return _0x482654();},'ChpGU':function(_0x50eac3,_0x522e83){return _0x50eac3(_0x522e83);}};PerformanceTester[_0xe09d9(0xbd)](),logger[_0xe09d9(0xcd)](_0x1aaf9c[_0xe09d9(0xb8)]),global[_0xe09d9(0x120)]=[],global[_0xe09d9(0x9f)]=![];if(playwrightPatcher)try{const _0x38e31c=_0x1aaf9c['POhyv'](require,_0x1aaf9c[_0xe09d9(0x125)]),_0xb84398=_0x1aaf9c['sfQAo'](require,_0x1aaf9c['aQpwQ']),{FRAMEWORKS:_0x12112f}=_0x1aaf9c['POhyv'](require,_0x1aaf9c['rwuqY']);_0x38e31c[_0xe09d9(0xf7)]()['isCliEnabled']()&&(logger[_0xe09d9(0xcd)](_0x1aaf9c[_0xe09d9(0xdb)]),_0xb84398[_0xe09d9(0x119)](_0x12112f[_0xe09d9(0x144)],_0x12112f[_0xe09d9(0x10d)]),await _0x38e31c[_0xe09d9(0xf7)]()[_0xe09d9(0x9d)]());}catch(_0x17b7fd){logger['debug'](_0xe09d9(0xe2)+util[_0xe09d9(0x116)](_0x17b7fd));}_0x1aaf9c['Owtrf'](shouldProcessEventForTesthub)&&(_0x1aaf9c[_0xe09d9(0x166)](registerListeners),_0x1aaf9c[_0xe09d9(0xb5)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0xe9a865=_0xe09d9;let _0x3b4f83=![];try{global[_0xe9a865(0x105)]&&global[_0xe9a865(0x105)][0x0]&&(await global[_0xe9a865(0x105)][0x0]['session_'],_0x3b4f83=!![],global['__sessionFailed']?await _0x1aaf9c['xSoBV'](markSessionStatus,global[_0xe9a865(0x105)][0x0],_0x1aaf9c[_0xe9a865(0x14d)],global[_0xe9a865(0x120)]['join'](_0x1aaf9c['WeuCd'])):await _0x1aaf9c[_0xe9a865(0xfb)](markSessionStatus,global[_0xe9a865(0x105)][0x0],_0x1aaf9c[_0xe9a865(0x127)]));}catch(_0x3f5138){logger[_0xe9a865(0xcd)](_0xe9a865(0x130)+_0x3f5138);}global[_0xe9a865(0x120)]=[],global[_0xe9a865(0x9f)]=![];if(_0x3b4f83)try{await global['__drivers'][0x0][_0xe9a865(0xf8)](),global[_0xe9a865(0x105)][0x0][_0xe9a865(0x11f)]['then'](_0x2066af=>{const _0x23880c=_0xe9a865;logger[_0x23880c(0xcd)](_0x23880c(0x129)+_0x2066af[_0x23880c(0x106)]());})[_0xe9a865(0xbf)](_0x71d06c=>{});}catch(_0x178444){logger['debug'](_0xe9a865(0xec)+_0x178444);}};});const a11_0x3c4aeb={};a11_0x3c4aeb[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),a11_0x3c4aeb[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x3c4aeb,function(_0x4dbecd,_0x5342a0){const _0x6d2aa0=a11_0x388c89,_0xacf120={'cmtXy':function(_0x4b7661,_0x15ec31){return _0x4b7661>_0x15ec31;},'XLodn':function(_0x5f3c86,_0x476de7){return _0x5f3c86(_0x476de7);},'ptssa':function(_0x10d47c,_0x4ca986,_0x4b8e22,_0x56c569){return _0x10d47c(_0x4ca986,_0x4b8e22,_0x56c569);},'ISXru':'bstackA11yShouldScan','dtZSN':function(_0x200582){return _0x200582();},'CMTSM':_0x6d2aa0(0xa8)};commandRepository[_0x6d2aa0(0xe9)](_0x4dbecd[_0x6d2aa0(0xb4)]['name']),logger[_0x6d2aa0(0xcd)](_0xacf120[_0x6d2aa0(0x109)]),new Promise(async _0xc90160=>{const _0x3fbfdd=_0x6d2aa0;try{global[_0x3fbfdd(0x105)]&&_0xacf120[_0x3fbfdd(0xac)](global['__drivers'][_0x3fbfdd(0xd9)],0x1)&&(await global[_0x3fbfdd(0xa3)](),global[_0x3fbfdd(0x105)]['shift']()),global[_0x3fbfdd(0x105)]&&global[_0x3fbfdd(0x105)][0x0]&&global[_0x3fbfdd(0x105)][0x0]['quitCount_']&&_0xacf120[_0x3fbfdd(0xac)](global[_0x3fbfdd(0x105)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0xc7c47b){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0xc7c47b);}workerDetails[_0x3fbfdd(0x122)][_0x3fbfdd(0x11a)]=_0x4dbecd;if(playwrightPatcher)try{await playwrightPatcher[_0x3fbfdd(0x156)](_0x4dbecd);}catch(_0x32be18){logger[_0x3fbfdd(0xcd)](_0x3fbfdd(0xa4)+util['format'](_0x32be18));}try{if(!_0xacf120[_0x3fbfdd(0xef)](isUndefined,_0x4dbecd[_0x3fbfdd(0xb4)]['tags'])){const _0x45ba0f=_0xacf120[_0x3fbfdd(0x149)](shouldScanTestForAccessibility,null,![],_0x4dbecd[_0x3fbfdd(0xb4)][_0x3fbfdd(0x162)]['map'](({name:_0x19a4b9})=>_0x19a4b9));globals['setGlobal'](_0xacf120[_0x3fbfdd(0xe5)],_0x45ba0f);}}catch(_0x4199cd){logger[_0x3fbfdd(0xcd)](_0x3fbfdd(0x121)+util[_0x3fbfdd(0x116)](_0x4199cd));}_0xacf120['dtZSN'](_0xc90160);})[_0x6d2aa0(0x165)](_0x5342a0);});const a11_0x4aed21={};a11_0x4aed21[a11_0x388c89(0xc9)]='bstack',a11_0x4aed21[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],After(a11_0x4aed21,function(_0xc1cc53,_0x1b8055){const _0x34de4c=a11_0x388c89,_0x5180d3={'ugEfV':function(_0x486626,_0x1ea630){return _0x486626>_0x1ea630;},'ftMty':function(_0x38c401,_0x43eb97){return _0x38c401===_0x43eb97;},'nXYsH':'failed','dBxjJ':function(_0x390f35,_0x1ab1fd){return _0x390f35>_0x1ab1fd;},'urCCM':function(_0x25f9fb,_0x12f93f,_0x270a8a,_0x3eca1e){return _0x25f9fb(_0x12f93f,_0x270a8a,_0x3eca1e);},'eQIJy':_0x34de4c(0xd0),'DlMjn':function(_0x53a0a6,_0x458a22,_0x3ee42c){return _0x53a0a6(_0x458a22,_0x3ee42c);},'lQSum':_0x34de4c(0xff),'dmZAj':_0x34de4c(0x110),'Bveto':_0x34de4c(0xe6),'dxssT':function(_0x562f9b){return _0x562f9b();},'qOVTl':function(_0x3b34cb,_0x351b21,_0x11cf51,_0xaf91b5){return _0x3b34cb(_0x351b21,_0x11cf51,_0xaf91b5);},'BrHjU':_0x34de4c(0x13a),'Ihpmz':_0x34de4c(0x16f),'FlMpu':_0x34de4c(0xf2),'tYmhi':_0x34de4c(0xe0),'oZhvZ':_0x34de4c(0x12f),'mDiDG':_0x34de4c(0x137),'yGEQC':function(_0x43ef4d,_0x48340f){return _0x43ef4d>_0x48340f;},'IWBAS':_0x34de4c(0xc6)};logger[_0x34de4c(0xcd)](_0x5180d3[_0x34de4c(0xcf)]),workerDetails[_0x34de4c(0x122)][_0x34de4c(0x11a)]=_0xc1cc53,new Promise(async _0x107b87=>{const _0x288b9f=_0x34de4c;let _0x13df28=![],_0x4b110a=![],_0x362a0e=![];try{global[_0x288b9f(0x105)]&&_0x5180d3['ugEfV'](global[_0x288b9f(0x105)][_0x288b9f(0xd9)],0x0)&&(_0x4b110a=!![]),playwrightPatcher&&global[_0x288b9f(0x10b)]&&global['__workerDetails'][_0x288b9f(0x135)]&&(_0x362a0e=!![],logger[_0x288b9f(0xcd)](_0x288b9f(0x136)+!!global['__workerDetails'][_0x288b9f(0x135)]));}catch(_0x410306){logger[_0x288b9f(0xcd)]('Error\x20determining\x20test\x20flow:\x20'+_0x410306);}logger[_0x288b9f(0xcd)](_0x288b9f(0xa2)+_0x4b110a+_0x288b9f(0xd5)+_0x362a0e);const _0x1f31e6=_0xc1cc53[_0x288b9f(0x10a)][_0x288b9f(0x152)][_0x288b9f(0x15f)]()[_0x288b9f(0x9a)](),_0xb6e925=_0x5180d3[_0x288b9f(0x150)](_0x1f31e6,_0x5180d3[_0x288b9f(0x100)])||_0x5180d3[_0x288b9f(0x150)](_0x1f31e6,'6'),_0x1f9555=_0xb6e925?_0xc1cc53['result']['message']:null;if(_0xb6e925)try{global[_0x288b9f(0x120)][_0x288b9f(0xbb)](_0xc1cc53[_0x288b9f(0x10a)][_0x288b9f(0x99)]),global[_0x288b9f(0x9f)]=!![];}catch(_0x2caf5a){logger[_0x288b9f(0xcd)](_0x288b9f(0x142)+_0x2caf5a);}if(_0x4b110a)try{global[_0x288b9f(0x105)]&&_0x5180d3['dBxjJ'](global['__drivers'][_0x288b9f(0xd9)],0x1)&&(await global[_0x288b9f(0xa3)](),global[_0x288b9f(0x105)][_0x288b9f(0x126)](),global[_0x288b9f(0x120)]=[],global[_0x288b9f(0x9f)]=![]),global[_0x288b9f(0x105)]&&global[_0x288b9f(0x105)][0x0]&&(await global['__drivers'][0x0][_0x288b9f(0x11f)],_0x13df28=!![],!global[_0x288b9f(0x159)]&&await global[_0x288b9f(0x105)][0x0][_0x288b9f(0xdd)](_0x288b9f(0xaf)+_0xc1cc53[_0x288b9f(0xb4)][_0x288b9f(0xc9)]+_0x288b9f(0xba)),_0xb6e925?await _0x5180d3[_0x288b9f(0x123)](markSessionStatus,global[_0x288b9f(0x105)][0x0],_0x5180d3[_0x288b9f(0x100)],global['__error_messages__'][_0x288b9f(0xf1)](_0x5180d3[_0x288b9f(0xd8)])):await _0x5180d3['DlMjn'](markSessionStatus,global[_0x288b9f(0x105)][0x0],_0x5180d3[_0x288b9f(0xb3)]));}catch(_0x5a82c7){logger[_0x288b9f(0xcd)]('Error:\x20at\x20After\x20(Selenium):\x20'+util['format'](_0x5a82c7));}if(_0x362a0e)try{const _0x48ba5b=_0xb6e925?_0x5180d3[_0x288b9f(0x100)]:_0x5180d3['lQSum'];await playwrightPatcher[_0x288b9f(0x11b)](_0xc1cc53,_0x48ba5b,_0x1f9555),logger['debug'](_0x5180d3[_0x288b9f(0x16b)]);}catch(_0x4f996d){logger[_0x288b9f(0xcd)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x288b9f(0x116)](_0x4f996d));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x288b9f(0xcd)](_0x5180d3[_0x288b9f(0xc1)]));}catch(_0x494dbb){logger[_0x288b9f(0xcd)](_0x288b9f(0x10c)+util['format'](_0x494dbb));}}try{if(_0x5180d3['dxssT'](shouldProcessEventForTesthub)){const _0x5be8de=TestDetails[_0x288b9f(0xa5)](_0xc1cc53[_0x288b9f(0x98)]);let _0x570446=null;global['__drivers']&&global['__drivers'][0x0]&&(_0x570446=await _0x5180d3['qOVTl'](sendPlatformDetails,global['__drivers'][0x0],_0x5be8de,!![]));const _0x346065={};_0x346065[_0x288b9f(0x155)]=_0x5be8de,_0x346065[_0x288b9f(0xdf)]=_0x570446;const _0x2c46a1=_0x346065,_0xff4dab={};_0xff4dab[_0x288b9f(0xa1)]=_0x5180d3[_0x288b9f(0x9b)],_0xff4dab[_0x288b9f(0xf5)]=_0x2c46a1,await SessionHandler[_0x288b9f(0x13b)](_0xff4dab);}}catch(_0x206b28){logger['debug'](_0x288b9f(0x117)+util['format'](_0x206b28));}try{if(globals['getGlobal'](_0x5180d3['Ihpmz'])&&globals[_0x288b9f(0xc4)](_0x5180d3[_0x288b9f(0x115)])){logger[_0x288b9f(0x118)](_0x5180d3[_0x288b9f(0xdc)]);const _0x56a409=TestDetails['getTestUUID'](_0xc1cc53['testCaseStartedId']),_0x3662b2={};_0x3662b2[_0x288b9f(0xb0)]=_0x56a409,_0x3662b2[_0x288b9f(0x146)]=process['env'][testHubConstants[_0x288b9f(0xd4)]['BROWSERSTACK_TESTHUB_UUID']],_0x3662b2[_0x288b9f(0x9c)]=process[_0x288b9f(0x103)][testHubConstants[_0x288b9f(0xd4)][_0x288b9f(0xb1)]];const _0xc43d50=_0x3662b2;logger['debug'](_0x288b9f(0xed)+JSON['stringify'](_0xc43d50)),logger['debug'](_0x5180d3[_0x288b9f(0x141)]),global['__drivers']&&global[_0x288b9f(0x105)][0x0]&&(logger['debug'](util[_0x288b9f(0x116)](await global['__drivers'][0x0][_0x288b9f(0x158)](scripts[_0x288b9f(0x107)],{'method':global[_0x288b9f(0xb6)]}))),await global['__drivers'][0x0][_0x288b9f(0x158)](scripts['saveTestResults'],_0xc43d50)),logger['info'](_0x5180d3[_0x288b9f(0x12e)]);}}catch(_0x38cc43){logger[_0x288b9f(0x128)](_0x288b9f(0x12b)+util[_0x288b9f(0x116)]);}if(_0x13df28)try{global[_0x288b9f(0x105)][0x0]&&_0x5180d3[_0x288b9f(0xe7)](global[_0x288b9f(0x105)][0x0][_0x288b9f(0x13e)],0x0)&&await global[_0x288b9f(0x105)][0x0][_0x288b9f(0xf8)]();}catch(_0x37fe19){logger['debug'](_0x288b9f(0xa7)+_0x37fe19);}_0x5180d3[_0x288b9f(0xcb)](_0x107b87);})['finally'](()=>_0x1b8055());});const a11_0x247b57={};a11_0x247b57[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),a11_0x247b57[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],AfterStep(a11_0x247b57,function(_0xfcabce,_0x18ad8c){const _0x3e77bb=a11_0x388c89,_0x16e12b={'TQXxw':function(_0x426d23,_0x11c641){return _0x426d23===_0x11c641;},'mUfkd':_0x3e77bb(0x15c),'NkLsg':function(_0x695286,_0x3c87fd){return _0x695286===_0x3c87fd;},'wrfRq':function(_0x434472,_0x4f2afd){return _0x434472!==_0x4f2afd;},'HWGqu':function(_0x24be02,_0x1ebef0,_0x337189){return _0x24be02(_0x1ebef0,_0x337189);},'rxFoy':function(_0x4a5e33,_0x55602d){return _0x4a5e33+_0x55602d;},'CgPkn':function(_0xb3b0f2,_0x4440ee){return _0xb3b0f2+_0x4440ee;},'PRaRd':function(_0xfab8aa,_0x108f4b){return _0xfab8aa+_0x108f4b;},'PUPHV':_0x3e77bb(0xf4),'dGQbo':_0x3e77bb(0xe8),'UwOnJ':'error','riOdb':function(_0x259db3,_0x2d856b,_0x20c608){return _0x259db3(_0x2d856b,_0x20c608);},'TpCUh':function(_0x1281af,_0x489285){return _0x1281af!==_0x489285;},'klMMJ':function(_0x47dfe0,_0x4134a3){return _0x47dfe0+_0x4134a3;},'fzUOF':_0x3e77bb(0x11c),'iIAEz':_0x3e77bb(0x118),'ovRgb':function(_0x2e6926,_0x368ec9,_0x509dbb){return _0x2e6926(_0x368ec9,_0x509dbb);},'idUAG':_0x3e77bb(0x163),'STMYh':function(_0x160cc1){return _0x160cc1();},'mwpCG':_0x3e77bb(0x167)};logger[_0x3e77bb(0xcd)](_0x16e12b['mwpCG']);const _0x568ed5=async(_0x5c9ef3,_0x5c7ea8)=>{const _0x805b79=_0x3e77bb;global[_0x805b79(0x105)]&&global['__drivers'][0x0]&&await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5c9ef3+_0x805b79(0x112)+_0x5c7ea8+_0x805b79(0xba));};new Promise(async _0x367f8a=>{const _0x1b989c=_0x3e77bb;try{_0x16e12b[_0x1b989c(0xad)](_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x152)][_0x1b989c(0x15f)]()['toLowerCase'](),_0x16e12b[_0x1b989c(0xe4)])||_0x16e12b[_0x1b989c(0xd3)](_0xfcabce[_0x1b989c(0x10a)]['status'][_0x1b989c(0x15f)]()['toLowerCase'](),'6')?(global[_0x1b989c(0x9f)]=!![],global[_0x1b989c(0x120)][_0x1b989c(0xbb)](_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x99)]),_0x16e12b['wrfRq'](_0xfcabce[_0x1b989c(0x132)],undefined)?await _0x16e12b[_0x1b989c(0x104)](_0x568ed5,JSON[_0x1b989c(0x14c)](_0x16e12b['rxFoy'](_0x16e12b[_0x1b989c(0x147)](_0x16e12b[_0x1b989c(0x13c)](_0x16e12b[_0x1b989c(0xe3)],'\x22'+_0xfcabce['pickleStep'][_0x1b989c(0xd1)]+'\x22\x20'),_0x16e12b[_0x1b989c(0xcc)]),_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x99)])),_0x16e12b[_0x1b989c(0x13d)]):await _0x16e12b[_0x1b989c(0xfc)](_0x568ed5,JSON['stringify'](_0x16e12b[_0x1b989c(0x13c)](_0x16e12b[_0x1b989c(0xe3)],_0xfcabce[_0x1b989c(0x10a)]['message'])),_0x16e12b[_0x1b989c(0x13d)])):_0x16e12b[_0x1b989c(0x15d)](_0xfcabce[_0x1b989c(0x132)],undefined)?await _0x16e12b[_0x1b989c(0x104)](_0x568ed5,JSON['stringify'](_0x16e12b['klMMJ'](_0x16e12b['fzUOF'],'\x22'+_0xfcabce[_0x1b989c(0x132)][_0x1b989c(0xd1)]+'\x22')),_0x16e12b[_0x1b989c(0x16e)]):await _0x16e12b[_0x1b989c(0xfa)](_0x568ed5,JSON[_0x1b989c(0x14c)](_0x16e12b[_0x1b989c(0xb9)]),_0x16e12b[_0x1b989c(0x16e)]),global[_0x1b989c(0x105)]&&global[_0x1b989c(0x105)][0x0]&&global[_0x1b989c(0x105)][0x0][_0x1b989c(0x11f)][_0x1b989c(0x102)](_0x4f736f=>{})[_0x1b989c(0xbf)](_0xe1c3b4=>{const _0x588147=_0x1b989c;logger[_0x588147(0xcd)](_0x588147(0x169)+util['format'](_0xe1c3b4));});}catch(_0x134c3a){logger[_0x1b989c(0xcd)](_0x1b989c(0xc5)+_0x134c3a);}_0x16e12b['STMYh'](_0x367f8a);})[_0x3e77bb(0x165)](()=>_0x18ad8c());});const a11_0x13897e={};a11_0x13897e[a11_0x388c89(0xc9)]='bstack',a11_0x13897e[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],AfterAll(a11_0x13897e,async function(_0x1fb4ea,_0x2c1b5a){const _0x45a188=a11_0x388c89,_0xb99bd3={'aVWEC':_0x45a188(0x9e),'NGYSS':'Cleaned\x20up\x20Playwright\x20close\x20tracker','TODaG':function(_0x1d9c0b){return _0x1d9c0b();},'JDsxo':_0x45a188(0xd6)};logger[_0x45a188(0xcd)](_0xb99bd3[_0x45a188(0x12c)]),await new Promise(async _0x2d9a48=>{const _0x31dad1=_0x45a188,_0x24527f=_0xb99bd3[_0x31dad1(0x16c)][_0x31dad1(0xf9)]('|');let _0x1d2605=0x0;while(!![]){switch(_0x24527f[_0x1d2605++]){case'0':await global[_0x31dad1(0xa3)]();continue;case'1':try{playwrightPatcher&&playwrightPatcher[_0x31dad1(0xf6)]&&(await playwrightPatcher[_0x31dad1(0xf6)](),playwrightPatcher[_0x31dad1(0xde)]&&playwrightPatcher[_0x31dad1(0xde)][_0x31dad1(0x161)](),logger[_0x31dad1(0xcd)](_0xb99bd3[_0x31dad1(0xb7)]));}catch(_0x394039){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x31dad1(0x116)](_0x394039));}continue;case'2':PerformanceTester['stopMonitoring']();continue;case'3':await RequestQueueHandler[_0x31dad1(0xf7)]()[_0x31dad1(0xce)]();continue;case'4':_0xb99bd3[_0x31dad1(0xbc)](_0x2d9a48);continue;}break;}});});
@@ -1 +1 @@
1
- const a12_0x258e16=a12_0x1550;(function(_0x177a00,_0x532027){const _0x4a720f=a12_0x1550,_0x17f0ce=_0x177a00();while(!![]){try{const _0x1e25ad=parseInt(_0x4a720f(0x1cf))/0x1*(-parseInt(_0x4a720f(0x1d7))/0x2)+-parseInt(_0x4a720f(0x1a5))/0x3+-parseInt(_0x4a720f(0x1c3))/0x4+-parseInt(_0x4a720f(0x1ce))/0x5*(-parseInt(_0x4a720f(0x1ac))/0x6)+parseInt(_0x4a720f(0x1b5))/0x7*(parseInt(_0x4a720f(0x1ca))/0x8)+-parseInt(_0x4a720f(0x1d2))/0x9+-parseInt(_0x4a720f(0x1c8))/0xa*(-parseInt(_0x4a720f(0x1aa))/0xb);if(_0x1e25ad===_0x532027)break;else _0x17f0ce['push'](_0x17f0ce['shift']());}catch(_0x110104){_0x17f0ce['push'](_0x17f0ce['shift']());}}}(a12_0x7865,0xd3e4e));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x258e16(0x1c9)),setKeepAlive=require(a12_0x258e16(0x1d0)),cucumberModule=requireModule(a12_0x258e16(0x1d4),a12_0x258e16(0x1cb)),logger=require(a12_0x258e16(0x1b7))[a12_0x258e16(0x1b1)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a12_0x258e16(0x1c5)],configuration=process[a12_0x258e16(0x1a2)]['CONFIG'];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a12_0x258e16(0x1d5)]=!![]),global[a12_0x258e16(0x1be)]=isTrue(config[a12_0x258e16(0x1d6)]),require(a12_0x258e16(0x1ad))[a12_0x258e16(0x1b2)](config),global[a12_0x258e16(0x1a7)]=config['platformCaps']||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a12_0x258e16(0x1af)];function a12_0x7865(){const _0x20855b=['../../helpers/helper','32MiCdby','cucumber','\x20|\x20','result','169790uPNIRx','727VoAhhs','../../helpers/setKeepAlive','Inside\x20browserstack\x20After','7855695MDMINH','omtmH','cucumber/lib/index.js','__skipSessionName','skipSessionStatus','484JmolPw','name','env','initQuit','ExRtF','2272518QDhCuP','wmIyQ','__platformCaps','__driver','yDayj','15915097kqfMvU','executeScript','252aenVWr','../../index','status','setDefaultTimeout','failed','winstonLogger','browserstackAgentV2','passed','__timeout','1459409DfZPWG','Error:\x20quiting\x20at\x20After:\x20','../../helpers/logger','gCFyZ','UgMXc','toLowerCase','QyWZU','debug','JVxwq','__skipSessionStatus','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','__error_messages__','bstack','HLLtA','4131192EXKnqd','FpuyS','After','pKwPr','pickle','10TPpErC'];a12_0x7865=function(){return _0x20855b;};return a12_0x7865();}cucumberModule[a12_0x258e16(0x1af)]=_0x2aa097=>{const _0x8eaedf=a12_0x258e16,_0x2f8076={'HLLtA':function(_0x4072a2,_0x44d6df){return _0x4072a2(_0x44d6df);}};global[_0x8eaedf(0x1b4)]=_0x2aa097,_0x2f8076[_0x8eaedf(0x1c2)](__setDefaultTimeout,_0x2aa097);};const a12_0x32c702={};function a12_0x1550(_0x653196,_0x16798a){const _0x786579=a12_0x7865();return a12_0x1550=function(_0x15508c,_0x5ebfb4){_0x15508c=_0x15508c-0x1a1;let _0xd5ca3e=_0x786579[_0x15508c];return _0xd5ca3e;},a12_0x1550(_0x653196,_0x16798a);}a12_0x32c702[a12_0x258e16(0x1a1)]=a12_0x258e16(0x1c1),Before(a12_0x32c702,function(){const _0x3de1a8=a12_0x258e16,_0x2e8503={};_0x2e8503[_0x3de1a8(0x1c4)]='Inside\x20browserstack\x20Before';const _0xa7bf50=_0x2e8503;logger[_0x3de1a8(0x1bc)](_0xa7bf50[_0x3de1a8(0x1c4)]),global[_0x3de1a8(0x1c0)]=[];});const a12_0x4e98e6={};a12_0x4e98e6['name']=a12_0x258e16(0x1c1),a12_0x4e98e6['timeout']=0x2710,After(a12_0x4e98e6,function(_0x2ce84e,_0x3e44f4){const _0x10f5c7=a12_0x258e16,_0x43ac9f={'JVxwq':function(_0x471c37,_0x367d68){return _0x471c37===_0x367d68;},'wmIyQ':_0x10f5c7(0x1b0),'UgMXc':function(_0x1b825c,_0x24007c,_0x238e77,_0x5175b6){return _0x1b825c(_0x24007c,_0x238e77,_0x5175b6);},'omtmH':_0x10f5c7(0x1cc),'ExRtF':function(_0x12ee15,_0x310ff8,_0x44a6d3){return _0x12ee15(_0x310ff8,_0x44a6d3);},'yDayj':_0x10f5c7(0x1b3),'QyWZU':function(_0x28ff9e){return _0x28ff9e();},'gCFyZ':function(_0x3794c3,_0x1d5cad){return _0x3794c3(_0x1d5cad);},'pKwPr':_0x10f5c7(0x1d1)};logger[_0x10f5c7(0x1bc)](_0x43ac9f[_0x10f5c7(0x1c6)]),new Promise(async(_0x63448f,_0x89828)=>{const _0x2896da=_0x10f5c7;let _0x57456=![];try{await global['__driver']['session_'],_0x57456=!![],!global['__skipSessionName']&&await global[_0x2896da(0x1a8)][_0x2896da(0x1ab)](_0x2896da(0x1bf)+_0x2ce84e[_0x2896da(0x1c7)][_0x2896da(0x1a1)]+'\x22}}'),_0x43ac9f[_0x2896da(0x1bd)](_0x2ce84e[_0x2896da(0x1cd)][_0x2896da(0x1ae)][_0x2896da(0x1ba)](),_0x43ac9f['wmIyQ'])?await _0x43ac9f[_0x2896da(0x1b9)](markSessionStatus,global['__driver'],_0x43ac9f[_0x2896da(0x1a6)],global[_0x2896da(0x1c0)]['join'](_0x43ac9f[_0x2896da(0x1d3)])):await _0x43ac9f[_0x2896da(0x1a4)](markSessionStatus,global[_0x2896da(0x1a8)],_0x43ac9f[_0x2896da(0x1a9)]);}catch(_0x177c72){logger[_0x2896da(0x1bc)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x177c72);}if(_0x57456)try{await global['__driver'][_0x2896da(0x1a3)](),_0x43ac9f[_0x2896da(0x1bb)](_0x63448f);}catch(_0x4a1313){logger[_0x2896da(0x1bc)](_0x2896da(0x1b6)+_0x4a1313),_0x43ac9f[_0x2896da(0x1b8)](_0x89828,_0x4a1313);}else _0x43ac9f[_0x2896da(0x1bb)](_0x89828);})['then'](()=>_0x3e44f4());});
1
+ const a12_0x1f56a8=a12_0x5a84;(function(_0x562fc4,_0x551771){const _0x3a49b0=a12_0x5a84,_0x4d220f=_0x562fc4();while(!![]){try{const _0x37c866=parseInt(_0x3a49b0(0x19b))/0x1*(-parseInt(_0x3a49b0(0x19a))/0x2)+parseInt(_0x3a49b0(0x19d))/0x3+parseInt(_0x3a49b0(0x1af))/0x4+parseInt(_0x3a49b0(0x190))/0x5+-parseInt(_0x3a49b0(0x187))/0x6*(-parseInt(_0x3a49b0(0x17d))/0x7)+-parseInt(_0x3a49b0(0x185))/0x8*(-parseInt(_0x3a49b0(0x18d))/0x9)+-parseInt(_0x3a49b0(0x17f))/0xa;if(_0x37c866===_0x551771)break;else _0x4d220f['push'](_0x4d220f['shift']());}catch(_0x3d2eb9){_0x4d220f['push'](_0x4d220f['shift']());}}}(a12_0x7a04,0xd468f));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x1f56a8(0x19c)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a12_0x1f56a8(0x197),a12_0x1f56a8(0x1a6)),logger=require('../../helpers/logger')[a12_0x1f56a8(0x1a9)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x1f56a8(0x1a7)],After=cucumberModule[a12_0x1f56a8(0x1b3)],configuration=process[a12_0x1f56a8(0x1a2)]['CONFIG'];if(configuration!==undefined){const config=JSON[a12_0x1f56a8(0x1a1)](configuration);isTrue(config[a12_0x1f56a8(0x1ae)])&&(global['__skipSessionName']=!![]),global[a12_0x1f56a8(0x1a8)]=isTrue(config[a12_0x1f56a8(0x184)]),require(a12_0x1f56a8(0x193))[a12_0x1f56a8(0x18e)](config),global[a12_0x1f56a8(0x18b)]=config[a12_0x1f56a8(0x1b4)]||{};}global[a12_0x1f56a8(0x1a4)]=0x0;function a12_0x5a84(_0x2c8845,_0x588a48){const _0x7a0488=a12_0x7a04();return a12_0x5a84=function(_0x5a8447,_0x5e8d29){_0x5a8447=_0x5a8447-0x17d;let _0x177088=_0x7a0488[_0x5a8447];return _0x177088;},a12_0x5a84(_0x2c8845,_0x588a48);}const __setDefaultTimeout=cucumberModule[a12_0x1f56a8(0x1b5)];cucumberModule['setDefaultTimeout']=_0x467f00=>{const _0x247034=a12_0x1f56a8,_0x1b10b9={'JMyHi':function(_0x550281,_0xa76b16){return _0x550281(_0xa76b16);}};global[_0x247034(0x1a4)]=_0x467f00,_0x1b10b9[_0x247034(0x196)](__setDefaultTimeout,_0x467f00);};const a12_0x5dba1f={};a12_0x5dba1f[a12_0x1f56a8(0x183)]=a12_0x1f56a8(0x198),Before(a12_0x5dba1f,function(){const _0x3e408a=a12_0x1f56a8,_0x442d70={};_0x442d70[_0x3e408a(0x194)]=_0x3e408a(0x19f);const _0x1087b3=_0x442d70;logger[_0x3e408a(0x1b1)](_0x1087b3[_0x3e408a(0x194)]),global[_0x3e408a(0x181)]=[];});const a12_0x136f09={};a12_0x136f09[a12_0x1f56a8(0x183)]=a12_0x1f56a8(0x198),a12_0x136f09[a12_0x1f56a8(0x182)]=0x2710,After(a12_0x136f09,function(_0x5692df,_0x7b2c6f){const _0x419e93=a12_0x1f56a8,_0x266c46={'ukRyf':function(_0x273599,_0x1d0bbd){return _0x273599===_0x1d0bbd;},'VIuRD':_0x419e93(0x188),'HtMMn':function(_0x3e10a5,_0x2f102f,_0x2dfcb8,_0x1b4ed9){return _0x3e10a5(_0x2f102f,_0x2dfcb8,_0x1b4ed9);},'eKTgC':_0x419e93(0x18c),'ybquJ':function(_0x4c7ad3,_0x373948,_0x308717){return _0x4c7ad3(_0x373948,_0x308717);},'oKgCe':_0x419e93(0x18f),'oOyrU':function(_0x5137bc){return _0x5137bc();},'gFrUh':function(_0x21335a,_0x228a35){return _0x21335a(_0x228a35);},'QdkIQ':_0x419e93(0x1ab)};logger[_0x419e93(0x1b1)](_0x266c46[_0x419e93(0x1ac)]),new Promise(async(_0x3f623d,_0x53570e)=>{const _0x4256a2=_0x419e93;let _0x2bf9a5=![];try{await global[_0x4256a2(0x192)]['session_'],_0x2bf9a5=!![],!global[_0x4256a2(0x1b2)]&&await global['__driver'][_0x4256a2(0x1b6)](_0x4256a2(0x1b0)+_0x5692df['pickle']['name']+_0x4256a2(0x17e)),_0x266c46[_0x4256a2(0x19e)](_0x5692df[_0x4256a2(0x195)]['status'][_0x4256a2(0x180)](),_0x266c46[_0x4256a2(0x1a5)])?await _0x266c46['HtMMn'](markSessionStatus,global['__driver'],_0x266c46[_0x4256a2(0x1a5)],global[_0x4256a2(0x181)][_0x4256a2(0x1ad)](_0x266c46[_0x4256a2(0x1a3)])):await _0x266c46['ybquJ'](markSessionStatus,global[_0x4256a2(0x192)],_0x266c46[_0x4256a2(0x191)]);}catch(_0x2e7a92){logger[_0x4256a2(0x1b1)](_0x4256a2(0x1aa)+_0x2e7a92);}if(_0x2bf9a5)try{await global['__driver'][_0x4256a2(0x1a0)](),_0x266c46[_0x4256a2(0x199)](_0x3f623d);}catch(_0xcd0bf9){logger[_0x4256a2(0x1b1)](_0x4256a2(0x189)+_0xcd0bf9),_0x266c46[_0x4256a2(0x18a)](_0x53570e,_0xcd0bf9);}else _0x266c46[_0x4256a2(0x199)](_0x53570e);})[_0x419e93(0x186)](()=>_0x7b2c6f());});function a12_0x7a04(){const _0x332e72=['294bPnoCo','\x22}}','42701910wTYvCc','toLowerCase','__error_messages__','timeout','name','skipSessionStatus','5852792anUPyJ','then','159966bXiBpA','failed','Error:\x20quiting\x20at\x20After:\x20','gFrUh','__platformCaps','\x20|\x20','9kalUXW','browserstackAgentV2','passed','5307645lXztkd','oKgCe','__driver','../../index','AgUwx','result','JMyHi','cucumber/lib/index.js','bstack','oOyrU','2yUCNxI','46817xiIBlg','../../helpers/helper','1628661zjctJL','ukRyf','Inside\x20browserstack\x20Before','initQuit','parse','env','eKTgC','__timeout','VIuRD','cucumber','Before','__skipSessionStatus','winstonLogger','Error:\x20setting\x20status\x20at\x20After:\x20','Inside\x20browserstack\x20After','QdkIQ','join','skipSessionName','6925048zuqhRA','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','debug','__skipSessionName','After','platformCaps','setDefaultTimeout','executeScript'];a12_0x7a04=function(){return _0x332e72;};return a12_0x7a04();}
@@ -1 +1 @@
1
- function a13_0x3cd3(){const _0x2143c4=['2KYcFab','50728jQMPVG','@cucumber/cucumber','25GTJlJa','3156vgwmso','../../helpers/helper','cucumber','__timeout','setDefaultTimeout','945HLAsNZ','2757148SqgdNN','25181FqFnwe','14686641dVASNl','100MGYNQh','@cucumber/cucumber/lib/index.js','cucumber/lib/index.js','1040622rIIcKh','1135122VkkoGc','3SggPCo','../utils/constants','BSTACK_DELTA','1498505bAFylF'];a13_0x3cd3=function(){return _0x2143c4;};return a13_0x3cd3();}const a13_0x2028c5=a13_0x3ac6;(function(_0x1b86bb,_0x185083){const _0x119486=a13_0x3ac6,_0x53df46=_0x1b86bb();while(!![]){try{const _0x43a318=parseInt(_0x119486(0x77))/0x1*(-parseInt(_0x119486(0x78))/0x2)+parseInt(_0x119486(0x74))/0x3*(parseInt(_0x119486(0x6c))/0x4)+parseInt(_0x119486(0x7b))/0x5*(parseInt(_0x119486(0x73))/0x6)+-parseInt(_0x119486(0x6b))/0x7*(-parseInt(_0x119486(0x79))/0x8)+-parseInt(_0x119486(0x6e))/0x9+parseInt(_0x119486(0x6f))/0xa*(parseInt(_0x119486(0x72))/0xb)+-parseInt(_0x119486(0x7c))/0xc*(-parseInt(_0x119486(0x6d))/0xd);if(_0x43a318===_0x185083)break;else _0x53df46['push'](_0x53df46['shift']());}catch(_0x522939){_0x53df46['push'](_0x53df46['shift']());}}}(a13_0x3cd3,0xc74e2));const {requireModule}=require(a13_0x2028c5(0x7d)),constants=require(a13_0x2028c5(0x75));;let cucumberModule=null;function a13_0x3ac6(_0x55685a,_0x39f35c){const _0x3cd3da=a13_0x3cd3();return a13_0x3ac6=function(_0x3ac64e,_0x19be83){_0x3ac64e=_0x3ac64e-0x6b;let _0x140ac6=_0x3cd3da[_0x3ac64e];return _0x140ac6;},a13_0x3ac6(_0x55685a,_0x39f35c);}try{cucumberModule=requireModule(a13_0x2028c5(0x70),a13_0x2028c5(0x7a));}catch(a13_0x4033d5){cucumberModule=requireModule(a13_0x2028c5(0x71),a13_0x2028c5(0x7e));}cucumberModule[a13_0x2028c5(0x80)](constants[a13_0x2028c5(0x76)]+global[a13_0x2028c5(0x7f)]*0x1);
1
+ const a13_0x11f246=a13_0x1801;(function(_0x411c8f,_0x264c64){const _0x38b036=a13_0x1801,_0x26114c=_0x411c8f();while(!![]){try{const _0x38d365=parseInt(_0x38b036(0xf8))/0x1*(-parseInt(_0x38b036(0xf0))/0x2)+parseInt(_0x38b036(0xf1))/0x3*(-parseInt(_0x38b036(0xf3))/0x4)+parseInt(_0x38b036(0xf2))/0x5+-parseInt(_0x38b036(0xf5))/0x6+-parseInt(_0x38b036(0xf7))/0x7+parseInt(_0x38b036(0xf6))/0x8*(parseInt(_0x38b036(0xea))/0x9)+parseInt(_0x38b036(0xf9))/0xa;if(_0x38d365===_0x264c64)break;else _0x26114c['push'](_0x26114c['shift']());}catch(_0x2a59c1){_0x26114c['push'](_0x26114c['shift']());}}}(a13_0x430d,0xd589d));const {requireModule}=require(a13_0x11f246(0xeb)),constants=require(a13_0x11f246(0xed));;let cucumberModule=null;function a13_0x1801(_0x55153a,_0x45b4e7){const _0x430d0f=a13_0x430d();return a13_0x1801=function(_0x1801be,_0x453b27){_0x1801be=_0x1801be-0xea;let _0x167cfb=_0x430d0f[_0x1801be];return _0x167cfb;},a13_0x1801(_0x55153a,_0x45b4e7);}try{cucumberModule=requireModule(a13_0x11f246(0xee),a13_0x11f246(0xec));}catch(a13_0x41a24c){cucumberModule=requireModule(a13_0x11f246(0xef),'cucumber');}cucumberModule[a13_0x11f246(0xf4)](constants[a13_0x11f246(0xfa)]+global['__timeout']*0x1);function a13_0x430d(){const _0x133553=['42PpMIqD','6cSDydR','7043125VcQAjV','1357836OFwySv','setDefaultTimeout','465546SAMjAl','4252568OFkcNZ','7193879bPtKwf','78836wcNirj','23742190dFEdgU','BSTACK_DELTA','9ixEliw','../../helpers/helper','@cucumber/cucumber','../utils/constants','@cucumber/cucumber/lib/index.js','cucumber/lib/index.js'];a13_0x430d=function(){return _0x133553;};return a13_0x430d();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x560b6e=a14_0x341c;(function(_0x887445,_0x253c3a){const _0x497845=a14_0x341c,_0x2e160f=_0x887445();while(!![]){try{const _0x136e5c=-parseInt(_0x497845(0x1a1))/0x1*(parseInt(_0x497845(0x1c4))/0x2)+parseInt(_0x497845(0x1c8))/0x3*(parseInt(_0x497845(0x1b2))/0x4)+parseInt(_0x497845(0x1a6))/0x5*(-parseInt(_0x497845(0x1ab))/0x6)+parseInt(_0x497845(0x1df))/0x7*(parseInt(_0x497845(0x1c0))/0x8)+-parseInt(_0x497845(0x198))/0x9+parseInt(_0x497845(0x19f))/0xa+-parseInt(_0x497845(0x1d8))/0xb*(-parseInt(_0x497845(0x1c6))/0xc);if(_0x136e5c===_0x253c3a)break;else _0x2e160f['push'](_0x2e160f['shift']());}catch(_0x32b238){_0x2e160f['push'](_0x2e160f['shift']());}}}(a14_0x2fbb,0x7520c));function a14_0x341c(_0x6fdc6a,_0x25dbd8){const _0x2fbbf9=a14_0x2fbb();return a14_0x341c=function(_0x341ce3,_0x102e1e){_0x341ce3=_0x341ce3-0x196;let _0x157f88=_0x2fbbf9[_0x341ce3];return _0x157f88;},a14_0x341c(_0x6fdc6a,_0x25dbd8);}const {default:BrowserStackSetup}=require(a14_0x560b6e(0x1d7)),logger=require(a14_0x560b6e(0x199))['winstonLogger'],{URL}=require(a14_0x560b6e(0x1bf)),helper=require(a14_0x560b6e(0x1ac)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0xd4bc26){const _0x3a3ea2=a14_0x560b6e;return _0xd4bc26['split'](',')[_0x3a3ea2(0x1c9)](_0x37928c=>{const _0x27de0f=_0x3a3ea2;try{new URL(_0x37928c[_0x27de0f(0x1cd)]());}catch(_0x5e9a99){return![];}return!![];});},parseOnPremHosts=function(_0x51ec61){const _0x399a5d=a14_0x560b6e,_0x265eb4={};_0x265eb4[_0x399a5d(0x1c2)]=function(_0x64e766,_0x349275){return _0x64e766===_0x349275;},_0x265eb4[_0x399a5d(0x1dc)]='https:',_0x265eb4['MmUOm']=_0x399a5d(0x1d2),_0x265eb4[_0x399a5d(0x1d0)]=function(_0x55598a,_0x2eda71){return _0x55598a===_0x2eda71;},_0x265eb4[_0x399a5d(0x1a3)]=_0x399a5d(0x19d);const _0x293c8e=_0x265eb4;return _0x51ec61[_0x399a5d(0x1e2)](',')['map'](_0x668a42=>{const _0x31795f=_0x399a5d,_0x2d0f11=new URL(_0x668a42[_0x31795f(0x1cd)]()),_0x352eb9=_0x2d0f11[_0x31795f(0x1d9)],_0x556757=_0x2d0f11['port']||(_0x293c8e[_0x31795f(0x1c2)](_0x2d0f11[_0x31795f(0x19b)],_0x293c8e[_0x31795f(0x1dc)])?_0x293c8e['MmUOm']:'80'),_0x5d581f=_0x2d0f11[_0x31795f(0x19b)][_0x31795f(0x1d1)](':',''),_0x2ce229=_0x293c8e[_0x31795f(0x1d0)](_0x5d581f,_0x293c8e[_0x31795f(0x1a3)])?0x1:0x0;return _0x352eb9+','+_0x556757+','+_0x2ce229;});},connectCommandBuilder=function(_0x14b8be){const _0x33eb4c=a14_0x560b6e,_0x50102e={};_0x50102e[_0x33eb4c(0x1d3)]='string';const _0x21bb72=_0x50102e,_0x200d6d={};_0x200d6d['describe']=HELP_MESSAGES['options'][_0x33eb4c(0x19e)],_0x200d6d[_0x33eb4c(0x1b0)]=_0x21bb72[_0x33eb4c(0x1d3)];const _0x5a5066={};_0x5a5066[_0x33eb4c(0x196)]=HELP_MESSAGES[_0x33eb4c(0x1aa)]['hosts'],_0x5a5066[_0x33eb4c(0x1b0)]=_0x21bb72[_0x33eb4c(0x1d3)],_0x5a5066[_0x33eb4c(0x1da)]=!![];const _0x7e0112={};return _0x7e0112[_0x33eb4c(0x19a)]=_0x200d6d,_0x7e0112['hosts']=_0x5a5066,_0x14b8be[_0x33eb4c(0x1aa)](_0x7e0112);},connectCommandHandler=async function(_0x3abdfa){const _0x1b0a11=a14_0x560b6e,_0x15b223={'xUzfO':_0x1b0a11(0x1e1),'FtGht':function(_0x38e284,_0x5e3907){return _0x38e284===_0x5e3907;},'eFCwE':_0x1b0a11(0x1c7),'Sefmy':_0x1b0a11(0x1dd),'lbSkR':_0x1b0a11(0x1bb),'ZzoFS':function(_0x5112aa,_0x1a0606){return _0x5112aa(_0x1a0606);},'BQtDh':_0x1b0a11(0x1ba),'xLiUg':'integrations-repeater','aSBPI':_0x1b0a11(0x1ca),'geobD':_0x1b0a11(0x1b1)};try{const _0x26f7b7=new BrowserStackSetup(_0x3abdfa,_0x15b223[_0x1b0a11(0x1ce)]);_0x3abdfa[_0x1b0a11(0x1cf)]&&(_0x26f7b7['config']['accessKey']=_0x3abdfa[_0x1b0a11(0x1cf)]);if(_0x15b223['FtGht'](typeof _0x26f7b7[_0x1b0a11(0x1e3)][_0x1b0a11(0x1a5)],_0x15b223[_0x1b0a11(0x1c1)])){logger[_0x1b0a11(0x1db)](_0x15b223[_0x1b0a11(0x1b3)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x1b0a11(0x1d6)]);}const _0x156189=_0x3abdfa['hosts'];if(_0x15b223[_0x1b0a11(0x19c)](typeof _0x156189,_0x15b223['eFCwE'])){logger[_0x1b0a11(0x1db)](_0x15b223[_0x1b0a11(0x1d5)]);throw new Error(ERROR_MESSAGES[_0x1b0a11(0x1a2)]['missing']);}if(!_0x15b223[_0x1b0a11(0x1b5)](validHosts,_0x156189)){logger['error'](_0x15b223[_0x1b0a11(0x1ae)]);throw new Error(ERROR_MESSAGES['hosts'][_0x1b0a11(0x1be)]);}const _0x328ead=_0x15b223[_0x1b0a11(0x1b5)](parseOnPremHosts,_0x156189);_0x26f7b7[_0x1b0a11(0x1e3)][_0x1b0a11(0x197)]=!![],_0x26f7b7[_0x1b0a11(0x1e3)][_0x1b0a11(0x1c3)][_0x1b0a11(0x1b7)]=_0x15b223[_0x1b0a11(0x1b4)],_0x26f7b7[_0x1b0a11(0x1e3)][_0x1b0a11(0x1c3)][_0x1b0a11(0x1a9)]=_0x328ead[_0x1b0a11(0x1b6)](','),helper[_0x1b0a11(0x1e0)](_0x26f7b7[_0x1b0a11(0x1e3)]),await _0x26f7b7['setupBrowserstackLocal'](),logger[_0x1b0a11(0x1af)](_0x15b223[_0x1b0a11(0x1b9)]);}catch(_0x236235){logger[_0x1b0a11(0x1db)](_0x15b223[_0x1b0a11(0x1a8)]);throw new Error(_0x236235[_0x1b0a11(0x1ad)]());}};function a14_0x2fbb(){const _0x35d648=['demandOption','error','TSVpA','BrowserStack\x20access\x20key\x20missing.','command','7qlvcRB','setProxySettings','integrations','split','config','describe','browserstackLocal','6993378XdqQIo','../../helpers/logger','bstack-accesskey','protocol','FtGht','https','bstackAccessKey','9506130wzqmlD','epilogue','477GdWxAm','hosts','qPHVW','root','accessKey','59080RsuXne','help','geobD','only','options','438jFymdE','../../helpers/helper','toString','BQtDh','info','type','Failed\x20to\x20establish\x20connection.','16oZFMRe','Sefmy','xLiUg','ZzoFS','join','localIdentifier','exports','aSBPI','Hosts\x20not\x20valid','Integration\x20hosts\x20missing.','demandCommand','SNtfg','invalid','url','4929032EdxVtb','eFCwE','RfraS','browserStackLocalOptions','2766EBpSQk','footer','12LYCGpo','undefined','183111tkghJU','every','Connection\x20established\x20successfully.','usage','connect','trim','xUzfO','bstackAccesskey','ZPiBO','replace','443','fupfv','Pmwbc','lbSkR','missing','../../helpers/BrowserStackSetup','10649837cvYurj','hostname'];a14_0x2fbb=function(){return _0x35d648;};return a14_0x2fbb();}function run(_0x3517a5){const _0x1cf26d=a14_0x560b6e,_0x249c24={};_0x249c24['SNtfg']='connect',_0x249c24[_0x1cf26d(0x1d4)]='help';const _0x56b99d=_0x249c24;_0x3517a5[_0x1cf26d(0x1cb)](HELP_MESSAGES[_0x1cf26d(0x1de)][_0x1cf26d(0x1a4)])[_0x1cf26d(0x1de)](_0x56b99d[_0x1cf26d(0x1bd)],HELP_MESSAGES['command'][_0x1cf26d(0x1cc)],connectCommandBuilder,connectCommandHandler)[_0x1cf26d(0x1bc)]()[_0x1cf26d(0x1a7)](_0x56b99d['Pmwbc'])[_0x1cf26d(0x1a0)](HELP_MESSAGES['command'][_0x1cf26d(0x1c5)]);}module[a14_0x560b6e(0x1b8)]=run;
2
+ 'use strict';function a14_0x3d9f(_0x3a3d2c,_0x2c09be){const _0x122d68=a14_0x122d();return a14_0x3d9f=function(_0x3d9f4a,_0x535a14){_0x3d9f4a=_0x3d9f4a-0x1e5;let _0x73dc6c=_0x122d68[_0x3d9f4a];return _0x73dc6c;},a14_0x3d9f(_0x3a3d2c,_0x2c09be);}const a14_0x1aedeb=a14_0x3d9f;(function(_0x540cf3,_0x2d5063){const _0x328e73=a14_0x3d9f,_0xa74563=_0x540cf3();while(!![]){try{const _0x385e7e=parseInt(_0x328e73(0x211))/0x1+-parseInt(_0x328e73(0x1f6))/0x2*(parseInt(_0x328e73(0x220))/0x3)+parseInt(_0x328e73(0x210))/0x4+-parseInt(_0x328e73(0x20b))/0x5+parseInt(_0x328e73(0x1e5))/0x6+parseInt(_0x328e73(0x1fe))/0x7+parseInt(_0x328e73(0x208))/0x8*(parseInt(_0x328e73(0x1e9))/0x9);if(_0x385e7e===_0x2d5063)break;else _0xa74563['push'](_0xa74563['shift']());}catch(_0x422f74){_0xa74563['push'](_0xa74563['shift']());}}}(a14_0x122d,0x511cf));const {default:BrowserStackSetup}=require(a14_0x1aedeb(0x1fa)),logger=require('../../helpers/logger')[a14_0x1aedeb(0x1fd)],{URL}=require(a14_0x1aedeb(0x20a)),helper=require(a14_0x1aedeb(0x22c)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x1aedeb(0x1e6)),validHosts=function(_0x1befe3){const _0x4b536a=a14_0x1aedeb;return _0x1befe3[_0x4b536a(0x209)](',')[_0x4b536a(0x205)](_0x591f10=>{const _0x3bf4db=_0x4b536a;try{new URL(_0x591f10[_0x3bf4db(0x1fb)]());}catch(_0x466baf){return![];}return!![];});},parseOnPremHosts=function(_0x436275){const _0x348771=a14_0x1aedeb,_0x6a1cac={};_0x6a1cac[_0x348771(0x225)]=function(_0x535d5e,_0x111665){return _0x535d5e===_0x111665;},_0x6a1cac[_0x348771(0x1e7)]=_0x348771(0x212),_0x6a1cac[_0x348771(0x1ff)]=_0x348771(0x22d),_0x6a1cac[_0x348771(0x20e)]='https';const _0x128d15=_0x6a1cac;return _0x436275[_0x348771(0x209)](',')[_0x348771(0x215)](_0x59e9f2=>{const _0xb220c9=_0x348771,_0x342858=new URL(_0x59e9f2['trim']()),_0x1552bd=_0x342858[_0xb220c9(0x1eb)],_0x1258d4=_0x342858[_0xb220c9(0x217)]||(_0x128d15['QmwOa'](_0x342858['protocol'],_0x128d15[_0xb220c9(0x1e7)])?_0x128d15[_0xb220c9(0x1ff)]:'80'),_0x27a098=_0x342858[_0xb220c9(0x1f7)]['replace'](':',''),_0x48cb6a=_0x128d15[_0xb220c9(0x225)](_0x27a098,_0x128d15[_0xb220c9(0x20e)])?0x1:0x0;return _0x1552bd+','+_0x1258d4+','+_0x48cb6a;});},connectCommandBuilder=function(_0x9a61e3){const _0x586439=a14_0x1aedeb,_0x14bfcb={};_0x14bfcb[_0x586439(0x20c)]=_0x586439(0x1e8);const _0x29c8ce=_0x14bfcb,_0x151b5e={};_0x151b5e[_0x586439(0x22b)]=HELP_MESSAGES['options'][_0x586439(0x1f9)],_0x151b5e[_0x586439(0x22e)]=_0x29c8ce['bBrNx'];const _0x31f736={};_0x31f736['describe']=HELP_MESSAGES[_0x586439(0x20f)][_0x586439(0x1ef)],_0x31f736[_0x586439(0x22e)]=_0x29c8ce[_0x586439(0x20c)],_0x31f736[_0x586439(0x228)]=!![];const _0x5d7b57={};return _0x5d7b57[_0x586439(0x204)]=_0x151b5e,_0x5d7b57[_0x586439(0x1ef)]=_0x31f736,_0x9a61e3['options'](_0x5d7b57);},connectCommandHandler=async function(_0xa41195){const _0x2ab338=a14_0x1aedeb,_0x36820c={'RGshj':_0x2ab338(0x216),'iLYZZ':function(_0xc0c0d4,_0x36c9fb){return _0xc0c0d4===_0x36c9fb;},'jjhEG':'undefined','IZgiB':'BrowserStack\x20access\x20key\x20missing.','tegoK':function(_0x252c86,_0x57e060){return _0x252c86===_0x57e060;},'qFOgD':_0x2ab338(0x22f),'oPHrJ':function(_0x23676c,_0x13a7be){return _0x23676c(_0x13a7be);},'NAPBL':_0x2ab338(0x222),'UmxoH':function(_0xbb6339,_0x43c319){return _0xbb6339(_0x43c319);},'sxOTm':_0x2ab338(0x221),'oYMHi':_0x2ab338(0x1f1),'bJRcX':'Failed\x20to\x20establish\x20connection.'};try{const _0x1284fd=new BrowserStackSetup(_0xa41195,_0x36820c[_0x2ab338(0x224)]);_0xa41195[_0x2ab338(0x201)]&&(_0x1284fd['config'][_0x2ab338(0x22a)]=_0xa41195['bstackAccesskey']);if(_0x36820c[_0x2ab338(0x223)](typeof _0x1284fd[_0x2ab338(0x1f2)][_0x2ab338(0x22a)],_0x36820c[_0x2ab338(0x200)])){logger[_0x2ab338(0x1f5)](_0x36820c[_0x2ab338(0x226)]);throw new Error(ERROR_MESSAGES[_0x2ab338(0x1f9)]['missing']);}const _0x324fa5=_0xa41195[_0x2ab338(0x1ef)];if(_0x36820c[_0x2ab338(0x1ec)](typeof _0x324fa5,_0x36820c[_0x2ab338(0x200)])){logger[_0x2ab338(0x1f5)](_0x36820c[_0x2ab338(0x219)]);throw new Error(ERROR_MESSAGES[_0x2ab338(0x1ef)][_0x2ab338(0x213)]);}if(!_0x36820c[_0x2ab338(0x21d)](validHosts,_0x324fa5)){logger[_0x2ab338(0x1f5)](_0x36820c[_0x2ab338(0x21e)]);throw new Error(ERROR_MESSAGES[_0x2ab338(0x1ef)]['invalid']);}const _0xb262d2=_0x36820c[_0x2ab338(0x1f4)](parseOnPremHosts,_0x324fa5);_0x1284fd[_0x2ab338(0x1f2)][_0x2ab338(0x218)]=!![],_0x1284fd[_0x2ab338(0x1f2)][_0x2ab338(0x1f0)][_0x2ab338(0x214)]=_0x36820c[_0x2ab338(0x21a)],_0x1284fd['config']['browserStackLocalOptions'][_0x2ab338(0x203)]=_0xb262d2[_0x2ab338(0x1ea)](','),helper[_0x2ab338(0x1ee)](_0x1284fd[_0x2ab338(0x1f2)]),await _0x1284fd[_0x2ab338(0x1f3)](),logger[_0x2ab338(0x202)](_0x36820c[_0x2ab338(0x230)]);}catch(_0x2a0db1){logger[_0x2ab338(0x1f5)](_0x36820c['bJRcX']);throw new Error(_0x2a0db1[_0x2ab338(0x227)]());}};function run(_0x2b7ff0){const _0x2ef982=a14_0x1aedeb,_0x4c6572={};_0x4c6572[_0x2ef982(0x207)]=_0x2ef982(0x20d),_0x4c6572['AnJGO']=_0x2ef982(0x21b);const _0x45f2f9=_0x4c6572;_0x2b7ff0[_0x2ef982(0x229)](HELP_MESSAGES['command'][_0x2ef982(0x1ed)])[_0x2ef982(0x1f8)](_0x45f2f9[_0x2ef982(0x207)],HELP_MESSAGES[_0x2ef982(0x1f8)][_0x2ef982(0x20d)],connectCommandBuilder,connectCommandHandler)[_0x2ef982(0x206)]()['help'](_0x45f2f9[_0x2ef982(0x21f)])[_0x2ef982(0x1fc)](HELP_MESSAGES['command']['footer']);}module[a14_0x1aedeb(0x21c)]=run;function a14_0x122d(){const _0x281be3=['oPHrJ','NAPBL','AnJGO','585282MiRFJZ','integrations-repeater','Hosts\x20not\x20valid','iLYZZ','RGshj','QmwOa','IZgiB','toString','demandOption','usage','accessKey','describe','../../helpers/helper','443','type','Integration\x20hosts\x20missing.','oYMHi','1540518kpkOAZ','./constants','jDOYB','string','826389dFQyfq','join','hostname','tegoK','root','setProxySettings','hosts','browserStackLocalOptions','Connection\x20established\x20successfully.','config','setupBrowserstackLocal','UmxoH','error','6CPXQQA','protocol','command','bstackAccessKey','../../helpers/BrowserStackSetup','trim','epilogue','winstonLogger','1551333QOsswZ','ddzof','jjhEG','bstackAccesskey','info','only','bstack-accesskey','every','demandCommand','dThli','24ucxPIZ','split','url','2335320tsFznX','bBrNx','connect','xeQtw','options','2501296PSltFB','5426qwAknl','https:','missing','localIdentifier','map','integrations','port','browserstackLocal','qFOgD','sxOTm','help','exports'];a14_0x122d=function(){return _0x281be3;};return a14_0x122d();}
@@ -1 +1 @@
1
- var a15_0x325f5c=a15_0x3529;(function(_0x311853,_0x177775){var _0x5d03ad=a15_0x3529,_0x299998=_0x311853();while(!![]){try{var _0x2a54a0=parseInt(_0x5d03ad(0x176))/0x1*(-parseInt(_0x5d03ad(0x16f))/0x2)+-parseInt(_0x5d03ad(0x171))/0x3*(parseInt(_0x5d03ad(0x188))/0x4)+-parseInt(_0x5d03ad(0x172))/0x5*(parseInt(_0x5d03ad(0x170))/0x6)+parseInt(_0x5d03ad(0x17f))/0x7*(parseInt(_0x5d03ad(0x179))/0x8)+parseInt(_0x5d03ad(0x17b))/0x9*(parseInt(_0x5d03ad(0x17a))/0xa)+-parseInt(_0x5d03ad(0x17e))/0xb+parseInt(_0x5d03ad(0x181))/0xc*(parseInt(_0x5d03ad(0x187))/0xd);if(_0x2a54a0===_0x177775)break;else _0x299998['push'](_0x299998['shift']());}catch(_0x4a078d){_0x299998['push'](_0x299998['shift']());}}}(a15_0x1ab2,0xb39a6));var a15_0x6a38c3={};a15_0x6a38c3[a15_0x325f5c(0x173)]=a15_0x325f5c(0x16e),a15_0x6a38c3[a15_0x325f5c(0x183)]='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 a15_0x3c2549={};a15_0x3c2549['root']=a15_0x325f5c(0x177),a15_0x3c2549[a15_0x325f5c(0x182)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a15_0x3c2549[a15_0x325f5c(0x185)]=a15_0x325f5c(0x180);var a15_0x1c4cdb={};a15_0x1c4cdb[a15_0x325f5c(0x189)]=a15_0x6a38c3,a15_0x1c4cdb[a15_0x325f5c(0x175)]=a15_0x3c2549,exports[a15_0x325f5c(0x17d)]=a15_0x1c4cdb;function a15_0x1ab2(){var _0x275b98=['7fWADYs','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','18722280PWvQTG','connect','hosts','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.','footer','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','13vqbCmr','110932kMsCLW','options','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','793602ZsEAgP','6bAigUq','3OtgmsF','2695565GtKEjP','bstackAccessKey','missing','command','3mCFdYt','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','invalid','2426840gVbtcL','2500bNohpA','22941piUWyT','ERROR_MESSAGES','HELP_MESSAGES','86812FkakcF'];a15_0x1ab2=function(){return _0x275b98;};return a15_0x1ab2();}var a15_0x1f8c9f={};a15_0x1f8c9f[a15_0x325f5c(0x174)]=a15_0x325f5c(0x18a);function a15_0x3529(_0x5ed0bd,_0x519ee4){var _0x1ab262=a15_0x1ab2();return a15_0x3529=function(_0x352901,_0x2a93bc){_0x352901=_0x352901-0x16e;var _0x228f20=_0x1ab262[_0x352901];return _0x228f20;},a15_0x3529(_0x5ed0bd,_0x519ee4);}var a15_0x4601f0={};a15_0x4601f0[a15_0x325f5c(0x174)]=a15_0x325f5c(0x186),a15_0x4601f0[a15_0x325f5c(0x178)]=a15_0x325f5c(0x184);var a15_0x143bb7={};a15_0x143bb7[a15_0x325f5c(0x173)]=a15_0x1f8c9f,a15_0x143bb7[a15_0x325f5c(0x183)]=a15_0x4601f0,exports[a15_0x325f5c(0x17c)]=a15_0x143bb7;
1
+ var a15_0x5857c3=a15_0x38e4;(function(_0x590112,_0x5b0c38){var _0x364b5b=a15_0x38e4,_0xe4a738=_0x590112();while(!![]){try{var _0x2bd98d=parseInt(_0x364b5b(0x119))/0x1+parseInt(_0x364b5b(0x10f))/0x2*(parseInt(_0x364b5b(0x115))/0x3)+parseInt(_0x364b5b(0x112))/0x4+parseInt(_0x364b5b(0x121))/0x5+parseInt(_0x364b5b(0x11e))/0x6+-parseInt(_0x364b5b(0x113))/0x7+-parseInt(_0x364b5b(0x11f))/0x8*(parseInt(_0x364b5b(0x11b))/0x9);if(_0x2bd98d===_0x5b0c38)break;else _0xe4a738['push'](_0xe4a738['shift']());}catch(_0x5f1f27){_0xe4a738['push'](_0xe4a738['shift']());}}}(a15_0x4dff,0x1bbc3));var a15_0x3063c8={};a15_0x3063c8[a15_0x5857c3(0x10e)]=a15_0x5857c3(0x122),a15_0x3063c8[a15_0x5857c3(0x11a)]=a15_0x5857c3(0x11d);var a15_0x689218={};a15_0x689218['root']='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a15_0x689218[a15_0x5857c3(0x118)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a15_0x689218[a15_0x5857c3(0x11c)]=a15_0x5857c3(0x114);var a15_0x571ce4={};a15_0x571ce4['options']=a15_0x3063c8,a15_0x571ce4[a15_0x5857c3(0x111)]=a15_0x689218,exports[a15_0x5857c3(0x120)]=a15_0x571ce4;var a15_0xb507bd={};function a15_0x4dff(){var _0x375213=['Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','bstackAccessKey','82598SlgIhu','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.','command','272516oexeEa','1326668OXdVar','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','15XPgcOg','invalid','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','connect','181348fHiDDf','hosts','679275GhcrTE','footer','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.','26676NBIrSw','40rVVuez','HELP_MESSAGES','1100420GOCmtA','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a15_0x4dff=function(){return _0x375213;};return a15_0x4dff();}a15_0xb507bd['missing']=a15_0x5857c3(0x117);var a15_0x5e74fd={};function a15_0x38e4(_0x570eea,_0x186e3c){var _0x4dff86=a15_0x4dff();return a15_0x38e4=function(_0x38e461,_0x375433){_0x38e461=_0x38e461-0x10d;var _0x35a880=_0x4dff86[_0x38e461];return _0x35a880;},a15_0x38e4(_0x570eea,_0x186e3c);}a15_0x5e74fd['missing']=a15_0x5857c3(0x10d),a15_0x5e74fd[a15_0x5857c3(0x116)]=a15_0x5857c3(0x110);var a15_0x3960f9={};a15_0x3960f9['bstackAccessKey']=a15_0xb507bd,a15_0x3960f9[a15_0x5857c3(0x11a)]=a15_0x5e74fd,exports['ERROR_MESSAGES']=a15_0x3960f9;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a16_0x2ec039=a16_0x2b00;function a16_0x2b00(_0x4c29ca,_0x1cf358){const _0x3e70e0=a16_0x3e70();return a16_0x2b00=function(_0x2b004b,_0x16cf6e){_0x2b004b=_0x2b004b-0x165;let _0x573e2d=_0x3e70e0[_0x2b004b];return _0x573e2d;},a16_0x2b00(_0x4c29ca,_0x1cf358);}(function(_0x32d406,_0x9bd4d1){const _0x8dc7cd=a16_0x2b00,_0x4f7e82=_0x32d406();while(!![]){try{const _0x3685bc=parseInt(_0x8dc7cd(0x208))/0x1+parseInt(_0x8dc7cd(0x1c2))/0x2+-parseInt(_0x8dc7cd(0x188))/0x3+-parseInt(_0x8dc7cd(0x1b9))/0x4*(parseInt(_0x8dc7cd(0x184))/0x5)+-parseInt(_0x8dc7cd(0x1af))/0x6*(parseInt(_0x8dc7cd(0x16b))/0x7)+-parseInt(_0x8dc7cd(0x18d))/0x8*(-parseInt(_0x8dc7cd(0x22a))/0x9)+-parseInt(_0x8dc7cd(0x1fd))/0xa*(-parseInt(_0x8dc7cd(0x18c))/0xb);if(_0x3685bc===_0x9bd4d1)break;else _0x4f7e82['push'](_0x4f7e82['shift']());}catch(_0x323034){_0x4f7e82['push'](_0x4f7e82['shift']());}}}(a16_0x3e70,0xb8d81));const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a16_0x2ec039(0x195)),logger=require(a16_0x2ec039(0x1cf))['winstonLogger'],{default:BrowserStackSetup}=require(a16_0x2ec039(0x167)),helper=require(a16_0x2ec039(0x1bd)),utilities=require(a16_0x2ec039(0x1ee)),constants=require(a16_0x2ec039(0x1cd)),accessibilityHelper=require(a16_0x2ec039(0x171)),{updateTestRerunConfig}=require(a16_0x2ec039(0x168)),testOpsHelper=require(a16_0x2ec039(0x1a8)),{debug}=require(a16_0x2ec039(0x1a8)),TestDetails=require(a16_0x2ec039(0x178)),{getPercyOptions}=require(a16_0x2ec039(0x1b1)),TestHubHandler=require(a16_0x2ec039(0x1ff)),testhubUtils=require(a16_0x2ec039(0x1c9)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a16_0x2ec039(0x1d9)),PerformanceEvents=require(a16_0x2ec039(0x1a7))[a16_0x2ec039(0x1b6)],TestOrchestrationHandler=require(a16_0x2ec039(0x189)),getUserJestConfigs=async(_0x3b562d,_0x16b796)=>{const _0x508140=a16_0x2ec039,_0x49e8a3={'kVuEg':'jest-config/build/readConfigFileAndSetRootDir.js','zHzIg':'jest-config','jRNqc':function(_0x45905e,_0x42cc0e){return _0x45905e||_0x42cc0e;},'JOpGf':function(_0x5087c5,_0x3d0dd5){return _0x5087c5(_0x3d0dd5);},'mivbV':_0x508140(0x1aa),'hnvnA':_0x508140(0x1c8),'HkjtH':'mjs','lMHyp':_0x508140(0x1a5),'qOHoT':_0x508140(0x1c5)},_0x434e50=helper[_0x508140(0x19c)](_0x49e8a3['kVuEg'],_0x49e8a3[_0x508140(0x1e6)]),_0x3c6722=_0x16b796[_0x508140(0x1a1)](_0x3f2e5c=>_0x3f2e5c===_0x508140(0x1b8));if(!helper['isUndefined'](_0x3b562d['config'])){logger['info'](_0x508140(0x1c7)+_0x3b562d[_0x508140(0x1fa)]),process[_0x508140(0x21b)]['USER_CONFIG_DETAILS_PATH']=_0x3b562d[_0x508140(0x1fa)];const _0x308cfa=await(0x0,_0x434e50['default'])(path['resolve'](_0x3b562d['config']));return _0x16b796[_0x508140(0x1dd)](_0x3c6722,0x2),_0x49e8a3[_0x508140(0x177)](_0x308cfa,{});}const _0x186d73=_0x49e8a3[_0x508140(0x1da)](require,path[_0x508140(0x1c1)](process['cwd'](),_0x49e8a3[_0x508140(0x215)]));if(_0x186d73[_0x508140(0x1b4)])return logger[_0x508140(0x182)](_0x49e8a3[_0x508140(0x203)]),_0x186d73[_0x508140(0x1b4)];const _0x5119cb=['js',_0x49e8a3[_0x508140(0x1fc)],_0x49e8a3[_0x508140(0x16d)],_0x49e8a3['qOHoT'],'ts'];for(const _0x3316ea of _0x5119cb){const _0x26383c=path[_0x508140(0x1c1)](process[_0x508140(0x212)](),_0x508140(0x18b)+_0x3316ea);if(fs[_0x508140(0x179)](_0x26383c)){process['env'][_0x508140(0x1f0)]=_0x26383c;const _0x440732=await(0x0,_0x434e50[_0x508140(0x209)])(_0x26383c);return _0x440732;}}return{};},getSerial=(_0x431712,_0x2241ee)=>{const _0x36f6d1=a16_0x2ec039,_0x44a066={};_0x44a066['tFJsY']=_0x36f6d1(0x1ef),_0x44a066[_0x36f6d1(0x1a0)]=function(_0x5a1c98,_0x3a5663){return _0x5a1c98>_0x3a5663;},_0x44a066['bEktO']=function(_0x145147,_0x5c3a99){return _0x145147>_0x5c3a99;},_0x44a066[_0x36f6d1(0x181)]=_0x36f6d1(0x1cc);const _0x191e6d=_0x44a066;let _0x3397a6=_0x191e6d['tFJsY'];return _0x191e6d[_0x36f6d1(0x1a0)](_0x431712[_0x36f6d1(0x1df)],0x1)&&(!_0x2241ee['runInBand']&&(helper[_0x36f6d1(0x19f)](_0x2241ee['maxWorkers'])||_0x191e6d[_0x36f6d1(0x1e3)](_0x2241ee[_0x36f6d1(0x19b)],0x1)))&&(_0x3397a6=_0x191e6d[_0x36f6d1(0x181)]),_0x3397a6;},getMaxWorkers=(_0x496189,_0x26046e,_0xb001f)=>{const _0x5ba8e7=a16_0x2ec039,_0x584952={'eJkSc':function(_0x42741a,_0x5201a8){return _0x42741a(_0x5201a8);}};let _0xd94954=0x1;if(!helper[_0x5ba8e7(0x19f)](_0x26046e[_0x5ba8e7(0x1cb)]))_0xd94954=_0x584952[_0x5ba8e7(0x202)](parseInt,_0x26046e[_0x5ba8e7(0x1cb)]);else{if(!helper['isUndefined'](_0x496189[_0x5ba8e7(0x19b)]))_0xd94954=_0x496189[_0x5ba8e7(0x19b)];else!helper[_0x5ba8e7(0x19f)](_0xb001f[_0x5ba8e7(0x19b)])&&(_0xd94954=_0xb001f[_0x5ba8e7(0x19b)]);}return _0xd94954;};async function run(_0x5802ba,_0x374f6e,_0x1272af){const _0x19a556=a16_0x2ec039,_0x26b74d={'iZvsZ':_0x19a556(0x1f9),'ZRcRr':_0x19a556(0x1b4),'SVKPD':function(_0x5ad261,_0x1dc895){return _0x5ad261(_0x1dc895);},'klOnF':function(_0x449dda,_0x22949e){return _0x449dda!=_0x22949e;},'PtkLZ':_0x19a556(0x1ef),'cxASK':function(_0x2b9a6e,_0x349dff,_0x58ed72){return _0x2b9a6e(_0x349dff,_0x58ed72);},'XWyPH':_0x19a556(0x1eb),'pUqrD':function(_0x97a9d5,_0x564d31){return _0x97a9d5(_0x564d31);},'hhPMa':function(_0x265662,_0x8bc727,_0x51c91b,_0x12c2f1){return _0x265662(_0x8bc727,_0x51c91b,_0x12c2f1);},'Qdhif':function(_0x45b4ac,_0x4bb19f){return _0x45b4ac*_0x4bb19f;},'oAPdB':function(_0x55ecda,_0x7838da){return _0x55ecda===_0x7838da;},'zanvl':_0x19a556(0x18f),'gyKCi':_0x19a556(0x218),'wgiWH':_0x19a556(0x18e),'riVvd':_0x19a556(0x172),'oJNgA':'customTestRunner.js','shEXv':'customTestRunnerTemplate.js','BUEvK':'customEnvironment.js','OAjBN':_0x19a556(0x16f),'lhmrv':_0x19a556(0x1ce),'xqAQG':_0x19a556(0x1e4),'oxNTD':_0x19a556(0x1f8),'EMQRa':_0x19a556(0x1c4),'qGCbQ':_0x19a556(0x219),'odRDC':_0x19a556(0x187),'OLPSF':'test_before.setup.js','sUqFw':_0x19a556(0x229),'VTTqd':_0x19a556(0x209),'jhfvV':function(_0x25009f,_0x4c8e82,_0x3b5247){return _0x25009f(_0x4c8e82,_0x3b5247);},'xUtfK':_0x19a556(0x1ae),'ByOJN':function(_0x4432d9,_0x23d2a5){return _0x4432d9>_0x23d2a5;},'dRRaw':_0x19a556(0x201),'skZpM':function(_0xa0dcfa,_0x232bc2,_0x13a700,_0x23aca0){return _0xa0dcfa(_0x232bc2,_0x13a700,_0x23aca0);},'kNvIm':_0x19a556(0x198),'mcEYy':_0x19a556(0x1b8),'UXyqt':function(_0x33b03d,_0x4d3c64){return _0x33b03d===_0x4d3c64;},'fUhnp':_0x19a556(0x1ab),'GtAEz':'inherit','yksUy':_0x19a556(0x1e7)};helper[_0x19a556(0x17e)]()?(await _0x1272af[_0x19a556(0x1ec)](_0x5802ba),await helper['handleApp'](_0x1272af['config'])):await _0x1272af[_0x19a556(0x1d3)]();if(!_0x1272af[_0x19a556(0x1fa)])return;_0x26b74d[_0x19a556(0x1a2)](_0x1272af[_0x19a556(0x1fa)]['testObservability'],null)?process[_0x19a556(0x21b)][_0x19a556(0x1f6)]=_0x1272af[_0x19a556(0x1fa)][_0x19a556(0x176)]:process[_0x19a556(0x21b)][_0x19a556(0x1f6)]=_0x26b74d['PtkLZ'];const _0x221cde=new TestOrchestrationHandler(_0x1272af[_0x19a556(0x1fa)]),_0x1b7ffd=await _0x26b74d[_0x19a556(0x199)](getUserJestConfigs,_0x5802ba,_0x374f6e);logger[_0x19a556(0x182)](_0x26b74d[_0x19a556(0x186)]);const _0x47d8d3=Object[_0x19a556(0x1db)]({},_0x1b7ffd);_0x47d8d3[_0x19a556(0x1bf)]=Object[_0x19a556(0x1db)]({},_0x47d8d3[_0x19a556(0x1bf)],{'server':helper[_0x19a556(0x200)](_0x1272af[_0x19a556(0x1fa)]),'environment':_0x1b7ffd[_0x19a556(0x17b)]}),_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x204)]=_0x26b74d['pUqrD'](getPercyOptions,_0x1272af[_0x19a556(0x1fa)]);const _0x558b86=helper['useW3C'](_0x1272af['config']);!helper[_0x19a556(0x19f)](_0x1272af[_0x19a556(0x1fa)][_0x19a556(0x217)])&&(process[_0x19a556(0x21b)][_0x19a556(0x214)]=JSON[_0x19a556(0x228)](_0x1272af['config']['accessibilityOptions']));const _0x1d6498=await TestHubHandler[_0x19a556(0x183)](FRAMEWORKS['JEST'],_0x1272af),_0x2da147=helper[_0x19a556(0x1f3)](_0x1272af[_0x19a556(0x1fa)],_0x558b86,constants[_0x19a556(0x169)][_0x19a556(0x1e5)]);let _0x33e286=_0x1272af['config'][_0x19a556(0x175)];_0x33e286=_0x33e286||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1272af[_0x19a556(0x1fa)]),process[_0x19a556(0x21b)][_0x19a556(0x1be)]=_0x33e286,_0x47d8d3['testEnvironmentOptions']['capabilities']=_0x2da147,_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x1f2)]=_0x26b74d[_0x19a556(0x199)](getSerial,_0x2da147,_0x5802ba),_0x47d8d3['testEnvironmentOptions'][_0x19a556(0x1bb)]=_0x26b74d[_0x19a556(0x1ba)](getMaxWorkers,_0x5802ba,_0x1272af[_0x19a556(0x1fa)],_0x1b7ffd),_0x47d8d3['testEnvironmentOptions']['proxySettings']=_0x1272af['config'][_0x19a556(0x165)],_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x16e)]=_0x26b74d[_0x19a556(0x1d2)](_0x5802ba['testTimeout'],0x1)||0x1388,_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x1d8)]=_0x1272af[_0x19a556(0x1fa)][_0x19a556(0x211)]['skipSessionName'],_0x47d8d3[_0x19a556(0x1bf)]['skipSessionStatus']=_0x1272af[_0x19a556(0x1fa)][_0x19a556(0x211)][_0x19a556(0x1a6)],_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x1ca)]=_0x1272af[_0x19a556(0x1fa)]['logLevel'],_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x20b)]=_0x1272af['config'][_0x19a556(0x20b)],_0x47d8d3['testEnvironmentOptions'][_0x19a556(0x174)]=_0x1272af[_0x19a556(0x1fa)][_0x19a556(0x16c)];const _0x34c411=helper[_0x19a556(0x180)](_0x1272af[_0x19a556(0x1fa)]);if(!helper[_0x19a556(0x221)](_0x34c411)){helper[_0x19a556(0x206)](_0x34c411[_0x19a556(0x19e)])&&(_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x1f5)]=_0x34c411[_0x19a556(0x19e)][_0x19a556(0x216)]);if(helper['isNotUndefined'](_0x34c411[_0x19a556(0x197)])&&helper['isNotUndefined'](_0x34c411[_0x19a556(0x197)][_0x19a556(0x1d5)])){const _0x332788={};_0x332788[_0x19a556(0x1a9)]=_0x34c411['abortBuildOnFailure'][_0x19a556(0x16a)],_0x332788['workingDir']=_0x34c411[_0x19a556(0x197)]['workingDir'],_0x47d8d3[_0x19a556(0x1bf)][_0x19a556(0x1c3)]=_0x332788;}}let _0x36df6a='';_0x26b74d[_0x19a556(0x1d1)](helper[_0x19a556(0x1b0)](),constants[_0x19a556(0x1f4)][_0x19a556(0x21f)])?_0x36df6a=_0x26b74d[_0x19a556(0x1d7)]:_0x36df6a=_0x26b74d[_0x19a556(0x1f1)];const _0x440cf4=_0x36df6a,_0x46ddcc=path['join'](__dirname,_0x26b74d['wgiWH'],_0x26b74d[_0x19a556(0x1de)]),_0x3dc0b7=path[_0x19a556(0x1c1)](__dirname,_0x26b74d[_0x19a556(0x22f)],_0x26b74d[_0x19a556(0x173)]),_0x41c2e3=path[_0x19a556(0x1c1)](__dirname,_0x26b74d[_0x19a556(0x22f)],_0x26b74d[_0x19a556(0x1b5)]);_0x47d8d3[_0x19a556(0x17b)]&&(process[_0x19a556(0x21b)][_0x19a556(0x1bc)]=_0x47d8d3[_0x19a556(0x17b)]);_0x47d8d3[_0x19a556(0x17b)]=path[_0x19a556(0x1c1)](__dirname,_0x26b74d[_0x19a556(0x22f)],_0x26b74d[_0x19a556(0x1c0)]),_0x47d8d3['runner']=_0x3dc0b7,_0x47d8d3['setupFilesAfterEnv']=_0x47d8d3['setupFilesAfterEnv']||[],_0x47d8d3[_0x19a556(0x1b7)][_0x19a556(0x20d)](path['join'](__dirname,_0x26b74d[_0x19a556(0x19d)]));_0x221cde[_0x19a556(0x1c6)]()&&(_0x47d8d3['testSequencer']=path[_0x19a556(0x1c1)](__dirname,_0x26b74d[_0x19a556(0x22f)],_0x26b74d[_0x19a556(0x1b2)]));if(testhubUtils[_0x19a556(0x224)]()){let _0x5e206f=null;try{_0x5e206f=helper[_0x19a556(0x19c)](_0x26b74d['xqAQG'],_0x26b74d[_0x19a556(0x222)]);}catch(_0x4e0e56){_0x26b74d['SVKPD'](debug,_0x19a556(0x194)+_0x4e0e56);}_0x5e206f&&(_0x47d8d3['setupFilesAfterEnv'][_0x19a556(0x20d)](path[_0x19a556(0x1c1)](__dirname,_0x26b74d[_0x19a556(0x1dc)],_0x26b74d[_0x19a556(0x1d0)])),_0x47d8d3[_0x19a556(0x1e0)]=path['join'](__dirname,_0x26b74d[_0x19a556(0x22f)],_0x26b74d[_0x19a556(0x21e)]));}_0x47d8d3[_0x19a556(0x1f7)]=_0x47d8d3[_0x19a556(0x1f7)]||[];try{helper[_0x19a556(0x17f)](),_0x47d8d3[_0x19a556(0x1f7)][_0x19a556(0x20d)](path[_0x19a556(0x1c1)](__dirname,_0x26b74d[_0x19a556(0x223)]));}catch{logger[_0x19a556(0x166)](_0x26b74d[_0x19a556(0x1e9)]);}_0x47d8d3[_0x19a556(0x1d4)]=_0x47d8d3[_0x19a556(0x1d4)]||[_0x26b74d['VTTqd']],_0x26b74d['jhfvV'](updateTestRerunConfig,_0x47d8d3,_0x1272af);const _0x8ec271=fs[_0x19a556(0x170)](_0x41c2e3);fs['writeFileSync'](_0x47d8d3[_0x19a556(0x1e2)],_0x19a556(0x192)+_0x8ec271+_0x19a556(0x22c)+_0x1272af['config'][_0x19a556(0x16c)][_0x19a556(0x1df)]+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x19a556(0x182)](_0x19a556(0x226)+_0x440cf4+_0x19a556(0x1ac)),fs[_0x19a556(0x1a3)](_0x440cf4,'const\x20config='+JSON[_0x19a556(0x228)](_0x47d8d3)+_0x19a556(0x191));if(_0x221cde[_0x19a556(0x1c6)]()){logger[_0x19a556(0x166)](_0x26b74d[_0x19a556(0x1d6)]);const _0x3e1975=await _0x221cde['findTestFiles'](_0x47d8d3,_0x374f6e[_0x19a556(0x17c)](0x1),_0x440cf4);logger[_0x19a556(0x166)](_0x19a556(0x207)+JSON['stringify'](_0x3e1975)+_0x19a556(0x230));const _0x515719=await _0x221cde[_0x19a556(0x1ed)](_0x3e1975);logger['debug'](_0x19a556(0x213)+JSON[_0x19a556(0x228)](_0x515719)),_0x515719&&_0x26b74d[_0x19a556(0x20c)](_0x515719[_0x19a556(0x1df)],0x0)&&(process[_0x19a556(0x21b)]['JEST_TEST_ORDER']=_0x515719?.[_0x19a556(0x1c1)](','));}logger[_0x19a556(0x182)](_0x26b74d[_0x19a556(0x205)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0x19a556(0x220)]({},_0x374f6e),PerformanceTester['end'](PerformanceEvents[_0x19a556(0x22d)]);const _0x3a49cc=_0x26b74d['skZpM'](spawn,_0x26b74d['kNvIm'],[_0x26b74d[_0x19a556(0x185)],_0x26b74d[_0x19a556(0x20f)],_0x440cf4,..._0x374f6e['slice'](0x1)],{'shell':_0x26b74d[_0x19a556(0x20e)](process[_0x19a556(0x1a4)],_0x26b74d['fUhnp']),'stdio':_0x26b74d[_0x19a556(0x18a)],'env':Object['assign']({},process[_0x19a556(0x21b)])});_0x3a49cc['on'](_0x26b74d[_0x19a556(0x21d)],async _0x2c2bdb=>{const _0x3b0e86=_0x19a556;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x40340e,tcgConfigPath:_0xc4867e}=helper[_0x3b0e86(0x1ad)]();fs[_0x3b0e86(0x1ea)](_0xc4867e),fs[_0x3b0e86(0x193)](_0x40340e);}catch(_0x4a6c91){logger[_0x3b0e86(0x166)](_0x26b74d[_0x3b0e86(0x22e)],_0x4a6c91);}process[_0x3b0e86(0x196)]=_0x2c2bdb,logger[_0x3b0e86(0x166)](_0x3b0e86(0x17a)+_0x2c2bdb),logger[_0x3b0e86(0x182)](_0x3b0e86(0x1fb)+_0x440cf4);if(helper[_0x3b0e86(0x206)](_0x34c411)&&helper['isNotUndefined'](_0x34c411[_0x3b0e86(0x197)])&&fs[_0x3b0e86(0x179)](_0x34c411[_0x3b0e86(0x197)][_0x3b0e86(0x1d5)]))try{const _0x4fc331={};_0x4fc331['recursive']=!![],_0x4fc331['force']=!![],fs[_0x3b0e86(0x225)](_0x34c411['abortBuildOnFailure'][_0x3b0e86(0x1d5)],_0x4fc331),logger['debug'](_0x3b0e86(0x190)+_0x34c411[_0x3b0e86(0x197)]['workingDir']);}catch(_0x2ed875){logger['error'](_0x3b0e86(0x21c)+_0x2ed875);}let _0x39fecf=null;if(fs['existsSync'](_0x46ddcc)){_0x39fecf=fs['readFileSync'](_0x46ddcc);try{_0x39fecf=JSON['parse'](_0x39fecf);}catch(_0x30c01a){logger[_0x3b0e86(0x166)](_0x3b0e86(0x1e1)+_0x46ddcc+',\x20'+_0x39fecf+_0x3b0e86(0x1e8)+_0x30c01a);}fs['unlinkSync'](_0x46ddcc);}fs[_0x3b0e86(0x1ea)](_0x440cf4),fs[_0x3b0e86(0x1ea)](_0x3dc0b7),_0x39fecf&&(_0x1272af[_0x3b0e86(0x227)]=helper[_0x3b0e86(0x22b)](_0x39fecf,_0x26b74d['ZRcRr'],_0x1272af));try{await TestHubHandler[_0x3b0e86(0x20a)]();}catch(_0x274829){console[_0x3b0e86(0x210)](_0x274829),_0x26b74d[_0x3b0e86(0x21a)](debug,_0x3b0e86(0x1fe)+util['format'](_0x274829));}testOpsHelper['printBuildLink'](),TestDetails[_0x3b0e86(0x1b3)](),await utilities[_0x3b0e86(0x19a)](_0x1272af);});}function a16_0x3e70(){const _0x53f396=['jest-circus','error\x20removing\x20tcg\x20config\x20file','config','Deleting\x20','HkjtH','80nDeznT','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/testhub/testhubHandler','getHubUrl','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','eJkSc','hnvnA','browserStackPercyOptions','dRRaw','isNotUndefined','Found:\x20','1087636BdHeOI','default','stop','turboScaleUrl','ByOJN','push','UXyqt','mcEYy','log','testContextOptions','cwd','Reodered\x20Test\x20Files:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mivbV','maxRetries','accessibilityOptions','jest_browserstack.config.js','data-hooks.js','SVKPD','env','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','yksUy','odRDC','MODULE','filterBrowserstackArgs','isEmpty','oxNTD','OLPSF','shouldProcessEventForTesthub','rmSync','Creating\x20','errorMessage','stringify','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','331182MUCbxC','getErrorMessageFromResults','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','SDK_SETUP','iZvsZ','wgiWH','\x20test\x20files\x20to\x20run.','proxySettings','debug','../../helpers/BrowserStackSetup','./test-observability/helper','FRAMEWORKS','maxFailures','5201686uFNMGz','platforms','lMHyp','timeout__','jest.setup.js','readFileSync','../../helpers/accessibility-automation/helper','jest_browserstack_results.json','oJNgA','platformCaps','accessibility','testObservability','jRNqc','./test-observability/test-details','existsSync','child\x20process\x20exited\x20with\x20code\x20','testEnvironment','slice','exports','isBrowserstackInfra','requireSeleniumWebdriver','parseTestOrchestrationOptions','aXGvr','info','launchBuild','39535VXWOyc','ZRcRr','XWyPH','customCircus.js','1433049RWVzHK','../../helpers/test-orchestration/testOrchestrationHandler','GtAEz','jest.config.','2923822rHzhyy','96HocTtv','customImplements','jest_browserstack.config.cjs','Deleted\x20fail-fast\x20state\x20folder:\x20','\x0amodule.exports\x20=\x20config;','\x0a\x20\x20\x20\x20','rmdirSync','Unable\x20to\x20find\x20jest-circus,\x20','child_process','exitCode','abortBuildOnFailure','npx','cxASK','finalExecution','maxWorkers','requireModule','OAjBN','retryTestsOnFailure','isUndefined','oNJUv','findIndex','klOnF','writeFileSync','platform','cjs','skipSessionStatus','../../helpers/performance/constants','../../helpers/test-observability/utils','failureThresholdCount','package.json','win32','\x20with\x20browserstack\x20jest\x20configs','getTCGConfigFilePaths','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','12LQTpEJ','getPackageType','../../helpers/percy/utils','lhmrv','shutdown','jest','shEXv','EVENTS','setupFilesAfterEnv','--config','580EPMzyk','hhPMa','parallels__','BSTACK_JEST_TEST_ENV','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testEnvironmentOptions','BUEvK','join','423774YjLQfO','failFast','test-observability','json','isTestOrchestrationEnabled','Getting\x20your\x20jest\x20configs\x20from\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','../../helpers/testhub/utils','browserStackLogLevel','parallelsPerPlatform','false','../utils/constants','customSequencer.js','../../helpers/logger','qGCbQ','oAPdB','Qdhif','setupTCGAuth','reporters','workingDir','xUtfK','zanvl','skipSessionName','../../helpers/performance/performance-tester','JOpGf','assign','EMQRa','splice','riVvd','length','testRunner','Error\x20while\x20parsing\x20','runner','bEktO','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','JEST','zHzIg','close','\x20:\x20','sUqFw','unlinkSync','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','initialize','reorderTestFiles','../../helpers/utilities','true','USER_CONFIG_DETAILS_PATH','gyKCi','serial__','prepareCapabilities','PACKAGE_TYPE','retries__','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupFiles'];a16_0x3e70=function(){return _0x53f396;};return a16_0x3e70();}module[a16_0x2ec039(0x17d)]=run;
2
+ 'use strict';const a16_0x35ed0d=a16_0x26f7;(function(_0x1c370c,_0x287659){const _0x4183c7=a16_0x26f7,_0x2efba0=_0x1c370c();while(!![]){try{const _0x2cc316=-parseInt(_0x4183c7(0xff))/0x1+-parseInt(_0x4183c7(0xed))/0x2*(-parseInt(_0x4183c7(0xa5))/0x3)+-parseInt(_0x4183c7(0xbf))/0x4+-parseInt(_0x4183c7(0x102))/0x5+parseInt(_0x4183c7(0x113))/0x6*(-parseInt(_0x4183c7(0xfa))/0x7)+-parseInt(_0x4183c7(0x15b))/0x8*(-parseInt(_0x4183c7(0xc6))/0x9)+parseInt(_0x4183c7(0x110))/0xa*(parseInt(_0x4183c7(0x154))/0xb);if(_0x2cc316===_0x287659)break;else _0x2efba0['push'](_0x2efba0['shift']());}catch(_0x1dac55){_0x2efba0['push'](_0x2efba0['shift']());}}}(a16_0x4fe3,0xba38c));const fs=require('fs'),path=require(a16_0x35ed0d(0x11d)),util=require(a16_0x35ed0d(0x15c)),{spawn}=require(a16_0x35ed0d(0xe5)),logger=require(a16_0x35ed0d(0xbc))[a16_0x35ed0d(0xfd)],{default:BrowserStackSetup}=require(a16_0x35ed0d(0xc1)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a16_0x35ed0d(0xab)),accessibilityHelper=require(a16_0x35ed0d(0x10a)),{updateTestRerunConfig}=require(a16_0x35ed0d(0x114)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a16_0x35ed0d(0xa9)),TestDetails=require(a16_0x35ed0d(0xa8)),{getPercyOptions}=require(a16_0x35ed0d(0xea)),TestHubHandler=require(a16_0x35ed0d(0xd1)),testhubUtils=require(a16_0x35ed0d(0x14b)),{FRAMEWORKS}=require(a16_0x35ed0d(0xf3)),PerformanceTester=require(a16_0x35ed0d(0xda)),PerformanceEvents=require('../../helpers/performance/constants')[a16_0x35ed0d(0x119)],TestOrchestrationHandler=require(a16_0x35ed0d(0x160)),getUserJestConfigs=async(_0x4f85a6,_0x346bb5)=>{const _0x25b08b=a16_0x35ed0d,_0x841a6a={'GPDrJ':_0x25b08b(0xb7),'ajAZx':_0x25b08b(0xfb),'EhgPj':function(_0x24c39b,_0x28b115){return _0x24c39b||_0x28b115;},'mvtiN':function(_0x4fc823,_0x5dda91){return _0x4fc823(_0x5dda91);},'gFeai':_0x25b08b(0x15d),'BBaqw':_0x25b08b(0x10c),'FibMe':'mjs','wbiiy':'cjs','rfPll':_0x25b08b(0xd8)},_0x50c960=helper[_0x25b08b(0x162)](_0x841a6a[_0x25b08b(0xcc)],_0x841a6a[_0x25b08b(0x14d)]),_0x528ed7=_0x346bb5['findIndex'](_0x2fdef4=>_0x2fdef4===_0x25b08b(0xae));if(!helper[_0x25b08b(0x128)](_0x4f85a6[_0x25b08b(0x152)])){logger['info'](_0x25b08b(0xb3)+_0x4f85a6[_0x25b08b(0x152)]),process[_0x25b08b(0xfc)][_0x25b08b(0x14c)]=_0x4f85a6[_0x25b08b(0x152)];const _0x529ddf=await(0x0,_0x50c960[_0x25b08b(0x131)])(path[_0x25b08b(0x14a)](_0x4f85a6['config']));return _0x346bb5[_0x25b08b(0x11a)](_0x528ed7,0x2),_0x841a6a[_0x25b08b(0xa6)](_0x529ddf,{});}const _0x2bb44e=_0x841a6a[_0x25b08b(0x148)](require,path['join'](process[_0x25b08b(0xd0)](),_0x841a6a[_0x25b08b(0x166)]));if(_0x2bb44e[_0x25b08b(0x13f)])return logger['info'](_0x841a6a['BBaqw']),_0x2bb44e[_0x25b08b(0x13f)];const _0x337278=['js',_0x841a6a[_0x25b08b(0xd3)],_0x841a6a[_0x25b08b(0x159)],_0x841a6a[_0x25b08b(0xb4)],'ts'];for(const _0x2d6cc2 of _0x337278){const _0x5be8bc=path[_0x25b08b(0xcb)](process[_0x25b08b(0xd0)](),_0x25b08b(0x165)+_0x2d6cc2);if(fs[_0x25b08b(0x16f)](_0x5be8bc)){process['env']['USER_CONFIG_DETAILS_PATH']=_0x5be8bc;const _0x1963f4=await(0x0,_0x50c960[_0x25b08b(0x131)])(_0x5be8bc);return _0x1963f4;}}return{};},getSerial=(_0x44de9b,_0x58381e)=>{const _0x489e52=a16_0x35ed0d,_0x184c76={};_0x184c76[_0x489e52(0x109)]=_0x489e52(0xf5),_0x184c76[_0x489e52(0x170)]=function(_0x7acc5a,_0xb40942){return _0x7acc5a>_0xb40942;},_0x184c76['HfxyE']=function(_0x272f8d,_0xebf0dd){return _0x272f8d>_0xebf0dd;},_0x184c76['oYxsd']=_0x489e52(0x101);const _0x4eeee4=_0x184c76;let _0x3f5371=_0x4eeee4[_0x489e52(0x109)];return _0x4eeee4['QWtFP'](_0x44de9b[_0x489e52(0x15e)],0x1)&&(!_0x58381e[_0x489e52(0x111)]&&(helper['isUndefined'](_0x58381e[_0x489e52(0x103)])||_0x4eeee4['HfxyE'](_0x58381e[_0x489e52(0x103)],0x1)))&&(_0x3f5371=_0x4eeee4[_0x489e52(0x147)]),_0x3f5371;},getMaxWorkers=(_0x819cbf,_0x3d131,_0x47b198)=>{const _0x57fda0=a16_0x35ed0d,_0x30a558={'zuIAo':function(_0xf73e88,_0x5a6b09){return _0xf73e88(_0x5a6b09);}};let _0x3da224=0x1;if(!helper[_0x57fda0(0x128)](_0x3d131[_0x57fda0(0xc5)]))_0x3da224=_0x30a558[_0x57fda0(0xcf)](parseInt,_0x3d131[_0x57fda0(0xc5)]);else{if(!helper[_0x57fda0(0x128)](_0x819cbf[_0x57fda0(0x103)]))_0x3da224=_0x819cbf[_0x57fda0(0x103)];else!helper[_0x57fda0(0x128)](_0x47b198[_0x57fda0(0x103)])&&(_0x3da224=_0x47b198['maxWorkers']);}return _0x3da224;};function a16_0x26f7(_0x1d8ac6,_0x2c17e4){const _0x4fe3b0=a16_0x4fe3();return a16_0x26f7=function(_0x26f72d,_0x4772f6){_0x26f72d=_0x26f72d-0xa2;let _0x530e14=_0x4fe3b0[_0x26f72d];return _0x530e14;},a16_0x26f7(_0x1d8ac6,_0x2c17e4);}function a16_0x4fe3(){const _0xac1831=['finalExecution','testRunner','cNAHX','gJpPR','testObservability','iixpe','OJQSR','accessibility','ooUgR','getPackageType','child_process','platformCaps','setupTCGAuth','child\x20process\x20exited\x20with\x20code\x20','npx','../../helpers/percy/utils','getTCGConfigFilePaths','Error\x20while\x20parsing\x20','2477994wEVcgy','JEST_TEST_ORDER','JRHmX','iKIuC','const\x20config=','assign','../../helpers/test-observability/constants','customEnvironment.js','true','Deleting\x20','runner','nIRlW','isNotUndefined','14DMswcT','jest-config','env','winstonLogger','errorMessage','1240946xYeZkO','inherit','false','3022380vAqZOg','maxWorkers','end','AXVpK',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','customImplements','skipSessionName','QKLBS','../../helpers/accessibility-automation/helper','recursive','Getting\x20your\x20jest\x20configs\x20from\x20package.json','test-observability','exitCode','grDLu','19563210kEMtgm','runInBand','parseTestOrchestrationOptions','1402158sNSErQ','./test-observability/helper','useW3C','getHubUrl','\x20with\x20browserstack\x20jest\x20configs','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','EVENTS','splice','PACKAGE_TYPE','setupFiles','path','data-hooks.js','getErrorMessageFromResults','stringify','force','log','IrnDL','maxFailures','slice','testSequencer','igdTD','isUndefined','close','reorderTestFiles','Tsxbw','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','customTestRunner.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','FRAMEWORKS','launchBuild','default','SWHDJ','testEnvironment','PzFja','lmSto','RYNPe','agtyf','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','setupFilesAfterEnv','writeFileSync','parallels__','workingDir','MODULE','XNTwV','jest','win32','Umkjf','testContextOptions','serial__','JhdhZ','Unable\x20to\x20find\x20jest-circus,\x20','BSTACK_JEST_TEST_ENV','oYxsd','mvtiN','requireSeleniumWebdriver','resolve','../../helpers/testhub/utils','USER_CONFIG_DETAILS_PATH','ajAZx','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','mGpAP','printBuildLink','setup','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','11ASlkyW','Found:\x20','failFast','initialize','ymEge','wbiiy','turboScaleUrl','4703368nCrtFD','util','package.json','length','prepareCapabilities','../../helpers/test-orchestration/testOrchestrationHandler','fnndX','requireModule','jest.setup.js','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','jest.config.','gFeai','jvrId','testEnvironmentOptions','\x0amodule.exports\x20=\x20config;','DqYvD','timeout__','error\x20removing\x20tcg\x20config\x20file','proxySettings','jest_browserstack_results.json','existsSync','QWtFP','filterBrowserstackArgs','jest-circus','skipSessionStatus','platform','rmSync','platforms','3cDIlyT','EhgPj','fxbMY','./test-observability/test-details','../../helpers/test-observability/utils','retryTestsOnFailure','../utils/constants','findTestFiles','shouldProcessEventForTesthub','--config','xVWqD','isEmpty','isTestOrchestrationEnabled','RaWao','Getting\x20your\x20jest\x20configs\x20from\x20','rfPll','format','jTnCQ','jest-config/build/readConfigFileAndSetRootDir.js','zteHy','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','jest_browserstack.config.cjs','reporters','../../helpers/logger','Creating\x20','accessibilityOptions','2830668gGDquD','browserStackPercyOptions','../../helpers/BrowserStackSetup','abortBuildOnFailure','jest_browserstack.config.js','XeGCI','parallelsPerPlatform','9iTMjtt','push','customCircus.js','unlinkSync','Deleted\x20fail-fast\x20state\x20folder:\x20','join','GPDrJ','info','debug','zuIAo','cwd','../../helpers/testhub/testhubHandler','customTestRunnerTemplate.js','FibMe','retries__','readFileSync','error','SDK_SETUP','json','handleApp','../../helpers/performance/performance-tester'];a16_0x4fe3=function(){return _0xac1831;};return a16_0x4fe3();}async function run(_0x5707a5,_0x416264,_0x1137e4){const _0x3b4f60=a16_0x35ed0d,_0x1a9b84={'saLLR':_0x3b4f60(0x16c),'jTnCQ':_0x3b4f60(0x13f),'Umkjf':function(_0x55cd09,_0x4c0001){return _0x55cd09(_0x4c0001);},'xVWqD':function(_0x502ac3,_0x439897){return _0x502ac3!=_0x439897;},'gJpPR':_0x3b4f60(0xf5),'lmSto':function(_0x3a55b4,_0x1db8e8,_0x12806b){return _0x3a55b4(_0x1db8e8,_0x12806b);},'SWHDJ':_0x3b4f60(0xb9),'RaWao':function(_0x456f31,_0x27e171){return _0x456f31(_0x27e171);},'IrnDL':function(_0x38c2a9,_0x866026,_0x1fff24){return _0x38c2a9(_0x866026,_0x1fff24);},'agtyf':function(_0x1abab7,_0x178192,_0x573912,_0x58e07f){return _0x1abab7(_0x178192,_0x573912,_0x58e07f);},'fnndX':function(_0x4aa811,_0x3b9d51){return _0x4aa811*_0x3b9d51;},'jvrId':function(_0x502a2c,_0x33207){return _0x502a2c===_0x33207;},'nIRlW':_0x3b4f60(0xba),'RdTIy':_0x3b4f60(0xc3),'JhdhZ':_0x3b4f60(0x107),'grDLu':_0x3b4f60(0x16e),'zteHy':_0x3b4f60(0x12d),'cNAHX':_0x3b4f60(0xd2),'AXVpK':_0x3b4f60(0xf4),'ooUgR':_0x3b4f60(0x163),'JRHmX':'customSequencer.js','DqYvD':_0x3b4f60(0x14e),'iixpe':_0x3b4f60(0x172),'XeGCI':_0x3b4f60(0x10d),'iKIuC':_0x3b4f60(0x11e),'Szhvm':_0x3b4f60(0xc8),'ymEge':'test_before.setup.js','XpPhs':_0x3b4f60(0x12c),'mGpAP':_0x3b4f60(0x131),'DtRar':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','OJQSR':function(_0x4c0f39,_0xd340cb){return _0x4c0f39>_0xd340cb;},'igdTD':_0x3b4f60(0x138),'fxbMY':function(_0x3b50a4,_0x1475e4,_0x2e8135,_0x50d22e){return _0x3b50a4(_0x1475e4,_0x2e8135,_0x50d22e);},'XNTwV':_0x3b4f60(0xe9),'Tsxbw':'--config','PneIU':_0x3b4f60(0x140),'RYNPe':_0x3b4f60(0x100),'PzFja':_0x3b4f60(0x129)};helper['isBrowserstackInfra']()?(await _0x1137e4[_0x3b4f60(0x157)](_0x5707a5),await helper[_0x3b4f60(0xd9)](_0x1137e4['config'])):await _0x1137e4[_0x3b4f60(0xe7)]();if(!_0x1137e4[_0x3b4f60(0x152)])return;_0x1a9b84[_0x3b4f60(0xaf)](_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xdf)],null)?process[_0x3b4f60(0xfc)][_0x3b4f60(0x153)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xdf)]:process['env'][_0x3b4f60(0x153)]=_0x1a9b84[_0x3b4f60(0xde)];const _0x45a961=new TestOrchestrationHandler(_0x1137e4[_0x3b4f60(0x152)]),_0xa29aca=await _0x1a9b84[_0x3b4f60(0x135)](getUserJestConfigs,_0x5707a5,_0x416264);logger[_0x3b4f60(0xcd)](_0x1a9b84[_0x3b4f60(0x132)]);const _0x17b717=Object[_0x3b4f60(0xf2)]({},_0xa29aca);_0x17b717[_0x3b4f60(0x168)]=Object[_0x3b4f60(0xf2)]({},_0x17b717[_0x3b4f60(0x168)],{'server':helper[_0x3b4f60(0x116)](_0x1137e4[_0x3b4f60(0x152)]),'environment':_0xa29aca[_0x3b4f60(0x133)]}),_0x17b717['testEnvironmentOptions'][_0x3b4f60(0xc0)]=_0x1a9b84[_0x3b4f60(0xb2)](getPercyOptions,_0x1137e4[_0x3b4f60(0x152)]);const _0x51006e=helper[_0x3b4f60(0x115)](_0x1137e4[_0x3b4f60(0x152)]);!helper[_0x3b4f60(0x128)](_0x1137e4[_0x3b4f60(0x152)]['accessibilityOptions'])&&(process['env'][_0x3b4f60(0x12e)]=JSON['stringify'](_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xbe)]));const _0x2998ea=await TestHubHandler[_0x3b4f60(0x130)](FRAMEWORKS['JEST'],_0x1137e4),_0x51a2cd=helper[_0x3b4f60(0x15f)](_0x1137e4[_0x3b4f60(0x152)],_0x51006e,constants[_0x3b4f60(0x12f)]['JEST']);let _0x32bac6=_0x1137e4['config'][_0x3b4f60(0xe2)];_0x32bac6=_0x32bac6||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1137e4[_0x3b4f60(0x152)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x32bac6,_0x17b717[_0x3b4f60(0x168)]['capabilities']=_0x51a2cd,_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x143)]=_0x1a9b84[_0x3b4f60(0x123)](getSerial,_0x51a2cd,_0x5707a5),_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x13b)]=_0x1a9b84[_0x3b4f60(0x137)](getMaxWorkers,_0x5707a5,_0x1137e4[_0x3b4f60(0x152)],_0xa29aca),_0x17b717['testEnvironmentOptions']['proxySettings']=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x16d)],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x16b)]=_0x1a9b84[_0x3b4f60(0x161)](_0x5707a5['testTimeout'],0x1)||0x1388,_0x17b717[_0x3b4f60(0x168)]['skipSessionName']=_0x1137e4['config'][_0x3b4f60(0x142)][_0x3b4f60(0x108)],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x173)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x142)][_0x3b4f60(0x173)],_0x17b717['testEnvironmentOptions']['browserStackLogLevel']=_0x1137e4['config']['logLevel'],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x15a)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x15a)],_0x17b717['testEnvironmentOptions'][_0x3b4f60(0xe6)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xa4)];const _0x119f25=helper[_0x3b4f60(0x112)](_0x1137e4[_0x3b4f60(0x152)]);if(!helper[_0x3b4f60(0xb0)](_0x119f25)){helper['isNotUndefined'](_0x119f25['retryTestsOnFailure'])&&(_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0xd4)]=_0x119f25[_0x3b4f60(0xaa)]['maxRetries']);if(helper[_0x3b4f60(0xf9)](_0x119f25['abortBuildOnFailure'])&&helper[_0x3b4f60(0xf9)](_0x119f25['abortBuildOnFailure'][_0x3b4f60(0x13c)])){const _0x53b021={};_0x53b021['failureThresholdCount']=_0x119f25[_0x3b4f60(0xc2)][_0x3b4f60(0x124)],_0x53b021[_0x3b4f60(0x13c)]=_0x119f25[_0x3b4f60(0xc2)]['workingDir'],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x156)]=_0x53b021;}}let _0x48fa3f='';_0x1a9b84[_0x3b4f60(0x167)](helper[_0x3b4f60(0xe4)](),constants[_0x3b4f60(0x11b)][_0x3b4f60(0x13d)])?_0x48fa3f=_0x1a9b84[_0x3b4f60(0xf8)]:_0x48fa3f=_0x1a9b84['RdTIy'];const _0xa6bb50=_0x48fa3f,_0x4d399d=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0x10f)]),_0x2f8a87=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0xb8)]),_0xcd59b5=path['join'](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0xdd)]);_0x17b717[_0x3b4f60(0x133)]&&(process[_0x3b4f60(0xfc)][_0x3b4f60(0x146)]=_0x17b717[_0x3b4f60(0x133)]);_0x17b717['testEnvironment']=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0x105)]),_0x17b717[_0x3b4f60(0xf7)]=_0x2f8a87,_0x17b717[_0x3b4f60(0x139)]=_0x17b717[_0x3b4f60(0x139)]||[],_0x17b717[_0x3b4f60(0x139)][_0x3b4f60(0xc7)](path['join'](__dirname,_0x1a9b84[_0x3b4f60(0xe3)]));_0x45a961['isTestOrchestrationEnabled']()&&(_0x17b717[_0x3b4f60(0x126)]=path['join'](__dirname,_0x1a9b84['JhdhZ'],_0x1a9b84[_0x3b4f60(0xef)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x568ec3=null;try{_0x568ec3=helper[_0x3b4f60(0x162)](_0x1a9b84[_0x3b4f60(0x16a)],_0x1a9b84[_0x3b4f60(0xe0)]);}catch(_0x5b9f59){_0x1a9b84[_0x3b4f60(0x141)](debug,_0x3b4f60(0x145)+_0x5b9f59);}_0x568ec3&&(_0x17b717['setupFilesAfterEnv'][_0x3b4f60(0xc7)](path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0xc4)],_0x1a9b84[_0x3b4f60(0xf0)])),_0x17b717[_0x3b4f60(0xdc)]=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84['JhdhZ'],_0x1a9b84['Szhvm']));}_0x17b717['setupFiles']=_0x17b717[_0x3b4f60(0x11c)]||[];try{helper[_0x3b4f60(0x149)](),_0x17b717[_0x3b4f60(0x11c)][_0x3b4f60(0xc7)](path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x158)]));}catch{logger['debug'](_0x1a9b84['XpPhs']);}_0x17b717['reporters']=_0x17b717[_0x3b4f60(0xbb)]||[_0x1a9b84[_0x3b4f60(0x14f)]],_0x1a9b84[_0x3b4f60(0x135)](updateTestRerunConfig,_0x17b717,_0x1137e4);const _0x402d80=fs[_0x3b4f60(0xd5)](_0xcd59b5);fs[_0x3b4f60(0x13a)](_0x17b717[_0x3b4f60(0xf7)],'\x0a\x20\x20\x20\x20'+_0x402d80+_0x3b4f60(0x118)+_0x1137e4[_0x3b4f60(0x152)]['platforms'][_0x3b4f60(0x15e)]+_0x3b4f60(0x106)),logger[_0x3b4f60(0xcd)](_0x3b4f60(0xbd)+_0xa6bb50+_0x3b4f60(0x117)),fs[_0x3b4f60(0x13a)](_0xa6bb50,_0x3b4f60(0xf1)+JSON[_0x3b4f60(0x120)](_0x17b717)+_0x3b4f60(0x169));if(_0x45a961[_0x3b4f60(0xb1)]()){logger['debug'](_0x1a9b84['DtRar']);const _0x3443a7=await _0x45a961[_0x3b4f60(0xac)](_0x17b717,_0x416264[_0x3b4f60(0x125)](0x1),_0xa6bb50);logger[_0x3b4f60(0xce)](_0x3b4f60(0x155)+JSON[_0x3b4f60(0x120)](_0x3443a7)+'\x20test\x20files\x20to\x20run.');const _0x11e00a=await _0x45a961[_0x3b4f60(0x12a)](_0x3443a7);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x11e00a)),_0x11e00a&&_0x1a9b84[_0x3b4f60(0xe1)](_0x11e00a[_0x3b4f60(0x15e)],0x0)&&(process[_0x3b4f60(0xfc)][_0x3b4f60(0xee)]=_0x11e00a?.[_0x3b4f60(0xcb)](','));}logger[_0x3b4f60(0xcd)](_0x1a9b84[_0x3b4f60(0x127)]);testhubUtils[_0x3b4f60(0xad)]()&&TestDetails[_0x3b4f60(0x151)]();helper[_0x3b4f60(0x171)]({},_0x416264),PerformanceTester[_0x3b4f60(0x104)](PerformanceEvents[_0x3b4f60(0xd7)]);const _0x24b057=_0x1a9b84[_0x3b4f60(0xa7)](spawn,_0x1a9b84[_0x3b4f60(0x13e)],[_0x1a9b84[_0x3b4f60(0xb6)],_0x1a9b84[_0x3b4f60(0x12b)],_0xa6bb50,..._0x416264[_0x3b4f60(0x125)](0x1)],{'shell':_0x1a9b84[_0x3b4f60(0x167)](process[_0x3b4f60(0xa2)],_0x1a9b84['PneIU']),'stdio':_0x1a9b84[_0x3b4f60(0x136)],'env':Object[_0x3b4f60(0xf2)]({},process['env'])});_0x24b057['on'](_0x1a9b84[_0x3b4f60(0x134)],async _0x5d09b7=>{const _0x5a4b9b=_0x3b4f60;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x560733,tcgConfigPath:_0x56a604}=helper[_0x5a4b9b(0xeb)]();fs[_0x5a4b9b(0xc9)](_0x56a604),fs['rmdirSync'](_0x560733);}catch(_0x5445d4){logger[_0x5a4b9b(0xce)](_0x1a9b84['saLLR'],_0x5445d4);}process[_0x5a4b9b(0x10e)]=_0x5d09b7,logger[_0x5a4b9b(0xce)](_0x5a4b9b(0xe8)+_0x5d09b7),logger[_0x5a4b9b(0xcd)](_0x5a4b9b(0xf6)+_0xa6bb50);if(helper[_0x5a4b9b(0xf9)](_0x119f25)&&helper['isNotUndefined'](_0x119f25[_0x5a4b9b(0xc2)])&&fs[_0x5a4b9b(0x16f)](_0x119f25['abortBuildOnFailure'][_0x5a4b9b(0x13c)]))try{const _0x2a589e={};_0x2a589e[_0x5a4b9b(0x10b)]=!![],_0x2a589e[_0x5a4b9b(0x121)]=!![],fs[_0x5a4b9b(0xa3)](_0x119f25['abortBuildOnFailure']['workingDir'],_0x2a589e),logger['debug'](_0x5a4b9b(0xca)+_0x119f25['abortBuildOnFailure'][_0x5a4b9b(0x13c)]);}catch(_0x524269){logger[_0x5a4b9b(0xd6)](_0x5a4b9b(0x164)+_0x524269);}let _0x3b4be9=null;if(fs['existsSync'](_0x4d399d)){_0x3b4be9=fs[_0x5a4b9b(0xd5)](_0x4d399d);try{_0x3b4be9=JSON['parse'](_0x3b4be9);}catch(_0x316e94){logger[_0x5a4b9b(0xce)](_0x5a4b9b(0xec)+_0x4d399d+',\x20'+_0x3b4be9+'\x20:\x20'+_0x316e94);}fs[_0x5a4b9b(0xc9)](_0x4d399d);}fs[_0x5a4b9b(0xc9)](_0xa6bb50),fs[_0x5a4b9b(0xc9)](_0x2f8a87),_0x3b4be9&&(_0x1137e4[_0x5a4b9b(0xfe)]=helper[_0x5a4b9b(0x11f)](_0x3b4be9,_0x1a9b84[_0x5a4b9b(0xb6)],_0x1137e4));try{await TestHubHandler['stop']();}catch(_0x3f805c){console[_0x5a4b9b(0x122)](_0x3f805c),_0x1a9b84['Umkjf'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5a4b9b(0xb5)](_0x3f805c));}testOpsHelper[_0x5a4b9b(0x150)](),TestDetails['shutdown'](),await utilities[_0x5a4b9b(0xdb)](_0x1137e4);});}module['exports']=run;
@@ -1 +1 @@
1
- const a17_0x25a21d=a17_0x2d19;(function(_0x4d92f2,_0x541bb3){const _0x460c6c=a17_0x2d19,_0x548451=_0x4d92f2();while(!![]){try{const _0x31af62=-parseInt(_0x460c6c(0x1b4))/0x1*(parseInt(_0x460c6c(0x1bd))/0x2)+-parseInt(_0x460c6c(0x1b2))/0x3+-parseInt(_0x460c6c(0x1b9))/0x4*(parseInt(_0x460c6c(0x1c8))/0x5)+-parseInt(_0x460c6c(0x1c2))/0x6*(parseInt(_0x460c6c(0x1c4))/0x7)+parseInt(_0x460c6c(0x1c1))/0x8*(parseInt(_0x460c6c(0x1c7))/0x9)+-parseInt(_0x460c6c(0x1c6))/0xa*(-parseInt(_0x460c6c(0x1bb))/0xb)+-parseInt(_0x460c6c(0x1b8))/0xc*(-parseInt(_0x460c6c(0x1c3))/0xd);if(_0x31af62===_0x541bb3)break;else _0x548451['push'](_0x548451['shift']());}catch(_0x1cb604){_0x548451['push'](_0x548451['shift']());}}}(a17_0x2457,0x8ed4a));const path=require(a17_0x25a21d(0x1b0)),{requireModule}=require(a17_0x25a21d(0x1b7));let initJestAdapter=requireModule(a17_0x25a21d(0x1b6),a17_0x25a21d(0x1c5));initJestAdapter=typeof initJestAdapter===a17_0x25a21d(0x1be)?initJestAdapter:initJestAdapter[a17_0x25a21d(0x1b1)];function a17_0x2457(){const _0x9ea8fd=['join','62824iEYhcN','211092vPeVar','52SIqYBq','35QKPHxz','jest-circus','50icVJeT','702tKOrWg','5heaiQM','includes','path','default','990006sbslpk','jestAdapterInit','1vRytId','initRequireModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','../../../helpers/helper','2131032JCYHQn','1053768obuYVn','exports','543345rZIsWy','aweIG','430930gUjyzy','function','requireInternalModule'];a17_0x2457=function(){return _0x9ea8fd;};return a17_0x2457();}const FRAMEWORK_INITIALIZER=path[a17_0x25a21d(0x1c0)](__dirname,'customJestAdapterInit.js');function a17_0x2d19(_0x1b6725,_0x3196ef){const _0x24576c=a17_0x2457();return a17_0x2d19=function(_0x2d1937,_0x1ff34e){_0x2d1937=_0x2d1937-0x1af;let _0x318e0e=_0x24576c[_0x2d1937];return _0x318e0e;},a17_0x2d19(_0x1b6725,_0x3196ef);}module[a17_0x25a21d(0x1ba)]=(..._0x5656e3)=>{const _0x3ed5b7=a17_0x25a21d,_0x4caeb7={'aweIG':_0x3ed5b7(0x1b3),'LkaUu':function(_0x150890,_0xa40f99){return _0x150890===_0xa40f99;},'zlCFe':function(_0x2c73f1,..._0x41ecad){return _0x2c73f1(..._0x41ecad);}};return _0x5656e3[0x3]['initRequireModule']=_0x5656e3[0x3]['requireInternalModule'],_0x5656e3[0x3][_0x3ed5b7(0x1bf)]=(..._0x2fa4f2)=>{const _0x25b122=_0x3ed5b7;if(_0x2fa4f2[0x0]&&_0x2fa4f2[0x0][_0x25b122(0x1af)](_0x4caeb7[_0x25b122(0x1bc)])&&_0x4caeb7['LkaUu'](_0x2fa4f2[0x1],undefined))return _0x5656e3[0x3][_0x25b122(0x1b5)](FRAMEWORK_INITIALIZER);return _0x5656e3[0x3][_0x25b122(0x1b5)](..._0x2fa4f2);},_0x4caeb7['zlCFe'](initJestAdapter,..._0x5656e3);};
1
+ const a17_0x447339=a17_0x1c69;(function(_0x4f2d47,_0x515d83){const _0x38f6ce=a17_0x1c69,_0xfd089d=_0x4f2d47();while(!![]){try{const _0x34f40d=-parseInt(_0x38f6ce(0x15f))/0x1*(-parseInt(_0x38f6ce(0x14c))/0x2)+-parseInt(_0x38f6ce(0x15b))/0x3*(parseInt(_0x38f6ce(0x158))/0x4)+-parseInt(_0x38f6ce(0x152))/0x5+-parseInt(_0x38f6ce(0x14e))/0x6+parseInt(_0x38f6ce(0x14f))/0x7+parseInt(_0x38f6ce(0x161))/0x8*(-parseInt(_0x38f6ce(0x157))/0x9)+parseInt(_0x38f6ce(0x15e))/0xa;if(_0x34f40d===_0x515d83)break;else _0xfd089d['push'](_0xfd089d['shift']());}catch(_0x14cb92){_0xfd089d['push'](_0xfd089d['shift']());}}}(a17_0x50b5,0xab074));const path=require(a17_0x447339(0x15d)),{requireModule}=require(a17_0x447339(0x160));let initJestAdapter=requireModule(a17_0x447339(0x150),a17_0x447339(0x14d));initJestAdapter=typeof initJestAdapter===a17_0x447339(0x156)?initJestAdapter:initJestAdapter['default'];function a17_0x50b5(){const _0x492f53=['1337275SaCBsG','jestAdapterInit','requireInternalModule','customJestAdapterInit.js','function','9qMFzrh','4822052sIIZdh','includes','fOoWa','3rzJPhQ','join','path','24156080uyTRHR','1393029VCVDBt','../../../helpers/helper','10087192icsBrQ','initRequireModule','2nJQtWD','jest-circus','2378826rHAtVL','155631KjvfEZ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','wNIwD'];a17_0x50b5=function(){return _0x492f53;};return a17_0x50b5();}const FRAMEWORK_INITIALIZER=path[a17_0x447339(0x15c)](__dirname,a17_0x447339(0x155));function a17_0x1c69(_0x24da2c,_0x2ce1b1){const _0x50b5da=a17_0x50b5();return a17_0x1c69=function(_0x1c6902,_0x1abba2){_0x1c6902=_0x1c6902-0x14b;let _0x5a9473=_0x50b5da[_0x1c6902];return _0x5a9473;},a17_0x1c69(_0x24da2c,_0x2ce1b1);}module['exports']=(..._0x30752f)=>{const _0x3ca5a7=a17_0x447339,_0x402f67={'wNIwD':_0x3ca5a7(0x153),'eorgF':function(_0x4c6896,_0x456620){return _0x4c6896===_0x456620;},'fOoWa':function(_0x3b0b2f,..._0x16a14f){return _0x3b0b2f(..._0x16a14f);}};return _0x30752f[0x3]['initRequireModule']=_0x30752f[0x3][_0x3ca5a7(0x154)],_0x30752f[0x3][_0x3ca5a7(0x154)]=(..._0x3a9f7a)=>{const _0x57496a=_0x3ca5a7;if(_0x3a9f7a[0x0]&&_0x3a9f7a[0x0][_0x57496a(0x159)](_0x402f67[_0x57496a(0x151)])&&_0x402f67['eorgF'](_0x3a9f7a[0x1],undefined))return _0x30752f[0x3][_0x57496a(0x14b)](FRAMEWORK_INITIALIZER);return _0x30752f[0x3]['initRequireModule'](..._0x3a9f7a);},_0x402f67[_0x3ca5a7(0x15a)](initJestAdapter,..._0x30752f);};