browserstack-node-sdk 1.50.7 → 1.50.8

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_0x12315b=a85_0x5c17;(function(_0x541c59,_0x3c8a07){const _0x1b9001=a85_0x5c17,_0x1156f2=_0x541c59();while(!![]){try{const _0x33e836=parseInt(_0x1b9001(0x230))/0x1+parseInt(_0x1b9001(0x211))/0x2+parseInt(_0x1b9001(0x1f3))/0x3*(parseInt(_0x1b9001(0x1d6))/0x4)+parseInt(_0x1b9001(0x1ce))/0x5+-parseInt(_0x1b9001(0x1d5))/0x6*(parseInt(_0x1b9001(0x1ec))/0x7)+-parseInt(_0x1b9001(0x208))/0x8*(parseInt(_0x1b9001(0x216))/0x9)+parseInt(_0x1b9001(0x221))/0xa;if(_0x33e836===_0x3c8a07)break;else _0x1156f2['push'](_0x1156f2['shift']());}catch(_0x45c369){_0x1156f2['push'](_0x1156f2['shift']());}}}(a85_0x1530,0x5e9a5));function a85_0x1530(){const _0xc78b4=['version','841455vRoanw','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','recreateIdentifierFromTestInfo','KEY_HUB_URL','getTestDetails','../state/hookState.js','KEY_PLATFORM_INDEX','30GlvyiQ','44AlacJm','../state/testFrameworkState.js','sendTestFrameworkEvent','getJwt','XBIMK','stringify','ScJdV','format','matchHookRegex','testUuid','../../../helpers/testhub/constants','../cliUtils.js','../../../helpers/helper.js','CUCUMBER','jestUtils','registerObserver','KEY_SESSION_ID','onPageCreate','appJj','Error\x20in\x20sending\x20CBTSession:\x20','test_identifier','CREATE','433195lQOIyH','getId','getProcessId','split','error','./loadTestModule.js','base64','160158jnVQsG','bind','DySlD','../browserstackCLI.js','NmLtE','hookState','getTestIdentifierFromTestInfo','getBuildHashedId','BROWSERSTACK_TESTHUB_UUID','getThreadId','NOmwT','testhubConfig','env','length','getInstance','getTestFramework','MODULE_NAME','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','keys','../framework/constants/testFrameworkConstants.js','toString','944152WvaLhJ','../framework/testFramework.js','debug','Error\x20in\x20sendTestFrameworkEvent:\x20','testInfo','TestHubModule','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','testSessionEvent','20516NCauIG','name','forEach','\x20hookState:\x20','../grpcClient.js','36FRQXqz','logger','getModuleName','../TestInfo.js','testFrameworkData','./baseModule','PmjQO','values','KEY_TEST_FRAMEWORK_NAME','exports','../state/automationFrameworkState.js','2404240rQzfzY','KEY_CAPABILITIES','frameworkVersion','../utils/jest-utils.js','TEST','ENV_VAR','getTestUUID','getTestId','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','eJKsa','getCurrentTestState','getState','page','onAllTestEvents','retry','162775dbJsWG','./playwrightDriverModule.js','JEST','createTestFrameworkEventPayload','1|7|4|8|5|6|3|0|2','nPlZX','../../../helpers/test-observability/constants.js','testFrameworkEvent','instance','isLTSSession','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','KEY_TEST_DEFERRED','GUnUC','onPageCreate\x20CBTSession\x20payload:\x20','WWmWO','POST','MTWDy','testFrameworkState'];a85_0x1530=function(){return _0xc78b4;};return a85_0x1530();}const util=require('util'),BaseModule=require(a85_0x12315b(0x21b)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a85_0x12315b(0x220)),HookState=require(a85_0x12315b(0x1d3)),TestFramework=require(a85_0x12315b(0x209)),TestFrameworkState=require(a85_0x12315b(0x1d7)),PlaywrightDriverModule=require(a85_0x12315b(0x231)),TestFrameworkConstants=require(a85_0x12315b(0x206)),GrpcClient=require(a85_0x12315b(0x215)),CLIUtils=require(a85_0x12315b(0x1e1)),TestInfo=require(a85_0x12315b(0x219)),testHubConstants=require(a85_0x12315b(0x1e0)),{FRAMEWORKS}=require(a85_0x12315b(0x1c1)),helper=require(a85_0x12315b(0x1e2)),LoadTestModule=require(a85_0x12315b(0x1f1)),JestUtils=require(a85_0x12315b(0x224)),BrowserstackCLI=require(a85_0x12315b(0x1f6)),{getPlaywrightProvider,getProductForSession}=require(a85_0x12315b(0x1e2));function a85_0x5c17(_0x7a9ce7,_0xe2ffbc){const _0x153086=a85_0x1530();return a85_0x5c17=function(_0x5c17ea,_0x125f7c){_0x5c17ea=_0x5c17ea-0x1bf;let _0x565830=_0x153086[_0x5c17ea];return _0x565830;},a85_0x5c17(_0x7a9ce7,_0xe2ffbc);}class TestHubModule extends BaseModule{[a85_0x12315b(0x217)]=createClassLogger(a85_0x12315b(0x20d));constructor(_0x4e69ea,_0x520cb9=null){const _0x1e1ac2=a85_0x12315b,_0x184e5f={};_0x184e5f[_0x1e1ac2(0x1da)]=_0x1e1ac2(0x1bf),_0x184e5f[_0x1e1ac2(0x1c9)]=_0x1e1ac2(0x20d);const _0x587d80=_0x184e5f,_0x542054=_0x587d80['XBIMK'][_0x1e1ac2(0x1ef)]('|');let _0x141944=0x0;while(!![]){switch(_0x542054[_0x141944++]){case'0':process[_0x1e1ac2(0x1ff)][testHubConstants[_0x1e1ac2(0x226)][_0x1e1ac2(0x1fb)]]=this[_0x1e1ac2(0x1fe)][_0x1e1ac2(0x1fa)]();continue;case'1':super(_0x520cb9);continue;case'2':BrowserstackCLI['O11yHashedID']=this[_0x1e1ac2(0x1fe)][_0x1e1ac2(0x1fa)]();continue;case'3':process[_0x1e1ac2(0x1ff)][testHubConstants[_0x1e1ac2(0x226)]['BROWSERSTACK_TESTHUB_JWT']]=this['testhubConfig'][_0x1e1ac2(0x1d9)]();continue;case'4':this['testhubConfig']=_0x4e69ea;continue;case'5':AutomationFramework[_0x1e1ac2(0x1e5)](AutomationFrameworkState[_0x1e1ac2(0x1eb)],HookState[_0x1e1ac2(0x1ca)],this[_0x1e1ac2(0x1e7)][_0x1e1ac2(0x1f4)](this));continue;case'6':Object[_0x1e1ac2(0x21d)](TestFrameworkState)[_0x1e1ac2(0x213)](_0xa80d0e=>{const _0xbfacc2=_0x1e1ac2;Object[_0xbfacc2(0x21d)](HookState)[_0xbfacc2(0x213)](_0x74690f=>{const _0x2be3da=_0xbfacc2;TestFramework['registerObserver'](_0xa80d0e,_0x74690f,this[_0x2be3da(0x22e)][_0x2be3da(0x1f4)](this));});});continue;case'7':this[_0x1e1ac2(0x212)]=_0x587d80[_0x1e1ac2(0x1c9)];continue;case'8':this['jestUtils']=new JestUtils();continue;}break;}}[a85_0x12315b(0x218)](){const _0x27def8=a85_0x12315b;return TestHubModule[_0x27def8(0x203)];}['onAllTestEvents'](_0x18529f){const _0x6169a3=a85_0x12315b,_0x54513a={};_0x54513a[_0x6169a3(0x1c7)]=function(_0x2d0f00,_0x2a93c9){return _0x2d0f00===_0x2a93c9;};const _0x349a6c=_0x54513a,_0x284059=_0x18529f[_0x6169a3(0x1c3)],_0x4d4c0a=_0x284059[_0x6169a3(0x22b)]();(_0x349a6c[_0x6169a3(0x1c7)](_0x4d4c0a,TestFrameworkState[_0x6169a3(0x225)])||CLIUtils[_0x6169a3(0x1de)](_0x4d4c0a[_0x6169a3(0x207)]()[_0x6169a3(0x1ef)]('.')[0x1]))&&this[_0x6169a3(0x1d8)](_0x18529f);}async[a85_0x12315b(0x1d8)](_0x4e4ae9){const _0x19a5cd=a85_0x12315b,_0x26f754={};_0x26f754[_0x19a5cd(0x1cb)]=function(_0x2018ec,_0x571b2b){return _0x2018ec===_0x571b2b;},_0x26f754[_0x19a5cd(0x1f7)]=_0x19a5cd(0x1c5);const _0x3a5967=_0x26f754;try{const _0x3d57e2=BrowserstackCLI['getInstance']()[_0x19a5cd(0x202)]()[_0x19a5cd(0x233)](_0x4e4ae9);if(!_0x3d57e2||_0x3a5967[_0x19a5cd(0x1cb)](Object[_0x19a5cd(0x205)](_0x3d57e2)[_0x19a5cd(0x200)],0x0)){this[_0x19a5cd(0x217)][_0x19a5cd(0x20a)](_0x3a5967['NmLtE']);return;}const _0x54b08e=await GrpcClient[_0x19a5cd(0x201)]()[_0x19a5cd(0x1c2)](_0x3d57e2);this['logger'][_0x19a5cd(0x20a)](_0x19a5cd(0x229)+_0x3d57e2[_0x19a5cd(0x1cc)]+_0x19a5cd(0x214)+_0x3d57e2[_0x19a5cd(0x1f8)]);}catch(_0x9feef3){this[_0x19a5cd(0x217)]['error'](_0x19a5cd(0x20b)+util[_0x19a5cd(0x1dd)](_0x9feef3));}}async['onPageCreate'](_0x4bf00a){const _0x277911=a85_0x12315b,_0x4a959c={'uRsFW':function(_0x52ddb7,_0x2ad005){return _0x52ddb7===_0x2ad005;},'appJj':_0x277911(0x1cf),'PmjQO':function(_0x1f65d1,_0x5b28e1){return _0x1f65d1===_0x5b28e1;},'nPlZX':function(_0x540f21,_0x120d11){return _0x540f21===_0x120d11;},'ScJdV':function(_0x497c10,_0x314765){return _0x497c10(_0x314765);},'DySlD':function(_0x43743a){return _0x43743a();},'NOmwT':_0x277911(0x1f2),'eJKsa':function(_0x46a873,_0x22086c){return _0x46a873===_0x22086c;}};try{if(_0x4bf00a[_0x277911(0x22d)]){const _0x30669f=this[_0x277911(0x228)](_0x4bf00a);this['logger'][_0x277911(0x20a)]('onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20'+_0x30669f);if(this[_0x277911(0x21a)]&&_0x4a959c['uRsFW'](this['testFrameworkData'][_0x277911(0x212)],FRAMEWORKS[_0x277911(0x232)])&&!_0x4bf00a['testInfo']){this[_0x277911(0x217)][_0x277911(0x20a)](_0x4a959c[_0x277911(0x1e8)]);return;}let _0x3209e6,_0xbcd6a1;if(this[_0x277911(0x21a)]&&_0x4a959c[_0x277911(0x21c)](this[_0x277911(0x21a)]['name'],FRAMEWORKS[_0x277911(0x1e3)]))_0x3209e6=_0x30669f,_0xbcd6a1=TestInfo[_0x277911(0x227)](_0x3209e6);else this[_0x277911(0x21a)]&&_0x4a959c['nPlZX'](this['testFrameworkData'][_0x277911(0x212)],FRAMEWORKS['JEST'])?(_0x3209e6=this[_0x277911(0x1e4)][_0x277911(0x1d0)](_0x4bf00a[_0x277911(0x20c)]),this[_0x277911(0x217)]['debug'](_0x277911(0x204)+_0x3209e6)):(_0x3209e6=TestInfo[_0x277911(0x1f9)](_0x4bf00a[_0x277911(0x20c)],_0x4bf00a[_0x277911(0x20c)][_0x277911(0x22f)]),_0xbcd6a1=TestInfo[_0x277911(0x227)](_0x3209e6));const _0x3fecce=TestInfo[_0x277911(0x1d2)](_0x3209e6),_0x147fa0=_0x4bf00a[_0x277911(0x1c3)],_0x3bf81b=AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x1d4)]),_0x3ef73e=_0x3fecce?.[TestFrameworkConstants[_0x277911(0x21e)]]||this[_0x277911(0x21a)]&&this[_0x277911(0x21a)]['name'],_0x2c33dc=_0x3fecce?.[TestFrameworkConstants[_0x277911(0x20f)]]||this[_0x277911(0x21a)]&&this[_0x277911(0x21a)][_0x277911(0x1cd)],_0x520eee=TestFrameworkState['TEST'][_0x277911(0x207)]()[_0x277911(0x1ef)]('.')[0x1],_0x3d3f7c=HookState['POST']['toString']()['split']('.')[0x1],_0x2f13ec=_0x147fa0['getContext'](),_0x4a68e9=AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x1d1)],''),_0x5da72f={'provider':_0x4a959c[_0x277911(0x1dc)](getPlaywrightProvider,_0x4a68e9),'frameworkName':_0x147fa0['frameworkName'],'frameworkVersion':_0x147fa0[_0x277911(0x223)],'frameworkSessionId':LoadTestModule[_0x277911(0x1c4)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x1e6)],''),'ref':_0x147fa0['getRef'](),'hubUrl':_0x4a68e9,'product':_0x4a959c[_0x277911(0x1f5)](getProductForSession)};let _0x362361=AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x222)],{});_0x362361=Buffer['from'](JSON[_0x277911(0x1db)](_0x362361))[_0x277911(0x207)](_0x4a959c[_0x277911(0x1fd)]);const _0x17e3e6={'hash':_0x2f13ec[_0x277911(0x1ed)](),'threadId':_0x2f13ec[_0x277911(0x1fc)]()[_0x277911(0x207)](),'processId':_0x2f13ec[_0x277911(0x1ee)]()['toString']()},_0x220184={};_0x220184[_0x277911(0x1ea)]=_0x3209e6;const _0x49fae8={};_0x49fae8[_0x277911(0x1df)]=_0xbcd6a1;const _0xba3f02={'platformIndex':_0x3bf81b,'testFrameworkName':_0x3ef73e,'testFrameworkVersion':_0x2c33dc,'testFrameworkState':_0x520eee,'testHookState':_0x3d3f7c,...this['testFrameworkData']&&_0x4a959c[_0x277911(0x22a)](this['testFrameworkData']['name'],FRAMEWORKS[_0x277911(0x232)])?_0x220184:_0x49fae8,'automationSession':_0x5da72f,'capabilities':_0x362361,'executionContext':_0x17e3e6};this[_0x277911(0x217)][_0x277911(0x20a)](_0x277911(0x1c8)+util[_0x277911(0x1dd)](_0xba3f02));const _0xeb03f5=await GrpcClient[_0x277911(0x201)]()[_0x277911(0x210)](_0xba3f02);this['logger'][_0x277911(0x20a)](_0x277911(0x20e)+_0x30669f+(this[_0x277911(0x21a)]&&_0x4a959c[_0x277911(0x1c0)](this[_0x277911(0x21a)]['name'],FRAMEWORKS['JEST'])?',\x20test_identifier:\x20'+_0x3209e6:''));}}catch(_0x267030){this['logger'][_0x277911(0x1f0)](_0x277911(0x1e9)+util[_0x277911(0x1dd)](_0x267030));}}}TestHubModule[a85_0x12315b(0x203)]='TestHubModule',TestHubModule[a85_0x12315b(0x1c6)]='test_deferred',module[a85_0x12315b(0x21f)]=TestHubModule;
1
+ const a85_0x38065e=a85_0x5618;function a85_0x5618(_0x1a774c,_0x4b6db0){const _0x26a9ba=a85_0x26a9();return a85_0x5618=function(_0x561818,_0x3b19c2){_0x561818=_0x561818-0x154;let _0x1ac0b4=_0x26a9ba[_0x561818];return _0x1ac0b4;},a85_0x5618(_0x1a774c,_0x4b6db0);}(function(_0x4ab3dc,_0x13451e){const _0x258500=a85_0x5618,_0xac0d39=_0x4ab3dc();while(!![]){try{const _0x4320a1=parseInt(_0x258500(0x1b7))/0x1+-parseInt(_0x258500(0x159))/0x2+parseInt(_0x258500(0x15a))/0x3*(-parseInt(_0x258500(0x184))/0x4)+parseInt(_0x258500(0x1a2))/0x5+parseInt(_0x258500(0x1bd))/0x6+parseInt(_0x258500(0x18a))/0x7*(-parseInt(_0x258500(0x171))/0x8)+-parseInt(_0x258500(0x17c))/0x9*(-parseInt(_0x258500(0x19e))/0xa);if(_0x4320a1===_0x13451e)break;else _0xac0d39['push'](_0xac0d39['shift']());}catch(_0xa56442){_0xac0d39['push'](_0xac0d39['shift']());}}}(a85_0x26a9,0xb89f0));function a85_0x26a9(){const _0x9500ae=['../../../helpers/helper.js','Error\x20in\x20sendTestFrameworkEvent:\x20','../framework/automationFramework.js','\x20hookState:\x20','../framework/testFramework.js','env','Error\x20in\x20sending\x20CBTSession:\x20','BcRdy','sjmyp','20GzOhaR','KEY_TEST_FRAMEWORK_VERSION','from','getProcessId','1757075TuoFkq','eGWjv','values','getTestIdentifierFromTestInfo','testSessionEvent','TestHubModule','debug','uQBNO','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','version','onAllTestEvents','getRef','testFrameworkData','getState','getInstance','dHmCC','pLmfL','lGssO','name','AhQOy','377946VVjYjh','logger','KEY_SESSION_ID','testInfo','exports','retry','2934486GOTRIu','getId','keys','CREATE','testUuid','DZnSB','../../../helpers/test-observability/constants.js','onPageCreate\x20CBTSession\x20payload:\x20','getJwt','getTestFramework','884828ylurtn','855JksjRu','TEST','../../../helpers/testhub/constants','bind','page','forEach','../TestInfo.js','JEST','format','getContext','0|7|6|4|8|1|3|2|5','hookState','BROWSERSTACK_TESTHUB_JWT','getTestId','matchHookRegex','../browserstackCLI.js','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','../state/automationFrameworkState.js','./playwrightDriverModule.js','O11yHashedID','isLTSSession','toString','split','40TezofP','getModuleName','KEY_CAPABILITIES','../state/testFrameworkState.js','../utils/jest-utils.js','registerObserver',',\x20test_identifier:\x20','KEY_HUB_URL','./loadTestModule.js','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','createTestFrameworkEventPayload','10751445NHSTAN','BROWSERSTACK_TESTHUB_UUID','getTestUUID','MODULE_NAME','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','getTestDetails','error','testhubConfig','17572fygKym','./baseModule','onPageCreate','util','POST','testFrameworkEvent','1619835YITRxW','ENV_VAR','instance','sendTestFrameworkEvent','../../../helpers/classLogger.js','jestUtils','test_identifier','CUCUMBER','uoRMY','frameworkVersion','getCurrentTestState'];a85_0x26a9=function(){return _0x9500ae;};return a85_0x26a9();}const util=require(a85_0x38065e(0x187)),BaseModule=require(a85_0x38065e(0x185)),{createClassLogger}=require(a85_0x38065e(0x18e)),AutomationFramework=require(a85_0x38065e(0x197)),AutomationFrameworkState=require(a85_0x38065e(0x16b)),HookState=require('../state/hookState.js'),TestFramework=require(a85_0x38065e(0x199)),TestFrameworkState=require(a85_0x38065e(0x174)),PlaywrightDriverModule=require(a85_0x38065e(0x16c)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require('../grpcClient.js'),CLIUtils=require('../cliUtils.js'),TestInfo=require(a85_0x38065e(0x160)),testHubConstants=require(a85_0x38065e(0x15c)),{FRAMEWORKS}=require(a85_0x38065e(0x155)),helper=require('../../../helpers/helper.js'),LoadTestModule=require(a85_0x38065e(0x179)),JestUtils=require(a85_0x38065e(0x175)),BrowserstackCLI=require(a85_0x38065e(0x169)),{getPlaywrightProvider,getProductForSession}=require(a85_0x38065e(0x195));class TestHubModule extends BaseModule{['logger']=createClassLogger('TestHubModule');constructor(_0x3da5e8,_0x141a1d=null){const _0x3e2086=a85_0x38065e,_0x44a2c9={};_0x44a2c9[_0x3e2086(0x1b6)]=_0x3e2086(0x164),_0x44a2c9[_0x3e2086(0x19c)]=_0x3e2086(0x1a7);const _0x490852=_0x44a2c9,_0x286642=_0x490852[_0x3e2086(0x1b6)]['split']('|');let _0x5e6274=0x0;while(!![]){switch(_0x286642[_0x5e6274++]){case'0':super(_0x141a1d);continue;case'1':Object['values'](TestFrameworkState)[_0x3e2086(0x15f)](_0x2a2875=>{const _0x6ff188=_0x3e2086;Object[_0x6ff188(0x1a4)](HookState)[_0x6ff188(0x15f)](_0x57b2a3=>{const _0x160c4e=_0x6ff188;TestFramework[_0x160c4e(0x176)](_0x2a2875,_0x57b2a3,this[_0x160c4e(0x1ad)]['bind'](this));});});continue;case'2':process[_0x3e2086(0x19a)][testHubConstants['ENV_VAR'][_0x3e2086(0x17d)]]=this[_0x3e2086(0x183)]['getBuildHashedId']();continue;case'3':process['env'][testHubConstants[_0x3e2086(0x18b)][_0x3e2086(0x166)]]=this[_0x3e2086(0x183)][_0x3e2086(0x157)]();continue;case'4':this[_0x3e2086(0x18f)]=new JestUtils();continue;case'5':BrowserstackCLI[_0x3e2086(0x16d)]=this['testhubConfig']['getBuildHashedId']();continue;case'6':this[_0x3e2086(0x183)]=_0x3da5e8;continue;case'7':this[_0x3e2086(0x1b5)]=_0x490852[_0x3e2086(0x19c)];continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3e2086(0x1c0)],HookState['POST'],this[_0x3e2086(0x186)][_0x3e2086(0x15d)](this));continue;}break;}}[a85_0x38065e(0x172)](){const _0x166de7=a85_0x38065e;return TestHubModule[_0x166de7(0x17f)];}[a85_0x38065e(0x1ad)](_0x9bd7f8){const _0x803499=a85_0x38065e,_0x2434d7={};_0x2434d7[_0x803499(0x1b2)]=function(_0x20967d,_0x336b99){return _0x20967d===_0x336b99;};const _0x4ad428=_0x2434d7,_0x4e2d3e=_0x9bd7f8[_0x803499(0x18c)],_0x302878=_0x4e2d3e[_0x803499(0x194)]();(_0x4ad428[_0x803499(0x1b2)](_0x302878,TestFrameworkState[_0x803499(0x15b)])||CLIUtils[_0x803499(0x168)](_0x302878[_0x803499(0x16f)]()[_0x803499(0x170)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x9bd7f8);}async[a85_0x38065e(0x18d)](_0x532e70){const _0xc8a6f2=a85_0x38065e,_0x5ef5b5={};_0x5ef5b5[_0xc8a6f2(0x192)]=function(_0x5a3518,_0x5e4ec0){return _0x5a3518===_0x5e4ec0;},_0x5ef5b5[_0xc8a6f2(0x1a3)]=_0xc8a6f2(0x180);const _0x21e8f7=_0x5ef5b5;try{const _0x533d3a=BrowserstackCLI[_0xc8a6f2(0x1b1)]()[_0xc8a6f2(0x158)]()[_0xc8a6f2(0x17b)](_0x532e70);if(!_0x533d3a||_0x21e8f7[_0xc8a6f2(0x192)](Object[_0xc8a6f2(0x1bf)](_0x533d3a)['length'],0x0)){this[_0xc8a6f2(0x1b8)][_0xc8a6f2(0x1a8)](_0x21e8f7[_0xc8a6f2(0x1a3)]);return;}const _0x22a1dd=await GrpcClient[_0xc8a6f2(0x1b1)]()[_0xc8a6f2(0x189)](_0x533d3a);this[_0xc8a6f2(0x1b8)][_0xc8a6f2(0x1a8)](_0xc8a6f2(0x16a)+_0x533d3a['testFrameworkState']+_0xc8a6f2(0x198)+_0x533d3a[_0xc8a6f2(0x165)]);}catch(_0x3b56f2){this[_0xc8a6f2(0x1b8)][_0xc8a6f2(0x182)](_0xc8a6f2(0x196)+util[_0xc8a6f2(0x162)](_0x3b56f2));}}async[a85_0x38065e(0x186)](_0x471b26){const _0x1f4b1d=a85_0x38065e,_0x4d2496={'lGssO':function(_0x9a4de5,_0x2a05cc){return _0x9a4de5===_0x2a05cc;},'uQBNO':_0x1f4b1d(0x1aa),'DZnSB':function(_0x2a297a,_0x151005){return _0x2a297a===_0x151005;},'qgxRR':function(_0x46b801,_0x2d0b0d){return _0x46b801(_0x2d0b0d);},'sjmyp':function(_0x32b58c){return _0x32b58c();},'pLmfL':'base64'};try{if(_0x471b26[_0x1f4b1d(0x15e)]){const _0x5dfdb5=this[_0x1f4b1d(0x167)](_0x471b26);this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)](_0x1f4b1d(0x1ab)+_0x5dfdb5);if(this['testFrameworkData']&&_0x4d2496[_0x1f4b1d(0x1b4)](this['testFrameworkData'][_0x1f4b1d(0x1b5)],FRAMEWORKS['JEST'])&&!_0x471b26[_0x1f4b1d(0x1ba)]){this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)](_0x4d2496[_0x1f4b1d(0x1a9)]);return;}let _0x44c003,_0x402b1d;if(this[_0x1f4b1d(0x1af)]&&_0x4d2496[_0x1f4b1d(0x1b4)](this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1b5)],FRAMEWORKS[_0x1f4b1d(0x191)]))_0x44c003=_0x5dfdb5,_0x402b1d=TestInfo[_0x1f4b1d(0x17e)](_0x44c003);else this[_0x1f4b1d(0x1af)]&&_0x4d2496[_0x1f4b1d(0x154)](this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1b5)],FRAMEWORKS[_0x1f4b1d(0x161)])?(_0x44c003=this['jestUtils']['recreateIdentifierFromTestInfo'](_0x471b26[_0x1f4b1d(0x1ba)]),this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)]('onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x44c003)):(_0x44c003=TestInfo[_0x1f4b1d(0x1a5)](_0x471b26['testInfo'],_0x471b26[_0x1f4b1d(0x1ba)][_0x1f4b1d(0x1bc)]),_0x402b1d=TestInfo['getTestUUID'](_0x44c003));const _0xe1ff97=TestInfo[_0x1f4b1d(0x181)](_0x44c003),_0xd149f1=_0x471b26['instance'],_0x405905=AutomationFramework[_0x1f4b1d(0x1b0)](_0xd149f1,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x18478e=_0xe1ff97?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this['testFrameworkData']&&this[_0x1f4b1d(0x1af)]['name'],_0x5d0003=_0xe1ff97?.[TestFrameworkConstants[_0x1f4b1d(0x19f)]]||this[_0x1f4b1d(0x1af)]&&this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1ac)],_0x37c069=TestFrameworkState['TEST'][_0x1f4b1d(0x16f)]()[_0x1f4b1d(0x170)]('.')[0x1],_0x3d065a=HookState[_0x1f4b1d(0x188)][_0x1f4b1d(0x16f)]()[_0x1f4b1d(0x170)]('.')[0x1],_0x1fe101=_0xd149f1[_0x1f4b1d(0x163)](),_0x49cc6f=AutomationFramework[_0x1f4b1d(0x1b0)](_0xd149f1,PlaywrightDriverModule[_0x1f4b1d(0x178)],''),_0x20ab51={'provider':_0x4d2496['qgxRR'](getPlaywrightProvider,_0x49cc6f),'frameworkName':_0xd149f1['frameworkName'],'frameworkVersion':_0xd149f1[_0x1f4b1d(0x193)],'frameworkSessionId':LoadTestModule[_0x1f4b1d(0x16e)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x1f4b1d(0x1b0)](_0xd149f1,PlaywrightDriverModule[_0x1f4b1d(0x1b9)],''),'ref':_0xd149f1[_0x1f4b1d(0x1ae)](),'hubUrl':_0x49cc6f,'product':_0x4d2496[_0x1f4b1d(0x19d)](getProductForSession)};let _0x5e778f=AutomationFramework['getState'](_0xd149f1,PlaywrightDriverModule[_0x1f4b1d(0x173)],{});_0x5e778f=Buffer[_0x1f4b1d(0x1a0)](JSON['stringify'](_0x5e778f))[_0x1f4b1d(0x16f)](_0x4d2496[_0x1f4b1d(0x1b3)]);const _0x1037c6={'hash':_0x1fe101[_0x1f4b1d(0x1be)](),'threadId':_0x1fe101['getThreadId']()[_0x1f4b1d(0x16f)](),'processId':_0x1fe101[_0x1f4b1d(0x1a1)]()['toString']()},_0x2d49c7={};_0x2d49c7[_0x1f4b1d(0x190)]=_0x44c003;const _0x485b98={};_0x485b98[_0x1f4b1d(0x1c1)]=_0x402b1d;const _0x291d03={'platformIndex':_0x405905,'testFrameworkName':_0x18478e,'testFrameworkVersion':_0x5d0003,'testFrameworkState':_0x37c069,'testHookState':_0x3d065a,...this['testFrameworkData']&&_0x4d2496['lGssO'](this[_0x1f4b1d(0x1af)]['name'],FRAMEWORKS['JEST'])?_0x2d49c7:_0x485b98,'automationSession':_0x20ab51,'capabilities':_0x5e778f,'executionContext':_0x1037c6};this[_0x1f4b1d(0x1b8)]['debug'](_0x1f4b1d(0x156)+util[_0x1f4b1d(0x162)](_0x291d03));const _0x2bb31c=await GrpcClient[_0x1f4b1d(0x1b1)]()[_0x1f4b1d(0x1a6)](_0x291d03);this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)](_0x1f4b1d(0x17a)+_0x5dfdb5+(this['testFrameworkData']&&_0x4d2496[_0x1f4b1d(0x1b4)](this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1b5)],FRAMEWORKS[_0x1f4b1d(0x161)])?_0x1f4b1d(0x177)+_0x44c003:''));}}catch(_0x64159b){this['logger'][_0x1f4b1d(0x182)](_0x1f4b1d(0x19b)+util['format'](_0x64159b));}}}TestHubModule[a85_0x38065e(0x17f)]=a85_0x38065e(0x1a7),TestHubModule['KEY_TEST_DEFERRED']='test_deferred',module[a85_0x38065e(0x1bb)]=TestHubModule;
@@ -1 +1 @@
1
- const a86_0x3aaefc=a86_0x6eea;(function(_0x599cef,_0x5ce308){const _0x31c0e9=a86_0x6eea,_0x1a7fd1=_0x599cef();while(!![]){try{const _0xc71345=-parseInt(_0x31c0e9(0x174))/0x1+parseInt(_0x31c0e9(0x172))/0x2*(-parseInt(_0x31c0e9(0x173))/0x3)+-parseInt(_0x31c0e9(0x181))/0x4+-parseInt(_0x31c0e9(0x183))/0x5+parseInt(_0x31c0e9(0x185))/0x6+-parseInt(_0x31c0e9(0x179))/0x7*(parseInt(_0x31c0e9(0x187))/0x8)+-parseInt(_0x31c0e9(0x184))/0x9*(-parseInt(_0x31c0e9(0x175))/0xa);if(_0xc71345===_0x5ce308)break;else _0x1a7fd1['push'](_0x1a7fd1['shift']());}catch(_0x47bd05){_0x1a7fd1['push'](_0x1a7fd1['shift']());}}}(a86_0x37f3,0xcac4a));const {PLAYWRIGHT}=require(a86_0x3aaefc(0x189)),a86_0x2c5059={};a86_0x2c5059[a86_0x3aaefc(0x17b)]=0x0,a86_0x2c5059[a86_0x3aaefc(0x178)]=function(){const _0x3ee2b1=a86_0x3aaefc,_0x661fd4={};_0x661fd4[_0x3ee2b1(0x170)]=_0x3ee2b1(0x186);const _0x18cc94=_0x661fd4;return _0x18cc94[_0x3ee2b1(0x170)];};const a86_0x1b6980={};a86_0x1b6980['value']=0x1,a86_0x1b6980[a86_0x3aaefc(0x178)]=function(){const _0x226924=a86_0x3aaefc,_0x159424={};_0x159424[_0x226924(0x17f)]=_0x226924(0x17a);const _0x4bbd3b=_0x159424;return _0x4bbd3b[_0x226924(0x17f)];};const a86_0x281ab3={};a86_0x281ab3[a86_0x3aaefc(0x17b)]=0x2,a86_0x281ab3[a86_0x3aaefc(0x178)]=function(){const _0x50d3ae=a86_0x3aaefc,_0x5dba7f={};_0x5dba7f[_0x50d3ae(0x182)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x53d5d8=_0x5dba7f;return _0x53d5d8[_0x50d3ae(0x182)];};const a86_0x5f0531={};a86_0x5f0531[a86_0x3aaefc(0x17b)]=0x3,a86_0x5f0531[a86_0x3aaefc(0x178)]=function(){const _0x14dd69=a86_0x3aaefc,_0x35f7ca={};_0x35f7ca[_0x14dd69(0x188)]=_0x14dd69(0x171);const _0x42a5ef=_0x35f7ca;return _0x42a5ef['VSXfd'];};const a86_0x1b44e8={};a86_0x1b44e8[a86_0x3aaefc(0x17b)]=0x4,a86_0x1b44e8[a86_0x3aaefc(0x178)]=function(){const _0x34f92a=a86_0x3aaefc,_0x5ed49b={};_0x5ed49b[_0x34f92a(0x176)]='AutomationFrameworkState.IDLE';const _0x5fe66e=_0x5ed49b;return _0x5fe66e[_0x34f92a(0x176)];};const a86_0x3d4a00={};a86_0x3d4a00[a86_0x3aaefc(0x17b)]=0x5,a86_0x3d4a00['toString']=function(){const _0x3c41cc=a86_0x3aaefc,_0x2cd634={};_0x2cd634[_0x3c41cc(0x17d)]=_0x3c41cc(0x17e);const _0x199de1=_0x2cd634;return _0x199de1[_0x3c41cc(0x17d)];};const AutomationFrameworkState=Object['freeze']({'NONE':a86_0x2c5059,'CREATE':a86_0x1b6980,'PLAYWRIGHT_DISPATCH':a86_0x281ab3,'EXECUTE':a86_0x5f0531,'IDLE':a86_0x1b44e8,'QUIT':a86_0x3d4a00,'fromValue'(_0x32bdd3){const _0x4f287b=a86_0x3aaefc;return Object[_0x4f287b(0x177)](AutomationFrameworkState)[_0x4f287b(0x17c)](_0x3565ac=>_0x3565ac[_0x4f287b(0x17b)]===_0x32bdd3);}});function a86_0x6eea(_0x5a481b,_0xda4e40){const _0x37f35e=a86_0x37f3();return a86_0x6eea=function(_0x6eea95,_0x241d21){_0x6eea95=_0x6eea95-0x170;let _0x4dd62c=_0x37f35e[_0x6eea95];return _0x4dd62c;},a86_0x6eea(_0x5a481b,_0xda4e40);}function a86_0x37f3(){const _0x3abaf9=['toString','7YpxosJ','AutomationFrameworkState.CREATE','value','find','Gkdky','AutomationFrameworkState.QUIT','APrZq','exports','225516rYCmIk','Zhbbv','2852765bWIGwa','32832ZOukYW','3478206NSYcyO','AutomationFrameworkState.NONE','12880848jirdkg','VSXfd','../../utils/constants','QkAxb','AutomationFrameworkState.EXECUTE','18398boNaye','450GkBHHF','670387VGactz','12440UqRFVS','avQei','values'];a86_0x37f3=function(){return _0x3abaf9;};return a86_0x37f3();}module[a86_0x3aaefc(0x180)]=AutomationFrameworkState;
1
+ const a86_0x1d76b0=a86_0x7a61;function a86_0x4ad2(){const _0x4abbcb=['AutomationFrameworkState.CREATE','toString','106bALyLH','AutomationFrameworkState.IDLE','7907DFhWiA','fKxyt','aIIXy','freeze','4462255XBdeFV','6foiatD','AutomationFrameworkState.NONE','ieoBr','11PkxeIr','exports','10982808eWNtDz','find','499764rvqHMD','13621210fbLnda','SyKjI','8tmLWFg','../../utils/constants','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','8WIcXyk','values','hevlr','value','1123275FHDDmu','eMtOz','934077oeVMpn'];a86_0x4ad2=function(){return _0x4abbcb;};return a86_0x4ad2();}(function(_0x49f749,_0x40d5dd){const _0x5475f9=a86_0x7a61,_0x58de63=_0x49f749();while(!![]){try{const _0xae2374=-parseInt(_0x5475f9(0x193))/0x1*(parseInt(_0x5475f9(0x191))/0x2)+parseInt(_0x5475f9(0x18e))/0x3*(parseInt(_0x5475f9(0x185))/0x4)+parseInt(_0x5475f9(0x18c))/0x5+parseInt(_0x5475f9(0x198))/0x6*(parseInt(_0x5475f9(0x197))/0x7)+-parseInt(_0x5475f9(0x188))/0x8*(-parseInt(_0x5475f9(0x180))/0x9)+-parseInt(_0x5475f9(0x183))/0xa*(parseInt(_0x5475f9(0x17e))/0xb)+-parseInt(_0x5475f9(0x182))/0xc;if(_0xae2374===_0x40d5dd)break;else _0x58de63['push'](_0x58de63['shift']());}catch(_0x4d334e){_0x58de63['push'](_0x58de63['shift']());}}}(a86_0x4ad2,0xd7687));const {PLAYWRIGHT}=require(a86_0x1d76b0(0x186)),a86_0x58f624={};a86_0x58f624[a86_0x1d76b0(0x18b)]=0x0,a86_0x58f624[a86_0x1d76b0(0x190)]=function(){const _0x1b25ac=a86_0x1d76b0,_0x4e3537={};_0x4e3537[_0x1b25ac(0x194)]=_0x1b25ac(0x17c);const _0x42192e=_0x4e3537;return _0x42192e[_0x1b25ac(0x194)];};const a86_0x20f229={};a86_0x20f229[a86_0x1d76b0(0x18b)]=0x1,a86_0x20f229[a86_0x1d76b0(0x190)]=function(){const _0x5e90cf=a86_0x1d76b0,_0x40507b={};_0x40507b['eMtOz']=_0x5e90cf(0x18f);const _0x441b20=_0x40507b;return _0x441b20[_0x5e90cf(0x18d)];};const a86_0x11c6b1={};a86_0x11c6b1['value']=0x2,a86_0x11c6b1[a86_0x1d76b0(0x190)]=function(){const _0x3bccbe=a86_0x1d76b0,_0x59e14d={};_0x59e14d[_0x3bccbe(0x18a)]=_0x3bccbe(0x187);const _0x529dfe=_0x59e14d;return _0x529dfe['hevlr'];};const a86_0x571ded={};a86_0x571ded['value']=0x3,a86_0x571ded[a86_0x1d76b0(0x190)]=function(){const _0x136056=a86_0x1d76b0,_0x39e302={};_0x39e302[_0x136056(0x184)]='AutomationFrameworkState.EXECUTE';const _0x289411=_0x39e302;return _0x289411[_0x136056(0x184)];};function a86_0x7a61(_0x555a04,_0x3f67fd){const _0x4ad273=a86_0x4ad2();return a86_0x7a61=function(_0x7a6194,_0x58a37d){_0x7a6194=_0x7a6194-0x17c;let _0x572ae6=_0x4ad273[_0x7a6194];return _0x572ae6;},a86_0x7a61(_0x555a04,_0x3f67fd);}const a86_0x247b2f={};a86_0x247b2f[a86_0x1d76b0(0x18b)]=0x4,a86_0x247b2f[a86_0x1d76b0(0x190)]=function(){const _0x5b5b93=a86_0x1d76b0,_0x5f14fa={};_0x5f14fa[_0x5b5b93(0x17d)]=_0x5b5b93(0x192);const _0x4dec11=_0x5f14fa;return _0x4dec11[_0x5b5b93(0x17d)];};const a86_0x125102={};a86_0x125102['value']=0x5,a86_0x125102['toString']=function(){const _0x1c1e5d=a86_0x1d76b0,_0xa4c855={};_0xa4c855[_0x1c1e5d(0x195)]='AutomationFrameworkState.QUIT';const _0x2eb241=_0xa4c855;return _0x2eb241['aIIXy'];};const AutomationFrameworkState=Object[a86_0x1d76b0(0x196)]({'NONE':a86_0x58f624,'CREATE':a86_0x20f229,'PLAYWRIGHT_DISPATCH':a86_0x11c6b1,'EXECUTE':a86_0x571ded,'IDLE':a86_0x247b2f,'QUIT':a86_0x125102,'fromValue'(_0x35dd55){const _0x79cfe6=a86_0x1d76b0;return Object[_0x79cfe6(0x189)](AutomationFrameworkState)[_0x79cfe6(0x181)](_0x1cfc30=>_0x1cfc30[_0x79cfe6(0x18b)]===_0x35dd55);}});module[a86_0x1d76b0(0x17f)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- function a87_0x10c1(){const _0x14f6b5=['1508684xoUdCT','fdJat','33345tcIosk','values','tFzxO','5821515iQolrG','toString','6678914ImbHiC','HookState.NONE','4035101zoDMhC','exports','value','102001gdgDAY','HookState.POST','HlybS','2453592qZoSMo','freeze','10cAFEsj','6RAGnZm','4qefmlG','3dxSUww','find'];a87_0x10c1=function(){return _0x14f6b5;};return a87_0x10c1();}const a87_0x584b43=a87_0x3ca1;(function(_0x50907e,_0x5b3b31){const _0xe6cc55=a87_0x3ca1,_0x53b179=_0x50907e();while(!![]){try{const _0x5cbd06=parseInt(_0xe6cc55(0x1c4))/0x1*(parseInt(_0xe6cc55(0x1cb))/0x2)+-parseInt(_0xe6cc55(0x1cc))/0x3*(parseInt(_0xe6cc55(0x1b8))/0x4)+-parseInt(_0xe6cc55(0x1ba))/0x5*(parseInt(_0xe6cc55(0x1ca))/0x6)+parseInt(_0xe6cc55(0x1c1))/0x7+parseInt(_0xe6cc55(0x1c7))/0x8+-parseInt(_0xe6cc55(0x1bd))/0x9+parseInt(_0xe6cc55(0x1c9))/0xa*(parseInt(_0xe6cc55(0x1bf))/0xb);if(_0x5cbd06===_0x5b3b31)break;else _0x53b179['push'](_0x53b179['shift']());}catch(_0x1de9cf){_0x53b179['push'](_0x53b179['shift']());}}}(a87_0x10c1,0xa205b));const a87_0x448ffc={};function a87_0x3ca1(_0x272b63,_0x24123f){const _0x10c1e8=a87_0x10c1();return a87_0x3ca1=function(_0x3ca15d,_0x2faf66){_0x3ca15d=_0x3ca15d-0x1b7;let _0xaca22f=_0x10c1e8[_0x3ca15d];return _0xaca22f;},a87_0x3ca1(_0x272b63,_0x24123f);}a87_0x448ffc['value']=0x0,a87_0x448ffc[a87_0x584b43(0x1be)]=function(){const _0x97cb19=a87_0x584b43,_0x410bcc={};_0x410bcc[_0x97cb19(0x1c6)]=_0x97cb19(0x1c0);const _0x62727b=_0x410bcc;return _0x62727b[_0x97cb19(0x1c6)];};const a87_0x51a8a7={};a87_0x51a8a7[a87_0x584b43(0x1c3)]=0x1,a87_0x51a8a7[a87_0x584b43(0x1be)]=function(){const _0x481b0e=a87_0x584b43,_0x125e44={};_0x125e44[_0x481b0e(0x1bc)]='HookState.PRE';const _0x583ca0=_0x125e44;return _0x583ca0[_0x481b0e(0x1bc)];};const a87_0x55c245={};a87_0x55c245[a87_0x584b43(0x1c3)]=0x2,a87_0x55c245[a87_0x584b43(0x1be)]=function(){const _0x4bc0fe=a87_0x584b43,_0x43795b={};_0x43795b[_0x4bc0fe(0x1b9)]=_0x4bc0fe(0x1c5);const _0x4e9646=_0x43795b;return _0x4e9646[_0x4bc0fe(0x1b9)];};const HookState=Object[a87_0x584b43(0x1c8)]({'NONE':a87_0x448ffc,'PRE':a87_0x51a8a7,'POST':a87_0x55c245,'fromValue'(_0x243f66){const _0x1cf2ab=a87_0x584b43;return Object[_0x1cf2ab(0x1bb)](HookState)[_0x1cf2ab(0x1b7)](_0x1aac48=>_0x1aac48[_0x1cf2ab(0x1c3)]===_0x243f66);}});module[a87_0x584b43(0x1c2)]=HookState;
1
+ function a87_0x20a5(_0x6d0376,_0x13e6bd){const _0x34641e=a87_0x3464();return a87_0x20a5=function(_0x20a5d6,_0x103ff8){_0x20a5d6=_0x20a5d6-0x16a;let _0x4f7a8a=_0x34641e[_0x20a5d6];return _0x4f7a8a;},a87_0x20a5(_0x6d0376,_0x13e6bd);}const a87_0x410eba=a87_0x20a5;(function(_0x1c6a1e,_0x3d13d8){const _0x5ebc4e=a87_0x20a5,_0x5dc8a7=_0x1c6a1e();while(!![]){try{const _0x36d8c4=-parseInt(_0x5ebc4e(0x179))/0x1*(parseInt(_0x5ebc4e(0x16f))/0x2)+parseInt(_0x5ebc4e(0x16b))/0x3*(-parseInt(_0x5ebc4e(0x173))/0x4)+-parseInt(_0x5ebc4e(0x177))/0x5+parseInt(_0x5ebc4e(0x176))/0x6*(parseInt(_0x5ebc4e(0x16d))/0x7)+parseInt(_0x5ebc4e(0x16a))/0x8+-parseInt(_0x5ebc4e(0x175))/0x9+parseInt(_0x5ebc4e(0x17b))/0xa;if(_0x36d8c4===_0x3d13d8)break;else _0x5dc8a7['push'](_0x5dc8a7['shift']());}catch(_0x19e0c2){_0x5dc8a7['push'](_0x5dc8a7['shift']());}}}(a87_0x3464,0xad094));const a87_0xd95cf0={};a87_0xd95cf0[a87_0x410eba(0x16c)]=0x0,a87_0xd95cf0[a87_0x410eba(0x17e)]=function(){const _0x481833=a87_0x410eba,_0x34bcda={};_0x34bcda['xwceG']=_0x481833(0x170);const _0xe0afcd=_0x34bcda;return _0xe0afcd[_0x481833(0x17d)];};const a87_0x1b62d8={};a87_0x1b62d8[a87_0x410eba(0x16c)]=0x1,a87_0x1b62d8[a87_0x410eba(0x17e)]=function(){const _0x2c9878=a87_0x410eba,_0x3fd09c={};_0x3fd09c['nAdEh']=_0x2c9878(0x16e);const _0x160c69=_0x3fd09c;return _0x160c69[_0x2c9878(0x174)];};const a87_0x45dd01={};a87_0x45dd01[a87_0x410eba(0x16c)]=0x2,a87_0x45dd01[a87_0x410eba(0x17e)]=function(){const _0x1c3f94=a87_0x410eba,_0x398b03={};_0x398b03[_0x1c3f94(0x17c)]='HookState.POST';const _0x383a1f=_0x398b03;return _0x383a1f[_0x1c3f94(0x17c)];};function a87_0x3464(){const _0x268bdb=['value','3775233KWsWfk','HookState.PRE','4GetQfz','HookState.NONE','values','exports','8aUoazs','nAdEh','6960879HLKtKp','6DmBEdV','3171845eYeLrj','freeze','132103LPAxXL','find','10929470jiLyEL','ThnZI','xwceG','toString','9087312fUTYCO','581127ZtNERa'];a87_0x3464=function(){return _0x268bdb;};return a87_0x3464();}const HookState=Object[a87_0x410eba(0x178)]({'NONE':a87_0xd95cf0,'PRE':a87_0x1b62d8,'POST':a87_0x45dd01,'fromValue'(_0x3e1b45){const _0x37d5eb=a87_0x410eba;return Object[_0x37d5eb(0x171)](HookState)[_0x37d5eb(0x17a)](_0x3a36ea=>_0x3a36ea[_0x37d5eb(0x16c)]===_0x3e1b45);}});module[a87_0x410eba(0x172)]=HookState;
@@ -1 +1 @@
1
- const a88_0x251fe8=a88_0x3152;(function(_0x35c56d,_0x20478e){const _0x288484=a88_0x3152,_0x3f9b10=_0x35c56d();while(!![]){try{const _0x7855c3=parseInt(_0x288484(0x1dc))/0x1+-parseInt(_0x288484(0x1d3))/0x2*(parseInt(_0x288484(0x1e1))/0x3)+-parseInt(_0x288484(0x1d6))/0x4*(parseInt(_0x288484(0x1e2))/0x5)+-parseInt(_0x288484(0x1dd))/0x6*(parseInt(_0x288484(0x1d4))/0x7)+parseInt(_0x288484(0x1df))/0x8+parseInt(_0x288484(0x1c9))/0x9*(parseInt(_0x288484(0x1d7))/0xa)+parseInt(_0x288484(0x1d5))/0xb*(parseInt(_0x288484(0x1da))/0xc);if(_0x7855c3===_0x20478e)break;else _0x3f9b10['push'](_0x3f9b10['shift']());}catch(_0x4bcf98){_0x3f9b10['push'](_0x3f9b10['shift']());}}}(a88_0x513d,0x1a048));const a88_0x3dbe10={};a88_0x3dbe10[a88_0x251fe8(0x1d8)]=0x0,a88_0x3dbe10[a88_0x251fe8(0x1e7)]=function(){const _0x3c698d=a88_0x251fe8,_0x10d40b={};_0x10d40b[_0x3c698d(0x1c8)]=_0x3c698d(0x1e6);const _0x513775=_0x10d40b;return _0x513775[_0x3c698d(0x1c8)];};const a88_0x5cb1ce={};a88_0x5cb1ce['value']=0x1,a88_0x5cb1ce[a88_0x251fe8(0x1e7)]=function(){const _0x23e512=a88_0x251fe8,_0xb52201={};_0xb52201[_0x23e512(0x1ce)]=_0x23e512(0x1ca);const _0x663214=_0xb52201;return _0x663214[_0x23e512(0x1ce)];};const a88_0x168344={};a88_0x168344['value']=0x2,a88_0x168344['toString']=function(){const _0x53e353=a88_0x251fe8,_0x15e4d6={};_0x15e4d6[_0x53e353(0x1cc)]=_0x53e353(0x1e4);const _0xd85f70=_0x15e4d6;return _0xd85f70[_0x53e353(0x1cc)];};const a88_0x40550c={};a88_0x40550c['value']=0x3,a88_0x40550c[a88_0x251fe8(0x1e7)]=function(){const _0x18cb5a=a88_0x251fe8,_0x26bb87={};_0x26bb87[_0x18cb5a(0x1e3)]=_0x18cb5a(0x1d0);const _0x354608=_0x26bb87;return _0x354608['ywZow'];};const a88_0x51a3b8={};a88_0x51a3b8[a88_0x251fe8(0x1d8)]=0x4,a88_0x51a3b8[a88_0x251fe8(0x1e7)]=function(){const _0x197c1a={};_0x197c1a['dRBvd']='TestFrameworkState.INIT_TEST';const _0x5adec6=_0x197c1a;return _0x5adec6['dRBvd'];};const a88_0x1a3167={};a88_0x1a3167['value']=0x5,a88_0x1a3167['toString']=function(){const _0x1e7f59=a88_0x251fe8,_0x2bdcab={};_0x2bdcab[_0x1e7f59(0x1e5)]=_0x1e7f59(0x1db);const _0x1d692a=_0x2bdcab;return _0x1d692a[_0x1e7f59(0x1e5)];};const a88_0x9697d={};a88_0x9697d[a88_0x251fe8(0x1d8)]=0x6,a88_0x9697d[a88_0x251fe8(0x1e7)]=function(){const _0x29699b=a88_0x251fe8,_0x4bf4b5={};_0x4bf4b5['ZGEqP']=_0x29699b(0x1d1);const _0x491e7a=_0x4bf4b5;return _0x491e7a['ZGEqP'];};const a88_0x47247b={};a88_0x47247b[a88_0x251fe8(0x1d8)]=0x7,a88_0x47247b[a88_0x251fe8(0x1e7)]=function(){const _0x2384c8=a88_0x251fe8,_0xad8467={};_0xad8467[_0x2384c8(0x1e0)]='TestFrameworkState.TEST';const _0x4b7163=_0xad8467;return _0x4b7163[_0x2384c8(0x1e0)];};const a88_0x92caf5={};a88_0x92caf5[a88_0x251fe8(0x1d8)]=0x8,a88_0x92caf5['toString']=function(){const _0x20f853=a88_0x251fe8,_0x570de4={};_0x570de4['aQlpW']=_0x20f853(0x1e8);const _0x46f9e0=_0x570de4;return _0x46f9e0[_0x20f853(0x1d2)];};const a88_0x2f3f5f={};a88_0x2f3f5f[a88_0x251fe8(0x1d8)]=0x9,a88_0x2f3f5f[a88_0x251fe8(0x1e7)]=function(){const _0x51db3a=a88_0x251fe8,_0x10906b={};_0x10906b[_0x51db3a(0x1cf)]='TestFrameworkState.LOG_REPORT';const _0x10af67=_0x10906b;return _0x10af67['Zmkbp'];};const a88_0x405552={};a88_0x405552['value']=0xa,a88_0x405552['toString']=function(){const _0x53ab91=a88_0x251fe8,_0x4121d8={};_0x4121d8[_0x53ab91(0x1cd)]='TestFrameworkState.AFTER_ALL';const _0xf109fe=_0x4121d8;return _0xf109fe['LjcJf'];};const a88_0x2b8024={};function a88_0x3152(_0x2f41aa,_0xf7c7d){const _0x513d3a=a88_0x513d();return a88_0x3152=function(_0x3152da,_0x5d5731){_0x3152da=_0x3152da-0x1c8;let _0x349f5b=_0x513d3a[_0x3152da];return _0x349f5b;},a88_0x3152(_0x2f41aa,_0xf7c7d);}function a88_0x513d(){const _0x163604=['TestFrameworkState.LOG','LnHxs','TestFrameworkState.NONE','toString','TestFrameworkState.STEP','dqohd','184491QiehlQ','TestFrameworkState.BEFORE_ALL','TestFrameworkState.TEST_SCREENSHOT','ngwmu','LjcJf','gopOw','Zmkbp','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.AFTER_EACH','aQlpW','60842xoTjkZ','196693upyGPW','3895265bSBvYx','676RIpTOl','70wCSEBG','value','TFqvA','12RDSLvi','TestFrameworkState.BEFORE_EACH','52944RKNPCR','6kCMVuc','freeze','5656YJbYuW','SDRFx','21JybdJN','6025OhgZQm','ywZow'];a88_0x513d=function(){return _0x163604;};return a88_0x513d();}a88_0x2b8024[a88_0x251fe8(0x1d8)]=0xb,a88_0x2b8024[a88_0x251fe8(0x1e7)]=function(){const _0x42fd8b=a88_0x251fe8,_0x173512={};_0x173512[_0x42fd8b(0x1d9)]=_0x42fd8b(0x1cb);const _0x4d2933=_0x173512;return _0x4d2933[_0x42fd8b(0x1d9)];};const TestFrameworkState=Object[a88_0x251fe8(0x1de)]({'NONE':a88_0x3dbe10,'BEFORE_ALL':a88_0x5cb1ce,'LOG':a88_0x168344,'SETUP_FIXTURE':a88_0x40550c,'INIT_TEST':a88_0x51a3b8,'BEFORE_EACH':a88_0x1a3167,'AFTER_EACH':a88_0x9697d,'TEST':a88_0x47247b,'STEP':a88_0x92caf5,'LOG_REPORT':a88_0x2f3f5f,'AFTER_ALL':a88_0x405552,'TEST_SCREENSHOT':a88_0x2b8024,'fromValue'(_0x165f1c){const _0x3e1753=a88_0x251fe8;return Object['values'](TestFrameworkState)['find'](_0x66d78e=>_0x66d78e[_0x3e1753(0x1d8)]===_0x165f1c);}});module['exports']=TestFrameworkState;
1
+ const a88_0x448d54=a88_0x26e7;(function(_0x42a544,_0x50b477){const _0x22ce49=a88_0x26e7,_0x2f0c50=_0x42a544();while(!![]){try{const _0x139b7b=-parseInt(_0x22ce49(0x1a4))/0x1+parseInt(_0x22ce49(0x18f))/0x2+-parseInt(_0x22ce49(0x192))/0x3+-parseInt(_0x22ce49(0x199))/0x4*(-parseInt(_0x22ce49(0x190))/0x5)+parseInt(_0x22ce49(0x19b))/0x6*(-parseInt(_0x22ce49(0x18e))/0x7)+parseInt(_0x22ce49(0x195))/0x8*(parseInt(_0x22ce49(0x194))/0x9)+parseInt(_0x22ce49(0x196))/0xa;if(_0x139b7b===_0x50b477)break;else _0x2f0c50['push'](_0x2f0c50['shift']());}catch(_0x3175ae){_0x2f0c50['push'](_0x2f0c50['shift']());}}}(a88_0x5584,0x6596a));function a88_0x5584(){const _0x107922=['TestFrameworkState.STEP','4uxsbLc','DbVHs','52758wybqea','LFJGo','TestFrameworkState.LOG_REPORT','hQMzH','NqoUt','TibLn','TestFrameworkState.AFTER_ALL','pFeNQ','toString','29254qlDOde','exports','TestFrameworkState.AFTER_EACH','ODnjI','FatKg','freeze','YZzAO','usYZY','values','315xWyXco','234460lJMIHN','1448060IvpVRN','TestFrameworkState.TEST','796146ZdtJIv','SvybN','4446018qIsurF','8ksJosq','2055830wfTiOB','value'];a88_0x5584=function(){return _0x107922;};return a88_0x5584();}const a88_0x372300={};a88_0x372300[a88_0x448d54(0x197)]=0x0,a88_0x372300[a88_0x448d54(0x1a3)]=function(){const _0x39248c=a88_0x448d54,_0x11c914={};_0x11c914[_0x39248c(0x1a8)]='TestFrameworkState.NONE';const _0x43291f=_0x11c914;return _0x43291f['FatKg'];};function a88_0x26e7(_0x1db42b,_0x266811){const _0x5584a0=a88_0x5584();return a88_0x26e7=function(_0x26e741,_0xb37adb){_0x26e741=_0x26e741-0x18e;let _0x10c510=_0x5584a0[_0x26e741];return _0x10c510;},a88_0x26e7(_0x1db42b,_0x266811);}const a88_0x304df9={};a88_0x304df9[a88_0x448d54(0x197)]=0x1,a88_0x304df9[a88_0x448d54(0x1a3)]=function(){const _0x3e427c=a88_0x448d54,_0x1047e2={};_0x1047e2[_0x3e427c(0x1ab)]='TestFrameworkState.BEFORE_ALL';const _0x290641=_0x1047e2;return _0x290641[_0x3e427c(0x1ab)];};const a88_0x3727ea={};a88_0x3727ea['value']=0x2,a88_0x3727ea[a88_0x448d54(0x1a3)]=function(){const _0x76b615=a88_0x448d54,_0x5c90cd={};_0x5c90cd['YZzAO']='TestFrameworkState.LOG';const _0x271485=_0x5c90cd;return _0x271485[_0x76b615(0x1aa)];};const a88_0x1173f0={};a88_0x1173f0[a88_0x448d54(0x197)]=0x3,a88_0x1173f0[a88_0x448d54(0x1a3)]=function(){const _0x7a0b28=a88_0x448d54,_0x4ee3c8={};_0x4ee3c8['hQMzH']='TestFrameworkState.SETUP_FIXTURE';const _0x315d70=_0x4ee3c8;return _0x315d70[_0x7a0b28(0x19e)];};const a88_0x51ec9c={};a88_0x51ec9c['value']=0x4,a88_0x51ec9c['toString']=function(){const _0x5c5bd2={};_0x5c5bd2['Ejwzg']='TestFrameworkState.INIT_TEST';const _0x463361=_0x5c5bd2;return _0x463361['Ejwzg'];};const a88_0x4a4176={};a88_0x4a4176[a88_0x448d54(0x197)]=0x5,a88_0x4a4176[a88_0x448d54(0x1a3)]=function(){const _0x12771b=a88_0x448d54,_0x23637b={};_0x23637b[_0x12771b(0x19f)]='TestFrameworkState.BEFORE_EACH';const _0x4cf314=_0x23637b;return _0x4cf314[_0x12771b(0x19f)];};const a88_0x25e2ae={};a88_0x25e2ae[a88_0x448d54(0x197)]=0x6,a88_0x25e2ae['toString']=function(){const _0x5a2a27=a88_0x448d54,_0x5357d3={};_0x5357d3['DbVHs']=_0x5a2a27(0x1a6);const _0x51c65b=_0x5357d3;return _0x51c65b[_0x5a2a27(0x19a)];};const a88_0x1e1023={};a88_0x1e1023[a88_0x448d54(0x197)]=0x7,a88_0x1e1023['toString']=function(){const _0xfa3ae0=a88_0x448d54,_0xcdf365={};_0xcdf365[_0xfa3ae0(0x1a2)]=_0xfa3ae0(0x191);const _0x850d54=_0xcdf365;return _0x850d54['pFeNQ'];};const a88_0x168676={};a88_0x168676[a88_0x448d54(0x197)]=0x8,a88_0x168676[a88_0x448d54(0x1a3)]=function(){const _0x5806a0=a88_0x448d54,_0x4d5d1c={};_0x4d5d1c[_0x5806a0(0x1a0)]=_0x5806a0(0x198);const _0x315410=_0x4d5d1c;return _0x315410[_0x5806a0(0x1a0)];};const a88_0x3a1b92={};a88_0x3a1b92[a88_0x448d54(0x197)]=0x9,a88_0x3a1b92['toString']=function(){const _0x26b66f=a88_0x448d54,_0x39954a={};_0x39954a['LFJGo']=_0x26b66f(0x19d);const _0xd97e8b=_0x39954a;return _0xd97e8b[_0x26b66f(0x19c)];};const a88_0x4e956d={};a88_0x4e956d['value']=0xa,a88_0x4e956d['toString']=function(){const _0x26b9ae=a88_0x448d54,_0x258b08={};_0x258b08['ODnjI']=_0x26b9ae(0x1a1);const _0x3cbfa6=_0x258b08;return _0x3cbfa6[_0x26b9ae(0x1a7)];};const a88_0x5562f7={};a88_0x5562f7[a88_0x448d54(0x197)]=0xb,a88_0x5562f7[a88_0x448d54(0x1a3)]=function(){const _0x5a663b=a88_0x448d54,_0x1660a7={};_0x1660a7[_0x5a663b(0x193)]='TestFrameworkState.TEST_SCREENSHOT';const _0x55f79e=_0x1660a7;return _0x55f79e[_0x5a663b(0x193)];};const TestFrameworkState=Object[a88_0x448d54(0x1a9)]({'NONE':a88_0x372300,'BEFORE_ALL':a88_0x304df9,'LOG':a88_0x3727ea,'SETUP_FIXTURE':a88_0x1173f0,'INIT_TEST':a88_0x51ec9c,'BEFORE_EACH':a88_0x4a4176,'AFTER_EACH':a88_0x25e2ae,'TEST':a88_0x1e1023,'STEP':a88_0x168676,'LOG_REPORT':a88_0x3a1b92,'AFTER_ALL':a88_0x4e956d,'TEST_SCREENSHOT':a88_0x5562f7,'fromValue'(_0x163733){const _0x2c2074=a88_0x448d54;return Object[_0x2c2074(0x1ac)](TestFrameworkState)['find'](_0x373611=>_0x373611['value']===_0x163733);}});module[a88_0x448d54(0x1a5)]=TestFrameworkState;
@@ -1 +1 @@
1
- function a89_0x2173(){const _0x2b3970=['File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','OATcF','xBAXe','ZdeoH','statusCode','gWvJv','OdcOK','yInfb','retry','message','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','qfNnE','homedir','force','./state/hookState','toFixed','BuildLevel','TestLevel','jhuQl','../../helpers/classLogger.js','nzzbe','KEY_FILE_SIZE','yRMSK','OXuyx','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','clearAttachments','238726jOIlKJ','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','name','875kZNSmF','uploadAttachmentsManager','trim','WHcvo','DjRql','10RsvosQ','dcbrU','unlinkSync','cdvcS','vbcpY','906632TbAKiy','getAllData','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','jest','copyFileSync','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','WvPhh','urZxJ','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','LFbrU','KEY_FILE_NAME','getState','basename','./browserstackCLI','./cliUtils','2980HjhyqZ','getInstance','testInfo','finish','DrQVC','2254869fOBiGu','./framework/constants/testFrameworkConstants','startsWith','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','__workerDetails','close','.browserstack','statSync','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','29912raNphH','getTrackedInstance','Created\x20.browserstack\x20folder\x20at:\x20%s','898626SCjyby','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','http://','cMqYn','mkdirSync','existsSync','pipe','join','rmSync','KEY_TEST_ID','resolveInstance','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','logger','__jestCurrentTestIdentifier','toLowerCase','testhubConfig','./state/testFrameworkState','currentTest','path','MtCNI','wZCxp','lpTju','WVLyb','File\x20downloaded\x20to:\x20%s','format','nqYfP','KEY_TEST_ATTACHMENTS','KNFMb','70610vyfzvL','uploadAttachments','XtaGD','addMultipleEntries','lAuUv','tKZco','modules','DNfQa','VNRWG','2695eQmcxh','1149geysUA','POST','size',',\x20filepath:\x20','KlxMS','vrtpg','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','Cleared\x20attachment\x20folder','./modules/playwrightDriverModule','rcSmS','http','get','debug','util','trackFile'];a89_0x2173=function(){return _0x2b3970;};return a89_0x2173();}function a89_0x5489(_0x15d451,_0xbeb22c){const _0x21732f=a89_0x2173();return a89_0x5489=function(_0x548965,_0x2c8cd9){_0x548965=_0x548965-0x131;let _0x3eb70f=_0x21732f[_0x548965];return _0x3eb70f;},a89_0x5489(_0x15d451,_0xbeb22c);}const a89_0x4ae7cb=a89_0x5489;(function(_0x3bc723,_0x21b128){const _0x3af411=a89_0x5489,_0x2926e2=_0x3bc723();while(!![]){try{const _0x1a64bf=-parseInt(_0x3af411(0x143))/0x1+-parseInt(_0x3af411(0x150))/0x2+-parseInt(_0x3af411(0x196))/0x3*(parseInt(_0x3af411(0x15f))/0x4)+-parseInt(_0x3af411(0x14b))/0x5*(parseInt(_0x3af411(0x170))/0x6)+-parseInt(_0x3af411(0x146))/0x7*(parseInt(_0x3af411(0x16d))/0x8)+parseInt(_0x3af411(0x164))/0x9+parseInt(_0x3af411(0x18c))/0xa*(parseInt(_0x3af411(0x195))/0xb);if(_0x1a64bf===_0x21b128)break;else _0x2926e2['push'](_0x2926e2['shift']());}catch(_0x3fb7cb){_0x2926e2['push'](_0x2926e2['shift']());}}}(a89_0x2173,0x39aa0));const os=require('os'),fs=require('fs'),path=require(a89_0x4ae7cb(0x182)),util=require(a89_0x4ae7cb(0x1a3)),BrowserstackCLI=require(a89_0x4ae7cb(0x15d)),https=require('https'),http=require(a89_0x4ae7cb(0x1a0)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a89_0x4ae7cb(0x19e)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a89_0x4ae7cb(0x165)),{createClassLogger}=require(a89_0x4ae7cb(0x13c));class uploadAttachmentsManager{static [a89_0x4ae7cb(0x17c)]=createClassLogger(a89_0x4ae7cb(0x147));static[a89_0x4ae7cb(0x18d)](_0x159a20,_0x20abca=![]){const _0x4c9430=a89_0x4ae7cb,_0x39d40={};_0x39d40['VuxfJ']=function(_0x43d598,_0x595495){return _0x43d598/_0x595495;},_0x39d40[_0x4c9430(0x191)]=function(_0x23df66,_0x206974){return _0x23df66*_0x206974;},_0x39d40['gWvJv']=function(_0x541bdf,_0x230c9b){return _0x541bdf>_0x230c9b;},_0x39d40['DjRql']=_0x4c9430(0x144),_0x39d40[_0x4c9430(0x18b)]=_0x4c9430(0x187),_0x39d40[_0x4c9430(0x190)]=function(_0x277903,_0x4caf2e){return _0x277903===_0x4caf2e;},_0x39d40[_0x4c9430(0x1ac)]=_0x4c9430(0x162),_0x39d40[_0x4c9430(0x19a)]=_0x4c9430(0x141),_0x39d40[_0x4c9430(0x1a8)]=_0x4c9430(0x171),_0x39d40[_0x4c9430(0x19f)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x39d40[_0x4c9430(0x189)]=_0x4c9430(0x16a),_0x39d40['MtCNI']=_0x4c9430(0x131),_0x39d40[_0x4c9430(0x13d)]=_0x4c9430(0x16f),_0x39d40['xBAXe']='Created\x20folder:\x20%s',_0x39d40['yRMSK']=_0x4c9430(0x167),_0x39d40['cMqYn']='https://',_0x39d40[_0x4c9430(0x185)]=_0x4c9430(0x172),_0x39d40[_0x4c9430(0x156)]='error',_0x39d40[_0x4c9430(0x14e)]=_0x4c9430(0x19c),_0x39d40['qfNnE']=function(_0xb86730,_0x4346a5){return _0xb86730/_0x4346a5;},_0x39d40[_0x4c9430(0x1a6)]=function(_0x42020c,_0x359056){return _0x42020c>_0x359056;},_0x39d40[_0x4c9430(0x194)]=_0x4c9430(0x1a5);const _0x405e8b=_0x39d40;this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util['format'](_0x405e8b['rcSmS'],_0x159a20));const _0x3d4dd9=os[_0x4c9430(0x135)](),_0x1023b6=path[_0x4c9430(0x177)](_0x3d4dd9,_0x405e8b[_0x4c9430(0x189)]);!fs[_0x4c9430(0x175)](_0x1023b6)&&(this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x183)],_0x1023b6)),fs[_0x4c9430(0x174)](_0x1023b6),this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x13d)],_0x1023b6)));const _0x38fd80=BrowserstackCLI['getInstance']()[_0x4c9430(0x192)]['TestHubModule']?.[_0x4c9430(0x17f)]?.['toObject']()?.['buildHashedId'],_0x5f45c3=path[_0x4c9430(0x177)](_0x1023b6,_0x38fd80);!fs['existsSync'](_0x5f45c3)&&(fs['mkdirSync'](_0x5f45c3),this['logger'][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x1a7)],_0x5f45c3)));if(_0x405e8b[_0x4c9430(0x190)](_0x159a20[_0x4c9430(0x148)](),'')){this[_0x4c9430(0x17c)]['debug'](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x13f)]));return;}if(_0x159a20[_0x4c9430(0x166)](_0x405e8b[_0x4c9430(0x173)])||_0x159a20['startsWith'](_0x405e8b['lpTju'])){const _0x10d192=_0x159a20[_0x4c9430(0x166)](_0x405e8b['cMqYn'])?https:http,_0x37d4d5=path[_0x4c9430(0x15c)](_0x159a20),_0x6aeb1f=path[_0x4c9430(0x177)](_0x5f45c3,_0x37d4d5),_0x3708b2=fs['createWriteStream'](_0x6aeb1f);_0x10d192[_0x4c9430(0x1a1)](_0x159a20,_0x1766d6=>{const _0x4685b1=_0x4c9430;if(_0x405e8b[_0x4685b1(0x190)](_0x1766d6[_0x4685b1(0x1a9)],0xc8))_0x1766d6[_0x4685b1(0x176)](_0x3708b2),_0x3708b2['on'](_0x405e8b[_0x4685b1(0x1ac)],()=>{const _0x3682e6=_0x4685b1;_0x3708b2[_0x3682e6(0x169)]();const _0x642aff=fs[_0x3682e6(0x16b)](_0x6aeb1f),_0x5e6f11=_0x405e8b['VuxfJ'](_0x642aff[_0x3682e6(0x198)],_0x405e8b[_0x3682e6(0x191)](0x400,0x400));if(_0x405e8b[_0x3682e6(0x1aa)](_0x5e6f11,0x64)){this[_0x3682e6(0x17c)][_0x3682e6(0x1a2)](util[_0x3682e6(0x188)](_0x405e8b[_0x3682e6(0x14a)],_0x5e6f11[_0x3682e6(0x138)](0x2))),fs[_0x3682e6(0x14d)](_0x6aeb1f);return;}this[_0x3682e6(0x17c)][_0x3682e6(0x1a2)](util[_0x3682e6(0x188)](_0x405e8b['KNFMb'],_0x6aeb1f)),uploadAttachmentsManager[_0x3682e6(0x1a4)](_0x6aeb1f,_0x20abca);});else{this['logger'][_0x4685b1(0x1a2)](util[_0x4685b1(0x188)](_0x405e8b[_0x4685b1(0x19a)],_0x1766d6[_0x4685b1(0x1a9)])),_0x3708b2['close'](),fs['unlinkSync'](_0x6aeb1f);return;}})['on'](_0x405e8b['WvPhh'],_0x3a4d42=>{const _0x13cedc=_0x4c9430;this[_0x13cedc(0x17c)][_0x13cedc(0x1a2)](util[_0x13cedc(0x188)](_0x405e8b['ZdeoH'],_0x3a4d42[_0x13cedc(0x1ae)])),_0x3708b2[_0x13cedc(0x169)](),fs[_0x13cedc(0x14d)](_0x6aeb1f);return;});}else{if(!fs[_0x4c9430(0x175)](_0x159a20)){this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x14e)],_0x159a20));return;}const _0x1d5d93=fs[_0x4c9430(0x16b)](_0x159a20),_0x671838=_0x405e8b[_0x4c9430(0x134)](_0x1d5d93[_0x4c9430(0x198)],_0x405e8b[_0x4c9430(0x191)](0x400,0x400));if(_0x405e8b[_0x4c9430(0x1a6)](_0x671838,0x64)){this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b['VNRWG'],_0x671838[_0x4c9430(0x138)](0x2)));return;}const _0x14f05a=path[_0x4c9430(0x15c)](_0x159a20),_0x7baae3=path[_0x4c9430(0x177)](_0x5f45c3,_0x14f05a);fs[_0x4c9430(0x154)](_0x159a20,_0x7baae3),uploadAttachmentsManager['trackFile'](_0x7baae3,_0x20abca);}}static[a89_0x4ae7cb(0x1a4)](_0xa30bab,_0x48592e){const _0x3533a5=a89_0x4ae7cb,_0x4aacc2={'wZCxp':function(_0xa3b149,_0x4434dd){return _0xa3b149(_0x4434dd);},'wagfX':_0x3533a5(0x15d),'vrtpg':_0x3533a5(0x15e),'WHcvo':function(_0x45e9e6,_0x24dab7){return _0x45e9e6===_0x24dab7;},'OXuyx':_0x3533a5(0x153),'DNfQa':_0x3533a5(0x158),'OdcOK':_0x3533a5(0x139),'vbcpY':_0x3533a5(0x13a),'jhuQl':_0x3533a5(0x152),'dcbrU':function(_0x2f2d5b,_0xb8e6dd){return _0x2f2d5b(_0xb8e6dd);},'UxOiy':_0x3533a5(0x180),'XtaGD':_0x3533a5(0x137),'eowef':_0x3533a5(0x133),'soSgR':_0x3533a5(0x155),'urZxJ':'Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload'};try{let _0x5e1399;const _0x101b1b=global[_0x3533a5(0x168)]?.[_0x3533a5(0x181)]?.[_0x3533a5(0x161)],_0x5c2391=_0x4aacc2[_0x3533a5(0x184)](require,_0x4aacc2['wagfX']),_0x3480d4=_0x4aacc2['wZCxp'](require,_0x4aacc2[_0x3533a5(0x19b)]),_0x1ebc9c=_0x5c2391['getInstance']()['isRunning']()&&_0x4aacc2[_0x3533a5(0x149)](_0x3480d4['getTestFrameworkDetail']()?.[_0x3533a5(0x145)]?.[_0x3533a5(0x17e)](),_0x4aacc2[_0x3533a5(0x140)]);if(_0x1ebc9c){_0x5e1399=global[_0x3533a5(0x17d)];if(!_0x5e1399){const _0x3d2cc7=AutomationFramework[_0x3533a5(0x16e)]();_0x5e1399=AutomationFramework[_0x3533a5(0x15b)](_0x3d2cc7,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x3533a5(0x17b)+_0x5e1399);}else{if(!_0x101b1b){const _0x3a9785=AutomationFramework[_0x3533a5(0x16e)]();_0x5e1399=AutomationFramework[_0x3533a5(0x15b)](_0x3a9785,PlaywrightDriverModule[_0x3533a5(0x179)],'');}else _0x5e1399=TestInfo['getTestIdentifierFromTestInfo'](_0x101b1b,_0x101b1b[_0x3533a5(0x1ad)]);this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x3533a5(0x16c)+_0x5e1399);}if(!_0x5e1399){this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x4aacc2[_0x3533a5(0x193)]);return;}const _0x2416da={[TestFrameworkConstants[_0x3533a5(0x13e)]]:fs[_0x3533a5(0x16b)](_0xa30bab)[_0x3533a5(0x198)],[TestFrameworkConstants[_0x3533a5(0x15a)]]:path[_0x3533a5(0x15c)](_0xa30bab),[TestFrameworkConstants['KEY_FILE_PATH']]:_0xa30bab,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x48592e?_0x4aacc2[_0x3533a5(0x1ab)]:_0x4aacc2[_0x3533a5(0x14f)]};if(_0x1ebc9c){const _0xb90931=_0x5c2391['getInstance']()['getTestFramework']();if(!_0xb90931){this[_0x3533a5(0x17c)]['debug'](_0x4aacc2[_0x3533a5(0x13b)]);return;}const _0xbd7185=_0x4aacc2[_0x3533a5(0x14c)](require,_0x4aacc2['UxOiy']),_0x3effb9=_0x4aacc2['wZCxp'](require,_0x4aacc2[_0x3533a5(0x18e)]),_0x2a7849=_0xb90931[_0x3533a5(0x17a)](_0xbd7185['TEST'],_0x3effb9[_0x3533a5(0x197)]);if(!_0x2a7849){this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x4aacc2['eowef']);return;}const _0x3ffaa5=_0x2a7849[_0x3533a5(0x151)]()[_0x3533a5(0x1a1)](_0x5e1399)||{},_0x386717=_0x3ffaa5[TestFrameworkConstants[_0x3533a5(0x18a)]]||{},_0x169f24={..._0x386717};_0x169f24[_0xa30bab]=_0x2416da;const _0x235dba=_0x169f24,_0x39bb48={[TestFrameworkConstants[_0x3533a5(0x18a)]]:_0x235dba},_0x124ac1={};_0x124ac1[_0x5e1399]=_0x39bb48,_0x2a7849[_0x3533a5(0x18f)](_0x124ac1),this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x3533a5(0x132)+_0x5e1399+_0x3533a5(0x199)+_0xa30bab);}else{const _0x48b693=TestInfo['getTestDetails'](_0x5e1399),_0x42f6e4=_0x48b693[TestFrameworkConstants[_0x3533a5(0x18a)]]||{};_0x42f6e4[_0xa30bab]=_0x2416da,_0x48b693[TestFrameworkConstants[_0x3533a5(0x18a)]]=_0x42f6e4,TestInfo['setTestDetails'](_0x5e1399,_0x48b693),this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)]('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x5e1399+_0x3533a5(0x199)+_0xa30bab);}this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](util[_0x3533a5(0x188)](_0x4aacc2['soSgR'],_0xa30bab));}catch(_0x517f69){this[_0x3533a5(0x17c)]['debug'](util[_0x3533a5(0x188)](_0x4aacc2[_0x3533a5(0x157)],_0x517f69[_0x3533a5(0x1ae)]));}}static[a89_0x4ae7cb(0x142)](){const _0x3b5225=a89_0x4ae7cb,_0x43322e={};_0x43322e[_0x3b5225(0x163)]=_0x3b5225(0x16a),_0x43322e['LFbrU']='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x43322e[_0x3b5225(0x186)]=_0x3b5225(0x19d);const _0x26f784=_0x43322e,_0x528d5b=os[_0x3b5225(0x135)](),_0x19a87c=path[_0x3b5225(0x177)](_0x528d5b,_0x26f784[_0x3b5225(0x163)]);if(!fs[_0x3b5225(0x175)](_0x19a87c))return;const _0x3a525a=BrowserstackCLI[_0x3b5225(0x160)]()[_0x3b5225(0x192)]['TestHubModule']?.['testhubConfig']?.['toObject']()?.['buildHashedId'],_0x1a2312=_0x3a525a?path[_0x3b5225(0x177)](_0x19a87c,_0x3a525a):null;if(!_0x1a2312||!fs[_0x3b5225(0x175)](_0x1a2312)){this[_0x3b5225(0x17c)][_0x3b5225(0x1a2)](util[_0x3b5225(0x188)](_0x26f784[_0x3b5225(0x159)],_0x3a525a));return;}const _0x1a1c56={};_0x1a1c56['recursive']=!![],_0x1a1c56[_0x3b5225(0x136)]=!![],fs[_0x3b5225(0x178)](_0x1a2312,_0x1a1c56),this[_0x3b5225(0x17c)][_0x3b5225(0x1a2)](util['format'](_0x26f784[_0x3b5225(0x186)]));}}module['exports']=uploadAttachmentsManager;
1
+ const a89_0xdbdb3=a89_0xde36;(function(_0x2bb1c3,_0x28ec65){const _0x56d3f4=a89_0xde36,_0x4cb29d=_0x2bb1c3();while(!![]){try{const _0x43ba56=parseInt(_0x56d3f4(0x15f))/0x1*(parseInt(_0x56d3f4(0x106))/0x2)+parseInt(_0x56d3f4(0x15d))/0x3+-parseInt(_0x56d3f4(0x10f))/0x4+-parseInt(_0x56d3f4(0x14b))/0x5+-parseInt(_0x56d3f4(0x10d))/0x6+parseInt(_0x56d3f4(0x117))/0x7+parseInt(_0x56d3f4(0x17a))/0x8;if(_0x43ba56===_0x28ec65)break;else _0x4cb29d['push'](_0x4cb29d['shift']());}catch(_0x5a3ee3){_0x4cb29d['push'](_0x4cb29d['shift']());}}}(a89_0x32c8,0xd2ac6));const os=require('os'),fs=require('fs'),path=require(a89_0xdbdb3(0xfc)),util=require(a89_0xdbdb3(0x135)),BrowserstackCLI=require('./browserstackCLI'),https=require(a89_0xdbdb3(0x15e)),http=require(a89_0xdbdb3(0x124)),AutomationFramework=require(a89_0xdbdb3(0x175)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a89_0xdbdb3(0x12c)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a89_0xdbdb3(0x14a));function a89_0xde36(_0x3769cd,_0x4da066){const _0x32c8b6=a89_0x32c8();return a89_0xde36=function(_0xde3698,_0x21d50f){_0xde3698=_0xde3698-0xfa;let _0x1e21d2=_0x32c8b6[_0xde3698];return _0x1e21d2;},a89_0xde36(_0x3769cd,_0x4da066);}class uploadAttachmentsManager{static [a89_0xdbdb3(0x114)]=createClassLogger(a89_0xdbdb3(0x125));static[a89_0xdbdb3(0x138)](_0x441f41,_0x1dbae0=![]){const _0x21f929=a89_0xdbdb3,_0x194bfa={};_0x194bfa[_0x21f929(0x115)]=function(_0x3af44d,_0xf71b10){return _0x3af44d/_0xf71b10;},_0x194bfa[_0x21f929(0x173)]=function(_0x3b3d88,_0x10c7c1){return _0x3b3d88*_0x10c7c1;},_0x194bfa[_0x21f929(0x10b)]=function(_0x22638c,_0xf20617){return _0x22638c>_0xf20617;},_0x194bfa[_0x21f929(0x134)]=_0x21f929(0x108),_0x194bfa[_0x21f929(0x13a)]=_0x21f929(0x152),_0x194bfa[_0x21f929(0x16d)]=function(_0x125ab1,_0x10a737){return _0x125ab1===_0x10a737;},_0x194bfa['jaVkg']=_0x21f929(0x128),_0x194bfa[_0x21f929(0x113)]=_0x21f929(0x169),_0x194bfa[_0x21f929(0x16a)]=_0x21f929(0x161),_0x194bfa[_0x21f929(0x119)]=_0x21f929(0x13d),_0x194bfa['DiZAE']=_0x21f929(0x139),_0x194bfa[_0x21f929(0x11a)]=_0x21f929(0x111),_0x194bfa[_0x21f929(0x14e)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x194bfa[_0x21f929(0x15a)]='Created\x20folder:\x20%s',_0x194bfa[_0x21f929(0x17e)]=function(_0x120e2c,_0x295cf4){return _0x120e2c===_0x295cf4;},_0x194bfa[_0x21f929(0x17b)]=_0x21f929(0x109),_0x194bfa[_0x21f929(0x144)]=_0x21f929(0x163),_0x194bfa['bShrD']='http://',_0x194bfa['NUPnF']=_0x21f929(0x12b),_0x194bfa['CnCsr']=_0x21f929(0xfa),_0x194bfa[_0x21f929(0x140)]=function(_0x59789c,_0x4696b6){return _0x59789c*_0x4696b6;},_0x194bfa[_0x21f929(0x131)]=function(_0x5cb359,_0x391917){return _0x5cb359>_0x391917;},_0x194bfa['VvqlH']=_0x21f929(0x122);const _0x84aec7=_0x194bfa;this[_0x21f929(0x114)]['debug'](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x119)],_0x441f41));const _0x4aa855=os['homedir'](),_0x404e91=path[_0x21f929(0x132)](_0x4aa855,_0x84aec7[_0x21f929(0x12f)]);!fs[_0x21f929(0x14d)](_0x404e91)&&(this[_0x21f929(0x114)][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x11a)],_0x404e91)),fs['mkdirSync'](_0x404e91),this[_0x21f929(0x114)][_0x21f929(0x13f)](util['format'](_0x84aec7[_0x21f929(0x14e)],_0x404e91)));const _0xeda5cf=BrowserstackCLI['getInstance']()[_0x21f929(0x171)][_0x21f929(0x176)]?.[_0x21f929(0x170)]?.[_0x21f929(0x116)]()?.['buildHashedId'],_0x1bc57d=path[_0x21f929(0x132)](_0x404e91,_0xeda5cf);!fs[_0x21f929(0x14d)](_0x1bc57d)&&(fs[_0x21f929(0x145)](_0x1bc57d),this[_0x21f929(0x114)][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x15a)],_0x1bc57d)));if(_0x84aec7[_0x21f929(0x17e)](_0x441f41['trim'](),'')){this['logger'][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7['jvnAR']));return;}if(_0x441f41[_0x21f929(0x141)](_0x84aec7[_0x21f929(0x144)])||_0x441f41[_0x21f929(0x141)](_0x84aec7[_0x21f929(0x107)])){const _0x57d9e6=_0x441f41[_0x21f929(0x141)](_0x84aec7[_0x21f929(0x144)])?https:http,_0x4c2a8d=path[_0x21f929(0x14c)](_0x441f41),_0x5cdd07=path[_0x21f929(0x132)](_0x1bc57d,_0x4c2a8d),_0x5099c7=fs[_0x21f929(0x11f)](_0x5cdd07);_0x57d9e6[_0x21f929(0x16c)](_0x441f41,_0x1cf44a=>{const _0x117193=_0x21f929,_0x5939f8={'eCTcv':function(_0x46cf6c,_0x41e1fc){const _0x2e30fb=a89_0xde36;return _0x84aec7[_0x2e30fb(0x115)](_0x46cf6c,_0x41e1fc);},'KOKwI':function(_0x2e7111,_0x3ebb9e){const _0x46ca3a=a89_0xde36;return _0x84aec7[_0x46ca3a(0x173)](_0x2e7111,_0x3ebb9e);},'xiRrA':function(_0x29e23f,_0x40a816){const _0x2ad222=a89_0xde36;return _0x84aec7[_0x2ad222(0x10b)](_0x29e23f,_0x40a816);},'wFzpJ':_0x84aec7[_0x117193(0x134)],'TDXIE':_0x84aec7[_0x117193(0x13a)]};if(_0x84aec7[_0x117193(0x16d)](_0x1cf44a[_0x117193(0x13e)],0xc8))_0x1cf44a[_0x117193(0x147)](_0x5099c7),_0x5099c7['on'](_0x84aec7[_0x117193(0x164)],()=>{const _0x32c634=_0x117193;_0x5099c7[_0x32c634(0x10e)]();const _0x4705ee=fs[_0x32c634(0x11e)](_0x5cdd07),_0x529ec1=_0x5939f8[_0x32c634(0x101)](_0x4705ee[_0x32c634(0x17d)],_0x5939f8[_0x32c634(0x11c)](0x400,0x400));if(_0x5939f8[_0x32c634(0xfd)](_0x529ec1,0x64)){this[_0x32c634(0x114)][_0x32c634(0x13f)](util[_0x32c634(0x156)](_0x5939f8[_0x32c634(0x179)],_0x529ec1[_0x32c634(0x102)](0x2))),fs['unlinkSync'](_0x5cdd07);return;}this['logger'][_0x32c634(0x13f)](util[_0x32c634(0x156)](_0x5939f8[_0x32c634(0xff)],_0x5cdd07)),uploadAttachmentsManager[_0x32c634(0x137)](_0x5cdd07,_0x1dbae0);});else{this[_0x117193(0x114)]['debug'](util['format'](_0x84aec7['oUfBn'],_0x1cf44a['statusCode'])),_0x5099c7[_0x117193(0x10e)](),fs[_0x117193(0x148)](_0x5cdd07);return;}})['on'](_0x84aec7['NUPnF'],_0x5a17a8=>{const _0xf7c4b2=_0x21f929;this['logger'][_0xf7c4b2(0x13f)](util[_0xf7c4b2(0x156)](_0x84aec7[_0xf7c4b2(0x16a)],_0x5a17a8['message'])),_0x5099c7[_0xf7c4b2(0x10e)](),fs[_0xf7c4b2(0x148)](_0x5cdd07);return;});}else{if(!fs[_0x21f929(0x14d)](_0x441f41)){this['logger']['debug'](util['format'](_0x84aec7[_0x21f929(0x130)],_0x441f41));return;}const _0x4c2d5a=fs[_0x21f929(0x11e)](_0x441f41),_0x17f443=_0x84aec7[_0x21f929(0x115)](_0x4c2d5a[_0x21f929(0x17d)],_0x84aec7['tWqat'](0x400,0x400));if(_0x84aec7[_0x21f929(0x131)](_0x17f443,0x64)){this['logger'][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x168)],_0x17f443[_0x21f929(0x102)](0x2)));return;}const _0x1648df=path[_0x21f929(0x14c)](_0x441f41),_0x5745a8=path['join'](_0x1bc57d,_0x1648df);fs[_0x21f929(0x158)](_0x441f41,_0x5745a8),uploadAttachmentsManager[_0x21f929(0x137)](_0x5745a8,_0x1dbae0);}}static[a89_0xdbdb3(0x137)](_0x238d64,_0x4ffa7d){const _0x314691=a89_0xdbdb3,_0x23e0e4={'YlsZZ':function(_0x56443d,_0x5f5c9e){return _0x56443d(_0x5f5c9e);},'ievNJ':_0x314691(0x167),'pruUD':_0x314691(0x112),'paOoB':function(_0x24f795,_0xd0e5b4){return _0x24f795===_0xd0e5b4;},'bnqrn':_0x314691(0x10c),'habNn':_0x314691(0x123),'nCxkn':_0x314691(0x16f),'RpDPS':'TestLevel','eXCxi':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','pPWSB':_0x314691(0x17c),'DFsIs':function(_0xc1000b,_0x5493dd){return _0xc1000b(_0x5493dd);},'ScttL':_0x314691(0x13b),'pwlyL':'trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','zzWQX':_0x314691(0x103),'EnGLL':_0x314691(0x146)};try{let _0x12e70e;const _0x3829b7=global[_0x314691(0x126)]?.[_0x314691(0x165)]?.[_0x314691(0x160)],_0x4a7b69=_0x23e0e4[_0x314691(0x12d)](require,_0x23e0e4[_0x314691(0x110)]),_0x572f13=_0x23e0e4[_0x314691(0x12d)](require,_0x23e0e4['pruUD']),_0x80a034=_0x4a7b69[_0x314691(0x143)]()[_0x314691(0x100)]()&&_0x23e0e4[_0x314691(0x16b)](_0x572f13[_0x314691(0x127)]()?.['name']?.[_0x314691(0x15b)](),_0x23e0e4[_0x314691(0x120)]);if(_0x80a034){_0x12e70e=global[_0x314691(0x11b)];if(!_0x12e70e){const _0x705226=AutomationFramework[_0x314691(0x10a)]();_0x12e70e=AutomationFramework[_0x314691(0x178)](_0x705226,PlaywrightDriverModule[_0x314691(0x153)],'');}this[_0x314691(0x114)][_0x314691(0x13f)]('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x12e70e);}else{if(!_0x3829b7){const _0x4c0270=AutomationFramework[_0x314691(0x10a)]();_0x12e70e=AutomationFramework[_0x314691(0x178)](_0x4c0270,PlaywrightDriverModule[_0x314691(0x153)],'');}else _0x12e70e=TestInfo[_0x314691(0x16e)](_0x3829b7,_0x3829b7[_0x314691(0x151)]);this['logger']['debug'](_0x314691(0x155)+_0x12e70e);}if(!_0x12e70e){this[_0x314691(0x114)][_0x314691(0x13f)](_0x23e0e4['habNn']);return;}const _0x1cc4b9={[TestFrameworkConstants[_0x314691(0x133)]]:fs[_0x314691(0x11e)](_0x238d64)[_0x314691(0x17d)],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0x238d64),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x238d64,[TestFrameworkConstants[_0x314691(0x13c)]]:_0x4ffa7d?_0x23e0e4[_0x314691(0x136)]:_0x23e0e4[_0x314691(0x15c)]};if(_0x80a034){const _0x3f59d6=_0x4a7b69[_0x314691(0x143)]()['getTestFramework']();if(!_0x3f59d6){this[_0x314691(0x114)]['debug'](_0x23e0e4[_0x314691(0x104)]);return;}const _0x4ce34e=_0x23e0e4[_0x314691(0x12d)](require,_0x23e0e4[_0x314691(0x162)]),_0x3a4a5e=_0x23e0e4[_0x314691(0x166)](require,_0x23e0e4[_0x314691(0x129)]),_0x149438=_0x3f59d6[_0x314691(0x105)](_0x4ce34e[_0x314691(0x11d)],_0x3a4a5e[_0x314691(0x177)]);if(!_0x149438){this[_0x314691(0x114)][_0x314691(0x13f)](_0x23e0e4['pwlyL']);return;}const _0x606b21=_0x149438['getAllData']()['get'](_0x12e70e)||{},_0x47c0a4=_0x606b21[TestFrameworkConstants[_0x314691(0x157)]]||{},_0x493eb2={..._0x47c0a4};_0x493eb2[_0x238d64]=_0x1cc4b9;const _0x386772=_0x493eb2,_0x222041={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x386772},_0x55db96={};_0x55db96[_0x12e70e]=_0x222041,_0x149438[_0x314691(0x12e)](_0x55db96),this[_0x314691(0x114)][_0x314691(0x13f)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x12e70e+_0x314691(0x149)+_0x238d64);}else{const _0x442645=TestInfo[_0x314691(0x154)](_0x12e70e),_0x5cde93=_0x442645[TestFrameworkConstants[_0x314691(0x157)]]||{};_0x5cde93[_0x238d64]=_0x1cc4b9,_0x442645[TestFrameworkConstants[_0x314691(0x157)]]=_0x5cde93,TestInfo['setTestDetails'](_0x12e70e,_0x442645),this['logger'][_0x314691(0x13f)](_0x314691(0x118)+_0x12e70e+',\x20filepath:\x20'+_0x238d64);}this[_0x314691(0x114)][_0x314691(0x13f)](util['format'](_0x23e0e4['zzWQX'],_0x238d64));}catch(_0x5a0066){this[_0x314691(0x114)][_0x314691(0x13f)](util[_0x314691(0x156)](_0x23e0e4['EnGLL'],_0x5a0066['message']));}}static[a89_0xdbdb3(0x14f)](){const _0x49fe94=a89_0xdbdb3,_0x37f572={};_0x37f572[_0x49fe94(0x142)]=_0x49fe94(0x139),_0x37f572[_0x49fe94(0x150)]=_0x49fe94(0x174),_0x37f572[_0x49fe94(0x172)]='Cleared\x20attachment\x20folder';const _0x428667=_0x37f572,_0x4404df=os['homedir'](),_0x3195f7=path[_0x49fe94(0x132)](_0x4404df,_0x428667[_0x49fe94(0x142)]);if(!fs[_0x49fe94(0x14d)](_0x3195f7))return;const _0x5aa15c=BrowserstackCLI[_0x49fe94(0x143)]()[_0x49fe94(0x171)][_0x49fe94(0x176)]?.[_0x49fe94(0x170)]?.['toObject']()?.[_0x49fe94(0xfb)],_0xf20c34=_0x5aa15c?path['join'](_0x3195f7,_0x5aa15c):null;if(!_0xf20c34||!fs['existsSync'](_0xf20c34)){this['logger'][_0x49fe94(0x13f)](util[_0x49fe94(0x156)](_0x428667[_0x49fe94(0x150)],_0x5aa15c));return;}const _0x404119={};_0x404119[_0x49fe94(0xfe)]=!![],_0x404119[_0x49fe94(0x12a)]=!![],fs[_0x49fe94(0x159)](_0xf20c34,_0x404119),this[_0x49fe94(0x114)][_0x49fe94(0x13f)](util[_0x49fe94(0x156)](_0x428667[_0x49fe94(0x172)]));}}function a89_0x32c8(){const _0x467439=['298EzTcJy','bShrD','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','getTrackedInstance','cGzez','jest','9483684VxUCbL','close','1435904myHqcm','ievNJ','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','./cliUtils','oUfBn','logger','QpgXp','toObject','8247967ryqlcK','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','XNaRp','OTVtG','__jestCurrentTestIdentifier','KOKwI','TEST','statSync','createWriteStream','bnqrn','exports','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','http','uploadAttachmentsManager','__workerDetails','getTestFrameworkDetail','finish','ScttL','force','error','./TestInfo','YlsZZ','addMultipleEntries','DiZAE','CnCsr','xKKsl','join','KEY_FILE_SIZE','FROpw','util','nCxkn','trackFile','uploadAttachments','.browserstack','xmuAK','./state/hookState','KEY_FILE_LEVEL','Attachment\x20recevied\x20for\x20path:\x20%s','statusCode','debug','tWqat','startsWith','eLPBS','getInstance','WPmyV','mkdirSync','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','pipe','unlinkSync',',\x20filepath:\x20','../../helpers/classLogger.js','2603190gNZkbJ','basename','existsSync','trUlA','clearAttachments','duBnt','retry','File\x20downloaded\x20to:\x20%s','KEY_TEST_ID','getTestDetails','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','format','KEY_TEST_ATTACHMENTS','copyFileSync','rmSync','EHqbX','toLowerCase','RpDPS','1454361TdGHlZ','https','4559NvFmMX','testInfo','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','pPWSB','https://','jaVkg','currentTest','DFsIs','./browserstackCLI','VvqlH','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','CzYdA','paOoB','get','LBvAj','getTestIdentifierFromTestInfo','BuildLevel','testhubConfig','modules','Owclj','eeQTq','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','./framework/automationFramework','TestHubModule','POST','getState','wFzpJ','7846296rVgXTZ','jvnAR','./state/testFrameworkState','size','aNpiI','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','buildHashedId','path','xiRrA','recursive','TDXIE','isRunning','eCTcv','toFixed','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','eXCxi','resolveInstance'];a89_0x32c8=function(){return _0x467439;};return a89_0x32c8();}module[a89_0xdbdb3(0x121)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a90_0x274985=a90_0x127d;function a90_0x2ad5(){const _0x4f3663=['finishedAt','pRuAd','AFTER_EACH','hQxdO','testCaseFinished','xdBlM','RPShx','IcvJk','DNXDw','Exception\x20in\x20createHookData:\x20','message','format','ErjtL','ghRsi','bstack','ESDip','hook','xqHmX','nanos','relative','sendTestRunEventForCucumber','fySyH','iMsms','exports','4qMtJtP','pickleStepId','3895614VBzUbS','winstonLogger','DokAW','BJtfc','hpNxB','ugNTH','1859196yMUCbW','WYjTa','filter','getHookRunEventData','timestamp','cucumber','split','2061057BXJQYv','abTNq','find','_gitConfigPath','MvIEC','../../../helpers/logger.js','strip-ansi','sendHook','TsYKQ','examples','32292176BkcMSE','getScenarioExamples','failure_data','failureType','UnhandledError','JxTLG','map','toString','OObmq','result','hookId','_gitConfigured','sourceReference','createHookData','push','oQjYo','tYdfp','astNodeIds','root','dIXqv','Exception\x20in\x20getHookRunEventData:\x20','backtrace','CVIYS','hooks','exception','tmbYT','tags','testStepResult','AjBCs','scenario','jLBjH','uri','dxuqC','kgKKW','every','debug','YvBVl','twfUN','length','createTestFrameworkData','tkFFg','flatMap','mDJsY','tagExpression','path','name','failure_reason','getCucumberHookType','fvhvQ','JJKjK','javascript','children','5622778CgVlSA','join','NUstS','failed','forEach','mGDVq','4551730jSyhDr','toISOString','getHookResult','cells','539049BWKfrF','PSaBo','BEFORE_EACH','value','finished_at','AssertionError','yzAil','configureGit','toLowerCase','feature','duration_in_ms','rule','failure','testStepFinished','uuid','unknown','gsgsF','kIqbK','CpoiC','TpcWH','XFoIP','tableBody','FAILED','match','status','test','failure_type'];a90_0x2ad5=function(){return _0x4f3663;};return a90_0x2ad5();}(function(_0x4883fc,_0x4e4226){const _0x545bdc=a90_0x127d,_0x12fac6=_0x4883fc();while(!![]){try{const _0x475ec9=parseInt(_0x545bdc(0xcd))/0x1+-parseInt(_0x545bdc(0x108))/0x2+-parseInt(_0x545bdc(0x10f))/0x3+parseInt(_0x545bdc(0x100))/0x4*(-parseInt(_0x545bdc(0xc9))/0x5)+-parseInt(_0x545bdc(0x102))/0x6+-parseInt(_0x545bdc(0xc3))/0x7+parseInt(_0x545bdc(0x119))/0x8;if(_0x475ec9===_0x4e4226)break;else _0x12fac6['push'](_0x12fac6['shift']());}catch(_0x54c8a7){_0x12fac6['push'](_0x12fac6['shift']());}}}(a90_0x2ad5,0x91875));const path=require(a90_0x274985(0x145)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a90_0x274985(0x114))[a90_0x274985(0x103)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),hooksMap={};class CucumberUtils{constructor(){const _0x31761a=a90_0x274985;this[_0x31761a(0x124)]=![],this[_0x31761a(0x112)]=null;}async['createTestFrameworkData'](_0x3f62c2,_0x41f392,_0x1a7630,_0x52cdd9,_0x18c439,_0x78ff85){const _0x59563f=a90_0x274985,_0x1821a0={'RPShx':function(_0x12a74b,_0x2ab89d){return _0x12a74b===_0x2ab89d;},'mGDVq':_0x59563f(0xe3),'abTNq':'failed','kgKKW':'SKIPPED','AQSoC':'skipped','yzAil':function(_0x2e932d,_0xb41d3d){return _0x2e932d||_0xb41d3d;},'WYjTa':function(_0x43336d,_0x1e4e0c){return _0x43336d+_0x1e4e0c;},'ugNTH':_0x59563f(0xe6),'tYdfp':_0x59563f(0x14b),'PSaBo':_0x59563f(0x10d),'XFoIP':'pending','GipjO':'passed','CVIYS':function(_0x2ef38a,_0x19e249){return _0x2ef38a!==_0x19e249;},'DgMiu':function(_0x935a62,_0x23b3b5){return _0x935a62/_0x23b3b5;},'BJtfc':_0x59563f(0x115),'DokAW':function(_0x465400,_0x3dff09){return _0x465400(_0x3dff09);},'gsgsF':_0x59563f(0xdc),'SMXGJ':'AssertionError','NUstS':_0x59563f(0x11d)},{feature:_0x5ba3b0,scenario:_0x1b1311,steps:_0x22b5d7,uuid:_0x367a1c,startedAt:_0x3adfbf,finishedAt:_0x3731b7}=_0x1821a0[_0x59563f(0xd3)](_0x3f62c2,{}),_0x121fd7=this[_0x59563f(0x11a)](_0x52cdd9,_0x41f392);await this[_0x59563f(0xd4)]();const _0x241ab6=_0x121fd7?_0x1821a0['WYjTa'](_0x1821a0[_0x59563f(0x109)](_0x1821a0[_0x59563f(0x109)](_0x41f392[_0x59563f(0x146)],'\x20('),_0x121fd7[_0x59563f(0xc4)](',\x20')),')'):_0x41f392[_0x59563f(0x146)],_0x532491={'id':_0x18c439,'uuid':_0x18c439,'startedAt':_0x3adfbf,'finishedAt':_0x3731b7,'type':_0x1821a0[_0x59563f(0x107)],'body':{'lang':_0x1821a0[_0x59563f(0x129)],'code':null},'name':_0x241ab6,'scopes':[_0x5ba3b0&&_0x5ba3b0[_0x59563f(0x146)]?_0x5ba3b0[_0x59563f(0x146)]:''],'tags':_0x41f392[_0x59563f(0x133)]?_0x41f392[_0x59563f(0x133)]['map'](({name:_0x5d961a})=>_0x5d961a):[],'file_name':_0x41f392[_0x59563f(0x138)],'location':_0x41f392[_0x59563f(0x138)],'vc_filepath':this[_0x59563f(0x112)]&&_0x41f392[_0x59563f(0x138)]?path[_0x59563f(0xfb)](this['_gitConfigPath'],_0x41f392['uri']):null,'framework':_0x1821a0[_0x59563f(0xce)],'result':_0x1821a0[_0x59563f(0xe1)],'meta':{'feature':_0x5ba3b0,'scenario':_0x1b1311,'steps':_0x22b5d7,'examples':_0x121fd7},'customRerunParam':{'rerun_name':_0x241ab6}};if(_0x1a7630[_0x59563f(0xec)]&&_0x22b5d7){const _0x1a6c09=_0x1a7630['testCaseFinished'];let _0x48fc12=_0x1821a0['GipjO'];_0x22b5d7[_0x59563f(0x13b)](_0x3665f5=>{const _0x3fbbc0=_0x59563f;if(_0x1821a0[_0x3fbbc0(0xee)](_0x3665f5[_0x3fbbc0(0x122)],_0x1821a0[_0x3fbbc0(0xc8)]))return _0x48fc12=_0x1821a0[_0x3fbbc0(0x110)],_0x1a6c09[_0x3fbbc0(0xd9)]=_0x3665f5[_0x3fbbc0(0xd9)],_0x1a6c09[_0x3fbbc0(0x11c)]=_0x3665f5[_0x3fbbc0(0x11c)],![];else{if(_0x1821a0[_0x3fbbc0(0xee)](_0x3665f5[_0x3fbbc0(0x122)],_0x1821a0[_0x3fbbc0(0x13a)]))return _0x48fc12=_0x1821a0['AQSoC'],![];}return!![];}),_0x532491[_0x59563f(0xe8)]=new Date()[_0x59563f(0xca)](),_0x532491[_0x59563f(0x122)]=_0x48fc12;_0x1a6c09[_0x59563f(0x10c)]&&_0x1821a0[_0x59563f(0x12f)](_0x1a6c09[_0x59563f(0x10c)][_0x59563f(0xfa)],undefined)?_0x532491[_0x59563f(0xd7)]=_0x1821a0['DgMiu'](_0x1a6c09[_0x59563f(0x10c)][_0x59563f(0xfa)],0xf4240):_0x532491['duration_in_ms']=undefined;if(_0x1821a0['RPShx'](_0x48fc12,_0x1821a0['abTNq'])){const {default:_0x3c8663}=await import(_0x1821a0[_0x59563f(0x105)]);_0x532491[_0x59563f(0xd9)]=[{'backtrace':[_0x1a6c09[_0x59563f(0xd9)]?_0x1821a0[_0x59563f(0x104)](_0x3c8663,_0x1a6c09[_0x59563f(0xd9)]):_0x1821a0[_0x59563f(0xdd)]]}],_0x532491[_0x59563f(0x147)]=_0x1a6c09[_0x59563f(0xd9)]?_0x1821a0[_0x59563f(0x104)](_0x3c8663,_0x1a6c09[_0x59563f(0xd9)]):_0x1a6c09[_0x59563f(0xf2)],_0x1a6c09[_0x59563f(0x11c)]&&(_0x532491['failure_type']=_0x1a6c09[_0x59563f(0x11c)][_0x59563f(0xe4)](/AssertError/)?_0x1821a0['SMXGJ']:_0x1821a0[_0x59563f(0xc5)]);}}return _0x532491;}[a90_0x274985(0x10b)](_0x47bfc7,_0x59a024,_0x4d6138,_0x34d126,_0x17f151,_0x559f16){const _0x31d55f=a90_0x274985,_0x41f94c={'JJKjK':function(_0x19bb5b,_0x3dd3ab){return _0x19bb5b===_0x3dd3ab;},'hQxdO':'HookRunFinished','cXUqy':function(_0x59e85d,_0x1da3e6,_0x36bed1){return _0x59e85d(_0x1da3e6,_0x36bed1);},'ErjtL':_0x31d55f(0x125),'xdBlM':'uri','tkFFg':'pending','DNXDw':_0x31d55f(0xf8),'dIXqv':'javascript','IcvJk':function(_0x402112,_0x2581e0,_0x4f59e2){return _0x402112(_0x2581e0,_0x4f59e2);},'dxuqC':_0x31d55f(0xd6),'TsYKQ':_0x31d55f(0x146),'fySyH':'cucumber'};try{if(_0x41f94c[_0x31d55f(0x14a)](_0x4d6138,_0x41f94c[_0x31d55f(0xeb)])){const _0x407f98=new Date()[_0x31d55f(0xca)](),_0x127d73=hooksMap[_0x59a024];if(!_0x127d73)return;const _0x343262=_0x127d73[_0x31d55f(0x111)](_0x4d0a8d=>_0x4d0a8d[_0x31d55f(0xdb)]===_0x34d126['id']);if(!_0x343262)return;const _0x1e47e2=this[_0x31d55f(0xcb)](_0x47bfc7,_0x59a024);_0x343262[_0x31d55f(0x122)]=_0x1e47e2[_0x31d55f(0xe5)],_0x343262[_0x31d55f(0xd1)]=_0x407f98,_0x343262[_0x31d55f(0xe7)]=_0x1e47e2[_0x31d55f(0x11c)];const _0x373e25={};return _0x373e25[_0x31d55f(0x12e)]=_0x1e47e2['failureData'],_0x343262[_0x31d55f(0x11b)]=[_0x373e25],_0x343262;}const _0x55f2d0=TestInfo['getTestUUID'](_0x59a024),_0x5bc0f2=_0x47bfc7[_0x31d55f(0x130)][_0x31d55f(0x111)](_0x151106=>_0x151106['id']===_0x34d126['hookId']),_0x59fb16=_0x41f94c['cXUqy'](nestedKeyValue,_0x5bc0f2,[_0x41f94c[_0x31d55f(0xf4)],_0x41f94c[_0x31d55f(0xed)]]),_0x2c3b62=new Date()[_0x31d55f(0xca)](),_0x4a2d10=_0x41f94c[_0x31d55f(0x141)],_0xa86293=_0x5bc0f2[_0x31d55f(0x144)]?_0x5bc0f2[_0x31d55f(0x144)][_0x31d55f(0x10e)]('\x20')[_0x31d55f(0x10a)](_0x59a3f0=>_0x59a3f0['includes']('@')):[],_0x261a64={'uuid':_0x34d126['id'],'type':_0x41f94c[_0x31d55f(0xf0)],'hook_type':_0x559f16,'name':_0x5bc0f2[_0x31d55f(0x146)],'body':{'lang':_0x41f94c[_0x31d55f(0x12c)],'code':null},'tags':_0xa86293,'test_run_id':_0x55f2d0,'scope':_0x41f94c[_0x31d55f(0xef)](nestedKeyValue,_0x17f151,[_0x41f94c['dxuqC'],_0x41f94c[_0x31d55f(0x117)]]),'scopes':[_0x41f94c[_0x31d55f(0xef)](nestedKeyValue,_0x17f151,[_0x41f94c[_0x31d55f(0x139)],_0x41f94c['TsYKQ']])||''],'file_name':_0x59fb16,'location':_0x59fb16,'vc_filepath':this[_0x31d55f(0x112)]?path[_0x31d55f(0xfb)](this[_0x31d55f(0x112)],_0x59fb16):null,'result':_0x4a2d10,'started_at':_0x2c3b62,'framework':_0x41f94c[_0x31d55f(0xfd)]};return _0x261a64;}catch(_0x1d1855){logger[_0x31d55f(0x13c)](_0x31d55f(0x12d)+util[_0x31d55f(0xf3)](_0x1d1855)+'\x20');}}async[a90_0x274985(0x126)](_0x968d6b,_0x2a560b,_0x168987,_0x5d0b77,_0x13c627,_0x3d8bc7){const _0x1e8b0c=a90_0x274985,_0x2e4d12={'MvIEC':function(_0x54185a,_0x1d265c){return _0x54185a===_0x1d265c;},'ESDip':'HookRunStarted','SRjZL':function(_0x34edbc,_0x25ab21,_0x343c76){return _0x34edbc(_0x25ab21,_0x343c76);},'twfUN':'sourceReference','hpNxB':_0x1e8b0c(0x138),'xqHmX':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','kIqbK':function(_0x1133d7,_0x361fee){return _0x1133d7===_0x361fee;},'OObmq':_0x1e8b0c(0xf6)};try{const _0x3b88ab=_0x5d0b77['find'](_0x2bb167=>_0x2bb167['id']===_0x13c627);if(!_0x3b88ab[_0x1e8b0c(0x123)])return;const _0x123b98=this['getCucumberHookType'](_0x5d0b77,_0x3b88ab),_0x554c79=this[_0x1e8b0c(0x10b)](_0x968d6b,_0x2a560b,_0x168987,_0x3b88ab,_0x3d8bc7,_0x123b98);if(!_0x554c79)return;_0x2e4d12[_0x1e8b0c(0x113)](_0x168987,_0x2e4d12[_0x1e8b0c(0xf7)])&&(hooksMap[_0x2a560b]?hooksMap[_0x2a560b][_0x1e8b0c(0x127)](_0x554c79):hooksMap[_0x2a560b]=[_0x554c79]);const _0x132ac6=_0x968d6b[_0x1e8b0c(0x130)][_0x1e8b0c(0x111)](_0x3cbf77=>_0x3cbf77['id']===_0x3b88ab[_0x1e8b0c(0x123)]),_0x2fad2e=_0x2e4d12['SRjZL'](nestedKeyValue,_0x132ac6,[_0x2e4d12[_0x1e8b0c(0x13e)],_0x2e4d12[_0x1e8b0c(0x106)]]);if(!_0x2fad2e)return;else{if(_0x2fad2e['includes'](_0x2e4d12[_0x1e8b0c(0xf9)]))return;}if(_0x2e4d12[_0x1e8b0c(0xde)](_0x554c79[_0x1e8b0c(0x146)],_0x2e4d12[_0x1e8b0c(0x121)]))return;return _0x554c79;}catch(_0x6127f){logger[_0x1e8b0c(0x13c)](_0x1e8b0c(0xf1)+util[_0x1e8b0c(0xf3)](_0x6127f)+'\x20');}}['getHookResult'](_0x4336e7,_0x4350fc){const _0x59f9d8=a90_0x274985,_0x3304a7={};_0x3304a7[_0x59f9d8(0x11e)]=function(_0x46c262,_0xc1f06e){return _0x46c262===_0xc1f06e;},_0x3304a7[_0x59f9d8(0x143)]=_0x59f9d8(0xc6),_0x3304a7['TpcWH']=function(_0x34d3c1,_0x4e0d32){return _0x34d3c1===_0x4e0d32;},_0x3304a7['YvBVl']='UnhandledError',_0x3304a7[_0x59f9d8(0xe9)]=_0x59f9d8(0xd2),_0x3304a7['tmbYT']=function(_0x3b1618,_0x1a9f77){return _0x3b1618||_0x1a9f77;};const _0x1e21c2=_0x3304a7,_0x1c0227=_0x4336e7[_0x59f9d8(0xda)][_0x4350fc][_0x59f9d8(0x134)];let _0x2a8a91,_0x54b097;return _0x1c0227&&_0x1e21c2['JxTLG'](_0x1c0227[_0x59f9d8(0xe5)][_0x59f9d8(0x120)]()['toLowerCase'](),_0x1e21c2[_0x59f9d8(0x143)])&&(_0x2a8a91=_0x1e21c2[_0x59f9d8(0xe0)](_0x1c0227['exception'],undefined)?_0x1c0227['message']:_0x1c0227['exception'][_0x59f9d8(0xf2)],_0x54b097=_0x1e21c2[_0x59f9d8(0x11e)](_0x1c0227[_0x59f9d8(0x131)],undefined)?_0x1e21c2[_0x59f9d8(0x13d)]:_0x1c0227[_0x59f9d8(0xf2)][_0x59f9d8(0xe4)](/Assert/)?_0x1e21c2[_0x59f9d8(0xe9)]:_0x1e21c2[_0x59f9d8(0x13d)]),{'status':_0x1c0227[_0x59f9d8(0xe5)][_0x59f9d8(0xd5)](),'failureType':_0x1e21c2[_0x59f9d8(0x132)](_0x54b097,null),'failureData':!_0x2a8a91?null:[_0x2a8a91]};}['getCucumberHookType'](_0x2f8502,_0x382080){const _0x212b52=a90_0x274985,_0x266a92={};_0x266a92['jLBjH']=function(_0x55db75,_0x176526){return _0x55db75===_0x176526;},_0x266a92[_0x212b52(0x128)]=_0x212b52(0xea),_0x266a92[_0x212b52(0x135)]=_0x212b52(0xcf);const _0x8f1879=_0x266a92;let _0x173bdc=![];for(const _0xc6588a of _0x2f8502){_0xc6588a[_0x212b52(0x101)]&&(_0x173bdc=!![]);if(_0x8f1879[_0x212b52(0x137)](_0x382080['id'],_0xc6588a['id']))return _0x173bdc?_0x8f1879['oQjYo']:_0x8f1879[_0x212b52(0x135)];}}[a90_0x274985(0x11a)]=(_0x464556,_0x3bf7fd)=>{const _0x193ede=a90_0x274985,_0x492077={};_0x492077[_0x193ede(0xf5)]=function(_0x281f3c,_0xfcb797){return _0x281f3c===_0xfcb797;},_0x492077[_0x193ede(0xfe)]=function(_0x24301f,_0x234b77){return _0x24301f>_0x234b77;};const _0x3c10a4=_0x492077;if(!(_0x3bf7fd[_0x193ede(0x12a)]&&_0x3c10a4[_0x193ede(0xfe)](_0x3bf7fd[_0x193ede(0x12a)]['length'],0x1)))return;const _0x42c1e0=_0x3bf7fd[_0x193ede(0x12a)][0x0],_0x1d5270=_0x3bf7fd[_0x193ede(0x12a)][0x1],_0x36cb62=_0x464556['feature']&&_0x464556[_0x193ede(0xd6)][_0x193ede(0x14c)]?_0x464556[_0x193ede(0xd6)][_0x193ede(0x14c)]:undefined;let _0x5aecb7=[];_0x36cb62&&_0x36cb62[_0x193ede(0xc7)](_0x1d9e86=>{const _0x481306=_0x193ede,_0x43ea7f={'CpoiC':function(_0x525d2c,_0x269e0c){const _0x349d05=a90_0x127d;return _0x3c10a4[_0x349d05(0xf5)](_0x525d2c,_0x269e0c);}};if(_0x1d9e86['rule'])_0x1d9e86[_0x481306(0xd8)][_0x481306(0x14c)]['forEach'](_0x46bd86=>{const _0x3efdbe=_0x481306;if(_0x46bd86['scenario']&&_0x43ea7f[_0x3efdbe(0xdf)](_0x46bd86[_0x3efdbe(0x136)]['id'],_0x42c1e0)&&_0x46bd86[_0x3efdbe(0x136)]['examples']){const _0x1950e6=_0x46bd86[_0x3efdbe(0x136)][_0x3efdbe(0x118)][_0x3efdbe(0x142)](_0x15a149=>_0x15a149[_0x3efdbe(0xe2)])[_0x3efdbe(0x111)](_0x19bbb2=>_0x19bbb2['id']===_0x1d5270);let _0x5cf3f2;_0x1950e6&&_0x1950e6[_0x3efdbe(0xcc)]?_0x5cf3f2=_0x1950e6[_0x3efdbe(0xcc)][_0x3efdbe(0x11f)](_0x12eb2e=>_0x12eb2e['value']):_0x5cf3f2=[],_0x5cf3f2&&(_0x5aecb7=_0x5cf3f2);}});else{if(_0x1d9e86['scenario']&&_0x3c10a4[_0x481306(0xf5)](_0x1d9e86[_0x481306(0x136)]['id'],_0x42c1e0)&&_0x1d9e86[_0x481306(0x136)]['examples']){const _0x388859=_0x1d9e86[_0x481306(0x136)][_0x481306(0x118)]['flatMap'](_0x55f967=>_0x55f967[_0x481306(0xe2)])[_0x481306(0x111)](_0x4a72e2=>_0x4a72e2['id']===_0x1d5270);let _0x213740;_0x388859&&_0x388859['cells']?_0x213740=_0x388859['cells'][_0x481306(0x11f)](_0x49ccb0=>_0x49ccb0[_0x481306(0xd0)]):_0x213740=[],_0x213740&&(_0x5aecb7=_0x213740);}}});if(_0x5aecb7[_0x193ede(0x13f)])return _0x5aecb7;return;};async[a90_0x274985(0xd4)](){const _0x4e58db=a90_0x274985,_0x468db2={'fvhvQ':function(_0x9fa0e1){return _0x9fa0e1();}};if(this[_0x4e58db(0x124)])return this[_0x4e58db(0x112)];const _0x204e4b=await _0x468db2[_0x4e58db(0x149)](getGitMetaData);_0x204e4b&&(this[_0x4e58db(0x112)]=_0x204e4b[_0x4e58db(0x12b)]),this[_0x4e58db(0x124)]=!![];}}function a90_0x127d(_0x2a1b5a,_0x3195c7){const _0x2ad5db=a90_0x2ad5();return a90_0x127d=function(_0x127d6d,_0x125610){_0x127d6d=_0x127d6d-0xc3;let _0x4d8570=_0x2ad5db[_0x127d6d];return _0x4d8570;},a90_0x127d(_0x2a1b5a,_0x3195c7);}module[a90_0x274985(0xff)]=o11yClassErrorHandler(CucumberUtils,[a90_0x274985(0xd4),'getScenarioExamples',a90_0x274985(0x148),a90_0x274985(0xcb),a90_0x274985(0x116),a90_0x274985(0x10b),a90_0x274985(0xfc),a90_0x274985(0x140)]);
1
+ function a90_0x1e9d(){const _0x36f7ad=['tHHQB','Exception\x20in\x20createHookData:\x20','failure_type','name','path','EOYuc','failure','Muyyl','sendTestRunEventForCucumber','vpxkk','UnhandledError','cucumber','uuid','dAkMH','join','udXwC','mCNYW','getTestUUID','skipped','../TestInfo.js','IPoAv','kINcO','getHookRunEventData','iKzmb','../../../helpers/logger.js','BEFORE_EACH','split','unknown','push','format','WYCgp','AFTER_EACH','root','ufBBw','792298HwyjPq','DEQBx','menSA','createTestFrameworkData','YxCEn','every','RIYuq','pickleStepId','otxem','MDOJG','_gitConfigPath','duration_in_ms','MdxLj','nMgTA','bjdjW','failureData','../../../helpers/test-observability/error-handler.js','includes','scenario','eJneX','testStepFinished','passed','testCaseFinished','miWpv','strip-ansi','value','FAILED','status','astNodeIds','failed','bNHsK','find','1315OXjQeD','taUVF','timestamp','flatMap','nanos','DMrxt','12809580vyGKks','9wOtUxd','map','IgUzl','exception','../../../helpers/helper.js','result','SKIPPED','QMjDI','sourceReference','match','filter','bvxNY','forEach','jDYnl','rule','WBIUw','toISOString','children','feature','util','hook','examples','finishedAt','ENyxv','GsCxU','getHookResult','_gitConfigured','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','pcqel','configureGit','finished_at','message','getCucumberHookType','AssertionError','LETSa','failure_reason','tags','naSAJ','javascript','failureType','failure_data','HookRunFinished','relative','sendHook','FIxOf','testStepResult','winstonLogger','8945336MFCAVZ','QVisl','1125861JKJkyv','bIWOP','tableBody','bstack','ddFeX','4CXsxYn','cells','IHqMQ','Exception\x20in\x20getHookRunEventData:\x20','getScenarioExamples','mzYxx','hooks','CmdgT','pending','1060163OUYToZ','2058hqUeub','1696317ueEwPx','rfUbv','hookId','uri','createHookData','BaTHr','UQqIk','XqeIX'];a90_0x1e9d=function(){return _0x36f7ad;};return a90_0x1e9d();}const a90_0x18c22c=a90_0x72ca;(function(_0x4a4e14,_0x4c1717){const _0x28487a=a90_0x72ca,_0x442ef7=_0x4a4e14();while(!![]){try{const _0x4b8b91=parseInt(_0x28487a(0x71))/0x1+parseInt(_0x28487a(0x9d))/0x2+-parseInt(_0x28487a(0xf5))/0x3*(parseInt(_0x28487a(0xfa))/0x4)+parseInt(_0x28487a(0xbd))/0x5*(-parseInt(_0x28487a(0x72))/0x6)+-parseInt(_0x28487a(0x73))/0x7+parseInt(_0x28487a(0xf3))/0x8+-parseInt(_0x28487a(0xc4))/0x9*(parseInt(_0x28487a(0xc3))/0xa);if(_0x4b8b91===_0x4c1717)break;else _0x442ef7['push'](_0x442ef7['shift']());}catch(_0x4b508d){_0x442ef7['push'](_0x442ef7['shift']());}}}(a90_0x1e9d,0x8efde));const path=require(a90_0x18c22c(0x7f)),util=require(a90_0x18c22c(0xd7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x18c22c(0xc8)),logger=require(a90_0x18c22c(0x93))[a90_0x18c22c(0xf2)],{o11yClassErrorHandler}=require(a90_0x18c22c(0xad)),TestInfo=require(a90_0x18c22c(0x8e)),hooksMap={};function a90_0x72ca(_0x3d1ae2,_0x57edf6){const _0x1e9dc2=a90_0x1e9d();return a90_0x72ca=function(_0x72ca75,_0x321149){_0x72ca75=_0x72ca75-0x70;let _0x45b329=_0x1e9dc2[_0x72ca75];return _0x45b329;},a90_0x72ca(_0x3d1ae2,_0x57edf6);}class CucumberUtils{constructor(){const _0x1c925a=a90_0x18c22c;this[_0x1c925a(0xde)]=![],this[_0x1c925a(0xa7)]=null;}async[a90_0x18c22c(0xa0)](_0x588574,_0x152f5c,_0x53e0e,_0x18dea0,_0xf764c0,_0x24d3e6){const _0x3ff855=a90_0x18c22c,_0x350896={'miWpv':function(_0x38c592,_0x44170e){return _0x38c592===_0x44170e;},'LETSa':_0x3ff855(0xb7),'GsCxU':_0x3ff855(0xba),'QVisl':_0x3ff855(0xca),'kINcO':_0x3ff855(0x8d),'FIxOf':function(_0x40db8d,_0x56d8ac){return _0x40db8d||_0x56d8ac;},'UDBWL':function(_0x36853a,_0x226f1e){return _0x36853a+_0x226f1e;},'naSAJ':function(_0x1df60b,_0x55abef){return _0x1df60b+_0x55abef;},'QMjDI':function(_0x4e5cb5,_0x5e64c1){return _0x4e5cb5+_0x5e64c1;},'bvxNY':'test','WYCgp':_0x3ff855(0xea),'GTbpI':_0x3ff855(0x86),'eJneX':_0x3ff855(0x70),'dAkMH':_0x3ff855(0xb2),'RIYuq':function(_0x1352a4,_0x5c8a6a){return _0x1352a4!==_0x5c8a6a;},'KmWGP':function(_0x36e975,_0x24d8d1){return _0x36e975/_0x24d8d1;},'nMgTA':function(_0x28fba7,_0x231dea){return _0x28fba7===_0x231dea;},'ddFeX':_0x3ff855(0xb5),'bjdjW':function(_0x50670d,_0x4ba3c9){return _0x50670d(_0x4ba3c9);},'iKzmb':_0x3ff855(0x96),'yNMOP':function(_0x4cea81,_0xb7b43){return _0x4cea81(_0xb7b43);},'bIWOP':'AssertionError','Muyyl':'UnhandledError'},{feature:_0x4fe2a8,scenario:_0x47f745,steps:_0x159565,uuid:_0x3b1396,startedAt:_0xa97dfe,finishedAt:_0x145940}=_0x350896[_0x3ff855(0xf0)](_0x588574,{}),_0x55abc7=this[_0x3ff855(0xfe)](_0x18dea0,_0x152f5c);await this['configureGit']();const _0x9ebbbe=_0x55abc7?_0x350896['UDBWL'](_0x350896[_0x3ff855(0xe9)](_0x350896[_0x3ff855(0xcb)](_0x152f5c['name'],'\x20('),_0x55abc7[_0x3ff855(0x89)](',\x20')),')'):_0x152f5c['name'],_0x41edfd={'id':_0xf764c0,'uuid':_0xf764c0,'startedAt':_0xa97dfe,'finishedAt':_0x145940,'type':_0x350896[_0x3ff855(0xcf)],'body':{'lang':_0x350896[_0x3ff855(0x99)],'code':null},'name':_0x9ebbbe,'scopes':[_0x4fe2a8&&_0x4fe2a8[_0x3ff855(0x7e)]?_0x4fe2a8[_0x3ff855(0x7e)]:''],'tags':_0x152f5c[_0x3ff855(0xe8)]?_0x152f5c[_0x3ff855(0xe8)]['map'](({name:_0x2567c1})=>_0x2567c1):[],'file_name':_0x152f5c[_0x3ff855(0x76)],'location':_0x152f5c[_0x3ff855(0x76)],'vc_filepath':this[_0x3ff855(0xa7)]&&_0x152f5c['uri']?path['relative'](this['_gitConfigPath'],_0x152f5c['uri']):null,'framework':_0x350896['GTbpI'],'result':_0x350896[_0x3ff855(0xb0)],'meta':{'feature':_0x4fe2a8,'scenario':_0x47f745,'steps':_0x159565,'examples':_0x55abc7},'customRerunParam':{'rerun_name':_0x9ebbbe}};if(_0x53e0e[_0x3ff855(0xb3)]&&_0x159565){const _0x3d34bd=_0x53e0e['testCaseFinished'];let _0xe49b23=_0x350896[_0x3ff855(0x88)];_0x159565[_0x3ff855(0xa2)](_0x98a8a6=>{const _0x140db5=_0x3ff855;if(_0x350896['miWpv'](_0x98a8a6[_0x140db5(0xc9)],_0x350896[_0x140db5(0xe6)]))return _0xe49b23=_0x350896[_0x140db5(0xdc)],_0x3d34bd[_0x140db5(0x81)]=_0x98a8a6[_0x140db5(0x81)],_0x3d34bd[_0x140db5(0xeb)]=_0x98a8a6[_0x140db5(0xeb)],![];else{if(_0x350896[_0x140db5(0xb4)](_0x98a8a6[_0x140db5(0xc9)],_0x350896[_0x140db5(0xf4)]))return _0xe49b23=_0x350896[_0x140db5(0x90)],![];}return!![];}),_0x41edfd[_0x3ff855(0xda)]=new Date()['toISOString'](),_0x41edfd[_0x3ff855(0xc9)]=_0xe49b23;_0x3d34bd[_0x3ff855(0xbf)]&&_0x350896[_0x3ff855(0xa3)](_0x3d34bd[_0x3ff855(0xbf)][_0x3ff855(0xc1)],undefined)?_0x41edfd['duration_in_ms']=_0x350896['KmWGP'](_0x3d34bd[_0x3ff855(0xbf)][_0x3ff855(0xc1)],0xf4240):_0x41edfd[_0x3ff855(0xa8)]=undefined;if(_0x350896[_0x3ff855(0xaa)](_0xe49b23,_0x350896['GsCxU'])){const {default:_0x36601e}=await import(_0x350896[_0x3ff855(0xf9)]);_0x41edfd[_0x3ff855(0x81)]=[{'backtrace':[_0x3d34bd['failure']?_0x350896[_0x3ff855(0xab)](_0x36601e,_0x3d34bd[_0x3ff855(0x81)]):_0x350896[_0x3ff855(0x92)]]}],_0x41edfd[_0x3ff855(0xe7)]=_0x3d34bd[_0x3ff855(0x81)]?_0x350896['yNMOP'](_0x36601e,_0x3d34bd[_0x3ff855(0x81)]):_0x3d34bd[_0x3ff855(0xe3)],_0x3d34bd[_0x3ff855(0xeb)]&&(_0x41edfd[_0x3ff855(0x7d)]=_0x3d34bd[_0x3ff855(0xeb)]['match'](/AssertError/)?_0x350896[_0x3ff855(0xf6)]:_0x350896[_0x3ff855(0x82)]);}}return _0x41edfd;}[a90_0x18c22c(0x91)](_0x337c84,_0x48b5ed,_0x40b6c1,_0x4f1d7a,_0x29930a,_0x3a8c5b){const _0x4f891c=a90_0x18c22c,_0x29d0f8={'IgUzl':function(_0x308fb7,_0x72c2f0){return _0x308fb7===_0x72c2f0;},'BaTHr':_0x4f891c(0xed),'DEQBx':function(_0x4e7312,_0x2fe49a,_0x16d75f){return _0x4e7312(_0x2fe49a,_0x16d75f);},'ENyxv':_0x4f891c(0xcc),'QDFOD':_0x4f891c(0x76),'XqeIX':_0x4f891c(0x70),'IPoAv':_0x4f891c(0xd8),'ppGtj':_0x4f891c(0xea),'rxLop':function(_0x1d5b68,_0x32c4f0,_0x4bd514){return _0x1d5b68(_0x32c4f0,_0x4bd514);},'ufBBw':_0x4f891c(0xd6),'tHHQB':_0x4f891c(0x7e),'MmzRd':'cucumber'};try{if(_0x29d0f8[_0x4f891c(0xc6)](_0x40b6c1,_0x29d0f8[_0x4f891c(0x78)])){const _0x41fd89=new Date()[_0x4f891c(0xd4)](),_0x44c1f7=hooksMap[_0x48b5ed];if(!_0x44c1f7)return;const _0x4dbbdb=_0x44c1f7[_0x4f891c(0xbc)](_0x1f9bbb=>_0x1f9bbb[_0x4f891c(0x87)]===_0x4f1d7a['id']);if(!_0x4dbbdb)return;const _0x1fca1f=this[_0x4f891c(0xdd)](_0x337c84,_0x48b5ed);_0x4dbbdb[_0x4f891c(0xc9)]=_0x1fca1f[_0x4f891c(0xb8)],_0x4dbbdb[_0x4f891c(0xe2)]=_0x41fd89,_0x4dbbdb[_0x4f891c(0x7d)]=_0x1fca1f['failureType'];const _0x2fa3e7={};return _0x2fa3e7['backtrace']=_0x1fca1f[_0x4f891c(0xac)],_0x4dbbdb[_0x4f891c(0xec)]=[_0x2fa3e7],_0x4dbbdb;}const _0x3ee38e=TestInfo[_0x4f891c(0x8c)](_0x48b5ed),_0x5984b0=_0x337c84[_0x4f891c(0x100)][_0x4f891c(0xbc)](_0x12bd02=>_0x12bd02['id']===_0x4f1d7a['hookId']),_0x12bbaf=_0x29d0f8[_0x4f891c(0x9e)](nestedKeyValue,_0x5984b0,[_0x29d0f8[_0x4f891c(0xdb)],_0x29d0f8['QDFOD']]),_0x1239a3=new Date()[_0x4f891c(0xd4)](),_0xcba508=_0x29d0f8[_0x4f891c(0x7a)],_0x3b81d6=_0x5984b0['tagExpression']?_0x5984b0['tagExpression'][_0x4f891c(0x95)]('\x20')[_0x4f891c(0xce)](_0x24c6e8=>_0x24c6e8[_0x4f891c(0xae)]('@')):[],_0x41adb7={'uuid':_0x4f1d7a['id'],'type':_0x29d0f8[_0x4f891c(0x8f)],'hook_type':_0x3a8c5b,'name':_0x5984b0[_0x4f891c(0x7e)],'body':{'lang':_0x29d0f8['ppGtj'],'code':null},'tags':_0x3b81d6,'test_run_id':_0x3ee38e,'scope':_0x29d0f8['rxLop'](nestedKeyValue,_0x29930a,[_0x29d0f8['ufBBw'],_0x29d0f8[_0x4f891c(0x7b)]]),'scopes':[_0x29d0f8[_0x4f891c(0x9e)](nestedKeyValue,_0x29930a,[_0x29d0f8[_0x4f891c(0x9c)],_0x29d0f8[_0x4f891c(0x7b)]])||''],'file_name':_0x12bbaf,'location':_0x12bbaf,'vc_filepath':this[_0x4f891c(0xa7)]?path[_0x4f891c(0xee)](this[_0x4f891c(0xa7)],_0x12bbaf):null,'result':_0xcba508,'started_at':_0x1239a3,'framework':_0x29d0f8['MmzRd']};return _0x41adb7;}catch(_0x21cdf1){logger['debug'](_0x4f891c(0xfd)+util[_0x4f891c(0x98)](_0x21cdf1)+'\x20');}}async[a90_0x18c22c(0x77)](_0x4617c2,_0x2f5733,_0x613fa6,_0x32eb40,_0x404734,_0x144517){const _0x28cb9f=a90_0x18c22c,_0x36170f={'CmdgT':function(_0x341b5e,_0x2e2784){return _0x341b5e===_0x2e2784;},'UMdXY':'HookRunStarted','rfUbv':function(_0x421716,_0x303d33,_0x21518b){return _0x421716(_0x303d33,_0x21518b);},'MDOJG':_0x28cb9f(0xcc),'EOYuc':_0x28cb9f(0x76),'mCNYW':_0x28cb9f(0xdf),'JlkSD':function(_0x5a8448,_0x20b1a3){return _0x5a8448===_0x20b1a3;},'YxCEn':_0x28cb9f(0xf8)};try{const _0x411f8b=_0x32eb40[_0x28cb9f(0xbc)](_0x581b84=>_0x581b84['id']===_0x404734);if(!_0x411f8b[_0x28cb9f(0x75)])return;const _0x38e719=this[_0x28cb9f(0xe4)](_0x32eb40,_0x411f8b),_0x5166e5=this[_0x28cb9f(0x91)](_0x4617c2,_0x2f5733,_0x613fa6,_0x411f8b,_0x144517,_0x38e719);if(!_0x5166e5)return;_0x36170f[_0x28cb9f(0x101)](_0x613fa6,_0x36170f['UMdXY'])&&(hooksMap[_0x2f5733]?hooksMap[_0x2f5733][_0x28cb9f(0x97)](_0x5166e5):hooksMap[_0x2f5733]=[_0x5166e5]);const _0x3847f3=_0x4617c2[_0x28cb9f(0x100)][_0x28cb9f(0xbc)](_0x9ef442=>_0x9ef442['id']===_0x411f8b[_0x28cb9f(0x75)]),_0x2f913a=_0x36170f[_0x28cb9f(0x74)](nestedKeyValue,_0x3847f3,[_0x36170f[_0x28cb9f(0xa6)],_0x36170f[_0x28cb9f(0x80)]]);if(!_0x2f913a)return;else{if(_0x2f913a[_0x28cb9f(0xae)](_0x36170f[_0x28cb9f(0x8b)]))return;}if(_0x36170f['JlkSD'](_0x5166e5[_0x28cb9f(0x7e)],_0x36170f[_0x28cb9f(0xa1)]))return;return _0x5166e5;}catch(_0x1ff9c5){logger['debug'](_0x28cb9f(0x7c)+util[_0x28cb9f(0x98)](_0x1ff9c5)+'\x20');}}[a90_0x18c22c(0xdd)](_0x5ceee5,_0x9a0bdd){const _0x415869=a90_0x18c22c,_0x5b8fbd={};_0x5b8fbd[_0x415869(0x8a)]=function(_0x422b01,_0x170eb6){return _0x422b01===_0x170eb6;},_0x5b8fbd[_0x415869(0xa5)]='failed',_0x5b8fbd['vpxkk']=function(_0x28b154,_0xf46c02){return _0x28b154===_0xf46c02;},_0x5b8fbd[_0x415869(0xa9)]=function(_0x57a4db,_0xee47db){return _0x57a4db===_0xee47db;},_0x5b8fbd[_0x415869(0xd1)]=_0x415869(0x85),_0x5b8fbd[_0x415869(0xff)]=_0x415869(0xe5),_0x5b8fbd[_0x415869(0xbe)]=function(_0x477644,_0x450089){return _0x477644||_0x450089;};const _0x165b6a=_0x5b8fbd,_0x4f6db6=_0x5ceee5[_0x415869(0xb1)][_0x9a0bdd][_0x415869(0xf1)];let _0x48639a,_0x3e8fd7;return _0x4f6db6&&_0x165b6a['udXwC'](_0x4f6db6[_0x415869(0xb8)]['toString']()['toLowerCase'](),_0x165b6a[_0x415869(0xa5)])&&(_0x48639a=_0x165b6a[_0x415869(0x84)](_0x4f6db6[_0x415869(0xc7)],undefined)?_0x4f6db6[_0x415869(0xe3)]:_0x4f6db6[_0x415869(0xc7)][_0x415869(0xe3)],_0x3e8fd7=_0x165b6a[_0x415869(0xa9)](_0x4f6db6[_0x415869(0xc7)],undefined)?_0x165b6a['jDYnl']:_0x4f6db6[_0x415869(0xe3)][_0x415869(0xcd)](/Assert/)?_0x165b6a[_0x415869(0xff)]:_0x165b6a[_0x415869(0xd1)]),{'status':_0x4f6db6[_0x415869(0xb8)]['toLowerCase'](),'failureType':_0x165b6a['taUVF'](_0x3e8fd7,null),'failureData':!_0x48639a?null:[_0x48639a]};}[a90_0x18c22c(0xe4)](_0x3996c2,_0x35caeb){const _0x6e3ef8=a90_0x18c22c,_0x2755cd={};_0x2755cd['bNHsK']=function(_0x360445,_0x5ab950){return _0x360445===_0x5ab950;},_0x2755cd[_0x6e3ef8(0xe0)]=_0x6e3ef8(0x9a),_0x2755cd[_0x6e3ef8(0xc2)]=_0x6e3ef8(0x94);const _0x255594=_0x2755cd;let _0x5d6844=![];for(const _0x218614 of _0x3996c2){_0x218614[_0x6e3ef8(0xa4)]&&(_0x5d6844=!![]);if(_0x255594[_0x6e3ef8(0xbb)](_0x35caeb['id'],_0x218614['id']))return _0x5d6844?_0x255594['pcqel']:_0x255594[_0x6e3ef8(0xc2)];}}['getScenarioExamples']=(_0x5b948b,_0x414e83)=>{const _0x2ba883=a90_0x18c22c,_0x794d1={};_0x794d1[_0x2ba883(0xfc)]=function(_0x3723fb,_0x1291ca){return _0x3723fb===_0x1291ca;},_0x794d1[_0x2ba883(0x9f)]=function(_0x1a67af,_0x26fbdf){return _0x1a67af>_0x26fbdf;};const _0x24baec=_0x794d1;if(!(_0x414e83[_0x2ba883(0xb9)]&&_0x24baec[_0x2ba883(0x9f)](_0x414e83[_0x2ba883(0xb9)]['length'],0x1)))return;const _0x42bce5=_0x414e83[_0x2ba883(0xb9)][0x0],_0x116c94=_0x414e83[_0x2ba883(0xb9)][0x1],_0x2de91a=_0x5b948b[_0x2ba883(0xd6)]&&_0x5b948b[_0x2ba883(0xd6)]['children']?_0x5b948b[_0x2ba883(0xd6)]['children']:undefined;let _0x32b534=[];_0x2de91a&&_0x2de91a[_0x2ba883(0xd0)](_0x347267=>{const _0x2a18f4=_0x2ba883,_0x5a7c07={'UQqIk':function(_0x28a9ea,_0x1b49e7){const _0x4f942b=a90_0x72ca;return _0x24baec[_0x4f942b(0xfc)](_0x28a9ea,_0x1b49e7);}};if(_0x347267[_0x2a18f4(0xd2)])_0x347267[_0x2a18f4(0xd2)][_0x2a18f4(0xd5)][_0x2a18f4(0xd0)](_0x1ce73f=>{const _0x43c8b4=_0x2a18f4;if(_0x1ce73f[_0x43c8b4(0xaf)]&&_0x5a7c07[_0x43c8b4(0x79)](_0x1ce73f[_0x43c8b4(0xaf)]['id'],_0x42bce5)&&_0x1ce73f[_0x43c8b4(0xaf)][_0x43c8b4(0xd9)]){const _0x24a314=_0x1ce73f[_0x43c8b4(0xaf)][_0x43c8b4(0xd9)][_0x43c8b4(0xc0)](_0x20a628=>_0x20a628[_0x43c8b4(0xf7)])[_0x43c8b4(0xbc)](_0x1b8248=>_0x1b8248['id']===_0x116c94);let _0x3f023d;_0x24a314&&_0x24a314[_0x43c8b4(0xfb)]?_0x3f023d=_0x24a314[_0x43c8b4(0xfb)][_0x43c8b4(0xc5)](_0x3e7ab3=>_0x3e7ab3['value']):_0x3f023d=[],_0x3f023d&&(_0x32b534=_0x3f023d);}});else{if(_0x347267['scenario']&&_0x24baec['IHqMQ'](_0x347267[_0x2a18f4(0xaf)]['id'],_0x42bce5)&&_0x347267[_0x2a18f4(0xaf)][_0x2a18f4(0xd9)]){const _0xbe88c6=_0x347267['scenario'][_0x2a18f4(0xd9)][_0x2a18f4(0xc0)](_0x4b6ee7=>_0x4b6ee7[_0x2a18f4(0xf7)])[_0x2a18f4(0xbc)](_0x15f1fc=>_0x15f1fc['id']===_0x116c94);let _0x4b4102;_0xbe88c6&&_0xbe88c6['cells']?_0x4b4102=_0xbe88c6['cells']['map'](_0x3c403c=>_0x3c403c[_0x2a18f4(0xb6)]):_0x4b4102=[],_0x4b4102&&(_0x32b534=_0x4b4102);}}});if(_0x32b534['length'])return _0x32b534;return;};async[a90_0x18c22c(0xe1)](){const _0x8f61db=a90_0x18c22c,_0x3c772b={'WBIUw':function(_0x6ff287){return _0x6ff287();}};if(this['_gitConfigured'])return this[_0x8f61db(0xa7)];const _0x15b62b=await _0x3c772b[_0x8f61db(0xd3)](getGitMetaData);_0x15b62b&&(this[_0x8f61db(0xa7)]=_0x15b62b[_0x8f61db(0x9b)]),this[_0x8f61db(0xde)]=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,[a90_0x18c22c(0xe1),'getScenarioExamples','getCucumberHookType',a90_0x18c22c(0xdd),a90_0x18c22c(0xef),a90_0x18c22c(0x91),a90_0x18c22c(0x83),a90_0x18c22c(0xa0)]);
@@ -1 +1 @@
1
- const a91_0x56fed5=a91_0x345c;(function(_0x18ab2e,_0x26b9b2){const _0xe23443=a91_0x345c,_0x3da62e=_0x18ab2e();while(!![]){try{const _0x159d76=-parseInt(_0xe23443(0xaf))/0x1+parseInt(_0xe23443(0xf9))/0x2*(-parseInt(_0xe23443(0x122))/0x3)+-parseInt(_0xe23443(0xe8))/0x4+-parseInt(_0xe23443(0x114))/0x5+-parseInt(_0xe23443(0xe2))/0x6+parseInt(_0xe23443(0x133))/0x7+-parseInt(_0xe23443(0xf0))/0x8*(-parseInt(_0xe23443(0xbb))/0x9);if(_0x159d76===_0x26b9b2)break;else _0x3da62e['push'](_0x3da62e['shift']());}catch(_0x2def62){_0x3da62e['push'](_0x3da62e['shift']());}}}(a91_0x1b01,0x3bd10));const path=require(a91_0x56fed5(0x126)),util=require(a91_0x56fed5(0x120)),crypto=require(a91_0x56fed5(0x159)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x56fed5(0x14b)),logger=require(a91_0x56fed5(0x105))[a91_0x56fed5(0x11a)],{o11yClassErrorHandler}=require(a91_0x56fed5(0x138)),TestInfo=require('../TestInfo.js'),{failureData,getFailureType}=require(a91_0x56fed5(0xa9)),stackTrace=require(a91_0x56fed5(0xdd)),a91_0x3e57f9={};function a91_0x345c(_0x568759,_0x3e4855){const _0x1b0196=a91_0x1b01();return a91_0x345c=function(_0x345c80,_0x5cd7c1){_0x345c80=_0x345c80-0xa3;let _0x57285c=_0x1b0196[_0x345c80];return _0x57285c;},a91_0x345c(_0x568759,_0x3e4855);}function a91_0x1b01(){const _0xa662d9=['Creating\x20hook\x20data\x20for\x20eventType:\x20','lwbWd','md5','name','EryTl','crypto','Nbakx','\x20from\x20compositeKey:\x20','toUpperCase','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','SEZgW','root','HookRunFinished','../../../helpers/test-observability/utils','extractTestFilePath','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','RILsr','hex','failure_reason_expanded','250880LjvOAj','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','isJestInternalHook','ORULV','dtCFz','TestRunSkipped','wXYvV','hpEiT','iHpHF','__workerDetails','failure_data','uuid','9HEbnli','failure_backtrace','configureGit','failure_reason','pid','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','YBsNx','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','BEFORE_EACH','getHookRunEventData','AFTER_EACH','backtrace','now','ROOT_DESCRIBE_BLOCK','finishedAt','pending','getTime','startedAt','zlkwv','SQmPA','HKcMp','MrPIH','debug','split','result','finished_at','Exception\x20in\x20createTestFrameworkData:\x20','includes','Unknown\x20Test','BOBXH','File\x20path\x20could\x20not\x20be\x20found','fullName','javascript','relative','stack-trace','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','afterAll','testPath','testAnalyticsId','295926Vicptd','TOnWJ','stack','createHash','HookRunStarted','QwPiS','353848KbFxyP','QbWTG','getName','match','Exception\x20in\x20createHookData:\x20','QCpAf','vMaKQ','parse','7134104rbABNJ','PrYjn','substring','passed',',\x20hookUUID:\x20','failed','clearHooksMap',',\x20testIdentifier:\x20','XKSYe','9172ABOEJq','expanded','createTestFrameworkData','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','testIdentifier','displayName','expect','jest','currentTest','lBROD','failure','errorsDetailed','../../../helpers/logger.js','file','getRootParentFile','HHMsh','createJestTestIdentifier','format','getHierarchy','beforeEach','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','toISOString','kzHcY','oJkxz','DIVda','afterEach','_gitConfigPath','1661120MAyzuh','nSTjE','apply','SRpIn','FIYBx','cWCPP','winstonLogger','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','jest-circus','XAKYy','err','recreateIdentifierFromTestInfo','util','nZhbi','21TrwRYf','exports','AFTER_ALL','getFileName','path','test','druWc','\x22\x20hook\x20for\x20\x22','hook','ombeN','unknown','puuiY','TCVsm','ADRQn','sAjFZ','gJbMp','asyncError','743638xwMIKi','toString','error','hooks','retryOf','../../../helpers/test-observability/error-handler.js','oZxky','started_at','beforeAll','BkjUo','browserstack-node-agent/src/bin/jest','gvfKa','find','parent','getState','update','uXGfC','eoyCf','fnWsV','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','inspect','_gitConfigured','Exception\x20in\x20getHookRunEventData:\x20','length','../../../helpers/helper.js','__jestCurrentTestIdentifier','JwLLd','createHookData','duration','PcFgq','type','MSpEX','getTestIdentifier'];a91_0x1b01=function(){return _0xa662d9;};return a91_0x1b01();}a91_0x3e57f9[a91_0x56fed5(0x13b)]='BEFORE_ALL',a91_0x3e57f9[a91_0x56fed5(0xdf)]=a91_0x56fed5(0x124),a91_0x3e57f9[a91_0x56fed5(0x10c)]=a91_0x56fed5(0xc3),a91_0x3e57f9[a91_0x56fed5(0x112)]=a91_0x56fed5(0xc5);const HOOK_TYPES_MAP=a91_0x3e57f9,hooksMap={};class JestUtils{constructor(){const _0x189be3=a91_0x56fed5;this[_0x189be3(0x148)]=![],this['_gitConfigPath']=null;}async['createTestFrameworkData'](_0x2a4985,_0x203bba,_0x1828fc='TestRunFinished',_0xf8ee81=undefined){const _0xea5bd8=a91_0x56fed5,_0x28135e={'pKmqe':_0xea5bd8(0x146),'ADRQn':'jest-circus','poSma':function(_0x46951f,_0x240e36){return _0x46951f||_0x240e36;},'dtCFz':_0xea5bd8(0xd9),'hpEiT':function(_0x4acbed,_0x9418e5){return _0x4acbed!==_0x9418e5;},'gyyCB':_0xea5bd8(0x127),'HKcMp':_0xea5bd8(0x11e),'lwbWd':function(_0x141572,_0x4cbad2){return _0x141572!==_0x4cbad2;},'wXYvV':_0xea5bd8(0xca),'fnWsV':function(_0x51af1a,_0xc4a548){return _0x51af1a===_0xc4a548;},'RILsr':_0xea5bd8(0xb4),'MrPIH':'skipped','YBsNx':function(_0xd13f3,_0x3b851b){return _0xd13f3>_0x3b851b;},'druWc':_0xea5bd8(0xf5),'puuiY':'passed','ORULV':function(_0x1e550f,_0x376e43){return _0x1e550f!==_0x376e43;},'PrYjn':function(_0x4cc37e,_0x30a362){return _0x4cc37e-_0x30a362;},'SEZgW':_0xea5bd8(0xdb),'FnWPN':'jest','gvfKa':function(_0x2b9915,_0x1370c3){return _0x2b9915(_0x1370c3);},'HHMsh':'TestRunFinished'};logger['debug']('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x1828fc+_0xea5bd8(0xf7)+_0x203bba);try{if(!_0x2a4985)return logger[_0xea5bd8(0xd1)](_0x28135e['pKmqe']),null;if(_0x2a4985['fn']&&_0x2a4985['fn'][_0xea5bd8(0x134)]()[_0xea5bd8(0xeb)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0xe9afbb;try{_0xe9afbb=this[_0xea5bd8(0x107)](_0x2a4985);if(_0xe9afbb&&_0xe9afbb[_0xea5bd8(0xd6)](_0x28135e[_0xea5bd8(0x12f)]))return null;}catch(_0x37a721){logger[_0xea5bd8(0xd1)](_0xea5bd8(0xde)+util[_0xea5bd8(0x10a)](_0x37a721)),_0xe9afbb=null;}const _0x417f12=this[_0xea5bd8(0x10b)](_0x2a4985),_0x49e224=this[_0xea5bd8(0xea)](_0x2a4985),_0x53192a=_0x28135e['poSma'](_0xe9afbb,_0x28135e[_0xea5bd8(0xb3)]);let _0x5ce9e4=[];if(_0x28135e[_0xea5bd8(0xb6)](_0x2a4985[_0xea5bd8(0x104)],undefined))_0x5ce9e4=[_0x2a4985['errorsDetailed'],_0x28135e['gyyCB']];else _0x28135e[_0xea5bd8(0xb6)](_0xf8ee81,undefined)&&(_0x5ce9e4=[_0xf8ee81,_0x28135e[_0xea5bd8(0xcf)]]);const _0x5d4a4e=_0x28135e[_0xea5bd8(0x155)](_0x2a4985[_0xea5bd8(0x104)],undefined)?util[_0xea5bd8(0x147)](_0x2a4985[_0xea5bd8(0x104)][0x0]):_0x28135e[_0xea5bd8(0xb6)](_0xf8ee81,undefined)?_0xf8ee81[_0xea5bd8(0x134)]():undefined;let _0x1e77e4=_0x28135e[_0xea5bd8(0xb5)];if(_0x28135e['fnWsV'](_0x1828fc,_0x28135e[_0xea5bd8(0xac)]))_0x1e77e4=_0x28135e[_0xea5bd8(0xd0)];else _0x2a4985[_0xea5bd8(0x104)]&&_0x28135e[_0xea5bd8(0xc1)](_0x2a4985[_0xea5bd8(0x104)][_0xea5bd8(0x14a)],0x0)?_0x1e77e4=_0x28135e[_0xea5bd8(0x128)]:_0x1e77e4=_0x28135e[_0xea5bd8(0x12d)];let _0x13e528=null;if(_0x28135e[_0xea5bd8(0xb2)](_0x2a4985[_0xea5bd8(0x14f)],undefined))_0x13e528=_0x2a4985[_0xea5bd8(0x14f)];else(_0x1828fc['match'](/Finished/)||_0x1828fc[_0xea5bd8(0xeb)](/Skipped/))&&(_0x2a4985[_0xea5bd8(0x13a)]&&(_0x13e528=_0x28135e[_0xea5bd8(0xf1)](Date[_0xea5bd8(0xc7)](),new Date(_0x2a4985['started_at'])[_0xea5bd8(0xcb)]())));const _0xaa73ac=_0x2a4985['fn']?_0x2a4985['fn'][_0xea5bd8(0x134)]():null,_0x4e7f01={'id':_0x203bba,'uuid':_0x203bba,'startedAt':_0x2a4985[_0xea5bd8(0x13a)]||new Date()[_0xea5bd8(0x10e)](),'finishedAt':_0x1828fc[_0xea5bd8(0xeb)](/Finished/)||_0x1828fc['match'](/Skipped/)?new Date()['toISOString']():null,'type':_0x28135e['gyyCB'],'body':{'lang':_0x28135e[_0xea5bd8(0xa6)],'code':_0xaa73ac},'name':_0x49e224,'scopes':_0x417f12,'file_name':_0x53192a,'location':_0x53192a,'vc_filepath':this['_gitConfigPath']&&_0xe9afbb?path[_0xea5bd8(0xdc)](this[_0xea5bd8(0x113)],_0xe9afbb):null,'framework':_0x28135e['FnWPN'],'result':_0x1e77e4,'failure_reason':_0x5d4a4e,'duration_in_ms':_0x13e528,'failure':failureData[_0xea5bd8(0x116)](null,_0x5ce9e4),'failure_type':!_0x5d4a4e?null:_0x28135e[_0xea5bd8(0x13e)](getFailureType,_0x5d4a4e),'retry_of':_0x2a4985[_0xea5bd8(0x137)]||null,'customRerunParam':{'rerun_name':_0x49e224}};_0x28135e[_0xea5bd8(0x145)](_0x1828fc,_0x28135e[_0xea5bd8(0xac)])&&!_0x4e7f01[_0xea5bd8(0xcc)]&&(_0x4e7f01[_0xea5bd8(0xcc)]=_0x4e7f01[_0xea5bd8(0xc9)]);const _0x534fc2=_0x4e7f01[_0xea5bd8(0x103)]&&_0x4e7f01[_0xea5bd8(0x103)][0x0];return _0x534fc2&&(_0x4e7f01[_0xea5bd8(0xbc)]=_0x534fc2[_0xea5bd8(0xc6)],_0x4e7f01[_0xea5bd8(0xae)]=_0x534fc2[_0xea5bd8(0xfa)]),(_0x28135e[_0xea5bd8(0x145)](_0x1828fc,_0x28135e[_0xea5bd8(0x108)])||_0x28135e[_0xea5bd8(0x145)](_0x1828fc,_0x28135e[_0xea5bd8(0xac)]))&&(_0x2a4985[_0xea5bd8(0x136)]&&(_0x4e7f01['hooks']=_0x2a4985[_0xea5bd8(0x136)])),_0x4e7f01;}catch(_0x3fd6ae){return logger[_0xea5bd8(0xd1)](_0xea5bd8(0xd5)+util['format'](_0x3fd6ae)),null;}}async[a91_0x56fed5(0x14e)](_0x19b5a3,_0x48b877,_0x463e4e,_0x35f2d0){const _0xb953a6=a91_0x56fed5,_0x3426af={'BaqkY':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','FIYBx':'jest-circus','DoTeY':_0xb953a6(0x13d),'gJbMp':_0xb953a6(0x12c),'BkjUo':_0xb953a6(0xca),'XAKYy':function(_0x234234,_0x6fac15){return _0x234234===_0x6fac15;},'DVQDc':_0xb953a6(0xa8),'SRpIn':function(_0x591ac5,_0x164cea){return _0x591ac5>_0x164cea;},'BOBXH':_0xb953a6(0xf5),'EryTl':function(_0x28ed16,_0x2c753c){return _0x28ed16(_0x2c753c);},'TOnWJ':_0xb953a6(0x127),'XKSYe':_0xb953a6(0xf3),'IMcAN':_0xb953a6(0x12a),'TCVsm':_0xb953a6(0xdb),'nSTjE':_0xb953a6(0x100),'lBROD':_0xb953a6(0xe6)};logger[_0xb953a6(0xd1)](_0xb953a6(0x154)+_0x463e4e+_0xb953a6(0xf4)+_0x48b877+',\x20testRunId:\x20'+_0x35f2d0);try{if(!_0x19b5a3)return logger[_0xb953a6(0xd1)](_0x3426af['BaqkY']),null;if(this[_0xb953a6(0xb1)](_0x19b5a3))return null;await this[_0xb953a6(0xbd)]();let _0x438517=null;try{_0x438517=this[_0xb953a6(0x107)](_0x19b5a3);if(_0x438517&&_0x438517[_0xb953a6(0xd6)](_0x3426af[_0xb953a6(0x118)]))return null;if(_0x438517&&_0x438517['includes'](_0x3426af['DoTeY']))return null;}catch(_0x5c9863){logger['debug'](_0xb953a6(0xb0)+util[_0xb953a6(0x10a)](_0x5c9863));}const _0x4236e8=this[_0xb953a6(0xea)](_0x19b5a3),_0x119f1c=_0x19b5a3[_0xb953a6(0x151)]||_0x3426af[_0xb953a6(0x131)],_0x4aebc3=HOOK_TYPES_MAP[_0x119f1c]||_0x119f1c[_0xb953a6(0xa4)](),_0x4bafc9=_0x19b5a3['parent']&&_0x19b5a3['parent']['name']?_0x19b5a3[_0xb953a6(0x140)][_0xb953a6(0x157)]:'';let _0x522d52=_0x3426af[_0xb953a6(0x13c)],_0x22ff8a=null,_0x47a915=null,_0x56ccaf=null,_0x816bb=null;_0x3426af[_0xb953a6(0x11d)](_0x463e4e,_0x3426af['DVQDc'])&&(_0x816bb=new Date()[_0xb953a6(0x10e)](),_0x19b5a3[_0xb953a6(0x104)]&&_0x3426af[_0xb953a6(0x117)](_0x19b5a3[_0xb953a6(0x104)]['length'],0x0)?(_0x522d52=_0x3426af[_0xb953a6(0xd8)],_0x47a915=util['inspect'](_0x19b5a3['errorsDetailed'][0x0]),_0x22ff8a=_0x3426af[_0xb953a6(0x158)](getFailureType,_0x47a915),_0x56ccaf=failureData[_0xb953a6(0x116)](null,[_0x19b5a3[_0xb953a6(0x104)],_0x3426af[_0xb953a6(0xe3)]])):_0x522d52=_0x3426af[_0xb953a6(0xf8)]);const _0x3c4507={'uuid':_0x48b877,'type':_0x3426af['IMcAN'],'hook_type':_0x4aebc3,'name':_0x4236e8,'body':{'lang':_0x3426af[_0xb953a6(0x12e)],'code':_0x19b5a3['fn']?_0x19b5a3['fn'][_0xb953a6(0x134)]():null},'tags':[],'test_run_id':_0x35f2d0,'scope':_0x4bafc9,'scopes':[_0x4bafc9],'file_name':_0x438517,'location':_0x438517,'vc_filepath':this['_gitConfigPath']&&_0x438517?path[_0xb953a6(0xdc)](this[_0xb953a6(0x113)],_0x438517):null,'result':_0x522d52,'started_at':_0x19b5a3[_0xb953a6(0x13a)]||new Date()['toISOString'](),'finished_at':_0x816bb,'failure_type':_0x22ff8a,'failure_reason':_0x47a915,'failure_data':_0x56ccaf,'framework':_0x3426af[_0xb953a6(0x115)]};return _0x3426af[_0xb953a6(0x11d)](_0x463e4e,_0x3426af[_0xb953a6(0x102)])&&(hooksMap[_0x35f2d0]?hooksMap[_0x35f2d0]['push'](_0x3c4507):hooksMap[_0x35f2d0]=[_0x3c4507]),_0x3c4507;}catch(_0x8c9b19){return logger[_0xb953a6(0xd1)](_0xb953a6(0xec)+util['format'](_0x8c9b19)),null;}}[a91_0x56fed5(0xc4)](_0x4cafb2,_0x299109,_0x510622){const _0xf3fa30=a91_0x56fed5,_0x51cb42={'LblfM':function(_0x8fde2c,_0x190073){return _0x8fde2c>_0x190073;},'ombeN':_0xf3fa30(0xf5),'chFJd':function(_0x37a151,_0x3e351b){return _0x37a151(_0x3e351b);},'vMaKQ':_0xf3fa30(0x127),'JubKT':_0xf3fa30(0xf3)};try{const _0x54bcaa=hooksMap[_0x4cafb2];if(!_0x54bcaa)return null;const _0x3e70e2=_0x54bcaa[_0xf3fa30(0x13f)](_0x3f51de=>_0x3f51de[_0xf3fa30(0xba)]===_0x299109);if(!_0x3e70e2)return null;return _0x3e70e2[_0xf3fa30(0xd4)]=new Date()[_0xf3fa30(0x10e)](),_0x510622[_0xf3fa30(0x104)]&&_0x51cb42['LblfM'](_0x510622[_0xf3fa30(0x104)][_0xf3fa30(0x14a)],0x0)?(_0x3e70e2[_0xf3fa30(0xd3)]=_0x51cb42[_0xf3fa30(0x12b)],_0x3e70e2[_0xf3fa30(0xbe)]=util[_0xf3fa30(0x147)](_0x510622['errorsDetailed'][0x0]),_0x3e70e2['failure_type']=_0x51cb42['chFJd'](getFailureType,_0x3e70e2[_0xf3fa30(0xbe)]),_0x3e70e2[_0xf3fa30(0xb9)]=failureData[_0xf3fa30(0x116)](null,[_0x510622[_0xf3fa30(0x104)],_0x51cb42[_0xf3fa30(0xee)]])):_0x3e70e2[_0xf3fa30(0xd3)]=_0x51cb42['JubKT'],_0x3e70e2;}catch(_0x13b6a3){return logger[_0xf3fa30(0xd1)](_0xf3fa30(0x149)+util[_0xf3fa30(0x10a)](_0x13b6a3)),null;}}[a91_0x56fed5(0xea)](_0x4485e5){const _0x521132=a91_0x56fed5,_0x257096={};_0x257096['QCpAf']=function(_0x2d2ecf,_0x237a3c){return _0x2d2ecf!==_0x237a3c;},_0x257096[_0x521132(0xb7)]=_0x521132(0x127),_0x257096['sAjFZ']=_0x521132(0xd7);const _0x723e57=_0x257096;if(_0x723e57[_0x521132(0xed)](_0x4485e5[_0x521132(0x151)],_0x723e57[_0x521132(0xb7)]))return'\x22'+_0x4485e5[_0x521132(0x151)]+_0x521132(0x129)+(_0x4485e5['parent']&&_0x4485e5['parent'][_0x521132(0x157)])+'\x22';return _0x4485e5['name']||_0x723e57[_0x521132(0x130)];}[a91_0x56fed5(0x10b)](_0x55b954){const _0x576d8e=a91_0x56fed5,_0x3753a9={};_0x3753a9[_0x576d8e(0x139)]=function(_0x40723e,_0x22baec){return _0x40723e!==_0x22baec;},_0x3753a9[_0x576d8e(0x143)]=function(_0x513db0,_0x56c2a1){return _0x513db0!==_0x56c2a1;},_0x3753a9[_0x576d8e(0x110)]='ROOT_DESCRIBE_BLOCK';const _0x3cee68=_0x3753a9,_0xb43cd1=[];if(_0x55b954&&_0x55b954[_0x576d8e(0x140)]){let _0x40ba25=_0x55b954[_0x576d8e(0x140)];while(_0x40ba25&&_0x40ba25[_0x576d8e(0x157)]&&_0x3cee68['oZxky'](_0x40ba25[_0x576d8e(0x157)],'')&&_0x3cee68[_0x576d8e(0x143)](_0x40ba25[_0x576d8e(0x157)],_0x3cee68[_0x576d8e(0x110)])){_0xb43cd1['push'](_0x40ba25['name']),_0x40ba25=_0x40ba25[_0x576d8e(0x140)];}}return _0xb43cd1['reverse'](),_0xb43cd1;}['getRootParentFile'](_0x47e46e){const _0xd54e86=a91_0x56fed5;if(_0x47e46e[_0xd54e86(0x132)])try{const _0x3d55b6=stackTrace[_0xd54e86(0xef)]['call'](stackTrace,_0x47e46e[_0xd54e86(0x132)]);if(_0x3d55b6[0x0]&&_0x3d55b6[0x0][_0xd54e86(0x125)])return _0x3d55b6[0x0][_0xd54e86(0x125)]();}catch(_0x57c7fb){logger[_0xd54e86(0xd1)](_0xd54e86(0x11b)+util['format'](_0x57c7fb));}if(_0x47e46e[_0xd54e86(0x106)])return _0x47e46e[_0xd54e86(0x106)];return null;}[a91_0x56fed5(0xb1)](_0x552fbd){const _0x23ea3b=a91_0x56fed5,_0x5c6f6c={};_0x5c6f6c[_0x23ea3b(0x119)]=_0x23ea3b(0x11c);const _0x53263b=_0x5c6f6c;try{const _0x314cec=this[_0x23ea3b(0x107)](_0x552fbd);if(_0x314cec&&_0x314cec[_0x23ea3b(0xd6)](_0x53263b[_0x23ea3b(0x119)]))return!![];}catch(_0x3bb74c){logger['debug'](_0x23ea3b(0xfc)+util[_0x23ea3b(0x10a)](_0x3bb74c));}return![];}[a91_0x56fed5(0x153)](_0xe53cbc=null){const _0x585575=a91_0x56fed5;try{const _0x4ec60b=_0xe53cbc||global[_0x585575(0xb8)]||{};if(global[_0x585575(0x14c)])return global[_0x585575(0x14c)];if(_0x4ec60b?.['currentTest']?.[_0x585575(0xe1)])return _0x4ec60b['currentTest'][_0x585575(0xe1)];if(_0x4ec60b?.['currentTest']?.['id'])return _0x4ec60b[_0x585575(0x101)]['id'];return null;}catch(_0x179040){return logger[_0x585575(0xd1)](_0x585575(0xc0)+util['format'](_0x179040)),null;}}async['configureGit'](){const _0xe521ed=a91_0x56fed5,_0x1142dd={'QbWTG':function(_0x3b7e3c){return _0x3b7e3c();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0xc16ade=await _0x1142dd[_0xe521ed(0xe9)](getGitMetaData);_0xc16ade&&(this[_0xe521ed(0x113)]=_0xc16ade[_0xe521ed(0xa7)]),this[_0xe521ed(0x148)]=!![];}[a91_0x56fed5(0xf6)](_0x5789bc){hooksMap[_0x5789bc]&&delete hooksMap[_0x5789bc];}['extractTestFilePath'](_0x436497){const _0xff0801=a91_0x56fed5,_0x20dcb6={'zlkwv':_0xff0801(0x11c),'DIVda':function(_0x315c79,_0x40ab4b){return _0x315c79(_0x40ab4b);},'MSpEX':_0xff0801(0xff)};if(_0x436497['file'])return _0x436497[_0xff0801(0x106)];if(_0x436497[_0xff0801(0x132)]){try{const _0x3f2cf4=stackTrace[_0xff0801(0xef)](_0x436497[_0xff0801(0x132)]);if(_0x3f2cf4[0x0]&&_0x3f2cf4[0x0][_0xff0801(0x125)]){const _0x3ceae5=_0x3f2cf4[0x0][_0xff0801(0x125)]();if(_0x3ceae5&&!_0x3ceae5[_0xff0801(0xd6)](_0x20dcb6[_0xff0801(0xcd)]))return _0x3ceae5;}}catch(_0x2e88c9){logger[_0xff0801(0xd1)](_0xff0801(0xc2)+util[_0xff0801(0x10a)](_0x2e88c9));}if(_0x436497[_0xff0801(0x132)][_0xff0801(0xe4)]){const _0x4f3833=_0x436497[_0xff0801(0x132)][_0xff0801(0xe4)][_0xff0801(0xd2)]('\x0a');for(const _0x5901d4 of _0x4f3833){const _0x143bf3=_0x5901d4['match'](/at (.+?):\d+:\d+/);if(_0x143bf3&&_0x143bf3[0x1]&&!_0x143bf3[0x1]['includes'](_0x20dcb6['zlkwv']))return _0x143bf3[0x1];}}}let _0x148583=_0x436497[_0xff0801(0x140)];while(_0x148583){if(_0x148583[_0xff0801(0x106)])return _0x148583[_0xff0801(0x106)];if(_0x148583[_0xff0801(0x132)])try{const _0x3d9931=stackTrace['parse'](_0x148583['asyncError']);if(_0x3d9931[0x0]&&_0x3d9931[0x0][_0xff0801(0x125)]){const _0x373223=_0x3d9931[0x0][_0xff0801(0x125)]();if(_0x373223&&!_0x373223[_0xff0801(0xd6)](_0x20dcb6['zlkwv']))return _0x373223;}}catch(_0x14a3f0){}_0x148583=_0x148583[_0xff0801(0x140)];}try{const _0x59ee26=_0x20dcb6[_0xff0801(0x111)](require,_0x20dcb6[_0xff0801(0x152)]);if(_0x59ee26&&_0x59ee26['getState']){const _0x3a3b8b=_0x59ee26[_0xff0801(0x141)]();if(_0x3a3b8b&&_0x3a3b8b[_0xff0801(0xe0)])return _0x3a3b8b[_0xff0801(0xe0)];}}catch(_0x2c93e6){logger[_0xff0801(0xd1)](_0xff0801(0x10d)+util[_0xff0801(0x10a)](_0x2c93e6));}return null;}[a91_0x56fed5(0x109)](_0x212e63){const _0xb15793=a91_0x56fed5,_0x71e410={};_0x71e410['kzHcY']=_0xb15793(0xa5),_0x71e410[_0xb15793(0x144)]=function(_0x41babf,_0x389a07){return _0x41babf!==_0x389a07;},_0x71e410[_0xb15793(0xe7)]=_0xb15793(0xc8),_0x71e410[_0xb15793(0x150)]=_0xb15793(0x11c),_0x71e410[_0xb15793(0x15a)]=_0xb15793(0x156),_0x71e410[_0xb15793(0x121)]=_0xb15793(0xad);const _0x4ac2da=_0x71e410;try{if(!_0x212e63)return logger[_0xb15793(0x135)](_0x4ac2da[_0xb15793(0x10f)]),null;const _0x3cd2ad=_0x212e63[_0xb15793(0xda)]||_0x212e63['name']||_0x212e63['title']||_0x212e63[_0xb15793(0xfe)];let _0x3614af=_0x3cd2ad;if(_0x212e63[_0xb15793(0x140)]&&_0x212e63[_0xb15793(0x140)][_0xb15793(0x157)]&&_0x4ac2da[_0xb15793(0x144)](_0x212e63[_0xb15793(0x140)][_0xb15793(0x157)],_0x4ac2da[_0xb15793(0xe7)])){const _0x4b2884=_0x212e63[_0xb15793(0x157)]||_0x212e63['title'];_0x4b2884&&(_0x3614af=_0x212e63[_0xb15793(0x140)][_0xb15793(0x157)]+'\x20'+_0x4b2884);}let _0x573362=_0x212e63[_0xb15793(0xe0)];if(!_0x573362&&_0x212e63['asyncError']){try{const _0x472357=stackTrace[_0xb15793(0xef)](_0x212e63[_0xb15793(0x132)]);if(_0x472357[0x0]&&_0x472357[0x0][_0xb15793(0x125)]){const _0x761d60=_0x472357[0x0][_0xb15793(0x125)]();_0x761d60&&!_0x761d60[_0xb15793(0xd6)](_0x4ac2da['PcFgq'])&&(_0x573362=_0x761d60);}}catch(_0x643dcb){logger[_0xb15793(0xd1)](_0xb15793(0xc2)+util[_0xb15793(0x10a)](_0x643dcb));}if(!_0x573362&&_0x212e63[_0xb15793(0x132)]['stack']){const _0x345b58=_0x212e63['asyncError'][_0xb15793(0xe4)][_0xb15793(0xd2)]('\x0a');for(const _0xcb144e of _0x345b58){const _0x513e64=_0xcb144e[_0xb15793(0xeb)](/at (.+?):\d+:\d+/);if(_0x513e64&&_0x513e64[0x1]&&!_0x513e64[0x1][_0xb15793(0xd6)](_0x4ac2da[_0xb15793(0x150)])){_0x573362=_0x513e64[0x1];break;}}}}const _0x1f5fa6=_0x573362+'::'+_0x3614af,_0xdb1ff=crypto[_0xb15793(0xe5)](_0x4ac2da[_0xb15793(0x15a)])[_0xb15793(0x142)](_0x1f5fa6)['digest'](_0x4ac2da['nZhbi'])[_0xb15793(0xf2)](0x0,0x8),_0x9ce746=process[_0xb15793(0xbf)]+':jest-'+_0xdb1ff;return logger[_0xb15793(0xd1)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x9ce746+_0xb15793(0xa3)+_0x1f5fa6),_0x9ce746;}catch(_0x4f5867){return logger[_0xb15793(0x135)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0xb15793(0x10a)](_0x4f5867)),null;}}['createIdentifierFromJestTest'](_0xb724f1){const _0x50f89e=a91_0x56fed5,_0x399bcc={};_0x399bcc[_0x50f89e(0xce)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x5a007a=_0x399bcc;if(!_0xb724f1)return logger['debug'](_0x5a007a[_0x50f89e(0xce)]),null;const _0x2b4d81=this[_0x50f89e(0xaa)](_0xb724f1),_0x100875={};_0x100875['name']=_0xb724f1[_0x50f89e(0x157)]||_0xb724f1['title'],_0x100875[_0x50f89e(0x140)]=_0xb724f1['parent'],_0x100875['testPath']=_0x2b4d81,_0x100875['asyncError']=_0xb724f1['asyncError'];const _0x57712e=_0x100875;return this[_0x50f89e(0x109)](_0x57712e);}[a91_0x56fed5(0x11f)](_0x7ea600){const _0x7be260=a91_0x56fed5,_0x5e618d={};_0x5e618d[_0x7be260(0x14d)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0xe026ac=_0x5e618d;if(!_0x7ea600)return logger[_0x7be260(0xd1)](_0xe026ac[_0x7be260(0x14d)]),null;if(_0x7ea600[_0x7be260(0xfd)])return logger['debug'](_0x7be260(0xab)+_0x7ea600[_0x7be260(0xfd)]),_0x7ea600['testIdentifier'];return this[_0x7be260(0x109)](_0x7ea600);}}module[a91_0x56fed5(0x123)]=o11yClassErrorHandler(JestUtils,[a91_0x56fed5(0xbd),a91_0x56fed5(0x10b),a91_0x56fed5(0x107),'getName',a91_0x56fed5(0xb1),a91_0x56fed5(0x153),a91_0x56fed5(0xfb),a91_0x56fed5(0x14e),a91_0x56fed5(0xc4),a91_0x56fed5(0xf6),'extractTestFilePath',a91_0x56fed5(0x109),'createIdentifierFromJestTest',a91_0x56fed5(0x11f)]);
1
+ function a91_0x241b(){const _0x24a29c=['ZuxKk','started_at','../../../helpers/helper.js','pkRYC','finished_at','pid','1289736jQeRlY',',\x20testIdentifier:\x20','split','debug','DZeSi','match','clearHooksMap','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','parse','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','susIO','1963095vxpXQQ','hlMWV','9489571LRpVdu','expect','uuid','JhYeh','toString','length','3840309homTkF','228644SUGDee','getHookRunEventData','failed','push','plDkn','HookRunStarted','GTCdD','Rgpyi','vNFYo','failure_backtrace','Cxbkd','title',',\x20testRunId:\x20','result','__jestCurrentTestIdentifier','relative',',\x20hookUUID:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','GXQVw','2TYGwTQ','testIdentifier','testPath','crypto','RlJcI','sjoKs','ZmClp','toISOString','asyncError','failure','ifQiw','12fwhxSh','apply','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','AFTER_ALL','5236130ZfJQdQ','BtcIf','Exception\x20in\x20createTestFrameworkData:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','PvnJg','parent','type','afterAll','FnlTg','currentTest','afterEach','getTime','AHOis','hook','testAnalyticsId','SvQon','uFUCM','errorsDetailed','createHookData','format','zExcQ','pGUgd','klzlX','Nfprw','kVLWt','configureGit','exports','../TestInfo.js','../../../helpers/test-observability/error-handler.js','getState','8vawWvD','QHWPD','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','OnjZG','OIGaX','_gitConfigPath','NwRlQ','browserstack-node-agent/src/bin/jest','[jestUtils]\x20No\x20test\x20object\x20provided','NHoYb','../../../helpers/test-observability/utils','EAeXJ','ibKAV','JFhjA','find','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','inspect','kNBrv','ReUhJ','backtrace','_gitConfigured','getFileName','yXAGv','stack','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','failure_reason_expanded','Creating\x20hook\x20data\x20for\x20eventType:\x20','extractTestFilePath','javascript','300174fUnCTa','rjODU','substring','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','yQGau','UfOcm','skipped','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','\x20from\x20compositeKey:\x20','ljccz','ymJEo','error','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','path','passed','kvykd','fullName','createTestFrameworkData','name','JZcnZ','failure_reason','duration','now','xNYjh','TestRunFinished','TJDhA','../../../helpers/logger.js','jbvTW','hex','BEFORE_ALL','includes','getRootParentFile','HookRunFinished','vZQKC','jiJYb','30QDaLez','call',':jest-','displayName','reverse','Gfler','getName','recreateIdentifierFromTestInfo','Exception\x20in\x20createHookData:\x20','jest-circus','createIdentifierFromJestTest','CBpWN','boVRs','failure_data','file','8wGObzO','JiIdF','beforeAll','ROOT_DESCRIBE_BLOCK','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','unknown','createJestTestIdentifier','Unknown\x20Test','kOnxU','jest','TestRunSkipped','\x22\x20hook\x20for\x20\x22','isJestInternalHook','toUpperCase','stack-trace','test','getHierarchy','SjWhj','startedAt','hFcdv','hooks'];a91_0x241b=function(){return _0x24a29c;};return a91_0x241b();}const a91_0x2c7416=a91_0x2e66;function a91_0x2e66(_0x325994,_0x4620ed){const _0x241b45=a91_0x241b();return a91_0x2e66=function(_0x2e6689,_0xf602d2){_0x2e6689=_0x2e6689-0x121;let _0x575eb9=_0x241b45[_0x2e6689];return _0x575eb9;},a91_0x2e66(_0x325994,_0x4620ed);}(function(_0x14dfce,_0x53382e){const _0x581975=a91_0x2e66,_0x41d9fd=_0x14dfce();while(!![]){try{const _0xeb6425=-parseInt(_0x581975(0x1db))/0x1*(parseInt(_0x581975(0x130))/0x2)+-parseInt(_0x581975(0x1d2))/0x3*(parseInt(_0x581975(0x15d))/0x4)+parseInt(_0x581975(0x13f))/0x5+-parseInt(_0x581975(0x17a))/0x6+-parseInt(_0x581975(0x1d4))/0x7*(-parseInt(_0x581975(0x1ac))/0x8)+-parseInt(_0x581975(0x1c7))/0x9*(-parseInt(_0x581975(0x19d))/0xa)+-parseInt(_0x581975(0x1da))/0xb*(parseInt(_0x581975(0x13b))/0xc);if(_0xeb6425===_0x53382e)break;else _0x41d9fd['push'](_0x41d9fd['shift']());}catch(_0xe92e7){_0x41d9fd['push'](_0x41d9fd['shift']());}}}(a91_0x241b,0xdad0d));const path=require(a91_0x2c7416(0x187)),util=require('util'),crypto=require(a91_0x2c7416(0x133)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x2c7416(0x1c3)),logger=require(a91_0x2c7416(0x194))['winstonLogger'],{o11yClassErrorHandler}=require(a91_0x2c7416(0x15b)),TestInfo=require(a91_0x2c7416(0x15a)),{failureData,getFailureType}=require(a91_0x2c7416(0x167)),stackTrace=require(a91_0x2c7416(0x1ba)),a91_0x116e0a={};a91_0x116e0a[a91_0x2c7416(0x1ae)]=a91_0x2c7416(0x197),a91_0x116e0a[a91_0x2c7416(0x146)]=a91_0x2c7416(0x13e),a91_0x116e0a['beforeEach']='BEFORE_EACH',a91_0x116e0a[a91_0x2c7416(0x149)]='AFTER_EACH';const HOOK_TYPES_MAP=a91_0x116e0a,hooksMap={};class JestUtils{constructor(){const _0x244f84=a91_0x2c7416;this[_0x244f84(0x171)]=![],this[_0x244f84(0x162)]=null;}async[a91_0x2c7416(0x18b)](_0x204b96,_0x41dfcd,_0x4f775a='TestRunFinished',_0x44c609=undefined){const _0x3011ae=a91_0x2c7416,_0x1abf3c={'IGojy':_0x3011ae(0x16c),'DZeSi':_0x3011ae(0x1a6),'kvykd':function(_0x235961,_0x5d09a3){return _0x235961||_0x5d09a3;},'Nfprw':'File\x20path\x20could\x20not\x20be\x20found','kOnxU':function(_0x33fc74,_0x3e7c3d){return _0x33fc74!==_0x3e7c3d;},'BtcIf':_0x3011ae(0x1bb),'ifQiw':function(_0x41eda6,_0x56c0b4){return _0x41eda6!==_0x56c0b4;},'pGUgd':'err','kNBrv':function(_0x5d336b,_0x5e23eb){return _0x5d336b!==_0x5e23eb;},'vNFYo':function(_0x12286e,_0x510fa4){return _0x12286e!==_0x510fa4;},'GTCdD':'pending','NHoYb':function(_0x2369d1,_0x211aab){return _0x2369d1===_0x211aab;},'Gfler':_0x3011ae(0x1b6),'QHWPD':_0x3011ae(0x180),'jiJYb':function(_0x131a17,_0x2c3bc2){return _0x131a17>_0x2c3bc2;},'JZcnZ':_0x3011ae(0x1dd),'PvnJg':_0x3011ae(0x188),'UfOcm':function(_0xd0ab0a,_0x5e469b){return _0xd0ab0a-_0x5e469b;},'MOnZx':_0x3011ae(0x179),'taCrK':_0x3011ae(0x1b5),'ymJEo':function(_0x1270c5,_0x273080){return _0x1270c5(_0x273080);},'TJDhA':function(_0x171d72,_0x4ce1b7){return _0x171d72===_0x4ce1b7;},'RlJcI':_0x3011ae(0x192)};logger[_0x3011ae(0x1ca)](_0x3011ae(0x181)+_0x4f775a+_0x3011ae(0x1c8)+_0x41dfcd);try{if(!_0x204b96)return logger[_0x3011ae(0x1ca)](_0x1abf3c['IGojy']),null;if(_0x204b96['fn']&&_0x204b96['fn']['toString']()[_0x3011ae(0x1cc)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x3b1df4;try{_0x3b1df4=this[_0x3011ae(0x199)](_0x204b96);if(_0x3b1df4&&_0x3b1df4[_0x3011ae(0x198)](_0x1abf3c[_0x3011ae(0x1cb)]))return null;}catch(_0x572125){logger[_0x3011ae(0x1ca)](_0x3011ae(0x12e)+util[_0x3011ae(0x152)](_0x572125)),_0x3b1df4=null;}const _0x42c890=this[_0x3011ae(0x1bc)](_0x204b96),_0x823f02=this[_0x3011ae(0x1a3)](_0x204b96),_0x496713=_0x1abf3c[_0x3011ae(0x189)](_0x3b1df4,_0x1abf3c[_0x3011ae(0x156)]);let _0x422475=[];if(_0x1abf3c[_0x3011ae(0x1b4)](_0x204b96[_0x3011ae(0x150)],undefined))_0x422475=[_0x204b96[_0x3011ae(0x150)],_0x1abf3c['BtcIf']];else _0x1abf3c[_0x3011ae(0x13a)](_0x44c609,undefined)&&(_0x422475=[_0x44c609,_0x1abf3c[_0x3011ae(0x154)]]);const _0x5ae2b0=_0x1abf3c[_0x3011ae(0x16e)](_0x204b96['errorsDetailed'],undefined)?util['inspect'](_0x204b96[_0x3011ae(0x150)][0x0]):_0x1abf3c[_0x3011ae(0x125)](_0x44c609,undefined)?_0x44c609[_0x3011ae(0x1d8)]():undefined;let _0x30559b=_0x1abf3c[_0x3011ae(0x123)];if(_0x1abf3c[_0x3011ae(0x166)](_0x4f775a,_0x1abf3c[_0x3011ae(0x1a2)]))_0x30559b=_0x1abf3c[_0x3011ae(0x15e)];else _0x204b96[_0x3011ae(0x150)]&&_0x1abf3c[_0x3011ae(0x19c)](_0x204b96[_0x3011ae(0x150)][_0x3011ae(0x1d9)],0x0)?_0x30559b=_0x1abf3c[_0x3011ae(0x18d)]:_0x30559b=_0x1abf3c[_0x3011ae(0x143)];let _0x3591d7=null;if(_0x1abf3c['kNBrv'](_0x204b96[_0x3011ae(0x18f)],undefined))_0x3591d7=_0x204b96['duration'];else(_0x4f775a['match'](/Finished/)||_0x4f775a[_0x3011ae(0x1cc)](/Skipped/))&&(_0x204b96[_0x3011ae(0x1c2)]&&(_0x3591d7=_0x1abf3c[_0x3011ae(0x17f)](Date[_0x3011ae(0x190)](),new Date(_0x204b96[_0x3011ae(0x1c2)])[_0x3011ae(0x14a)]())));const _0x52409b=_0x204b96['fn']?_0x204b96['fn']['toString']():null,_0x2a8a84={'id':_0x41dfcd,'uuid':_0x41dfcd,'startedAt':_0x204b96[_0x3011ae(0x1c2)]||new Date()['toISOString'](),'finishedAt':_0x4f775a['match'](/Finished/)||_0x4f775a[_0x3011ae(0x1cc)](/Skipped/)?new Date()[_0x3011ae(0x137)]():null,'type':_0x1abf3c[_0x3011ae(0x140)],'body':{'lang':_0x1abf3c['MOnZx'],'code':_0x52409b},'name':_0x823f02,'scopes':_0x42c890,'file_name':_0x496713,'location':_0x496713,'vc_filepath':this[_0x3011ae(0x162)]&&_0x3b1df4?path[_0x3011ae(0x12c)](this['_gitConfigPath'],_0x3b1df4):null,'framework':_0x1abf3c['taCrK'],'result':_0x30559b,'failure_reason':_0x5ae2b0,'duration_in_ms':_0x3591d7,'failure':failureData['apply'](null,_0x422475),'failure_type':!_0x5ae2b0?null:_0x1abf3c[_0x3011ae(0x184)](getFailureType,_0x5ae2b0),'retry_of':_0x204b96['retryOf']||null,'customRerunParam':{'rerun_name':_0x823f02}};_0x1abf3c[_0x3011ae(0x193)](_0x4f775a,_0x1abf3c[_0x3011ae(0x1a2)])&&!_0x2a8a84[_0x3011ae(0x1be)]&&(_0x2a8a84[_0x3011ae(0x1be)]=_0x2a8a84['finishedAt']);const _0x400792=_0x2a8a84[_0x3011ae(0x139)]&&_0x2a8a84[_0x3011ae(0x139)][0x0];return _0x400792&&(_0x2a8a84[_0x3011ae(0x126)]=_0x400792[_0x3011ae(0x170)],_0x2a8a84[_0x3011ae(0x176)]=_0x400792['expanded']),(_0x1abf3c[_0x3011ae(0x193)](_0x4f775a,_0x1abf3c[_0x3011ae(0x134)])||_0x1abf3c[_0x3011ae(0x166)](_0x4f775a,_0x1abf3c[_0x3011ae(0x1a2)]))&&(_0x204b96[_0x3011ae(0x1c0)]&&(_0x2a8a84[_0x3011ae(0x1c0)]=_0x204b96[_0x3011ae(0x1c0)])),_0x2a8a84;}catch(_0x2dde0f){return logger[_0x3011ae(0x1ca)](_0x3011ae(0x141)+util['format'](_0x2dde0f)),null;}}async[a91_0x2c7416(0x151)](_0xe40a77,_0x59b04a,_0x4f8f22,_0x2b35dc){const _0x2dbddb=a91_0x2c7416,_0x160d95={'OUHSG':_0x2dbddb(0x1ce),'boVRs':_0x2dbddb(0x1a6),'zZqoV':_0x2dbddb(0x164),'BOhEI':_0x2dbddb(0x1b1),'klzlX':'pending','uFUCM':function(_0x2242ac,_0x247e38){return _0x2242ac===_0x247e38;},'xtVJT':_0x2dbddb(0x19a),'xNYjh':function(_0x4dc75f,_0x39af17){return _0x4dc75f>_0x39af17;},'vZQKC':'failed','jbvTW':function(_0x5e346b,_0x1a1a81){return _0x5e346b(_0x1a1a81);},'SvQon':'test','ReUhJ':'passed','susIO':_0x2dbddb(0x14c),'hlMWV':_0x2dbddb(0x179),'ljccz':_0x2dbddb(0x1b5),'plDkn':function(_0x20e613,_0x362483){return _0x20e613===_0x362483;},'OIGaX':_0x2dbddb(0x122)};logger[_0x2dbddb(0x1ca)](_0x2dbddb(0x177)+_0x4f8f22+_0x2dbddb(0x12d)+_0x59b04a+_0x2dbddb(0x129)+_0x2b35dc);try{if(!_0xe40a77)return logger[_0x2dbddb(0x1ca)](_0x160d95['OUHSG']),null;if(this[_0x2dbddb(0x1b8)](_0xe40a77))return null;await this[_0x2dbddb(0x158)]();let _0x126daf=null;try{_0x126daf=this[_0x2dbddb(0x199)](_0xe40a77);if(_0x126daf&&_0x126daf[_0x2dbddb(0x198)](_0x160d95[_0x2dbddb(0x1a9)]))return null;if(_0x126daf&&_0x126daf['includes'](_0x160d95['zZqoV']))return null;}catch(_0x261357){logger[_0x2dbddb(0x1ca)]('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0x2dbddb(0x152)](_0x261357));}const _0x14c6d8=this[_0x2dbddb(0x1a3)](_0xe40a77),_0x4e2500=_0xe40a77[_0x2dbddb(0x145)]||_0x160d95['BOhEI'],_0x125b48=HOOK_TYPES_MAP[_0x4e2500]||_0x4e2500[_0x2dbddb(0x1b9)](),_0x855f6a=_0xe40a77['parent']&&_0xe40a77[_0x2dbddb(0x144)][_0x2dbddb(0x18c)]?_0xe40a77[_0x2dbddb(0x144)]['name']:'';let _0x9cfdca=_0x160d95[_0x2dbddb(0x155)],_0x113488=null,_0x2548fb=null,_0x3867b5=null,_0x572bbd=null;_0x160d95[_0x2dbddb(0x14f)](_0x4f8f22,_0x160d95['xtVJT'])&&(_0x572bbd=new Date()[_0x2dbddb(0x137)](),_0xe40a77[_0x2dbddb(0x150)]&&_0x160d95[_0x2dbddb(0x191)](_0xe40a77[_0x2dbddb(0x150)][_0x2dbddb(0x1d9)],0x0)?(_0x9cfdca=_0x160d95[_0x2dbddb(0x19b)],_0x2548fb=util[_0x2dbddb(0x16d)](_0xe40a77[_0x2dbddb(0x150)][0x0]),_0x113488=_0x160d95[_0x2dbddb(0x195)](getFailureType,_0x2548fb),_0x3867b5=failureData['apply'](null,[_0xe40a77[_0x2dbddb(0x150)],_0x160d95[_0x2dbddb(0x14e)]])):_0x9cfdca=_0x160d95[_0x2dbddb(0x16f)]);const _0x4b10ee={'uuid':_0x59b04a,'type':_0x160d95[_0x2dbddb(0x1d1)],'hook_type':_0x125b48,'name':_0x14c6d8,'body':{'lang':_0x160d95[_0x2dbddb(0x1d3)],'code':_0xe40a77['fn']?_0xe40a77['fn'][_0x2dbddb(0x1d8)]():null},'tags':[],'test_run_id':_0x2b35dc,'scope':_0x855f6a,'scopes':[_0x855f6a],'file_name':_0x126daf,'location':_0x126daf,'vc_filepath':this['_gitConfigPath']&&_0x126daf?path[_0x2dbddb(0x12c)](this['_gitConfigPath'],_0x126daf):null,'result':_0x9cfdca,'started_at':_0xe40a77[_0x2dbddb(0x1c2)]||new Date()[_0x2dbddb(0x137)](),'finished_at':_0x572bbd,'failure_type':_0x113488,'failure_reason':_0x2548fb,'failure_data':_0x3867b5,'framework':_0x160d95[_0x2dbddb(0x183)]};return _0x160d95[_0x2dbddb(0x121)](_0x4f8f22,_0x160d95[_0x2dbddb(0x161)])&&(hooksMap[_0x2b35dc]?hooksMap[_0x2b35dc][_0x2dbddb(0x1de)](_0x4b10ee):hooksMap[_0x2b35dc]=[_0x4b10ee]),_0x4b10ee;}catch(_0x523cad){return logger['debug'](_0x2dbddb(0x1a5)+util[_0x2dbddb(0x152)](_0x523cad)),null;}}[a91_0x2c7416(0x1dc)](_0x72024b,_0x295efd,_0x4f30f2){const _0x305276=a91_0x2c7416,_0x3e273b={'yXAGv':function(_0x58c88b,_0x51aa04){return _0x58c88b>_0x51aa04;},'ibKAV':_0x305276(0x1dd),'Cxbkd':function(_0x5e91d2,_0x56ba9f){return _0x5e91d2(_0x56ba9f);},'JhYeh':_0x305276(0x1bb),'AHOis':'passed'};try{const _0x1e70a9=hooksMap[_0x72024b];if(!_0x1e70a9)return null;const _0x16e3dc=_0x1e70a9[_0x305276(0x16b)](_0x1050cd=>_0x1050cd[_0x305276(0x1d6)]===_0x295efd);if(!_0x16e3dc)return null;return _0x16e3dc[_0x305276(0x1c5)]=new Date()[_0x305276(0x137)](),_0x4f30f2['errorsDetailed']&&_0x3e273b[_0x305276(0x173)](_0x4f30f2[_0x305276(0x150)]['length'],0x0)?(_0x16e3dc[_0x305276(0x12a)]=_0x3e273b[_0x305276(0x169)],_0x16e3dc[_0x305276(0x18e)]=util[_0x305276(0x16d)](_0x4f30f2[_0x305276(0x150)][0x0]),_0x16e3dc['failure_type']=_0x3e273b[_0x305276(0x127)](getFailureType,_0x16e3dc['failure_reason']),_0x16e3dc[_0x305276(0x1aa)]=failureData[_0x305276(0x13c)](null,[_0x4f30f2[_0x305276(0x150)],_0x3e273b[_0x305276(0x1d7)]])):_0x16e3dc[_0x305276(0x12a)]=_0x3e273b[_0x305276(0x14b)],_0x16e3dc;}catch(_0x384259){return logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x384259)),null;}}[a91_0x2c7416(0x1a3)](_0x39e5fa){const _0x26832a=a91_0x2c7416,_0x5d7beb={};_0x5d7beb[_0x26832a(0x1ad)]=function(_0x3e6771,_0x5b2ba3){return _0x3e6771!==_0x5b2ba3;},_0x5d7beb[_0x26832a(0x12f)]=_0x26832a(0x1bb),_0x5d7beb[_0x26832a(0x1c4)]=_0x26832a(0x1b3);const _0x4ce2a4=_0x5d7beb;if(_0x4ce2a4['JiIdF'](_0x39e5fa[_0x26832a(0x145)],_0x4ce2a4[_0x26832a(0x12f)]))return'\x22'+_0x39e5fa[_0x26832a(0x145)]+_0x26832a(0x1b7)+(_0x39e5fa[_0x26832a(0x144)]&&_0x39e5fa[_0x26832a(0x144)][_0x26832a(0x18c)])+'\x22';return _0x39e5fa[_0x26832a(0x18c)]||_0x4ce2a4[_0x26832a(0x1c4)];}[a91_0x2c7416(0x1bc)](_0x8a04ed){const _0x352467=a91_0x2c7416,_0xa839f1={};_0xa839f1[_0x352467(0x1bf)]=function(_0x857dac,_0x276742){return _0x857dac!==_0x276742;},_0xa839f1[_0x352467(0x157)]=function(_0x33fdb2,_0x119514){return _0x33fdb2!==_0x119514;},_0xa839f1[_0x352467(0x160)]=_0x352467(0x1af);const _0x8d47bb=_0xa839f1,_0x10b464=[];if(_0x8a04ed&&_0x8a04ed['parent']){let _0x41dc0b=_0x8a04ed[_0x352467(0x144)];while(_0x41dc0b&&_0x41dc0b[_0x352467(0x18c)]&&_0x8d47bb[_0x352467(0x1bf)](_0x41dc0b[_0x352467(0x18c)],'')&&_0x8d47bb[_0x352467(0x157)](_0x41dc0b[_0x352467(0x18c)],_0x8d47bb['OnjZG'])){_0x10b464[_0x352467(0x1de)](_0x41dc0b[_0x352467(0x18c)]),_0x41dc0b=_0x41dc0b[_0x352467(0x144)];}}return _0x10b464[_0x352467(0x1a1)](),_0x10b464;}[a91_0x2c7416(0x199)](_0x256e4f){const _0x359e9f=a91_0x2c7416;if(_0x256e4f[_0x359e9f(0x138)])try{const _0x4c23e4=stackTrace[_0x359e9f(0x1cf)][_0x359e9f(0x19e)](stackTrace,_0x256e4f['asyncError']);if(_0x4c23e4[0x0]&&_0x4c23e4[0x0]['getFileName'])return _0x4c23e4[0x0]['getFileName']();}catch(_0x522eb7){logger['debug'](_0x359e9f(0x186)+util[_0x359e9f(0x152)](_0x522eb7));}if(_0x256e4f[_0x359e9f(0x1ab)])return _0x256e4f[_0x359e9f(0x1ab)];return null;}[a91_0x2c7416(0x1b8)](_0xe8c738){const _0x5c916f=a91_0x2c7416,_0x53e57c={};_0x53e57c['yQGau']=_0x5c916f(0x1a6);const _0x17c6c5=_0x53e57c;try{const _0x4179cc=this[_0x5c916f(0x199)](_0xe8c738);if(_0x4179cc&&_0x4179cc[_0x5c916f(0x198)](_0x17c6c5[_0x5c916f(0x17e)]))return!![];}catch(_0x599af9){logger['debug'](_0x5c916f(0x1d0)+util['format'](_0x599af9));}return![];}['getTestIdentifier'](_0x4e193b=null){const _0x5402fd=a91_0x2c7416;try{const _0x344db6=_0x4e193b||global['__workerDetails']||{};if(global[_0x5402fd(0x12b)])return global[_0x5402fd(0x12b)];if(_0x344db6?.['currentTest']?.[_0x5402fd(0x14d)])return _0x344db6['currentTest'][_0x5402fd(0x14d)];if(_0x344db6?.[_0x5402fd(0x148)]?.['id'])return _0x344db6[_0x5402fd(0x148)]['id'];return null;}catch(_0x93b140){return logger[_0x5402fd(0x1ca)](_0x5402fd(0x13d)+util[_0x5402fd(0x152)](_0x93b140)),null;}}async[a91_0x2c7416(0x158)](){const _0x1380e2=a91_0x2c7416,_0x55363d={'sjoKs':function(_0x4a8d75){return _0x4a8d75();}};if(this[_0x1380e2(0x171)])return this[_0x1380e2(0x162)];const _0x24fc91=await _0x55363d[_0x1380e2(0x135)](getGitMetaData);_0x24fc91&&(this[_0x1380e2(0x162)]=_0x24fc91['root']),this[_0x1380e2(0x171)]=!![];}['clearHooksMap'](_0x8e743b){hooksMap[_0x8e743b]&&delete hooksMap[_0x8e743b];}[a91_0x2c7416(0x178)](_0x3071c7){const _0x3880f8=a91_0x2c7416,_0xa06a79={'FnlTg':_0x3880f8(0x1a6),'rjODU':function(_0x50eeb8,_0x5cb1fe){return _0x50eeb8(_0x5cb1fe);},'CBpWN':_0x3880f8(0x1d5)};if(_0x3071c7[_0x3880f8(0x1ab)])return _0x3071c7['file'];if(_0x3071c7[_0x3880f8(0x138)]){try{const _0x543449=stackTrace[_0x3880f8(0x1cf)](_0x3071c7[_0x3880f8(0x138)]);if(_0x543449[0x0]&&_0x543449[0x0][_0x3880f8(0x172)]){const _0x45d916=_0x543449[0x0]['getFileName']();if(_0x45d916&&!_0x45d916['includes'](_0xa06a79[_0x3880f8(0x147)]))return _0x45d916;}}catch(_0x1a0532){logger['debug'](_0x3880f8(0x1b0)+util[_0x3880f8(0x152)](_0x1a0532));}if(_0x3071c7[_0x3880f8(0x138)][_0x3880f8(0x174)]){const _0x55a932=_0x3071c7[_0x3880f8(0x138)][_0x3880f8(0x174)][_0x3880f8(0x1c9)]('\x0a');for(const _0x3661e8 of _0x55a932){const _0x3b7718=_0x3661e8[_0x3880f8(0x1cc)](/at (.+?):\d+:\d+/);if(_0x3b7718&&_0x3b7718[0x1]&&!_0x3b7718[0x1][_0x3880f8(0x198)](_0xa06a79[_0x3880f8(0x147)]))return _0x3b7718[0x1];}}}let _0x1a1f65=_0x3071c7[_0x3880f8(0x144)];while(_0x1a1f65){if(_0x1a1f65[_0x3880f8(0x1ab)])return _0x1a1f65[_0x3880f8(0x1ab)];if(_0x1a1f65[_0x3880f8(0x138)])try{const _0x2c8fd2=stackTrace[_0x3880f8(0x1cf)](_0x1a1f65[_0x3880f8(0x138)]);if(_0x2c8fd2[0x0]&&_0x2c8fd2[0x0][_0x3880f8(0x172)]){const _0x371a5c=_0x2c8fd2[0x0][_0x3880f8(0x172)]();if(_0x371a5c&&!_0x371a5c['includes'](_0xa06a79[_0x3880f8(0x147)]))return _0x371a5c;}}catch(_0x24184a){}_0x1a1f65=_0x1a1f65[_0x3880f8(0x144)];}try{const _0x4e9b76=_0xa06a79[_0x3880f8(0x17b)](require,_0xa06a79[_0x3880f8(0x1a8)]);if(_0x4e9b76&&_0x4e9b76[_0x3880f8(0x15c)]){const _0x6c95db=_0x4e9b76[_0x3880f8(0x15c)]();if(_0x6c95db&&_0x6c95db[_0x3880f8(0x132)])return _0x6c95db['testPath'];}}catch(_0x3e3065){logger['debug'](_0x3880f8(0x142)+util[_0x3880f8(0x152)](_0x3e3065));}return null;}['createJestTestIdentifier'](_0x484838){const _0x207f2e=a91_0x2c7416,_0x5f2b4c={};_0x5f2b4c[_0x207f2e(0x16a)]=_0x207f2e(0x175),_0x5f2b4c[_0x207f2e(0x153)]=function(_0x14becf,_0x10c200){return _0x14becf!==_0x10c200;},_0x5f2b4c[_0x207f2e(0x163)]=_0x207f2e(0x1af),_0x5f2b4c[_0x207f2e(0x124)]='jest-circus',_0x5f2b4c[_0x207f2e(0x1bd)]='md5',_0x5f2b4c[_0x207f2e(0x136)]=_0x207f2e(0x196);const _0x24e807=_0x5f2b4c;try{if(!_0x484838)return logger['error'](_0x24e807['JFhjA']),null;const _0x19132c=_0x484838[_0x207f2e(0x18a)]||_0x484838['name']||_0x484838['title']||_0x484838[_0x207f2e(0x1a0)];let _0x1c89a5=_0x19132c;if(_0x484838[_0x207f2e(0x144)]&&_0x484838[_0x207f2e(0x144)][_0x207f2e(0x18c)]&&_0x24e807['zExcQ'](_0x484838[_0x207f2e(0x144)][_0x207f2e(0x18c)],_0x24e807[_0x207f2e(0x163)])){const _0x4489d1=_0x484838[_0x207f2e(0x18c)]||_0x484838[_0x207f2e(0x128)];_0x4489d1&&(_0x1c89a5=_0x484838[_0x207f2e(0x144)][_0x207f2e(0x18c)]+'\x20'+_0x4489d1);}let _0xb9775f=_0x484838[_0x207f2e(0x132)];if(!_0xb9775f&&_0x484838[_0x207f2e(0x138)]){try{const _0x86675a=stackTrace[_0x207f2e(0x1cf)](_0x484838[_0x207f2e(0x138)]);if(_0x86675a[0x0]&&_0x86675a[0x0][_0x207f2e(0x172)]){const _0x149f73=_0x86675a[0x0][_0x207f2e(0x172)]();_0x149f73&&!_0x149f73[_0x207f2e(0x198)](_0x24e807[_0x207f2e(0x124)])&&(_0xb9775f=_0x149f73);}}catch(_0x523b4c){logger[_0x207f2e(0x1ca)](_0x207f2e(0x1b0)+util[_0x207f2e(0x152)](_0x523b4c));}if(!_0xb9775f&&_0x484838[_0x207f2e(0x138)][_0x207f2e(0x174)]){const _0x46d90f=_0x484838['asyncError'][_0x207f2e(0x174)][_0x207f2e(0x1c9)]('\x0a');for(const _0x2c49a4 of _0x46d90f){const _0x2ccabf=_0x2c49a4[_0x207f2e(0x1cc)](/at (.+?):\d+:\d+/);if(_0x2ccabf&&_0x2ccabf[0x1]&&!_0x2ccabf[0x1][_0x207f2e(0x198)](_0x24e807[_0x207f2e(0x124)])){_0xb9775f=_0x2ccabf[0x1];break;}}}}const _0x4542f7=_0xb9775f+'::'+_0x1c89a5,_0x1edf82=crypto['createHash'](_0x24e807['SjWhj'])['update'](_0x4542f7)['digest'](_0x24e807['ZmClp'])[_0x207f2e(0x17c)](0x0,0x8),_0x218ed3=process[_0x207f2e(0x1c6)]+_0x207f2e(0x19f)+_0x1edf82;return logger[_0x207f2e(0x1ca)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x218ed3+_0x207f2e(0x182)+_0x4542f7),_0x218ed3;}catch(_0x5273e2){return logger[_0x207f2e(0x185)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x207f2e(0x152)](_0x5273e2)),null;}}[a91_0x2c7416(0x1a7)](_0x17a1ca){const _0x3989b8=a91_0x2c7416,_0x491b77={};_0x491b77[_0x3989b8(0x168)]=_0x3989b8(0x165);const _0x453f83=_0x491b77;if(!_0x17a1ca)return logger[_0x3989b8(0x1ca)](_0x453f83[_0x3989b8(0x168)]),null;const _0x5a2b7f=this[_0x3989b8(0x178)](_0x17a1ca),_0x3637b3={};_0x3637b3[_0x3989b8(0x18c)]=_0x17a1ca[_0x3989b8(0x18c)]||_0x17a1ca[_0x3989b8(0x128)],_0x3637b3[_0x3989b8(0x144)]=_0x17a1ca[_0x3989b8(0x144)],_0x3637b3[_0x3989b8(0x132)]=_0x5a2b7f,_0x3637b3[_0x3989b8(0x138)]=_0x17a1ca[_0x3989b8(0x138)];const _0x5ea248=_0x3637b3;return this['createJestTestIdentifier'](_0x5ea248);}[a91_0x2c7416(0x1a4)](_0x1be577){const _0x15a730=a91_0x2c7416,_0x3e100b={};_0x3e100b[_0x15a730(0x1c1)]=_0x15a730(0x15f);const _0x29d870=_0x3e100b;if(!_0x1be577)return logger['debug'](_0x29d870['ZuxKk']),null;if(_0x1be577[_0x15a730(0x131)])return logger['debug'](_0x15a730(0x17d)+_0x1be577[_0x15a730(0x131)]),_0x1be577['testIdentifier'];return this[_0x15a730(0x1b2)](_0x1be577);}}module[a91_0x2c7416(0x159)]=o11yClassErrorHandler(JestUtils,['configureGit',a91_0x2c7416(0x1bc),'getRootParentFile','getName',a91_0x2c7416(0x1b8),'getTestIdentifier','createTestFrameworkData',a91_0x2c7416(0x151),'getHookRunEventData',a91_0x2c7416(0x1cd),a91_0x2c7416(0x178),a91_0x2c7416(0x1b2),a91_0x2c7416(0x1a7),a91_0x2c7416(0x1a4)]);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a92_0x3dd416=a92_0x170f;(function(_0x52ae8f,_0x153b24){const _0x58b695=a92_0x170f,_0x242a22=_0x52ae8f();while(!![]){try{const _0x288697=parseInt(_0x58b695(0x1fa))/0x1+-parseInt(_0x58b695(0x217))/0x2*(parseInt(_0x58b695(0x1f1))/0x3)+-parseInt(_0x58b695(0x202))/0x4*(-parseInt(_0x58b695(0x206))/0x5)+-parseInt(_0x58b695(0x1f4))/0x6*(-parseInt(_0x58b695(0x1f8))/0x7)+-parseInt(_0x58b695(0x203))/0x8+-parseInt(_0x58b695(0x1f3))/0x9+-parseInt(_0x58b695(0x218))/0xa;if(_0x288697===_0x153b24)break;else _0x242a22['push'](_0x242a22['shift']());}catch(_0x364c99){_0x242a22['push'](_0x242a22['shift']());}}}(a92_0x2558,0x9acad));function a92_0x2558(){const _0x4e88fa=['join','getPlatformName','push','finalExecution','Config\x20yml\x20is\x20required','assign','44fZAuds','5134520rMIDcf','isUndefined','../../helpers/utilities','528490hzBUJr','config','../../helpers/testhub/testhubHandler','modifyBrowserStackW3CCaps','modifyBrowserStackCaps','../../helpers/helper','dwMWI','existsSync','exports','initialize','platforms','forEach','finally','NCocM','SDK_SETUP','length','EVENTS','4PWOjQv','1120610SwmbaA','cwd','proxySettings','HXaRB','qpbxz','../../helpers/performance/constants','args','File\x20path\x20is\x20required','handleApp','end','configuration','then','kQYRh','\x20doesn\x27t\x20exist','1867554xrYZNX','QtMXB','715500sdyFHc','162DMEThi','useW3C','rrwAw','index','254184CXhIBq','file','569339lWVBkV','../../helpers/BrowserStackSetup'];a92_0x2558=function(){return _0x4e88fa;};return a92_0x2558();}function a92_0x170f(_0x1e3cae,_0x3da64c){const _0x2558ab=a92_0x2558();return a92_0x170f=function(_0x170f3d,_0x555162){_0x170f3d=_0x170f3d-0x1eb;let _0x5dd235=_0x2558ab[_0x170f3d];return _0x5dd235;},a92_0x170f(_0x1e3cae,_0x3da64c);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a92_0x3dd416(0x1fb)),helper=require(a92_0x3dd416(0x20b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0x3dd416(0x21d))[a92_0x3dd416(0x216)],utilities=require(a92_0x3dd416(0x205)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a92_0x3dd416(0x208));async function run(_0x4b58e1,_0x5320f1,_0x21bf7c){const _0x4bd38d=a92_0x3dd416,_0x571308={'qpbxz':'vanilla','QtMXB':function(_0x554ab9,_0xa661f1){return _0x554ab9(_0xa661f1);},'NCocM':_0x4bd38d(0x21f),'sIKys':function(_0x7c135d,_0x11e6ab){return _0x7c135d(_0x11e6ab);},'dwMWI':_0x4bd38d(0x200),'rrwAw':function(_0x4293d9,_0x1bb94b){return _0x4293d9>_0x1bb94b;},'HXaRB':function(_0x19f2a7,_0x49a944){return _0x19f2a7*_0x49a944;},'kQYRh':function(_0x342880,_0x4e71f5,_0x5067b6){return _0x342880(_0x4e71f5,_0x5067b6);}};await _0x21bf7c[_0x4bd38d(0x20f)](_0x4b58e1),await helper[_0x4bd38d(0x1eb)](_0x21bf7c['config']);const _0x49cb45=[];if(helper[_0x4bd38d(0x204)](_0x4b58e1['_'][0x1]))throw _0x571308[_0x4bd38d(0x1f2)](Error,_0x571308[_0x4bd38d(0x213)]);const _0x2e16b5=path[_0x4bd38d(0x1fc)](process[_0x4bd38d(0x219)](),_0x4b58e1['_'][0x1]);if(!fs[_0x4bd38d(0x20d)](_0x2e16b5))throw _0x571308[_0x4bd38d(0x1f2)](Error,'File\x20'+_0x4b58e1['_'][0x1]+_0x4bd38d(0x1f0));if(!_0x21bf7c[_0x4bd38d(0x207)])throw _0x571308['sIKys'](Error,_0x571308[_0x4bd38d(0x20c)]);const _0xf76b15=helper[_0x4bd38d(0x1f5)](_0x21bf7c['config']);_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)]&&_0x571308[_0x4bd38d(0x1f6)](_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)]['length'],0x0)&&_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)][_0x4bd38d(0x211)]((_0x346062,_0x4c2883)=>{const _0x1b3c68=_0x4bd38d;_0xf76b15?_0x49cb45[_0x1b3c68(0x1fe)](helper[_0x1b3c68(0x209)](_0x21bf7c['config'],_0x571308[_0x1b3c68(0x21c)],_0x4c2883)):_0x49cb45[_0x1b3c68(0x1fe)](helper[_0x1b3c68(0x20a)](_0x21bf7c[_0x1b3c68(0x207)],_0x571308[_0x1b3c68(0x21c)],_0x4c2883));});let _0x4cda77,_0x1ec6b8;const _0xeedfb7=[];if(_0x571308['rrwAw'](_0x49cb45[_0x4bd38d(0x215)],0x0))_0x49cb45[_0x4bd38d(0x211)]((_0x503f09,_0x577d73)=>{const _0x2d9ef7=_0x4bd38d,_0x135d20={};_0x135d20[_0x2d9ef7(0x1f7)]=_0x577d73,_0x4cda77={'server':helper['getHubUrl'](_0x21bf7c[_0x2d9ef7(0x207)]),'proxySettings':_0x21bf7c[_0x2d9ef7(0x207)][_0x2d9ef7(0x21a)],'platform':helper[_0x2d9ef7(0x1fd)](_0x503f09),'platformCaps':Object[_0x2d9ef7(0x201)](_0x135d20,_0x21bf7c[_0x2d9ef7(0x207)]['platforms'][_0x577d73])};const _0x566ce1={'capability':_0x503f09,..._0x4cda77};_0x566ce1['file']=_0x2e16b5,_0x566ce1[_0x2d9ef7(0x21e)]=_0x5320f1;const _0x41d433={};_0x41d433[_0x2d9ef7(0x1ed)]=_0x566ce1,_0x1ec6b8=_0x41d433,_0xeedfb7[_0x2d9ef7(0x1fe)](_0x1ec6b8);});else{let _0xb5d694;_0xf76b15?_0xb5d694=helper[_0x4bd38d(0x209)](_0x21bf7c['config'],_0x571308[_0x4bd38d(0x21c)],0x0):_0xb5d694=helper[_0x4bd38d(0x20a)](_0x21bf7c['config'],_0x571308[_0x4bd38d(0x21c)],0x0);_0x4cda77={'server':helper['getHubUrl'](_0x21bf7c[_0x4bd38d(0x207)]),'proxySettings':_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x21a)]};const _0x57a868={'capability':_0xb5d694,..._0x4cda77};_0x57a868[_0x4bd38d(0x1f9)]=_0x2e16b5,_0x57a868['args']=_0x5320f1;const _0x56ec82={};_0x56ec82['configuration']=_0x57a868,_0x1ec6b8=_0x56ec82,_0xeedfb7[_0x4bd38d(0x1fe)](_0x1ec6b8);}const _0x2ac3cc=await TestHubHandler['launchBuild'](_0x571308[_0x4bd38d(0x21c)],_0x21bf7c),_0x404dc3=_0x571308[_0x4bd38d(0x21b)](_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)][_0x4bd38d(0x215)]||0x1,_0x21bf7c[_0x4bd38d(0x207)]['parallelsPerPlatform']||0x1);PerformanceTester[_0x4bd38d(0x1ec)](PerformanceEvents[_0x4bd38d(0x214)]),_0x571308[_0x4bd38d(0x1ef)](parallelVanillaRun,_0xeedfb7,_0x404dc3)[_0x4bd38d(0x1ee)](_0x59aadb=>{})[_0x4bd38d(0x212)](async()=>{const _0x1586e0=_0x4bd38d;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x1586e0(0x1ff)](_0x21bf7c);});}module[a92_0x3dd416(0x20e)]=run;
2
+ 'use strict';const a92_0x1c0d24=a92_0x834f;function a92_0x4a39(){const _0x1fa874=['Config\x20yml\x20is\x20required','743561xYKQug','launchBuild','10DFWthr','../../helpers/performance/constants','1052596BlgDsg','cwd','modifyBrowserStackCaps','108409xIVhxQ','../test-runner','isUndefined','configuration','finalExecution','../../helpers/helper','initialize','parallelsPerPlatform','platforms','finally','assign','EVENTS','File\x20path\x20is\x20required','1117161enHwWS','116434PKyBNM','path','JfhvF','proxySettings','push','args','index','bTBHT','oHRGw','forEach','16NwKIWL','5rmMLrZ','length','884290AduFrP','exports','handleApp','join','end','getPlatformName','../../helpers/testhub/testhubHandler','hjWgN','useW3C','QBJsr','168URKdwu','22tgrhqN','bYlIw','vanilla','getHubUrl','modifyBrowserStackW3CCaps','784623KehATr','IkQnO','config','228bjOCeP','../../helpers/utilities','file','\x20doesn\x27t\x20exist','kmcMl','../../helpers/BrowserStackSetup'];a92_0x4a39=function(){return _0x1fa874;};return a92_0x4a39();}(function(_0x48b653,_0x7fe5e8){const _0x3f7739=a92_0x834f,_0x3530cd=_0x48b653();while(!![]){try{const _0x2c4a8d=parseInt(_0x3f7739(0x17d))/0x1*(parseInt(_0x3f7739(0x16a))/0x2)+-parseInt(_0x3f7739(0x15e))/0x3+-parseInt(_0x3f7739(0x16c))/0x4*(-parseInt(_0x3f7739(0x14c))/0x5)+parseInt(_0x3f7739(0x161))/0x6*(-parseInt(_0x3f7739(0x16f))/0x7)+parseInt(_0x3f7739(0x14b))/0x8*(-parseInt(_0x3f7739(0x17c))/0x9)+-parseInt(_0x3f7739(0x14e))/0xa*(parseInt(_0x3f7739(0x159))/0xb)+-parseInt(_0x3f7739(0x158))/0xc*(-parseInt(_0x3f7739(0x168))/0xd);if(_0x2c4a8d===_0x7fe5e8)break;else _0x3530cd['push'](_0x3530cd['shift']());}catch(_0x48a851){_0x3530cd['push'](_0x3530cd['shift']());}}}(a92_0x4a39,0x5a8e2));const fs=require('fs'),path=require(a92_0x1c0d24(0x17e)),{default:BrowserStackSetup}=require(a92_0x1c0d24(0x166)),helper=require(a92_0x1c0d24(0x174)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0x1c0d24(0x16b))[a92_0x1c0d24(0x17a)],utilities=require(a92_0x1c0d24(0x162)),{parallelVanillaRun}=require(a92_0x1c0d24(0x170)),TestHubHandler=require(a92_0x1c0d24(0x154));function a92_0x834f(_0x578bd4,_0x36cfdd){const _0x4a39c9=a92_0x4a39();return a92_0x834f=function(_0x834ffa,_0x24b3a8){_0x834ffa=_0x834ffa-0x149;let _0x3efd42=_0x4a39c9[_0x834ffa];return _0x3efd42;},a92_0x834f(_0x578bd4,_0x36cfdd);}async function run(_0x41abaa,_0x1405ed,_0x38f9ed){const _0x4f4c0f=a92_0x1c0d24,_0xf7644={'IkQnO':_0x4f4c0f(0x15b),'QBJsr':function(_0x3ae88f,_0x4c158e){return _0x3ae88f(_0x4c158e);},'bYlIw':_0x4f4c0f(0x17b),'hjWgN':function(_0x346bc4,_0x2ea66e){return _0x346bc4(_0x2ea66e);},'kmcMl':_0x4f4c0f(0x167),'zDEvm':function(_0x42a0a0,_0x394eac){return _0x42a0a0>_0x394eac;},'oHRGw':function(_0x4307e4,_0x302d03){return _0x4307e4>_0x302d03;},'bTBHT':function(_0x5a27bd,_0x9dea6){return _0x5a27bd*_0x9dea6;},'JfhvF':function(_0x107f1f,_0x3159f8,_0x19670b){return _0x107f1f(_0x3159f8,_0x19670b);}};await _0x38f9ed[_0x4f4c0f(0x175)](_0x41abaa),await helper[_0x4f4c0f(0x150)](_0x38f9ed[_0x4f4c0f(0x160)]);const _0x212d1b=[];if(helper[_0x4f4c0f(0x171)](_0x41abaa['_'][0x1]))throw _0xf7644['QBJsr'](Error,_0xf7644[_0x4f4c0f(0x15a)]);const _0x1f20c4=path[_0x4f4c0f(0x151)](process[_0x4f4c0f(0x16d)](),_0x41abaa['_'][0x1]);if(!fs['existsSync'](_0x1f20c4))throw _0xf7644[_0x4f4c0f(0x157)](Error,'File\x20'+_0x41abaa['_'][0x1]+_0x4f4c0f(0x164));if(!_0x38f9ed['config'])throw _0xf7644[_0x4f4c0f(0x155)](Error,_0xf7644[_0x4f4c0f(0x165)]);const _0x2f0c19=helper[_0x4f4c0f(0x156)](_0x38f9ed[_0x4f4c0f(0x160)]);_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x177)]&&_0xf7644['zDEvm'](_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x177)]['length'],0x0)&&_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x177)][_0x4f4c0f(0x14a)]((_0x1e1904,_0x48be63)=>{const _0x25fc67=_0x4f4c0f;_0x2f0c19?_0x212d1b[_0x25fc67(0x181)](helper[_0x25fc67(0x15d)](_0x38f9ed[_0x25fc67(0x160)],_0xf7644[_0x25fc67(0x15f)],_0x48be63)):_0x212d1b[_0x25fc67(0x181)](helper[_0x25fc67(0x16e)](_0x38f9ed[_0x25fc67(0x160)],_0xf7644['IkQnO'],_0x48be63));});let _0x5d7850,_0x48f5c8;const _0x5df8f4=[];if(_0xf7644[_0x4f4c0f(0x149)](_0x212d1b['length'],0x0))_0x212d1b[_0x4f4c0f(0x14a)]((_0x24961d,_0x23cef1)=>{const _0x50fbce=_0x4f4c0f,_0x25d699={};_0x25d699[_0x50fbce(0x183)]=_0x23cef1,_0x5d7850={'server':helper[_0x50fbce(0x15c)](_0x38f9ed[_0x50fbce(0x160)]),'proxySettings':_0x38f9ed['config']['proxySettings'],'platform':helper[_0x50fbce(0x153)](_0x24961d),'platformCaps':Object[_0x50fbce(0x179)](_0x25d699,_0x38f9ed[_0x50fbce(0x160)]['platforms'][_0x23cef1])};const _0x14acc2={'capability':_0x24961d,..._0x5d7850};_0x14acc2[_0x50fbce(0x163)]=_0x1f20c4,_0x14acc2['args']=_0x1405ed;const _0x3e9877={};_0x3e9877[_0x50fbce(0x172)]=_0x14acc2,_0x48f5c8=_0x3e9877,_0x5df8f4['push'](_0x48f5c8);});else{let _0x681291;_0x2f0c19?_0x681291=helper['modifyBrowserStackW3CCaps'](_0x38f9ed['config'],_0xf7644[_0x4f4c0f(0x15f)],0x0):_0x681291=helper[_0x4f4c0f(0x16e)](_0x38f9ed[_0x4f4c0f(0x160)],_0xf7644['IkQnO'],0x0);_0x5d7850={'server':helper[_0x4f4c0f(0x15c)](_0x38f9ed[_0x4f4c0f(0x160)]),'proxySettings':_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x180)]};const _0x4b0e8e={'capability':_0x681291,..._0x5d7850};_0x4b0e8e['file']=_0x1f20c4,_0x4b0e8e[_0x4f4c0f(0x182)]=_0x1405ed;const _0x161402={};_0x161402[_0x4f4c0f(0x172)]=_0x4b0e8e,_0x48f5c8=_0x161402,_0x5df8f4[_0x4f4c0f(0x181)](_0x48f5c8);}const _0x51e687=await TestHubHandler[_0x4f4c0f(0x169)](_0xf7644[_0x4f4c0f(0x15f)],_0x38f9ed),_0x19a9d8=_0xf7644[_0x4f4c0f(0x184)](_0x38f9ed[_0x4f4c0f(0x160)]['platforms'][_0x4f4c0f(0x14d)]||0x1,_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x176)]||0x1);PerformanceTester[_0x4f4c0f(0x152)](PerformanceEvents['SDK_SETUP']),_0xf7644[_0x4f4c0f(0x17f)](parallelVanillaRun,_0x5df8f4,_0x19a9d8)['then'](_0x5d6781=>{})[_0x4f4c0f(0x178)](async()=>{const _0x484df5=_0x4f4c0f;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x484df5(0x173)](_0x38f9ed);});}module[a92_0x1c0d24(0x14f)]=run;
@@ -1 +1 @@
1
- const a93_0x112937=a93_0x26fd;(function(_0xf7b9db,_0x7f3579){const _0x41d4bd=a93_0x26fd,_0x3e7af4=_0xf7b9db();while(!![]){try{const _0x488a78=parseInt(_0x41d4bd(0xdb))/0x1*(-parseInt(_0x41d4bd(0xe2))/0x2)+-parseInt(_0x41d4bd(0xef))/0x3*(parseInt(_0x41d4bd(0xdf))/0x4)+-parseInt(_0x41d4bd(0xf7))/0x5+parseInt(_0x41d4bd(0xf4))/0x6*(-parseInt(_0x41d4bd(0xe3))/0x7)+-parseInt(_0x41d4bd(0xe4))/0x8+-parseInt(_0x41d4bd(0xde))/0x9+parseInt(_0x41d4bd(0xf0))/0xa*(parseInt(_0x41d4bd(0xda))/0xb);if(_0x488a78===_0x7f3579)break;else _0x3e7af4['push'](_0x3e7af4['shift']());}catch(_0x5d99af){_0x3e7af4['push'](_0x3e7af4['shift']());}}}(a93_0x5918,0x26058));const TestMetadata=require(a93_0x112937(0xea));function a93_0x26fd(_0x15455f,_0x9bdb2f){const _0x591848=a93_0x5918();return a93_0x26fd=function(_0x26fdfc,_0xc2f946){_0x26fdfc=_0x26fdfc-0xd6;let _0x3a042f=_0x591848[_0x26fdfc];return _0x3a042f;},a93_0x26fd(_0x15455f,_0x9bdb2f);}class BrowserStackSdk{static[a93_0x112937(0xd8)](){const _0x22b500=a93_0x112937,_0x5726f7={};_0x5726f7[_0x22b500(0xd6)]=_0x22b500(0xe7),_0x5726f7[_0x22b500(0xd7)]='osVersion',_0x5726f7[_0x22b500(0xd9)]='browser',_0x5726f7[_0x22b500(0xdc)]=_0x22b500(0xe0),_0x5726f7['iPOOo']=_0x22b500(0xe9),_0x5726f7[_0x22b500(0xee)]='browserVersion',_0x5726f7[_0x22b500(0xec)]='device',_0x5726f7[_0x22b500(0xe8)]=_0x22b500(0xe5),_0x5726f7['HCdfP']='platform',_0x5726f7['DtqGs']='platformName',_0x5726f7['xGaZs']=_0x22b500(0xf3),_0x5726f7[_0x22b500(0xf1)]=_0x22b500(0xf8),_0x5726f7['rPfhm']='customVariables';const _0x23eee1=_0x5726f7,_0x383e5e={};if(global[_0x22b500(0xe6)]){const _0x20c849=global[_0x22b500(0xe6)],_0x2e7631=_0x20c849[_0x23eee1[_0x22b500(0xd6)]]||_0x20c849[_0x23eee1['MWzRo']],_0x1693c4=_0x20c849[_0x23eee1[_0x22b500(0xd9)]]||_0x20c849[_0x23eee1['ZDFpN']],_0x3c301a=_0x20c849[_0x23eee1[_0x22b500(0xed)]]||_0x20c849[_0x23eee1[_0x22b500(0xee)]],_0x4fdd4d=_0x20c849[_0x23eee1[_0x22b500(0xec)]]||_0x20c849[_0x23eee1[_0x22b500(0xe8)]],_0x5c30be=_0x20c849[_0x23eee1[_0x22b500(0xf6)]]||_0x20c849[_0x23eee1[_0x22b500(0xeb)]],_0x1df5ee=_0x20c849[_0x23eee1[_0x22b500(0xdd)]]||_0x20c849[_0x23eee1[_0x22b500(0xf1)]];_0x20c849['os']&&(_0x383e5e['os']=_0x20c849['os']),_0x2e7631&&(_0x383e5e[_0x23eee1[_0x22b500(0xd7)]]=_0x2e7631),_0x1693c4&&(_0x383e5e[_0x23eee1[_0x22b500(0xdc)]]=_0x1693c4),_0x3c301a&&(_0x383e5e[_0x23eee1[_0x22b500(0xee)]]=_0x3c301a),_0x4fdd4d&&(_0x383e5e[_0x23eee1[_0x22b500(0xe8)]]=_0x4fdd4d),_0x5c30be&&(_0x383e5e[_0x23eee1[_0x22b500(0xeb)]]=_0x5c30be),_0x1df5ee&&(_0x383e5e[_0x23eee1[_0x22b500(0xf1)]]=_0x1df5ee),_0x20c849[_0x23eee1[_0x22b500(0xf2)]]&&(_0x383e5e[_0x23eee1[_0x22b500(0xf2)]]=_0x20c849[_0x23eee1[_0x22b500(0xf2)]]);}return _0x383e5e;}static[a93_0x112937(0xf5)](_0x5b2be4={}){TestMetadata['set'](_0x5b2be4);}}module[a93_0x112937(0xe1)]=BrowserStackSdk;function a93_0x5918(){const _0x104a71=['22ReLOpz','1TypYMw','ZDFpN','xGaZs','707796wnVYRP','1616nTTmQS','browserName','exports','44882JiXhhB','1709862gYYZzd','402232UPCWHh','deviceName','__platformCaps','os_version','eXjat','browser_version','./helpers/metadata','DtqGs','pdgcq','iPOOo','eSiTb','1293cJurZJ','4245440pCKVqZ','ErcUK','rPfhm','platform_version','6nKeAeT','setTestMetadata','HCdfP','617990GNuyou','platformVersion','pKlqE','MWzRo','getCurrentPlatform','VWRil'];a93_0x5918=function(){return _0x104a71;};return a93_0x5918();}
1
+ function a93_0x4f2a(_0x1a8ae0,_0x5d4636){const _0x1fe972=a93_0x1fe9();return a93_0x4f2a=function(_0x4f2af4,_0xfd36){_0x4f2af4=_0x4f2af4-0x74;let _0x57985f=_0x1fe972[_0x4f2af4];return _0x57985f;},a93_0x4f2a(_0x1a8ae0,_0x5d4636);}const a93_0x39ceac=a93_0x4f2a;function a93_0x1fe9(){const _0x4dcf91=['gAKrp','ZTANw','tpFLj','JPYdx','40jHtIGq','323964FmzxHT','4563251cDgTon','12lNWNLy','kuvbU','setTestMetadata','305nIGGiq','nHvEv','LCtnG','platform','18762cccoXP','osVersion','21710755bZQpdd','browserVersion','nICRV','browserName','deviceName','os_version','QsNYv','set','4388336NouOah','exports','browser','device','__platformCaps','89757oUJOPb','VJOny','GyNKs','xdbwu','18fyCMTQ','997098DTjgrY'];a93_0x1fe9=function(){return _0x4dcf91;};return a93_0x1fe9();}(function(_0x187a3f,_0xed7726){const _0x370d50=a93_0x4f2a,_0x3c9edb=_0x187a3f();while(!![]){try{const _0x43aae7=parseInt(_0x370d50(0x7f))/0x1*(parseInt(_0x370d50(0x83))/0x2)+-parseInt(_0x370d50(0x84))/0x3*(parseInt(_0x370d50(0x8c))/0x4)+-parseInt(_0x370d50(0x8f))/0x5*(parseInt(_0x370d50(0x93))/0x6)+-parseInt(_0x370d50(0x8b))/0x7+-parseInt(_0x370d50(0x7a))/0x8+-parseInt(_0x370d50(0x8a))/0x9*(-parseInt(_0x370d50(0x89))/0xa)+parseInt(_0x370d50(0x95))/0xb;if(_0x43aae7===_0xed7726)break;else _0x3c9edb['push'](_0x3c9edb['shift']());}catch(_0x3fe974){_0x3c9edb['push'](_0x3c9edb['shift']());}}}(a93_0x1fe9,0x83286));const TestMetadata=require('./helpers/metadata');class BrowserStackSdk{static['getCurrentPlatform'](){const _0x294bbc=a93_0x4f2a,_0x30a078={};_0x30a078[_0x294bbc(0x91)]=_0x294bbc(0x77),_0x30a078['ZTANw']=_0x294bbc(0x94),_0x30a078[_0x294bbc(0x90)]=_0x294bbc(0x7c),_0x30a078[_0x294bbc(0x88)]=_0x294bbc(0x75),_0x30a078['kuvbU']='browser_version',_0x30a078['hZhIJ']=_0x294bbc(0x96),_0x30a078[_0x294bbc(0x80)]=_0x294bbc(0x7d),_0x30a078[_0x294bbc(0x78)]=_0x294bbc(0x76),_0x30a078[_0x294bbc(0x82)]=_0x294bbc(0x92),_0x30a078['gAKrp']='platformName',_0x30a078[_0x294bbc(0x74)]='platform_version',_0x30a078[_0x294bbc(0x87)]='platformVersion',_0x30a078[_0x294bbc(0x81)]='customVariables';const _0x5b9a7c=_0x30a078,_0x28157d={};if(global['__platformCaps']){const _0x2139bd=global[_0x294bbc(0x7e)],_0x3b9392=_0x2139bd[_0x5b9a7c[_0x294bbc(0x91)]]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x86)]],_0x3fea31=_0x2139bd[_0x5b9a7c[_0x294bbc(0x90)]]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x88)]],_0x587eba=_0x2139bd[_0x5b9a7c[_0x294bbc(0x8d)]]||_0x2139bd[_0x5b9a7c['hZhIJ']],_0x25c169=_0x2139bd[_0x5b9a7c[_0x294bbc(0x80)]]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x78)]],_0x334bc9=_0x2139bd[_0x5b9a7c['xdbwu']]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x85)]],_0xe707d6=_0x2139bd[_0x5b9a7c[_0x294bbc(0x74)]]||_0x2139bd[_0x5b9a7c['tpFLj']];_0x2139bd['os']&&(_0x28157d['os']=_0x2139bd['os']),_0x3b9392&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x86)]]=_0x3b9392),_0x3fea31&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x88)]]=_0x3fea31),_0x587eba&&(_0x28157d[_0x5b9a7c['hZhIJ']]=_0x587eba),_0x25c169&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x78)]]=_0x25c169),_0x334bc9&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x85)]]=_0x334bc9),_0xe707d6&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x87)]]=_0xe707d6),_0x2139bd[_0x5b9a7c[_0x294bbc(0x81)]]&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x81)]]=_0x2139bd[_0x5b9a7c['GyNKs']]);}return _0x28157d;}static[a93_0x39ceac(0x8e)](_0x198295={}){const _0x1ae81d=a93_0x39ceac;TestMetadata[_0x1ae81d(0x79)](_0x198295);}}module[a93_0x39ceac(0x7b)]=BrowserStackSdk;