browserstack-node-sdk 1.46.4 → 1.46.5

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 (185) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +8 -0
  41. package/generated/sdk-messages_pb.js +73 -1
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/runner.js +1 -1
  92. package/src/bin/setup.js +1 -1
  93. package/src/bin/test-runner/index.js +1 -1
  94. package/src/bin/test-runner/runTest.js +1 -1
  95. package/src/bin/test-runner/testWorker.js +1 -1
  96. package/src/bin/utils/apiUtilityMethods.js +1 -1
  97. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  98. package/src/bin/utils/constants.js +1 -1
  99. package/src/bin/utils/log4jsAppender.js +1 -1
  100. package/src/bin/utils/logPatcher.js +1 -1
  101. package/src/bin/utils/logReportingAPI.js +1 -1
  102. package/src/bin/utils/playwright-patcher.js +1 -1
  103. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -1
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  113. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  115. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  116. package/src/bin/v2/framework/testFramework.js +1 -1
  117. package/src/bin/v2/grpcClient.js +1 -1
  118. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  120. package/src/bin/v2/instances/trackedContext.js +1 -1
  121. package/src/bin/v2/instances/trackedInstance.js +1 -1
  122. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  123. package/src/bin/v2/modules/baseModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/vanilla-js/command.js +1 -1
  133. package/src/browserStackSdk.js +1 -1
  134. package/src/helpers/BrowserStackSetup.js +1 -1
  135. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  136. package/src/helpers/accessibility-automation/constants.js +1 -1
  137. package/src/helpers/accessibility-automation/helper.js +1 -1
  138. package/src/helpers/accessibility-automation/scripts.js +1 -1
  139. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  140. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  141. package/src/helpers/ats/constants.js +1 -1
  142. package/src/helpers/ats/helper.js +1 -1
  143. package/src/helpers/capsMapping.js +1 -1
  144. package/src/helpers/central-scanner/constants.js +1 -1
  145. package/src/helpers/central-scanner/helpers.js +1 -1
  146. package/src/helpers/classLogger.js +1 -1
  147. package/src/helpers/globals.js +1 -1
  148. package/src/helpers/helper.js +1 -1
  149. package/src/helpers/logger.js +1 -1
  150. package/src/helpers/metadata.js +1 -1
  151. package/src/helpers/patchHelper.js +1 -1
  152. package/src/helpers/patchHelpers.js +1 -1
  153. package/src/helpers/percy/Percy.js +1 -1
  154. package/src/helpers/percy/PercyBinary.js +1 -1
  155. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  156. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  157. package/src/helpers/percy/PercySDK.js +1 -1
  158. package/src/helpers/percy/index.js +1 -1
  159. package/src/helpers/percy/utils.js +1 -1
  160. package/src/helpers/performance/constants.js +1 -1
  161. package/src/helpers/performance/performance-tester.js +1 -1
  162. package/src/helpers/playwright-helper.js +1 -1
  163. package/src/helpers/processHelper.js +1 -1
  164. package/src/helpers/request-spy.js +1 -1
  165. package/src/helpers/setKeepAlive.js +1 -1
  166. package/src/helpers/test-observability/constants.js +1 -1
  167. package/src/helpers/test-observability/error-handler.js +1 -1
  168. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  169. package/src/helpers/test-observability/sessionHandler.js +1 -1
  170. package/src/helpers/test-observability/utils.js +1 -1
  171. package/src/helpers/test-orchestration/constants.js +1 -1
  172. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  173. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  174. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  175. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  176. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  177. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  178. package/src/helpers/testhub/constants.js +1 -1
  179. package/src/helpers/testhub/testhubHandler.js +1 -1
  180. package/src/helpers/testhub/utils.js +1 -1
  181. package/src/helpers/timeoutPromise.js +1 -1
  182. package/src/helpers/utilities.js +1 -1
  183. package/src/helpers/w3cMapping.js +1 -1
  184. package/src/hubAllocationMethods.js +1 -1
  185. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a117_0x3e28df=a117_0x5438;function a117_0x355b(){const _0x321acf=['sdk:testhub','AUTOMATE_EVENTS',':driver-performscan',':session-status','SDK_TEST_FRAMEWORK_EVENT','SDK_AUTOMATION_FRAMEWORK_START',':session-name','APP_AUOTMATE_EVENTS','SDK_CLI_START','sdk:driverInit','9XOPYtE','TESTHUB_EVENTS','SDK_PRE_INITIALIZE','A11Y_EVENTS','sdk:test','SDK_CLI_ON_STOP','804720REzcSS','sdk:testSessionEvent','SDK_DRIVER_INIT','SDK_APP_AUTOMATE','SDK_AUTOMATION_FRAMEWORK_STOP','KEEP_ALIVE',':download',':start','SDK_CLI_ON_BOOTSTRAP','sdk:cli:download','sdk:cli:start','exports','BEFORE_ALL','sdk:automate',':screenshot-app','SDK_START_BIN_SESSION','DOWNLOAD',':after-all',':snapshot','POST_EXECUTE','STOP','EVENTS',':quit','GET','GET_RESULTS_SUMMARY','6397245OYKdHb','APP_UPLOAD','SDK_FIND_NEAREST_HUB','SDK_AUTO_CAPTURE','96946hQzcla','sdk:cleanup','SDK_HOOK','sdk:aiSelfHealStep','sdk:cli:on-stop','DRIVER_MANAGE','SDK_ACCESSIBILITY_CONFIG','SDK_CLI_CHECK_UPDATE','sdk:cli:on-connect','sdk:turboscale','sdk:onStop','AFTER_ALL','SDK_AUTOMATE','SDK_ON_STOP','SDK_DRIVER',':stop','SDK_TURBOSCALE','SDK_PRE_TEST',':after-each','SDK_O11Y','sdk:cli:on-bootstrap','SESSION_ANNOTATION','sdk:app-automate','sdk:post-test','SDK_POST_INITIALIZE','HOOK_EVENTS','SDK_AUTOMATION_FRAMEWORK_INIT','2375132XKitbo','TAKE_SCREENSHOT','SESSION_STATUS','SDK_PERCY','sdk:findNearestHub','SDK_A11Y','HUB_MANAGEMENT',':local-stop','SDK_TEST_SESSION_EVENT','4872552EWXaSq','sdk:connectBinSession','DRIVER_EVENT','SDK_CLI_ON_CONNECT',':before','SDK_CLEANUP','6788184FCpFcc','PRINT_BUILDLINK',':after','GET_RESULTS','AFTER','TURBOSCALE_EVENTS','PRE_EXECUTE','LOCAL_START','SDK_CLI_DOWNLOAD','sdk:automationFrameworkStop','SDK_OBSERVABILITY_CONFIG','PERCY_EVENTS',':driver-manage',':save-results',':print-buildlink','sdk:cli:logCreatedEvent','sdk:aiSelfHealGetResult','sdk:startBinSession',':sync','SDK_TEST','SDK_SETUP','11153150VsRPUi','SCREENSHOT','sdk:proxy-setup',':local-start','O11y_EVENTS','sdk:auto-capture',':before-each',':hub-management','sdk:o11y','SDK_PROXY_SETUP','BEFORE','3IWszuo','LOCAL_STOP','sdk:cli:enqueueTestEvent',':app-upload','sdk:accessibilityConfig','sdk:percy',':session-annotation','SNAPSHOT',':before-all',':pre-execute',':ci-artifacts','1zipCtW','sdk:driver:pre-initialization','SDK_AI_SELF_HEAL_STEP','SDK_TESTHUB',':screenshot','QUIT','START'];a117_0x355b=function(){return _0x321acf;};return a117_0x355b();}(function(_0x476d29,_0x38d05c){const _0x462f42=a117_0x5438,_0xdb250e=_0x476d29();while(!![]){try{const _0x5a4941=parseInt(_0x462f42(0x14a))/0x1*(parseInt(_0x462f42(0x17e))/0x2)+-parseInt(_0x462f42(0x13f))/0x3*(-parseInt(_0x462f42(0x110))/0x4)+parseInt(_0x462f42(0x17a))/0x5+-parseInt(_0x462f42(0x119))/0x6+-parseInt(_0x462f42(0x161))/0x7+parseInt(_0x462f42(0x11f))/0x8*(parseInt(_0x462f42(0x15b))/0x9)+-parseInt(_0x462f42(0x134))/0xa;if(_0x5a4941===_0x38d05c)break;else _0xdb250e['push'](_0xdb250e['shift']());}catch(_0x5e25ac){_0xdb250e['push'](_0xdb250e['shift']());}}}(a117_0x355b,0xb1b35));const a117_0x140ebf={};function a117_0x5438(_0x63941f,_0x207bc7){const _0x355b7b=a117_0x355b();return a117_0x5438=function(_0x5438bc,_0x326570){_0x5438bc=_0x5438bc-0x109;let _0x51faf7=_0x355b7b[_0x5438bc];return _0x51faf7;},a117_0x5438(_0x63941f,_0x207bc7);}a117_0x140ebf[a117_0x3e28df(0x133)]='sdk:setup',a117_0x140ebf[a117_0x3e28df(0x11e)]=a117_0x3e28df(0x17f),a117_0x140ebf[a117_0x3e28df(0x18f)]='sdk:pre-test',a117_0x140ebf[a117_0x3e28df(0x132)]=a117_0x3e28df(0x15f),a117_0x140ebf['SDK_POST_TEST']=a117_0x3e28df(0x10c),a117_0x140ebf['SDK_HOOK']='sdk:hook',a117_0x140ebf[a117_0x3e28df(0x18c)]='sdk:driver',a117_0x140ebf[a117_0x3e28df(0x115)]='sdk:a11y',a117_0x140ebf[a117_0x3e28df(0x191)]=a117_0x3e28df(0x13c),a117_0x140ebf[a117_0x3e28df(0x17d)]=a117_0x3e28df(0x139),a117_0x140ebf[a117_0x3e28df(0x13d)]=a117_0x3e28df(0x136),a117_0x140ebf[a117_0x3e28df(0x14d)]=a117_0x3e28df(0x151),a117_0x140ebf[a117_0x3e28df(0x18a)]=a117_0x3e28df(0x16e),a117_0x140ebf[a117_0x3e28df(0x164)]=a117_0x3e28df(0x10b),a117_0x140ebf['SDK_TURBOSCALE']=a117_0x3e28df(0x187),a117_0x140ebf[a117_0x3e28df(0x113)]=a117_0x3e28df(0x144),a117_0x140ebf[a117_0x3e28df(0x15d)]=a117_0x3e28df(0x14b),a117_0x140ebf[a117_0x3e28df(0x10d)]='sdk:driver:post-initialization',a117_0x140ebf[a117_0x3e28df(0x159)]=a117_0x3e28df(0x16b),a117_0x140ebf[a117_0x3e28df(0x127)]=a117_0x3e28df(0x16a),a117_0x140ebf[a117_0x3e28df(0x185)]='sdk:cli:check-update',a117_0x140ebf[a117_0x3e28df(0x169)]=a117_0x3e28df(0x109),a117_0x140ebf[a117_0x3e28df(0x11c)]=a117_0x3e28df(0x186),a117_0x140ebf[a117_0x3e28df(0x160)]=a117_0x3e28df(0x182),a117_0x140ebf[a117_0x3e28df(0x170)]=a117_0x3e28df(0x130),a117_0x140ebf['SDK_CONNECT_BIN_SESSION']=a117_0x3e28df(0x11a),a117_0x140ebf[a117_0x3e28df(0x163)]=a117_0x3e28df(0x15a),a117_0x140ebf[a117_0x3e28df(0x17c)]=a117_0x3e28df(0x114),a117_0x140ebf[a117_0x3e28df(0x10f)]='sdk:automationFrameworkInit',a117_0x140ebf[a117_0x3e28df(0x156)]='sdk:automationFrameworkStart',a117_0x140ebf[a117_0x3e28df(0x184)]=a117_0x3e28df(0x143),a117_0x140ebf[a117_0x3e28df(0x129)]='sdk:observabilityConfig',a117_0x140ebf[a117_0x3e28df(0x14c)]=a117_0x3e28df(0x181),a117_0x140ebf['SDK_AI_SELF_HEAL_GET_RESULT']=a117_0x3e28df(0x12f),a117_0x140ebf[a117_0x3e28df(0x155)]='sdk:testFrameworkEvent',a117_0x140ebf[a117_0x3e28df(0x118)]=a117_0x3e28df(0x162),a117_0x140ebf['SDK_CLI_LOG_CREATED_EVENT']=a117_0x3e28df(0x12e),a117_0x140ebf['SDK_CLI_ENQUEUE_TEST_EVENT']=a117_0x3e28df(0x141),a117_0x140ebf[a117_0x3e28df(0x165)]=a117_0x3e28df(0x128),a117_0x140ebf[a117_0x3e28df(0x18b)]=a117_0x3e28df(0x188);const SDK_EVENTS=a117_0x140ebf,a117_0x326b2b={};a117_0x326b2b[a117_0x3e28df(0x176)]=SDK_EVENTS,a117_0x326b2b[a117_0x3e28df(0x15c)]={},a117_0x326b2b[a117_0x3e28df(0x152)]={},a117_0x326b2b[a117_0x3e28df(0x15e)]={},a117_0x326b2b[a117_0x3e28df(0x12a)]={},a117_0x326b2b[a117_0x3e28df(0x138)]={},a117_0x326b2b[a117_0x3e28df(0x10e)]={},a117_0x326b2b[a117_0x3e28df(0x124)]={},a117_0x326b2b[a117_0x3e28df(0x158)]={},a117_0x326b2b[a117_0x3e28df(0x11b)]={},a117_0x326b2b[a117_0x3e28df(0x15c)]['START']=SDK_EVENTS['SDK_TESTHUB']+a117_0x3e28df(0x168),a117_0x326b2b[a117_0x3e28df(0x15c)][a117_0x3e28df(0x175)]=SDK_EVENTS[a117_0x3e28df(0x14d)]+':stop',a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x166)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+':keep-alive',a117_0x326b2b[a117_0x3e28df(0x152)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_AUTOMATE']+':hub-management',a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x126)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x137),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x140)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x117),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x183)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x12b),a117_0x326b2b[a117_0x3e28df(0x152)]['SESSION_NAME']=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x157),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x112)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x154),a117_0x326b2b[a117_0x3e28df(0x152)][a117_0x3e28df(0x10a)]=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x145),a117_0x326b2b[a117_0x3e28df(0x152)]['IDLE_TIMEOUT']=SDK_EVENTS[a117_0x3e28df(0x18a)]+':idle-timeout',a117_0x326b2b[a117_0x3e28df(0x152)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a117_0x3e28df(0x18a)]+a117_0x3e28df(0x149),a117_0x326b2b[a117_0x3e28df(0x152)]['PRINT_BUILDLINK']=SDK_EVENTS[a117_0x3e28df(0x18a)]+':print-buildlink',a117_0x326b2b[a117_0x3e28df(0x15e)]['PERFORM_SCAN']=SDK_EVENTS[a117_0x3e28df(0x115)]+a117_0x3e28df(0x153),a117_0x326b2b[a117_0x3e28df(0x15e)]['SAVE_RESULTS']=SDK_EVENTS[a117_0x3e28df(0x115)]+a117_0x3e28df(0x12c),a117_0x326b2b[a117_0x3e28df(0x15e)][a117_0x3e28df(0x122)]=SDK_EVENTS[a117_0x3e28df(0x115)]+':get-accessibility-results',a117_0x326b2b[a117_0x3e28df(0x15e)][a117_0x3e28df(0x179)]=SDK_EVENTS[a117_0x3e28df(0x115)]+':get-accessibility-results-summary',a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x171)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x167),a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x135)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x14e),a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x150)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x168),a117_0x326b2b[a117_0x3e28df(0x12a)]['STOP']=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x18d),a117_0x326b2b[a117_0x3e28df(0x12a)]['AUTO_CAPTURE']=SDK_EVENTS[a117_0x3e28df(0x113)]+':auto-capture',a117_0x326b2b[a117_0x3e28df(0x12a)][a117_0x3e28df(0x146)]=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x173),a117_0x326b2b[a117_0x3e28df(0x12a)]['SCREENSHOT_APP']=SDK_EVENTS[a117_0x3e28df(0x113)]+a117_0x3e28df(0x16f),a117_0x326b2b[a117_0x3e28df(0x138)]['SYNC']=SDK_EVENTS[a117_0x3e28df(0x191)]+a117_0x3e28df(0x131),a117_0x326b2b[a117_0x3e28df(0x138)][a117_0x3e28df(0x111)]=SDK_EVENTS[a117_0x3e28df(0x191)]+':driver-takeScreenShot',a117_0x326b2b[a117_0x3e28df(0x138)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_O11Y']+a117_0x3e28df(0x12d),a117_0x326b2b[a117_0x3e28df(0x10e)]['BEFORE_EACH']=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x13a),a117_0x326b2b[a117_0x3e28df(0x10e)]['AFTER_EACH']=SDK_EVENTS['SDK_HOOK']+a117_0x3e28df(0x190),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x189)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x172),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x16d)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x147),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x13e)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x11d),a117_0x326b2b[a117_0x3e28df(0x10e)][a117_0x3e28df(0x123)]=SDK_EVENTS[a117_0x3e28df(0x180)]+a117_0x3e28df(0x121),a117_0x326b2b[a117_0x3e28df(0x124)][a117_0x3e28df(0x116)]=SDK_EVENTS[a117_0x3e28df(0x18e)]+a117_0x3e28df(0x13b),a117_0x326b2b[a117_0x3e28df(0x124)][a117_0x3e28df(0x120)]=SDK_EVENTS[a117_0x3e28df(0x18e)]+a117_0x3e28df(0x12d),a117_0x326b2b[a117_0x3e28df(0x158)][a117_0x3e28df(0x17b)]=SDK_EVENTS[a117_0x3e28df(0x164)]+a117_0x3e28df(0x142),a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x14f)]=SDK_EVENTS[a117_0x3e28df(0x18c)]+a117_0x3e28df(0x177),a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x178)]=SDK_EVENTS['SDK_DRIVER']+':get',a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x125)]=SDK_EVENTS['SDK_DRIVER']+a117_0x3e28df(0x148),a117_0x326b2b[a117_0x3e28df(0x11b)][a117_0x3e28df(0x174)]=SDK_EVENTS[a117_0x3e28df(0x18c)]+':post-execute',module[a117_0x3e28df(0x16c)]=a117_0x326b2b;
