browserstack-node-sdk 1.47.1 → 1.47.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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -0
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a119_0x16a2(_0x28ad85,_0x12c90a){const _0x17104b=a119_0x1710();return a119_0x16a2=function(_0x16a2b1,_0x2f779a){_0x16a2b1=_0x16a2b1-0x17f;let _0x5aec70=_0x17104b[_0x16a2b1];return _0x5aec70;},a119_0x16a2(_0x28ad85,_0x12c90a);}const a119_0x183b30=a119_0x16a2;(function(_0x12fb8d,_0x4591ed){const _0x2f8044=a119_0x16a2,_0x4fd9d0=_0x12fb8d();while(!![]){try{const _0x4dee24=parseInt(_0x2f8044(0x1f8))/0x1+-parseInt(_0x2f8044(0x1ea))/0x2*(parseInt(_0x2f8044(0x1f3))/0x3)+-parseInt(_0x2f8044(0x19c))/0x4*(-parseInt(_0x2f8044(0x188))/0x5)+parseInt(_0x2f8044(0x1f5))/0x6+-parseInt(_0x2f8044(0x1b1))/0x7+parseInt(_0x2f8044(0x1e5))/0x8*(-parseInt(_0x2f8044(0x19a))/0x9)+parseInt(_0x2f8044(0x1af))/0xa;if(_0x4dee24===_0x4591ed)break;else _0x4fd9d0['push'](_0x4fd9d0['shift']());}catch(_0x316611){_0x4fd9d0['push'](_0x4fd9d0['shift']());}}}(a119_0x1710,0x33abd));const a119_0x12b9cb={};a119_0x12b9cb['SDK_SETUP']=a119_0x183b30(0x1ad),a119_0x12b9cb[a119_0x183b30(0x1e9)]='sdk:cleanup',a119_0x12b9cb['SDK_PRE_TEST']=a119_0x183b30(0x1a6),a119_0x12b9cb[a119_0x183b30(0x187)]=a119_0x183b30(0x1a4),a119_0x12b9cb[a119_0x183b30(0x194)]=a119_0x183b30(0x18b),a119_0x12b9cb[a119_0x183b30(0x1de)]='sdk:hook',a119_0x12b9cb[a119_0x183b30(0x190)]=a119_0x183b30(0x196),a119_0x12b9cb[a119_0x183b30(0x1c9)]=a119_0x183b30(0x1e2),a119_0x12b9cb[a119_0x183b30(0x1d2)]=a119_0x183b30(0x1d1),a119_0x12b9cb['SDK_AUTO_CAPTURE']='sdk:auto-capture',a119_0x12b9cb['SDK_PROXY_SETUP']=a119_0x183b30(0x197),a119_0x12b9cb['SDK_TESTHUB']=a119_0x183b30(0x18f),a119_0x12b9cb['SDK_AUTOMATE']=a119_0x183b30(0x1ee),a119_0x12b9cb['SDK_APP_AUTOMATE']='sdk:app-automate',a119_0x12b9cb[a119_0x183b30(0x199)]=a119_0x183b30(0x1fd),a119_0x12b9cb[a119_0x183b30(0x1f6)]=a119_0x183b30(0x1c3),a119_0x12b9cb[a119_0x183b30(0x19d)]=a119_0x183b30(0x181),a119_0x12b9cb['SDK_POST_INITIALIZE']=a119_0x183b30(0x203),a119_0x12b9cb[a119_0x183b30(0x1e1)]=a119_0x183b30(0x1cb),a119_0x12b9cb[a119_0x183b30(0x1a8)]=a119_0x183b30(0x1ac),a119_0x12b9cb[a119_0x183b30(0x1c0)]=a119_0x183b30(0x189),a119_0x12b9cb['SDK_CLI_ON_BOOTSTRAP']=a119_0x183b30(0x17f),a119_0x12b9cb[a119_0x183b30(0x1a1)]=a119_0x183b30(0x1b8),a119_0x12b9cb[a119_0x183b30(0x1d4)]=a119_0x183b30(0x19b),a119_0x12b9cb[a119_0x183b30(0x18d)]=a119_0x183b30(0x1d8),a119_0x12b9cb['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a119_0x12b9cb[a119_0x183b30(0x1b3)]=a119_0x183b30(0x1a5),a119_0x12b9cb[a119_0x183b30(0x1ff)]=a119_0x183b30(0x1fe),a119_0x12b9cb['SDK_AUTOMATION_FRAMEWORK_INIT']=a119_0x183b30(0x1b9),a119_0x12b9cb['SDK_AUTOMATION_FRAMEWORK_START']=a119_0x183b30(0x19e),a119_0x12b9cb[a119_0x183b30(0x1ca)]='sdk:accessibilityConfig',a119_0x12b9cb[a119_0x183b30(0x1e7)]=a119_0x183b30(0x1db),a119_0x12b9cb[a119_0x183b30(0x1cf)]='sdk:aiSelfHealStep',a119_0x12b9cb[a119_0x183b30(0x1ae)]=a119_0x183b30(0x1c5),a119_0x12b9cb['SDK_TEST_FRAMEWORK_EVENT']=a119_0x183b30(0x1ce),a119_0x12b9cb['SDK_TEST_SESSION_EVENT']=a119_0x183b30(0x1bd),a119_0x12b9cb[a119_0x183b30(0x1da)]='sdk:cli:logCreatedEvent',a119_0x12b9cb['SDK_CLI_ENQUEUE_TEST_EVENT']=a119_0x183b30(0x204),a119_0x12b9cb[a119_0x183b30(0x1e3)]=a119_0x183b30(0x1d6),a119_0x12b9cb[a119_0x183b30(0x1a2)]=a119_0x183b30(0x1d3);const SDK_EVENTS=a119_0x12b9cb,a119_0x122a67={};function a119_0x1710(){const _0x5dc0cc=[':sync','PERCY_EVENTS','SDK_APP_AUTOMATE','sdk:cli:on-bootstrap','AFTER','sdk:driver:pre-initialization',':before-all','exports',':local-start','TURBOSCALE_EVENTS',':print-buildlink','SDK_TEST','842770xbYaYN','sdk:cli:check-update',':get','sdk:post-test','SESSION_STATUS','SDK_START_BIN_SESSION',':driver-takeScreenShot','sdk:testhub','SDK_DRIVER','HOOK_EVENTS',':screenshot-app','A11Y_EVENTS','SDK_POST_TEST','AUTOMATE_EVENTS','sdk:driver','sdk:proxy-setup','HUB_MANAGEMENT','SDK_TURBOSCALE','70947ibjKTl','sdk:cli:on-stop','8veUGHt','SDK_PRE_INITIALIZE','sdk:automationFrameworkStart',':before',':after-all','SDK_CLI_ON_CONNECT','SDK_ON_STOP',':hub-management','sdk:test','sdk:driverInit','sdk:pre-test',':session-annotation','SDK_CLI_DOWNLOAD','PERFORM_SCAN','APP_AUOTMATE_EVENTS','SDK_AUTOMATE','sdk:cli:download','sdk:setup','SDK_AI_SELF_HEAL_GET_RESULT','1798650LIyAiD','IDLE_TIMEOUT','832405Xsoksg','LOCAL_STOP','SDK_DRIVER_INIT','TAKE_SCREENSHOT','DRIVER_EVENT',':screenshot','SESSION_NAME','sdk:cli:on-connect','sdk:automationFrameworkInit','DRIVER_MANAGE','PRINT_BUILDLINK','STOP','sdk:testSessionEvent','SNAPSHOT',':quit','SDK_CLI_CHECK_UPDATE',':snapshot',':start','sdk:percy','SDK_TESTHUB','sdk:aiSelfHealGetResult',':ci-artifacts','GENERATE_CI_ARTIFACT','SESSION_ANNOTATION','SDK_A11Y','SDK_ACCESSIBILITY_CONFIG','sdk:cli:start','START','AFTER_ALL','sdk:testFrameworkEvent','SDK_AI_SELF_HEAL_STEP',':driver-manage','sdk:o11y','SDK_O11Y','sdk:onStop','SDK_CLI_ON_STOP',':local-stop','sdk:automationFrameworkStop','KEEP_ALIVE','sdk:startBinSession',':pre-execute','SDK_CLI_LOG_CREATED_EVENT','sdk:observabilityConfig',':idle-timeout',':after-each','SDK_HOOK','O11y_EVENTS',':app-upload','SDK_CLI_START','sdk:a11y','SDK_AUTOMATION_FRAMEWORK_STOP',':auto-capture','232yKrHvc',':stop','SDK_OBSERVABILITY_CONFIG',':save-results','SDK_CLEANUP','1238TFndmk',':keep-alive','AFTER_EACH','GET_RESULTS_SUMMARY','sdk:automate','BEFORE','BEFORE_ALL',':download','SAVE_RESULTS','1695OKPKnn','SYNC','900798sOwcZK','SDK_PERCY',':get-accessibility-results','241796QWEfkk','POST_EXECUTE','BEFORE_EACH','PRE_EXECUTE','GET_RESULTS','sdk:turboscale','sdk:findNearestHub','SDK_FIND_NEAREST_HUB','AUTO_CAPTURE',':driver-performscan','GET','sdk:driver:post-initialization','sdk:cli:enqueueTestEvent'];a119_0x1710=function(){return _0x5dc0cc;};return a119_0x1710();}a119_0x122a67['EVENTS']=SDK_EVENTS,a119_0x122a67['TESTHUB_EVENTS']={},a119_0x122a67[a119_0x183b30(0x195)]={},a119_0x122a67[a119_0x183b30(0x193)]={},a119_0x122a67[a119_0x183b30(0x206)]={},a119_0x122a67[a119_0x183b30(0x1df)]={},a119_0x122a67[a119_0x183b30(0x191)]={},a119_0x122a67[a119_0x183b30(0x185)]={},a119_0x122a67[a119_0x183b30(0x1aa)]={},a119_0x122a67[a119_0x183b30(0x1b5)]={},a119_0x122a67['TESTHUB_EVENTS'][a119_0x183b30(0x1cc)]=SDK_EVENTS[a119_0x183b30(0x1c4)]+a119_0x183b30(0x1c2),a119_0x122a67['TESTHUB_EVENTS'][a119_0x183b30(0x1bc)]=SDK_EVENTS[a119_0x183b30(0x1c4)]+a119_0x183b30(0x1e6),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1d7)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1eb),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x198)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1a3),a119_0x122a67[a119_0x183b30(0x195)]['LOCAL_START']=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x184),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1b2)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x1d5),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1ba)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1d0),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1b7)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+':session-name',a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x18c)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1c8)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x1a7),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1b0)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x1dc),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1c7)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1c6),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1bb)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x186),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1a9)]=SDK_EVENTS[a119_0x183b30(0x1c9)]+a119_0x183b30(0x201),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1f2)]=SDK_EVENTS['SDK_A11Y']+a119_0x183b30(0x1e8),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1fc)]=SDK_EVENTS[a119_0x183b30(0x1c9)]+a119_0x183b30(0x1f7),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1ed)]=SDK_EVENTS[a119_0x183b30(0x1c9)]+':get-accessibility-results-summary',a119_0x122a67[a119_0x183b30(0x206)]['DOWNLOAD']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1f1),a119_0x122a67[a119_0x183b30(0x206)]['SCREENSHOT']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1b6),a119_0x122a67[a119_0x183b30(0x206)]['START']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1c2),a119_0x122a67[a119_0x183b30(0x206)][a119_0x183b30(0x1bc)]=SDK_EVENTS['SDK_PERCY']+a119_0x183b30(0x1e6),a119_0x122a67[a119_0x183b30(0x206)][a119_0x183b30(0x200)]=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1e4),a119_0x122a67[a119_0x183b30(0x206)][a119_0x183b30(0x1be)]=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1c1),a119_0x122a67[a119_0x183b30(0x206)]['SCREENSHOT_APP']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x192),a119_0x122a67[a119_0x183b30(0x1df)][a119_0x183b30(0x1f4)]=SDK_EVENTS[a119_0x183b30(0x1d2)]+a119_0x183b30(0x205),a119_0x122a67[a119_0x183b30(0x1df)][a119_0x183b30(0x1b4)]=SDK_EVENTS['SDK_O11Y']+a119_0x183b30(0x18e),a119_0x122a67[a119_0x183b30(0x1df)][a119_0x183b30(0x1bb)]=SDK_EVENTS['SDK_O11Y']+a119_0x183b30(0x186),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1fa)]=SDK_EVENTS[a119_0x183b30(0x1de)]+':before-each',a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1ec)]=SDK_EVENTS[a119_0x183b30(0x1de)]+a119_0x183b30(0x1dd),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1cd)]=SDK_EVENTS['SDK_HOOK']+a119_0x183b30(0x1a0),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1f0)]=SDK_EVENTS[a119_0x183b30(0x1de)]+a119_0x183b30(0x182),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1ef)]=SDK_EVENTS[a119_0x183b30(0x1de)]+a119_0x183b30(0x19f),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x180)]=SDK_EVENTS['SDK_HOOK']+':after',a119_0x122a67[a119_0x183b30(0x185)][a119_0x183b30(0x198)]=SDK_EVENTS[a119_0x183b30(0x199)]+a119_0x183b30(0x1a3),a119_0x122a67[a119_0x183b30(0x185)][a119_0x183b30(0x1bb)]=SDK_EVENTS[a119_0x183b30(0x199)]+':print-buildlink',a119_0x122a67[a119_0x183b30(0x1aa)]['APP_UPLOAD']=SDK_EVENTS[a119_0x183b30(0x207)]+a119_0x183b30(0x1e0),a119_0x122a67[a119_0x183b30(0x1b5)]['QUIT']=SDK_EVENTS[a119_0x183b30(0x190)]+a119_0x183b30(0x1bf),a119_0x122a67[a119_0x183b30(0x1b5)][a119_0x183b30(0x202)]=SDK_EVENTS[a119_0x183b30(0x190)]+a119_0x183b30(0x18a),a119_0x122a67[a119_0x183b30(0x1b5)][a119_0x183b30(0x1fb)]=SDK_EVENTS[a119_0x183b30(0x190)]+a119_0x183b30(0x1d9),a119_0x122a67[a119_0x183b30(0x1b5)][a119_0x183b30(0x1f9)]=SDK_EVENTS[a119_0x183b30(0x190)]+':post-execute',module[a119_0x183b30(0x183)]=a119_0x122a67;
1
+ const a120_0x56e7fc=a120_0x3c10;function a120_0x3c10(_0x4084f0,_0x5a688b){const _0x12e5b9=a120_0x12e5();return a120_0x3c10=function(_0x3c10dc,_0xe210a5){_0x3c10dc=_0x3c10dc-0x136;let _0x21a73c=_0x12e5b9[_0x3c10dc];return _0x21a73c;},a120_0x3c10(_0x4084f0,_0x5a688b);}(function(_0x14ec8c,_0x5f5bda){const _0xeb752e=a120_0x3c10,_0x1d0b64=_0x14ec8c();while(!![]){try{const _0x30f582=-parseInt(_0xeb752e(0x1a8))/0x1*(parseInt(_0xeb752e(0x1b4))/0x2)+parseInt(_0xeb752e(0x16c))/0x3*(parseInt(_0xeb752e(0x1a4))/0x4)+-parseInt(_0xeb752e(0x198))/0x5+parseInt(_0xeb752e(0x157))/0x6+parseInt(_0xeb752e(0x139))/0x7*(parseInt(_0xeb752e(0x14f))/0x8)+-parseInt(_0xeb752e(0x17b))/0x9*(-parseInt(_0xeb752e(0x13d))/0xa)+-parseInt(_0xeb752e(0x171))/0xb;if(_0x30f582===_0x5f5bda)break;else _0x1d0b64['push'](_0x1d0b64['shift']());}catch(_0x7dd4e0){_0x1d0b64['push'](_0x1d0b64['shift']());}}}(a120_0x12e5,0x9ae3f));const a120_0x471873={};a120_0x471873[a120_0x56e7fc(0x155)]='sdk:setup',a120_0x471873[a120_0x56e7fc(0x15b)]=a120_0x56e7fc(0x1a1),a120_0x471873[a120_0x56e7fc(0x18c)]='sdk:pre-test',a120_0x471873[a120_0x56e7fc(0x1a0)]='sdk:test',a120_0x471873[a120_0x56e7fc(0x172)]=a120_0x56e7fc(0x16d),a120_0x471873['SDK_HOOK']='sdk:hook',a120_0x471873['SDK_DRIVER']=a120_0x56e7fc(0x152),a120_0x471873['SDK_A11Y']='sdk:a11y',a120_0x471873['SDK_O11Y']=a120_0x56e7fc(0x1b0),a120_0x471873[a120_0x56e7fc(0x1ae)]=a120_0x56e7fc(0x1b6),a120_0x471873[a120_0x56e7fc(0x165)]=a120_0x56e7fc(0x16a),a120_0x471873['SDK_TESTHUB']=a120_0x56e7fc(0x183),a120_0x471873[a120_0x56e7fc(0x1a5)]=a120_0x56e7fc(0x19d),a120_0x471873['SDK_APP_AUTOMATE']='sdk:app-automate',a120_0x471873[a120_0x56e7fc(0x1b7)]=a120_0x56e7fc(0x19c),a120_0x471873[a120_0x56e7fc(0x193)]=a120_0x56e7fc(0x178),a120_0x471873['SDK_PRE_INITIALIZE']=a120_0x56e7fc(0x144),a120_0x471873[a120_0x56e7fc(0x19f)]='sdk:driver:post-initialization',a120_0x471873[a120_0x56e7fc(0x1b5)]='sdk:cli:start',a120_0x471873[a120_0x56e7fc(0x158)]=a120_0x56e7fc(0x156),a120_0x471873[a120_0x56e7fc(0x147)]=a120_0x56e7fc(0x187),a120_0x471873[a120_0x56e7fc(0x188)]=a120_0x56e7fc(0x150),a120_0x471873[a120_0x56e7fc(0x190)]=a120_0x56e7fc(0x1b9),a120_0x471873[a120_0x56e7fc(0x1a7)]=a120_0x56e7fc(0x1b3),a120_0x471873['SDK_START_BIN_SESSION']='sdk:startBinSession',a120_0x471873[a120_0x56e7fc(0x19e)]='sdk:connectBinSession',a120_0x471873[a120_0x56e7fc(0x166)]=a120_0x56e7fc(0x14a),a120_0x471873[a120_0x56e7fc(0x14e)]=a120_0x56e7fc(0x13c),a120_0x471873[a120_0x56e7fc(0x17e)]=a120_0x56e7fc(0x195),a120_0x471873['SDK_AUTOMATION_FRAMEWORK_START']=a120_0x56e7fc(0x146),a120_0x471873[a120_0x56e7fc(0x184)]=a120_0x56e7fc(0x182),a120_0x471873[a120_0x56e7fc(0x181)]=a120_0x56e7fc(0x14b),a120_0x471873[a120_0x56e7fc(0x151)]=a120_0x56e7fc(0x1a2),a120_0x471873[a120_0x56e7fc(0x154)]=a120_0x56e7fc(0x17a),a120_0x471873[a120_0x56e7fc(0x167)]=a120_0x56e7fc(0x1b2),a120_0x471873[a120_0x56e7fc(0x16b)]=a120_0x56e7fc(0x1bf),a120_0x471873[a120_0x56e7fc(0x160)]='sdk:cli:logCreatedEvent',a120_0x471873[a120_0x56e7fc(0x136)]='sdk:cli:enqueueTestEvent',a120_0x471873[a120_0x56e7fc(0x15f)]=a120_0x56e7fc(0x17c),a120_0x471873['SDK_ON_STOP']=a120_0x56e7fc(0x1b1);const SDK_EVENTS=a120_0x471873,a120_0x32c89e={};a120_0x32c89e['EVENTS']=SDK_EVENTS,a120_0x32c89e[a120_0x56e7fc(0x13b)]={},a120_0x32c89e[a120_0x56e7fc(0x1a9)]={},a120_0x32c89e[a120_0x56e7fc(0x19a)]={},a120_0x32c89e[a120_0x56e7fc(0x13e)]={},a120_0x32c89e[a120_0x56e7fc(0x140)]={},a120_0x32c89e[a120_0x56e7fc(0x1ab)]={},a120_0x32c89e[a120_0x56e7fc(0x179)]={},a120_0x32c89e[a120_0x56e7fc(0x16f)]={},a120_0x32c89e[a120_0x56e7fc(0x137)]={},a120_0x32c89e[a120_0x56e7fc(0x13b)]['START']=SDK_EVENTS['SDK_TESTHUB']+':start',a120_0x32c89e[a120_0x56e7fc(0x13b)][a120_0x56e7fc(0x164)]=SDK_EVENTS[a120_0x56e7fc(0x1bc)]+':stop',a120_0x32c89e[a120_0x56e7fc(0x1a9)]['KEEP_ALIVE']=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+':keep-alive',a120_0x32c89e[a120_0x56e7fc(0x1a9)]['HUB_MANAGEMENT']=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x141),a120_0x32c89e[a120_0x56e7fc(0x1a9)][a120_0x56e7fc(0x1ba)]=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x1a3),a120_0x32c89e[a120_0x56e7fc(0x1a9)]['LOCAL_STOP']=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x180),a120_0x32c89e[a120_0x56e7fc(0x1a9)][a120_0x56e7fc(0x196)]=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x15c),a120_0x32c89e[a120_0x56e7fc(0x1a9)][a120_0x56e7fc(0x14d)]=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x199),a120_0x32c89e[a120_0x56e7fc(0x1a9)]['SESSION_STATUS']=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x1bb),a120_0x32c89e[a120_0x56e7fc(0x1a9)][a120_0x56e7fc(0x194)]=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+':session-annotation',a120_0x32c89e[a120_0x56e7fc(0x1a9)][a120_0x56e7fc(0x17f)]=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x15a),a120_0x32c89e[a120_0x56e7fc(0x1a9)][a120_0x56e7fc(0x191)]=SDK_EVENTS[a120_0x56e7fc(0x1a5)]+a120_0x56e7fc(0x138),a120_0x32c89e[a120_0x56e7fc(0x1a9)][a120_0x56e7fc(0x149)]=SDK_EVENTS['SDK_AUTOMATE']+':print-buildlink',a120_0x32c89e[a120_0x56e7fc(0x19a)]['PERFORM_SCAN']=SDK_EVENTS[a120_0x56e7fc(0x159)]+a120_0x56e7fc(0x185),a120_0x32c89e[a120_0x56e7fc(0x19a)][a120_0x56e7fc(0x18e)]=SDK_EVENTS[a120_0x56e7fc(0x159)]+a120_0x56e7fc(0x192),a120_0x32c89e[a120_0x56e7fc(0x19a)][a120_0x56e7fc(0x1aa)]=SDK_EVENTS[a120_0x56e7fc(0x159)]+a120_0x56e7fc(0x18a),a120_0x32c89e[a120_0x56e7fc(0x19a)][a120_0x56e7fc(0x175)]=SDK_EVENTS[a120_0x56e7fc(0x159)]+a120_0x56e7fc(0x16e),a120_0x32c89e[a120_0x56e7fc(0x13e)][a120_0x56e7fc(0x153)]=SDK_EVENTS[a120_0x56e7fc(0x193)]+a120_0x56e7fc(0x168),a120_0x32c89e[a120_0x56e7fc(0x13e)]['SCREENSHOT']=SDK_EVENTS['SDK_PERCY']+a120_0x56e7fc(0x1b8),a120_0x32c89e[a120_0x56e7fc(0x13e)][a120_0x56e7fc(0x197)]=SDK_EVENTS[a120_0x56e7fc(0x193)]+':start',a120_0x32c89e[a120_0x56e7fc(0x13e)][a120_0x56e7fc(0x164)]=SDK_EVENTS[a120_0x56e7fc(0x193)]+':stop',a120_0x32c89e[a120_0x56e7fc(0x13e)][a120_0x56e7fc(0x1bd)]=SDK_EVENTS[a120_0x56e7fc(0x193)]+a120_0x56e7fc(0x14c),a120_0x32c89e[a120_0x56e7fc(0x13e)][a120_0x56e7fc(0x173)]=SDK_EVENTS[a120_0x56e7fc(0x193)]+a120_0x56e7fc(0x19b),a120_0x32c89e[a120_0x56e7fc(0x13e)][a120_0x56e7fc(0x145)]=SDK_EVENTS['SDK_PERCY']+a120_0x56e7fc(0x1c1),a120_0x32c89e[a120_0x56e7fc(0x140)][a120_0x56e7fc(0x174)]=SDK_EVENTS[a120_0x56e7fc(0x13a)]+':sync',a120_0x32c89e[a120_0x56e7fc(0x140)][a120_0x56e7fc(0x189)]=SDK_EVENTS[a120_0x56e7fc(0x13a)]+a120_0x56e7fc(0x15e),a120_0x32c89e[a120_0x56e7fc(0x140)][a120_0x56e7fc(0x149)]=SDK_EVENTS[a120_0x56e7fc(0x13a)]+a120_0x56e7fc(0x1ac),a120_0x32c89e[a120_0x56e7fc(0x1ab)][a120_0x56e7fc(0x142)]=SDK_EVENTS['SDK_HOOK']+':before-each',a120_0x32c89e[a120_0x56e7fc(0x1ab)][a120_0x56e7fc(0x162)]=SDK_EVENTS[a120_0x56e7fc(0x18d)]+a120_0x56e7fc(0x1ad),a120_0x32c89e[a120_0x56e7fc(0x1ab)][a120_0x56e7fc(0x163)]=SDK_EVENTS[a120_0x56e7fc(0x18d)]+a120_0x56e7fc(0x18f),a120_0x32c89e[a120_0x56e7fc(0x1ab)][a120_0x56e7fc(0x1be)]=SDK_EVENTS[a120_0x56e7fc(0x18d)]+':before-all',a120_0x32c89e[a120_0x56e7fc(0x1ab)][a120_0x56e7fc(0x17d)]=SDK_EVENTS['SDK_HOOK']+a120_0x56e7fc(0x15d),a120_0x32c89e[a120_0x56e7fc(0x1ab)][a120_0x56e7fc(0x148)]=SDK_EVENTS['SDK_HOOK']+a120_0x56e7fc(0x1a6),a120_0x32c89e[a120_0x56e7fc(0x179)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+':hub-management',a120_0x32c89e[a120_0x56e7fc(0x179)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_TURBOSCALE']+':print-buildlink',a120_0x32c89e[a120_0x56e7fc(0x16f)][a120_0x56e7fc(0x18b)]=SDK_EVENTS[a120_0x56e7fc(0x1af)]+a120_0x56e7fc(0x177),a120_0x32c89e[a120_0x56e7fc(0x137)][a120_0x56e7fc(0x161)]=SDK_EVENTS[a120_0x56e7fc(0x176)]+a120_0x56e7fc(0x1c2),a120_0x32c89e[a120_0x56e7fc(0x137)][a120_0x56e7fc(0x170)]=SDK_EVENTS[a120_0x56e7fc(0x176)]+a120_0x56e7fc(0x143),a120_0x32c89e[a120_0x56e7fc(0x137)][a120_0x56e7fc(0x186)]=SDK_EVENTS[a120_0x56e7fc(0x176)]+a120_0x56e7fc(0x169),a120_0x32c89e[a120_0x56e7fc(0x137)]['POST_EXECUTE']=SDK_EVENTS[a120_0x56e7fc(0x176)]+a120_0x56e7fc(0x1c0),module[a120_0x56e7fc(0x13f)]=a120_0x32c89e;function a120_0x12e5(){const _0x38eb0a=['sdk:cleanup','sdk:aiSelfHealStep',':local-start','244172aagdPv','SDK_AUTOMATE',':after','SDK_CLI_ON_STOP','149IhmecA','AUTOMATE_EVENTS','GET_RESULTS','HOOK_EVENTS',':print-buildlink',':after-each','SDK_AUTO_CAPTURE','SDK_APP_AUTOMATE','sdk:o11y','sdk:onStop','sdk:testFrameworkEvent','sdk:cli:on-stop','258ZtknYE','SDK_CLI_START','sdk:auto-capture','SDK_TURBOSCALE',':screenshot','sdk:cli:on-connect','LOCAL_START',':session-status','SDK_TESTHUB','AUTO_CAPTURE','BEFORE_ALL','sdk:testSessionEvent',':post-execute',':screenshot-app',':quit','SDK_CLI_ENQUEUE_TEST_EVENT','DRIVER_EVENT',':ci-artifacts','1001qbeMHi','SDK_O11Y','TESTHUB_EVENTS','sdk:findNearestHub','190xgPWmm','PERCY_EVENTS','exports','O11y_EVENTS',':hub-management','BEFORE_EACH',':get','sdk:driver:pre-initialization','SCREENSHOT_APP','sdk:automationFrameworkStart','SDK_CLI_CHECK_UPDATE','AFTER','PRINT_BUILDLINK','sdk:driverInit','sdk:observabilityConfig',':auto-capture','SESSION_NAME','SDK_FIND_NEAREST_HUB','18744yPNgEh','sdk:cli:on-bootstrap','SDK_AI_SELF_HEAL_STEP','sdk:driver','DOWNLOAD','SDK_AI_SELF_HEAL_GET_RESULT','SDK_SETUP','sdk:cli:download','2491380NVwmVk','SDK_CLI_DOWNLOAD','SDK_A11Y',':idle-timeout','SDK_CLEANUP',':driver-manage',':before',':driver-takeScreenShot','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_CLI_LOG_CREATED_EVENT','QUIT','AFTER_EACH','AFTER_ALL','STOP','SDK_PROXY_SETUP','SDK_DRIVER_INIT','SDK_TEST_FRAMEWORK_EVENT',':download',':pre-execute','sdk:proxy-setup','SDK_TEST_SESSION_EVENT','24PItTjO','sdk:post-test',':get-accessibility-results-summary','APP_AUOTMATE_EVENTS','GET','8542633dyPHmq','SDK_POST_TEST','SNAPSHOT','SYNC','GET_RESULTS_SUMMARY','SDK_DRIVER',':app-upload','sdk:percy','TURBOSCALE_EVENTS','sdk:aiSelfHealGetResult','421389cVFopw','sdk:automationFrameworkStop','BEFORE','SDK_AUTOMATION_FRAMEWORK_INIT','IDLE_TIMEOUT',':local-stop','SDK_OBSERVABILITY_CONFIG','sdk:accessibilityConfig','sdk:testhub','SDK_ACCESSIBILITY_CONFIG',':driver-performscan','PRE_EXECUTE','sdk:cli:check-update','SDK_CLI_ON_BOOTSTRAP','TAKE_SCREENSHOT',':get-accessibility-results','APP_UPLOAD','SDK_PRE_TEST','SDK_HOOK','SAVE_RESULTS',':after-all','SDK_CLI_ON_CONNECT','GENERATE_CI_ARTIFACT',':save-results','SDK_PERCY','SESSION_ANNOTATION','sdk:automationFrameworkInit','DRIVER_MANAGE','START','3489835EmxzNV',':session-name','A11Y_EVENTS',':snapshot','sdk:turboscale','sdk:automate','SDK_CONNECT_BIN_SESSION','SDK_POST_INITIALIZE','SDK_TEST'];a120_0x12e5=function(){return _0x38eb0a;};return a120_0x12e5();}
@@ -1 +1 @@
1
- const a120_0x5199ef=a120_0xf5b8;(function(_0x25dd50,_0x48be01){const _0x320eb=a120_0xf5b8,_0x302876=_0x25dd50();while(!![]){try{const _0x204ad0=-parseInt(_0x320eb(0xb1))/0x1+parseInt(_0x320eb(0x99))/0x2+parseInt(_0x320eb(0x10b))/0x3+-parseInt(_0x320eb(0xc4))/0x4+parseInt(_0x320eb(0xb0))/0x5*(parseInt(_0x320eb(0x85))/0x6)+parseInt(_0x320eb(0x72))/0x7*(parseInt(_0x320eb(0x71))/0x8)+parseInt(_0x320eb(0xff))/0x9*(parseInt(_0x320eb(0xad))/0xa);if(_0x204ad0===_0x48be01)break;else _0x302876['push'](_0x302876['shift']());}catch(_0x59730f){_0x302876['push'](_0x302876['shift']());}}}(a120_0x3f4a,0x593ba));const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a120_0x5199ef(0x73)),path=require('path'),util=require(a120_0x5199ef(0xcf)),logger=require(a120_0x5199ef(0xbd))[a120_0x5199ef(0xd3)],{getLogDir}=require(a120_0x5199ef(0xbd)),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a120_0x5199ef(0x9b)];static [a120_0x5199ef(0x103)]=[];static [a120_0x5199ef(0xfb)]=[];static [a120_0x5199ef(0x90)]=[];static [a120_0x5199ef(0xf6)]=![];static ['jsonReportDirName']=a120_0x5199ef(0xe5);static ['errorReportDirName']=process['env']['browserStackCwd']?path[a120_0x5199ef(0xf9)](process['env'][a120_0x5199ef(0x80)],a120_0x5199ef(0x6e)):path['join'](process[a120_0x5199ef(0xe0)](),'error-report');static ['errorReportFileName']=this[a120_0x5199ef(0xd7)]+a120_0x5199ef(0xda)+getProcessId()+a120_0x5199ef(0x106);static [a120_0x5199ef(0xd8)]={};static ['eventsMap']={};static[a120_0x5199ef(0xb4)](_0x3a0ca0,_0x32eda1=this['errorReportDirName']+a120_0x5199ef(0xda)+getProcessId()+a120_0x5199ef(0x106)){const _0x489d71=a120_0x5199ef,_0x133210={'LNYEW':function(_0x375eb8,_0x2c18f7){return _0x375eb8===_0x2c18f7;},'YQADl':_0x489d71(0xef),'eitpU':function(_0x367aaf){return _0x367aaf();},'iKOVg':function(_0x22de69){return _0x22de69();},'TpYok':function(_0x18767f,_0x990863){return _0x18767f+_0x990863;},'Dqjch':_0x489d71(0xb2),'CObio':_0x489d71(0xa3)};try{this[_0x489d71(0x81)]=path['join'](_0x133210[_0x489d71(0xc1)](getLogDir),this['jsonReportDirName']),!_0x3a0ca0&&(_0x3a0ca0=this[_0x489d71(0x81)]+_0x489d71(0x7f)+_0x133210[_0x489d71(0xc8)](getProcessId)+_0x489d71(0x106)),!fs[_0x489d71(0x9d)](this[_0x489d71(0x81)])&&fs[_0x489d71(0xf1)](this[_0x489d71(0x81)]);}catch(_0x1c059b){logger[_0x489d71(0x8f)](_0x133210['TpYok'](_0x133210['Dqjch'],_0x1c059b));}if(this[_0x489d71(0xf6)]||!this[_0x489d71(0x102)]())return;this[_0x489d71(0x9b)]=new PerformanceObserver(_0x30db1b=>{const _0x21d0b6=_0x489d71,_0x1fcaee={'DiTPC':function(_0x196f45,_0x1ccc02){return _0x133210['LNYEW'](_0x196f45,_0x1ccc02);},'UGzYB':_0x133210[_0x21d0b6(0x97)]};_0x30db1b[_0x21d0b6(0xc3)]()[_0x21d0b6(0xba)](_0x1c6151=>{const _0x4bfbf6=_0x21d0b6;if(_0x1fcaee[_0x4bfbf6(0xa1)](_0x1c6151[_0x4bfbf6(0xe3)],_0x1fcaee[_0x4bfbf6(0xeb)])){let _0x264086={};if(_0x1c6151['toJSON'])_0x264086=_0x1c6151[_0x4bfbf6(0xc6)]();else for(const _0xf5ee78 in _0x1c6151){_0x264086[_0xf5ee78]=_0x1c6151[_0xf5ee78];}this[_0x4bfbf6(0xd8)][_0x1c6151[_0x4bfbf6(0x100)]]&&(_0x264086=Object[_0x4bfbf6(0xa2)](_0x264086,this[_0x4bfbf6(0xd8)][_0x1c6151[_0x4bfbf6(0x100)]])),delete this['details'][_0x1c6151['name']],this['_measureEvents'][_0x4bfbf6(0x86)](_0x264086);}else this['_events'][_0x4bfbf6(0x86)](_0x1c6151);});});const _0x25e1c7={};_0x25e1c7[_0x489d71(0xd2)]=!![],_0x25e1c7['entryTypes']=[_0x133210['CObio'],_0x133210[_0x489d71(0x97)]],this[_0x489d71(0x9b)][_0x489d71(0x105)](_0x25e1c7),this['started']=!![],this[_0x489d71(0xcb)]=_0x3a0ca0,this[_0x489d71(0xc7)]=_0x32eda1;}static['getPerformance'](){return performance;}static['calculateTimeFromEvents'](_0x4546b5,_0x33c435){const _0x47e5eb=a120_0x5199ef,_0xb41b20={};_0xb41b20[_0x47e5eb(0x75)]=function(_0x5655cc,_0x3c53cc){return _0x5655cc+_0x3c53cc;},_0xb41b20['uSyIl']=function(_0x50d43a,_0x5caca0){return _0x50d43a||_0x5caca0;},_0xb41b20[_0x47e5eb(0xac)]=function(_0x4cf9bf,_0x2a9594){return _0x4cf9bf===_0x2a9594;};const _0x4d54ca=_0xb41b20,_0xee9a45={};if(!_0x4546b5||_0x4d54ca[_0x47e5eb(0xac)](_0x4546b5[_0x47e5eb(0x107)],0x0))return;_0x4546b5['map'](_0x4cb213=>{const _0x1b4bb3=_0x47e5eb;!_0xee9a45[_0x4cb213[_0x1b4bb3(0x100)]]&&(_0xee9a45[_0x4cb213[_0x1b4bb3(0x100)]]=0x0),_0xee9a45[_0x4cb213[_0x1b4bb3(0x100)]]+=_0x4cb213[_0x1b4bb3(0xe4)];});const _0x410a7e=_0x33c435[_0x47e5eb(0x10e)]((_0x265e8c,_0x2c2592)=>{const _0x22eb22=_0x47e5eb;return _0x4d54ca[_0x22eb22(0x75)](_0xee9a45[_0x2c2592],_0x4d54ca['uSyIl'](_0x265e8c,0x0));},0x0);return _0x410a7e;}static async['calculateTimesFromMultipleFiles'](_0x49dbcc,_0x57cafb){const _0x48a3b9=a120_0x5199ef,_0x3751b2={'Cwfdk':function(_0x428aa1,_0x456d5d){return _0x428aa1+_0x456d5d;},'yCeDF':function(_0x1fc7db,_0x49c32f){return _0x1fc7db||_0x49c32f;},'yeMGk':function(_0x5d023f,_0x275cdf){return _0x5d023f===_0x275cdf;},'VDXIO':function(_0x407d18,_0x3acf79){return _0x407d18(_0x3acf79);}};if(!_0x49dbcc||_0x3751b2[_0x48a3b9(0xea)](_0x49dbcc[_0x48a3b9(0x107)],0x0))return 0x0;const _0x2cfcf5=[];for(const _0x357fd6 of _0x49dbcc){const _0x29b6e0=path['join']('.',_0x357fd6);try{const _0x19f865=this[_0x48a3b9(0x84)](_0x29b6e0);_0x19f865[_0x48a3b9(0xa8)](_0x3e4157=>{const _0x118bc3=_0x48a3b9;!_0x2cfcf5[_0x3e4157[_0x118bc3(0x100)]]&&(_0x2cfcf5[_0x3e4157[_0x118bc3(0x100)]]=0x0),_0x2cfcf5[_0x3e4157[_0x118bc3(0x100)]]+=_0x3e4157[_0x118bc3(0xe4)];});}catch(_0x2194b5){_0x3751b2[_0x48a3b9(0xf7)](debug,_0x48a3b9(0xee)+_0x2194b5[_0x48a3b9(0xcd)]());}}const _0x29869c=_0x57cafb[_0x48a3b9(0x10e)]((_0x468545,_0x30ff57)=>{const _0x3e468e=_0x48a3b9;return _0x3751b2['Cwfdk'](_0x2cfcf5[_0x30ff57],_0x3751b2[_0x3e468e(0xaf)](_0x468545,0x0));},0x0);return _0x3751b2[_0x48a3b9(0xf7)](debug,_0x48a3b9(0xd6)+_0x57cafb+_0x48a3b9(0xbb)+_0x29869c),_0x29869c;}static['getEventsFromJSON'](_0x158193){const _0x34003f=a120_0x5199ef;if(_0x158193){if(!fs[_0x34003f(0x9d)](_0x158193))return[];return JSON[_0x34003f(0xf4)](fs['readFileSync'](_0x158193)[_0x34003f(0xcd)]());}}static async[a120_0x5199ef(0x88)](_0x599cc9=a120_0x5199ef(0xe7),_0x2038c3=null){const _0x3443c0=a120_0x5199ef,_0x13bcfa={'XkRmW':function(_0x184b6f,_0xfde65a){return _0x184b6f(_0xfde65a);},'knmpk':function(_0x45a119,_0x150290){return _0x45a119(_0x150290);},'XQeSk':function(_0x355245,_0x3702eb){return _0x355245(_0x3702eb);}};if(!this[_0x3443c0(0xf6)])return;await _0x13bcfa['XQeSk'](sleep,0x1e),this[_0x3443c0(0x9b)][_0x3443c0(0xe2)](),this[_0x3443c0(0xf6)]=![],this[_0x3443c0(0xf8)](this[_0x3443c0(0x103)]);const _0x35fc2b=this[_0x3443c0(0xe1)](this['_events']),_0x213082=path['join'](process['cwd'](),_0x599cc9);fs['writeFile'](_0x213082,_0x35fc2b,_0x57e7bc=>{const _0x1e749a=_0x3443c0;if(_0x57e7bc){_0x13bcfa[_0x1e749a(0xae)](debug,'Error\x20in\x20writing\x20html\x20'+_0x57e7bc[_0x1e749a(0xcd)]());return;}_0x13bcfa['knmpk'](debug,'Performance\x20report\x20is\x20at\x20'+_0x213082);});if(_0x2038c3)return this['calculateTimeFromEvents'](this[_0x3443c0(0x103)],_0x2038c3);}static[a120_0x5199ef(0xe1)](_0x88a645){const _0x1388e4=a120_0x5199ef,_0x1017bf={};_0x1017bf[_0x1388e4(0x74)]=_0x1388e4(0xfa),_0x1017bf['TISal']=_0x1388e4(0xd0),_0x1017bf[_0x1388e4(0xf2)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x1017bf['yjVwA']='</tbody></table></body></html>';const _0x24502f=_0x1017bf;let _0x232e91=_0x24502f[_0x1388e4(0x74)];return _0x232e91+=_0x24502f['TISal'],_0x232e91+=_0x24502f[_0x1388e4(0xf2)],_0x88a645[_0x1388e4(0xba)](_0x2f7343=>{const _0x1c9e71=_0x1388e4;_0x232e91+='<tr><td>'+_0x2f7343['name']+_0x1c9e71(0x70)+_0x2f7343[_0x1c9e71(0xe4)]+_0x1c9e71(0xa4);}),_0x232e91+=_0x24502f['yjVwA'],_0x232e91;}static[a120_0x5199ef(0xf8)](_0x547717){const _0x3b1032=a120_0x5199ef;if(!this[_0x3b1032(0xcb)])return;const _0x1bfe19={};_0x547717[_0x3b1032(0xa8)](_0x2e9c2d=>{const _0x43238a=_0x3b1032;!_0x1bfe19[_0x2e9c2d[_0x43238a(0x100)]]&&(_0x1bfe19[_0x2e9c2d['name']]=0x0),_0x1bfe19[_0x2e9c2d[_0x43238a(0x100)]]+=_0x2e9c2d[_0x43238a(0xe4)];});const _0x4b6534=Object['entries'](_0x1bfe19)[_0x3b1032(0xa8)](([_0x1a9452,_0x531d40])=>{const _0x4a83b7={};return _0x4a83b7['name']=_0x1a9452,_0x4a83b7['duration']=_0x531d40,_0x4a83b7;});fs[_0x3b1032(0x92)](this[_0x3b1032(0xcb)],JSON[_0x3b1032(0x8a)](_0x4b6534));}static[a120_0x5199ef(0x102)](){const _0x45feab=a120_0x5199ef,_0x94eef9={};_0x94eef9['DBUUI']=function(_0x195c4b,_0x3b2568){return _0x195c4b===_0x3b2568;},_0x94eef9['zjaVs']=_0x45feab(0xb3);const _0x4a7763=_0x94eef9;return!_0x4a7763['DBUUI'](process[_0x45feab(0xc9)][_0x45feab(0x98)],_0x4a7763[_0x45feab(0x9f)]);}static[a120_0x5199ef(0xef)](_0x1ae6e6,_0x1f5d08,_0x21278a=null,_0x15c02e={},_0x3bab5a=null){const _0x2a79af=a120_0x5199ef,_0xea9cb1={'jVNQU':function(_0x22e3aa,_0x2d9757){return _0x22e3aa(_0x2d9757);},'TCphG':function(_0x5e9de7,_0x1efd9c){return _0x5e9de7 instanceof _0x1efd9c;}};try{if(this[_0x2a79af(0xf6)]&&this['isEnabled']()){let _0x10500c=_0x1ae6e6;_0x21278a&&(_0x10500c=_0x1ae6e6+'['+JSON[_0x2a79af(0x8a)](_0x21278a)+']');PerformanceTester[_0x2a79af(0x87)](_0x10500c),this[_0x2a79af(0xd8)]&&(this[_0x2a79af(0xd8)][_0x10500c]=_0x15c02e);try{const _0x33cbd8=_0x1f5d08[_0x2a79af(0xbe)](null,_0x3bab5a);if(_0xea9cb1[_0x2a79af(0x10c)](_0x33cbd8,Promise))return new Promise((_0x40df41,_0x1425dc)=>{const _0x38494a=_0x2a79af,_0x56c631={'hJTDc':function(_0x32fd2e,_0x189776){const _0x4e8290=a120_0xf5b8;return _0xea9cb1[_0x4e8290(0xa0)](_0x32fd2e,_0x189776);}};_0x33cbd8[_0x38494a(0x110)](_0xbb0418=>{const _0x1e7321=_0x38494a;PerformanceTester[_0x1e7321(0xb6)](_0x10500c),_0x56c631['hJTDc'](_0x40df41,_0xbb0418);})[_0x38494a(0x10f)](_0x40b4ec=>{const _0x4ca42c=_0x38494a;PerformanceTester['end'](_0x10500c,![],util[_0x4ca42c(0x78)](_0x40b4ec)),_0xea9cb1[_0x4ca42c(0xa0)](_0x1425dc,_0x40b4ec);});});;return PerformanceTester[_0x2a79af(0xb6)](_0x10500c),_0x33cbd8;}catch(_0x57e6ee){PerformanceTester[_0x2a79af(0xb6)](_0x10500c,![],util[_0x2a79af(0x78)](_0x57e6ee));throw _0x57e6ee;}};return _0x1f5d08['apply'](null,_0x3bab5a);}catch(_0x452341){return logger['debug'](_0x2a79af(0x77)+(_0x452341[_0x2a79af(0x9e)]||_0x452341[_0x2a79af(0xec)]||_0x452341)),_0x1f5d08[_0x2a79af(0xbe)](null,_0x3bab5a);}}static[a120_0x5199ef(0xa5)](_0x4bd3a0,_0x1926a5,_0xff7b69={}){const _0x3624cd=a120_0x5199ef,_0x5d9a84={'FaaSU':function(_0x10bade){return _0x10bade();},'jFzMJ':function(_0x20d6b8){return _0x20d6b8();}},_0x3e0adb=this;return _0xff7b69[_0x3624cd(0xb5)]=_0x5d9a84['FaaSU'](getProcessId),_0xff7b69[_0x3624cd(0xfe)]=_0x5d9a84[_0x3624cd(0xb8)](getTestName),_0xff7b69[_0x3624cd(0xde)]=global['__platformCaps']&&global[_0x3624cd(0xf0)][_0x3624cd(0x82)],function(){const _0x2c2433=_0x3624cd,_0x31ffc7=[_0x4bd3a0,_0x1926a5,null,_0xff7b69]['concat'](arguments);return _0x3e0adb['measure'][_0x2c2433(0xbe)](_0x3e0adb,_0x31ffc7);};}static[a120_0x5199ef(0xaa)](){const _0x275f3e=a120_0x5199ef,_0x22d381=/(^.*)\[(.*)\]$/,_0x4a44c={},_0x2726b4={},_0x3f2238=[],_0x120859=this[_0x275f3e(0xfb)][_0x275f3e(0x6f)](0x0,this[_0x275f3e(0xfb)][_0x275f3e(0x107)]);for(const _0x3b6616 of _0x120859){const _0x34bb7f=_0x3b6616[_0x275f3e(0x100)][_0x275f3e(0xfd)](_0x22d381),_0x1e6037=Object[_0x275f3e(0xa2)]({},_0x3b6616);_0x34bb7f&&(_0x1e6037[_0x275f3e(0x100)]=_0x34bb7f[0x1],_0x1e6037[_0x275f3e(0xa6)]=JSON[_0x275f3e(0xf4)](_0x34bb7f[0x2])),_0x3f2238[_0x275f3e(0x86)](_0x1e6037);}return _0x3f2238;}static['pushPerfMeasures'](){const _0x4426b8=a120_0x5199ef,_0x4141d4={'lpWiS':function(_0x2da1ed){return _0x2da1ed();},'JnTke':function(_0x47f8ea,_0x2083fb){return _0x47f8ea+_0x2083fb;},'NtfKH':_0x4426b8(0xa9),'VwxcP':function(_0x51d817,_0x5eff3c){return _0x51d817===_0x5eff3c;},'zJoxl':function(_0x339875,_0x28ea53){return _0x339875+_0x28ea53;}};try{this[_0x4426b8(0x81)]=path[_0x4426b8(0xf9)](_0x4141d4['lpWiS'](getLogDir),this[_0x4426b8(0xd1)]);if(fs['existsSync'](this[_0x4426b8(0x81)])){const _0x4b8c0f=fs['readdirSync'](this[_0x4426b8(0x81)]);for(const _0x5d8f1b of _0x4b8c0f){fs[_0x4426b8(0xd5)](path[_0x4426b8(0xf9)](this[_0x4426b8(0x81)],_0x5d8f1b));}}}catch(_0x567794){logger['debug'](_0x4141d4['JnTke'](_0x4141d4[_0x4426b8(0x89)],_0x567794));}if(_0x4141d4[_0x4426b8(0x10a)](this['_measureEvents'][_0x4426b8(0x107)],0x0))return;const _0x31f387=this['getCleanedPerfEvents'](),_0x55d7a7=JSON['stringify'](_0x31f387),_0x5c0f01=_0x4141d4['zJoxl'](_0x55d7a7[_0x4426b8(0x10d)](0x1,-0x1),',');fs[_0x4426b8(0xed)](this[_0x4426b8(0xcb)],_0x5c0f01);}static async[a120_0x5199ef(0x94)](){const _0x2b8653=a120_0x5199ef,_0x3baac8={'Jlqio':function(_0x4580b7){return _0x4580b7();},'shsuh':function(_0x48c3f4,_0x150761){return _0x48c3f4===_0x150761;},'RBluR':_0x2b8653(0xb7),'VWxnF':_0x2b8653(0x8d),'KjOnE':_0x2b8653(0x8b),'XspWQ':function(_0x54a064,_0x1d0406){return _0x54a064+_0x1d0406;},'rWdlg':function(_0x97da9c,_0x2b0540){return _0x97da9c+_0x2b0540;},'CxpLL':_0x2b8653(0xb9),'UQKMj':_0x2b8653(0x8e),'hHLMy':'Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','PaTnd':function(_0x4dff3b,_0xb754e2){return _0x4dff3b>_0xb754e2;}};this[_0x2b8653(0x81)]=path[_0x2b8653(0xf9)](_0x3baac8['Jlqio'](getLogDir),this[_0x2b8653(0xd1)]);if(!this[_0x2b8653(0xf6)]||_0x3baac8['shsuh'](this['_measureEvents'][_0x2b8653(0x107)],0x0))return[];if(!fs[_0x2b8653(0x9d)](this[_0x2b8653(0x81)]))return this[_0x2b8653(0xfb)];const _0x3284ba=(await fsPromise[_0x2b8653(0x7d)](this[_0x2b8653(0x81)]))[_0x2b8653(0xa8)](_0x5363d6=>path['resolve'](this[_0x2b8653(0x81)],_0x5363d6));try{const _0x4ba8fe=path[_0x2b8653(0x7c)](this[_0x2b8653(0x81)]),_0xcff494=path['join'](_0x4ba8fe,_0x3baac8[_0x2b8653(0xf3)]);if(fs['existsSync'](_0xcff494))try{await fsPromise[_0x2b8653(0xe8)](_0xcff494,fs[_0x2b8653(0xdb)][_0x2b8653(0xbf)]);const _0x5b9cea=await fsPromise['readFile'](_0xcff494,_0x3baac8['VWxnF']),_0x20db61=JSON[_0x2b8653(0xf4)](_0x5b9cea),_0x41a3d2=path[_0x2b8653(0xf9)](this[_0x2b8653(0x81)],_0x3baac8[_0x2b8653(0x7a)]);let _0x5751ab='';Array[_0x2b8653(0x7b)](_0x20db61)?_0x5751ab=_0x3baac8[_0x2b8653(0x108)](_0x20db61['map'](_0x215538=>JSON['stringify'](_0x215538))[_0x2b8653(0xf9)](','),','):_0x5751ab=_0x3baac8[_0x2b8653(0xd9)](JSON[_0x2b8653(0x8a)](_0x20db61),','),await fsPromise[_0x2b8653(0x96)](_0x41a3d2,_0x5751ab),_0x3284ba['push'](_0x41a3d2),await fsPromise['unlink'](_0xcff494);}catch(_0x242ced){logger[_0x2b8653(0x95)](util['format'](_0x3baac8[_0x2b8653(0xc0)],_0x242ced[_0x2b8653(0x9e)]||_0x242ced['message']||_0x242ced));}else logger[_0x2b8653(0x95)](_0x3baac8['UQKMj']);}catch(_0x5cde19){logger[_0x2b8653(0x95)](util[_0x2b8653(0x78)](_0x3baac8['hHLMy'],_0x5cde19[_0x2b8653(0x9e)]||_0x5cde19[_0x2b8653(0xec)]||_0x5cde19));}let _0x24ed42=(await Promise[_0x2b8653(0xab)](_0x3284ba[_0x2b8653(0xa8)](_0x459b54=>fsPromise['readFile'](_0x459b54,'utf-8'))))[_0x2b8653(0xa8)](_0xdccb26=>'['+_0xdccb26['slice'](0x0,-0x1)+']')['map'](_0x59a42c=>JSON['parse'](_0x59a42c))['flat']();return _0x3baac8[_0x2b8653(0xdd)](this[_0x2b8653(0xfb)][_0x2b8653(0x107)],0x0)&&(_0x24ed42=_0x24ed42[_0x2b8653(0x91)](this[_0x2b8653(0xaa)]())),this['_observer']['disconnect'](),_0x24ed42;}static[a120_0x5199ef(0xf5)](){const _0x317714=a120_0x5199ef,_0x1b2a5a={};_0x1b2a5a[_0x317714(0xfc)]=function(_0x3ac358,_0x18659d){return _0x3ac358===_0x18659d;},_0x1b2a5a[_0x317714(0x7e)]=function(_0x3e381f,_0x14cac9){return _0x3e381f+_0x14cac9;};const _0x3d3cfa=_0x1b2a5a;if(_0x3d3cfa[_0x317714(0xfc)](this[_0x317714(0x90)][_0x317714(0x107)],0x0))return;const _0x80f18d=JSON[_0x317714(0x8a)](this[_0x317714(0x90)]),_0x3e5b00=_0x3d3cfa[_0x317714(0x7e)](_0x80f18d[_0x317714(0x10d)](0x1,-0x1),',');fs[_0x317714(0xed)](this['errorFile'],_0x3e5b00);}static[a120_0x5199ef(0x76)](){const _0x383994=a120_0x5199ef,_0x23b08d={};_0x23b08d[_0x383994(0x101)]=function(_0x440334,_0xe1610c){return _0x440334>_0xe1610c;};const _0x5d421a=_0x23b08d;if(this[_0x383994(0xc7)]){if(!fs[_0x383994(0x9d)](this[_0x383994(0xc7)]))return this['_errorEvents'];let _0x1d6a9d=fs[_0x383994(0xce)](this['errorReportFileName'])[_0x383994(0xcd)]();_0x1d6a9d='['+_0x1d6a9d[_0x383994(0x10d)](0x0,-0x1)+']';let _0x51f9c4=JSON[_0x383994(0xf4)](_0x1d6a9d);return _0x5d421a[_0x383994(0x101)](this[_0x383994(0x90)]['length'],0x0)&&(_0x51f9c4=_0x51f9c4['concat'](this[_0x383994(0x90)])),fs[_0x383994(0xd5)](this['errorReportFileName']),_0x51f9c4;}}static[a120_0x5199ef(0xc5)](_0x3efeb3){const _0x463415=a120_0x5199ef;if(!this['isEnabled']())return;this[_0x463415(0x90)]['push']({'message':_0x3efeb3[_0x463415(0xec)],'trace':_0x3efeb3[_0x463415(0x9e)],'code':_0x3efeb3[_0x463415(0xc2)]||null,'time':new Date()});}static[a120_0x5199ef(0xdf)](){const _0xcb096c=a120_0x5199ef;try{if(!this[_0xcb096c(0x102)]())return;this[_0xcb096c(0x9b)][_0xcb096c(0xe2)](),this['pushPerfMeasures'](),this[_0xcb096c(0xf5)]();}catch(_0x1610e9){logger[_0xcb096c(0x8f)](_0xcb096c(0x79)+util[_0xcb096c(0x78)](_0x1610e9));}}static async[a120_0x5199ef(0xca)](){const _0x701901=a120_0x5199ef,_0x263013={'gOyay':function(_0x376f4a,_0x3169f3){return _0x376f4a(_0x3169f3);}};await _0x263013[_0x701901(0xcc)](sleep,0x1e);const _0xc0da4e=await this[_0x701901(0x94)](),_0x3b7e8c=this[_0x701901(0x76)]();if(!this['isEnabled']()){const _0x43be27={};return _0x43be27['measures']=[],_0x43be27['errors']=[],_0x43be27;}const _0x1fb89a={};return _0x1fb89a[_0x701901(0xe6)]=_0xc0da4e,_0x1fb89a[_0x701901(0x9c)]=_0x3b7e8c,_0x1fb89a;}static[a120_0x5199ef(0x87)](_0x3c2470){const _0x2eba95=a120_0x5199ef,_0x3b155e={};_0x3b155e['GCTAG']=function(_0x3a643d,_0x54114e){return _0x3a643d+_0x54114e;},_0x3b155e['khaIo']=_0x2eba95(0xdc);const _0x2ffe55=_0x3b155e,_0x4895bf=_0x2ffe55[_0x2eba95(0xd4)](_0x3c2470,_0x2ffe55[_0x2eba95(0xbc)]);if(this[_0x2eba95(0x9a)][_0x4895bf])return;performance[_0x2eba95(0xa7)](_0x4895bf),this[_0x2eba95(0x9a)][_0x4895bf]=0x1;}static[a120_0x5199ef(0xb6)](_0x444ecd,_0x238f7f=!![],_0x4f8222=null,_0x3c4689={}){const _0x44cc54=a120_0x5199ef,_0x1fe5bc={'qTihs':function(_0x2db4c5,_0x151b38){return _0x2db4c5+_0x151b38;},'jQsPG':_0x44cc54(0x109),'MdwTO':function(_0x26c67d,_0x4857cf){return _0x26c67d+_0x4857cf;},'xwQHP':_0x44cc54(0xdc),'zvVPa':function(_0x3af904){return _0x3af904();},'TDPye':function(_0x25b990){return _0x25b990();}};performance['mark'](_0x1fe5bc['qTihs'](_0x444ecd,_0x1fe5bc[_0x44cc54(0x104)])),performance[_0x44cc54(0xef)](_0x444ecd,_0x1fe5bc[_0x44cc54(0x83)](_0x444ecd,_0x1fe5bc[_0x44cc54(0x93)]),_0x1fe5bc[_0x44cc54(0x83)](_0x444ecd,_0x1fe5bc[_0x44cc54(0x104)]));const _0x2b131c={};_0x2b131c['success']=_0x238f7f,_0x2b131c['failure']=_0x4f8222,this[_0x44cc54(0xd8)][_0x444ecd]=Object[_0x44cc54(0xa2)](_0x2b131c,Object[_0x44cc54(0xa2)](Object[_0x44cc54(0xa2)]({'worker':_0x1fe5bc['zvVPa'](getProcessId),'platform':global[_0x44cc54(0xf0)]&&global[_0x44cc54(0xf0)][_0x44cc54(0x82)],'testName':_0x1fe5bc[_0x44cc54(0x8c)](getTestName)},_0x3c4689),this[_0x44cc54(0xd8)][_0x444ecd]||{}));}}function a120_0x3f4a(){const _0x1c1a46=['jVNQU','DiTPC','assign','function','</td></tr>','measureWrapper','meta','mark','map','Error\x20while\x20removing\x20files:\x20','getCleanedPerfEvents','all','tjcsk','30OmCHRe','XkRmW','yCeDF','6355XqpxvM','714204emQORp','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','false','startMonitoring','worker','end','key-metrics.json','jFzMJ','Error\x20processing\x20key-metrics.json:\x20%s','forEach','\x20for\x20all\x20processes\x20is\x20','khaIo','../logger','apply','F_OK','CxpLL','eitpU','code','getEntries','2727924wjUZWe','captureError','toJSON','errorReportFileName','iKOVg','env','finalize','jsonReportFileName','gOyay','toString','readFileSync','util','<h1>Performance\x20Report</h1>','jsonReportDirName','buffered','winstonLogger','GCTAG','unlinkSync','Time\x20for\x20','errorReportDirName','details','rWdlg','/error-report-','constants','-start','PaTnd','platform','stopMonitoring','cwd','generateHTMLReport','disconnect','entryType','duration','performance-report','measures','performance-own.html','access','exports','yeMGk','UGzYB','message','appendFileSync','Error\x20in\x20doing\x20csv\x20operations:\x20','measure','__platformCaps','mkdirSync','ACRmr','RBluR','parse','pushErrors','started','VDXIO','generateJSON','join','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','_measureEvents','EbKuc','match','testName','1679247ilhsCw','name','FhUCy','isEnabled','_events','jQsPG','observe','.json','length','XspWQ','-end','VwxcP','1368090wIvtSZ','TCphG','slice','reduce','catch','then','error-report','splice','</td><td>','8revOqC','1990891qTxLuF','perf_hooks','lCRdV','UuoFh','finalizeErrors','error\x20in\x20measure\x20','format','Error\x20stopping\x20monitoring\x20','KjOnE','isArray','dirname','readdir','wJrgx','/performance-report-','browserStackCwd','jsonReportDirPath','index','MdwTO','getEventsFromJSON','2124tPfSin','push','start','stopAndGenerate','NtfKH','stringify','modified-key-metrics.json','TDPye','utf-8','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','debug','_errorEvents','concat','writeFileSync','xwQHP','finalizePerfMeasures','info','writeFile','YQADl','BROWSERSTACK_SDK_INSTRUMENTATION','23114bUudWp','eventsMap','_observer','errors','existsSync','stack','zjaVs'];a120_0x3f4a=function(){return _0x1c1a46;};return a120_0x3f4a();}function a120_0xf5b8(_0x1f770c,_0x48b230){const _0x3f4a24=a120_0x3f4a();return a120_0xf5b8=function(_0xf5b8ae,_0x12b677){_0xf5b8ae=_0xf5b8ae-0x6e;let _0x597680=_0x3f4a24[_0xf5b8ae];return _0x597680;},a120_0xf5b8(_0x1f770c,_0x48b230);}module[a120_0x5199ef(0xe9)]=PerformanceTester;
1
+ const a121_0x5d26c4=a121_0x179b;(function(_0x1f0d1d,_0x4bdca5){const _0x4e468a=a121_0x179b,_0xb8477e=_0x1f0d1d();while(!![]){try{const _0x359e9=parseInt(_0x4e468a(0x25c))/0x1+parseInt(_0x4e468a(0x1dc))/0x2*(parseInt(_0x4e468a(0x254))/0x3)+-parseInt(_0x4e468a(0x21f))/0x4*(-parseInt(_0x4e468a(0x259))/0x5)+parseInt(_0x4e468a(0x267))/0x6*(-parseInt(_0x4e468a(0x1f4))/0x7)+parseInt(_0x4e468a(0x282))/0x8+-parseInt(_0x4e468a(0x216))/0x9*(-parseInt(_0x4e468a(0x236))/0xa)+-parseInt(_0x4e468a(0x27a))/0xb*(parseInt(_0x4e468a(0x251))/0xc);if(_0x359e9===_0x4bdca5)break;else _0xb8477e['push'](_0xb8477e['shift']());}catch(_0x4e7efb){_0xb8477e['push'](_0xb8477e['shift']());}}}(a121_0x1dca,0x5eb9c));function a121_0x179b(_0x204ca2,_0x495b0c){const _0x1dcae1=a121_0x1dca();return a121_0x179b=function(_0x179b6d,_0xe6f986){_0x179b6d=_0x179b6d-0x1d9;let _0x1b5a5f=_0x1dcae1[_0x179b6d];return _0x1b5a5f;},a121_0x179b(_0x204ca2,_0x495b0c);}const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a121_0x5d26c4(0x238)),path=require(a121_0x5d26c4(0x268)),util=require('util'),logger=require(a121_0x5d26c4(0x206))['winstonLogger'],{getLogDir}=require(a121_0x5d26c4(0x206)),{getProcessId,sleep,debug,getTestName}=require(a121_0x5d26c4(0x241));class PerformanceTester{static [a121_0x5d26c4(0x22c)];static [a121_0x5d26c4(0x214)]=[];static ['_measureEvents']=[];static [a121_0x5d26c4(0x26c)]=[];static ['started']=![];static ['jsonReportDirName']=a121_0x5d26c4(0x1e8);static ['errorReportDirName']=process[a121_0x5d26c4(0x26e)][a121_0x5d26c4(0x20c)]?path[a121_0x5d26c4(0x20a)](process[a121_0x5d26c4(0x26e)][a121_0x5d26c4(0x20c)],'error-report'):path['join'](process[a121_0x5d26c4(0x263)](),a121_0x5d26c4(0x220));static [a121_0x5d26c4(0x204)]=this[a121_0x5d26c4(0x20e)]+a121_0x5d26c4(0x1f1)+getProcessId()+a121_0x5d26c4(0x275);static [a121_0x5d26c4(0x243)]={};static [a121_0x5d26c4(0x262)]={};static[a121_0x5d26c4(0x252)](_0x1c1465,_0x143e7f=this['errorReportDirName']+a121_0x5d26c4(0x1f1)+getProcessId()+a121_0x5d26c4(0x275)){const _0x502997=a121_0x5d26c4,_0x371e19={'jpVVF':function(_0x37e769,_0x4e1a1c){return _0x37e769===_0x4e1a1c;},'lsbzF':_0x502997(0x21b),'FBknX':function(_0x3c1fef){return _0x3c1fef();},'QEDUu':function(_0x137dac,_0x5e6d73){return _0x137dac+_0x5e6d73;},'NyiqW':_0x502997(0x22d),'gObjS':'function'};try{this[_0x502997(0x231)]=path[_0x502997(0x20a)](_0x371e19[_0x502997(0x25e)](getLogDir),this[_0x502997(0x1f8)]),!_0x1c1465&&(_0x1c1465=this['jsonReportDirPath']+'/performance-report-'+_0x371e19[_0x502997(0x25e)](getProcessId)+'.json'),!fs[_0x502997(0x23e)](this['jsonReportDirPath'])&&fs['mkdirSync'](this[_0x502997(0x231)]);}catch(_0x3d2cdd){logger[_0x502997(0x245)](_0x371e19[_0x502997(0x270)](_0x371e19[_0x502997(0x1ff)],_0x3d2cdd));}if(this[_0x502997(0x21d)]||!this[_0x502997(0x284)]())return;this[_0x502997(0x22c)]=new PerformanceObserver(_0xbb6f04=>{const _0x5226e9=_0x502997,_0x289bfe={'aOPta':function(_0xbcc1e0,_0xc757e6){const _0x1c5173=a121_0x179b;return _0x371e19[_0x1c5173(0x1f2)](_0xbcc1e0,_0xc757e6);},'SmIth':_0x371e19[_0x5226e9(0x24c)]};_0xbb6f04[_0x5226e9(0x205)]()['forEach'](_0x54ab5d=>{const _0x294a5e=_0x5226e9;if(_0x289bfe[_0x294a5e(0x1fb)](_0x54ab5d[_0x294a5e(0x200)],_0x289bfe[_0x294a5e(0x26f)])){let _0x4f40c8={};if(_0x54ab5d[_0x294a5e(0x222)])_0x4f40c8=_0x54ab5d['toJSON']();else for(const _0x4b801c in _0x54ab5d){_0x4f40c8[_0x4b801c]=_0x54ab5d[_0x4b801c];}this[_0x294a5e(0x243)][_0x54ab5d[_0x294a5e(0x24a)]]&&(_0x4f40c8=Object['assign'](_0x4f40c8,this['details'][_0x54ab5d['name']])),delete this[_0x294a5e(0x243)][_0x54ab5d[_0x294a5e(0x24a)]],this[_0x294a5e(0x27f)][_0x294a5e(0x235)](_0x4f40c8);}else this[_0x294a5e(0x214)][_0x294a5e(0x235)](_0x54ab5d);});});const _0x3b29a3={};_0x3b29a3['buffered']=!![],_0x3b29a3[_0x502997(0x219)]=[_0x371e19[_0x502997(0x255)],_0x371e19[_0x502997(0x24c)]],this['_observer'][_0x502997(0x230)](_0x3b29a3),this['started']=!![],this['jsonReportFileName']=_0x1c1465,this[_0x502997(0x204)]=_0x143e7f;}static[a121_0x5d26c4(0x24b)](){return performance;}static['calculateTimeFromEvents'](_0x598984,_0x43b25d){const _0x4898c4=a121_0x5d26c4,_0x504ef4={};_0x504ef4[_0x4898c4(0x271)]=function(_0x5a6e6b,_0x18341a){return _0x5a6e6b+_0x18341a;},_0x504ef4['JPLRy']=function(_0x1a00fe,_0x4c304c){return _0x1a00fe||_0x4c304c;},_0x504ef4['IAuKQ']=function(_0x425795,_0x1ba7b5){return _0x425795===_0x1ba7b5;};const _0x42ca93=_0x504ef4,_0x2071de={};if(!_0x598984||_0x42ca93['IAuKQ'](_0x598984[_0x4898c4(0x287)],0x0))return;_0x598984[_0x4898c4(0x257)](_0x30ac70=>{const _0x3c72ef=_0x4898c4;!_0x2071de[_0x30ac70[_0x3c72ef(0x24a)]]&&(_0x2071de[_0x30ac70[_0x3c72ef(0x24a)]]=0x0),_0x2071de[_0x30ac70[_0x3c72ef(0x24a)]]+=_0x30ac70[_0x3c72ef(0x265)];});const _0x491ad0=_0x43b25d[_0x4898c4(0x277)]((_0x5663b4,_0x2e6e68)=>{const _0x3e369a=_0x4898c4;return _0x42ca93[_0x3e369a(0x271)](_0x2071de[_0x2e6e68],_0x42ca93['JPLRy'](_0x5663b4,0x0));},0x0);return _0x491ad0;}static async[a121_0x5d26c4(0x286)](_0x4bd85,_0x33abfa){const _0x43fed3=a121_0x5d26c4,_0x2b8820={'DRiOa':function(_0x543dca,_0x2fd9f8){return _0x543dca+_0x2fd9f8;},'WFWlJ':function(_0x142b32,_0x1476ed){return _0x142b32||_0x1476ed;},'CrGrh':function(_0x569531,_0x497c80){return _0x569531===_0x497c80;},'mlzoO':function(_0x2b7fd9,_0x4ac6c8){return _0x2b7fd9(_0x4ac6c8);}};if(!_0x4bd85||_0x2b8820[_0x43fed3(0x1da)](_0x4bd85[_0x43fed3(0x287)],0x0))return 0x0;const _0x433845=[];for(const _0x1fe9ad of _0x4bd85){const _0x539e30=path['join']('.',_0x1fe9ad);try{const _0x51826e=this['getEventsFromJSON'](_0x539e30);_0x51826e[_0x43fed3(0x257)](_0x56f315=>{const _0x513cca=_0x43fed3;!_0x433845[_0x56f315['name']]&&(_0x433845[_0x56f315['name']]=0x0),_0x433845[_0x56f315[_0x513cca(0x24a)]]+=_0x56f315['duration'];});}catch(_0x4095b4){_0x2b8820[_0x43fed3(0x223)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x4095b4[_0x43fed3(0x1f7)]());}}const _0x14f283=_0x33abfa[_0x43fed3(0x277)]((_0x5c192e,_0x24b92c)=>{return _0x2b8820['DRiOa'](_0x433845[_0x24b92c],_0x2b8820['WFWlJ'](_0x5c192e,0x0));},0x0);return _0x2b8820[_0x43fed3(0x223)](debug,_0x43fed3(0x1de)+_0x33abfa+_0x43fed3(0x23f)+_0x14f283),_0x14f283;}static[a121_0x5d26c4(0x210)](_0x4a4799){const _0x5e686a=a121_0x5d26c4;if(_0x4a4799){if(!fs[_0x5e686a(0x23e)](_0x4a4799))return[];return JSON[_0x5e686a(0x208)](fs[_0x5e686a(0x209)](_0x4a4799)[_0x5e686a(0x1f7)]());}}static async[a121_0x5d26c4(0x264)](_0x2fe3c7=a121_0x5d26c4(0x269),_0x258a91=null){const _0x47ba3b=a121_0x5d26c4,_0x376ec0={'oFeFb':function(_0x44c18c,_0x11873b){return _0x44c18c(_0x11873b);},'RciDP':function(_0x5bf618,_0x31e8be){return _0x5bf618(_0x31e8be);}};if(!this[_0x47ba3b(0x21d)])return;await _0x376ec0[_0x47ba3b(0x224)](sleep,0x1e),this[_0x47ba3b(0x22c)][_0x47ba3b(0x207)](),this[_0x47ba3b(0x21d)]=![],this[_0x47ba3b(0x253)](this[_0x47ba3b(0x214)]);const _0x2ad551=this[_0x47ba3b(0x1ee)](this['_events']),_0x11cc7=path['join'](process[_0x47ba3b(0x263)](),_0x2fe3c7);fs[_0x47ba3b(0x1e1)](_0x11cc7,_0x2ad551,_0x383518=>{const _0x577872=_0x47ba3b;if(_0x383518){_0x376ec0['oFeFb'](debug,_0x577872(0x288)+_0x383518[_0x577872(0x1f7)]());return;}_0x376ec0[_0x577872(0x224)](debug,_0x577872(0x26d)+_0x11cc7);});if(_0x258a91)return this[_0x47ba3b(0x260)](this[_0x47ba3b(0x214)],_0x258a91);}static['generateHTMLReport'](_0x586696){const _0x217dfc=a121_0x5d26c4,_0xa8b63c={};_0xa8b63c[_0x217dfc(0x1e3)]=_0x217dfc(0x221),_0xa8b63c[_0x217dfc(0x226)]=_0x217dfc(0x1fa),_0xa8b63c[_0x217dfc(0x280)]=_0x217dfc(0x26a),_0xa8b63c[_0x217dfc(0x20d)]=_0x217dfc(0x202);const _0x3e8085=_0xa8b63c;let _0x4c33d6=_0x3e8085[_0x217dfc(0x1e3)];return _0x4c33d6+=_0x3e8085[_0x217dfc(0x226)],_0x4c33d6+=_0x3e8085['MLsqv'],_0x586696['forEach'](_0x2429d5=>{const _0x444322=_0x217dfc;_0x4c33d6+=_0x444322(0x27e)+_0x2429d5['name']+'</td><td>'+_0x2429d5[_0x444322(0x265)]+'</td></tr>';}),_0x4c33d6+=_0x3e8085[_0x217dfc(0x20d)],_0x4c33d6;}static[a121_0x5d26c4(0x253)](_0x3639c1){const _0xa55e9f=a121_0x5d26c4;if(!this[_0xa55e9f(0x25f)])return;const _0x4855b1={};_0x3639c1['map'](_0x613c=>{const _0x4ce4f2=_0xa55e9f;!_0x4855b1[_0x613c[_0x4ce4f2(0x24a)]]&&(_0x4855b1[_0x613c['name']]=0x0),_0x4855b1[_0x613c[_0x4ce4f2(0x24a)]]+=_0x613c[_0x4ce4f2(0x265)];});const _0x29aa1f=Object[_0xa55e9f(0x24f)](_0x4855b1)[_0xa55e9f(0x257)](([_0x3c6652,_0x5781e8])=>{const _0x467feb=_0xa55e9f,_0x5541ad={};return _0x5541ad[_0x467feb(0x24a)]=_0x3c6652,_0x5541ad[_0x467feb(0x265)]=_0x5781e8,_0x5541ad;});fs[_0xa55e9f(0x229)](this[_0xa55e9f(0x25f)],JSON[_0xa55e9f(0x212)](_0x29aa1f));}static['isEnabled'](){const _0x5eb9c4=a121_0x5d26c4,_0x34749a={};_0x34749a[_0x5eb9c4(0x273)]=function(_0x1267bb,_0x5d3f1b){return _0x1267bb===_0x5d3f1b;},_0x34749a[_0x5eb9c4(0x22f)]=_0x5eb9c4(0x1e0);const _0x59fc80=_0x34749a;return!_0x59fc80['JvZez'](process[_0x5eb9c4(0x26e)][_0x5eb9c4(0x240)],_0x59fc80[_0x5eb9c4(0x22f)]);}static[a121_0x5d26c4(0x21b)](_0x63c087,_0x3c91a2,_0x371dfa=null,_0x450b8a={},_0x171a5e=null){const _0x32cc88=a121_0x5d26c4,_0x5ec1e5={'MDOYw':function(_0xe92c80,_0x377364){return _0xe92c80(_0x377364);},'UGTYN':function(_0x2aae75,_0x5719aa){return _0x2aae75 instanceof _0x5719aa;}};try{if(this[_0x32cc88(0x21d)]&&this[_0x32cc88(0x284)]()){let _0x431e3c=_0x63c087;_0x371dfa&&(_0x431e3c=_0x63c087+'['+JSON['stringify'](_0x371dfa)+']');PerformanceTester[_0x32cc88(0x1ef)](_0x431e3c),this[_0x32cc88(0x243)]&&(this['details'][_0x431e3c]=_0x450b8a);try{const _0x34fd11=_0x3c91a2[_0x32cc88(0x227)](null,_0x171a5e);if(_0x5ec1e5['UGTYN'](_0x34fd11,Promise))return new Promise((_0x21e0cb,_0xec6ed)=>{const _0x17f275=_0x32cc88,_0x33d958={'UikWN':function(_0x5adc2b,_0x4446ad){return _0x5ec1e5['MDOYw'](_0x5adc2b,_0x4446ad);}};_0x34fd11['then'](_0x1756f3=>{const _0x4cb15d=a121_0x179b;PerformanceTester[_0x4cb15d(0x1df)](_0x431e3c),_0x5ec1e5[_0x4cb15d(0x21a)](_0x21e0cb,_0x1756f3);})[_0x17f275(0x276)](_0x5970ac=>{const _0x553083=_0x17f275;PerformanceTester[_0x553083(0x1df)](_0x431e3c,![],util['format'](_0x5970ac)),_0x33d958['UikWN'](_0xec6ed,_0x5970ac);});});;return PerformanceTester['end'](_0x431e3c),_0x34fd11;}catch(_0x312257){PerformanceTester[_0x32cc88(0x1df)](_0x431e3c,![],util[_0x32cc88(0x1d9)](_0x312257));throw _0x312257;}};return _0x3c91a2[_0x32cc88(0x227)](null,_0x171a5e);}catch(_0x30b256){return logger[_0x32cc88(0x245)](_0x32cc88(0x1e7)+(_0x30b256[_0x32cc88(0x247)]||_0x30b256['message']||_0x30b256)),_0x3c91a2[_0x32cc88(0x227)](null,_0x171a5e);}}static[a121_0x5d26c4(0x22b)](_0x3528cc,_0x128bca,_0x443232={}){const _0xd727f5=a121_0x5d26c4,_0x141ddc={'KxrvL':function(_0x350ca0){return _0x350ca0();}},_0x1eecf4=this;return _0x443232['worker']=_0x141ddc[_0xd727f5(0x228)](getProcessId),_0x443232[_0xd727f5(0x218)]=_0x141ddc[_0xd727f5(0x228)](getTestName),_0x443232[_0xd727f5(0x225)]=global[_0xd727f5(0x21e)]&&global[_0xd727f5(0x21e)][_0xd727f5(0x242)],function(){const _0x104618=_0xd727f5,_0x60067f=[_0x3528cc,_0x128bca,null,_0x443232][_0x104618(0x1ec)](arguments);return _0x1eecf4[_0x104618(0x21b)][_0x104618(0x227)](_0x1eecf4,_0x60067f);};}static[a121_0x5d26c4(0x258)](){const _0x204ab5=a121_0x5d26c4,_0x32882f=/(^.*)\[(.*)\]$/,_0x320990={},_0x36562c={},_0x5d49dc=[],_0x13026f=this[_0x204ab5(0x27f)][_0x204ab5(0x283)](0x0,this['_measureEvents'][_0x204ab5(0x287)]);for(const _0x16b352 of _0x13026f){const _0x5b924b=_0x16b352[_0x204ab5(0x24a)][_0x204ab5(0x1fd)](_0x32882f),_0x36d794=Object[_0x204ab5(0x26b)]({},_0x16b352);_0x5b924b&&(_0x36d794[_0x204ab5(0x24a)]=_0x5b924b[0x1],_0x36d794[_0x204ab5(0x215)]=JSON[_0x204ab5(0x208)](_0x5b924b[0x2])),_0x5d49dc[_0x204ab5(0x235)](_0x36d794);}return _0x5d49dc;}static[a121_0x5d26c4(0x1ea)](){const _0x558cff=a121_0x5d26c4,_0x4d0901={'RNDkO':function(_0x22a2c8){return _0x22a2c8();},'wvMbG':function(_0x4617fe,_0x10c060){return _0x4617fe+_0x10c060;},'lHwVZ':_0x558cff(0x23b),'Oengs':function(_0x29cfe8,_0x55c63f){return _0x29cfe8===_0x55c63f;}};try{this[_0x558cff(0x231)]=path['join'](_0x4d0901[_0x558cff(0x20f)](getLogDir),this[_0x558cff(0x1f8)]);if(fs['existsSync'](this[_0x558cff(0x231)])){const _0x2ac3fc=fs[_0x558cff(0x274)](this[_0x558cff(0x231)]);for(const _0x3c93fe of _0x2ac3fc){fs[_0x558cff(0x1eb)](path['join'](this['jsonReportDirPath'],_0x3c93fe));}}}catch(_0x388e6b){logger['debug'](_0x4d0901[_0x558cff(0x1e5)](_0x4d0901[_0x558cff(0x237)],_0x388e6b));}if(_0x4d0901[_0x558cff(0x279)](this[_0x558cff(0x27f)][_0x558cff(0x287)],0x0))return;const _0xc89e43=this['getCleanedPerfEvents'](),_0x444633=JSON[_0x558cff(0x212)](_0xc89e43),_0x2b0fc1=_0x4d0901[_0x558cff(0x1e5)](_0x444633['slice'](0x1,-0x1),',');fs['appendFileSync'](this['jsonReportFileName'],_0x2b0fc1);}static async[a121_0x5d26c4(0x25b)](){const _0x518b64=a121_0x5d26c4,_0x18c4ce={'twbBt':function(_0x3c7b89){return _0x3c7b89();},'kAgOd':function(_0x87708d,_0x28e156){return _0x87708d===_0x28e156;},'iyYda':_0x518b64(0x22a),'iqEMD':_0x518b64(0x1ed),'EqsRW':_0x518b64(0x256),'shTeu':function(_0x4cc3ca,_0x29a388){return _0x4cc3ca+_0x29a388;},'uhKsR':_0x518b64(0x244),'kqArl':'key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','gauLb':'Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','nNjYJ':function(_0x564f5b,_0x20b6ca){return _0x564f5b>_0x20b6ca;}};this[_0x518b64(0x231)]=path['join'](_0x18c4ce[_0x518b64(0x1e4)](getLogDir),this[_0x518b64(0x1f8)]);if(!this[_0x518b64(0x21d)]||_0x18c4ce[_0x518b64(0x1f5)](this[_0x518b64(0x27f)][_0x518b64(0x287)],0x0))return[];if(!fs[_0x518b64(0x23e)](this[_0x518b64(0x231)]))return this[_0x518b64(0x27f)];const _0x376bc0=(await fsPromise[_0x518b64(0x211)](this[_0x518b64(0x231)]))[_0x518b64(0x257)](_0x404f4f=>path['resolve'](this[_0x518b64(0x231)],_0x404f4f));try{const _0x38d383=path[_0x518b64(0x233)](this[_0x518b64(0x231)]),_0x337a8a=path[_0x518b64(0x20a)](_0x38d383,_0x18c4ce[_0x518b64(0x249)]);if(fs['existsSync'](_0x337a8a))try{await fsPromise[_0x518b64(0x234)](_0x337a8a,fs[_0x518b64(0x278)][_0x518b64(0x25d)]);const _0x4b7c05=await fsPromise[_0x518b64(0x21c)](_0x337a8a,_0x18c4ce[_0x518b64(0x25a)]),_0x35b2c2=JSON[_0x518b64(0x208)](_0x4b7c05),_0x37e52a=path['join'](this[_0x518b64(0x231)],_0x18c4ce[_0x518b64(0x1f3)]);let _0x5b3a42='';Array[_0x518b64(0x281)](_0x35b2c2)?_0x5b3a42=_0x18c4ce[_0x518b64(0x261)](_0x35b2c2[_0x518b64(0x257)](_0x1a625d=>JSON[_0x518b64(0x212)](_0x1a625d))[_0x518b64(0x20a)](','),','):_0x5b3a42=_0x18c4ce[_0x518b64(0x261)](JSON[_0x518b64(0x212)](_0x35b2c2),','),await fsPromise[_0x518b64(0x1e1)](_0x37e52a,_0x5b3a42),_0x376bc0['push'](_0x37e52a),await fsPromise[_0x518b64(0x23a)](_0x337a8a);}catch(_0x226c81){logger[_0x518b64(0x248)](util[_0x518b64(0x1d9)](_0x18c4ce[_0x518b64(0x27b)],_0x226c81['stack']||_0x226c81[_0x518b64(0x285)]||_0x226c81));}else logger[_0x518b64(0x248)](_0x18c4ce[_0x518b64(0x201)]);}catch(_0x312e5b){logger[_0x518b64(0x248)](util[_0x518b64(0x1d9)](_0x18c4ce[_0x518b64(0x1f0)],_0x312e5b['stack']||_0x312e5b[_0x518b64(0x285)]||_0x312e5b));}let _0x394846=(await Promise['all'](_0x376bc0['map'](_0x317f77=>fsPromise[_0x518b64(0x21c)](_0x317f77,_0x518b64(0x1ed)))))[_0x518b64(0x257)](_0x5a0089=>'['+_0x5a0089['slice'](0x0,-0x1)+']')[_0x518b64(0x257)](_0x1696b0=>JSON[_0x518b64(0x208)](_0x1696b0))[_0x518b64(0x1fc)]();return _0x18c4ce[_0x518b64(0x272)](this[_0x518b64(0x27f)][_0x518b64(0x287)],0x0)&&(_0x394846=_0x394846[_0x518b64(0x1ec)](this[_0x518b64(0x258)]())),this[_0x518b64(0x22c)][_0x518b64(0x207)](),_0x394846;}static[a121_0x5d26c4(0x20b)](){const _0x3928a2=a121_0x5d26c4,_0x2d21d4={};_0x2d21d4[_0x3928a2(0x1dd)]=function(_0x196561,_0x49af3b){return _0x196561===_0x49af3b;},_0x2d21d4[_0x3928a2(0x232)]=function(_0x48e15d,_0x5fdffa){return _0x48e15d+_0x5fdffa;};const _0x529642=_0x2d21d4;if(_0x529642[_0x3928a2(0x1dd)](this[_0x3928a2(0x26c)][_0x3928a2(0x287)],0x0))return;const _0x5c8568=JSON[_0x3928a2(0x212)](this[_0x3928a2(0x26c)]),_0x568a71=_0x529642[_0x3928a2(0x232)](_0x5c8568[_0x3928a2(0x203)](0x1,-0x1),',');fs[_0x3928a2(0x239)](this[_0x3928a2(0x24e)],_0x568a71);}static[a121_0x5d26c4(0x22e)](){const _0x5d86bf=a121_0x5d26c4,_0x4f58ed={};_0x4f58ed[_0x5d86bf(0x246)]=function(_0x53a03d,_0x3a0023){return _0x53a03d>_0x3a0023;};const _0x584f6c=_0x4f58ed;if(this[_0x5d86bf(0x204)]){if(!fs[_0x5d86bf(0x23e)](this[_0x5d86bf(0x204)]))return this[_0x5d86bf(0x26c)];let _0x1003e9=fs['readFileSync'](this[_0x5d86bf(0x204)])['toString']();_0x1003e9='['+_0x1003e9['slice'](0x0,-0x1)+']';let _0x1e634b=JSON['parse'](_0x1003e9);return _0x584f6c['vwwPo'](this['_errorEvents'][_0x5d86bf(0x287)],0x0)&&(_0x1e634b=_0x1e634b['concat'](this['_errorEvents'])),fs[_0x5d86bf(0x1eb)](this[_0x5d86bf(0x204)]),_0x1e634b;}}static[a121_0x5d26c4(0x23d)](_0x2acd6e){const _0x2320eb=a121_0x5d26c4;if(!this[_0x2320eb(0x284)]())return;this[_0x2320eb(0x26c)][_0x2320eb(0x235)]({'message':_0x2acd6e[_0x2320eb(0x285)],'trace':_0x2acd6e[_0x2320eb(0x247)],'code':_0x2acd6e[_0x2320eb(0x266)]||null,'time':new Date()});}static[a121_0x5d26c4(0x1f6)](){const _0xc2cf96=a121_0x5d26c4;try{if(!this[_0xc2cf96(0x284)]())return;this[_0xc2cf96(0x22c)][_0xc2cf96(0x207)](),this[_0xc2cf96(0x1ea)](),this[_0xc2cf96(0x20b)]();}catch(_0x240ac7){logger[_0xc2cf96(0x245)](_0xc2cf96(0x213)+util[_0xc2cf96(0x1d9)](_0x240ac7));}}static async[a121_0x5d26c4(0x1e6)](){const _0x1ae949=a121_0x5d26c4,_0x4f70f7={'Fxzpn':function(_0x2b7d37,_0x19e949){return _0x2b7d37(_0x19e949);}};await _0x4f70f7['Fxzpn'](sleep,0x1e);const _0x301d4e=await this['finalizePerfMeasures'](),_0x13334f=this['finalizeErrors']();if(!this[_0x1ae949(0x284)]()){const _0x5d1e57={};return _0x5d1e57['measures']=[],_0x5d1e57[_0x1ae949(0x27d)]=[],_0x5d1e57;}const _0x1c480f={};return _0x1c480f[_0x1ae949(0x24d)]=_0x301d4e,_0x1c480f[_0x1ae949(0x27d)]=_0x13334f,_0x1c480f;}static[a121_0x5d26c4(0x1ef)](_0x1c2a39){const _0x27ff80=a121_0x5d26c4,_0x523222={};_0x523222[_0x27ff80(0x217)]=function(_0x57b426,_0x190c52){return _0x57b426+_0x190c52;},_0x523222['zxFDg']=_0x27ff80(0x27c);const _0x1ea17d=_0x523222,_0x43d1a2=_0x1ea17d[_0x27ff80(0x217)](_0x1c2a39,_0x1ea17d['zxFDg']);if(this['eventsMap'][_0x43d1a2])return;performance['mark'](_0x43d1a2),this[_0x27ff80(0x262)][_0x43d1a2]=0x1;}static[a121_0x5d26c4(0x1df)](_0x14b3d3,_0x4e5848=!![],_0x4e4b83=null,_0x587eb2={}){const _0x562b49=a121_0x5d26c4,_0xb67b1b={'araZS':function(_0x27f591,_0x310e27){return _0x27f591+_0x310e27;},'aQqoW':_0x562b49(0x1fe),'ieiHj':'-start','uaBJF':function(_0x4c50aa,_0x453768){return _0x4c50aa+_0x453768;},'BsyxE':function(_0xd19c0d){return _0xd19c0d();},'vhfko':function(_0xf592d9){return _0xf592d9();}};performance['mark'](_0xb67b1b['araZS'](_0x14b3d3,_0xb67b1b['aQqoW'])),performance[_0x562b49(0x21b)](_0x14b3d3,_0xb67b1b[_0x562b49(0x250)](_0x14b3d3,_0xb67b1b[_0x562b49(0x1f9)]),_0xb67b1b[_0x562b49(0x1db)](_0x14b3d3,_0xb67b1b[_0x562b49(0x1e2)]));const _0x545550={};_0x545550['success']=_0x4e5848,_0x545550[_0x562b49(0x23c)]=_0x4e4b83,this[_0x562b49(0x243)][_0x14b3d3]=Object[_0x562b49(0x26b)](_0x545550,Object[_0x562b49(0x26b)](Object[_0x562b49(0x26b)]({'worker':_0xb67b1b['BsyxE'](getProcessId),'platform':global[_0x562b49(0x21e)]&&global[_0x562b49(0x21e)][_0x562b49(0x242)],'testName':_0xb67b1b[_0x562b49(0x1e9)](getTestName)},_0x587eb2),this[_0x562b49(0x243)][_0x14b3d3]||{}));}}module['exports']=PerformanceTester;function a121_0x1dca(){const _0x57f21e=['splice','isEnabled','message','calculateTimesFromMultipleFiles','length','Error\x20in\x20writing\x20html\x20','format','CrGrh','uaBJF','222LxwOuO','erkkR','Time\x20for\x20','end','false','writeFile','aQqoW','QjHbk','twbBt','wvMbG','finalize','error\x20in\x20measure\x20','performance-report','vhfko','pushPerfMeasures','unlinkSync','concat','utf-8','generateHTMLReport','start','gauLb','/error-report-','jpVVF','EqsRW','98wlnorO','kAgOd','stopMonitoring','toString','jsonReportDirName','ieiHj','<h1>Performance\x20Report</h1>','aOPta','flat','match','-end','NyiqW','entryType','kqArl','</tbody></table></body></html>','slice','errorReportFileName','getEntries','../logger','disconnect','parse','readFileSync','join','pushErrors','browserStackCwd','oHmIK','errorReportDirName','RNDkO','getEventsFromJSON','readdir','stringify','Error\x20stopping\x20monitoring\x20','_events','meta','6012vOhJfP','uJFcw','testName','entryTypes','MDOYw','measure','readFile','started','__platformCaps','4vUCdre','error-report','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','toJSON','mlzoO','RciDP','platform','oWlBv','apply','KxrvL','writeFileSync','key-metrics.json','measureWrapper','_observer','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','finalizeErrors','sbEIO','observe','jsonReportDirPath','JTcKX','dirname','access','push','9760bpJncF','lHwVZ','perf_hooks','appendFileSync','unlink','Error\x20while\x20removing\x20files:\x20','failure','captureError','existsSync','\x20for\x20all\x20processes\x20is\x20','BROWSERSTACK_SDK_INSTRUMENTATION','../processHelper','index','details','Error\x20processing\x20key-metrics.json:\x20%s','debug','vwwPo','stack','info','iyYda','name','getPerformance','lsbzF','measures','errorFile','entries','araZS','3421128oMhsmz','startMonitoring','generateJSON','4791RCvAuM','gObjS','modified-key-metrics.json','map','getCleanedPerfEvents','579905StMnJF','iqEMD','finalizePerfMeasures','437627YOpWkx','F_OK','FBknX','jsonReportFileName','calculateTimeFromEvents','shTeu','eventsMap','cwd','stopAndGenerate','duration','code','177444ndAGvL','path','performance-own.html','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','assign','_errorEvents','Performance\x20report\x20is\x20at\x20','env','SmIth','QEDUu','uLVTi','nNjYJ','JvZez','readdirSync','.json','catch','reduce','constants','Oengs','33obYRHP','uhKsR','-start','errors','<tr><td>','_measureEvents','MLsqv','isArray','2195768YIdION'];a121_0x1dca=function(){return _0x57f21e;};return a121_0x1dca();}
@@ -1 +1 @@
1
- const a121_0x375d92=a121_0x1a2d;function a121_0x3de3(){const _0x2f2ee3=['Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','Error\x20getting\x20Playwright\x20BrowserType:\x20','nyFIi','bootstrap','Mbxbt','cliConfig','cucumberjs-pw','length','browser','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','tcSYn','__accessibilityOptions','1276152rfiacI','winstonLogger','YYnLX','browserstack.accessibilityOptions.scannerProcessingTimeout','153496cPgmLz','BSYmY','checkPwandBootstrapCli','4003904ddOAZp','isArray','Unixm','EVxht','../bin/v2/cliUtils','isPlaywrightAvailable','getPlaywrightConfig','setFrameworkDetail','importFileFromPWCore','projects','GHCUp','SjdGu','./helper','getConfig','kFjSY','getModifiedConfigFromCLI','BROWSERSTACK_PRODUCT_MAP','Could\x20not\x20import\x20GrpcClient:\x20','convertW3CToJsonWire','lZgrv','uYoay','Detected\x20Playwright\x20version\x20','csdvF','OlEVd','aFNpD','browserstack.accessibilityOptions.authToken','workers','join','qefXS','../bin/v2/browserstackCLI','QvNMP','GyAFt','debug','getPlaywrightBrowserType','error','FGWTk','4SQhYvA','Playwright\x20not\x20available:\x20','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','WJtCl','JTAts','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','jbpWh','playwrightConfigObject','path','QSwQR','format','exports','eNPCL','BrowserType','Isddf','Received\x20modified\x20config\x20from\x20gRPC:\x20','W3CMapping','\x20for\x20','browserstack.accessibilityOptions.wcagVersion','entries','2433949UwenTt','message','etKUl','browserName','browserstack.buildProductMap','browserType.js','chrome','739890mQbmQN','browserstack.accessibilityOptions.scannerVersion','lib','PLAYWRIGHT','Plpua','__platformCaps','No\x20modified\x20config\x20received\x20from\x20gRPC','./testhub/utils','pCQOh','getInstance','capabilities','xXEqf','85761RDGnnG','stringify','env','BROWSERSTACK_TESTHUB_UUID','vUgPc','framework','844374iyzaqT','getPlaywrightUrl','browserstack.testhubBuildUuid','config','use','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','util','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','gbRvN','setBrowserstackConfig','./w3cMapping','pDKIA','gNzDr','client','iBrjy','tsPpY','platformCaps','eLWyx'];a121_0x3de3=function(){return _0x2f2ee3;};return a121_0x3de3();}(function(_0x516ed2,_0x3c0293){const _0x399270=a121_0x1a2d,_0x368228=_0x516ed2();while(!![]){try{const _0x3501de=parseInt(_0x399270(0x85))/0x1+parseInt(_0x399270(0xd9))/0x2+parseInt(_0x399270(0xd3))/0x3+-parseInt(_0x399270(0xac))/0x4*(-parseInt(_0x399270(0xc7))/0x5)+-parseInt(_0x399270(0x81))/0x6+parseInt(_0x399270(0xc0))/0x7+-parseInt(_0x399270(0x88))/0x8;if(_0x3501de===_0x3c0293)break;else _0x368228['push'](_0x368228['shift']());}catch(_0x53eb32){_0x368228['push'](_0x368228['shift']());}}}(a121_0x3de3,0x5e6d7));const path=require(a121_0x375d92(0xb4)),util=require(a121_0x375d92(0xdf)),{importFileFromPWCore}=require(a121_0x375d92(0x94)),helper=require(a121_0x375d92(0x94)),logger=require('./logger')[a121_0x375d92(0x82)],W3CMapping=require(a121_0x375d92(0xe3))[a121_0x375d92(0xbc)](),constants=require('../bin/utils/constants'),BrowserstackCLI=require(a121_0x375d92(0xa5)),CLIUtils=require(a121_0x375d92(0x8c));let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a121_0x3e7e5f){logger['debug'](a121_0x375d92(0x99)+a121_0x3e7e5f[a121_0x375d92(0xc1)]),GrpcClient=null;}const convertW3CToJsonWire=_0x13c335=>{const _0x3a1d5a=a121_0x375d92,_0x415621={};_0x415621[_0x3a1d5a(0xab)]=function(_0x2e7f02,_0x362e79){return _0x2e7f02||_0x362e79;},_0x415621[_0x3a1d5a(0xe1)]=function(_0x43969d,_0x36329c){return _0x43969d===_0x36329c;},_0x415621[_0x3a1d5a(0xa4)]='bstack:options',_0x415621['nyFIi']=function(_0xa66209,_0x12ee47){return _0xa66209===_0x12ee47;},_0x415621['jbpWh']=function(_0x54606b,_0x188d2d){return _0x54606b in _0x188d2d;};const _0x3ff1c0=_0x415621,_0x30aa16={};for(const [_0x5b9718,_0x30bdf8]of Object[_0x3a1d5a(0xbf)](_0x3ff1c0['FGWTk'](_0x13c335,{}))){if(_0x3ff1c0['gbRvN'](_0x5b9718,_0x3ff1c0[_0x3a1d5a(0xa4)]))continue;let _0x6f253c=![];for(const [_0x40353f,_0x57450c]of Object[_0x3a1d5a(0xbf)](W3CMapping)){if(_0x3ff1c0[_0x3a1d5a(0xe1)](_0x5b9718,_0x57450c)){_0x30aa16[_0x40353f]=_0x30bdf8,_0x6f253c=!![];break;}}!_0x6f253c&&(_0x30aa16[_0x5b9718]=_0x30bdf8);}const _0x3e6587=_0x13c335[_0x3ff1c0[_0x3a1d5a(0xa4)]]||{};for(const [_0x1b36ff,_0x1662af]of Object[_0x3a1d5a(0xbf)](_0x3e6587)){let _0x15c677=![];for(const [_0x55f57e,_0x37a674]of Object[_0x3a1d5a(0xbf)](W3CMapping)){if(_0x3ff1c0[_0x3a1d5a(0xed)](_0x1b36ff,_0x37a674)){_0x30aa16[_0x55f57e]=_0x1662af,_0x15c677=!![];break;}}!_0x15c677&&!_0x3ff1c0[_0x3a1d5a(0xb2)](_0x1b36ff,_0x30aa16)&&(_0x30aa16[_0x1b36ff]=_0x1662af);}return logger[_0x3a1d5a(0xa8)](_0x3a1d5a(0x7e)+JSON[_0x3a1d5a(0xd4)](_0x30aa16)),_0x30aa16;},getModifiedConfigFromCLI=async _0xf394d=>{const _0x5bf9eb=a121_0x375d92,_0x44cbd2={};_0x44cbd2['Plpua']=_0x5bf9eb(0xe0),_0x44cbd2[_0x5bf9eb(0xcf)]=_0x5bf9eb(0x7b),_0x44cbd2[_0x5bf9eb(0xaf)]=_0x5bf9eb(0xde),_0x44cbd2[_0x5bf9eb(0x96)]=_0x5bf9eb(0xcd),_0x44cbd2[_0x5bf9eb(0xc2)]=function(_0x3373e4,_0x20aef9){return _0x3373e4>_0x20aef9;},_0x44cbd2[_0x5bf9eb(0xa7)]=function(_0x188c84,_0x3a9a34){return _0x188c84>_0x3a9a34;},_0x44cbd2[_0x5bf9eb(0x9c)]='No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response';const _0x536559=_0x44cbd2;try{if(!GrpcClient)return logger[_0x5bf9eb(0xa8)](_0x536559[_0x5bf9eb(0xcb)]),null;const _0x432c4a={};_0x432c4a[_0x5bf9eb(0xd1)]=_0xf394d,_0x432c4a[_0x5bf9eb(0xd8)]=_0x536559[_0x5bf9eb(0xcf)],_0x432c4a[_0x5bf9eb(0xa2)]=0x1,_0x432c4a[_0x5bf9eb(0x91)]=[];const _0x2fe962=_0x432c4a;logger['debug'](_0x536559[_0x5bf9eb(0xaf)]);const _0x19073b={};_0x19073b[_0x5bf9eb(0xb3)]=_0x2fe962;const _0x50c292=await GrpcClient[_0x5bf9eb(0xd0)]()[_0x5bf9eb(0x8e)](_0x19073b);if(!_0x50c292[_0x5bf9eb(0x95)]())return logger['debug'](_0x536559[_0x5bf9eb(0x96)]),null;const _0x2ca07e=JSON['parse'](_0x50c292['getConfig']());logger[_0x5bf9eb(0xa8)](_0x5bf9eb(0xbb)+JSON[_0x5bf9eb(0xd4)](_0x2ca07e));if(_0x2ca07e['capabilities']&&Array['isArray'](_0x2ca07e['capabilities'])&&_0x536559[_0x5bf9eb(0xc2)](_0x2ca07e[_0x5bf9eb(0xd1)][_0x5bf9eb(0x7c)],0x0))return _0x2ca07e[_0x5bf9eb(0xd1)][0x0];else{if(_0x2ca07e[_0x5bf9eb(0x91)]&&Array[_0x5bf9eb(0x89)](_0x2ca07e[_0x5bf9eb(0x91)])&&_0x536559[_0x5bf9eb(0xa7)](_0x2ca07e[_0x5bf9eb(0x91)][_0x5bf9eb(0x7c)],0x0)){const _0x391c66=_0x2ca07e[_0x5bf9eb(0x91)][0x0];if(_0x391c66[_0x5bf9eb(0xdd)]&&_0x391c66[_0x5bf9eb(0xdd)]['platformCaps'])return _0x391c66[_0x5bf9eb(0xdd)][_0x5bf9eb(0xe9)];}}return logger[_0x5bf9eb(0xa8)](_0x536559[_0x5bf9eb(0x9c)]),null;}catch(_0x1e4975){logger[_0x5bf9eb(0xaa)]('Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20'+_0x1e4975['message']);throw _0x1e4975;}},generatePlaywrightUrl=(_0x201dbf,_0x32fd4b)=>{const _0x4e7eaa=a121_0x375d92,_0x597c16={'GHCUp':function(_0xbcb360,_0xaa19cc){return _0xbcb360!==_0xaa19cc;},'tcSYn':function(_0x3d1fe5,_0x8a11ce){return _0x3d1fe5!==_0x8a11ce;},'gNzDr':function(_0x586ce2,_0x23607e){return _0x586ce2!==_0x23607e;},'QSwQR':function(_0x88e283,_0x224871){return _0x88e283(_0x224871);},'SjdGu':function(_0x3783f3,_0x43f3c0){return _0x3783f3||_0x43f3c0;},'eLWyx':function(_0x470b75,_0xfd4107){return _0x470b75(_0xfd4107);},'YYnLX':_0x4e7eaa(0xa1),'JTAts':function(_0x4e2e3a,_0x5e1aac){return _0x4e2e3a(_0x5e1aac);},'Isddf':_0x4e7eaa(0xbe),'BSYmY':_0x4e7eaa(0xc8),'dVNjb':_0x4e7eaa(0x84),'iBrjy':_0x4e7eaa(0xdb),'TfZlb':_0x4e7eaa(0xc4),'xXEqf':function(_0xed9bf0,_0x577e75){return _0xed9bf0+_0x577e75;},'EVxht':function(_0x11d4a4,_0x26e998){return _0x11d4a4(_0x26e998);}},_0x185343=helper[_0x4e7eaa(0xda)](_0x201dbf),_0x4003a7=_0x597c16[_0x4e7eaa(0xb5)](convertW3CToJsonWire,_0x32fd4b);try{const _0x4bbc25=[_0x597c16[_0x4e7eaa(0x93)](_0x32fd4b,{}),global['__launchCaps']||{},global[_0x4e7eaa(0xcc)]||{},global[_0x4e7eaa(0x80)]||{}],_0xbc247f=_0x5603c9=>{const _0x5c6088=_0x4e7eaa;if(_0x597c16[_0x5c6088(0x92)](_0x4003a7[_0x5603c9],undefined)&&_0x597c16[_0x5c6088(0x92)](_0x4003a7[_0x5603c9],null)&&_0x597c16['tcSYn'](_0x4003a7[_0x5603c9],''))return;for(const _0x3dfd2f of _0x4bbc25){if(_0x3dfd2f&&_0x597c16[_0x5c6088(0x92)](_0x3dfd2f[_0x5603c9],undefined)&&_0x597c16[_0x5c6088(0x7f)](_0x3dfd2f[_0x5603c9],null)&&_0x597c16[_0x5c6088(0xe5)](_0x3dfd2f[_0x5603c9],'')){_0x4003a7[_0x5603c9]=_0x3dfd2f[_0x5603c9];return;}}};_0x597c16[_0x4e7eaa(0xea)](_0xbc247f,_0x597c16['YYnLX']),_0x597c16[_0x4e7eaa(0xb0)](_0xbc247f,_0x597c16[_0x4e7eaa(0xba)]),_0x597c16[_0x4e7eaa(0xb0)](_0xbc247f,_0x597c16[_0x4e7eaa(0x86)]),_0x597c16[_0x4e7eaa(0xb0)](_0xbc247f,_0x597c16['dVNjb']),!_0x4003a7[_0x597c16[_0x4e7eaa(0x83)]]&&process[_0x4e7eaa(0xd5)]['BS_A11Y_JWT']&&(_0x4003a7[_0x597c16[_0x4e7eaa(0x83)]]=process[_0x4e7eaa(0xd5)]['BS_A11Y_JWT']);}catch(_0x41acc8){logger[_0x4e7eaa(0xa8)](_0x4e7eaa(0xeb)+util['format'](_0x41acc8));}return _0x4003a7[_0x597c16[_0x4e7eaa(0xe7)]]=process[_0x4e7eaa(0xd5)][_0x4e7eaa(0xd6)],_0x4003a7[_0x597c16['TfZlb']]=helper['getBuildProductMap'](),_0x597c16[_0x4e7eaa(0xd2)](_0x185343,_0x597c16[_0x4e7eaa(0x8b)](encodeURIComponent,JSON[_0x4e7eaa(0xd4)](_0x4003a7)));},getBrowserFromCaps=_0x4ed465=>{const _0x399162=a121_0x375d92,_0x319dee={};_0x319dee[_0x399162(0xb8)]=_0x399162(0xc6);const _0x1d8a50=_0x319dee;return _0x4ed465[_0x399162(0xc3)]||_0x4ed465[_0x399162(0x7d)]||_0x1d8a50[_0x399162(0xb8)];},isPlaywrightAvailable=()=>{const _0x468305=a121_0x375d92,_0x857b0d={'OlEVd':_0x468305(0xc9),'lZgrv':_0x468305(0xe6),'Unixm':'browserType.js','vDQzn':function(_0x15e3d9,_0x5c25b1){return _0x15e3d9(_0x5c25b1);}};try{const _0x126850=path[_0x468305(0xa3)](_0x857b0d[_0x468305(0x9f)],_0x857b0d[_0x468305(0x9b)],_0x857b0d[_0x468305(0x8a)]),_0x10dcee=_0x857b0d['vDQzn'](importFileFromPWCore,_0x126850);return!!_0x10dcee;}catch(_0x5e6b17){return logger[_0x468305(0xa8)](_0x468305(0xad)+util['format'](_0x5e6b17)),![];}},getPlaywrightBrowserType=()=>{const _0x3a9efc=a121_0x375d92,_0x308b01={'OKODa':_0x3a9efc(0xc9),'QvNMP':'client','pDKIA':_0x3a9efc(0xc5),'csdvF':function(_0xf5a4e7,_0x7228ed){return _0xf5a4e7(_0x7228ed);}};try{const _0x1d146f=path[_0x3a9efc(0xa3)](_0x308b01['OKODa'],_0x308b01[_0x3a9efc(0xa6)],_0x308b01[_0x3a9efc(0xe4)]),_0x175d34=_0x308b01[_0x3a9efc(0x9e)](importFileFromPWCore,_0x1d146f);return _0x175d34?_0x175d34[_0x3a9efc(0xb9)]:null;}catch(_0x3f33f0){return logger[_0x3a9efc(0xa8)](_0x3a9efc(0xec)+util[_0x3a9efc(0xb6)](_0x3f33f0)),null;}},getPlaywrightModulePath=()=>{const _0x366517=a121_0x375d92,_0x4aaf68={};_0x4aaf68[_0x366517(0xa0)]=_0x366517(0xae);const _0x32101e=_0x4aaf68;return logger[_0x366517(0xa8)](_0x32101e[_0x366517(0xa0)]),null;},getBrowserTypePath=()=>{const _0x53f022=a121_0x375d92,_0x139ca4={};_0x139ca4[_0x53f022(0xd7)]=_0x53f022(0xb1);const _0x39cf2d=_0x139ca4;return logger['debug'](_0x39cf2d['vUgPc']),null;},checkPwandBootstrapCli=async(_0x312f25,_0x2e277a,_0x54dc2c)=>{const _0xa98c17=a121_0x375d92,_0x288651={'tsPpY':function(_0x2c4ac0,_0x75d9e1){return _0x2c4ac0(_0x75d9e1);},'Mbxbt':_0xa98c17(0xce)};if(_0x312f25){const _0x5ebbe7=constants['FRAMEWORKS'][_0xa98c17(0xca)];logger[_0xa98c17(0xa8)](_0xa98c17(0x9d)+_0x312f25+_0xa98c17(0xbd)+_0x2e277a+'\x20flow'),CLIUtils[_0xa98c17(0x8f)](_0x2e277a,_0x5ebbe7);const {getProductMap:_0x234bec}=_0x288651[_0xa98c17(0xe8)](require,_0x288651[_0xa98c17(0xef)]);process['env'][_0xa98c17(0x98)]=JSON[_0xa98c17(0xd4)](_0x288651[_0xa98c17(0xe8)](_0x234bec,_0x54dc2c['config'])),BrowserstackCLI['getInstance']()[_0xa98c17(0xe2)](_0x54dc2c[_0xa98c17(0xdc)],_0x54dc2c[_0xa98c17(0xf0)]),await BrowserstackCLI[_0xa98c17(0xd0)]()[_0xa98c17(0xee)]();}},a121_0x1e02cc={};function a121_0x1a2d(_0x26d153,_0x23e76e){const _0x3de331=a121_0x3de3();return a121_0x1a2d=function(_0x1a2d81,_0x66df76){_0x1a2d81=_0x1a2d81-0x7b;let _0xf45365=_0x3de331[_0x1a2d81];return _0xf45365;},a121_0x1a2d(_0x26d153,_0x23e76e);}a121_0x1e02cc[a121_0x375d92(0x9a)]=convertW3CToJsonWire,a121_0x1e02cc[a121_0x375d92(0x97)]=getModifiedConfigFromCLI,a121_0x1e02cc['generatePlaywrightUrl']=generatePlaywrightUrl,a121_0x1e02cc['getBrowserFromCaps']=getBrowserFromCaps,a121_0x1e02cc[a121_0x375d92(0x8d)]=isPlaywrightAvailable,a121_0x1e02cc[a121_0x375d92(0xa9)]=getPlaywrightBrowserType,a121_0x1e02cc['getPlaywrightModulePath']=getPlaywrightModulePath,a121_0x1e02cc['getBrowserTypePath']=getBrowserTypePath,a121_0x1e02cc[a121_0x375d92(0x90)]=importFileFromPWCore,a121_0x1e02cc[a121_0x375d92(0x87)]=checkPwandBootstrapCli,module[a121_0x375d92(0xb7)]=a121_0x1e02cc;
1
+ function a122_0x336d(){const _0x46b4af=['generatePlaywrightUrl','getConfig','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','setBrowserstackConfig','winstonLogger','browserstack.buildProductMap','lib','use','platformCaps','Yjbhq','browserType.js','./w3cMapping','KrNCY','15pnvuKL','message','config','IGwqS','7485130syOFlD','9pKMwmJ','FRAMEWORKS','../bin/v2/browserstackCLI','LqCic','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','Tmlud','client','__launchCaps','yCJxj','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','W3CMapping','parse','BS_A11Y_JWT','getPlaywrightConfig','No\x20modified\x20config\x20received\x20from\x20gRPC','KJqEU','nQPuV','qZqtw','workers','PrllU','__platformCaps','1942102qbmATU','checkPwandBootstrapCli','playwrightConfigObject','../bin/v2/grpcClient','hMJzG','1150384mAZOfQ','Could\x20not\x20import\x20GrpcClient:\x20','MkXBC','getBuildProductMap','projects','./helper','__accessibilityOptions','env','Received\x20modified\x20config\x20from\x20gRPC:\x20','browser','DSYVm','getInstance','PLAYWRIGHT','getPlaywrightUrl','join','isArray','ucZmL','iYsGo','format','bootstrap','tHKZu','browserstack.accessibilityOptions.authToken','MBugA','3aKxZJu','getModifiedConfigFromCLI','QkJas','error','vJATZ','fACXF','chrome','sQcHo','LBCVo','TiGaj','1546124YtACjE','bSnsu','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','./testhub/utils','GmeWM','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','bstack:options','BROWSERSTACK_TESTHUB_UUID','XYeJi','../bin/v2/cliUtils','capabilities','WcarW','DiygX','972436AFIYCK','setFrameworkDetail','3628114yvvuef','isPlaywrightAvailable','length','Playwright\x20not\x20available:\x20','getBrowserFromCaps','getPlaywrightBrowserType','sEQbV','cliConfig','browserName','browserstack.testhubBuildUuid','1969668HSBMkL','BqNCF','getPlaywrightModulePath','debug','entries','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','fYVoW','FIJIj','bjocY','stringify','importFileFromPWCore','udtmi','Error\x20getting\x20Playwright\x20BrowserType:\x20','BrowserType','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','getBrowserTypePath','browserstack.accessibilityOptions.scannerVersion'];a122_0x336d=function(){return _0x46b4af;};return a122_0x336d();}const a122_0x482a42=a122_0x3018;(function(_0x176851,_0x3426f7){const _0xe2b956=a122_0x3018,_0x7874a7=_0x176851();while(!![]){try{const _0x3c8604=parseInt(_0xe2b956(0x1d1))/0x1+parseInt(_0xe2b956(0x215))/0x2*(-parseInt(_0xe2b956(0x1ba))/0x3)+-parseInt(_0xe2b956(0x1c4))/0x4+-parseInt(_0xe2b956(0x1fb))/0x5*(-parseInt(_0xe2b956(0x1dd))/0x6)+parseInt(_0xe2b956(0x1d3))/0x7+parseInt(_0xe2b956(0x21a))/0x8+parseInt(_0xe2b956(0x200))/0x9*(-parseInt(_0xe2b956(0x1ff))/0xa);if(_0x3c8604===_0x3426f7)break;else _0x7874a7['push'](_0x7874a7['shift']());}catch(_0x3478b8){_0x7874a7['push'](_0x7874a7['shift']());}}}(a122_0x336d,0x7d4fb));const path=require('path'),util=require('util'),{importFileFromPWCore}=require(a122_0x482a42(0x1a8)),helper=require(a122_0x482a42(0x1a8)),logger=require('./logger')[a122_0x482a42(0x1f2)],W3CMapping=require(a122_0x482a42(0x1f9))[a122_0x482a42(0x20a)](),constants=require('../bin/utils/constants'),BrowserstackCLI=require(a122_0x482a42(0x202)),CLIUtils=require(a122_0x482a42(0x1cd));let GrpcClient;try{GrpcClient=require(a122_0x482a42(0x218));}catch(a122_0x2c52b4){logger[a122_0x482a42(0x1e0)](a122_0x482a42(0x21b)+a122_0x2c52b4[a122_0x482a42(0x1fc)]),GrpcClient=null;}const convertW3CToJsonWire=_0x2ef93a=>{const _0x4c13ce=a122_0x482a42,_0x158edb={};_0x158edb[_0x4c13ce(0x1fa)]=function(_0x372d11,_0x1155a4){return _0x372d11||_0x1155a4;},_0x158edb[_0x4c13ce(0x1b4)]=function(_0x550819,_0x8e66e5){return _0x550819===_0x8e66e5;},_0x158edb[_0x4c13ce(0x210)]=_0x4c13ce(0x1ca),_0x158edb[_0x4c13ce(0x1f7)]=function(_0x3a9cea,_0x4c1b31){return _0x3a9cea in _0x4c1b31;};const _0x2b7d34=_0x158edb,_0x53464e={};for(const [_0x5dbc6b,_0x4f2a7e]of Object[_0x4c13ce(0x1e1)](_0x2b7d34[_0x4c13ce(0x1fa)](_0x2ef93a,{}))){if(_0x2b7d34[_0x4c13ce(0x1b4)](_0x5dbc6b,_0x2b7d34['nQPuV']))continue;let _0x3144c8=![];for(const [_0x455333,_0x2e9d07]of Object[_0x4c13ce(0x1e1)](W3CMapping)){if(_0x2b7d34[_0x4c13ce(0x1b4)](_0x5dbc6b,_0x2e9d07)){_0x53464e[_0x455333]=_0x4f2a7e,_0x3144c8=!![];break;}}!_0x3144c8&&(_0x53464e[_0x5dbc6b]=_0x4f2a7e);}const _0x53ac9f=_0x2ef93a[_0x2b7d34[_0x4c13ce(0x210)]]||{};for(const [_0x16a279,_0x5cd52e]of Object[_0x4c13ce(0x1e1)](_0x53ac9f)){let _0x33a812=![];for(const [_0xf62759,_0x57b6bb]of Object[_0x4c13ce(0x1e1)](W3CMapping)){if(_0x2b7d34[_0x4c13ce(0x1b4)](_0x16a279,_0x57b6bb)){_0x53464e[_0xf62759]=_0x5cd52e,_0x33a812=!![];break;}}!_0x33a812&&!_0x2b7d34[_0x4c13ce(0x1f7)](_0x16a279,_0x53464e)&&(_0x53464e[_0x16a279]=_0x5cd52e);}return logger['debug'](_0x4c13ce(0x1e2)+JSON[_0x4c13ce(0x1e6)](_0x53464e)),_0x53464e;},getModifiedConfigFromCLI=async _0x15cf85=>{const _0x120a88=a122_0x482a42,_0x25282d={};_0x25282d[_0x120a88(0x1e3)]=_0x120a88(0x204),_0x25282d[_0x120a88(0x1ad)]='cucumberjs-pw',_0x25282d[_0x120a88(0x203)]=_0x120a88(0x1f0),_0x25282d[_0x120a88(0x1cf)]=_0x120a88(0x20e),_0x25282d[_0x120a88(0x1e5)]=function(_0x253f64,_0x101e47){return _0x253f64>_0x101e47;},_0x25282d[_0x120a88(0x1fe)]=_0x120a88(0x1eb);const _0x380689=_0x25282d;try{if(!GrpcClient)return logger['debug'](_0x380689[_0x120a88(0x1e3)]),null;const _0x916062={};_0x916062[_0x120a88(0x1ce)]=_0x15cf85,_0x916062['framework']=_0x380689[_0x120a88(0x1ad)],_0x916062[_0x120a88(0x212)]=0x1,_0x916062[_0x120a88(0x1a7)]=[];const _0x323645=_0x916062;logger[_0x120a88(0x1e0)](_0x380689[_0x120a88(0x203)]);const _0x448dac={};_0x448dac[_0x120a88(0x217)]=_0x323645;const _0x53af6c=await GrpcClient[_0x120a88(0x1ae)]()[_0x120a88(0x20d)](_0x448dac);if(!_0x53af6c[_0x120a88(0x1ef)]())return logger[_0x120a88(0x1e0)](_0x380689[_0x120a88(0x1cf)]),null;const _0x2d186b=JSON[_0x120a88(0x20b)](_0x53af6c[_0x120a88(0x1ef)]());logger[_0x120a88(0x1e0)](_0x120a88(0x1ab)+JSON['stringify'](_0x2d186b));if(_0x2d186b['capabilities']&&Array[_0x120a88(0x1b2)](_0x2d186b[_0x120a88(0x1ce)])&&_0x380689[_0x120a88(0x1e5)](_0x2d186b[_0x120a88(0x1ce)][_0x120a88(0x1d5)],0x0))return _0x2d186b[_0x120a88(0x1ce)][0x0];else{if(_0x2d186b[_0x120a88(0x1a7)]&&Array[_0x120a88(0x1b2)](_0x2d186b[_0x120a88(0x1a7)])&&_0x380689[_0x120a88(0x1e5)](_0x2d186b[_0x120a88(0x1a7)][_0x120a88(0x1d5)],0x0)){const _0x55aa59=_0x2d186b[_0x120a88(0x1a7)][0x0];if(_0x55aa59[_0x120a88(0x1f5)]&&_0x55aa59[_0x120a88(0x1f5)][_0x120a88(0x1f6)])return _0x55aa59[_0x120a88(0x1f5)][_0x120a88(0x1f6)];}}return logger[_0x120a88(0x1e0)](_0x380689['IGwqS']),null;}catch(_0x5714c9){logger[_0x120a88(0x1bd)](_0x120a88(0x209)+_0x5714c9['message']);throw _0x5714c9;}},generatePlaywrightUrl=(_0x40ffe1,_0x4343b6)=>{const _0x562bf8=a122_0x482a42,_0x5a3577={'qZqtw':function(_0x2b934b,_0x4383e7){return _0x2b934b!==_0x4383e7;},'MkXBC':function(_0x23f781,_0x31a5e8){return _0x23f781!==_0x31a5e8;},'GmeWM':function(_0x482f00,_0x472198){return _0x482f00!==_0x472198;},'zsYmV':function(_0x4fa52d,_0x1f5cc7){return _0x4fa52d(_0x1f5cc7);},'BqNCF':function(_0xfc1888,_0x14c784){return _0xfc1888||_0x14c784;},'fXOOh':function(_0x2db7f,_0x43fac5){return _0x2db7f(_0x43fac5);},'yCJxj':_0x562bf8(0x1b8),'MBugA':function(_0x3b0b71,_0x3ef656){return _0x3b0b71(_0x3ef656);},'Tmlud':'browserstack.accessibilityOptions.wcagVersion','scOPD':function(_0x2c10aa,_0x2587c8){return _0x2c10aa(_0x2587c8);},'TiGaj':_0x562bf8(0x1ed),'QkJas':'browserstack.accessibilityOptions.scannerProcessingTimeout','DiygX':_0x562bf8(0x1dc),'PrllU':_0x562bf8(0x1f3),'udtmi':function(_0x8df06e,_0x266e93){return _0x8df06e+_0x266e93;}},_0x1e2a54=helper[_0x562bf8(0x1b0)](_0x40ffe1),_0x2d18dc=_0x5a3577['zsYmV'](convertW3CToJsonWire,_0x4343b6);try{const _0x1dea78=[_0x5a3577[_0x562bf8(0x1de)](_0x4343b6,{}),global[_0x562bf8(0x207)]||{},global[_0x562bf8(0x214)]||{},global[_0x562bf8(0x1a9)]||{}],_0x404223=_0x3e7979=>{const _0x53123a=_0x562bf8;if(_0x5a3577[_0x53123a(0x211)](_0x2d18dc[_0x3e7979],undefined)&&_0x5a3577[_0x53123a(0x211)](_0x2d18dc[_0x3e7979],null)&&_0x5a3577[_0x53123a(0x21c)](_0x2d18dc[_0x3e7979],''))return;for(const _0x296a4f of _0x1dea78){if(_0x296a4f&&_0x5a3577[_0x53123a(0x211)](_0x296a4f[_0x3e7979],undefined)&&_0x5a3577[_0x53123a(0x1c8)](_0x296a4f[_0x3e7979],null)&&_0x5a3577['GmeWM'](_0x296a4f[_0x3e7979],'')){_0x2d18dc[_0x3e7979]=_0x296a4f[_0x3e7979];return;}}};_0x5a3577['fXOOh'](_0x404223,_0x5a3577['yCJxj']),_0x5a3577[_0x562bf8(0x1b9)](_0x404223,_0x5a3577[_0x562bf8(0x205)]),_0x5a3577['scOPD'](_0x404223,_0x5a3577[_0x562bf8(0x1c3)]),_0x5a3577[_0x562bf8(0x1b9)](_0x404223,_0x5a3577[_0x562bf8(0x1bc)]),!_0x2d18dc[_0x5a3577[_0x562bf8(0x208)]]&&process[_0x562bf8(0x1aa)]['BS_A11Y_JWT']&&(_0x2d18dc[_0x5a3577[_0x562bf8(0x208)]]=process['env'][_0x562bf8(0x20c)]);}catch(_0x549599){logger[_0x562bf8(0x1e0)]('Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20'+util[_0x562bf8(0x1b5)](_0x549599));}return _0x2d18dc[_0x5a3577[_0x562bf8(0x1d0)]]=process['env'][_0x562bf8(0x1cb)],_0x2d18dc[_0x5a3577[_0x562bf8(0x213)]]=helper[_0x562bf8(0x21d)](),_0x5a3577[_0x562bf8(0x1e8)](_0x1e2a54,_0x5a3577['zsYmV'](encodeURIComponent,JSON[_0x562bf8(0x1e6)](_0x2d18dc)));},getBrowserFromCaps=_0x2d9b7c=>{const _0x3dca21=a122_0x482a42,_0x26e9db={};_0x26e9db[_0x3dca21(0x1c2)]=_0x3dca21(0x1c0);const _0x25d3ce=_0x26e9db;return _0x2d9b7c[_0x3dca21(0x1db)]||_0x2d9b7c[_0x3dca21(0x1ac)]||_0x25d3ce['LBCVo'];},isPlaywrightAvailable=()=>{const _0x2da751=a122_0x482a42,_0x261bed={'nRQhn':'lib','bSnsu':_0x2da751(0x206),'FIJIj':_0x2da751(0x1f8),'sEQbV':function(_0x2a14db,_0x34237f){return _0x2a14db(_0x34237f);}};try{const _0xf89946=path[_0x2da751(0x1b1)](_0x261bed['nRQhn'],_0x261bed[_0x2da751(0x1c5)],_0x261bed[_0x2da751(0x1e4)]),_0x20ac32=_0x261bed[_0x2da751(0x1d9)](importFileFromPWCore,_0xf89946);return!!_0x20ac32;}catch(_0x7e3dc){return logger['debug'](_0x2da751(0x1d6)+util[_0x2da751(0x1b5)](_0x7e3dc)),![];}},getPlaywrightBrowserType=()=>{const _0xc2f5bd=a122_0x482a42,_0x423a64={'sQcHo':_0xc2f5bd(0x1f4),'hMJzG':'client','fACXF':'browserType.js','KJqEU':function(_0x1d3682,_0x39badf){return _0x1d3682(_0x39badf);}};try{const _0x46a70f=path[_0xc2f5bd(0x1b1)](_0x423a64[_0xc2f5bd(0x1c1)],_0x423a64[_0xc2f5bd(0x219)],_0x423a64[_0xc2f5bd(0x1bf)]),_0x25ac72=_0x423a64[_0xc2f5bd(0x20f)](importFileFromPWCore,_0x46a70f);return _0x25ac72?_0x25ac72[_0xc2f5bd(0x1ea)]:null;}catch(_0x433371){return logger['debug'](_0xc2f5bd(0x1e9)+util[_0xc2f5bd(0x1b5)](_0x433371)),null;}},getPlaywrightModulePath=()=>{const _0x27bd0c=a122_0x482a42,_0x4b4492={};_0x4b4492[_0x27bd0c(0x1b7)]=_0x27bd0c(0x1c6);const _0x4b8ee9=_0x4b4492;return logger['debug'](_0x4b8ee9['tHKZu']),null;},getBrowserTypePath=()=>{const _0x595858=a122_0x482a42,_0x528e56={};_0x528e56['vJATZ']=_0x595858(0x1c9);const _0x93878f=_0x528e56;return logger[_0x595858(0x1e0)](_0x93878f[_0x595858(0x1be)]),null;},checkPwandBootstrapCli=async(_0x10c1c3,_0x5b1237,_0xae5929)=>{const _0x542ab1=a122_0x482a42,_0x1ae6c0={'XYeJi':function(_0x557fa7,_0x3c616c){return _0x557fa7(_0x3c616c);},'ucZmL':_0x542ab1(0x1c7)};if(_0x10c1c3){const _0x1eb656=constants[_0x542ab1(0x201)][_0x542ab1(0x1af)];logger[_0x542ab1(0x1e0)]('Detected\x20Playwright\x20version\x20'+_0x10c1c3+'\x20for\x20'+_0x5b1237+'\x20flow'),CLIUtils[_0x542ab1(0x1d2)](_0x5b1237,_0x1eb656);const {getProductMap:_0x3cb29a}=_0x1ae6c0[_0x542ab1(0x1cc)](require,_0x1ae6c0[_0x542ab1(0x1b3)]);process[_0x542ab1(0x1aa)]['BROWSERSTACK_PRODUCT_MAP']=JSON['stringify'](_0x1ae6c0[_0x542ab1(0x1cc)](_0x3cb29a,_0xae5929['config'])),BrowserstackCLI[_0x542ab1(0x1ae)]()[_0x542ab1(0x1f1)](_0xae5929[_0x542ab1(0x1fd)],_0xae5929[_0x542ab1(0x1da)]),await BrowserstackCLI[_0x542ab1(0x1ae)]()[_0x542ab1(0x1b6)]();}},a122_0x458bd5={};function a122_0x3018(_0x21a1fc,_0x494daa){const _0x336d7b=a122_0x336d();return a122_0x3018=function(_0x3018a0,_0x2b0492){_0x3018a0=_0x3018a0-0x1a7;let _0x490cff=_0x336d7b[_0x3018a0];return _0x490cff;},a122_0x3018(_0x21a1fc,_0x494daa);}a122_0x458bd5['convertW3CToJsonWire']=convertW3CToJsonWire,a122_0x458bd5[a122_0x482a42(0x1bb)]=getModifiedConfigFromCLI,a122_0x458bd5[a122_0x482a42(0x1ee)]=generatePlaywrightUrl,a122_0x458bd5[a122_0x482a42(0x1d7)]=getBrowserFromCaps,a122_0x458bd5[a122_0x482a42(0x1d4)]=isPlaywrightAvailable,a122_0x458bd5[a122_0x482a42(0x1d8)]=getPlaywrightBrowserType,a122_0x458bd5[a122_0x482a42(0x1df)]=getPlaywrightModulePath,a122_0x458bd5[a122_0x482a42(0x1ec)]=getBrowserTypePath,a122_0x458bd5[a122_0x482a42(0x1e7)]=importFileFromPWCore,a122_0x458bd5[a122_0x482a42(0x216)]=checkPwandBootstrapCli,module['exports']=a122_0x458bd5;
@@ -1 +1 @@
1
- const a122_0x2aa86b=a122_0xb12f;(function(_0x55c804,_0x25088d){const _0x4ec411=a122_0xb12f,_0xabeae2=_0x55c804();while(!![]){try{const _0x51e69c=parseInt(_0x4ec411(0x72))/0x1*(-parseInt(_0x4ec411(0x80))/0x2)+parseInt(_0x4ec411(0x6b))/0x3+parseInt(_0x4ec411(0x88))/0x4*(-parseInt(_0x4ec411(0x7b))/0x5)+-parseInt(_0x4ec411(0x6f))/0x6+parseInt(_0x4ec411(0x7a))/0x7+-parseInt(_0x4ec411(0x79))/0x8*(parseInt(_0x4ec411(0x85))/0x9)+parseInt(_0x4ec411(0x6e))/0xa*(parseInt(_0x4ec411(0x87))/0xb);if(_0x51e69c===_0x25088d)break;else _0xabeae2['push'](_0xabeae2['shift']());}catch(_0x28f6f9){_0xabeae2['push'](_0xabeae2['shift']());}}}(a122_0x1f30,0xd194d));function a122_0xb12f(_0x481144,_0x1324ea){const _0x1f30d6=a122_0x1f30();return a122_0xb12f=function(_0xb12f12,_0x35fe58){_0xb12f12=_0xb12f12-0x68;let _0x2dc3b0=_0x1f30d6[_0xb12f12];return _0x2dc3b0;},a122_0xb12f(_0x481144,_0x1324ea);}const worker=require(a122_0x2aa86b(0x7c)),{fileLogger}=require(a122_0x2aa86b(0x69)),{consoleHolder}=require(a122_0x2aa86b(0x7e)),globals=require(a122_0x2aa86b(0x86)),constants=require('../bin/utils/constants');exports[a122_0x2aa86b(0x7f)]=()=>{const _0x8307c3=a122_0x2aa86b;return process[_0x8307c3(0x6a)]+'-'+worker['threadId'];},exports[a122_0x2aa86b(0x73)]=()=>{const _0xf1618f=a122_0x2aa86b,_0x1d2fd2={};_0x1d2fd2['KSPKR']=_0xf1618f(0x76);const _0x35e0d1=_0x1d2fd2;return globals[_0xf1618f(0x84)](_0x35e0d1[_0xf1618f(0x75)]);},exports[a122_0x2aa86b(0x7d)]=(_0x3837f9=0x64)=>new Promise(_0x1489e6=>setTimeout(_0x1489e6,_0x3837f9)),exports[a122_0x2aa86b(0x70)]=_0x4b62d6=>{const _0x102a68=a122_0x2aa86b,_0x435496={};_0x435496['cUqLy']=function(_0x3d26f6,_0x19ea2f){return _0x3d26f6===_0x19ea2f;},_0x435496['NLaWM']=_0x102a68(0x6d),_0x435496['PcYSz']=function(_0x380f79,_0x2021e2){return _0x380f79===_0x2021e2;};const _0x4259f1=_0x435496;fileLogger[_0x102a68(0x70)]('['+new Date()[_0x102a68(0x68)]()+_0x102a68(0x77)+constants[_0x102a68(0x83)]+'\x20]\x20'+_0x4b62d6),(_0x4259f1['cUqLy'](process[_0x102a68(0x71)][_0x102a68(0x78)],_0x4259f1['NLaWM'])||_0x4259f1[_0x102a68(0x74)](process[_0x102a68(0x71)][_0x102a68(0x78)],'1')||_0x4259f1[_0x102a68(0x74)](process[_0x102a68(0x71)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x4259f1[_0x102a68(0x6c)])||_0x4259f1[_0x102a68(0x74)](process[_0x102a68(0x71)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x102a68(0x82)]('\x0a['+new Date()['toISOString']()+_0x102a68(0x77)+constants[_0x102a68(0x83)]+_0x102a68(0x81)+_0x4b62d6+'\x0a');};function a122_0x1f30(){const _0x16ef84=['11114236UUBkGg','10mYfrIb','worker_threads','sleep','./test-observability/constants','getProcessId','52VwPwEp','\x20]\x20','log','TEST_REPORTING_ANALYTICS','getGlobal','9wboVag','./globals','2953918CRjAKt','992356hkhjxJ','toISOString','./logger','pid','1065408agauZJ','NLaWM','true','50wIvJpT','2194560TWwdkY','debug','env','2988nNtFOL','getTestName','PcYSz','KSPKR','browserstackTestName','][\x20','BROWSERSTACK_TEST_REPORTING_DEBUG','11900024oaSlQb'];a122_0x1f30=function(){return _0x16ef84;};return a122_0x1f30();}
1
+ const a123_0x559aa7=a123_0x4be1;function a123_0x259b(){const _0x60ac9b=['true','10FfSiQp','63513CGqjrA','20rjdGNp','963344AMOCEj','getGlobal','4334912UoPJBs','257615QTHjYk','cqDZy','log','toISOString','BROWSERSTACK_OBSERVABILITY_DEBUG','TEST_REPORTING_ANALYTICS','9eeHtpA','env','30aAWZMZ','MTpet','215228qJqLWy','CRsrb','getTestName','][\x20','UfaKw','pid','./logger','sleep','./globals','debug','../bin/utils/constants','BROWSERSTACK_TEST_REPORTING_DEBUG','threadId','worker_threads','240uIKwYl','396qNwlql','NdtXv','1992254gqQUVu','\x20]\x20','3339DaVbQo'];a123_0x259b=function(){return _0x60ac9b;};return a123_0x259b();}(function(_0x1a32e4,_0x49ca27){const _0x51b709=a123_0x4be1,_0x162afa=_0x1a32e4();while(!![]){try{const _0x565093=parseInt(_0x51b709(0x10c))/0x1+parseInt(_0x51b709(0x114))/0x2*(parseInt(_0x51b709(0x12c))/0x3)+parseInt(_0x51b709(0x12e))/0x4*(-parseInt(_0x51b709(0x12b))/0x5)+parseInt(_0x51b709(0x125))/0x6*(parseInt(_0x51b709(0x129))/0x7)+-parseInt(_0x51b709(0x10b))/0x8*(parseInt(_0x51b709(0x112))/0x9)+-parseInt(_0x51b709(0x12d))/0xa*(-parseInt(_0x51b709(0x127))/0xb)+parseInt(_0x51b709(0x124))/0xc*(parseInt(_0x51b709(0x116))/0xd);if(_0x565093===_0x49ca27)break;else _0x162afa['push'](_0x162afa['shift']());}catch(_0x38389b){_0x162afa['push'](_0x162afa['shift']());}}}(a123_0x259b,0x437fa));function a123_0x4be1(_0x1d19e9,_0x574c0f){const _0x259b80=a123_0x259b();return a123_0x4be1=function(_0x4be1ac,_0x4330f5){_0x4be1ac=_0x4be1ac-0x10b;let _0x195494=_0x259b80[_0x4be1ac];return _0x195494;},a123_0x4be1(_0x1d19e9,_0x574c0f);}const worker=require(a123_0x559aa7(0x123)),{fileLogger}=require(a123_0x559aa7(0x11c)),{consoleHolder}=require('./test-observability/constants'),globals=require(a123_0x559aa7(0x11e)),constants=require(a123_0x559aa7(0x120));exports['getProcessId']=()=>{const _0x54867f=a123_0x559aa7;return process[_0x54867f(0x11b)]+'-'+worker[_0x54867f(0x122)];},exports[a123_0x559aa7(0x118)]=()=>{const _0x562606=a123_0x559aa7,_0x4e0044={};_0x4e0044[_0x562606(0x117)]='browserstackTestName';const _0x4052be=_0x4e0044;return globals[_0x562606(0x12f)](_0x4052be[_0x562606(0x117)]);},exports[a123_0x559aa7(0x11d)]=(_0xdd84d7=0x64)=>new Promise(_0xcc0fc3=>setTimeout(_0xcc0fc3,_0xdd84d7)),exports[a123_0x559aa7(0x11f)]=_0x5ae615=>{const _0x19eb34=a123_0x559aa7,_0x14ac69={};_0x14ac69[_0x19eb34(0x10d)]=function(_0x5a87a0,_0x59722a){return _0x5a87a0===_0x59722a;},_0x14ac69[_0x19eb34(0x115)]=_0x19eb34(0x12a),_0x14ac69[_0x19eb34(0x126)]=function(_0xc53aa5,_0x72793d){return _0xc53aa5===_0x72793d;},_0x14ac69[_0x19eb34(0x11a)]=function(_0x129b7b,_0x11283b){return _0x129b7b===_0x11283b;};const _0x584625=_0x14ac69;fileLogger[_0x19eb34(0x11f)]('['+new Date()[_0x19eb34(0x10f)]()+_0x19eb34(0x119)+constants[_0x19eb34(0x111)]+_0x19eb34(0x128)+_0x5ae615),(_0x584625['cqDZy'](process[_0x19eb34(0x113)][_0x19eb34(0x121)],_0x584625[_0x19eb34(0x115)])||_0x584625[_0x19eb34(0x126)](process[_0x19eb34(0x113)][_0x19eb34(0x121)],'1')||_0x584625['UfaKw'](process[_0x19eb34(0x113)][_0x19eb34(0x110)],_0x584625['MTpet'])||_0x584625['UfaKw'](process[_0x19eb34(0x113)][_0x19eb34(0x110)],'1'))&&consoleHolder[_0x19eb34(0x10e)]('\x0a['+new Date()[_0x19eb34(0x10f)]()+_0x19eb34(0x119)+constants[_0x19eb34(0x111)]+_0x19eb34(0x128)+_0x5ae615+'\x0a');};
@@ -1 +1 @@
1
- const a123_0x5faa9e=a123_0x1e3b;(function(_0x8f20e8,_0x4d2660){const _0x2476b2=a123_0x1e3b,_0x4fb822=_0x8f20e8();while(!![]){try{const _0xac190d=-parseInt(_0x2476b2(0x9f))/0x1*(-parseInt(_0x2476b2(0xa1))/0x2)+parseInt(_0x2476b2(0x87))/0x3+-parseInt(_0x2476b2(0xa3))/0x4+-parseInt(_0x2476b2(0x95))/0x5*(-parseInt(_0x2476b2(0x8f))/0x6)+-parseInt(_0x2476b2(0x8b))/0x7*(-parseInt(_0x2476b2(0xa5))/0x8)+-parseInt(_0x2476b2(0xaa))/0x9*(-parseInt(_0x2476b2(0x97))/0xa)+-parseInt(_0x2476b2(0x9e))/0xb;if(_0xac190d===_0x4d2660)break;else _0x4fb822['push'](_0x4fb822['shift']());}catch(_0x31c83a){_0x4fb822['push'](_0x4fb822['shift']());}}}(a123_0x908b,0xd929c));const http=require(a123_0x5faa9e(0x92)),https=require('https'),monkeypatch=require('monkeypatch');function a123_0x908b(){const _0x2407a9=['sblsG','socket','39209885EpWHdY','3cPWGXR','method','299036UKJFVB','hkiEQ','4824924SKjLsE','removeListener','9136CymVBP','headers','PRXxP','hostname','restore','63ECGcSn','buhXu','pathname','unpatch','end','jDDrI','kRWOS','QIFrh','request','statusCode','assign','5037993pvOjgW','path','status_code','zBoHv','7553fKESin','forEach','url','JYusq','1708710IjKqUi','VDSjm','prototype','http','now','call','15fsvMwf','duration_ms','2065440NVkKrP','response','host','apply','object'];a123_0x908b=function(){return _0x2407a9;};return a123_0x908b();}function spy(_0x1cc192){const _0xc9e6c9=a123_0x5faa9e,_0x5a8b44={'VDSjm':function(_0x2890f0,_0x2365f7){return _0x2890f0 instanceof _0x2365f7;},'QIFrh':function(_0x3b4d08,_0x3d618f){return _0x3b4d08===_0x3d618f;},'vZDwS':_0xc9e6c9(0x9b),'txkFO':function(_0x8c56f1,_0x1e1c10,_0x422a42){return _0x8c56f1(_0x1e1c10,_0x422a42);},'PRXxP':function(_0x1e79f3,_0x1f36d8){return _0x1e79f3-_0x1f36d8;},'NGkNJ':function(_0xa702ee,_0x4fd268,_0x5b4119){return _0xa702ee(_0x4fd268,_0x5b4119);},'kRWOS':'error','JYusq':function(_0x3015a7,..._0x5e19a0){return _0x3015a7(..._0x5e19a0);},'gxoTv':_0xc9e6c9(0x98),'zBoHv':_0xc9e6c9(0x9d),'buhXu':function(_0x353d19,_0xee57ca,_0xa0923,_0x1b8f78){return _0x353d19(_0xee57ca,_0xa0923,_0x1b8f78);},'jDDrI':_0xc9e6c9(0x80),'PtijM':function(_0x428e51,_0x4210a3,_0x57df69,_0x2cbba6){return _0x428e51(_0x4210a3,_0x57df69,_0x2cbba6);},'sblsG':_0xc9e6c9(0x84),'SotjN':function(_0x338c3f,_0xe8491e,_0xf9e956,_0x368c4a){return _0x338c3f(_0xe8491e,_0xf9e956,_0x368c4a);}},_0x330c17=function(){const _0x4f7e80=_0xc9e6c9,_0x1c7517={'hkiEQ':function(_0xc30fc6,..._0x44ea14){const _0x1477e0=a123_0x1e3b;return _0x5a8b44[_0x1477e0(0x8e)](_0xc30fc6,..._0x44ea14);}},_0x3b4fe7=arguments[0x0],_0x3b3756=Array[_0x4f7e80(0x91)]['slice'][_0x4f7e80(0x94)](arguments,0x1),_0x5598c=_0x3b4fe7[_0x4f7e80(0x9a)](this,_0x3b3756);let _0x326000=Date[_0x4f7e80(0x93)](),_0xbb3dd2;const _0x3307a5={};_0x3b3756[_0x4f7e80(0x8c)](_0x55ba51=>{const _0x972cc0=_0x4f7e80;if(_0x5a8b44[_0x972cc0(0x90)](_0x55ba51,URL)){const _0x2723e1={};_0x2723e1[_0x972cc0(0x8d)]=_0x55ba51,Object[_0x972cc0(0x86)](_0x3307a5,_0x2723e1);}else _0x5a8b44[_0x972cc0(0x83)](typeof _0x55ba51,_0x5a8b44['vZDwS'])&&Object[_0x972cc0(0x86)](_0x3307a5,_0x55ba51);});const _0x2f6a78=_0x23f4b7=>{const _0x51d340=_0x4f7e80,_0x42a816={};_0x42a816['host']=_0x3307a5[_0x51d340(0x99)]||_0x3307a5['hostname']||_0x3307a5['url']&&(_0x3307a5[_0x51d340(0x8d)][_0x51d340(0x99)]||_0x3307a5[_0x51d340(0x8d)][_0x51d340(0xa8)]),_0x42a816[_0x51d340(0x88)]=_0x3307a5[_0x51d340(0x88)]||_0x3307a5[_0x51d340(0x8d)]&&_0x3307a5[_0x51d340(0x8d)][_0x51d340(0xac)],_0x42a816['method']=_0x3307a5[_0x51d340(0xa0)],_0x42a816['headers']=_0x3307a5['headers'],_0x5a8b44['txkFO'](_0x1cc192,_0x23f4b7,_0x42a816);};return _0x5598c['once'](_0x5a8b44['gxoTv'],_0x1a924b=>{const _0x49de32=_0x4f7e80,_0x1e1a68=_0x5a8b44[_0x49de32(0xa7)](Date[_0x49de32(0x93)](),_0x326000),_0x13e304={};_0x13e304[_0x49de32(0xa8)]=_0x3307a5[_0x49de32(0x99)]||_0x3307a5['hostname']||_0x3307a5[_0x49de32(0x8d)]&&(_0x3307a5['url'][_0x49de32(0x99)]||_0x3307a5[_0x49de32(0x8d)][_0x49de32(0xa8)]),_0x13e304[_0x49de32(0x88)]=_0x3307a5[_0x49de32(0x88)]||_0x3307a5['url']&&_0x3307a5['url'][_0x49de32(0xac)],_0x13e304[_0x49de32(0xa0)]=_0x3307a5[_0x49de32(0xa0)],_0x13e304[_0x49de32(0xa6)]=_0x3307a5['headers'],_0x13e304[_0x49de32(0x89)]=_0x1a924b[_0x49de32(0x85)],_0x13e304[_0x49de32(0x96)]=_0x1e1a68,_0x5a8b44['NGkNJ'](_0x1cc192,null,_0x13e304),_0xbb3dd2[_0x49de32(0xa4)](_0x5a8b44[_0x49de32(0x82)],_0x2f6a78);}),_0x5598c['on'](_0x5a8b44[_0x4f7e80(0x8a)],_0x49a387=>{const _0x51811f=_0x4f7e80;_0xbb3dd2=_0x49a387,_0x49a387['once'](_0x5a8b44[_0x51811f(0x82)],_0x2f6a78);}),_0x5a8b44[_0x4f7e80(0xab)](monkeypatch,_0x5598c,_0x5a8b44[_0x4f7e80(0x81)],(_0x2ed88d,..._0x4f685d)=>{const _0x5ad636=_0x4f7e80;_0x326000=Date[_0x5ad636(0x93)](),_0x1c7517[_0x5ad636(0xa2)](_0x2ed88d,..._0x4f685d);}),_0x5598c;};_0x5a8b44['PtijM'](monkeypatch,http,_0x5a8b44[_0xc9e6c9(0x9c)],_0x330c17),_0x5a8b44['SotjN'](monkeypatch,https,_0x5a8b44[_0xc9e6c9(0x9c)],_0x330c17);}function restore(){const _0x532f31=a123_0x5faa9e;http[_0x532f31(0x84)][_0x532f31(0x7f)](),https['request'][_0x532f31(0x7f)]();}const a123_0x11d986={};function a123_0x1e3b(_0x46be1e,_0x45db27){const _0x908be5=a123_0x908b();return a123_0x1e3b=function(_0x1e3b29,_0x1b74b2){_0x1e3b29=_0x1e3b29-0x7f;let _0x1a45de=_0x908be5[_0x1e3b29];return _0x1a45de;},a123_0x1e3b(_0x46be1e,_0x45db27);}a123_0x11d986['spy']=spy,a123_0x11d986[a123_0x5faa9e(0xa9)]=restore,module['exports']=a123_0x11d986;
1
+ const a124_0x24a79b=a124_0x5995;(function(_0x2f2c5b,_0x3cd165){const _0x26b582=a124_0x5995,_0x239495=_0x2f2c5b();while(!![]){try{const _0x5f4788=parseInt(_0x26b582(0x8b))/0x1+-parseInt(_0x26b582(0x9f))/0x2*(-parseInt(_0x26b582(0x89))/0x3)+parseInt(_0x26b582(0x82))/0x4*(parseInt(_0x26b582(0x7c))/0x5)+parseInt(_0x26b582(0xa5))/0x6*(-parseInt(_0x26b582(0xb2))/0x7)+parseInt(_0x26b582(0x8d))/0x8*(parseInt(_0x26b582(0x81))/0x9)+parseInt(_0x26b582(0xb1))/0xa+-parseInt(_0x26b582(0x8c))/0xb*(parseInt(_0x26b582(0x90))/0xc);if(_0x5f4788===_0x3cd165)break;else _0x239495['push'](_0x239495['shift']());}catch(_0x153659){_0x239495['push'](_0x239495['shift']());}}}(a124_0x323c,0xbdb86));function a124_0x5995(_0xdc7b08,_0x3fca21){const _0x323cdd=a124_0x323c();return a124_0x5995=function(_0x59950c,_0x27ebad){_0x59950c=_0x59950c-0x7a;let _0x3c3c1b=_0x323cdd[_0x59950c];return _0x3c3c1b;},a124_0x5995(_0xdc7b08,_0x3fca21);}const http=require(a124_0x24a79b(0x8f)),https=require(a124_0x24a79b(0x7d)),monkeypatch=require(a124_0x24a79b(0x84));function spy(_0x1e033d){const _0x19c5c1=a124_0x24a79b,_0x237ef3={'wgKVI':function(_0x40645f,_0x59036e){return _0x40645f instanceof _0x59036e;},'LHNLm':function(_0x652606,_0x573439){return _0x652606===_0x573439;},'OuwIM':_0x19c5c1(0xa3),'RcwxO':function(_0x34be14,_0x2dcd57,_0x42cbef){return _0x34be14(_0x2dcd57,_0x42cbef);},'yLRnV':function(_0x3463c0,_0x12202a){return _0x3463c0-_0x12202a;},'uoqsZ':function(_0x201aa8,_0x4081d1,_0x487cfd){return _0x201aa8(_0x4081d1,_0x487cfd);},'JsWEA':_0x19c5c1(0x7e),'TfLJt':function(_0x590767,..._0x41311f){return _0x590767(..._0x41311f);},'WBqDK':'response','GCisr':_0x19c5c1(0x7f),'qCDmf':function(_0x1289e1,_0x234eea,_0x38b7c0,_0x38d7e4){return _0x1289e1(_0x234eea,_0x38b7c0,_0x38d7e4);},'KJtdg':_0x19c5c1(0xa4),'fSKnD':'request','ldORZ':function(_0x164286,_0x5058f1,_0x3b563b,_0x5bed90){return _0x164286(_0x5058f1,_0x3b563b,_0x5bed90);}},_0x5ca2c7=function(){const _0x1070b1=_0x19c5c1,_0x3dd2d1={'hVomN':function(_0x27bd6a,_0x38f3d4){return _0x237ef3['wgKVI'](_0x27bd6a,_0x38f3d4);},'CJSsg':function(_0x34092b,_0x32b8fb){const _0x4b1d3f=a124_0x5995;return _0x237ef3[_0x4b1d3f(0x93)](_0x34092b,_0x32b8fb);},'JsQyY':_0x237ef3[_0x1070b1(0xa1)],'WAbqr':function(_0x44b63e,_0x2cf653,_0xc35f20){return _0x237ef3['RcwxO'](_0x44b63e,_0x2cf653,_0xc35f20);},'GWoCl':function(_0xf54ee4,_0x38997f){const _0x34ed85=_0x1070b1;return _0x237ef3[_0x34ed85(0x9d)](_0xf54ee4,_0x38997f);},'rSBYh':function(_0x3b54f7,_0x4f1714,_0x562ad8){const _0x3c9fcd=_0x1070b1;return _0x237ef3[_0x3c9fcd(0x95)](_0x3b54f7,_0x4f1714,_0x562ad8);},'PnFLJ':_0x237ef3[_0x1070b1(0xb0)],'ZdyRg':function(_0x3bc72e,..._0x9ab098){const _0x203046=_0x1070b1;return _0x237ef3[_0x203046(0x8a)](_0x3bc72e,..._0x9ab098);}},_0x541cd5=arguments[0x0],_0x2a7714=Array[_0x1070b1(0x9a)][_0x1070b1(0x83)][_0x1070b1(0x9c)](arguments,0x1),_0x14ec96=_0x541cd5[_0x1070b1(0x87)](this,_0x2a7714);let _0x1f6764=Date[_0x1070b1(0xab)](),_0x57993f;const _0x36e40b={};_0x2a7714[_0x1070b1(0xa8)](_0x1599d1=>{const _0x489990=_0x1070b1;if(_0x3dd2d1[_0x489990(0xa6)](_0x1599d1,URL)){const _0x35e33c={};_0x35e33c['url']=_0x1599d1,Object[_0x489990(0xa2)](_0x36e40b,_0x35e33c);}else _0x3dd2d1['CJSsg'](typeof _0x1599d1,_0x3dd2d1['JsQyY'])&&Object[_0x489990(0xa2)](_0x36e40b,_0x1599d1);});const _0x44cf99=_0x5b0327=>{const _0x5d78d0=_0x1070b1,_0x22461e={};_0x22461e['host']=_0x36e40b[_0x5d78d0(0xb3)]||_0x36e40b[_0x5d78d0(0xa7)]||_0x36e40b['url']&&(_0x36e40b['url'][_0x5d78d0(0xb3)]||_0x36e40b[_0x5d78d0(0x94)]['hostname']),_0x22461e[_0x5d78d0(0xaa)]=_0x36e40b[_0x5d78d0(0xaa)]||_0x36e40b[_0x5d78d0(0x94)]&&_0x36e40b[_0x5d78d0(0x94)][_0x5d78d0(0x92)],_0x22461e[_0x5d78d0(0x9b)]=_0x36e40b[_0x5d78d0(0x9b)],_0x22461e['headers']=_0x36e40b['headers'],_0x3dd2d1[_0x5d78d0(0xae)](_0x1e033d,_0x5b0327,_0x22461e);};return _0x14ec96[_0x1070b1(0x99)](_0x237ef3['WBqDK'],_0x47c472=>{const _0x4374e0=_0x1070b1,_0x39bbe3=_0x3dd2d1[_0x4374e0(0x98)](Date[_0x4374e0(0xab)](),_0x1f6764),_0x2c3a05={};_0x2c3a05[_0x4374e0(0xa7)]=_0x36e40b['host']||_0x36e40b[_0x4374e0(0xa7)]||_0x36e40b['url']&&(_0x36e40b[_0x4374e0(0x94)][_0x4374e0(0xb3)]||_0x36e40b['url'][_0x4374e0(0xa7)]),_0x2c3a05[_0x4374e0(0xaa)]=_0x36e40b[_0x4374e0(0xaa)]||_0x36e40b[_0x4374e0(0x94)]&&_0x36e40b[_0x4374e0(0x94)][_0x4374e0(0x92)],_0x2c3a05[_0x4374e0(0x9b)]=_0x36e40b[_0x4374e0(0x9b)],_0x2c3a05['headers']=_0x36e40b[_0x4374e0(0x9e)],_0x2c3a05[_0x4374e0(0x85)]=_0x47c472['statusCode'],_0x2c3a05[_0x4374e0(0x91)]=_0x39bbe3,_0x3dd2d1[_0x4374e0(0xa0)](_0x1e033d,null,_0x2c3a05),_0x57993f[_0x4374e0(0x97)](_0x3dd2d1['PnFLJ'],_0x44cf99);}),_0x14ec96['on'](_0x237ef3['GCisr'],_0x57267d=>{const _0x1e75a9=_0x1070b1;_0x57993f=_0x57267d,_0x57267d[_0x1e75a9(0x99)](_0x3dd2d1[_0x1e75a9(0x96)],_0x44cf99);}),_0x237ef3[_0x1070b1(0xac)](monkeypatch,_0x14ec96,_0x237ef3[_0x1070b1(0x7b)],(_0x2ded17,..._0x55713c)=>{const _0x32572f=_0x1070b1;_0x1f6764=Date[_0x32572f(0xab)](),_0x3dd2d1[_0x32572f(0xa9)](_0x2ded17,..._0x55713c);}),_0x14ec96;};_0x237ef3[_0x19c5c1(0xac)](monkeypatch,http,_0x237ef3[_0x19c5c1(0x7a)],_0x5ca2c7),_0x237ef3[_0x19c5c1(0x80)](monkeypatch,https,_0x237ef3[_0x19c5c1(0x7a)],_0x5ca2c7);}function restore(){const _0x30e7b0=a124_0x24a79b;http['request']['unpatch'](),https[_0x30e7b0(0xaf)][_0x30e7b0(0x8e)]();}function a124_0x323c(){const _0x5dcdb6=['unpatch','http','19092OPIEhw','duration_ms','pathname','LHNLm','url','uoqsZ','PnFLJ','removeListener','GWoCl','once','prototype','method','call','yLRnV','headers','2761254yWLDzj','rSBYh','OuwIM','assign','object','end','273006CFEApE','hVomN','hostname','forEach','ZdyRg','path','now','qCDmf','exports','WAbqr','request','JsWEA','13918300uhwDlt','77PniDVd','host','fSKnD','KJtdg','1028765BwHmhh','https','error','socket','ldORZ','27UvtbWY','20UyqLSc','slice','monkeypatch','status_code','spy','apply','restore','3MjsUCU','TfLJt','397984MHQchO','20361zSCoDi','62240ljDgKX'];a124_0x323c=function(){return _0x5dcdb6;};return a124_0x323c();}const a124_0x522805={};a124_0x522805[a124_0x24a79b(0x86)]=spy,a124_0x522805[a124_0x24a79b(0x88)]=restore,module[a124_0x24a79b(0xad)]=a124_0x522805;
@@ -1 +1 @@
1
- const a124_0x3e6ae7=a124_0x4510;function a124_0x4510(_0x34c523,_0x16f5a9){const _0x402179=a124_0x4021();return a124_0x4510=function(_0x4510d1,_0x5d22d7){_0x4510d1=_0x4510d1-0x84;let _0xd091bc=_0x402179[_0x4510d1];return _0xd091bc;},a124_0x4510(_0x34c523,_0x16f5a9);}function a124_0x4021(){const _0x33c00d=['eksbz','11024MORTJQ','https:','1320712dvIciM','3JTuXJd','668351XkeUiY','agent','706790GnzlfI','3514NaWJPD','LnYZV','xKEPV','hasOwnProperty','measureWrapper','2611818YQENat','KEEP_ALIVE','./performance/constants','ayRTm','Agent','keepAliveMsecs','keepAlive','pPKcW','prototype','request','http','call','globalAgent','1031192IvevaK','2648298tdWjlR','DnIVv'];a124_0x4021=function(){return _0x33c00d;};return a124_0x4021();}(function(_0x104f04,_0x56d510){const _0x569477=a124_0x4510,_0x526b57=_0x104f04();while(!![]){try{const _0x51e597=parseInt(_0x569477(0x9c))/0x1+parseInt(_0x569477(0x9a))/0x2*(parseInt(_0x569477(0x9b))/0x3)+-parseInt(_0x569477(0x94))/0x4+-parseInt(_0x569477(0x9e))/0x5+parseInt(_0x569477(0x95))/0x6+-parseInt(_0x569477(0x9f))/0x7*(parseInt(_0x569477(0x98))/0x8)+-parseInt(_0x569477(0x87))/0x9;if(_0x51e597===_0x56d510)break;else _0x526b57['push'](_0x526b57['shift']());}catch(_0x8c0ed8){_0x526b57['push'](_0x526b57['shift']());}}}(a124_0x4021,0x5ef70));const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a124_0x3e6ae7(0x89));module['exports']=PerformanceTester[a124_0x3e6ae7(0x86)](PerformanceEvents[a124_0x3e6ae7(0x88)],function(){const _0x40651c=a124_0x3e6ae7,_0x1346e9={'mYGCo':function(_0x39a328,_0xcf965){return _0x39a328===_0xcf965;},'rJOMG':_0x40651c(0x99),'pPKcW':_0x40651c(0x9d),'VXtor':function(_0x2534bb,_0x3ef83f,_0xf13c87){return _0x2534bb(_0x3ef83f,_0xf13c87);},'DnIVv':function(_0x23eb8a,_0x90c857,_0x3d03e5){return _0x23eb8a(_0x90c857,_0x3d03e5);},'ayRTm':function(_0x488188,_0x164bdb){return _0x488188(_0x164bdb);},'LnYZV':_0x40651c(0x91),'vbgrq':function(_0x4c2bdf,_0x97c30c){return _0x4c2bdf(_0x97c30c);},'eksbz':'https','gBPuL':function(_0x46e9ac,_0x45c6a3){return _0x46e9ac*_0x45c6a3;},'xKEPV':'keepAlive'},_0x553575=_0x1346e9[_0x40651c(0x8a)](require,_0x1346e9[_0x40651c(0xa0)]),_0x370fa4=_0x1346e9['vbgrq'](require,_0x1346e9[_0x40651c(0x97)]),_0x40c50b=_0x1346e9['gBPuL'](0x1e,0x3e8);if(_0x553575[_0x40651c(0x93)]&&Object[_0x40651c(0x8f)][_0x40651c(0x85)][_0x40651c(0x92)](_0x553575[_0x40651c(0x93)],_0x1346e9[_0x40651c(0x84)]))_0x553575[_0x40651c(0x93)][_0x40651c(0x8d)]=!![],_0x370fa4[_0x40651c(0x93)][_0x40651c(0x8d)]=!![],_0x553575[_0x40651c(0x93)][_0x40651c(0x8c)]=_0x40c50b,_0x370fa4['globalAgent'][_0x40651c(0x8c)]=_0x40c50b;else{const _0x3909b9={};_0x3909b9[_0x40651c(0x8d)]=!![],_0x3909b9['keepAliveMsecs']=_0x40c50b;const _0x1618d5=new _0x553575[(_0x40651c(0x8b))](_0x3909b9),_0x10d794={};_0x10d794['keepAlive']=!![],_0x10d794[_0x40651c(0x8c)]=_0x40c50b;const _0x5532b1=new _0x370fa4[(_0x40651c(0x8b))](_0x10d794),_0xb5bbcd=_0x553575[_0x40651c(0x90)],_0x5cebfe=_0x370fa4[_0x40651c(0x90)];_0x553575['request']=function(_0x253eb3,_0x2d59b3){const _0xf7346d=_0x40651c;if(_0x1346e9['mYGCo'](_0x253eb3['protocol'],_0x1346e9['rJOMG']))return _0x253eb3[_0x1346e9[_0xf7346d(0x8e)]]=_0x5532b1,_0x1346e9['VXtor'](_0x5cebfe,_0x253eb3,_0x2d59b3);return _0x253eb3[_0x1346e9[_0xf7346d(0x8e)]]=_0x1618d5,_0x1346e9[_0xf7346d(0x96)](_0xb5bbcd,_0x253eb3,_0x2d59b3);};}});
1
+ const a125_0xa24740=a125_0x3c83;function a125_0x3c83(_0x542394,_0x29629f){const _0x228f53=a125_0x228f();return a125_0x3c83=function(_0x3c83bd,_0x3f67f6){_0x3c83bd=_0x3c83bd-0x68;let _0x124dea=_0x228f53[_0x3c83bd];return _0x124dea;},a125_0x3c83(_0x542394,_0x29629f);}(function(_0x54322e,_0x1db832){const _0x1097a3=a125_0x3c83,_0x1c3066=_0x54322e();while(!![]){try{const _0x5db466=parseInt(_0x1097a3(0x7b))/0x1*(-parseInt(_0x1097a3(0x82))/0x2)+parseInt(_0x1097a3(0x75))/0x3*(parseInt(_0x1097a3(0x89))/0x4)+parseInt(_0x1097a3(0x8a))/0x5*(-parseInt(_0x1097a3(0x77))/0x6)+parseInt(_0x1097a3(0x78))/0x7*(parseInt(_0x1097a3(0x73))/0x8)+-parseInt(_0x1097a3(0x72))/0x9*(parseInt(_0x1097a3(0x6b))/0xa)+parseInt(_0x1097a3(0x71))/0xb+parseInt(_0x1097a3(0x83))/0xc;if(_0x5db466===_0x1db832)break;else _0x1c3066['push'](_0x1c3066['shift']());}catch(_0x1812c5){_0x1c3066['push'](_0x1c3066['shift']());}}}(a125_0x228f,0xd95ed));function a125_0x228f(){const _0xb320fb=['./performance/constants','72CKRPvQ','747397FBzsMB','globalAgent','cmoMS','2936koElyt','./performance/performance-tester','qTiCp','VIjSn','hasOwnProperty','XXJbc','dEeUK','26oHzQej','23189268eyLnfM','https:','dbqRS','KEEP_ALIVE','request','keepAliveMsecs','4FRzRUg','593850PBGFVV','NFrZk','GTZFf','Agent','10rXjOjp','keepAlive','call','oYPVl','NbzGM','protocol','6571092zsFlgF','12164022EPdqrd','8ZBElAG','agent','3206199qdZShu'];a125_0x228f=function(){return _0xb320fb;};return a125_0x228f();}const PerformanceTester=require(a125_0xa24740(0x7c)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0xa24740(0x76));module['exports']=PerformanceTester['measureWrapper'](PerformanceEvents[a125_0xa24740(0x86)],function(){const _0x3f0430=a125_0xa24740,_0x19a98a={'NFrZk':function(_0x4c5228,_0x32b124){return _0x4c5228===_0x32b124;},'XXJbc':_0x3f0430(0x84),'cmoMS':_0x3f0430(0x74),'GTZFf':function(_0x57de8e,_0x101475,_0x1b4b83){return _0x57de8e(_0x101475,_0x1b4b83);},'dbqRS':function(_0x12dce3,_0x3b9f5b){return _0x12dce3(_0x3b9f5b);},'VIjSn':'http','oYPVl':function(_0xf16d83,_0x2f8de5){return _0xf16d83(_0x2f8de5);},'NbzGM':'https','qTiCp':function(_0x37496c,_0x488a39){return _0x37496c*_0x488a39;},'dEeUK':_0x3f0430(0x6c)},_0x4e22a3=_0x19a98a[_0x3f0430(0x85)](require,_0x19a98a[_0x3f0430(0x7e)]),_0x342a0b=_0x19a98a[_0x3f0430(0x6e)](require,_0x19a98a[_0x3f0430(0x6f)]),_0xae3caf=_0x19a98a[_0x3f0430(0x7d)](0x1e,0x3e8);if(_0x4e22a3[_0x3f0430(0x79)]&&Object['prototype'][_0x3f0430(0x7f)][_0x3f0430(0x6d)](_0x4e22a3[_0x3f0430(0x79)],_0x19a98a[_0x3f0430(0x81)]))_0x4e22a3[_0x3f0430(0x79)][_0x3f0430(0x6c)]=!![],_0x342a0b[_0x3f0430(0x79)][_0x3f0430(0x6c)]=!![],_0x4e22a3[_0x3f0430(0x79)]['keepAliveMsecs']=_0xae3caf,_0x342a0b[_0x3f0430(0x79)][_0x3f0430(0x88)]=_0xae3caf;else{const _0x54e37b={};_0x54e37b[_0x3f0430(0x6c)]=!![],_0x54e37b['keepAliveMsecs']=_0xae3caf;const _0x1ee012=new _0x4e22a3[(_0x3f0430(0x6a))](_0x54e37b),_0x192bd1={};_0x192bd1[_0x3f0430(0x6c)]=!![],_0x192bd1[_0x3f0430(0x88)]=_0xae3caf;const _0xb1ce0c=new _0x342a0b['Agent'](_0x192bd1),_0x3a9b18=_0x4e22a3[_0x3f0430(0x87)],_0x44b344=_0x342a0b['request'];_0x4e22a3[_0x3f0430(0x87)]=function(_0x2b556b,_0x3715ba){const _0xe74fb3=_0x3f0430;if(_0x19a98a[_0xe74fb3(0x68)](_0x2b556b[_0xe74fb3(0x70)],_0x19a98a[_0xe74fb3(0x80)]))return _0x2b556b[_0x19a98a[_0xe74fb3(0x7a)]]=_0xb1ce0c,_0x19a98a[_0xe74fb3(0x69)](_0x44b344,_0x2b556b,_0x3715ba);return _0x2b556b[_0x19a98a[_0xe74fb3(0x7a)]]=_0x1ee012,_0x19a98a[_0xe74fb3(0x69)](_0x3a9b18,_0x2b556b,_0x3715ba);};}});
@@ -1 +1 @@
1
- function a125_0x37f6(){const _0x56419d=['143717TMHFBY','40187472cLYzEn','jest','1744458ksPsuj','https://collector-observability.browserstack.com','API_URL','cucumber','https://upload-observability.browserstack.com','PLAYWRIGHT','2298872VDScwU','Playwright','codeceptjs','staging','.obs_test_details','../logger','toLowerCase','join','7218893BaHGdu','prod','api/v1/event','assign','20jSGHwv','pre-prod','https://upload-observability-devtestops-ssi.bsstag.com','14PAIzWP','exports','3DBcRxl','25eezywo','CODECEPT_CUCUMBER','mocha','32EujxGx','env','JEST','api/v1/batch','33572rGnjDR','path','OBSERVABILITY_UPLOAD_API_URL','api/v1/screenshots','12353724eAjVhd','CODECEPT','https://collector-observability-preprod.bsstag.com','https://collector-observability-devtestops.bsstag.com','https://upload-observability-preprod.bsstag.com','MOCHA'];a125_0x37f6=function(){return _0x56419d;};return a125_0x37f6();}const a125_0x5806ef=a125_0x3683;(function(_0xe95ba0,_0x4ec00f){const _0x184cc9=a125_0x3683,_0x59697c=_0xe95ba0();while(!![]){try{const _0x19efd8=-parseInt(_0x184cc9(0x1b8))/0x1*(-parseInt(_0x184cc9(0x1d0))/0x2)+parseInt(_0x184cc9(0x1d2))/0x3*(parseInt(_0x184cc9(0x1c1))/0x4)+parseInt(_0x184cc9(0x1d3))/0x5*(-parseInt(_0x184cc9(0x1bb))/0x6)+parseInt(_0x184cc9(0x1ae))/0x7*(parseInt(_0x184cc9(0x1aa))/0x8)+-parseInt(_0x184cc9(0x1b2))/0x9+-parseInt(_0x184cc9(0x1cd))/0xa*(parseInt(_0x184cc9(0x1c9))/0xb)+parseInt(_0x184cc9(0x1b9))/0xc;if(_0x19efd8===_0x4ec00f)break;else _0x59697c['push'](_0x59697c['shift']());}catch(_0x2dae3d){_0x59697c['push'](_0x59697c['shift']());}}}(a125_0x37f6,0xc5c10));const path=require(a125_0x5806ef(0x1af)),{logDir}=require(a125_0x5806ef(0x1c6)),a125_0x3a37fb={};a125_0x3a37fb[a125_0x5806ef(0x1c0)]=a125_0x5806ef(0x1c2),a125_0x3a37fb[a125_0x5806ef(0x1b7)]=a125_0x5806ef(0x1a9),a125_0x3a37fb[a125_0x5806ef(0x1b3)]=a125_0x5806ef(0x1c3),a125_0x3a37fb[a125_0x5806ef(0x1d4)]='codeceptjs-cucumber',a125_0x3a37fb[a125_0x5806ef(0x1ac)]=a125_0x5806ef(0x1ba),a125_0x3a37fb['CUCUMBER']=a125_0x5806ef(0x1be),module['exports']={'consoleHolder':Object[a125_0x5806ef(0x1cc)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a125_0x5806ef(0x1bc),'OBSERVABILITY_UPLOAD_API_URL':a125_0x5806ef(0x1bf),'EVENT_ENDPOINT':a125_0x5806ef(0x1cb),'BATCH_ENDPOINT':a125_0x5806ef(0x1ad),'SCREENSHOT_ENDPOINT':a125_0x5806ef(0x1b1),'UPLOAD_ATTACHMENT_ENDPOINT':'upload-attachments','DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path[a125_0x5806ef(0x1c8)](logDir,a125_0x5806ef(0x1c5)),'FRAMEWORKS':a125_0x3a37fb};function a125_0x3683(_0x8c536d,_0x31e546){const _0x37f6e4=a125_0x37f6();return a125_0x3683=function(_0x36838f,_0x3fd381){_0x36838f=_0x36838f-0x1a9;let _0x228206=_0x37f6e4[_0x36838f];return _0x228206;},a125_0x3683(_0x8c536d,_0x31e546);}const _env=(process[a125_0x5806ef(0x1ab)]['BROWSERSTACK_ENV']||a125_0x5806ef(0x1ca))[a125_0x5806ef(0x1c7)]();if(_env===a125_0x5806ef(0x1c4)||_env==='stag')module[a125_0x5806ef(0x1d1)][a125_0x5806ef(0x1bd)]=a125_0x5806ef(0x1b5),module[a125_0x5806ef(0x1d1)]['OBSERVABILITY_UPLOAD_API_URL']=a125_0x5806ef(0x1cf);else(_env==='preprod'||_env===a125_0x5806ef(0x1ce))&&(module['exports'][a125_0x5806ef(0x1bd)]=a125_0x5806ef(0x1b4),module[a125_0x5806ef(0x1d1)][a125_0x5806ef(0x1b0)]=a125_0x5806ef(0x1b6));
1
+ const a126_0x130350=a126_0x24fb;(function(_0x1185ce,_0x10a2ca){const _0x245f78=a126_0x24fb,_0x4246be=_0x1185ce();while(!![]){try{const _0x3dfac7=parseInt(_0x245f78(0x195))/0x1+-parseInt(_0x245f78(0x189))/0x2+-parseInt(_0x245f78(0x190))/0x3+-parseInt(_0x245f78(0x19a))/0x4*(-parseInt(_0x245f78(0x198))/0x5)+-parseInt(_0x245f78(0x19f))/0x6+parseInt(_0x245f78(0x186))/0x7*(parseInt(_0x245f78(0x191))/0x8)+parseInt(_0x245f78(0x19d))/0x9;if(_0x3dfac7===_0x10a2ca)break;else _0x4246be['push'](_0x4246be['shift']());}catch(_0x13f32f){_0x4246be['push'](_0x4246be['shift']());}}}(a126_0x1048,0xb2670));const path=require(a126_0x130350(0x1a0)),{logDir}=require(a126_0x130350(0x17f)),a126_0x379cb3={};a126_0x379cb3[a126_0x130350(0x180)]='Playwright',a126_0x379cb3[a126_0x130350(0x187)]=a126_0x130350(0x192),a126_0x379cb3['CODECEPT']='codeceptjs',a126_0x379cb3[a126_0x130350(0x196)]=a126_0x130350(0x188),a126_0x379cb3[a126_0x130350(0x18a)]=a126_0x130350(0x181),a126_0x379cb3['CUCUMBER']=a126_0x130350(0x19e),module[a126_0x130350(0x194)]={'consoleHolder':Object[a126_0x130350(0x185)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x130350(0x183),'OBSERVABILITY_UPLOAD_API_URL':'https://upload-observability.browserstack.com','EVENT_ENDPOINT':a126_0x130350(0x18f),'BATCH_ENDPOINT':'api/v1/batch','SCREENSHOT_ENDPOINT':a126_0x130350(0x1a1),'UPLOAD_ATTACHMENT_ENDPOINT':a126_0x130350(0x197),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path[a126_0x130350(0x18c)](logDir,a126_0x130350(0x19c)),'FRAMEWORKS':a126_0x379cb3};const _env=(process['env'][a126_0x130350(0x184)]||a126_0x130350(0x18b))[a126_0x130350(0x1a2)]();function a126_0x24fb(_0x5b9599,_0x282e27){const _0x1048be=a126_0x1048();return a126_0x24fb=function(_0x24fb2a,_0x26da4c){_0x24fb2a=_0x24fb2a-0x17f;let _0x240440=_0x1048be[_0x24fb2a];return _0x240440;},a126_0x24fb(_0x5b9599,_0x282e27);}if(_env===a126_0x130350(0x18d)||_env==='stag')module['exports'][a126_0x130350(0x18e)]=a126_0x130350(0x182),module[a126_0x130350(0x194)][a126_0x130350(0x193)]='https://upload-observability-devtestops-ssi.bsstag.com';else(_env==='preprod'||_env==='pre-prod')&&(module[a126_0x130350(0x194)][a126_0x130350(0x18e)]=a126_0x130350(0x199),module[a126_0x130350(0x194)]['OBSERVABILITY_UPLOAD_API_URL']=a126_0x130350(0x19b));function a126_0x1048(){const _0x3a3bf0=['BROWSERSTACK_ENV','assign','28UZUAXK','MOCHA','codeceptjs-cucumber','700702potKVO','JEST','prod','join','staging','API_URL','api/v1/event','3986763GShTiQ','736672hiqQjc','mocha','OBSERVABILITY_UPLOAD_API_URL','exports','1240209uRFuDc','CODECEPT_CUCUMBER','upload-attachments','6032285QnkPFy','https://collector-observability-preprod.bsstag.com','4GZHTDF','https://upload-observability-preprod.bsstag.com','.obs_test_details','5636943jRGiWj','cucumber','6187926NkuncZ','path','api/v1/screenshots','toLowerCase','../logger','PLAYWRIGHT','jest','https://collector-observability-devtestops.bsstag.com','https://collector-observability.browserstack.com'];a126_0x1048=function(){return _0x3a3bf0;};return a126_0x1048();}
@@ -1 +1 @@
1
- const a126_0x44615c=a126_0x3fd5;function a126_0x3fd5(_0x55add9,_0x47a25d){const _0x2de0e3=a126_0x2de0();return a126_0x3fd5=function(_0x3fd5e3,_0x3cb04b){_0x3fd5e3=_0x3fd5e3-0xe1;let _0x50d6eb=_0x2de0e3[_0x3fd5e3];return _0x50d6eb;},a126_0x3fd5(_0x55add9,_0x47a25d);}(function(_0x573cb0,_0x213c20){const _0x1ce1d4=a126_0x3fd5,_0x25eb0e=_0x573cb0();while(!![]){try{const _0x531790=parseInt(_0x1ce1d4(0x10f))/0x1*(parseInt(_0x1ce1d4(0x112))/0x2)+-parseInt(_0x1ce1d4(0x146))/0x3*(parseInt(_0x1ce1d4(0x150))/0x4)+-parseInt(_0x1ce1d4(0x104))/0x5*(-parseInt(_0x1ce1d4(0x134))/0x6)+parseInt(_0x1ce1d4(0x114))/0x7*(-parseInt(_0x1ce1d4(0x13c))/0x8)+parseInt(_0x1ce1d4(0x119))/0x9*(parseInt(_0x1ce1d4(0xe6))/0xa)+parseInt(_0x1ce1d4(0x14f))/0xb+-parseInt(_0x1ce1d4(0x137))/0xc*(parseInt(_0x1ce1d4(0x130))/0xd);if(_0x531790===_0x213c20)break;else _0x25eb0e['push'](_0x25eb0e['shift']());}catch(_0x262b95){_0x25eb0e['push'](_0x25eb0e['shift']());}}}(a126_0x2de0,0x95719));function a126_0x2de0(){const _0xda894a=[',\x20PID\x20-\x20','getFramework','wfhFg','.\x20Args\x20-\x20','timerify','toString','bmLVB','FWlZf','setFrameworkDetails','331957xmnbGi','.\x20Error\x20-\x20','password','2XhoOav','FudCp','1903349RcaNKG','constructor','jSSKz','dYpry','prototype','7627599qvMLpF','getPerformance',',\x20Argument\x20-\x20','VpxIJ','pid','nrWga','Content-Type','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','getConfig','X-BSTACK-TESTOPS','KeVRJ','USER_CONFIG_FOR_REPORTING','THxTB','CrashReporter','Started\x20::\x20','frameworkName','filterPII','length','frameworkVersion','catch','xlwRO','uploadCrashReport','forEach','1710553IQlfWX','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','FJgnD','true','6827250RsNARJ','user','CREDENTIALS_FOR_CRASH_REPORTING','168MxSrdZ','apply','OhVQU','POST','application/json','24mhoyav','auth','NLUCR','/api/v1/analytics','includes','EDrvN','\x20--\x20','exports','captureError','toLowerCase','3255mmYKWI','defineProperty','depth','setCredentials','call','stringify','NzmOG','rrYAk','nCPrv','10681858CIHWAu','68qOIlXD','gFqzD','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','Tjgig','Error\x20in\x20executing\x20','setConfigDetails','userConfig','10iOyWmZ','getCredentials','object','keys','BS_TESTOPS_BUILD_HASHED_ID','then','uvDtr','wMXiT','QtVDW','HVSOv','format','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','./utils','name','parse','BROWSERSTACK_O11Y_PERF_MEASUREMENT','DAqTe','env','username','accessKey','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','PvEan','o11yClassErrorHandler','frameworkDetails','HROUw','getOwnPropertyNames','util','recursivelyDeletePIIKeysFromObject','initialize','headers','5TLafKc','credentials'];a126_0x2de0=function(){return _0xda894a;};return a126_0x2de0();}const util=require(a126_0x44615c(0x100)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a126_0x44615c(0xf2)),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0x28f2a3,_0x4288a0='',_0x56b2ef=[''],_0x84515=![])=>{const _0x47f7eb={'nCPrv':function(_0x4224f5,_0x7e367){return _0x4224f5(_0x7e367);},'EDrvN':function(_0xb72f31,_0x1048de,_0x4c7e3f){return _0xb72f31(_0x1048de,_0x4c7e3f);},'wMXiT':function(_0x5139bf,_0x3396eb){return _0x5139bf instanceof _0x3396eb;},'NLUCR':function(_0x52a775,_0x33c551,_0x52d4be,_0x164ad2,_0x1ef1b5){return _0x52a775(_0x33c551,_0x52d4be,_0x164ad2,_0x1ef1b5);}};return function(..._0x3995cd){const _0x25a45a=a126_0x3fd5;try{let _0x4c4181=_0x28f2a3;process[_0x25a45a(0xf7)][_0x25a45a(0xf5)]&&(_0x4c4181=PerformanceTester[_0x25a45a(0x11a)]()[_0x25a45a(0x10a)](_0x4c4181));_0x84515&&_0x47f7eb['nCPrv'](trace,_0x25a45a(0x127)+_0x4288a0+_0x25a45a(0x106)+process['pid']+_0x25a45a(0x11b)+_0x47f7eb[_0x25a45a(0x141)](nestedKeyValue,arguments[0x0],_0x56b2ef));const _0x220c8a=_0x4c4181[_0x25a45a(0x138)](null,arguments);_0x84515&&_0x47f7eb[_0x25a45a(0x14e)](trace,'Finished\x20::\x20'+_0x4288a0+_0x25a45a(0x106)+process[_0x25a45a(0x11d)]+_0x25a45a(0x11b)+_0x47f7eb['EDrvN'](nestedKeyValue,arguments[0x0],_0x56b2ef));if(_0x47f7eb[_0x25a45a(0xed)](_0x220c8a,Promise))return _0x220c8a['catch'](_0x4ac62f=>processError(_0x4ac62f,_0x28f2a3,_0x3995cd,_0x4288a0));return _0x220c8a;}catch(_0x48a7d3){_0x47f7eb[_0x25a45a(0x13e)](processError,_0x48a7d3,_0x28f2a3,_0x3995cd,_0x4288a0);}};},o11yClassErrorHandler=(_0x1957ee,_0x353983,_0xfdfdbb='')=>{const _0x252780=a126_0x44615c,_0x5bfa51={'wEALD':function(_0x56885f,_0x3e8be6){return _0x56885f instanceof _0x3e8be6;},'KeVRJ':function(_0x2e417a,_0x129971,_0x4eca86,_0x414484,_0xf55b10){return _0x2e417a(_0x129971,_0x4eca86,_0x414484,_0xf55b10);},'bIjur':function(_0x20f2a3,_0x1ddc6c){return _0x20f2a3===_0x1ddc6c;},'OhVQU':'function','VpxIJ':function(_0x50ff9b,_0x92a7a8){return _0x50ff9b!==_0x92a7a8;},'nrWga':_0x252780(0x115),'jSSKz':function(_0x41c4f9,_0x190c62){return _0x41c4f9<_0x190c62;}},_0x11b158=_0x1957ee[_0x252780(0x118)];if(_0x5bfa51[_0x252780(0x116)](Object[_0x252780(0xff)](_0x11b158)[_0x252780(0x12a)],0x2))return _0x1957ee;return Object[_0x252780(0xff)](_0x11b158)[_0x252780(0x12f)](_0x55a565=>{const _0xb5314b=_0x252780;if(!(_0x353983&&_0x353983['includes'](_0x55a565)))return;const _0x1978a8=_0x11b158[_0x55a565];_0x5bfa51['bIjur'](typeof _0x1978a8,_0x5bfa51[_0xb5314b(0x139)])&&_0x5bfa51[_0xb5314b(0x11c)](_0x55a565,_0x5bfa51[_0xb5314b(0x11e)])&&Object[_0xb5314b(0x147)](_0x11b158,_0x55a565,{'writable':!![],'value':function(..._0x108005){const _0x2343db=_0xb5314b;try{const _0x11f772=(process[_0x2343db(0xf7)][_0x2343db(0xf5)]?PerformanceTester['getPerformance']()[_0x2343db(0x10a)](_0x1978a8):_0x1978a8)[_0x2343db(0x14a)](this,..._0x108005);if(_0x5bfa51['wEALD'](_0x11f772,Promise))return _0x11f772[_0x2343db(0x12c)](_0x44293c=>processError(_0x44293c,_0x1978a8,_0x108005,_0xfdfdbb));return _0x11f772;}catch(_0x5c6bfc){_0x5bfa51[_0x2343db(0x123)](processError,_0x5c6bfc,_0x1978a8,_0x108005,_0xfdfdbb);}}});}),_0x1957ee;};function processError(_0x5f09a3,_0x18d4f7,_0x302899,_0x2b6754){const _0x789c45=a126_0x44615c,_0x3633a6={'QtVDW':function(_0x42ded8,_0x1e8b3e){return _0x42ded8(_0x1e8b3e);}};_0x3633a6[_0x789c45(0xee)](debug,_0x789c45(0xe3)+_0x18d4f7[_0x789c45(0xf3)]+'\x20--\x20'+_0x2b6754+_0x789c45(0x110)+util[_0x789c45(0xf0)](_0x5f09a3)+'.\x20Args\x20-\x20'+_0x302899+'.'),PerformanceTester[_0x789c45(0x144)](_0x5f09a3);let _0x167c52;try{_0x167c52=JSON[_0x789c45(0x14b)](_0x302899);}catch(_0x2f1277){const _0x308c28={};_0x308c28[_0x789c45(0x148)]=0x2,_0x167c52=util['inspect'](_0x302899,_0x308c28);}CrashReporter['uploadCrashReport'](_0x789c45(0xe3)+_0x18d4f7['name']+_0x789c45(0x142)+_0x2b6754+_0x789c45(0x110)+_0x5f09a3+_0x789c45(0x109)+_0x167c52+'.',_0x5f09a3&&_0x5f09a3['stack']);}class CrashReporter{static ['userConfig']={};static [a126_0x44615c(0x105)];static [a126_0x44615c(0xfd)]={};static[a126_0x44615c(0x102)](_0xd885ba,_0x1b0c74,_0x1e1c2f=null){const _0x26f56f=a126_0x44615c,_0x4828ea={'HROUw':function(_0x16660d,_0x544c3f){return _0x16660d(_0x544c3f);},'wfhFg':function(_0x514e77,_0x4cf348){return _0x514e77(_0x4cf348);},'uvDtr':function(_0xbcc563,_0x90104e){return _0xbcc563(_0x90104e);}},_0x9102fe=_0xd885ba[_0x26f56f(0x128)],_0x42af02=_0xd885ba[_0x26f56f(0x12b)];!_0x1e1c2f&&(_0x1e1c2f=_0x4828ea[_0x26f56f(0xfe)](getBrowserStackConfig,_0x9102fe));!_0x42af02&&_0x4828ea[_0x26f56f(0x108)](getFrameworkVersion,_0x9102fe);const _0x17d927={};_0x17d927[_0x26f56f(0x128)]=_0x9102fe,_0x17d927[_0x26f56f(0x12b)]=_0x42af02,this['setAllDetails'](_0x17d927,_0x1b0c74,_0x4828ea[_0x26f56f(0xec)](getUserCredentials,_0x1e1c2f));}static[a126_0x44615c(0x149)](_0x96be0c,_0x18da18){const _0x2d3857=a126_0x44615c,_0x4e481a={};_0x4e481a[_0x2d3857(0xf8)]=_0x96be0c,_0x4e481a['accessKey']=_0x18da18,this[_0x2d3857(0x105)]=_0x4e481a,process[_0x2d3857(0xf7)][_0x2d3857(0x136)]=JSON[_0x2d3857(0x14b)](this[_0x2d3857(0x105)]);}static[a126_0x44615c(0xe7)](){const _0xc72301=a126_0x44615c,_0x1227c2={'FKBXa':function(_0x3dec8e,_0x6a991c){return _0x3dec8e(_0x6a991c);}};if(!this['credentials']&&process[_0xc72301(0xf7)][_0xc72301(0x136)])try{this['credentials']=JSON[_0xc72301(0xf4)](process[_0xc72301(0xf7)][_0xc72301(0x136)]);}catch(_0x5c1461){_0x1227c2['FKBXa'](debug,_0xc72301(0xe1)+_0x5c1461[_0xc72301(0x10b)]());}return this['credentials'];}static['setConfigDetails'](_0xdda0ac){const _0xaa222e=a126_0x44615c;this[_0xaa222e(0xe5)]=this['filterPII'](_0xdda0ac),process['env'][_0xaa222e(0x124)]=JSON['stringify'](this['userConfig']);}static['getConfig'](){const _0x47e547=a126_0x44615c,_0x3f816f={'rrYAk':function(_0x186070,_0x5d2772){return _0x186070===_0x5d2772;},'huanz':function(_0x2264bc,_0x34d133){return _0x2264bc(_0x34d133);}};if(_0x3f816f[_0x47e547(0x14d)](Object[_0x47e547(0xe9)](this[_0x47e547(0xe5)])[_0x47e547(0x12a)],0x0)&&process[_0x47e547(0xf7)][_0x47e547(0x124)])try{this[_0x47e547(0xe5)]=JSON['parse'](process[_0x47e547(0xf7)][_0x47e547(0x124)]);}catch(_0x2fe0d5){_0x3f816f['huanz'](debug,_0x47e547(0x120)+_0x2fe0d5[_0x47e547(0x10b)]()),this[_0x47e547(0xe5)]={};}return this[_0x47e547(0xe5)];}static['setFrameworkDetails'](_0x93a09c){const _0x8e67b7=a126_0x44615c;this[_0x8e67b7(0xfd)]=_0x93a09c,process[_0x8e67b7(0xf7)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']=JSON[_0x8e67b7(0x14b)](this['frameworkDetails']);}static['getFramework'](){const _0x496978=a126_0x44615c,_0x27d668={'WQphY':function(_0x5eb9b3,_0x5a9938){return _0x5eb9b3===_0x5a9938;},'RptjN':function(_0x113148,_0x293138){return _0x113148(_0x293138);}};if(_0x27d668['WQphY'](Object[_0x496978(0xe9)](this[_0x496978(0xfd)])[_0x496978(0x12a)],0x0)&&process['env'][_0x496978(0x131)])try{this[_0x496978(0xfd)]=JSON['parse'](process[_0x496978(0xf7)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x162cd6){_0x27d668['RptjN'](debug,_0x496978(0xe1)+_0x162cd6['toString']());}return this[_0x496978(0xfd)];}static['setAllDetails'](_0x344402,_0x34f0e7,_0x4f286c){const _0x1075cb=a126_0x44615c;_0x344402&&this[_0x1075cb(0x10e)](_0x344402),_0x34f0e7&&this[_0x1075cb(0xe4)](_0x34f0e7),_0x4f286c&&this[_0x1075cb(0x149)](_0x4f286c[_0x1075cb(0xf8)],_0x4f286c[_0x1075cb(0xf9)]);}static async[a126_0x44615c(0x12e)](_0x57d63e,_0x40aa56){const _0x544c9d=a126_0x44615c,_0x18d8e8={'HVSOv':function(_0x3aa9c6,_0x4f81c3){return _0x3aa9c6(_0x4f81c3);},'FudCp':_0x544c9d(0xfa),'bmLVB':function(_0x5352a5){return _0x5352a5();},'FWlZf':_0x544c9d(0x13f),'Tjgig':_0x544c9d(0x13b),'gFqzD':_0x544c9d(0x133),'DAqTe':function(_0x1823f3,_0x1649b2,_0x2dace1,_0xc0cdb3,_0x426102,_0x5948ed){return _0x1823f3(_0x1649b2,_0x2dace1,_0xc0cdb3,_0x426102,_0x5948ed);},'gWExJ':_0x544c9d(0x13a)};this[_0x544c9d(0xe7)]();if(!this[_0x544c9d(0x105)])return _0x18d8e8[_0x544c9d(0xef)](debug,_0x18d8e8[_0x544c9d(0x113)]);this[_0x544c9d(0x121)](),this[_0x544c9d(0x107)]();const _0x33bfec={'hashed_id':process[_0x544c9d(0xf7)][_0x544c9d(0xea)],'observability_version':{'sdkVersion':_0x18d8e8[_0x544c9d(0x10c)](getAgentVersion),'frameworkName':this[_0x544c9d(0xfd)]['frameworkName'],'frameworkVersion':this[_0x544c9d(0xfd)][_0x544c9d(0x12b)]},'exception':{'error':_0x57d63e['toString'](),'stackTrace':_0x40aa56},'config':this['userConfig']},_0x578c2d=_0x18d8e8[_0x544c9d(0x10d)],_0x168494={};_0x168494['username']=this[_0x544c9d(0x105)][_0x544c9d(0xf8)],_0x168494[_0x544c9d(0x111)]=this[_0x544c9d(0x105)]['accessKey'];const _0x267878={};_0x267878[_0x544c9d(0x11f)]=_0x18d8e8[_0x544c9d(0xe2)],_0x267878[_0x544c9d(0x122)]=_0x18d8e8[_0x544c9d(0x151)];const _0x449236={};_0x449236[_0x544c9d(0x13d)]=_0x168494,_0x449236[_0x544c9d(0x103)]=_0x267878;const _0x2d541d=_0x449236;_0x18d8e8[_0x544c9d(0xf6)](nodeRequest,_0x18d8e8['gWExJ'],_0x578c2d,_0x33bfec,_0x2d541d,![])[_0x544c9d(0xeb)](_0x522bf3=>{const _0x4ef0b4=_0x544c9d;_0x18d8e8[_0x4ef0b4(0xef)](debug,'[Crash_Report_Upload]\x20Success\x20response:\x20'+JSON[_0x4ef0b4(0x14b)](_0x522bf3));})[_0x544c9d(0x12c)](_0xaedc67=>{const _0x28fbda=_0x544c9d;_0x18d8e8[_0x28fbda(0xef)](debug,_0x28fbda(0xf1)+util[_0x28fbda(0xf0)](_0xaedc67));});}static['recursivelyDeletePIIKeysFromObject'](_0x50d520){const _0x2b2605=a126_0x44615c,_0x5441c5={};_0x5441c5['WXwLk']=_0x2b2605(0x135),_0x5441c5['xlwRO']='username',_0x5441c5[_0x2b2605(0x132)]='key',_0x5441c5[_0x2b2605(0x125)]=_0x2b2605(0xf9),_0x5441c5[_0x2b2605(0x14c)]=_0x2b2605(0x111),_0x5441c5[_0x2b2605(0x117)]=function(_0x3bcef9,_0x117166){return _0x3bcef9===_0x117166;},_0x5441c5[_0x2b2605(0xfb)]=_0x2b2605(0xe8);const _0x34f76d=_0x5441c5;if(!_0x50d520)return;const _0x3fefba=[_0x34f76d['WXwLk'],_0x34f76d[_0x2b2605(0x12d)],_0x34f76d[_0x2b2605(0x132)],_0x34f76d[_0x2b2605(0x125)],_0x34f76d[_0x2b2605(0x14c)]];for(const _0x5df579 in _0x50d520){if(_0x3fefba[_0x2b2605(0x140)](_0x5df579[_0x2b2605(0x145)]()))delete _0x50d520[_0x5df579];else _0x34f76d['dYpry'](typeof _0x50d520[_0x5df579],_0x34f76d[_0x2b2605(0xfb)])&&this[_0x2b2605(0x101)](_0x50d520[_0x5df579]);}}static[a126_0x44615c(0x129)](_0x28f809){const _0xf8f172=a126_0x44615c,_0x281c58=JSON[_0xf8f172(0xf4)](JSON['stringify'](_0x28f809));return this[_0xf8f172(0x101)](_0x281c58),_0x281c58;}}const a126_0xbc3f1e={};a126_0xbc3f1e['o11yErrorHandler']=o11yErrorHandler,a126_0xbc3f1e[a126_0x44615c(0xfc)]=o11yClassErrorHandler,a126_0xbc3f1e[a126_0x44615c(0x126)]=CrashReporter,module[a126_0x44615c(0x143)]=a126_0xbc3f1e;
1
+ function a127_0xe81c(){const _0x2a9f77=['setFrameworkDetails','230ySJxIX','zEGGL','userConfig','CiZMK','initialize','apply','call','12XqqKqR','qdJFg','nEdOx','3RugfFi','BS_TESTOPS_BUILD_HASHED_ID','getPerformance','IryyQ','parse','.\x20Error\x20-\x20',',\x20Argument\x20-\x20','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','inspect','350qrnhuH','stringify','password','CaAOM','VJRAL','oswrg',',\x20PID\x20-\x20','8gzslKM','frameworkDetails','true','18597304BpjwHs','uploadCrashReport','BoqFn','keys','3926684FoCbIO','setCredentials','../helper','util','XIqfG','getFramework','credentials','OqcdP','prototype','Error\x20in\x20executing\x20','Finished\x20::\x20','POST','RJvsa','format','364239RCKwmQ','toString','35IpJFly','setConfigDetails','stack','wRnmX','catch','name','VTbta','getConfig','CrashReporter','CREDENTIALS_FOR_CRASH_REPORTING','env','o11yClassErrorHandler','recursivelyDeletePIIKeysFromObject','auth','RMPKO','\x20--\x20','HKEaK','YQvek','13BcjEOn','key','user','toLowerCase','pScDS','11696902cRbVMF','lAumd','HDwid','qjhQp','getCredentials','includes','USER_CONFIG_FOR_REPORTING','164608KvTlyH','X-BSTACK-TESTOPS','492666JbSMLU','72134wmGVYk','length','.\x20Args\x20-\x20','getOwnPropertyNames','exports','username','NDCJy','accessKey','PdYjv','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','GvHoF','dhzRa','frameworkVersion','hVWRG','filterPII','qzAQq','frameworkName','pid','object','pRvva','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','constructor','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','setAllDetails','captureError'];a127_0xe81c=function(){return _0x2a9f77;};return a127_0xe81c();}const a127_0x2fbd88=a127_0x57f6;(function(_0x31b23d,_0x4293f5){const _0x574026=a127_0x57f6,_0xfcf970=_0x31b23d();while(!![]){try{const _0x1dd819=parseInt(_0x574026(0x16c))/0x1*(-parseInt(_0x574026(0x1a0))/0x2)+-parseInt(_0x574026(0x190))/0x3*(-parseInt(_0x574026(0x1a7))/0x4)+parseInt(_0x574026(0x1b7))/0x5*(-parseInt(_0x574026(0x16b))/0x6)+parseInt(_0x574026(0x199))/0x7*(-parseInt(_0x574026(0x169))/0x8)+parseInt(_0x574026(0x1b5))/0x9*(parseInt(_0x574026(0x186))/0xa)+parseInt(_0x574026(0x1a3))/0xb*(parseInt(_0x574026(0x18d))/0xc)+-parseInt(_0x574026(0x15d))/0xd*(parseInt(_0x574026(0x162))/0xe);if(_0x1dd819===_0x4293f5)break;else _0xfcf970['push'](_0xfcf970['shift']());}catch(_0x38ef96){_0xfcf970['push'](_0xfcf970['shift']());}}}(a127_0xe81c,0xd5c2a));const util=require(a127_0x2fbd88(0x1aa)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require(a127_0x2fbd88(0x1a9)),o11yErrorHandler=(_0x3cf9fd,_0x40bd12='',_0xfbf13a=[''],_0x3c8f44=![])=>{const _0x514ce6={'oswrg':function(_0x293b02,_0x51ab90){return _0x293b02(_0x51ab90);},'OqcdP':function(_0x5d153c,_0x491d09,_0x474b6c){return _0x5d153c(_0x491d09,_0x474b6c);},'jMqpw':function(_0x27994e,_0x5ea2f6){return _0x27994e instanceof _0x5ea2f6;},'NDCJy':function(_0x5b16b7,_0x3b8589,_0x559b9a,_0x19c4dc,_0x24ae20){return _0x5b16b7(_0x3b8589,_0x559b9a,_0x19c4dc,_0x24ae20);}};return function(..._0x3de632){const _0x449f2f=a127_0x57f6;try{let _0x138699=_0x3cf9fd;process[_0x449f2f(0x1c1)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0x138699=PerformanceTester[_0x449f2f(0x192)]()['timerify'](_0x138699));_0x3c8f44&&_0x514ce6[_0x449f2f(0x19e)](trace,'Started\x20::\x20'+_0x40bd12+_0x449f2f(0x19f)+process[_0x449f2f(0x17d)]+_0x449f2f(0x196)+_0x514ce6[_0x449f2f(0x1ae)](nestedKeyValue,arguments[0x0],_0xfbf13a));const _0xf6ec56=_0x138699[_0x449f2f(0x18b)](null,arguments);_0x3c8f44&&_0x514ce6['oswrg'](trace,_0x449f2f(0x1b1)+_0x40bd12+_0x449f2f(0x19f)+process['pid']+_0x449f2f(0x196)+_0x514ce6[_0x449f2f(0x1ae)](nestedKeyValue,arguments[0x0],_0xfbf13a));if(_0x514ce6['jMqpw'](_0xf6ec56,Promise))return _0xf6ec56[_0x449f2f(0x1bb)](_0x36020b=>processError(_0x36020b,_0x3cf9fd,_0x3de632,_0x40bd12));return _0xf6ec56;}catch(_0x4ff26c){_0x514ce6[_0x449f2f(0x172)](processError,_0x4ff26c,_0x3cf9fd,_0x3de632,_0x40bd12);}};},o11yClassErrorHandler=(_0x43a47f,_0x267cfe,_0x2f1c2b='')=>{const _0x2abf7e=a127_0x2fbd88,_0x17e5ce={'YQvek':function(_0x1389d4,_0x3ad8d1){return _0x1389d4 instanceof _0x3ad8d1;},'pRvva':function(_0x4487f2,_0xc9a5a2,_0xcd279a,_0x3151ef,_0x535c36){return _0x4487f2(_0xc9a5a2,_0xcd279a,_0x3151ef,_0x535c36);},'kQtuZ':function(_0x5e636a,_0x46cec0){return _0x5e636a===_0x46cec0;},'zEGGL':'function','ZFiFn':function(_0x4e07b6,_0xce48d1){return _0x4e07b6!==_0xce48d1;},'HDwid':_0x2abf7e(0x181),'hYmWt':function(_0x20efa8,_0x235c23){return _0x20efa8<_0x235c23;}},_0x58b59d=_0x43a47f[_0x2abf7e(0x1af)];if(_0x17e5ce['hYmWt'](Object[_0x2abf7e(0x16f)](_0x58b59d)[_0x2abf7e(0x16d)],0x2))return _0x43a47f;return Object[_0x2abf7e(0x16f)](_0x58b59d)['forEach'](_0x1cb01d=>{const _0x2779b5=_0x2abf7e;if(!(_0x267cfe&&_0x267cfe['includes'](_0x1cb01d)))return;const _0x42f229=_0x58b59d[_0x1cb01d];_0x17e5ce['kQtuZ'](typeof _0x42f229,_0x17e5ce[_0x2779b5(0x187)])&&_0x17e5ce['ZFiFn'](_0x1cb01d,_0x17e5ce[_0x2779b5(0x164)])&&Object['defineProperty'](_0x58b59d,_0x1cb01d,{'writable':!![],'value':function(..._0x1a4834){const _0x1e42d1=_0x2779b5;try{const _0xb319a6=(process[_0x1e42d1(0x1c1)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester['getPerformance']()['timerify'](_0x42f229):_0x42f229)[_0x1e42d1(0x18c)](this,..._0x1a4834);if(_0x17e5ce[_0x1e42d1(0x15c)](_0xb319a6,Promise))return _0xb319a6['catch'](_0x1bd6c5=>processError(_0x1bd6c5,_0x42f229,_0x1a4834,_0x2f1c2b));return _0xb319a6;}catch(_0x1301eb){_0x17e5ce[_0x1e42d1(0x17f)](processError,_0x1301eb,_0x42f229,_0x1a4834,_0x2f1c2b);}}});}),_0x43a47f;};function processError(_0x2b1b2a,_0x13924a,_0x479d59,_0x63ffa1){const _0x25060b=a127_0x2fbd88,_0x5dc92b={'IryyQ':function(_0x51dd78,_0x3c1aa6){return _0x51dd78(_0x3c1aa6);}};_0x5dc92b[_0x25060b(0x193)](debug,_0x25060b(0x1b0)+_0x13924a[_0x25060b(0x1bc)]+'\x20--\x20'+_0x63ffa1+_0x25060b(0x195)+util[_0x25060b(0x1b4)](_0x2b1b2a)+_0x25060b(0x16e)+_0x479d59+'.'),PerformanceTester[_0x25060b(0x184)](_0x2b1b2a);let _0x11d49b;try{_0x11d49b=JSON[_0x25060b(0x19a)](_0x479d59);}catch(_0x15151f){const _0x4544fd={};_0x4544fd['depth']=0x2,_0x11d49b=util[_0x25060b(0x198)](_0x479d59,_0x4544fd);}CrashReporter[_0x25060b(0x1a4)](_0x25060b(0x1b0)+_0x13924a[_0x25060b(0x1bc)]+_0x25060b(0x15a)+_0x63ffa1+_0x25060b(0x195)+_0x2b1b2a+'.\x20Args\x20-\x20'+_0x11d49b+'.',_0x2b1b2a&&_0x2b1b2a[_0x25060b(0x1b9)]);}function a127_0x57f6(_0x559c77,_0x13aa4e){const _0xe81c5e=a127_0xe81c();return a127_0x57f6=function(_0x57f68f,_0x489487){_0x57f68f=_0x57f68f-0x158;let _0x379215=_0xe81c5e[_0x57f68f];return _0x379215;},a127_0x57f6(_0x559c77,_0x13aa4e);}class CrashReporter{static [a127_0x2fbd88(0x188)]={};static [a127_0x2fbd88(0x1ad)];static [a127_0x2fbd88(0x1a1)]={};static[a127_0x2fbd88(0x18a)](_0x407425,_0xdd3272,_0x56c4dc=null){const _0x31fe25=a127_0x2fbd88,_0x4d41e2={'VJRAL':function(_0x248da2,_0xf68002){return _0x248da2(_0xf68002);},'dhzRa':function(_0x2dc67a,_0x26e9c6){return _0x2dc67a(_0x26e9c6);}},_0x1ee3fc=_0x407425[_0x31fe25(0x17c)],_0x1b3e4b=_0x407425[_0x31fe25(0x178)];!_0x56c4dc&&(_0x56c4dc=_0x4d41e2[_0x31fe25(0x19d)](getBrowserStackConfig,_0x1ee3fc));!_0x1b3e4b&&_0x4d41e2[_0x31fe25(0x177)](getFrameworkVersion,_0x1ee3fc);const _0xda42d0={};_0xda42d0[_0x31fe25(0x17c)]=_0x1ee3fc,_0xda42d0[_0x31fe25(0x178)]=_0x1b3e4b,this[_0x31fe25(0x183)](_0xda42d0,_0xdd3272,_0x4d41e2[_0x31fe25(0x19d)](getUserCredentials,_0x56c4dc));}static[a127_0x2fbd88(0x1a8)](_0x79a733,_0x27e889){const _0x4a4f12=a127_0x2fbd88,_0x41fce7={};_0x41fce7['username']=_0x79a733,_0x41fce7[_0x4a4f12(0x173)]=_0x27e889,this[_0x4a4f12(0x1ad)]=_0x41fce7,process[_0x4a4f12(0x1c1)][_0x4a4f12(0x1c0)]=JSON[_0x4a4f12(0x19a)](this[_0x4a4f12(0x1ad)]);}static[a127_0x2fbd88(0x166)](){const _0x9ee184=a127_0x2fbd88,_0x3e4bf1={'iJcfq':function(_0x28273c,_0x55b66b){return _0x28273c(_0x55b66b);}};if(!this['credentials']&&process[_0x9ee184(0x1c1)]['CREDENTIALS_FOR_CRASH_REPORTING'])try{this[_0x9ee184(0x1ad)]=JSON[_0x9ee184(0x194)](process['env'][_0x9ee184(0x1c0)]);}catch(_0x4a33cb){_0x3e4bf1['iJcfq'](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x4a33cb[_0x9ee184(0x1b6)]());}return this[_0x9ee184(0x1ad)];}static['setConfigDetails'](_0xe7e9ef){const _0xbb1b44=a127_0x2fbd88;this[_0xbb1b44(0x188)]=this[_0xbb1b44(0x17a)](_0xe7e9ef),process[_0xbb1b44(0x1c1)]['USER_CONFIG_FOR_REPORTING']=JSON[_0xbb1b44(0x19a)](this['userConfig']);}static[a127_0x2fbd88(0x1be)](){const _0x3109de=a127_0x2fbd88,_0xd1227f={'PdYjv':function(_0x34ec3b,_0x1e0275){return _0x34ec3b===_0x1e0275;},'nEdOx':function(_0x4941a6,_0x319446){return _0x4941a6(_0x319446);}};if(_0xd1227f[_0x3109de(0x174)](Object[_0x3109de(0x1a6)](this[_0x3109de(0x188)])[_0x3109de(0x16d)],0x0)&&process[_0x3109de(0x1c1)][_0x3109de(0x168)])try{this[_0x3109de(0x188)]=JSON[_0x3109de(0x194)](process[_0x3109de(0x1c1)][_0x3109de(0x168)]);}catch(_0x27bcf7){_0xd1227f[_0x3109de(0x18f)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x27bcf7[_0x3109de(0x1b6)]()),this['userConfig']={};}return this[_0x3109de(0x188)];}static[a127_0x2fbd88(0x185)](_0x1385e0){const _0x4b4d94=a127_0x2fbd88;this['frameworkDetails']=_0x1385e0,process[_0x4b4d94(0x1c1)][_0x4b4d94(0x175)]=JSON[_0x4b4d94(0x19a)](this[_0x4b4d94(0x1a1)]);}static['getFramework'](){const _0x62a2ac=a127_0x2fbd88,_0xb08c35={'GKRDU':function(_0x4e6bd7,_0x1f002a){return _0x4e6bd7===_0x1f002a;},'GvHoF':function(_0x2c2368,_0x1acab6){return _0x2c2368(_0x1acab6);}};if(_0xb08c35['GKRDU'](Object[_0x62a2ac(0x1a6)](this['frameworkDetails'])[_0x62a2ac(0x16d)],0x0)&&process[_0x62a2ac(0x1c1)][_0x62a2ac(0x175)])try{this[_0x62a2ac(0x1a1)]=JSON[_0x62a2ac(0x194)](process['env'][_0x62a2ac(0x175)]);}catch(_0x5c5de9){_0xb08c35[_0x62a2ac(0x176)](debug,_0x62a2ac(0x182)+_0x5c5de9[_0x62a2ac(0x1b6)]());}return this[_0x62a2ac(0x1a1)];}static[a127_0x2fbd88(0x183)](_0x5634a5,_0x3f857c,_0x23d5d3){const _0x7d734f=a127_0x2fbd88;_0x5634a5&&this[_0x7d734f(0x185)](_0x5634a5),_0x3f857c&&this[_0x7d734f(0x1b8)](_0x3f857c),_0x23d5d3&&this[_0x7d734f(0x1a8)](_0x23d5d3[_0x7d734f(0x171)],_0x23d5d3[_0x7d734f(0x173)]);}static async[a127_0x2fbd88(0x1a4)](_0x35e62e,_0x12aba6){const _0xc676b=a127_0x2fbd88,_0x46d4c1={'HKEaK':function(_0x45e36f,_0x565f9f){return _0x45e36f(_0x565f9f);},'lAumd':function(_0x5ed166,_0x596c9c){return _0x5ed166(_0x596c9c);},'CaAOM':function(_0x4641e0,_0x16a65e){return _0x4641e0(_0x16a65e);},'CiZMK':_0xc676b(0x180),'hVWRG':function(_0x31152b){return _0x31152b();},'RJvsa':'/api/v1/analytics','pScDS':'application/json','XIqfG':_0xc676b(0x1a2),'qjhQp':function(_0x33c562,_0x2b9124,_0x540f62,_0x566d14,_0x1adeed,_0x3471e3){return _0x33c562(_0x2b9124,_0x540f62,_0x566d14,_0x1adeed,_0x3471e3);},'FZpKT':_0xc676b(0x1b2)};this['getCredentials']();if(!this[_0xc676b(0x1ad)])return _0x46d4c1[_0xc676b(0x19c)](debug,_0x46d4c1[_0xc676b(0x189)]);this[_0xc676b(0x1be)](),this[_0xc676b(0x1ac)]();const _0x5404ff={'hashed_id':process[_0xc676b(0x1c1)][_0xc676b(0x191)],'observability_version':{'sdkVersion':_0x46d4c1[_0xc676b(0x179)](getAgentVersion),'frameworkName':this[_0xc676b(0x1a1)]['frameworkName'],'frameworkVersion':this[_0xc676b(0x1a1)]['frameworkVersion']},'exception':{'error':_0x35e62e[_0xc676b(0x1b6)](),'stackTrace':_0x12aba6},'config':this[_0xc676b(0x188)]},_0x534182=_0x46d4c1[_0xc676b(0x1b3)],_0x140ef1={};_0x140ef1[_0xc676b(0x171)]=this['credentials'][_0xc676b(0x171)],_0x140ef1[_0xc676b(0x19b)]=this[_0xc676b(0x1ad)][_0xc676b(0x173)];const _0x3dd949={};_0x3dd949['Content-Type']=_0x46d4c1[_0xc676b(0x161)],_0x3dd949[_0xc676b(0x16a)]=_0x46d4c1[_0xc676b(0x1ab)];const _0x3656a8={};_0x3656a8[_0xc676b(0x158)]=_0x140ef1,_0x3656a8['headers']=_0x3dd949;const _0x1e426f=_0x3656a8;_0x46d4c1[_0xc676b(0x165)](nodeRequest,_0x46d4c1['FZpKT'],_0x534182,_0x5404ff,_0x1e426f,![])['then'](_0xcc45bd=>{const _0x205237=_0xc676b;_0x46d4c1[_0x205237(0x15b)](debug,'[Crash_Report_Upload]\x20Success\x20response:\x20'+JSON[_0x205237(0x19a)](_0xcc45bd));})[_0xc676b(0x1bb)](_0x456743=>{const _0x5b0de1=_0xc676b;_0x46d4c1[_0x5b0de1(0x163)](debug,_0x5b0de1(0x197)+util[_0x5b0de1(0x1b4)](_0x456743));});}static[a127_0x2fbd88(0x1c3)](_0x48c4f3){const _0x1dd90d=a127_0x2fbd88,_0x418f37={};_0x418f37[_0x1dd90d(0x1bd)]=_0x1dd90d(0x15f),_0x418f37['iSAkW']=_0x1dd90d(0x171),_0x418f37[_0x1dd90d(0x159)]=_0x1dd90d(0x15e),_0x418f37[_0x1dd90d(0x1a5)]='accessKey',_0x418f37[_0x1dd90d(0x18e)]='password',_0x418f37[_0x1dd90d(0x1ba)]=function(_0x8040d5,_0x5ae5b3){return _0x8040d5===_0x5ae5b3;},_0x418f37[_0x1dd90d(0x17b)]=_0x1dd90d(0x17e);const _0x50eb91=_0x418f37;if(!_0x48c4f3)return;const _0x4e6f6a=[_0x50eb91['VTbta'],_0x50eb91['iSAkW'],_0x50eb91['RMPKO'],_0x50eb91[_0x1dd90d(0x1a5)],_0x50eb91['qdJFg']];for(const _0x386ddb in _0x48c4f3){if(_0x4e6f6a[_0x1dd90d(0x167)](_0x386ddb[_0x1dd90d(0x160)]()))delete _0x48c4f3[_0x386ddb];else _0x50eb91[_0x1dd90d(0x1ba)](typeof _0x48c4f3[_0x386ddb],_0x50eb91['qzAQq'])&&this[_0x1dd90d(0x1c3)](_0x48c4f3[_0x386ddb]);}}static['filterPII'](_0x176dae){const _0x2231f3=a127_0x2fbd88,_0x28b10b=JSON[_0x2231f3(0x194)](JSON[_0x2231f3(0x19a)](_0x176dae));return this['recursivelyDeletePIIKeysFromObject'](_0x28b10b),_0x28b10b;}}const a127_0x21ec86={};a127_0x21ec86['o11yErrorHandler']=o11yErrorHandler,a127_0x21ec86[a127_0x2fbd88(0x1c2)]=o11yClassErrorHandler,a127_0x21ec86[a127_0x2fbd88(0x1bf)]=CrashReporter,module[a127_0x2fbd88(0x170)]=a127_0x21ec86;
@@ -1 +1 @@
1
- const a127_0x95e8fc=a127_0x25f1;(function(_0x54dfe0,_0x32e941){const _0x34647c=a127_0x25f1,_0x1ca03f=_0x54dfe0();while(!![]){try{const _0x59ee44=parseInt(_0x34647c(0x123))/0x1*(parseInt(_0x34647c(0xf9))/0x2)+-parseInt(_0x34647c(0x156))/0x3+parseInt(_0x34647c(0x161))/0x4+-parseInt(_0x34647c(0x121))/0x5*(parseInt(_0x34647c(0x168))/0x6)+parseInt(_0x34647c(0xfa))/0x7+parseInt(_0x34647c(0x164))/0x8*(-parseInt(_0x34647c(0x15d))/0x9)+-parseInt(_0x34647c(0xf7))/0xa;if(_0x59ee44===_0x32e941)break;else _0x1ca03f['push'](_0x1ca03f['shift']());}catch(_0x3e3cd2){_0x1ca03f['push'](_0x1ca03f['shift']());}}}(a127_0x313e,0xd21d1));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require('./constants'),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a127_0x95e8fc(0x10a)),util=require(a127_0x95e8fc(0xfc)),constants=require(a127_0x95e8fc(0x127));class RequestQueueHandler{static [a127_0x95e8fc(0x169)];[a127_0x95e8fc(0xf5)]=0x0;constructor(){const _0x5a3983=a127_0x95e8fc,_0x9b6117={};_0x9b6117[_0x5a3983(0x140)]=_0x5a3983(0x124),_0x9b6117[_0x5a3983(0x107)]='LogCreated',_0x9b6117[_0x5a3983(0x166)]=_0x5a3983(0x15a),_0x9b6117[_0x5a3983(0x120)]='TestRunFinished',_0x9b6117[_0x5a3983(0x135)]=_0x5a3983(0x10c),_0x9b6117[_0x5a3983(0x150)]=_0x5a3983(0x157),_0x9b6117['RSnkz']='TestRunStarted',_0x9b6117[_0x5a3983(0x126)]=_0x5a3983(0xf6),_0x9b6117[_0x5a3983(0x13f)]=_0x5a3983(0x136),_0x9b6117[_0x5a3983(0x130)]=_0x5a3983(0x10e),_0x9b6117[_0x5a3983(0x109)]=_0x5a3983(0xfb);const _0x53298a=_0x9b6117,_0x23ba8d=_0x53298a[_0x5a3983(0x140)][_0x5a3983(0x11d)]('|');let _0x205ef8=0x0;while(!![]){switch(_0x23ba8d[_0x205ef8++]){case'0':this[_0x5a3983(0x154)]=[_0x53298a[_0x5a3983(0x107)],_0x53298a[_0x5a3983(0x166)],_0x53298a['jMYQK'],_0x53298a[_0x5a3983(0x135)],_0x53298a[_0x5a3983(0x150)],_0x53298a[_0x5a3983(0xf8)],_0x53298a[_0x5a3983(0x126)]];continue;case'1':this['uploadAttachmentUrl']=_0x53298a[_0x5a3983(0x13f)];continue;case'2':this[_0x5a3983(0x16b)]=_0x53298a[_0x5a3983(0x130)];continue;case'3':this[_0x5a3983(0x149)]=[];continue;case'4':this[_0x5a3983(0x11f)]=_0x53298a[_0x5a3983(0x109)];continue;case'5':this[_0x5a3983(0x114)]=null;continue;case'6':this['started']=![];continue;}break;}}static['getInstance'](){const _0x465035=a127_0x95e8fc;return!RequestQueueHandler[_0x465035(0x169)]&&(RequestQueueHandler[_0x465035(0x169)]=new RequestQueueHandler()),RequestQueueHandler[_0x465035(0x169)];}[a127_0x95e8fc(0x11e)]=()=>{const _0x3db762=a127_0x95e8fc;!this[_0x3db762(0x129)]&&(this['started']=!![],this[_0x3db762(0x146)]());};['add']=_0x1a235a=>{const _0x53b060=a127_0x95e8fc,_0x586946={'tAuLj':function(_0x4c4c06,_0x175b0c){return _0x4c4c06===_0x175b0c;},'hQviW':_0x53b060(0x12f),'OkCmg':function(_0x2685cc,_0x22c9ce){return _0x2685cc>_0x22c9ce;},'Uzxgj':_0x53b060(0x148),'haytO':function(_0x359f36,_0x58356e){return _0x359f36!==_0x58356e;},'TkPmS':_0x53b060(0x115),'HLOFa':function(_0x3e573c,_0x3a509b){return _0x3e573c(_0x3a509b);},'qOWlt':_0x53b060(0x16a)};if(this[_0x53b060(0x154)][_0x53b060(0x131)](_0x1a235a[_0x53b060(0x110)])){if(_0x1a235a[_0x53b060(0x12b)]&&_0x1a235a[_0x53b060(0x12b)][0x0]&&_0x586946[_0x53b060(0x13b)](_0x1a235a[_0x53b060(0x12b)][0x0][_0x53b060(0x160)],_0x586946[_0x53b060(0xfe)])){const _0x3238b7={};return _0x3238b7['shouldProceed']=!![],_0x3238b7[_0x53b060(0x153)]=[_0x1a235a],_0x3238b7[_0x53b060(0x125)]=this[_0x53b060(0x16b)],_0x3238b7;}if(_0x1a235a[_0x53b060(0x12b)]&&_0x586946[_0x53b060(0x11b)](_0x1a235a[_0x53b060(0x12b)]['length'],0x0)&&_0x586946[_0x53b060(0x13b)](_0x1a235a[_0x53b060(0x12b)][0x0]['kind'],_0x586946['Uzxgj'])&&_0x586946[_0x53b060(0xff)](_0x1a235a[_0x53b060(0x110)],_0x586946[_0x53b060(0x106)])){const _0x182e0a={};return _0x182e0a[_0x53b060(0x15f)]=!![],_0x182e0a[_0x53b060(0x153)]=[_0x1a235a],_0x182e0a[_0x53b060(0x125)]=this[_0x53b060(0x147)],_0x182e0a;}this['queue'][_0x53b060(0x100)](_0x1a235a);let _0x3796cb=null;const _0x32ef92=this[_0x53b060(0x15f)]();_0x32ef92&&(_0x586946[_0x53b060(0x108)](trace,_0x586946[_0x53b060(0x102)]),_0x3796cb=this[_0x53b060(0x149)][_0x53b060(0x138)](0x0,BATCH_SIZE),this[_0x53b060(0x149)]['splice'](0x0,BATCH_SIZE),this[_0x53b060(0x145)]());const _0xd46bf1={};return _0xd46bf1[_0x53b060(0x15f)]=_0x32ef92,_0xd46bf1['proceedWithData']=_0x3796cb,_0xd46bf1['proceedWithUrl']=this['eventUrl'],_0xd46bf1;}const _0x5acf4b={};return _0x5acf4b[_0x53b060(0x15f)]=!![],_0x5acf4b;};[a127_0x95e8fc(0x13d)]=async()=>{const _0x126575=a127_0x95e8fc,_0x4d6a9d={'WOrPx':'REMOVING','ZhoDc':function(_0xdb9cf9,_0x343a86){return _0xdb9cf9>_0x343a86;},'xzZPA':_0x126575(0x12a),'kOhwK':function(_0x40dd56,_0x432dad){return _0x40dd56(_0x432dad);}};await this[_0x126575(0x104)](),this[_0x126575(0x11a)](_0x4d6a9d[_0x126575(0x167)]);while(_0x4d6a9d['ZhoDc'](this[_0x126575(0x149)]['length'],0x0)){const _0x418883=this[_0x126575(0x149)][_0x126575(0x138)](0x0,BATCH_SIZE);this[_0x126575(0x149)][_0x126575(0x10f)](0x0,BATCH_SIZE),await this[_0x126575(0x132)](this['eventUrl'],_0x4d6a9d[_0x126575(0x152)],_0x418883);}_0x4d6a9d[_0x126575(0x134)](this[_0x126575(0xf5)],0x0)&&_0x4d6a9d['kOhwK'](debug,_0x126575(0x13e)+this[_0x126575(0xf5)]);};[a127_0x95e8fc(0x132)]=async(_0x1184cc,_0xdbc08b,_0x3210ff)=>{const _0x1eacf4=a127_0x95e8fc,_0x1e4ed1={'PYiMA':function(_0x38a9de,_0x4d0c32){return _0x38a9de(_0x4d0c32);},'XBPcB':_0x1eacf4(0x112),'pZgUv':function(_0x27b046){return _0x27b046();},'WylJc':function(_0x5e045f,_0x60bd59,_0x593a1c,_0x59321d,_0x1498bb){return _0x5e045f(_0x60bd59,_0x593a1c,_0x59321d,_0x1498bb);},'IqVww':_0x1eacf4(0x162),'qFvby':function(_0x3d7ea9,_0x27579d){return _0x3d7ea9(_0x27579d);},'thbOK':function(_0x392f41,_0x5e5f41){return _0x392f41-_0x5e5f41;},'ezOtw':function(_0x3db18d,_0x51c3d8){return _0x3db18d(_0x51c3d8);}};let _0x47cde5='';try{_0x47cde5=_0x3210ff[_0x1eacf4(0x12d)](_0x49e6e9=>'\x27'+_0x49e6e9[_0x1eacf4(0x110)]+'\x27:'+(nestedKeyValue(_0x49e6e9,[_0x1eacf4(0x119),_0x1eacf4(0x10b)])||nestedKeyValue(_0x49e6e9,[_0x1eacf4(0x155),'uuid'])))[_0x1eacf4(0x111)](','),_0x1e4ed1[_0x1eacf4(0x12e)](debug,'Processing\x20batch\x20events\x20for\x20'+_0xdbc08b+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x1eacf4(0x133)](util[_0x1eacf4(0x144)]('%j',_0x3210ff),_0x1e4ed1[_0x1eacf4(0xfd)])+'\x20bytes.\x20Events\x20are\x20'+_0x47cde5);}catch(_0x41589a){_0x1e4ed1['PYiMA'](debug,_0x1eacf4(0x105)+util[_0x1eacf4(0x144)](_0x41589a)+'}');}const _0xbd574e={'headers':_0x1e4ed1[_0x1eacf4(0x10d)](getDefaultHeaders)};try{const _0x3ee2b1=await _0x1e4ed1[_0x1eacf4(0x14b)](nodeRequest,_0x1e4ed1[_0x1eacf4(0x15b)],_0x1184cc,_0x3210ff,_0xbd574e);if(_0x3ee2b1[_0x1eacf4(0x116)][_0x1eacf4(0x16c)]){const _0x3146e5={};_0x3146e5[_0x1eacf4(0x13a)]=_0x3ee2b1[_0x1eacf4(0x116)][_0x1eacf4(0x16c)];throw _0x3146e5;}else _0x1e4ed1[_0x1eacf4(0x11c)](debug,_0xdbc08b+_0x1eacf4(0x159)+_0x47cde5+'\x20--\x20'+util[_0x1eacf4(0x144)]('%j',_0x3ee2b1[_0x1eacf4(0x116)])),this['pendingUploads']=Math[_0x1eacf4(0x143)](0x0,_0x1e4ed1['thbOK'](this['pendingUploads'],_0x3210ff[_0x1eacf4(0x15c)]));}catch(_0x418df8){_0x418df8['response']?_0x1e4ed1[_0x1eacf4(0x101)](debug,_0x1eacf4(0x165)+_0xdbc08b+_0x1eacf4(0x12c)+constants[_0x1eacf4(0x14f)]+'\x20:\x20'+_0x418df8[_0x1eacf4(0x128)][_0x1eacf4(0x14c)]+'\x20'+_0x418df8[_0x1eacf4(0x128)]['statusText']+'\x20'+util[_0x1eacf4(0x144)]('%j',_0x418df8['response'])):_0x1e4ed1['qFvby'](debug,'EXCEPTION\x20IN\x20'+_0xdbc08b+'\x20REQUEST\x20TO\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x1eacf4(0x158)+(_0x418df8[_0x1eacf4(0x13a)]||_0x418df8)),this['pendingUploads']=Math[_0x1eacf4(0x143)](0x0,_0x1e4ed1[_0x1eacf4(0x14a)](this['pendingUploads'],_0x3210ff['length']));}};[a127_0x95e8fc(0x146)]=()=>{const _0x2cedea=a127_0x95e8fc,_0x3a6725={'WxmZV':function(_0x30ef0c,_0x3f4156){return _0x30ef0c>_0x3f4156;},'FJyvH':function(_0x4bc829,_0x3275e1){return _0x4bc829(_0x3275e1);},'rRnVK':'Interval-Queue','czUOd':function(_0x505a4e,_0x30b2f9,_0x2bde18){return _0x505a4e(_0x30b2f9,_0x2bde18);}};this['pollEventBatchInterval']=_0x3a6725[_0x2cedea(0x141)](setInterval,async()=>{const _0x7c8781=_0x2cedea;if(_0x3a6725[_0x7c8781(0x118)](this[_0x7c8781(0x149)]['length'],0x0)){_0x3a6725['FJyvH'](trace,_0x7c8781(0x113)+this[_0x7c8781(0x149)]['length']);const _0x56413a=this['queue']['slice'](0x0,BATCH_SIZE);this['queue'][_0x7c8781(0x10f)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x7c8781(0x11f)],_0x3a6725[_0x7c8781(0x13c)],_0x56413a),_0x3a6725[_0x7c8781(0x151)](trace,_0x7c8781(0x163)+this[_0x7c8781(0x149)][_0x7c8781(0x15c)]);}},BATCH_INTERVAL);};[a127_0x95e8fc(0x145)]=()=>{const _0x29a622=a127_0x95e8fc,_0x20a341={};_0x20a341['KulqL']='RESETTING';const _0x55c4ed=_0x20a341;this[_0x29a622(0x11a)](_0x55c4ed[_0x29a622(0x14e)]),this[_0x29a622(0x146)]();};[a127_0x95e8fc(0x11a)]=_0x18f5e1=>{const _0x596f25=a127_0x95e8fc,_0x378999={'bVlkn':function(_0x206f7b,_0x17bf20){return _0x206f7b(_0x17bf20);},'omBKL':function(_0x346c8f,_0x21bdfd){return _0x346c8f===_0x21bdfd;},'EedJm':_0x596f25(0x139)};this[_0x596f25(0x114)]&&(_0x378999[_0x596f25(0x14d)](clearInterval,this[_0x596f25(0x114)]),this['pollEventBatchInterval']=null,_0x378999[_0x596f25(0x103)](_0x18f5e1,_0x378999['EedJm'])&&(this[_0x596f25(0x129)]=![]));};[a127_0x95e8fc(0x15f)]=()=>{const _0x3e942e=a127_0x95e8fc,_0x4290ee={};_0x4290ee[_0x3e942e(0x142)]=function(_0x4f40c2,_0x153444){return _0x4f40c2>=_0x153444;};const _0xd63d4=_0x4290ee;return _0xd63d4[_0x3e942e(0x142)](this['queue'][_0x3e942e(0x15c)],BATCH_SIZE);};async[a127_0x95e8fc(0x104)](_0x1fa404=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x5f2813=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x20e04d=a127_0x95e8fc,_0x21d937={'pzici':function(_0x2c7873,_0x1aa00e){return _0x2c7873<=_0x1aa00e;},'BqyzB':function(_0x4e7210,_0x3e67fd){return _0x4e7210(_0x3e67fd);},'LlCAp':function(_0x35173a,_0x4d8227){return _0x35173a-_0x4d8227;}};if(_0x21d937['pzici'](this[_0x20e04d(0xf5)],0x0)||_0x21d937[_0x20e04d(0x137)](_0x1fa404,0x0))return;return await _0x21d937[_0x20e04d(0x117)](sleep,_0x5f2813),this['uploadPending'](_0x21d937[_0x20e04d(0x122)](_0x1fa404,_0x5f2813));}}function a127_0x313e(){const _0x368c05=['data','BqyzB','WxmZV','test_run','removeEventBatchPolling','OkCmg','qFvby','split','start','eventUrl','jMYQK','7080735KpXPoo','LlCAp','1468403FAcIfW','3|6|4|2|1|0|5','proceedWithUrl','mVZHA','../../bin/utils/constants','response','started','Shutdown-Queue','logs','\x20REQUEST\x20TO\x20','map','PYiMA','TEST_SCREENSHOT','iXrAv','includes','batchAndPostEvents','byteLength','ZhoDc','PjdqN','upload-attachments','pzici','slice','REMOVING','message','tAuLj','rRnVK','shutdown','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','MQfen','gmRDE','czUOd','oEQRn','max','format','resetEventBatchPolling','startEventBatchPolling','uploadAttachmentUrl','TEST_ATTACHMENT','queue','thbOK','WylJc','status','bVlkn','KulqL','TEST_REPORTING_ANALYTICS','wbgCC','FJyvH','xzZPA','proceedWithData','BATCH_EVENT_TYPES','hook_run','1816953IrCaSW','HookRunFinished','\x20:\x20','\x20event\x20successful\x20for\x20events\x20','CBTSessionCreated','IqVww','length','9MWdYfo','exports','shouldProceed','kind','6529064KMVLZg','POST','Remaining\x20Queue\x20Length\x20-\x20','11932944NDVNug','EXCEPTION\x20IN\x20','YHRuC','WOrPx','6LYnAED','instance','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','screenshotEventUrl','error','pendingUploads','HookRunStarted','2544740cwUuje','RSnkz','2HrFlgp','10694922NIScBb','api/v1/batch','util','XBPcB','hQviW','haytO','push','ezOtw','qOWlt','omBKL','uploadPending','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','TkPmS','ImVvO','HLOFa','FKfwU','../helper','uuid','TestRunSkipped','pZgUv','api/v1/screenshots','splice','event_type','join','utf8','Processing\x20events.\x20Queue\x20Length\x20-\x20','pollEventBatchInterval','TestRunFinished'];a127_0x313e=function(){return _0x368c05;};return a127_0x313e();}function a127_0x25f1(_0x5459d1,_0x4c53cc){const _0x313e78=a127_0x313e();return a127_0x25f1=function(_0x25f1de,_0x5d8426){_0x25f1de=_0x25f1de-0xf5;let _0xfd070a=_0x313e78[_0x25f1de];return _0xfd070a;},a127_0x25f1(_0x5459d1,_0x4c53cc);}module[a127_0x95e8fc(0x15e)]=RequestQueueHandler;
1
+ function a128_0x58a2(){const _0x2b5418=['Remaining\x20Queue\x20Length\x20-\x20','BATCH_EVENT_TYPES','bqYvd','api/v1/screenshots','../helper','iAtwl','startEventBatchPolling','started','api/v1/batch','add','util','fJQOp','Interval-Queue','uploadPending','screenshotEventUrl','eeRqM','TestRunStarted','test_run','awRiI','11730890MtYEQT','1418948cPgoig','splice','180760PgLPwn','join','Airng','max','push','.\x20Request\x20Size\x20-\x20','LogCreated','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','response','FXMQY','vveow','byteLength','map','1143VHWhky','PpKxn','vjlZd','data','OmQxw','1378671tyiLAe','\x20--\x20','BMdqw','kind','hook_run','Vdpmn','0|4|2|6|1|5|3','status','mThVs','\x20event\x20successful\x20for\x20events\x20','TestRunFinished','resetEventBatchPolling','ViZig','RESETTING','REMOVING','\x20:\x20','format','20152EyVUPG','tXrKs','event_type','kAuNG','KZRtJ','TEST_ATTACHMENT','HookRunStarted','uploadAttachmentUrl','\x20REQUEST\x20TO\x20','aglIv','shouldProceed','pendingUploads','exports','BbDia','8660393tUBvHT','zZUkt','ShxXE','message','\x20bytes.\x20Events\x20are\x20','wfLPa','65FElaGn','gXevq','Shutdown-Queue','utf8','dUcjS','74874DLsKLQ','3AjbULB','pollEventBatchInterval','zkmbl','length','proceedWithUrl','GbHjb','cOGJL','./constants','EXCEPTION\x20IN\x20','iNXnL','rZJfz','shutdown','proceedWithData','instance','includes','YuEmo','EgGDy','TEST_REPORTING_ANALYTICS','VHsaJ','slice','start','CXfQI','eventUrl','logs','eCdQC','batchAndPostEvents','gRXpM','queue'];a128_0x58a2=function(){return _0x2b5418;};return a128_0x58a2();}const a128_0x552e10=a128_0x4b5a;function a128_0x4b5a(_0x403541,_0x1b45f8){const _0x58a2c9=a128_0x58a2();return a128_0x4b5a=function(_0x4b5a86,_0x3f6f10){_0x4b5a86=_0x4b5a86-0x1ac;let _0x3270f1=_0x58a2c9[_0x4b5a86];return _0x3270f1;},a128_0x4b5a(_0x403541,_0x1b45f8);}(function(_0xa5b14e,_0x2a3edd){const _0x34c7bc=a128_0x4b5a,_0x4949ee=_0xa5b14e();while(!![]){try{const _0x3fc7f4=parseInt(_0x34c7bc(0x1cc))/0x1+-parseInt(_0x34c7bc(0x1b8))/0x2+-parseInt(_0x34c7bc(0x1f7))/0x3*(parseInt(_0x34c7bc(0x1ba))/0x4)+-parseInt(_0x34c7bc(0x1f1))/0x5*(parseInt(_0x34c7bc(0x1f6))/0x6)+-parseInt(_0x34c7bc(0x1eb))/0x7+-parseInt(_0x34c7bc(0x1dd))/0x8*(-parseInt(_0x34c7bc(0x1c7))/0x9)+parseInt(_0x34c7bc(0x1b7))/0xa;if(_0x3fc7f4===_0x2a3edd)break;else _0x4949ee['push'](_0x4949ee['shift']());}catch(_0xc0e211){_0x4949ee['push'](_0x4949ee['shift']());}}}(a128_0x58a2,0xaf30f));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x552e10(0x1fe)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a128_0x552e10(0x217)),util=require(a128_0x552e10(0x1ae)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static [a128_0x552e10(0x204)];[a128_0x552e10(0x1e8)]=0x0;constructor(){const _0x2c6d17=a128_0x552e10,_0x1e38d9={};_0x1e38d9['XcLQV']=_0x2c6d17(0x1d2),_0x1e38d9[_0x2c6d17(0x1ed)]='upload-attachments',_0x1e38d9[_0x2c6d17(0x20c)]=_0x2c6d17(0x1ac),_0x1e38d9[_0x2c6d17(0x207)]=_0x2c6d17(0x1c0),_0x1e38d9['Airng']='CBTSessionCreated',_0x1e38d9[_0x2c6d17(0x1e0)]=_0x2c6d17(0x1d6),_0x1e38d9[_0x2c6d17(0x1d8)]='TestRunSkipped',_0x1e38d9[_0x2c6d17(0x1af)]='HookRunFinished',_0x1e38d9[_0x2c6d17(0x1ce)]=_0x2c6d17(0x1b4),_0x1e38d9[_0x2c6d17(0x201)]=_0x2c6d17(0x1e3),_0x1e38d9[_0x2c6d17(0x209)]=_0x2c6d17(0x216);const _0x38f24=_0x1e38d9,_0x50cba6=_0x38f24['XcLQV']['split']('|');let _0x29ddae=0x0;while(!![]){switch(_0x50cba6[_0x29ddae++]){case'0':this[_0x2c6d17(0x212)]=[];continue;case'1':this[_0x2c6d17(0x1e4)]=_0x38f24[_0x2c6d17(0x1ed)];continue;case'2':this[_0x2c6d17(0x20d)]=_0x38f24[_0x2c6d17(0x20c)];continue;case'3':this[_0x2c6d17(0x1f8)]=null;continue;case'4':this[_0x2c6d17(0x21a)]=![];continue;case'5':this[_0x2c6d17(0x214)]=[_0x38f24[_0x2c6d17(0x207)],_0x38f24[_0x2c6d17(0x1bc)],_0x38f24[_0x2c6d17(0x1e0)],_0x38f24[_0x2c6d17(0x1d8)],_0x38f24[_0x2c6d17(0x1af)],_0x38f24[_0x2c6d17(0x1ce)],_0x38f24[_0x2c6d17(0x201)]];continue;case'6':this[_0x2c6d17(0x1b2)]=_0x38f24[_0x2c6d17(0x209)];continue;}break;}}static['getInstance'](){const _0x4437c5=a128_0x552e10;return!RequestQueueHandler[_0x4437c5(0x204)]&&(RequestQueueHandler[_0x4437c5(0x204)]=new RequestQueueHandler()),RequestQueueHandler[_0x4437c5(0x204)];}[a128_0x552e10(0x20b)]=()=>{const _0x2d2e61=a128_0x552e10;!this[_0x2d2e61(0x21a)]&&(this['started']=!![],this['startEventBatchPolling']());};[a128_0x552e10(0x1ad)]=_0x124415=>{const _0x20869e=a128_0x552e10,_0x1ff671={'eCdQC':function(_0x4c767e,_0x457166){return _0x4c767e===_0x457166;},'JVcMN':'TEST_SCREENSHOT','QjHvg':function(_0x4230e4,_0x17ef8a){return _0x4230e4>_0x17ef8a;},'vjlZd':_0x20869e(0x1e2),'aglIv':function(_0x51ed4f,_0x4e781b){return _0x51ed4f!==_0x4e781b;},'wfLPa':_0x20869e(0x1d6),'cOGJL':function(_0x5ec014,_0x18caf9){return _0x5ec014(_0x18caf9);},'EpOWr':_0x20869e(0x1c1)};if(this[_0x20869e(0x214)][_0x20869e(0x205)](_0x124415[_0x20869e(0x1df)])){if(_0x124415[_0x20869e(0x20e)]&&_0x124415[_0x20869e(0x20e)][0x0]&&_0x1ff671[_0x20869e(0x20f)](_0x124415[_0x20869e(0x20e)][0x0][_0x20869e(0x1cf)],_0x1ff671['JVcMN'])){const _0x26de17={};return _0x26de17[_0x20869e(0x1e7)]=!![],_0x26de17['proceedWithData']=[_0x124415],_0x26de17[_0x20869e(0x1fb)]=this[_0x20869e(0x1b2)],_0x26de17;}if(_0x124415[_0x20869e(0x20e)]&&_0x1ff671['QjHvg'](_0x124415[_0x20869e(0x20e)][_0x20869e(0x1fa)],0x0)&&_0x1ff671[_0x20869e(0x20f)](_0x124415[_0x20869e(0x20e)][0x0][_0x20869e(0x1cf)],_0x1ff671[_0x20869e(0x1c9)])&&_0x1ff671[_0x20869e(0x1e6)](_0x124415[_0x20869e(0x1df)],_0x1ff671[_0x20869e(0x1f0)])){const _0x5f4e9c={};return _0x5f4e9c['shouldProceed']=!![],_0x5f4e9c['proceedWithData']=[_0x124415],_0x5f4e9c['proceedWithUrl']=this[_0x20869e(0x1e4)],_0x5f4e9c;}this['queue'][_0x20869e(0x1be)](_0x124415);let _0x1a3d76=null;const _0x141b4b=this['shouldProceed']();_0x141b4b&&(_0x1ff671[_0x20869e(0x1fd)](trace,_0x1ff671['EpOWr']),_0x1a3d76=this[_0x20869e(0x212)][_0x20869e(0x20a)](0x0,BATCH_SIZE),this[_0x20869e(0x212)]['splice'](0x0,BATCH_SIZE),this['resetEventBatchPolling']());const _0xe7c556={};return _0xe7c556[_0x20869e(0x1e7)]=_0x141b4b,_0xe7c556[_0x20869e(0x203)]=_0x1a3d76,_0xe7c556['proceedWithUrl']=this[_0x20869e(0x20d)],_0xe7c556;}const _0x38f796={};return _0x38f796[_0x20869e(0x1e7)]=!![],_0x38f796;};[a128_0x552e10(0x202)]=async()=>{const _0x2c657a=a128_0x552e10,_0x241eb8={'WBdPk':_0x2c657a(0x1da),'YyrHU':function(_0x4c3deb,_0xd276c){return _0x4c3deb>_0xd276c;},'zkmbl':_0x2c657a(0x1f3),'gRXpM':function(_0x13bd56,_0x12dceb){return _0x13bd56>_0x12dceb;},'bqYvd':function(_0x280987,_0x589af1){return _0x280987(_0x589af1);}};await this[_0x2c657a(0x1b1)](),this['removeEventBatchPolling'](_0x241eb8['WBdPk']);while(_0x241eb8['YyrHU'](this['queue'][_0x2c657a(0x1fa)],0x0)){const _0x1cbe17=this[_0x2c657a(0x212)]['slice'](0x0,BATCH_SIZE);this['queue'][_0x2c657a(0x1b9)](0x0,BATCH_SIZE),await this[_0x2c657a(0x210)](this[_0x2c657a(0x20d)],_0x241eb8[_0x2c657a(0x1f9)],_0x1cbe17);}_0x241eb8[_0x2c657a(0x211)](this[_0x2c657a(0x1e8)],0x0)&&_0x241eb8[_0x2c657a(0x215)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this[_0x2c657a(0x1e8)]);};[a128_0x552e10(0x210)]=async(_0x375566,_0x526c01,_0x2b9347)=>{const _0x315e2d=a128_0x552e10,_0x1c1e6a={'FXMQY':function(_0x37ed87,_0x574600){return _0x37ed87(_0x574600);},'OmQxw':_0x315e2d(0x1f4),'ZjOUW':function(_0x50eb23){return _0x50eb23();},'BbDia':function(_0x163b1b,_0x162a53,_0x467d8c,_0x3e82ed,_0x25af38){return _0x163b1b(_0x162a53,_0x467d8c,_0x3e82ed,_0x25af38);},'gXevq':'POST','LHqAE':function(_0x2295ea,_0x3521bf){return _0x2295ea(_0x3521bf);},'AdXDB':function(_0xb5148d,_0x45fb51){return _0xb5148d-_0x45fb51;},'Vdpmn':function(_0x1bd0c0,_0x4fd484){return _0x1bd0c0(_0x4fd484);},'mThVs':function(_0x1a6a27,_0x47eb9f){return _0x1a6a27(_0x47eb9f);},'GbHjb':function(_0x57a1e2,_0x66687e){return _0x57a1e2-_0x66687e;}};let _0x5e5443='';try{_0x5e5443=_0x2b9347[_0x315e2d(0x1c6)](_0x44aaf9=>'\x27'+_0x44aaf9[_0x315e2d(0x1df)]+'\x27:'+(nestedKeyValue(_0x44aaf9,[_0x315e2d(0x1b5),'uuid'])||nestedKeyValue(_0x44aaf9,[_0x315e2d(0x1d0),'uuid'])))[_0x315e2d(0x1bb)](','),_0x1c1e6a[_0x315e2d(0x1c3)](debug,'Processing\x20batch\x20events\x20for\x20'+_0x526c01+_0x315e2d(0x1bf)+Buffer[_0x315e2d(0x1c5)](util[_0x315e2d(0x1dc)]('%j',_0x2b9347),_0x1c1e6a[_0x315e2d(0x1cb)])+_0x315e2d(0x1ef)+_0x5e5443);}catch(_0x131bd1){_0x1c1e6a[_0x315e2d(0x1c3)](debug,'Exception\x20in\x20logging\x20batch\x20events\x20--\x20'+util['format'](_0x131bd1)+'}');}const _0x493524={'headers':_0x1c1e6a['ZjOUW'](getDefaultHeaders)};try{const _0x2e52e6=await _0x1c1e6a[_0x315e2d(0x1ea)](nodeRequest,_0x1c1e6a[_0x315e2d(0x1f2)],_0x375566,_0x2b9347,_0x493524);if(_0x2e52e6[_0x315e2d(0x1ca)]['error']){const _0x1f732c={};_0x1f732c[_0x315e2d(0x1ee)]=_0x2e52e6['data']['error'];throw _0x1f732c;}else _0x1c1e6a['LHqAE'](debug,_0x526c01+_0x315e2d(0x1d5)+_0x5e5443+_0x315e2d(0x1cd)+util[_0x315e2d(0x1dc)]('%j',_0x2e52e6[_0x315e2d(0x1ca)])),this[_0x315e2d(0x1e8)]=Math[_0x315e2d(0x1bd)](0x0,_0x1c1e6a['AdXDB'](this[_0x315e2d(0x1e8)],_0x2b9347['length']));}catch(_0x550c36){_0x550c36[_0x315e2d(0x1c2)]?_0x1c1e6a[_0x315e2d(0x1d1)](debug,_0x315e2d(0x1ff)+_0x526c01+_0x315e2d(0x1e5)+constants[_0x315e2d(0x208)]+'\x20:\x20'+_0x550c36[_0x315e2d(0x1c2)][_0x315e2d(0x1d3)]+'\x20'+_0x550c36[_0x315e2d(0x1c2)]['statusText']+'\x20'+util[_0x315e2d(0x1dc)]('%j',_0x550c36['response'])):_0x1c1e6a[_0x315e2d(0x1d4)](debug,_0x315e2d(0x1ff)+_0x526c01+_0x315e2d(0x1e5)+constants[_0x315e2d(0x208)]+_0x315e2d(0x1db)+(_0x550c36[_0x315e2d(0x1ee)]||_0x550c36)),this['pendingUploads']=Math['max'](0x0,_0x1c1e6a[_0x315e2d(0x1fc)](this[_0x315e2d(0x1e8)],_0x2b9347['length']));}};[a128_0x552e10(0x219)]=()=>{const _0x1d594a=a128_0x552e10,_0x3df89a={'vveow':function(_0x24c1c1,_0x1fca49){return _0x24c1c1>_0x1fca49;},'tXrKs':function(_0x4f9678,_0x5d99d1){return _0x4f9678(_0x5d99d1);},'KZRtJ':_0x1d594a(0x1b0),'YuEmo':function(_0x37b6fa,_0x318637,_0xfb921c){return _0x37b6fa(_0x318637,_0xfb921c);}};this[_0x1d594a(0x1f8)]=_0x3df89a[_0x1d594a(0x206)](setInterval,async()=>{const _0x4aeca5=_0x1d594a;if(_0x3df89a[_0x4aeca5(0x1c4)](this['queue'][_0x4aeca5(0x1fa)],0x0)){_0x3df89a['tXrKs'](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x4aeca5(0x212)]['length']);const _0x2cb26a=this[_0x4aeca5(0x212)][_0x4aeca5(0x20a)](0x0,BATCH_SIZE);this[_0x4aeca5(0x212)][_0x4aeca5(0x1b9)](0x0,BATCH_SIZE),await this[_0x4aeca5(0x210)](this[_0x4aeca5(0x20d)],_0x3df89a[_0x4aeca5(0x1e1)],_0x2cb26a),_0x3df89a[_0x4aeca5(0x1de)](trace,_0x4aeca5(0x213)+this[_0x4aeca5(0x212)]['length']);}},BATCH_INTERVAL);};[a128_0x552e10(0x1d7)]=()=>{const _0x156b83=a128_0x552e10,_0x2d514f={};_0x2d514f[_0x156b83(0x218)]=_0x156b83(0x1d9);const _0x578160=_0x2d514f;this['removeEventBatchPolling'](_0x578160[_0x156b83(0x218)]),this[_0x156b83(0x219)]();};['removeEventBatchPolling']=_0x18f540=>{const _0x31fe82=a128_0x552e10,_0x4face3={'awRiI':function(_0x4c3209,_0x5cb5ed){return _0x4c3209(_0x5cb5ed);},'iNXnL':function(_0x30aba0,_0x42ca41){return _0x30aba0===_0x42ca41;},'dUcjS':'REMOVING'};this[_0x31fe82(0x1f8)]&&(_0x4face3[_0x31fe82(0x1b6)](clearInterval,this[_0x31fe82(0x1f8)]),this['pollEventBatchInterval']=null,_0x4face3[_0x31fe82(0x200)](_0x18f540,_0x4face3[_0x31fe82(0x1f5)])&&(this[_0x31fe82(0x21a)]=![]));};[a128_0x552e10(0x1e7)]=()=>{const _0x3b8f01=a128_0x552e10,_0x273bb4={};_0x273bb4[_0x3b8f01(0x1b3)]=function(_0x4453d3,_0x2194dd){return _0x4453d3>=_0x2194dd;};const _0x29107b=_0x273bb4;return _0x29107b[_0x3b8f01(0x1b3)](this[_0x3b8f01(0x212)][_0x3b8f01(0x1fa)],BATCH_SIZE);};async[a128_0x552e10(0x1b1)](_0xc53f2c=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x331d9c=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x2185d5=a128_0x552e10,_0xb79006={'PpKxn':function(_0x2e9968,_0x6183bd){return _0x2e9968<=_0x6183bd;},'VGFXY':function(_0x395b2,_0x301cdc){return _0x395b2(_0x301cdc);},'zZUkt':function(_0x5487a2,_0x1ee39e){return _0x5487a2-_0x1ee39e;}};if(_0xb79006[_0x2185d5(0x1c8)](this[_0x2185d5(0x1e8)],0x0)||_0xb79006[_0x2185d5(0x1c8)](_0xc53f2c,0x0))return;return await _0xb79006['VGFXY'](sleep,_0x331d9c),this[_0x2185d5(0x1b1)](_0xb79006[_0x2185d5(0x1ec)](_0xc53f2c,_0x331d9c));}}module[a128_0x552e10(0x1e9)]=RequestQueueHandler;