browserstack-node-sdk 1.46.6 → 1.46.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  114. package/src/bin/v2/framework/testFramework.js +1 -1
  115. package/src/bin/v2/grpcClient.js +1 -1
  116. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  117. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/trackedContext.js +1 -1
  119. package/src/bin/v2/instances/trackedInstance.js +1 -1
  120. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  121. package/src/bin/v2/modules/baseModule.js +1 -1
  122. package/src/bin/v2/modules/observabilityModule.js +1 -1
  123. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  124. package/src/bin/v2/modules/testhubModule.js +1 -1
  125. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  126. package/src/bin/v2/state/hookState.js +1 -1
  127. package/src/bin/v2/state/testFrameworkState.js +1 -1
  128. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  129. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  130. package/src/bin/vanilla-js/command.js +1 -1
  131. package/src/browserStackSdk.js +1 -1
  132. package/src/helpers/BrowserStackSetup.js +1 -1
  133. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  134. package/src/helpers/accessibility-automation/constants.js +1 -1
  135. package/src/helpers/accessibility-automation/helper.js +1 -1
  136. package/src/helpers/accessibility-automation/scripts.js +1 -1
  137. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  138. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  139. package/src/helpers/ats/constants.js +1 -1
  140. package/src/helpers/ats/helper.js +1 -1
  141. package/src/helpers/capsMapping.js +1 -1
  142. package/src/helpers/central-scanner/constants.js +1 -1
  143. package/src/helpers/central-scanner/helpers.js +1 -1
  144. package/src/helpers/classLogger.js +1 -1
  145. package/src/helpers/globals.js +1 -1
  146. package/src/helpers/helper.js +1 -1
  147. package/src/helpers/logger.js +1 -1
  148. package/src/helpers/metadata.js +1 -1
  149. package/src/helpers/patchHelper.js +1 -1
  150. package/src/helpers/patchHelpers.js +1 -1
  151. package/src/helpers/percy/Percy.js +1 -1
  152. package/src/helpers/percy/PercyBinary.js +1 -1
  153. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  154. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  155. package/src/helpers/percy/PercySDK.js +1 -1
  156. package/src/helpers/percy/index.js +1 -1
  157. package/src/helpers/percy/utils.js +1 -1
  158. package/src/helpers/performance/constants.js +1 -1
  159. package/src/helpers/performance/performance-tester.js +1 -1
  160. package/src/helpers/playwright-helper.js +1 -1
  161. package/src/helpers/processHelper.js +1 -1
  162. package/src/helpers/request-spy.js +1 -1
  163. package/src/helpers/setKeepAlive.js +1 -1
  164. package/src/helpers/test-observability/constants.js +1 -1
  165. package/src/helpers/test-observability/error-handler.js +1 -1
  166. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  167. package/src/helpers/test-observability/sessionHandler.js +1 -1
  168. package/src/helpers/test-observability/utils.js +1 -1
  169. package/src/helpers/test-orchestration/constants.js +1 -1
  170. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  171. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  172. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  173. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  174. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  175. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  176. package/src/helpers/testhub/constants.js +1 -1
  177. package/src/helpers/testhub/testhubHandler.js +1 -1
  178. package/src/helpers/testhub/utils.js +1 -1
  179. package/src/helpers/timeoutPromise.js +1 -1
  180. package/src/helpers/utilities.js +1 -1
  181. package/src/helpers/w3cMapping.js +1 -1
  182. package/src/hubAllocationMethods.js +1 -1
  183. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a117_0x9f51c8=a117_0x25c8;function a117_0x426b(){const _0x122953=['SDK_CLEANUP',':download','APP_UPLOAD',':sync','SDK_START_BIN_SESSION','sdk:cleanup','sdk:findNearestHub','SDK_AUTO_CAPTURE','PERFORM_SCAN','sdk:aiSelfHealStep',':hub-management','sdk:turboscale',':stop','3414250ktdQSh','TURBOSCALE_EVENTS','SDK_CLI_LOG_CREATED_EVENT','sdk:cli:download','SDK_FIND_NEAREST_HUB','SDK_A11Y',':driver-manage',':local-start','sdk:aiSelfHealGetResult','SESSION_ANNOTATION','486556OgnZHm','sdk:pre-test','SDK_POST_INITIALIZE','sdk:accessibilityConfig','sdk:testhub','GET_RESULTS',':print-buildlink',':before-all','sdk:cli:logCreatedEvent','sdk:cli:start',':before-each','HOOK_EVENTS','SDK_CLI_DOWNLOAD','sdk:automationFrameworkStart',':driver-takeScreenShot','SDK_DRIVER','SDK_SETUP','SDK_TEST_FRAMEWORK_EVENT',':get',':save-results','PERCY_EVENTS','SDK_TEST_SESSION_EVENT','sdk:hook','SDK_PROXY_SETUP','10500480WIsExt',':start','SDK_PERCY','sdk:auto-capture','SDK_APP_AUTOMATE','TAKE_SCREENSHOT','HUB_MANAGEMENT','KEEP_ALIVE','SDK_TURBOSCALE',':ci-artifacts','SDK_AUTOMATION_FRAMEWORK_START','sdk:o11y','SDK_O11Y','9SqatqV','SDK_AI_SELF_HEAL_STEP','SCREENSHOT','sdk:cli:on-stop','sdk:driverInit','AUTO_CAPTURE','SDK_AUTOMATE',':driver-performscan',':after-each','sdk:test','AFTER_ALL','STOP','SDK_AI_SELF_HEAL_GET_RESULT','SDK_CLI_ON_CONNECT','sdk:setup','SDK_OBSERVABILITY_CONFIG',':after-all',':app-upload','sdk:post-test','sdk:app-automate','O11y_EVENTS','LOCAL_START','2WZADZh','AUTOMATE_EVENTS','SDK_HOOK','SDK_POST_TEST','PRINT_BUILDLINK','BEFORE_ALL','SDK_DRIVER_INIT',':get-accessibility-results-summary',':post-execute','sdk:testSessionEvent','SDK_PRE_TEST','PRE_EXECUTE','sdk:automationFrameworkInit','BEFORE_EACH','TESTHUB_EVENTS',':screenshot-app',':snapshot',':keep-alive','DOWNLOAD','AFTER','sdk:testFrameworkEvent','96aErGdF','SCREENSHOT_APP','SDK_CLI_ENQUEUE_TEST_EVENT','QUIT','APP_AUOTMATE_EVENTS','SDK_AUTOMATION_FRAMEWORK_STOP','sdk:onStop',':idle-timeout','GET','AFTER_EACH','2959451SeMmmd','7612456sMTsJE','sdk:driver:pre-initialization','A11Y_EVENTS','sdk:driver','exports','SDK_CLI_ON_BOOTSTRAP',':get-accessibility-results','SDK_ACCESSIBILITY_CONFIG','sdk:cli:check-update','START','SDK_CLI_ON_STOP','SDK_CLI_START','DRIVER_MANAGE','15CkfMHe','sdk:a11y','SDK_TESTHUB','DRIVER_EVENT','1301525kzWqFb','SDK_ON_STOP','512183ffFjeW',':screenshot',':session-status','SESSION_NAME','sdk:proxy-setup','sdk:observabilityConfig'];a117_0x426b=function(){return _0x122953;};return a117_0x426b();}(function(_0x5cf580,_0x260971){const _0x4ec615=a117_0x25c8,_0x35c094=_0x5cf580();while(!![]){try{const _0xccb3d3=-parseInt(_0x4ec615(0x192))/0x1*(-parseInt(_0x4ec615(0x161))/0x2)+-parseInt(_0x4ec615(0x18e))/0x3*(parseInt(_0x4ec615(0x1b1))/0x4)+-parseInt(_0x4ec615(0x1a7))/0x5+parseInt(_0x4ec615(0x176))/0x6*(parseInt(_0x4ec615(0x194))/0x7)+parseInt(_0x4ec615(0x181))/0x8*(parseInt(_0x4ec615(0x1d6))/0x9)+-parseInt(_0x4ec615(0x1c9))/0xa+-parseInt(_0x4ec615(0x180))/0xb;if(_0xccb3d3===_0x260971)break;else _0x35c094['push'](_0x35c094['shift']());}catch(_0x5314fc){_0x35c094['push'](_0x35c094['shift']());}}}(a117_0x426b,0xc6a54));const a117_0x142b40={};function a117_0x25c8(_0x204a24,_0x2a0e81){const _0x426b80=a117_0x426b();return a117_0x25c8=function(_0x25c8dc,_0x18bc81){_0x25c8dc=_0x25c8dc-0x15c;let _0x150a67=_0x426b80[_0x25c8dc];return _0x150a67;},a117_0x25c8(_0x204a24,_0x2a0e81);}a117_0x142b40[a117_0x9f51c8(0x1c1)]=a117_0x9f51c8(0x1e4),a117_0x142b40[a117_0x9f51c8(0x19a)]=a117_0x9f51c8(0x19f),a117_0x142b40[a117_0x9f51c8(0x16b)]=a117_0x9f51c8(0x1b2),a117_0x142b40['SDK_TEST']=a117_0x9f51c8(0x1df),a117_0x142b40[a117_0x9f51c8(0x164)]=a117_0x9f51c8(0x15d),a117_0x142b40[a117_0x9f51c8(0x163)]=a117_0x9f51c8(0x1c7),a117_0x142b40[a117_0x9f51c8(0x1c0)]=a117_0x9f51c8(0x184),a117_0x142b40[a117_0x9f51c8(0x1ac)]=a117_0x9f51c8(0x18f),a117_0x142b40[a117_0x9f51c8(0x1d5)]=a117_0x9f51c8(0x1d4),a117_0x142b40[a117_0x9f51c8(0x1a1)]=a117_0x9f51c8(0x1cc),a117_0x142b40[a117_0x9f51c8(0x1c8)]=a117_0x9f51c8(0x198),a117_0x142b40[a117_0x9f51c8(0x190)]=a117_0x9f51c8(0x1b5),a117_0x142b40[a117_0x9f51c8(0x1dc)]='sdk:automate',a117_0x142b40[a117_0x9f51c8(0x1cd)]=a117_0x9f51c8(0x15e),a117_0x142b40[a117_0x9f51c8(0x1d1)]=a117_0x9f51c8(0x1a5),a117_0x142b40[a117_0x9f51c8(0x1cb)]='sdk:percy',a117_0x142b40['SDK_PRE_INITIALIZE']=a117_0x9f51c8(0x182),a117_0x142b40[a117_0x9f51c8(0x1b3)]='sdk:driver:post-initialization',a117_0x142b40[a117_0x9f51c8(0x18c)]=a117_0x9f51c8(0x1ba),a117_0x142b40[a117_0x9f51c8(0x1bd)]=a117_0x9f51c8(0x1aa),a117_0x142b40['SDK_CLI_CHECK_UPDATE']=a117_0x9f51c8(0x189),a117_0x142b40[a117_0x9f51c8(0x186)]='sdk:cli:on-bootstrap',a117_0x142b40[a117_0x9f51c8(0x1e3)]='sdk:cli:on-connect',a117_0x142b40[a117_0x9f51c8(0x18b)]=a117_0x9f51c8(0x1d9),a117_0x142b40[a117_0x9f51c8(0x19e)]='sdk:startBinSession',a117_0x142b40['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a117_0x142b40[a117_0x9f51c8(0x167)]=a117_0x9f51c8(0x1da),a117_0x142b40[a117_0x9f51c8(0x1ab)]=a117_0x9f51c8(0x1a0),a117_0x142b40['SDK_AUTOMATION_FRAMEWORK_INIT']=a117_0x9f51c8(0x16d),a117_0x142b40[a117_0x9f51c8(0x1d3)]=a117_0x9f51c8(0x1be),a117_0x142b40[a117_0x9f51c8(0x188)]=a117_0x9f51c8(0x1b4),a117_0x142b40[a117_0x9f51c8(0x1e5)]=a117_0x9f51c8(0x199),a117_0x142b40[a117_0x9f51c8(0x1d7)]=a117_0x9f51c8(0x1a3),a117_0x142b40[a117_0x9f51c8(0x1e2)]=a117_0x9f51c8(0x1af),a117_0x142b40[a117_0x9f51c8(0x1c2)]=a117_0x9f51c8(0x175),a117_0x142b40[a117_0x9f51c8(0x1c6)]=a117_0x9f51c8(0x16a),a117_0x142b40[a117_0x9f51c8(0x1a9)]=a117_0x9f51c8(0x1b9),a117_0x142b40[a117_0x9f51c8(0x178)]='sdk:cli:enqueueTestEvent',a117_0x142b40[a117_0x9f51c8(0x17b)]='sdk:automationFrameworkStop',a117_0x142b40[a117_0x9f51c8(0x193)]=a117_0x9f51c8(0x17c);const SDK_EVENTS=a117_0x142b40,a117_0x4fbf3d={};a117_0x4fbf3d['EVENTS']=SDK_EVENTS,a117_0x4fbf3d[a117_0x9f51c8(0x16f)]={},a117_0x4fbf3d[a117_0x9f51c8(0x162)]={},a117_0x4fbf3d[a117_0x9f51c8(0x183)]={},a117_0x4fbf3d[a117_0x9f51c8(0x1c5)]={},a117_0x4fbf3d[a117_0x9f51c8(0x15f)]={},a117_0x4fbf3d[a117_0x9f51c8(0x1bc)]={},a117_0x4fbf3d[a117_0x9f51c8(0x1a8)]={},a117_0x4fbf3d[a117_0x9f51c8(0x17a)]={},a117_0x4fbf3d[a117_0x9f51c8(0x191)]={},a117_0x4fbf3d[a117_0x9f51c8(0x16f)][a117_0x9f51c8(0x18a)]=SDK_EVENTS[a117_0x9f51c8(0x190)]+a117_0x9f51c8(0x1ca),a117_0x4fbf3d[a117_0x9f51c8(0x16f)][a117_0x9f51c8(0x1e1)]=SDK_EVENTS[a117_0x9f51c8(0x190)]+a117_0x9f51c8(0x1a6),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x1d0)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x172),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x1cf)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x9f51c8(0x1a4),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x160)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x9f51c8(0x1ae),a117_0x4fbf3d[a117_0x9f51c8(0x162)]['LOCAL_STOP']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+':local-stop',a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x18d)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x9f51c8(0x1ad),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x197)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+':session-name',a117_0x4fbf3d[a117_0x9f51c8(0x162)]['SESSION_STATUS']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x196),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x1b0)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+':session-annotation',a117_0x4fbf3d[a117_0x9f51c8(0x162)]['IDLE_TIMEOUT']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x17d),a117_0x4fbf3d[a117_0x9f51c8(0x162)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x1d2),a117_0x4fbf3d[a117_0x9f51c8(0x162)][a117_0x9f51c8(0x165)]=SDK_EVENTS[a117_0x9f51c8(0x1dc)]+a117_0x9f51c8(0x1b7),a117_0x4fbf3d[a117_0x9f51c8(0x183)][a117_0x9f51c8(0x1a2)]=SDK_EVENTS[a117_0x9f51c8(0x1ac)]+a117_0x9f51c8(0x1dd),a117_0x4fbf3d[a117_0x9f51c8(0x183)]['SAVE_RESULTS']=SDK_EVENTS[a117_0x9f51c8(0x1ac)]+a117_0x9f51c8(0x1c4),a117_0x4fbf3d[a117_0x9f51c8(0x183)][a117_0x9f51c8(0x1b6)]=SDK_EVENTS['SDK_A11Y']+a117_0x9f51c8(0x187),a117_0x4fbf3d[a117_0x9f51c8(0x183)]['GET_RESULTS_SUMMARY']=SDK_EVENTS[a117_0x9f51c8(0x1ac)]+a117_0x9f51c8(0x168),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x173)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x19b),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x1d8)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x195),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x18a)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x1ca),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x1e1)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x1a6),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x1db)]=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+':auto-capture',a117_0x4fbf3d[a117_0x9f51c8(0x1c5)]['SNAPSHOT']=SDK_EVENTS[a117_0x9f51c8(0x1cb)]+a117_0x9f51c8(0x171),a117_0x4fbf3d[a117_0x9f51c8(0x1c5)][a117_0x9f51c8(0x177)]=SDK_EVENTS['SDK_PERCY']+a117_0x9f51c8(0x170),a117_0x4fbf3d[a117_0x9f51c8(0x15f)]['SYNC']=SDK_EVENTS['SDK_O11Y']+a117_0x9f51c8(0x19d),a117_0x4fbf3d[a117_0x9f51c8(0x15f)][a117_0x9f51c8(0x1ce)]=SDK_EVENTS[a117_0x9f51c8(0x1d5)]+a117_0x9f51c8(0x1bf),a117_0x4fbf3d[a117_0x9f51c8(0x15f)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_O11Y']+':print-buildlink',a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x16e)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+a117_0x9f51c8(0x1bb),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x17f)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+a117_0x9f51c8(0x1de),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x1e0)]=SDK_EVENTS['SDK_HOOK']+a117_0x9f51c8(0x1e6),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x166)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+a117_0x9f51c8(0x1b8),a117_0x4fbf3d[a117_0x9f51c8(0x1bc)]['BEFORE']=SDK_EVENTS[a117_0x9f51c8(0x163)]+':before',a117_0x4fbf3d[a117_0x9f51c8(0x1bc)][a117_0x9f51c8(0x174)]=SDK_EVENTS[a117_0x9f51c8(0x163)]+':after',a117_0x4fbf3d[a117_0x9f51c8(0x1a8)][a117_0x9f51c8(0x1cf)]=SDK_EVENTS[a117_0x9f51c8(0x1d1)]+':hub-management',a117_0x4fbf3d[a117_0x9f51c8(0x1a8)]['PRINT_BUILDLINK']=SDK_EVENTS[a117_0x9f51c8(0x1d1)]+a117_0x9f51c8(0x1b7),a117_0x4fbf3d[a117_0x9f51c8(0x17a)][a117_0x9f51c8(0x19c)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a117_0x9f51c8(0x15c),a117_0x4fbf3d[a117_0x9f51c8(0x191)][a117_0x9f51c8(0x179)]=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+':quit',a117_0x4fbf3d[a117_0x9f51c8(0x191)][a117_0x9f51c8(0x17e)]=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+a117_0x9f51c8(0x1c3),a117_0x4fbf3d[a117_0x9f51c8(0x191)][a117_0x9f51c8(0x16c)]=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+':pre-execute',a117_0x4fbf3d[a117_0x9f51c8(0x191)]['POST_EXECUTE']=SDK_EVENTS[a117_0x9f51c8(0x1c0)]+a117_0x9f51c8(0x169),module[a117_0x9f51c8(0x185)]=a117_0x4fbf3d;
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 +1 @@
1
- const a118_0x41d617=a118_0xd02b;(function(_0x29c318,_0xbdf375){const _0x2e2b60=a118_0xd02b,_0x27084b=_0x29c318();while(!![]){try{const _0x2f1301=-parseInt(_0x2e2b60(0x1f4))/0x1*(-parseInt(_0x2e2b60(0x235))/0x2)+-parseInt(_0x2e2b60(0x22c))/0x3+parseInt(_0x2e2b60(0x210))/0x4*(parseInt(_0x2e2b60(0x24b))/0x5)+-parseInt(_0x2e2b60(0x1be))/0x6+-parseInt(_0x2e2b60(0x21b))/0x7*(-parseInt(_0x2e2b60(0x20f))/0x8)+-parseInt(_0x2e2b60(0x23e))/0x9+-parseInt(_0x2e2b60(0x1ed))/0xa*(-parseInt(_0x2e2b60(0x26a))/0xb);if(_0x2f1301===_0xbdf375)break;else _0x27084b['push'](_0x27084b['shift']());}catch(_0x103b81){_0x27084b['push'](_0x27084b['shift']());}}}(a118_0x2c05,0x503c7));function a118_0x2c05(){const _0x54a2ee=['RSCPp','WQYhs','iYPWk','apply','Error\x20while\x20removing\x20files:\x20','\x20for\x20all\x20processes\x20is\x20','347254EOiviG','unlink','name','false','join','xJnYN','writeFile','stringify','then','3492405vzPnVm','push','../logger','cwd','measure','eWHGA','readFile','fs/promises','path','pushErrors','_errorEvents','modified-key-metrics.json','error-report','18995ChxzNN','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','all','tCKTs','forEach','getCleanedPerfEvents','unlinkSync','entryType','Jvchj','BmJMR','generateJSON','msyek','.json','observe','resolve','flat','btrQh','wbIDu','gPHjr','browserStackCwd','success','rYhbc','-start','</td></tr>','concat','message','errorReportDirName','nYplU','info','assign','BLhFB','379841BioAKi','eventsMap','Uzrsd','rrRAq','gnGqz','toString','</td><td>','error\x20in\x20measure\x20','bsqTp','_events','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','perf_hooks','3691608ZCSdku','writeFileSync','errorFile','failure','start','errors','rFiHN','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','eLPho','gcbPf','generateHTMLReport','jsonReportDirName','utf-8','getPerformance','jsonReportDirPath','finalizePerfMeasures','splice','slice','oJuAc','mark','env','parse','FyicW','util','disconnect','debug','entries','measures','-end','reduce','readFileSync','testName','key-metrics.json','VYscZ','zDMxs','startMonitoring','gKLFU','<h1>Performance\x20Report</h1>','worker','match','_observer','qyTDe','F_OK','exports','isArray','started','Ifvpa','70mTRvvB','qRnco','performance-report','isEnabled','qKRtc','pushPerfMeasures','/error-report-','2NypQRL','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','siulo','Error\x20in\x20writing\x20html\x20','getEventsFromJSON','map','function','vQUYa','PBzKP','appendFileSync','FdBtI','finalize','AMAse','winstonLogger','details','readdirSync','constants','Error\x20stopping\x20monitoring\x20','__platformCaps','_measureEvents','captureError','jcqLJ','hLMbh','length','jsonReportFileName','GYbXb','EPNQI','2895112QcJTXb','512sIHKZB','finalizeErrors','errorReportFileName','stopMonitoring','FhLZe','cNrxA','format','toJSON','XAaPU','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','platform','7vZSiHO','entryTypes','existsSync','getEntries','end','catch','index','calculateTimeFromEvents','dirname','WkfJn','Error\x20in\x20doing\x20csv\x20operations:\x20','rgnpv','calculateTimesFromMultipleFiles','</tbody></table></body></html>','stack','gsqOa','duration','315516UDOzTk','hdlWx','aiQwj'];a118_0x2c05=function(){return _0x54a2ee;};return a118_0x2c05();}function a118_0xd02b(_0xa98902,_0x31b1bf){const _0x2c058=a118_0x2c05();return a118_0xd02b=function(_0xd02bc4,_0x165891){_0xd02bc4=_0xd02bc4-0x1bb;let _0x119e0c=_0x2c058[_0xd02bc4];return _0x119e0c;},a118_0xd02b(_0xa98902,_0x31b1bf);}const fs=require('fs'),fsPromise=require(a118_0x41d617(0x245)),{performance,PerformanceObserver}=require(a118_0x41d617(0x1bd)),path=require(a118_0x41d617(0x246)),util=require(a118_0x41d617(0x1d5)),logger=require(a118_0x41d617(0x240))[a118_0x41d617(0x201)],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a118_0x41d617(0x1e6)];static [a118_0x41d617(0x1bb)]=[];static [a118_0x41d617(0x207)]=[];static [a118_0x41d617(0x248)]=[];static ['started']=![];static [a118_0x41d617(0x1c9)]=a118_0x41d617(0x1ef);static [a118_0x41d617(0x265)]=process[a118_0x41d617(0x1d2)]['browserStackCwd']?path['join'](process['env'][a118_0x41d617(0x25e)],a118_0x41d617(0x24a)):path[a118_0x41d617(0x239)](process[a118_0x41d617(0x241)](),'error-report');static ['errorReportFileName']=this[a118_0x41d617(0x265)]+'/error-report-'+getProcessId()+'.json';static ['details']={};static [a118_0x41d617(0x26b)]={};static[a118_0x41d617(0x1e1)](_0x39e8f3,_0x258cfe=this[a118_0x41d617(0x265)]+a118_0x41d617(0x1f3)+getProcessId()+a118_0x41d617(0x257)){const _0x16ef17=a118_0x41d617,_0x5691f8={'Uzrsd':function(_0x3a450e,_0x5db087){return _0x3a450e===_0x5db087;},'gKLFU':_0x16ef17(0x242),'gnGqz':function(_0x123e2b){return _0x123e2b();},'msyek':function(_0x90e17c){return _0x90e17c();},'WQYhs':function(_0x3e9c5d,_0x139201){return _0x3e9c5d+_0x139201;},'iYPWk':_0x16ef17(0x219),'rgnpv':_0x16ef17(0x1fa)};try{this[_0x16ef17(0x1cc)]=path[_0x16ef17(0x239)](_0x5691f8[_0x16ef17(0x26e)](getLogDir),this[_0x16ef17(0x1c9)]),!_0x39e8f3&&(_0x39e8f3=this[_0x16ef17(0x1cc)]+'/performance-report-'+_0x5691f8[_0x16ef17(0x256)](getProcessId)+_0x16ef17(0x257)),!fs[_0x16ef17(0x21d)](this[_0x16ef17(0x1cc)])&&fs['mkdirSync'](this[_0x16ef17(0x1cc)]);}catch(_0x95b73f){logger[_0x16ef17(0x1d7)](_0x5691f8[_0x16ef17(0x230)](_0x5691f8[_0x16ef17(0x231)],_0x95b73f));}if(this[_0x16ef17(0x1eb)]||!this['isEnabled']())return;this[_0x16ef17(0x1e6)]=new PerformanceObserver(_0x44d872=>{const _0x3a75d1=_0x16ef17;_0x44d872[_0x3a75d1(0x21e)]()[_0x3a75d1(0x24f)](_0x444948=>{const _0xd6855=_0x3a75d1;if(_0x5691f8[_0xd6855(0x26c)](_0x444948[_0xd6855(0x252)],_0x5691f8[_0xd6855(0x1e2)])){let _0x55800e={};if(_0x444948[_0xd6855(0x217)])_0x55800e=_0x444948['toJSON']();else for(const _0x2487cb in _0x444948){_0x55800e[_0x2487cb]=_0x444948[_0x2487cb];}this['details'][_0x444948[_0xd6855(0x237)]]&&(_0x55800e=Object['assign'](_0x55800e,this[_0xd6855(0x202)][_0x444948['name']])),delete this['details'][_0x444948[_0xd6855(0x237)]],this[_0xd6855(0x207)][_0xd6855(0x23f)](_0x55800e);}else this[_0xd6855(0x1bb)][_0xd6855(0x23f)](_0x444948);});});const _0x94f9cf={};_0x94f9cf['buffered']=!![],_0x94f9cf[_0x16ef17(0x21c)]=[_0x5691f8[_0x16ef17(0x226)],_0x5691f8['gKLFU']],this['_observer'][_0x16ef17(0x258)](_0x94f9cf),this['started']=!![],this[_0x16ef17(0x20c)]=_0x39e8f3,this[_0x16ef17(0x212)]=_0x258cfe;}static[a118_0x41d617(0x1cb)](){return performance;}static[a118_0x41d617(0x222)](_0x24dcf4,_0x24c616){const _0x423439=a118_0x41d617,_0x41bf95={};_0x41bf95['qyTDe']=function(_0x53cc2b,_0x3d6cd4){return _0x53cc2b+_0x3d6cd4;},_0x41bf95[_0x423439(0x26d)]=function(_0x203691,_0x149163){return _0x203691||_0x149163;},_0x41bf95[_0x423439(0x25d)]=function(_0x68392b,_0x4dd4d2){return _0x68392b===_0x4dd4d2;};const _0x2d0b11=_0x41bf95,_0x53330b={};if(!_0x24dcf4||_0x2d0b11[_0x423439(0x25d)](_0x24dcf4[_0x423439(0x20b)],0x0))return;_0x24dcf4['map'](_0x29e378=>{const _0x45db63=_0x423439;!_0x53330b[_0x29e378[_0x45db63(0x237)]]&&(_0x53330b[_0x29e378['name']]=0x0),_0x53330b[_0x29e378[_0x45db63(0x237)]]+=_0x29e378['duration'];});const _0x44bd2e=_0x24c616[_0x423439(0x1db)]((_0x19d99d,_0x1d83f3)=>{const _0x5ddaeb=_0x423439;return _0x2d0b11[_0x5ddaeb(0x1e7)](_0x53330b[_0x1d83f3],_0x2d0b11[_0x5ddaeb(0x26d)](_0x19d99d,0x0));},0x0);return _0x44bd2e;}static async[a118_0x41d617(0x227)](_0x5eabc4,_0x33d43d){const _0x563e23=a118_0x41d617,_0x404351={'hLMbh':function(_0x497c9d,_0x24af11){return _0x497c9d+_0x24af11;},'bsqTp':function(_0x12f7f3,_0x22a92e){return _0x12f7f3||_0x22a92e;},'aiQwj':function(_0x30d99a,_0x59c9f3){return _0x30d99a===_0x59c9f3;},'zaIVf':function(_0x2c3edc,_0x7d2efb){return _0x2c3edc(_0x7d2efb);},'GxhYX':function(_0x2519c5,_0x351e4f){return _0x2519c5(_0x351e4f);}};if(!_0x5eabc4||_0x404351[_0x563e23(0x22e)](_0x5eabc4['length'],0x0))return 0x0;const _0x2b582f=[];for(const _0x39736b of _0x5eabc4){const _0x1d58b0=path[_0x563e23(0x239)]('.',_0x39736b);try{const _0x4e2a85=this[_0x563e23(0x1f8)](_0x1d58b0);_0x4e2a85['map'](_0x11a26b=>{const _0x3b58c4=_0x563e23;!_0x2b582f[_0x11a26b[_0x3b58c4(0x237)]]&&(_0x2b582f[_0x11a26b['name']]=0x0),_0x2b582f[_0x11a26b['name']]+=_0x11a26b[_0x3b58c4(0x22b)];});}catch(_0x1c8815){_0x404351['zaIVf'](debug,_0x563e23(0x225)+_0x1c8815[_0x563e23(0x26f)]());}}const _0x592e17=_0x33d43d['reduce']((_0x592dad,_0x40b14)=>{const _0xa9cbd1=_0x563e23;return _0x404351[_0xa9cbd1(0x20a)](_0x2b582f[_0x40b14],_0x404351[_0xa9cbd1(0x272)](_0x592dad,0x0));},0x0);return _0x404351['GxhYX'](debug,'Time\x20for\x20'+_0x33d43d+_0x563e23(0x234)+_0x592e17),_0x592e17;}static['getEventsFromJSON'](_0xc1ccba){const _0x930f76=a118_0x41d617;if(_0xc1ccba){if(!fs[_0x930f76(0x21d)](_0xc1ccba))return[];return JSON[_0x930f76(0x1d3)](fs[_0x930f76(0x1dc)](_0xc1ccba)[_0x930f76(0x26f)]());}}static async['stopAndGenerate'](_0x4e43e6='performance-own.html',_0x34e718=null){const _0xa0a19d=a118_0x41d617,_0x2bba74={'XAaPU':function(_0x4b0313,_0x5dea2a){return _0x4b0313(_0x5dea2a);},'YcOKU':function(_0x1d566f,_0x3854d9){return _0x1d566f(_0x3854d9);}};if(!this[_0xa0a19d(0x1eb)])return;await _0x2bba74['YcOKU'](sleep,0x1e),this[_0xa0a19d(0x1e6)][_0xa0a19d(0x1d6)](),this[_0xa0a19d(0x1eb)]=![],this['generateJSON'](this[_0xa0a19d(0x1bb)]);const _0x1d32ab=this[_0xa0a19d(0x1c8)](this[_0xa0a19d(0x1bb)]),_0x180b6f=path[_0xa0a19d(0x239)](process[_0xa0a19d(0x241)](),_0x4e43e6);fs[_0xa0a19d(0x23b)](_0x180b6f,_0x1d32ab,_0x5d3204=>{const _0x5cae7d=_0xa0a19d;if(_0x5d3204){_0x2bba74[_0x5cae7d(0x218)](debug,_0x5cae7d(0x1f7)+_0x5d3204[_0x5cae7d(0x26f)]());return;}_0x2bba74[_0x5cae7d(0x218)](debug,'Performance\x20report\x20is\x20at\x20'+_0x180b6f);});if(_0x34e718)return this[_0xa0a19d(0x222)](this[_0xa0a19d(0x1bb)],_0x34e718);}static[a118_0x41d617(0x1c8)](_0x12acb6){const _0x413a7f=a118_0x41d617,_0x1a1a11={};_0x1a1a11[_0x413a7f(0x25b)]=_0x413a7f(0x24c),_0x1a1a11[_0x413a7f(0x1c6)]=_0x413a7f(0x1e3),_0x1a1a11[_0x413a7f(0x22a)]=_0x413a7f(0x1f5),_0x1a1a11[_0x413a7f(0x1ee)]=_0x413a7f(0x228);const _0x289c21=_0x1a1a11;let _0x581024=_0x289c21[_0x413a7f(0x25b)];return _0x581024+=_0x289c21[_0x413a7f(0x1c6)],_0x581024+=_0x289c21['gsqOa'],_0x12acb6[_0x413a7f(0x24f)](_0x4e1ba0=>{const _0x1e2551=_0x413a7f;_0x581024+='<tr><td>'+_0x4e1ba0[_0x1e2551(0x237)]+_0x1e2551(0x270)+_0x4e1ba0[_0x1e2551(0x22b)]+_0x1e2551(0x262);}),_0x581024+=_0x289c21[_0x413a7f(0x1ee)],_0x581024;}static[a118_0x41d617(0x255)](_0x25f727){const _0x2e59c7=a118_0x41d617;if(!this[_0x2e59c7(0x20c)])return;const _0x1b26ec={};_0x25f727[_0x2e59c7(0x1f9)](_0x2d3a02=>{const _0x4fb0cd=_0x2e59c7;!_0x1b26ec[_0x2d3a02[_0x4fb0cd(0x237)]]&&(_0x1b26ec[_0x2d3a02[_0x4fb0cd(0x237)]]=0x0),_0x1b26ec[_0x2d3a02[_0x4fb0cd(0x237)]]+=_0x2d3a02[_0x4fb0cd(0x22b)];});const _0x3ab5f7=Object[_0x2e59c7(0x1d8)](_0x1b26ec)[_0x2e59c7(0x1f9)](([_0x54fb79,_0x280f77])=>{const _0x4c0409=_0x2e59c7,_0x3d0efd={};return _0x3d0efd['name']=_0x54fb79,_0x3d0efd[_0x4c0409(0x22b)]=_0x280f77,_0x3d0efd;});fs[_0x2e59c7(0x1bf)](this[_0x2e59c7(0x20c)],JSON[_0x2e59c7(0x23c)](_0x3ab5f7));}static['isEnabled'](){const _0x3cb642=a118_0x41d617,_0x248513={};_0x248513[_0x3cb642(0x215)]=function(_0x119b23,_0x21a89d){return _0x119b23===_0x21a89d;},_0x248513[_0x3cb642(0x209)]=_0x3cb642(0x238);const _0x2458e0=_0x248513;return!_0x2458e0[_0x3cb642(0x215)](process[_0x3cb642(0x1d2)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x2458e0['jcqLJ']);}static['measure'](_0x3a9ac1,_0x484cd4,_0x440a95=null,_0x8048f6={},_0x19838d=null){const _0x39d582=a118_0x41d617,_0x1af9dd={'hdlWx':function(_0x5ecc0e,_0x1dd110){return _0x5ecc0e(_0x1dd110);},'FhLZe':function(_0x4f4f23,_0x3f856e){return _0x4f4f23 instanceof _0x3f856e;}};try{if(this[_0x39d582(0x1eb)]&&this['isEnabled']()){let _0x3e5bac=_0x3a9ac1;_0x440a95&&(_0x3e5bac=_0x3a9ac1+'['+JSON[_0x39d582(0x23c)](_0x440a95)+']');PerformanceTester[_0x39d582(0x1c2)](_0x3e5bac),this['details']&&(this[_0x39d582(0x202)][_0x3e5bac]=_0x8048f6);try{const _0x5c6bfb=_0x484cd4[_0x39d582(0x232)](null,_0x19838d);if(_0x1af9dd[_0x39d582(0x214)](_0x5c6bfb,Promise))return new Promise((_0x420d9c,_0x1b26c0)=>{const _0x227b15=_0x39d582,_0x4c689e={'HsEDq':function(_0x3e787b,_0x42d6f9){const _0xeede3e=a118_0xd02b;return _0x1af9dd[_0xeede3e(0x22d)](_0x3e787b,_0x42d6f9);}};_0x5c6bfb[_0x227b15(0x23d)](_0x243fac=>{const _0x50b6f8=_0x227b15;PerformanceTester[_0x50b6f8(0x21f)](_0x3e5bac),_0x4c689e['HsEDq'](_0x420d9c,_0x243fac);})[_0x227b15(0x220)](_0x711ae0=>{const _0xf63672=_0x227b15;PerformanceTester[_0xf63672(0x21f)](_0x3e5bac,![],util['format'](_0x711ae0)),_0x1af9dd[_0xf63672(0x22d)](_0x1b26c0,_0x711ae0);});});;return PerformanceTester['end'](_0x3e5bac),_0x5c6bfb;}catch(_0x40558a){PerformanceTester['end'](_0x3e5bac,![],util[_0x39d582(0x216)](_0x40558a));throw _0x40558a;}};return _0x484cd4[_0x39d582(0x232)](null,_0x19838d);}catch(_0xc21033){return logger['debug'](_0x39d582(0x271)+(_0xc21033['stack']||_0xc21033[_0x39d582(0x264)]||_0xc21033)),_0x484cd4['apply'](null,_0x19838d);}}static['measureWrapper'](_0x22c74c,_0x300ee7,_0x4adf45={}){const _0x520e32=a118_0x41d617,_0x268353={'Jvchj':function(_0x1cf0f4){return _0x1cf0f4();}},_0x41890e=this;return _0x4adf45[_0x520e32(0x1e4)]=_0x268353['Jvchj'](getProcessId),_0x4adf45[_0x520e32(0x1dd)]=_0x268353[_0x520e32(0x253)](getTestName),_0x4adf45[_0x520e32(0x21a)]=global['__platformCaps']&&global[_0x520e32(0x206)][_0x520e32(0x221)],function(){const _0x461c35=_0x520e32,_0x9a2067=[_0x22c74c,_0x300ee7,null,_0x4adf45][_0x461c35(0x263)](arguments);return _0x41890e[_0x461c35(0x242)][_0x461c35(0x232)](_0x41890e,_0x9a2067);};}static[a118_0x41d617(0x250)](){const _0x2716ab=a118_0x41d617,_0x2475e0=/(^.*)\[(.*)\]$/,_0x3f6c0a={},_0x27f633={},_0x2c2b4b=[],_0x18c426=this[_0x2716ab(0x207)][_0x2716ab(0x1ce)](0x0,this[_0x2716ab(0x207)][_0x2716ab(0x20b)]);for(const _0x45479d of _0x18c426){const _0x51f8f7=_0x45479d[_0x2716ab(0x237)][_0x2716ab(0x1e5)](_0x2475e0),_0x1bc79f=Object['assign']({},_0x45479d);_0x51f8f7&&(_0x1bc79f[_0x2716ab(0x237)]=_0x51f8f7[0x1],_0x1bc79f['meta']=JSON['parse'](_0x51f8f7[0x2])),_0x2c2b4b[_0x2716ab(0x23f)](_0x1bc79f);}return _0x2c2b4b;}static[a118_0x41d617(0x1f2)](){const _0x29c56f=a118_0x41d617,_0x139477={'GYbXb':function(_0x3e874a){return _0x3e874a();},'siulo':function(_0x5e8ea0,_0x3a4497){return _0x5e8ea0+_0x3a4497;},'BLhFB':_0x29c56f(0x233),'RSCPp':function(_0x30e7c0,_0x372f94){return _0x30e7c0===_0x372f94;}};try{this['jsonReportDirPath']=path[_0x29c56f(0x239)](_0x139477[_0x29c56f(0x20d)](getLogDir),this[_0x29c56f(0x1c9)]);if(fs[_0x29c56f(0x21d)](this['jsonReportDirPath'])){const _0x4e5e91=fs[_0x29c56f(0x203)](this['jsonReportDirPath']);for(const _0x476100 of _0x4e5e91){fs[_0x29c56f(0x251)](path[_0x29c56f(0x239)](this[_0x29c56f(0x1cc)],_0x476100));}}}catch(_0x2d670d){logger[_0x29c56f(0x1d7)](_0x139477['siulo'](_0x139477[_0x29c56f(0x269)],_0x2d670d));}if(_0x139477[_0x29c56f(0x22f)](this[_0x29c56f(0x207)]['length'],0x0))return;const _0x16d46=this[_0x29c56f(0x250)](),_0x5865fc=JSON[_0x29c56f(0x23c)](_0x16d46),_0x416df3=_0x139477[_0x29c56f(0x1f6)](_0x5865fc[_0x29c56f(0x1cf)](0x1,-0x1),',');fs[_0x29c56f(0x1fd)](this['jsonReportFileName'],_0x416df3);}static async[a118_0x41d617(0x1cd)](){const _0x5187f5=a118_0x41d617,_0x1b59b3={'DiXyk':function(_0x3188a6){return _0x3188a6();},'AMAse':function(_0x36504e,_0x1894ba){return _0x36504e===_0x1894ba;},'qKRtc':_0x5187f5(0x1de),'Ifvpa':_0x5187f5(0x1ca),'eWHGA':_0x5187f5(0x249),'VYscZ':function(_0x479e1b,_0x1944f9){return _0x479e1b+_0x1944f9;},'EPNQI':function(_0x2ec2e0,_0x30c477){return _0x2ec2e0+_0x30c477;},'zDMxs':'Error\x20processing\x20key-metrics.json:\x20%s','gcbPf':_0x5187f5(0x1c5),'FyicW':_0x5187f5(0x1bc),'FdBtI':function(_0x171bd4,_0x2ed15f){return _0x171bd4>_0x2ed15f;}};this['jsonReportDirPath']=path[_0x5187f5(0x239)](_0x1b59b3['DiXyk'](getLogDir),this['jsonReportDirName']);if(!this['started']||_0x1b59b3[_0x5187f5(0x200)](this[_0x5187f5(0x207)][_0x5187f5(0x20b)],0x0))return[];if(!fs[_0x5187f5(0x21d)](this[_0x5187f5(0x1cc)]))return this['_measureEvents'];const _0x3e2130=(await fsPromise['readdir'](this[_0x5187f5(0x1cc)]))[_0x5187f5(0x1f9)](_0x58c9d6=>path[_0x5187f5(0x259)](this[_0x5187f5(0x1cc)],_0x58c9d6));try{const _0x4f254d=path[_0x5187f5(0x223)](this['jsonReportDirPath']),_0x3168e9=path[_0x5187f5(0x239)](_0x4f254d,_0x1b59b3[_0x5187f5(0x1f1)]);if(fs[_0x5187f5(0x21d)](_0x3168e9))try{await fsPromise['access'](_0x3168e9,fs[_0x5187f5(0x204)][_0x5187f5(0x1e8)]);const _0xa1f2a0=await fsPromise[_0x5187f5(0x244)](_0x3168e9,_0x1b59b3[_0x5187f5(0x1ec)]),_0x59bfaf=JSON[_0x5187f5(0x1d3)](_0xa1f2a0),_0xb3b549=path['join'](this[_0x5187f5(0x1cc)],_0x1b59b3[_0x5187f5(0x243)]);let _0x13b01d='';Array[_0x5187f5(0x1ea)](_0x59bfaf)?_0x13b01d=_0x1b59b3[_0x5187f5(0x1df)](_0x59bfaf[_0x5187f5(0x1f9)](_0x357a9c=>JSON[_0x5187f5(0x23c)](_0x357a9c))[_0x5187f5(0x239)](','),','):_0x13b01d=_0x1b59b3[_0x5187f5(0x20e)](JSON[_0x5187f5(0x23c)](_0x59bfaf),','),await fsPromise[_0x5187f5(0x23b)](_0xb3b549,_0x13b01d),_0x3e2130['push'](_0xb3b549),await fsPromise[_0x5187f5(0x236)](_0x3168e9);}catch(_0x207a5d){logger[_0x5187f5(0x267)](util[_0x5187f5(0x216)](_0x1b59b3[_0x5187f5(0x1e0)],_0x207a5d[_0x5187f5(0x229)]||_0x207a5d['message']||_0x207a5d));}else logger['info'](_0x1b59b3[_0x5187f5(0x1c7)]);}catch(_0x545df0){logger[_0x5187f5(0x267)](util['format'](_0x1b59b3[_0x5187f5(0x1d4)],_0x545df0[_0x5187f5(0x229)]||_0x545df0[_0x5187f5(0x264)]||_0x545df0));}let _0x5e1900=(await Promise[_0x5187f5(0x24d)](_0x3e2130['map'](_0x405885=>fsPromise['readFile'](_0x405885,_0x5187f5(0x1ca)))))['map'](_0x197a58=>'['+_0x197a58['slice'](0x0,-0x1)+']')[_0x5187f5(0x1f9)](_0x4544df=>JSON[_0x5187f5(0x1d3)](_0x4544df))[_0x5187f5(0x25a)]();return _0x1b59b3[_0x5187f5(0x1fe)](this[_0x5187f5(0x207)][_0x5187f5(0x20b)],0x0)&&(_0x5e1900=_0x5e1900[_0x5187f5(0x263)](this[_0x5187f5(0x250)]())),this[_0x5187f5(0x1e6)][_0x5187f5(0x1d6)](),_0x5e1900;}static['pushErrors'](){const _0x3f9529=a118_0x41d617,_0x367a12={};_0x367a12[_0x3f9529(0x260)]=function(_0x23f407,_0x4d2d15){return _0x23f407===_0x4d2d15;},_0x367a12['oJuAc']=function(_0x2f9697,_0x3493f6){return _0x2f9697+_0x3493f6;};const _0x2bafcd=_0x367a12;if(_0x2bafcd[_0x3f9529(0x260)](this['_errorEvents'][_0x3f9529(0x20b)],0x0))return;const _0x1ef729=JSON[_0x3f9529(0x23c)](this['_errorEvents']),_0x1c7e25=_0x2bafcd[_0x3f9529(0x1d0)](_0x1ef729[_0x3f9529(0x1cf)](0x1,-0x1),',');fs['appendFileSync'](this[_0x3f9529(0x1c0)],_0x1c7e25);}static['finalizeErrors'](){const _0x39536b=a118_0x41d617,_0x4c10fb={};_0x4c10fb[_0x39536b(0x23a)]=function(_0x2e3605,_0x2bf3d7){return _0x2e3605>_0x2bf3d7;};const _0x8736ab=_0x4c10fb;if(this['errorReportFileName']){if(!fs[_0x39536b(0x21d)](this[_0x39536b(0x212)]))return this['_errorEvents'];let _0x49c346=fs['readFileSync'](this[_0x39536b(0x212)])['toString']();_0x49c346='['+_0x49c346['slice'](0x0,-0x1)+']';let _0x474da1=JSON[_0x39536b(0x1d3)](_0x49c346);return _0x8736ab[_0x39536b(0x23a)](this['_errorEvents']['length'],0x0)&&(_0x474da1=_0x474da1[_0x39536b(0x263)](this[_0x39536b(0x248)])),fs[_0x39536b(0x251)](this[_0x39536b(0x212)]),_0x474da1;}}static[a118_0x41d617(0x208)](_0x42529b){const _0x53d5a1=a118_0x41d617;if(!this['isEnabled']())return;this['_errorEvents'][_0x53d5a1(0x23f)]({'message':_0x42529b[_0x53d5a1(0x264)],'trace':_0x42529b[_0x53d5a1(0x229)],'code':_0x42529b['code']||null,'time':new Date()});}static[a118_0x41d617(0x213)](){const _0x5303a7=a118_0x41d617;try{if(!this[_0x5303a7(0x1f0)]())return;this[_0x5303a7(0x1e6)]['disconnect'](),this[_0x5303a7(0x1f2)](),this[_0x5303a7(0x247)]();}catch(_0x5a56ae){logger[_0x5303a7(0x1d7)](_0x5303a7(0x205)+util['format'](_0x5a56ae));}}static async[a118_0x41d617(0x1ff)](){const _0x5b1a4b=a118_0x41d617,_0x484596={'BmJMR':function(_0x200e95,_0x3bedad){return _0x200e95(_0x3bedad);}};await _0x484596[_0x5b1a4b(0x254)](sleep,0x1e);const _0x375549=await this[_0x5b1a4b(0x1cd)](),_0x18f4b0=this[_0x5b1a4b(0x211)]();if(!this['isEnabled']()){const _0x1efb2f={};return _0x1efb2f[_0x5b1a4b(0x1d9)]=[],_0x1efb2f[_0x5b1a4b(0x1c3)]=[],_0x1efb2f;}const _0x466636={};return _0x466636[_0x5b1a4b(0x1d9)]=_0x375549,_0x466636[_0x5b1a4b(0x1c3)]=_0x18f4b0,_0x466636;}static[a118_0x41d617(0x1c2)](_0x55e138){const _0x854afe=a118_0x41d617,_0x34a57e={};_0x34a57e['wbIDu']=function(_0x253a02,_0x2b22df){return _0x253a02+_0x2b22df;},_0x34a57e[_0x854afe(0x1c4)]='-start';const _0x4b0b34=_0x34a57e,_0x492235=_0x4b0b34[_0x854afe(0x25c)](_0x55e138,_0x4b0b34[_0x854afe(0x1c4)]);if(this[_0x854afe(0x26b)][_0x492235])return;performance[_0x854afe(0x1d1)](_0x492235),this[_0x854afe(0x26b)][_0x492235]=0x1;}static[a118_0x41d617(0x21f)](_0x2d6ea6,_0x52452b=!![],_0x3e8d8c=null,_0x2f782a={}){const _0x4c557a=a118_0x41d617,_0x5c2a7b={'tCKTs':function(_0x4630ab,_0x42e183){return _0x4630ab+_0x42e183;},'WkfJn':_0x4c557a(0x1da),'nYplU':_0x4c557a(0x261),'vQUYa':function(_0x459ca4){return _0x459ca4();},'PBzKP':function(_0x10e822){return _0x10e822();}};performance[_0x4c557a(0x1d1)](_0x5c2a7b[_0x4c557a(0x24e)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x224)])),performance[_0x4c557a(0x242)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x24e)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x266)]),_0x5c2a7b[_0x4c557a(0x24e)](_0x2d6ea6,_0x5c2a7b[_0x4c557a(0x224)]));const _0x4aa760={};_0x4aa760[_0x4c557a(0x25f)]=_0x52452b,_0x4aa760[_0x4c557a(0x1c1)]=_0x3e8d8c,this[_0x4c557a(0x202)][_0x2d6ea6]=Object[_0x4c557a(0x268)](_0x4aa760,Object[_0x4c557a(0x268)](Object[_0x4c557a(0x268)]({'worker':_0x5c2a7b[_0x4c557a(0x1fb)](getProcessId),'platform':global[_0x4c557a(0x206)]&&global[_0x4c557a(0x206)][_0x4c557a(0x221)],'testName':_0x5c2a7b[_0x4c557a(0x1fc)](getTestName)},_0x2f782a),this[_0x4c557a(0x202)][_0x2d6ea6]||{}));}}module[a118_0x41d617(0x1e9)]=PerformanceTester;
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 +1 @@
1
- const a119_0x43b143=a119_0x4762;(function(_0x1755b3,_0x529f0d){const _0x5c220b=a119_0x4762,_0x2e3fba=_0x1755b3();while(!![]){try{const _0x24be39=-parseInt(_0x5c220b(0x10f))/0x1*(parseInt(_0x5c220b(0xde))/0x2)+-parseInt(_0x5c220b(0xa3))/0x3+parseInt(_0x5c220b(0xad))/0x4+-parseInt(_0x5c220b(0xb5))/0x5*(-parseInt(_0x5c220b(0xe5))/0x6)+-parseInt(_0x5c220b(0xd1))/0x7*(-parseInt(_0x5c220b(0xef))/0x8)+parseInt(_0x5c220b(0xc9))/0x9*(parseInt(_0x5c220b(0xe6))/0xa)+parseInt(_0x5c220b(0xf6))/0xb*(-parseInt(_0x5c220b(0xca))/0xc);if(_0x24be39===_0x529f0d)break;else _0x2e3fba['push'](_0x2e3fba['shift']());}catch(_0x5c4e9d){_0x2e3fba['push'](_0x2e3fba['shift']());}}}(a119_0x17e2,0x7f7b8));function a119_0x17e2(){const _0x255d90=['importFileFromPWCore','generatePlaywrightUrl','W3CMapping','__platformCaps','31129IiXlBg','getBrowserTypePath','exports','OAKDs','util','cliConfig','ihIzT','Playwright\x20not\x20available:\x20','Ryuns','use','browser','browserstack.accessibilityOptions.authToken','Detected\x20Playwright\x20version\x20','82LqpbnD','getConfig','qaHcG','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','config','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','MrtyN','5974686dKkKDd','9608130aSXuuN','debug','YOZOz','browserstack.accessibilityOptions.scannerProcessingTimeout','NdFGa','jUrTt','chrome','browserType.js','../bin/v2/cliUtils','40TOJIVo','checkPwandBootstrapCli','browserstack.testhubBuildUuid','playwrightConfigObject','isPlaywrightAvailable','zpPGH','length','188441BDutKL','parse','lib','BROWSERSTACK_PRODUCT_MAP','KowfK','bstack:options','./helper','__accessibilityOptions','Could\x20not\x20import\x20GrpcClient:\x20','bootstrap','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','rbeWY','__launchCaps','GlyZG','projects','ucmdc','getBrowserFromCaps','BS_A11Y_JWT','isArray','zncYd','getPlaywrightConfig','CPJBC','qvkGc','getPlaywrightBrowserType','entries','9699jiYGQe','browserstack.accessibilityOptions.wcagVersion','ClYop','workers','capabilities','1148934veKOgV','brfiD','./w3cMapping','path','aHmXF','framework','fxijV','WEpFX','\x20for\x20','../bin/utils/constants','516532aCJzNk','hTFhg','\x20flow','qwHWB','setBrowserstackConfig','FRAMEWORKS','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','zjLkn','5BXsHby','HuPhG','IOaQt','BROWSERSTACK_TESTHUB_UUID','./testhub/utils','getInstance','join','aFROU','lDMEL','PopJG','error','BrowserType','format','message','../bin/v2/grpcClient','env','Error\x20getting\x20Playwright\x20BrowserType:\x20','client','KkZYG','ZWtOz','9UXKcAF','564VmkYXL','stringify','fZfkQ'];a119_0x17e2=function(){return _0x255d90;};return a119_0x17e2();}const path=require(a119_0x43b143(0xa6)),util=require(a119_0x43b143(0xd5)),{importFileFromPWCore}=require(a119_0x43b143(0xfc)),helper=require('./helper'),logger=require('./logger')['winstonLogger'],W3CMapping=require(a119_0x43b143(0xa5))[a119_0x43b143(0xcf)](),constants=require(a119_0x43b143(0xac)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require(a119_0x43b143(0xee));function a119_0x4762(_0x20395d,_0x582184){const _0x17e289=a119_0x17e2();return a119_0x4762=function(_0x47627f,_0x5cc38d){_0x47627f=_0x47627f-0xa3;let _0x27f5b7=_0x17e289[_0x47627f];return _0x27f5b7;},a119_0x4762(_0x20395d,_0x582184);}let GrpcClient;try{GrpcClient=require(a119_0x43b143(0xc3));}catch(a119_0x135ae5){logger[a119_0x43b143(0xe7)](a119_0x43b143(0xfe)+a119_0x135ae5[a119_0x43b143(0xc2)]),GrpcClient=null;}const convertW3CToJsonWire=_0x1bf2c7=>{const _0x1f92b6=a119_0x43b143,_0x3390ff={};_0x3390ff['eCQge']=function(_0x310d6b,_0x3556ba){return _0x310d6b||_0x3556ba;},_0x3390ff['fxijV']=function(_0x164802,_0x27320d){return _0x164802===_0x27320d;},_0x3390ff['hTFhg']=_0x1f92b6(0xfb),_0x3390ff[_0x1f92b6(0x109)]=function(_0x26bcda,_0x581040){return _0x26bcda===_0x581040;},_0x3390ff[_0x1f92b6(0xbe)]=function(_0x18616a,_0xe621f2){return _0x18616a in _0xe621f2;};const _0x5edfc8=_0x3390ff,_0x31fffe={};for(const [_0x3c1c06,_0x36c793]of Object['entries'](_0x5edfc8['eCQge'](_0x1bf2c7,{}))){if(_0x5edfc8[_0x1f92b6(0xa9)](_0x3c1c06,_0x5edfc8[_0x1f92b6(0xae)]))continue;let _0x3bdd58=![];for(const [_0x1f3be2,_0x240513]of Object[_0x1f92b6(0x10e)](W3CMapping)){if(_0x5edfc8[_0x1f92b6(0x109)](_0x3c1c06,_0x240513)){_0x31fffe[_0x1f3be2]=_0x36c793,_0x3bdd58=!![];break;}}!_0x3bdd58&&(_0x31fffe[_0x3c1c06]=_0x36c793);}const _0x399ea5=_0x1bf2c7[_0x5edfc8[_0x1f92b6(0xae)]]||{};for(const [_0x50ea2c,_0x1cd803]of Object[_0x1f92b6(0x10e)](_0x399ea5)){let _0xf6bd04=![];for(const [_0x525b13,_0x278c1f]of Object[_0x1f92b6(0x10e)](W3CMapping)){if(_0x5edfc8[_0x1f92b6(0xa9)](_0x50ea2c,_0x278c1f)){_0x31fffe[_0x525b13]=_0x1cd803,_0xf6bd04=!![];break;}}!_0xf6bd04&&!_0x5edfc8[_0x1f92b6(0xbe)](_0x50ea2c,_0x31fffe)&&(_0x31fffe[_0x50ea2c]=_0x1cd803);}return logger['debug']('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0x1f92b6(0xcb)](_0x31fffe)),_0x31fffe;},getModifiedConfigFromCLI=async _0x14339d=>{const _0x526557=a119_0x43b143,_0xcd8071={};_0xcd8071[_0x526557(0xa7)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0xcd8071[_0x526557(0x105)]='cucumberjs-pw',_0xcd8071[_0x526557(0xfa)]=_0x526557(0x100),_0xcd8071[_0x526557(0x10c)]='No\x20modified\x20config\x20received\x20from\x20gRPC',_0xcd8071[_0x526557(0xaa)]=function(_0x206fa9,_0x26eb9b){return _0x206fa9>_0x26eb9b;},_0xcd8071[_0x526557(0x111)]=function(_0x205a14,_0x561f62){return _0x205a14>_0x561f62;},_0xcd8071[_0x526557(0xbd)]=_0x526557(0xe3);const _0x41d303=_0xcd8071;try{if(!GrpcClient)return logger[_0x526557(0xe7)](_0x41d303[_0x526557(0xa7)]),null;const _0x1cb83e={};_0x1cb83e['capabilities']=_0x14339d,_0x1cb83e[_0x526557(0xa8)]=_0x41d303[_0x526557(0x105)],_0x1cb83e[_0x526557(0x112)]=0x1,_0x1cb83e[_0x526557(0x104)]=[];const _0x3e4bb4=_0x1cb83e;logger[_0x526557(0xe7)](_0x41d303[_0x526557(0xfa)]);const _0x58a337={};_0x58a337[_0x526557(0xf2)]=_0x3e4bb4;const _0xd3b0c6=await GrpcClient['getInstance']()[_0x526557(0x10a)](_0x58a337);if(!_0xd3b0c6[_0x526557(0xdf)]())return logger[_0x526557(0xe7)](_0x41d303[_0x526557(0x10c)]),null;const _0x5e9498=JSON[_0x526557(0xf7)](_0xd3b0c6['getConfig']());logger['debug']('Received\x20modified\x20config\x20from\x20gRPC:\x20'+JSON[_0x526557(0xcb)](_0x5e9498));if(_0x5e9498['capabilities']&&Array['isArray'](_0x5e9498[_0x526557(0x113)])&&_0x41d303[_0x526557(0xaa)](_0x5e9498[_0x526557(0x113)][_0x526557(0xf5)],0x0))return _0x5e9498[_0x526557(0x113)][0x0];else{if(_0x5e9498[_0x526557(0x104)]&&Array[_0x526557(0x108)](_0x5e9498[_0x526557(0x104)])&&_0x41d303['ClYop'](_0x5e9498[_0x526557(0x104)][_0x526557(0xf5)],0x0)){const _0x3225cd=_0x5e9498[_0x526557(0x104)][0x0];if(_0x3225cd['use']&&_0x3225cd[_0x526557(0xda)]['platformCaps'])return _0x3225cd[_0x526557(0xda)]['platformCaps'];}}return logger[_0x526557(0xe7)](_0x41d303[_0x526557(0xbd)]),null;}catch(_0x1a80d6){logger[_0x526557(0xbf)]('Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20'+_0x1a80d6[_0x526557(0xc2)]);throw _0x1a80d6;}},generatePlaywrightUrl=(_0x13bf17,_0x3f2c47)=>{const _0x3122ed=a119_0x43b143,_0x24545a={'rbeWY':function(_0x4b7976,_0x28cb9f){return _0x4b7976!==_0x28cb9f;},'Ryuns':function(_0x2e2dcb,_0x5c973a){return _0x2e2dcb!==_0x5c973a;},'KkZYG':function(_0x8c387f,_0x13f793){return _0x8c387f!==_0x13f793;},'jUrTt':function(_0xa140c8,_0x52f384){return _0xa140c8(_0x52f384);},'kWFGF':function(_0x5b70ee,_0x1289f3){return _0x5b70ee||_0x1289f3;},'MrtyN':function(_0x31bb00,_0x181f81){return _0x31bb00(_0x181f81);},'GlyZG':_0x3122ed(0xdc),'XmPCO':function(_0x40e34c,_0x1fed73){return _0x40e34c(_0x1fed73);},'sjLxG':_0x3122ed(0x110),'CPJBC':'browserstack.accessibilityOptions.scannerVersion','kwGol':function(_0x29ed87,_0xddccf6){return _0x29ed87(_0xddccf6);},'zpPGH':_0x3122ed(0xe9),'dVexN':_0x3122ed(0xf1),'SPvrP':'browserstack.buildProductMap','qaHcG':function(_0x41db95,_0x33909c){return _0x41db95+_0x33909c;}},_0x435f0b=helper['getPlaywrightUrl'](_0x13bf17),_0x2fdfa4=_0x24545a[_0x3122ed(0xeb)](convertW3CToJsonWire,_0x3f2c47);try{const _0x543e77=[_0x24545a['kWFGF'](_0x3f2c47,{}),global[_0x3122ed(0x102)]||{},global[_0x3122ed(0xd0)]||{},global[_0x3122ed(0xfd)]||{}],_0x2dc779=_0x471245=>{const _0x42851e=_0x3122ed;if(_0x24545a['rbeWY'](_0x2fdfa4[_0x471245],undefined)&&_0x24545a[_0x42851e(0xd9)](_0x2fdfa4[_0x471245],null)&&_0x24545a[_0x42851e(0xc7)](_0x2fdfa4[_0x471245],''))return;for(const _0x2f5863 of _0x543e77){if(_0x2f5863&&_0x24545a['KkZYG'](_0x2f5863[_0x471245],undefined)&&_0x24545a[_0x42851e(0x101)](_0x2f5863[_0x471245],null)&&_0x24545a[_0x42851e(0xc7)](_0x2f5863[_0x471245],'')){_0x2fdfa4[_0x471245]=_0x2f5863[_0x471245];return;}}};_0x24545a['MrtyN'](_0x2dc779,_0x24545a[_0x3122ed(0x103)]),_0x24545a['XmPCO'](_0x2dc779,_0x24545a['sjLxG']),_0x24545a[_0x3122ed(0xe4)](_0x2dc779,_0x24545a[_0x3122ed(0x10b)]),_0x24545a['kwGol'](_0x2dc779,_0x24545a[_0x3122ed(0xf4)]),!_0x2fdfa4[_0x24545a[_0x3122ed(0x103)]]&&process['env'][_0x3122ed(0x107)]&&(_0x2fdfa4[_0x24545a['GlyZG']]=process[_0x3122ed(0xc4)]['BS_A11Y_JWT']);}catch(_0x36cfd6){logger[_0x3122ed(0xe7)](_0x3122ed(0xe1)+util[_0x3122ed(0xc1)](_0x36cfd6));}return _0x2fdfa4[_0x24545a['dVexN']]=process[_0x3122ed(0xc4)][_0x3122ed(0xb8)],_0x2fdfa4[_0x24545a['SPvrP']]=helper['getBuildProductMap'](),_0x24545a[_0x3122ed(0xe0)](_0x435f0b,_0x24545a['XmPCO'](encodeURIComponent,JSON['stringify'](_0x2fdfa4)));},getBrowserFromCaps=_0x258517=>{const _0x2040a7=a119_0x43b143,_0x65e84={};_0x65e84[_0x2040a7(0xd4)]=_0x2040a7(0xec);const _0xd77237=_0x65e84;return _0x258517['browserName']||_0x258517[_0x2040a7(0xdb)]||_0xd77237['OAKDs'];},isPlaywrightAvailable=()=>{const _0x144716=a119_0x43b143,_0x172218={'brfiD':_0x144716(0xf8),'HuPhG':'client','aFROU':_0x144716(0xed),'HgcLB':function(_0x5a03ed,_0x525e94){return _0x5a03ed(_0x525e94);}};try{const _0x524f0d=path[_0x144716(0xbb)](_0x172218[_0x144716(0xa4)],_0x172218[_0x144716(0xb6)],_0x172218[_0x144716(0xbc)]),_0x24529e=_0x172218['HgcLB'](importFileFromPWCore,_0x524f0d);return!!_0x24529e;}catch(_0x5a9ce9){return logger['debug'](_0x144716(0xd8)+util[_0x144716(0xc1)](_0x5a9ce9)),![];}},getPlaywrightBrowserType=()=>{const _0x54e800=a119_0x43b143,_0x5ce4fc={'YOZOz':_0x54e800(0xf8),'ihIzT':_0x54e800(0xc6),'fZfkQ':'browserType.js','qwHWB':function(_0x2a14cc,_0x3c1663){return _0x2a14cc(_0x3c1663);}};try{const _0x37715f=path[_0x54e800(0xbb)](_0x5ce4fc[_0x54e800(0xe8)],_0x5ce4fc[_0x54e800(0xd7)],_0x5ce4fc[_0x54e800(0xcc)]),_0x559803=_0x5ce4fc[_0x54e800(0xb0)](importFileFromPWCore,_0x37715f);return _0x559803?_0x559803[_0x54e800(0xc0)]:null;}catch(_0x3d768a){return logger['debug'](_0x54e800(0xc5)+util[_0x54e800(0xc1)](_0x3d768a)),null;}},getPlaywrightModulePath=()=>{const _0x106f25=a119_0x43b143,_0x38d1aa={};_0x38d1aa[_0x106f25(0xea)]='getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0x365a02=_0x38d1aa;return logger['debug'](_0x365a02[_0x106f25(0xea)]),null;},getBrowserTypePath=()=>{const _0x4a698e=a119_0x43b143,_0x2fab32={};_0x2fab32[_0x4a698e(0xc8)]=_0x4a698e(0xb3);const _0x491e92=_0x2fab32;return logger['debug'](_0x491e92[_0x4a698e(0xc8)]),null;},checkPwandBootstrapCli=async(_0x1d1020,_0xc91e66,_0x5da3ee)=>{const _0xc17e40=a119_0x43b143,_0x48baae={'zjLkn':function(_0x161f2c,_0x10cb19){return _0x161f2c(_0x10cb19);},'IOaQt':_0xc17e40(0xb9)};if(_0x1d1020){const _0x19e2e0=constants[_0xc17e40(0xb2)]['PLAYWRIGHT'];logger[_0xc17e40(0xe7)](_0xc17e40(0xdd)+_0x1d1020+_0xc17e40(0xab)+_0xc91e66+_0xc17e40(0xaf)),CLIUtils['setFrameworkDetail'](_0xc91e66,_0x19e2e0);const {getProductMap:_0xdc5eb9}=_0x48baae[_0xc17e40(0xb4)](require,_0x48baae[_0xc17e40(0xb7)]);process['env'][_0xc17e40(0xf9)]=JSON[_0xc17e40(0xcb)](_0x48baae[_0xc17e40(0xb4)](_0xdc5eb9,_0x5da3ee['config'])),BrowserstackCLI['getInstance']()[_0xc17e40(0xb1)](_0x5da3ee[_0xc17e40(0xe2)],_0x5da3ee[_0xc17e40(0xd6)]),await BrowserstackCLI[_0xc17e40(0xba)]()[_0xc17e40(0xff)]();}},a119_0xc067f7={};a119_0xc067f7['convertW3CToJsonWire']=convertW3CToJsonWire,a119_0xc067f7['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a119_0xc067f7[a119_0x43b143(0xce)]=generatePlaywrightUrl,a119_0xc067f7[a119_0x43b143(0x106)]=getBrowserFromCaps,a119_0xc067f7[a119_0x43b143(0xf3)]=isPlaywrightAvailable,a119_0xc067f7[a119_0x43b143(0x10d)]=getPlaywrightBrowserType,a119_0xc067f7['getPlaywrightModulePath']=getPlaywrightModulePath,a119_0xc067f7[a119_0x43b143(0xd2)]=getBrowserTypePath,a119_0xc067f7[a119_0x43b143(0xcd)]=importFileFromPWCore,a119_0xc067f7[a119_0x43b143(0xf0)]=checkPwandBootstrapCli,module[a119_0x43b143(0xd3)]=a119_0xc067f7;
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 +1 @@
1
- const a120_0x1f4cb3=a120_0x424c;function a120_0x424c(_0x5b8e89,_0x285a18){const _0x5b0529=a120_0x5b05();return a120_0x424c=function(_0x424c88,_0x268a5a){_0x424c88=_0x424c88-0xb2;let _0x3fcd32=_0x5b0529[_0x424c88];return _0x3fcd32;},a120_0x424c(_0x5b8e89,_0x285a18);}function a120_0x5b05(){const _0x2983b6=['1939456fHItSt','KjbAo','BROWSERSTACK_OBSERVABILITY_DEBUG','getGlobal','debug','../bin/utils/constants','GIfnM','./logger','CikDF','6itlJpU','BROWSERSTACK_TEST_REPORTING_DEBUG','2kuadCC','255363aVcRqH','ZcppP','11bPEMmL','sleep','env','8221752GvkQWr','getTestName','40qsGGvo','worker_threads','47381AxMyQf','true','toISOString','fXtKt','3594495DnOIhO','3156769HGKWDs','\x20]\x20','28369480UQJNug','pid','./test-observability/constants','threadId','log','][\x20'];a120_0x5b05=function(){return _0x2983b6;};return a120_0x5b05();}(function(_0x2d0a96,_0x452217){const _0x29f56a=a120_0x424c,_0x3c53f8=_0x2d0a96();while(!![]){try{const _0x460424=parseInt(_0x29f56a(0xb3))/0x1*(parseInt(_0x29f56a(0xcb))/0x2)+parseInt(_0x29f56a(0xcc))/0x3*(-parseInt(_0x29f56a(0xd3))/0x4)+-parseInt(_0x29f56a(0xb7))/0x5+-parseInt(_0x29f56a(0xc9))/0x6*(-parseInt(_0x29f56a(0xb8))/0x7)+-parseInt(_0x29f56a(0xc0))/0x8+-parseInt(_0x29f56a(0xd1))/0x9+parseInt(_0x29f56a(0xba))/0xa*(parseInt(_0x29f56a(0xce))/0xb);if(_0x460424===_0x452217)break;else _0x3c53f8['push'](_0x3c53f8['shift']());}catch(_0x3cde90){_0x3c53f8['push'](_0x3c53f8['shift']());}}}(a120_0x5b05,0x94bcb));const worker=require(a120_0x1f4cb3(0xb2)),{fileLogger}=require(a120_0x1f4cb3(0xc7)),{consoleHolder}=require(a120_0x1f4cb3(0xbc)),globals=require('./globals'),constants=require(a120_0x1f4cb3(0xc5));exports['getProcessId']=()=>{const _0x2dba43=a120_0x1f4cb3;return process[_0x2dba43(0xbb)]+'-'+worker[_0x2dba43(0xbd)];},exports[a120_0x1f4cb3(0xd2)]=()=>{const _0x83f9ae=a120_0x1f4cb3,_0x217c7f={};_0x217c7f[_0x83f9ae(0xc6)]='browserstackTestName';const _0x561057=_0x217c7f;return globals[_0x83f9ae(0xc3)](_0x561057['GIfnM']);},exports[a120_0x1f4cb3(0xcf)]=(_0x31da6e=0x64)=>new Promise(_0x78ad20=>setTimeout(_0x78ad20,_0x31da6e)),exports['debug']=_0x256c5d=>{const _0x13a7cf=a120_0x1f4cb3,_0x570198={};_0x570198[_0x13a7cf(0xc8)]=function(_0x1fd021,_0xfcb3a6){return _0x1fd021===_0xfcb3a6;},_0x570198[_0x13a7cf(0xb6)]=_0x13a7cf(0xb4),_0x570198[_0x13a7cf(0xcd)]=function(_0x5aa4c5,_0xf1060c){return _0x5aa4c5===_0xf1060c;},_0x570198['KjbAo']=function(_0x418a04,_0x5beb0f){return _0x418a04===_0x5beb0f;};const _0x21d2b2=_0x570198;fileLogger[_0x13a7cf(0xc4)]('['+new Date()[_0x13a7cf(0xb5)]()+_0x13a7cf(0xbf)+constants['TEST_REPORTING_ANALYTICS']+_0x13a7cf(0xb9)+_0x256c5d),(_0x21d2b2['CikDF'](process[_0x13a7cf(0xd0)][_0x13a7cf(0xca)],_0x21d2b2['fXtKt'])||_0x21d2b2[_0x13a7cf(0xcd)](process['env'][_0x13a7cf(0xca)],'1')||_0x21d2b2[_0x13a7cf(0xc1)](process[_0x13a7cf(0xd0)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x21d2b2[_0x13a7cf(0xb6)])||_0x21d2b2[_0x13a7cf(0xcd)](process[_0x13a7cf(0xd0)][_0x13a7cf(0xc2)],'1'))&&consoleHolder[_0x13a7cf(0xbe)]('\x0a['+new Date()['toISOString']()+_0x13a7cf(0xbf)+constants['TEST_REPORTING_ANALYTICS']+_0x13a7cf(0xb9)+_0x256c5d+'\x0a');};
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 +1 @@
1
- const a121_0x3b7434=a121_0x403f;(function(_0x578471,_0x4e7937){const _0x9e2eb1=a121_0x403f,_0x4ab031=_0x578471();while(!![]){try{const _0x2b01c5=parseInt(_0x9e2eb1(0xbd))/0x1+-parseInt(_0x9e2eb1(0xdb))/0x2*(-parseInt(_0x9e2eb1(0xd4))/0x3)+-parseInt(_0x9e2eb1(0xb4))/0x4*(parseInt(_0x9e2eb1(0xc0))/0x5)+parseInt(_0x9e2eb1(0xb0))/0x6*(-parseInt(_0x9e2eb1(0xcd))/0x7)+parseInt(_0x9e2eb1(0xd9))/0x8+parseInt(_0x9e2eb1(0xde))/0x9+-parseInt(_0x9e2eb1(0xbf))/0xa*(parseInt(_0x9e2eb1(0xda))/0xb);if(_0x2b01c5===_0x4e7937)break;else _0x4ab031['push'](_0x4ab031['shift']());}catch(_0x1d6d19){_0x4ab031['push'](_0x4ab031['shift']());}}}(a121_0x19d3,0x9d258));const http=require(a121_0x3b7434(0xae)),https=require(a121_0x3b7434(0xcf)),monkeypatch=require(a121_0x3b7434(0xb6));function a121_0x403f(_0x2220b8,_0x5bc6bc){const _0x19d334=a121_0x19d3();return a121_0x403f=function(_0x403f88,_0x259861){_0x403f88=_0x403f88-0xa9;let _0x291a64=_0x19d334[_0x403f88];return _0x291a64;},a121_0x403f(_0x2220b8,_0x5bc6bc);}function spy(_0x460c22){const _0x4aa231=a121_0x3b7434,_0x320d8e={'byKFk':function(_0x107d40,_0x234486){return _0x107d40-_0x234486;},'pIBez':function(_0x5e0c02,_0x477f9a,_0xe76840){return _0x5e0c02(_0x477f9a,_0xe76840);},'hcsTb':_0x4aa231(0xaa),'TdODO':function(_0x24cda,..._0x380b2d){return _0x24cda(..._0x380b2d);},'KkeIx':function(_0x49bf3f,_0x1c0742){return _0x49bf3f instanceof _0x1c0742;},'zbsur':function(_0x5e9af7,_0x7bfab9){return _0x5e9af7===_0x7bfab9;},'CMoEq':_0x4aa231(0xc3),'ZHuWA':function(_0x3f6bb9,_0x1c7a48,_0x11c4c6){return _0x3f6bb9(_0x1c7a48,_0x11c4c6);},'grsXZ':_0x4aa231(0xc7),'TAIMW':_0x4aa231(0xc6),'CmwXK':function(_0x57f883,_0x52ba95,_0x555582,_0x5a5a8b){return _0x57f883(_0x52ba95,_0x555582,_0x5a5a8b);},'yxOip':_0x4aa231(0xd3),'FTrXU':function(_0x4065c9,_0x363dd9,_0x2c5ede,_0x88788f){return _0x4065c9(_0x363dd9,_0x2c5ede,_0x88788f);},'UjzyI':_0x4aa231(0xb8),'oOkTL':function(_0x45e01f,_0xfabaac,_0x146554,_0x4f0408){return _0x45e01f(_0xfabaac,_0x146554,_0x4f0408);}},_0x153ef2=function(){const _0x3bd403=_0x4aa231,_0x1ffb9c={'UISBD':function(_0x5baf37,_0x127d5d){const _0x5c2160=a121_0x403f;return _0x320d8e[_0x5c2160(0xbb)](_0x5baf37,_0x127d5d);},'rJTQG':function(_0x4a5712,_0xc2ad34){const _0x1e1405=a121_0x403f;return _0x320d8e[_0x1e1405(0xb9)](_0x4a5712,_0xc2ad34);},'DCOok':_0x320d8e[_0x3bd403(0xad)],'XuZtC':function(_0x2761f9,_0x1110db,_0x5c77e5){const _0x57eae6=_0x3bd403;return _0x320d8e[_0x57eae6(0xc9)](_0x2761f9,_0x1110db,_0x5c77e5);},'eljCU':_0x320d8e['hcsTb']},_0x822c49=arguments[0x0],_0x4fa467=Array[_0x3bd403(0xba)][_0x3bd403(0xb7)]['call'](arguments,0x1),_0x3f7033=_0x822c49[_0x3bd403(0xab)](this,_0x4fa467);let _0x21cb9e=Date[_0x3bd403(0xd7)](),_0x211f96;const _0x115d95={};_0x4fa467[_0x3bd403(0xc2)](_0x1c3293=>{const _0x531005=_0x3bd403;if(_0x1ffb9c[_0x531005(0xb1)](_0x1c3293,URL)){const _0x2e1842={};_0x2e1842[_0x531005(0xaf)]=_0x1c3293,Object[_0x531005(0xc5)](_0x115d95,_0x2e1842);}else _0x1ffb9c[_0x531005(0xd6)](typeof _0x1c3293,_0x1ffb9c[_0x531005(0xca)])&&Object[_0x531005(0xc5)](_0x115d95,_0x1c3293);});const _0x359284=_0x276cd9=>{const _0x535989=_0x3bd403,_0x4a9c18={};_0x4a9c18['host']=_0x115d95['host']||_0x115d95[_0x535989(0xc4)]||_0x115d95[_0x535989(0xaf)]&&(_0x115d95[_0x535989(0xaf)][_0x535989(0xcb)]||_0x115d95['url'][_0x535989(0xc4)]),_0x4a9c18['path']=_0x115d95[_0x535989(0xb2)]||_0x115d95[_0x535989(0xaf)]&&_0x115d95[_0x535989(0xaf)]['pathname'],_0x4a9c18['method']=_0x115d95['method'],_0x4a9c18[_0x535989(0xa9)]=_0x115d95[_0x535989(0xa9)],_0x1ffb9c[_0x535989(0xac)](_0x460c22,_0x276cd9,_0x4a9c18);};return _0x3f7033['once'](_0x320d8e[_0x3bd403(0xbc)],_0xf88278=>{const _0x4d39b3=_0x3bd403,_0x1e57eb=_0x320d8e[_0x4d39b3(0xb3)](Date[_0x4d39b3(0xd7)](),_0x21cb9e),_0x1cafc0={};_0x1cafc0[_0x4d39b3(0xc4)]=_0x115d95[_0x4d39b3(0xcb)]||_0x115d95[_0x4d39b3(0xc4)]||_0x115d95[_0x4d39b3(0xaf)]&&(_0x115d95['url'][_0x4d39b3(0xcb)]||_0x115d95[_0x4d39b3(0xaf)][_0x4d39b3(0xc4)]),_0x1cafc0['path']=_0x115d95[_0x4d39b3(0xb2)]||_0x115d95['url']&&_0x115d95['url'][_0x4d39b3(0xd1)],_0x1cafc0[_0x4d39b3(0xd2)]=_0x115d95[_0x4d39b3(0xd2)],_0x1cafc0[_0x4d39b3(0xa9)]=_0x115d95[_0x4d39b3(0xa9)],_0x1cafc0[_0x4d39b3(0xbe)]=_0xf88278['statusCode'],_0x1cafc0['duration_ms']=_0x1e57eb,_0x320d8e['pIBez'](_0x460c22,null,_0x1cafc0),_0x211f96[_0x4d39b3(0xc1)](_0x320d8e[_0x4d39b3(0xcc)],_0x359284);}),_0x3f7033['on'](_0x320d8e[_0x3bd403(0xd5)],_0xb8ae49=>{const _0x288394=_0x3bd403;_0x211f96=_0xb8ae49,_0xb8ae49['once'](_0x1ffb9c[_0x288394(0xd8)],_0x359284);}),_0x320d8e[_0x3bd403(0xdd)](monkeypatch,_0x3f7033,_0x320d8e[_0x3bd403(0xd0)],(_0x687bd4,..._0x59d70f)=>{const _0x3baefe=_0x3bd403;_0x21cb9e=Date[_0x3baefe(0xd7)](),_0x320d8e[_0x3baefe(0xce)](_0x687bd4,..._0x59d70f);}),_0x3f7033;};_0x320d8e[_0x4aa231(0xdc)](monkeypatch,http,_0x320d8e[_0x4aa231(0xc8)],_0x153ef2),_0x320d8e['oOkTL'](monkeypatch,https,_0x320d8e[_0x4aa231(0xc8)],_0x153ef2);}function restore(){const _0x4e73f3=a121_0x3b7434;http[_0x4e73f3(0xb8)][_0x4e73f3(0xb5)](),https[_0x4e73f3(0xb8)][_0x4e73f3(0xb5)]();}const a121_0x2b9592={};a121_0x2b9592['spy']=spy,a121_0x2b9592['restore']=restore,module['exports']=a121_0x2b9592;function a121_0x19d3(){const _0x1ec237=['unpatch','monkeypatch','slice','request','zbsur','prototype','KkeIx','grsXZ','772659nqgNfc','status_code','40xahsHp','5NQStCy','removeListener','forEach','object','hostname','assign','socket','response','UjzyI','ZHuWA','DCOok','host','hcsTb','5910226WURoue','TdODO','https','yxOip','pathname','method','end','3NjGJkZ','TAIMW','rJTQG','now','eljCU','6648088wtgyET','3791084pKESrC','2056596dqUedt','FTrXU','CmwXK','8631315CsOxXK','headers','error','apply','XuZtC','CMoEq','http','url','6CUkFYN','UISBD','path','byKFk','2897748nGaktG'];a121_0x19d3=function(){return _0x1ec237;};return a121_0x19d3();}
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 +1 @@
1
- function a122_0x3989(_0x36b0a7,_0x154a88){const _0x197225=a122_0x1972();return a122_0x3989=function(_0x39898c,_0x540e14){_0x39898c=_0x39898c-0x172;let _0x58496a=_0x197225[_0x39898c];return _0x58496a;},a122_0x3989(_0x36b0a7,_0x154a88);}function a122_0x1972(){const _0x142c86=['request','204RpPzSU','prototype','11288637xSTlCV','KEEP_ALIVE','521590OsJuev','ifYxq','FlYmN','https','keepAliveMsecs','Vlano','./performance/performance-tester','wEmTg','5370856HaHiYg','900248LfamKK','TcTOx','agent','oqeiU','SeyNL','2526105LVNEIM','EbmaP','429URZbmf','protocol','8nggbKb','globalAgent','XjQal','exports','hasOwnProperty','call','2pZbLra','OxOvq','Agent','keepAlive','./performance/constants','100688dlToUu','5290023OjmtGL'];a122_0x1972=function(){return _0x142c86;};return a122_0x1972();}const a122_0x1ad61c=a122_0x3989;(function(_0x2498fb,_0x2d6184){const _0x8d8318=a122_0x3989,_0x5094c7=_0x2498fb();while(!![]){try{const _0x4d78a8=-parseInt(_0x8d8318(0x175))/0x1+-parseInt(_0x8d8318(0x184))/0x2*(parseInt(_0x8d8318(0x18a))/0x3)+parseInt(_0x8d8318(0x174))/0x4+-parseInt(_0x8d8318(0x17a))/0x5+-parseInt(_0x8d8318(0x18c))/0x6*(parseInt(_0x8d8318(0x189))/0x7)+parseInt(_0x8d8318(0x17e))/0x8*(parseInt(_0x8d8318(0x18e))/0x9)+parseInt(_0x8d8318(0x190))/0xa*(parseInt(_0x8d8318(0x17c))/0xb);if(_0x4d78a8===_0x2d6184)break;else _0x5094c7['push'](_0x5094c7['shift']());}catch(_0x134994){_0x5094c7['push'](_0x5094c7['shift']());}}}(a122_0x1972,0xeda1e));const PerformanceTester=require(a122_0x1ad61c(0x172)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a122_0x1ad61c(0x188));module[a122_0x1ad61c(0x181)]=PerformanceTester['measureWrapper'](PerformanceEvents[a122_0x1ad61c(0x18f)],function(){const _0x6860b3=a122_0x1ad61c,_0x2c03e5={'XjQal':function(_0x475dff,_0x7dff01){return _0x475dff===_0x7dff01;},'zjRzW':'https:','FlYmN':_0x6860b3(0x177),'ifYxq':function(_0xcdafa1,_0x92edab,_0x44b46f){return _0xcdafa1(_0x92edab,_0x44b46f);},'Vlano':function(_0x32964e,_0x4c0f00,_0x191983){return _0x32964e(_0x4c0f00,_0x191983);},'wEmTg':function(_0x258e29,_0x2382c9){return _0x258e29(_0x2382c9);},'TcTOx':'http','SeyNL':function(_0xe30335,_0x438f72){return _0xe30335(_0x438f72);},'EbmaP':_0x6860b3(0x193),'oqeiU':function(_0x5e57c7,_0x2c66fd){return _0x5e57c7*_0x2c66fd;},'OxOvq':_0x6860b3(0x187)},_0x298888=_0x2c03e5[_0x6860b3(0x173)](require,_0x2c03e5[_0x6860b3(0x176)]),_0x3082b2=_0x2c03e5[_0x6860b3(0x179)](require,_0x2c03e5[_0x6860b3(0x17b)]),_0x43584f=_0x2c03e5[_0x6860b3(0x178)](0x1e,0x3e8);if(_0x298888[_0x6860b3(0x17f)]&&Object[_0x6860b3(0x18d)][_0x6860b3(0x182)][_0x6860b3(0x183)](_0x298888[_0x6860b3(0x17f)],_0x2c03e5[_0x6860b3(0x185)]))_0x298888[_0x6860b3(0x17f)][_0x6860b3(0x187)]=!![],_0x3082b2[_0x6860b3(0x17f)][_0x6860b3(0x187)]=!![],_0x298888[_0x6860b3(0x17f)][_0x6860b3(0x194)]=_0x43584f,_0x3082b2[_0x6860b3(0x17f)]['keepAliveMsecs']=_0x43584f;else{const _0x48d8da={};_0x48d8da[_0x6860b3(0x187)]=!![],_0x48d8da[_0x6860b3(0x194)]=_0x43584f;const _0x5d03a9=new _0x298888[(_0x6860b3(0x186))](_0x48d8da),_0x4d9aac={};_0x4d9aac[_0x6860b3(0x187)]=!![],_0x4d9aac[_0x6860b3(0x194)]=_0x43584f;const _0x3714c1=new _0x3082b2[(_0x6860b3(0x186))](_0x4d9aac),_0x443385=_0x298888[_0x6860b3(0x18b)],_0x373c0d=_0x3082b2[_0x6860b3(0x18b)];_0x298888[_0x6860b3(0x18b)]=function(_0x55d913,_0x2a8d0e){const _0x372be7=_0x6860b3;if(_0x2c03e5[_0x372be7(0x180)](_0x55d913[_0x372be7(0x17d)],_0x2c03e5['zjRzW']))return _0x55d913[_0x2c03e5['FlYmN']]=_0x3714c1,_0x2c03e5[_0x372be7(0x191)](_0x373c0d,_0x55d913,_0x2a8d0e);return _0x55d913[_0x2c03e5[_0x372be7(0x192)]]=_0x5d03a9,_0x2c03e5[_0x372be7(0x195)](_0x443385,_0x55d913,_0x2a8d0e);};}});
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 +1 @@
1
- function a123_0x223f(_0x5d0811,_0x5bc9c3){const _0x1c5e82=a123_0x1c5e();return a123_0x223f=function(_0x223f8e,_0x165784){_0x223f8e=_0x223f8e-0x1a7;let _0x3edf9b=_0x1c5e82[_0x223f8e];return _0x3edf9b;},a123_0x223f(_0x5d0811,_0x5bc9c3);}const a123_0x2f5184=a123_0x223f;function a123_0x1c5e(){const _0x32cb2d=['https://upload-observability-preprod.bsstag.com','path','65322OhJjES','codeceptjs','../logger','755IrCoUn','toLowerCase','preprod','Playwright','520twjsAg','api/v1/event','assign','8832sQACsY','upload-attachments','28216mIhkTG','9756IcJXGH','pre-prod','CODECEPT','env','https://collector-observability.browserstack.com','8435889mDyHWR','codeceptjs-cucumber','2611VxjWqw','exports','10VvdAyV','47554CwFWRP','414idiSfy','https://collector-observability-devtestops.bsstag.com','API_URL','6209gLnCUd','OBSERVABILITY_UPLOAD_API_URL','CUCUMBER','CODECEPT_CUCUMBER','prod','api/v1/batch','https://upload-observability.browserstack.com','mocha','api/v1/screenshots','stag','9062537DQvbOw'];a123_0x1c5e=function(){return _0x32cb2d;};return a123_0x1c5e();}(function(_0x5af123,_0x4a6601){const _0x35deb9=a123_0x223f,_0x40f425=_0x5af123();while(!![]){try{const _0x151e3b=-parseInt(_0x35deb9(0x1c1))/0x1*(parseInt(_0x35deb9(0x1ad))/0x2)+-parseInt(_0x35deb9(0x1be))/0x3*(parseInt(_0x35deb9(0x1b0))/0x4)+parseInt(_0x35deb9(0x1a9))/0x5*(-parseInt(_0x35deb9(0x1ce))/0x6)+parseInt(_0x35deb9(0x1ba))/0x7*(parseInt(_0x35deb9(0x1b2))/0x8)+parseInt(_0x35deb9(0x1b8))/0x9+parseInt(_0x35deb9(0x1bc))/0xa*(-parseInt(_0x35deb9(0x1cb))/0xb)+-parseInt(_0x35deb9(0x1b3))/0xc*(-parseInt(_0x35deb9(0x1bd))/0xd);if(_0x151e3b===_0x4a6601)break;else _0x40f425['push'](_0x40f425['shift']());}catch(_0x4e414c){_0x40f425['push'](_0x40f425['shift']());}}}(a123_0x1c5e,0xcd13e));const path=require(a123_0x2f5184(0x1cd)),{logDir}=require(a123_0x2f5184(0x1a8)),a123_0x55b628={};a123_0x55b628['PLAYWRIGHT']=a123_0x2f5184(0x1ac),a123_0x55b628['MOCHA']=a123_0x2f5184(0x1c8),a123_0x55b628[a123_0x2f5184(0x1b5)]=a123_0x2f5184(0x1a7),a123_0x55b628[a123_0x2f5184(0x1c4)]=a123_0x2f5184(0x1b9),a123_0x55b628['JEST']='jest',a123_0x55b628[a123_0x2f5184(0x1c3)]='cucumber',module[a123_0x2f5184(0x1bb)]={'consoleHolder':Object[a123_0x2f5184(0x1af)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a123_0x2f5184(0x1b7),'OBSERVABILITY_UPLOAD_API_URL':a123_0x2f5184(0x1c7),'EVENT_ENDPOINT':a123_0x2f5184(0x1ae),'BATCH_ENDPOINT':a123_0x2f5184(0x1c6),'SCREENSHOT_ENDPOINT':a123_0x2f5184(0x1c9),'UPLOAD_ATTACHMENT_ENDPOINT':a123_0x2f5184(0x1b1),'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['join'](logDir,'.obs_test_details'),'FRAMEWORKS':a123_0x55b628};const _env=(process[a123_0x2f5184(0x1b6)]['BROWSERSTACK_ENV']||a123_0x2f5184(0x1c5))[a123_0x2f5184(0x1aa)]();if(_env==='staging'||_env===a123_0x2f5184(0x1ca))module['exports']['API_URL']=a123_0x2f5184(0x1bf),module[a123_0x2f5184(0x1bb)][a123_0x2f5184(0x1c2)]='https://upload-observability-devtestops-ssi.bsstag.com';else(_env===a123_0x2f5184(0x1ab)||_env===a123_0x2f5184(0x1b4))&&(module[a123_0x2f5184(0x1bb)][a123_0x2f5184(0x1c0)]='https://collector-observability-preprod.bsstag.com',module['exports'][a123_0x2f5184(0x1c2)]=a123_0x2f5184(0x1cc));
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 +1 @@
1
- const a124_0x2bfa86=a124_0x16ff;(function(_0x2789a2,_0x2a8c34){const _0x95d636=a124_0x16ff,_0x6e6bc8=_0x2789a2();while(!![]){try{const _0x1b5e4f=parseInt(_0x95d636(0x1fa))/0x1+-parseInt(_0x95d636(0x213))/0x2+parseInt(_0x95d636(0x21e))/0x3+-parseInt(_0x95d636(0x200))/0x4*(-parseInt(_0x95d636(0x206))/0x5)+parseInt(_0x95d636(0x1e7))/0x6*(parseInt(_0x95d636(0x22d))/0x7)+-parseInt(_0x95d636(0x202))/0x8+-parseInt(_0x95d636(0x1fe))/0x9;if(_0x1b5e4f===_0x2a8c34)break;else _0x6e6bc8['push'](_0x6e6bc8['shift']());}catch(_0x4bb654){_0x6e6bc8['push'](_0x6e6bc8['shift']());}}}(a124_0x2463,0x58cf2));function a124_0x2463(){const _0x2307d6=['Tfkzx','85hgIaza','USER_CONFIG_FOR_REPORTING','frameworkVersion','KNBem','getOwnPropertyNames','frameworkName','GqKhc','forEach','haOoy','getCredentials','./utils','includes','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','351254mcNpjt','password','VhxRR','setCredentials','Finished\x20::\x20',',\x20Argument\x20-\x20','util','GFixI','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','BS_TESTOPS_BUILD_HASHED_ID','env','1463532THfAlW','BGCZY','oLSWi','otuyT','[Crash_Report_Upload]\x20Success\x20response:\x20','parse','yHfco','length','prototype','FVnTQ','timerify','qeLJG','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','username','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','317478LWWvaY','format','inspect','initialize','getConfig','eByXc','keys','setAllDetails','AvNkQ','zZeZO','FgOMS','auth','viXLX','key','ybjPL','true','\x20--\x20','object','jApdM','BROWSERSTACK_O11Y_PERF_MEASUREMENT','qnVMn','userConfig','stack','function','pid','yMzDJ','toString','filterPII','catch','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','then','setConfigDetails','OzHFo','Started\x20::\x20',',\x20PID\x20-\x20','../helper','defineProperty','toLowerCase','tvWAh','headers','constructor','Error\x20in\x20executing\x20','accessKey','frameworkDetails','12fYMQxP','credentials','user','ZWzJw','../performance/performance-tester','/api/v1/analytics','tavfk','depth','.\x20Error\x20-\x20','call','getPerformance','apply','name','stringify','exports','rGmCW','VdXPb','CREDENTIALS_FOR_CRASH_REPORTING','o11yClassErrorHandler','623433eiMgsW','setFrameworkDetails','getFramework','hXNyq','9187092JoQAaE','MVjmW','95176mJaGgR','.\x20Args\x20-\x20','370448QZVNJO','uploadCrashReport','ZjHHW'];a124_0x2463=function(){return _0x2307d6;};return a124_0x2463();}const util=require(a124_0x2bfa86(0x219)),PerformanceTester=require(a124_0x2bfa86(0x1eb)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a124_0x2bfa86(0x210)),{getAgentVersion,nestedKeyValue}=require(a124_0x2bfa86(0x1de)),o11yErrorHandler=(_0x822bee,_0x3b8e45='',_0x347972=[''],_0x58c4ae=![])=>{const _0x1e22d1={'VhxRR':function(_0x4d0b09,_0x563810){return _0x4d0b09(_0x563810);},'yMzDJ':function(_0x35f08a,_0x53cb89,_0x38b2cb){return _0x35f08a(_0x53cb89,_0x38b2cb);},'eByXc':function(_0x1c346d,_0xc7f7e1){return _0x1c346d(_0xc7f7e1);},'gqloI':function(_0x237f68,_0xd2d90d){return _0x237f68 instanceof _0xd2d90d;},'zZeZO':function(_0x657fde,_0x57f761,_0x325121,_0x296e1d,_0xf26c03){return _0x657fde(_0x57f761,_0x325121,_0x296e1d,_0xf26c03);}};return function(..._0x209a51){const _0x32eddd=a124_0x16ff;try{let _0x25818c=_0x822bee;process[_0x32eddd(0x21d)][_0x32eddd(0x1ce)]&&(_0x25818c=PerformanceTester[_0x32eddd(0x1f1)]()[_0x32eddd(0x228)](_0x25818c));_0x58c4ae&&_0x1e22d1[_0x32eddd(0x215)](trace,_0x32eddd(0x1dc)+_0x3b8e45+',\x20PID\x20-\x20'+process[_0x32eddd(0x1d3)]+',\x20Argument\x20-\x20'+_0x1e22d1[_0x32eddd(0x1d4)](nestedKeyValue,arguments[0x0],_0x347972));const _0x2c9393=_0x25818c[_0x32eddd(0x1f2)](null,arguments);_0x58c4ae&&_0x1e22d1[_0x32eddd(0x232)](trace,_0x32eddd(0x217)+_0x3b8e45+_0x32eddd(0x1dd)+process[_0x32eddd(0x1d3)]+_0x32eddd(0x218)+_0x1e22d1[_0x32eddd(0x1d4)](nestedKeyValue,arguments[0x0],_0x347972));if(_0x1e22d1['gqloI'](_0x2c9393,Promise))return _0x2c9393[_0x32eddd(0x1d7)](_0x4066dc=>processError(_0x4066dc,_0x822bee,_0x209a51,_0x3b8e45));return _0x2c9393;}catch(_0x2878b1){_0x1e22d1[_0x32eddd(0x236)](processError,_0x2878b1,_0x822bee,_0x209a51,_0x3b8e45);}};},o11yClassErrorHandler=(_0x142afc,_0x52d71d,_0x3a2dc4='')=>{const _0xd43a87=a124_0x2bfa86,_0x5c72f5={'tavfk':function(_0x26135d,_0x14d12c){return _0x26135d instanceof _0x14d12c;},'FsHve':function(_0x4a471e,_0x5e1dfe,_0x3044c0,_0x187ed2,_0x121fa4){return _0x4a471e(_0x5e1dfe,_0x3044c0,_0x187ed2,_0x121fa4);},'rGmCW':function(_0x3daad4,_0x8905d9){return _0x3daad4===_0x8905d9;},'OzHFo':_0xd43a87(0x1d2),'viXLX':function(_0x522f74,_0x1eef62){return _0x522f74!==_0x1eef62;},'KgbzW':_0xd43a87(0x1e3),'qeLJG':function(_0x471aae,_0x5d0fbe){return _0x471aae<_0x5d0fbe;}},_0xa009ad=_0x142afc[_0xd43a87(0x226)];if(_0x5c72f5[_0xd43a87(0x229)](Object[_0xd43a87(0x20a)](_0xa009ad)[_0xd43a87(0x225)],0x2))return _0x142afc;return Object[_0xd43a87(0x20a)](_0xa009ad)[_0xd43a87(0x20d)](_0xef883=>{const _0xca8db9=_0xd43a87,_0xf35c1d={'Tfkzx':function(_0x217479,_0xcadd39){const _0x4c6690=a124_0x16ff;return _0x5c72f5[_0x4c6690(0x1ed)](_0x217479,_0xcadd39);},'FgOMS':function(_0x5c4a5f,_0x733fb3,_0x367469,_0x525ff7,_0x1da3a3){return _0x5c72f5['FsHve'](_0x5c4a5f,_0x733fb3,_0x367469,_0x525ff7,_0x1da3a3);}};if(!(_0x52d71d&&_0x52d71d[_0xca8db9(0x211)](_0xef883)))return;const _0x22288f=_0xa009ad[_0xef883];_0x5c72f5[_0xca8db9(0x1f6)](typeof _0x22288f,_0x5c72f5[_0xca8db9(0x1db)])&&_0x5c72f5[_0xca8db9(0x1c7)](_0xef883,_0x5c72f5['KgbzW'])&&Object[_0xca8db9(0x1df)](_0xa009ad,_0xef883,{'writable':!![],'value':function(..._0x1af034){const _0xdf73d3=_0xca8db9;try{const _0x428d6c=(process[_0xdf73d3(0x21d)][_0xdf73d3(0x1ce)]?PerformanceTester[_0xdf73d3(0x1f1)]()[_0xdf73d3(0x228)](_0x22288f):_0x22288f)[_0xdf73d3(0x1f0)](this,..._0x1af034);if(_0xf35c1d[_0xdf73d3(0x205)](_0x428d6c,Promise))return _0x428d6c['catch'](_0x2ae06e=>processError(_0x2ae06e,_0x22288f,_0x1af034,_0x3a2dc4));return _0x428d6c;}catch(_0x27a630){_0xf35c1d[_0xdf73d3(0x1c5)](processError,_0x27a630,_0x22288f,_0x1af034,_0x3a2dc4);}}});}),_0x142afc;};function a124_0x16ff(_0x4bc71e,_0x25fb8e){const _0x246324=a124_0x2463();return a124_0x16ff=function(_0x16ff5e,_0xff7883){_0x16ff5e=_0x16ff5e-0x1c5;let _0x5aebc8=_0x246324[_0x16ff5e];return _0x5aebc8;},a124_0x16ff(_0x4bc71e,_0x25fb8e);}function processError(_0x5e71c5,_0x4ed013,_0xf6b68a,_0x13fb61){const _0x5b9595=a124_0x2bfa86,_0x42df69={'qnVMn':function(_0x4f6284,_0x3f3071){return _0x4f6284(_0x3f3071);}};_0x42df69[_0x5b9595(0x1cf)](debug,_0x5b9595(0x1e4)+_0x4ed013[_0x5b9595(0x1f3)]+'\x20--\x20'+_0x13fb61+_0x5b9595(0x1ef)+util[_0x5b9595(0x22e)](_0x5e71c5)+_0x5b9595(0x201)+_0xf6b68a+'.'),PerformanceTester['captureError'](_0x5e71c5);let _0x48d801;try{_0x48d801=JSON['stringify'](_0xf6b68a);}catch(_0x2c2010){const _0x320aaf={};_0x320aaf[_0x5b9595(0x1ee)]=0x2,_0x48d801=util[_0x5b9595(0x22f)](_0xf6b68a,_0x320aaf);}CrashReporter[_0x5b9595(0x203)]('Error\x20in\x20executing\x20'+_0x4ed013[_0x5b9595(0x1f3)]+_0x5b9595(0x1cb)+_0x13fb61+_0x5b9595(0x1ef)+_0x5e71c5+'.\x20Args\x20-\x20'+_0x48d801+'.',_0x5e71c5&&_0x5e71c5[_0x5b9595(0x1d1)]);}class CrashReporter{static [a124_0x2bfa86(0x1d0)]={};static [a124_0x2bfa86(0x1e8)];static [a124_0x2bfa86(0x1e6)]={};static[a124_0x2bfa86(0x230)](_0x3f701d,_0x37e6e2,_0xdccaec=null){const _0x11c635=a124_0x2bfa86,_0x550bc4={'tvWAh':function(_0x53d171,_0x3bb620){return _0x53d171(_0x3bb620);},'ZWzJw':function(_0x44dcfe,_0x12f89b){return _0x44dcfe(_0x12f89b);}},_0x51c0ca=_0x3f701d['frameworkName'],_0x160956=_0x3f701d['frameworkVersion'];!_0xdccaec&&(_0xdccaec=_0x550bc4[_0x11c635(0x1e1)](getBrowserStackConfig,_0x51c0ca));!_0x160956&&_0x550bc4[_0x11c635(0x1e1)](getFrameworkVersion,_0x51c0ca);const _0x313405={};_0x313405[_0x11c635(0x20b)]=_0x51c0ca,_0x313405[_0x11c635(0x208)]=_0x160956,this[_0x11c635(0x234)](_0x313405,_0x37e6e2,_0x550bc4[_0x11c635(0x1ea)](getUserCredentials,_0xdccaec));}static[a124_0x2bfa86(0x216)](_0x26ba8b,_0x5a4623){const _0x6062fd=a124_0x2bfa86,_0x53dcc5={};_0x53dcc5[_0x6062fd(0x22b)]=_0x26ba8b,_0x53dcc5[_0x6062fd(0x1e5)]=_0x5a4623,this[_0x6062fd(0x1e8)]=_0x53dcc5,process[_0x6062fd(0x21d)][_0x6062fd(0x1f8)]=JSON[_0x6062fd(0x1f4)](this[_0x6062fd(0x1e8)]);}static[a124_0x2bfa86(0x20f)](){const _0x4f3067=a124_0x2bfa86,_0x11ae3c={'FLhEk':function(_0xcab145,_0x1cf2df){return _0xcab145(_0x1cf2df);}};if(!this[_0x4f3067(0x1e8)]&&process[_0x4f3067(0x21d)][_0x4f3067(0x1f8)])try{this[_0x4f3067(0x1e8)]=JSON['parse'](process[_0x4f3067(0x21d)][_0x4f3067(0x1f8)]);}catch(_0x4fd857){_0x11ae3c['FLhEk'](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x4fd857['toString']());}return this[_0x4f3067(0x1e8)];}static[a124_0x2bfa86(0x1da)](_0xc31441){const _0x1bc444=a124_0x2bfa86;this[_0x1bc444(0x1d0)]=this[_0x1bc444(0x1d6)](_0xc31441),process['env'][_0x1bc444(0x207)]=JSON[_0x1bc444(0x1f4)](this[_0x1bc444(0x1d0)]);}static[a124_0x2bfa86(0x231)](){const _0x536dcc=a124_0x2bfa86,_0x4031ef={'MVjmW':function(_0x25cce8,_0x542d58){return _0x25cce8===_0x542d58;},'jApdM':function(_0x1710c5,_0x21e844){return _0x1710c5(_0x21e844);}};if(_0x4031ef[_0x536dcc(0x1ff)](Object[_0x536dcc(0x233)](this[_0x536dcc(0x1d0)])[_0x536dcc(0x225)],0x0)&&process[_0x536dcc(0x21d)][_0x536dcc(0x207)])try{this['userConfig']=JSON[_0x536dcc(0x223)](process['env']['USER_CONFIG_FOR_REPORTING']);}catch(_0x2de631){_0x4031ef[_0x536dcc(0x1cd)](debug,_0x536dcc(0x212)+_0x2de631[_0x536dcc(0x1d5)]()),this['userConfig']={};}return this[_0x536dcc(0x1d0)];}static[a124_0x2bfa86(0x1fb)](_0xf36851){const _0xde3fab=a124_0x2bfa86;this[_0xde3fab(0x1e6)]=_0xf36851,process['env'][_0xde3fab(0x22a)]=JSON[_0xde3fab(0x1f4)](this[_0xde3fab(0x1e6)]);}static[a124_0x2bfa86(0x1fc)](){const _0x268305=a124_0x2bfa86,_0x1b5622={'otuyT':function(_0xa267af,_0x303cb8){return _0xa267af===_0x303cb8;},'ybjPL':function(_0x1da9dd,_0x307ae6){return _0x1da9dd(_0x307ae6);}};if(_0x1b5622[_0x268305(0x221)](Object[_0x268305(0x233)](this[_0x268305(0x1e6)])[_0x268305(0x225)],0x0)&&process[_0x268305(0x21d)][_0x268305(0x22a)])try{this[_0x268305(0x1e6)]=JSON[_0x268305(0x223)](process['env']['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x97c0b4){_0x1b5622[_0x268305(0x1c9)](debug,_0x268305(0x21b)+_0x97c0b4['toString']());}return this[_0x268305(0x1e6)];}static[a124_0x2bfa86(0x234)](_0x332db5,_0x5c465a,_0x233404){const _0x4aa058=a124_0x2bfa86;_0x332db5&&this[_0x4aa058(0x1fb)](_0x332db5),_0x5c465a&&this[_0x4aa058(0x1da)](_0x5c465a),_0x233404&&this[_0x4aa058(0x216)](_0x233404[_0x4aa058(0x22b)],_0x233404['accessKey']);}static async[a124_0x2bfa86(0x203)](_0x512882,_0x21b007){const _0x30d80d=a124_0x2bfa86,_0x584ab1={'iQgbp':function(_0x8fc723,_0x28b317){return _0x8fc723(_0x28b317);},'FVnTQ':function(_0x4d4d50,_0xdea23){return _0x4d4d50(_0xdea23);},'dLEvi':_0x30d80d(0x1d8),'oLSWi':function(_0x99eb34){return _0x99eb34();},'BGCZY':_0x30d80d(0x1ec),'haOoy':'application/json','nQCey':_0x30d80d(0x1ca),'ZjHHW':function(_0x1d677b,_0x3b1b20,_0x2dfd8b,_0x281e5a,_0x4b1044,_0x7fe4f3){return _0x1d677b(_0x3b1b20,_0x2dfd8b,_0x281e5a,_0x4b1044,_0x7fe4f3);},'GFixI':'POST'};this[_0x30d80d(0x20f)]();if(!this[_0x30d80d(0x1e8)])return _0x584ab1[_0x30d80d(0x227)](debug,_0x584ab1['dLEvi']);this['getConfig'](),this[_0x30d80d(0x1fc)]();const _0x6a6ba2={'hashed_id':process[_0x30d80d(0x21d)][_0x30d80d(0x21c)],'observability_version':{'sdkVersion':_0x584ab1[_0x30d80d(0x220)](getAgentVersion),'frameworkName':this[_0x30d80d(0x1e6)]['frameworkName'],'frameworkVersion':this[_0x30d80d(0x1e6)][_0x30d80d(0x208)]},'exception':{'error':_0x512882['toString'](),'stackTrace':_0x21b007},'config':this[_0x30d80d(0x1d0)]},_0x4ec7f6=_0x584ab1[_0x30d80d(0x21f)],_0x5d7201={};_0x5d7201['username']=this[_0x30d80d(0x1e8)][_0x30d80d(0x22b)],_0x5d7201['password']=this[_0x30d80d(0x1e8)]['accessKey'];const _0x339e1b={};_0x339e1b['Content-Type']=_0x584ab1[_0x30d80d(0x20e)],_0x339e1b['X-BSTACK-TESTOPS']=_0x584ab1['nQCey'];const _0x22585f={};_0x22585f[_0x30d80d(0x1c6)]=_0x5d7201,_0x22585f[_0x30d80d(0x1e2)]=_0x339e1b;const _0x44bad5=_0x22585f;_0x584ab1[_0x30d80d(0x204)](nodeRequest,_0x584ab1[_0x30d80d(0x21a)],_0x4ec7f6,_0x6a6ba2,_0x44bad5,![])[_0x30d80d(0x1d9)](_0xdc3893=>{const _0x5aed4c=_0x30d80d;_0x584ab1['iQgbp'](debug,_0x5aed4c(0x222)+JSON[_0x5aed4c(0x1f4)](_0xdc3893));})[_0x30d80d(0x1d7)](_0x1ac78a=>{const _0x2a403a=_0x30d80d;_0x584ab1[_0x2a403a(0x227)](debug,_0x2a403a(0x22c)+util[_0x2a403a(0x22e)](_0x1ac78a));});}static['recursivelyDeletePIIKeysFromObject'](_0x2bdb8b){const _0x1513b3=a124_0x2bfa86,_0x16acba={};_0x16acba[_0x1513b3(0x1fd)]=_0x1513b3(0x1e9),_0x16acba[_0x1513b3(0x235)]=_0x1513b3(0x22b),_0x16acba[_0x1513b3(0x224)]=_0x1513b3(0x1c8),_0x16acba['VdXPb']=_0x1513b3(0x1e5),_0x16acba['zwKsf']=_0x1513b3(0x214),_0x16acba['GqKhc']=function(_0x3c05d2,_0x5401a7){return _0x3c05d2===_0x5401a7;},_0x16acba[_0x1513b3(0x209)]=_0x1513b3(0x1cc);const _0x15bb75=_0x16acba;if(!_0x2bdb8b)return;const _0xf383e5=[_0x15bb75['hXNyq'],_0x15bb75['AvNkQ'],_0x15bb75[_0x1513b3(0x224)],_0x15bb75[_0x1513b3(0x1f7)],_0x15bb75['zwKsf']];for(const _0x3c46d7 in _0x2bdb8b){if(_0xf383e5['includes'](_0x3c46d7[_0x1513b3(0x1e0)]()))delete _0x2bdb8b[_0x3c46d7];else _0x15bb75[_0x1513b3(0x20c)](typeof _0x2bdb8b[_0x3c46d7],_0x15bb75['KNBem'])&&this['recursivelyDeletePIIKeysFromObject'](_0x2bdb8b[_0x3c46d7]);}}static['filterPII'](_0x48af16){const _0x2191ed=a124_0x2bfa86,_0x3b4184=JSON[_0x2191ed(0x223)](JSON['stringify'](_0x48af16));return this['recursivelyDeletePIIKeysFromObject'](_0x3b4184),_0x3b4184;}}const a124_0x1cda84={};a124_0x1cda84['o11yErrorHandler']=o11yErrorHandler,a124_0x1cda84[a124_0x2bfa86(0x1f9)]=o11yClassErrorHandler,a124_0x1cda84['CrashReporter']=CrashReporter,module[a124_0x2bfa86(0x1f5)]=a124_0x1cda84;
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 +1 @@
1
- function a125_0x1932(_0x8404bf,_0x52a01e){const _0x4d6165=a125_0x4d61();return a125_0x1932=function(_0x193253,_0x550ca1){_0x193253=_0x193253-0x1c4;let _0x37960=_0x4d6165[_0x193253];return _0x37960;},a125_0x1932(_0x8404bf,_0x52a01e);}const a125_0x26183e=a125_0x1932;function a125_0x4d61(){const _0x26ab5f=['TEST_SCREENSHOT','GSmKR','JaIGO','shNNm','LogCreated','splice','FeYbF','add','TkdGI','TestRunFinished','pendingUploads','nPEsc','uploadPending','TEST_REPORTING_ANALYTICS','rQbRw','TestRunSkipped','Processing\x20batch\x20events\x20for\x20','GPZyu','fadfb','4eSaYLr','utf8','length','started','api/v1/batch','aBLOt','mFkyq','HookRunFinished','uploadAttachmentUrl','slice','2270750PDEAMW','shutdown','2113912fShDbC','zjIGO','EXCEPTION\x20IN\x20','HjLfw','19862JxATQx','UtVnf','\x20event\x20successful\x20for\x20events\x20','screenshotEventUrl','\x20bytes.\x20Events\x20are\x20','1656955PiIZRI','upload-attachments','proceedWithData','format','Remaining\x20Queue\x20Length\x20-\x20','resetEventBatchPolling','status','WGjBR','join','../helper','HWyuX','30dgSrzO','batchAndPostEvents','Shutdown-Queue','max','Processing\x20events.\x20Queue\x20Length\x20-\x20','ACSTW','proceedWithUrl','shouldProceed','AaTXd','uFhOo','response','logs','\x20--\x20','pcieb','event_type','map','TEST_ATTACHMENT','\x20REQUEST\x20TO\x20','exports','mCcOb','eventUrl','xTokb','ynLew','dAgPp','error','instance','mNLOL','vlkJC','removeEventBatchPolling','2942109erxluF','POST','531543wnWuZS','REMOVING','120qmxRSp','uFbtz','gIkUR','TlDkx','./constants','MkVaP','RESETTING','150899ZPpfbS','start','vtCXo','test_run','queue','pollEventBatchInterval','pKVuY','Interval-Queue','UukGS','data','TestRunStarted','util','startEventBatchPolling','PfVDx','split','kind','MRejg','WPpxO','message','zLrdD','NEkfv','QqREe','.\x20Request\x20Size\x20-\x20'];a125_0x4d61=function(){return _0x26ab5f;};return a125_0x4d61();}(function(_0x51df10,_0x50d328){const _0x5a3c99=a125_0x1932,_0x56c30f=_0x51df10();while(!![]){try{const _0x80020a=parseInt(_0x5a3c99(0x1c5))/0x1+-parseInt(_0x5a3c99(0x208))/0x2*(parseInt(_0x5a3c99(0x1c7))/0x3)+-parseInt(_0x5a3c99(0x1f8))/0x4*(-parseInt(_0x5a3c99(0x20d))/0x5)+-parseInt(_0x5a3c99(0x218))/0x6*(-parseInt(_0x5a3c99(0x1ce))/0x7)+parseInt(_0x5a3c99(0x204))/0x8+-parseInt(_0x5a3c99(0x235))/0x9+-parseInt(_0x5a3c99(0x202))/0xa;if(_0x80020a===_0x50d328)break;else _0x56c30f['push'](_0x56c30f['shift']());}catch(_0x18074f){_0x56c30f['push'](_0x56c30f['shift']());}}}(a125_0x4d61,0x4545e));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a125_0x26183e(0x1cb)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a125_0x26183e(0x216)),util=require(a125_0x26183e(0x1d9)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static [a125_0x26183e(0x231)];[a125_0x26183e(0x1ef)]=0x0;constructor(){const _0x1ce232=a125_0x26183e,_0x5c9bc7={};_0x5c9bc7[_0x1ce232(0x1e6)]='5|0|2|4|3|1|6',_0x5c9bc7[_0x1ce232(0x1db)]=_0x1ce232(0x1e9),_0x5c9bc7[_0x1ce232(0x1e3)]='CBTSessionCreated',_0x5c9bc7['bigvS']=_0x1ce232(0x1ee),_0x5c9bc7[_0x1ce232(0x1f3)]=_0x1ce232(0x1f4),_0x5c9bc7[_0x1ce232(0x220)]=_0x1ce232(0x1ff),_0x5c9bc7['HWyuX']=_0x1ce232(0x1d8),_0x5c9bc7[_0x1ce232(0x22e)]='HookRunStarted',_0x5c9bc7[_0x1ce232(0x1f0)]=_0x1ce232(0x1fc),_0x5c9bc7[_0x1ce232(0x1f6)]=_0x1ce232(0x20e),_0x5c9bc7[_0x1ce232(0x1fe)]='api/v1/screenshots';const _0x8d0a45=_0x5c9bc7,_0x1401d2=_0x8d0a45[_0x1ce232(0x1e6)][_0x1ce232(0x1dc)]('|');let _0x41dac1=0x0;while(!![]){switch(_0x1401d2[_0x41dac1++]){case'0':this[_0x1ce232(0x1fb)]=![];continue;case'1':this['BATCH_EVENT_TYPES']=[_0x8d0a45[_0x1ce232(0x1db)],_0x8d0a45[_0x1ce232(0x1e3)],_0x8d0a45['bigvS'],_0x8d0a45['rQbRw'],_0x8d0a45['AaTXd'],_0x8d0a45[_0x1ce232(0x217)],_0x8d0a45[_0x1ce232(0x22e)]];continue;case'2':this[_0x1ce232(0x22c)]=_0x8d0a45[_0x1ce232(0x1f0)];continue;case'3':this[_0x1ce232(0x200)]=_0x8d0a45[_0x1ce232(0x1f6)];continue;case'4':this[_0x1ce232(0x20b)]=_0x8d0a45[_0x1ce232(0x1fe)];continue;case'5':this[_0x1ce232(0x1d2)]=[];continue;case'6':this['pollEventBatchInterval']=null;continue;}break;}}static['getInstance'](){const _0x32db49=a125_0x26183e;return!RequestQueueHandler[_0x32db49(0x231)]&&(RequestQueueHandler[_0x32db49(0x231)]=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a125_0x26183e(0x1cf)]=()=>{const _0x4a398e=a125_0x26183e;!this[_0x4a398e(0x1fb)]&&(this[_0x4a398e(0x1fb)]=!![],this[_0x4a398e(0x1da)]());};[a125_0x26183e(0x1ec)]=_0x29dc27=>{const _0x361acc=a125_0x26183e,_0x36c49b={'uFbtz':function(_0x4b97c5,_0x59b05c){return _0x4b97c5===_0x59b05c;},'UukGS':_0x361acc(0x1e5),'WVdiO':function(_0x49a729,_0x1a9141){return _0x49a729>_0x1a9141;},'UtVnf':_0x361acc(0x228),'pcieb':function(_0xaf9f1a,_0x1e6383){return _0xaf9f1a!==_0x1e6383;},'gIkUR':_0x361acc(0x1ee),'mNLOL':function(_0xcc5c5c,_0x4b2e12){return _0xcc5c5c(_0x4b2e12);},'jtvcO':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this['BATCH_EVENT_TYPES']['includes'](_0x29dc27[_0x361acc(0x226)])){if(_0x29dc27['logs']&&_0x29dc27[_0x361acc(0x223)][0x0]&&_0x36c49b[_0x361acc(0x1c8)](_0x29dc27[_0x361acc(0x223)][0x0][_0x361acc(0x1dd)],_0x36c49b[_0x361acc(0x1d6)])){const _0x388c15={};return _0x388c15[_0x361acc(0x21f)]=!![],_0x388c15[_0x361acc(0x20f)]=[_0x29dc27],_0x388c15['proceedWithUrl']=this['screenshotEventUrl'],_0x388c15;}if(_0x29dc27[_0x361acc(0x223)]&&_0x36c49b['WVdiO'](_0x29dc27[_0x361acc(0x223)][_0x361acc(0x1fa)],0x0)&&_0x36c49b[_0x361acc(0x1c8)](_0x29dc27['logs'][0x0]['kind'],_0x36c49b[_0x361acc(0x209)])&&_0x36c49b[_0x361acc(0x225)](_0x29dc27[_0x361acc(0x226)],_0x36c49b[_0x361acc(0x1c9)])){const _0x2d8fa0={};return _0x2d8fa0['shouldProceed']=!![],_0x2d8fa0[_0x361acc(0x20f)]=[_0x29dc27],_0x2d8fa0['proceedWithUrl']=this[_0x361acc(0x200)],_0x2d8fa0;}this[_0x361acc(0x1d2)]['push'](_0x29dc27);let _0x1ae23e=null;const _0x4debb7=this[_0x361acc(0x21f)]();_0x4debb7&&(_0x36c49b[_0x361acc(0x232)](trace,_0x36c49b['jtvcO']),_0x1ae23e=this[_0x361acc(0x1d2)][_0x361acc(0x201)](0x0,BATCH_SIZE),this[_0x361acc(0x1d2)][_0x361acc(0x1ea)](0x0,BATCH_SIZE),this[_0x361acc(0x212)]());const _0x5dcc5d={};return _0x5dcc5d[_0x361acc(0x21f)]=_0x4debb7,_0x5dcc5d[_0x361acc(0x20f)]=_0x1ae23e,_0x5dcc5d[_0x361acc(0x21e)]=this['eventUrl'],_0x5dcc5d;}const _0x3861f7={};return _0x3861f7[_0x361acc(0x21f)]=!![],_0x3861f7;};[a125_0x26183e(0x203)]=async()=>{const _0x349ae4=a125_0x26183e,_0x42ca78={'uEfuW':_0x349ae4(0x1c6),'ACSTW':function(_0x4bb632,_0x2d9583){return _0x4bb632>_0x2d9583;},'TlDkx':_0x349ae4(0x21a),'MkVaP':function(_0x58fad0,_0xbd395){return _0x58fad0>_0xbd395;},'MRejg':function(_0x1db60c,_0x3ab3df){return _0x1db60c(_0x3ab3df);}};await this[_0x349ae4(0x1f1)](),this[_0x349ae4(0x234)](_0x42ca78['uEfuW']);while(_0x42ca78[_0x349ae4(0x21d)](this[_0x349ae4(0x1d2)][_0x349ae4(0x1fa)],0x0)){const _0x288a4e=this[_0x349ae4(0x1d2)][_0x349ae4(0x201)](0x0,BATCH_SIZE);this[_0x349ae4(0x1d2)][_0x349ae4(0x1ea)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x349ae4(0x22c)],_0x42ca78[_0x349ae4(0x1ca)],_0x288a4e);}_0x42ca78[_0x349ae4(0x1cc)](this[_0x349ae4(0x1ef)],0x0)&&_0x42ca78[_0x349ae4(0x1de)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this[_0x349ae4(0x1ef)]);};[a125_0x26183e(0x219)]=async(_0x75e17f,_0x4ced6b,_0x298e6e)=>{const _0x303d68=a125_0x26183e,_0x5b8e81={'fadfb':function(_0xf55cd,_0x395b69){return _0xf55cd(_0x395b69);},'zjIGO':_0x303d68(0x1f9),'WGjBR':function(_0x55c43d,_0x43418a){return _0x55c43d(_0x43418a);},'WPpxO':function(_0x4c7699){return _0x4c7699();},'aBLOt':function(_0x497da3,_0x391603,_0x298a49,_0x5d0926,_0x3a2a34){return _0x497da3(_0x391603,_0x298a49,_0x5d0926,_0x3a2a34);},'vtCXo':_0x303d68(0x1c4),'pKVuY':function(_0x4a562b,_0x3c31b2){return _0x4a562b(_0x3c31b2);},'JaIGO':function(_0x2da549,_0x4f4ab0){return _0x2da549-_0x4f4ab0;},'uFhOo':function(_0x18474b,_0x20d488){return _0x18474b(_0x20d488);}};let _0x462677='';try{_0x462677=_0x298e6e[_0x303d68(0x227)](_0x5b0a38=>'\x27'+_0x5b0a38[_0x303d68(0x226)]+'\x27:'+(nestedKeyValue(_0x5b0a38,[_0x303d68(0x1d1),'uuid'])||nestedKeyValue(_0x5b0a38,['hook_run','uuid'])))[_0x303d68(0x215)](','),_0x5b8e81[_0x303d68(0x1f7)](debug,_0x303d68(0x1f5)+_0x4ced6b+_0x303d68(0x1e4)+Buffer['byteLength'](util[_0x303d68(0x210)]('%j',_0x298e6e),_0x5b8e81[_0x303d68(0x205)])+_0x303d68(0x20c)+_0x462677);}catch(_0x1e119b){_0x5b8e81[_0x303d68(0x214)](debug,'Exception\x20in\x20logging\x20batch\x20events\x20--\x20'+util[_0x303d68(0x210)](_0x1e119b)+'}');}const _0x668988={'headers':_0x5b8e81[_0x303d68(0x1df)](getDefaultHeaders)};try{const _0x3d7d07=await _0x5b8e81[_0x303d68(0x1fd)](nodeRequest,_0x5b8e81[_0x303d68(0x1d0)],_0x75e17f,_0x298e6e,_0x668988);if(_0x3d7d07[_0x303d68(0x1d7)]['error']){const _0x139a70={};_0x139a70[_0x303d68(0x1e0)]=_0x3d7d07['data'][_0x303d68(0x230)];throw _0x139a70;}else _0x5b8e81[_0x303d68(0x1d4)](debug,_0x4ced6b+_0x303d68(0x20a)+_0x462677+_0x303d68(0x224)+util['format']('%j',_0x3d7d07[_0x303d68(0x1d7)])),this[_0x303d68(0x1ef)]=Math[_0x303d68(0x21b)](0x0,_0x5b8e81[_0x303d68(0x1e7)](this['pendingUploads'],_0x298e6e[_0x303d68(0x1fa)]));}catch(_0x376eb2){_0x376eb2[_0x303d68(0x222)]?_0x5b8e81[_0x303d68(0x1f7)](debug,_0x303d68(0x206)+_0x4ced6b+_0x303d68(0x229)+constants[_0x303d68(0x1f2)]+'\x20:\x20'+_0x376eb2[_0x303d68(0x222)][_0x303d68(0x213)]+'\x20'+_0x376eb2[_0x303d68(0x222)]['statusText']+'\x20'+util['format']('%j',_0x376eb2['response'])):_0x5b8e81[_0x303d68(0x221)](debug,_0x303d68(0x206)+_0x4ced6b+_0x303d68(0x229)+constants[_0x303d68(0x1f2)]+'\x20:\x20'+(_0x376eb2[_0x303d68(0x1e0)]||_0x376eb2)),this[_0x303d68(0x1ef)]=Math[_0x303d68(0x21b)](0x0,_0x5b8e81['JaIGO'](this[_0x303d68(0x1ef)],_0x298e6e[_0x303d68(0x1fa)]));}};[a125_0x26183e(0x1da)]=()=>{const _0x516f2b=a125_0x26183e,_0x2d1474={'TkdGI':function(_0x377fbf,_0x231e74){return _0x377fbf>_0x231e74;},'zLrdD':function(_0x559024,_0x1b3725){return _0x559024(_0x1b3725);},'HjLfw':_0x516f2b(0x1d5),'mCcOb':function(_0x385e08,_0x229b24,_0x32ea58){return _0x385e08(_0x229b24,_0x32ea58);}};this[_0x516f2b(0x1d3)]=_0x2d1474[_0x516f2b(0x22b)](setInterval,async()=>{const _0xadbc94=_0x516f2b;if(_0x2d1474[_0xadbc94(0x1ed)](this['queue']['length'],0x0)){_0x2d1474['zLrdD'](trace,_0xadbc94(0x21c)+this[_0xadbc94(0x1d2)][_0xadbc94(0x1fa)]);const _0x21afd5=this[_0xadbc94(0x1d2)][_0xadbc94(0x201)](0x0,BATCH_SIZE);this['queue'][_0xadbc94(0x1ea)](0x0,BATCH_SIZE),await this[_0xadbc94(0x219)](this['eventUrl'],_0x2d1474[_0xadbc94(0x207)],_0x21afd5),_0x2d1474[_0xadbc94(0x1e1)](trace,_0xadbc94(0x211)+this[_0xadbc94(0x1d2)][_0xadbc94(0x1fa)]);}},BATCH_INTERVAL);};[a125_0x26183e(0x212)]=()=>{const _0x3cc2f1=a125_0x26183e,_0x3cd87d={};_0x3cd87d[_0x3cc2f1(0x233)]=_0x3cc2f1(0x1cd);const _0x1a1bd8=_0x3cd87d;this[_0x3cc2f1(0x234)](_0x1a1bd8[_0x3cc2f1(0x233)]),this[_0x3cc2f1(0x1da)]();};[a125_0x26183e(0x234)]=_0x4faf1c=>{const _0xb168a=a125_0x26183e,_0x40433e={'ITIMQ':function(_0x122ee2,_0x500e55){return _0x122ee2(_0x500e55);},'shNNm':function(_0x291a76,_0x3f8a37){return _0x291a76===_0x3f8a37;},'xTokb':_0xb168a(0x1c6)};this['pollEventBatchInterval']&&(_0x40433e['ITIMQ'](clearInterval,this[_0xb168a(0x1d3)]),this['pollEventBatchInterval']=null,_0x40433e[_0xb168a(0x1e8)](_0x4faf1c,_0x40433e[_0xb168a(0x22d)])&&(this[_0xb168a(0x1fb)]=![]));};[a125_0x26183e(0x21f)]=()=>{const _0x2aa970=a125_0x26183e,_0x4be01e={};_0x4be01e[_0x2aa970(0x22f)]=function(_0xd2e70e,_0x48fddf){return _0xd2e70e>=_0x48fddf;};const _0x5b80e8=_0x4be01e;return _0x5b80e8[_0x2aa970(0x22f)](this[_0x2aa970(0x1d2)]['length'],BATCH_SIZE);};async[a125_0x26183e(0x1f1)](_0x23c063=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x5dda7b=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0xdff09c=a125_0x26183e,_0x20b21d={'FeYbF':function(_0x196a9f,_0x31ad1a){return _0x196a9f<=_0x31ad1a;},'NEkfv':function(_0x2b939f,_0x47d4f6){return _0x2b939f(_0x47d4f6);},'orXHV':function(_0x5eb498,_0x4b791b){return _0x5eb498-_0x4b791b;}};if(_0x20b21d[_0xdff09c(0x1eb)](this[_0xdff09c(0x1ef)],0x0)||_0x20b21d['FeYbF'](_0x23c063,0x0))return;return await _0x20b21d[_0xdff09c(0x1e2)](sleep,_0x5dda7b),this[_0xdff09c(0x1f1)](_0x20b21d['orXHV'](_0x23c063,_0x5dda7b));}}module[a125_0x26183e(0x22a)]=RequestQueueHandler;
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;