browserstack-node-sdk 1.50.4 → 1.50.6

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 +2 -2
  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_0x1bf01c=a85_0x4222;function a85_0x4138(){const _0x11373a=['qYZMh','\x20hookState:\x20','KEY_TEST_FRAMEWORK_VERSION','TestHubModule','2922begeyz','769985MXMscv','./baseModule','testFrameworkState','fTIEV','logger','BROWSERSTACK_TESTHUB_UUID','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','ovOVu',',\x20test_identifier:\x20','onAllTestEvents','BROWSERSTACK_TESTHUB_JWT','OKqCS','page','toString','error','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','getThreadId','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','length','../cliUtils.js','146gtHbLZ','11069680peFxRR','O11yHashedID','ENV_VAR','debug','61204055RSjkTb','recreateIdentifierFromTestInfo','instance','7393144tLUcNc','../framework/constants/testFrameworkConstants.js','./playwrightDriverModule.js','1698924OyIINz','testInfo','stringify','4eOwrOO','TEST','version','KEY_SESSION_ID','getInstance','frameworkVersion','getTestFramework','keys','createTestFrameworkEventPayload','bind','dIgar','env','getJwt','testSessionEvent','forEach','testhubConfig','CREATE','../browserstackCLI.js','MODULE_NAME','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','zKLvw','18MrPQUq','getTestDetails','values','18854xJbqcE','beuqc','format','base64','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','CUCUMBER','hookState','MWQCS','testFrameworkData','../../../helpers/classLogger.js','../state/testFrameworkState.js','retry','../../../helpers/testhub/constants','../grpcClient.js','test_deferred','test_identifier','KEY_TEST_FRAMEWORK_NAME','registerObserver','frameworkName','testFrameworkEvent','onPageCreate','5|6|1|4|3|7|8|0|2','exports','SrhJA','split','testUuid','getId','JEST','25277TVBfoe','getModuleName','KEY_TEST_DEFERRED','../state/hookState.js','coAQH','getTestIdentifierFromTestInfo','../../../helpers/helper.js','getBuildHashedId','getState','name','getProcessId','from','../utils/jest-utils.js','../framework/automationFramework.js','sendTestFrameworkEvent','../state/automationFrameworkState.js','../../../helpers/test-observability/constants.js'];a85_0x4138=function(){return _0x11373a;};return a85_0x4138();}(function(_0x43a876,_0x413423){const _0x2d8a86=a85_0x4222,_0x351653=_0x43a876();while(!![]){try{const _0x7cf63f=parseInt(_0x2d8a86(0x226))/0x1*(parseInt(_0x2d8a86(0x200))/0x2)+parseInt(_0x2d8a86(0x20b))/0x3+parseInt(_0x2d8a86(0x20e))/0x4*(-parseInt(_0x2d8a86(0x1ec))/0x5)+-parseInt(_0x2d8a86(0x1eb))/0x6*(-parseInt(_0x2d8a86(0x242))/0x7)+-parseInt(_0x2d8a86(0x208))/0x8*(-parseInt(_0x2d8a86(0x223))/0x9)+parseInt(_0x2d8a86(0x201))/0xa+-parseInt(_0x2d8a86(0x205))/0xb;if(_0x7cf63f===_0x413423)break;else _0x351653['push'](_0x351653['shift']());}catch(_0x113610){_0x351653['push'](_0x351653['shift']());}}}(a85_0x4138,0xe51db));function a85_0x4222(_0x513277,_0x14a8e0){const _0x4138c7=a85_0x4138();return a85_0x4222=function(_0x42227e,_0x2fffca){_0x42227e=_0x42227e-0x1e7;let _0x4b65e4=_0x4138c7[_0x42227e];return _0x4b65e4;},a85_0x4222(_0x513277,_0x14a8e0);}const util=require('util'),BaseModule=require(a85_0x1bf01c(0x1ed)),{createClassLogger}=require(a85_0x1bf01c(0x22f)),AutomationFramework=require(a85_0x1bf01c(0x24f)),AutomationFrameworkState=require(a85_0x1bf01c(0x251)),HookState=require(a85_0x1bf01c(0x245)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a85_0x1bf01c(0x230)),PlaywrightDriverModule=require(a85_0x1bf01c(0x20a)),TestFrameworkConstants=require(a85_0x1bf01c(0x209)),GrpcClient=require(a85_0x1bf01c(0x233)),CLIUtils=require(a85_0x1bf01c(0x1ff)),TestInfo=require('../TestInfo.js'),testHubConstants=require(a85_0x1bf01c(0x232)),{FRAMEWORKS}=require(a85_0x1bf01c(0x252)),helper=require(a85_0x1bf01c(0x248)),LoadTestModule=require('./loadTestModule.js'),JestUtils=require(a85_0x1bf01c(0x24e)),BrowserstackCLI=require(a85_0x1bf01c(0x21f)),{getPlaywrightProvider,getProductForSession}=require(a85_0x1bf01c(0x248));class TestHubModule extends BaseModule{['logger']=createClassLogger('TestHubModule');constructor(_0x12729a,_0x1014fd=null){const _0xd4b15=a85_0x1bf01c,_0x14ad21={};_0x14ad21[_0xd4b15(0x227)]=_0xd4b15(0x23b),_0x14ad21[_0xd4b15(0x1f7)]=_0xd4b15(0x1ea);const _0x4623d2=_0x14ad21,_0x2d3b49=_0x4623d2['beuqc']['split']('|');let _0x508236=0x0;while(!![]){switch(_0x2d3b49[_0x508236++]){case'0':process[_0xd4b15(0x219)][testHubConstants[_0xd4b15(0x203)][_0xd4b15(0x1f1)]]=this[_0xd4b15(0x21d)][_0xd4b15(0x249)]();continue;case'1':this['testhubConfig']=_0x12729a;continue;case'2':BrowserstackCLI[_0xd4b15(0x202)]=this['testhubConfig'][_0xd4b15(0x249)]();continue;case'3':AutomationFramework[_0xd4b15(0x237)](AutomationFrameworkState[_0xd4b15(0x21e)],HookState['POST'],this[_0xd4b15(0x23a)][_0xd4b15(0x217)](this));continue;case'4':this['jestUtils']=new JestUtils();continue;case'5':super(_0x1014fd);continue;case'6':this[_0xd4b15(0x24b)]=_0x4623d2[_0xd4b15(0x1f7)];continue;case'7':Object[_0xd4b15(0x225)](TestFrameworkState)['forEach'](_0x34c8e8=>{const _0x4997a9=_0xd4b15;Object[_0x4997a9(0x225)](HookState)[_0x4997a9(0x21c)](_0x4812c9=>{const _0x469255=_0x4997a9;TestFramework[_0x469255(0x237)](_0x34c8e8,_0x4812c9,this[_0x469255(0x1f5)]['bind'](this));});});continue;case'8':process[_0xd4b15(0x219)][testHubConstants[_0xd4b15(0x203)][_0xd4b15(0x1f6)]]=this[_0xd4b15(0x21d)][_0xd4b15(0x21a)]();continue;}break;}}[a85_0x1bf01c(0x243)](){const _0x49b196=a85_0x1bf01c;return TestHubModule[_0x49b196(0x220)];}[a85_0x1bf01c(0x1f5)](_0x40bd44){const _0x5c174e=a85_0x1bf01c,_0x5b52b8={};_0x5b52b8[_0x5c174e(0x23d)]=function(_0x2e0c69,_0x1b3189){return _0x2e0c69===_0x1b3189;};const _0x4b900d=_0x5b52b8,_0x27cd3d=_0x40bd44[_0x5c174e(0x207)],_0x4b3ae8=_0x27cd3d['getCurrentTestState']();(_0x4b900d[_0x5c174e(0x23d)](_0x4b3ae8,TestFrameworkState[_0x5c174e(0x20f)])||CLIUtils['matchHookRegex'](_0x4b3ae8['toString']()[_0x5c174e(0x23e)]('.')[0x1]))&&this[_0x5c174e(0x250)](_0x40bd44);}async['sendTestFrameworkEvent'](_0x402a7b){const _0x331043=a85_0x1bf01c,_0x416f21={};_0x416f21[_0x331043(0x1e7)]=function(_0x24ff3a,_0x9a6e2b){return _0x24ff3a===_0x9a6e2b;},_0x416f21[_0x331043(0x1ef)]=_0x331043(0x1fb);const _0x51e0a5=_0x416f21;try{const _0x223482=BrowserstackCLI[_0x331043(0x212)]()[_0x331043(0x214)]()[_0x331043(0x216)](_0x402a7b);if(!_0x223482||_0x51e0a5['qYZMh'](Object[_0x331043(0x215)](_0x223482)[_0x331043(0x1fe)],0x0)){this[_0x331043(0x1f0)]['debug'](_0x51e0a5[_0x331043(0x1ef)]);return;}const _0x3a82f7=await GrpcClient[_0x331043(0x212)]()[_0x331043(0x239)](_0x223482);this['logger']['debug'](_0x331043(0x22a)+_0x223482[_0x331043(0x1ee)]+_0x331043(0x1e8)+_0x223482[_0x331043(0x22c)]);}catch(_0x31d201){this[_0x331043(0x1f0)]['error']('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x331043(0x228)](_0x31d201));}}async[a85_0x1bf01c(0x23a)](_0x2c4ef6){const _0x4db4e3=a85_0x1bf01c,_0x1601e2={'ovOVu':function(_0xce249e,_0x14de44){return _0xce249e===_0x14de44;},'oraTO':_0x4db4e3(0x221),'coAQH':function(_0x3fef77,_0x346b4d){return _0x3fef77===_0x346b4d;},'dIgar':function(_0x64554b,_0x54e079){return _0x64554b(_0x54e079);},'MWQCS':function(_0x41a134){return _0x41a134();},'zKLvw':_0x4db4e3(0x229)};try{if(_0x2c4ef6[_0x4db4e3(0x1f8)]){const _0x594dc4=this['getTestId'](_0x2c4ef6);this[_0x4db4e3(0x1f0)][_0x4db4e3(0x204)](_0x4db4e3(0x1fd)+_0x594dc4);if(this[_0x4db4e3(0x22e)]&&_0x1601e2[_0x4db4e3(0x1f3)](this['testFrameworkData'][_0x4db4e3(0x24b)],FRAMEWORKS[_0x4db4e3(0x241)])&&!_0x2c4ef6[_0x4db4e3(0x20c)]){this['logger'][_0x4db4e3(0x204)](_0x1601e2['oraTO']);return;}let _0x2e793f,_0x4a546f;if(this['testFrameworkData']&&_0x1601e2[_0x4db4e3(0x246)](this[_0x4db4e3(0x22e)]['name'],FRAMEWORKS[_0x4db4e3(0x22b)]))_0x2e793f=_0x594dc4,_0x4a546f=TestInfo['getTestUUID'](_0x2e793f);else this[_0x4db4e3(0x22e)]&&_0x1601e2[_0x4db4e3(0x246)](this[_0x4db4e3(0x22e)]['name'],FRAMEWORKS[_0x4db4e3(0x241)])?(_0x2e793f=this['jestUtils'][_0x4db4e3(0x206)](_0x2c4ef6[_0x4db4e3(0x20c)]),this['logger'][_0x4db4e3(0x204)](_0x4db4e3(0x1f2)+_0x2e793f)):(_0x2e793f=TestInfo[_0x4db4e3(0x247)](_0x2c4ef6[_0x4db4e3(0x20c)],_0x2c4ef6[_0x4db4e3(0x20c)][_0x4db4e3(0x231)]),_0x4a546f=TestInfo['getTestUUID'](_0x2e793f));const _0x5b31c4=TestInfo[_0x4db4e3(0x224)](_0x2e793f),_0x23ec8a=_0x2c4ef6[_0x4db4e3(0x207)],_0x14d9e4=AutomationFramework['getState'](_0x23ec8a,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x199247=_0x5b31c4?.[TestFrameworkConstants[_0x4db4e3(0x236)]]||this[_0x4db4e3(0x22e)]&&this[_0x4db4e3(0x22e)][_0x4db4e3(0x24b)],_0x1fccb2=_0x5b31c4?.[TestFrameworkConstants[_0x4db4e3(0x1e9)]]||this[_0x4db4e3(0x22e)]&&this[_0x4db4e3(0x22e)][_0x4db4e3(0x210)],_0x49360e=TestFrameworkState['TEST']['toString']()[_0x4db4e3(0x23e)]('.')[0x1],_0x4943f1=HookState['POST'][_0x4db4e3(0x1f9)]()[_0x4db4e3(0x23e)]('.')[0x1],_0x1ead54=_0x23ec8a['getContext'](),_0x211b99=AutomationFramework[_0x4db4e3(0x24a)](_0x23ec8a,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x51883={'provider':_0x1601e2[_0x4db4e3(0x218)](getPlaywrightProvider,_0x211b99),'frameworkName':_0x23ec8a[_0x4db4e3(0x238)],'frameworkVersion':_0x23ec8a[_0x4db4e3(0x213)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x4db4e3(0x24a)](_0x23ec8a,PlaywrightDriverModule[_0x4db4e3(0x211)],''),'ref':_0x23ec8a['getRef'](),'hubUrl':_0x211b99,'product':_0x1601e2[_0x4db4e3(0x22d)](getProductForSession)};let _0x57e9a8=AutomationFramework['getState'](_0x23ec8a,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x57e9a8=Buffer[_0x4db4e3(0x24d)](JSON[_0x4db4e3(0x20d)](_0x57e9a8))[_0x4db4e3(0x1f9)](_0x1601e2[_0x4db4e3(0x222)]);const _0x4878dd={'hash':_0x1ead54[_0x4db4e3(0x240)](),'threadId':_0x1ead54[_0x4db4e3(0x1fc)]()[_0x4db4e3(0x1f9)](),'processId':_0x1ead54[_0x4db4e3(0x24c)]()[_0x4db4e3(0x1f9)]()},_0x5d864f={};_0x5d864f[_0x4db4e3(0x235)]=_0x2e793f;const _0x33b2b5={};_0x33b2b5[_0x4db4e3(0x23f)]=_0x4a546f;const _0x5c3f8e={'platformIndex':_0x14d9e4,'testFrameworkName':_0x199247,'testFrameworkVersion':_0x1fccb2,'testFrameworkState':_0x49360e,'testHookState':_0x4943f1,...this[_0x4db4e3(0x22e)]&&_0x1601e2[_0x4db4e3(0x1f3)](this[_0x4db4e3(0x22e)][_0x4db4e3(0x24b)],FRAMEWORKS[_0x4db4e3(0x241)])?_0x5d864f:_0x33b2b5,'automationSession':_0x51883,'capabilities':_0x57e9a8,'executionContext':_0x4878dd};this[_0x4db4e3(0x1f0)]['debug']('onPageCreate\x20CBTSession\x20payload:\x20'+util[_0x4db4e3(0x228)](_0x5c3f8e));const _0x28ee66=await GrpcClient[_0x4db4e3(0x212)]()[_0x4db4e3(0x21b)](_0x5c3f8e);this[_0x4db4e3(0x1f0)][_0x4db4e3(0x204)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x594dc4+(this['testFrameworkData']&&_0x1601e2[_0x4db4e3(0x1f3)](this[_0x4db4e3(0x22e)][_0x4db4e3(0x24b)],FRAMEWORKS[_0x4db4e3(0x241)])?_0x4db4e3(0x1f4)+_0x2e793f:''));}}catch(_0x4079ce){this[_0x4db4e3(0x1f0)][_0x4db4e3(0x1fa)]('Error\x20in\x20sending\x20CBTSession:\x20'+util['format'](_0x4079ce));}}}TestHubModule[a85_0x1bf01c(0x220)]=a85_0x1bf01c(0x1ea),TestHubModule[a85_0x1bf01c(0x244)]=a85_0x1bf01c(0x234),module[a85_0x1bf01c(0x23c)]=TestHubModule;
1
+ const a85_0x24e28a=a85_0x2500;(function(_0xf9c665,_0x20815e){const _0x316a8b=a85_0x2500,_0x29ce43=_0xf9c665();while(!![]){try{const _0x26cd41=-parseInt(_0x316a8b(0x185))/0x1+-parseInt(_0x316a8b(0x196))/0x2+parseInt(_0x316a8b(0x186))/0x3+parseInt(_0x316a8b(0x1b0))/0x4+-parseInt(_0x316a8b(0x173))/0x5+-parseInt(_0x316a8b(0x1a7))/0x6+parseInt(_0x316a8b(0x190))/0x7;if(_0x26cd41===_0x20815e)break;else _0x29ce43['push'](_0x29ce43['shift']());}catch(_0x13ce55){_0x29ce43['push'](_0x29ce43['shift']());}}}(a85_0x4841,0x714d0));const util=require(a85_0x24e28a(0x1c1)),BaseModule=require(a85_0x24e28a(0x1c4)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a85_0x24e28a(0x1c2)),AutomationFrameworkState=require(a85_0x24e28a(0x198)),HookState=require(a85_0x24e28a(0x1a4)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a85_0x24e28a(0x1c3)),PlaywrightDriverModule=require(a85_0x24e28a(0x1b1)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a85_0x24e28a(0x1a8)),CLIUtils=require(a85_0x24e28a(0x1ba)),TestInfo=require(a85_0x24e28a(0x1d2)),testHubConstants=require(a85_0x24e28a(0x179)),{FRAMEWORKS}=require(a85_0x24e28a(0x1c9)),helper=require(a85_0x24e28a(0x1a6)),LoadTestModule=require(a85_0x24e28a(0x195)),JestUtils=require(a85_0x24e28a(0x191)),BrowserstackCLI=require(a85_0x24e28a(0x1dc)),{getPlaywrightProvider,getProductForSession}=require('../../../helpers/helper.js');class TestHubModule extends BaseModule{['logger']=createClassLogger(a85_0x24e28a(0x1d9));constructor(_0x4c06d0,_0x525e27=null){const _0x2f3308=a85_0x24e28a,_0x52f317={};_0x52f317[_0x2f3308(0x18f)]=_0x2f3308(0x172),_0x52f317[_0x2f3308(0x1bf)]='TestHubModule';const _0xc98d44=_0x52f317,_0x80445f=_0xc98d44['jmQPL'][_0x2f3308(0x1d0)]('|');let _0x36fb48=0x0;while(!![]){switch(_0x80445f[_0x36fb48++]){case'0':super(_0x525e27);continue;case'1':process['env'][testHubConstants['ENV_VAR'][_0x2f3308(0x1cc)]]=this[_0x2f3308(0x180)][_0x2f3308(0x1ab)]();continue;case'2':process[_0x2f3308(0x181)][testHubConstants[_0x2f3308(0x18e)][_0x2f3308(0x1da)]]=this[_0x2f3308(0x180)][_0x2f3308(0x1b9)]();continue;case'3':this[_0x2f3308(0x19a)]=new JestUtils();continue;case'4':AutomationFramework[_0x2f3308(0x1d3)](AutomationFrameworkState[_0x2f3308(0x19b)],HookState[_0x2f3308(0x1d5)],this[_0x2f3308(0x16e)][_0x2f3308(0x1a0)](this));continue;case'5':Object['values'](TestFrameworkState)[_0x2f3308(0x1c5)](_0x5263ec=>{const _0x17e6e8=_0x2f3308;Object[_0x17e6e8(0x177)](HookState)['forEach'](_0x3ad035=>{const _0x2df414=_0x17e6e8;TestFramework[_0x2df414(0x1d3)](_0x5263ec,_0x3ad035,this[_0x2df414(0x171)]['bind'](this));});});continue;case'6':BrowserstackCLI[_0x2f3308(0x199)]=this[_0x2f3308(0x180)][_0x2f3308(0x1ab)]();continue;case'7':this['name']=_0xc98d44['mwQGk'];continue;case'8':this[_0x2f3308(0x180)]=_0x4c06d0;continue;}break;}}[a85_0x24e28a(0x1bd)](){const _0x172551=a85_0x24e28a;return TestHubModule[_0x172551(0x189)];}[a85_0x24e28a(0x171)](_0x1a6a2e){const _0x437269=a85_0x24e28a,_0x3014b2={};_0x3014b2[_0x437269(0x1aa)]=function(_0x384b96,_0x398cef){return _0x384b96===_0x398cef;};const _0x1855ce=_0x3014b2,_0x4e21fa=_0x1a6a2e['instance'],_0x1ce9d7=_0x4e21fa[_0x437269(0x1b4)]();(_0x1855ce[_0x437269(0x1aa)](_0x1ce9d7,TestFrameworkState['TEST'])||CLIUtils[_0x437269(0x1a1)](_0x1ce9d7[_0x437269(0x1c8)]()['split']('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x1a6a2e);}async['sendTestFrameworkEvent'](_0x4a6214){const _0x12c010=a85_0x24e28a,_0x4097d0={};_0x4097d0[_0x12c010(0x1ca)]=function(_0x33262e,_0x151141){return _0x33262e===_0x151141;},_0x4097d0[_0x12c010(0x18b)]='sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event';const _0x367bda=_0x4097d0;try{const _0x3b9732=BrowserstackCLI[_0x12c010(0x17c)]()[_0x12c010(0x19e)]()[_0x12c010(0x197)](_0x4a6214);if(!_0x3b9732||_0x367bda[_0x12c010(0x1ca)](Object[_0x12c010(0x1ce)](_0x3b9732)[_0x12c010(0x1a2)],0x0)){this[_0x12c010(0x1c6)][_0x12c010(0x19f)](_0x367bda[_0x12c010(0x18b)]);return;}const _0x1d803f=await GrpcClient[_0x12c010(0x17c)]()[_0x12c010(0x16f)](_0x3b9732);this[_0x12c010(0x1c6)]['debug'](_0x12c010(0x176)+_0x3b9732['testFrameworkState']+_0x12c010(0x1a5)+_0x3b9732['hookState']);}catch(_0x167360){this[_0x12c010(0x1c6)]['error']('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x12c010(0x1b8)](_0x167360));}}async[a85_0x24e28a(0x16e)](_0x608dad){const _0x96e429=a85_0x24e28a,_0x262d1e={'rjZwI':function(_0x1acfec,_0x3bfcb6){return _0x1acfec===_0x3bfcb6;},'hMKAU':_0x96e429(0x1af),'QJUxY':function(_0x54ac66,_0x28b32e){return _0x54ac66(_0x28b32e);},'BAaKe':function(_0x2a2971){return _0x2a2971();},'XFcUU':_0x96e429(0x183),'EQPAq':function(_0x28a0a9,_0x1f352c){return _0x28a0a9===_0x1f352c;}};try{if(_0x608dad[_0x96e429(0x18a)]){const _0x226126=this[_0x96e429(0x192)](_0x608dad);this[_0x96e429(0x1c6)][_0x96e429(0x19f)](_0x96e429(0x1ac)+_0x226126);if(this['testFrameworkData']&&_0x262d1e[_0x96e429(0x19d)](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])&&!_0x608dad[_0x96e429(0x1d7)]){this[_0x96e429(0x1c6)][_0x96e429(0x19f)](_0x262d1e['hMKAU']);return;}let _0x1444a5,_0x5bdbeb;if(this['testFrameworkData']&&_0x262d1e['rjZwI'](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1b6)]))_0x1444a5=_0x226126,_0x5bdbeb=TestInfo[_0x96e429(0x1ad)](_0x1444a5);else this[_0x96e429(0x1a3)]&&_0x262d1e[_0x96e429(0x19d)](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])?(_0x1444a5=this[_0x96e429(0x19a)][_0x96e429(0x188)](_0x608dad['testInfo']),this[_0x96e429(0x1c6)]['debug'](_0x96e429(0x1db)+_0x1444a5)):(_0x1444a5=TestInfo[_0x96e429(0x1cb)](_0x608dad[_0x96e429(0x1d7)],_0x608dad[_0x96e429(0x1d7)]['retry']),_0x5bdbeb=TestInfo[_0x96e429(0x1ad)](_0x1444a5));const _0x4432e9=TestInfo[_0x96e429(0x175)](_0x1444a5),_0x28a455=_0x608dad['instance'],_0x544e4c=AutomationFramework[_0x96e429(0x1b2)](_0x28a455,PlaywrightDriverModule[_0x96e429(0x1bc)]),_0x53f218=_0x4432e9?.[TestFrameworkConstants[_0x96e429(0x1b5)]]||this[_0x96e429(0x1a3)]&&this[_0x96e429(0x1a3)][_0x96e429(0x194)],_0x13b390=_0x4432e9?.[TestFrameworkConstants[_0x96e429(0x170)]]||this[_0x96e429(0x1a3)]&&this[_0x96e429(0x1a3)][_0x96e429(0x1c0)],_0x5228e7=TestFrameworkState[_0x96e429(0x1cd)]['toString']()[_0x96e429(0x1d0)]('.')[0x1],_0x21d8ea=HookState[_0x96e429(0x1d5)][_0x96e429(0x1c8)]()[_0x96e429(0x1d0)]('.')[0x1],_0x7064f3=_0x28a455[_0x96e429(0x1cf)](),_0x385088=AutomationFramework[_0x96e429(0x1b2)](_0x28a455,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x2b9b0a={'provider':_0x262d1e[_0x96e429(0x17f)](getPlaywrightProvider,_0x385088),'frameworkName':_0x28a455[_0x96e429(0x1b3)],'frameworkVersion':_0x28a455[_0x96e429(0x18c)],'frameworkSessionId':LoadTestModule[_0x96e429(0x193)]()?LoadTestModule[_0x96e429(0x1d1)]():AutomationFramework[_0x96e429(0x1b2)](_0x28a455,PlaywrightDriverModule[_0x96e429(0x17e)],''),'ref':_0x28a455[_0x96e429(0x17d)](),'hubUrl':_0x385088,'product':_0x262d1e[_0x96e429(0x174)](getProductForSession)};let _0x2c4990=AutomationFramework['getState'](_0x28a455,PlaywrightDriverModule[_0x96e429(0x17a)],{});_0x2c4990=Buffer['from'](JSON[_0x96e429(0x187)](_0x2c4990))['toString'](_0x262d1e[_0x96e429(0x1d8)]);const _0x54bc22={'hash':_0x7064f3[_0x96e429(0x1d4)](),'threadId':_0x7064f3[_0x96e429(0x1c7)]()[_0x96e429(0x1c8)](),'processId':_0x7064f3[_0x96e429(0x182)]()[_0x96e429(0x1c8)]()},_0x14212e={};_0x14212e[_0x96e429(0x178)]=_0x1444a5;const _0x2d0347={};_0x2d0347[_0x96e429(0x1d6)]=_0x5bdbeb;const _0x519d67={'platformIndex':_0x544e4c,'testFrameworkName':_0x53f218,'testFrameworkVersion':_0x13b390,'testFrameworkState':_0x5228e7,'testHookState':_0x21d8ea,...this[_0x96e429(0x1a3)]&&_0x262d1e[_0x96e429(0x184)](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])?_0x14212e:_0x2d0347,'automationSession':_0x2b9b0a,'capabilities':_0x2c4990,'executionContext':_0x54bc22};this['logger'][_0x96e429(0x19f)](_0x96e429(0x19c)+util[_0x96e429(0x1b8)](_0x519d67));const _0x30715f=await GrpcClient[_0x96e429(0x17c)]()['testSessionEvent'](_0x519d67);this[_0x96e429(0x1c6)][_0x96e429(0x19f)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x226126+(this['testFrameworkData']&&_0x262d1e['rjZwI'](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])?_0x96e429(0x17b)+_0x1444a5:''));}}catch(_0x28e8e1){this[_0x96e429(0x1c6)][_0x96e429(0x1bb)](_0x96e429(0x1a9)+util[_0x96e429(0x1b8)](_0x28e8e1));}}}TestHubModule[a85_0x24e28a(0x189)]='TestHubModule',TestHubModule[a85_0x24e28a(0x18d)]=a85_0x24e28a(0x1b7),module[a85_0x24e28a(0x1ae)]=TestHubModule;function a85_0x2500(_0x351111,_0x152fc1){const _0x4841c2=a85_0x4841();return a85_0x2500=function(_0x250011,_0xf8342b){_0x250011=_0x250011-0x16e;let _0x297cf1=_0x4841c2[_0x250011];return _0x297cf1;},a85_0x2500(_0x351111,_0x152fc1);}function a85_0x4841(){const _0x10336e=['onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','3124472qKohJd','./playwrightDriverModule.js','getState','frameworkName','getCurrentTestState','KEY_TEST_FRAMEWORK_NAME','CUCUMBER','test_deferred','format','getJwt','../cliUtils.js','error','KEY_PLATFORM_INDEX','getModuleName','JEST','mwQGk','version','util','../framework/automationFramework.js','../state/testFrameworkState.js','./baseModule','forEach','logger','getThreadId','toString','../../../helpers/test-observability/constants.js','LYBUV','getTestIdentifierFromTestInfo','BROWSERSTACK_TESTHUB_UUID','TEST','keys','getContext','split','getLTSSessionId','../TestInfo.js','registerObserver','getId','POST','testUuid','testInfo','XFcUU','TestHubModule','BROWSERSTACK_TESTHUB_JWT','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','../browserstackCLI.js','onPageCreate','testFrameworkEvent','KEY_TEST_FRAMEWORK_VERSION','onAllTestEvents','0|7|8|3|4|5|2|1|6','2790130GzPVUx','BAaKe','getTestDetails','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','values','test_identifier','../../../helpers/testhub/constants','KEY_CAPABILITIES',',\x20test_identifier:\x20','getInstance','getRef','KEY_SESSION_ID','QJUxY','testhubConfig','env','getProcessId','base64','EQPAq','595447YfzMsl','220488sPpMAx','stringify','recreateIdentifierFromTestInfo','MODULE_NAME','page','EMwvH','frameworkVersion','KEY_TEST_DEFERRED','ENV_VAR','jmQPL','12217226TyYtxz','../utils/jest-utils.js','getTestId','isLTSSession','name','./loadTestModule.js','229416AqNkbZ','createTestFrameworkEventPayload','../state/automationFrameworkState.js','O11yHashedID','jestUtils','CREATE','onPageCreate\x20CBTSession\x20payload:\x20','rjZwI','getTestFramework','debug','bind','matchHookRegex','length','testFrameworkData','../state/hookState.js','\x20hookState:\x20','../../../helpers/helper.js','5206026puCiwR','../grpcClient.js','Error\x20in\x20sending\x20CBTSession:\x20','ZAGpt','getBuildHashedId','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','getTestUUID','exports'];a85_0x4841=function(){return _0x10336e;};return a85_0x4841();}
@@ -1 +1 @@
1
- const a86_0xc3f384=a86_0x3d87;(function(_0x343cd6,_0x3466bd){const _0x12aa2f=a86_0x3d87,_0x3416cd=_0x343cd6();while(!![]){try{const _0xfeb78f=-parseInt(_0x12aa2f(0xce))/0x1*(parseInt(_0x12aa2f(0xd0))/0x2)+parseInt(_0x12aa2f(0xc2))/0x3*(parseInt(_0x12aa2f(0xc6))/0x4)+-parseInt(_0x12aa2f(0xd1))/0x5+parseInt(_0x12aa2f(0xb9))/0x6*(parseInt(_0x12aa2f(0xb6))/0x7)+-parseInt(_0x12aa2f(0xcb))/0x8+-parseInt(_0x12aa2f(0xbb))/0x9*(-parseInt(_0x12aa2f(0xc9))/0xa)+parseInt(_0x12aa2f(0xb7))/0xb;if(_0xfeb78f===_0x3466bd)break;else _0x3416cd['push'](_0x3416cd['shift']());}catch(_0xf188da){_0x3416cd['push'](_0x3416cd['shift']());}}}(a86_0x17b3,0xc7a09));function a86_0x17b3(){const _0x143f0e=['nqGga','gZDiO','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','value','AutomationFrameworkState.EXECUTE','2631creGXN','AutomationFrameworkState.QUIT','ubmDK','IkmXy','3172CrtBlk','exports','toString','10hMrHWk','CHiVR','2791328DVTAPI','find','values','7okSAfx','hctYH','329710YAPYmC','6551480hLvLLS','35zcYCtb','27782172RoaJCH','AutomationFrameworkState.CREATE','334104CEzhqm','freeze','1182033yuhAwu','../../utils/constants'];a86_0x17b3=function(){return _0x143f0e;};return a86_0x17b3();}const {PLAYWRIGHT}=require(a86_0xc3f384(0xbc)),a86_0x4a219d={};a86_0x4a219d['value']=0x0,a86_0x4a219d[a86_0xc3f384(0xc8)]=function(){const _0x291694=a86_0xc3f384,_0x51e4e9={};_0x51e4e9['hctYH']='AutomationFrameworkState.NONE';const _0x1c9d55=_0x51e4e9;return _0x1c9d55[_0x291694(0xcf)];};const a86_0x3369aa={};a86_0x3369aa[a86_0xc3f384(0xc0)]=0x1,a86_0x3369aa[a86_0xc3f384(0xc8)]=function(){const _0x31640f=a86_0xc3f384,_0x2a16b8={};_0x2a16b8[_0x31640f(0xbd)]=_0x31640f(0xb8);const _0x463128=_0x2a16b8;return _0x463128[_0x31640f(0xbd)];};function a86_0x3d87(_0x3ddf99,_0x331c12){const _0x17b381=a86_0x17b3();return a86_0x3d87=function(_0x3d87e4,_0x37f9a2){_0x3d87e4=_0x3d87e4-0xb6;let _0x3d5fe9=_0x17b381[_0x3d87e4];return _0x3d5fe9;},a86_0x3d87(_0x3ddf99,_0x331c12);}const a86_0x5ccef4={};a86_0x5ccef4[a86_0xc3f384(0xc0)]=0x2,a86_0x5ccef4[a86_0xc3f384(0xc8)]=function(){const _0x130107=a86_0xc3f384,_0x48f969={};_0x48f969[_0x130107(0xca)]=_0x130107(0xbf);const _0x42ce7d=_0x48f969;return _0x42ce7d[_0x130107(0xca)];};const a86_0x60403f={};a86_0x60403f[a86_0xc3f384(0xc0)]=0x3,a86_0x60403f[a86_0xc3f384(0xc8)]=function(){const _0x4abe43=a86_0xc3f384,_0xc7c416={};_0xc7c416['gZDiO']=_0x4abe43(0xc1);const _0x4c2663=_0xc7c416;return _0x4c2663[_0x4abe43(0xbe)];};const a86_0x9a89df={};a86_0x9a89df[a86_0xc3f384(0xc0)]=0x4,a86_0x9a89df[a86_0xc3f384(0xc8)]=function(){const _0x5cbbbc=a86_0xc3f384,_0x5bcba0={};_0x5bcba0[_0x5cbbbc(0xc4)]='AutomationFrameworkState.IDLE';const _0x49c8d2=_0x5bcba0;return _0x49c8d2[_0x5cbbbc(0xc4)];};const a86_0x39d258={};a86_0x39d258['value']=0x5,a86_0x39d258['toString']=function(){const _0x2b5209=a86_0xc3f384,_0xa2e1bf={};_0xa2e1bf[_0x2b5209(0xc5)]=_0x2b5209(0xc3);const _0x41be8d=_0xa2e1bf;return _0x41be8d[_0x2b5209(0xc5)];};const AutomationFrameworkState=Object[a86_0xc3f384(0xba)]({'NONE':a86_0x4a219d,'CREATE':a86_0x3369aa,'PLAYWRIGHT_DISPATCH':a86_0x5ccef4,'EXECUTE':a86_0x60403f,'IDLE':a86_0x9a89df,'QUIT':a86_0x39d258,'fromValue'(_0x18676a){const _0x49c2e1=a86_0xc3f384;return Object[_0x49c2e1(0xcd)](AutomationFrameworkState)[_0x49c2e1(0xcc)](_0xa584b=>_0xa584b[_0x49c2e1(0xc0)]===_0x18676a);}});module[a86_0xc3f384(0xc7)]=AutomationFrameworkState;
1
+ const a86_0x336bc6=a86_0xec99;(function(_0x5671a9,_0x1647e6){const _0x3d66f7=a86_0xec99,_0x184ea9=_0x5671a9();while(!![]){try{const _0x3fa6ba=parseInt(_0x3d66f7(0x6b))/0x1*(-parseInt(_0x3d66f7(0x6c))/0x2)+parseInt(_0x3d66f7(0x76))/0x3+parseInt(_0x3d66f7(0x6e))/0x4*(-parseInt(_0x3d66f7(0x6f))/0x5)+parseInt(_0x3d66f7(0x78))/0x6*(-parseInt(_0x3d66f7(0x7a))/0x7)+-parseInt(_0x3d66f7(0x75))/0x8*(parseInt(_0x3d66f7(0x74))/0x9)+parseInt(_0x3d66f7(0x70))/0xa+-parseInt(_0x3d66f7(0x7b))/0xb*(-parseInt(_0x3d66f7(0x6a))/0xc);if(_0x3fa6ba===_0x1647e6)break;else _0x184ea9['push'](_0x184ea9['shift']());}catch(_0xaaf3bc){_0x184ea9['push'](_0x184ea9['shift']());}}}(a86_0x4a93,0xeff4f));const {PLAYWRIGHT}=require(a86_0x336bc6(0x77)),a86_0x191f3e={};function a86_0x4a93(){const _0x33cb04=['1Khbtyq','178246UCDRLK','AutomationFrameworkState.IDLE','4089788fvayYV','5JeEMHF','7744690gSWznS','AutomationFrameworkState.EXECUTE','TSyft','AutomationFrameworkState.QUIT','18zIQzDL','807816EEpOBB','3837594bbLlzY','../../utils/constants','12486PGPYdv','WPjeq','539wmCVqO','492503eqTGgF','WScBk','XYRfK','values','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','toString','find','ktlOl','value','108LnGUlD'];a86_0x4a93=function(){return _0x33cb04;};return a86_0x4a93();}a86_0x191f3e[a86_0x336bc6(0x69)]=0x0,a86_0x191f3e[a86_0x336bc6(0x80)]=function(){const _0x5292f3=a86_0x336bc6,_0x141654={};_0x141654[_0x5292f3(0x72)]='AutomationFrameworkState.NONE';const _0xfcd099=_0x141654;return _0xfcd099['TSyft'];};const a86_0x2a1959={};a86_0x2a1959['value']=0x1,a86_0x2a1959[a86_0x336bc6(0x80)]=function(){const _0xbaa0bb=a86_0x336bc6,_0x56501a={};_0x56501a[_0xbaa0bb(0x7c)]='AutomationFrameworkState.CREATE';const _0x134cc5=_0x56501a;return _0x134cc5['WScBk'];};const a86_0x45835d={};a86_0x45835d[a86_0x336bc6(0x69)]=0x2,a86_0x45835d[a86_0x336bc6(0x80)]=function(){const _0x10a739=a86_0x336bc6,_0x49e170={};_0x49e170[_0x10a739(0x79)]=_0x10a739(0x7f);const _0x202733=_0x49e170;return _0x202733[_0x10a739(0x79)];};const a86_0x2b406d={};a86_0x2b406d['value']=0x3,a86_0x2b406d[a86_0x336bc6(0x80)]=function(){const _0x51c539=a86_0x336bc6,_0x12cdf0={};_0x12cdf0[_0x51c539(0x7d)]=_0x51c539(0x71);const _0x1b3e8b=_0x12cdf0;return _0x1b3e8b[_0x51c539(0x7d)];};const a86_0x5a059c={};a86_0x5a059c['value']=0x4,a86_0x5a059c[a86_0x336bc6(0x80)]=function(){const _0x594dc3=a86_0x336bc6,_0x476b5f={};_0x476b5f[_0x594dc3(0x68)]=_0x594dc3(0x6d);const _0xb2b87b=_0x476b5f;return _0xb2b87b[_0x594dc3(0x68)];};function a86_0xec99(_0x12f7fb,_0x5dd9ef){const _0x4a930f=a86_0x4a93();return a86_0xec99=function(_0xec9940,_0x361169){_0xec9940=_0xec9940-0x68;let _0x1f077a=_0x4a930f[_0xec9940];return _0x1f077a;},a86_0xec99(_0x12f7fb,_0x5dd9ef);}const a86_0x3671bd={};a86_0x3671bd[a86_0x336bc6(0x69)]=0x5,a86_0x3671bd[a86_0x336bc6(0x80)]=function(){const _0x5e6a2d=a86_0x336bc6,_0x271b44={};_0x271b44['uJSCJ']=_0x5e6a2d(0x73);const _0x51c89e=_0x271b44;return _0x51c89e['uJSCJ'];};const AutomationFrameworkState=Object['freeze']({'NONE':a86_0x191f3e,'CREATE':a86_0x2a1959,'PLAYWRIGHT_DISPATCH':a86_0x45835d,'EXECUTE':a86_0x2b406d,'IDLE':a86_0x5a059c,'QUIT':a86_0x3671bd,'fromValue'(_0x388695){const _0x460e8e=a86_0x336bc6;return Object[_0x460e8e(0x7e)](AutomationFrameworkState)[_0x460e8e(0x81)](_0x4880b8=>_0x4880b8[_0x460e8e(0x69)]===_0x388695);}});module['exports']=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a87_0xf014fd=a87_0x13b6;(function(_0x3a8c70,_0x1eef86){const _0x3ed625=a87_0x13b6,_0x3c8ee1=_0x3a8c70();while(!![]){try{const _0x1149c6=-parseInt(_0x3ed625(0xfc))/0x1*(-parseInt(_0x3ed625(0x101))/0x2)+-parseInt(_0x3ed625(0xeb))/0x3+parseInt(_0x3ed625(0xf4))/0x4*(-parseInt(_0x3ed625(0xf8))/0x5)+-parseInt(_0x3ed625(0xf3))/0x6*(parseInt(_0x3ed625(0xfd))/0x7)+-parseInt(_0x3ed625(0xec))/0x8*(parseInt(_0x3ed625(0xea))/0x9)+-parseInt(_0x3ed625(0xf1))/0xa*(-parseInt(_0x3ed625(0xf0))/0xb)+parseInt(_0x3ed625(0x100))/0xc*(parseInt(_0x3ed625(0xf6))/0xd);if(_0x1149c6===_0x1eef86)break;else _0x3c8ee1['push'](_0x3c8ee1['shift']());}catch(_0x5d1a17){_0x3c8ee1['push'](_0x3c8ee1['shift']());}}}(a87_0x2901,0x2c42a));const a87_0x2a511b={};function a87_0x2901(){const _0x146f97=['6886MiXtMp','3430TajVsi','freeze','6JTwkGA','40IGEExi','find','26ElLPJF','HookState.PRE','115870hNDvsX','XHDGo','exports','toString','5213ZaWEXh','1229781xjzNsR','HookState.POST','value','4941060ONTtkS','40TLEYaE','1604466MyqtGO','591681KHCNbr','16vYRVDN','aONqV','LglNq','HookState.NONE'];a87_0x2901=function(){return _0x146f97;};return a87_0x2901();}a87_0x2a511b[a87_0xf014fd(0xff)]=0x0,a87_0x2a511b['toString']=function(){const _0x39c729=a87_0xf014fd,_0x320595={};_0x320595[_0x39c729(0xee)]=_0x39c729(0xef);const _0x99320b=_0x320595;return _0x99320b[_0x39c729(0xee)];};function a87_0x13b6(_0x1e44c2,_0x55ee9b){const _0x290174=a87_0x2901();return a87_0x13b6=function(_0x13b612,_0x118d13){_0x13b612=_0x13b612-0xea;let _0x346002=_0x290174[_0x13b612];return _0x346002;},a87_0x13b6(_0x1e44c2,_0x55ee9b);}const a87_0x21f860={};a87_0x21f860[a87_0xf014fd(0xff)]=0x1,a87_0x21f860[a87_0xf014fd(0xfb)]=function(){const _0x182668=a87_0xf014fd,_0x2d98df={};_0x2d98df[_0x182668(0xf9)]=_0x182668(0xf7);const _0x3a231d=_0x2d98df;return _0x3a231d[_0x182668(0xf9)];};const a87_0x29c436={};a87_0x29c436[a87_0xf014fd(0xff)]=0x2,a87_0x29c436[a87_0xf014fd(0xfb)]=function(){const _0x1d49f5=a87_0xf014fd,_0x3c6056={};_0x3c6056['aONqV']=_0x1d49f5(0xfe);const _0x130eee=_0x3c6056;return _0x130eee[_0x1d49f5(0xed)];};const HookState=Object[a87_0xf014fd(0xf2)]({'NONE':a87_0x2a511b,'PRE':a87_0x21f860,'POST':a87_0x29c436,'fromValue'(_0x1d8161){const _0xd1bbbd=a87_0xf014fd;return Object['values'](HookState)[_0xd1bbbd(0xf5)](_0x3f1d8a=>_0x3f1d8a[_0xd1bbbd(0xff)]===_0x1d8161);}});module[a87_0xf014fd(0xfa)]=HookState;
1
+ const a87_0x425ff4=a87_0xc280;(function(_0x53336c,_0x404219){const _0x43505e=a87_0xc280,_0x5c1ec7=_0x53336c();while(!![]){try{const _0x9b4ecb=parseInt(_0x43505e(0x121))/0x1*(-parseInt(_0x43505e(0x122))/0x2)+-parseInt(_0x43505e(0x12a))/0x3+parseInt(_0x43505e(0x123))/0x4*(parseInt(_0x43505e(0x12f))/0x5)+parseInt(_0x43505e(0x12e))/0x6+-parseInt(_0x43505e(0x128))/0x7+parseInt(_0x43505e(0x126))/0x8+parseInt(_0x43505e(0x125))/0x9;if(_0x9b4ecb===_0x404219)break;else _0x5c1ec7['push'](_0x5c1ec7['shift']());}catch(_0x430952){_0x5c1ec7['push'](_0x5c1ec7['shift']());}}}(a87_0xbbce,0xafb30));const a87_0x72fa56={};a87_0x72fa56[a87_0x425ff4(0x132)]=0x0,a87_0x72fa56[a87_0x425ff4(0x134)]=function(){const _0x266ee6=a87_0x425ff4,_0x5ff90f={};_0x5ff90f['KtFMg']=_0x266ee6(0x130);const _0x2b6f8b=_0x5ff90f;return _0x2b6f8b['KtFMg'];};const a87_0x213eb1={};function a87_0xbbce(){const _0x3eba83=['uqKGx','ptZTD','HookState.POST','693852tHqTgJ','495cYUdfe','HookState.NONE','freeze','value','values','toString','47219nzzlZH','44ViZnsc','32108uLBNhY','HookState.PRE','1467378ZpEDAk','7707288jPtWMR','exports','63301FtrYnC','find','807729eOuroN'];a87_0xbbce=function(){return _0x3eba83;};return a87_0xbbce();}a87_0x213eb1[a87_0x425ff4(0x132)]=0x1,a87_0x213eb1['toString']=function(){const _0x5928a2=a87_0x425ff4,_0x5c0e33={};_0x5c0e33['ptZTD']=_0x5928a2(0x124);const _0x49e88e=_0x5c0e33;return _0x49e88e[_0x5928a2(0x12c)];};const a87_0x200e1c={};a87_0x200e1c[a87_0x425ff4(0x132)]=0x2,a87_0x200e1c['toString']=function(){const _0x143e2f=a87_0x425ff4,_0x6682ae={};_0x6682ae[_0x143e2f(0x12b)]=_0x143e2f(0x12d);const _0x3fd58f=_0x6682ae;return _0x3fd58f[_0x143e2f(0x12b)];};function a87_0xc280(_0x43424c,_0x30074a){const _0xbbce89=a87_0xbbce();return a87_0xc280=function(_0xc28081,_0x5b1694){_0xc28081=_0xc28081-0x121;let _0x2b54da=_0xbbce89[_0xc28081];return _0x2b54da;},a87_0xc280(_0x43424c,_0x30074a);}const HookState=Object[a87_0x425ff4(0x131)]({'NONE':a87_0x72fa56,'PRE':a87_0x213eb1,'POST':a87_0x200e1c,'fromValue'(_0x1994fe){const _0x3da051=a87_0x425ff4;return Object[_0x3da051(0x133)](HookState)[_0x3da051(0x129)](_0x10f501=>_0x10f501[_0x3da051(0x132)]===_0x1994fe);}});module[a87_0x425ff4(0x127)]=HookState;
@@ -1 +1 @@
1
- const a88_0x1088f0=a88_0xf997;(function(_0x493c01,_0x366b55){const _0x3bdafa=a88_0xf997,_0x36297e=_0x493c01();while(!![]){try{const _0x173cb0=parseInt(_0x3bdafa(0xfc))/0x1+parseInt(_0x3bdafa(0xef))/0x2*(parseInt(_0x3bdafa(0xeb))/0x3)+parseInt(_0x3bdafa(0xfd))/0x4+-parseInt(_0x3bdafa(0xe0))/0x5*(parseInt(_0x3bdafa(0xe4))/0x6)+parseInt(_0x3bdafa(0xe9))/0x7*(parseInt(_0x3bdafa(0xec))/0x8)+parseInt(_0x3bdafa(0xf2))/0x9*(-parseInt(_0x3bdafa(0xfa))/0xa)+parseInt(_0x3bdafa(0xea))/0xb;if(_0x173cb0===_0x366b55)break;else _0x36297e['push'](_0x36297e['shift']());}catch(_0x25b6d1){_0x36297e['push'](_0x36297e['shift']());}}}(a88_0x81b7,0x3c0e0));const a88_0x36452f={};a88_0x36452f[a88_0x1088f0(0xe1)]=0x0,a88_0x36452f['toString']=function(){const _0x29dd82=a88_0x1088f0,_0x3a8be4={};_0x3a8be4['cjukQ']=_0x29dd82(0xf4);const _0x22340f=_0x3a8be4;return _0x22340f['cjukQ'];};const a88_0x24fdf6={};a88_0x24fdf6[a88_0x1088f0(0xe1)]=0x1,a88_0x24fdf6[a88_0x1088f0(0xed)]=function(){const _0x27ddf9=a88_0x1088f0,_0x1353a1={};_0x1353a1[_0x27ddf9(0xf9)]='TestFrameworkState.BEFORE_ALL';const _0x33687d=_0x1353a1;return _0x33687d[_0x27ddf9(0xf9)];};const a88_0x4bff51={};function a88_0xf997(_0x313d4d,_0x180f74){const _0x81b7f2=a88_0x81b7();return a88_0xf997=function(_0xf997c8,_0x1fddc3){_0xf997c8=_0xf997c8-0xdd;let _0x36a54c=_0x81b7f2[_0xf997c8];return _0x36a54c;},a88_0xf997(_0x313d4d,_0x180f74);}a88_0x4bff51[a88_0x1088f0(0xe1)]=0x2,a88_0x4bff51[a88_0x1088f0(0xed)]=function(){const _0x345ecd=a88_0x1088f0,_0xe3ec10={};_0xe3ec10[_0x345ecd(0x101)]=_0x345ecd(0xff);const _0x28f218=_0xe3ec10;return _0x28f218[_0x345ecd(0x101)];};const a88_0x413dc6={};a88_0x413dc6['value']=0x3,a88_0x413dc6[a88_0x1088f0(0xed)]=function(){const _0x3ec06e=a88_0x1088f0,_0x29de82={};_0x29de82[_0x3ec06e(0xde)]=_0x3ec06e(0xe3);const _0x1b522f=_0x29de82;return _0x1b522f[_0x3ec06e(0xde)];};const a88_0x27905c={};function a88_0x81b7(){const _0x41c295=['2869242sRKmZc','find','NyZMS','TestFrameworkState.AFTER_ALL','mxBFY','7VKQJeY','5757961hvmtZS','249xsmaHW','2039768iBvzvB','toString','TestFrameworkState.LOG_REPORT','338gLdJMw','exports','bLXXE','2160018LEwWGm','ZDMzf','TestFrameworkState.NONE','Mxsuw','TestFrameworkState.TEST','values','TestFrameworkState.BEFORE_EACH','FCtgp','10XOqZnK','AHokq','31998miHQie','558984BnWseP','TestFrameworkState.AFTER_EACH','TestFrameworkState.LOG','TestFrameworkState.TEST_SCREENSHOT','RcHQo','TestFrameworkState.STEP','BpPnb','OwAUs','Qfmwu','5GKEJEH','value','TestFrameworkState.INIT_TEST','TestFrameworkState.SETUP_FIXTURE'];a88_0x81b7=function(){return _0x41c295;};return a88_0x81b7();}a88_0x27905c[a88_0x1088f0(0xe1)]=0x4,a88_0x27905c[a88_0x1088f0(0xed)]=function(){const _0x30a516=a88_0x1088f0,_0xb4617c={};_0xb4617c[_0x30a516(0xf5)]=_0x30a516(0xe2);const _0x4695a1=_0xb4617c;return _0x4695a1[_0x30a516(0xf5)];};const a88_0x2b8222={};a88_0x2b8222[a88_0x1088f0(0xe1)]=0x5,a88_0x2b8222[a88_0x1088f0(0xed)]=function(){const _0x2f12b2=a88_0x1088f0,_0x17a470={};_0x17a470[_0x2f12b2(0xf3)]=_0x2f12b2(0xf8);const _0x2d2b70=_0x17a470;return _0x2d2b70[_0x2f12b2(0xf3)];};const a88_0x3f1daa={};a88_0x3f1daa[a88_0x1088f0(0xe1)]=0x6,a88_0x3f1daa[a88_0x1088f0(0xed)]=function(){const _0x22f147=a88_0x1088f0,_0x19eb91={};_0x19eb91[_0x22f147(0xe8)]=_0x22f147(0xfe);const _0x4f742d=_0x19eb91;return _0x4f742d[_0x22f147(0xe8)];};const a88_0x35a3a6={};a88_0x35a3a6[a88_0x1088f0(0xe1)]=0x7,a88_0x35a3a6['toString']=function(){const _0x10acf0=a88_0x1088f0,_0x6bcfb1={};_0x6bcfb1[_0x10acf0(0xe6)]=_0x10acf0(0xf6);const _0x55a121=_0x6bcfb1;return _0x55a121['NyZMS'];};const a88_0x24f345={};a88_0x24f345[a88_0x1088f0(0xe1)]=0x8,a88_0x24f345[a88_0x1088f0(0xed)]=function(){const _0x205e38=a88_0x1088f0,_0x465f81={};_0x465f81[_0x205e38(0xdf)]=_0x205e38(0x102);const _0x5655bf=_0x465f81;return _0x5655bf['Qfmwu'];};const a88_0x338f88={};a88_0x338f88[a88_0x1088f0(0xe1)]=0x9,a88_0x338f88['toString']=function(){const _0x26c658=a88_0x1088f0,_0x1563b2={};_0x1563b2[_0x26c658(0xfb)]=_0x26c658(0xee);const _0x3ebc04=_0x1563b2;return _0x3ebc04['AHokq'];};const a88_0x2b8745={};a88_0x2b8745['value']=0xa,a88_0x2b8745[a88_0x1088f0(0xed)]=function(){const _0x581dfd=a88_0x1088f0,_0x1b66ab={};_0x1b66ab[_0x581dfd(0xf1)]=_0x581dfd(0xe7);const _0x3c06b4=_0x1b66ab;return _0x3c06b4[_0x581dfd(0xf1)];};const a88_0x402479={};a88_0x402479[a88_0x1088f0(0xe1)]=0xb,a88_0x402479[a88_0x1088f0(0xed)]=function(){const _0x1ef38e=a88_0x1088f0,_0x12059e={};_0x12059e[_0x1ef38e(0xdd)]=_0x1ef38e(0x100);const _0x428dd4=_0x12059e;return _0x428dd4[_0x1ef38e(0xdd)];};const TestFrameworkState=Object['freeze']({'NONE':a88_0x36452f,'BEFORE_ALL':a88_0x24fdf6,'LOG':a88_0x4bff51,'SETUP_FIXTURE':a88_0x413dc6,'INIT_TEST':a88_0x27905c,'BEFORE_EACH':a88_0x2b8222,'AFTER_EACH':a88_0x3f1daa,'TEST':a88_0x35a3a6,'STEP':a88_0x24f345,'LOG_REPORT':a88_0x338f88,'AFTER_ALL':a88_0x2b8745,'TEST_SCREENSHOT':a88_0x402479,'fromValue'(_0x560ac0){const _0x1ef7f1=a88_0x1088f0;return Object[_0x1ef7f1(0xf7)](TestFrameworkState)[_0x1ef7f1(0xe5)](_0x487a2f=>_0x487a2f['value']===_0x560ac0);}});module[a88_0x1088f0(0xf0)]=TestFrameworkState;
1
+ const a88_0x28d6c0=a88_0x5368;(function(_0xd7244f,_0x3c185a){const _0x445214=a88_0x5368,_0x4e268e=_0xd7244f();while(!![]){try{const _0x521442=parseInt(_0x445214(0x1bf))/0x1*(-parseInt(_0x445214(0x1bb))/0x2)+parseInt(_0x445214(0x1be))/0x3+-parseInt(_0x445214(0x1af))/0x4+parseInt(_0x445214(0x1c9))/0x5*(parseInt(_0x445214(0x1ba))/0x6)+-parseInt(_0x445214(0x1c4))/0x7*(-parseInt(_0x445214(0x1c6))/0x8)+parseInt(_0x445214(0x1b2))/0x9+-parseInt(_0x445214(0x1a9))/0xa;if(_0x521442===_0x3c185a)break;else _0x4e268e['push'](_0x4e268e['shift']());}catch(_0x4a2e7d){_0x4e268e['push'](_0x4e268e['shift']());}}}(a88_0xb565,0x873a8));const a88_0x7d5a37={};a88_0x7d5a37[a88_0x28d6c0(0x1ab)]=0x0,a88_0x7d5a37[a88_0x28d6c0(0x1c2)]=function(){const _0x2feb48=a88_0x28d6c0,_0x745495={};_0x745495[_0x2feb48(0x1b4)]=_0x2feb48(0x1b0);const _0x57ece4=_0x745495;return _0x57ece4[_0x2feb48(0x1b4)];};const a88_0x3da261={};a88_0x3da261[a88_0x28d6c0(0x1ab)]=0x1,a88_0x3da261[a88_0x28d6c0(0x1c2)]=function(){const _0x570bdd=a88_0x28d6c0,_0x4c729e={};_0x4c729e[_0x570bdd(0x1c0)]=_0x570bdd(0x1c5);const _0x5c2bfc=_0x4c729e;return _0x5c2bfc['VdvBC'];};const a88_0x34cf9d={};a88_0x34cf9d[a88_0x28d6c0(0x1ab)]=0x2,a88_0x34cf9d[a88_0x28d6c0(0x1c2)]=function(){const _0xb9dd2e=a88_0x28d6c0,_0x2578a7={};_0x2578a7['dePee']=_0xb9dd2e(0x1ca);const _0x297cb0=_0x2578a7;return _0x297cb0['dePee'];};const a88_0x18bc18={};a88_0x18bc18[a88_0x28d6c0(0x1ab)]=0x3,a88_0x18bc18[a88_0x28d6c0(0x1c2)]=function(){const _0x1422f2=a88_0x28d6c0,_0x35d98e={};_0x35d98e[_0x1422f2(0x1b9)]=_0x1422f2(0x1aa);const _0x575af2=_0x35d98e;return _0x575af2[_0x1422f2(0x1b9)];};const a88_0x398e45={};function a88_0xb565(){const _0x36bcb7=['TestFrameworkState.LOG','BbVvZ','PqFbR','TestFrameworkState.AFTER_ALL','1527270akxyWb','TestFrameworkState.SETUP_FIXTURE','value','TestFrameworkState.INIT_TEST','WgbfL','LhasS','209844gfOexS','TestFrameworkState.NONE','BsRes','3023442aDqKFZ','TestFrameworkState.BEFORE_EACH','qPBMI','HYKno','XiwNu','TestFrameworkState.AFTER_EACH','freeze','WHkYR','27384JlUuRs','134fFtkpY','find','TestFrameworkState.TEST_SCREENSHOT','1438059uBBlrI','6514LbkVsL','VdvBC','TestFrameworkState.TEST','toString','DxiHa','21YNQtaI','TestFrameworkState.BEFORE_ALL','989608XVvHda','TestFrameworkState.STEP','values','10WOcpmC'];a88_0xb565=function(){return _0x36bcb7;};return a88_0xb565();}a88_0x398e45[a88_0x28d6c0(0x1ab)]=0x4,a88_0x398e45[a88_0x28d6c0(0x1c2)]=function(){const _0x1fe88f=a88_0x28d6c0,_0x28c502={};_0x28c502[_0x1fe88f(0x1c3)]=_0x1fe88f(0x1ac);const _0x1aefb7=_0x28c502;return _0x1aefb7[_0x1fe88f(0x1c3)];};const a88_0x280259={};a88_0x280259[a88_0x28d6c0(0x1ab)]=0x5,a88_0x280259[a88_0x28d6c0(0x1c2)]=function(){const _0x442701=a88_0x28d6c0,_0x212908={};_0x212908[_0x442701(0x1ae)]=_0x442701(0x1b3);const _0x2e6675=_0x212908;return _0x2e6675[_0x442701(0x1ae)];};const a88_0x159cea={};a88_0x159cea[a88_0x28d6c0(0x1ab)]=0x6,a88_0x159cea[a88_0x28d6c0(0x1c2)]=function(){const _0x3403ee=a88_0x28d6c0,_0x43ee24={};_0x43ee24['HYKno']=_0x3403ee(0x1b7);const _0x4df0f5=_0x43ee24;return _0x4df0f5[_0x3403ee(0x1b5)];};const a88_0x5995eb={};a88_0x5995eb[a88_0x28d6c0(0x1ab)]=0x7,a88_0x5995eb[a88_0x28d6c0(0x1c2)]=function(){const _0x439f43=a88_0x28d6c0,_0x4be208={};_0x4be208['BbVvZ']=_0x439f43(0x1c1);const _0x39f7b6=_0x4be208;return _0x39f7b6[_0x439f43(0x1a6)];};const a88_0x3baea4={};a88_0x3baea4[a88_0x28d6c0(0x1ab)]=0x8,a88_0x3baea4[a88_0x28d6c0(0x1c2)]=function(){const _0x1b915e=a88_0x28d6c0,_0x45dfc1={};_0x45dfc1[_0x1b915e(0x1b6)]=_0x1b915e(0x1c7);const _0x171128=_0x45dfc1;return _0x171128[_0x1b915e(0x1b6)];};const a88_0x2a9e08={};a88_0x2a9e08[a88_0x28d6c0(0x1ab)]=0x9,a88_0x2a9e08[a88_0x28d6c0(0x1c2)]=function(){const _0x307957=a88_0x28d6c0,_0x59feab={};_0x59feab['WgbfL']='TestFrameworkState.LOG_REPORT';const _0xda1855=_0x59feab;return _0xda1855[_0x307957(0x1ad)];};const a88_0x5911bd={};a88_0x5911bd[a88_0x28d6c0(0x1ab)]=0xa,a88_0x5911bd['toString']=function(){const _0x1a02f8=a88_0x28d6c0,_0x57ffc4={};_0x57ffc4[_0x1a02f8(0x1b1)]=_0x1a02f8(0x1a8);const _0x3dd9a8=_0x57ffc4;return _0x3dd9a8[_0x1a02f8(0x1b1)];};const a88_0x4153a1={};function a88_0x5368(_0x281cf8,_0x2ce47d){const _0xb5657b=a88_0xb565();return a88_0x5368=function(_0x5368e8,_0x20b6ce){_0x5368e8=_0x5368e8-0x1a6;let _0x1817f8=_0xb5657b[_0x5368e8];return _0x1817f8;},a88_0x5368(_0x281cf8,_0x2ce47d);}a88_0x4153a1[a88_0x28d6c0(0x1ab)]=0xb,a88_0x4153a1[a88_0x28d6c0(0x1c2)]=function(){const _0x103343=a88_0x28d6c0,_0x42d447={};_0x42d447[_0x103343(0x1a7)]=_0x103343(0x1bd);const _0x26edc8=_0x42d447;return _0x26edc8[_0x103343(0x1a7)];};const TestFrameworkState=Object[a88_0x28d6c0(0x1b8)]({'NONE':a88_0x7d5a37,'BEFORE_ALL':a88_0x3da261,'LOG':a88_0x34cf9d,'SETUP_FIXTURE':a88_0x18bc18,'INIT_TEST':a88_0x398e45,'BEFORE_EACH':a88_0x280259,'AFTER_EACH':a88_0x159cea,'TEST':a88_0x5995eb,'STEP':a88_0x3baea4,'LOG_REPORT':a88_0x2a9e08,'AFTER_ALL':a88_0x5911bd,'TEST_SCREENSHOT':a88_0x4153a1,'fromValue'(_0x5a4db4){const _0x11e459=a88_0x28d6c0;return Object[_0x11e459(0x1c8)](TestFrameworkState)[_0x11e459(0x1bc)](_0x254c19=>_0x254c19[_0x11e459(0x1ab)]===_0x5a4db4);}});module['exports']=TestFrameworkState;
@@ -1 +1 @@
1
- const a89_0x142ede=a89_0x4325;function a89_0x3f2e(){const _0x156326=['getTrackedInstance','mkdirSync','qIMBV','./modules/playwrightDriverModule','jnTjd','toLowerCase','9xLybpL','unlinkSync','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','https://','size','getAllData','logger','TTNMy','trackFile','debug','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','recursive','TWqEk','force','OlHuR','getTestFrameworkDetail','1187512sZmatu','Attachment\x20recevied\x20for\x20path:\x20%s','CKYWs','exports','startsWith','format','efuVy','get','modules','isRunning','getInstance','setTestDetails','LJWup','XMaTo','2350548XUKEVZ','jest','kvhsd','KEY_FILE_LEVEL','sTxJt','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','getTestDetails','join','toFixed','__workerDetails','clearAttachments','qGWjC','270JbQJqj','wCgvg','gIBNc','./cliUtils','./framework/constants/testFrameworkConstants','KEY_FILE_NAME','POST','UvtNi','util','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','Cleared\x20attachment\x20folder','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','hfYbt','phzqu','retry','.browserstack','http://','basename','TkscV','xboQX','finish','toNNV','8066641BtCdnI','EjhZC','./state/hookState','6rlmneY','TrtMS','copyFileSync','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','resolveInstance','whJUM','existsSync','pipe','https','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','TestLevel','TestHubModule','KEY_TEST_ATTACHMENTS','close','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','../../helpers/classLogger.js','OZeVY','386720TIhZUb','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','File\x20downloaded\x20to:\x20%s','Created\x20folder:\x20%s','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','addMultipleEntries','buildHashedId','uploadAttachmentsManager','PqOsb','8oanHZR','homedir','5flOnrp','testhubConfig','TEST','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','3550782EqTXCI','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','toObject','eQVMz','http','gYeyX','testInfo','361057lXsbHs','BuildLevel','MWyAx','964397schAFB','__jestCurrentTestIdentifier','BHhyG','tPoCG','statusCode','EQgzK','./browserstackCLI','cpCBy','getState','KEY_TEST_ID','dPtxG','statSync','message','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','fcLBR','KEY_FILE_PATH','yLVCk','195fmBRFs','HLBop','getTestFramework','./framework/automationFramework','gQYGs','DhWkr','nmTFG'];a89_0x3f2e=function(){return _0x156326;};return a89_0x3f2e();}(function(_0x20a2f1,_0x1b8a28){const _0x4b6e8f=a89_0x4325,_0x35386d=_0x20a2f1();while(!![]){try{const _0x33a1df=-parseInt(_0x4b6e8f(0x1e4))/0x1*(parseInt(_0x4b6e8f(0x1bd))/0x2)+-parseInt(_0x4b6e8f(0x205))/0x3*(parseInt(_0x4b6e8f(0x18a))/0x4)+-parseInt(_0x4b6e8f(0x1d9))/0x5*(parseInt(_0x4b6e8f(0x1dd))/0x6)+parseInt(_0x4b6e8f(0x1e7))/0x7*(-parseInt(_0x4b6e8f(0x1d7))/0x8)+-parseInt(_0x4b6e8f(0x1a4))/0x9*(-parseInt(_0x4b6e8f(0x1ce))/0xa)+-parseInt(_0x4b6e8f(0x1ba))/0xb+parseInt(_0x4b6e8f(0x198))/0xc*(parseInt(_0x4b6e8f(0x1f8))/0xd);if(_0x33a1df===_0x1b8a28)break;else _0x35386d['push'](_0x35386d['shift']());}catch(_0x57e196){_0x35386d['push'](_0x35386d['shift']());}}}(a89_0x3f2e,0xa1889));function a89_0x4325(_0x4f9f63,_0x3eb979){const _0x3f2ea9=a89_0x3f2e();return a89_0x4325=function(_0x432556,_0x232df1){_0x432556=_0x432556-0x17c;let _0x14f4ab=_0x3f2ea9[_0x432556];return _0x14f4ab;},a89_0x4325(_0x4f9f63,_0x3eb979);}const os=require('os'),fs=require('fs'),path=require('path'),util=require(a89_0x142ede(0x1ac)),BrowserstackCLI=require('./browserstackCLI'),https=require(a89_0x142ede(0x1c5)),http=require(a89_0x142ede(0x1e1)),AutomationFramework=require(a89_0x142ede(0x1fb)),PlaywrightDriverModule=require(a89_0x142ede(0x202)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a89_0x142ede(0x1a8)),{createClassLogger}=require(a89_0x142ede(0x1cc));class uploadAttachmentsManager{static [a89_0x142ede(0x180)]=createClassLogger(a89_0x142ede(0x1d5));static['uploadAttachments'](_0x534107,_0x150b15=![]){const _0x84fc9c=a89_0x142ede,_0x4c3bb8={};_0x4c3bb8['tPoCG']=function(_0x57349e,_0xd9279f){return _0x57349e/_0xd9279f;},_0x4c3bb8[_0x84fc9c(0x1f9)]=function(_0x16d9ea,_0x1b7726){return _0x16d9ea*_0x1b7726;},_0x4c3bb8[_0x84fc9c(0x188)]=function(_0x206784,_0x58eebf){return _0x206784>_0x58eebf;},_0x4c3bb8['zfVxP']=_0x84fc9c(0x1ad),_0x4c3bb8[_0x84fc9c(0x1c2)]=_0x84fc9c(0x1d0),_0x4c3bb8[_0x84fc9c(0x1fe)]=function(_0x565762,_0x476d39){return _0x565762===_0x476d39;},_0x4c3bb8[_0x84fc9c(0x196)]=_0x84fc9c(0x1b8),_0x4c3bb8[_0x84fc9c(0x18c)]=_0x84fc9c(0x1f4),_0x4c3bb8['UvtNi']=_0x84fc9c(0x1d2),_0x4c3bb8[_0x84fc9c(0x190)]=_0x84fc9c(0x18b),_0x4c3bb8[_0x84fc9c(0x197)]=_0x84fc9c(0x1b3),_0x4c3bb8[_0x84fc9c(0x19a)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x4c3bb8[_0x84fc9c(0x1fd)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x4c3bb8[_0x84fc9c(0x1ee)]=_0x84fc9c(0x1d1),_0x4c3bb8['EQgzK']=function(_0x1d7cec,_0x4243a0){return _0x1d7cec===_0x4243a0;},_0x4c3bb8[_0x84fc9c(0x1be)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x4c3bb8[_0x84fc9c(0x186)]=_0x84fc9c(0x17d),_0x4c3bb8['wCgvg']=_0x84fc9c(0x1b4),_0x4c3bb8[_0x84fc9c(0x201)]='error',_0x4c3bb8[_0x84fc9c(0x1b9)]=_0x84fc9c(0x19d),_0x4c3bb8[_0x84fc9c(0x1d6)]=function(_0x4eca98,_0x5cd22e){return _0x4eca98/_0x5cd22e;},_0x4c3bb8[_0x84fc9c(0x1cd)]=function(_0x46302c,_0x177f94){return _0x46302c*_0x177f94;},_0x4c3bb8[_0x84fc9c(0x1bb)]=function(_0x46740a,_0x5aead4){return _0x46740a>_0x5aead4;},_0x4c3bb8['gIBNc']=_0x84fc9c(0x1cf);const _0x21dd72=_0x4c3bb8;this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x190)],_0x534107));const _0x17de00=os[_0x84fc9c(0x1d8)](),_0x24da38=path[_0x84fc9c(0x19f)](_0x17de00,_0x21dd72[_0x84fc9c(0x197)]);!fs[_0x84fc9c(0x1c3)](_0x24da38)&&(this[_0x84fc9c(0x180)]['debug'](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x19a)],_0x24da38)),fs[_0x84fc9c(0x200)](_0x24da38),this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x1fd)],_0x24da38)));const _0x5958e2=BrowserstackCLI['getInstance']()['modules'][_0x84fc9c(0x1c8)]?.[_0x84fc9c(0x1da)]?.['toObject']()?.[_0x84fc9c(0x1d4)],_0x35c93e=path['join'](_0x24da38,_0x5958e2);!fs[_0x84fc9c(0x1c3)](_0x35c93e)&&(fs[_0x84fc9c(0x200)](_0x35c93e),this[_0x84fc9c(0x180)]['debug'](util['format'](_0x21dd72[_0x84fc9c(0x1ee)],_0x35c93e)));if(_0x21dd72[_0x84fc9c(0x1ec)](_0x534107['trim'](),'')){this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72['TrtMS']));return;}if(_0x534107[_0x84fc9c(0x18e)](_0x21dd72[_0x84fc9c(0x186)])||_0x534107[_0x84fc9c(0x18e)](_0x21dd72[_0x84fc9c(0x1a5)])){const _0x248773=_0x534107[_0x84fc9c(0x18e)](_0x21dd72[_0x84fc9c(0x186)])?https:http,_0x22847f=path[_0x84fc9c(0x1b5)](_0x534107),_0xe05509=path[_0x84fc9c(0x19f)](_0x35c93e,_0x22847f),_0x3704a1=fs['createWriteStream'](_0xe05509);_0x248773[_0x84fc9c(0x191)](_0x534107,_0x50c075=>{const _0x16de9a=_0x84fc9c;if(_0x21dd72[_0x16de9a(0x1fe)](_0x50c075[_0x16de9a(0x1eb)],0xc8))_0x50c075[_0x16de9a(0x1c4)](_0x3704a1),_0x3704a1['on'](_0x21dd72[_0x16de9a(0x196)],()=>{const _0x107f96=_0x16de9a;_0x3704a1['close']();const _0x543478=fs['statSync'](_0xe05509),_0x19e0e2=_0x21dd72[_0x107f96(0x1ea)](_0x543478['size'],_0x21dd72['HLBop'](0x400,0x400));if(_0x21dd72[_0x107f96(0x188)](_0x19e0e2,0x64)){this['logger'][_0x107f96(0x183)](util[_0x107f96(0x18f)](_0x21dd72['zfVxP'],_0x19e0e2['toFixed'](0x2))),fs[_0x107f96(0x206)](_0xe05509);return;}this[_0x107f96(0x180)][_0x107f96(0x183)](util[_0x107f96(0x18f)](_0x21dd72[_0x107f96(0x1c2)],_0xe05509)),uploadAttachmentsManager[_0x107f96(0x182)](_0xe05509,_0x150b15);});else{this['logger'][_0x16de9a(0x183)](util['format'](_0x21dd72[_0x16de9a(0x18c)],_0x50c075[_0x16de9a(0x1eb)])),_0x3704a1[_0x16de9a(0x1ca)](),fs['unlinkSync'](_0xe05509);return;}})['on'](_0x21dd72['qIMBV'],_0x1eaf53=>{const _0x1876ee=_0x84fc9c;this[_0x1876ee(0x180)]['debug'](util['format'](_0x21dd72[_0x1876ee(0x1ab)],_0x1eaf53['message'])),_0x3704a1['close'](),fs[_0x1876ee(0x206)](_0xe05509);return;});}else{if(!fs[_0x84fc9c(0x1c3)](_0x534107)){this[_0x84fc9c(0x180)]['debug'](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x1b9)],_0x534107));return;}const _0x44be38=fs[_0x84fc9c(0x1f2)](_0x534107),_0x582c8d=_0x21dd72[_0x84fc9c(0x1d6)](_0x44be38[_0x84fc9c(0x17e)],_0x21dd72[_0x84fc9c(0x1cd)](0x400,0x400));if(_0x21dd72[_0x84fc9c(0x1bb)](_0x582c8d,0x64)){this[_0x84fc9c(0x180)][_0x84fc9c(0x183)](util[_0x84fc9c(0x18f)](_0x21dd72[_0x84fc9c(0x1a6)],_0x582c8d[_0x84fc9c(0x1a0)](0x2)));return;}const _0x1a8ae7=path[_0x84fc9c(0x1b5)](_0x534107),_0xfd538=path[_0x84fc9c(0x19f)](_0x35c93e,_0x1a8ae7);fs[_0x84fc9c(0x1bf)](_0x534107,_0xfd538),uploadAttachmentsManager[_0x84fc9c(0x182)](_0xfd538,_0x150b15);}}static[a89_0x142ede(0x182)](_0xce0005,_0xce4f97){const _0x4d85d7=a89_0x142ede,_0x4d4514={'TkscV':function(_0x3d9dd5,_0x55b2b1){return _0x3d9dd5(_0x55b2b1);},'fcLBR':_0x4d85d7(0x1ed),'gQYGs':function(_0x528d74,_0x5a369a){return _0x528d74(_0x5a369a);},'MWyAx':_0x4d85d7(0x1a7),'TTNMy':function(_0xfbc5fd,_0x33c4fd){return _0xfbc5fd===_0x33c4fd;},'AzvwS':_0x4d85d7(0x199),'yLVCk':_0x4d85d7(0x1dc),'xboQX':_0x4d85d7(0x1e5),'phzqu':_0x4d85d7(0x1c7),'cEswK':_0x4d85d7(0x1c0),'dPtxG':function(_0x4489e6,_0x3b7697){return _0x4489e6(_0x3b7697);},'gYeyX':'./state/testFrameworkState','lWBXM':_0x4d85d7(0x1bc),'BHhyG':_0x4d85d7(0x1c6),'hfYbt':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','qGWjC':_0x4d85d7(0x1af)};try{let _0xbe00c;const _0x30d73a=global[_0x4d85d7(0x1a1)]?.['currentTest']?.[_0x4d85d7(0x1e3)],_0xc78388=_0x4d4514[_0x4d85d7(0x1b6)](require,_0x4d4514[_0x4d85d7(0x1f5)]),_0x34e1e0=_0x4d4514[_0x4d85d7(0x1fc)](require,_0x4d4514[_0x4d85d7(0x1e6)]),_0x2ef78b=_0xc78388[_0x4d85d7(0x194)]()[_0x4d85d7(0x193)]()&&_0x4d4514[_0x4d85d7(0x181)](_0x34e1e0[_0x4d85d7(0x189)]()?.['name']?.[_0x4d85d7(0x204)](),_0x4d4514['AzvwS']);if(_0x2ef78b){_0xbe00c=global[_0x4d85d7(0x1e8)];if(!_0xbe00c){const _0x86dbcc=AutomationFramework['getTrackedInstance']();_0xbe00c=AutomationFramework[_0x4d85d7(0x1ef)](_0x86dbcc,PlaywrightDriverModule[_0x4d85d7(0x1f0)],'');}this['logger']['debug'](_0x4d85d7(0x1cb)+_0xbe00c);}else{if(!_0x30d73a){const _0x3e88b2=AutomationFramework[_0x4d85d7(0x1ff)]();_0xbe00c=AutomationFramework[_0x4d85d7(0x1ef)](_0x3e88b2,PlaywrightDriverModule[_0x4d85d7(0x1f0)],'');}else _0xbe00c=TestInfo['getTestIdentifierFromTestInfo'](_0x30d73a,_0x30d73a[_0x4d85d7(0x1b2)]);this[_0x4d85d7(0x180)]['debug'](_0x4d85d7(0x184)+_0xbe00c);}if(!_0xbe00c){this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d4514[_0x4d85d7(0x1f7)]);return;}const _0x105a32={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x4d85d7(0x1f2)](_0xce0005)[_0x4d85d7(0x17e)],[TestFrameworkConstants[_0x4d85d7(0x1a9)]]:path[_0x4d85d7(0x1b5)](_0xce0005),[TestFrameworkConstants[_0x4d85d7(0x1f6)]]:_0xce0005,[TestFrameworkConstants[_0x4d85d7(0x19b)]]:_0xce4f97?_0x4d4514[_0x4d85d7(0x1b7)]:_0x4d4514[_0x4d85d7(0x1b1)]};if(_0x2ef78b){const _0x5c1a7d=_0xc78388[_0x4d85d7(0x194)]()[_0x4d85d7(0x1fa)]();if(!_0x5c1a7d){this[_0x4d85d7(0x180)]['debug'](_0x4d4514['cEswK']);return;}const _0x3ebcd2=_0x4d4514[_0x4d85d7(0x1f1)](require,_0x4d4514[_0x4d85d7(0x1e2)]),_0x871cc2=_0x4d4514[_0x4d85d7(0x1fc)](require,_0x4d4514['lWBXM']),_0x5a73ca=_0x5c1a7d[_0x4d85d7(0x1c1)](_0x3ebcd2[_0x4d85d7(0x1db)],_0x871cc2[_0x4d85d7(0x1aa)]);if(!_0x5a73ca){this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d4514[_0x4d85d7(0x1e9)]);return;}const _0x3f342c=_0x5a73ca[_0x4d85d7(0x17f)]()[_0x4d85d7(0x191)](_0xbe00c)||{},_0x1ff53f=_0x3f342c[TestFrameworkConstants[_0x4d85d7(0x1c9)]]||{},_0x213f58={..._0x1ff53f};_0x213f58[_0xce0005]=_0x105a32;const _0x5a1059=_0x213f58,_0x28ae7d={[TestFrameworkConstants[_0x4d85d7(0x1c9)]]:_0x5a1059},_0x30f9ab={};_0x30f9ab[_0xbe00c]=_0x28ae7d,_0x5a73ca[_0x4d85d7(0x1d3)](_0x30f9ab),this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d85d7(0x1de)+_0xbe00c+',\x20filepath:\x20'+_0xce0005);}else{const _0x32b83d=TestInfo[_0x4d85d7(0x19e)](_0xbe00c),_0x10b702=_0x32b83d[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x10b702[_0xce0005]=_0x105a32,_0x32b83d[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x10b702,TestInfo[_0x4d85d7(0x195)](_0xbe00c,_0x32b83d),this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](_0x4d85d7(0x17c)+_0xbe00c+',\x20filepath:\x20'+_0xce0005);}this['logger'][_0x4d85d7(0x183)](util[_0x4d85d7(0x18f)](_0x4d4514[_0x4d85d7(0x1b0)],_0xce0005));}catch(_0x5b832f){this[_0x4d85d7(0x180)][_0x4d85d7(0x183)](util[_0x4d85d7(0x18f)](_0x4d4514[_0x4d85d7(0x1a3)],_0x5b832f[_0x4d85d7(0x1f3)]));}}static[a89_0x142ede(0x1a2)](){const _0x38aa44=a89_0x142ede,_0x2b9c9e={};_0x2b9c9e[_0x38aa44(0x19c)]=_0x38aa44(0x1b3),_0x2b9c9e['eQVMz']='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x2b9c9e[_0x38aa44(0x203)]=_0x38aa44(0x1ae);const _0xaa032=_0x2b9c9e,_0x54302e=os[_0x38aa44(0x1d8)](),_0x5c9e57=path['join'](_0x54302e,_0xaa032['sTxJt']);if(!fs[_0x38aa44(0x1c3)](_0x5c9e57))return;const _0x51a9a3=BrowserstackCLI[_0x38aa44(0x194)]()[_0x38aa44(0x192)]['TestHubModule']?.['testhubConfig']?.[_0x38aa44(0x1df)]()?.[_0x38aa44(0x1d4)],_0x4e562b=_0x51a9a3?path[_0x38aa44(0x19f)](_0x5c9e57,_0x51a9a3):null;if(!_0x4e562b||!fs[_0x38aa44(0x1c3)](_0x4e562b)){this[_0x38aa44(0x180)][_0x38aa44(0x183)](util[_0x38aa44(0x18f)](_0xaa032[_0x38aa44(0x1e0)],_0x51a9a3));return;}const _0x2ee840={};_0x2ee840[_0x38aa44(0x185)]=!![],_0x2ee840[_0x38aa44(0x187)]=!![],fs['rmSync'](_0x4e562b,_0x2ee840),this[_0x38aa44(0x180)][_0x38aa44(0x183)](util[_0x38aa44(0x18f)](_0xaa032[_0x38aa44(0x203)]));}}module[a89_0x142ede(0x18d)]=uploadAttachmentsManager;
1
+ function a89_0x157a(_0x58b46a,_0x198fcd){const _0x461c72=a89_0x461c();return a89_0x157a=function(_0x157a95,_0x36c1b6){_0x157a95=_0x157a95-0x1ae;let _0x23cdb5=_0x461c72[_0x157a95];return _0x23cdb5;},a89_0x157a(_0x58b46a,_0x198fcd);}const a89_0x442f62=a89_0x157a;(function(_0x5aaca0,_0x4e604b){const _0x4f1289=a89_0x157a,_0x7298c8=_0x5aaca0();while(!![]){try{const _0x4e5b34=parseInt(_0x4f1289(0x1b8))/0x1*(-parseInt(_0x4f1289(0x1d8))/0x2)+-parseInt(_0x4f1289(0x229))/0x3*(-parseInt(_0x4f1289(0x217))/0x4)+parseInt(_0x4f1289(0x1f1))/0x5+parseInt(_0x4f1289(0x1c0))/0x6+parseInt(_0x4f1289(0x1ca))/0x7+parseInt(_0x4f1289(0x1d9))/0x8+-parseInt(_0x4f1289(0x1e2))/0x9;if(_0x4e5b34===_0x4e604b)break;else _0x7298c8['push'](_0x7298c8['shift']());}catch(_0x1698e1){_0x7298c8['push'](_0x7298c8['shift']());}}}(a89_0x461c,0x6060d));function a89_0x461c(){const _0x4a8f99=['rKqGP','./state/hookState','pipe','./state/testFrameworkState','wUNji','format','statusCode','vCOdD','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','bnTnA','finish','106QGjuqg','425416aSKpqd','getAllData','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','ESOVX','unlinkSync','getTestFramework','logger','WytjR','FTbxg','6372819UNUdvk','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','QjnnO','close','trim','./framework/constants/testFrameworkConstants','JMhkg','KEY_TEST_ATTACHMENTS','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','recursive','getState','startsWith','toObject','getInstance','2872420PrNoIa','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','KEY_FILE_SIZE','OKvat','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','JNwTd','QUaGv','mzvYI','./browserstackCLI','File\x20downloaded\x20to:\x20%s','isRunning','hfmOZ','Created\x20.browserstack\x20folder\x20at:\x20%s','jOlbx','message','rmSync','util','XgVRH','sluiX','GmMPR','KEY_FILE_NAME','trackFile','debug','resolveInstance','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','homedir','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','SlvDn','mkdirSync','size','TestHubModule','LUrwX',',\x20filepath:\x20','http','uiuBT','./TestInfo','XVPof','getTestIdentifierFromTestInfo','195912QjGRwi','.browserstack','path','toFixed','buildHashedId','uploadAttachments','join','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','__workerDetails','./modules/playwrightDriverModule','jEqIe','setTestDetails','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','http://','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','getTrackedInstance','NmZps','dToxB','3ZLQPjF','../../helpers/classLogger.js','uploadAttachmentsManager','https','get','CEMME','UDsBb','OHzUY','xLoSI','DfaFt','error','createWriteStream','existsSync','__jestCurrentTestIdentifier','basename','statSync','wkBnx','testInfo','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','9446zcFxZv','mrofv','TEST','copyFileSync','GYuMd','name','testhubConfig','GgENB','2438232MtvSKu','addMultipleEntries','oSsGy','force','Attachment\x20recevied\x20for\x20path:\x20%s','clearAttachments','getTestDetails','Created\x20folder:\x20%s','rSaAj','KEY_TEST_ID','3643381VtmDpk','FtQaC','FTKlF'];a89_0x461c=function(){return _0x4a8f99;};return a89_0x461c();}const os=require('os'),fs=require('fs'),path=require(a89_0x442f62(0x219)),util=require(a89_0x442f62(0x201)),BrowserstackCLI=require(a89_0x442f62(0x1f9)),https=require(a89_0x442f62(0x22c)),http=require(a89_0x442f62(0x212)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a89_0x442f62(0x220)),TestInfo=require(a89_0x442f62(0x214)),TestFrameworkConstants=require(a89_0x442f62(0x1e8)),{createClassLogger}=require(a89_0x442f62(0x22a));class uploadAttachmentsManager{static [a89_0x442f62(0x1df)]=createClassLogger(a89_0x442f62(0x22b));static[a89_0x442f62(0x21c)](_0x32b234,_0x13f748=![]){const _0x25d708=a89_0x442f62,_0x4c16b9={};_0x4c16b9[_0x25d708(0x1b5)]=function(_0x4428b8,_0x114cd4){return _0x4428b8/_0x114cd4;},_0x4c16b9[_0x25d708(0x231)]=function(_0x317400,_0x4b836b){return _0x317400*_0x4b836b;},_0x4c16b9['wUNji']=function(_0x33c81e,_0x11c7a6){return _0x33c81e>_0x11c7a6;},_0x4c16b9[_0x25d708(0x210)]=_0x25d708(0x1e3),_0x4c16b9['OHzUY']=_0x25d708(0x1fa),_0x4c16b9['UDsBb']=function(_0x338714,_0x4aa75c){return _0x338714===_0x4aa75c;},_0x4c16b9[_0x25d708(0x1f6)]=_0x25d708(0x1d7),_0x4c16b9[_0x25d708(0x1f8)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x4c16b9[_0x25d708(0x1e5)]=_0x25d708(0x1f2),_0x4c16b9[_0x25d708(0x1e9)]=_0x25d708(0x1c4),_0x4c16b9[_0x25d708(0x1e1)]=_0x25d708(0x218),_0x4c16b9[_0x25d708(0x215)]=_0x25d708(0x209),_0x4c16b9[_0x25d708(0x1dc)]=_0x25d708(0x1fd),_0x4c16b9[_0x25d708(0x221)]=_0x25d708(0x1c7),_0x4c16b9[_0x25d708(0x1f7)]=_0x25d708(0x223),_0x4c16b9[_0x25d708(0x1bc)]='https://',_0x4c16b9[_0x25d708(0x20c)]=_0x25d708(0x224),_0x4c16b9[_0x25d708(0x1fc)]=_0x25d708(0x1af),_0x4c16b9[_0x25d708(0x1d6)]=_0x25d708(0x1b7),_0x4c16b9[_0x25d708(0x1cb)]=function(_0x283988,_0x4e0756){return _0x283988/_0x4e0756;},_0x4c16b9['jOlbx']=function(_0x4e5112,_0x363c08){return _0x4e5112*_0x363c08;},_0x4c16b9['dToxB']='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x3ccd26=_0x4c16b9;this['logger'][_0x25d708(0x207)](util['format'](_0x3ccd26[_0x25d708(0x1e9)],_0x32b234));const _0x57b97d=os['homedir'](),_0x23f906=path[_0x25d708(0x21d)](_0x57b97d,_0x3ccd26[_0x25d708(0x1e1)]);!fs[_0x25d708(0x1b1)](_0x23f906)&&(this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x215)],_0x23f906)),fs['mkdirSync'](_0x23f906),this[_0x25d708(0x1df)][_0x25d708(0x207)](util['format'](_0x3ccd26[_0x25d708(0x1dc)],_0x23f906)));const _0x2d850f=BrowserstackCLI['getInstance']()['modules']['TestHubModule']?.[_0x25d708(0x1be)]?.[_0x25d708(0x1ef)]()?.['buildHashedId'],_0x380058=path[_0x25d708(0x21d)](_0x23f906,_0x2d850f);!fs['existsSync'](_0x380058)&&(fs[_0x25d708(0x20d)](_0x380058),this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x221)],_0x380058)));if(_0x3ccd26[_0x25d708(0x22f)](_0x32b234[_0x25d708(0x1e7)](),'')){this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x1f7)]));return;}if(_0x32b234[_0x25d708(0x1ee)](_0x3ccd26[_0x25d708(0x1bc)])||_0x32b234[_0x25d708(0x1ee)](_0x3ccd26[_0x25d708(0x20c)])){const _0x15acf3=_0x32b234[_0x25d708(0x1ee)](_0x3ccd26[_0x25d708(0x1bc)])?https:http,_0x10f391=path[_0x25d708(0x1b3)](_0x32b234),_0x4bfc3f=path[_0x25d708(0x21d)](_0x380058,_0x10f391),_0x25a226=fs[_0x25d708(0x1b0)](_0x4bfc3f);_0x15acf3['get'](_0x32b234,_0x59624a=>{const _0x1e65f4=_0x25d708;if(_0x3ccd26['UDsBb'](_0x59624a['statusCode'],0xc8))_0x59624a[_0x1e65f4(0x1cf)](_0x25a226),_0x25a226['on'](_0x3ccd26[_0x1e65f4(0x1f6)],()=>{const _0x197a10=_0x1e65f4;_0x25a226[_0x197a10(0x1e6)]();const _0x4f9308=fs[_0x197a10(0x1b4)](_0x4bfc3f),_0x367ca1=_0x3ccd26[_0x197a10(0x1b5)](_0x4f9308[_0x197a10(0x20e)],_0x3ccd26['xLoSI'](0x400,0x400));if(_0x3ccd26[_0x197a10(0x1d1)](_0x367ca1,0x64)){this['logger'][_0x197a10(0x207)](util['format'](_0x3ccd26[_0x197a10(0x210)],_0x367ca1[_0x197a10(0x21a)](0x2))),fs[_0x197a10(0x1dd)](_0x4bfc3f);return;}this['logger'][_0x197a10(0x207)](util[_0x197a10(0x1d2)](_0x3ccd26[_0x197a10(0x230)],_0x4bfc3f)),uploadAttachmentsManager[_0x197a10(0x206)](_0x4bfc3f,_0x13f748);});else{this[_0x1e65f4(0x1df)]['debug'](util[_0x1e65f4(0x1d2)](_0x3ccd26[_0x1e65f4(0x1f8)],_0x59624a[_0x1e65f4(0x1d3)])),_0x25a226[_0x1e65f4(0x1e6)](),fs[_0x1e65f4(0x1dd)](_0x4bfc3f);return;}})['on'](_0x3ccd26[_0x25d708(0x1fc)],_0x3e2cb8=>{const _0x1fa38e=_0x25d708;this['logger'][_0x1fa38e(0x207)](util[_0x1fa38e(0x1d2)](_0x3ccd26[_0x1fa38e(0x1e5)],_0x3e2cb8[_0x1fa38e(0x1ff)])),_0x25a226[_0x1fa38e(0x1e6)](),fs[_0x1fa38e(0x1dd)](_0x4bfc3f);return;});}else{if(!fs[_0x25d708(0x1b1)](_0x32b234)){this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x1d6)],_0x32b234));return;}const _0x15dedc=fs[_0x25d708(0x1b4)](_0x32b234),_0x56bcab=_0x3ccd26[_0x25d708(0x1cb)](_0x15dedc[_0x25d708(0x20e)],_0x3ccd26[_0x25d708(0x1fe)](0x400,0x400));if(_0x3ccd26[_0x25d708(0x1d1)](_0x56bcab,0x64)){this[_0x25d708(0x1df)]['debug'](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x228)],_0x56bcab[_0x25d708(0x21a)](0x2)));return;}const _0x4e4fa3=path[_0x25d708(0x1b3)](_0x32b234),_0x497733=path[_0x25d708(0x21d)](_0x380058,_0x4e4fa3);fs[_0x25d708(0x1bb)](_0x32b234,_0x497733),uploadAttachmentsManager[_0x25d708(0x206)](_0x497733,_0x13f748);}}static[a89_0x442f62(0x206)](_0x37658a,_0x25758b){const _0x3cf827=a89_0x442f62,_0x2f8d28={'mrofv':function(_0x3f3d00,_0x597310){return _0x3f3d00(_0x597310);},'oSsGy':_0x3cf827(0x1f9),'pZMUp':function(_0xe17bde,_0x447679){return _0xe17bde(_0x447679);},'pGNqz':'./cliUtils','GmMPR':function(_0x4cf168,_0x41fd74){return _0x4cf168===_0x41fd74;},'sluiX':'jest','BBenO':'trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','rSaAj':'BuildLevel','XgVRH':'TestLevel','GgENB':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','OKvat':function(_0x440efc,_0x4d5d80){return _0x440efc(_0x4d5d80);},'pjcTh':_0x3cf827(0x1d0),'DfaFt':function(_0x133d32,_0x23b3cc){return _0x133d32(_0x23b3cc);},'NmZps':_0x3cf827(0x1ce),'FTKlF':_0x3cf827(0x1d5),'vCOdD':_0x3cf827(0x1eb),'uiuBT':_0x3cf827(0x225)};try{let _0x39873c;const _0x4a4500=global[_0x3cf827(0x21f)]?.['currentTest']?.[_0x3cf827(0x1b6)],_0x378b80=_0x2f8d28[_0x3cf827(0x1b9)](require,_0x2f8d28[_0x3cf827(0x1c2)]),_0x38eb96=_0x2f8d28['pZMUp'](require,_0x2f8d28['pGNqz']),_0x17152d=_0x378b80[_0x3cf827(0x1f0)]()[_0x3cf827(0x1fb)]()&&_0x2f8d28[_0x3cf827(0x204)](_0x38eb96['getTestFrameworkDetail']()?.[_0x3cf827(0x1bd)]?.['toLowerCase'](),_0x2f8d28[_0x3cf827(0x203)]);if(_0x17152d){_0x39873c=global[_0x3cf827(0x1b2)];if(!_0x39873c){const _0x597d89=AutomationFramework['getTrackedInstance']();_0x39873c=AutomationFramework[_0x3cf827(0x1ed)](_0x597d89,PlaywrightDriverModule[_0x3cf827(0x1c9)],'');}this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x1f5)+_0x39873c);}else{if(!_0x4a4500){const _0x59c7a6=AutomationFramework[_0x3cf827(0x226)]();_0x39873c=AutomationFramework[_0x3cf827(0x1ed)](_0x59c7a6,PlaywrightDriverModule[_0x3cf827(0x1c9)],'');}else _0x39873c=TestInfo[_0x3cf827(0x216)](_0x4a4500,_0x4a4500['retry']);this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x1db)+_0x39873c);}if(!_0x39873c){this[_0x3cf827(0x1df)]['debug'](_0x2f8d28['BBenO']);return;}const _0x1f8b16={[TestFrameworkConstants[_0x3cf827(0x1f3)]]:fs[_0x3cf827(0x1b4)](_0x37658a)[_0x3cf827(0x20e)],[TestFrameworkConstants[_0x3cf827(0x205)]]:path[_0x3cf827(0x1b3)](_0x37658a),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x37658a,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x25758b?_0x2f8d28[_0x3cf827(0x1c8)]:_0x2f8d28[_0x3cf827(0x202)]};if(_0x17152d){const _0x422540=_0x378b80[_0x3cf827(0x1f0)]()[_0x3cf827(0x1de)]();if(!_0x422540){this['logger'][_0x3cf827(0x207)](_0x2f8d28[_0x3cf827(0x1bf)]);return;}const _0x4bd092=_0x2f8d28[_0x3cf827(0x1f4)](require,_0x2f8d28['pjcTh']),_0x21ead7=_0x2f8d28[_0x3cf827(0x1ae)](require,_0x2f8d28[_0x3cf827(0x227)]),_0x3494de=_0x422540[_0x3cf827(0x208)](_0x4bd092[_0x3cf827(0x1ba)],_0x21ead7['POST']);if(!_0x3494de){this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x2f8d28[_0x3cf827(0x1cc)]);return;}const _0x4059a3=_0x3494de[_0x3cf827(0x1da)]()[_0x3cf827(0x22d)](_0x39873c)||{},_0x168316=_0x4059a3[TestFrameworkConstants[_0x3cf827(0x1ea)]]||{},_0x6d5d3={..._0x168316};_0x6d5d3[_0x37658a]=_0x1f8b16;const _0x35b7d8=_0x6d5d3,_0x4f7461={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x35b7d8},_0x134eeb={};_0x134eeb[_0x39873c]=_0x4f7461,_0x3494de[_0x3cf827(0x1c1)](_0x134eeb),this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x20b)+_0x39873c+_0x3cf827(0x211)+_0x37658a);}else{const _0x5b3a2e=TestInfo[_0x3cf827(0x1c6)](_0x39873c),_0x332688=_0x5b3a2e[TestFrameworkConstants[_0x3cf827(0x1ea)]]||{};_0x332688[_0x37658a]=_0x1f8b16,_0x5b3a2e[TestFrameworkConstants[_0x3cf827(0x1ea)]]=_0x332688,TestInfo[_0x3cf827(0x222)](_0x39873c,_0x5b3a2e),this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x21e)+_0x39873c+_0x3cf827(0x211)+_0x37658a);}this[_0x3cf827(0x1df)][_0x3cf827(0x207)](util[_0x3cf827(0x1d2)](_0x2f8d28[_0x3cf827(0x1d4)],_0x37658a));}catch(_0x4d8688){this[_0x3cf827(0x1df)][_0x3cf827(0x207)](util[_0x3cf827(0x1d2)](_0x2f8d28[_0x3cf827(0x213)],_0x4d8688[_0x3cf827(0x1ff)]));}}static[a89_0x442f62(0x1c5)](){const _0x29ff3f=a89_0x442f62,_0x3ca44a={};_0x3ca44a[_0x29ff3f(0x1cd)]=_0x29ff3f(0x218),_0x3ca44a['WytjR']=_0x29ff3f(0x1e4),_0x3ca44a['CEMME']='Cleared\x20attachment\x20folder';const _0x1cd8ec=_0x3ca44a,_0x144234=os[_0x29ff3f(0x20a)](),_0x28c78d=path[_0x29ff3f(0x21d)](_0x144234,_0x1cd8ec['rKqGP']);if(!fs[_0x29ff3f(0x1b1)](_0x28c78d))return;const _0x479ce9=BrowserstackCLI['getInstance']()['modules'][_0x29ff3f(0x20f)]?.['testhubConfig']?.[_0x29ff3f(0x1ef)]()?.[_0x29ff3f(0x21b)],_0x4e3645=_0x479ce9?path['join'](_0x28c78d,_0x479ce9):null;if(!_0x4e3645||!fs['existsSync'](_0x4e3645)){this['logger'][_0x29ff3f(0x207)](util[_0x29ff3f(0x1d2)](_0x1cd8ec[_0x29ff3f(0x1e0)],_0x479ce9));return;}const _0x3555d1={};_0x3555d1[_0x29ff3f(0x1ec)]=!![],_0x3555d1[_0x29ff3f(0x1c3)]=!![],fs[_0x29ff3f(0x200)](_0x4e3645,_0x3555d1),this[_0x29ff3f(0x1df)][_0x29ff3f(0x207)](util['format'](_0x1cd8ec[_0x29ff3f(0x22e)]));}}module['exports']=uploadAttachmentsManager;
@@ -1 +1 @@
1
- function a90_0x4651(_0x1ba4b6,_0x154e10){const _0x5b7d1b=a90_0x5b7d();return a90_0x4651=function(_0x4651d0,_0x61347){_0x4651d0=_0x4651d0-0xf3;let _0x437550=_0x5b7d1b[_0x4651d0];return _0x437550;},a90_0x4651(_0x1ba4b6,_0x154e10);}const a90_0x10ce76=a90_0x4651;(function(_0x367ff8,_0x25ba2a){const _0x2ab846=a90_0x4651,_0x12cbf6=_0x367ff8();while(!![]){try{const _0x4c10a3=parseInt(_0x2ab846(0x168))/0x1*(parseInt(_0x2ab846(0x141))/0x2)+-parseInt(_0x2ab846(0x11a))/0x3+parseInt(_0x2ab846(0x155))/0x4*(-parseInt(_0x2ab846(0x125))/0x5)+-parseInt(_0x2ab846(0x15f))/0x6*(parseInt(_0x2ab846(0x10c))/0x7)+-parseInt(_0x2ab846(0x16e))/0x8+-parseInt(_0x2ab846(0x135))/0x9*(parseInt(_0x2ab846(0x177))/0xa)+parseInt(_0x2ab846(0x145))/0xb;if(_0x4c10a3===_0x25ba2a)break;else _0x12cbf6['push'](_0x12cbf6['shift']());}catch(_0x5ce43b){_0x12cbf6['push'](_0x12cbf6['shift']());}}}(a90_0x5b7d,0x9aca3));const path=require(a90_0x10ce76(0xfd)),util=require(a90_0x10ce76(0x14a)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x10ce76(0x133)),logger=require(a90_0x10ce76(0x144))[a90_0x10ce76(0x115)],{o11yClassErrorHandler}=require(a90_0x10ce76(0x14e)),TestInfo=require('../TestInfo.js'),hooksMap={};function a90_0x5b7d(){const _0x124cf0=['failed','TkhHq','LFMaz','includes','_gitConfigured','scenario','ovGyz','path','message','exports','unknown','getTestUUID','AssertionError','hookId','ENtov','RUEFu','failure','uri','DXAZQ','pending','failure_type','hooks','570871zLlqJO','BMtEi','JURlQ','QevVm','result','getHookResult','children','push','GzhVm','winstonLogger','testStepResult','rule','qJZRN','forEach','3119118fWKdTO','sendHook','status','format','toLowerCase','testCaseFinished','nanos','fVKtG','exception','createHookData','Exception\x20in\x20getHookRunEventData:\x20','5ekNcvW','KSbXg','oaJlN','BEFORE_EACH','createTestFrameworkData','rqZee','timestamp','tags','every','qBCTA','VlPBw','hook','failureData','map','../../../helpers/helper.js','value','558IVbRSX','_gitConfigPath','getCucumberHookType','hPJtK','finished_at','backtrace','relative','feature','UizPl','root','name','xTKEw','4tNBVOz','getScenarioExamples','hFvCq','../../../helpers/logger.js','37785506DAURau','failure_data','strip-ansi','jhUrV','jZrbP','util','getHookRunEventData','duration_in_ms','toString','../../../helpers/test-observability/error-handler.js','HookRunStarted','UnhandledError','toISOString','wQenM','BoDfG','cells','4392620wpYMtz','zBWBS','vYoeO','SKIPPED','debug','finishedAt','failure_reason','oFazl','UakPj','HookRunFinished','6Koflhe','qvBHW','pickleStepId','tagExpression','EVEtT','CDuUq','hxShj','flatMap','cucumber','5057uZeTup','JdWNM','find','examples','Fdxxc','pEHMj','1197832EGslEW','AiQQD','puOng','uuid','HZlsk','configureGit','astNodeIds','sendTestRunEventForCucumber','failureType','71290zLWTMv','join','cGkBi','match','testStepFinished','nquav','javascript','eCgyf'];a90_0x5b7d=function(){return _0x124cf0;};return a90_0x5b7d();}class CucumberUtils{constructor(){const _0x46cab8=a90_0x10ce76;this[_0x46cab8(0xfa)]=![],this[_0x46cab8(0x136)]=null;}async[a90_0x10ce76(0x129)](_0x529143,_0x27595e,_0x4b4cdd,_0x48ac9f,_0x562844,_0x5dd7ee){const _0x5ccf7c=a90_0x10ce76,_0x3b02b7={'DXAZQ':function(_0x2cc313,_0x3ca96c){return _0x2cc313===_0x3ca96c;},'jhUrV':'FAILED','hPJtK':_0x5ccf7c(0xf6),'JdWNM':_0x5ccf7c(0x158),'ZjnNk':'skipped','QevVm':function(_0x560b1b,_0x22cc37){return _0x560b1b||_0x22cc37;},'oaJlN':function(_0x189e43,_0x563418){return _0x189e43+_0x563418;},'WUKGS':'test','xTKEw':_0x5ccf7c(0xf4),'jZrbP':_0x5ccf7c(0x167),'wQenM':_0x5ccf7c(0x109),'IAdJx':'passed','zBWBS':function(_0xdc266a,_0x5750aa){return _0xdc266a!==_0x5750aa;},'hFvCq':function(_0xbfd8c9,_0x288e28){return _0xbfd8c9/_0x288e28;},'TYYtx':function(_0x3bb405,_0x4cbe4e){return _0x3bb405===_0x4cbe4e;},'CDuUq':_0x5ccf7c(0x147),'EVEtT':function(_0xfb002c,_0x4d7c13){return _0xfb002c(_0x4d7c13);},'cGkBi':_0x5ccf7c(0x100),'TkhHq':_0x5ccf7c(0x102),'RUEFu':_0x5ccf7c(0x150)},{feature:_0x18ba54,scenario:_0x39f3ed,steps:_0x10d503,uuid:_0x411567,startedAt:_0x20917c,finishedAt:_0x530f04}=_0x3b02b7[_0x5ccf7c(0x10f)](_0x529143,{}),_0x58bb46=this[_0x5ccf7c(0x142)](_0x48ac9f,_0x27595e);await this[_0x5ccf7c(0x173)]();const _0x4f7aed=_0x58bb46?_0x3b02b7[_0x5ccf7c(0x127)](_0x3b02b7[_0x5ccf7c(0x127)](_0x3b02b7['oaJlN'](_0x27595e[_0x5ccf7c(0x13f)],'\x20('),_0x58bb46[_0x5ccf7c(0x178)](',\x20')),')'):_0x27595e[_0x5ccf7c(0x13f)],_0x291411={'id':_0x562844,'uuid':_0x562844,'startedAt':_0x20917c,'finishedAt':_0x530f04,'type':_0x3b02b7['WUKGS'],'body':{'lang':_0x3b02b7[_0x5ccf7c(0x140)],'code':null},'name':_0x4f7aed,'scopes':[_0x18ba54&&_0x18ba54[_0x5ccf7c(0x13f)]?_0x18ba54[_0x5ccf7c(0x13f)]:''],'tags':_0x27595e[_0x5ccf7c(0x12c)]?_0x27595e['tags'][_0x5ccf7c(0x132)](({name:_0x1b43fb})=>_0x1b43fb):[],'file_name':_0x27595e[_0x5ccf7c(0x107)],'location':_0x27595e[_0x5ccf7c(0x107)],'vc_filepath':this[_0x5ccf7c(0x136)]&&_0x27595e['uri']?path['relative'](this[_0x5ccf7c(0x136)],_0x27595e['uri']):null,'framework':_0x3b02b7[_0x5ccf7c(0x149)],'result':_0x3b02b7[_0x5ccf7c(0x152)],'meta':{'feature':_0x18ba54,'scenario':_0x39f3ed,'steps':_0x10d503,'examples':_0x58bb46},'customRerunParam':{'rerun_name':_0x4f7aed}};if(_0x4b4cdd['testCaseFinished']&&_0x10d503){const _0x42bbdf=_0x4b4cdd[_0x5ccf7c(0x11f)];let _0x40a733=_0x3b02b7['IAdJx'];_0x10d503[_0x5ccf7c(0x12d)](_0x25c842=>{const _0x560725=_0x5ccf7c;if(_0x3b02b7[_0x560725(0x108)](_0x25c842[_0x560725(0x110)],_0x3b02b7[_0x560725(0x148)]))return _0x40a733=_0x3b02b7[_0x560725(0x138)],_0x42bbdf[_0x560725(0x106)]=_0x25c842[_0x560725(0x106)],_0x42bbdf[_0x560725(0x176)]=_0x25c842['failureType'],![];else{if(_0x3b02b7[_0x560725(0x108)](_0x25c842['result'],_0x3b02b7[_0x560725(0x169)]))return _0x40a733=_0x3b02b7['ZjnNk'],![];}return!![];}),_0x291411[_0x5ccf7c(0x15a)]=new Date()[_0x5ccf7c(0x151)](),_0x291411[_0x5ccf7c(0x110)]=_0x40a733;_0x42bbdf[_0x5ccf7c(0x12b)]&&_0x3b02b7[_0x5ccf7c(0x156)](_0x42bbdf[_0x5ccf7c(0x12b)][_0x5ccf7c(0x120)],undefined)?_0x291411[_0x5ccf7c(0x14c)]=_0x3b02b7[_0x5ccf7c(0x143)](_0x42bbdf['timestamp'][_0x5ccf7c(0x120)],0xf4240):_0x291411['duration_in_ms']=undefined;if(_0x3b02b7['TYYtx'](_0x40a733,_0x3b02b7[_0x5ccf7c(0x138)])){const {default:_0x382800}=await import(_0x3b02b7[_0x5ccf7c(0x164)]);_0x291411['failure']=[{'backtrace':[_0x42bbdf[_0x5ccf7c(0x106)]?_0x3b02b7[_0x5ccf7c(0x163)](_0x382800,_0x42bbdf['failure']):_0x3b02b7[_0x5ccf7c(0x179)]]}],_0x291411[_0x5ccf7c(0x15b)]=_0x42bbdf['failure']?_0x3b02b7[_0x5ccf7c(0x163)](_0x382800,_0x42bbdf[_0x5ccf7c(0x106)]):_0x42bbdf['message'],_0x42bbdf[_0x5ccf7c(0x176)]&&(_0x291411[_0x5ccf7c(0x10a)]=_0x42bbdf['failureType'][_0x5ccf7c(0x17a)](/AssertError/)?_0x3b02b7[_0x5ccf7c(0xf7)]:_0x3b02b7[_0x5ccf7c(0x105)]);}}return _0x291411;}[a90_0x10ce76(0x14b)](_0x3b01a5,_0x36aaf9,_0x1afff3,_0x16cea6,_0x16cf91,_0x2e4a1b){const _0x228196=a90_0x10ce76,_0x511a0a={'rqZee':function(_0x2cff46,_0xff9eaa){return _0x2cff46===_0xff9eaa;},'qBCTA':_0x228196(0x15e),'fVKtG':function(_0xe056f6,_0x165b92,_0x2a6315){return _0xe056f6(_0x165b92,_0x2a6315);},'EGDsb':'sourceReference','AuojV':_0x228196(0x107),'hxShj':_0x228196(0x109),'kQHiH':_0x228196(0x130),'FLwWq':'javascript','puOng':function(_0x3dbe37,_0x44485f,_0x360e71){return _0x3dbe37(_0x44485f,_0x360e71);},'VlPBw':'feature','eCgyf':_0x228196(0x13f),'JURlQ':function(_0x4c12b8,_0x378bf6,_0x18f8c8){return _0x4c12b8(_0x378bf6,_0x18f8c8);},'KcJIu':'cucumber'};try{if(_0x511a0a[_0x228196(0x12a)](_0x1afff3,_0x511a0a[_0x228196(0x12e)])){const _0x131886=new Date()[_0x228196(0x151)](),_0x5933aa=hooksMap[_0x36aaf9];if(!_0x5933aa)return;const _0x2ce0bd=_0x5933aa[_0x228196(0x16a)](_0x1fdc02=>_0x1fdc02[_0x228196(0x171)]===_0x16cea6['id']);if(!_0x2ce0bd)return;const _0x23d1c1=this[_0x228196(0x111)](_0x3b01a5,_0x36aaf9);_0x2ce0bd[_0x228196(0x110)]=_0x23d1c1[_0x228196(0x11c)],_0x2ce0bd[_0x228196(0x139)]=_0x131886,_0x2ce0bd[_0x228196(0x10a)]=_0x23d1c1[_0x228196(0x176)];const _0x35bf43={};return _0x35bf43[_0x228196(0x13a)]=_0x23d1c1[_0x228196(0x131)],_0x2ce0bd[_0x228196(0x146)]=[_0x35bf43],_0x2ce0bd;}const _0x419530=TestInfo[_0x228196(0x101)](_0x36aaf9),_0x5ea05a=_0x3b01a5[_0x228196(0x10b)][_0x228196(0x16a)](_0xb5c6a4=>_0xb5c6a4['id']===_0x16cea6[_0x228196(0x103)]),_0xf1dc46=_0x511a0a[_0x228196(0x121)](nestedKeyValue,_0x5ea05a,[_0x511a0a['EGDsb'],_0x511a0a['AuojV']]),_0x13b45a=new Date()['toISOString'](),_0x3aa6d1=_0x511a0a[_0x228196(0x165)],_0x43c151=_0x5ea05a[_0x228196(0x162)]?_0x5ea05a[_0x228196(0x162)]['split']('\x20')['filter'](_0x13c2d4=>_0x13c2d4[_0x228196(0xf9)]('@')):[],_0xabf5a9={'uuid':_0x16cea6['id'],'type':_0x511a0a['kQHiH'],'hook_type':_0x2e4a1b,'name':_0x5ea05a['name'],'body':{'lang':_0x511a0a['FLwWq'],'code':null},'tags':_0x43c151,'test_run_id':_0x419530,'scope':_0x511a0a[_0x228196(0x170)](nestedKeyValue,_0x16cf91,[_0x511a0a[_0x228196(0x12f)],_0x511a0a[_0x228196(0xf5)]]),'scopes':[_0x511a0a[_0x228196(0x10e)](nestedKeyValue,_0x16cf91,[_0x511a0a[_0x228196(0x12f)],_0x511a0a[_0x228196(0xf5)]])||''],'file_name':_0xf1dc46,'location':_0xf1dc46,'vc_filepath':this[_0x228196(0x136)]?path[_0x228196(0x13b)](this[_0x228196(0x136)],_0xf1dc46):null,'result':_0x3aa6d1,'started_at':_0x13b45a,'framework':_0x511a0a['KcJIu']};return _0xabf5a9;}catch(_0x539cbb){logger[_0x228196(0x159)](_0x228196(0x124)+util[_0x228196(0x11d)](_0x539cbb)+'\x20');}}async[a90_0x10ce76(0x123)](_0x233f85,_0x29a4d2,_0x4149c1,_0x5d81b3,_0x1921c8,_0x59fc5f){const _0x57c3f1=a90_0x10ce76,_0x16bbe2={'ENtov':function(_0x2cfacd,_0xcdaada){return _0x2cfacd===_0xcdaada;},'ioBic':_0x57c3f1(0x14f),'BoDfG':function(_0x582212,_0x31b3e1,_0x481722){return _0x582212(_0x31b3e1,_0x481722);},'Fdxxc':'sourceReference','pEHMj':'uri','LFMaz':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','KSbXg':'bstack'};try{const _0x4f9449=_0x5d81b3[_0x57c3f1(0x16a)](_0x323660=>_0x323660['id']===_0x1921c8);if(!_0x4f9449[_0x57c3f1(0x103)])return;const _0x29332b=this[_0x57c3f1(0x137)](_0x5d81b3,_0x4f9449),_0x52d3bf=this[_0x57c3f1(0x14b)](_0x233f85,_0x29a4d2,_0x4149c1,_0x4f9449,_0x59fc5f,_0x29332b);if(!_0x52d3bf)return;_0x16bbe2['ENtov'](_0x4149c1,_0x16bbe2['ioBic'])&&(hooksMap[_0x29a4d2]?hooksMap[_0x29a4d2][_0x57c3f1(0x113)](_0x52d3bf):hooksMap[_0x29a4d2]=[_0x52d3bf]);const _0x54fa1a=_0x233f85[_0x57c3f1(0x10b)][_0x57c3f1(0x16a)](_0x453657=>_0x453657['id']===_0x4f9449['hookId']),_0x1f8a33=_0x16bbe2[_0x57c3f1(0x153)](nestedKeyValue,_0x54fa1a,[_0x16bbe2[_0x57c3f1(0x16c)],_0x16bbe2[_0x57c3f1(0x16d)]]);if(!_0x1f8a33)return;else{if(_0x1f8a33['includes'](_0x16bbe2[_0x57c3f1(0xf8)]))return;}if(_0x16bbe2[_0x57c3f1(0x104)](_0x52d3bf[_0x57c3f1(0x13f)],_0x16bbe2[_0x57c3f1(0x126)]))return;return _0x52d3bf;}catch(_0x3c26e7){logger[_0x57c3f1(0x159)]('Exception\x20in\x20createHookData:\x20'+util[_0x57c3f1(0x11d)](_0x3c26e7)+'\x20');}}[a90_0x10ce76(0x111)](_0x3fdf8f,_0x444d8d){const _0x188237=a90_0x10ce76,_0x5dc033={};_0x5dc033[_0x188237(0xfc)]=function(_0x29e167,_0x18b410){return _0x29e167===_0x18b410;},_0x5dc033[_0x188237(0x13d)]=_0x188237(0xf6),_0x5dc033[_0x188237(0x157)]=function(_0x3b064c,_0xa21ae3){return _0x3b064c===_0xa21ae3;},_0x5dc033['UakPj']=_0x188237(0x150),_0x5dc033['qvBHW']=_0x188237(0x102),_0x5dc033[_0x188237(0x118)]=function(_0x416f5d,_0x561145){return _0x416f5d||_0x561145;};const _0x219791=_0x5dc033,_0x3d855d=_0x3fdf8f[_0x188237(0x17b)][_0x444d8d][_0x188237(0x116)];let _0x2bd357,_0x7573ac;return _0x3d855d&&_0x219791['ovGyz'](_0x3d855d['status'][_0x188237(0x14d)]()[_0x188237(0x11e)](),_0x219791[_0x188237(0x13d)])&&(_0x2bd357=_0x219791[_0x188237(0x157)](_0x3d855d[_0x188237(0x122)],undefined)?_0x3d855d['message']:_0x3d855d[_0x188237(0x122)][_0x188237(0xfe)],_0x7573ac=_0x219791['vYoeO'](_0x3d855d[_0x188237(0x122)],undefined)?_0x219791[_0x188237(0x15d)]:_0x3d855d['message'][_0x188237(0x17a)](/Assert/)?_0x219791[_0x188237(0x160)]:_0x219791['UakPj']),{'status':_0x3d855d[_0x188237(0x11c)][_0x188237(0x11e)](),'failureType':_0x219791['qJZRN'](_0x7573ac,null),'failureData':!_0x2bd357?null:[_0x2bd357]};}[a90_0x10ce76(0x137)](_0x56af94,_0xf4a8ab){const _0x476c9b=a90_0x10ce76,_0x28229d={};_0x28229d['dvLSY']=function(_0x53cb51,_0x4b7f04){return _0x53cb51===_0x4b7f04;},_0x28229d['igLQv']='AFTER_EACH',_0x28229d[_0x476c9b(0x10d)]=_0x476c9b(0x128);const _0x5cd21c=_0x28229d;let _0x4e1736=![];for(const _0x59d722 of _0x56af94){_0x59d722[_0x476c9b(0x161)]&&(_0x4e1736=!![]);if(_0x5cd21c['dvLSY'](_0xf4a8ab['id'],_0x59d722['id']))return _0x4e1736?_0x5cd21c['igLQv']:_0x5cd21c['BMtEi'];}}[a90_0x10ce76(0x142)]=(_0x18cec1,_0x46239c)=>{const _0x260c6f=a90_0x10ce76,_0x34ff81={};_0x34ff81[_0x260c6f(0x114)]=function(_0x453750,_0x20d848){return _0x453750===_0x20d848;},_0x34ff81[_0x260c6f(0x15c)]=function(_0x48e722,_0x13c146){return _0x48e722===_0x13c146;},_0x34ff81[_0x260c6f(0xf3)]=function(_0x2333d4,_0x587b10){return _0x2333d4>_0x587b10;};const _0x870b59=_0x34ff81;if(!(_0x46239c['astNodeIds']&&_0x870b59[_0x260c6f(0xf3)](_0x46239c[_0x260c6f(0x174)]['length'],0x1)))return;const _0x369e7d=_0x46239c[_0x260c6f(0x174)][0x0],_0x7781e2=_0x46239c[_0x260c6f(0x174)][0x1],_0x2bfd6d=_0x18cec1[_0x260c6f(0x13c)]&&_0x18cec1[_0x260c6f(0x13c)][_0x260c6f(0x112)]?_0x18cec1[_0x260c6f(0x13c)][_0x260c6f(0x112)]:undefined;let _0x4f0abd=[];_0x2bfd6d&&_0x2bfd6d[_0x260c6f(0x119)](_0x2c3133=>{const _0x20c375=_0x260c6f,_0x4cab4c={'HZlsk':function(_0x2b271a,_0x5860f2){const _0x446f08=a90_0x4651;return _0x870b59[_0x446f08(0x114)](_0x2b271a,_0x5860f2);}};if(_0x2c3133[_0x20c375(0x117)])_0x2c3133[_0x20c375(0x117)]['children'][_0x20c375(0x119)](_0x285284=>{const _0x539bee=_0x20c375;if(_0x285284[_0x539bee(0xfb)]&&_0x4cab4c[_0x539bee(0x172)](_0x285284['scenario']['id'],_0x369e7d)&&_0x285284['scenario'][_0x539bee(0x16b)]){const _0x2ab7f0=_0x285284[_0x539bee(0xfb)][_0x539bee(0x16b)][_0x539bee(0x166)](_0x42a1d8=>_0x42a1d8['tableBody'])[_0x539bee(0x16a)](_0x3a7ba9=>_0x3a7ba9['id']===_0x7781e2);let _0x51d471;_0x2ab7f0&&_0x2ab7f0[_0x539bee(0x154)]?_0x51d471=_0x2ab7f0[_0x539bee(0x154)]['map'](_0x424a5b=>_0x424a5b[_0x539bee(0x134)]):_0x51d471=[],_0x51d471&&(_0x4f0abd=_0x51d471);}});else{if(_0x2c3133['scenario']&&_0x870b59[_0x20c375(0x15c)](_0x2c3133['scenario']['id'],_0x369e7d)&&_0x2c3133['scenario'][_0x20c375(0x16b)]){const _0x228b55=_0x2c3133[_0x20c375(0xfb)][_0x20c375(0x16b)]['flatMap'](_0xea1bdd=>_0xea1bdd['tableBody'])[_0x20c375(0x16a)](_0x5b5ef0=>_0x5b5ef0['id']===_0x7781e2);let _0x2efaa7;_0x228b55&&_0x228b55['cells']?_0x2efaa7=_0x228b55[_0x20c375(0x154)][_0x20c375(0x132)](_0x3b4444=>_0x3b4444[_0x20c375(0x134)]):_0x2efaa7=[],_0x2efaa7&&(_0x4f0abd=_0x2efaa7);}}});if(_0x4f0abd['length'])return _0x4f0abd;return;};async[a90_0x10ce76(0x173)](){const _0x450e70=a90_0x10ce76,_0x4f6036={'AiQQD':function(_0x529cbe){return _0x529cbe();}};if(this[_0x450e70(0xfa)])return this[_0x450e70(0x136)];const _0x1daf21=await _0x4f6036[_0x450e70(0x16f)](getGitMetaData);_0x1daf21&&(this[_0x450e70(0x136)]=_0x1daf21[_0x450e70(0x13e)]),this['_gitConfigured']=!![];}}module[a90_0x10ce76(0xff)]=o11yClassErrorHandler(CucumberUtils,[a90_0x10ce76(0x173),'getScenarioExamples','getCucumberHookType',a90_0x10ce76(0x111),a90_0x10ce76(0x11b),a90_0x10ce76(0x14b),a90_0x10ce76(0x175),a90_0x10ce76(0x129)]);
1
+ function a90_0x24a3(){const _0x25915b=['createTestFrameworkData','createHookData','astNodeIds','toLowerCase','ThzFr','testStepResult','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','bnkqu','bstack','fQqbX','JRotn','sWXfG','nKiAD','Exception\x20in\x20getHookRunEventData:\x20','winstonLogger','PaoHN','pickleStepId','configureGit','ynlrU','FAILED','sourceReference','scenario','sendHook','fJuTW','EaYgr','getTestUUID','ZrEwD','toISOString','find','value','getHookResult','JqjvR','OwUUo','status','backtrace','PJQIw','owGwO','../../../helpers/test-observability/error-handler.js','testStepFinished','YSAtv','relative','../TestInfo.js','ubrky','feature','nanos','getScenarioExamples','exports','DERza','JCogy','failureType','cells','_gitConfigPath','NCdCG','Unpau','failureData','timestamp','uri','getHookRunEventData','flatMap','util','getCucumberHookType','BEFORE_EACH','includes','exception','sendTestRunEventForCucumber','wjhEd','Ybzwl','map','_gitConfigured','tableBody','tags','tnFnt','DPaHB','AFTER_EACH','ScrAz','1329195EIQIVX','tUqkG','FEqWd','mWqvC','SKIPPED','join','VhFio','hooks','8658XJqDZT','AlQDM','finishedAt','AssertionError','djmbG','LVgKI','rule','failure','message','failed','DkiAJ','uuid','length','failure_type','548PLQqQm','path','strip-ansi','result','10lBdvjA','oyLNq','../../../helpers/logger.js','iskRc','duration_in_ms','fesTl','XYApY','debug','match','testCaseFinished','tagExpression','349yZCDVC','12721743arqLzr','every','OnYOg','hookId','AuKlv','UnhandledError','SMJQE','11689344OXgmQm','4501490djQTQn','forEach','YoGhf','2778kGSAvg','fSfYo','children','test','examples','push','name','Exception\x20in\x20createHookData:\x20','javascript','HookRunStarted','xtsty','8801292xPaaLm','caXjk','pending'];a90_0x24a3=function(){return _0x25915b;};return a90_0x24a3();}function a90_0x4b01(_0x445912,_0x312279){const _0x24a3fb=a90_0x24a3();return a90_0x4b01=function(_0x4b014a,_0x58ad0d){_0x4b014a=_0x4b014a-0x1ef;let _0x4adbd7=_0x24a3fb[_0x4b014a];return _0x4adbd7;},a90_0x4b01(_0x445912,_0x312279);}const a90_0x46e0a6=a90_0x4b01;(function(_0x3c0122,_0x369845){const _0x5b2ea9=a90_0x4b01,_0x5b5a1b=_0x3c0122();while(!![]){try{const _0x319f92=-parseInt(_0x5b2ea9(0x221))/0x1*(parseInt(_0x5b2ea9(0x22d))/0x2)+parseInt(_0x5b2ea9(0x204))/0x3*(parseInt(_0x5b2ea9(0x212))/0x4)+parseInt(_0x5b2ea9(0x1fc))/0x5+parseInt(_0x5b2ea9(0x238))/0x6+-parseInt(_0x5b2ea9(0x22a))/0x7+-parseInt(_0x5b2ea9(0x229))/0x8+parseInt(_0x5b2ea9(0x222))/0x9*(parseInt(_0x5b2ea9(0x216))/0xa);if(_0x319f92===_0x369845)break;else _0x5b5a1b['push'](_0x5b5a1b['shift']());}catch(_0x4d79ec){_0x5b5a1b['push'](_0x5b5a1b['shift']());}}}(a90_0x24a3,0xe8937));const path=require(a90_0x46e0a6(0x213)),util=require(a90_0x46e0a6(0x276)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a90_0x46e0a6(0x218))[a90_0x46e0a6(0x249)],{o11yClassErrorHandler}=require(a90_0x46e0a6(0x260)),TestInfo=require(a90_0x46e0a6(0x264)),hooksMap={};class CucumberUtils{constructor(){const _0x5e07cd=a90_0x46e0a6;this[_0x5e07cd(0x1f5)]=![],this[_0x5e07cd(0x26e)]=null;}async[a90_0x46e0a6(0x23b)](_0x5e71ba,_0x115f7f,_0x549819,_0x5e2925,_0x2d0b29,_0x34be74){const _0x1a0daa=a90_0x46e0a6,_0x215c12={'QEiIN':function(_0x260d34,_0x184dd7){return _0x260d34===_0x184dd7;},'OwUUo':_0x1a0daa(0x24e),'DPaHB':_0x1a0daa(0x20d),'Ybzwl':function(_0x33e6ac,_0x11fadd){return _0x33e6ac===_0x11fadd;},'SMJQE':_0x1a0daa(0x200),'OnYOg':'skipped','JqjvR':function(_0x200e6b,_0x2c438b){return _0x200e6b||_0x2c438b;},'NUQfu':function(_0x5218e1,_0x1eb7e3){return _0x5218e1+_0x1eb7e3;},'fSfYo':function(_0x45c219,_0x4179fa){return _0x45c219+_0x4179fa;},'ieZDv':_0x1a0daa(0x230),'fesTl':_0x1a0daa(0x235),'PaoHN':'cucumber','FEqWd':'pending','XYApY':'passed','BNSYC':function(_0x43d087,_0x2ca4fc){return _0x43d087!==_0x2ca4fc;},'tUqkG':function(_0x244b50,_0x431940){return _0x244b50/_0x431940;},'owGwO':_0x1a0daa(0x214),'ScrAz':function(_0x500118,_0x5456c7){return _0x500118(_0x5456c7);},'ZrEwD':'unknown','nhBIC':_0x1a0daa(0x207),'NCdCG':_0x1a0daa(0x227)},{feature:_0xd43175,scenario:_0x274595,steps:_0x536214,uuid:_0x44881d,startedAt:_0x421db2,finishedAt:_0x5c5635}=_0x215c12[_0x1a0daa(0x25a)](_0x5e71ba,{}),_0x3f5edd=this[_0x1a0daa(0x268)](_0x5e2925,_0x115f7f);await this[_0x1a0daa(0x24c)]();const _0x175a89=_0x3f5edd?_0x215c12['NUQfu'](_0x215c12[_0x1a0daa(0x22e)](_0x215c12['NUQfu'](_0x115f7f[_0x1a0daa(0x233)],'\x20('),_0x3f5edd[_0x1a0daa(0x201)](',\x20')),')'):_0x115f7f[_0x1a0daa(0x233)],_0x2d2575={'id':_0x2d0b29,'uuid':_0x2d0b29,'startedAt':_0x421db2,'finishedAt':_0x5c5635,'type':_0x215c12['ieZDv'],'body':{'lang':_0x215c12[_0x1a0daa(0x21b)],'code':null},'name':_0x175a89,'scopes':[_0xd43175&&_0xd43175['name']?_0xd43175[_0x1a0daa(0x233)]:''],'tags':_0x115f7f[_0x1a0daa(0x1f7)]?_0x115f7f[_0x1a0daa(0x1f7)][_0x1a0daa(0x1f4)](({name:_0x1169c6})=>_0x1169c6):[],'file_name':_0x115f7f[_0x1a0daa(0x273)],'location':_0x115f7f[_0x1a0daa(0x273)],'vc_filepath':this[_0x1a0daa(0x26e)]&&_0x115f7f[_0x1a0daa(0x273)]?path[_0x1a0daa(0x263)](this[_0x1a0daa(0x26e)],_0x115f7f[_0x1a0daa(0x273)]):null,'framework':_0x215c12[_0x1a0daa(0x24a)],'result':_0x215c12[_0x1a0daa(0x1fe)],'meta':{'feature':_0xd43175,'scenario':_0x274595,'steps':_0x536214,'examples':_0x3f5edd},'customRerunParam':{'rerun_name':_0x175a89}};if(_0x549819[_0x1a0daa(0x21f)]&&_0x536214){const _0x4a5314=_0x549819[_0x1a0daa(0x21f)];let _0x42155d=_0x215c12[_0x1a0daa(0x21c)];_0x536214[_0x1a0daa(0x223)](_0x2833b4=>{const _0x194a95=_0x1a0daa;if(_0x215c12['QEiIN'](_0x2833b4[_0x194a95(0x215)],_0x215c12[_0x194a95(0x25b)]))return _0x42155d=_0x215c12[_0x194a95(0x1f9)],_0x4a5314[_0x194a95(0x20b)]=_0x2833b4[_0x194a95(0x20b)],_0x4a5314['failureType']=_0x2833b4[_0x194a95(0x26c)],![];else{if(_0x215c12[_0x194a95(0x1f3)](_0x2833b4[_0x194a95(0x215)],_0x215c12[_0x194a95(0x228)]))return _0x42155d=_0x215c12[_0x194a95(0x224)],![];}return!![];}),_0x2d2575[_0x1a0daa(0x206)]=new Date()[_0x1a0daa(0x256)](),_0x2d2575[_0x1a0daa(0x215)]=_0x42155d;_0x4a5314[_0x1a0daa(0x272)]&&_0x215c12['BNSYC'](_0x4a5314['timestamp'][_0x1a0daa(0x267)],undefined)?_0x2d2575[_0x1a0daa(0x21a)]=_0x215c12[_0x1a0daa(0x1fd)](_0x4a5314['timestamp']['nanos'],0xf4240):_0x2d2575[_0x1a0daa(0x21a)]=undefined;if(_0x215c12[_0x1a0daa(0x1f3)](_0x42155d,_0x215c12[_0x1a0daa(0x1f9)])){const {default:_0x1a5204}=await import(_0x215c12[_0x1a0daa(0x25f)]);_0x2d2575[_0x1a0daa(0x20b)]=[{'backtrace':[_0x4a5314[_0x1a0daa(0x20b)]?_0x215c12[_0x1a0daa(0x1fb)](_0x1a5204,_0x4a5314[_0x1a0daa(0x20b)]):_0x215c12[_0x1a0daa(0x255)]]}],_0x2d2575['failure_reason']=_0x4a5314[_0x1a0daa(0x20b)]?_0x215c12['ScrAz'](_0x1a5204,_0x4a5314[_0x1a0daa(0x20b)]):_0x4a5314[_0x1a0daa(0x20c)],_0x4a5314[_0x1a0daa(0x26c)]&&(_0x2d2575[_0x1a0daa(0x211)]=_0x4a5314[_0x1a0daa(0x26c)]['match'](/AssertError/)?_0x215c12['nhBIC']:_0x215c12[_0x1a0daa(0x26f)]);}}return _0x2d2575;}['getHookRunEventData'](_0x3b717f,_0xdaaaef,_0x4b8aff,_0x52da44,_0x2bbce4,_0x65bcf7){const _0x2dbdbe=a90_0x46e0a6,_0x550a50={'YSAtv':function(_0x23d252,_0x47b077){return _0x23d252===_0x47b077;},'tnFnt':'HookRunFinished','wjhEd':function(_0xb0f9ae,_0x4c2d6a,_0x8e8fbc){return _0xb0f9ae(_0x4c2d6a,_0x8e8fbc);},'PJQIw':'sourceReference','iskRc':_0x2dbdbe(0x273),'djmbG':_0x2dbdbe(0x23a),'JCogy':'hook','AuKlv':_0x2dbdbe(0x235),'fQqbX':_0x2dbdbe(0x266),'oyLNq':_0x2dbdbe(0x233),'JRotn':function(_0x19e8b0,_0x283c36,_0x1a1d9b){return _0x19e8b0(_0x283c36,_0x1a1d9b);},'caXjk':'cucumber'};try{if(_0x550a50[_0x2dbdbe(0x262)](_0x4b8aff,_0x550a50[_0x2dbdbe(0x1f8)])){const _0x28bc5e=new Date()['toISOString'](),_0x3ab67c=hooksMap[_0xdaaaef];if(!_0x3ab67c)return;const _0x10a939=_0x3ab67c[_0x2dbdbe(0x257)](_0x247980=>_0x247980[_0x2dbdbe(0x20f)]===_0x52da44['id']);if(!_0x10a939)return;const _0x50300b=this['getHookResult'](_0x3b717f,_0xdaaaef);_0x10a939[_0x2dbdbe(0x215)]=_0x50300b[_0x2dbdbe(0x25c)],_0x10a939['finished_at']=_0x28bc5e,_0x10a939['failure_type']=_0x50300b['failureType'];const _0x2c2e50={};return _0x2c2e50[_0x2dbdbe(0x25d)]=_0x50300b[_0x2dbdbe(0x271)],_0x10a939['failure_data']=[_0x2c2e50],_0x10a939;}const _0x461a28=TestInfo[_0x2dbdbe(0x254)](_0xdaaaef),_0x156de8=_0x3b717f['hooks'][_0x2dbdbe(0x257)](_0x286ea3=>_0x286ea3['id']===_0x52da44['hookId']),_0xe7826c=_0x550a50[_0x2dbdbe(0x1f2)](nestedKeyValue,_0x156de8,[_0x550a50[_0x2dbdbe(0x25e)],_0x550a50[_0x2dbdbe(0x219)]]),_0x4fa212=new Date()[_0x2dbdbe(0x256)](),_0x325d16=_0x550a50[_0x2dbdbe(0x208)],_0x4f1552=_0x156de8[_0x2dbdbe(0x220)]?_0x156de8[_0x2dbdbe(0x220)]['split']('\x20')['filter'](_0x4bcacb=>_0x4bcacb[_0x2dbdbe(0x1ef)]('@')):[],_0x303fff={'uuid':_0x52da44['id'],'type':_0x550a50[_0x2dbdbe(0x26b)],'hook_type':_0x65bcf7,'name':_0x156de8[_0x2dbdbe(0x233)],'body':{'lang':_0x550a50[_0x2dbdbe(0x226)],'code':null},'tags':_0x4f1552,'test_run_id':_0x461a28,'scope':_0x550a50[_0x2dbdbe(0x1f2)](nestedKeyValue,_0x2bbce4,[_0x550a50[_0x2dbdbe(0x244)],_0x550a50[_0x2dbdbe(0x217)]]),'scopes':[_0x550a50[_0x2dbdbe(0x245)](nestedKeyValue,_0x2bbce4,[_0x550a50['fQqbX'],_0x550a50[_0x2dbdbe(0x217)]])||''],'file_name':_0xe7826c,'location':_0xe7826c,'vc_filepath':this[_0x2dbdbe(0x26e)]?path[_0x2dbdbe(0x263)](this[_0x2dbdbe(0x26e)],_0xe7826c):null,'result':_0x325d16,'started_at':_0x4fa212,'framework':_0x550a50[_0x2dbdbe(0x239)]};return _0x303fff;}catch(_0x46805d){logger[_0x2dbdbe(0x21d)](_0x2dbdbe(0x248)+util['format'](_0x46805d)+'\x20');}}async[a90_0x46e0a6(0x23c)](_0x262754,_0x5824bc,_0x572754,_0x4ee4c0,_0x228462,_0x43c6be){const _0x3ac7cf=a90_0x46e0a6,_0x77ac0f={'QKnyB':function(_0x4a65b8,_0x171600){return _0x4a65b8===_0x171600;},'xtsty':_0x3ac7cf(0x236),'sWXfG':function(_0x2b6a62,_0x10a169,_0x49e4a8){return _0x2b6a62(_0x10a169,_0x49e4a8);},'ThzFr':_0x3ac7cf(0x24f),'fJuTW':_0x3ac7cf(0x273),'bnkqu':_0x3ac7cf(0x241),'DERza':function(_0xba7b15,_0x5dd0d5){return _0xba7b15===_0x5dd0d5;},'ryHZP':_0x3ac7cf(0x243)};try{const _0x43c429=_0x4ee4c0[_0x3ac7cf(0x257)](_0x48bf81=>_0x48bf81['id']===_0x228462);if(!_0x43c429['hookId'])return;const _0x23a823=this[_0x3ac7cf(0x277)](_0x4ee4c0,_0x43c429),_0x575b26=this[_0x3ac7cf(0x274)](_0x262754,_0x5824bc,_0x572754,_0x43c429,_0x43c6be,_0x23a823);if(!_0x575b26)return;_0x77ac0f['QKnyB'](_0x572754,_0x77ac0f[_0x3ac7cf(0x237)])&&(hooksMap[_0x5824bc]?hooksMap[_0x5824bc][_0x3ac7cf(0x232)](_0x575b26):hooksMap[_0x5824bc]=[_0x575b26]);const _0x15ad83=_0x262754[_0x3ac7cf(0x203)][_0x3ac7cf(0x257)](_0xa62019=>_0xa62019['id']===_0x43c429[_0x3ac7cf(0x225)]),_0x395261=_0x77ac0f[_0x3ac7cf(0x246)](nestedKeyValue,_0x15ad83,[_0x77ac0f[_0x3ac7cf(0x23f)],_0x77ac0f[_0x3ac7cf(0x252)]]);if(!_0x395261)return;else{if(_0x395261[_0x3ac7cf(0x1ef)](_0x77ac0f[_0x3ac7cf(0x242)]))return;}if(_0x77ac0f[_0x3ac7cf(0x26a)](_0x575b26[_0x3ac7cf(0x233)],_0x77ac0f['ryHZP']))return;return _0x575b26;}catch(_0x50e2b8){logger[_0x3ac7cf(0x21d)](_0x3ac7cf(0x234)+util['format'](_0x50e2b8)+'\x20');}}['getHookResult'](_0x1696cb,_0x15ae85){const _0x154bb1=a90_0x46e0a6,_0x1710a5={};_0x1710a5[_0x154bb1(0x270)]=function(_0x30b7f7,_0x43fdf4){return _0x30b7f7===_0x43fdf4;},_0x1710a5['gHIat']=_0x154bb1(0x20d),_0x1710a5[_0x154bb1(0x253)]=function(_0x1e8d77,_0xe41598){return _0x1e8d77===_0xe41598;},_0x1710a5[_0x154bb1(0x20e)]=function(_0x5b935b,_0x1fb853){return _0x5b935b===_0x1fb853;},_0x1710a5[_0x154bb1(0x24d)]=_0x154bb1(0x227),_0x1710a5['AydrM']=_0x154bb1(0x207),_0x1710a5[_0x154bb1(0x205)]=function(_0x5c5d02,_0x2877ce){return _0x5c5d02||_0x2877ce;};const _0x1bb98a=_0x1710a5,_0x2f91e9=_0x1696cb[_0x154bb1(0x261)][_0x15ae85][_0x154bb1(0x240)];let _0x39a00d,_0x1dbb33;return _0x2f91e9&&_0x1bb98a[_0x154bb1(0x270)](_0x2f91e9[_0x154bb1(0x25c)]['toString']()[_0x154bb1(0x23e)](),_0x1bb98a['gHIat'])&&(_0x39a00d=_0x1bb98a['EaYgr'](_0x2f91e9['exception'],undefined)?_0x2f91e9['message']:_0x2f91e9[_0x154bb1(0x1f0)][_0x154bb1(0x20c)],_0x1dbb33=_0x1bb98a[_0x154bb1(0x20e)](_0x2f91e9['exception'],undefined)?_0x1bb98a['ynlrU']:_0x2f91e9[_0x154bb1(0x20c)][_0x154bb1(0x21e)](/Assert/)?_0x1bb98a['AydrM']:_0x1bb98a[_0x154bb1(0x24d)]),{'status':_0x2f91e9['status'][_0x154bb1(0x23e)](),'failureType':_0x1bb98a['AlQDM'](_0x1dbb33,null),'failureData':!_0x39a00d?null:[_0x39a00d]};}['getCucumberHookType'](_0x1fe8d5,_0x4186bc){const _0x53d8fe=a90_0x46e0a6,_0x50ce6d={};_0x50ce6d[_0x53d8fe(0x265)]=function(_0xfae6c4,_0x1ddb63){return _0xfae6c4===_0x1ddb63;},_0x50ce6d[_0x53d8fe(0x247)]=_0x53d8fe(0x1fa),_0x50ce6d[_0x53d8fe(0x209)]=_0x53d8fe(0x278);const _0x21316d=_0x50ce6d;let _0xffb42a=![];for(const _0x58a72c of _0x1fe8d5){_0x58a72c[_0x53d8fe(0x24b)]&&(_0xffb42a=!![]);if(_0x21316d[_0x53d8fe(0x265)](_0x4186bc['id'],_0x58a72c['id']))return _0xffb42a?_0x21316d['nKiAD']:_0x21316d[_0x53d8fe(0x209)];}}[a90_0x46e0a6(0x268)]=(_0x1902e8,_0x6cc983)=>{const _0x5bf619=a90_0x46e0a6,_0x365ba5={};_0x365ba5[_0x5bf619(0x22c)]=function(_0x495266,_0x225a26){return _0x495266===_0x225a26;},_0x365ba5[_0x5bf619(0x1ff)]=function(_0x366b37,_0x16c4a7){return _0x366b37>_0x16c4a7;};const _0x15de15=_0x365ba5;if(!(_0x6cc983[_0x5bf619(0x23d)]&&_0x15de15[_0x5bf619(0x1ff)](_0x6cc983['astNodeIds']['length'],0x1)))return;const _0x32113f=_0x6cc983[_0x5bf619(0x23d)][0x0],_0x4d85b9=_0x6cc983[_0x5bf619(0x23d)][0x1],_0x15d2bd=_0x1902e8[_0x5bf619(0x266)]&&_0x1902e8['feature'][_0x5bf619(0x22f)]?_0x1902e8[_0x5bf619(0x266)]['children']:undefined;let _0xbd1822=[];_0x15d2bd&&_0x15d2bd[_0x5bf619(0x22b)](_0x410f75=>{const _0x454123=_0x5bf619;if(_0x410f75['rule'])_0x410f75[_0x454123(0x20a)]['children'][_0x454123(0x22b)](_0x32084c=>{const _0x183645=_0x454123;if(_0x32084c[_0x183645(0x250)]&&_0x15de15[_0x183645(0x22c)](_0x32084c[_0x183645(0x250)]['id'],_0x32113f)&&_0x32084c[_0x183645(0x250)]['examples']){const _0x3e10ef=_0x32084c[_0x183645(0x250)]['examples'][_0x183645(0x275)](_0x3eccd8=>_0x3eccd8['tableBody'])['find'](_0x350275=>_0x350275['id']===_0x4d85b9);let _0x5461f6;_0x3e10ef&&_0x3e10ef[_0x183645(0x26d)]?_0x5461f6=_0x3e10ef[_0x183645(0x26d)][_0x183645(0x1f4)](_0x35af1e=>_0x35af1e[_0x183645(0x258)]):_0x5461f6=[],_0x5461f6&&(_0xbd1822=_0x5461f6);}});else{if(_0x410f75[_0x454123(0x250)]&&_0x15de15['YoGhf'](_0x410f75['scenario']['id'],_0x32113f)&&_0x410f75[_0x454123(0x250)][_0x454123(0x231)]){const _0x24de24=_0x410f75['scenario'][_0x454123(0x231)][_0x454123(0x275)](_0x1e710e=>_0x1e710e[_0x454123(0x1f6)])['find'](_0x14afa9=>_0x14afa9['id']===_0x4d85b9);let _0x466bef;_0x24de24&&_0x24de24[_0x454123(0x26d)]?_0x466bef=_0x24de24['cells'][_0x454123(0x1f4)](_0x27a2b4=>_0x27a2b4[_0x454123(0x258)]):_0x466bef=[],_0x466bef&&(_0xbd1822=_0x466bef);}}});if(_0xbd1822[_0x5bf619(0x210)])return _0xbd1822;return;};async[a90_0x46e0a6(0x24c)](){const _0x1cb760=a90_0x46e0a6,_0x4d45b9={'VhFio':function(_0x53b89f){return _0x53b89f();}};if(this[_0x1cb760(0x1f5)])return this[_0x1cb760(0x26e)];const _0x521c63=await _0x4d45b9[_0x1cb760(0x202)](getGitMetaData);_0x521c63&&(this[_0x1cb760(0x26e)]=_0x521c63['root']),this['_gitConfigured']=!![];}}module[a90_0x46e0a6(0x269)]=o11yClassErrorHandler(CucumberUtils,['configureGit',a90_0x46e0a6(0x268),a90_0x46e0a6(0x277),a90_0x46e0a6(0x259),a90_0x46e0a6(0x251),a90_0x46e0a6(0x274),a90_0x46e0a6(0x1f1),'createTestFrameworkData']);
@@ -1 +1 @@
1
- function a91_0x5df7(_0x3f8f78,_0x29c877){const _0x5406bb=a91_0x5406();return a91_0x5df7=function(_0x5df751,_0x3ed834){_0x5df751=_0x5df751-0x1d2;let _0x124b03=_0x5406bb[_0x5df751];return _0x124b03;},a91_0x5df7(_0x3f8f78,_0x29c877);}const a91_0x36291f=a91_0x5df7;(function(_0x296cbe,_0x39ee5f){const _0x2c334e=a91_0x5df7,_0x43acf2=_0x296cbe();while(!![]){try{const _0x358cc0=-parseInt(_0x2c334e(0x224))/0x1*(-parseInt(_0x2c334e(0x1e0))/0x2)+-parseInt(_0x2c334e(0x228))/0x3*(parseInt(_0x2c334e(0x217))/0x4)+-parseInt(_0x2c334e(0x252))/0x5*(-parseInt(_0x2c334e(0x23c))/0x6)+-parseInt(_0x2c334e(0x21f))/0x7+parseInt(_0x2c334e(0x279))/0x8*(-parseInt(_0x2c334e(0x1e8))/0x9)+-parseInt(_0x2c334e(0x1df))/0xa*(-parseInt(_0x2c334e(0x1d7))/0xb)+-parseInt(_0x2c334e(0x215))/0xc*(-parseInt(_0x2c334e(0x23f))/0xd);if(_0x358cc0===_0x39ee5f)break;else _0x43acf2['push'](_0x43acf2['shift']());}catch(_0x5e539a){_0x43acf2['push'](_0x43acf2['shift']());}}}(a91_0x5406,0xe5bee));function a91_0x5406(){const _0x596c15=['pYMaO','bYvtl','hDKbc','skipped','sCQqP','failed','rSTHv','finished_at','createJestTestIdentifier','vHwUK','HookRunFinished','getHierarchy','parse','gQvnj','apply','IPLmJ','configureGit','10974774uTROwb','Unknown\x20Test','bkCbt','13BLMWCm','hex','root','ugLWc','update','failure_type','split','yVKPA','find','name',',\x20testRunId:\x20','hook','YDqoW','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','CUWnU','PLPEJ','Exception\x20in\x20createHookData:\x20','relative','failure','5WHEHsC','clearHooksMap','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','JyOLj','Exception\x20in\x20getHookRunEventData:\x20','LRIlz','hooks','TQRam','jest','KwWKi','browserstack-node-agent/src/bin/jest','duration','wQPQH','../TestInfo.js','displayName','toUpperCase','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','AZULP','JrTHm','QHttl','stack-trace','stack','GZToP','util','match','TfmWq','jest-circus','getFileName','gjydM','exports','createIdentifierFromJestTest','ECIhM','error','testAnalyticsId','HookRunStarted','Creating\x20hook\x20data\x20for\x20eventType:\x20','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','[jestUtils]\x20No\x20test\x20object\x20provided','beforeEach','5896sMVnCn','pending','afterEach','recreateIdentifierFromTestInfo','mayrd','vjQsn',',\x20testIdentifier:\x20','fdswE','getRootParentFile','YAimd','FygoT','expanded','tGaks','ROOT_DESCRIBE_BLOCK','type','toString','../../../helpers/helper.js','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','toISOString','_gitConfigured','wORFf','createHash','includes','uuid','uwxVy','afterAll','sNgqY','isJestInternalHook','getTestIdentifier','11jzHzUD','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','nKJeN','sjaTm','KDYNh','noSBe','digest','TestRunFinished','16765150UksEPE','1657620UxAyck',',\x20hookUUID:\x20','call','errorsDetailed','getState','result','title',':jest-','8973uuHcuY','substring','passed','inspect','bxtjO','Bsmca','file','test','AFTER_EACH','AFTER_ALL','qGUfe','testPath','failure_reason_expanded','getTime','startedAt','started_at','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','asyncError','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','[jestUtils]\x20Created\x20identifier:\x20','retryOf','__workerDetails','../../../helpers/test-observability/utils','XpUyz','javascript','failure_backtrace','DFyhZ','\x20from\x20compositeKey:\x20','failure_reason','err','parent','format','now','extractTestFilePath','_gitConfigPath','md5','failure_data','getName','AjKZE','createTestFrameworkData','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','kaGiZ','unknown','sryWj','bGPTZ','4889904DxyGyR','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','44cPMxwe','debug','createHookData','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','BhQyi','getHookRunEventData','finishedAt','currentTest','12917296uVSxio','backtrace','OEOqP','__jestCurrentTestIdentifier','HNbkh','1MjliAO','MLNWM','jtyfA','sFvyC','332943JFrgzM','length','Failed\x20to\x20get\x20hook\x20file\x20path:\x20'];a91_0x5406=function(){return _0x596c15;};return a91_0x5406();}const path=require('path'),util=require(a91_0x36291f(0x269)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x36291f(0x289)),logger=require('../../../helpers/logger.js')['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a91_0x36291f(0x25f)),{failureData,getFailureType}=require(a91_0x36291f(0x1fe)),stackTrace=require(a91_0x36291f(0x266)),a91_0x3b7a57={};a91_0x3b7a57['beforeAll']='BEFORE_ALL',a91_0x3b7a57[a91_0x36291f(0x1d3)]=a91_0x36291f(0x1f1),a91_0x3b7a57[a91_0x36291f(0x278)]='BEFORE_EACH',a91_0x3b7a57[a91_0x36291f(0x27b)]=a91_0x36291f(0x1f0);const HOOK_TYPES_MAP=a91_0x3b7a57,hooksMap={};class JestUtils{constructor(){const _0x141245=a91_0x36291f;this['_gitConfigured']=![],this[_0x141245(0x20a)]=null;}async[a91_0x36291f(0x20f)](_0x3bc85f,_0x396e0b,_0x8383f1=a91_0x36291f(0x1de),_0x5c3008=undefined){const _0x49a993=a91_0x36291f,_0x16c110={'sFvyC':_0x49a993(0x262),'gMgoq':'jest-circus','MLNWM':function(_0x85b76c,_0x543509){return _0x85b76c||_0x543509;},'UrIGD':'File\x20path\x20could\x20not\x20be\x20found','noSBe':function(_0x9ef032,_0x5a12af){return _0x9ef032!==_0x5a12af;},'HNbkh':_0x49a993(0x1ef),'FiAvl':function(_0x20a0d6,_0x2d888e){return _0x20a0d6!==_0x2d888e;},'BhQyi':_0x49a993(0x205),'JrTHm':function(_0x5a6fcc,_0x5ea1d){return _0x5a6fcc!==_0x5ea1d;},'bCFYI':_0x49a993(0x27a),'TQRam':function(_0x5e1c93,_0x4ff862){return _0x5e1c93===_0x4ff862;},'bxtjO':'TestRunSkipped','sCQqP':_0x49a993(0x22e),'sNgqY':function(_0x20e48a,_0x4f4c59){return _0x20e48a>_0x4f4c59;},'mayrd':'failed','GShrV':_0x49a993(0x1ea),'uwxVy':function(_0x3d3418,_0x3d37b9){return _0x3d3418-_0x3d37b9;},'gjydM':_0x49a993(0x200),'YAimd':_0x49a993(0x25a),'tCckE':function(_0x1cc0f7,_0x2e0b29){return _0x1cc0f7(_0x2e0b29);},'AZULP':function(_0x416624,_0x5f34ed){return _0x416624===_0x5f34ed;},'sryWj':function(_0x23801d,_0x2931c4){return _0x23801d===_0x2931c4;},'LRIlz':_0x49a993(0x1de),'IPLmJ':function(_0x4e9c15,_0x1c4e1a){return _0x4e9c15===_0x1c4e1a;}};logger[_0x49a993(0x218)](_0x49a993(0x276)+_0x8383f1+_0x49a993(0x27f)+_0x396e0b);try{if(!_0x3bc85f)return logger['debug'](_0x16c110[_0x49a993(0x227)]),null;if(_0x3bc85f['fn']&&_0x3bc85f['fn'][_0x49a993(0x288)]()[_0x49a993(0x26a)](/browserstack internal helper hook/))return null;await this[_0x49a993(0x23b)]();let _0x2ee584;try{_0x2ee584=this[_0x49a993(0x281)](_0x3bc85f);if(_0x2ee584&&_0x2ee584[_0x49a993(0x28f)](_0x16c110['gMgoq']))return null;}catch(_0x440769){logger['debug'](_0x49a993(0x1fa)+util['format'](_0x440769)),_0x2ee584=null;}const _0x119974=this[_0x49a993(0x236)](_0x3bc85f),_0x3a75ba=this['getName'](_0x3bc85f),_0x3ccef0=_0x16c110[_0x49a993(0x225)](_0x2ee584,_0x16c110['UrIGD']);let _0x287df1=[];if(_0x16c110[_0x49a993(0x1dc)](_0x3bc85f[_0x49a993(0x1e3)],undefined))_0x287df1=[_0x3bc85f[_0x49a993(0x1e3)],_0x16c110[_0x49a993(0x223)]];else _0x16c110['FiAvl'](_0x5c3008,undefined)&&(_0x287df1=[_0x5c3008,_0x16c110[_0x49a993(0x21b)]]);const _0x1f8088=_0x16c110[_0x49a993(0x1dc)](_0x3bc85f[_0x49a993(0x1e3)],undefined)?util[_0x49a993(0x1eb)](_0x3bc85f[_0x49a993(0x1e3)][0x0]):_0x16c110[_0x49a993(0x264)](_0x5c3008,undefined)?_0x5c3008[_0x49a993(0x288)]():undefined;let _0x51a158=_0x16c110['bCFYI'];if(_0x16c110[_0x49a993(0x259)](_0x8383f1,_0x16c110[_0x49a993(0x1ec)]))_0x51a158=_0x16c110[_0x49a993(0x22f)];else _0x3bc85f['errorsDetailed']&&_0x16c110[_0x49a993(0x1d4)](_0x3bc85f[_0x49a993(0x1e3)][_0x49a993(0x229)],0x0)?_0x51a158=_0x16c110[_0x49a993(0x27d)]:_0x51a158=_0x16c110['GShrV'];let _0x56ff2a=null;if(_0x16c110[_0x49a993(0x264)](_0x3bc85f['duration'],undefined))_0x56ff2a=_0x3bc85f[_0x49a993(0x25d)];else(_0x8383f1['match'](/Finished/)||_0x8383f1['match'](/Skipped/))&&(_0x3bc85f['started_at']&&(_0x56ff2a=_0x16c110[_0x49a993(0x1d2)](Date[_0x49a993(0x208)](),new Date(_0x3bc85f[_0x49a993(0x1f7)])[_0x49a993(0x1f5)]())));const _0x1a22d6=_0x3bc85f['fn']?_0x3bc85f['fn'][_0x49a993(0x288)]():null,_0x15fb88={'id':_0x396e0b,'uuid':_0x396e0b,'startedAt':_0x3bc85f[_0x49a993(0x1f7)]||new Date()['toISOString'](),'finishedAt':_0x8383f1['match'](/Finished/)||_0x8383f1[_0x49a993(0x26a)](/Skipped/)?new Date()[_0x49a993(0x28b)]():null,'type':_0x16c110['HNbkh'],'body':{'lang':_0x16c110[_0x49a993(0x26e)],'code':_0x1a22d6},'name':_0x3a75ba,'scopes':_0x119974,'file_name':_0x3ccef0,'location':_0x3ccef0,'vc_filepath':this[_0x49a993(0x20a)]&&_0x2ee584?path[_0x49a993(0x250)](this['_gitConfigPath'],_0x2ee584):null,'framework':_0x16c110[_0x49a993(0x282)],'result':_0x51a158,'failure_reason':_0x1f8088,'duration_in_ms':_0x56ff2a,'failure':failureData[_0x49a993(0x239)](null,_0x287df1),'failure_type':!_0x1f8088?null:_0x16c110['tCckE'](getFailureType,_0x1f8088),'retry_of':_0x3bc85f[_0x49a993(0x1fc)]||null,'customRerunParam':{'rerun_name':_0x3a75ba}};_0x16c110[_0x49a993(0x263)](_0x8383f1,_0x16c110[_0x49a993(0x1ec)])&&!_0x15fb88[_0x49a993(0x1f6)]&&(_0x15fb88[_0x49a993(0x1f6)]=_0x15fb88[_0x49a993(0x21d)]);const _0x3232bf=_0x15fb88[_0x49a993(0x251)]&&_0x15fb88['failure'][0x0];return _0x3232bf&&(_0x15fb88[_0x49a993(0x201)]=_0x3232bf[_0x49a993(0x220)],_0x15fb88[_0x49a993(0x1f4)]=_0x3232bf[_0x49a993(0x284)]),(_0x16c110[_0x49a993(0x213)](_0x8383f1,_0x16c110[_0x49a993(0x257)])||_0x16c110[_0x49a993(0x23a)](_0x8383f1,_0x16c110[_0x49a993(0x1ec)]))&&(_0x3bc85f['hooks']&&(_0x15fb88[_0x49a993(0x258)]=_0x3bc85f['hooks'])),_0x15fb88;}catch(_0x3c60c4){return logger[_0x49a993(0x218)]('Exception\x20in\x20createTestFrameworkData:\x20'+util[_0x49a993(0x207)](_0x3c60c4)),null;}}async['createHookData'](_0x25dd8e,_0x3ea1e5,_0x177511,_0x3c56ef){const _0x170458=a91_0x36291f,_0x14fd70={'ECIhM':_0x170458(0x28a),'PLPEJ':'jest-circus','FygoT':_0x170458(0x25c),'wORFf':_0x170458(0x212),'hDKbc':_0x170458(0x27a),'ugLWc':function(_0x44b1eb,_0x2607cb){return _0x44b1eb===_0x2607cb;},'fdswE':_0x170458(0x235),'iUzhw':function(_0x58e5a0,_0x73130f){return _0x58e5a0>_0x73130f;},'GZToP':_0x170458(0x230),'AjKZE':function(_0x26cca,_0x215521){return _0x26cca(_0x215521);},'yVKPA':_0x170458(0x1ef),'cEBnx':'passed','qGUfe':_0x170458(0x24a),'tzPYK':_0x170458(0x200),'OrZMq':_0x170458(0x25a),'wQPQH':function(_0x312d8c,_0x509782){return _0x312d8c===_0x509782;},'QHttl':_0x170458(0x274)};logger[_0x170458(0x218)](_0x170458(0x275)+_0x177511+_0x170458(0x1e1)+_0x3ea1e5+_0x170458(0x249)+_0x3c56ef);try{if(!_0x25dd8e)return logger[_0x170458(0x218)](_0x14fd70[_0x170458(0x271)]),null;if(this['isJestInternalHook'](_0x25dd8e))return null;await this['configureGit']();let _0x198034=null;try{_0x198034=this[_0x170458(0x281)](_0x25dd8e);if(_0x198034&&_0x198034[_0x170458(0x28f)](_0x14fd70[_0x170458(0x24e)]))return null;if(_0x198034&&_0x198034['includes'](_0x14fd70[_0x170458(0x283)]))return null;}catch(_0xdcde42){logger[_0x170458(0x218)](_0x170458(0x22a)+util[_0x170458(0x207)](_0xdcde42));}const _0x4c87ba=this[_0x170458(0x20d)](_0x25dd8e),_0x247699=_0x25dd8e[_0x170458(0x287)]||_0x14fd70[_0x170458(0x28d)],_0x445053=HOOK_TYPES_MAP[_0x247699]||_0x247699[_0x170458(0x261)](),_0x566221=_0x25dd8e[_0x170458(0x206)]&&_0x25dd8e[_0x170458(0x206)][_0x170458(0x248)]?_0x25dd8e[_0x170458(0x206)][_0x170458(0x248)]:'';let _0x140643=_0x14fd70[_0x170458(0x22d)],_0x4a10a7=null,_0x4639bc=null,_0x2dc48f=null,_0x332dda=null;_0x14fd70[_0x170458(0x242)](_0x177511,_0x14fd70[_0x170458(0x280)])&&(_0x332dda=new Date()[_0x170458(0x28b)](),_0x25dd8e[_0x170458(0x1e3)]&&_0x14fd70['iUzhw'](_0x25dd8e[_0x170458(0x1e3)][_0x170458(0x229)],0x0)?(_0x140643=_0x14fd70[_0x170458(0x268)],_0x4639bc=util['inspect'](_0x25dd8e[_0x170458(0x1e3)][0x0]),_0x4a10a7=_0x14fd70[_0x170458(0x20e)](getFailureType,_0x4639bc),_0x2dc48f=failureData[_0x170458(0x239)](null,[_0x25dd8e[_0x170458(0x1e3)],_0x14fd70[_0x170458(0x246)]])):_0x140643=_0x14fd70['cEBnx']);const _0x2fa4a3={'uuid':_0x3ea1e5,'type':_0x14fd70[_0x170458(0x1f2)],'hook_type':_0x445053,'name':_0x4c87ba,'body':{'lang':_0x14fd70['tzPYK'],'code':_0x25dd8e['fn']?_0x25dd8e['fn']['toString']():null},'tags':[],'test_run_id':_0x3c56ef,'scope':_0x566221,'scopes':[_0x566221],'file_name':_0x198034,'location':_0x198034,'vc_filepath':this[_0x170458(0x20a)]&&_0x198034?path['relative'](this[_0x170458(0x20a)],_0x198034):null,'result':_0x140643,'started_at':_0x25dd8e[_0x170458(0x1f7)]||new Date()['toISOString'](),'finished_at':_0x332dda,'failure_type':_0x4a10a7,'failure_reason':_0x4639bc,'failure_data':_0x2dc48f,'framework':_0x14fd70['OrZMq']};return _0x14fd70[_0x170458(0x25e)](_0x177511,_0x14fd70[_0x170458(0x265)])&&(hooksMap[_0x3c56ef]?hooksMap[_0x3c56ef]['push'](_0x2fa4a3):hooksMap[_0x3c56ef]=[_0x2fa4a3]),_0x2fa4a3;}catch(_0xcd5396){return logger[_0x170458(0x218)](_0x170458(0x24f)+util['format'](_0xcd5396)),null;}}[a91_0x36291f(0x21c)](_0x3fd33c,_0x4821fe,_0x2056d3){const _0x4a671=a91_0x36291f,_0x4394cc={'KDYNh':function(_0x7cc6ee,_0x32dec5){return _0x7cc6ee>_0x32dec5;},'CUWnU':'failed','DFyhZ':function(_0x14a220,_0x436454){return _0x14a220(_0x436454);},'kaGiZ':'test','XpUyz':'passed'};try{const _0x30e24a=hooksMap[_0x3fd33c];if(!_0x30e24a)return null;const _0x150b81=_0x30e24a[_0x4a671(0x247)](_0x4a5f6e=>_0x4a5f6e[_0x4a671(0x290)]===_0x4821fe);if(!_0x150b81)return null;return _0x150b81[_0x4a671(0x232)]=new Date()[_0x4a671(0x28b)](),_0x2056d3[_0x4a671(0x1e3)]&&_0x4394cc[_0x4a671(0x1db)](_0x2056d3[_0x4a671(0x1e3)][_0x4a671(0x229)],0x0)?(_0x150b81[_0x4a671(0x1e5)]=_0x4394cc[_0x4a671(0x24d)],_0x150b81[_0x4a671(0x204)]=util['inspect'](_0x2056d3[_0x4a671(0x1e3)][0x0]),_0x150b81[_0x4a671(0x244)]=_0x4394cc[_0x4a671(0x202)](getFailureType,_0x150b81[_0x4a671(0x204)]),_0x150b81[_0x4a671(0x20c)]=failureData['apply'](null,[_0x2056d3[_0x4a671(0x1e3)],_0x4394cc[_0x4a671(0x211)]])):_0x150b81[_0x4a671(0x1e5)]=_0x4394cc[_0x4a671(0x1ff)],_0x150b81;}catch(_0x176cd9){return logger['debug'](_0x4a671(0x256)+util[_0x4a671(0x207)](_0x176cd9)),null;}}[a91_0x36291f(0x20d)](_0x265f51){const _0x2a0cc6=a91_0x36291f,_0x24e4ea={};_0x24e4ea[_0x2a0cc6(0x1d9)]=function(_0x3802a7,_0x1a51a7){return _0x3802a7!==_0x1a51a7;},_0x24e4ea[_0x2a0cc6(0x26b)]=_0x2a0cc6(0x1ef),_0x24e4ea[_0x2a0cc6(0x22b)]=_0x2a0cc6(0x23d);const _0x5d0b61=_0x24e4ea;if(_0x5d0b61['nKJeN'](_0x265f51[_0x2a0cc6(0x287)],_0x5d0b61[_0x2a0cc6(0x26b)]))return'\x22'+_0x265f51[_0x2a0cc6(0x287)]+'\x22\x20hook\x20for\x20\x22'+(_0x265f51['parent']&&_0x265f51[_0x2a0cc6(0x206)][_0x2a0cc6(0x248)])+'\x22';return _0x265f51[_0x2a0cc6(0x248)]||_0x5d0b61[_0x2a0cc6(0x22b)];}[a91_0x36291f(0x236)](_0x3db958){const _0x58b540=a91_0x36291f,_0x1457d0={};_0x1457d0[_0x58b540(0x238)]=function(_0x39e166,_0x4f18c3){return _0x39e166!==_0x4f18c3;},_0x1457d0[_0x58b540(0x255)]=function(_0xc4fca8,_0x32e2c5){return _0xc4fca8!==_0x32e2c5;},_0x1457d0[_0x58b540(0x234)]=_0x58b540(0x286);const _0x1ed267=_0x1457d0,_0x5016a1=[];if(_0x3db958&&_0x3db958['parent']){let _0x392903=_0x3db958[_0x58b540(0x206)];while(_0x392903&&_0x392903[_0x58b540(0x248)]&&_0x1ed267['gQvnj'](_0x392903[_0x58b540(0x248)],'')&&_0x1ed267['JyOLj'](_0x392903[_0x58b540(0x248)],_0x1ed267[_0x58b540(0x234)])){_0x5016a1['push'](_0x392903['name']),_0x392903=_0x392903['parent'];}}return _0x5016a1['reverse'](),_0x5016a1;}[a91_0x36291f(0x281)](_0x437566){const _0x469dc6=a91_0x36291f;if(_0x437566['asyncError'])try{const _0x44fbbf=stackTrace[_0x469dc6(0x237)][_0x469dc6(0x1e2)](stackTrace,_0x437566[_0x469dc6(0x1f9)]);if(_0x44fbbf[0x0]&&_0x44fbbf[0x0]['getFileName'])return _0x44fbbf[0x0][_0x469dc6(0x26d)]();}catch(_0x12cd7e){logger[_0x469dc6(0x218)](_0x469dc6(0x210)+util[_0x469dc6(0x207)](_0x12cd7e));}if(_0x437566[_0x469dc6(0x1ee)])return _0x437566[_0x469dc6(0x1ee)];return null;}[a91_0x36291f(0x1d5)](_0x467a1e){const _0x1beb15=a91_0x36291f,_0xba134f={};_0xba134f[_0x1beb15(0x25b)]=_0x1beb15(0x26c);const _0x27e331=_0xba134f;try{const _0x3bffdb=this[_0x1beb15(0x281)](_0x467a1e);if(_0x3bffdb&&_0x3bffdb[_0x1beb15(0x28f)](_0x27e331[_0x1beb15(0x25b)]))return!![];}catch(_0xd97755){logger[_0x1beb15(0x218)](_0x1beb15(0x254)+util[_0x1beb15(0x207)](_0xd97755));}return![];}[a91_0x36291f(0x1d6)](_0x104728=null){const _0x9c4806=a91_0x36291f;try{const _0x1c01d0=_0x104728||global[_0x9c4806(0x1fd)]||{};if(global[_0x9c4806(0x222)])return global[_0x9c4806(0x222)];if(_0x1c01d0?.[_0x9c4806(0x21e)]?.[_0x9c4806(0x273)])return _0x1c01d0[_0x9c4806(0x21e)][_0x9c4806(0x273)];if(_0x1c01d0?.['currentTest']?.['id'])return _0x1c01d0['currentTest']['id'];return null;}catch(_0x3abd09){return logger[_0x9c4806(0x218)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x9c4806(0x207)](_0x3abd09)),null;}}async['configureGit'](){const _0x48c449=a91_0x36291f,_0x309dad={'jtyfA':function(_0x7f25a6){return _0x7f25a6();}};if(this[_0x48c449(0x28c)])return this[_0x48c449(0x20a)];const _0x1d7e55=await _0x309dad[_0x48c449(0x226)](getGitMetaData);_0x1d7e55&&(this[_0x48c449(0x20a)]=_0x1d7e55[_0x48c449(0x241)]),this[_0x48c449(0x28c)]=!![];}[a91_0x36291f(0x253)](_0x2ec581){hooksMap[_0x2ec581]&&delete hooksMap[_0x2ec581];}['extractTestFilePath'](_0x373d2e){const _0x525ed1=a91_0x36291f,_0x2e934b={'sjaTm':_0x525ed1(0x26c),'Bsmca':function(_0x16c3e3,_0x13a3e5){return _0x16c3e3(_0x13a3e5);},'YDqoW':'expect'};if(_0x373d2e[_0x525ed1(0x1ee)])return _0x373d2e['file'];if(_0x373d2e['asyncError']){try{const _0x26bd0f=stackTrace[_0x525ed1(0x237)](_0x373d2e[_0x525ed1(0x1f9)]);if(_0x26bd0f[0x0]&&_0x26bd0f[0x0][_0x525ed1(0x26d)]){const _0x1ca661=_0x26bd0f[0x0][_0x525ed1(0x26d)]();if(_0x1ca661&&!_0x1ca661[_0x525ed1(0x28f)](_0x2e934b[_0x525ed1(0x1da)]))return _0x1ca661;}}catch(_0x253047){logger[_0x525ed1(0x218)](_0x525ed1(0x1f8)+util[_0x525ed1(0x207)](_0x253047));}if(_0x373d2e['asyncError'][_0x525ed1(0x267)]){const _0x4cdaae=_0x373d2e['asyncError']['stack'][_0x525ed1(0x245)]('\x0a');for(const _0x2be8c3 of _0x4cdaae){const _0x3f9cbb=_0x2be8c3[_0x525ed1(0x26a)](/at (.+?):\d+:\d+/);if(_0x3f9cbb&&_0x3f9cbb[0x1]&&!_0x3f9cbb[0x1]['includes'](_0x2e934b[_0x525ed1(0x1da)]))return _0x3f9cbb[0x1];}}}let _0x53083d=_0x373d2e[_0x525ed1(0x206)];while(_0x53083d){if(_0x53083d['file'])return _0x53083d[_0x525ed1(0x1ee)];if(_0x53083d[_0x525ed1(0x1f9)])try{const _0x4f2400=stackTrace[_0x525ed1(0x237)](_0x53083d['asyncError']);if(_0x4f2400[0x0]&&_0x4f2400[0x0][_0x525ed1(0x26d)]){const _0x47e196=_0x4f2400[0x0][_0x525ed1(0x26d)]();if(_0x47e196&&!_0x47e196['includes'](_0x2e934b[_0x525ed1(0x1da)]))return _0x47e196;}}catch(_0x33c83a){}_0x53083d=_0x53083d[_0x525ed1(0x206)];}try{const _0x1d18b8=_0x2e934b[_0x525ed1(0x1ed)](require,_0x2e934b[_0x525ed1(0x24b)]);if(_0x1d18b8&&_0x1d18b8[_0x525ed1(0x1e4)]){const _0x51acd2=_0x1d18b8['getState']();if(_0x51acd2&&_0x51acd2[_0x525ed1(0x1f3)])return _0x51acd2['testPath'];}}catch(_0x16a6e7){logger['debug'](_0x525ed1(0x21a)+util[_0x525ed1(0x207)](_0x16a6e7));}return null;}[a91_0x36291f(0x233)](_0x50c511){const _0x10fc43=a91_0x36291f,_0xfb7a19={};_0xfb7a19[_0x10fc43(0x221)]=_0x10fc43(0x216),_0xfb7a19[_0x10fc43(0x23e)]=function(_0x4261a2,_0x150b01){return _0x4261a2!==_0x150b01;},_0xfb7a19['TSPtf']=_0x10fc43(0x286),_0xfb7a19['bYvtl']=_0x10fc43(0x26c),_0xfb7a19['rSTHv']=_0x10fc43(0x20b),_0xfb7a19[_0x10fc43(0x285)]=_0x10fc43(0x240);const _0x4e9dcd=_0xfb7a19;try{if(!_0x50c511)return logger[_0x10fc43(0x272)](_0x4e9dcd[_0x10fc43(0x221)]),null;const _0x4f52cc=_0x50c511['fullName']||_0x50c511[_0x10fc43(0x248)]||_0x50c511[_0x10fc43(0x1e6)]||_0x50c511[_0x10fc43(0x260)];let _0x277372=_0x4f52cc;if(_0x50c511[_0x10fc43(0x206)]&&_0x50c511[_0x10fc43(0x206)][_0x10fc43(0x248)]&&_0x4e9dcd[_0x10fc43(0x23e)](_0x50c511[_0x10fc43(0x206)][_0x10fc43(0x248)],_0x4e9dcd['TSPtf'])){const _0x100b41=_0x50c511[_0x10fc43(0x248)]||_0x50c511['title'];_0x100b41&&(_0x277372=_0x50c511[_0x10fc43(0x206)][_0x10fc43(0x248)]+'\x20'+_0x100b41);}let _0x3708f6=_0x50c511[_0x10fc43(0x1f3)];if(!_0x3708f6&&_0x50c511[_0x10fc43(0x1f9)]){try{const _0x356b78=stackTrace[_0x10fc43(0x237)](_0x50c511[_0x10fc43(0x1f9)]);if(_0x356b78[0x0]&&_0x356b78[0x0]['getFileName']){const _0x2fd011=_0x356b78[0x0]['getFileName']();_0x2fd011&&!_0x2fd011[_0x10fc43(0x28f)](_0x4e9dcd[_0x10fc43(0x22c)])&&(_0x3708f6=_0x2fd011);}}catch(_0x3a816d){logger[_0x10fc43(0x218)](_0x10fc43(0x1f8)+util[_0x10fc43(0x207)](_0x3a816d));}if(!_0x3708f6&&_0x50c511[_0x10fc43(0x1f9)][_0x10fc43(0x267)]){const _0x329293=_0x50c511[_0x10fc43(0x1f9)]['stack'][_0x10fc43(0x245)]('\x0a');for(const _0x5237fc of _0x329293){const _0x51cc62=_0x5237fc[_0x10fc43(0x26a)](/at (.+?):\d+:\d+/);if(_0x51cc62&&_0x51cc62[0x1]&&!_0x51cc62[0x1][_0x10fc43(0x28f)](_0x4e9dcd[_0x10fc43(0x22c)])){_0x3708f6=_0x51cc62[0x1];break;}}}}const _0x177436=_0x3708f6+'::'+_0x277372,_0x469f3a=crypto[_0x10fc43(0x28e)](_0x4e9dcd[_0x10fc43(0x231)])[_0x10fc43(0x243)](_0x177436)[_0x10fc43(0x1dd)](_0x4e9dcd['tGaks'])[_0x10fc43(0x1e9)](0x0,0x8),_0x5d77c3=process['pid']+_0x10fc43(0x1e7)+_0x469f3a;return logger[_0x10fc43(0x218)](_0x10fc43(0x1fb)+_0x5d77c3+_0x10fc43(0x203)+_0x177436),_0x5d77c3;}catch(_0x3e5f63){return logger['error']('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x10fc43(0x207)](_0x3e5f63)),null;}}['createIdentifierFromJestTest'](_0x19434e){const _0x16c607=a91_0x36291f,_0x421927={};_0x421927[_0x16c607(0x27e)]=_0x16c607(0x277);const _0x37204f=_0x421927;if(!_0x19434e)return logger[_0x16c607(0x218)](_0x37204f[_0x16c607(0x27e)]),null;const _0x140072=this[_0x16c607(0x209)](_0x19434e),_0x342ee0={};_0x342ee0[_0x16c607(0x248)]=_0x19434e[_0x16c607(0x248)]||_0x19434e[_0x16c607(0x1e6)],_0x342ee0[_0x16c607(0x206)]=_0x19434e[_0x16c607(0x206)],_0x342ee0[_0x16c607(0x1f3)]=_0x140072,_0x342ee0[_0x16c607(0x1f9)]=_0x19434e['asyncError'];const _0x4e8a1a=_0x342ee0;return this[_0x16c607(0x233)](_0x4e8a1a);}['recreateIdentifierFromTestInfo'](_0x4b4de1){const _0x59caf5=a91_0x36291f,_0x262a8a={};_0x262a8a[_0x59caf5(0x214)]=_0x59caf5(0x1d8);const _0x765c80=_0x262a8a;if(!_0x4b4de1)return logger['debug'](_0x765c80[_0x59caf5(0x214)]),null;if(_0x4b4de1['testIdentifier'])return logger[_0x59caf5(0x218)](_0x59caf5(0x24c)+_0x4b4de1['testIdentifier']),_0x4b4de1['testIdentifier'];return this['createJestTestIdentifier'](_0x4b4de1);}}module[a91_0x36291f(0x26f)]=o11yClassErrorHandler(JestUtils,[a91_0x36291f(0x23b),'getHierarchy',a91_0x36291f(0x281),a91_0x36291f(0x20d),a91_0x36291f(0x1d5),a91_0x36291f(0x1d6),a91_0x36291f(0x20f),a91_0x36291f(0x219),a91_0x36291f(0x21c),a91_0x36291f(0x253),a91_0x36291f(0x209),a91_0x36291f(0x233),a91_0x36291f(0x270),a91_0x36291f(0x27c)]);
1
+ const a91_0x4e3cad=a91_0x113d;function a91_0x939b(){const _0x8ba43e=['createIdentifierFromJestTest',',\x20hookUUID:\x20','getTime','stack-trace','MDejB','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','DDZCv','exports','getFileName','fuNKc','1492508ouPgAv','createTestFrameworkData','stack','7390512nWFTqX','uuid','cGRPJ',':jest-','getState','pid','HZtWT','980188iChnTg','24PFyaTQ','../../../helpers/helper.js','fullName','debug','beforeEach','GHnOF','8418400QIUHxN','fpTUK','update','javascript','inspect','LKlLx','TuxOW','uAPLb','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','testIdentifier','now','hooks','ROOT_DESCRIBE_BLOCK','lXSCz','browserstack-node-agent/src/bin/jest','42TyewIZ','BkBBa','cBneh','LZYry','extractTestFilePath','__workerDetails','TestRunSkipped','NPKUk','NOYnX','AFTER_ALL','createHash','length','qpNNW','name','MznbF','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','__jestCurrentTestIdentifier','XTxso','Gbvzs','format','_gitConfigured','toISOString','BEFORE_EACH','OrqLW','getTestIdentifier','uEArM','[jestUtils]\x20Created\x20identifier:\x20','dXzWQ','toString','ZGvDV','failure_reason_expanded','type','qbtRq','util','displayName','[jestUtils]\x20Error\x20creating\x20identifier:\x20','Unknown\x20Test','hrmBa','failure_reason','testAnalyticsId','parent','title','root','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','createHookData','yTaMk','getHookRunEventData','afterAll','err','isJestInternalHook','failed','relative','errorsDetailed','TestRunFinished','45925xCYvHa','myvqE','file','passed','getHierarchy','Fzuqv','Exception\x20in\x20createTestFrameworkData:\x20','NQMFj','Exception\x20in\x20createHookData:\x20','sRoeE','251237bVUnbA','push','HMaQh','finishedAt','HookRunStarted','hqxIt','RdFGw','md5','XYyTm','started_at','Ymyxy','TVkPg','20072wOZiJV','getRootParentFile','../../../helpers/test-observability/utils',',\x20testRunId:\x20','match','\x20from\x20compositeKey:\x20','jest-circus','testPath','Ofwrx','hook','JVqkP','300GkXIyk','HIvsz','Grnsj','finished_at','QwYYq','parse','failure_type','duration','QKnrE','find','YUgMQ','recreateIdentifierFromTestInfo','apply','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','configureGit','expect','path','createJestTestIdentifier','Exception\x20in\x20getHookRunEventData:\x20','SMtwE','jest','pending','crypto','\x22\x20hook\x20for\x20\x22','toUpperCase','getName','error',',\x20testIdentifier:\x20','result','test','failure','asyncError','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','retryOf','afterEach','oaoOE','xptPn','expanded','AwcKa','failure_backtrace','_gitConfigPath','split','reverse','cndMR','[jestUtils]\x20No\x20test\x20object\x20provided','unknown','jcKlT','6PVwbDD','currentTest','includes','../../../helpers/logger.js','clearHooksMap','digest','12tSxRyp'];a91_0x939b=function(){return _0x8ba43e;};return a91_0x939b();}(function(_0x18067f,_0x29ca0b){const _0x2598c0=a91_0x113d,_0x566019=_0x18067f();while(!![]){try{const _0x344b0b=parseInt(_0x2598c0(0x17a))/0x1*(-parseInt(_0x2598c0(0x1e5))/0x2)+-parseInt(_0x2598c0(0x1b4))/0x3*(-parseInt(_0x2598c0(0x1c5))/0x4)+-parseInt(_0x2598c0(0x21b))/0x5*(-parseInt(_0x2598c0(0x185))/0x6)+parseInt(_0x2598c0(0x16e))/0x7*(-parseInt(_0x2598c0(0x1d0))/0x8)+parseInt(_0x2598c0(0x1c8))/0x9+-parseInt(_0x2598c0(0x1d6))/0xa+parseInt(_0x2598c0(0x1cf))/0xb*(parseInt(_0x2598c0(0x1ba))/0xc);if(_0x344b0b===_0x29ca0b)break;else _0x566019['push'](_0x566019['shift']());}catch(_0x59979e){_0x566019['push'](_0x566019['shift']());}}}(a91_0x939b,0xb5d33));const path=require(a91_0x4e3cad(0x195)),util=require(a91_0x4e3cad(0x206)),crypto=require(a91_0x4e3cad(0x19b)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x4e3cad(0x1d1)),logger=require(a91_0x4e3cad(0x1b7))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),{failureData,getFailureType}=require(a91_0x4e3cad(0x17c)),stackTrace=require(a91_0x4e3cad(0x1be)),a91_0x7beebf={};a91_0x7beebf['beforeAll']='BEFORE_ALL',a91_0x7beebf[a91_0x4e3cad(0x214)]=a91_0x4e3cad(0x1ee),a91_0x7beebf[a91_0x4e3cad(0x1d4)]=a91_0x4e3cad(0x1fb),a91_0x7beebf[a91_0x4e3cad(0x1a7)]='AFTER_EACH';const HOOK_TYPES_MAP=a91_0x7beebf,hooksMap={};class JestUtils{constructor(){const _0x3a56fc=a91_0x4e3cad;this['_gitConfigured']=![],this[_0x3a56fc(0x1ad)]=null;}async[a91_0x4e3cad(0x1c6)](_0x383a45,_0x199083,_0x45a723=a91_0x4e3cad(0x21a),_0x27c591=undefined){const _0x454c7e=a91_0x4e3cad,_0x50899b={'hqxIt':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','hrmBa':_0x454c7e(0x180),'TVkPg':function(_0x56d8d3,_0x1092df){return _0x56d8d3||_0x1092df;},'LZYry':'File\x20path\x20could\x20not\x20be\x20found','qpNNW':function(_0x4a3dba,_0x55c13c){return _0x4a3dba!==_0x55c13c;},'BkBBa':_0x454c7e(0x1a2),'Fzuqv':_0x454c7e(0x215),'NOYnX':'pending','cndMR':function(_0x163d08,_0x32657e){return _0x163d08===_0x32657e;},'uAPLb':_0x454c7e(0x1eb),'XYyTm':'skipped','lXSCz':function(_0x11faa2,_0x5aa6eb){return _0x11faa2>_0x5aa6eb;},'jcKlT':_0x454c7e(0x217),'SMtwE':_0x454c7e(0x167),'qbtRq':function(_0xbc430c,_0x1a8857){return _0xbc430c-_0x1a8857;},'xptPn':_0x454c7e(0x1d9),'myvqE':_0x454c7e(0x199),'YUgMQ':function(_0x482490,_0xe5d724){return _0x482490(_0xe5d724);},'sRoeE':_0x454c7e(0x21a)};logger[_0x454c7e(0x1d3)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x45a723+_0x454c7e(0x1a0)+_0x199083);try{if(!_0x383a45)return logger['debug'](_0x50899b[_0x454c7e(0x173)]),null;if(_0x383a45['fn']&&_0x383a45['fn'][_0x454c7e(0x201)]()[_0x454c7e(0x17e)](/browserstack internal helper hook/))return null;await this[_0x454c7e(0x193)]();let _0x34e66a;try{_0x34e66a=this['getRootParentFile'](_0x383a45);if(_0x34e66a&&_0x34e66a[_0x454c7e(0x1b6)](_0x50899b[_0x454c7e(0x20a)]))return null;}catch(_0x1ec8a4){logger[_0x454c7e(0x1d3)](_0x454c7e(0x210)+util['format'](_0x1ec8a4)),_0x34e66a=null;}const _0x5a201a=this[_0x454c7e(0x168)](_0x383a45),_0x45b7ea=this[_0x454c7e(0x19e)](_0x383a45),_0x8c0a20=_0x50899b[_0x454c7e(0x179)](_0x34e66a,_0x50899b[_0x454c7e(0x1e8)]);let _0x342d48=[];if(_0x50899b[_0x454c7e(0x1f1)](_0x383a45[_0x454c7e(0x219)],undefined))_0x342d48=[_0x383a45[_0x454c7e(0x219)],_0x50899b[_0x454c7e(0x1e6)]];else _0x50899b[_0x454c7e(0x1f1)](_0x27c591,undefined)&&(_0x342d48=[_0x27c591,_0x50899b[_0x454c7e(0x169)]]);const _0x317e8b=_0x50899b[_0x454c7e(0x1f1)](_0x383a45[_0x454c7e(0x219)],undefined)?util[_0x454c7e(0x1da)](_0x383a45[_0x454c7e(0x219)][0x0]):_0x50899b[_0x454c7e(0x1f1)](_0x27c591,undefined)?_0x27c591[_0x454c7e(0x201)]():undefined;let _0x1f6e81=_0x50899b[_0x454c7e(0x1ed)];if(_0x50899b[_0x454c7e(0x1b0)](_0x45a723,_0x50899b[_0x454c7e(0x1dd)]))_0x1f6e81=_0x50899b[_0x454c7e(0x176)];else _0x383a45[_0x454c7e(0x219)]&&_0x50899b[_0x454c7e(0x1e3)](_0x383a45[_0x454c7e(0x219)][_0x454c7e(0x1f0)],0x0)?_0x1f6e81=_0x50899b[_0x454c7e(0x1b3)]:_0x1f6e81=_0x50899b[_0x454c7e(0x198)];let _0x14b6d8=null;if(_0x50899b[_0x454c7e(0x1f1)](_0x383a45[_0x454c7e(0x18c)],undefined))_0x14b6d8=_0x383a45[_0x454c7e(0x18c)];else(_0x45a723['match'](/Finished/)||_0x45a723[_0x454c7e(0x17e)](/Skipped/))&&(_0x383a45[_0x454c7e(0x177)]&&(_0x14b6d8=_0x50899b[_0x454c7e(0x205)](Date[_0x454c7e(0x1e0)](),new Date(_0x383a45['started_at'])[_0x454c7e(0x1bd)]())));const _0x52ece9=_0x383a45['fn']?_0x383a45['fn'][_0x454c7e(0x201)]():null,_0x815339={'id':_0x199083,'uuid':_0x199083,'startedAt':_0x383a45['started_at']||new Date()[_0x454c7e(0x1fa)](),'finishedAt':_0x45a723[_0x454c7e(0x17e)](/Finished/)||_0x45a723[_0x454c7e(0x17e)](/Skipped/)?new Date()[_0x454c7e(0x1fa)]():null,'type':_0x50899b[_0x454c7e(0x1e6)],'body':{'lang':_0x50899b[_0x454c7e(0x1a9)],'code':_0x52ece9},'name':_0x45b7ea,'scopes':_0x5a201a,'file_name':_0x8c0a20,'location':_0x8c0a20,'vc_filepath':this[_0x454c7e(0x1ad)]&&_0x34e66a?path[_0x454c7e(0x218)](this[_0x454c7e(0x1ad)],_0x34e66a):null,'framework':_0x50899b[_0x454c7e(0x21c)],'result':_0x1f6e81,'failure_reason':_0x317e8b,'duration_in_ms':_0x14b6d8,'failure':failureData['apply'](null,_0x342d48),'failure_type':!_0x317e8b?null:_0x50899b[_0x454c7e(0x18f)](getFailureType,_0x317e8b),'retry_of':_0x383a45[_0x454c7e(0x1a6)]||null,'customRerunParam':{'rerun_name':_0x45b7ea}};_0x50899b['cndMR'](_0x45a723,_0x50899b[_0x454c7e(0x1dd)])&&!_0x815339['startedAt']&&(_0x815339['startedAt']=_0x815339[_0x454c7e(0x171)]);const _0x41899e=_0x815339[_0x454c7e(0x1a3)]&&_0x815339[_0x454c7e(0x1a3)][0x0];return _0x41899e&&(_0x815339[_0x454c7e(0x1ac)]=_0x41899e['backtrace'],_0x815339[_0x454c7e(0x203)]=_0x41899e[_0x454c7e(0x1aa)]),(_0x50899b[_0x454c7e(0x1b0)](_0x45a723,_0x50899b[_0x454c7e(0x16d)])||_0x50899b['cndMR'](_0x45a723,_0x50899b[_0x454c7e(0x1dd)]))&&(_0x383a45[_0x454c7e(0x1e1)]&&(_0x815339[_0x454c7e(0x1e1)]=_0x383a45[_0x454c7e(0x1e1)])),_0x815339;}catch(_0xfacd42){return logger[_0x454c7e(0x1d3)](_0x454c7e(0x16a)+util[_0x454c7e(0x1f8)](_0xfacd42)),null;}}async[a91_0x4e3cad(0x211)](_0x313abf,_0x4b766e,_0x28410b,_0x128406){const _0x3c6a0a=a91_0x4e3cad,_0x3a94bd={'NQMFj':_0x3c6a0a(0x1a5),'yTaMk':_0x3c6a0a(0x180),'sZGmM':_0x3c6a0a(0x1e4),'zjFZK':_0x3c6a0a(0x1b2),'cBneh':_0x3c6a0a(0x19a),'MznbF':function(_0x5cc572,_0x545d75){return _0x5cc572===_0x545d75;},'cGRPJ':'HookRunFinished','JVqkP':function(_0x2ea070,_0x218f34){return _0x2ea070>_0x218f34;},'TuxOW':_0x3c6a0a(0x217),'fuNKc':function(_0x475b20,_0x49004e){return _0x475b20(_0x49004e);},'jmTPZ':_0x3c6a0a(0x1a2),'XTxso':_0x3c6a0a(0x167),'Ofwrx':_0x3c6a0a(0x183),'uEArM':_0x3c6a0a(0x1d9),'Grnsj':'jest','eIYGV':_0x3c6a0a(0x172)};logger[_0x3c6a0a(0x1d3)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x28410b+_0x3c6a0a(0x1bc)+_0x4b766e+_0x3c6a0a(0x17d)+_0x128406);try{if(!_0x313abf)return logger[_0x3c6a0a(0x1d3)](_0x3a94bd[_0x3c6a0a(0x16b)]),null;if(this[_0x3c6a0a(0x216)](_0x313abf))return null;await this[_0x3c6a0a(0x193)]();let _0x417a9b=null;try{_0x417a9b=this[_0x3c6a0a(0x17b)](_0x313abf);if(_0x417a9b&&_0x417a9b[_0x3c6a0a(0x1b6)](_0x3a94bd[_0x3c6a0a(0x212)]))return null;if(_0x417a9b&&_0x417a9b[_0x3c6a0a(0x1b6)](_0x3a94bd['sZGmM']))return null;}catch(_0x852280){logger[_0x3c6a0a(0x1d3)](_0x3c6a0a(0x1f4)+util[_0x3c6a0a(0x1f8)](_0x852280));}const _0x241451=this[_0x3c6a0a(0x19e)](_0x313abf),_0x22fac8=_0x313abf[_0x3c6a0a(0x204)]||_0x3a94bd['zjFZK'],_0x17b9ab=HOOK_TYPES_MAP[_0x22fac8]||_0x22fac8[_0x3c6a0a(0x19d)](),_0x2837bb=_0x313abf['parent']&&_0x313abf[_0x3c6a0a(0x20d)][_0x3c6a0a(0x1f2)]?_0x313abf[_0x3c6a0a(0x20d)][_0x3c6a0a(0x1f2)]:'';let _0x1b6298=_0x3a94bd[_0x3c6a0a(0x1e7)],_0x495480=null,_0x373a6d=null,_0x38b3f8=null,_0x42e015=null;_0x3a94bd[_0x3c6a0a(0x1f3)](_0x28410b,_0x3a94bd[_0x3c6a0a(0x1ca)])&&(_0x42e015=new Date()['toISOString'](),_0x313abf[_0x3c6a0a(0x219)]&&_0x3a94bd[_0x3c6a0a(0x184)](_0x313abf['errorsDetailed'][_0x3c6a0a(0x1f0)],0x0)?(_0x1b6298=_0x3a94bd[_0x3c6a0a(0x1dc)],_0x373a6d=util['inspect'](_0x313abf[_0x3c6a0a(0x219)][0x0]),_0x495480=_0x3a94bd[_0x3c6a0a(0x1c4)](getFailureType,_0x373a6d),_0x38b3f8=failureData[_0x3c6a0a(0x191)](null,[_0x313abf[_0x3c6a0a(0x219)],_0x3a94bd['jmTPZ']])):_0x1b6298=_0x3a94bd[_0x3c6a0a(0x1f6)]);const _0x4cf037={'uuid':_0x4b766e,'type':_0x3a94bd[_0x3c6a0a(0x182)],'hook_type':_0x17b9ab,'name':_0x241451,'body':{'lang':_0x3a94bd[_0x3c6a0a(0x1fe)],'code':_0x313abf['fn']?_0x313abf['fn'][_0x3c6a0a(0x201)]():null},'tags':[],'test_run_id':_0x128406,'scope':_0x2837bb,'scopes':[_0x2837bb],'file_name':_0x417a9b,'location':_0x417a9b,'vc_filepath':this[_0x3c6a0a(0x1ad)]&&_0x417a9b?path[_0x3c6a0a(0x218)](this[_0x3c6a0a(0x1ad)],_0x417a9b):null,'result':_0x1b6298,'started_at':_0x313abf['started_at']||new Date()[_0x3c6a0a(0x1fa)](),'finished_at':_0x42e015,'failure_type':_0x495480,'failure_reason':_0x373a6d,'failure_data':_0x38b3f8,'framework':_0x3a94bd[_0x3c6a0a(0x187)]};return _0x3a94bd['MznbF'](_0x28410b,_0x3a94bd['eIYGV'])&&(hooksMap[_0x128406]?hooksMap[_0x128406][_0x3c6a0a(0x16f)](_0x4cf037):hooksMap[_0x128406]=[_0x4cf037]),_0x4cf037;}catch(_0x5bb12e){return logger[_0x3c6a0a(0x1d3)](_0x3c6a0a(0x16c)+util[_0x3c6a0a(0x1f8)](_0x5bb12e)),null;}}[a91_0x4e3cad(0x213)](_0x373cd1,_0x3a8e63,_0xbba752){const _0x239ddb=a91_0x4e3cad,_0x298752={'QwYYq':function(_0x5a293c,_0x14f059){return _0x5a293c>_0x14f059;},'FCRxc':_0x239ddb(0x217),'rQVhv':function(_0x2fcffd,_0x455549){return _0x2fcffd(_0x455549);},'oaoOE':'test','NPKUk':_0x239ddb(0x167)};try{const _0x298a5f=hooksMap[_0x373cd1];if(!_0x298a5f)return null;const _0x379d07=_0x298a5f[_0x239ddb(0x18e)](_0xbb1415=>_0xbb1415[_0x239ddb(0x1c9)]===_0x3a8e63);if(!_0x379d07)return null;return _0x379d07[_0x239ddb(0x188)]=new Date()[_0x239ddb(0x1fa)](),_0xbba752[_0x239ddb(0x219)]&&_0x298752[_0x239ddb(0x189)](_0xbba752['errorsDetailed'][_0x239ddb(0x1f0)],0x0)?(_0x379d07[_0x239ddb(0x1a1)]=_0x298752['FCRxc'],_0x379d07['failure_reason']=util['inspect'](_0xbba752['errorsDetailed'][0x0]),_0x379d07[_0x239ddb(0x18b)]=_0x298752['rQVhv'](getFailureType,_0x379d07[_0x239ddb(0x20b)]),_0x379d07['failure_data']=failureData[_0x239ddb(0x191)](null,[_0xbba752[_0x239ddb(0x219)],_0x298752[_0x239ddb(0x1a8)]])):_0x379d07[_0x239ddb(0x1a1)]=_0x298752[_0x239ddb(0x1ec)],_0x379d07;}catch(_0x22f28e){return logger['debug'](_0x239ddb(0x197)+util[_0x239ddb(0x1f8)](_0x22f28e)),null;}}[a91_0x4e3cad(0x19e)](_0xcf0408){const _0x1dc76d=a91_0x4e3cad,_0x4cf7fa={};_0x4cf7fa[_0x1dc76d(0x1d7)]=function(_0x46afaf,_0x4bd80e){return _0x46afaf!==_0x4bd80e;},_0x4cf7fa['GyNUv']='test',_0x4cf7fa[_0x1dc76d(0x178)]=_0x1dc76d(0x209);const _0x408fab=_0x4cf7fa;if(_0x408fab[_0x1dc76d(0x1d7)](_0xcf0408['type'],_0x408fab['GyNUv']))return'\x22'+_0xcf0408[_0x1dc76d(0x204)]+_0x1dc76d(0x19c)+(_0xcf0408['parent']&&_0xcf0408[_0x1dc76d(0x20d)][_0x1dc76d(0x1f2)])+'\x22';return _0xcf0408[_0x1dc76d(0x1f2)]||_0x408fab[_0x1dc76d(0x178)];}['getHierarchy'](_0x565866){const _0x3287a5=a91_0x4e3cad,_0x5b8b48={};_0x5b8b48['HIvsz']=function(_0x3eac5f,_0x5df6a9){return _0x3eac5f!==_0x5df6a9;},_0x5b8b48[_0x3287a5(0x170)]=function(_0x3861ad,_0x9ffa21){return _0x3861ad!==_0x9ffa21;},_0x5b8b48[_0x3287a5(0x1d5)]=_0x3287a5(0x1e2);const _0xc319de=_0x5b8b48,_0x3b83c9=[];if(_0x565866&&_0x565866[_0x3287a5(0x20d)]){let _0x53436c=_0x565866[_0x3287a5(0x20d)];while(_0x53436c&&_0x53436c['name']&&_0xc319de[_0x3287a5(0x186)](_0x53436c['name'],'')&&_0xc319de[_0x3287a5(0x170)](_0x53436c[_0x3287a5(0x1f2)],_0xc319de[_0x3287a5(0x1d5)])){_0x3b83c9['push'](_0x53436c[_0x3287a5(0x1f2)]),_0x53436c=_0x53436c[_0x3287a5(0x20d)];}}return _0x3b83c9[_0x3287a5(0x1af)](),_0x3b83c9;}[a91_0x4e3cad(0x17b)](_0x291af8){const _0x3de7aa=a91_0x4e3cad;if(_0x291af8[_0x3de7aa(0x1a4)])try{const _0x59e0be=stackTrace[_0x3de7aa(0x18a)]['call'](stackTrace,_0x291af8[_0x3de7aa(0x1a4)]);if(_0x59e0be[0x0]&&_0x59e0be[0x0][_0x3de7aa(0x1c3)])return _0x59e0be[0x0][_0x3de7aa(0x1c3)]();}catch(_0x5e1806){logger['debug']('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x3de7aa(0x1f8)](_0x5e1806));}if(_0x291af8[_0x3de7aa(0x166)])return _0x291af8[_0x3de7aa(0x166)];return null;}[a91_0x4e3cad(0x216)](_0x37dd62){const _0x444fd5=a91_0x4e3cad,_0x15b409={};_0x15b409[_0x444fd5(0x1db)]=_0x444fd5(0x180);const _0x5636ab=_0x15b409;try{const _0x4fb051=this[_0x444fd5(0x17b)](_0x37dd62);if(_0x4fb051&&_0x4fb051[_0x444fd5(0x1b6)](_0x5636ab[_0x444fd5(0x1db)]))return!![];}catch(_0x4bdd2f){logger[_0x444fd5(0x1d3)]('Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20'+util[_0x444fd5(0x1f8)](_0x4bdd2f));}return![];}[a91_0x4e3cad(0x1fd)](_0x2de2dc=null){const _0x561951=a91_0x4e3cad;try{const _0x3a2a16=_0x2de2dc||global[_0x561951(0x1ea)]||{};if(global[_0x561951(0x1f5)])return global[_0x561951(0x1f5)];if(_0x3a2a16?.['currentTest']?.['testAnalyticsId'])return _0x3a2a16['currentTest'][_0x561951(0x20c)];if(_0x3a2a16?.['currentTest']?.['id'])return _0x3a2a16[_0x561951(0x1b5)]['id'];return null;}catch(_0x48245e){return logger[_0x561951(0x1d3)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util['format'](_0x48245e)),null;}}async[a91_0x4e3cad(0x193)](){const _0x4d590c=a91_0x4e3cad,_0x1d3101={'zxZPg':function(_0x3834cb){return _0x3834cb();}};if(this[_0x4d590c(0x1f9)])return this[_0x4d590c(0x1ad)];const _0x47863f=await _0x1d3101['zxZPg'](getGitMetaData);_0x47863f&&(this[_0x4d590c(0x1ad)]=_0x47863f[_0x4d590c(0x20f)]),this[_0x4d590c(0x1f9)]=!![];}[a91_0x4e3cad(0x1b8)](_0x34fabe){hooksMap[_0x34fabe]&&delete hooksMap[_0x34fabe];}['extractTestFilePath'](_0x4a6c7b){const _0x1ad479=a91_0x4e3cad,_0x37e070={'DDZCv':_0x1ad479(0x180),'XyrBb':function(_0x19a02e,_0x561817){return _0x19a02e(_0x561817);},'OrqLW':_0x1ad479(0x194)};if(_0x4a6c7b[_0x1ad479(0x166)])return _0x4a6c7b[_0x1ad479(0x166)];if(_0x4a6c7b[_0x1ad479(0x1a4)]){try{const _0x554d93=stackTrace[_0x1ad479(0x18a)](_0x4a6c7b['asyncError']);if(_0x554d93[0x0]&&_0x554d93[0x0][_0x1ad479(0x1c3)]){const _0x3ffae7=_0x554d93[0x0][_0x1ad479(0x1c3)]();if(_0x3ffae7&&!_0x3ffae7['includes'](_0x37e070[_0x1ad479(0x1c1)]))return _0x3ffae7;}}catch(_0x19cd03){logger['debug'](_0x1ad479(0x192)+util[_0x1ad479(0x1f8)](_0x19cd03));}if(_0x4a6c7b[_0x1ad479(0x1a4)][_0x1ad479(0x1c7)]){const _0x30fc3b=_0x4a6c7b['asyncError'][_0x1ad479(0x1c7)][_0x1ad479(0x1ae)]('\x0a');for(const _0x3c912d of _0x30fc3b){const _0x4b4f8d=_0x3c912d['match'](/at (.+?):\d+:\d+/);if(_0x4b4f8d&&_0x4b4f8d[0x1]&&!_0x4b4f8d[0x1]['includes'](_0x37e070['DDZCv']))return _0x4b4f8d[0x1];}}}let _0x4fb38d=_0x4a6c7b[_0x1ad479(0x20d)];while(_0x4fb38d){if(_0x4fb38d['file'])return _0x4fb38d[_0x1ad479(0x166)];if(_0x4fb38d[_0x1ad479(0x1a4)])try{const _0x154102=stackTrace[_0x1ad479(0x18a)](_0x4fb38d[_0x1ad479(0x1a4)]);if(_0x154102[0x0]&&_0x154102[0x0]['getFileName']){const _0x3532ab=_0x154102[0x0][_0x1ad479(0x1c3)]();if(_0x3532ab&&!_0x3532ab[_0x1ad479(0x1b6)](_0x37e070[_0x1ad479(0x1c1)]))return _0x3532ab;}}catch(_0x581848){}_0x4fb38d=_0x4fb38d[_0x1ad479(0x20d)];}try{const _0x4af769=_0x37e070['XyrBb'](require,_0x37e070[_0x1ad479(0x1fc)]);if(_0x4af769&&_0x4af769[_0x1ad479(0x1cc)]){const _0x2a8cc0=_0x4af769[_0x1ad479(0x1cc)]();if(_0x2a8cc0&&_0x2a8cc0[_0x1ad479(0x181)])return _0x2a8cc0[_0x1ad479(0x181)];}}catch(_0x29a737){logger[_0x1ad479(0x1d3)](_0x1ad479(0x1c0)+util[_0x1ad479(0x1f8)](_0x29a737));}return null;}[a91_0x4e3cad(0x196)](_0x453bec){const _0x16ef7b=a91_0x4e3cad,_0x20f219={};_0x20f219[_0x16ef7b(0x1ce)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x20f219['dXzWQ']=function(_0x24ae72,_0x1a5a8a){return _0x24ae72!==_0x1a5a8a;},_0x20f219[_0x16ef7b(0x202)]='ROOT_DESCRIBE_BLOCK',_0x20f219[_0x16ef7b(0x18d)]=_0x16ef7b(0x180),_0x20f219['Gbvzs']=_0x16ef7b(0x175),_0x20f219[_0x16ef7b(0x174)]='hex';const _0x6ef9bb=_0x20f219;try{if(!_0x453bec)return logger[_0x16ef7b(0x19f)](_0x6ef9bb['HZtWT']),null;const _0x14c5b0=_0x453bec[_0x16ef7b(0x1d2)]||_0x453bec['name']||_0x453bec[_0x16ef7b(0x20e)]||_0x453bec[_0x16ef7b(0x207)];let _0xe86d63=_0x14c5b0;if(_0x453bec[_0x16ef7b(0x20d)]&&_0x453bec[_0x16ef7b(0x20d)][_0x16ef7b(0x1f2)]&&_0x6ef9bb[_0x16ef7b(0x200)](_0x453bec[_0x16ef7b(0x20d)]['name'],_0x6ef9bb['ZGvDV'])){const _0x384f5c=_0x453bec[_0x16ef7b(0x1f2)]||_0x453bec[_0x16ef7b(0x20e)];_0x384f5c&&(_0xe86d63=_0x453bec[_0x16ef7b(0x20d)][_0x16ef7b(0x1f2)]+'\x20'+_0x384f5c);}let _0x3ff54d=_0x453bec[_0x16ef7b(0x181)];if(!_0x3ff54d&&_0x453bec[_0x16ef7b(0x1a4)]){try{const _0x25291b=stackTrace[_0x16ef7b(0x18a)](_0x453bec[_0x16ef7b(0x1a4)]);if(_0x25291b[0x0]&&_0x25291b[0x0][_0x16ef7b(0x1c3)]){const _0x13fcbf=_0x25291b[0x0][_0x16ef7b(0x1c3)]();_0x13fcbf&&!_0x13fcbf[_0x16ef7b(0x1b6)](_0x6ef9bb[_0x16ef7b(0x18d)])&&(_0x3ff54d=_0x13fcbf);}}catch(_0xa3496e){logger[_0x16ef7b(0x1d3)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x16ef7b(0x1f8)](_0xa3496e));}if(!_0x3ff54d&&_0x453bec[_0x16ef7b(0x1a4)][_0x16ef7b(0x1c7)]){const _0x506923=_0x453bec['asyncError'][_0x16ef7b(0x1c7)][_0x16ef7b(0x1ae)]('\x0a');for(const _0x192e1d of _0x506923){const _0x40cbda=_0x192e1d[_0x16ef7b(0x17e)](/at (.+?):\d+:\d+/);if(_0x40cbda&&_0x40cbda[0x1]&&!_0x40cbda[0x1][_0x16ef7b(0x1b6)](_0x6ef9bb['QKnrE'])){_0x3ff54d=_0x40cbda[0x1];break;}}}}const _0x1cb1e8=_0x3ff54d+'::'+_0xe86d63,_0x1df3e4=crypto[_0x16ef7b(0x1ef)](_0x6ef9bb[_0x16ef7b(0x1f7)])[_0x16ef7b(0x1d8)](_0x1cb1e8)[_0x16ef7b(0x1b9)](_0x6ef9bb[_0x16ef7b(0x174)])['substring'](0x0,0x8),_0x4c4b19=process[_0x16ef7b(0x1cd)]+_0x16ef7b(0x1cb)+_0x1df3e4;return logger[_0x16ef7b(0x1d3)](_0x16ef7b(0x1ff)+_0x4c4b19+_0x16ef7b(0x17f)+_0x1cb1e8),_0x4c4b19;}catch(_0x350eef){return logger['error'](_0x16ef7b(0x208)+util[_0x16ef7b(0x1f8)](_0x350eef)),null;}}[a91_0x4e3cad(0x1bb)](_0x3e77ac){const _0x30e878=a91_0x4e3cad,_0x4ae785={};_0x4ae785[_0x30e878(0x1ab)]=_0x30e878(0x1b1);const _0x5b8751=_0x4ae785;if(!_0x3e77ac)return logger['debug'](_0x5b8751[_0x30e878(0x1ab)]),null;const _0x512679=this[_0x30e878(0x1e9)](_0x3e77ac),_0x25fdb1={};_0x25fdb1[_0x30e878(0x1f2)]=_0x3e77ac[_0x30e878(0x1f2)]||_0x3e77ac[_0x30e878(0x20e)],_0x25fdb1['parent']=_0x3e77ac[_0x30e878(0x20d)],_0x25fdb1[_0x30e878(0x181)]=_0x512679,_0x25fdb1[_0x30e878(0x1a4)]=_0x3e77ac[_0x30e878(0x1a4)];const _0x52a836=_0x25fdb1;return this[_0x30e878(0x196)](_0x52a836);}[a91_0x4e3cad(0x190)](_0x131695){const _0x1da8c0=a91_0x4e3cad,_0x29348e={};_0x29348e[_0x1da8c0(0x1bf)]=_0x1da8c0(0x1de);const _0x4a37e3=_0x29348e;if(!_0x131695)return logger[_0x1da8c0(0x1d3)](_0x4a37e3[_0x1da8c0(0x1bf)]),null;if(_0x131695[_0x1da8c0(0x1df)])return logger[_0x1da8c0(0x1d3)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x131695[_0x1da8c0(0x1df)]),_0x131695['testIdentifier'];return this[_0x1da8c0(0x196)](_0x131695);}}function a91_0x113d(_0x43cf46,_0xbfd14){const _0x939b8=a91_0x939b();return a91_0x113d=function(_0x113d25,_0x6278f9){_0x113d25=_0x113d25-0x166;let _0x53621f=_0x939b8[_0x113d25];return _0x53621f;},a91_0x113d(_0x43cf46,_0xbfd14);}module[a91_0x4e3cad(0x1c2)]=o11yClassErrorHandler(JestUtils,[a91_0x4e3cad(0x193),a91_0x4e3cad(0x168),a91_0x4e3cad(0x17b),a91_0x4e3cad(0x19e),a91_0x4e3cad(0x216),a91_0x4e3cad(0x1fd),a91_0x4e3cad(0x1c6),a91_0x4e3cad(0x211),a91_0x4e3cad(0x213),a91_0x4e3cad(0x1b8),a91_0x4e3cad(0x1e9),'createJestTestIdentifier',a91_0x4e3cad(0x1bb),a91_0x4e3cad(0x190)]);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a92_0x2487(){const _0x4797a5=['354269IMAiky','platforms','6755kyuhtq','ckMjY','then','isUndefined','../../helpers/utilities','config','getPlatformName','exports','handleApp','vanilla','forEach','assign','start','rJzKg','10456140pSNLTh','rKMdr','284JYrOPB','\x20doesn\x27t\x20exist','configuration','../../helpers/BrowserStackSetup','getHubUrl','ahzGz','XMGrn','EVENTS','modifyBrowserStackCaps','File\x20','launchBuild','8gcRKPq','aYheH','SDK_SETUP','finally','proxySettings','18850843AZsfhT','push','join','file','24oJsqiP','useW3C','68305hroPck','../../helpers/helper','3593019ldMSEQ','2WsvOYt','existsSync','../test-runner','4371021YVOheL','6072TCPLGv','length','index','../../helpers/performance/constants','HEJJI','Config\x20yml\x20is\x20required','args','finalExecution'];a92_0x2487=function(){return _0x4797a5;};return a92_0x2487();}const a92_0x2b7c05=a92_0xc57b;(function(_0x5e2c08,_0x93ce83){const _0x30549c=a92_0xc57b,_0x5bd251=_0x5e2c08();while(!![]){try{const _0x1a4f38=-parseInt(_0x30549c(0x1c8))/0x1+-parseInt(_0x30549c(0x1bc))/0x2*(-parseInt(_0x30549c(0x1bb))/0x3)+-parseInt(_0x30549c(0x1a3))/0x4*(parseInt(_0x30549c(0x1b9))/0x5)+-parseInt(_0x30549c(0x1c0))/0x6*(parseInt(_0x30549c(0x1ca))/0x7)+parseInt(_0x30549c(0x1ae))/0x8*(-parseInt(_0x30549c(0x1bf))/0x9)+-parseInt(_0x30549c(0x1d8))/0xa+-parseInt(_0x30549c(0x1b3))/0xb*(-parseInt(_0x30549c(0x1b7))/0xc);if(_0x1a4f38===_0x93ce83)break;else _0x5bd251['push'](_0x5bd251['shift']());}catch(_0x348f95){_0x5bd251['push'](_0x5bd251['shift']());}}}(a92_0x2487,0xc19cc));function a92_0xc57b(_0x3f85a2,_0x118a2f){const _0x248792=a92_0x2487();return a92_0xc57b=function(_0xc57b9e,_0x214052){_0xc57b9e=_0xc57b9e-0x1a3;let _0x552229=_0x248792[_0xc57b9e];return _0x552229;},a92_0xc57b(_0x3f85a2,_0x118a2f);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a92_0x2b7c05(0x1a6)),helper=require(a92_0x2b7c05(0x1ba)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0x2b7c05(0x1c3))[a92_0x2b7c05(0x1aa)],utilities=require(a92_0x2b7c05(0x1ce)),{parallelVanillaRun}=require(a92_0x2b7c05(0x1be)),TestHubHandler=require('../../helpers/testhub/testhubHandler');async function run(_0x846ffb,_0x33ce44,_0x2c3e39){const _0x165958=a92_0x2b7c05,_0x6e2737={'XMGrn':_0x165958(0x1d3),'wbQhl':function(_0x54b1c8,_0x5097cf){return _0x54b1c8(_0x5097cf);},'rJzKg':'File\x20path\x20is\x20required','HEJJI':function(_0x522b1b,_0x5bd632){return _0x522b1b(_0x5bd632);},'mLOWK':_0x165958(0x1c5),'aYheH':function(_0x1406ac,_0x51da4a){return _0x1406ac>_0x51da4a;},'ahzGz':function(_0x2e8958,_0x32e27e){return _0x2e8958>_0x32e27e;},'ckMjY':function(_0x41d081,_0x3b018a){return _0x41d081*_0x3b018a;},'rKMdr':function(_0x595c1f,_0x4a390d,_0x3965d9){return _0x595c1f(_0x4a390d,_0x3965d9);}};await _0x2c3e39['initialize'](_0x846ffb),await helper[_0x165958(0x1d2)](_0x2c3e39[_0x165958(0x1cf)]);const _0x39cefc=[];if(helper[_0x165958(0x1cd)](_0x846ffb['_'][0x1]))throw _0x6e2737['wbQhl'](Error,_0x6e2737[_0x165958(0x1d7)]);const _0x35c65d=path[_0x165958(0x1b5)](process['cwd'](),_0x846ffb['_'][0x1]);if(!fs[_0x165958(0x1bd)](_0x35c65d))throw _0x6e2737[_0x165958(0x1c4)](Error,_0x165958(0x1ac)+_0x846ffb['_'][0x1]+_0x165958(0x1a4));if(!_0x2c3e39[_0x165958(0x1cf)])throw _0x6e2737[_0x165958(0x1c4)](Error,_0x6e2737['mLOWK']);const _0x4026c0=helper[_0x165958(0x1b8)](_0x2c3e39[_0x165958(0x1cf)]);_0x2c3e39[_0x165958(0x1cf)][_0x165958(0x1c9)]&&_0x6e2737[_0x165958(0x1af)](_0x2c3e39['config'][_0x165958(0x1c9)][_0x165958(0x1c1)],0x0)&&_0x2c3e39['config'][_0x165958(0x1c9)]['forEach']((_0x3b7239,_0x2539dc)=>{const _0x2d1c29=_0x165958;_0x4026c0?_0x39cefc[_0x2d1c29(0x1b4)](helper['modifyBrowserStackW3CCaps'](_0x2c3e39[_0x2d1c29(0x1cf)],_0x6e2737['XMGrn'],_0x2539dc)):_0x39cefc[_0x2d1c29(0x1b4)](helper[_0x2d1c29(0x1ab)](_0x2c3e39[_0x2d1c29(0x1cf)],_0x6e2737[_0x2d1c29(0x1a9)],_0x2539dc));});let _0x51ce02,_0x5bc42d;const _0x45fb63=[];if(_0x6e2737[_0x165958(0x1a8)](_0x39cefc[_0x165958(0x1c1)],0x0))_0x39cefc[_0x165958(0x1d4)]((_0x6eb877,_0x4e468b)=>{const _0x4b0e6d=_0x165958,_0x281987={};_0x281987[_0x4b0e6d(0x1c2)]=_0x4e468b,_0x51ce02={'server':helper[_0x4b0e6d(0x1a7)](_0x2c3e39['config']),'proxySettings':_0x2c3e39['config'][_0x4b0e6d(0x1b2)],'platform':helper[_0x4b0e6d(0x1d0)](_0x6eb877),'platformCaps':Object[_0x4b0e6d(0x1d5)](_0x281987,_0x2c3e39['config'][_0x4b0e6d(0x1c9)][_0x4e468b])};const _0x3385ee={'capability':_0x6eb877,..._0x51ce02};_0x3385ee[_0x4b0e6d(0x1b6)]=_0x35c65d,_0x3385ee[_0x4b0e6d(0x1c6)]=_0x33ce44;const _0x1c7286={};_0x1c7286[_0x4b0e6d(0x1a5)]=_0x3385ee,_0x5bc42d=_0x1c7286,_0x45fb63['push'](_0x5bc42d);});else{let _0x51bce8;_0x4026c0?_0x51bce8=helper['modifyBrowserStackW3CCaps'](_0x2c3e39[_0x165958(0x1cf)],_0x6e2737[_0x165958(0x1a9)],0x0):_0x51bce8=helper[_0x165958(0x1ab)](_0x2c3e39[_0x165958(0x1cf)],_0x6e2737[_0x165958(0x1a9)],0x0);_0x51ce02={'server':helper[_0x165958(0x1a7)](_0x2c3e39['config']),'proxySettings':_0x2c3e39['config']['proxySettings']};const _0x51a38c={'capability':_0x51bce8,..._0x51ce02};_0x51a38c[_0x165958(0x1b6)]=_0x35c65d,_0x51a38c[_0x165958(0x1c6)]=_0x33ce44;const _0x2b80ec={};_0x2b80ec[_0x165958(0x1a5)]=_0x51a38c,_0x5bc42d=_0x2b80ec,_0x45fb63[_0x165958(0x1b4)](_0x5bc42d);}const _0x5ee24b=await TestHubHandler[_0x165958(0x1ad)](_0x6e2737[_0x165958(0x1a9)],_0x2c3e39),_0x1e63fe=_0x6e2737[_0x165958(0x1cb)](_0x2c3e39['config'][_0x165958(0x1c9)][_0x165958(0x1c1)]||0x1,_0x2c3e39[_0x165958(0x1cf)]['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x165958(0x1b0)]),_0x6e2737[_0x165958(0x1d9)](parallelVanillaRun,_0x45fb63,_0x1e63fe)[_0x165958(0x1cc)](_0x573b39=>{})[_0x165958(0x1b1)](async()=>{const _0x5b83d3=_0x165958;PerformanceTester[_0x5b83d3(0x1d6)](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x5b83d3(0x1c7)](_0x2c3e39);});}module[a92_0x2b7c05(0x1d1)]=run;
2
+ 'use strict';const a92_0x158f5b=a92_0x2be3;(function(_0x4eea24,_0x223682){const _0x38bd03=a92_0x2be3,_0x50fc92=_0x4eea24();while(!![]){try{const _0x4bad9c=-parseInt(_0x38bd03(0x163))/0x1+-parseInt(_0x38bd03(0x161))/0x2+-parseInt(_0x38bd03(0x17d))/0x3+-parseInt(_0x38bd03(0x171))/0x4*(parseInt(_0x38bd03(0x168))/0x5)+-parseInt(_0x38bd03(0x17e))/0x6+parseInt(_0x38bd03(0x179))/0x7+parseInt(_0x38bd03(0x17b))/0x8*(parseInt(_0x38bd03(0x17f))/0x9);if(_0x4bad9c===_0x223682)break;else _0x50fc92['push'](_0x50fc92['shift']());}catch(_0x4465b6){_0x50fc92['push'](_0x50fc92['shift']());}}}(a92_0x3a15,0x580aa));function a92_0x3a15(){const _0x5577dc=['modifyBrowserStackCaps','modifyBrowserStackW3CCaps','path','RgCCU','file','3341919CTnFir','finally','68200BfTpuP','TaSbQ','61110DBolGX','2768856wEVViK','1854rYxVQa','forEach','EVENTS','config','../../helpers/testhub/testhubHandler','assign','../test-runner','useW3C','xUjIj','initialize','finalExecution','configuration','proxySettings','platforms','start','isUndefined','length','args','\x20doesn\x27t\x20exist','236980ySTucG','vanilla','566645HqLfZr','AkrOi','SDK_CLEANUP','snabw','launchBuild','882460xyaDIM','SDK_SETUP','../../helpers/performance/performance-tester','File\x20path\x20is\x20required','join','index','File\x20','bYKSj','push','16gkWqeM','cwd','handleApp'];a92_0x3a15=function(){return _0x5577dc;};return a92_0x3a15();}const fs=require('fs'),path=require(a92_0x158f5b(0x176)),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),PerformanceTester=require(a92_0x158f5b(0x16a)),PerformanceEvents=require('../../helpers/performance/constants')[a92_0x158f5b(0x150)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a92_0x158f5b(0x154)),TestHubHandler=require(a92_0x158f5b(0x152));async function run(_0x2533fd,_0x4d5591,_0x453735){const _0x1d56fb=a92_0x158f5b,_0x489f7b={'AkrOi':_0x1d56fb(0x162),'RgCCU':function(_0x33c3f0,_0x19b86a){return _0x33c3f0(_0x19b86a);},'tRXyN':_0x1d56fb(0x16b),'snabw':function(_0x25ede7,_0x50805e){return _0x25ede7(_0x50805e);},'TaSbQ':'Config\x20yml\x20is\x20required','bYKSj':function(_0x4352a1,_0x28ece5){return _0x4352a1>_0x28ece5;},'LSzLG':function(_0x2f9a4d,_0x5422b2){return _0x2f9a4d*_0x5422b2;},'xUjIj':function(_0x12850b,_0x2e08a6,_0x52e637){return _0x12850b(_0x2e08a6,_0x52e637);}};await _0x453735[_0x1d56fb(0x157)](_0x2533fd),await helper[_0x1d56fb(0x173)](_0x453735[_0x1d56fb(0x151)]);const _0x4fb8c2=[];if(helper[_0x1d56fb(0x15d)](_0x2533fd['_'][0x1]))throw _0x489f7b[_0x1d56fb(0x177)](Error,_0x489f7b['tRXyN']);const _0x325d4e=path[_0x1d56fb(0x16c)](process[_0x1d56fb(0x172)](),_0x2533fd['_'][0x1]);if(!fs['existsSync'](_0x325d4e))throw _0x489f7b['snabw'](Error,_0x1d56fb(0x16e)+_0x2533fd['_'][0x1]+_0x1d56fb(0x160));if(!_0x453735[_0x1d56fb(0x151)])throw _0x489f7b[_0x1d56fb(0x166)](Error,_0x489f7b[_0x1d56fb(0x17c)]);const _0x49abda=helper[_0x1d56fb(0x155)](_0x453735[_0x1d56fb(0x151)]);_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15b)]&&_0x489f7b['bYKSj'](_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15b)]['length'],0x0)&&_0x453735[_0x1d56fb(0x151)]['platforms'][_0x1d56fb(0x180)]((_0x330069,_0x50207c)=>{const _0x54bbdf=_0x1d56fb;_0x49abda?_0x4fb8c2['push'](helper[_0x54bbdf(0x175)](_0x453735[_0x54bbdf(0x151)],_0x489f7b[_0x54bbdf(0x164)],_0x50207c)):_0x4fb8c2[_0x54bbdf(0x170)](helper[_0x54bbdf(0x174)](_0x453735[_0x54bbdf(0x151)],_0x489f7b[_0x54bbdf(0x164)],_0x50207c));});let _0x3b67cd,_0x25db58;const _0x5e2851=[];if(_0x489f7b[_0x1d56fb(0x16f)](_0x4fb8c2[_0x1d56fb(0x15e)],0x0))_0x4fb8c2[_0x1d56fb(0x180)]((_0x32c5b6,_0x3cd8c9)=>{const _0x1b3a62=_0x1d56fb,_0x32efa3={};_0x32efa3[_0x1b3a62(0x16d)]=_0x3cd8c9,_0x3b67cd={'server':helper['getHubUrl'](_0x453735['config']),'proxySettings':_0x453735[_0x1b3a62(0x151)][_0x1b3a62(0x15a)],'platform':helper['getPlatformName'](_0x32c5b6),'platformCaps':Object[_0x1b3a62(0x153)](_0x32efa3,_0x453735[_0x1b3a62(0x151)]['platforms'][_0x3cd8c9])};const _0x452973={'capability':_0x32c5b6,..._0x3b67cd};_0x452973[_0x1b3a62(0x178)]=_0x325d4e,_0x452973[_0x1b3a62(0x15f)]=_0x4d5591;const _0x50dc0c={};_0x50dc0c[_0x1b3a62(0x159)]=_0x452973,_0x25db58=_0x50dc0c,_0x5e2851[_0x1b3a62(0x170)](_0x25db58);});else{let _0x5cd60b;_0x49abda?_0x5cd60b=helper['modifyBrowserStackW3CCaps'](_0x453735[_0x1d56fb(0x151)],_0x489f7b[_0x1d56fb(0x164)],0x0):_0x5cd60b=helper['modifyBrowserStackCaps'](_0x453735[_0x1d56fb(0x151)],_0x489f7b[_0x1d56fb(0x164)],0x0);_0x3b67cd={'server':helper['getHubUrl'](_0x453735['config']),'proxySettings':_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15a)]};const _0x2d6253={'capability':_0x5cd60b,..._0x3b67cd};_0x2d6253[_0x1d56fb(0x178)]=_0x325d4e,_0x2d6253[_0x1d56fb(0x15f)]=_0x4d5591;const _0x1ff00c={};_0x1ff00c[_0x1d56fb(0x159)]=_0x2d6253,_0x25db58=_0x1ff00c,_0x5e2851[_0x1d56fb(0x170)](_0x25db58);}const _0x48092c=await TestHubHandler[_0x1d56fb(0x167)](_0x489f7b[_0x1d56fb(0x164)],_0x453735),_0x3a76dc=_0x489f7b['LSzLG'](_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15b)][_0x1d56fb(0x15e)]||0x1,_0x453735['config']['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x1d56fb(0x169)]),_0x489f7b[_0x1d56fb(0x156)](parallelVanillaRun,_0x5e2851,_0x3a76dc)['then'](_0xe771ca=>{})[_0x1d56fb(0x17a)](async()=>{const _0x53889d=_0x1d56fb;PerformanceTester[_0x53889d(0x15c)](PerformanceEvents[_0x53889d(0x165)]),await utilities[_0x53889d(0x158)](_0x453735);});}function a92_0x2be3(_0x19df4e,_0x13ad9e){const _0x3a1541=a92_0x3a15();return a92_0x2be3=function(_0x2be328,_0x2ef4f8){_0x2be328=_0x2be328-0x150;let _0x1a87b4=_0x3a1541[_0x2be328];return _0x1a87b4;},a92_0x2be3(_0x19df4e,_0x13ad9e);}module['exports']=run;
@@ -1 +1 @@
1
- const a93_0x3dacf5=a93_0x1cbe;(function(_0x249218,_0x2eff37){const _0x1e61f5=a93_0x1cbe,_0x289175=_0x249218();while(!![]){try{const _0x339431=-parseInt(_0x1e61f5(0x152))/0x1*(-parseInt(_0x1e61f5(0x15c))/0x2)+parseInt(_0x1e61f5(0x150))/0x3*(-parseInt(_0x1e61f5(0x156))/0x4)+-parseInt(_0x1e61f5(0x15d))/0x5+parseInt(_0x1e61f5(0x161))/0x6*(-parseInt(_0x1e61f5(0x164))/0x7)+-parseInt(_0x1e61f5(0x151))/0x8+parseInt(_0x1e61f5(0x14b))/0x9+parseInt(_0x1e61f5(0x140))/0xa;if(_0x339431===_0x2eff37)break;else _0x289175['push'](_0x289175['shift']());}catch(_0xd9218){_0x289175['push'](_0x289175['shift']());}}}(a93_0x2c68,0xb3be6));function a93_0x1cbe(_0x3d0e5a,_0x29731d){const _0x2c68e4=a93_0x2c68();return a93_0x1cbe=function(_0x1cbeee,_0x2cb195){_0x1cbeee=_0x1cbeee-0x13f;let _0x493bf4=_0x2c68e4[_0x1cbeee];return _0x493bf4;},a93_0x1cbe(_0x3d0e5a,_0x29731d);}function a93_0x2c68(){const _0x272adc=['6911664woUhiY','296531fBuOoc','YQTGY','browser_version','ymjKJ','4GYuIwb','Wltma','KBVvv','getCurrentPlatform','set','nVeaK','6vvArut','6852000RfTwFy','platformName','browserName','BdCwI','6qnCbFx','os_version','Waqxa','3923843jMpZZd','zfVQz','./helpers/metadata','platformVersion','21575070KjvpCV','deviceName','exports','osVersion','browser','browserVersion','iqnIf','YxfNI','platform','wJWye','platform_version','13214322ZbgIOB','mJLom','__platformCaps','RLBdp','device','2952663JEAYts'];a93_0x2c68=function(){return _0x272adc;};return a93_0x2c68();}const TestMetadata=require(a93_0x3dacf5(0x166));class BrowserStackSdk{static[a93_0x3dacf5(0x159)](){const _0x15723e=a93_0x3dacf5,_0x26067d={};_0x26067d[_0x15723e(0x146)]=_0x15723e(0x162),_0x26067d[_0x15723e(0x157)]=_0x15723e(0x143),_0x26067d[_0x15723e(0x165)]=_0x15723e(0x144),_0x26067d['ymjKJ']=_0x15723e(0x15f),_0x26067d[_0x15723e(0x15b)]=_0x15723e(0x154),_0x26067d['wJWye']=_0x15723e(0x145),_0x26067d[_0x15723e(0x158)]=_0x15723e(0x14f),_0x26067d[_0x15723e(0x147)]=_0x15723e(0x141),_0x26067d[_0x15723e(0x160)]=_0x15723e(0x148),_0x26067d['YQTGY']=_0x15723e(0x15e),_0x26067d['RLBdp']=_0x15723e(0x14a),_0x26067d['mJLom']=_0x15723e(0x13f),_0x26067d[_0x15723e(0x163)]='customVariables';const _0x513e98=_0x26067d,_0x167cc6={};if(global[_0x15723e(0x14d)]){const _0x264985=global[_0x15723e(0x14d)],_0x5b93b3=_0x264985[_0x513e98[_0x15723e(0x146)]]||_0x264985[_0x513e98[_0x15723e(0x157)]],_0x5a06d9=_0x264985[_0x513e98[_0x15723e(0x165)]]||_0x264985[_0x513e98[_0x15723e(0x155)]],_0x64995e=_0x264985[_0x513e98['nVeaK']]||_0x264985[_0x513e98[_0x15723e(0x149)]],_0x1c361d=_0x264985[_0x513e98[_0x15723e(0x158)]]||_0x264985[_0x513e98[_0x15723e(0x147)]],_0x15ff64=_0x264985[_0x513e98[_0x15723e(0x160)]]||_0x264985[_0x513e98[_0x15723e(0x153)]],_0x36b9ca=_0x264985[_0x513e98[_0x15723e(0x14e)]]||_0x264985[_0x513e98[_0x15723e(0x14c)]];_0x264985['os']&&(_0x167cc6['os']=_0x264985['os']),_0x5b93b3&&(_0x167cc6[_0x513e98[_0x15723e(0x157)]]=_0x5b93b3),_0x5a06d9&&(_0x167cc6[_0x513e98['ymjKJ']]=_0x5a06d9),_0x64995e&&(_0x167cc6[_0x513e98[_0x15723e(0x149)]]=_0x64995e),_0x1c361d&&(_0x167cc6[_0x513e98[_0x15723e(0x147)]]=_0x1c361d),_0x15ff64&&(_0x167cc6[_0x513e98['YQTGY']]=_0x15ff64),_0x36b9ca&&(_0x167cc6[_0x513e98[_0x15723e(0x14c)]]=_0x36b9ca),_0x264985[_0x513e98['Waqxa']]&&(_0x167cc6[_0x513e98[_0x15723e(0x163)]]=_0x264985[_0x513e98[_0x15723e(0x163)]]);}return _0x167cc6;}static['setTestMetadata'](_0x4e4f46={}){const _0x492ec4=a93_0x3dacf5;TestMetadata[_0x492ec4(0x15a)](_0x4e4f46);}}module[a93_0x3dacf5(0x142)]=BrowserStackSdk;
1
+ const a93_0x6fe485=a93_0x4a3f;(function(_0xfdb5f,_0x231ed0){const _0x20bc61=a93_0x4a3f,_0x2a6ef2=_0xfdb5f();while(!![]){try{const _0x13c322=-parseInt(_0x20bc61(0x1f7))/0x1*(-parseInt(_0x20bc61(0x1e5))/0x2)+parseInt(_0x20bc61(0x206))/0x3+parseInt(_0x20bc61(0x200))/0x4+parseInt(_0x20bc61(0x1e4))/0x5+parseInt(_0x20bc61(0x1eb))/0x6*(-parseInt(_0x20bc61(0x1e7))/0x7)+-parseInt(_0x20bc61(0x1fe))/0x8*(parseInt(_0x20bc61(0x1f5))/0x9)+-parseInt(_0x20bc61(0x207))/0xa;if(_0x13c322===_0x231ed0)break;else _0x2a6ef2['push'](_0x2a6ef2['shift']());}catch(_0x55f388){_0x2a6ef2['push'](_0x2a6ef2['shift']());}}}(a93_0x94dc,0x60d9f));function a93_0x94dc(){const _0x48e1ad=['getCurrentPlatform','tHnGM','oBvLA','1503srEavy','browserName','12601SyeCce','tyKtz','ToJIe','wvEHy','asigm','browser_version','exports','14840uyUyLE','platform','3082940IOxBex','csBhC','./helpers/metadata','device','os_version','customVariables','1176408SOkRRd','719720JKZFOR','__platformCaps','406740QYwXeM','26xDuQgX','platformVersion','7kNpWuu','YQvJp','setTestMetadata','YrjtB','3777432YgTMyn','NDwod','uOapl','browserVersion','vcXlJ','tlhKw','deviceName'];a93_0x94dc=function(){return _0x48e1ad;};return a93_0x94dc();}function a93_0x4a3f(_0x512400,_0xac8bc6){const _0x94dca4=a93_0x94dc();return a93_0x4a3f=function(_0x4a3f45,_0x418070){_0x4a3f45=_0x4a3f45-0x1e4;let _0x274843=_0x94dca4[_0x4a3f45];return _0x274843;},a93_0x4a3f(_0x512400,_0xac8bc6);}const TestMetadata=require(a93_0x6fe485(0x202));class BrowserStackSdk{static[a93_0x6fe485(0x1f2)](){const _0x29014f=a93_0x6fe485,_0x5e8e79={};_0x5e8e79[_0x29014f(0x1ec)]=_0x29014f(0x204),_0x5e8e79[_0x29014f(0x1f8)]='osVersion',_0x5e8e79[_0x29014f(0x1e8)]='browser',_0x5e8e79[_0x29014f(0x1f3)]=_0x29014f(0x1f6),_0x5e8e79[_0x29014f(0x1ea)]=_0x29014f(0x1fc),_0x5e8e79[_0x29014f(0x1ed)]=_0x29014f(0x1ee),_0x5e8e79['vcXlJ']=_0x29014f(0x203),_0x5e8e79['wvEHy']=_0x29014f(0x1f1),_0x5e8e79['ToJIe']=_0x29014f(0x1ff),_0x5e8e79[_0x29014f(0x1f4)]='platformName',_0x5e8e79['tlhKw']='platform_version',_0x5e8e79['csBhC']=_0x29014f(0x1e6),_0x5e8e79[_0x29014f(0x1fb)]=_0x29014f(0x205);const _0x58250b=_0x5e8e79,_0x1ea0c9={};if(global[_0x29014f(0x208)]){const _0x2858ac=global[_0x29014f(0x208)],_0x24cd86=_0x2858ac[_0x58250b['NDwod']]||_0x2858ac[_0x58250b['tyKtz']],_0x280357=_0x2858ac[_0x58250b[_0x29014f(0x1e8)]]||_0x2858ac[_0x58250b[_0x29014f(0x1f3)]],_0x5a7ad0=_0x2858ac[_0x58250b['YrjtB']]||_0x2858ac[_0x58250b[_0x29014f(0x1ed)]],_0x129bcc=_0x2858ac[_0x58250b[_0x29014f(0x1ef)]]||_0x2858ac[_0x58250b[_0x29014f(0x1fa)]],_0x378978=_0x2858ac[_0x58250b[_0x29014f(0x1f9)]]||_0x2858ac[_0x58250b[_0x29014f(0x1f4)]],_0x4d94fd=_0x2858ac[_0x58250b[_0x29014f(0x1f0)]]||_0x2858ac[_0x58250b[_0x29014f(0x201)]];_0x2858ac['os']&&(_0x1ea0c9['os']=_0x2858ac['os']),_0x24cd86&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1f8)]]=_0x24cd86),_0x280357&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1f3)]]=_0x280357),_0x5a7ad0&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1ed)]]=_0x5a7ad0),_0x129bcc&&(_0x1ea0c9[_0x58250b['wvEHy']]=_0x129bcc),_0x378978&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1f4)]]=_0x378978),_0x4d94fd&&(_0x1ea0c9[_0x58250b[_0x29014f(0x201)]]=_0x4d94fd),_0x2858ac[_0x58250b[_0x29014f(0x1fb)]]&&(_0x1ea0c9[_0x58250b['asigm']]=_0x2858ac[_0x58250b[_0x29014f(0x1fb)]]);}return _0x1ea0c9;}static[a93_0x6fe485(0x1e9)](_0x16bc44={}){TestMetadata['set'](_0x16bc44);}}module[a93_0x6fe485(0x1fd)]=BrowserStackSdk;