browserstack-node-sdk 1.70.0 → 1.70.1

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 (223) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a157_0x5301eb=a157_0x1956;(function(_0x560c3a,_0x5f30c8){const _0x58d4f9=a157_0x1956,_0x48898e=_0x560c3a();while(!![]){try{const _0x2ce24f=-parseInt(_0x58d4f9(0x19f))/0x1+parseInt(_0x58d4f9(0x1d6))/0x2*(-parseInt(_0x58d4f9(0x1bc))/0x3)+parseInt(_0x58d4f9(0x192))/0x4*(parseInt(_0x58d4f9(0x224))/0x5)+parseInt(_0x58d4f9(0x22b))/0x6*(parseInt(_0x58d4f9(0x1cd))/0x7)+-parseInt(_0x58d4f9(0x1b6))/0x8+-parseInt(_0x58d4f9(0x1ac))/0x9+parseInt(_0x58d4f9(0x18b))/0xa*(parseInt(_0x58d4f9(0x17f))/0xb);if(_0x2ce24f===_0x5f30c8)break;else _0x48898e['push'](_0x48898e['shift']());}catch(_0x2e07a4){_0x48898e['push'](_0x48898e['shift']());}}}(a157_0x10c5,0x7cc0a));const fs=require('fs'),fsPromise=require(a157_0x5301eb(0x198)),{performance,PerformanceObserver}=require(a157_0x5301eb(0x1f8)),path=require('path'),util=require(a157_0x5301eb(0x220)),logger=require('../logger')[a157_0x5301eb(0x21c)],{getLogDir}=require(a157_0x5301eb(0x1e2)),{getProcessId,sleep,debug,getTestName}=require(a157_0x5301eb(0x1d5));class PerformanceTester{static [a157_0x5301eb(0x1b9)];static [a157_0x5301eb(0x1bf)]=[];static [a157_0x5301eb(0x215)]=[];static [a157_0x5301eb(0x191)]=[];static [a157_0x5301eb(0x205)]=![];static ['jsonReportDirName']=a157_0x5301eb(0x1ba);static [a157_0x5301eb(0x1ee)]=process[a157_0x5301eb(0x1f4)][a157_0x5301eb(0x1a1)]?path['join'](process['env']['browserStackCwd'],a157_0x5301eb(0x1c9)):path['join'](process[a157_0x5301eb(0x1fa)](),a157_0x5301eb(0x1c9));static [a157_0x5301eb(0x1b5)]=this[a157_0x5301eb(0x1ee)]+a157_0x5301eb(0x231)+getProcessId()+a157_0x5301eb(0x22e);static [a157_0x5301eb(0x225)]={};static [a157_0x5301eb(0x1ed)]={};static[a157_0x5301eb(0x1dc)](_0x4c4ab9,_0x14ccfa=this['errorReportDirName']+a157_0x5301eb(0x231)+getProcessId()+a157_0x5301eb(0x22e)){const _0x46050b=a157_0x5301eb,_0x1da19a={'aynFE':function(_0x504a59,_0x38d0ad){return _0x504a59===_0x38d0ad;},'qodjL':_0x46050b(0x1cc),'EUzAw':function(_0x378262){return _0x378262();},'tXyWF':function(_0x32e371){return _0x32e371();},'vBYQH':function(_0x3cbff3,_0xd095c2){return _0x3cbff3+_0xd095c2;},'MNHBz':_0x46050b(0x1ec),'KOgmp':_0x46050b(0x1ad)};try{this[_0x46050b(0x230)]=path[_0x46050b(0x1d3)](_0x1da19a['EUzAw'](getLogDir),this['jsonReportDirName']),!_0x4c4ab9&&(_0x4c4ab9=this['jsonReportDirPath']+_0x46050b(0x22d)+_0x1da19a[_0x46050b(0x22a)](getProcessId)+_0x46050b(0x22e)),!fs[_0x46050b(0x219)](this['jsonReportDirPath'])&&fs[_0x46050b(0x226)](this[_0x46050b(0x230)]);}catch(_0x69fdb8){logger['debug'](_0x1da19a['vBYQH'](_0x1da19a[_0x46050b(0x20b)],_0x69fdb8));}if(this[_0x46050b(0x205)]||!this[_0x46050b(0x19d)]())return;this[_0x46050b(0x1b9)]=new PerformanceObserver(_0x45b868=>{const _0x181482=_0x46050b,_0x4653c3={'YjBpi':function(_0xaccd35,_0xfbf7b5){return _0x1da19a['aynFE'](_0xaccd35,_0xfbf7b5);},'eFGGj':_0x1da19a[_0x181482(0x1a2)]};_0x45b868[_0x181482(0x18a)]()[_0x181482(0x1bb)](_0x55e04e=>{const _0x2a3e88=_0x181482;if(_0x4653c3[_0x2a3e88(0x1d9)](_0x55e04e[_0x2a3e88(0x20d)],_0x4653c3[_0x2a3e88(0x213)])){let _0x5b3e59={};if(_0x55e04e['toJSON'])_0x5b3e59=_0x55e04e['toJSON']();else for(const _0x39b8c8 in _0x55e04e){_0x5b3e59[_0x39b8c8]=_0x55e04e[_0x39b8c8];}this[_0x2a3e88(0x225)][_0x55e04e['name']]&&(_0x5b3e59=Object[_0x2a3e88(0x1f9)](_0x5b3e59,this[_0x2a3e88(0x225)][_0x55e04e[_0x2a3e88(0x19c)]])),delete this[_0x2a3e88(0x225)][_0x55e04e[_0x2a3e88(0x19c)]],this[_0x2a3e88(0x215)][_0x2a3e88(0x1f6)](_0x5b3e59);}else this['_events'][_0x2a3e88(0x1f6)](_0x55e04e);});});const _0x26cdd0={};_0x26cdd0[_0x46050b(0x1d2)]=!![],_0x26cdd0[_0x46050b(0x21e)]=[_0x1da19a[_0x46050b(0x1da)],_0x1da19a[_0x46050b(0x1a2)]],this[_0x46050b(0x1b9)]['observe'](_0x26cdd0),this[_0x46050b(0x205)]=!![],this[_0x46050b(0x17d)]=_0x4c4ab9,this[_0x46050b(0x1b5)]=_0x14ccfa;}static[a157_0x5301eb(0x1f3)](){return performance;}static[a157_0x5301eb(0x1e0)](_0x54ee9a,_0x305f9b){const _0x4310e9=a157_0x5301eb,_0x553b9c={};_0x553b9c[_0x4310e9(0x19a)]=function(_0x423602,_0x19ba4f){return _0x423602+_0x19ba4f;},_0x553b9c[_0x4310e9(0x184)]=function(_0x47423e,_0x4d9189){return _0x47423e||_0x4d9189;},_0x553b9c[_0x4310e9(0x21b)]=function(_0x5bb062,_0x5fa57f){return _0x5bb062===_0x5fa57f;};const _0xec8bb1=_0x553b9c,_0x25268c={};if(!_0x54ee9a||_0xec8bb1[_0x4310e9(0x21b)](_0x54ee9a[_0x4310e9(0x17c)],0x0))return;_0x54ee9a[_0x4310e9(0x201)](_0x547b3a=>{const _0x5c5590=_0x4310e9;!_0x25268c[_0x547b3a[_0x5c5590(0x19c)]]&&(_0x25268c[_0x547b3a['name']]=0x0),_0x25268c[_0x547b3a[_0x5c5590(0x19c)]]+=_0x547b3a['duration'];});const _0x1eca15=_0x305f9b[_0x4310e9(0x1a5)]((_0xf10dc4,_0x1558ed)=>{const _0x4e3c47=_0x4310e9;return _0xec8bb1[_0x4e3c47(0x19a)](_0x25268c[_0x1558ed],_0xec8bb1[_0x4e3c47(0x184)](_0xf10dc4,0x0));},0x0);return _0x1eca15;}static async[a157_0x5301eb(0x202)](_0x4e17ff,_0x2a83a1){const _0x4a57be=a157_0x5301eb,_0x39ce55={'pXlOX':function(_0x2f6671,_0x59df50){return _0x2f6671+_0x59df50;},'CqOhg':function(_0x285b72,_0x277e87){return _0x285b72||_0x277e87;},'VzVzb':function(_0x782c34,_0x15da45){return _0x782c34===_0x15da45;},'bthHQ':function(_0xbafcf7,_0x5a7634){return _0xbafcf7(_0x5a7634);},'rKfxr':function(_0x384b92,_0x38ffc8){return _0x384b92(_0x38ffc8);}};if(!_0x4e17ff||_0x39ce55[_0x4a57be(0x1b0)](_0x4e17ff['length'],0x0))return 0x0;const _0x4715c6=[];for(const _0x3e2b62 of _0x4e17ff){const _0x4486e1=path[_0x4a57be(0x1d3)]('.',_0x3e2b62);try{const _0xa378b3=this['getEventsFromJSON'](_0x4486e1);_0xa378b3['map'](_0x43f124=>{const _0x174eaf=_0x4a57be;!_0x4715c6[_0x43f124[_0x174eaf(0x19c)]]&&(_0x4715c6[_0x43f124[_0x174eaf(0x19c)]]=0x0),_0x4715c6[_0x43f124[_0x174eaf(0x19c)]]+=_0x43f124['duration'];});}catch(_0x1a3a4d){_0x39ce55['bthHQ'](debug,_0x4a57be(0x21f)+_0x1a3a4d['toString']());}}const _0x2403f7=_0x2a83a1[_0x4a57be(0x1a5)]((_0x50bc82,_0x38d2db)=>{const _0x5f1974=_0x4a57be;return _0x39ce55[_0x5f1974(0x1a0)](_0x4715c6[_0x38d2db],_0x39ce55[_0x5f1974(0x232)](_0x50bc82,0x0));},0x0);return _0x39ce55[_0x4a57be(0x1d1)](debug,_0x4a57be(0x1a9)+_0x2a83a1+_0x4a57be(0x1a6)+_0x2403f7),_0x2403f7;}static[a157_0x5301eb(0x20a)](_0x27e46c){const _0x5ba3b6=a157_0x5301eb;if(_0x27e46c){if(!fs[_0x5ba3b6(0x219)](_0x27e46c))return[];return JSON[_0x5ba3b6(0x193)](fs[_0x5ba3b6(0x1e5)](_0x27e46c)[_0x5ba3b6(0x1f1)]());}}static async[a157_0x5301eb(0x190)](_0x343de4=a157_0x5301eb(0x214),_0x4daa49=null){const _0x402b4c=a157_0x5301eb,_0xfc2410={'DvcNZ':function(_0x3f9f49,_0x476045){return _0x3f9f49(_0x476045);}};if(!this[_0x402b4c(0x205)])return;await _0xfc2410[_0x402b4c(0x1dd)](sleep,0x1e),this['_observer'][_0x402b4c(0x17e)](),this[_0x402b4c(0x205)]=![],this['generateJSON'](this[_0x402b4c(0x1bf)]);const _0x3b7fc5=this[_0x402b4c(0x1a3)](this[_0x402b4c(0x1bf)]),_0x4c1bf4=path['join'](process[_0x402b4c(0x1fa)](),_0x343de4);fs[_0x402b4c(0x1ef)](_0x4c1bf4,_0x3b7fc5,_0x3f3830=>{const _0x32bf61=_0x402b4c;if(_0x3f3830){_0xfc2410[_0x32bf61(0x1dd)](debug,_0x32bf61(0x189)+_0x3f3830['toString']());return;}_0xfc2410[_0x32bf61(0x1dd)](debug,_0x32bf61(0x20f)+_0x4c1bf4);});if(_0x4daa49)return this[_0x402b4c(0x1e0)](this[_0x402b4c(0x1bf)],_0x4daa49);}static[a157_0x5301eb(0x1a3)](_0x2a4523){const _0x2bef7c=a157_0x5301eb,_0x130215={};_0x130215['Bfcic']='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x130215[_0x2bef7c(0x1d4)]=_0x2bef7c(0x1aa),_0x130215[_0x2bef7c(0x1f5)]=_0x2bef7c(0x209),_0x130215[_0x2bef7c(0x1cb)]=_0x2bef7c(0x1f7);const _0x5d5de9=_0x130215;let _0x1b282e=_0x5d5de9['Bfcic'];return _0x1b282e+=_0x5d5de9['jFYua'],_0x1b282e+=_0x5d5de9[_0x2bef7c(0x1f5)],_0x2a4523[_0x2bef7c(0x1bb)](_0x12a2ab=>{const _0x4a08cd=_0x2bef7c;_0x1b282e+='<tr><td>'+_0x12a2ab[_0x4a08cd(0x19c)]+_0x4a08cd(0x1de)+_0x12a2ab[_0x4a08cd(0x196)]+_0x4a08cd(0x1ae);}),_0x1b282e+=_0x5d5de9[_0x2bef7c(0x1cb)],_0x1b282e;}static[a157_0x5301eb(0x1eb)](_0x5161ee){const _0x439f87=a157_0x5301eb;if(!this[_0x439f87(0x17d)])return;const _0xd3a58d={};_0x5161ee[_0x439f87(0x201)](_0x1956ae=>{const _0x5795c2=_0x439f87;!_0xd3a58d[_0x1956ae[_0x5795c2(0x19c)]]&&(_0xd3a58d[_0x1956ae[_0x5795c2(0x19c)]]=0x0),_0xd3a58d[_0x1956ae[_0x5795c2(0x19c)]]+=_0x1956ae[_0x5795c2(0x196)];});const _0x3ba9a4=Object['entries'](_0xd3a58d)[_0x439f87(0x201)](([_0x2c1976,_0x520625])=>{const _0x5f173e=_0x439f87,_0x2ddf3e={};return _0x2ddf3e[_0x5f173e(0x19c)]=_0x2c1976,_0x2ddf3e[_0x5f173e(0x196)]=_0x520625,_0x2ddf3e;});fs[_0x439f87(0x1ab)](this['jsonReportFileName'],JSON[_0x439f87(0x1e6)](_0x3ba9a4));}static[a157_0x5301eb(0x19d)](){const _0x239a4f=a157_0x5301eb,_0x33fa34={};_0x33fa34[_0x239a4f(0x1bd)]=function(_0x15b19a,_0x149f5e){return _0x15b19a===_0x149f5e;},_0x33fa34[_0x239a4f(0x217)]=_0x239a4f(0x18c);const _0x2b5186=_0x33fa34;return!_0x2b5186[_0x239a4f(0x1bd)](process[_0x239a4f(0x1f4)][_0x239a4f(0x1cf)],_0x2b5186[_0x239a4f(0x217)]);}static['measure'](_0x3354f6,_0x4409a3,_0x4a2f85=null,_0x16593e={},_0x4653d3=null){const _0x1a8688=a157_0x5301eb,_0x4992a7={'hFwqB':function(_0x61dc07,_0x43fe7a){return _0x61dc07(_0x43fe7a);},'LrVXx':function(_0x47f87f,_0x198a7d){return _0x47f87f instanceof _0x198a7d;}};try{if(this[_0x1a8688(0x205)]&&this[_0x1a8688(0x19d)]()){let _0x3fbb92=_0x3354f6;_0x4a2f85&&(_0x3fbb92=_0x3354f6+'['+JSON[_0x1a8688(0x1e6)](_0x4a2f85)+']');PerformanceTester[_0x1a8688(0x1b8)](_0x3fbb92),this[_0x1a8688(0x225)]&&(this[_0x1a8688(0x225)][_0x3fbb92]=_0x16593e);try{const _0x259943=_0x4409a3['apply'](null,_0x4653d3);if(_0x4992a7['LrVXx'](_0x259943,Promise))return new Promise((_0x37ba30,_0x24d0a0)=>{const _0x5d03cd=_0x1a8688;_0x259943[_0x5d03cd(0x223)](_0x154a26=>{const _0x43977e=_0x5d03cd;PerformanceTester[_0x43977e(0x17b)](_0x3fbb92),_0x4992a7['hFwqB'](_0x37ba30,_0x154a26);})[_0x5d03cd(0x1e9)](_0xaeab80=>{const _0x57e0db=_0x5d03cd;PerformanceTester['end'](_0x3fbb92,![],util[_0x57e0db(0x181)](_0xaeab80)),_0x4992a7['hFwqB'](_0x24d0a0,_0xaeab80);});});;return PerformanceTester[_0x1a8688(0x17b)](_0x3fbb92),_0x259943;}catch(_0x9f5692){PerformanceTester['end'](_0x3fbb92,![],util[_0x1a8688(0x181)](_0x9f5692));throw _0x9f5692;}};return _0x4409a3[_0x1a8688(0x1b4)](null,_0x4653d3);}catch(_0x25dd7b){return logger[_0x1a8688(0x1fd)]('error\x20in\x20measure\x20'+(_0x25dd7b[_0x1a8688(0x1b7)]||_0x25dd7b[_0x1a8688(0x1fe)]||_0x25dd7b)),_0x4409a3[_0x1a8688(0x1b4)](null,_0x4653d3);}}static[a157_0x5301eb(0x200)](_0x40ba89,_0x3b5f80,_0x272dd7={}){const _0x30ca29=a157_0x5301eb,_0x3263d8={'ViELl':function(_0x558dbe){return _0x558dbe();},'APMDp':function(_0x1ef422){return _0x1ef422();}},_0x40f04e=this;return _0x272dd7['worker']=_0x3263d8[_0x30ca29(0x1a4)](getProcessId),_0x272dd7['testName']=_0x3263d8['APMDp'](getTestName),_0x272dd7[_0x30ca29(0x1c2)]=global[_0x30ca29(0x182)]&&global['__platformCaps']['index'],function(){const _0x1f93a8=_0x30ca29,_0x176c28=[_0x40ba89,_0x3b5f80,null,_0x272dd7]['concat'](arguments);return _0x40f04e['measure'][_0x1f93a8(0x1b4)](_0x40f04e,_0x176c28);};}static[a157_0x5301eb(0x1fc)](){const _0x34fe84=a157_0x5301eb,_0x47968d=/(^.*)\[(.*)\]$/,_0x309ae1={},_0x756ae5={},_0x4f3abf=[],_0x355fa7=this[_0x34fe84(0x215)][_0x34fe84(0x1c1)](0x0,this[_0x34fe84(0x215)][_0x34fe84(0x17c)]);for(const _0x4c2f17 of _0x355fa7){const _0x317ad2=_0x4c2f17[_0x34fe84(0x19c)]['match'](_0x47968d),_0x24ce2b=Object[_0x34fe84(0x1f9)]({},_0x4c2f17);_0x317ad2&&(_0x24ce2b[_0x34fe84(0x19c)]=_0x317ad2[0x1],_0x24ce2b[_0x34fe84(0x1d0)]=JSON[_0x34fe84(0x193)](_0x317ad2[0x2])),_0x4f3abf['push'](_0x24ce2b);}return _0x4f3abf;}static[a157_0x5301eb(0x1f0)](){const _0x42aec0=a157_0x5301eb,_0x14eac7={'kRcEH':function(_0xaf4b30){return _0xaf4b30();},'dXlGu':function(_0x10018b,_0x217d22){return _0x10018b+_0x217d22;},'sgDvS':'Error\x20while\x20removing\x20files:\x20','yFHZl':function(_0x1b5b9e,_0x22f7eb){return _0x1b5b9e===_0x22f7eb;},'TrdyH':function(_0x4f7a2b,_0x200b89){return _0x4f7a2b+_0x200b89;}};try{this[_0x42aec0(0x230)]=path['join'](_0x14eac7[_0x42aec0(0x204)](getLogDir),this[_0x42aec0(0x1e7)]);if(fs[_0x42aec0(0x219)](this['jsonReportDirPath'])){const _0x3ade98=fs[_0x42aec0(0x20e)](this[_0x42aec0(0x230)]);for(const _0x2a13cb of _0x3ade98){fs[_0x42aec0(0x1c6)](path[_0x42aec0(0x1d3)](this[_0x42aec0(0x230)],_0x2a13cb));}}}catch(_0x4383df){logger[_0x42aec0(0x1fd)](_0x14eac7['dXlGu'](_0x14eac7[_0x42aec0(0x228)],_0x4383df));}if(_0x14eac7[_0x42aec0(0x229)](this[_0x42aec0(0x215)][_0x42aec0(0x17c)],0x0))return;const _0x13212f=this[_0x42aec0(0x1fc)](),_0x396edc=JSON['stringify'](_0x13212f),_0x2332f4=_0x14eac7[_0x42aec0(0x1e3)](_0x396edc[_0x42aec0(0x1c4)](0x1,-0x1),',');fs['appendFileSync'](this[_0x42aec0(0x17d)],_0x2332f4);}static async[a157_0x5301eb(0x1c0)](){const _0x4848c9=a157_0x5301eb,_0x63348b={'BUeLa':function(_0x1a63eb){return _0x1a63eb();},'YUVQI':function(_0x380f00,_0x3aacc3){return _0x380f00===_0x3aacc3;},'jRboJ':_0x4848c9(0x1ff),'zNPQn':_0x4848c9(0x186),'McnYn':'modified-key-metrics.json','chYvi':function(_0x25616e,_0x14bafd){return _0x25616e+_0x14bafd;},'oVCYV':function(_0x574567,_0x189674){return _0x574567+_0x189674;},'bYFzl':_0x4848c9(0x1e4),'yzuTf':_0x4848c9(0x1be),'Bxixl':'Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','qgIpR':function(_0x3cf749,_0x24f34f){return _0x3cf749>_0x24f34f;}};this[_0x4848c9(0x230)]=path[_0x4848c9(0x1d3)](_0x63348b[_0x4848c9(0x21a)](getLogDir),this[_0x4848c9(0x1e7)]);if(!this[_0x4848c9(0x205)]||_0x63348b[_0x4848c9(0x187)](this[_0x4848c9(0x215)]['length'],0x0))return[];if(!fs[_0x4848c9(0x219)](this[_0x4848c9(0x230)]))return this[_0x4848c9(0x215)];const _0x435f73=(await fsPromise[_0x4848c9(0x210)](this[_0x4848c9(0x230)]))['map'](_0x176403=>path[_0x4848c9(0x1c3)](this[_0x4848c9(0x230)],_0x176403));try{const _0x1e9199=path[_0x4848c9(0x194)](this[_0x4848c9(0x230)]),_0x821463=path[_0x4848c9(0x1d3)](_0x1e9199,_0x63348b[_0x4848c9(0x19b)]);if(fs['existsSync'](_0x821463))try{await fsPromise[_0x4848c9(0x185)](_0x821463,fs[_0x4848c9(0x1f2)][_0x4848c9(0x1ca)]);const _0x3f5074=await fsPromise[_0x4848c9(0x1d7)](_0x821463,_0x63348b[_0x4848c9(0x199)]),_0x27ba46=JSON[_0x4848c9(0x193)](_0x3f5074),_0x5dfde8=path['join'](this[_0x4848c9(0x230)],_0x63348b[_0x4848c9(0x216)]);let _0x291f92='';Array[_0x4848c9(0x1b3)](_0x27ba46)?_0x291f92=_0x63348b[_0x4848c9(0x206)](_0x27ba46[_0x4848c9(0x201)](_0x3fe3ee=>JSON[_0x4848c9(0x1e6)](_0x3fe3ee))['join'](','),','):_0x291f92=_0x63348b[_0x4848c9(0x180)](JSON[_0x4848c9(0x1e6)](_0x27ba46),','),await fsPromise[_0x4848c9(0x1ef)](_0x5dfde8,_0x291f92),_0x435f73[_0x4848c9(0x1f6)](_0x5dfde8),await fsPromise[_0x4848c9(0x1e1)](_0x821463);}catch(_0x2046dc){logger[_0x4848c9(0x1c8)](util[_0x4848c9(0x181)](_0x63348b[_0x4848c9(0x1ea)],_0x2046dc[_0x4848c9(0x1b7)]||_0x2046dc[_0x4848c9(0x1fe)]||_0x2046dc));}else logger[_0x4848c9(0x1c8)](_0x63348b[_0x4848c9(0x1d8)]);}catch(_0x41e9a9){logger['info'](util[_0x4848c9(0x181)](_0x63348b[_0x4848c9(0x183)],_0x41e9a9['stack']||_0x41e9a9[_0x4848c9(0x1fe)]||_0x41e9a9));}let _0x266856=(await Promise[_0x4848c9(0x18e)](_0x435f73[_0x4848c9(0x201)](_0x1fa465=>fsPromise['readFile'](_0x1fa465,_0x4848c9(0x186)))))[_0x4848c9(0x201)](_0x1b13cc=>'['+_0x1b13cc['slice'](0x0,-0x1)+']')['map'](_0x324d7c=>JSON[_0x4848c9(0x193)](_0x324d7c))[_0x4848c9(0x1a8)]();return _0x63348b['qgIpR'](this[_0x4848c9(0x215)][_0x4848c9(0x17c)],0x0)&&(_0x266856=_0x266856[_0x4848c9(0x1b2)](this['getCleanedPerfEvents']())),this['_observer'][_0x4848c9(0x17e)](),_0x266856;}static[a157_0x5301eb(0x22f)](){const _0x3d131a=a157_0x5301eb,_0x562ab1={};_0x562ab1[_0x3d131a(0x19e)]=function(_0x3edd19,_0x354f79){return _0x3edd19===_0x354f79;},_0x562ab1['zjjGH']=function(_0x4eee84,_0x37ee58){return _0x4eee84+_0x37ee58;};const _0xab8a39=_0x562ab1;if(_0xab8a39[_0x3d131a(0x19e)](this[_0x3d131a(0x191)][_0x3d131a(0x17c)],0x0))return;const _0x50e0aa=JSON[_0x3d131a(0x1e6)](this[_0x3d131a(0x191)]),_0x516782=_0xab8a39[_0x3d131a(0x1af)](_0x50e0aa[_0x3d131a(0x1c4)](0x1,-0x1),',');fs[_0x3d131a(0x20c)](this[_0x3d131a(0x207)],_0x516782);}static[a157_0x5301eb(0x1e8)](){const _0x5e24bb=a157_0x5301eb,_0x242780={};_0x242780[_0x5e24bb(0x22c)]=function(_0x245ba8,_0x3ed94d){return _0x245ba8>_0x3ed94d;};const _0x59f6a9=_0x242780;if(this[_0x5e24bb(0x1b5)]){if(!fs['existsSync'](this[_0x5e24bb(0x1b5)]))return this[_0x5e24bb(0x191)];let _0x5481e9=fs[_0x5e24bb(0x1e5)](this[_0x5e24bb(0x1b5)])[_0x5e24bb(0x1f1)]();_0x5481e9='['+_0x5481e9[_0x5e24bb(0x1c4)](0x0,-0x1)+']';let _0x38e6a4=JSON[_0x5e24bb(0x193)](_0x5481e9);return _0x59f6a9[_0x5e24bb(0x22c)](this[_0x5e24bb(0x191)][_0x5e24bb(0x17c)],0x0)&&(_0x38e6a4=_0x38e6a4[_0x5e24bb(0x1b2)](this[_0x5e24bb(0x191)])),fs[_0x5e24bb(0x1c6)](this[_0x5e24bb(0x1b5)]),_0x38e6a4;}}static[a157_0x5301eb(0x21d)](_0x44c699){const _0x3fe3e9=a157_0x5301eb;if(!this['isEnabled']())return;this[_0x3fe3e9(0x191)][_0x3fe3e9(0x1f6)]({'message':_0x44c699[_0x3fe3e9(0x1fe)],'trace':_0x44c699[_0x3fe3e9(0x1b7)],'code':_0x44c699[_0x3fe3e9(0x18f)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x479110=a157_0x5301eb;try{if(!this[_0x479110(0x19d)]())return;this[_0x479110(0x1b9)][_0x479110(0x17e)](),this[_0x479110(0x1f0)](),this[_0x479110(0x22f)]();}catch(_0x473a48){logger[_0x479110(0x1fd)](_0x479110(0x221)+util[_0x479110(0x181)](_0x473a48));}}static async[a157_0x5301eb(0x188)](){const _0x3014db=a157_0x5301eb,_0x4dc5e0={'wpstE':function(_0x472e12,_0x2c62d5){return _0x472e12(_0x2c62d5);}};await _0x4dc5e0[_0x3014db(0x18d)](sleep,0x1e);const _0x4528f6=await this[_0x3014db(0x1c0)](),_0x5ea405=this[_0x3014db(0x1e8)]();if(!this[_0x3014db(0x19d)]()){const _0x34dc78={};return _0x34dc78[_0x3014db(0x1a7)]=[],_0x34dc78[_0x3014db(0x1db)]=[],_0x34dc78;}const _0x488409={};return _0x488409[_0x3014db(0x1a7)]=_0x4528f6,_0x488409['errors']=_0x5ea405,_0x488409;}static[a157_0x5301eb(0x1b8)](_0x277f46){const _0x58d4cc=a157_0x5301eb,_0xe40663={};_0xe40663[_0x58d4cc(0x1ce)]=function(_0x3dc01d,_0x272377){return _0x3dc01d+_0x272377;},_0xe40663[_0x58d4cc(0x208)]=_0x58d4cc(0x1c7);const _0x578464=_0xe40663,_0x11f84e=_0x578464[_0x58d4cc(0x1ce)](_0x277f46,_0x578464[_0x58d4cc(0x208)]);if(this[_0x58d4cc(0x1ed)][_0x11f84e])return;performance['mark'](_0x11f84e),this[_0x58d4cc(0x1ed)][_0x11f84e]=0x1;}static[a157_0x5301eb(0x17b)](_0x3b4c5e,_0x2ac4bb=!![],_0x35101b=null,_0x372f94={}){const _0x10f9fe=a157_0x5301eb,_0x514dea={'vxZuu':_0x10f9fe(0x1b1),'zCgzw':function(_0x55029d){return _0x55029d();},'GHNUi':function(_0x196ba7){return _0x196ba7();},'dCLxu':function(_0x5e9fd3,_0x330bec){return _0x5e9fd3+_0x330bec;},'uebKD':'-start','Zmvfo':_0x10f9fe(0x211),'hHYiS':function(_0xf2fd5e,_0x4ad5a9){return _0xf2fd5e+_0x4ad5a9;},'YbXKi':function(_0x1414b2,_0x2d50ba){return _0x1414b2+_0x2d50ba;}},_0x40d04c=_0x514dea[_0x10f9fe(0x212)]['split']('|');let _0x47717c=0x0;while(!![]){switch(_0x40d04c[_0x47717c++]){case'0':const _0x3236d2={};_0x3236d2['success']=_0x2ac4bb,_0x3236d2['failure']=_0x35101b,this[_0x10f9fe(0x225)][_0x3b4c5e]=Object[_0x10f9fe(0x1f9)](_0x3236d2,Object[_0x10f9fe(0x1f9)](Object[_0x10f9fe(0x1f9)]({'worker':_0x514dea[_0x10f9fe(0x222)](getProcessId),'platform':global[_0x10f9fe(0x182)]&&global[_0x10f9fe(0x182)][_0x10f9fe(0x1df)],'testName':_0x514dea[_0x10f9fe(0x227)](getTestName)},_0x372f94),this[_0x10f9fe(0x225)][_0x3b4c5e]||{}));continue;case'1':delete this['eventsMap'][_0x514dea[_0x10f9fe(0x197)](_0x3b4c5e,_0x514dea['uebKD'])];continue;case'2':performance[_0x10f9fe(0x1fb)](_0x514dea[_0x10f9fe(0x197)](_0x3b4c5e,_0x514dea[_0x10f9fe(0x218)]));continue;case'3':this[_0x10f9fe(0x1ed)][_0x514dea[_0x10f9fe(0x197)](_0x3b4c5e,_0x514dea[_0x10f9fe(0x1c5)])]&&performance[_0x10f9fe(0x1cc)](_0x3b4c5e,_0x514dea[_0x10f9fe(0x195)](_0x3b4c5e,_0x514dea[_0x10f9fe(0x1c5)]),_0x514dea[_0x10f9fe(0x195)](_0x3b4c5e,_0x514dea[_0x10f9fe(0x218)]));continue;case'4':if(!this['eventsMap'][_0x514dea['YbXKi'](_0x3b4c5e,_0x514dea['uebKD'])])return;continue;}break;}}}module[a157_0x5301eb(0x203)]=PerformanceTester;function a157_0x1956(_0x1bc5fe,_0x480c17){const _0x10c5bc=a157_0x10c5();return a157_0x1956=function(_0x19568c,_0x43416d){_0x19568c=_0x19568c-0x17b;let _0x4d3c0a=_0x10c5bc[_0x19568c];return _0x4d3c0a;},a157_0x1956(_0x1bc5fe,_0x480c17);}function a157_0x10c5(){const _0x1d2de9=['getCleanedPerfEvents','debug','message','key-metrics.json','measureWrapper','map','calculateTimesFromMultipleFiles','exports','kRcEH','started','chYvi','errorFile','Ureoi','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','getEventsFromJSON','MNHBz','appendFileSync','entryType','readdirSync','Performance\x20report\x20is\x20at\x20','readdir','-end','vxZuu','eFGGj','performance-own.html','_measureEvents','McnYn','fAdxY','Zmvfo','existsSync','BUeLa','tMBiB','winstonLogger','captureError','entryTypes','Error\x20in\x20doing\x20csv\x20operations:\x20','util','Error\x20stopping\x20monitoring\x20','zCgzw','then','15sXIRur','details','mkdirSync','GHNUi','sgDvS','yFHZl','tXyWF','211458uWVrUa','bwOfO','/performance-report-','.json','pushErrors','jsonReportDirPath','/error-report-','CqOhg','end','length','jsonReportFileName','disconnect','2497zxHAJg','oVCYV','format','__platformCaps','Bxixl','iNBqK','access','utf-8','YUVQI','finalize','Error\x20in\x20writing\x20html\x20','getEntries','107390ZYqwLE','false','wpstE','all','code','stopAndGenerate','_errorEvents','65832dxwyxL','parse','dirname','hHYiS','duration','dCLxu','fs/promises','zNPQn','mrsfI','jRboJ','name','isEnabled','YYujY','793165KgytbM','pXlOX','browserStackCwd','qodjL','generateHTMLReport','ViELl','reduce','\x20for\x20all\x20processes\x20is\x20','measures','flat','Time\x20for\x20','<h1>Performance\x20Report</h1>','writeFileSync','5190021xPbrFU','function','</td></tr>','zjjGH','VzVzb','4|2|3|1|0','concat','isArray','apply','errorReportFileName','3804848tQuNue','stack','start','_observer','performance-report','forEach','3OWnWpa','DhhBc','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','_events','finalizePerfMeasures','splice','platform','resolve','slice','uebKD','unlinkSync','-start','info','error-report','F_OK','oDtXb','measure','140umwmiE','nyeUg','BROWSERSTACK_SDK_INSTRUMENTATION','meta','rKfxr','buffered','join','jFYua','../processHelper','1671122jXsqVi','readFile','yzuTf','YjBpi','KOgmp','errors','startMonitoring','DvcNZ','</td><td>','index','calculateTimeFromEvents','unlink','../logger','TrdyH','Error\x20processing\x20key-metrics.json:\x20%s','readFileSync','stringify','jsonReportDirName','finalizeErrors','catch','bYFzl','generateJSON','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','eventsMap','errorReportDirName','writeFile','pushPerfMeasures','toString','constants','getPerformance','env','rwEmQ','push','</tbody></table></body></html>','perf_hooks','assign','cwd','mark'];a157_0x10c5=function(){return _0x1d2de9;};return a157_0x10c5();}
1
+ const a157_0x1c8470=a157_0x2156;(function(_0x2bb6da,_0x217747){const _0x26b437=a157_0x2156,_0xda3d87=_0x2bb6da();while(!![]){try{const _0x2d9dab=-parseInt(_0x26b437(0x1c3))/0x1*(-parseInt(_0x26b437(0x18d))/0x2)+-parseInt(_0x26b437(0x158))/0x3+-parseInt(_0x26b437(0x14c))/0x4*(-parseInt(_0x26b437(0x1d8))/0x5)+parseInt(_0x26b437(0x19f))/0x6*(parseInt(_0x26b437(0x14d))/0x7)+parseInt(_0x26b437(0x1ae))/0x8*(-parseInt(_0x26b437(0x176))/0x9)+-parseInt(_0x26b437(0x1a5))/0xa+parseInt(_0x26b437(0x1d5))/0xb;if(_0x2d9dab===_0x217747)break;else _0xda3d87['push'](_0xda3d87['shift']());}catch(_0x36e767){_0xda3d87['push'](_0xda3d87['shift']());}}}(a157_0xa3ac,0x8adaa));function a157_0xa3ac(){const _0x4933de=['Error\x20in\x20doing\x20csv\x20operations:\x20','measure','readdir','utf-8','exports','map','index','dJtlk','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','name','join','resolve','platform','calculateTimeFromEvents','WTKjb','Error\x20in\x20writing\x20html\x20','../logger','existsSync','__platformCaps','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','flat','_observer','parse','iwfpq','finalize','getEntries','calculateTimesFromMultipleFiles','_measureEvents','JBikF','assign','stringify','dirname','entryType','NHVIl','20XEXepq','2457028zLAbzt','Error\x20stopping\x20monitoring\x20','appendFileSync','util','readFile','cwd','unlink','errorReportDirName','split','eventsMap','uqsEO','3031083EDOkuz','Error\x20while\x20removing\x20files:\x20','debug','false','writeFileSync','path','concat','splice','/error-report-','pushPerfMeasures','HFKsN','HIzSi','Gokiv','testName','KtYmi','code','errorFile','format','readdirSync','.json','getPerformance','then','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','apply','mark','jsonReportFileName','BROWSERSTACK_SDK_INSTRUMENTATION','toString','modified-key-metrics.json','isEnabled','7929DItbjr','ZpMzN','F_OK','NYMgl','error-report','MHVMz','captureError','-start','jsonReportDirPath','unlinkSync','cvrue','forEach','JhbOU','finalizeErrors','details','toJSON','bnwBW','ebjdr','yjOnL','entryTypes','WVTzU','RAYXK','NVHqr','3122lppAMb','pLjaS','AjxYu','</tbody></table></body></html>','winstonLogger','lDFXC','3|2|0|1|4','OCUBE','getCleanedPerfEvents','success','</td><td>','measureWrapper','generateHTMLReport','errorReportFileName','readFileSync','BPIkI','generateJSON','MwkVr','6hCokfj','finalizePerfMeasures','\x20for\x20all\x20processes\x20is\x20','constants','catch','env','7047920anaMqf','message','-end','startMonitoring','</td></tr>','mkdirSync','stack','Error\x20processing\x20key-metrics.json:\x20%s','failure','3112MdHtzg','disconnect','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','performance-own.html','_events','buffered','OIGYN','reduce','measures','duration','qpKmx','WObpW','performance-report','IyDLS','PXedA','BMLyH','kfrMd','vNnWA','length','<tr><td>','slice','211YDUaWc','browserStackCwd','start','end','tnZaX','key-metrics.json','writeFile','jsonReportDirName','error\x20in\x20measure\x20','djZis','oUaaA','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','observe','pEMjR','pushErrors','info','ckLhi','OeACD','16687143mdCeCR','_errorEvents','TufPh','429220eaAsix','started','stopAndGenerate','getEventsFromJSON','isArray','errors','Performance\x20report\x20is\x20at\x20','easjZ','YAevu','push','NfMFN','perf_hooks','jhlvg','match','fZiYI','PIiVT'];a157_0xa3ac=function(){return _0x4933de;};return a157_0xa3ac();}const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a157_0x1c8470(0x125)),path=require(a157_0x1c8470(0x15d)),util=require(a157_0x1c8470(0x150)),logger=require(a157_0x1c8470(0x13a))[a157_0x1c8470(0x191)],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a157_0x1c8470(0x13f)];static ['_events']=[];static [a157_0x1c8470(0x145)]=[];static ['_errorEvents']=[];static [a157_0x1c8470(0x1d9)]=![];static ['jsonReportDirName']=a157_0x1c8470(0x1ba);static ['errorReportDirName']=process[a157_0x1c8470(0x1a4)]['browserStackCwd']?path[a157_0x1c8470(0x134)](process[a157_0x1c8470(0x1a4)][a157_0x1c8470(0x1c4)],a157_0x1c8470(0x17a)):path[a157_0x1c8470(0x134)](process[a157_0x1c8470(0x152)](),a157_0x1c8470(0x17a));static [a157_0x1c8470(0x19a)]=this[a157_0x1c8470(0x154)]+'/error-report-'+getProcessId()+'.json';static [a157_0x1c8470(0x184)]={};static [a157_0x1c8470(0x156)]={};static[a157_0x1c8470(0x1a8)](_0xc633af,_0x4100ae=this['errorReportDirName']+a157_0x1c8470(0x160)+getProcessId()+a157_0x1c8470(0x16b)){const _0x148ce3=a157_0x1c8470,_0x3dea97={'cvrue':function(_0x32394e,_0x4da9ae){return _0x32394e===_0x4da9ae;},'JhbOU':_0x148ce3(0x12b),'IyDLS':function(_0x43c924){return _0x43c924();},'WVTzU':function(_0x26b6b3,_0x254822){return _0x26b6b3+_0x254822;},'uqsEO':_0x148ce3(0x1ce),'qpKmx':'function'};try{this[_0x148ce3(0x17e)]=path[_0x148ce3(0x134)](_0x3dea97[_0x148ce3(0x1bb)](getLogDir),this['jsonReportDirName']),!_0xc633af&&(_0xc633af=this['jsonReportDirPath']+'/performance-report-'+_0x3dea97['IyDLS'](getProcessId)+'.json'),!fs['existsSync'](this[_0x148ce3(0x17e)])&&fs[_0x148ce3(0x1aa)](this[_0x148ce3(0x17e)]);}catch(_0x140082){logger[_0x148ce3(0x15a)](_0x3dea97[_0x148ce3(0x18a)](_0x3dea97[_0x148ce3(0x157)],_0x140082));}if(this[_0x148ce3(0x1d9)]||!this[_0x148ce3(0x175)]())return;this[_0x148ce3(0x13f)]=new PerformanceObserver(_0x31610d=>{const _0xeb31bb=_0x148ce3,_0x586716={'WTKjb':function(_0x5c27ec,_0x2a3696){const _0x169592=a157_0x2156;return _0x3dea97[_0x169592(0x180)](_0x5c27ec,_0x2a3696);},'tnZaX':_0x3dea97[_0xeb31bb(0x182)]};_0x31610d[_0xeb31bb(0x143)]()[_0xeb31bb(0x181)](_0x246729=>{const _0x4583b3=_0xeb31bb;if(_0x586716[_0x4583b3(0x138)](_0x246729[_0x4583b3(0x14a)],_0x586716[_0x4583b3(0x1c7)])){let _0x21c501={};if(_0x246729[_0x4583b3(0x185)])_0x21c501=_0x246729[_0x4583b3(0x185)]();else for(const _0x202854 in _0x246729){_0x21c501[_0x202854]=_0x246729[_0x202854];}this[_0x4583b3(0x184)][_0x246729['name']]&&(_0x21c501=Object[_0x4583b3(0x147)](_0x21c501,this[_0x4583b3(0x184)][_0x246729[_0x4583b3(0x133)]])),delete this[_0x4583b3(0x184)][_0x246729[_0x4583b3(0x133)]],this[_0x4583b3(0x145)][_0x4583b3(0x123)](_0x21c501);}else this[_0x4583b3(0x1b2)][_0x4583b3(0x123)](_0x246729);});});const _0x166146={};_0x166146[_0x148ce3(0x1b3)]=!![],_0x166146[_0x148ce3(0x189)]=[_0x3dea97[_0x148ce3(0x1b8)],_0x3dea97[_0x148ce3(0x182)]],this['_observer'][_0x148ce3(0x1cf)](_0x166146),this[_0x148ce3(0x1d9)]=!![],this[_0x148ce3(0x171)]=_0xc633af,this['errorReportFileName']=_0x4100ae;}static[a157_0x1c8470(0x16c)](){return performance;}static[a157_0x1c8470(0x137)](_0x2b2ed8,_0x1f79b3){const _0x41dc8f=a157_0x1c8470,_0x191836={};_0x191836[_0x41dc8f(0x1bf)]=function(_0x42f6a7,_0x3062a7){return _0x42f6a7+_0x3062a7;},_0x191836['YaKBZ']=function(_0x77774c,_0x19c7b6){return _0x77774c||_0x19c7b6;},_0x191836['RAYXK']=function(_0x45c70e,_0x4a5004){return _0x45c70e===_0x4a5004;};const _0x45f192=_0x191836,_0x5abce7={};if(!_0x2b2ed8||_0x45f192[_0x41dc8f(0x18b)](_0x2b2ed8[_0x41dc8f(0x1c0)],0x0))return;_0x2b2ed8[_0x41dc8f(0x12f)](_0x3e2666=>{const _0xf1a72f=_0x41dc8f;!_0x5abce7[_0x3e2666[_0xf1a72f(0x133)]]&&(_0x5abce7[_0x3e2666[_0xf1a72f(0x133)]]=0x0),_0x5abce7[_0x3e2666[_0xf1a72f(0x133)]]+=_0x3e2666['duration'];});const _0x564059=_0x1f79b3[_0x41dc8f(0x1b5)]((_0x2ae21d,_0x2d335d)=>{return _0x45f192['vNnWA'](_0x5abce7[_0x2d335d],_0x45f192['YaKBZ'](_0x2ae21d,0x0));},0x0);return _0x564059;}static async[a157_0x1c8470(0x144)](_0x5749df,_0xb544d9){const _0x39a0ac=a157_0x1c8470,_0x2d734c={'HfHox':function(_0x7eba78,_0x17a126){return _0x7eba78+_0x17a126;},'wPCSp':function(_0x32b9bd,_0x44c1e9){return _0x32b9bd||_0x44c1e9;},'UnLHx':function(_0xe42215,_0x883a94){return _0xe42215===_0x883a94;},'MHVMz':function(_0x488864,_0x16840d){return _0x488864(_0x16840d);},'jhlvg':function(_0x4fdd7a,_0x57949e){return _0x4fdd7a(_0x57949e);}};if(!_0x5749df||_0x2d734c['UnLHx'](_0x5749df[_0x39a0ac(0x1c0)],0x0))return 0x0;const _0x35e5c4=[];for(const _0x42686d of _0x5749df){const _0x2df054=path[_0x39a0ac(0x134)]('.',_0x42686d);try{const _0x368832=this[_0x39a0ac(0x1db)](_0x2df054);_0x368832[_0x39a0ac(0x12f)](_0x34d3e8=>{const _0x248c6a=_0x39a0ac;!_0x35e5c4[_0x34d3e8[_0x248c6a(0x133)]]&&(_0x35e5c4[_0x34d3e8['name']]=0x0),_0x35e5c4[_0x34d3e8[_0x248c6a(0x133)]]+=_0x34d3e8[_0x248c6a(0x1b7)];});}catch(_0x20e62c){_0x2d734c[_0x39a0ac(0x17b)](debug,_0x39a0ac(0x12a)+_0x20e62c[_0x39a0ac(0x173)]());}}const _0x127193=_0xb544d9['reduce']((_0x979930,_0x1e0f5d)=>{return _0x2d734c['HfHox'](_0x35e5c4[_0x1e0f5d],_0x2d734c['wPCSp'](_0x979930,0x0));},0x0);return _0x2d734c[_0x39a0ac(0x126)](debug,'Time\x20for\x20'+_0xb544d9+_0x39a0ac(0x1a1)+_0x127193),_0x127193;}static['getEventsFromJSON'](_0x4409c3){const _0x2a5b85=a157_0x1c8470;if(_0x4409c3){if(!fs[_0x2a5b85(0x13b)](_0x4409c3))return[];return JSON[_0x2a5b85(0x140)](fs[_0x2a5b85(0x19b)](_0x4409c3)[_0x2a5b85(0x173)]());}}static async[a157_0x1c8470(0x1da)](_0xe4dc8d=a157_0x1c8470(0x1b1),_0xaed30=null){const _0x3c0622=a157_0x1c8470,_0x5c66db={'TufPh':function(_0x4b9b46,_0x58be23){return _0x4b9b46(_0x58be23);},'lDFXC':function(_0x3849be,_0x4ad5be){return _0x3849be(_0x4ad5be);}};if(!this[_0x3c0622(0x1d9)])return;await _0x5c66db[_0x3c0622(0x192)](sleep,0x1e),this['_observer'][_0x3c0622(0x1af)](),this[_0x3c0622(0x1d9)]=![],this['generateJSON'](this[_0x3c0622(0x1b2)]);const _0x4abba6=this[_0x3c0622(0x199)](this[_0x3c0622(0x1b2)]),_0x5c9a6f=path[_0x3c0622(0x134)](process[_0x3c0622(0x152)](),_0xe4dc8d);fs['writeFile'](_0x5c9a6f,_0x4abba6,_0x559033=>{const _0x432f9b=_0x3c0622;if(_0x559033){_0x5c66db[_0x432f9b(0x1d7)](debug,_0x432f9b(0x139)+_0x559033[_0x432f9b(0x173)]());return;}_0x5c66db['TufPh'](debug,_0x432f9b(0x1de)+_0x5c9a6f);});if(_0xaed30)return this[_0x3c0622(0x137)](this[_0x3c0622(0x1b2)],_0xaed30);}static['generateHTMLReport'](_0x438497){const _0x38edb0=a157_0x1c8470,_0x4b281b={};_0x4b281b[_0x38edb0(0x1b9)]=_0x38edb0(0x13d),_0x4b281b['MwkVr']='<h1>Performance\x20Report</h1>',_0x4b281b[_0x38edb0(0x129)]=_0x38edb0(0x1b0),_0x4b281b[_0x38edb0(0x18f)]=_0x38edb0(0x190);const _0x3774a0=_0x4b281b;let _0x44bd86=_0x3774a0[_0x38edb0(0x1b9)];return _0x44bd86+=_0x3774a0[_0x38edb0(0x19e)],_0x44bd86+=_0x3774a0['PIiVT'],_0x438497[_0x38edb0(0x181)](_0x3796a3=>{const _0x54efc7=_0x38edb0;_0x44bd86+=_0x54efc7(0x1c1)+_0x3796a3[_0x54efc7(0x133)]+_0x54efc7(0x197)+_0x3796a3['duration']+_0x54efc7(0x1a9);}),_0x44bd86+=_0x3774a0['AjxYu'],_0x44bd86;}static[a157_0x1c8470(0x19d)](_0x33f3f5){const _0x3d8fa2=a157_0x1c8470;if(!this['jsonReportFileName'])return;const _0x383556={};_0x33f3f5[_0x3d8fa2(0x12f)](_0x21ecce=>{const _0x4aa8c5=_0x3d8fa2;!_0x383556[_0x21ecce[_0x4aa8c5(0x133)]]&&(_0x383556[_0x21ecce['name']]=0x0),_0x383556[_0x21ecce['name']]+=_0x21ecce['duration'];});const _0x119b11=Object['entries'](_0x383556)[_0x3d8fa2(0x12f)](([_0xf5b0aa,_0x5875c0])=>{const _0x3ad35=_0x3d8fa2,_0x159545={};return _0x159545[_0x3ad35(0x133)]=_0xf5b0aa,_0x159545[_0x3ad35(0x1b7)]=_0x5875c0,_0x159545;});fs[_0x3d8fa2(0x15c)](this['jsonReportFileName'],JSON[_0x3d8fa2(0x148)](_0x119b11));}static['isEnabled'](){const _0x4ef48e=a157_0x1c8470,_0xd8327={};_0xd8327['KtYmi']=function(_0x2a01b2,_0x3d0cd6){return _0x2a01b2===_0x3d0cd6;},_0xd8327[_0x4ef48e(0x1cd)]=_0x4ef48e(0x15b);const _0x415bc7=_0xd8327;return!_0x415bc7[_0x4ef48e(0x166)](process[_0x4ef48e(0x1a4)][_0x4ef48e(0x172)],_0x415bc7[_0x4ef48e(0x1cd)]);}static[a157_0x1c8470(0x12b)](_0xceeca7,_0x27a5f6,_0x5a8dc3=null,_0x39818b={},_0x24f6ae=null){const _0x460704=a157_0x1c8470,_0x5b4d04={'PXedA':function(_0x6d3ef2,_0x1449b3){return _0x6d3ef2(_0x1449b3);},'NVHqr':function(_0x5e19ed,_0x428726){return _0x5e19ed(_0x428726);},'QwtNm':function(_0x3c72b2,_0x40d9f7){return _0x3c72b2 instanceof _0x40d9f7;}};try{if(this[_0x460704(0x1d9)]&&this[_0x460704(0x175)]()){let _0x44412e=_0xceeca7;_0x5a8dc3&&(_0x44412e=_0xceeca7+'['+JSON[_0x460704(0x148)](_0x5a8dc3)+']');PerformanceTester[_0x460704(0x1c5)](_0x44412e),this[_0x460704(0x184)]&&(this[_0x460704(0x184)][_0x44412e]=_0x39818b);try{const _0x2a0046=_0x27a5f6['apply'](null,_0x24f6ae);if(_0x5b4d04['QwtNm'](_0x2a0046,Promise))return new Promise((_0x50646f,_0x16fcd1)=>{const _0x342e86=_0x460704,_0x4b3509={'pEMjR':function(_0x26c32e,_0x1333cb){const _0x1dcc2e=a157_0x2156;return _0x5b4d04[_0x1dcc2e(0x18c)](_0x26c32e,_0x1333cb);}};_0x2a0046[_0x342e86(0x16d)](_0x38c6c2=>{const _0x1e75b3=_0x342e86;PerformanceTester[_0x1e75b3(0x1c6)](_0x44412e),_0x5b4d04[_0x1e75b3(0x1bc)](_0x50646f,_0x38c6c2);})[_0x342e86(0x1a3)](_0x2814a0=>{const _0x3e8278=_0x342e86;PerformanceTester['end'](_0x44412e,![],util[_0x3e8278(0x169)](_0x2814a0)),_0x4b3509[_0x3e8278(0x1d0)](_0x16fcd1,_0x2814a0);});});;return PerformanceTester[_0x460704(0x1c6)](_0x44412e),_0x2a0046;}catch(_0x4f67a6){PerformanceTester[_0x460704(0x1c6)](_0x44412e,![],util[_0x460704(0x169)](_0x4f67a6));throw _0x4f67a6;}};return _0x27a5f6[_0x460704(0x16f)](null,_0x24f6ae);}catch(_0x4ffb91){return logger[_0x460704(0x15a)](_0x460704(0x1cb)+(_0x4ffb91[_0x460704(0x1ab)]||_0x4ffb91['message']||_0x4ffb91)),_0x27a5f6[_0x460704(0x16f)](null,_0x24f6ae);}}static[a157_0x1c8470(0x198)](_0xac9cbe,_0x40e623,_0x165d26={}){const _0x3153f2=a157_0x1c8470,_0x472dbd={'HIzSi':function(_0x32efff){return _0x32efff();},'yjOnL':function(_0x548b88){return _0x548b88();}},_0x1bdee8=this;return _0x165d26['worker']=_0x472dbd[_0x3153f2(0x163)](getProcessId),_0x165d26[_0x3153f2(0x165)]=_0x472dbd[_0x3153f2(0x188)](getTestName),_0x165d26[_0x3153f2(0x136)]=global[_0x3153f2(0x13c)]&&global['__platformCaps'][_0x3153f2(0x130)],function(){const _0x130849=_0x3153f2,_0x40ed9f=[_0xac9cbe,_0x40e623,null,_0x165d26][_0x130849(0x15e)](arguments);return _0x1bdee8['measure'][_0x130849(0x16f)](_0x1bdee8,_0x40ed9f);};}static[a157_0x1c8470(0x195)](){const _0x4a81a1=a157_0x1c8470,_0x5b8215=/(^.*)\[(.*)\]$/,_0x5a1633={},_0x5f562c={},_0x59c7ba=[],_0x4a7e8e=this[_0x4a81a1(0x145)][_0x4a81a1(0x15f)](0x0,this[_0x4a81a1(0x145)][_0x4a81a1(0x1c0)]);for(const _0x126e51 of _0x4a7e8e){const _0x1fff76=_0x126e51[_0x4a81a1(0x133)][_0x4a81a1(0x127)](_0x5b8215),_0x336572=Object[_0x4a81a1(0x147)]({},_0x126e51);_0x1fff76&&(_0x336572[_0x4a81a1(0x133)]=_0x1fff76[0x1],_0x336572['meta']=JSON[_0x4a81a1(0x140)](_0x1fff76[0x2])),_0x59c7ba['push'](_0x336572);}return _0x59c7ba;}static[a157_0x1c8470(0x161)](){const _0x2bc6fe=a157_0x1c8470,_0x3d965c={'JBikF':function(_0x19e17c){return _0x19e17c();},'gaPct':function(_0x2eac75,_0x4939de){return _0x2eac75+_0x4939de;},'ckLhi':_0x2bc6fe(0x159),'fZiYI':function(_0xb84cd1,_0x21c5dc){return _0xb84cd1===_0x21c5dc;}};try{this[_0x2bc6fe(0x17e)]=path['join'](_0x3d965c[_0x2bc6fe(0x146)](getLogDir),this['jsonReportDirName']);if(fs[_0x2bc6fe(0x13b)](this[_0x2bc6fe(0x17e)])){const _0x5ca7cc=fs[_0x2bc6fe(0x16a)](this['jsonReportDirPath']);for(const _0x14eceb of _0x5ca7cc){fs[_0x2bc6fe(0x17f)](path['join'](this[_0x2bc6fe(0x17e)],_0x14eceb));}}}catch(_0x564e98){logger[_0x2bc6fe(0x15a)](_0x3d965c['gaPct'](_0x3d965c[_0x2bc6fe(0x1d3)],_0x564e98));}if(_0x3d965c[_0x2bc6fe(0x128)](this['_measureEvents'][_0x2bc6fe(0x1c0)],0x0))return;const _0x35a4a7=this[_0x2bc6fe(0x195)](),_0x41cdd1=JSON[_0x2bc6fe(0x148)](_0x35a4a7),_0x3dd371=_0x3d965c['gaPct'](_0x41cdd1[_0x2bc6fe(0x1c2)](0x1,-0x1),',');fs['appendFileSync'](this[_0x2bc6fe(0x171)],_0x3dd371);}static async[a157_0x1c8470(0x1a0)](){const _0x4204dc=a157_0x1c8470,_0xd3da94={'BMLyH':function(_0xfdab81){return _0xfdab81();},'Itiwt':function(_0x41de05,_0x4761e5){return _0x41de05===_0x4761e5;},'dJtlk':_0x4204dc(0x1c8),'WGGBU':_0x4204dc(0x12d),'easjZ':_0x4204dc(0x174),'MTftj':function(_0x1d6bff,_0x2d1510){return _0x1d6bff+_0x2d1510;},'YAevu':function(_0x34cc92,_0x356518){return _0x34cc92+_0x356518;},'kfrMd':_0x4204dc(0x1ac),'OIGYN':_0x4204dc(0x132),'zyMiw':_0x4204dc(0x16e),'OeACD':function(_0x3c7623,_0x487218){return _0x3c7623>_0x487218;}};this[_0x4204dc(0x17e)]=path[_0x4204dc(0x134)](_0xd3da94[_0x4204dc(0x1bd)](getLogDir),this[_0x4204dc(0x1ca)]);if(!this[_0x4204dc(0x1d9)]||_0xd3da94['Itiwt'](this[_0x4204dc(0x145)][_0x4204dc(0x1c0)],0x0))return[];if(!fs[_0x4204dc(0x13b)](this[_0x4204dc(0x17e)]))return this[_0x4204dc(0x145)];const _0x1c72e6=(await fsPromise[_0x4204dc(0x12c)](this['jsonReportDirPath']))[_0x4204dc(0x12f)](_0x556bf8=>path[_0x4204dc(0x135)](this[_0x4204dc(0x17e)],_0x556bf8));try{const _0x4d4188=path[_0x4204dc(0x149)](this[_0x4204dc(0x17e)]),_0xf15ee4=path[_0x4204dc(0x134)](_0x4d4188,_0xd3da94[_0x4204dc(0x131)]);if(fs[_0x4204dc(0x13b)](_0xf15ee4))try{await fsPromise['access'](_0xf15ee4,fs[_0x4204dc(0x1a2)][_0x4204dc(0x178)]);const _0x29f44b=await fsPromise['readFile'](_0xf15ee4,_0xd3da94['WGGBU']),_0x33adcf=JSON[_0x4204dc(0x140)](_0x29f44b),_0x4c0693=path[_0x4204dc(0x134)](this[_0x4204dc(0x17e)],_0xd3da94[_0x4204dc(0x1df)]);let _0x1869ab='';Array[_0x4204dc(0x1dc)](_0x33adcf)?_0x1869ab=_0xd3da94['MTftj'](_0x33adcf[_0x4204dc(0x12f)](_0x2dbf48=>JSON[_0x4204dc(0x148)](_0x2dbf48))['join'](','),','):_0x1869ab=_0xd3da94[_0x4204dc(0x122)](JSON[_0x4204dc(0x148)](_0x33adcf),','),await fsPromise[_0x4204dc(0x1c9)](_0x4c0693,_0x1869ab),_0x1c72e6[_0x4204dc(0x123)](_0x4c0693),await fsPromise[_0x4204dc(0x153)](_0xf15ee4);}catch(_0x5a052c){logger[_0x4204dc(0x1d2)](util[_0x4204dc(0x169)](_0xd3da94[_0x4204dc(0x1be)],_0x5a052c[_0x4204dc(0x1ab)]||_0x5a052c[_0x4204dc(0x1a6)]||_0x5a052c));}else logger[_0x4204dc(0x1d2)](_0xd3da94[_0x4204dc(0x1b4)]);}catch(_0x383223){logger['info'](util['format'](_0xd3da94['zyMiw'],_0x383223['stack']||_0x383223['message']||_0x383223));}let _0x2cc2da=(await Promise['all'](_0x1c72e6[_0x4204dc(0x12f)](_0x33821c=>fsPromise[_0x4204dc(0x151)](_0x33821c,_0x4204dc(0x12d)))))['map'](_0x53a5d3=>'['+_0x53a5d3[_0x4204dc(0x1c2)](0x0,-0x1)+']')[_0x4204dc(0x12f)](_0x378106=>JSON[_0x4204dc(0x140)](_0x378106))[_0x4204dc(0x13e)]();return _0xd3da94[_0x4204dc(0x1d4)](this[_0x4204dc(0x145)][_0x4204dc(0x1c0)],0x0)&&(_0x2cc2da=_0x2cc2da[_0x4204dc(0x15e)](this[_0x4204dc(0x195)]())),this['_observer'][_0x4204dc(0x1af)](),_0x2cc2da;}static[a157_0x1c8470(0x1d1)](){const _0x3080d9=a157_0x1c8470,_0x59cb30={};_0x59cb30[_0x3080d9(0x177)]=function(_0x3cdedc,_0x1784de){return _0x3cdedc===_0x1784de;},_0x59cb30[_0x3080d9(0x162)]=function(_0x1e62d5,_0x4f3b3b){return _0x1e62d5+_0x4f3b3b;};const _0x385906=_0x59cb30;if(_0x385906[_0x3080d9(0x177)](this['_errorEvents']['length'],0x0))return;const _0x5a941f=JSON[_0x3080d9(0x148)](this['_errorEvents']),_0x1f5201=_0x385906['HFKsN'](_0x5a941f['slice'](0x1,-0x1),',');fs[_0x3080d9(0x14f)](this[_0x3080d9(0x168)],_0x1f5201);}static[a157_0x1c8470(0x183)](){const _0x12f8fa=a157_0x1c8470,_0xc892e7={};_0xc892e7[_0x12f8fa(0x19c)]=function(_0x916fc2,_0x5ce7f5){return _0x916fc2>_0x5ce7f5;};const _0x1443de=_0xc892e7;if(this[_0x12f8fa(0x19a)]){if(!fs[_0x12f8fa(0x13b)](this[_0x12f8fa(0x19a)]))return this[_0x12f8fa(0x1d6)];let _0x55fb6f=fs[_0x12f8fa(0x19b)](this['errorReportFileName'])[_0x12f8fa(0x173)]();_0x55fb6f='['+_0x55fb6f[_0x12f8fa(0x1c2)](0x0,-0x1)+']';let _0x2bf311=JSON[_0x12f8fa(0x140)](_0x55fb6f);return _0x1443de[_0x12f8fa(0x19c)](this[_0x12f8fa(0x1d6)]['length'],0x0)&&(_0x2bf311=_0x2bf311[_0x12f8fa(0x15e)](this[_0x12f8fa(0x1d6)])),fs[_0x12f8fa(0x17f)](this[_0x12f8fa(0x19a)]),_0x2bf311;}}static[a157_0x1c8470(0x17c)](_0x49c537){const _0x33dda5=a157_0x1c8470;if(!this[_0x33dda5(0x175)]())return;this[_0x33dda5(0x1d6)][_0x33dda5(0x123)]({'message':_0x49c537[_0x33dda5(0x1a6)],'trace':_0x49c537[_0x33dda5(0x1ab)],'code':_0x49c537[_0x33dda5(0x167)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x3f2891=a157_0x1c8470;try{if(!this[_0x3f2891(0x175)]())return;this['_observer'][_0x3f2891(0x1af)](),this[_0x3f2891(0x161)](),this[_0x3f2891(0x1d1)]();}catch(_0x4d0020){logger[_0x3f2891(0x15a)](_0x3f2891(0x14e)+util[_0x3f2891(0x169)](_0x4d0020));}}static async[a157_0x1c8470(0x142)](){const _0x47579f=a157_0x1c8470,_0x281fc8={'OCUBE':function(_0x1124c7,_0x474924){return _0x1124c7(_0x474924);}};await _0x281fc8[_0x47579f(0x194)](sleep,0x1e);const _0x9ac244=await this[_0x47579f(0x1a0)](),_0x190f66=this[_0x47579f(0x183)]();if(!this[_0x47579f(0x175)]()){const _0x13f15c={};return _0x13f15c[_0x47579f(0x1b6)]=[],_0x13f15c[_0x47579f(0x1dd)]=[],_0x13f15c;}const _0x2932bd={};return _0x2932bd[_0x47579f(0x1b6)]=_0x9ac244,_0x2932bd['errors']=_0x190f66,_0x2932bd;}static['start'](_0x236b47){const _0x4735b8=a157_0x1c8470,_0x3c20c9={};_0x3c20c9['noFqX']=function(_0x122c26,_0x2c77f1){return _0x122c26+_0x2c77f1;},_0x3c20c9[_0x4735b8(0x124)]=_0x4735b8(0x17d);const _0xb3340b=_0x3c20c9,_0x5b7227=_0xb3340b['noFqX'](_0x236b47,_0xb3340b['NfMFN']);if(this[_0x4735b8(0x156)][_0x5b7227])return;performance[_0x4735b8(0x170)](_0x5b7227),this['eventsMap'][_0x5b7227]=0x1;}static[a157_0x1c8470(0x1c6)](_0x9e3e95,_0x2fd6a1=!![],_0x5a442c=null,_0x262061={}){const _0x38e41a=a157_0x1c8470,_0x2cd9ae={'ebjdr':_0x38e41a(0x193),'NHVIl':function(_0x2cdab9,_0x50d268){return _0x2cdab9+_0x50d268;},'iwfpq':'-start','pLjaS':_0x38e41a(0x1a7),'djZis':function(_0x5ef392,_0x3e017a){return _0x5ef392+_0x3e017a;},'Gokiv':function(_0x479cf1,_0x2d9cfc){return _0x479cf1+_0x2d9cfc;},'NYMgl':function(_0x5cb8f3,_0x1cdd34){return _0x5cb8f3+_0x1cdd34;},'bnwBW':function(_0x55189f){return _0x55189f();}},_0xe20f91=_0x2cd9ae[_0x38e41a(0x187)][_0x38e41a(0x155)]('|');let _0x6d5c30=0x0;while(!![]){switch(_0xe20f91[_0x6d5c30++]){case'0':this[_0x38e41a(0x156)][_0x2cd9ae[_0x38e41a(0x14b)](_0x9e3e95,_0x2cd9ae[_0x38e41a(0x141)])]&&performance[_0x38e41a(0x12b)](_0x9e3e95,_0x2cd9ae[_0x38e41a(0x14b)](_0x9e3e95,_0x2cd9ae[_0x38e41a(0x141)]),_0x2cd9ae[_0x38e41a(0x14b)](_0x9e3e95,_0x2cd9ae['pLjaS']));continue;case'1':delete this[_0x38e41a(0x156)][_0x2cd9ae[_0x38e41a(0x1cc)](_0x9e3e95,_0x2cd9ae[_0x38e41a(0x141)])];continue;case'2':performance[_0x38e41a(0x170)](_0x2cd9ae[_0x38e41a(0x164)](_0x9e3e95,_0x2cd9ae[_0x38e41a(0x18e)]));continue;case'3':if(!this[_0x38e41a(0x156)][_0x2cd9ae[_0x38e41a(0x179)](_0x9e3e95,_0x2cd9ae['iwfpq'])])return;continue;case'4':const _0x33dee7={};_0x33dee7[_0x38e41a(0x196)]=_0x2fd6a1,_0x33dee7[_0x38e41a(0x1ad)]=_0x5a442c,this[_0x38e41a(0x184)][_0x9e3e95]=Object[_0x38e41a(0x147)](_0x33dee7,Object[_0x38e41a(0x147)](Object[_0x38e41a(0x147)]({'worker':_0x2cd9ae[_0x38e41a(0x186)](getProcessId),'platform':global[_0x38e41a(0x13c)]&&global[_0x38e41a(0x13c)][_0x38e41a(0x130)],'testName':_0x2cd9ae[_0x38e41a(0x186)](getTestName)},_0x262061),this['details'][_0x9e3e95]||{}));continue;}break;}}}function a157_0x2156(_0x5cb420,_0x3fda26){const _0xa3ac31=a157_0xa3ac();return a157_0x2156=function(_0x2156a0,_0x2b10b7){_0x2156a0=_0x2156a0-0x122;let _0x3c1583=_0xa3ac31[_0x2156a0];return _0x3c1583;},a157_0x2156(_0x5cb420,_0x3fda26);}module[a157_0x1c8470(0x12e)]=PerformanceTester;
@@ -1 +1 @@
1
- const a158_0x288e96=a158_0x2450;function a158_0x31c6(){const _0x124c17=['convertW3CToJsonWire','[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20','NngBG','DohaJ','1580325spQJln','getPWCorePath','__accessibilityOptions','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','OYFFy','bootstrap','getBuildProductMap','message','env','AOQCv','\x20for\x20','bstack:options','DHjUZ','getInstance','projects','NZWvt','toLowerCase','isArray','capabilities','LUvjz','_connection','WebSocket\x20error','[A11Y]\x20connectOverCDP\x20attempt\x20','includes','setFrameworkDetail','ptFUK','connectWithRetry','warn','importFileFromPWCore','getPlaywrightBrowserType','Socket\x20idle\x20from\x20a\x20long\x20time','BS_A11Y_JWT','getPlaywrightModulePath','KuTHN','setBrowserstackConfig','lUMNk','2072064mEmGLM','connectOverCDP','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','ECONNREFUSED','Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed','checkPwandBootstrapCli','qizlS','Timeout','PMYXC','platformCaps','UAohQ','RrLGB','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','../bin/v2/browserstackCLI','getModifiedConfigFromCLI','846fwfXCc','RAOTV','chrome','SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20','QKZyk','HYgXj','stringify','iHTSn','configPath','AIbJu','BROWSERSTACK_TEST_ACCESSIBILITY_YML','FRAMEWORKS','Kyjbi','true','JugUl','format','browserstack.accessibilityOptions.scannerVersion','VfbeM','.\x20Session\x20may\x20be\x20reported\x20unlinked\x20(device\x20name\x20missing\x20on\x20dashboard).','BROWSERSTACK_TESTHUB_UUID','),\x20retrying\x20in\x20','browser','__launchCaps','Error\x20getting\x20Playwright\x20BrowserType:\x20','connectOverCDPWithRetry','webkit','Unable\x20to\x20get\x20the\x20websocket\x20connection','Detected\x20Playwright\x20version\x20','SVKit','getBrowserTypePath','ENbBL','DUcam','OkUmk','QoFkt','BROWSERSTACK_PRODUCT_MAP','XjrSt','constructor','nZQaD','HCrNB','browserstack.accessibilityOptions.wcagVersion','ZySDP','yqqaB','apply','workers','DntiM','iFVDh','./testhub/utils','BcpdG','lIZjK','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','bLTic','364729RYvyTz','generatePlaywrightUrl','browserName','../bin/utils/constants','214713jzZTWk','56tNaWaW','Ghuoq','getBundledConnectionClass','length','jebsb','No\x20modified\x20config\x20received\x20from\x20gRPC','SYoYk','getConfig','1989305BwPkhe','debug','BguBk','firefox','entries','hDefE','chromium','isPlaywrightAvailable','browserstack.accessibilityOptions.scannerProcessingTimeout','getBrowserFromCaps','__platformCaps','./helper','sdVQL','\x20flow','\x20failed\x20(','ECONNRESET','dFvHK','ZTAfz','AWaeK','iwmsb','184512Qxdckb','PLAYWRIGHT','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','ucccR','Playwright\x20not\x20available:\x20','OYuJz','ISnLz','util','jiUid','puMfr','wbCYd','./w3cMapping','../bin/v2/cliUtils','9681NLztYN','\x20attempts\x20—\x20surfacing\x20error:\x20','fOUVl','zAnLP','[Playwright]\x20connect\x20attempt\x20','W3CMapping','cucumberjs-pw','resolveBrowserTypeClass','use'];a158_0x31c6=function(){return _0x124c17;};return a158_0x31c6();}(function(_0x11f1ee,_0x400f18){const _0x19042d=a158_0x2450,_0x5a1a62=_0x11f1ee();while(!![]){try{const _0x3e714e=parseInt(_0x19042d(0x26d))/0x1+-parseInt(_0x19042d(0x1ed))/0x2+parseInt(_0x19042d(0x207))/0x3+-parseInt(_0x19042d(0x22b))/0x4+parseInt(_0x19042d(0x27a))/0x5+-parseInt(_0x19042d(0x23a))/0x6*(parseInt(_0x19042d(0x1fa))/0x7)+parseInt(_0x19042d(0x272))/0x8*(-parseInt(_0x19042d(0x271))/0x9);if(_0x3e714e===_0x400f18)break;else _0x5a1a62['push'](_0x5a1a62['shift']());}catch(_0xc7c8b0){_0x5a1a62['push'](_0x5a1a62['shift']());}}}(a158_0x31c6,0x4d6a3));function a158_0x2450(_0x433c46,_0x1e1270){const _0x31c660=a158_0x31c6();return a158_0x2450=function(_0x2450b7,_0x4297b2){_0x2450b7=_0x2450b7-0x1e1;let _0x501a9c=_0x31c660[_0x2450b7];return _0x501a9c;},a158_0x2450(_0x433c46,_0x1e1270);}const util=require(a158_0x288e96(0x1f4)),{importFileFromPWCore}=require(a158_0x288e96(0x1e4)),helper=require(a158_0x288e96(0x1e4)),logger=require('./logger')['winstonLogger'],W3CMapping=require(a158_0x288e96(0x1f8))[a158_0x288e96(0x1ff)](),constants=require(a158_0x288e96(0x270)),BrowserstackCLI=require(a158_0x288e96(0x238)),CLIUtils=require(a158_0x288e96(0x1f9));let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a158_0x2c8e84){logger[a158_0x288e96(0x27b)]('Could\x20not\x20import\x20GrpcClient:\x20'+a158_0x2c8e84[a158_0x288e96(0x20e)]),GrpcClient=null;}const convertW3CToJsonWire=_0x2f0eb0=>{const _0x402216=a158_0x288e96,_0x36acb2={};_0x36acb2[_0x402216(0x1ec)]=function(_0x518bb2,_0x305fc8){return _0x518bb2||_0x305fc8;},_0x36acb2[_0x402216(0x278)]=function(_0x25d41e,_0x5a2ac6){return _0x25d41e===_0x5a2ac6;},_0x36acb2['QoFkt']=_0x402216(0x212),_0x36acb2[_0x402216(0x27c)]=function(_0x9cd836,_0x2e9fe0){return _0x9cd836===_0x2e9fe0;},_0x36acb2[_0x402216(0x1ea)]=function(_0x8b3882,_0x20e54d){return _0x8b3882===_0x20e54d;},_0x36acb2['AxCcw']=function(_0x1f002a,_0x188680){return _0x1f002a in _0x188680;};const _0xcdcfbe=_0x36acb2,_0x36f7d5={};for(const [_0x37016c,_0x4ba0c8]of Object[_0x402216(0x27e)](_0xcdcfbe[_0x402216(0x1ec)](_0x2f0eb0,{}))){if(_0xcdcfbe[_0x402216(0x278)](_0x37016c,_0xcdcfbe['QoFkt']))continue;let _0x24a9ec=![];for(const [_0x2818f6,_0x57e704]of Object['entries'](W3CMapping)){if(_0xcdcfbe[_0x402216(0x27c)](_0x37016c,_0x57e704)){_0x36f7d5[_0x2818f6]=_0x4ba0c8,_0x24a9ec=!![];break;}}!_0x24a9ec&&(_0x36f7d5[_0x37016c]=_0x4ba0c8);}const _0x2bba9b=_0x2f0eb0[_0xcdcfbe[_0x402216(0x25b)]]||{};for(const [_0x4364a4,_0x51b737]of Object[_0x402216(0x27e)](_0x2bba9b)){let _0x145c34=![];for(const [_0x5618dc,_0x1f136c]of Object[_0x402216(0x27e)](W3CMapping)){if(_0xcdcfbe[_0x402216(0x1ea)](_0x4364a4,_0x1f136c)){_0x36f7d5[_0x5618dc]=_0x51b737,_0x145c34=!![];break;}}!_0x145c34&&!_0xcdcfbe['AxCcw'](_0x4364a4,_0x36f7d5)&&(_0x36f7d5[_0x4364a4]=_0x51b737);}return logger[_0x402216(0x27b)](_0x402216(0x22d)+JSON[_0x402216(0x240)](_0x36f7d5)),_0x36f7d5;},getModifiedConfigFromCLI=async _0x43094a=>{const _0x22842e=a158_0x288e96,_0x1b9774={};_0x1b9774[_0x22842e(0x205)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x1b9774[_0x22842e(0x216)]=_0x22842e(0x200),_0x1b9774[_0x22842e(0x1e9)]='Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw',_0x1b9774[_0x22842e(0x243)]=_0x22842e(0x277),_0x1b9774[_0x22842e(0x27f)]=function(_0x2edbd8,_0x38f8c5){return _0x2edbd8>_0x38f8c5;},_0x1b9774[_0x22842e(0x26c)]=_0x22842e(0x237);const _0x3e1c91=_0x1b9774;try{if(!GrpcClient)return logger[_0x22842e(0x27b)](_0x3e1c91[_0x22842e(0x205)]),null;const _0x4ad1b8={};_0x4ad1b8[_0x22842e(0x219)]=_0x43094a,_0x4ad1b8['framework']=_0x3e1c91['NZWvt'],_0x4ad1b8[_0x22842e(0x265)]=0x1,_0x4ad1b8[_0x22842e(0x215)]=[];const _0x2a422f=_0x4ad1b8;logger[_0x22842e(0x27b)](_0x3e1c91[_0x22842e(0x1e9)]);const _0x1fcd2={};_0x1fcd2['playwrightConfigObject']=_0x2a422f;const _0x1895e0=await GrpcClient['getInstance']()['getPlaywrightConfig'](_0x1fcd2);if(!_0x1895e0[_0x22842e(0x279)]())return logger['debug'](_0x3e1c91[_0x22842e(0x243)]),null;const _0x398277=JSON['parse'](_0x1895e0[_0x22842e(0x279)]());logger[_0x22842e(0x27b)]('Received\x20modified\x20config\x20from\x20gRPC:\x20'+JSON['stringify'](_0x398277));if(_0x398277[_0x22842e(0x219)]&&Array[_0x22842e(0x218)](_0x398277[_0x22842e(0x219)])&&_0x3e1c91[_0x22842e(0x27f)](_0x398277[_0x22842e(0x219)][_0x22842e(0x275)],0x0))return _0x398277[_0x22842e(0x219)][0x0];else{if(_0x398277['projects']&&Array[_0x22842e(0x218)](_0x398277[_0x22842e(0x215)])&&_0x3e1c91['hDefE'](_0x398277[_0x22842e(0x215)][_0x22842e(0x275)],0x0)){const _0x2bfd96=_0x398277[_0x22842e(0x215)][0x0];if(_0x2bfd96[_0x22842e(0x202)]&&_0x2bfd96[_0x22842e(0x202)][_0x22842e(0x234)])return _0x2bfd96[_0x22842e(0x202)][_0x22842e(0x234)];}}return logger[_0x22842e(0x27b)](_0x3e1c91[_0x22842e(0x26c)]),null;}catch(_0x354153){logger['error'](_0x22842e(0x20a)+_0x354153[_0x22842e(0x20e)]);throw _0x354153;}},generatePlaywrightUrl=(_0x158c06,_0x15b558)=>{const _0x42798f=a158_0x288e96,_0x4233f3={'nZQaD':function(_0x368bd0,_0x23cf0e){return _0x368bd0!==_0x23cf0e;},'AOQCv':function(_0x3e7140,_0x17cc44){return _0x3e7140!==_0x17cc44;},'ISnLz':function(_0x2839a5,_0x2985d3){return _0x2839a5!==_0x2985d3;},'sdVQL':function(_0xd969ce,_0xcce0c9){return _0xd969ce!==_0xcce0c9;},'jiUid':function(_0x4e4cbe,_0x561484){return _0x4e4cbe(_0x561484);},'QIFxA':function(_0x1f6c03,_0x2fb2a8){return _0x1f6c03||_0x2fb2a8;},'JugUl':'browserstack.accessibility','RrLGB':function(_0x369a68,_0x112548){return _0x369a68(_0x112548);},'LUvjz':'browserstack.accessibilityOptions.authToken','puMfr':_0x42798f(0x261),'wbCYd':_0x42798f(0x24a),'SVKit':_0x42798f(0x1e1),'jebsb':function(_0x324a98,_0x57d55b){return _0x324a98===_0x57d55b;},'OYuJz':_0x42798f(0x247),'PMYXC':'browserstack.testhubBuildUuid','iHTSn':'browserstack.buildProductMap','lHZZm':function(_0x3812c5,_0x5b687e){return _0x3812c5+_0x5b687e;},'CKsUF':function(_0x1605c3,_0x14d130){return _0x1605c3(_0x14d130);}},_0x24e74c=helper['getPlaywrightUrl'](_0x158c06),_0x10756d=_0x4233f3['jiUid'](convertW3CToJsonWire,_0x15b558);try{const _0x5f1803=[_0x4233f3['QIFxA'](_0x15b558,{}),global[_0x42798f(0x250)]||{},global[_0x42798f(0x1e3)]||{},global[_0x42798f(0x209)]||{}],_0x2469a7=_0x266c5b=>{const _0x271819=_0x42798f;if(_0x4233f3[_0x271819(0x25f)](_0x10756d[_0x266c5b],undefined)&&_0x4233f3[_0x271819(0x210)](_0x10756d[_0x266c5b],null)&&_0x4233f3[_0x271819(0x25f)](_0x10756d[_0x266c5b],''))return;for(const _0x545873 of _0x5f1803){if(_0x545873&&_0x4233f3[_0x271819(0x1f3)](_0x545873[_0x266c5b],undefined)&&_0x4233f3[_0x271819(0x1e5)](_0x545873[_0x266c5b],null)&&_0x4233f3[_0x271819(0x1e5)](_0x545873[_0x266c5b],'')){_0x10756d[_0x266c5b]=_0x545873[_0x266c5b];return;}}};_0x4233f3[_0x42798f(0x1f5)](_0x2469a7,_0x4233f3[_0x42798f(0x248)]),_0x4233f3['RrLGB'](_0x2469a7,_0x4233f3[_0x42798f(0x21a)]),_0x4233f3[_0x42798f(0x236)](_0x2469a7,_0x4233f3[_0x42798f(0x1f6)]),_0x4233f3[_0x42798f(0x236)](_0x2469a7,_0x4233f3[_0x42798f(0x1f7)]),_0x4233f3[_0x42798f(0x236)](_0x2469a7,_0x4233f3[_0x42798f(0x256)]),!_0x10756d[_0x4233f3[_0x42798f(0x21a)]]&&process[_0x42798f(0x20f)][_0x42798f(0x226)]&&(_0x10756d[_0x4233f3[_0x42798f(0x21a)]]=process[_0x42798f(0x20f)][_0x42798f(0x226)]),_0x4233f3[_0x42798f(0x276)](_0x10756d[_0x4233f3['JugUl']],undefined)&&process['env'][_0x42798f(0x244)]&&_0x4233f3['jebsb'](_0x4233f3[_0x42798f(0x1f5)](String,process[_0x42798f(0x20f)][_0x42798f(0x244)])[_0x42798f(0x217)](),_0x4233f3[_0x42798f(0x1f2)])&&(_0x10756d[_0x4233f3[_0x42798f(0x248)]]=!![]);}catch(_0x98e975){logger['debug']('Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20'+util['format'](_0x98e975));}return _0x10756d[_0x4233f3[_0x42798f(0x233)]]=process[_0x42798f(0x20f)][_0x42798f(0x24d)],_0x10756d[_0x4233f3[_0x42798f(0x241)]]=helper[_0x42798f(0x20d)](),_0x4233f3['lHZZm'](_0x24e74c,_0x4233f3['CKsUF'](encodeURIComponent,JSON['stringify'](_0x10756d)));},getBrowserFromCaps=_0x3bd3c6=>{const _0x305ad3=a158_0x288e96,_0x1ac183={};_0x1ac183[_0x305ad3(0x246)]=_0x305ad3(0x23c);const _0x5805fb=_0x1ac183;return _0x3bd3c6[_0x305ad3(0x26f)]||_0x3bd3c6[_0x305ad3(0x24f)]||_0x5805fb[_0x305ad3(0x246)];},getBundledConnectionClass=()=>{const _0xe69e1c=a158_0x288e96,_0x3da4d9={};_0x3da4d9[_0xe69e1c(0x266)]='SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null';const _0x132850=_0x3da4d9;try{const _0x3717fb=helper[_0xe69e1c(0x208)]();if(!_0x3717fb)return null;const _0x1be137=helper['requirePWModule'](_0x3717fb),_0x3e02cc=_0x1be137&&(_0x1be137[_0xe69e1c(0x280)]||_0x1be137[_0xe69e1c(0x27d)]||_0x1be137[_0xe69e1c(0x253)]);if(!_0x3e02cc)return null;if(!_0x3e02cc[_0xe69e1c(0x21b)])return logger['debug'](_0x132850[_0xe69e1c(0x266)]),null;if(!_0x3e02cc[_0xe69e1c(0x21b)]['constructor'])return null;return _0x3e02cc[_0xe69e1c(0x21b)][_0xe69e1c(0x25e)];}catch(_0x5de6ac){return logger[_0xe69e1c(0x27b)](_0xe69e1c(0x23d)+util[_0xe69e1c(0x249)](_0x5de6ac)),null;}},isPlaywrightAvailable=()=>{const _0x1bae35=a158_0x288e96;try{return!!helper['resolveBrowserTypeClass']();}catch(_0x33aa1b){return logger['debug'](_0x1bae35(0x1f1)+util[_0x1bae35(0x249)](_0x33aa1b)),![];}},getPlaywrightBrowserType=()=>{const _0x2d3a54=a158_0x288e96;try{return helper[_0x2d3a54(0x201)]();}catch(_0x1e07fb){return logger[_0x2d3a54(0x27b)](_0x2d3a54(0x251)+util[_0x2d3a54(0x249)](_0x1e07fb)),null;}},getPlaywrightModulePath=()=>{const _0x1234b7=a158_0x288e96,_0x14cc4e={};_0x14cc4e[_0x1234b7(0x273)]=_0x1234b7(0x26b);const _0x110440=_0x14cc4e;return logger[_0x1234b7(0x27b)](_0x110440[_0x1234b7(0x273)]),null;},getBrowserTypePath=()=>{const _0x5e4dc5=a158_0x288e96,_0x1f9f94={};_0x1f9f94[_0x5e4dc5(0x235)]=_0x5e4dc5(0x1ef);const _0x334b54=_0x1f9f94;return logger[_0x5e4dc5(0x27b)](_0x334b54[_0x5e4dc5(0x235)]),null;},checkPwandBootstrapCli=async(_0x1360b1,_0x41357f,_0x25d029)=>{const _0x1ac998=a158_0x288e96,_0x1c8df4={'ptFUK':function(_0x2c229d,_0x1a7576){return _0x2c229d(_0x1a7576);},'lUMNk':_0x1ac998(0x268)};if(_0x1360b1){const _0x449cbc=constants[_0x1ac998(0x245)][_0x1ac998(0x1ee)];logger[_0x1ac998(0x27b)](_0x1ac998(0x255)+_0x1360b1+_0x1ac998(0x211)+_0x41357f+_0x1ac998(0x1e6)),CLIUtils[_0x1ac998(0x21f)](_0x41357f,_0x449cbc);const {getProductMap:_0x4f16fb}=_0x1c8df4[_0x1ac998(0x220)](require,_0x1c8df4[_0x1ac998(0x22a)]);process['env'][_0x1ac998(0x25c)]=JSON['stringify'](_0x1c8df4[_0x1ac998(0x220)](_0x4f16fb,_0x25d029['config'])),BrowserstackCLI['getInstance']()[_0x1ac998(0x229)](_0x25d029['config'],_0x25d029[_0x1ac998(0x242)],_0x25d029['cliConfig']),await BrowserstackCLI[_0x1ac998(0x214)]()[_0x1ac998(0x20c)]();}},connectOverCDPWithRetry=async(_0x58bc9e,_0x3e4139,_0x10c026,_0xd4fc86=0x3,_0x3d2dab=0x1f4)=>{const _0x2b20ef=a158_0x288e96,_0x41f3c3={};_0x41f3c3[_0x2b20ef(0x24b)]=function(_0x4fd810,_0x6efd83){return _0x4fd810<=_0x6efd83;},_0x41f3c3[_0x2b20ef(0x259)]=_0x2b20ef(0x22f),_0x41f3c3[_0x2b20ef(0x262)]=_0x2b20ef(0x232),_0x41f3c3[_0x2b20ef(0x25a)]=_0x2b20ef(0x21c),_0x41f3c3[_0x2b20ef(0x25d)]='connectOverCDP:\x20CDPSession',_0x41f3c3[_0x2b20ef(0x1fd)]='ECONNRESET',_0x41f3c3[_0x2b20ef(0x20b)]=_0x2b20ef(0x22e),_0x41f3c3[_0x2b20ef(0x1eb)]=function(_0x1e7f41,_0x7a3b78){return _0x1e7f41===_0x7a3b78;},_0x41f3c3[_0x2b20ef(0x260)]=function(_0xc43c4f,_0x129984){return _0xc43c4f+_0x129984;},_0x41f3c3['DHjUZ']=function(_0x9f3038,_0x427765){return _0x9f3038*_0x427765;},_0x41f3c3[_0x2b20ef(0x231)]=function(_0x9e93fc,_0x589972){return _0x9e93fc+_0x589972;},_0x41f3c3[_0x2b20ef(0x206)]=function(_0xf2238e,_0x519f47){return _0xf2238e+_0x519f47;};const _0x1e9d9c=_0x41f3c3;let _0x433577;for(let _0x2fd81d=0x0;_0x1e9d9c[_0x2b20ef(0x24b)](_0x2fd81d,_0xd4fc86);_0x2fd81d++){try{return await _0x58bc9e[_0x2b20ef(0x22c)][_0x2b20ef(0x264)](_0x3e4139,_0x10c026);}catch(_0x49617e){_0x433577=_0x49617e;const _0x2073a7=_0x49617e&&_0x49617e[_0x2b20ef(0x20e)]||'',_0x582560=_0x2073a7[_0x2b20ef(0x21e)](_0x1e9d9c[_0x2b20ef(0x259)])||_0x2073a7[_0x2b20ef(0x21e)](_0x1e9d9c['ZySDP'])||_0x2073a7[_0x2b20ef(0x21e)](_0x1e9d9c[_0x2b20ef(0x25a)])||_0x2073a7['includes'](_0x1e9d9c[_0x2b20ef(0x25d)])||_0x2073a7[_0x2b20ef(0x21e)](_0x1e9d9c[_0x2b20ef(0x1fd)])||_0x2073a7[_0x2b20ef(0x21e)](_0x1e9d9c[_0x2b20ef(0x20b)]);if(!_0x582560||_0x1e9d9c[_0x2b20ef(0x1eb)](_0x2fd81d,_0xd4fc86)){_0x582560&&logger['warn'](_0x2b20ef(0x204)+_0x1e9d9c[_0x2b20ef(0x260)](_0x2fd81d,0x1)+_0x2b20ef(0x1fb)+_0x2073a7);throw _0x49617e;}const _0x96595=_0x1e9d9c[_0x2b20ef(0x213)](_0x3d2dab,_0x1e9d9c[_0x2b20ef(0x231)](_0x2fd81d,0x1));logger['warn'](_0x2b20ef(0x21d)+_0x1e9d9c[_0x2b20ef(0x231)](_0x2fd81d,0x1)+'/'+_0x1e9d9c[_0x2b20ef(0x206)](_0xd4fc86,0x1)+_0x2b20ef(0x1e7)+_0x2073a7+_0x2b20ef(0x24e)+_0x96595+'ms'),await new Promise(_0x12a08c=>setTimeout(_0x12a08c,_0x96595));}}throw _0x433577;},connectWithRetry=async(_0xb713fa,_0x1b3929,_0x39de1c,_0x1843e9=0x3,_0x432ed3=0x3e8)=>{const _0x497a5b=a158_0x288e96,_0x2a83b4={};_0x2a83b4[_0x497a5b(0x23e)]=function(_0x368fb1,_0x4861a8){return _0x368fb1<=_0x4861a8;},_0x2a83b4[_0x497a5b(0x1fc)]=_0x497a5b(0x225),_0x2a83b4[_0x497a5b(0x269)]=_0x497a5b(0x254),_0x2a83b4[_0x497a5b(0x1f0)]=_0x497a5b(0x22f),_0x2a83b4[_0x497a5b(0x263)]='Timeout',_0x2a83b4[_0x497a5b(0x267)]='WebSocket\x20error',_0x2a83b4[_0x497a5b(0x26a)]=_0x497a5b(0x1e8),_0x2a83b4[_0x497a5b(0x228)]=_0x497a5b(0x22e),_0x2a83b4[_0x497a5b(0x258)]=function(_0x434266,_0x5f435f){return _0x434266===_0x5f435f;},_0x2a83b4[_0x497a5b(0x23b)]=function(_0x5a0f3f,_0x1a3106){return _0x5a0f3f+_0x1a3106;},_0x2a83b4[_0x497a5b(0x23f)]=function(_0x1b7fa4,_0x43bb4d){return _0x1b7fa4*_0x43bb4d;};const _0x2dd499=_0x2a83b4;let _0x1b7b6a;for(let _0x5e9743=0x0;_0x2dd499['QKZyk'](_0x5e9743,_0x1843e9);_0x5e9743++){try{return await _0xb713fa[_0x497a5b(0x264)](_0x1b3929,_0x39de1c);}catch(_0x338392){_0x1b7b6a=_0x338392;const _0x42cc1b=_0x338392&&_0x338392[_0x497a5b(0x20e)]||'',_0x195b82=_0x42cc1b[_0x497a5b(0x21e)](_0x2dd499[_0x497a5b(0x1fc)])||_0x42cc1b[_0x497a5b(0x21e)](_0x2dd499[_0x497a5b(0x269)])||_0x42cc1b['includes'](_0x2dd499[_0x497a5b(0x1f0)])||_0x42cc1b[_0x497a5b(0x21e)](_0x2dd499[_0x497a5b(0x263)])||_0x42cc1b['includes'](_0x2dd499[_0x497a5b(0x267)])||_0x42cc1b[_0x497a5b(0x21e)](_0x2dd499[_0x497a5b(0x26a)])||_0x42cc1b['includes'](_0x2dd499['KuTHN']);if(!_0x195b82||_0x2dd499[_0x497a5b(0x258)](_0x5e9743,_0x1843e9)){_0x195b82&&logger[_0x497a5b(0x222)]('[Playwright]\x20connect\x20gave\x20up\x20after\x20'+_0x2dd499[_0x497a5b(0x23b)](_0x5e9743,0x1)+'\x20attempts\x20—\x20surfacing\x20error:\x20'+_0x42cc1b+_0x497a5b(0x24c));throw _0x338392;}const _0x11a842=_0x2dd499[_0x497a5b(0x23f)](_0x432ed3,_0x2dd499[_0x497a5b(0x23b)](_0x5e9743,0x1));logger['warn'](_0x497a5b(0x1fe)+_0x2dd499[_0x497a5b(0x23b)](_0x5e9743,0x1)+'/'+_0x2dd499['RAOTV'](_0x1843e9,0x1)+_0x497a5b(0x1e7)+_0x42cc1b+'),\x20retrying\x20in\x20'+_0x11a842+'ms'),await new Promise(_0x8fba47=>setTimeout(_0x8fba47,_0x11a842));}}throw _0x1b7b6a;},a158_0x3c0655={};a158_0x3c0655[a158_0x288e96(0x203)]=convertW3CToJsonWire,a158_0x3c0655[a158_0x288e96(0x239)]=getModifiedConfigFromCLI,a158_0x3c0655[a158_0x288e96(0x26e)]=generatePlaywrightUrl,a158_0x3c0655[a158_0x288e96(0x1e2)]=getBrowserFromCaps,a158_0x3c0655[a158_0x288e96(0x281)]=isPlaywrightAvailable,a158_0x3c0655[a158_0x288e96(0x224)]=getPlaywrightBrowserType,a158_0x3c0655[a158_0x288e96(0x227)]=getPlaywrightModulePath,a158_0x3c0655[a158_0x288e96(0x257)]=getBrowserTypePath,a158_0x3c0655[a158_0x288e96(0x223)]=importFileFromPWCore,a158_0x3c0655[a158_0x288e96(0x230)]=checkPwandBootstrapCli,a158_0x3c0655[a158_0x288e96(0x252)]=connectOverCDPWithRetry,a158_0x3c0655[a158_0x288e96(0x221)]=connectWithRetry,a158_0x3c0655[a158_0x288e96(0x274)]=getBundledConnectionClass,module['exports']=a158_0x3c0655;
1
+ const a158_0x301fdb=a158_0x4afd;(function(_0x38c868,_0x403fb9){const _0x2fc4d3=a158_0x4afd,_0x3852f5=_0x38c868();while(!![]){try{const _0xec0483=parseInt(_0x2fc4d3(0x10d))/0x1*(parseInt(_0x2fc4d3(0x118))/0x2)+parseInt(_0x2fc4d3(0xb7))/0x3*(-parseInt(_0x2fc4d3(0xb8))/0x4)+-parseInt(_0x2fc4d3(0xc8))/0x5+-parseInt(_0x2fc4d3(0xd1))/0x6*(parseInt(_0x2fc4d3(0x105))/0x7)+-parseInt(_0x2fc4d3(0xd8))/0x8*(parseInt(_0x2fc4d3(0x99))/0x9)+parseInt(_0x2fc4d3(0xac))/0xa+parseInt(_0x2fc4d3(0x121))/0xb*(parseInt(_0x2fc4d3(0xb4))/0xc);if(_0xec0483===_0x403fb9)break;else _0x3852f5['push'](_0x3852f5['shift']());}catch(_0x226f2b){_0x3852f5['push'](_0x3852f5['shift']());}}}(a158_0x29a0,0x40295));const util=require('util'),{importFileFromPWCore}=require('./helper'),helper=require(a158_0x301fdb(0xd6)),logger=require('./logger')[a158_0x301fdb(0x12b)],W3CMapping=require('./w3cMapping')[a158_0x301fdb(0x98)](),constants=require(a158_0x301fdb(0xaf)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require(a158_0x301fdb(0xee));function a158_0x4afd(_0x15ca88,_0x125345){const _0x29a0ea=a158_0x29a0();return a158_0x4afd=function(_0x4afd6b,_0x60d6b1){_0x4afd6b=_0x4afd6b-0x90;let _0x1a8abb=_0x29a0ea[_0x4afd6b];return _0x1a8abb;},a158_0x4afd(_0x15ca88,_0x125345);}function a158_0x29a0(){const _0x292245=['env','JVufi','Ybxgz','_connection','ATait','Socket\x20idle\x20from\x20a\x20long\x20time','Received\x20modified\x20config\x20from\x20gRPC:\x20','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','.\x20Session\x20may\x20be\x20reported\x20unlinked\x20(device\x20name\x20missing\x20on\x20dashboard).','Error\x20getting\x20Playwright\x20BrowserType:\x20','Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed','FRAMEWORKS','__accessibilityOptions','2364025emYlKI','bgOhz','use','includes','isPlaywrightAvailable','NeOSh','Playwright\x20not\x20available:\x20','getPWCorePath','ctlsd','102opTrar','FbAEN','\x20for\x20','Unable\x20to\x20get\x20the\x20websocket\x20connection','AHcNn','./helper','umgCS','104qiqoCA','browserstack.testhubBuildUuid','ZJcnX','stringify','convertW3CToJsonWire','browserstack.buildProductMap','Egrcq','oAEEk','message','zFHrW','connectOverCDPWithRetry','wzAbO','Detected\x20Playwright\x20version\x20','Timeout','getPlaywrightUrl','browserstack.accessibilityOptions.wcagVersion','bstack:options','requirePWModule','hYDwN','OLffD','BS_A11Y_JWT','[Playwright]\x20connect\x20gave\x20up\x20after\x20','../bin/v2/cliUtils','resolveBrowserTypeClass','ClLmX','idMSg','kKGGQ','LvVvp','JYSYs','ayCaS','ECONNRESET','capabilities','oyVjd','warn','getPlaywrightModulePath','browserstack.accessibility','pXahO','projects','configPath','workers','\x20failed\x20(','cucumberjs-pw','constructor','Btdml','Could\x20not\x20import\x20GrpcClient:\x20','211064xrsBwn','tpHjJ','connectWithRetry','nqbhi','[Playwright]\x20connect\x20attempt\x20','tQpGi','VtCAm','PLAYWRIGHT','47nbVXqK','SDK-5318:\x20getBundledConnectionClass\x20called\x20before\x20_connection\x20populated;\x20returning\x20null','BROWSERSTACK_PRODUCT_MAP','Ulaok','uEanZ','toLowerCase','),\x20retrying\x20in\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getModifiedConfigFromCLI','[A11Y]\x20connectOverCDP\x20attempt\x20','zYbOD','7858lBVakW','checkPwandBootstrapCli','chromium','bootstrap','isArray','config','nambW','debug','cliConfig','40051VvCPip','chrome','setBrowserstackConfig','nzRwm','generatePlaywrightUrl','GrUCV','parse','getBrowserFromCaps','framework','__launchCaps','winstonLogger','MozWm','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','playwrightConfigObject','ZGmeR','sQklU','DWkxQ','getPlaywrightBrowserType','getInstance','getConfig','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','entries','firefox','W3CMapping','215343ekMIFA','length','importFileFromPWCore','WebSocket\x20error','platformCaps','iTDKo','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','oEcco','browserstack.accessibilityOptions.authToken','VcyUC','\x20attempts\x20—\x20surfacing\x20error:\x20','tziBf','EOFnp','exports','ECONNREFUSED','getBundledConnectionClass','PdHfb','format','1892640jIjxxd','connectOverCDP:\x20CDPSession','error','../bin/utils/constants','pYuql','PFowf','JmfSW','RBunH','5268mpLTCU','ORZKl','hMsVW','3GBjfAZ','1652324XBBZXt','UzRZz','EVHrD'];a158_0x29a0=function(){return _0x292245;};return a158_0x29a0();}let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a158_0x4cc8eb){logger[a158_0x301fdb(0x11f)](a158_0x301fdb(0x104)+a158_0x4cc8eb[a158_0x301fdb(0xe0)]),GrpcClient=null;}const convertW3CToJsonWire=_0x122544=>{const _0x227178=a158_0x301fdb,_0x5364ea={};_0x5364ea[_0x227178(0xf1)]=function(_0x2caa4e,_0x2247e0){return _0x2caa4e||_0x2247e0;},_0x5364ea['ffdKN']=function(_0x4b89d9,_0x14d33e){return _0x4b89d9===_0x14d33e;},_0x5364ea[_0x227178(0x110)]=_0x227178(0xe8),_0x5364ea[_0x227178(0xf3)]=function(_0x1c3916,_0x2b1d31){return _0x1c3916===_0x2b1d31;},_0x5364ea[_0x227178(0xb3)]=function(_0x20ba5c,_0x5bb73c){return _0x20ba5c in _0x5bb73c;};const _0x56410a=_0x5364ea,_0x634bb1={};for(const [_0x2e0fe7,_0xb5a83e]of Object[_0x227178(0x96)](_0x56410a[_0x227178(0xf1)](_0x122544,{}))){if(_0x56410a['ffdKN'](_0x2e0fe7,_0x56410a['Ulaok']))continue;let _0x4b5239=![];for(const [_0x28fbb1,_0x2fcd15]of Object[_0x227178(0x96)](W3CMapping)){if(_0x56410a['ffdKN'](_0x2e0fe7,_0x2fcd15)){_0x634bb1[_0x28fbb1]=_0xb5a83e,_0x4b5239=!![];break;}}!_0x4b5239&&(_0x634bb1[_0x2e0fe7]=_0xb5a83e);}const _0x17b9ae=_0x122544[_0x56410a[_0x227178(0x110)]]||{};for(const [_0x23f722,_0x55e3a2]of Object['entries'](_0x17b9ae)){let _0x1bb0ed=![];for(const [_0x3faecf,_0x5a2c82]of Object[_0x227178(0x96)](W3CMapping)){if(_0x56410a[_0x227178(0xf3)](_0x23f722,_0x5a2c82)){_0x634bb1[_0x3faecf]=_0x55e3a2,_0x1bb0ed=!![];break;}}!_0x1bb0ed&&!_0x56410a[_0x227178(0xb3)](_0x23f722,_0x634bb1)&&(_0x634bb1[_0x23f722]=_0x55e3a2);}return logger[_0x227178(0x11f)]('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0x227178(0xdb)](_0x634bb1)),_0x634bb1;},getModifiedConfigFromCLI=async _0x452b3a=>{const _0x203ea1=a158_0x301fdb,_0x5bf9a1={};_0x5bf9a1[_0x203ea1(0xba)]=_0x203ea1(0x95),_0x5bf9a1['JmfSW']=_0x203ea1(0x101),_0x5bf9a1[_0x203ea1(0x124)]=_0x203ea1(0x12d),_0x5bf9a1[_0x203ea1(0xa1)]='No\x20modified\x20config\x20received\x20from\x20gRPC',_0x5bf9a1[_0x203ea1(0x10a)]=function(_0x21677e,_0x40e5a1){return _0x21677e>_0x40e5a1;},_0x5bf9a1[_0x203ea1(0xf2)]=function(_0x4b7f61,_0x326eae){return _0x4b7f61>_0x326eae;},_0x5bf9a1[_0x203ea1(0xd7)]=_0x203ea1(0xa0);const _0x183898=_0x5bf9a1;try{if(!GrpcClient)return logger['debug'](_0x183898[_0x203ea1(0xba)]),null;const _0x4d5b3d={};_0x4d5b3d[_0x203ea1(0xf7)]=_0x452b3a,_0x4d5b3d[_0x203ea1(0x129)]=_0x183898[_0x203ea1(0xb2)],_0x4d5b3d[_0x203ea1(0xff)]=0x1,_0x4d5b3d[_0x203ea1(0xfd)]=[];const _0x2a82d2=_0x4d5b3d;logger['debug'](_0x183898[_0x203ea1(0x124)]);const _0x5253c8={};_0x5253c8[_0x203ea1(0x12e)]=_0x2a82d2;const _0x1b9197=await GrpcClient[_0x203ea1(0x93)]()['getPlaywrightConfig'](_0x5253c8);if(!_0x1b9197['getConfig']())return logger[_0x203ea1(0x11f)](_0x183898['oEcco']),null;const _0x500ab4=JSON[_0x203ea1(0x127)](_0x1b9197[_0x203ea1(0x94)]());logger[_0x203ea1(0x11f)](_0x203ea1(0xc1)+JSON['stringify'](_0x500ab4));if(_0x500ab4[_0x203ea1(0xf7)]&&Array[_0x203ea1(0x11c)](_0x500ab4[_0x203ea1(0xf7)])&&_0x183898[_0x203ea1(0x10a)](_0x500ab4[_0x203ea1(0xf7)][_0x203ea1(0x9a)],0x0))return _0x500ab4[_0x203ea1(0xf7)][0x0];else{if(_0x500ab4['projects']&&Array[_0x203ea1(0x11c)](_0x500ab4[_0x203ea1(0xfd)])&&_0x183898[_0x203ea1(0xf2)](_0x500ab4['projects']['length'],0x0)){const _0x4271c9=_0x500ab4[_0x203ea1(0xfd)][0x0];if(_0x4271c9[_0x203ea1(0xca)]&&_0x4271c9['use'][_0x203ea1(0x9d)])return _0x4271c9['use']['platformCaps'];}}return logger[_0x203ea1(0x11f)](_0x183898[_0x203ea1(0xd7)]),null;}catch(_0x13819b){logger[_0x203ea1(0xae)](_0x203ea1(0xc2)+_0x13819b[_0x203ea1(0xe0)]);throw _0x13819b;}},generatePlaywrightUrl=(_0x3e1204,_0x444be5)=>{const _0x3ad424=a158_0x301fdb,_0x283b77={'PdHfb':function(_0x1edd90,_0x2b89e4){return _0x1edd90!==_0x2b89e4;},'hMsVW':function(_0x1a174d,_0x385618){return _0x1a174d!==_0x385618;},'VtCAm':function(_0x3b5099,_0x4cad76){return _0x3b5099!==_0x4cad76;},'uEanZ':function(_0x427f7a,_0x1a79ec){return _0x427f7a(_0x1a79ec);},'DWkxQ':function(_0x271995,_0x2d1d6c){return _0x271995||_0x2d1d6c;},'ORZKl':function(_0x2f4242,_0x547246){return _0x2f4242(_0x547246);},'Ybxgz':_0x3ad424(0xfb),'tpHjJ':_0x3ad424(0xa2),'VcyUC':_0x3ad424(0xe7),'ClLmX':'browserstack.accessibilityOptions.scannerVersion','PFowf':function(_0x2f7354,_0x1c156b){return _0x2f7354(_0x1c156b);},'cZvuU':'browserstack.accessibilityOptions.scannerProcessingTimeout','NeOSh':function(_0x1b2136,_0x3c56cd){return _0x1b2136===_0x3c56cd;},'oyVjd':'true','MozWm':_0x3ad424(0xd9),'INTWV':_0x3ad424(0xdd),'nambW':function(_0x4f1baf,_0x1baad5){return _0x4f1baf+_0x1baad5;}},_0x808c66=helper[_0x3ad424(0xe6)](_0x3e1204),_0x51c929=_0x283b77[_0x3ad424(0x111)](convertW3CToJsonWire,_0x444be5);try{const _0x57a854=[_0x283b77[_0x3ad424(0x91)](_0x444be5,{}),global[_0x3ad424(0x12a)]||{},global['__platformCaps']||{},global[_0x3ad424(0xc7)]||{}],_0xe02cc=_0x557391=>{const _0x4175de=_0x3ad424;if(_0x283b77[_0x4175de(0xaa)](_0x51c929[_0x557391],undefined)&&_0x283b77[_0x4175de(0xaa)](_0x51c929[_0x557391],null)&&_0x283b77[_0x4175de(0xb6)](_0x51c929[_0x557391],''))return;for(const _0x4e82e1 of _0x57a854){if(_0x4e82e1&&_0x283b77['VtCAm'](_0x4e82e1[_0x557391],undefined)&&_0x283b77['hMsVW'](_0x4e82e1[_0x557391],null)&&_0x283b77[_0x4175de(0x10b)](_0x4e82e1[_0x557391],'')){_0x51c929[_0x557391]=_0x4e82e1[_0x557391];return;}}};_0x283b77[_0x3ad424(0xb5)](_0xe02cc,_0x283b77[_0x3ad424(0xbd)]),_0x283b77[_0x3ad424(0xb5)](_0xe02cc,_0x283b77[_0x3ad424(0x106)]),_0x283b77[_0x3ad424(0xb5)](_0xe02cc,_0x283b77[_0x3ad424(0xa3)]),_0x283b77[_0x3ad424(0x111)](_0xe02cc,_0x283b77[_0x3ad424(0xf0)]),_0x283b77[_0x3ad424(0xb1)](_0xe02cc,_0x283b77['cZvuU']),!_0x51c929[_0x283b77[_0x3ad424(0x106)]]&&process[_0x3ad424(0xbb)][_0x3ad424(0xec)]&&(_0x51c929[_0x283b77['tpHjJ']]=process[_0x3ad424(0xbb)][_0x3ad424(0xec)]),_0x283b77[_0x3ad424(0xcd)](_0x51c929[_0x283b77[_0x3ad424(0xbd)]],undefined)&&process[_0x3ad424(0xbb)][_0x3ad424(0x114)]&&_0x283b77[_0x3ad424(0xcd)](_0x283b77[_0x3ad424(0x111)](String,process['env'][_0x3ad424(0x114)])[_0x3ad424(0x112)](),_0x283b77[_0x3ad424(0xf8)])&&(_0x51c929[_0x283b77[_0x3ad424(0xbd)]]=!![]);}catch(_0x50dfb4){logger[_0x3ad424(0x11f)]('Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20'+util[_0x3ad424(0xab)](_0x50dfb4));}return _0x51c929[_0x283b77[_0x3ad424(0x12c)]]=process['env']['BROWSERSTACK_TESTHUB_UUID'],_0x51c929[_0x283b77['INTWV']]=helper['getBuildProductMap'](),_0x283b77[_0x3ad424(0x11e)](_0x808c66,_0x283b77[_0x3ad424(0x111)](encodeURIComponent,JSON[_0x3ad424(0xdb)](_0x51c929)));},getBrowserFromCaps=_0x3b6a34=>{const _0x1e8ab5=a158_0x301fdb,_0x3b90f8={};_0x3b90f8[_0x1e8ab5(0xbc)]=_0x1e8ab5(0x122);const _0x23e2ce=_0x3b90f8;return _0x3b6a34['browserName']||_0x3b6a34['browser']||_0x23e2ce[_0x1e8ab5(0xbc)];},getBundledConnectionClass=()=>{const _0x382cec=a158_0x301fdb,_0x42c8a5={};_0x42c8a5[_0x382cec(0xf5)]=_0x382cec(0x10e);const _0xbeabc5=_0x42c8a5;try{const _0x53ac22=helper[_0x382cec(0xcf)]();if(!_0x53ac22)return null;const _0x3aa89d=helper[_0x382cec(0xe9)](_0x53ac22),_0x36a33a=_0x3aa89d&&(_0x3aa89d[_0x382cec(0x11a)]||_0x3aa89d[_0x382cec(0x97)]||_0x3aa89d['webkit']);if(!_0x36a33a)return null;if(!_0x36a33a[_0x382cec(0xbe)])return logger['debug'](_0xbeabc5[_0x382cec(0xf5)]),null;if(!_0x36a33a['_connection'][_0x382cec(0x102)])return null;return _0x36a33a[_0x382cec(0xbe)][_0x382cec(0x102)];}catch(_0xd7da01){return logger[_0x382cec(0x11f)]('SDK-5318:\x20getBundledConnectionClass\x20walk\x20failed:\x20'+util[_0x382cec(0xab)](_0xd7da01)),null;}},isPlaywrightAvailable=()=>{const _0x412bc2=a158_0x301fdb;try{return!!helper['resolveBrowserTypeClass']();}catch(_0x3d72d5){return logger[_0x412bc2(0x11f)](_0x412bc2(0xce)+util[_0x412bc2(0xab)](_0x3d72d5)),![];}},getPlaywrightBrowserType=()=>{const _0x477465=a158_0x301fdb;try{return helper[_0x477465(0xef)]();}catch(_0x328886){return logger[_0x477465(0x11f)](_0x477465(0xc4)+util[_0x477465(0xab)](_0x328886)),null;}},getPlaywrightModulePath=()=>{const _0x415c3f=a158_0x301fdb,_0x18e349={};_0x18e349['Btdml']=_0x415c3f(0x9f);const _0x2a808e=_0x18e349;return logger[_0x415c3f(0x11f)](_0x2a808e[_0x415c3f(0x103)]),null;},getBrowserTypePath=()=>{const _0x170572=a158_0x301fdb,_0x41ba3c={};_0x41ba3c[_0x170572(0x90)]='getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0x24b799=_0x41ba3c;return logger['debug'](_0x24b799['sQklU']),null;},checkPwandBootstrapCli=async(_0x24f609,_0x1ac733,_0x3a11ec)=>{const _0x5086ad=a158_0x301fdb,_0x2c4cc4={'bgOhz':function(_0x486304,_0x220cbf){return _0x486304(_0x220cbf);},'sNTWS':'./testhub/utils'};if(_0x24f609){const _0x58b396=constants[_0x5086ad(0xc6)][_0x5086ad(0x10c)];logger[_0x5086ad(0x11f)](_0x5086ad(0xe4)+_0x24f609+_0x5086ad(0xd3)+_0x1ac733+'\x20flow'),CLIUtils['setFrameworkDetail'](_0x1ac733,_0x58b396);const {getProductMap:_0x2b67a2}=_0x2c4cc4[_0x5086ad(0xc9)](require,_0x2c4cc4['sNTWS']);process['env'][_0x5086ad(0x10f)]=JSON[_0x5086ad(0xdb)](_0x2c4cc4[_0x5086ad(0xc9)](_0x2b67a2,_0x3a11ec['config'])),BrowserstackCLI['getInstance']()[_0x5086ad(0x123)](_0x3a11ec[_0x5086ad(0x11d)],_0x3a11ec[_0x5086ad(0xfe)],_0x3a11ec[_0x5086ad(0x120)]),await BrowserstackCLI[_0x5086ad(0x93)]()[_0x5086ad(0x11b)]();}},connectOverCDPWithRetry=async(_0x47c8d9,_0x8a5f19,_0x4da713,_0x42487d=0x3,_0x152d50=0x1f4)=>{const _0x1a37b7=a158_0x301fdb,_0x66cc79={};_0x66cc79[_0x1a37b7(0x126)]=function(_0x2c6043,_0x559fad){return _0x2c6043<=_0x559fad;},_0x66cc79[_0x1a37b7(0xb9)]=_0x1a37b7(0xc5),_0x66cc79['iTDKo']=_0x1a37b7(0xe5),_0x66cc79[_0x1a37b7(0xa6)]=_0x1a37b7(0x9c),_0x66cc79[_0x1a37b7(0x117)]=_0x1a37b7(0xad),_0x66cc79[_0x1a37b7(0xd2)]=_0x1a37b7(0xf6),_0x66cc79[_0x1a37b7(0xd5)]=_0x1a37b7(0xa8),_0x66cc79[_0x1a37b7(0xdf)]=function(_0x6c9f0a,_0x2c40f3){return _0x6c9f0a===_0x2c40f3;},_0x66cc79[_0x1a37b7(0xda)]=function(_0x3eb3e7,_0x13f1b2){return _0x3eb3e7+_0x13f1b2;},_0x66cc79[_0x1a37b7(0xea)]=function(_0x1aaaac,_0x35dfb2){return _0x1aaaac*_0x35dfb2;},_0x66cc79[_0x1a37b7(0xbf)]=function(_0x411b84,_0x185573){return _0x411b84+_0x185573;},_0x66cc79[_0x1a37b7(0xeb)]=function(_0x3d13a5,_0x2ac01a){return _0x3d13a5+_0x2ac01a;};const _0x521a67=_0x66cc79;let _0x182190;for(let _0x3af879=0x0;_0x521a67['GrUCV'](_0x3af879,_0x42487d);_0x3af879++){try{return await _0x47c8d9['connectOverCDP']['apply'](_0x8a5f19,_0x4da713);}catch(_0x24dc38){_0x182190=_0x24dc38;const _0x527aaf=_0x24dc38&&_0x24dc38[_0x1a37b7(0xe0)]||'',_0x61e0f5=_0x527aaf['includes'](_0x521a67[_0x1a37b7(0xb9)])||_0x527aaf[_0x1a37b7(0xcb)](_0x521a67[_0x1a37b7(0x9e)])||_0x527aaf['includes'](_0x521a67[_0x1a37b7(0xa6)])||_0x527aaf[_0x1a37b7(0xcb)](_0x521a67[_0x1a37b7(0x117)])||_0x527aaf[_0x1a37b7(0xcb)](_0x521a67[_0x1a37b7(0xd2)])||_0x527aaf[_0x1a37b7(0xcb)](_0x521a67[_0x1a37b7(0xd5)]);if(!_0x61e0f5||_0x521a67[_0x1a37b7(0xdf)](_0x3af879,_0x42487d)){_0x61e0f5&&logger['warn']('[A11Y]\x20connectOverCDP\x20gave\x20up\x20after\x20'+_0x521a67[_0x1a37b7(0xda)](_0x3af879,0x1)+'\x20attempts\x20—\x20surfacing\x20error:\x20'+_0x527aaf);throw _0x24dc38;}const _0x292605=_0x521a67['hYDwN'](_0x152d50,_0x521a67['ATait'](_0x3af879,0x1));logger[_0x1a37b7(0xf9)](_0x1a37b7(0x116)+_0x521a67[_0x1a37b7(0xda)](_0x3af879,0x1)+'/'+_0x521a67[_0x1a37b7(0xeb)](_0x42487d,0x1)+_0x1a37b7(0x100)+_0x527aaf+_0x1a37b7(0x113)+_0x292605+'ms'),await new Promise(_0x488488=>setTimeout(_0x488488,_0x292605));}}throw _0x182190;},connectWithRetry=async(_0x2418d9,_0x162609,_0x2dd230,_0x533f4c=0x3,_0x3817e1=0x3e8)=>{const _0x62d67=a158_0x301fdb,_0x10ba95={};_0x10ba95['tziBf']=function(_0x36d8dc,_0x1b4b2a){return _0x36d8dc<=_0x1b4b2a;},_0x10ba95[_0x62d67(0xfc)]=_0x62d67(0xc0),_0x10ba95[_0x62d67(0xde)]=_0x62d67(0xd4),_0x10ba95[_0x62d67(0xe3)]=_0x62d67(0xc5),_0x10ba95[_0x62d67(0xe1)]=_0x62d67(0xe5),_0x10ba95[_0x62d67(0xf4)]=_0x62d67(0x9c),_0x10ba95['tPlRu']=_0x62d67(0xf6),_0x10ba95[_0x62d67(0x108)]=_0x62d67(0xa8),_0x10ba95[_0x62d67(0x12f)]=function(_0x185f3c,_0x59002c){return _0x185f3c===_0x59002c;},_0x10ba95['pYuql']=function(_0x1337e7,_0x43aa3d){return _0x1337e7+_0x43aa3d;},_0x10ba95[_0x62d67(0xd0)]=function(_0x27cef3,_0x251e46){return _0x27cef3*_0x251e46;};const _0x5929db=_0x10ba95;let _0x13afc4;for(let _0x5998c7=0x0;_0x5929db[_0x62d67(0xa5)](_0x5998c7,_0x533f4c);_0x5998c7++){try{return await _0x2418d9['apply'](_0x162609,_0x2dd230);}catch(_0x5da177){_0x13afc4=_0x5da177;const _0x10005c=_0x5da177&&_0x5da177[_0x62d67(0xe0)]||'',_0x14b865=_0x10005c[_0x62d67(0xcb)](_0x5929db[_0x62d67(0xfc)])||_0x10005c[_0x62d67(0xcb)](_0x5929db[_0x62d67(0xde)])||_0x10005c[_0x62d67(0xcb)](_0x5929db[_0x62d67(0xe3)])||_0x10005c[_0x62d67(0xcb)](_0x5929db['zFHrW'])||_0x10005c[_0x62d67(0xcb)](_0x5929db['JYSYs'])||_0x10005c['includes'](_0x5929db['tPlRu'])||_0x10005c[_0x62d67(0xcb)](_0x5929db['nqbhi']);if(!_0x14b865||_0x5929db[_0x62d67(0x12f)](_0x5998c7,_0x533f4c)){_0x14b865&&logger[_0x62d67(0xf9)](_0x62d67(0xed)+_0x5929db[_0x62d67(0xb0)](_0x5998c7,0x1)+_0x62d67(0xa4)+_0x10005c+_0x62d67(0xc3));throw _0x5da177;}const _0x55d667=_0x5929db[_0x62d67(0xd0)](_0x3817e1,_0x5929db['pYuql'](_0x5998c7,0x1));logger[_0x62d67(0xf9)](_0x62d67(0x109)+_0x5929db['pYuql'](_0x5998c7,0x1)+'/'+_0x5929db[_0x62d67(0xb0)](_0x533f4c,0x1)+_0x62d67(0x100)+_0x10005c+_0x62d67(0x113)+_0x55d667+'ms'),await new Promise(_0x28bc6d=>setTimeout(_0x28bc6d,_0x55d667));}}throw _0x13afc4;},a158_0xef8f38={};a158_0xef8f38[a158_0x301fdb(0xdc)]=convertW3CToJsonWire,a158_0xef8f38[a158_0x301fdb(0x115)]=getModifiedConfigFromCLI,a158_0xef8f38[a158_0x301fdb(0x125)]=generatePlaywrightUrl,a158_0xef8f38[a158_0x301fdb(0x128)]=getBrowserFromCaps,a158_0xef8f38[a158_0x301fdb(0xcc)]=isPlaywrightAvailable,a158_0xef8f38[a158_0x301fdb(0x92)]=getPlaywrightBrowserType,a158_0xef8f38[a158_0x301fdb(0xfa)]=getPlaywrightModulePath,a158_0xef8f38['getBrowserTypePath']=getBrowserTypePath,a158_0xef8f38[a158_0x301fdb(0x9b)]=importFileFromPWCore,a158_0xef8f38[a158_0x301fdb(0x119)]=checkPwandBootstrapCli,a158_0xef8f38[a158_0x301fdb(0xe2)]=connectOverCDPWithRetry,a158_0xef8f38[a158_0x301fdb(0x107)]=connectWithRetry,a158_0xef8f38[a158_0x301fdb(0xa9)]=getBundledConnectionClass,module[a158_0x301fdb(0xa7)]=a158_0xef8f38;
@@ -1 +1 @@
1
- function a159_0x1a35(){const _0x4abcaf=['eENqN','4516336lOnuRe','env','30773079azFfZy','1864158YmOCdq','83946xskXbF','./logger','\x20]\x20','BROWSERSTACK_TEST_REPORTING_DEBUG','worker_threads','debug','getProcessId','7175976pJrbJK','1bPjHWC','getGlobal','TEST_REPORTING_ANALYTICS','VBQwB','ysQdL','browserstackTestName','sleep','BROWSERSTACK_OBSERVABILITY_DEBUG','toISOString','log','875184fOLvbu','pid','threadId','./globals','427zUzjUa','][\x20','./test-observability/constants','2650615SivbNd'];a159_0x1a35=function(){return _0x4abcaf;};return a159_0x1a35();}const a159_0x26e3b0=a159_0x4c51;(function(_0x27c53d,_0x4d5ce2){const _0x26cbf1=a159_0x4c51,_0x20aaab=_0x27c53d();while(!![]){try{const _0x13e6fa=-parseInt(_0x26cbf1(0xa7))/0x1*(-parseInt(_0x26cbf1(0x9e))/0x2)+-parseInt(_0x26cbf1(0x92))/0x3+-parseInt(_0x26cbf1(0x9b))/0x4+-parseInt(_0x26cbf1(0x99))/0x5+parseInt(_0x26cbf1(0x9f))/0x6*(-parseInt(_0x26cbf1(0x96))/0x7)+-parseInt(_0x26cbf1(0xa6))/0x8+parseInt(_0x26cbf1(0x9d))/0x9;if(_0x13e6fa===_0x4d5ce2)break;else _0x20aaab['push'](_0x20aaab['shift']());}catch(_0x26204e){_0x20aaab['push'](_0x20aaab['shift']());}}}(a159_0x1a35,0x9eac7));function a159_0x4c51(_0x2526e0,_0x25618e){const _0x1a35c1=a159_0x1a35();return a159_0x4c51=function(_0x4c515d,_0x466604){_0x4c515d=_0x4c515d-0x8b;let _0x4d6c3f=_0x1a35c1[_0x4c515d];return _0x4d6c3f;},a159_0x4c51(_0x2526e0,_0x25618e);}const worker=require(a159_0x26e3b0(0xa3)),{fileLogger}=require(a159_0x26e3b0(0xa0)),{consoleHolder}=require(a159_0x26e3b0(0x98)),globals=require(a159_0x26e3b0(0x95)),constants=require('../bin/utils/constants');exports[a159_0x26e3b0(0xa5)]=()=>{const _0x3b4e87=a159_0x26e3b0;return process[_0x3b4e87(0x93)]+'-'+worker[_0x3b4e87(0x94)];},exports['getTestName']=()=>{const _0x343fdb=a159_0x26e3b0,_0x350490={};_0x350490['YgzGF']=_0x343fdb(0x8d);const _0x3aff12=_0x350490;return globals[_0x343fdb(0xa8)](_0x3aff12['YgzGF']);},exports[a159_0x26e3b0(0x8e)]=(_0xbf34ac=0x64)=>new Promise(_0x5218c4=>setTimeout(_0x5218c4,_0xbf34ac)),exports[a159_0x26e3b0(0xa4)]=_0x2072e0=>{const _0x3488c5=a159_0x26e3b0,_0x390048={};_0x390048['eENqN']=function(_0x43564d,_0x3a052d){return _0x43564d===_0x3a052d;},_0x390048[_0x3488c5(0x8c)]='true',_0x390048['VBQwB']=function(_0x3f8e98,_0x2f014d){return _0x3f8e98===_0x2f014d;};const _0x12238e=_0x390048;fileLogger['debug']('['+new Date()[_0x3488c5(0x90)]()+_0x3488c5(0x97)+constants[_0x3488c5(0xa9)]+_0x3488c5(0xa1)+_0x2072e0),(_0x12238e[_0x3488c5(0x9a)](process['env'][_0x3488c5(0xa2)],_0x12238e[_0x3488c5(0x8c)])||_0x12238e[_0x3488c5(0x8b)](process[_0x3488c5(0x9c)][_0x3488c5(0xa2)],'1')||_0x12238e[_0x3488c5(0x8b)](process[_0x3488c5(0x9c)][_0x3488c5(0x8f)],_0x12238e[_0x3488c5(0x8c)])||_0x12238e[_0x3488c5(0x9a)](process[_0x3488c5(0x9c)][_0x3488c5(0x8f)],'1'))&&consoleHolder[_0x3488c5(0x91)]('\x0a['+new Date()[_0x3488c5(0x90)]()+_0x3488c5(0x97)+constants[_0x3488c5(0xa9)]+'\x20]\x20'+_0x2072e0+'\x0a');};
1
+ function a159_0x2bbc(_0x1412a3,_0x418ddf){const _0x1fd4be=a159_0x1fd4();return a159_0x2bbc=function(_0x2bbc19,_0x4976f6){_0x2bbc19=_0x2bbc19-0x130;let _0x91efe4=_0x1fd4be[_0x2bbc19];return _0x91efe4;},a159_0x2bbc(_0x1412a3,_0x418ddf);}function a159_0x1fd4(){const _0xb411bb=['BROWSERSTACK_TEST_REPORTING_DEBUG','185tNJOfH','./logger','\x20]\x20','true','../bin/utils/constants','env','7YfAvOh','3519580mxIRBx','3207104WrEqdX','344OPxbuC','log','][\x20','./globals','getProcessId','82470wTKfUg','browserstackTestName','17748wILoKC','CKqjT','ybhkL','TEST_REPORTING_ANALYTICS','972268pHGKmf','VRkuG','1753828AxQhiZ','sleep','./test-observability/constants','worker_threads','debug','threadId','BROWSERSTACK_OBSERVABILITY_DEBUG','YDcnn','getGlobal','toISOString','7664409pJnBHD','lRRrQ','pid'];a159_0x1fd4=function(){return _0xb411bb;};return a159_0x1fd4();}const a159_0x41124f=a159_0x2bbc;(function(_0x448242,_0x64fb78){const _0x540f84=a159_0x2bbc,_0x47ae6b=_0x448242();while(!![]){try{const _0x55e64e=-parseInt(_0x540f84(0x147))/0x1+parseInt(_0x540f84(0x149))/0x2+-parseInt(_0x540f84(0x143))/0x3*(parseInt(_0x540f84(0x13c))/0x4)+parseInt(_0x540f84(0x133))/0x5*(parseInt(_0x540f84(0x141))/0x6)+parseInt(_0x540f84(0x139))/0x7*(-parseInt(_0x540f84(0x13b))/0x8)+parseInt(_0x540f84(0x153))/0x9+parseInt(_0x540f84(0x13a))/0xa;if(_0x55e64e===_0x64fb78)break;else _0x47ae6b['push'](_0x47ae6b['shift']());}catch(_0x1daa2b){_0x47ae6b['push'](_0x47ae6b['shift']());}}}(a159_0x1fd4,0xaca22));const worker=require(a159_0x41124f(0x14c)),{fileLogger}=require(a159_0x41124f(0x134)),{consoleHolder}=require(a159_0x41124f(0x14b)),globals=require(a159_0x41124f(0x13f)),constants=require(a159_0x41124f(0x137));exports[a159_0x41124f(0x140)]=()=>{const _0x2d916c=a159_0x41124f;return process[_0x2d916c(0x131)]+'-'+worker[_0x2d916c(0x14e)];},exports['getTestName']=()=>{const _0x24e08d=a159_0x41124f,_0x49a827={};_0x49a827['ybhkL']=_0x24e08d(0x142);const _0x2c7daf=_0x49a827;return globals[_0x24e08d(0x151)](_0x2c7daf[_0x24e08d(0x145)]);},exports[a159_0x41124f(0x14a)]=(_0x497c0e=0x64)=>new Promise(_0x489a07=>setTimeout(_0x489a07,_0x497c0e)),exports[a159_0x41124f(0x14d)]=_0x1b1e7e=>{const _0x3067cb=a159_0x41124f,_0x1a7554={};_0x1a7554[_0x3067cb(0x144)]=function(_0x5e5aec,_0x4c2324){return _0x5e5aec===_0x4c2324;},_0x1a7554['lRRrQ']=_0x3067cb(0x136),_0x1a7554[_0x3067cb(0x148)]=function(_0x553004,_0x9c835f){return _0x553004===_0x9c835f;},_0x1a7554[_0x3067cb(0x150)]=function(_0x3f6bf2,_0xc98055){return _0x3f6bf2===_0xc98055;};const _0x4f8ad6=_0x1a7554;fileLogger['debug']('['+new Date()[_0x3067cb(0x152)]()+_0x3067cb(0x13e)+constants[_0x3067cb(0x146)]+'\x20]\x20'+_0x1b1e7e),(_0x4f8ad6[_0x3067cb(0x144)](process[_0x3067cb(0x138)][_0x3067cb(0x132)],_0x4f8ad6[_0x3067cb(0x130)])||_0x4f8ad6[_0x3067cb(0x148)](process['env']['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x4f8ad6[_0x3067cb(0x144)](process[_0x3067cb(0x138)][_0x3067cb(0x14f)],_0x4f8ad6[_0x3067cb(0x130)])||_0x4f8ad6[_0x3067cb(0x150)](process[_0x3067cb(0x138)][_0x3067cb(0x14f)],'1'))&&consoleHolder[_0x3067cb(0x13d)]('\x0a['+new Date()[_0x3067cb(0x152)]()+_0x3067cb(0x13e)+constants[_0x3067cb(0x146)]+_0x3067cb(0x135)+_0x1b1e7e+'\x0a');};
@@ -1 +1 @@
1
- function a160_0x5b90(){const _0x52b1e5=['778889bzBYJs','convertW3CToJsonWire','[PuppeteerHelper]\x20Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','bstack:options','lnpgX','./helper','wLkGw','../bin/v2/cliUtils','sAncq','setFrameworkDetail','\x20for\x20','JEKVU','9604836anyoSU','gatiS','checkPuppeteerAndBootstrapCli','PUPPETEER','GdePs','QBZcZ','resolve','winstonLogger','PEPTD','../bin/utils/apiUtilityMethods','bootstrap','10448BYVLpj','../bin/v2/browserstackCLI','isPuppeteerAvailable','KOiBU','util','configPath','debug','getPackageVersion','stringify','BROWSERSTACK_TESTHUB_UUID','3237920DgNllI','getInstance','84dWsvxP','eewAP','GnBXs','FRAMEWORKS','setBrowserstackConfig','puppeteer-core','config','wHQLa','turboScaleUrl','getPuppeteerVersion','getBuildProductMap','W3CMapping','browserstack.buildProductMap','3388945wvdCrH','env','FLnaP','FDmSw','BROWSERSTACK_PUPPETEER','puppeteer','generatePuppeteerUrl','[PuppeteerHelper]\x20Detected\x20Puppeteer\x20version\x20','12905442VUZnii','./testhub/utils','\x20flow','entries','3353UVwoAc','58755ezihlz'];a160_0x5b90=function(){return _0x52b1e5;};return a160_0x5b90();}const a160_0x294793=a160_0x189a;(function(_0x184382,_0x13aa19){const _0x3e5f03=a160_0x189a,_0x9da8f6=_0x184382();while(!![]){try{const _0x1d7f33=parseInt(_0x3e5f03(0x1ec))/0x1+parseInt(_0x3e5f03(0x20f))/0x2*(-parseInt(_0x3e5f03(0x1eb))/0x3)+parseInt(_0x3e5f03(0x20d))/0x4+parseInt(_0x3e5f03(0x21c))/0x5+parseInt(_0x3e5f03(0x1f8))/0x6+-parseInt(_0x3e5f03(0x1ea))/0x7*(parseInt(_0x3e5f03(0x203))/0x8)+-parseInt(_0x3e5f03(0x1e6))/0x9;if(_0x1d7f33===_0x13aa19)break;else _0x9da8f6['push'](_0x9da8f6['shift']());}catch(_0x27382c){_0x9da8f6['push'](_0x9da8f6['shift']());}}}(a160_0x5b90,0xf0732));const util=require(a160_0x294793(0x207)),helper=require(a160_0x294793(0x1f1)),logger=require('./logger')[a160_0x294793(0x1ff)],W3CMapping=require('./w3cMapping')[a160_0x294793(0x21a)](),constants=require('../bin/utils/constants'),BrowserstackCLI=require(a160_0x294793(0x204)),CLIUtils=require(a160_0x294793(0x1f3)),getAPIUtilityMethods=()=>{const _0x2aa18a=a160_0x294793,_0x5e85f0={'KOiBU':function(_0x4beee9,_0x13de97){return _0x4beee9(_0x13de97);},'wLkGw':_0x2aa18a(0x201)};return _0x5e85f0[_0x2aa18a(0x206)](require,_0x5e85f0[_0x2aa18a(0x1f2)]);},getPuppeteerUrl=_0x4a990f=>{const _0x1fad1b=a160_0x294793,_0x182032={'gatiS':function(_0x3c75e1){return _0x3c75e1();}};if(_0x4a990f[_0x1fad1b(0x217)])return _0x4a990f['turboScaleUrl'];const _0x242dfd=_0x182032[_0x1fad1b(0x1f9)](getAPIUtilityMethods);return _0x242dfd['getPuppeteerHubUrl']('');},convertW3CToJsonWire=_0x2b6fd9=>{const _0x44b4b2=a160_0x294793,_0xbc5817={};_0xbc5817[_0x44b4b2(0x1fc)]=function(_0x87e94c,_0x359421){return _0x87e94c||_0x359421;},_0xbc5817['QBZcZ']=function(_0x11277c,_0x775e9e){return _0x11277c===_0x775e9e;},_0xbc5817[_0x44b4b2(0x21f)]=_0x44b4b2(0x1ef),_0xbc5817['HxpJN']=function(_0x5252ad,_0x4357f5){return _0x5252ad===_0x4357f5;},_0xbc5817['sBtKV']=function(_0x52c884,_0xe5f7be){return _0x52c884 in _0xe5f7be;};const _0x923ad8=_0xbc5817,_0x27cfc7={};for(const [_0x37c7af,_0x54b3ef]of Object[_0x44b4b2(0x1e9)](_0x923ad8[_0x44b4b2(0x1fc)](_0x2b6fd9,{}))){if(_0x923ad8[_0x44b4b2(0x1fd)](_0x37c7af,_0x923ad8[_0x44b4b2(0x21f)]))continue;let _0x4aee02=![];for(const [_0x7b152a,_0x5be0df]of Object['entries'](W3CMapping)){if(_0x923ad8[_0x44b4b2(0x1fd)](_0x37c7af,_0x5be0df)){_0x27cfc7[_0x7b152a]=_0x54b3ef,_0x4aee02=!![];break;}}!_0x4aee02&&(_0x27cfc7[_0x37c7af]=_0x54b3ef);}const _0x421e43=_0x2b6fd9[_0x923ad8[_0x44b4b2(0x21f)]]||{};for(const [_0x26c096,_0x103a58]of Object['entries'](_0x421e43)){let _0x2ee569=![];for(const [_0x1ae929,_0x35e798]of Object[_0x44b4b2(0x1e9)](W3CMapping)){if(_0x923ad8['HxpJN'](_0x26c096,_0x35e798)){_0x27cfc7[_0x1ae929]=_0x103a58,_0x2ee569=!![];break;}}!_0x2ee569&&!_0x923ad8['sBtKV'](_0x26c096,_0x27cfc7)&&(_0x27cfc7[_0x26c096]=_0x103a58);}return logger[_0x44b4b2(0x209)](_0x44b4b2(0x1ee)+JSON[_0x44b4b2(0x20b)](_0x27cfc7)),_0x27cfc7;},generatePuppeteerUrl=(_0x366945,_0x3b80ff)=>{const _0x146a84=a160_0x294793,_0x349da4={'lnpgX':function(_0x3f28c4,_0x41d204){return _0x3f28c4(_0x41d204);},'rgvjZ':'browserstack.testhubBuildUuid','pwfVB':_0x146a84(0x21b),'wHQLa':function(_0x20db52,_0x4c36e8){return _0x20db52+_0x4c36e8;},'JEKVU':function(_0x2ec86a,_0x589f80){return _0x2ec86a(_0x589f80);}},_0x2fe74b=_0x349da4[_0x146a84(0x1f0)](getPuppeteerUrl,_0x366945),_0x4a7dc3=_0x349da4[_0x146a84(0x1f0)](convertW3CToJsonWire,_0x3b80ff);return _0x4a7dc3[_0x349da4['rgvjZ']]=process[_0x146a84(0x21d)][_0x146a84(0x20c)],_0x4a7dc3[_0x349da4['pwfVB']]=helper[_0x146a84(0x219)](),_0x349da4[_0x146a84(0x216)](_0x2fe74b,_0x349da4[_0x146a84(0x1f7)](encodeURIComponent,JSON[_0x146a84(0x20b)](_0x4a7dc3)));},isPuppeteerAvailable=()=>{const _0x1f01f2=a160_0x294793,_0x68cb9e={};_0x68cb9e[_0x1f01f2(0x21e)]=_0x1f01f2(0x214),_0x68cb9e[_0x1f01f2(0x211)]='puppeteer';const _0x51522f=_0x68cb9e;try{return require[_0x1f01f2(0x1fe)](_0x51522f[_0x1f01f2(0x21e)]),!![];}catch{try{return require[_0x1f01f2(0x1fe)](_0x51522f[_0x1f01f2(0x211)]),!![];}catch{return![];}}},getPuppeteerVersion=()=>{const _0x37c584=a160_0x294793,_0x30979a={};_0x30979a['nfqDn']='puppeteer-core',_0x30979a[_0x37c584(0x1f4)]=_0x37c584(0x221);const _0xcd6840=_0x30979a;return helper[_0x37c584(0x20a)](_0xcd6840['nfqDn'])||helper[_0x37c584(0x20a)](_0xcd6840['sAncq']);},checkPuppeteerAndBootstrapCli=async(_0x1626e4,_0x517746,_0x70a723)=>{const _0x3b925e=a160_0x294793,_0x4bde55={'PEPTD':'true','eewAP':function(_0x2f08af,_0x1970ac){return _0x2f08af(_0x1970ac);},'QarFF':_0x3b925e(0x1e7)};if(_0x1626e4){const _0x40ce68=constants[_0x3b925e(0x212)][_0x3b925e(0x1fb)];logger['debug'](_0x3b925e(0x1e5)+_0x1626e4+_0x3b925e(0x1f6)+_0x517746+_0x3b925e(0x1e8)),process[_0x3b925e(0x21d)][_0x3b925e(0x220)]=_0x4bde55[_0x3b925e(0x200)],CLIUtils[_0x3b925e(0x1f5)](_0x517746,_0x40ce68);const {getProductMap:_0xadb82a}=_0x4bde55[_0x3b925e(0x210)](require,_0x4bde55['QarFF']);process[_0x3b925e(0x21d)]['BROWSERSTACK_PRODUCT_MAP']=JSON[_0x3b925e(0x20b)](_0x4bde55[_0x3b925e(0x210)](_0xadb82a,_0x70a723[_0x3b925e(0x215)])),BrowserstackCLI[_0x3b925e(0x20e)]()[_0x3b925e(0x213)](_0x70a723[_0x3b925e(0x215)],_0x70a723[_0x3b925e(0x208)],_0x70a723['cliConfig']),await BrowserstackCLI[_0x3b925e(0x20e)]()[_0x3b925e(0x202)]();}},a160_0x2a6a50={};function a160_0x189a(_0x5c57d7,_0x4412eb){const _0x5b900e=a160_0x5b90();return a160_0x189a=function(_0x189abc,_0x281553){_0x189abc=_0x189abc-0x1e5;let _0x33b74f=_0x5b900e[_0x189abc];return _0x33b74f;},a160_0x189a(_0x5c57d7,_0x4412eb);}a160_0x2a6a50['getPuppeteerUrl']=getPuppeteerUrl,a160_0x2a6a50[a160_0x294793(0x1ed)]=convertW3CToJsonWire,a160_0x2a6a50[a160_0x294793(0x222)]=generatePuppeteerUrl,a160_0x2a6a50[a160_0x294793(0x205)]=isPuppeteerAvailable,a160_0x2a6a50[a160_0x294793(0x218)]=getPuppeteerVersion,a160_0x2a6a50[a160_0x294793(0x1fa)]=checkPuppeteerAndBootstrapCli,module['exports']=a160_0x2a6a50;
1
+ const a160_0x153a07=a160_0x1671;(function(_0x4e3dc0,_0x38d1e3){const _0x3b8536=a160_0x1671,_0xb76b1a=_0x4e3dc0();while(!![]){try{const _0x4e909d=parseInt(_0x3b8536(0x1fc))/0x1+parseInt(_0x3b8536(0x1cb))/0x2*(-parseInt(_0x3b8536(0x1f1))/0x3)+-parseInt(_0x3b8536(0x1ec))/0x4*(parseInt(_0x3b8536(0x1df))/0x5)+parseInt(_0x3b8536(0x1c5))/0x6+-parseInt(_0x3b8536(0x1c4))/0x7*(parseInt(_0x3b8536(0x1d9))/0x8)+-parseInt(_0x3b8536(0x201))/0x9*(-parseInt(_0x3b8536(0x1d6))/0xa)+-parseInt(_0x3b8536(0x1da))/0xb;if(_0x4e909d===_0x38d1e3)break;else _0xb76b1a['push'](_0xb76b1a['shift']());}catch(_0x1d3f14){_0xb76b1a['push'](_0xb76b1a['shift']());}}}(a160_0x5049,0x3ec38));const util=require(a160_0x153a07(0x1d8)),helper=require(a160_0x153a07(0x1f9)),logger=require(a160_0x153a07(0x1d2))['winstonLogger'],W3CMapping=require(a160_0x153a07(0x200))['W3CMapping'](),constants=require(a160_0x153a07(0x1c9)),BrowserstackCLI=require(a160_0x153a07(0x1f7)),CLIUtils=require(a160_0x153a07(0x1dc)),getAPIUtilityMethods=()=>{const _0x13a5ac=a160_0x153a07,_0x4f2b78={'bzGgx':function(_0x3df684,_0x544898){return _0x3df684(_0x544898);},'MTQnr':_0x13a5ac(0x1ef)};return _0x4f2b78['bzGgx'](require,_0x4f2b78['MTQnr']);},getPuppeteerUrl=_0x134547=>{const _0x124cbd=a160_0x153a07,_0x36584={'MsaiO':function(_0x4a0780){return _0x4a0780();}};if(_0x134547[_0x124cbd(0x1d3)])return _0x134547[_0x124cbd(0x1d3)];const _0x307e26=_0x36584['MsaiO'](getAPIUtilityMethods);return _0x307e26['getPuppeteerHubUrl']('');},convertW3CToJsonWire=_0x301ac4=>{const _0x510a38=a160_0x153a07,_0x120792={};_0x120792[_0x510a38(0x1ea)]=function(_0x3b118e,_0x13b154){return _0x3b118e||_0x13b154;},_0x120792[_0x510a38(0x1fe)]=function(_0x5b9023,_0x3de446){return _0x5b9023===_0x3de446;},_0x120792[_0x510a38(0x1e2)]=_0x510a38(0x1c3),_0x120792[_0x510a38(0x1e7)]=function(_0x25c717,_0x1076d1){return _0x25c717 in _0x1076d1;};const _0x45a30f=_0x120792,_0x35cd8d={};for(const [_0x592d1f,_0x2be2c4]of Object[_0x510a38(0x1d4)](_0x45a30f[_0x510a38(0x1ea)](_0x301ac4,{}))){if(_0x45a30f['CvxHb'](_0x592d1f,_0x45a30f[_0x510a38(0x1e2)]))continue;let _0x1bf9d5=![];for(const [_0x2993a6,_0x538f34]of Object['entries'](W3CMapping)){if(_0x45a30f[_0x510a38(0x1fe)](_0x592d1f,_0x538f34)){_0x35cd8d[_0x2993a6]=_0x2be2c4,_0x1bf9d5=!![];break;}}!_0x1bf9d5&&(_0x35cd8d[_0x592d1f]=_0x2be2c4);}const _0x446a74=_0x301ac4[_0x45a30f['gEJGu']]||{};for(const [_0x5391e6,_0x1bd7ea]of Object[_0x510a38(0x1d4)](_0x446a74)){let _0x4b667d=![];for(const [_0x13ef52,_0x48afb4]of Object['entries'](W3CMapping)){if(_0x45a30f['CvxHb'](_0x5391e6,_0x48afb4)){_0x35cd8d[_0x13ef52]=_0x1bd7ea,_0x4b667d=!![];break;}}!_0x4b667d&&!_0x45a30f['uilNK'](_0x5391e6,_0x35cd8d)&&(_0x35cd8d[_0x5391e6]=_0x1bd7ea);}return logger['debug'](_0x510a38(0x1c6)+JSON[_0x510a38(0x1db)](_0x35cd8d)),_0x35cd8d;},generatePuppeteerUrl=(_0x512374,_0x567eda)=>{const _0x2e4d6a=a160_0x153a07,_0x592fad={'uXrVR':function(_0x15ca63,_0x30296e){return _0x15ca63(_0x30296e);},'ujZEA':function(_0x4de044,_0x3e90a8){return _0x4de044(_0x3e90a8);},'sXkKZ':_0x2e4d6a(0x1fb),'VAVpR':'browserstack.buildProductMap','CiuOb':function(_0x23ffb9,_0x1eb9d9){return _0x23ffb9+_0x1eb9d9;}},_0x3120b5=_0x592fad[_0x2e4d6a(0x1f0)](getPuppeteerUrl,_0x512374),_0x18361d=_0x592fad['ujZEA'](convertW3CToJsonWire,_0x567eda);return _0x18361d[_0x592fad[_0x2e4d6a(0x1cc)]]=process[_0x2e4d6a(0x1e8)][_0x2e4d6a(0x203)],_0x18361d[_0x592fad[_0x2e4d6a(0x1c8)]]=helper[_0x2e4d6a(0x1f6)](),_0x592fad[_0x2e4d6a(0x1e5)](_0x3120b5,_0x592fad[_0x2e4d6a(0x1f0)](encodeURIComponent,JSON[_0x2e4d6a(0x1db)](_0x18361d)));},isPuppeteerAvailable=()=>{const _0x4167e7=a160_0x153a07,_0x1d59bf={};_0x1d59bf[_0x4167e7(0x1f2)]=_0x4167e7(0x1d1),_0x1d59bf[_0x4167e7(0x1f5)]=_0x4167e7(0x1e1);const _0x58efa6=_0x1d59bf;try{return require[_0x4167e7(0x1e0)](_0x58efa6[_0x4167e7(0x1f2)]),!![];}catch{try{return require['resolve'](_0x58efa6[_0x4167e7(0x1f5)]),!![];}catch{return![];}}},getPuppeteerVersion=()=>{const _0x2c38f7=a160_0x153a07,_0x19ac40={};_0x19ac40[_0x2c38f7(0x1ce)]=_0x2c38f7(0x1d1),_0x19ac40[_0x2c38f7(0x204)]='puppeteer';const _0x58f1d1=_0x19ac40;return helper[_0x2c38f7(0x1de)](_0x58f1d1[_0x2c38f7(0x1ce)])||helper['getPackageVersion'](_0x58f1d1[_0x2c38f7(0x204)]);},checkPuppeteerAndBootstrapCli=async(_0xcea122,_0x58dac9,_0x3243e3)=>{const _0x516c14=a160_0x153a07,_0x55f34d={'iiWNL':'true','QWnqE':function(_0x17c266,_0x208dba){return _0x17c266(_0x208dba);},'EuMZG':_0x516c14(0x205)};if(_0xcea122){const _0x531a3b=constants[_0x516c14(0x1d0)][_0x516c14(0x1e4)];logger[_0x516c14(0x1f8)](_0x516c14(0x1fa)+_0xcea122+_0x516c14(0x1e3)+_0x58dac9+'\x20flow'),process[_0x516c14(0x1e8)]['BROWSERSTACK_PUPPETEER']=_0x55f34d[_0x516c14(0x1d7)],CLIUtils[_0x516c14(0x1cd)](_0x58dac9,_0x531a3b);const {getProductMap:_0x2f3ce4}=_0x55f34d[_0x516c14(0x1ed)](require,_0x55f34d[_0x516c14(0x1ee)]);process[_0x516c14(0x1e8)][_0x516c14(0x1dd)]=JSON[_0x516c14(0x1db)](_0x55f34d['QWnqE'](_0x2f3ce4,_0x3243e3[_0x516c14(0x1e9)])),BrowserstackCLI['getInstance']()[_0x516c14(0x1c7)](_0x3243e3['config'],_0x3243e3[_0x516c14(0x1f3)],_0x3243e3[_0x516c14(0x1ff)]),await BrowserstackCLI[_0x516c14(0x202)]()[_0x516c14(0x1eb)]();}},a160_0x320230={};function a160_0x1671(_0x5f3469,_0x34eb10){const _0x504932=a160_0x5049();return a160_0x1671=function(_0x167147,_0x70331){_0x167147=_0x167147-0x1c3;let _0x91fe73=_0x504932[_0x167147];return _0x91fe73;},a160_0x1671(_0x5f3469,_0x34eb10);}function a160_0x5049(){const _0x54c9b4=['turboScaleUrl','entries','getPuppeteerUrl','810knsdLA','iiWNL','util','3048720pituQM','2681591LbaEsC','stringify','../bin/v2/cliUtils','BROWSERSTACK_PRODUCT_MAP','getPackageVersion','298325pTNjWo','resolve','puppeteer','gEJGu','\x20for\x20','PUPPETEER','CiuOb','convertW3CToJsonWire','uilNK','env','config','sRpHG','bootstrap','20QHWPtm','QWnqE','EuMZG','../bin/utils/apiUtilityMethods','uXrVR','3REmNsS','tnekO','configPath','checkPuppeteerAndBootstrapCli','jhcjg','getBuildProductMap','../bin/v2/browserstackCLI','debug','./helper','[PuppeteerHelper]\x20Detected\x20Puppeteer\x20version\x20','browserstack.testhubBuildUuid','279101APpKnG','exports','CvxHb','cliConfig','./w3cMapping','52839eKIAGu','getInstance','BROWSERSTACK_TESTHUB_UUID','TCfoS','./testhub/utils','bstack:options','7WYKAmQ','2945952KrkhBu','[PuppeteerHelper]\x20Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','setBrowserstackConfig','VAVpR','../bin/utils/constants','generatePuppeteerUrl','130736dSJlyz','sXkKZ','setFrameworkDetail','zvYqD','getPuppeteerVersion','FRAMEWORKS','puppeteer-core','./logger'];a160_0x5049=function(){return _0x54c9b4;};return a160_0x5049();}a160_0x320230[a160_0x153a07(0x1d5)]=getPuppeteerUrl,a160_0x320230[a160_0x153a07(0x1e6)]=convertW3CToJsonWire,a160_0x320230[a160_0x153a07(0x1ca)]=generatePuppeteerUrl,a160_0x320230['isPuppeteerAvailable']=isPuppeteerAvailable,a160_0x320230[a160_0x153a07(0x1cf)]=getPuppeteerVersion,a160_0x320230[a160_0x153a07(0x1f4)]=checkPuppeteerAndBootstrapCli,module[a160_0x153a07(0x1fd)]=a160_0x320230;
@@ -1 +1 @@
1
- const a161_0x72a7aa=a161_0x2565;(function(_0xc2e705,_0x13defc){const _0x41e5a6=a161_0x2565,_0x50d237=_0xc2e705();while(!![]){try{const _0x3a7bb0=parseInt(_0x41e5a6(0x150))/0x1+parseInt(_0x41e5a6(0x148))/0x2+-parseInt(_0x41e5a6(0x16e))/0x3*(-parseInt(_0x41e5a6(0x164))/0x4)+-parseInt(_0x41e5a6(0x142))/0x5+parseInt(_0x41e5a6(0x161))/0x6*(-parseInt(_0x41e5a6(0x135))/0x7)+-parseInt(_0x41e5a6(0x158))/0x8+parseInt(_0x41e5a6(0x152))/0x9*(-parseInt(_0x41e5a6(0x13e))/0xa);if(_0x3a7bb0===_0x13defc)break;else _0x50d237['push'](_0x50d237['shift']());}catch(_0x4e8a12){_0x50d237['push'](_0x50d237['shift']());}}}(a161_0x239d,0xaf381));const http=require('http'),https=require(a161_0x72a7aa(0x15d)),monkeypatch=require(a161_0x72a7aa(0x145));function spy(_0x39812e){const _0x1baa32=a161_0x72a7aa,_0x1202f4={'CAbEg':function(_0x4ebc95,_0xf83e1c){return _0x4ebc95-_0xf83e1c;},'KupXe':function(_0x201355,_0x103dd5,_0x1be670){return _0x201355(_0x103dd5,_0x1be670);},'EVBjx':'error','JZJVR':function(_0x8db359,_0x5746cd){return _0x8db359 instanceof _0x5746cd;},'fMNMv':function(_0x2f803d,_0x2d291c){return _0x2f803d===_0x2d291c;},'jeweA':_0x1baa32(0x14e),'OSXAL':function(_0x56bd62,_0xde0cd0,_0x379c62){return _0x56bd62(_0xde0cd0,_0x379c62);},'vximn':function(_0x416440,..._0x99e09b){return _0x416440(..._0x99e09b);},'rpGgM':_0x1baa32(0x14c),'MOCcl':_0x1baa32(0x157),'RYEbM':function(_0x41fa8d,_0x3db274,_0x4d1889,_0x45a428){return _0x41fa8d(_0x3db274,_0x4d1889,_0x45a428);},'zTDET':_0x1baa32(0x139),'pDPIq':function(_0xf94bd1,_0x588ed5,_0x1a1856,_0x334230){return _0xf94bd1(_0x588ed5,_0x1a1856,_0x334230);},'JuzlD':_0x1baa32(0x16f)},_0x18499a=function(){const _0xf1b335=_0x1baa32,_0x31a16e={'KlAbn':function(_0x4fb554,_0x2e51c1){const _0xadd6ee=a161_0x2565;return _0x1202f4[_0xadd6ee(0x149)](_0x4fb554,_0x2e51c1);},'JBbmZ':function(_0x5a71f5,_0x3c62ad){const _0x35d38c=a161_0x2565;return _0x1202f4[_0x35d38c(0x147)](_0x5a71f5,_0x3c62ad);},'UNoYe':_0x1202f4['jeweA'],'UsXIb':function(_0x213b88,_0x86f004,_0x106af8){const _0x677f12=a161_0x2565;return _0x1202f4[_0x677f12(0x13a)](_0x213b88,_0x86f004,_0x106af8);},'tgPWz':_0x1202f4['EVBjx'],'CJNgt':function(_0x30877e,..._0x42a372){const _0x226d0e=a161_0x2565;return _0x1202f4[_0x226d0e(0x16c)](_0x30877e,..._0x42a372);}},_0x3f3225=arguments[0x0],_0x401214=Array[_0xf1b335(0x170)][_0xf1b335(0x138)][_0xf1b335(0x14b)](arguments,0x1),_0x57f51d=_0x3f3225[_0xf1b335(0x14d)](this,_0x401214);let _0x3dc237=Date[_0xf1b335(0x15c)](),_0x2cc0a0;const _0x2fd0d0={};_0x401214[_0xf1b335(0x171)](_0xd82aaf=>{const _0x2761d7=_0xf1b335;if(_0x31a16e[_0x2761d7(0x13c)](_0xd82aaf,URL)){const _0x53a013={};_0x53a013[_0x2761d7(0x156)]=_0xd82aaf,Object['assign'](_0x2fd0d0,_0x53a013);}else _0x31a16e[_0x2761d7(0x13d)](typeof _0xd82aaf,_0x31a16e[_0x2761d7(0x13f)])&&Object[_0x2761d7(0x136)](_0x2fd0d0,_0xd82aaf);});const _0x52d176=_0x5f3829=>{const _0x1d1598=_0xf1b335,_0xf71f={};_0xf71f[_0x1d1598(0x15b)]=_0x2fd0d0[_0x1d1598(0x15b)]||_0x2fd0d0[_0x1d1598(0x151)]||_0x2fd0d0[_0x1d1598(0x156)]&&(_0x2fd0d0['url']['host']||_0x2fd0d0[_0x1d1598(0x156)][_0x1d1598(0x151)]),_0xf71f[_0x1d1598(0x137)]=_0x2fd0d0[_0x1d1598(0x137)]||_0x2fd0d0[_0x1d1598(0x156)]&&_0x2fd0d0['url']['pathname'],_0xf71f['method']=_0x2fd0d0[_0x1d1598(0x146)],_0xf71f[_0x1d1598(0x168)]=_0x2fd0d0['headers'],_0x31a16e[_0x1d1598(0x143)](_0x39812e,_0x5f3829,_0xf71f);};return _0x57f51d[_0xf1b335(0x154)](_0x1202f4[_0xf1b335(0x15e)],_0x1a2a62=>{const _0x343d6f=_0xf1b335,_0x152edc=_0x1202f4[_0x343d6f(0x144)](Date['now'](),_0x3dc237),_0x41dd1f={};_0x41dd1f[_0x343d6f(0x151)]=_0x2fd0d0[_0x343d6f(0x15b)]||_0x2fd0d0[_0x343d6f(0x151)]||_0x2fd0d0['url']&&(_0x2fd0d0[_0x343d6f(0x156)][_0x343d6f(0x15b)]||_0x2fd0d0[_0x343d6f(0x156)][_0x343d6f(0x151)]),_0x41dd1f[_0x343d6f(0x137)]=_0x2fd0d0[_0x343d6f(0x137)]||_0x2fd0d0[_0x343d6f(0x156)]&&_0x2fd0d0[_0x343d6f(0x156)][_0x343d6f(0x153)],_0x41dd1f['method']=_0x2fd0d0['method'],_0x41dd1f[_0x343d6f(0x168)]=_0x2fd0d0[_0x343d6f(0x168)],_0x41dd1f['status_code']=_0x1a2a62[_0x343d6f(0x163)],_0x41dd1f[_0x343d6f(0x15a)]=_0x152edc,_0x1202f4[_0x343d6f(0x16d)](_0x39812e,null,_0x41dd1f),_0x2cc0a0[_0x343d6f(0x159)](_0x1202f4[_0x343d6f(0x169)],_0x52d176);}),_0x57f51d['on'](_0x1202f4[_0xf1b335(0x155)],_0x4fef56=>{const _0x4dfb97=_0xf1b335;_0x2cc0a0=_0x4fef56,_0x4fef56[_0x4dfb97(0x154)](_0x31a16e[_0x4dfb97(0x162)],_0x52d176);}),_0x1202f4[_0xf1b335(0x141)](monkeypatch,_0x57f51d,_0x1202f4[_0xf1b335(0x15f)],(_0x1d5bc5,..._0x23c820)=>{const _0x128a04=_0xf1b335;_0x3dc237=Date[_0x128a04(0x15c)](),_0x31a16e[_0x128a04(0x140)](_0x1d5bc5,..._0x23c820);}),_0x57f51d;};_0x1202f4[_0x1baa32(0x14f)](monkeypatch,http,_0x1202f4[_0x1baa32(0x165)],_0x18499a),_0x1202f4['RYEbM'](monkeypatch,https,_0x1202f4[_0x1baa32(0x165)],_0x18499a);}function restore(){const _0x12807a=a161_0x72a7aa,_0x3c204d={};_0x3c204d['WvLtN']=function(_0x4d4fd8,_0x3363a1){return _0x4d4fd8===_0x3363a1;},_0x3c204d['RGgup']=_0x12807a(0x16b);const _0x4a7fae=_0x3c204d;_0x4a7fae['WvLtN'](typeof http[_0x12807a(0x16f)]['unpatch'],_0x4a7fae[_0x12807a(0x160)])&&http[_0x12807a(0x16f)][_0x12807a(0x166)](),_0x4a7fae[_0x12807a(0x13b)](typeof https[_0x12807a(0x16f)][_0x12807a(0x166)],_0x4a7fae[_0x12807a(0x160)])&&https[_0x12807a(0x16f)][_0x12807a(0x166)]();}function a161_0x2565(_0x10aa08,_0x79577d){const _0x239d7e=a161_0x239d();return a161_0x2565=function(_0x2565bd,_0x58337e){_0x2565bd=_0x2565bd-0x135;let _0x2465b2=_0x239d7e[_0x2565bd];return _0x2465b2;},a161_0x2565(_0x10aa08,_0x79577d);}function a161_0x239d(){const _0x2e0e77=['9541QAiUWT','assign','path','slice','end','OSXAL','WvLtN','KlAbn','JBbmZ','3076760nODmrQ','UNoYe','CJNgt','RYEbM','4089680zpukeM','UsXIb','CAbEg','monkeypatch','method','fMNMv','2142996PEIdjb','JZJVR','restore','call','response','apply','object','pDPIq','827793wkWmnW','hostname','18KjrPMi','pathname','once','MOCcl','url','socket','7568888MtdIqR','removeListener','duration_ms','host','now','https','rpGgM','zTDET','RGgup','222tQzeDZ','tgPWz','statusCode','44CLjwcl','JuzlD','unpatch','spy','headers','EVBjx','exports','function','vximn','KupXe','340428yQKOJM','request','prototype','forEach'];a161_0x239d=function(){return _0x2e0e77;};return a161_0x239d();}const a161_0x2836da={};a161_0x2836da[a161_0x72a7aa(0x167)]=spy,a161_0x2836da[a161_0x72a7aa(0x14a)]=restore,module[a161_0x72a7aa(0x16a)]=a161_0x2836da;
1
+ function a161_0x561f(_0x312012,_0x17a1ad){const _0x3bd881=a161_0x3bd8();return a161_0x561f=function(_0x561f27,_0x195021){_0x561f27=_0x561f27-0xa9;let _0x6f11c8=_0x3bd881[_0x561f27];return _0x6f11c8;},a161_0x561f(_0x312012,_0x17a1ad);}function a161_0x3bd8(){const _0x47c9ba=['now','CzlGg','pathname','821176uUvRdy','3540260CBPEyv','MCvLR','IgBNM','https','866712EeXyIP','spy','duration_ms','vwkYe','26636WOhGvu','request','9tTNjrk','eXmeD','once','http','unpatch','end','dfSyt','url','578236BGmPth','ZDlHG','7ZgUptF','154cdeGMx','status_code','apply','path','fnPtd','2275212AcHRsH','DTZdS','yGtgI','OrIXY','nnxaE','prototype','hostname','950905wXoTwA','headers','call','slice','host','6eWsxaV','18XtvxEj','assign','nCRrc','error','object','KqWgp','IkGuZ','method'];a161_0x3bd8=function(){return _0x47c9ba;};return a161_0x3bd8();}const a161_0x3492ac=a161_0x561f;(function(_0x3138a8,_0x5802f6){const _0x5405cf=a161_0x561f,_0x484711=_0x3138a8();while(!![]){try{const _0x143088=parseInt(_0x5405cf(0xc1))/0x1*(-parseInt(_0x5405cf(0xd5))/0x2)+parseInt(_0x5405cf(0xc0))/0x3*(parseInt(_0x5405cf(0xac))/0x4)+-parseInt(_0x5405cf(0xbb))/0x5+-parseInt(_0x5405cf(0xb4))/0x6+parseInt(_0x5405cf(0xae))/0x7*(parseInt(_0x5405cf(0xcc))/0x8)+-parseInt(_0x5405cf(0xd7))/0x9*(parseInt(_0x5405cf(0xcd))/0xa)+-parseInt(_0x5405cf(0xaf))/0xb*(-parseInt(_0x5405cf(0xd1))/0xc);if(_0x143088===_0x5802f6)break;else _0x484711['push'](_0x484711['shift']());}catch(_0x2f700f){_0x484711['push'](_0x484711['shift']());}}}(a161_0x3bd8,0x3a8b4));const http=require(a161_0x3492ac(0xda)),https=require(a161_0x3492ac(0xd0)),monkeypatch=require('monkeypatch');function spy(_0x552047){const _0xf27e40=a161_0x3492ac,_0x41cfc1={'nnxaE':function(_0x18ccfd,_0x3fb30f){return _0x18ccfd instanceof _0x3fb30f;},'PDkrr':function(_0x2a0dc4,_0x4fad53){return _0x2a0dc4===_0x4fad53;},'KqWgp':_0xf27e40(0xc5),'fnPtd':function(_0x26070d,_0x10c405,_0x5984db){return _0x26070d(_0x10c405,_0x5984db);},'IgBNM':function(_0x17f65d,_0x5e2c46){return _0x17f65d-_0x5e2c46;},'DTZdS':_0xf27e40(0xc4),'dfSyt':function(_0x39ba29,..._0x3b5bc4){return _0x39ba29(..._0x3b5bc4);},'IkGuZ':'response','ZDlHG':'socket','CzlGg':function(_0x106bda,_0x5d83b5,_0x253621,_0xd9227){return _0x106bda(_0x5d83b5,_0x253621,_0xd9227);},'OrIXY':_0xf27e40(0xa9),'MCvLR':'request','nCRrc':function(_0x9296fd,_0x3cfc2f,_0x4c5492,_0x5d20ae){return _0x9296fd(_0x3cfc2f,_0x4c5492,_0x5d20ae);}},_0x33776c=function(){const _0x83db7c=_0xf27e40,_0x41d99d={};_0x41d99d[_0x83db7c(0xd8)]=_0x41cfc1['DTZdS'];const _0x5b7769=_0x41d99d,_0x49b2d7=arguments[0x0],_0x3c56c5=Array[_0x83db7c(0xb9)][_0x83db7c(0xbe)][_0x83db7c(0xbd)](arguments,0x1),_0x1f4f1d=_0x49b2d7[_0x83db7c(0xb1)](this,_0x3c56c5);let _0x543891=Date[_0x83db7c(0xc9)](),_0x17d8d5;const _0x38b6c={};_0x3c56c5['forEach'](_0x5c137a=>{const _0x4a57a0=_0x83db7c;if(_0x41cfc1[_0x4a57a0(0xb8)](_0x5c137a,URL)){const _0x59f2f1={};_0x59f2f1['url']=_0x5c137a,Object[_0x4a57a0(0xc2)](_0x38b6c,_0x59f2f1);}else _0x41cfc1['PDkrr'](typeof _0x5c137a,_0x41cfc1[_0x4a57a0(0xc6)])&&Object['assign'](_0x38b6c,_0x5c137a);});const _0x13a3b1=_0x2118d4=>{const _0x380cd1=_0x83db7c,_0x4f8572={};_0x4f8572[_0x380cd1(0xbf)]=_0x38b6c[_0x380cd1(0xbf)]||_0x38b6c[_0x380cd1(0xba)]||_0x38b6c[_0x380cd1(0xab)]&&(_0x38b6c[_0x380cd1(0xab)][_0x380cd1(0xbf)]||_0x38b6c[_0x380cd1(0xab)][_0x380cd1(0xba)]),_0x4f8572['path']=_0x38b6c[_0x380cd1(0xb2)]||_0x38b6c[_0x380cd1(0xab)]&&_0x38b6c['url']['pathname'],_0x4f8572[_0x380cd1(0xc8)]=_0x38b6c['method'],_0x4f8572[_0x380cd1(0xbc)]=_0x38b6c['headers'],_0x41cfc1[_0x380cd1(0xb3)](_0x552047,_0x2118d4,_0x4f8572);};return _0x1f4f1d[_0x83db7c(0xd9)](_0x41cfc1[_0x83db7c(0xc7)],_0x7872ea=>{const _0x4ca103=_0x83db7c,_0x27e192=_0x41cfc1[_0x4ca103(0xcf)](Date[_0x4ca103(0xc9)](),_0x543891),_0x4e41a9={};_0x4e41a9[_0x4ca103(0xba)]=_0x38b6c[_0x4ca103(0xbf)]||_0x38b6c['hostname']||_0x38b6c[_0x4ca103(0xab)]&&(_0x38b6c[_0x4ca103(0xab)][_0x4ca103(0xbf)]||_0x38b6c[_0x4ca103(0xab)]['hostname']),_0x4e41a9[_0x4ca103(0xb2)]=_0x38b6c[_0x4ca103(0xb2)]||_0x38b6c[_0x4ca103(0xab)]&&_0x38b6c['url'][_0x4ca103(0xcb)],_0x4e41a9[_0x4ca103(0xc8)]=_0x38b6c[_0x4ca103(0xc8)],_0x4e41a9[_0x4ca103(0xbc)]=_0x38b6c[_0x4ca103(0xbc)],_0x4e41a9[_0x4ca103(0xb0)]=_0x7872ea['statusCode'],_0x4e41a9[_0x4ca103(0xd3)]=_0x27e192,_0x41cfc1[_0x4ca103(0xb3)](_0x552047,null,_0x4e41a9),_0x17d8d5['removeListener'](_0x41cfc1[_0x4ca103(0xb5)],_0x13a3b1);}),_0x1f4f1d['on'](_0x41cfc1[_0x83db7c(0xad)],_0x31ead8=>{const _0x510f29=_0x83db7c;_0x17d8d5=_0x31ead8,_0x31ead8[_0x510f29(0xd9)](_0x5b7769[_0x510f29(0xd8)],_0x13a3b1);}),_0x41cfc1[_0x83db7c(0xca)](monkeypatch,_0x1f4f1d,_0x41cfc1[_0x83db7c(0xb7)],(_0x3b3cca,..._0x9bb6d7)=>{const _0x403474=_0x83db7c;_0x543891=Date['now'](),_0x41cfc1[_0x403474(0xaa)](_0x3b3cca,..._0x9bb6d7);}),_0x1f4f1d;};_0x41cfc1[_0xf27e40(0xca)](monkeypatch,http,_0x41cfc1[_0xf27e40(0xce)],_0x33776c),_0x41cfc1[_0xf27e40(0xc3)](monkeypatch,https,_0x41cfc1['MCvLR'],_0x33776c);}function restore(){const _0x58501a=a161_0x3492ac,_0x183617={};_0x183617[_0x58501a(0xb6)]=function(_0x124313,_0x462542){return _0x124313===_0x462542;},_0x183617[_0x58501a(0xd4)]='function';const _0x429b52=_0x183617;_0x429b52[_0x58501a(0xb6)](typeof http[_0x58501a(0xd6)][_0x58501a(0xdb)],_0x429b52[_0x58501a(0xd4)])&&http[_0x58501a(0xd6)][_0x58501a(0xdb)](),_0x429b52['yGtgI'](typeof https[_0x58501a(0xd6)][_0x58501a(0xdb)],_0x429b52[_0x58501a(0xd4)])&&https[_0x58501a(0xd6)][_0x58501a(0xdb)]();}const a161_0x423f9e={};a161_0x423f9e[a161_0x3492ac(0xd2)]=spy,a161_0x423f9e['restore']=restore,module['exports']=a161_0x423f9e;
@@ -1 +1 @@
1
- function a162_0x42e6(){const _0x40eb5b=['24050960kMvtHb','2893368CCKZBn','4iXBvIg','5637930VMnSxI','670vyjQra','globalAgent','keepAliveMsecs','./performance/performance-tester','7972955OKaPkb','kfeur','request','keepAlive','Agent','exports','DkJhH','193CLXSOo','https:','./performance/constants','opBkS','eoQhG','963fRCjEN','4956413TENieD','prototype','Nlyif','OJiFK','38632TIQXhz','zINQa'];a162_0x42e6=function(){return _0x40eb5b;};return a162_0x42e6();}const a162_0x400753=a162_0x5848;(function(_0x242f8e,_0x3d3031){const _0x295f07=a162_0x5848,_0x2be156=_0x242f8e();while(!![]){try{const _0xacc126=-parseInt(_0x295f07(0x7c))/0x1*(parseInt(_0x295f07(0x8c))/0x2)+parseInt(_0x295f07(0x89))/0x3+-parseInt(_0x295f07(0x8a))/0x4*(-parseInt(_0x295f07(0x90))/0x5)+parseInt(_0x295f07(0x8b))/0x6+-parseInt(_0x295f07(0x82))/0x7+parseInt(_0x295f07(0x86))/0x8*(parseInt(_0x295f07(0x81))/0x9)+-parseInt(_0x295f07(0x88))/0xa;if(_0xacc126===_0x3d3031)break;else _0x2be156['push'](_0x2be156['shift']());}catch(_0x563d8d){_0x2be156['push'](_0x2be156['shift']());}}}(a162_0x42e6,0xcc7db));function a162_0x5848(_0x5320ec,_0x4e5d9d){const _0x42e63c=a162_0x42e6();return a162_0x5848=function(_0x58486f,_0x198ede){_0x58486f=_0x58486f-0x79;let _0x52ab90=_0x42e63c[_0x58486f];return _0x52ab90;},a162_0x5848(_0x5320ec,_0x4e5d9d);}const PerformanceTester=require(a162_0x400753(0x8f)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a162_0x400753(0x7e));module[a162_0x400753(0x7a)]=PerformanceTester['measureWrapper'](PerformanceEvents['KEEP_ALIVE'],function(){const _0x80cac5=a162_0x400753,_0x53d21a={'eoQhG':function(_0x3bebae,_0x388d9d){return _0x3bebae===_0x388d9d;},'SXVjL':_0x80cac5(0x7d),'OJiFK':'agent','Nlyif':function(_0x17216b,_0x5baef1,_0x143540){return _0x17216b(_0x5baef1,_0x143540);},'opBkS':function(_0x1ae32c,_0x1e3eab){return _0x1ae32c(_0x1e3eab);},'TktXN':'http','DkJhH':'https','kfeur':function(_0x18bc17,_0x243095){return _0x18bc17*_0x243095;},'zINQa':_0x80cac5(0x93)},_0x138b1f=_0x53d21a['opBkS'](require,_0x53d21a['TktXN']),_0x424cb7=_0x53d21a[_0x80cac5(0x7f)](require,_0x53d21a[_0x80cac5(0x7b)]),_0x144992=_0x53d21a[_0x80cac5(0x91)](0x1e,0x3e8);if(_0x138b1f['globalAgent']&&Object[_0x80cac5(0x83)]['hasOwnProperty']['call'](_0x138b1f[_0x80cac5(0x8d)],_0x53d21a[_0x80cac5(0x87)]))_0x138b1f['globalAgent'][_0x80cac5(0x93)]=!![],_0x424cb7[_0x80cac5(0x8d)]['keepAlive']=!![],_0x138b1f[_0x80cac5(0x8d)]['keepAliveMsecs']=_0x144992,_0x424cb7['globalAgent'][_0x80cac5(0x8e)]=_0x144992;else{const _0x2bd81c={};_0x2bd81c[_0x80cac5(0x93)]=!![],_0x2bd81c['keepAliveMsecs']=_0x144992;const _0x2040e7=new _0x138b1f[(_0x80cac5(0x79))](_0x2bd81c),_0x2f84d9={};_0x2f84d9['keepAlive']=!![],_0x2f84d9['keepAliveMsecs']=_0x144992;const _0x450368=new _0x424cb7['Agent'](_0x2f84d9),_0x2d3068=_0x138b1f[_0x80cac5(0x92)],_0x3b3a2c=_0x424cb7[_0x80cac5(0x92)];_0x138b1f[_0x80cac5(0x92)]=function(_0x522130,_0x287341){const _0x7800b0=_0x80cac5;if(_0x53d21a[_0x7800b0(0x80)](_0x522130['protocol'],_0x53d21a['SXVjL']))return _0x522130[_0x53d21a[_0x7800b0(0x85)]]=_0x450368,_0x53d21a[_0x7800b0(0x84)](_0x3b3a2c,_0x522130,_0x287341);return _0x522130[_0x53d21a[_0x7800b0(0x85)]]=_0x2040e7,_0x53d21a[_0x7800b0(0x84)](_0x2d3068,_0x522130,_0x287341);};}});
1
+ const a162_0x5b81a4=a162_0x557d;function a162_0x557d(_0x43edd1,_0x45b159){const _0x38ae79=a162_0x38ae();return a162_0x557d=function(_0x557d2f,_0x1c230c){_0x557d2f=_0x557d2f-0x109;let _0x35a266=_0x38ae79[_0x557d2f];return _0x35a266;},a162_0x557d(_0x43edd1,_0x45b159);}(function(_0x4e0dd9,_0x216c1f){const _0x6da710=a162_0x557d,_0x26ce70=_0x4e0dd9();while(!![]){try{const _0x3c574e=-parseInt(_0x6da710(0x10b))/0x1+-parseInt(_0x6da710(0x116))/0x2*(-parseInt(_0x6da710(0x11e))/0x3)+parseInt(_0x6da710(0x117))/0x4*(-parseInt(_0x6da710(0x10f))/0x5)+parseInt(_0x6da710(0x126))/0x6+parseInt(_0x6da710(0x125))/0x7+parseInt(_0x6da710(0x11a))/0x8*(parseInt(_0x6da710(0x109))/0x9)+-parseInt(_0x6da710(0x119))/0xa;if(_0x3c574e===_0x216c1f)break;else _0x26ce70['push'](_0x26ce70['shift']());}catch(_0x5ac104){_0x26ce70['push'](_0x26ce70['shift']());}}}(a162_0x38ae,0xe8a74));function a162_0x38ae(){const _0x103fb4=['1345066xVkFdO','http','keepAlive','bCKKp','235gbNDsj','https:','sFlOB','FZedX','https','request','hasOwnProperty','74GKZeAE','27332gONiEl','agent','30088860tvJcIL','6575672DnWcDx','./performance/constants','globalAgent','./performance/performance-tester','138513qwBsZl','KEEP_ALIVE','measureWrapper','protocol','exports','Agent','zsvXf','6420953qAKezq','8151162fTjDmY','TcgyC','prototype','18UXxljb','keepAliveMsecs'];a162_0x38ae=function(){return _0x103fb4;};return a162_0x38ae();}const PerformanceTester=require(a162_0x5b81a4(0x11d)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a162_0x5b81a4(0x11b));module[a162_0x5b81a4(0x122)]=PerformanceTester[a162_0x5b81a4(0x120)](PerformanceEvents[a162_0x5b81a4(0x11f)],function(){const _0x2947f9=a162_0x5b81a4,_0x167409={'ZxwMz':function(_0xa991c,_0x2622d3){return _0xa991c===_0x2622d3;},'bHslg':_0x2947f9(0x110),'QnFVD':_0x2947f9(0x118),'TcgyC':function(_0x4bfea7,_0x52f28a,_0x52b39a){return _0x4bfea7(_0x52f28a,_0x52b39a);},'sFlOB':function(_0x18b0c9,_0x32e758){return _0x18b0c9(_0x32e758);},'Mfizg':_0x2947f9(0x10c),'bCKKp':_0x2947f9(0x113),'FZedX':function(_0x407bfa,_0x37b8a6){return _0x407bfa*_0x37b8a6;},'zsvXf':'keepAlive'},_0xac34a8=_0x167409[_0x2947f9(0x111)](require,_0x167409['Mfizg']),_0x5404a1=_0x167409['sFlOB'](require,_0x167409[_0x2947f9(0x10e)]),_0x4da459=_0x167409[_0x2947f9(0x112)](0x1e,0x3e8);if(_0xac34a8[_0x2947f9(0x11c)]&&Object[_0x2947f9(0x128)][_0x2947f9(0x115)]['call'](_0xac34a8[_0x2947f9(0x11c)],_0x167409[_0x2947f9(0x124)]))_0xac34a8[_0x2947f9(0x11c)][_0x2947f9(0x10d)]=!![],_0x5404a1[_0x2947f9(0x11c)][_0x2947f9(0x10d)]=!![],_0xac34a8[_0x2947f9(0x11c)][_0x2947f9(0x10a)]=_0x4da459,_0x5404a1[_0x2947f9(0x11c)][_0x2947f9(0x10a)]=_0x4da459;else{const _0x2de38c={};_0x2de38c['keepAlive']=!![],_0x2de38c[_0x2947f9(0x10a)]=_0x4da459;const _0x4f37aa=new _0xac34a8[(_0x2947f9(0x123))](_0x2de38c),_0x488f11={};_0x488f11[_0x2947f9(0x10d)]=!![],_0x488f11[_0x2947f9(0x10a)]=_0x4da459;const _0x2cceec=new _0x5404a1[(_0x2947f9(0x123))](_0x488f11),_0x39a549=_0xac34a8['request'],_0x5c8c38=_0x5404a1[_0x2947f9(0x114)];_0xac34a8[_0x2947f9(0x114)]=function(_0x2dda91,_0x4e3bd5){const _0x22de83=_0x2947f9;if(_0x167409['ZxwMz'](_0x2dda91[_0x22de83(0x121)],_0x167409['bHslg']))return _0x2dda91[_0x167409['QnFVD']]=_0x2cceec,_0x167409[_0x22de83(0x127)](_0x5c8c38,_0x2dda91,_0x4e3bd5);return _0x2dda91[_0x167409['QnFVD']]=_0x4f37aa,_0x167409['TcgyC'](_0x39a549,_0x2dda91,_0x4e3bd5);};}});
@@ -1 +1 @@
1
- const a163_0x30bb32=a163_0x2b51;function a163_0x3a45(){const _0x17810e=['50kheNoe','61416qULlFh','12854kOjvHB','getFileName','1|3|2|4|0','1869185pneXny','NdBPX','includes','5049SRrpaZ','startsWith','pickUserFrameFile','4PLvueY','1137096pkVULe','71fjoRWN','UVaIh','1849089RSfjwG','isArray','internal/','1325124bheuXW','eilEd','<anonymous>','GTmWU','10952KXxEtP','isInternalFrameFile','143xbSAnx','kDHfW','KPqsg','196zzGbAe','exports'];a163_0x3a45=function(){return _0x17810e;};return a163_0x3a45();}(function(_0x4ef7e3,_0x2d716d){const _0x221924=a163_0x2b51,_0x8cb6ea=_0x4ef7e3();while(!![]){try{const _0x5e38ba=-parseInt(_0x221924(0x172))/0x1*(-parseInt(_0x221924(0x167))/0x2)+parseInt(_0x221924(0x171))/0x3+-parseInt(_0x221924(0x170))/0x4*(-parseInt(_0x221924(0x16a))/0x5)+parseInt(_0x221924(0x166))/0x6*(-parseInt(_0x221924(0x163))/0x7)+-parseInt(_0x221924(0x15e))/0x8*(parseInt(_0x221924(0x16d))/0x9)+parseInt(_0x221924(0x165))/0xa*(-parseInt(_0x221924(0x174))/0xb)+-parseInt(_0x221924(0x177))/0xc*(-parseInt(_0x221924(0x160))/0xd);if(_0x5e38ba===_0x2d716d)break;else _0x8cb6ea['push'](_0x8cb6ea['shift']());}catch(_0x39e5d9){_0x8cb6ea['push'](_0x8cb6ea['shift']());}}}(a163_0x3a45,0x81183));function isInternalFrameFile(_0xe56cdc){const _0xfb941c=a163_0x2b51,_0x53a9c4={};_0x53a9c4['AlSLT']=_0xfb941c(0x169),_0x53a9c4[_0xfb941c(0x178)]='node:',_0x53a9c4[_0xfb941c(0x17a)]=_0xfb941c(0x176),_0x53a9c4[_0xfb941c(0x173)]='node_modules',_0x53a9c4[_0xfb941c(0x161)]=_0xfb941c(0x179);const _0x2cbfe8=_0x53a9c4,_0x303a4d=_0x2cbfe8['AlSLT']['split']('|');let _0x4e935b=0x0;while(!![]){switch(_0x303a4d[_0x4e935b++]){case'0':return![];case'1':if(!_0xe56cdc)return!![];continue;case'2':if(_0xe56cdc[_0xfb941c(0x16e)](_0x2cbfe8[_0xfb941c(0x178)])||_0xe56cdc['startsWith'](_0x2cbfe8[_0xfb941c(0x17a)]))return!![];continue;case'3':if(_0xe56cdc[_0xfb941c(0x16c)](_0x2cbfe8['UVaIh']))return!![];continue;case'4':if(_0xe56cdc[_0xfb941c(0x16c)](_0x2cbfe8['kDHfW']))return!![];continue;}break;}}function pickUserFrameFile(_0x310268){const _0x26c25b=a163_0x2b51,_0x578548={'tkVmA':function(_0x4a974a,_0x16a08d){return _0x4a974a!==_0x16a08d;},'NdBPX':'function','KPqsg':function(_0x1ca9a7,_0x479d2b){return _0x1ca9a7(_0x479d2b);}};if(!Array[_0x26c25b(0x175)](_0x310268))return null;for(const _0x35f708 of _0x310268){if(!_0x35f708||_0x578548['tkVmA'](typeof _0x35f708[_0x26c25b(0x168)],_0x578548[_0x26c25b(0x16b)]))continue;const _0x392332=_0x35f708[_0x26c25b(0x168)]();if(!_0x578548[_0x26c25b(0x162)](isInternalFrameFile,_0x392332))return _0x392332;}return null;}const a163_0x39b1aa={};function a163_0x2b51(_0x4fe1e3,_0x5c907b){const _0x3a4528=a163_0x3a45();return a163_0x2b51=function(_0x2b51a5,_0x377ce8){_0x2b51a5=_0x2b51a5-0x15e;let _0x51b31f=_0x3a4528[_0x2b51a5];return _0x51b31f;},a163_0x2b51(_0x4fe1e3,_0x5c907b);}a163_0x39b1aa[a163_0x30bb32(0x15f)]=isInternalFrameFile,a163_0x39b1aa[a163_0x30bb32(0x16f)]=pickUserFrameFile,module[a163_0x30bb32(0x164)]=a163_0x39b1aa;
1
+ const a163_0x280d5c=a163_0x44e8;(function(_0x24f98d,_0x5cb601){const _0x3869be=a163_0x44e8,_0x48e31e=_0x24f98d();while(!![]){try{const _0x9b35bc=parseInt(_0x3869be(0x7a))/0x1+-parseInt(_0x3869be(0x6c))/0x2*(parseInt(_0x3869be(0x7e))/0x3)+parseInt(_0x3869be(0x7b))/0x4+-parseInt(_0x3869be(0x69))/0x5*(-parseInt(_0x3869be(0x81))/0x6)+parseInt(_0x3869be(0x72))/0x7+-parseInt(_0x3869be(0x79))/0x8*(parseInt(_0x3869be(0x6a))/0x9)+parseInt(_0x3869be(0x70))/0xa;if(_0x9b35bc===_0x5cb601)break;else _0x48e31e['push'](_0x48e31e['shift']());}catch(_0x1e4aaf){_0x48e31e['push'](_0x48e31e['shift']());}}}(a163_0x23c7,0xeb648));function isInternalFrameFile(_0x36e689){const _0x590159=a163_0x44e8,_0x515d75={};_0x515d75[_0x590159(0x74)]=_0x590159(0x83),_0x515d75['gnkiD']=_0x590159(0x68),_0x515d75[_0x590159(0x76)]=_0x590159(0x6e),_0x515d75[_0x590159(0x78)]='internal/',_0x515d75[_0x590159(0x75)]='<anonymous>';const _0xe482f6=_0x515d75,_0x59574b=_0xe482f6[_0x590159(0x74)]['split']('|');let _0x12099d=0x0;while(!![]){switch(_0x59574b[_0x12099d++]){case'0':return![];case'1':if(_0x36e689['includes'](_0xe482f6[_0x590159(0x77)]))return!![];continue;case'2':if(_0x36e689[_0x590159(0x7d)](_0xe482f6[_0x590159(0x76)])||_0x36e689[_0x590159(0x7d)](_0xe482f6[_0x590159(0x78)]))return!![];continue;case'3':if(!_0x36e689)return!![];continue;case'4':if(_0x36e689[_0x590159(0x82)](_0xe482f6[_0x590159(0x75)]))return!![];continue;}break;}}function pickUserFrameFile(_0x4f2a4e){const _0x562b6e=a163_0x44e8,_0x3b0d3c={'kPUtQ':function(_0x491a76,_0x220284){return _0x491a76!==_0x220284;},'pujgm':_0x562b6e(0x6b),'ifjzm':function(_0x3466e5,_0x372a70){return _0x3466e5(_0x372a70);}};if(!Array[_0x562b6e(0x6d)](_0x4f2a4e))return null;for(const _0x1ec630 of _0x4f2a4e){if(!_0x1ec630||_0x3b0d3c[_0x562b6e(0x7c)](typeof _0x1ec630[_0x562b6e(0x71)],_0x3b0d3c[_0x562b6e(0x80)]))continue;const _0x1f1778=_0x1ec630[_0x562b6e(0x71)]();if(!_0x3b0d3c[_0x562b6e(0x7f)](isInternalFrameFile,_0x1f1778))return _0x1f1778;}return null;}function a163_0x23c7(){const _0x5675ea=['kPUtQ','startsWith','7467Kzkyac','ifjzm','pujgm','6VqhvNI','includes','3|1|2|4|0','node_modules','4340295eCbYnw','464517joKtoC','function','1198GArELL','isArray','node:','exports','14027500uzMStp','getFileName','4582809yqZLbQ','isInternalFrameFile','WoetU','lmTuA','thrpw','gnkiD','kjUDA','240HcAPRC','1032221sCgCmn','183008HRalRV'];a163_0x23c7=function(){return _0x5675ea;};return a163_0x23c7();}function a163_0x44e8(_0x328b99,_0x5bba54){const _0x23c7f2=a163_0x23c7();return a163_0x44e8=function(_0x44e81e,_0x542f35){_0x44e81e=_0x44e81e-0x68;let _0x352145=_0x23c7f2[_0x44e81e];return _0x352145;},a163_0x44e8(_0x328b99,_0x5bba54);}const a163_0x2d964e={};a163_0x2d964e[a163_0x280d5c(0x73)]=isInternalFrameFile,a163_0x2d964e['pickUserFrameFile']=pickUserFrameFile,module[a163_0x280d5c(0x6f)]=a163_0x2d964e;
@@ -1 +1 @@
1
- const a164_0x2c27c4=a164_0x1c75;(function(_0x124d75,_0x39ac1d){const _0x4f2ee2=a164_0x1c75,_0x1ee1fc=_0x124d75();while(!![]){try{const _0x4f50cb=-parseInt(_0x4f2ee2(0x18d))/0x1+-parseInt(_0x4f2ee2(0x17a))/0x2*(parseInt(_0x4f2ee2(0x17f))/0x3)+parseInt(_0x4f2ee2(0x18e))/0x4+-parseInt(_0x4f2ee2(0x193))/0x5+-parseInt(_0x4f2ee2(0x175))/0x6*(parseInt(_0x4f2ee2(0x16f))/0x7)+parseInt(_0x4f2ee2(0x192))/0x8*(parseInt(_0x4f2ee2(0x17d))/0x9)+parseInt(_0x4f2ee2(0x170))/0xa;if(_0x4f50cb===_0x39ac1d)break;else _0x1ee1fc['push'](_0x1ee1fc['shift']());}catch(_0x5b1e49){_0x1ee1fc['push'](_0x1ee1fc['shift']());}}}(a164_0x23f0,0x74e3c));function a164_0x1c75(_0x56120a,_0x2bb8b1){const _0x23f0dd=a164_0x23f0();return a164_0x1c75=function(_0x1c75f1,_0x1af56d){_0x1c75f1=_0x1c75f1-0x16f;let _0x21cb14=_0x23f0dd[_0x1c75f1];return _0x21cb14;},a164_0x1c75(_0x56120a,_0x2bb8b1);}const path=require(a164_0x2c27c4(0x187)),{logDir}=require(a164_0x2c27c4(0x19a)),a164_0x2ed1e7={};a164_0x2ed1e7[a164_0x2c27c4(0x183)]=a164_0x2c27c4(0x184),a164_0x2ed1e7[a164_0x2c27c4(0x198)]='mocha',a164_0x2ed1e7[a164_0x2c27c4(0x17e)]=a164_0x2c27c4(0x177),a164_0x2ed1e7[a164_0x2c27c4(0x181)]='codeceptjs-cucumber',a164_0x2ed1e7[a164_0x2c27c4(0x191)]=a164_0x2c27c4(0x194),a164_0x2ed1e7['CUCUMBER']='cucumber',a164_0x2ed1e7[a164_0x2c27c4(0x18f)]=a164_0x2c27c4(0x172),a164_0x2ed1e7[a164_0x2c27c4(0x173)]=a164_0x2c27c4(0x171),a164_0x2ed1e7['NEWMAN']=a164_0x2c27c4(0x196),a164_0x2ed1e7[a164_0x2c27c4(0x19b)]='jasmine',a164_0x2ed1e7[a164_0x2c27c4(0x186)]='detox',module[a164_0x2c27c4(0x17c)]={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a164_0x2c27c4(0x189),'OBSERVABILITY_UPLOAD_API_URL':'https://upload-observability.browserstack.com','EVENT_ENDPOINT':'api/v1/event','BATCH_ENDPOINT':a164_0x2c27c4(0x179),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','UPLOAD_ATTACHMENT_ENDPOINT':a164_0x2c27c4(0x176),'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[a164_0x2c27c4(0x188)](logDir,a164_0x2c27c4(0x18b)),'FRAMEWORKS':a164_0x2ed1e7};const _env=(process[a164_0x2c27c4(0x178)]['BROWSERSTACK_ENV']||a164_0x2c27c4(0x195))[a164_0x2c27c4(0x197)]();function a164_0x23f0(){const _0x2dab33=['DETOX','path','join','https://collector-observability.browserstack.com','OBSERVABILITY_UPLOAD_API_URL','.obs_test_details','pre-prod','160741pWDEGW','1363032UyWKLn','PUPPETEER','stag','JEST','75056LHbSWr','2409995JgpkUf','jest','prod','newman','toLowerCase','MOCHA','https://collector-observability-preprod.bsstag.com','../logger','JASMINE','2079UAlNkx','3658160jZYYHi','testcafe','puppeteer','TESTCAFE','https://collector-observability-devtestops.bsstag.com','114XJnXAP','upload-attachments','codeceptjs','env','api/v1/batch','2NmuXEG','staging','exports','612KsrlOH','CODECEPT','652161vEMMci','preprod','CODECEPT_CUCUMBER','https://upload-observability-preprod.bsstag.com','PLAYWRIGHT','Playwright','https://upload-observability-devtestops-ssi.bsstag.com'];a164_0x23f0=function(){return _0x2dab33;};return a164_0x23f0();}if(_env===a164_0x2c27c4(0x17b)||_env===a164_0x2c27c4(0x190))module['exports']['API_URL']=a164_0x2c27c4(0x174),module['exports']['OBSERVABILITY_UPLOAD_API_URL']=a164_0x2c27c4(0x185);else(_env===a164_0x2c27c4(0x180)||_env===a164_0x2c27c4(0x18c))&&(module[a164_0x2c27c4(0x17c)]['API_URL']=a164_0x2c27c4(0x199),module[a164_0x2c27c4(0x17c)][a164_0x2c27c4(0x18a)]=a164_0x2c27c4(0x182));
1
+ function a164_0xe740(){const _0x26a450=['.obs_test_details','stag','37988nEcpvF','testcafe','https://upload-observability-preprod.bsstag.com','api/v1/batch','api/v1/screenshots','BROWSERSTACK_ENV','2180NaVIBb','assign','newman','CODECEPT_CUCUMBER','11638XwOAto','PUPPETEER','toLowerCase','280ewirOP','PLAYWRIGHT','join','CUCUMBER','detox','../logger','https://collector-observability-devtestops.bsstag.com','prod','DETOX','api/v1/event','287vxBEcX','5562027NtcEnk','API_URL','JEST','https://upload-observability.browserstack.com','OBSERVABILITY_UPLOAD_API_URL','https://collector-observability.browserstack.com','codeceptjs','pre-prod','cucumber','env','path','9034368lqlxFF','Playwright','579vygvGv','exports','jasmine','272024jRRhax','TESTCAFE','2720547GKHUYk','5150XdbBkS','staging','CODECEPT'];a164_0xe740=function(){return _0x26a450;};return a164_0xe740();}const a164_0x3613a1=a164_0x4938;(function(_0x4b108b,_0x32f6fb){const _0x5207b0=a164_0x4938,_0x5a863c=_0x4b108b();while(!![]){try{const _0x18688e=-parseInt(_0x5207b0(0x15a))/0x1*(-parseInt(_0x5207b0(0x160))/0x2)+-parseInt(_0x5207b0(0x15f))/0x3+parseInt(_0x5207b0(0x165))/0x4*(-parseInt(_0x5207b0(0x172))/0x5)+-parseInt(_0x5207b0(0x158))/0x6+parseInt(_0x5207b0(0x17c))/0x7*(parseInt(_0x5207b0(0x15d))/0x8)+parseInt(_0x5207b0(0x17d))/0x9+parseInt(_0x5207b0(0x16b))/0xa*(parseInt(_0x5207b0(0x16f))/0xb);if(_0x18688e===_0x32f6fb)break;else _0x5a863c['push'](_0x5a863c['shift']());}catch(_0x2c7d6d){_0x5a863c['push'](_0x5a863c['shift']());}}}(a164_0xe740,0xc0b26));const path=require(a164_0x3613a1(0x157)),{logDir}=require(a164_0x3613a1(0x177)),a164_0xabf1e8={};a164_0xabf1e8[a164_0x3613a1(0x173)]=a164_0x3613a1(0x159),a164_0xabf1e8['MOCHA']='mocha',a164_0xabf1e8[a164_0x3613a1(0x162)]=a164_0x3613a1(0x153),a164_0xabf1e8[a164_0x3613a1(0x16e)]='codeceptjs-cucumber',a164_0xabf1e8[a164_0x3613a1(0x14f)]='jest',a164_0xabf1e8[a164_0x3613a1(0x175)]=a164_0x3613a1(0x155),a164_0xabf1e8[a164_0x3613a1(0x170)]='puppeteer',a164_0xabf1e8[a164_0x3613a1(0x15e)]=a164_0x3613a1(0x166),a164_0xabf1e8['NEWMAN']=a164_0x3613a1(0x16d),a164_0xabf1e8['JASMINE']=a164_0x3613a1(0x15c),a164_0xabf1e8[a164_0x3613a1(0x17a)]=a164_0x3613a1(0x176),module[a164_0x3613a1(0x15b)]={'consoleHolder':Object[a164_0x3613a1(0x16c)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a164_0x3613a1(0x152),'OBSERVABILITY_UPLOAD_API_URL':a164_0x3613a1(0x150),'EVENT_ENDPOINT':a164_0x3613a1(0x17b),'BATCH_ENDPOINT':a164_0x3613a1(0x168),'SCREENSHOT_ENDPOINT':a164_0x3613a1(0x169),'UPLOAD_ATTACHMENT_ENDPOINT':'upload-attachments','DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path[a164_0x3613a1(0x174)](logDir,a164_0x3613a1(0x163)),'FRAMEWORKS':a164_0xabf1e8};const _env=(process[a164_0x3613a1(0x156)][a164_0x3613a1(0x16a)]||a164_0x3613a1(0x179))[a164_0x3613a1(0x171)]();function a164_0x4938(_0x1bd813,_0x518663){const _0xe74084=a164_0xe740();return a164_0x4938=function(_0x493817,_0x121469){_0x493817=_0x493817-0x14e;let _0x24cd72=_0xe74084[_0x493817];return _0x24cd72;},a164_0x4938(_0x1bd813,_0x518663);}if(_env===a164_0x3613a1(0x161)||_env===a164_0x3613a1(0x164))module[a164_0x3613a1(0x15b)]['API_URL']=a164_0x3613a1(0x178),module['exports'][a164_0x3613a1(0x151)]='https://upload-observability-devtestops-ssi.bsstag.com';else(_env==='preprod'||_env===a164_0x3613a1(0x154))&&(module[a164_0x3613a1(0x15b)][a164_0x3613a1(0x14e)]='https://collector-observability-preprod.bsstag.com',module[a164_0x3613a1(0x15b)]['OBSERVABILITY_UPLOAD_API_URL']=a164_0x3613a1(0x167));
@@ -1 +1 @@
1
- function a165_0x3a15(){const _0x10207d=['uploadCrashReport','catch','.\x20Error\x20-\x20','JRYVe','1485608pEPBri','object','FjsGQ','iJmvM','user','Content-Type','o11yErrorHandler','timerify','AJnPU','credentials','vogFP','getOwnPropertyNames','auth','CREDENTIALS_FOR_CRASH_REPORTING','stringify','nkIuy','pnnNt','parse','6410840hxMTbR','911241SoBTjK','\x20--\x20','xUCfA','getFramework','QAAKe','username','.\x20Args\x20-\x20','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','Finished\x20::\x20','forEach','frameworkName','recursivelyDeletePIIKeysFromObject','iMEeR','28jCBUcd','headers','../helper','9908091cZdlro','captureError','20ZjXnIE','format','kDDoA','SWKOf','248972jLTxmc','defineProperty','656425WJorwy','XvNqi','../performance/performance-tester','pid','erWBH','call','NmnWC','apply','setAllDetails','iHFCO','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','keys','POST','setConfigDetails','/api/v1/analytics','initialize','Uphry','jDdvv','application/json','getCredentials','EucNG','iubPo','uonnF','6VpzwHD','accessKey',',\x20Argument\x20-\x20','getConfig','depth','./utils','true','X-BSTACK-TESTOPS','then','inspect','BROWSERSTACK_O11Y_PERF_MEASUREMENT','userConfig','key','filterPII','frameworkDetails','name','LTyMD','o11yClassErrorHandler','setCredentials','prototype','includes','krbgt',',\x20PID\x20-\x20','rTZRX','frameworkVersion','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','USER_CONFIG_FOR_REPORTING','toString','setFrameworkDetails','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','ckxmU','ziMxI','toLowerCase','Xghzm','length','425058Qqzoqq','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','[Crash_Report_Upload]\x20Success\x20response:\x20','stack','function','env','Error\x20in\x20executing\x20'];a165_0x3a15=function(){return _0x10207d;};return a165_0x3a15();}const a165_0x48a25c=a165_0x35e7;(function(_0x3a017b,_0x2f9a1e){const _0x3c900c=a165_0x35e7,_0x239e8a=_0x3a017b();while(!![]){try{const _0x2efa63=-parseInt(_0x3c900c(0xa6))/0x1+-parseInt(_0x3c900c(0xbc))/0x2*(-parseInt(_0x3c900c(0xd5))/0x3)+-parseInt(_0x3c900c(0x93))/0x4+-parseInt(_0x3c900c(0xbe))/0x5+-parseInt(_0x3c900c(0x88))/0x6*(-parseInt(_0x3c900c(0xb3))/0x7)+-parseInt(_0x3c900c(0xa5))/0x8+parseInt(_0x3c900c(0xb6))/0x9*(parseInt(_0x3c900c(0xb8))/0xa);if(_0x2efa63===_0x2f9a1e)break;else _0x239e8a['push'](_0x239e8a['shift']());}catch(_0x667613){_0x239e8a['push'](_0x239e8a['shift']());}}}(a165_0x3a15,0x7eacb));const util=require('util'),PerformanceTester=require(a165_0x48a25c(0xc0)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a165_0x48a25c(0xda)),{getAgentVersion,nestedKeyValue}=require(a165_0x48a25c(0xb5)),o11yErrorHandler=(_0x566aca,_0x53de30='',_0x340751=[''],_0x4da683=![])=>{const _0x4f1205={'Uphry':function(_0x1f29d,_0xb39f3a){return _0x1f29d(_0xb39f3a);},'SWKOf':function(_0xb79195,_0x371ed9,_0x1bd381){return _0xb79195(_0x371ed9,_0x1bd381);},'iMEeR':function(_0x3a0a0e,_0x2e8977){return _0x3a0a0e instanceof _0x2e8977;},'CwiYL':function(_0x77a3c0,_0x459cea,_0x442393,_0x277253,_0x51d982){return _0x77a3c0(_0x459cea,_0x442393,_0x277253,_0x51d982);}};return function(..._0x437a6d){const _0x5581b2=a165_0x35e7;try{let _0x1113bf=_0x566aca;process[_0x5581b2(0x8d)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0x1113bf=PerformanceTester['getPerformance']()['timerify'](_0x1113bf));_0x4da683&&_0x4f1205[_0x5581b2(0xce)](trace,'Started\x20::\x20'+_0x53de30+_0x5581b2(0xeb)+process['pid']+_0x5581b2(0xd7)+_0x4f1205[_0x5581b2(0xbb)](nestedKeyValue,arguments[0x0],_0x340751));const _0x86b1b=_0x1113bf[_0x5581b2(0xc5)](null,arguments);_0x4da683&&_0x4f1205[_0x5581b2(0xce)](trace,_0x5581b2(0xae)+_0x53de30+_0x5581b2(0xeb)+process[_0x5581b2(0xc1)]+_0x5581b2(0xd7)+_0x4f1205[_0x5581b2(0xbb)](nestedKeyValue,arguments[0x0],_0x340751));if(_0x4f1205[_0x5581b2(0xb2)](_0x86b1b,Promise))return _0x86b1b[_0x5581b2(0x90)](_0x4646d6=>processError(_0x4646d6,_0x566aca,_0x437a6d,_0x53de30));return _0x86b1b;}catch(_0x4e5469){_0x4f1205['CwiYL'](processError,_0x4e5469,_0x566aca,_0x437a6d,_0x53de30);}};},o11yClassErrorHandler=(_0x9ce5a6,_0x2c8bc9,_0x2e276e='')=>{const _0x3b40dd=a165_0x48a25c,_0x251e80={'LSztn':function(_0x2f37b9,_0x2bcb7a){return _0x2f37b9 instanceof _0x2bcb7a;},'XvNqi':function(_0x4cd0a3,_0x3a721f,_0x262e03,_0x5ad04a,_0x29e5ed){return _0x4cd0a3(_0x3a721f,_0x262e03,_0x5ad04a,_0x29e5ed);},'rIwLT':function(_0x5eb803,_0x2401b7){return _0x5eb803===_0x2401b7;},'jDdvv':_0x3b40dd(0x8c),'rTZRX':function(_0x2cc74e,_0x1392af){return _0x2cc74e!==_0x1392af;},'iJmvM':'constructor','krbgt':function(_0x19ef6b,_0xe0df0b){return _0x19ef6b<_0xe0df0b;}},_0x25f545=_0x9ce5a6[_0x3b40dd(0xe8)];if(_0x251e80[_0x3b40dd(0xea)](Object[_0x3b40dd(0x9e)](_0x25f545)[_0x3b40dd(0x87)],0x2))return _0x9ce5a6;return Object[_0x3b40dd(0x9e)](_0x25f545)[_0x3b40dd(0xaf)](_0x5c797e=>{const _0x463bcf=_0x3b40dd,_0x367e5d={'QAAKe':function(_0x52564d,_0x29dfc8){return _0x251e80['LSztn'](_0x52564d,_0x29dfc8);},'LTyMD':function(_0xdc44fe,_0x71062b,_0x244f66,_0x370871,_0x43eb19){const _0x53b591=a165_0x35e7;return _0x251e80[_0x53b591(0xbf)](_0xdc44fe,_0x71062b,_0x244f66,_0x370871,_0x43eb19);}};if(!(_0x2c8bc9&&_0x2c8bc9[_0x463bcf(0xe9)](_0x5c797e)))return;const _0x51df94=_0x25f545[_0x5c797e];_0x251e80['rIwLT'](typeof _0x51df94,_0x251e80[_0x463bcf(0xcf)])&&_0x251e80[_0x463bcf(0xec)](_0x5c797e,_0x251e80[_0x463bcf(0x96)])&&Object[_0x463bcf(0xbd)](_0x25f545,_0x5c797e,{'writable':!![],'value':function(..._0x2f2e00){const _0x3c5b92=_0x463bcf;try{const _0x15de8e=(process[_0x3c5b92(0x8d)][_0x3c5b92(0xdf)]?PerformanceTester['getPerformance']()[_0x3c5b92(0x9a)](_0x51df94):_0x51df94)[_0x3c5b92(0xc3)](this,..._0x2f2e00);if(_0x367e5d[_0x3c5b92(0xaa)](_0x15de8e,Promise))return _0x15de8e[_0x3c5b92(0x90)](_0x41e3b7=>processError(_0x41e3b7,_0x51df94,_0x2f2e00,_0x2e276e));return _0x15de8e;}catch(_0x568b21){_0x367e5d[_0x3c5b92(0xe5)](processError,_0x568b21,_0x51df94,_0x2f2e00,_0x2e276e);}}});}),_0x9ce5a6;};function a165_0x35e7(_0x4b5fe9,_0x3138da){const _0x3a1510=a165_0x3a15();return a165_0x35e7=function(_0x35e7bf,_0x3901c2){_0x35e7bf=_0x35e7bf-0x85;let _0x5031a9=_0x3a1510[_0x35e7bf];return _0x5031a9;},a165_0x35e7(_0x4b5fe9,_0x3138da);}function processError(_0x11d1e1,_0xe70145,_0x4a96cf,_0x270087){const _0x323da0=a165_0x48a25c,_0x32e243={'RJEJp':function(_0x3c30c5,_0x591f72){return _0x3c30c5(_0x591f72);}};_0x32e243['RJEJp'](debug,_0x323da0(0x8e)+_0xe70145[_0x323da0(0xe4)]+_0x323da0(0xa7)+_0x270087+_0x323da0(0x91)+util[_0x323da0(0xb9)](_0x11d1e1)+_0x323da0(0xac)+_0x4a96cf+'.'),PerformanceTester[_0x323da0(0xb7)](_0x11d1e1);let _0x4ecc91;try{_0x4ecc91=JSON['stringify'](_0x4a96cf);}catch(_0x4617b1){const _0x18ada8={};_0x18ada8[_0x323da0(0xd9)]=0x2,_0x4ecc91=util[_0x323da0(0xde)](_0x4a96cf,_0x18ada8);}CrashReporter[_0x323da0(0x8f)](_0x323da0(0x8e)+_0xe70145[_0x323da0(0xe4)]+_0x323da0(0xa7)+_0x270087+_0x323da0(0x91)+_0x11d1e1+_0x323da0(0xac)+_0x4ecc91+'.',_0x11d1e1&&_0x11d1e1[_0x323da0(0x8b)]);}class CrashReporter{static [a165_0x48a25c(0xe0)]={};static ['credentials'];static [a165_0x48a25c(0xe3)]={};static[a165_0x48a25c(0xcd)](_0xc15eda,_0x2fbcb8,_0xed1a45=null){const _0x3c181b=a165_0x48a25c,_0x56c0ef={'ziMxI':function(_0x1279d5,_0x2bc8af){return _0x1279d5(_0x2bc8af);},'JRYVe':function(_0x270fc5,_0x4efca0){return _0x270fc5(_0x4efca0);}},_0x3401f7=_0xc15eda[_0x3c181b(0xb0)],_0x3ee573=_0xc15eda['frameworkVersion'];!_0xed1a45&&(_0xed1a45=_0x56c0ef['ziMxI'](getBrowserStackConfig,_0x3401f7));!_0x3ee573&&_0x56c0ef[_0x3c181b(0x92)](getFrameworkVersion,_0x3401f7);const _0x128e97={};_0x128e97['frameworkName']=_0x3401f7,_0x128e97['frameworkVersion']=_0x3ee573,this[_0x3c181b(0xc6)](_0x128e97,_0x2fbcb8,_0x56c0ef[_0x3c181b(0xf4)](getUserCredentials,_0xed1a45));}static[a165_0x48a25c(0xe7)](_0x8f8b46,_0x4dd935){const _0xc9851=a165_0x48a25c,_0x1ceb77={};_0x1ceb77[_0xc9851(0xab)]=_0x8f8b46,_0x1ceb77[_0xc9851(0xd6)]=_0x4dd935,this['credentials']=_0x1ceb77,process['env'][_0xc9851(0xa0)]=JSON[_0xc9851(0xa1)](this[_0xc9851(0x9c)]);}static[a165_0x48a25c(0xd1)](){const _0x554285=a165_0x48a25c,_0x2e832f={'erWBH':function(_0x14ad2b,_0x890de){return _0x14ad2b(_0x890de);}};if(!this[_0x554285(0x9c)]&&process[_0x554285(0x8d)][_0x554285(0xa0)])try{this[_0x554285(0x9c)]=JSON[_0x554285(0xa4)](process['env'][_0x554285(0xa0)]);}catch(_0x1ad9ed){_0x2e832f[_0x554285(0xc2)](debug,_0x554285(0xf2)+_0x1ad9ed[_0x554285(0xf0)]());}return this[_0x554285(0x9c)];}static[a165_0x48a25c(0xcb)](_0x53d1d4){const _0x476b2b=a165_0x48a25c;this[_0x476b2b(0xe0)]=this[_0x476b2b(0xe2)](_0x53d1d4),process[_0x476b2b(0x8d)][_0x476b2b(0xef)]=JSON['stringify'](this['userConfig']);}static[a165_0x48a25c(0xd8)](){const _0x4ffcf2=a165_0x48a25c,_0x523af0={'swqZl':function(_0x3792da,_0x26d6d5){return _0x3792da===_0x26d6d5;},'mVUkM':function(_0x2a256c,_0x541f7b){return _0x2a256c(_0x541f7b);}};if(_0x523af0['swqZl'](Object[_0x4ffcf2(0xc9)](this[_0x4ffcf2(0xe0)])[_0x4ffcf2(0x87)],0x0)&&process[_0x4ffcf2(0x8d)][_0x4ffcf2(0xef)])try{this['userConfig']=JSON[_0x4ffcf2(0xa4)](process[_0x4ffcf2(0x8d)][_0x4ffcf2(0xef)]);}catch(_0x2e940a){_0x523af0['mVUkM'](debug,_0x4ffcf2(0xc8)+_0x2e940a[_0x4ffcf2(0xf0)]()),this[_0x4ffcf2(0xe0)]={};}return this[_0x4ffcf2(0xe0)];}static[a165_0x48a25c(0xf1)](_0x1db24a){const _0x445800=a165_0x48a25c;this[_0x445800(0xe3)]=_0x1db24a,process[_0x445800(0x8d)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']=JSON[_0x445800(0xa1)](this[_0x445800(0xe3)]);}static[a165_0x48a25c(0xa9)](){const _0x52797c=a165_0x48a25c,_0x1296c8={'AJnPU':function(_0x295396,_0x55a70b){return _0x295396===_0x55a70b;},'IcjUt':function(_0x1c7e6d,_0x4c71c4){return _0x1c7e6d(_0x4c71c4);}};if(_0x1296c8[_0x52797c(0x9b)](Object[_0x52797c(0xc9)](this[_0x52797c(0xe3)])[_0x52797c(0x87)],0x0)&&process[_0x52797c(0x8d)][_0x52797c(0xad)])try{this[_0x52797c(0xe3)]=JSON['parse'](process[_0x52797c(0x8d)][_0x52797c(0xad)]);}catch(_0x6d50a8){_0x1296c8['IcjUt'](debug,_0x52797c(0xf2)+_0x6d50a8['toString']());}return this[_0x52797c(0xe3)];}static['setAllDetails'](_0x2d2175,_0x4e2cf,_0x592002){const _0x1b61ab=a165_0x48a25c;_0x2d2175&&this[_0x1b61ab(0xf1)](_0x2d2175),_0x4e2cf&&this[_0x1b61ab(0xcb)](_0x4e2cf),_0x592002&&this[_0x1b61ab(0xe7)](_0x592002[_0x1b61ab(0xab)],_0x592002['accessKey']);}static async[a165_0x48a25c(0x8f)](_0x321449,_0x52f56a){const _0x3d1f0b=a165_0x48a25c,_0x43a84f={'kDDoA':function(_0x284051,_0x45cf97){return _0x284051(_0x45cf97);},'FjsGQ':function(_0x599ce7,_0x5e8445){return _0x599ce7(_0x5e8445);},'uonnF':_0x3d1f0b(0x89),'aswaM':function(_0x2c4670){return _0x2c4670();},'NmnWC':_0x3d1f0b(0xcc),'vogFP':_0x3d1f0b(0xd0),'iubPo':_0x3d1f0b(0xdb),'sJBtU':function(_0x193df3,_0x1ba8db,_0x313284,_0x331fe5,_0x299342,_0x265815){return _0x193df3(_0x1ba8db,_0x313284,_0x331fe5,_0x299342,_0x265815);},'ckxmU':_0x3d1f0b(0xca)};this['getCredentials']();if(!this[_0x3d1f0b(0x9c)])return _0x43a84f[_0x3d1f0b(0x95)](debug,_0x43a84f[_0x3d1f0b(0xd4)]);this[_0x3d1f0b(0xd8)](),this[_0x3d1f0b(0xa9)]();const _0x47f7ec={'hashed_id':process[_0x3d1f0b(0x8d)]['BS_TESTOPS_BUILD_HASHED_ID'],'observability_version':{'sdkVersion':_0x43a84f['aswaM'](getAgentVersion),'frameworkName':this[_0x3d1f0b(0xe3)][_0x3d1f0b(0xb0)],'frameworkVersion':this[_0x3d1f0b(0xe3)][_0x3d1f0b(0xed)]},'exception':{'error':_0x321449['toString'](),'stackTrace':_0x52f56a},'config':this[_0x3d1f0b(0xe0)]},_0x35a469=_0x43a84f[_0x3d1f0b(0xc4)],_0xb25a95={};_0xb25a95[_0x3d1f0b(0xab)]=this[_0x3d1f0b(0x9c)][_0x3d1f0b(0xab)],_0xb25a95['password']=this[_0x3d1f0b(0x9c)][_0x3d1f0b(0xd6)];const _0x54f108={};_0x54f108[_0x3d1f0b(0x98)]=_0x43a84f[_0x3d1f0b(0x9d)],_0x54f108[_0x3d1f0b(0xdc)]=_0x43a84f[_0x3d1f0b(0xd3)];const _0x503db8={};_0x503db8[_0x3d1f0b(0x9f)]=_0xb25a95,_0x503db8[_0x3d1f0b(0xb4)]=_0x54f108;const _0x172c0c=_0x503db8;_0x43a84f['sJBtU'](nodeRequest,_0x43a84f[_0x3d1f0b(0xf3)],_0x35a469,_0x47f7ec,_0x172c0c,![])[_0x3d1f0b(0xdd)](_0x57158f=>{const _0x3b13f5=_0x3d1f0b;_0x43a84f[_0x3b13f5(0xba)](debug,_0x3b13f5(0x8a)+JSON[_0x3b13f5(0xa1)](_0x57158f));})[_0x3d1f0b(0x90)](_0x1b0278=>{const _0x5c00e4=_0x3d1f0b;_0x43a84f[_0x5c00e4(0xba)](debug,_0x5c00e4(0xee)+util['format'](_0x1b0278));});}static[a165_0x48a25c(0xb1)](_0x59b1be){const _0x18a204=a165_0x48a25c,_0x21e6a3={};_0x21e6a3['TtkKm']=_0x18a204(0x97),_0x21e6a3['EucNG']=_0x18a204(0xab),_0x21e6a3[_0x18a204(0xa3)]=_0x18a204(0xe1),_0x21e6a3[_0x18a204(0xc7)]=_0x18a204(0xd6),_0x21e6a3[_0x18a204(0x86)]='password',_0x21e6a3[_0x18a204(0xa2)]=function(_0x12dba0,_0x895bd6){return _0x12dba0===_0x895bd6;},_0x21e6a3[_0x18a204(0xa8)]=_0x18a204(0x94);const _0x2bac54=_0x21e6a3;if(!_0x59b1be)return;const _0x144958=[_0x2bac54['TtkKm'],_0x2bac54[_0x18a204(0xd2)],_0x2bac54[_0x18a204(0xa3)],_0x2bac54['iHFCO'],_0x2bac54[_0x18a204(0x86)]];for(const _0xe3400c in _0x59b1be){if(_0x144958[_0x18a204(0xe9)](_0xe3400c[_0x18a204(0x85)]()))delete _0x59b1be[_0xe3400c];else _0x2bac54[_0x18a204(0xa2)](typeof _0x59b1be[_0xe3400c],_0x2bac54[_0x18a204(0xa8)])&&this[_0x18a204(0xb1)](_0x59b1be[_0xe3400c]);}}static['filterPII'](_0x42078b){const _0x460bbb=a165_0x48a25c,_0x2d9a30=JSON[_0x460bbb(0xa4)](JSON[_0x460bbb(0xa1)](_0x42078b));return this[_0x460bbb(0xb1)](_0x2d9a30),_0x2d9a30;}}const a165_0x1386c6={};a165_0x1386c6[a165_0x48a25c(0x99)]=o11yErrorHandler,a165_0x1386c6[a165_0x48a25c(0xe6)]=o11yClassErrorHandler,a165_0x1386c6['CrashReporter']=CrashReporter,module['exports']=a165_0x1386c6;
1
+ const a165_0x1bc354=a165_0x1684;(function(_0x160e5d,_0x354b5c){const _0x53c02f=a165_0x1684,_0x5f3e08=_0x160e5d();while(!![]){try{const _0x3d609e=parseInt(_0x53c02f(0x1d2))/0x1*(-parseInt(_0x53c02f(0x1d3))/0x2)+parseInt(_0x53c02f(0x1e1))/0x3+parseInt(_0x53c02f(0x1e7))/0x4*(-parseInt(_0x53c02f(0x1ba))/0x5)+-parseInt(_0x53c02f(0x1ac))/0x6*(parseInt(_0x53c02f(0x205))/0x7)+-parseInt(_0x53c02f(0x1fb))/0x8*(parseInt(_0x53c02f(0x1d0))/0x9)+-parseInt(_0x53c02f(0x1ff))/0xa+parseInt(_0x53c02f(0x1fa))/0xb*(parseInt(_0x53c02f(0x1cf))/0xc);if(_0x3d609e===_0x354b5c)break;else _0x5f3e08['push'](_0x5f3e08['shift']());}catch(_0x4b709a){_0x5f3e08['push'](_0x5f3e08['shift']());}}}(a165_0x387a,0xd53d5));const util=require(a165_0x1bc354(0x1a6)),PerformanceTester=require(a165_0x1bc354(0x1f0)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a165_0x1bc354(0x1ae)),{getAgentVersion,nestedKeyValue}=require(a165_0x1bc354(0x1bf)),o11yErrorHandler=(_0x2eef86,_0x2d4d7f='',_0x27548f=[''],_0x2f4f11=![])=>{const _0x96178f={'LTBWO':function(_0x30dffb,_0x47970f){return _0x30dffb(_0x47970f);},'cDLvi':function(_0x4cf12a,_0x3028b2,_0xa81b78){return _0x4cf12a(_0x3028b2,_0xa81b78);},'OdavW':function(_0x46ed2a,_0x48bafc){return _0x46ed2a(_0x48bafc);},'eOTyk':function(_0x11e485,_0x57b053){return _0x11e485 instanceof _0x57b053;},'NcDoT':function(_0x12db1b,_0x4a5e04,_0x44b34f,_0x1adab0,_0x462e15){return _0x12db1b(_0x4a5e04,_0x44b34f,_0x1adab0,_0x462e15);}};return function(..._0x5599c5){const _0x26ea53=a165_0x1684;try{let _0xf4774c=_0x2eef86;process[_0x26ea53(0x1da)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0xf4774c=PerformanceTester['getPerformance']()[_0x26ea53(0x20b)](_0xf4774c));_0x2f4f11&&_0x96178f[_0x26ea53(0x1a9)](trace,_0x26ea53(0x1a0)+_0x2d4d7f+',\x20PID\x20-\x20'+process[_0x26ea53(0x1c1)]+_0x26ea53(0x19c)+_0x96178f[_0x26ea53(0x1fd)](nestedKeyValue,arguments[0x0],_0x27548f));const _0x5cc491=_0xf4774c[_0x26ea53(0x1de)](null,arguments);_0x2f4f11&&_0x96178f[_0x26ea53(0x1cc)](trace,_0x26ea53(0x1ab)+_0x2d4d7f+_0x26ea53(0x1d5)+process['pid']+',\x20Argument\x20-\x20'+_0x96178f[_0x26ea53(0x1fd)](nestedKeyValue,arguments[0x0],_0x27548f));if(_0x96178f[_0x26ea53(0x1bc)](_0x5cc491,Promise))return _0x5cc491['catch'](_0x21242e=>processError(_0x21242e,_0x2eef86,_0x5599c5,_0x2d4d7f));return _0x5cc491;}catch(_0x1d4daa){_0x96178f[_0x26ea53(0x1ed)](processError,_0x1d4daa,_0x2eef86,_0x5599c5,_0x2d4d7f);}};},o11yClassErrorHandler=(_0x2e3e18,_0x25c85f,_0x4e0bb4='')=>{const _0x8b6092=a165_0x1bc354,_0x47fb59={'jlsQu':function(_0x24f46a,_0x327a98){return _0x24f46a instanceof _0x327a98;},'WEEAq':function(_0x509463,_0x5da166,_0x48d883,_0x201628,_0x44776f){return _0x509463(_0x5da166,_0x48d883,_0x201628,_0x44776f);},'JEVMc':function(_0x522170,_0x2bddb9){return _0x522170===_0x2bddb9;},'dxsRq':'function','MARWM':function(_0x427ddf,_0x1a12dd){return _0x427ddf!==_0x1a12dd;},'ejKgT':_0x8b6092(0x1ad),'pFCaB':function(_0x5303c9,_0x57391d){return _0x5303c9<_0x57391d;}},_0x11031e=_0x2e3e18['prototype'];if(_0x47fb59[_0x8b6092(0x1c8)](Object[_0x8b6092(0x1f2)](_0x11031e)[_0x8b6092(0x1c9)],0x2))return _0x2e3e18;return Object[_0x8b6092(0x1f2)](_0x11031e)[_0x8b6092(0x199)](_0x555b41=>{const _0x349e9c=_0x8b6092,_0x3591c7={'fHBSu':function(_0x434f50,_0x5ac643){const _0x3d5aeb=a165_0x1684;return _0x47fb59[_0x3d5aeb(0x201)](_0x434f50,_0x5ac643);},'ctjbH':function(_0x6eba91,_0x51f070,_0x15fb0a,_0xb6a74,_0x283458){const _0x471108=a165_0x1684;return _0x47fb59[_0x471108(0x1ee)](_0x6eba91,_0x51f070,_0x15fb0a,_0xb6a74,_0x283458);}};if(!(_0x25c85f&&_0x25c85f[_0x349e9c(0x1b4)](_0x555b41)))return;const _0x4fe25e=_0x11031e[_0x555b41];_0x47fb59[_0x349e9c(0x20a)](typeof _0x4fe25e,_0x47fb59[_0x349e9c(0x1f1)])&&_0x47fb59['MARWM'](_0x555b41,_0x47fb59[_0x349e9c(0x1b6)])&&Object[_0x349e9c(0x1ec)](_0x11031e,_0x555b41,{'writable':!![],'value':function(..._0x897367){const _0x1418d7=_0x349e9c;try{const _0x314fc3=(process[_0x1418d7(0x1da)][_0x1418d7(0x1bd)]?PerformanceTester['getPerformance']()['timerify'](_0x4fe25e):_0x4fe25e)[_0x1418d7(0x1c3)](this,..._0x897367);if(_0x3591c7[_0x1418d7(0x1d6)](_0x314fc3,Promise))return _0x314fc3[_0x1418d7(0x19f)](_0x2feae9=>processError(_0x2feae9,_0x4fe25e,_0x897367,_0x4e0bb4));return _0x314fc3;}catch(_0x3eb726){_0x3591c7[_0x1418d7(0x1fc)](processError,_0x3eb726,_0x4fe25e,_0x897367,_0x4e0bb4);}}});}),_0x2e3e18;};function a165_0x1684(_0x45e2ea,_0xe51387){const _0x387a13=a165_0x387a();return a165_0x1684=function(_0x1684fa,_0x59ce51){_0x1684fa=_0x1684fa-0x199;let _0xbcde4f=_0x387a13[_0x1684fa];return _0xbcde4f;},a165_0x1684(_0x45e2ea,_0xe51387);}function a165_0x387a(){const _0x1084a2=['Fnmhl','OdavW','true','GoWqJ','39797220hmrcXb','1521aaIJIi','zllgw','11cgwKeP','7138NSnCig','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash',',\x20PID\x20-\x20','fHBSu','hvJyG','toLowerCase','nUXeV','env','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','format','o11yErrorHandler','apply','frameworkName','initialize','2722317eeNogn','parse','recursivelyDeletePIIKeysFromObject','gZrOo','setFrameworkDetails','MVyep','1477748ZFSKyf','USER_CONFIG_FOR_REPORTING','credentials','bYSwA','application/json','defineProperty','NcDoT','WEEAq','yUeVk','../performance/performance-tester','dxsRq','getOwnPropertyNames','headers','\x20--\x20','filterPII','userConfig','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','CREDENTIALS_FOR_CRASH_REPORTING','11NFqpLz','10808qdsvYZ','ctjbH','cDLvi','YrSSU','14585240zrzlJD','frameworkDetails','jlsQu','object','vGGCE','DHfJi','258363FxBlAe','.\x20Error\x20-\x20','accessKey','password','getConfig','JEVMc','timerify','keys','forEach','username','WGcFO',',\x20Argument\x20-\x20','name','o11yClassErrorHandler','catch','Started\x20::\x20','KBARJ','hNubn','stringify','toString','dqfJa','util','X-BSTACK-TESTOPS','user','LTBWO','setCredentials','Finished\x20::\x20','204jCQYIS','constructor','./utils','.\x20Args\x20-\x20','WimUc','BS_TESTOPS_BUILD_HASHED_ID','getCredentials','frameworkVersion','includes','Error\x20in\x20executing\x20','ejKgT','then','BaCsv','POST','5kOezwe','[Crash_Report_Upload]\x20Success\x20response:\x20','eOTyk','BROWSERSTACK_O11Y_PERF_MEASUREMENT','setConfigDetails','../helper','/api/v1/analytics','pid','uploadCrashReport','call','key','CrashReporter','MvUeU','setAllDetails','pFCaB','length','nRKKZ'];a165_0x387a=function(){return _0x1084a2;};return a165_0x387a();}function processError(_0x308e51,_0x397ec7,_0x4c518e,_0xe94a7f){const _0x347336=a165_0x1bc354,_0x282f45={'yUeVk':function(_0x4a6fab,_0x4b2166){return _0x4a6fab(_0x4b2166);}};_0x282f45[_0x347336(0x1ef)](debug,_0x347336(0x1b5)+_0x397ec7[_0x347336(0x19d)]+'\x20--\x20'+_0xe94a7f+_0x347336(0x206)+util[_0x347336(0x1dc)](_0x308e51)+_0x347336(0x1af)+_0x4c518e+'.'),PerformanceTester['captureError'](_0x308e51);let _0x4e1e8b;try{_0x4e1e8b=JSON[_0x347336(0x1a3)](_0x4c518e);}catch(_0x4a35bd){const _0x694859={};_0x694859['depth']=0x2,_0x4e1e8b=util['inspect'](_0x4c518e,_0x694859);}CrashReporter[_0x347336(0x1c2)]('Error\x20in\x20executing\x20'+_0x397ec7[_0x347336(0x19d)]+_0x347336(0x1f4)+_0xe94a7f+'.\x20Error\x20-\x20'+_0x308e51+'.\x20Args\x20-\x20'+_0x4e1e8b+'.',_0x308e51&&_0x308e51['stack']);}class CrashReporter{static [a165_0x1bc354(0x1f6)]={};static [a165_0x1bc354(0x1e9)];static [a165_0x1bc354(0x200)]={};static[a165_0x1bc354(0x1e0)](_0x56e559,_0x535ce7,_0x48d6bc=null){const _0x7748da=a165_0x1bc354,_0x14ba7d={'zBREe':function(_0x2f9f9b,_0x13be3a){return _0x2f9f9b(_0x13be3a);},'Fnmhl':function(_0x10a620,_0x283d84){return _0x10a620(_0x283d84);},'dqfJa':function(_0xed754e,_0x51d9ef){return _0xed754e(_0x51d9ef);}},_0x2b7309=_0x56e559[_0x7748da(0x1df)],_0x3368b3=_0x56e559['frameworkVersion'];!_0x48d6bc&&(_0x48d6bc=_0x14ba7d['zBREe'](getBrowserStackConfig,_0x2b7309));!_0x3368b3&&_0x14ba7d[_0x7748da(0x1cb)](getFrameworkVersion,_0x2b7309);const _0x4f60c4={};_0x4f60c4[_0x7748da(0x1df)]=_0x2b7309,_0x4f60c4[_0x7748da(0x1b3)]=_0x3368b3,this[_0x7748da(0x1c7)](_0x4f60c4,_0x535ce7,_0x14ba7d[_0x7748da(0x1a5)](getUserCredentials,_0x48d6bc));}static['setCredentials'](_0x1c4e42,_0x3342e7){const _0x5cb729=a165_0x1bc354,_0x45eef6={};_0x45eef6['username']=_0x1c4e42,_0x45eef6['accessKey']=_0x3342e7,this['credentials']=_0x45eef6,process[_0x5cb729(0x1da)][_0x5cb729(0x1f9)]=JSON[_0x5cb729(0x1a3)](this[_0x5cb729(0x1e9)]);}static[a165_0x1bc354(0x1b2)](){const _0x31a3fb=a165_0x1bc354,_0x1d07e2={'kkmie':function(_0x1a6fb5,_0x2a2888){return _0x1a6fb5(_0x2a2888);}};if(!this[_0x31a3fb(0x1e9)]&&process[_0x31a3fb(0x1da)][_0x31a3fb(0x1f9)])try{this['credentials']=JSON[_0x31a3fb(0x1e2)](process['env']['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x4fbcf4){_0x1d07e2['kkmie'](debug,_0x31a3fb(0x1f7)+_0x4fbcf4[_0x31a3fb(0x1a4)]());}return this[_0x31a3fb(0x1e9)];}static[a165_0x1bc354(0x1be)](_0x2b906e){const _0xeee50d=a165_0x1bc354;this[_0xeee50d(0x1f6)]=this[_0xeee50d(0x1f5)](_0x2b906e),process[_0xeee50d(0x1da)]['USER_CONFIG_FOR_REPORTING']=JSON['stringify'](this[_0xeee50d(0x1f6)]);}static[a165_0x1bc354(0x209)](){const _0x3bdc28=a165_0x1bc354,_0x2d8948={'BaCsv':function(_0x29734f,_0x387712){return _0x29734f===_0x387712;},'WimUc':function(_0x2babb0,_0xe92ed2){return _0x2babb0(_0xe92ed2);}};if(_0x2d8948[_0x3bdc28(0x1b8)](Object['keys'](this['userConfig'])[_0x3bdc28(0x1c9)],0x0)&&process[_0x3bdc28(0x1da)][_0x3bdc28(0x1e8)])try{this['userConfig']=JSON[_0x3bdc28(0x1e2)](process[_0x3bdc28(0x1da)][_0x3bdc28(0x1e8)]);}catch(_0x405c22){_0x2d8948[_0x3bdc28(0x1b0)](debug,_0x3bdc28(0x1db)+_0x405c22[_0x3bdc28(0x1a4)]()),this[_0x3bdc28(0x1f6)]={};}return this[_0x3bdc28(0x1f6)];}static[a165_0x1bc354(0x1e5)](_0x5be147){const _0x3db07a=a165_0x1bc354;this[_0x3db07a(0x200)]=_0x5be147,process[_0x3db07a(0x1da)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']=JSON[_0x3db07a(0x1a3)](this[_0x3db07a(0x200)]);}static['getFramework'](){const _0x5c20c9=a165_0x1bc354,_0x14a3e8={'MvUeU':function(_0x5896fa,_0x1be961){return _0x5896fa===_0x1be961;},'MVyep':function(_0x19cf3a,_0x4869cc){return _0x19cf3a(_0x4869cc);}};if(_0x14a3e8[_0x5c20c9(0x1c6)](Object[_0x5c20c9(0x20c)](this[_0x5c20c9(0x200)])[_0x5c20c9(0x1c9)],0x0)&&process[_0x5c20c9(0x1da)][_0x5c20c9(0x1f8)])try{this['frameworkDetails']=JSON[_0x5c20c9(0x1e2)](process[_0x5c20c9(0x1da)][_0x5c20c9(0x1f8)]);}catch(_0x228b46){_0x14a3e8[_0x5c20c9(0x1e6)](debug,_0x5c20c9(0x1f7)+_0x228b46[_0x5c20c9(0x1a4)]());}return this[_0x5c20c9(0x200)];}static[a165_0x1bc354(0x1c7)](_0x5e91e5,_0x146f3f,_0x152b83){const _0x1ca28f=a165_0x1bc354;_0x5e91e5&&this[_0x1ca28f(0x1e5)](_0x5e91e5),_0x146f3f&&this[_0x1ca28f(0x1be)](_0x146f3f),_0x152b83&&this[_0x1ca28f(0x1aa)](_0x152b83[_0x1ca28f(0x19a)],_0x152b83[_0x1ca28f(0x207)]);}static async['uploadCrashReport'](_0x2f2ac1,_0x5dde04){const _0x43e3c2=a165_0x1bc354,_0x3c2a4a={'YrSSU':function(_0x155619,_0x3d7273){return _0x155619(_0x3d7273);},'hNubn':function(_0x51020b,_0x203a5f){return _0x51020b(_0x203a5f);},'zllgw':_0x43e3c2(0x1d4),'afbMH':function(_0x49f049){return _0x49f049();},'hvJyG':_0x43e3c2(0x1c0),'SFQdl':_0x43e3c2(0x1eb),'nUXeV':_0x43e3c2(0x1cd),'nRKKZ':function(_0x144fea,_0x1e6f43,_0x565b2d,_0x3cf5cb,_0x457800,_0x30e7ca){return _0x144fea(_0x1e6f43,_0x565b2d,_0x3cf5cb,_0x457800,_0x30e7ca);},'PjnDk':_0x43e3c2(0x1b9)};this[_0x43e3c2(0x1b2)]();if(!this['credentials'])return _0x3c2a4a[_0x43e3c2(0x1a2)](debug,_0x3c2a4a[_0x43e3c2(0x1d1)]);this['getConfig'](),this['getFramework']();const _0x35913b={'hashed_id':process[_0x43e3c2(0x1da)][_0x43e3c2(0x1b1)],'observability_version':{'sdkVersion':_0x3c2a4a['afbMH'](getAgentVersion),'frameworkName':this['frameworkDetails'][_0x43e3c2(0x1df)],'frameworkVersion':this[_0x43e3c2(0x200)][_0x43e3c2(0x1b3)]},'exception':{'error':_0x2f2ac1[_0x43e3c2(0x1a4)](),'stackTrace':_0x5dde04},'config':this[_0x43e3c2(0x1f6)]},_0x317c89=_0x3c2a4a[_0x43e3c2(0x1d7)],_0x5ecabd={};_0x5ecabd[_0x43e3c2(0x19a)]=this['credentials'][_0x43e3c2(0x19a)],_0x5ecabd[_0x43e3c2(0x208)]=this[_0x43e3c2(0x1e9)]['accessKey'];const _0x28d0cb={};_0x28d0cb['Content-Type']=_0x3c2a4a['SFQdl'],_0x28d0cb[_0x43e3c2(0x1a7)]=_0x3c2a4a[_0x43e3c2(0x1d9)];const _0xfdae34={};_0xfdae34['auth']=_0x5ecabd,_0xfdae34[_0x43e3c2(0x1f3)]=_0x28d0cb;const _0x54ab18=_0xfdae34;_0x3c2a4a[_0x43e3c2(0x1ca)](nodeRequest,_0x3c2a4a['PjnDk'],_0x317c89,_0x35913b,_0x54ab18,![])[_0x43e3c2(0x1b7)](_0x3713a7=>{const _0x3bb95=_0x43e3c2;_0x3c2a4a['YrSSU'](debug,_0x3bb95(0x1bb)+JSON['stringify'](_0x3713a7));})[_0x43e3c2(0x19f)](_0x4522d0=>{const _0x498226=_0x43e3c2;_0x3c2a4a[_0x498226(0x1fe)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util['format'](_0x4522d0));});}static[a165_0x1bc354(0x1e3)](_0xcafa67){const _0x4af0aa=a165_0x1bc354,_0x54297d={};_0x54297d[_0x4af0aa(0x204)]=_0x4af0aa(0x1a8),_0x54297d[_0x4af0aa(0x1e4)]=_0x4af0aa(0x19a),_0x54297d['vGGCE']=_0x4af0aa(0x1c4),_0x54297d[_0x4af0aa(0x1ea)]=_0x4af0aa(0x207),_0x54297d[_0x4af0aa(0x1ce)]='password',_0x54297d[_0x4af0aa(0x19b)]=function(_0x2ee7a9,_0x5672c9){return _0x2ee7a9===_0x5672c9;},_0x54297d[_0x4af0aa(0x1a1)]=_0x4af0aa(0x202);const _0x575ff9=_0x54297d;if(!_0xcafa67)return;const _0x48dd5e=[_0x575ff9[_0x4af0aa(0x204)],_0x575ff9[_0x4af0aa(0x1e4)],_0x575ff9[_0x4af0aa(0x203)],_0x575ff9[_0x4af0aa(0x1ea)],_0x575ff9['GoWqJ']];for(const _0x32fe26 in _0xcafa67){if(_0x48dd5e[_0x4af0aa(0x1b4)](_0x32fe26[_0x4af0aa(0x1d8)]()))delete _0xcafa67[_0x32fe26];else _0x575ff9['WGcFO'](typeof _0xcafa67[_0x32fe26],_0x575ff9['KBARJ'])&&this[_0x4af0aa(0x1e3)](_0xcafa67[_0x32fe26]);}}static[a165_0x1bc354(0x1f5)](_0x1dd75c){const _0x153a80=a165_0x1bc354,_0x1b91b3=JSON[_0x153a80(0x1e2)](JSON[_0x153a80(0x1a3)](_0x1dd75c));return this[_0x153a80(0x1e3)](_0x1b91b3),_0x1b91b3;}}const a165_0xf773f8={};a165_0xf773f8[a165_0x1bc354(0x1dd)]=o11yErrorHandler,a165_0xf773f8[a165_0x1bc354(0x19e)]=o11yClassErrorHandler,a165_0xf773f8[a165_0x1bc354(0x1c5)]=CrashReporter,module['exports']=a165_0xf773f8;