browserstack-node-sdk 1.46.8 → 1.47.0

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 (187) 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/generated/sdk-messages_pb.d.ts +18 -0
  41. package/generated/sdk-messages_pb.js +147 -3
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/runner.js +1 -1
  92. package/src/bin/setup.js +1 -1
  93. package/src/bin/test-runner/index.js +1 -1
  94. package/src/bin/test-runner/runTest.js +1 -1
  95. package/src/bin/test-runner/testWorker.js +1 -1
  96. package/src/bin/utils/apiUtilityMethods.js +1 -1
  97. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  98. package/src/bin/utils/constants.js +1 -1
  99. package/src/bin/utils/log4jsAppender.js +1 -1
  100. package/src/bin/utils/logPatcher.js +1 -1
  101. package/src/bin/utils/logReportingAPI.js +1 -1
  102. package/src/bin/utils/playwright-patcher.js +1 -1
  103. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -1
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  113. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  114. package/src/bin/v2/framework/jestTestFramework.js +1 -0
  115. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  116. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  117. package/src/bin/v2/framework/testFramework.js +1 -1
  118. package/src/bin/v2/grpcClient.js +1 -1
  119. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  120. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  121. package/src/bin/v2/instances/trackedContext.js +1 -1
  122. package/src/bin/v2/instances/trackedInstance.js +1 -1
  123. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  124. package/src/bin/v2/modules/baseModule.js +1 -1
  125. package/src/bin/v2/modules/observabilityModule.js +1 -1
  126. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  127. package/src/bin/v2/modules/testhubModule.js +1 -1
  128. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  129. package/src/bin/v2/state/hookState.js +1 -1
  130. package/src/bin/v2/state/testFrameworkState.js +1 -1
  131. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  132. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  133. package/src/bin/v2/utils/jest-utils.js +1 -0
  134. package/src/bin/vanilla-js/command.js +1 -1
  135. package/src/browserStackSdk.js +1 -1
  136. package/src/helpers/BrowserStackSetup.js +1 -1
  137. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  138. package/src/helpers/accessibility-automation/constants.js +1 -1
  139. package/src/helpers/accessibility-automation/helper.js +1 -1
  140. package/src/helpers/accessibility-automation/scripts.js +1 -1
  141. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  142. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  143. package/src/helpers/ats/constants.js +1 -1
  144. package/src/helpers/ats/helper.js +1 -1
  145. package/src/helpers/capsMapping.js +1 -1
  146. package/src/helpers/central-scanner/constants.js +1 -1
  147. package/src/helpers/central-scanner/helpers.js +1 -1
  148. package/src/helpers/classLogger.js +1 -1
  149. package/src/helpers/globals.js +1 -1
  150. package/src/helpers/helper.js +1 -1
  151. package/src/helpers/logger.js +1 -1
  152. package/src/helpers/metadata.js +1 -1
  153. package/src/helpers/patchHelper.js +1 -1
  154. package/src/helpers/patchHelpers.js +1 -1
  155. package/src/helpers/percy/Percy.js +1 -1
  156. package/src/helpers/percy/PercyBinary.js +1 -1
  157. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  158. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  159. package/src/helpers/percy/PercySDK.js +1 -1
  160. package/src/helpers/percy/index.js +1 -1
  161. package/src/helpers/percy/utils.js +1 -1
  162. package/src/helpers/performance/constants.js +1 -1
  163. package/src/helpers/performance/performance-tester.js +1 -1
  164. package/src/helpers/playwright-helper.js +1 -1
  165. package/src/helpers/processHelper.js +1 -1
  166. package/src/helpers/request-spy.js +1 -1
  167. package/src/helpers/setKeepAlive.js +1 -1
  168. package/src/helpers/test-observability/constants.js +1 -1
  169. package/src/helpers/test-observability/error-handler.js +1 -1
  170. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  171. package/src/helpers/test-observability/sessionHandler.js +1 -1
  172. package/src/helpers/test-observability/utils.js +1 -1
  173. package/src/helpers/test-orchestration/constants.js +1 -1
  174. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  175. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  176. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  177. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  178. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  179. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  180. package/src/helpers/testhub/constants.js +1 -1
  181. package/src/helpers/testhub/testhubHandler.js +1 -1
  182. package/src/helpers/testhub/utils.js +1 -1
  183. package/src/helpers/timeoutPromise.js +1 -1
  184. package/src/helpers/utilities.js +1 -1
  185. package/src/helpers/w3cMapping.js +1 -1
  186. package/src/hubAllocationMethods.js +1 -1
  187. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a117_0x191b90=a117_0x2606;(function(_0x1ef0f3,_0xad9ab3){const _0x4817d8=a117_0x2606,_0x18d956=_0x1ef0f3();while(!![]){try{const _0x35963f=-parseInt(_0x4817d8(0x21f))/0x1+-parseInt(_0x4817d8(0x256))/0x2*(-parseInt(_0x4817d8(0x1ff))/0x3)+parseInt(_0x4817d8(0x201))/0x4*(-parseInt(_0x4817d8(0x1fa))/0x5)+parseInt(_0x4817d8(0x24b))/0x6+parseInt(_0x4817d8(0x1e3))/0x7+-parseInt(_0x4817d8(0x264))/0x8+parseInt(_0x4817d8(0x206))/0x9;if(_0x35963f===_0xad9ab3)break;else _0x18d956['push'](_0x18d956['shift']());}catch(_0x2702df){_0x18d956['push'](_0x18d956['shift']());}}}(a117_0x174c,0x9ab94));const a117_0xf0b250={};a117_0xf0b250[a117_0x191b90(0x20b)]=a117_0x191b90(0x229),a117_0xf0b250[a117_0x191b90(0x1ec)]='sdk:cleanup',a117_0xf0b250[a117_0x191b90(0x22e)]=a117_0x191b90(0x260),a117_0xf0b250[a117_0x191b90(0x22d)]='sdk:test',a117_0xf0b250[a117_0x191b90(0x252)]=a117_0x191b90(0x239),a117_0xf0b250[a117_0x191b90(0x224)]=a117_0x191b90(0x1e8),a117_0xf0b250[a117_0x191b90(0x222)]=a117_0x191b90(0x230),a117_0xf0b250[a117_0x191b90(0x259)]='sdk:a11y',a117_0xf0b250[a117_0x191b90(0x232)]='sdk:o11y',a117_0xf0b250[a117_0x191b90(0x20d)]=a117_0x191b90(0x1e9),a117_0xf0b250['SDK_PROXY_SETUP']=a117_0x191b90(0x231),a117_0xf0b250[a117_0x191b90(0x25c)]=a117_0x191b90(0x23f),a117_0xf0b250['SDK_AUTOMATE']=a117_0x191b90(0x233),a117_0xf0b250[a117_0x191b90(0x25e)]=a117_0x191b90(0x21b),a117_0xf0b250['SDK_TURBOSCALE']='sdk:turboscale',a117_0xf0b250[a117_0x191b90(0x212)]=a117_0x191b90(0x1f9),a117_0xf0b250['SDK_PRE_INITIALIZE']=a117_0x191b90(0x22f),a117_0xf0b250[a117_0x191b90(0x1e6)]='sdk:driver:post-initialization',a117_0xf0b250[a117_0x191b90(0x1f8)]=a117_0x191b90(0x246),a117_0xf0b250[a117_0x191b90(0x266)]=a117_0x191b90(0x1f4),a117_0xf0b250[a117_0x191b90(0x221)]=a117_0x191b90(0x215),a117_0xf0b250[a117_0x191b90(0x211)]=a117_0x191b90(0x243),a117_0xf0b250['SDK_CLI_ON_CONNECT']=a117_0x191b90(0x21c),a117_0xf0b250['SDK_CLI_ON_STOP']=a117_0x191b90(0x203),a117_0xf0b250[a117_0x191b90(0x25f)]='sdk:startBinSession',a117_0xf0b250[a117_0x191b90(0x253)]=a117_0x191b90(0x262),a117_0xf0b250[a117_0x191b90(0x23e)]=a117_0x191b90(0x1f6),a117_0xf0b250[a117_0x191b90(0x20f)]=a117_0x191b90(0x208),a117_0xf0b250['SDK_AUTOMATION_FRAMEWORK_INIT']=a117_0x191b90(0x1ed),a117_0xf0b250[a117_0x191b90(0x21a)]='sdk:automationFrameworkStart',a117_0xf0b250[a117_0x191b90(0x1e5)]=a117_0x191b90(0x254),a117_0xf0b250[a117_0x191b90(0x242)]=a117_0x191b90(0x25d),a117_0xf0b250[a117_0x191b90(0x24a)]=a117_0x191b90(0x209),a117_0xf0b250[a117_0x191b90(0x245)]=a117_0x191b90(0x204),a117_0xf0b250[a117_0x191b90(0x226)]=a117_0x191b90(0x1e1),a117_0xf0b250[a117_0x191b90(0x21d)]='sdk:testSessionEvent',a117_0xf0b250['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a117_0xf0b250[a117_0x191b90(0x24f)]='sdk:cli:enqueueTestEvent',a117_0xf0b250[a117_0x191b90(0x228)]=a117_0x191b90(0x25a),a117_0xf0b250[a117_0x191b90(0x235)]='sdk:onStop';function a117_0x2606(_0x27e7d3,_0x18725f){const _0x174cc6=a117_0x174c();return a117_0x2606=function(_0x260684,_0x4cfa9b){_0x260684=_0x260684-0x1e0;let _0x3ae553=_0x174cc6[_0x260684];return _0x3ae553;},a117_0x2606(_0x27e7d3,_0x18725f);}const SDK_EVENTS=a117_0xf0b250,a117_0x21c3b4={};a117_0x21c3b4[a117_0x191b90(0x238)]=SDK_EVENTS,a117_0x21c3b4[a117_0x191b90(0x205)]={},a117_0x21c3b4[a117_0x191b90(0x20c)]={},a117_0x21c3b4[a117_0x191b90(0x1fe)]={},a117_0x21c3b4[a117_0x191b90(0x1e4)]={},a117_0x21c3b4[a117_0x191b90(0x1e2)]={},a117_0x21c3b4[a117_0x191b90(0x249)]={},a117_0x21c3b4[a117_0x191b90(0x22c)]={},a117_0x21c3b4[a117_0x191b90(0x213)]={},a117_0x21c3b4[a117_0x191b90(0x21e)]={},a117_0x21c3b4[a117_0x191b90(0x205)][a117_0x191b90(0x265)]=SDK_EVENTS[a117_0x191b90(0x25c)]+a117_0x191b90(0x210),a117_0x21c3b4[a117_0x191b90(0x205)]['STOP']=SDK_EVENTS['SDK_TESTHUB']+a117_0x191b90(0x216),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x237)]=SDK_EVENTS[a117_0x191b90(0x250)]+':keep-alive',a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x244)]=SDK_EVENTS[a117_0x191b90(0x250)]+':hub-management',a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x202)]=SDK_EVENTS[a117_0x191b90(0x250)]+':local-start',a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x23d)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x191b90(0x248),a117_0x21c3b4[a117_0x191b90(0x20c)]['DRIVER_MANAGE']=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x1fc),a117_0x21c3b4[a117_0x191b90(0x20c)]['SESSION_NAME']=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x1f7),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x227)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a117_0x21c3b4[a117_0x191b90(0x20c)]['SESSION_ANNOTATION']=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x20e),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x1e0)]=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x23b),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x214)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x191b90(0x1f3),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x247)]=SDK_EVENTS[a117_0x191b90(0x250)]+':print-buildlink',a117_0x21c3b4[a117_0x191b90(0x1fe)][a117_0x191b90(0x24e)]=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x22b),a117_0x21c3b4[a117_0x191b90(0x1fe)]['SAVE_RESULTS']=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x261),a117_0x21c3b4[a117_0x191b90(0x1fe)][a117_0x191b90(0x24d)]=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x1eb),a117_0x21c3b4[a117_0x191b90(0x1fe)][a117_0x191b90(0x257)]=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x263),a117_0x21c3b4[a117_0x191b90(0x1e4)]['DOWNLOAD']=SDK_EVENTS[a117_0x191b90(0x212)]+':download',a117_0x21c3b4[a117_0x191b90(0x1e4)][a117_0x191b90(0x23a)]=SDK_EVENTS['SDK_PERCY']+':screenshot',a117_0x21c3b4[a117_0x191b90(0x1e4)]['START']=SDK_EVENTS['SDK_PERCY']+':start',a117_0x21c3b4[a117_0x191b90(0x1e4)][a117_0x191b90(0x234)]=SDK_EVENTS['SDK_PERCY']+':stop',a117_0x21c3b4[a117_0x191b90(0x1e4)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a117_0x191b90(0x1fd),a117_0x21c3b4[a117_0x191b90(0x1e4)]['SNAPSHOT']=SDK_EVENTS['SDK_PERCY']+':snapshot',a117_0x21c3b4[a117_0x191b90(0x1e4)][a117_0x191b90(0x241)]=SDK_EVENTS[a117_0x191b90(0x212)]+a117_0x191b90(0x267),a117_0x21c3b4[a117_0x191b90(0x1e2)]['SYNC']=SDK_EVENTS[a117_0x191b90(0x232)]+a117_0x191b90(0x218),a117_0x21c3b4[a117_0x191b90(0x1e2)][a117_0x191b90(0x1ea)]=SDK_EVENTS['SDK_O11Y']+a117_0x191b90(0x1f2),a117_0x21c3b4[a117_0x191b90(0x1e2)]['PRINT_BUILDLINK']=SDK_EVENTS[a117_0x191b90(0x232)]+':print-buildlink',a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x240)]=SDK_EVENTS['SDK_HOOK']+a117_0x191b90(0x1f0),a117_0x21c3b4[a117_0x191b90(0x249)]['AFTER_EACH']=SDK_EVENTS[a117_0x191b90(0x224)]+':after-each',a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x1ee)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x24c),a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x223)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x1f5),a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x200)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x1e7),a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x255)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x219),a117_0x21c3b4[a117_0x191b90(0x22c)][a117_0x191b90(0x244)]=SDK_EVENTS[a117_0x191b90(0x20a)]+a117_0x191b90(0x22a),a117_0x21c3b4[a117_0x191b90(0x22c)][a117_0x191b90(0x247)]=SDK_EVENTS['SDK_TURBOSCALE']+a117_0x191b90(0x217),a117_0x21c3b4[a117_0x191b90(0x213)][a117_0x191b90(0x220)]=SDK_EVENTS[a117_0x191b90(0x25e)]+a117_0x191b90(0x1f1),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x25b)]=SDK_EVENTS['SDK_DRIVER']+a117_0x191b90(0x258),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x236)]=SDK_EVENTS[a117_0x191b90(0x222)]+a117_0x191b90(0x225),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x207)]=SDK_EVENTS[a117_0x191b90(0x222)]+a117_0x191b90(0x1fb),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x251)]=SDK_EVENTS[a117_0x191b90(0x222)]+a117_0x191b90(0x1ef),module[a117_0x191b90(0x23c)]=a117_0x21c3b4;function a117_0x174c(){const _0x37e537=['HOOK_EVENTS','SDK_AI_SELF_HEAL_STEP','3787332KNCsHg',':after-all','GET_RESULTS','PERFORM_SCAN','SDK_CLI_ENQUEUE_TEST_EVENT','SDK_AUTOMATE','POST_EXECUTE','SDK_POST_TEST','SDK_CONNECT_BIN_SESSION','sdk:accessibilityConfig','AFTER','559554dNHeIU','GET_RESULTS_SUMMARY',':quit','SDK_A11Y','sdk:automationFrameworkStop','QUIT','SDK_TESTHUB','sdk:observabilityConfig','SDK_APP_AUTOMATE','SDK_START_BIN_SESSION','sdk:pre-test',':save-results','sdk:connectBinSession',':get-accessibility-results-summary','5161704hacrTZ','START','SDK_CLI_DOWNLOAD',':screenshot-app','IDLE_TIMEOUT','sdk:testFrameworkEvent','O11y_EVENTS','7325787FBTNgC','PERCY_EVENTS','SDK_ACCESSIBILITY_CONFIG','SDK_POST_INITIALIZE',':before','sdk:hook','sdk:auto-capture','TAKE_SCREENSHOT',':get-accessibility-results','SDK_CLEANUP','sdk:automationFrameworkInit','AFTER_ALL',':post-execute',':before-each',':app-upload',':driver-takeScreenShot',':ci-artifacts','sdk:cli:download',':before-all','sdk:driverInit',':session-name','SDK_CLI_START','sdk:percy','60QCzoJI',':pre-execute',':driver-manage',':auto-capture','A11Y_EVENTS','3NGvjBg','BEFORE','214192VJKRGu','LOCAL_START','sdk:cli:on-stop','sdk:aiSelfHealGetResult','TESTHUB_EVENTS','1540557NiZFWD','PRE_EXECUTE','sdk:findNearestHub','sdk:aiSelfHealStep','SDK_TURBOSCALE','SDK_SETUP','AUTOMATE_EVENTS','SDK_AUTO_CAPTURE',':session-annotation','SDK_FIND_NEAREST_HUB',':start','SDK_CLI_ON_BOOTSTRAP','SDK_PERCY','APP_AUOTMATE_EVENTS','GENERATE_CI_ARTIFACT','sdk:cli:check-update',':stop',':print-buildlink',':sync',':after','SDK_AUTOMATION_FRAMEWORK_START','sdk:app-automate','sdk:cli:on-connect','SDK_TEST_SESSION_EVENT','DRIVER_EVENT','207176hchMAI','APP_UPLOAD','SDK_CLI_CHECK_UPDATE','SDK_DRIVER','BEFORE_ALL','SDK_HOOK',':get','SDK_TEST_FRAMEWORK_EVENT','SESSION_STATUS','SDK_AUTOMATION_FRAMEWORK_STOP','sdk:setup',':hub-management',':driver-performscan','TURBOSCALE_EVENTS','SDK_TEST','SDK_PRE_TEST','sdk:driver:pre-initialization','sdk:driver','sdk:proxy-setup','SDK_O11Y','sdk:automate','STOP','SDK_ON_STOP','GET','KEEP_ALIVE','EVENTS','sdk:post-test','SCREENSHOT',':idle-timeout','exports','LOCAL_STOP','SDK_DRIVER_INIT','sdk:testhub','BEFORE_EACH','SCREENSHOT_APP','SDK_OBSERVABILITY_CONFIG','sdk:cli:on-bootstrap','HUB_MANAGEMENT','SDK_AI_SELF_HEAL_GET_RESULT','sdk:cli:start','PRINT_BUILDLINK',':local-stop'];a117_0x174c=function(){return _0x37e537;};return a117_0x174c();}
1
+ const a119_0x3bc99f=a119_0x4461;(function(_0x250053,_0x1710c0){const _0x51fa4a=a119_0x4461,_0x40868e=_0x250053();while(!![]){try{const _0x3cd0fc=parseInt(_0x51fa4a(0x202))/0x1+parseInt(_0x51fa4a(0x249))/0x2+-parseInt(_0x51fa4a(0x236))/0x3+parseInt(_0x51fa4a(0x212))/0x4*(parseInt(_0x51fa4a(0x22c))/0x5)+-parseInt(_0x51fa4a(0x1da))/0x6*(-parseInt(_0x51fa4a(0x230))/0x7)+parseInt(_0x51fa4a(0x221))/0x8*(parseInt(_0x51fa4a(0x1d5))/0x9)+-parseInt(_0x51fa4a(0x1e7))/0xa;if(_0x3cd0fc===_0x1710c0)break;else _0x40868e['push'](_0x40868e['shift']());}catch(_0x2ccdc0){_0x40868e['push'](_0x40868e['shift']());}}}(a119_0x33fb,0x81807));const a119_0xe27918={};function a119_0x33fb(){const _0x458319=['GENERATE_CI_ARTIFACT','sdk:onStop',':pre-execute','SDK_OBSERVABILITY_CONFIG','sdk:driver:post-initialization','sdk:pre-test','LOCAL_STOP','sdk:connectBinSession','14804370jSCtkb','SDK_AUTOMATE',':get-accessibility-results-summary',':quit','POST_EXECUTE','SESSION_STATUS',':screenshot',':ci-artifacts','SDK_O11Y','DOWNLOAD','sdk:auto-capture','SDK_FIND_NEAREST_HUB',':local-start','sdk:cli:on-stop','SESSION_ANNOTATION',':hub-management','AFTER_ALL','APP_UPLOAD',':get-accessibility-results','LOCAL_START','A11Y_EVENTS','SYNC','sdk:testhub','SDK_PROXY_SETUP','sdk:aiSelfHealStep',':idle-timeout','STOP','878695UwuNJb','sdk:automationFrameworkInit',':sync','sdk:driver:pre-initialization','SDK_ON_STOP','SCREENSHOT_APP','SDK_HOOK','SNAPSHOT','BEFORE_ALL',':session-status','START',':stop','sdk:cli:enqueueTestEvent','IDLE_TIMEOUT','SDK_AUTO_CAPTURE','sdk:findNearestHub','474964ELMTjz','PRE_EXECUTE','SCREENSHOT','GET','SDK_DRIVER','sdk:automate','sdk:percy',':download','AUTO_CAPTURE','sdk:cleanup','GET_RESULTS','sdk:proxy-setup','SDK_ACCESSIBILITY_CONFIG','SDK_A11Y','PRINT_BUILDLINK','368ahjPOw','SAVE_RESULTS','sdk:cli:start',':get','sdk:o11y','TAKE_SCREENSHOT','sdk:startBinSession','SDK_CLI_ON_STOP',':snapshot','GET_RESULTS_SUMMARY','SDK_DRIVER_INIT','15CuzORN','O11y_EVENTS','DRIVER_EVENT','SDK_CLI_DOWNLOAD','855463irEpJr','SDK_CLI_CHECK_UPDATE','SDK_PERCY','SDK_AI_SELF_HEAL_STEP','SDK_PRE_TEST','SDK_CLI_ENQUEUE_TEST_EVENT','1060773hDrhWg',':local-stop','TURBOSCALE_EVENTS','exports','SDK_CLI_ON_BOOTSTRAP','sdk:driver','APP_AUOTMATE_EVENTS',':print-buildlink','sdk:turboscale','SDK_CLEANUP','sdk:testFrameworkEvent','TESTHUB_EVENTS','BEFORE','EVENTS','sdk:automationFrameworkStop','sdk:testSessionEvent',':before-each','sdk:post-test','PERFORM_SCAN','1106824fZtpEm',':post-execute',':keep-alive','PERCY_EVENTS','BEFORE_EACH',':screenshot-app','AUTOMATE_EVENTS','SDK_CONNECT_BIN_SESSION','sdk:cli:check-update','QUIT',':after-each','SDK_TEST','sdk:aiSelfHealGetResult','DRIVER_MANAGE','SDK_CLI_LOG_CREATED_EVENT','KEEP_ALIVE','sdk:cli:download','SDK_TEST_SESSION_EVENT','sdk:setup',':before','AFTER','SDK_TURBOSCALE',':start','HOOK_EVENTS','88812yCrtAL','SDK_AUTOMATION_FRAMEWORK_STOP',':after','SDK_APP_AUTOMATE',':after-all','6zsdehV','sdk:a11y','SDK_TESTHUB','SDK_START_BIN_SESSION','sdk:driverInit'];a119_0x33fb=function(){return _0x458319;};return a119_0x33fb();}function a119_0x4461(_0x1ff611,_0x13f64b){const _0x33fb89=a119_0x33fb();return a119_0x4461=function(_0x44613e,_0x26dc75){_0x44613e=_0x44613e-0x1c7;let _0x487e57=_0x33fb89[_0x44613e];return _0x487e57;},a119_0x4461(_0x1ff611,_0x13f64b);}a119_0xe27918['SDK_SETUP']=a119_0x3bc99f(0x1cf),a119_0xe27918[a119_0x3bc99f(0x23f)]=a119_0x3bc99f(0x21b),a119_0xe27918[a119_0x3bc99f(0x234)]=a119_0x3bc99f(0x1e4),a119_0xe27918[a119_0x3bc99f(0x1c8)]='sdk:test',a119_0xe27918['SDK_POST_TEST']=a119_0x3bc99f(0x247),a119_0xe27918[a119_0x3bc99f(0x208)]='sdk:hook',a119_0xe27918[a119_0x3bc99f(0x216)]=a119_0x3bc99f(0x23b),a119_0xe27918['SDK_A11Y']=a119_0x3bc99f(0x1db),a119_0xe27918[a119_0x3bc99f(0x1ef)]=a119_0x3bc99f(0x225),a119_0xe27918[a119_0x3bc99f(0x210)]=a119_0x3bc99f(0x1f1),a119_0xe27918[a119_0x3bc99f(0x1fe)]=a119_0x3bc99f(0x21d),a119_0xe27918['SDK_TESTHUB']=a119_0x3bc99f(0x1fd),a119_0xe27918['SDK_AUTOMATE']=a119_0x3bc99f(0x217),a119_0xe27918['SDK_APP_AUTOMATE']='sdk:app-automate',a119_0xe27918['SDK_TURBOSCALE']=a119_0x3bc99f(0x23e),a119_0xe27918['SDK_PERCY']=a119_0x3bc99f(0x218),a119_0xe27918['SDK_PRE_INITIALIZE']=a119_0x3bc99f(0x205),a119_0xe27918['SDK_POST_INITIALIZE']=a119_0x3bc99f(0x1e3),a119_0xe27918['SDK_CLI_START']=a119_0x3bc99f(0x223),a119_0xe27918[a119_0x3bc99f(0x22f)]=a119_0x3bc99f(0x1cd),a119_0xe27918[a119_0x3bc99f(0x231)]=a119_0x3bc99f(0x251),a119_0xe27918[a119_0x3bc99f(0x23a)]='sdk:cli:on-bootstrap',a119_0xe27918['SDK_CLI_ON_CONNECT']='sdk:cli:on-connect',a119_0xe27918[a119_0x3bc99f(0x228)]=a119_0x3bc99f(0x1f4),a119_0xe27918[a119_0x3bc99f(0x1dd)]=a119_0x3bc99f(0x227),a119_0xe27918[a119_0x3bc99f(0x250)]=a119_0x3bc99f(0x1e6),a119_0xe27918[a119_0x3bc99f(0x22b)]=a119_0x3bc99f(0x1de),a119_0xe27918[a119_0x3bc99f(0x1f2)]=a119_0x3bc99f(0x211),a119_0xe27918['SDK_AUTOMATION_FRAMEWORK_INIT']=a119_0x3bc99f(0x203),a119_0xe27918['SDK_AUTOMATION_FRAMEWORK_START']='sdk:automationFrameworkStart',a119_0xe27918[a119_0x3bc99f(0x21e)]='sdk:accessibilityConfig',a119_0xe27918[a119_0x3bc99f(0x1e2)]='sdk:observabilityConfig',a119_0xe27918[a119_0x3bc99f(0x233)]=a119_0x3bc99f(0x1ff),a119_0xe27918['SDK_AI_SELF_HEAL_GET_RESULT']=a119_0x3bc99f(0x1c9),a119_0xe27918['SDK_TEST_FRAMEWORK_EVENT']=a119_0x3bc99f(0x240),a119_0xe27918[a119_0x3bc99f(0x1ce)]=a119_0x3bc99f(0x245),a119_0xe27918[a119_0x3bc99f(0x1cb)]='sdk:cli:logCreatedEvent',a119_0xe27918[a119_0x3bc99f(0x235)]=a119_0x3bc99f(0x20e),a119_0xe27918[a119_0x3bc99f(0x1d6)]=a119_0x3bc99f(0x244),a119_0xe27918[a119_0x3bc99f(0x206)]=a119_0x3bc99f(0x1e0);const SDK_EVENTS=a119_0xe27918,a119_0x351fd4={};a119_0x351fd4[a119_0x3bc99f(0x243)]=SDK_EVENTS,a119_0x351fd4[a119_0x3bc99f(0x241)]={},a119_0x351fd4[a119_0x3bc99f(0x24f)]={},a119_0x351fd4[a119_0x3bc99f(0x1fb)]={},a119_0x351fd4[a119_0x3bc99f(0x24c)]={},a119_0x351fd4[a119_0x3bc99f(0x22d)]={},a119_0x351fd4[a119_0x3bc99f(0x1d4)]={},a119_0x351fd4[a119_0x3bc99f(0x238)]={},a119_0x351fd4[a119_0x3bc99f(0x23c)]={},a119_0x351fd4[a119_0x3bc99f(0x22e)]={},a119_0x351fd4[a119_0x3bc99f(0x241)][a119_0x3bc99f(0x20c)]=SDK_EVENTS[a119_0x3bc99f(0x1dc)]+a119_0x3bc99f(0x1d3),a119_0x351fd4[a119_0x3bc99f(0x241)][a119_0x3bc99f(0x201)]=SDK_EVENTS[a119_0x3bc99f(0x1dc)]+a119_0x3bc99f(0x20d),a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x1cc)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x24b),a119_0x351fd4[a119_0x3bc99f(0x24f)]['HUB_MANAGEMENT']=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x1f6),a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x1fa)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x1f3),a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x1e5)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x237),a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x1ca)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+':driver-manage',a119_0x351fd4[a119_0x3bc99f(0x24f)]['SESSION_NAME']=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+':session-name',a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x1ec)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x20b),a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x1f5)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+':session-annotation',a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x20f)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x200),a119_0x351fd4[a119_0x3bc99f(0x24f)][a119_0x3bc99f(0x1df)]=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x1ee),a119_0x351fd4[a119_0x3bc99f(0x24f)]['PRINT_BUILDLINK']=SDK_EVENTS[a119_0x3bc99f(0x1e8)]+a119_0x3bc99f(0x23d),a119_0x351fd4[a119_0x3bc99f(0x1fb)][a119_0x3bc99f(0x248)]=SDK_EVENTS[a119_0x3bc99f(0x21f)]+':driver-performscan',a119_0x351fd4[a119_0x3bc99f(0x1fb)][a119_0x3bc99f(0x222)]=SDK_EVENTS[a119_0x3bc99f(0x21f)]+':save-results',a119_0x351fd4[a119_0x3bc99f(0x1fb)][a119_0x3bc99f(0x21c)]=SDK_EVENTS[a119_0x3bc99f(0x21f)]+a119_0x3bc99f(0x1f9),a119_0x351fd4[a119_0x3bc99f(0x1fb)][a119_0x3bc99f(0x22a)]=SDK_EVENTS['SDK_A11Y']+a119_0x3bc99f(0x1e9),a119_0x351fd4[a119_0x3bc99f(0x24c)][a119_0x3bc99f(0x1f0)]=SDK_EVENTS[a119_0x3bc99f(0x232)]+a119_0x3bc99f(0x219),a119_0x351fd4[a119_0x3bc99f(0x24c)][a119_0x3bc99f(0x214)]=SDK_EVENTS[a119_0x3bc99f(0x232)]+a119_0x3bc99f(0x1ed),a119_0x351fd4[a119_0x3bc99f(0x24c)][a119_0x3bc99f(0x20c)]=SDK_EVENTS['SDK_PERCY']+a119_0x3bc99f(0x1d3),a119_0x351fd4[a119_0x3bc99f(0x24c)][a119_0x3bc99f(0x201)]=SDK_EVENTS[a119_0x3bc99f(0x232)]+a119_0x3bc99f(0x20d),a119_0x351fd4[a119_0x3bc99f(0x24c)][a119_0x3bc99f(0x21a)]=SDK_EVENTS[a119_0x3bc99f(0x232)]+':auto-capture',a119_0x351fd4[a119_0x3bc99f(0x24c)][a119_0x3bc99f(0x209)]=SDK_EVENTS[a119_0x3bc99f(0x232)]+a119_0x3bc99f(0x229),a119_0x351fd4[a119_0x3bc99f(0x24c)][a119_0x3bc99f(0x207)]=SDK_EVENTS[a119_0x3bc99f(0x232)]+a119_0x3bc99f(0x24e),a119_0x351fd4[a119_0x3bc99f(0x22d)][a119_0x3bc99f(0x1fc)]=SDK_EVENTS[a119_0x3bc99f(0x1ef)]+a119_0x3bc99f(0x204),a119_0x351fd4[a119_0x3bc99f(0x22d)][a119_0x3bc99f(0x226)]=SDK_EVENTS[a119_0x3bc99f(0x1ef)]+':driver-takeScreenShot',a119_0x351fd4[a119_0x3bc99f(0x22d)]['PRINT_BUILDLINK']=SDK_EVENTS[a119_0x3bc99f(0x1ef)]+a119_0x3bc99f(0x23d),a119_0x351fd4[a119_0x3bc99f(0x1d4)][a119_0x3bc99f(0x24d)]=SDK_EVENTS[a119_0x3bc99f(0x208)]+a119_0x3bc99f(0x246),a119_0x351fd4[a119_0x3bc99f(0x1d4)]['AFTER_EACH']=SDK_EVENTS[a119_0x3bc99f(0x208)]+a119_0x3bc99f(0x1c7),a119_0x351fd4[a119_0x3bc99f(0x1d4)][a119_0x3bc99f(0x1f7)]=SDK_EVENTS['SDK_HOOK']+a119_0x3bc99f(0x1d9),a119_0x351fd4[a119_0x3bc99f(0x1d4)][a119_0x3bc99f(0x20a)]=SDK_EVENTS[a119_0x3bc99f(0x208)]+':before-all',a119_0x351fd4[a119_0x3bc99f(0x1d4)][a119_0x3bc99f(0x242)]=SDK_EVENTS[a119_0x3bc99f(0x208)]+a119_0x3bc99f(0x1d0),a119_0x351fd4[a119_0x3bc99f(0x1d4)][a119_0x3bc99f(0x1d1)]=SDK_EVENTS[a119_0x3bc99f(0x208)]+a119_0x3bc99f(0x1d7),a119_0x351fd4[a119_0x3bc99f(0x238)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+a119_0x3bc99f(0x1f6),a119_0x351fd4[a119_0x3bc99f(0x238)][a119_0x3bc99f(0x220)]=SDK_EVENTS[a119_0x3bc99f(0x1d2)]+':print-buildlink',a119_0x351fd4[a119_0x3bc99f(0x23c)][a119_0x3bc99f(0x1f8)]=SDK_EVENTS[a119_0x3bc99f(0x1d8)]+':app-upload',a119_0x351fd4[a119_0x3bc99f(0x22e)][a119_0x3bc99f(0x252)]=SDK_EVENTS[a119_0x3bc99f(0x216)]+a119_0x3bc99f(0x1ea),a119_0x351fd4[a119_0x3bc99f(0x22e)][a119_0x3bc99f(0x215)]=SDK_EVENTS['SDK_DRIVER']+a119_0x3bc99f(0x224),a119_0x351fd4[a119_0x3bc99f(0x22e)][a119_0x3bc99f(0x213)]=SDK_EVENTS[a119_0x3bc99f(0x216)]+a119_0x3bc99f(0x1e1),a119_0x351fd4[a119_0x3bc99f(0x22e)][a119_0x3bc99f(0x1eb)]=SDK_EVENTS[a119_0x3bc99f(0x216)]+a119_0x3bc99f(0x24a),module[a119_0x3bc99f(0x239)]=a119_0x351fd4;
@@ -1 +1 @@
1
- const a118_0x5b48c3=a118_0x3a88;(function(_0x28fa7,_0x301495){const _0x20679a=a118_0x3a88,_0x46e7f8=_0x28fa7();while(!![]){try{const _0x4fd21f=-parseInt(_0x20679a(0x13f))/0x1*(-parseInt(_0x20679a(0xca))/0x2)+-parseInt(_0x20679a(0x162))/0x3*(parseInt(_0x20679a(0x147))/0x4)+parseInt(_0x20679a(0xc8))/0x5*(parseInt(_0x20679a(0xff))/0x6)+parseInt(_0x20679a(0xcc))/0x7+parseInt(_0x20679a(0xcd))/0x8+parseInt(_0x20679a(0xc5))/0x9+-parseInt(_0x20679a(0xc9))/0xa*(parseInt(_0x20679a(0x12c))/0xb);if(_0x4fd21f===_0x301495)break;else _0x46e7f8['push'](_0x46e7f8['shift']());}catch(_0xfb2ca3){_0x46e7f8['push'](_0x46e7f8['shift']());}}}(a118_0x157a,0x52664));function a118_0x3a88(_0x45392f,_0x5061d3){const _0x157a2c=a118_0x157a();return a118_0x3a88=function(_0x3a880e,_0x2739fb){_0x3a880e=_0x3a880e-0xbf;let _0xe25ee5=_0x157a2c[_0x3a880e];return _0xe25ee5;},a118_0x3a88(_0x45392f,_0x5061d3);}function a118_0x157a(){const _0xb07d9f=['29cluPdM','nWNHc','false','assign','__platformCaps','pushErrors','catch','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','4AQXCXm','Error\x20stopping\x20monitoring\x20','yPaLc','concat','.json','stack','Time\x20for\x20','_events','WyQFZ','/performance-report-','flat','reduce','forEach','perf_hooks','F_OK','calculateTimesFromMultipleFiles','map','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','calculateTimeFromEvents','measures','getCleanedPerfEvents','mkdirSync','SSeXy','stopMonitoring','length','info','unlink','1208004Xdicdq','then','eVhFC','GRDWb','index','toJSON','end','Performance\x20report\x20is\x20at\x20','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','MnRkF','YIOPC','jsonReportDirName','modified-key-metrics.json','dApQF','<tr><td>','EXCXQ','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','constants','observe','finalizePerfMeasures','kdqtC','measure','253917FfirFh','isEnabled','debug','275EGsYNo','430PKAuRk','10628gNFweK','name','515340BjlSup','4521008pJYJrQ','pushPerfMeasures','performance-own.html','-start','parse','</tbody></table></body></html>','/error-report-','generateHTMLReport','qbSWl','Lnswo','disconnect','hvVer','jDXOQ','vDQjg','cITFq','error\x20in\x20measure\x20','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','UuZfS','splice','exports','YBqgU','\x20for\x20all\x20processes\x20is\x20','qkgMo','join','getPerformance','success','eveUI','started','focIU','qsMYX','entries','winstonLogger','getEventsFromJSON','isArray','existsSync','uwTfy','writeFileSync','xkVEa','qdVVN','failure','BROWSERSTACK_SDK_INSTRUMENTATION','OgzQf','errorReportDirName','meta','errorReportFileName','jsonReportDirPath','errorFile','Jzkft','DWmyQ','dirname','68754vcEcfG','buffered','env','readFileSync','resolve','lwvoD','ZZqik','vFJQD','</td></tr>','JrBQv','../processHelper','unlinkSync','<h1>Performance\x20Report</h1>','toString','../logger','duration','mark','message','details','Error\x20in\x20writing\x20html\x20','error-report','browserStackCwd','readFile','DGuyS','Error\x20in\x20doing\x20csv\x20operations:\x20','bhjdP','match','ZiyGn','writeFile','eventsMap','generateJSON','code','stringify','key-metrics.json','WVTQS','RfyDL','utf-8','all','finalize','jsonReportFileName','lBqQM','fs/promises','startMonitoring','iHWmn','format','181918wgQLSE','muQXv','wSLEF','_observer','push','finalizeErrors','KLVeT','OkXKt','slice','entryTypes','qobZs','tsvkA','_measureEvents','access','start','_errorEvents','apply','function','cwd'];a118_0x157a=function(){return _0xb07d9f;};return a118_0x157a();}const fs=require('fs'),fsPromise=require(a118_0x5b48c3(0x128)),{performance,PerformanceObserver}=require(a118_0x5b48c3(0x154)),path=require('path'),util=require('util'),logger=require(a118_0x5b48c3(0x10d))[a118_0x5b48c3(0xec)],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require(a118_0x5b48c3(0x109));class PerformanceTester{static [a118_0x5b48c3(0x12f)];static [a118_0x5b48c3(0x14e)]=[];static [a118_0x5b48c3(0x138)]=[];static [a118_0x5b48c3(0x13b)]=[];static [a118_0x5b48c3(0xe8)]=![];static ['jsonReportDirName']='performance-report';static [a118_0x5b48c3(0xf7)]=process['env'][a118_0x5b48c3(0x114)]?path['join'](process[a118_0x5b48c3(0x101)]['browserStackCwd'],a118_0x5b48c3(0x113)):path[a118_0x5b48c3(0xe4)](process[a118_0x5b48c3(0x13e)](),'error-report');static ['errorReportFileName']=this[a118_0x5b48c3(0xf7)]+'/error-report-'+getProcessId()+a118_0x5b48c3(0x14b);static [a118_0x5b48c3(0x111)]={};static [a118_0x5b48c3(0x11c)]={};static[a118_0x5b48c3(0x129)](_0x5a1a5d,_0x1890d7=this[a118_0x5b48c3(0xf7)]+a118_0x5b48c3(0xd3)+getProcessId()+a118_0x5b48c3(0x14b)){const _0x1ddd1e=a118_0x5b48c3,_0x3cdcde={'KLVeT':function(_0x123ab1,_0x9ca380){return _0x123ab1===_0x9ca380;},'vaePk':'measure','qbSWl':function(_0x1845b4){return _0x1845b4();},'qobZs':function(_0x9fbb92){return _0x9fbb92();},'uwTfy':function(_0xb1eea3,_0x2a5efa){return _0xb1eea3+_0x2a5efa;},'RfyDL':_0x1ddd1e(0x16a),'focIU':_0x1ddd1e(0x13d)};try{this[_0x1ddd1e(0xfa)]=path[_0x1ddd1e(0xe4)](_0x3cdcde[_0x1ddd1e(0xd5)](getLogDir),this[_0x1ddd1e(0x16d)]),!_0x5a1a5d&&(_0x5a1a5d=this[_0x1ddd1e(0xfa)]+_0x1ddd1e(0x150)+_0x3cdcde[_0x1ddd1e(0x136)](getProcessId)+'.json'),!fs[_0x1ddd1e(0xef)](this[_0x1ddd1e(0xfa)])&&fs[_0x1ddd1e(0x15c)](this['jsonReportDirPath']);}catch(_0x3596f0){logger[_0x1ddd1e(0xc7)](_0x3cdcde[_0x1ddd1e(0xf0)](_0x3cdcde[_0x1ddd1e(0x122)],_0x3596f0));}if(this[_0x1ddd1e(0xe8)]||!this[_0x1ddd1e(0xc6)]())return;this['_observer']=new PerformanceObserver(_0x2ba8e2=>{const _0x2cde5a=_0x1ddd1e,_0x3e9c8d={'MKATn':function(_0xc45631,_0x33123f){const _0x4c1714=a118_0x3a88;return _0x3cdcde[_0x4c1714(0x132)](_0xc45631,_0x33123f);},'lBqQM':_0x3cdcde['vaePk']};_0x2ba8e2['getEntries']()[_0x2cde5a(0x153)](_0xe29721=>{const _0xe6262c=_0x2cde5a;if(_0x3e9c8d['MKATn'](_0xe29721['entryType'],_0x3e9c8d[_0xe6262c(0x127)])){let _0x3b0704={};if(_0xe29721[_0xe6262c(0x167)])_0x3b0704=_0xe29721['toJSON']();else for(const _0x4e989b in _0xe29721){_0x3b0704[_0x4e989b]=_0xe29721[_0x4e989b];}this[_0xe6262c(0x111)][_0xe29721[_0xe6262c(0xcb)]]&&(_0x3b0704=Object[_0xe6262c(0x142)](_0x3b0704,this['details'][_0xe29721[_0xe6262c(0xcb)]])),delete this[_0xe6262c(0x111)][_0xe29721['name']],this['_measureEvents'][_0xe6262c(0x130)](_0x3b0704);}else this['_events'][_0xe6262c(0x130)](_0xe29721);});});const _0x5b58a2={};_0x5b58a2[_0x1ddd1e(0x100)]=!![],_0x5b58a2[_0x1ddd1e(0x135)]=[_0x3cdcde[_0x1ddd1e(0xe9)],_0x3cdcde['vaePk']],this['_observer'][_0x1ddd1e(0xc1)](_0x5b58a2),this[_0x1ddd1e(0xe8)]=!![],this[_0x1ddd1e(0x126)]=_0x5a1a5d,this[_0x1ddd1e(0xf9)]=_0x1890d7;}static[a118_0x5b48c3(0xe5)](){return performance;}static[a118_0x5b48c3(0x159)](_0x4f305d,_0x314c4c){const _0x34a493=a118_0x5b48c3,_0x3b36ad={};_0x3b36ad['muQXv']=function(_0x2c5699,_0x39e06a){return _0x2c5699+_0x39e06a;},_0x3b36ad[_0x34a493(0xd8)]=function(_0x51e83f,_0x1bb850){return _0x51e83f||_0x1bb850;},_0x3b36ad['ovKBS']=function(_0x37a6e4,_0x3c319b){return _0x37a6e4===_0x3c319b;};const _0x4d318d=_0x3b36ad,_0x454434={};if(!_0x4f305d||_0x4d318d['ovKBS'](_0x4f305d[_0x34a493(0x15f)],0x0))return;_0x4f305d[_0x34a493(0x157)](_0x5cf0e0=>{const _0x59d115=_0x34a493;!_0x454434[_0x5cf0e0[_0x59d115(0xcb)]]&&(_0x454434[_0x5cf0e0[_0x59d115(0xcb)]]=0x0),_0x454434[_0x5cf0e0['name']]+=_0x5cf0e0['duration'];});const _0xf67f71=_0x314c4c['reduce']((_0x19f243,_0x2ca3c7)=>{const _0x168242=_0x34a493;return _0x4d318d[_0x168242(0x12d)](_0x454434[_0x2ca3c7],_0x4d318d[_0x168242(0xd8)](_0x19f243,0x0));},0x0);return _0xf67f71;}static async[a118_0x5b48c3(0x156)](_0x49657d,_0x137833){const _0x1d9f40=a118_0x5b48c3,_0x2efc82={'fmsJQ':function(_0x3ad57,_0x26ede4){return _0x3ad57+_0x26ede4;},'JrBQv':function(_0x1b2f76,_0x628b0b){return _0x1b2f76||_0x628b0b;},'tsvkA':function(_0x25f424,_0x29327d){return _0x25f424===_0x29327d;},'lwvoD':function(_0x307ea1,_0x3c8afb){return _0x307ea1(_0x3c8afb);}};if(!_0x49657d||_0x2efc82[_0x1d9f40(0x137)](_0x49657d[_0x1d9f40(0x15f)],0x0))return 0x0;const _0x408c79=[];for(const _0xa10fed of _0x49657d){const _0x345a01=path[_0x1d9f40(0xe4)]('.',_0xa10fed);try{const _0x38ee9c=this[_0x1d9f40(0xed)](_0x345a01);_0x38ee9c[_0x1d9f40(0x157)](_0x234ebc=>{const _0x2ab67a=_0x1d9f40;!_0x408c79[_0x234ebc['name']]&&(_0x408c79[_0x234ebc[_0x2ab67a(0xcb)]]=0x0),_0x408c79[_0x234ebc[_0x2ab67a(0xcb)]]+=_0x234ebc[_0x2ab67a(0x10e)];});}catch(_0x53b3db){_0x2efc82[_0x1d9f40(0x104)](debug,_0x1d9f40(0x117)+_0x53b3db[_0x1d9f40(0x10c)]());}}const _0xb480ba=_0x137833[_0x1d9f40(0x152)]((_0x11b621,_0x331cc0)=>{const _0x5019c0=_0x1d9f40;return _0x2efc82['fmsJQ'](_0x408c79[_0x331cc0],_0x2efc82[_0x5019c0(0x108)](_0x11b621,0x0));},0x0);return _0x2efc82['lwvoD'](debug,_0x1d9f40(0x14d)+_0x137833+_0x1d9f40(0xe2)+_0xb480ba),_0xb480ba;}static[a118_0x5b48c3(0xed)](_0x19aa81){const _0x216c18=a118_0x5b48c3;if(_0x19aa81){if(!fs[_0x216c18(0xef)](_0x19aa81))return[];return JSON[_0x216c18(0xd1)](fs['readFileSync'](_0x19aa81)[_0x216c18(0x10c)]());}}static async['stopAndGenerate'](_0x5c7af7=a118_0x5b48c3(0xcf),_0x3ec94b=null){const _0x56973f=a118_0x5b48c3,_0x5cf776={'Lnswo':function(_0x20a186,_0x16faee){return _0x20a186(_0x16faee);},'Jzkft':function(_0x4f70a7,_0x433fda){return _0x4f70a7(_0x433fda);},'YBqgU':function(_0x102e71,_0xa8c7e6){return _0x102e71(_0xa8c7e6);}};if(!this[_0x56973f(0xe8)])return;await _0x5cf776[_0x56973f(0xe1)](sleep,0x1e),this['_observer'][_0x56973f(0xd7)](),this[_0x56973f(0xe8)]=![],this['generateJSON'](this['_events']);const _0x2e1f1d=this[_0x56973f(0xd4)](this['_events']),_0x3f920e=path[_0x56973f(0xe4)](process[_0x56973f(0x13e)](),_0x5c7af7);fs[_0x56973f(0x11b)](_0x3f920e,_0x2e1f1d,_0x2c08e6=>{const _0x20aca7=_0x56973f;if(_0x2c08e6){_0x5cf776[_0x20aca7(0xd6)](debug,_0x20aca7(0x112)+_0x2c08e6[_0x20aca7(0x10c)]());return;}_0x5cf776[_0x20aca7(0xfc)](debug,_0x20aca7(0x169)+_0x3f920e);});if(_0x3ec94b)return this['calculateTimeFromEvents'](this[_0x56973f(0x14e)],_0x3ec94b);}static[a118_0x5b48c3(0xd4)](_0x4bcf19){const _0x276bd6=a118_0x5b48c3,_0x7aa935={};_0x7aa935[_0x276bd6(0x149)]=_0x276bd6(0x158),_0x7aa935[_0x276bd6(0x14f)]=_0x276bd6(0x10b),_0x7aa935[_0x276bd6(0xdb)]=_0x276bd6(0xdd),_0x7aa935[_0x276bd6(0x105)]=_0x276bd6(0xd2);const _0x36bdd7=_0x7aa935;let _0x128056=_0x36bdd7[_0x276bd6(0x149)];return _0x128056+=_0x36bdd7[_0x276bd6(0x14f)],_0x128056+=_0x36bdd7[_0x276bd6(0xdb)],_0x4bcf19[_0x276bd6(0x153)](_0x3507e0=>{const _0x11cd9b=_0x276bd6;_0x128056+=_0x11cd9b(0x170)+_0x3507e0[_0x11cd9b(0xcb)]+'</td><td>'+_0x3507e0[_0x11cd9b(0x10e)]+_0x11cd9b(0x107);}),_0x128056+=_0x36bdd7[_0x276bd6(0x105)],_0x128056;}static[a118_0x5b48c3(0x11d)](_0x7a6951){const _0x3ebae2=a118_0x5b48c3;if(!this[_0x3ebae2(0x126)])return;const _0x167e9f={};_0x7a6951['map'](_0x10ee05=>{const _0x931dd1=_0x3ebae2;!_0x167e9f[_0x10ee05[_0x931dd1(0xcb)]]&&(_0x167e9f[_0x10ee05['name']]=0x0),_0x167e9f[_0x10ee05[_0x931dd1(0xcb)]]+=_0x10ee05[_0x931dd1(0x10e)];});const _0x43396f=Object[_0x3ebae2(0xeb)](_0x167e9f)[_0x3ebae2(0x157)](([_0x3805d2,_0x3585b7])=>{const _0x5f3755=_0x3ebae2,_0x2c2585={};return _0x2c2585[_0x5f3755(0xcb)]=_0x3805d2,_0x2c2585[_0x5f3755(0x10e)]=_0x3585b7,_0x2c2585;});fs[_0x3ebae2(0xf1)](this[_0x3ebae2(0x126)],JSON[_0x3ebae2(0x11f)](_0x43396f));}static[a118_0x5b48c3(0xc6)](){const _0x18cd0f=a118_0x5b48c3,_0x4d6660={};_0x4d6660[_0x18cd0f(0x15d)]=function(_0x1ec92e,_0x15296a){return _0x1ec92e===_0x15296a;},_0x4d6660[_0x18cd0f(0x121)]=_0x18cd0f(0x141);const _0x58ee6f=_0x4d6660;return!_0x58ee6f[_0x18cd0f(0x15d)](process[_0x18cd0f(0x101)][_0x18cd0f(0xf5)],_0x58ee6f[_0x18cd0f(0x121)]);}static[a118_0x5b48c3(0xc4)](_0x255dfc,_0x3c842c,_0x2a3e5d=null,_0xcc1dac={},_0x589628=null){const _0x41a11c=a118_0x5b48c3,_0x19cb71={'yhMiB':function(_0xdb79dc,_0x2fc323){return _0xdb79dc(_0x2fc323);},'bhjdP':function(_0x3d26eb,_0x28aab1){return _0x3d26eb instanceof _0x28aab1;}};try{if(this['started']&&this[_0x41a11c(0xc6)]()){let _0x43e1ef=_0x255dfc;_0x2a3e5d&&(_0x43e1ef=_0x255dfc+'['+JSON[_0x41a11c(0x11f)](_0x2a3e5d)+']');PerformanceTester[_0x41a11c(0x13a)](_0x43e1ef),this[_0x41a11c(0x111)]&&(this[_0x41a11c(0x111)][_0x43e1ef]=_0xcc1dac);try{const _0x2dcbd4=_0x3c842c[_0x41a11c(0x13c)](null,_0x589628);if(_0x19cb71[_0x41a11c(0x118)](_0x2dcbd4,Promise))return new Promise((_0x1156da,_0x46cf32)=>{const _0x3e5e5b=_0x41a11c;_0x2dcbd4[_0x3e5e5b(0x163)](_0x2bde31=>{PerformanceTester['end'](_0x43e1ef),_0x19cb71['yhMiB'](_0x1156da,_0x2bde31);})[_0x3e5e5b(0x145)](_0x328dec=>{const _0x4a45ba=_0x3e5e5b;PerformanceTester[_0x4a45ba(0x168)](_0x43e1ef,![],util[_0x4a45ba(0x12b)](_0x328dec)),_0x19cb71['yhMiB'](_0x46cf32,_0x328dec);});});;return PerformanceTester[_0x41a11c(0x168)](_0x43e1ef),_0x2dcbd4;}catch(_0x5ca023){PerformanceTester[_0x41a11c(0x168)](_0x43e1ef,![],util[_0x41a11c(0x12b)](_0x5ca023));throw _0x5ca023;}};return _0x3c842c[_0x41a11c(0x13c)](null,_0x589628);}catch(_0x936a01){return logger[_0x41a11c(0xc7)](_0x41a11c(0xdc)+(_0x936a01[_0x41a11c(0x14c)]||_0x936a01[_0x41a11c(0x110)]||_0x936a01)),_0x3c842c[_0x41a11c(0x13c)](null,_0x589628);}}static['measureWrapper'](_0xa0883e,_0x1752a0,_0x2d932d={}){const _0x6191e8=a118_0x5b48c3,_0x3a0916={'YIOPC':function(_0x12a043){return _0x12a043();}},_0x1bfd40=this;return _0x2d932d['worker']=_0x3a0916['YIOPC'](getProcessId),_0x2d932d['testName']=_0x3a0916[_0x6191e8(0x16c)](getTestName),_0x2d932d['platform']=global[_0x6191e8(0x143)]&&global[_0x6191e8(0x143)][_0x6191e8(0x166)],function(){const _0x1f884d=_0x6191e8,_0x584fa4=[_0xa0883e,_0x1752a0,null,_0x2d932d][_0x1f884d(0x14a)](arguments);return _0x1bfd40[_0x1f884d(0xc4)]['apply'](_0x1bfd40,_0x584fa4);};}static[a118_0x5b48c3(0x15b)](){const _0x262f5b=a118_0x5b48c3,_0xa21a4d=/(^.*)\[(.*)\]$/,_0x1d0f0c={},_0x247040={},_0x28ff07=[],_0xa15a58=this[_0x262f5b(0x138)][_0x262f5b(0xdf)](0x0,this[_0x262f5b(0x138)][_0x262f5b(0x15f)]);for(const _0xa60a24 of _0xa15a58){const _0x5d71c3=_0xa60a24[_0x262f5b(0xcb)][_0x262f5b(0x119)](_0xa21a4d),_0x187ceb=Object[_0x262f5b(0x142)]({},_0xa60a24);_0x5d71c3&&(_0x187ceb[_0x262f5b(0xcb)]=_0x5d71c3[0x1],_0x187ceb[_0x262f5b(0xf8)]=JSON[_0x262f5b(0xd1)](_0x5d71c3[0x2])),_0x28ff07[_0x262f5b(0x130)](_0x187ceb);}return _0x28ff07;}static['pushPerfMeasures'](){const _0x29ab55=a118_0x5b48c3,_0x3e908f={'ZiyGn':function(_0x1cef28){return _0x1cef28();},'wSLEF':function(_0x2a794c,_0x1e7805){return _0x2a794c+_0x1e7805;},'qkgMo':'Error\x20while\x20removing\x20files:\x20','qsMYX':function(_0x8f6556,_0x4b06d0){return _0x8f6556===_0x4b06d0;},'mmBNh':function(_0xb11b25,_0x2d6823){return _0xb11b25+_0x2d6823;}};try{this['jsonReportDirPath']=path[_0x29ab55(0xe4)](_0x3e908f[_0x29ab55(0x11a)](getLogDir),this[_0x29ab55(0x16d)]);if(fs['existsSync'](this[_0x29ab55(0xfa)])){const _0x98ede0=fs['readdirSync'](this[_0x29ab55(0xfa)]);for(const _0x5ecf06 of _0x98ede0){fs[_0x29ab55(0x10a)](path[_0x29ab55(0xe4)](this[_0x29ab55(0xfa)],_0x5ecf06));}}}catch(_0x20be8d){logger[_0x29ab55(0xc7)](_0x3e908f[_0x29ab55(0x12e)](_0x3e908f[_0x29ab55(0xe3)],_0x20be8d));}if(_0x3e908f[_0x29ab55(0xea)](this[_0x29ab55(0x138)][_0x29ab55(0x15f)],0x0))return;const _0x1bd595=this[_0x29ab55(0x15b)](),_0x5d5683=JSON[_0x29ab55(0x11f)](_0x1bd595),_0x4247b8=_0x3e908f['mmBNh'](_0x5d5683['slice'](0x1,-0x1),',');fs['appendFileSync'](this['jsonReportFileName'],_0x4247b8);}static async['finalizePerfMeasures'](){const _0x12c129=a118_0x5b48c3,_0x53ef7e={'VvhzB':function(_0xbbffb4){return _0xbbffb4();},'ziZFJ':function(_0x152c5a,_0xc225a7){return _0x152c5a===_0xc225a7;},'kdqtC':_0x12c129(0x120),'xiYPg':_0x12c129(0x123),'OgzQf':_0x12c129(0x16e),'qdVVN':function(_0x60f9b8,_0x4cd0da){return _0x60f9b8+_0x4cd0da;},'nWNHc':'Error\x20processing\x20key-metrics.json:\x20%s','OkXKt':_0x12c129(0x146),'vFJQD':_0x12c129(0xbf),'vDQjg':function(_0x223ff7,_0x4bdc5f){return _0x223ff7>_0x4bdc5f;}};this[_0x12c129(0xfa)]=path[_0x12c129(0xe4)](_0x53ef7e['VvhzB'](getLogDir),this[_0x12c129(0x16d)]);if(!this['started']||_0x53ef7e['ziZFJ'](this[_0x12c129(0x138)][_0x12c129(0x15f)],0x0))return[];if(!fs['existsSync'](this['jsonReportDirPath']))return this[_0x12c129(0x138)];const _0x5be479=(await fsPromise['readdir'](this['jsonReportDirPath']))[_0x12c129(0x157)](_0x1cff08=>path[_0x12c129(0x103)](this['jsonReportDirPath'],_0x1cff08));try{const _0x4cb468=path[_0x12c129(0xfe)](this[_0x12c129(0xfa)]),_0x112c95=path[_0x12c129(0xe4)](_0x4cb468,_0x53ef7e[_0x12c129(0xc3)]);if(fs['existsSync'](_0x112c95))try{await fsPromise[_0x12c129(0x139)](_0x112c95,fs[_0x12c129(0xc0)][_0x12c129(0x155)]);const _0xf19b4e=await fsPromise[_0x12c129(0x115)](_0x112c95,_0x53ef7e['xiYPg']),_0x109ded=JSON['parse'](_0xf19b4e),_0x13e6e2=path[_0x12c129(0xe4)](this[_0x12c129(0xfa)],_0x53ef7e[_0x12c129(0xf6)]);let _0x31bf90='';Array[_0x12c129(0xee)](_0x109ded)?_0x31bf90=_0x53ef7e[_0x12c129(0xf3)](_0x109ded[_0x12c129(0x157)](_0x3ef651=>JSON[_0x12c129(0x11f)](_0x3ef651))['join'](','),','):_0x31bf90=_0x53ef7e[_0x12c129(0xf3)](JSON[_0x12c129(0x11f)](_0x109ded),','),await fsPromise[_0x12c129(0x11b)](_0x13e6e2,_0x31bf90),_0x5be479[_0x12c129(0x130)](_0x13e6e2),await fsPromise[_0x12c129(0x161)](_0x112c95);}catch(_0x988816){logger[_0x12c129(0x160)](util[_0x12c129(0x12b)](_0x53ef7e[_0x12c129(0x140)],_0x988816[_0x12c129(0x14c)]||_0x988816[_0x12c129(0x110)]||_0x988816));}else logger[_0x12c129(0x160)](_0x53ef7e[_0x12c129(0x133)]);}catch(_0x5023c1){logger[_0x12c129(0x160)](util[_0x12c129(0x12b)](_0x53ef7e[_0x12c129(0x106)],_0x5023c1[_0x12c129(0x14c)]||_0x5023c1[_0x12c129(0x110)]||_0x5023c1));}let _0x1ee095=(await Promise[_0x12c129(0x124)](_0x5be479[_0x12c129(0x157)](_0x40f30a=>fsPromise[_0x12c129(0x115)](_0x40f30a,_0x12c129(0x123)))))[_0x12c129(0x157)](_0x2ed1cf=>'['+_0x2ed1cf['slice'](0x0,-0x1)+']')[_0x12c129(0x157)](_0x59a27f=>JSON[_0x12c129(0xd1)](_0x59a27f))[_0x12c129(0x151)]();return _0x53ef7e[_0x12c129(0xda)](this['_measureEvents']['length'],0x0)&&(_0x1ee095=_0x1ee095[_0x12c129(0x14a)](this[_0x12c129(0x15b)]())),this['_observer'][_0x12c129(0xd7)](),_0x1ee095;}static[a118_0x5b48c3(0x144)](){const _0x426a94=a118_0x5b48c3,_0x12d9d2={};_0x12d9d2[_0x426a94(0x16f)]=function(_0x4f5ef2,_0x4b469e){return _0x4f5ef2===_0x4b469e;},_0x12d9d2[_0x426a94(0x16b)]=function(_0x18ec90,_0x54d619){return _0x18ec90+_0x54d619;};const _0x475b89=_0x12d9d2;if(_0x475b89[_0x426a94(0x16f)](this['_errorEvents'][_0x426a94(0x15f)],0x0))return;const _0x242336=JSON['stringify'](this[_0x426a94(0x13b)]),_0x46e199=_0x475b89['MnRkF'](_0x242336[_0x426a94(0x134)](0x1,-0x1),',');fs['appendFileSync'](this[_0x426a94(0xfb)],_0x46e199);}static[a118_0x5b48c3(0x131)](){const _0x278d31=a118_0x5b48c3,_0x1d3c3c={};_0x1d3c3c[_0x278d31(0x164)]=function(_0x412ba6,_0x505ac1){return _0x412ba6>_0x505ac1;};const _0x3cdaba=_0x1d3c3c;if(this['errorReportFileName']){if(!fs['existsSync'](this[_0x278d31(0xf9)]))return this[_0x278d31(0x13b)];let _0x3e11bd=fs[_0x278d31(0x102)](this[_0x278d31(0xf9)])['toString']();_0x3e11bd='['+_0x3e11bd[_0x278d31(0x134)](0x0,-0x1)+']';let _0x263c7d=JSON[_0x278d31(0xd1)](_0x3e11bd);return _0x3cdaba[_0x278d31(0x164)](this['_errorEvents'][_0x278d31(0x15f)],0x0)&&(_0x263c7d=_0x263c7d[_0x278d31(0x14a)](this[_0x278d31(0x13b)])),fs[_0x278d31(0x10a)](this[_0x278d31(0xf9)]),_0x263c7d;}}static['captureError'](_0x1c40f9){const _0x4ba27b=a118_0x5b48c3;if(!this[_0x4ba27b(0xc6)]())return;this[_0x4ba27b(0x13b)][_0x4ba27b(0x130)]({'message':_0x1c40f9['message'],'trace':_0x1c40f9[_0x4ba27b(0x14c)],'code':_0x1c40f9[_0x4ba27b(0x11e)]||null,'time':new Date()});}static[a118_0x5b48c3(0x15e)](){const _0x18119d=a118_0x5b48c3;try{if(!this[_0x18119d(0xc6)]())return;this[_0x18119d(0x12f)][_0x18119d(0xd7)](),this[_0x18119d(0xce)](),this[_0x18119d(0x144)]();}catch(_0x29a45a){logger['debug'](_0x18119d(0x148)+util['format'](_0x29a45a));}}static async[a118_0x5b48c3(0x125)](){const _0x42e353=a118_0x5b48c3,_0x5ec595={'DWmyQ':function(_0x38f155,_0x547677){return _0x38f155(_0x547677);}};await _0x5ec595[_0x42e353(0xfd)](sleep,0x1e);const _0x303578=await this[_0x42e353(0xc2)](),_0x58ba90=this[_0x42e353(0x131)]();if(!this[_0x42e353(0xc6)]()){const _0xc022e0={};return _0xc022e0['measures']=[],_0xc022e0['errors']=[],_0xc022e0;}const _0xcd3d3e={};return _0xcd3d3e[_0x42e353(0x15a)]=_0x303578,_0xcd3d3e['errors']=_0x58ba90,_0xcd3d3e;}static[a118_0x5b48c3(0x13a)](_0x5b17d5){const _0x14d620=a118_0x5b48c3,_0x5441cc={};_0x5441cc[_0x14d620(0xe7)]=function(_0x21ca4e,_0x3888fb){return _0x21ca4e+_0x3888fb;},_0x5441cc[_0x14d620(0xf2)]=_0x14d620(0xd0);const _0x16a420=_0x5441cc,_0xe171b4=_0x16a420[_0x14d620(0xe7)](_0x5b17d5,_0x16a420[_0x14d620(0xf2)]);if(this[_0x14d620(0x11c)][_0xe171b4])return;performance[_0x14d620(0x10f)](_0xe171b4),this[_0x14d620(0x11c)][_0xe171b4]=0x1;}static[a118_0x5b48c3(0x168)](_0x322b49,_0xae7122=!![],_0x84672a=null,_0x557842={}){const _0x27c7d1=a118_0x5b48c3,_0xbb787b={'EXCXQ':function(_0x5bd97a,_0x309283){return _0x5bd97a+_0x309283;},'iHWmn':'-end','DGuyS':'-start','jDXOQ':function(_0x288ba5,_0x17f563){return _0x288ba5+_0x17f563;},'GRDWb':function(_0x288142){return _0x288142();},'UuZfS':function(_0x3ab5e7){return _0x3ab5e7();}};performance[_0x27c7d1(0x10f)](_0xbb787b[_0x27c7d1(0x171)](_0x322b49,_0xbb787b['iHWmn'])),performance['measure'](_0x322b49,_0xbb787b[_0x27c7d1(0x171)](_0x322b49,_0xbb787b[_0x27c7d1(0x116)]),_0xbb787b[_0x27c7d1(0xd9)](_0x322b49,_0xbb787b[_0x27c7d1(0x12a)]));const _0x11cdcd={};_0x11cdcd[_0x27c7d1(0xe6)]=_0xae7122,_0x11cdcd[_0x27c7d1(0xf4)]=_0x84672a,this['details'][_0x322b49]=Object['assign'](_0x11cdcd,Object[_0x27c7d1(0x142)](Object[_0x27c7d1(0x142)]({'worker':_0xbb787b[_0x27c7d1(0x165)](getProcessId),'platform':global['__platformCaps']&&global[_0x27c7d1(0x143)][_0x27c7d1(0x166)],'testName':_0xbb787b[_0x27c7d1(0xde)](getTestName)},_0x557842),this['details'][_0x322b49]||{}));}}module[a118_0x5b48c3(0xe0)]=PerformanceTester;
1
+ const a120_0x47c8bf=a120_0xeebf;function a120_0xeebf(_0x4f6464,_0x49cf71){const _0x5d7bac=a120_0x5d7b();return a120_0xeebf=function(_0xeebf87,_0x8cca3){_0xeebf87=_0xeebf87-0xd8;let _0x2952a4=_0x5d7bac[_0xeebf87];return _0x2952a4;},a120_0xeebf(_0x4f6464,_0x49cf71);}(function(_0x538ba9,_0x1fe38a){const _0x34bdde=a120_0xeebf,_0x57e42b=_0x538ba9();while(!![]){try{const _0x16d24c=parseInt(_0x34bdde(0x138))/0x1+parseInt(_0x34bdde(0x172))/0x2*(-parseInt(_0x34bdde(0x17b))/0x3)+-parseInt(_0x34bdde(0x110))/0x4+-parseInt(_0x34bdde(0x12d))/0x5*(-parseInt(_0x34bdde(0x14b))/0x6)+-parseInt(_0x34bdde(0x153))/0x7*(parseInt(_0x34bdde(0x156))/0x8)+-parseInt(_0x34bdde(0x15e))/0x9+parseInt(_0x34bdde(0x154))/0xa;if(_0x16d24c===_0x1fe38a)break;else _0x57e42b['push'](_0x57e42b['shift']());}catch(_0x3f0e82){_0x57e42b['push'](_0x57e42b['shift']());}}}(a120_0x5d7b,0x34d0c));const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a120_0x47c8bf(0x152)),path=require(a120_0x47c8bf(0x125)),util=require('util'),logger=require(a120_0x47c8bf(0x164))['winstonLogger'],{getLogDir}=require(a120_0x47c8bf(0x164)),{getProcessId,sleep,debug,getTestName}=require(a120_0x47c8bf(0x108));class PerformanceTester{static [a120_0x47c8bf(0x118)];static [a120_0x47c8bf(0xfc)]=[];static [a120_0x47c8bf(0x104)]=[];static [a120_0x47c8bf(0x16d)]=[];static [a120_0x47c8bf(0x12b)]=![];static [a120_0x47c8bf(0x16e)]='performance-report';static [a120_0x47c8bf(0x137)]=process[a120_0x47c8bf(0x140)]['browserStackCwd']?path[a120_0x47c8bf(0x109)](process[a120_0x47c8bf(0x140)]['browserStackCwd'],'error-report'):path[a120_0x47c8bf(0x109)](process[a120_0x47c8bf(0xef)](),a120_0x47c8bf(0xdf));static [a120_0x47c8bf(0x13b)]=this[a120_0x47c8bf(0x137)]+'/error-report-'+getProcessId()+a120_0x47c8bf(0xdd);static ['details']={};static [a120_0x47c8bf(0x117)]={};static[a120_0x47c8bf(0x13a)](_0xc39cc3,_0x420ed5=this[a120_0x47c8bf(0x137)]+a120_0x47c8bf(0x14e)+getProcessId()+'.json'){const _0x1edc80=a120_0x47c8bf,_0x5d3a64={'fBDpP':function(_0x5253dc,_0x571239){return _0x5253dc===_0x571239;},'Ukgbh':_0x1edc80(0x111),'gaChG':function(_0x3e82ae){return _0x3e82ae();},'LOkZL':function(_0x1fb137){return _0x1fb137();},'mIlCm':function(_0x358f58,_0x5d3f84){return _0x358f58+_0x5d3f84;},'nUhsb':'Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','iuThy':_0x1edc80(0xdb)};try{this[_0x1edc80(0x116)]=path[_0x1edc80(0x109)](_0x5d3a64[_0x1edc80(0x12f)](getLogDir),this['jsonReportDirName']),!_0xc39cc3&&(_0xc39cc3=this[_0x1edc80(0x116)]+_0x1edc80(0x16c)+_0x5d3a64[_0x1edc80(0xf9)](getProcessId)+'.json'),!fs[_0x1edc80(0x12c)](this[_0x1edc80(0x116)])&&fs['mkdirSync'](this[_0x1edc80(0x116)]);}catch(_0x5068fc){logger[_0x1edc80(0x11b)](_0x5d3a64[_0x1edc80(0xe7)](_0x5d3a64[_0x1edc80(0x13c)],_0x5068fc));}if(this['started']||!this[_0x1edc80(0x136)]())return;this[_0x1edc80(0x118)]=new PerformanceObserver(_0x5bd559=>{const _0x3867f3={'DVDdl':function(_0x247569,_0x552994){return _0x5d3a64['fBDpP'](_0x247569,_0x552994);},'fKRlE':_0x5d3a64['Ukgbh']};_0x5bd559['getEntries']()['forEach'](_0x102a55=>{const _0x31d60b=a120_0xeebf;if(_0x3867f3[_0x31d60b(0xfa)](_0x102a55[_0x31d60b(0x157)],_0x3867f3[_0x31d60b(0xe8)])){let _0x2b4cb2={};if(_0x102a55[_0x31d60b(0x17e)])_0x2b4cb2=_0x102a55[_0x31d60b(0x17e)]();else for(const _0x5f0adc in _0x102a55){_0x2b4cb2[_0x5f0adc]=_0x102a55[_0x5f0adc];}this[_0x31d60b(0x15d)][_0x102a55[_0x31d60b(0x145)]]&&(_0x2b4cb2=Object[_0x31d60b(0x16f)](_0x2b4cb2,this['details'][_0x102a55['name']])),delete this[_0x31d60b(0x15d)][_0x102a55[_0x31d60b(0x145)]],this[_0x31d60b(0x104)][_0x31d60b(0x135)](_0x2b4cb2);}else this['_events']['push'](_0x102a55);});});const _0x36ffc5={};_0x36ffc5[_0x1edc80(0x126)]=!![],_0x36ffc5[_0x1edc80(0xe0)]=[_0x5d3a64[_0x1edc80(0x148)],_0x5d3a64[_0x1edc80(0xf4)]],this['_observer'][_0x1edc80(0x147)](_0x36ffc5),this[_0x1edc80(0x12b)]=!![],this[_0x1edc80(0x161)]=_0xc39cc3,this['errorReportFileName']=_0x420ed5;}static['getPerformance'](){return performance;}static[a120_0x47c8bf(0x143)](_0x5e1992,_0xbb4336){const _0x29c9b1=a120_0x47c8bf,_0x422553={};_0x422553[_0x29c9b1(0xee)]=function(_0x3bc81f,_0x200fc1){return _0x3bc81f+_0x200fc1;},_0x422553['myXFh']=function(_0x2b783a,_0x4e7945){return _0x2b783a||_0x4e7945;},_0x422553['UOhTl']=function(_0x240cdf,_0x2d298f){return _0x240cdf===_0x2d298f;};const _0x336863=_0x422553,_0x5e481d={};if(!_0x5e1992||_0x336863[_0x29c9b1(0x124)](_0x5e1992[_0x29c9b1(0x133)],0x0))return;_0x5e1992[_0x29c9b1(0x169)](_0x3000f5=>{const _0x3e4ea5=_0x29c9b1;!_0x5e481d[_0x3000f5[_0x3e4ea5(0x145)]]&&(_0x5e481d[_0x3000f5['name']]=0x0),_0x5e481d[_0x3000f5[_0x3e4ea5(0x145)]]+=_0x3000f5['duration'];});const _0x4a07ac=_0xbb4336['reduce']((_0x906fe4,_0x57e5d9)=>{const _0x12e1b7=_0x29c9b1;return _0x336863[_0x12e1b7(0xee)](_0x5e481d[_0x57e5d9],_0x336863[_0x12e1b7(0x184)](_0x906fe4,0x0));},0x0);return _0x4a07ac;}static async['calculateTimesFromMultipleFiles'](_0x2725e5,_0x20b4f6){const _0xa1d7bd=a120_0x47c8bf,_0x25a40d={'WOYjE':function(_0x399deb,_0xe35de2){return _0x399deb+_0xe35de2;},'okeQi':function(_0x4a91a6,_0xa648d1){return _0x4a91a6||_0xa648d1;},'VnPoU':function(_0x1199ae,_0x4b14ae){return _0x1199ae===_0x4b14ae;},'BKEfE':function(_0x330fc1,_0x5f043b){return _0x330fc1(_0x5f043b);}};if(!_0x2725e5||_0x25a40d[_0xa1d7bd(0x180)](_0x2725e5[_0xa1d7bd(0x133)],0x0))return 0x0;const _0x2ced00=[];for(const _0x563d85 of _0x2725e5){const _0x3872d5=path[_0xa1d7bd(0x109)]('.',_0x563d85);try{const _0x5f2d41=this[_0xa1d7bd(0x155)](_0x3872d5);_0x5f2d41['map'](_0x435505=>{const _0x1931ce=_0xa1d7bd;!_0x2ced00[_0x435505[_0x1931ce(0x145)]]&&(_0x2ced00[_0x435505[_0x1931ce(0x145)]]=0x0),_0x2ced00[_0x435505[_0x1931ce(0x145)]]+=_0x435505['duration'];});}catch(_0x18383a){_0x25a40d[_0xa1d7bd(0x163)](debug,_0xa1d7bd(0xd8)+_0x18383a[_0xa1d7bd(0x170)]());}}const _0x33083a=_0x20b4f6['reduce']((_0x5c2ed6,_0x106afd)=>{const _0x272870=_0xa1d7bd;return _0x25a40d[_0x272870(0xfb)](_0x2ced00[_0x106afd],_0x25a40d[_0x272870(0x15b)](_0x5c2ed6,0x0));},0x0);return _0x25a40d[_0xa1d7bd(0x163)](debug,_0xa1d7bd(0x14a)+_0x20b4f6+_0xa1d7bd(0xe1)+_0x33083a),_0x33083a;}static[a120_0x47c8bf(0x155)](_0xdf7b4c){const _0x4be89c=a120_0x47c8bf;if(_0xdf7b4c){if(!fs[_0x4be89c(0x12c)](_0xdf7b4c))return[];return JSON[_0x4be89c(0xd9)](fs[_0x4be89c(0x160)](_0xdf7b4c)[_0x4be89c(0x170)]());}}static async[a120_0x47c8bf(0xf3)](_0x55adcc='performance-own.html',_0x453e9a=null){const _0x575765=a120_0x47c8bf,_0x1e4b24={'gJskf':function(_0x1e2a09,_0x14066e){return _0x1e2a09(_0x14066e);},'Xreyd':function(_0x3e4054,_0x3b3988){return _0x3e4054(_0x3b3988);}};if(!this['started'])return;await _0x1e4b24[_0x575765(0x158)](sleep,0x1e),this['_observer']['disconnect'](),this['started']=![],this[_0x575765(0x16b)](this[_0x575765(0xfc)]);const _0x4dfb90=this[_0x575765(0xfe)](this[_0x575765(0xfc)]),_0x12158b=path[_0x575765(0x109)](process[_0x575765(0xef)](),_0x55adcc);fs['writeFile'](_0x12158b,_0x4dfb90,_0x21f42c=>{const _0x443d51=_0x575765;if(_0x21f42c){_0x1e4b24[_0x443d51(0x158)](debug,'Error\x20in\x20writing\x20html\x20'+_0x21f42c[_0x443d51(0x170)]());return;}_0x1e4b24['Xreyd'](debug,_0x443d51(0xde)+_0x12158b);});if(_0x453e9a)return this[_0x575765(0x143)](this[_0x575765(0xfc)],_0x453e9a);}static[a120_0x47c8bf(0xfe)](_0x51c97b){const _0x261fd0=a120_0x47c8bf,_0x5d4ce5={};_0x5d4ce5['LHuGV']=_0x261fd0(0xe9),_0x5d4ce5['fcilk']='<h1>Performance\x20Report</h1>',_0x5d4ce5['dCKAU']='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x5d4ce5[_0x261fd0(0x13d)]=_0x261fd0(0x149);const _0x4562e9=_0x5d4ce5;let _0x234219=_0x4562e9[_0x261fd0(0x127)];return _0x234219+=_0x4562e9[_0x261fd0(0xed)],_0x234219+=_0x4562e9[_0x261fd0(0x10e)],_0x51c97b['forEach'](_0x379f82=>{const _0x4fcf2c=_0x261fd0;_0x234219+='<tr><td>'+_0x379f82[_0x4fcf2c(0x145)]+_0x4fcf2c(0x10c)+_0x379f82[_0x4fcf2c(0x11d)]+_0x4fcf2c(0x175);}),_0x234219+=_0x4562e9[_0x261fd0(0x13d)],_0x234219;}static[a120_0x47c8bf(0x16b)](_0x4fe9c5){const _0x56c629=a120_0x47c8bf;if(!this['jsonReportFileName'])return;const _0x1e6654={};_0x4fe9c5[_0x56c629(0x169)](_0x3c722e=>{const _0x1ac41f=_0x56c629;!_0x1e6654[_0x3c722e[_0x1ac41f(0x145)]]&&(_0x1e6654[_0x3c722e[_0x1ac41f(0x145)]]=0x0),_0x1e6654[_0x3c722e[_0x1ac41f(0x145)]]+=_0x3c722e['duration'];});const _0x6b9e94=Object[_0x56c629(0x123)](_0x1e6654)['map'](([_0x4361f4,_0x405000])=>{const _0x5be613=_0x56c629,_0x36ae5e={};return _0x36ae5e[_0x5be613(0x145)]=_0x4361f4,_0x36ae5e[_0x5be613(0x11d)]=_0x405000,_0x36ae5e;});fs[_0x56c629(0x10b)](this[_0x56c629(0x161)],JSON[_0x56c629(0x165)](_0x6b9e94));}static[a120_0x47c8bf(0x136)](){const _0x191407=a120_0x47c8bf,_0xf269f3={};_0xf269f3[_0x191407(0xf7)]=function(_0x11b934,_0x378a57){return _0x11b934===_0x378a57;},_0xf269f3[_0x191407(0x182)]=_0x191407(0x17f);const _0x2e521d=_0xf269f3;return!_0x2e521d[_0x191407(0xf7)](process[_0x191407(0x140)][_0x191407(0x181)],_0x2e521d[_0x191407(0x182)]);}static[a120_0x47c8bf(0x111)](_0x143ae0,_0xb75885,_0x1a5ca6=null,_0x16df19={},_0x45e95c=null){const _0x53f268=a120_0x47c8bf,_0x27893c={'hhzzI':function(_0x2cac06,_0x1796bc){return _0x2cac06(_0x1796bc);},'zBihf':function(_0x41462a,_0x12de6c){return _0x41462a(_0x12de6c);},'ShKhf':function(_0x11c84e,_0xba2ddc){return _0x11c84e instanceof _0xba2ddc;}};try{if(this[_0x53f268(0x12b)]&&this['isEnabled']()){let _0x1b89ef=_0x143ae0;_0x1a5ca6&&(_0x1b89ef=_0x143ae0+'['+JSON[_0x53f268(0x165)](_0x1a5ca6)+']');PerformanceTester[_0x53f268(0x112)](_0x1b89ef),this[_0x53f268(0x15d)]&&(this[_0x53f268(0x15d)][_0x1b89ef]=_0x16df19);try{const _0x13922a=_0xb75885[_0x53f268(0x14d)](null,_0x45e95c);if(_0x27893c['ShKhf'](_0x13922a,Promise))return new Promise((_0x468a7d,_0x4c7d24)=>{const _0x6ad9c1=_0x53f268,_0x4d23cd={'alQdT':function(_0x3218d5,_0x4b6d94){const _0x1a4798=a120_0xeebf;return _0x27893c[_0x1a4798(0x132)](_0x3218d5,_0x4b6d94);}};_0x13922a[_0x6ad9c1(0x102)](_0x5d9a20=>{const _0x57c74e=_0x6ad9c1;PerformanceTester[_0x57c74e(0x150)](_0x1b89ef),_0x27893c[_0x57c74e(0xf8)](_0x468a7d,_0x5d9a20);})[_0x6ad9c1(0xf0)](_0x4801ce=>{const _0x103bfd=_0x6ad9c1;PerformanceTester['end'](_0x1b89ef,![],util[_0x103bfd(0x115)](_0x4801ce)),_0x4d23cd['alQdT'](_0x4c7d24,_0x4801ce);});});;return PerformanceTester[_0x53f268(0x150)](_0x1b89ef),_0x13922a;}catch(_0x3aadd0){PerformanceTester['end'](_0x1b89ef,![],util[_0x53f268(0x115)](_0x3aadd0));throw _0x3aadd0;}};return _0xb75885[_0x53f268(0x14d)](null,_0x45e95c);}catch(_0x4bc9dc){return logger[_0x53f268(0x11b)](_0x53f268(0xda)+(_0x4bc9dc['stack']||_0x4bc9dc[_0x53f268(0x130)]||_0x4bc9dc)),_0xb75885[_0x53f268(0x14d)](null,_0x45e95c);}}static['measureWrapper'](_0x3c9f98,_0x17ea3b,_0x31e76c={}){const _0x107fe7=a120_0x47c8bf,_0x2c7b24={'NIoxK':function(_0x172cfd){return _0x172cfd();},'AUXdt':function(_0x26d756){return _0x26d756();}},_0x2d0b2f=this;return _0x31e76c[_0x107fe7(0xfd)]=_0x2c7b24[_0x107fe7(0x167)](getProcessId),_0x31e76c[_0x107fe7(0x183)]=_0x2c7b24[_0x107fe7(0x171)](getTestName),_0x31e76c[_0x107fe7(0x11f)]=global[_0x107fe7(0xdc)]&&global[_0x107fe7(0xdc)]['index'],function(){const _0x106829=_0x107fe7,_0xe8683a=[_0x3c9f98,_0x17ea3b,null,_0x31e76c][_0x106829(0x15c)](arguments);return _0x2d0b2f[_0x106829(0x111)][_0x106829(0x14d)](_0x2d0b2f,_0xe8683a);};}static[a120_0x47c8bf(0x166)](){const _0x3d11c2=a120_0x47c8bf,_0x5ab9cd=/(^.*)\[(.*)\]$/,_0x2f8f59={},_0x4e31fd={},_0x17f93e=[],_0x5c70f1=this['_measureEvents'][_0x3d11c2(0x129)](0x0,this[_0x3d11c2(0x104)][_0x3d11c2(0x133)]);for(const _0x4522fa of _0x5c70f1){const _0x42c258=_0x4522fa[_0x3d11c2(0x145)][_0x3d11c2(0x128)](_0x5ab9cd),_0x45763f=Object[_0x3d11c2(0x16f)]({},_0x4522fa);_0x42c258&&(_0x45763f[_0x3d11c2(0x145)]=_0x42c258[0x1],_0x45763f[_0x3d11c2(0x144)]=JSON[_0x3d11c2(0xd9)](_0x42c258[0x2])),_0x17f93e[_0x3d11c2(0x135)](_0x45763f);}return _0x17f93e;}static[a120_0x47c8bf(0x17a)](){const _0x5927c5=a120_0x47c8bf,_0x518378={'LERqC':function(_0x149ba1){return _0x149ba1();},'DVftM':function(_0x399dcb,_0x22b8fc){return _0x399dcb+_0x22b8fc;},'Yfzqi':_0x5927c5(0x122),'TReJj':function(_0x539021,_0x156eae){return _0x539021===_0x156eae;},'sHoeC':function(_0x3d3f72,_0x1606ce){return _0x3d3f72+_0x1606ce;}};try{this['jsonReportDirPath']=path['join'](_0x518378[_0x5927c5(0x12e)](getLogDir),this[_0x5927c5(0x16e)]);if(fs[_0x5927c5(0x12c)](this['jsonReportDirPath'])){const _0x245818=fs['readdirSync'](this[_0x5927c5(0x116)]);for(const _0x1746e3 of _0x245818){fs[_0x5927c5(0xf1)](path[_0x5927c5(0x109)](this[_0x5927c5(0x116)],_0x1746e3));}}}catch(_0x3ad534){logger[_0x5927c5(0x11b)](_0x518378[_0x5927c5(0x14c)](_0x518378[_0x5927c5(0x151)],_0x3ad534));}if(_0x518378[_0x5927c5(0x134)](this[_0x5927c5(0x104)][_0x5927c5(0x133)],0x0))return;const _0x21ffa5=this[_0x5927c5(0x166)](),_0x938cc1=JSON[_0x5927c5(0x165)](_0x21ffa5),_0x49814e=_0x518378[_0x5927c5(0x105)](_0x938cc1[_0x5927c5(0xe5)](0x1,-0x1),',');fs['appendFileSync'](this[_0x5927c5(0x161)],_0x49814e);}static async[a120_0x47c8bf(0x15a)](){const _0x1b8d54=a120_0x47c8bf,_0x218e30={'dYOAh':function(_0x2e8180){return _0x2e8180();},'IElme':function(_0xaca7a,_0x442819){return _0xaca7a===_0x442819;},'FQCxj':_0x1b8d54(0xe3),'mWKDB':_0x1b8d54(0x16a),'jNEeZ':_0x1b8d54(0x179),'PcGRI':function(_0x486c78,_0x4e1d86){return _0x486c78+_0x4e1d86;},'wDIXX':function(_0x5e326a,_0x1397db){return _0x5e326a+_0x1397db;},'cXXQB':'Error\x20processing\x20key-metrics.json:\x20%s','NDjnb':_0x1b8d54(0x176),'hZxzG':_0x1b8d54(0x146),'ymbgn':function(_0x1d40a4,_0x237079){return _0x1d40a4>_0x237079;}};this[_0x1b8d54(0x116)]=path[_0x1b8d54(0x109)](_0x218e30[_0x1b8d54(0xea)](getLogDir),this[_0x1b8d54(0x16e)]);if(!this[_0x1b8d54(0x12b)]||_0x218e30[_0x1b8d54(0x14f)](this[_0x1b8d54(0x104)][_0x1b8d54(0x133)],0x0))return[];if(!fs['existsSync'](this[_0x1b8d54(0x116)]))return this[_0x1b8d54(0x104)];const _0x4491a4=(await fsPromise[_0x1b8d54(0x173)](this[_0x1b8d54(0x116)]))['map'](_0x30678f=>path[_0x1b8d54(0xeb)](this['jsonReportDirPath'],_0x30678f));try{const _0x152fdb=path['dirname'](this[_0x1b8d54(0x116)]),_0x235943=path['join'](_0x152fdb,_0x218e30['FQCxj']);if(fs[_0x1b8d54(0x12c)](_0x235943))try{await fsPromise['access'](_0x235943,fs[_0x1b8d54(0x119)][_0x1b8d54(0x114)]);const _0x15342d=await fsPromise[_0x1b8d54(0x141)](_0x235943,_0x218e30['mWKDB']),_0x17d2b8=JSON[_0x1b8d54(0xd9)](_0x15342d),_0x434c47=path['join'](this[_0x1b8d54(0x116)],_0x218e30[_0x1b8d54(0x120)]);let _0x2de8d='';Array[_0x1b8d54(0x13e)](_0x17d2b8)?_0x2de8d=_0x218e30[_0x1b8d54(0x13f)](_0x17d2b8[_0x1b8d54(0x169)](_0x3d252f=>JSON[_0x1b8d54(0x165)](_0x3d252f))['join'](','),','):_0x2de8d=_0x218e30['wDIXX'](JSON[_0x1b8d54(0x165)](_0x17d2b8),','),await fsPromise[_0x1b8d54(0x10d)](_0x434c47,_0x2de8d),_0x4491a4[_0x1b8d54(0x135)](_0x434c47),await fsPromise[_0x1b8d54(0x142)](_0x235943);}catch(_0x2445e7){logger[_0x1b8d54(0x17d)](util['format'](_0x218e30[_0x1b8d54(0xe4)],_0x2445e7[_0x1b8d54(0x106)]||_0x2445e7[_0x1b8d54(0x130)]||_0x2445e7));}else logger['info'](_0x218e30['NDjnb']);}catch(_0x2b5923){logger[_0x1b8d54(0x17d)](util[_0x1b8d54(0x115)](_0x218e30[_0x1b8d54(0x139)],_0x2b5923[_0x1b8d54(0x106)]||_0x2b5923[_0x1b8d54(0x130)]||_0x2b5923));}let _0x68202=(await Promise[_0x1b8d54(0xec)](_0x4491a4['map'](_0x24f441=>fsPromise[_0x1b8d54(0x141)](_0x24f441,_0x1b8d54(0x16a)))))[_0x1b8d54(0x169)](_0x473ba7=>'['+_0x473ba7[_0x1b8d54(0xe5)](0x0,-0x1)+']')[_0x1b8d54(0x169)](_0x58f623=>JSON[_0x1b8d54(0xd9)](_0x58f623))[_0x1b8d54(0x100)]();return _0x218e30[_0x1b8d54(0x15f)](this['_measureEvents'][_0x1b8d54(0x133)],0x0)&&(_0x68202=_0x68202[_0x1b8d54(0x15c)](this['getCleanedPerfEvents']())),this[_0x1b8d54(0x118)][_0x1b8d54(0x177)](),_0x68202;}static[a120_0x47c8bf(0xff)](){const _0x24c748=a120_0x47c8bf,_0x1c0983={};_0x1c0983[_0x24c748(0x11e)]=function(_0x30ecfb,_0x12a6fd){return _0x30ecfb===_0x12a6fd;},_0x1c0983[_0x24c748(0x113)]=function(_0x2a3e98,_0x30435a){return _0x2a3e98+_0x30435a;};const _0x34a6dd=_0x1c0983;if(_0x34a6dd[_0x24c748(0x11e)](this[_0x24c748(0x16d)][_0x24c748(0x133)],0x0))return;const _0x43d968=JSON[_0x24c748(0x165)](this[_0x24c748(0x16d)]),_0x326eaf=_0x34a6dd[_0x24c748(0x113)](_0x43d968[_0x24c748(0xe5)](0x1,-0x1),',');fs['appendFileSync'](this['errorFile'],_0x326eaf);}static[a120_0x47c8bf(0x107)](){const _0x1b13c1=a120_0x47c8bf,_0x5a2c70={};_0x5a2c70[_0x1b13c1(0x101)]=function(_0x50e588,_0x5bbdeb){return _0x50e588>_0x5bbdeb;};const _0xc69b8c=_0x5a2c70;if(this['errorReportFileName']){if(!fs['existsSync'](this[_0x1b13c1(0x13b)]))return this['_errorEvents'];let _0x4aba14=fs[_0x1b13c1(0x160)](this[_0x1b13c1(0x13b)])[_0x1b13c1(0x170)]();_0x4aba14='['+_0x4aba14[_0x1b13c1(0xe5)](0x0,-0x1)+']';let _0x3e9752=JSON[_0x1b13c1(0xd9)](_0x4aba14);return _0xc69b8c[_0x1b13c1(0x101)](this['_errorEvents']['length'],0x0)&&(_0x3e9752=_0x3e9752[_0x1b13c1(0x15c)](this[_0x1b13c1(0x16d)])),fs['unlinkSync'](this[_0x1b13c1(0x13b)]),_0x3e9752;}}static[a120_0x47c8bf(0xf2)](_0x479c88){const _0x3a9c01=a120_0x47c8bf;if(!this[_0x3a9c01(0x136)]())return;this[_0x3a9c01(0x16d)][_0x3a9c01(0x135)]({'message':_0x479c88[_0x3a9c01(0x130)],'trace':_0x479c88[_0x3a9c01(0x106)],'code':_0x479c88[_0x3a9c01(0x131)]||null,'time':new Date()});}static[a120_0x47c8bf(0x10f)](){const _0x2d3bd0=a120_0x47c8bf;try{if(!this[_0x2d3bd0(0x136)]())return;this['_observer'][_0x2d3bd0(0x177)](),this[_0x2d3bd0(0x17a)](),this[_0x2d3bd0(0xff)]();}catch(_0x1d1f35){logger['debug'](_0x2d3bd0(0x159)+util['format'](_0x1d1f35));}}static async[a120_0x47c8bf(0x174)](){const _0xf3bc1d=a120_0x47c8bf,_0x52fc16={'ULzQn':function(_0x16c389,_0x105db9){return _0x16c389(_0x105db9);}};await _0x52fc16['ULzQn'](sleep,0x1e);const _0x29d3a5=await this[_0xf3bc1d(0x15a)](),_0x40c510=this['finalizeErrors']();if(!this['isEnabled']()){const _0x17f977={};return _0x17f977['measures']=[],_0x17f977[_0xf3bc1d(0x11c)]=[],_0x17f977;}const _0x5d1ee2={};return _0x5d1ee2[_0xf3bc1d(0x185)]=_0x29d3a5,_0x5d1ee2[_0xf3bc1d(0x11c)]=_0x40c510,_0x5d1ee2;}static[a120_0x47c8bf(0x112)](_0xcbb0f){const _0x4e2490=a120_0x47c8bf,_0x3df6ee={};_0x3df6ee[_0x4e2490(0x11a)]=function(_0x45d534,_0x4f3582){return _0x45d534+_0x4f3582;},_0x3df6ee['UqJee']=_0x4e2490(0x178);const _0x45625a=_0x3df6ee,_0x2eb4ff=_0x45625a[_0x4e2490(0x11a)](_0xcbb0f,_0x45625a[_0x4e2490(0x10a)]);if(this[_0x4e2490(0x117)][_0x2eb4ff])return;performance[_0x4e2490(0x168)](_0x2eb4ff),this['eventsMap'][_0x2eb4ff]=0x1;}static['end'](_0x110921,_0x49ea64=!![],_0x5a7a45=null,_0x2fbaed={}){const _0x5dc1b0=a120_0x47c8bf,_0x4f9d07={'hgIVN':function(_0x1c440c,_0x37b0ce){return _0x1c440c+_0x37b0ce;},'OSHoJ':_0x5dc1b0(0xe2),'ELlNM':_0x5dc1b0(0x178),'RyIjO':function(_0x239702){return _0x239702();}};performance['mark'](_0x4f9d07[_0x5dc1b0(0x17c)](_0x110921,_0x4f9d07[_0x5dc1b0(0x121)])),performance[_0x5dc1b0(0x111)](_0x110921,_0x4f9d07[_0x5dc1b0(0x17c)](_0x110921,_0x4f9d07[_0x5dc1b0(0x103)]),_0x4f9d07[_0x5dc1b0(0x17c)](_0x110921,_0x4f9d07[_0x5dc1b0(0x121)]));const _0xaf36a3={};_0xaf36a3[_0x5dc1b0(0xe6)]=_0x49ea64,_0xaf36a3[_0x5dc1b0(0x162)]=_0x5a7a45,this[_0x5dc1b0(0x15d)][_0x110921]=Object['assign'](_0xaf36a3,Object[_0x5dc1b0(0x16f)](Object[_0x5dc1b0(0x16f)]({'worker':_0x4f9d07[_0x5dc1b0(0xf6)](getProcessId),'platform':global[_0x5dc1b0(0xdc)]&&global['__platformCaps'][_0x5dc1b0(0xf5)],'testName':_0x4f9d07[_0x5dc1b0(0xf6)](getTestName)},_0x2fbaed),this['details'][_0x110921]||{}));}}function a120_0x5d7b(){const _0x4950db=['stopMonitoring','1010012eEHSvk','measure','start','hJrXx','F_OK','format','jsonReportDirPath','eventsMap','_observer','constants','kxrqv','debug','errors','duration','mwLDD','platform','jNEeZ','OSHoJ','Error\x20while\x20removing\x20files:\x20','entries','UOhTl','path','buffered','LHuGV','match','splice','exports','started','existsSync','8905XFSRGD','LERqC','gaChG','message','code','zBihf','length','TReJj','push','isEnabled','errorReportDirName','110495PmvsiG','hZxzG','startMonitoring','errorReportFileName','nUhsb','nWkJJ','isArray','PcGRI','env','readFile','unlink','calculateTimeFromEvents','meta','name','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','observe','iuThy','</tbody></table></body></html>','Time\x20for\x20','366iCJbto','DVftM','apply','/error-report-','IElme','end','Yfzqi','perf_hooks','128065bVBUwj','5650000igAKNF','getEventsFromJSON','56RZyKOM','entryType','gJskf','Error\x20stopping\x20monitoring\x20','finalizePerfMeasures','okeQi','concat','details','521982GefFlw','ymbgn','readFileSync','jsonReportFileName','failure','BKEfE','../logger','stringify','getCleanedPerfEvents','NIoxK','mark','map','utf-8','generateJSON','/performance-report-','_errorEvents','jsonReportDirName','assign','toString','AUXdt','2MoIbQG','readdir','finalize','</td></tr>','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','disconnect','-start','modified-key-metrics.json','pushPerfMeasures','387714cWhzCo','hgIVN','info','toJSON','false','VnPoU','BROWSERSTACK_SDK_INSTRUMENTATION','LwAjP','testName','myXFh','measures','Error\x20in\x20doing\x20csv\x20operations:\x20','parse','error\x20in\x20measure\x20','function','__platformCaps','.json','Performance\x20report\x20is\x20at\x20','error-report','entryTypes','\x20for\x20all\x20processes\x20is\x20','-end','key-metrics.json','cXXQB','slice','success','mIlCm','fKRlE','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','dYOAh','resolve','all','fcilk','vEkPy','cwd','catch','unlinkSync','captureError','stopAndGenerate','Ukgbh','index','RyIjO','TjJIV','hhzzI','LOkZL','DVDdl','WOYjE','_events','worker','generateHTMLReport','pushErrors','flat','lEwdT','then','ELlNM','_measureEvents','sHoeC','stack','finalizeErrors','../processHelper','join','UqJee','writeFileSync','</td><td>','writeFile','dCKAU'];a120_0x5d7b=function(){return _0x4950db;};return a120_0x5d7b();}module[a120_0x47c8bf(0x12a)]=PerformanceTester;
@@ -1 +1 @@
1
- const a119_0x43e0eb=a119_0x1d7d;(function(_0x52ecf0,_0x5238fd){const _0x3eca51=a119_0x1d7d,_0x335f15=_0x52ecf0();while(!![]){try{const _0x450014=parseInt(_0x3eca51(0x112))/0x1*(parseInt(_0x3eca51(0x10f))/0x2)+parseInt(_0x3eca51(0x106))/0x3*(parseInt(_0x3eca51(0x122))/0x4)+parseInt(_0x3eca51(0x157))/0x5+parseInt(_0x3eca51(0x148))/0x6*(-parseInt(_0x3eca51(0x163))/0x7)+parseInt(_0x3eca51(0x14c))/0x8*(parseInt(_0x3eca51(0x11e))/0x9)+-parseInt(_0x3eca51(0xf9))/0xa*(parseInt(_0x3eca51(0xfb))/0xb)+-parseInt(_0x3eca51(0x141))/0xc;if(_0x450014===_0x5238fd)break;else _0x335f15['push'](_0x335f15['shift']());}catch(_0x2e53d8){_0x335f15['push'](_0x335f15['shift']());}}}(a119_0x104a,0xe7770));const path=require(a119_0x43e0eb(0x117)),util=require(a119_0x43e0eb(0x10e)),{importFileFromPWCore}=require(a119_0x43e0eb(0x109)),helper=require('./helper'),logger=require(a119_0x43e0eb(0xf7))[a119_0x43e0eb(0x152)],W3CMapping=require('./w3cMapping')[a119_0x43e0eb(0x100)](),constants=require(a119_0x43e0eb(0x166)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require(a119_0x43e0eb(0x12c));let GrpcClient;function a119_0x104a(){const _0x2a3ca7=['browserstack.buildProductMap','Detected\x20Playwright\x20version\x20','BROWSERSTACK_TESTHUB_UUID','env','spyoj','Could\x20not\x20import\x20GrpcClient:\x20','36PBSOBZ','dMErO','mgiFJ','platformCaps','20LqPEjA','browserstack.accessibilityOptions.wcagVersion','BS_A11Y_JWT','debug','bootstrap','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','iXjYb','checkPwandBootstrapCli','setFrameworkDetail','cEwKc','../bin/v2/cliUtils','cucumberjs-pw','convertW3CToJsonWire','XXLWL','PDlBF','client','qFepq','Lnavk','lib','Received\x20modified\x20config\x20from\x20gRPC:\x20','getPlaywrightConfig','chrome','browserType.js','exports','Error\x20getting\x20Playwright\x20BrowserType:\x20','bstack:options','use','browserstack.accessibilityOptions.authToken','jitWQ','niPdI','\x20for\x20','14213520puvZaF','DpmhS','OkTwW','message','kpWUQ','nmeiM','importFileFromPWCore','6IPudAf','stringify','entries','BrowserType','3083432Klqfvm','YcdUl','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','TJLwe','iAlYC','projects','winstonLogger','ypJek','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','PToNC','parse','4517140AtooHl','ciJAT','./testhub/utils','format','hwaKu','pNGtg','setBrowserstackConfig','\x20flow','shCSJ','getPlaywrightModulePath','SOIwM','getInstance','4246564QlCHBI','config','OrLDV','../bin/utils/constants','framework','KrjjK','NIjov','cliConfig','./logger','getConfig','290JYcaWW','getBrowserFromCaps','422477totKvr','length','__launchCaps','Playwright\x20not\x20available:\x20','Hbvto','W3CMapping','browserstack.testhubBuildUuid','browser','isArray','generatePlaywrightUrl','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','239082GteZXm','error','MKRlB','./helper','TmFJl','No\x20modified\x20config\x20received\x20from\x20gRPC','foBTx','getPlaywrightUrl','util','2018762jheEPn','capabilities','EnWVl','1iNKFfU','isPlaywrightAvailable','browserstack.accessibilityOptions.scannerProcessingTimeout','PLAYWRIGHT','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','path'];a119_0x104a=function(){return _0x2a3ca7;};return a119_0x104a();}function a119_0x1d7d(_0x542c37,_0x5e1fce){const _0x104a5d=a119_0x104a();return a119_0x1d7d=function(_0x1d7d9c,_0xf7555e){_0x1d7d9c=_0x1d7d9c-0xf4;let _0x551739=_0x104a5d[_0x1d7d9c];return _0x551739;},a119_0x1d7d(_0x542c37,_0x5e1fce);}try{GrpcClient=require('../bin/v2/grpcClient');}catch(a119_0x5b9354){logger[a119_0x43e0eb(0x125)](a119_0x43e0eb(0x11d)+a119_0x5b9354['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x2317cf=>{const _0xe515f8=a119_0x43e0eb,_0x43e9cf={};_0x43e9cf[_0xe515f8(0x15c)]=function(_0x28f6a7,_0x27530e){return _0x28f6a7||_0x27530e;},_0x43e9cf['dMErO']=function(_0xb613c,_0x229852){return _0xb613c===_0x229852;},_0x43e9cf['OkTwW']=_0xe515f8(0x13b),_0x43e9cf[_0xe515f8(0x10a)]=function(_0x4423f6,_0x376aa6){return _0x4423f6===_0x376aa6;},_0x43e9cf[_0xe515f8(0x13e)]=function(_0x2568f8,_0x2a0792){return _0x2568f8 in _0x2a0792;};const _0x4fbbf3=_0x43e9cf,_0x2dd5c0={};for(const [_0x1977ef,_0x56caa8]of Object[_0xe515f8(0x14a)](_0x4fbbf3[_0xe515f8(0x15c)](_0x2317cf,{}))){if(_0x4fbbf3[_0xe515f8(0x11f)](_0x1977ef,_0x4fbbf3['OkTwW']))continue;let _0x574c41=![];for(const [_0x384c9d,_0x4957da]of Object[_0xe515f8(0x14a)](W3CMapping)){if(_0x4fbbf3[_0xe515f8(0x11f)](_0x1977ef,_0x4957da)){_0x2dd5c0[_0x384c9d]=_0x56caa8,_0x574c41=!![];break;}}!_0x574c41&&(_0x2dd5c0[_0x1977ef]=_0x56caa8);}const _0x3a8cec=_0x2317cf[_0x4fbbf3[_0xe515f8(0x143)]]||{};for(const [_0x592dd9,_0x19991b]of Object[_0xe515f8(0x14a)](_0x3a8cec)){let _0x3f0598=![];for(const [_0x114ab6,_0x39349a]of Object[_0xe515f8(0x14a)](W3CMapping)){if(_0x4fbbf3[_0xe515f8(0x10a)](_0x592dd9,_0x39349a)){_0x2dd5c0[_0x114ab6]=_0x19991b,_0x3f0598=!![];break;}}!_0x3f0598&&!_0x4fbbf3[_0xe515f8(0x13e)](_0x592dd9,_0x2dd5c0)&&(_0x2dd5c0[_0x592dd9]=_0x19991b);}return logger[_0xe515f8(0x125)]('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0xe515f8(0x149)](_0x2dd5c0)),_0x2dd5c0;},getModifiedConfigFromCLI=async _0x368a4=>{const _0x255278=a119_0x43e0eb,_0x510f64={};_0x510f64[_0x255278(0x14f)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x510f64['ahhLB']=_0x255278(0x12d),_0x510f64[_0x255278(0x165)]=_0x255278(0x105),_0x510f64['cEwKc']=_0x255278(0x10b),_0x510f64[_0x255278(0x108)]=function(_0x2f657f,_0x1915f0){return _0x2f657f>_0x1915f0;},_0x510f64[_0x255278(0x142)]=function(_0xa56f92,_0x53c47){return _0xa56f92>_0x53c47;},_0x510f64['Hbvto']=_0x255278(0x127);const _0x2d03c7=_0x510f64;try{if(!GrpcClient)return logger[_0x255278(0x125)](_0x2d03c7['TJLwe']),null;const _0xf34dce={};_0xf34dce[_0x255278(0x110)]=_0x368a4,_0xf34dce[_0x255278(0x167)]=_0x2d03c7['ahhLB'],_0xf34dce['workers']=0x1,_0xf34dce[_0x255278(0x151)]=[];const _0xf48eab=_0xf34dce;logger[_0x255278(0x125)](_0x2d03c7['OrLDV']);const _0x55f4b5={};_0x55f4b5['playwrightConfigObject']=_0xf48eab;const _0x49af29=await GrpcClient['getInstance']()[_0x255278(0x136)](_0x55f4b5);if(!_0x49af29[_0x255278(0xf8)]())return logger[_0x255278(0x125)](_0x2d03c7[_0x255278(0x12b)]),null;const _0x4559bb=JSON[_0x255278(0x156)](_0x49af29['getConfig']());logger[_0x255278(0x125)](_0x255278(0x135)+JSON[_0x255278(0x149)](_0x4559bb));if(_0x4559bb[_0x255278(0x110)]&&Array['isArray'](_0x4559bb[_0x255278(0x110)])&&_0x2d03c7[_0x255278(0x108)](_0x4559bb[_0x255278(0x110)]['length'],0x0))return _0x4559bb['capabilities'][0x0];else{if(_0x4559bb['projects']&&Array[_0x255278(0x103)](_0x4559bb[_0x255278(0x151)])&&_0x2d03c7[_0x255278(0x142)](_0x4559bb['projects'][_0x255278(0xfc)],0x0)){const _0x41a643=_0x4559bb[_0x255278(0x151)][0x0];if(_0x41a643[_0x255278(0x13c)]&&_0x41a643[_0x255278(0x13c)][_0x255278(0x121)])return _0x41a643[_0x255278(0x13c)][_0x255278(0x121)];}}return logger[_0x255278(0x125)](_0x2d03c7[_0x255278(0xff)]),null;}catch(_0x380ee6){logger[_0x255278(0x107)](_0x255278(0x154)+_0x380ee6[_0x255278(0x144)]);throw _0x380ee6;}},generatePlaywrightUrl=(_0x18939e,_0x6c7a9a)=>{const _0x275e47=a119_0x43e0eb,_0x3fbd5a={'kpWUQ':function(_0x1774b2,_0x5d8fa4){return _0x1774b2!==_0x5d8fa4;},'XXLWL':function(_0xd9cf24,_0x235f8c){return _0xd9cf24!==_0x235f8c;},'foBTx':function(_0x49c5e6,_0x425d06){return _0x49c5e6!==_0x425d06;},'PDlBF':function(_0x4ae024,_0x5b1bf7){return _0x4ae024!==_0x5b1bf7;},'iAlYC':function(_0x34e1d9,_0x32b88c){return _0x34e1d9(_0x32b88c);},'iXjYb':function(_0x1425e0,_0x907798){return _0x1425e0||_0x907798;},'hwaKu':function(_0x52f441,_0x19060a){return _0x52f441(_0x19060a);},'shCSJ':_0x275e47(0x13d),'qFepq':function(_0x5ebf4a,_0x44b21e){return _0x5ebf4a(_0x44b21e);},'SOIwM':_0x275e47(0x123),'tZprl':'browserstack.accessibilityOptions.scannerVersion','ewNaG':_0x275e47(0x114),'nmeiM':_0x275e47(0x101),'pUniF':_0x275e47(0x118),'PToNC':function(_0x21bd7e,_0x2d0311){return _0x21bd7e+_0x2d0311;}},_0x315f6c=helper[_0x275e47(0x10d)](_0x18939e),_0xa048=_0x3fbd5a[_0x275e47(0x150)](convertW3CToJsonWire,_0x6c7a9a);try{const _0x406e2d=[_0x3fbd5a[_0x275e47(0x128)](_0x6c7a9a,{}),global[_0x275e47(0xfd)]||{},global['__platformCaps']||{},global['__accessibilityOptions']||{}],_0x56fcda=_0x5285e8=>{const _0x103639=_0x275e47;if(_0x3fbd5a[_0x103639(0x145)](_0xa048[_0x5285e8],undefined)&&_0x3fbd5a['kpWUQ'](_0xa048[_0x5285e8],null)&&_0x3fbd5a[_0x103639(0x12f)](_0xa048[_0x5285e8],''))return;for(const _0x1ef55f of _0x406e2d){if(_0x1ef55f&&_0x3fbd5a[_0x103639(0x10c)](_0x1ef55f[_0x5285e8],undefined)&&_0x3fbd5a[_0x103639(0x130)](_0x1ef55f[_0x5285e8],null)&&_0x3fbd5a['XXLWL'](_0x1ef55f[_0x5285e8],'')){_0xa048[_0x5285e8]=_0x1ef55f[_0x5285e8];return;}}};_0x3fbd5a[_0x275e47(0x15b)](_0x56fcda,_0x3fbd5a[_0x275e47(0x15f)]),_0x3fbd5a[_0x275e47(0x132)](_0x56fcda,_0x3fbd5a[_0x275e47(0x161)]),_0x3fbd5a[_0x275e47(0x15b)](_0x56fcda,_0x3fbd5a['tZprl']),_0x3fbd5a['hwaKu'](_0x56fcda,_0x3fbd5a['ewNaG']),!_0xa048[_0x3fbd5a[_0x275e47(0x15f)]]&&process[_0x275e47(0x11b)][_0x275e47(0x124)]&&(_0xa048[_0x3fbd5a['shCSJ']]=process['env'][_0x275e47(0x124)]);}catch(_0x2409f5){logger[_0x275e47(0x125)]('Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20'+util['format'](_0x2409f5));}return _0xa048[_0x3fbd5a[_0x275e47(0x146)]]=process['env'][_0x275e47(0x11a)],_0xa048[_0x3fbd5a['pUniF']]=helper['getBuildProductMap'](),_0x3fbd5a[_0x275e47(0x155)](_0x315f6c,_0x3fbd5a['iAlYC'](encodeURIComponent,JSON['stringify'](_0xa048)));},getBrowserFromCaps=_0x43f1d9=>{const _0x4cd17b=a119_0x43e0eb,_0x241d1b={};_0x241d1b[_0x4cd17b(0x133)]=_0x4cd17b(0x137);const _0x24362d=_0x241d1b;return _0x43f1d9['browserName']||_0x43f1d9[_0x4cd17b(0x102)]||_0x24362d[_0x4cd17b(0x133)];},isPlaywrightAvailable=()=>{const _0x91bae0=a119_0x43e0eb,_0x76c3a5={'YcdUl':'lib','spyoj':_0x91bae0(0x131),'KrjjK':_0x91bae0(0x138),'zVJxS':function(_0x581aa8,_0x4d249a){return _0x581aa8(_0x4d249a);}};try{const _0x417a79=path['join'](_0x76c3a5[_0x91bae0(0x14d)],_0x76c3a5[_0x91bae0(0x11c)],_0x76c3a5[_0x91bae0(0xf4)]),_0x3b85a0=_0x76c3a5['zVJxS'](importFileFromPWCore,_0x417a79);return!!_0x3b85a0;}catch(_0x1c431e){return logger[_0x91bae0(0x125)](_0x91bae0(0xfe)+util[_0x91bae0(0x15a)](_0x1c431e)),![];}},getPlaywrightBrowserType=()=>{const _0x369747=a119_0x43e0eb,_0x3683b9={'EnWVl':_0x369747(0x134),'mgiFJ':'client','eTzGX':_0x369747(0x138),'ciJAT':function(_0x49bf65,_0x5cc9a9){return _0x49bf65(_0x5cc9a9);}};try{const _0x3d63e2=path['join'](_0x3683b9[_0x369747(0x111)],_0x3683b9[_0x369747(0x120)],_0x3683b9['eTzGX']),_0x25c201=_0x3683b9[_0x369747(0x158)](importFileFromPWCore,_0x3d63e2);return _0x25c201?_0x25c201[_0x369747(0x14b)]:null;}catch(_0x1c4183){return logger['debug'](_0x369747(0x13a)+util['format'](_0x1c4183)),null;}},getPlaywrightModulePath=()=>{const _0xde7725=a119_0x43e0eb,_0x2eed36={};_0x2eed36['NIjov']=_0xde7725(0x14e);const _0x41f9d9=_0x2eed36;return logger[_0xde7725(0x125)](_0x41f9d9[_0xde7725(0xf5)]),null;},getBrowserTypePath=()=>{const _0x1573c6=a119_0x43e0eb,_0x37c89c={};_0x37c89c['ypJek']=_0x1573c6(0x116);const _0x5c9b69=_0x37c89c;return logger['debug'](_0x5c9b69[_0x1573c6(0x153)]),null;},checkPwandBootstrapCli=async(_0x1dd381,_0x14da4e,_0x2df2b6)=>{const _0x2698db=a119_0x43e0eb,_0x149670={'cmztd':function(_0x1114b1,_0x5e4a36){return _0x1114b1(_0x5e4a36);},'niPdI':_0x2698db(0x159),'JpcWn':function(_0x1b0e59,_0x582636){return _0x1b0e59(_0x582636);}};if(_0x1dd381){const _0x2365ce=constants['FRAMEWORKS'][_0x2698db(0x115)];logger['debug'](_0x2698db(0x119)+_0x1dd381+_0x2698db(0x140)+_0x14da4e+_0x2698db(0x15e)),CLIUtils[_0x2698db(0x12a)](_0x14da4e,_0x2365ce);const {getProductMap:_0x385013}=_0x149670['cmztd'](require,_0x149670[_0x2698db(0x13f)]);process[_0x2698db(0x11b)]['BROWSERSTACK_PRODUCT_MAP']=JSON[_0x2698db(0x149)](_0x149670['JpcWn'](_0x385013,_0x2df2b6[_0x2698db(0x164)])),BrowserstackCLI[_0x2698db(0x162)]()[_0x2698db(0x15d)](_0x2df2b6[_0x2698db(0x164)],_0x2df2b6[_0x2698db(0xf6)]),await BrowserstackCLI[_0x2698db(0x162)]()[_0x2698db(0x126)]();}},a119_0x5a7739={};a119_0x5a7739[a119_0x43e0eb(0x12e)]=convertW3CToJsonWire,a119_0x5a7739['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a119_0x5a7739[a119_0x43e0eb(0x104)]=generatePlaywrightUrl,a119_0x5a7739[a119_0x43e0eb(0xfa)]=getBrowserFromCaps,a119_0x5a7739[a119_0x43e0eb(0x113)]=isPlaywrightAvailable,a119_0x5a7739['getPlaywrightBrowserType']=getPlaywrightBrowserType,a119_0x5a7739[a119_0x43e0eb(0x160)]=getPlaywrightModulePath,a119_0x5a7739['getBrowserTypePath']=getBrowserTypePath,a119_0x5a7739[a119_0x43e0eb(0x147)]=importFileFromPWCore,a119_0x5a7739[a119_0x43e0eb(0x129)]=checkPwandBootstrapCli,module[a119_0x43e0eb(0x139)]=a119_0x5a7739;
1
+ const a121_0x50e96e=a121_0x2d8c;(function(_0x25c602,_0x3f353e){const _0x1216ec=a121_0x2d8c,_0x57b3e2=_0x25c602();while(!![]){try{const _0x4fdfdf=-parseInt(_0x1216ec(0x233))/0x1+-parseInt(_0x1216ec(0x220))/0x2*(-parseInt(_0x1216ec(0x1e8))/0x3)+parseInt(_0x1216ec(0x24e))/0x4+-parseInt(_0x1216ec(0x1ff))/0x5*(-parseInt(_0x1216ec(0x208))/0x6)+-parseInt(_0x1216ec(0x229))/0x7+-parseInt(_0x1216ec(0x255))/0x8+parseInt(_0x1216ec(0x1e6))/0x9;if(_0x4fdfdf===_0x3f353e)break;else _0x57b3e2['push'](_0x57b3e2['shift']());}catch(_0x58fd79){_0x57b3e2['push'](_0x57b3e2['shift']());}}}(a121_0x4e5a,0xe1e9c));function a121_0x2d8c(_0x3cf484,_0x2f0368){const _0x4e5ad8=a121_0x4e5a();return a121_0x2d8c=function(_0x2d8cba,_0x56e6c5){_0x2d8cba=_0x2d8cba-0x1e0;let _0x3f8df6=_0x4e5ad8[_0x2d8cba];return _0x3f8df6;},a121_0x2d8c(_0x3cf484,_0x2f0368);}const path=require('path'),util=require(a121_0x50e96e(0x1f0)),{importFileFromPWCore}=require('./helper'),helper=require(a121_0x50e96e(0x23d)),logger=require(a121_0x50e96e(0x238))[a121_0x50e96e(0x1fc)],W3CMapping=require(a121_0x50e96e(0x243))['W3CMapping'](),constants=require(a121_0x50e96e(0x206)),BrowserstackCLI=require(a121_0x50e96e(0x200)),CLIUtils=require(a121_0x50e96e(0x1ef));function a121_0x4e5a(){const _0x497fa8=['__launchCaps','./logger','VrYwb','bootstrap','UNkvX','tfeQC','./helper','bstack:options','__accessibilityOptions','debug','chrome','xjufP','./w3cMapping','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','capabilities','framework','ekYBV','browserType.js','workers','getConfig','format','length','../bin/v2/grpcClient','3150444nSJcWn','GOJjn','nciaT','cucumberjs-pw','browserName','exports','setBrowserstackConfig','12044960QXdoFd','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','browserstack.accessibilityOptions.scannerProcessingTimeout','mntkp','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','VpTZQ','JLWqh','env','fhWBM','OWxxa','26425548tFLmSN','nxExx','3uVoCTQ','ZoreH','config','entries','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','Playwright\x20not\x20available:\x20','jHQAo','../bin/v2/cliUtils','util','HUNtG','PRxcH','BROWSERSTACK_PRODUCT_MAP','No\x20modified\x20config\x20received\x20from\x20gRPC','BrowserType','browserstack.accessibilityOptions.wcagVersion','BROWSERSTACK_TESTHUB_UUID','BS_A11Y_JWT','utajF','Detected\x20Playwright\x20version\x20','Error\x20getting\x20Playwright\x20BrowserType:\x20','winstonLogger','importFileFromPWCore','getBuildProductMap','5Bwotuj','../bin/v2/browserstackCLI','getPlaywrightBrowserType','parse','AysUn','use','error','../bin/utils/constants','IJgvH','2304408VMoCih','uliqC','KSlrA','getPlaywrightModulePath','cliConfig','Could\x20not\x20import\x20GrpcClient:\x20','bGztH','fKHjK','getModifiedConfigFromCLI','woIjV','checkPwandBootstrapCli','trbYc','playwrightConfigObject','jpUdv','HYsZc','PLAYWRIGHT','message','vTgEo','convertW3CToJsonWire','EdOuZ','dOTMA','\x20flow','EwYtX','RZwyQ','2063028tRTPCA','lib','isPlaywrightAvailable','browserstack.accessibilityOptions.scannerVersion','\x20for\x20','platformCaps','getPlaywrightUrl','isArray','projects','11246263DwDaKN','eVsiw','setFrameworkDetail','browser','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','lFBiA','join','getBrowserFromCaps','browserstack.testhubBuildUuid','Received\x20modified\x20config\x20from\x20gRPC:\x20','1101796OwwNIM','client','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','getInstance'];a121_0x4e5a=function(){return _0x497fa8;};return a121_0x4e5a();}let GrpcClient;try{GrpcClient=require(a121_0x50e96e(0x24d));}catch(a121_0x348f9e){logger[a121_0x50e96e(0x240)](a121_0x50e96e(0x20d)+a121_0x348f9e[a121_0x50e96e(0x218)]),GrpcClient=null;}const convertW3CToJsonWire=_0xe05830=>{const _0x49d1ac=a121_0x50e96e,_0x3f3d30={};_0x3f3d30['fKHjK']=function(_0x201436,_0x5a0c5d){return _0x201436||_0x5a0c5d;},_0x3f3d30['HYsZc']=function(_0xac2cdb,_0x2b3395){return _0xac2cdb===_0x2b3395;},_0x3f3d30['OWxxa']=_0x49d1ac(0x23e),_0x3f3d30[_0x49d1ac(0x1e4)]=function(_0x408470,_0x35e535){return _0x408470===_0x35e535;},_0x3f3d30[_0x49d1ac(0x1f9)]=function(_0x1c5be1,_0x1e7d7a){return _0x1c5be1 in _0x1e7d7a;};const _0x590a65=_0x3f3d30,_0x29a06e={};for(const [_0x2d9a21,_0xf7f43c]of Object[_0x49d1ac(0x1eb)](_0x590a65[_0x49d1ac(0x20f)](_0xe05830,{}))){if(_0x590a65[_0x49d1ac(0x216)](_0x2d9a21,_0x590a65[_0x49d1ac(0x1e5)]))continue;let _0x5a4bd3=![];for(const [_0x150e58,_0x552739]of Object[_0x49d1ac(0x1eb)](W3CMapping)){if(_0x590a65['fhWBM'](_0x2d9a21,_0x552739)){_0x29a06e[_0x150e58]=_0xf7f43c,_0x5a4bd3=!![];break;}}!_0x5a4bd3&&(_0x29a06e[_0x2d9a21]=_0xf7f43c);}const _0x50a979=_0xe05830[_0x590a65[_0x49d1ac(0x1e5)]]||{};for(const [_0x51a571,_0xc84914]of Object[_0x49d1ac(0x1eb)](_0x50a979)){let _0x2a9106=![];for(const [_0x11a852,_0x428e46]of Object[_0x49d1ac(0x1eb)](W3CMapping)){if(_0x590a65['fhWBM'](_0x51a571,_0x428e46)){_0x29a06e[_0x11a852]=_0xc84914,_0x2a9106=!![];break;}}!_0x2a9106&&!_0x590a65[_0x49d1ac(0x1f9)](_0x51a571,_0x29a06e)&&(_0x29a06e[_0x51a571]=_0xc84914);}return logger[_0x49d1ac(0x240)](_0x49d1ac(0x22d)+JSON['stringify'](_0x29a06e)),_0x29a06e;},getModifiedConfigFromCLI=async _0x4028c4=>{const _0x2433cf=a121_0x50e96e,_0x662de4={};_0x662de4[_0x2433cf(0x21b)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x662de4[_0x2433cf(0x20a)]=_0x2433cf(0x251),_0x662de4[_0x2433cf(0x21f)]=_0x2433cf(0x235),_0x662de4[_0x2433cf(0x1e2)]=_0x2433cf(0x1f4),_0x662de4['GOJjn']=function(_0x429fbc,_0xaa9678){return _0x429fbc>_0xaa9678;},_0x662de4[_0x2433cf(0x219)]=function(_0x185c72,_0x5cc686){return _0x185c72>_0x5cc686;},_0x662de4[_0x2433cf(0x1e7)]='No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response';const _0x212b11=_0x662de4;try{if(!GrpcClient)return logger[_0x2433cf(0x240)](_0x212b11[_0x2433cf(0x21b)]),null;const _0xca3955={};_0xca3955[_0x2433cf(0x245)]=_0x4028c4,_0xca3955[_0x2433cf(0x246)]=_0x212b11[_0x2433cf(0x20a)],_0xca3955[_0x2433cf(0x249)]=0x1,_0xca3955[_0x2433cf(0x228)]=[];const _0x498069=_0xca3955;logger['debug'](_0x212b11[_0x2433cf(0x21f)]);const _0x27688a={};_0x27688a[_0x2433cf(0x214)]=_0x498069;const _0xcacbc4=await GrpcClient['getInstance']()['getPlaywrightConfig'](_0x27688a);if(!_0xcacbc4['getConfig']())return logger[_0x2433cf(0x240)](_0x212b11['JLWqh']),null;const _0x5c1148=JSON[_0x2433cf(0x202)](_0xcacbc4[_0x2433cf(0x24a)]());logger[_0x2433cf(0x240)](_0x2433cf(0x232)+JSON['stringify'](_0x5c1148));if(_0x5c1148[_0x2433cf(0x245)]&&Array[_0x2433cf(0x227)](_0x5c1148[_0x2433cf(0x245)])&&_0x212b11[_0x2433cf(0x24f)](_0x5c1148[_0x2433cf(0x245)][_0x2433cf(0x24c)],0x0))return _0x5c1148[_0x2433cf(0x245)][0x0];else{if(_0x5c1148[_0x2433cf(0x228)]&&Array[_0x2433cf(0x227)](_0x5c1148[_0x2433cf(0x228)])&&_0x212b11[_0x2433cf(0x219)](_0x5c1148[_0x2433cf(0x228)][_0x2433cf(0x24c)],0x0)){const _0x17d399=_0x5c1148['projects'][0x0];if(_0x17d399[_0x2433cf(0x204)]&&_0x17d399[_0x2433cf(0x204)][_0x2433cf(0x225)])return _0x17d399[_0x2433cf(0x204)][_0x2433cf(0x225)];}}return logger[_0x2433cf(0x240)](_0x212b11[_0x2433cf(0x1e7)]),null;}catch(_0xa03876){logger[_0x2433cf(0x205)](_0x2433cf(0x244)+_0xa03876['message']);throw _0xa03876;}},generatePlaywrightUrl=(_0xe7dcbe,_0x37f98c)=>{const _0x35f7bd=a121_0x50e96e,_0x128af0={'UNkvX':function(_0x5d0eed,_0xb5a202){return _0x5d0eed!==_0xb5a202;},'jHQAo':function(_0x1d547c,_0x144947){return _0x1d547c!==_0x144947;},'tfeQC':function(_0x3ba287,_0xe88d){return _0x3ba287!==_0xe88d;},'VrYwb':function(_0x3439ae,_0x475030){return _0x3439ae!==_0x475030;},'HUNtG':function(_0x2c0d60,_0x39882a){return _0x2c0d60(_0x39882a);},'AysUn':function(_0x21dd90,_0x586c65){return _0x21dd90||_0x586c65;},'ZoreH':'browserstack.accessibilityOptions.authToken','dOTMA':_0x35f7bd(0x1f6),'EwYtX':_0x35f7bd(0x223),'trbYc':function(_0x27b724,_0x2c90e5){return _0x27b724(_0x2c90e5);},'VpTZQ':_0x35f7bd(0x257),'woIjV':_0x35f7bd(0x231),'IJgvH':'browserstack.buildProductMap','PRxcH':function(_0x4a6021,_0x1d4aa1){return _0x4a6021+_0x1d4aa1;},'tXYps':function(_0x1cf696,_0x14d4cf){return _0x1cf696(_0x14d4cf);}},_0x418baa=helper[_0x35f7bd(0x226)](_0xe7dcbe),_0x2f4217=_0x128af0['HUNtG'](convertW3CToJsonWire,_0x37f98c);try{const _0x21c669=[_0x128af0[_0x35f7bd(0x203)](_0x37f98c,{}),global[_0x35f7bd(0x237)]||{},global['__platformCaps']||{},global[_0x35f7bd(0x23f)]||{}],_0x1c99ba=_0x491141=>{const _0x2627ae=_0x35f7bd;if(_0x128af0[_0x2627ae(0x23b)](_0x2f4217[_0x491141],undefined)&&_0x128af0[_0x2627ae(0x23b)](_0x2f4217[_0x491141],null)&&_0x128af0[_0x2627ae(0x1ee)](_0x2f4217[_0x491141],''))return;for(const _0x154f65 of _0x21c669){if(_0x154f65&&_0x128af0['jHQAo'](_0x154f65[_0x491141],undefined)&&_0x128af0[_0x2627ae(0x23c)](_0x154f65[_0x491141],null)&&_0x128af0[_0x2627ae(0x239)](_0x154f65[_0x491141],'')){_0x2f4217[_0x491141]=_0x154f65[_0x491141];return;}}};_0x128af0['HUNtG'](_0x1c99ba,_0x128af0[_0x35f7bd(0x1e9)]),_0x128af0[_0x35f7bd(0x1f1)](_0x1c99ba,_0x128af0[_0x35f7bd(0x21c)]),_0x128af0[_0x35f7bd(0x1f1)](_0x1c99ba,_0x128af0[_0x35f7bd(0x21e)]),_0x128af0[_0x35f7bd(0x213)](_0x1c99ba,_0x128af0[_0x35f7bd(0x1e1)]),!_0x2f4217[_0x128af0['ZoreH']]&&process[_0x35f7bd(0x1e3)][_0x35f7bd(0x1f8)]&&(_0x2f4217[_0x128af0[_0x35f7bd(0x1e9)]]=process[_0x35f7bd(0x1e3)][_0x35f7bd(0x1f8)]);}catch(_0x5d754f){logger[_0x35f7bd(0x240)](_0x35f7bd(0x1e0)+util['format'](_0x5d754f));}return _0x2f4217[_0x128af0[_0x35f7bd(0x211)]]=process[_0x35f7bd(0x1e3)][_0x35f7bd(0x1f7)],_0x2f4217[_0x128af0[_0x35f7bd(0x207)]]=helper[_0x35f7bd(0x1fe)](),_0x128af0[_0x35f7bd(0x1f2)](_0x418baa,_0x128af0['tXYps'](encodeURIComponent,JSON['stringify'](_0x2f4217)));},getBrowserFromCaps=_0x50ffd2=>{const _0x1d524d=a121_0x50e96e,_0x580ace={};_0x580ace[_0x1d524d(0x247)]=_0x1d524d(0x241);const _0x1cf0ec=_0x580ace;return _0x50ffd2[_0x1d524d(0x252)]||_0x50ffd2[_0x1d524d(0x22c)]||_0x1cf0ec[_0x1d524d(0x247)];},isPlaywrightAvailable=()=>{const _0x4a172a=a121_0x50e96e,_0x1f53f2={'uliqC':_0x4a172a(0x221),'jpUdv':_0x4a172a(0x234),'kRHwP':_0x4a172a(0x248),'mntkp':function(_0x1c4758,_0x15392b){return _0x1c4758(_0x15392b);}};try{const _0x201fd9=path[_0x4a172a(0x22f)](_0x1f53f2[_0x4a172a(0x209)],_0x1f53f2[_0x4a172a(0x215)],_0x1f53f2['kRHwP']),_0x4ba67a=_0x1f53f2[_0x4a172a(0x258)](importFileFromPWCore,_0x201fd9);return!!_0x4ba67a;}catch(_0x1173d8){return logger['debug'](_0x4a172a(0x1ed)+util['format'](_0x1173d8)),![];}},getPlaywrightBrowserType=()=>{const _0x245a4d=a121_0x50e96e,_0x3a6573={'aPCPz':_0x245a4d(0x221),'XtQNw':_0x245a4d(0x234),'GEpXc':_0x245a4d(0x248),'rZwAM':function(_0x50f8d5,_0x230845){return _0x50f8d5(_0x230845);}};try{const _0x33f5bc=path[_0x245a4d(0x22f)](_0x3a6573['aPCPz'],_0x3a6573['XtQNw'],_0x3a6573['GEpXc']),_0x5ecb3a=_0x3a6573['rZwAM'](importFileFromPWCore,_0x33f5bc);return _0x5ecb3a?_0x5ecb3a[_0x245a4d(0x1f5)]:null;}catch(_0x3a8be9){return logger[_0x245a4d(0x240)](_0x245a4d(0x1fb)+util[_0x245a4d(0x24b)](_0x3a8be9)),null;}},getPlaywrightModulePath=()=>{const _0x247aa3=a121_0x50e96e,_0x3dfb75={};_0x3dfb75[_0x247aa3(0x22a)]=_0x247aa3(0x1ec);const _0xfff17c=_0x3dfb75;return logger[_0x247aa3(0x240)](_0xfff17c['eVsiw']),null;},getBrowserTypePath=()=>{const _0x48ba8d=a121_0x50e96e,_0x1ce2ac={};_0x1ce2ac[_0x48ba8d(0x242)]=_0x48ba8d(0x256);const _0x25a7a0=_0x1ce2ac;return logger['debug'](_0x25a7a0[_0x48ba8d(0x242)]),null;},checkPwandBootstrapCli=async(_0x474c54,_0x38972b,_0x5b5ac6)=>{const _0x44c9f6=a121_0x50e96e,_0x4ef91a={'nciaT':function(_0xb092ca,_0xde248b){return _0xb092ca(_0xde248b);},'bGztH':'./testhub/utils','lFBiA':function(_0x16c5e3,_0x20dd75){return _0x16c5e3(_0x20dd75);}};if(_0x474c54){const _0x47698a=constants['FRAMEWORKS'][_0x44c9f6(0x217)];logger[_0x44c9f6(0x240)](_0x44c9f6(0x1fa)+_0x474c54+_0x44c9f6(0x224)+_0x38972b+_0x44c9f6(0x21d)),CLIUtils[_0x44c9f6(0x22b)](_0x38972b,_0x47698a);const {getProductMap:_0x14cf50}=_0x4ef91a[_0x44c9f6(0x250)](require,_0x4ef91a[_0x44c9f6(0x20e)]);process[_0x44c9f6(0x1e3)][_0x44c9f6(0x1f3)]=JSON['stringify'](_0x4ef91a[_0x44c9f6(0x22e)](_0x14cf50,_0x5b5ac6[_0x44c9f6(0x1ea)])),BrowserstackCLI[_0x44c9f6(0x236)]()[_0x44c9f6(0x254)](_0x5b5ac6[_0x44c9f6(0x1ea)],_0x5b5ac6[_0x44c9f6(0x20c)]),await BrowserstackCLI[_0x44c9f6(0x236)]()[_0x44c9f6(0x23a)]();}},a121_0x15e544={};a121_0x15e544[a121_0x50e96e(0x21a)]=convertW3CToJsonWire,a121_0x15e544[a121_0x50e96e(0x210)]=getModifiedConfigFromCLI,a121_0x15e544['generatePlaywrightUrl']=generatePlaywrightUrl,a121_0x15e544[a121_0x50e96e(0x230)]=getBrowserFromCaps,a121_0x15e544[a121_0x50e96e(0x222)]=isPlaywrightAvailable,a121_0x15e544[a121_0x50e96e(0x201)]=getPlaywrightBrowserType,a121_0x15e544[a121_0x50e96e(0x20b)]=getPlaywrightModulePath,a121_0x15e544['getBrowserTypePath']=getBrowserTypePath,a121_0x15e544[a121_0x50e96e(0x1fd)]=importFileFromPWCore,a121_0x15e544[a121_0x50e96e(0x212)]=checkPwandBootstrapCli,module[a121_0x50e96e(0x253)]=a121_0x15e544;
@@ -1 +1 @@
1
- const a120_0x151582=a120_0x307f;function a120_0x307f(_0x1a2d23,_0x5c232a){const _0x21934c=a120_0x2193();return a120_0x307f=function(_0x307fb9,_0x12566a){_0x307fb9=_0x307fb9-0x1b5;let _0x206bde=_0x21934c[_0x307fb9];return _0x206bde;},a120_0x307f(_0x1a2d23,_0x5c232a);}(function(_0x17b80d,_0x50c9b7){const _0x94db8c=a120_0x307f,_0x3c4bfd=_0x17b80d();while(!![]){try{const _0x6f6e09=-parseInt(_0x94db8c(0x1b7))/0x1*(-parseInt(_0x94db8c(0x1d8))/0x2)+-parseInt(_0x94db8c(0x1c9))/0x3*(parseInt(_0x94db8c(0x1d4))/0x4)+parseInt(_0x94db8c(0x1c7))/0x5+parseInt(_0x94db8c(0x1d7))/0x6*(parseInt(_0x94db8c(0x1d9))/0x7)+parseInt(_0x94db8c(0x1b8))/0x8*(-parseInt(_0x94db8c(0x1bb))/0x9)+parseInt(_0x94db8c(0x1d6))/0xa*(-parseInt(_0x94db8c(0x1b9))/0xb)+parseInt(_0x94db8c(0x1d1))/0xc*(parseInt(_0x94db8c(0x1c4))/0xd);if(_0x6f6e09===_0x50c9b7)break;else _0x3c4bfd['push'](_0x3c4bfd['shift']());}catch(_0x56319e){_0x3c4bfd['push'](_0x3c4bfd['shift']());}}}(a120_0x2193,0x754f3));const worker=require(a120_0x151582(0x1c3)),{fileLogger}=require('./logger'),{consoleHolder}=require(a120_0x151582(0x1cc)),globals=require('./globals'),constants=require(a120_0x151582(0x1c5));function a120_0x2193(){const _0x3fdbc2=['getTestName','getGlobal','UQdol','pid','log','worker_threads','2054cEZmeS','../bin/utils/constants','HbemD','4547510lBIRyh','true','3234jzpJhi','toISOString','threadId','./test-observability/constants','env','\x20]\x20','THYPq','okQAR','17124ufjSGz','agXUx','debug','640vgcUii','getProcessId','6373540vgRcCW','1609782PBEnud','3578zBundx','7szKWhc','TEST_REPORTING_ANALYTICS','sleep','229CntiXf','45944OQkVxZ','11HoWqdk','BROWSERSTACK_OBSERVABILITY_DEBUG','819bXkvXG','BROWSERSTACK_TEST_REPORTING_DEBUG','][\x20'];a120_0x2193=function(){return _0x3fdbc2;};return a120_0x2193();}exports[a120_0x151582(0x1d5)]=()=>{const _0x489239=a120_0x151582;return process[_0x489239(0x1c1)]+'-'+worker[_0x489239(0x1cb)];},exports[a120_0x151582(0x1be)]=()=>{const _0x483dac=a120_0x151582,_0x430298={};_0x430298[_0x483dac(0x1d2)]='browserstackTestName';const _0x169392=_0x430298;return globals[_0x483dac(0x1bf)](_0x169392[_0x483dac(0x1d2)]);},exports[a120_0x151582(0x1b6)]=(_0x259732=0x64)=>new Promise(_0x5c2b66=>setTimeout(_0x5c2b66,_0x259732)),exports['debug']=_0x32d68f=>{const _0x66d80f=a120_0x151582,_0xf1569f={};_0xf1569f['HbemD']=function(_0x2fc7a0,_0x2ee16f){return _0x2fc7a0===_0x2ee16f;},_0xf1569f[_0x66d80f(0x1cf)]=_0x66d80f(0x1c8),_0xf1569f[_0x66d80f(0x1d0)]=function(_0x4b3999,_0x1cdab8){return _0x4b3999===_0x1cdab8;},_0xf1569f[_0x66d80f(0x1c0)]=function(_0x57bae9,_0x2527e6){return _0x57bae9===_0x2527e6;};const _0x3efe60=_0xf1569f;fileLogger[_0x66d80f(0x1d3)]('['+new Date()[_0x66d80f(0x1ca)]()+_0x66d80f(0x1bd)+constants[_0x66d80f(0x1b5)]+_0x66d80f(0x1ce)+_0x32d68f),(_0x3efe60[_0x66d80f(0x1c6)](process[_0x66d80f(0x1cd)][_0x66d80f(0x1bc)],_0x3efe60['THYPq'])||_0x3efe60[_0x66d80f(0x1c6)](process['env']['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x3efe60[_0x66d80f(0x1d0)](process[_0x66d80f(0x1cd)][_0x66d80f(0x1ba)],_0x3efe60[_0x66d80f(0x1cf)])||_0x3efe60['UQdol'](process['env']['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x66d80f(0x1c2)]('\x0a['+new Date()[_0x66d80f(0x1ca)]()+_0x66d80f(0x1bd)+constants[_0x66d80f(0x1b5)]+_0x66d80f(0x1ce)+_0x32d68f+'\x0a');};
1
+ function a122_0xec0c(_0x1e20fd,_0x19a0f0){const _0x2897bd=a122_0x2897();return a122_0xec0c=function(_0xec0c83,_0x5897e8){_0xec0c83=_0xec0c83-0xc6;let _0x5c53a3=_0x2897bd[_0xec0c83];return _0x5c53a3;},a122_0xec0c(_0x1e20fd,_0x19a0f0);}const a122_0x219d02=a122_0xec0c;(function(_0x3e81e3,_0x143df5){const _0x2d6179=a122_0xec0c,_0x364864=_0x3e81e3();while(!![]){try{const _0x13f87e=parseInt(_0x2d6179(0xe2))/0x1+parseInt(_0x2d6179(0xe1))/0x2+parseInt(_0x2d6179(0xd0))/0x3+parseInt(_0x2d6179(0xd4))/0x4*(parseInt(_0x2d6179(0xd1))/0x5)+-parseInt(_0x2d6179(0xdd))/0x6+-parseInt(_0x2d6179(0xdb))/0x7*(-parseInt(_0x2d6179(0xc8))/0x8)+parseInt(_0x2d6179(0xd6))/0x9*(-parseInt(_0x2d6179(0xd5))/0xa);if(_0x13f87e===_0x143df5)break;else _0x364864['push'](_0x364864['shift']());}catch(_0x5091f1){_0x364864['push'](_0x364864['shift']());}}}(a122_0x2897,0x54c12));const worker=require(a122_0x219d02(0xe5)),{fileLogger}=require('./logger'),{consoleHolder}=require(a122_0x219d02(0xcd)),globals=require(a122_0x219d02(0xe4)),constants=require('../bin/utils/constants');exports[a122_0x219d02(0xc7)]=()=>{const _0x403739=a122_0x219d02;return process[_0x403739(0xe6)]+'-'+worker['threadId'];},exports[a122_0x219d02(0xd7)]=()=>{const _0x4cdddb=a122_0x219d02,_0x458edc={};_0x458edc[_0x4cdddb(0xdf)]=_0x4cdddb(0xda);const _0x51e4c7=_0x458edc;return globals[_0x4cdddb(0xe0)](_0x51e4c7[_0x4cdddb(0xdf)]);},exports[a122_0x219d02(0xd2)]=(_0x5f4e56=0x64)=>new Promise(_0xac3822=>setTimeout(_0xac3822,_0x5f4e56)),exports[a122_0x219d02(0xca)]=_0x1c298e=>{const _0x4cf57e=a122_0x219d02,_0x43e82f={};_0x43e82f[_0x4cf57e(0xd8)]=function(_0x30cee2,_0x486022){return _0x30cee2===_0x486022;},_0x43e82f['znnNM']='true',_0x43e82f['rToVf']=function(_0x1eb4bc,_0x5b28fb){return _0x1eb4bc===_0x5b28fb;},_0x43e82f[_0x4cf57e(0xce)]=function(_0x3c2aeb,_0x935cb7){return _0x3c2aeb===_0x935cb7;};const _0x57cdf0=_0x43e82f;fileLogger[_0x4cf57e(0xca)]('['+new Date()[_0x4cf57e(0xcc)]()+_0x4cf57e(0xc6)+constants[_0x4cf57e(0xd9)]+_0x4cf57e(0xcb)+_0x1c298e),(_0x57cdf0[_0x4cf57e(0xd8)](process['env'][_0x4cf57e(0xcf)],_0x57cdf0[_0x4cf57e(0xd3)])||_0x57cdf0[_0x4cf57e(0xde)](process[_0x4cf57e(0xc9)][_0x4cf57e(0xcf)],'1')||_0x57cdf0[_0x4cf57e(0xce)](process[_0x4cf57e(0xc9)][_0x4cf57e(0xdc)],_0x57cdf0[_0x4cf57e(0xd3)])||_0x57cdf0[_0x4cf57e(0xd8)](process[_0x4cf57e(0xc9)][_0x4cf57e(0xdc)],'1'))&&consoleHolder[_0x4cf57e(0xe3)]('\x0a['+new Date()['toISOString']()+_0x4cf57e(0xc6)+constants['TEST_REPORTING_ANALYTICS']+_0x4cf57e(0xcb)+_0x1c298e+'\x0a');};function a122_0x2897(){const _0x4783b6=['\x20]\x20','toISOString','./test-observability/constants','oEjFF','BROWSERSTACK_TEST_REPORTING_DEBUG','850437dsWuod','2855530WyhjUY','sleep','znnNM','4tXYipv','14830DnSUcy','6813RbyabB','getTestName','mcBWg','TEST_REPORTING_ANALYTICS','browserstackTestName','559461JysYBj','BROWSERSTACK_OBSERVABILITY_DEBUG','2859264ZCZryS','rToVf','BXOmC','getGlobal','1195024QdkQgV','414309zSFPAu','log','./globals','worker_threads','pid','][\x20','getProcessId','8ZLKuBU','env','debug'];a122_0x2897=function(){return _0x4783b6;};return a122_0x2897();}
@@ -1 +1 @@
1
- function a121_0x1b64(_0x12f782,_0x2615d7){const _0xf89a9c=a121_0xf89a();return a121_0x1b64=function(_0x1b64fc,_0x377ddc){_0x1b64fc=_0x1b64fc-0x109;let _0x4cfe2f=_0xf89a9c[_0x1b64fc];return _0x4cfe2f;},a121_0x1b64(_0x12f782,_0x2615d7);}const a121_0x1dd764=a121_0x1b64;(function(_0x21b3b2,_0x2f0e78){const _0x114035=a121_0x1b64,_0xb39e1=_0x21b3b2();while(!![]){try{const _0x4228a0=-parseInt(_0x114035(0x10d))/0x1+-parseInt(_0x114035(0x12d))/0x2+-parseInt(_0x114035(0x136))/0x3*(parseInt(_0x114035(0x110))/0x4)+-parseInt(_0x114035(0x135))/0x5+parseInt(_0x114035(0x109))/0x6*(-parseInt(_0x114035(0x11f))/0x7)+parseInt(_0x114035(0x13e))/0x8+parseInt(_0x114035(0x10b))/0x9*(parseInt(_0x114035(0x10f))/0xa);if(_0x4228a0===_0x2f0e78)break;else _0xb39e1['push'](_0xb39e1['shift']());}catch(_0x687c93){_0xb39e1['push'](_0xb39e1['shift']());}}}(a121_0xf89a,0x40bc5));const http=require(a121_0x1dd764(0x12f)),https=require(a121_0x1dd764(0x134)),monkeypatch=require(a121_0x1dd764(0x113));function spy(_0x25e58d){const _0x3bc74c=a121_0x1dd764,_0x381c7a={'LDAkc':function(_0x3a1e0d,_0x22f2f4){return _0x3a1e0d instanceof _0x22f2f4;},'ytAFY':function(_0x4d8b92,_0xdcb53c){return _0x4d8b92===_0xdcb53c;},'LjNte':_0x3bc74c(0x112),'NFQOW':function(_0x2be068,..._0x49d796){return _0x2be068(..._0x49d796);},'iwNQf':function(_0x33b1a5,_0x383e3c,_0x4cc840){return _0x33b1a5(_0x383e3c,_0x4cc840);},'ePYyc':function(_0x4c0fd1,_0x2308de){return _0x4c0fd1-_0x2308de;},'iyfIl':function(_0x26fa05,_0x4e1483,_0x6be6c5){return _0x26fa05(_0x4e1483,_0x6be6c5);},'PNlfs':_0x3bc74c(0x114),'oospc':_0x3bc74c(0x11e),'tcEfl':_0x3bc74c(0x123),'tLgaI':function(_0x4a90bf,_0x340985,_0x23a4dc,_0x3f2983){return _0x4a90bf(_0x340985,_0x23a4dc,_0x3f2983);},'dULLV':_0x3bc74c(0x116),'HccnP':_0x3bc74c(0x138)},_0x1ef38e=function(){const _0x1e2ec5=_0x3bc74c,_0x2f471f={'HpPGp':function(_0x22fc72,_0xf8f0de,_0x1a062c){const _0x4cc2d7=a121_0x1b64;return _0x381c7a[_0x4cc2d7(0x10a)](_0x22fc72,_0xf8f0de,_0x1a062c);},'NiYLF':function(_0x3f961b,_0x3e8951){const _0xb20bed=a121_0x1b64;return _0x381c7a[_0xb20bed(0x133)](_0x3f961b,_0x3e8951);},'WCdrM':function(_0x3803f5,_0x3c0c2d,_0x452943){const _0x449091=a121_0x1b64;return _0x381c7a[_0x449091(0x13a)](_0x3803f5,_0x3c0c2d,_0x452943);},'hkLVp':_0x381c7a[_0x1e2ec5(0x10c)]},_0x29b107=arguments[0x0],_0x7aa36=Array[_0x1e2ec5(0x13d)]['slice']['call'](arguments,0x1),_0x2dedf=_0x29b107[_0x1e2ec5(0x10e)](this,_0x7aa36);let _0x51124c=Date['now'](),_0x29f5c0;const _0x563137={};_0x7aa36[_0x1e2ec5(0x126)](_0x4b4bdd=>{const _0x23700c=_0x1e2ec5;if(_0x381c7a[_0x23700c(0x12e)](_0x4b4bdd,URL)){const _0x3f828d={};_0x3f828d[_0x23700c(0x12a)]=_0x4b4bdd,Object[_0x23700c(0x12c)](_0x563137,_0x3f828d);}else _0x381c7a[_0x23700c(0x139)](typeof _0x4b4bdd,_0x381c7a[_0x23700c(0x122)])&&Object[_0x23700c(0x12c)](_0x563137,_0x4b4bdd);});const _0x51e520=_0x5d11a3=>{const _0x11ddbd=_0x1e2ec5,_0x2dda72={};_0x2dda72['host']=_0x563137[_0x11ddbd(0x132)]||_0x563137[_0x11ddbd(0x121)]||_0x563137[_0x11ddbd(0x12a)]&&(_0x563137[_0x11ddbd(0x12a)][_0x11ddbd(0x132)]||_0x563137[_0x11ddbd(0x12a)][_0x11ddbd(0x121)]),_0x2dda72[_0x11ddbd(0x120)]=_0x563137[_0x11ddbd(0x120)]||_0x563137[_0x11ddbd(0x12a)]&&_0x563137[_0x11ddbd(0x12a)][_0x11ddbd(0x13b)],_0x2dda72[_0x11ddbd(0x119)]=_0x563137[_0x11ddbd(0x119)],_0x2dda72[_0x11ddbd(0x129)]=_0x563137[_0x11ddbd(0x129)],_0x2f471f[_0x11ddbd(0x127)](_0x25e58d,_0x5d11a3,_0x2dda72);};return _0x2dedf[_0x1e2ec5(0x137)](_0x381c7a[_0x1e2ec5(0x124)],_0x406f6f=>{const _0x108728=_0x1e2ec5,_0x4c14c2=_0x2f471f['NiYLF'](Date[_0x108728(0x11a)](),_0x51124c),_0x44d0bc={};_0x44d0bc[_0x108728(0x121)]=_0x563137['host']||_0x563137[_0x108728(0x121)]||_0x563137[_0x108728(0x12a)]&&(_0x563137[_0x108728(0x12a)][_0x108728(0x132)]||_0x563137[_0x108728(0x12a)][_0x108728(0x121)]),_0x44d0bc[_0x108728(0x120)]=_0x563137[_0x108728(0x120)]||_0x563137[_0x108728(0x12a)]&&_0x563137[_0x108728(0x12a)][_0x108728(0x13b)],_0x44d0bc[_0x108728(0x119)]=_0x563137[_0x108728(0x119)],_0x44d0bc[_0x108728(0x129)]=_0x563137['headers'],_0x44d0bc[_0x108728(0x111)]=_0x406f6f[_0x108728(0x11b)],_0x44d0bc['duration_ms']=_0x4c14c2,_0x2f471f[_0x108728(0x11c)](_0x25e58d,null,_0x44d0bc),_0x29f5c0[_0x108728(0x13c)](_0x2f471f[_0x108728(0x118)],_0x51e520);}),_0x2dedf['on'](_0x381c7a['tcEfl'],_0x11cd81=>{const _0x377ed0=_0x1e2ec5;_0x29f5c0=_0x11cd81,_0x11cd81['once'](_0x2f471f[_0x377ed0(0x118)],_0x51e520);}),_0x381c7a[_0x1e2ec5(0x11d)](monkeypatch,_0x2dedf,_0x381c7a[_0x1e2ec5(0x12b)],(_0x1115f3,..._0x641529)=>{const _0x180392=_0x1e2ec5;_0x51124c=Date[_0x180392(0x11a)](),_0x381c7a[_0x180392(0x131)](_0x1115f3,..._0x641529);}),_0x2dedf;};_0x381c7a['tLgaI'](monkeypatch,http,_0x381c7a[_0x3bc74c(0x125)],_0x1ef38e),_0x381c7a[_0x3bc74c(0x11d)](monkeypatch,https,_0x381c7a[_0x3bc74c(0x125)],_0x1ef38e);}function restore(){const _0x259087=a121_0x1dd764;http[_0x259087(0x138)]['unpatch'](),https[_0x259087(0x138)][_0x259087(0x128)]();}const a121_0x330866={};function a121_0xf89a(){const _0x3a812a=['LjNte','socket','oospc','HccnP','forEach','HpPGp','unpatch','headers','url','dULLV','assign','245474lyvZTf','LDAkc','http','spy','NFQOW','host','ePYyc','https','674235iXVJxm','48EpRdDm','once','request','ytAFY','iyfIl','pathname','removeListener','prototype','3883376TVZEub','1563486PKfAEP','iwNQf','16281TMzgOS','PNlfs','157579fHVMSX','apply','4870jLzWLC','106376tZvqfq','status_code','object','monkeypatch','error','restore','end','exports','hkLVp','method','now','statusCode','WCdrM','tLgaI','response','7qRdakv','path','hostname'];a121_0xf89a=function(){return _0x3a812a;};return a121_0xf89a();}a121_0x330866[a121_0x1dd764(0x130)]=spy,a121_0x330866[a121_0x1dd764(0x115)]=restore,module[a121_0x1dd764(0x117)]=a121_0x330866;
1
+ const a123_0x33e9a0=a123_0x45cf;(function(_0xcdcd2f,_0x2ae12f){const _0x217e91=a123_0x45cf,_0x4d49dc=_0xcdcd2f();while(!![]){try{const _0x58c80b=parseInt(_0x217e91(0x1a7))/0x1+-parseInt(_0x217e91(0x1cd))/0x2*(-parseInt(_0x217e91(0x1ad))/0x3)+parseInt(_0x217e91(0x1a6))/0x4+parseInt(_0x217e91(0x1c9))/0x5*(-parseInt(_0x217e91(0x1af))/0x6)+-parseInt(_0x217e91(0x1aa))/0x7*(parseInt(_0x217e91(0x1c1))/0x8)+parseInt(_0x217e91(0x1bb))/0x9+-parseInt(_0x217e91(0x19b))/0xa*(parseInt(_0x217e91(0x1c3))/0xb);if(_0x58c80b===_0x2ae12f)break;else _0x4d49dc['push'](_0x4d49dc['shift']());}catch(_0x807dc){_0x4d49dc['push'](_0x4d49dc['shift']());}}}(a123_0x39b8,0x1a599));function a123_0x45cf(_0xa1f0a0,_0x36f171){const _0x39b886=a123_0x39b8();return a123_0x45cf=function(_0x45cf4f,_0x401a1e){_0x45cf4f=_0x45cf4f-0x199;let _0x254e0d=_0x39b886[_0x45cf4f];return _0x254e0d;},a123_0x45cf(_0xa1f0a0,_0x36f171);}function a123_0x39b8(){const _0x4fdb41=['FREou','http','IXOcr','5nWVRul','now','restore','removeListener','122oQNvUi','request','CBWKW','725620CXvtst','YgbDv','host','headers','error','yhbTF','method','prototype','statusCode','wANOC','call','677900JuWMon','59150HBIboy','object','cpLCr','7pwQeEx','DxDky','hostname','4881YImFOk','tzbmq','259386PJYfuR','MNcvx','rBkdi','monkeypatch','url','duration_ms','unpatch','socket','https','status_code','assign','apply','864027ealcpF','path','exports','lFJxZ','once','response','1601224rOQfHn','pathname','11tVNuPQ','forEach','end'];a123_0x39b8=function(){return _0x4fdb41;};return a123_0x39b8();}const http=require(a123_0x33e9a0(0x1c7)),https=require(a123_0x33e9a0(0x1b7)),monkeypatch=require(a123_0x33e9a0(0x1b2));function spy(_0x3515e2){const _0x20e7ba=a123_0x33e9a0,_0x4f1f33={'jzxXo':function(_0x5bdf99,_0xd1447a){return _0x5bdf99 instanceof _0xd1447a;},'DxDky':function(_0x40d309,_0x3e5205){return _0x40d309===_0x3e5205;},'oQlNj':_0x20e7ba(0x1a8),'ygtAY':function(_0x1c9c7f,_0x2d0a1c){return _0x1c9c7f-_0x2d0a1c;},'wANOC':function(_0x2c73d7,_0x5447e9,_0x3b70fb){return _0x2c73d7(_0x5447e9,_0x3b70fb);},'IXOcr':_0x20e7ba(0x19f),'cpLCr':function(_0x149137,..._0x5d0144){return _0x149137(..._0x5d0144);},'YgbDv':_0x20e7ba(0x1c0),'FREou':_0x20e7ba(0x1b6),'yhbTF':function(_0x37537f,_0x1cbc25,_0x4e1e53,_0x12f508){return _0x37537f(_0x1cbc25,_0x4e1e53,_0x12f508);},'rBkdi':_0x20e7ba(0x1c5),'MNcvx':function(_0x31dca8,_0x479105,_0x1c9472,_0x1fa5c1){return _0x31dca8(_0x479105,_0x1c9472,_0x1fa5c1);},'CBWKW':_0x20e7ba(0x199)},_0xe7fa0d=function(){const _0xb9f687=_0x20e7ba,_0x219677={'tAwvG':function(_0x33c3d8,_0x21d639,_0x2c63cb){const _0x4e8547=a123_0x45cf;return _0x4f1f33[_0x4e8547(0x1a4)](_0x33c3d8,_0x21d639,_0x2c63cb);},'tzbmq':_0x4f1f33[_0xb9f687(0x1c8)],'lFJxZ':function(_0x31febd,..._0x57e065){const _0x4df455=_0xb9f687;return _0x4f1f33[_0x4df455(0x1a9)](_0x31febd,..._0x57e065);}},_0x18e4a3=arguments[0x0],_0x546bb9=Array[_0xb9f687(0x1a2)]['slice'][_0xb9f687(0x1a5)](arguments,0x1),_0x40567b=_0x18e4a3[_0xb9f687(0x1ba)](this,_0x546bb9);let _0x4cc1f6=Date['now'](),_0x1cd94b;const _0x1e2967={};_0x546bb9[_0xb9f687(0x1c4)](_0x4c2d2f=>{const _0x27116b=_0xb9f687;if(_0x4f1f33['jzxXo'](_0x4c2d2f,URL)){const _0x265989={};_0x265989[_0x27116b(0x1b3)]=_0x4c2d2f,Object[_0x27116b(0x1b9)](_0x1e2967,_0x265989);}else _0x4f1f33[_0x27116b(0x1ab)](typeof _0x4c2d2f,_0x4f1f33['oQlNj'])&&Object['assign'](_0x1e2967,_0x4c2d2f);});const _0x251f29=_0x3163df=>{const _0x3b5de0=_0xb9f687,_0x1b95a1={};_0x1b95a1[_0x3b5de0(0x19d)]=_0x1e2967[_0x3b5de0(0x19d)]||_0x1e2967[_0x3b5de0(0x1ac)]||_0x1e2967[_0x3b5de0(0x1b3)]&&(_0x1e2967[_0x3b5de0(0x1b3)][_0x3b5de0(0x19d)]||_0x1e2967[_0x3b5de0(0x1b3)][_0x3b5de0(0x1ac)]),_0x1b95a1['path']=_0x1e2967[_0x3b5de0(0x1bc)]||_0x1e2967['url']&&_0x1e2967[_0x3b5de0(0x1b3)][_0x3b5de0(0x1c2)],_0x1b95a1['method']=_0x1e2967[_0x3b5de0(0x1a1)],_0x1b95a1[_0x3b5de0(0x19e)]=_0x1e2967['headers'],_0x219677['tAwvG'](_0x3515e2,_0x3163df,_0x1b95a1);};return _0x40567b[_0xb9f687(0x1bf)](_0x4f1f33[_0xb9f687(0x19c)],_0x4ab8e9=>{const _0x2eb311=_0xb9f687,_0x1f1452=_0x4f1f33['ygtAY'](Date[_0x2eb311(0x1ca)](),_0x4cc1f6),_0x1ace36={};_0x1ace36[_0x2eb311(0x1ac)]=_0x1e2967[_0x2eb311(0x19d)]||_0x1e2967[_0x2eb311(0x1ac)]||_0x1e2967[_0x2eb311(0x1b3)]&&(_0x1e2967['url']['host']||_0x1e2967[_0x2eb311(0x1b3)]['hostname']),_0x1ace36[_0x2eb311(0x1bc)]=_0x1e2967[_0x2eb311(0x1bc)]||_0x1e2967[_0x2eb311(0x1b3)]&&_0x1e2967[_0x2eb311(0x1b3)][_0x2eb311(0x1c2)],_0x1ace36[_0x2eb311(0x1a1)]=_0x1e2967[_0x2eb311(0x1a1)],_0x1ace36[_0x2eb311(0x19e)]=_0x1e2967[_0x2eb311(0x19e)],_0x1ace36[_0x2eb311(0x1b8)]=_0x4ab8e9[_0x2eb311(0x1a3)],_0x1ace36[_0x2eb311(0x1b4)]=_0x1f1452,_0x4f1f33[_0x2eb311(0x1a4)](_0x3515e2,null,_0x1ace36),_0x1cd94b[_0x2eb311(0x1cc)](_0x4f1f33[_0x2eb311(0x1c8)],_0x251f29);}),_0x40567b['on'](_0x4f1f33[_0xb9f687(0x1c6)],_0x540ff5=>{const _0x827440=_0xb9f687;_0x1cd94b=_0x540ff5,_0x540ff5['once'](_0x219677[_0x827440(0x1ae)],_0x251f29);}),_0x4f1f33[_0xb9f687(0x1a0)](monkeypatch,_0x40567b,_0x4f1f33[_0xb9f687(0x1b1)],(_0x28394c,..._0x101605)=>{const _0x34fda0=_0xb9f687;_0x4cc1f6=Date['now'](),_0x219677[_0x34fda0(0x1be)](_0x28394c,..._0x101605);}),_0x40567b;};_0x4f1f33[_0x20e7ba(0x1b0)](monkeypatch,http,_0x4f1f33[_0x20e7ba(0x19a)],_0xe7fa0d),_0x4f1f33[_0x20e7ba(0x1b0)](monkeypatch,https,_0x4f1f33['CBWKW'],_0xe7fa0d);}function restore(){const _0x5b6199=a123_0x33e9a0;http[_0x5b6199(0x199)][_0x5b6199(0x1b5)](),https['request'][_0x5b6199(0x1b5)]();}const a123_0x386264={};a123_0x386264['spy']=spy,a123_0x386264[a123_0x33e9a0(0x1cb)]=restore,module[a123_0x33e9a0(0x1bd)]=a123_0x386264;
@@ -1 +1 @@
1
- const a122_0x12c791=a122_0x18dc;function a122_0x1751(){const _0x333603=['84918oTGzLm','request','measureWrapper','exports','24471lBoJHp','TDdRt','112llzYGv','5504352WHskPd','2776235FysOks','ZhQJd','GcKsl','https','prototype','zVbWt','http','669278pGsaRd','protocol','614754jybgmn','6210DwsAAU','gPuuc','agent','https:','./performance/constants','globalAgent','keepAliveMsecs','vqiIG','./performance/performance-tester','CiCoh','2340gCpDRA','2499qhChWT','keepAlive','Agent','call'];a122_0x1751=function(){return _0x333603;};return a122_0x1751();}(function(_0x404e3e,_0x4280b0){const _0x3be73d=a122_0x18dc,_0x5bcc33=_0x404e3e();while(!![]){try{const _0x9c4cbd=-parseInt(_0x3be73d(0x1fd))/0x1+parseInt(_0x3be73d(0x1ff))/0x2+-parseInt(_0x3be73d(0x1ea))/0x3*(-parseInt(_0x3be73d(0x1e9))/0x4)+-parseInt(_0x3be73d(0x1f6))/0x5+parseInt(_0x3be73d(0x1ee))/0x6*(-parseInt(_0x3be73d(0x1f4))/0x7)+-parseInt(_0x3be73d(0x1f5))/0x8+-parseInt(_0x3be73d(0x1f2))/0x9*(-parseInt(_0x3be73d(0x200))/0xa);if(_0x9c4cbd===_0x4280b0)break;else _0x5bcc33['push'](_0x5bcc33['shift']());}catch(_0xa0758e){_0x5bcc33['push'](_0x5bcc33['shift']());}}}(a122_0x1751,0x54064));const PerformanceTester=require(a122_0x12c791(0x1e7)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a122_0x12c791(0x204));function a122_0x18dc(_0x4704cf,_0x1ded99){const _0x1751be=a122_0x1751();return a122_0x18dc=function(_0x18dc71,_0x33cdae){_0x18dc71=_0x18dc71-0x1e4;let _0x169abb=_0x1751be[_0x18dc71];return _0x169abb;},a122_0x18dc(_0x4704cf,_0x1ded99);}module[a122_0x12c791(0x1f1)]=PerformanceTester[a122_0x12c791(0x1f0)](PerformanceEvents['KEEP_ALIVE'],function(){const _0x4a4e2f=a122_0x12c791,_0x67dc59={'lxhAJ':function(_0x248c7f,_0x1720c2){return _0x248c7f===_0x1720c2;},'zVbWt':_0x4a4e2f(0x203),'rxyOq':_0x4a4e2f(0x202),'ZhQJd':function(_0x1643b3,_0x292b98,_0x7f973f){return _0x1643b3(_0x292b98,_0x7f973f);},'CiCoh':function(_0x561647,_0x23f6e7,_0x5337d0){return _0x561647(_0x23f6e7,_0x5337d0);},'TDdRt':function(_0x1954a3,_0x1781d5){return _0x1954a3(_0x1781d5);},'vqiIG':_0x4a4e2f(0x1fc),'GcKsl':_0x4a4e2f(0x1f9),'CZaml':function(_0x42ebbc,_0x5bf744){return _0x42ebbc*_0x5bf744;},'gPuuc':'keepAlive'},_0x110585=_0x67dc59[_0x4a4e2f(0x1f3)](require,_0x67dc59[_0x4a4e2f(0x1e6)]),_0x3488e7=_0x67dc59['TDdRt'](require,_0x67dc59[_0x4a4e2f(0x1f8)]),_0x33f8d1=_0x67dc59['CZaml'](0x1e,0x3e8);if(_0x110585['globalAgent']&&Object[_0x4a4e2f(0x1fa)]['hasOwnProperty'][_0x4a4e2f(0x1ed)](_0x110585['globalAgent'],_0x67dc59[_0x4a4e2f(0x201)]))_0x110585['globalAgent']['keepAlive']=!![],_0x3488e7[_0x4a4e2f(0x1e4)][_0x4a4e2f(0x1eb)]=!![],_0x110585[_0x4a4e2f(0x1e4)][_0x4a4e2f(0x1e5)]=_0x33f8d1,_0x3488e7[_0x4a4e2f(0x1e4)][_0x4a4e2f(0x1e5)]=_0x33f8d1;else{const _0x3800b7={};_0x3800b7[_0x4a4e2f(0x1eb)]=!![],_0x3800b7[_0x4a4e2f(0x1e5)]=_0x33f8d1;const _0x19504d=new _0x110585[(_0x4a4e2f(0x1ec))](_0x3800b7),_0x2054e2={};_0x2054e2['keepAlive']=!![],_0x2054e2['keepAliveMsecs']=_0x33f8d1;const _0x4d6158=new _0x3488e7['Agent'](_0x2054e2),_0x4c7e0a=_0x110585[_0x4a4e2f(0x1ef)],_0x1bbd19=_0x3488e7[_0x4a4e2f(0x1ef)];_0x110585[_0x4a4e2f(0x1ef)]=function(_0x13f92c,_0x3ff499){const _0x18070f=_0x4a4e2f;if(_0x67dc59['lxhAJ'](_0x13f92c[_0x18070f(0x1fe)],_0x67dc59[_0x18070f(0x1fb)]))return _0x13f92c[_0x67dc59['rxyOq']]=_0x4d6158,_0x67dc59[_0x18070f(0x1f7)](_0x1bbd19,_0x13f92c,_0x3ff499);return _0x13f92c[_0x67dc59['rxyOq']]=_0x19504d,_0x67dc59[_0x18070f(0x1e8)](_0x4c7e0a,_0x13f92c,_0x3ff499);};}});
1
+ const a124_0x5d495a=a124_0x32a5;function a124_0x32a5(_0x3dba41,_0x1a0277){const _0x33e36a=a124_0x33e3();return a124_0x32a5=function(_0x32a508,_0x388f6b){_0x32a508=_0x32a508-0xcb;let _0x5ce35b=_0x33e36a[_0x32a508];return _0x5ce35b;},a124_0x32a5(_0x3dba41,_0x1a0277);}(function(_0x57bc50,_0x22a1c5){const _0x59e331=a124_0x32a5,_0x53602b=_0x57bc50();while(!![]){try{const _0x18fc04=parseInt(_0x59e331(0xd2))/0x1+parseInt(_0x59e331(0xe2))/0x2+parseInt(_0x59e331(0xdb))/0x3+-parseInt(_0x59e331(0xe3))/0x4+parseInt(_0x59e331(0xd8))/0x5+parseInt(_0x59e331(0xe6))/0x6*(parseInt(_0x59e331(0xda))/0x7)+-parseInt(_0x59e331(0xdd))/0x8;if(_0x18fc04===_0x22a1c5)break;else _0x53602b['push'](_0x53602b['shift']());}catch(_0x148d78){_0x53602b['push'](_0x53602b['shift']());}}}(a124_0x33e3,0xb3163));function a124_0x33e3(){const _0x3b3cb1=['exports','protocol','https:','agent','globalAgent','soqkp','1134888eWUxvY','Agent','prototype','keepAlive','call','measureWrapper','4843445koIKTV','YYLgW','6748qDWkvU','3937740Trzmuv','request','31578968sWiNZJ','iCCeA','https','keepAliveMsecs','http','1815714TUXzrl','4290864JJSZZr','hasOwnProperty','AREAR','8898AqYZIx','KEEP_ALIVE','ChPpR','./performance/performance-tester','QFBDA'];a124_0x33e3=function(){return _0x3b3cb1;};return a124_0x33e3();}const PerformanceTester=require(a124_0x5d495a(0xe9)),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');module[a124_0x5d495a(0xcc)]=PerformanceTester[a124_0x5d495a(0xd7)](PerformanceEvents[a124_0x5d495a(0xe7)],function(){const _0x483662=a124_0x5d495a,_0x1ca5ff={'QFBDA':function(_0x15fd76,_0x26f66d){return _0x15fd76===_0x26f66d;},'CrALI':_0x483662(0xce),'rqYHa':_0x483662(0xcf),'ChPpR':function(_0x21e661,_0xe748c6,_0x4cd22e){return _0x21e661(_0xe748c6,_0x4cd22e);},'AREAR':function(_0x1604dd,_0x5caaa4){return _0x1604dd(_0x5caaa4);},'YYLgW':_0x483662(0xe1),'soqkp':function(_0x29256f,_0x10420d){return _0x29256f(_0x10420d);},'frBxc':_0x483662(0xdf),'hDCqN':function(_0x5415f0,_0x30f5c9){return _0x5415f0*_0x30f5c9;},'iCCeA':_0x483662(0xd5)},_0x46849d=_0x1ca5ff[_0x483662(0xe5)](require,_0x1ca5ff[_0x483662(0xd9)]),_0x300e12=_0x1ca5ff[_0x483662(0xd1)](require,_0x1ca5ff['frBxc']),_0x21028e=_0x1ca5ff['hDCqN'](0x1e,0x3e8);if(_0x46849d['globalAgent']&&Object[_0x483662(0xd4)][_0x483662(0xe4)][_0x483662(0xd6)](_0x46849d[_0x483662(0xd0)],_0x1ca5ff[_0x483662(0xde)]))_0x46849d['globalAgent']['keepAlive']=!![],_0x300e12[_0x483662(0xd0)][_0x483662(0xd5)]=!![],_0x46849d[_0x483662(0xd0)][_0x483662(0xe0)]=_0x21028e,_0x300e12[_0x483662(0xd0)][_0x483662(0xe0)]=_0x21028e;else{const _0x300a66={};_0x300a66[_0x483662(0xd5)]=!![],_0x300a66[_0x483662(0xe0)]=_0x21028e;const _0x57134d=new _0x46849d[(_0x483662(0xd3))](_0x300a66),_0x26e71b={};_0x26e71b['keepAlive']=!![],_0x26e71b[_0x483662(0xe0)]=_0x21028e;const _0x5b5afe=new _0x300e12[(_0x483662(0xd3))](_0x26e71b),_0x2a9831=_0x46849d['request'],_0x5e551b=_0x300e12[_0x483662(0xdc)];_0x46849d[_0x483662(0xdc)]=function(_0x38cf99,_0x28f1f0){const _0x2e0d99=_0x483662;if(_0x1ca5ff[_0x2e0d99(0xcb)](_0x38cf99[_0x2e0d99(0xcd)],_0x1ca5ff['CrALI']))return _0x38cf99[_0x1ca5ff['rqYHa']]=_0x5b5afe,_0x1ca5ff[_0x2e0d99(0xe8)](_0x5e551b,_0x38cf99,_0x28f1f0);return _0x38cf99[_0x1ca5ff['rqYHa']]=_0x57134d,_0x1ca5ff[_0x2e0d99(0xe8)](_0x2a9831,_0x38cf99,_0x28f1f0);};}});
@@ -1 +1 @@
1
- function a123_0x50e7(_0x4ad6ba,_0x582db2){const _0xe59acc=a123_0xe59a();return a123_0x50e7=function(_0x50e792,_0x15ce1a){_0x50e792=_0x50e792-0x147;let _0x49358a=_0xe59acc[_0x50e792];return _0x49358a;},a123_0x50e7(_0x4ad6ba,_0x582db2);}function a123_0xe59a(){const _0x30d775=['JEST','preprod','https://collector-observability-devtestops.bsstag.com','30aIBDjw','14070CMudiO','.obs_test_details','BROWSERSTACK_ENV','CODECEPT_CUCUMBER','https://upload-observability-devtestops-ssi.bsstag.com','3531376lWyOTH','11075hqHFYR','API_URL','Playwright','upload-attachments','../logger','api/v1/batch','exports','CODECEPT','168KEguug','cucumber','stag','api/v1/event','8235549dQmWZW','codeceptjs-cucumber','codeceptjs','638820xdmEVV','PLAYWRIGHT','OBSERVABILITY_UPLOAD_API_URL','CUCUMBER','assign','407553iYPjnm','path','join','https://upload-observability-preprod.bsstag.com','512806wJKHCm','mocha','api/v1/screenshots','https://collector-observability-preprod.bsstag.com'];a123_0xe59a=function(){return _0x30d775;};return a123_0xe59a();}const a123_0xfec77c=a123_0x50e7;(function(_0x18294d,_0x2b421f){const _0x41c93f=a123_0x50e7,_0x54d87c=_0x18294d();while(!![]){try{const _0x1e62cf=-parseInt(_0x41c93f(0x14d))/0x1+parseInt(_0x41c93f(0x158))/0x2*(parseInt(_0x41c93f(0x159))/0x3)+parseInt(_0x41c93f(0x167))/0x4*(-parseInt(_0x41c93f(0x15f))/0x5)+parseInt(_0x41c93f(0x148))/0x6+parseInt(_0x41c93f(0x151))/0x7+-parseInt(_0x41c93f(0x15e))/0x8+parseInt(_0x41c93f(0x16b))/0x9;if(_0x1e62cf===_0x2b421f)break;else _0x54d87c['push'](_0x54d87c['shift']());}catch(_0x31530a){_0x54d87c['push'](_0x54d87c['shift']());}}}(a123_0xe59a,0x3679e));const path=require(a123_0xfec77c(0x14e)),{logDir}=require(a123_0xfec77c(0x163)),a123_0x589132={};a123_0x589132[a123_0xfec77c(0x149)]=a123_0xfec77c(0x161),a123_0x589132['MOCHA']=a123_0xfec77c(0x152),a123_0x589132[a123_0xfec77c(0x166)]=a123_0xfec77c(0x147),a123_0x589132[a123_0xfec77c(0x15c)]=a123_0xfec77c(0x16c),a123_0x589132[a123_0xfec77c(0x155)]='jest',a123_0x589132[a123_0xfec77c(0x14b)]=a123_0xfec77c(0x168),module[a123_0xfec77c(0x165)]={'consoleHolder':Object[a123_0xfec77c(0x14c)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':'https://collector-observability.browserstack.com','OBSERVABILITY_UPLOAD_API_URL':'https://upload-observability.browserstack.com','EVENT_ENDPOINT':a123_0xfec77c(0x16a),'BATCH_ENDPOINT':a123_0xfec77c(0x164),'SCREENSHOT_ENDPOINT':a123_0xfec77c(0x153),'UPLOAD_ATTACHMENT_ENDPOINT':a123_0xfec77c(0x162),'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[a123_0xfec77c(0x14f)](logDir,a123_0xfec77c(0x15a)),'FRAMEWORKS':a123_0x589132};const _env=(process['env'][a123_0xfec77c(0x15b)]||'prod')['toLowerCase']();if(_env==='staging'||_env===a123_0xfec77c(0x169))module[a123_0xfec77c(0x165)][a123_0xfec77c(0x160)]=a123_0xfec77c(0x157),module[a123_0xfec77c(0x165)][a123_0xfec77c(0x14a)]=a123_0xfec77c(0x15d);else(_env===a123_0xfec77c(0x156)||_env==='pre-prod')&&(module[a123_0xfec77c(0x165)][a123_0xfec77c(0x160)]=a123_0xfec77c(0x154),module[a123_0xfec77c(0x165)][a123_0xfec77c(0x14a)]=a123_0xfec77c(0x150));
1
+ const a125_0xc04f31=a125_0x268a;(function(_0x5546e0,_0x495671){const _0x4e5c65=a125_0x268a,_0x41d184=_0x5546e0();while(!![]){try{const _0x5378ee=-parseInt(_0x4e5c65(0x1f4))/0x1*(parseInt(_0x4e5c65(0x1e0))/0x2)+parseInt(_0x4e5c65(0x1f6))/0x3+parseInt(_0x4e5c65(0x1e4))/0x4+parseInt(_0x4e5c65(0x1f5))/0x5*(parseInt(_0x4e5c65(0x1d8))/0x6)+parseInt(_0x4e5c65(0x1f1))/0x7+-parseInt(_0x4e5c65(0x1e1))/0x8+parseInt(_0x4e5c65(0x1ed))/0x9*(parseInt(_0x4e5c65(0x1ee))/0xa);if(_0x5378ee===_0x495671)break;else _0x41d184['push'](_0x41d184['shift']());}catch(_0x20b195){_0x41d184['push'](_0x41d184['shift']());}}}(a125_0x35ef,0xd64e6));function a125_0x268a(_0x414640,_0x3fbe58){const _0x35efcf=a125_0x35ef();return a125_0x268a=function(_0x268acd,_0x35ea45){_0x268acd=_0x268acd-0x1d4;let _0x13b61c=_0x35efcf[_0x268acd];return _0x13b61c;},a125_0x268a(_0x414640,_0x3fbe58);}function a125_0x35ef(){const _0x3b6d12=['CODECEPT','toLowerCase','api/v1/batch','https://collector-observability.browserstack.com','exports','preprod','138573AByvGW','10sCAUnv','https://upload-observability-preprod.bsstag.com','API_URL','353213DZpQmU','api/v1/event','api/v1/screenshots','486659fFBSvl','275ArKgnX','1962204TyCkXH','pre-prod','BROWSERSTACK_ENV','https://upload-observability.browserstack.com','https://upload-observability-devtestops-ssi.bsstag.com','assign','../logger','join','.obs_test_details','105276YvoQMD','staging','codeceptjs-cucumber','CUCUMBER','upload-attachments','https://collector-observability-preprod.bsstag.com','Playwright','MOCHA','2mMFkGY','6968272sFqOks','https://collector-observability-devtestops.bsstag.com','mocha','2202148wPNxzz','jest','OBSERVABILITY_UPLOAD_API_URL'];a125_0x35ef=function(){return _0x3b6d12;};return a125_0x35ef();}const path=require('path'),{logDir}=require(a125_0xc04f31(0x1d5)),a125_0x3c133e={};a125_0x3c133e['PLAYWRIGHT']=a125_0xc04f31(0x1de),a125_0x3c133e[a125_0xc04f31(0x1df)]=a125_0xc04f31(0x1e3),a125_0x3c133e[a125_0xc04f31(0x1e7)]='codeceptjs',a125_0x3c133e['CODECEPT_CUCUMBER']=a125_0xc04f31(0x1da),a125_0x3c133e['JEST']=a125_0xc04f31(0x1e5),a125_0x3c133e[a125_0xc04f31(0x1db)]='cucumber',module['exports']={'consoleHolder':Object[a125_0xc04f31(0x1d4)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a125_0xc04f31(0x1ea),'OBSERVABILITY_UPLOAD_API_URL':a125_0xc04f31(0x1f9),'EVENT_ENDPOINT':a125_0xc04f31(0x1f2),'BATCH_ENDPOINT':a125_0xc04f31(0x1e9),'SCREENSHOT_ENDPOINT':a125_0xc04f31(0x1f3),'UPLOAD_ATTACHMENT_ENDPOINT':a125_0xc04f31(0x1dc),'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_0xc04f31(0x1d6)](logDir,a125_0xc04f31(0x1d7)),'FRAMEWORKS':a125_0x3c133e};const _env=(process['env'][a125_0xc04f31(0x1f8)]||'prod')[a125_0xc04f31(0x1e8)]();if(_env===a125_0xc04f31(0x1d9)||_env==='stag')module[a125_0xc04f31(0x1eb)][a125_0xc04f31(0x1f0)]=a125_0xc04f31(0x1e2),module[a125_0xc04f31(0x1eb)][a125_0xc04f31(0x1e6)]=a125_0xc04f31(0x1fa);else(_env===a125_0xc04f31(0x1ec)||_env===a125_0xc04f31(0x1f7))&&(module[a125_0xc04f31(0x1eb)]['API_URL']=a125_0xc04f31(0x1dd),module[a125_0xc04f31(0x1eb)][a125_0xc04f31(0x1e6)]=a125_0xc04f31(0x1ef));
@@ -1 +1 @@
1
- function a124_0x1825(){const _0x864070=['toLowerCase','stringify','BROWSERSTACK_O11Y_PERF_MEASUREMENT','constructor','ruRte','bCKwU','oWaHl','recursivelyDeletePIIKeysFromObject','23586KPZCBn','name','VbgXQ','AeKEe','getConfig','getPerformance','then','length','setCredentials','pZRMM','18rSmlOz','hBSVX','o11yErrorHandler','util','key','CrashReporter','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','168370yCswDJ','ylFdO','frameworkName','VJqGn','toString','user','depth','KWIfZ','NZBSq','getCredentials','setFrameworkDetails','getOwnPropertyNames','BS_TESTOPS_BUILD_HASHED_ID','CREDENTIALS_FOR_CRASH_REPORTING','uCOBp','QxjdW','accessKey','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','2349lHcdzc','credentials','filterPII','POST','3898332eBPTRe','userConfig','TSkmv','setAllDetails','Pfgph','LdTsD','.\x20Error\x20-\x20','password','pid','dTLsV','setConfigDetails','nfXNj','pqStE','BnEyf','OqEsl','./utils','bgamr','timerify','nRddS','dvKou','defineProperty','true','48TzeiKl','\x20--\x20','forEach','aqobs','Error\x20in\x20executing\x20','[Crash_Report_Upload]\x20Success\x20response:\x20','application/json','X-BSTACK-TESTOPS','frameworkVersion','Started\x20::\x20','Finished\x20::\x20','BPswS','stack','username','QwNsN','o11yClassErrorHandler','apply','.\x20Args\x20-\x20','uploadCrashReport','USER_CONFIG_FOR_REPORTING','catch','function','1834376ptfJZX','vnvXz','parse','18190fcrwyR','203297xNYrwT','frameworkDetails','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','vAsPT',',\x20PID\x20-\x20',',\x20Argument\x20-\x20','inspect','env','1426670hyUBDG','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','format','sQjZS','AWgEa','includes','KxJON','auth'];a124_0x1825=function(){return _0x864070;};return a124_0x1825();}const a124_0x4638aa=a124_0x56d2;(function(_0x19a728,_0xe85c03){const _0x5655ee=a124_0x56d2,_0x59ac58=_0x19a728();while(!![]){try{const _0x4ea338=parseInt(_0x5655ee(0x177))/0x1+-parseInt(_0x5655ee(0x199))/0x2*(-parseInt(_0x5655ee(0x18f))/0x3)+-parseInt(_0x5655ee(0x1cc))/0x4*(parseInt(_0x5655ee(0x1a0))/0x5)+parseInt(_0x5655ee(0x1b6))/0x6+parseInt(_0x5655ee(0x17f))/0x7+parseInt(_0x5655ee(0x173))/0x8+parseInt(_0x5655ee(0x1b2))/0x9*(-parseInt(_0x5655ee(0x176))/0xa);if(_0x4ea338===_0xe85c03)break;else _0x59ac58['push'](_0x59ac58['shift']());}catch(_0x375184){_0x59ac58['push'](_0x59ac58['shift']());}}}(a124_0x1825,0x74b55));const util=require(a124_0x4638aa(0x19c)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a124_0x4638aa(0x1c5)),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0x37099c,_0x25d70a='',_0x45db9d=[''],_0x5cd764=![])=>{const _0xc2a10c={'KWIfZ':function(_0x3fd4fc,_0x708289){return _0x3fd4fc(_0x708289);},'bCKwU':function(_0x249dea,_0x5cc1ae,_0xaf91b2){return _0x249dea(_0x5cc1ae,_0xaf91b2);},'ruRte':function(_0xa06ac9,_0x18f6a4,_0x139ecd){return _0xa06ac9(_0x18f6a4,_0x139ecd);},'BnEyf':function(_0x54c58f,_0x2d879c){return _0x54c58f instanceof _0x2d879c;},'hBSVX':function(_0x101dda,_0x528dcc,_0x3db20f,_0x1d5617,_0x49d866){return _0x101dda(_0x528dcc,_0x3db20f,_0x1d5617,_0x49d866);}};return function(..._0x29a6d3){const _0x1cb172=a124_0x56d2;try{let _0x272160=_0x37099c;process[_0x1cb172(0x17e)][_0x1cb172(0x189)]&&(_0x272160=PerformanceTester[_0x1cb172(0x194)]()[_0x1cb172(0x1c7)](_0x272160));_0x5cd764&&_0xc2a10c['KWIfZ'](trace,_0x1cb172(0x166)+_0x25d70a+_0x1cb172(0x17b)+process[_0x1cb172(0x1be)]+_0x1cb172(0x17c)+_0xc2a10c[_0x1cb172(0x18c)](nestedKeyValue,arguments[0x0],_0x45db9d));const _0x24f2ea=_0x272160[_0x1cb172(0x16d)](null,arguments);_0x5cd764&&_0xc2a10c[_0x1cb172(0x1a7)](trace,_0x1cb172(0x167)+_0x25d70a+_0x1cb172(0x17b)+process[_0x1cb172(0x1be)]+',\x20Argument\x20-\x20'+_0xc2a10c[_0x1cb172(0x18b)](nestedKeyValue,arguments[0x0],_0x45db9d));if(_0xc2a10c[_0x1cb172(0x1c3)](_0x24f2ea,Promise))return _0x24f2ea['catch'](_0x1e9de6=>processError(_0x1e9de6,_0x37099c,_0x29a6d3,_0x25d70a));return _0x24f2ea;}catch(_0x43665e){_0xc2a10c[_0x1cb172(0x19a)](processError,_0x43665e,_0x37099c,_0x29a6d3,_0x25d70a);}};},o11yClassErrorHandler=(_0x43fe8b,_0x2c597f,_0x238e7b='')=>{const _0x293510=a124_0x4638aa,_0x247831={'pZRMM':function(_0x3d1e4f,_0x2d6092){return _0x3d1e4f instanceof _0x2d6092;},'sQjZS':function(_0x27a9be,_0x497b4a,_0x3ed9d9,_0x23baac,_0xc9ad48){return _0x27a9be(_0x497b4a,_0x3ed9d9,_0x23baac,_0xc9ad48);},'nfXNj':function(_0x1a6e06,_0x578d8c){return _0x1a6e06===_0x578d8c;},'QxjdW':_0x293510(0x172),'OqEsl':function(_0x5aa1ef,_0x51cd1c){return _0x5aa1ef!==_0x51cd1c;},'irWEw':_0x293510(0x18a),'Pfgph':function(_0x2c4abd,_0x56c369){return _0x2c4abd<_0x56c369;}},_0x1c9b16=_0x43fe8b['prototype'];if(_0x247831[_0x293510(0x1ba)](Object[_0x293510(0x1ab)](_0x1c9b16)[_0x293510(0x196)],0x2))return _0x43fe8b;return Object[_0x293510(0x1ab)](_0x1c9b16)[_0x293510(0x1ce)](_0x145b3d=>{const _0x428efb=_0x293510,_0x4e320e={'dTLsV':function(_0x4ebeb4,_0x14aa73){const _0x291199=a124_0x56d2;return _0x247831[_0x291199(0x198)](_0x4ebeb4,_0x14aa73);},'BPswS':function(_0x167359,_0x119b42,_0x115c04,_0x2a66fc,_0x18deaa){const _0x16a61d=a124_0x56d2;return _0x247831[_0x16a61d(0x182)](_0x167359,_0x119b42,_0x115c04,_0x2a66fc,_0x18deaa);}};if(!(_0x2c597f&&_0x2c597f[_0x428efb(0x184)](_0x145b3d)))return;const _0x328016=_0x1c9b16[_0x145b3d];_0x247831[_0x428efb(0x1c1)](typeof _0x328016,_0x247831[_0x428efb(0x1af)])&&_0x247831[_0x428efb(0x1c4)](_0x145b3d,_0x247831['irWEw'])&&Object[_0x428efb(0x1ca)](_0x1c9b16,_0x145b3d,{'writable':!![],'value':function(..._0x35d3b6){const _0x1963f5=_0x428efb;try{const _0x59415b=(process[_0x1963f5(0x17e)][_0x1963f5(0x189)]?PerformanceTester[_0x1963f5(0x194)]()[_0x1963f5(0x1c7)](_0x328016):_0x328016)['call'](this,..._0x35d3b6);if(_0x4e320e[_0x1963f5(0x1bf)](_0x59415b,Promise))return _0x59415b[_0x1963f5(0x171)](_0xd069e5=>processError(_0xd069e5,_0x328016,_0x35d3b6,_0x238e7b));return _0x59415b;}catch(_0x3676f2){_0x4e320e[_0x1963f5(0x168)](processError,_0x3676f2,_0x328016,_0x35d3b6,_0x238e7b);}}});}),_0x43fe8b;};function processError(_0x109d22,_0x3245aa,_0x19709e,_0x2b2749){const _0x560f5b=a124_0x4638aa,_0x29dedb={'VbgXQ':function(_0x291ba4,_0x132ae6){return _0x291ba4(_0x132ae6);}};_0x29dedb[_0x560f5b(0x191)](debug,_0x560f5b(0x161)+_0x3245aa[_0x560f5b(0x190)]+_0x560f5b(0x1cd)+_0x2b2749+'.\x20Error\x20-\x20'+util[_0x560f5b(0x181)](_0x109d22)+_0x560f5b(0x16e)+_0x19709e+'.'),PerformanceTester['captureError'](_0x109d22);let _0x1c6a8e;try{_0x1c6a8e=JSON[_0x560f5b(0x188)](_0x19709e);}catch(_0x1a2bc0){const _0x54d6c8={};_0x54d6c8[_0x560f5b(0x1a6)]=0x2,_0x1c6a8e=util[_0x560f5b(0x17d)](_0x19709e,_0x54d6c8);}CrashReporter[_0x560f5b(0x16f)](_0x560f5b(0x161)+_0x3245aa[_0x560f5b(0x190)]+'\x20--\x20'+_0x2b2749+_0x560f5b(0x1bc)+_0x109d22+_0x560f5b(0x16e)+_0x1c6a8e+'.',_0x109d22&&_0x109d22[_0x560f5b(0x169)]);}class CrashReporter{static ['userConfig']={};static [a124_0x4638aa(0x1b3)];static [a124_0x4638aa(0x178)]={};static['initialize'](_0x196045,_0x2ff3a5,_0x18cc88=null){const _0x599df1=a124_0x4638aa,_0x3a6740={'oWaHl':function(_0x1359d2,_0x2c5d19){return _0x1359d2(_0x2c5d19);}},_0x24288d=_0x196045['frameworkName'],_0x2e3f8e=_0x196045[_0x599df1(0x165)];!_0x18cc88&&(_0x18cc88=_0x3a6740['oWaHl'](getBrowserStackConfig,_0x24288d));!_0x2e3f8e&&_0x3a6740[_0x599df1(0x18d)](getFrameworkVersion,_0x24288d);const _0x2ecccd={};_0x2ecccd['frameworkName']=_0x24288d,_0x2ecccd[_0x599df1(0x165)]=_0x2e3f8e,this[_0x599df1(0x1b9)](_0x2ecccd,_0x2ff3a5,_0x3a6740[_0x599df1(0x18d)](getUserCredentials,_0x18cc88));}static['setCredentials'](_0x5d85c3,_0x48181c){const _0x4c7bf7=a124_0x4638aa,_0x5cffd3={};_0x5cffd3['username']=_0x5d85c3,_0x5cffd3[_0x4c7bf7(0x1b0)]=_0x48181c,this[_0x4c7bf7(0x1b3)]=_0x5cffd3,process['env'][_0x4c7bf7(0x1ad)]=JSON[_0x4c7bf7(0x188)](this[_0x4c7bf7(0x1b3)]);}static[a124_0x4638aa(0x1a9)](){const _0x3d698c=a124_0x4638aa,_0x53a73f={'QwNsN':function(_0x54e545,_0x3cd083){return _0x54e545(_0x3cd083);}};if(!this[_0x3d698c(0x1b3)]&&process['env'][_0x3d698c(0x1ad)])try{this[_0x3d698c(0x1b3)]=JSON[_0x3d698c(0x175)](process[_0x3d698c(0x17e)]['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x45d123){_0x53a73f[_0x3d698c(0x16b)](debug,_0x3d698c(0x19f)+_0x45d123[_0x3d698c(0x1a4)]());}return this[_0x3d698c(0x1b3)];}static[a124_0x4638aa(0x1c0)](_0x5cee50){const _0x64b690=a124_0x4638aa;this[_0x64b690(0x1b7)]=this['filterPII'](_0x5cee50),process[_0x64b690(0x17e)][_0x64b690(0x170)]=JSON['stringify'](this['userConfig']);}static[a124_0x4638aa(0x193)](){const _0x55de03=a124_0x4638aa,_0x55e733={'uCOBp':function(_0xf65bd0,_0x249cc5){return _0xf65bd0===_0x249cc5;},'dvKou':function(_0x4e6847,_0x55e5a1){return _0x4e6847(_0x55e5a1);}};if(_0x55e733[_0x55de03(0x1ae)](Object['keys'](this[_0x55de03(0x1b7)])[_0x55de03(0x196)],0x0)&&process[_0x55de03(0x17e)][_0x55de03(0x170)])try{this[_0x55de03(0x1b7)]=JSON[_0x55de03(0x175)](process[_0x55de03(0x17e)][_0x55de03(0x170)]);}catch(_0x2e90a1){_0x55e733[_0x55de03(0x1c9)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x2e90a1['toString']()),this[_0x55de03(0x1b7)]={};}return this['userConfig'];}static[a124_0x4638aa(0x1aa)](_0x52c766){const _0x30ee61=a124_0x4638aa;this['frameworkDetails']=_0x52c766,process[_0x30ee61(0x17e)][_0x30ee61(0x179)]=JSON['stringify'](this[_0x30ee61(0x178)]);}static['getFramework'](){const _0x4c769f=a124_0x4638aa,_0x4b1054={'vAsPT':function(_0x5ea4a8,_0x4d5c0a){return _0x5ea4a8===_0x4d5c0a;},'CHNZW':function(_0x2b007c,_0x3bd921){return _0x2b007c(_0x3bd921);}};if(_0x4b1054[_0x4c769f(0x17a)](Object['keys'](this[_0x4c769f(0x178)])['length'],0x0)&&process['env'][_0x4c769f(0x179)])try{this['frameworkDetails']=JSON[_0x4c769f(0x175)](process[_0x4c769f(0x17e)][_0x4c769f(0x179)]);}catch(_0x5eb8af){_0x4b1054['CHNZW'](debug,_0x4c769f(0x19f)+_0x5eb8af[_0x4c769f(0x1a4)]());}return this['frameworkDetails'];}static[a124_0x4638aa(0x1b9)](_0x4cd134,_0x28cd7a,_0x377949){const _0x590d95=a124_0x4638aa;_0x4cd134&&this[_0x590d95(0x1aa)](_0x4cd134),_0x28cd7a&&this['setConfigDetails'](_0x28cd7a),_0x377949&&this[_0x590d95(0x197)](_0x377949[_0x590d95(0x16a)],_0x377949[_0x590d95(0x1b0)]);}static async['uploadCrashReport'](_0x1acfce,_0x47361d){const _0xd57c58=a124_0x4638aa,_0x120929={'bgamr':function(_0x3fedb3,_0x310ac5){return _0x3fedb3(_0x310ac5);},'VJqGn':function(_0x23fa12,_0x30eea7){return _0x23fa12(_0x30eea7);},'LdTsD':function(_0x9cacf0,_0x309ad0){return _0x9cacf0(_0x309ad0);},'TSkmv':_0xd57c58(0x1b1),'pqStE':function(_0x4ce8d5){return _0x4ce8d5();},'ylFdO':'/api/v1/analytics','LPQLy':_0xd57c58(0x163),'aqobs':_0xd57c58(0x1cb),'NZBSq':function(_0x29249a,_0x3003ca,_0x19ddbd,_0x1110a7,_0x431f82,_0x20445a){return _0x29249a(_0x3003ca,_0x19ddbd,_0x1110a7,_0x431f82,_0x20445a);},'NDYdH':_0xd57c58(0x1b5)};this[_0xd57c58(0x1a9)]();if(!this[_0xd57c58(0x1b3)])return _0x120929[_0xd57c58(0x1bb)](debug,_0x120929[_0xd57c58(0x1b8)]);this['getConfig'](),this['getFramework']();const _0x4e0395={'hashed_id':process['env'][_0xd57c58(0x1ac)],'observability_version':{'sdkVersion':_0x120929[_0xd57c58(0x1c2)](getAgentVersion),'frameworkName':this[_0xd57c58(0x178)][_0xd57c58(0x1a2)],'frameworkVersion':this['frameworkDetails']['frameworkVersion']},'exception':{'error':_0x1acfce[_0xd57c58(0x1a4)](),'stackTrace':_0x47361d},'config':this[_0xd57c58(0x1b7)]},_0x428733=_0x120929[_0xd57c58(0x1a1)],_0x2c415a={};_0x2c415a[_0xd57c58(0x16a)]=this[_0xd57c58(0x1b3)]['username'],_0x2c415a[_0xd57c58(0x1bd)]=this[_0xd57c58(0x1b3)][_0xd57c58(0x1b0)];const _0x4b5a76={};_0x4b5a76['Content-Type']=_0x120929['LPQLy'],_0x4b5a76[_0xd57c58(0x164)]=_0x120929[_0xd57c58(0x160)];const _0x81c254={};_0x81c254[_0xd57c58(0x186)]=_0x2c415a,_0x81c254['headers']=_0x4b5a76;const _0xe768d2=_0x81c254;_0x120929[_0xd57c58(0x1a8)](nodeRequest,_0x120929['NDYdH'],_0x428733,_0x4e0395,_0xe768d2,![])[_0xd57c58(0x195)](_0x2f44a2=>{const _0x387f75=_0xd57c58;_0x120929[_0x387f75(0x1c6)](debug,_0x387f75(0x162)+JSON[_0x387f75(0x188)](_0x2f44a2));})[_0xd57c58(0x171)](_0x2f6120=>{const _0x3a718a=_0xd57c58;_0x120929[_0x3a718a(0x1a3)](debug,_0x3a718a(0x180)+util[_0x3a718a(0x181)](_0x2f6120));});}static[a124_0x4638aa(0x18e)](_0x370535){const _0x1dd4ef=a124_0x4638aa,_0x592b19={};_0x592b19['oPvfn']=_0x1dd4ef(0x1a5),_0x592b19[_0x1dd4ef(0x1c8)]=_0x1dd4ef(0x16a),_0x592b19[_0x1dd4ef(0x192)]=_0x1dd4ef(0x19d),_0x592b19[_0x1dd4ef(0x174)]='accessKey',_0x592b19[_0x1dd4ef(0x183)]='password',_0x592b19['FJiBL']=function(_0x55771e,_0x373f2b){return _0x55771e===_0x373f2b;},_0x592b19[_0x1dd4ef(0x185)]='object';const _0x8ed71f=_0x592b19;if(!_0x370535)return;const _0x4eba15=[_0x8ed71f['oPvfn'],_0x8ed71f[_0x1dd4ef(0x1c8)],_0x8ed71f[_0x1dd4ef(0x192)],_0x8ed71f[_0x1dd4ef(0x174)],_0x8ed71f[_0x1dd4ef(0x183)]];for(const _0x540911 in _0x370535){if(_0x4eba15[_0x1dd4ef(0x184)](_0x540911[_0x1dd4ef(0x187)]()))delete _0x370535[_0x540911];else _0x8ed71f['FJiBL'](typeof _0x370535[_0x540911],_0x8ed71f[_0x1dd4ef(0x185)])&&this[_0x1dd4ef(0x18e)](_0x370535[_0x540911]);}}static[a124_0x4638aa(0x1b4)](_0x7f574){const _0x47cdc0=a124_0x4638aa,_0x4f9b9a=JSON[_0x47cdc0(0x175)](JSON[_0x47cdc0(0x188)](_0x7f574));return this[_0x47cdc0(0x18e)](_0x4f9b9a),_0x4f9b9a;}}function a124_0x56d2(_0x3823b2,_0x9dd231){const _0x1825bc=a124_0x1825();return a124_0x56d2=function(_0x56d2c9,_0x521e08){_0x56d2c9=_0x56d2c9-0x160;let _0x59ccd9=_0x1825bc[_0x56d2c9];return _0x59ccd9;},a124_0x56d2(_0x3823b2,_0x9dd231);}const a124_0x1f3e0e={};a124_0x1f3e0e[a124_0x4638aa(0x19b)]=o11yErrorHandler,a124_0x1f3e0e[a124_0x4638aa(0x16c)]=o11yClassErrorHandler,a124_0x1f3e0e[a124_0x4638aa(0x19e)]=CrashReporter,module['exports']=a124_0x1f3e0e;
1
+ const a126_0x1a2de6=a126_0xb01e;(function(_0x27fe02,_0x374a78){const _0x449eeb=a126_0xb01e,_0x5245a3=_0x27fe02();while(!![]){try{const _0xf6c323=parseInt(_0x449eeb(0x122))/0x1+-parseInt(_0x449eeb(0x11a))/0x2+-parseInt(_0x449eeb(0xde))/0x3+parseInt(_0x449eeb(0xd0))/0x4+-parseInt(_0x449eeb(0x12a))/0x5+-parseInt(_0x449eeb(0xe6))/0x6+parseInt(_0x449eeb(0x11c))/0x7;if(_0xf6c323===_0x374a78)break;else _0x5245a3['push'](_0x5245a3['shift']());}catch(_0x277c8f){_0x5245a3['push'](_0x5245a3['shift']());}}}(a126_0x254a,0xae452));function a126_0x254a(){const _0x12649a=['mzPTc','accessKey','key','jUELA','setConfigDetails','pid','o11yErrorHandler','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','GERCW','wGvUJ','password','[Crash_Report_Upload]\x20Success\x20response:\x20','BROWSERSTACK_O11Y_PERF_MEASUREMENT','../performance/performance-tester','application/json','initialize','getCredentials','DNtOh','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','CacWr','timerify',',\x20PID\x20-\x20','/api/v1/analytics','aMDWm','getOwnPropertyNames','1873492sTDJfz','getConfig','17468969rxjTIk','uploadCrashReport','recursivelyDeletePIIKeysFromObject','length','depth','constructor','366079rBvSgX','catch','parse','USER_CONFIG_FOR_REPORTING','kYdjo','function','Error\x20in\x20executing\x20','X-BSTACK-TESTOPS','3870855rrSDjQ','yeRtW','keys','BS_TESTOPS_BUILD_HASHED_ID','fEyaH','Ixzpe','lGMdr','Pmbeo',',\x20Argument\x20-\x20','OXIxe','.\x20Error\x20-\x20','jcNkr','JNUJI','setCredentials','QrYGy','3144048wUWAId','./utils','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','captureError','.\x20Args\x20-\x20','then','frameworkName','forEach','user','dsFMt','\x20--\x20','setFrameworkDetails','LjqtQ','bOUcl','1874676pUeByO','o11yClassErrorHandler','kGqgR','includes','IhRgf','toString','Mwklh','CREDENTIALS_FOR_CRASH_REPORTING','3588234gjjFNr','env','userConfig','frameworkDetails','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','call','format','Content-Type','stringify','auth','credentials','tMxjO','gWlJS','setAllDetails','frameworkVersion','stack','exports','arbaP','defineProperty','username','../helper','iXfxn','getPerformance','POST','name','util','gbPcD'];a126_0x254a=function(){return _0x12649a;};return a126_0x254a();}const util=require(a126_0x1a2de6(0xff)),PerformanceTester=require(a126_0x1a2de6(0x10e)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a126_0x1a2de6(0xd1)),{getAgentVersion,nestedKeyValue}=require(a126_0x1a2de6(0xfa)),o11yErrorHandler=(_0x2669aa,_0x33ab5a='',_0x5488db=[''],_0x4ee322=![])=>{const _0x1862d2={'Mwklh':function(_0x1bd969,_0x185787){return _0x1bd969(_0x185787);},'mzPTc':function(_0x341242,_0x3fcd77,_0xe0b14){return _0x341242(_0x3fcd77,_0xe0b14);},'fEyaH':function(_0x49e9d6,_0x3f5bf5){return _0x49e9d6(_0x3f5bf5);},'ffHFP':function(_0x58c982,_0x44662f,_0x33c524){return _0x58c982(_0x44662f,_0x33c524);},'uSdPK':function(_0x471bb5,_0x2e4f3f){return _0x471bb5 instanceof _0x2e4f3f;},'dsFMt':function(_0x16d66c,_0x1c185e,_0x220250,_0x36a689,_0x110664){return _0x16d66c(_0x1c185e,_0x220250,_0x36a689,_0x110664);}};return function(..._0x15456c){const _0x2f3d86=a126_0xb01e;try{let _0x1c624f=_0x2669aa;process[_0x2f3d86(0xe7)][_0x2f3d86(0x10d)]&&(_0x1c624f=PerformanceTester[_0x2f3d86(0xfc)]()[_0x2f3d86(0x115)](_0x1c624f));_0x4ee322&&_0x1862d2[_0x2f3d86(0xe4)](trace,'Started\x20::\x20'+_0x33ab5a+_0x2f3d86(0x116)+process[_0x2f3d86(0x106)]+',\x20Argument\x20-\x20'+_0x1862d2[_0x2f3d86(0x101)](nestedKeyValue,arguments[0x0],_0x5488db));const _0xc71711=_0x1c624f['apply'](null,arguments);_0x4ee322&&_0x1862d2[_0x2f3d86(0x12e)](trace,'Finished\x20::\x20'+_0x33ab5a+_0x2f3d86(0x116)+process[_0x2f3d86(0x106)]+_0x2f3d86(0x132)+_0x1862d2['ffHFP'](nestedKeyValue,arguments[0x0],_0x5488db));if(_0x1862d2['uSdPK'](_0xc71711,Promise))return _0xc71711[_0x2f3d86(0x123)](_0x2f97f1=>processError(_0x2f97f1,_0x2669aa,_0x15456c,_0x33ab5a));return _0xc71711;}catch(_0x208de5){_0x1862d2[_0x2f3d86(0xd9)](processError,_0x208de5,_0x2669aa,_0x15456c,_0x33ab5a);}};},o11yClassErrorHandler=(_0x1368f4,_0x10dfa3,_0x3fce22='')=>{const _0x47de20=a126_0x1a2de6,_0x86541b={'DHGbD':function(_0x28fd26,_0x537dd4){return _0x28fd26 instanceof _0x537dd4;},'jUELA':function(_0x53de4c,_0x21ab14,_0x412d5e,_0x467f38,_0x254494){return _0x53de4c(_0x21ab14,_0x412d5e,_0x467f38,_0x254494);},'OXIxe':function(_0x483127,_0x2f26c0){return _0x483127===_0x2f26c0;},'SLeCE':_0x47de20(0x127),'IhRgf':function(_0x606711,_0x5ebc72){return _0x606711!==_0x5ebc72;},'mFnqM':_0x47de20(0x121),'vOyCc':function(_0x46eae7,_0x12edd4){return _0x46eae7<_0x12edd4;}},_0x3f6829=_0x1368f4['prototype'];if(_0x86541b['vOyCc'](Object[_0x47de20(0x119)](_0x3f6829)[_0x47de20(0x11f)],0x2))return _0x1368f4;return Object[_0x47de20(0x119)](_0x3f6829)[_0x47de20(0xd7)](_0x3f63fd=>{const _0x20a1a5=_0x47de20;if(!(_0x10dfa3&&_0x10dfa3[_0x20a1a5(0xe1)](_0x3f63fd)))return;const _0x42169b=_0x3f6829[_0x3f63fd];_0x86541b[_0x20a1a5(0x133)](typeof _0x42169b,_0x86541b['SLeCE'])&&_0x86541b[_0x20a1a5(0xe2)](_0x3f63fd,_0x86541b['mFnqM'])&&Object[_0x20a1a5(0xf8)](_0x3f6829,_0x3f63fd,{'writable':!![],'value':function(..._0x473728){const _0x550c83=_0x20a1a5;try{const _0x1a7de0=(process[_0x550c83(0xe7)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x550c83(0xfc)]()['timerify'](_0x42169b):_0x42169b)[_0x550c83(0xeb)](this,..._0x473728);if(_0x86541b['DHGbD'](_0x1a7de0,Promise))return _0x1a7de0['catch'](_0x2a22c3=>processError(_0x2a22c3,_0x42169b,_0x473728,_0x3fce22));return _0x1a7de0;}catch(_0x19b9ae){_0x86541b[_0x550c83(0x104)](processError,_0x19b9ae,_0x42169b,_0x473728,_0x3fce22);}}});}),_0x1368f4;};function processError(_0x50a683,_0x783823,_0x2257e2,_0x4dbdbf){const _0x3e3645=a126_0x1a2de6,_0x421220={'tMxjO':function(_0x540a75,_0x5722f9){return _0x540a75(_0x5722f9);}};_0x421220[_0x3e3645(0xf1)](debug,_0x3e3645(0x128)+_0x783823[_0x3e3645(0xfe)]+'\x20--\x20'+_0x4dbdbf+_0x3e3645(0x134)+util[_0x3e3645(0xec)](_0x50a683)+_0x3e3645(0xd4)+_0x2257e2+'.'),PerformanceTester[_0x3e3645(0xd3)](_0x50a683);let _0x3e172b;try{_0x3e172b=JSON[_0x3e3645(0xee)](_0x2257e2);}catch(_0xba210e){const _0x3fcb6f={};_0x3fcb6f[_0x3e3645(0x120)]=0x2,_0x3e172b=util['inspect'](_0x2257e2,_0x3fcb6f);}CrashReporter[_0x3e3645(0x11d)](_0x3e3645(0x128)+_0x783823[_0x3e3645(0xfe)]+_0x3e3645(0xda)+_0x4dbdbf+_0x3e3645(0x134)+_0x50a683+'.\x20Args\x20-\x20'+_0x3e172b+'.',_0x50a683&&_0x50a683[_0x3e3645(0xf5)]);}function a126_0xb01e(_0x46b007,_0xfe3f23){const _0x254a88=a126_0x254a();return a126_0xb01e=function(_0xb01e8,_0xf195d4){_0xb01e8=_0xb01e8-0xd0;let _0x2fe65c=_0x254a88[_0xb01e8];return _0x2fe65c;},a126_0xb01e(_0x46b007,_0xfe3f23);}class CrashReporter{static ['userConfig']={};static [a126_0x1a2de6(0xf0)];static ['frameworkDetails']={};static[a126_0x1a2de6(0x110)](_0x4799ae,_0x50d951,_0x3c584d=null){const _0x3b0f1e=a126_0x1a2de6,_0x34d732={'JNUJI':function(_0x46c526,_0x4067b8){return _0x46c526(_0x4067b8);},'yeRtW':function(_0x33225e,_0x13c54a){return _0x33225e(_0x13c54a);}},_0x227ac5=_0x4799ae[_0x3b0f1e(0xd6)],_0x5f47b8=_0x4799ae['frameworkVersion'];!_0x3c584d&&(_0x3c584d=_0x34d732[_0x3b0f1e(0x136)](getBrowserStackConfig,_0x227ac5));!_0x5f47b8&&_0x34d732['JNUJI'](getFrameworkVersion,_0x227ac5);const _0x577e85={};_0x577e85[_0x3b0f1e(0xd6)]=_0x227ac5,_0x577e85[_0x3b0f1e(0xf4)]=_0x5f47b8,this[_0x3b0f1e(0xf3)](_0x577e85,_0x50d951,_0x34d732[_0x3b0f1e(0x12b)](getUserCredentials,_0x3c584d));}static['setCredentials'](_0x16786a,_0x49c2e6){const _0x36e627=a126_0x1a2de6,_0x43e59c={};_0x43e59c[_0x36e627(0xf9)]=_0x16786a,_0x43e59c[_0x36e627(0x102)]=_0x49c2e6,this[_0x36e627(0xf0)]=_0x43e59c,process[_0x36e627(0xe7)][_0x36e627(0xe5)]=JSON[_0x36e627(0xee)](this[_0x36e627(0xf0)]);}static[a126_0x1a2de6(0x111)](){const _0x5a30ce=a126_0x1a2de6,_0x5dd94={'kYdjo':function(_0x8373d7,_0xe06276){return _0x8373d7(_0xe06276);}};if(!this[_0x5a30ce(0xf0)]&&process['env'][_0x5a30ce(0xe5)])try{this[_0x5a30ce(0xf0)]=JSON[_0x5a30ce(0x124)](process[_0x5a30ce(0xe7)][_0x5a30ce(0xe5)]);}catch(_0x4d80c3){_0x5dd94[_0x5a30ce(0x126)](debug,_0x5a30ce(0xea)+_0x4d80c3['toString']());}return this[_0x5a30ce(0xf0)];}static['setConfigDetails'](_0x54be52){const _0x8e9785=a126_0x1a2de6;this[_0x8e9785(0xe8)]=this['filterPII'](_0x54be52),process[_0x8e9785(0xe7)][_0x8e9785(0x125)]=JSON['stringify'](this[_0x8e9785(0xe8)]);}static[a126_0x1a2de6(0x11b)](){const _0x2cb876=a126_0x1a2de6,_0x5d66ea={'Pmbeo':function(_0x25df98,_0x304efe){return _0x25df98===_0x304efe;},'aUkDu':function(_0x33534b,_0x4024cd){return _0x33534b(_0x4024cd);}};if(_0x5d66ea[_0x2cb876(0x131)](Object['keys'](this['userConfig'])[_0x2cb876(0x11f)],0x0)&&process[_0x2cb876(0xe7)]['USER_CONFIG_FOR_REPORTING'])try{this[_0x2cb876(0xe8)]=JSON[_0x2cb876(0x124)](process[_0x2cb876(0xe7)][_0x2cb876(0x125)]);}catch(_0xf1d583){_0x5d66ea['aUkDu'](debug,_0x2cb876(0xd2)+_0xf1d583['toString']()),this['userConfig']={};}return this['userConfig'];}static[a126_0x1a2de6(0xdb)](_0x5a33f2){const _0x3b358b=a126_0x1a2de6;this[_0x3b358b(0xe9)]=_0x5a33f2,process['env'][_0x3b358b(0x108)]=JSON[_0x3b358b(0xee)](this[_0x3b358b(0xe9)]);}static['getFramework'](){const _0x320acf=a126_0x1a2de6,_0x326cf1={'LjqtQ':function(_0x3921f2,_0x2b665a){return _0x3921f2===_0x2b665a;},'bOUcl':function(_0x44988f,_0x160ce6){return _0x44988f(_0x160ce6);}};if(_0x326cf1[_0x320acf(0xdc)](Object[_0x320acf(0x12c)](this[_0x320acf(0xe9)])[_0x320acf(0x11f)],0x0)&&process[_0x320acf(0xe7)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x320acf(0xe9)]=JSON['parse'](process[_0x320acf(0xe7)][_0x320acf(0x108)]);}catch(_0xc23896){_0x326cf1[_0x320acf(0xdd)](debug,_0x320acf(0xea)+_0xc23896['toString']());}return this['frameworkDetails'];}static[a126_0x1a2de6(0xf3)](_0x22873c,_0x5adbc7,_0x4aca8d){const _0x25cd3b=a126_0x1a2de6;_0x22873c&&this[_0x25cd3b(0xdb)](_0x22873c),_0x5adbc7&&this[_0x25cd3b(0x105)](_0x5adbc7),_0x4aca8d&&this[_0x25cd3b(0x137)](_0x4aca8d[_0x25cd3b(0xf9)],_0x4aca8d[_0x25cd3b(0x102)]);}static async['uploadCrashReport'](_0x469387,_0x272e5f){const _0x15e29f=a126_0x1a2de6,_0x49c9be={'arbaP':function(_0x1085ff,_0x2302f3){return _0x1085ff(_0x2302f3);},'GERCW':_0x15e29f(0x113),'aMDWm':function(_0x156355){return _0x156355();},'gWlJS':_0x15e29f(0x117),'jcNkr':_0x15e29f(0x10f),'Ixzpe':'true','wGvUJ':function(_0xa23cf0,_0x7452ca,_0x5299cf,_0x3e30bb,_0x13d958,_0x5d012e){return _0xa23cf0(_0x7452ca,_0x5299cf,_0x3e30bb,_0x13d958,_0x5d012e);},'UewBn':_0x15e29f(0xfd)};this['getCredentials']();if(!this[_0x15e29f(0xf0)])return _0x49c9be[_0x15e29f(0xf7)](debug,_0x49c9be[_0x15e29f(0x109)]);this['getConfig'](),this['getFramework']();const _0x2a55e0={'hashed_id':process[_0x15e29f(0xe7)][_0x15e29f(0x12d)],'observability_version':{'sdkVersion':_0x49c9be[_0x15e29f(0x118)](getAgentVersion),'frameworkName':this[_0x15e29f(0xe9)][_0x15e29f(0xd6)],'frameworkVersion':this['frameworkDetails'][_0x15e29f(0xf4)]},'exception':{'error':_0x469387[_0x15e29f(0xe3)](),'stackTrace':_0x272e5f},'config':this[_0x15e29f(0xe8)]},_0x301528=_0x49c9be[_0x15e29f(0xf2)],_0x146296={};_0x146296[_0x15e29f(0xf9)]=this[_0x15e29f(0xf0)][_0x15e29f(0xf9)],_0x146296[_0x15e29f(0x10b)]=this[_0x15e29f(0xf0)][_0x15e29f(0x102)];const _0x1fa35b={};_0x1fa35b[_0x15e29f(0xed)]=_0x49c9be[_0x15e29f(0x135)],_0x1fa35b[_0x15e29f(0x129)]=_0x49c9be[_0x15e29f(0x12f)];const _0x3e1d4b={};_0x3e1d4b[_0x15e29f(0xef)]=_0x146296,_0x3e1d4b['headers']=_0x1fa35b;const _0x1a8cee=_0x3e1d4b;_0x49c9be[_0x15e29f(0x10a)](nodeRequest,_0x49c9be['UewBn'],_0x301528,_0x2a55e0,_0x1a8cee,![])[_0x15e29f(0xd5)](_0x37eb71=>{const _0x15b122=_0x15e29f;_0x49c9be[_0x15b122(0xf7)](debug,_0x15b122(0x10c)+JSON['stringify'](_0x37eb71));})[_0x15e29f(0x123)](_0x3fb8a5=>{const _0x1dadab=_0x15e29f;_0x49c9be[_0x1dadab(0xf7)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util['format'](_0x3fb8a5));});}static[a126_0x1a2de6(0x11e)](_0x3267b5){const _0x259e9f=a126_0x1a2de6,_0x3960f7={};_0x3960f7['iXfxn']=_0x259e9f(0xd8),_0x3960f7[_0x259e9f(0x138)]='username',_0x3960f7['gbPcD']=_0x259e9f(0x103),_0x3960f7[_0x259e9f(0x114)]=_0x259e9f(0x102),_0x3960f7[_0x259e9f(0xe0)]=_0x259e9f(0x10b),_0x3960f7[_0x259e9f(0x112)]=function(_0x11469d,_0x27da29){return _0x11469d===_0x27da29;},_0x3960f7[_0x259e9f(0x130)]='object';const _0x1ce109=_0x3960f7;if(!_0x3267b5)return;const _0x52c421=[_0x1ce109[_0x259e9f(0xfb)],_0x1ce109[_0x259e9f(0x138)],_0x1ce109[_0x259e9f(0x100)],_0x1ce109[_0x259e9f(0x114)],_0x1ce109[_0x259e9f(0xe0)]];for(const _0x3e0334 in _0x3267b5){if(_0x52c421[_0x259e9f(0xe1)](_0x3e0334['toLowerCase']()))delete _0x3267b5[_0x3e0334];else _0x1ce109[_0x259e9f(0x112)](typeof _0x3267b5[_0x3e0334],_0x1ce109['lGMdr'])&&this[_0x259e9f(0x11e)](_0x3267b5[_0x3e0334]);}}static['filterPII'](_0x1d1b22){const _0x2541ca=a126_0x1a2de6,_0x4e0663=JSON[_0x2541ca(0x124)](JSON[_0x2541ca(0xee)](_0x1d1b22));return this[_0x2541ca(0x11e)](_0x4e0663),_0x4e0663;}}const a126_0x43dc25={};a126_0x43dc25[a126_0x1a2de6(0x107)]=o11yErrorHandler,a126_0x43dc25[a126_0x1a2de6(0xdf)]=o11yClassErrorHandler,a126_0x43dc25['CrashReporter']=CrashReporter,module[a126_0x1a2de6(0xf6)]=a126_0x43dc25;
@@ -1 +1 @@
1
- const a125_0x4426c1=a125_0x3488;function a125_0x15c0(){const _0x115cb6=['LogCreated','HookRunStarted','POST','TEST_SCREENSHOT','BATCH_EVENT_TYPES','proceedWithUrl','instance','format','aUloh','TEST_REPORTING_ANALYTICS','KZhqO','byteLength','NWtJT','ZKvVy','join','CNQDr','GCqHF','\x20:\x20','Oymdn','aaZpO','FiRWl','TestRunSkipped','api/v1/screenshots','knBzJ','utf8','3520253JnKfuK','removeEventBatchPolling','message','error','TestRunFinished','iyXTH','BMdCC','bubyq','RESETTING','CBTSessionCreated','uploadPending','qymNt','635412bNXuKb','length','statusText','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','\x20REQUEST\x20TO\x20','25615jhSLLx','logs','shouldProceed','includes','startEventBatchPolling','3cqTmBf','../helper','VdjJt','VJhpI','YVMsq','LMgOA','sXSTc','add','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','splice','started','jGFXJ','wpgbN','jlKyW','resetEventBatchPolling','eRKQI','uploadAttachmentUrl','117kmGCMp','Irism','slice','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','REcVB','pendingUploads','bNnXE','66clOeRy','lFpIE','EaOuG','Remaining\x20Queue\x20Length\x20-\x20','batchAndPostEvents','doTuf','nHOfs','Processing\x20batch\x20events\x20for\x20','2383619MGkmRE','REMOVING','response','eventUrl','394836rYztfe','split','1gHLhFa','270488zvXupb','IoDIU','5|0|3|4|2|6|1','\x20bytes.\x20Events\x20are\x20','map','3272030hzfMSR','./constants','proceedWithData','\x20event\x20successful\x20for\x20events\x20','status','CeaSJ','wHIAF','uuid','upload-attachments','screenshotEventUrl','./utils','qNNJw','hook_run','pollEventBatchInterval','data','IqEvk','queue','HookRunFinished','Interval-Queue','Shutdown-Queue','event_type','util','api/v1/batch','ypKgY','max','shutdown'];a125_0x15c0=function(){return _0x115cb6;};return a125_0x15c0();}(function(_0x44a594,_0x2f5257){const _0x3e88c3=a125_0x3488,_0xc3b229=_0x44a594();while(!![]){try{const _0x4b00bf=-parseInt(_0x3e88c3(0x188))/0x1*(-parseInt(_0x3e88c3(0x1cd))/0x2)+-parseInt(_0x3e88c3(0x1d7))/0x3*(-parseInt(_0x3e88c3(0x186))/0x4)+parseInt(_0x3e88c3(0x1d2))/0x5*(-parseInt(_0x3e88c3(0x17a))/0x6)+-parseInt(_0x3e88c3(0x182))/0x7+-parseInt(_0x3e88c3(0x189))/0x8*(parseInt(_0x3e88c3(0x1e8))/0x9)+parseInt(_0x3e88c3(0x18e))/0xa+parseInt(_0x3e88c3(0x1c1))/0xb;if(_0x4b00bf===_0x2f5257)break;else _0xc3b229['push'](_0xc3b229['shift']());}catch(_0x2e6f8e){_0xc3b229['push'](_0xc3b229['shift']());}}}(a125_0x15c0,0x3779c));function a125_0x3488(_0x166e3f,_0x49555b){const _0x15c02d=a125_0x15c0();return a125_0x3488=function(_0x348810,_0x4897e5){_0x348810=_0x348810-0x176;let _0x11cd19=_0x15c02d[_0x348810];return _0x11cd19;},a125_0x3488(_0x166e3f,_0x49555b);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a125_0x4426c1(0x18f)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a125_0x4426c1(0x198)),{nestedKeyValue}=require(a125_0x4426c1(0x1d8)),util=require(a125_0x4426c1(0x1a3)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static [a125_0x4426c1(0x1ae)];[a125_0x4426c1(0x178)]=0x0;constructor(){const _0x5af58c=a125_0x4426c1,_0x2a538c={};_0x2a538c['aUloh']=_0x5af58c(0x18b),_0x2a538c[_0x5af58c(0x1b5)]=_0x5af58c(0x196),_0x2a538c[_0x5af58c(0x1c6)]=_0x5af58c(0x1a4),_0x2a538c[_0x5af58c(0x1a5)]=_0x5af58c(0x1be),_0x2a538c['BMdCC']=_0x5af58c(0x1a8),_0x2a538c[_0x5af58c(0x1b7)]=_0x5af58c(0x1ca),_0x2a538c[_0x5af58c(0x179)]=_0x5af58c(0x1c5),_0x2a538c[_0x5af58c(0x177)]=_0x5af58c(0x1bd),_0x2a538c['LMgOA']=_0x5af58c(0x19f),_0x2a538c['KZhqO']='TestRunStarted',_0x2a538c[_0x5af58c(0x17f)]=_0x5af58c(0x1a9);const _0x49fe1d=_0x2a538c,_0x10a6c8=_0x49fe1d[_0x5af58c(0x1b0)][_0x5af58c(0x187)]('|');let _0x42404e=0x0;while(!![]){switch(_0x10a6c8[_0x42404e++]){case'0':this[_0x5af58c(0x1e1)]=![];continue;case'1':this[_0x5af58c(0x19b)]=null;continue;case'2':this[_0x5af58c(0x1e7)]=_0x49fe1d[_0x5af58c(0x1b5)];continue;case'3':this[_0x5af58c(0x185)]=_0x49fe1d['iyXTH'];continue;case'4':this[_0x5af58c(0x197)]=_0x49fe1d[_0x5af58c(0x1a5)];continue;case'5':this[_0x5af58c(0x19e)]=[];continue;case'6':this[_0x5af58c(0x1ac)]=[_0x49fe1d[_0x5af58c(0x1c7)],_0x49fe1d[_0x5af58c(0x1b7)],_0x49fe1d[_0x5af58c(0x179)],_0x49fe1d['REcVB'],_0x49fe1d[_0x5af58c(0x1dc)],_0x49fe1d[_0x5af58c(0x1b2)],_0x49fe1d['doTuf']];continue;}break;}}static['getInstance'](){const _0x50a302=a125_0x4426c1;return!RequestQueueHandler[_0x50a302(0x1ae)]&&(RequestQueueHandler[_0x50a302(0x1ae)]=new RequestQueueHandler()),RequestQueueHandler[_0x50a302(0x1ae)];}['start']=()=>{const _0x4cfa3f=a125_0x4426c1;!this[_0x4cfa3f(0x1e1)]&&(this['started']=!![],this[_0x4cfa3f(0x1d6)]());};[a125_0x4426c1(0x1de)]=_0x2a3771=>{const _0x183dff=a125_0x4426c1,_0x42a0ab={'wpgbN':function(_0x4f0e3e,_0x313eab){return _0x4f0e3e===_0x313eab;},'FiRWl':_0x183dff(0x1ab),'uIpok':function(_0x3cff26,_0x170482){return _0x3cff26>_0x170482;},'qNNJw':'TEST_ATTACHMENT','eRKQI':function(_0x31f4aa,_0x2f0341){return _0x31f4aa!==_0x2f0341;},'wHIAF':_0x183dff(0x1c5),'Oymdn':function(_0x595181,_0x5dfeb0){return _0x595181(_0x5dfeb0);},'qymNt':_0x183dff(0x1d0)};if(this[_0x183dff(0x1ac)][_0x183dff(0x1d5)](_0x2a3771[_0x183dff(0x1a2)])){if(_0x2a3771[_0x183dff(0x1d3)]&&_0x2a3771[_0x183dff(0x1d3)][0x0]&&_0x42a0ab[_0x183dff(0x1e3)](_0x2a3771[_0x183dff(0x1d3)][0x0]['kind'],_0x42a0ab[_0x183dff(0x1bc)])){const _0xfec2f3={};return _0xfec2f3[_0x183dff(0x1d4)]=!![],_0xfec2f3[_0x183dff(0x190)]=[_0x2a3771],_0xfec2f3[_0x183dff(0x1ad)]=this[_0x183dff(0x197)],_0xfec2f3;}if(_0x2a3771[_0x183dff(0x1d3)]&&_0x42a0ab['uIpok'](_0x2a3771['logs'][_0x183dff(0x1ce)],0x0)&&_0x42a0ab['wpgbN'](_0x2a3771[_0x183dff(0x1d3)][0x0]['kind'],_0x42a0ab[_0x183dff(0x199)])&&_0x42a0ab[_0x183dff(0x1e6)](_0x2a3771['event_type'],_0x42a0ab[_0x183dff(0x194)])){const _0x33e87d={};return _0x33e87d['shouldProceed']=!![],_0x33e87d['proceedWithData']=[_0x2a3771],_0x33e87d[_0x183dff(0x1ad)]=this[_0x183dff(0x1e7)],_0x33e87d;}this[_0x183dff(0x19e)]['push'](_0x2a3771);let _0x3d9630=null;const _0x4e0dd9=this['shouldProceed']();_0x4e0dd9&&(_0x42a0ab[_0x183dff(0x1ba)](trace,_0x42a0ab[_0x183dff(0x1cc)]),_0x3d9630=this['queue'][_0x183dff(0x1ea)](0x0,BATCH_SIZE),this[_0x183dff(0x19e)]['splice'](0x0,BATCH_SIZE),this[_0x183dff(0x1e5)]());const _0x2c4d1f={};return _0x2c4d1f[_0x183dff(0x1d4)]=_0x4e0dd9,_0x2c4d1f[_0x183dff(0x190)]=_0x3d9630,_0x2c4d1f[_0x183dff(0x1ad)]=this[_0x183dff(0x185)],_0x2c4d1f;}const _0x429960={};return _0x429960[_0x183dff(0x1d4)]=!![],_0x429960;};[a125_0x4426c1(0x1a7)]=async()=>{const _0x29af9b=a125_0x4426c1,_0x3e5349={'NWtJT':'REMOVING','VdjJt':function(_0x5f08ca,_0x51d4ee){return _0x5f08ca>_0x51d4ee;},'sdjJe':_0x29af9b(0x1a1),'IqEvk':function(_0x5c8a7d,_0x4d307d){return _0x5c8a7d(_0x4d307d);}};await this['uploadPending'](),this[_0x29af9b(0x1c2)](_0x3e5349[_0x29af9b(0x1b4)]);while(_0x3e5349[_0x29af9b(0x1d9)](this[_0x29af9b(0x19e)][_0x29af9b(0x1ce)],0x0)){const _0x46e8d8=this[_0x29af9b(0x19e)]['slice'](0x0,BATCH_SIZE);this[_0x29af9b(0x19e)][_0x29af9b(0x1e0)](0x0,BATCH_SIZE),await this[_0x29af9b(0x17e)](this[_0x29af9b(0x185)],_0x3e5349['sdjJe'],_0x46e8d8);}_0x3e5349[_0x29af9b(0x1d9)](this[_0x29af9b(0x178)],0x0)&&_0x3e5349[_0x29af9b(0x19d)](debug,_0x29af9b(0x1df)+this[_0x29af9b(0x178)]);};[a125_0x4426c1(0x17e)]=async(_0x4607eb,_0x59b1ed,_0x174491)=>{const _0x2f5af2=a125_0x4426c1,_0x49fc3b={'Irism':function(_0xbe6acf,_0x3c9f6a){return _0xbe6acf(_0x3c9f6a);},'NtjXr':_0x2f5af2(0x1c0),'IoDIU':function(_0x202e3d,_0x52e984){return _0x202e3d(_0x52e984);},'VJhpI':function(_0x57dd43){return _0x57dd43();},'bpZVN':function(_0x1a02d3,_0x36dc4c,_0x58763b,_0x423615,_0x39bab2){return _0x1a02d3(_0x36dc4c,_0x58763b,_0x423615,_0x39bab2);},'sXSTc':_0x2f5af2(0x1aa),'lFpIE':function(_0x16bd7c,_0x4c4825){return _0x16bd7c-_0x4c4825;},'HMTyY':function(_0x132605,_0xa45fc7){return _0x132605(_0xa45fc7);}};let _0x1cf268='';try{_0x1cf268=_0x174491[_0x2f5af2(0x18d)](_0xcab6ae=>'\x27'+_0xcab6ae[_0x2f5af2(0x1a2)]+'\x27:'+(nestedKeyValue(_0xcab6ae,['test_run',_0x2f5af2(0x195)])||nestedKeyValue(_0xcab6ae,[_0x2f5af2(0x19a),'uuid'])))[_0x2f5af2(0x1b6)](','),_0x49fc3b['Irism'](debug,_0x2f5af2(0x181)+_0x59b1ed+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x2f5af2(0x1b3)](util['format']('%j',_0x174491),_0x49fc3b['NtjXr'])+_0x2f5af2(0x18c)+_0x1cf268);}catch(_0x519e02){_0x49fc3b[_0x2f5af2(0x18a)](debug,_0x2f5af2(0x176)+util[_0x2f5af2(0x1af)](_0x519e02)+'}');}const _0x19a45c={'headers':_0x49fc3b[_0x2f5af2(0x1da)](getDefaultHeaders)};try{const _0x2c8375=await _0x49fc3b['bpZVN'](nodeRequest,_0x49fc3b[_0x2f5af2(0x1dd)],_0x4607eb,_0x174491,_0x19a45c);if(_0x2c8375[_0x2f5af2(0x19c)][_0x2f5af2(0x1c4)]){const _0x3586be={};_0x3586be[_0x2f5af2(0x1c3)]=_0x2c8375[_0x2f5af2(0x19c)][_0x2f5af2(0x1c4)];throw _0x3586be;}else _0x49fc3b[_0x2f5af2(0x18a)](debug,_0x59b1ed+_0x2f5af2(0x191)+_0x1cf268+'\x20--\x20'+util[_0x2f5af2(0x1af)]('%j',_0x2c8375[_0x2f5af2(0x19c)])),this['pendingUploads']=Math[_0x2f5af2(0x1a6)](0x0,_0x49fc3b[_0x2f5af2(0x17b)](this[_0x2f5af2(0x178)],_0x174491['length']));}catch(_0x2196f2){_0x2196f2['response']?_0x49fc3b[_0x2f5af2(0x1e9)](debug,'EXCEPTION\x20IN\x20'+_0x59b1ed+_0x2f5af2(0x1d1)+constants[_0x2f5af2(0x1b1)]+_0x2f5af2(0x1b9)+_0x2196f2[_0x2f5af2(0x184)][_0x2f5af2(0x192)]+'\x20'+_0x2196f2[_0x2f5af2(0x184)][_0x2f5af2(0x1cf)]+'\x20'+util[_0x2f5af2(0x1af)]('%j',_0x2196f2[_0x2f5af2(0x184)])):_0x49fc3b['HMTyY'](debug,'EXCEPTION\x20IN\x20'+_0x59b1ed+_0x2f5af2(0x1d1)+constants[_0x2f5af2(0x1b1)]+_0x2f5af2(0x1b9)+(_0x2196f2['message']||_0x2196f2)),this[_0x2f5af2(0x178)]=Math[_0x2f5af2(0x1a6)](0x0,_0x49fc3b[_0x2f5af2(0x17b)](this[_0x2f5af2(0x178)],_0x174491[_0x2f5af2(0x1ce)]));}};['startEventBatchPolling']=()=>{const _0x3ec7a8=a125_0x4426c1,_0x255ce7={'bubyq':function(_0x4d7c56,_0x3feaaa){return _0x4d7c56>_0x3feaaa;},'GCqHF':function(_0x22035d,_0x44cadd){return _0x22035d(_0x44cadd);},'jGFXJ':_0x3ec7a8(0x1a0),'nHOfs':function(_0x2acfc8,_0x54b4ce,_0x1636ae){return _0x2acfc8(_0x54b4ce,_0x1636ae);}};this[_0x3ec7a8(0x19b)]=_0x255ce7[_0x3ec7a8(0x180)](setInterval,async()=>{const _0x3f132d=_0x3ec7a8;if(_0x255ce7[_0x3f132d(0x1c8)](this[_0x3f132d(0x19e)]['length'],0x0)){_0x255ce7[_0x3f132d(0x1b8)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x3f132d(0x19e)]['length']);const _0x26e310=this['queue'][_0x3f132d(0x1ea)](0x0,BATCH_SIZE);this[_0x3f132d(0x19e)][_0x3f132d(0x1e0)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x3f132d(0x185)],_0x255ce7[_0x3f132d(0x1e2)],_0x26e310),_0x255ce7[_0x3f132d(0x1b8)](trace,_0x3f132d(0x17d)+this[_0x3f132d(0x19e)][_0x3f132d(0x1ce)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x5d2a5a=a125_0x4426c1,_0x1f613b={};_0x1f613b['YVMsq']=_0x5d2a5a(0x1c9);const _0x4cfbc6=_0x1f613b;this[_0x5d2a5a(0x1c2)](_0x4cfbc6[_0x5d2a5a(0x1db)]),this[_0x5d2a5a(0x1d6)]();};[a125_0x4426c1(0x1c2)]=_0x24ef90=>{const _0x160b2e=a125_0x4426c1,_0x43c365={'jlKyW':function(_0x1ebbdd,_0x2802b2){return _0x1ebbdd(_0x2802b2);},'LtJUF':function(_0x5b2a61,_0x44a816){return _0x5b2a61===_0x44a816;},'CeaSJ':_0x160b2e(0x183)};this[_0x160b2e(0x19b)]&&(_0x43c365[_0x160b2e(0x1e4)](clearInterval,this[_0x160b2e(0x19b)]),this[_0x160b2e(0x19b)]=null,_0x43c365['LtJUF'](_0x24ef90,_0x43c365[_0x160b2e(0x193)])&&(this[_0x160b2e(0x1e1)]=![]));};[a125_0x4426c1(0x1d4)]=()=>{const _0x526436=a125_0x4426c1,_0xa5bf0f={};_0xa5bf0f[_0x526436(0x17c)]=function(_0x3bca6d,_0x4a154b){return _0x3bca6d>=_0x4a154b;};const _0xc76c1=_0xa5bf0f;return _0xc76c1[_0x526436(0x17c)](this[_0x526436(0x19e)][_0x526436(0x1ce)],BATCH_SIZE);};async[a125_0x4426c1(0x1cb)](_0x241409=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x411812=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x47fb53=a125_0x4426c1,_0x21f8b2={'cDHTR':function(_0x4fd865,_0x2db416){return _0x4fd865<=_0x2db416;},'knBzJ':function(_0x208224,_0x29a536){return _0x208224<=_0x29a536;},'MsjZq':function(_0x33a885,_0x3b4999){return _0x33a885(_0x3b4999);},'aaZpO':function(_0x285b4d,_0x274aa2){return _0x285b4d-_0x274aa2;}};if(_0x21f8b2['cDHTR'](this[_0x47fb53(0x178)],0x0)||_0x21f8b2[_0x47fb53(0x1bf)](_0x241409,0x0))return;return await _0x21f8b2['MsjZq'](sleep,_0x411812),this[_0x47fb53(0x1cb)](_0x21f8b2[_0x47fb53(0x1bb)](_0x241409,_0x411812));}}module['exports']=RequestQueueHandler;
1
+ const a127_0x17f0d3=a127_0x333a;(function(_0x2833fc,_0x5ddc2d){const _0x5ec677=a127_0x333a,_0x458258=_0x2833fc();while(!![]){try{const _0x5c84a8=parseInt(_0x5ec677(0x100))/0x1*(parseInt(_0x5ec677(0xfc))/0x2)+parseInt(_0x5ec677(0xf4))/0x3*(-parseInt(_0x5ec677(0xac))/0x4)+parseInt(_0x5ec677(0xd5))/0x5*(parseInt(_0x5ec677(0xde))/0x6)+-parseInt(_0x5ec677(0xe7))/0x7*(-parseInt(_0x5ec677(0xef))/0x8)+-parseInt(_0x5ec677(0x103))/0x9*(parseInt(_0x5ec677(0xa5))/0xa)+-parseInt(_0x5ec677(0xee))/0xb*(-parseInt(_0x5ec677(0x8e))/0xc)+-parseInt(_0x5ec677(0xb9))/0xd*(parseInt(_0x5ec677(0xd9))/0xe);if(_0x5c84a8===_0x5ddc2d)break;else _0x458258['push'](_0x458258['shift']());}catch(_0x475785){_0x458258['push'](_0x458258['shift']());}}}(a127_0x5852,0xa8040));function a127_0x333a(_0x186d9a,_0x2db262){const _0x5852f2=a127_0x5852();return a127_0x333a=function(_0x333afa,_0xf858fc){_0x333afa=_0x333afa-0x89;let _0x21064d=_0x5852f2[_0x333afa];return _0x21064d;},a127_0x333a(_0x186d9a,_0x2db262);}function a127_0x5852(){const _0x2c50cb=['add','12jIUwtO','TEST_ATTACHMENT','Processing\x20events.\x20Queue\x20Length\x20-\x20','instance','pendingUploads','\x20event\x20successful\x20for\x20events\x20','VWcwA','Processing\x20batch\x20events\x20for\x20','.\x20Request\x20Size\x20-\x20','pollEventBatchInterval','LqiIu','EXCEPTION\x20IN\x20','CBTSessionCreated','2184403yheMBE','pYIUX','../helper','queue','MiNqI','splice','CPvrx','GCMhq','\x20REQUEST\x20TO\x20','REMOVING','Zsgau','PxnWO','lSDua','PrycJ','HookRunStarted','proceedWithUrl','Shutdown-Queue','rhyPv','SdVuq','uuid','hook_run','TEST_REPORTING_ANALYTICS','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','sUFbF','eczDK','data','split','removeEventBatchPolling','5bhsdTa','IUbjc','UvhHq','nLknz','196BsvgqL','PGJGR','ervXs','join','getInstance','813528aKqLIP','Remaining\x20Queue\x20Length\x20-\x20','Interval-Queue','shouldProceed','response','batchAndPostEvents','length','uploadAttachmentUrl','sJudm','857710MXsEyr','\x20:\x20','test_run','includes','event_type','utf8','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','77oSqLeQ','72SDNQrh','BATCH_EVENT_TYPES','logs','Ehwek','Jvkav','45351TSuzZy','slice','map','UUfiT','TestRunStarted','tmNcv','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','kvPob','1228SJuBkW','eventUrl','RESETTING','byteLength','1268GrbwKq','kind','vfIIZ','3771BsUVYV','resetEventBatchPolling','uploadPending','\x20bytes.\x20Events\x20are\x20','status','POST','2294544XZiPOz','error','Sbmbc','nwBzg','util','TestRunFinished','format','statusText','max','proceedWithData','RjCkQ','start','zBPpH','exZzf','TestRunSkipped','GsAZm','ZXxna','../../bin/utils/constants','./constants','api/v1/screenshots','GBnPS','OJSGo','roFBp','6430aZoZHd','screenshotEventUrl','./utils','started','startEventBatchPolling','message'];a127_0x5852=function(){return _0x2c50cb;};return a127_0x5852();}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a127_0x17f0d3(0xa0)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a127_0x17f0d3(0xa7)),{nestedKeyValue}=require(a127_0x17f0d3(0xbb)),util=require(a127_0x17f0d3(0x92)),constants=require(a127_0x17f0d3(0x9f));class RequestQueueHandler{static ['instance'];[a127_0x17f0d3(0xb0)]=0x0;constructor(){const _0x3a9d23=a127_0x17f0d3,_0x19cc65={};_0x19cc65[_0x3a9d23(0xca)]='4|1|5|0|6|3|2',_0x19cc65[_0x3a9d23(0xf3)]=_0x3a9d23(0xa1),_0x19cc65['bHvha']='LogCreated',_0x19cc65['nwBzg']=_0x3a9d23(0xb8),_0x19cc65[_0x3a9d23(0xc0)]=_0x3a9d23(0x93),_0x19cc65[_0x3a9d23(0xba)]=_0x3a9d23(0x9c),_0x19cc65[_0x3a9d23(0xd1)]='HookRunFinished',_0x19cc65[_0x3a9d23(0xc4)]=_0x3a9d23(0xf8),_0x19cc65['DQZnk']=_0x3a9d23(0xc7),_0x19cc65[_0x3a9d23(0xfb)]='api/v1/batch',_0x19cc65[_0x3a9d23(0xc3)]='upload-attachments';const _0x5b0a4a=_0x19cc65,_0x303347=_0x5b0a4a[_0x3a9d23(0xca)][_0x3a9d23(0xd3)]('|');let _0x54723f=0x0;while(!![]){switch(_0x303347[_0x54723f++]){case'0':this[_0x3a9d23(0xa6)]=_0x5b0a4a[_0x3a9d23(0xf3)];continue;case'1':this[_0x3a9d23(0xa8)]=![];continue;case'2':this[_0x3a9d23(0xb5)]=null;continue;case'3':this[_0x3a9d23(0xf0)]=[_0x5b0a4a['bHvha'],_0x5b0a4a[_0x3a9d23(0x91)],_0x5b0a4a[_0x3a9d23(0xc0)],_0x5b0a4a[_0x3a9d23(0xba)],_0x5b0a4a[_0x3a9d23(0xd1)],_0x5b0a4a['PxnWO'],_0x5b0a4a['DQZnk']];continue;case'4':this[_0x3a9d23(0xbc)]=[];continue;case'5':this['eventUrl']=_0x5b0a4a['kvPob'];continue;case'6':this['uploadAttachmentUrl']=_0x5b0a4a[_0x3a9d23(0xc3)];continue;}break;}}static[a127_0x17f0d3(0xdd)](){const _0x101f05=a127_0x17f0d3;return!RequestQueueHandler[_0x101f05(0xaf)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler[_0x101f05(0xaf)];}[a127_0x17f0d3(0x99)]=()=>{const _0x782faa=a127_0x17f0d3;!this['started']&&(this[_0x782faa(0xa8)]=!![],this[_0x782faa(0xa9)]());};[a127_0x17f0d3(0xab)]=_0x573bee=>{const _0x2d8289=a127_0x17f0d3,_0xaaf9e5={'sJudm':function(_0x212d2b,_0x99c06c){return _0x212d2b===_0x99c06c;},'vfIIZ':'TEST_SCREENSHOT','zBPpH':function(_0x4af958,_0x410d7d){return _0x4af958>_0x410d7d;},'UUfiT':_0x2d8289(0xad),'LqiIu':function(_0x5ec05c,_0x3efc29){return _0x5ec05c!==_0x3efc29;},'wrAbs':_0x2d8289(0x93),'JsVrR':function(_0x2797f2,_0x586f9d){return _0x2797f2(_0x586f9d);},'lSDua':_0x2d8289(0xcf)};if(this['BATCH_EVENT_TYPES'][_0x2d8289(0xea)](_0x573bee[_0x2d8289(0xeb)])){if(_0x573bee[_0x2d8289(0xf1)]&&_0x573bee['logs'][0x0]&&_0xaaf9e5[_0x2d8289(0xe6)](_0x573bee['logs'][0x0][_0x2d8289(0x101)],_0xaaf9e5[_0x2d8289(0x102)])){const _0x87b55c={};return _0x87b55c[_0x2d8289(0xe1)]=!![],_0x87b55c[_0x2d8289(0x97)]=[_0x573bee],_0x87b55c[_0x2d8289(0xc8)]=this['screenshotEventUrl'],_0x87b55c;}if(_0x573bee[_0x2d8289(0xf1)]&&_0xaaf9e5[_0x2d8289(0x9a)](_0x573bee[_0x2d8289(0xf1)][_0x2d8289(0xe4)],0x0)&&_0xaaf9e5[_0x2d8289(0xe6)](_0x573bee[_0x2d8289(0xf1)][0x0][_0x2d8289(0x101)],_0xaaf9e5[_0x2d8289(0xf7)])&&_0xaaf9e5[_0x2d8289(0xb6)](_0x573bee['event_type'],_0xaaf9e5['wrAbs'])){const _0x563f77={};return _0x563f77['shouldProceed']=!![],_0x563f77['proceedWithData']=[_0x573bee],_0x563f77[_0x2d8289(0xc8)]=this[_0x2d8289(0xe5)],_0x563f77;}this['queue']['push'](_0x573bee);let _0x264595=null;const _0x8194b9=this[_0x2d8289(0xe1)]();_0x8194b9&&(_0xaaf9e5['JsVrR'](trace,_0xaaf9e5[_0x2d8289(0xc5)]),_0x264595=this[_0x2d8289(0xbc)]['slice'](0x0,BATCH_SIZE),this[_0x2d8289(0xbc)][_0x2d8289(0xbe)](0x0,BATCH_SIZE),this[_0x2d8289(0x89)]());const _0xeba895={};return _0xeba895[_0x2d8289(0xe1)]=_0x8194b9,_0xeba895[_0x2d8289(0x97)]=_0x264595,_0xeba895[_0x2d8289(0xc8)]=this[_0x2d8289(0xfd)],_0xeba895;}const _0x8e84c4={};return _0x8e84c4['shouldProceed']=!![],_0x8e84c4;};['shutdown']=async()=>{const _0x274460=a127_0x17f0d3,_0x41d550={'PrycJ':'REMOVING','BFlec':function(_0x1a2aba,_0x4507e9){return _0x1a2aba>_0x4507e9;},'RjCkQ':_0x274460(0xc9),'Tmnia':function(_0x5e45d5,_0x403b4d){return _0x5e45d5>_0x403b4d;},'GBnPS':function(_0x33c11f,_0x4d4b61){return _0x33c11f(_0x4d4b61);}};await this[_0x274460(0x8a)](),this['removeEventBatchPolling'](_0x41d550[_0x274460(0xc6)]);while(_0x41d550['BFlec'](this[_0x274460(0xbc)]['length'],0x0)){const _0x267f00=this['queue'][_0x274460(0xf5)](0x0,BATCH_SIZE);this[_0x274460(0xbc)][_0x274460(0xbe)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this['eventUrl'],_0x41d550[_0x274460(0x98)],_0x267f00);}_0x41d550['Tmnia'](this[_0x274460(0xb0)],0x0)&&_0x41d550[_0x274460(0xa2)](debug,_0x274460(0xfa)+this['pendingUploads']);};[a127_0x17f0d3(0xe3)]=async(_0x27473b,_0x30139a,_0x3dd2de)=>{const _0x2b57c1=a127_0x17f0d3,_0x575ad8={'ToMPh':function(_0x23de0f,_0x38dfb5){return _0x23de0f(_0x38dfb5);},'roFBp':_0x2b57c1(0xec),'Sbmbc':function(_0x3215c6){return _0x3215c6();},'tmNcv':function(_0x1d513d,_0x40dbeb,_0x3e83ab,_0x1a9ec3,_0x5df7dc){return _0x1d513d(_0x40dbeb,_0x3e83ab,_0x1a9ec3,_0x5df7dc);},'PGJGR':_0x2b57c1(0x8d),'nLknz':function(_0x2ceb52,_0x16a3dc){return _0x2ceb52(_0x16a3dc);},'ZXxna':function(_0x2d33e5,_0x4bcdd2){return _0x2d33e5-_0x4bcdd2;},'AHiio':function(_0x548fe7,_0xc83f7b){return _0x548fe7(_0xc83f7b);},'lLqCt':function(_0x3e4853,_0x1ff1c6){return _0x3e4853-_0x1ff1c6;}};let _0x3e94ae='';try{_0x3e94ae=_0x3dd2de[_0x2b57c1(0xf6)](_0x16c095=>'\x27'+_0x16c095[_0x2b57c1(0xeb)]+'\x27:'+(nestedKeyValue(_0x16c095,[_0x2b57c1(0xe9),_0x2b57c1(0xcc)])||nestedKeyValue(_0x16c095,[_0x2b57c1(0xcd),_0x2b57c1(0xcc)])))[_0x2b57c1(0xdc)](','),_0x575ad8['ToMPh'](debug,_0x2b57c1(0xb3)+_0x30139a+_0x2b57c1(0xb4)+Buffer[_0x2b57c1(0xff)](util['format']('%j',_0x3dd2de),_0x575ad8[_0x2b57c1(0xa4)])+_0x2b57c1(0x8b)+_0x3e94ae);}catch(_0x17ae58){_0x575ad8['ToMPh'](debug,_0x2b57c1(0xed)+util[_0x2b57c1(0x94)](_0x17ae58)+'}');}const _0x2953ba={'headers':_0x575ad8[_0x2b57c1(0x90)](getDefaultHeaders)};try{const _0x405cd4=await _0x575ad8[_0x2b57c1(0xf9)](nodeRequest,_0x575ad8[_0x2b57c1(0xda)],_0x27473b,_0x3dd2de,_0x2953ba);if(_0x405cd4[_0x2b57c1(0xd2)][_0x2b57c1(0x8f)]){const _0x37b0a8={};_0x37b0a8[_0x2b57c1(0xaa)]=_0x405cd4[_0x2b57c1(0xd2)]['error'];throw _0x37b0a8;}else _0x575ad8['nLknz'](debug,_0x30139a+_0x2b57c1(0xb1)+_0x3e94ae+'\x20--\x20'+util[_0x2b57c1(0x94)]('%j',_0x405cd4[_0x2b57c1(0xd2)])),this[_0x2b57c1(0xb0)]=Math[_0x2b57c1(0x96)](0x0,_0x575ad8[_0x2b57c1(0x9e)](this['pendingUploads'],_0x3dd2de[_0x2b57c1(0xe4)]));}catch(_0x43f8b7){_0x43f8b7[_0x2b57c1(0xe2)]?_0x575ad8['AHiio'](debug,_0x2b57c1(0xb7)+_0x30139a+_0x2b57c1(0xc1)+constants[_0x2b57c1(0xce)]+'\x20:\x20'+_0x43f8b7[_0x2b57c1(0xe2)][_0x2b57c1(0x8c)]+'\x20'+_0x43f8b7['response'][_0x2b57c1(0x95)]+'\x20'+util[_0x2b57c1(0x94)]('%j',_0x43f8b7['response'])):_0x575ad8[_0x2b57c1(0xd8)](debug,_0x2b57c1(0xb7)+_0x30139a+_0x2b57c1(0xc1)+constants['TEST_REPORTING_ANALYTICS']+_0x2b57c1(0xe8)+(_0x43f8b7[_0x2b57c1(0xaa)]||_0x43f8b7)),this[_0x2b57c1(0xb0)]=Math[_0x2b57c1(0x96)](0x0,_0x575ad8['lLqCt'](this[_0x2b57c1(0xb0)],_0x3dd2de[_0x2b57c1(0xe4)]));}};['startEventBatchPolling']=()=>{const _0x5ac758=a127_0x17f0d3,_0x15912a={'UvhHq':function(_0xda621d,_0x5d9a6f){return _0xda621d>_0x5d9a6f;},'MiNqI':function(_0x1b024e,_0x507c0c){return _0x1b024e(_0x507c0c);},'sUFbF':_0x5ac758(0xe0),'VWcwA':function(_0x5e70af,_0x2e9eef,_0x2d0235){return _0x5e70af(_0x2e9eef,_0x2d0235);}};this[_0x5ac758(0xb5)]=_0x15912a[_0x5ac758(0xb2)](setInterval,async()=>{const _0x1327c9=_0x5ac758;if(_0x15912a[_0x1327c9(0xd7)](this[_0x1327c9(0xbc)][_0x1327c9(0xe4)],0x0)){_0x15912a['MiNqI'](trace,_0x1327c9(0xae)+this[_0x1327c9(0xbc)][_0x1327c9(0xe4)]);const _0xaa5e8d=this[_0x1327c9(0xbc)][_0x1327c9(0xf5)](0x0,BATCH_SIZE);this[_0x1327c9(0xbc)]['splice'](0x0,BATCH_SIZE),await this[_0x1327c9(0xe3)](this[_0x1327c9(0xfd)],_0x15912a[_0x1327c9(0xd0)],_0xaa5e8d),_0x15912a[_0x1327c9(0xbd)](trace,_0x1327c9(0xdf)+this[_0x1327c9(0xbc)][_0x1327c9(0xe4)]);}},BATCH_INTERVAL);};[a127_0x17f0d3(0x89)]=()=>{const _0x3c7241=a127_0x17f0d3,_0xb16d0d={};_0xb16d0d[_0x3c7241(0xf2)]=_0x3c7241(0xfe);const _0x239c8c=_0xb16d0d;this[_0x3c7241(0xd4)](_0x239c8c['Ehwek']),this[_0x3c7241(0xa9)]();};[a127_0x17f0d3(0xd4)]=_0x48a78c=>{const _0x5e1abd=a127_0x17f0d3,_0x493c88={'IUbjc':function(_0x14d22e,_0x5bba10){return _0x14d22e(_0x5bba10);},'SdVuq':function(_0x233abd,_0x54cab0){return _0x233abd===_0x54cab0;},'ervXs':_0x5e1abd(0xc2)};this[_0x5e1abd(0xb5)]&&(_0x493c88[_0x5e1abd(0xd6)](clearInterval,this[_0x5e1abd(0xb5)]),this['pollEventBatchInterval']=null,_0x493c88[_0x5e1abd(0xcb)](_0x48a78c,_0x493c88[_0x5e1abd(0xdb)])&&(this[_0x5e1abd(0xa8)]=![]));};['shouldProceed']=()=>{const _0x345215=a127_0x17f0d3,_0x27bb70={};_0x27bb70['GsAZm']=function(_0x353105,_0x56d56f){return _0x353105>=_0x56d56f;};const _0x225abf=_0x27bb70;return _0x225abf[_0x345215(0x9d)](this['queue'][_0x345215(0xe4)],BATCH_SIZE);};async['uploadPending'](_0x2d41de=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x22e4f8=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x4d384a=a127_0x17f0d3,_0x23e06e={'exZzf':function(_0x41b1e9,_0x23e82f){return _0x41b1e9<=_0x23e82f;},'zyguM':function(_0x39412a,_0x5d75ac){return _0x39412a<=_0x5d75ac;},'CPvrx':function(_0x2bbc16,_0x1cbb96){return _0x2bbc16(_0x1cbb96);},'OJSGo':function(_0x4e5e7c,_0x1637a9){return _0x4e5e7c-_0x1637a9;}};if(_0x23e06e[_0x4d384a(0x9b)](this[_0x4d384a(0xb0)],0x0)||_0x23e06e['zyguM'](_0x2d41de,0x0))return;return await _0x23e06e[_0x4d384a(0xbf)](sleep,_0x22e4f8),this[_0x4d384a(0x8a)](_0x23e06e[_0x4d384a(0xa3)](_0x2d41de,_0x22e4f8));}}module['exports']=RequestQueueHandler;