browserstack-node-sdk 1.64.0 → 1.64.2

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 (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a115_0x11242e=a115_0x4f97;function a115_0x264b(){const _0x5ef47f=['HookState.POST','167824SQppJd','jjZOz','240hlSMNj','11141217rthpQU','toString','1411291XboVnP','5836504VgeeSe','4210ydssyv','2420890vEHiwt','gtEcG','exports','find','values','18cFCdlF','ulqYp','876462KuTxGh','HookState.PRE','value'];a115_0x264b=function(){return _0x5ef47f;};return a115_0x264b();}(function(_0x49951f,_0x39ca40){const _0x32576b=a115_0x4f97,_0x1e89a7=_0x49951f();while(!![]){try{const _0x5215e9=parseInt(_0x32576b(0xdf))/0x1*(parseInt(_0x32576b(0xda))/0x2)+parseInt(_0x32576b(0xe7))/0x3+parseInt(_0x32576b(0xd8))/0x4+-parseInt(_0x32576b(0xe0))/0x5+-parseInt(_0x32576b(0xe5))/0x6*(-parseInt(_0x32576b(0xdd))/0x7)+parseInt(_0x32576b(0xde))/0x8+-parseInt(_0x32576b(0xdb))/0x9;if(_0x5215e9===_0x39ca40)break;else _0x1e89a7['push'](_0x1e89a7['shift']());}catch(_0x252589){_0x1e89a7['push'](_0x1e89a7['shift']());}}}(a115_0x264b,0x6e425));function a115_0x4f97(_0x4e0380,_0x230644){const _0x264bc5=a115_0x264b();return a115_0x4f97=function(_0x4f973d,_0x25dd1c){_0x4f973d=_0x4f973d-0xd5;let _0x1694f9=_0x264bc5[_0x4f973d];return _0x1694f9;},a115_0x4f97(_0x4e0380,_0x230644);}const a115_0xb209a8={};a115_0xb209a8['value']=0x0,a115_0xb209a8['toString']=function(){const _0x534080=a115_0x4f97,_0x4166f8={};_0x4166f8[_0x534080(0xe1)]='HookState.NONE';const _0x788bcd=_0x4166f8;return _0x788bcd[_0x534080(0xe1)];};const a115_0x9699df={};a115_0x9699df['value']=0x1,a115_0x9699df[a115_0x11242e(0xdc)]=function(){const _0x381c81=a115_0x11242e,_0x2d1b49={};_0x2d1b49[_0x381c81(0xd9)]=_0x381c81(0xd5);const _0x2c6c99=_0x2d1b49;return _0x2c6c99['jjZOz'];};const a115_0xf0dc91={};a115_0xf0dc91['value']=0x2,a115_0xf0dc91[a115_0x11242e(0xdc)]=function(){const _0x22d21a=a115_0x11242e,_0x3cd676={};_0x3cd676[_0x22d21a(0xe6)]=_0x22d21a(0xd7);const _0x46d337=_0x3cd676;return _0x46d337[_0x22d21a(0xe6)];};const HookState=Object['freeze']({'NONE':a115_0xb209a8,'PRE':a115_0x9699df,'POST':a115_0xf0dc91,'fromValue'(_0x9402ec){const _0x4e46d7=a115_0x11242e;return Object[_0x4e46d7(0xe4)](HookState)[_0x4e46d7(0xe3)](_0x36e9fa=>_0x36e9fa[_0x4e46d7(0xd6)]===_0x9402ec);}});module[a115_0x11242e(0xe2)]=HookState;
1
+ const a115_0x2bdaa5=a115_0x3051;(function(_0x1ac9b1,_0x42b35d){const _0x369d34=a115_0x3051,_0x3141da=_0x1ac9b1();while(!![]){try{const _0x90b29=-parseInt(_0x369d34(0x182))/0x1+-parseInt(_0x369d34(0x177))/0x2*(parseInt(_0x369d34(0x174))/0x3)+-parseInt(_0x369d34(0x170))/0x4*(-parseInt(_0x369d34(0x183))/0x5)+-parseInt(_0x369d34(0x17b))/0x6*(-parseInt(_0x369d34(0x171))/0x7)+-parseInt(_0x369d34(0x179))/0x8*(parseInt(_0x369d34(0x17f))/0x9)+-parseInt(_0x369d34(0x175))/0xa*(-parseInt(_0x369d34(0x180))/0xb)+-parseInt(_0x369d34(0x17d))/0xc;if(_0x90b29===_0x42b35d)break;else _0x3141da['push'](_0x3141da['shift']());}catch(_0x3aa55e){_0x3141da['push'](_0x3141da['shift']());}}}(a115_0x4300,0xc511e));const a115_0x1e4bb6={};function a115_0x4300(){const _0x38033a=['8nZrPSH','qNhTw','7421154ReUqlK','HookState.NONE','3951264cEZBCz','toString','5441589Xahpjw','11FvwDuB','HKUFl','1084869ixKYwr','2270rluKsR','HookState.POST','HookState.PRE','11688bHSLnD','7tVUCov','freeze','HPRjP','594rVOMPf','12249910RWtMhU','values','9722TkDQmr','value'];a115_0x4300=function(){return _0x38033a;};return a115_0x4300();}function a115_0x3051(_0x560bd7,_0x27bfca){const _0x4300e5=a115_0x4300();return a115_0x3051=function(_0x3051d7,_0x240987){_0x3051d7=_0x3051d7-0x170;let _0x37a712=_0x4300e5[_0x3051d7];return _0x37a712;},a115_0x3051(_0x560bd7,_0x27bfca);}a115_0x1e4bb6[a115_0x2bdaa5(0x178)]=0x0,a115_0x1e4bb6['toString']=function(){const _0x5946c7=a115_0x2bdaa5,_0xba5b1e={};_0xba5b1e[_0x5946c7(0x173)]=_0x5946c7(0x17c);const _0x24a810=_0xba5b1e;return _0x24a810['HPRjP'];};const a115_0x3cad3c={};a115_0x3cad3c[a115_0x2bdaa5(0x178)]=0x1,a115_0x3cad3c[a115_0x2bdaa5(0x17e)]=function(){const _0x4b5b72=a115_0x2bdaa5,_0x17c4ee={};_0x17c4ee[_0x4b5b72(0x181)]=_0x4b5b72(0x185);const _0x3b9894=_0x17c4ee;return _0x3b9894[_0x4b5b72(0x181)];};const a115_0x5ce9f8={};a115_0x5ce9f8[a115_0x2bdaa5(0x178)]=0x2,a115_0x5ce9f8[a115_0x2bdaa5(0x17e)]=function(){const _0x47577b=a115_0x2bdaa5,_0x2ba17a={};_0x2ba17a[_0x47577b(0x17a)]=_0x47577b(0x184);const _0xb6160e=_0x2ba17a;return _0xb6160e[_0x47577b(0x17a)];};const HookState=Object[a115_0x2bdaa5(0x172)]({'NONE':a115_0x1e4bb6,'PRE':a115_0x3cad3c,'POST':a115_0x5ce9f8,'fromValue'(_0x2ab563){const _0x5e1d12=a115_0x2bdaa5;return Object[_0x5e1d12(0x176)](HookState)['find'](_0x3fc52b=>_0x3fc52b[_0x5e1d12(0x178)]===_0x2ab563);}});module['exports']=HookState;
@@ -1 +1 @@
1
- const a116_0x523a0a=a116_0x66f2;(function(_0x57df7f,_0x341d0c){const _0x548cef=a116_0x66f2,_0x23ab37=_0x57df7f();while(!![]){try{const _0x114567=parseInt(_0x548cef(0x195))/0x1+parseInt(_0x548cef(0x1a0))/0x2+-parseInt(_0x548cef(0x1aa))/0x3*(-parseInt(_0x548cef(0x199))/0x4)+parseInt(_0x548cef(0x1b0))/0x5+parseInt(_0x548cef(0x19f))/0x6*(-parseInt(_0x548cef(0x1ae))/0x7)+parseInt(_0x548cef(0x1af))/0x8*(parseInt(_0x548cef(0x1a8))/0x9)+-parseInt(_0x548cef(0x1a2))/0xa;if(_0x114567===_0x341d0c)break;else _0x23ab37['push'](_0x23ab37['shift']());}catch(_0x14036c){_0x23ab37['push'](_0x23ab37['shift']());}}}(a116_0x1811,0xaf282));const a116_0x4dd7b0={};a116_0x4dd7b0['value']=0x0,a116_0x4dd7b0[a116_0x523a0a(0x19d)]=function(){const _0x5e52ea=a116_0x523a0a,_0x46568f={};_0x46568f[_0x5e52ea(0x1b1)]='TestFrameworkState.NONE';const _0x39cfd8=_0x46568f;return _0x39cfd8[_0x5e52ea(0x1b1)];};const a116_0x3628aa={};function a116_0x66f2(_0x22d188,_0x5608f8){const _0x181164=a116_0x1811();return a116_0x66f2=function(_0x66f2bc,_0x1d9ad7){_0x66f2bc=_0x66f2bc-0x191;let _0x2f02a4=_0x181164[_0x66f2bc];return _0x2f02a4;},a116_0x66f2(_0x22d188,_0x5608f8);}a116_0x3628aa[a116_0x523a0a(0x19a)]=0x1,a116_0x3628aa[a116_0x523a0a(0x19d)]=function(){const _0x4671d6=a116_0x523a0a,_0x5f0543={};_0x5f0543['UmqFf']=_0x4671d6(0x191);const _0x211582=_0x5f0543;return _0x211582[_0x4671d6(0x1a4)];};const a116_0x4e61ac={};a116_0x4e61ac[a116_0x523a0a(0x19a)]=0x2,a116_0x4e61ac[a116_0x523a0a(0x19d)]=function(){const _0x25a4e0=a116_0x523a0a,_0x25ed5b={};_0x25ed5b['UsBIY']=_0x25a4e0(0x197);const _0x43b26c=_0x25ed5b;return _0x43b26c[_0x25a4e0(0x1a7)];};const a116_0x80a8de={};a116_0x80a8de[a116_0x523a0a(0x19a)]=0x3,a116_0x80a8de['toString']=function(){const _0x7932d1=a116_0x523a0a,_0x13b7c6={};_0x13b7c6[_0x7932d1(0x194)]='TestFrameworkState.SETUP_FIXTURE';const _0x12f5cf=_0x13b7c6;return _0x12f5cf['YyLdJ'];};const a116_0x443f5a={};a116_0x443f5a[a116_0x523a0a(0x19a)]=0x4,a116_0x443f5a['toString']=function(){const _0x1e9b95=a116_0x523a0a,_0x570f19={};_0x570f19['ylUMQ']='TestFrameworkState.INIT_TEST';const _0x1402d2=_0x570f19;return _0x1402d2[_0x1e9b95(0x1a6)];};const a116_0x2d8349={};a116_0x2d8349['value']=0x5,a116_0x2d8349[a116_0x523a0a(0x19d)]=function(){const _0xd31617=a116_0x523a0a,_0x5f2147={};_0x5f2147['qKpXC']=_0xd31617(0x1a3);const _0x41dda3=_0x5f2147;return _0x41dda3['qKpXC'];};const a116_0x3b0fd7={};a116_0x3b0fd7[a116_0x523a0a(0x19a)]=0x6,a116_0x3b0fd7[a116_0x523a0a(0x19d)]=function(){const _0x312293=a116_0x523a0a,_0x17106c={};_0x17106c[_0x312293(0x1ad)]='TestFrameworkState.AFTER_EACH';const _0x3f07c9=_0x17106c;return _0x3f07c9[_0x312293(0x1ad)];};const a116_0x5c5eb4={};a116_0x5c5eb4['value']=0x7,a116_0x5c5eb4[a116_0x523a0a(0x19d)]=function(){const _0x2b08fb=a116_0x523a0a,_0x4ede46={};_0x4ede46[_0x2b08fb(0x1a1)]='TestFrameworkState.TEST';const _0x2a7d78=_0x4ede46;return _0x2a7d78[_0x2b08fb(0x1a1)];};const a116_0x4eed70={};a116_0x4eed70[a116_0x523a0a(0x19a)]=0x8,a116_0x4eed70[a116_0x523a0a(0x19d)]=function(){const _0x213528=a116_0x523a0a,_0x482c59={};_0x482c59[_0x213528(0x196)]='TestFrameworkState.STEP';const _0x2c0c58=_0x482c59;return _0x2c0c58['hVsEE'];};const a116_0x2a75b7={};a116_0x2a75b7['value']=0x9,a116_0x2a75b7['toString']=function(){const _0x35d9b8=a116_0x523a0a,_0x58fdc5={};_0x58fdc5['laBch']=_0x35d9b8(0x1a5);const _0x7465a9=_0x58fdc5;return _0x7465a9[_0x35d9b8(0x19c)];};const a116_0xbb28c8={};a116_0xbb28c8[a116_0x523a0a(0x19a)]=0xa,a116_0xbb28c8['toString']=function(){const _0xd8dfcb=a116_0x523a0a,_0x3560e4={};_0x3560e4['indMX']=_0xd8dfcb(0x1ab);const _0x344419=_0x3560e4;return _0x344419[_0xd8dfcb(0x198)];};const a116_0x10f108={};function a116_0x1811(){const _0x4d5a20=['tuYNt','YyLdJ','758611jpadNX','hVsEE','TestFrameworkState.LOG','indMX','4hBxzyI','value','qbpsL','laBch','toString','TestFrameworkState.TEST_STEP','6kRIjfF','2107560FijemQ','kmVQr','31827460gdHeHR','TestFrameworkState.BEFORE_EACH','UmqFf','TestFrameworkState.LOG_REPORT','ylUMQ','UsBIY','24120zrjZxw','find','2760201AGWaXf','TestFrameworkState.AFTER_ALL','TestFrameworkState.TEST_SCREENSHOT','cddJy','943684BJoqLZ','3752QSVVdX','228110rqVVUK','wPhTy','TestFrameworkState.BEFORE_ALL','exports'];a116_0x1811=function(){return _0x4d5a20;};return a116_0x1811();}a116_0x10f108[a116_0x523a0a(0x19a)]=0xb,a116_0x10f108['toString']=function(){const _0x364684=a116_0x523a0a,_0x224755={};_0x224755[_0x364684(0x19b)]=_0x364684(0x1ac);const _0x41eb20=_0x224755;return _0x41eb20[_0x364684(0x19b)];};const a116_0x5892ad={};a116_0x5892ad[a116_0x523a0a(0x19a)]=0xc,a116_0x5892ad[a116_0x523a0a(0x19d)]=function(){const _0x2f489c=a116_0x523a0a,_0x445af7={};_0x445af7['tuYNt']=_0x2f489c(0x19e);const _0x647cb1=_0x445af7;return _0x647cb1[_0x2f489c(0x193)];};const TestFrameworkState=Object['freeze']({'NONE':a116_0x4dd7b0,'BEFORE_ALL':a116_0x3628aa,'LOG':a116_0x4e61ac,'SETUP_FIXTURE':a116_0x80a8de,'INIT_TEST':a116_0x443f5a,'BEFORE_EACH':a116_0x2d8349,'AFTER_EACH':a116_0x3b0fd7,'TEST':a116_0x5c5eb4,'STEP':a116_0x4eed70,'LOG_REPORT':a116_0x2a75b7,'AFTER_ALL':a116_0xbb28c8,'TEST_SCREENSHOT':a116_0x10f108,'TEST_STEP':a116_0x5892ad,'fromValue'(_0x5dff18){const _0x3c9fcc=a116_0x523a0a;return Object['values'](TestFrameworkState)[_0x3c9fcc(0x1a9)](_0x39b713=>_0x39b713[_0x3c9fcc(0x19a)]===_0x5dff18);}});module[a116_0x523a0a(0x192)]=TestFrameworkState;
1
+ function a116_0x460f(_0x18154b,_0x541ecc){const _0x490478=a116_0x4904();return a116_0x460f=function(_0x460fa2,_0xf07189){_0x460fa2=_0x460fa2-0x1ed;let _0x5ead03=_0x490478[_0x460fa2];return _0x5ead03;},a116_0x460f(_0x18154b,_0x541ecc);}const a116_0x228286=a116_0x460f;function a116_0x4904(){const _0x2b7f8f=['mKoTU','TestFrameworkState.BEFORE_EACH','TestFrameworkState.TEST','flpes','264963rTlsnD','TestFrameworkState.INIT_TEST','TestFrameworkState.STEP','479244tiTPVl','TestFrameworkState.TEST_SCREENSHOT','2571755AhzOQF','MQXhw','7314020lnGLDt','find','OeivZ','QUjfB','26376yzdTHM','TestFrameworkState.SETUP_FIXTURE','UuZoh','values','qzqQF','908388YwKxWH','TestFrameworkState.NONE','TestFrameworkState.TEST_STEP','efIBA','exports','70wVknte','NDqRG','TestFrameworkState.BEFORE_ALL','toString','479716rlsOyc','3blMJUh','Ihvqf','32SLtgGk','freeze','4itkCjK','TestFrameworkState.LOG_REPORT','UEazy','JUGLp','value','10835EnKmjA','TestFrameworkState.LOG','wUEIu','TestFrameworkState.AFTER_ALL'];a116_0x4904=function(){return _0x2b7f8f;};return a116_0x4904();}(function(_0x1f6259,_0x1bfcb5){const _0x264748=a116_0x460f,_0x11dfe1=_0x1f6259();while(!![]){try{const _0x6ffd63=-parseInt(_0x264748(0x216))/0x1+-parseInt(_0x264748(0x204))/0x2*(-parseInt(_0x264748(0x205))/0x3)+-parseInt(_0x264748(0x209))/0x4*(parseInt(_0x264748(0x1f0))/0x5)+parseInt(_0x264748(0x1ee))/0x6*(-parseInt(_0x264748(0x200))/0x7)+-parseInt(_0x264748(0x207))/0x8*(-parseInt(_0x264748(0x1fb))/0x9)+-parseInt(_0x264748(0x1f2))/0xa+parseInt(_0x264748(0x20e))/0xb*(parseInt(_0x264748(0x1f6))/0xc);if(_0x6ffd63===_0x1bfcb5)break;else _0x11dfe1['push'](_0x11dfe1['shift']());}catch(_0x49ee56){_0x11dfe1['push'](_0x11dfe1['shift']());}}}(a116_0x4904,0x79dd8));const a116_0x4ddaad={};a116_0x4ddaad[a116_0x228286(0x20d)]=0x0,a116_0x4ddaad[a116_0x228286(0x203)]=function(){const _0x4d2bb3=a116_0x228286,_0x300fa2={};_0x300fa2[_0x4d2bb3(0x1f1)]=_0x4d2bb3(0x1fc);const _0x598e54=_0x300fa2;return _0x598e54[_0x4d2bb3(0x1f1)];};const a116_0x4ca4d0={};a116_0x4ca4d0['value']=0x1,a116_0x4ca4d0['toString']=function(){const _0xe76521=a116_0x228286,_0x55a96e={};_0x55a96e[_0xe76521(0x20c)]=_0xe76521(0x202);const _0x50118e=_0x55a96e;return _0x50118e[_0xe76521(0x20c)];};const a116_0x3d6b72={};a116_0x3d6b72[a116_0x228286(0x20d)]=0x2,a116_0x3d6b72['toString']=function(){const _0x3fa80e=a116_0x228286,_0x422a61={};_0x422a61['mKoTU']=_0x3fa80e(0x20f);const _0x43f1a9=_0x422a61;return _0x43f1a9[_0x3fa80e(0x212)];};const a116_0x274e0e={};a116_0x274e0e[a116_0x228286(0x20d)]=0x3,a116_0x274e0e['toString']=function(){const _0x528f1e=a116_0x228286,_0x3dfc1d={};_0x3dfc1d[_0x528f1e(0x210)]=_0x528f1e(0x1f7);const _0x225e68=_0x3dfc1d;return _0x225e68[_0x528f1e(0x210)];};const a116_0x46b9f0={};a116_0x46b9f0['value']=0x4,a116_0x46b9f0['toString']=function(){const _0x1f8e34=a116_0x228286,_0x5e3675={};_0x5e3675[_0x1f8e34(0x201)]=_0x1f8e34(0x217);const _0x4ae180=_0x5e3675;return _0x4ae180[_0x1f8e34(0x201)];};const a116_0x140191={};a116_0x140191['value']=0x5,a116_0x140191['toString']=function(){const _0x1c7fdc=a116_0x228286,_0x1a036c={};_0x1a036c[_0x1c7fdc(0x1f8)]=_0x1c7fdc(0x213);const _0x2ac628=_0x1a036c;return _0x2ac628[_0x1c7fdc(0x1f8)];};const a116_0x49a88d={};a116_0x49a88d[a116_0x228286(0x20d)]=0x6,a116_0x49a88d[a116_0x228286(0x203)]=function(){const _0x259b1e=a116_0x228286,_0x35d584={};_0x35d584[_0x259b1e(0x1fa)]='TestFrameworkState.AFTER_EACH';const _0x7635d0=_0x35d584;return _0x7635d0[_0x259b1e(0x1fa)];};const a116_0x1edc23={};a116_0x1edc23[a116_0x228286(0x20d)]=0x7,a116_0x1edc23[a116_0x228286(0x203)]=function(){const _0x454f56=a116_0x228286,_0x4e5367={};_0x4e5367[_0x454f56(0x215)]=_0x454f56(0x214);const _0x28fd38=_0x4e5367;return _0x28fd38['flpes'];};const a116_0x3f9cc8={};a116_0x3f9cc8[a116_0x228286(0x20d)]=0x8,a116_0x3f9cc8[a116_0x228286(0x203)]=function(){const _0x5b0209=a116_0x228286,_0x5c12a7={};_0x5c12a7[_0x5b0209(0x20b)]=_0x5b0209(0x1ed);const _0xa3efbc=_0x5c12a7;return _0xa3efbc['UEazy'];};const a116_0x3f743d={};a116_0x3f743d[a116_0x228286(0x20d)]=0x9,a116_0x3f743d[a116_0x228286(0x203)]=function(){const _0xfc761b=a116_0x228286,_0x28e1eb={};_0x28e1eb['Ihvqf']=_0xfc761b(0x20a);const _0x373cd4=_0x28e1eb;return _0x373cd4[_0xfc761b(0x206)];};const a116_0x27a641={};a116_0x27a641[a116_0x228286(0x20d)]=0xa,a116_0x27a641['toString']=function(){const _0x129c92=a116_0x228286,_0x288bbe={};_0x288bbe[_0x129c92(0x1f5)]=_0x129c92(0x211);const _0x76a72=_0x288bbe;return _0x76a72['QUjfB'];};const a116_0xc13878={};a116_0xc13878[a116_0x228286(0x20d)]=0xb,a116_0xc13878[a116_0x228286(0x203)]=function(){const _0xcc9d2e=a116_0x228286,_0x3266d9={};_0x3266d9['efIBA']=_0xcc9d2e(0x1ef);const _0x59c2bc=_0x3266d9;return _0x59c2bc[_0xcc9d2e(0x1fe)];};const a116_0x45d77c={};a116_0x45d77c[a116_0x228286(0x20d)]=0xc,a116_0x45d77c[a116_0x228286(0x203)]=function(){const _0x3fdd75=a116_0x228286,_0x5f5d45={};_0x5f5d45[_0x3fdd75(0x1f4)]=_0x3fdd75(0x1fd);const _0x28c626=_0x5f5d45;return _0x28c626['OeivZ'];};const TestFrameworkState=Object[a116_0x228286(0x208)]({'NONE':a116_0x4ddaad,'BEFORE_ALL':a116_0x4ca4d0,'LOG':a116_0x3d6b72,'SETUP_FIXTURE':a116_0x274e0e,'INIT_TEST':a116_0x46b9f0,'BEFORE_EACH':a116_0x140191,'AFTER_EACH':a116_0x49a88d,'TEST':a116_0x1edc23,'STEP':a116_0x3f9cc8,'LOG_REPORT':a116_0x3f743d,'AFTER_ALL':a116_0x27a641,'TEST_SCREENSHOT':a116_0xc13878,'TEST_STEP':a116_0x45d77c,'fromValue'(_0x307105){const _0xd8b4e7=a116_0x228286;return Object[_0xd8b4e7(0x1f9)](TestFrameworkState)[_0xd8b4e7(0x1f3)](_0x2669bd=>_0x2669bd[_0xd8b4e7(0x20d)]===_0x307105);}});module[a116_0x228286(0x1ff)]=TestFrameworkState;
@@ -1 +1 @@
1
- const a117_0x197bec=a117_0x55f3;function a117_0x55f3(_0x36d697,_0x4f06dd){const _0x3f8be6=a117_0x3f8b();return a117_0x55f3=function(_0x55f3f8,_0xe50f26){_0x55f3f8=_0x55f3f8-0x1e8;let _0x1db3c8=_0x3f8be6[_0x55f3f8];return _0x1db3c8;},a117_0x55f3(_0x36d697,_0x4f06dd);}function a117_0x3f8b(){const _0x1703c1=['9550098cikZFE','nqEsb','https','TestLevel','getTestFramework','./TestInfo','1EzzGQa','607538GNrwoB','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','RtdQD','./state/hookState','name','exports','ndcMO','TEST','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','resolveInstance','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','currentTest','BuildLevel','./state/testFrameworkState','statusCode','.browserstack','http://','qkAaT','319800wUGcDg','../../helpers/classLogger.js','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','KEY_FILE_NAME','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','message','recursive','__jestCurrentTestIdentifier','Attachment\x20recevied\x20for\x20path:\x20%s','ETvdT','basename','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','CIaFk','MHESh','getTestFrameworkDetail','YosyT','isRunning','Created\x20folder:\x20%s','zOgZR','getAllData','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','774471wtryIr','lOrJg','copyFileSync','join','existsSync','./framework/automationFramework','startsWith','Cleared\x20attachment\x20folder','uCjim','vrXsN','RStYa','format','Gcfpg','VNeaK','testhubConfig','WsSAD','jest','yRySU',',\x20filepath:\x20','error','Niwkr','TestHubModule','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','createWriteStream','hKmxy','toFixed','getTestIdentifierFromTestInfo','HgWVP','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','DwEOh','vGNCI','setTestDetails','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','get','modules','buildHashedId','nOEGN','./cliUtils','AgVrF','homedir','getState','http','TWXYc','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','addMultipleEntries','210scmHcj','logger','sBugC','rlKel','statSync','NtRyD','close','unlinkSync','aiYOb','getInstance','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','debug','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','uUvEd','./modules/playwrightDriverModule','KEY_TEST_ATTACHMENTS','trackFile','./browserstackCLI','KEY_FILE_PATH','umzYR','cMvCI','trim','__workerDetails','getTestDetails','path','OLplu','LPjoi','uploadAttachmentsManager','16373xHwWnJ','size','2860515rXToQd','uQLmW','1729408qGNdBW','clearAttachments','toLowerCase','bLNpe','finish','rkkVp','peaAC'];a117_0x3f8b=function(){return _0x1703c1;};return a117_0x3f8b();}(function(_0x2c3599,_0x2baef4){const _0x4f01fd=a117_0x55f3,_0x2d81d9=_0x2c3599();while(!![]){try{const _0x9c4991=parseInt(_0x4f01fd(0x20f))/0x1*(parseInt(_0x4f01fd(0x210))/0x2)+parseInt(_0x4f01fd(0x237))/0x3+parseInt(_0x4f01fd(0x222))/0x4+parseInt(_0x4f01fd(0x200))/0x5+parseInt(_0x4f01fd(0x265))/0x6*(-parseInt(_0x4f01fd(0x1fe))/0x7)+parseInt(_0x4f01fd(0x202))/0x8+-parseInt(_0x4f01fd(0x209))/0x9;if(_0x9c4991===_0x2baef4)break;else _0x2d81d9['push'](_0x2d81d9['shift']());}catch(_0x3b7c44){_0x2d81d9['push'](_0x2d81d9['shift']());}}}(a117_0x3f8b,0x461c0));const os=require('os'),fs=require('fs'),path=require(a117_0x197bec(0x1fa)),util=require('util'),BrowserstackCLI=require(a117_0x197bec(0x1f3)),https=require(a117_0x197bec(0x20b)),http=require(a117_0x197bec(0x260)),AutomationFramework=require(a117_0x197bec(0x23c)),PlaywrightDriverModule=require(a117_0x197bec(0x1f0)),TestInfo=require(a117_0x197bec(0x20e)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a117_0x197bec(0x223));class uploadAttachmentsManager{static ['logger']=createClassLogger(a117_0x197bec(0x1fd));static['uploadAttachments'](_0x26de35,_0x39e797=![]){const _0x5da9d2=a117_0x197bec,_0x195723={};_0x195723[_0x5da9d2(0x212)]=function(_0x4d40c1,_0xe18103){return _0x4d40c1/_0xe18103;},_0x195723[_0x5da9d2(0x1ea)]=function(_0x2f7212,_0x2145b5){return _0x2f7212*_0x2145b5;},_0x195723[_0x5da9d2(0x1f6)]=function(_0x1768df,_0x11a22e){return _0x1768df>_0x11a22e;},_0x195723['uQLmW']='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x195723[_0x5da9d2(0x255)]='File\x20downloaded\x20to:\x20%s',_0x195723[_0x5da9d2(0x22b)]=function(_0xe8d817,_0x3ef97b){return _0xe8d817===_0x3ef97b;},_0x195723['ndcMO']=_0x5da9d2(0x206),_0x195723['AgVrF']=_0x5da9d2(0x236),_0x195723[_0x5da9d2(0x234)]=_0x5da9d2(0x226),_0x195723[_0x5da9d2(0x205)]=_0x5da9d2(0x22a),_0x195723[_0x5da9d2(0x241)]=_0x5da9d2(0x21f),_0x195723[_0x5da9d2(0x26a)]=_0x5da9d2(0x218),_0x195723['rkkVp']='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x195723[_0x5da9d2(0x261)]=_0x5da9d2(0x233),_0x195723[_0x5da9d2(0x267)]=function(_0xf8180d,_0x4e3605){return _0xf8180d===_0x4e3605;},_0x195723['RmWIa']=_0x5da9d2(0x253),_0x195723['lEokR']='https://',_0x195723[_0x5da9d2(0x246)]=_0x5da9d2(0x220),_0x195723['XgrVS']=_0x5da9d2(0x24a),_0x195723['lTOFw']=_0x5da9d2(0x21a),_0x195723[_0x5da9d2(0x1ef)]=function(_0x3a4e00,_0x2573be){return _0x3a4e00/_0x2573be;},_0x195723[_0x5da9d2(0x208)]=function(_0x3bb712,_0xb124dd){return _0x3bb712*_0xb124dd;},_0x195723['qkAaT']=function(_0x2df9e4,_0x2a2e10){return _0x2df9e4>_0x2a2e10;},_0x195723[_0x5da9d2(0x231)]=_0x5da9d2(0x224);const _0x201945=_0x195723;this[_0x5da9d2(0x266)]['debug'](util[_0x5da9d2(0x242)](_0x201945[_0x5da9d2(0x205)],_0x26de35));const _0x483f51=os[_0x5da9d2(0x25e)](),_0x4b26b8=path['join'](_0x483f51,_0x201945[_0x5da9d2(0x241)]);!fs[_0x5da9d2(0x23b)](_0x4b26b8)&&(this[_0x5da9d2(0x266)]['debug'](util['format'](_0x201945[_0x5da9d2(0x26a)],_0x4b26b8)),fs['mkdirSync'](_0x4b26b8),this['logger']['debug'](util[_0x5da9d2(0x242)](_0x201945[_0x5da9d2(0x207)],_0x4b26b8)));const _0x42a0e9=BrowserstackCLI[_0x5da9d2(0x1eb)]()[_0x5da9d2(0x259)][_0x5da9d2(0x24c)]?.['testhubConfig']?.['toObject']()?.['buildHashedId'],_0x1a78fd=path['join'](_0x4b26b8,_0x42a0e9);!fs[_0x5da9d2(0x23b)](_0x1a78fd)&&(fs['mkdirSync'](_0x1a78fd),this[_0x5da9d2(0x266)][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945[_0x5da9d2(0x261)],_0x1a78fd)));if(_0x201945[_0x5da9d2(0x267)](_0x26de35[_0x5da9d2(0x1f7)](),'')){this[_0x5da9d2(0x266)][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945['RmWIa']));return;}if(_0x26de35[_0x5da9d2(0x23d)](_0x201945['lEokR'])||_0x26de35[_0x5da9d2(0x23d)](_0x201945[_0x5da9d2(0x246)])){const _0x22565a=_0x26de35[_0x5da9d2(0x23d)](_0x201945['lEokR'])?https:http,_0x2a743a=path['basename'](_0x26de35),_0x560023=path[_0x5da9d2(0x23a)](_0x1a78fd,_0x2a743a),_0xb5d301=fs[_0x5da9d2(0x24e)](_0x560023);_0x22565a[_0x5da9d2(0x258)](_0x26de35,_0x43bd00=>{const _0x1715bf=_0x5da9d2,_0x39ec22={'umzYR':function(_0x5306f1,_0x192b0f){const _0x5bc2cc=a117_0x55f3;return _0x201945[_0x5bc2cc(0x212)](_0x5306f1,_0x192b0f);},'dAVKz':function(_0x37106f,_0x204108){return _0x201945['aiYOb'](_0x37106f,_0x204108);},'Gcfpg':function(_0x5edaf7,_0x104e1b){const _0x164c20=a117_0x55f3;return _0x201945[_0x164c20(0x1f6)](_0x5edaf7,_0x104e1b);},'MHESh':_0x201945[_0x1715bf(0x201)],'QzZfP':_0x201945[_0x1715bf(0x255)]};if(_0x201945['ETvdT'](_0x43bd00[_0x1715bf(0x21e)],0xc8))_0x43bd00['pipe'](_0xb5d301),_0xb5d301['on'](_0x201945[_0x1715bf(0x216)],()=>{const _0x265658=_0x1715bf;_0xb5d301[_0x265658(0x1e8)]();const _0x2df43e=fs['statSync'](_0x560023),_0x408d40=_0x39ec22[_0x265658(0x1f5)](_0x2df43e['size'],_0x39ec22['dAVKz'](0x400,0x400));if(_0x39ec22[_0x265658(0x243)](_0x408d40,0x64)){this['logger'][_0x265658(0x1ed)](util['format'](_0x39ec22[_0x265658(0x22f)],_0x408d40[_0x265658(0x250)](0x2))),fs[_0x265658(0x1e9)](_0x560023);return;}this[_0x265658(0x266)][_0x265658(0x1ed)](util['format'](_0x39ec22['QzZfP'],_0x560023)),uploadAttachmentsManager[_0x265658(0x1f2)](_0x560023,_0x39e797);});else{this[_0x1715bf(0x266)][_0x1715bf(0x1ed)](util['format'](_0x201945[_0x1715bf(0x25d)],_0x43bd00[_0x1715bf(0x21e)])),_0xb5d301[_0x1715bf(0x1e8)](),fs['unlinkSync'](_0x560023);return;}})['on'](_0x201945['XgrVS'],_0x4085c8=>{const _0x2e456b=_0x5da9d2;this['logger'][_0x2e456b(0x1ed)](util['format'](_0x201945[_0x2e456b(0x234)],_0x4085c8[_0x2e456b(0x227)])),_0xb5d301[_0x2e456b(0x1e8)](),fs[_0x2e456b(0x1e9)](_0x560023);return;});}else{if(!fs['existsSync'](_0x26de35)){this[_0x5da9d2(0x266)][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945['lTOFw'],_0x26de35));return;}const _0x27b253=fs[_0x5da9d2(0x269)](_0x26de35),_0x49fa84=_0x201945['uUvEd'](_0x27b253[_0x5da9d2(0x1ff)],_0x201945[_0x5da9d2(0x208)](0x400,0x400));if(_0x201945[_0x5da9d2(0x221)](_0x49fa84,0x64)){this['logger'][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945['YosyT'],_0x49fa84[_0x5da9d2(0x250)](0x2)));return;}const _0x26c4a0=path[_0x5da9d2(0x22c)](_0x26de35),_0x56abe1=path[_0x5da9d2(0x23a)](_0x1a78fd,_0x26c4a0);fs[_0x5da9d2(0x239)](_0x26de35,_0x56abe1),uploadAttachmentsManager[_0x5da9d2(0x1f2)](_0x56abe1,_0x39e797);}}static[a117_0x197bec(0x1f2)](_0x486477,_0x772123){const _0xf1d5e1=a117_0x197bec,_0x2f1cb4={'yRySU':function(_0x37a088,_0x37c213){return _0x37a088(_0x37c213);},'VNeaK':_0xf1d5e1(0x1f3),'WDtcR':function(_0x50b7fe,_0x4a28dc){return _0x50b7fe(_0x4a28dc);},'nOEGN':_0xf1d5e1(0x25c),'hKmxy':function(_0x4728b9,_0x109312){return _0x4728b9===_0x109312;},'Niwkr':_0xf1d5e1(0x247),'ExQzr':_0xf1d5e1(0x262),'HgWVP':_0xf1d5e1(0x21c),'ckYFm':_0xf1d5e1(0x20c),'LPjoi':_0xf1d5e1(0x257),'CIaFk':function(_0x46f212,_0x178868){return _0x46f212(_0x178868);},'bCePV':_0xf1d5e1(0x21d),'vrXsN':function(_0x5e105b,_0x5de7d4){return _0x5e105b(_0x5de7d4);},'uCjim':_0xf1d5e1(0x213),'DwEOh':_0xf1d5e1(0x24d),'lOrJg':_0xf1d5e1(0x211),'ylzbn':_0xf1d5e1(0x22d)};try{let _0xa40c4;const _0x526afe=global[_0xf1d5e1(0x1f8)]?.[_0xf1d5e1(0x21b)]?.['testInfo'],_0x3b24ee=_0x2f1cb4[_0xf1d5e1(0x248)](require,_0x2f1cb4[_0xf1d5e1(0x244)]),_0x58dc97=_0x2f1cb4['WDtcR'](require,_0x2f1cb4[_0xf1d5e1(0x25b)]),_0x3d33c7=_0x3b24ee['getInstance']()[_0xf1d5e1(0x232)]()&&_0x2f1cb4[_0xf1d5e1(0x24f)](_0x58dc97[_0xf1d5e1(0x230)]()?.[_0xf1d5e1(0x214)]?.[_0xf1d5e1(0x204)](),_0x2f1cb4[_0xf1d5e1(0x24b)]);if(_0x3d33c7){_0xa40c4=global[_0xf1d5e1(0x229)];if(!_0xa40c4){const _0x12a430=AutomationFramework['getTrackedInstance']();_0xa40c4=AutomationFramework[_0xf1d5e1(0x25f)](_0x12a430,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0xf1d5e1(0x1ec)+_0xa40c4);}else{if(!_0x526afe){const _0x2e5704=AutomationFramework['getTrackedInstance']();_0xa40c4=AutomationFramework[_0xf1d5e1(0x25f)](_0x2e5704,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0xa40c4=TestInfo[_0xf1d5e1(0x251)](_0x526afe,_0x526afe['retry']);this[_0xf1d5e1(0x266)]['debug']('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0xa40c4);}if(!_0xa40c4){this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0x2f1cb4['ExQzr']);return;}const _0x2b7926={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0xf1d5e1(0x269)](_0x486477)[_0xf1d5e1(0x1ff)],[TestFrameworkConstants[_0xf1d5e1(0x225)]]:path[_0xf1d5e1(0x22c)](_0x486477),[TestFrameworkConstants[_0xf1d5e1(0x1f4)]]:_0x486477,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x772123?_0x2f1cb4[_0xf1d5e1(0x252)]:_0x2f1cb4['ckYFm']};if(_0x3d33c7){const _0x59c676=_0x3b24ee[_0xf1d5e1(0x1eb)]()[_0xf1d5e1(0x20d)]();if(!_0x59c676){this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0x2f1cb4[_0xf1d5e1(0x1fc)]);return;}const _0x1934e0=_0x2f1cb4[_0xf1d5e1(0x22e)](require,_0x2f1cb4['bCePV']),_0x1696e7=_0x2f1cb4[_0xf1d5e1(0x240)](require,_0x2f1cb4[_0xf1d5e1(0x23f)]),_0x5944a1=_0x59c676[_0xf1d5e1(0x219)](_0x1934e0[_0xf1d5e1(0x217)],_0x1696e7['POST']);if(!_0x5944a1){this[_0xf1d5e1(0x266)]['debug'](_0x2f1cb4[_0xf1d5e1(0x254)]);return;}const _0x545d9e=_0x5944a1[_0xf1d5e1(0x235)]()['get'](_0xa40c4)||{},_0x53f6e2=_0x545d9e[TestFrameworkConstants[_0xf1d5e1(0x1f1)]]||{},_0x463e4f={..._0x53f6e2};_0x463e4f[_0x486477]=_0x2b7926;const _0x487067=_0x463e4f,_0x5a70a2={[TestFrameworkConstants[_0xf1d5e1(0x1f1)]]:_0x487067},_0x341740={};_0x341740[_0xa40c4]=_0x5a70a2,_0x5944a1[_0xf1d5e1(0x264)](_0x341740),this['logger'][_0xf1d5e1(0x1ed)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0xa40c4+',\x20filepath:\x20'+_0x486477);}else{const _0x261dc3=TestInfo[_0xf1d5e1(0x1f9)](_0xa40c4),_0x453fc7=_0x261dc3[TestFrameworkConstants[_0xf1d5e1(0x1f1)]]||{};_0x453fc7[_0x486477]=_0x2b7926,_0x261dc3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x453fc7,TestInfo[_0xf1d5e1(0x256)](_0xa40c4,_0x261dc3),this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0xf1d5e1(0x1ee)+_0xa40c4+_0xf1d5e1(0x249)+_0x486477);}this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](util[_0xf1d5e1(0x242)](_0x2f1cb4[_0xf1d5e1(0x238)],_0x486477));}catch(_0x5e782a){this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](util['format'](_0x2f1cb4['ylzbn'],_0x5e782a[_0xf1d5e1(0x227)]));}}static[a117_0x197bec(0x203)](){const _0x7a9266=a117_0x197bec,_0x16461d={};_0x16461d[_0x7a9266(0x20a)]=_0x7a9266(0x21f),_0x16461d[_0x7a9266(0x1fb)]=_0x7a9266(0x263),_0x16461d[_0x7a9266(0x268)]=_0x7a9266(0x23e);const _0x47a4bc=_0x16461d,_0x14471f=os[_0x7a9266(0x25e)](),_0x1f1c9b=path[_0x7a9266(0x23a)](_0x14471f,_0x47a4bc[_0x7a9266(0x20a)]);if(!fs[_0x7a9266(0x23b)](_0x1f1c9b))return;const _0x4f763c=BrowserstackCLI[_0x7a9266(0x1eb)]()[_0x7a9266(0x259)][_0x7a9266(0x24c)]?.[_0x7a9266(0x245)]?.['toObject']()?.[_0x7a9266(0x25a)],_0x2319a8=_0x4f763c?path[_0x7a9266(0x23a)](_0x1f1c9b,_0x4f763c):null;if(!_0x2319a8||!fs[_0x7a9266(0x23b)](_0x2319a8)){this[_0x7a9266(0x266)]['debug'](util['format'](_0x47a4bc[_0x7a9266(0x1fb)],_0x4f763c));return;}const _0x4011d7={};_0x4011d7[_0x7a9266(0x228)]=!![],_0x4011d7['force']=!![],fs['rmSync'](_0x2319a8,_0x4011d7),this[_0x7a9266(0x266)]['debug'](util['format'](_0x47a4bc['rlKel']));}}module[a117_0x197bec(0x215)]=uploadAttachmentsManager;
1
+ const a117_0x593b38=a117_0x184c;function a117_0x184c(_0xbb66fb,_0x351d5c){const _0x54303c=a117_0x5430();return a117_0x184c=function(_0x184ca1,_0x4f1e7d){_0x184ca1=_0x184ca1-0x128;let _0x34bd4a=_0x54303c[_0x184ca1];return _0x34bd4a;},a117_0x184c(_0xbb66fb,_0x351d5c);}(function(_0x2c5172,_0x3c9673){const _0x195b4c=a117_0x184c,_0x42e2e0=_0x2c5172();while(!![]){try{const _0x348364=-parseInt(_0x195b4c(0x163))/0x1*(-parseInt(_0x195b4c(0x178))/0x2)+-parseInt(_0x195b4c(0x15d))/0x3+-parseInt(_0x195b4c(0x13f))/0x4*(parseInt(_0x195b4c(0x195))/0x5)+-parseInt(_0x195b4c(0x16e))/0x6+-parseInt(_0x195b4c(0x193))/0x7+parseInt(_0x195b4c(0x12c))/0x8*(-parseInt(_0x195b4c(0x1a4))/0x9)+parseInt(_0x195b4c(0x19d))/0xa;if(_0x348364===_0x3c9673)break;else _0x42e2e0['push'](_0x42e2e0['shift']());}catch(_0xb509d2){_0x42e2e0['push'](_0x42e2e0['shift']());}}}(a117_0x5430,0x967fd));const os=require('os'),fs=require('fs'),path=require(a117_0x593b38(0x192)),util=require(a117_0x593b38(0x14a)),BrowserstackCLI=require(a117_0x593b38(0x177)),https=require(a117_0x593b38(0x15b)),http=require(a117_0x593b38(0x19c)),AutomationFramework=require(a117_0x593b38(0x179)),PlaywrightDriverModule=require(a117_0x593b38(0x145)),TestInfo=require(a117_0x593b38(0x198)),TestFrameworkConstants=require(a117_0x593b38(0x143)),{createClassLogger}=require('../../helpers/classLogger.js');function a117_0x5430(){const _0x3667d7=['getTestIdentifierFromTestInfo','aXQoD','__workerDetails','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',',\x20filepath:\x20','40ZGJdgj','JMzKT','homedir','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','./framework/constants/testFrameworkConstants','ucKYV','./modules/playwrightDriverModule','LsnuJ','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','getTrackedInstance','bRaRN','util','toObject','basename','debug','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','force','ygxHO','statusCode','isRunning','currentTest','ANJok','asezl','kFqyt','name','createWriteStream','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','retry','https','clearAttachments','3290220tFasZg','__jestCurrentTestIdentifier','Cleared\x20attachment\x20folder','http://','rtUGi','modules','79JPjznr','testhubConfig','jhfqP','RzVAI','exports','getInstance','BVYkz','KEY_FILE_LEVEL','Created\x20.browserstack\x20folder\x20at:\x20%s','Attachment\x20recevied\x20for\x20path:\x20%s','KEY_TEST_ATTACHMENTS','1211664kWUBOD','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','close','./state/hookState','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','getTestDetails','statSync','IBXRS','buildHashedId','./browserstackCLI','31210wdMxNu','./framework/automationFramework','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','uAgVJ','etzbJ','jest','pipe','oRXsu','toFixed','VuTNL','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','KcSLq','message','TestHubModule','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','qqzGd','getTestFrameworkDetail','jPeAT','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','testInfo','logger','mkdirSync','get','hujSN','PXoYW','path','2711520EqCjGw','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','216310XfQTxi','existsSync','JwGPT','./TestInfo','PKibW','GSlDW','wiyKv','http','17488940LJrQzE','.browserstack','ZRdmR','getState','uploadAttachmentsManager','startsWith','WJHzk','2219220VSQJmL','xHWWK','join','getAllData','addMultipleEntries','IsHEx','POST','vVPuk','uploadAttachments','VxcVu','dbUWx','qNwcL','KEY_TEST_ID','8JNLcFp','https://','vrXFl','format','gUCKK','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','error','trackFile','TEST','GKEAo','resolveInstance','size','unlinkSync'];a117_0x5430=function(){return _0x3667d7;};return a117_0x5430();}class uploadAttachmentsManager{static ['logger']=createClassLogger(a117_0x593b38(0x1a1));static[a117_0x593b38(0x1ac)](_0x489354,_0x85d999=![]){const _0x14d68c=a117_0x593b38,_0x4dbaac={};_0x4dbaac[_0x14d68c(0x190)]=function(_0x37ba25,_0x41f373){return _0x37ba25/_0x41f373;},_0x4dbaac[_0x14d68c(0x165)]=function(_0x494687,_0xaf9be8){return _0x494687*_0xaf9be8;},_0x4dbaac[_0x14d68c(0x12a)]=function(_0x417428,_0x3e872f){return _0x417428>_0x3e872f;},_0x4dbaac['vrXFl']=_0x14d68c(0x131),_0x4dbaac[_0x14d68c(0x197)]='File\x20downloaded\x20to:\x20%s',_0x4dbaac[_0x14d68c(0x19f)]=function(_0x5cbf48,_0x3d79eb){return _0x5cbf48===_0x3d79eb;},_0x4dbaac[_0x14d68c(0x181)]='finish',_0x4dbaac['IBXRS']=_0x14d68c(0x147),_0x4dbaac[_0x14d68c(0x140)]=_0x14d68c(0x17a),_0x4dbaac['PKibW']=_0x14d68c(0x16c),_0x4dbaac[_0x14d68c(0x128)]='.browserstack',_0x4dbaac[_0x14d68c(0x156)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x4dbaac[_0x14d68c(0x130)]=_0x14d68c(0x16b),_0x4dbaac[_0x14d68c(0x129)]='Created\x20folder:\x20%s',_0x4dbaac[_0x14d68c(0x17f)]=function(_0x2686e6,_0xdd26a4){return _0x2686e6===_0xdd26a4;},_0x4dbaac['cNClQ']='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x4dbaac[_0x14d68c(0x18a)]=_0x14d68c(0x12d),_0x4dbaac[_0x14d68c(0x1a9)]=_0x14d68c(0x160),_0x4dbaac[_0x14d68c(0x17b)]=_0x14d68c(0x132),_0x4dbaac[_0x14d68c(0x166)]=_0x14d68c(0x187),_0x4dbaac[_0x14d68c(0x169)]=function(_0x3fae7a,_0xf31bf2){return _0x3fae7a>_0xf31bf2;},_0x4dbaac[_0x14d68c(0x146)]=_0x14d68c(0x186);const _0x48091e=_0x4dbaac;this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util['format'](_0x48091e[_0x14d68c(0x199)],_0x489354));const _0x59ccc4=os[_0x14d68c(0x141)](),_0x2d4c3f=path[_0x14d68c(0x1a6)](_0x59ccc4,_0x48091e['VxcVu']);!fs[_0x14d68c(0x196)](_0x2d4c3f)&&(this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util['format'](_0x48091e[_0x14d68c(0x156)],_0x2d4c3f)),fs[_0x14d68c(0x18e)](_0x2d4c3f),this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util['format'](_0x48091e['gUCKK'],_0x2d4c3f)));const _0x4f18b3=BrowserstackCLI[_0x14d68c(0x168)]()[_0x14d68c(0x162)]['TestHubModule']?.[_0x14d68c(0x164)]?.['toObject']()?.[_0x14d68c(0x176)],_0x485a72=path[_0x14d68c(0x1a6)](_0x2d4c3f,_0x4f18b3);!fs[_0x14d68c(0x196)](_0x485a72)&&(fs['mkdirSync'](_0x485a72),this['logger'][_0x14d68c(0x14d)](util['format'](_0x48091e['dbUWx'],_0x485a72)));if(_0x48091e['oRXsu'](_0x489354['trim'](),'')){this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util[_0x14d68c(0x12f)](_0x48091e['cNClQ']));return;}if(_0x489354[_0x14d68c(0x1a2)](_0x48091e[_0x14d68c(0x18a)])||_0x489354[_0x14d68c(0x1a2)](_0x48091e['IsHEx'])){const _0x128053=_0x489354[_0x14d68c(0x1a2)](_0x48091e[_0x14d68c(0x18a)])?https:http,_0x616d7c=path['basename'](_0x489354),_0x2fdf73=path[_0x14d68c(0x1a6)](_0x485a72,_0x616d7c),_0x39c174=fs[_0x14d68c(0x158)](_0x2fdf73);_0x128053[_0x14d68c(0x18f)](_0x489354,_0x272ba9=>{const _0x153f64=_0x14d68c,_0x3c7ca={'xHWWK':function(_0x4da438,_0x3dc3e6){const _0x2c91ae=a117_0x184c;return _0x48091e[_0x2c91ae(0x190)](_0x4da438,_0x3dc3e6);},'KcSLq':function(_0x1bc339,_0x27831f){return _0x48091e['jhfqP'](_0x1bc339,_0x27831f);},'ANJok':function(_0x4687e5,_0x35dcc2){const _0x59258f=a117_0x184c;return _0x48091e[_0x59258f(0x12a)](_0x4687e5,_0x35dcc2);},'GSlDW':_0x48091e[_0x153f64(0x12e)],'qqzGd':_0x48091e[_0x153f64(0x197)]};if(_0x48091e['ZRdmR'](_0x272ba9[_0x153f64(0x151)],0xc8))_0x272ba9[_0x153f64(0x17e)](_0x39c174),_0x39c174['on'](_0x48091e[_0x153f64(0x181)],()=>{const _0x286017=_0x153f64;_0x39c174[_0x286017(0x170)]();const _0x245a8b=fs['statSync'](_0x2fdf73),_0x28c526=_0x3c7ca[_0x286017(0x1a5)](_0x245a8b[_0x286017(0x137)],_0x3c7ca[_0x286017(0x183)](0x400,0x400));if(_0x3c7ca[_0x286017(0x154)](_0x28c526,0x64)){this[_0x286017(0x18d)][_0x286017(0x14d)](util[_0x286017(0x12f)](_0x3c7ca[_0x286017(0x19a)],_0x28c526['toFixed'](0x2))),fs[_0x286017(0x138)](_0x2fdf73);return;}this['logger']['debug'](util[_0x286017(0x12f)](_0x3c7ca[_0x286017(0x188)],_0x2fdf73)),uploadAttachmentsManager[_0x286017(0x133)](_0x2fdf73,_0x85d999);});else{this[_0x153f64(0x18d)][_0x153f64(0x14d)](util['format'](_0x48091e[_0x153f64(0x175)],_0x272ba9[_0x153f64(0x151)])),_0x39c174[_0x153f64(0x170)](),fs[_0x153f64(0x138)](_0x2fdf73);return;}})['on'](_0x48091e[_0x14d68c(0x17b)],_0x2765b0=>{const _0x4605f1=_0x14d68c;this[_0x4605f1(0x18d)][_0x4605f1(0x14d)](util[_0x4605f1(0x12f)](_0x48091e['JMzKT'],_0x2765b0[_0x4605f1(0x184)])),_0x39c174[_0x4605f1(0x170)](),fs[_0x4605f1(0x138)](_0x2fdf73);return;});}else{if(!fs['existsSync'](_0x489354)){this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util[_0x14d68c(0x12f)](_0x48091e[_0x14d68c(0x166)],_0x489354));return;}const _0x569a5a=fs[_0x14d68c(0x174)](_0x489354),_0x41fb29=_0x48091e[_0x14d68c(0x190)](_0x569a5a[_0x14d68c(0x137)],_0x48091e[_0x14d68c(0x165)](0x400,0x400));if(_0x48091e[_0x14d68c(0x169)](_0x41fb29,0x64)){this[_0x14d68c(0x18d)][_0x14d68c(0x14d)](util[_0x14d68c(0x12f)](_0x48091e[_0x14d68c(0x146)],_0x41fb29[_0x14d68c(0x180)](0x2)));return;}const _0x4d4e63=path[_0x14d68c(0x14c)](_0x489354),_0x9334df=path[_0x14d68c(0x1a6)](_0x485a72,_0x4d4e63);fs['copyFileSync'](_0x489354,_0x9334df),uploadAttachmentsManager[_0x14d68c(0x133)](_0x9334df,_0x85d999);}}static[a117_0x593b38(0x133)](_0x1cb311,_0x3542d1){const _0x456139=a117_0x593b38,_0x2a6e3c={'etzbJ':function(_0x272b2b,_0x12ef12){return _0x272b2b(_0x12ef12);},'PXoYW':_0x456139(0x177),'GKEAo':'./cliUtils','uSMrG':function(_0x40d8d6,_0x1711d2){return _0x40d8d6===_0x1711d2;},'wiyKv':_0x456139(0x17d),'asezl':_0x456139(0x18b),'ZIRlp':'BuildLevel','dQmDz':'TestLevel','YXcdm':_0x456139(0x14e),'ucKYV':function(_0x25ca66,_0x28cea3){return _0x25ca66(_0x28cea3);},'ygxHO':'./state/testFrameworkState','bRaRN':_0x456139(0x171),'WJHzk':_0x456139(0x159),'aXQoD':_0x456139(0x16f),'xKycD':_0x456139(0x194)};try{let _0x434e6c;const _0x40ba8c=global[_0x456139(0x13b)]?.[_0x456139(0x153)]?.[_0x456139(0x18c)],_0x2ecd09=_0x2a6e3c[_0x456139(0x17c)](require,_0x2a6e3c[_0x456139(0x191)]),_0x1567a9=_0x2a6e3c['etzbJ'](require,_0x2a6e3c[_0x456139(0x135)]),_0x49e168=_0x2ecd09[_0x456139(0x168)]()[_0x456139(0x152)]()&&_0x2a6e3c['uSMrG'](_0x1567a9[_0x456139(0x189)]()?.[_0x456139(0x157)]?.['toLowerCase'](),_0x2a6e3c[_0x456139(0x19b)]);if(_0x49e168){_0x434e6c=global[_0x456139(0x15e)];if(!_0x434e6c){const _0x2e9a50=AutomationFramework[_0x456139(0x148)]();_0x434e6c=AutomationFramework[_0x456139(0x1a0)](_0x2e9a50,PlaywrightDriverModule[_0x456139(0x12b)],'');}this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x13c)+_0x434e6c);}else{if(!_0x40ba8c){const _0x25ce17=AutomationFramework['getTrackedInstance']();_0x434e6c=AutomationFramework[_0x456139(0x1a0)](_0x25ce17,PlaywrightDriverModule[_0x456139(0x12b)],'');}else _0x434e6c=TestInfo[_0x456139(0x139)](_0x40ba8c,_0x40ba8c[_0x456139(0x15a)]);this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x172)+_0x434e6c);}if(!_0x434e6c){this[_0x456139(0x18d)][_0x456139(0x14d)](_0x2a6e3c[_0x456139(0x155)]);return;}const _0x17025c={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x456139(0x174)](_0x1cb311)[_0x456139(0x137)],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0x1cb311),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x1cb311,[TestFrameworkConstants[_0x456139(0x16a)]]:_0x3542d1?_0x2a6e3c['ZIRlp']:_0x2a6e3c['dQmDz']};if(_0x49e168){const _0x5e008e=_0x2ecd09['getInstance']()['getTestFramework']();if(!_0x5e008e){this[_0x456139(0x18d)][_0x456139(0x14d)](_0x2a6e3c['YXcdm']);return;}const _0x47336f=_0x2a6e3c[_0x456139(0x144)](require,_0x2a6e3c[_0x456139(0x150)]),_0x4a8def=_0x2a6e3c[_0x456139(0x17c)](require,_0x2a6e3c[_0x456139(0x149)]),_0x50cb9d=_0x5e008e[_0x456139(0x136)](_0x47336f[_0x456139(0x134)],_0x4a8def[_0x456139(0x1aa)]);if(!_0x50cb9d){this[_0x456139(0x18d)][_0x456139(0x14d)](_0x2a6e3c[_0x456139(0x1a3)]);return;}const _0x48aab0=_0x50cb9d[_0x456139(0x1a7)]()[_0x456139(0x18f)](_0x434e6c)||{},_0x3e3e00=_0x48aab0[TestFrameworkConstants[_0x456139(0x16d)]]||{},_0x3570a3={..._0x3e3e00};_0x3570a3[_0x1cb311]=_0x17025c;const _0x2dbd14=_0x3570a3,_0x3502b8={[TestFrameworkConstants[_0x456139(0x16d)]]:_0x2dbd14},_0x3579ac={};_0x3579ac[_0x434e6c]=_0x3502b8,_0x50cb9d[_0x456139(0x1a8)](_0x3579ac),this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x142)+_0x434e6c+_0x456139(0x13e)+_0x1cb311);}else{const _0x2ca5db=TestInfo[_0x456139(0x173)](_0x434e6c),_0x41f4af=_0x2ca5db[TestFrameworkConstants[_0x456139(0x16d)]]||{};_0x41f4af[_0x1cb311]=_0x17025c,_0x2ca5db[TestFrameworkConstants[_0x456139(0x16d)]]=_0x41f4af,TestInfo['setTestDetails'](_0x434e6c,_0x2ca5db),this[_0x456139(0x18d)][_0x456139(0x14d)](_0x456139(0x182)+_0x434e6c+',\x20filepath:\x20'+_0x1cb311);}this[_0x456139(0x18d)][_0x456139(0x14d)](util[_0x456139(0x12f)](_0x2a6e3c[_0x456139(0x13a)],_0x1cb311));}catch(_0x2bcaed){this[_0x456139(0x18d)][_0x456139(0x14d)](util['format'](_0x2a6e3c['xKycD'],_0x2bcaed[_0x456139(0x184)]));}}static[a117_0x593b38(0x15c)](){const _0x2395f7=a117_0x593b38,_0x2e2ca5={};_0x2e2ca5['RaViM']=_0x2395f7(0x19e),_0x2e2ca5[_0x2395f7(0x161)]=_0x2395f7(0x13d),_0x2e2ca5['vVPuk']=_0x2395f7(0x15f);const _0x10867f=_0x2e2ca5,_0x5bbfe3=os[_0x2395f7(0x141)](),_0x36f7bd=path['join'](_0x5bbfe3,_0x10867f['RaViM']);if(!fs[_0x2395f7(0x196)](_0x36f7bd))return;const _0x24ac3c=BrowserstackCLI[_0x2395f7(0x168)]()[_0x2395f7(0x162)][_0x2395f7(0x185)]?.[_0x2395f7(0x164)]?.[_0x2395f7(0x14b)]()?.['buildHashedId'],_0x4b08dd=_0x24ac3c?path['join'](_0x36f7bd,_0x24ac3c):null;if(!_0x4b08dd||!fs[_0x2395f7(0x196)](_0x4b08dd)){this[_0x2395f7(0x18d)][_0x2395f7(0x14d)](util[_0x2395f7(0x12f)](_0x10867f[_0x2395f7(0x161)],_0x24ac3c));return;}const _0x5126eb={};_0x5126eb['recursive']=!![],_0x5126eb[_0x2395f7(0x14f)]=!![],fs['rmSync'](_0x4b08dd,_0x5126eb),this[_0x2395f7(0x18d)][_0x2395f7(0x14d)](util[_0x2395f7(0x12f)](_0x10867f[_0x2395f7(0x1ab)]));}}module[a117_0x593b38(0x167)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a118_0x17ccc0=a118_0x3144;(function(_0x260a7f,_0x1f3652){const _0x45d341=a118_0x3144,_0x5e0da4=_0x260a7f();while(!![]){try{const _0x55a992=parseInt(_0x45d341(0x1d0))/0x1+parseInt(_0x45d341(0x244))/0x2+-parseInt(_0x45d341(0x1e4))/0x3*(-parseInt(_0x45d341(0x24a))/0x4)+parseInt(_0x45d341(0x1eb))/0x5+parseInt(_0x45d341(0x248))/0x6*(-parseInt(_0x45d341(0x1e2))/0x7)+parseInt(_0x45d341(0x236))/0x8*(-parseInt(_0x45d341(0x240))/0x9)+parseInt(_0x45d341(0x206))/0xa*(-parseInt(_0x45d341(0x241))/0xb);if(_0x55a992===_0x1f3652)break;else _0x5e0da4['push'](_0x5e0da4['shift']());}catch(_0x1e7c5d){_0x5e0da4['push'](_0x5e0da4['shift']());}}}(a118_0x27dc,0xa93ff));const path=require(a118_0x17ccc0(0x1ea)),util=require(a118_0x17ccc0(0x202)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x17ccc0(0x1f9)),logger=require('../../../helpers/logger.js')[a118_0x17ccc0(0x1de)],{o11yClassErrorHandler}=require(a118_0x17ccc0(0x227)),TestInfo=require(a118_0x17ccc0(0x1ff)),hooksMap={};function a118_0x3144(_0x3d7ad6,_0x5c8288){const _0x27dc75=a118_0x27dc();return a118_0x3144=function(_0x31449e,_0x5c96c6){_0x31449e=_0x31449e-0x1cb;let _0x43fff4=_0x27dc75[_0x31449e];return _0x43fff4;},a118_0x3144(_0x3d7ad6,_0x5c8288);}class CucumberUtils{constructor(){const _0x458fdb=a118_0x17ccc0;this['_gitConfigured']=![],this[_0x458fdb(0x1e8)]=null;}async['createTestFrameworkData'](_0x13f3d4,_0x955685,_0x3e0157,_0x1b6402,_0x2e5eca,_0x263fc8){const _0x3f1b99=a118_0x17ccc0,_0x5b1024={'gwzeS':function(_0x39146e,_0x231ba3){return _0x39146e===_0x231ba3;},'JNBye':_0x3f1b99(0x220),'bwVXD':_0x3f1b99(0x223),'KKTBO':_0x3f1b99(0x20f),'eIeMV':'skipped','vdRlS':function(_0x23516e,_0x17cbe9){return _0x23516e||_0x17cbe9;},'gFZAQ':function(_0x5b7ef8,_0x1fc9b7){return _0x5b7ef8+_0x1fc9b7;},'ZiHcm':function(_0x614371,_0x25657f){return _0x614371+_0x25657f;},'VMdeD':function(_0x211c80,_0x3d1089){return _0x211c80+_0x3d1089;},'AzdzV':'test','yNTwf':_0x3f1b99(0x226),'OWHby':'cucumber','EdYNK':'pending','IxcmA':_0x3f1b99(0x1d6),'QsxIx':function(_0x42454b,_0x3f0169){return _0x42454b!==_0x3f0169;},'aMnDf':function(_0x333bc3,_0x5767b4){return _0x333bc3/_0x5767b4;},'xYviA':function(_0x8df648,_0x444963){return _0x8df648===_0x444963;},'klhMI':_0x3f1b99(0x214),'PCZrO':function(_0x16f626,_0x3257a4){return _0x16f626(_0x3257a4);},'TDwGJ':'unknown','vHOSR':_0x3f1b99(0x23d),'GyfPt':'UnhandledError'},{feature:_0x415593,scenario:_0x4ca7b3,steps:_0x24192b,uuid:_0x5f427,startedAt:_0x5c223b,finishedAt:_0x18d0e9}=_0x5b1024['vdRlS'](_0x13f3d4,{}),_0x2ef432=this['getScenarioExamples'](_0x1b6402,_0x955685);await this['configureGit']();const _0x37ee09=_0x2ef432?_0x5b1024[_0x3f1b99(0x24d)](_0x5b1024['ZiHcm'](_0x5b1024[_0x3f1b99(0x213)](_0x955685[_0x3f1b99(0x205)],'\x20('),_0x2ef432[_0x3f1b99(0x21d)](',\x20')),')'):_0x955685[_0x3f1b99(0x205)],_0x386e11={'id':_0x2e5eca,'uuid':_0x2e5eca,'startedAt':_0x5c223b,'finishedAt':_0x18d0e9,'type':_0x5b1024[_0x3f1b99(0x237)],'body':{'lang':_0x5b1024[_0x3f1b99(0x1d2)],'code':null},'name':_0x37ee09,'scopes':[_0x415593&&_0x415593[_0x3f1b99(0x205)]?_0x415593[_0x3f1b99(0x205)]:''],'tags':_0x955685[_0x3f1b99(0x1f3)]?_0x955685[_0x3f1b99(0x1f3)][_0x3f1b99(0x20e)](({name:_0x2c90cd})=>_0x2c90cd):[],'file_name':_0x955685['uri'],'location':_0x955685[_0x3f1b99(0x23f)],'vc_filepath':this[_0x3f1b99(0x1e8)]&&_0x955685[_0x3f1b99(0x23f)]?path[_0x3f1b99(0x1dc)](this[_0x3f1b99(0x1e8)],_0x955685[_0x3f1b99(0x23f)]):null,'framework':_0x5b1024[_0x3f1b99(0x1ec)],'result':_0x5b1024[_0x3f1b99(0x23c)],'meta':{'feature':_0x415593,'scenario':_0x4ca7b3,'steps':_0x24192b,'examples':_0x2ef432},'customRerunParam':{'rerun_name':_0x37ee09}};if(_0x3e0157[_0x3f1b99(0x245)]&&_0x24192b){const _0x5a5de7=_0x3e0157[_0x3f1b99(0x245)];let _0x11a988=_0x5b1024['IxcmA'];_0x24192b['every'](_0x15d2c5=>{const _0x46ac7c=_0x3f1b99;if(_0x5b1024[_0x46ac7c(0x1e3)](_0x15d2c5[_0x46ac7c(0x22d)],_0x5b1024[_0x46ac7c(0x210)]))return _0x11a988=_0x5b1024['bwVXD'],_0x5a5de7[_0x46ac7c(0x20d)]=_0x15d2c5[_0x46ac7c(0x20d)],_0x5a5de7[_0x46ac7c(0x217)]=_0x15d2c5[_0x46ac7c(0x217)],![];else{if(_0x5b1024[_0x46ac7c(0x1e3)](_0x15d2c5[_0x46ac7c(0x22d)],_0x5b1024['KKTBO']))return _0x11a988=_0x5b1024[_0x46ac7c(0x209)],![];}return!![];}),_0x386e11[_0x3f1b99(0x20b)]=new Date()['toISOString'](),_0x386e11[_0x3f1b99(0x22d)]=_0x11a988;_0x5a5de7['timestamp']&&_0x5b1024['QsxIx'](_0x5a5de7[_0x3f1b99(0x1e1)][_0x3f1b99(0x1f5)],undefined)?_0x386e11['duration_in_ms']=_0x5b1024['aMnDf'](_0x5a5de7[_0x3f1b99(0x1e1)]['nanos'],0xf4240):_0x386e11['duration_in_ms']=undefined;if(_0x5b1024[_0x3f1b99(0x20c)](_0x11a988,_0x5b1024[_0x3f1b99(0x23e)])){const {default:_0x5ada09}=await import(_0x5b1024[_0x3f1b99(0x1d4)]);_0x386e11[_0x3f1b99(0x20d)]=[{'backtrace':[_0x5a5de7['failure']?_0x5b1024[_0x3f1b99(0x1d5)](_0x5ada09,_0x5a5de7[_0x3f1b99(0x20d)]):_0x5b1024[_0x3f1b99(0x246)]]}],_0x386e11['failure_reason']=_0x5a5de7['failure']?_0x5b1024[_0x3f1b99(0x1d5)](_0x5ada09,_0x5a5de7[_0x3f1b99(0x20d)]):_0x5a5de7[_0x3f1b99(0x21b)],_0x5a5de7[_0x3f1b99(0x217)]&&(_0x386e11[_0x3f1b99(0x24b)]=_0x5a5de7[_0x3f1b99(0x217)]['match'](/AssertError/)?_0x5b1024['vHOSR']:_0x5b1024[_0x3f1b99(0x20a)]);}}return _0x386e11;}[a118_0x17ccc0(0x203)](_0x4c5054,_0x5e2874,_0x532ba2,_0xdf5134,_0x522d22,_0xb02040){const _0x48a658=a118_0x17ccc0,_0x262705={'tIuKl':function(_0xa8a5e0,_0x3ffad2){return _0xa8a5e0===_0x3ffad2;},'ImxUe':_0x48a658(0x1f0),'cygaO':function(_0xa10111,_0x38d920,_0x4749c7){return _0xa10111(_0x38d920,_0x4749c7);},'LqKbI':_0x48a658(0x1da),'piAcK':_0x48a658(0x23f),'EBMfF':'pending','nEzRZ':_0x48a658(0x204),'btOCB':_0x48a658(0x226),'tZooa':_0x48a658(0x1e9),'PvWNs':'name','fikuE':function(_0x1cd552,_0x4833c6,_0xbc8e60){return _0x1cd552(_0x4833c6,_0xbc8e60);},'QGZMZ':_0x48a658(0x1cb)};try{if(_0x262705['tIuKl'](_0x532ba2,_0x262705[_0x48a658(0x1ef)])){const _0x4112e7=new Date()[_0x48a658(0x1fe)](),_0x4d83b9=hooksMap[_0x5e2874];if(!_0x4d83b9)return;const _0x4d9afd=_0x4d83b9[_0x48a658(0x221)](_0x35e86c=>_0x35e86c[_0x48a658(0x1e6)]===_0xdf5134['id']);if(!_0x4d9afd)return;const _0xb12115=this[_0x48a658(0x1d1)](_0x4c5054,_0x5e2874);_0x4d9afd[_0x48a658(0x22d)]=_0xb12115['status'],_0x4d9afd['finished_at']=_0x4112e7,_0x4d9afd[_0x48a658(0x24b)]=_0xb12115[_0x48a658(0x217)];const _0x90b25={};return _0x90b25['backtrace']=_0xb12115['failureData'],_0x4d9afd['failure_data']=[_0x90b25],_0x4d9afd;}const _0x5d61ef=TestInfo[_0x48a658(0x1cd)](_0x5e2874),_0x558db4=_0x4c5054['hooks']['find'](_0xbe7c8f=>_0xbe7c8f['id']===_0xdf5134['hookId']),_0x214591=_0x262705['cygaO'](nestedKeyValue,_0x558db4,[_0x262705[_0x48a658(0x249)],_0x262705[_0x48a658(0x1fb)]]),_0x723a6c=new Date()[_0x48a658(0x1fe)](),_0x5efaf4=_0x262705[_0x48a658(0x232)],_0x53920c=_0x558db4['tagExpression']?_0x558db4[_0x48a658(0x1df)][_0x48a658(0x1ee)]('\x20')[_0x48a658(0x230)](_0x3fde84=>_0x3fde84[_0x48a658(0x200)]('@')):[],_0x3a4680={'uuid':_0xdf5134['id'],'type':_0x262705[_0x48a658(0x22c)],'hook_type':_0xb02040,'name':_0x558db4[_0x48a658(0x205)],'body':{'lang':_0x262705[_0x48a658(0x247)],'code':null},'tags':_0x53920c,'test_run_id':_0x5d61ef,'scope':_0x262705['cygaO'](nestedKeyValue,_0x522d22,[_0x262705[_0x48a658(0x242)],_0x262705[_0x48a658(0x238)]]),'scopes':[_0x262705['fikuE'](nestedKeyValue,_0x522d22,[_0x262705[_0x48a658(0x242)],_0x262705[_0x48a658(0x238)]])||''],'file_name':_0x214591,'location':_0x214591,'vc_filepath':this[_0x48a658(0x1e8)]?path[_0x48a658(0x1dc)](this[_0x48a658(0x1e8)],_0x214591):null,'result':_0x5efaf4,'started_at':_0x723a6c,'framework':_0x262705[_0x48a658(0x22a)]};return _0x3a4680;}catch(_0x57f627){logger[_0x48a658(0x1e5)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x48a658(0x1f4)](_0x57f627)+'\x20');}}async[a118_0x17ccc0(0x1db)](_0x3f3c64,_0x139390,_0x8bb7a5,_0x18eb8f,_0x57b56f,_0x53c8eb){const _0xe95ce=a118_0x17ccc0,_0x493663={'siPny':function(_0x45ee91,_0x227b4b){return _0x45ee91===_0x227b4b;},'PdbVs':_0xe95ce(0x21a),'qhIRo':function(_0x2df483,_0x491c41,_0x32a54e){return _0x2df483(_0x491c41,_0x32a54e);},'Jtadh':_0xe95ce(0x1da),'UWMBN':_0xe95ce(0x23f),'LAioY':_0xe95ce(0x22e),'KNJfE':function(_0x5d866d,_0x3b1b28){return _0x5d866d===_0x3b1b28;},'SgBUD':'bstack'};try{const _0x1c6ea5=_0x18eb8f[_0xe95ce(0x221)](_0x15ca99=>_0x15ca99['id']===_0x57b56f);if(!_0x1c6ea5[_0xe95ce(0x24e)])return;const _0x9fa361=this['getCucumberHookType'](_0x18eb8f,_0x1c6ea5),_0x56c7d3=this['getHookRunEventData'](_0x3f3c64,_0x139390,_0x8bb7a5,_0x1c6ea5,_0x53c8eb,_0x9fa361);if(!_0x56c7d3)return;_0x493663[_0xe95ce(0x215)](_0x8bb7a5,_0x493663[_0xe95ce(0x1f8)])&&(hooksMap[_0x139390]?hooksMap[_0x139390][_0xe95ce(0x1d9)](_0x56c7d3):hooksMap[_0x139390]=[_0x56c7d3]);const _0x28f49c=_0x3f3c64['hooks']['find'](_0x3e6a29=>_0x3e6a29['id']===_0x1c6ea5['hookId']),_0x490833=_0x493663[_0xe95ce(0x234)](nestedKeyValue,_0x28f49c,[_0x493663['Jtadh'],_0x493663['UWMBN']]);if(!_0x490833)return;else{if(_0x490833['includes'](_0x493663['LAioY']))return;}if(_0x493663[_0xe95ce(0x1f6)](_0x56c7d3[_0xe95ce(0x205)],_0x493663[_0xe95ce(0x1dd)]))return;return _0x56c7d3;}catch(_0x8d389e){logger['debug'](_0xe95ce(0x1e0)+util[_0xe95ce(0x1f4)](_0x8d389e)+'\x20');}}[a118_0x17ccc0(0x1d1)](_0x2881d0,_0x5dfbca){const _0x1639ac=a118_0x17ccc0,_0x3dfa2a={};_0x3dfa2a[_0x1639ac(0x1d8)]=function(_0x2817be,_0x470619){return _0x2817be===_0x470619;},_0x3dfa2a[_0x1639ac(0x1fc)]=_0x1639ac(0x223),_0x3dfa2a[_0x1639ac(0x1d3)]=function(_0x89f4b9,_0x4d762f){return _0x89f4b9===_0x4d762f;},_0x3dfa2a[_0x1639ac(0x216)]=function(_0x287f28,_0x4ab516){return _0x287f28===_0x4ab516;},_0x3dfa2a['njmaF']=_0x1639ac(0x208),_0x3dfa2a[_0x1639ac(0x23a)]='AssertionError',_0x3dfa2a['fuzxL']=function(_0x416418,_0x2fc9d1){return _0x416418||_0x2fc9d1;};const _0xc17a8d=_0x3dfa2a,_0x5f1416=_0x2881d0['testStepFinished'][_0x5dfbca][_0x1639ac(0x233)];let _0x47f949,_0x42b7a2;return _0x5f1416&&_0xc17a8d[_0x1639ac(0x1d8)](_0x5f1416[_0x1639ac(0x21f)]['toString']()[_0x1639ac(0x218)](),_0xc17a8d[_0x1639ac(0x1fc)])&&(_0x47f949=_0xc17a8d[_0x1639ac(0x1d3)](_0x5f1416[_0x1639ac(0x1d7)],undefined)?_0x5f1416[_0x1639ac(0x21b)]:_0x5f1416['exception']['message'],_0x42b7a2=_0xc17a8d[_0x1639ac(0x216)](_0x5f1416[_0x1639ac(0x1d7)],undefined)?_0xc17a8d[_0x1639ac(0x235)]:_0x5f1416[_0x1639ac(0x21b)][_0x1639ac(0x201)](/Assert/)?_0xc17a8d[_0x1639ac(0x23a)]:_0xc17a8d['njmaF']),{'status':_0x5f1416[_0x1639ac(0x21f)][_0x1639ac(0x218)](),'failureType':_0xc17a8d[_0x1639ac(0x24c)](_0x42b7a2,null),'failureData':!_0x47f949?null:[_0x47f949]};}[a118_0x17ccc0(0x1f2)](_0xabbc60,_0x1d45fe){const _0x33458c=a118_0x17ccc0,_0x4efc1d={};_0x4efc1d['vywou']=function(_0x47b5b4,_0x4927af){return _0x47b5b4===_0x4927af;},_0x4efc1d['PrgpC']=_0x33458c(0x224),_0x4efc1d[_0x33458c(0x23b)]=_0x33458c(0x22f);const _0x38d5b2=_0x4efc1d;let _0xeb7733=![];for(const _0x4c8dc4 of _0xabbc60){_0x4c8dc4[_0x33458c(0x225)]&&(_0xeb7733=!![]);if(_0x38d5b2[_0x33458c(0x1cc)](_0x1d45fe['id'],_0x4c8dc4['id']))return _0xeb7733?_0x38d5b2['PrgpC']:_0x38d5b2[_0x33458c(0x23b)];}}[a118_0x17ccc0(0x1e7)]=(_0x4dbb6e,_0x558dbf)=>{const _0x19efd5=a118_0x17ccc0,_0x5a0867={};_0x5a0867[_0x19efd5(0x229)]=function(_0x25fcd2,_0x518682){return _0x25fcd2===_0x518682;},_0x5a0867[_0x19efd5(0x21c)]=function(_0x128418,_0x35e24f){return _0x128418===_0x35e24f;},_0x5a0867[_0x19efd5(0x1fa)]=function(_0x4c1ca9,_0xc11991){return _0x4c1ca9>_0xc11991;};const _0x57e529=_0x5a0867;if(!(_0x558dbf[_0x19efd5(0x1f7)]&&_0x57e529[_0x19efd5(0x1fa)](_0x558dbf['astNodeIds'][_0x19efd5(0x207)],0x1)))return;const _0x149bc1=_0x558dbf[_0x19efd5(0x1f7)][0x0],_0x54067a=_0x558dbf[_0x19efd5(0x1f7)][0x1],_0x2e397f=_0x4dbb6e['feature']&&_0x4dbb6e['feature'][_0x19efd5(0x212)]?_0x4dbb6e[_0x19efd5(0x1e9)][_0x19efd5(0x212)]:undefined;let _0x4fd096=[];_0x2e397f&&_0x2e397f[_0x19efd5(0x219)](_0x37e6f6=>{const _0x46638a=_0x19efd5,_0x3cf637={'aoFpe':function(_0x1351e8,_0x1c8b5b){const _0x5212a2=a118_0x3144;return _0x57e529[_0x5212a2(0x229)](_0x1351e8,_0x1c8b5b);}};if(_0x37e6f6[_0x46638a(0x228)])_0x37e6f6[_0x46638a(0x228)][_0x46638a(0x212)]['forEach'](_0x31882c=>{const _0x5c7691=_0x46638a;if(_0x31882c[_0x5c7691(0x239)]&&_0x3cf637['aoFpe'](_0x31882c[_0x5c7691(0x239)]['id'],_0x149bc1)&&_0x31882c[_0x5c7691(0x239)]['examples']){const _0x38a3fc=_0x31882c[_0x5c7691(0x239)]['examples']['flatMap'](_0x5d5815=>_0x5d5815['tableBody'])[_0x5c7691(0x221)](_0x5cc780=>_0x5cc780['id']===_0x54067a);let _0x3e78e4;_0x38a3fc&&_0x38a3fc[_0x5c7691(0x21e)]?_0x3e78e4=_0x38a3fc['cells'][_0x5c7691(0x20e)](_0x3f4e44=>_0x3f4e44[_0x5c7691(0x1f1)]):_0x3e78e4=[],_0x3e78e4&&(_0x4fd096=_0x3e78e4);}});else{if(_0x37e6f6[_0x46638a(0x239)]&&_0x57e529[_0x46638a(0x21c)](_0x37e6f6['scenario']['id'],_0x149bc1)&&_0x37e6f6[_0x46638a(0x239)]['examples']){const _0x758191=_0x37e6f6[_0x46638a(0x239)]['examples'][_0x46638a(0x1fd)](_0x49f768=>_0x49f768[_0x46638a(0x231)])[_0x46638a(0x221)](_0x1e5663=>_0x1e5663['id']===_0x54067a);let _0x3d81de;_0x758191&&_0x758191['cells']?_0x3d81de=_0x758191[_0x46638a(0x21e)][_0x46638a(0x20e)](_0x18c379=>_0x18c379['value']):_0x3d81de=[],_0x3d81de&&(_0x4fd096=_0x3d81de);}}});if(_0x4fd096[_0x19efd5(0x207)])return _0x4fd096;return;};async[a118_0x17ccc0(0x22b)](){const _0x8777a4=a118_0x17ccc0,_0x5d10d3={'SZuFX':function(_0x6add76){return _0x6add76();}};if(this['_gitConfigured'])return this[_0x8777a4(0x1e8)];const _0x27f7da=await _0x5d10d3[_0x8777a4(0x1ed)](getGitMetaData);_0x27f7da&&(this[_0x8777a4(0x1e8)]=_0x27f7da[_0x8777a4(0x1ce)]),this[_0x8777a4(0x211)]=!![];}}function a118_0x27dc(){const _0x5f4042=['gwzeS','2001126UFbLPK','debug','uuid','getScenarioExamples','_gitConfigPath','feature','path','1493840RkPZoC','OWHby','SZuFX','split','ImxUe','HookRunFinished','value','getCucumberHookType','tags','format','nanos','KNJfE','astNodeIds','PdbVs','../../../helpers/helper.js','WOogw','piAcK','kRHsX','flatMap','toISOString','../TestInfo.js','includes','match','util','getHookRunEventData','hook','name','2878630UZlSVs','length','UnhandledError','eIeMV','GyfPt','finishedAt','xYviA','failure','map','SKIPPED','JNBye','_gitConfigured','children','VMdeD','strip-ansi','siPny','ebKIR','failureType','toLowerCase','forEach','HookRunStarted','message','mmqoi','join','cells','status','FAILED','find','exports','failed','AFTER_EACH','pickleStepId','javascript','../../../helpers/test-observability/error-handler.js','rule','DijeA','QGZMZ','configureGit','nEzRZ','result','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','BEFORE_EACH','filter','tableBody','EBMfF','testStepResult','qhIRo','njmaF','4702920mwhtPm','AzdzV','PvWNs','scenario','rwaTp','hqHAY','EdYNK','AssertionError','bwVXD','uri','9IYKRzK','11dOVUGr','tZooa','sendHook','310424spEyqT','testCaseFinished','TDwGJ','btOCB','42CGGVoH','LqKbI','4LEfAjM','failure_type','fuzxL','gFZAQ','hookId','cucumber','vywou','getTestUUID','root','sendTestRunEventForCucumber','582122SciZKQ','getHookResult','yNTwf','dirsI','klhMI','PCZrO','passed','exception','cAORF','push','sourceReference','createHookData','relative','SgBUD','winstonLogger','tagExpression','Exception\x20in\x20createHookData:\x20','timestamp','134169DkkHsQ'];a118_0x27dc=function(){return _0x5f4042;};return a118_0x27dc();}module[a118_0x17ccc0(0x222)]=o11yClassErrorHandler(CucumberUtils,[a118_0x17ccc0(0x22b),'getScenarioExamples',a118_0x17ccc0(0x1f2),a118_0x17ccc0(0x1d1),a118_0x17ccc0(0x243),a118_0x17ccc0(0x203),a118_0x17ccc0(0x1cf),'createTestFrameworkData']);
1
+ const a118_0x3f35ea=a118_0x4c30;function a118_0x4be7(){const _0x25ce8d=['push','Exception\x20in\x20createHookData:\x20','rBGdr','getTestUUID','kZFMZ','debug','rzQqV','QtBgz','children','exports','HookRunFinished','UdBTZ','../TestInfo.js','testStepFinished','test','EcKNZ','pending','failure_reason','forEach','unknown','createTestFrameworkData','fRSep','rule','testStepResult','hooks','RVUWD','message','skipped','eNasx','toLowerCase','mnaaX','lYaKp','bstack','find','getHookRunEventData','1428410fHxNDg','sendTestRunEventForCucumber','failed','UOnVg','DJzXI','BEFORE_EACH','match','failure_type','tags','5nJaFCr','9MoBaMc','FJKKx','name','passed','winstonLogger','failure','toISOString','IuhVw','QfnoI','aDWtK','cmzcM','ukNSW','AssertionError','658QqUViQ','tableBody','SKIPPED','UnhandledError','_gitConfigured','relative','2244957THScbO','IoqbZ','flatMap','length','pGxdY','AwTOo','testCaseFinished','hook','26214Dwgilo','getCucumberHookType','value','duration_in_ms','toString','lNMjc','feature','failureType','sendHook','map','cucumber','finishedAt','_gitConfigPath','cells','exception','tagExpression','AXHuF','HookRunStarted','YvuTW','scenario','includes','81278ldkkuK','nanos','HleiV','eVTzu','failure_data','AFTER_EACH','1675285oGjAWg','jiIET','jEKok','jPTWZ','split','xZPGp','2195672BsHfVF','UATyn','hookId','failureData','join','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','HsUHL','36rdyidF','examples','Faoku','timestamp','astNodeIds','javascript','zPaaa','MSpbH','configureGit','createHookData','strip-ansi','3856UITfkm','status','../../../helpers/test-observability/error-handler.js','../../../helpers/logger.js','finished_at','393QTgcel','backtrace','iKppR','sourceReference','rQwFb','result','every','format','uri','getHookResult','sqkyq','UwRht','lfxyK','getScenarioExamples','path','eMGOv'];a118_0x4be7=function(){return _0x25ce8d;};return a118_0x4be7();}(function(_0x28818e,_0x36186d){const _0x49da37=a118_0x4c30,_0x2fb964=_0x28818e();while(!![]){try{const _0x4f0a3e=-parseInt(_0x49da37(0x116))/0x1*(parseInt(_0x49da37(0xb7))/0x2)+parseInt(_0x49da37(0xda))/0x3*(-parseInt(_0x49da37(0xd5))/0x4)+parseInt(_0x49da37(0xbd))/0x5+parseInt(_0x49da37(0xa2))/0x6*(parseInt(_0x49da37(0x124))/0x7)+parseInt(_0x49da37(0xc3))/0x8+parseInt(_0x49da37(0x117))/0x9*(parseInt(_0x49da37(0x10d))/0xa)+-parseInt(_0x49da37(0x12a))/0xb*(parseInt(_0x49da37(0xca))/0xc);if(_0x4f0a3e===_0x36186d)break;else _0x2fb964['push'](_0x2fb964['shift']());}catch(_0x19ddea){_0x2fb964['push'](_0x2fb964['shift']());}}}(a118_0x4be7,0x36077));const path=require(a118_0x3f35ea(0xe8)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a118_0x3f35ea(0xd8))[a118_0x3f35ea(0x11b)],{o11yClassErrorHandler}=require(a118_0x3f35ea(0xd7)),TestInfo=require(a118_0x3f35ea(0xf6)),hooksMap={};function a118_0x4c30(_0x477da7,_0x4cd911){const _0x4be72f=a118_0x4be7();return a118_0x4c30=function(_0x4c302d,_0x524d0a){_0x4c302d=_0x4c302d-0xa1;let _0x5542b7=_0x4be72f[_0x4c302d];return _0x5542b7;},a118_0x4c30(_0x477da7,_0x4cd911);}class CucumberUtils{constructor(){const _0x2d8dc2=a118_0x3f35ea;this[_0x2d8dc2(0x128)]=![],this['_gitConfigPath']=null;}async[a118_0x3f35ea(0xfe)](_0x1ba60b,_0x5b0812,_0x2f4518,_0x1dae63,_0x4cd7d2,_0x4e05f4){const _0x3bb416=a118_0x3f35ea,_0x125e09={'DJzXI':function(_0x599d85,_0x40b4d5){return _0x599d85===_0x40b4d5;},'MyoHM':'FAILED','kZFMZ':_0x3bb416(0x10f),'UwRht':_0x3bb416(0x126),'ZwsbO':_0x3bb416(0x105),'eMGOv':function(_0x1d1092,_0x581be0){return _0x1d1092||_0x581be0;},'zPaaa':function(_0x22468c,_0x116a8e){return _0x22468c+_0x116a8e;},'RVUWD':function(_0x397785,_0x1016a5){return _0x397785+_0x1016a5;},'WBakM':function(_0x402074,_0x12b2a6){return _0x402074+_0x12b2a6;},'HsUHL':_0x3bb416(0xf8),'lfxyK':_0x3bb416(0xcf),'secjI':_0x3bb416(0xac),'Lppyy':_0x3bb416(0xfa),'QtBgz':_0x3bb416(0x11a),'eVTzu':function(_0x188b54,_0x53e1fb){return _0x188b54!==_0x53e1fb;},'YvuTW':function(_0x17cec2,_0x15c319){return _0x17cec2/_0x15c319;},'CTvfH':function(_0x131708,_0x2b5fa2){return _0x131708===_0x2b5fa2;},'tBDmo':_0x3bb416(0xd4),'lNMjc':function(_0x493ae2,_0x4c4910){return _0x493ae2(_0x4c4910);},'yJEkX':_0x3bb416(0xfd),'UcBMY':_0x3bb416(0x123),'HleiV':_0x3bb416(0x127)},{feature:_0x2eb622,scenario:_0x137faa,steps:_0x4a586c,uuid:_0x464282,startedAt:_0x1da79c,finishedAt:_0x13e5de}=_0x125e09[_0x3bb416(0xe9)](_0x1ba60b,{}),_0x579c72=this['getScenarioExamples'](_0x1dae63,_0x5b0812);await this[_0x3bb416(0xd2)]();const _0x19702d=_0x579c72?_0x125e09[_0x3bb416(0xd0)](_0x125e09[_0x3bb416(0x103)](_0x125e09['WBakM'](_0x5b0812[_0x3bb416(0x119)],'\x20('),_0x579c72[_0x3bb416(0xc7)](',\x20')),')'):_0x5b0812[_0x3bb416(0x119)],_0x1412e2={'id':_0x4cd7d2,'uuid':_0x4cd7d2,'startedAt':_0x1da79c,'finishedAt':_0x13e5de,'type':_0x125e09[_0x3bb416(0xc9)],'body':{'lang':_0x125e09[_0x3bb416(0xe6)],'code':null},'name':_0x19702d,'scopes':[_0x2eb622&&_0x2eb622[_0x3bb416(0x119)]?_0x2eb622[_0x3bb416(0x119)]:''],'tags':_0x5b0812[_0x3bb416(0x115)]?_0x5b0812['tags'][_0x3bb416(0xab)](({name:_0x418211})=>_0x418211):[],'file_name':_0x5b0812[_0x3bb416(0xe2)],'location':_0x5b0812['uri'],'vc_filepath':this[_0x3bb416(0xae)]&&_0x5b0812[_0x3bb416(0xe2)]?path[_0x3bb416(0x129)](this[_0x3bb416(0xae)],_0x5b0812[_0x3bb416(0xe2)]):null,'framework':_0x125e09['secjI'],'result':_0x125e09['Lppyy'],'meta':{'feature':_0x2eb622,'scenario':_0x137faa,'steps':_0x4a586c,'examples':_0x579c72},'customRerunParam':{'rerun_name':_0x19702d}};if(_0x2f4518[_0x3bb416(0x130)]&&_0x4a586c){const _0x57b686=_0x2f4518[_0x3bb416(0x130)];let _0x1d02f2=_0x125e09[_0x3bb416(0xf1)];_0x4a586c[_0x3bb416(0xe0)](_0x886e45=>{const _0x57d0a4=_0x3bb416;if(_0x125e09[_0x57d0a4(0x111)](_0x886e45['result'],_0x125e09['MyoHM']))return _0x1d02f2=_0x125e09[_0x57d0a4(0xee)],_0x57b686[_0x57d0a4(0x11c)]=_0x886e45[_0x57d0a4(0x11c)],_0x57b686[_0x57d0a4(0xa9)]=_0x886e45[_0x57d0a4(0xa9)],![];else{if(_0x125e09[_0x57d0a4(0x111)](_0x886e45[_0x57d0a4(0xdf)],_0x125e09[_0x57d0a4(0xe5)]))return _0x1d02f2=_0x125e09['ZwsbO'],![];}return!![];}),_0x1412e2[_0x3bb416(0xad)]=new Date()['toISOString'](),_0x1412e2[_0x3bb416(0xdf)]=_0x1d02f2;_0x57b686[_0x3bb416(0xcd)]&&_0x125e09[_0x3bb416(0xba)](_0x57b686[_0x3bb416(0xcd)][_0x3bb416(0xb8)],undefined)?_0x1412e2[_0x3bb416(0xa5)]=_0x125e09[_0x3bb416(0xb4)](_0x57b686[_0x3bb416(0xcd)][_0x3bb416(0xb8)],0xf4240):_0x1412e2['duration_in_ms']=undefined;if(_0x125e09['CTvfH'](_0x1d02f2,_0x125e09[_0x3bb416(0xee)])){const {default:_0x22fde6}=await import(_0x125e09['tBDmo']);_0x1412e2[_0x3bb416(0x11c)]=[{'backtrace':[_0x57b686['failure']?_0x125e09[_0x3bb416(0xa7)](_0x22fde6,_0x57b686[_0x3bb416(0x11c)]):_0x125e09['yJEkX']]}],_0x1412e2[_0x3bb416(0xfb)]=_0x57b686[_0x3bb416(0x11c)]?_0x125e09['lNMjc'](_0x22fde6,_0x57b686[_0x3bb416(0x11c)]):_0x57b686[_0x3bb416(0x104)],_0x57b686[_0x3bb416(0xa9)]&&(_0x1412e2[_0x3bb416(0x114)]=_0x57b686[_0x3bb416(0xa9)][_0x3bb416(0x113)](/AssertError/)?_0x125e09['UcBMY']:_0x125e09[_0x3bb416(0xb9)]);}}return _0x1412e2;}['getHookRunEventData'](_0x59b171,_0x4ba53e,_0x30f955,_0x38d1b6,_0x328ff5,_0x25c216){const _0x192265=a118_0x3f35ea,_0x4b3ff5={'bbVXI':function(_0x37663e,_0x2a26bc){return _0x37663e===_0x2a26bc;},'iKppR':_0x192265(0xf4),'IuhVw':function(_0x57f05f,_0x34c9fb,_0x5fed9a){return _0x57f05f(_0x34c9fb,_0x5fed9a);},'fRSep':'sourceReference','rzQqV':'uri','MSpbH':_0x192265(0xfa),'mnaaX':_0x192265(0xa1),'AXHuF':'javascript','rBGdr':function(_0x2e69ad,_0x1bda1d,_0x13716a){return _0x2e69ad(_0x1bda1d,_0x13716a);},'eNasx':_0x192265(0xa8),'EcKNZ':_0x192265(0x119),'jPTWZ':function(_0x2a8a7b,_0x316153,_0x5a898c){return _0x2a8a7b(_0x316153,_0x5a898c);},'ddOUo':'cucumber'};try{if(_0x4b3ff5['bbVXI'](_0x30f955,_0x4b3ff5[_0x192265(0xdc)])){const _0x410a7a=new Date()[_0x192265(0x11d)](),_0x5a2836=hooksMap[_0x4ba53e];if(!_0x5a2836)return;const _0x3e6720=_0x5a2836['find'](_0x5a2818=>_0x5a2818['uuid']===_0x38d1b6['id']);if(!_0x3e6720)return;const _0x22d1ba=this[_0x192265(0xe3)](_0x59b171,_0x4ba53e);_0x3e6720[_0x192265(0xdf)]=_0x22d1ba['status'],_0x3e6720[_0x192265(0xd9)]=_0x410a7a,_0x3e6720[_0x192265(0x114)]=_0x22d1ba[_0x192265(0xa9)];const _0x41b50f={};return _0x41b50f[_0x192265(0xdb)]=_0x22d1ba[_0x192265(0xc6)],_0x3e6720[_0x192265(0xbb)]=[_0x41b50f],_0x3e6720;}const _0x20c1ec=TestInfo[_0x192265(0xed)](_0x4ba53e),_0x5c0e32=_0x59b171[_0x192265(0x102)][_0x192265(0x10b)](_0x111898=>_0x111898['id']===_0x38d1b6['hookId']),_0x2335d1=_0x4b3ff5[_0x192265(0x11e)](nestedKeyValue,_0x5c0e32,[_0x4b3ff5[_0x192265(0xff)],_0x4b3ff5[_0x192265(0xf0)]]),_0x238a9f=new Date()['toISOString'](),_0x188cb0=_0x4b3ff5[_0x192265(0xd1)],_0x11cf95=_0x5c0e32[_0x192265(0xb1)]?_0x5c0e32[_0x192265(0xb1)][_0x192265(0xc1)]('\x20')['filter'](_0x25e4a0=>_0x25e4a0[_0x192265(0xb6)]('@')):[],_0x4936fd={'uuid':_0x38d1b6['id'],'type':_0x4b3ff5[_0x192265(0x108)],'hook_type':_0x25c216,'name':_0x5c0e32['name'],'body':{'lang':_0x4b3ff5[_0x192265(0xb2)],'code':null},'tags':_0x11cf95,'test_run_id':_0x20c1ec,'scope':_0x4b3ff5[_0x192265(0xec)](nestedKeyValue,_0x328ff5,[_0x4b3ff5[_0x192265(0x106)],_0x4b3ff5[_0x192265(0xf9)]]),'scopes':[_0x4b3ff5[_0x192265(0xc0)](nestedKeyValue,_0x328ff5,[_0x4b3ff5[_0x192265(0x106)],_0x4b3ff5[_0x192265(0xf9)]])||''],'file_name':_0x2335d1,'location':_0x2335d1,'vc_filepath':this[_0x192265(0xae)]?path['relative'](this['_gitConfigPath'],_0x2335d1):null,'result':_0x188cb0,'started_at':_0x238a9f,'framework':_0x4b3ff5['ddOUo']};return _0x4936fd;}catch(_0x5f4139){logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x192265(0xe1)](_0x5f4139)+'\x20');}}async[a118_0x3f35ea(0xd3)](_0x32f3ed,_0x5b64f5,_0x4ca8d0,_0x104128,_0x4462d7,_0x50ac4f){const _0x18f43a=a118_0x3f35ea,_0x4364ca={'aDWtK':function(_0x3a50eb,_0x2bceed){return _0x3a50eb===_0x2bceed;},'AwTOo':_0x18f43a(0xb3),'lYaKp':function(_0x2d51bb,_0x19bee2,_0x9cd80f){return _0x2d51bb(_0x19bee2,_0x9cd80f);},'cmzcM':_0x18f43a(0xdd),'KQfxH':_0x18f43a(0xe2),'rQwFb':_0x18f43a(0xc8),'IoqbZ':_0x18f43a(0x10a)};try{const _0x36780b=_0x104128[_0x18f43a(0x10b)](_0x1d42b3=>_0x1d42b3['id']===_0x4462d7);if(!_0x36780b[_0x18f43a(0xc5)])return;const _0xd6dba9=this[_0x18f43a(0xa3)](_0x104128,_0x36780b),_0x81c801=this[_0x18f43a(0x10c)](_0x32f3ed,_0x5b64f5,_0x4ca8d0,_0x36780b,_0x50ac4f,_0xd6dba9);if(!_0x81c801)return;_0x4364ca[_0x18f43a(0x120)](_0x4ca8d0,_0x4364ca[_0x18f43a(0x12f)])&&(hooksMap[_0x5b64f5]?hooksMap[_0x5b64f5][_0x18f43a(0xea)](_0x81c801):hooksMap[_0x5b64f5]=[_0x81c801]);const _0x40e7d7=_0x32f3ed['hooks'][_0x18f43a(0x10b)](_0x191990=>_0x191990['id']===_0x36780b['hookId']),_0x38f376=_0x4364ca[_0x18f43a(0x109)](nestedKeyValue,_0x40e7d7,[_0x4364ca[_0x18f43a(0x121)],_0x4364ca['KQfxH']]);if(!_0x38f376)return;else{if(_0x38f376[_0x18f43a(0xb6)](_0x4364ca[_0x18f43a(0xde)]))return;}if(_0x4364ca[_0x18f43a(0x120)](_0x81c801[_0x18f43a(0x119)],_0x4364ca[_0x18f43a(0x12b)]))return;return _0x81c801;}catch(_0x491230){logger[_0x18f43a(0xef)](_0x18f43a(0xeb)+util[_0x18f43a(0xe1)](_0x491230)+'\x20');}}['getHookResult'](_0x3b147c,_0x2849c4){const _0x37808f=a118_0x3f35ea,_0x3a460a={};_0x3a460a[_0x37808f(0x110)]=function(_0x1c0997,_0x316718){return _0x1c0997===_0x316718;},_0x3a460a[_0x37808f(0xbe)]=_0x37808f(0x10f),_0x3a460a[_0x37808f(0xc2)]=_0x37808f(0x127),_0x3a460a[_0x37808f(0xe4)]=_0x37808f(0x123),_0x3a460a['jEKok']=function(_0x4e77c8,_0x28f8c0){return _0x4e77c8||_0x28f8c0;};const _0x9eaee7=_0x3a460a,_0x31e45a=_0x3b147c[_0x37808f(0xf7)][_0x2849c4][_0x37808f(0x101)];let _0x2de755,_0x20a0f6;return _0x31e45a&&_0x9eaee7[_0x37808f(0x110)](_0x31e45a[_0x37808f(0xd6)][_0x37808f(0xa6)]()[_0x37808f(0x107)](),_0x9eaee7[_0x37808f(0xbe)])&&(_0x2de755=_0x9eaee7[_0x37808f(0x110)](_0x31e45a[_0x37808f(0xb0)],undefined)?_0x31e45a[_0x37808f(0x104)]:_0x31e45a['exception']['message'],_0x20a0f6=_0x9eaee7[_0x37808f(0x110)](_0x31e45a[_0x37808f(0xb0)],undefined)?_0x9eaee7[_0x37808f(0xc2)]:_0x31e45a[_0x37808f(0x104)][_0x37808f(0x113)](/Assert/)?_0x9eaee7[_0x37808f(0xe4)]:_0x9eaee7[_0x37808f(0xc2)]),{'status':_0x31e45a[_0x37808f(0xd6)][_0x37808f(0x107)](),'failureType':_0x9eaee7[_0x37808f(0xbf)](_0x20a0f6,null),'failureData':!_0x2de755?null:[_0x2de755]};}[a118_0x3f35ea(0xa3)](_0x450816,_0x1adedf){const _0x1f28be=a118_0x3f35ea,_0x23a9ff={};_0x23a9ff[_0x1f28be(0x12e)]=function(_0x55912a,_0x5ae13d){return _0x55912a===_0x5ae13d;},_0x23a9ff[_0x1f28be(0x118)]=_0x1f28be(0xbc),_0x23a9ff[_0x1f28be(0x122)]=_0x1f28be(0x112);const _0x2a9cb4=_0x23a9ff;let _0x1f5765=![];for(const _0x4c2705 of _0x450816){_0x4c2705['pickleStepId']&&(_0x1f5765=!![]);if(_0x2a9cb4[_0x1f28be(0x12e)](_0x1adedf['id'],_0x4c2705['id']))return _0x1f5765?_0x2a9cb4['FJKKx']:_0x2a9cb4[_0x1f28be(0x122)];}}[a118_0x3f35ea(0xe7)]=(_0x21c50f,_0x2b0b5d)=>{const _0x1a37ec=a118_0x3f35ea,_0x3e3c2d={};_0x3e3c2d[_0x1a37ec(0xc4)]=function(_0x5d749f,_0x521252){return _0x5d749f===_0x521252;},_0x3e3c2d[_0x1a37ec(0xcc)]=function(_0x529135,_0xfb4524){return _0x529135===_0xfb4524;},_0x3e3c2d[_0x1a37ec(0xf5)]=function(_0x2e28f2,_0x1168be){return _0x2e28f2>_0x1168be;};const _0x4ed080=_0x3e3c2d;if(!(_0x2b0b5d[_0x1a37ec(0xce)]&&_0x4ed080['UdBTZ'](_0x2b0b5d['astNodeIds'][_0x1a37ec(0x12d)],0x1)))return;const _0x31840c=_0x2b0b5d[_0x1a37ec(0xce)][0x0],_0xd3fe0a=_0x2b0b5d[_0x1a37ec(0xce)][0x1],_0x3caad3=_0x21c50f['feature']&&_0x21c50f['feature'][_0x1a37ec(0xf2)]?_0x21c50f[_0x1a37ec(0xa8)]['children']:undefined;let _0x4a9a3a=[];_0x3caad3&&_0x3caad3[_0x1a37ec(0xfc)](_0x4a8507=>{const _0x10a5d2=_0x1a37ec;if(_0x4a8507[_0x10a5d2(0x100)])_0x4a8507[_0x10a5d2(0x100)][_0x10a5d2(0xf2)][_0x10a5d2(0xfc)](_0x4a4193=>{const _0x375468=_0x10a5d2;if(_0x4a4193[_0x375468(0xb5)]&&_0x4ed080[_0x375468(0xc4)](_0x4a4193[_0x375468(0xb5)]['id'],_0x31840c)&&_0x4a4193[_0x375468(0xb5)][_0x375468(0xcb)]){const _0x97095=_0x4a4193[_0x375468(0xb5)][_0x375468(0xcb)][_0x375468(0x12c)](_0x39568e=>_0x39568e[_0x375468(0x125)])[_0x375468(0x10b)](_0x29493d=>_0x29493d['id']===_0xd3fe0a);let _0x209707;_0x97095&&_0x97095[_0x375468(0xaf)]?_0x209707=_0x97095[_0x375468(0xaf)][_0x375468(0xab)](_0xe0154c=>_0xe0154c[_0x375468(0xa4)]):_0x209707=[],_0x209707&&(_0x4a9a3a=_0x209707);}});else{if(_0x4a8507['scenario']&&_0x4ed080[_0x10a5d2(0xcc)](_0x4a8507['scenario']['id'],_0x31840c)&&_0x4a8507[_0x10a5d2(0xb5)][_0x10a5d2(0xcb)]){const _0xdfd928=_0x4a8507['scenario'][_0x10a5d2(0xcb)][_0x10a5d2(0x12c)](_0x2aca75=>_0x2aca75[_0x10a5d2(0x125)])[_0x10a5d2(0x10b)](_0x32a8e1=>_0x32a8e1['id']===_0xd3fe0a);let _0x252d8f;_0xdfd928&&_0xdfd928[_0x10a5d2(0xaf)]?_0x252d8f=_0xdfd928['cells'][_0x10a5d2(0xab)](_0x1d5e6b=>_0x1d5e6b[_0x10a5d2(0xa4)]):_0x252d8f=[],_0x252d8f&&(_0x4a9a3a=_0x252d8f);}}});if(_0x4a9a3a[_0x1a37ec(0x12d)])return _0x4a9a3a;return;};async[a118_0x3f35ea(0xd2)](){const _0x15e75d=a118_0x3f35ea,_0xa2a3b9={'QfnoI':function(_0x14d192){return _0x14d192();}};if(this[_0x15e75d(0x128)])return this[_0x15e75d(0xae)];const _0x223c3f=await _0xa2a3b9[_0x15e75d(0x11f)](getGitMetaData);_0x223c3f&&(this[_0x15e75d(0xae)]=_0x223c3f['root']),this[_0x15e75d(0x128)]=!![];}}module[a118_0x3f35ea(0xf3)]=o11yClassErrorHandler(CucumberUtils,[a118_0x3f35ea(0xd2),a118_0x3f35ea(0xe7),a118_0x3f35ea(0xa3),a118_0x3f35ea(0xe3),a118_0x3f35ea(0xaa),'getHookRunEventData',a118_0x3f35ea(0x10e),a118_0x3f35ea(0xfe)]);
@@ -1 +1 @@
1
- function a119_0x2391(){const _0x38ff6d=['treMi','HQUja','\x20from\x20compositeKey:\x20','gPWlx','format','GkTRF','path','gYmMA','failure','started_at','\x22\x20hook\x20for\x20\x22','../../../helpers/logger.js','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','416488bqYqLV','MOAGW','failure_backtrace','find','3183466tkRRqZ','prefixTestPath','recreateIdentifierFromTestInfo','Unknown\x20Test','result','mIapU','cwd','../../../helpers/test-observability/error-handler.js','beforeEach','vWCCo','split','HULAG','kqZNq','finishedAt','reverse','ZzoOg','TestRunSkipped','error','_paths','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','129UITljB','gwUbr','displayName','includes','AFTER_ALL',',\x20testRunId:\x20','2685RuHNbT','toString','getHookRunEventData','zBvSL','hRbtQ','jest-circus','extractTestFilePath','17SZsnvb','root','RVpyg','failed','hook','file','call','2653963ABlIYJ','getHierarchy','err','5354964VcFVZs','MdXqz','esjgm','TwRBP','pid','failure_data','backtrace','isJestInternalHook','testIdentifier','ojeOB','retryOf','xWIqp','pSfYr','../../../helpers/test-observability/utils','stack','afterEach','eeAfa','skipped','OUCYr','passed','configureGit','vqlkg','browserstack-node-agent/src/bin/jest','errorsDetailed','createJestTestIdentifier','../../../helpers/helper.js','Creating\x20hook\x20data\x20for\x20eventType:\x20','createHash','now','type','526ityQlv',',\x20hookUUID:\x20','HookRunStarted','parse','afterAll','startedAt','nPTwi','[jestUtils]\x20No\x20test\x20object\x20provided','sTKYD','Exception\x20in\x20createTestFrameworkData:\x20','getState','util','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','hooks','test','21ubMriz','zYpcM','../TestInfo.js','File\x20path\x20could\x20not\x20be\x20found','beforeAll','KOWFo','toUpperCase','12XQJWIm','failure_reason','ZCilw','winstonLogger','clearHooksMap','currentTest','idDTL','FiULO',',\x20testIdentifier:\x20','../../../helpers/stackFrameUtils','getTime','10dtMpvy','testAnalyticsId','createTestFrameworkData','ARidF','name','getName','rZucy','4548JDMPek','LXjtw','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','ROOT_DESCRIBE_BLOCK','getTestIdentifier','shSUg','vNvRy','rKLTv','stack-trace','__workerDetails','HIcMo','md5','createIdentifierFromJestTest','failure_reason_expanded','__jestCurrentTestIdentifier','parent','pRKof','testPath','GXydT','pPpGu','bdteb','apply','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','hex','_gitConfigPath','failure_type','toISOString','AFTER_EACH','DlyPX','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','length','TestRunFinished','createHookData','push','_gitConfigured','errors','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','zmPDP','fullName','WwsXI','pending','asyncError','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','duration','title','getFileName','NzyGv','3028nRRPhE','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','getRootParentFile','relative','OqfVp','inspect','debug','IfKnj','javascript','HookRunFinished','match'];a119_0x2391=function(){return _0x38ff6d;};return a119_0x2391();}const a119_0x2e9de9=a119_0x36bf;(function(_0x4303df,_0x2a0008){const _0xf5c2f5=a119_0x36bf,_0x1c666f=_0x4303df();while(!![]){try{const _0x240493=-parseInt(_0xf5c2f5(0xf8))/0x1*(parseInt(_0xf5c2f5(0x120))/0x2)+-parseInt(_0xf5c2f5(0xeb))/0x3*(parseInt(_0xf5c2f5(0xbb))/0x4)+parseInt(_0xf5c2f5(0xf1))/0x5*(parseInt(_0xf5c2f5(0x8c))/0x6)+-parseInt(_0xf5c2f5(0x12f))/0x7*(parseInt(_0xf5c2f5(0xd3))/0x8)+-parseInt(_0xf5c2f5(0x102))/0x9*(-parseInt(_0xf5c2f5(0x85))/0xa)+-parseInt(_0xf5c2f5(0xd7))/0xb+-parseInt(_0xf5c2f5(0x7a))/0xc*(parseInt(_0xf5c2f5(0xff))/0xd);if(_0x240493===_0x2a0008)break;else _0x1c666f['push'](_0x1c666f['shift']());}catch(_0x34dac2){_0x1c666f['push'](_0x1c666f['shift']());}}}(a119_0x2391,0x4cf90));const path=require(a119_0x2e9de9(0xcc)),util=require(a119_0x2e9de9(0x12b)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x2e9de9(0x11b)),logger=require(a119_0x2e9de9(0xd1))[a119_0x2e9de9(0x7d)],{o11yClassErrorHandler}=require(a119_0x2e9de9(0xde)),TestInfo=require(a119_0x2e9de9(0x131)),{failureData,getFailureType,PathHelper}=require(a119_0x2e9de9(0x10f)),stackTrace=require(a119_0x2e9de9(0x94)),{pickUserFrameFile}=require(a119_0x2e9de9(0x83)),a119_0x10833a={};a119_0x10833a[a119_0x2e9de9(0x133)]='BEFORE_ALL',a119_0x10833a[a119_0x2e9de9(0x124)]=a119_0x2e9de9(0xef),a119_0x10833a[a119_0x2e9de9(0xdf)]='BEFORE_EACH',a119_0x10833a[a119_0x2e9de9(0x111)]=a119_0x2e9de9(0xa7);const HOOK_TYPES_MAP=a119_0x10833a,hooksMap={};function a119_0x36bf(_0x1fa59f,_0x455020){const _0x239184=a119_0x2391();return a119_0x36bf=function(_0x36bfd7,_0x20ec27){_0x36bfd7=_0x36bfd7-0x7a;let _0x358053=_0x239184[_0x36bfd7];return _0x358053;},a119_0x36bf(_0x1fa59f,_0x455020);}class JestUtils{constructor(){const _0x22f72c=a119_0x2e9de9;this[_0x22f72c(0xae)]=![],this[_0x22f72c(0xa4)]=null,this['_paths']=new PathHelper({'cwd':process[_0x22f72c(0xdd)]()},undefined);}async['createTestFrameworkData'](_0x4dd86b,_0xd11877,_0x3b088d=a119_0x2e9de9(0xab),_0x18d53b=undefined){const _0x3f91c4=a119_0x2e9de9,_0x5b00b5={'pPpGu':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','ZzoOg':'jest-circus','vWCCo':_0x3f91c4(0x132),'GXydT':function(_0x13d2f5,_0x576fbb){return _0x13d2f5!==_0x576fbb;},'IfKnj':_0x3f91c4(0x12e),'zYpcM':_0x3f91c4(0x101),'WwsXI':_0x3f91c4(0xb4),'vNvRy':function(_0x59b9e7,_0x453afb){return _0x59b9e7===_0x453afb;},'vqlkg':_0x3f91c4(0xe7),'nWhWe':_0x3f91c4(0x113),'tgxGf':_0x3f91c4(0xab),'DlyPX':function(_0xb0fab3,_0x1b5055){return _0xb0fab3>_0x1b5055;},'GkTRF':'failed','HtZIN':'passed','HQUja':function(_0x30c8eb,_0x59d684){return _0x30c8eb!==_0x59d684;},'mIapU':function(_0x3ac154,_0x538f1a){return _0x3ac154-_0x538f1a;},'kQkig':_0x3f91c4(0xc3),'ZCilw':'jest','xtYVE':function(_0x1cedd9,_0x1e962d){return _0x1cedd9(_0x1e962d);},'eeAfa':function(_0x3c16c7,_0x256786){return _0x3c16c7===_0x256786;},'dTAFm':function(_0x543d19,_0x46fd3a){return _0x543d19===_0x46fd3a;}};logger[_0x3f91c4(0xc1)](_0x3f91c4(0xb6)+_0x3b088d+_0x3f91c4(0x82)+_0xd11877);try{if(!_0x4dd86b)return logger['debug'](_0x5b00b5[_0x3f91c4(0x9f)]),null;if(_0x4dd86b['fn']&&_0x4dd86b['fn'][_0x3f91c4(0xf2)]()[_0x3f91c4(0xc5)](/browserstack internal helper hook/))return null;await this[_0x3f91c4(0x116)]();let _0x15632f;try{_0x15632f=this[_0x3f91c4(0xbd)](_0x4dd86b);if(_0x15632f&&_0x15632f[_0x3f91c4(0xee)](_0x5b00b5[_0x3f91c4(0xe6)]))return null;}catch(_0xcec820){logger[_0x3f91c4(0xc1)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x3f91c4(0xca)](_0xcec820)),_0x15632f=null;}const _0x2af0df=this[_0x3f91c4(0x100)](_0x4dd86b),_0x9adb4d=this[_0x3f91c4(0x8a)](_0x4dd86b),_0x334275=_0x15632f?this[_0x3f91c4(0xe9)]['prefixTestPath'](_0x15632f):_0x5b00b5[_0x3f91c4(0xe0)];let _0xb57e0f=[];const _0x3cf283=_0x4dd86b['errorsDetailed']||_0x4dd86b[_0x3f91c4(0xaf)];if(_0x5b00b5['GXydT'](_0x3cf283,undefined))_0xb57e0f=[_0x3cf283,_0x5b00b5[_0x3f91c4(0xc2)]];else _0x5b00b5[_0x3f91c4(0x9e)](_0x18d53b,undefined)&&(_0xb57e0f=[_0x18d53b,_0x5b00b5[_0x3f91c4(0x130)]]);const _0x507d75=_0x5b00b5[_0x3f91c4(0x9e)](_0x3cf283,undefined)?util[_0x3f91c4(0xc0)](_0x3cf283[0x0]):_0x5b00b5[_0x3f91c4(0x9e)](_0x18d53b,undefined)?_0x18d53b['toString']():undefined;let _0x2050e4=_0x5b00b5[_0x3f91c4(0xb3)];if(_0x5b00b5[_0x3f91c4(0x92)](_0x3b088d,_0x5b00b5[_0x3f91c4(0x117)]))_0x2050e4=_0x5b00b5['nWhWe'];else _0x5b00b5[_0x3f91c4(0x92)](_0x3b088d,_0x5b00b5['tgxGf'])&&(_0x3cf283&&_0x5b00b5[_0x3f91c4(0xa8)](_0x3cf283['length'],0x0)?_0x2050e4=_0x5b00b5[_0x3f91c4(0xcb)]:_0x2050e4=_0x5b00b5['HtZIN']);let _0x528c14=null;if(_0x5b00b5[_0x3f91c4(0xc7)](_0x4dd86b[_0x3f91c4(0xb7)],undefined))_0x528c14=_0x4dd86b[_0x3f91c4(0xb7)];else(_0x3b088d[_0x3f91c4(0xc5)](/Finished/)||_0x3b088d[_0x3f91c4(0xc5)](/Skipped/))&&(_0x4dd86b[_0x3f91c4(0xcf)]&&(_0x528c14=_0x5b00b5[_0x3f91c4(0xdc)](Date[_0x3f91c4(0x11e)](),new Date(_0x4dd86b['started_at'])[_0x3f91c4(0x84)]())));const _0x53f9e7=_0x4dd86b['fn']?_0x4dd86b['fn'][_0x3f91c4(0xf2)]():null,_0x24ebf3={'id':_0xd11877,'uuid':_0xd11877,'startedAt':_0x4dd86b[_0x3f91c4(0xcf)]||new Date()[_0x3f91c4(0xa6)](),'finishedAt':_0x3b088d[_0x3f91c4(0xc5)](/Finished/)||_0x3b088d[_0x3f91c4(0xc5)](/Skipped/)?new Date()[_0x3f91c4(0xa6)]():null,'type':_0x5b00b5['IfKnj'],'body':{'lang':_0x5b00b5['kQkig'],'code':_0x53f9e7},'name':_0x9adb4d,'errorsDetailed':_0x5b00b5[_0x3f91c4(0xa8)](_0x3cf283?.[_0x3f91c4(0xaa)],0x0)?_0x3cf283[0x0]:_0x3cf283?_0x3cf283:undefined,'scopes':_0x2af0df,'file_name':_0x334275,'location':_0x334275,'vc_filepath':this[_0x3f91c4(0xa4)]&&_0x15632f?path[_0x3f91c4(0xbe)](this[_0x3f91c4(0xa4)],_0x15632f):null,'framework':_0x5b00b5[_0x3f91c4(0x7c)],'result':_0x2050e4,'failure_reason':_0x507d75,'duration_in_ms':_0x528c14,'failure':failureData[_0x3f91c4(0xa1)](null,_0xb57e0f),'failure_type':!_0x507d75?null:_0x5b00b5['xtYVE'](getFailureType,_0x507d75),'retry_of':_0x4dd86b[_0x3f91c4(0x10c)]||null,'customRerunParam':{'rerun_name':_0x9adb4d}};_0x5b00b5[_0x3f91c4(0x112)](_0x3b088d,_0x5b00b5[_0x3f91c4(0x117)])&&!_0x24ebf3[_0x3f91c4(0x125)]&&(_0x24ebf3[_0x3f91c4(0x125)]=_0x24ebf3[_0x3f91c4(0xe4)]);const _0x73bae7=_0x24ebf3['failure']&&_0x24ebf3[_0x3f91c4(0xce)][0x0];return _0x73bae7&&(_0x24ebf3[_0x3f91c4(0xd5)]=_0x73bae7[_0x3f91c4(0x108)],_0x24ebf3[_0x3f91c4(0x99)]=_0x73bae7['expanded']),(_0x5b00b5['dTAFm'](_0x3b088d,_0x5b00b5['tgxGf'])||_0x5b00b5[_0x3f91c4(0x92)](_0x3b088d,_0x5b00b5[_0x3f91c4(0x117)]))&&(_0x4dd86b[_0x3f91c4(0x12d)]&&(_0x24ebf3[_0x3f91c4(0x12d)]=_0x4dd86b['hooks'])),_0x24ebf3;}catch(_0x63a819){return logger[_0x3f91c4(0xc1)](_0x3f91c4(0x129)+util['format'](_0x63a819)),null;}}async[a119_0x2e9de9(0xac)](_0xdb4b8a,_0x3142e9,_0x321756,_0xd0fe8c){const _0x14d13f=a119_0x2e9de9,_0x3fa2ab={'yDWgt':_0x14d13f(0xb0),'FBocm':_0x14d13f(0xf6),'esjgm':_0x14d13f(0x118),'idDTL':'unknown','shSUg':'pending','xRSoZ':function(_0x143e80,_0x386d52){return _0x143e80===_0x386d52;},'Qmcal':_0x14d13f(0xc4),'nPTwi':function(_0x22add6,_0x2b9466){return _0x22add6>_0x2b9466;},'LXjtw':'failed','rZucy':function(_0x7a5f4f,_0x125e81){return _0x7a5f4f(_0x125e81);},'HULAG':_0x14d13f(0x12e),'RVpyg':_0x14d13f(0x115),'NzyGv':_0x14d13f(0xfc),'USlLH':_0x14d13f(0xc3),'ARidF':'jest','OqfVp':function(_0x1979f5,_0x445b28){return _0x1979f5===_0x445b28;},'KOWFo':_0x14d13f(0x122)};logger[_0x14d13f(0xc1)](_0x14d13f(0x11c)+_0x321756+_0x14d13f(0x121)+_0x3142e9+_0x14d13f(0xf0)+_0xd0fe8c);try{if(!_0xdb4b8a)return logger[_0x14d13f(0xc1)](_0x3fa2ab['yDWgt']),null;if(this['isJestInternalHook'](_0xdb4b8a))return null;await this['configureGit']();let _0x34d2ec=null;try{_0x34d2ec=this[_0x14d13f(0xbd)](_0xdb4b8a);if(_0x34d2ec&&_0x34d2ec[_0x14d13f(0xee)](_0x3fa2ab['FBocm']))return null;if(_0x34d2ec&&_0x34d2ec[_0x14d13f(0xee)](_0x3fa2ab[_0x14d13f(0x104)]))return null;}catch(_0x7b69f5){logger[_0x14d13f(0xc1)](_0x14d13f(0xa9)+util['format'](_0x7b69f5));}const _0x4d2a2e=_0x34d2ec?this['_paths'][_0x14d13f(0xd8)](_0x34d2ec):_0x34d2ec,_0x1660ea=this[_0x14d13f(0x8a)](_0xdb4b8a),_0x37db52=_0xdb4b8a[_0x14d13f(0x11f)]||_0x3fa2ab[_0x14d13f(0x80)],_0x56c6f2=HOOK_TYPES_MAP[_0x37db52]||_0x37db52[_0x14d13f(0x135)](),_0x564c01=_0xdb4b8a[_0x14d13f(0x9b)]&&_0xdb4b8a[_0x14d13f(0x9b)][_0x14d13f(0x89)]?_0xdb4b8a[_0x14d13f(0x9b)]['name']:'';let _0x477605=_0x3fa2ab[_0x14d13f(0x91)],_0x2950d8=null,_0x210401=null,_0x2940c1=null,_0x28b879=null;_0x3fa2ab['xRSoZ'](_0x321756,_0x3fa2ab['Qmcal'])&&(_0x28b879=new Date()['toISOString'](),_0xdb4b8a[_0x14d13f(0x119)]&&_0x3fa2ab[_0x14d13f(0x126)](_0xdb4b8a[_0x14d13f(0x119)]['length'],0x0)?(_0x477605=_0x3fa2ab[_0x14d13f(0x8d)],_0x210401=util['inspect'](_0xdb4b8a[_0x14d13f(0x119)][0x0]),_0x2950d8=_0x3fa2ab[_0x14d13f(0x8b)](getFailureType,_0x210401),_0x2940c1=failureData[_0x14d13f(0xa1)](null,[_0xdb4b8a[_0x14d13f(0x119)],_0x3fa2ab[_0x14d13f(0xe2)]])):_0x477605=_0x3fa2ab[_0x14d13f(0xfa)]);const _0x3fa499={'uuid':_0x3142e9,'type':_0x3fa2ab[_0x14d13f(0xba)],'hook_type':_0x56c6f2,'name':_0x1660ea,'body':{'lang':_0x3fa2ab['USlLH'],'code':_0xdb4b8a['fn']?_0xdb4b8a['fn'][_0x14d13f(0xf2)]():null},'tags':[],'test_run_id':_0xd0fe8c,'scope':_0x564c01,'scopes':[_0x564c01],'file_name':_0x4d2a2e,'location':_0x4d2a2e,'vc_filepath':this['_gitConfigPath']&&_0x34d2ec?path['relative'](this[_0x14d13f(0xa4)],_0x34d2ec):null,'result':_0x477605,'started_at':_0xdb4b8a[_0x14d13f(0xcf)]||new Date()[_0x14d13f(0xa6)](),'finished_at':_0x28b879,'failure_type':_0x2950d8,'failure_reason':_0x210401,'failure_data':_0x2940c1,'framework':_0x3fa2ab[_0x14d13f(0x88)]};return _0x3fa2ab[_0x14d13f(0xbf)](_0x321756,_0x3fa2ab[_0x14d13f(0x134)])&&(hooksMap[_0xd0fe8c]?hooksMap[_0xd0fe8c][_0x14d13f(0xad)](_0x3fa499):hooksMap[_0xd0fe8c]=[_0x3fa499]),_0x3fa499;}catch(_0x3e47c8){return logger[_0x14d13f(0xc1)]('Exception\x20in\x20createHookData:\x20'+util[_0x14d13f(0xca)](_0x3e47c8)),null;}}['getHookRunEventData'](_0x5ea0c0,_0x43515a,_0x11cfa9){const _0x4e1379=a119_0x2e9de9,_0x420b19={'OUCYr':function(_0x3df249,_0x60a858){return _0x3df249>_0x60a858;},'kqZNq':_0x4e1379(0xfb),'zBvSL':function(_0x4215f8,_0x695838){return _0x4215f8(_0x695838);},'MdXqz':_0x4e1379(0x12e),'HIcMo':'passed'};try{const _0x32c1e6=hooksMap[_0x5ea0c0];if(!_0x32c1e6)return null;const _0x4f3c9f=_0x32c1e6[_0x4e1379(0xd6)](_0x2f8bf7=>_0x2f8bf7['uuid']===_0x43515a);if(!_0x4f3c9f)return null;return _0x4f3c9f['finished_at']=new Date()[_0x4e1379(0xa6)](),_0x11cfa9['errorsDetailed']&&_0x420b19[_0x4e1379(0x114)](_0x11cfa9[_0x4e1379(0x119)][_0x4e1379(0xaa)],0x0)?(_0x4f3c9f['result']=_0x420b19[_0x4e1379(0xe3)],_0x4f3c9f['failure_reason']=util[_0x4e1379(0xc0)](_0x11cfa9['errorsDetailed'][0x0]),_0x4f3c9f[_0x4e1379(0xa5)]=_0x420b19[_0x4e1379(0xf4)](getFailureType,_0x4f3c9f[_0x4e1379(0x7b)]),_0x4f3c9f[_0x4e1379(0x107)]=failureData[_0x4e1379(0xa1)](null,[_0x11cfa9['errorsDetailed'],_0x420b19[_0x4e1379(0x103)]])):_0x4f3c9f[_0x4e1379(0xdb)]=_0x420b19[_0x4e1379(0x96)],_0x4f3c9f;}catch(_0x5e217f){return logger[_0x4e1379(0xc1)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x5e217f)),null;}}[a119_0x2e9de9(0x8a)](_0x52e52d){const _0x575061=a119_0x2e9de9,_0x515a3f={};_0x515a3f[_0x575061(0xcd)]=function(_0x2f900a,_0x28e23a){return _0x2f900a!==_0x28e23a;},_0x515a3f['jqnDC']=_0x575061(0x12e),_0x515a3f[_0x575061(0xc6)]=_0x575061(0xda);const _0x88f9cd=_0x515a3f;if(_0x88f9cd[_0x575061(0xcd)](_0x52e52d[_0x575061(0x11f)],_0x88f9cd['jqnDC']))return'\x22'+_0x52e52d[_0x575061(0x11f)]+_0x575061(0xd0)+(_0x52e52d[_0x575061(0x9b)]&&_0x52e52d[_0x575061(0x9b)][_0x575061(0x89)])+'\x22';return _0x52e52d[_0x575061(0x89)]||_0x88f9cd[_0x575061(0xc6)];}['getHierarchy'](_0x452125){const _0x224e83=a119_0x2e9de9,_0x2e38d3={};_0x2e38d3[_0x224e83(0x105)]=function(_0x269590,_0xbac4a0){return _0x269590!==_0xbac4a0;},_0x2e38d3[_0x224e83(0x81)]=_0x224e83(0x8f);const _0x5e1025=_0x2e38d3,_0xb9472b=[];if(_0x452125&&_0x452125['parent']){let _0x268f6c=_0x452125[_0x224e83(0x9b)];while(_0x268f6c&&_0x268f6c[_0x224e83(0x89)]&&_0x5e1025['TwRBP'](_0x268f6c[_0x224e83(0x89)],'')&&_0x5e1025[_0x224e83(0x105)](_0x268f6c['name'],_0x5e1025[_0x224e83(0x81)])){_0xb9472b[_0x224e83(0xad)](_0x268f6c['name']),_0x268f6c=_0x268f6c[_0x224e83(0x9b)];}}return _0xb9472b[_0x224e83(0xe5)](),_0xb9472b;}['getRootParentFile'](_0x18fb71){const _0x456078=a119_0x2e9de9,_0x4db9ee={'SMouG':function(_0x31659e,_0x537aae){return _0x31659e(_0x537aae);}};if(_0x18fb71['file'])return _0x18fb71['file'];if(_0x18fb71['asyncError'])try{const _0x24c856=stackTrace[_0x456078(0x123)][_0x456078(0xfe)](stackTrace,_0x18fb71[_0x456078(0xb5)]),_0xf41485=_0x4db9ee['SMouG'](pickUserFrameFile,_0x24c856);if(_0xf41485)return _0xf41485;logger[_0x456078(0xc1)](_0x456078(0x12c)+_0x24c856[_0x456078(0xaa)]+')');}catch(_0xcd8cb6){logger['debug'](_0x456078(0xd2)+util['format'](_0xcd8cb6));}return null;}[a119_0x2e9de9(0x109)](_0x4fd5e6){const _0xa18cc9=a119_0x2e9de9,_0x20caef={};_0x20caef[_0xa18cc9(0x10e)]=_0xa18cc9(0xf6);const _0x4b1449=_0x20caef;try{const _0x30a8cd=this[_0xa18cc9(0xbd)](_0x4fd5e6);if(!_0x30a8cd||_0x30a8cd['includes'](_0x4b1449[_0xa18cc9(0x10e)]))return!![];}catch(_0x1e955a){logger[_0xa18cc9(0xc1)]('Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20'+util[_0xa18cc9(0xca)](_0x1e955a));}return![];}[a119_0x2e9de9(0x90)](_0x257682=null){const _0x40c430=a119_0x2e9de9;try{const _0x29be0a=_0x257682||global[_0x40c430(0x95)]||{};if(global[_0x40c430(0x9a)])return global[_0x40c430(0x9a)];if(_0x29be0a?.[_0x40c430(0x7f)]?.[_0x40c430(0x86)])return _0x29be0a[_0x40c430(0x7f)]['testAnalyticsId'];if(_0x29be0a?.[_0x40c430(0x7f)]?.['id'])return _0x29be0a[_0x40c430(0x7f)]['id'];return null;}catch(_0x497ee4){return logger['debug'](_0x40c430(0xa2)+util[_0x40c430(0xca)](_0x497ee4)),null;}}async[a119_0x2e9de9(0x116)](){const _0x552469=a119_0x2e9de9,_0x5db948={'hRbtQ':function(_0x1e2c4b){return _0x1e2c4b();}};if(this[_0x552469(0xae)])return this['_gitConfigPath'];const _0xb36943=await _0x5db948[_0x552469(0xf5)](getGitMetaData);_0xb36943&&(this[_0x552469(0xa4)]=_0xb36943[_0x552469(0xf9)]),this[_0x552469(0xae)]=!![];}['clearHooksMap'](_0x33723e){hooksMap[_0x33723e]&&delete hooksMap[_0x33723e];}[a119_0x2e9de9(0xf7)](_0x21583f){const _0x5a1708=a119_0x2e9de9,_0x207386={'xWIqp':'jest-circus','ojeOB':function(_0xe2056b,_0x33a1e4){return _0xe2056b(_0x33a1e4);},'rKLTv':'expect'};if(_0x21583f[_0x5a1708(0xfd)])return _0x21583f[_0x5a1708(0xfd)];if(_0x21583f['asyncError']){try{const _0xc54993=stackTrace[_0x5a1708(0x123)](_0x21583f['asyncError']);if(_0xc54993[0x0]&&_0xc54993[0x0][_0x5a1708(0xb9)]){const _0x455335=_0xc54993[0x0][_0x5a1708(0xb9)]();if(_0x455335&&!_0x455335['includes'](_0x207386[_0x5a1708(0x10d)]))return _0x455335;}}catch(_0x1f898d){logger[_0x5a1708(0xc1)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x5a1708(0xca)](_0x1f898d));}if(_0x21583f[_0x5a1708(0xb5)][_0x5a1708(0x110)]){const _0xe23226=_0x21583f[_0x5a1708(0xb5)][_0x5a1708(0x110)][_0x5a1708(0xe1)]('\x0a');for(const _0x173a14 of _0xe23226){const _0x525021=_0x173a14[_0x5a1708(0xc5)](/at (.+?):\d+:\d+/);if(_0x525021&&_0x525021[0x1]&&!_0x525021[0x1]['includes'](_0x207386[_0x5a1708(0x10d)]))return _0x525021[0x1];}}}let _0x4d28bd=_0x21583f['parent'];while(_0x4d28bd){if(_0x4d28bd[_0x5a1708(0xfd)])return _0x4d28bd[_0x5a1708(0xfd)];if(_0x4d28bd[_0x5a1708(0xb5)])try{const _0x3cb1a3=stackTrace[_0x5a1708(0x123)](_0x4d28bd['asyncError']);if(_0x3cb1a3[0x0]&&_0x3cb1a3[0x0]['getFileName']){const _0x53bc97=_0x3cb1a3[0x0][_0x5a1708(0xb9)]();if(_0x53bc97&&!_0x53bc97[_0x5a1708(0xee)](_0x207386[_0x5a1708(0x10d)]))return _0x53bc97;}}catch(_0x510246){}_0x4d28bd=_0x4d28bd[_0x5a1708(0x9b)];}try{const _0x3330e5=_0x207386[_0x5a1708(0x10b)](require,_0x207386[_0x5a1708(0x93)]);if(_0x3330e5&&_0x3330e5[_0x5a1708(0x12a)]){const _0x154c9d=_0x3330e5[_0x5a1708(0x12a)]();if(_0x154c9d&&_0x154c9d[_0x5a1708(0x9d)])return _0x154c9d['testPath'];}}catch(_0x3a713e){logger[_0x5a1708(0xc1)](_0x5a1708(0x8e)+util[_0x5a1708(0xca)](_0x3a713e));}return null;}[a119_0x2e9de9(0x11a)](_0x51404a){const _0x33f696=a119_0x2e9de9,_0x38e6e={};_0x38e6e[_0x33f696(0x9c)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x38e6e['bdteb']=function(_0x40d173,_0x374dc0){return _0x40d173!==_0x374dc0;},_0x38e6e['sTKYD']=_0x33f696(0x8f),_0x38e6e[_0x33f696(0xb1)]=_0x33f696(0xf6),_0x38e6e[_0x33f696(0xec)]=_0x33f696(0x97),_0x38e6e['NtxEe']=_0x33f696(0xa3);const _0x5a7ee=_0x38e6e;try{if(!_0x51404a)return logger[_0x33f696(0xe8)](_0x5a7ee['pRKof']),null;const _0x429e64=_0x51404a[_0x33f696(0xb2)]||_0x51404a['name']||_0x51404a['title']||_0x51404a[_0x33f696(0xed)];let _0x5b511e=_0x429e64;if(_0x51404a[_0x33f696(0x9b)]&&_0x51404a['parent'][_0x33f696(0x89)]&&_0x5a7ee[_0x33f696(0xa0)](_0x51404a[_0x33f696(0x9b)]['name'],_0x5a7ee[_0x33f696(0x128)])){const _0x2d9d94=_0x51404a[_0x33f696(0x89)]||_0x51404a[_0x33f696(0xb8)];_0x2d9d94&&(_0x5b511e=_0x51404a[_0x33f696(0x9b)][_0x33f696(0x89)]+'\x20'+_0x2d9d94);}let _0x2ce776=_0x51404a[_0x33f696(0x9d)];if(!_0x2ce776&&_0x51404a[_0x33f696(0xb5)]){try{const _0x30d862=stackTrace['parse'](_0x51404a[_0x33f696(0xb5)]);if(_0x30d862[0x0]&&_0x30d862[0x0][_0x33f696(0xb9)]){const _0x1937ad=_0x30d862[0x0][_0x33f696(0xb9)]();_0x1937ad&&!_0x1937ad[_0x33f696(0xee)](_0x5a7ee[_0x33f696(0xb1)])&&(_0x2ce776=_0x1937ad);}}catch(_0x5c657e){logger[_0x33f696(0xc1)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x5c657e));}if(!_0x2ce776&&_0x51404a[_0x33f696(0xb5)][_0x33f696(0x110)]){const _0x3f618c=_0x51404a[_0x33f696(0xb5)][_0x33f696(0x110)][_0x33f696(0xe1)]('\x0a');for(const _0x111025 of _0x3f618c){const _0x124fa9=_0x111025[_0x33f696(0xc5)](/at (.+?):\d+:\d+/);if(_0x124fa9&&_0x124fa9[0x1]&&!_0x124fa9[0x1][_0x33f696(0xee)](_0x5a7ee[_0x33f696(0xb1)])){_0x2ce776=_0x124fa9[0x1];break;}}}}const _0x2c7f42=_0x2ce776+'::'+_0x5b511e,_0x2c4b2a=crypto[_0x33f696(0x11d)](_0x5a7ee[_0x33f696(0xec)])['update'](_0x2c7f42)['digest'](_0x5a7ee['NtxEe'])['substring'](0x0,0x8),_0x45b216=process[_0x33f696(0x106)]+':jest-'+_0x2c4b2a;return logger[_0x33f696(0xc1)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x45b216+_0x33f696(0xc8)+_0x2c7f42),_0x45b216;}catch(_0x17e475){return logger[_0x33f696(0xe8)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x33f696(0xca)](_0x17e475)),null;}}[a119_0x2e9de9(0x98)](_0x5d8473){const _0xdcdff3=a119_0x2e9de9,_0x420eed={};_0x420eed[_0xdcdff3(0xc9)]=_0xdcdff3(0x127);const _0x2b0e9c=_0x420eed;if(!_0x5d8473)return logger[_0xdcdff3(0xc1)](_0x2b0e9c['gPWlx']),null;const _0x38c182=this[_0xdcdff3(0xf7)](_0x5d8473),_0x55139e={};_0x55139e[_0xdcdff3(0x89)]=_0x5d8473[_0xdcdff3(0x89)]||_0x5d8473[_0xdcdff3(0xb8)],_0x55139e[_0xdcdff3(0x9b)]=_0x5d8473['parent'],_0x55139e[_0xdcdff3(0x9d)]=_0x38c182,_0x55139e[_0xdcdff3(0xb5)]=_0x5d8473[_0xdcdff3(0xb5)];const _0x3ed949=_0x55139e;return this[_0xdcdff3(0x11a)](_0x3ed949);}[a119_0x2e9de9(0xd9)](_0x4e8302,_0x50eb66=null){const _0x5e08be=a119_0x2e9de9,_0x1adf30={};_0x1adf30[_0x5e08be(0xd4)]=_0x5e08be(0xea);const _0x9cc3aa=_0x1adf30;if(!_0x4e8302)return logger['debug'](_0x9cc3aa['MOAGW']),_0x50eb66;if(_0x4e8302[_0x5e08be(0x10a)])return logger[_0x5e08be(0xc1)](_0x5e08be(0xbc)+_0x4e8302[_0x5e08be(0x10a)]),_0x4e8302[_0x5e08be(0x10a)];return this[_0x5e08be(0x11a)](_0x4e8302)||_0x50eb66;}}module['exports']=o11yClassErrorHandler(JestUtils,['configureGit',a119_0x2e9de9(0x100),'getRootParentFile','getName','isJestInternalHook','getTestIdentifier',a119_0x2e9de9(0x87),a119_0x2e9de9(0xac),a119_0x2e9de9(0xf3),a119_0x2e9de9(0x7e),'extractTestFilePath','createJestTestIdentifier','createIdentifierFromJestTest',a119_0x2e9de9(0xd9)]);
1
+ const a119_0x2cae6d=a119_0x37f3;(function(_0x46cd1a,_0x4ae283){const _0x431698=a119_0x37f3,_0x72b97c=_0x46cd1a();while(!![]){try{const _0x476e8b=parseInt(_0x431698(0x185))/0x1*(-parseInt(_0x431698(0x109))/0x2)+parseInt(_0x431698(0x1b6))/0x3+-parseInt(_0x431698(0x154))/0x4+parseInt(_0x431698(0x12c))/0x5+parseInt(_0x431698(0x104))/0x6*(-parseInt(_0x431698(0xfc))/0x7)+-parseInt(_0x431698(0x1a6))/0x8*(-parseInt(_0x431698(0x12f))/0x9)+-parseInt(_0x431698(0x13e))/0xa*(-parseInt(_0x431698(0x19e))/0xb);if(_0x476e8b===_0x4ae283)break;else _0x72b97c['push'](_0x72b97c['shift']());}catch(_0x338a86){_0x72b97c['push'](_0x72b97c['shift']());}}}(a119_0x36e1,0x1bebb));const path=require(a119_0x2cae6d(0x184)),util=require(a119_0x2cae6d(0x107)),crypto=require(a119_0x2cae6d(0x198)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x2cae6d(0x152)),logger=require(a119_0x2cae6d(0x195))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a119_0x2cae6d(0x15d)),{failureData,getFailureType,PathHelper}=require(a119_0x2cae6d(0x139)),stackTrace=require(a119_0x2cae6d(0x19b)),{pickUserFrameFile}=require(a119_0x2cae6d(0x1a7)),a119_0x35842d={};a119_0x35842d['beforeAll']=a119_0x2cae6d(0x128),a119_0x35842d[a119_0x2cae6d(0x16f)]=a119_0x2cae6d(0x17b),a119_0x35842d[a119_0x2cae6d(0x17d)]=a119_0x2cae6d(0x16b),a119_0x35842d[a119_0x2cae6d(0x1bb)]=a119_0x2cae6d(0x10e);const HOOK_TYPES_MAP=a119_0x35842d,hooksMap={};class JestUtils{constructor(){const _0x4fa9b9=a119_0x2cae6d;this['_gitConfigured']=![],this[_0x4fa9b9(0x189)]=null,this[_0x4fa9b9(0x178)]=new PathHelper({'cwd':process[_0x4fa9b9(0x148)]()},undefined);}async[a119_0x2cae6d(0x17a)](_0x583933,_0x395550,_0x4fdae6=a119_0x2cae6d(0x132),_0x299d9f=undefined){const _0xe50538=a119_0x2cae6d,_0x1532a9={'mJBuk':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','OKbZX':_0xe50538(0x179),'FkthT':_0xe50538(0x151),'UVsQc':function(_0x24023e,_0x48cbfc){return _0x24023e!==_0x48cbfc;},'RLmAk':_0xe50538(0x18e),'HhjwS':function(_0x14c0c2,_0x42d7d4){return _0x14c0c2!==_0x42d7d4;},'GzhZM':'err','BlVsx':function(_0x374da3,_0xfbed6f){return _0x374da3!==_0xfbed6f;},'lycwo':function(_0x16e29a,_0x508dc3){return _0x16e29a!==_0x508dc3;},'zKHEQ':'pending','Osttx':function(_0x31c4be,_0x14fc91){return _0x31c4be===_0x14fc91;},'JrSdU':_0xe50538(0x1a5),'wDCei':_0xe50538(0x18b),'VcfRu':_0xe50538(0x132),'AUjon':function(_0x8ad4,_0x5dd771){return _0x8ad4>_0x5dd771;},'tEptg':_0xe50538(0x1ad),'phsbJ':_0xe50538(0x1b3),'GTNqx':function(_0x3e2ee1,_0x6f1564){return _0x3e2ee1-_0x6f1564;},'bcISQ':_0xe50538(0x13d),'cXYdM':function(_0x2d2db2,_0x2e7071){return _0x2d2db2>_0x2e7071;},'weLIK':'jest','kGHKa':function(_0x337446,_0x5801ac){return _0x337446(_0x5801ac);},'JBmLy':function(_0x21bf29,_0x1fd6ad){return _0x21bf29===_0x1fd6ad;}};logger[_0xe50538(0x1a1)](_0xe50538(0x100)+_0x4fdae6+',\x20testIdentifier:\x20'+_0x395550);try{if(!_0x583933)return logger[_0xe50538(0x1a1)](_0x1532a9['mJBuk']),null;if(_0x583933['fn']&&_0x583933['fn'][_0xe50538(0x12d)]()[_0xe50538(0x130)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x3a1d83;try{_0x3a1d83=this[_0xe50538(0x118)](_0x583933);if(_0x3a1d83&&_0x3a1d83['includes'](_0x1532a9[_0xe50538(0x11d)]))return null;}catch(_0x30a46a){logger[_0xe50538(0x1a1)](_0xe50538(0x18f)+util[_0xe50538(0x15f)](_0x30a46a)),_0x3a1d83=null;}const _0x30180d=this[_0xe50538(0x12e)](_0x583933),_0x2757bf=this[_0xe50538(0x169)](_0x583933),_0x21d732=_0x3a1d83?this[_0xe50538(0x178)][_0xe50538(0x134)](_0x3a1d83):_0x1532a9['FkthT'];let _0x5d316a=[];const _0x165764=_0x583933[_0xe50538(0x110)]||_0x583933[_0xe50538(0x142)];if(_0x1532a9[_0xe50538(0x11a)](_0x165764,undefined))_0x5d316a=[_0x165764,_0x1532a9[_0xe50538(0x1ab)]];else _0x1532a9['HhjwS'](_0x299d9f,undefined)&&(_0x5d316a=[_0x299d9f,_0x1532a9[_0xe50538(0x10f)]]);const _0x9864ab=_0x1532a9[_0xe50538(0x16e)](_0x165764,undefined)?util[_0xe50538(0x14f)](_0x165764[0x0]):_0x1532a9[_0xe50538(0x101)](_0x299d9f,undefined)?_0x299d9f[_0xe50538(0x12d)]():undefined;let _0x1037d3=_0x1532a9[_0xe50538(0x14a)];if(_0x1532a9[_0xe50538(0x135)](_0x4fdae6,_0x1532a9[_0xe50538(0x112)]))_0x1037d3=_0x1532a9[_0xe50538(0x1b8)];else _0x1532a9[_0xe50538(0x135)](_0x4fdae6,_0x1532a9[_0xe50538(0x193)])&&(_0x165764&&_0x1532a9[_0xe50538(0x113)](_0x165764[_0xe50538(0x121)],0x0)?_0x1037d3=_0x1532a9[_0xe50538(0x111)]:_0x1037d3=_0x1532a9[_0xe50538(0x197)]);let _0x24ffab=null;if(_0x1532a9['lycwo'](_0x583933[_0xe50538(0x180)],undefined))_0x24ffab=_0x583933[_0xe50538(0x180)];else(_0x4fdae6[_0xe50538(0x130)](/Finished/)||_0x4fdae6[_0xe50538(0x130)](/Skipped/))&&(_0x583933['started_at']&&(_0x24ffab=_0x1532a9[_0xe50538(0x19c)](Date['now'](),new Date(_0x583933[_0xe50538(0x19d)])[_0xe50538(0x1a0)]())));const _0x4eae24=_0x583933['fn']?_0x583933['fn'][_0xe50538(0x12d)]():null,_0x5c217c={'id':_0x395550,'uuid':_0x395550,'startedAt':_0x583933[_0xe50538(0x19d)]||new Date()['toISOString'](),'finishedAt':_0x4fdae6[_0xe50538(0x130)](/Finished/)||_0x4fdae6[_0xe50538(0x130)](/Skipped/)?new Date()[_0xe50538(0x163)]():null,'type':_0x1532a9[_0xe50538(0x1ab)],'body':{'lang':_0x1532a9[_0xe50538(0x150)],'code':_0x4eae24},'name':_0x2757bf,'errorsDetailed':_0x1532a9[_0xe50538(0x19a)](_0x165764?.[_0xe50538(0x121)],0x0)?_0x165764[0x0]:_0x165764?_0x165764:undefined,'scopes':_0x30180d,'file_name':_0x21d732,'location':_0x21d732,'vc_filepath':this[_0xe50538(0x189)]&&_0x3a1d83?path['relative'](this[_0xe50538(0x189)],_0x3a1d83):null,'framework':_0x1532a9[_0xe50538(0x137)],'result':_0x1037d3,'failure_reason':_0x9864ab,'duration_in_ms':_0x24ffab,'failure':failureData[_0xe50538(0x114)](null,_0x5d316a),'failure_type':!_0x9864ab?null:_0x1532a9[_0xe50538(0x123)](getFailureType,_0x9864ab),'retry_of':_0x583933[_0xe50538(0x11c)]||null,'customRerunParam':{'rerun_name':_0x2757bf}};_0x1532a9['Osttx'](_0x4fdae6,_0x1532a9[_0xe50538(0x112)])&&!_0x5c217c['startedAt']&&(_0x5c217c[_0xe50538(0x1a4)]=_0x5c217c[_0xe50538(0x1b9)]);const _0x312b98=_0x5c217c[_0xe50538(0x105)]&&_0x5c217c[_0xe50538(0x105)][0x0];return _0x312b98&&(_0x5c217c[_0xe50538(0x10a)]=_0x312b98[_0xe50538(0x10d)],_0x5c217c[_0xe50538(0x161)]=_0x312b98[_0xe50538(0x11b)]),(_0x1532a9['Osttx'](_0x4fdae6,_0x1532a9[_0xe50538(0x193)])||_0x1532a9[_0xe50538(0x18c)](_0x4fdae6,_0x1532a9[_0xe50538(0x112)]))&&(_0x583933[_0xe50538(0xfd)]&&(_0x5c217c[_0xe50538(0xfd)]=_0x583933[_0xe50538(0xfd)])),_0x5c217c;}catch(_0x2924f3){return logger[_0xe50538(0x1a1)](_0xe50538(0x10c)+util['format'](_0x2924f3)),null;}}async[a119_0x2cae6d(0x17c)](_0x5eb620,_0x56bbbf,_0x458b6e,_0x350a3e){const _0x3fa729=a119_0x2cae6d,_0x1f1ac4={'sMqgh':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jKmuf':_0x3fa729(0x179),'ejqcW':'browserstack-node-agent/src/bin/jest','BVVjB':_0x3fa729(0x1be),'Dmaqh':_0x3fa729(0x138),'qMweC':function(_0x114cd6,_0x48f7ab){return _0x114cd6===_0x48f7ab;},'rtqqW':_0x3fa729(0x164),'ygxAw':function(_0x2b8a5d,_0x33f315){return _0x2b8a5d>_0x33f315;},'Wnzsv':_0x3fa729(0x1ad),'KCBQC':function(_0x4f7e6d,_0x4a55c0){return _0x4f7e6d(_0x4a55c0);},'OIGoy':_0x3fa729(0x18e),'mWFXu':_0x3fa729(0x1b3),'HxifA':_0x3fa729(0x1b0),'iGoIJ':_0x3fa729(0x13d),'Asfde':'jest','ZrBoB':function(_0x5793a5,_0x22ba8b){return _0x5793a5===_0x22ba8b;},'UdlFK':_0x3fa729(0x126)};logger[_0x3fa729(0x1a1)](_0x3fa729(0x192)+_0x458b6e+_0x3fa729(0x1bd)+_0x56bbbf+',\x20testRunId:\x20'+_0x350a3e);try{if(!_0x5eb620)return logger[_0x3fa729(0x1a1)](_0x1f1ac4[_0x3fa729(0x14d)]),null;if(this[_0x3fa729(0x160)](_0x5eb620))return null;await this[_0x3fa729(0x156)]();let _0x23ab1e=null;try{_0x23ab1e=this['getRootParentFile'](_0x5eb620);if(_0x23ab1e&&_0x23ab1e[_0x3fa729(0x158)](_0x1f1ac4[_0x3fa729(0x125)]))return null;if(_0x23ab1e&&_0x23ab1e['includes'](_0x1f1ac4[_0x3fa729(0x15e)]))return null;}catch(_0xdae8a3){logger['debug'](_0x3fa729(0xff)+util[_0x3fa729(0x15f)](_0xdae8a3));}const _0x208527=_0x23ab1e?this[_0x3fa729(0x178)][_0x3fa729(0x134)](_0x23ab1e):_0x23ab1e,_0x18a47e=this[_0x3fa729(0x169)](_0x5eb620),_0x4307c8=_0x5eb620[_0x3fa729(0x127)]||_0x1f1ac4[_0x3fa729(0x13f)],_0x18b751=HOOK_TYPES_MAP[_0x4307c8]||_0x4307c8[_0x3fa729(0x1a2)](),_0x5d7eff=_0x5eb620['parent']&&_0x5eb620[_0x3fa729(0x183)]['name']?_0x5eb620[_0x3fa729(0x183)][_0x3fa729(0x10b)]:'';let _0x912c82=_0x1f1ac4[_0x3fa729(0x12b)],_0x5b8a48=null,_0x11d8d9=null,_0x450f98=null,_0x906f25=null;_0x1f1ac4[_0x3fa729(0x12a)](_0x458b6e,_0x1f1ac4[_0x3fa729(0x18a)])&&(_0x906f25=new Date()[_0x3fa729(0x163)](),_0x5eb620[_0x3fa729(0x110)]&&_0x1f1ac4[_0x3fa729(0x155)](_0x5eb620['errorsDetailed']['length'],0x0)?(_0x912c82=_0x1f1ac4[_0x3fa729(0x140)],_0x11d8d9=util[_0x3fa729(0x14f)](_0x5eb620[_0x3fa729(0x110)][0x0]),_0x5b8a48=_0x1f1ac4[_0x3fa729(0x162)](getFailureType,_0x11d8d9),_0x450f98=failureData[_0x3fa729(0x114)](null,[_0x5eb620[_0x3fa729(0x110)],_0x1f1ac4['OIGoy']])):_0x912c82=_0x1f1ac4['mWFXu']);const _0x1d31fa={'uuid':_0x56bbbf,'type':_0x1f1ac4[_0x3fa729(0x13b)],'hook_type':_0x18b751,'name':_0x18a47e,'body':{'lang':_0x1f1ac4[_0x3fa729(0x172)],'code':_0x5eb620['fn']?_0x5eb620['fn'][_0x3fa729(0x12d)]():null},'tags':[],'test_run_id':_0x350a3e,'scope':_0x5d7eff,'scopes':[_0x5d7eff],'file_name':_0x208527,'location':_0x208527,'vc_filepath':this[_0x3fa729(0x189)]&&_0x23ab1e?path[_0x3fa729(0x170)](this['_gitConfigPath'],_0x23ab1e):null,'result':_0x912c82,'started_at':_0x5eb620[_0x3fa729(0x19d)]||new Date()['toISOString'](),'finished_at':_0x906f25,'failure_type':_0x5b8a48,'failure_reason':_0x11d8d9,'failure_data':_0x450f98,'framework':_0x1f1ac4['Asfde']};return _0x1f1ac4[_0x3fa729(0x165)](_0x458b6e,_0x1f1ac4[_0x3fa729(0x1b5)])&&(hooksMap[_0x350a3e]?hooksMap[_0x350a3e]['push'](_0x1d31fa):hooksMap[_0x350a3e]=[_0x1d31fa]),_0x1d31fa;}catch(_0x2deb4d){return logger['debug'](_0x3fa729(0x196)+util[_0x3fa729(0x15f)](_0x2deb4d)),null;}}[a119_0x2cae6d(0x181)](_0x2d3b53,_0x1aca57,_0x56e1e3){const _0x88d9f6=a119_0x2cae6d,_0x2fc05b={'uBXpc':function(_0x211d90,_0x569fe2){return _0x211d90>_0x569fe2;},'jIewt':'failed','zKlMV':function(_0x1b2cbb,_0x31d3c9){return _0x1b2cbb(_0x31d3c9);},'tpiyu':_0x88d9f6(0x18e),'gipsV':_0x88d9f6(0x1b3)};try{const _0xd36097=hooksMap[_0x2d3b53];if(!_0xd36097)return null;const _0x5ecc78=_0xd36097[_0x88d9f6(0x14e)](_0x4ac46a=>_0x4ac46a[_0x88d9f6(0x186)]===_0x1aca57);if(!_0x5ecc78)return null;return _0x5ecc78['finished_at']=new Date()[_0x88d9f6(0x163)](),_0x56e1e3[_0x88d9f6(0x110)]&&_0x2fc05b['uBXpc'](_0x56e1e3['errorsDetailed']['length'],0x0)?(_0x5ecc78['result']=_0x2fc05b[_0x88d9f6(0x115)],_0x5ecc78['failure_reason']=util[_0x88d9f6(0x14f)](_0x56e1e3[_0x88d9f6(0x110)][0x0]),_0x5ecc78['failure_type']=_0x2fc05b[_0x88d9f6(0x147)](getFailureType,_0x5ecc78[_0x88d9f6(0x188)]),_0x5ecc78[_0x88d9f6(0x141)]=failureData['apply'](null,[_0x56e1e3[_0x88d9f6(0x110)],_0x2fc05b[_0x88d9f6(0x122)]])):_0x5ecc78[_0x88d9f6(0x103)]=_0x2fc05b[_0x88d9f6(0x199)],_0x5ecc78;}catch(_0x29ab6a){return logger['debug'](_0x88d9f6(0x1a3)+util[_0x88d9f6(0x15f)](_0x29ab6a)),null;}}[a119_0x2cae6d(0x169)](_0x2534c0){const _0x113404=a119_0x2cae6d,_0x5a9020={};_0x5a9020[_0x113404(0x190)]=function(_0x3a9759,_0x33adce){return _0x3a9759!==_0x33adce;},_0x5a9020[_0x113404(0x15b)]='test',_0x5a9020[_0x113404(0x18d)]=_0x113404(0x174);const _0x4b09b0=_0x5a9020;if(_0x4b09b0['gpmKb'](_0x2534c0[_0x113404(0x127)],_0x4b09b0[_0x113404(0x15b)]))return'\x22'+_0x2534c0[_0x113404(0x127)]+_0x113404(0x1ac)+(_0x2534c0[_0x113404(0x183)]&&_0x2534c0['parent'][_0x113404(0x10b)])+'\x22';return _0x2534c0[_0x113404(0x10b)]||_0x4b09b0['LRSdp'];}[a119_0x2cae6d(0x12e)](_0x5ca699){const _0x1ba374=a119_0x2cae6d,_0x10b821={};_0x10b821[_0x1ba374(0x168)]=function(_0x30f611,_0x4e2a84){return _0x30f611!==_0x4e2a84;},_0x10b821[_0x1ba374(0x17e)]=function(_0x5b33bc,_0xec82d8){return _0x5b33bc!==_0xec82d8;},_0x10b821[_0x1ba374(0x106)]=_0x1ba374(0x133);const _0x3a2fc7=_0x10b821,_0x55b7eb=[];if(_0x5ca699&&_0x5ca699[_0x1ba374(0x183)]){let _0x43d532=_0x5ca699['parent'];while(_0x43d532&&_0x43d532[_0x1ba374(0x10b)]&&_0x3a2fc7['AUbqm'](_0x43d532[_0x1ba374(0x10b)],'')&&_0x3a2fc7[_0x1ba374(0x17e)](_0x43d532[_0x1ba374(0x10b)],_0x3a2fc7[_0x1ba374(0x106)])){_0x55b7eb[_0x1ba374(0x17f)](_0x43d532[_0x1ba374(0x10b)]),_0x43d532=_0x43d532[_0x1ba374(0x183)];}}return _0x55b7eb['reverse'](),_0x55b7eb;}[a119_0x2cae6d(0x118)](_0x55061a){const _0x1ed0f0=a119_0x2cae6d,_0x2a7b25={'xnjpk':function(_0x4bc7e4,_0x16f54f){return _0x4bc7e4(_0x16f54f);}};if(_0x55061a[_0x1ed0f0(0x13c)])return _0x55061a['file'];if(_0x55061a[_0x1ed0f0(0x153)])try{const _0x3cd8a0=stackTrace[_0x1ed0f0(0xfe)]['call'](stackTrace,_0x55061a[_0x1ed0f0(0x153)]),_0x22d1bf=_0x2a7b25[_0x1ed0f0(0x116)](pickUserFrameFile,_0x3cd8a0);if(_0x22d1bf)return _0x22d1bf;logger[_0x1ed0f0(0x1a1)](_0x1ed0f0(0x176)+_0x3cd8a0[_0x1ed0f0(0x121)]+')');}catch(_0xad5d33){logger[_0x1ed0f0(0x1a1)]('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0xad5d33));}return null;}[a119_0x2cae6d(0x160)](_0x15cb4e){const _0x413c24=a119_0x2cae6d,_0x29fda7={};_0x29fda7[_0x413c24(0x159)]=_0x413c24(0x179);const _0xf15502=_0x29fda7;try{const _0x4582f0=this[_0x413c24(0x118)](_0x15cb4e);if(!_0x4582f0||_0x4582f0['includes'](_0xf15502['IBORs']))return!![];}catch(_0x475d7e){logger[_0x413c24(0x1a1)](_0x413c24(0x1ae)+util['format'](_0x475d7e));}return![];}[a119_0x2cae6d(0x1b7)](_0x544c7e=null){const _0x212d70=a119_0x2cae6d;try{const _0x4527c8=_0x544c7e||global[_0x212d70(0x14c)]||{};if(global['__jestCurrentTestIdentifier'])return global['__jestCurrentTestIdentifier'];if(_0x4527c8?.[_0x212d70(0x120)]?.['testAnalyticsId'])return _0x4527c8['currentTest'][_0x212d70(0x143)];if(_0x4527c8?.['currentTest']?.['id'])return _0x4527c8['currentTest']['id'];return null;}catch(_0x42b2a2){return logger[_0x212d70(0x1a1)](_0x212d70(0x149)+util['format'](_0x42b2a2)),null;}}async[a119_0x2cae6d(0x156)](){const _0x4dc236=a119_0x2cae6d,_0x5c5fc1={'VUypR':function(_0x6f2cb3){return _0x6f2cb3();}};if(this[_0x4dc236(0x1a8)])return this[_0x4dc236(0x189)];const _0x11695f=await _0x5c5fc1[_0x4dc236(0x1a9)](getGitMetaData);_0x11695f&&(this[_0x4dc236(0x189)]=_0x11695f[_0x4dc236(0x129)]),this[_0x4dc236(0x1a8)]=!![];}[a119_0x2cae6d(0x131)](_0xa4fcb1){hooksMap[_0xa4fcb1]&&delete hooksMap[_0xa4fcb1];}[a119_0x2cae6d(0x11e)](_0x5f2d90){const _0x1984f1=a119_0x2cae6d,_0x2a9c73={'wGtYn':_0x1984f1(0x179),'wxAZm':function(_0x1027e3,_0x574a9b){return _0x1027e3(_0x574a9b);},'AvHNN':_0x1984f1(0x1bf)};if(_0x5f2d90[_0x1984f1(0x13c)])return _0x5f2d90[_0x1984f1(0x13c)];if(_0x5f2d90['asyncError']){try{const _0x492573=stackTrace[_0x1984f1(0xfe)](_0x5f2d90[_0x1984f1(0x153)]);if(_0x492573[0x0]&&_0x492573[0x0][_0x1984f1(0x1b2)]){const _0x281cc7=_0x492573[0x0][_0x1984f1(0x1b2)]();if(_0x281cc7&&!_0x281cc7[_0x1984f1(0x158)](_0x2a9c73[_0x1984f1(0x1b4)]))return _0x281cc7;}}catch(_0x5f4f3c){logger[_0x1984f1(0x1a1)](_0x1984f1(0x144)+util[_0x1984f1(0x15f)](_0x5f4f3c));}if(_0x5f2d90['asyncError'][_0x1984f1(0x124)]){const _0x34c1df=_0x5f2d90[_0x1984f1(0x153)][_0x1984f1(0x124)][_0x1984f1(0x15c)]('\x0a');for(const _0x41fa2c of _0x34c1df){const _0x33633f=_0x41fa2c[_0x1984f1(0x130)](/at (.+?):\d+:\d+/);if(_0x33633f&&_0x33633f[0x1]&&!_0x33633f[0x1][_0x1984f1(0x158)](_0x2a9c73[_0x1984f1(0x1b4)]))return _0x33633f[0x1];}}}let _0x19a832=_0x5f2d90['parent'];while(_0x19a832){if(_0x19a832[_0x1984f1(0x13c)])return _0x19a832['file'];if(_0x19a832['asyncError'])try{const _0xeca220=stackTrace[_0x1984f1(0xfe)](_0x19a832[_0x1984f1(0x153)]);if(_0xeca220[0x0]&&_0xeca220[0x0][_0x1984f1(0x1b2)]){const _0x1a7e38=_0xeca220[0x0][_0x1984f1(0x1b2)]();if(_0x1a7e38&&!_0x1a7e38['includes'](_0x2a9c73[_0x1984f1(0x1b4)]))return _0x1a7e38;}}catch(_0x32fcd8){}_0x19a832=_0x19a832['parent'];}try{const _0x2c9437=_0x2a9c73[_0x1984f1(0x175)](require,_0x2a9c73['AvHNN']);if(_0x2c9437&&_0x2c9437[_0x1984f1(0x191)]){const _0x237fe=_0x2c9437[_0x1984f1(0x191)]();if(_0x237fe&&_0x237fe[_0x1984f1(0x16d)])return _0x237fe[_0x1984f1(0x16d)];}}catch(_0x274541){logger['debug'](_0x1984f1(0x119)+util[_0x1984f1(0x15f)](_0x274541));}return null;}[a119_0x2cae6d(0x1ba)](_0x29e5fe){const _0xb27851=a119_0x2cae6d,_0x5f10f1={};_0x5f10f1['hHRAs']=_0xb27851(0x11f),_0x5f10f1[_0xb27851(0x145)]=function(_0x29656f,_0x32fc34){return _0x29656f!==_0x32fc34;},_0x5f10f1['tDQpT']=_0xb27851(0x133),_0x5f10f1[_0xb27851(0x102)]=_0xb27851(0x179),_0x5f10f1[_0xb27851(0x167)]='md5',_0x5f10f1[_0xb27851(0x16a)]=_0xb27851(0x182);const _0x22ae3f=_0x5f10f1;try{if(!_0x29e5fe)return logger[_0xb27851(0x1aa)](_0x22ae3f[_0xb27851(0x15a)]),null;const _0x1774e6=_0x29e5fe['fullName']||_0x29e5fe['name']||_0x29e5fe['title']||_0x29e5fe['displayName'];let _0x524112=_0x1774e6;if(_0x29e5fe[_0xb27851(0x183)]&&_0x29e5fe[_0xb27851(0x183)]['name']&&_0x22ae3f[_0xb27851(0x145)](_0x29e5fe['parent'][_0xb27851(0x10b)],_0x22ae3f[_0xb27851(0x173)])){const _0x1224da=_0x29e5fe[_0xb27851(0x10b)]||_0x29e5fe['title'];_0x1224da&&(_0x524112=_0x29e5fe['parent']['name']+'\x20'+_0x1224da);}let _0x455438=_0x29e5fe['testPath'];if(!_0x455438&&_0x29e5fe[_0xb27851(0x153)]){try{const _0x2fa737=stackTrace['parse'](_0x29e5fe[_0xb27851(0x153)]);if(_0x2fa737[0x0]&&_0x2fa737[0x0][_0xb27851(0x1b2)]){const _0x4f9269=_0x2fa737[0x0][_0xb27851(0x1b2)]();_0x4f9269&&!_0x4f9269[_0xb27851(0x158)](_0x22ae3f[_0xb27851(0x102)])&&(_0x455438=_0x4f9269);}}catch(_0x18a1ac){logger[_0xb27851(0x1a1)](_0xb27851(0x144)+util['format'](_0x18a1ac));}if(!_0x455438&&_0x29e5fe[_0xb27851(0x153)][_0xb27851(0x124)]){const _0x87e020=_0x29e5fe[_0xb27851(0x153)]['stack'][_0xb27851(0x15c)]('\x0a');for(const _0x42efec of _0x87e020){const _0x223679=_0x42efec[_0xb27851(0x130)](/at (.+?):\d+:\d+/);if(_0x223679&&_0x223679[0x1]&&!_0x223679[0x1][_0xb27851(0x158)](_0x22ae3f['ziweh'])){_0x455438=_0x223679[0x1];break;}}}}const _0x24daf9=_0x455438+'::'+_0x524112,_0x5f3900=crypto[_0xb27851(0x108)](_0x22ae3f[_0xb27851(0x167)])[_0xb27851(0x157)](_0x24daf9)[_0xb27851(0x1bc)](_0x22ae3f[_0xb27851(0x16a)])['substring'](0x0,0x8),_0x1d9101=process[_0xb27851(0x171)]+_0xb27851(0x19f)+_0x5f3900;return logger['debug'](_0xb27851(0x187)+_0x1d9101+_0xb27851(0x1b1)+_0x24daf9),_0x1d9101;}catch(_0x275ed8){return logger['error'](_0xb27851(0x16c)+util[_0xb27851(0x15f)](_0x275ed8)),null;}}[a119_0x2cae6d(0x117)](_0x3391d7){const _0x384e4f=a119_0x2cae6d,_0x3502b1={};_0x3502b1['GNKkJ']=_0x384e4f(0x14b);const _0xb62b68=_0x3502b1;if(!_0x3391d7)return logger[_0x384e4f(0x1a1)](_0xb62b68[_0x384e4f(0x166)]),null;const _0x1e5d15=this['extractTestFilePath'](_0x3391d7),_0x21b1c7={};_0x21b1c7['name']=_0x3391d7[_0x384e4f(0x10b)]||_0x3391d7[_0x384e4f(0x194)],_0x21b1c7[_0x384e4f(0x183)]=_0x3391d7[_0x384e4f(0x183)],_0x21b1c7[_0x384e4f(0x16d)]=_0x1e5d15,_0x21b1c7[_0x384e4f(0x153)]=_0x3391d7[_0x384e4f(0x153)];const _0x324f83=_0x21b1c7;return this[_0x384e4f(0x1ba)](_0x324f83);}[a119_0x2cae6d(0x146)](_0x98a2ee,_0x264e51=null){const _0x33e23b=a119_0x2cae6d,_0x315f45={};_0x315f45[_0x33e23b(0x13a)]=_0x33e23b(0x136);const _0x23127c=_0x315f45;if(!_0x98a2ee)return logger['debug'](_0x23127c[_0x33e23b(0x13a)]),_0x264e51;if(_0x98a2ee['testIdentifier'])return logger[_0x33e23b(0x1a1)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x98a2ee[_0x33e23b(0x177)]),_0x98a2ee[_0x33e23b(0x177)];return this[_0x33e23b(0x1ba)](_0x98a2ee)||_0x264e51;}}function a119_0x36e1(){const _0x3a0bd5=['toISOString','HookRunFinished','ZrBoB','GNKkJ','joWDd','AUbqm','getName','jLEml','BEFORE_EACH','[jestUtils]\x20Error\x20creating\x20identifier:\x20','testPath','BlVsx','afterAll','relative','pid','iGoIJ','tDQpT','Unknown\x20Test','wxAZm','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','testIdentifier','_paths','jest-circus','createTestFrameworkData','AFTER_ALL','createHookData','beforeEach','ydQIM','push','duration','getHookRunEventData','hex','parent','path','148761xhgurv','uuid','[jestUtils]\x20Created\x20identifier:\x20','failure_reason','_gitConfigPath','rtqqW','skipped','JBmLy','LRSdp','test','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','gpmKb','getState','Creating\x20hook\x20data\x20for\x20eventType:\x20','VcfRu','title','../../../helpers/logger.js','Exception\x20in\x20createHookData:\x20','phsbJ','crypto','gipsV','cXYdM','stack-trace','GTNqx','started_at','299926tmcTHS',':jest-','getTime','debug','toUpperCase','Exception\x20in\x20getHookRunEventData:\x20','startedAt','TestRunSkipped','1216UHvUfR','../../../helpers/stackFrameUtils','_gitConfigured','VUypR','error','RLmAk','\x22\x20hook\x20for\x20\x22','failed','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','exports','hook','\x20from\x20compositeKey:\x20','getFileName','passed','wGtYn','UdlFK','527247fLGxyj','getTestIdentifier','wDCei','finishedAt','createJestTestIdentifier','afterEach','digest',',\x20hookUUID:\x20','unknown','expect','38843XRUJTy','hooks','parse','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','lycwo','ziweh','result','138jfunjn','failure','PLVwT','util','createHash','2trmHqC','failure_backtrace','name','Exception\x20in\x20createTestFrameworkData:\x20','backtrace','AFTER_EACH','GzhZM','errorsDetailed','tEptg','JrSdU','AUjon','apply','jIewt','xnjpk','createIdentifierFromJestTest','getRootParentFile','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','UVsQc','expanded','retryOf','OKbZX','extractTestFilePath','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','currentTest','length','tpiyu','kGHKa','stack','jKmuf','HookRunStarted','type','BEFORE_ALL','root','qMweC','Dmaqh','391715WwPdFm','toString','getHierarchy','3618yOzobD','match','clearHooksMap','TestRunFinished','ROOT_DESCRIBE_BLOCK','prefixTestPath','Osttx','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','weLIK','pending','../../../helpers/test-observability/utils','CNEvn','HxifA','file','javascript','40utlxYD','BVVjB','Wnzsv','failure_data','errors','testAnalyticsId','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','yKbQa','recreateIdentifierFromTestInfo','zKlMV','cwd','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','zKHEQ','[jestUtils]\x20No\x20test\x20object\x20provided','__workerDetails','sMqgh','find','inspect','bcISQ','File\x20path\x20could\x20not\x20be\x20found','../../../helpers/helper.js','asyncError','134036xIGWIS','ygxAw','configureGit','update','includes','IBORs','hHRAs','riGyk','split','../TestInfo.js','ejqcW','format','isJestInternalHook','failure_reason_expanded','KCBQC'];a119_0x36e1=function(){return _0x3a0bd5;};return a119_0x36e1();}function a119_0x37f3(_0x5d3501,_0x4ed66b){const _0x36e1a2=a119_0x36e1();return a119_0x37f3=function(_0x37f361,_0x9c77e2){_0x37f361=_0x37f361-0xfc;let _0x21d6d0=_0x36e1a2[_0x37f361];return _0x21d6d0;},a119_0x37f3(_0x5d3501,_0x4ed66b);}module[a119_0x2cae6d(0x1af)]=o11yClassErrorHandler(JestUtils,[a119_0x2cae6d(0x156),a119_0x2cae6d(0x12e),a119_0x2cae6d(0x118),'getName',a119_0x2cae6d(0x160),a119_0x2cae6d(0x1b7),'createTestFrameworkData',a119_0x2cae6d(0x17c),a119_0x2cae6d(0x181),a119_0x2cae6d(0x131),a119_0x2cae6d(0x11e),a119_0x2cae6d(0x1ba),a119_0x2cae6d(0x117),a119_0x2cae6d(0x146)]);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a120_0x15ab57=a120_0x1e85;(function(_0x2378ba,_0x4d9d8c){const _0x47dfed=a120_0x1e85,_0x1dd1c1=_0x2378ba();while(!![]){try{const _0x345aaa=parseInt(_0x47dfed(0x192))/0x1+parseInt(_0x47dfed(0x19b))/0x2+parseInt(_0x47dfed(0x175))/0x3*(-parseInt(_0x47dfed(0x193))/0x4)+parseInt(_0x47dfed(0x172))/0x5*(-parseInt(_0x47dfed(0x188))/0x6)+parseInt(_0x47dfed(0x171))/0x7*(parseInt(_0x47dfed(0x199))/0x8)+-parseInt(_0x47dfed(0x177))/0x9+parseInt(_0x47dfed(0x18a))/0xa;if(_0x345aaa===_0x4d9d8c)break;else _0x1dd1c1['push'](_0x1dd1c1['shift']());}catch(_0x4e3554){_0x1dd1c1['push'](_0x1dd1c1['shift']());}}}(a120_0x5c42,0x502e6));const fs=require('fs'),path=require(a120_0x15ab57(0x187)),{default:BrowserStackSetup}=require(a120_0x15ab57(0x1a8)),helper=require(a120_0x15ab57(0x1ac)),PerformanceTester=require(a120_0x15ab57(0x190)),PerformanceEvents=require(a120_0x15ab57(0x18f))[a120_0x15ab57(0x1a3)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a120_0x15ab57(0x19f)),TestHubHandler=require(a120_0x15ab57(0x195)),BrowserstackCLI=require(a120_0x15ab57(0x181));function a120_0x1e85(_0x3cdcec,_0x871641){const _0x5c427=a120_0x5c42();return a120_0x1e85=function(_0x1e8550,_0x53c728){_0x1e8550=_0x1e8550-0x16e;let _0x2b1a23=_0x5c427[_0x1e8550];return _0x2b1a23;},a120_0x1e85(_0x3cdcec,_0x871641);}async function run(_0x5242cd,_0x45c4b9,_0x26e229){const _0x2831ab=a120_0x15ab57,_0x4b7057={'CqUnY':_0x2831ab(0x1ae),'mMYbK':function(_0x1c1014,_0x14b771){return _0x1c1014(_0x14b771);},'trEUh':_0x2831ab(0x17b),'elgDS':function(_0x5d7bd0,_0x520fc5){return _0x5d7bd0!==_0x520fc5;},'JicBQ':function(_0x40ed76,_0xf2eb3c){return _0x40ed76+_0xf2eb3c;},'TvtLe':function(_0x370d23,_0xc7077a){return _0x370d23(_0xc7077a);},'Ylzrx':_0x2831ab(0x176),'WVFhS':function(_0x2500f1,_0x1828b2){return _0x2500f1>_0x1828b2;},'NesXM':function(_0x4672dd,_0x514c27){return _0x4672dd>_0x514c27;},'HdaNB':function(_0xa4811d,_0x2ea4e7){return _0xa4811d*_0x2ea4e7;},'eBfOq':function(_0x1e57aa,_0x821711,_0x2d5800){return _0x1e57aa(_0x821711,_0x2d5800);}};await _0x26e229[_0x2831ab(0x18b)](_0x5242cd);!BrowserstackCLI[_0x2831ab(0x16f)]()[_0x2831ab(0x174)]()&&await _0x26e229[_0x2831ab(0x18c)]();await helper[_0x2831ab(0x1ab)](_0x26e229['config']);const _0x132aea=[];if(helper['isUndefined'](_0x5242cd['_'][0x1]))throw _0x4b7057['mMYbK'](Error,_0x4b7057[_0x2831ab(0x1a4)]);const _0xe5d026=process[_0x2831ab(0x17c)](),_0x4bfeff=path['resolve'](_0xe5d026,_0x5242cd['_'][0x1]);if(_0x4b7057['elgDS'](_0x4bfeff,_0xe5d026)&&!_0x4bfeff[_0x2831ab(0x197)](_0x4b7057[_0x2831ab(0x184)](_0xe5d026,path[_0x2831ab(0x18d)])))throw _0x4b7057[_0x2831ab(0x173)](Error,_0x2831ab(0x1a9)+_0x5242cd['_'][0x1]+'\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected');if(!fs['existsSync'](_0x4bfeff))throw _0x4b7057[_0x2831ab(0x1a7)](Error,'File\x20'+_0x5242cd['_'][0x1]+_0x2831ab(0x183));if(!_0x26e229[_0x2831ab(0x170)])throw _0x4b7057[_0x2831ab(0x1a7)](Error,_0x4b7057['Ylzrx']);const _0x174a9a=helper[_0x2831ab(0x182)](_0x26e229[_0x2831ab(0x170)]);_0x26e229['config'][_0x2831ab(0x16e)]&&_0x4b7057[_0x2831ab(0x1a0)](_0x26e229[_0x2831ab(0x170)][_0x2831ab(0x16e)][_0x2831ab(0x17a)],0x0)&&_0x26e229[_0x2831ab(0x170)][_0x2831ab(0x16e)][_0x2831ab(0x19e)]((_0x56342b,_0x1e52f8)=>{const _0x159549=_0x2831ab;_0x174a9a?_0x132aea[_0x159549(0x196)](helper[_0x159549(0x1aa)](_0x26e229['config'],_0x4b7057['CqUnY'],_0x1e52f8)):_0x132aea[_0x159549(0x196)](helper[_0x159549(0x179)](_0x26e229['config'],_0x4b7057[_0x159549(0x19c)],_0x1e52f8));});let _0x5b8404,_0x343d81;const _0x24c2cf=[];if(_0x4b7057[_0x2831ab(0x1a6)](_0x132aea[_0x2831ab(0x17a)],0x0))_0x132aea[_0x2831ab(0x19e)]((_0x1f32bc,_0x388139)=>{const _0x5b6176=_0x2831ab,_0x4e021f={};_0x4e021f[_0x5b6176(0x17d)]=_0x388139,_0x5b8404={'server':helper[_0x5b6176(0x1a5)](_0x26e229['config']),'proxySettings':_0x26e229['config'][_0x5b6176(0x1a2)],'platform':helper[_0x5b6176(0x194)](_0x1f32bc),'platformCaps':Object[_0x5b6176(0x186)](_0x4e021f,_0x26e229[_0x5b6176(0x170)]['platforms'][_0x388139])};const _0x39dab1={'capability':_0x1f32bc,..._0x5b8404};_0x39dab1['file']=_0x4bfeff,_0x39dab1['args']=_0x45c4b9;const _0x3ed0b4={};_0x3ed0b4[_0x5b6176(0x189)]=_0x39dab1,_0x343d81=_0x3ed0b4,_0x24c2cf['push'](_0x343d81);});else{let _0x2212bf;_0x174a9a?_0x2212bf=helper['modifyBrowserStackW3CCaps'](_0x26e229[_0x2831ab(0x170)],_0x4b7057[_0x2831ab(0x19c)],0x0):_0x2212bf=helper[_0x2831ab(0x179)](_0x26e229[_0x2831ab(0x170)],_0x4b7057[_0x2831ab(0x19c)],0x0);_0x5b8404={'server':helper[_0x2831ab(0x1a5)](_0x26e229[_0x2831ab(0x170)]),'proxySettings':_0x26e229[_0x2831ab(0x170)][_0x2831ab(0x1a2)]};const _0xa65000={'capability':_0x2212bf,..._0x5b8404};_0xa65000[_0x2831ab(0x180)]=_0x4bfeff,_0xa65000['args']=_0x45c4b9;const _0x11f5c7={};_0x11f5c7[_0x2831ab(0x189)]=_0xa65000,_0x343d81=_0x11f5c7,_0x24c2cf['push'](_0x343d81);}const _0x1c66da=await TestHubHandler[_0x2831ab(0x191)](_0x4b7057[_0x2831ab(0x19c)],_0x26e229),_0xfa5d86=_0x4b7057[_0x2831ab(0x1ad)](_0x26e229[_0x2831ab(0x170)][_0x2831ab(0x16e)][_0x2831ab(0x17a)]||0x1,_0x26e229[_0x2831ab(0x170)][_0x2831ab(0x198)]||0x1);PerformanceTester[_0x2831ab(0x19d)](PerformanceEvents[_0x2831ab(0x18e)]),_0x4b7057['eBfOq'](parallelVanillaRun,_0x24c2cf,_0xfa5d86)[_0x2831ab(0x19a)](_0x5710f7=>{})[_0x2831ab(0x1a1)](async()=>{const _0x8f7e24=_0x2831ab;PerformanceTester[_0x8f7e24(0x178)](PerformanceEvents[_0x8f7e24(0x17e)]),await utilities[_0x8f7e24(0x185)](_0x26e229);});}function a120_0x5c42(){const _0x5c28f4=['config','7tKjIls','700940QBQqgL','mMYbK','isRunning','87EnKJNK','Config\x20yml\x20is\x20required','4984326jAKnyy','start','modifyBrowserStackCaps','length','File\x20path\x20is\x20required','cwd','index','SDK_CLEANUP','exports','file','../v2/browserstackCLI','useW3C','\x20doesn\x27t\x20exist','JicBQ','finalExecution','assign','path','18MXIfNX','configuration','6631440TzbpqU','initialize','setupBrowserstackLocal','sep','SDK_SETUP','../../helpers/performance/constants','../../helpers/performance/performance-tester','launchBuild','270855EwYqrM','77708SvNuks','getPlatformName','../../helpers/testhub/testhubHandler','push','startsWith','parallelsPerPlatform','3666904eSTmoK','then','947642AOGNoe','CqUnY','end','forEach','../test-runner','WVFhS','finally','proxySettings','EVENTS','trEUh','getHubUrl','NesXM','TvtLe','../../helpers/BrowserStackSetup','File\x20path\x20','modifyBrowserStackW3CCaps','handleApp','../../helpers/helper','HdaNB','vanilla','platforms','getInstance'];a120_0x5c42=function(){return _0x5c28f4;};return a120_0x5c42();}module[a120_0x15ab57(0x17f)]=run;
2
+ 'use strict';const a120_0x3f77a5=a120_0x1b64;(function(_0x5f4ccb,_0x4aa29a){const _0x2782d6=a120_0x1b64,_0x53364f=_0x5f4ccb();while(!![]){try{const _0x33971b=-parseInt(_0x2782d6(0x1bd))/0x1+parseInt(_0x2782d6(0x1b7))/0x2+parseInt(_0x2782d6(0x1a2))/0x3*(parseInt(_0x2782d6(0x1c3))/0x4)+-parseInt(_0x2782d6(0x197))/0x5+-parseInt(_0x2782d6(0x185))/0x6*(-parseInt(_0x2782d6(0x1bb))/0x7)+-parseInt(_0x2782d6(0x1b0))/0x8*(parseInt(_0x2782d6(0x1c1))/0x9)+parseInt(_0x2782d6(0x1b3))/0xa;if(_0x33971b===_0x4aa29a)break;else _0x53364f['push'](_0x53364f['shift']());}catch(_0x550b64){_0x53364f['push'](_0x53364f['shift']());}}}(a120_0x21fc,0x5582b));function a120_0x1b64(_0x2f4ca9,_0x372965){const _0x21fc12=a120_0x21fc();return a120_0x1b64=function(_0x1b6416,_0x3d771d){_0x1b6416=_0x1b6416-0x183;let _0x18b07c=_0x21fc12[_0x1b6416];return _0x18b07c;},a120_0x1b64(_0x2f4ca9,_0x372965);}function a120_0x21fc(){const _0x324449=['../../helpers/performance/constants','../../helpers/testhub/testhubHandler','747982PhWLMR','handleApp','initialize','parallelsPerPlatform','84pJJiop','exports','202579YvTJJj','args','\x20doesn\x27t\x20exist','setupBrowserstackLocal','29061shOoqe','cwd','16ldDsAf','Eraht','configuration','modifyBrowserStackW3CCaps','113016neSmnT','../../helpers/utilities','end','push','platforms','file','SDK_SETUP','finalExecution','path','../v2/browserstackCLI','finally','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','mVhGq','../../helpers/performance/performance-tester','proxySettings','useW3C','sep','aWcJB','2522720RznaXh','uiUZu','then','launchBuild','resolve','File\x20','start','dOrfB','getPlatformName','File\x20path\x20','SoLXr','271827PlxMhw','startsWith','assign','ipIkA','getHubUrl','config','WOULv','UbTZP','TmOBA','../../helpers/helper','EVENTS','modifyBrowserStackCaps','isRunning','length','472ctWpCQ','../../helpers/BrowserStackSetup','forEach','2854260dhrSNJ','existsSync'];a120_0x21fc=function(){return _0x324449;};return a120_0x21fc();}const fs=require('fs'),path=require(a120_0x3f77a5(0x18d)),{default:BrowserStackSetup}=require(a120_0x3f77a5(0x1b1)),helper=require(a120_0x3f77a5(0x1ab)),PerformanceTester=require(a120_0x3f77a5(0x192)),PerformanceEvents=require(a120_0x3f77a5(0x1b5))[a120_0x3f77a5(0x1ac)],utilities=require(a120_0x3f77a5(0x186)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a120_0x3f77a5(0x1b6)),BrowserstackCLI=require(a120_0x3f77a5(0x18e));async function run(_0x4f42b4,_0x191afd,_0x42eff3){const _0x5615d5=a120_0x3f77a5,_0x33136f={'UbTZP':'vanilla','ipIkA':function(_0xfbb31,_0x15ca61){return _0xfbb31(_0x15ca61);},'uiUZu':'File\x20path\x20is\x20required','vSCVl':function(_0x2ca52a,_0x2e0fc8){return _0x2ca52a!==_0x2e0fc8;},'Eraht':function(_0x318b97,_0x1ca552){return _0x318b97+_0x1ca552;},'aWcJB':function(_0x5a738c,_0x3639d9){return _0x5a738c(_0x3639d9);},'dOrfB':function(_0x4b4672,_0x2cc254){return _0x4b4672(_0x2cc254);},'mVhGq':'Config\x20yml\x20is\x20required','cGWYR':function(_0x3c4f21,_0x5a3ed7){return _0x3c4f21>_0x5a3ed7;},'TmOBA':function(_0x209e2f,_0x1055a1){return _0x209e2f>_0x1055a1;},'WOULv':function(_0x286702,_0x3d76d3){return _0x286702*_0x3d76d3;},'SoLXr':function(_0x47aec9,_0x27e89a,_0x48419a){return _0x47aec9(_0x27e89a,_0x48419a);}};await _0x42eff3[_0x5615d5(0x1b9)](_0x4f42b4);!BrowserstackCLI['getInstance']()[_0x5615d5(0x1ae)]()&&await _0x42eff3[_0x5615d5(0x1c0)]();await helper[_0x5615d5(0x1b8)](_0x42eff3['config']);const _0x9b4a56=[];if(helper['isUndefined'](_0x4f42b4['_'][0x1]))throw _0x33136f[_0x5615d5(0x1a5)](Error,_0x33136f[_0x5615d5(0x198)]);const _0x9bc57a=process[_0x5615d5(0x1c2)](),_0x3558f7=path[_0x5615d5(0x19b)](_0x9bc57a,_0x4f42b4['_'][0x1]);if(_0x33136f['vSCVl'](_0x3558f7,_0x9bc57a)&&!_0x3558f7[_0x5615d5(0x1a3)](_0x33136f[_0x5615d5(0x1c4)](_0x9bc57a,path[_0x5615d5(0x195)])))throw _0x33136f[_0x5615d5(0x196)](Error,_0x5615d5(0x1a0)+_0x4f42b4['_'][0x1]+_0x5615d5(0x190));if(!fs[_0x5615d5(0x1b4)](_0x3558f7))throw _0x33136f[_0x5615d5(0x196)](Error,_0x5615d5(0x19c)+_0x4f42b4['_'][0x1]+_0x5615d5(0x1bf));if(!_0x42eff3[_0x5615d5(0x1a7)])throw _0x33136f[_0x5615d5(0x19e)](Error,_0x33136f[_0x5615d5(0x191)]);const _0x40462e=helper[_0x5615d5(0x194)](_0x42eff3[_0x5615d5(0x1a7)]);_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)]&&_0x33136f['cGWYR'](_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)][_0x5615d5(0x1af)],0x0)&&_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)][_0x5615d5(0x1b2)]((_0x3cf30a,_0x50760c)=>{const _0x347510=_0x5615d5;_0x40462e?_0x9b4a56[_0x347510(0x188)](helper[_0x347510(0x184)](_0x42eff3[_0x347510(0x1a7)],_0x33136f[_0x347510(0x1a9)],_0x50760c)):_0x9b4a56['push'](helper[_0x347510(0x1ad)](_0x42eff3[_0x347510(0x1a7)],_0x33136f['UbTZP'],_0x50760c));});let _0x4285c6,_0x25a2b6;const _0x59aae3=[];if(_0x33136f[_0x5615d5(0x1aa)](_0x9b4a56[_0x5615d5(0x1af)],0x0))_0x9b4a56['forEach']((_0x1ae1ca,_0xbe923b)=>{const _0x568eb4=_0x5615d5,_0x4355c1={};_0x4355c1['index']=_0xbe923b,_0x4285c6={'server':helper[_0x568eb4(0x1a6)](_0x42eff3[_0x568eb4(0x1a7)]),'proxySettings':_0x42eff3[_0x568eb4(0x1a7)][_0x568eb4(0x193)],'platform':helper[_0x568eb4(0x19f)](_0x1ae1ca),'platformCaps':Object[_0x568eb4(0x1a4)](_0x4355c1,_0x42eff3[_0x568eb4(0x1a7)][_0x568eb4(0x189)][_0xbe923b])};const _0x1af4f7={'capability':_0x1ae1ca,..._0x4285c6};_0x1af4f7[_0x568eb4(0x18a)]=_0x3558f7,_0x1af4f7[_0x568eb4(0x1be)]=_0x191afd;const _0xb91d73={};_0xb91d73['configuration']=_0x1af4f7,_0x25a2b6=_0xb91d73,_0x59aae3[_0x568eb4(0x188)](_0x25a2b6);});else{let _0x13718a;_0x40462e?_0x13718a=helper[_0x5615d5(0x184)](_0x42eff3[_0x5615d5(0x1a7)],_0x33136f[_0x5615d5(0x1a9)],0x0):_0x13718a=helper[_0x5615d5(0x1ad)](_0x42eff3[_0x5615d5(0x1a7)],_0x33136f[_0x5615d5(0x1a9)],0x0);_0x4285c6={'server':helper['getHubUrl'](_0x42eff3[_0x5615d5(0x1a7)]),'proxySettings':_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x193)]};const _0x4d5788={'capability':_0x13718a,..._0x4285c6};_0x4d5788[_0x5615d5(0x18a)]=_0x3558f7,_0x4d5788[_0x5615d5(0x1be)]=_0x191afd;const _0x1f3479={};_0x1f3479[_0x5615d5(0x183)]=_0x4d5788,_0x25a2b6=_0x1f3479,_0x59aae3[_0x5615d5(0x188)](_0x25a2b6);}const _0x459d1a=await TestHubHandler[_0x5615d5(0x19a)](_0x33136f[_0x5615d5(0x1a9)],_0x42eff3),_0x487cc=_0x33136f[_0x5615d5(0x1a8)](_0x42eff3[_0x5615d5(0x1a7)][_0x5615d5(0x189)][_0x5615d5(0x1af)]||0x1,_0x42eff3['config'][_0x5615d5(0x1ba)]||0x1);PerformanceTester[_0x5615d5(0x187)](PerformanceEvents[_0x5615d5(0x18b)]),_0x33136f[_0x5615d5(0x1a1)](parallelVanillaRun,_0x59aae3,_0x487cc)[_0x5615d5(0x199)](_0x370652=>{})[_0x5615d5(0x18f)](async()=>{const _0x56c538=_0x5615d5;PerformanceTester[_0x56c538(0x19d)](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x56c538(0x18c)](_0x42eff3);});}module[a120_0x3f77a5(0x1bc)]=run;
@@ -1 +1 @@
1
- function a121_0x1299(_0x5b370a,_0x1cae0d){const _0x3e81cc=a121_0x3e81();return a121_0x1299=function(_0x129930,_0x5d2a37){_0x129930=_0x129930-0xc1;let _0x456f01=_0x3e81cc[_0x129930];return _0x456f01;},a121_0x1299(_0x5b370a,_0x1cae0d);}const a121_0x487dbc=a121_0x1299;(function(_0x10f93c,_0x309ca5){const _0xad4376=a121_0x1299,_0xbab8ba=_0x10f93c();while(!![]){try{const _0x1adb93=parseInt(_0xad4376(0xdc))/0x1*(parseInt(_0xad4376(0xc7))/0x2)+-parseInt(_0xad4376(0xc8))/0x3+-parseInt(_0xad4376(0xe4))/0x4+-parseInt(_0xad4376(0xdd))/0x5+parseInt(_0xad4376(0xcb))/0x6*(-parseInt(_0xad4376(0xc3))/0x7)+-parseInt(_0xad4376(0xd3))/0x8+parseInt(_0xad4376(0xdf))/0x9;if(_0x1adb93===_0x309ca5)break;else _0xbab8ba['push'](_0xbab8ba['shift']());}catch(_0x14bbe2){_0xbab8ba['push'](_0xbab8ba['shift']());}}}(a121_0x3e81,0x2dd01));const TestMetadata=require('./helpers/metadata');class BrowserStackSdk{static[a121_0x487dbc(0xc9)](){const _0x544ca6=a121_0x487dbc,_0x381da0={};_0x381da0[_0x544ca6(0xcf)]=_0x544ca6(0xd2),_0x381da0['dUONa']=_0x544ca6(0xe3),_0x381da0[_0x544ca6(0xe1)]=_0x544ca6(0xd9),_0x381da0['UelOK']='browserName',_0x381da0['zWGiP']=_0x544ca6(0xc1),_0x381da0[_0x544ca6(0xda)]=_0x544ca6(0xce),_0x381da0[_0x544ca6(0xe0)]=_0x544ca6(0xcd),_0x381da0[_0x544ca6(0xde)]=_0x544ca6(0xdb),_0x381da0['zjpqB']='platform',_0x381da0['fZPUS']=_0x544ca6(0xd6),_0x381da0['dWBLt']=_0x544ca6(0xcc),_0x381da0['VpMaT']=_0x544ca6(0xc2),_0x381da0[_0x544ca6(0xca)]=_0x544ca6(0xd0);const _0x2bdda9=_0x381da0,_0x3daf7d={};if(global[_0x544ca6(0xd4)]){const _0x4295b9=global[_0x544ca6(0xd4)],_0x4b854b=_0x4295b9[_0x2bdda9[_0x544ca6(0xcf)]]||_0x4295b9[_0x2bdda9[_0x544ca6(0xd5)]],_0x304e7d=_0x4295b9[_0x2bdda9[_0x544ca6(0xe1)]]||_0x4295b9[_0x2bdda9[_0x544ca6(0xe2)]],_0x14dd01=_0x4295b9[_0x2bdda9[_0x544ca6(0xd1)]]||_0x4295b9[_0x2bdda9[_0x544ca6(0xda)]],_0x49338b=_0x4295b9[_0x2bdda9['cleeT']]||_0x4295b9[_0x2bdda9['KbYbQ']],_0x30032d=_0x4295b9[_0x2bdda9['zjpqB']]||_0x4295b9[_0x2bdda9[_0x544ca6(0xc5)]],_0x4a3435=_0x4295b9[_0x2bdda9[_0x544ca6(0xd8)]]||_0x4295b9[_0x2bdda9[_0x544ca6(0xc6)]];_0x4295b9['os']&&(_0x3daf7d['os']=_0x4295b9['os']),_0x4b854b&&(_0x3daf7d[_0x2bdda9['dUONa']]=_0x4b854b),_0x304e7d&&(_0x3daf7d[_0x2bdda9[_0x544ca6(0xe2)]]=_0x304e7d),_0x14dd01&&(_0x3daf7d[_0x2bdda9[_0x544ca6(0xda)]]=_0x14dd01),_0x49338b&&(_0x3daf7d[_0x2bdda9[_0x544ca6(0xde)]]=_0x49338b),_0x30032d&&(_0x3daf7d[_0x2bdda9[_0x544ca6(0xc5)]]=_0x30032d),_0x4a3435&&(_0x3daf7d[_0x2bdda9[_0x544ca6(0xc6)]]=_0x4a3435),_0x4295b9[_0x2bdda9['LQhjC']]&&(_0x3daf7d[_0x2bdda9[_0x544ca6(0xca)]]=_0x4295b9[_0x2bdda9[_0x544ca6(0xca)]]);}return _0x3daf7d;}static[a121_0x487dbc(0xd7)](_0x48f446={}){TestMetadata['set'](_0x48f446);}}function a121_0x3e81(){const _0x47e44b=['browserVersion','sNbEw','customVariables','zWGiP','os_version','2771544qRrQbx','__platformCaps','dUONa','platformName','setTestMetadata','dWBLt','browser','wIrog','deviceName','138929WlHEAy','157770qBHvgO','KbYbQ','5681556fxgNCC','cleeT','dfjOQ','UelOK','osVersion','762740ieqejY','browser_version','platformVersion','356783lwyFLU','exports','fZPUS','VpMaT','4oRkHRv','305526OyDpwk','getCurrentPlatform','LQhjC','6bhXBiE','platform_version','device'];a121_0x3e81=function(){return _0x47e44b;};return a121_0x3e81();}module[a121_0x487dbc(0xc4)]=BrowserStackSdk;
1
+ function a121_0x36be(_0x573d5e,_0x31d452){const _0x431744=a121_0x4317();return a121_0x36be=function(_0x36be76,_0x5d943f){_0x36be76=_0x36be76-0xdb;let _0x59001b=_0x431744[_0x36be76];return _0x59001b;},a121_0x36be(_0x573d5e,_0x31d452);}const a121_0xa94a36=a121_0x36be;function a121_0x4317(){const _0x5afc75=['lyyvS','3624973fwChRB','platformName','zOZvJ','__platformCaps','browser','getCurrentPlatform','222VfyFbc','132336bvRlgt','7744HYqeIQ','92470VVPfde','./helpers/metadata','OSDya','RzFjw','os_version','pjdee','device','8605980GkLEMS','378AlAdsP','9cMqGfi','deviceName','mRbLM','PlKHm','browserVersion','78PKfgDk','exports','customVariables','17356yFAuVZ','set','tigAW','xXggc','30192qEnmUu','UgknQ','browser_version','BZmrE','VNZlp','57GTMSst','osVersion','EHkMt','140zSrZFi'];a121_0x4317=function(){return _0x5afc75;};return a121_0x4317();}(function(_0x2fcabf,_0x381017){const _0x5630e5=a121_0x36be,_0x31d627=_0x2fcabf();while(!![]){try{const _0x26aa39=parseInt(_0x5630e5(0xe9))/0x1*(parseInt(_0x5630e5(0xdf))/0x2)+parseInt(_0x5630e5(0xdc))/0x3*(-parseInt(_0x5630e5(0xfb))/0x4)+-parseInt(_0x5630e5(0xea))/0x5*(parseInt(_0x5630e5(0xe7))/0x6)+-parseInt(_0x5630e5(0xf2))/0x7*(-parseInt(_0x5630e5(0xff))/0x8)+parseInt(_0x5630e5(0xf3))/0x9*(parseInt(_0x5630e5(0xf1))/0xa)+-parseInt(_0x5630e5(0xe1))/0xb+-parseInt(_0x5630e5(0xe8))/0xc*(parseInt(_0x5630e5(0xf8))/0xd);if(_0x26aa39===_0x381017)break;else _0x31d627['push'](_0x31d627['shift']());}catch(_0x475219){_0x31d627['push'](_0x31d627['shift']());}}}(a121_0x4317,0x6c68c));const TestMetadata=require(a121_0xa94a36(0xeb));class BrowserStackSdk{static[a121_0xa94a36(0xe6)](){const _0x5b1ee3=a121_0xa94a36,_0x21650e={};_0x21650e[_0x5b1ee3(0xfd)]=_0x5b1ee3(0xee),_0x21650e['BZmrE']=_0x5b1ee3(0xdd),_0x21650e['RzFjw']=_0x5b1ee3(0xe5),_0x21650e[_0x5b1ee3(0xf6)]='browserName',_0x21650e[_0x5b1ee3(0xe0)]=_0x5b1ee3(0x101),_0x21650e[_0x5b1ee3(0xef)]=_0x5b1ee3(0xf7),_0x21650e['UgknQ']=_0x5b1ee3(0xf0),_0x21650e['xXggc']=_0x5b1ee3(0xf4),_0x21650e[_0x5b1ee3(0xe3)]='platform',_0x21650e[_0x5b1ee3(0xec)]=_0x5b1ee3(0xe2),_0x21650e[_0x5b1ee3(0xde)]='platform_version',_0x21650e[_0x5b1ee3(0xdb)]='platformVersion',_0x21650e[_0x5b1ee3(0xf5)]=_0x5b1ee3(0xfa);const _0x196716=_0x21650e,_0x4a70af={};if(global['__platformCaps']){const _0x477293=global[_0x5b1ee3(0xe4)],_0x34a0c5=_0x477293[_0x196716[_0x5b1ee3(0xfd)]]||_0x477293[_0x196716[_0x5b1ee3(0x102)]],_0x45d274=_0x477293[_0x196716[_0x5b1ee3(0xed)]]||_0x477293[_0x196716['PlKHm']],_0x5c6249=_0x477293[_0x196716[_0x5b1ee3(0xe0)]]||_0x477293[_0x196716[_0x5b1ee3(0xef)]],_0x2bf63f=_0x477293[_0x196716[_0x5b1ee3(0x100)]]||_0x477293[_0x196716[_0x5b1ee3(0xfe)]],_0x35bc61=_0x477293[_0x196716[_0x5b1ee3(0xe3)]]||_0x477293[_0x196716['OSDya']],_0xe2c16=_0x477293[_0x196716[_0x5b1ee3(0xde)]]||_0x477293[_0x196716[_0x5b1ee3(0xdb)]];_0x477293['os']&&(_0x4a70af['os']=_0x477293['os']),_0x34a0c5&&(_0x4a70af[_0x196716['BZmrE']]=_0x34a0c5),_0x45d274&&(_0x4a70af[_0x196716[_0x5b1ee3(0xf6)]]=_0x45d274),_0x5c6249&&(_0x4a70af[_0x196716[_0x5b1ee3(0xef)]]=_0x5c6249),_0x2bf63f&&(_0x4a70af[_0x196716['xXggc']]=_0x2bf63f),_0x35bc61&&(_0x4a70af[_0x196716[_0x5b1ee3(0xec)]]=_0x35bc61),_0xe2c16&&(_0x4a70af[_0x196716['VNZlp']]=_0xe2c16),_0x477293[_0x196716[_0x5b1ee3(0xf5)]]&&(_0x4a70af[_0x196716['mRbLM']]=_0x477293[_0x196716['mRbLM']]);}return _0x4a70af;}static['setTestMetadata'](_0x4bce6b={}){const _0x1baceb=a121_0xa94a36;TestMetadata[_0x1baceb(0xfc)](_0x4bce6b);}}module[a121_0xa94a36(0xf9)]=BrowserStackSdk;