1
+ const a117_0x2d6f73=a117_0x7d01;(function(_0x493fa8,_0x22e9d9){const _0x31874c=a117_0x7d01,_0x3ce9cb=_0x493fa8();while(!![]){try{const _0xc630ea=parseInt(_0x31874c(0xd9))/0x1*(parseInt(_0x31874c(0x127))/0x2)+parseInt(_0x31874c(0xe1))/0x3*(parseInt(_0x31874c(0xd7))/0x4)+-parseInt(_0x31874c(0xc2))/0x5+-parseInt(_0x31874c(0x121))/0x6*(-parseInt(_0x31874c(0x114))/0x7)+-parseInt(_0x31874c(0x113))/0x8+parseInt(_0x31874c(0xf1))/0x9*(parseInt(_0x31874c(0x130))/0xa)+parseInt(_0x31874c(0xe7))/0xb*(-parseInt(_0x31874c(0xea))/0xc);if(_0xc630ea===_0x22e9d9)break;else _0x3ce9cb['push'](_0x3ce9cb['shift']());}catch(_0x4e62a3){_0x3ce9cb['push'](_0x3ce9cb['shift']());}}}(a117_0x1693,0x9d0b6));const a117_0x11310b={};a117_0x11310b[a117_0x2d6f73(0x119)]='sdk:setup',a117_0x11310b[a117_0x2d6f73(0x11d)]=a117_0x2d6f73(0x10a),a117_0x11310b['SDK_PRE_TEST']=a117_0x2d6f73(0xb9),a117_0x11310b[a117_0x2d6f73(0x10d)]=a117_0x2d6f73(0x12a),a117_0x11310b[a117_0x2d6f73(0xdb)]=a117_0x2d6f73(0x120),a117_0x11310b[a117_0x2d6f73(0xd2)]=a117_0x2d6f73(0xe6),a117_0x11310b['SDK_DRIVER']=a117_0x2d6f73(0xed),a117_0x11310b[a117_0x2d6f73(0x106)]=a117_0x2d6f73(0x124),a117_0x11310b['SDK_O11Y']=a117_0x2d6f73(0xb5),a117_0x11310b['SDK_AUTO_CAPTURE']=a117_0x2d6f73(0xe0),a117_0x11310b['SDK_PROXY_SETUP']=a117_0x2d6f73(0xd1),a117_0x11310b[a117_0x2d6f73(0xb8)]=a117_0x2d6f73(0xc0),a117_0x11310b[a117_0x2d6f73(0xd8)]=a117_0x2d6f73(0x107),a117_0x11310b[a117_0x2d6f73(0x112)]=a117_0x2d6f73(0x10f),a117_0x11310b[a117_0x2d6f73(0x138)]=a117_0x2d6f73(0xf2),a117_0x11310b[a117_0x2d6f73(0xec)]=a117_0x2d6f73(0xbf),a117_0x11310b[a117_0x2d6f73(0xca)]=a117_0x2d6f73(0xe8),a117_0x11310b[a117_0x2d6f73(0x139)]=a117_0x2d6f73(0xfd),a117_0x11310b[a117_0x2d6f73(0x108)]=a117_0x2d6f73(0x11c),a117_0x11310b[a117_0x2d6f73(0xbd)]='sdk:cli:download',a117_0x11310b[a117_0x2d6f73(0x134)]='sdk:cli:check-update',a117_0x11310b['SDK_CLI_ON_BOOTSTRAP']=a117_0x2d6f73(0xc8),a117_0x11310b[a117_0x2d6f73(0x122)]=a117_0x2d6f73(0x126),a117_0x11310b[a117_0x2d6f73(0xef)]='sdk:cli:on-stop',a117_0x11310b[a117_0x2d6f73(0xfb)]=a117_0x2d6f73(0xd3),a117_0x11310b['SDK_CONNECT_BIN_SESSION']=a117_0x2d6f73(0xc5),a117_0x11310b['SDK_DRIVER_INIT']=a117_0x2d6f73(0x116),a117_0x11310b[a117_0x2d6f73(0x117)]=a117_0x2d6f73(0xb6),a117_0x11310b[a117_0x2d6f73(0x123)]=a117_0x2d6f73(0x131),a117_0x11310b['SDK_AUTOMATION_FRAMEWORK_START']=a117_0x2d6f73(0xdd),a117_0x11310b[a117_0x2d6f73(0x137)]='sdk:accessibilityConfig',a117_0x11310b[a117_0x2d6f73(0x100)]=a117_0x2d6f73(0xf8),a117_0x11310b[a117_0x2d6f73(0xe2)]=a117_0x2d6f73(0xfc),a117_0x11310b['SDK_AI_SELF_HEAL_GET_RESULT']=a117_0x2d6f73(0xee),a117_0x11310b[a117_0x2d6f73(0x13a)]=a117_0x2d6f73(0xf5),a117_0x11310b['SDK_TEST_SESSION_EVENT']=a117_0x2d6f73(0x109),a117_0x11310b[a117_0x2d6f73(0xd6)]=a117_0x2d6f73(0x101),a117_0x11310b[a117_0x2d6f73(0xff)]='sdk:cli:enqueueTestEvent',a117_0x11310b[a117_0x2d6f73(0x103)]='sdk:automationFrameworkStop',a117_0x11310b[a117_0x2d6f73(0xf6)]=a117_0x2d6f73(0xd0);const SDK_EVENTS=a117_0x11310b,a117_0xd865d4={};function a117_0x7d01(_0x4a3b3d,_0x4c3a4a){const _0x1693b5=a117_0x1693();return a117_0x7d01=function(_0x7d0148,_0x55489c){_0x7d0148=_0x7d0148-0xb4;let _0x3e4f6e=_0x1693b5[_0x7d0148];return _0x3e4f6e;},a117_0x7d01(_0x4a3b3d,_0x4c3a4a);}function a117_0x1693(){const _0x143d1d=['HOOK_EVENTS','sdk:test','APP_AUOTMATE_EVENTS','KEEP_ALIVE',':after','APP_UPLOAD',':download','3290070NQfcGi','sdk:automationFrameworkInit','PRE_EXECUTE','TURBOSCALE_EVENTS','SDK_CLI_CHECK_UPDATE','DOWNLOAD',':stop','SDK_ACCESSIBILITY_CONFIG','SDK_TURBOSCALE','SDK_POST_INITIALIZE','SDK_TEST_FRAMEWORK_EVENT',':get','sdk:o11y','sdk:findNearestHub',':start','SDK_TESTHUB','sdk:pre-test',':driver-manage','exports',':session-annotation','SDK_CLI_DOWNLOAD',':before-each','sdk:percy','sdk:testhub','AUTOMATE_EVENTS','1134375ktzelJ','SESSION_ANNOTATION','DRIVER_EVENT','sdk:connectBinSession','TAKE_SCREENSHOT','PRINT_BUILDLINK','sdk:cli:on-bootstrap',':get-accessibility-results-summary','SDK_PRE_INITIALIZE','SDK_DRIVER','O11y_EVENTS',':pre-execute',':auto-capture',':screenshot-app','sdk:onStop','sdk:proxy-setup','SDK_HOOK','sdk:startBinSession','BEFORE_EACH',':snapshot','SDK_CLI_LOG_CREATED_EVENT','1116836bkUtFX','SDK_AUTOMATE','1wpDIeF','A11Y_EVENTS','SDK_POST_TEST',':idle-timeout','sdk:automationFrameworkStart','SDK_O11Y',':before','sdk:auto-capture','9qoLeRH','SDK_AI_SELF_HEAL_STEP','GENERATE_CI_ARTIFACT','TESTHUB_EVENTS','PERCY_EVENTS','sdk:hook','44pxcKQY','sdk:driver:pre-initialization','IDLE_TIMEOUT','4629516phUtvV','SESSION_NAME','SDK_PERCY','sdk:driver','sdk:aiSelfHealGetResult','SDK_CLI_ON_STOP',':before-all','9CXvLTa','sdk:turboscale',':after-all',':print-buildlink','sdk:testFrameworkEvent','SDK_ON_STOP','LOCAL_START','sdk:observabilityConfig','HUB_MANAGEMENT',':local-start','SDK_START_BIN_SESSION','sdk:aiSelfHealStep','sdk:driver:post-initialization','GET_RESULTS','SDK_CLI_ENQUEUE_TEST_EVENT','SDK_OBSERVABILITY_CONFIG','sdk:cli:logCreatedEvent',':hub-management','SDK_AUTOMATION_FRAMEWORK_STOP',':after-each',':session-status','SDK_A11Y','sdk:automate','SDK_CLI_START','sdk:testSessionEvent','sdk:cleanup',':screenshot','QUIT','SDK_TEST',':session-name','sdk:app-automate',':sync',':driver-takeScreenShot','SDK_APP_AUTOMATE','445656pRkHcx','413ENtbJk','EVENTS','sdk:driverInit','SDK_FIND_NEAREST_HUB',':driver-performscan','SDK_SETUP',':get-accessibility-results','BEFORE','sdk:cli:start','SDK_CLEANUP','AFTER_ALL','START','sdk:post-test','70116ZsKoSw','SDK_CLI_ON_CONNECT','SDK_AUTOMATION_FRAMEWORK_INIT','sdk:a11y','AFTER_EACH','sdk:cli:on-connect','1225800XRNiqs','LOCAL_STOP'];a117_0x1693=function(){return _0x143d1d;};return a117_0x1693();}a117_0xd865d4[a117_0x2d6f73(0x115)]=SDK_EVENTS,a117_0xd865d4[a117_0x2d6f73(0xe4)]={},a117_0xd865d4[a117_0x2d6f73(0xc1)]={},a117_0xd865d4[a117_0x2d6f73(0xda)]={},a117_0xd865d4[a117_0x2d6f73(0xe5)]={},a117_0xd865d4[a117_0x2d6f73(0xcc)]={},a117_0xd865d4[a117_0x2d6f73(0x129)]={},a117_0xd865d4[a117_0x2d6f73(0x133)]={},a117_0xd865d4[a117_0x2d6f73(0x12b)]={},a117_0xd865d4[a117_0x2d6f73(0xc4)]={},a117_0xd865d4[a117_0x2d6f73(0xe4)][a117_0x2d6f73(0x11f)]=SDK_EVENTS[a117_0x2d6f73(0xb8)]+a117_0x2d6f73(0xb7),a117_0xd865d4[a117_0x2d6f73(0xe4)]['STOP']=SDK_EVENTS[a117_0x2d6f73(0xb8)]+a117_0x2d6f73(0x136),a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0x12c)]=SDK_EVENTS[a117_0x2d6f73(0xd8)]+':keep-alive',a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0xf9)]=SDK_EVENTS[a117_0x2d6f73(0xd8)]+':hub-management',a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0xf7)]=SDK_EVENTS[a117_0x2d6f73(0xd8)]+a117_0x2d6f73(0xfa),a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0x128)]=SDK_EVENTS[a117_0x2d6f73(0xd8)]+':local-stop',a117_0xd865d4[a117_0x2d6f73(0xc1)]['DRIVER_MANAGE']=SDK_EVENTS[a117_0x2d6f73(0xd8)]+a117_0x2d6f73(0xba),a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0xeb)]=SDK_EVENTS[a117_0x2d6f73(0xd8)]+a117_0x2d6f73(0x10e),a117_0xd865d4[a117_0x2d6f73(0xc1)]['SESSION_STATUS']=SDK_EVENTS[a117_0x2d6f73(0xd8)]+a117_0x2d6f73(0x105),a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0xc3)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x2d6f73(0xbc),a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0xe9)]=SDK_EVENTS[a117_0x2d6f73(0xd8)]+a117_0x2d6f73(0xdc),a117_0xd865d4[a117_0x2d6f73(0xc1)][a117_0x2d6f73(0xe3)]=SDK_EVENTS[a117_0x2d6f73(0xd8)]+':ci-artifacts',a117_0xd865d4[a117_0x2d6f73(0xc1)]['PRINT_BUILDLINK']=SDK_EVENTS[a117_0x2d6f73(0xd8)]+':print-buildlink',a117_0xd865d4[a117_0x2d6f73(0xda)]['PERFORM_SCAN']=SDK_EVENTS[a117_0x2d6f73(0x106)]+a117_0x2d6f73(0x118),a117_0xd865d4[a117_0x2d6f73(0xda)]['SAVE_RESULTS']=SDK_EVENTS['SDK_A11Y']+':save-results',a117_0xd865d4[a117_0x2d6f73(0xda)][a117_0x2d6f73(0xfe)]=SDK_EVENTS[a117_0x2d6f73(0x106)]+a117_0x2d6f73(0x11a),a117_0xd865d4[a117_0x2d6f73(0xda)]['GET_RESULTS_SUMMARY']=SDK_EVENTS['SDK_A11Y']+a117_0x2d6f73(0xc9),a117_0xd865d4[a117_0x2d6f73(0xe5)][a117_0x2d6f73(0x135)]=SDK_EVENTS[a117_0x2d6f73(0xec)]+a117_0x2d6f73(0x12f),a117_0xd865d4[a117_0x2d6f73(0xe5)]['SCREENSHOT']=SDK_EVENTS[a117_0x2d6f73(0xec)]+a117_0x2d6f73(0x10b),a117_0xd865d4[a117_0x2d6f73(0xe5)][a117_0x2d6f73(0x11f)]=SDK_EVENTS[a117_0x2d6f73(0xec)]+a117_0x2d6f73(0xb7),a117_0xd865d4[a117_0x2d6f73(0xe5)]['STOP']=SDK_EVENTS[a117_0x2d6f73(0xec)]+a117_0x2d6f73(0x136),a117_0xd865d4[a117_0x2d6f73(0xe5)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a117_0x2d6f73(0xce),a117_0xd865d4[a117_0x2d6f73(0xe5)]['SNAPSHOT']=SDK_EVENTS['SDK_PERCY']+a117_0x2d6f73(0xd5),a117_0xd865d4[a117_0x2d6f73(0xe5)]['SCREENSHOT_APP']=SDK_EVENTS[a117_0x2d6f73(0xec)]+a117_0x2d6f73(0xcf),a117_0xd865d4[a117_0x2d6f73(0xcc)]['SYNC']=SDK_EVENTS['SDK_O11Y']+a117_0x2d6f73(0x110),a117_0xd865d4[a117_0x2d6f73(0xcc)][a117_0x2d6f73(0xc6)]=SDK_EVENTS[a117_0x2d6f73(0xde)]+a117_0x2d6f73(0x111),a117_0xd865d4[a117_0x2d6f73(0xcc)][a117_0x2d6f73(0xc7)]=SDK_EVENTS[a117_0x2d6f73(0xde)]+':print-buildlink',a117_0xd865d4[a117_0x2d6f73(0x129)][a117_0x2d6f73(0xd4)]=SDK_EVENTS[a117_0x2d6f73(0xd2)]+a117_0x2d6f73(0xbe),a117_0xd865d4[a117_0x2d6f73(0x129)][a117_0x2d6f73(0x125)]=SDK_EVENTS[a117_0x2d6f73(0xd2)]+a117_0x2d6f73(0x104),a117_0xd865d4[a117_0x2d6f73(0x129)][a117_0x2d6f73(0x11e)]=SDK_EVENTS['SDK_HOOK']+a117_0x2d6f73(0xf3),a117_0xd865d4[a117_0x2d6f73(0x129)]['BEFORE_ALL']=SDK_EVENTS[a117_0x2d6f73(0xd2)]+a117_0x2d6f73(0xf0),a117_0xd865d4[a117_0x2d6f73(0x129)][a117_0x2d6f73(0x11b)]=SDK_EVENTS['SDK_HOOK']+a117_0x2d6f73(0xdf),a117_0xd865d4[a117_0x2d6f73(0x129)]['AFTER']=SDK_EVENTS['SDK_HOOK']+a117_0x2d6f73(0x12d),a117_0xd865d4[a117_0x2d6f73(0x133)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+a117_0x2d6f73(0x102),a117_0xd865d4[a117_0x2d6f73(0x133)][a117_0x2d6f73(0xc7)]=SDK_EVENTS[a117_0x2d6f73(0x138)]+a117_0x2d6f73(0xf4),a117_0xd865d4[a117_0x2d6f73(0x12b)][a117_0x2d6f73(0x12e)]=SDK_EVENTS['SDK_APP_AUTOMATE']+':app-upload',a117_0xd865d4[a117_0x2d6f73(0xc4)][a117_0x2d6f73(0x10c)]=SDK_EVENTS[a117_0x2d6f73(0xcb)]+':quit',a117_0xd865d4[a117_0x2d6f73(0xc4)]['GET']=SDK_EVENTS[a117_0x2d6f73(0xcb)]+a117_0x2d6f73(0xb4),a117_0xd865d4[a117_0x2d6f73(0xc4)][a117_0x2d6f73(0x132)]=SDK_EVENTS['SDK_DRIVER']+a117_0x2d6f73(0xcd),a117_0xd865d4[a117_0x2d6f73(0xc4)]['POST_EXECUTE']=SDK_EVENTS[a117_0x2d6f73(0xcb)]+':post-execute',module[a117_0x2d6f73(0xbb)]=a117_0xd865d4;
@@ -1 +1 @@
1
- const a118_0x2441cc=a118_0x5710;(function(_0x2eba88,_0x455fe2){const _0x3f566c=a118_0x5710,_0x12aec5=_0x2eba88();while(!![]){try{const _0x4fa851=parseInt(_0x3f566c(0x1d5))/0x1*(parseInt(_0x3f566c(0x222))/0x2)+-parseInt(_0x3f566c(0x21b))/0x3*(parseInt(_0x3f566c(0x22a))/0x4)+-parseInt(_0x3f566c(0x1f8))/0x5+parseInt(_0x3f566c(0x199))/0x6*(parseInt(_0x3f566c(0x1b1))/0x7)+-parseInt(_0x3f566c(0x1c5))/0x8+-parseInt(_0x3f566c(0x201))/0x9*(parseInt(_0x3f566c(0x211))/0xa)+parseInt(_0x3f566c(0x20f))/0xb;if(_0x4fa851===_0x455fe2)break;else _0x12aec5['push'](_0x12aec5['shift']());}catch(_0x356b04){_0x12aec5['push'](_0x12aec5['shift']());}}}(a118_0x47fd,0x4c024));const fs=require('fs'),fsPromise=require(a118_0x2441cc(0x1c9)),{performance,PerformanceObserver}=require(a118_0x2441cc(0x224)),path=require(a118_0x2441cc(0x205)),util=require('util'),logger=require(a118_0x2441cc(0x21d))[a118_0x2441cc(0x1ed)],{getLogDir}=require(a118_0x2441cc(0x21d)),{getProcessId,sleep,debug,getTestName}=require(a118_0x2441cc(0x22d));function a118_0x5710(_0x4289d9,_0x5bd119){const _0x47fd29=a118_0x47fd();return a118_0x5710=function(_0x57108c,_0x5cd7ab){_0x57108c=_0x57108c-0x188;let _0xedf70e=_0x47fd29[_0x57108c];return _0xedf70e;},a118_0x5710(_0x4289d9,_0x5bd119);}class PerformanceTester{static [a118_0x2441cc(0x1f7)];static [a118_0x2441cc(0x1d6)]=[];static [a118_0x2441cc(0x1da)]=[];static [a118_0x2441cc(0x233)]=[];static [a118_0x2441cc(0x234)]=![];static [a118_0x2441cc(0x1e3)]=a118_0x2441cc(0x1a6);static [a118_0x2441cc(0x1f3)]=process[a118_0x2441cc(0x1ad)]['browserStackCwd']?path['join'](process['env'][a118_0x2441cc(0x1d1)],'error-report'):path[a118_0x2441cc(0x1e6)](process[a118_0x2441cc(0x18d)](),'error-report');static ['errorReportFileName']=this[a118_0x2441cc(0x1f3)]+'/error-report-'+getProcessId()+a118_0x2441cc(0x1ae);static ['details']={};static [a118_0x2441cc(0x208)]={};static[a118_0x2441cc(0x1aa)](_0x5bc154,_0x814e8d=this[a118_0x2441cc(0x1f3)]+a118_0x2441cc(0x1e5)+getProcessId()+a118_0x2441cc(0x1ae)){const _0x1109f3=a118_0x2441cc,_0x3968c2={'zgmJv':function(_0x54bde5,_0x5126ff){return _0x54bde5===_0x5126ff;},'cbKRf':'measure','vIWRP':function(_0x22f688){return _0x22f688();},'jWyJq':function(_0x585fb2,_0x2f42dc){return _0x585fb2+_0x2f42dc;},'jfIQB':_0x1109f3(0x1ee),'NgMZG':_0x1109f3(0x20c)};try{this['jsonReportDirPath']=path['join'](_0x3968c2[_0x1109f3(0x206)](getLogDir),this[_0x1109f3(0x1e3)]),!_0x5bc154&&(_0x5bc154=this[_0x1109f3(0x1c1)]+_0x1109f3(0x1d7)+_0x3968c2['vIWRP'](getProcessId)+_0x1109f3(0x1ae)),!fs[_0x1109f3(0x189)](this['jsonReportDirPath'])&&fs[_0x1109f3(0x231)](this[_0x1109f3(0x1c1)]);}catch(_0x4b1857){logger[_0x1109f3(0x22b)](_0x3968c2[_0x1109f3(0x1ff)](_0x3968c2[_0x1109f3(0x1e2)],_0x4b1857));}if(this[_0x1109f3(0x234)]||!this[_0x1109f3(0x1d3)]())return;this[_0x1109f3(0x1f7)]=new PerformanceObserver(_0x23e23b=>{const _0x22d4ad=_0x1109f3,_0x3ad8e3={'wgcYX':function(_0x323b0b,_0x2f144e){const _0x25dc4c=a118_0x5710;return _0x3968c2[_0x25dc4c(0x197)](_0x323b0b,_0x2f144e);},'oPjlp':_0x3968c2[_0x22d4ad(0x1d2)]};_0x23e23b[_0x22d4ad(0x1c8)]()['forEach'](_0x1e77f1=>{const _0x2b65b2=_0x22d4ad;if(_0x3ad8e3[_0x2b65b2(0x1a8)](_0x1e77f1['entryType'],_0x3ad8e3[_0x2b65b2(0x1fa)])){let _0x34a2c2={};if(_0x1e77f1[_0x2b65b2(0x1c6)])_0x34a2c2=_0x1e77f1[_0x2b65b2(0x1c6)]();else for(const _0x47f543 in _0x1e77f1){_0x34a2c2[_0x47f543]=_0x1e77f1[_0x47f543];}this[_0x2b65b2(0x19f)][_0x1e77f1[_0x2b65b2(0x202)]]&&(_0x34a2c2=Object[_0x2b65b2(0x1a5)](_0x34a2c2,this['details'][_0x1e77f1[_0x2b65b2(0x202)]])),delete this[_0x2b65b2(0x19f)][_0x1e77f1[_0x2b65b2(0x202)]],this[_0x2b65b2(0x1da)][_0x2b65b2(0x20e)](_0x34a2c2);}else this['_events'][_0x2b65b2(0x20e)](_0x1e77f1);});});const _0x15d57b={};_0x15d57b[_0x1109f3(0x1ef)]=!![],_0x15d57b['entryTypes']=[_0x3968c2[_0x1109f3(0x220)],_0x3968c2['cbKRf']],this[_0x1109f3(0x1f7)][_0x1109f3(0x20d)](_0x15d57b),this[_0x1109f3(0x234)]=!![],this[_0x1109f3(0x1e9)]=_0x5bc154,this['errorReportFileName']=_0x814e8d;}static['getPerformance'](){return performance;}static[a118_0x2441cc(0x1bf)](_0x3c1ba2,_0x1de9e8){const _0x105428=a118_0x2441cc,_0x44ccfa={};_0x44ccfa['uXMNk']=function(_0x22302f,_0x4d882f){return _0x22302f+_0x4d882f;},_0x44ccfa[_0x105428(0x1cc)]=function(_0xeda650,_0x33ab22){return _0xeda650||_0x33ab22;},_0x44ccfa[_0x105428(0x1a2)]=function(_0x46077b,_0x26d521){return _0x46077b===_0x26d521;};const _0xe525c=_0x44ccfa,_0x3d3923={};if(!_0x3c1ba2||_0xe525c[_0x105428(0x1a2)](_0x3c1ba2[_0x105428(0x1af)],0x0))return;_0x3c1ba2[_0x105428(0x1e8)](_0x4c75e7=>{const _0x18c420=_0x105428;!_0x3d3923[_0x4c75e7[_0x18c420(0x202)]]&&(_0x3d3923[_0x4c75e7[_0x18c420(0x202)]]=0x0),_0x3d3923[_0x4c75e7[_0x18c420(0x202)]]+=_0x4c75e7[_0x18c420(0x215)];});const _0x55ad7c=_0x1de9e8['reduce']((_0x35f934,_0x2590cd)=>{const _0x11e112=_0x105428;return _0xe525c[_0x11e112(0x1c4)](_0x3d3923[_0x2590cd],_0xe525c['KThTB'](_0x35f934,0x0));},0x0);return _0x55ad7c;}static async['calculateTimesFromMultipleFiles'](_0x4244cb,_0x512791){const _0x7c6ca7=a118_0x2441cc,_0x2f1b91={'BRxfO':function(_0x1ca916,_0x287659){return _0x1ca916+_0x287659;},'iZDWK':function(_0x715be5,_0x168b02){return _0x715be5||_0x168b02;},'DYdrZ':function(_0x3a4025,_0x29fd7e){return _0x3a4025===_0x29fd7e;},'DrmAh':function(_0x1db4ca,_0x2a8b82){return _0x1db4ca(_0x2a8b82);},'FjVdp':function(_0x3f871a,_0x386d36){return _0x3f871a(_0x386d36);}};if(!_0x4244cb||_0x2f1b91[_0x7c6ca7(0x190)](_0x4244cb['length'],0x0))return 0x0;const _0x3f6403=[];for(const _0x229546 of _0x4244cb){const _0x3d3fbc=path[_0x7c6ca7(0x1e6)]('.',_0x229546);try{const _0x1bda28=this[_0x7c6ca7(0x195)](_0x3d3fbc);_0x1bda28[_0x7c6ca7(0x1e8)](_0x537a0b=>{const _0x1ec8ab=_0x7c6ca7;!_0x3f6403[_0x537a0b[_0x1ec8ab(0x202)]]&&(_0x3f6403[_0x537a0b[_0x1ec8ab(0x202)]]=0x0),_0x3f6403[_0x537a0b['name']]+=_0x537a0b['duration'];});}catch(_0x518419){_0x2f1b91[_0x7c6ca7(0x1b7)](debug,_0x7c6ca7(0x1fc)+_0x518419[_0x7c6ca7(0x1d9)]());}}const _0x5609da=_0x512791[_0x7c6ca7(0x1cb)]((_0x2a6421,_0x19ef49)=>{const _0x2e8046=_0x7c6ca7;return _0x2f1b91[_0x2e8046(0x237)](_0x3f6403[_0x19ef49],_0x2f1b91[_0x2e8046(0x1f0)](_0x2a6421,0x0));},0x0);return _0x2f1b91['FjVdp'](debug,_0x7c6ca7(0x1b6)+_0x512791+'\x20for\x20all\x20processes\x20is\x20'+_0x5609da),_0x5609da;}static['getEventsFromJSON'](_0x2e2e7f){const _0xb82301=a118_0x2441cc;if(_0x2e2e7f){if(!fs[_0xb82301(0x189)](_0x2e2e7f))return[];return JSON['parse'](fs[_0xb82301(0x18c)](_0x2e2e7f)[_0xb82301(0x1d9)]());}}static async['stopAndGenerate'](_0x25fa08=a118_0x2441cc(0x18a),_0x435b86=null){const _0x257d56=a118_0x2441cc,_0x4302f9={'nqNcL':function(_0x19d20c,_0x1abf60){return _0x19d20c(_0x1abf60);},'Loomc':function(_0xccc431,_0x429a23){return _0xccc431(_0x429a23);},'RFcmz':function(_0x211830,_0x54ab09){return _0x211830(_0x54ab09);}};if(!this[_0x257d56(0x234)])return;await _0x4302f9[_0x257d56(0x219)](sleep,0x1e),this[_0x257d56(0x1f7)][_0x257d56(0x1c3)](),this[_0x257d56(0x234)]=![],this[_0x257d56(0x230)](this[_0x257d56(0x1d6)]);const _0x2a3ddf=this[_0x257d56(0x21f)](this[_0x257d56(0x1d6)]),_0x178953=path[_0x257d56(0x1e6)](process['cwd'](),_0x25fa08);fs['writeFile'](_0x178953,_0x2a3ddf,_0xca6625=>{const _0x198eaa=_0x257d56;if(_0xca6625){_0x4302f9[_0x198eaa(0x196)](debug,'Error\x20in\x20writing\x20html\x20'+_0xca6625['toString']());return;}_0x4302f9[_0x198eaa(0x1be)](debug,_0x198eaa(0x213)+_0x178953);});if(_0x435b86)return this[_0x257d56(0x1bf)](this[_0x257d56(0x1d6)],_0x435b86);}static[a118_0x2441cc(0x21f)](_0xe8f912){const _0x5a5377=a118_0x2441cc,_0x46f919={};_0x46f919[_0x5a5377(0x21e)]=_0x5a5377(0x18b),_0x46f919['Ekbrd']=_0x5a5377(0x192),_0x46f919[_0x5a5377(0x21a)]=_0x5a5377(0x239),_0x46f919[_0x5a5377(0x22f)]='</tbody></table></body></html>';const _0x480f4c=_0x46f919;let _0x5a5dcb=_0x480f4c[_0x5a5377(0x21e)];return _0x5a5dcb+=_0x480f4c[_0x5a5377(0x214)],_0x5a5dcb+=_0x480f4c[_0x5a5377(0x21a)],_0xe8f912[_0x5a5377(0x227)](_0x3c60a7=>{const _0x51ee22=_0x5a5377;_0x5a5dcb+='<tr><td>'+_0x3c60a7[_0x51ee22(0x202)]+_0x51ee22(0x1f1)+_0x3c60a7[_0x51ee22(0x215)]+'</td></tr>';}),_0x5a5dcb+=_0x480f4c[_0x5a5377(0x22f)],_0x5a5dcb;}static[a118_0x2441cc(0x230)](_0x46f39e){const _0x1ce1b7=a118_0x2441cc;if(!this[_0x1ce1b7(0x1e9)])return;const _0x2b8c0d={};_0x46f39e['map'](_0x11546d=>{const _0x5dba1a=_0x1ce1b7;!_0x2b8c0d[_0x11546d[_0x5dba1a(0x202)]]&&(_0x2b8c0d[_0x11546d[_0x5dba1a(0x202)]]=0x0),_0x2b8c0d[_0x11546d[_0x5dba1a(0x202)]]+=_0x11546d[_0x5dba1a(0x215)];});const _0x2681bb=Object[_0x1ce1b7(0x1df)](_0x2b8c0d)[_0x1ce1b7(0x1e8)](([_0x11675d,_0x357076])=>{const _0x18ca3a=_0x1ce1b7,_0x528b8c={};return _0x528b8c[_0x18ca3a(0x202)]=_0x11675d,_0x528b8c[_0x18ca3a(0x215)]=_0x357076,_0x528b8c;});fs[_0x1ce1b7(0x1b8)](this[_0x1ce1b7(0x1e9)],JSON[_0x1ce1b7(0x19c)](_0x2681bb));}static[a118_0x2441cc(0x1d3)](){const _0x2f61bf=a118_0x2441cc,_0x226e2e={};_0x226e2e[_0x2f61bf(0x19e)]=function(_0x2454bd,_0x3b46f4){return _0x2454bd===_0x3b46f4;},_0x226e2e['vAcnf']=_0x2f61bf(0x223);const _0x4610c8=_0x226e2e;return!_0x4610c8['UFHhI'](process[_0x2f61bf(0x1ad)][_0x2f61bf(0x1dd)],_0x4610c8[_0x2f61bf(0x1d0)]);}static[a118_0x2441cc(0x1f2)](_0x3b9109,_0x1f6aca,_0x1e2cc4=null,_0x39e6c4={},_0x371525=null){const _0x1eb48d=a118_0x2441cc,_0x2cb111={'iTZOV':function(_0x1c6de3,_0x48a5ac){return _0x1c6de3(_0x48a5ac);},'DmDBV':function(_0x53be2c,_0x3275c6){return _0x53be2c instanceof _0x3275c6;}};try{if(this['started']&&this[_0x1eb48d(0x1d3)]()){let _0x4e2104=_0x3b9109;_0x1e2cc4&&(_0x4e2104=_0x3b9109+'['+JSON[_0x1eb48d(0x19c)](_0x1e2cc4)+']');PerformanceTester[_0x1eb48d(0x22e)](_0x4e2104),this[_0x1eb48d(0x19f)]&&(this[_0x1eb48d(0x19f)][_0x4e2104]=_0x39e6c4);try{const _0x33b454=_0x1f6aca[_0x1eb48d(0x18f)](null,_0x371525);if(_0x2cb111[_0x1eb48d(0x1a7)](_0x33b454,Promise))return new Promise((_0x43ceb9,_0x11625e)=>{const _0x19785d=_0x1eb48d,_0x3df04a={'aZhBg':function(_0x5b93e2,_0x4dea63){return _0x2cb111['iTZOV'](_0x5b93e2,_0x4dea63);}};_0x33b454[_0x19785d(0x1e1)](_0x1cf3fa=>{const _0x5e3c15=_0x19785d;PerformanceTester[_0x5e3c15(0x20a)](_0x4e2104),_0x2cb111[_0x5e3c15(0x218)](_0x43ceb9,_0x1cf3fa);})['catch'](_0x5a8102=>{const _0x7875c2=_0x19785d;PerformanceTester[_0x7875c2(0x20a)](_0x4e2104,![],util[_0x7875c2(0x1eb)](_0x5a8102)),_0x3df04a[_0x7875c2(0x226)](_0x11625e,_0x5a8102);});});;return PerformanceTester['end'](_0x4e2104),_0x33b454;}catch(_0x5d02a1){PerformanceTester[_0x1eb48d(0x20a)](_0x4e2104,![],util[_0x1eb48d(0x1eb)](_0x5d02a1));throw _0x5d02a1;}};return _0x1f6aca[_0x1eb48d(0x18f)](null,_0x371525);}catch(_0x1c8dbc){return logger[_0x1eb48d(0x22b)](_0x1eb48d(0x1e0)+(_0x1c8dbc[_0x1eb48d(0x1ea)]||_0x1c8dbc[_0x1eb48d(0x203)]||_0x1c8dbc)),_0x1f6aca[_0x1eb48d(0x18f)](null,_0x371525);}}static['measureWrapper'](_0x23f51a,_0x557991,_0x5ce19a={}){const _0x2d6675=a118_0x2441cc,_0x24a3ea={'InegV':function(_0x22164d){return _0x22164d();}},_0x45a2ed=this;return _0x5ce19a[_0x2d6675(0x1ba)]=_0x24a3ea[_0x2d6675(0x1a1)](getProcessId),_0x5ce19a['testName']=_0x24a3ea[_0x2d6675(0x1a1)](getTestName),_0x5ce19a[_0x2d6675(0x238)]=global[_0x2d6675(0x19a)]&&global[_0x2d6675(0x19a)][_0x2d6675(0x1a9)],function(){const _0x3dfbae=_0x2d6675,_0x22a516=[_0x23f51a,_0x557991,null,_0x5ce19a][_0x3dfbae(0x1d8)](arguments);return _0x45a2ed[_0x3dfbae(0x1f2)][_0x3dfbae(0x18f)](_0x45a2ed,_0x22a516);};}static[a118_0x2441cc(0x1bd)](){const _0x473570=a118_0x2441cc,_0x89fdf5=/(^.*)\[(.*)\]$/,_0x2569d1={},_0x5bbe17={},_0x57267c=[],_0x419cd9=this['_measureEvents'][_0x473570(0x1b9)](0x0,this['_measureEvents']['length']);for(const _0x1d6f4f of _0x419cd9){const _0x4034e6=_0x1d6f4f[_0x473570(0x202)][_0x473570(0x212)](_0x89fdf5),_0x383850=Object[_0x473570(0x1a5)]({},_0x1d6f4f);_0x4034e6&&(_0x383850[_0x473570(0x202)]=_0x4034e6[0x1],_0x383850[_0x473570(0x1b5)]=JSON[_0x473570(0x1f9)](_0x4034e6[0x2])),_0x57267c[_0x473570(0x20e)](_0x383850);}return _0x57267c;}static[a118_0x2441cc(0x194)](){const _0x5c2132=a118_0x2441cc,_0xfc0f16={'GEMrC':function(_0x482c31){return _0x482c31();},'tMxPA':function(_0x18f1e4,_0x398016){return _0x18f1e4+_0x398016;},'ruNie':'Error\x20while\x20removing\x20files:\x20','aQCPX':function(_0x2c893e,_0x42ce4a){return _0x2c893e===_0x42ce4a;},'rEQib':function(_0x29ff8a,_0x199fe9){return _0x29ff8a+_0x199fe9;}};try{this[_0x5c2132(0x1c1)]=path[_0x5c2132(0x1e6)](_0xfc0f16[_0x5c2132(0x1f5)](getLogDir),this[_0x5c2132(0x1e3)]);if(fs[_0x5c2132(0x189)](this[_0x5c2132(0x1c1)])){const _0x457579=fs[_0x5c2132(0x221)](this[_0x5c2132(0x1c1)]);for(const _0x52cd1 of _0x457579){fs[_0x5c2132(0x19b)](path[_0x5c2132(0x1e6)](this[_0x5c2132(0x1c1)],_0x52cd1));}}}catch(_0x67b1e7){logger[_0x5c2132(0x22b)](_0xfc0f16['tMxPA'](_0xfc0f16['ruNie'],_0x67b1e7));}if(_0xfc0f16[_0x5c2132(0x1c7)](this[_0x5c2132(0x1da)][_0x5c2132(0x1af)],0x0))return;const _0x261cbc=this[_0x5c2132(0x1bd)](),_0x58217b=JSON['stringify'](_0x261cbc),_0x571c3d=_0xfc0f16[_0x5c2132(0x232)](_0x58217b[_0x5c2132(0x229)](0x1,-0x1),',');fs[_0x5c2132(0x1ec)](this['jsonReportFileName'],_0x571c3d);}static async[a118_0x2441cc(0x1ca)](){const _0x1e7ae7=a118_0x2441cc,_0x3f1d6e={'loizd':function(_0x7b946e){return _0x7b946e();},'cOwYk':function(_0x3660cb,_0x216b22){return _0x3660cb===_0x216b22;},'lLfRL':_0x1e7ae7(0x1bb),'vndPB':_0x1e7ae7(0x19d),'Rcxht':_0x1e7ae7(0x1fe),'USlRr':function(_0x30c7a6,_0x596422){return _0x30c7a6+_0x596422;},'SfEIX':_0x1e7ae7(0x21c),'chIXn':'key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','fPzLI':_0x1e7ae7(0x207),'adSXX':function(_0x577eea,_0x58795e){return _0x577eea>_0x58795e;}};this['jsonReportDirPath']=path[_0x1e7ae7(0x1e6)](_0x3f1d6e[_0x1e7ae7(0x1e4)](getLogDir),this[_0x1e7ae7(0x1e3)]);if(!this['started']||_0x3f1d6e[_0x1e7ae7(0x1cd)](this['_measureEvents'][_0x1e7ae7(0x1af)],0x0))return[];if(!fs[_0x1e7ae7(0x189)](this['jsonReportDirPath']))return this[_0x1e7ae7(0x1da)];const _0x4dab6b=(await fsPromise[_0x1e7ae7(0x1dc)](this[_0x1e7ae7(0x1c1)]))[_0x1e7ae7(0x1e8)](_0x50b4bf=>path[_0x1e7ae7(0x235)](this[_0x1e7ae7(0x1c1)],_0x50b4bf));try{const _0x2df1dc=path[_0x1e7ae7(0x1bc)](this[_0x1e7ae7(0x1c1)]),_0x231449=path['join'](_0x2df1dc,_0x3f1d6e[_0x1e7ae7(0x1fb)]);if(fs[_0x1e7ae7(0x189)](_0x231449))try{await fsPromise[_0x1e7ae7(0x1b2)](_0x231449,fs['constants'][_0x1e7ae7(0x236)]);const _0x43d2b8=await fsPromise[_0x1e7ae7(0x1f6)](_0x231449,_0x3f1d6e[_0x1e7ae7(0x1b0)]),_0x3c5133=JSON[_0x1e7ae7(0x1f9)](_0x43d2b8),_0x683b4e=path[_0x1e7ae7(0x1e6)](this[_0x1e7ae7(0x1c1)],_0x3f1d6e[_0x1e7ae7(0x20b)]);let _0xcfd5d3='';Array['isArray'](_0x3c5133)?_0xcfd5d3=_0x3f1d6e[_0x1e7ae7(0x1b3)](_0x3c5133['map'](_0x872636=>JSON[_0x1e7ae7(0x19c)](_0x872636))[_0x1e7ae7(0x1e6)](','),','):_0xcfd5d3=_0x3f1d6e[_0x1e7ae7(0x1b3)](JSON[_0x1e7ae7(0x19c)](_0x3c5133),','),await fsPromise['writeFile'](_0x683b4e,_0xcfd5d3),_0x4dab6b[_0x1e7ae7(0x20e)](_0x683b4e),await fsPromise[_0x1e7ae7(0x18e)](_0x231449);}catch(_0x3e3d94){logger['info'](util[_0x1e7ae7(0x1eb)](_0x3f1d6e['SfEIX'],_0x3e3d94[_0x1e7ae7(0x1ea)]||_0x3e3d94[_0x1e7ae7(0x203)]||_0x3e3d94));}else logger[_0x1e7ae7(0x1a3)](_0x3f1d6e['chIXn']);}catch(_0x433771){logger['info'](util[_0x1e7ae7(0x1eb)](_0x3f1d6e[_0x1e7ae7(0x1ac)],_0x433771[_0x1e7ae7(0x1ea)]||_0x433771['message']||_0x433771));}let _0x23be55=(await Promise[_0x1e7ae7(0x1ce)](_0x4dab6b['map'](_0x106455=>fsPromise[_0x1e7ae7(0x1f6)](_0x106455,'utf-8'))))[_0x1e7ae7(0x1e8)](_0x41e48e=>'['+_0x41e48e['slice'](0x0,-0x1)+']')['map'](_0x51062d=>JSON[_0x1e7ae7(0x1f9)](_0x51062d))['flat']();return _0x3f1d6e[_0x1e7ae7(0x191)](this[_0x1e7ae7(0x1da)][_0x1e7ae7(0x1af)],0x0)&&(_0x23be55=_0x23be55[_0x1e7ae7(0x1d8)](this[_0x1e7ae7(0x1bd)]())),this['_observer'][_0x1e7ae7(0x1c3)](),_0x23be55;}static['pushErrors'](){const _0x59632b=a118_0x2441cc,_0x10b30c={};_0x10b30c['pIHCY']=function(_0x5b4446,_0x2f82b3){return _0x5b4446===_0x2f82b3;},_0x10b30c[_0x59632b(0x1b4)]=function(_0xcac4af,_0x2bd768){return _0xcac4af+_0x2bd768;};const _0x59afa9=_0x10b30c;if(_0x59afa9[_0x59632b(0x217)](this[_0x59632b(0x233)][_0x59632b(0x1af)],0x0))return;const _0x4cd0a1=JSON[_0x59632b(0x19c)](this['_errorEvents']),_0x3b717f=_0x59afa9['veYsz'](_0x4cd0a1[_0x59632b(0x229)](0x1,-0x1),',');fs['appendFileSync'](this[_0x59632b(0x228)],_0x3b717f);}static['finalizeErrors'](){const _0x5a4e8f=a118_0x2441cc,_0x27faf4={};_0x27faf4['OPReP']=function(_0x377f60,_0x519665){return _0x377f60>_0x519665;};const _0x44b1ee=_0x27faf4;if(this['errorReportFileName']){if(!fs[_0x5a4e8f(0x189)](this[_0x5a4e8f(0x1d4)]))return this[_0x5a4e8f(0x233)];let _0x5ccf5b=fs['readFileSync'](this['errorReportFileName'])[_0x5a4e8f(0x1d9)]();_0x5ccf5b='['+_0x5ccf5b['slice'](0x0,-0x1)+']';let _0x13b8ff=JSON[_0x5a4e8f(0x1f9)](_0x5ccf5b);return _0x44b1ee[_0x5a4e8f(0x188)](this[_0x5a4e8f(0x233)]['length'],0x0)&&(_0x13b8ff=_0x13b8ff[_0x5a4e8f(0x1d8)](this[_0x5a4e8f(0x233)])),fs[_0x5a4e8f(0x19b)](this[_0x5a4e8f(0x1d4)]),_0x13b8ff;}}static[a118_0x2441cc(0x198)](_0x46beb7){const _0x334103=a118_0x2441cc;if(!this['isEnabled']())return;this[_0x334103(0x233)][_0x334103(0x20e)]({'message':_0x46beb7[_0x334103(0x203)],'trace':_0x46beb7[_0x334103(0x1ea)],'code':_0x46beb7[_0x334103(0x22c)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x1c2a98=a118_0x2441cc;try{if(!this['isEnabled']())return;this[_0x1c2a98(0x1f7)][_0x1c2a98(0x1c3)](),this[_0x1c2a98(0x194)](),this[_0x1c2a98(0x210)]();}catch(_0x422dd5){logger[_0x1c2a98(0x22b)](_0x1c2a98(0x1fd)+util[_0x1c2a98(0x1eb)](_0x422dd5));}}static async[a118_0x2441cc(0x225)](){const _0x269172=a118_0x2441cc,_0x29dd6d={'jwmyE':function(_0x1b9ac8,_0x2675c0){return _0x1b9ac8(_0x2675c0);}};await _0x29dd6d[_0x269172(0x1e7)](sleep,0x1e);const _0xd97512=await this[_0x269172(0x1ca)](),_0x5d4812=this[_0x269172(0x1c2)]();if(!this[_0x269172(0x1d3)]()){const _0x37d549={};return _0x37d549['measures']=[],_0x37d549['errors']=[],_0x37d549;}const _0x3ddfde={};return _0x3ddfde['measures']=_0xd97512,_0x3ddfde[_0x269172(0x1de)]=_0x5d4812,_0x3ddfde;}static[a118_0x2441cc(0x22e)](_0x41add5){const _0x709c82=a118_0x2441cc,_0x532479={};_0x532479['hWAwJ']=function(_0x16bae1,_0x27f5fd){return _0x16bae1+_0x27f5fd;},_0x532479[_0x709c82(0x193)]=_0x709c82(0x209);const _0x273f3f=_0x532479,_0x13851c=_0x273f3f['hWAwJ'](_0x41add5,_0x273f3f['aGpAq']);if(this[_0x709c82(0x208)][_0x13851c])return;performance[_0x709c82(0x1f4)](_0x13851c),this['eventsMap'][_0x13851c]=0x1;}static[a118_0x2441cc(0x20a)](_0x785c3b,_0x327158=!![],_0x5eff8d=null,_0x40356d={}){const _0xdbe652=a118_0x2441cc,_0x4216b3={'Hyzpw':function(_0x34e6d7,_0x2a5ae2){return _0x34e6d7+_0x2a5ae2;},'KTSrZ':_0xdbe652(0x1a4),'ryUIb':_0xdbe652(0x209),'wdItJ':function(_0x2b7643,_0x467e9a){return _0x2b7643+_0x467e9a;},'KvNVF':function(_0x488c44){return _0x488c44();}};performance[_0xdbe652(0x1f4)](_0x4216b3[_0xdbe652(0x204)](_0x785c3b,_0x4216b3[_0xdbe652(0x200)])),performance[_0xdbe652(0x1f2)](_0x785c3b,_0x4216b3[_0xdbe652(0x204)](_0x785c3b,_0x4216b3[_0xdbe652(0x1a0)]),_0x4216b3[_0xdbe652(0x1db)](_0x785c3b,_0x4216b3[_0xdbe652(0x200)]));const _0xf9fb79={};_0xf9fb79[_0xdbe652(0x1cf)]=_0x327158,_0xf9fb79[_0xdbe652(0x1c0)]=_0x5eff8d,this[_0xdbe652(0x19f)][_0x785c3b]=Object['assign'](_0xf9fb79,Object[_0xdbe652(0x1a5)](Object[_0xdbe652(0x1a5)]({'worker':_0x4216b3[_0xdbe652(0x1ab)](getProcessId),'platform':global[_0xdbe652(0x19a)]&&global[_0xdbe652(0x19a)][_0xdbe652(0x1a9)],'testName':_0x4216b3[_0xdbe652(0x1ab)](getTestName)},_0x40356d),this[_0xdbe652(0x19f)][_0x785c3b]||{}));}}function a118_0x47fd(){const _0x2380ef=['Hyzpw','path','vIWRP','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','eventsMap','-start','end','Rcxht','function','observe','push','6331611LHwXVq','pushErrors','10XIZHaj','match','Performance\x20report\x20is\x20at\x20','Ekbrd','duration','exports','pIHCY','iTZOV','RFcmz','BNLva','41892DHEZGi','Error\x20processing\x20key-metrics.json:\x20%s','../logger','GYXFb','generateHTMLReport','NgMZG','readdirSync','1078842SLWNzx','false','perf_hooks','finalize','aZhBg','forEach','errorFile','slice','32RWQrxX','debug','code','../processHelper','start','whdVn','generateJSON','mkdirSync','rEQib','_errorEvents','started','resolve','F_OK','BRxfO','platform','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','OPReP','existsSync','performance-own.html','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','readFileSync','cwd','unlink','apply','DYdrZ','adSXX','<h1>Performance\x20Report</h1>','aGpAq','pushPerfMeasures','getEventsFromJSON','nqNcL','zgmJv','captureError','18kApKKr','__platformCaps','unlinkSync','stringify','utf-8','UFHhI','details','ryUIb','InegV','KXcFr','info','-end','assign','performance-report','DmDBV','wgcYX','index','startMonitoring','KvNVF','fPzLI','env','.json','length','vndPB','1107995CGpZFA','access','USlRr','veYsz','meta','Time\x20for\x20','DrmAh','writeFileSync','splice','worker','key-metrics.json','dirname','getCleanedPerfEvents','Loomc','calculateTimeFromEvents','failure','jsonReportDirPath','finalizeErrors','disconnect','uXMNk','4519080nKBsWD','toJSON','aQCPX','getEntries','fs/promises','finalizePerfMeasures','reduce','KThTB','cOwYk','all','success','vAcnf','browserStackCwd','cbKRf','isEnabled','errorReportFileName','1yQbAbz','_events','/performance-report-','concat','toString','_measureEvents','wdItJ','readdir','BROWSERSTACK_SDK_INSTRUMENTATION','errors','entries','error\x20in\x20measure\x20','then','jfIQB','jsonReportDirName','loizd','/error-report-','join','jwmyE','map','jsonReportFileName','stack','format','appendFileSync','winstonLogger','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','buffered','iZDWK','</td><td>','measure','errorReportDirName','mark','GEMrC','readFile','_observer','961130ReErtL','parse','oPjlp','lLfRL','Error\x20in\x20doing\x20csv\x20operations:\x20','Error\x20stopping\x20monitoring\x20','modified-key-metrics.json','jWyJq','KTSrZ','3687498BuOrDQ','name','message'];a118_0x47fd=function(){return _0x2380ef;};return a118_0x47fd();}module[a118_0x2441cc(0x216)]=PerformanceTester;
1
+ function a118_0x330a(){const _0x33f2bf=['generateJSON','190506FlLFQR','_events','getEventsFromJSON','-end','index','readFileSync','388894dcJJSQ','548788DPjoHs','/error-report-','.json','2754992oDUksJ','match','length','</tbody></table></body></html>','iKLBt','failure','map','/performance-report-','measures','JzVti','writeFileSync','jsonReportDirPath','dyICx','captureError','rTzcb','ciOai','</td></tr>','slice','DpWYu','entryType','constants','DjwPT','details','HjjHm','sLJRT','info','82796vFpeoe','duration','startMonitoring','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','zXbQp','mkdirSync','flat','utf-8','resolve','AhZhz','OlHpM','browserStackCwd','toString','errorFile','entryTypes','amBsx','uaSip','measureWrapper','vsSJn','Error\x20processing\x20key-metrics.json:\x20%s','winstonLogger','access','_observer','success','platform','forEach','performance-own.html','sXdSp','eventsMap','error-report','\x20for\x20all\x20processes\x20is\x20','getCleanedPerfEvents','name','then','parse','fs/promises','nTynt','util','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','pushPerfMeasures','finalize','finalizeErrors','dirname','IeOVH','calculateTimeFromEvents','iGdzI','isEnabled','writeFile','env','key-metrics.json','concat','2435286wrKhwK','errorReportFileName','mEkoo','lxtKt','Time\x20for\x20','error\x20in\x20measure\x20','YYmPz','NIhAq','jsonReportFileName','message','../processHelper','errorReportDirName','getPerformance','sxPqH','odGEb','Error\x20in\x20writing\x20html\x20','rhYbT','errors','spFAT','toJSON','modified-key-metrics.json','yizWt','join','HWGRn','entries','ePNTu','unlinkSync','pushErrors','format','Error\x20while\x20removing\x20files:\x20','cwd','KxWOU','zYeDF','stringify','BROWSERSTACK_SDK_INSTRUMENTATION','GdVGG','buffered','false','KvqKF','getEntries','VzznH','</td><td>','<tr><td>','stack','MmHyx','meta','F_OK','XJsXs','_measureEvents','FTnsh','ozusL','__platformCaps','perf_hooks','Error\x20stopping\x20monitoring\x20','jsonReportDirName','bYYqm','rKlyr','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','push','LDohk','debug','Error\x20in\x20doing\x20csv\x20operations:\x20','1321698GvBbpL','AdxkK','appendFileSync','assign','unlink','existsSync','../logger','catch','end','HfURx','apply','splice','measure','generateHTMLReport','disconnect','_errorEvents','-start','started','readFile','mark','AzaFD','95thujgL','<h1>Performance\x20Report</h1>','reduce','start'];a118_0x330a=function(){return _0x33f2bf;};return a118_0x330a();}const a118_0x553949=a118_0x24e0;function a118_0x24e0(_0x3b95d4,_0x5ddc70){const _0x330a0c=a118_0x330a();return a118_0x24e0=function(_0x24e01c,_0x4a1a57){_0x24e01c=_0x24e01c-0x1e4;let _0x47f9a8=_0x330a0c[_0x24e01c];return _0x47f9a8;},a118_0x24e0(_0x3b95d4,_0x5ddc70);}(function(_0x2ef9aa,_0x30e965){const _0x22ac6f=a118_0x24e0,_0x4d7ace=_0x2ef9aa();while(!![]){try{const _0x2ba85b=parseInt(_0x22ac6f(0x215))/0x1+parseInt(_0x22ac6f(0x214))/0x2+parseInt(_0x22ac6f(0x20e))/0x3+-parseInt(_0x22ac6f(0x232))/0x4*(-parseInt(_0x22ac6f(0x209))/0x5)+-parseInt(_0x22ac6f(0x1f4))/0x6+-parseInt(_0x22ac6f(0x265))/0x7+-parseInt(_0x22ac6f(0x218))/0x8;if(_0x2ba85b===_0x30e965)break;else _0x4d7ace['push'](_0x4d7ace['shift']());}catch(_0x40989){_0x4d7ace['push'](_0x4d7ace['shift']());}}}(a118_0x330a,0x462e7));const fs=require('fs'),fsPromise=require(a118_0x553949(0x255)),{performance,PerformanceObserver}=require(a118_0x553949(0x1ea)),path=require('path'),util=require(a118_0x553949(0x257)),logger=require(a118_0x553949(0x1fa))[a118_0x553949(0x246)],{getLogDir}=require(a118_0x553949(0x1fa)),{getProcessId,sleep,debug,getTestName}=require(a118_0x553949(0x26f));class PerformanceTester{static ['_observer'];static ['_events']=[];static ['_measureEvents']=[];static ['_errorEvents']=[];static ['started']=![];static [a118_0x553949(0x1ec)]='performance-report';static ['errorReportDirName']=process[a118_0x553949(0x262)][a118_0x553949(0x23d)]?path[a118_0x553949(0x27b)](process[a118_0x553949(0x262)][a118_0x553949(0x23d)],a118_0x553949(0x24f)):path['join'](process[a118_0x553949(0x283)](),a118_0x553949(0x24f));static [a118_0x553949(0x266)]=this[a118_0x553949(0x270)]+a118_0x553949(0x216)+getProcessId()+a118_0x553949(0x217);static [a118_0x553949(0x22e)]={};static ['eventsMap']={};static[a118_0x553949(0x234)](_0x26d440,_0x3d48d9=this[a118_0x553949(0x270)]+'/error-report-'+getProcessId()+a118_0x553949(0x217)){const _0x2d1e59=a118_0x553949,_0x1a3c0c={'wcScK':function(_0x1772f7,_0x3a332f){return _0x1772f7===_0x3a332f;},'rhYbT':'measure','HjjHm':function(_0x33f095){return _0x33f095();},'odGEb':function(_0x4de93c){return _0x4de93c();},'xfevW':function(_0x4460e7,_0xc1abd6){return _0x4460e7+_0xc1abd6;},'YYmPz':_0x2d1e59(0x258),'HfURx':'function'};try{this[_0x2d1e59(0x223)]=path[_0x2d1e59(0x27b)](_0x1a3c0c[_0x2d1e59(0x22f)](getLogDir),this[_0x2d1e59(0x1ec)]),!_0x26d440&&(_0x26d440=this[_0x2d1e59(0x223)]+_0x2d1e59(0x21f)+_0x1a3c0c[_0x2d1e59(0x273)](getProcessId)+_0x2d1e59(0x217)),!fs['existsSync'](this[_0x2d1e59(0x223)])&&fs[_0x2d1e59(0x237)](this['jsonReportDirPath']);}catch(_0x4b4639){logger[_0x2d1e59(0x1f2)](_0x1a3c0c['xfevW'](_0x1a3c0c[_0x2d1e59(0x26b)],_0x4b4639));}if(this['started']||!this['isEnabled']())return;this[_0x2d1e59(0x248)]=new PerformanceObserver(_0xad1d1=>{const _0x3b2b24=_0x2d1e59;_0xad1d1[_0x3b2b24(0x28c)]()[_0x3b2b24(0x24b)](_0x186d44=>{const _0x184441=_0x3b2b24;if(_0x1a3c0c['wcScK'](_0x186d44[_0x184441(0x22b)],_0x1a3c0c[_0x184441(0x275)])){let _0x16ff87={};if(_0x186d44[_0x184441(0x278)])_0x16ff87=_0x186d44[_0x184441(0x278)]();else for(const _0x2e9c5f in _0x186d44){_0x16ff87[_0x2e9c5f]=_0x186d44[_0x2e9c5f];}this[_0x184441(0x22e)][_0x186d44[_0x184441(0x252)]]&&(_0x16ff87=Object[_0x184441(0x1f7)](_0x16ff87,this['details'][_0x186d44['name']])),delete this[_0x184441(0x22e)][_0x186d44[_0x184441(0x252)]],this[_0x184441(0x1e6)][_0x184441(0x1f0)](_0x16ff87);}else this['_events'][_0x184441(0x1f0)](_0x186d44);});});const _0x780439={};_0x780439[_0x2d1e59(0x289)]=!![],_0x780439[_0x2d1e59(0x240)]=[_0x1a3c0c[_0x2d1e59(0x1fd)],_0x1a3c0c[_0x2d1e59(0x275)]],this[_0x2d1e59(0x248)]['observe'](_0x780439),this[_0x2d1e59(0x205)]=!![],this[_0x2d1e59(0x26d)]=_0x26d440,this[_0x2d1e59(0x266)]=_0x3d48d9;}static[a118_0x553949(0x271)](){return performance;}static[a118_0x553949(0x25e)](_0x51e4ac,_0x4651ed){const _0xfec59=a118_0x553949,_0x30f91a={};_0x30f91a[_0xfec59(0x268)]=function(_0x2828d8,_0x1b18ab){return _0x2828d8+_0x1b18ab;},_0x30f91a['sxPqH']=function(_0x2ae8ca,_0x1dc58c){return _0x2ae8ca||_0x1dc58c;},_0x30f91a[_0xfec59(0x285)]=function(_0x21eb03,_0x5edfae){return _0x21eb03===_0x5edfae;};const _0x42a4d7=_0x30f91a,_0x2327c8={};if(!_0x51e4ac||_0x42a4d7['zYeDF'](_0x51e4ac[_0xfec59(0x21a)],0x0))return;_0x51e4ac[_0xfec59(0x21e)](_0x10895b=>{const _0x5ede3c=_0xfec59;!_0x2327c8[_0x10895b['name']]&&(_0x2327c8[_0x10895b['name']]=0x0),_0x2327c8[_0x10895b[_0x5ede3c(0x252)]]+=_0x10895b[_0x5ede3c(0x233)];});const _0x31a4ac=_0x4651ed['reduce']((_0x53dbe6,_0x4cbe09)=>{const _0x18f5c1=_0xfec59;return _0x42a4d7['lxtKt'](_0x2327c8[_0x4cbe09],_0x42a4d7[_0x18f5c1(0x272)](_0x53dbe6,0x0));},0x0);return _0x31a4ac;}static async['calculateTimesFromMultipleFiles'](_0x537df7,_0x4df5bc){const _0xeeb6f8=a118_0x553949,_0x3ba298={'AdxkK':function(_0x4fe856,_0x59b382){return _0x4fe856+_0x59b382;},'iUARr':function(_0x19dd16,_0x222f8b){return _0x19dd16||_0x222f8b;},'JzVti':function(_0x125a58,_0x3bd672){return _0x125a58===_0x3bd672;},'pUyAR':function(_0x3b11a5,_0x398320){return _0x3b11a5(_0x398320);},'DjwPT':function(_0x43aed6,_0x1eeb56){return _0x43aed6(_0x1eeb56);}};if(!_0x537df7||_0x3ba298[_0xeeb6f8(0x221)](_0x537df7['length'],0x0))return 0x0;const _0x6ebad2=[];for(const _0x2cd29c of _0x537df7){const _0x4f8ac7=path['join']('.',_0x2cd29c);try{const _0x365502=this[_0xeeb6f8(0x210)](_0x4f8ac7);_0x365502[_0xeeb6f8(0x21e)](_0x4e7038=>{const _0x4ececf=_0xeeb6f8;!_0x6ebad2[_0x4e7038[_0x4ececf(0x252)]]&&(_0x6ebad2[_0x4e7038['name']]=0x0),_0x6ebad2[_0x4e7038['name']]+=_0x4e7038['duration'];});}catch(_0x4922f9){_0x3ba298['pUyAR'](debug,_0xeeb6f8(0x1f3)+_0x4922f9[_0xeeb6f8(0x23e)]());}}const _0xad6f22=_0x4df5bc[_0xeeb6f8(0x20b)]((_0x44689f,_0x239bd7)=>{const _0x42b455=_0xeeb6f8;return _0x3ba298[_0x42b455(0x1f5)](_0x6ebad2[_0x239bd7],_0x3ba298['iUARr'](_0x44689f,0x0));},0x0);return _0x3ba298[_0xeeb6f8(0x22d)](debug,_0xeeb6f8(0x269)+_0x4df5bc+_0xeeb6f8(0x250)+_0xad6f22),_0xad6f22;}static['getEventsFromJSON'](_0x41339d){const _0x58c084=a118_0x553949;if(_0x41339d){if(!fs['existsSync'](_0x41339d))return[];return JSON[_0x58c084(0x254)](fs[_0x58c084(0x213)](_0x41339d)[_0x58c084(0x23e)]());}}static async['stopAndGenerate'](_0x24250b=a118_0x553949(0x24c),_0x29a618=null){const _0x158e62=a118_0x553949,_0x1809b7={'iKLBt':function(_0x46eb79,_0x2b8768){return _0x46eb79(_0x2b8768);},'iGdzI':function(_0x173e5e,_0x37a5b0){return _0x173e5e(_0x37a5b0);}};if(!this['started'])return;await _0x1809b7[_0x158e62(0x25f)](sleep,0x1e),this['_observer']['disconnect'](),this[_0x158e62(0x205)]=![],this[_0x158e62(0x20d)](this[_0x158e62(0x20f)]);const _0x2913e=this[_0x158e62(0x201)](this[_0x158e62(0x20f)]),_0x4c5a7f=path[_0x158e62(0x27b)](process[_0x158e62(0x283)](),_0x24250b);fs[_0x158e62(0x261)](_0x4c5a7f,_0x2913e,_0x428b22=>{const _0x25e78b=_0x158e62;if(_0x428b22){_0x1809b7[_0x25e78b(0x21c)](debug,_0x25e78b(0x274)+_0x428b22[_0x25e78b(0x23e)]());return;}_0x1809b7[_0x25e78b(0x25f)](debug,'Performance\x20report\x20is\x20at\x20'+_0x4c5a7f);});if(_0x29a618)return this['calculateTimeFromEvents'](this[_0x158e62(0x20f)],_0x29a618);}static[a118_0x553949(0x201)](_0x1f76d3){const _0x4cb9f6=a118_0x553949,_0x171dc8={};_0x171dc8[_0x4cb9f6(0x27c)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x171dc8[_0x4cb9f6(0x28b)]=_0x4cb9f6(0x20a),_0x171dc8[_0x4cb9f6(0x1ee)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x171dc8[_0x4cb9f6(0x236)]=_0x4cb9f6(0x21b);const _0x50a413=_0x171dc8;let _0x58d116=_0x50a413[_0x4cb9f6(0x27c)];return _0x58d116+=_0x50a413['KvqKF'],_0x58d116+=_0x50a413['rKlyr'],_0x1f76d3[_0x4cb9f6(0x24b)](_0x4a0b79=>{const _0x569d74=_0x4cb9f6;_0x58d116+=_0x569d74(0x28f)+_0x4a0b79[_0x569d74(0x252)]+_0x569d74(0x28e)+_0x4a0b79[_0x569d74(0x233)]+_0x569d74(0x228);}),_0x58d116+=_0x50a413['zXbQp'],_0x58d116;}static[a118_0x553949(0x20d)](_0x36f55b){const _0x1fe217=a118_0x553949;if(!this[_0x1fe217(0x26d)])return;const _0xe6b23c={};_0x36f55b[_0x1fe217(0x21e)](_0x30fe6a=>{const _0x1d70dc=_0x1fe217;!_0xe6b23c[_0x30fe6a[_0x1d70dc(0x252)]]&&(_0xe6b23c[_0x30fe6a[_0x1d70dc(0x252)]]=0x0),_0xe6b23c[_0x30fe6a[_0x1d70dc(0x252)]]+=_0x30fe6a['duration'];});const _0x5b63d4=Object[_0x1fe217(0x27d)](_0xe6b23c)[_0x1fe217(0x21e)](([_0x9d3e0e,_0x4e6e97])=>{const _0x462f6a=_0x1fe217,_0x54d7c0={};return _0x54d7c0[_0x462f6a(0x252)]=_0x9d3e0e,_0x54d7c0[_0x462f6a(0x233)]=_0x4e6e97,_0x54d7c0;});fs[_0x1fe217(0x222)](this[_0x1fe217(0x26d)],JSON[_0x1fe217(0x286)](_0x5b63d4));}static[a118_0x553949(0x260)](){const _0x5cb294=a118_0x553949,_0x287ce0={};_0x287ce0[_0x5cb294(0x1f1)]=function(_0x191151,_0x428fd4){return _0x191151===_0x428fd4;},_0x287ce0[_0x5cb294(0x1e5)]=_0x5cb294(0x28a);const _0xb46330=_0x287ce0;return!_0xb46330[_0x5cb294(0x1f1)](process[_0x5cb294(0x262)][_0x5cb294(0x287)],_0xb46330[_0x5cb294(0x1e5)]);}static[a118_0x553949(0x200)](_0x145531,_0x573c40,_0x4b8076=null,_0x1d430c={},_0x169573=null){const _0x3323aa=a118_0x553949,_0xb4b974={'AzaFD':function(_0x296672,_0x1c1dc1){return _0x296672(_0x1c1dc1);},'mEkoo':function(_0x2c06ab,_0x317935){return _0x2c06ab instanceof _0x317935;}};try{if(this[_0x3323aa(0x205)]&&this[_0x3323aa(0x260)]()){let _0xe856af=_0x145531;_0x4b8076&&(_0xe856af=_0x145531+'['+JSON[_0x3323aa(0x286)](_0x4b8076)+']');PerformanceTester[_0x3323aa(0x20c)](_0xe856af),this[_0x3323aa(0x22e)]&&(this[_0x3323aa(0x22e)][_0xe856af]=_0x1d430c);try{const _0x18d2ea=_0x573c40[_0x3323aa(0x1fe)](null,_0x169573);if(_0xb4b974[_0x3323aa(0x267)](_0x18d2ea,Promise))return new Promise((_0x38cb9d,_0x5eb75e)=>{const _0x370ffa=_0x3323aa;_0x18d2ea[_0x370ffa(0x253)](_0x431f63=>{const _0x28640e=_0x370ffa;PerformanceTester[_0x28640e(0x1fc)](_0xe856af),_0xb4b974[_0x28640e(0x208)](_0x38cb9d,_0x431f63);})[_0x370ffa(0x1fb)](_0x5279cd=>{const _0x34b819=_0x370ffa;PerformanceTester[_0x34b819(0x1fc)](_0xe856af,![],util[_0x34b819(0x281)](_0x5279cd)),_0xb4b974[_0x34b819(0x208)](_0x5eb75e,_0x5279cd);});});;return PerformanceTester[_0x3323aa(0x1fc)](_0xe856af),_0x18d2ea;}catch(_0x521cbf){PerformanceTester['end'](_0xe856af,![],util[_0x3323aa(0x281)](_0x521cbf));throw _0x521cbf;}};return _0x573c40[_0x3323aa(0x1fe)](null,_0x169573);}catch(_0x3856c9){return logger[_0x3323aa(0x1f2)](_0x3323aa(0x26a)+(_0x3856c9[_0x3323aa(0x290)]||_0x3856c9['message']||_0x3856c9)),_0x573c40[_0x3323aa(0x1fe)](null,_0x169573);}}static[a118_0x553949(0x243)](_0x5d54a0,_0x42ad6d,_0x23065e={}){const _0x20db97=a118_0x553949,_0x1c3446={'DpWYu':function(_0x4e6c40){return _0x4e6c40();},'FTnsh':function(_0x2e67fb){return _0x2e67fb();}},_0x51df85=this;return _0x23065e['worker']=_0x1c3446[_0x20db97(0x22a)](getProcessId),_0x23065e['testName']=_0x1c3446[_0x20db97(0x1e7)](getTestName),_0x23065e[_0x20db97(0x24a)]=global[_0x20db97(0x1e9)]&&global[_0x20db97(0x1e9)]['index'],function(){const _0x59795a=_0x20db97,_0x57aa24=[_0x5d54a0,_0x42ad6d,null,_0x23065e]['concat'](arguments);return _0x51df85[_0x59795a(0x200)][_0x59795a(0x1fe)](_0x51df85,_0x57aa24);};}static[a118_0x553949(0x251)](){const _0x53493a=a118_0x553949,_0x2b4d19=/(^.*)\[(.*)\]$/,_0x37fa5e={},_0x1595d0={},_0x4a1855=[],_0xe6e355=this[_0x53493a(0x1e6)][_0x53493a(0x1ff)](0x0,this[_0x53493a(0x1e6)][_0x53493a(0x21a)]);for(const _0x34e2fc of _0xe6e355){const _0x2a9f8a=_0x34e2fc['name'][_0x53493a(0x219)](_0x2b4d19),_0x4c24a5=Object[_0x53493a(0x1f7)]({},_0x34e2fc);_0x2a9f8a&&(_0x4c24a5['name']=_0x2a9f8a[0x1],_0x4c24a5[_0x53493a(0x292)]=JSON[_0x53493a(0x254)](_0x2a9f8a[0x2])),_0x4a1855[_0x53493a(0x1f0)](_0x4c24a5);}return _0x4a1855;}static[a118_0x553949(0x259)](){const _0x721b17=a118_0x553949,_0x3f4ace={'ozusL':function(_0x3e518c){return _0x3e518c();},'MmHyx':function(_0x36e5ef,_0x1264c3){return _0x36e5ef+_0x1264c3;},'nTynt':_0x721b17(0x282),'bYYqm':function(_0x3f483c,_0x3d040d){return _0x3f483c===_0x3d040d;}};try{this[_0x721b17(0x223)]=path[_0x721b17(0x27b)](_0x3f4ace[_0x721b17(0x1e8)](getLogDir),this['jsonReportDirName']);if(fs['existsSync'](this['jsonReportDirPath'])){const _0x2b6363=fs['readdirSync'](this[_0x721b17(0x223)]);for(const _0x5ec4ae of _0x2b6363){fs[_0x721b17(0x27f)](path['join'](this[_0x721b17(0x223)],_0x5ec4ae));}}}catch(_0x308427){logger['debug'](_0x3f4ace[_0x721b17(0x291)](_0x3f4ace[_0x721b17(0x256)],_0x308427));}if(_0x3f4ace[_0x721b17(0x1ed)](this['_measureEvents'][_0x721b17(0x21a)],0x0))return;const _0x4a0cda=this['getCleanedPerfEvents'](),_0x2770f5=JSON[_0x721b17(0x286)](_0x4a0cda),_0x3b6327=_0x3f4ace[_0x721b17(0x291)](_0x2770f5[_0x721b17(0x229)](0x1,-0x1),',');fs['appendFileSync'](this[_0x721b17(0x26d)],_0x3b6327);}static async['finalizePerfMeasures'](){const _0x5a37ad=a118_0x553949,_0x47a0c3={'NIhAq':function(_0x3f24f5){return _0x3f24f5();},'uaSip':function(_0xb8aa6c,_0x1974ae){return _0xb8aa6c===_0x1974ae;},'vZsXy':_0x5a37ad(0x263),'sLJRT':_0x5a37ad(0x239),'WetGt':_0x5a37ad(0x279),'GdVGG':function(_0x2e5a43,_0x390708){return _0x2e5a43+_0x390708;},'yizWt':_0x5a37ad(0x245),'vsSJn':_0x5a37ad(0x1ef),'amBsx':_0x5a37ad(0x235),'ciOai':function(_0x29e75a,_0x145f05){return _0x29e75a>_0x145f05;}};this[_0x5a37ad(0x223)]=path[_0x5a37ad(0x27b)](_0x47a0c3[_0x5a37ad(0x26c)](getLogDir),this[_0x5a37ad(0x1ec)]);if(!this[_0x5a37ad(0x205)]||_0x47a0c3[_0x5a37ad(0x242)](this['_measureEvents']['length'],0x0))return[];if(!fs[_0x5a37ad(0x1f9)](this[_0x5a37ad(0x223)]))return this['_measureEvents'];const _0x582d35=(await fsPromise['readdir'](this['jsonReportDirPath']))[_0x5a37ad(0x21e)](_0x275c73=>path[_0x5a37ad(0x23a)](this['jsonReportDirPath'],_0x275c73));try{const _0x5c12aa=path[_0x5a37ad(0x25c)](this[_0x5a37ad(0x223)]),_0x5f35f0=path['join'](_0x5c12aa,_0x47a0c3['vZsXy']);if(fs[_0x5a37ad(0x1f9)](_0x5f35f0))try{await fsPromise[_0x5a37ad(0x247)](_0x5f35f0,fs[_0x5a37ad(0x22c)][_0x5a37ad(0x1e4)]);const _0x5d51b5=await fsPromise[_0x5a37ad(0x206)](_0x5f35f0,_0x47a0c3[_0x5a37ad(0x230)]),_0x3ebef2=JSON[_0x5a37ad(0x254)](_0x5d51b5),_0x1c75aa=path['join'](this[_0x5a37ad(0x223)],_0x47a0c3['WetGt']);let _0x21565c='';Array['isArray'](_0x3ebef2)?_0x21565c=_0x47a0c3['GdVGG'](_0x3ebef2[_0x5a37ad(0x21e)](_0x268481=>JSON[_0x5a37ad(0x286)](_0x268481))['join'](','),','):_0x21565c=_0x47a0c3[_0x5a37ad(0x288)](JSON[_0x5a37ad(0x286)](_0x3ebef2),','),await fsPromise[_0x5a37ad(0x261)](_0x1c75aa,_0x21565c),_0x582d35['push'](_0x1c75aa),await fsPromise[_0x5a37ad(0x1f8)](_0x5f35f0);}catch(_0x3c062a){logger[_0x5a37ad(0x231)](util[_0x5a37ad(0x281)](_0x47a0c3[_0x5a37ad(0x27a)],_0x3c062a['stack']||_0x3c062a[_0x5a37ad(0x26e)]||_0x3c062a));}else logger[_0x5a37ad(0x231)](_0x47a0c3[_0x5a37ad(0x244)]);}catch(_0xa15c43){logger[_0x5a37ad(0x231)](util[_0x5a37ad(0x281)](_0x47a0c3[_0x5a37ad(0x241)],_0xa15c43['stack']||_0xa15c43['message']||_0xa15c43));}let _0x5cc356=(await Promise['all'](_0x582d35[_0x5a37ad(0x21e)](_0x4d76ae=>fsPromise[_0x5a37ad(0x206)](_0x4d76ae,_0x5a37ad(0x239)))))[_0x5a37ad(0x21e)](_0x468c82=>'['+_0x468c82[_0x5a37ad(0x229)](0x0,-0x1)+']')[_0x5a37ad(0x21e)](_0x44a8c0=>JSON[_0x5a37ad(0x254)](_0x44a8c0))[_0x5a37ad(0x238)]();return _0x47a0c3[_0x5a37ad(0x227)](this[_0x5a37ad(0x1e6)][_0x5a37ad(0x21a)],0x0)&&(_0x5cc356=_0x5cc356[_0x5a37ad(0x264)](this[_0x5a37ad(0x251)]())),this[_0x5a37ad(0x248)][_0x5a37ad(0x202)](),_0x5cc356;}static[a118_0x553949(0x280)](){const _0x1032a8=a118_0x553949,_0x46ff13={};_0x46ff13['sXdSp']=function(_0x3a197c,_0x459c47){return _0x3a197c===_0x459c47;},_0x46ff13[_0x1032a8(0x224)]=function(_0x10271b,_0x20a955){return _0x10271b+_0x20a955;};const _0x4eda33=_0x46ff13;if(_0x4eda33[_0x1032a8(0x24d)](this[_0x1032a8(0x203)][_0x1032a8(0x21a)],0x0))return;const _0x4c2dc2=JSON['stringify'](this[_0x1032a8(0x203)]),_0x3235e2=_0x4eda33['dyICx'](_0x4c2dc2[_0x1032a8(0x229)](0x1,-0x1),',');fs[_0x1032a8(0x1f6)](this[_0x1032a8(0x23f)],_0x3235e2);}static[a118_0x553949(0x25b)](){const _0x49c2ae=a118_0x553949,_0x1c1519={};_0x1c1519[_0x49c2ae(0x23b)]=function(_0x3d568b,_0x153cae){return _0x3d568b>_0x153cae;};const _0x3363eb=_0x1c1519;if(this[_0x49c2ae(0x266)]){if(!fs[_0x49c2ae(0x1f9)](this[_0x49c2ae(0x266)]))return this['_errorEvents'];let _0x10c811=fs['readFileSync'](this[_0x49c2ae(0x266)])[_0x49c2ae(0x23e)]();_0x10c811='['+_0x10c811[_0x49c2ae(0x229)](0x0,-0x1)+']';let _0x1bb859=JSON[_0x49c2ae(0x254)](_0x10c811);return _0x3363eb[_0x49c2ae(0x23b)](this[_0x49c2ae(0x203)][_0x49c2ae(0x21a)],0x0)&&(_0x1bb859=_0x1bb859[_0x49c2ae(0x264)](this[_0x49c2ae(0x203)])),fs[_0x49c2ae(0x27f)](this[_0x49c2ae(0x266)]),_0x1bb859;}}static[a118_0x553949(0x225)](_0x20d8ad){const _0x4e64a2=a118_0x553949;if(!this[_0x4e64a2(0x260)]())return;this[_0x4e64a2(0x203)][_0x4e64a2(0x1f0)]({'message':_0x20d8ad['message'],'trace':_0x20d8ad[_0x4e64a2(0x290)],'code':_0x20d8ad['code']||null,'time':new Date()});}static['stopMonitoring'](){const _0x3b919c=a118_0x553949;try{if(!this[_0x3b919c(0x260)]())return;this['_observer']['disconnect'](),this[_0x3b919c(0x259)](),this[_0x3b919c(0x280)]();}catch(_0x5be09f){logger[_0x3b919c(0x1f2)](_0x3b919c(0x1eb)+util['format'](_0x5be09f));}}static async[a118_0x553949(0x25a)](){const _0x192d0e=a118_0x553949,_0x6f7c4a={'UmUAH':function(_0x21694e,_0x246ba6){return _0x21694e(_0x246ba6);}};await _0x6f7c4a['UmUAH'](sleep,0x1e);const _0x5e8529=await this['finalizePerfMeasures'](),_0x47df6b=this[_0x192d0e(0x25b)]();if(!this[_0x192d0e(0x260)]()){const _0x350b22={};return _0x350b22[_0x192d0e(0x220)]=[],_0x350b22[_0x192d0e(0x276)]=[],_0x350b22;}const _0x132761={};return _0x132761[_0x192d0e(0x220)]=_0x5e8529,_0x132761[_0x192d0e(0x276)]=_0x47df6b,_0x132761;}static[a118_0x553949(0x20c)](_0x275caf){const _0x3d232e=a118_0x553949,_0x4edbe6={};_0x4edbe6[_0x3d232e(0x284)]=function(_0x29afb1,_0x141466){return _0x29afb1+_0x141466;},_0x4edbe6[_0x3d232e(0x277)]=_0x3d232e(0x204);const _0x326043=_0x4edbe6,_0x4860da=_0x326043[_0x3d232e(0x284)](_0x275caf,_0x326043[_0x3d232e(0x277)]);if(this[_0x3d232e(0x24e)][_0x4860da])return;performance['mark'](_0x4860da),this['eventsMap'][_0x4860da]=0x1;}static['end'](_0x18656b,_0x1ab7cf=!![],_0x4e5797=null,_0x4073e9={}){const _0x1a7372=a118_0x553949,_0x643472={'OlHpM':function(_0x384fd2,_0x44dcde){return _0x384fd2+_0x44dcde;},'ePNTu':_0x1a7372(0x211),'VzznH':_0x1a7372(0x204),'rTzcb':function(_0x1667d0){return _0x1667d0();},'IeOVH':function(_0x5d2116){return _0x5d2116();}};performance[_0x1a7372(0x207)](_0x643472[_0x1a7372(0x23c)](_0x18656b,_0x643472[_0x1a7372(0x27e)])),performance[_0x1a7372(0x200)](_0x18656b,_0x643472[_0x1a7372(0x23c)](_0x18656b,_0x643472[_0x1a7372(0x28d)]),_0x643472[_0x1a7372(0x23c)](_0x18656b,_0x643472[_0x1a7372(0x27e)]));const _0x454b5d={};_0x454b5d[_0x1a7372(0x249)]=_0x1ab7cf,_0x454b5d[_0x1a7372(0x21d)]=_0x4e5797,this[_0x1a7372(0x22e)][_0x18656b]=Object[_0x1a7372(0x1f7)](_0x454b5d,Object[_0x1a7372(0x1f7)](Object[_0x1a7372(0x1f7)]({'worker':_0x643472[_0x1a7372(0x226)](getProcessId),'platform':global['__platformCaps']&&global[_0x1a7372(0x1e9)][_0x1a7372(0x212)],'testName':_0x643472[_0x1a7372(0x25d)](getTestName)},_0x4073e9),this['details'][_0x18656b]||{}));}}module['exports']=PerformanceTester;
@@ -1 +1 @@
1
- const a119_0x2248a3=a119_0x4ecb;(function(_0x5004f3,_0x35eec6){const _0x2884e1=a119_0x4ecb,_0xa36dec=_0x5004f3();while(!![]){try{const _0x337bac=parseInt(_0x2884e1(0x204))/0x1+parseInt(_0x2884e1(0x1c6))/0x2+parseInt(_0x2884e1(0x201))/0x3*(parseInt(_0x2884e1(0x1f3))/0x4)+parseInt(_0x2884e1(0x1b9))/0x5+-parseInt(_0x2884e1(0x1f0))/0x6+parseInt(_0x2884e1(0x20d))/0x7*(parseInt(_0x2884e1(0x20e))/0x8)+-parseInt(_0x2884e1(0x1e2))/0x9;if(_0x337bac===_0x35eec6)break;else _0xa36dec['push'](_0xa36dec['shift']());}catch(_0x3012b5){_0xa36dec['push'](_0xa36dec['shift']());}}}(a119_0x58b4,0x66e7b));function a119_0x58b4(){const _0x3d284b=['getPlaywrightModulePath','setBrowserstackConfig','4779ftTyaX','Could\x20not\x20import\x20GrpcClient:\x20','browserName','409130xMTmIh','bCQhp','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','browser','Qespd','entries','emEyu','No\x20modified\x20config\x20received\x20from\x20gRPC','setFrameworkDetail','42kMMtgb','181400sRpCnl','__accessibilityOptions','okwGJ','Detected\x20Playwright\x20version\x20','getPlaywrightConfig','client','mRKDb','browserstack.accessibilityOptions.wcagVersion','ubDpf','bstack:options','\x20for\x20','getConfig','Error\x20getting\x20Playwright\x20BrowserType:\x20','browserType.js','sRElp','projects','browserstack.accessibilityOptions.scannerVersion','BS_A11Y_JWT','3804430cACLny','message','../bin/utils/constants','Mdtlo','getPlaywrightBrowserType','env','exports','Received\x20modified\x20config\x20from\x20gRPC:\x20','asHSP','UQMNV','EIrKb','bootstrap','nhIEl','955898SjCsTH','format','chrome','\x20flow','browserstack.accessibilityOptions.scannerProcessingTimeout','iZXhW','framework','uKGlO','length','nwxcV','XmezS','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','BROWSERSTACK_PRODUCT_MAP','XfLLT','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','sENXo','cucumberjs-pw','Dzicp','getBrowserTypePath','PVGYM','W3CMapping','xpMcx','isArray','OyBcr','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','debug','TmdUL','platformCaps','17284608XMAqaJ','zvLcJ','Playwright\x20not\x20available:\x20','ghSZP','stringify','wcxBQ','./testhub/utils','./helper','capabilities','getInstance','__launchCaps','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','workers','./w3cMapping','1020030gPLqrw','browserstack.testhubBuildUuid','FeNtn','1828DOjlpd','PLAYWRIGHT','join','browserstack.accessibilityOptions.authToken','getModifiedConfigFromCLI','browserstack.buildProductMap','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','use','getBuildProductMap','importFileFromPWCore','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','config'];a119_0x58b4=function(){return _0x3d284b;};return a119_0x58b4();}const path=require('path'),util=require('util'),{importFileFromPWCore}=require('./helper'),helper=require(a119_0x2248a3(0x1e9)),logger=require('./logger')['winstonLogger'],W3CMapping=require(a119_0x2248a3(0x1ef))[a119_0x2248a3(0x1da)](),constants=require(a119_0x2248a3(0x1bb)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a119_0x498e71){logger[a119_0x2248a3(0x1df)](a119_0x2248a3(0x202)+a119_0x498e71[a119_0x2248a3(0x1ba)]),GrpcClient=null;}function a119_0x4ecb(_0x3350c5,_0x204250){const _0x58b4c0=a119_0x58b4();return a119_0x4ecb=function(_0x4ecb58,_0x18582c){_0x4ecb58=_0x4ecb58-0x1ac;let _0xad561b=_0x58b4c0[_0x4ecb58];return _0xad561b;},a119_0x4ecb(_0x3350c5,_0x204250);}const convertW3CToJsonWire=_0x107d4c=>{const _0x4381d2=a119_0x2248a3,_0x5013fa={};_0x5013fa[_0x4381d2(0x1dd)]=function(_0x4ffc66,_0x2d5fb1){return _0x4ffc66||_0x2d5fb1;},_0x5013fa[_0x4381d2(0x1d9)]=function(_0x35c114,_0x3dea7b){return _0x35c114===_0x3dea7b;},_0x5013fa[_0x4381d2(0x1cd)]=_0x4381d2(0x1b0),_0x5013fa[_0x4381d2(0x1db)]=function(_0x201f7b,_0x29f9f7){return _0x201f7b in _0x29f9f7;};const _0x2109f1=_0x5013fa,_0x1459f0={};for(const [_0x2f701a,_0x355e85]of Object[_0x4381d2(0x209)](_0x2109f1[_0x4381d2(0x1dd)](_0x107d4c,{}))){if(_0x2109f1[_0x4381d2(0x1d9)](_0x2f701a,_0x2109f1[_0x4381d2(0x1cd)]))continue;let _0x469132=![];for(const [_0x36d79d,_0x805130]of Object['entries'](W3CMapping)){if(_0x2109f1[_0x4381d2(0x1d9)](_0x2f701a,_0x805130)){_0x1459f0[_0x36d79d]=_0x355e85,_0x469132=!![];break;}}!_0x469132&&(_0x1459f0[_0x2f701a]=_0x355e85);}const _0x3eb7bf=_0x107d4c[_0x2109f1[_0x4381d2(0x1cd)]]||{};for(const [_0x2b0a2f,_0x46fd9e]of Object[_0x4381d2(0x209)](_0x3eb7bf)){let _0x432eb4=![];for(const [_0x42d034,_0x268bbc]of Object['entries'](W3CMapping)){if(_0x2109f1[_0x4381d2(0x1d9)](_0x2b0a2f,_0x268bbc)){_0x1459f0[_0x42d034]=_0x46fd9e,_0x432eb4=!![];break;}}!_0x432eb4&&!_0x2109f1['xpMcx'](_0x2b0a2f,_0x1459f0)&&(_0x1459f0[_0x2b0a2f]=_0x46fd9e);}return logger[_0x4381d2(0x1df)]('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0x4381d2(0x1e6)](_0x1459f0)),_0x1459f0;},getModifiedConfigFromCLI=async _0x49b483=>{const _0x30e4b7=a119_0x2248a3,_0x154628={};_0x154628[_0x30e4b7(0x1e3)]=_0x30e4b7(0x1de),_0x154628['DtOyH']=_0x30e4b7(0x1d6),_0x154628['gJOdB']=_0x30e4b7(0x206),_0x154628[_0x30e4b7(0x208)]=_0x30e4b7(0x20b),_0x154628['XfLLT']=function(_0x5013c4,_0x382590){return _0x5013c4>_0x382590;},_0x154628[_0x30e4b7(0x1c5)]=function(_0x4f00d0,_0x54e2bb){return _0x4f00d0>_0x54e2bb;},_0x154628[_0x30e4b7(0x1c1)]=_0x30e4b7(0x1f9);const _0x42a242=_0x154628;try{if(!GrpcClient)return logger[_0x30e4b7(0x1df)](_0x42a242[_0x30e4b7(0x1e3)]),null;const _0x5eb62f={};_0x5eb62f[_0x30e4b7(0x1ea)]=_0x49b483,_0x5eb62f[_0x30e4b7(0x1cc)]=_0x42a242['DtOyH'],_0x5eb62f[_0x30e4b7(0x1ee)]=0x1,_0x5eb62f['projects']=[];const _0x122083=_0x5eb62f;logger[_0x30e4b7(0x1df)](_0x42a242['gJOdB']);const _0x1b659b={};_0x1b659b['playwrightConfigObject']=_0x122083;const _0x569d69=await GrpcClient[_0x30e4b7(0x1eb)]()[_0x30e4b7(0x212)](_0x1b659b);if(!_0x569d69[_0x30e4b7(0x1b2)]())return logger[_0x30e4b7(0x1df)](_0x42a242[_0x30e4b7(0x208)]),null;const _0x111961=JSON['parse'](_0x569d69[_0x30e4b7(0x1b2)]());logger[_0x30e4b7(0x1df)](_0x30e4b7(0x1c0)+JSON['stringify'](_0x111961));if(_0x111961['capabilities']&&Array[_0x30e4b7(0x1dc)](_0x111961[_0x30e4b7(0x1ea)])&&_0x42a242[_0x30e4b7(0x1d3)](_0x111961[_0x30e4b7(0x1ea)][_0x30e4b7(0x1ce)],0x0))return _0x111961[_0x30e4b7(0x1ea)][0x0];else{if(_0x111961[_0x30e4b7(0x1b6)]&&Array[_0x30e4b7(0x1dc)](_0x111961[_0x30e4b7(0x1b6)])&&_0x42a242[_0x30e4b7(0x1c5)](_0x111961['projects'][_0x30e4b7(0x1ce)],0x0)){const _0x2301eb=_0x111961[_0x30e4b7(0x1b6)][0x0];if(_0x2301eb[_0x30e4b7(0x1fa)]&&_0x2301eb[_0x30e4b7(0x1fa)]['platformCaps'])return _0x2301eb['use'][_0x30e4b7(0x1e1)];}}return logger[_0x30e4b7(0x1df)](_0x42a242[_0x30e4b7(0x1c1)]),null;}catch(_0x54953a){logger['error'](_0x30e4b7(0x1d4)+_0x54953a['message']);throw _0x54953a;}},generatePlaywrightUrl=(_0x34fa4a,_0x38398c)=>{const _0x135eca=a119_0x2248a3,_0x591861={'Riedf':function(_0x13e417,_0x474ca8){return _0x13e417!==_0x474ca8;},'FeNtn':function(_0x23ef9c,_0x1b3469){return _0x23ef9c!==_0x1b3469;},'IxMtV':function(_0x4bb243,_0x28c918){return _0x4bb243!==_0x28c918;},'YqjCw':function(_0x11e75a,_0x163323){return _0x11e75a!==_0x163323;},'PNhNx':function(_0x269069,_0x3452aa){return _0x269069!==_0x3452aa;},'XmezS':function(_0x1efb30,_0x12547a){return _0x1efb30(_0x12547a);},'MxSud':function(_0x590205,_0x1a8105){return _0x590205||_0x1a8105;},'nwxcV':_0x135eca(0x1f6),'pwlUG':function(_0x45f593,_0x3a51d4){return _0x45f593(_0x3a51d4);},'sPwUQ':_0x135eca(0x1ae),'wcxBQ':function(_0x36dfd5,_0x26f8b8){return _0x36dfd5(_0x26f8b8);},'ghSZP':_0x135eca(0x1b7),'okwGJ':_0x135eca(0x1ca),'nngkM':_0x135eca(0x1f1),'TmdUL':_0x135eca(0x1f8),'mRKDb':function(_0x21e059,_0xb8fc43){return _0x21e059+_0xb8fc43;}},_0x5572e4=helper['getPlaywrightUrl'](_0x34fa4a),_0x113424=_0x591861[_0x135eca(0x1d0)](convertW3CToJsonWire,_0x38398c);try{const _0x468b1a=[_0x591861['MxSud'](_0x38398c,{}),global[_0x135eca(0x1ec)]||{},global['__platformCaps']||{},global[_0x135eca(0x20f)]||{}],_0x3ec3f4=_0x3b0af0=>{const _0x4491ed=_0x135eca;if(_0x591861['Riedf'](_0x113424[_0x3b0af0],undefined)&&_0x591861[_0x4491ed(0x1f2)](_0x113424[_0x3b0af0],null)&&_0x591861['IxMtV'](_0x113424[_0x3b0af0],''))return;for(const _0x150a5a of _0x468b1a){if(_0x150a5a&&_0x591861['IxMtV'](_0x150a5a[_0x3b0af0],undefined)&&_0x591861['YqjCw'](_0x150a5a[_0x3b0af0],null)&&_0x591861['PNhNx'](_0x150a5a[_0x3b0af0],'')){_0x113424[_0x3b0af0]=_0x150a5a[_0x3b0af0];return;}}};_0x591861[_0x135eca(0x1d0)](_0x3ec3f4,_0x591861['nwxcV']),_0x591861['pwlUG'](_0x3ec3f4,_0x591861['sPwUQ']),_0x591861[_0x135eca(0x1e7)](_0x3ec3f4,_0x591861[_0x135eca(0x1e5)]),_0x591861[_0x135eca(0x1d0)](_0x3ec3f4,_0x591861[_0x135eca(0x210)]),!_0x113424[_0x591861['nwxcV']]&&process[_0x135eca(0x1be)][_0x135eca(0x1b8)]&&(_0x113424[_0x591861[_0x135eca(0x1cf)]]=process[_0x135eca(0x1be)]['BS_A11Y_JWT']);}catch(_0xffaa37){logger[_0x135eca(0x1df)](_0x135eca(0x1ed)+util['format'](_0xffaa37));}return _0x113424[_0x591861['nngkM']]=process[_0x135eca(0x1be)]['BROWSERSTACK_TESTHUB_UUID'],_0x113424[_0x591861[_0x135eca(0x1e0)]]=helper[_0x135eca(0x1fb)](),_0x591861[_0x135eca(0x1ad)](_0x5572e4,_0x591861[_0x135eca(0x1d0)](encodeURIComponent,JSON['stringify'](_0x113424)));},getBrowserFromCaps=_0x2e9a60=>{const _0x36689e=a119_0x2248a3,_0x1a3be0={};_0x1a3be0[_0x36689e(0x1b5)]=_0x36689e(0x1c8);const _0x2f3210=_0x1a3be0;return _0x2e9a60[_0x36689e(0x203)]||_0x2e9a60[_0x36689e(0x207)]||_0x2f3210['sRElp'];},isPlaywrightAvailable=()=>{const _0x140222=a119_0x2248a3,_0x4b9def={'eCsQC':'lib','bCQhp':_0x140222(0x1ac),'EIrKb':_0x140222(0x1b4),'LwpIn':function(_0x58f214,_0x5bb383){return _0x58f214(_0x5bb383);}};try{const _0x873b0c=path['join'](_0x4b9def['eCsQC'],_0x4b9def[_0x140222(0x205)],_0x4b9def[_0x140222(0x1c3)]),_0x5047ac=_0x4b9def['LwpIn'](importFileFromPWCore,_0x873b0c);return!!_0x5047ac;}catch(_0x4572e7){return logger[_0x140222(0x1df)](_0x140222(0x1e4)+util[_0x140222(0x1c7)](_0x4572e7)),![];}},getPlaywrightBrowserType=()=>{const _0x51db98=a119_0x2248a3,_0x3e7953={'ypwaS':'lib','sENXo':'client','Mdtlo':_0x51db98(0x1b4),'ubDpf':function(_0x31ec72,_0x15add9){return _0x31ec72(_0x15add9);}};try{const _0x2e2fc3=path[_0x51db98(0x1f5)](_0x3e7953['ypwaS'],_0x3e7953[_0x51db98(0x1d5)],_0x3e7953[_0x51db98(0x1bc)]),_0x37f540=_0x3e7953[_0x51db98(0x1af)](importFileFromPWCore,_0x2e2fc3);return _0x37f540?_0x37f540['BrowserType']:null;}catch(_0x51c569){return logger['debug'](_0x51db98(0x1b3)+util[_0x51db98(0x1c7)](_0x51c569)),null;}},getPlaywrightModulePath=()=>{const _0x56f7d7=a119_0x2248a3,_0x169a21={};_0x169a21[_0x56f7d7(0x20a)]=_0x56f7d7(0x1fd);const _0x209735=_0x169a21;return logger[_0x56f7d7(0x1df)](_0x209735[_0x56f7d7(0x20a)]),null;},getBrowserTypePath=()=>{const _0x2a3157=a119_0x2248a3,_0x4b1319={};_0x4b1319[_0x2a3157(0x1c2)]=_0x2a3157(0x1d1);const _0x3ba70b=_0x4b1319;return logger[_0x2a3157(0x1df)](_0x3ba70b[_0x2a3157(0x1c2)]),null;},checkPwandBootstrapCli=async(_0x21313b,_0x2b7aa9,_0x398b46)=>{const _0x2fa0b9=a119_0x2248a3,_0xf36e61={'iZXhW':function(_0x126840,_0x25f37c){return _0x126840(_0x25f37c);},'Dzicp':_0x2fa0b9(0x1e8)};if(_0x21313b){const _0x3b3ae8=constants['FRAMEWORKS'][_0x2fa0b9(0x1f4)];logger[_0x2fa0b9(0x1df)](_0x2fa0b9(0x211)+_0x21313b+_0x2fa0b9(0x1b1)+_0x2b7aa9+_0x2fa0b9(0x1c9)),CLIUtils[_0x2fa0b9(0x20c)](_0x2b7aa9,_0x3b3ae8);const {getProductMap:_0x37d3e5}=_0xf36e61[_0x2fa0b9(0x1cb)](require,_0xf36e61[_0x2fa0b9(0x1d7)]);process[_0x2fa0b9(0x1be)][_0x2fa0b9(0x1d2)]=JSON[_0x2fa0b9(0x1e6)](_0xf36e61[_0x2fa0b9(0x1cb)](_0x37d3e5,_0x398b46[_0x2fa0b9(0x1fe)])),BrowserstackCLI[_0x2fa0b9(0x1eb)]()[_0x2fa0b9(0x200)](_0x398b46['config'],_0x398b46['cliConfig']),await BrowserstackCLI['getInstance']()[_0x2fa0b9(0x1c4)]();}},a119_0x4b9a31={};a119_0x4b9a31['convertW3CToJsonWire']=convertW3CToJsonWire,a119_0x4b9a31[a119_0x2248a3(0x1f7)]=getModifiedConfigFromCLI,a119_0x4b9a31['generatePlaywrightUrl']=generatePlaywrightUrl,a119_0x4b9a31['getBrowserFromCaps']=getBrowserFromCaps,a119_0x4b9a31['isPlaywrightAvailable']=isPlaywrightAvailable,a119_0x4b9a31[a119_0x2248a3(0x1bd)]=getPlaywrightBrowserType,a119_0x4b9a31[a119_0x2248a3(0x1ff)]=getPlaywrightModulePath,a119_0x4b9a31[a119_0x2248a3(0x1d8)]=getBrowserTypePath,a119_0x4b9a31[a119_0x2248a3(0x1fc)]=importFileFromPWCore,a119_0x4b9a31['checkPwandBootstrapCli']=checkPwandBootstrapCli,module[a119_0x2248a3(0x1bf)]=a119_0x4b9a31;
1
+ const a119_0x59587d=a119_0x4dfb;(function(_0x44bc5a,_0x17a8be){const _0x16b01f=a119_0x4dfb,_0x376942=_0x44bc5a();while(!![]){try{const _0x113d2f=parseInt(_0x16b01f(0x1dd))/0x1+-parseInt(_0x16b01f(0x1e8))/0x2*(-parseInt(_0x16b01f(0x222))/0x3)+-parseInt(_0x16b01f(0x1da))/0x4+parseInt(_0x16b01f(0x20c))/0x5+-parseInt(_0x16b01f(0x218))/0x6+parseInt(_0x16b01f(0x20b))/0x7+-parseInt(_0x16b01f(0x217))/0x8*(parseInt(_0x16b01f(0x215))/0x9);if(_0x113d2f===_0x17a8be)break;else _0x376942['push'](_0x376942['shift']());}catch(_0x2517ce){_0x376942['push'](_0x376942['shift']());}}}(a119_0xbb33,0x542fd));const path=require(a119_0x59587d(0x1ff)),util=require(a119_0x59587d(0x234)),{importFileFromPWCore}=require(a119_0x59587d(0x221)),helper=require(a119_0x59587d(0x221)),logger=require('./logger')['winstonLogger'],W3CMapping=require(a119_0x59587d(0x1e1))[a119_0x59587d(0x1e0)](),constants=require('../bin/utils/constants'),BrowserstackCLI=require(a119_0x59587d(0x1d9)),CLIUtils=require(a119_0x59587d(0x200));let GrpcClient;function a119_0xbb33(){const _0x386c75=['416511twseXo','setBrowserstackConfig','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','W3CMapping','./w3cMapping','client','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','parse','browserName','FRAMEWORKS','browserstack.testhubBuildUuid','74aDVyHa','cucumberjs-pw','getPlaywrightModulePath','uVzIH','config','browserstack.accessibilityOptions.authToken','getBuildProductMap','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','bstack:options','length','BNllr','GPsso','join','bootstrap','__platformCaps','BS_A11Y_JWT','../bin/v2/grpcClient','platformCaps','__accessibilityOptions','isPlaywrightAvailable','hxscd','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','browserstack.accessibilityOptions.wcagVersion','path','../bin/v2/cliUtils','AAeKl','NkxKr','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','gAAdC','WGDFH','Error\x20getting\x20Playwright\x20BrowserType:\x20','browserstack.buildProductMap','format','LMMDa','generatePlaywrightUrl','3609067xLXdCk','1980985eWWqBy','error','ccPmU','browserType.js','env','Received\x20modified\x20config\x20from\x20gRPC:\x20','ehWbs','__launchCaps','XsCQc','126YLCFkO','cmtbt','227384hskTSO','2246112PssYqE','Detected\x20Playwright\x20version\x20','RLUiJ','mrPYI','browserstack.accessibilityOptions.scannerVersion','isArray','browser','chrome','mWAsI','./helper','4821sNXXUM','yZXzd','getConfig','use','workers','cQspw','framework','importFileFromPWCore','debug','No\x20modified\x20config\x20received\x20from\x20gRPC','PLAYWRIGHT','rRClK','getPlaywrightBrowserType','pGmLv','convertW3CToJsonWire','setFrameworkDetail','yVeAC','pcKsX','util','capabilities','ZDMsp','getPlaywrightConfig','entries','./testhub/utils','Playwright\x20not\x20available:\x20','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','lib','RKHCI','getPlaywrightUrl','RJfXX','IumoI','getInstance','stringify','projects','aQMOe','\x20flow','PdqnA','../bin/v2/browserstackCLI','1082580kzjVFz','CTqdJ','BROWSERSTACK_TESTHUB_UUID'];a119_0xbb33=function(){return _0x386c75;};return a119_0xbb33();}function a119_0x4dfb(_0x342f68,_0x27417){const _0xbb33e4=a119_0xbb33();return a119_0x4dfb=function(_0x4dfbe0,_0x32fb37){_0x4dfbe0=_0x4dfbe0-0x1c8;let _0x4ec598=_0xbb33e4[_0x4dfbe0];return _0x4ec598;},a119_0x4dfb(_0x342f68,_0x27417);}try{GrpcClient=require(a119_0x59587d(0x1f8));}catch(a119_0xb58772){logger['debug']('Could\x20not\x20import\x20GrpcClient:\x20'+a119_0xb58772['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x2e5e75=>{const _0x3195a7=a119_0x59587d,_0x5e143e={};_0x5e143e[_0x3195a7(0x205)]=function(_0x4b5673,_0x3ec69a){return _0x4b5673||_0x3ec69a;},_0x5e143e[_0x3195a7(0x223)]=function(_0x169304,_0x13d826){return _0x169304===_0x13d826;},_0x5e143e[_0x3195a7(0x1d6)]=_0x3195a7(0x1f0),_0x5e143e[_0x3195a7(0x1fc)]=function(_0x5226d7,_0x145d4d){return _0x5226d7===_0x145d4d;},_0x5e143e['lJzwq']=function(_0x5751d,_0x6cc246){return _0x5751d in _0x6cc246;};const _0x13c658=_0x5e143e,_0xb293cb={};for(const [_0x2ab61e,_0x579c21]of Object[_0x3195a7(0x1ca)](_0x13c658[_0x3195a7(0x205)](_0x2e5e75,{}))){if(_0x13c658[_0x3195a7(0x223)](_0x2ab61e,_0x13c658[_0x3195a7(0x1d6)]))continue;let _0x5821cc=![];for(const [_0x248f32,_0x41c1e2]of Object[_0x3195a7(0x1ca)](W3CMapping)){if(_0x13c658['yZXzd'](_0x2ab61e,_0x41c1e2)){_0xb293cb[_0x248f32]=_0x579c21,_0x5821cc=!![];break;}}!_0x5821cc&&(_0xb293cb[_0x2ab61e]=_0x579c21);}const _0x236dd6=_0x2e5e75[_0x13c658[_0x3195a7(0x1d6)]]||{};for(const [_0xe991f3,_0x4d1efc]of Object[_0x3195a7(0x1ca)](_0x236dd6)){let _0x6f80e=![];for(const [_0x2ca6e9,_0x4a1163]of Object[_0x3195a7(0x1ca)](W3CMapping)){if(_0x13c658[_0x3195a7(0x1fc)](_0xe991f3,_0x4a1163)){_0xb293cb[_0x2ca6e9]=_0x4d1efc,_0x6f80e=!![];break;}}!_0x6f80e&&!_0x13c658['lJzwq'](_0xe991f3,_0xb293cb)&&(_0xb293cb[_0xe991f3]=_0x4d1efc);}return logger[_0x3195a7(0x22a)](_0x3195a7(0x1cd)+JSON[_0x3195a7(0x1d4)](_0xb293cb)),_0xb293cb;},getModifiedConfigFromCLI=async _0x3f12fe=>{const _0x428144=a119_0x59587d,_0x2efa33={};_0x2efa33[_0x428144(0x1db)]=_0x428144(0x203),_0x2efa33['mqikE']=_0x428144(0x1e9),_0x2efa33[_0x428144(0x1cf)]='Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw',_0x2efa33[_0x428144(0x1f3)]=_0x428144(0x22b),_0x2efa33[_0x428144(0x22f)]=function(_0xd8aa1d,_0x4b89aa){return _0xd8aa1d>_0x4b89aa;},_0x2efa33[_0x428144(0x227)]=_0x428144(0x1ef);const _0x33da36=_0x2efa33;try{if(!GrpcClient)return logger['debug'](_0x33da36[_0x428144(0x1db)]),null;const _0x5a1581={};_0x5a1581[_0x428144(0x235)]=_0x3f12fe,_0x5a1581[_0x428144(0x228)]=_0x33da36['mqikE'],_0x5a1581[_0x428144(0x226)]=0x1,_0x5a1581[_0x428144(0x1d5)]=[];const _0x1e7c3b=_0x5a1581;logger['debug'](_0x33da36[_0x428144(0x1cf)]);const _0x466822={};_0x466822['playwrightConfigObject']=_0x1e7c3b;const _0xa3aef4=await GrpcClient[_0x428144(0x1d3)]()[_0x428144(0x1c9)](_0x466822);if(!_0xa3aef4[_0x428144(0x224)]())return logger[_0x428144(0x22a)](_0x33da36[_0x428144(0x1f3)]),null;const _0x517756=JSON[_0x428144(0x1e4)](_0xa3aef4['getConfig']());logger[_0x428144(0x22a)](_0x428144(0x211)+JSON[_0x428144(0x1d4)](_0x517756));if(_0x517756[_0x428144(0x235)]&&Array[_0x428144(0x21d)](_0x517756[_0x428144(0x235)])&&_0x33da36['pGmLv'](_0x517756['capabilities'][_0x428144(0x1f1)],0x0))return _0x517756[_0x428144(0x235)][0x0];else{if(_0x517756[_0x428144(0x1d5)]&&Array[_0x428144(0x21d)](_0x517756['projects'])&&_0x33da36[_0x428144(0x22f)](_0x517756['projects']['length'],0x0)){const _0x264cf3=_0x517756[_0x428144(0x1d5)][0x0];if(_0x264cf3[_0x428144(0x225)]&&_0x264cf3[_0x428144(0x225)][_0x428144(0x1f9)])return _0x264cf3[_0x428144(0x225)][_0x428144(0x1f9)];}}return logger[_0x428144(0x22a)](_0x33da36[_0x428144(0x227)]),null;}catch(_0xb0348c){logger[_0x428144(0x20d)](_0x428144(0x1e3)+_0xb0348c['message']);throw _0xb0348c;}},generatePlaywrightUrl=(_0x52902b,_0x538063)=>{const _0x3fb805=a119_0x59587d,_0x12a461={'JhKVe':function(_0x4af91f,_0x1e103c){return _0x4af91f!==_0x1e103c;},'gAAdC':function(_0x2f40c7,_0x2a321f){return _0x2f40c7!==_0x2a321f;},'BNllr':function(_0x1bc724,_0x79fa18){return _0x1bc724!==_0x79fa18;},'PdqnA':function(_0x24bc33,_0x44f123){return _0x24bc33!==_0x44f123;},'cpcKt':function(_0x19c74e,_0x186bc1){return _0x19c74e!==_0x186bc1;},'pcKsX':function(_0xc3c19c,_0x4bcc49){return _0xc3c19c(_0x4bcc49);},'XsCQc':function(_0x37d634,_0x116dd8){return _0x37d634||_0x116dd8;},'ccPmU':_0x3fb805(0x1ed),'mWAsI':_0x3fb805(0x1fe),'ZhvXB':_0x3fb805(0x21c),'yeFCj':'browserstack.accessibilityOptions.scannerProcessingTimeout','ehWbs':_0x3fb805(0x1e7),'rRClK':_0x3fb805(0x207),'LMMDa':function(_0xb8ec33,_0x32fe6f){return _0xb8ec33+_0x32fe6f;}},_0xcde051=helper[_0x3fb805(0x1d0)](_0x52902b),_0x4cd882=_0x12a461[_0x3fb805(0x233)](convertW3CToJsonWire,_0x538063);try{const _0x25fb22=[_0x12a461[_0x3fb805(0x214)](_0x538063,{}),global[_0x3fb805(0x213)]||{},global[_0x3fb805(0x1f6)]||{},global[_0x3fb805(0x1fa)]||{}],_0x1ef172=_0x1603f2=>{const _0x54322f=_0x3fb805;if(_0x12a461['JhKVe'](_0x4cd882[_0x1603f2],undefined)&&_0x12a461[_0x54322f(0x204)](_0x4cd882[_0x1603f2],null)&&_0x12a461[_0x54322f(0x1f2)](_0x4cd882[_0x1603f2],''))return;for(const _0x362083 of _0x25fb22){if(_0x362083&&_0x12a461[_0x54322f(0x1d8)](_0x362083[_0x1603f2],undefined)&&_0x12a461['PdqnA'](_0x362083[_0x1603f2],null)&&_0x12a461['cpcKt'](_0x362083[_0x1603f2],'')){_0x4cd882[_0x1603f2]=_0x362083[_0x1603f2];return;}}};_0x12a461['pcKsX'](_0x1ef172,_0x12a461[_0x3fb805(0x20e)]),_0x12a461[_0x3fb805(0x233)](_0x1ef172,_0x12a461[_0x3fb805(0x220)]),_0x12a461[_0x3fb805(0x233)](_0x1ef172,_0x12a461['ZhvXB']),_0x12a461['pcKsX'](_0x1ef172,_0x12a461['yeFCj']),!_0x4cd882[_0x12a461[_0x3fb805(0x20e)]]&&process[_0x3fb805(0x210)][_0x3fb805(0x1f7)]&&(_0x4cd882[_0x12a461[_0x3fb805(0x20e)]]=process[_0x3fb805(0x210)][_0x3fb805(0x1f7)]);}catch(_0x3ab291){logger[_0x3fb805(0x22a)](_0x3fb805(0x1fd)+util[_0x3fb805(0x208)](_0x3ab291));}return _0x4cd882[_0x12a461[_0x3fb805(0x212)]]=process[_0x3fb805(0x210)][_0x3fb805(0x1dc)],_0x4cd882[_0x12a461[_0x3fb805(0x22d)]]=helper[_0x3fb805(0x1ee)](),_0x12a461[_0x3fb805(0x209)](_0xcde051,_0x12a461[_0x3fb805(0x233)](encodeURIComponent,JSON['stringify'](_0x4cd882)));},getBrowserFromCaps=_0x2c7e14=>{const _0x101d8a=a119_0x59587d,_0x3c11a6={};_0x3c11a6[_0x101d8a(0x1eb)]=_0x101d8a(0x21f);const _0x2e72e1=_0x3c11a6;return _0x2c7e14[_0x101d8a(0x1e5)]||_0x2c7e14[_0x101d8a(0x21e)]||_0x2e72e1['uVzIH'];},isPlaywrightAvailable=()=>{const _0x2a889f=a119_0x59587d,_0x35f702={'tfsNM':_0x2a889f(0x1ce),'mrPYI':_0x2a889f(0x1e2),'ZDMsp':_0x2a889f(0x20f),'IumoI':function(_0x591d1d,_0x1a9627){return _0x591d1d(_0x1a9627);}};try{const _0x593e30=path[_0x2a889f(0x1f4)](_0x35f702['tfsNM'],_0x35f702[_0x2a889f(0x21b)],_0x35f702[_0x2a889f(0x1c8)]),_0x821272=_0x35f702[_0x2a889f(0x1d2)](importFileFromPWCore,_0x593e30);return!!_0x821272;}catch(_0x16f7f1){return logger[_0x2a889f(0x22a)](_0x2a889f(0x1cc)+util[_0x2a889f(0x208)](_0x16f7f1)),![];}},getPlaywrightBrowserType=()=>{const _0x43cf27=a119_0x59587d,_0xe61035={'Znhnr':_0x43cf27(0x1ce),'AAeKl':_0x43cf27(0x1e2),'RLUiJ':'browserType.js','NkxKr':function(_0x35522f,_0x173fb6){return _0x35522f(_0x173fb6);}};try{const _0x166091=path['join'](_0xe61035['Znhnr'],_0xe61035[_0x43cf27(0x201)],_0xe61035[_0x43cf27(0x21a)]),_0x327d4f=_0xe61035[_0x43cf27(0x202)](importFileFromPWCore,_0x166091);return _0x327d4f?_0x327d4f['BrowserType']:null;}catch(_0x36e065){return logger[_0x43cf27(0x22a)](_0x43cf27(0x206)+util['format'](_0x36e065)),null;}},getPlaywrightModulePath=()=>{const _0x5bfbff=a119_0x59587d,_0x325a31={};_0x325a31['cmtbt']='getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0x409392=_0x325a31;return logger['debug'](_0x409392[_0x5bfbff(0x216)]),null;},getBrowserTypePath=()=>{const _0x3a0b58=a119_0x59587d,_0x2f81c5={};_0x2f81c5[_0x3a0b58(0x1d1)]=_0x3a0b58(0x1df);const _0x6ca73a=_0x2f81c5;return logger[_0x3a0b58(0x22a)](_0x6ca73a[_0x3a0b58(0x1d1)]),null;},checkPwandBootstrapCli=async(_0x59d067,_0x18739,_0x427ad0)=>{const _0x3b9cec=a119_0x59587d,_0x1570bf={'XdsZu':function(_0x57b753,_0x1f1cb8){return _0x57b753(_0x1f1cb8);},'TzOjs':_0x3b9cec(0x1cb),'yVeAC':function(_0x38b12e,_0x1433de){return _0x38b12e(_0x1433de);}};if(_0x59d067){const _0x4d74a5=constants[_0x3b9cec(0x1e6)][_0x3b9cec(0x22c)];logger[_0x3b9cec(0x22a)](_0x3b9cec(0x219)+_0x59d067+'\x20for\x20'+_0x18739+_0x3b9cec(0x1d7)),CLIUtils[_0x3b9cec(0x231)](_0x18739,_0x4d74a5);const {getProductMap:_0xe87ec}=_0x1570bf['XdsZu'](require,_0x1570bf['TzOjs']);process[_0x3b9cec(0x210)]['BROWSERSTACK_PRODUCT_MAP']=JSON[_0x3b9cec(0x1d4)](_0x1570bf[_0x3b9cec(0x232)](_0xe87ec,_0x427ad0[_0x3b9cec(0x1ec)])),BrowserstackCLI[_0x3b9cec(0x1d3)]()[_0x3b9cec(0x1de)](_0x427ad0[_0x3b9cec(0x1ec)],_0x427ad0['cliConfig']),await BrowserstackCLI['getInstance']()[_0x3b9cec(0x1f5)]();}},a119_0x1472b7={};a119_0x1472b7[a119_0x59587d(0x230)]=convertW3CToJsonWire,a119_0x1472b7['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a119_0x1472b7[a119_0x59587d(0x20a)]=generatePlaywrightUrl,a119_0x1472b7['getBrowserFromCaps']=getBrowserFromCaps,a119_0x1472b7[a119_0x59587d(0x1fb)]=isPlaywrightAvailable,a119_0x1472b7[a119_0x59587d(0x22e)]=getPlaywrightBrowserType,a119_0x1472b7[a119_0x59587d(0x1ea)]=getPlaywrightModulePath,a119_0x1472b7['getBrowserTypePath']=getBrowserTypePath,a119_0x1472b7[a119_0x59587d(0x229)]=importFileFromPWCore,a119_0x1472b7['checkPwandBootstrapCli']=checkPwandBootstrapCli,module['exports']=a119_0x1472b7;
@@ -1 +1 @@
1
- const a120_0xc7708e=a120_0x3618;function a120_0x522b(){const _0xeeda6c=['sleep','worker_threads','][\x20','BCnsv','TEST_REPORTING_ANALYTICS','dVAtx','./logger','8QpUcvk','16EluhHn','browserstackTestName','3538710YfuIBH','log','env','getGlobal','163697qMVxSL','../bin/utils/constants','849108ApxSFF','fOCJG','171621jYvEWS','debug','BROWSERSTACK_TEST_REPORTING_DEBUG','toISOString','843654JDVytg','\x20]\x20','threadId','rhFyI','getTestName','./test-observability/constants','5139890eNBDco','2816127nUrpUo','BROWSERSTACK_OBSERVABILITY_DEBUG'];a120_0x522b=function(){return _0xeeda6c;};return a120_0x522b();}(function(_0x5161dd,_0x1ea2b6){const _0x443c20=a120_0x3618,_0xe00bbe=_0x5161dd();while(!![]){try{const _0x532f64=parseInt(_0x443c20(0x15a))/0x1+-parseInt(_0x443c20(0x162))/0x2+-parseInt(_0x443c20(0x15e))/0x3*(parseInt(_0x443c20(0x153))/0x4)+parseInt(_0x443c20(0x156))/0x5+parseInt(_0x443c20(0x15c))/0x6+-parseInt(_0x443c20(0x149))/0x7+parseInt(_0x443c20(0x154))/0x8*(parseInt(_0x443c20(0x14a))/0x9);if(_0x532f64===_0x1ea2b6)break;else _0xe00bbe['push'](_0xe00bbe['shift']());}catch(_0x5daa61){_0xe00bbe['push'](_0xe00bbe['shift']());}}}(a120_0x522b,0x59e7c));function a120_0x3618(_0x2eeaf5,_0x1df580){const _0x522b5f=a120_0x522b();return a120_0x3618=function(_0x36188c,_0x443604){_0x36188c=_0x36188c-0x147;let _0x55c435=_0x522b5f[_0x36188c];return _0x55c435;},a120_0x3618(_0x2eeaf5,_0x1df580);}const worker=require(a120_0xc7708e(0x14d)),{fileLogger}=require(a120_0xc7708e(0x152)),{consoleHolder}=require(a120_0xc7708e(0x148)),globals=require('./globals'),constants=require(a120_0xc7708e(0x15b));exports['getProcessId']=()=>{const _0x4e1fe=a120_0xc7708e;return process['pid']+'-'+worker[_0x4e1fe(0x164)];},exports[a120_0xc7708e(0x147)]=()=>{const _0x4453e0=a120_0xc7708e,_0x5e2db9={};_0x5e2db9[_0x4453e0(0x165)]=_0x4453e0(0x155);const _0x1ed5e3=_0x5e2db9;return globals[_0x4453e0(0x159)](_0x1ed5e3[_0x4453e0(0x165)]);},exports[a120_0xc7708e(0x14c)]=(_0x93dc4f=0x64)=>new Promise(_0x5866d7=>setTimeout(_0x5866d7,_0x93dc4f)),exports[a120_0xc7708e(0x15f)]=_0x312cb8=>{const _0x4df067=a120_0xc7708e,_0xce3f3e={};_0xce3f3e[_0x4df067(0x14f)]=function(_0x2fa469,_0x575e1f){return _0x2fa469===_0x575e1f;},_0xce3f3e[_0x4df067(0x151)]='true',_0xce3f3e[_0x4df067(0x15d)]=function(_0x239933,_0x5d0884){return _0x239933===_0x5d0884;};const _0x2ae593=_0xce3f3e;fileLogger[_0x4df067(0x15f)]('['+new Date()['toISOString']()+'][\x20'+constants[_0x4df067(0x150)]+_0x4df067(0x163)+_0x312cb8),(_0x2ae593[_0x4df067(0x14f)](process[_0x4df067(0x158)][_0x4df067(0x160)],_0x2ae593[_0x4df067(0x151)])||_0x2ae593['BCnsv'](process[_0x4df067(0x158)][_0x4df067(0x160)],'1')||_0x2ae593[_0x4df067(0x14f)](process['env'][_0x4df067(0x14b)],_0x2ae593['dVAtx'])||_0x2ae593[_0x4df067(0x15d)](process[_0x4df067(0x158)][_0x4df067(0x14b)],'1'))&&consoleHolder[_0x4df067(0x157)]('\x0a['+new Date()[_0x4df067(0x161)]()+_0x4df067(0x14e)+constants[_0x4df067(0x150)]+'\x20]\x20'+_0x312cb8+'\x0a');};
1
+ function a120_0x25de(_0x2034ba,_0x1cd3c4){const _0x23b1e9=a120_0x23b1();return a120_0x25de=function(_0x25deaa,_0xb18e2c){_0x25deaa=_0x25deaa-0x1a8;let _0x18f70f=_0x23b1e9[_0x25deaa];return _0x18f70f;},a120_0x25de(_0x2034ba,_0x1cd3c4);}const a120_0xd6df05=a120_0x25de;function a120_0x23b1(){const _0x2d5e1b=['2054728micmwD','getProcessId','3257890aViEvn','BROWSERSTACK_OBSERVABILITY_DEBUG','2862468LYkTzC','329950THkVlV','toISOString','kFvWP','getGlobal','7TDGwuZ','../bin/utils/constants','482936GOROrf','browserstackTestName','6yDBRPa','iWUTk','getTestName','13669146hYfSrU','pid','debug','10eIoQJU','875577DeFLKF','][\x20','./logger','worker_threads','\x20]\x20','true','log','sTUvp','HSYyX','env','./globals'];a120_0x23b1=function(){return _0x2d5e1b;};return a120_0x23b1();}(function(_0x4d5aff,_0x3b2132){const _0x4db11d=a120_0x25de,_0x183959=_0x4d5aff();while(!![]){try{const _0xfa5049=-parseInt(_0x4db11d(0x1c2))/0x1+-parseInt(_0x4db11d(0x1ab))/0x2*(-parseInt(_0x4db11d(0x1b2))/0x3)+parseInt(_0x4db11d(0x1bd))/0x4+parseInt(_0x4db11d(0x1bf))/0x5+-parseInt(_0x4db11d(0x1c1))/0x6*(-parseInt(_0x4db11d(0x1c6))/0x7)+-parseInt(_0x4db11d(0x1a9))/0x8+-parseInt(_0x4db11d(0x1ae))/0x9*(parseInt(_0x4db11d(0x1b1))/0xa);if(_0xfa5049===_0x3b2132)break;else _0x183959['push'](_0x183959['shift']());}catch(_0x48a93b){_0x183959['push'](_0x183959['shift']());}}}(a120_0x23b1,0x94a24));const worker=require(a120_0xd6df05(0x1b5)),{fileLogger}=require(a120_0xd6df05(0x1b4)),{consoleHolder}=require('./test-observability/constants'),globals=require(a120_0xd6df05(0x1bc)),constants=require(a120_0xd6df05(0x1a8));exports[a120_0xd6df05(0x1be)]=()=>{const _0x14f61f=a120_0xd6df05;return process[_0x14f61f(0x1af)]+'-'+worker['threadId'];},exports[a120_0xd6df05(0x1ad)]=()=>{const _0x524574=a120_0xd6df05,_0x397013={};_0x397013['kFvWP']=_0x524574(0x1aa);const _0x1eeb80=_0x397013;return globals[_0x524574(0x1c5)](_0x1eeb80[_0x524574(0x1c4)]);},exports['sleep']=(_0x40d5a1=0x64)=>new Promise(_0x2107eb=>setTimeout(_0x2107eb,_0x40d5a1)),exports[a120_0xd6df05(0x1b0)]=_0x1993f2=>{const _0x4b8708=a120_0xd6df05,_0x43781a={};_0x43781a[_0x4b8708(0x1ba)]=function(_0x57b0b8,_0x28a892){return _0x57b0b8===_0x28a892;},_0x43781a[_0x4b8708(0x1b9)]=_0x4b8708(0x1b7),_0x43781a[_0x4b8708(0x1ac)]=function(_0x252993,_0x219961){return _0x252993===_0x219961;};const _0x24ad90=_0x43781a;fileLogger[_0x4b8708(0x1b0)]('['+new Date()[_0x4b8708(0x1c3)]()+_0x4b8708(0x1b3)+constants['TEST_REPORTING_ANALYTICS']+_0x4b8708(0x1b6)+_0x1993f2),(_0x24ad90['HSYyX'](process['env']['BROWSERSTACK_TEST_REPORTING_DEBUG'],_0x24ad90['sTUvp'])||_0x24ad90['iWUTk'](process['env']['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x24ad90[_0x4b8708(0x1ba)](process[_0x4b8708(0x1bb)][_0x4b8708(0x1c0)],_0x24ad90[_0x4b8708(0x1b9)])||_0x24ad90[_0x4b8708(0x1ac)](process['env'][_0x4b8708(0x1c0)],'1'))&&consoleHolder[_0x4b8708(0x1b8)]('\x0a['+new Date()[_0x4b8708(0x1c3)]()+_0x4b8708(0x1b3)+constants['TEST_REPORTING_ANALYTICS']+_0x4b8708(0x1b6)+_0x1993f2+'\x0a');};
@@ -1 +1 @@
1
- const a121_0x112787=a121_0x31f5;(function(_0x1d4067,_0x24cc9e){const _0x10729b=a121_0x31f5,_0x48e1a5=_0x1d4067();while(!![]){try{const _0x28267a=parseInt(_0x10729b(0x157))/0x1*(parseInt(_0x10729b(0x13f))/0x2)+parseInt(_0x10729b(0x12c))/0x3*(parseInt(_0x10729b(0x148))/0x4)+parseInt(_0x10729b(0x14c))/0x5*(parseInt(_0x10729b(0x13c))/0x6)+-parseInt(_0x10729b(0x12d))/0x7*(parseInt(_0x10729b(0x14e))/0x8)+-parseInt(_0x10729b(0x12a))/0x9*(-parseInt(_0x10729b(0x12b))/0xa)+-parseInt(_0x10729b(0x132))/0xb+parseInt(_0x10729b(0x130))/0xc*(-parseInt(_0x10729b(0x143))/0xd);if(_0x28267a===_0x24cc9e)break;else _0x48e1a5['push'](_0x48e1a5['shift']());}catch(_0x2a9725){_0x48e1a5['push'](_0x48e1a5['shift']());}}}(a121_0x2718,0xbcbe6));const http=require(a121_0x112787(0x129)),https=require('https'),monkeypatch=require(a121_0x112787(0x131));function a121_0x2718(){const _0x2442bd=['socket','bairj','hostname','WDIRs','hfrXA','headers','removeListener','forEach','prototype','30SYUQHe','jnULX','path','23262UAYSOa','statusCode','once','assign','455tOBXUj','request','hMLpy','Gpocn','error','392476uvAYFr','now','Vewnw','url','826955cVhQsW','call','16wcpeDh','response','LfDxW','status_code','duration_ms','restore','object','GuYDg','host','71TOXBAT','end','method','slice','pathname','unpatch','http','2097rekfsM','33290xohpGk','3ruXFKq','694043foCPEG','spy','TPdKB','58020fveKrm','monkeypatch','15245065uvmGPB'];a121_0x2718=function(){return _0x2442bd;};return a121_0x2718();}function spy(_0x3a5b37){const _0x1fc6d7=a121_0x112787,_0x5598dd={'GuYDg':function(_0x18924e,_0x14d2c5){return _0x18924e instanceof _0x14d2c5;},'LfDxW':function(_0x1ed818,_0x46bfe3){return _0x1ed818===_0x46bfe3;},'WjcrS':_0x1fc6d7(0x154),'IwkQo':function(_0x4740b5,_0x33a80f){return _0x4740b5-_0x33a80f;},'AAHvu':function(_0x21bd27,_0xf31ef9,_0x264328){return _0x21bd27(_0xf31ef9,_0x264328);},'TPdKB':_0x1fc6d7(0x147),'WDIRs':function(_0x3900b0,_0x267e31,_0x3a7561){return _0x3900b0(_0x267e31,_0x3a7561);},'nilil':function(_0xa88559,..._0x1d2744){return _0xa88559(..._0x1d2744);},'VJaLr':_0x1fc6d7(0x14f),'Gpocn':_0x1fc6d7(0x133),'hfrXA':function(_0x51ca10,_0xf3491a,_0x5e890e,_0x3b5031){return _0x51ca10(_0xf3491a,_0x5e890e,_0x3b5031);},'Vewnw':_0x1fc6d7(0x158),'hMLpy':_0x1fc6d7(0x144),'jnULX':function(_0x15a944,_0x353b6e,_0x2b23b7,_0x1ef659){return _0x15a944(_0x353b6e,_0x2b23b7,_0x1ef659);}},_0x21dfd2=function(){const _0xc66f79=_0x1fc6d7,_0xdf5652={'XvAMF':function(_0x19abdf,_0x3c0af0,_0x28e037){const _0x94802d=a121_0x31f5;return _0x5598dd[_0x94802d(0x136)](_0x19abdf,_0x3c0af0,_0x28e037);},'bairj':function(_0x3ef75b,..._0x2bb309){return _0x5598dd['nilil'](_0x3ef75b,..._0x2bb309);}},_0x5d18d2=arguments[0x0],_0x42e670=Array[_0xc66f79(0x13b)][_0xc66f79(0x15a)][_0xc66f79(0x14d)](arguments,0x1),_0x3a995c=_0x5d18d2['apply'](this,_0x42e670);let _0xc47567=Date[_0xc66f79(0x149)](),_0x336f81;const _0x1c3d03={};_0x42e670[_0xc66f79(0x13a)](_0x157b71=>{const _0x129f5b=_0xc66f79;if(_0x5598dd[_0x129f5b(0x155)](_0x157b71,URL)){const _0x2663dd={};_0x2663dd[_0x129f5b(0x14b)]=_0x157b71,Object[_0x129f5b(0x142)](_0x1c3d03,_0x2663dd);}else _0x5598dd[_0x129f5b(0x150)](typeof _0x157b71,_0x5598dd['WjcrS'])&&Object[_0x129f5b(0x142)](_0x1c3d03,_0x157b71);});const _0x1e36ee=_0x16d8e5=>{const _0x51d330=_0xc66f79,_0x17d499={};_0x17d499[_0x51d330(0x156)]=_0x1c3d03[_0x51d330(0x156)]||_0x1c3d03[_0x51d330(0x135)]||_0x1c3d03[_0x51d330(0x14b)]&&(_0x1c3d03['url'][_0x51d330(0x156)]||_0x1c3d03[_0x51d330(0x14b)][_0x51d330(0x135)]),_0x17d499[_0x51d330(0x13e)]=_0x1c3d03[_0x51d330(0x13e)]||_0x1c3d03[_0x51d330(0x14b)]&&_0x1c3d03[_0x51d330(0x14b)][_0x51d330(0x15b)],_0x17d499[_0x51d330(0x159)]=_0x1c3d03[_0x51d330(0x159)],_0x17d499[_0x51d330(0x138)]=_0x1c3d03[_0x51d330(0x138)],_0xdf5652['XvAMF'](_0x3a5b37,_0x16d8e5,_0x17d499);};return _0x3a995c[_0xc66f79(0x141)](_0x5598dd['VJaLr'],_0xce40f0=>{const _0x58c8b7=_0xc66f79,_0x55c78c=_0x5598dd['IwkQo'](Date['now'](),_0xc47567),_0x4f6e03={};_0x4f6e03[_0x58c8b7(0x135)]=_0x1c3d03['host']||_0x1c3d03[_0x58c8b7(0x135)]||_0x1c3d03[_0x58c8b7(0x14b)]&&(_0x1c3d03[_0x58c8b7(0x14b)][_0x58c8b7(0x156)]||_0x1c3d03[_0x58c8b7(0x14b)]['hostname']),_0x4f6e03['path']=_0x1c3d03[_0x58c8b7(0x13e)]||_0x1c3d03[_0x58c8b7(0x14b)]&&_0x1c3d03[_0x58c8b7(0x14b)][_0x58c8b7(0x15b)],_0x4f6e03[_0x58c8b7(0x159)]=_0x1c3d03[_0x58c8b7(0x159)],_0x4f6e03['headers']=_0x1c3d03[_0x58c8b7(0x138)],_0x4f6e03[_0x58c8b7(0x151)]=_0xce40f0[_0x58c8b7(0x140)],_0x4f6e03[_0x58c8b7(0x152)]=_0x55c78c,_0x5598dd['AAHvu'](_0x3a5b37,null,_0x4f6e03),_0x336f81[_0x58c8b7(0x139)](_0x5598dd[_0x58c8b7(0x12f)],_0x1e36ee);}),_0x3a995c['on'](_0x5598dd[_0xc66f79(0x146)],_0x4eb96b=>{_0x336f81=_0x4eb96b,_0x4eb96b['once'](_0x5598dd['TPdKB'],_0x1e36ee);}),_0x5598dd[_0xc66f79(0x137)](monkeypatch,_0x3a995c,_0x5598dd[_0xc66f79(0x14a)],(_0x33bb28,..._0x3c2497)=>{const _0x5b2a38=_0xc66f79;_0xc47567=Date[_0x5b2a38(0x149)](),_0xdf5652[_0x5b2a38(0x134)](_0x33bb28,..._0x3c2497);}),_0x3a995c;};_0x5598dd['hfrXA'](monkeypatch,http,_0x5598dd[_0x1fc6d7(0x145)],_0x21dfd2),_0x5598dd[_0x1fc6d7(0x13d)](monkeypatch,https,_0x5598dd[_0x1fc6d7(0x145)],_0x21dfd2);}function a121_0x31f5(_0xbe11d1,_0x387f00){const _0x271868=a121_0x2718();return a121_0x31f5=function(_0x31f53b,_0x4f23e3){_0x31f53b=_0x31f53b-0x128;let _0x500182=_0x271868[_0x31f53b];return _0x500182;},a121_0x31f5(_0xbe11d1,_0x387f00);}function restore(){const _0x5932bb=a121_0x112787;http[_0x5932bb(0x144)]['unpatch'](),https[_0x5932bb(0x144)][_0x5932bb(0x128)]();}const a121_0x4cbda7={};a121_0x4cbda7[a121_0x112787(0x12e)]=spy,a121_0x4cbda7[a121_0x112787(0x153)]=restore,module['exports']=a121_0x4cbda7;
1
+ const a121_0x1c2b33=a121_0x155f;(function(_0x5c0d16,_0x34857b){const _0x4aedeb=a121_0x155f,_0x5e5548=_0x5c0d16();while(!![]){try{const _0x24f53c=-parseInt(_0x4aedeb(0x152))/0x1*(-parseInt(_0x4aedeb(0x145))/0x2)+-parseInt(_0x4aedeb(0x129))/0x3+-parseInt(_0x4aedeb(0x151))/0x4*(parseInt(_0x4aedeb(0x128))/0x5)+-parseInt(_0x4aedeb(0x135))/0x6*(parseInt(_0x4aedeb(0x14b))/0x7)+parseInt(_0x4aedeb(0x144))/0x8+parseInt(_0x4aedeb(0x147))/0x9*(parseInt(_0x4aedeb(0x136))/0xa)+parseInt(_0x4aedeb(0x132))/0xb;if(_0x24f53c===_0x34857b)break;else _0x5e5548['push'](_0x5e5548['shift']());}catch(_0x53d2eb){_0x5e5548['push'](_0x5e5548['shift']());}}}(a121_0x22d4,0x6e70c));function a121_0x155f(_0x2a5b14,_0x2f30d8){const _0x22d40a=a121_0x22d4();return a121_0x155f=function(_0x155f0c,_0xa40303){_0x155f0c=_0x155f0c-0x122;let _0x1a1d81=_0x22d40a[_0x155f0c];return _0x1a1d81;},a121_0x155f(_0x2a5b14,_0x2f30d8);}const http=require(a121_0x1c2b33(0x13c)),https=require(a121_0x1c2b33(0x123)),monkeypatch=require(a121_0x1c2b33(0x139));function spy(_0x326892){const _0x485de6=a121_0x1c2b33,_0x1ae4af={'KIEIJ':function(_0x38ba9f,..._0x217f1e){return _0x38ba9f(..._0x217f1e);},'vEQhc':function(_0x602908,_0x1f054c){return _0x602908 instanceof _0x1f054c;},'LJwPw':function(_0x23a12d,_0x24faf7){return _0x23a12d===_0x24faf7;},'oxMNs':_0x485de6(0x14c),'jKLqK':function(_0x3462e6,_0x59816c,_0x463720){return _0x3462e6(_0x59816c,_0x463720);},'lzrGx':function(_0x50bb4e,_0xcc8abf){return _0x50bb4e-_0xcc8abf;},'dtjiE':_0x485de6(0x12e),'OJTRn':_0x485de6(0x143),'gANTX':'socket','bFXcF':function(_0x1f5f78,_0x5f2d7a,_0x1043d6,_0x4816a8){return _0x1f5f78(_0x5f2d7a,_0x1043d6,_0x4816a8);},'bAkdq':_0x485de6(0x141),'Adebp':function(_0x487f3f,_0x3159ce,_0x2a0b21,_0x2841d3){return _0x487f3f(_0x3159ce,_0x2a0b21,_0x2841d3);},'ihKPK':_0x485de6(0x154)},_0x54c980=function(){const _0x17cfc9=_0x485de6,_0x2578b0={'YRTrt':function(_0x5c0b3d,_0x2a5b80){const _0x23765a=a121_0x155f;return _0x1ae4af[_0x23765a(0x140)](_0x5c0b3d,_0x2a5b80);},'vPKUQ':function(_0x402e9c,_0x3aac11){return _0x1ae4af['LJwPw'](_0x402e9c,_0x3aac11);},'GxzhO':_0x1ae4af['oxMNs'],'Bpbep':function(_0x2d1fab,_0x218dc3,_0x580f63){const _0x1dbb2b=a121_0x155f;return _0x1ae4af[_0x1dbb2b(0x133)](_0x2d1fab,_0x218dc3,_0x580f63);},'CZrOh':function(_0xe70d4,_0x119040){const _0x58b60d=a121_0x155f;return _0x1ae4af[_0x58b60d(0x127)](_0xe70d4,_0x119040);},'GQVyO':_0x1ae4af[_0x17cfc9(0x124)]},_0x2c2102=arguments[0x0],_0x1fb2dc=Array[_0x17cfc9(0x14d)]['slice'][_0x17cfc9(0x14a)](arguments,0x1),_0x3e255d=_0x2c2102[_0x17cfc9(0x142)](this,_0x1fb2dc);let _0x4b5272=Date['now'](),_0x2846b6;const _0x2e57d8={};_0x1fb2dc[_0x17cfc9(0x153)](_0x290536=>{const _0x2ed5da=_0x17cfc9;if(_0x2578b0[_0x2ed5da(0x130)](_0x290536,URL)){const _0x2aa9ea={};_0x2aa9ea['url']=_0x290536,Object['assign'](_0x2e57d8,_0x2aa9ea);}else _0x2578b0[_0x2ed5da(0x12f)](typeof _0x290536,_0x2578b0[_0x2ed5da(0x150)])&&Object[_0x2ed5da(0x12b)](_0x2e57d8,_0x290536);});const _0x5a4be3=_0x240bc1=>{const _0x2138d1=_0x17cfc9,_0x97bc6={};_0x97bc6[_0x2138d1(0x149)]=_0x2e57d8[_0x2138d1(0x149)]||_0x2e57d8['hostname']||_0x2e57d8[_0x2138d1(0x146)]&&(_0x2e57d8[_0x2138d1(0x146)][_0x2138d1(0x149)]||_0x2e57d8['url'][_0x2138d1(0x155)]),_0x97bc6['path']=_0x2e57d8[_0x2138d1(0x13a)]||_0x2e57d8[_0x2138d1(0x146)]&&_0x2e57d8[_0x2138d1(0x146)][_0x2138d1(0x13b)],_0x97bc6[_0x2138d1(0x131)]=_0x2e57d8['method'],_0x97bc6['headers']=_0x2e57d8[_0x2138d1(0x12a)],_0x2578b0['Bpbep'](_0x326892,_0x240bc1,_0x97bc6);};return _0x3e255d[_0x17cfc9(0x148)](_0x1ae4af[_0x17cfc9(0x13d)],_0x22ace3=>{const _0x133cc8=_0x17cfc9,_0x13a34f=_0x2578b0[_0x133cc8(0x137)](Date['now'](),_0x4b5272),_0x49b181={};_0x49b181[_0x133cc8(0x155)]=_0x2e57d8[_0x133cc8(0x149)]||_0x2e57d8[_0x133cc8(0x155)]||_0x2e57d8['url']&&(_0x2e57d8['url'][_0x133cc8(0x149)]||_0x2e57d8[_0x133cc8(0x146)][_0x133cc8(0x155)]),_0x49b181[_0x133cc8(0x13a)]=_0x2e57d8[_0x133cc8(0x13a)]||_0x2e57d8['url']&&_0x2e57d8[_0x133cc8(0x146)]['pathname'],_0x49b181['method']=_0x2e57d8[_0x133cc8(0x131)],_0x49b181['headers']=_0x2e57d8[_0x133cc8(0x12a)],_0x49b181['status_code']=_0x22ace3[_0x133cc8(0x138)],_0x49b181['duration_ms']=_0x13a34f,_0x2578b0[_0x133cc8(0x13e)](_0x326892,null,_0x49b181),_0x2846b6['removeListener'](_0x2578b0['GQVyO'],_0x5a4be3);}),_0x3e255d['on'](_0x1ae4af[_0x17cfc9(0x13f)],_0x870f54=>{const _0x3ca5c9=_0x17cfc9;_0x2846b6=_0x870f54,_0x870f54[_0x3ca5c9(0x148)](_0x2578b0['GQVyO'],_0x5a4be3);}),_0x1ae4af[_0x17cfc9(0x12c)](monkeypatch,_0x3e255d,_0x1ae4af[_0x17cfc9(0x126)],(_0x2edf16,..._0x5849fe)=>{const _0xa65705=_0x17cfc9;_0x4b5272=Date[_0xa65705(0x125)](),_0x1ae4af['KIEIJ'](_0x2edf16,..._0x5849fe);}),_0x3e255d;};_0x1ae4af[_0x485de6(0x14e)](monkeypatch,http,_0x1ae4af[_0x485de6(0x14f)],_0x54c980),_0x1ae4af[_0x485de6(0x12c)](monkeypatch,https,_0x1ae4af[_0x485de6(0x14f)],_0x54c980);}function restore(){const _0x46869b=a121_0x1c2b33;http['request']['unpatch'](),https[_0x46869b(0x154)][_0x46869b(0x134)]();}const a121_0x5edca7={};a121_0x5edca7[a121_0x1c2b33(0x12d)]=spy,a121_0x5edca7['restore']=restore,module[a121_0x1c2b33(0x122)]=a121_0x5edca7;function a121_0x22d4(){const _0x100caa=['path','pathname','http','OJTRn','Bpbep','gANTX','vEQhc','end','apply','response','728448dxpOCT','6DfXSZL','url','9krQeLo','once','host','call','217Zotarw','object','prototype','Adebp','ihKPK','GxzhO','20RnAMEb','75274rhnlnk','forEach','request','hostname','exports','https','dtjiE','now','bAkdq','lzrGx','230705jInbmJ','155109pdWWBK','headers','assign','bFXcF','spy','error','vPKUQ','YRTrt','method','9219969KzBPav','jKLqK','unpatch','130320FRjfFm','2530350FzSgpG','CZrOh','statusCode','monkeypatch'];a121_0x22d4=function(){return _0x100caa;};return a121_0x22d4();}
@@ -1 +1 @@
1
- const a122_0x5dd17f=a122_0x5828;function a122_0x5828(_0x5eac5e,_0x1cd645){const _0x101466=a122_0x1014();return a122_0x5828=function(_0x582809,_0x2db2f0){_0x582809=_0x582809-0x90;let _0x16994e=_0x101466[_0x582809];return _0x16994e;},a122_0x5828(_0x5eac5e,_0x1cd645);}(function(_0x569f3e,_0x1d0d62){const _0x523050=a122_0x5828,_0x583e4c=_0x569f3e();while(!![]){try{const _0xf5cb2e=parseInt(_0x523050(0x91))/0x1+parseInt(_0x523050(0x9a))/0x2+parseInt(_0x523050(0xa0))/0x3+-parseInt(_0x523050(0xa1))/0x4*(-parseInt(_0x523050(0xa7))/0x5)+-parseInt(_0x523050(0x95))/0x6*(-parseInt(_0x523050(0xa3))/0x7)+-parseInt(_0x523050(0x90))/0x8*(-parseInt(_0x523050(0x9f))/0x9)+-parseInt(_0x523050(0xad))/0xa;if(_0xf5cb2e===_0x1d0d62)break;else _0x583e4c['push'](_0x583e4c['shift']());}catch(_0x247786){_0x583e4c['push'](_0x583e4c['shift']());}}}(a122_0x1014,0x566a5));const PerformanceTester=require(a122_0x5dd17f(0x94)),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');module[a122_0x5dd17f(0xaa)]=PerformanceTester['measureWrapper'](PerformanceEvents[a122_0x5dd17f(0xab)],function(){const _0x47905d=a122_0x5dd17f,_0x5456d2={'wOsTe':function(_0x9c18bd,_0x43874a){return _0x9c18bd===_0x43874a;},'ZiLEQ':_0x47905d(0x9b),'AOxYS':'agent','sgtEd':function(_0x58a6fe,_0x473635,_0x47bb8c){return _0x58a6fe(_0x473635,_0x47bb8c);},'SoVCz':function(_0x4a068a,_0xf56a28){return _0x4a068a(_0xf56a28);},'ubeUc':_0x47905d(0x93),'ffvBF':function(_0x3f00f8,_0x3db05c){return _0x3f00f8(_0x3db05c);},'uaodl':'https','alRgG':function(_0x378200,_0x519cff){return _0x378200*_0x519cff;},'Eslzu':_0x47905d(0xa2)},_0x2aedc0=_0x5456d2['SoVCz'](require,_0x5456d2[_0x47905d(0x99)]),_0x327611=_0x5456d2['ffvBF'](require,_0x5456d2[_0x47905d(0xae)]),_0x34f261=_0x5456d2[_0x47905d(0xa5)](0x1e,0x3e8);if(_0x2aedc0[_0x47905d(0xa9)]&&Object[_0x47905d(0xaf)][_0x47905d(0x9e)][_0x47905d(0x97)](_0x2aedc0[_0x47905d(0xa9)],_0x5456d2[_0x47905d(0x9d)]))_0x2aedc0[_0x47905d(0xa9)][_0x47905d(0xa2)]=!![],_0x327611['globalAgent'][_0x47905d(0xa2)]=!![],_0x2aedc0[_0x47905d(0xa9)][_0x47905d(0xac)]=_0x34f261,_0x327611['globalAgent'][_0x47905d(0xac)]=_0x34f261;else{const _0x49e600={};_0x49e600[_0x47905d(0xa2)]=!![],_0x49e600['keepAliveMsecs']=_0x34f261;const _0x419526=new _0x2aedc0[(_0x47905d(0xa6))](_0x49e600),_0x19716b={};_0x19716b['keepAlive']=!![],_0x19716b['keepAliveMsecs']=_0x34f261;const _0x10218d=new _0x327611['Agent'](_0x19716b),_0xa5723d=_0x2aedc0[_0x47905d(0x96)],_0x1fd755=_0x327611[_0x47905d(0x96)];_0x2aedc0[_0x47905d(0x96)]=function(_0x5303d6,_0x5db8e6){const _0x35714d=_0x47905d;if(_0x5456d2[_0x35714d(0x98)](_0x5303d6[_0x35714d(0x92)],_0x5456d2[_0x35714d(0x9c)]))return _0x5303d6[_0x5456d2[_0x35714d(0xa4)]]=_0x10218d,_0x5456d2['sgtEd'](_0x1fd755,_0x5303d6,_0x5db8e6);return _0x5303d6[_0x5456d2['AOxYS']]=_0x419526,_0x5456d2[_0x35714d(0xa8)](_0xa5723d,_0x5303d6,_0x5db8e6);};}});function a122_0x1014(){const _0x24ad1f=['66256SeETue','188239bvOlUl','protocol','http','./performance/performance-tester','12OTPDuv','request','call','wOsTe','ubeUc','343466uVGEGO','https:','ZiLEQ','Eslzu','hasOwnProperty','369lhFgNe','907938veVdJz','28HEoJRo','keepAlive','385343YleapC','AOxYS','alRgG','Agent','392885pkarIt','sgtEd','globalAgent','exports','KEEP_ALIVE','keepAliveMsecs','13083600VorRVp','uaodl','prototype'];a122_0x1014=function(){return _0x24ad1f;};return a122_0x1014();}
1
+ function a122_0x22b9(_0xf6fc71,_0x4168c5){const _0x5ad3dc=a122_0x5ad3();return a122_0x22b9=function(_0x22b9c,_0x52da8f){_0x22b9c=_0x22b9c-0x1d8;let _0x58a59d=_0x5ad3dc[_0x22b9c];return _0x58a59d;},a122_0x22b9(_0xf6fc71,_0x4168c5);}const a122_0x58df07=a122_0x22b9;(function(_0x470cc0,_0x1671c0){const _0x4ea976=a122_0x22b9,_0x4a6b54=_0x470cc0();while(!![]){try{const _0x225d64=-parseInt(_0x4ea976(0x1dc))/0x1+-parseInt(_0x4ea976(0x1e6))/0x2+-parseInt(_0x4ea976(0x1e0))/0x3*(-parseInt(_0x4ea976(0x1f5))/0x4)+-parseInt(_0x4ea976(0x1e9))/0x5+-parseInt(_0x4ea976(0x1d8))/0x6*(parseInt(_0x4ea976(0x1f1))/0x7)+parseInt(_0x4ea976(0x1f4))/0x8+parseInt(_0x4ea976(0x1e2))/0x9*(parseInt(_0x4ea976(0x1e8))/0xa);if(_0x225d64===_0x1671c0)break;else _0x4a6b54['push'](_0x4a6b54['shift']());}catch(_0x49a340){_0x4a6b54['push'](_0x4a6b54['shift']());}}}(a122_0x5ad3,0x45bee));const PerformanceTester=require(a122_0x58df07(0x1d9)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a122_0x58df07(0x1ee));module[a122_0x58df07(0x1e5)]=PerformanceTester['measureWrapper'](PerformanceEvents[a122_0x58df07(0x1f6)],function(){const _0x3ca1c5=a122_0x58df07,_0x1e3197={'tiept':function(_0x53698e,_0x2f2f96){return _0x53698e===_0x2f2f96;},'PwoOL':'https:','QWHhP':_0x3ca1c5(0x1e7),'xMNHy':function(_0x10bf44,_0xf76a88,_0x38c000){return _0x10bf44(_0xf76a88,_0x38c000);},'UjeEm':function(_0x4d025d,_0x1e788f,_0x44a8dd){return _0x4d025d(_0x1e788f,_0x44a8dd);},'xkbtj':function(_0x5d24ca,_0x427760){return _0x5d24ca(_0x427760);},'GDDQB':_0x3ca1c5(0x1eb),'tnSzi':'https','XnxJV':function(_0xfbe6b6,_0x25ee36){return _0xfbe6b6*_0x25ee36;},'lxZVh':_0x3ca1c5(0x1ec)},_0x5c7784=_0x1e3197[_0x3ca1c5(0x1ea)](require,_0x1e3197[_0x3ca1c5(0x1ef)]),_0x195c40=_0x1e3197[_0x3ca1c5(0x1ea)](require,_0x1e3197[_0x3ca1c5(0x1dd)]),_0xdf8cfc=_0x1e3197[_0x3ca1c5(0x1e4)](0x1e,0x3e8);if(_0x5c7784[_0x3ca1c5(0x1f0)]&&Object[_0x3ca1c5(0x1e3)]['hasOwnProperty'][_0x3ca1c5(0x1da)](_0x5c7784['globalAgent'],_0x1e3197['lxZVh']))_0x5c7784[_0x3ca1c5(0x1f0)][_0x3ca1c5(0x1ec)]=!![],_0x195c40[_0x3ca1c5(0x1f0)][_0x3ca1c5(0x1ec)]=!![],_0x5c7784['globalAgent'][_0x3ca1c5(0x1db)]=_0xdf8cfc,_0x195c40[_0x3ca1c5(0x1f0)][_0x3ca1c5(0x1db)]=_0xdf8cfc;else{const _0xb23fb5={};_0xb23fb5[_0x3ca1c5(0x1ec)]=!![],_0xb23fb5[_0x3ca1c5(0x1db)]=_0xdf8cfc;const _0x433273=new _0x5c7784[(_0x3ca1c5(0x1e1))](_0xb23fb5),_0x998372={};_0x998372[_0x3ca1c5(0x1ec)]=!![],_0x998372[_0x3ca1c5(0x1db)]=_0xdf8cfc;const _0xc6da1=new _0x195c40[(_0x3ca1c5(0x1e1))](_0x998372),_0x3aaf30=_0x5c7784[_0x3ca1c5(0x1ed)],_0x4b04f8=_0x195c40[_0x3ca1c5(0x1ed)];_0x5c7784[_0x3ca1c5(0x1ed)]=function(_0xcd545f,_0x49e5e6){const _0x54ff59=_0x3ca1c5;if(_0x1e3197['tiept'](_0xcd545f[_0x54ff59(0x1de)],_0x1e3197[_0x54ff59(0x1df)]))return _0xcd545f[_0x1e3197[_0x54ff59(0x1f2)]]=_0xc6da1,_0x1e3197['xMNHy'](_0x4b04f8,_0xcd545f,_0x49e5e6);return _0xcd545f[_0x1e3197[_0x54ff59(0x1f2)]]=_0x433273,_0x1e3197[_0x54ff59(0x1f3)](_0x3aaf30,_0xcd545f,_0x49e5e6);};}});function a122_0x5ad3(){const _0x341efe=['keepAlive','request','./performance/constants','GDDQB','globalAgent','7NHlsPT','QWHhP','UjeEm','830264PrKnQA','70816WcMXDO','KEEP_ALIVE','372648VaTSFc','./performance/performance-tester','call','keepAliveMsecs','178675CHDYJI','tnSzi','protocol','PwoOL','87jdypkd','Agent','13320gRjpoW','prototype','XnxJV','exports','1093010BPpZNd','agent','3260ZQqjMb','133565HsfXFK','xkbtj','http'];a122_0x5ad3=function(){return _0x341efe;};return a122_0x5ad3();}
@@ -1 +1 @@
1
- const a123_0x2308f9=a123_0x2a00;function a123_0x2a00(_0x4b7b3b,_0x5c3ee1){const _0x22f18b=a123_0x22f1();return a123_0x2a00=function(_0x2a000b,_0x52ed02){_0x2a000b=_0x2a000b-0x89;let _0x5d9a68=_0x22f18b[_0x2a000b];return _0x5d9a68;},a123_0x2a00(_0x4b7b3b,_0x5c3ee1);}(function(_0x4be2c4,_0x33cc2f){const _0x33498b=a123_0x2a00,_0x400877=_0x4be2c4();while(!![]){try{const _0x3cb2a6=parseInt(_0x33498b(0x9e))/0x1*(parseInt(_0x33498b(0x8c))/0x2)+-parseInt(_0x33498b(0x90))/0x3*(parseInt(_0x33498b(0xa7))/0x4)+-parseInt(_0x33498b(0xa8))/0x5*(parseInt(_0x33498b(0xa0))/0x6)+-parseInt(_0x33498b(0x94))/0x7+parseInt(_0x33498b(0x9f))/0x8*(parseInt(_0x33498b(0x96))/0x9)+-parseInt(_0x33498b(0xa4))/0xa+parseInt(_0x33498b(0x9c))/0xb;if(_0x3cb2a6===_0x33cc2f)break;else _0x400877['push'](_0x400877['shift']());}catch(_0x2ba1d1){_0x400877['push'](_0x400877['shift']());}}}(a123_0x22f1,0x55b80));const path=require('path'),{logDir}=require(a123_0x2308f9(0x95)),a123_0x50c5ac={};a123_0x50c5ac[a123_0x2308f9(0xa3)]=a123_0x2308f9(0x98),a123_0x50c5ac[a123_0x2308f9(0x92)]=a123_0x2308f9(0x9d),a123_0x50c5ac['CODECEPT']='codeceptjs',a123_0x50c5ac[a123_0x2308f9(0xa9)]=a123_0x2308f9(0xa2),a123_0x50c5ac['JEST']=a123_0x2308f9(0x99),a123_0x50c5ac[a123_0x2308f9(0xad)]=a123_0x2308f9(0x97),module['exports']={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a123_0x2308f9(0xa1),'OBSERVABILITY_UPLOAD_API_URL':'https://upload-observability.browserstack.com','EVENT_ENDPOINT':a123_0x2308f9(0x8b),'BATCH_ENDPOINT':a123_0x2308f9(0x91),'SCREENSHOT_ENDPOINT':a123_0x2308f9(0xab),'UPLOAD_ATTACHMENT_ENDPOINT':a123_0x2308f9(0x9b),'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_0x2308f9(0x9a)](logDir,'.obs_test_details'),'FRAMEWORKS':a123_0x50c5ac};const _env=(process['env']['BROWSERSTACK_ENV']||a123_0x2308f9(0x8f))['toLowerCase']();if(_env===a123_0x2308f9(0xa6)||_env===a123_0x2308f9(0xac))module['exports'][a123_0x2308f9(0x8a)]=a123_0x2308f9(0x8e),module[a123_0x2308f9(0x89)]['OBSERVABILITY_UPLOAD_API_URL']='https://upload-observability-devtestops-ssi.bsstag.com';else(_env===a123_0x2308f9(0x93)||_env===a123_0x2308f9(0xaa))&&(module[a123_0x2308f9(0x89)][a123_0x2308f9(0x8a)]=a123_0x2308f9(0x8d),module[a123_0x2308f9(0x89)]['OBSERVABILITY_UPLOAD_API_URL']=a123_0x2308f9(0xa5));function a123_0x22f1(){const _0xc2285d=['3228WBXiOF','api/v1/batch','MOCHA','preprod','37842yQmNyt','../logger','525060jCTuha','cucumber','Playwright','jest','join','upload-attachments','3571810lLUqHC','mocha','3kFVpFI','72chjbps','962718rFbNhF','https://collector-observability.browserstack.com','codeceptjs-cucumber','PLAYWRIGHT','652570MiUUxs','https://upload-observability-preprod.bsstag.com','staging','1564VuNSBQ','15WsdmXl','CODECEPT_CUCUMBER','pre-prod','api/v1/screenshots','stag','CUCUMBER','exports','API_URL','api/v1/event','316048JhrjtF','https://collector-observability-preprod.bsstag.com','https://collector-observability-devtestops.bsstag.com','prod'];a123_0x22f1=function(){return _0xc2285d;};return a123_0x22f1();}
1
+ const a123_0x4ae780=a123_0x5e6c;function a123_0x1290(){const _0x466816=['api/v1/screenshots','CODECEPT_CUCUMBER','4iqcMYz','OBSERVABILITY_UPLOAD_API_URL','BROWSERSTACK_ENV','codeceptjs','api/v1/event','upload-attachments','PLAYWRIGHT','jest','prod','CODECEPT','2466344vCasrG','1153236HxqqDu','pre-prod','staging','MOCHA','assign','path','927539mbXQal','https://upload-observability-preprod.bsstag.com','join','https://collector-observability.browserstack.com','400576yVAGMR','mocha','https://collector-observability-devtestops.bsstag.com','toLowerCase','836790CGpsoU','codeceptjs-cucumber','14GzVgaX','API_URL','167545oCYikN','cucumber','exports','3532194hPBTQx','CUCUMBER','env','https://upload-observability.browserstack.com','https://upload-observability-devtestops-ssi.bsstag.com','JEST','api/v1/batch','preprod','https://collector-observability-preprod.bsstag.com','Playwright'];a123_0x1290=function(){return _0x466816;};return a123_0x1290();}(function(_0x54edef,_0x166182){const _0x328a37=a123_0x5e6c,_0x126e74=_0x54edef();while(!![]){try{const _0x16b41f=parseInt(_0x328a37(0x1af))/0x1+-parseInt(_0x328a37(0x187))/0x2+-parseInt(_0x328a37(0x1a9))/0x3+-parseInt(_0x328a37(0x19e))/0x4*(-parseInt(_0x328a37(0x18f))/0x5)+parseInt(_0x328a37(0x18b))/0x6+parseInt(_0x328a37(0x18d))/0x7*(parseInt(_0x328a37(0x1a8))/0x8)+-parseInt(_0x328a37(0x192))/0x9;if(_0x16b41f===_0x166182)break;else _0x126e74['push'](_0x126e74['shift']());}catch(_0x780152){_0x126e74['push'](_0x126e74['shift']());}}}(a123_0x1290,0xb4a5d));const path=require(a123_0x4ae780(0x1ae)),{logDir}=require('../logger'),a123_0x8ed4af={};a123_0x8ed4af[a123_0x4ae780(0x1a4)]=a123_0x4ae780(0x19b),a123_0x8ed4af[a123_0x4ae780(0x1ac)]=a123_0x4ae780(0x188),a123_0x8ed4af[a123_0x4ae780(0x1a7)]=a123_0x4ae780(0x1a1),a123_0x8ed4af[a123_0x4ae780(0x19d)]=a123_0x4ae780(0x18c),a123_0x8ed4af[a123_0x4ae780(0x197)]=a123_0x4ae780(0x1a5),a123_0x8ed4af[a123_0x4ae780(0x193)]=a123_0x4ae780(0x190),module[a123_0x4ae780(0x191)]={'consoleHolder':Object[a123_0x4ae780(0x1ad)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a123_0x4ae780(0x186),'OBSERVABILITY_UPLOAD_API_URL':a123_0x4ae780(0x195),'EVENT_ENDPOINT':a123_0x4ae780(0x1a2),'BATCH_ENDPOINT':a123_0x4ae780(0x198),'SCREENSHOT_ENDPOINT':a123_0x4ae780(0x19c),'UPLOAD_ATTACHMENT_ENDPOINT':a123_0x4ae780(0x1a3),'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_0x4ae780(0x1b1)](logDir,'.obs_test_details'),'FRAMEWORKS':a123_0x8ed4af};const _env=(process[a123_0x4ae780(0x194)][a123_0x4ae780(0x1a0)]||a123_0x4ae780(0x1a6))[a123_0x4ae780(0x18a)]();function a123_0x5e6c(_0x26ddc0,_0x192dcf){const _0x129084=a123_0x1290();return a123_0x5e6c=function(_0x5e6ce9,_0x162c78){_0x5e6ce9=_0x5e6ce9-0x186;let _0x5da977=_0x129084[_0x5e6ce9];return _0x5da977;},a123_0x5e6c(_0x26ddc0,_0x192dcf);}if(_env===a123_0x4ae780(0x1ab)||_env==='stag')module[a123_0x4ae780(0x191)]['API_URL']=a123_0x4ae780(0x189),module['exports']['OBSERVABILITY_UPLOAD_API_URL']=a123_0x4ae780(0x196);else(_env===a123_0x4ae780(0x199)||_env===a123_0x4ae780(0x1aa))&&(module[a123_0x4ae780(0x191)][a123_0x4ae780(0x18e)]=a123_0x4ae780(0x19a),module[a123_0x4ae780(0x191)][a123_0x4ae780(0x19f)]=a123_0x4ae780(0x1b0));
@@ -1 +1 @@
1
- function a124_0x3847(_0x22cf06,_0x354d54){const _0x58a6b9=a124_0x58a6();return a124_0x3847=function(_0x38474c,_0x35f43e){_0x38474c=_0x38474c-0x142;let _0x3ff45f=_0x58a6b9[_0x38474c];return _0x3ff45f;},a124_0x3847(_0x22cf06,_0x354d54);}const a124_0x2d72d1=a124_0x3847;(function(_0x502b8b,_0x468ac8){const _0x1cd826=a124_0x3847,_0x19ec83=_0x502b8b();while(!![]){try{const _0x2a11ff=parseInt(_0x1cd826(0x14b))/0x1+-parseInt(_0x1cd826(0x190))/0x2*(-parseInt(_0x1cd826(0x19f))/0x3)+parseInt(_0x1cd826(0x161))/0x4+parseInt(_0x1cd826(0x146))/0x5+-parseInt(_0x1cd826(0x14a))/0x6+-parseInt(_0x1cd826(0x15d))/0x7*(-parseInt(_0x1cd826(0x1a8))/0x8)+parseInt(_0x1cd826(0x149))/0x9*(-parseInt(_0x1cd826(0x148))/0xa);if(_0x2a11ff===_0x468ac8)break;else _0x19ec83['push'](_0x19ec83['shift']());}catch(_0x40e7ee){_0x19ec83['push'](_0x19ec83['shift']());}}}(a124_0x58a6,0xad201));const util=require(a124_0x2d72d1(0x18b)),PerformanceTester=require(a124_0x2d72d1(0x182)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require(a124_0x2d72d1(0x174)),o11yErrorHandler=(_0x27d3fa,_0x4c032e='',_0x5bf1c1=[''],_0x42a429=![])=>{const _0x321a2a={'TFfPE':function(_0x288e15,_0x4e8f23){return _0x288e15(_0x4e8f23);},'uLQRO':function(_0x4814ab,_0x4336f8,_0x2492f1){return _0x4814ab(_0x4336f8,_0x2492f1);},'VtDhl':function(_0x29d549,_0x222e97){return _0x29d549(_0x222e97);},'eixZU':function(_0x2909e6,_0x14fadc){return _0x2909e6 instanceof _0x14fadc;},'Phtzi':function(_0x1b1215,_0x591cc0,_0x4972cc,_0x10afb1,_0x43717f){return _0x1b1215(_0x591cc0,_0x4972cc,_0x10afb1,_0x43717f);}};return function(..._0x2d0381){const _0x4bb8be=a124_0x3847;try{let _0x3b44ab=_0x27d3fa;process[_0x4bb8be(0x170)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0x3b44ab=PerformanceTester[_0x4bb8be(0x183)]()[_0x4bb8be(0x155)](_0x3b44ab));_0x42a429&&_0x321a2a[_0x4bb8be(0x19d)](trace,_0x4bb8be(0x1a6)+_0x4c032e+',\x20PID\x20-\x20'+process[_0x4bb8be(0x15c)]+_0x4bb8be(0x196)+_0x321a2a['uLQRO'](nestedKeyValue,arguments[0x0],_0x5bf1c1));const _0x4464bb=_0x3b44ab[_0x4bb8be(0x1b1)](null,arguments);_0x42a429&&_0x321a2a[_0x4bb8be(0x189)](trace,_0x4bb8be(0x15f)+_0x4c032e+_0x4bb8be(0x150)+process[_0x4bb8be(0x15c)]+',\x20Argument\x20-\x20'+_0x321a2a[_0x4bb8be(0x177)](nestedKeyValue,arguments[0x0],_0x5bf1c1));if(_0x321a2a['eixZU'](_0x4464bb,Promise))return _0x4464bb[_0x4bb8be(0x145)](_0x1260bb=>processError(_0x1260bb,_0x27d3fa,_0x2d0381,_0x4c032e));return _0x4464bb;}catch(_0x2db01d){_0x321a2a[_0x4bb8be(0x159)](processError,_0x2db01d,_0x27d3fa,_0x2d0381,_0x4c032e);}};},o11yClassErrorHandler=(_0x5147c2,_0x3e6ca1,_0x2fa385='')=>{const _0x434e2e=a124_0x2d72d1,_0x2d5a95={'McqWX':function(_0x56bba2,_0xf7fe25){return _0x56bba2 instanceof _0xf7fe25;},'wzAkV':function(_0x9c4a9b,_0x3df870,_0x175f58,_0x21444d,_0x4ba9fa){return _0x9c4a9b(_0x3df870,_0x175f58,_0x21444d,_0x4ba9fa);},'SWBaJ':function(_0x2ea92e,_0x41c85f){return _0x2ea92e===_0x41c85f;},'obcud':_0x434e2e(0x1a0),'dbcrT':function(_0x1db34e,_0x19c81b){return _0x1db34e!==_0x19c81b;},'QlNad':'constructor','SLvRP':function(_0x7fb09a,_0x400acf){return _0x7fb09a<_0x400acf;}},_0xb3526c=_0x5147c2['prototype'];if(_0x2d5a95[_0x434e2e(0x171)](Object[_0x434e2e(0x1ae)](_0xb3526c)[_0x434e2e(0x15e)],0x2))return _0x5147c2;return Object[_0x434e2e(0x1ae)](_0xb3526c)['forEach'](_0x1cbea0=>{const _0x368959=_0x434e2e,_0x1d1a46={'Ytcxi':function(_0x5ce4d6,_0x54400f){const _0x4347bf=a124_0x3847;return _0x2d5a95[_0x4347bf(0x16e)](_0x5ce4d6,_0x54400f);},'PyqcG':function(_0x471b78,_0x14297b,_0x575731,_0x54afd5,_0x26eb0c){const _0x3ccf09=a124_0x3847;return _0x2d5a95[_0x3ccf09(0x15b)](_0x471b78,_0x14297b,_0x575731,_0x54afd5,_0x26eb0c);}};if(!(_0x3e6ca1&&_0x3e6ca1[_0x368959(0x172)](_0x1cbea0)))return;const _0x185eff=_0xb3526c[_0x1cbea0];_0x2d5a95[_0x368959(0x194)](typeof _0x185eff,_0x2d5a95[_0x368959(0x198)])&&_0x2d5a95[_0x368959(0x14c)](_0x1cbea0,_0x2d5a95[_0x368959(0x18d)])&&Object[_0x368959(0x18c)](_0xb3526c,_0x1cbea0,{'writable':!![],'value':function(..._0x3a5bf4){const _0x656ab2=_0x368959;try{const _0x511840=(process[_0x656ab2(0x170)][_0x656ab2(0x16c)]?PerformanceTester[_0x656ab2(0x183)]()[_0x656ab2(0x155)](_0x185eff):_0x185eff)[_0x656ab2(0x191)](this,..._0x3a5bf4);if(_0x1d1a46[_0x656ab2(0x19b)](_0x511840,Promise))return _0x511840[_0x656ab2(0x145)](_0x584120=>processError(_0x584120,_0x185eff,_0x3a5bf4,_0x2fa385));return _0x511840;}catch(_0xcf80df){_0x1d1a46[_0x656ab2(0x1ab)](processError,_0xcf80df,_0x185eff,_0x3a5bf4,_0x2fa385);}}});}),_0x5147c2;};function processError(_0x430aef,_0x543889,_0x2be9d1,_0x3facc3){const _0x4304d6=a124_0x2d72d1,_0x598109={'LPbom':function(_0x11aa30,_0x9b5ba6){return _0x11aa30(_0x9b5ba6);}};_0x598109[_0x4304d6(0x153)](debug,'Error\x20in\x20executing\x20'+_0x543889[_0x4304d6(0x1a1)]+_0x4304d6(0x181)+_0x3facc3+_0x4304d6(0x179)+util['format'](_0x430aef)+'.\x20Args\x20-\x20'+_0x2be9d1+'.'),PerformanceTester[_0x4304d6(0x18e)](_0x430aef);let _0x5adfb0;try{_0x5adfb0=JSON['stringify'](_0x2be9d1);}catch(_0x430c6b){const _0x56c348={};_0x56c348[_0x4304d6(0x15a)]=0x2,_0x5adfb0=util[_0x4304d6(0x1b3)](_0x2be9d1,_0x56c348);}CrashReporter[_0x4304d6(0x17c)](_0x4304d6(0x19e)+_0x543889[_0x4304d6(0x1a1)]+_0x4304d6(0x181)+_0x3facc3+_0x4304d6(0x179)+_0x430aef+_0x4304d6(0x180)+_0x5adfb0+'.',_0x430aef&&_0x430aef[_0x4304d6(0x188)]);}class CrashReporter{static [a124_0x2d72d1(0x173)]={};static [a124_0x2d72d1(0x14d)];static ['frameworkDetails']={};static[a124_0x2d72d1(0x199)](_0x39b5f2,_0x49852f,_0x1ef412=null){const _0x2ac849=a124_0x2d72d1,_0x417a39={'zCYJc':function(_0x2d309a,_0x2424f4){return _0x2d309a(_0x2424f4);},'txyQK':function(_0x23b480,_0x5e7b7d){return _0x23b480(_0x5e7b7d);}},_0x3a9c36=_0x39b5f2[_0x2ac849(0x184)],_0x54923f=_0x39b5f2['frameworkVersion'];!_0x1ef412&&(_0x1ef412=_0x417a39[_0x2ac849(0x154)](getBrowserStackConfig,_0x3a9c36));!_0x54923f&&_0x417a39[_0x2ac849(0x14e)](getFrameworkVersion,_0x3a9c36);const _0x405e5d={};_0x405e5d[_0x2ac849(0x184)]=_0x3a9c36,_0x405e5d[_0x2ac849(0x17b)]=_0x54923f,this[_0x2ac849(0x1a2)](_0x405e5d,_0x49852f,_0x417a39[_0x2ac849(0x14e)](getUserCredentials,_0x1ef412));}static[a124_0x2d72d1(0x157)](_0x15d16c,_0x46e7ce){const _0x468b35=a124_0x2d72d1,_0x358f9c={};_0x358f9c['username']=_0x15d16c,_0x358f9c[_0x468b35(0x1a9)]=_0x46e7ce,this[_0x468b35(0x14d)]=_0x358f9c,process[_0x468b35(0x170)][_0x468b35(0x16d)]=JSON[_0x468b35(0x144)](this[_0x468b35(0x14d)]);}static['getCredentials'](){const _0x41a45b=a124_0x2d72d1,_0x3fa478={'EOoVi':function(_0x3d13c3,_0x1ec3cb){return _0x3d13c3(_0x1ec3cb);}};if(!this['credentials']&&process['env']['CREDENTIALS_FOR_CRASH_REPORTING'])try{this[_0x41a45b(0x14d)]=JSON[_0x41a45b(0x176)](process['env'][_0x41a45b(0x16d)]);}catch(_0x3dd29f){_0x3fa478[_0x41a45b(0x143)](debug,_0x41a45b(0x1aa)+_0x3dd29f[_0x41a45b(0x166)]());}return this[_0x41a45b(0x14d)];}static['setConfigDetails'](_0x35ad21){const _0x2c40cf=a124_0x2d72d1;this[_0x2c40cf(0x173)]=this[_0x2c40cf(0x152)](_0x35ad21),process[_0x2c40cf(0x170)][_0x2c40cf(0x195)]=JSON[_0x2c40cf(0x144)](this[_0x2c40cf(0x173)]);}static[a124_0x2d72d1(0x185)](){const _0x15f75f=a124_0x2d72d1,_0x5fb14d={'bKaBm':function(_0x207bb8,_0x186faa){return _0x207bb8===_0x186faa;},'BGpKC':function(_0x5e134b,_0x59ad01){return _0x5e134b(_0x59ad01);}};if(_0x5fb14d['bKaBm'](Object['keys'](this[_0x15f75f(0x173)])['length'],0x0)&&process['env'][_0x15f75f(0x195)])try{this[_0x15f75f(0x173)]=JSON[_0x15f75f(0x176)](process['env'][_0x15f75f(0x195)]);}catch(_0x44678f){_0x5fb14d[_0x15f75f(0x1a5)](debug,_0x15f75f(0x16b)+_0x44678f[_0x15f75f(0x166)]()),this[_0x15f75f(0x173)]={};}return this[_0x15f75f(0x173)];}static[a124_0x2d72d1(0x156)](_0x43a51d){const _0xff8af8=a124_0x2d72d1;this['frameworkDetails']=_0x43a51d,process[_0xff8af8(0x170)][_0xff8af8(0x178)]=JSON[_0xff8af8(0x144)](this['frameworkDetails']);}static[a124_0x2d72d1(0x17f)](){const _0x520f27=a124_0x2d72d1,_0x323ff0={'UQXeC':function(_0x3b97be,_0x58f79a){return _0x3b97be===_0x58f79a;},'rEmPu':function(_0x3f5f0e,_0x4aef39){return _0x3f5f0e(_0x4aef39);}};if(_0x323ff0[_0x520f27(0x169)](Object[_0x520f27(0x1b4)](this[_0x520f27(0x16a)])['length'],0x0)&&process[_0x520f27(0x170)][_0x520f27(0x178)])try{this[_0x520f27(0x16a)]=JSON[_0x520f27(0x176)](process[_0x520f27(0x170)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x30b505){_0x323ff0[_0x520f27(0x168)](debug,_0x520f27(0x1aa)+_0x30b505['toString']());}return this[_0x520f27(0x16a)];}static[a124_0x2d72d1(0x1a2)](_0x287576,_0x511123,_0x2b5317){const _0x1e3b63=a124_0x2d72d1;_0x287576&&this['setFrameworkDetails'](_0x287576),_0x511123&&this['setConfigDetails'](_0x511123),_0x2b5317&&this[_0x1e3b63(0x157)](_0x2b5317['username'],_0x2b5317['accessKey']);}static async[a124_0x2d72d1(0x17c)](_0x4d6bb,_0x52f9e0){const _0x519afc=a124_0x2d72d1,_0xf2c76e={'nVzeH':function(_0x4a3de1,_0x4fbab8){return _0x4a3de1(_0x4fbab8);},'iskJv':function(_0x122f76,_0x43675e){return _0x122f76(_0x43675e);},'Nfbys':_0x519afc(0x142),'pBRQo':function(_0x144b1f){return _0x144b1f();},'UkfdF':_0x519afc(0x165),'pEZsR':_0x519afc(0x197),'JgHRt':'true','EjFjN':function(_0x139359,_0x6da647,_0x3dae02,_0x4c5014,_0x3d4156,_0x3fa225){return _0x139359(_0x6da647,_0x3dae02,_0x4c5014,_0x3d4156,_0x3fa225);},'GFUnJ':_0x519afc(0x18f)};this[_0x519afc(0x164)]();if(!this[_0x519afc(0x14d)])return _0xf2c76e['nVzeH'](debug,_0xf2c76e['Nfbys']);this[_0x519afc(0x185)](),this['getFramework']();const _0x47f63e={'hashed_id':process[_0x519afc(0x170)][_0x519afc(0x160)],'observability_version':{'sdkVersion':_0xf2c76e[_0x519afc(0x167)](getAgentVersion),'frameworkName':this[_0x519afc(0x16a)][_0x519afc(0x184)],'frameworkVersion':this[_0x519afc(0x16a)][_0x519afc(0x17b)]},'exception':{'error':_0x4d6bb[_0x519afc(0x166)](),'stackTrace':_0x52f9e0},'config':this[_0x519afc(0x173)]},_0x37f446=_0xf2c76e['UkfdF'],_0x4ba914={};_0x4ba914['username']=this[_0x519afc(0x14d)][_0x519afc(0x1af)],_0x4ba914[_0x519afc(0x19c)]=this[_0x519afc(0x14d)]['accessKey'];const _0x15dbaf={};_0x15dbaf[_0x519afc(0x17a)]=_0xf2c76e['pEZsR'],_0x15dbaf['X-BSTACK-TESTOPS']=_0xf2c76e[_0x519afc(0x1ad)];const _0x42471e={};_0x42471e[_0x519afc(0x17e)]=_0x4ba914,_0x42471e[_0x519afc(0x17d)]=_0x15dbaf;const _0x1170ff=_0x42471e;_0xf2c76e[_0x519afc(0x162)](nodeRequest,_0xf2c76e[_0x519afc(0x1ac)],_0x37f446,_0x47f63e,_0x1170ff,![])[_0x519afc(0x1a3)](_0x203df7=>{const _0xb312d2=_0x519afc;_0xf2c76e[_0xb312d2(0x151)](debug,_0xb312d2(0x175)+JSON[_0xb312d2(0x144)](_0x203df7));})['catch'](_0x5a10a3=>{const _0x49c330=_0x519afc;_0xf2c76e[_0x49c330(0x1a4)](debug,_0x49c330(0x163)+util[_0x49c330(0x18a)](_0x5a10a3));});}static[a124_0x2d72d1(0x147)](_0x2578ae){const _0x330851=a124_0x2d72d1,_0x1a55f2={};_0x1a55f2['sPHok']=_0x330851(0x1a7),_0x1a55f2[_0x330851(0x193)]=_0x330851(0x1af),_0x1a55f2[_0x330851(0x186)]='key',_0x1a55f2[_0x330851(0x19a)]=_0x330851(0x1a9),_0x1a55f2['IkZSi']='password',_0x1a55f2['bIWRE']=function(_0x56bc78,_0xcb5ab9){return _0x56bc78===_0xcb5ab9;},_0x1a55f2[_0x330851(0x192)]=_0x330851(0x158);const _0x4ab6e3=_0x1a55f2;if(!_0x2578ae)return;const _0x5a5813=[_0x4ab6e3[_0x330851(0x16f)],_0x4ab6e3['aLcho'],_0x4ab6e3[_0x330851(0x186)],_0x4ab6e3[_0x330851(0x19a)],_0x4ab6e3['IkZSi']];for(const _0x20132c in _0x2578ae){if(_0x5a5813[_0x330851(0x172)](_0x20132c[_0x330851(0x1b2)]()))delete _0x2578ae[_0x20132c];else _0x4ab6e3[_0x330851(0x1b0)](typeof _0x2578ae[_0x20132c],_0x4ab6e3[_0x330851(0x192)])&&this[_0x330851(0x147)](_0x2578ae[_0x20132c]);}}static[a124_0x2d72d1(0x152)](_0x325d0a){const _0x5102d9=a124_0x2d72d1,_0x147aa5=JSON[_0x5102d9(0x176)](JSON[_0x5102d9(0x144)](_0x325d0a));return this['recursivelyDeletePIIKeysFromObject'](_0x147aa5),_0x147aa5;}}function a124_0x58a6(){const _0x1c6d2e=['1392024krhZRc','dbcrT','credentials','txyQK','o11yErrorHandler',',\x20PID\x20-\x20','nVzeH','filterPII','LPbom','zCYJc','timerify','setFrameworkDetails','setCredentials','object','Phtzi','depth','wzAkV','pid','3104108jeRUia','length','Finished\x20::\x20','BS_TESTOPS_BUILD_HASHED_ID','5512872yHRYmH','EjFjN','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','getCredentials','/api/v1/analytics','toString','pBRQo','rEmPu','UQXeC','frameworkDetails','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','BROWSERSTACK_O11Y_PERF_MEASUREMENT','CREDENTIALS_FOR_CRASH_REPORTING','McqWX','sPHok','env','SLvRP','includes','userConfig','../helper','[Crash_Report_Upload]\x20Success\x20response:\x20','parse','uLQRO','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','.\x20Error\x20-\x20','Content-Type','frameworkVersion','uploadCrashReport','headers','auth','getFramework','.\x20Args\x20-\x20','\x20--\x20','../performance/performance-tester','getPerformance','frameworkName','getConfig','OHxIP','exports','stack','VtDhl','format','util','defineProperty','QlNad','captureError','POST','8rHJUqC','call','ZrGNo','aLcho','SWBaJ','USER_CONFIG_FOR_REPORTING',',\x20Argument\x20-\x20','application/json','obcud','initialize','CEjpz','Ytcxi','password','TFfPE','Error\x20in\x20executing\x20','86196OdYXxx','function','name','setAllDetails','then','iskJv','BGpKC','Started\x20::\x20','user','8fjYukk','accessKey','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','PyqcG','GFUnJ','JgHRt','getOwnPropertyNames','username','bIWRE','apply','toLowerCase','inspect','keys','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','EOoVi','stringify','catch','3541585CtkIFp','recursivelyDeletePIIKeysFromObject','7952390ZDBMPx','36SOCsnM','881124WsIfae'];a124_0x58a6=function(){return _0x1c6d2e;};return a124_0x58a6();}const a124_0x4cb8a3={};a124_0x4cb8a3[a124_0x2d72d1(0x14f)]=o11yErrorHandler,a124_0x4cb8a3['o11yClassErrorHandler']=o11yClassErrorHandler,a124_0x4cb8a3['CrashReporter']=CrashReporter,module[a124_0x2d72d1(0x187)]=a124_0x4cb8a3;
1
+ const a124_0x3f8aaf=a124_0x21d9;(function(_0x3b1c36,_0xff77cb){const _0x355452=a124_0x21d9,_0x2f52ff=_0x3b1c36();while(!![]){try{const _0x4d41b3=-parseInt(_0x355452(0x180))/0x1+parseInt(_0x355452(0x1a4))/0x2*(parseInt(_0x355452(0x17c))/0x3)+-parseInt(_0x355452(0x1d7))/0x4+-parseInt(_0x355452(0x188))/0x5+-parseInt(_0x355452(0x1d2))/0x6*(-parseInt(_0x355452(0x1cd))/0x7)+-parseInt(_0x355452(0x1c2))/0x8*(parseInt(_0x355452(0x1d3))/0x9)+-parseInt(_0x355452(0x175))/0xa*(-parseInt(_0x355452(0x1cc))/0xb);if(_0x4d41b3===_0xff77cb)break;else _0x2f52ff['push'](_0x2f52ff['shift']());}catch(_0x50e74d){_0x2f52ff['push'](_0x2f52ff['shift']());}}}(a124_0x44a0,0x46862));const util=require(a124_0x3f8aaf(0x1c1)),PerformanceTester=require(a124_0x3f8aaf(0x19b)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a124_0x3f8aaf(0x1a8)),{getAgentVersion,nestedKeyValue}=require(a124_0x3f8aaf(0x1a5)),o11yErrorHandler=(_0x510cd0,_0x25018e='',_0x923f7a=[''],_0x4ed3c4=![])=>{const _0x58cfa3={'lUGVB':function(_0x395d27,_0x4aeebf){return _0x395d27(_0x4aeebf);},'CgKbz':function(_0x469e9b,_0x582efe,_0x41bae1){return _0x469e9b(_0x582efe,_0x41bae1);},'nBxzz':function(_0x4d3430,_0x4ab1d1){return _0x4d3430(_0x4ab1d1);},'CDnpo':function(_0x1a1d94,_0x46566c,_0x286e4f){return _0x1a1d94(_0x46566c,_0x286e4f);},'xLGCJ':function(_0x2390a5,_0x1a281e){return _0x2390a5 instanceof _0x1a281e;},'qlHJx':function(_0xba6bbf,_0x5f031b,_0x253473,_0x12bcec,_0x47eb6a){return _0xba6bbf(_0x5f031b,_0x253473,_0x12bcec,_0x47eb6a);}};return function(..._0xed13a5){const _0x303b96=a124_0x21d9;try{let _0x524052=_0x510cd0;process[_0x303b96(0x1eb)][_0x303b96(0x1ee)]&&(_0x524052=PerformanceTester[_0x303b96(0x1c9)]()['timerify'](_0x524052));_0x4ed3c4&&_0x58cfa3[_0x303b96(0x1d9)](trace,_0x303b96(0x1ce)+_0x25018e+_0x303b96(0x1b5)+process[_0x303b96(0x1d1)]+_0x303b96(0x1c3)+_0x58cfa3['CgKbz'](nestedKeyValue,arguments[0x0],_0x923f7a));const _0x20e040=_0x524052[_0x303b96(0x1dd)](null,arguments);_0x4ed3c4&&_0x58cfa3[_0x303b96(0x1b6)](trace,_0x303b96(0x1c7)+_0x25018e+_0x303b96(0x1b5)+process[_0x303b96(0x1d1)]+_0x303b96(0x1c3)+_0x58cfa3[_0x303b96(0x1e7)](nestedKeyValue,arguments[0x0],_0x923f7a));if(_0x58cfa3[_0x303b96(0x1de)](_0x20e040,Promise))return _0x20e040[_0x303b96(0x1e3)](_0x5ed9c8=>processError(_0x5ed9c8,_0x510cd0,_0xed13a5,_0x25018e));return _0x20e040;}catch(_0x36be8b){_0x58cfa3[_0x303b96(0x174)](processError,_0x36be8b,_0x510cd0,_0xed13a5,_0x25018e);}};},o11yClassErrorHandler=(_0x58d2f9,_0x4f0dd8,_0x190536='')=>{const _0x5b652d=a124_0x3f8aaf,_0x142188={'dQigM':function(_0x5427b3,_0x26ca2b){return _0x5427b3 instanceof _0x26ca2b;},'GCPgK':function(_0x23cf70,_0x5dddb0,_0x16a113,_0x488824,_0x477c93){return _0x23cf70(_0x5dddb0,_0x16a113,_0x488824,_0x477c93);},'nPKGp':function(_0x381504,_0x193def){return _0x381504===_0x193def;},'CBnTW':_0x5b652d(0x1bd),'EjCvi':function(_0x32a7ba,_0x4d4985){return _0x32a7ba!==_0x4d4985;},'XiLNR':_0x5b652d(0x18d),'ImoOf':function(_0x4540e0,_0x45a900){return _0x4540e0<_0x45a900;}},_0x214bb1=_0x58d2f9[_0x5b652d(0x1a1)];if(_0x142188[_0x5b652d(0x1ad)](Object[_0x5b652d(0x18e)](_0x214bb1)['length'],0x2))return _0x58d2f9;return Object[_0x5b652d(0x18e)](_0x214bb1)[_0x5b652d(0x18b)](_0x5cfaac=>{const _0x41b7c6=_0x5b652d,_0x5899a5={'aVRzh':function(_0x26cd9e,_0x1f137f){return _0x142188['dQigM'](_0x26cd9e,_0x1f137f);},'TuAWu':function(_0x32d93b,_0x588573,_0xd781c3,_0x4d64d2,_0x3aa08e){const _0x434cc7=a124_0x21d9;return _0x142188[_0x434cc7(0x186)](_0x32d93b,_0x588573,_0xd781c3,_0x4d64d2,_0x3aa08e);}};if(!(_0x4f0dd8&&_0x4f0dd8['includes'](_0x5cfaac)))return;const _0x4c7751=_0x214bb1[_0x5cfaac];_0x142188[_0x41b7c6(0x1a2)](typeof _0x4c7751,_0x142188[_0x41b7c6(0x1bb)])&&_0x142188[_0x41b7c6(0x19a)](_0x5cfaac,_0x142188[_0x41b7c6(0x190)])&&Object[_0x41b7c6(0x182)](_0x214bb1,_0x5cfaac,{'writable':!![],'value':function(..._0xbe442e){const _0x47ad75=_0x41b7c6;try{const _0x112477=(process[_0x47ad75(0x1eb)][_0x47ad75(0x1ee)]?PerformanceTester['getPerformance']()[_0x47ad75(0x1e0)](_0x4c7751):_0x4c7751)[_0x47ad75(0x185)](this,..._0xbe442e);if(_0x5899a5[_0x47ad75(0x1b4)](_0x112477,Promise))return _0x112477[_0x47ad75(0x1e3)](_0x563ac2=>processError(_0x563ac2,_0x4c7751,_0xbe442e,_0x190536));return _0x112477;}catch(_0x558fdb){_0x5899a5[_0x47ad75(0x18c)](processError,_0x558fdb,_0x4c7751,_0xbe442e,_0x190536);}}});}),_0x58d2f9;};function processError(_0x480207,_0x1cf1b7,_0x52a572,_0x3c35ef){const _0x501225=a124_0x3f8aaf,_0x41e18e={'KziNo':function(_0x1c1ac1,_0x2cc47a){return _0x1c1ac1(_0x2cc47a);}};_0x41e18e[_0x501225(0x1c0)](debug,_0x501225(0x1d6)+_0x1cf1b7[_0x501225(0x1e8)]+_0x501225(0x1a3)+_0x3c35ef+_0x501225(0x1ac)+util[_0x501225(0x1ea)](_0x480207)+_0x501225(0x1d8)+_0x52a572+'.'),PerformanceTester['captureError'](_0x480207);let _0x2ff373;try{_0x2ff373=JSON[_0x501225(0x1b1)](_0x52a572);}catch(_0x405e3a){const _0x3b4181={};_0x3b4181[_0x501225(0x1a0)]=0x2,_0x2ff373=util[_0x501225(0x196)](_0x52a572,_0x3b4181);}CrashReporter[_0x501225(0x1e4)](_0x501225(0x1d6)+_0x1cf1b7[_0x501225(0x1e8)]+'\x20--\x20'+_0x3c35ef+_0x501225(0x1ac)+_0x480207+_0x501225(0x1d8)+_0x2ff373+'.',_0x480207&&_0x480207[_0x501225(0x1c4)]);}function a124_0x21d9(_0x37e0ac,_0x3a4ddd){const _0x44a086=a124_0x44a0();return a124_0x21d9=function(_0x21d9f0,_0x1e3457){_0x21d9f0=_0x21d9f0-0x174;let _0x32db6d=_0x44a086[_0x21d9f0];return _0x32db6d;},a124_0x21d9(_0x37e0ac,_0x3a4ddd);}function a124_0x44a0(){const _0x950961=['toString','ICTMr','srICr','.\x20Error\x20-\x20','ImoOf','setAllDetails','initialize','XuUhs','stringify','CrashReporter','setFrameworkDetails','aVRzh',',\x20PID\x20-\x20','nBxzz','keys','USER_CONFIG_FOR_REPORTING','NbTfY','headers','CBnTW','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','function','setCredentials','wykMI','KziNo','util','1498840KekZGE',',\x20Argument\x20-\x20','stack','BmdLt','toLowerCase','Finished\x20::\x20','getFramework','getPerformance','BlCSn','qOdsB','3663BpbAuG','476oykgKQ','Started\x20::\x20','MuqiI','ubiZu','pid','25620gLVMWU','27IdAeyd','user','Hhbxs','Error\x20in\x20executing\x20','2196392QTVARY','.\x20Args\x20-\x20','lUGVB','userConfig','recursivelyDeletePIIKeysFromObject','accessKey','apply','xLGCJ','CREDENTIALS_FOR_CRASH_REPORTING','timerify','setConfigDetails','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','catch','uploadCrashReport','vDTrG','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','CDnpo','name','length','format','env','QtbgK','auth','BROWSERSTACK_O11Y_PERF_MEASUREMENT','qlHJx','30410LodqAq','filterPII','POST','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','vPIaL','parse','key','1511967BLcWQt','getCredentials','getConfig','frameworkVersion','393592GmGaDj','object','defineProperty','username','vXmfj','call','GCPgK','credentials','66905uUQABn','[Crash_Report_Upload]\x20Success\x20response:\x20','exports','forEach','TuAWu','constructor','getOwnPropertyNames','uRKzK','XiLNR','then','X-BSTACK-TESTOPS','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','BHztE','zNGbo','inspect','frameworkDetails','COCWB','o11yErrorHandler','EjCvi','../performance/performance-tester','kYneq','frameworkName','application/json','o11yClassErrorHandler','depth','prototype','nPKGp','\x20--\x20','2aVGaUu','../helper','password','includes','./utils'];a124_0x44a0=function(){return _0x950961;};return a124_0x44a0();}class CrashReporter{static [a124_0x3f8aaf(0x1da)]={};static [a124_0x3f8aaf(0x187)];static ['frameworkDetails']={};static[a124_0x3f8aaf(0x1af)](_0x87129d,_0x264b39,_0x233eb9=null){const _0x16937d=a124_0x3f8aaf,_0x19cfef={'srICr':function(_0x49a997,_0x4a8cb7){return _0x49a997(_0x4a8cb7);},'vXmfj':function(_0x5a4a08,_0x46433f){return _0x5a4a08(_0x46433f);},'XuUhs':function(_0x35c962,_0x2aae50){return _0x35c962(_0x2aae50);}},_0x108d3e=_0x87129d[_0x16937d(0x19d)],_0x212de4=_0x87129d['frameworkVersion'];!_0x233eb9&&(_0x233eb9=_0x19cfef[_0x16937d(0x1ab)](getBrowserStackConfig,_0x108d3e));!_0x212de4&&_0x19cfef[_0x16937d(0x184)](getFrameworkVersion,_0x108d3e);const _0x466c02={};_0x466c02[_0x16937d(0x19d)]=_0x108d3e,_0x466c02[_0x16937d(0x17f)]=_0x212de4,this[_0x16937d(0x1ae)](_0x466c02,_0x264b39,_0x19cfef[_0x16937d(0x1b0)](getUserCredentials,_0x233eb9));}static['setCredentials'](_0x562cd7,_0x2e568c){const _0x3fa6c7=a124_0x3f8aaf,_0x3cda4d={};_0x3cda4d[_0x3fa6c7(0x183)]=_0x562cd7,_0x3cda4d[_0x3fa6c7(0x1dc)]=_0x2e568c,this[_0x3fa6c7(0x187)]=_0x3cda4d,process['env'][_0x3fa6c7(0x1df)]=JSON[_0x3fa6c7(0x1b1)](this[_0x3fa6c7(0x187)]);}static[a124_0x3f8aaf(0x17d)](){const _0x2f9991=a124_0x3f8aaf,_0x325c53={'abxNE':function(_0x2830c7,_0x5616cf){return _0x2830c7(_0x5616cf);}};if(!this[_0x2f9991(0x187)]&&process[_0x2f9991(0x1eb)][_0x2f9991(0x1df)])try{this[_0x2f9991(0x187)]=JSON[_0x2f9991(0x17a)](process[_0x2f9991(0x1eb)][_0x2f9991(0x1df)]);}catch(_0x44a48d){_0x325c53['abxNE'](debug,_0x2f9991(0x1e2)+_0x44a48d[_0x2f9991(0x1a9)]());}return this[_0x2f9991(0x187)];}static[a124_0x3f8aaf(0x1e1)](_0x41c226){const _0x15929c=a124_0x3f8aaf;this['userConfig']=this[_0x15929c(0x176)](_0x41c226),process[_0x15929c(0x1eb)][_0x15929c(0x1b8)]=JSON[_0x15929c(0x1b1)](this['userConfig']);}static[a124_0x3f8aaf(0x17e)](){const _0x485ca4=a124_0x3f8aaf,_0x504f59={'NbTfY':function(_0x56e26d,_0x50f3eb){return _0x56e26d===_0x50f3eb;},'wykMI':function(_0x37ae10,_0x59d4c2){return _0x37ae10(_0x59d4c2);}};if(_0x504f59[_0x485ca4(0x1b9)](Object[_0x485ca4(0x1b7)](this[_0x485ca4(0x1da)])[_0x485ca4(0x1e9)],0x0)&&process[_0x485ca4(0x1eb)][_0x485ca4(0x1b8)])try{this[_0x485ca4(0x1da)]=JSON[_0x485ca4(0x17a)](process[_0x485ca4(0x1eb)][_0x485ca4(0x1b8)]);}catch(_0x28f5fc){_0x504f59[_0x485ca4(0x1bf)](debug,_0x485ca4(0x1e6)+_0x28f5fc[_0x485ca4(0x1a9)]()),this[_0x485ca4(0x1da)]={};}return this[_0x485ca4(0x1da)];}static[a124_0x3f8aaf(0x1b3)](_0x148921){const _0x468c71=a124_0x3f8aaf;this['frameworkDetails']=_0x148921,process['env'][_0x468c71(0x1bc)]=JSON[_0x468c71(0x1b1)](this['frameworkDetails']);}static[a124_0x3f8aaf(0x1c8)](){const _0x1a37bd=a124_0x3f8aaf,_0x1b46ec={'kYneq':function(_0x23adb6,_0x5451f5){return _0x23adb6===_0x5451f5;},'ICTMr':function(_0x3ccb35,_0x4dd701){return _0x3ccb35(_0x4dd701);}};if(_0x1b46ec[_0x1a37bd(0x19c)](Object['keys'](this[_0x1a37bd(0x197)])[_0x1a37bd(0x1e9)],0x0)&&process[_0x1a37bd(0x1eb)][_0x1a37bd(0x1bc)])try{this['frameworkDetails']=JSON[_0x1a37bd(0x17a)](process['env'][_0x1a37bd(0x1bc)]);}catch(_0x350a83){_0x1b46ec[_0x1a37bd(0x1aa)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x350a83[_0x1a37bd(0x1a9)]());}return this[_0x1a37bd(0x197)];}static[a124_0x3f8aaf(0x1ae)](_0x19057f,_0xcc90d9,_0x4577d2){const _0x2a2f52=a124_0x3f8aaf;_0x19057f&&this[_0x2a2f52(0x1b3)](_0x19057f),_0xcc90d9&&this['setConfigDetails'](_0xcc90d9),_0x4577d2&&this[_0x2a2f52(0x1be)](_0x4577d2[_0x2a2f52(0x183)],_0x4577d2['accessKey']);}static async[a124_0x3f8aaf(0x1e4)](_0x449f42,_0x3ec88e){const _0x1f1c40=a124_0x3f8aaf,_0x3e5371={'uRKzK':function(_0x4d01fc,_0x58fdbb){return _0x4d01fc(_0x58fdbb);},'wpvkH':function(_0x25d941,_0x32b045){return _0x25d941(_0x32b045);},'VjGMn':function(_0x1b5248,_0x2f315d){return _0x1b5248(_0x2f315d);},'POFGP':_0x1f1c40(0x193),'ubiZu':function(_0x6ff6c){return _0x6ff6c();},'BlCSn':'/api/v1/analytics','COCWB':_0x1f1c40(0x19e),'BHztE':'true','qOdsB':function(_0x1ab04b,_0x16c343,_0x4b51df,_0x911a34,_0x531c1e,_0x2d969b){return _0x1ab04b(_0x16c343,_0x4b51df,_0x911a34,_0x531c1e,_0x2d969b);},'MuqiI':_0x1f1c40(0x177)};this[_0x1f1c40(0x17d)]();if(!this[_0x1f1c40(0x187)])return _0x3e5371['VjGMn'](debug,_0x3e5371['POFGP']);this[_0x1f1c40(0x17e)](),this[_0x1f1c40(0x1c8)]();const _0x1f8dcd={'hashed_id':process[_0x1f1c40(0x1eb)]['BS_TESTOPS_BUILD_HASHED_ID'],'observability_version':{'sdkVersion':_0x3e5371[_0x1f1c40(0x1d0)](getAgentVersion),'frameworkName':this[_0x1f1c40(0x197)][_0x1f1c40(0x19d)],'frameworkVersion':this[_0x1f1c40(0x197)][_0x1f1c40(0x17f)]},'exception':{'error':_0x449f42[_0x1f1c40(0x1a9)](),'stackTrace':_0x3ec88e},'config':this['userConfig']},_0x52cb60=_0x3e5371[_0x1f1c40(0x1ca)],_0x264e0f={};_0x264e0f['username']=this[_0x1f1c40(0x187)][_0x1f1c40(0x183)],_0x264e0f[_0x1f1c40(0x1a6)]=this[_0x1f1c40(0x187)][_0x1f1c40(0x1dc)];const _0x14d9d0={};_0x14d9d0['Content-Type']=_0x3e5371[_0x1f1c40(0x198)],_0x14d9d0[_0x1f1c40(0x192)]=_0x3e5371[_0x1f1c40(0x194)];const _0x55453e={};_0x55453e[_0x1f1c40(0x1ed)]=_0x264e0f,_0x55453e[_0x1f1c40(0x1ba)]=_0x14d9d0;const _0x52dc46=_0x55453e;_0x3e5371[_0x1f1c40(0x1cb)](nodeRequest,_0x3e5371[_0x1f1c40(0x1cf)],_0x52cb60,_0x1f8dcd,_0x52dc46,![])[_0x1f1c40(0x191)](_0x5d7261=>{const _0x27e592=_0x1f1c40;_0x3e5371[_0x27e592(0x18f)](debug,_0x27e592(0x189)+JSON[_0x27e592(0x1b1)](_0x5d7261));})[_0x1f1c40(0x1e3)](_0xee8877=>{const _0x1d40c3=_0x1f1c40;_0x3e5371['wpvkH'](debug,_0x1d40c3(0x178)+util[_0x1d40c3(0x1ea)](_0xee8877));});}static[a124_0x3f8aaf(0x1db)](_0x308cee){const _0xca278=a124_0x3f8aaf,_0x20dca4={};_0x20dca4['Hhbxs']=_0xca278(0x1d4),_0x20dca4[_0xca278(0x1c5)]=_0xca278(0x183),_0x20dca4[_0xca278(0x1ec)]=_0xca278(0x17b),_0x20dca4[_0xca278(0x1e5)]=_0xca278(0x1dc),_0x20dca4['vPIaL']=_0xca278(0x1a6),_0x20dca4['zNGbo']=function(_0x3748cb,_0x155981){return _0x3748cb===_0x155981;},_0x20dca4['FEfjP']=_0xca278(0x181);const _0x2d6ead=_0x20dca4;if(!_0x308cee)return;const _0x3b982a=[_0x2d6ead[_0xca278(0x1d5)],_0x2d6ead[_0xca278(0x1c5)],_0x2d6ead[_0xca278(0x1ec)],_0x2d6ead[_0xca278(0x1e5)],_0x2d6ead[_0xca278(0x179)]];for(const _0x1fb25d in _0x308cee){if(_0x3b982a[_0xca278(0x1a7)](_0x1fb25d[_0xca278(0x1c6)]()))delete _0x308cee[_0x1fb25d];else _0x2d6ead[_0xca278(0x195)](typeof _0x308cee[_0x1fb25d],_0x2d6ead['FEfjP'])&&this[_0xca278(0x1db)](_0x308cee[_0x1fb25d]);}}static[a124_0x3f8aaf(0x176)](_0x26e4db){const _0x45abb4=a124_0x3f8aaf,_0x36421f=JSON[_0x45abb4(0x17a)](JSON[_0x45abb4(0x1b1)](_0x26e4db));return this['recursivelyDeletePIIKeysFromObject'](_0x36421f),_0x36421f;}}const a124_0x365868={};a124_0x365868[a124_0x3f8aaf(0x199)]=o11yErrorHandler,a124_0x365868[a124_0x3f8aaf(0x19f)]=o11yClassErrorHandler,a124_0x365868[a124_0x3f8aaf(0x1b2)]=CrashReporter,module[a124_0x3f8aaf(0x18a)]=a124_0x365868;
@@ -1 +1 @@
1
- const a125_0x5c0bd0=a125_0x3e57;function a125_0x3e57(_0x79ce3d,_0x993456){const _0x4a5055=a125_0x4a50();return a125_0x3e57=function(_0x3e575d,_0x45f796){_0x3e575d=_0x3e575d-0x169;let _0x36e3f1=_0x4a5055[_0x3e575d];return _0x36e3f1;},a125_0x3e57(_0x79ce3d,_0x993456);}(function(_0x4c9398,_0x395471){const _0x4cca21=a125_0x3e57,_0x3acd3e=_0x4c9398();while(!![]){try{const _0x4296c7=parseInt(_0x4cca21(0x1aa))/0x1+parseInt(_0x4cca21(0x16e))/0x2*(-parseInt(_0x4cca21(0x1d6))/0x3)+parseInt(_0x4cca21(0x17d))/0x4*(parseInt(_0x4cca21(0x181))/0x5)+parseInt(_0x4cca21(0x18a))/0x6+-parseInt(_0x4cca21(0x1c3))/0x7+-parseInt(_0x4cca21(0x175))/0x8+parseInt(_0x4cca21(0x186))/0x9*(-parseInt(_0x4cca21(0x16f))/0xa);if(_0x4296c7===_0x395471)break;else _0x3acd3e['push'](_0x3acd3e['shift']());}catch(_0x690ca3){_0x3acd3e['push'](_0x3acd3e['shift']());}}}(a125_0x4a50,0x76368));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a125_0x5c0bd0(0x17b)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a125_0x5c0bd0(0x1b4)),{nestedKeyValue}=require(a125_0x5c0bd0(0x185)),util=require(a125_0x5c0bd0(0x19b)),constants=require(a125_0x5c0bd0(0x1a8));class RequestQueueHandler{static [a125_0x5c0bd0(0x1bb)];[a125_0x5c0bd0(0x1d5)]=0x0;constructor(){const _0x45b291=a125_0x5c0bd0,_0x2c0c28={};_0x2c0c28[_0x45b291(0x16d)]=_0x45b291(0x1da),_0x2c0c28[_0x45b291(0x1a4)]=_0x45b291(0x179),_0x2c0c28[_0x45b291(0x1ab)]=_0x45b291(0x1bf),_0x2c0c28[_0x45b291(0x173)]=_0x45b291(0x1b3),_0x2c0c28[_0x45b291(0x17f)]='LogCreated',_0x2c0c28[_0x45b291(0x1be)]=_0x45b291(0x16c),_0x2c0c28[_0x45b291(0x1b1)]='TestRunFinished',_0x2c0c28['XPVbG']='TestRunSkipped',_0x2c0c28[_0x45b291(0x1a6)]=_0x45b291(0x16a),_0x2c0c28[_0x45b291(0x182)]=_0x45b291(0x180),_0x2c0c28[_0x45b291(0x1a3)]=_0x45b291(0x1b9);const _0xabdab9=_0x2c0c28,_0x3b2606=_0xabdab9['CTEwG']['split']('|');let _0x435ad8=0x0;while(!![]){switch(_0x3b2606[_0x435ad8++]){case'0':this[_0x45b291(0x193)]=_0xabdab9[_0x45b291(0x1a4)];continue;case'1':this[_0x45b291(0x1cf)]=_0xabdab9[_0x45b291(0x1ab)];continue;case'2':this['uploadAttachmentUrl']=_0xabdab9[_0x45b291(0x173)];continue;case'3':this[_0x45b291(0x1d1)]=![];continue;case'4':this['BATCH_EVENT_TYPES']=[_0xabdab9['KYeSg'],_0xabdab9[_0x45b291(0x1be)],_0xabdab9[_0x45b291(0x1b1)],_0xabdab9['XPVbG'],_0xabdab9['MdaGR'],_0xabdab9[_0x45b291(0x182)],_0xabdab9[_0x45b291(0x1a3)]];continue;case'5':this[_0x45b291(0x17c)]=null;continue;case'6':this[_0x45b291(0x1ae)]=[];continue;}break;}}static['getInstance'](){const _0x143026=a125_0x5c0bd0;return!RequestQueueHandler[_0x143026(0x1bb)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler[_0x143026(0x1bb)];}[a125_0x5c0bd0(0x169)]=()=>{const _0x677d=a125_0x5c0bd0;!this[_0x677d(0x1d1)]&&(this[_0x677d(0x1d1)]=!![],this['startEventBatchPolling']());};[a125_0x5c0bd0(0x191)]=_0x2321f6=>{const _0x1fa10a=a125_0x5c0bd0,_0x954eee={'zMHhy':function(_0x56b409,_0x21bafe){return _0x56b409===_0x21bafe;},'IQIpd':'TEST_SCREENSHOT','lAcaF':function(_0x536f32,_0x5e3c11){return _0x536f32>_0x5e3c11;},'aNdBM':function(_0x1a51c8,_0x49603d){return _0x1a51c8===_0x49603d;},'PjbTG':_0x1fa10a(0x171),'XDnMA':function(_0x172495,_0x595661){return _0x172495!==_0x595661;},'yirAq':'TestRunFinished','CPVJf':function(_0x4e32ec,_0x31213a){return _0x4e32ec(_0x31213a);},'SJQXQ':_0x1fa10a(0x1b0)};if(this[_0x1fa10a(0x189)][_0x1fa10a(0x199)](_0x2321f6['event_type'])){if(_0x2321f6[_0x1fa10a(0x1a7)]&&_0x2321f6[_0x1fa10a(0x1a7)][0x0]&&_0x954eee[_0x1fa10a(0x16b)](_0x2321f6[_0x1fa10a(0x1a7)][0x0][_0x1fa10a(0x1a0)],_0x954eee[_0x1fa10a(0x196)])){const _0x802eb6={};return _0x802eb6[_0x1fa10a(0x1bc)]=!![],_0x802eb6[_0x1fa10a(0x1c4)]=[_0x2321f6],_0x802eb6[_0x1fa10a(0x1c6)]=this[_0x1fa10a(0x1cf)],_0x802eb6;}if(_0x2321f6[_0x1fa10a(0x1a7)]&&_0x954eee[_0x1fa10a(0x1c1)](_0x2321f6[_0x1fa10a(0x1a7)][_0x1fa10a(0x198)],0x0)&&_0x954eee[_0x1fa10a(0x1a2)](_0x2321f6['logs'][0x0][_0x1fa10a(0x1a0)],_0x954eee['PjbTG'])&&_0x954eee['XDnMA'](_0x2321f6[_0x1fa10a(0x1ba)],_0x954eee[_0x1fa10a(0x1bd)])){const _0x54a13f={};return _0x54a13f[_0x1fa10a(0x1bc)]=!![],_0x54a13f[_0x1fa10a(0x1c4)]=[_0x2321f6],_0x54a13f[_0x1fa10a(0x1c6)]=this[_0x1fa10a(0x1ac)],_0x54a13f;}this[_0x1fa10a(0x1ae)][_0x1fa10a(0x18e)](_0x2321f6);let _0x55de93=null;const _0x3829a1=this[_0x1fa10a(0x1bc)]();_0x3829a1&&(_0x954eee[_0x1fa10a(0x1d3)](trace,_0x954eee[_0x1fa10a(0x197)]),_0x55de93=this[_0x1fa10a(0x1ae)]['slice'](0x0,BATCH_SIZE),this[_0x1fa10a(0x1ae)][_0x1fa10a(0x178)](0x0,BATCH_SIZE),this[_0x1fa10a(0x1cc)]());const _0x3f0a08={};return _0x3f0a08[_0x1fa10a(0x1bc)]=_0x3829a1,_0x3f0a08['proceedWithData']=_0x55de93,_0x3f0a08['proceedWithUrl']=this[_0x1fa10a(0x193)],_0x3f0a08;}const _0x377159={};return _0x377159[_0x1fa10a(0x1bc)]=!![],_0x377159;};[a125_0x5c0bd0(0x18f)]=async()=>{const _0x132b19=a125_0x5c0bd0,_0x35f961={'KgAMj':_0x132b19(0x176),'eyATZ':function(_0x1f2f6d,_0x3129c5){return _0x1f2f6d>_0x3129c5;},'MarKR':_0x132b19(0x1a1),'rfnHA':function(_0x49fa98,_0x11f434){return _0x49fa98(_0x11f434);}};await this[_0x132b19(0x183)](),this['removeEventBatchPolling'](_0x35f961[_0x132b19(0x1b6)]);while(_0x35f961[_0x132b19(0x1c5)](this[_0x132b19(0x1ae)][_0x132b19(0x198)],0x0)){const _0x254f44=this[_0x132b19(0x1ae)][_0x132b19(0x1c2)](0x0,BATCH_SIZE);this[_0x132b19(0x1ae)][_0x132b19(0x178)](0x0,BATCH_SIZE),await this[_0x132b19(0x1b5)](this['eventUrl'],_0x35f961['MarKR'],_0x254f44);}_0x35f961[_0x132b19(0x1c5)](this[_0x132b19(0x1d5)],0x0)&&_0x35f961['rfnHA'](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this['pendingUploads']);};['batchAndPostEvents']=async(_0x14816d,_0x486a4f,_0x52a161)=>{const _0x2af386=a125_0x5c0bd0,_0x462e94={'gTMxl':function(_0x1e2897,_0x4d08c8){return _0x1e2897(_0x4d08c8);},'hlsqb':_0x2af386(0x1ca),'sPuHk':function(_0x383b38){return _0x383b38();},'qEOdy':function(_0x245818,_0x4649d6,_0x3fbc48,_0x3870f9,_0x378d8b){return _0x245818(_0x4649d6,_0x3fbc48,_0x3870f9,_0x378d8b);},'KPlQy':_0x2af386(0x194),'HnkMX':function(_0x1de7d8,_0x13c6a5){return _0x1de7d8-_0x13c6a5;},'bYJBO':function(_0x5f2ab8,_0x1305da){return _0x5f2ab8(_0x1305da);},'YWJZB':function(_0x232919,_0x1d0070){return _0x232919-_0x1d0070;}};let _0x6c39de='';try{_0x6c39de=_0x52a161['map'](_0x35ddd0=>'\x27'+_0x35ddd0[_0x2af386(0x1ba)]+'\x27:'+(nestedKeyValue(_0x35ddd0,[_0x2af386(0x1af),_0x2af386(0x1c7)])||nestedKeyValue(_0x35ddd0,[_0x2af386(0x188),_0x2af386(0x1c7)])))[_0x2af386(0x192)](','),_0x462e94['gTMxl'](debug,'Processing\x20batch\x20events\x20for\x20'+_0x486a4f+_0x2af386(0x1d9)+Buffer[_0x2af386(0x1d7)](util[_0x2af386(0x170)]('%j',_0x52a161),_0x462e94[_0x2af386(0x184)])+'\x20bytes.\x20Events\x20are\x20'+_0x6c39de);}catch(_0x4d0292){_0x462e94[_0x2af386(0x190)](debug,'Exception\x20in\x20logging\x20batch\x20events\x20--\x20'+util['format'](_0x4d0292)+'}');}const _0x543e21={'headers':_0x462e94[_0x2af386(0x1c9)](getDefaultHeaders)};try{const _0x50cde4=await _0x462e94['qEOdy'](nodeRequest,_0x462e94[_0x2af386(0x187)],_0x14816d,_0x52a161,_0x543e21);if(_0x50cde4[_0x2af386(0x18b)][_0x2af386(0x1d0)]){const _0x50d24a={};_0x50d24a[_0x2af386(0x1c0)]=_0x50cde4[_0x2af386(0x18b)][_0x2af386(0x1d0)];throw _0x50d24a;}else _0x462e94[_0x2af386(0x190)](debug,_0x486a4f+_0x2af386(0x1d8)+_0x6c39de+_0x2af386(0x19a)+util[_0x2af386(0x170)]('%j',_0x50cde4['data'])),this[_0x2af386(0x1d5)]=Math[_0x2af386(0x1a5)](0x0,_0x462e94[_0x2af386(0x1ad)](this['pendingUploads'],_0x52a161['length']));}catch(_0x3bb1e4){_0x3bb1e4[_0x2af386(0x1a9)]?_0x462e94[_0x2af386(0x190)](debug,_0x2af386(0x177)+_0x486a4f+'\x20REQUEST\x20TO\x20'+constants[_0x2af386(0x1b7)]+'\x20:\x20'+_0x3bb1e4[_0x2af386(0x1a9)][_0x2af386(0x174)]+'\x20'+_0x3bb1e4['response'][_0x2af386(0x1b8)]+'\x20'+util[_0x2af386(0x170)]('%j',_0x3bb1e4[_0x2af386(0x1a9)])):_0x462e94['bYJBO'](debug,_0x2af386(0x177)+_0x486a4f+_0x2af386(0x19e)+constants[_0x2af386(0x1b7)]+_0x2af386(0x17a)+(_0x3bb1e4[_0x2af386(0x1c0)]||_0x3bb1e4)),this['pendingUploads']=Math[_0x2af386(0x1a5)](0x0,_0x462e94['YWJZB'](this['pendingUploads'],_0x52a161['length']));}};['startEventBatchPolling']=()=>{const _0x3ec844=a125_0x5c0bd0,_0x42dd9d={'QahOW':function(_0x51b3c8,_0x4cf1e8){return _0x51b3c8>_0x4cf1e8;},'iDyuh':function(_0x3a52dc,_0x4983e8){return _0x3a52dc(_0x4983e8);},'NBqyA':_0x3ec844(0x17e),'SDgav':function(_0x56bf16,_0x347cd2){return _0x56bf16(_0x347cd2);},'xRwYQ':function(_0x215ce3,_0x1c1929,_0x43d737){return _0x215ce3(_0x1c1929,_0x43d737);}};this[_0x3ec844(0x17c)]=_0x42dd9d[_0x3ec844(0x18d)](setInterval,async()=>{const _0x3cec08=_0x3ec844;if(_0x42dd9d[_0x3cec08(0x1ce)](this['queue']['length'],0x0)){_0x42dd9d['iDyuh'](trace,_0x3cec08(0x18c)+this[_0x3cec08(0x1ae)][_0x3cec08(0x198)]);const _0x411d57=this[_0x3cec08(0x1ae)][_0x3cec08(0x1c2)](0x0,BATCH_SIZE);this[_0x3cec08(0x1ae)][_0x3cec08(0x178)](0x0,BATCH_SIZE),await this[_0x3cec08(0x1b5)](this[_0x3cec08(0x193)],_0x42dd9d['NBqyA'],_0x411d57),_0x42dd9d[_0x3cec08(0x1b2)](trace,_0x3cec08(0x1c8)+this[_0x3cec08(0x1ae)][_0x3cec08(0x198)]);}},BATCH_INTERVAL);};[a125_0x5c0bd0(0x1cc)]=()=>{const _0xe07dbb=a125_0x5c0bd0,_0x223741={};_0x223741[_0xe07dbb(0x1db)]=_0xe07dbb(0x1d4);const _0x3b8239=_0x223741;this[_0xe07dbb(0x195)](_0x3b8239[_0xe07dbb(0x1db)]),this['startEventBatchPolling']();};[a125_0x5c0bd0(0x195)]=_0x586321=>{const _0x1164f1=a125_0x5c0bd0,_0x501213={'XMDip':function(_0x25044c,_0x37bd35){return _0x25044c(_0x37bd35);},'NRxSV':function(_0xb503f9,_0x27c627){return _0xb503f9===_0x27c627;},'hpGqR':_0x1164f1(0x176)};this[_0x1164f1(0x17c)]&&(_0x501213[_0x1164f1(0x19d)](clearInterval,this[_0x1164f1(0x17c)]),this[_0x1164f1(0x17c)]=null,_0x501213[_0x1164f1(0x19c)](_0x586321,_0x501213['hpGqR'])&&(this[_0x1164f1(0x1d1)]=![]));};['shouldProceed']=()=>{const _0x58d8c9=a125_0x5c0bd0,_0x30e95d={};_0x30e95d[_0x58d8c9(0x19f)]=function(_0x25980d,_0x5d2861){return _0x25980d>=_0x5d2861;};const _0x3d9874=_0x30e95d;return _0x3d9874[_0x58d8c9(0x19f)](this[_0x58d8c9(0x1ae)][_0x58d8c9(0x198)],BATCH_SIZE);};async[a125_0x5c0bd0(0x183)](_0x1772d5=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x1e72e4=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x2d1e72=a125_0x5c0bd0,_0x29bd56={'ENfnn':function(_0x2217b9,_0x1a1b18){return _0x2217b9<=_0x1a1b18;},'GxzEM':function(_0x4ddc11,_0x23efc3){return _0x4ddc11(_0x23efc3);},'OgzfY':function(_0x2feed2,_0x54b71c){return _0x2feed2-_0x54b71c;}};if(_0x29bd56[_0x2d1e72(0x172)](this[_0x2d1e72(0x1d5)],0x0)||_0x29bd56[_0x2d1e72(0x172)](_0x1772d5,0x0))return;return await _0x29bd56[_0x2d1e72(0x1d2)](sleep,_0x1e72e4),this[_0x2d1e72(0x183)](_0x29bd56[_0x2d1e72(0x1cd)](_0x1772d5,_0x1e72e4));}}module[a125_0x5c0bd0(0x1cb)]=RequestQueueHandler;function a125_0x4a50(){const _0x32e3b1=['screenshotEventUrl','error','started','GxzEM','CPVJf','RESETTING','pendingUploads','519ttECVA','byteLength','\x20event\x20successful\x20for\x20events\x20','.\x20Request\x20Size\x20-\x20','6|3|0|1|2|4|5','GkpYw','start','HookRunFinished','zMHhy','CBTSessionCreated','CTEwG','4366wGfLpl','30VPwaDz','format','TEST_ATTACHMENT','ENfnn','UyvMP','status','1158760hxLIRn','REMOVING','EXCEPTION\x20IN\x20','splice','api/v1/batch','\x20:\x20','./constants','pollEventBatchInterval','67556TmcxzV','Interval-Queue','KYeSg','TestRunStarted','285HvAfWU','HrxwG','uploadPending','hlsqb','../helper','73881fGuqyE','KPlQy','hook_run','BATCH_EVENT_TYPES','709860vCnIGr','data','Processing\x20events.\x20Queue\x20Length\x20-\x20','xRwYQ','push','shutdown','gTMxl','add','join','eventUrl','POST','removeEventBatchPolling','IQIpd','SJQXQ','length','includes','\x20--\x20','util','NRxSV','XMDip','\x20REQUEST\x20TO\x20','VspZj','kind','Shutdown-Queue','aNdBM','KahNu','RsWjs','max','MdaGR','logs','../../bin/utils/constants','response','757186rqhgBf','kbUbY','uploadAttachmentUrl','HnkMX','queue','test_run','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','HbSDT','SDgav','upload-attachments','./utils','batchAndPostEvents','KgAMj','TEST_REPORTING_ANALYTICS','statusText','HookRunStarted','event_type','instance','shouldProceed','yirAq','WqJhQ','api/v1/screenshots','message','lAcaF','slice','5647866QJFxLD','proceedWithData','eyATZ','proceedWithUrl','uuid','Remaining\x20Queue\x20Length\x20-\x20','sPuHk','utf8','exports','resetEventBatchPolling','OgzfY','QahOW'];a125_0x4a50=function(){return _0x32e3b1;};return a125_0x4a50();}
1
+ const a125_0x589050=a125_0x5bef;function a125_0x5bef(_0x5c918d,_0x58cd2c){const _0x4b22b7=a125_0x4b22();return a125_0x5bef=function(_0x5bef20,_0x28e418){_0x5bef20=_0x5bef20-0x1cc;let _0x497000=_0x4b22b7[_0x5bef20];return _0x497000;},a125_0x5bef(_0x5c918d,_0x58cd2c);}(function(_0x3b310f,_0x328191){const _0x665dd0=a125_0x5bef,_0x3604ff=_0x3b310f();while(!![]){try{const _0x54f0ad=-parseInt(_0x665dd0(0x1cc))/0x1*(parseInt(_0x665dd0(0x21e))/0x2)+-parseInt(_0x665dd0(0x205))/0x3*(parseInt(_0x665dd0(0x1d5))/0x4)+parseInt(_0x665dd0(0x202))/0x5*(parseInt(_0x665dd0(0x1f6))/0x6)+-parseInt(_0x665dd0(0x219))/0x7*(parseInt(_0x665dd0(0x204))/0x8)+-parseInt(_0x665dd0(0x1e4))/0x9*(-parseInt(_0x665dd0(0x1fa))/0xa)+-parseInt(_0x665dd0(0x1f0))/0xb*(parseInt(_0x665dd0(0x1eb))/0xc)+parseInt(_0x665dd0(0x231))/0xd;if(_0x54f0ad===_0x328191)break;else _0x3604ff['push'](_0x3604ff['shift']());}catch(_0x18edc7){_0x3604ff['push'](_0x3604ff['shift']());}}}(a125_0x4b22,0x5ab13));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a125_0x589050(0x1df)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a125_0x589050(0x1d9)),{nestedKeyValue}=require(a125_0x589050(0x232)),util=require(a125_0x589050(0x1f5)),constants=require(a125_0x589050(0x23c));class RequestQueueHandler{static [a125_0x589050(0x1d2)];[a125_0x589050(0x1e1)]=0x0;constructor(){const _0x5ca085=a125_0x589050,_0x15e8e0={};_0x15e8e0[_0x5ca085(0x1f8)]=_0x5ca085(0x21f),_0x15e8e0[_0x5ca085(0x214)]=_0x5ca085(0x203),_0x15e8e0[_0x5ca085(0x1f4)]=_0x5ca085(0x1f1),_0x15e8e0[_0x5ca085(0x216)]='LogCreated',_0x15e8e0['uCFHI']='CBTSessionCreated',_0x15e8e0[_0x5ca085(0x207)]='TestRunFinished',_0x15e8e0[_0x5ca085(0x208)]=_0x5ca085(0x1e7),_0x15e8e0[_0x5ca085(0x218)]='HookRunFinished',_0x15e8e0[_0x5ca085(0x1e5)]=_0x5ca085(0x241),_0x15e8e0[_0x5ca085(0x1f9)]=_0x5ca085(0x20b),_0x15e8e0[_0x5ca085(0x210)]=_0x5ca085(0x239);const _0x1bfb73=_0x15e8e0,_0x3490e7=_0x1bfb73[_0x5ca085(0x1f8)]['split']('|');let _0x3ec275=0x0;while(!![]){switch(_0x3490e7[_0x3ec275++]){case'0':this[_0x5ca085(0x1e9)]=![];continue;case'1':this['screenshotEventUrl']=_0x1bfb73[_0x5ca085(0x214)];continue;case'2':this[_0x5ca085(0x1fe)]=_0x1bfb73[_0x5ca085(0x1f4)];continue;case'3':this[_0x5ca085(0x1e0)]=[_0x1bfb73[_0x5ca085(0x216)],_0x1bfb73[_0x5ca085(0x1da)],_0x1bfb73[_0x5ca085(0x207)],_0x1bfb73[_0x5ca085(0x208)],_0x1bfb73[_0x5ca085(0x218)],_0x1bfb73['Mzfco'],_0x1bfb73[_0x5ca085(0x1f9)]];continue;case'4':this[_0x5ca085(0x1cf)]=_0x1bfb73['jwJHL'];continue;case'5':this[_0x5ca085(0x21b)]=[];continue;case'6':this[_0x5ca085(0x20c)]=null;continue;}break;}}static['getInstance'](){const _0x478f7a=a125_0x589050;return!RequestQueueHandler['instance']&&(RequestQueueHandler[_0x478f7a(0x1d2)]=new RequestQueueHandler()),RequestQueueHandler[_0x478f7a(0x1d2)];}['start']=()=>{const _0x1208db=a125_0x589050;!this[_0x1208db(0x1e9)]&&(this[_0x1208db(0x1e9)]=!![],this[_0x1208db(0x23b)]());};[a125_0x589050(0x1ed)]=_0x51f636=>{const _0x4d005e=a125_0x589050,_0xffac31={'bYaOm':function(_0x5ab52e,_0x39b684){return _0x5ab52e===_0x39b684;},'zVeXe':'TEST_SCREENSHOT','obJdl':function(_0x8a8483,_0x25a2e0){return _0x8a8483>_0x25a2e0;},'iMwpG':function(_0x4c046f,_0x347cbe){return _0x4c046f===_0x347cbe;},'nAnhU':'TEST_ATTACHMENT','NAdQa':function(_0x5a5d2a,_0x13f7ed){return _0x5a5d2a!==_0x13f7ed;},'PiHHE':_0x4d005e(0x229),'oDYPU':function(_0x58bf1e,_0x2f6044){return _0x58bf1e(_0x2f6044);},'CAYko':_0x4d005e(0x221)};if(this[_0x4d005e(0x1e0)]['includes'](_0x51f636[_0x4d005e(0x1e6)])){if(_0x51f636[_0x4d005e(0x22c)]&&_0x51f636['logs'][0x0]&&_0xffac31[_0x4d005e(0x215)](_0x51f636['logs'][0x0][_0x4d005e(0x227)],_0xffac31['zVeXe'])){const _0x25aef9={};return _0x25aef9[_0x4d005e(0x1fd)]=!![],_0x25aef9[_0x4d005e(0x20e)]=[_0x51f636],_0x25aef9[_0x4d005e(0x22b)]=this['screenshotEventUrl'],_0x25aef9;}if(_0x51f636[_0x4d005e(0x22c)]&&_0xffac31['obJdl'](_0x51f636['logs']['length'],0x0)&&_0xffac31[_0x4d005e(0x21a)](_0x51f636[_0x4d005e(0x22c)][0x0][_0x4d005e(0x227)],_0xffac31[_0x4d005e(0x230)])&&_0xffac31[_0x4d005e(0x238)](_0x51f636[_0x4d005e(0x1e6)],_0xffac31['PiHHE'])){const _0x108a5c={};return _0x108a5c[_0x4d005e(0x1fd)]=!![],_0x108a5c[_0x4d005e(0x20e)]=[_0x51f636],_0x108a5c[_0x4d005e(0x22b)]=this[_0x4d005e(0x1cf)],_0x108a5c;}this[_0x4d005e(0x21b)][_0x4d005e(0x21c)](_0x51f636);let _0x1c6472=null;const _0x6f096c=this[_0x4d005e(0x1fd)]();_0x6f096c&&(_0xffac31[_0x4d005e(0x1ef)](trace,_0xffac31['CAYko']),_0x1c6472=this[_0x4d005e(0x21b)][_0x4d005e(0x23e)](0x0,BATCH_SIZE),this[_0x4d005e(0x21b)]['splice'](0x0,BATCH_SIZE),this[_0x4d005e(0x23d)]());const _0x12eaab={};return _0x12eaab[_0x4d005e(0x1fd)]=_0x6f096c,_0x12eaab[_0x4d005e(0x20e)]=_0x1c6472,_0x12eaab[_0x4d005e(0x22b)]=this[_0x4d005e(0x1fe)],_0x12eaab;}const _0x3a491e={};return _0x3a491e[_0x4d005e(0x1fd)]=!![],_0x3a491e;};[a125_0x589050(0x1d8)]=async()=>{const _0x1bfbc0=a125_0x589050,_0x561cee={'bIiij':_0x1bfbc0(0x224),'vFKdA':function(_0x2070fb,_0x237534){return _0x2070fb>_0x237534;},'iFkWS':_0x1bfbc0(0x209),'FYdRc':function(_0x1e507a,_0x5e5a51){return _0x1e507a(_0x5e5a51);}};await this['uploadPending'](),this[_0x1bfbc0(0x1f3)](_0x561cee[_0x1bfbc0(0x22d)]);while(_0x561cee[_0x1bfbc0(0x20a)](this[_0x1bfbc0(0x21b)]['length'],0x0)){const _0x28dcd4=this[_0x1bfbc0(0x21b)][_0x1bfbc0(0x23e)](0x0,BATCH_SIZE);this[_0x1bfbc0(0x21b)][_0x1bfbc0(0x22f)](0x0,BATCH_SIZE),await this[_0x1bfbc0(0x1ea)](this[_0x1bfbc0(0x1fe)],_0x561cee['iFkWS'],_0x28dcd4);}_0x561cee[_0x1bfbc0(0x20a)](this[_0x1bfbc0(0x1e1)],0x0)&&_0x561cee[_0x1bfbc0(0x225)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this['pendingUploads']);};[a125_0x589050(0x1ea)]=async(_0x124ed8,_0x166135,_0x30e16f)=>{const _0x237886=a125_0x589050,_0x1be018={'XLScF':function(_0x4a2a93,_0x321ea9){return _0x4a2a93(_0x321ea9);},'udUvm':_0x237886(0x206),'bJKby':function(_0x5a9a4d){return _0x5a9a4d();},'Hxirb':function(_0x5efcc8,_0x5e16db,_0x398557,_0x5dc952,_0x2e1a06){return _0x5efcc8(_0x5e16db,_0x398557,_0x5dc952,_0x2e1a06);},'auIZj':_0x237886(0x233),'ZfvNN':function(_0x290525,_0x2cff3d){return _0x290525(_0x2cff3d);},'WOgPg':function(_0x58a41d,_0x2fcbc5){return _0x58a41d-_0x2fcbc5;},'aIFNx':function(_0x13cfb0,_0x510fe4){return _0x13cfb0(_0x510fe4);},'BgKCB':function(_0x2afc98,_0x2b5619){return _0x2afc98-_0x2b5619;}};let _0x305b90='';try{_0x305b90=_0x30e16f[_0x237886(0x1d0)](_0x5535eb=>'\x27'+_0x5535eb[_0x237886(0x1e6)]+'\x27:'+(nestedKeyValue(_0x5535eb,['test_run','uuid'])||nestedKeyValue(_0x5535eb,['hook_run',_0x237886(0x1de)])))[_0x237886(0x1d6)](','),_0x1be018[_0x237886(0x22a)](debug,_0x237886(0x1fc)+_0x166135+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x237886(0x1e2)](util['format']('%j',_0x30e16f),_0x1be018['udUvm'])+_0x237886(0x1e8)+_0x305b90);}catch(_0x4514b6){_0x1be018[_0x237886(0x22a)](debug,_0x237886(0x1cd)+util['format'](_0x4514b6)+'}');}const _0x32c545={'headers':_0x1be018[_0x237886(0x22e)](getDefaultHeaders)};try{const _0x814c51=await _0x1be018[_0x237886(0x1dc)](nodeRequest,_0x1be018[_0x237886(0x234)],_0x124ed8,_0x30e16f,_0x32c545);if(_0x814c51[_0x237886(0x21d)][_0x237886(0x1f7)]){const _0x5e5ac3={};_0x5e5ac3[_0x237886(0x240)]=_0x814c51[_0x237886(0x21d)]['error'];throw _0x5e5ac3;}else _0x1be018[_0x237886(0x211)](debug,_0x166135+_0x237886(0x226)+_0x305b90+_0x237886(0x1d4)+util[_0x237886(0x23f)]('%j',_0x814c51['data'])),this['pendingUploads']=Math['max'](0x0,_0x1be018[_0x237886(0x1d1)](this[_0x237886(0x1e1)],_0x30e16f[_0x237886(0x237)]));}catch(_0x443f9c){_0x443f9c[_0x237886(0x222)]?_0x1be018[_0x237886(0x213)](debug,'EXCEPTION\x20IN\x20'+_0x166135+_0x237886(0x223)+constants[_0x237886(0x200)]+_0x237886(0x1ce)+_0x443f9c[_0x237886(0x222)][_0x237886(0x20d)]+'\x20'+_0x443f9c[_0x237886(0x222)][_0x237886(0x1d7)]+'\x20'+util[_0x237886(0x23f)]('%j',_0x443f9c[_0x237886(0x222)])):_0x1be018['aIFNx'](debug,_0x237886(0x1ec)+_0x166135+'\x20REQUEST\x20TO\x20'+constants[_0x237886(0x200)]+'\x20:\x20'+(_0x443f9c[_0x237886(0x240)]||_0x443f9c)),this[_0x237886(0x1e1)]=Math[_0x237886(0x1d3)](0x0,_0x1be018[_0x237886(0x217)](this[_0x237886(0x1e1)],_0x30e16f['length']));}};[a125_0x589050(0x23b)]=()=>{const _0x2312db=a125_0x589050,_0x341394={'BGFTF':function(_0x590922,_0x28e6a2){return _0x590922>_0x28e6a2;},'pvwbq':function(_0xe9b1c6,_0x28922c){return _0xe9b1c6(_0x28922c);},'PDBjC':_0x2312db(0x228),'ZUrMW':function(_0x16f791,_0x23f3a3,_0x234ba2){return _0x16f791(_0x23f3a3,_0x234ba2);}};this[_0x2312db(0x20c)]=_0x341394[_0x2312db(0x1db)](setInterval,async()=>{const _0x15d15e=_0x2312db;if(_0x341394[_0x15d15e(0x201)](this[_0x15d15e(0x21b)][_0x15d15e(0x237)],0x0)){_0x341394['pvwbq'](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x15d15e(0x21b)][_0x15d15e(0x237)]);const _0x27bed9=this['queue'][_0x15d15e(0x23e)](0x0,BATCH_SIZE);this[_0x15d15e(0x21b)][_0x15d15e(0x22f)](0x0,BATCH_SIZE),await this[_0x15d15e(0x1ea)](this[_0x15d15e(0x1fe)],_0x341394['PDBjC'],_0x27bed9),_0x341394[_0x15d15e(0x220)](trace,_0x15d15e(0x235)+this[_0x15d15e(0x21b)]['length']);}},BATCH_INTERVAL);};[a125_0x589050(0x23d)]=()=>{const _0x46744d=a125_0x589050,_0xc6a3fc={};_0xc6a3fc['andfg']=_0x46744d(0x1ff);const _0x179ab7=_0xc6a3fc;this['removeEventBatchPolling'](_0x179ab7[_0x46744d(0x20f)]),this[_0x46744d(0x23b)]();};[a125_0x589050(0x1f3)]=_0x3ff5c2=>{const _0x5d5762=a125_0x589050,_0x4e54f5={'BEkMX':function(_0x521ef0,_0x531648){return _0x521ef0(_0x531648);},'sfifp':function(_0x3a8b35,_0x429590){return _0x3a8b35===_0x429590;},'bnTjB':_0x5d5762(0x224)};this[_0x5d5762(0x20c)]&&(_0x4e54f5['BEkMX'](clearInterval,this[_0x5d5762(0x20c)]),this[_0x5d5762(0x20c)]=null,_0x4e54f5[_0x5d5762(0x1ee)](_0x3ff5c2,_0x4e54f5[_0x5d5762(0x236)])&&(this['started']=![]));};['shouldProceed']=()=>{const _0x22debd=a125_0x589050,_0x2f65db={};_0x2f65db[_0x22debd(0x1dd)]=function(_0xa007e,_0x45b1e0){return _0xa007e>=_0x45b1e0;};const _0x22843f=_0x2f65db;return _0x22843f[_0x22debd(0x1dd)](this[_0x22debd(0x21b)][_0x22debd(0x237)],BATCH_SIZE);};async[a125_0x589050(0x212)](_0x7db62a=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x4ad393=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x595dfc=a125_0x589050,_0x3d88ab={'udaKF':function(_0x1f37bb,_0x31421b){return _0x1f37bb<=_0x31421b;},'KIxbn':function(_0x58ec0a,_0x14ece5){return _0x58ec0a(_0x14ece5);},'rsEYQ':function(_0x522333,_0x1d845c){return _0x522333-_0x1d845c;}};if(_0x3d88ab[_0x595dfc(0x1f2)](this['pendingUploads'],0x0)||_0x3d88ab['udaKF'](_0x7db62a,0x0))return;return await _0x3d88ab[_0x595dfc(0x1fb)](sleep,_0x4ad393),this[_0x595dfc(0x212)](_0x3d88ab[_0x595dfc(0x1e3)](_0x7db62a,_0x4ad393));}}module[a125_0x589050(0x23a)]=RequestQueueHandler;function a125_0x4b22(){const _0x17d5b3=['proceedWithData','andfg','jwJHL','ZfvNN','uploadPending','aIFNx','VrFrS','bYaOm','GNOYl','BgKCB','LzQfM','1499029DzaGus','iMwpG','queue','push','data','4748hJvkHX','5|0|2|1|4|3|6','pvwbq','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','response','\x20REQUEST\x20TO\x20','REMOVING','FYdRc','\x20event\x20successful\x20for\x20events\x20','kind','Interval-Queue','TestRunFinished','XLScF','proceedWithUrl','logs','bIiij','bJKby','splice','nAnhU','13272168txUffT','../helper','POST','auIZj','Remaining\x20Queue\x20Length\x20-\x20','bnTjB','length','NAdQa','upload-attachments','exports','startEventBatchPolling','../../bin/utils/constants','resetEventBatchPolling','slice','format','message','TestRunStarted','159GHOvds','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','\x20:\x20','uploadAttachmentUrl','map','WOgPg','instance','max','\x20--\x20','212vjsZpZ','join','statusText','shutdown','./utils','uCFHI','ZUrMW','Hxirb','UjnRq','uuid','./constants','BATCH_EVENT_TYPES','pendingUploads','byteLength','rsEYQ','54jyFUxK','Mzfco','event_type','TestRunSkipped','\x20bytes.\x20Events\x20are\x20','started','batchAndPostEvents','12scMZEg','EXCEPTION\x20IN\x20','add','sfifp','oDYPU','5525465QYyKmk','api/v1/batch','udaKF','removeEventBatchPolling','nOTSV','util','18NsUYTp','error','bSWlq','JxIZS','199150KQxzcG','KIxbn','Processing\x20batch\x20events\x20for\x20','shouldProceed','eventUrl','RESETTING','TEST_REPORTING_ANALYTICS','BGFTF','954675gQsLYY','api/v1/screenshots','8yuIury','14028aSspxQ','utf8','GrgJs','LLGYS','Shutdown-Queue','vFKdA','HookRunStarted','pollEventBatchInterval','status'];a125_0x4b22=function(){return _0x17d5b3;};return a125_0x4b22();}