browserstack-node-sdk 1.42.4 → 1.42.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) 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/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a10_0x35c4(_0x5964cb,_0x4678ad){const _0x22ad29=a10_0x22ad();return a10_0x35c4=function(_0x35c4f1,_0x5aedce){_0x35c4f1=_0x35c4f1-0x131;let _0x3ebdb0=_0x22ad29[_0x35c4f1];return _0x3ebdb0;},a10_0x35c4(_0x5964cb,_0x4678ad);}const a10_0x604a7=a10_0x35c4;(function(_0x4ac290,_0x5d8ae9){const _0x5ad81a=a10_0x35c4,_0x36282b=_0x4ac290();while(!![]){try{const _0x4cb1cf=parseInt(_0x5ad81a(0x1b0))/0x1*(parseInt(_0x5ad81a(0x172))/0x2)+parseInt(_0x5ad81a(0x184))/0x3+parseInt(_0x5ad81a(0x135))/0x4*(parseInt(_0x5ad81a(0x134))/0x5)+-parseInt(_0x5ad81a(0x186))/0x6*(-parseInt(_0x5ad81a(0x141))/0x7)+parseInt(_0x5ad81a(0x1c2))/0x8*(-parseInt(_0x5ad81a(0x1aa))/0x9)+-parseInt(_0x5ad81a(0x170))/0xa+-parseInt(_0x5ad81a(0x18d))/0xb*(parseInt(_0x5ad81a(0x1c7))/0xc);if(_0x4cb1cf===_0x5d8ae9)break;else _0x36282b['push'](_0x36282b['shift']());}catch(_0x102256){_0x36282b['push'](_0x36282b['shift']());}}}(a10_0x22ad,0x57ca4));function a10_0x22ad(){const _0x195dbe=['exception','LSkvf','join','getHookRunEventData','1024792hdgtNz','name','backtrace','EYrPm','map','12LpxNlw','getCucumberHookType','HookRunStarted','XKYKO','WYXeZ','irNwF','804775zgCZQN','4ZVJhcJ','_gitConfigured','Lwxst','UHDyy','GiVKL','tags','length','VOGea','aGsUm','ntWJN','HookRunFinished','passed','7uiqODG','toISOString','examples','FAILED','tQCSE','scenario','OPyej','oahLG','_gitConfigPath','zAlhM','WjLjY','getHooksListForTest','duration_in_ms','cucumber','bOfuA','skipped','PXhtJ','failed','finished_at','testStepResult','failureData','VmCNK','AFTER_EACH','AssertionError','failure','eRIHx','message','uKaHk','match','ciSSw','pending','CUCUMBER','IejhR','tableBody','Exception\x20in\x20getHookRunEventData:\x20','hook_run','sourceReference','../../helpers/test-observability/sessionHandler','Xqobr','every','filter','cnCoc','../../helpers/testhub/utils','BnepQ','uuid','event_type','testCaseStartedId','3070750socfZz','aIgVx','2RnVcee','gXnhu','timestamp','TQMps','uploadEventData','testStepFinished','bxDCp','../../helpers/test-observability/error-handler','2|0|4|3|1','astNodeIds','failure_data','nanos','getHookResult','format','UnhandledError','test','cEGHk','rule','1970589SpCrhv','../../helpers/logger','2915832gzmVLf','result','value','test_run','getScenarioExamples','status','DfVsc','12562011SgVULt','yEdyZ','split','hooks','wMGYu','failureType','vMrNq','qyBjw','flatMap','vAGmG','updateTestStatus','VwSHW','IDpaH','testCaseFinished','cells','root','pickleStepId','../../helpers/test-observability/constants.js','children','vcIzU','CvtNQ','winstonLogger','toLowerCase','ASYOS','sendTestRunEventForCucumber','IVAje','find','hookId','plIlJ','9yPZVwC','strip-ansi','javascript','kVcyF','dfWBY','failure_reason','632973xtufwx','debug','fJXIs','tagExpression','uri','configureGit','sendHook','feature','push','relative','failure_type','jtQkt','QIbVe','FKaiq'];a10_0x22ad=function(){return _0x195dbe;};return a10_0x22ad();}const path=require('path'),util=require('util'),hooksMap={},SessionHandler=require(a10_0x604a7(0x166)),testhubUtils=require(a10_0x604a7(0x16b)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a10_0x604a7(0x185))[a10_0x604a7(0x1a2)],{o11yClassErrorHandler}=require(a10_0x604a7(0x179)),{FRAMEWORKS}=require(a10_0x604a7(0x19e)),TestDetails=require('../playwright/reporter/test-details');this[a10_0x604a7(0x136)]=![],this[a10_0x604a7(0x149)]=null;class TestObservabilityReporter{async[a10_0x604a7(0x1a5)](_0x4d181d,_0x3a1709,_0x19fa8b,_0x4d6afd,_0x506d41){const _0x32d65b=a10_0x604a7,_0x58ed41={'bOfuA':function(_0x3cff50,_0x1a0f13){return _0x3cff50===_0x1a0f13;},'EYrPm':_0x32d65b(0x144),'FKaiq':_0x32d65b(0x152),'irNwF':'SKIPPED','eRIHx':_0x32d65b(0x150),'OPyej':function(_0x377503,_0x118906){return _0x377503||_0x118906;},'IejhR':function(_0x1b62f1,_0x318f04){return _0x1b62f1+_0x318f04;},'QIbVe':function(_0x42c066,_0x368388){return _0x42c066+_0x368388;},'Xqobr':function(_0x474236,_0x8d6a33){return _0x474236+_0x8d6a33;},'wMGYu':_0x32d65b(0x181),'WjLjY':_0x32d65b(0x1ac),'XKYKO':'cucumber','uKaHk':_0x32d65b(0x15f),'VOGea':_0x32d65b(0x140),'LSkvf':function(_0x4bf44e,_0x341d95){return _0x4bf44e!==_0x341d95;},'IDpaH':function(_0x4b359c,_0x273391){return _0x4b359c/_0x273391;},'jtQkt':function(_0x43e4f7,_0x1e389){return _0x43e4f7===_0x1e389;},'aIgVx':_0x32d65b(0x1ab),'cXlUk':function(_0x24e06e,_0x4842d6){return _0x24e06e(_0x4842d6);},'GiVKL':'unknown','vcIzU':function(_0xea33ed,_0x457440){return _0xea33ed(_0x457440);},'fJXIs':_0x32d65b(0x158),'yEdyZ':_0x32d65b(0x180),'ntWJN':function(_0x2a3686,_0x2ef7c2){return _0x2a3686===_0x2ef7c2;},'bxDCp':'TestRunFinished','UZUQa':function(_0x3d9b7d,_0x54848a){return _0x3d9b7d>_0x54848a;}},{feature:_0x11d12d,scenario:_0x2f2a23,steps:_0x378cc7,uuid:_0x251fa6,startedAt:_0xe66b06,finishedAt:_0x5cede2}=_0x58ed41[_0x32d65b(0x147)](_0x506d41,{}),_0x2015d3=this[_0x32d65b(0x18a)](_0x3a1709,_0x19fa8b);await this['configureGit']();const _0x499d5d=_0x2015d3?_0x58ed41[_0x32d65b(0x161)](_0x58ed41[_0x32d65b(0x1bc)](_0x58ed41[_0x32d65b(0x167)](_0x19fa8b['name'],'\x20('),_0x2015d3[_0x32d65b(0x1c0)](',\x20')),')'):_0x19fa8b[_0x32d65b(0x1c3)],_0x51e45d={'uuid':_0x251fa6,'started_at':_0xe66b06,'finished_at':_0x5cede2,'type':_0x58ed41[_0x32d65b(0x191)],'body':{'lang':_0x58ed41[_0x32d65b(0x14b)],'code':null},'name':_0x499d5d,'scopes':[_0x11d12d&&_0x11d12d['name']?_0x11d12d[_0x32d65b(0x1c3)]:''],'tags':_0x19fa8b[_0x32d65b(0x13a)]?_0x19fa8b[_0x32d65b(0x13a)][_0x32d65b(0x1c6)](({name:_0xab37d2})=>_0xab37d2):[],'file_name':_0x19fa8b[_0x32d65b(0x1b4)],'location':_0x19fa8b[_0x32d65b(0x1b4)],'vc_filepath':this['_gitConfigPath']&&_0x19fa8b[_0x32d65b(0x1b4)]?path['relative'](this[_0x32d65b(0x149)],_0x19fa8b[_0x32d65b(0x1b4)]):null,'framework':_0x58ed41[_0x32d65b(0x131)],'result':_0x58ed41[_0x32d65b(0x15c)],'meta':{'feature':_0x11d12d,'scenario':_0x2f2a23,'steps':_0x378cc7,'examples':_0x2015d3},'customRerunParam':{'rerun_name':_0x499d5d}};if(_0x4d181d[_0x32d65b(0x19a)]&&_0x378cc7){const _0x46ca37=_0x4d181d[_0x32d65b(0x19a)];let _0x2f840b=_0x58ed41[_0x32d65b(0x13c)];_0x378cc7[_0x32d65b(0x168)](_0x3ebee0=>{const _0x118b92=_0x32d65b;if(_0x58ed41[_0x118b92(0x14f)](_0x3ebee0[_0x118b92(0x187)],_0x58ed41[_0x118b92(0x1c5)]))return _0x2f840b=_0x58ed41[_0x118b92(0x1bd)],_0x46ca37[_0x118b92(0x159)]=_0x3ebee0[_0x118b92(0x159)],_0x46ca37[_0x118b92(0x192)]=_0x3ebee0[_0x118b92(0x192)],![];else{if(_0x58ed41[_0x118b92(0x14f)](_0x3ebee0[_0x118b92(0x187)],_0x58ed41[_0x118b92(0x133)]))return _0x2f840b=_0x58ed41[_0x118b92(0x15a)],![];}return!![];}),_0x51e45d['finished_at']=new Date()[_0x32d65b(0x142)](),_0x51e45d[_0x32d65b(0x187)]=_0x2f840b;_0x46ca37[_0x32d65b(0x174)]&&_0x58ed41[_0x32d65b(0x1bf)](_0x46ca37['timestamp'][_0x32d65b(0x17d)],undefined)?_0x51e45d[_0x32d65b(0x14d)]=_0x58ed41[_0x32d65b(0x199)](_0x46ca37[_0x32d65b(0x174)][_0x32d65b(0x17d)],0xf4240):_0x51e45d[_0x32d65b(0x14d)]=undefined;if(_0x58ed41[_0x32d65b(0x1bb)](_0x2f840b,_0x58ed41[_0x32d65b(0x1bd)])){const {default:_0x85ec99}=await import(_0x58ed41[_0x32d65b(0x171)]);_0x51e45d[_0x32d65b(0x159)]=[{'backtrace':[_0x46ca37[_0x32d65b(0x159)]?_0x58ed41['cXlUk'](_0x85ec99,_0x46ca37[_0x32d65b(0x159)]):_0x58ed41[_0x32d65b(0x139)]]}],_0x51e45d[_0x32d65b(0x1af)]=_0x46ca37['failure']?_0x58ed41[_0x32d65b(0x1a0)](_0x85ec99,_0x46ca37['failure']):_0x46ca37[_0x32d65b(0x15b)],_0x46ca37['failureType']&&(_0x51e45d[_0x32d65b(0x1ba)]=_0x46ca37[_0x32d65b(0x192)][_0x32d65b(0x15d)](/AssertError/)?_0x58ed41[_0x32d65b(0x1b2)]:_0x58ed41[_0x32d65b(0x18e)]);}}if(_0x58ed41[_0x32d65b(0x13e)](_0x4d6afd,_0x58ed41[_0x32d65b(0x178)])){const _0x649d86=this[_0x32d65b(0x14c)](_0x4d181d['testCaseFinished']['testCaseStartedId']);_0x649d86&&_0x58ed41['UZUQa'](_0x649d86[_0x32d65b(0x13b)],0x0)&&(_0x51e45d['hooks']=_0x649d86,this[_0x32d65b(0x197)](_0x4d181d['testCaseFinished'][_0x32d65b(0x16f)],_0x51e45d));}testhubUtils['appendTesthubParams'](_0x51e45d,_0x4d6afd,'',FRAMEWORKS[_0x32d65b(0x160)]);const _0x4a139b={};_0x4a139b[_0x32d65b(0x16e)]=_0x4d6afd,_0x4a139b[_0x32d65b(0x189)]=_0x51e45d;const _0x22ed84=_0x4a139b;await SessionHandler[_0x32d65b(0x176)](_0x22ed84);}[a10_0x604a7(0x197)](_0x586827,_0x23ab48){const _0x508bcf=a10_0x604a7,_0x191148={};_0x191148[_0x508bcf(0x138)]=function(_0x49b5b6,_0x1e9f4a){return _0x49b5b6 instanceof _0x1e9f4a;},_0x191148[_0x508bcf(0x193)]=function(_0x2f1214,_0x39e3c6){return _0x2f1214===_0x39e3c6;},_0x191148[_0x508bcf(0x1a9)]='failed',_0x191148[_0x508bcf(0x194)]=_0x508bcf(0x17a),_0x191148['dfWBY']=function(_0x377891,_0x5da4a1){return _0x377891 instanceof _0x5da4a1;};const _0x50ee8e=_0x191148,_0x28d46d=hooksMap[_0x586827];if(_0x50ee8e[_0x508bcf(0x138)](_0x28d46d,Array))for(const _0x266f9b of _0x28d46d){if(_0x50ee8e['vMrNq'](_0x266f9b['result'],_0x50ee8e[_0x508bcf(0x1a9)])){const _0x46bcf8=_0x50ee8e['qyBjw'][_0x508bcf(0x18f)]('|');let _0x245a65=0x0;while(!![]){switch(_0x46bcf8[_0x245a65++]){case'0':_0x23ab48['failure']=_0x266f9b[_0x508bcf(0x17c)];continue;case'1':return _0x23ab48;case'2':_0x23ab48[_0x508bcf(0x187)]=_0x266f9b['result'];continue;case'3':_0x23ab48['failure_type']=_0x266f9b[_0x508bcf(0x1ba)];continue;case'4':_0x23ab48[_0x508bcf(0x1af)]=_0x50ee8e[_0x508bcf(0x1ae)](_0x266f9b[_0x508bcf(0x17c)],Array)?_0x266f9b[_0x508bcf(0x17c)][0x0][_0x508bcf(0x1c4)][_0x508bcf(0x1c0)]('\x0a'):'';continue;}break;}}};}[a10_0x604a7(0x14c)](_0x33f271){const _0x1f8d17=a10_0x604a7;if(hooksMap[_0x33f271])return hooksMap[_0x33f271][_0x1f8d17(0x1c6)](_0xb332ed=>_0xb332ed[_0x1f8d17(0x16d)]);return[];}['getHookRunEventData'](_0x33c765,_0x39efeb,_0x4d649d,_0x16c729,_0x2297d7,_0x518728){const _0x2bc07f=a10_0x604a7,_0x18a8b6={'RbkrL':function(_0x20bb5b,_0x177d0c){return _0x20bb5b===_0x177d0c;},'ciSSw':_0x2bc07f(0x13f),'DfVsc':function(_0x33efad,_0x3fabba,_0x1c4b2d){return _0x33efad(_0x3fabba,_0x1c4b2d);},'zAlhM':_0x2bc07f(0x165),'OIGWK':_0x2bc07f(0x1b4),'PhFcc':_0x2bc07f(0x15f),'wnnYb':'hook','BnepQ':_0x2bc07f(0x1ac),'VmCNK':_0x2bc07f(0x1b7),'CvtNQ':_0x2bc07f(0x1c3),'zHpcA':_0x2bc07f(0x14e)};try{if(_0x18a8b6['RbkrL'](_0x4d649d,_0x18a8b6[_0x2bc07f(0x15e)])){const _0x390634=new Date()[_0x2bc07f(0x142)](),_0x28c79f=hooksMap[_0x39efeb];if(!_0x28c79f)return;const _0x2fa207=_0x28c79f[_0x2bc07f(0x1a7)](_0x575631=>_0x575631[_0x2bc07f(0x16d)]===_0x16c729['id']);if(!_0x2fa207)return;const _0x190f66=this[_0x2bc07f(0x17e)](_0x33c765,_0x39efeb);_0x2fa207[_0x2bc07f(0x187)]=_0x190f66[_0x2bc07f(0x18b)],_0x2fa207[_0x2bc07f(0x153)]=_0x390634,_0x2fa207[_0x2bc07f(0x1ba)]=_0x190f66[_0x2bc07f(0x192)];const _0x503639={};return _0x503639[_0x2bc07f(0x1c4)]=_0x190f66[_0x2bc07f(0x155)],_0x2fa207['failure_data']=[_0x503639],_0x2fa207;}const _0xa0df3=TestDetails['getTestUUID'](_0x39efeb),_0x461978=_0x33c765[_0x2bc07f(0x190)][_0x2bc07f(0x1a7)](_0x664932=>_0x664932['id']===_0x16c729[_0x2bc07f(0x1a8)]),_0x304c73=_0x18a8b6[_0x2bc07f(0x18c)](nestedKeyValue,_0x461978,[_0x18a8b6[_0x2bc07f(0x14a)],_0x18a8b6['OIGWK']]),_0x14adc1=new Date()['toISOString'](),_0x2a4b27=_0x18a8b6['PhFcc'],_0x4d0ca5=_0x461978['tagExpression']?_0x461978[_0x2bc07f(0x1b3)][_0x2bc07f(0x18f)]('\x20')[_0x2bc07f(0x169)](_0x3d7720=>_0x3d7720['includes']('@')):[],_0x50dcc0={'uuid':_0x16c729['id'],'type':_0x18a8b6['wnnYb'],'hook_type':_0x518728,'name':_0x461978[_0x2bc07f(0x1c3)],'body':{'lang':_0x18a8b6[_0x2bc07f(0x16c)],'code':null},'tags':_0x4d0ca5,'test_run_id':_0xa0df3,'scope':_0x18a8b6[_0x2bc07f(0x18c)](nestedKeyValue,_0x2297d7,[_0x18a8b6['VmCNK'],_0x18a8b6['CvtNQ']]),'scopes':[_0x18a8b6['DfVsc'](nestedKeyValue,_0x2297d7,[_0x18a8b6[_0x2bc07f(0x156)],_0x18a8b6[_0x2bc07f(0x1a1)]])||''],'file_name':_0x304c73,'location':_0x304c73,'vc_filepath':this[_0x2bc07f(0x149)]?path[_0x2bc07f(0x1b9)](this['_gitConfigPath'],_0x304c73):null,'result':_0x2a4b27,'started_at':_0x14adc1,'framework':_0x18a8b6['zHpcA']};return _0x50dcc0;}catch(_0x4cf63a){logger['debug'](_0x2bc07f(0x163)+util[_0x2bc07f(0x17f)](_0x4cf63a)+'\x20');}}async[a10_0x604a7(0x1b6)](_0x4054f4,_0x4a5864,_0x47cf33,_0x2eb5e2,_0x1bf5ab,_0xc995ef){const _0x5e8718=a10_0x604a7,_0x11e6fc={'TQMps':function(_0x45108f,_0x499b69){return _0x45108f===_0x499b69;},'tQCSE':_0x5e8718(0x1c9),'PXhtJ':function(_0x5816a5,_0x51378e,_0x50b088){return _0x5816a5(_0x51378e,_0x50b088);},'vAGmG':_0x5e8718(0x165),'PuvSI':_0x5e8718(0x1b4),'oahLG':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x272bf5=_0x2eb5e2[_0x5e8718(0x1a7)](_0x38642b=>_0x38642b['id']===_0x1bf5ab);if(!_0x272bf5['hookId'])return;const _0xcde6b3=this[_0x5e8718(0x1c8)](_0x2eb5e2,_0x272bf5),_0x368a6a=this[_0x5e8718(0x1c1)](_0x4054f4,_0x4a5864,_0x47cf33,_0x272bf5,_0xc995ef,_0xcde6b3);if(!_0x368a6a)return;_0x11e6fc[_0x5e8718(0x175)](_0x47cf33,_0x11e6fc[_0x5e8718(0x145)])&&(hooksMap[_0x4a5864]?hooksMap[_0x4a5864][_0x5e8718(0x1b8)](_0x368a6a):hooksMap[_0x4a5864]=[_0x368a6a]);const _0x3e11ff=_0x4054f4[_0x5e8718(0x190)][_0x5e8718(0x1a7)](_0x14204d=>_0x14204d['id']===_0x272bf5['hookId']),_0x10f4ac=_0x11e6fc[_0x5e8718(0x151)](nestedKeyValue,_0x3e11ff,[_0x11e6fc[_0x5e8718(0x196)],_0x11e6fc['PuvSI']]);if(!_0x10f4ac)return;else{if(_0x10f4ac['includes'](_0x11e6fc[_0x5e8718(0x148)]))return;}const _0xe6290e={};_0xe6290e[_0x5e8718(0x16e)]=_0x47cf33,_0xe6290e[_0x5e8718(0x164)]=_0x368a6a;const _0x787380=_0xe6290e;await SessionHandler['uploadEventData'](_0x787380);}catch(_0x56abbf){logger[_0x5e8718(0x1b1)]('Exception\x20in\x20sendHook:\x20'+util[_0x5e8718(0x17f)](_0x56abbf)+'\x20');}}[a10_0x604a7(0x17e)](_0x2f5c62,_0x2f371c){const _0x4aa330=a10_0x604a7,_0x3f1d25={};_0x3f1d25[_0x4aa330(0x137)]=function(_0x21b49b,_0x3a0f1f){return _0x21b49b===_0x3a0f1f;},_0x3f1d25[_0x4aa330(0x1a6)]=_0x4aa330(0x152),_0x3f1d25[_0x4aa330(0x198)]='UnhandledError',_0x3f1d25['jTWWI']=_0x4aa330(0x158),_0x3f1d25['cnCoc']=function(_0x460b14,_0x379fbe){return _0x460b14||_0x379fbe;};const _0x33050e=_0x3f1d25,_0x450422=_0x2f5c62[_0x4aa330(0x177)][_0x2f371c][_0x4aa330(0x154)];let _0x50b18f,_0x471f66;return _0x450422&&_0x33050e[_0x4aa330(0x137)](_0x450422[_0x4aa330(0x18b)]['toString']()[_0x4aa330(0x1a3)](),_0x33050e[_0x4aa330(0x1a6)])&&(_0x50b18f=_0x33050e['Lwxst'](_0x450422['exception'],undefined)?_0x450422[_0x4aa330(0x15b)]:_0x450422[_0x4aa330(0x1be)][_0x4aa330(0x15b)],_0x471f66=_0x33050e[_0x4aa330(0x137)](_0x450422[_0x4aa330(0x1be)],undefined)?_0x33050e['VwSHW']:_0x450422[_0x4aa330(0x15b)][_0x4aa330(0x15d)](/Assert/)?_0x33050e['jTWWI']:_0x33050e[_0x4aa330(0x198)]),{'status':_0x450422[_0x4aa330(0x18b)][_0x4aa330(0x1a3)](),'failureType':_0x33050e[_0x4aa330(0x16a)](_0x471f66,null),'failureData':!_0x50b18f?null:[_0x50b18f]};}[a10_0x604a7(0x1c8)](_0x380905,_0x1d9741){const _0x20eecc=a10_0x604a7,_0x14e004={};_0x14e004[_0x20eecc(0x182)]=function(_0x44fcd5,_0x4e8941){return _0x44fcd5===_0x4e8941;},_0x14e004[_0x20eecc(0x173)]=_0x20eecc(0x157),_0x14e004[_0x20eecc(0x1a4)]='BEFORE_EACH';const _0x1723d8=_0x14e004;let _0x240f67=![];for(const _0x1207c5 of _0x380905){_0x1207c5[_0x20eecc(0x19d)]&&(_0x240f67=!![]);if(_0x1723d8[_0x20eecc(0x182)](_0x1d9741['id'],_0x1207c5['id']))return _0x240f67?_0x1723d8[_0x20eecc(0x173)]:_0x1723d8[_0x20eecc(0x1a4)];}}[a10_0x604a7(0x18a)]=(_0xd56181,_0x3296a5)=>{const _0x28537a=a10_0x604a7,_0x22a569={};_0x22a569[_0x28537a(0x132)]=function(_0x57f117,_0x445a52){return _0x57f117===_0x445a52;},_0x22a569[_0x28537a(0x1ad)]=function(_0x1e5e0a,_0x13f7b3){return _0x1e5e0a===_0x13f7b3;},_0x22a569[_0x28537a(0x13d)]=function(_0x5e12e7,_0x7aea75){return _0x5e12e7>_0x7aea75;};const _0x300e35=_0x22a569;if(!(_0x3296a5[_0x28537a(0x17b)]&&_0x300e35[_0x28537a(0x13d)](_0x3296a5['astNodeIds'][_0x28537a(0x13b)],0x1)))return;const _0x52821d=_0x3296a5['astNodeIds'][0x0],_0x41d49f=_0x3296a5[_0x28537a(0x17b)][0x1],_0x2d5697=_0xd56181[_0x28537a(0x1b7)]&&_0xd56181[_0x28537a(0x1b7)]['children']?_0xd56181[_0x28537a(0x1b7)]['children']:undefined;let _0x491b26=[];_0x2d5697&&_0x2d5697['forEach'](_0x1c50e7=>{const _0x2a8329=_0x28537a;if(_0x1c50e7[_0x2a8329(0x183)])_0x1c50e7[_0x2a8329(0x183)][_0x2a8329(0x19f)]['forEach'](_0x7edb55=>{const _0x266424=_0x2a8329;if(_0x7edb55['scenario']&&_0x300e35['WYXeZ'](_0x7edb55[_0x266424(0x146)]['id'],_0x52821d)&&_0x7edb55[_0x266424(0x146)][_0x266424(0x143)]){const _0x4f70fe=_0x7edb55[_0x266424(0x146)][_0x266424(0x143)][_0x266424(0x195)](_0x21070e=>_0x21070e[_0x266424(0x162)])['find'](_0x58a9e4=>_0x58a9e4['id']===_0x41d49f);let _0xcd83dd;_0x4f70fe&&_0x4f70fe[_0x266424(0x19b)]?_0xcd83dd=_0x4f70fe[_0x266424(0x19b)][_0x266424(0x1c6)](_0x4570a6=>_0x4570a6[_0x266424(0x188)]):_0xcd83dd=[],_0xcd83dd&&(_0x491b26=_0xcd83dd);}});else{if(_0x1c50e7[_0x2a8329(0x146)]&&_0x300e35[_0x2a8329(0x1ad)](_0x1c50e7[_0x2a8329(0x146)]['id'],_0x52821d)&&_0x1c50e7[_0x2a8329(0x146)][_0x2a8329(0x143)]){const _0x2f59c0=_0x1c50e7[_0x2a8329(0x146)][_0x2a8329(0x143)]['flatMap'](_0x208bf1=>_0x208bf1[_0x2a8329(0x162)])['find'](_0x277c06=>_0x277c06['id']===_0x41d49f);let _0x445495;_0x2f59c0&&_0x2f59c0[_0x2a8329(0x19b)]?_0x445495=_0x2f59c0[_0x2a8329(0x19b)][_0x2a8329(0x1c6)](_0x45d080=>_0x45d080['value']):_0x445495=[],_0x445495&&(_0x491b26=_0x445495);}}});if(_0x491b26[_0x28537a(0x13b)])return _0x491b26;return;};async[a10_0x604a7(0x1b5)](){const _0x16385=a10_0x604a7,_0x532cba={'EtQUk':function(_0xd4f98c){return _0xd4f98c();}};if(this[_0x16385(0x136)])return this[_0x16385(0x149)];const _0x549a57=await _0x532cba['EtQUk'](getGitMetaData);_0x549a57&&(this[_0x16385(0x149)]=_0x549a57[_0x16385(0x19c)]),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x604a7(0x1b5),'getScenarioExamples','getCucumberHookType','getHookResult',a10_0x604a7(0x1b6),'getHookRunEventData',a10_0x604a7(0x1a5)]);
1
+ function a10_0x1940(){const _0x4afe66=['cucumber','RWCZK','tOAkS','../../helpers/logger','sIlRK','Exception\x20in\x20sendHook:\x20','../../helpers/helper','GEuuN','rule','YrUAN','javascript','12178248KBiuJr','hsxJb','XHQQl','hooks','format','WUFXm','AssertionError','LJePn','failure','feature','TFubI','flatMap','../../helpers/test-observability/constants.js','hook','every','2|0|4|3|1','gvKsz','sendHook','relative','sourceReference','LHLtt','SKIPPED','event_type','failure_data','ZIusW','UnhandledError','astNodeIds','BGlFf','jRtmE','thOzu','uri','zQMdA','toISOString','configureGit','tags','2XVqSnV','_gitConfigured','QAXei','oPQgx','failure_type','16wCmqkJ','value','testStepResult','toLowerCase','cells','testStepFinished','winstonLogger','VmAvt','Duuew','lUynu','TestRunFinished','NLsnv','PrGMo','failed','BEFORE_EACH','FAILED','65154gmGFCy','qJKmC','_gitConfigPath','skipped','util','jPMsi','getScenarioExamples','getTestUUID','mGGYd','test','qBYSp','appendTesthubParams','6280YQjXpX','UfXuk','result','debug','name','sendTestRunEventForCucumber','testCaseStartedId','includes','duration_in_ms','10eXaDBt','ZGxrZ','testCaseFinished','length','hookId','children','AFTER_EACH','examples','getHookRunEventData','test_run','find','backtrace','finished_at','getHooksListForTest','IfeQO','849oadTKa','unknown','ymUAf','uploadEventData','qPEeP','5XxohnZ','failure_reason','failureType','root','nioba','pickleStepId','PymDq','tagExpression','320621vqJiRe','TfINF','hook_run','xTOIU','toString','1879083yFkYHZ','CUCUMBER','exception','mWCPP','1446704DGScMq','JYUqC','match','RysAh','skXuj','passed','bPRUU','pending','join','2765785XHKXet','push','../../helpers/test-observability/error-handler','uuid','updateTestStatus','path','getHookResult','nanos','message','LyUwO','getCucumberHookType','timestamp','tableBody','FUMlV','map','HookRunStarted','scenario','status','../../helpers/testhub/utils','wEzPX','uLwqv','gKXrs','exports'];a10_0x1940=function(){return _0x4afe66;};return a10_0x1940();}const a10_0x37fd76=a10_0x1a48;(function(_0x53bf42,_0x403230){const _0x3eda01=a10_0x1a48,_0x5af5f6=_0x53bf42();while(!![]){try{const _0x59d7d4=-parseInt(_0x3eda01(0x197))/0x1*(parseInt(_0x3eda01(0x1ee))/0x2)+parseInt(_0x3eda01(0x227))/0x3*(parseInt(_0x3eda01(0x20f))/0x4)+-parseInt(_0x3eda01(0x22c))/0x5*(parseInt(_0x3eda01(0x203))/0x6)+-parseInt(_0x3eda01(0x1a0))/0x7*(parseInt(_0x3eda01(0x1f3))/0x8)+-parseInt(_0x3eda01(0x19c))/0x9*(parseInt(_0x3eda01(0x218))/0xa)+-parseInt(_0x3eda01(0x1a9))/0xb+parseInt(_0x3eda01(0x1cb))/0xc;if(_0x59d7d4===_0x403230)break;else _0x5af5f6['push'](_0x5af5f6['shift']());}catch(_0x1603c6){_0x5af5f6['push'](_0x5af5f6['shift']());}}}(a10_0x1940,0x3e0a6));function a10_0x1a48(_0x557094,_0x1c7abe){const _0x194087=a10_0x1940();return a10_0x1a48=function(_0x1a48b7,_0x1f0c0f){_0x1a48b7=_0x1a48b7-0x193;let _0x4e8a5d=_0x194087[_0x1a48b7];return _0x4e8a5d;},a10_0x1a48(_0x557094,_0x1c7abe);}const path=require(a10_0x37fd76(0x1ae)),util=require(a10_0x37fd76(0x207)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a10_0x37fd76(0x1bb)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x37fd76(0x1c6)),logger=require(a10_0x37fd76(0x1c3))[a10_0x37fd76(0x1f9)],{o11yClassErrorHandler}=require(a10_0x37fd76(0x1ab)),{FRAMEWORKS}=require(a10_0x37fd76(0x1d7)),TestDetails=require('../playwright/reporter/test-details');this['_gitConfigured']=![],this[a10_0x37fd76(0x205)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x5b6c3f,_0x27ba2a,_0x28005d,_0x16d663,_0x58fc93){const _0x18c76e=a10_0x37fd76,_0x5a7a23={'Jlmgy':function(_0x2e65d3,_0x2e61d9){return _0x2e65d3===_0x2e61d9;},'sIlRK':_0x18c76e(0x202),'qPEeP':_0x18c76e(0x200),'thOzu':function(_0x4c53b3,_0x3fa596){return _0x4c53b3===_0x3fa596;},'TFubI':_0x18c76e(0x1e0),'gKXrs':_0x18c76e(0x206),'LHLtt':function(_0x58bfe3,_0x2ceee8){return _0x58bfe3||_0x2ceee8;},'ZIusW':function(_0x2d228c,_0x595b16){return _0x2d228c+_0x595b16;},'JDFvS':function(_0x5d6e5,_0x468b4c){return _0x5d6e5+_0x468b4c;},'wEzPX':_0x18c76e(0x20c),'sqBxo':_0x18c76e(0x1ca),'CqpVL':_0x18c76e(0x1c0),'tOAkS':_0x18c76e(0x1a7),'gvKsz':_0x18c76e(0x1a5),'JYUqC':function(_0x37b5d6,_0x2cf5e6){return _0x37b5d6!==_0x2cf5e6;},'jRtmE':function(_0x3958d8,_0x1997df){return _0x3958d8/_0x1997df;},'fehXN':'strip-ansi','VmAvt':function(_0x72adb0,_0x4bd5ce){return _0x72adb0(_0x4bd5ce);},'YrUAN':_0x18c76e(0x228),'VPZHk':_0x18c76e(0x1d1),'oPQgx':'UnhandledError','PrGMo':function(_0x215efa,_0x3d9849){return _0x215efa===_0x3d9849;},'znYKZ':_0x18c76e(0x1fd),'ZGxrZ':function(_0x5c3a47,_0x2233a7){return _0x5c3a47>_0x2233a7;}},{feature:_0x2fdcb4,scenario:_0x598e36,steps:_0x782daf,uuid:_0x108855,startedAt:_0x5994b9,finishedAt:_0x9d5b04}=_0x5a7a23[_0x18c76e(0x1df)](_0x58fc93,{}),_0x2f86e2=this[_0x18c76e(0x209)](_0x27ba2a,_0x28005d);await this[_0x18c76e(0x1ec)]();const _0x36c932=_0x2f86e2?_0x5a7a23[_0x18c76e(0x1e3)](_0x5a7a23[_0x18c76e(0x1e3)](_0x5a7a23['JDFvS'](_0x28005d[_0x18c76e(0x213)],'\x20('),_0x2f86e2[_0x18c76e(0x1a8)](',\x20')),')'):_0x28005d['name'],_0x353c68={'uuid':_0x108855,'started_at':_0x5994b9,'finished_at':_0x9d5b04,'type':_0x5a7a23[_0x18c76e(0x1bc)],'body':{'lang':_0x5a7a23['sqBxo'],'code':null},'name':_0x36c932,'scopes':[_0x2fdcb4&&_0x2fdcb4[_0x18c76e(0x213)]?_0x2fdcb4['name']:''],'tags':_0x28005d[_0x18c76e(0x1ed)]?_0x28005d[_0x18c76e(0x1ed)][_0x18c76e(0x1b7)](({name:_0x4c7eb7})=>_0x4c7eb7):[],'file_name':_0x28005d[_0x18c76e(0x1e9)],'location':_0x28005d['uri'],'vc_filepath':this[_0x18c76e(0x205)]&&_0x28005d[_0x18c76e(0x1e9)]?path['relative'](this['_gitConfigPath'],_0x28005d[_0x18c76e(0x1e9)]):null,'framework':_0x5a7a23['CqpVL'],'result':_0x5a7a23[_0x18c76e(0x1c2)],'meta':{'feature':_0x2fdcb4,'scenario':_0x598e36,'steps':_0x782daf,'examples':_0x2f86e2},'customRerunParam':{'rerun_name':_0x36c932}};if(_0x5b6c3f[_0x18c76e(0x21a)]&&_0x782daf){const _0x5d4510=_0x5b6c3f[_0x18c76e(0x21a)];let _0x1d5b6c=_0x5a7a23[_0x18c76e(0x1db)];_0x782daf[_0x18c76e(0x1d9)](_0x3d5ebd=>{const _0x1f6625=_0x18c76e;if(_0x5a7a23['Jlmgy'](_0x3d5ebd[_0x1f6625(0x211)],_0x5a7a23[_0x1f6625(0x1c4)]))return _0x1d5b6c=_0x5a7a23[_0x1f6625(0x22b)],_0x5d4510['failure']=_0x3d5ebd[_0x1f6625(0x1d3)],_0x5d4510['failureType']=_0x3d5ebd[_0x1f6625(0x22e)],![];else{if(_0x5a7a23['thOzu'](_0x3d5ebd[_0x1f6625(0x211)],_0x5a7a23[_0x1f6625(0x1d5)]))return _0x1d5b6c=_0x5a7a23[_0x1f6625(0x1be)],![];}return!![];}),_0x353c68[_0x18c76e(0x224)]=new Date()[_0x18c76e(0x1eb)](),_0x353c68[_0x18c76e(0x211)]=_0x1d5b6c;_0x5d4510[_0x18c76e(0x1b4)]&&_0x5a7a23[_0x18c76e(0x1a1)](_0x5d4510[_0x18c76e(0x1b4)][_0x18c76e(0x1b0)],undefined)?_0x353c68[_0x18c76e(0x217)]=_0x5a7a23[_0x18c76e(0x1e7)](_0x5d4510[_0x18c76e(0x1b4)][_0x18c76e(0x1b0)],0xf4240):_0x353c68[_0x18c76e(0x217)]=undefined;if(_0x5a7a23[_0x18c76e(0x1e8)](_0x1d5b6c,_0x5a7a23[_0x18c76e(0x22b)])){const {default:_0x32b1c1}=await import(_0x5a7a23['fehXN']);_0x353c68[_0x18c76e(0x1d3)]=[{'backtrace':[_0x5d4510[_0x18c76e(0x1d3)]?_0x5a7a23[_0x18c76e(0x1fa)](_0x32b1c1,_0x5d4510['failure']):_0x5a7a23[_0x18c76e(0x1c9)]]}],_0x353c68[_0x18c76e(0x22d)]=_0x5d4510[_0x18c76e(0x1d3)]?_0x5a7a23[_0x18c76e(0x1fa)](_0x32b1c1,_0x5d4510[_0x18c76e(0x1d3)]):_0x5d4510[_0x18c76e(0x1b1)],_0x5d4510[_0x18c76e(0x22e)]&&(_0x353c68['failure_type']=_0x5d4510[_0x18c76e(0x22e)][_0x18c76e(0x1a2)](/AssertError/)?_0x5a7a23['VPZHk']:_0x5a7a23[_0x18c76e(0x1f1)]);}}if(_0x5a7a23[_0x18c76e(0x1ff)](_0x16d663,_0x5a7a23['znYKZ'])){const _0x2d9fa0=this[_0x18c76e(0x225)](_0x5b6c3f[_0x18c76e(0x21a)][_0x18c76e(0x215)]);_0x2d9fa0&&_0x5a7a23[_0x18c76e(0x219)](_0x2d9fa0[_0x18c76e(0x21b)],0x0)&&(_0x353c68[_0x18c76e(0x1ce)]=_0x2d9fa0,this[_0x18c76e(0x1ad)](_0x5b6c3f[_0x18c76e(0x21a)][_0x18c76e(0x215)],_0x353c68));}testhubUtils[_0x18c76e(0x20e)](_0x353c68,_0x16d663,'',FRAMEWORKS[_0x18c76e(0x19d)]);const _0x5f1a87={};_0x5f1a87[_0x18c76e(0x1e1)]=_0x16d663,_0x5f1a87[_0x18c76e(0x221)]=_0x353c68;const _0x4ce0db=_0x5f1a87;await SessionHandler[_0x18c76e(0x22a)](_0x4ce0db);}[a10_0x37fd76(0x1ad)](_0x6ed9da,_0x357dd5){const _0x5dd9a8=a10_0x37fd76,_0x2585d4={};_0x2585d4['uLwqv']=function(_0x4758f5,_0x13ce6e){return _0x4758f5 instanceof _0x13ce6e;},_0x2585d4[_0x5dd9a8(0x1c1)]=function(_0x1e157b,_0x51869e){return _0x1e157b===_0x51869e;},_0x2585d4[_0x5dd9a8(0x19f)]='failed',_0x2585d4[_0x5dd9a8(0x1a6)]=_0x5dd9a8(0x1da);const _0x3b8a49=_0x2585d4,_0x29bcc4=hooksMap[_0x6ed9da];if(_0x3b8a49[_0x5dd9a8(0x1bd)](_0x29bcc4,Array))for(const _0x67b8f6 of _0x29bcc4){if(_0x3b8a49[_0x5dd9a8(0x1c1)](_0x67b8f6['result'],_0x3b8a49[_0x5dd9a8(0x19f)])){const _0x3016f9=_0x3b8a49[_0x5dd9a8(0x1a6)]['split']('|');let _0x37bbba=0x0;while(!![]){switch(_0x3016f9[_0x37bbba++]){case'0':_0x357dd5[_0x5dd9a8(0x1d3)]=_0x67b8f6['failure_data'];continue;case'1':return _0x357dd5;case'2':_0x357dd5[_0x5dd9a8(0x211)]=_0x67b8f6['result'];continue;case'3':_0x357dd5[_0x5dd9a8(0x1f2)]=_0x67b8f6[_0x5dd9a8(0x1f2)];continue;case'4':_0x357dd5[_0x5dd9a8(0x22d)]=_0x3b8a49['uLwqv'](_0x67b8f6[_0x5dd9a8(0x1e2)],Array)?_0x67b8f6[_0x5dd9a8(0x1e2)][0x0][_0x5dd9a8(0x223)][_0x5dd9a8(0x1a8)]('\x0a'):'';continue;}break;}}};}['getHooksListForTest'](_0x10afd5){const _0x41f7a1=a10_0x37fd76;if(hooksMap[_0x10afd5])return hooksMap[_0x10afd5][_0x41f7a1(0x1b7)](_0x2ce028=>_0x2ce028[_0x41f7a1(0x1ac)]);return[];}[a10_0x37fd76(0x220)](_0x2a4977,_0x571407,_0x256374,_0x25db68,_0x4e5a38,_0x29b335){const _0x3151ab=a10_0x37fd76,_0x4772df={'hsxJb':function(_0x5b8709,_0xec3e8f){return _0x5b8709===_0xec3e8f;},'GEuuN':'HookRunFinished','HdgJd':function(_0x24cda1,_0x890ba,_0x355245){return _0x24cda1(_0x890ba,_0x355245);},'PymDq':_0x3151ab(0x1de),'XHQQl':'uri','MWwHW':_0x3151ab(0x1a7),'mGGYd':_0x3151ab(0x1d8),'VzAGO':_0x3151ab(0x1ca),'DiZvm':function(_0x803533,_0x4a5ef7,_0x5ee6fa){return _0x803533(_0x4a5ef7,_0x5ee6fa);},'RysAh':'feature','WUFXm':_0x3151ab(0x213),'skXuj':function(_0x395765,_0x2cb05a,_0xd264e1){return _0x395765(_0x2cb05a,_0xd264e1);},'TfINF':_0x3151ab(0x1c0)};try{if(_0x4772df[_0x3151ab(0x1cc)](_0x256374,_0x4772df[_0x3151ab(0x1c7)])){const _0x19e450=new Date()['toISOString'](),_0x553a90=hooksMap[_0x571407];if(!_0x553a90)return;const _0x4cd71b=_0x553a90[_0x3151ab(0x222)](_0x4382fa=>_0x4382fa['uuid']===_0x25db68['id']);if(!_0x4cd71b)return;const _0x4914cb=this[_0x3151ab(0x1af)](_0x2a4977,_0x571407);_0x4cd71b[_0x3151ab(0x211)]=_0x4914cb[_0x3151ab(0x1ba)],_0x4cd71b[_0x3151ab(0x224)]=_0x19e450,_0x4cd71b[_0x3151ab(0x1f2)]=_0x4914cb['failureType'];const _0x5ebb88={};return _0x5ebb88[_0x3151ab(0x223)]=_0x4914cb['failureData'],_0x4cd71b[_0x3151ab(0x1e2)]=[_0x5ebb88],_0x4cd71b;}const _0x5354cb=TestDetails[_0x3151ab(0x20a)](_0x571407),_0x166c55=_0x2a4977[_0x3151ab(0x1ce)][_0x3151ab(0x222)](_0x4f80e2=>_0x4f80e2['id']===_0x25db68[_0x3151ab(0x21c)]),_0x1b9af7=_0x4772df['HdgJd'](nestedKeyValue,_0x166c55,[_0x4772df[_0x3151ab(0x195)],_0x4772df[_0x3151ab(0x1cd)]]),_0x31e446=new Date()[_0x3151ab(0x1eb)](),_0x468692=_0x4772df['MWwHW'],_0x4b3f81=_0x166c55[_0x3151ab(0x196)]?_0x166c55['tagExpression']['split']('\x20')['filter'](_0x16b222=>_0x16b222[_0x3151ab(0x216)]('@')):[],_0x1587ca={'uuid':_0x25db68['id'],'type':_0x4772df[_0x3151ab(0x20b)],'hook_type':_0x29b335,'name':_0x166c55[_0x3151ab(0x213)],'body':{'lang':_0x4772df['VzAGO'],'code':null},'tags':_0x4b3f81,'test_run_id':_0x5354cb,'scope':_0x4772df['DiZvm'](nestedKeyValue,_0x4e5a38,[_0x4772df['RysAh'],_0x4772df[_0x3151ab(0x1d0)]]),'scopes':[_0x4772df[_0x3151ab(0x1a4)](nestedKeyValue,_0x4e5a38,[_0x4772df[_0x3151ab(0x1a3)],_0x4772df[_0x3151ab(0x1d0)]])||''],'file_name':_0x1b9af7,'location':_0x1b9af7,'vc_filepath':this[_0x3151ab(0x205)]?path[_0x3151ab(0x1dd)](this['_gitConfigPath'],_0x1b9af7):null,'result':_0x468692,'started_at':_0x31e446,'framework':_0x4772df[_0x3151ab(0x198)]};return _0x1587ca;}catch(_0x3f255e){logger[_0x3151ab(0x212)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x3151ab(0x1cf)](_0x3f255e)+'\x20');}}async['sendHook'](_0x43ce2f,_0x35b5bc,_0x44a365,_0x1dbe92,_0x54fd46,_0x3f1019){const _0x439b88=a10_0x37fd76,_0x2385bb={'zQMdA':function(_0x1990f2,_0x44674b){return _0x1990f2===_0x44674b;},'IfeQO':_0x439b88(0x1b8),'UfXuk':function(_0x28f2bf,_0xee6ed0,_0x41494a){return _0x28f2bf(_0xee6ed0,_0x41494a);},'KMCxy':_0x439b88(0x1de),'BGlFf':_0x439b88(0x1e9),'nioba':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x53e49b=_0x1dbe92['find'](_0x3d119a=>_0x3d119a['id']===_0x54fd46);if(!_0x53e49b[_0x439b88(0x21c)])return;const _0x49234e=this['getCucumberHookType'](_0x1dbe92,_0x53e49b),_0xc1ff0e=this['getHookRunEventData'](_0x43ce2f,_0x35b5bc,_0x44a365,_0x53e49b,_0x3f1019,_0x49234e);if(!_0xc1ff0e)return;_0x2385bb[_0x439b88(0x1ea)](_0x44a365,_0x2385bb[_0x439b88(0x226)])&&(hooksMap[_0x35b5bc]?hooksMap[_0x35b5bc][_0x439b88(0x1aa)](_0xc1ff0e):hooksMap[_0x35b5bc]=[_0xc1ff0e]);const _0x3cd814=_0x43ce2f[_0x439b88(0x1ce)][_0x439b88(0x222)](_0x496e0e=>_0x496e0e['id']===_0x53e49b[_0x439b88(0x21c)]),_0x239fa6=_0x2385bb[_0x439b88(0x210)](nestedKeyValue,_0x3cd814,[_0x2385bb['KMCxy'],_0x2385bb[_0x439b88(0x1e6)]]);if(!_0x239fa6)return;else{if(_0x239fa6[_0x439b88(0x216)](_0x2385bb[_0x439b88(0x193)]))return;}const _0x40dc47={};_0x40dc47[_0x439b88(0x1e1)]=_0x44a365,_0x40dc47[_0x439b88(0x199)]=_0xc1ff0e;const _0x5ae46b=_0x40dc47;await SessionHandler[_0x439b88(0x22a)](_0x5ae46b);}catch(_0x3490ec){logger[_0x439b88(0x212)](_0x439b88(0x1c5)+util[_0x439b88(0x1cf)](_0x3490ec)+'\x20');}}[a10_0x37fd76(0x1af)](_0x1104a2,_0x397bb0){const _0x580cd8=a10_0x37fd76,_0x1c25b6={};_0x1c25b6[_0x580cd8(0x1d2)]=function(_0x231c8a,_0x14882a){return _0x231c8a===_0x14882a;},_0x1c25b6[_0x580cd8(0x1fb)]=_0x580cd8(0x200),_0x1c25b6[_0x580cd8(0x1f0)]=function(_0x2fbf6d,_0x26f079){return _0x2fbf6d===_0x26f079;},_0x1c25b6['DycYH']=function(_0x1c924f,_0x3fa630){return _0x1c924f===_0x3fa630;},_0x1c25b6[_0x580cd8(0x1fc)]=_0x580cd8(0x1e4),_0x1c25b6['NLsnv']=_0x580cd8(0x1d1),_0x1c25b6[_0x580cd8(0x20d)]=function(_0x51cdaa,_0x2f42f1){return _0x51cdaa||_0x2f42f1;};const _0x51612c=_0x1c25b6,_0x4c330e=_0x1104a2[_0x580cd8(0x1f8)][_0x397bb0][_0x580cd8(0x1f5)];let _0x5e198a,_0x1c229a;return _0x4c330e&&_0x51612c[_0x580cd8(0x1d2)](_0x4c330e[_0x580cd8(0x1ba)][_0x580cd8(0x19b)]()[_0x580cd8(0x1f6)](),_0x51612c[_0x580cd8(0x1fb)])&&(_0x5e198a=_0x51612c[_0x580cd8(0x1f0)](_0x4c330e[_0x580cd8(0x19e)],undefined)?_0x4c330e[_0x580cd8(0x1b1)]:_0x4c330e[_0x580cd8(0x19e)]['message'],_0x1c229a=_0x51612c['DycYH'](_0x4c330e[_0x580cd8(0x19e)],undefined)?_0x51612c[_0x580cd8(0x1fc)]:_0x4c330e[_0x580cd8(0x1b1)][_0x580cd8(0x1a2)](/Assert/)?_0x51612c[_0x580cd8(0x1fe)]:_0x51612c['lUynu']),{'status':_0x4c330e[_0x580cd8(0x1ba)][_0x580cd8(0x1f6)](),'failureType':_0x51612c[_0x580cd8(0x20d)](_0x1c229a,null),'failureData':!_0x5e198a?null:[_0x5e198a]};}[a10_0x37fd76(0x1b3)](_0x370be9,_0x10f393){const _0x81bd85=a10_0x37fd76,_0x168cd5={};_0x168cd5['QxJHb']=function(_0x3535bc,_0x358ab3){return _0x3535bc===_0x358ab3;},_0x168cd5[_0x81bd85(0x1b2)]=_0x81bd85(0x21e),_0x168cd5[_0x81bd85(0x208)]=_0x81bd85(0x201);const _0x4403af=_0x168cd5;let _0x229055=![];for(const _0x5633ba of _0x370be9){_0x5633ba[_0x81bd85(0x194)]&&(_0x229055=!![]);if(_0x4403af['QxJHb'](_0x10f393['id'],_0x5633ba['id']))return _0x229055?_0x4403af[_0x81bd85(0x1b2)]:_0x4403af[_0x81bd85(0x208)];}}['getScenarioExamples']=(_0x22af24,_0x50e0a2)=>{const _0x741049=a10_0x37fd76,_0x22f044={};_0x22f044[_0x741049(0x19a)]=function(_0x227efe,_0x196e2e){return _0x227efe===_0x196e2e;},_0x22f044[_0x741049(0x204)]=function(_0x2ee56c,_0xdba77d){return _0x2ee56c===_0xdba77d;},_0x22f044[_0x741049(0x229)]=function(_0x15d82,_0x5bb331){return _0x15d82>_0x5bb331;};const _0x21376b=_0x22f044;if(!(_0x50e0a2[_0x741049(0x1e5)]&&_0x21376b[_0x741049(0x229)](_0x50e0a2[_0x741049(0x1e5)][_0x741049(0x21b)],0x1)))return;const _0x39ab3a=_0x50e0a2[_0x741049(0x1e5)][0x0],_0x2f55d5=_0x50e0a2[_0x741049(0x1e5)][0x1],_0x1e5ff1=_0x22af24['feature']&&_0x22af24[_0x741049(0x1d4)][_0x741049(0x21d)]?_0x22af24[_0x741049(0x1d4)][_0x741049(0x21d)]:undefined;let _0x21c30b=[];_0x1e5ff1&&_0x1e5ff1['forEach'](_0xece8e8=>{const _0x55b02c=_0x741049;if(_0xece8e8[_0x55b02c(0x1c8)])_0xece8e8['rule'][_0x55b02c(0x21d)]['forEach'](_0x4602c7=>{const _0x32d14e=_0x55b02c;if(_0x4602c7[_0x32d14e(0x1b9)]&&_0x21376b['xTOIU'](_0x4602c7['scenario']['id'],_0x39ab3a)&&_0x4602c7['scenario'][_0x32d14e(0x21f)]){const _0x34f57a=_0x4602c7[_0x32d14e(0x1b9)][_0x32d14e(0x21f)][_0x32d14e(0x1d6)](_0x403b18=>_0x403b18[_0x32d14e(0x1b5)])['find'](_0x542628=>_0x542628['id']===_0x2f55d5);let _0x542a8a;_0x34f57a&&_0x34f57a[_0x32d14e(0x1f7)]?_0x542a8a=_0x34f57a[_0x32d14e(0x1f7)][_0x32d14e(0x1b7)](_0x42cbcf=>_0x42cbcf[_0x32d14e(0x1f4)]):_0x542a8a=[],_0x542a8a&&(_0x21c30b=_0x542a8a);}});else{if(_0xece8e8[_0x55b02c(0x1b9)]&&_0x21376b[_0x55b02c(0x204)](_0xece8e8[_0x55b02c(0x1b9)]['id'],_0x39ab3a)&&_0xece8e8[_0x55b02c(0x1b9)]['examples']){const _0x12eb64=_0xece8e8['scenario'][_0x55b02c(0x21f)][_0x55b02c(0x1d6)](_0xb7aee2=>_0xb7aee2[_0x55b02c(0x1b5)])[_0x55b02c(0x222)](_0x182afb=>_0x182afb['id']===_0x2f55d5);let _0x272977;_0x12eb64&&_0x12eb64[_0x55b02c(0x1f7)]?_0x272977=_0x12eb64[_0x55b02c(0x1f7)][_0x55b02c(0x1b7)](_0x5336c8=>_0x5336c8[_0x55b02c(0x1f4)]):_0x272977=[],_0x272977&&(_0x21c30b=_0x272977);}}});if(_0x21c30b[_0x741049(0x21b)])return _0x21c30b;return;};async[a10_0x37fd76(0x1ec)](){const _0x3ab14c=a10_0x37fd76,_0x53923a={'FUMlV':function(_0x257d4f){return _0x257d4f();}};if(this[_0x3ab14c(0x1ef)])return this[_0x3ab14c(0x205)];const _0x35a8b4=await _0x53923a[_0x3ab14c(0x1b6)](getGitMetaData);_0x35a8b4&&(this[_0x3ab14c(0x205)]=_0x35a8b4[_0x3ab14c(0x22f)]),this[_0x3ab14c(0x1ef)]=!![];}}module[a10_0x37fd76(0x1bf)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x37fd76(0x1ec),a10_0x37fd76(0x209),a10_0x37fd76(0x1b3),a10_0x37fd76(0x1af),a10_0x37fd76(0x1dc),a10_0x37fd76(0x220),a10_0x37fd76(0x214)]);
@@ -1 +1 @@
1
- const a11_0x37e75c=a11_0x9abd;(function(_0x53b2b9,_0x52591b){const _0x5adffc=a11_0x9abd,_0x2025d1=_0x53b2b9();while(!![]){try{const _0x3da80d=parseInt(_0x5adffc(0x1f0))/0x1+parseInt(_0x5adffc(0x159))/0x2*(parseInt(_0x5adffc(0x1a3))/0x3)+-parseInt(_0x5adffc(0x15c))/0x4+-parseInt(_0x5adffc(0x1c2))/0x5+-parseInt(_0x5adffc(0x20c))/0x6*(parseInt(_0x5adffc(0x1cc))/0x7)+-parseInt(_0x5adffc(0x14e))/0x8+parseInt(_0x5adffc(0x190))/0x9;if(_0x3da80d===_0x52591b)break;else _0x2025d1['push'](_0x2025d1['shift']());}catch(_0x354a7){_0x2025d1['push'](_0x2025d1['shift']());}}}(a11_0x17ef,0x318ad));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x37e75c(0x206)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x37e75c(0x147)),setKeepAlive=require(a11_0x37e75c(0x1b9)),util=require(a11_0x37e75c(0x1df)),PerformanceTester=require(a11_0x37e75c(0x1e3)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber'),logger=require(a11_0x37e75c(0x1c9))['winstonLogger'],{shouldProcessEventForTesthub}=require(a11_0x37e75c(0x1ec)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x37e75c(0x18f)),TestDetails=require(a11_0x37e75c(0x1e6)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a11_0x37e75c(0x179)),globals=require(a11_0x37e75c(0x1a5)),testHubConstants=require(a11_0x37e75c(0x1e0)),{shouldScanTestForAccessibility}=require(a11_0x37e75c(0x160)),{isUndefined}=require('lodash'),helper=require(a11_0x37e75c(0x206)),a11_0x3bd28e={};a11_0x3bd28e['workerInfo']=undefined,a11_0x3bd28e[a11_0x37e75c(0x1f9)]={},a11_0x3bd28e[a11_0x37e75c(0x14a)]=![],a11_0x3bd28e[a11_0x37e75c(0x1ef)]=null,a11_0x3bd28e['isPageFixture']=![],a11_0x3bd28e[a11_0x37e75c(0x1f9)]['id']=undefined,a11_0x3bd28e[a11_0x37e75c(0x1f9)][a11_0x37e75c(0x157)]=undefined;const workerDetails=a11_0x3bd28e;global[a11_0x37e75c(0x170)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x1aad46){const _0x3f7a26=a11_0x37e75c,_0x182bea=workerDetails[_0x3f7a26(0x1f9)]['testInfo'];if(!_0x182bea)return;await MyReporter[_0x3f7a26(0x186)](_0x182bea,_0x1aad46);}),registerListeners=()=>{const _0x2cc3c2=a11_0x37e75c,_0x4c0f0b={};_0x4c0f0b[_0x2cc3c2(0x1f5)]=_0x2cc3c2(0x197);const _0x5d26b3=_0x4c0f0b;logger[_0x2cc3c2(0x19c)](_0x5d26b3['ndRdI']),process[_0x2cc3c2(0x178)](_0x2cc3c2(0x1b3)+process['pid']),process['on'](_0x2cc3c2(0x1b3)+process['pid'],sendTestLog),PerformanceTester[_0x2cc3c2(0x1db)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x37e75c(0x194)],After=cucumberModule[a11_0x37e75c(0x171)],AfterAll=cucumberModule[a11_0x37e75c(0x146)],BeforeAll=cucumberModule[a11_0x37e75c(0x201)],AfterStep=cucumberModule[a11_0x37e75c(0x20f)],configuration=process[a11_0x37e75c(0x15b)][a11_0x37e75c(0x195)],bstackConfig=process[a11_0x37e75c(0x15b)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a11_0x37e75c(0x205)](configuration);isBrowserstackInfra()?(global[a11_0x37e75c(0x18c)]=isTrue(config[a11_0x37e75c(0x180)]),global['__skipSessionStatus']=isTrue(config[a11_0x37e75c(0x20e)])):(global[a11_0x37e75c(0x18c)]=!![],global['__skipSessionStatus']=!![]);!helper[a11_0x37e75c(0x207)](a11_0x37e75c(0x183))&&(logger['debug'](a11_0x37e75c(0x1d4)),shouldProcessEventForTesthub()?require(a11_0x37e75c(0x1cb))[a11_0x37e75c(0x150)](config,null,!![]):require(a11_0x37e75c(0x1cb))[a11_0x37e75c(0x150)](config));global[a11_0x37e75c(0x154)]=config[a11_0x37e75c(0x1d2)]||{};if(helper['getPackageVersion'](a11_0x37e75c(0x183)))try{logger[a11_0x37e75c(0x19c)](a11_0x37e75c(0x1c7)),playwrightPatcher=require(a11_0x37e75c(0x1ac)),playwrightPatcher[a11_0x37e75c(0x1e2)](config),logger[a11_0x37e75c(0x19c)](a11_0x37e75c(0x152));}catch(a11_0x2d9df4){logger[a11_0x37e75c(0x19c)](a11_0x37e75c(0x18b)+util['format'](a11_0x2d9df4));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x37e75c(0x205)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a11_0x37e75c(0x1d3)](a11_0x37e75c(0x163)));}global[a11_0x37e75c(0x1c1)]=0x0;function a11_0x17ef(){const _0x10c88d=['bstack','cleanup','uploadEventData','Before','CONFIG','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','Inside\x20browserstack\x20registerListeners','ZXTvQ','Inside\x20browserstack\x20Before','Error\x20in\x20playwright\x20beforeTestHook:\x20','UyizG','debug','shutdown','ZbrWt','Error:\x20at\x20After\x20Step:\x20','join','eDTax','failed','21iNehqe','then','../../helpers/globals','OFEre','sunUK','browserstackSessionName','message','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','setGlobal','./playwright-patcher','session_','Inside\x20browserstack\x20After','sFoWq','EnOfQ','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Flow\x20detection:\x20isSeleniumFlow=','bs:addLog:','thBuildUuid','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','\x0aError:\x20','IKmfz','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','../../helpers/setKeepAlive','setFrameworkDetail','afterTestHook','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','../v2/cliUtils','../v2/browserstackCLI',',\x20isPlaywrightFlow=','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','__timeout','1324825YVYTGU','mmnPG','saveTestResults','test_run','ozPPV','Performing\x20Playwright\x20Patching','__sessionFailed','../../helpers/logger','Cucumber-JS','../../index','930503pifVJR','map','thJwtToken','bstackA11yShouldScan','executeScript','vgJpb','platformCaps','setFramework','Performing\x20Selenium\x20Patching','EkNsu','toLowerCase','bXYGQ','bootstrap','setDefaultTimeout','esdMh','startMonitoring','thTestRunUuid','EKRxa','simFf','util','../../helpers/testhub/constants.js','YTjTH','initializePlaywrightPatching','../../helpers/performance/performance-tester','error','ZzxvQ','../playwright/reporter/test-details.js','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Performing\x20scan\x20before\x20saving\x20results','\x20|\x20','name','PqrCA','../../helpers/testhub/utils','length','yQmmg','pwPage','306605sFLYJS','FQMrq','Inside\x20browserstack\x20AfterAll','stopMonitoring','BROWSERSTACK_TESTHUB_JWT','ndRdI','timeout','eLyGM','format','currentTest','PLAYWRIGHT','xhkHe','passed','lQacc','getInstance','songH','driverCleanup','BeforeAll','KvhHc','zZEmj','tiffD','parse','../../helpers/helper','getPackageVersion','GBBYv','ydivU','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','quitCount_','6UAmmPL','NPaev','skipSessionStatus','AfterStep','Completed\x20Playwright\x20afterTestHook\x20execution','result','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','iOwKe','__error_messages__','YMhci','AfterAll','../utils/constants','Passed:\x20','finally','o11ySyncDone','text','PhBGA','pickle','1392248SfOPsy','drrnm','browserstackAgentV2','getTestUUID','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','pickleStep','__platformCaps','\x22}}','Cleaned\x20up\x20Playwright\x20close\x20tracker','testInfo','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','46406FVKntW','TAjbN','env','821320uBSZGn','RFVtG','executeDeferredCloses','getGlobal','../../helpers/accessibility-automation/helper','tags','Inside\x20browserstack\x20AfterStep','cucumber-js','Eqizu','info','initQuit','fIHbs','testCaseStartedId','status','getId','shift','executeAsyncScript','kyMXv','integrations','zcJpu','__workerDetails','After','1|4|3|2|0','catch','Error:\x20in\x20quitting\x20driver\x20','ZDbcj','pOVrX','qEbeH','removeAllListeners','../../helpers/accessibility-automation/scripts','wiSuB','stringify','toString','cJMCQ','performScan','LMtJr','skipSessionName','Error:\x20quiting\x20driver\x20at\x20After:\x20','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','@playwright/test','split','CBTSessionCreated','addTestUIDAndReportLog','Error:\x20cleaning\x20up\x20driver:\x20','GmmjW','MFwQZ','__drivers','Error\x20initializing\x20Playwright\x20patching:\x20','__skipSessionName','ENV_VAR','tePGM','../../helpers/test-observability/utils','4600386ZrcNnP'];a11_0x17ef=function(){return _0x10c88d;};return a11_0x17ef();}const __setDefaultTimeout=cucumberModule[a11_0x37e75c(0x1d9)];cucumberModule[a11_0x37e75c(0x1d9)]=_0x2abdee=>{const _0x595ab7=a11_0x37e75c,_0x42b5e2={'xhkHe':function(_0x19d922,_0x269236){return _0x19d922(_0x269236);}};global[_0x595ab7(0x1c1)]=_0x2abdee,_0x42b5e2[_0x595ab7(0x1fb)](__setDefaultTimeout,_0x2abdee);};const a11_0x262545={};a11_0x262545['name']='bstack',BeforeAll(a11_0x262545,async function(){const _0x3b6855=a11_0x37e75c,_0x15053c={'ZbrWt':function(_0x44ac75,_0xabb526,_0x26a8e1,_0x2cc679){return _0x44ac75(_0xabb526,_0x26a8e1,_0x2cc679);},'eersE':_0x3b6855(0x1a2),'cJMCQ':'\x20|\x20','zcJpu':function(_0x47c5a5,_0x1046e2,_0x34c34d){return _0x47c5a5(_0x1046e2,_0x34c34d);},'eLyGM':'passed','dolpt':'Inside\x20browserstack\x20BeforeAll','LLaxd':function(_0x2d6876,_0x35e763){return _0x2d6876(_0x35e763);},'EKRxa':_0x3b6855(0x1be),'qcEBl':_0x3b6855(0x1bd),'ZzxvQ':function(_0x5e7c1e,_0x2b2be8){return _0x5e7c1e(_0x2b2be8);},'GmmjW':_0x3b6855(0x147),'YTjTH':_0x3b6855(0x213),'KvhHc':function(_0x41a52b){return _0x41a52b();},'ydivU':function(_0xd6615a,_0x19e54b){return _0xd6615a(_0x19e54b);}};PerformanceTester[_0x3b6855(0x1db)](),logger[_0x3b6855(0x19c)](_0x15053c['dolpt']),global[_0x3b6855(0x215)]=[],global[_0x3b6855(0x1c8)]=![];if(playwrightPatcher)try{const _0x328bfd=_0x15053c['LLaxd'](require,_0x15053c[_0x3b6855(0x1dd)]),_0xe2a68c=_0x15053c['LLaxd'](require,_0x15053c['qcEBl']),{FRAMEWORKS:_0x1595cd}=_0x15053c[_0x3b6855(0x1e5)](require,_0x15053c[_0x3b6855(0x188)]);_0x328bfd[_0x3b6855(0x1fe)]()['isCliEnabled']()&&(logger['debug'](_0x15053c[_0x3b6855(0x1e1)]),_0xe2a68c[_0x3b6855(0x1ba)](_0x1595cd['CUCUMBER'],_0x1595cd[_0x3b6855(0x1fa)]),await _0x328bfd['getInstance']()[_0x3b6855(0x1d8)]());}catch(_0x12094c){logger[_0x3b6855(0x19c)](_0x3b6855(0x1aa)+util[_0x3b6855(0x1f8)](_0x12094c));}_0x15053c['KvhHc'](shouldProcessEventForTesthub)&&(_0x15053c[_0x3b6855(0x202)](registerListeners),_0x15053c[_0x3b6855(0x209)](addRequestSpy,![])),global[_0x3b6855(0x200)]=async()=>{const _0x58a90c=_0x3b6855;let _0x16a8c7=![];try{global[_0x58a90c(0x18a)]&&global[_0x58a90c(0x18a)][0x0]&&(await global[_0x58a90c(0x18a)][0x0][_0x58a90c(0x1ad)],_0x16a8c7=!![],global[_0x58a90c(0x1c8)]?await _0x15053c[_0x58a90c(0x19e)](markSessionStatus,global[_0x58a90c(0x18a)][0x0],_0x15053c['eersE'],global[_0x58a90c(0x215)][_0x58a90c(0x1a0)](_0x15053c[_0x58a90c(0x17d)])):await _0x15053c[_0x58a90c(0x16f)](markSessionStatus,global[_0x58a90c(0x18a)][0x0],_0x15053c[_0x58a90c(0x1f7)]));}catch(_0x57891f){logger['debug'](_0x58a90c(0x187)+_0x57891f);}global['__error_messages__']=[],global[_0x58a90c(0x1c8)]=![];if(_0x16a8c7)try{await global[_0x58a90c(0x18a)][0x0]['initQuit'](),global[_0x58a90c(0x18a)][0x0][_0x58a90c(0x1ad)][_0x58a90c(0x1a4)](_0x4467b7=>{const _0x456b39=_0x58a90c;logger[_0x456b39(0x19c)](_0x456b39(0x174)+_0x4467b7[_0x456b39(0x16a)]());})['catch'](_0x3fc2ee=>{});}catch(_0x330eab){logger[_0x58a90c(0x19c)](_0x58a90c(0x1b1)+_0x330eab);}};});function a11_0x9abd(_0x898c99,_0x53343d){const _0x17ef43=a11_0x17ef();return a11_0x9abd=function(_0x9abd4,_0x1e3f45){_0x9abd4=_0x9abd4-0x146;let _0x1cebd7=_0x17ef43[_0x9abd4];return _0x1cebd7;},a11_0x9abd(_0x898c99,_0x53343d);}const a11_0x16ea2e={};a11_0x16ea2e['name']=a11_0x37e75c(0x191),a11_0x16ea2e[a11_0x37e75c(0x1f6)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x37e75c(0x1ca)],Before(a11_0x16ea2e,function(_0x4fa5f0,_0xd21de4){const _0x2721bf=a11_0x37e75c,_0x4bf10a={'jWSrr':function(_0x635d01,_0x4b80dc){return _0x635d01>_0x4b80dc;},'PiPSx':function(_0x397b7f,_0x1a45bf){return _0x397b7f(_0x1a45bf);},'ozPPV':function(_0xcecc02,_0x18ca2b,_0x1062fe,_0x219cd4){return _0xcecc02(_0x18ca2b,_0x1062fe,_0x219cd4);},'MFwQZ':_0x2721bf(0x1cf),'FQMrq':function(_0x10d5c9){return _0x10d5c9();},'bXYGQ':_0x2721bf(0x199)};commandRepository['setTestNameForHealingContext'](_0x4fa5f0[_0x2721bf(0x14d)][_0x2721bf(0x1ea)]),logger['debug'](_0x4bf10a[_0x2721bf(0x1d7)]),new Promise(async _0x2fc36a=>{const _0x283c6e=_0x2721bf;try{global['__drivers']&&_0x4bf10a['jWSrr'](global[_0x283c6e(0x18a)][_0x283c6e(0x1ed)],0x1)&&(await global['driverCleanup'](),global[_0x283c6e(0x18a)][_0x283c6e(0x16b)]()),global[_0x283c6e(0x18a)]&&global[_0x283c6e(0x18a)][0x0]&&global['__drivers'][0x0][_0x283c6e(0x20b)]&&_0x4bf10a['jWSrr'](global['__drivers'][0x0][_0x283c6e(0x20b)],0x0)&&await global['driverCleanup']();}catch(_0x10e58f){logger[_0x283c6e(0x19c)](_0x283c6e(0x20a)+_0x10e58f);}workerDetails[_0x283c6e(0x1f9)]['testInfo']=_0x4fa5f0;if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x4fa5f0);}catch(_0x1d2668){logger[_0x283c6e(0x19c)](_0x283c6e(0x19a)+util[_0x283c6e(0x1f8)](_0x1d2668));}try{if(!_0x4bf10a['PiPSx'](isUndefined,_0x4fa5f0[_0x283c6e(0x14d)][_0x283c6e(0x161)])){const _0x1a2454=_0x4bf10a[_0x283c6e(0x1c6)](shouldScanTestForAccessibility,null,![],_0x4fa5f0[_0x283c6e(0x14d)][_0x283c6e(0x161)][_0x283c6e(0x1cd)](({name:_0x247a70})=>_0x247a70));globals[_0x283c6e(0x1ab)](_0x4bf10a[_0x283c6e(0x189)],_0x1a2454);}}catch(_0x411078){logger['debug']('Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20'+util[_0x283c6e(0x1f8)](_0x411078));}_0x4bf10a[_0x283c6e(0x1f1)](_0x2fc36a);})[_0x2721bf(0x149)](_0xd21de4);});const a11_0x6050c5={};a11_0x6050c5[a11_0x37e75c(0x1ea)]=a11_0x37e75c(0x191),a11_0x6050c5[a11_0x37e75c(0x1f6)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x37e75c(0x1ca)],After(a11_0x6050c5,function(_0x483d57,_0x2594dc){const _0xa35601=a11_0x37e75c,_0x1f6b33={'EnOfQ':function(_0x24534c,_0x447942){return _0x24534c>_0x447942;},'fXFzD':function(_0x3b6d7c,_0x5cfd25){return _0x3b6d7c===_0x5cfd25;},'qEbeH':_0xa35601(0x1a2),'esdMh':function(_0x166589,_0x2a09c3){return _0x166589===_0x2a09c3;},'simFf':function(_0x4ecbe2,_0x2f09ea){return _0x4ecbe2>_0x2f09ea;},'mmnPG':function(_0x35eb0d,_0x4616b0,_0x72fbc4,_0x294635){return _0x35eb0d(_0x4616b0,_0x72fbc4,_0x294635);},'TAjbN':_0xa35601(0x1e9),'RQoOU':function(_0x57bcf3,_0x259dc2,_0xdf6e52){return _0x57bcf3(_0x259dc2,_0xdf6e52);},'sunUK':_0xa35601(0x1fc),'tUkXC':_0xa35601(0x210),'RFVtG':_0xa35601(0x1b8),'PqrCA':function(_0x1b8714){return _0x1b8714();},'ZDbcj':function(_0x28f070,_0x327864,_0x524350,_0x100709){return _0x28f070(_0x327864,_0x524350,_0x100709);},'FxFBS':_0xa35601(0x185),'sFoWq':'isAccessibilityPlatform','LMtJr':'bstackA11yShouldScan','iOwKe':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PhBGA':_0xa35601(0x1e8),'eDTax':_0xa35601(0x1b5),'drrnm':function(_0x20068c,_0x477c6c){return _0x20068c>_0x477c6c;},'lQacc':_0xa35601(0x1ae)};logger[_0xa35601(0x19c)](_0x1f6b33[_0xa35601(0x1fd)]),workerDetails[_0xa35601(0x1f9)]['testInfo']=_0x483d57,new Promise(async _0x3386c1=>{const _0x10a792=_0xa35601;let _0x51c511=![],_0x364de9=![],_0x1921fb=![];try{global[_0x10a792(0x18a)]&&_0x1f6b33[_0x10a792(0x1b0)](global[_0x10a792(0x18a)]['length'],0x0)&&(_0x364de9=!![]),playwrightPatcher&&global[_0x10a792(0x170)]&&global[_0x10a792(0x170)]['pwPage']&&(_0x1921fb=!![],logger[_0x10a792(0x19c)](_0x10a792(0x212)+!!global[_0x10a792(0x170)][_0x10a792(0x1ef)]));}catch(_0x374da7){logger[_0x10a792(0x19c)]('Error\x20determining\x20test\x20flow:\x20'+_0x374da7);}logger[_0x10a792(0x19c)](_0x10a792(0x1b2)+_0x364de9+_0x10a792(0x1bf)+_0x1921fb);const _0x328884=_0x483d57['result'][_0x10a792(0x169)][_0x10a792(0x17c)]()['toLowerCase'](),_0x5dbcd3=_0x1f6b33['fXFzD'](_0x328884,_0x1f6b33['qEbeH'])||_0x1f6b33[_0x10a792(0x1da)](_0x328884,'6'),_0x353b49=_0x5dbcd3?_0x483d57[_0x10a792(0x211)][_0x10a792(0x1a9)]:null;if(_0x5dbcd3)try{global[_0x10a792(0x215)]['push'](_0x483d57[_0x10a792(0x211)]['message']),global['__sessionFailed']=!![];}catch(_0x18ff46){logger['debug'](_0x10a792(0x1c0)+_0x18ff46);}if(_0x364de9)try{global[_0x10a792(0x18a)]&&_0x1f6b33[_0x10a792(0x1de)](global[_0x10a792(0x18a)][_0x10a792(0x1ed)],0x1)&&(await global['driverCleanup'](),global[_0x10a792(0x18a)][_0x10a792(0x16b)](),global['__error_messages__']=[],global[_0x10a792(0x1c8)]=![]),global['__drivers']&&global[_0x10a792(0x18a)][0x0]&&(await global[_0x10a792(0x18a)][0x0][_0x10a792(0x1ad)],_0x51c511=!![],!global['__skipSessionName']&&await global[_0x10a792(0x18a)][0x0][_0x10a792(0x1d0)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x483d57[_0x10a792(0x14d)]['name']+_0x10a792(0x155)),_0x5dbcd3?await _0x1f6b33[_0x10a792(0x1c3)](markSessionStatus,global['__drivers'][0x0],_0x1f6b33[_0x10a792(0x177)],global['__error_messages__']['join'](_0x1f6b33[_0x10a792(0x15a)])):await _0x1f6b33['RQoOU'](markSessionStatus,global['__drivers'][0x0],_0x1f6b33[_0x10a792(0x1a7)]));}catch(_0x268f03){logger['debug']('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x10a792(0x1f8)](_0x268f03));}if(_0x1921fb)try{const _0x57b083=_0x5dbcd3?_0x1f6b33['qEbeH']:_0x1f6b33[_0x10a792(0x1a7)];await playwrightPatcher[_0x10a792(0x1bb)](_0x483d57,_0x57b083,_0x353b49),logger[_0x10a792(0x19c)](_0x1f6b33['tUkXC']);}catch(_0xa5e6bf){logger[_0x10a792(0x19c)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x10a792(0x1f8)](_0xa5e6bf));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x10a792(0x15e)](),logger[_0x10a792(0x19c)](_0x1f6b33[_0x10a792(0x15d)]));}catch(_0x1f977e){logger[_0x10a792(0x19c)](_0x10a792(0x196)+util[_0x10a792(0x1f8)](_0x1f977e));}}try{if(_0x1f6b33[_0x10a792(0x1eb)](shouldProcessEventForTesthub)){const _0x5f0f79=TestDetails[_0x10a792(0x151)](_0x483d57['testCaseStartedId']);let _0x2ff6af=null;global['__drivers']&&global[_0x10a792(0x18a)][0x0]&&(_0x2ff6af=await _0x1f6b33[_0x10a792(0x175)](sendPlatformDetails,global['__drivers'][0x0],_0x5f0f79,!![]));const _0x5526fd={};_0x5526fd['uuid']=_0x5f0f79,_0x5526fd[_0x10a792(0x16e)]=_0x2ff6af;const _0x1b2045=_0x5526fd,_0x4d2af0={};_0x4d2af0['event_type']=_0x1f6b33['FxFBS'],_0x4d2af0[_0x10a792(0x1c5)]=_0x1b2045,await SessionHandler[_0x10a792(0x193)](_0x4d2af0);}}catch(_0x25d198){logger[_0x10a792(0x19c)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x10a792(0x1f8)](_0x25d198));}try{if(globals[_0x10a792(0x15f)](_0x1f6b33[_0x10a792(0x1af)])&&globals[_0x10a792(0x15f)](_0x1f6b33[_0x10a792(0x17f)])){logger[_0x10a792(0x165)](_0x1f6b33[_0x10a792(0x214)]);const _0x5d91b6=TestDetails[_0x10a792(0x151)](_0x483d57[_0x10a792(0x168)]),_0x272b7a={};_0x272b7a[_0x10a792(0x1dc)]=_0x5d91b6,_0x272b7a[_0x10a792(0x1b4)]=process[_0x10a792(0x15b)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x272b7a[_0x10a792(0x1ce)]=process[_0x10a792(0x15b)][testHubConstants[_0x10a792(0x18d)][_0x10a792(0x1f4)]];const _0x1951a6=_0x272b7a;logger['debug'](_0x10a792(0x1e7)+JSON[_0x10a792(0x17b)](_0x1951a6)),logger[_0x10a792(0x19c)](_0x1f6b33[_0x10a792(0x14c)]),global[_0x10a792(0x18a)]&&global[_0x10a792(0x18a)][0x0]&&(logger[_0x10a792(0x19c)](util[_0x10a792(0x1f8)](await global[_0x10a792(0x18a)][0x0][_0x10a792(0x16c)](scripts[_0x10a792(0x17e)],{'method':global[_0x10a792(0x1a8)]}))),await global[_0x10a792(0x18a)][0x0]['executeAsyncScript'](scripts[_0x10a792(0x1c4)],_0x1951a6)),logger['info'](_0x1f6b33[_0x10a792(0x1a1)]);}}catch(_0xc3077){logger[_0x10a792(0x1e4)](_0x10a792(0x158)+util['format']);}if(_0x51c511)try{global[_0x10a792(0x18a)][0x0]&&_0x1f6b33[_0x10a792(0x14f)](global[_0x10a792(0x18a)][0x0]['quitCount_'],0x0)&&await global[_0x10a792(0x18a)][0x0][_0x10a792(0x166)]();}catch(_0x254da6){logger[_0x10a792(0x19c)](_0x10a792(0x181)+_0x254da6);}_0x1f6b33[_0x10a792(0x1eb)](_0x3386c1);})[_0xa35601(0x149)](()=>_0x2594dc());});const a11_0x3c2af9={};a11_0x3c2af9[a11_0x37e75c(0x1ea)]='bstack',a11_0x3c2af9[a11_0x37e75c(0x1f6)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a11_0x3c2af9,function(_0x397ccf,_0x575323){const _0x1663cb=a11_0x37e75c,_0x26ed1a={'pOVrX':function(_0x22b789,_0x216607){return _0x22b789===_0x216607;},'YMhci':_0x1663cb(0x1a2),'vgJpb':function(_0x416581,_0x27d4f4){return _0x416581!==_0x27d4f4;},'tiffD':function(_0x4dcbf9,_0x1bcd41,_0x5ce250){return _0x4dcbf9(_0x1bcd41,_0x5ce250);},'EkNsu':function(_0x1414a1,_0xd21a55){return _0x1414a1+_0xd21a55;},'fIHbs':function(_0xb63069,_0x4a44ef){return _0xb63069+_0x4a44ef;},'ZXTvQ':function(_0x5728f1,_0x5a272d){return _0x5728f1+_0x5a272d;},'yQmmg':'Failed:\x20','wiSuB':_0x1663cb(0x1b6),'OFEre':_0x1663cb(0x1e4),'tePGM':function(_0x359fb0,_0x42f92f,_0x1c0e33){return _0x359fb0(_0x42f92f,_0x1c0e33);},'aAxms':function(_0x520f75,_0x1c77a1){return _0x520f75+_0x1c77a1;},'UyizG':_0x1663cb(0x148),'IKmfz':_0x1663cb(0x165),'GBBYv':function(_0x18ee9f,_0x225101,_0x58d3d5){return _0x18ee9f(_0x225101,_0x58d3d5);},'aOnRg':'Passed','NPaev':function(_0x2375b4){return _0x2375b4();},'zZEmj':_0x1663cb(0x162)};logger[_0x1663cb(0x19c)](_0x26ed1a[_0x1663cb(0x203)]);const _0x317437=async(_0x2e02cb,_0x42af17)=>{const _0x54aae6=_0x1663cb;global[_0x54aae6(0x18a)]&&global['__drivers'][0x0]&&await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2e02cb+',\x22level\x22:\x20\x22'+_0x42af17+_0x54aae6(0x155));};new Promise(async _0x2d2f00=>{const _0x23c777=_0x1663cb;try{_0x26ed1a[_0x23c777(0x176)](_0x397ccf[_0x23c777(0x211)]['status']['toString']()[_0x23c777(0x1d6)](),_0x26ed1a[_0x23c777(0x216)])||_0x26ed1a[_0x23c777(0x176)](_0x397ccf[_0x23c777(0x211)][_0x23c777(0x169)][_0x23c777(0x17c)]()[_0x23c777(0x1d6)](),'6')?(global[_0x23c777(0x1c8)]=!![],global[_0x23c777(0x215)]['push'](_0x397ccf[_0x23c777(0x211)][_0x23c777(0x1a9)]),_0x26ed1a['vgJpb'](_0x397ccf['pickleStep'],undefined)?await _0x26ed1a[_0x23c777(0x204)](_0x317437,JSON[_0x23c777(0x17b)](_0x26ed1a[_0x23c777(0x1d5)](_0x26ed1a[_0x23c777(0x167)](_0x26ed1a[_0x23c777(0x198)](_0x26ed1a[_0x23c777(0x1ee)],'\x22'+_0x397ccf[_0x23c777(0x153)][_0x23c777(0x14b)]+'\x22\x20'),_0x26ed1a[_0x23c777(0x17a)]),_0x397ccf[_0x23c777(0x211)]['message'])),_0x26ed1a['OFEre']):await _0x26ed1a[_0x23c777(0x18e)](_0x317437,JSON[_0x23c777(0x17b)](_0x26ed1a['aAxms'](_0x26ed1a[_0x23c777(0x1ee)],_0x397ccf[_0x23c777(0x211)][_0x23c777(0x1a9)])),_0x26ed1a[_0x23c777(0x1a6)])):_0x26ed1a[_0x23c777(0x1d1)](_0x397ccf[_0x23c777(0x153)],undefined)?await _0x26ed1a[_0x23c777(0x18e)](_0x317437,JSON[_0x23c777(0x17b)](_0x26ed1a['EkNsu'](_0x26ed1a[_0x23c777(0x19b)],'\x22'+_0x397ccf['pickleStep'][_0x23c777(0x14b)]+'\x22')),_0x26ed1a[_0x23c777(0x1b7)]):await _0x26ed1a[_0x23c777(0x208)](_0x317437,JSON['stringify'](_0x26ed1a['aOnRg']),_0x26ed1a[_0x23c777(0x1b7)]),global[_0x23c777(0x18a)]&&global[_0x23c777(0x18a)][0x0]&&global[_0x23c777(0x18a)][0x0]['session_'][_0x23c777(0x1a4)](_0x173ff4=>{})[_0x23c777(0x173)](_0x2961c8=>{const _0x1bc191=_0x23c777;logger[_0x1bc191(0x19c)](_0x1bc191(0x182)+util['format'](_0x2961c8));});}catch(_0x48dc17){logger[_0x23c777(0x19c)](_0x23c777(0x19f)+_0x48dc17);}_0x26ed1a[_0x23c777(0x20d)](_0x2d2f00);})['finally'](()=>_0x575323());});const a11_0x24c53c={};a11_0x24c53c[a11_0x37e75c(0x1ea)]=a11_0x37e75c(0x191),a11_0x24c53c[a11_0x37e75c(0x1f6)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x37e75c(0x1ca)],AfterAll(a11_0x24c53c,async function(_0x159af9,_0x485283){const _0x5f2053=a11_0x37e75c,_0x4cefa4={'pjtOA':_0x5f2053(0x172),'Eqizu':function(_0x5158fb){return _0x5158fb();},'kyMXv':_0x5f2053(0x156),'songH':_0x5f2053(0x1f2)};logger['debug'](_0x4cefa4[_0x5f2053(0x1ff)]),await new Promise(async _0x310f28=>{const _0x40b060=_0x5f2053,_0x2dba6b=_0x4cefa4['pjtOA'][_0x40b060(0x184)]('|');let _0x281a08=0x0;while(!![]){switch(_0x2dba6b[_0x281a08++]){case'0':_0x4cefa4[_0x40b060(0x164)](_0x310f28);continue;case'1':await RequestQueueHandler[_0x40b060(0x1fe)]()[_0x40b060(0x19d)]();continue;case'2':await global[_0x40b060(0x200)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x40b060(0x15e)](),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x40b060(0x192)](),logger['debug'](_0x4cefa4[_0x40b060(0x16d)]));}catch(_0xd851a){logger[_0x40b060(0x19c)](_0x40b060(0x1bc)+util[_0x40b060(0x1f8)](_0xd851a));}continue;case'4':PerformanceTester[_0x40b060(0x1f3)]();continue;}break;}});});
1
+ const a11_0x5bd4a0=a11_0x143a;(function(_0x449907,_0x1860d8){const _0x4e2657=a11_0x143a,_0x70d841=_0x449907();while(!![]){try{const _0x1eb579=-parseInt(_0x4e2657(0x1a2))/0x1*(-parseInt(_0x4e2657(0x1d9))/0x2)+parseInt(_0x4e2657(0x19e))/0x3*(parseInt(_0x4e2657(0x199))/0x4)+-parseInt(_0x4e2657(0x1e8))/0x5*(parseInt(_0x4e2657(0x1a8))/0x6)+-parseInt(_0x4e2657(0x1bb))/0x7*(parseInt(_0x4e2657(0x1ed))/0x8)+parseInt(_0x4e2657(0x1b8))/0x9*(-parseInt(_0x4e2657(0x16b))/0xa)+-parseInt(_0x4e2657(0x176))/0xb*(parseInt(_0x4e2657(0x1c9))/0xc)+parseInt(_0x4e2657(0x21d))/0xd;if(_0x1eb579===_0x1860d8)break;else _0x70d841['push'](_0x70d841['shift']());}catch(_0x583570){_0x70d841['push'](_0x70d841['shift']());}}}(a11_0x16a9,0x91114));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x5bd4a0(0x20b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x5bd4a0(0x15a)),setKeepAlive=require(a11_0x5bd4a0(0x1c1)),util=require(a11_0x5bd4a0(0x1fd)),PerformanceTester=require(a11_0x5bd4a0(0x16d)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0x5bd4a0(0x147),a11_0x5bd4a0(0x1c0)),logger=require('../../helpers/logger')[a11_0x5bd4a0(0x161)],{shouldProcessEventForTesthub}=require(a11_0x5bd4a0(0x188)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x5bd4a0(0x196)),TestDetails=require(a11_0x5bd4a0(0x1b5)),RequestQueueHandler=require(a11_0x5bd4a0(0x17f)),{o11yErrorHandler}=require(a11_0x5bd4a0(0x1be)),MyReporter=require(a11_0x5bd4a0(0x1df)),SessionHandler=require(a11_0x5bd4a0(0x1d7)),scripts=require(a11_0x5bd4a0(0x20a)),globals=require(a11_0x5bd4a0(0x17d)),testHubConstants=require(a11_0x5bd4a0(0x1ab)),{shouldScanTestForAccessibility}=require(a11_0x5bd4a0(0x152)),{isUndefined}=require(a11_0x5bd4a0(0x160)),helper=require('../../helpers/helper'),a11_0x370d9c={};a11_0x370d9c['workerInfo']=undefined,a11_0x370d9c[a11_0x5bd4a0(0x1b0)]={},a11_0x370d9c[a11_0x5bd4a0(0x167)]=![],a11_0x370d9c[a11_0x5bd4a0(0x1ef)]=null,a11_0x370d9c[a11_0x5bd4a0(0x1e4)]=![],a11_0x370d9c[a11_0x5bd4a0(0x1b0)]['id']=undefined,a11_0x370d9c[a11_0x5bd4a0(0x1b0)]['testInfo']=undefined;const workerDetails=a11_0x370d9c;global[a11_0x5bd4a0(0x1db)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x4dec70){const _0x24f160=a11_0x5bd4a0,_0x35d46c=workerDetails[_0x24f160(0x1b0)][_0x24f160(0x185)];if(!_0x35d46c)return;await MyReporter[_0x24f160(0x1dd)](_0x35d46c,_0x4dec70);}),registerListeners=()=>{const _0xc0f4f6=a11_0x5bd4a0,_0x98551c={};_0x98551c[_0xc0f4f6(0x1b1)]=_0xc0f4f6(0x197);const _0x3b7e73=_0x98551c;logger[_0xc0f4f6(0x158)](_0x3b7e73[_0xc0f4f6(0x1b1)]),process['removeAllListeners'](_0xc0f4f6(0x214)+process[_0xc0f4f6(0x177)]),process['on'](_0xc0f4f6(0x214)+process[_0xc0f4f6(0x177)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x5bd4a0(0x189)],After=cucumberModule[a11_0x5bd4a0(0x178)],AfterAll=cucumberModule[a11_0x5bd4a0(0x1ac)],BeforeAll=cucumberModule[a11_0x5bd4a0(0x18f)],AfterStep=cucumberModule[a11_0x5bd4a0(0x16c)],configuration=process[a11_0x5bd4a0(0x1c6)][a11_0x5bd4a0(0x153)],bstackConfig=process[a11_0x5bd4a0(0x1c6)][a11_0x5bd4a0(0x1c3)];if(configuration!==undefined){const config=JSON[a11_0x5bd4a0(0x21a)](configuration);isBrowserstackInfra()?(global[a11_0x5bd4a0(0x17a)]=isTrue(config['skipSessionName']),global['__skipSessionStatus']=isTrue(config[a11_0x5bd4a0(0x1bd)])):(global[a11_0x5bd4a0(0x17a)]=!![],global['__skipSessionStatus']=!![]);!helper[a11_0x5bd4a0(0x1b2)](a11_0x5bd4a0(0x19d))&&(logger[a11_0x5bd4a0(0x158)](a11_0x5bd4a0(0x1d5)),shouldProcessEventForTesthub()?require(a11_0x5bd4a0(0x174))[a11_0x5bd4a0(0x169)](config,null,!![]):require(a11_0x5bd4a0(0x174))['browserstackAgentV2'](config));global[a11_0x5bd4a0(0x207)]=config[a11_0x5bd4a0(0x1aa)]||{};if(helper['getPackageVersion'](a11_0x5bd4a0(0x19d)))try{logger[a11_0x5bd4a0(0x158)](a11_0x5bd4a0(0x155)),playwrightPatcher=require(a11_0x5bd4a0(0x1ae)),playwrightPatcher[a11_0x5bd4a0(0x209)](config),logger[a11_0x5bd4a0(0x158)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a11_0x1fb641){logger['debug'](a11_0x5bd4a0(0x15e)+util[a11_0x5bd4a0(0x1cd)](a11_0x1fb641));}}function a11_0x16a9(){const _0xe561dc=['Error:\x20sendPlatformDetails\x20at\x20After:\x20','quitCount_','beforeTestHook','setTestNameForHealingContext','../../index','__error_messages__','121jYyiuD','pid','After','qVerg','__skipSessionName','jMUOK','failed','../../helpers/globals',',\x22level\x22:\x20\x22','../../helpers/test-observability/requestQueueHandler','Error\x20determining\x20test\x20flow:\x20','rohQX','BROWSERSTACK_TESTHUB_UUID','tZaoU','qutIw','testInfo','fcDjp','eXOuS','../../helpers/testhub/utils','Before','ySTAF','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','iIbti','yHGaP','rcisq','BeforeAll','fUzSo','../v2/cliUtils','ciOzA','UVRlf','toLowerCase','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','../../helpers/test-observability/utils','Inside\x20browserstack\x20registerListeners','DBSqX','92BhcMUo','apsfZ','pickle','fggmn','@playwright/test','48369wevwyN','stringify','EwUSQ','testCaseStartedId','3530ebXhRO','ENV_VAR','passed','shift','cucumber-js','saveTestResults','25746yDtnsG','Cucumber-JS','platformCaps','../../helpers/testhub/constants.js','AfterAll','afterTestHook','./playwright-patcher','KfGji','currentTest','NDnCw','getPackageVersion','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Error:\x20at\x20After\x20Step:\x20','../playwright/reporter/test-details.js','catch','getGlobal','1143756POLhYi','wtZAD','Performing\x20scan\x20before\x20saving\x20results','91497GHrJKP','setFrameworkDetail','skipSessionStatus','../../helpers/test-observability/error-handler','PAXIr','@cucumber/cucumber','../../helpers/setKeepAlive','WShHp','BSTACK_CONFIG','getInstance','cXdLY','env','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','error','416088prOrDI','map','dZvbH','\x20|\x20','format','info','vCTVI','push','tags','executeDeferredCloses','isAccessibilityPlatform','name','Performing\x20Selenium\x20Patching','PLAYWRIGHT','../../helpers/test-observability/sessionHandler','ESGYv','404KEoCUR','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','__workerDetails','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','addTestUIDAndReportLog','startMonitoring','../playwright/reporter/reporter.js','Error:\x20quiting\x20driver\x20at\x20After:\x20','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','XYeDm','iJvnw','isPageFixture','yBQvC','dgsOA','getTestUUID','390zQJZWX','fAqZH','Failed:\x20','cZmpn','aGwjZ','568xEFUpA','Inside\x20browserstack\x20After','pwPage','toString','KuIKH','uuid','Inside\x20browserstack\x20BeforeAll','SiXkO','Mswmd','bstack','timeout','xSJEl','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','__drivers','thJwtToken','FbRwS','util','Nrake','executeScript','jkKbs','jhLxf','session_','bstackA11yShouldScan','text','setDefaultTimeout','tYbhK','__platformCaps','cleanup','initializePlaywrightPatching','../../helpers/accessibility-automation/scripts','../../helpers/helper','iAYNr','Inside\x20browserstack\x20AfterAll','CUCUMBER','bffsp','bootstrap','QcjGA','WpooU','\x0aError:\x20','bs:addLog:','__timeout','getId','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','executeAsyncScript','then','parse','__sessionFailed','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','18312164dFZSig','@cucumber/cucumber/lib/index.js','\x22}}','Error:\x20cleaning\x20up\x20driver:\x20','PkNIa','Cleaned\x20up\x20Playwright\x20close\x20tracker','CBTSessionCreated','status','join','driverCleanup','message','result','../../helpers/accessibility-automation/helper','CONFIG','Tfbvj','Performing\x20Playwright\x20Patching','pickleStep','setGlobal','debug','initQuit','../utils/constants','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','length','thTestRunUuid','Error\x20initializing\x20Playwright\x20patching:\x20','BbHRZ','lodash','winstonLogger','finally','isCliEnabled','closeTracker','integrations','rCRVg','o11ySyncDone','../v2/browserstackCLI','browserstackAgentV2','YqOGa','20ZsVtDC','AfterStep','../../helpers/performance/performance-tester','hkhTw','YXJzb'];a11_0x16a9=function(){return _0xe561dc;};return a11_0x16a9();}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a11_0x5bd4a0(0x1a6)));}global[a11_0x5bd4a0(0x215)]=0x0;const __setDefaultTimeout=cucumberModule[a11_0x5bd4a0(0x205)];cucumberModule['setDefaultTimeout']=_0x2fb2d6=>{const _0x144047=a11_0x5bd4a0,_0x4dd864={'yHGaP':function(_0x25a0b0,_0x2da804){return _0x25a0b0(_0x2da804);}};global[_0x144047(0x215)]=_0x2fb2d6,_0x4dd864[_0x144047(0x18d)](__setDefaultTimeout,_0x2fb2d6);};const a11_0x54b80a={};a11_0x54b80a['name']=a11_0x5bd4a0(0x1f6),BeforeAll(a11_0x54b80a,async function(){const _0xc900dc=a11_0x5bd4a0,_0xdb3a0={'YqOGa':function(_0x5878b8,_0x26e721,_0x1d84c4,_0xfe481f){return _0x5878b8(_0x26e721,_0x1d84c4,_0xfe481f);},'DBSqX':_0xc900dc(0x17c),'KfGji':_0xc900dc(0x1cc),'rcisq':function(_0x306a48,_0x906d8e,_0x28698d){return _0x306a48(_0x906d8e,_0x28698d);},'fUzSo':'passed','jkKbs':_0xc900dc(0x1f3),'WShHp':function(_0x38121c,_0x53fd75){return _0x38121c(_0x53fd75);},'xkWhA':_0xc900dc(0x168),'MOeWL':_0xc900dc(0x191),'BbHRZ':function(_0x8d9843,_0x460621){return _0x8d9843(_0x460621);},'cZmpn':_0xc900dc(0x15a),'xSJEl':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','rohQX':function(_0x3eeb88){return _0x3eeb88();},'bffsp':function(_0x12c6a2,_0x33186e){return _0x12c6a2(_0x33186e);}};PerformanceTester[_0xc900dc(0x1de)](),logger[_0xc900dc(0x158)](_0xdb3a0[_0xc900dc(0x200)]),global['__error_messages__']=[],global[_0xc900dc(0x21b)]=![];if(playwrightPatcher)try{const _0x2b3baa=_0xdb3a0[_0xc900dc(0x1c2)](require,_0xdb3a0['xkWhA']),_0x1d3197=_0xdb3a0[_0xc900dc(0x1c2)](require,_0xdb3a0['MOeWL']),{FRAMEWORKS:_0x48cf43}=_0xdb3a0[_0xc900dc(0x15f)](require,_0xdb3a0[_0xc900dc(0x1eb)]);_0x2b3baa[_0xc900dc(0x1c4)]()[_0xc900dc(0x163)]()&&(logger[_0xc900dc(0x158)](_0xdb3a0[_0xc900dc(0x1f8)]),_0x1d3197[_0xc900dc(0x1bc)](_0x48cf43[_0xc900dc(0x20e)],_0x48cf43[_0xc900dc(0x1d6)]),await _0x2b3baa[_0xc900dc(0x1c4)]()[_0xc900dc(0x210)]());}catch(_0x556971){logger[_0xc900dc(0x158)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0xc900dc(0x1cd)](_0x556971));}_0xdb3a0[_0xc900dc(0x181)](shouldProcessEventForTesthub)&&(_0xdb3a0[_0xc900dc(0x181)](registerListeners),_0xdb3a0[_0xc900dc(0x20f)](addRequestSpy,![])),global[_0xc900dc(0x14f)]=async()=>{const _0x36f473=_0xc900dc;let _0x5e0b46=![];try{global[_0x36f473(0x1fa)]&&global[_0x36f473(0x1fa)][0x0]&&(await global[_0x36f473(0x1fa)][0x0][_0x36f473(0x202)],_0x5e0b46=!![],global[_0x36f473(0x21b)]?await _0xdb3a0[_0x36f473(0x16a)](markSessionStatus,global[_0x36f473(0x1fa)][0x0],_0xdb3a0[_0x36f473(0x198)],global['__error_messages__'][_0x36f473(0x14e)](_0xdb3a0[_0x36f473(0x1af)])):await _0xdb3a0[_0x36f473(0x18e)](markSessionStatus,global[_0x36f473(0x1fa)][0x0],_0xdb3a0[_0x36f473(0x190)]));}catch(_0x57bce9){logger[_0x36f473(0x158)](_0x36f473(0x149)+_0x57bce9);}global['__error_messages__']=[],global[_0x36f473(0x21b)]=![];if(_0x5e0b46)try{await global[_0x36f473(0x1fa)][0x0][_0x36f473(0x159)](),global[_0x36f473(0x1fa)][0x0][_0x36f473(0x202)][_0x36f473(0x219)](_0x1cdf84=>{const _0x2ccdcf=_0x36f473;logger['debug']('Error:\x20in\x20quitting\x20driver\x20'+_0x1cdf84[_0x2ccdcf(0x216)]());})[_0x36f473(0x1b6)](_0x39ade9=>{});}catch(_0x16c429){logger[_0x36f473(0x158)](_0x36f473(0x1b3)+_0x16c429);}};});const a11_0x3e019e={};function a11_0x143a(_0x13c198,_0x32dafd){const _0x16a904=a11_0x16a9();return a11_0x143a=function(_0x143ac8,_0x4800e4){_0x143ac8=_0x143ac8-0x147;let _0xe1879b=_0x16a904[_0x143ac8];return _0xe1879b;},a11_0x143a(_0x13c198,_0x32dafd);}a11_0x3e019e[a11_0x5bd4a0(0x1d4)]=a11_0x5bd4a0(0x1f6),a11_0x3e019e['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x3e019e,function(_0x408122,_0x35c430){const _0x4c7dd9=a11_0x5bd4a0,_0x40f39e={'wtZAD':function(_0x4c2224,_0x401766){return _0x4c2224>_0x401766;},'PkNIa':function(_0x2cf793,_0x5c9d34){return _0x2cf793>_0x5c9d34;},'ySTAF':function(_0x29d3b5,_0xdb5cc9){return _0x29d3b5(_0xdb5cc9);},'ESGYv':function(_0x262eb2,_0x546a1e,_0x2919ec,_0x5b48ff){return _0x262eb2(_0x546a1e,_0x2919ec,_0x5b48ff);},'Mswmd':_0x4c7dd9(0x203),'yhbTm':function(_0x4d5246){return _0x4d5246();},'apsfZ':'Inside\x20browserstack\x20Before'};commandRepository[_0x4c7dd9(0x173)](_0x408122[_0x4c7dd9(0x19b)][_0x4c7dd9(0x1d4)]),logger['debug'](_0x40f39e[_0x4c7dd9(0x19a)]),new Promise(async _0x1d4569=>{const _0x1ac255=_0x4c7dd9;try{global[_0x1ac255(0x1fa)]&&_0x40f39e[_0x1ac255(0x1b9)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1ac255(0x1a5)]()),global[_0x1ac255(0x1fa)]&&global[_0x1ac255(0x1fa)][0x0]&&global['__drivers'][0x0][_0x1ac255(0x171)]&&_0x40f39e[_0x1ac255(0x14a)](global[_0x1ac255(0x1fa)][0x0][_0x1ac255(0x171)],0x0)&&await global[_0x1ac255(0x14f)]();}catch(_0xa73d41){logger[_0x1ac255(0x158)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0xa73d41);}workerDetails['currentTest'][_0x1ac255(0x185)]=_0x408122;if(playwrightPatcher)try{await playwrightPatcher[_0x1ac255(0x172)](_0x408122);}catch(_0x4feab4){logger[_0x1ac255(0x158)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util['format'](_0x4feab4));}try{if(!_0x40f39e[_0x1ac255(0x18a)](isUndefined,_0x408122['pickle'][_0x1ac255(0x1d1)])){const _0x14d390=_0x40f39e[_0x1ac255(0x1d8)](shouldScanTestForAccessibility,null,![],_0x408122[_0x1ac255(0x19b)][_0x1ac255(0x1d1)][_0x1ac255(0x1ca)](({name:_0xcf2fd8})=>_0xcf2fd8));globals[_0x1ac255(0x157)](_0x40f39e[_0x1ac255(0x1f5)],_0x14d390);}}catch(_0x3bca18){logger[_0x1ac255(0x158)](_0x1ac255(0x1c7)+util[_0x1ac255(0x1cd)](_0x3bca18));}_0x40f39e['yhbTm'](_0x1d4569);})[_0x4c7dd9(0x162)](_0x35c430);});const a11_0x4dd501={};a11_0x4dd501['name']=a11_0x5bd4a0(0x1f6),a11_0x4dd501['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x5bd4a0(0x1a9)],After(a11_0x4dd501,function(_0x43caf5,_0x23e6d4){const _0x4ad8e0=a11_0x5bd4a0,_0x4d123b={'qutIw':function(_0x279185,_0x22ecac){return _0x279185>_0x22ecac;},'UTgdw':function(_0x318d74,_0x44b2a0){return _0x318d74===_0x44b2a0;},'KuIKH':_0x4ad8e0(0x17c),'PAXIr':function(_0x144829,_0x273cd1){return _0x144829===_0x273cd1;},'UVRlf':function(_0x5d08a3,_0x5a241c,_0x5bca83,_0x8da980){return _0x5d08a3(_0x5a241c,_0x5bca83,_0x8da980);},'LEnYw':_0x4ad8e0(0x1cc),'EwUSQ':function(_0x4c87a0,_0x56898f,_0x2c4370){return _0x4c87a0(_0x56898f,_0x2c4370);},'rCRVg':_0x4ad8e0(0x1a4),'ciOzA':'Completed\x20Playwright\x20afterTestHook\x20execution','eXOuS':_0x4ad8e0(0x1da),'YXJzb':function(_0xdc91fd){return _0xdc91fd();},'WpooU':function(_0x28b1ec,_0x265493,_0x248910,_0x38081b){return _0x28b1ec(_0x265493,_0x248910,_0x38081b);},'fcDjp':_0x4ad8e0(0x14c),'dgsOA':_0x4ad8e0(0x1d3),'eCQde':_0x4ad8e0(0x203),'iJvnw':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ATwdq':_0x4ad8e0(0x1ba),'qVerg':_0x4ad8e0(0x18b),'tZaoU':_0x4ad8e0(0x1ee)};logger[_0x4ad8e0(0x158)](_0x4d123b[_0x4ad8e0(0x183)]),workerDetails[_0x4ad8e0(0x1b0)]['testInfo']=_0x43caf5,new Promise(async _0x191297=>{const _0x3396b=_0x4ad8e0;let _0x349b0b=![],_0x129de9=![],_0x1e6c54=![];try{global['__drivers']&&_0x4d123b['qutIw'](global[_0x3396b(0x1fa)][_0x3396b(0x15c)],0x0)&&(_0x129de9=!![]),playwrightPatcher&&global[_0x3396b(0x1db)]&&global[_0x3396b(0x1db)][_0x3396b(0x1ef)]&&(_0x1e6c54=!![],logger[_0x3396b(0x158)](_0x3396b(0x195)+!!global[_0x3396b(0x1db)][_0x3396b(0x1ef)]));}catch(_0x5718d9){logger[_0x3396b(0x158)](_0x3396b(0x180)+_0x5718d9);}logger[_0x3396b(0x158)]('Flow\x20detection:\x20isSeleniumFlow='+_0x129de9+',\x20isPlaywrightFlow='+_0x1e6c54);const _0x2377db=_0x43caf5[_0x3396b(0x151)]['status']['toString']()[_0x3396b(0x194)](),_0x1015ae=_0x4d123b['UTgdw'](_0x2377db,_0x4d123b[_0x3396b(0x1f1)])||_0x4d123b[_0x3396b(0x1bf)](_0x2377db,'6'),_0x135d0a=_0x1015ae?_0x43caf5[_0x3396b(0x151)][_0x3396b(0x150)]:null;if(_0x1015ae)try{global['__error_messages__'][_0x3396b(0x1d0)](_0x43caf5[_0x3396b(0x151)][_0x3396b(0x150)]),global[_0x3396b(0x21b)]=!![];}catch(_0x494982){logger[_0x3396b(0x158)](_0x3396b(0x15b)+_0x494982);}if(_0x129de9)try{global[_0x3396b(0x1fa)]&&_0x4d123b[_0x3396b(0x184)](global[_0x3396b(0x1fa)]['length'],0x1)&&(await global[_0x3396b(0x14f)](),global[_0x3396b(0x1fa)][_0x3396b(0x1a5)](),global['__error_messages__']=[],global[_0x3396b(0x21b)]=![]),global[_0x3396b(0x1fa)]&&global[_0x3396b(0x1fa)][0x0]&&(await global[_0x3396b(0x1fa)][0x0]['session_'],_0x349b0b=!![],!global[_0x3396b(0x17a)]&&await global[_0x3396b(0x1fa)][0x0][_0x3396b(0x1ff)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x43caf5[_0x3396b(0x19b)][_0x3396b(0x1d4)]+_0x3396b(0x148)),_0x1015ae?await _0x4d123b[_0x3396b(0x193)](markSessionStatus,global[_0x3396b(0x1fa)][0x0],_0x4d123b[_0x3396b(0x1f1)],global[_0x3396b(0x175)][_0x3396b(0x14e)](_0x4d123b['LEnYw'])):await _0x4d123b[_0x3396b(0x1a0)](markSessionStatus,global[_0x3396b(0x1fa)][0x0],_0x4d123b['rCRVg']));}catch(_0x42eb8b){logger[_0x3396b(0x158)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x3396b(0x1cd)](_0x42eb8b));}if(_0x1e6c54)try{const _0xfa376e=_0x1015ae?_0x4d123b['KuIKH']:_0x4d123b[_0x3396b(0x166)];await playwrightPatcher[_0x3396b(0x1ad)](_0x43caf5,_0xfa376e,_0x135d0a),logger[_0x3396b(0x158)](_0x4d123b[_0x3396b(0x192)]);}catch(_0x59c012){logger[_0x3396b(0x158)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x3396b(0x1cd)](_0x59c012));try{playwrightPatcher[_0x3396b(0x1d2)]&&(await playwrightPatcher[_0x3396b(0x1d2)](),logger['debug'](_0x4d123b[_0x3396b(0x187)]));}catch(_0x8c08c){logger[_0x3396b(0x158)](_0x3396b(0x1e1)+util['format'](_0x8c08c));}}try{if(_0x4d123b[_0x3396b(0x16f)](shouldProcessEventForTesthub)){const _0x1c0dd6=TestDetails['getTestUUID'](_0x43caf5[_0x3396b(0x1a1)]);let _0x1db772=null;global[_0x3396b(0x1fa)]&&global[_0x3396b(0x1fa)][0x0]&&(_0x1db772=await _0x4d123b[_0x3396b(0x212)](sendPlatformDetails,global[_0x3396b(0x1fa)][0x0],_0x1c0dd6,!![]));const _0x300841={};_0x300841[_0x3396b(0x1f2)]=_0x1c0dd6,_0x300841[_0x3396b(0x165)]=_0x1db772;const _0xecddea=_0x300841,_0x264a8d={};_0x264a8d['event_type']=_0x4d123b[_0x3396b(0x186)],_0x264a8d['test_run']=_0xecddea,await SessionHandler['uploadEventData'](_0x264a8d);}}catch(_0x279a3a){logger['debug'](_0x3396b(0x170)+util[_0x3396b(0x1cd)](_0x279a3a));}try{if(globals[_0x3396b(0x1b7)](_0x4d123b[_0x3396b(0x1e6)])&&globals[_0x3396b(0x1b7)](_0x4d123b['eCQde'])){logger[_0x3396b(0x1ce)](_0x4d123b[_0x3396b(0x1e3)]);const _0xeb95ea=TestDetails[_0x3396b(0x1e7)](_0x43caf5[_0x3396b(0x1a1)]),_0x37620f={};_0x37620f[_0x3396b(0x15d)]=_0xeb95ea,_0x37620f['thBuildUuid']=process[_0x3396b(0x1c6)][testHubConstants[_0x3396b(0x1a3)][_0x3396b(0x182)]],_0x37620f[_0x3396b(0x1fb)]=process[_0x3396b(0x1c6)][testHubConstants[_0x3396b(0x1a3)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3f8861=_0x37620f;logger[_0x3396b(0x158)](_0x3396b(0x1dc)+JSON[_0x3396b(0x19f)](_0x3f8861)),logger['debug'](_0x4d123b['ATwdq']),global[_0x3396b(0x1fa)]&&global[_0x3396b(0x1fa)][0x0]&&(logger[_0x3396b(0x158)](util['format'](await global[_0x3396b(0x1fa)][0x0][_0x3396b(0x218)](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x3396b(0x1a7)],_0x3f8861)),logger[_0x3396b(0x1ce)](_0x4d123b[_0x3396b(0x179)]);}}catch(_0x759fab){logger[_0x3396b(0x1c8)](_0x3396b(0x21c)+util[_0x3396b(0x1cd)]);}if(_0x349b0b)try{global[_0x3396b(0x1fa)][0x0]&&_0x4d123b[_0x3396b(0x184)](global[_0x3396b(0x1fa)][0x0]['quitCount_'],0x0)&&await global[_0x3396b(0x1fa)][0x0][_0x3396b(0x159)]();}catch(_0x681c96){logger[_0x3396b(0x158)](_0x3396b(0x1e0)+_0x681c96);}_0x4d123b[_0x3396b(0x16f)](_0x191297);})[_0x4ad8e0(0x162)](()=>_0x23e6d4());});const a11_0x4cf055={};a11_0x4cf055['name']=a11_0x5bd4a0(0x1f6),a11_0x4cf055[a11_0x5bd4a0(0x1f7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x5bd4a0(0x1a9)],AfterStep(a11_0x4cf055,function(_0x572a50,_0x3464b4){const _0x1330b0=a11_0x5bd4a0,_0x483aba={'QcjGA':function(_0x5b723c,_0x271e39){return _0x5b723c===_0x271e39;},'fAqZH':'failed','Idvgp':function(_0xe405b9,_0x494e72){return _0xe405b9===_0x494e72;},'zKMtO':function(_0x5e4318,_0x4dd9e2){return _0x5e4318!==_0x4dd9e2;},'XYeDm':function(_0x2246a4,_0x2330fb,_0x2929fc){return _0x2246a4(_0x2330fb,_0x2929fc);},'Tfbvj':function(_0x24124f,_0x455e05){return _0x24124f+_0x455e05;},'yBQvC':function(_0x258715,_0x1b0f5e){return _0x258715+_0x1b0f5e;},'dZvbH':function(_0x2afa18,_0x52feef){return _0x2afa18+_0x52feef;},'cXdLY':_0x1330b0(0x1ea),'SiXkO':_0x1330b0(0x213),'jhLxf':'error','fggmn':function(_0x5e00b4,_0x58cdfd){return _0x5e00b4+_0x58cdfd;},'FbRwS':function(_0x17d67a,_0x518e01){return _0x17d67a!==_0x518e01;},'hkhTw':'Passed:\x20','tYbhK':_0x1330b0(0x1ce),'iIbti':'Passed','vCTVI':function(_0xa7814a){return _0xa7814a();},'iAYNr':'Inside\x20browserstack\x20AfterStep'};logger[_0x1330b0(0x158)](_0x483aba[_0x1330b0(0x20c)]);const _0x34af06=async(_0x1c0899,_0x129285)=>{const _0x3cdbae=_0x1330b0;global[_0x3cdbae(0x1fa)]&&global[_0x3cdbae(0x1fa)][0x0]&&await global[_0x3cdbae(0x1fa)][0x0][_0x3cdbae(0x1ff)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x1c0899+_0x3cdbae(0x17e)+_0x129285+_0x3cdbae(0x148));};new Promise(async _0x1e51d9=>{const _0x325002=_0x1330b0;try{_0x483aba[_0x325002(0x211)](_0x572a50['result'][_0x325002(0x14d)]['toString']()['toLowerCase'](),_0x483aba[_0x325002(0x1e9)])||_0x483aba['Idvgp'](_0x572a50[_0x325002(0x151)][_0x325002(0x14d)][_0x325002(0x1f0)]()[_0x325002(0x194)](),'6')?(global['__sessionFailed']=!![],global[_0x325002(0x175)]['push'](_0x572a50[_0x325002(0x151)][_0x325002(0x150)]),_0x483aba['zKMtO'](_0x572a50[_0x325002(0x156)],undefined)?await _0x483aba[_0x325002(0x1e2)](_0x34af06,JSON[_0x325002(0x19f)](_0x483aba[_0x325002(0x154)](_0x483aba[_0x325002(0x1e5)](_0x483aba[_0x325002(0x1cb)](_0x483aba['cXdLY'],'\x22'+_0x572a50[_0x325002(0x156)][_0x325002(0x204)]+'\x22\x20'),_0x483aba[_0x325002(0x1f4)]),_0x572a50[_0x325002(0x151)][_0x325002(0x150)])),_0x483aba[_0x325002(0x201)]):await _0x483aba[_0x325002(0x1e2)](_0x34af06,JSON['stringify'](_0x483aba[_0x325002(0x19c)](_0x483aba[_0x325002(0x1c5)],_0x572a50['result'][_0x325002(0x150)])),_0x483aba[_0x325002(0x201)])):_0x483aba[_0x325002(0x1fc)](_0x572a50[_0x325002(0x156)],undefined)?await _0x483aba[_0x325002(0x1e2)](_0x34af06,JSON[_0x325002(0x19f)](_0x483aba[_0x325002(0x154)](_0x483aba[_0x325002(0x16e)],'\x22'+_0x572a50[_0x325002(0x156)][_0x325002(0x204)]+'\x22')),_0x483aba[_0x325002(0x206)]):await _0x483aba[_0x325002(0x1e2)](_0x34af06,JSON[_0x325002(0x19f)](_0x483aba[_0x325002(0x18c)]),_0x483aba['tYbhK']),global[_0x325002(0x1fa)]&&global[_0x325002(0x1fa)][0x0]&&global[_0x325002(0x1fa)][0x0]['session_'][_0x325002(0x219)](_0x16418c=>{})['catch'](_0x5d9526=>{const _0x2fbe5a=_0x325002;logger[_0x2fbe5a(0x158)](_0x2fbe5a(0x217)+util['format'](_0x5d9526));});}catch(_0x261dd6){logger[_0x325002(0x158)](_0x325002(0x1b4)+_0x261dd6);}_0x483aba[_0x325002(0x1cf)](_0x1e51d9);})['finally'](()=>_0x3464b4());});const a11_0x49b9ae={};a11_0x49b9ae['name']=a11_0x5bd4a0(0x1f6),a11_0x49b9ae[a11_0x5bd4a0(0x1f7)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a11_0x49b9ae,async function(_0xc72ebc,_0x36bc16){const _0x448d32=a11_0x5bd4a0,_0x2078b9={'aGwjZ':'2|4|0|3|1','jMUOK':_0x448d32(0x14b),'Nrake':function(_0x545d25){return _0x545d25();},'FsEbk':_0x448d32(0x20d)};logger['debug'](_0x2078b9['FsEbk']),await new Promise(async _0x4dbbc5=>{const _0x43526b=_0x448d32,_0x45a972=_0x2078b9[_0x43526b(0x1ec)]['split']('|');let _0x4af773=0x0;while(!![]){switch(_0x45a972[_0x4af773++]){case'0':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x43526b(0x1d2)](),playwrightPatcher['closeTracker']&&playwrightPatcher[_0x43526b(0x164)][_0x43526b(0x208)](),logger[_0x43526b(0x158)](_0x2078b9[_0x43526b(0x17b)]));}catch(_0x5b7f13){logger[_0x43526b(0x158)](_0x43526b(0x1f9)+util['format'](_0x5b7f13));}continue;case'1':_0x2078b9[_0x43526b(0x1fe)](_0x4dbbc5);continue;case'2':await RequestQueueHandler[_0x43526b(0x1c4)]()['shutdown']();continue;case'3':await global['driverCleanup']();continue;case'4':PerformanceTester['stopMonitoring']();continue;}break;}});});
@@ -1 +1 @@
1
- function a12_0x555f(_0x7ea10c,_0x5887b3){const _0x50afa1=a12_0x50af();return a12_0x555f=function(_0x555fc4,_0x312b4f){_0x555fc4=_0x555fc4-0x17e;let _0x3b0f7e=_0x50afa1[_0x555fc4];return _0x3b0f7e;},a12_0x555f(_0x7ea10c,_0x5887b3);}function a12_0x50af(){const _0x5b7732=['OQRPM','yfwJB','pickle','215804QaJCAD','skipSessionStatus','Before','rySrB','debug','__driver','2139008twocgv','timeout','29502490KdOMad','initQuit','setDefaultTimeout','\x22}}','result','2716970yQxDvb','parse','__error_messages__','toLowerCase','OxAzm','CONFIG','ndxKg','browserstackAgentV2','1170402HlTzGG','__platformCaps','8356941aMjean','env','executeScript','33QtxIGB','__timeout','status','8gGTbUY','7GhCFxm','then','name','skipSessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','After','platformCaps','__skipSessionName','../../index','bstack','cucumber/lib/index.js','Error:\x20quiting\x20at\x20After:\x20','join','passed','failed','5515914YJIumY','FEHYT','Inside\x20browserstack\x20Before','YxKYu','ypCTd','cucumber','../../helpers/logger','\x20|\x20','session_','../../helpers/setKeepAlive'];a12_0x50af=function(){return _0x5b7732;};return a12_0x50af();}const a12_0x310739=a12_0x555f;(function(_0xe6400e,_0x4f53cf){const _0x4c452d=a12_0x555f,_0x9471fb=_0xe6400e();while(!![]){try{const _0x53dd46=-parseInt(_0x4c452d(0x180))/0x1+-parseInt(_0x4c452d(0x1ab))/0x2+parseInt(_0x4c452d(0x185))/0x3*(-parseInt(_0x4c452d(0x1a5))/0x4)+parseInt(_0x4c452d(0x1b2))/0x5+-parseInt(_0x4c452d(0x198))/0x6*(-parseInt(_0x4c452d(0x189))/0x7)+parseInt(_0x4c452d(0x188))/0x8*(-parseInt(_0x4c452d(0x182))/0x9)+parseInt(_0x4c452d(0x1ad))/0xa;if(_0x53dd46===_0x4f53cf)break;else _0x9471fb['push'](_0x9471fb['shift']());}catch(_0x2c0f3b){_0x9471fb['push'](_0x9471fb['shift']());}}}(a12_0x50af,0x9ef26));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a12_0x310739(0x1a1)),cucumberModule=requireModule(a12_0x310739(0x193),a12_0x310739(0x19d)),logger=require(a12_0x310739(0x19e))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x310739(0x1a7)],After=cucumberModule[a12_0x310739(0x18e)],configuration=process[a12_0x310739(0x183)][a12_0x310739(0x1b7)];if(configuration!==undefined){const config=JSON[a12_0x310739(0x1b3)](configuration);isTrue(config[a12_0x310739(0x18c)])&&(global[a12_0x310739(0x190)]=!![]),global['__skipSessionStatus']=isTrue(config[a12_0x310739(0x1a6)]),require(a12_0x310739(0x191))[a12_0x310739(0x17f)](config),global[a12_0x310739(0x181)]=config[a12_0x310739(0x18f)]||{};}global[a12_0x310739(0x186)]=0x0;const __setDefaultTimeout=cucumberModule[a12_0x310739(0x1af)];cucumberModule[a12_0x310739(0x1af)]=_0x581c4e=>{const _0x3b73fd=a12_0x310739,_0x2218aa={'FEHYT':function(_0xb2925a,_0x3266f8){return _0xb2925a(_0x3266f8);}};global[_0x3b73fd(0x186)]=_0x581c4e,_0x2218aa[_0x3b73fd(0x199)](__setDefaultTimeout,_0x581c4e);};const a12_0x1bc209={};a12_0x1bc209[a12_0x310739(0x18b)]=a12_0x310739(0x192),Before(a12_0x1bc209,function(){const _0x3efe9a=a12_0x310739,_0x24ffa6={};_0x24ffa6['YxKYu']=_0x3efe9a(0x19a);const _0x4745f7=_0x24ffa6;logger['debug'](_0x4745f7[_0x3efe9a(0x19b)]),global[_0x3efe9a(0x1b4)]=[];});const a12_0x170d40={};a12_0x170d40[a12_0x310739(0x18b)]=a12_0x310739(0x192),a12_0x170d40[a12_0x310739(0x1ac)]=0x2710,After(a12_0x170d40,function(_0x2204b6,_0xa89a00){const _0x3c2afd=a12_0x310739,_0x300191={'ypCTd':function(_0x153a58,_0xfb5f62){return _0x153a58===_0xfb5f62;},'ndxKg':_0x3c2afd(0x197),'uXXCn':function(_0x4ee157,_0x1f59ec,_0x302635,_0x125be0){return _0x4ee157(_0x1f59ec,_0x302635,_0x125be0);},'rySrB':_0x3c2afd(0x19f),'fXPsn':function(_0x3037a6,_0xbe9fbe,_0x5e8466){return _0x3037a6(_0xbe9fbe,_0x5e8466);},'OQRPM':_0x3c2afd(0x196),'OxAzm':function(_0x2df277){return _0x2df277();},'Dnxxc':function(_0x4f8dbb,_0x4414f3){return _0x4f8dbb(_0x4414f3);},'yfwJB':function(_0x5e743d){return _0x5e743d();},'fVASX':'Inside\x20browserstack\x20After'};logger[_0x3c2afd(0x1a9)](_0x300191['fVASX']),new Promise(async(_0x5aa8f3,_0x1af386)=>{const _0x195cba=_0x3c2afd;let _0x5b7d1c=![];try{await global[_0x195cba(0x1aa)][_0x195cba(0x1a0)],_0x5b7d1c=!![],!global[_0x195cba(0x190)]&&await global[_0x195cba(0x1aa)][_0x195cba(0x184)](_0x195cba(0x18d)+_0x2204b6[_0x195cba(0x1a4)][_0x195cba(0x18b)]+_0x195cba(0x1b0)),_0x300191[_0x195cba(0x19c)](_0x2204b6[_0x195cba(0x1b1)][_0x195cba(0x187)][_0x195cba(0x1b5)](),_0x300191[_0x195cba(0x17e)])?await _0x300191['uXXCn'](markSessionStatus,global[_0x195cba(0x1aa)],_0x300191[_0x195cba(0x17e)],global[_0x195cba(0x1b4)][_0x195cba(0x195)](_0x300191[_0x195cba(0x1a8)])):await _0x300191['fXPsn'](markSessionStatus,global[_0x195cba(0x1aa)],_0x300191[_0x195cba(0x1a2)]);}catch(_0x46d0f3){logger[_0x195cba(0x1a9)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x46d0f3);}if(_0x5b7d1c)try{await global['__driver'][_0x195cba(0x1ae)](),_0x300191[_0x195cba(0x1b6)](_0x5aa8f3);}catch(_0x24ec3f){logger[_0x195cba(0x1a9)](_0x195cba(0x194)+_0x24ec3f),_0x300191['Dnxxc'](_0x1af386,_0x24ec3f);}else _0x300191[_0x195cba(0x1a3)](_0x1af386);})[_0x3c2afd(0x18a)](()=>_0xa89a00());});
1
+ function a12_0x2dca(_0x567961,_0x1da19d){const _0x18044f=a12_0x1804();return a12_0x2dca=function(_0x2dca9e,_0x77391b){_0x2dca9e=_0x2dca9e-0x1eb;let _0x491369=_0x18044f[_0x2dca9e];return _0x491369;},a12_0x2dca(_0x567961,_0x1da19d);}const a12_0xa5c089=a12_0x2dca;(function(_0x704a85,_0x5539b0){const _0x3626e8=a12_0x2dca,_0x42cc7e=_0x704a85();while(!![]){try{const _0x30eff7=parseInt(_0x3626e8(0x207))/0x1+parseInt(_0x3626e8(0x1eb))/0x2+parseInt(_0x3626e8(0x208))/0x3+parseInt(_0x3626e8(0x1ed))/0x4+-parseInt(_0x3626e8(0x21a))/0x5*(-parseInt(_0x3626e8(0x209))/0x6)+-parseInt(_0x3626e8(0x20d))/0x7*(parseInt(_0x3626e8(0x1f6))/0x8)+-parseInt(_0x3626e8(0x1ff))/0x9*(parseInt(_0x3626e8(0x1f8))/0xa);if(_0x30eff7===_0x5539b0)break;else _0x42cc7e['push'](_0x42cc7e['shift']());}catch(_0x1a9c49){_0x42cc7e['push'](_0x42cc7e['shift']());}}}(a12_0x1804,0xc5da0));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0xa5c089(0x202)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule('cucumber/lib/index.js','cucumber'),logger=require(a12_0xa5c089(0x1f9))[a12_0xa5c089(0x213)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0xa5c089(0x1f2)],After=cucumberModule[a12_0xa5c089(0x1f4)],configuration=process[a12_0xa5c089(0x212)]['CONFIG'];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a12_0xa5c089(0x21b)])&&(global[a12_0xa5c089(0x211)]=!![]),global[a12_0xa5c089(0x1f1)]=isTrue(config['skipSessionStatus']),require(a12_0xa5c089(0x21d))[a12_0xa5c089(0x1fb)](config),global[a12_0xa5c089(0x201)]=config[a12_0xa5c089(0x20b)]||{};}global[a12_0xa5c089(0x1fe)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a12_0xa5c089(0x200)]=_0xcab8ec=>{const _0x132f52={'hwzqB':function(_0x2f582e,_0x4f0ef0){return _0x2f582e(_0x4f0ef0);}};global['__timeout']=_0xcab8ec,_0x132f52['hwzqB'](__setDefaultTimeout,_0xcab8ec);};const a12_0x49202d={};a12_0x49202d['name']=a12_0xa5c089(0x204),Before(a12_0x49202d,function(){const _0x5cfb25=a12_0xa5c089,_0x51c3a3={};_0x51c3a3[_0x5cfb25(0x214)]=_0x5cfb25(0x1fc);const _0x35491c=_0x51c3a3;logger[_0x5cfb25(0x1fd)](_0x35491c[_0x5cfb25(0x214)]),global[_0x5cfb25(0x20c)]=[];});const a12_0x12f8ac={};function a12_0x1804(){const _0x6fab9e=['browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','3685400uqVLXn','timeout','Error:\x20quiting\x20at\x20After:\x20','session_','__skipSessionStatus','Before','Error:\x20setting\x20status\x20at\x20After:\x20','After','qkYkr','49000MoBBZq','pickle','3337930AfbmQM','../../helpers/logger','join','browserstackAgentV2','Inside\x20browserstack\x20Before','debug','__timeout','18npBhYw','setDefaultTimeout','__platformCaps','../../helpers/helper','yUmyP','bstack','toLowerCase','status','568510AazIvm','2196213wYeSyE','438CpnhPt','__driver','platformCaps','__error_messages__','1176PrrwiW','fqMWB','result','passed','__skipSessionName','env','winstonLogger','DvOmc','\x22}}','Inside\x20browserstack\x20After','FIgST','guxZg','failed','14590rJWoau','skipSessionName','initQuit','../../index','ejJxR','144082fQJppf'];a12_0x1804=function(){return _0x6fab9e;};return a12_0x1804();}a12_0x12f8ac['name']='bstack',a12_0x12f8ac[a12_0xa5c089(0x1ee)]=0x2710,After(a12_0x12f8ac,function(_0x3e5dbc,_0x14a554){const _0x13871c=a12_0xa5c089,_0x210f40={'VqDUN':function(_0x480c1f,_0x160fe6){return _0x480c1f===_0x160fe6;},'ejJxR':_0x13871c(0x219),'guxZg':function(_0xf35477,_0x2376df,_0x3b1a96,_0x3c1af){return _0xf35477(_0x2376df,_0x3b1a96,_0x3c1af);},'iZLHm':'\x20|\x20','FIgST':function(_0x42ee89,_0x22261d,_0x306f1a){return _0x42ee89(_0x22261d,_0x306f1a);},'cDDVt':_0x13871c(0x210),'yUmyP':function(_0x4323a0){return _0x4323a0();},'SACkH':function(_0x26f81b,_0x3c2a84){return _0x26f81b(_0x3c2a84);},'fqMWB':function(_0xfb287e){return _0xfb287e();},'qkYkr':_0x13871c(0x216)};logger[_0x13871c(0x1fd)](_0x210f40[_0x13871c(0x1f5)]),new Promise(async(_0x4ebbc2,_0x5b6730)=>{const _0x4c8943=_0x13871c;let _0x98c033=![];try{await global[_0x4c8943(0x20a)][_0x4c8943(0x1f0)],_0x98c033=!![],!global[_0x4c8943(0x211)]&&await global['__driver']['executeScript'](_0x4c8943(0x1ec)+_0x3e5dbc[_0x4c8943(0x1f7)]['name']+_0x4c8943(0x215)),_0x210f40['VqDUN'](_0x3e5dbc[_0x4c8943(0x20f)][_0x4c8943(0x206)][_0x4c8943(0x205)](),_0x210f40[_0x4c8943(0x21e)])?await _0x210f40[_0x4c8943(0x218)](markSessionStatus,global[_0x4c8943(0x20a)],_0x210f40[_0x4c8943(0x21e)],global[_0x4c8943(0x20c)][_0x4c8943(0x1fa)](_0x210f40['iZLHm'])):await _0x210f40[_0x4c8943(0x217)](markSessionStatus,global['__driver'],_0x210f40['cDDVt']);}catch(_0x116bfe){logger[_0x4c8943(0x1fd)](_0x4c8943(0x1f3)+_0x116bfe);}if(_0x98c033)try{await global[_0x4c8943(0x20a)][_0x4c8943(0x21c)](),_0x210f40[_0x4c8943(0x203)](_0x4ebbc2);}catch(_0x3c904d){logger[_0x4c8943(0x1fd)](_0x4c8943(0x1ef)+_0x3c904d),_0x210f40['SACkH'](_0x5b6730,_0x3c904d);}else _0x210f40[_0x4c8943(0x20e)](_0x5b6730);})['then'](()=>_0x14a554());});
@@ -1 +1 @@
1
- const a13_0x4dd11e=a13_0x1deb;(function(_0x5d0e84,_0xd8e078){const _0x33e1a1=a13_0x1deb,_0x44bd98=_0x5d0e84();while(!![]){try{const _0x1b37fa=parseInt(_0x33e1a1(0x1ec))/0x1*(-parseInt(_0x33e1a1(0x1dc))/0x2)+-parseInt(_0x33e1a1(0x1e3))/0x3+parseInt(_0x33e1a1(0x1e7))/0x4*(parseInt(_0x33e1a1(0x1e4))/0x5)+-parseInt(_0x33e1a1(0x1e1))/0x6*(-parseInt(_0x33e1a1(0x1db))/0x7)+-parseInt(_0x33e1a1(0x1e9))/0x8*(parseInt(_0x33e1a1(0x1ea))/0x9)+parseInt(_0x33e1a1(0x1e2))/0xa*(-parseInt(_0x33e1a1(0x1e0))/0xb)+parseInt(_0x33e1a1(0x1da))/0xc*(parseInt(_0x33e1a1(0x1de))/0xd);if(_0x1b37fa===_0xd8e078)break;else _0x44bd98['push'](_0x44bd98['shift']());}catch(_0x5b6944){_0x44bd98['push'](_0x44bd98['shift']());}}}(a13_0x595f,0x584db));const {requireModule}=require(a13_0x4dd11e(0x1e6)),constants=require('../utils/constants');;function a13_0x1deb(_0x102dfb,_0x2bad94){const _0x595f6d=a13_0x595f();return a13_0x1deb=function(_0x1deb67,_0x499c88){_0x1deb67=_0x1deb67-0x1da;let _0xb36a11=_0x595f6d[_0x1deb67];return _0xb36a11;},a13_0x1deb(_0x102dfb,_0x2bad94);}function a13_0x595f(){const _0xe959f1=['../../helpers/helper','1748HjAFYZ','__timeout','1824DoSKWV','16821VQyeNJ','cucumber','1567vyjrEt','3469572DrOXSg','362383auKIti','578DogbeD','BSTACK_DELTA','65PzmOmR','cucumber/lib/index.js','1361063ZXoPvK','54tphamf','50VHsQLW','1554201XgisKr','5330IRVfVn','@cucumber/cucumber/lib/index.js'];a13_0x595f=function(){return _0xe959f1;};return a13_0x595f();}let cucumberModule=null;try{cucumberModule=requireModule(a13_0x4dd11e(0x1e5),'@cucumber/cucumber');}catch(a13_0x5d1cc0){cucumberModule=requireModule(a13_0x4dd11e(0x1df),a13_0x4dd11e(0x1eb));}cucumberModule['setDefaultTimeout'](constants[a13_0x4dd11e(0x1dd)]+global[a13_0x4dd11e(0x1e8)]*0x1);
1
+ const a13_0x50f174=a13_0xcfe7;(function(_0x16d2b3,_0x258006){const _0x113174=a13_0xcfe7,_0x24b902=_0x16d2b3();while(!![]){try{const _0x5f0f73=-parseInt(_0x113174(0x18b))/0x1+-parseInt(_0x113174(0x183))/0x2+parseInt(_0x113174(0x18a))/0x3*(parseInt(_0x113174(0x18c))/0x4)+-parseInt(_0x113174(0x188))/0x5*(parseInt(_0x113174(0x186))/0x6)+-parseInt(_0x113174(0x182))/0x7*(-parseInt(_0x113174(0x185))/0x8)+-parseInt(_0x113174(0x184))/0x9*(-parseInt(_0x113174(0x187))/0xa)+parseInt(_0x113174(0x189))/0xb;if(_0x5f0f73===_0x258006)break;else _0x24b902['push'](_0x24b902['shift']());}catch(_0x26cb62){_0x24b902['push'](_0x24b902['shift']());}}}(a13_0x2103,0xe3856));const {requireModule}=require('../../helpers/helper'),constants=require('../utils/constants');function a13_0xcfe7(_0x4ef894,_0x46f3af){const _0x21036d=a13_0x2103();return a13_0xcfe7=function(_0xcfe7db,_0x572561){_0xcfe7db=_0xcfe7db-0x17f;let _0x4b033a=_0x21036d[_0xcfe7db];return _0x4b033a;},a13_0xcfe7(_0x4ef894,_0x46f3af);};let cucumberModule=null;try{cucumberModule=requireModule(a13_0x50f174(0x17f),'@cucumber/cucumber');}catch(a13_0x3a5cba){cucumberModule=requireModule('cucumber/lib/index.js','cucumber');}function a13_0x2103(){const _0x20ca34=['44295999rDHomF','3342VYiWTW','1742788IvuZdi','1460bWmcnM','@cucumber/cucumber/lib/index.js','BSTACK_DELTA','setDefaultTimeout','28TbNNKm','3334166hopTFM','263178ofYBBS','3368648YvdJwt','11982BaLOTj','10kyJvQY','4520LXdsWa'];a13_0x2103=function(){return _0x20ca34;};return a13_0x2103();}cucumberModule[a13_0x50f174(0x181)](constants[a13_0x50f174(0x180)]+global['__timeout']*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x2b1b(){const _0x2ffaca=['hostname','exports','missing','XCPNn','1802213qOjhfJ','port','Integration\x20hosts\x20missing.','demandCommand','epilogue','./constants','accessKey','map','fHWam','FtnnY','Hosts\x20not\x20valid','protocol','6620252XyqBju','../../helpers/BrowserStackSetup','RDgEw','6862128hWMmlS','usage','1933464IQSiQA','error','type','only','nsAXJ','14737878EEPYgI','../../helpers/helper','setProxySettings','17818bHadwt','localIdentifier','config','bstackAccessKey','Failed\x20to\x20establish\x20connection.','Connection\x20established\x20successfully.','vLgTe','ipmiv','winstonLogger','wmuAx','undefined','integrations','https:','demandOption','connect','bstackAccesskey','join','url','every','describe','bstack-accesskey','browserstackLocal','40KJCaTq','vhlZP','setupBrowserstackLocal','hosts','info','help','Peeib','BrowserStack\x20access\x20key\x20missing.','trim','split','footer','mMPGt','command','5KNrWFF','wwVUB','ssguu','options','1410893bATKoR','browserStackLocalOptions','501eutGSO','InQfr','ZgkDP','replace','230htRSCP','cZbiu','string','KdlaY','invalid'];a14_0x2b1b=function(){return _0x2ffaca;};return a14_0x2b1b();}const a14_0xee43d6=a14_0x2177;(function(_0xd15b7a,_0x457285){const _0x448a60=a14_0x2177,_0x136d1d=_0xd15b7a();while(!![]){try{const _0x5a2e41=parseInt(_0x448a60(0xda))/0x1+parseInt(_0x448a60(0xe2))/0x2*(-parseInt(_0x448a60(0xbc))/0x3)+parseInt(_0x448a60(0xd5))/0x4*(parseInt(_0x448a60(0xb6))/0x5)+-parseInt(_0x448a60(0xd8))/0x6+parseInt(_0x448a60(0xc9))/0x7*(-parseInt(_0x448a60(0xf8))/0x8)+-parseInt(_0x448a60(0xdf))/0x9+parseInt(_0x448a60(0xc0))/0xa*(parseInt(_0x448a60(0xba))/0xb);if(_0x5a2e41===_0x457285)break;else _0x136d1d['push'](_0x136d1d['shift']());}catch(_0x575ce9){_0x136d1d['push'](_0x136d1d['shift']());}}}(a14_0x2b1b,0xefce8));const {default:BrowserStackSetup}=require(a14_0xee43d6(0xd6)),logger=require('../../helpers/logger')[a14_0xee43d6(0xea)],{URL}=require(a14_0xee43d6(0xf3)),helper=require(a14_0xee43d6(0xe0)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0xee43d6(0xce)),validHosts=function(_0x4dcc02){const _0xfbb8e7=a14_0xee43d6;return _0x4dcc02[_0xfbb8e7(0xb2)](',')[_0xfbb8e7(0xf4)](_0xd4f3c=>{const _0x50ad6a=_0xfbb8e7;try{new URL(_0xd4f3c[_0x50ad6a(0xb1)]());}catch(_0x4af46b){return![];}return!![];});},parseOnPremHosts=function(_0x181232){const _0x42854f=a14_0xee43d6,_0x5e65c2={};_0x5e65c2[_0x42854f(0xeb)]=function(_0x4220e9,_0x6a1c42){return _0x4220e9===_0x6a1c42;},_0x5e65c2[_0x42854f(0xd2)]=_0x42854f(0xee),_0x5e65c2['Peeib']='443',_0x5e65c2[_0x42854f(0xb7)]=function(_0x471a24,_0x482169){return _0x471a24===_0x482169;},_0x5e65c2[_0x42854f(0xc1)]='https';const _0x3c6a20=_0x5e65c2;return _0x181232[_0x42854f(0xb2)](',')[_0x42854f(0xd0)](_0x46d1c6=>{const _0x30506c=_0x42854f,_0xa697d=new URL(_0x46d1c6[_0x30506c(0xb1)]()),_0x57c500=_0xa697d[_0x30506c(0xc5)],_0x4bade2=_0xa697d[_0x30506c(0xca)]||(_0x3c6a20[_0x30506c(0xeb)](_0xa697d[_0x30506c(0xd4)],_0x3c6a20[_0x30506c(0xd2)])?_0x3c6a20[_0x30506c(0xaf)]:'80'),_0x387dce=_0xa697d['protocol'][_0x30506c(0xbf)](':',''),_0x2694de=_0x3c6a20[_0x30506c(0xb7)](_0x387dce,_0x3c6a20[_0x30506c(0xc1)])?0x1:0x0;return _0x57c500+','+_0x4bade2+','+_0x2694de;});},connectCommandBuilder=function(_0xcf7d4c){const _0x3ae6b2=a14_0xee43d6,_0x5d8e6b={};_0x5d8e6b[_0x3ae6b2(0xb8)]=_0x3ae6b2(0xc2);const _0x33f4c4=_0x5d8e6b,_0x16fb21={};_0x16fb21[_0x3ae6b2(0xf5)]=HELP_MESSAGES[_0x3ae6b2(0xb9)]['bstackAccessKey'],_0x16fb21[_0x3ae6b2(0xdc)]=_0x33f4c4[_0x3ae6b2(0xb8)];const _0x10c836={};_0x10c836['describe']=HELP_MESSAGES[_0x3ae6b2(0xb9)][_0x3ae6b2(0xac)],_0x10c836[_0x3ae6b2(0xdc)]=_0x33f4c4[_0x3ae6b2(0xb8)],_0x10c836[_0x3ae6b2(0xef)]=!![];const _0x4b7ab2={};return _0x4b7ab2[_0x3ae6b2(0xf6)]=_0x16fb21,_0x4b7ab2[_0x3ae6b2(0xac)]=_0x10c836,_0xcf7d4c['options'](_0x4b7ab2);},connectCommandHandler=async function(_0x7fb99){const _0x3efc26=a14_0xee43d6,_0x40bd41={'nsAXJ':_0x3efc26(0xed),'mMPGt':function(_0x10f9a3,_0x2f9601){return _0x10f9a3===_0x2f9601;},'ipmiv':_0x3efc26(0xec),'XCPNn':_0x3efc26(0xb0),'RaQvd':function(_0x2ea4f6,_0x48707d){return _0x2ea4f6===_0x48707d;},'vhlZP':_0x3efc26(0xcb),'vLgTe':function(_0x4b4f15,_0x246f75){return _0x4b4f15(_0x246f75);},'fHWam':_0x3efc26(0xd3),'KZEgy':function(_0x28dcf1,_0x34e228){return _0x28dcf1(_0x34e228);},'ZgkDP':'integrations-repeater','MCJMc':_0x3efc26(0xe7),'RDgEw':_0x3efc26(0xe6)};try{const _0x62b5a1=new BrowserStackSetup(_0x7fb99,_0x40bd41[_0x3efc26(0xde)]);_0x7fb99[_0x3efc26(0xf1)]&&(_0x62b5a1[_0x3efc26(0xe4)][_0x3efc26(0xcf)]=_0x7fb99[_0x3efc26(0xf1)]);if(_0x40bd41[_0x3efc26(0xb4)](typeof _0x62b5a1[_0x3efc26(0xe4)][_0x3efc26(0xcf)],_0x40bd41[_0x3efc26(0xe9)])){logger[_0x3efc26(0xdb)](_0x40bd41[_0x3efc26(0xc8)]);throw new Error(ERROR_MESSAGES[_0x3efc26(0xe5)][_0x3efc26(0xc7)]);}const _0x191605=_0x7fb99[_0x3efc26(0xac)];if(_0x40bd41['RaQvd'](typeof _0x191605,_0x40bd41[_0x3efc26(0xe9)])){logger[_0x3efc26(0xdb)](_0x40bd41[_0x3efc26(0xf9)]);throw new Error(ERROR_MESSAGES[_0x3efc26(0xac)][_0x3efc26(0xc7)]);}if(!_0x40bd41[_0x3efc26(0xe8)](validHosts,_0x191605)){logger[_0x3efc26(0xdb)](_0x40bd41[_0x3efc26(0xd1)]);throw new Error(ERROR_MESSAGES[_0x3efc26(0xac)][_0x3efc26(0xc4)]);}const _0x566814=_0x40bd41['KZEgy'](parseOnPremHosts,_0x191605);_0x62b5a1['config'][_0x3efc26(0xf7)]=!![],_0x62b5a1[_0x3efc26(0xe4)][_0x3efc26(0xbb)][_0x3efc26(0xe3)]=_0x40bd41[_0x3efc26(0xbe)],_0x62b5a1[_0x3efc26(0xe4)]['browserStackLocalOptions'][_0x3efc26(0xdd)]=_0x566814[_0x3efc26(0xf2)](','),helper[_0x3efc26(0xe1)](_0x62b5a1[_0x3efc26(0xe4)]),await _0x62b5a1[_0x3efc26(0xab)](),logger[_0x3efc26(0xad)](_0x40bd41['MCJMc']);}catch(_0x26fcac){logger['error'](_0x40bd41[_0x3efc26(0xd7)]);throw new Error(_0x26fcac['toString']());}};function a14_0x2177(_0x17fffd,_0x39afb0){const _0x2b1bb2=a14_0x2b1b();return a14_0x2177=function(_0x21774d,_0x73787){_0x21774d=_0x21774d-0xab;let _0x13734a=_0x2b1bb2[_0x21774d];return _0x13734a;},a14_0x2177(_0x17fffd,_0x39afb0);}function run(_0x42b8a4){const _0x1a71f1=a14_0xee43d6,_0x41be8b={};_0x41be8b[_0x1a71f1(0xbd)]=_0x1a71f1(0xf0),_0x41be8b[_0x1a71f1(0xc3)]=_0x1a71f1(0xae);const _0x51a735=_0x41be8b;_0x42b8a4[_0x1a71f1(0xd9)](HELP_MESSAGES[_0x1a71f1(0xb5)]['root'])[_0x1a71f1(0xb5)](_0x51a735['InQfr'],HELP_MESSAGES[_0x1a71f1(0xb5)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x1a71f1(0xcc)]()[_0x1a71f1(0xae)](_0x51a735[_0x1a71f1(0xc3)])[_0x1a71f1(0xcd)](HELP_MESSAGES['command'][_0x1a71f1(0xb3)]);}module[a14_0xee43d6(0xc6)]=run;
2
+ 'use strict';const a14_0x37852e=a14_0x21f6;function a14_0x2305(){const _0x3a7248=['protocol','url','replace','demandCommand','usage','ipXnj','footer','epilogue','UHhka','YUaCy','help','hosts','PjYRf','hostname','1066118FjEyKC','integrations','../../helpers/logger','./constants','UOxdj','invalid','describe','3636180Svpsuj','pJVdc','40VFFqNW','818214VStrpd','options','wjuKh','https:','exports','773087HdPZql','443','connect','type','command','undefined','702lcwBde','bstack-accesskey','bstackAccesskey','../../helpers/helper','error','setProxySettings','accessKey','string','only','config','EhTbb','xAxNE','Integration\x20hosts\x20missing.','870CjtrNK','missing','winstonLogger','integrations-repeater','sATQR','xsyOj','root','demandOption','vXsxE','setupBrowserstackLocal','trim','map','join','LdFpC','ierLb','266810gnVfjW','split','2924aghpVd','23480JymtAS','port','bstackAccessKey','browserstackLocal','vFhJN'];a14_0x2305=function(){return _0x3a7248;};return a14_0x2305();}(function(_0x941cef,_0x1d1fb3){const _0x577e87=a14_0x21f6,_0x4b571d=_0x941cef();while(!![]){try{const _0x336ab0=-parseInt(_0x577e87(0x19a))/0x1+parseInt(_0x577e87(0x190))/0x2+parseInt(_0x577e87(0x16b))/0x3*(-parseInt(_0x577e87(0x17c))/0x4)+parseInt(_0x577e87(0x17d))/0x5+-parseInt(_0x577e87(0x197))/0x6+parseInt(_0x577e87(0x19f))/0x7*(-parseInt(_0x577e87(0x199))/0x8)+parseInt(_0x577e87(0x1a5))/0x9*(parseInt(_0x577e87(0x17a))/0xa);if(_0x336ab0===_0x1d1fb3)break;else _0x4b571d['push'](_0x4b571d['shift']());}catch(_0x44c169){_0x4b571d['push'](_0x4b571d['shift']());}}}(a14_0x2305,0x69162));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a14_0x37852e(0x192))[a14_0x37852e(0x16d)],{URL}=require(a14_0x37852e(0x183)),helper=require(a14_0x37852e(0x1a8)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x37852e(0x193)),validHosts=function(_0x1bc3f3){const _0x1d4a97=a14_0x37852e;return _0x1bc3f3[_0x1d4a97(0x17b)](',')['every'](_0x119834=>{const _0x5caf51=_0x1d4a97;try{new URL(_0x119834[_0x5caf51(0x175)]());}catch(_0x5a0727){return![];}return!![];});},parseOnPremHosts=function(_0x3540a3){const _0x39e48b=a14_0x37852e,_0x2975e6={};_0x2975e6[_0x39e48b(0x173)]=function(_0x4b0e92,_0x385253){return _0x4b0e92===_0x385253;},_0x2975e6[_0x39e48b(0x19c)]=_0x39e48b(0x19d),_0x2975e6[_0x39e48b(0x168)]=_0x39e48b(0x1a0),_0x2975e6[_0x39e48b(0x179)]=function(_0x56b1e3,_0x620030){return _0x56b1e3===_0x620030;},_0x2975e6[_0x39e48b(0x187)]='https';const _0x3f2c79=_0x2975e6;return _0x3540a3[_0x39e48b(0x17b)](',')[_0x39e48b(0x176)](_0x5265f0=>{const _0x5195d4=_0x39e48b,_0x63194d=new URL(_0x5265f0[_0x5195d4(0x175)]()),_0x1e608b=_0x63194d[_0x5195d4(0x18f)],_0x4a7c2e=_0x63194d[_0x5195d4(0x17e)]||(_0x3f2c79[_0x5195d4(0x173)](_0x63194d[_0x5195d4(0x182)],_0x3f2c79['wjuKh'])?_0x3f2c79[_0x5195d4(0x168)]:'80'),_0x2d7351=_0x63194d['protocol'][_0x5195d4(0x184)](':',''),_0x178952=_0x3f2c79[_0x5195d4(0x179)](_0x2d7351,_0x3f2c79['ipXnj'])?0x1:0x0;return _0x1e608b+','+_0x4a7c2e+','+_0x178952;});},connectCommandBuilder=function(_0x31dea5){const _0x2b6ad3=a14_0x37852e,_0x7c3297={};_0x7c3297['PjYRf']=_0x2b6ad3(0x1ac);const _0x205706=_0x7c3297,_0x3b4414={};_0x3b4414[_0x2b6ad3(0x196)]=HELP_MESSAGES[_0x2b6ad3(0x19b)][_0x2b6ad3(0x17f)],_0x3b4414[_0x2b6ad3(0x1a2)]=_0x205706[_0x2b6ad3(0x18e)];const _0x5a4da1={};_0x5a4da1[_0x2b6ad3(0x196)]=HELP_MESSAGES[_0x2b6ad3(0x19b)][_0x2b6ad3(0x18d)],_0x5a4da1[_0x2b6ad3(0x1a2)]=_0x205706[_0x2b6ad3(0x18e)],_0x5a4da1[_0x2b6ad3(0x172)]=!![];const _0x112d13={};return _0x112d13[_0x2b6ad3(0x1a6)]=_0x3b4414,_0x112d13[_0x2b6ad3(0x18d)]=_0x5a4da1,_0x31dea5['options'](_0x112d13);},connectCommandHandler=async function(_0x1e368b){const _0x449734=a14_0x37852e,_0x56c89e={'UOxdj':_0x449734(0x191),'sATQR':function(_0x508d7d,_0x344597){return _0x508d7d===_0x344597;},'UHhka':_0x449734(0x1a4),'pJVdc':'BrowserStack\x20access\x20key\x20missing.','vFhJN':_0x449734(0x16a),'SrrXr':function(_0x3f2f39,_0x5e90fd){return _0x3f2f39(_0x5e90fd);},'exAHD':'Hosts\x20not\x20valid','YUaCy':_0x449734(0x16e),'LdFpC':'Connection\x20established\x20successfully.','xsyOj':'Failed\x20to\x20establish\x20connection.'};try{const _0x1f387b=new BrowserStackSetup(_0x1e368b,_0x56c89e[_0x449734(0x194)]);_0x1e368b['bstackAccesskey']&&(_0x1f387b[_0x449734(0x1ae)][_0x449734(0x1ab)]=_0x1e368b[_0x449734(0x1a7)]);if(_0x56c89e[_0x449734(0x16f)](typeof _0x1f387b[_0x449734(0x1ae)]['accessKey'],_0x56c89e[_0x449734(0x18a)])){logger[_0x449734(0x1a9)](_0x56c89e[_0x449734(0x198)]);throw new Error(ERROR_MESSAGES['bstackAccessKey']['missing']);}const _0x1a7d70=_0x1e368b['hosts'];if(_0x56c89e[_0x449734(0x16f)](typeof _0x1a7d70,_0x56c89e[_0x449734(0x18a)])){logger[_0x449734(0x1a9)](_0x56c89e[_0x449734(0x181)]);throw new Error(ERROR_MESSAGES[_0x449734(0x18d)][_0x449734(0x16c)]);}if(!_0x56c89e['SrrXr'](validHosts,_0x1a7d70)){logger[_0x449734(0x1a9)](_0x56c89e['exAHD']);throw new Error(ERROR_MESSAGES[_0x449734(0x18d)][_0x449734(0x195)]);}const _0x1ca99f=_0x56c89e['SrrXr'](parseOnPremHosts,_0x1a7d70);_0x1f387b['config'][_0x449734(0x180)]=!![],_0x1f387b['config']['browserStackLocalOptions']['localIdentifier']=_0x56c89e[_0x449734(0x18b)],_0x1f387b[_0x449734(0x1ae)]['browserStackLocalOptions'][_0x449734(0x1ad)]=_0x1ca99f[_0x449734(0x177)](','),helper[_0x449734(0x1aa)](_0x1f387b[_0x449734(0x1ae)]),await _0x1f387b[_0x449734(0x174)](),logger['info'](_0x56c89e[_0x449734(0x178)]);}catch(_0x150548){logger[_0x449734(0x1a9)](_0x56c89e[_0x449734(0x170)]);throw new Error(_0x150548['toString']());}};function run(_0x3347d0){const _0x682fe2=a14_0x37852e,_0x1f3f7d={};_0x1f3f7d[_0x682fe2(0x169)]=_0x682fe2(0x1a1),_0x1f3f7d['WqRvN']=_0x682fe2(0x18c);const _0x2a3c76=_0x1f3f7d;_0x3347d0[_0x682fe2(0x186)](HELP_MESSAGES[_0x682fe2(0x1a3)][_0x682fe2(0x171)])[_0x682fe2(0x1a3)](_0x2a3c76[_0x682fe2(0x169)],HELP_MESSAGES[_0x682fe2(0x1a3)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x682fe2(0x185)]()[_0x682fe2(0x18c)](_0x2a3c76['WqRvN'])[_0x682fe2(0x189)](HELP_MESSAGES[_0x682fe2(0x1a3)][_0x682fe2(0x188)]);}function a14_0x21f6(_0xea3b3f,_0x1421da){const _0x230574=a14_0x2305();return a14_0x21f6=function(_0x21f61a,_0x4f5036){_0x21f61a=_0x21f61a-0x168;let _0x3dcc8d=_0x230574[_0x21f61a];return _0x3dcc8d;},a14_0x21f6(_0xea3b3f,_0x1421da);}module[a14_0x37852e(0x19e)]=run;
@@ -1 +1 @@
1
- var a15_0x11cd43=a15_0x5f03;(function(_0x522bc4,_0x5f0290){var _0x851e4e=a15_0x5f03,_0x5ec342=_0x522bc4();while(!![]){try{var _0x261fed=parseInt(_0x851e4e(0x1db))/0x1*(-parseInt(_0x851e4e(0x1d4))/0x2)+parseInt(_0x851e4e(0x1d8))/0x3*(-parseInt(_0x851e4e(0x1d0))/0x4)+-parseInt(_0x851e4e(0x1de))/0x5*(parseInt(_0x851e4e(0x1da))/0x6)+-parseInt(_0x851e4e(0x1e0))/0x7*(-parseInt(_0x851e4e(0x1e2))/0x8)+-parseInt(_0x851e4e(0x1e9))/0x9+parseInt(_0x851e4e(0x1d3))/0xa*(parseInt(_0x851e4e(0x1ea))/0xb)+parseInt(_0x851e4e(0x1d7))/0xc*(parseInt(_0x851e4e(0x1d6))/0xd);if(_0x261fed===_0x5f0290)break;else _0x5ec342['push'](_0x5ec342['shift']());}catch(_0x4aa06b){_0x5ec342['push'](_0x5ec342['shift']());}}}(a15_0x5860,0x2b5af));var a15_0x135890={};a15_0x135890[a15_0x11cd43(0x1cf)]=a15_0x11cd43(0x1d9),a15_0x135890['hosts']=a15_0x11cd43(0x1e6);var a15_0x3c253a={};function a15_0x5860(){var _0x4a7623=['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.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','10CZaWly','538SaCySn','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','78uAChaz','851832BaGFjq','114VvMXne','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','62598zzhrlY','650fDaZUv','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','root','80dSPyvD','HELP_MESSAGES','7EJDbyb','command','1654360bnfkGW','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','invalid','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','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.','connect','missing','2034423RRIZmi','3203849iPSRWs','bstackAccessKey','18796xvwnsR'];a15_0x5860=function(){return _0x4a7623;};return a15_0x5860();}a15_0x3c253a[a15_0x11cd43(0x1dd)]=a15_0x11cd43(0x1dc),a15_0x3c253a[a15_0x11cd43(0x1e7)]=a15_0x11cd43(0x1e5),a15_0x3c253a['footer']=a15_0x11cd43(0x1d2);var a15_0x7dd46f={};a15_0x7dd46f['options']=a15_0x135890,a15_0x7dd46f[a15_0x11cd43(0x1e1)]=a15_0x3c253a,exports[a15_0x11cd43(0x1df)]=a15_0x7dd46f;var a15_0x19447e={};a15_0x19447e[a15_0x11cd43(0x1e8)]=a15_0x11cd43(0x1e3);var a15_0x281451={};function a15_0x5f03(_0x5ce39c,_0x2acdda){var _0x5860f5=a15_0x5860();return a15_0x5f03=function(_0x5f03b0,_0x4b12e9){_0x5f03b0=_0x5f03b0-0x1cf;var _0x40cd56=_0x5860f5[_0x5f03b0];return _0x40cd56;},a15_0x5f03(_0x5ce39c,_0x2acdda);}a15_0x281451[a15_0x11cd43(0x1e8)]=a15_0x11cd43(0x1d5),a15_0x281451[a15_0x11cd43(0x1e4)]=a15_0x11cd43(0x1d1);var a15_0x3ad3b3={};a15_0x3ad3b3['bstackAccessKey']=a15_0x19447e,a15_0x3ad3b3['hosts']=a15_0x281451,exports['ERROR_MESSAGES']=a15_0x3ad3b3;
1
+ var a15_0xd522af=a15_0x3a87;(function(_0x3acba3,_0x4225d2){var _0x1e5478=a15_0x3a87,_0x4ad2e9=_0x3acba3();while(!![]){try{var _0x386738=-parseInt(_0x1e5478(0xc4))/0x1+parseInt(_0x1e5478(0xce))/0x2*(parseInt(_0x1e5478(0xc0))/0x3)+-parseInt(_0x1e5478(0xcc))/0x4*(parseInt(_0x1e5478(0xc2))/0x5)+-parseInt(_0x1e5478(0xd3))/0x6*(-parseInt(_0x1e5478(0xc9))/0x7)+parseInt(_0x1e5478(0xc5))/0x8+parseInt(_0x1e5478(0xd6))/0x9+parseInt(_0x1e5478(0xbf))/0xa;if(_0x386738===_0x4225d2)break;else _0x4ad2e9['push'](_0x4ad2e9['shift']());}catch(_0x2e7252){_0x4ad2e9['push'](_0x4ad2e9['shift']());}}}(a15_0x4ae7,0xef9d0));var a15_0x14d3ca={};a15_0x14d3ca[a15_0xd522af(0xc7)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a15_0x14d3ca[a15_0xd522af(0xd4)]=a15_0xd522af(0xc6);var a15_0x2cc7c4={};a15_0x2cc7c4['root']=a15_0xd522af(0xcd),a15_0x2cc7c4[a15_0xd522af(0xd0)]=a15_0xd522af(0xd2),a15_0x2cc7c4[a15_0xd522af(0xd5)]=a15_0xd522af(0xc3);var a15_0x140202={};a15_0x140202[a15_0xd522af(0xc8)]=a15_0x14d3ca,a15_0x140202['command']=a15_0x2cc7c4,exports[a15_0xd522af(0xbe)]=a15_0x140202;var a15_0x138c0a={};function a15_0x4ae7(){var _0x57d748=['connect','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','185862mwynrj','hosts','footer','5806035xNJkOW','HELP_MESSAGES','5115860TwtTlH','878118xvuJxT','ERROR_MESSAGES','15haWAMY','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','528860IhyQgD','619760JiNbGz','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','bstackAccessKey','options','56sbhkHB','missing','invalid','1133052ZflHvv','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','6hJhtOL','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.'];a15_0x4ae7=function(){return _0x57d748;};return a15_0x4ae7();}a15_0x138c0a[a15_0xd522af(0xca)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';function a15_0x3a87(_0x54606c,_0x151df4){var _0x4ae747=a15_0x4ae7();return a15_0x3a87=function(_0x3a8770,_0x1f08ef){_0x3a8770=_0x3a8770-0xbe;var _0x73fd4a=_0x4ae747[_0x3a8770];return _0x73fd4a;},a15_0x3a87(_0x54606c,_0x151df4);}var a15_0x2a7d86={};a15_0x2a7d86[a15_0xd522af(0xca)]=a15_0xd522af(0xcf),a15_0x2a7d86[a15_0xd522af(0xcb)]=a15_0xd522af(0xd1);var a15_0x4d62be={};a15_0x4d62be[a15_0xd522af(0xc7)]=a15_0x138c0a,a15_0x4d62be['hosts']=a15_0x2a7d86,exports[a15_0xd522af(0xc1)]=a15_0x4d62be;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a16_0x8e06f9=a16_0xb356;function a16_0xb356(_0x5cb01d,_0x5e7ed0){const _0x456853=a16_0x4568();return a16_0xb356=function(_0xb356cc,_0x5e5877){_0xb356cc=_0xb356cc-0x132;let _0x479c2a=_0x456853[_0xb356cc];return _0x479c2a;},a16_0xb356(_0x5cb01d,_0x5e7ed0);}(function(_0x3e90c3,_0x563e7a){const _0xcd1220=a16_0xb356,_0x59af5c=_0x3e90c3();while(!![]){try{const _0x53bc84=parseInt(_0xcd1220(0x1d8))/0x1+parseInt(_0xcd1220(0x173))/0x2*(parseInt(_0xcd1220(0x1f4))/0x3)+-parseInt(_0xcd1220(0x1dd))/0x4+parseInt(_0xcd1220(0x180))/0x5*(parseInt(_0xcd1220(0x1db))/0x6)+-parseInt(_0xcd1220(0x149))/0x7*(parseInt(_0xcd1220(0x164))/0x8)+parseInt(_0xcd1220(0x1b7))/0x9*(parseInt(_0xcd1220(0x17e))/0xa)+-parseInt(_0xcd1220(0x1b8))/0xb;if(_0x53bc84===_0x563e7a)break;else _0x59af5c['push'](_0x59af5c['shift']());}catch(_0x537852){_0x59af5c['push'](_0x59af5c['shift']());}}}(a16_0x4568,0x30bd1));const fs=require('fs'),path=require(a16_0x8e06f9(0x1e8)),util=require(a16_0x8e06f9(0x1af)),{spawn}=require(a16_0x8e06f9(0x17a)),logger=require(a16_0x8e06f9(0x1da))[a16_0x8e06f9(0x16c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a16_0x8e06f9(0x153)),utilities=require(a16_0x8e06f9(0x1ce)),constants=require(a16_0x8e06f9(0x1ef)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a16_0x8e06f9(0x158)),testOpsHelper=require(a16_0x8e06f9(0x13f)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a16_0x8e06f9(0x152)),{getPercyOptions}=require(a16_0x8e06f9(0x1c3)),TestHubHandler=require(a16_0x8e06f9(0x1c4)),testhubUtils=require(a16_0x8e06f9(0x1d7)),{FRAMEWORKS}=require(a16_0x8e06f9(0x1e0)),PerformanceTester=require(a16_0x8e06f9(0x188)),PerformanceEvents=require('../../helpers/performance/constants')[a16_0x8e06f9(0x1a7)],TestOrchestrationHandler=require(a16_0x8e06f9(0x1a9)),getUserJestConfigs=async(_0x38e2db,_0x51908c)=>{const _0x2045df=a16_0x8e06f9,_0x5c339f={'CAQGt':_0x2045df(0x15f),'qdcAV':_0x2045df(0x16d),'rNWlM':function(_0x5d649d,_0x25e74f){return _0x5d649d||_0x25e74f;},'IzApi':function(_0x47454e,_0x1d4f71){return _0x47454e(_0x1d4f71);},'mpcCk':_0x2045df(0x1a0),'pEmYb':_0x2045df(0x17f),'lxbgd':'mjs','Elgqf':_0x2045df(0x166),'SwuhU':_0x2045df(0x182)},_0x194684=helper['requireModule'](_0x5c339f[_0x2045df(0x1b9)],_0x5c339f[_0x2045df(0x1f6)]),_0x1d1149=_0x51908c['findIndex'](_0x3ac08f=>_0x3ac08f===_0x2045df(0x16b));if(!helper[_0x2045df(0x1b1)](_0x38e2db[_0x2045df(0x192)])){logger['info'](_0x2045df(0x139)+_0x38e2db[_0x2045df(0x192)]),process[_0x2045df(0x1c0)][_0x2045df(0x1f8)]=_0x38e2db['config'];const _0x49d8ea=await(0x0,_0x194684[_0x2045df(0x1aa)])(path[_0x2045df(0x1ea)](_0x38e2db['config']));return _0x51908c[_0x2045df(0x190)](_0x1d1149,0x2),_0x5c339f['rNWlM'](_0x49d8ea,{});}const _0x189f4c=_0x5c339f[_0x2045df(0x186)](require,path[_0x2045df(0x18f)](process[_0x2045df(0x159)](),_0x5c339f[_0x2045df(0x157)]));if(_0x189f4c['jest'])return logger[_0x2045df(0x161)](_0x5c339f[_0x2045df(0x18d)]),_0x189f4c[_0x2045df(0x19c)];const _0x5bc6ea=['js',_0x5c339f['lxbgd'],_0x5c339f[_0x2045df(0x15b)],_0x5c339f[_0x2045df(0x16a)],'ts'];for(const _0x18b8f8 of _0x5bc6ea){const _0x28eb9f=path[_0x2045df(0x18f)](process['cwd'](),'jest.config.'+_0x18b8f8);if(fs[_0x2045df(0x187)](_0x28eb9f)){process['env'][_0x2045df(0x1f8)]=_0x28eb9f;const _0x609fee=await(0x0,_0x194684['default'])(_0x28eb9f);return _0x609fee;}}return{};},getSerial=(_0x43ede8,_0x174b72)=>{const _0x14982f=a16_0x8e06f9,_0x41c705={};_0x41c705[_0x14982f(0x1bd)]=_0x14982f(0x13c),_0x41c705[_0x14982f(0x1cc)]=function(_0x224ed5,_0x350737){return _0x224ed5>_0x350737;},_0x41c705[_0x14982f(0x1dc)]=function(_0x47ae8a,_0x4956b7){return _0x47ae8a>_0x4956b7;},_0x41c705[_0x14982f(0x145)]=_0x14982f(0x14c);const _0x97d52f=_0x41c705;let _0x10832d=_0x97d52f[_0x14982f(0x1bd)];return _0x97d52f[_0x14982f(0x1cc)](_0x43ede8[_0x14982f(0x1c1)],0x1)&&(!_0x174b72[_0x14982f(0x1a6)]&&(helper[_0x14982f(0x1b1)](_0x174b72['maxWorkers'])||_0x97d52f[_0x14982f(0x1dc)](_0x174b72[_0x14982f(0x176)],0x1)))&&(_0x10832d=_0x97d52f['EGAxn']),_0x10832d;},getMaxWorkers=(_0x349901,_0x52658e,_0x3355d5)=>{const _0x576f37=a16_0x8e06f9,_0x2d9577={'KVKSE':function(_0x17085c,_0x28c4fd){return _0x17085c(_0x28c4fd);}};let _0xe8c120=0x1;if(!helper['isUndefined'](_0x52658e[_0x576f37(0x179)]))_0xe8c120=_0x2d9577[_0x576f37(0x19f)](parseInt,_0x52658e['parallelsPerPlatform']);else{if(!helper[_0x576f37(0x1b1)](_0x349901[_0x576f37(0x176)]))_0xe8c120=_0x349901[_0x576f37(0x176)];else!helper[_0x576f37(0x1b1)](_0x3355d5[_0x576f37(0x176)])&&(_0xe8c120=_0x3355d5[_0x576f37(0x176)]);}return _0xe8c120;};async function run(_0x54ba19,_0x2d704c,_0x45abe7){const _0x561f9b=a16_0x8e06f9,_0x4ebce0={'TcRMp':_0x561f9b(0x1f7),'HtZqP':_0x561f9b(0x19c),'xIwSc':function(_0x14db23,_0x45f823){return _0x14db23(_0x45f823);},'etSLg':function(_0x536bd2,_0x2831c9){return _0x536bd2!=_0x2831c9;},'VpUZR':'true','XYbmo':function(_0x4f5677,_0x45f178,_0x45220b){return _0x4f5677(_0x45f178,_0x45220b);},'uioSj':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','imNlg':function(_0x24e5d9,_0xd92e72,_0x52d424,_0xf5c416){return _0x24e5d9(_0xd92e72,_0x52d424,_0xf5c416);},'yzsUP':function(_0x1f138a,_0x922b9c){return _0x1f138a*_0x922b9c;},'ELpeI':function(_0x3da830,_0x1bc5ce){return _0x3da830===_0x1bc5ce;},'uDAOT':_0x561f9b(0x1e1),'SMJyo':_0x561f9b(0x1c9),'hoCqF':_0x561f9b(0x193),'ZRMHZ':'jest_browserstack_results.json','PJLJV':_0x561f9b(0x1a3),'mUFjr':_0x561f9b(0x160),'uPQAj':_0x561f9b(0x168),'noEUk':_0x561f9b(0x1a8),'Qcrxq':_0x561f9b(0x133),'eYSLO':_0x561f9b(0x1a2),'MAyTF':_0x561f9b(0x1e6),'PwqNF':function(_0x1c2440,_0x51e547){return _0x1c2440(_0x51e547);},'HAUlT':'test-observability','nWCkQ':'data-hooks.js','vNomC':_0x561f9b(0x1d3),'uYBiR':_0x561f9b(0x1e9),'mQCYS':_0x561f9b(0x1ca),'gFBUM':_0x561f9b(0x1aa),'qFSXi':_0x561f9b(0x1ad),'zPTKU':function(_0x4feaca,_0x3a233d){return _0x4feaca>_0x3a233d;},'NyALY':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','NqhGf':'npx','mopJT':'--config','YaonE':function(_0x34455c,_0x458e6e){return _0x34455c===_0x458e6e;},'EiBez':_0x561f9b(0x170),'sQSSS':_0x561f9b(0x14a),'YrltJ':_0x561f9b(0x154)};helper[_0x561f9b(0x1f5)]()?(await _0x45abe7[_0x561f9b(0x184)](_0x54ba19),await helper['handleApp'](_0x45abe7[_0x561f9b(0x192)])):await _0x45abe7[_0x561f9b(0x140)]();if(!_0x45abe7[_0x561f9b(0x192)])return;_0x4ebce0['etSLg'](_0x45abe7['config'][_0x561f9b(0x171)],null)?process[_0x561f9b(0x1c0)][_0x561f9b(0x1c5)]=_0x45abe7[_0x561f9b(0x192)][_0x561f9b(0x171)]:process[_0x561f9b(0x1c0)][_0x561f9b(0x1c5)]=_0x4ebce0[_0x561f9b(0x194)];const _0x1b0a2b=new TestOrchestrationHandler(_0x45abe7['config']),_0x188bcd=await _0x4ebce0['XYbmo'](getUserJestConfigs,_0x54ba19,_0x2d704c);logger[_0x561f9b(0x161)](_0x4ebce0[_0x561f9b(0x1cb)]);const _0x25477c=Object[_0x561f9b(0x172)]({},_0x188bcd);_0x25477c[_0x561f9b(0x174)]=Object[_0x561f9b(0x172)]({},_0x25477c[_0x561f9b(0x174)],{'server':helper[_0x561f9b(0x19d)](_0x45abe7[_0x561f9b(0x192)]),'environment':_0x188bcd[_0x561f9b(0x148)]}),_0x25477c['testEnvironmentOptions']['browserStackPercyOptions']=_0x4ebce0[_0x561f9b(0x18e)](getPercyOptions,_0x45abe7[_0x561f9b(0x192)]);const _0x2a314b=helper[_0x561f9b(0x1d1)](_0x45abe7[_0x561f9b(0x192)]);!helper[_0x561f9b(0x1b1)](_0x45abe7[_0x561f9b(0x192)][_0x561f9b(0x14d)])&&(process[_0x561f9b(0x1c0)][_0x561f9b(0x1c7)]=JSON[_0x561f9b(0x13a)](_0x45abe7[_0x561f9b(0x192)][_0x561f9b(0x14d)]));const _0x4d973d=await TestHubHandler[_0x561f9b(0x189)](FRAMEWORKS[_0x561f9b(0x1de)],_0x45abe7),_0x3cf042=helper[_0x561f9b(0x146)](_0x45abe7[_0x561f9b(0x192)],_0x2a314b,constants[_0x561f9b(0x19e)][_0x561f9b(0x1de)]);let _0x13796b=_0x45abe7[_0x561f9b(0x192)]['accessibility'];_0x13796b=_0x13796b||accessibilityHelper[_0x561f9b(0x1b0)](_0x45abe7[_0x561f9b(0x192)]),process['env'][_0x561f9b(0x1ab)]=_0x13796b,_0x25477c[_0x561f9b(0x174)][_0x561f9b(0x1cf)]=_0x3cf042,_0x25477c['testEnvironmentOptions'][_0x561f9b(0x1ec)]=_0x4ebce0[_0x561f9b(0x15e)](getSerial,_0x3cf042,_0x54ba19),_0x25477c[_0x561f9b(0x174)][_0x561f9b(0x197)]=_0x4ebce0['imNlg'](getMaxWorkers,_0x54ba19,_0x45abe7[_0x561f9b(0x192)],_0x188bcd),_0x25477c[_0x561f9b(0x174)][_0x561f9b(0x1e2)]=_0x45abe7[_0x561f9b(0x192)][_0x561f9b(0x1e2)],_0x25477c[_0x561f9b(0x174)]['timeout__']=_0x4ebce0['yzsUP'](_0x54ba19[_0x561f9b(0x1d2)],0x1)||0x1388,_0x25477c['testEnvironmentOptions']['skipSessionName']=_0x45abe7['config']['testContextOptions'][_0x561f9b(0x14f)],_0x25477c[_0x561f9b(0x174)][_0x561f9b(0x15d)]=_0x45abe7['config'][_0x561f9b(0x13e)][_0x561f9b(0x15d)],_0x25477c[_0x561f9b(0x174)][_0x561f9b(0x1d5)]=_0x45abe7['config']['logLevel'],_0x25477c['testEnvironmentOptions'][_0x561f9b(0x15a)]=_0x45abe7[_0x561f9b(0x192)][_0x561f9b(0x15a)],_0x25477c[_0x561f9b(0x174)][_0x561f9b(0x1a5)]=_0x45abe7[_0x561f9b(0x192)][_0x561f9b(0x1b3)];const _0x3e3d4f=helper['parseTestOrchestrationOptions'](_0x45abe7['config']);if(!helper[_0x561f9b(0x1b4)](_0x3e3d4f)){helper[_0x561f9b(0x1f2)](_0x3e3d4f[_0x561f9b(0x1c6)])&&(_0x25477c[_0x561f9b(0x174)][_0x561f9b(0x150)]=_0x3e3d4f[_0x561f9b(0x1c6)][_0x561f9b(0x199)]);if(helper['isNotUndefined'](_0x3e3d4f[_0x561f9b(0x1a4)])&&helper['isNotUndefined'](_0x3e3d4f[_0x561f9b(0x1a4)][_0x561f9b(0x1b5)])){const _0x1459b0={};_0x1459b0[_0x561f9b(0x1d0)]=_0x3e3d4f[_0x561f9b(0x1a4)][_0x561f9b(0x15c)],_0x1459b0['workingDir']=_0x3e3d4f[_0x561f9b(0x1a4)][_0x561f9b(0x1b5)],_0x25477c['testEnvironmentOptions']['failFast']=_0x1459b0;}}let _0x159850='';_0x4ebce0['ELpeI'](helper[_0x561f9b(0x14e)](),constants[_0x561f9b(0x19a)][_0x561f9b(0x1e5)])?_0x159850=_0x4ebce0['uDAOT']:_0x159850=_0x4ebce0[_0x561f9b(0x1b2)];const _0x18fe02=_0x159850,_0x3bf21c=path['join'](__dirname,_0x4ebce0['hoCqF'],_0x4ebce0['ZRMHZ']),_0x5315de=path['join'](__dirname,_0x4ebce0[_0x561f9b(0x195)],_0x4ebce0[_0x561f9b(0x1ac)]),_0x4631be=path[_0x561f9b(0x18f)](__dirname,_0x4ebce0[_0x561f9b(0x195)],_0x4ebce0[_0x561f9b(0x1bc)]);_0x25477c[_0x561f9b(0x148)]&&(process['env'][_0x561f9b(0x18a)]=_0x25477c[_0x561f9b(0x148)]);_0x25477c[_0x561f9b(0x148)]=path[_0x561f9b(0x18f)](__dirname,_0x4ebce0[_0x561f9b(0x195)],_0x4ebce0[_0x561f9b(0x17c)]),_0x25477c[_0x561f9b(0x1df)]=_0x5315de,_0x25477c[_0x561f9b(0x1d4)]=_0x25477c[_0x561f9b(0x1d4)]||[],_0x25477c[_0x561f9b(0x1d4)][_0x561f9b(0x136)](path['join'](__dirname,_0x4ebce0[_0x561f9b(0x13b)]));_0x1b0a2b['isTestOrchestrationEnabled']()&&(_0x25477c['testSequencer']=path[_0x561f9b(0x18f)](__dirname,_0x4ebce0[_0x561f9b(0x195)],_0x4ebce0[_0x561f9b(0x198)]));if(testhubUtils[_0x561f9b(0x1f0)]()){let _0x3838ce=null;try{_0x3838ce=helper[_0x561f9b(0x183)](_0x4ebce0[_0x561f9b(0x14b)],_0x4ebce0[_0x561f9b(0x1e7)]);}catch(_0x597560){_0x4ebce0[_0x561f9b(0x1c8)](debug,_0x561f9b(0x181)+_0x597560);}_0x3838ce&&(_0x25477c[_0x561f9b(0x1d4)]['push'](path[_0x561f9b(0x18f)](__dirname,_0x4ebce0['HAUlT'],_0x4ebce0[_0x561f9b(0x162)])),_0x25477c['testRunner']=path['join'](__dirname,_0x4ebce0[_0x561f9b(0x195)],_0x4ebce0[_0x561f9b(0x1be)]));}_0x25477c['setupFiles']=_0x25477c['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x25477c['setupFiles'][_0x561f9b(0x136)](path['join'](__dirname,_0x4ebce0[_0x561f9b(0x1ba)]));}catch{logger['debug'](_0x4ebce0['mQCYS']);}_0x25477c[_0x561f9b(0x18b)]=_0x25477c[_0x561f9b(0x18b)]||[_0x4ebce0['gFBUM']],_0x4ebce0[_0x561f9b(0x15e)](updateTestRerunConfig,_0x25477c,_0x45abe7);const _0x5d1f4e=fs[_0x561f9b(0x16f)](_0x4631be);fs['writeFileSync'](_0x25477c[_0x561f9b(0x1df)],_0x561f9b(0x17d)+_0x5d1f4e+'\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'+_0x45abe7[_0x561f9b(0x192)]['platforms'][_0x561f9b(0x1c1)]+';\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[_0x561f9b(0x161)](_0x561f9b(0x196)+_0x18fe02+_0x561f9b(0x132)),fs[_0x561f9b(0x1d9)](_0x18fe02,_0x561f9b(0x1ae)+JSON[_0x561f9b(0x13a)](_0x25477c)+'\x0amodule.exports\x20=\x20config;');if(_0x1b0a2b[_0x561f9b(0x1bf)]()){logger['debug'](_0x4ebce0['qFSXi']);const _0x5e9bb6=await _0x1b0a2b[_0x561f9b(0x142)](_0x25477c,_0x2d704c['slice'](0x1),_0x18fe02);logger[_0x561f9b(0x16e)](_0x561f9b(0x155)+JSON[_0x561f9b(0x13a)](_0x5e9bb6)+_0x561f9b(0x191));const _0x275b3e=await _0x1b0a2b[_0x561f9b(0x1e4)](_0x5e9bb6);logger[_0x561f9b(0x16e)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x561f9b(0x13a)](_0x275b3e)),_0x275b3e&&_0x4ebce0['zPTKU'](_0x275b3e['length'],0x0)&&(process[_0x561f9b(0x1c0)]['JEST_TEST_ORDER']=_0x275b3e?.['join'](','));}logger[_0x561f9b(0x161)](_0x4ebce0[_0x561f9b(0x1b6)]);testhubUtils[_0x561f9b(0x1f0)]()&&TestDetails['setup']();helper[_0x561f9b(0x1f1)]({},_0x2d704c),PerformanceTester['end'](PerformanceEvents[_0x561f9b(0x13d)]);const _0x5a3c6b=_0x4ebce0['imNlg'](spawn,_0x4ebce0[_0x561f9b(0x19b)],[_0x4ebce0[_0x561f9b(0x1e3)],_0x4ebce0[_0x561f9b(0x185)],_0x18fe02,..._0x2d704c[_0x561f9b(0x143)](0x1)],{'shell':_0x4ebce0['YaonE'](process[_0x561f9b(0x1c2)],_0x4ebce0[_0x561f9b(0x178)]),'stdio':_0x4ebce0[_0x561f9b(0x1cd)],'env':Object[_0x561f9b(0x172)]({},process[_0x561f9b(0x1c0)])});_0x5a3c6b['on'](_0x4ebce0[_0x561f9b(0x169)],async _0x11283c=>{const _0x27e089=_0x561f9b;PerformanceTester[_0x27e089(0x1bb)](PerformanceEvents[_0x27e089(0x137)]);try{const {browserstackFolderPath:_0x394ec2,tcgConfigPath:_0x580b55}=helper[_0x27e089(0x1ed)]();fs[_0x27e089(0x1f3)](_0x580b55),fs['rmdirSync'](_0x394ec2);}catch(_0xb7a25d){logger['debug'](_0x4ebce0[_0x27e089(0x144)],_0xb7a25d);}process[_0x27e089(0x177)]=_0x11283c,logger[_0x27e089(0x16e)](_0x27e089(0x167)+_0x11283c),logger['info']('Deleting\x20'+_0x18fe02);if(helper[_0x27e089(0x1f2)](_0x3e3d4f)&&helper['isNotUndefined'](_0x3e3d4f[_0x27e089(0x1a4)])&&fs[_0x27e089(0x187)](_0x3e3d4f[_0x27e089(0x1a4)][_0x27e089(0x1b5)]))try{const _0xd7e2b={};_0xd7e2b['recursive']=!![],_0xd7e2b[_0x27e089(0x138)]=!![],fs[_0x27e089(0x175)](_0x3e3d4f[_0x27e089(0x1a4)][_0x27e089(0x1b5)],_0xd7e2b),logger[_0x27e089(0x16e)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x3e3d4f['abortBuildOnFailure']['workingDir']);}catch(_0x3621ab){logger[_0x27e089(0x163)](_0x27e089(0x165)+_0x3621ab);}let _0x50ff9a=null;if(fs[_0x27e089(0x187)](_0x3bf21c)){_0x50ff9a=fs[_0x27e089(0x16f)](_0x3bf21c);try{_0x50ff9a=JSON[_0x27e089(0x1eb)](_0x50ff9a);}catch(_0x4bfb8d){logger[_0x27e089(0x16e)](_0x27e089(0x1ee)+_0x3bf21c+',\x20'+_0x50ff9a+_0x27e089(0x17b)+_0x4bfb8d);}fs['unlinkSync'](_0x3bf21c);}fs[_0x27e089(0x1f3)](_0x18fe02),fs[_0x27e089(0x1f3)](_0x5315de),_0x50ff9a&&(_0x45abe7[_0x27e089(0x134)]=helper[_0x27e089(0x135)](_0x50ff9a,_0x4ebce0[_0x27e089(0x1e3)],_0x45abe7));try{await TestHubHandler[_0x27e089(0x156)]();}catch(_0x1712c0){console[_0x27e089(0x1d6)](_0x1712c0),_0x4ebce0[_0x27e089(0x18e)](debug,_0x27e089(0x141)+util['format'](_0x1712c0));}testOpsHelper[_0x27e089(0x147)](),TestDetails[_0x27e089(0x1a1)](),await utilities[_0x27e089(0x151)](_0x45abe7);});}function a16_0x4568(){const _0x4ae06c=['customTestRunnerTemplate.js','info','nWCkQ','error','65040uCjUnf','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','cjs','child\x20process\x20exited\x20with\x20code\x20','customEnvironment.js','YrltJ','SwuhU','--config','winstonLogger','jest-config','debug','readFileSync','win32','testObservability','assign','555314JSqsJQ','testEnvironmentOptions','rmSync','maxWorkers','exitCode','EiBez','parallelsPerPlatform','child_process','\x20:\x20','uPQAj','\x0a\x20\x20\x20\x20','821970atPaMX','Getting\x20your\x20jest\x20configs\x20from\x20package.json','75hueArq','Unable\x20to\x20find\x20jest-circus,\x20','json','requireModule','initialize','mopJT','IzApi','existsSync','../../helpers/performance/performance-tester','launchBuild','BSTACK_JEST_TEST_ENV','reporters','exports','pEmYb','xIwSc','join','splice','\x20test\x20files\x20to\x20run.','config','customImplements','VpUZR','hoCqF','Creating\x20','parallels__','Qcrxq','maxRetries','PACKAGE_TYPE','NqhGf','jest','getHubUrl','FRAMEWORKS','KVKSE','package.json','shutdown','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','customTestRunner.js','abortBuildOnFailure','platformCaps','runInBand','EVENTS','jest.setup.js','../../helpers/test-orchestration/testOrchestrationHandler','default','BROWSERSTACK_TEST_ACCESSIBILITY_YML','PJLJV','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','const\x20config=','util','checkAccessibilityPlatformConfig','isUndefined','SMJyo','platforms','isEmpty','workingDir','NyALY','18PFaHqi','5690047cNhBqS','CAQGt','uYBiR','start','mUFjr','ubkpJ','vNomC','isTestOrchestrationEnabled','env','length','platform','../../helpers/percy/utils','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_OBSERVABILITY_YML','retryTestsOnFailure','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PwqNF','jest_browserstack.config.js','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','uioSj','aAfwM','sQSSS','../../helpers/utilities','capabilities','failureThresholdCount','useW3C','testTimeout','customCircus.js','setupFilesAfterEnv','browserStackLogLevel','log','../../helpers/testhub/utils','363564NTLKnj','writeFileSync','../../helpers/logger','83652KcHzAk','ioZMi','20620WzmWlp','JEST','runner','../../helpers/test-observability/constants','jest_browserstack.config.cjs','proxySettings','HtZqP','reorderTestFiles','MODULE','jest-circus','MAyTF','path','test_before.setup.js','resolve','parse','serial__','getTCGConfigFilePaths','Error\x20while\x20parsing\x20','../utils/constants','shouldProcessEventForTesthub','filterBrowserstackArgs','isNotUndefined','unlinkSync','3hNLZCc','isBrowserstackInfra','qdcAV','error\x20removing\x20tcg\x20config\x20file','USER_CONFIG_DETAILS_PATH','\x20with\x20browserstack\x20jest\x20configs','customSequencer.js','errorMessage','getErrorMessageFromResults','push','SDK_CLEANUP','force','Getting\x20your\x20jest\x20configs\x20from\x20','stringify','noEUk','true','SDK_SETUP','testContextOptions','../../helpers/test-observability/utils','setupTCGAuth','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','findTestFiles','slice','TcRMp','EGAxn','prepareCapabilities','printBuildLink','testEnvironment','252wshxsw','inherit','eYSLO','false','accessibilityOptions','getPackageType','skipSessionName','retries__','finalExecution','./test-observability/test-details','../../helpers/helper','close','Found:\x20','stop','mpcCk','./test-observability/helper','cwd','turboScaleUrl','Elgqf','maxFailures','skipSessionStatus','XYbmo','jest-config/build/readConfigFileAndSetRootDir.js'];a16_0x4568=function(){return _0x4ae06c;};return a16_0x4568();}module[a16_0x8e06f9(0x18c)]=run;
2
+ 'use strict';function a16_0x128f(){const _0x5177c4=['getTCGConfigFilePaths','testEnvironment','cjs','skipSessionName','Reodered\x20Test\x20Files:\x20','data-hooks.js','gSvhi','parallelsPerPlatform','HBRaz','RWIIU','length','customEnvironment.js','maxFailures','pXBMo','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','Giyry','capabilities','reporters','failureThresholdCount','resolve','../../helpers/helper','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','abortBuildOnFailure','existsSync','jest_browserstack_results.json','accessibility','false','395281LLPVwl','setupTCGAuth','utGJl','json','testEnvironmentOptions','Unable\x20to\x20find\x20jest-circus,\x20','GaOUg','start','Creating\x20','skipSessionStatus','true','UfueT','customCircus.js','../../helpers/logger','winstonLogger','KWefC','jest','readFileSync','logLevel','isUndefined','GLoYj','default','stop','cnuQh','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','EVENTS','../../helpers/testhub/testhubHandler','\x0amodule.exports\x20=\x20config;','unlinkSync','testSequencer','setupFiles','jest.config.','maxWorkers','child_process','jest-config/build/readConfigFileAndSetRootDir.js','parseTestOrchestrationOptions',';\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','ujdNO','assign','Deleting\x20','nTUhM','launchBuild','customImplements','platforms','getPackageType','customSequencer.js','const\x20config=','parallels__','jest-config','handleApp','failFast','Error\x20while\x20parsing\x20','../../helpers/test-observability/utils','exitCode','64kVsJUd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','requireModule','format','\x20:\x20','path','splice','GAxTY','reorderTestFiles','Found:\x20','util','shutdown','testTimeout','ghDJG','config','debug','./test-observability/test-details','log','../../helpers/performance/constants','sJUCA','requireSeleniumWebdriver','../../helpers/test-orchestration/testOrchestrationHandler','EIQIu','TjadB','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','close','tHlJm','customTestRunner.js','\x20with\x20browserstack\x20jest\x20configs','jest_browserstack.config.js','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','getErrorMessageFromResults','mjs','../../helpers/percy/utils','customTestRunnerTemplate.js','end','join','force','../../helpers/testhub/utils','GqmBJ','browserStackLogLevel','runner','testObservability','proxySettings','NiFhx','aaMnr','fOvfr','FRAMEWORKS','5276474XWfAPx','isBrowserstackInfra','Deleted\x20fail-fast\x20state\x20folder:\x20','isTestOrchestrationEnabled','maxRetries','rysRQ','push','inherit','writeFileSync','yZgTP','turboScaleUrl','workingDir','testContextOptions','NIEce','setupFilesAfterEnv','getHubUrl','retries__','1482285aaunlj','stringify','ODuMs','checkAccessibilityPlatformConfig','JEST','--config','OAazJ','error','3343158MuoZzq','platformCaps','Getting\x20your\x20jest\x20configs\x20from\x20package.json','isNotUndefined','slice','LUaNT','retryTestsOnFailure','jest-circus','browserStackPercyOptions','shouldProcessEventForTesthub','BROWSERSTACK_TEST_OBSERVABILITY_YML','platform','BXChU','runInBand','rmSync','yDdlg','1348tCbdrR','gRFCi','../utils/constants','jest.setup.js','test-observability','2076jpAsMH','info','Getting\x20your\x20jest\x20configs\x20from\x20','exports','../../helpers/accessibility-automation/helper','serial__','finalExecution','../../helpers/test-observability/constants','child\x20process\x20exited\x20with\x20code\x20','win32','NAleR','test_before.setup.js','eBuIi','env','oCTEY','xtbGk','peNnV','LNYbs','../../helpers/BrowserStackSetup','BSTACK_JEST_TEST_ENV','330620niuZyT','yDWWc','ZAOUl','jest_browserstack.config.cjs','1567683XZVfER'];a16_0x128f=function(){return _0x5177c4;};return a16_0x128f();}const a16_0x5c0197=a16_0xfb5f;(function(_0x5da10d,_0x4a5a1c){const _0x45ee34=a16_0xfb5f,_0x488777=_0x5da10d();while(!![]){try{const _0x439298=parseInt(_0x45ee34(0x1e5))/0x1+-parseInt(_0x45ee34(0x1ac))/0x2*(-parseInt(_0x45ee34(0x1b1))/0x3)+-parseInt(_0x45ee34(0x1c5))/0x4+-parseInt(_0x45ee34(0x194))/0x5+-parseInt(_0x45ee34(0x19c))/0x6+-parseInt(_0x45ee34(0x24b))/0x7+-parseInt(_0x45ee34(0x21b))/0x8*(-parseInt(_0x45ee34(0x1c9))/0x9);if(_0x439298===_0x4a5a1c)break;else _0x488777['push'](_0x488777['shift']());}catch(_0x214b0c){_0x488777['push'](_0x488777['shift']());}}}(a16_0x128f,0x89f6a));const fs=require('fs'),path=require(a16_0x5c0197(0x220)),util=require(a16_0x5c0197(0x225)),{spawn}=require(a16_0x5c0197(0x206)),logger=require(a16_0x5c0197(0x1f2))[a16_0x5c0197(0x1f3)],{default:BrowserStackSetup}=require(a16_0x5c0197(0x1c3)),helper=require(a16_0x5c0197(0x1de)),utilities=require('../../helpers/utilities'),constants=require(a16_0x5c0197(0x1ae)),accessibilityHelper=require(a16_0x5c0197(0x1b5)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a16_0x5c0197(0x219)),{debug}=require(a16_0x5c0197(0x219)),TestDetails=require(a16_0x5c0197(0x22b)),{getPercyOptions}=require(a16_0x5c0197(0x23c)),TestHubHandler=require(a16_0x5c0197(0x1ff)),testhubUtils=require(a16_0x5c0197(0x241)),{FRAMEWORKS}=require(a16_0x5c0197(0x1b8)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a16_0x5c0197(0x22d))[a16_0x5c0197(0x1fe)],TestOrchestrationHandler=require(a16_0x5c0197(0x230)),getUserJestConfigs=async(_0xdf54a0,_0x43809e)=>{const _0x5663f3=a16_0x5c0197,_0x5d8d37={'ZmOUy':_0x5663f3(0x207),'aaMnr':_0x5663f3(0x215),'OAazJ':function(_0x1fb8b5,_0x481a56){return _0x1fb8b5||_0x481a56;},'utGJl':function(_0x2e4100,_0x1a15c0){return _0x2e4100(_0x1a15c0);},'TMXgc':'package.json','LUaNT':_0x5663f3(0x19e),'sJUCA':_0x5663f3(0x23b),'gMSXA':_0x5663f3(0x1cc),'LNYbs':_0x5663f3(0x1e8)},_0xf295e9=helper[_0x5663f3(0x21d)](_0x5d8d37['ZmOUy'],_0x5d8d37[_0x5663f3(0x248)]),_0x296db3=_0x43809e['findIndex'](_0x369ce0=>_0x369ce0===_0x5663f3(0x199));if(!helper[_0x5663f3(0x1f8)](_0xdf54a0[_0x5663f3(0x229)])){logger['info'](_0x5663f3(0x1b3)+_0xdf54a0['config']),process[_0x5663f3(0x1be)]['USER_CONFIG_DETAILS_PATH']=_0xdf54a0[_0x5663f3(0x229)];const _0x1371d1=await(0x0,_0xf295e9[_0x5663f3(0x1fa)])(path[_0x5663f3(0x1dd)](_0xdf54a0[_0x5663f3(0x229)]));return _0x43809e[_0x5663f3(0x221)](_0x296db3,0x2),_0x5d8d37[_0x5663f3(0x19a)](_0x1371d1,{});}const _0x5b97a8=_0x5d8d37[_0x5663f3(0x1e7)](require,path[_0x5663f3(0x23f)](process['cwd'](),_0x5d8d37['TMXgc']));if(_0x5b97a8[_0x5663f3(0x1f5)])return logger['info'](_0x5d8d37[_0x5663f3(0x1a1)]),_0x5b97a8[_0x5663f3(0x1f5)];const _0x34e282=['js',_0x5d8d37[_0x5663f3(0x22e)],_0x5d8d37['gMSXA'],_0x5d8d37[_0x5663f3(0x1c2)],'ts'];for(const _0xbc622d of _0x34e282){const _0x33557c=path[_0x5663f3(0x23f)](process['cwd'](),_0x5663f3(0x204)+_0xbc622d);if(fs[_0x5663f3(0x1e1)](_0x33557c)){process[_0x5663f3(0x1be)]['USER_CONFIG_DETAILS_PATH']=_0x33557c;const _0x122590=await(0x0,_0xf295e9[_0x5663f3(0x1fa)])(_0x33557c);return _0x122590;}}return{};},getSerial=(_0x2e3105,_0x292e5a)=>{const _0x129362=a16_0x5c0197,_0x3d705e={};_0x3d705e['gSvhi']=_0x129362(0x1ef),_0x3d705e[_0x129362(0x1bf)]=function(_0xa3a1d8,_0x3f2417){return _0xa3a1d8>_0x3f2417;},_0x3d705e[_0x129362(0x1bd)]=function(_0x1b7cc0,_0x55bf94){return _0x1b7cc0>_0x55bf94;},_0x3d705e[_0x129362(0x188)]=_0x129362(0x1e4);const _0x4a7808=_0x3d705e;let _0x3357d9=_0x4a7808[_0x129362(0x1d0)];return _0x4a7808['oCTEY'](_0x2e3105['length'],0x1)&&(!_0x292e5a[_0x129362(0x1a9)]&&(helper[_0x129362(0x1f8)](_0x292e5a[_0x129362(0x205)])||_0x4a7808[_0x129362(0x1bd)](_0x292e5a[_0x129362(0x205)],0x1)))&&(_0x3357d9=_0x4a7808[_0x129362(0x188)]),_0x3357d9;},getMaxWorkers=(_0x2e56ab,_0x1c33cc,_0x4c2dac)=>{const _0x360ceb=a16_0x5c0197,_0x35ea8d={'ujdNO':function(_0x40d7c2,_0x4e76f8){return _0x40d7c2(_0x4e76f8);}};let _0xfc9049=0x1;if(!helper[_0x360ceb(0x1f8)](_0x1c33cc[_0x360ceb(0x1d1)]))_0xfc9049=_0x35ea8d[_0x360ceb(0x20a)](parseInt,_0x1c33cc[_0x360ceb(0x1d1)]);else{if(!helper[_0x360ceb(0x1f8)](_0x2e56ab[_0x360ceb(0x205)]))_0xfc9049=_0x2e56ab[_0x360ceb(0x205)];else!helper[_0x360ceb(0x1f8)](_0x4c2dac[_0x360ceb(0x205)])&&(_0xfc9049=_0x4c2dac[_0x360ceb(0x205)]);}return _0xfc9049;};async function run(_0x33b55f,_0x24b086,_0x51eae3){const _0x2ea15c=a16_0x5c0197,_0x136f38={'pXBMo':'error\x20removing\x20tcg\x20config\x20file','EIQIu':_0x2ea15c(0x1f5),'NiFhx':function(_0x1eb55a,_0x14178c){return _0x1eb55a(_0x14178c);},'GaOUg':function(_0x45a389,_0x502b0c){return _0x45a389!=_0x502b0c;},'flbNx':'true','YeOss':function(_0x522477,_0xf3f148,_0xd99c73){return _0x522477(_0xf3f148,_0xd99c73);},'GqmBJ':_0x2ea15c(0x239),'NAleR':function(_0x5926e4,_0x4054db){return _0x5926e4(_0x4054db);},'ANSGt':function(_0x3ab557,_0x10e1c3,_0x25d832){return _0x3ab557(_0x10e1c3,_0x25d832);},'GAxTY':function(_0x3b597d,_0x5aae82,_0x31e024,_0x20301f){return _0x3b597d(_0x5aae82,_0x31e024,_0x20301f);},'bTgrr':function(_0x3da7f8,_0x4cefc3){return _0x3da7f8*_0x4cefc3;},'tHlJm':function(_0x2de697,_0x409743){return _0x2de697===_0x409743;},'xtbGk':_0x2ea15c(0x1c8),'Ukttb':_0x2ea15c(0x238),'yDdlg':_0x2ea15c(0x20f),'TjadB':_0x2ea15c(0x1e2),'BXChU':_0x2ea15c(0x236),'Paquh':_0x2ea15c(0x23d),'GLoYj':_0x2ea15c(0x1d5),'NIEce':_0x2ea15c(0x1af),'gRFCi':_0x2ea15c(0x212),'ZAOUl':_0x2ea15c(0x1d8),'YNbOC':_0x2ea15c(0x1a3),'Giyry':function(_0x3021d7,_0x35df9e){return _0x3021d7(_0x35df9e);},'UfueT':_0x2ea15c(0x1b0),'cnuQh':_0x2ea15c(0x1cf),'RWIIU':_0x2ea15c(0x1f1),'nTUhM':_0x2ea15c(0x1bc),'yZgTP':_0x2ea15c(0x233),'dCZFm':_0x2ea15c(0x1fa),'HBRaz':function(_0x105d0b,_0x2ee34a,_0x88e28e){return _0x105d0b(_0x2ee34a,_0x88e28e);},'KWefC':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','ghDJG':function(_0x39cd69,_0x33f16f){return _0x39cd69>_0x33f16f;},'yDWWc':_0x2ea15c(0x1fd),'fOvfr':'npx','VikFd':_0x2ea15c(0x199),'ODuMs':_0x2ea15c(0x1ba),'peNnV':_0x2ea15c(0x18a),'saRkY':_0x2ea15c(0x234)};helper[_0x2ea15c(0x24c)]()?(await _0x51eae3['initialize'](_0x33b55f),await helper[_0x2ea15c(0x216)](_0x51eae3[_0x2ea15c(0x229)])):await _0x51eae3[_0x2ea15c(0x1e6)]();if(!_0x51eae3['config'])return;_0x136f38[_0x2ea15c(0x1eb)](_0x51eae3[_0x2ea15c(0x229)]['testObservability'],null)?process[_0x2ea15c(0x1be)][_0x2ea15c(0x1a6)]=_0x51eae3[_0x2ea15c(0x229)][_0x2ea15c(0x245)]:process[_0x2ea15c(0x1be)][_0x2ea15c(0x1a6)]=_0x136f38['flbNx'];const _0x215013=new TestOrchestrationHandler(_0x51eae3['config']),_0x464501=await _0x136f38['YeOss'](getUserJestConfigs,_0x33b55f,_0x24b086);logger[_0x2ea15c(0x1b2)](_0x136f38[_0x2ea15c(0x242)]);const _0x194833=Object[_0x2ea15c(0x20b)]({},_0x464501);_0x194833[_0x2ea15c(0x1e9)]=Object[_0x2ea15c(0x20b)]({},_0x194833['testEnvironmentOptions'],{'server':helper[_0x2ea15c(0x192)](_0x51eae3[_0x2ea15c(0x229)]),'environment':_0x464501[_0x2ea15c(0x1cb)]}),_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x1a4)]=_0x136f38[_0x2ea15c(0x1bb)](getPercyOptions,_0x51eae3[_0x2ea15c(0x229)]);const _0x3b7011=helper['useW3C'](_0x51eae3['config']);!helper['isUndefined'](_0x51eae3[_0x2ea15c(0x229)]['accessibilityOptions'])&&(process[_0x2ea15c(0x1be)][_0x2ea15c(0x21c)]=JSON[_0x2ea15c(0x195)](_0x51eae3[_0x2ea15c(0x229)]['accessibilityOptions']));const _0x1295e8=await TestHubHandler[_0x2ea15c(0x20e)](FRAMEWORKS[_0x2ea15c(0x198)],_0x51eae3),_0x5d16e2=helper['prepareCapabilities'](_0x51eae3['config'],_0x3b7011,constants[_0x2ea15c(0x24a)]['JEST']);let _0x4c9fd9=_0x51eae3[_0x2ea15c(0x229)][_0x2ea15c(0x1e3)];_0x4c9fd9=_0x4c9fd9||accessibilityHelper[_0x2ea15c(0x197)](_0x51eae3['config']),process[_0x2ea15c(0x1be)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4c9fd9,_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x1da)]=_0x5d16e2,_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x1b6)]=_0x136f38['ANSGt'](getSerial,_0x5d16e2,_0x33b55f),_0x194833['testEnvironmentOptions'][_0x2ea15c(0x214)]=_0x136f38[_0x2ea15c(0x222)](getMaxWorkers,_0x33b55f,_0x51eae3[_0x2ea15c(0x229)],_0x464501),_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x246)]=_0x51eae3[_0x2ea15c(0x229)][_0x2ea15c(0x246)],_0x194833[_0x2ea15c(0x1e9)]['timeout__']=_0x136f38['bTgrr'](_0x33b55f[_0x2ea15c(0x227)],0x1)||0x1388,_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x1cd)]=_0x51eae3[_0x2ea15c(0x229)][_0x2ea15c(0x18f)][_0x2ea15c(0x1cd)],_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x1ee)]=_0x51eae3['config'][_0x2ea15c(0x18f)][_0x2ea15c(0x1ee)],_0x194833['testEnvironmentOptions'][_0x2ea15c(0x243)]=_0x51eae3['config'][_0x2ea15c(0x1f7)],_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x18d)]=_0x51eae3[_0x2ea15c(0x229)][_0x2ea15c(0x18d)],_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x19d)]=_0x51eae3[_0x2ea15c(0x229)][_0x2ea15c(0x210)];const _0x4ea726=helper[_0x2ea15c(0x208)](_0x51eae3['config']);if(!helper['isEmpty'](_0x4ea726)){helper[_0x2ea15c(0x19f)](_0x4ea726[_0x2ea15c(0x1a2)])&&(_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x193)]=_0x4ea726[_0x2ea15c(0x1a2)][_0x2ea15c(0x24f)]);if(helper[_0x2ea15c(0x19f)](_0x4ea726[_0x2ea15c(0x1e0)])&&helper[_0x2ea15c(0x19f)](_0x4ea726[_0x2ea15c(0x1e0)]['workingDir'])){const _0x4db5f6={};_0x4db5f6[_0x2ea15c(0x1dc)]=_0x4ea726[_0x2ea15c(0x1e0)][_0x2ea15c(0x1d6)],_0x4db5f6[_0x2ea15c(0x18e)]=_0x4ea726[_0x2ea15c(0x1e0)]['workingDir'],_0x194833[_0x2ea15c(0x1e9)][_0x2ea15c(0x217)]=_0x4db5f6;}}let _0x2e6f4f='';_0x136f38['tHlJm'](helper[_0x2ea15c(0x211)](),constants['PACKAGE_TYPE']['MODULE'])?_0x2e6f4f=_0x136f38[_0x2ea15c(0x1c0)]:_0x2e6f4f=_0x136f38['Ukttb'];const _0x3f60dd=_0x2e6f4f,_0x3860e8=path[_0x2ea15c(0x23f)](__dirname,_0x136f38['yDdlg'],_0x136f38[_0x2ea15c(0x232)]),_0xd4f45d=path[_0x2ea15c(0x23f)](__dirname,_0x136f38[_0x2ea15c(0x1ab)],_0x136f38[_0x2ea15c(0x1a8)]),_0x552a46=path[_0x2ea15c(0x23f)](__dirname,_0x136f38[_0x2ea15c(0x1ab)],_0x136f38['Paquh']);_0x194833[_0x2ea15c(0x1cb)]&&(process['env'][_0x2ea15c(0x1c4)]=_0x194833[_0x2ea15c(0x1cb)]);_0x194833['testEnvironment']=path['join'](__dirname,_0x136f38[_0x2ea15c(0x1ab)],_0x136f38[_0x2ea15c(0x1f9)]),_0x194833[_0x2ea15c(0x244)]=_0xd4f45d,_0x194833['setupFilesAfterEnv']=_0x194833[_0x2ea15c(0x191)]||[],_0x194833['setupFilesAfterEnv']['push'](path[_0x2ea15c(0x23f)](__dirname,_0x136f38[_0x2ea15c(0x190)]));_0x215013[_0x2ea15c(0x24e)]()&&(_0x194833[_0x2ea15c(0x202)]=path[_0x2ea15c(0x23f)](__dirname,_0x136f38[_0x2ea15c(0x1ab)],_0x136f38[_0x2ea15c(0x1ad)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x1b91e1=null;try{_0x1b91e1=helper[_0x2ea15c(0x21d)](_0x136f38[_0x2ea15c(0x1c7)],_0x136f38['YNbOC']);}catch(_0x3c9b15){_0x136f38[_0x2ea15c(0x1d9)](debug,_0x2ea15c(0x1ea)+_0x3c9b15);}_0x1b91e1&&(_0x194833[_0x2ea15c(0x191)][_0x2ea15c(0x189)](path[_0x2ea15c(0x23f)](__dirname,_0x136f38[_0x2ea15c(0x1f0)],_0x136f38[_0x2ea15c(0x1fc)])),_0x194833['testRunner']=path[_0x2ea15c(0x23f)](__dirname,_0x136f38[_0x2ea15c(0x1ab)],_0x136f38[_0x2ea15c(0x1d3)]));}_0x194833[_0x2ea15c(0x203)]=_0x194833[_0x2ea15c(0x203)]||[];try{helper[_0x2ea15c(0x22f)](),_0x194833[_0x2ea15c(0x203)][_0x2ea15c(0x189)](path[_0x2ea15c(0x23f)](__dirname,_0x136f38[_0x2ea15c(0x20d)]));}catch{logger[_0x2ea15c(0x22a)](_0x136f38[_0x2ea15c(0x18c)]);}_0x194833[_0x2ea15c(0x1db)]=_0x194833[_0x2ea15c(0x1db)]||[_0x136f38['dCZFm']],_0x136f38[_0x2ea15c(0x1d2)](updateTestRerunConfig,_0x194833,_0x51eae3);const _0x5ac897=fs[_0x2ea15c(0x1f6)](_0x552a46);fs[_0x2ea15c(0x18b)](_0x194833[_0x2ea15c(0x244)],'\x0a\x20\x20\x20\x20'+_0x5ac897+'\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'+_0x51eae3[_0x2ea15c(0x229)][_0x2ea15c(0x210)][_0x2ea15c(0x1d4)]+_0x2ea15c(0x209)),logger[_0x2ea15c(0x1b2)](_0x2ea15c(0x1ed)+_0x3f60dd+_0x2ea15c(0x237)),fs[_0x2ea15c(0x18b)](_0x3f60dd,_0x2ea15c(0x213)+JSON['stringify'](_0x194833)+_0x2ea15c(0x200));if(_0x215013[_0x2ea15c(0x24e)]()){logger[_0x2ea15c(0x22a)](_0x136f38[_0x2ea15c(0x1f4)]);const _0x3d7393=await _0x215013['findTestFiles'](_0x194833,_0x24b086['slice'](0x1),_0x3f60dd);logger[_0x2ea15c(0x22a)](_0x2ea15c(0x224)+JSON[_0x2ea15c(0x195)](_0x3d7393)+'\x20test\x20files\x20to\x20run.');const _0x546263=await _0x215013[_0x2ea15c(0x223)](_0x3d7393);logger['debug'](_0x2ea15c(0x1ce)+JSON[_0x2ea15c(0x195)](_0x546263)),_0x546263&&_0x136f38[_0x2ea15c(0x228)](_0x546263[_0x2ea15c(0x1d4)],0x0)&&(process[_0x2ea15c(0x1be)]['JEST_TEST_ORDER']=_0x546263?.[_0x2ea15c(0x23f)](','));}logger['info'](_0x136f38[_0x2ea15c(0x1c6)]);testhubUtils[_0x2ea15c(0x1a5)]()&&TestDetails['setup']();helper['filterBrowserstackArgs']({},_0x24b086),PerformanceTester[_0x2ea15c(0x23e)](PerformanceEvents['SDK_SETUP']);const _0x345dc0=_0x136f38[_0x2ea15c(0x222)](spawn,_0x136f38[_0x2ea15c(0x249)],[_0x136f38['EIQIu'],_0x136f38['VikFd'],_0x3f60dd,..._0x24b086[_0x2ea15c(0x1a0)](0x1)],{'shell':_0x136f38[_0x2ea15c(0x235)](process[_0x2ea15c(0x1a7)],_0x136f38[_0x2ea15c(0x196)]),'stdio':_0x136f38[_0x2ea15c(0x1c1)],'env':Object[_0x2ea15c(0x20b)]({},process[_0x2ea15c(0x1be)])});_0x345dc0['on'](_0x136f38['saRkY'],async _0x59e15e=>{const _0x41f8fa=_0x2ea15c;PerformanceTester[_0x41f8fa(0x1ec)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x4db1c2,tcgConfigPath:_0x5bbf4c}=helper[_0x41f8fa(0x1ca)]();fs[_0x41f8fa(0x201)](_0x5bbf4c),fs['rmdirSync'](_0x4db1c2);}catch(_0xa06f98){logger[_0x41f8fa(0x22a)](_0x136f38[_0x41f8fa(0x1d7)],_0xa06f98);}process[_0x41f8fa(0x21a)]=_0x59e15e,logger[_0x41f8fa(0x22a)](_0x41f8fa(0x1b9)+_0x59e15e),logger['info'](_0x41f8fa(0x20c)+_0x3f60dd);if(helper['isNotUndefined'](_0x4ea726)&&helper['isNotUndefined'](_0x4ea726[_0x41f8fa(0x1e0)])&&fs[_0x41f8fa(0x1e1)](_0x4ea726['abortBuildOnFailure'][_0x41f8fa(0x18e)]))try{const _0x370e2c={};_0x370e2c['recursive']=!![],_0x370e2c[_0x41f8fa(0x240)]=!![],fs[_0x41f8fa(0x1aa)](_0x4ea726[_0x41f8fa(0x1e0)][_0x41f8fa(0x18e)],_0x370e2c),logger[_0x41f8fa(0x22a)](_0x41f8fa(0x24d)+_0x4ea726['abortBuildOnFailure'][_0x41f8fa(0x18e)]);}catch(_0x3300f9){logger[_0x41f8fa(0x19b)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x3300f9);}let _0x19ba07=null;if(fs['existsSync'](_0x3860e8)){_0x19ba07=fs['readFileSync'](_0x3860e8);try{_0x19ba07=JSON['parse'](_0x19ba07);}catch(_0x33251e){logger[_0x41f8fa(0x22a)](_0x41f8fa(0x218)+_0x3860e8+',\x20'+_0x19ba07+_0x41f8fa(0x21f)+_0x33251e);}fs[_0x41f8fa(0x201)](_0x3860e8);}fs['unlinkSync'](_0x3f60dd),fs[_0x41f8fa(0x201)](_0xd4f45d),_0x19ba07&&(_0x51eae3['errorMessage']=helper[_0x41f8fa(0x23a)](_0x19ba07,_0x136f38[_0x41f8fa(0x231)],_0x51eae3));try{await TestHubHandler[_0x41f8fa(0x1fb)]();}catch(_0x1296c6){console[_0x41f8fa(0x22c)](_0x1296c6),_0x136f38[_0x41f8fa(0x247)](debug,_0x41f8fa(0x1df)+util[_0x41f8fa(0x21e)](_0x1296c6));}testOpsHelper['printBuildLink'](),TestDetails[_0x41f8fa(0x226)](),await utilities[_0x41f8fa(0x1b7)](_0x51eae3);});}function a16_0xfb5f(_0x392519,_0x235e1a){const _0x128f95=a16_0x128f();return a16_0xfb5f=function(_0xfb5f92,_0x32f482){_0xfb5f92=_0xfb5f92-0x188;let _0x460e31=_0x128f95[_0xfb5f92];return _0x460e31;},a16_0xfb5f(_0x392519,_0x235e1a);}module[a16_0x5c0197(0x1b4)]=run;
@@ -1 +1 @@
1
- function a17_0x463e(){const _0x978ca7=['158481LAbxnF','GCwbS','requireInternalModule','path','IQNxj','2403185uAmyTz','3047254aGPyGz','70704ngDRHd','customJestAdapterInit.js','730PGfJkx','jestAdapterInit','jest-circus','66TPxmnN','927252EncucT','12iTBlze','4045956RkxyAw','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','104006ITyfld','azbNu','12SYyjlU','16FvOTKE','exports','join','initRequireModule'];a17_0x463e=function(){return _0x978ca7;};return a17_0x463e();}const a17_0x38e432=a17_0x2b84;(function(_0x1b1313,_0x53d224){const _0x9b03b8=a17_0x2b84,_0x52a4d0=_0x1b1313();while(!![]){try{const _0x1b01d9=parseInt(_0x9b03b8(0x7a))/0x1+-parseInt(_0x9b03b8(0x76))/0x2+parseInt(_0x9b03b8(0x88))/0x3*(-parseInt(_0x9b03b8(0x7c))/0x4)+-parseInt(_0x9b03b8(0x86))/0x5*(-parseInt(_0x9b03b8(0x77))/0x6)+-parseInt(_0x9b03b8(0x87))/0x7*(-parseInt(_0x9b03b8(0x7d))/0x8)+-parseInt(_0x9b03b8(0x81))/0x9*(-parseInt(_0x9b03b8(0x8a))/0xa)+parseInt(_0x9b03b8(0x75))/0xb*(-parseInt(_0x9b03b8(0x78))/0xc);if(_0x1b01d9===_0x53d224)break;else _0x52a4d0['push'](_0x52a4d0['shift']());}catch(_0x3257fa){_0x52a4d0['push'](_0x52a4d0['shift']());}}}(a17_0x463e,0xa2209));const path=require(a17_0x38e432(0x84)),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule(a17_0x38e432(0x79),a17_0x38e432(0x74));initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter['default'];function a17_0x2b84(_0x655777,_0x128dea){const _0x463ea3=a17_0x463e();return a17_0x2b84=function(_0x2b8423,_0x5947ef){_0x2b8423=_0x2b8423-0x73;let _0x239182=_0x463ea3[_0x2b8423];return _0x239182;},a17_0x2b84(_0x655777,_0x128dea);}const FRAMEWORK_INITIALIZER=path[a17_0x38e432(0x7f)](__dirname,a17_0x38e432(0x89));module[a17_0x38e432(0x7e)]=(..._0x5caeb5)=>{const _0x8df8f3=a17_0x38e432,_0x48938f={'azbNu':_0x8df8f3(0x73),'IQNxj':function(_0x53b825,_0x4f14ea){return _0x53b825===_0x4f14ea;},'GCwbS':function(_0x1cfc6c,..._0x276f21){return _0x1cfc6c(..._0x276f21);}};return _0x5caeb5[0x3][_0x8df8f3(0x80)]=_0x5caeb5[0x3]['requireInternalModule'],_0x5caeb5[0x3][_0x8df8f3(0x83)]=(..._0x44c12c)=>{const _0x444d52=_0x8df8f3;if(_0x44c12c[0x0]&&_0x44c12c[0x0]['includes'](_0x48938f[_0x444d52(0x7b)])&&_0x48938f[_0x444d52(0x85)](_0x44c12c[0x1],undefined))return _0x5caeb5[0x3][_0x444d52(0x80)](FRAMEWORK_INITIALIZER);return _0x5caeb5[0x3][_0x444d52(0x80)](..._0x44c12c);},_0x48938f[_0x8df8f3(0x82)](initJestAdapter,..._0x5caeb5);};
1
+ const a17_0x36a468=a17_0x57d9;(function(_0x4eeba0,_0x58f3c9){const _0x1f6fe9=a17_0x57d9,_0x2a26aa=_0x4eeba0();while(!![]){try{const _0x1078b4=parseInt(_0x1f6fe9(0x15e))/0x1+-parseInt(_0x1f6fe9(0x15f))/0x2+parseInt(_0x1f6fe9(0x157))/0x3+-parseInt(_0x1f6fe9(0x165))/0x4+-parseInt(_0x1f6fe9(0x15d))/0x5+parseInt(_0x1f6fe9(0x154))/0x6*(-parseInt(_0x1f6fe9(0x152))/0x7)+-parseInt(_0x1f6fe9(0x15b))/0x8*(-parseInt(_0x1f6fe9(0x164))/0x9);if(_0x1078b4===_0x58f3c9)break;else _0x2a26aa['push'](_0x2a26aa['shift']());}catch(_0xeed103){_0x2a26aa['push'](_0x2a26aa['shift']());}}}(a17_0x5496,0x928e5));function a17_0x57d9(_0xa7ead3,_0x51f7c2){const _0x549600=a17_0x5496();return a17_0x57d9=function(_0x57d9d5,_0x5a6068){_0x57d9d5=_0x57d9d5-0x152;let _0x24a494=_0x549600[_0x57d9d5];return _0x24a494;},a17_0x57d9(_0xa7ead3,_0x51f7c2);}const path=require(a17_0x36a468(0x156)),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule(a17_0x36a468(0x163),a17_0x36a468(0x15a));initJestAdapter=typeof initJestAdapter===a17_0x36a468(0x158)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a17_0x36a468(0x159)](__dirname,a17_0x36a468(0x155));module['exports']=(..._0xf77dda)=>{const _0x274a1b=a17_0x36a468,_0xe15cf9={'eQtpy':'jestAdapterInit','IuoxN':function(_0x5a87a5,_0x4b1c87){return _0x5a87a5===_0x4b1c87;},'YxUEM':function(_0x444017,..._0x1eaa4b){return _0x444017(..._0x1eaa4b);}};return _0xf77dda[0x3][_0x274a1b(0x166)]=_0xf77dda[0x3][_0x274a1b(0x162)],_0xf77dda[0x3][_0x274a1b(0x162)]=(..._0x46dbb7)=>{const _0x5f2445=_0x274a1b;if(_0x46dbb7[0x0]&&_0x46dbb7[0x0][_0x5f2445(0x153)](_0xe15cf9[_0x5f2445(0x160)])&&_0xe15cf9[_0x5f2445(0x15c)](_0x46dbb7[0x1],undefined))return _0xf77dda[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0xf77dda[0x3][_0x5f2445(0x166)](..._0x46dbb7);},_0xe15cf9[_0x274a1b(0x161)](initJestAdapter,..._0xf77dda);};function a17_0x5496(){const _0x37388d=['YxUEM','requireInternalModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','207MNLieY','1953256SFgOUB','initRequireModule','70sBAdUB','includes','554766VxhuCt','customJestAdapterInit.js','path','59694XQZqQu','function','join','jest-circus','838488yKgNVB','IuoxN','216980GFjgkA','525913RaHbIp','1799702pCkzDR','eQtpy'];a17_0x5496=function(){return _0x37388d;};return a17_0x5496();}