browserstack-node-sdk 1.50.3 → 1.50.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a85_0x1b7ddb=a85_0x25bd;(function(_0x1d1d82,_0x37f954){const _0x3499e5=a85_0x25bd,_0x480b85=_0x1d1d82();while(!![]){try{const _0x3c960c=parseInt(_0x3499e5(0x107))/0x1+parseInt(_0x3499e5(0x11d))/0x2*(-parseInt(_0x3499e5(0x13d))/0x3)+-parseInt(_0x3499e5(0x13f))/0x4+-parseInt(_0x3499e5(0x113))/0x5*(parseInt(_0x3499e5(0xfb))/0x6)+parseInt(_0x3499e5(0xfd))/0x7+parseInt(_0x3499e5(0x109))/0x8*(-parseInt(_0x3499e5(0x11f))/0x9)+parseInt(_0x3499e5(0x111))/0xa*(parseInt(_0x3499e5(0xfe))/0xb);if(_0x3c960c===_0x37f954)break;else _0x480b85['push'](_0x480b85['shift']());}catch(_0x156bde){_0x480b85['push'](_0x480b85['shift']());}}}(a85_0x4372,0x26001));const util=require(a85_0x1b7ddb(0x101)),BaseModule=require(a85_0x1b7ddb(0x14b)),{createClassLogger}=require(a85_0x1b7ddb(0x106)),AutomationFramework=require(a85_0x1b7ddb(0x148)),AutomationFrameworkState=require(a85_0x1b7ddb(0x157)),HookState=require(a85_0x1b7ddb(0x105)),TestFramework=require(a85_0x1b7ddb(0xf6)),TestFrameworkState=require(a85_0x1b7ddb(0x124)),PlaywrightDriverModule=require(a85_0x1b7ddb(0x146)),TestFrameworkConstants=require(a85_0x1b7ddb(0x112)),GrpcClient=require(a85_0x1b7ddb(0x123)),CLIUtils=require(a85_0x1b7ddb(0x10e)),TestInfo=require('../TestInfo.js'),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a85_0x1b7ddb(0x108)),helper=require('../../../helpers/helper.js'),LoadTestModule=require('./loadTestModule.js'),JestUtils=require(a85_0x1b7ddb(0x147)),BrowserstackCLI=require('../browserstackCLI.js'),{getPlaywrightProvider,getProductForSession}=require('../../../helpers/helper.js');function a85_0x25bd(_0x2127e4,_0xf1b649){const _0x43721d=a85_0x4372();return a85_0x25bd=function(_0x25bdf0,_0x9864e7){_0x25bdf0=_0x25bdf0-0xf3;let _0xda8190=_0x43721d[_0x25bdf0];return _0xda8190;},a85_0x25bd(_0x2127e4,_0xf1b649);}class TestHubModule extends BaseModule{[a85_0x1b7ddb(0x134)]=createClassLogger(a85_0x1b7ddb(0x12d));constructor(_0xc22d97,_0x153c7f=null){const _0x276fb9=a85_0x1b7ddb,_0x15c803={};_0x15c803[_0x276fb9(0x14d)]=_0x276fb9(0x12f),_0x15c803[_0x276fb9(0x12c)]=_0x276fb9(0x12d);const _0x5c6c03=_0x15c803,_0x2a6004=_0x5c6c03[_0x276fb9(0x14d)][_0x276fb9(0x125)]('|');let _0x3a48fa=0x0;while(!![]){switch(_0x2a6004[_0x3a48fa++]){case'0':process[_0x276fb9(0x15b)][testHubConstants[_0x276fb9(0xfc)][_0x276fb9(0x13c)]]=this[_0x276fb9(0x145)][_0x276fb9(0x102)]();continue;case'1':this[_0x276fb9(0x136)]=new JestUtils();continue;case'2':Object[_0x276fb9(0x156)](TestFrameworkState)['forEach'](_0x3d7413=>{Object['values'](HookState)['forEach'](_0x1e5a52=>{const _0x5ea4f9=a85_0x25bd;TestFramework[_0x5ea4f9(0xf8)](_0x3d7413,_0x1e5a52,this[_0x5ea4f9(0xf4)][_0x5ea4f9(0x150)](this));});});continue;case'3':this[_0x276fb9(0x145)]=_0xc22d97;continue;case'4':AutomationFramework[_0x276fb9(0xf8)](AutomationFrameworkState[_0x276fb9(0x139)],HookState[_0x276fb9(0x149)],this['onPageCreate'][_0x276fb9(0x150)](this));continue;case'5':super(_0x153c7f);continue;case'6':process['env'][testHubConstants['ENV_VAR'][_0x276fb9(0x141)]]=this['testhubConfig'][_0x276fb9(0x11c)]();continue;case'7':this[_0x276fb9(0x114)]=_0x5c6c03[_0x276fb9(0x12c)];continue;case'8':BrowserstackCLI[_0x276fb9(0x104)]=this[_0x276fb9(0x145)][_0x276fb9(0x11c)]();continue;}break;}}[a85_0x1b7ddb(0x135)](){const _0x496f8a=a85_0x1b7ddb;return TestHubModule[_0x496f8a(0x152)];}[a85_0x1b7ddb(0xf4)](_0x411180){const _0x113f21=a85_0x1b7ddb,_0xd60536={};_0xd60536[_0x113f21(0x119)]=function(_0x54ced5,_0x1285de){return _0x54ced5===_0x1285de;};const _0x40665e=_0xd60536,_0x37015c=_0x411180[_0x113f21(0x110)],_0xe68a71=_0x37015c[_0x113f21(0x153)]();(_0x40665e['Opxlf'](_0xe68a71,TestFrameworkState['TEST'])||CLIUtils[_0x113f21(0xf5)](_0xe68a71['toString']()[_0x113f21(0x125)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x411180);}async[a85_0x1b7ddb(0x151)](_0x516529){const _0x224e72=a85_0x1b7ddb,_0x57c4c4={};_0x57c4c4[_0x224e72(0xfa)]=function(_0x5b01d9,_0x312e7e){return _0x5b01d9===_0x312e7e;},_0x57c4c4[_0x224e72(0x13b)]='sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event';const _0x42a744=_0x57c4c4;try{const _0x247327=BrowserstackCLI['getInstance']()[_0x224e72(0x14a)]()[_0x224e72(0x12b)](_0x516529);if(!_0x247327||_0x42a744[_0x224e72(0xfa)](Object[_0x224e72(0xff)](_0x247327)[_0x224e72(0x122)],0x0)){this[_0x224e72(0x134)]['debug'](_0x42a744[_0x224e72(0x13b)]);return;}const _0x46b891=await GrpcClient[_0x224e72(0x126)]()[_0x224e72(0xf7)](_0x247327);this[_0x224e72(0x134)]['debug'](_0x224e72(0x10c)+_0x247327[_0x224e72(0x11e)]+'\x20hookState:\x20'+_0x247327['hookState']);}catch(_0x4596ca){this[_0x224e72(0x134)][_0x224e72(0x116)](_0x224e72(0x14e)+util[_0x224e72(0x10f)](_0x4596ca));}}async[a85_0x1b7ddb(0x100)](_0x1df08e){const _0x44f055=a85_0x1b7ddb,_0x49ee9d={'cywST':function(_0x5e9df7,_0xbd3167){return _0x5e9df7===_0xbd3167;},'nOJoo':'onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','ulOFj':function(_0x41cb61,_0x20e0a5){return _0x41cb61(_0x20e0a5);},'Ldzpf':function(_0x2d6835){return _0x2d6835();},'XUZRC':_0x44f055(0x11a),'aUAof':function(_0x33aa1d,_0xadfd69){return _0x33aa1d===_0xadfd69;}};try{if(_0x1df08e['page']){const _0x401a5d=this[_0x44f055(0x154)](_0x1df08e);this[_0x44f055(0x134)][_0x44f055(0x12a)](_0x44f055(0x132)+_0x401a5d);if(this[_0x44f055(0x13e)]&&_0x49ee9d['cywST'](this[_0x44f055(0x13e)][_0x44f055(0x114)],FRAMEWORKS['JEST'])&&!_0x1df08e[_0x44f055(0x138)]){this[_0x44f055(0x134)][_0x44f055(0x12a)](_0x49ee9d['nOJoo']);return;}let _0x16c648,_0x4920b2;if(this[_0x44f055(0x13e)]&&_0x49ee9d[_0x44f055(0x158)](this[_0x44f055(0x13e)][_0x44f055(0x114)],FRAMEWORKS[_0x44f055(0x11b)]))_0x16c648=_0x401a5d,_0x4920b2=TestInfo[_0x44f055(0x140)](_0x16c648);else this['testFrameworkData']&&_0x49ee9d[_0x44f055(0x158)](this['testFrameworkData'][_0x44f055(0x114)],FRAMEWORKS[_0x44f055(0x121)])?(_0x16c648=this[_0x44f055(0x136)][_0x44f055(0x10a)](_0x1df08e[_0x44f055(0x138)]),this[_0x44f055(0x134)]['debug']('onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x16c648)):(_0x16c648=TestInfo[_0x44f055(0x144)](_0x1df08e['testInfo'],_0x1df08e[_0x44f055(0x138)][_0x44f055(0x130)]),_0x4920b2=TestInfo['getTestUUID'](_0x16c648));const _0x58e53f=TestInfo['getTestDetails'](_0x16c648),_0x5484fb=_0x1df08e['instance'],_0x6d892d=AutomationFramework['getState'](_0x5484fb,PlaywrightDriverModule[_0x44f055(0x159)]),_0x561dc7=_0x58e53f?.[TestFrameworkConstants[_0x44f055(0x12e)]]||this[_0x44f055(0x13e)]&&this[_0x44f055(0x13e)][_0x44f055(0x114)],_0x4f9286=_0x58e53f?.[TestFrameworkConstants[_0x44f055(0x155)]]||this[_0x44f055(0x13e)]&&this[_0x44f055(0x13e)][_0x44f055(0x142)],_0x428a8b=TestFrameworkState['TEST'][_0x44f055(0x127)]()[_0x44f055(0x125)]('.')[0x1],_0x1e98b7=HookState[_0x44f055(0x149)]['toString']()[_0x44f055(0x125)]('.')[0x1],_0x5eae50=_0x5484fb[_0x44f055(0x143)](),_0x323bbd=AutomationFramework[_0x44f055(0x15c)](_0x5484fb,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x5dce08={'provider':_0x49ee9d[_0x44f055(0x137)](getPlaywrightProvider,_0x323bbd),'frameworkName':_0x5484fb[_0x44f055(0x15a)],'frameworkVersion':_0x5484fb['frameworkVersion'],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x44f055(0x15c)](_0x5484fb,PlaywrightDriverModule[_0x44f055(0x117)],''),'ref':_0x5484fb[_0x44f055(0x128)](),'hubUrl':_0x323bbd,'product':_0x49ee9d[_0x44f055(0xf3)](getProductForSession)};let _0x3aa8a0=AutomationFramework[_0x44f055(0x15c)](_0x5484fb,PlaywrightDriverModule[_0x44f055(0x14f)],{});_0x3aa8a0=Buffer[_0x44f055(0x131)](JSON[_0x44f055(0x14c)](_0x3aa8a0))[_0x44f055(0x127)](_0x49ee9d['XUZRC']);const _0x57f45a={'hash':_0x5eae50['getId'](),'threadId':_0x5eae50[_0x44f055(0x13a)]()[_0x44f055(0x127)](),'processId':_0x5eae50[_0x44f055(0x10d)]()[_0x44f055(0x127)]()},_0xd23a90={};_0xd23a90['test_identifier']=_0x16c648;const _0xcd6d38={};_0xcd6d38['testUuid']=_0x4920b2;const _0x3a4f64={'platformIndex':_0x6d892d,'testFrameworkName':_0x561dc7,'testFrameworkVersion':_0x4f9286,'testFrameworkState':_0x428a8b,'testHookState':_0x1e98b7,...this['testFrameworkData']&&_0x49ee9d['aUAof'](this['testFrameworkData'][_0x44f055(0x114)],FRAMEWORKS['JEST'])?_0xd23a90:_0xcd6d38,'automationSession':_0x5dce08,'capabilities':_0x3aa8a0,'executionContext':_0x57f45a};this[_0x44f055(0x134)]['debug'](_0x44f055(0x129)+util[_0x44f055(0x10f)](_0x3a4f64));const _0x28cb7d=await GrpcClient[_0x44f055(0x126)]()[_0x44f055(0x10b)](_0x3a4f64);this[_0x44f055(0x134)][_0x44f055(0x12a)](_0x44f055(0xf9)+_0x401a5d+(this['testFrameworkData']&&_0x49ee9d[_0x44f055(0x118)](this[_0x44f055(0x13e)][_0x44f055(0x114)],FRAMEWORKS[_0x44f055(0x121)])?_0x44f055(0x133)+_0x16c648:''));}}catch(_0x4d7711){this[_0x44f055(0x134)][_0x44f055(0x116)](_0x44f055(0x115)+util[_0x44f055(0x10f)](_0x4d7711));}}}TestHubModule[a85_0x1b7ddb(0x152)]=a85_0x1b7ddb(0x12d),TestHubModule[a85_0x1b7ddb(0x120)]='test_deferred',module[a85_0x1b7ddb(0x103)]=TestHubModule;function a85_0x4372(){const _0x5a8373=['aUAof','Opxlf','base64','CUCUMBER','getBuildHashedId','613838gNEKkm','testFrameworkState','70101fFpgHp','KEY_TEST_DEFERRED','JEST','length','../grpcClient.js','../state/testFrameworkState.js','split','getInstance','toString','getRef','onPageCreate\x20CBTSession\x20payload:\x20','debug','createTestFrameworkEventPayload','oKlOq','TestHubModule','KEY_TEST_FRAMEWORK_NAME','5|7|3|1|4|2|0|6|8','retry','from','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20',',\x20test_identifier:\x20','logger','getModuleName','jestUtils','ulOFj','testInfo','CREATE','getThreadId','DvxxH','BROWSERSTACK_TESTHUB_JWT','3CLMTgO','testFrameworkData','986684DngEgH','getTestUUID','BROWSERSTACK_TESTHUB_UUID','version','getContext','getTestIdentifierFromTestInfo','testhubConfig','./playwrightDriverModule.js','../utils/jest-utils.js','../framework/automationFramework.js','POST','getTestFramework','./baseModule','stringify','jvjcP','Error\x20in\x20sendTestFrameworkEvent:\x20','KEY_CAPABILITIES','bind','sendTestFrameworkEvent','MODULE_NAME','getCurrentTestState','getTestId','KEY_TEST_FRAMEWORK_VERSION','values','../state/automationFrameworkState.js','cywST','KEY_PLATFORM_INDEX','frameworkName','env','getState','Ldzpf','onAllTestEvents','matchHookRegex','../framework/testFramework.js','testFrameworkEvent','registerObserver','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','gVpyK','150DyhntV','ENV_VAR','2178820wwkuTQ','11143OlmfcY','keys','onPageCreate','util','getJwt','exports','O11yHashedID','../state/hookState.js','../../../helpers/classLogger.js','128030mawaZa','../../../helpers/test-observability/constants.js','248icuaAP','recreateIdentifierFromTestInfo','testSessionEvent','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','getProcessId','../cliUtils.js','format','instance','6410ePozOI','../framework/constants/testFrameworkConstants.js','27585JlmFHo','name','Error\x20in\x20sending\x20CBTSession:\x20','error','KEY_SESSION_ID'];a85_0x4372=function(){return _0x5a8373;};return a85_0x4372();}
1
+ const a85_0x1bf01c=a85_0x4222;function a85_0x4138(){const _0x11373a=['qYZMh','\x20hookState:\x20','KEY_TEST_FRAMEWORK_VERSION','TestHubModule','2922begeyz','769985MXMscv','./baseModule','testFrameworkState','fTIEV','logger','BROWSERSTACK_TESTHUB_UUID','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','ovOVu',',\x20test_identifier:\x20','onAllTestEvents','BROWSERSTACK_TESTHUB_JWT','OKqCS','page','toString','error','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','getThreadId','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','length','../cliUtils.js','146gtHbLZ','11069680peFxRR','O11yHashedID','ENV_VAR','debug','61204055RSjkTb','recreateIdentifierFromTestInfo','instance','7393144tLUcNc','../framework/constants/testFrameworkConstants.js','./playwrightDriverModule.js','1698924OyIINz','testInfo','stringify','4eOwrOO','TEST','version','KEY_SESSION_ID','getInstance','frameworkVersion','getTestFramework','keys','createTestFrameworkEventPayload','bind','dIgar','env','getJwt','testSessionEvent','forEach','testhubConfig','CREATE','../browserstackCLI.js','MODULE_NAME','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','zKLvw','18MrPQUq','getTestDetails','values','18854xJbqcE','beuqc','format','base64','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','CUCUMBER','hookState','MWQCS','testFrameworkData','../../../helpers/classLogger.js','../state/testFrameworkState.js','retry','../../../helpers/testhub/constants','../grpcClient.js','test_deferred','test_identifier','KEY_TEST_FRAMEWORK_NAME','registerObserver','frameworkName','testFrameworkEvent','onPageCreate','5|6|1|4|3|7|8|0|2','exports','SrhJA','split','testUuid','getId','JEST','25277TVBfoe','getModuleName','KEY_TEST_DEFERRED','../state/hookState.js','coAQH','getTestIdentifierFromTestInfo','../../../helpers/helper.js','getBuildHashedId','getState','name','getProcessId','from','../utils/jest-utils.js','../framework/automationFramework.js','sendTestFrameworkEvent','../state/automationFrameworkState.js','../../../helpers/test-observability/constants.js'];a85_0x4138=function(){return _0x11373a;};return a85_0x4138();}(function(_0x43a876,_0x413423){const _0x2d8a86=a85_0x4222,_0x351653=_0x43a876();while(!![]){try{const _0x7cf63f=parseInt(_0x2d8a86(0x226))/0x1*(parseInt(_0x2d8a86(0x200))/0x2)+parseInt(_0x2d8a86(0x20b))/0x3+parseInt(_0x2d8a86(0x20e))/0x4*(-parseInt(_0x2d8a86(0x1ec))/0x5)+-parseInt(_0x2d8a86(0x1eb))/0x6*(-parseInt(_0x2d8a86(0x242))/0x7)+-parseInt(_0x2d8a86(0x208))/0x8*(-parseInt(_0x2d8a86(0x223))/0x9)+parseInt(_0x2d8a86(0x201))/0xa+-parseInt(_0x2d8a86(0x205))/0xb;if(_0x7cf63f===_0x413423)break;else _0x351653['push'](_0x351653['shift']());}catch(_0x113610){_0x351653['push'](_0x351653['shift']());}}}(a85_0x4138,0xe51db));function a85_0x4222(_0x513277,_0x14a8e0){const _0x4138c7=a85_0x4138();return a85_0x4222=function(_0x42227e,_0x2fffca){_0x42227e=_0x42227e-0x1e7;let _0x4b65e4=_0x4138c7[_0x42227e];return _0x4b65e4;},a85_0x4222(_0x513277,_0x14a8e0);}const util=require('util'),BaseModule=require(a85_0x1bf01c(0x1ed)),{createClassLogger}=require(a85_0x1bf01c(0x22f)),AutomationFramework=require(a85_0x1bf01c(0x24f)),AutomationFrameworkState=require(a85_0x1bf01c(0x251)),HookState=require(a85_0x1bf01c(0x245)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a85_0x1bf01c(0x230)),PlaywrightDriverModule=require(a85_0x1bf01c(0x20a)),TestFrameworkConstants=require(a85_0x1bf01c(0x209)),GrpcClient=require(a85_0x1bf01c(0x233)),CLIUtils=require(a85_0x1bf01c(0x1ff)),TestInfo=require('../TestInfo.js'),testHubConstants=require(a85_0x1bf01c(0x232)),{FRAMEWORKS}=require(a85_0x1bf01c(0x252)),helper=require(a85_0x1bf01c(0x248)),LoadTestModule=require('./loadTestModule.js'),JestUtils=require(a85_0x1bf01c(0x24e)),BrowserstackCLI=require(a85_0x1bf01c(0x21f)),{getPlaywrightProvider,getProductForSession}=require(a85_0x1bf01c(0x248));class TestHubModule extends BaseModule{['logger']=createClassLogger('TestHubModule');constructor(_0x12729a,_0x1014fd=null){const _0xd4b15=a85_0x1bf01c,_0x14ad21={};_0x14ad21[_0xd4b15(0x227)]=_0xd4b15(0x23b),_0x14ad21[_0xd4b15(0x1f7)]=_0xd4b15(0x1ea);const _0x4623d2=_0x14ad21,_0x2d3b49=_0x4623d2['beuqc']['split']('|');let _0x508236=0x0;while(!![]){switch(_0x2d3b49[_0x508236++]){case'0':process[_0xd4b15(0x219)][testHubConstants[_0xd4b15(0x203)][_0xd4b15(0x1f1)]]=this[_0xd4b15(0x21d)][_0xd4b15(0x249)]();continue;case'1':this['testhubConfig']=_0x12729a;continue;case'2':BrowserstackCLI[_0xd4b15(0x202)]=this['testhubConfig'][_0xd4b15(0x249)]();continue;case'3':AutomationFramework[_0xd4b15(0x237)](AutomationFrameworkState[_0xd4b15(0x21e)],HookState['POST'],this[_0xd4b15(0x23a)][_0xd4b15(0x217)](this));continue;case'4':this['jestUtils']=new JestUtils();continue;case'5':super(_0x1014fd);continue;case'6':this[_0xd4b15(0x24b)]=_0x4623d2[_0xd4b15(0x1f7)];continue;case'7':Object[_0xd4b15(0x225)](TestFrameworkState)['forEach'](_0x34c8e8=>{const _0x4997a9=_0xd4b15;Object[_0x4997a9(0x225)](HookState)[_0x4997a9(0x21c)](_0x4812c9=>{const _0x469255=_0x4997a9;TestFramework[_0x469255(0x237)](_0x34c8e8,_0x4812c9,this[_0x469255(0x1f5)]['bind'](this));});});continue;case'8':process[_0xd4b15(0x219)][testHubConstants[_0xd4b15(0x203)][_0xd4b15(0x1f6)]]=this[_0xd4b15(0x21d)][_0xd4b15(0x21a)]();continue;}break;}}[a85_0x1bf01c(0x243)](){const _0x49b196=a85_0x1bf01c;return TestHubModule[_0x49b196(0x220)];}[a85_0x1bf01c(0x1f5)](_0x40bd44){const _0x5c174e=a85_0x1bf01c,_0x5b52b8={};_0x5b52b8[_0x5c174e(0x23d)]=function(_0x2e0c69,_0x1b3189){return _0x2e0c69===_0x1b3189;};const _0x4b900d=_0x5b52b8,_0x27cd3d=_0x40bd44[_0x5c174e(0x207)],_0x4b3ae8=_0x27cd3d['getCurrentTestState']();(_0x4b900d[_0x5c174e(0x23d)](_0x4b3ae8,TestFrameworkState[_0x5c174e(0x20f)])||CLIUtils['matchHookRegex'](_0x4b3ae8['toString']()[_0x5c174e(0x23e)]('.')[0x1]))&&this[_0x5c174e(0x250)](_0x40bd44);}async['sendTestFrameworkEvent'](_0x402a7b){const _0x331043=a85_0x1bf01c,_0x416f21={};_0x416f21[_0x331043(0x1e7)]=function(_0x24ff3a,_0x9a6e2b){return _0x24ff3a===_0x9a6e2b;},_0x416f21[_0x331043(0x1ef)]=_0x331043(0x1fb);const _0x51e0a5=_0x416f21;try{const _0x223482=BrowserstackCLI[_0x331043(0x212)]()[_0x331043(0x214)]()[_0x331043(0x216)](_0x402a7b);if(!_0x223482||_0x51e0a5['qYZMh'](Object[_0x331043(0x215)](_0x223482)[_0x331043(0x1fe)],0x0)){this[_0x331043(0x1f0)]['debug'](_0x51e0a5[_0x331043(0x1ef)]);return;}const _0x3a82f7=await GrpcClient[_0x331043(0x212)]()[_0x331043(0x239)](_0x223482);this['logger']['debug'](_0x331043(0x22a)+_0x223482[_0x331043(0x1ee)]+_0x331043(0x1e8)+_0x223482[_0x331043(0x22c)]);}catch(_0x31d201){this[_0x331043(0x1f0)]['error']('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x331043(0x228)](_0x31d201));}}async[a85_0x1bf01c(0x23a)](_0x2c4ef6){const _0x4db4e3=a85_0x1bf01c,_0x1601e2={'ovOVu':function(_0xce249e,_0x14de44){return _0xce249e===_0x14de44;},'oraTO':_0x4db4e3(0x221),'coAQH':function(_0x3fef77,_0x346b4d){return _0x3fef77===_0x346b4d;},'dIgar':function(_0x64554b,_0x54e079){return _0x64554b(_0x54e079);},'MWQCS':function(_0x41a134){return _0x41a134();},'zKLvw':_0x4db4e3(0x229)};try{if(_0x2c4ef6[_0x4db4e3(0x1f8)]){const _0x594dc4=this['getTestId'](_0x2c4ef6);this[_0x4db4e3(0x1f0)][_0x4db4e3(0x204)](_0x4db4e3(0x1fd)+_0x594dc4);if(this[_0x4db4e3(0x22e)]&&_0x1601e2[_0x4db4e3(0x1f3)](this['testFrameworkData'][_0x4db4e3(0x24b)],FRAMEWORKS[_0x4db4e3(0x241)])&&!_0x2c4ef6[_0x4db4e3(0x20c)]){this['logger'][_0x4db4e3(0x204)](_0x1601e2['oraTO']);return;}let _0x2e793f,_0x4a546f;if(this['testFrameworkData']&&_0x1601e2[_0x4db4e3(0x246)](this[_0x4db4e3(0x22e)]['name'],FRAMEWORKS[_0x4db4e3(0x22b)]))_0x2e793f=_0x594dc4,_0x4a546f=TestInfo['getTestUUID'](_0x2e793f);else this[_0x4db4e3(0x22e)]&&_0x1601e2[_0x4db4e3(0x246)](this[_0x4db4e3(0x22e)]['name'],FRAMEWORKS[_0x4db4e3(0x241)])?(_0x2e793f=this['jestUtils'][_0x4db4e3(0x206)](_0x2c4ef6[_0x4db4e3(0x20c)]),this['logger'][_0x4db4e3(0x204)](_0x4db4e3(0x1f2)+_0x2e793f)):(_0x2e793f=TestInfo[_0x4db4e3(0x247)](_0x2c4ef6[_0x4db4e3(0x20c)],_0x2c4ef6[_0x4db4e3(0x20c)][_0x4db4e3(0x231)]),_0x4a546f=TestInfo['getTestUUID'](_0x2e793f));const _0x5b31c4=TestInfo[_0x4db4e3(0x224)](_0x2e793f),_0x23ec8a=_0x2c4ef6[_0x4db4e3(0x207)],_0x14d9e4=AutomationFramework['getState'](_0x23ec8a,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x199247=_0x5b31c4?.[TestFrameworkConstants[_0x4db4e3(0x236)]]||this[_0x4db4e3(0x22e)]&&this[_0x4db4e3(0x22e)][_0x4db4e3(0x24b)],_0x1fccb2=_0x5b31c4?.[TestFrameworkConstants[_0x4db4e3(0x1e9)]]||this[_0x4db4e3(0x22e)]&&this[_0x4db4e3(0x22e)][_0x4db4e3(0x210)],_0x49360e=TestFrameworkState['TEST']['toString']()[_0x4db4e3(0x23e)]('.')[0x1],_0x4943f1=HookState['POST'][_0x4db4e3(0x1f9)]()[_0x4db4e3(0x23e)]('.')[0x1],_0x1ead54=_0x23ec8a['getContext'](),_0x211b99=AutomationFramework[_0x4db4e3(0x24a)](_0x23ec8a,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x51883={'provider':_0x1601e2[_0x4db4e3(0x218)](getPlaywrightProvider,_0x211b99),'frameworkName':_0x23ec8a[_0x4db4e3(0x238)],'frameworkVersion':_0x23ec8a[_0x4db4e3(0x213)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x4db4e3(0x24a)](_0x23ec8a,PlaywrightDriverModule[_0x4db4e3(0x211)],''),'ref':_0x23ec8a['getRef'](),'hubUrl':_0x211b99,'product':_0x1601e2[_0x4db4e3(0x22d)](getProductForSession)};let _0x57e9a8=AutomationFramework['getState'](_0x23ec8a,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x57e9a8=Buffer[_0x4db4e3(0x24d)](JSON[_0x4db4e3(0x20d)](_0x57e9a8))[_0x4db4e3(0x1f9)](_0x1601e2[_0x4db4e3(0x222)]);const _0x4878dd={'hash':_0x1ead54[_0x4db4e3(0x240)](),'threadId':_0x1ead54[_0x4db4e3(0x1fc)]()[_0x4db4e3(0x1f9)](),'processId':_0x1ead54[_0x4db4e3(0x24c)]()[_0x4db4e3(0x1f9)]()},_0x5d864f={};_0x5d864f[_0x4db4e3(0x235)]=_0x2e793f;const _0x33b2b5={};_0x33b2b5[_0x4db4e3(0x23f)]=_0x4a546f;const _0x5c3f8e={'platformIndex':_0x14d9e4,'testFrameworkName':_0x199247,'testFrameworkVersion':_0x1fccb2,'testFrameworkState':_0x49360e,'testHookState':_0x4943f1,...this[_0x4db4e3(0x22e)]&&_0x1601e2[_0x4db4e3(0x1f3)](this[_0x4db4e3(0x22e)][_0x4db4e3(0x24b)],FRAMEWORKS[_0x4db4e3(0x241)])?_0x5d864f:_0x33b2b5,'automationSession':_0x51883,'capabilities':_0x57e9a8,'executionContext':_0x4878dd};this[_0x4db4e3(0x1f0)]['debug']('onPageCreate\x20CBTSession\x20payload:\x20'+util[_0x4db4e3(0x228)](_0x5c3f8e));const _0x28ee66=await GrpcClient[_0x4db4e3(0x212)]()[_0x4db4e3(0x21b)](_0x5c3f8e);this[_0x4db4e3(0x1f0)][_0x4db4e3(0x204)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x594dc4+(this['testFrameworkData']&&_0x1601e2[_0x4db4e3(0x1f3)](this[_0x4db4e3(0x22e)][_0x4db4e3(0x24b)],FRAMEWORKS[_0x4db4e3(0x241)])?_0x4db4e3(0x1f4)+_0x2e793f:''));}}catch(_0x4079ce){this[_0x4db4e3(0x1f0)][_0x4db4e3(0x1fa)]('Error\x20in\x20sending\x20CBTSession:\x20'+util['format'](_0x4079ce));}}}TestHubModule[a85_0x1bf01c(0x220)]=a85_0x1bf01c(0x1ea),TestHubModule[a85_0x1bf01c(0x244)]=a85_0x1bf01c(0x234),module[a85_0x1bf01c(0x23c)]=TestHubModule;
@@ -1 +1 @@
1
- const a86_0x2a9376=a86_0xd197;(function(_0x3fec96,_0x31a70e){const _0x4941f2=a86_0xd197,_0x4eebbb=_0x3fec96();while(!![]){try{const _0x4f10f2=parseInt(_0x4941f2(0x108))/0x1*(parseInt(_0x4941f2(0x105))/0x2)+parseInt(_0x4941f2(0x113))/0x3*(parseInt(_0x4941f2(0xff))/0x4)+parseInt(_0x4941f2(0x100))/0x5+parseInt(_0x4941f2(0xfd))/0x6*(-parseInt(_0x4941f2(0x10a))/0x7)+parseInt(_0x4941f2(0x101))/0x8+-parseInt(_0x4941f2(0x110))/0x9*(-parseInt(_0x4941f2(0xfc))/0xa)+parseInt(_0x4941f2(0xfa))/0xb*(-parseInt(_0x4941f2(0xfe))/0xc);if(_0x4f10f2===_0x31a70e)break;else _0x4eebbb['push'](_0x4eebbb['shift']());}catch(_0x28bf3e){_0x4eebbb['push'](_0x4eebbb['shift']());}}}(a86_0x3a89,0xc7b10));const {PLAYWRIGHT}=require('../../utils/constants'),a86_0x2783bf={};a86_0x2783bf['value']=0x0,a86_0x2783bf[a86_0x2a9376(0x106)]=function(){const _0x314ce6=a86_0x2a9376,_0x27496a={};_0x27496a['EWHDj']=_0x314ce6(0xf8);const _0x590f96=_0x27496a;return _0x590f96[_0x314ce6(0x109)];};const a86_0x1d143e={};function a86_0x3a89(){const _0x1ab147=['values','kEmqx','1639746vypNkp','InJTy','freeze','327oRLyui','AutomationFrameworkState.NONE','AutomationFrameworkState.QUIT','27509691bUasKx','value','40goUSYR','6erikUL','12rygoPw','16776eDBLmH','6053015oOUtpj','3970992UMuZfB','AutomationFrameworkState.CREATE','AutomationFrameworkState.IDLE','find','17580MeOMpv','toString','ZGqkc','114FMFmUk','EWHDj','4032994uPxOFe','GYVPv','eduLh','AutomationFrameworkState.PLAYWRIGHT_DISPATCH'];a86_0x3a89=function(){return _0x1ab147;};return a86_0x3a89();}a86_0x1d143e[a86_0x2a9376(0xfb)]=0x1,a86_0x1d143e[a86_0x2a9376(0x106)]=function(){const _0x4c5ec1=a86_0x2a9376,_0x1cdc03={};_0x1cdc03[_0x4c5ec1(0x10b)]=_0x4c5ec1(0x102);const _0xa9b048=_0x1cdc03;return _0xa9b048[_0x4c5ec1(0x10b)];};function a86_0xd197(_0x3c46b6,_0x1473b9){const _0x3a89f2=a86_0x3a89();return a86_0xd197=function(_0xd1970d,_0x4ce357){_0xd1970d=_0xd1970d-0xf8;let _0x2c12b2=_0x3a89f2[_0xd1970d];return _0x2c12b2;},a86_0xd197(_0x3c46b6,_0x1473b9);}const a86_0x5dad67={};a86_0x5dad67[a86_0x2a9376(0xfb)]=0x2,a86_0x5dad67[a86_0x2a9376(0x106)]=function(){const _0x3356a8=a86_0x2a9376,_0x453962={};_0x453962[_0x3356a8(0x111)]=_0x3356a8(0x10d);const _0xfd2733=_0x453962;return _0xfd2733['InJTy'];};const a86_0x1a3794={};a86_0x1a3794[a86_0x2a9376(0xfb)]=0x3,a86_0x1a3794[a86_0x2a9376(0x106)]=function(){const _0xddc348=a86_0x2a9376,_0x309676={};_0x309676['kEmqx']='AutomationFrameworkState.EXECUTE';const _0x1a8873=_0x309676;return _0x1a8873[_0xddc348(0x10f)];};const a86_0x27b2a8={};a86_0x27b2a8[a86_0x2a9376(0xfb)]=0x4,a86_0x27b2a8[a86_0x2a9376(0x106)]=function(){const _0x5b60f6=a86_0x2a9376,_0x1cb9e0={};_0x1cb9e0['eduLh']=_0x5b60f6(0x103);const _0x50ec32=_0x1cb9e0;return _0x50ec32[_0x5b60f6(0x10c)];};const a86_0x55a084={};a86_0x55a084[a86_0x2a9376(0xfb)]=0x5,a86_0x55a084['toString']=function(){const _0x14a193=a86_0x2a9376,_0x2d78a9={};_0x2d78a9[_0x14a193(0x107)]=_0x14a193(0xf9);const _0x37aa29=_0x2d78a9;return _0x37aa29[_0x14a193(0x107)];};const AutomationFrameworkState=Object[a86_0x2a9376(0x112)]({'NONE':a86_0x2783bf,'CREATE':a86_0x1d143e,'PLAYWRIGHT_DISPATCH':a86_0x5dad67,'EXECUTE':a86_0x1a3794,'IDLE':a86_0x27b2a8,'QUIT':a86_0x55a084,'fromValue'(_0x584504){const _0xd648b1=a86_0x2a9376;return Object[_0xd648b1(0x10e)](AutomationFrameworkState)[_0xd648b1(0x104)](_0x39410c=>_0x39410c[_0xd648b1(0xfb)]===_0x584504);}});module['exports']=AutomationFrameworkState;
1
+ const a86_0xc3f384=a86_0x3d87;(function(_0x343cd6,_0x3466bd){const _0x12aa2f=a86_0x3d87,_0x3416cd=_0x343cd6();while(!![]){try{const _0xfeb78f=-parseInt(_0x12aa2f(0xce))/0x1*(parseInt(_0x12aa2f(0xd0))/0x2)+parseInt(_0x12aa2f(0xc2))/0x3*(parseInt(_0x12aa2f(0xc6))/0x4)+-parseInt(_0x12aa2f(0xd1))/0x5+parseInt(_0x12aa2f(0xb9))/0x6*(parseInt(_0x12aa2f(0xb6))/0x7)+-parseInt(_0x12aa2f(0xcb))/0x8+-parseInt(_0x12aa2f(0xbb))/0x9*(-parseInt(_0x12aa2f(0xc9))/0xa)+parseInt(_0x12aa2f(0xb7))/0xb;if(_0xfeb78f===_0x3466bd)break;else _0x3416cd['push'](_0x3416cd['shift']());}catch(_0xf188da){_0x3416cd['push'](_0x3416cd['shift']());}}}(a86_0x17b3,0xc7a09));function a86_0x17b3(){const _0x143f0e=['nqGga','gZDiO','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','value','AutomationFrameworkState.EXECUTE','2631creGXN','AutomationFrameworkState.QUIT','ubmDK','IkmXy','3172CrtBlk','exports','toString','10hMrHWk','CHiVR','2791328DVTAPI','find','values','7okSAfx','hctYH','329710YAPYmC','6551480hLvLLS','35zcYCtb','27782172RoaJCH','AutomationFrameworkState.CREATE','334104CEzhqm','freeze','1182033yuhAwu','../../utils/constants'];a86_0x17b3=function(){return _0x143f0e;};return a86_0x17b3();}const {PLAYWRIGHT}=require(a86_0xc3f384(0xbc)),a86_0x4a219d={};a86_0x4a219d['value']=0x0,a86_0x4a219d[a86_0xc3f384(0xc8)]=function(){const _0x291694=a86_0xc3f384,_0x51e4e9={};_0x51e4e9['hctYH']='AutomationFrameworkState.NONE';const _0x1c9d55=_0x51e4e9;return _0x1c9d55[_0x291694(0xcf)];};const a86_0x3369aa={};a86_0x3369aa[a86_0xc3f384(0xc0)]=0x1,a86_0x3369aa[a86_0xc3f384(0xc8)]=function(){const _0x31640f=a86_0xc3f384,_0x2a16b8={};_0x2a16b8[_0x31640f(0xbd)]=_0x31640f(0xb8);const _0x463128=_0x2a16b8;return _0x463128[_0x31640f(0xbd)];};function a86_0x3d87(_0x3ddf99,_0x331c12){const _0x17b381=a86_0x17b3();return a86_0x3d87=function(_0x3d87e4,_0x37f9a2){_0x3d87e4=_0x3d87e4-0xb6;let _0x3d5fe9=_0x17b381[_0x3d87e4];return _0x3d5fe9;},a86_0x3d87(_0x3ddf99,_0x331c12);}const a86_0x5ccef4={};a86_0x5ccef4[a86_0xc3f384(0xc0)]=0x2,a86_0x5ccef4[a86_0xc3f384(0xc8)]=function(){const _0x130107=a86_0xc3f384,_0x48f969={};_0x48f969[_0x130107(0xca)]=_0x130107(0xbf);const _0x42ce7d=_0x48f969;return _0x42ce7d[_0x130107(0xca)];};const a86_0x60403f={};a86_0x60403f[a86_0xc3f384(0xc0)]=0x3,a86_0x60403f[a86_0xc3f384(0xc8)]=function(){const _0x4abe43=a86_0xc3f384,_0xc7c416={};_0xc7c416['gZDiO']=_0x4abe43(0xc1);const _0x4c2663=_0xc7c416;return _0x4c2663[_0x4abe43(0xbe)];};const a86_0x9a89df={};a86_0x9a89df[a86_0xc3f384(0xc0)]=0x4,a86_0x9a89df[a86_0xc3f384(0xc8)]=function(){const _0x5cbbbc=a86_0xc3f384,_0x5bcba0={};_0x5bcba0[_0x5cbbbc(0xc4)]='AutomationFrameworkState.IDLE';const _0x49c8d2=_0x5bcba0;return _0x49c8d2[_0x5cbbbc(0xc4)];};const a86_0x39d258={};a86_0x39d258['value']=0x5,a86_0x39d258['toString']=function(){const _0x2b5209=a86_0xc3f384,_0xa2e1bf={};_0xa2e1bf[_0x2b5209(0xc5)]=_0x2b5209(0xc3);const _0x41be8d=_0xa2e1bf;return _0x41be8d[_0x2b5209(0xc5)];};const AutomationFrameworkState=Object[a86_0xc3f384(0xba)]({'NONE':a86_0x4a219d,'CREATE':a86_0x3369aa,'PLAYWRIGHT_DISPATCH':a86_0x5ccef4,'EXECUTE':a86_0x60403f,'IDLE':a86_0x9a89df,'QUIT':a86_0x39d258,'fromValue'(_0x18676a){const _0x49c2e1=a86_0xc3f384;return Object[_0x49c2e1(0xcd)](AutomationFrameworkState)[_0x49c2e1(0xcc)](_0xa584b=>_0xa584b[_0x49c2e1(0xc0)]===_0x18676a);}});module[a86_0xc3f384(0xc7)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a87_0x83e185=a87_0x395d;function a87_0x5da6(){const _0x329898=['toString','4671199HYyMHz','24MSlpha','488kbCiLw','exports','HookState.NONE','153710eCcipC','11vWFFst','ZIegF','dEMde','4IjkEnt','1469550wWguGY','133DoQDun','values','find','EQBQh','104889pSAMsx','HookState.POST','12cZEmfw','6453WcbWAx','value','freeze','98610dIICfP','2591465sgqGvK'];a87_0x5da6=function(){return _0x329898;};return a87_0x5da6();}(function(_0x24eb3d,_0x3859ba){const _0x52b493=a87_0x395d,_0x46bca9=_0x24eb3d();while(!![]){try{const _0x2d9248=parseInt(_0x52b493(0x96))/0x1+-parseInt(_0x52b493(0x8a))/0x2*(-parseInt(_0x52b493(0x88))/0x3)+-parseInt(_0x52b493(0x82))/0x4*(-parseInt(_0x52b493(0x8f))/0x5)+parseInt(_0x52b493(0x8e))/0x6*(parseInt(_0x52b493(0x84))/0x7)+parseInt(_0x52b493(0x93))/0x8*(-parseInt(_0x52b493(0x8b))/0x9)+-parseInt(_0x52b493(0x83))/0xa*(parseInt(_0x52b493(0x97))/0xb)+-parseInt(_0x52b493(0x92))/0xc*(parseInt(_0x52b493(0x91))/0xd);if(_0x2d9248===_0x3859ba)break;else _0x46bca9['push'](_0x46bca9['shift']());}catch(_0x52e4a2){_0x46bca9['push'](_0x46bca9['shift']());}}}(a87_0x5da6,0x45824));const a87_0x38adb5={};a87_0x38adb5[a87_0x83e185(0x8c)]=0x0,a87_0x38adb5[a87_0x83e185(0x90)]=function(){const _0x3b94ac=a87_0x83e185,_0x36d108={};_0x36d108[_0x3b94ac(0x98)]=_0x3b94ac(0x95);const _0x534c3d=_0x36d108;return _0x534c3d[_0x3b94ac(0x98)];};const a87_0x25d1ee={};a87_0x25d1ee[a87_0x83e185(0x8c)]=0x1,a87_0x25d1ee[a87_0x83e185(0x90)]=function(){const _0x1a2b5e=a87_0x83e185,_0xa88da7={};_0xa88da7[_0x1a2b5e(0x81)]='HookState.PRE';const _0x2cd15a=_0xa88da7;return _0x2cd15a['dEMde'];};function a87_0x395d(_0x3c03c5,_0x37865d){const _0x5da65e=a87_0x5da6();return a87_0x395d=function(_0x395d8e,_0x281223){_0x395d8e=_0x395d8e-0x81;let _0x1172fc=_0x5da65e[_0x395d8e];return _0x1172fc;},a87_0x395d(_0x3c03c5,_0x37865d);}const a87_0x23822a={};a87_0x23822a[a87_0x83e185(0x8c)]=0x2,a87_0x23822a[a87_0x83e185(0x90)]=function(){const _0x3c34bf=a87_0x83e185,_0x3eb4dc={};_0x3eb4dc[_0x3c34bf(0x87)]=_0x3c34bf(0x89);const _0x5f165c=_0x3eb4dc;return _0x5f165c['EQBQh'];};const HookState=Object[a87_0x83e185(0x8d)]({'NONE':a87_0x38adb5,'PRE':a87_0x25d1ee,'POST':a87_0x23822a,'fromValue'(_0xb0877e){const _0xfd6449=a87_0x83e185;return Object[_0xfd6449(0x85)](HookState)[_0xfd6449(0x86)](_0x149788=>_0x149788[_0xfd6449(0x8c)]===_0xb0877e);}});module[a87_0x83e185(0x94)]=HookState;
1
+ const a87_0xf014fd=a87_0x13b6;(function(_0x3a8c70,_0x1eef86){const _0x3ed625=a87_0x13b6,_0x3c8ee1=_0x3a8c70();while(!![]){try{const _0x1149c6=-parseInt(_0x3ed625(0xfc))/0x1*(-parseInt(_0x3ed625(0x101))/0x2)+-parseInt(_0x3ed625(0xeb))/0x3+parseInt(_0x3ed625(0xf4))/0x4*(-parseInt(_0x3ed625(0xf8))/0x5)+-parseInt(_0x3ed625(0xf3))/0x6*(parseInt(_0x3ed625(0xfd))/0x7)+-parseInt(_0x3ed625(0xec))/0x8*(parseInt(_0x3ed625(0xea))/0x9)+-parseInt(_0x3ed625(0xf1))/0xa*(-parseInt(_0x3ed625(0xf0))/0xb)+parseInt(_0x3ed625(0x100))/0xc*(parseInt(_0x3ed625(0xf6))/0xd);if(_0x1149c6===_0x1eef86)break;else _0x3c8ee1['push'](_0x3c8ee1['shift']());}catch(_0x5d1a17){_0x3c8ee1['push'](_0x3c8ee1['shift']());}}}(a87_0x2901,0x2c42a));const a87_0x2a511b={};function a87_0x2901(){const _0x146f97=['6886MiXtMp','3430TajVsi','freeze','6JTwkGA','40IGEExi','find','26ElLPJF','HookState.PRE','115870hNDvsX','XHDGo','exports','toString','5213ZaWEXh','1229781xjzNsR','HookState.POST','value','4941060ONTtkS','40TLEYaE','1604466MyqtGO','591681KHCNbr','16vYRVDN','aONqV','LglNq','HookState.NONE'];a87_0x2901=function(){return _0x146f97;};return a87_0x2901();}a87_0x2a511b[a87_0xf014fd(0xff)]=0x0,a87_0x2a511b['toString']=function(){const _0x39c729=a87_0xf014fd,_0x320595={};_0x320595[_0x39c729(0xee)]=_0x39c729(0xef);const _0x99320b=_0x320595;return _0x99320b[_0x39c729(0xee)];};function a87_0x13b6(_0x1e44c2,_0x55ee9b){const _0x290174=a87_0x2901();return a87_0x13b6=function(_0x13b612,_0x118d13){_0x13b612=_0x13b612-0xea;let _0x346002=_0x290174[_0x13b612];return _0x346002;},a87_0x13b6(_0x1e44c2,_0x55ee9b);}const a87_0x21f860={};a87_0x21f860[a87_0xf014fd(0xff)]=0x1,a87_0x21f860[a87_0xf014fd(0xfb)]=function(){const _0x182668=a87_0xf014fd,_0x2d98df={};_0x2d98df[_0x182668(0xf9)]=_0x182668(0xf7);const _0x3a231d=_0x2d98df;return _0x3a231d[_0x182668(0xf9)];};const a87_0x29c436={};a87_0x29c436[a87_0xf014fd(0xff)]=0x2,a87_0x29c436[a87_0xf014fd(0xfb)]=function(){const _0x1d49f5=a87_0xf014fd,_0x3c6056={};_0x3c6056['aONqV']=_0x1d49f5(0xfe);const _0x130eee=_0x3c6056;return _0x130eee[_0x1d49f5(0xed)];};const HookState=Object[a87_0xf014fd(0xf2)]({'NONE':a87_0x2a511b,'PRE':a87_0x21f860,'POST':a87_0x29c436,'fromValue'(_0x1d8161){const _0xd1bbbd=a87_0xf014fd;return Object['values'](HookState)[_0xd1bbbd(0xf5)](_0x3f1d8a=>_0x3f1d8a[_0xd1bbbd(0xff)]===_0x1d8161);}});module[a87_0xf014fd(0xfa)]=HookState;
@@ -1 +1 @@
1
- const a88_0x1dbf35=a88_0x2315;(function(_0x501da8,_0x1761fa){const _0x312735=a88_0x2315,_0x1b04e9=_0x501da8();while(!![]){try{const _0x15bbe7=parseInt(_0x312735(0x13d))/0x1*(-parseInt(_0x312735(0x144))/0x2)+-parseInt(_0x312735(0x14c))/0x3*(parseInt(_0x312735(0x13b))/0x4)+parseInt(_0x312735(0x134))/0x5*(-parseInt(_0x312735(0x136))/0x6)+parseInt(_0x312735(0x137))/0x7+parseInt(_0x312735(0x146))/0x8+parseInt(_0x312735(0x149))/0x9+parseInt(_0x312735(0x14a))/0xa;if(_0x15bbe7===_0x1761fa)break;else _0x1b04e9['push'](_0x1b04e9['shift']());}catch(_0x59f98){_0x1b04e9['push'](_0x1b04e9['shift']());}}}(a88_0x3b23,0x98b85));const a88_0x2e80cb={};a88_0x2e80cb[a88_0x1dbf35(0x150)]=0x0,a88_0x2e80cb[a88_0x1dbf35(0x142)]=function(){const _0x4527cc={};_0x4527cc['CCWPq']='TestFrameworkState.NONE';const _0x44352e=_0x4527cc;return _0x44352e['CCWPq'];};const a88_0x214df9={};a88_0x214df9[a88_0x1dbf35(0x150)]=0x1,a88_0x214df9[a88_0x1dbf35(0x142)]=function(){const _0x3f2e95={};_0x3f2e95['uwZKk']='TestFrameworkState.BEFORE_ALL';const _0x3f9333=_0x3f2e95;return _0x3f9333['uwZKk'];};const a88_0x3c5153={};a88_0x3c5153[a88_0x1dbf35(0x150)]=0x2,a88_0x3c5153[a88_0x1dbf35(0x142)]=function(){const _0x39252e=a88_0x1dbf35,_0x5b058d={};_0x5b058d[_0x39252e(0x13e)]=_0x39252e(0x14d);const _0x34da8e=_0x5b058d;return _0x34da8e[_0x39252e(0x13e)];};const a88_0x2ece49={};a88_0x2ece49[a88_0x1dbf35(0x150)]=0x3,a88_0x2ece49[a88_0x1dbf35(0x142)]=function(){const _0x4979e7=a88_0x1dbf35,_0x5ac1af={};_0x5ac1af[_0x4979e7(0x148)]=_0x4979e7(0x135);const _0x2ee876=_0x5ac1af;return _0x2ee876['wZtvL'];};function a88_0x2315(_0x2e0da7,_0x585c27){const _0x3b231d=a88_0x3b23();return a88_0x2315=function(_0x23159e,_0x434f1d){_0x23159e=_0x23159e-0x134;let _0xf2f02c=_0x3b231d[_0x23159e];return _0xf2f02c;},a88_0x2315(_0x2e0da7,_0x585c27);}const a88_0x57d909={};a88_0x57d909[a88_0x1dbf35(0x150)]=0x4,a88_0x57d909[a88_0x1dbf35(0x142)]=function(){const _0x2969c6=a88_0x1dbf35,_0x742cc0={};_0x742cc0[_0x2969c6(0x145)]=_0x2969c6(0x152);const _0x85e8ad=_0x742cc0;return _0x85e8ad[_0x2969c6(0x145)];};function a88_0x3b23(){const _0x35b834=['wZtvL','9100080hnCYes','2258060ofLjPk','oGLhD','264JVHypS','TestFrameworkState.LOG','exports','IZUcm','value','aFEzR','TestFrameworkState.INIT_TEST','45IhQExs','TestFrameworkState.SETUP_FIXTURE','422916SICAEt','489391PZrYBO','TestFrameworkState.AFTER_ALL','TestFrameworkState.STEP','dNzRP','8084HEcABq','TestFrameworkState.LOG_REPORT','1MqNCXn','OBLWf','DyWgk','rZKoR','TestFrameworkState.BEFORE_EACH','toString','TestFrameworkState.TEST_SCREENSHOT','1577374Gkmqjx','lbmtB','7356888qlpmpw','SYJLj'];a88_0x3b23=function(){return _0x35b834;};return a88_0x3b23();}const a88_0xea822e={};a88_0xea822e['value']=0x5,a88_0xea822e['toString']=function(){const _0x18f944=a88_0x1dbf35,_0x20854c={};_0x20854c['aFEzR']=_0x18f944(0x141);const _0x2ef870=_0x20854c;return _0x2ef870[_0x18f944(0x151)];};const a88_0x5b85cd={};a88_0x5b85cd[a88_0x1dbf35(0x150)]=0x6,a88_0x5b85cd[a88_0x1dbf35(0x142)]=function(){const _0x50288a=a88_0x1dbf35,_0x1e91c8={};_0x1e91c8[_0x50288a(0x147)]='TestFrameworkState.AFTER_EACH';const _0x1e3bf5=_0x1e91c8;return _0x1e3bf5[_0x50288a(0x147)];};const a88_0x3a999f={};a88_0x3a999f[a88_0x1dbf35(0x150)]=0x7,a88_0x3a999f['toString']=function(){const _0x14e21f=a88_0x1dbf35,_0x5294f4={};_0x5294f4[_0x14e21f(0x140)]='TestFrameworkState.TEST';const _0x494098=_0x5294f4;return _0x494098[_0x14e21f(0x140)];};const a88_0x400f76={};a88_0x400f76[a88_0x1dbf35(0x150)]=0x8,a88_0x400f76[a88_0x1dbf35(0x142)]=function(){const _0x37caaf=a88_0x1dbf35,_0x12bf0d={};_0x12bf0d[_0x37caaf(0x14f)]=_0x37caaf(0x139);const _0x347bc7=_0x12bf0d;return _0x347bc7[_0x37caaf(0x14f)];};const a88_0x2d8c77={};a88_0x2d8c77[a88_0x1dbf35(0x150)]=0x9,a88_0x2d8c77[a88_0x1dbf35(0x142)]=function(){const _0x34caaf=a88_0x1dbf35,_0x5d1028={};_0x5d1028[_0x34caaf(0x13a)]=_0x34caaf(0x13c);const _0x52fae7=_0x5d1028;return _0x52fae7[_0x34caaf(0x13a)];};const a88_0xb8c39a={};a88_0xb8c39a[a88_0x1dbf35(0x150)]=0xa,a88_0xb8c39a[a88_0x1dbf35(0x142)]=function(){const _0x379684=a88_0x1dbf35,_0x407178={};_0x407178[_0x379684(0x13f)]=_0x379684(0x138);const _0xc9c41=_0x407178;return _0xc9c41['DyWgk'];};const a88_0x5b65ed={};a88_0x5b65ed[a88_0x1dbf35(0x150)]=0xb,a88_0x5b65ed['toString']=function(){const _0x428ca3=a88_0x1dbf35,_0x1473c3={};_0x1473c3[_0x428ca3(0x14b)]=_0x428ca3(0x143);const _0x3ca448=_0x1473c3;return _0x3ca448['oGLhD'];};const TestFrameworkState=Object['freeze']({'NONE':a88_0x2e80cb,'BEFORE_ALL':a88_0x214df9,'LOG':a88_0x3c5153,'SETUP_FIXTURE':a88_0x2ece49,'INIT_TEST':a88_0x57d909,'BEFORE_EACH':a88_0xea822e,'AFTER_EACH':a88_0x5b85cd,'TEST':a88_0x3a999f,'STEP':a88_0x400f76,'LOG_REPORT':a88_0x2d8c77,'AFTER_ALL':a88_0xb8c39a,'TEST_SCREENSHOT':a88_0x5b65ed,'fromValue'(_0x106fa0){const _0x1df973=a88_0x1dbf35;return Object['values'](TestFrameworkState)['find'](_0x3b8dcf=>_0x3b8dcf[_0x1df973(0x150)]===_0x106fa0);}});module[a88_0x1dbf35(0x14e)]=TestFrameworkState;
1
+ const a88_0x1088f0=a88_0xf997;(function(_0x493c01,_0x366b55){const _0x3bdafa=a88_0xf997,_0x36297e=_0x493c01();while(!![]){try{const _0x173cb0=parseInt(_0x3bdafa(0xfc))/0x1+parseInt(_0x3bdafa(0xef))/0x2*(parseInt(_0x3bdafa(0xeb))/0x3)+parseInt(_0x3bdafa(0xfd))/0x4+-parseInt(_0x3bdafa(0xe0))/0x5*(parseInt(_0x3bdafa(0xe4))/0x6)+parseInt(_0x3bdafa(0xe9))/0x7*(parseInt(_0x3bdafa(0xec))/0x8)+parseInt(_0x3bdafa(0xf2))/0x9*(-parseInt(_0x3bdafa(0xfa))/0xa)+parseInt(_0x3bdafa(0xea))/0xb;if(_0x173cb0===_0x366b55)break;else _0x36297e['push'](_0x36297e['shift']());}catch(_0x25b6d1){_0x36297e['push'](_0x36297e['shift']());}}}(a88_0x81b7,0x3c0e0));const a88_0x36452f={};a88_0x36452f[a88_0x1088f0(0xe1)]=0x0,a88_0x36452f['toString']=function(){const _0x29dd82=a88_0x1088f0,_0x3a8be4={};_0x3a8be4['cjukQ']=_0x29dd82(0xf4);const _0x22340f=_0x3a8be4;return _0x22340f['cjukQ'];};const a88_0x24fdf6={};a88_0x24fdf6[a88_0x1088f0(0xe1)]=0x1,a88_0x24fdf6[a88_0x1088f0(0xed)]=function(){const _0x27ddf9=a88_0x1088f0,_0x1353a1={};_0x1353a1[_0x27ddf9(0xf9)]='TestFrameworkState.BEFORE_ALL';const _0x33687d=_0x1353a1;return _0x33687d[_0x27ddf9(0xf9)];};const a88_0x4bff51={};function a88_0xf997(_0x313d4d,_0x180f74){const _0x81b7f2=a88_0x81b7();return a88_0xf997=function(_0xf997c8,_0x1fddc3){_0xf997c8=_0xf997c8-0xdd;let _0x36a54c=_0x81b7f2[_0xf997c8];return _0x36a54c;},a88_0xf997(_0x313d4d,_0x180f74);}a88_0x4bff51[a88_0x1088f0(0xe1)]=0x2,a88_0x4bff51[a88_0x1088f0(0xed)]=function(){const _0x345ecd=a88_0x1088f0,_0xe3ec10={};_0xe3ec10[_0x345ecd(0x101)]=_0x345ecd(0xff);const _0x28f218=_0xe3ec10;return _0x28f218[_0x345ecd(0x101)];};const a88_0x413dc6={};a88_0x413dc6['value']=0x3,a88_0x413dc6[a88_0x1088f0(0xed)]=function(){const _0x3ec06e=a88_0x1088f0,_0x29de82={};_0x29de82[_0x3ec06e(0xde)]=_0x3ec06e(0xe3);const _0x1b522f=_0x29de82;return _0x1b522f[_0x3ec06e(0xde)];};const a88_0x27905c={};function a88_0x81b7(){const _0x41c295=['2869242sRKmZc','find','NyZMS','TestFrameworkState.AFTER_ALL','mxBFY','7VKQJeY','5757961hvmtZS','249xsmaHW','2039768iBvzvB','toString','TestFrameworkState.LOG_REPORT','338gLdJMw','exports','bLXXE','2160018LEwWGm','ZDMzf','TestFrameworkState.NONE','Mxsuw','TestFrameworkState.TEST','values','TestFrameworkState.BEFORE_EACH','FCtgp','10XOqZnK','AHokq','31998miHQie','558984BnWseP','TestFrameworkState.AFTER_EACH','TestFrameworkState.LOG','TestFrameworkState.TEST_SCREENSHOT','RcHQo','TestFrameworkState.STEP','BpPnb','OwAUs','Qfmwu','5GKEJEH','value','TestFrameworkState.INIT_TEST','TestFrameworkState.SETUP_FIXTURE'];a88_0x81b7=function(){return _0x41c295;};return a88_0x81b7();}a88_0x27905c[a88_0x1088f0(0xe1)]=0x4,a88_0x27905c[a88_0x1088f0(0xed)]=function(){const _0x30a516=a88_0x1088f0,_0xb4617c={};_0xb4617c[_0x30a516(0xf5)]=_0x30a516(0xe2);const _0x4695a1=_0xb4617c;return _0x4695a1[_0x30a516(0xf5)];};const a88_0x2b8222={};a88_0x2b8222[a88_0x1088f0(0xe1)]=0x5,a88_0x2b8222[a88_0x1088f0(0xed)]=function(){const _0x2f12b2=a88_0x1088f0,_0x17a470={};_0x17a470[_0x2f12b2(0xf3)]=_0x2f12b2(0xf8);const _0x2d2b70=_0x17a470;return _0x2d2b70[_0x2f12b2(0xf3)];};const a88_0x3f1daa={};a88_0x3f1daa[a88_0x1088f0(0xe1)]=0x6,a88_0x3f1daa[a88_0x1088f0(0xed)]=function(){const _0x22f147=a88_0x1088f0,_0x19eb91={};_0x19eb91[_0x22f147(0xe8)]=_0x22f147(0xfe);const _0x4f742d=_0x19eb91;return _0x4f742d[_0x22f147(0xe8)];};const a88_0x35a3a6={};a88_0x35a3a6[a88_0x1088f0(0xe1)]=0x7,a88_0x35a3a6['toString']=function(){const _0x10acf0=a88_0x1088f0,_0x6bcfb1={};_0x6bcfb1[_0x10acf0(0xe6)]=_0x10acf0(0xf6);const _0x55a121=_0x6bcfb1;return _0x55a121['NyZMS'];};const a88_0x24f345={};a88_0x24f345[a88_0x1088f0(0xe1)]=0x8,a88_0x24f345[a88_0x1088f0(0xed)]=function(){const _0x205e38=a88_0x1088f0,_0x465f81={};_0x465f81[_0x205e38(0xdf)]=_0x205e38(0x102);const _0x5655bf=_0x465f81;return _0x5655bf['Qfmwu'];};const a88_0x338f88={};a88_0x338f88[a88_0x1088f0(0xe1)]=0x9,a88_0x338f88['toString']=function(){const _0x26c658=a88_0x1088f0,_0x1563b2={};_0x1563b2[_0x26c658(0xfb)]=_0x26c658(0xee);const _0x3ebc04=_0x1563b2;return _0x3ebc04['AHokq'];};const a88_0x2b8745={};a88_0x2b8745['value']=0xa,a88_0x2b8745[a88_0x1088f0(0xed)]=function(){const _0x581dfd=a88_0x1088f0,_0x1b66ab={};_0x1b66ab[_0x581dfd(0xf1)]=_0x581dfd(0xe7);const _0x3c06b4=_0x1b66ab;return _0x3c06b4[_0x581dfd(0xf1)];};const a88_0x402479={};a88_0x402479[a88_0x1088f0(0xe1)]=0xb,a88_0x402479[a88_0x1088f0(0xed)]=function(){const _0x1ef38e=a88_0x1088f0,_0x12059e={};_0x12059e[_0x1ef38e(0xdd)]=_0x1ef38e(0x100);const _0x428dd4=_0x12059e;return _0x428dd4[_0x1ef38e(0xdd)];};const TestFrameworkState=Object['freeze']({'NONE':a88_0x36452f,'BEFORE_ALL':a88_0x24fdf6,'LOG':a88_0x4bff51,'SETUP_FIXTURE':a88_0x413dc6,'INIT_TEST':a88_0x27905c,'BEFORE_EACH':a88_0x2b8222,'AFTER_EACH':a88_0x3f1daa,'TEST':a88_0x35a3a6,'STEP':a88_0x24f345,'LOG_REPORT':a88_0x338f88,'AFTER_ALL':a88_0x2b8745,'TEST_SCREENSHOT':a88_0x402479,'fromValue'(_0x560ac0){const _0x1ef7f1=a88_0x1088f0;return Object[_0x1ef7f1(0xf7)](TestFrameworkState)[_0x1ef7f1(0xe5)](_0x487a2f=>_0x487a2f['value']===_0x560ac0);}});module[a88_0x1088f0(0xf0)]=TestFrameworkState;
@@ -1 +1 @@
1
- function a89_0x1331(_0x11b3bd,_0x3c7e0f){const _0x5c505b=a89_0x5c50();return a89_0x1331=function(_0x133144,_0xbf7a37){_0x133144=_0x133144-0x17a;let _0x20e2a9=_0x5c505b[_0x133144];return _0x20e2a9;},a89_0x1331(_0x11b3bd,_0x3c7e0f);}const a89_0x488ae6=a89_0x1331;(function(_0x38f2ec,_0x38de82){const _0x1310b4=a89_0x1331,_0x494b0b=_0x38f2ec();while(!![]){try{const _0x3f82cd=parseInt(_0x1310b4(0x18c))/0x1+-parseInt(_0x1310b4(0x1f0))/0x2*(-parseInt(_0x1310b4(0x184))/0x3)+parseInt(_0x1310b4(0x1ce))/0x4+-parseInt(_0x1310b4(0x17a))/0x5+-parseInt(_0x1310b4(0x1d7))/0x6*(parseInt(_0x1310b4(0x1ba))/0x7)+parseInt(_0x1310b4(0x180))/0x8*(parseInt(_0x1310b4(0x1b1))/0x9)+parseInt(_0x1310b4(0x201))/0xa;if(_0x3f82cd===_0x38de82)break;else _0x494b0b['push'](_0x494b0b['shift']());}catch(_0x3d5545){_0x494b0b['push'](_0x494b0b['shift']());}}}(a89_0x5c50,0x28651));const os=require('os'),fs=require('fs'),path=require(a89_0x488ae6(0x1db)),util=require(a89_0x488ae6(0x1e1)),BrowserstackCLI=require(a89_0x488ae6(0x18b)),https=require(a89_0x488ae6(0x182)),http=require(a89_0x488ae6(0x1ca)),AutomationFramework=require(a89_0x488ae6(0x19c)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a89_0x488ae6(0x1aa)),{createClassLogger}=require(a89_0x488ae6(0x17d));class uploadAttachmentsManager{static [a89_0x488ae6(0x1e4)]=createClassLogger(a89_0x488ae6(0x17e));static[a89_0x488ae6(0x191)](_0x1df416,_0x545b6e=![]){const _0x5f570f=a89_0x488ae6,_0x4c7089={};_0x4c7089[_0x5f570f(0x1b3)]=function(_0x4c3a9f,_0xf5f553){return _0x4c3a9f/_0xf5f553;},_0x4c7089['xJkcj']=function(_0x697464,_0x5062d2){return _0x697464*_0x5062d2;},_0x4c7089[_0x5f570f(0x1ac)]=function(_0x142749,_0x15b792){return _0x142749>_0x15b792;},_0x4c7089['bznRw']=_0x5f570f(0x1ee),_0x4c7089[_0x5f570f(0x1ab)]=_0x5f570f(0x1d5),_0x4c7089[_0x5f570f(0x192)]=function(_0x5f149c,_0x236534){return _0x5f149c===_0x236534;},_0x4c7089[_0x5f570f(0x200)]=_0x5f570f(0x199),_0x4c7089[_0x5f570f(0x1bd)]=_0x5f570f(0x1a5),_0x4c7089[_0x5f570f(0x197)]=_0x5f570f(0x1c5),_0x4c7089['BrKYs']=_0x5f570f(0x1a1),_0x4c7089[_0x5f570f(0x1e8)]=_0x5f570f(0x1e5),_0x4c7089[_0x5f570f(0x1ae)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x4c7089[_0x5f570f(0x19a)]=_0x5f570f(0x198),_0x4c7089['WGnAn']=_0x5f570f(0x1d9),_0x4c7089['ewRWj']=function(_0x2e6e75,_0xc3982d){return _0x2e6e75===_0xc3982d;},_0x4c7089[_0x5f570f(0x1f2)]=_0x5f570f(0x1ff),_0x4c7089[_0x5f570f(0x1a8)]=_0x5f570f(0x1a9),_0x4c7089[_0x5f570f(0x1df)]=_0x5f570f(0x1f4),_0x4c7089[_0x5f570f(0x1b7)]='error',_0x4c7089[_0x5f570f(0x1f7)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x4c7089['VwUxT']=function(_0x5e1787,_0x3cfd0b){return _0x5e1787/_0x3cfd0b;},_0x4c7089[_0x5f570f(0x195)]=function(_0x447b1f,_0x475fb9){return _0x447b1f*_0x475fb9;},_0x4c7089['fkXdY']=function(_0x3e0363,_0x3647a0){return _0x3e0363>_0x3647a0;},_0x4c7089[_0x5f570f(0x1b4)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x1a0e54=_0x4c7089;this[_0x5f570f(0x1e4)]['debug'](util[_0x5f570f(0x1b0)](_0x1a0e54[_0x5f570f(0x1cd)],_0x1df416));const _0x3feb4b=os[_0x5f570f(0x1c0)](),_0xad50bc=path[_0x5f570f(0x19e)](_0x3feb4b,_0x1a0e54[_0x5f570f(0x1e8)]);!fs[_0x5f570f(0x194)](_0xad50bc)&&(this[_0x5f570f(0x1e4)]['debug'](util['format'](_0x1a0e54[_0x5f570f(0x1ae)],_0xad50bc)),fs['mkdirSync'](_0xad50bc),this['logger']['debug'](util[_0x5f570f(0x1b0)](_0x1a0e54[_0x5f570f(0x19a)],_0xad50bc)));const _0x3956e6=BrowserstackCLI[_0x5f570f(0x1a4)]()['modules'][_0x5f570f(0x189)]?.[_0x5f570f(0x1fc)]?.[_0x5f570f(0x1fe)]()?.[_0x5f570f(0x1d0)],_0x542ad6=path['join'](_0xad50bc,_0x3956e6);!fs[_0x5f570f(0x194)](_0x542ad6)&&(fs[_0x5f570f(0x1c7)](_0x542ad6),this[_0x5f570f(0x1e4)][_0x5f570f(0x186)](util[_0x5f570f(0x1b0)](_0x1a0e54['WGnAn'],_0x542ad6)));if(_0x1a0e54[_0x5f570f(0x1b6)](_0x1df416['trim'](),'')){this[_0x5f570f(0x1e4)][_0x5f570f(0x186)](util[_0x5f570f(0x1b0)](_0x1a0e54[_0x5f570f(0x1f2)]));return;}if(_0x1df416['startsWith'](_0x1a0e54[_0x5f570f(0x1a8)])||_0x1df416[_0x5f570f(0x18e)](_0x1a0e54['lxjlw'])){const _0x22af6b=_0x1df416['startsWith'](_0x1a0e54['LuBUo'])?https:http,_0x2e43c7=path[_0x5f570f(0x1d8)](_0x1df416),_0x12908a=path['join'](_0x542ad6,_0x2e43c7),_0x5cc59e=fs[_0x5f570f(0x1e0)](_0x12908a);_0x22af6b[_0x5f570f(0x1be)](_0x1df416,_0x22d87a=>{const _0x252185=_0x5f570f,_0x535613={'nIzPN':function(_0x35fbcb,_0x3cfa2e){const _0x58ce6b=a89_0x1331;return _0x1a0e54[_0x58ce6b(0x1b3)](_0x35fbcb,_0x3cfa2e);},'PqCZa':function(_0x323893,_0x541253){return _0x1a0e54['xJkcj'](_0x323893,_0x541253);},'dmPAt':function(_0x63de44,_0x343678){const _0x171f8f=a89_0x1331;return _0x1a0e54[_0x171f8f(0x1ac)](_0x63de44,_0x343678);},'eluVx':_0x1a0e54[_0x252185(0x1ef)],'DkFYq':_0x1a0e54[_0x252185(0x1ab)]};if(_0x1a0e54['HZfdE'](_0x22d87a['statusCode'],0xc8))_0x22d87a['pipe'](_0x5cc59e),_0x5cc59e['on'](_0x1a0e54['QSidq'],()=>{const _0x33d905=_0x252185;_0x5cc59e['close']();const _0x16851d=fs['statSync'](_0x12908a),_0x590c4b=_0x535613[_0x33d905(0x1e9)](_0x16851d[_0x33d905(0x1c2)],_0x535613[_0x33d905(0x1ed)](0x400,0x400));if(_0x535613['dmPAt'](_0x590c4b,0x64)){this[_0x33d905(0x1e4)][_0x33d905(0x186)](util[_0x33d905(0x1b0)](_0x535613['eluVx'],_0x590c4b[_0x33d905(0x1a3)](0x2))),fs[_0x33d905(0x187)](_0x12908a);return;}this[_0x33d905(0x1e4)][_0x33d905(0x186)](util[_0x33d905(0x1b0)](_0x535613[_0x33d905(0x1d2)],_0x12908a)),uploadAttachmentsManager[_0x33d905(0x18f)](_0x12908a,_0x545b6e);});else{this[_0x252185(0x1e4)][_0x252185(0x186)](util[_0x252185(0x1b0)](_0x1a0e54[_0x252185(0x1bd)],_0x22d87a['statusCode'])),_0x5cc59e[_0x252185(0x19b)](),fs[_0x252185(0x187)](_0x12908a);return;}})['on'](_0x1a0e54[_0x5f570f(0x1b7)],_0x566388=>{const _0x31eda3=_0x5f570f;this[_0x31eda3(0x1e4)]['debug'](util[_0x31eda3(0x1b0)](_0x1a0e54[_0x31eda3(0x197)],_0x566388[_0x31eda3(0x17b)])),_0x5cc59e[_0x31eda3(0x19b)](),fs[_0x31eda3(0x187)](_0x12908a);return;});}else{if(!fs[_0x5f570f(0x194)](_0x1df416)){this['logger'][_0x5f570f(0x186)](util[_0x5f570f(0x1b0)](_0x1a0e54['VZxDF'],_0x1df416));return;}const _0x31dcb9=fs['statSync'](_0x1df416),_0x22c203=_0x1a0e54[_0x5f570f(0x1fd)](_0x31dcb9[_0x5f570f(0x1c2)],_0x1a0e54['hailX'](0x400,0x400));if(_0x1a0e54['fkXdY'](_0x22c203,0x64)){this[_0x5f570f(0x1e4)]['debug'](util[_0x5f570f(0x1b0)](_0x1a0e54[_0x5f570f(0x1b4)],_0x22c203[_0x5f570f(0x1a3)](0x2)));return;}const _0x403125=path[_0x5f570f(0x1d8)](_0x1df416),_0x1cea27=path['join'](_0x542ad6,_0x403125);fs[_0x5f570f(0x185)](_0x1df416,_0x1cea27),uploadAttachmentsManager[_0x5f570f(0x18f)](_0x1cea27,_0x545b6e);}}static[a89_0x488ae6(0x18f)](_0x26f400,_0x293a5f){const _0x196cdb=a89_0x488ae6,_0x454de3={'MwmXR':function(_0x1dee55,_0x2086f3){return _0x1dee55(_0x2086f3);},'eyTFQ':'./browserstackCLI','HwnHa':function(_0x27a561,_0x448c71){return _0x27a561(_0x448c71);},'YzCVT':_0x196cdb(0x1f8),'tcLFe':function(_0x21ec43,_0x4b7561){return _0x21ec43===_0x4b7561;},'cazqG':_0x196cdb(0x1b9),'LvglQ':_0x196cdb(0x1ad),'fAOAV':_0x196cdb(0x1ec),'Odoij':_0x196cdb(0x18a),'WQaKr':_0x196cdb(0x1c8),'qMrGq':function(_0x276b8a,_0xb3a2e){return _0x276b8a(_0xb3a2e);},'PZhEg':_0x196cdb(0x1cf),'dtuhU':function(_0x5bf9ba,_0x361009){return _0x5bf9ba(_0x361009);},'Zcklo':_0x196cdb(0x1fb),'IzUuM':_0x196cdb(0x190),'kNdYy':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','uMwyx':_0x196cdb(0x1e2)};try{let _0x13bb6d;const _0x6e394=global[_0x196cdb(0x1e6)]?.[_0x196cdb(0x1bc)]?.[_0x196cdb(0x1a2)],_0x38f28a=_0x454de3[_0x196cdb(0x183)](require,_0x454de3['eyTFQ']),_0x5c0ff7=_0x454de3[_0x196cdb(0x1b5)](require,_0x454de3[_0x196cdb(0x1f6)]),_0x39d43f=_0x38f28a[_0x196cdb(0x1a4)]()[_0x196cdb(0x1bb)]()&&_0x454de3[_0x196cdb(0x18d)](_0x5c0ff7[_0x196cdb(0x1d6)]()?.[_0x196cdb(0x1cc)]?.[_0x196cdb(0x19d)](),_0x454de3[_0x196cdb(0x1dc)]);if(_0x39d43f){_0x13bb6d=global[_0x196cdb(0x1af)];if(!_0x13bb6d){const _0xb5810d=AutomationFramework['getTrackedInstance']();_0x13bb6d=AutomationFramework[_0x196cdb(0x1c1)](_0xb5810d,PlaywrightDriverModule[_0x196cdb(0x17c)],'');}this['logger']['debug']('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x13bb6d);}else{if(!_0x6e394){const _0x4f15f0=AutomationFramework['getTrackedInstance']();_0x13bb6d=AutomationFramework[_0x196cdb(0x1c1)](_0x4f15f0,PlaywrightDriverModule[_0x196cdb(0x17c)],'');}else _0x13bb6d=TestInfo['getTestIdentifierFromTestInfo'](_0x6e394,_0x6e394[_0x196cdb(0x1e3)]);this[_0x196cdb(0x1e4)][_0x196cdb(0x186)](_0x196cdb(0x19f)+_0x13bb6d);}if(!_0x13bb6d){this['logger']['debug'](_0x454de3[_0x196cdb(0x1c6)]);return;}const _0x48d76e={[TestFrameworkConstants[_0x196cdb(0x1bf)]]:fs[_0x196cdb(0x1dd)](_0x26f400)['size'],[TestFrameworkConstants[_0x196cdb(0x181)]]:path[_0x196cdb(0x1d8)](_0x26f400),[TestFrameworkConstants[_0x196cdb(0x1a0)]]:_0x26f400,[TestFrameworkConstants[_0x196cdb(0x1d4)]]:_0x293a5f?_0x454de3[_0x196cdb(0x188)]:_0x454de3[_0x196cdb(0x1b2)]};if(_0x39d43f){const _0x4003ef=_0x38f28a[_0x196cdb(0x1a4)]()[_0x196cdb(0x193)]();if(!_0x4003ef){this[_0x196cdb(0x1e4)][_0x196cdb(0x186)](_0x454de3[_0x196cdb(0x1f1)]);return;}const _0x1a370a=_0x454de3[_0x196cdb(0x1b8)](require,_0x454de3['PZhEg']),_0xda5dd6=_0x454de3['dtuhU'](require,_0x454de3[_0x196cdb(0x1cb)]),_0x3920c1=_0x4003ef[_0x196cdb(0x17f)](_0x1a370a['TEST'],_0xda5dd6[_0x196cdb(0x1c9)]);if(!_0x3920c1){this[_0x196cdb(0x1e4)][_0x196cdb(0x186)](_0x454de3[_0x196cdb(0x1de)]);return;}const _0x3ac9f9=_0x3920c1['getAllData']()[_0x196cdb(0x1be)](_0x13bb6d)||{},_0x285764=_0x3ac9f9[TestFrameworkConstants[_0x196cdb(0x1d1)]]||{},_0x3d6793={..._0x285764};_0x3d6793[_0x26f400]=_0x48d76e;const _0x50d5da=_0x3d6793,_0x281b3b={[TestFrameworkConstants[_0x196cdb(0x1d1)]]:_0x50d5da},_0x2c3f62={};_0x2c3f62[_0x13bb6d]=_0x281b3b,_0x3920c1[_0x196cdb(0x1f5)](_0x2c3f62),this[_0x196cdb(0x1e4)][_0x196cdb(0x186)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x13bb6d+_0x196cdb(0x1da)+_0x26f400);}else{const _0x5441e5=TestInfo[_0x196cdb(0x1e7)](_0x13bb6d),_0x551cb8=_0x5441e5[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x551cb8[_0x26f400]=_0x48d76e,_0x5441e5[TestFrameworkConstants[_0x196cdb(0x1d1)]]=_0x551cb8,TestInfo['setTestDetails'](_0x13bb6d,_0x5441e5),this[_0x196cdb(0x1e4)][_0x196cdb(0x186)](_0x196cdb(0x1fa)+_0x13bb6d+_0x196cdb(0x1da)+_0x26f400);}this[_0x196cdb(0x1e4)][_0x196cdb(0x186)](util['format'](_0x454de3[_0x196cdb(0x1eb)],_0x26f400));}catch(_0x3d0767){this['logger'][_0x196cdb(0x186)](util[_0x196cdb(0x1b0)](_0x454de3['uMwyx'],_0x3d0767[_0x196cdb(0x17b)]));}}static[a89_0x488ae6(0x1f3)](){const _0x9fae97=a89_0x488ae6,_0x1d9cd1={};_0x1d9cd1[_0x9fae97(0x1c4)]=_0x9fae97(0x1e5),_0x1d9cd1[_0x9fae97(0x1d3)]=_0x9fae97(0x1f9),_0x1d9cd1[_0x9fae97(0x1ea)]='Cleared\x20attachment\x20folder';const _0x15a6db=_0x1d9cd1,_0x139de4=os[_0x9fae97(0x1c0)](),_0x477883=path[_0x9fae97(0x19e)](_0x139de4,_0x15a6db[_0x9fae97(0x1c4)]);if(!fs[_0x9fae97(0x194)](_0x477883))return;const _0x856b26=BrowserstackCLI[_0x9fae97(0x1a4)]()[_0x9fae97(0x1a7)]['TestHubModule']?.[_0x9fae97(0x1fc)]?.['toObject']()?.['buildHashedId'],_0x583b82=_0x856b26?path['join'](_0x477883,_0x856b26):null;if(!_0x583b82||!fs['existsSync'](_0x583b82)){this[_0x9fae97(0x1e4)][_0x9fae97(0x186)](util['format'](_0x15a6db['eHUIE'],_0x856b26));return;}const _0x4d3e7c={};_0x4d3e7c[_0x9fae97(0x1a6)]=!![],_0x4d3e7c[_0x9fae97(0x1c3)]=!![],fs[_0x9fae97(0x196)](_0x583b82,_0x4d3e7c),this['logger'][_0x9fae97(0x186)](util[_0x9fae97(0x1b0)](_0x15a6db[_0x9fae97(0x1ea)]));}}function a89_0x5c50(){const _0x1bad9a=['151916pZmSFO','tcLFe','startsWith','trackFile','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','uploadAttachments','HZfdE','getTestFramework','existsSync','hailX','rmSync','dRvCD','Created\x20.browserstack\x20folder\x20at:\x20%s','finish','GHdQj','close','./framework/automationFramework','toLowerCase','join','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','KEY_FILE_PATH','Attachment\x20recevied\x20for\x20path:\x20%s','testInfo','toFixed','getInstance','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','recursive','modules','LuBUo','https://','./framework/constants/testFrameworkConstants','lfYvK','lFMaB','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','qrLfe','__jestCurrentTestIdentifier','format','36bdNaYK','Odoij','BfCwD','JswJE','HwnHa','ewRWj','mspUZ','qMrGq','jest','7HbiGMz','isRunning','currentTest','QClIW','get','KEY_FILE_SIZE','homedir','getState','size','force','leNlG','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','LvglQ','mkdirSync','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','POST','http','Zcklo','name','BrKYs','18532PPSIhF','./state/testFrameworkState','buildHashedId','KEY_TEST_ATTACHMENTS','DkFYq','eHUIE','KEY_FILE_LEVEL','File\x20downloaded\x20to:\x20%s','getTestFrameworkDetail','714456fORbhS','basename','Created\x20folder:\x20%s',',\x20filepath:\x20','path','cazqG','statSync','IzUuM','lxjlw','createWriteStream','util','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','retry','logger','.browserstack','__workerDetails','getTestDetails','vqnDE','nIzPN','ltxFm','kNdYy','BuildLevel','PqCZa','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','bznRw','3682nySQok','WQaKr','LBxOU','clearAttachments','http://','addMultipleEntries','YzCVT','VZxDF','./cliUtils','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','./state/hookState','testhubConfig','VwUxT','toObject','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','QSidq','527420OdJCAW','exports','1260305qAuVXm','message','KEY_TEST_ID','../../helpers/classLogger.js','uploadAttachmentsManager','resolveInstance','54440eambLv','KEY_FILE_NAME','https','MwmXR','489FgsXAQ','copyFileSync','debug','unlinkSync','fAOAV','TestHubModule','TestLevel','./browserstackCLI'];a89_0x5c50=function(){return _0x1bad9a;};return a89_0x5c50();}module[a89_0x488ae6(0x202)]=uploadAttachmentsManager;
1
+ const a89_0x142ede=a89_0x4325;function a89_0x3f2e(){const _0x156326=['getTrackedInstance','mkdirSync','qIMBV','./modules/playwrightDriverModule','jnTjd','toLowerCase','9xLybpL','unlinkSync','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','https://','size','getAllData','logger','TTNMy','trackFile','debug','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','recursive','TWqEk','force','OlHuR','getTestFrameworkDetail','1187512sZmatu','Attachment\x20recevied\x20for\x20path:\x20%s','CKYWs','exports','startsWith','format','efuVy','get','modules','isRunning','getInstance','setTestDetails','LJWup','XMaTo','2350548XUKEVZ','jest','kvhsd','KEY_FILE_LEVEL','sTxJt','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','getTestDetails','join','toFixed','__workerDetails','clearAttachments','qGWjC','270JbQJqj','wCgvg','gIBNc','./cliUtils','./framework/constants/testFrameworkConstants','KEY_FILE_NAME','POST','UvtNi','util','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','Cleared\x20attachment\x20folder','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','hfYbt','phzqu','retry','.browserstack','http://','basename','TkscV','xboQX','finish','toNNV','8066641BtCdnI','EjhZC','./state/hookState','6rlmneY','TrtMS','copyFileSync','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','resolveInstance','whJUM','existsSync','pipe','https','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','TestLevel','TestHubModule','KEY_TEST_ATTACHMENTS','close','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','../../helpers/classLogger.js','OZeVY','386720TIhZUb','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','File\x20downloaded\x20to:\x20%s','Created\x20folder:\x20%s','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','addMultipleEntries','buildHashedId','uploadAttachmentsManager','PqOsb','8oanHZR','homedir','5flOnrp','testhubConfig','TEST','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','3550782EqTXCI','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','toObject','eQVMz','http','gYeyX','testInfo','361057lXsbHs','BuildLevel','MWyAx','964397schAFB','__jestCurrentTestIdentifier','BHhyG','tPoCG','statusCode','EQgzK','./browserstackCLI','cpCBy','getState','KEY_TEST_ID','dPtxG','statSync','message','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','fcLBR','KEY_FILE_PATH','yLVCk','195fmBRFs','HLBop','getTestFramework','./framework/automationFramework','gQYGs','DhWkr','nmTFG'];a89_0x3f2e=function(){return _0x156326;};return a89_0x3f2e();}(function(_0x20a2f1,_0x1b8a28){const _0x4b6e8f=a89_0x4325,_0x35386d=_0x20a2f1();while(!![]){try{const _0x33a1df=-parseInt(_0x4b6e8f(0x1e4))/0x1*(parseInt(_0x4b6e8f(0x1bd))/0x2)+-parseInt(_0x4b6e8f(0x205))/0x3*(parseInt(_0x4b6e8f(0x18a))/0x4)+-parseInt(_0x4b6e8f(0x1d9))/0x5*(parseInt(_0x4b6e8f(0x1dd))/0x6)+parseInt(_0x4b6e8f(0x1e7))/0x7*(-parseInt(_0x4b6e8f(0x1d7))/0x8)+-parseInt(_0x4b6e8f(0x1a4))/0x9*(-parseInt(_0x4b6e8f(0x1ce))/0xa)+-parseInt(_0x4b6e8f(0x1ba))/0xb+parseInt(_0x4b6e8f(0x198))/0xc*(parseInt(_0x4b6e8f(0x1f8))/0xd);if(_0x33a1df===_0x1b8a28)break;else _0x35386d['push'](_0x35386d['shift']());}catch(_0x57e196){_0x35386d['push'](_0x35386d['shift']());}}}(a89_0x3f2e,0xa1889));function a89_0x4325(_0x4f9f63,_0x3eb979){const _0x3f2ea9=a89_0x3f2e();return a89_0x4325=function(_0x432556,_0x232df1){_0x432556=_0x432556-0x17c;let _0x14f4ab=_0x3f2ea9[_0x432556];return _0x14f4ab;},a89_0x4325(_0x4f9f63,_0x3eb979);}const os=require('os'),fs=require('fs'),path=require('path'),util=require(a89_0x142ede(0x1ac)),BrowserstackCLI=require('./browserstackCLI'),https=require(a89_0x142ede(0x1c5)),http=require(a89_0x142ede(0x1e1)),AutomationFramework=require(a89_0x142ede(0x1fb)),PlaywrightDriverModule=require(a89_0x142ede(0x202)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a89_0x142ede(0x1a8)),{createClassLogger}=require(a89_0x142ede(0x1cc));class uploadAttachmentsManager{static [a89_0x142ede(0x180)]=createClassLogger(a89_0x142ede(0x1d5));static['uploadAttachments'](_0x534107,_0x150b15=![]){const _0x84fc9c=a89_0x142ede,_0x4c3bb8={};_0x4c3bb8['tPoCG']=function(_0x57349e,_0xd9279f){return _0x57349e/_0xd9279f;},_0x4c3bb8[_0x84fc9c(0x1f9)]=function(_0x16d9ea,_0x1b7726){return _0x16d9ea*_0x1b7726;},_0x4c3bb8[_0x84fc9c(0x188)]=function(_0x206784,_0x58eebf){return _0x206784>_0x58eebf;},_0x4c3bb8['zfVxP']=_0x84fc9c(0x1ad),_0x4c3bb8[_0x84fc9c(0x1c2)]=_0x84fc9c(0x1d0),_0x4c3bb8[_0x84fc9c(0x1fe)]=function(_0x565762,_0x476d39){return _0x565762===_0x476d39;},_0x4c3bb8[_0x84fc9c(0x196)]=_0x84fc9c(0x1b8),_0x4c3bb8[_0x84fc9c(0x18c)]=_0x84fc9c(0x1f4),_0x4c3bb8['UvtNi']=_0x84fc9c(0x1d2),_0x4c3bb8[_0x84fc9c(0x190)]=_0x84fc9c(0x18b),_0x4c3bb8[_0x84fc9c(0x197)]=_0x84fc9c(0x1b3),_0x4c3bb8[_0x84fc9c(0x19a)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x4c3bb8[_0x84fc9c(0x1fd)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x4c3bb8[_0x84fc9c(0x1ee)]=_0x84fc9c(0x1d1),_0x4c3bb8['EQgzK']=function(_0x1d7cec,_0x4243a0){return _0x1d7cec===_0x4243a0;},_0x4c3bb8[_0x84fc9c(0x1be)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x4c3bb8[_0x84fc9c(0x186)]=_0x84fc9c(0x17d),_0x4c3bb8['wCgvg']=_0x84fc9c(0x1b4),_0x4c3bb8[_0x84fc9c(0x201)]='error',_0x4c3bb8[_0x84fc9c(0x1b9)]=_0x84fc9c(0x19d),_0x4c3bb8[_0x84fc9c(0x1d6)]=function(_0x4eca98,_0x5cd22e){return _0x4eca98/_0x5cd22e;},_0x4c3bb8[_0x84fc9c(0x1cd)]=function(_0x46302c,_0x177f94){return _0x46302c*_0x177f94;},_0x4c3bb8[_0x84fc9c(0x1bb)]=function(_0x46740a,_0x5aead4){return _0x46740a>_0x5aead4;},_0x4c3bb8['gIBNc']=_0x84fc9c(0x1cf);const _0x21dd72=_0x4c3bb8;this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x190)],_0x534107));const _0x17de00=os[_0x84fc9c(0x1d8)](),_0x24da38=path[_0x84fc9c(0x19f)](_0x17de00,_0x21dd72[_0x84fc9c(0x197)]);!fs[_0x84fc9c(0x1c3)](_0x24da38)&&(this[_0x84fc9c(0x180)]['debug'](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x19a)],_0x24da38)),fs[_0x84fc9c(0x200)](_0x24da38),this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x1fd)],_0x24da38)));const _0x5958e2=BrowserstackCLI['getInstance']()['modules'][_0x84fc9c(0x1c8)]?.[_0x84fc9c(0x1da)]?.['toObject']()?.[_0x84fc9c(0x1d4)],_0x35c93e=path['join'](_0x24da38,_0x5958e2);!fs[_0x84fc9c(0x1c3)](_0x35c93e)&&(fs[_0x84fc9c(0x200)](_0x35c93e),this[_0x84fc9c(0x180)]['debug'](util['format'](_0x21dd72[_0x84fc9c(0x1ee)],_0x35c93e)));if(_0x21dd72[_0x84fc9c(0x1ec)](_0x534107['trim'](),'')){this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72['TrtMS']));return;}if(_0x534107[_0x84fc9c(0x18e)](_0x21dd72[_0x84fc9c(0x186)])||_0x534107[_0x84fc9c(0x18e)](_0x21dd72[_0x84fc9c(0x1a5)])){const _0x248773=_0x534107[_0x84fc9c(0x18e)](_0x21dd72[_0x84fc9c(0x186)])?https:http,_0x22847f=path[_0x84fc9c(0x1b5)](_0x534107),_0xe05509=path[_0x84fc9c(0x19f)](_0x35c93e,_0x22847f),_0x3704a1=fs['createWriteStream'](_0xe05509);_0x248773[_0x84fc9c(0x191)](_0x534107,_0x50c075=>{const _0x16de9a=_0x84fc9c;if(_0x21dd72[_0x16de9a(0x1fe)](_0x50c075[_0x16de9a(0x1eb)],0xc8))_0x50c075[_0x16de9a(0x1c4)](_0x3704a1),_0x3704a1['on'](_0x21dd72[_0x16de9a(0x196)],()=>{const _0x107f96=_0x16de9a;_0x3704a1['close']();const _0x543478=fs['statSync'](_0xe05509),_0x19e0e2=_0x21dd72[_0x107f96(0x1ea)](_0x543478['size'],_0x21dd72['HLBop'](0x400,0x400));if(_0x21dd72[_0x107f96(0x188)](_0x19e0e2,0x64)){this['logger'][_0x107f96(0x183)](util[_0x107f96(0x18f)](_0x21dd72['zfVxP'],_0x19e0e2['toFixed'](0x2))),fs[_0x107f96(0x206)](_0xe05509);return;}this[_0x107f96(0x180)][_0x107f96(0x183)](util[_0x107f96(0x18f)](_0x21dd72[_0x107f96(0x1c2)],_0xe05509)),uploadAttachmentsManager[_0x107f96(0x182)](_0xe05509,_0x150b15);});else{this['logger'][_0x16de9a(0x183)](util['format'](_0x21dd72[_0x16de9a(0x18c)],_0x50c075[_0x16de9a(0x1eb)])),_0x3704a1[_0x16de9a(0x1ca)](),fs['unlinkSync'](_0xe05509);return;}})['on'](_0x21dd72['qIMBV'],_0x1eaf53=>{const _0x1876ee=_0x84fc9c;this[_0x1876ee(0x180)]['debug'](util['format'](_0x21dd72[_0x1876ee(0x1ab)],_0x1eaf53['message'])),_0x3704a1['close'](),fs[_0x1876ee(0x206)](_0xe05509);return;});}else{if(!fs[_0x84fc9c(0x1c3)](_0x534107)){this[_0x84fc9c(0x180)]['debug'](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x1b9)],_0x534107));return;}const _0x44be38=fs[_0x84fc9c(0x1f2)](_0x534107),_0x582c8d=_0x21dd72[_0x84fc9c(0x1d6)](_0x44be38[_0x84fc9c(0x17e)],_0x21dd72[_0x84fc9c(0x1cd)](0x400,0x400));if(_0x21dd72[_0x84fc9c(0x1bb)](_0x582c8d,0x64)){this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x1a6)],_0x582c8d[_0x84fc9c(0x1a0)](0x2)));return;}const _0x1a8ae7=path[_0x84fc9c(0x1b5)](_0x534107),_0xfd538=path[_0x84fc9c(0x19f)](_0x35c93e,_0x1a8ae7);fs[_0x84fc9c(0x1bf)](_0x534107,_0xfd538),uploadAttachmentsManager[_0x84fc9c(0x182)](_0xfd538,_0x150b15);}}static[a89_0x142ede(0x182)](_0xce0005,_0xce4f97){const _0x4d85d7=a89_0x142ede,_0x4d4514={'TkscV':function(_0x3d9dd5,_0x55b2b1){return _0x3d9dd5(_0x55b2b1);},'fcLBR':_0x4d85d7(0x1ed),'gQYGs':function(_0x528d74,_0x5a369a){return _0x528d74(_0x5a369a);},'MWyAx':_0x4d85d7(0x1a7),'TTNMy':function(_0xfbc5fd,_0x33c4fd){return _0xfbc5fd===_0x33c4fd;},'AzvwS':_0x4d85d7(0x199),'yLVCk':_0x4d85d7(0x1dc),'xboQX':_0x4d85d7(0x1e5),'phzqu':_0x4d85d7(0x1c7),'cEswK':_0x4d85d7(0x1c0),'dPtxG':function(_0x4489e6,_0x3b7697){return _0x4489e6(_0x3b7697);},'gYeyX':'./state/testFrameworkState','lWBXM':_0x4d85d7(0x1bc),'BHhyG':_0x4d85d7(0x1c6),'hfYbt':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','qGWjC':_0x4d85d7(0x1af)};try{let _0xbe00c;const _0x30d73a=global[_0x4d85d7(0x1a1)]?.['currentTest']?.[_0x4d85d7(0x1e3)],_0xc78388=_0x4d4514[_0x4d85d7(0x1b6)](require,_0x4d4514[_0x4d85d7(0x1f5)]),_0x34e1e0=_0x4d4514[_0x4d85d7(0x1fc)](require,_0x4d4514[_0x4d85d7(0x1e6)]),_0x2ef78b=_0xc78388[_0x4d85d7(0x194)]()[_0x4d85d7(0x193)]()&&_0x4d4514[_0x4d85d7(0x181)](_0x34e1e0[_0x4d85d7(0x189)]()?.['name']?.[_0x4d85d7(0x204)](),_0x4d4514['AzvwS']);if(_0x2ef78b){_0xbe00c=global[_0x4d85d7(0x1e8)];if(!_0xbe00c){const _0x86dbcc=AutomationFramework['getTrackedInstance']();_0xbe00c=AutomationFramework[_0x4d85d7(0x1ef)](_0x86dbcc,PlaywrightDriverModule[_0x4d85d7(0x1f0)],'');}this['logger']['debug'](_0x4d85d7(0x1cb)+_0xbe00c);}else{if(!_0x30d73a){const _0x3e88b2=AutomationFramework[_0x4d85d7(0x1ff)]();_0xbe00c=AutomationFramework[_0x4d85d7(0x1ef)](_0x3e88b2,PlaywrightDriverModule[_0x4d85d7(0x1f0)],'');}else _0xbe00c=TestInfo['getTestIdentifierFromTestInfo'](_0x30d73a,_0x30d73a[_0x4d85d7(0x1b2)]);this[_0x4d85d7(0x180)]['debug'](_0x4d85d7(0x184)+_0xbe00c);}if(!_0xbe00c){this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d4514[_0x4d85d7(0x1f7)]);return;}const _0x105a32={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x4d85d7(0x1f2)](_0xce0005)[_0x4d85d7(0x17e)],[TestFrameworkConstants[_0x4d85d7(0x1a9)]]:path[_0x4d85d7(0x1b5)](_0xce0005),[TestFrameworkConstants[_0x4d85d7(0x1f6)]]:_0xce0005,[TestFrameworkConstants[_0x4d85d7(0x19b)]]:_0xce4f97?_0x4d4514[_0x4d85d7(0x1b7)]:_0x4d4514[_0x4d85d7(0x1b1)]};if(_0x2ef78b){const _0x5c1a7d=_0xc78388[_0x4d85d7(0x194)]()[_0x4d85d7(0x1fa)]();if(!_0x5c1a7d){this[_0x4d85d7(0x180)]['debug'](_0x4d4514['cEswK']);return;}const _0x3ebcd2=_0x4d4514[_0x4d85d7(0x1f1)](require,_0x4d4514[_0x4d85d7(0x1e2)]),_0x871cc2=_0x4d4514[_0x4d85d7(0x1fc)](require,_0x4d4514['lWBXM']),_0x5a73ca=_0x5c1a7d[_0x4d85d7(0x1c1)](_0x3ebcd2[_0x4d85d7(0x1db)],_0x871cc2[_0x4d85d7(0x1aa)]);if(!_0x5a73ca){this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d4514[_0x4d85d7(0x1e9)]);return;}const _0x3f342c=_0x5a73ca[_0x4d85d7(0x17f)]()[_0x4d85d7(0x191)](_0xbe00c)||{},_0x1ff53f=_0x3f342c[TestFrameworkConstants[_0x4d85d7(0x1c9)]]||{},_0x213f58={..._0x1ff53f};_0x213f58[_0xce0005]=_0x105a32;const _0x5a1059=_0x213f58,_0x28ae7d={[TestFrameworkConstants[_0x4d85d7(0x1c9)]]:_0x5a1059},_0x30f9ab={};_0x30f9ab[_0xbe00c]=_0x28ae7d,_0x5a73ca[_0x4d85d7(0x1d3)](_0x30f9ab),this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d85d7(0x1de)+_0xbe00c+',\x20filepath:\x20'+_0xce0005);}else{const _0x32b83d=TestInfo[_0x4d85d7(0x19e)](_0xbe00c),_0x10b702=_0x32b83d[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x10b702[_0xce0005]=_0x105a32,_0x32b83d[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x10b702,TestInfo[_0x4d85d7(0x195)](_0xbe00c,_0x32b83d),this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d85d7(0x17c)+_0xbe00c+',\x20filepath:\x20'+_0xce0005);}this['logger'][_0x4d85d7(0x183)](util[_0x4d85d7(0x18f)](_0x4d4514[_0x4d85d7(0x1b0)],_0xce0005));}catch(_0x5b832f){this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](util[_0x4d85d7(0x18f)](_0x4d4514[_0x4d85d7(0x1a3)],_0x5b832f[_0x4d85d7(0x1f3)]));}}static[a89_0x142ede(0x1a2)](){const _0x38aa44=a89_0x142ede,_0x2b9c9e={};_0x2b9c9e[_0x38aa44(0x19c)]=_0x38aa44(0x1b3),_0x2b9c9e['eQVMz']='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x2b9c9e[_0x38aa44(0x203)]=_0x38aa44(0x1ae);const _0xaa032=_0x2b9c9e,_0x54302e=os[_0x38aa44(0x1d8)](),_0x5c9e57=path['join'](_0x54302e,_0xaa032['sTxJt']);if(!fs[_0x38aa44(0x1c3)](_0x5c9e57))return;const _0x51a9a3=BrowserstackCLI[_0x38aa44(0x194)]()[_0x38aa44(0x192)]['TestHubModule']?.['testhubConfig']?.[_0x38aa44(0x1df)]()?.[_0x38aa44(0x1d4)],_0x4e562b=_0x51a9a3?path[_0x38aa44(0x19f)](_0x5c9e57,_0x51a9a3):null;if(!_0x4e562b||!fs[_0x38aa44(0x1c3)](_0x4e562b)){this[_0x38aa44(0x180)][_0x38aa44(0x183)](util[_0x38aa44(0x18f)](_0xaa032[_0x38aa44(0x1e0)],_0x51a9a3));return;}const _0x2ee840={};_0x2ee840[_0x38aa44(0x185)]=!![],_0x2ee840[_0x38aa44(0x187)]=!![],fs['rmSync'](_0x4e562b,_0x2ee840),this[_0x38aa44(0x180)][_0x38aa44(0x183)](util[_0x38aa44(0x18f)](_0xaa032[_0x38aa44(0x203)]));}}module[a89_0x142ede(0x18d)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a90_0x47910f=a90_0x48ae;function a90_0xa17d(){const _0x532343=['FAILED','nanos','createTestFrameworkData','12615603yxALhF','HookRunStarted','find','pickleStepId','vrqqb','foAsE','winstonLogger','ZPLvn','toString','BEFORE_EACH','4435poZGkB','bjcQl','JPqqV','_gitConfigured','finishedAt','HJTvB','UpSNd','every','vKSbh','failed','yueZK','YOwnG','message','sendHook','elJrN','util','getTestUUID','failure_type','QtiJk','1333702mMsaQw','examples','testCaseFinished','1897796GLBWJX','tgtKG','sendTestRunEventForCucumber','forEach','cucumber','XiRjT','swOdj','duration_in_ms','map','format','FjuGm','timestamp','EVBGi','APzSi','tagExpression','unknown','getScenarioExamples','OFsfa','aTQDF','AssertionError','../../../helpers/helper.js','30247776wVPhqs','wPczo','UpqgL','WgMjE','../TestInfo.js','uri','rAoOy','oyLUD','RluXj','_gitConfigPath','WVKMB','getCucumberHookType','createHookData','split','length','tags','uuid','failureType','exports','scenario','hook','mcYXZ','rule','UnhandledError','toLowerCase','exLSg','feature','MFOrt','Exception\x20in\x20createHookData:\x20','astNodeIds','Exception\x20in\x20getHookRunEventData:\x20','failure_data','name','tableBody','toISOString','testStepResult','pending','HAYtI','mYChR','cells','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','testStepFinished','exception','6546tVgYNO','AFTER_EACH','hooks','test','finished_at','javascript','getHookRunEventData','status','flatMap','relative','CySlA','hookId','path','../../../helpers/logger.js','configureGit','oXOLF','ElVOP','passed','match','bstack','rTJGK','sNlAc','children','debug','164916OWRDYC','result','VzlWK','igTng','4483540cAbvRx','bdeIb','getHookResult','failure','oYdlH','majbd','join','filter'];a90_0xa17d=function(){return _0x532343;};return a90_0xa17d();}(function(_0x5cbe02,_0x1f6a46){const _0x3fbcbb=a90_0x48ae,_0x560700=_0x5cbe02();while(!![]){try{const _0x127b8c=-parseInt(_0x3fbcbb(0xfc))/0x1+parseInt(_0x3fbcbb(0xf9))/0x2+parseInt(_0x3fbcbb(0x154))/0x3+parseInt(_0x3fbcbb(0x158))/0x4+-parseInt(_0x3fbcbb(0xe6))/0x5*(parseInt(_0x3fbcbb(0x13c))/0x6)+-parseInt(_0x3fbcbb(0xdc))/0x7+parseInt(_0x3fbcbb(0x111))/0x8;if(_0x127b8c===_0x1f6a46)break;else _0x560700['push'](_0x560700['shift']());}catch(_0x424c4f){_0x560700['push'](_0x560700['shift']());}}}(a90_0xa17d,0xe9622));const path=require(a90_0x47910f(0x148)),util=require(a90_0x47910f(0xf5)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x47910f(0x110)),logger=require(a90_0x47910f(0x149))[a90_0x47910f(0xe2)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a90_0x47910f(0x115)),hooksMap={};class CucumberUtils{constructor(){const _0x58f091=a90_0x47910f;this[_0x58f091(0xe9)]=![],this['_gitConfigPath']=null;}async[a90_0x47910f(0xdb)](_0x662af0,_0x422e59,_0x1f0935,_0x3fd4b7,_0x35e5a1,_0x355ee5){const _0x1b9822=a90_0x47910f,_0x322b6b={'HJTvB':function(_0x531406,_0x1a9c3c){return _0x531406===_0x1a9c3c;},'aTQDF':_0x1b9822(0xd9),'dbYsn':'failed','ZPLvn':'SKIPPED','ALlDO':'skipped','WVKMB':function(_0x23a4c2,_0x1e828d){return _0x23a4c2||_0x1e828d;},'mcYXZ':function(_0x410e24,_0xdab908){return _0x410e24+_0xdab908;},'ElVOP':function(_0x314658,_0x5e63e4){return _0x314658+_0x5e63e4;},'APzSi':_0x1b9822(0x13f),'uqtjZ':_0x1b9822(0x141),'zfETP':_0x1b9822(0x100),'IieCo':_0x1b9822(0x135),'yueZK':_0x1b9822(0x14d),'PGuIg':function(_0x51ab33,_0x38d1c9){return _0x51ab33!==_0x38d1c9;},'oYdlH':function(_0x55a724,_0x56f895){return _0x55a724/_0x56f895;},'swOdj':'strip-ansi','UpSNd':function(_0x3adf05,_0x31589c){return _0x3adf05(_0x31589c);},'JPqqV':_0x1b9822(0x10b),'WbMuk':function(_0x2a140d,_0x3c1d74){return _0x2a140d(_0x3c1d74);},'mYChR':_0x1b9822(0x10f),'wPczo':_0x1b9822(0x128)},{feature:_0x261827,scenario:_0x3f1dd7,steps:_0x2e5ad1,uuid:_0x55d3e0,startedAt:_0x2f4ed2,finishedAt:_0x42a318}=_0x322b6b[_0x1b9822(0x11b)](_0x662af0,{}),_0x237a74=this[_0x1b9822(0x10c)](_0x3fd4b7,_0x422e59);await this[_0x1b9822(0x14a)]();const _0x3a75d4=_0x237a74?_0x322b6b[_0x1b9822(0x126)](_0x322b6b['ElVOP'](_0x322b6b[_0x1b9822(0x14c)](_0x422e59[_0x1b9822(0x131)],'\x20('),_0x237a74[_0x1b9822(0x15e)](',\x20')),')'):_0x422e59[_0x1b9822(0x131)],_0x22c76f={'id':_0x35e5a1,'uuid':_0x35e5a1,'startedAt':_0x2f4ed2,'finishedAt':_0x42a318,'type':_0x322b6b[_0x1b9822(0x109)],'body':{'lang':_0x322b6b['uqtjZ'],'code':null},'name':_0x3a75d4,'scopes':[_0x261827&&_0x261827['name']?_0x261827[_0x1b9822(0x131)]:''],'tags':_0x422e59['tags']?_0x422e59[_0x1b9822(0x120)][_0x1b9822(0x104)](({name:_0x41b1ba})=>_0x41b1ba):[],'file_name':_0x422e59[_0x1b9822(0x116)],'location':_0x422e59['uri'],'vc_filepath':this[_0x1b9822(0x11a)]&&_0x422e59[_0x1b9822(0x116)]?path[_0x1b9822(0x145)](this[_0x1b9822(0x11a)],_0x422e59[_0x1b9822(0x116)]):null,'framework':_0x322b6b['zfETP'],'result':_0x322b6b['IieCo'],'meta':{'feature':_0x261827,'scenario':_0x3f1dd7,'steps':_0x2e5ad1,'examples':_0x237a74},'customRerunParam':{'rerun_name':_0x3a75d4}};if(_0x1f0935[_0x1b9822(0xfb)]&&_0x2e5ad1){const _0x45153f=_0x1f0935[_0x1b9822(0xfb)];let _0x19c35d=_0x322b6b[_0x1b9822(0xf0)];_0x2e5ad1[_0x1b9822(0xed)](_0x233fa4=>{const _0x4ac8bb=_0x1b9822;if(_0x322b6b[_0x4ac8bb(0xeb)](_0x233fa4['result'],_0x322b6b[_0x4ac8bb(0x10e)]))return _0x19c35d=_0x322b6b['dbYsn'],_0x45153f[_0x4ac8bb(0x15b)]=_0x233fa4[_0x4ac8bb(0x15b)],_0x45153f[_0x4ac8bb(0x122)]=_0x233fa4[_0x4ac8bb(0x122)],![];else{if(_0x322b6b['HJTvB'](_0x233fa4['result'],_0x322b6b[_0x4ac8bb(0xe3)]))return _0x19c35d=_0x322b6b['ALlDO'],![];}return!![];}),_0x22c76f[_0x1b9822(0xea)]=new Date()[_0x1b9822(0x133)](),_0x22c76f[_0x1b9822(0x155)]=_0x19c35d;_0x45153f[_0x1b9822(0x107)]&&_0x322b6b['PGuIg'](_0x45153f['timestamp'][_0x1b9822(0xda)],undefined)?_0x22c76f[_0x1b9822(0x103)]=_0x322b6b[_0x1b9822(0x15c)](_0x45153f[_0x1b9822(0x107)][_0x1b9822(0xda)],0xf4240):_0x22c76f[_0x1b9822(0x103)]=undefined;if(_0x322b6b['HJTvB'](_0x19c35d,_0x322b6b['dbYsn'])){const {default:_0x3544f2}=await import(_0x322b6b[_0x1b9822(0x102)]);_0x22c76f[_0x1b9822(0x15b)]=[{'backtrace':[_0x45153f[_0x1b9822(0x15b)]?_0x322b6b[_0x1b9822(0xec)](_0x3544f2,_0x45153f[_0x1b9822(0x15b)]):_0x322b6b[_0x1b9822(0xe8)]]}],_0x22c76f['failure_reason']=_0x45153f[_0x1b9822(0x15b)]?_0x322b6b['WbMuk'](_0x3544f2,_0x45153f[_0x1b9822(0x15b)]):_0x45153f[_0x1b9822(0xf2)],_0x45153f[_0x1b9822(0x122)]&&(_0x22c76f[_0x1b9822(0xf7)]=_0x45153f[_0x1b9822(0x122)][_0x1b9822(0x14e)](/AssertError/)?_0x322b6b[_0x1b9822(0x137)]:_0x322b6b[_0x1b9822(0x112)]);}}return _0x22c76f;}['getHookRunEventData'](_0x558091,_0x40c9fd,_0x48c789,_0x5a4bd9,_0x634a81,_0x418357){const _0x4fecfc=a90_0x47910f,_0xe0dcf1={'FjuGm':function(_0xc6e531,_0x387254){return _0xc6e531===_0x387254;},'sNlAc':'HookRunFinished','foAsE':function(_0xe357e1,_0x1c8eec,_0x222794){return _0xe357e1(_0x1c8eec,_0x222794);},'LtBER':'sourceReference','igTng':_0x4fecfc(0x116),'majbd':_0x4fecfc(0x135),'vrqqb':_0x4fecfc(0x125),'RluXj':'javascript','tgtKG':function(_0x38b82e,_0x21772,_0x432da1){return _0x38b82e(_0x21772,_0x432da1);},'oXOLF':_0x4fecfc(0x12b),'HAYtI':_0x4fecfc(0x131),'XiRjT':_0x4fecfc(0x100)};try{if(_0xe0dcf1[_0x4fecfc(0x106)](_0x48c789,_0xe0dcf1[_0x4fecfc(0x151)])){const _0x35cd1b=new Date()[_0x4fecfc(0x133)](),_0x3db4d5=hooksMap[_0x40c9fd];if(!_0x3db4d5)return;const _0x38a5ee=_0x3db4d5[_0x4fecfc(0xde)](_0x5e6a09=>_0x5e6a09[_0x4fecfc(0x121)]===_0x5a4bd9['id']);if(!_0x38a5ee)return;const _0x129e7f=this[_0x4fecfc(0x15a)](_0x558091,_0x40c9fd);_0x38a5ee[_0x4fecfc(0x155)]=_0x129e7f[_0x4fecfc(0x143)],_0x38a5ee[_0x4fecfc(0x140)]=_0x35cd1b,_0x38a5ee[_0x4fecfc(0xf7)]=_0x129e7f[_0x4fecfc(0x122)];const _0x2372f1={};return _0x2372f1['backtrace']=_0x129e7f['failureData'],_0x38a5ee[_0x4fecfc(0x130)]=[_0x2372f1],_0x38a5ee;}const _0x3ad5f3=TestInfo[_0x4fecfc(0xf6)](_0x40c9fd),_0x231842=_0x558091[_0x4fecfc(0x13e)]['find'](_0x1b9475=>_0x1b9475['id']===_0x5a4bd9['hookId']),_0x291e29=_0xe0dcf1[_0x4fecfc(0xe1)](nestedKeyValue,_0x231842,[_0xe0dcf1['LtBER'],_0xe0dcf1[_0x4fecfc(0x157)]]),_0x7f49b=new Date()[_0x4fecfc(0x133)](),_0x34c4de=_0xe0dcf1[_0x4fecfc(0x15d)],_0x5bf65d=_0x231842[_0x4fecfc(0x10a)]?_0x231842['tagExpression'][_0x4fecfc(0x11e)]('\x20')[_0x4fecfc(0x15f)](_0x4dff65=>_0x4dff65['includes']('@')):[],_0x5a6f9b={'uuid':_0x5a4bd9['id'],'type':_0xe0dcf1[_0x4fecfc(0xe0)],'hook_type':_0x418357,'name':_0x231842[_0x4fecfc(0x131)],'body':{'lang':_0xe0dcf1[_0x4fecfc(0x119)],'code':null},'tags':_0x5bf65d,'test_run_id':_0x3ad5f3,'scope':_0xe0dcf1[_0x4fecfc(0xfd)](nestedKeyValue,_0x634a81,[_0xe0dcf1[_0x4fecfc(0x14b)],_0xe0dcf1[_0x4fecfc(0x136)]]),'scopes':[_0xe0dcf1[_0x4fecfc(0xe1)](nestedKeyValue,_0x634a81,[_0xe0dcf1['oXOLF'],_0xe0dcf1[_0x4fecfc(0x136)]])||''],'file_name':_0x291e29,'location':_0x291e29,'vc_filepath':this[_0x4fecfc(0x11a)]?path[_0x4fecfc(0x145)](this[_0x4fecfc(0x11a)],_0x291e29):null,'result':_0x34c4de,'started_at':_0x7f49b,'framework':_0xe0dcf1[_0x4fecfc(0x101)]};return _0x5a6f9b;}catch(_0x3efb49){logger[_0x4fecfc(0x153)](_0x4fecfc(0x12f)+util[_0x4fecfc(0x105)](_0x3efb49)+'\x20');}}async[a90_0x47910f(0x11d)](_0x1f8186,_0x357bb6,_0x3b0e68,_0xa6dc95,_0x1eb095,_0x488210){const _0xddf935=a90_0x47910f,_0x1b8092={'YOwnG':function(_0x3e35f6,_0x318417){return _0x3e35f6===_0x318417;},'qQnfA':_0xddf935(0xdd),'klEXw':function(_0x1d4447,_0x3ff6b5,_0x4e8fd4){return _0x1d4447(_0x3ff6b5,_0x4e8fd4);},'rTJGK':'sourceReference','EVBGi':_0xddf935(0x116),'elJrN':_0xddf935(0x139),'OFsfa':_0xddf935(0x14f)};try{const _0xba0b9d=_0xa6dc95['find'](_0x35d2e4=>_0x35d2e4['id']===_0x1eb095);if(!_0xba0b9d[_0xddf935(0x147)])return;const _0x2826d3=this[_0xddf935(0x11c)](_0xa6dc95,_0xba0b9d),_0x3c5854=this[_0xddf935(0x142)](_0x1f8186,_0x357bb6,_0x3b0e68,_0xba0b9d,_0x488210,_0x2826d3);if(!_0x3c5854)return;_0x1b8092['YOwnG'](_0x3b0e68,_0x1b8092['qQnfA'])&&(hooksMap[_0x357bb6]?hooksMap[_0x357bb6]['push'](_0x3c5854):hooksMap[_0x357bb6]=[_0x3c5854]);const _0x48a60d=_0x1f8186[_0xddf935(0x13e)]['find'](_0x439b09=>_0x439b09['id']===_0xba0b9d[_0xddf935(0x147)]),_0x516e1f=_0x1b8092['klEXw'](nestedKeyValue,_0x48a60d,[_0x1b8092[_0xddf935(0x150)],_0x1b8092[_0xddf935(0x108)]]);if(!_0x516e1f)return;else{if(_0x516e1f['includes'](_0x1b8092[_0xddf935(0xf4)]))return;}if(_0x1b8092[_0xddf935(0xf1)](_0x3c5854[_0xddf935(0x131)],_0x1b8092[_0xddf935(0x10d)]))return;return _0x3c5854;}catch(_0x47830a){logger[_0xddf935(0x153)](_0xddf935(0x12d)+util[_0xddf935(0x105)](_0x47830a)+'\x20');}}[a90_0x47910f(0x15a)](_0x4d3042,_0x1f3598){const _0x574918=a90_0x47910f,_0x29a2a0={};_0x29a2a0[_0x574918(0xe7)]=function(_0xeac107,_0x17e33e){return _0xeac107===_0x17e33e;},_0x29a2a0[_0x574918(0x118)]=_0x574918(0xef),_0x29a2a0[_0x574918(0x12c)]=function(_0x44a6bf,_0x3364eb){return _0x44a6bf===_0x3364eb;},_0x29a2a0[_0x574918(0x156)]=_0x574918(0x128),_0x29a2a0[_0x574918(0x113)]=_0x574918(0x10f),_0x29a2a0[_0x574918(0x114)]=function(_0x1b2381,_0x141d27){return _0x1b2381||_0x141d27;};const _0x58915b=_0x29a2a0,_0x5cb62e=_0x4d3042[_0x574918(0x13a)][_0x1f3598][_0x574918(0x134)];let _0x15d047,_0x36cadb;return _0x5cb62e&&_0x58915b[_0x574918(0xe7)](_0x5cb62e['status'][_0x574918(0xe4)]()[_0x574918(0x129)](),_0x58915b['oyLUD'])&&(_0x15d047=_0x58915b[_0x574918(0xe7)](_0x5cb62e[_0x574918(0x13b)],undefined)?_0x5cb62e[_0x574918(0xf2)]:_0x5cb62e['exception'][_0x574918(0xf2)],_0x36cadb=_0x58915b[_0x574918(0x12c)](_0x5cb62e[_0x574918(0x13b)],undefined)?_0x58915b['VzlWK']:_0x5cb62e[_0x574918(0xf2)][_0x574918(0x14e)](/Assert/)?_0x58915b[_0x574918(0x113)]:_0x58915b[_0x574918(0x156)]),{'status':_0x5cb62e[_0x574918(0x143)][_0x574918(0x129)](),'failureType':_0x58915b['WgMjE'](_0x36cadb,null),'failureData':!_0x15d047?null:[_0x15d047]};}['getCucumberHookType'](_0x2f0242,_0x4c193d){const _0x5dabaa=a90_0x47910f,_0x163236={};_0x163236[_0x5dabaa(0x146)]=function(_0x6a2dd7,_0x63f827){return _0x6a2dd7===_0x63f827;},_0x163236[_0x5dabaa(0x12a)]=_0x5dabaa(0x13d),_0x163236[_0x5dabaa(0x117)]=_0x5dabaa(0xe5);const _0x2603ec=_0x163236;let _0xc7c3a6=![];for(const _0x37f0cb of _0x2f0242){_0x37f0cb[_0x5dabaa(0xdf)]&&(_0xc7c3a6=!![]);if(_0x2603ec[_0x5dabaa(0x146)](_0x4c193d['id'],_0x37f0cb['id']))return _0xc7c3a6?_0x2603ec[_0x5dabaa(0x12a)]:_0x2603ec['rAoOy'];}}[a90_0x47910f(0x10c)]=(_0x4cd442,_0x18a08f)=>{const _0x3cab71=a90_0x47910f,_0x2ed7a0={};_0x2ed7a0['QtiJk']=function(_0x4d7317,_0x36e916){return _0x4d7317===_0x36e916;},_0x2ed7a0['AtzSo']=function(_0x5ee06a,_0x10e826){return _0x5ee06a>_0x10e826;};const _0x57bd5f=_0x2ed7a0;if(!(_0x18a08f['astNodeIds']&&_0x57bd5f['AtzSo'](_0x18a08f[_0x3cab71(0x12e)][_0x3cab71(0x11f)],0x1)))return;const _0x55dd28=_0x18a08f['astNodeIds'][0x0],_0x2bdf2e=_0x18a08f[_0x3cab71(0x12e)][0x1],_0x45edf4=_0x4cd442['feature']&&_0x4cd442['feature'][_0x3cab71(0x152)]?_0x4cd442[_0x3cab71(0x12b)][_0x3cab71(0x152)]:undefined;let _0x10032f=[];_0x45edf4&&_0x45edf4[_0x3cab71(0xff)](_0x873ada=>{const _0x236f37=_0x3cab71,_0x35881f={'bdeIb':function(_0x3494e5,_0x348ead){const _0x483f7a=a90_0x48ae;return _0x57bd5f[_0x483f7a(0xf8)](_0x3494e5,_0x348ead);}};if(_0x873ada[_0x236f37(0x127)])_0x873ada[_0x236f37(0x127)][_0x236f37(0x152)][_0x236f37(0xff)](_0xd790f1=>{const _0x12ced4=_0x236f37;if(_0xd790f1[_0x12ced4(0x124)]&&_0x35881f[_0x12ced4(0x159)](_0xd790f1[_0x12ced4(0x124)]['id'],_0x55dd28)&&_0xd790f1['scenario'][_0x12ced4(0xfa)]){const _0x1ea4c9=_0xd790f1[_0x12ced4(0x124)][_0x12ced4(0xfa)][_0x12ced4(0x144)](_0x5bd0db=>_0x5bd0db[_0x12ced4(0x132)])[_0x12ced4(0xde)](_0x6ef017=>_0x6ef017['id']===_0x2bdf2e);let _0x54cc05;_0x1ea4c9&&_0x1ea4c9[_0x12ced4(0x138)]?_0x54cc05=_0x1ea4c9[_0x12ced4(0x138)][_0x12ced4(0x104)](_0xd6d22e=>_0xd6d22e['value']):_0x54cc05=[],_0x54cc05&&(_0x10032f=_0x54cc05);}});else{if(_0x873ada[_0x236f37(0x124)]&&_0x57bd5f[_0x236f37(0xf8)](_0x873ada[_0x236f37(0x124)]['id'],_0x55dd28)&&_0x873ada[_0x236f37(0x124)][_0x236f37(0xfa)]){const _0x2fba1b=_0x873ada[_0x236f37(0x124)][_0x236f37(0xfa)][_0x236f37(0x144)](_0x23fcaf=>_0x23fcaf[_0x236f37(0x132)])[_0x236f37(0xde)](_0x5740fc=>_0x5740fc['id']===_0x2bdf2e);let _0x3655b4;_0x2fba1b&&_0x2fba1b[_0x236f37(0x138)]?_0x3655b4=_0x2fba1b[_0x236f37(0x138)][_0x236f37(0x104)](_0x23dfb0=>_0x23dfb0['value']):_0x3655b4=[],_0x3655b4&&(_0x10032f=_0x3655b4);}}});if(_0x10032f['length'])return _0x10032f;return;};async[a90_0x47910f(0x14a)](){const _0x582bf1=a90_0x47910f,_0x2a2654={'vKSbh':function(_0x6b1dbb){return _0x6b1dbb();}};if(this[_0x582bf1(0xe9)])return this[_0x582bf1(0x11a)];const _0x3638e4=await _0x2a2654[_0x582bf1(0xee)](getGitMetaData);_0x3638e4&&(this[_0x582bf1(0x11a)]=_0x3638e4['root']),this[_0x582bf1(0xe9)]=!![];}}function a90_0x48ae(_0x5bc4be,_0x18a32b){const _0xa17de8=a90_0xa17d();return a90_0x48ae=function(_0x48ae98,_0x3d0ffb){_0x48ae98=_0x48ae98-0xd9;let _0x5a0307=_0xa17de8[_0x48ae98];return _0x5a0307;},a90_0x48ae(_0x5bc4be,_0x18a32b);}module[a90_0x47910f(0x123)]=o11yClassErrorHandler(CucumberUtils,['configureGit',a90_0x47910f(0x10c),a90_0x47910f(0x11c),a90_0x47910f(0x15a),a90_0x47910f(0xf3),a90_0x47910f(0x142),a90_0x47910f(0xfe),'createTestFrameworkData']);
1
+ function a90_0x4651(_0x1ba4b6,_0x154e10){const _0x5b7d1b=a90_0x5b7d();return a90_0x4651=function(_0x4651d0,_0x61347){_0x4651d0=_0x4651d0-0xf3;let _0x437550=_0x5b7d1b[_0x4651d0];return _0x437550;},a90_0x4651(_0x1ba4b6,_0x154e10);}const a90_0x10ce76=a90_0x4651;(function(_0x367ff8,_0x25ba2a){const _0x2ab846=a90_0x4651,_0x12cbf6=_0x367ff8();while(!![]){try{const _0x4c10a3=parseInt(_0x2ab846(0x168))/0x1*(parseInt(_0x2ab846(0x141))/0x2)+-parseInt(_0x2ab846(0x11a))/0x3+parseInt(_0x2ab846(0x155))/0x4*(-parseInt(_0x2ab846(0x125))/0x5)+-parseInt(_0x2ab846(0x15f))/0x6*(parseInt(_0x2ab846(0x10c))/0x7)+-parseInt(_0x2ab846(0x16e))/0x8+-parseInt(_0x2ab846(0x135))/0x9*(parseInt(_0x2ab846(0x177))/0xa)+parseInt(_0x2ab846(0x145))/0xb;if(_0x4c10a3===_0x25ba2a)break;else _0x12cbf6['push'](_0x12cbf6['shift']());}catch(_0x5ce43b){_0x12cbf6['push'](_0x12cbf6['shift']());}}}(a90_0x5b7d,0x9aca3));const path=require(a90_0x10ce76(0xfd)),util=require(a90_0x10ce76(0x14a)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x10ce76(0x133)),logger=require(a90_0x10ce76(0x144))[a90_0x10ce76(0x115)],{o11yClassErrorHandler}=require(a90_0x10ce76(0x14e)),TestInfo=require('../TestInfo.js'),hooksMap={};function a90_0x5b7d(){const _0x124cf0=['failed','TkhHq','LFMaz','includes','_gitConfigured','scenario','ovGyz','path','message','exports','unknown','getTestUUID','AssertionError','hookId','ENtov','RUEFu','failure','uri','DXAZQ','pending','failure_type','hooks','570871zLlqJO','BMtEi','JURlQ','QevVm','result','getHookResult','children','push','GzhVm','winstonLogger','testStepResult','rule','qJZRN','forEach','3119118fWKdTO','sendHook','status','format','toLowerCase','testCaseFinished','nanos','fVKtG','exception','createHookData','Exception\x20in\x20getHookRunEventData:\x20','5ekNcvW','KSbXg','oaJlN','BEFORE_EACH','createTestFrameworkData','rqZee','timestamp','tags','every','qBCTA','VlPBw','hook','failureData','map','../../../helpers/helper.js','value','558IVbRSX','_gitConfigPath','getCucumberHookType','hPJtK','finished_at','backtrace','relative','feature','UizPl','root','name','xTKEw','4tNBVOz','getScenarioExamples','hFvCq','../../../helpers/logger.js','37785506DAURau','failure_data','strip-ansi','jhUrV','jZrbP','util','getHookRunEventData','duration_in_ms','toString','../../../helpers/test-observability/error-handler.js','HookRunStarted','UnhandledError','toISOString','wQenM','BoDfG','cells','4392620wpYMtz','zBWBS','vYoeO','SKIPPED','debug','finishedAt','failure_reason','oFazl','UakPj','HookRunFinished','6Koflhe','qvBHW','pickleStepId','tagExpression','EVEtT','CDuUq','hxShj','flatMap','cucumber','5057uZeTup','JdWNM','find','examples','Fdxxc','pEHMj','1197832EGslEW','AiQQD','puOng','uuid','HZlsk','configureGit','astNodeIds','sendTestRunEventForCucumber','failureType','71290zLWTMv','join','cGkBi','match','testStepFinished','nquav','javascript','eCgyf'];a90_0x5b7d=function(){return _0x124cf0;};return a90_0x5b7d();}class CucumberUtils{constructor(){const _0x46cab8=a90_0x10ce76;this[_0x46cab8(0xfa)]=![],this[_0x46cab8(0x136)]=null;}async[a90_0x10ce76(0x129)](_0x529143,_0x27595e,_0x4b4cdd,_0x48ac9f,_0x562844,_0x5dd7ee){const _0x5ccf7c=a90_0x10ce76,_0x3b02b7={'DXAZQ':function(_0x2cc313,_0x3ca96c){return _0x2cc313===_0x3ca96c;},'jhUrV':'FAILED','hPJtK':_0x5ccf7c(0xf6),'JdWNM':_0x5ccf7c(0x158),'ZjnNk':'skipped','QevVm':function(_0x560b1b,_0x22cc37){return _0x560b1b||_0x22cc37;},'oaJlN':function(_0x189e43,_0x563418){return _0x189e43+_0x563418;},'WUKGS':'test','xTKEw':_0x5ccf7c(0xf4),'jZrbP':_0x5ccf7c(0x167),'wQenM':_0x5ccf7c(0x109),'IAdJx':'passed','zBWBS':function(_0xdc266a,_0x5750aa){return _0xdc266a!==_0x5750aa;},'hFvCq':function(_0xbfd8c9,_0x288e28){return _0xbfd8c9/_0x288e28;},'TYYtx':function(_0x3bb405,_0x4cbe4e){return _0x3bb405===_0x4cbe4e;},'CDuUq':_0x5ccf7c(0x147),'EVEtT':function(_0xfb002c,_0x4d7c13){return _0xfb002c(_0x4d7c13);},'cGkBi':_0x5ccf7c(0x100),'TkhHq':_0x5ccf7c(0x102),'RUEFu':_0x5ccf7c(0x150)},{feature:_0x18ba54,scenario:_0x39f3ed,steps:_0x10d503,uuid:_0x411567,startedAt:_0x20917c,finishedAt:_0x530f04}=_0x3b02b7[_0x5ccf7c(0x10f)](_0x529143,{}),_0x58bb46=this[_0x5ccf7c(0x142)](_0x48ac9f,_0x27595e);await this[_0x5ccf7c(0x173)]();const _0x4f7aed=_0x58bb46?_0x3b02b7[_0x5ccf7c(0x127)](_0x3b02b7[_0x5ccf7c(0x127)](_0x3b02b7['oaJlN'](_0x27595e[_0x5ccf7c(0x13f)],'\x20('),_0x58bb46[_0x5ccf7c(0x178)](',\x20')),')'):_0x27595e[_0x5ccf7c(0x13f)],_0x291411={'id':_0x562844,'uuid':_0x562844,'startedAt':_0x20917c,'finishedAt':_0x530f04,'type':_0x3b02b7['WUKGS'],'body':{'lang':_0x3b02b7[_0x5ccf7c(0x140)],'code':null},'name':_0x4f7aed,'scopes':[_0x18ba54&&_0x18ba54[_0x5ccf7c(0x13f)]?_0x18ba54[_0x5ccf7c(0x13f)]:''],'tags':_0x27595e[_0x5ccf7c(0x12c)]?_0x27595e['tags'][_0x5ccf7c(0x132)](({name:_0x1b43fb})=>_0x1b43fb):[],'file_name':_0x27595e[_0x5ccf7c(0x107)],'location':_0x27595e[_0x5ccf7c(0x107)],'vc_filepath':this[_0x5ccf7c(0x136)]&&_0x27595e['uri']?path['relative'](this[_0x5ccf7c(0x136)],_0x27595e['uri']):null,'framework':_0x3b02b7[_0x5ccf7c(0x149)],'result':_0x3b02b7[_0x5ccf7c(0x152)],'meta':{'feature':_0x18ba54,'scenario':_0x39f3ed,'steps':_0x10d503,'examples':_0x58bb46},'customRerunParam':{'rerun_name':_0x4f7aed}};if(_0x4b4cdd['testCaseFinished']&&_0x10d503){const _0x42bbdf=_0x4b4cdd[_0x5ccf7c(0x11f)];let _0x40a733=_0x3b02b7['IAdJx'];_0x10d503[_0x5ccf7c(0x12d)](_0x25c842=>{const _0x560725=_0x5ccf7c;if(_0x3b02b7[_0x560725(0x108)](_0x25c842[_0x560725(0x110)],_0x3b02b7[_0x560725(0x148)]))return _0x40a733=_0x3b02b7[_0x560725(0x138)],_0x42bbdf[_0x560725(0x106)]=_0x25c842[_0x560725(0x106)],_0x42bbdf[_0x560725(0x176)]=_0x25c842['failureType'],![];else{if(_0x3b02b7[_0x560725(0x108)](_0x25c842['result'],_0x3b02b7[_0x560725(0x169)]))return _0x40a733=_0x3b02b7['ZjnNk'],![];}return!![];}),_0x291411[_0x5ccf7c(0x15a)]=new Date()[_0x5ccf7c(0x151)](),_0x291411[_0x5ccf7c(0x110)]=_0x40a733;_0x42bbdf[_0x5ccf7c(0x12b)]&&_0x3b02b7[_0x5ccf7c(0x156)](_0x42bbdf[_0x5ccf7c(0x12b)][_0x5ccf7c(0x120)],undefined)?_0x291411[_0x5ccf7c(0x14c)]=_0x3b02b7[_0x5ccf7c(0x143)](_0x42bbdf['timestamp'][_0x5ccf7c(0x120)],0xf4240):_0x291411['duration_in_ms']=undefined;if(_0x3b02b7['TYYtx'](_0x40a733,_0x3b02b7[_0x5ccf7c(0x138)])){const {default:_0x382800}=await import(_0x3b02b7[_0x5ccf7c(0x164)]);_0x291411['failure']=[{'backtrace':[_0x42bbdf[_0x5ccf7c(0x106)]?_0x3b02b7[_0x5ccf7c(0x163)](_0x382800,_0x42bbdf['failure']):_0x3b02b7[_0x5ccf7c(0x179)]]}],_0x291411[_0x5ccf7c(0x15b)]=_0x42bbdf['failure']?_0x3b02b7[_0x5ccf7c(0x163)](_0x382800,_0x42bbdf[_0x5ccf7c(0x106)]):_0x42bbdf['message'],_0x42bbdf[_0x5ccf7c(0x176)]&&(_0x291411[_0x5ccf7c(0x10a)]=_0x42bbdf['failureType'][_0x5ccf7c(0x17a)](/AssertError/)?_0x3b02b7[_0x5ccf7c(0xf7)]:_0x3b02b7[_0x5ccf7c(0x105)]);}}return _0x291411;}[a90_0x10ce76(0x14b)](_0x3b01a5,_0x36aaf9,_0x1afff3,_0x16cea6,_0x16cf91,_0x2e4a1b){const _0x228196=a90_0x10ce76,_0x511a0a={'rqZee':function(_0x2cff46,_0xff9eaa){return _0x2cff46===_0xff9eaa;},'qBCTA':_0x228196(0x15e),'fVKtG':function(_0xe056f6,_0x165b92,_0x2a6315){return _0xe056f6(_0x165b92,_0x2a6315);},'EGDsb':'sourceReference','AuojV':_0x228196(0x107),'hxShj':_0x228196(0x109),'kQHiH':_0x228196(0x130),'FLwWq':'javascript','puOng':function(_0x3dbe37,_0x44485f,_0x360e71){return _0x3dbe37(_0x44485f,_0x360e71);},'VlPBw':'feature','eCgyf':_0x228196(0x13f),'JURlQ':function(_0x4c12b8,_0x378bf6,_0x18f8c8){return _0x4c12b8(_0x378bf6,_0x18f8c8);},'KcJIu':'cucumber'};try{if(_0x511a0a[_0x228196(0x12a)](_0x1afff3,_0x511a0a[_0x228196(0x12e)])){const _0x131886=new Date()[_0x228196(0x151)](),_0x5933aa=hooksMap[_0x36aaf9];if(!_0x5933aa)return;const _0x2ce0bd=_0x5933aa[_0x228196(0x16a)](_0x1fdc02=>_0x1fdc02[_0x228196(0x171)]===_0x16cea6['id']);if(!_0x2ce0bd)return;const _0x23d1c1=this[_0x228196(0x111)](_0x3b01a5,_0x36aaf9);_0x2ce0bd[_0x228196(0x110)]=_0x23d1c1[_0x228196(0x11c)],_0x2ce0bd[_0x228196(0x139)]=_0x131886,_0x2ce0bd[_0x228196(0x10a)]=_0x23d1c1[_0x228196(0x176)];const _0x35bf43={};return _0x35bf43[_0x228196(0x13a)]=_0x23d1c1[_0x228196(0x131)],_0x2ce0bd[_0x228196(0x146)]=[_0x35bf43],_0x2ce0bd;}const _0x419530=TestInfo[_0x228196(0x101)](_0x36aaf9),_0x5ea05a=_0x3b01a5[_0x228196(0x10b)][_0x228196(0x16a)](_0xb5c6a4=>_0xb5c6a4['id']===_0x16cea6[_0x228196(0x103)]),_0xf1dc46=_0x511a0a[_0x228196(0x121)](nestedKeyValue,_0x5ea05a,[_0x511a0a['EGDsb'],_0x511a0a['AuojV']]),_0x13b45a=new Date()['toISOString'](),_0x3aa6d1=_0x511a0a[_0x228196(0x165)],_0x43c151=_0x5ea05a[_0x228196(0x162)]?_0x5ea05a[_0x228196(0x162)]['split']('\x20')['filter'](_0x13c2d4=>_0x13c2d4[_0x228196(0xf9)]('@')):[],_0xabf5a9={'uuid':_0x16cea6['id'],'type':_0x511a0a['kQHiH'],'hook_type':_0x2e4a1b,'name':_0x5ea05a['name'],'body':{'lang':_0x511a0a['FLwWq'],'code':null},'tags':_0x43c151,'test_run_id':_0x419530,'scope':_0x511a0a[_0x228196(0x170)](nestedKeyValue,_0x16cf91,[_0x511a0a[_0x228196(0x12f)],_0x511a0a[_0x228196(0xf5)]]),'scopes':[_0x511a0a[_0x228196(0x10e)](nestedKeyValue,_0x16cf91,[_0x511a0a[_0x228196(0x12f)],_0x511a0a[_0x228196(0xf5)]])||''],'file_name':_0xf1dc46,'location':_0xf1dc46,'vc_filepath':this[_0x228196(0x136)]?path[_0x228196(0x13b)](this[_0x228196(0x136)],_0xf1dc46):null,'result':_0x3aa6d1,'started_at':_0x13b45a,'framework':_0x511a0a['KcJIu']};return _0xabf5a9;}catch(_0x539cbb){logger[_0x228196(0x159)](_0x228196(0x124)+util[_0x228196(0x11d)](_0x539cbb)+'\x20');}}async[a90_0x10ce76(0x123)](_0x233f85,_0x29a4d2,_0x4149c1,_0x5d81b3,_0x1921c8,_0x59fc5f){const _0x57c3f1=a90_0x10ce76,_0x16bbe2={'ENtov':function(_0x2cfacd,_0xcdaada){return _0x2cfacd===_0xcdaada;},'ioBic':_0x57c3f1(0x14f),'BoDfG':function(_0x582212,_0x31b3e1,_0x481722){return _0x582212(_0x31b3e1,_0x481722);},'Fdxxc':'sourceReference','pEHMj':'uri','LFMaz':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','KSbXg':'bstack'};try{const _0x4f9449=_0x5d81b3[_0x57c3f1(0x16a)](_0x323660=>_0x323660['id']===_0x1921c8);if(!_0x4f9449[_0x57c3f1(0x103)])return;const _0x29332b=this[_0x57c3f1(0x137)](_0x5d81b3,_0x4f9449),_0x52d3bf=this[_0x57c3f1(0x14b)](_0x233f85,_0x29a4d2,_0x4149c1,_0x4f9449,_0x59fc5f,_0x29332b);if(!_0x52d3bf)return;_0x16bbe2['ENtov'](_0x4149c1,_0x16bbe2['ioBic'])&&(hooksMap[_0x29a4d2]?hooksMap[_0x29a4d2][_0x57c3f1(0x113)](_0x52d3bf):hooksMap[_0x29a4d2]=[_0x52d3bf]);const _0x54fa1a=_0x233f85[_0x57c3f1(0x10b)][_0x57c3f1(0x16a)](_0x453657=>_0x453657['id']===_0x4f9449['hookId']),_0x1f8a33=_0x16bbe2[_0x57c3f1(0x153)](nestedKeyValue,_0x54fa1a,[_0x16bbe2[_0x57c3f1(0x16c)],_0x16bbe2[_0x57c3f1(0x16d)]]);if(!_0x1f8a33)return;else{if(_0x1f8a33['includes'](_0x16bbe2[_0x57c3f1(0xf8)]))return;}if(_0x16bbe2[_0x57c3f1(0x104)](_0x52d3bf[_0x57c3f1(0x13f)],_0x16bbe2[_0x57c3f1(0x126)]))return;return _0x52d3bf;}catch(_0x3c26e7){logger[_0x57c3f1(0x159)]('Exception\x20in\x20createHookData:\x20'+util[_0x57c3f1(0x11d)](_0x3c26e7)+'\x20');}}[a90_0x10ce76(0x111)](_0x3fdf8f,_0x444d8d){const _0x188237=a90_0x10ce76,_0x5dc033={};_0x5dc033[_0x188237(0xfc)]=function(_0x29e167,_0x18b410){return _0x29e167===_0x18b410;},_0x5dc033[_0x188237(0x13d)]=_0x188237(0xf6),_0x5dc033[_0x188237(0x157)]=function(_0x3b064c,_0xa21ae3){return _0x3b064c===_0xa21ae3;},_0x5dc033['UakPj']=_0x188237(0x150),_0x5dc033['qvBHW']=_0x188237(0x102),_0x5dc033[_0x188237(0x118)]=function(_0x416f5d,_0x561145){return _0x416f5d||_0x561145;};const _0x219791=_0x5dc033,_0x3d855d=_0x3fdf8f[_0x188237(0x17b)][_0x444d8d][_0x188237(0x116)];let _0x2bd357,_0x7573ac;return _0x3d855d&&_0x219791['ovGyz'](_0x3d855d['status'][_0x188237(0x14d)]()[_0x188237(0x11e)](),_0x219791[_0x188237(0x13d)])&&(_0x2bd357=_0x219791[_0x188237(0x157)](_0x3d855d[_0x188237(0x122)],undefined)?_0x3d855d['message']:_0x3d855d[_0x188237(0x122)][_0x188237(0xfe)],_0x7573ac=_0x219791['vYoeO'](_0x3d855d[_0x188237(0x122)],undefined)?_0x219791[_0x188237(0x15d)]:_0x3d855d['message'][_0x188237(0x17a)](/Assert/)?_0x219791[_0x188237(0x160)]:_0x219791['UakPj']),{'status':_0x3d855d[_0x188237(0x11c)][_0x188237(0x11e)](),'failureType':_0x219791['qJZRN'](_0x7573ac,null),'failureData':!_0x2bd357?null:[_0x2bd357]};}[a90_0x10ce76(0x137)](_0x56af94,_0xf4a8ab){const _0x476c9b=a90_0x10ce76,_0x28229d={};_0x28229d['dvLSY']=function(_0x53cb51,_0x4b7f04){return _0x53cb51===_0x4b7f04;},_0x28229d['igLQv']='AFTER_EACH',_0x28229d[_0x476c9b(0x10d)]=_0x476c9b(0x128);const _0x5cd21c=_0x28229d;let _0x4e1736=![];for(const _0x59d722 of _0x56af94){_0x59d722[_0x476c9b(0x161)]&&(_0x4e1736=!![]);if(_0x5cd21c['dvLSY'](_0xf4a8ab['id'],_0x59d722['id']))return _0x4e1736?_0x5cd21c['igLQv']:_0x5cd21c['BMtEi'];}}[a90_0x10ce76(0x142)]=(_0x18cec1,_0x46239c)=>{const _0x260c6f=a90_0x10ce76,_0x34ff81={};_0x34ff81[_0x260c6f(0x114)]=function(_0x453750,_0x20d848){return _0x453750===_0x20d848;},_0x34ff81[_0x260c6f(0x15c)]=function(_0x48e722,_0x13c146){return _0x48e722===_0x13c146;},_0x34ff81[_0x260c6f(0xf3)]=function(_0x2333d4,_0x587b10){return _0x2333d4>_0x587b10;};const _0x870b59=_0x34ff81;if(!(_0x46239c['astNodeIds']&&_0x870b59[_0x260c6f(0xf3)](_0x46239c[_0x260c6f(0x174)]['length'],0x1)))return;const _0x369e7d=_0x46239c[_0x260c6f(0x174)][0x0],_0x7781e2=_0x46239c[_0x260c6f(0x174)][0x1],_0x2bfd6d=_0x18cec1[_0x260c6f(0x13c)]&&_0x18cec1[_0x260c6f(0x13c)][_0x260c6f(0x112)]?_0x18cec1[_0x260c6f(0x13c)][_0x260c6f(0x112)]:undefined;let _0x4f0abd=[];_0x2bfd6d&&_0x2bfd6d[_0x260c6f(0x119)](_0x2c3133=>{const _0x20c375=_0x260c6f,_0x4cab4c={'HZlsk':function(_0x2b271a,_0x5860f2){const _0x446f08=a90_0x4651;return _0x870b59[_0x446f08(0x114)](_0x2b271a,_0x5860f2);}};if(_0x2c3133[_0x20c375(0x117)])_0x2c3133[_0x20c375(0x117)]['children'][_0x20c375(0x119)](_0x285284=>{const _0x539bee=_0x20c375;if(_0x285284[_0x539bee(0xfb)]&&_0x4cab4c[_0x539bee(0x172)](_0x285284['scenario']['id'],_0x369e7d)&&_0x285284['scenario'][_0x539bee(0x16b)]){const _0x2ab7f0=_0x285284[_0x539bee(0xfb)][_0x539bee(0x16b)][_0x539bee(0x166)](_0x42a1d8=>_0x42a1d8['tableBody'])[_0x539bee(0x16a)](_0x3a7ba9=>_0x3a7ba9['id']===_0x7781e2);let _0x51d471;_0x2ab7f0&&_0x2ab7f0[_0x539bee(0x154)]?_0x51d471=_0x2ab7f0[_0x539bee(0x154)]['map'](_0x424a5b=>_0x424a5b[_0x539bee(0x134)]):_0x51d471=[],_0x51d471&&(_0x4f0abd=_0x51d471);}});else{if(_0x2c3133['scenario']&&_0x870b59[_0x20c375(0x15c)](_0x2c3133['scenario']['id'],_0x369e7d)&&_0x2c3133['scenario'][_0x20c375(0x16b)]){const _0x228b55=_0x2c3133[_0x20c375(0xfb)][_0x20c375(0x16b)]['flatMap'](_0xea1bdd=>_0xea1bdd['tableBody'])[_0x20c375(0x16a)](_0x5b5ef0=>_0x5b5ef0['id']===_0x7781e2);let _0x2efaa7;_0x228b55&&_0x228b55['cells']?_0x2efaa7=_0x228b55[_0x20c375(0x154)][_0x20c375(0x132)](_0x3b4444=>_0x3b4444[_0x20c375(0x134)]):_0x2efaa7=[],_0x2efaa7&&(_0x4f0abd=_0x2efaa7);}}});if(_0x4f0abd['length'])return _0x4f0abd;return;};async[a90_0x10ce76(0x173)](){const _0x450e70=a90_0x10ce76,_0x4f6036={'AiQQD':function(_0x529cbe){return _0x529cbe();}};if(this[_0x450e70(0xfa)])return this[_0x450e70(0x136)];const _0x1daf21=await _0x4f6036[_0x450e70(0x16f)](getGitMetaData);_0x1daf21&&(this[_0x450e70(0x136)]=_0x1daf21[_0x450e70(0x13e)]),this['_gitConfigured']=!![];}}module[a90_0x10ce76(0xff)]=o11yClassErrorHandler(CucumberUtils,[a90_0x10ce76(0x173),'getScenarioExamples','getCucumberHookType',a90_0x10ce76(0x111),a90_0x10ce76(0x11b),a90_0x10ce76(0x14b),a90_0x10ce76(0x175),a90_0x10ce76(0x129)]);
@@ -1 +1 @@
1
- function a91_0x3a28(_0x47d31e,_0x15cecb){const _0x3c1af8=a91_0x3c1a();return a91_0x3a28=function(_0x3a2860,_0x4cf4f2){_0x3a2860=_0x3a2860-0xed;let _0x43bcff=_0x3c1af8[_0x3a2860];return _0x43bcff;},a91_0x3a28(_0x47d31e,_0x15cecb);}const a91_0x30fdb3=a91_0x3a28;function a91_0x3c1a(){const _0x4a03c0=['errorsDetailed','tBFEd','hooks','7931742KYzkGA','3kfbxEb','duration','Pbqit','push','result','eoHez','3806919iNmEhq','FJOBZ','Exception\x20in\x20createHookData:\x20','enVka','\x20from\x20compositeKey:\x20','title','getName','md5','vVZvO','beforeEach','debug','vXRBr','WXJOp','krxFx','gxOHL','LMFyT','aCJFh',',\x20hookUUID:\x20','1317932ggnHvU','browserstack-node-agent/src/bin/jest','TBlHl','tzntT','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','finished_at','backtrace','wFxGy','FmwdF','currentTest','test','displayName','failure_data','recreateIdentifierFromTestInfo','unknown','vMKxe','RUxUd','KSdRi','failure_reason_expanded','toString','type','expect','GxcYs','getTestIdentifier','maMeV','Exception\x20in\x20getHookRunEventData:\x20','fZJkG','vNaMU','name','parent','fullName','rrRRh','createHash','failure','started_at','5136978PRmjJV','TestRunSkipped','apply','pending','mFNZK','JpJhL','includes','testPath','now','jest-circus','createJestTestIdentifier','reverse','clearHooksMap','BEFORE_ALL','testAnalyticsId','uuid','err','../../../helpers/test-observability/error-handler.js','afterEach','Exception\x20in\x20createTestFrameworkData:\x20','startedAt','finishedAt','relative','ROOT_DESCRIBE_BLOCK','toUpperCase','sgzvS','inspect','hook','pid','HookRunFinished','_gitConfigured','skipped','AFTER_EACH','util','[jestUtils]\x20Error\x20creating\x20identifier:\x20','toISOString','createTestFrameworkData','EShaW','hex','miZqq','HaCOi','isJestInternalHook','_gitConfigPath','iOJrp','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','../TestInfo.js','TestRunFinished','failed',',\x20testIdentifier:\x20','find','FEpXa','parse','failure_type','nzSCO','match','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','ULATb','root','getRootParentFile','bvVhI','kCusv','../../../helpers/logger.js','File\x20path\x20could\x20not\x20be\x20found','__workerDetails','retryOf','fRnqZ','jest','4657325UnTGEk','afterAll','\x22\x20hook\x20for\x20\x22','__jestCurrentTestIdentifier','GZXGh','javascript','configureGit','Unknown\x20Test','CEltj','../../../helpers/helper.js','failure_reason','split','stack','getFileName','exports','ByRaD','testIdentifier','extractTestFilePath','format','ZwZjj','getHierarchy','tzqPC','HookRunStarted',',\x20testRunId:\x20','asyncError','AFTER_ALL','146240GlJzRI','passed','wWWMT','error','length','eJjSS','file','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','winstonLogger','failure_backtrace','getState','[jestUtils]\x20No\x20test\x20object\x20provided','BEFORE_EACH','createIdentifierFromJestTest','KhHnR','26666176uVsWIQ','getHookRunEventData'];a91_0x3c1a=function(){return _0x4a03c0;};return a91_0x3c1a();}(function(_0x18d7af,_0x3df0e6){const _0x42f740=a91_0x3a28,_0x395c60=_0x18d7af();while(!![]){try{const _0x2b7611=-parseInt(_0x42f740(0x12c))/0x1*(-parseInt(_0x42f740(0x117))/0x2)+-parseInt(_0x42f740(0x132))/0x3+-parseInt(_0x42f740(0x144))/0x4+-parseInt(_0x42f740(0xfd))/0x5+parseInt(_0x42f740(0x167))/0x6+-parseInt(_0x42f740(0x12b))/0x7+parseInt(_0x42f740(0x126))/0x8;if(_0x2b7611===_0x3df0e6)break;else _0x395c60['push'](_0x395c60['shift']());}catch(_0x31e3a1){_0x395c60['push'](_0x395c60['shift']());}}}(a91_0x3c1a,0xb6128));const path=require('path'),util=require(a91_0x30fdb3(0x188)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x30fdb3(0x106)),logger=require(a91_0x30fdb3(0xf7))[a91_0x30fdb3(0x11f)],{o11yClassErrorHandler}=require(a91_0x30fdb3(0x178)),TestInfo=require(a91_0x30fdb3(0x194)),{failureData,getFailureType}=require('../../../helpers/test-observability/utils'),stackTrace=require('stack-trace'),a91_0x22d52e={};a91_0x22d52e['beforeAll']=a91_0x30fdb3(0x174),a91_0x22d52e[a91_0x30fdb3(0xfe)]=a91_0x30fdb3(0x116),a91_0x22d52e[a91_0x30fdb3(0x13b)]=a91_0x30fdb3(0x123),a91_0x22d52e[a91_0x30fdb3(0x179)]=a91_0x30fdb3(0x187);const HOOK_TYPES_MAP=a91_0x22d52e,hooksMap={};class JestUtils{constructor(){const _0x1d8cf2=a91_0x30fdb3;this[_0x1d8cf2(0x185)]=![],this[_0x1d8cf2(0x191)]=null;}async[a91_0x30fdb3(0x18b)](_0x324d1a,_0x180ce2,_0x286779=a91_0x30fdb3(0x195),_0x17c5fd=undefined){const _0x1c4f12=a91_0x30fdb3,_0x21c0ac={'LydtR':_0x1c4f12(0x148),'vXRBr':_0x1c4f12(0x170),'GZXGh':function(_0x5b2d1b,_0x33feb5){return _0x5b2d1b||_0x33feb5;},'CEltj':_0x1c4f12(0xf8),'ULATb':function(_0x51a23e,_0x315230){return _0x51a23e!==_0x315230;},'maMeV':_0x1c4f12(0x14e),'RUxUd':_0x1c4f12(0x177),'uvLXV':function(_0x1e88b7,_0x2fd160){return _0x1e88b7!==_0x2fd160;},'LMFyT':_0x1c4f12(0x16a),'kNWco':function(_0x366139,_0x5241e4){return _0x366139===_0x5241e4;},'tzqPC':_0x1c4f12(0x168),'iUEuv':_0x1c4f12(0x186),'MlYwc':function(_0x551e7f,_0x547a3a){return _0x551e7f>_0x547a3a;},'KSdRi':_0x1c4f12(0x196),'nZeRQ':_0x1c4f12(0x118),'HaCOi':function(_0x12b5d7,_0x255635){return _0x12b5d7!==_0x255635;},'EShaW':function(_0x202212,_0x56cb95){return _0x202212-_0x56cb95;},'KhHnR':_0x1c4f12(0x102),'bOPSm':_0x1c4f12(0xfc),'wFxGy':function(_0x4c70ca,_0x53602b){return _0x4c70ca(_0x53602b);},'orfLe':function(_0x4ffe97,_0x40c2f9){return _0x4ffe97===_0x40c2f9;},'azxFT':function(_0x9eb09f,_0xabe14e){return _0x9eb09f===_0xabe14e;},'mFNZK':_0x1c4f12(0x195),'MjqDX':function(_0x1c89fe,_0x4c833b){return _0x1c89fe===_0x4c833b;}};logger['debug']('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x286779+_0x1c4f12(0x197)+_0x180ce2);try{if(!_0x324d1a)return logger['debug'](_0x21c0ac['LydtR']),null;if(_0x324d1a['fn']&&_0x324d1a['fn'][_0x1c4f12(0x157)]()['match'](/browserstack internal helper hook/))return null;await this[_0x1c4f12(0x103)]();let _0x4cfe3e;try{_0x4cfe3e=this[_0x1c4f12(0xf4)](_0x324d1a);if(_0x4cfe3e&&_0x4cfe3e[_0x1c4f12(0x16d)](_0x21c0ac[_0x1c4f12(0x13d)]))return null;}catch(_0x26a5a7){logger['debug']('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x1c4f12(0x10f)](_0x26a5a7)),_0x4cfe3e=null;}const _0xa426ba=this['getHierarchy'](_0x324d1a),_0x14eaf4=this[_0x1c4f12(0x138)](_0x324d1a),_0x50e5e5=_0x21c0ac[_0x1c4f12(0x101)](_0x4cfe3e,_0x21c0ac[_0x1c4f12(0x105)]);let _0x5d7720=[];if(_0x21c0ac[_0x1c4f12(0xf2)](_0x324d1a[_0x1c4f12(0x128)],undefined))_0x5d7720=[_0x324d1a[_0x1c4f12(0x128)],_0x21c0ac[_0x1c4f12(0x15c)]];else _0x21c0ac[_0x1c4f12(0xf2)](_0x17c5fd,undefined)&&(_0x5d7720=[_0x17c5fd,_0x21c0ac[_0x1c4f12(0x154)]]);const _0x243e42=_0x21c0ac[_0x1c4f12(0xf2)](_0x324d1a[_0x1c4f12(0x128)],undefined)?util[_0x1c4f12(0x181)](_0x324d1a[_0x1c4f12(0x128)][0x0]):_0x21c0ac['uvLXV'](_0x17c5fd,undefined)?_0x17c5fd[_0x1c4f12(0x157)]():undefined;let _0x3a5680=_0x21c0ac[_0x1c4f12(0x141)];if(_0x21c0ac['kNWco'](_0x286779,_0x21c0ac[_0x1c4f12(0x112)]))_0x3a5680=_0x21c0ac['iUEuv'];else _0x324d1a[_0x1c4f12(0x128)]&&_0x21c0ac['MlYwc'](_0x324d1a[_0x1c4f12(0x128)][_0x1c4f12(0x11b)],0x0)?_0x3a5680=_0x21c0ac[_0x1c4f12(0x155)]:_0x3a5680=_0x21c0ac['nZeRQ'];let _0xb8e7ba=null;if(_0x21c0ac[_0x1c4f12(0x18f)](_0x324d1a[_0x1c4f12(0x12d)],undefined))_0xb8e7ba=_0x324d1a[_0x1c4f12(0x12d)];else(_0x286779[_0x1c4f12(0xef)](/Finished/)||_0x286779['match'](/Skipped/))&&(_0x324d1a[_0x1c4f12(0x166)]&&(_0xb8e7ba=_0x21c0ac[_0x1c4f12(0x18c)](Date[_0x1c4f12(0x16f)](),new Date(_0x324d1a[_0x1c4f12(0x166)])['getTime']())));const _0x31564c=_0x324d1a['fn']?_0x324d1a['fn'][_0x1c4f12(0x157)]():null,_0x422d50={'id':_0x180ce2,'uuid':_0x180ce2,'startedAt':_0x324d1a[_0x1c4f12(0x166)]||new Date()[_0x1c4f12(0x18a)](),'finishedAt':_0x286779['match'](/Finished/)||_0x286779[_0x1c4f12(0xef)](/Skipped/)?new Date()[_0x1c4f12(0x18a)]():null,'type':_0x21c0ac[_0x1c4f12(0x15c)],'body':{'lang':_0x21c0ac[_0x1c4f12(0x125)],'code':_0x31564c},'name':_0x14eaf4,'scopes':_0xa426ba,'file_name':_0x50e5e5,'location':_0x50e5e5,'vc_filepath':this[_0x1c4f12(0x191)]&&_0x4cfe3e?path[_0x1c4f12(0x17d)](this['_gitConfigPath'],_0x4cfe3e):null,'framework':_0x21c0ac['bOPSm'],'result':_0x3a5680,'failure_reason':_0x243e42,'duration_in_ms':_0xb8e7ba,'failure':failureData[_0x1c4f12(0x169)](null,_0x5d7720),'failure_type':!_0x243e42?null:_0x21c0ac[_0x1c4f12(0x14b)](getFailureType,_0x243e42),'retry_of':_0x324d1a[_0x1c4f12(0xfa)]||null,'customRerunParam':{'rerun_name':_0x14eaf4}};_0x21c0ac['orfLe'](_0x286779,_0x21c0ac[_0x1c4f12(0x112)])&&!_0x422d50[_0x1c4f12(0x17b)]&&(_0x422d50[_0x1c4f12(0x17b)]=_0x422d50[_0x1c4f12(0x17c)]);const _0x5ec9d3=_0x422d50[_0x1c4f12(0x165)]&&_0x422d50['failure'][0x0];return _0x5ec9d3&&(_0x422d50[_0x1c4f12(0x120)]=_0x5ec9d3[_0x1c4f12(0x14a)],_0x422d50[_0x1c4f12(0x156)]=_0x5ec9d3['expanded']),(_0x21c0ac['azxFT'](_0x286779,_0x21c0ac[_0x1c4f12(0x16b)])||_0x21c0ac['MjqDX'](_0x286779,_0x21c0ac['tzqPC']))&&(_0x324d1a[_0x1c4f12(0x12a)]&&(_0x422d50['hooks']=_0x324d1a[_0x1c4f12(0x12a)])),_0x422d50;}catch(_0x2a57dd){return logger[_0x1c4f12(0x13c)](_0x1c4f12(0x17a)+util[_0x1c4f12(0x10f)](_0x2a57dd)),null;}}async['createHookData'](_0x3543e5,_0x53a2d4,_0x38a573,_0x2b3bed){const _0x16e7ec=a91_0x30fdb3,_0x2817c4={'ZRPAy':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','enVka':_0x16e7ec(0x170),'aCJFh':_0x16e7ec(0x145),'Uadxd':_0x16e7ec(0x152),'vMKxe':_0x16e7ec(0x16a),'rrRRh':function(_0x303d50,_0x47cd51){return _0x303d50===_0x47cd51;},'WXJOp':_0x16e7ec(0x184),'VRJQP':function(_0x120529,_0x2948b5){return _0x120529>_0x2948b5;},'Pbqit':_0x16e7ec(0x196),'lPgZw':function(_0x5322ba,_0x3596dc){return _0x5322ba(_0x3596dc);},'JpJhL':_0x16e7ec(0x14e),'sgzvS':_0x16e7ec(0x118),'MqSCg':_0x16e7ec(0x182),'kCusv':_0x16e7ec(0x102),'FJOBZ':_0x16e7ec(0xfc),'krxFx':_0x16e7ec(0x113)};logger['debug']('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x38a573+_0x16e7ec(0x143)+_0x53a2d4+_0x16e7ec(0x114)+_0x2b3bed);try{if(!_0x3543e5)return logger[_0x16e7ec(0x13c)](_0x2817c4['ZRPAy']),null;if(this[_0x16e7ec(0x190)](_0x3543e5))return null;await this[_0x16e7ec(0x103)]();let _0x539d38=null;try{_0x539d38=this[_0x16e7ec(0xf4)](_0x3543e5);if(_0x539d38&&_0x539d38[_0x16e7ec(0x16d)](_0x2817c4[_0x16e7ec(0x135)]))return null;if(_0x539d38&&_0x539d38['includes'](_0x2817c4[_0x16e7ec(0x142)]))return null;}catch(_0x35f3fb){logger['debug'](_0x16e7ec(0x193)+util['format'](_0x35f3fb));}const _0x1f1a2c=this['getName'](_0x3543e5),_0x54d6c4=_0x3543e5[_0x16e7ec(0x158)]||_0x2817c4['Uadxd'],_0x15ce9f=HOOK_TYPES_MAP[_0x54d6c4]||_0x54d6c4[_0x16e7ec(0x17f)](),_0x455448=_0x3543e5[_0x16e7ec(0x161)]&&_0x3543e5['parent']['name']?_0x3543e5[_0x16e7ec(0x161)][_0x16e7ec(0x160)]:'';let _0x25979b=_0x2817c4[_0x16e7ec(0x153)],_0x4ab7ce=null,_0x921a8c=null,_0x3b5244=null,_0x102daf=null;_0x2817c4[_0x16e7ec(0x163)](_0x38a573,_0x2817c4[_0x16e7ec(0x13e)])&&(_0x102daf=new Date()[_0x16e7ec(0x18a)](),_0x3543e5[_0x16e7ec(0x128)]&&_0x2817c4['VRJQP'](_0x3543e5[_0x16e7ec(0x128)][_0x16e7ec(0x11b)],0x0)?(_0x25979b=_0x2817c4[_0x16e7ec(0x12e)],_0x921a8c=util[_0x16e7ec(0x181)](_0x3543e5[_0x16e7ec(0x128)][0x0]),_0x4ab7ce=_0x2817c4['lPgZw'](getFailureType,_0x921a8c),_0x3b5244=failureData['apply'](null,[_0x3543e5[_0x16e7ec(0x128)],_0x2817c4[_0x16e7ec(0x16c)]])):_0x25979b=_0x2817c4[_0x16e7ec(0x180)]);const _0x1f4925={'uuid':_0x53a2d4,'type':_0x2817c4['MqSCg'],'hook_type':_0x15ce9f,'name':_0x1f1a2c,'body':{'lang':_0x2817c4[_0x16e7ec(0xf6)],'code':_0x3543e5['fn']?_0x3543e5['fn']['toString']():null},'tags':[],'test_run_id':_0x2b3bed,'scope':_0x455448,'scopes':[_0x455448],'file_name':_0x539d38,'location':_0x539d38,'vc_filepath':this['_gitConfigPath']&&_0x539d38?path[_0x16e7ec(0x17d)](this[_0x16e7ec(0x191)],_0x539d38):null,'result':_0x25979b,'started_at':_0x3543e5[_0x16e7ec(0x166)]||new Date()['toISOString'](),'finished_at':_0x102daf,'failure_type':_0x4ab7ce,'failure_reason':_0x921a8c,'failure_data':_0x3b5244,'framework':_0x2817c4[_0x16e7ec(0x133)]};return _0x2817c4[_0x16e7ec(0x163)](_0x38a573,_0x2817c4[_0x16e7ec(0x13f)])&&(hooksMap[_0x2b3bed]?hooksMap[_0x2b3bed]['push'](_0x1f4925):hooksMap[_0x2b3bed]=[_0x1f4925]),_0x1f4925;}catch(_0x49723e){return logger[_0x16e7ec(0x13c)](_0x16e7ec(0x134)+util[_0x16e7ec(0x10f)](_0x49723e)),null;}}[a91_0x30fdb3(0x127)](_0x11791a,_0x42b6d6,_0x5ad9e5){const _0x24e278=a91_0x30fdb3,_0x4ad248={'CZRBg':function(_0x59fdce,_0x5c4d3d){return _0x59fdce>_0x5c4d3d;},'vVZvO':_0x24e278(0x196),'ZwZjj':function(_0x58bd1e,_0x580523){return _0x58bd1e(_0x580523);},'tBFEd':_0x24e278(0x14e),'fRnqZ':_0x24e278(0x118)};try{const _0x28549b=hooksMap[_0x11791a];if(!_0x28549b)return null;const _0x1679db=_0x28549b[_0x24e278(0x198)](_0x34f52d=>_0x34f52d[_0x24e278(0x176)]===_0x42b6d6);if(!_0x1679db)return null;return _0x1679db[_0x24e278(0x149)]=new Date()[_0x24e278(0x18a)](),_0x5ad9e5[_0x24e278(0x128)]&&_0x4ad248['CZRBg'](_0x5ad9e5['errorsDetailed'][_0x24e278(0x11b)],0x0)?(_0x1679db[_0x24e278(0x130)]=_0x4ad248[_0x24e278(0x13a)],_0x1679db[_0x24e278(0x107)]=util[_0x24e278(0x181)](_0x5ad9e5['errorsDetailed'][0x0]),_0x1679db[_0x24e278(0xed)]=_0x4ad248[_0x24e278(0x110)](getFailureType,_0x1679db[_0x24e278(0x107)]),_0x1679db[_0x24e278(0x150)]=failureData[_0x24e278(0x169)](null,[_0x5ad9e5['errorsDetailed'],_0x4ad248[_0x24e278(0x129)]])):_0x1679db['result']=_0x4ad248[_0x24e278(0xfb)],_0x1679db;}catch(_0x6964d7){return logger[_0x24e278(0x13c)](_0x24e278(0x15d)+util[_0x24e278(0x10f)](_0x6964d7)),null;}}[a91_0x30fdb3(0x138)](_0x3de7d7){const _0x54577f=a91_0x30fdb3,_0x50d10e={};_0x50d10e[_0x54577f(0x140)]=function(_0x4fc2b1,_0x52eb77){return _0x4fc2b1!==_0x52eb77;},_0x50d10e[_0x54577f(0x192)]=_0x54577f(0x14e),_0x50d10e['miZqq']=_0x54577f(0x104);const _0x4812cd=_0x50d10e;if(_0x4812cd[_0x54577f(0x140)](_0x3de7d7['type'],_0x4812cd[_0x54577f(0x192)]))return'\x22'+_0x3de7d7[_0x54577f(0x158)]+_0x54577f(0xff)+(_0x3de7d7['parent']&&_0x3de7d7[_0x54577f(0x161)]['name'])+'\x22';return _0x3de7d7[_0x54577f(0x160)]||_0x4812cd[_0x54577f(0x18e)];}[a91_0x30fdb3(0x111)](_0x47d915){const _0x206ea7=a91_0x30fdb3,_0x23ad02={};_0x23ad02['vNaMU']=function(_0x1a4fa6,_0x2f48d5){return _0x1a4fa6!==_0x2f48d5;},_0x23ad02[_0x206ea7(0x15e)]=_0x206ea7(0x17e);const _0x51ef4f=_0x23ad02,_0x2e4f5c=[];if(_0x47d915&&_0x47d915['parent']){let _0x311258=_0x47d915[_0x206ea7(0x161)];while(_0x311258&&_0x311258[_0x206ea7(0x160)]&&_0x51ef4f[_0x206ea7(0x15f)](_0x311258[_0x206ea7(0x160)],'')&&_0x51ef4f[_0x206ea7(0x15f)](_0x311258['name'],_0x51ef4f[_0x206ea7(0x15e)])){_0x2e4f5c[_0x206ea7(0x12f)](_0x311258['name']),_0x311258=_0x311258[_0x206ea7(0x161)];}}return _0x2e4f5c[_0x206ea7(0x172)](),_0x2e4f5c;}[a91_0x30fdb3(0xf4)](_0x27df9d){const _0x3e3737=a91_0x30fdb3;if(_0x27df9d['asyncError'])try{const _0x20de28=stackTrace[_0x3e3737(0x19a)]['call'](stackTrace,_0x27df9d[_0x3e3737(0x115)]);if(_0x20de28[0x0]&&_0x20de28[0x0]['getFileName'])return _0x20de28[0x0][_0x3e3737(0x10a)]();}catch(_0x3f8791){logger['debug'](_0x3e3737(0xf1)+util[_0x3e3737(0x10f)](_0x3f8791));}if(_0x27df9d[_0x3e3737(0x11d)])return _0x27df9d[_0x3e3737(0x11d)];return null;}['isJestInternalHook'](_0x49196c){const _0x1dc1dd=a91_0x30fdb3,_0x5aa7b9={};_0x5aa7b9[_0x1dc1dd(0x14c)]=_0x1dc1dd(0x170);const _0x56f159=_0x5aa7b9;try{const _0x3a7b86=this['getRootParentFile'](_0x49196c);if(_0x3a7b86&&_0x3a7b86['includes'](_0x56f159[_0x1dc1dd(0x14c)]))return!![];}catch(_0x4912a4){logger[_0x1dc1dd(0x13c)](_0x1dc1dd(0xf0)+util[_0x1dc1dd(0x10f)](_0x4912a4));}return![];}[a91_0x30fdb3(0x15b)](_0x334724=null){const _0x496843=a91_0x30fdb3;try{const _0x30256b=_0x334724||global[_0x496843(0xf9)]||{};if(global[_0x496843(0x100)])return global[_0x496843(0x100)];if(_0x30256b?.[_0x496843(0x14d)]?.[_0x496843(0x175)])return _0x30256b[_0x496843(0x14d)][_0x496843(0x175)];if(_0x30256b?.[_0x496843(0x14d)]?.['id'])return _0x30256b[_0x496843(0x14d)]['id'];return null;}catch(_0x4824d6){return logger[_0x496843(0x13c)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x496843(0x10f)](_0x4824d6)),null;}}async[a91_0x30fdb3(0x103)](){const _0x798ae3=a91_0x30fdb3,_0x4c2fd2={'TBlHl':function(_0x4431f0){return _0x4431f0();}};if(this[_0x798ae3(0x185)])return this['_gitConfigPath'];const _0x3e85ab=await _0x4c2fd2[_0x798ae3(0x146)](getGitMetaData);_0x3e85ab&&(this[_0x798ae3(0x191)]=_0x3e85ab[_0x798ae3(0xf3)]),this[_0x798ae3(0x185)]=!![];}['clearHooksMap'](_0x234054){hooksMap[_0x234054]&&delete hooksMap[_0x234054];}[a91_0x30fdb3(0x10e)](_0x18b350){const _0x3a16ba=a91_0x30fdb3,_0xa46fd9={'GxcYs':_0x3a16ba(0x170),'uwYVg':function(_0x108e0b,_0x9e4881){return _0x108e0b(_0x9e4881);},'bvVhI':_0x3a16ba(0x159)};if(_0x18b350[_0x3a16ba(0x11d)])return _0x18b350[_0x3a16ba(0x11d)];if(_0x18b350[_0x3a16ba(0x115)]){try{const _0x3bbfd9=stackTrace[_0x3a16ba(0x19a)](_0x18b350[_0x3a16ba(0x115)]);if(_0x3bbfd9[0x0]&&_0x3bbfd9[0x0][_0x3a16ba(0x10a)]){const _0x3e7399=_0x3bbfd9[0x0][_0x3a16ba(0x10a)]();if(_0x3e7399&&!_0x3e7399[_0x3a16ba(0x16d)](_0xa46fd9[_0x3a16ba(0x15a)]))return _0x3e7399;}}catch(_0x2abcff){logger[_0x3a16ba(0x13c)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x2abcff));}if(_0x18b350[_0x3a16ba(0x115)][_0x3a16ba(0x109)]){const _0x5f34bd=_0x18b350[_0x3a16ba(0x115)][_0x3a16ba(0x109)][_0x3a16ba(0x108)]('\x0a');for(const _0x368c47 of _0x5f34bd){const _0x112f23=_0x368c47[_0x3a16ba(0xef)](/at (.+?):\d+:\d+/);if(_0x112f23&&_0x112f23[0x1]&&!_0x112f23[0x1][_0x3a16ba(0x16d)](_0xa46fd9[_0x3a16ba(0x15a)]))return _0x112f23[0x1];}}}let _0x3dd6e1=_0x18b350[_0x3a16ba(0x161)];while(_0x3dd6e1){if(_0x3dd6e1[_0x3a16ba(0x11d)])return _0x3dd6e1['file'];if(_0x3dd6e1[_0x3a16ba(0x115)])try{const _0x5aa22f=stackTrace[_0x3a16ba(0x19a)](_0x3dd6e1[_0x3a16ba(0x115)]);if(_0x5aa22f[0x0]&&_0x5aa22f[0x0][_0x3a16ba(0x10a)]){const _0x44e154=_0x5aa22f[0x0][_0x3a16ba(0x10a)]();if(_0x44e154&&!_0x44e154['includes'](_0xa46fd9['GxcYs']))return _0x44e154;}}catch(_0x49d0fe){}_0x3dd6e1=_0x3dd6e1[_0x3a16ba(0x161)];}try{const _0x404ddb=_0xa46fd9['uwYVg'](require,_0xa46fd9[_0x3a16ba(0xf5)]);if(_0x404ddb&&_0x404ddb[_0x3a16ba(0x121)]){const _0x5a74da=_0x404ddb[_0x3a16ba(0x121)]();if(_0x5a74da&&_0x5a74da[_0x3a16ba(0x16e)])return _0x5a74da[_0x3a16ba(0x16e)];}}catch(_0x2a8d9f){logger[_0x3a16ba(0x13c)]('[jestUtils]\x20expect.getState()\x20not\x20available:\x20'+util['format'](_0x2a8d9f));}return null;}[a91_0x30fdb3(0x171)](_0x520689){const _0x51816e=a91_0x30fdb3,_0x4ca33c={};_0x4ca33c[_0x51816e(0x11c)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x4ca33c[_0x51816e(0x119)]=function(_0x57ff79,_0x78874a){return _0x57ff79!==_0x78874a;},_0x4ca33c[_0x51816e(0x131)]=_0x51816e(0x17e),_0x4ca33c[_0x51816e(0x199)]=_0x51816e(0x170),_0x4ca33c[_0x51816e(0xee)]=_0x51816e(0x139),_0x4ca33c['tzntT']=_0x51816e(0x18d);const _0x13cb1e=_0x4ca33c;try{if(!_0x520689)return logger[_0x51816e(0x11a)](_0x13cb1e['eJjSS']),null;const _0x37531e=_0x520689[_0x51816e(0x162)]||_0x520689[_0x51816e(0x160)]||_0x520689[_0x51816e(0x137)]||_0x520689[_0x51816e(0x14f)];let _0x159bbc=_0x37531e;if(_0x520689[_0x51816e(0x161)]&&_0x520689[_0x51816e(0x161)][_0x51816e(0x160)]&&_0x13cb1e[_0x51816e(0x119)](_0x520689['parent']['name'],_0x13cb1e['eoHez'])){const _0x5c0cc5=_0x520689[_0x51816e(0x160)]||_0x520689['title'];_0x5c0cc5&&(_0x159bbc=_0x520689[_0x51816e(0x161)][_0x51816e(0x160)]+'\x20'+_0x5c0cc5);}let _0xa30d82=_0x520689[_0x51816e(0x16e)];if(!_0xa30d82&&_0x520689['asyncError']){try{const _0xde970=stackTrace[_0x51816e(0x19a)](_0x520689['asyncError']);if(_0xde970[0x0]&&_0xde970[0x0][_0x51816e(0x10a)]){const _0x2fdb52=_0xde970[0x0]['getFileName']();_0x2fdb52&&!_0x2fdb52['includes'](_0x13cb1e[_0x51816e(0x199)])&&(_0xa30d82=_0x2fdb52);}}catch(_0x26614f){logger[_0x51816e(0x13c)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x51816e(0x10f)](_0x26614f));}if(!_0xa30d82&&_0x520689[_0x51816e(0x115)]['stack']){const _0x198bb7=_0x520689[_0x51816e(0x115)][_0x51816e(0x109)]['split']('\x0a');for(const _0x5d0a1a of _0x198bb7){const _0x10584e=_0x5d0a1a[_0x51816e(0xef)](/at (.+?):\d+:\d+/);if(_0x10584e&&_0x10584e[0x1]&&!_0x10584e[0x1][_0x51816e(0x16d)](_0x13cb1e['FEpXa'])){_0xa30d82=_0x10584e[0x1];break;}}}}const _0x10e75c=_0xa30d82+'::'+_0x159bbc,_0x4f42d2=crypto[_0x51816e(0x164)](_0x13cb1e[_0x51816e(0xee)])['update'](_0x10e75c)['digest'](_0x13cb1e[_0x51816e(0x147)])['substring'](0x0,0x8),_0x1ea2f5=process[_0x51816e(0x183)]+':jest-'+_0x4f42d2;return logger[_0x51816e(0x13c)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x1ea2f5+_0x51816e(0x136)+_0x10e75c),_0x1ea2f5;}catch(_0x56c85d){return logger[_0x51816e(0x11a)](_0x51816e(0x189)+util[_0x51816e(0x10f)](_0x56c85d)),null;}}[a91_0x30fdb3(0x124)](_0x44c1bc){const _0x510dca=a91_0x30fdb3,_0x205fc8={};_0x205fc8['dBNlB']=_0x510dca(0x122);const _0x2ba3e2=_0x205fc8;if(!_0x44c1bc)return logger[_0x510dca(0x13c)](_0x2ba3e2['dBNlB']),null;const _0x4268b9=this['extractTestFilePath'](_0x44c1bc),_0x1009e4={};_0x1009e4[_0x510dca(0x160)]=_0x44c1bc['name']||_0x44c1bc[_0x510dca(0x137)],_0x1009e4['parent']=_0x44c1bc[_0x510dca(0x161)],_0x1009e4['testPath']=_0x4268b9,_0x1009e4['asyncError']=_0x44c1bc[_0x510dca(0x115)];const _0x4f1827=_0x1009e4;return this[_0x510dca(0x171)](_0x4f1827);}[a91_0x30fdb3(0x151)](_0x2273ec){const _0x2804eb=a91_0x30fdb3,_0x3d9141={};_0x3d9141[_0x2804eb(0x10c)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0xe9d9c7=_0x3d9141;if(!_0x2273ec)return logger[_0x2804eb(0x13c)](_0xe9d9c7[_0x2804eb(0x10c)]),null;if(_0x2273ec['testIdentifier'])return logger[_0x2804eb(0x13c)](_0x2804eb(0x11e)+_0x2273ec['testIdentifier']),_0x2273ec[_0x2804eb(0x10d)];return this[_0x2804eb(0x171)](_0x2273ec);}}module[a91_0x30fdb3(0x10b)]=o11yClassErrorHandler(JestUtils,['configureGit','getHierarchy',a91_0x30fdb3(0xf4),a91_0x30fdb3(0x138),'isJestInternalHook',a91_0x30fdb3(0x15b),a91_0x30fdb3(0x18b),'createHookData','getHookRunEventData',a91_0x30fdb3(0x173),a91_0x30fdb3(0x10e),a91_0x30fdb3(0x171),'createIdentifierFromJestTest',a91_0x30fdb3(0x151)]);
1
+ function a91_0x5df7(_0x3f8f78,_0x29c877){const _0x5406bb=a91_0x5406();return a91_0x5df7=function(_0x5df751,_0x3ed834){_0x5df751=_0x5df751-0x1d2;let _0x124b03=_0x5406bb[_0x5df751];return _0x124b03;},a91_0x5df7(_0x3f8f78,_0x29c877);}const a91_0x36291f=a91_0x5df7;(function(_0x296cbe,_0x39ee5f){const _0x2c334e=a91_0x5df7,_0x43acf2=_0x296cbe();while(!![]){try{const _0x358cc0=-parseInt(_0x2c334e(0x224))/0x1*(-parseInt(_0x2c334e(0x1e0))/0x2)+-parseInt(_0x2c334e(0x228))/0x3*(parseInt(_0x2c334e(0x217))/0x4)+-parseInt(_0x2c334e(0x252))/0x5*(-parseInt(_0x2c334e(0x23c))/0x6)+-parseInt(_0x2c334e(0x21f))/0x7+parseInt(_0x2c334e(0x279))/0x8*(-parseInt(_0x2c334e(0x1e8))/0x9)+-parseInt(_0x2c334e(0x1df))/0xa*(-parseInt(_0x2c334e(0x1d7))/0xb)+-parseInt(_0x2c334e(0x215))/0xc*(-parseInt(_0x2c334e(0x23f))/0xd);if(_0x358cc0===_0x39ee5f)break;else _0x43acf2['push'](_0x43acf2['shift']());}catch(_0x5e539a){_0x43acf2['push'](_0x43acf2['shift']());}}}(a91_0x5406,0xe5bee));function a91_0x5406(){const _0x596c15=['pYMaO','bYvtl','hDKbc','skipped','sCQqP','failed','rSTHv','finished_at','createJestTestIdentifier','vHwUK','HookRunFinished','getHierarchy','parse','gQvnj','apply','IPLmJ','configureGit','10974774uTROwb','Unknown\x20Test','bkCbt','13BLMWCm','hex','root','ugLWc','update','failure_type','split','yVKPA','find','name',',\x20testRunId:\x20','hook','YDqoW','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','CUWnU','PLPEJ','Exception\x20in\x20createHookData:\x20','relative','failure','5WHEHsC','clearHooksMap','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','JyOLj','Exception\x20in\x20getHookRunEventData:\x20','LRIlz','hooks','TQRam','jest','KwWKi','browserstack-node-agent/src/bin/jest','duration','wQPQH','../TestInfo.js','displayName','toUpperCase','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','AZULP','JrTHm','QHttl','stack-trace','stack','GZToP','util','match','TfmWq','jest-circus','getFileName','gjydM','exports','createIdentifierFromJestTest','ECIhM','error','testAnalyticsId','HookRunStarted','Creating\x20hook\x20data\x20for\x20eventType:\x20','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','[jestUtils]\x20No\x20test\x20object\x20provided','beforeEach','5896sMVnCn','pending','afterEach','recreateIdentifierFromTestInfo','mayrd','vjQsn',',\x20testIdentifier:\x20','fdswE','getRootParentFile','YAimd','FygoT','expanded','tGaks','ROOT_DESCRIBE_BLOCK','type','toString','../../../helpers/helper.js','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','toISOString','_gitConfigured','wORFf','createHash','includes','uuid','uwxVy','afterAll','sNgqY','isJestInternalHook','getTestIdentifier','11jzHzUD','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','nKJeN','sjaTm','KDYNh','noSBe','digest','TestRunFinished','16765150UksEPE','1657620UxAyck',',\x20hookUUID:\x20','call','errorsDetailed','getState','result','title',':jest-','8973uuHcuY','substring','passed','inspect','bxtjO','Bsmca','file','test','AFTER_EACH','AFTER_ALL','qGUfe','testPath','failure_reason_expanded','getTime','startedAt','started_at','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','asyncError','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','[jestUtils]\x20Created\x20identifier:\x20','retryOf','__workerDetails','../../../helpers/test-observability/utils','XpUyz','javascript','failure_backtrace','DFyhZ','\x20from\x20compositeKey:\x20','failure_reason','err','parent','format','now','extractTestFilePath','_gitConfigPath','md5','failure_data','getName','AjKZE','createTestFrameworkData','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','kaGiZ','unknown','sryWj','bGPTZ','4889904DxyGyR','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','44cPMxwe','debug','createHookData','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','BhQyi','getHookRunEventData','finishedAt','currentTest','12917296uVSxio','backtrace','OEOqP','__jestCurrentTestIdentifier','HNbkh','1MjliAO','MLNWM','jtyfA','sFvyC','332943JFrgzM','length','Failed\x20to\x20get\x20hook\x20file\x20path:\x20'];a91_0x5406=function(){return _0x596c15;};return a91_0x5406();}const path=require('path'),util=require(a91_0x36291f(0x269)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x36291f(0x289)),logger=require('../../../helpers/logger.js')['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a91_0x36291f(0x25f)),{failureData,getFailureType}=require(a91_0x36291f(0x1fe)),stackTrace=require(a91_0x36291f(0x266)),a91_0x3b7a57={};a91_0x3b7a57['beforeAll']='BEFORE_ALL',a91_0x3b7a57[a91_0x36291f(0x1d3)]=a91_0x36291f(0x1f1),a91_0x3b7a57[a91_0x36291f(0x278)]='BEFORE_EACH',a91_0x3b7a57[a91_0x36291f(0x27b)]=a91_0x36291f(0x1f0);const HOOK_TYPES_MAP=a91_0x3b7a57,hooksMap={};class JestUtils{constructor(){const _0x141245=a91_0x36291f;this['_gitConfigured']=![],this[_0x141245(0x20a)]=null;}async[a91_0x36291f(0x20f)](_0x3bc85f,_0x396e0b,_0x8383f1=a91_0x36291f(0x1de),_0x5c3008=undefined){const _0x49a993=a91_0x36291f,_0x16c110={'sFvyC':_0x49a993(0x262),'gMgoq':'jest-circus','MLNWM':function(_0x85b76c,_0x543509){return _0x85b76c||_0x543509;},'UrIGD':'File\x20path\x20could\x20not\x20be\x20found','noSBe':function(_0x9ef032,_0x5a12af){return _0x9ef032!==_0x5a12af;},'HNbkh':_0x49a993(0x1ef),'FiAvl':function(_0x20a0d6,_0x2d888e){return _0x20a0d6!==_0x2d888e;},'BhQyi':_0x49a993(0x205),'JrTHm':function(_0x5a6fcc,_0x5ea1d){return _0x5a6fcc!==_0x5ea1d;},'bCFYI':_0x49a993(0x27a),'TQRam':function(_0x5e1c93,_0x4ff862){return _0x5e1c93===_0x4ff862;},'bxtjO':'TestRunSkipped','sCQqP':_0x49a993(0x22e),'sNgqY':function(_0x20e48a,_0x4f4c59){return _0x20e48a>_0x4f4c59;},'mayrd':'failed','GShrV':_0x49a993(0x1ea),'uwxVy':function(_0x3d3418,_0x3d37b9){return _0x3d3418-_0x3d37b9;},'gjydM':_0x49a993(0x200),'YAimd':_0x49a993(0x25a),'tCckE':function(_0x1cc0f7,_0x2e0b29){return _0x1cc0f7(_0x2e0b29);},'AZULP':function(_0x416624,_0x5f34ed){return _0x416624===_0x5f34ed;},'sryWj':function(_0x23801d,_0x2931c4){return _0x23801d===_0x2931c4;},'LRIlz':_0x49a993(0x1de),'IPLmJ':function(_0x4e9c15,_0x1c4e1a){return _0x4e9c15===_0x1c4e1a;}};logger[_0x49a993(0x218)](_0x49a993(0x276)+_0x8383f1+_0x49a993(0x27f)+_0x396e0b);try{if(!_0x3bc85f)return logger['debug'](_0x16c110[_0x49a993(0x227)]),null;if(_0x3bc85f['fn']&&_0x3bc85f['fn'][_0x49a993(0x288)]()[_0x49a993(0x26a)](/browserstack internal helper hook/))return null;await this[_0x49a993(0x23b)]();let _0x2ee584;try{_0x2ee584=this[_0x49a993(0x281)](_0x3bc85f);if(_0x2ee584&&_0x2ee584[_0x49a993(0x28f)](_0x16c110['gMgoq']))return null;}catch(_0x440769){logger['debug'](_0x49a993(0x1fa)+util['format'](_0x440769)),_0x2ee584=null;}const _0x119974=this[_0x49a993(0x236)](_0x3bc85f),_0x3a75ba=this['getName'](_0x3bc85f),_0x3ccef0=_0x16c110[_0x49a993(0x225)](_0x2ee584,_0x16c110['UrIGD']);let _0x287df1=[];if(_0x16c110[_0x49a993(0x1dc)](_0x3bc85f[_0x49a993(0x1e3)],undefined))_0x287df1=[_0x3bc85f[_0x49a993(0x1e3)],_0x16c110[_0x49a993(0x223)]];else _0x16c110['FiAvl'](_0x5c3008,undefined)&&(_0x287df1=[_0x5c3008,_0x16c110[_0x49a993(0x21b)]]);const _0x1f8088=_0x16c110[_0x49a993(0x1dc)](_0x3bc85f[_0x49a993(0x1e3)],undefined)?util[_0x49a993(0x1eb)](_0x3bc85f[_0x49a993(0x1e3)][0x0]):_0x16c110[_0x49a993(0x264)](_0x5c3008,undefined)?_0x5c3008[_0x49a993(0x288)]():undefined;let _0x51a158=_0x16c110['bCFYI'];if(_0x16c110[_0x49a993(0x259)](_0x8383f1,_0x16c110[_0x49a993(0x1ec)]))_0x51a158=_0x16c110[_0x49a993(0x22f)];else _0x3bc85f['errorsDetailed']&&_0x16c110[_0x49a993(0x1d4)](_0x3bc85f[_0x49a993(0x1e3)][_0x49a993(0x229)],0x0)?_0x51a158=_0x16c110[_0x49a993(0x27d)]:_0x51a158=_0x16c110['GShrV'];let _0x56ff2a=null;if(_0x16c110[_0x49a993(0x264)](_0x3bc85f['duration'],undefined))_0x56ff2a=_0x3bc85f[_0x49a993(0x25d)];else(_0x8383f1['match'](/Finished/)||_0x8383f1['match'](/Skipped/))&&(_0x3bc85f['started_at']&&(_0x56ff2a=_0x16c110[_0x49a993(0x1d2)](Date[_0x49a993(0x208)](),new Date(_0x3bc85f[_0x49a993(0x1f7)])[_0x49a993(0x1f5)]())));const _0x1a22d6=_0x3bc85f['fn']?_0x3bc85f['fn'][_0x49a993(0x288)]():null,_0x15fb88={'id':_0x396e0b,'uuid':_0x396e0b,'startedAt':_0x3bc85f[_0x49a993(0x1f7)]||new Date()['toISOString'](),'finishedAt':_0x8383f1['match'](/Finished/)||_0x8383f1[_0x49a993(0x26a)](/Skipped/)?new Date()[_0x49a993(0x28b)]():null,'type':_0x16c110['HNbkh'],'body':{'lang':_0x16c110[_0x49a993(0x26e)],'code':_0x1a22d6},'name':_0x3a75ba,'scopes':_0x119974,'file_name':_0x3ccef0,'location':_0x3ccef0,'vc_filepath':this[_0x49a993(0x20a)]&&_0x2ee584?path[_0x49a993(0x250)](this['_gitConfigPath'],_0x2ee584):null,'framework':_0x16c110[_0x49a993(0x282)],'result':_0x51a158,'failure_reason':_0x1f8088,'duration_in_ms':_0x56ff2a,'failure':failureData[_0x49a993(0x239)](null,_0x287df1),'failure_type':!_0x1f8088?null:_0x16c110['tCckE'](getFailureType,_0x1f8088),'retry_of':_0x3bc85f[_0x49a993(0x1fc)]||null,'customRerunParam':{'rerun_name':_0x3a75ba}};_0x16c110[_0x49a993(0x263)](_0x8383f1,_0x16c110[_0x49a993(0x1ec)])&&!_0x15fb88[_0x49a993(0x1f6)]&&(_0x15fb88[_0x49a993(0x1f6)]=_0x15fb88[_0x49a993(0x21d)]);const _0x3232bf=_0x15fb88[_0x49a993(0x251)]&&_0x15fb88['failure'][0x0];return _0x3232bf&&(_0x15fb88[_0x49a993(0x201)]=_0x3232bf[_0x49a993(0x220)],_0x15fb88[_0x49a993(0x1f4)]=_0x3232bf[_0x49a993(0x284)]),(_0x16c110[_0x49a993(0x213)](_0x8383f1,_0x16c110[_0x49a993(0x257)])||_0x16c110[_0x49a993(0x23a)](_0x8383f1,_0x16c110[_0x49a993(0x1ec)]))&&(_0x3bc85f['hooks']&&(_0x15fb88[_0x49a993(0x258)]=_0x3bc85f['hooks'])),_0x15fb88;}catch(_0x3c60c4){return logger[_0x49a993(0x218)]('Exception\x20in\x20createTestFrameworkData:\x20'+util[_0x49a993(0x207)](_0x3c60c4)),null;}}async['createHookData'](_0x25dd8e,_0x3ea1e5,_0x177511,_0x3c56ef){const _0x170458=a91_0x36291f,_0x14fd70={'ECIhM':_0x170458(0x28a),'PLPEJ':'jest-circus','FygoT':_0x170458(0x25c),'wORFf':_0x170458(0x212),'hDKbc':_0x170458(0x27a),'ugLWc':function(_0x44b1eb,_0x2607cb){return _0x44b1eb===_0x2607cb;},'fdswE':_0x170458(0x235),'iUzhw':function(_0x58e5a0,_0x73130f){return _0x58e5a0>_0x73130f;},'GZToP':_0x170458(0x230),'AjKZE':function(_0x26cca,_0x215521){return _0x26cca(_0x215521);},'yVKPA':_0x170458(0x1ef),'cEBnx':'passed','qGUfe':_0x170458(0x24a),'tzPYK':_0x170458(0x200),'OrZMq':_0x170458(0x25a),'wQPQH':function(_0x312d8c,_0x509782){return _0x312d8c===_0x509782;},'QHttl':_0x170458(0x274)};logger[_0x170458(0x218)](_0x170458(0x275)+_0x177511+_0x170458(0x1e1)+_0x3ea1e5+_0x170458(0x249)+_0x3c56ef);try{if(!_0x25dd8e)return logger[_0x170458(0x218)](_0x14fd70[_0x170458(0x271)]),null;if(this['isJestInternalHook'](_0x25dd8e))return null;await this['configureGit']();let _0x198034=null;try{_0x198034=this[_0x170458(0x281)](_0x25dd8e);if(_0x198034&&_0x198034[_0x170458(0x28f)](_0x14fd70[_0x170458(0x24e)]))return null;if(_0x198034&&_0x198034['includes'](_0x14fd70[_0x170458(0x283)]))return null;}catch(_0xdcde42){logger[_0x170458(0x218)](_0x170458(0x22a)+util[_0x170458(0x207)](_0xdcde42));}const _0x4c87ba=this[_0x170458(0x20d)](_0x25dd8e),_0x247699=_0x25dd8e[_0x170458(0x287)]||_0x14fd70[_0x170458(0x28d)],_0x445053=HOOK_TYPES_MAP[_0x247699]||_0x247699[_0x170458(0x261)](),_0x566221=_0x25dd8e[_0x170458(0x206)]&&_0x25dd8e[_0x170458(0x206)][_0x170458(0x248)]?_0x25dd8e[_0x170458(0x206)][_0x170458(0x248)]:'';let _0x140643=_0x14fd70[_0x170458(0x22d)],_0x4a10a7=null,_0x4639bc=null,_0x2dc48f=null,_0x332dda=null;_0x14fd70[_0x170458(0x242)](_0x177511,_0x14fd70[_0x170458(0x280)])&&(_0x332dda=new Date()[_0x170458(0x28b)](),_0x25dd8e[_0x170458(0x1e3)]&&_0x14fd70['iUzhw'](_0x25dd8e[_0x170458(0x1e3)][_0x170458(0x229)],0x0)?(_0x140643=_0x14fd70[_0x170458(0x268)],_0x4639bc=util['inspect'](_0x25dd8e[_0x170458(0x1e3)][0x0]),_0x4a10a7=_0x14fd70[_0x170458(0x20e)](getFailureType,_0x4639bc),_0x2dc48f=failureData[_0x170458(0x239)](null,[_0x25dd8e[_0x170458(0x1e3)],_0x14fd70[_0x170458(0x246)]])):_0x140643=_0x14fd70['cEBnx']);const _0x2fa4a3={'uuid':_0x3ea1e5,'type':_0x14fd70[_0x170458(0x1f2)],'hook_type':_0x445053,'name':_0x4c87ba,'body':{'lang':_0x14fd70['tzPYK'],'code':_0x25dd8e['fn']?_0x25dd8e['fn']['toString']():null},'tags':[],'test_run_id':_0x3c56ef,'scope':_0x566221,'scopes':[_0x566221],'file_name':_0x198034,'location':_0x198034,'vc_filepath':this[_0x170458(0x20a)]&&_0x198034?path['relative'](this[_0x170458(0x20a)],_0x198034):null,'result':_0x140643,'started_at':_0x25dd8e[_0x170458(0x1f7)]||new Date()['toISOString'](),'finished_at':_0x332dda,'failure_type':_0x4a10a7,'failure_reason':_0x4639bc,'failure_data':_0x2dc48f,'framework':_0x14fd70['OrZMq']};return _0x14fd70[_0x170458(0x25e)](_0x177511,_0x14fd70[_0x170458(0x265)])&&(hooksMap[_0x3c56ef]?hooksMap[_0x3c56ef]['push'](_0x2fa4a3):hooksMap[_0x3c56ef]=[_0x2fa4a3]),_0x2fa4a3;}catch(_0xcd5396){return logger[_0x170458(0x218)](_0x170458(0x24f)+util['format'](_0xcd5396)),null;}}[a91_0x36291f(0x21c)](_0x3fd33c,_0x4821fe,_0x2056d3){const _0x4a671=a91_0x36291f,_0x4394cc={'KDYNh':function(_0x7cc6ee,_0x32dec5){return _0x7cc6ee>_0x32dec5;},'CUWnU':'failed','DFyhZ':function(_0x14a220,_0x436454){return _0x14a220(_0x436454);},'kaGiZ':'test','XpUyz':'passed'};try{const _0x30e24a=hooksMap[_0x3fd33c];if(!_0x30e24a)return null;const _0x150b81=_0x30e24a[_0x4a671(0x247)](_0x4a5f6e=>_0x4a5f6e[_0x4a671(0x290)]===_0x4821fe);if(!_0x150b81)return null;return _0x150b81[_0x4a671(0x232)]=new Date()[_0x4a671(0x28b)](),_0x2056d3[_0x4a671(0x1e3)]&&_0x4394cc[_0x4a671(0x1db)](_0x2056d3[_0x4a671(0x1e3)][_0x4a671(0x229)],0x0)?(_0x150b81[_0x4a671(0x1e5)]=_0x4394cc[_0x4a671(0x24d)],_0x150b81[_0x4a671(0x204)]=util['inspect'](_0x2056d3[_0x4a671(0x1e3)][0x0]),_0x150b81[_0x4a671(0x244)]=_0x4394cc[_0x4a671(0x202)](getFailureType,_0x150b81[_0x4a671(0x204)]),_0x150b81[_0x4a671(0x20c)]=failureData['apply'](null,[_0x2056d3[_0x4a671(0x1e3)],_0x4394cc[_0x4a671(0x211)]])):_0x150b81[_0x4a671(0x1e5)]=_0x4394cc[_0x4a671(0x1ff)],_0x150b81;}catch(_0x176cd9){return logger['debug'](_0x4a671(0x256)+util[_0x4a671(0x207)](_0x176cd9)),null;}}[a91_0x36291f(0x20d)](_0x265f51){const _0x2a0cc6=a91_0x36291f,_0x24e4ea={};_0x24e4ea[_0x2a0cc6(0x1d9)]=function(_0x3802a7,_0x1a51a7){return _0x3802a7!==_0x1a51a7;},_0x24e4ea[_0x2a0cc6(0x26b)]=_0x2a0cc6(0x1ef),_0x24e4ea[_0x2a0cc6(0x22b)]=_0x2a0cc6(0x23d);const _0x5d0b61=_0x24e4ea;if(_0x5d0b61['nKJeN'](_0x265f51[_0x2a0cc6(0x287)],_0x5d0b61[_0x2a0cc6(0x26b)]))return'\x22'+_0x265f51[_0x2a0cc6(0x287)]+'\x22\x20hook\x20for\x20\x22'+(_0x265f51['parent']&&_0x265f51[_0x2a0cc6(0x206)][_0x2a0cc6(0x248)])+'\x22';return _0x265f51[_0x2a0cc6(0x248)]||_0x5d0b61[_0x2a0cc6(0x22b)];}[a91_0x36291f(0x236)](_0x3db958){const _0x58b540=a91_0x36291f,_0x1457d0={};_0x1457d0[_0x58b540(0x238)]=function(_0x39e166,_0x4f18c3){return _0x39e166!==_0x4f18c3;},_0x1457d0[_0x58b540(0x255)]=function(_0xc4fca8,_0x32e2c5){return _0xc4fca8!==_0x32e2c5;},_0x1457d0[_0x58b540(0x234)]=_0x58b540(0x286);const _0x1ed267=_0x1457d0,_0x5016a1=[];if(_0x3db958&&_0x3db958['parent']){let _0x392903=_0x3db958[_0x58b540(0x206)];while(_0x392903&&_0x392903[_0x58b540(0x248)]&&_0x1ed267['gQvnj'](_0x392903[_0x58b540(0x248)],'')&&_0x1ed267['JyOLj'](_0x392903[_0x58b540(0x248)],_0x1ed267[_0x58b540(0x234)])){_0x5016a1['push'](_0x392903['name']),_0x392903=_0x392903['parent'];}}return _0x5016a1['reverse'](),_0x5016a1;}[a91_0x36291f(0x281)](_0x437566){const _0x469dc6=a91_0x36291f;if(_0x437566['asyncError'])try{const _0x44fbbf=stackTrace[_0x469dc6(0x237)][_0x469dc6(0x1e2)](stackTrace,_0x437566[_0x469dc6(0x1f9)]);if(_0x44fbbf[0x0]&&_0x44fbbf[0x0]['getFileName'])return _0x44fbbf[0x0][_0x469dc6(0x26d)]();}catch(_0x12cd7e){logger[_0x469dc6(0x218)](_0x469dc6(0x210)+util[_0x469dc6(0x207)](_0x12cd7e));}if(_0x437566[_0x469dc6(0x1ee)])return _0x437566[_0x469dc6(0x1ee)];return null;}[a91_0x36291f(0x1d5)](_0x467a1e){const _0x1beb15=a91_0x36291f,_0xba134f={};_0xba134f[_0x1beb15(0x25b)]=_0x1beb15(0x26c);const _0x27e331=_0xba134f;try{const _0x3bffdb=this[_0x1beb15(0x281)](_0x467a1e);if(_0x3bffdb&&_0x3bffdb[_0x1beb15(0x28f)](_0x27e331[_0x1beb15(0x25b)]))return!![];}catch(_0xd97755){logger[_0x1beb15(0x218)](_0x1beb15(0x254)+util[_0x1beb15(0x207)](_0xd97755));}return![];}[a91_0x36291f(0x1d6)](_0x104728=null){const _0x9c4806=a91_0x36291f;try{const _0x1c01d0=_0x104728||global[_0x9c4806(0x1fd)]||{};if(global[_0x9c4806(0x222)])return global[_0x9c4806(0x222)];if(_0x1c01d0?.[_0x9c4806(0x21e)]?.[_0x9c4806(0x273)])return _0x1c01d0[_0x9c4806(0x21e)][_0x9c4806(0x273)];if(_0x1c01d0?.['currentTest']?.['id'])return _0x1c01d0['currentTest']['id'];return null;}catch(_0x3abd09){return logger[_0x9c4806(0x218)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x9c4806(0x207)](_0x3abd09)),null;}}async['configureGit'](){const _0x48c449=a91_0x36291f,_0x309dad={'jtyfA':function(_0x7f25a6){return _0x7f25a6();}};if(this[_0x48c449(0x28c)])return this[_0x48c449(0x20a)];const _0x1d7e55=await _0x309dad[_0x48c449(0x226)](getGitMetaData);_0x1d7e55&&(this[_0x48c449(0x20a)]=_0x1d7e55[_0x48c449(0x241)]),this[_0x48c449(0x28c)]=!![];}[a91_0x36291f(0x253)](_0x2ec581){hooksMap[_0x2ec581]&&delete hooksMap[_0x2ec581];}['extractTestFilePath'](_0x373d2e){const _0x525ed1=a91_0x36291f,_0x2e934b={'sjaTm':_0x525ed1(0x26c),'Bsmca':function(_0x16c3e3,_0x13a3e5){return _0x16c3e3(_0x13a3e5);},'YDqoW':'expect'};if(_0x373d2e[_0x525ed1(0x1ee)])return _0x373d2e['file'];if(_0x373d2e['asyncError']){try{const _0x26bd0f=stackTrace[_0x525ed1(0x237)](_0x373d2e[_0x525ed1(0x1f9)]);if(_0x26bd0f[0x0]&&_0x26bd0f[0x0][_0x525ed1(0x26d)]){const _0x1ca661=_0x26bd0f[0x0][_0x525ed1(0x26d)]();if(_0x1ca661&&!_0x1ca661[_0x525ed1(0x28f)](_0x2e934b[_0x525ed1(0x1da)]))return _0x1ca661;}}catch(_0x253047){logger[_0x525ed1(0x218)](_0x525ed1(0x1f8)+util[_0x525ed1(0x207)](_0x253047));}if(_0x373d2e['asyncError'][_0x525ed1(0x267)]){const _0x4cdaae=_0x373d2e['asyncError']['stack'][_0x525ed1(0x245)]('\x0a');for(const _0x2be8c3 of _0x4cdaae){const _0x3f9cbb=_0x2be8c3[_0x525ed1(0x26a)](/at (.+?):\d+:\d+/);if(_0x3f9cbb&&_0x3f9cbb[0x1]&&!_0x3f9cbb[0x1]['includes'](_0x2e934b[_0x525ed1(0x1da)]))return _0x3f9cbb[0x1];}}}let _0x53083d=_0x373d2e[_0x525ed1(0x206)];while(_0x53083d){if(_0x53083d['file'])return _0x53083d[_0x525ed1(0x1ee)];if(_0x53083d[_0x525ed1(0x1f9)])try{const _0x4f2400=stackTrace[_0x525ed1(0x237)](_0x53083d['asyncError']);if(_0x4f2400[0x0]&&_0x4f2400[0x0][_0x525ed1(0x26d)]){const _0x47e196=_0x4f2400[0x0][_0x525ed1(0x26d)]();if(_0x47e196&&!_0x47e196['includes'](_0x2e934b[_0x525ed1(0x1da)]))return _0x47e196;}}catch(_0x33c83a){}_0x53083d=_0x53083d[_0x525ed1(0x206)];}try{const _0x1d18b8=_0x2e934b[_0x525ed1(0x1ed)](require,_0x2e934b[_0x525ed1(0x24b)]);if(_0x1d18b8&&_0x1d18b8[_0x525ed1(0x1e4)]){const _0x51acd2=_0x1d18b8['getState']();if(_0x51acd2&&_0x51acd2[_0x525ed1(0x1f3)])return _0x51acd2['testPath'];}}catch(_0x16a6e7){logger['debug'](_0x525ed1(0x21a)+util[_0x525ed1(0x207)](_0x16a6e7));}return null;}[a91_0x36291f(0x233)](_0x50c511){const _0x10fc43=a91_0x36291f,_0xfb7a19={};_0xfb7a19[_0x10fc43(0x221)]=_0x10fc43(0x216),_0xfb7a19[_0x10fc43(0x23e)]=function(_0x4261a2,_0x150b01){return _0x4261a2!==_0x150b01;},_0xfb7a19['TSPtf']=_0x10fc43(0x286),_0xfb7a19['bYvtl']=_0x10fc43(0x26c),_0xfb7a19['rSTHv']=_0x10fc43(0x20b),_0xfb7a19[_0x10fc43(0x285)]=_0x10fc43(0x240);const _0x4e9dcd=_0xfb7a19;try{if(!_0x50c511)return logger[_0x10fc43(0x272)](_0x4e9dcd[_0x10fc43(0x221)]),null;const _0x4f52cc=_0x50c511['fullName']||_0x50c511[_0x10fc43(0x248)]||_0x50c511[_0x10fc43(0x1e6)]||_0x50c511[_0x10fc43(0x260)];let _0x277372=_0x4f52cc;if(_0x50c511[_0x10fc43(0x206)]&&_0x50c511[_0x10fc43(0x206)][_0x10fc43(0x248)]&&_0x4e9dcd[_0x10fc43(0x23e)](_0x50c511[_0x10fc43(0x206)][_0x10fc43(0x248)],_0x4e9dcd['TSPtf'])){const _0x100b41=_0x50c511[_0x10fc43(0x248)]||_0x50c511['title'];_0x100b41&&(_0x277372=_0x50c511[_0x10fc43(0x206)][_0x10fc43(0x248)]+'\x20'+_0x100b41);}let _0x3708f6=_0x50c511[_0x10fc43(0x1f3)];if(!_0x3708f6&&_0x50c511[_0x10fc43(0x1f9)]){try{const _0x356b78=stackTrace[_0x10fc43(0x237)](_0x50c511[_0x10fc43(0x1f9)]);if(_0x356b78[0x0]&&_0x356b78[0x0]['getFileName']){const _0x2fd011=_0x356b78[0x0]['getFileName']();_0x2fd011&&!_0x2fd011[_0x10fc43(0x28f)](_0x4e9dcd[_0x10fc43(0x22c)])&&(_0x3708f6=_0x2fd011);}}catch(_0x3a816d){logger[_0x10fc43(0x218)](_0x10fc43(0x1f8)+util[_0x10fc43(0x207)](_0x3a816d));}if(!_0x3708f6&&_0x50c511[_0x10fc43(0x1f9)][_0x10fc43(0x267)]){const _0x329293=_0x50c511[_0x10fc43(0x1f9)]['stack'][_0x10fc43(0x245)]('\x0a');for(const _0x5237fc of _0x329293){const _0x51cc62=_0x5237fc[_0x10fc43(0x26a)](/at (.+?):\d+:\d+/);if(_0x51cc62&&_0x51cc62[0x1]&&!_0x51cc62[0x1][_0x10fc43(0x28f)](_0x4e9dcd[_0x10fc43(0x22c)])){_0x3708f6=_0x51cc62[0x1];break;}}}}const _0x177436=_0x3708f6+'::'+_0x277372,_0x469f3a=crypto[_0x10fc43(0x28e)](_0x4e9dcd[_0x10fc43(0x231)])[_0x10fc43(0x243)](_0x177436)[_0x10fc43(0x1dd)](_0x4e9dcd['tGaks'])[_0x10fc43(0x1e9)](0x0,0x8),_0x5d77c3=process['pid']+_0x10fc43(0x1e7)+_0x469f3a;return logger[_0x10fc43(0x218)](_0x10fc43(0x1fb)+_0x5d77c3+_0x10fc43(0x203)+_0x177436),_0x5d77c3;}catch(_0x3e5f63){return logger['error']('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x10fc43(0x207)](_0x3e5f63)),null;}}['createIdentifierFromJestTest'](_0x19434e){const _0x16c607=a91_0x36291f,_0x421927={};_0x421927[_0x16c607(0x27e)]=_0x16c607(0x277);const _0x37204f=_0x421927;if(!_0x19434e)return logger[_0x16c607(0x218)](_0x37204f[_0x16c607(0x27e)]),null;const _0x140072=this[_0x16c607(0x209)](_0x19434e),_0x342ee0={};_0x342ee0[_0x16c607(0x248)]=_0x19434e[_0x16c607(0x248)]||_0x19434e[_0x16c607(0x1e6)],_0x342ee0[_0x16c607(0x206)]=_0x19434e[_0x16c607(0x206)],_0x342ee0[_0x16c607(0x1f3)]=_0x140072,_0x342ee0[_0x16c607(0x1f9)]=_0x19434e['asyncError'];const _0x4e8a1a=_0x342ee0;return this[_0x16c607(0x233)](_0x4e8a1a);}['recreateIdentifierFromTestInfo'](_0x4b4de1){const _0x59caf5=a91_0x36291f,_0x262a8a={};_0x262a8a[_0x59caf5(0x214)]=_0x59caf5(0x1d8);const _0x765c80=_0x262a8a;if(!_0x4b4de1)return logger['debug'](_0x765c80[_0x59caf5(0x214)]),null;if(_0x4b4de1['testIdentifier'])return logger[_0x59caf5(0x218)](_0x59caf5(0x24c)+_0x4b4de1['testIdentifier']),_0x4b4de1['testIdentifier'];return this['createJestTestIdentifier'](_0x4b4de1);}}module[a91_0x36291f(0x26f)]=o11yClassErrorHandler(JestUtils,[a91_0x36291f(0x23b),'getHierarchy',a91_0x36291f(0x281),a91_0x36291f(0x20d),a91_0x36291f(0x1d5),a91_0x36291f(0x1d6),a91_0x36291f(0x20f),a91_0x36291f(0x219),a91_0x36291f(0x21c),a91_0x36291f(0x253),a91_0x36291f(0x209),a91_0x36291f(0x233),a91_0x36291f(0x270),a91_0x36291f(0x27c)]);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a92_0x39a2(){const _0x119aa3=['modifyBrowserStackCaps','platforms','WLBYl','ZVcQp','exports','modifyBrowserStackW3CCaps','SDK_CLEANUP','../../helpers/BrowserStackSetup','1430970vOhPTc','length','42148NgzjQd','proxySettings','File\x20','path','index','../../helpers/helper','useW3C','gjDol','launchBuild','existsSync','File\x20path\x20is\x20required','finalExecution','\x20doesn\x27t\x20exist','738994bqAPNn','1081641lzeHct','getPlatformName','115RXZqVZ','push','Config\x20yml\x20is\x20required','EVENTS','17216904RpwioO','MBltP','phnKz','cwd','config','args','634350HvgzDM','iMvXi','vanilla','start','1989113gSowAa','parallelsPerPlatform','VFghs','file','SDK_SETUP','../../helpers/performance/constants','end','handleApp','forEach','join','configuration','../test-runner','initialize','getHubUrl','assign'];a92_0x39a2=function(){return _0x119aa3;};return a92_0x39a2();}const a92_0xa3d4bb=a92_0xdefb;(function(_0x18caab,_0x53afdf){const _0x4b4874=a92_0xdefb,_0x409a7c=_0x18caab();while(!![]){try{const _0xd6524b=-parseInt(_0x4b4874(0x9e))/0x1+-parseInt(_0x4b4874(0x74))/0x2+-parseInt(_0x4b4874(0x9f))/0x3+-parseInt(_0x4b4874(0x91))/0x4*(-parseInt(_0x4b4874(0xa1))/0x5)+-parseInt(_0x4b4874(0x8f))/0x6+-parseInt(_0x4b4874(0x78))/0x7+parseInt(_0x4b4874(0x6e))/0x8;if(_0xd6524b===_0x53afdf)break;else _0x409a7c['push'](_0x409a7c['shift']());}catch(_0x382d15){_0x409a7c['push'](_0x409a7c['shift']());}}}(a92_0x39a2,0x6f1b6));function a92_0xdefb(_0x1875e5,_0x50dd1e){const _0x39a24c=a92_0x39a2();return a92_0xdefb=function(_0xdefbbb,_0x47ad08){_0xdefbbb=_0xdefbbb-0x6c;let _0x21486e=_0x39a24c[_0xdefbbb];return _0x21486e;},a92_0xdefb(_0x1875e5,_0x50dd1e);}const fs=require('fs'),path=require(a92_0xa3d4bb(0x94)),{default:BrowserStackSetup}=require(a92_0xa3d4bb(0x8e)),helper=require(a92_0xa3d4bb(0x96)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0xa3d4bb(0x7d))[a92_0xa3d4bb(0x6d)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a92_0xa3d4bb(0x83)),TestHubHandler=require('../../helpers/testhub/testhubHandler');async function run(_0x4ea343,_0xdc323a,_0x4e3566){const _0x126ae6=a92_0xa3d4bb,_0x2e1bdb={'ZVcQp':_0x126ae6(0x76),'iMvXi':function(_0x1f8020,_0x3e0819){return _0x1f8020(_0x3e0819);},'gjDol':_0x126ae6(0x9b),'WLBYl':function(_0x9635cf,_0x4b601d){return _0x9635cf(_0x4b601d);},'VFghs':_0x126ae6(0x6c),'sXzXg':function(_0x9f70ad,_0x171333){return _0x9f70ad>_0x171333;},'MBltP':function(_0x56e6e0,_0x1a178c){return _0x56e6e0>_0x1a178c;},'phnKz':function(_0x52b3df,_0x50ccb8){return _0x52b3df*_0x50ccb8;},'xIYKt':function(_0x5bb481,_0x281116,_0x5d84c4){return _0x5bb481(_0x281116,_0x5d84c4);}};await _0x4e3566[_0x126ae6(0x84)](_0x4ea343),await helper[_0x126ae6(0x7f)](_0x4e3566[_0x126ae6(0x72)]);const _0x330bfe=[];if(helper['isUndefined'](_0x4ea343['_'][0x1]))throw _0x2e1bdb[_0x126ae6(0x75)](Error,_0x2e1bdb[_0x126ae6(0x98)]);const _0x580a31=path[_0x126ae6(0x81)](process[_0x126ae6(0x71)](),_0x4ea343['_'][0x1]);if(!fs[_0x126ae6(0x9a)](_0x580a31))throw _0x2e1bdb[_0x126ae6(0x89)](Error,_0x126ae6(0x93)+_0x4ea343['_'][0x1]+_0x126ae6(0x9d));if(!_0x4e3566[_0x126ae6(0x72)])throw _0x2e1bdb[_0x126ae6(0x75)](Error,_0x2e1bdb[_0x126ae6(0x7a)]);const _0x320c2e=helper[_0x126ae6(0x97)](_0x4e3566[_0x126ae6(0x72)]);_0x4e3566[_0x126ae6(0x72)][_0x126ae6(0x88)]&&_0x2e1bdb['sXzXg'](_0x4e3566['config']['platforms']['length'],0x0)&&_0x4e3566[_0x126ae6(0x72)][_0x126ae6(0x88)][_0x126ae6(0x80)]((_0x42bfa3,_0x4b4317)=>{const _0x3ef0c4=_0x126ae6;_0x320c2e?_0x330bfe['push'](helper['modifyBrowserStackW3CCaps'](_0x4e3566[_0x3ef0c4(0x72)],_0x2e1bdb[_0x3ef0c4(0x8a)],_0x4b4317)):_0x330bfe[_0x3ef0c4(0xa2)](helper[_0x3ef0c4(0x87)](_0x4e3566[_0x3ef0c4(0x72)],_0x2e1bdb[_0x3ef0c4(0x8a)],_0x4b4317));});let _0x20b242,_0x630768;const _0x21b46f=[];if(_0x2e1bdb[_0x126ae6(0x6f)](_0x330bfe[_0x126ae6(0x90)],0x0))_0x330bfe[_0x126ae6(0x80)]((_0xa0b7af,_0x2a5e6f)=>{const _0x2df9f2=_0x126ae6,_0x7b900a={};_0x7b900a[_0x2df9f2(0x95)]=_0x2a5e6f,_0x20b242={'server':helper[_0x2df9f2(0x85)](_0x4e3566[_0x2df9f2(0x72)]),'proxySettings':_0x4e3566['config']['proxySettings'],'platform':helper[_0x2df9f2(0xa0)](_0xa0b7af),'platformCaps':Object[_0x2df9f2(0x86)](_0x7b900a,_0x4e3566[_0x2df9f2(0x72)][_0x2df9f2(0x88)][_0x2a5e6f])};const _0x123386={'capability':_0xa0b7af,..._0x20b242};_0x123386[_0x2df9f2(0x7b)]=_0x580a31,_0x123386[_0x2df9f2(0x73)]=_0xdc323a;const _0x2b09b1={};_0x2b09b1[_0x2df9f2(0x82)]=_0x123386,_0x630768=_0x2b09b1,_0x21b46f[_0x2df9f2(0xa2)](_0x630768);});else{let _0x3e8632;_0x320c2e?_0x3e8632=helper[_0x126ae6(0x8c)](_0x4e3566[_0x126ae6(0x72)],_0x2e1bdb[_0x126ae6(0x8a)],0x0):_0x3e8632=helper[_0x126ae6(0x87)](_0x4e3566['config'],_0x2e1bdb[_0x126ae6(0x8a)],0x0);_0x20b242={'server':helper[_0x126ae6(0x85)](_0x4e3566[_0x126ae6(0x72)]),'proxySettings':_0x4e3566[_0x126ae6(0x72)][_0x126ae6(0x92)]};const _0x2764eb={'capability':_0x3e8632,..._0x20b242};_0x2764eb[_0x126ae6(0x7b)]=_0x580a31,_0x2764eb[_0x126ae6(0x73)]=_0xdc323a;const _0x3f2334={};_0x3f2334[_0x126ae6(0x82)]=_0x2764eb,_0x630768=_0x3f2334,_0x21b46f[_0x126ae6(0xa2)](_0x630768);}const _0x1b11dc=await TestHubHandler[_0x126ae6(0x99)](_0x2e1bdb['ZVcQp'],_0x4e3566),_0x279fe5=_0x2e1bdb[_0x126ae6(0x70)](_0x4e3566[_0x126ae6(0x72)][_0x126ae6(0x88)][_0x126ae6(0x90)]||0x1,_0x4e3566[_0x126ae6(0x72)][_0x126ae6(0x79)]||0x1);PerformanceTester[_0x126ae6(0x7e)](PerformanceEvents[_0x126ae6(0x7c)]),_0x2e1bdb['xIYKt'](parallelVanillaRun,_0x21b46f,_0x279fe5)['then'](_0x236b75=>{})['finally'](async()=>{const _0x16268f=_0x126ae6;PerformanceTester[_0x16268f(0x77)](PerformanceEvents[_0x16268f(0x8d)]),await utilities[_0x16268f(0x9c)](_0x4e3566);});}module[a92_0xa3d4bb(0x8b)]=run;
2
+ 'use strict';function a92_0x2487(){const _0x4797a5=['354269IMAiky','platforms','6755kyuhtq','ckMjY','then','isUndefined','../../helpers/utilities','config','getPlatformName','exports','handleApp','vanilla','forEach','assign','start','rJzKg','10456140pSNLTh','rKMdr','284JYrOPB','\x20doesn\x27t\x20exist','configuration','../../helpers/BrowserStackSetup','getHubUrl','ahzGz','XMGrn','EVENTS','modifyBrowserStackCaps','File\x20','launchBuild','8gcRKPq','aYheH','SDK_SETUP','finally','proxySettings','18850843AZsfhT','push','join','file','24oJsqiP','useW3C','68305hroPck','../../helpers/helper','3593019ldMSEQ','2WsvOYt','existsSync','../test-runner','4371021YVOheL','6072TCPLGv','length','index','../../helpers/performance/constants','HEJJI','Config\x20yml\x20is\x20required','args','finalExecution'];a92_0x2487=function(){return _0x4797a5;};return a92_0x2487();}const a92_0x2b7c05=a92_0xc57b;(function(_0x5e2c08,_0x93ce83){const _0x30549c=a92_0xc57b,_0x5bd251=_0x5e2c08();while(!![]){try{const _0x1a4f38=-parseInt(_0x30549c(0x1c8))/0x1+-parseInt(_0x30549c(0x1bc))/0x2*(-parseInt(_0x30549c(0x1bb))/0x3)+-parseInt(_0x30549c(0x1a3))/0x4*(parseInt(_0x30549c(0x1b9))/0x5)+-parseInt(_0x30549c(0x1c0))/0x6*(parseInt(_0x30549c(0x1ca))/0x7)+parseInt(_0x30549c(0x1ae))/0x8*(-parseInt(_0x30549c(0x1bf))/0x9)+-parseInt(_0x30549c(0x1d8))/0xa+-parseInt(_0x30549c(0x1b3))/0xb*(-parseInt(_0x30549c(0x1b7))/0xc);if(_0x1a4f38===_0x93ce83)break;else _0x5bd251['push'](_0x5bd251['shift']());}catch(_0x348f95){_0x5bd251['push'](_0x5bd251['shift']());}}}(a92_0x2487,0xc19cc));function a92_0xc57b(_0x3f85a2,_0x118a2f){const _0x248792=a92_0x2487();return a92_0xc57b=function(_0xc57b9e,_0x214052){_0xc57b9e=_0xc57b9e-0x1a3;let _0x552229=_0x248792[_0xc57b9e];return _0x552229;},a92_0xc57b(_0x3f85a2,_0x118a2f);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a92_0x2b7c05(0x1a6)),helper=require(a92_0x2b7c05(0x1ba)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0x2b7c05(0x1c3))[a92_0x2b7c05(0x1aa)],utilities=require(a92_0x2b7c05(0x1ce)),{parallelVanillaRun}=require(a92_0x2b7c05(0x1be)),TestHubHandler=require('../../helpers/testhub/testhubHandler');async function run(_0x846ffb,_0x33ce44,_0x2c3e39){const _0x165958=a92_0x2b7c05,_0x6e2737={'XMGrn':_0x165958(0x1d3),'wbQhl':function(_0x54b1c8,_0x5097cf){return _0x54b1c8(_0x5097cf);},'rJzKg':'File\x20path\x20is\x20required','HEJJI':function(_0x522b1b,_0x5bd632){return _0x522b1b(_0x5bd632);},'mLOWK':_0x165958(0x1c5),'aYheH':function(_0x1406ac,_0x51da4a){return _0x1406ac>_0x51da4a;},'ahzGz':function(_0x2e8958,_0x32e27e){return _0x2e8958>_0x32e27e;},'ckMjY':function(_0x41d081,_0x3b018a){return _0x41d081*_0x3b018a;},'rKMdr':function(_0x595c1f,_0x4a390d,_0x3965d9){return _0x595c1f(_0x4a390d,_0x3965d9);}};await _0x2c3e39['initialize'](_0x846ffb),await helper[_0x165958(0x1d2)](_0x2c3e39[_0x165958(0x1cf)]);const _0x39cefc=[];if(helper[_0x165958(0x1cd)](_0x846ffb['_'][0x1]))throw _0x6e2737['wbQhl'](Error,_0x6e2737[_0x165958(0x1d7)]);const _0x35c65d=path[_0x165958(0x1b5)](process['cwd'](),_0x846ffb['_'][0x1]);if(!fs[_0x165958(0x1bd)](_0x35c65d))throw _0x6e2737[_0x165958(0x1c4)](Error,_0x165958(0x1ac)+_0x846ffb['_'][0x1]+_0x165958(0x1a4));if(!_0x2c3e39[_0x165958(0x1cf)])throw _0x6e2737[_0x165958(0x1c4)](Error,_0x6e2737['mLOWK']);const _0x4026c0=helper[_0x165958(0x1b8)](_0x2c3e39[_0x165958(0x1cf)]);_0x2c3e39[_0x165958(0x1cf)][_0x165958(0x1c9)]&&_0x6e2737[_0x165958(0x1af)](_0x2c3e39['config'][_0x165958(0x1c9)][_0x165958(0x1c1)],0x0)&&_0x2c3e39['config'][_0x165958(0x1c9)]['forEach']((_0x3b7239,_0x2539dc)=>{const _0x2d1c29=_0x165958;_0x4026c0?_0x39cefc[_0x2d1c29(0x1b4)](helper['modifyBrowserStackW3CCaps'](_0x2c3e39[_0x2d1c29(0x1cf)],_0x6e2737['XMGrn'],_0x2539dc)):_0x39cefc[_0x2d1c29(0x1b4)](helper[_0x2d1c29(0x1ab)](_0x2c3e39[_0x2d1c29(0x1cf)],_0x6e2737[_0x2d1c29(0x1a9)],_0x2539dc));});let _0x51ce02,_0x5bc42d;const _0x45fb63=[];if(_0x6e2737[_0x165958(0x1a8)](_0x39cefc[_0x165958(0x1c1)],0x0))_0x39cefc[_0x165958(0x1d4)]((_0x6eb877,_0x4e468b)=>{const _0x4b0e6d=_0x165958,_0x281987={};_0x281987[_0x4b0e6d(0x1c2)]=_0x4e468b,_0x51ce02={'server':helper[_0x4b0e6d(0x1a7)](_0x2c3e39['config']),'proxySettings':_0x2c3e39['config'][_0x4b0e6d(0x1b2)],'platform':helper[_0x4b0e6d(0x1d0)](_0x6eb877),'platformCaps':Object[_0x4b0e6d(0x1d5)](_0x281987,_0x2c3e39['config'][_0x4b0e6d(0x1c9)][_0x4e468b])};const _0x3385ee={'capability':_0x6eb877,..._0x51ce02};_0x3385ee[_0x4b0e6d(0x1b6)]=_0x35c65d,_0x3385ee[_0x4b0e6d(0x1c6)]=_0x33ce44;const _0x1c7286={};_0x1c7286[_0x4b0e6d(0x1a5)]=_0x3385ee,_0x5bc42d=_0x1c7286,_0x45fb63['push'](_0x5bc42d);});else{let _0x51bce8;_0x4026c0?_0x51bce8=helper['modifyBrowserStackW3CCaps'](_0x2c3e39[_0x165958(0x1cf)],_0x6e2737[_0x165958(0x1a9)],0x0):_0x51bce8=helper[_0x165958(0x1ab)](_0x2c3e39[_0x165958(0x1cf)],_0x6e2737[_0x165958(0x1a9)],0x0);_0x51ce02={'server':helper[_0x165958(0x1a7)](_0x2c3e39['config']),'proxySettings':_0x2c3e39['config']['proxySettings']};const _0x51a38c={'capability':_0x51bce8,..._0x51ce02};_0x51a38c[_0x165958(0x1b6)]=_0x35c65d,_0x51a38c[_0x165958(0x1c6)]=_0x33ce44;const _0x2b80ec={};_0x2b80ec[_0x165958(0x1a5)]=_0x51a38c,_0x5bc42d=_0x2b80ec,_0x45fb63[_0x165958(0x1b4)](_0x5bc42d);}const _0x5ee24b=await TestHubHandler[_0x165958(0x1ad)](_0x6e2737[_0x165958(0x1a9)],_0x2c3e39),_0x1e63fe=_0x6e2737[_0x165958(0x1cb)](_0x2c3e39['config'][_0x165958(0x1c9)][_0x165958(0x1c1)]||0x1,_0x2c3e39[_0x165958(0x1cf)]['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x165958(0x1b0)]),_0x6e2737[_0x165958(0x1d9)](parallelVanillaRun,_0x45fb63,_0x1e63fe)[_0x165958(0x1cc)](_0x573b39=>{})[_0x165958(0x1b1)](async()=>{const _0x5b83d3=_0x165958;PerformanceTester[_0x5b83d3(0x1d6)](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x5b83d3(0x1c7)](_0x2c3e39);});}module[a92_0x2b7c05(0x1d1)]=run;
@@ -1 +1 @@
1
- function a93_0xb689(){const _0x475966=['ixvOr','168619vLMNhj','CvUkw','9tTXeoU','195727ZEvfyc','xkpFy','RhfAF','729816oIQRbd','osVersion','browser_version','284MYhjqY','set','platformName','PaGCV','2ntqVXr','719499lYOJti','XITDd','Ryuoo','os_version','getCurrentPlatform','browserVersion','3974300cxDuwI','zYNET','__platformCaps','VCUCu','7354KbeEVL','aySiB','platform','XSrkd','78mHVMed','9005KxzzVB','VHPJa','TgYFX'];a93_0xb689=function(){return _0x475966;};return a93_0xb689();}const a93_0x2304db=a93_0xf83d;(function(_0x56f5e3,_0x20894a){const _0x365da5=a93_0xf83d,_0x2f280c=_0x56f5e3();while(!![]){try{const _0x48c0c4=-parseInt(_0x365da5(0xbf))/0x1*(parseInt(_0x365da5(0xb4))/0x2)+parseInt(_0x365da5(0xb5))/0x3+-parseInt(_0x365da5(0xb0))/0x4*(-parseInt(_0x365da5(0xc4))/0x5)+parseInt(_0x365da5(0xc3))/0x6*(parseInt(_0x365da5(0xcb))/0x7)+parseInt(_0x365da5(0xad))/0x8*(-parseInt(_0x365da5(0xca))/0x9)+-parseInt(_0x365da5(0xbb))/0xa+parseInt(_0x365da5(0xc8))/0xb;if(_0x48c0c4===_0x20894a)break;else _0x2f280c['push'](_0x2f280c['shift']());}catch(_0x8617d5){_0x2f280c['push'](_0x2f280c['shift']());}}}(a93_0xb689,0x3d293));const TestMetadata=require('./helpers/metadata');class BrowserStackSdk{static[a93_0x2304db(0xb9)](){const _0x3abb40=a93_0x2304db,_0x4a8b74={};_0x4a8b74[_0x3abb40(0xbc)]=_0x3abb40(0xb8),_0x4a8b74['VCUCu']=_0x3abb40(0xae),_0x4a8b74[_0x3abb40(0xb3)]='browser',_0x4a8b74[_0x3abb40(0xcd)]='browserName',_0x4a8b74[_0x3abb40(0xcc)]=_0x3abb40(0xaf),_0x4a8b74[_0x3abb40(0xc6)]=_0x3abb40(0xba),_0x4a8b74[_0x3abb40(0xc2)]='device',_0x4a8b74[_0x3abb40(0xc9)]='deviceName',_0x4a8b74['aySiB']=_0x3abb40(0xc1),_0x4a8b74[_0x3abb40(0xc5)]=_0x3abb40(0xb2),_0x4a8b74['ixvOr']='platform_version',_0x4a8b74[_0x3abb40(0xb6)]='platformVersion',_0x4a8b74[_0x3abb40(0xb7)]='customVariables';const _0xff1c23=_0x4a8b74,_0x297280={};if(global[_0x3abb40(0xbd)]){const _0x1c9590=global[_0x3abb40(0xbd)],_0x3d88aa=_0x1c9590[_0xff1c23[_0x3abb40(0xbc)]]||_0x1c9590[_0xff1c23[_0x3abb40(0xbe)]],_0x568b8a=_0x1c9590[_0xff1c23[_0x3abb40(0xb3)]]||_0x1c9590[_0xff1c23[_0x3abb40(0xcd)]],_0x5c7d68=_0x1c9590[_0xff1c23[_0x3abb40(0xcc)]]||_0x1c9590[_0xff1c23[_0x3abb40(0xc6)]],_0x2f33c6=_0x1c9590[_0xff1c23[_0x3abb40(0xc2)]]||_0x1c9590[_0xff1c23[_0x3abb40(0xc9)]],_0x5e620c=_0x1c9590[_0xff1c23[_0x3abb40(0xc0)]]||_0x1c9590[_0xff1c23[_0x3abb40(0xc5)]],_0x460660=_0x1c9590[_0xff1c23[_0x3abb40(0xc7)]]||_0x1c9590[_0xff1c23[_0x3abb40(0xb6)]];_0x1c9590['os']&&(_0x297280['os']=_0x1c9590['os']),_0x3d88aa&&(_0x297280[_0xff1c23[_0x3abb40(0xbe)]]=_0x3d88aa),_0x568b8a&&(_0x297280[_0xff1c23[_0x3abb40(0xcd)]]=_0x568b8a),_0x5c7d68&&(_0x297280[_0xff1c23[_0x3abb40(0xc6)]]=_0x5c7d68),_0x2f33c6&&(_0x297280[_0xff1c23[_0x3abb40(0xc9)]]=_0x2f33c6),_0x5e620c&&(_0x297280[_0xff1c23[_0x3abb40(0xc5)]]=_0x5e620c),_0x460660&&(_0x297280[_0xff1c23['XITDd']]=_0x460660),_0x1c9590[_0xff1c23['Ryuoo']]&&(_0x297280[_0xff1c23['Ryuoo']]=_0x1c9590[_0xff1c23['Ryuoo']]);}return _0x297280;}static['setTestMetadata'](_0x5a6c5f={}){const _0x409d75=a93_0x2304db;TestMetadata[_0x409d75(0xb1)](_0x5a6c5f);}}function a93_0xf83d(_0x50d12d,_0x1e8d13){const _0xb689d1=a93_0xb689();return a93_0xf83d=function(_0xf83d47,_0x36e0c0){_0xf83d47=_0xf83d47-0xad;let _0x4a71af=_0xb689d1[_0xf83d47];return _0x4a71af;},a93_0xf83d(_0x50d12d,_0x1e8d13);}module['exports']=BrowserStackSdk;
1
+ const a93_0x3dacf5=a93_0x1cbe;(function(_0x249218,_0x2eff37){const _0x1e61f5=a93_0x1cbe,_0x289175=_0x249218();while(!![]){try{const _0x339431=-parseInt(_0x1e61f5(0x152))/0x1*(-parseInt(_0x1e61f5(0x15c))/0x2)+parseInt(_0x1e61f5(0x150))/0x3*(-parseInt(_0x1e61f5(0x156))/0x4)+-parseInt(_0x1e61f5(0x15d))/0x5+parseInt(_0x1e61f5(0x161))/0x6*(-parseInt(_0x1e61f5(0x164))/0x7)+-parseInt(_0x1e61f5(0x151))/0x8+parseInt(_0x1e61f5(0x14b))/0x9+parseInt(_0x1e61f5(0x140))/0xa;if(_0x339431===_0x2eff37)break;else _0x289175['push'](_0x289175['shift']());}catch(_0xd9218){_0x289175['push'](_0x289175['shift']());}}}(a93_0x2c68,0xb3be6));function a93_0x1cbe(_0x3d0e5a,_0x29731d){const _0x2c68e4=a93_0x2c68();return a93_0x1cbe=function(_0x1cbeee,_0x2cb195){_0x1cbeee=_0x1cbeee-0x13f;let _0x493bf4=_0x2c68e4[_0x1cbeee];return _0x493bf4;},a93_0x1cbe(_0x3d0e5a,_0x29731d);}function a93_0x2c68(){const _0x272adc=['6911664woUhiY','296531fBuOoc','YQTGY','browser_version','ymjKJ','4GYuIwb','Wltma','KBVvv','getCurrentPlatform','set','nVeaK','6vvArut','6852000RfTwFy','platformName','browserName','BdCwI','6qnCbFx','os_version','Waqxa','3923843jMpZZd','zfVQz','./helpers/metadata','platformVersion','21575070KjvpCV','deviceName','exports','osVersion','browser','browserVersion','iqnIf','YxfNI','platform','wJWye','platform_version','13214322ZbgIOB','mJLom','__platformCaps','RLBdp','device','2952663JEAYts'];a93_0x2c68=function(){return _0x272adc;};return a93_0x2c68();}const TestMetadata=require(a93_0x3dacf5(0x166));class BrowserStackSdk{static[a93_0x3dacf5(0x159)](){const _0x15723e=a93_0x3dacf5,_0x26067d={};_0x26067d[_0x15723e(0x146)]=_0x15723e(0x162),_0x26067d[_0x15723e(0x157)]=_0x15723e(0x143),_0x26067d[_0x15723e(0x165)]=_0x15723e(0x144),_0x26067d['ymjKJ']=_0x15723e(0x15f),_0x26067d[_0x15723e(0x15b)]=_0x15723e(0x154),_0x26067d['wJWye']=_0x15723e(0x145),_0x26067d[_0x15723e(0x158)]=_0x15723e(0x14f),_0x26067d[_0x15723e(0x147)]=_0x15723e(0x141),_0x26067d[_0x15723e(0x160)]=_0x15723e(0x148),_0x26067d['YQTGY']=_0x15723e(0x15e),_0x26067d['RLBdp']=_0x15723e(0x14a),_0x26067d['mJLom']=_0x15723e(0x13f),_0x26067d[_0x15723e(0x163)]='customVariables';const _0x513e98=_0x26067d,_0x167cc6={};if(global[_0x15723e(0x14d)]){const _0x264985=global[_0x15723e(0x14d)],_0x5b93b3=_0x264985[_0x513e98[_0x15723e(0x146)]]||_0x264985[_0x513e98[_0x15723e(0x157)]],_0x5a06d9=_0x264985[_0x513e98[_0x15723e(0x165)]]||_0x264985[_0x513e98[_0x15723e(0x155)]],_0x64995e=_0x264985[_0x513e98['nVeaK']]||_0x264985[_0x513e98[_0x15723e(0x149)]],_0x1c361d=_0x264985[_0x513e98[_0x15723e(0x158)]]||_0x264985[_0x513e98[_0x15723e(0x147)]],_0x15ff64=_0x264985[_0x513e98[_0x15723e(0x160)]]||_0x264985[_0x513e98[_0x15723e(0x153)]],_0x36b9ca=_0x264985[_0x513e98[_0x15723e(0x14e)]]||_0x264985[_0x513e98[_0x15723e(0x14c)]];_0x264985['os']&&(_0x167cc6['os']=_0x264985['os']),_0x5b93b3&&(_0x167cc6[_0x513e98[_0x15723e(0x157)]]=_0x5b93b3),_0x5a06d9&&(_0x167cc6[_0x513e98['ymjKJ']]=_0x5a06d9),_0x64995e&&(_0x167cc6[_0x513e98[_0x15723e(0x149)]]=_0x64995e),_0x1c361d&&(_0x167cc6[_0x513e98[_0x15723e(0x147)]]=_0x1c361d),_0x15ff64&&(_0x167cc6[_0x513e98['YQTGY']]=_0x15ff64),_0x36b9ca&&(_0x167cc6[_0x513e98[_0x15723e(0x14c)]]=_0x36b9ca),_0x264985[_0x513e98['Waqxa']]&&(_0x167cc6[_0x513e98[_0x15723e(0x163)]]=_0x264985[_0x513e98[_0x15723e(0x163)]]);}return _0x167cc6;}static['setTestMetadata'](_0x4e4f46={}){const _0x492ec4=a93_0x3dacf5;TestMetadata[_0x492ec4(0x15a)](_0x4e4f46);}}module[a93_0x3dacf5(0x142)]=BrowserStackSdk;