browserstack-node-sdk 1.57.0 → 1.57.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) 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 +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/caCertHelper.js +1 -1
  156. package/src/helpers/capsMapping.js +1 -1
  157. package/src/helpers/central-scanner/constants.js +1 -1
  158. package/src/helpers/central-scanner/helpers.js +1 -1
  159. package/src/helpers/classLogger.js +1 -1
  160. package/src/helpers/driverInitErrorReporter.js +1 -1
  161. package/src/helpers/globals.js +1 -1
  162. package/src/helpers/helper.js +1 -1
  163. package/src/helpers/logger.js +1 -1
  164. package/src/helpers/metadata.js +1 -1
  165. package/src/helpers/patchHelper.js +1 -1
  166. package/src/helpers/patchHelpers.js +1 -1
  167. package/src/helpers/percy/Percy.js +1 -1
  168. package/src/helpers/percy/PercyBinary.js +1 -1
  169. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  170. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  171. package/src/helpers/percy/PercySDK.js +1 -1
  172. package/src/helpers/percy/index.js +1 -1
  173. package/src/helpers/percy/utils.js +1 -1
  174. package/src/helpers/performance/constants.js +1 -1
  175. package/src/helpers/performance/performance-tester.js +1 -1
  176. package/src/helpers/playwright-helper.js +1 -1
  177. package/src/helpers/processHelper.js +1 -1
  178. package/src/helpers/puppeteer-helper.js +1 -1
  179. package/src/helpers/request-spy.js +1 -1
  180. package/src/helpers/setKeepAlive.js +1 -1
  181. package/src/helpers/stackFrameUtils.js +1 -1
  182. package/src/helpers/test-observability/constants.js +1 -1
  183. package/src/helpers/test-observability/error-handler.js +1 -1
  184. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  185. package/src/helpers/test-observability/sessionHandler.js +1 -1
  186. package/src/helpers/test-observability/utils.js +1 -1
  187. package/src/helpers/test-orchestration/constants.js +1 -1
  188. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  189. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  190. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  191. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  192. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  193. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  194. package/src/helpers/testhub/constants.js +1 -1
  195. package/src/helpers/testhub/testhubHandler.js +1 -1
  196. package/src/helpers/testhub/utils.js +1 -1
  197. package/src/helpers/timeoutPromise.js +1 -1
  198. package/src/helpers/utilities.js +1 -1
  199. package/src/helpers/w3cMapping.js +1 -1
  200. package/src/hubAllocationMethods.js +1 -1
  201. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a47_0x4c0b7d=a47_0xb0d7;(function(_0x335cf2,_0x20a325){const _0x2a2dce=a47_0xb0d7,_0x15b080=_0x335cf2();while(!![]){try{const _0x1997b7=-parseInt(_0x2a2dce(0x22a))/0x1*(-parseInt(_0x2a2dce(0x216))/0x2)+parseInt(_0x2a2dce(0x20c))/0x3+parseInt(_0x2a2dce(0x244))/0x4+parseInt(_0x2a2dce(0x1f3))/0x5+-parseInt(_0x2a2dce(0x248))/0x6*(parseInt(_0x2a2dce(0x207))/0x7)+-parseInt(_0x2a2dce(0x241))/0x8*(-parseInt(_0x2a2dce(0x209))/0x9)+parseInt(_0x2a2dce(0x1f9))/0xa*(-parseInt(_0x2a2dce(0x1f2))/0xb);if(_0x1997b7===_0x20a325)break;else _0x15b080['push'](_0x15b080['shift']());}catch(_0x56176d){_0x15b080['push'](_0x15b080['shift']());}}}(a47_0x4b27,0x1a5e7));const path=require(a47_0x4c0b7d(0x23d)),util=require(a47_0x4c0b7d(0x22e)),logger=require('../../helpers/logger'),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a47_0x4c0b7d(0x22d)),{o11yErrorHandler}=require(a47_0x4c0b7d(0x212)),AccessibilityHelper=require(a47_0x4c0b7d(0x22f)),PerformanceTester=require(a47_0x4c0b7d(0x201)),{O11y_EVENTS:PerformanceO11yEvents}=require(a47_0x4c0b7d(0x211)),BrowserstackCLI=require(a47_0x4c0b7d(0x20e)),CustomTagManager=require(a47_0x4c0b7d(0x218)),uploadAttachmentsManager=require(a47_0x4c0b7d(0x229)),{performScanWithRetry}=require(a47_0x4c0b7d(0x21d)),doo11ySync=PerformanceTester[a47_0x4c0b7d(0x214)](PerformanceO11yEvents[a47_0x4c0b7d(0x1f4)],o11yErrorHandler(async function doo11ySync(_0x33c52a){const _0x27dd26=a47_0x4c0b7d,_0x37425e={'buntt':function(_0x5d409e,_0x27358b,_0x5b6b66){return _0x5d409e(_0x27358b,_0x5b6b66);},'KwjJn':_0x27dd26(0x21a),'icEhs':'o11ySyncDone','pQICr':_0x27dd26(0x208),'MdEqD':'debug'};if(_0x37425e['buntt'](nestedKeyValue,global,[_0x37425e['KwjJn'],_0x37425e[_0x27dd26(0x233)]]))return;await _0x33c52a['evaluate'](_0x3605ca=>{},_0x27dd26(0x224)+JSON[_0x27dd26(0x1f7)]({'action':_0x37425e[_0x27dd26(0x23e)],'arguments':{'data':_0x27dd26(0x1f1)+Date[_0x27dd26(0x21f)](),'level':_0x37425e[_0x27dd26(0x21c)]}})),global[_0x27dd26(0x21a)][_0x27dd26(0x1fb)]=!![];},a47_0x4c0b7d(0x22b)));function a47_0x4b27(){const _0x5816be=['tBcCz','BrowserContext','path','pQICr','join','mJHEF','24WwKcIh','Unable\x20to\x20import\x20context\x20for\x20page','VfHXm','481588ulpUpH','bstackA11yShouldScan','KGvvu','lib','6nxZAVt','Dispatcher','ObservabilitySync:','275xyFXYH','160170PLmCjh','SYNC','format','fbLuQ','stringify','IKyoh','11450nHtuaU','IwGla','o11ySyncDone','_isWorkerRedundant','apply','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','uploadAttachment','getAccessibilityResults','../../helpers/performance/performance-tester','pwPage','mockContextNewPage','lpbhS','debug','stopA11yScanning','480648orrXyX','annotate','59742rjGDAd','0|1|3|2|4','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','70068ptMrsO','LiNbn','../v2/browserstackCLI','bstackA11yScanOptions','XbDNB','../../helpers/performance/constants','../../helpers/test-observability/error-handler','startA11yScanning','measureWrapper','defineProperty','2HFsoQf','browserContext.js','../v2/customTagManager','dmyPy','__workerDetails','runner/dispatcher.js','MdEqD','../../helpers/accessibility-automation/accessibilityRetryHelper','fkXnF','now','newPage','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getAccessibilityResultsSummary','env','browserstack_executor:\x20','performScan','cAKQJ','ixjot','BROWSERSTACK_TEST_OBSERVABILITY','../v2/uploadAttachmentsManager','9595qIfFvg','doo11ySync','uploadAttachments','../../helpers/helper','util','./accessibility-helper','fpwFX','znknb','mockIsWorkerRedundant','icEhs','isRunning','getInstance','setCustomTags','prototype','lhEZC','client','iIbZM'];a47_0x4b27=function(){return _0x5816be;};return a47_0x4b27();}function a47_0xb0d7(_0xbee123,_0x121f2b){const _0x4b27c8=a47_0x4b27();return a47_0xb0d7=function(_0xb0d726,_0x47313d){_0xb0d726=_0xb0d726-0x1f1;let _0x26a3df=_0x4b27c8[_0xb0d726];return _0x26a3df;},a47_0xb0d7(_0xbee123,_0x121f2b);}exports[a47_0x4c0b7d(0x203)]=()=>{const _0x30872f=a47_0x4c0b7d,_0xd94250={'lhEZC':function(_0x303b78,_0x40a21d,_0xc84304,_0x240e0f,_0x57691c,_0x162931){return _0x303b78(_0x40a21d,_0xc84304,_0x240e0f,_0x57691c,_0x162931);},'znknb':function(_0x2020c8,_0x268f48){return _0x2020c8||_0x268f48;},'IKyoh':function(_0x75f101,_0x35e8fc){return _0x75f101(_0x35e8fc);},'lpbhS':function(_0x4d7757,_0x21fe96){return _0x4d7757(_0x21fe96);},'fbLuQ':_0x30872f(0x20a),'LiNbn':function(_0x464de8,_0x5b2cac,_0x4f6180){return _0x464de8(_0x5b2cac,_0x4f6180);},'ixjot':_0x30872f(0x21a),'VfHXm':_0x30872f(0x247),'fpwFX':_0x30872f(0x239),'iIbZM':_0x30872f(0x217),'fkXnF':function(_0x5c76c8,_0x1d03ae){return _0x5c76c8(_0x1d03ae);},'dmyPy':_0x30872f(0x242),'XbDNB':'newPage'},_0x1ed07d=path[_0x30872f(0x23f)](_0xd94250[_0x30872f(0x243)],_0xd94250[_0x30872f(0x230)],_0xd94250[_0x30872f(0x23a)]),_0x17904b=_0xd94250[_0x30872f(0x21e)](importFileFromPWCore,_0x1ed07d);if(!_0x17904b){logger[_0x30872f(0x205)](_0xd94250[_0x30872f(0x219)]);return;}const _0x1c99d2=_0x17904b[_0x30872f(0x23c)],_0x8d0f38=_0x1c99d2[_0x30872f(0x237)],_0x11bda6=_0x8d0f38[_0x30872f(0x220)];Object[_0x30872f(0x215)](_0x8d0f38,_0xd94250[_0x30872f(0x210)],{'get':function(){return async function _0x4f361f(){const _0x2f3fd7=a47_0xb0d7,_0x37b03={'tBcCz':function(_0x495625,_0xa80815,_0x38359b,_0x27dcef,_0x5ae149,_0x26334f){const _0x4ea5f3=a47_0xb0d7;return _0xd94250[_0x4ea5f3(0x238)](_0x495625,_0xa80815,_0x38359b,_0x27dcef,_0x5ae149,_0x26334f);},'IwGla':function(_0x3be1fd,_0x49deaf){const _0xe9a9fa=a47_0xb0d7;return _0xd94250[_0xe9a9fa(0x231)](_0x3be1fd,_0x49deaf);}},_0x367583=await _0x11bda6['apply'](this,arguments);try{!BrowserstackCLI['getInstance']()[_0x2f3fd7(0x234)]()&&!_0xd94250[_0x2f3fd7(0x1f8)](isFalse,process[_0x2f3fd7(0x223)][_0x2f3fd7(0x228)])&&await _0xd94250[_0x2f3fd7(0x1f8)](doo11ySync,_0x367583);BrowserstackCLI[_0x2f3fd7(0x235)]()[_0x2f3fd7(0x234)]()&&(_0x367583[_0x2f3fd7(0x236)]=async(_0x2dab59,_0x374d01,_0x23cc5b=![])=>{await CustomTagManager['setCustomTags'](_0x2dab59,_0x374d01,_0x23cc5b);},_0x367583[_0x2f3fd7(0x1ff)]=async(_0x2ff851,_0x1a62b8=![])=>{const _0x4941a1=_0x2f3fd7;await uploadAttachmentsManager[_0x4941a1(0x22c)](_0x2ff851,_0x1a62b8);});if(!_0xd94250[_0x2f3fd7(0x204)](isFalse,process['env'][_0x2f3fd7(0x221)])){const _0x17f92a=_0xd94250[_0x2f3fd7(0x1f6)]['split']('|');let _0x287b19=0x0;while(!![]){switch(_0x17f92a[_0x287b19++]){case'0':_0x367583[_0x2f3fd7(0x200)]=async()=>{const _0x3253d4=_0x2f3fd7;return await AccessibilityHelper[_0x3253d4(0x200)](_0x367583);};continue;case'1':_0x367583[_0x2f3fd7(0x222)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x367583);};continue;case'2':_0x367583[_0x2f3fd7(0x213)]=async _0x43da90=>{const _0x483b34=_0x2f3fd7;global['bstackA11yShouldScan']=!![],global[_0x483b34(0x20f)]=_0x37b03[_0x483b34(0x1fa)](_0x43da90,null);};continue;case'3':_0x367583[_0x2f3fd7(0x225)]=async _0x1e4086=>{const _0x19d84f=_0x2f3fd7;return await _0x37b03[_0x19d84f(0x23b)](performScanWithRetry,_0x367583,null,null,!![],_0x1e4086);};continue;case'4':_0x367583[_0x2f3fd7(0x206)]=async()=>{const _0xa92db2=_0x2f3fd7;global[_0xa92db2(0x245)]=![],global[_0xa92db2(0x20f)]=null;};continue;}break;}}}catch(_0x16e0bd){logger['debug'](_0x2f3fd7(0x20b)+util[_0x2f3fd7(0x1f5)](_0x16e0bd));}return _0xd94250[_0x2f3fd7(0x20d)](nestedKeyValue,global,[_0xd94250[_0x2f3fd7(0x227)]])&&(global[_0x2f3fd7(0x21a)][_0x2f3fd7(0x202)]=_0x367583),_0x367583;};}});},exports[a47_0x4c0b7d(0x232)]=()=>{const _0x38c2c9=a47_0x4c0b7d,_0x1b4e54={'mJHEF':function(_0x2cc6c5,_0x12dd00){return _0x2cc6c5(_0x12dd00);},'cAKQJ':_0x38c2c9(0x21b),'woEXJ':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','KGvvu':_0x38c2c9(0x1fc)};try{const _0x37ac31=requirePWModule[_0x38c2c9(0x1fd)](null,_0x1b4e54[_0x38c2c9(0x240)](getPlaywrightLibPath,_0x1b4e54[_0x38c2c9(0x226)]));if(!_0x37ac31){logger[_0x38c2c9(0x205)](_0x1b4e54['woEXJ']);return;}const _0x2157e6=_0x37ac31[_0x38c2c9(0x249)],_0x29a4d1=_0x2157e6[_0x38c2c9(0x237)],_0x84e496=_0x29a4d1[_0x38c2c9(0x1fc)];Object[_0x38c2c9(0x215)](_0x29a4d1,_0x1b4e54[_0x38c2c9(0x246)],{'get':function(){return function _0x29f793(){const _0x23df76=a47_0xb0d7;return _0x84e496[_0x23df76(0x1fd)](this,arguments),!![];};}});}catch(_0x558e4b){logger[_0x38c2c9(0x205)](_0x38c2c9(0x1fe)+util[_0x38c2c9(0x1f5)](_0x558e4b));}};
1
+ function a47_0x3070(){const _0x2e8a2f=['Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','iszAf','split','422158JDCtOz','prototype','NQCex','dweSg','_isWorkerRedundant','startA11yScanning','3862251DsLobI','newPage','getInstance','../../helpers/test-observability/error-handler','xnach','lGpAk','pwPage','../../helpers/performance/constants','Unable\x20to\x20import\x20context\x20for\x20page','ihrdl','471zVJIYC','o11ySyncDone','ccKVf','FfeLM','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','../../helpers/helper','20321ESgxps','runner/dispatcher.js','hiual','616sbDqGg','618exomwF','bstackA11yShouldScan','Cofhk','stopA11yScanning','defineProperty','lib','415310GvkBcJ','AKKSi','HQOep','GbwUt','2671780NANDZh','bstackA11yScanOptions','setCustomTags','performScan','join','2209816tRkeYS','__workerDetails','env','./accessibility-helper','XztDZ','mockContextNewPage','SYNC','BROWSERSTACK_TEST_OBSERVABILITY','8blrkrm','ETQdT','evaluate','client','TbkeI','../v2/browserstackCLI','Uyzcp','rYqRg','Pycuo','debug','util','browserstack_executor:\x20','ObservabilitySync:','4670MzJqQV','../../helpers/performance/performance-tester','mockIsWorkerRedundant','../v2/customTagManager','MECSk','tnUDL','apply','path','isRunning','now','PRFfO','uploadAttachments','doo11ySync','../v2/uploadAttachmentsManager'];a47_0x3070=function(){return _0x2e8a2f;};return a47_0x3070();}const a47_0x35ce4c=a47_0xf27e;(function(_0x3680bf,_0xc6d318){const _0x394879=a47_0xf27e,_0x190846=_0x3680bf();while(!![]){try{const _0x25178e=-parseInt(_0x394879(0x19f))/0x1+-parseInt(_0x394879(0x1dd))/0x2*(parseInt(_0x394879(0x1af))/0x3)+-parseInt(_0x394879(0x1c8))/0x4+-parseInt(_0x394879(0x1c3))/0x5+parseInt(_0x394879(0x1b9))/0x6*(parseInt(_0x394879(0x1b5))/0x7)+parseInt(_0x394879(0x1d0))/0x8*(-parseInt(_0x394879(0x1a5))/0x9)+-parseInt(_0x394879(0x1bf))/0xa*(-parseInt(_0x394879(0x1b8))/0xb);if(_0x25178e===_0xc6d318)break;else _0x190846['push'](_0x190846['shift']());}catch(_0x226868){_0x190846['push'](_0x190846['shift']());}}}(a47_0x3070,0x4e22b));const path=require(a47_0x35ce4c(0x195)),util=require(a47_0x35ce4c(0x1da)),logger=require('../../helpers/logger'),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a47_0x35ce4c(0x1b4)),{o11yErrorHandler}=require(a47_0x35ce4c(0x1a8)),AccessibilityHelper=require(a47_0x35ce4c(0x1cb)),PerformanceTester=require(a47_0x35ce4c(0x18f)),{O11y_EVENTS:PerformanceO11yEvents}=require(a47_0x35ce4c(0x1ac)),BrowserstackCLI=require(a47_0x35ce4c(0x1d5)),CustomTagManager=require(a47_0x35ce4c(0x191)),uploadAttachmentsManager=require(a47_0x35ce4c(0x19b)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a47_0x35ce4c(0x1ce)],o11yErrorHandler(async function doo11ySync(_0x59aacd){const _0x31570e=a47_0x35ce4c,_0x3dddda={'XztDZ':function(_0x317f83,_0x3b781e,_0x1068ca){return _0x317f83(_0x3b781e,_0x1068ca);},'Uyzcp':_0x31570e(0x1c9),'iszAf':_0x31570e(0x1b0),'ihrdl':'annotate','HQOep':_0x31570e(0x1d9)};if(_0x3dddda[_0x31570e(0x1cc)](nestedKeyValue,global,[_0x3dddda[_0x31570e(0x1d6)],_0x3dddda[_0x31570e(0x19d)]]))return;await _0x59aacd[_0x31570e(0x1d2)](_0x45e32a=>{},_0x31570e(0x1db)+JSON['stringify']({'action':_0x3dddda[_0x31570e(0x1ae)],'arguments':{'data':_0x31570e(0x1dc)+Date[_0x31570e(0x197)](),'level':_0x3dddda[_0x31570e(0x1c1)]}})),global[_0x31570e(0x1c9)][_0x31570e(0x1b0)]=!![];},a47_0x35ce4c(0x19a)));function a47_0xf27e(_0x38720b,_0x486d67){const _0x307063=a47_0x3070();return a47_0xf27e=function(_0xf27eb5,_0x3e4355){_0xf27eb5=_0xf27eb5-0x18f;let _0xfd6b4=_0x307063[_0xf27eb5];return _0xfd6b4;},a47_0xf27e(_0x38720b,_0x486d67);}exports[a47_0x35ce4c(0x1cd)]=()=>{const _0x2230b9=a47_0x35ce4c,_0x1de321={'AKKSi':function(_0xfd36d7,_0x3c41f1){return _0xfd36d7||_0x3c41f1;},'FfeLM':function(_0x492718,_0x1d22d5){return _0x492718(_0x1d22d5);},'pwiWN':function(_0xc9283a,_0x762f5b){return _0xc9283a(_0x762f5b);},'rYqRg':'2|4|1|3|0','MECSk':function(_0x1d3977,_0x2ffd93,_0x11d9e6){return _0x1d3977(_0x2ffd93,_0x11d9e6);},'Cofhk':_0x2230b9(0x1c9),'NQCex':function(_0x5d39a1,_0x38da38,_0x55a905,_0x40f94f,_0x15b0da,_0x280e1c){return _0x5d39a1(_0x38da38,_0x55a905,_0x40f94f,_0x15b0da,_0x280e1c);},'lGpAk':_0x2230b9(0x1be),'ccKVf':_0x2230b9(0x1d3),'xnach':'browserContext.js','TbkeI':function(_0x1d6786,_0x19a89e){return _0x1d6786(_0x19a89e);},'IOwYp':_0x2230b9(0x1ad),'PRFfO':_0x2230b9(0x1a6)},_0x15d82d=path[_0x2230b9(0x1c7)](_0x1de321[_0x2230b9(0x1aa)],_0x1de321[_0x2230b9(0x1b1)],_0x1de321[_0x2230b9(0x1a9)]),_0x13ec20=_0x1de321[_0x2230b9(0x1d4)](importFileFromPWCore,_0x15d82d);if(!_0x13ec20){logger[_0x2230b9(0x1d9)](_0x1de321['IOwYp']);return;}const _0x41b9f2=_0x13ec20['BrowserContext'],_0x49cda2=_0x41b9f2[_0x2230b9(0x1a0)],_0x4b36b1=_0x49cda2[_0x2230b9(0x1a6)];Object[_0x2230b9(0x1bd)](_0x49cda2,_0x1de321[_0x2230b9(0x198)],{'get':function(){const _0x49ef68={'GbwUt':function(_0x3d0ea8,_0x5117a9,_0x3cbd6e,_0xf31acf,_0x1b25a4,_0x4cd064){const _0x4824d6=a47_0xf27e;return _0x1de321[_0x4824d6(0x1a1)](_0x3d0ea8,_0x5117a9,_0x3cbd6e,_0xf31acf,_0x1b25a4,_0x4cd064);}};return async function _0x4cb5f2(){const _0x4e8e38=a47_0xf27e,_0x5c2f44={'dweSg':function(_0x16e0a0,_0x4727ce){const _0x13129a=a47_0xf27e;return _0x1de321[_0x13129a(0x1c0)](_0x16e0a0,_0x4727ce);}},_0x81f699=await _0x4b36b1[_0x4e8e38(0x194)](this,arguments);try{!BrowserstackCLI['getInstance']()['isRunning']()&&!_0x1de321[_0x4e8e38(0x1b2)](isFalse,process[_0x4e8e38(0x1ca)][_0x4e8e38(0x1cf)])&&await _0x1de321[_0x4e8e38(0x1b2)](doo11ySync,_0x81f699);BrowserstackCLI[_0x4e8e38(0x1a7)]()[_0x4e8e38(0x196)]()&&(_0x81f699[_0x4e8e38(0x1c5)]=async(_0x3f5ece,_0x2a9c56,_0x531b57=![])=>{const _0x2a1fc3=_0x4e8e38;await CustomTagManager[_0x2a1fc3(0x1c5)](_0x3f5ece,_0x2a9c56,_0x531b57);},_0x81f699['uploadAttachment']=async(_0xe8547a,_0x443e16=![])=>{const _0x528318=_0x4e8e38;await uploadAttachmentsManager[_0x528318(0x199)](_0xe8547a,_0x443e16);});if(!_0x1de321['pwiWN'](isFalse,process[_0x4e8e38(0x1ca)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])){const _0x58bf48=_0x1de321[_0x4e8e38(0x1d7)][_0x4e8e38(0x19e)]('|');let _0x254ca1=0x0;while(!![]){switch(_0x58bf48[_0x254ca1++]){case'0':_0x81f699[_0x4e8e38(0x1bc)]=async()=>{const _0x116719=_0x4e8e38;global[_0x116719(0x1ba)]=![],global[_0x116719(0x1c4)]=null;};continue;case'1':_0x81f699[_0x4e8e38(0x1c6)]=async _0x52c7c9=>{const _0x38ef27=_0x4e8e38;return await _0x49ef68[_0x38ef27(0x1c2)](performScanWithRetry,_0x81f699,null,null,!![],_0x52c7c9);};continue;case'2':_0x81f699['getAccessibilityResults']=async()=>{return await AccessibilityHelper['getAccessibilityResults'](_0x81f699);};continue;case'3':_0x81f699[_0x4e8e38(0x1a4)]=async _0x34b15d=>{const _0x5d45a0=_0x4e8e38;global[_0x5d45a0(0x1ba)]=!![],global[_0x5d45a0(0x1c4)]=_0x5c2f44[_0x5d45a0(0x1a2)](_0x34b15d,null);};continue;case'4':_0x81f699['getAccessibilityResultsSummary']=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x81f699);};continue;}break;}}}catch(_0x2f0b6e){logger[_0x4e8e38(0x1d9)](_0x4e8e38(0x1b3)+util['format'](_0x2f0b6e));}return _0x1de321[_0x4e8e38(0x192)](nestedKeyValue,global,[_0x1de321[_0x4e8e38(0x1bb)]])&&(global[_0x4e8e38(0x1c9)][_0x4e8e38(0x1ab)]=_0x81f699),_0x81f699;};}});},exports[a47_0x35ce4c(0x190)]=()=>{const _0xe87f12=a47_0x35ce4c,_0x41dc6a={'Pycuo':function(_0x544b3e,_0x65519e){return _0x544b3e(_0x65519e);},'hiual':_0xe87f12(0x1b6),'ETQdT':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','tnUDL':_0xe87f12(0x1a3)};try{const _0x541a05=requirePWModule[_0xe87f12(0x194)](null,_0x41dc6a[_0xe87f12(0x1d8)](getPlaywrightLibPath,_0x41dc6a[_0xe87f12(0x1b7)]));if(!_0x541a05){logger[_0xe87f12(0x1d9)](_0x41dc6a[_0xe87f12(0x1d1)]);return;}const _0x1faea7=_0x541a05['Dispatcher'],_0x1a78b0=_0x1faea7[_0xe87f12(0x1a0)],_0x7f97cc=_0x1a78b0[_0xe87f12(0x1a3)];Object[_0xe87f12(0x1bd)](_0x1a78b0,_0x41dc6a[_0xe87f12(0x193)],{'get':function(){return function _0x1b4d45(){const _0x95c3f=a47_0xf27e;return _0x7f97cc[_0x95c3f(0x194)](this,arguments),!![];};}});}catch(_0x79a7d5){logger[_0xe87f12(0x1d9)](_0xe87f12(0x19c)+util['format'](_0x79a7d5));}};
@@ -1 +1 @@
1
- const a48_0x5d6d6f=a48_0x4880;(function(_0x3c26b1,_0x49d56d){const _0x2b6ccc=a48_0x4880,_0x21d36b=_0x3c26b1();while(!![]){try{const _0x3c02ee=-parseInt(_0x2b6ccc(0x22c))/0x1*(parseInt(_0x2b6ccc(0x223))/0x2)+parseInt(_0x2b6ccc(0x219))/0x3+-parseInt(_0x2b6ccc(0x264))/0x4*(-parseInt(_0x2b6ccc(0x206))/0x5)+parseInt(_0x2b6ccc(0x275))/0x6*(parseInt(_0x2b6ccc(0x1eb))/0x7)+-parseInt(_0x2b6ccc(0x218))/0x8*(parseInt(_0x2b6ccc(0x26e))/0x9)+parseInt(_0x2b6ccc(0x21f))/0xa*(parseInt(_0x2b6ccc(0x23f))/0xb)+parseInt(_0x2b6ccc(0x282))/0xc*(-parseInt(_0x2b6ccc(0x273))/0xd);if(_0x3c02ee===_0x49d56d)break;else _0x21d36b['push'](_0x21d36b['shift']());}catch(_0x58ed19){_0x21d36b['push'](_0x21d36b['shift']());}}}(a48_0x27fb,0x9d54a));function a48_0x4880(_0x4079b5,_0x423138){const _0x27fbf3=a48_0x27fb();return a48_0x4880=function(_0x48803a,_0x268769){_0x48803a=_0x48803a-0x1e8;let _0x5cb12d=_0x27fbf3[_0x48803a];return _0x5cb12d;},a48_0x4880(_0x4079b5,_0x423138);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a48_0x5d6d6f(0x21b)),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a48_0x5d6d6f(0x23a)),helper=require('../../../helpers/helper'),path=require('path'),logger=require('../../../helpers/logger')[a48_0x5d6d6f(0x27d)],SessionHandler=require(a48_0x5d6d6f(0x226)),TestDetails=require(a48_0x5d6d6f(0x28e)),util=require('util'),TestInfo=require(a48_0x5d6d6f(0x220));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x4a1e2d=a48_0x5d6d6f,_0x352fee={'tBFAV':function(_0x49b61d,_0x43b708){return _0x49b61d(_0x43b708);},'gwUMp':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x352fee[_0x4a1e2d(0x284)](require,_0x352fee[_0x4a1e2d(0x278)])),BrowserstackCLIInstance;}function a48_0x27fb(){const _0x57f89d=['uaYmp','\x20in\x20attachments','basename','1.38.0','lXUhA','attachments','@playwright/test','YwMSz','gOPmK','OyDKz','VtmxK','sDeJT','jJyUZ','test','HNeHI','getProjectUtilsPath','ofePa','YSFxA','nLaKc','createReadStream','.json','106450MLJJxB','onStepEnd','QAfaF','stopAndGenerate','ClFBI','validateFilePath','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','getLoadUtilsPath','playwright/lib/common/configLoader.js','1.35.0','Test\x20timeout\x20of','nEgUC','name','VfSeA','afterWorkerHook','format','sendTraceZip','LogCreated','56JmvPyB','2196864oKGTsE','KDsxK','../../../helpers/test-observability/utils','UDcax','@playwright/test/lib/common/configLoader.js','performance-report-worker-','496710EjAKjZ','../../v2/TestInfo','lib','onTestEnd','10BtWvNV','doo11ySync','slice','../../../helpers/test-observability/sessionHandler','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','getTestTags','prototype','path','wEmok','190738KXzFxs','sxPFF','rkQns','title','\x20bytes','ispDJ','Error\x20in\x20sending\x20trace\x20file:\x20%s','Trace\x20enabled','beforeWorkerHook','VplxG','includes','lsjAQ','TafCZ','hjYWJ','../../../helpers/test-observability/constants','ghEVG','uGraH','IMRIN','TEST_ATTACHMENT','253kZULCJ','rkNEs','aCJAO','getPlaywrightLibPath','Arguments','Cxqdw','FLaRh','SoxbH','jZDkM','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','extname','debug','process.js','sendTestLog','kEWdQ','match','YcMxC','llqxr','CjuYY','sendSessionDetails','IYAMf','CdjJM','beforeTestHook','compareVersions','tags','onStepBegin','EBrRf','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','KcdAx','aRofu','calculatePerformance','size','resolve','playwright/lib/transform/transform.js','BdPmZ','pvCfV','playwright','156BzhJOO','Searching\x20for\x20key:\x20','@playwright/test/lib/common/transform.js','requestSpyCallback','length','map','qomfj','afterTestHook','addTraceFilePath','UbYvV','1498383sluOxh','Found\x20key:\x20','uploadTraceZip','filter','join','65DmRenX','endSession','2925534iDidxi','isRunning','runner/projectUtils.js','gwUMp','TPzEu','runner/loadUtils.js','rBcLL','\x20in\x20arguments','winstonLogger','START_TIME','.zip','IVnhr','onTestBegin','1029828bUTykW','startsWith','tBFAV','findNestedKey','env','wsVOa','getFailureData','toISOString','stack','Percentage\x20of\x20increased\x20time\x20is\x20','processPageScreenshot','wIzSJ','./test-details','VehAt','EggHh','getTestRunIdentifier','fMoZs','bFYUf','error','7uJugDR','PLAYWRIGHT','performance-reporter.html','message','hueie','getTime'];a48_0x27fb=function(){return _0x57f89d;};return a48_0x27fb();}const getTagsFromTitle=_0x57333a=>{const _0x5f5714=a48_0x5d6d6f;return _0x57333a[_0x5f5714(0x24e)](/@(\w+)/g)?.[_0x5f5714(0x269)](_0x81fc41=>_0x81fc41[_0x5f5714(0x225)](0x1))||[];};exports[a48_0x5d6d6f(0x228)]=_0x45d149=>{const _0x513b8a=a48_0x5d6d6f,_0x44b673={'GvxrS':function(_0x208172,_0x4aa4dd){return _0x208172(_0x4aa4dd);}};if(_0x45d149[_0x513b8a(0x257)])return _0x45d149['tags'][_0x513b8a(0x269)](_0x29050f=>_0x29050f['startsWith']('@')?_0x29050f['substr'](0x1):_0x29050f);return _0x44b673['GvxrS'](getTagsFromTitle,_0x45d149[_0x513b8a(0x22f)]);},exports[a48_0x5d6d6f(0x25d)]=async()=>{const _0x1d9d7f=a48_0x5d6d6f,_0x53d091={'EggHh':function(_0x199017,_0x4584c8){return _0x199017-_0x4584c8;},'IVnhr':_0x1d9d7f(0x1ed),'YSFxA':'onBegin','ClFBI':_0x1d9d7f(0x274),'CdjJM':_0x1d9d7f(0x281),'YwMSz':_0x1d9d7f(0x222),'fJogk':_0x1d9d7f(0x258),'QAfaF':_0x1d9d7f(0x207),'OyDKz':_0x1d9d7f(0x234),'GjRfs':_0x1d9d7f(0x214),'KDsxK':_0x1d9d7f(0x255),'FLaRh':_0x1d9d7f(0x26b),'prmgw':_0x1d9d7f(0x224),'nEgUC':_0x1d9d7f(0x28c),'hueie':_0x1d9d7f(0x252),'sbAtv':'setupBrowserDetails','yBRTi':_0x1d9d7f(0x267),'pvCfV':_0x1d9d7f(0x24c),'bFYUf':function(_0x23745e,_0x26fc8d){return _0x23745e(_0x26fc8d);},'gOPmK':function(_0x5c6f39,_0x2e8eff){return _0x5c6f39/_0x2e8eff;},'uGraH':function(_0x486ee0,_0x5360bf){return _0x486ee0+_0x5360bf;},'aRofu':function(_0x307f2b,_0x53a2dd){return _0x307f2b*_0x53a2dd;}};if(!process[_0x1d9d7f(0x286)][_0x1d9d7f(0x27e)])return;const _0x4abdd9=_0x53d091[_0x1d9d7f(0x290)](new Date()[_0x1d9d7f(0x1f0)](),new Date(process['env'][_0x1d9d7f(0x27e)])[_0x1d9d7f(0x1f0)]()),_0x41afeb=await PerformanceTester[_0x1d9d7f(0x209)](_0x53d091[_0x1d9d7f(0x280)],[_0x53d091[_0x1d9d7f(0x202)],_0x53d091[_0x1d9d7f(0x20a)],_0x53d091[_0x1d9d7f(0x254)],_0x53d091[_0x1d9d7f(0x1f8)],_0x53d091['fJogk'],_0x53d091[_0x1d9d7f(0x208)]]),_0x1f2fe3=fs['readdirSync']('.'),_0x4c7670=_0x1f2fe3[_0x1d9d7f(0x271)](_0x490a79=>_0x490a79[_0x1d9d7f(0x283)](_0x1d9d7f(0x21e))&&_0x490a79['endsWith'](_0x1d9d7f(0x205))),_0x4f8357=await PerformanceTester['calculateTimesFromMultipleFiles'](_0x4c7670,[_0x53d091[_0x1d9d7f(0x1fa)],_0x53d091['GjRfs'],_0x53d091[_0x1d9d7f(0x21a)],_0x53d091[_0x1d9d7f(0x245)],_0x53d091['prmgw'],_0x53d091[_0x1d9d7f(0x211)],_0x53d091[_0x1d9d7f(0x1ef)],_0x53d091['sbAtv'],_0x53d091['yBRTi'],_0x53d091[_0x1d9d7f(0x262)]]);_0x53d091[_0x1d9d7f(0x1e9)](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x53d091[_0x1d9d7f(0x1f9)](_0x4abdd9,0x3e8)+'\x20s'),_0x53d091[_0x1d9d7f(0x1e9)](debug,_0x1d9d7f(0x20c)+_0x53d091[_0x1d9d7f(0x23c)](_0x4f8357,_0x41afeb)),_0x53d091['bFYUf'](debug,_0x1d9d7f(0x28b)+_0x53d091[_0x1d9d7f(0x25c)](_0x53d091[_0x1d9d7f(0x1f9)](_0x53d091['uGraH'](_0x4f8357,_0x41afeb),_0x4abdd9),0x64));},exports['getTransformPath']=()=>{const _0x39b73c=a48_0x5d6d6f,_0x1a19aa={'IMRIN':function(_0x5da32e,_0x34c850){return _0x5da32e(_0x34c850);},'jJyUZ':function(_0x277487,_0x49969a){return _0x277487>=_0x49969a;},'LHwrS':_0x39b73c(0x1f4),'jZDkM':_0x39b73c(0x260),'VplxG':_0x39b73c(0x263),'nLaKc':function(_0x5721a8,_0x2992e7){return _0x5721a8>=_0x2992e7;},'rkQns':_0x39b73c(0x20f),'eHTbV':'@playwright/test/lib/transform/transform.js','hjYWJ':_0x39b73c(0x1f7),'aCJAO':_0x39b73c(0x266)},_0x2dc5fb=_0x1a19aa[_0x39b73c(0x23d)](getFrameworkVersion,FRAMEWORKS[_0x39b73c(0x1ec)]);if(_0x1a19aa[_0x39b73c(0x1fd)](helper[_0x39b73c(0x256)](_0x2dc5fb,_0x1a19aa['LHwrS']),0x0))return[_0x1a19aa[_0x39b73c(0x247)],_0x1a19aa[_0x39b73c(0x235)]];if(_0x1a19aa[_0x39b73c(0x203)](helper[_0x39b73c(0x256)](_0x2dc5fb,_0x1a19aa[_0x39b73c(0x22e)]),0x0))return[_0x1a19aa['eHTbV'],_0x1a19aa[_0x39b73c(0x239)]];return[_0x1a19aa[_0x39b73c(0x241)],_0x1a19aa[_0x39b73c(0x239)]];},exports['getConfigLoaderPath']=()=>{const _0x4f94c7=a48_0x5d6d6f,_0x41f982={'ydOfa':function(_0x3bff10,_0x13355b){return _0x3bff10(_0x13355b);},'ispDJ':function(_0x1b969d,_0x880037){return _0x1b969d>=_0x880037;},'Cxqdw':'1.38.0','iqptG':_0x4f94c7(0x20e),'uaYmp':'playwright','fMoZs':_0x4f94c7(0x21d),'UDcax':'@playwright/test'},_0x54c585=_0x41f982['ydOfa'](getFrameworkVersion,FRAMEWORKS[_0x4f94c7(0x1ec)]);if(_0x41f982[_0x4f94c7(0x231)](helper[_0x4f94c7(0x256)](_0x54c585,_0x41f982[_0x4f94c7(0x244)]),0x0))return[_0x41f982['iqptG'],_0x41f982[_0x4f94c7(0x1f1)]];return[_0x41f982[_0x4f94c7(0x1e8)],_0x41f982[_0x4f94c7(0x21c)]];},exports[a48_0x5d6d6f(0x20d)]=()=>{const _0x535a12=a48_0x5d6d6f,_0x307f12={};_0x307f12[_0x535a12(0x201)]=_0x535a12(0x27a);const _0x539b77=_0x307f12;return helper['getPlaywrightLibPath'](_0x539b77[_0x535a12(0x201)]);},exports[a48_0x5d6d6f(0x200)]=()=>{const _0x81b169=a48_0x5d6d6f,_0x517c5c={};_0x517c5c[_0x81b169(0x259)]=_0x81b169(0x277);const _0x48740c=_0x517c5c;return helper[_0x81b169(0x242)](_0x48740c[_0x81b169(0x259)]);},exports['getForkProcessPath']=()=>{const _0x3a2332=a48_0x5d6d6f,_0x14eb60={'rkNEs':function(_0x21d6aa,_0x4c843d){return _0x21d6aa(_0x4c843d);},'HNeHI':function(_0x52faa6,_0x1520dc){return _0x52faa6>=_0x1520dc;},'sxPFF':'1.38.0','vQBfl':_0x3a2332(0x221),'ghEVG':'common','CjuYY':_0x3a2332(0x24b),'VfSeA':_0x3a2332(0x1fe)},_0x2a7d42=_0x14eb60[_0x3a2332(0x240)](getFrameworkVersion,FRAMEWORKS[_0x3a2332(0x1ec)]);if(_0x14eb60[_0x3a2332(0x1ff)](helper[_0x3a2332(0x256)](_0x2a7d42,_0x14eb60[_0x3a2332(0x22d)]),0x0))return path[_0x3a2332(0x272)](_0x14eb60['vQBfl'],_0x14eb60[_0x3a2332(0x23b)],_0x14eb60[_0x3a2332(0x251)]);return path[_0x3a2332(0x272)](_0x14eb60[_0x3a2332(0x213)],_0x14eb60['vQBfl'],_0x14eb60['ghEVG'],_0x14eb60[_0x3a2332(0x251)]);},exports[a48_0x5d6d6f(0x288)]=(_0x259947,{test_run_uuid:_0xb49516})=>{const _0x101638=a48_0x5d6d6f,_0x1456bf={'YcMxC':'ERROR','VtmxK':'TEST_LOG','qomfj':function(_0x30894d,_0x532dd2){return _0x30894d<=_0x532dd2;},'wsVOa':function(_0x4703dc,_0x422d3d){return _0x4703dc(_0x422d3d);},'kElbZ':_0x101638(0x210),'iGAlj':function(_0x38c14c,_0x2d1fd3){return _0x38c14c>=_0x2d1fd3;},'TafCZ':'1.42.0','AoePp':function(_0x383814,_0x28bf6d){return _0x383814>_0x28bf6d;},'llqxr':function(_0x366652,_0x5508f6){return _0x366652(_0x5508f6);},'IYAMf':function(_0x349468,_0x34829a,_0x3b52d9){return _0x349468(_0x34829a,_0x3b52d9);},'KcdAx':_0x101638(0x1fe)};if(!_0x259947||_0x1456bf[_0x101638(0x26a)](_0x259947[_0x101638(0x268)],0x0))return[];const _0x33fdd5=_0x1456bf['wsVOa'](removeAnsiColors,_0x259947[0x0][_0x101638(0x1ee)]);if(_0x33fdd5[_0x101638(0x283)](_0x1456bf['kElbZ'])){const _0x40f563=_0x259947[0x0],_0xf9da87=_0x1456bf[_0x101638(0x287)](getFrameworkVersion,FRAMEWORKS[_0x101638(0x1ec)]);if((!_0x40f563['stack']||_0x1456bf['iGAlj'](_0xf9da87,_0x1456bf[_0x101638(0x238)]))&&_0x1456bf['AoePp'](_0x259947['length'],0x1))return{'failureData':[{'backtrace':[_0x33fdd5,_0x1456bf[_0x101638(0x250)](removeAnsiColors,_0x259947[0x1][_0x101638(0x28a)])]}],'logs':_0x259947[_0x101638(0x225)](0x2)[_0x101638(0x269)](_0x575abf=>{const _0xc02f3d=_0x101638;return{'timestamp':new Date()[_0xc02f3d(0x289)](),'level':_0x1456bf[_0xc02f3d(0x24f)],'message':''+_0x575abf['message'],'kind':_0x1456bf[_0xc02f3d(0x1fb)],'http_response':{},'test_run_uuid':_0xb49516};})};}return{'failureData':_0x1456bf[_0x101638(0x253)](failureData,_0x259947,_0x1456bf[_0x101638(0x25b)]),'logs':[]};},exports['validateFilePath']=_0x1e6d6c=>{const _0x282370=a48_0x5d6d6f,_0x4660dd={};_0x4660dd[_0x282370(0x28d)]=function(_0x367261,_0xebb2de){return _0x367261!==_0xebb2de;},_0x4660dd['lXUhA']=_0x282370(0x27f),_0x4660dd[_0x282370(0x246)]=function(_0x103a5d,_0x352f31){return _0x103a5d>_0x352f31;};const _0x28ef04=_0x4660dd;if(_0x1e6d6c&&fs['existsSync'](_0x1e6d6c)){if(_0x28ef04[_0x282370(0x28d)](path[_0x282370(0x249)](_0x1e6d6c)['toLowerCase'](),_0x28ef04[_0x282370(0x1f5)]))return logger[_0x282370(0x1ea)](_0x282370(0x227)+_0x1e6d6c),![];const _0x131778=fs['statSync'](_0x1e6d6c)[_0x282370(0x25e)];if(_0x28ef04[_0x282370(0x246)](_0x131778,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x282370(0x1ea)](_0x282370(0x248)+_0x131778+_0x282370(0x230)),![];return!![];}return![];},exports['findNestedKey']=(_0x486513,_0x795fae)=>{const _0x215795=a48_0x5d6d6f,_0x769961={};_0x769961[_0x215795(0x22b)]=_0x215795(0x243);const _0x1e7b61=_0x769961;logger[_0x215795(0x24a)](_0x215795(0x265)+_0x795fae);if(_0x486513&&_0x486513[_0x215795(0x1f6)]){const _0x13f4a6=_0x486513[_0x215795(0x1f6)]['find'](_0x366eb0=>_0x366eb0[_0x215795(0x212)]==='trace');if(_0x13f4a6)return logger[_0x215795(0x24a)](_0x215795(0x26f)+_0x795fae+_0x215795(0x1f2)),_0x13f4a6[_0x795fae];}else{if(_0x486513&&Object[_0x215795(0x229)]['toString']['call'](_0x486513)[_0x215795(0x236)](_0x1e7b61[_0x215795(0x22b)]))for(const _0x119e0e of _0x486513){if(_0x119e0e[_0x795fae])return logger[_0x215795(0x24a)]('Found\x20key:\x20'+_0x795fae+_0x215795(0x27c)),_0x119e0e[_0x795fae];}};return'';},exports[a48_0x5d6d6f(0x270)]=async(_0x4bd0c6,_0x5218c6)=>{const _0x522599=a48_0x5d6d6f,_0xe2c5e9={};_0xe2c5e9[_0x522599(0x261)]=_0x522599(0x217),_0xe2c5e9['lsjAQ']=_0x522599(0x23e),_0xe2c5e9['tOeIU']='sendTraceZip',_0xe2c5e9['rBcLL']=_0x522599(0x232);const _0x350d03=_0xe2c5e9;try{const _0x4b1b77={'event_type':_0x350d03[_0x522599(0x261)],'logs':[{'data':_0x4bd0c6?fs[_0x522599(0x204)](_0x4bd0c6):'','test_run_uuid':_0x5218c6,'kind':_0x350d03[_0x522599(0x237)],'fileName':_0x4bd0c6?path[_0x522599(0x1f3)](_0x4bd0c6):''}]};return await SessionHandler['sendEventData'](_0x4b1b77,0x0,_0x350d03['tOeIU']);}catch(_0x296799){logger[_0x522599(0x1ea)](util['format'](_0x350d03[_0x522599(0x27b)],_0x296799));}},exports[a48_0x5d6d6f(0x216)]=async(_0xe7bbd,_0x2f4436)=>{const _0x3dc71f=a48_0x5d6d6f,_0x6ab296={'sDeJT':_0x3dc71f(0x22a),'VMbZu':_0x3dc71f(0x233),'NCXJf':function(_0x44470b){return _0x44470b();},'kEWdQ':_0x3dc71f(0x232)};try{logger[_0x3dc71f(0x24a)](_0x3dc71f(0x25a)+_0x2f4436);let _0x57bad9=await exports[_0x3dc71f(0x285)](_0xe7bbd,_0x6ab296[_0x3dc71f(0x1fc)]);if(exports[_0x3dc71f(0x20b)](_0x57bad9)){logger[_0x3dc71f(0x24a)](_0x6ab296['VMbZu']),_0x57bad9=path[_0x3dc71f(0x25f)](_0x57bad9);const _0xab9800={};_0xab9800['testUId']=_0x2f4436,_0xab9800['filePath']=_0x57bad9;const _0x3ac130=_0xab9800;_0x6ab296['NCXJf'](getBrowserstackCLI)['getInstance']()[_0x3dc71f(0x276)]()?TestInfo[_0x3dc71f(0x26c)](_0x3ac130):TestDetails[_0x3dc71f(0x26c)](_0x3ac130);};}catch(_0x511fc7){logger[_0x3dc71f(0x1ea)](util[_0x3dc71f(0x215)](_0x6ab296[_0x3dc71f(0x24d)],_0x511fc7));}},exports['getTestIdentifier']=_0x32b378=>{const _0x5a7265=a48_0x5d6d6f,_0x4f46e9={};_0x4f46e9[_0x5a7265(0x26d)]=function(_0x230c6a,_0xe7089c){return _0x230c6a+_0xe7089c;},_0x4f46e9[_0x5a7265(0x28f)]=function(_0x553e89,_0x28e7e1){return _0x553e89+_0x28e7e1;};const _0x2a08f6=_0x4f46e9;return _0x2a08f6['UbYvV'](_0x2a08f6[_0x5a7265(0x28f)](_0x32b378['_projectId'],'-'),_0x32b378['id']);},exports[a48_0x5d6d6f(0x291)]=(_0xe44df,_0x85038f)=>{const _0x457e76=a48_0x5d6d6f,_0x1c14f9={};_0x1c14f9[_0x457e76(0x279)]=function(_0x51fb85,_0x24a257){return _0x51fb85+_0x24a257;};const _0x2dc1ca=_0x1c14f9;return _0x2dc1ca[_0x457e76(0x279)](_0x2dc1ca[_0x457e76(0x279)](_0xe44df['id'],'-'),_0x85038f);};
1
+ const a48_0x2a7edf=a48_0x3a99;(function(_0x33dafe,_0x358e3e){const _0x416ddc=a48_0x3a99,_0xe9b2ff=_0x33dafe();while(!![]){try{const _0x144e4d=-parseInt(_0x416ddc(0x111))/0x1+-parseInt(_0x416ddc(0x148))/0x2*(-parseInt(_0x416ddc(0x119))/0x3)+-parseInt(_0x416ddc(0xe7))/0x4+-parseInt(_0x416ddc(0xe9))/0x5*(parseInt(_0x416ddc(0x147))/0x6)+parseInt(_0x416ddc(0xd8))/0x7*(-parseInt(_0x416ddc(0x14c))/0x8)+parseInt(_0x416ddc(0xec))/0x9*(-parseInt(_0x416ddc(0xe3))/0xa)+parseInt(_0x416ddc(0x10d))/0xb;if(_0x144e4d===_0x358e3e)break;else _0xe9b2ff['push'](_0xe9b2ff['shift']());}catch(_0x3da7ce){_0xe9b2ff['push'](_0xe9b2ff['shift']());}}}(a48_0x2159,0xe2568));function a48_0x2159(){const _0xe63667=['@playwright/test/lib/common/transform.js','basename','TJFni','endSession','afterTestHook','KLGDI','name','performance-reporter.html','EZyeq','KDGRV','GoMql','includes','testUId','errlJ','Dxpxf','zkhxX','rrgJU','XljvA','FRHBa','runner/projectUtils.js','zALhH','wYNrN','WBRnJ','TEST_LOG','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','START_TIME','TEST_ATTACHMENT','../../../helpers/test-observability/sessionHandler','exGXD','630114NTGgAx','1186538wqdQZJ','_projectId','error','hHMxj','9080ShvyBb','winstonLogger','iBVGI','call','JiyTB','findNestedKey','util','debug','existsSync','RWznh','getProjectUtilsPath','MoVPy','MdSLl','createReadStream','VvdLe','find','owZJK','xaMPp','lkOky','getInstance','1.35.0','doo11ySync','yUhTc','stack','resolve','1.38.0','\x20in\x20arguments','.json','substr','uploadTraceZip','getPlaywrightLibPath','playwright','lFKck','../../v2/browserstackCLI','ijhgD','xASck','test','Found\x20key:\x20','Total\x20duration\x20for\x20whole\x20build\x20is\x20','VmWcL','../../../helpers/performance/performance-tester','PLAYWRIGHT','addTraceFilePath','getTransformPath','toLowerCase','toString','../../../helpers/logger','dhIwf','Percentage\x20of\x20increased\x20time\x20is\x20','env','FTCqc','jtWeQ','calculateTimesFromMultipleFiles','KobnC','isRunning','1.42.0','startsWith','onBegin','validateFilePath','trace','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','HsRXj','10339GYiaUn','getFailureData','\x20bytes','TGHqv','JrDOt','sendEventData','sFrnS','getConfigLoaderPath','title','tags','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','3488180pYMHJb','Searching\x20for\x20key:\x20','Trace\x20enabled','GKehg','3369172BIHorM','processPageScreenshot','65mHgSNc','getTime','map','45vhHTcE','IlXvI','VCFWG','performance-report-worker-','eZJrC','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','fQCoF','attachments','process.js','IVmgK','common','cwwGf','TwEZp','Error\x20in\x20sending\x20trace\x20file:\x20%s','RdbNm','sendTestLog','playwright/lib/common/configLoader.js','Test\x20timeout\x20of','QNaca','onTestEnd','vOTSr','Pqgox','Gmuzb','EZRED','gAakO','mdXDN','doczd','../../../helpers/test-observability/constants','Bkxfr','\x20in\x20attachments','qgiif','onStepEnd','compareVersions','56656545GjKMLi','length','MSZar','readdirSync','375297ExtIGc','prototype','afterWorkerHook','../../v2/TestInfo','match','slice','requestSpyCallback','UkVxg','9aQiSQR','path','size','filter','onTestBegin','getTestRunIdentifier','onStepBegin','URgXO','RLrgF','@playwright/test','rNOvR','@playwright/test/lib/common/configLoader.js','getTestIdentifier','join','sendSessionDetails','getTestTags','dJofv'];a48_0x2159=function(){return _0xe63667;};return a48_0x2159();}function a48_0x3a99(_0x33e85c,_0x15621f){const _0x215994=a48_0x2159();return a48_0x3a99=function(_0x3a992f,_0x445ea2){_0x3a992f=_0x3a992f-0xd6;let _0x3074c2=_0x215994[_0x3a992f];return _0x3074c2;},a48_0x3a99(_0x33e85c,_0x15621f);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a48_0x2a7edf(0x174)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a48_0x2a7edf(0x107)),helper=require('../../../helpers/helper'),path=require(a48_0x2a7edf(0x11a)),logger=require(a48_0x2a7edf(0x17a))[a48_0x2a7edf(0x14d)],SessionHandler=require(a48_0x2a7edf(0x145)),TestDetails=require('./test-details'),util=require(a48_0x2a7edf(0x152)),TestInfo=require(a48_0x2a7edf(0x114));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x3db049=a48_0x2a7edf,_0x34141c={'hHMxj':function(_0x4abf54,_0x2815f5){return _0x4abf54(_0x2815f5);},'UkVxg':_0x3db049(0x16d)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x34141c[_0x3db049(0x14b)](require,_0x34141c[_0x3db049(0x118)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x56d47c=>{const _0x28160e=a48_0x2a7edf;return _0x56d47c[_0x28160e(0x115)](/@(\w+)/g)?.['map'](_0x29f891=>_0x29f891[_0x28160e(0x116)](0x1))||[];};exports[a48_0x2a7edf(0x128)]=_0x51929e=>{const _0x3dd66f=a48_0x2a7edf,_0x42a071={'VmWcL':function(_0x29874c,_0x40fdd8){return _0x29874c(_0x40fdd8);}};if(_0x51929e[_0x3dd66f(0xe1)])return _0x51929e[_0x3dd66f(0xe1)][_0x3dd66f(0xeb)](_0x1d5c22=>_0x1d5c22[_0x3dd66f(0x184)]('@')?_0x1d5c22[_0x3dd66f(0x168)](0x1):_0x1d5c22);return _0x42a071[_0x3dd66f(0x173)](getTagsFromTitle,_0x51929e[_0x3dd66f(0xe0)]);},exports['calculatePerformance']=async()=>{const _0xb39b3b=a48_0x2a7edf,_0x740be9={'OEkbx':function(_0x53cadb,_0x4899d5){return _0x53cadb-_0x4899d5;},'WBRnJ':_0xb39b3b(0x131),'wYNrN':_0xb39b3b(0x185),'dJofv':_0xb39b3b(0x12d),'qgiif':_0xb39b3b(0x11d),'eZJrC':_0xb39b3b(0xff),'jGRYB':_0xb39b3b(0x11f),'QJtsd':_0xb39b3b(0x10b),'TJFni':'beforeWorkerHook','JiyTB':_0xb39b3b(0x113),'doczd':'beforeTestHook','xASck':_0xb39b3b(0x12e),'zALhH':_0xb39b3b(0x161),'mVayC':_0xb39b3b(0xe8),'nUecZ':_0xb39b3b(0x127),'HsRXj':'setupBrowserDetails','rNOvR':_0xb39b3b(0x117),'EZyeq':_0xb39b3b(0xfb),'sFrnS':function(_0x2f74ce,_0x3fe03a){return _0x2f74ce(_0x3fe03a);},'dhIwf':function(_0xf7cae6,_0x20799f){return _0xf7cae6/_0x20799f;},'VvdLe':function(_0x3c54ae,_0x32090c){return _0x3c54ae+_0x32090c;},'GoMql':function(_0x33758c,_0x2fa110){return _0x33758c*_0x2fa110;},'hitwW':function(_0x4d10d2,_0x1d097a){return _0x4d10d2/_0x1d097a;},'errlJ':function(_0x5536e7,_0x46a01a){return _0x5536e7+_0x46a01a;}};if(!process['env']['START_TIME'])return;const _0x1d51f4=_0x740be9['OEkbx'](new Date()[_0xb39b3b(0xea)](),new Date(process[_0xb39b3b(0x17d)][_0xb39b3b(0x143)])[_0xb39b3b(0xea)]()),_0x888817=await PerformanceTester['stopAndGenerate'](_0x740be9[_0xb39b3b(0x140)],[_0x740be9[_0xb39b3b(0x13f)],_0x740be9[_0xb39b3b(0x129)],_0x740be9[_0xb39b3b(0x10a)],_0x740be9[_0xb39b3b(0xf0)],_0x740be9['jGRYB'],_0x740be9['QJtsd']]),_0x3b2abf=fs[_0xb39b3b(0x110)]('.'),_0x4bf19c=_0x3b2abf[_0xb39b3b(0x11c)](_0x338fe9=>_0x338fe9[_0xb39b3b(0x184)](_0xb39b3b(0xef))&&_0x338fe9['endsWith'](_0xb39b3b(0x167))),_0x2d208d=await PerformanceTester[_0xb39b3b(0x180)](_0x4bf19c,[_0x740be9[_0xb39b3b(0x12c)],_0x740be9[_0xb39b3b(0x150)],_0x740be9[_0xb39b3b(0x106)],_0x740be9[_0xb39b3b(0x16f)],_0x740be9[_0xb39b3b(0x13e)],_0x740be9['mVayC'],_0x740be9['nUecZ'],_0x740be9[_0xb39b3b(0xd7)],_0x740be9[_0xb39b3b(0x123)],_0x740be9[_0xb39b3b(0x132)]]);_0x740be9[_0xb39b3b(0xde)](debug,_0xb39b3b(0x172)+_0x740be9[_0xb39b3b(0x17b)](_0x1d51f4,0x3e8)+'\x20s'),_0x740be9['sFrnS'](debug,_0xb39b3b(0xe2)+_0x740be9[_0xb39b3b(0x15a)](_0x2d208d,_0x888817)),_0x740be9[_0xb39b3b(0xde)](debug,_0xb39b3b(0x17c)+_0x740be9[_0xb39b3b(0x134)](_0x740be9['hitwW'](_0x740be9[_0xb39b3b(0x137)](_0x2d208d,_0x888817),_0x1d51f4),0x64));},exports[a48_0x2a7edf(0x177)]=()=>{const _0x2b6fd0=a48_0x2a7edf,_0x22f4b8={'ZGVCx':function(_0x3c129d,_0x20c5da){return _0x3c129d(_0x20c5da);},'yUhTc':function(_0x573fff,_0x13e4a5){return _0x573fff>=_0x13e4a5;},'VCFWG':_0x2b6fd0(0x165),'vOTSr':'playwright/lib/transform/transform.js','Bkxfr':_0x2b6fd0(0x16b),'IVmgK':function(_0x4d9ecf,_0x1688e8){return _0x4d9ecf>=_0x1688e8;},'owZJK':_0x2b6fd0(0x160),'TGHqv':'@playwright/test/lib/transform/transform.js','jtWeQ':_0x2b6fd0(0x122),'gAakO':_0x2b6fd0(0x12a)},_0x4eddca=_0x22f4b8['ZGVCx'](getFrameworkVersion,FRAMEWORKS[_0x2b6fd0(0x175)]);if(_0x22f4b8[_0x2b6fd0(0x162)](helper['compareVersions'](_0x4eddca,_0x22f4b8[_0x2b6fd0(0xee)]),0x0))return[_0x22f4b8[_0x2b6fd0(0x100)],_0x22f4b8[_0x2b6fd0(0x108)]];if(_0x22f4b8[_0x2b6fd0(0xf5)](helper['compareVersions'](_0x4eddca,_0x22f4b8[_0x2b6fd0(0x15c)]),0x0))return[_0x22f4b8[_0x2b6fd0(0xdb)],_0x22f4b8['jtWeQ']];return[_0x22f4b8[_0x2b6fd0(0x104)],_0x22f4b8[_0x2b6fd0(0x17f)]];},exports[a48_0x2a7edf(0xdf)]=()=>{const _0x86d604=a48_0x2a7edf,_0x5c7347={'xaMPp':function(_0xbef067,_0x591c6c){return _0xbef067(_0x591c6c);},'Pqgox':function(_0x549e5f,_0x211c1e){return _0x549e5f>=_0x211c1e;},'MdSLl':_0x86d604(0x165),'ijhgD':_0x86d604(0xfc),'AtswI':'playwright','EZRED':_0x86d604(0x124),'iBVGI':'@playwright/test'},_0x2182da=_0x5c7347[_0x86d604(0x15d)](getFrameworkVersion,FRAMEWORKS[_0x86d604(0x175)]);if(_0x5c7347[_0x86d604(0x101)](helper[_0x86d604(0x10c)](_0x2182da,_0x5c7347[_0x86d604(0x158)]),0x0))return[_0x5c7347[_0x86d604(0x16e)],_0x5c7347['AtswI']];return[_0x5c7347[_0x86d604(0x103)],_0x5c7347[_0x86d604(0x14e)]];},exports['getLoadUtilsPath']=()=>{const _0x40153a=a48_0x2a7edf,_0x3016b9={};_0x3016b9[_0x40153a(0x105)]='runner/loadUtils.js';const _0x544922=_0x3016b9;return helper['getPlaywrightLibPath'](_0x544922['mdXDN']);},exports[a48_0x2a7edf(0x156)]=()=>{const _0x309331=a48_0x2a7edf,_0xe82785={};_0xe82785[_0x309331(0xf8)]=_0x309331(0x13d);const _0x599f5b=_0xe82785;return helper[_0x309331(0x16a)](_0x599f5b['TwEZp']);},exports['getForkProcessPath']=()=>{const _0x226cd8=a48_0x2a7edf,_0xfbeac9={'WLfQk':function(_0x3f214c,_0x1f1884){return _0x3f214c(_0x1f1884);},'GKehg':function(_0x3c2f7c,_0x394e59){return _0x3c2f7c>=_0x394e59;},'JrDOt':_0x226cd8(0x165),'QNaca':'lib','exGXD':_0x226cd8(0xf6),'KLGDI':_0x226cd8(0xf4),'GTApN':_0x226cd8(0x170)},_0x48eb05=_0xfbeac9['WLfQk'](getFrameworkVersion,FRAMEWORKS[_0x226cd8(0x175)]);if(_0xfbeac9[_0x226cd8(0xe6)](helper[_0x226cd8(0x10c)](_0x48eb05,_0xfbeac9[_0x226cd8(0xdc)]),0x0))return path[_0x226cd8(0x126)](_0xfbeac9[_0x226cd8(0xfe)],_0xfbeac9['exGXD'],_0xfbeac9['KLGDI']);return path[_0x226cd8(0x126)](_0xfbeac9['GTApN'],_0xfbeac9[_0x226cd8(0xfe)],_0xfbeac9[_0x226cd8(0x146)],_0xfbeac9[_0x226cd8(0x12f)]);},exports[a48_0x2a7edf(0xd9)]=(_0x59aac4,{test_run_uuid:_0xd7fb9f})=>{const _0x1d0f42=a48_0x2a7edf,_0x40bfcd={'rrgJU':'ERROR','RLrgF':_0x1d0f42(0x141),'zkhxX':function(_0x421a9e,_0x5eb3c9){return _0x421a9e<=_0x5eb3c9;},'bXKHw':function(_0x2f167a,_0x41cb91){return _0x2f167a(_0x41cb91);},'fwYTe':_0x1d0f42(0xfd),'pZwAE':function(_0x239b8f,_0x5d3659){return _0x239b8f(_0x5d3659);},'KDGRV':function(_0x174491,_0x53c18e){return _0x174491>=_0x53c18e;},'KobnC':_0x1d0f42(0x183),'URgXO':function(_0x46f007,_0x59e637){return _0x46f007>_0x59e637;},'Gmuzb':function(_0x2e6957,_0x5ee8dc,_0x230aba){return _0x2e6957(_0x5ee8dc,_0x230aba);},'cwwGf':_0x1d0f42(0x170)};if(!_0x59aac4||_0x40bfcd[_0x1d0f42(0x139)](_0x59aac4[_0x1d0f42(0x10e)],0x0))return[];const _0x4775fc=_0x40bfcd['bXKHw'](removeAnsiColors,_0x59aac4[0x0]['message']);if(_0x4775fc['startsWith'](_0x40bfcd['fwYTe'])){const _0x51d145=_0x59aac4[0x0],_0x5b1d95=_0x40bfcd['pZwAE'](getFrameworkVersion,FRAMEWORKS[_0x1d0f42(0x175)]);if((!_0x51d145[_0x1d0f42(0x163)]||_0x40bfcd[_0x1d0f42(0x133)](_0x5b1d95,_0x40bfcd[_0x1d0f42(0x181)]))&&_0x40bfcd[_0x1d0f42(0x120)](_0x59aac4[_0x1d0f42(0x10e)],0x1))return{'failureData':[{'backtrace':[_0x4775fc,_0x40bfcd['pZwAE'](removeAnsiColors,_0x59aac4[0x1][_0x1d0f42(0x163)])]}],'logs':_0x59aac4[_0x1d0f42(0x116)](0x2)['map'](_0x154f14=>{const _0x952768=_0x1d0f42;return{'timestamp':new Date()['toISOString'](),'level':_0x40bfcd[_0x952768(0x13a)],'message':''+_0x154f14['message'],'kind':_0x40bfcd[_0x952768(0x121)],'http_response':{},'test_run_uuid':_0xd7fb9f};})};}return{'failureData':_0x40bfcd[_0x1d0f42(0x102)](failureData,_0x59aac4,_0x40bfcd[_0x1d0f42(0xf7)]),'logs':[]};},exports[a48_0x2a7edf(0x186)]=_0x141338=>{const _0x5a6ae8=a48_0x2a7edf,_0x23587c={};_0x23587c[_0x5a6ae8(0x15e)]=function(_0x95d0cb,_0x3182f3){return _0x95d0cb!==_0x3182f3;},_0x23587c[_0x5a6ae8(0xf2)]='.zip',_0x23587c[_0x5a6ae8(0x155)]=function(_0x165b82,_0x336af6){return _0x165b82>_0x336af6;};const _0x4c2337=_0x23587c;if(_0x141338&&fs[_0x5a6ae8(0x154)](_0x141338)){if(_0x4c2337[_0x5a6ae8(0x15e)](path['extname'](_0x141338)[_0x5a6ae8(0x178)](),_0x4c2337[_0x5a6ae8(0xf2)]))return logger[_0x5a6ae8(0x14a)](_0x5a6ae8(0xd6)+_0x141338),![];const _0x8d0ef0=fs['statSync'](_0x141338)[_0x5a6ae8(0x11b)];if(_0x4c2337[_0x5a6ae8(0x155)](_0x8d0ef0,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x5a6ae8(0x14a)](_0x5a6ae8(0x142)+_0x8d0ef0+_0x5a6ae8(0xda)),![];return!![];}return![];},exports[a48_0x2a7edf(0x151)]=(_0x492e6a,_0x2e4ba4)=>{const _0xec1912=a48_0x2a7edf,_0x574627={};_0x574627[_0xec1912(0x16c)]='Arguments';const _0x37ecb0=_0x574627;logger['debug'](_0xec1912(0xe4)+_0x2e4ba4);if(_0x492e6a&&_0x492e6a[_0xec1912(0xf3)]){const _0x3ee91d=_0x492e6a[_0xec1912(0xf3)][_0xec1912(0x15b)](_0x5ab689=>_0x5ab689[_0xec1912(0x130)]===_0xec1912(0x187));if(_0x3ee91d)return logger[_0xec1912(0x153)](_0xec1912(0x171)+_0x2e4ba4+_0xec1912(0x109)),_0x3ee91d[_0x2e4ba4];}else{if(_0x492e6a&&Object[_0xec1912(0x112)][_0xec1912(0x179)][_0xec1912(0x14f)](_0x492e6a)[_0xec1912(0x135)](_0x37ecb0[_0xec1912(0x16c)]))for(const _0x6777ec of _0x492e6a){if(_0x6777ec[_0x2e4ba4])return logger[_0xec1912(0x153)](_0xec1912(0x171)+_0x2e4ba4+_0xec1912(0x166)),_0x6777ec[_0x2e4ba4];}};return'';},exports[a48_0x2a7edf(0x169)]=async(_0x36cf77,_0x56c389)=>{const _0xb17c27=a48_0x2a7edf,_0x317aa3={};_0x317aa3[_0xb17c27(0x138)]='LogCreated',_0x317aa3[_0xb17c27(0x13b)]=_0xb17c27(0x144),_0x317aa3[_0xb17c27(0x17e)]='sendTraceZip',_0x317aa3[_0xb17c27(0x13c)]=_0xb17c27(0xf9);const _0x14747d=_0x317aa3;try{const _0x39fb51={'event_type':_0x14747d[_0xb17c27(0x138)],'logs':[{'data':_0x36cf77?fs[_0xb17c27(0x159)](_0x36cf77):'','test_run_uuid':_0x56c389,'kind':_0x14747d['XljvA'],'fileName':_0x36cf77?path[_0xb17c27(0x12b)](_0x36cf77):''}]};return await SessionHandler[_0xb17c27(0xdd)](_0x39fb51,0x0,_0x14747d['FTCqc']);}catch(_0x5d65b4){logger['error'](util['format'](_0x14747d[_0xb17c27(0x13c)],_0x5d65b4));}},exports['sendTraceZip']=async(_0x25bf74,_0x19a2cd)=>{const _0x267f54=a48_0x2a7edf,_0x383874={'MSZar':'path','IlXvI':_0x267f54(0xe5),'fxRyc':function(_0x57f643){return _0x57f643();},'laFKO':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x267f54(0x153)](_0x267f54(0xf1)+_0x19a2cd);let _0x4595e5=await exports['findNestedKey'](_0x25bf74,_0x383874[_0x267f54(0x10f)]);if(exports[_0x267f54(0x186)](_0x4595e5)){logger[_0x267f54(0x153)](_0x383874[_0x267f54(0xed)]),_0x4595e5=path[_0x267f54(0x164)](_0x4595e5);const _0x3bd912={};_0x3bd912[_0x267f54(0x136)]=_0x19a2cd,_0x3bd912['filePath']=_0x4595e5;const _0x1cff0e=_0x3bd912;_0x383874['fxRyc'](getBrowserstackCLI)[_0x267f54(0x15f)]()[_0x267f54(0x182)]()?TestInfo['addTraceFilePath'](_0x1cff0e):TestDetails[_0x267f54(0x176)](_0x1cff0e);};}catch(_0x3c072b){logger[_0x267f54(0x14a)](util['format'](_0x383874['laFKO'],_0x3c072b));}},exports[a48_0x2a7edf(0x125)]=_0xc1c002=>{const _0x237bee=a48_0x2a7edf,_0x397a30={};_0x397a30[_0x237bee(0x157)]=function(_0x131b46,_0x127c00){return _0x131b46+_0x127c00;};const _0xc73b24=_0x397a30;return _0xc73b24[_0x237bee(0x157)](_0xc73b24['MoVPy'](_0xc1c002[_0x237bee(0x149)],'-'),_0xc1c002['id']);},exports[a48_0x2a7edf(0x11e)]=(_0x2f766c,_0x257c4e)=>{const _0x3174e1=a48_0x2a7edf,_0x2ec21d={};_0x2ec21d['fNLWv']=function(_0x8bdf77,_0x928504){return _0x8bdf77+_0x928504;},_0x2ec21d[_0x3174e1(0xfa)]=function(_0x2ca1d5,_0x50dd70){return _0x2ca1d5+_0x50dd70;};const _0x5e3f35=_0x2ec21d;return _0x5e3f35['fNLWv'](_0x5e3f35['RdbNm'](_0x2f766c['id'],'-'),_0x257c4e);};
@@ -1 +1 @@
1
- function a49_0x196d(_0x1d1d09,_0x50b4c5){const _0x3cf257=a49_0x3cf2();return a49_0x196d=function(_0x196d24,_0x297cd3){_0x196d24=_0x196d24-0x15a;let _0x4036da=_0x3cf257[_0x196d24];return _0x4036da;},a49_0x196d(_0x1d1d09,_0x50b4c5);}const a49_0x12f791=a49_0x196d;(function(_0x2fe4c3,_0x596792){const _0xa48f37=a49_0x196d,_0x3ec599=_0x2fe4c3();while(!![]){try{const _0x35799d=parseInt(_0xa48f37(0x17c))/0x1*(parseInt(_0xa48f37(0x18f))/0x2)+parseInt(_0xa48f37(0x1b7))/0x3+parseInt(_0xa48f37(0x1bc))/0x4+-parseInt(_0xa48f37(0x194))/0x5+-parseInt(_0xa48f37(0x1b2))/0x6+-parseInt(_0xa48f37(0x258))/0x7+parseInt(_0xa48f37(0x21c))/0x8*(parseInt(_0xa48f37(0x16b))/0x9);if(_0x35799d===_0x596792)break;else _0x3ec599['push'](_0x3ec599['shift']());}catch(_0x46296f){_0x3ec599['push'](_0x3ec599['shift']());}}}(a49_0x3cf2,0xd9fc4));const RequestQueueHandler=require(a49_0x12f791(0x1ae)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a49_0x12f791(0x16e)),{v4:uuidv4}=require(a49_0x12f791(0x1e5)),path=require(a49_0x12f791(0x228)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a49_0x12f791(0x19d)),TestDetails=require(a49_0x12f791(0x246)),fs=require('fs'),util=require(a49_0x12f791(0x1a9)),{o11yClassErrorHandler}=require(a49_0x12f791(0x17b)),PerformanceTester=require(a49_0x12f791(0x243)),{FRAMEWORKS}=require(a49_0x12f791(0x24f)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a49_0x12f791(0x231)),helper=require('../../../helpers/helper'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a49_0x12f791(0x1d5)),TestInfo=require(a49_0x12f791(0x1a2)),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');function a49_0x3cf2(){const _0x2ae17f=['YDtdZ','util','XJjKO','zlNAV','errors','wGUig','../../../helpers/test-observability/requestQueueHandler','AFTER_EACH','relative','No\x20integrations\x20found\x20for\x20test\x20','10546854oOVDwu','sbdxA','EEkLF','LUKCc','VQutR','1436487yLxiTO','RQoUb','getStepsAndLogs','NipfS','_trackedEvents','2382276HzLOVv','zpeub','onEnd','DEmLe','BEFORE_ALL','bZVqn','bxvCy','gnzLM','screenshot','logLevel','ENeWZ','stack','VFhTG','failure','hXfnR','skipped','yOIlU','getTime','sendSessionDetails','Test\x20Started\x20with\x20unique\x20id\x20','logs','test_run','configureGit','Buiwa','trace_','../../v2/state/hookState','QAkVI','expanded','_gitConfigured','mvxba','error','getTestUUID','swFgT','VgRTZ','printsToStdio','onBegin','attachments','\x20at\x20','getScope','NDJvD','IfPzb','uuid','uxLIQ','toISOString','fWeup','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','title','push','onStepBegin','\x20-\x20','hook','meta','reverse','izpCS','AYsbJ','toString','dCAqh','isRunning','ENFQW','GUjPR','cwd','weSUV','Error\x20in\x20sending\x20trace\x20zip:\x20%s','Hiumj','options','failed','RWGUl','BROWSERSTACK_O11Y_PERF_MEASUREMENT','pending','failure_type','getHierarchy','.txt','mKyAJ','sendTestRunEvent','object','Mdpsp','join','oTqLl','DfChD','tqPQT','JAtCy','glYcj','tmbmm','_tags','needToReportStep','ONVcF','TestRunStarted','sendHookRunEvent','event_type','TEST','aWMYC','depth','basename','_testHooksMap','BEFORE_EACH','base64','4185704cspats','root','onuei','finishedAt','name','faPIR','FyYZR','GElIE','waDSc','BROWSERSTACK_TEST_RUN_ID','mrkaS','onStepEnd','path','.browserstack','yZiyK','all','afterAll\x20hook','failure_reason','QVotI','BWkqf','statSync','../../../helpers/testhub/utils','TEST_ATTACHMENT','ZVKUQ','uJXEF','PRE','test.step','passed','RhGsX','result','parent','startTime','Trace\x20file\x20found\x20for\x20test:\x20','MyReporter','getCustomRerunParam','performance-report-reporter.json','trackEvent','IIWJa','hook_run','../../../helpers/performance/performance-tester','startedAt','shcuf','./test-details','aReQF','duration','\x20is\x20triggered\x20for\x20test\x20','err','RmqVy','FKysH','uploadEventData','TEST_STEP','../../../helpers/test-observability/constants','Hook\x20Finished\x20with\x20unique\x20id\x20','message','category','test','Error\x20reading\x20integrations\x20for\x20test\x20','beforeAll\x20hook','YAEhb','AFTER_ALL','12246409ayqWFG','VwJeG','Nhmng','startMonitoring','TestRunFinished','setStepIdentifier','aiwwR','oXYuI','retry','POST','LogCreated','startsWith','Sending\x20session\x20details\x20for\x20','ThexY','fpFyM','Playwright','onTestEnd','getInstance','homedir','RsCuL','VQkqc','uszfD','vikjl','step','mJhTV','GFWrG','Error\x20in\x20calculating\x20performance:\x20','ruOcO','length','eLLPE','63pjEPOy','Hook\x20Started\x20with\x20unique\x20id\x20','uYzVb','./pwUtils','_bs_hookIdentifier','split','getHookType','4|7|0|1|6|3|2|5','_gitConfigPath','SVWze','inspect','indexOf','_tests','OlplO','reportLogs','location','../../../helpers/test-observability/error-handler','158adHLRA','beforeEach\x20hook','UBszP','START_TIME','HFywT','steps','mtime','javascript','PLAYWRIGHT','status','getStepIdentifier','env','yNote','endSession','map','\x20for\x20','readFileSync','unknown','mAvVe','11522sPJqhN','KcAac','test_run_uuid','Expected\x20to\x20fail,\x20but\x20passed.','HookRunFinished','6234815aoEunc','utf8','existsSync','GTBKJ','wlzht','onTestBegin','getTestFramework','WkkTE','afterEach\x20hook','../../../helpers/helper','BROWSERSTACK_LOG_LEVEL','file','bSWiH','format','../../v2/TestInfo','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','forEach','XyxvT','backtrace','VhFbZ'];a49_0x3cf2=function(){return _0x2ae17f;};return a49_0x3cf2();}class MyReporter{constructor(_0x4ece53){const _0x3961a3=a49_0x12f791,_0x1e27de={'AJLXz':_0x3961a3(0x172),'gnzLM':function(_0x261d67,_0x29bbfe,_0x131e03,_0x27a7a5){return _0x261d67(_0x29bbfe,_0x131e03,_0x27a7a5);},'hXfnR':_0x3961a3(0x23f)},_0x1bae62=_0x1e27de['AJLXz'][_0x3961a3(0x170)]('|');let _0x216362=0x0;while(!![]){switch(_0x1bae62[_0x216362++]){case'0':this['_tests']={};continue;case'1':this['_testHooksMap']={};continue;case'2':this[_0x3961a3(0x173)]=null;continue;case'3':this[_0x3961a3(0x1d8)]=![];continue;case'4':const _0x572c63={};_0x572c63[_0x3961a3(0x1c5)]=process[_0x3961a3(0x187)][_0x3961a3(0x19e)],_0x1e27de[_0x3961a3(0x1c3)](setLogLevel,_0x572c63,new Map(),new Map());continue;case'5':this['_trackedEvents']=[];continue;case'6':this[_0x3961a3(0x1fc)]=_0x4ece53;continue;case'7':process[_0x3961a3(0x187)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x3961a3(0x25b)](_0x1e27de[_0x3961a3(0x1ca)]),process[_0x3961a3(0x187)][_0x3961a3(0x17f)]=new Date()[_0x3961a3(0x1e7)]());continue;}break;}}async[a49_0x12f791(0x1df)](){const _0x139d0c=a49_0x12f791,_0x19100d={};_0x19100d[_0x139d0c(0x1b8)]=_0x139d0c(0x15c);const _0x46664a=_0x19100d;TestDetails['setup'](),await this[_0x139d0c(0x1d2)](),TestInfo['setup'](_0x46664a[_0x139d0c(0x1b8)]);if(BrowserstackCLI[_0x139d0c(0x15e)]()[_0x139d0c(0x1f5)]()){await BrowserstackCLI[_0x139d0c(0x15e)]()[_0x139d0c(0x19a)]()['trackEvent'](TestFrameworkState['INIT_TEST'],HookState[_0x139d0c(0x235)],{});return;}}async['onTestBegin'](_0x26d6f3,_0xcbbd67){const _0x1a0a9a=a49_0x12f791,_0x580f21={'HFywT':function(_0x2f8ba6,_0x1b8f13){return _0x2f8ba6(_0x1b8f13);},'QVotI':function(_0x1cb197,_0x50fbaf,_0x541fe4){return _0x1cb197(_0x50fbaf,_0x541fe4);},'ruOcO':function(_0x1749c1,_0x23bfa1){return _0x1749c1(_0x23bfa1);},'IIWJa':_0x1a0a9a(0x212)};if(BrowserstackCLI[_0x1a0a9a(0x15e)]()[_0x1a0a9a(0x1f5)]()){const _0x363b47={};_0x363b47['test']=_0x26d6f3,_0x363b47[_0x1a0a9a(0x239)]=_0xcbbd67,await BrowserstackCLI[_0x1a0a9a(0x15e)]()[_0x1a0a9a(0x19a)]()[_0x1a0a9a(0x240)](TestFrameworkState[_0x1a0a9a(0x215)],HookState[_0x1a0a9a(0x235)],_0x363b47);return;}const _0x56f3e4=_0x580f21[_0x1a0a9a(0x180)](getTestIdentifier,_0x26d6f3),_0x4ba2ee=TestDetails['getTestUUID'](_0x580f21[_0x1a0a9a(0x22e)](getTestRunIdentifier,_0x26d6f3,_0xcbbd67[_0x1a0a9a(0x260)]));process[_0x1a0a9a(0x187)][_0x1a0a9a(0x225)]=_0x4ba2ee;const _0x1e8c5c={};_0x1e8c5c[_0x1a0a9a(0x1e5)]=_0x4ba2ee,_0x1e8c5c[_0x1a0a9a(0x244)]=_0xcbbd67[_0x1a0a9a(0x23b)],this[_0x1a0a9a(0x177)][_0x56f3e4]=_0x1e8c5c,_0x580f21[_0x1a0a9a(0x168)](trace,_0x1a0a9a(0x1cf)+_0x56f3e4),await this[_0x1a0a9a(0x205)](_0x26d6f3,_0x580f21[_0x1a0a9a(0x241)],_0xcbbd67);}async[a49_0x12f791(0x1ec)](_0x47d491,_0x5b3f38,_0x23a5a0){const _0x418ec2=a49_0x12f791,_0x2c9e42={'bxvCy':function(_0xa4b7a1,_0x185bcb){return _0xa4b7a1===_0x185bcb;},'fgZQM':_0x418ec2(0x236),'aiwwR':function(_0x2615d3,_0x18f0bc,_0x3fe190){return _0x2615d3(_0x18f0bc,_0x3fe190);},'uJXEF':function(_0x1e0ee0,_0x57c28d){return _0x1e0ee0(_0x57c28d);},'mJhTV':'HookRunStarted'};if(!this[_0x418ec2(0x210)](_0x23a5a0,_0x47d491))return;if(_0x2c9e42[_0x418ec2(0x1c2)](_0x23a5a0[_0x418ec2(0x252)],_0x2c9e42['fgZQM'])){if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x439a26={};_0x439a26[_0x418ec2(0x253)]=_0x47d491,_0x439a26['result']=_0x5b3f38,_0x439a26['step']=_0x23a5a0,await BrowserstackCLI[_0x418ec2(0x15e)]()[_0x418ec2(0x19a)]()[_0x418ec2(0x240)](TestFrameworkState[_0x418ec2(0x24e)],HookState[_0x418ec2(0x235)],_0x439a26);}return;}if(BrowserstackCLI['getInstance']()[_0x418ec2(0x1f5)]()){const _0xc264b5=this[_0x418ec2(0x171)](_0x23a5a0[_0x418ec2(0x1ea)]),_0x3634d1=TestFrameworkState[_0xc264b5],_0x4aeb9a={};_0x4aeb9a[_0x418ec2(0x253)]=_0x47d491,_0x4aeb9a[_0x418ec2(0x239)]=_0x5b3f38,_0x4aeb9a[_0x418ec2(0x164)]=_0x23a5a0,await BrowserstackCLI[_0x418ec2(0x15e)]()[_0x418ec2(0x19a)]()['trackEvent'](_0x3634d1,HookState[_0x418ec2(0x235)],_0x4aeb9a);return;}const _0x4c7e75=this[_0x418ec2(0x25d)](_0x47d491,_0x23a5a0);this['_tests'][_0x4c7e75]={'uuid':TestDetails[_0x418ec2(0x1db)](_0x4c7e75),'startedAt':_0x23a5a0[_0x418ec2(0x23b)][_0x418ec2(0x1e7)]()};const _0x1dc746=_0x2c9e42[_0x418ec2(0x25e)](getTestRunIdentifier,_0x47d491,_0x5b3f38['retry']);!this[_0x418ec2(0x219)][_0x1dc746]&&(this[_0x418ec2(0x219)][_0x1dc746]=[]),this[_0x418ec2(0x219)][_0x1dc746][_0x418ec2(0x1eb)](this[_0x418ec2(0x177)][_0x4c7e75][_0x418ec2(0x1e5)]),_0x2c9e42[_0x418ec2(0x234)](trace,_0x418ec2(0x16c)+_0x4c7e75+_0x418ec2(0x249)+_0x1dc746),await this[_0x418ec2(0x213)](_0x47d491,_0x23a5a0,_0x2c9e42[_0x418ec2(0x165)],_0x5b3f38);}async[a49_0x12f791(0x227)](_0x43c49e,_0x36717a,_0x28c504){const _0x28d1f6=a49_0x12f791,_0xaa97d8={'zzeZq':function(_0x4c8bef,_0x5250ea){return _0x4c8bef===_0x5250ea;},'shcuf':_0x28d1f6(0x236),'UBszP':function(_0x298a26,_0x114d5a){return _0x298a26+_0x114d5a;},'glYcj':function(_0xb5d1d4,_0x152cad){return _0xb5d1d4(_0x152cad);},'ykYos':_0x28d1f6(0x193)};if(!this[_0x28d1f6(0x210)](_0x28c504,_0x43c49e))return;if(_0xaa97d8['zzeZq'](_0x28c504[_0x28d1f6(0x252)],_0xaa97d8[_0x28d1f6(0x245)])){if(BrowserstackCLI[_0x28d1f6(0x15e)]()[_0x28d1f6(0x1f5)]()){const _0x30029f={};_0x30029f['test']=_0x43c49e,_0x30029f[_0x28d1f6(0x239)]=_0x36717a,_0x30029f[_0x28d1f6(0x164)]=_0x28c504,await BrowserstackCLI[_0x28d1f6(0x15e)]()[_0x28d1f6(0x19a)]()[_0x28d1f6(0x240)](TestFrameworkState['TEST_STEP'],HookState['POST'],_0x30029f);}return;}if(BrowserstackCLI[_0x28d1f6(0x15e)]()[_0x28d1f6(0x1f5)]()){const _0x3cb3d2=this['getHookType'](_0x28c504[_0x28d1f6(0x1ea)]),_0x3b2432=TestFrameworkState[_0x3cb3d2],_0x3d7527={};_0x3d7527[_0x28d1f6(0x253)]=_0x43c49e,_0x3d7527[_0x28d1f6(0x239)]=_0x36717a,_0x3d7527[_0x28d1f6(0x164)]=_0x28c504,await BrowserstackCLI[_0x28d1f6(0x15e)]()['getTestFramework']()[_0x28d1f6(0x240)](_0x3b2432,HookState[_0x28d1f6(0x261)],_0x3d7527);return;}const _0x343e43=this[_0x28d1f6(0x186)](_0x43c49e,_0x28c504);this[_0x28d1f6(0x177)][_0x343e43]={...this[_0x28d1f6(0x177)][_0x343e43]||{},'finishedAt':new Date(_0xaa97d8[_0x28d1f6(0x17e)](_0x28c504[_0x28d1f6(0x23b)][_0x28d1f6(0x1cd)](),_0x28c504[_0x28d1f6(0x248)]))},_0xaa97d8[_0x28d1f6(0x20d)](trace,_0x28d1f6(0x250)+_0x343e43+'\x20is\x20triggered'),await this[_0x28d1f6(0x213)](_0x43c49e,_0x28c504,_0xaa97d8['ykYos'],_0x36717a);}async[a49_0x12f791(0x15d)](_0x409823,_0x58895b){const _0x18b972=a49_0x12f791,_0x6c0702={'GUjPR':function(_0x99aafa,_0x2ae389){return _0x99aafa===_0x2ae389;},'aReQF':_0x18b972(0x1c4),'GNZOE':'TEST_SCREENSHOT','clZFw':_0x18b972(0x21b),'swFgT':function(_0x59c4e0,_0x57678e){return _0x59c4e0(_0x57678e);},'ENeWZ':function(_0x2be060,_0x181dc8,_0x1dea4e){return _0x2be060(_0x181dc8,_0x1dea4e);},'DfChD':_0x18b972(0x25c),'tqPQT':_0x18b972(0x1e9),'aWMYC':function(_0x1a58a9,_0x30379c){return _0x1a58a9(_0x30379c);},'UBHKO':_0x18b972(0x1fa),'YAEhb':function(_0x55ef14,_0x4742b8){return _0x55ef14>_0x4742b8;}};if(BrowserstackCLI['getInstance']()[_0x18b972(0x1f5)]()){const _0x3fccd0={};_0x3fccd0[_0x18b972(0x253)]=_0x409823,_0x3fccd0[_0x18b972(0x239)]=_0x58895b,this[_0x18b972(0x1bb)][_0x18b972(0x1eb)](BrowserstackCLI[_0x18b972(0x15e)]()[_0x18b972(0x19a)]()['trackEvent'](TestFrameworkState['TEST'],HookState[_0x18b972(0x261)],_0x3fccd0));return;}const _0x318d8b=_0x6c0702[_0x18b972(0x1dc)](getTestIdentifier,_0x409823),_0x597405=TestDetails['getTestUUID'](_0x6c0702[_0x18b972(0x1c6)](getTestRunIdentifier,_0x409823,_0x58895b['retry']));this[_0x18b972(0x177)][_0x318d8b]={...this[_0x18b972(0x177)][_0x318d8b]||{},'finishedAt':new Date()['toISOString']()},_0x6c0702[_0x18b972(0x1dc)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x318d8b);try{await this[_0x18b972(0x205)](_0x409823,_0x6c0702[_0x18b972(0x20a)],_0x58895b);}catch(_0x146933){_0x6c0702[_0x18b972(0x1dc)](debug,util[_0x18b972(0x1a1)](_0x6c0702[_0x18b972(0x20b)],_0x146933['toString']()));}try{_0x6c0702[_0x18b972(0x1dc)](debug,_0x18b972(0x1a3)+_0x597405),await _0x6c0702[_0x18b972(0x1c6)](sendTraceZip,_0x58895b,_0x597405);}catch(_0x2800ad){_0x6c0702[_0x18b972(0x216)](debug,util[_0x18b972(0x1a1)](_0x6c0702['UBHKO'],_0x2800ad['toString']()));}const _0x3b7b0=[];_0x58895b['attachments']&&_0x58895b[_0x18b972(0x1e0)][_0x18b972(0x18a)](_0x5e0798=>{const _0x29eb15=_0x18b972;if(_0x6c0702[_0x29eb15(0x1f7)](_0x5e0798[_0x29eb15(0x220)],_0x6c0702[_0x29eb15(0x247)])){if(!_0x5e0798[_0x29eb15(0x228)]||!fs[_0x29eb15(0x196)](_0x5e0798['path']))return;_0x3b7b0[_0x29eb15(0x1eb)]({'test_run_uuid':_0x597405,'timestamp':fs[_0x29eb15(0x230)](_0x5e0798['path'])[_0x29eb15(0x182)],'kind':_0x6c0702['GNZOE'],'message':fs[_0x29eb15(0x18c)](_0x5e0798[_0x29eb15(0x228)],{'encoding':_0x6c0702['clZFw']})});}}),_0x6c0702[_0x18b972(0x256)](_0x3b7b0[_0x18b972(0x169)],0x0)&&await MyReporter[_0x18b972(0x179)](_0x3b7b0);}async[a49_0x12f791(0x189)](){const _0x57300d=a49_0x12f791;await RequestQueueHandler[_0x57300d(0x15e)]()['shutdown']();}async[a49_0x12f791(0x1be)](_0x2c4307){const _0x16b107=a49_0x12f791,_0xbef851={'sbdxA':function(_0x2ae9e0){return _0x2ae9e0();},'WkkTE':function(_0x3563fb,_0x6b6e9e){return _0x3563fb(_0x6b6e9e);}};await Promise[_0x16b107(0x22b)](this[_0x16b107(0x1bb)]),await this['endSession']();try{process['env'][_0x16b107(0x1ff)]&&await _0xbef851[_0x16b107(0x1b3)](calculatePerformance);}catch(_0x43e417){_0xbef851[_0x16b107(0x19b)](debug,_0x16b107(0x167)+_0x43e417[_0x16b107(0x1f3)]());}}static async['addTestUIDAndReportLog'](_0x184b5c,_0x2917d3){const _0x4f233c=a49_0x12f791;_0x2917d3['test_run_uuid']=TestDetails[_0x4f233c(0x1db)](_0x184b5c),await this[_0x4f233c(0x179)]([_0x2917d3]);}static async[a49_0x12f791(0x179)](_0x49c1fc){const _0x23b75e=a49_0x12f791,_0x25d471={};_0x25d471[_0x23b75e(0x1a8)]=_0x23b75e(0x262);const _0x576837=_0x25d471;if(BrowserstackCLI[_0x23b75e(0x15e)]()[_0x23b75e(0x1f5)]())return;const _0x4ddc0c={};_0x4ddc0c[_0x23b75e(0x214)]=_0x576837[_0x23b75e(0x1a8)],_0x4ddc0c[_0x23b75e(0x1d0)]=_0x49c1fc,await SessionHandler[_0x23b75e(0x24d)](_0x4ddc0c);}async[a49_0x12f791(0x213)](_0x503ec4,_0x59c40d,_0x512db9,_0x3f21c7){const _0x1a5536=a49_0x12f791,_0x26d792={'DEmLe':_0x1a5536(0x1ee),'bzorR':_0x1a5536(0x183),'MzvRK':_0x1a5536(0x200),'GFWrG':function(_0x4d9dac,_0x59125c){return _0x4d9dac>=_0x59125c;},'NipfS':function(_0x5814ec,_0x57d15a){return _0x5814ec===_0x57d15a;},'uszfD':_0x1a5536(0x193),'AYsbJ':function(_0x639cb7,_0x559cf5){return _0x639cb7>_0x559cf5;},'RsCuL':_0x1a5536(0x1fd),'RmqVy':function(_0x156e1a,_0x1ff00e){return _0x156e1a(_0x1ff00e);},'dCAqh':function(_0x41e225,_0x481c82){return _0x41e225(_0x481c82);},'ThexY':function(_0x4d82bc,_0x18e716,_0x57d4e3){return _0x4d82bc(_0x18e716,_0x57d4e3);},'CHkUN':_0x1a5536(0x24a),'VQutR':_0x1a5536(0x237)},_0x36631c=this[_0x1a5536(0x186)](_0x503ec4,_0x59c40d),_0x4c2028=this[_0x1a5536(0x177)][_0x36631c],_0x569edd={'uuid':_0x4c2028[_0x1a5536(0x1e5)],'type':_0x26d792[_0x1a5536(0x1bf)],'hook_type':this[_0x1a5536(0x171)](_0x59c40d[_0x1a5536(0x1ea)]),'name':_0x59c40d[_0x1a5536(0x1ea)],'scope':this[_0x1a5536(0x1e2)](_0x59c40d),'scopes':this['getHierarchy'](_0x503ec4),'body':{'lang':_0x26d792['bzorR'],'code':null},'identifier':_0x36631c,'file_name':path[_0x1a5536(0x1b0)](process[_0x1a5536(0x1f8)](),_0x503ec4[_0x1a5536(0x17a)][_0x1a5536(0x19f)]),'location':path[_0x1a5536(0x1b0)](process['cwd'](),_0x503ec4[_0x1a5536(0x17a)][_0x1a5536(0x19f)]),'result':_0x26d792['MzvRK'],'duration_in_ms':_0x26d792[_0x1a5536(0x166)](_0x59c40d[_0x1a5536(0x248)],0x0)?_0x59c40d[_0x1a5536(0x248)]:undefined,'vc_filepath':this[_0x1a5536(0x173)]&&_0x503ec4[_0x1a5536(0x17a)][_0x1a5536(0x19f)]?path[_0x1a5536(0x1b0)](this[_0x1a5536(0x173)],_0x503ec4[_0x1a5536(0x17a)][_0x1a5536(0x19f)]):undefined,'started_at':_0x4c2028['startedAt'],'finished_at':_0x4c2028[_0x1a5536(0x21f)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x26d792[_0x1a5536(0x1ba)](_0x512db9,_0x26d792[_0x1a5536(0x162)])){const {steps:_0x3de06e,logs:_0x63135d}=this[_0x1a5536(0x1b9)](_0x59c40d[_0x1a5536(0x181)],_0x4c2028[_0x1a5536(0x1e5)],_0x26d792[_0x1a5536(0x1bf)]);_0x63135d&&_0x26d792[_0x1a5536(0x1f2)](_0x63135d[_0x1a5536(0x169)],0x0)&&await MyReporter[_0x1a5536(0x179)](_0x63135d);const _0xe8580e={};_0xe8580e[_0x1a5536(0x181)]=_0x3de06e,_0x569edd[_0x1a5536(0x1ef)]=_0xe8580e;if(_0x59c40d[_0x1a5536(0x1da)]){_0x569edd[_0x1a5536(0x239)]=_0x26d792[_0x1a5536(0x160)],_0x569edd[_0x1a5536(0x22d)]=_0x26d792[_0x1a5536(0x24b)](removeAnsiColors,_0x59c40d['error'][_0x1a5536(0x251)]),_0x569edd[_0x1a5536(0x201)]=_0x26d792[_0x1a5536(0x1f4)](getFailureType,_0x59c40d['error'][_0x1a5536(0x251)]);const _0x22ef3e=_0x26d792[_0x1a5536(0x15a)](failureData,_0x59c40d['error'],_0x26d792['CHkUN']);if(_0x22ef3e&&_0x26d792[_0x1a5536(0x1ba)](_0x22ef3e[_0x1a5536(0x169)],0x0)){const _0x8cf757={};_0x8cf757['backtrace']=[_0x569edd[_0x1a5536(0x22d)]],_0x8cf757[_0x1a5536(0x1d7)]=[],_0x22ef3e[_0x1a5536(0x1eb)](_0x8cf757);}_0x569edd[_0x1a5536(0x1c9)]=_0x22ef3e;}else _0x569edd['result']=_0x26d792[_0x1a5536(0x1b6)];}const _0x5e77f3={};_0x5e77f3[_0x1a5536(0x214)]=_0x512db9,_0x5e77f3[_0x1a5536(0x242)]=_0x569edd;const _0x2682a1=_0x5e77f3;await SessionHandler[_0x1a5536(0x24d)](_0x2682a1);}[a49_0x12f791(0x1b9)](_0x4a39b7,_0x4d66b3,_0x2387c4){const _0x45128b=a49_0x12f791;return helper[_0x45128b(0x1b9)](_0x4a39b7,_0x4d66b3,_0x2387c4);}async[a49_0x12f791(0x205)](_0x2dd3ae,_0x2af12b,_0xfd2ab5){const _0x368803=a49_0x12f791,_0x5d7e3c={'Mdpsp':function(_0x1cd579,_0x359e29){return _0x1cd579(_0x359e29);},'zpeub':_0x368803(0x232),'FKysH':function(_0x1048af,_0x3af7ed){return _0x1048af(_0x3af7ed);},'eLLPE':'test','Buiwa':_0x368803(0x183),'LUKCc':_0x368803(0x200),'zlNAV':function(_0x159d10,_0x3b5785,_0x25d14e,_0x2add06,_0x1e563c){return _0x159d10(_0x3b5785,_0x25d14e,_0x2add06,_0x1e563c);},'KcAac':function(_0x1e850a,_0x3da9fd){return _0x1e850a>_0x3da9fd;},'tmbmm':function(_0x2dd493,_0x2e7b37,_0x4f69e5){return _0x2dd493(_0x2e7b37,_0x4f69e5);},'IZtMG':function(_0x49d39b,_0x509a12){return _0x49d39b-_0x509a12;},'IHeuT':function(_0x485fe2,_0x5f0d0d){return _0x485fe2===_0x5f0d0d;},'GElIE':'TestRunFinished','ENFQW':function(_0x4bf114,_0x1d9bb1){return _0x4bf114>_0x1d9bb1;},'SVWze':function(_0xf524f,_0x15d6b9){return _0xf524f(_0x15d6b9);},'mAvVe':function(_0x24faa8,_0x90523e){return _0x24faa8===_0x90523e;},'waDSc':_0x368803(0x1cb),'oXYuI':_0x368803(0x237),'VhFbZ':'failed','NDJvD':function(_0x293956,_0x1e77e2){return _0x293956===_0x1e77e2;},'fpFyM':'timedOut','ONVcF':function(_0x40469a,_0x336a82){return _0x40469a===_0x336a82;},'mKyAJ':function(_0x154f0d,_0x294aa4){return _0x154f0d===_0x294aa4;},'onuei':_0x368803(0x192),'faPIR':function(_0x491f09,_0x141752,_0x273df6){return _0x491f09(_0x141752,_0x273df6);},'VwJeG':function(_0xa41d0d,_0x4a5bf1){return _0xa41d0d(_0x4a5bf1);},'weSUV':function(_0x50844b,_0x5369c1){return _0x50844b>_0x5369c1;},'KRCaQ':_0x368803(0x228),'yNote':function(_0x496b9f,_0x2b674a){return _0x496b9f(_0x2b674a);},'RWGUl':function(_0x52608b,_0x33bd2c){return _0x52608b(_0x33bd2c);},'gybBB':_0x368803(0x229),'QFQRs':_0x368803(0x195),'mBxCj':function(_0x3806ad,_0xefee9a){return _0x3806ad(_0xefee9a);},'yOIlU':function(_0x221459,_0x1b5465){return _0x221459!==_0x1b5465;},'WdcED':function(_0x3b0db7,_0x3bae4e){return _0x3b0db7===_0x3bae4e;}},_0x2f6551=_0x5d7e3c[_0x368803(0x24c)](getTestIdentifier,_0x2dd3ae),_0x4c5d66=this[_0x368803(0x1e2)](_0x2dd3ae),_0x3ca5b5=this[_0x368803(0x177)][_0x2f6551],_0x200efe=path[_0x368803(0x1b0)](process['cwd'](),_0x2dd3ae[_0x368803(0x17a)][_0x368803(0x19f)]);await this['configureGit']();const _0x29adaf={'uuid':_0x3ca5b5['uuid'],'type':_0x5d7e3c[_0x368803(0x16a)],'name':_0x2dd3ae['title'],'body':{'lang':_0x5d7e3c[_0x368803(0x1d3)],'code':_0x2dd3ae['fn'][_0x368803(0x1f3)]()},'scope':_0x4c5d66,'scopes':this[_0x368803(0x202)](_0x2dd3ae),'identifier':_0x2f6551,'file_name':_0x200efe,'location':_0x200efe,'result':_0x5d7e3c[_0x368803(0x1b5)],'duration_in_ms':_0xfd2ab5&&_0xfd2ab5[_0x368803(0x248)]?_0xfd2ab5['duration']:null,'vc_filepath':this[_0x368803(0x173)]&&_0x2dd3ae[_0x368803(0x17a)][_0x368803(0x19f)]?path['relative'](this[_0x368803(0x173)],_0x2dd3ae[_0x368803(0x17a)][_0x368803(0x19f)]):undefined,'started_at':_0x3ca5b5[_0x368803(0x244)],'finished_at':_0x3ca5b5[_0x368803(0x21f)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x368803(0x23e)](_0x2dd3ae)},'tags':_0x5d7e3c[_0x368803(0x24c)](getTestTags,_0x2dd3ae)};_0x5d7e3c[_0x368803(0x1ab)](appendTesthubParams,_0x29adaf,_0x2af12b,_0x2dd3ae,FRAMEWORKS[_0x368803(0x184)]);_0xfd2ab5&&_0x5d7e3c[_0x368803(0x190)](_0xfd2ab5[_0x368803(0x260)],0x0)&&(_0x29adaf['retry_of']=TestDetails[_0x368803(0x1db)](_0x5d7e3c['tmbmm'](getTestRunIdentifier,_0x2dd3ae,_0x5d7e3c['IZtMG'](_0xfd2ab5['retry'],0x1))));if(_0x5d7e3c['IHeuT'](_0x2af12b,_0x5d7e3c[_0x368803(0x223)])){try{const _0x469416=TestDetails['getIntegrations'](_0x3ca5b5['uuid']);_0x469416&&_0x5d7e3c[_0x368803(0x1f6)](Object['keys'](_0x469416)[_0x368803(0x169)],0x0)?_0x29adaf['integrations']=_0x469416:_0x5d7e3c[_0x368803(0x24c)](debug,_0x368803(0x1b1)+_0x3ca5b5[_0x368803(0x1e5)]+'\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test');}catch(_0x1b6627){_0x5d7e3c[_0x368803(0x174)](debug,_0x368803(0x254)+_0x3ca5b5[_0x368803(0x1e5)]+':\x20'+util[_0x368803(0x1a1)](_0x1b6627));}_0x29adaf[_0x368803(0x239)]=_0xfd2ab5[_0x368803(0x185)];if(_0x5d7e3c['mAvVe'](_0xfd2ab5[_0x368803(0x185)],_0x2dd3ae['expectedStatus']))_0x29adaf[_0x368803(0x239)]=_0x5d7e3c[_0x368803(0x18e)](_0xfd2ab5[_0x368803(0x185)],_0x5d7e3c[_0x368803(0x224)])?_0x5d7e3c[_0x368803(0x224)]:_0x5d7e3c[_0x368803(0x25f)];else{(_0x5d7e3c[_0x368803(0x18e)](_0x29adaf[_0x368803(0x239)],_0x5d7e3c[_0x368803(0x25f)])||_0x5d7e3c[_0x368803(0x18e)](_0x29adaf[_0x368803(0x239)],_0x5d7e3c[_0x368803(0x1a7)])||_0x5d7e3c[_0x368803(0x1e3)](_0x29adaf['result'],_0x5d7e3c[_0x368803(0x15b)]))&&(_0x29adaf[_0x368803(0x239)]=_0x5d7e3c['VhFbZ']);if(_0x5d7e3c[_0x368803(0x211)](_0xfd2ab5['status'],_0x5d7e3c[_0x368803(0x25f)])&&_0x5d7e3c[_0x368803(0x204)](_0x2dd3ae['expectedStatus'],_0x5d7e3c[_0x368803(0x1a7)])){const _0x313053={};_0x313053[_0x368803(0x251)]=_0x5d7e3c[_0x368803(0x21e)],_0x313053[_0x368803(0x1c7)]=_0x5d7e3c[_0x368803(0x21e)],_0xfd2ab5[_0x368803(0x1da)]=_0x313053,_0xfd2ab5[_0x368803(0x1ac)]=[_0xfd2ab5[_0x368803(0x1da)]];}}const _0x13b6b0=_0x5d7e3c[_0x368803(0x221)](getTestRunIdentifier,_0x2dd3ae,_0xfd2ab5['retry']);_0x29adaf['hooks']=this[_0x368803(0x219)][_0x13b6b0];const {steps:_0x2ab69c,logs:_0x3d75f9}=this[_0x368803(0x1b9)](_0xfd2ab5[_0x368803(0x181)],_0x3ca5b5[_0x368803(0x1e5)],_0x5d7e3c[_0x368803(0x16a)]);await MyReporter[_0x368803(0x179)](_0x3d75f9);const _0x443761={};_0x443761['steps']=_0x2ab69c,_0x29adaf[_0x368803(0x1ef)]=_0x443761;if(_0xfd2ab5[_0x368803(0x1da)]){_0x29adaf[_0x368803(0x22d)]=_0x5d7e3c[_0x368803(0x174)](removeAnsiColors,_0xfd2ab5['error'][_0x368803(0x251)]),_0x29adaf[_0x368803(0x201)]=_0x5d7e3c[_0x368803(0x259)](getFailureType,_0xfd2ab5[_0x368803(0x1da)][_0x368803(0x251)]);const _0x971886={};_0x971886[_0x368803(0x191)]=_0x3ca5b5[_0x368803(0x1e5)];const {failureData:_0x22cb65,logs:_0x5e745c}=_0x5d7e3c[_0x368803(0x20e)](getFailureData,_0xfd2ab5[_0x368803(0x1ac)],_0x971886);if(_0x22cb65&&_0x5d7e3c['mAvVe'](_0x22cb65[_0x368803(0x169)],0x0)){const _0xc54e00={};_0xc54e00[_0x368803(0x1a6)]=[_0x29adaf[_0x368803(0x22d)]],_0xc54e00[_0x368803(0x1d7)]=[],_0x22cb65['push'](_0xc54e00);}_0x29adaf[_0x368803(0x1c9)]=_0x22cb65,_0x5e745c&&_0x5d7e3c[_0x368803(0x1f9)](_0x5e745c[_0x368803(0x169)],0x0)&&await MyReporter[_0x368803(0x179)](_0x5e745c);}}let _0x2d7dcd=_0x5d7e3c[_0x368803(0x221)](findNestedKey,_0xfd2ab5,_0x5d7e3c['KRCaQ']);if(_0x2d7dcd&&_0x5d7e3c[_0x368803(0x188)](validateFilePath,_0x2d7dcd))_0x5d7e3c[_0x368803(0x1fe)](debug,_0x368803(0x23c)+_0x3ca5b5[_0x368803(0x1e5)]+_0x368803(0x1e1)+_0x2d7dcd);else{const _0x32f1ef=path[_0x368803(0x208)](helper[_0x368803(0x15f)](),_0x5d7e3c['gybBB']);!fs[_0x368803(0x196)](_0x32f1ef)&&fs['mkdirSync'](_0x32f1ef),fs[_0x368803(0x196)](path[_0x368803(0x208)](_0x32f1ef,'trace_'+_0x3ca5b5['uuid']+_0x368803(0x203)))&&(_0x2d7dcd=fs[_0x368803(0x18c)](path['join'](_0x32f1ef,_0x368803(0x1d4)+_0x3ca5b5['uuid']+_0x368803(0x203)),_0x5d7e3c['QFQRs']),_0x5d7e3c['mBxCj'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x3ca5b5[_0x368803(0x1e5)]+'\x20at\x20'+_0x2d7dcd));}const _0x3c2cbf={};_0x3c2cbf['event_type']=_0x2af12b,_0x3c2cbf['test_run']=_0x29adaf;const _0x1cdbf9=_0x3c2cbf;_0x2d7dcd&&_0x5d7e3c[_0x368803(0x1cc)](_0x2d7dcd,'')&&_0x5d7e3c['WdcED'](_0x2af12b,_0x5d7e3c[_0x368803(0x223)])&&(!_0x1cdbf9['logs']&&(_0x1cdbf9['logs']=[]),_0x2d7dcd[_0x368803(0x170)]('\x0a')[_0x368803(0x1a4)](_0x132686=>{const _0x380a38=_0x368803;_0x132686&&_0x5d7e3c[_0x380a38(0x207)](validateFilePath,_0x132686)&&_0x1cdbf9[_0x380a38(0x1d0)]['push']({'kind':_0x5d7e3c[_0x380a38(0x1bd)],'timestamp':new Date()[_0x380a38(0x1e7)](),'test_run_uuid':_0x3ca5b5[_0x380a38(0x1e5)],'file_name':path[_0x380a38(0x218)](_0x132686),'file_size':fs[_0x380a38(0x230)](_0x132686)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x368803(0x24d)](_0x1cdbf9);}[a49_0x12f791(0x23e)](_0x58111a){const _0x2b2ba9=a49_0x12f791,_0x17194b={};_0x17194b[_0x2b2ba9(0x238)]=function(_0x4d1c1b,_0x13b3cf){return _0x4d1c1b===_0x13b3cf;},_0x17194b[_0x2b2ba9(0x1e6)]=function(_0xcd656b,_0x2bda0f){return _0xcd656b>_0x2bda0f;},_0x17194b[_0x2b2ba9(0x1fb)]=function(_0x43fa05,_0x2e1596){return _0x43fa05+_0x2e1596;},_0x17194b[_0x2b2ba9(0x20c)]=function(_0x3a3aae,_0x39d9ed){return _0x3a3aae+_0x39d9ed;},_0x17194b['IfPzb']=function(_0x25e011,_0x492c71){return _0x25e011>_0x492c71;},_0x17194b['Blsso']=function(_0x3d6125,_0x2d53b2){return _0x3d6125+_0x2d53b2;},_0x17194b['ZVKUQ']=function(_0x417ce7,_0x359356){return _0x417ce7+_0x359356;};const _0x9dd0e7=_0x17194b,_0x414cdb=_0x58111a['titlePath']()[_0x2b2ba9(0x18a)](_0x2efa35=>{const _0x14c861=_0x2b2ba9;if(_0x58111a[_0x14c861(0x23a)]&&_0x9dd0e7['RhGsX'](_0x2efa35,_0x58111a[_0x14c861(0x23a)][_0x14c861(0x1ea)])&&_0x58111a[_0x14c861(0x23a)]['_tags']&&_0x9dd0e7[_0x14c861(0x1e6)](_0x58111a[_0x14c861(0x23a)][_0x14c861(0x20f)][_0x14c861(0x169)],0x0))return _0x9dd0e7[_0x14c861(0x1fb)](_0x9dd0e7[_0x14c861(0x20c)](_0x2efa35,'\x20'),_0x58111a[_0x14c861(0x23a)][_0x14c861(0x20f)]['join']('\x20'));if(_0x9dd0e7['RhGsX'](_0x2efa35,_0x58111a[_0x14c861(0x1ea)])&&_0x58111a[_0x14c861(0x20f)]&&_0x9dd0e7[_0x14c861(0x1e4)](_0x58111a['_tags'][_0x14c861(0x169)],0x0))return _0x9dd0e7['Blsso'](_0x9dd0e7[_0x14c861(0x233)](_0x2efa35,'\x20'),_0x58111a['_tags'][_0x14c861(0x208)]('\x20'));return _0x2efa35;})[_0x2b2ba9(0x208)]('\x20');return _0x414cdb;}static async[a49_0x12f791(0x1ce)](_0x2556bd,_0x2e8aeb){const _0x139dfe=a49_0x12f791,_0x189341={'FyYZR':function(_0x5d0770,_0x13c79e){return _0x5d0770(_0x13c79e);},'EzOgm':'CBTSessionCreated'},_0xbdfb05={'uuid':TestDetails[_0x139dfe(0x1db)](_0x2556bd),'integrations':_0x2e8aeb},_0x1cdc62={};_0x1cdc62[_0x139dfe(0x217)]=null,_0x189341[_0x139dfe(0x222)](debug,_0x139dfe(0x264)+_0x2556bd+',\x20'+util[_0x139dfe(0x175)](_0x2e8aeb,_0x1cdc62));const _0x5a28c1={};_0x5a28c1[_0x139dfe(0x214)]=_0x189341['EzOgm'],_0x5a28c1[_0x139dfe(0x1d1)]=_0xbdfb05,await SessionHandler[_0x139dfe(0x24d)](_0x5a28c1);}async[a49_0x12f791(0x1d2)](){const _0x1e434b=a49_0x12f791,_0x3548de={'wlzht':function(_0x27df48){return _0x27df48();}};if(this[_0x1e434b(0x1d8)])return;const _0x46bb7c=await _0x3548de[_0x1e434b(0x198)](getGitMetaData);_0x46bb7c&&(this['_gitConfigPath']=_0x46bb7c[_0x1e434b(0x21d)]),this[_0x1e434b(0x1d8)]=!![];}[a49_0x12f791(0x202)](_0x1bdfae){const _0x2b5c5b=a49_0x12f791,_0x40bcfc={};_0x40bcfc['YAzcr']=function(_0x51ac25,_0x20490b){return _0x51ac25!==_0x20490b;};const _0x27e7f4=_0x40bcfc,_0x2842ee=[];if(_0x1bdfae&&_0x1bdfae['parent']){let _0x3daa9e=_0x1bdfae[_0x2b5c5b(0x23a)];while(_0x3daa9e&&_0x27e7f4['YAzcr'](_0x3daa9e['title'],'')){_0x2842ee[_0x2b5c5b(0x1eb)](_0x3daa9e[_0x2b5c5b(0x1ea)]),_0x3daa9e=_0x3daa9e['parent'];}}return _0x2842ee[_0x2b5c5b(0x1f0)]()['splice'](0x0,0x2),_0x2842ee;}[a49_0x12f791(0x210)](_0x5da913){const _0x436c2c=a49_0x12f791,_0x1ae52b={};_0x1ae52b[_0x436c2c(0x197)]=function(_0x49b5cb,_0x15cc74){return _0x49b5cb===_0x15cc74;},_0x1ae52b[_0x436c2c(0x209)]='test.step',_0x1ae52b[_0x436c2c(0x1a0)]=function(_0x1bdeed,_0xd2574e){return _0x1bdeed!==_0xd2574e;},_0x1ae52b['QAkVI']=_0x436c2c(0x1ee),_0x1ae52b[_0x436c2c(0x163)]=function(_0x825699,_0x397e90){return _0x825699===_0x397e90;},_0x1ae52b[_0x436c2c(0x25a)]=_0x436c2c(0x17d),_0x1ae52b[_0x436c2c(0x1a5)]=_0x436c2c(0x255),_0x1ae52b[_0x436c2c(0x1aa)]=_0x436c2c(0x22c),_0x1ae52b[_0x436c2c(0x1c1)]=_0x436c2c(0x19c);const _0x59ab62=_0x1ae52b;if(_0x59ab62['GTBKJ'](_0x5da913[_0x436c2c(0x252)],_0x59ab62[_0x436c2c(0x209)]))return!![];if(_0x59ab62[_0x436c2c(0x1a0)](_0x5da913[_0x436c2c(0x252)],_0x59ab62[_0x436c2c(0x1d6)]))return![];if(_0x59ab62[_0x436c2c(0x163)]([_0x59ab62[_0x436c2c(0x25a)],_0x59ab62['XyxvT'],_0x59ab62[_0x436c2c(0x1aa)],_0x59ab62[_0x436c2c(0x1c1)]][_0x436c2c(0x176)](_0x5da913['title']),-0x1))return![];return!![];}[a49_0x12f791(0x186)](_0x2ff32e,_0x215d4f){const _0x43ffc2=a49_0x12f791,_0x45c331={'zwdNi':function(_0x45fca1,_0x325e94){return _0x45fca1(_0x325e94);}},_0x502397=_0x215d4f[_0x43ffc2(0x16f)];if(_0x502397)return _0x502397;return _0x215d4f[_0x43ffc2(0x1ea)]+_0x43ffc2(0x18b)+_0x45c331['zwdNi'](getTestIdentifier,_0x2ff32e);}['setStepIdentifier'](_0x1cbacb,_0x141a64){const _0x834a1f=a49_0x12f791,_0x557dfa={'fWeup':function(_0x2a972b,_0x28dd40){return _0x2a972b(_0x28dd40);},'mvxba':function(_0x321337){return _0x321337();}};let _0xd42ac7=_0x141a64[_0x834a1f(0x1ea)]+'\x20for\x20'+_0x557dfa[_0x834a1f(0x1e8)](getTestIdentifier,_0x1cbacb);return this[_0x834a1f(0x177)][_0xd42ac7]&&(_0xd42ac7=_0xd42ac7+_0x834a1f(0x1ed)+_0x557dfa[_0x834a1f(0x1d9)](uuidv4)),_0x141a64['_bs_hookIdentifier']=_0xd42ac7,_0xd42ac7;}['getHookType']=_0x22bae8=>{const _0x59f1ff=a49_0x12f791,_0x597e22={};_0x597e22[_0x59f1ff(0x1dd)]=_0x59f1ff(0x17d),_0x597e22[_0x59f1ff(0x1ad)]=_0x59f1ff(0x21a),_0x597e22[_0x59f1ff(0x1f1)]=_0x59f1ff(0x255),_0x597e22[_0x59f1ff(0x1b4)]=_0x59f1ff(0x1c0),_0x597e22[_0x59f1ff(0x22f)]=_0x59f1ff(0x19c),_0x597e22['VFhTG']=_0x59f1ff(0x1af),_0x597e22[_0x59f1ff(0x161)]='afterAll\x20hook',_0x597e22['yZiyK']=_0x59f1ff(0x257),_0x597e22[_0x59f1ff(0x226)]=_0x59f1ff(0x18d);const _0xf69ef2=_0x597e22;if(_0x22bae8[_0x59f1ff(0x263)](_0xf69ef2['VgRTZ']))return _0xf69ef2[_0x59f1ff(0x1ad)];else{if(_0x22bae8[_0x59f1ff(0x263)](_0xf69ef2['izpCS']))return _0xf69ef2['EEkLF'];else{if(_0x22bae8[_0x59f1ff(0x263)](_0xf69ef2[_0x59f1ff(0x22f)]))return _0xf69ef2[_0x59f1ff(0x1c8)];else{if(_0x22bae8[_0x59f1ff(0x263)](_0xf69ef2['VQkqc']))return _0xf69ef2[_0x59f1ff(0x22a)];}}}return _0xf69ef2[_0x59f1ff(0x226)];};[a49_0x12f791(0x1e2)]=_0x5644ee=>{const _0x1c02e4=a49_0x12f791,_0x4a4a13={};_0x4a4a13['OlplO']=function(_0x532aac,_0x2dc06a){return _0x532aac===_0x2dc06a;},_0x4a4a13[_0x1c02e4(0x16d)]=_0x1c02e4(0x206);const _0x3805ad=_0x4a4a13;let _0x5b9465=_0x5644ee[_0x1c02e4(0x23a)];return _0x3805ad[_0x1c02e4(0x178)](typeof _0x5644ee[_0x1c02e4(0x23a)],_0x3805ad[_0x1c02e4(0x16d)])&&(_0x5b9465=_0x5b9465[_0x1c02e4(0x1ea)]),_0x5b9465+_0x1c02e4(0x1ed)+_0x5644ee[_0x1c02e4(0x1ea)];};[a49_0x12f791(0x1de)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a49_0x12f791(0x1df),a49_0x12f791(0x189),a49_0x12f791(0x199),a49_0x12f791(0x15d),a49_0x12f791(0x1ec),a49_0x12f791(0x227),a49_0x12f791(0x1ce)],a49_0x12f791(0x23d));
1
+ const a49_0x20d6eb=a49_0x5d44;function a49_0x532d(){const _0x5489e2=['./test-details','shutdown','Dqbpw','BROWSERSTACK_O11Y_PERF_MEASUREMENT','relative','RWXHW','UnUDz','_bs_hookIdentifier','BdrOz','../../v2/state/hookState','yTaTI','getIntegrations','Hook\x20Finished\x20with\x20unique\x20id\x20','NqUuu','afterEach\x20hook','isRunning','failure','exports','unknown','afterAll\x20hook','dcZdG','failed','hooks','START_TIME','oGZIg','../../../helpers/performance/performance-tester','getStepsAndLogs','startTime','aPYhh','util','TestRunStarted','inspect','skipped','onStepEnd','length','result','expanded','../../../helpers/test-observability/error-handler','LuZrR','YERvD','getScope','YpOTo','steps','./pwUtils','../../v2/state/testFrameworkState','kRsFH','90554MFMEUd','HZOvg','logLevel','attachments','fETsM','cmKjZ','failure_reason','wrbQB','readFileSync','finishedAt','parent','push','eBLLF','getCustomRerunParam','KLPrQ','AFTER_EACH','step','reverse','BROWSERSTACK_TEST_RUN_ID','NDahG','leyAu','TPyza','\x20is\x20triggered','LJZZF','TEST_SCREENSHOT','dtDuv','Trace\x20file\x20found\x20for\x20test:\x20','rzdyu','statSync','existsSync','BROWSERSTACK_LOG_LEVEL','\x20at\x20','bwjuz','base64','gGZOE','javascript','mkdirSync','No\x20integrations\x20found\x20for\x20test\x20','message','TEST_ATTACHMENT','Error\x20in\x20sending\x20trace\x20zip:\x20%s','hook_run','test.step','10608984RtZQkc','../../../helpers/testhub/utils','onBegin','MCGwN','startedAt','ryxaE','beforeAll\x20hook','FkyFu','BZCRb','MBqQk','../../v2/TestInfo','YSDuI','getTestUUID','TEST','uFLpi','1718922zrxzpr','getHookType','2|6|5|1|0|4|3|7','timedOut','TgjNh','title','tvRuk','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','OjtOm','HDjJJ','gVGKu','rIWbV','_tests','YZErH','ZXtnp','format','xSrVv','.txt','../../../helpers/test-observability/sessionHandler','BKMgE','getHierarchy','utf8','37681490dAGVGL','startMonitoring','_trackedEvents','sendSessionDetails','retry_of','FyBao','_tags','HookRunFinished','_testHooksMap','Error\x20reading\x20integrations\x20for\x20test\x20','split','screenshot','BEFORE_EACH','status','IFCqt','XpTvZ','file','ePuwe','741138ZKJLhZ','AFTER_ALL','HDsBY','POST','onTestEnd','keByx','PJZSI','JMoEG','basename','1VVcIEY','../../v2/browserstackCLI','endSession','failure_type','duration','MWbMo','beforeEach\x20hook','pWYaO','addTestUIDAndReportLog','hHKMa','env','5661924cUyOVX','cwd','../../../helpers/helper','2248299iogCgG','depth','HookRunStarted','RwKvy','Error\x20in\x20calculating\x20performance:\x20','70NKpBTT','getStepIdentifier','toISOString','BzDXa','dORrA','error','MUwti','onStepBegin','root','sendTestRunEvent','xsmTF','quYKb','frJCV','retry','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','HxppV','xkdRe','PRE','zMphv','backtrace','uuid','Playwright','setStepIdentifier','join','map','VVCZK','startsWith','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','options','dvFng','configureGit','YTYGk','gaCsI','all','location','trace_','homedir','uploadEventData','errors','../../../helpers/test-observability/requestQueueHandler','path','oDIXp','getTestFramework','iDVWY','uURgY','integrations','hook','hbtKk','stack','MhEwo','TestRunFinished','passed','setup','expectedStatus','getInstance','toString','pending','cssqk','sTeoG','kqIwM','object','meta','CfxjI','needToReportStep','MyReporter','RxNMr','trackEvent','test_run','category','eDKpF','Expected\x20to\x20fail,\x20but\x20passed.','keys','uwmpn','event_type','printsToStdio','\x20for\x20','EMMst','test','Test\x20Started\x20with\x20unique\x20id\x20','zFruq','xmqGJ','err','logs','onEnd','\x20-\x20','omLyt','IWSaN','7SrApRy','yjrnW','test_run_uuid','onTestBegin','.browserstack','caqNf','Phong','_gitConfigPath','VFNoS','reportLogs','sendHookRunEvent','uaCPk'];a49_0x532d=function(){return _0x5489e2;};return a49_0x532d();}(function(_0x1cbc1f,_0x4752c6){const _0x12cf7d=a49_0x5d44,_0x26a8f0=_0x1cbc1f();while(!![]){try{const _0x5db0aa=parseInt(_0x12cf7d(0x238))/0x1*(-parseInt(_0x12cf7d(0x2dc))/0x2)+parseInt(_0x12cf7d(0x207))/0x3+parseInt(_0x12cf7d(0x243))/0x4+-parseInt(_0x12cf7d(0x24b))/0x5*(-parseInt(_0x12cf7d(0x22f))/0x6)+-parseInt(_0x12cf7d(0x2a2))/0x7*(-parseInt(_0x12cf7d(0x1f8))/0x8)+-parseInt(_0x12cf7d(0x246))/0x9+-parseInt(_0x12cf7d(0x21d))/0xa;if(_0x5db0aa===_0x4752c6)break;else _0x26a8f0['push'](_0x26a8f0['shift']());}catch(_0x2dacba){_0x26a8f0['push'](_0x26a8f0['shift']());}}}(a49_0x532d,0xef6b7));const RequestQueueHandler=require(a49_0x20d6eb(0x272)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a49_0x20d6eb(0x2d9)),{v4:uuidv4}=require(a49_0x20d6eb(0x25f)),path=require(a49_0x20d6eb(0x273)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a49_0x20d6eb(0x245)),TestDetails=require(a49_0x20d6eb(0x2ae)),fs=require('fs'),util=require(a49_0x20d6eb(0x2cb)),{o11yClassErrorHandler}=require(a49_0x20d6eb(0x2d3)),PerformanceTester=require(a49_0x20d6eb(0x2c7)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a49_0x20d6eb(0x219)),{appendTesthubParams}=require(a49_0x20d6eb(0x1f9)),helper=require('../../../helpers/helper'),BrowserstackCLI=require(a49_0x20d6eb(0x239)),TestFrameworkState=require(a49_0x20d6eb(0x2da)),HookState=require(a49_0x20d6eb(0x2b7)),TestInfo=require(a49_0x20d6eb(0x202)),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');class MyReporter{constructor(_0x50e4e4){const _0x2ebb01=a49_0x20d6eb,_0x34162e={'TPyza':_0x2ebb01(0x209),'oGZIg':function(_0x531ff8,_0x7d91e3,_0x49ffc4,_0xc4fa8d){return _0x531ff8(_0x7d91e3,_0x49ffc4,_0xc4fa8d);},'wcpVk':'performance-report-reporter.json'},_0x31bbdf=_0x34162e[_0x2ebb01(0x1e2)][_0x2ebb01(0x227)]('|');let _0x1587ee=0x0;while(!![]){switch(_0x31bbdf[_0x1587ee++]){case'0':this[_0x2ebb01(0x267)]=_0x50e4e4;continue;case'1':this['_testHooksMap']={};continue;case'2':const _0x1ed638={};_0x1ed638[_0x2ebb01(0x2de)]=process['env'][_0x2ebb01(0x1eb)],_0x34162e[_0x2ebb01(0x2c6)](setLogLevel,_0x1ed638,new Map(),new Map());continue;case'3':this[_0x2ebb01(0x2a9)]=null;continue;case'4':this['_gitConfigured']=![];continue;case'5':this['_tests']={};continue;case'6':process['env'][_0x2ebb01(0x2b1)]&&(PerformanceTester[_0x2ebb01(0x21e)](_0x34162e['wcpVk']),process[_0x2ebb01(0x242)][_0x2ebb01(0x2c5)]=new Date()[_0x2ebb01(0x24d)]());continue;case'7':this[_0x2ebb01(0x21f)]=[];continue;}break;}}async[a49_0x20d6eb(0x1fa)](){const _0x54d4a6=a49_0x20d6eb,_0x4e1281={};_0x4e1281[_0x54d4a6(0x1e8)]=_0x54d4a6(0x260);const _0x27e008=_0x4e1281;TestDetails[_0x54d4a6(0x27f)](),await this[_0x54d4a6(0x269)](),TestInfo[_0x54d4a6(0x27f)](_0x27e008[_0x54d4a6(0x1e8)]);if(BrowserstackCLI[_0x54d4a6(0x281)]()[_0x54d4a6(0x2bd)]()){await BrowserstackCLI['getInstance']()[_0x54d4a6(0x275)]()[_0x54d4a6(0x28d)](TestFrameworkState['INIT_TEST'],HookState[_0x54d4a6(0x25c)],{});return;}}async[a49_0x20d6eb(0x2a5)](_0x39fc69,_0x2fc483){const _0x5a5c9e=a49_0x20d6eb,_0x33b53e={'oDIXp':function(_0x4c6262,_0x2b8afc){return _0x4c6262(_0x2b8afc);},'UqOhe':function(_0x56ac28,_0x5ecb6c,_0x1d0ca0){return _0x56ac28(_0x5ecb6c,_0x1d0ca0);},'rQKKP':function(_0x5a00b6,_0x2c63e8){return _0x5a00b6(_0x2c63e8);},'wrbQB':_0x5a5c9e(0x2cc)};if(BrowserstackCLI[_0x5a5c9e(0x281)]()['isRunning']()){const _0x4bb251={};_0x4bb251[_0x5a5c9e(0x298)]=_0x39fc69,_0x4bb251[_0x5a5c9e(0x2d1)]=_0x2fc483,await BrowserstackCLI['getInstance']()[_0x5a5c9e(0x275)]()[_0x5a5c9e(0x28d)](TestFrameworkState['TEST'],HookState[_0x5a5c9e(0x25c)],_0x4bb251);return;}const _0x52d00d=_0x33b53e[_0x5a5c9e(0x274)](getTestIdentifier,_0x39fc69),_0x4e105f=TestDetails[_0x5a5c9e(0x204)](_0x33b53e['UqOhe'](getTestRunIdentifier,_0x39fc69,_0x2fc483['retry']));process['env'][_0x5a5c9e(0x2ee)]=_0x4e105f;const _0x445915={};_0x445915[_0x5a5c9e(0x25f)]=_0x4e105f,_0x445915[_0x5a5c9e(0x1fc)]=_0x2fc483[_0x5a5c9e(0x2c9)],this[_0x5a5c9e(0x213)][_0x52d00d]=_0x445915,_0x33b53e['rQKKP'](trace,_0x5a5c9e(0x299)+_0x52d00d),await this[_0x5a5c9e(0x254)](_0x39fc69,_0x33b53e[_0x5a5c9e(0x2e3)],_0x2fc483);}async[a49_0x20d6eb(0x252)](_0x4c1f28,_0x2a3cfd,_0x1d926b){const _0x238f8d=a49_0x20d6eb,_0x26a159={'IWSaN':function(_0x1cc711,_0x203698){return _0x1cc711===_0x203698;},'cssqk':_0x238f8d(0x1f7),'Dqbpw':function(_0x34173d,_0x58e6b9,_0x28c582){return _0x34173d(_0x58e6b9,_0x28c582);},'RwKvy':function(_0x487029,_0x5e6764){return _0x487029(_0x5e6764);},'MhEwo':_0x238f8d(0x248)};if(!this[_0x238f8d(0x28a)](_0x1d926b,_0x4c1f28))return;if(_0x26a159[_0x238f8d(0x2a1)](_0x1d926b['category'],_0x26a159[_0x238f8d(0x284)])){if(BrowserstackCLI[_0x238f8d(0x281)]()[_0x238f8d(0x2bd)]()){const _0x3da79d={};_0x3da79d['test']=_0x4c1f28,_0x3da79d['result']=_0x2a3cfd,_0x3da79d[_0x238f8d(0x2ec)]=_0x1d926b,await BrowserstackCLI[_0x238f8d(0x281)]()[_0x238f8d(0x275)]()[_0x238f8d(0x28d)](TestFrameworkState['TEST_STEP'],HookState[_0x238f8d(0x25c)],_0x3da79d);}return;}if(BrowserstackCLI[_0x238f8d(0x281)]()[_0x238f8d(0x2bd)]()){const _0x1709e8=this['getHookType'](_0x1d926b['title']),_0x2a40a2=TestFrameworkState[_0x1709e8],_0x5b3cc6={};_0x5b3cc6[_0x238f8d(0x298)]=_0x4c1f28,_0x5b3cc6['result']=_0x2a3cfd,_0x5b3cc6[_0x238f8d(0x2ec)]=_0x1d926b,await BrowserstackCLI[_0x238f8d(0x281)]()[_0x238f8d(0x275)]()[_0x238f8d(0x28d)](_0x2a40a2,HookState[_0x238f8d(0x25c)],_0x5b3cc6);return;}const _0xdefbdd=this[_0x238f8d(0x261)](_0x4c1f28,_0x1d926b);this[_0x238f8d(0x213)][_0xdefbdd]={'uuid':TestDetails[_0x238f8d(0x204)](_0xdefbdd),'startedAt':_0x1d926b[_0x238f8d(0x2c9)]['toISOString']()};const _0x247aca=_0x26a159[_0x238f8d(0x2b0)](getTestRunIdentifier,_0x4c1f28,_0x2a3cfd[_0x238f8d(0x258)]);!this['_testHooksMap'][_0x247aca]&&(this[_0x238f8d(0x225)][_0x247aca]=[]),this['_testHooksMap'][_0x247aca][_0x238f8d(0x2e7)](this['_tests'][_0xdefbdd][_0x238f8d(0x25f)]),_0x26a159[_0x238f8d(0x249)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0xdefbdd+'\x20is\x20triggered\x20for\x20test\x20'+_0x247aca),await this[_0x238f8d(0x2ac)](_0x4c1f28,_0x1d926b,_0x26a159[_0x238f8d(0x27c)],_0x2a3cfd);}async[a49_0x20d6eb(0x2cf)](_0x19769f,_0x4a5b52,_0x4e6865){const _0x4b2caa=a49_0x20d6eb,_0x56ed8a={'GJSEC':function(_0x4f5ebe,_0x4ee1fe){return _0x4f5ebe===_0x4ee1fe;},'gVGKu':_0x4b2caa(0x1f7),'bRYaC':function(_0x1e7675,_0x3996d8){return _0x1e7675+_0x3996d8;},'NqUuu':function(_0x5bc88f,_0x39a9e0){return _0x5bc88f(_0x39a9e0);},'MCGwN':_0x4b2caa(0x224)};if(!this[_0x4b2caa(0x28a)](_0x4e6865,_0x19769f))return;if(_0x56ed8a['GJSEC'](_0x4e6865[_0x4b2caa(0x28f)],_0x56ed8a[_0x4b2caa(0x211)])){if(BrowserstackCLI[_0x4b2caa(0x281)]()[_0x4b2caa(0x2bd)]()){const _0x3de6dc={};_0x3de6dc[_0x4b2caa(0x298)]=_0x19769f,_0x3de6dc['result']=_0x4a5b52,_0x3de6dc[_0x4b2caa(0x2ec)]=_0x4e6865,await BrowserstackCLI[_0x4b2caa(0x281)]()[_0x4b2caa(0x275)]()['trackEvent'](TestFrameworkState['TEST_STEP'],HookState[_0x4b2caa(0x232)],_0x3de6dc);}return;}if(BrowserstackCLI[_0x4b2caa(0x281)]()['isRunning']()){const _0x350627=this['getHookType'](_0x4e6865[_0x4b2caa(0x20c)]),_0x2794d4=TestFrameworkState[_0x350627],_0x2899e4={};_0x2899e4[_0x4b2caa(0x298)]=_0x19769f,_0x2899e4[_0x4b2caa(0x2d1)]=_0x4a5b52,_0x2899e4[_0x4b2caa(0x2ec)]=_0x4e6865,await BrowserstackCLI[_0x4b2caa(0x281)]()[_0x4b2caa(0x275)]()[_0x4b2caa(0x28d)](_0x2794d4,HookState[_0x4b2caa(0x232)],_0x2899e4);return;}const _0x48bb0b=this[_0x4b2caa(0x24c)](_0x19769f,_0x4e6865);this[_0x4b2caa(0x213)][_0x48bb0b]={...this[_0x4b2caa(0x213)][_0x48bb0b]||{},'finishedAt':new Date(_0x56ed8a['bRYaC'](_0x4e6865[_0x4b2caa(0x2c9)]['getTime'](),_0x4e6865[_0x4b2caa(0x23c)]))},_0x56ed8a[_0x4b2caa(0x2bb)](trace,_0x4b2caa(0x2ba)+_0x48bb0b+_0x4b2caa(0x1e3)),await this[_0x4b2caa(0x2ac)](_0x19769f,_0x4e6865,_0x56ed8a[_0x4b2caa(0x1fb)],_0x4a5b52);}async['onTestEnd'](_0x402adf,_0x1dec23){const _0x5eb02a=a49_0x20d6eb,_0x408e49={'YpOTo':function(_0x491838,_0x1d4484){return _0x491838===_0x1d4484;},'LuZrR':_0x5eb02a(0x228),'hxtWI':_0x5eb02a(0x1e5),'leyAu':_0x5eb02a(0x1ee),'xkdRe':function(_0x4eb65d,_0x29e4e3){return _0x4eb65d(_0x29e4e3);},'quYKb':function(_0x305d37,_0x3a29cd,_0x5a551a){return _0x305d37(_0x3a29cd,_0x5a551a);},'YSDuI':_0x5eb02a(0x27d),'ePuwe':_0x5eb02a(0x266),'eDKpF':function(_0x39e923,_0x530732){return _0x39e923(_0x530732);},'nhLCw':_0x5eb02a(0x1f5),'rIWbV':function(_0x26c732,_0x3e03a4){return _0x26c732>_0x3e03a4;}};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x3c5df9={};_0x3c5df9['test']=_0x402adf,_0x3c5df9['result']=_0x1dec23,this[_0x5eb02a(0x21f)][_0x5eb02a(0x2e7)](BrowserstackCLI[_0x5eb02a(0x281)]()[_0x5eb02a(0x275)]()['trackEvent'](TestFrameworkState[_0x5eb02a(0x205)],HookState[_0x5eb02a(0x232)],_0x3c5df9));return;}const _0x2df1e5=_0x408e49[_0x5eb02a(0x25b)](getTestIdentifier,_0x402adf),_0x1c8015=TestDetails[_0x5eb02a(0x204)](_0x408e49[_0x5eb02a(0x256)](getTestRunIdentifier,_0x402adf,_0x1dec23[_0x5eb02a(0x258)]));this[_0x5eb02a(0x213)][_0x2df1e5]={...this[_0x5eb02a(0x213)][_0x2df1e5]||{},'finishedAt':new Date()['toISOString']()},_0x408e49[_0x5eb02a(0x25b)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x2df1e5);try{await this[_0x5eb02a(0x254)](_0x402adf,_0x408e49[_0x5eb02a(0x203)],_0x1dec23);}catch(_0x2291b3){_0x408e49[_0x5eb02a(0x25b)](debug,util[_0x5eb02a(0x216)](_0x408e49[_0x5eb02a(0x22e)],_0x2291b3[_0x5eb02a(0x282)]()));}try{_0x408e49[_0x5eb02a(0x290)](debug,_0x5eb02a(0x20e)+_0x1c8015),await _0x408e49[_0x5eb02a(0x256)](sendTraceZip,_0x1dec23,_0x1c8015);}catch(_0x5fb871){_0x408e49[_0x5eb02a(0x25b)](debug,util[_0x5eb02a(0x216)](_0x408e49['nhLCw'],_0x5fb871[_0x5eb02a(0x282)]()));}const _0xbaeea6=[];_0x1dec23[_0x5eb02a(0x2df)]&&_0x1dec23[_0x5eb02a(0x2df)]['map'](_0x121bc3=>{const _0x2aea89=_0x5eb02a;if(_0x408e49[_0x2aea89(0x2d7)](_0x121bc3['name'],_0x408e49[_0x2aea89(0x2d4)])){if(!_0x121bc3[_0x2aea89(0x273)]||!fs['existsSync'](_0x121bc3['path']))return;_0xbaeea6[_0x2aea89(0x2e7)]({'test_run_uuid':_0x1c8015,'timestamp':fs[_0x2aea89(0x1e9)](_0x121bc3['path'])['mtime'],'kind':_0x408e49['hxtWI'],'message':fs[_0x2aea89(0x2e4)](_0x121bc3[_0x2aea89(0x273)],{'encoding':_0x408e49[_0x2aea89(0x2f0)]})});}}),_0x408e49[_0x5eb02a(0x212)](_0xbaeea6['length'],0x0)&&await MyReporter[_0x5eb02a(0x2ab)](_0xbaeea6);}async[a49_0x20d6eb(0x23a)](){const _0x5d5567=a49_0x20d6eb;await RequestQueueHandler[_0x5d5567(0x281)]()[_0x5d5567(0x2af)]();}async[a49_0x20d6eb(0x29e)](_0x555f94){const _0x17e0a0=a49_0x20d6eb,_0x113287={'ZiMrT':function(_0x571cd3){return _0x571cd3();},'frJCV':function(_0x41ce2f,_0x37d42b){return _0x41ce2f(_0x37d42b);}};await Promise[_0x17e0a0(0x26c)](this[_0x17e0a0(0x21f)]),await this[_0x17e0a0(0x23a)]();try{process['env'][_0x17e0a0(0x2b1)]&&await _0x113287['ZiMrT'](calculatePerformance);}catch(_0x4b5718){_0x113287[_0x17e0a0(0x257)](debug,_0x17e0a0(0x24a)+_0x4b5718['toString']());}}static async[a49_0x20d6eb(0x240)](_0x2e5ba6,_0x5a2059){const _0x16ca6f=a49_0x20d6eb;_0x5a2059[_0x16ca6f(0x2a4)]=TestDetails['getTestUUID'](_0x2e5ba6),await this[_0x16ca6f(0x2ab)]([_0x5a2059]);}static async['reportLogs'](_0x8e82a9){const _0x2018f3=a49_0x20d6eb,_0x465b95={};_0x465b95[_0x2018f3(0x214)]='LogCreated';const _0x304d35=_0x465b95;if(BrowserstackCLI[_0x2018f3(0x281)]()[_0x2018f3(0x2bd)]())return;const _0x2bc1cd={};_0x2bc1cd['event_type']=_0x304d35[_0x2018f3(0x214)],_0x2bc1cd['logs']=_0x8e82a9,await SessionHandler[_0x2018f3(0x270)](_0x2bc1cd);}async[a49_0x20d6eb(0x2ac)](_0x56bebf,_0xba1a2f,_0x1f0f0d,_0x2fb1de){const _0x4972de=a49_0x20d6eb,_0x36ab99={'BdrOz':_0x4972de(0x279),'MBqQk':'javascript','UnUDz':'pending','VFNoS':function(_0x299b67,_0x16bb5a){return _0x299b67>=_0x16bb5a;},'UziNJ':function(_0x16182b,_0x3aa258){return _0x16182b===_0x3aa258;},'dcZdG':'HookRunFinished','tvRuk':function(_0x40d6ab,_0x632421){return _0x40d6ab>_0x632421;},'keByx':_0x4972de(0x2c3),'ZXtnp':function(_0x1a0bc8,_0x4e4546){return _0x1a0bc8(_0x4e4546);},'uwmpn':function(_0xdb1851,_0x54b285,_0x2e1fbd){return _0xdb1851(_0x54b285,_0x2e1fbd);},'MWbMo':_0x4972de(0x29c),'xsmTF':function(_0x16756c,_0x54eb51){return _0x16756c===_0x54eb51;},'TfpoS':_0x4972de(0x27e)},_0x14c227=this['getStepIdentifier'](_0x56bebf,_0xba1a2f),_0x56e90e=this['_tests'][_0x14c227],_0x517bbc={'uuid':_0x56e90e[_0x4972de(0x25f)],'type':_0x36ab99[_0x4972de(0x2b6)],'hook_type':this[_0x4972de(0x208)](_0xba1a2f[_0x4972de(0x20c)]),'name':_0xba1a2f['title'],'scope':this[_0x4972de(0x2d6)](_0xba1a2f),'scopes':this[_0x4972de(0x21b)](_0x56bebf),'body':{'lang':_0x36ab99[_0x4972de(0x201)],'code':null},'identifier':_0x14c227,'file_name':path[_0x4972de(0x2b2)](process[_0x4972de(0x244)](),_0x56bebf[_0x4972de(0x26d)][_0x4972de(0x22d)]),'location':path[_0x4972de(0x2b2)](process[_0x4972de(0x244)](),_0x56bebf['location'][_0x4972de(0x22d)]),'result':_0x36ab99[_0x4972de(0x2b4)],'duration_in_ms':_0x36ab99[_0x4972de(0x2aa)](_0xba1a2f[_0x4972de(0x23c)],0x0)?_0xba1a2f[_0x4972de(0x23c)]:undefined,'vc_filepath':this[_0x4972de(0x2a9)]&&_0x56bebf['location'][_0x4972de(0x22d)]?path[_0x4972de(0x2b2)](this['_gitConfigPath'],_0x56bebf[_0x4972de(0x26d)][_0x4972de(0x22d)]):undefined,'started_at':_0x56e90e['startedAt'],'finished_at':_0x56e90e[_0x4972de(0x2e5)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x36ab99['UziNJ'](_0x1f0f0d,_0x36ab99[_0x4972de(0x2c2)])){const {steps:_0x5780d1,logs:_0x454418}=this['getStepsAndLogs'](_0xba1a2f['steps'],_0x56e90e[_0x4972de(0x25f)],_0x36ab99['BdrOz']);_0x454418&&_0x36ab99[_0x4972de(0x20d)](_0x454418[_0x4972de(0x2d0)],0x0)&&await MyReporter[_0x4972de(0x2ab)](_0x454418);const _0x52e7b6={};_0x52e7b6[_0x4972de(0x2d8)]=_0x5780d1,_0x517bbc['meta']=_0x52e7b6;if(_0xba1a2f['error']){_0x517bbc['result']=_0x36ab99[_0x4972de(0x234)],_0x517bbc[_0x4972de(0x2e2)]=_0x36ab99['ZXtnp'](removeAnsiColors,_0xba1a2f[_0x4972de(0x250)][_0x4972de(0x1f3)]),_0x517bbc[_0x4972de(0x23b)]=_0x36ab99[_0x4972de(0x215)](getFailureType,_0xba1a2f['error'][_0x4972de(0x1f3)]);const _0x1d3840=_0x36ab99[_0x4972de(0x293)](failureData,_0xba1a2f[_0x4972de(0x250)],_0x36ab99[_0x4972de(0x23d)]);if(_0x1d3840&&_0x36ab99[_0x4972de(0x255)](_0x1d3840[_0x4972de(0x2d0)],0x0)){const _0x48fda3={};_0x48fda3[_0x4972de(0x25e)]=[_0x517bbc['failure_reason']],_0x48fda3['expanded']=[],_0x1d3840[_0x4972de(0x2e7)](_0x48fda3);}_0x517bbc[_0x4972de(0x2be)]=_0x1d3840;}else _0x517bbc[_0x4972de(0x2d1)]=_0x36ab99['TfpoS'];}const _0xc39df={};_0xc39df[_0x4972de(0x294)]=_0x1f0f0d,_0xc39df[_0x4972de(0x1f6)]=_0x517bbc;const _0x50a19d=_0xc39df;await SessionHandler[_0x4972de(0x270)](_0x50a19d);}[a49_0x20d6eb(0x2c8)](_0x44a957,_0x314404,_0x2eda0c){return helper['getStepsAndLogs'](_0x44a957,_0x314404,_0x2eda0c);}async[a49_0x20d6eb(0x254)](_0x27b53a,_0x2a8d54,_0x13312e){const _0x1ded0c=a49_0x20d6eb,_0x490acf={'VVCZK':function(_0xe1db0f,_0x513c28){return _0xe1db0f(_0x513c28);},'xSrVv':_0x1ded0c(0x1f4),'KcdQK':_0x1ded0c(0x298),'yjrnW':_0x1ded0c(0x1f0),'FkyFu':_0x1ded0c(0x283),'Phong':function(_0x573329,_0x1e440d){return _0x573329(_0x1e440d);},'KLPrQ':function(_0x445e55,_0x16fedc,_0x3d1fa8,_0x100a5a,_0xe0f611){return _0x445e55(_0x16fedc,_0x3d1fa8,_0x100a5a,_0xe0f611);},'uURgY':function(_0x516d71,_0x40a411){return _0x516d71>_0x40a411;},'BZCRb':function(_0x14e3b1,_0x17af07,_0x488d73){return _0x14e3b1(_0x17af07,_0x488d73);},'zFruq':function(_0x4c9d20,_0x12330e){return _0x4c9d20-_0x12330e;},'iDVWY':function(_0x36095b,_0x593820){return _0x36095b===_0x593820;},'aPYhh':_0x1ded0c(0x27d),'hHKMa':function(_0x4c487c,_0x5bf412){return _0x4c487c(_0x5bf412);},'RWXHW':_0x1ded0c(0x2ce),'dvFng':_0x1ded0c(0x27e),'BKMgE':function(_0x2df2f4,_0x31ce8c){return _0x2df2f4===_0x31ce8c;},'uFLpi':_0x1ded0c(0x2c3),'MUwti':function(_0x384d95,_0x4b67fe){return _0x384d95===_0x4b67fe;},'ssqNC':_0x1ded0c(0x20a),'krzwF':function(_0x2fe4dc,_0x1e29fc){return _0x2fe4dc===_0x1e29fc;},'IFCqt':_0x1ded0c(0x291),'gGZOE':function(_0x266d61,_0x1e8d30,_0x4dcf44){return _0x266d61(_0x1e8d30,_0x4dcf44);},'NDahG':function(_0x1368b1,_0x5b05fc){return _0x1368b1===_0x5b05fc;},'FyBao':function(_0xa687b1,_0x169a82,_0x509675){return _0xa687b1(_0x169a82,_0x509675);},'hbtKk':_0x1ded0c(0x273),'pWYaO':_0x1ded0c(0x2a6),'CfxjI':_0x1ded0c(0x21c),'vkEDt':function(_0x4714ea,_0x18e2e1){return _0x4714ea!==_0x18e2e1;}},_0x462372=_0x490acf[_0x1ded0c(0x264)](getTestIdentifier,_0x27b53a),_0x39fa49=this[_0x1ded0c(0x2d6)](_0x27b53a),_0x35fba4=this[_0x1ded0c(0x213)][_0x462372],_0x3a0507=path[_0x1ded0c(0x2b2)](process[_0x1ded0c(0x244)](),_0x27b53a['location'][_0x1ded0c(0x22d)]);await this[_0x1ded0c(0x269)]();const _0xb0f339={'uuid':_0x35fba4[_0x1ded0c(0x25f)],'type':_0x490acf['KcdQK'],'name':_0x27b53a[_0x1ded0c(0x20c)],'body':{'lang':_0x490acf[_0x1ded0c(0x2a3)],'code':_0x27b53a['fn'][_0x1ded0c(0x282)]()},'scope':_0x39fa49,'scopes':this[_0x1ded0c(0x21b)](_0x27b53a),'identifier':_0x462372,'file_name':_0x3a0507,'location':_0x3a0507,'result':_0x490acf[_0x1ded0c(0x1ff)],'duration_in_ms':_0x13312e&&_0x13312e[_0x1ded0c(0x23c)]?_0x13312e[_0x1ded0c(0x23c)]:null,'vc_filepath':this[_0x1ded0c(0x2a9)]&&_0x27b53a[_0x1ded0c(0x26d)]['file']?path[_0x1ded0c(0x2b2)](this[_0x1ded0c(0x2a9)],_0x27b53a[_0x1ded0c(0x26d)][_0x1ded0c(0x22d)]):undefined,'started_at':_0x35fba4[_0x1ded0c(0x1fc)],'finished_at':_0x35fba4[_0x1ded0c(0x2e5)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x1ded0c(0x2e9)](_0x27b53a)},'tags':_0x490acf['Phong'](getTestTags,_0x27b53a)};_0x490acf[_0x1ded0c(0x2ea)](appendTesthubParams,_0xb0f339,_0x2a8d54,_0x27b53a,FRAMEWORKS['PLAYWRIGHT']);_0x13312e&&_0x490acf[_0x1ded0c(0x277)](_0x13312e[_0x1ded0c(0x258)],0x0)&&(_0xb0f339[_0x1ded0c(0x221)]=TestDetails['getTestUUID'](_0x490acf[_0x1ded0c(0x200)](getTestRunIdentifier,_0x27b53a,_0x490acf[_0x1ded0c(0x29a)](_0x13312e[_0x1ded0c(0x258)],0x1))));if(_0x490acf[_0x1ded0c(0x276)](_0x2a8d54,_0x490acf[_0x1ded0c(0x2ca)])){try{const _0xbb123a=TestDetails[_0x1ded0c(0x2b9)](_0x35fba4[_0x1ded0c(0x25f)]);_0xbb123a&&_0x490acf[_0x1ded0c(0x277)](Object[_0x1ded0c(0x292)](_0xbb123a)[_0x1ded0c(0x2d0)],0x0)?_0xb0f339[_0x1ded0c(0x278)]=_0xbb123a:_0x490acf[_0x1ded0c(0x241)](debug,_0x1ded0c(0x1f2)+_0x35fba4[_0x1ded0c(0x25f)]+_0x1ded0c(0x259));}catch(_0x32a941){_0x490acf[_0x1ded0c(0x241)](debug,_0x1ded0c(0x226)+_0x35fba4[_0x1ded0c(0x25f)]+':\x20'+util[_0x1ded0c(0x216)](_0x32a941));}_0xb0f339[_0x1ded0c(0x2d1)]=_0x13312e[_0x1ded0c(0x22a)];if(_0x490acf[_0x1ded0c(0x276)](_0x13312e['status'],_0x27b53a['expectedStatus']))_0xb0f339['result']=_0x490acf[_0x1ded0c(0x276)](_0x13312e['status'],_0x490acf[_0x1ded0c(0x2b3)])?_0x490acf[_0x1ded0c(0x2b3)]:_0x490acf[_0x1ded0c(0x268)];else{(_0x490acf[_0x1ded0c(0x21a)](_0xb0f339[_0x1ded0c(0x2d1)],_0x490acf[_0x1ded0c(0x268)])||_0x490acf[_0x1ded0c(0x21a)](_0xb0f339[_0x1ded0c(0x2d1)],_0x490acf[_0x1ded0c(0x206)])||_0x490acf['MUwti'](_0xb0f339[_0x1ded0c(0x2d1)],_0x490acf['ssqNC']))&&(_0xb0f339[_0x1ded0c(0x2d1)]=_0x490acf['uFLpi']);if(_0x490acf['krzwF'](_0x13312e['status'],_0x490acf[_0x1ded0c(0x268)])&&_0x490acf[_0x1ded0c(0x251)](_0x27b53a[_0x1ded0c(0x280)],_0x490acf[_0x1ded0c(0x206)])){const _0x3e5866={};_0x3e5866[_0x1ded0c(0x1f3)]=_0x490acf[_0x1ded0c(0x22b)],_0x3e5866[_0x1ded0c(0x27b)]=_0x490acf[_0x1ded0c(0x22b)],_0x13312e[_0x1ded0c(0x250)]=_0x3e5866,_0x13312e[_0x1ded0c(0x271)]=[_0x13312e[_0x1ded0c(0x250)]];}}const _0x32d695=_0x490acf[_0x1ded0c(0x200)](getTestRunIdentifier,_0x27b53a,_0x13312e[_0x1ded0c(0x258)]);_0xb0f339[_0x1ded0c(0x2c4)]=this[_0x1ded0c(0x225)][_0x32d695];const {steps:_0xb50842,logs:_0x2d8978}=this['getStepsAndLogs'](_0x13312e[_0x1ded0c(0x2d8)],_0x35fba4[_0x1ded0c(0x25f)],_0x490acf['KcdQK']);await MyReporter['reportLogs'](_0x2d8978);const _0x4ccaf9={};_0x4ccaf9[_0x1ded0c(0x2d8)]=_0xb50842,_0xb0f339[_0x1ded0c(0x288)]=_0x4ccaf9;if(_0x13312e[_0x1ded0c(0x250)]){_0xb0f339[_0x1ded0c(0x2e2)]=_0x490acf[_0x1ded0c(0x241)](removeAnsiColors,_0x13312e[_0x1ded0c(0x250)][_0x1ded0c(0x1f3)]),_0xb0f339[_0x1ded0c(0x23b)]=_0x490acf['Phong'](getFailureType,_0x13312e[_0x1ded0c(0x250)][_0x1ded0c(0x1f3)]);const _0x245603={};_0x245603[_0x1ded0c(0x2a4)]=_0x35fba4[_0x1ded0c(0x25f)];const {failureData:_0x36208c,logs:_0x284967}=_0x490acf[_0x1ded0c(0x1ef)](getFailureData,_0x13312e[_0x1ded0c(0x271)],_0x245603);if(_0x36208c&&_0x490acf['NDahG'](_0x36208c['length'],0x0)){const _0x4f7ba6={};_0x4f7ba6[_0x1ded0c(0x25e)]=[_0xb0f339[_0x1ded0c(0x2e2)]],_0x4f7ba6[_0x1ded0c(0x2d2)]=[],_0x36208c[_0x1ded0c(0x2e7)](_0x4f7ba6);}_0xb0f339[_0x1ded0c(0x2be)]=_0x36208c,_0x284967&&_0x490acf[_0x1ded0c(0x277)](_0x284967[_0x1ded0c(0x2d0)],0x0)&&await MyReporter['reportLogs'](_0x284967);}}let _0x4b5ec4=_0x490acf[_0x1ded0c(0x222)](findNestedKey,_0x13312e,_0x490acf[_0x1ded0c(0x27a)]);if(_0x4b5ec4&&_0x490acf[_0x1ded0c(0x2a8)](validateFilePath,_0x4b5ec4))_0x490acf[_0x1ded0c(0x2a8)](debug,_0x1ded0c(0x1e7)+_0x35fba4[_0x1ded0c(0x25f)]+'\x20at\x20'+_0x4b5ec4);else{const _0xe08f84=path['join'](helper[_0x1ded0c(0x26f)](),_0x490acf[_0x1ded0c(0x23f)]);!fs['existsSync'](_0xe08f84)&&fs[_0x1ded0c(0x1f1)](_0xe08f84),fs[_0x1ded0c(0x1ea)](path[_0x1ded0c(0x262)](_0xe08f84,_0x1ded0c(0x26e)+_0x35fba4['uuid']+_0x1ded0c(0x218)))&&(_0x4b5ec4=fs[_0x1ded0c(0x2e4)](path[_0x1ded0c(0x262)](_0xe08f84,_0x1ded0c(0x26e)+_0x35fba4['uuid']+_0x1ded0c(0x218)),_0x490acf[_0x1ded0c(0x289)]),_0x490acf[_0x1ded0c(0x2a8)](debug,_0x1ded0c(0x1e7)+_0x35fba4['uuid']+_0x1ded0c(0x1ec)+_0x4b5ec4));}const _0x1a887d={};_0x1a887d[_0x1ded0c(0x294)]=_0x2a8d54,_0x1a887d[_0x1ded0c(0x28e)]=_0xb0f339;const _0x2c9e67=_0x1a887d;_0x4b5ec4&&_0x490acf['vkEDt'](_0x4b5ec4,'')&&_0x490acf[_0x1ded0c(0x2ef)](_0x2a8d54,_0x490acf[_0x1ded0c(0x2ca)])&&(!_0x2c9e67[_0x1ded0c(0x29d)]&&(_0x2c9e67[_0x1ded0c(0x29d)]=[]),_0x4b5ec4[_0x1ded0c(0x227)]('\x0a')['forEach'](_0x28af5d=>{const _0x5e5693=_0x1ded0c;_0x28af5d&&_0x490acf['VVCZK'](validateFilePath,_0x28af5d)&&_0x2c9e67[_0x5e5693(0x29d)]['push']({'kind':_0x490acf[_0x5e5693(0x217)],'timestamp':new Date()[_0x5e5693(0x24d)](),'test_run_uuid':_0x35fba4[_0x5e5693(0x25f)],'file_name':path[_0x5e5693(0x237)](_0x28af5d),'file_size':fs['statSync'](_0x28af5d)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x1ded0c(0x270)](_0x2c9e67);}[a49_0x20d6eb(0x2e9)](_0x3273b5){const _0x42fe03=a49_0x20d6eb,_0x551651={};_0x551651[_0x42fe03(0x2dd)]=function(_0x701c6a,_0x509c09){return _0x701c6a===_0x509c09;},_0x551651[_0x42fe03(0x285)]=function(_0x25d2cc,_0x4b8f07){return _0x25d2cc>_0x4b8f07;},_0x551651[_0x42fe03(0x236)]=function(_0x67949f,_0x56d342){return _0x67949f+_0x56d342;},_0x551651[_0x42fe03(0x28c)]=function(_0x34bc9d,_0x2d37aa){return _0x34bc9d+_0x2d37aa;},_0x551651[_0x42fe03(0x25d)]=function(_0x4234f5,_0x4ddb80){return _0x4234f5===_0x4ddb80;},_0x551651['dORrA']=function(_0x6e7c62,_0x45bc22){return _0x6e7c62>_0x45bc22;},_0x551651[_0x42fe03(0x2d5)]=function(_0x73aa20,_0x233c17){return _0x73aa20+_0x233c17;},_0x551651[_0x42fe03(0x297)]=function(_0x11c7ca,_0x58377f){return _0x11c7ca+_0x58377f;};const _0x2999d4=_0x551651,_0x27c13c=_0x3273b5['titlePath']()[_0x42fe03(0x263)](_0x57fa71=>{const _0x2f42a3=_0x42fe03;if(_0x3273b5[_0x2f42a3(0x2e6)]&&_0x2999d4[_0x2f42a3(0x2dd)](_0x57fa71,_0x3273b5['parent']['title'])&&_0x3273b5[_0x2f42a3(0x2e6)]['_tags']&&_0x2999d4[_0x2f42a3(0x285)](_0x3273b5['parent'][_0x2f42a3(0x223)]['length'],0x0))return _0x2999d4['JMoEG'](_0x2999d4['RxNMr'](_0x57fa71,'\x20'),_0x3273b5[_0x2f42a3(0x2e6)][_0x2f42a3(0x223)][_0x2f42a3(0x262)]('\x20'));if(_0x2999d4[_0x2f42a3(0x25d)](_0x57fa71,_0x3273b5[_0x2f42a3(0x20c)])&&_0x3273b5[_0x2f42a3(0x223)]&&_0x2999d4[_0x2f42a3(0x24f)](_0x3273b5[_0x2f42a3(0x223)][_0x2f42a3(0x2d0)],0x0))return _0x2999d4[_0x2f42a3(0x2d5)](_0x2999d4[_0x2f42a3(0x297)](_0x57fa71,'\x20'),_0x3273b5[_0x2f42a3(0x223)][_0x2f42a3(0x262)]('\x20'));return _0x57fa71;})[_0x42fe03(0x262)]('\x20');return _0x27c13c;}static async[a49_0x20d6eb(0x220)](_0x5a8dd7,_0x35a2c9){const _0x48ef09=a49_0x20d6eb,_0x4df878={'uaCPk':function(_0x583941,_0x104f5f){return _0x583941(_0x104f5f);},'fETsM':'CBTSessionCreated'},_0xf04d={'uuid':TestDetails[_0x48ef09(0x204)](_0x5a8dd7),'integrations':_0x35a2c9},_0x141f72={};_0x141f72[_0x48ef09(0x247)]=null,_0x4df878[_0x48ef09(0x2ad)](debug,'Sending\x20session\x20details\x20for\x20'+_0x5a8dd7+',\x20'+util[_0x48ef09(0x2cd)](_0x35a2c9,_0x141f72));const _0x572135={};_0x572135[_0x48ef09(0x294)]=_0x4df878[_0x48ef09(0x2e0)],_0x572135[_0x48ef09(0x28e)]=_0xf04d,await SessionHandler[_0x48ef09(0x270)](_0x572135);}async[a49_0x20d6eb(0x269)](){const _0x176eb8=a49_0x20d6eb,_0x6b57c1={'xmqGJ':function(_0x331bf3){return _0x331bf3();}};if(this['_gitConfigured'])return;const _0x798f18=await _0x6b57c1[_0x176eb8(0x29b)](getGitMetaData);_0x798f18&&(this[_0x176eb8(0x2a9)]=_0x798f18[_0x176eb8(0x253)]),this['_gitConfigured']=!![];}[a49_0x20d6eb(0x21b)](_0x4c557c){const _0x398a4c=a49_0x20d6eb,_0x2750a4={};_0x2750a4[_0x398a4c(0x26b)]=function(_0xda0d5f,_0x3a4941){return _0xda0d5f!==_0x3a4941;};const _0x387c93=_0x2750a4,_0xfbd32=[];if(_0x4c557c&&_0x4c557c[_0x398a4c(0x2e6)]){let _0x5745dd=_0x4c557c['parent'];while(_0x5745dd&&_0x387c93[_0x398a4c(0x26b)](_0x5745dd[_0x398a4c(0x20c)],'')){_0xfbd32[_0x398a4c(0x2e7)](_0x5745dd[_0x398a4c(0x20c)]),_0x5745dd=_0x5745dd[_0x398a4c(0x2e6)];}}return _0xfbd32[_0x398a4c(0x2ed)]()['splice'](0x0,0x2),_0xfbd32;}[a49_0x20d6eb(0x28a)](_0x263bf4){const _0x1e1dd1=a49_0x20d6eb,_0x450060={};_0x450060[_0x1e1dd1(0x231)]=function(_0x1a1da7,_0x162885){return _0x1a1da7===_0x162885;},_0x450060[_0x1e1dd1(0x1e4)]='test.step',_0x450060[_0x1e1dd1(0x2a7)]=function(_0x304d14,_0x4d84a6){return _0x304d14!==_0x4d84a6;},_0x450060[_0x1e1dd1(0x24e)]=_0x1e1dd1(0x279),_0x450060['cmKjZ']=function(_0x2b4e4c,_0x4fc200){return _0x2b4e4c===_0x4fc200;},_0x450060['Mqbpq']=_0x1e1dd1(0x23e),_0x450060[_0x1e1dd1(0x235)]=_0x1e1dd1(0x1fe),_0x450060['YHckT']=_0x1e1dd1(0x2c1),_0x450060[_0x1e1dd1(0x20b)]=_0x1e1dd1(0x2bc);const _0x267378=_0x450060;if(_0x267378[_0x1e1dd1(0x231)](_0x263bf4[_0x1e1dd1(0x28f)],_0x267378[_0x1e1dd1(0x1e4)]))return!![];if(_0x267378[_0x1e1dd1(0x2a7)](_0x263bf4[_0x1e1dd1(0x28f)],_0x267378[_0x1e1dd1(0x24e)]))return![];if(_0x267378[_0x1e1dd1(0x2e1)]([_0x267378['Mqbpq'],_0x267378[_0x1e1dd1(0x235)],_0x267378['YHckT'],_0x267378[_0x1e1dd1(0x20b)]]['indexOf'](_0x263bf4[_0x1e1dd1(0x20c)]),-0x1))return![];return!![];}[a49_0x20d6eb(0x24c)](_0x616850,_0x31a1e8){const _0x5dfe1e=a49_0x20d6eb,_0x32e172={'kRsFH':function(_0x42c48e,_0x3d2f74){return _0x42c48e(_0x3d2f74);}},_0x3d4384=_0x31a1e8[_0x5dfe1e(0x2b5)];if(_0x3d4384)return _0x3d4384;return _0x31a1e8[_0x5dfe1e(0x20c)]+_0x5dfe1e(0x296)+_0x32e172[_0x5dfe1e(0x2db)](getTestIdentifier,_0x616850);}[a49_0x20d6eb(0x261)](_0x50e624,_0x41f25d){const _0x42ccc4=a49_0x20d6eb,_0x40bde3={'omLyt':function(_0x4693e6,_0x2644e3){return _0x4693e6(_0x2644e3);},'dtDuv':function(_0x2b3d7b){return _0x2b3d7b();}};let _0x145dca=_0x41f25d[_0x42ccc4(0x20c)]+_0x42ccc4(0x296)+_0x40bde3[_0x42ccc4(0x2a0)](getTestIdentifier,_0x50e624);return this[_0x42ccc4(0x213)][_0x145dca]&&(_0x145dca=_0x145dca+_0x42ccc4(0x29f)+_0x40bde3[_0x42ccc4(0x1e6)](uuidv4)),_0x41f25d[_0x42ccc4(0x2b5)]=_0x145dca,_0x145dca;}[a49_0x20d6eb(0x208)]=_0x5bd25d=>{const _0x504859=a49_0x20d6eb,_0x11f912={};_0x11f912['HDjJJ']=_0x504859(0x23e),_0x11f912['VVqKS']=_0x504859(0x229),_0x11f912[_0x504859(0x22c)]=_0x504859(0x1fe),_0x11f912['YTYGk']='BEFORE_ALL',_0x11f912[_0x504859(0x25a)]=_0x504859(0x2bc),_0x11f912[_0x504859(0x2e8)]=_0x504859(0x2eb),_0x11f912['yTaTI']=_0x504859(0x2c1),_0x11f912['kqIwM']=_0x504859(0x230),_0x11f912[_0x504859(0x1ed)]=_0x504859(0x2c0);const _0xd323e=_0x11f912;if(_0x5bd25d[_0x504859(0x265)](_0xd323e[_0x504859(0x210)]))return _0xd323e['VVqKS'];else{if(_0x5bd25d[_0x504859(0x265)](_0xd323e[_0x504859(0x22c)]))return _0xd323e[_0x504859(0x26a)];else{if(_0x5bd25d[_0x504859(0x265)](_0xd323e[_0x504859(0x25a)]))return _0xd323e[_0x504859(0x2e8)];else{if(_0x5bd25d['startsWith'](_0xd323e[_0x504859(0x2b8)]))return _0xd323e[_0x504859(0x286)];}}}return _0xd323e['bwjuz'];};['getScope']=_0x458fdf=>{const _0x27520f=a49_0x20d6eb,_0x5ab2ad={};_0x5ab2ad[_0x27520f(0x1fd)]=function(_0x28f7c3,_0x27016b){return _0x28f7c3===_0x27016b;},_0x5ab2ad[_0x27520f(0x20f)]=_0x27520f(0x287);const _0x304bf7=_0x5ab2ad;let _0x3ae2d=_0x458fdf[_0x27520f(0x2e6)];return _0x304bf7[_0x27520f(0x1fd)](typeof _0x458fdf[_0x27520f(0x2e6)],_0x304bf7[_0x27520f(0x20f)])&&(_0x3ae2d=_0x3ae2d[_0x27520f(0x20c)]),_0x3ae2d+_0x27520f(0x29f)+_0x458fdf[_0x27520f(0x20c)];};[a49_0x20d6eb(0x295)](){return![];}}function a49_0x5d44(_0xc48f28,_0x5f4682){const _0x532d65=a49_0x532d();return a49_0x5d44=function(_0x5d44fb,_0x578256){_0x5d44fb=_0x5d44fb-0x1e2;let _0x5abd24=_0x532d65[_0x5d44fb];return _0x5abd24;},a49_0x5d44(_0xc48f28,_0x5f4682);}module[a49_0x20d6eb(0x2bf)]=o11yClassErrorHandler(MyReporter,[a49_0x20d6eb(0x1fa),a49_0x20d6eb(0x23a),a49_0x20d6eb(0x2a5),a49_0x20d6eb(0x233),a49_0x20d6eb(0x252),a49_0x20d6eb(0x2cf),a49_0x20d6eb(0x220)],a49_0x20d6eb(0x28b));
@@ -1 +1 @@
1
- function a50_0xbb86(_0x599ecc,_0x27db91){const _0x5c9642=a50_0x5c96();return a50_0xbb86=function(_0xbb86d0,_0x36b56e){_0xbb86d0=_0xbb86d0-0x1a7;let _0x1bf5fa=_0x5c9642[_0xbb86d0];return _0x1bf5fa;},a50_0xbb86(_0x599ecc,_0x27db91);}const a50_0x1b18e4=a50_0xbb86;function a50_0x5c96(){const _0x1f0a19=['YNLxC','CsvFS','sajRu','UXflv','.browserstack','90DIWIhp','getStoreDirName','1088689nFqQYz','_traceZipPaths.json','9qvnkKz','setAccessibilityPlatformValidation','lVzcj','winstonLogger','getTestRunIdFromTestInfo','IKbNL','message','getTraceFilePaths','debug','uuid','values','xseSs','.txt','UeWRE','setup','Error\x20writing\x20trace\x20file:\x20','getTestIdFromTestInfo','readdirSync','../../../helpers/helper','mkdirSync','70776PKRrmn','recursive','shutdown','BS_TESTOPS_BUILD_HASHED_ID','toString','3330yRixRC','LRXDE','util','filePath','default','JWtul','existsSync','getTraceZipDir','parse','YaHvd','retry','tests','getIntegrations','2fBGPPa','addTraceFilePath','trxJJ','env','push','getDirPath','bwbpO','exports','911620xauulX','WDMuQ','endsWith','2000naxpkM','_integrations.json','setIntegrations','.json','error','bwjIH','weiQf','testId','3067229JuBIIu','NjkGI','getProjectIdFromTestInfo','getTestDetails','_projectId','43093yMNIGh','writeFileSync','RvuUe','project','JTZKp','597294pbCsPx','../../../helpers/logger','getFilePath','getAccessibilityPlatformValidation','yNFkN','forEach','_platformDetails.json','setTestDetails','utf8','path','join','khMSH','dZAvu','readFileSync','_test','homedir','__projectId','bwYLg','uljEW','qLIit','rmSync'];a50_0x5c96=function(){return _0x1f0a19;};return a50_0x5c96();}(function(_0x24a46a,_0x53c96b){const _0x2fd9aa=a50_0xbb86,_0x17574a=_0x24a46a();while(!![]){try{const _0x45bb0a=-parseInt(_0x2fd9aa(0x1fc))/0x1*(parseInt(_0x2fd9aa(0x1e4))/0x2)+-parseInt(_0x2fd9aa(0x1d7))/0x3*(parseInt(_0x2fd9aa(0x1ef))/0x4)+-parseInt(_0x2fd9aa(0x1ba))/0x5*(-parseInt(_0x2fd9aa(0x201))/0x6)+parseInt(_0x2fd9aa(0x1bc))/0x7+-parseInt(_0x2fd9aa(0x1d2))/0x8*(parseInt(_0x2fd9aa(0x1be))/0x9)+-parseInt(_0x2fd9aa(0x1ec))/0xa+-parseInt(_0x2fd9aa(0x1f7))/0xb;if(_0x45bb0a===_0x53c96b)break;else _0x17574a['push'](_0x17574a['shift']());}catch(_0x1344c1){_0x17574a['push'](_0x17574a['shift']());}}}(a50_0x5c96,0xecee4));const fs=require('fs'),path=require(a50_0x1b18e4(0x1a9)),{v4:uuidv4}=require(a50_0x1b18e4(0x1c7)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a50_0x1b18e4(0x1d0)),logger=require(a50_0x1b18e4(0x202))[a50_0x1b18e4(0x1c1)],{getLogDir}=require(a50_0x1b18e4(0x202)),util=require(a50_0x1b18e4(0x1d9)),helper=require('../../../helpers/helper');class TestDetails{static [a50_0x1b18e4(0x1e2)]={};static[a50_0x1b18e4(0x1cc)](){const _0x414949=a50_0x1b18e4;this[_0x414949(0x1d4)]();const _0x49bfda={};_0x49bfda[_0x414949(0x1d3)]=!![],fs['mkdirSync'](this[_0x414949(0x1e9)](),_0x49bfda);const _0x1c52b5={};_0x1c52b5[_0x414949(0x1d3)]=!![],fs[_0x414949(0x1d1)](this[_0x414949(0x1de)](),_0x1c52b5);}static[a50_0x1b18e4(0x1bb)](){const _0xf0f71f=a50_0x1b18e4,_0x54a7c0={};_0x54a7c0[_0xf0f71f(0x1ac)]=function(_0xdd0ab0,_0xb0ae2d){return _0xdd0ab0+_0xb0ae2d;};const _0x52dde5=_0x54a7c0;return _0x52dde5[_0xf0f71f(0x1ac)](_0x52dde5['dZAvu'](TEMP_STORE_DIR_NAME,'-'),process[_0xf0f71f(0x1e7)][_0xf0f71f(0x1d5)]);}static['getStoreDirPath'](){const _0x5e1d88=a50_0x1b18e4,_0x213a4d={};_0x213a4d[_0x5e1d88(0x1b1)]=function(_0x2b076e,_0xdbb79d){return _0x2b076e+_0xdbb79d;},_0x213a4d[_0x5e1d88(0x1dc)]=function(_0x2890d2,_0x4854a5){return _0x2890d2+_0x4854a5;},_0x213a4d[_0x5e1d88(0x1e6)]=_0x5e1d88(0x1db);const _0x388296=_0x213a4d;return path['join'](_0x388296[_0x5e1d88(0x1b1)](_0x388296[_0x5e1d88(0x1dc)](TEMP_STORE_DIR_NAME,'-'),process[_0x5e1d88(0x1e7)][_0x5e1d88(0x1d5)]||_0x388296['trxJJ']));}static['getTraceZipDir'](){const _0x4747e6=a50_0x1b18e4,_0x118d7e={};_0x118d7e[_0x4747e6(0x200)]='traceZipPaths';const _0x2945f5=_0x118d7e;return path[_0x4747e6(0x1aa)](this['getStoreDirPath'](),_0x2945f5[_0x4747e6(0x200)]);}static[a50_0x1b18e4(0x1e9)](){const _0x33b4b3=a50_0x1b18e4;return TestDetails[_0x33b4b3(0x1bb)]();}static[a50_0x1b18e4(0x203)](_0x183ef8){const _0x1d04aa=a50_0x1b18e4,_0x2fe57f={};_0x2fe57f['WDMuQ']=function(_0x52d0d4,_0x5895f8){return _0x52d0d4+_0x5895f8;},_0x2fe57f[_0x1d04aa(0x1fe)]=_0x1d04aa(0x1f2);const _0x1a1fbf=_0x2fe57f;return path[_0x1d04aa(0x1aa)](this[_0x1d04aa(0x1e9)](),_0x1a1fbf[_0x1d04aa(0x1ed)](_0x183ef8,_0x1a1fbf[_0x1d04aa(0x1fe)]));}static[a50_0x1b18e4(0x1c2)](_0x5e1fac){const _0x53002b=a50_0x1b18e4,_0x52c5bc={};_0x52c5bc[_0x53002b(0x1f8)]=function(_0x3361a4,_0x29102c){return _0x3361a4+_0x29102c;},_0x52c5bc[_0x53002b(0x1b6)]=function(_0x7a5d05,_0x51905b){return _0x7a5d05+_0x51905b;},_0x52c5bc[_0x53002b(0x1c3)]=function(_0x35949d,_0x1291b7){return _0x35949d+_0x1291b7;};const _0x28162e=_0x52c5bc;return _0x28162e[_0x53002b(0x1f8)](_0x28162e[_0x53002b(0x1b6)](_0x28162e[_0x53002b(0x1b6)](_0x28162e[_0x53002b(0x1c3)](this['getProjectIdFromTestInfo'](_0x5e1fac),'-'),this[_0x53002b(0x1ce)](_0x5e1fac)),'-'),_0x5e1fac[_0x53002b(0x1e1)]);}static[a50_0x1b18e4(0x1f9)](_0x1501aa){const _0x50be4f=a50_0x1b18e4,_0x43ad09={'bwjIH':function(_0x5ccaeb,_0x22bb9e,_0x12254d){return _0x5ccaeb(_0x22bb9e,_0x12254d);},'qLIit':_0x50be4f(0x1ae),'ZZZQo':_0x50be4f(0x1fb),'UeWRE':_0x50be4f(0x1ff),'YNLxC':_0x50be4f(0x1b0)};return _0x43ad09[_0x50be4f(0x1f4)](nestedKeyValue,_0x1501aa,[_0x43ad09[_0x50be4f(0x1b3)],_0x43ad09['ZZZQo']])||_0x43ad09[_0x50be4f(0x1f4)](nestedKeyValue,_0x1501aa,[_0x43ad09[_0x50be4f(0x1cb)],_0x43ad09[_0x50be4f(0x1b5)]]);}static['getTestIdFromTestInfo'](_0x9fbe4c){const _0x8728a=a50_0x1b18e4,_0x13ba63={'UXflv':function(_0x450437,_0x4284,_0x4e2d3d){return _0x450437(_0x4284,_0x4e2d3d);},'xseSs':_0x8728a(0x1ae)};return _0x13ba63[_0x8728a(0x1b8)](nestedKeyValue,_0x9fbe4c,[_0x13ba63[_0x8728a(0x1c9)],'id'])||_0x9fbe4c[_0x8728a(0x1f6)];}static['getTestUUID'](_0x3c4100){const _0x1a8264=a50_0x1b18e4,_0x153fd2={'sajRu':function(_0x515784,_0x3849f8){return _0x515784===_0x3849f8;},'yNFkN':'string','YaHvd':function(_0x4165af){return _0x4165af();}};if(this[_0x1a8264(0x1e2)][_0x3c4100]&&_0x153fd2[_0x1a8264(0x1b7)](typeof this['tests'][_0x3c4100][_0x1a8264(0x1c7)],_0x153fd2[_0x1a8264(0x205)]))return this[_0x1a8264(0x1e2)][_0x3c4100][_0x1a8264(0x1c7)];const _0x329cab=this['getFilePath'](_0x3c4100);if(_0x329cab&&fs['existsSync'](_0x329cab)){const _0x5956a2=JSON[_0x1a8264(0x1df)](fs[_0x1a8264(0x1ad)](_0x329cab)[_0x1a8264(0x1d6)]());return this[_0x1a8264(0x1e2)][_0x3c4100]=_0x5956a2,this[_0x1a8264(0x1e2)][_0x3c4100][_0x1a8264(0x1c7)];}return this[_0x1a8264(0x1e2)][_0x3c4100]={'uuid':_0x153fd2[_0x1a8264(0x1e0)](uuidv4)},fs[_0x1a8264(0x1fd)](_0x329cab,JSON['stringify'](this[_0x1a8264(0x1e2)][_0x3c4100])),this[_0x1a8264(0x1e2)][_0x3c4100]['uuid'];}static[a50_0x1b18e4(0x204)](_0x5ed136){const _0x55229b=a50_0x1b18e4,_0xbb303a=path[_0x55229b(0x1aa)](this[_0x55229b(0x1e9)](),_0x5ed136+_0x55229b(0x207));if(_0xbb303a&&fs[_0x55229b(0x1dd)](_0xbb303a))return fs[_0x55229b(0x1ad)](_0xbb303a)[_0x55229b(0x1d6)]();}static[a50_0x1b18e4(0x1bf)](_0x50ee0a,_0x2aff9c){const _0x2910be=a50_0x1b18e4,_0x308b4f=path[_0x2910be(0x1aa)](this[_0x2910be(0x1e9)](),_0x2aff9c+_0x2910be(0x207));fs['writeFileSync'](_0x308b4f,_0x50ee0a['toString']());}static[a50_0x1b18e4(0x1e3)](_0xe77a3e){const _0x34245a=a50_0x1b18e4,_0x1aee80=path[_0x34245a(0x1aa)](this[_0x34245a(0x1e9)](),_0xe77a3e+_0x34245a(0x1f0));if(_0x1aee80&&fs[_0x34245a(0x1dd)](_0x1aee80))try{return JSON['parse'](fs['readFileSync'](_0x1aee80)[_0x34245a(0x1d6)]());}catch(_0x29745e){return logger[_0x34245a(0x1c6)]('Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20'+_0xe77a3e+':\x20'+(_0x29745e&&_0x29745e[_0x34245a(0x1c4)])),null;}return null;}static[a50_0x1b18e4(0x1f1)](_0x41e004,_0x15280b){const _0x1d6017=a50_0x1b18e4,_0x57346f={};_0x57346f[_0x1d6017(0x1f5)]=function(_0x33fdcd,_0x6ecc55){return _0x33fdcd||_0x6ecc55;};const _0x11766e=_0x57346f;if(_0x11766e[_0x1d6017(0x1f5)](!_0x41e004,!_0x15280b))return;try{const _0x304674=this[_0x1d6017(0x1e9)](),_0x49998c={};_0x49998c[_0x1d6017(0x1d3)]=!![],fs[_0x1d6017(0x1d1)](_0x304674,_0x49998c);const _0x199552=path[_0x1d6017(0x1aa)](_0x304674,_0x41e004+_0x1d6017(0x1f0));fs[_0x1d6017(0x1fd)](_0x199552,JSON['stringify'](_0x15280b));}catch(_0xc63209){logger['debug']('Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20'+_0x41e004+':\x20'+(_0xc63209&&_0xc63209[_0x1d6017(0x1c4)]));}}static['shutdown'](){const _0x9a8f82=a50_0x1b18e4,_0x34f266={};_0x34f266[_0x9a8f82(0x1d3)]=!![],_0x34f266['force']=!![],fs[_0x9a8f82(0x1b4)](this['getDirPath'](),_0x34f266);}static[a50_0x1b18e4(0x1fa)](_0x3494e7){const _0x2ddfc3=a50_0x1b18e4;if(this[_0x2ddfc3(0x1e2)][_0x3494e7])return this[_0x2ddfc3(0x1e2)][_0x3494e7];const _0x1389b3=this[_0x2ddfc3(0x203)](_0x3494e7);if(_0x1389b3&&fs[_0x2ddfc3(0x1dd)](_0x1389b3)){const _0x17e350=JSON[_0x2ddfc3(0x1df)](fs[_0x2ddfc3(0x1ad)](_0x1389b3)[_0x2ddfc3(0x1d6)]());return this[_0x2ddfc3(0x1e2)][_0x3494e7]=_0x17e350,_0x17e350;}return{};}static[a50_0x1b18e4(0x1a7)](_0x34843c,_0x36a5eb){const _0x41b140=a50_0x1b18e4,_0x3c6854=this['getFilePath'](_0x34843c);if(_0x3c6854&&fs['existsSync'](_0x3c6854)){const _0x3efbe2=JSON[_0x41b140(0x1df)](fs[_0x41b140(0x1ad)](_0x3c6854)[_0x41b140(0x1d6)]()),_0x4e0549={..._0x3efbe2,..._0x36a5eb};this[_0x41b140(0x1e2)][_0x34843c]=_0x4e0549;}else this[_0x41b140(0x1e2)][_0x34843c]=_0x36a5eb;fs[_0x41b140(0x1fd)](_0x3c6854,this[_0x41b140(0x1e2)][_0x34843c]);}static[a50_0x1b18e4(0x1e5)](_0x4b93fa){const _0x20418d=a50_0x1b18e4,_0x3d5313={};_0x3d5313[_0x20418d(0x1ab)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x464bee=_0x3d5313;try{const _0x4c60c6=process['pid'],_0x196d11=path[_0x20418d(0x1aa)](TestDetails['getTraceZipDir'](),_0x4c60c6+_0x20418d(0x1bd));let _0x460f13=[];_0x196d11&&fs[_0x20418d(0x1dd)](_0x196d11)&&(_0x460f13=JSON[_0x20418d(0x1df)](fs[_0x20418d(0x1ad)](_0x196d11)[_0x20418d(0x1d6)]())),!_0x460f13['some'](_0x2535d9=>_0x2535d9[_0x20418d(0x1da)]===_0x4b93fa[_0x20418d(0x1da)])&&(_0x460f13[_0x20418d(0x1e8)](_0x4b93fa),fs[_0x20418d(0x1fd)](_0x196d11,JSON['stringify'](_0x460f13)));}catch(_0x2aaae1){logger['error'](_0x464bee[_0x20418d(0x1ab)],_0x2aaae1);}}static[a50_0x1b18e4(0x1c5)](){const _0x5e2428=a50_0x1b18e4,_0x22b819={};_0x22b819[_0x5e2428(0x1c0)]='_traceZipPaths.json',_0x22b819[_0x5e2428(0x1ea)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x2467b4=_0x22b819,_0x155241=[];try{const _0x4e2234=TestDetails[_0x5e2428(0x1de)]();if(_0x4e2234&&!fs[_0x5e2428(0x1dd)](_0x4e2234))return _0x155241;const _0x387bc2=fs[_0x5e2428(0x1cf)](_0x4e2234);_0x387bc2[_0x5e2428(0x206)](_0x480e5f=>{const _0x207fcf=_0x5e2428;if(_0x480e5f&&_0x480e5f[_0x207fcf(0x1ee)](_0x2467b4['lVzcj'])){const _0x1f15e7=JSON[_0x207fcf(0x1df)](fs[_0x207fcf(0x1ad)](path[_0x207fcf(0x1aa)](_0x4e2234,_0x480e5f))[_0x207fcf(0x1d6)]());_0x155241[_0x207fcf(0x1e8)](..._0x1f15e7);}});}catch(_0x25d882){logger['error'](util['format'](_0x2467b4[_0x5e2428(0x1ea)],_0x25d882));}const _0x39bbf7={};return _0x155241['forEach'](_0xb1fb24=>{const _0x527bca=_0x5e2428;_0x39bbf7[_0xb1fb24[_0x527bca(0x1da)]]=_0xb1fb24;}),Object[_0x5e2428(0x1c8)](_0x39bbf7);}static['appendToTracePaths'](_0x132a30,_0x1bbea9){const _0x5175d0=a50_0x1b18e4,_0x55c38c={};_0x55c38c[_0x5175d0(0x1b2)]=_0x5175d0(0x1b9),_0x55c38c['LRXDE']=_0x5175d0(0x1a8);const _0x1711d8=_0x55c38c;try{const _0x1fea50=path['join'](helper[_0x5175d0(0x1af)](),_0x1711d8[_0x5175d0(0x1b2)]);if(!fs['existsSync'](_0x1fea50)){const _0x2084f5={};_0x2084f5[_0x5175d0(0x1d3)]=!![],fs[_0x5175d0(0x1d1)](_0x1fea50,_0x2084f5);}fs['appendFileSync'](path[_0x5175d0(0x1aa)](_0x1fea50,'trace_'+_0x1bbea9+_0x5175d0(0x1ca)),_0x132a30+'\x0a',_0x1711d8[_0x5175d0(0x1d8)]);}catch(_0x1f4821){console[_0x5175d0(0x1f3)](_0x5175d0(0x1cd)+_0x1f4821[_0x5175d0(0x1c4)]);}}}module[a50_0x1b18e4(0x1eb)]=TestDetails;
1
+ const a50_0x42e120=a50_0x4624;function a50_0x4624(_0x2dd2bb,_0x11980e){const _0x5d6034=a50_0x5d60();return a50_0x4624=function(_0x46240e,_0x2f4417){_0x46240e=_0x46240e-0x1f0;let _0x1edf63=_0x5d6034[_0x46240e];return _0x1edf63;},a50_0x4624(_0x2dd2bb,_0x11980e);}(function(_0xe1777f,_0x39228e){const _0x1e7310=a50_0x4624,_0x538509=_0xe1777f();while(!![]){try{const _0x153c88=-parseInt(_0x1e7310(0x227))/0x1*(parseInt(_0x1e7310(0x245))/0x2)+parseInt(_0x1e7310(0x223))/0x3*(parseInt(_0x1e7310(0x24b))/0x4)+parseInt(_0x1e7310(0x237))/0x5*(parseInt(_0x1e7310(0x23f))/0x6)+-parseInt(_0x1e7310(0x221))/0x7+-parseInt(_0x1e7310(0x1f7))/0x8*(-parseInt(_0x1e7310(0x203))/0x9)+parseInt(_0x1e7310(0x228))/0xa*(-parseInt(_0x1e7310(0x20f))/0xb)+-parseInt(_0x1e7310(0x251))/0xc;if(_0x153c88===_0x39228e)break;else _0x538509['push'](_0x538509['shift']());}catch(_0xa35e52){_0x538509['push'](_0x538509['shift']());}}}(a50_0x5d60,0x637e8));const fs=require('fs'),path=require(a50_0x42e120(0x231)),{v4:uuidv4}=require(a50_0x42e120(0x248)),{TEMP_STORE_DIR_NAME}=require(a50_0x42e120(0x214)),{nestedKeyValue}=require(a50_0x42e120(0x241)),logger=require(a50_0x42e120(0x254))[a50_0x42e120(0x243)],{getLogDir}=require(a50_0x42e120(0x254)),util=require(a50_0x42e120(0x246)),helper=require(a50_0x42e120(0x241));function a50_0x5d60(){const _0x2520f2=['message','getTestUUID','tests','path','getStoreDirPath','shutdown','GctRn','retry','_projectId','573595RBLpTr','SEvrs','values','getTraceZipDir','_traceZipPaths.json','getFilePath','NmvyZ','IsVWy','42lapZNW','Error\x20handling\x20trace\x20file\x20paths:\x20','../../../helpers/helper','Dkdge','winstonLogger','mjtTL','9582eUVbgi','util','getStoreDirName','uuid','setAccessibilityPlatformValidation','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','83316XWyAXO','BS_TESTOPS_BUILD_HASHED_ID','testId','XCldR','.browserstack','getTestIdFromTestInfo','2533188unFIGP','fEYYu','getProjectIdFromTestInfo','../../../helpers/logger','setTestDetails','gSCaN','error','stringify','getIntegrations','wIIpN','project','toString','getDirPath','32VeVIoO','traceZipPaths','writeFileSync','_integrations.json','appendToTracePaths','MKJWa','readdirSync','endsWith','force','rUGdP','mkdirSync','xPwGG','518706BpeoEO','pid','env','readFileSync','parse','utf8','filePath','FIYEh','homedir','_test','existsSync','rmSync','110PgiVzV','appendFileSync','setIntegrations','forEach','getTestDetails','../../../helpers/test-observability/constants','setup','getAccessibilityPlatformValidation','Onhnk','OIWKE','push','trace_','.txt','kNdHv','exports','join','gYnLN','format','4177936bZWkzf','recursive','93hfnNkF','vPYjf','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','XWnEK','13heCOiG','401510wdXEiP','PEVfw','cgiuF','zPfYe','_platformDetails.json','mxdbS'];a50_0x5d60=function(){return _0x2520f2;};return a50_0x5d60();}class TestDetails{static [a50_0x42e120(0x230)]={};static[a50_0x42e120(0x215)](){const _0x5428cc=a50_0x42e120;this[_0x5428cc(0x233)]();const _0x3b8ba8={};_0x3b8ba8['recursive']=!![],fs[_0x5428cc(0x201)](this['getDirPath'](),_0x3b8ba8);const _0x41489f={};_0x41489f[_0x5428cc(0x222)]=!![],fs[_0x5428cc(0x201)](this[_0x5428cc(0x23a)](),_0x41489f);}static[a50_0x42e120(0x247)](){const _0x281bcd=a50_0x42e120,_0x31e525={};_0x31e525[_0x281bcd(0x21c)]=function(_0x45c1ee,_0x143510){return _0x45c1ee+_0x143510;},_0x31e525[_0x281bcd(0x23d)]=function(_0x4931a8,_0x3c5ab3){return _0x4931a8+_0x3c5ab3;};const _0x5d7145=_0x31e525;return _0x5d7145[_0x281bcd(0x21c)](_0x5d7145['NmvyZ'](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x281bcd(0x24c)]);}static[a50_0x42e120(0x232)](){const _0x31718f=a50_0x42e120,_0x137e28={};_0x137e28[_0x31718f(0x238)]=function(_0x391a44,_0x45d406){return _0x391a44+_0x45d406;},_0x137e28[_0x31718f(0x24e)]=function(_0x38ede8,_0x6d1450){return _0x38ede8+_0x6d1450;},_0x137e28[_0x31718f(0x1f3)]='default';const _0x11a775=_0x137e28;return path[_0x31718f(0x21e)](_0x11a775[_0x31718f(0x238)](_0x11a775[_0x31718f(0x24e)](TEMP_STORE_DIR_NAME,'-'),process[_0x31718f(0x205)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x11a775[_0x31718f(0x1f3)]));}static[a50_0x42e120(0x23a)](){const _0x155ab3=a50_0x42e120,_0x46956d={};_0x46956d[_0x155ab3(0x244)]=_0x155ab3(0x1f8);const _0x4533b2=_0x46956d;return path['join'](this[_0x155ab3(0x232)](),_0x4533b2[_0x155ab3(0x244)]);}static['getDirPath'](){const _0x4786a2=a50_0x42e120;return TestDetails[_0x4786a2(0x247)]();}static[a50_0x42e120(0x23c)](_0x4b2b1b){const _0x496ff2=a50_0x42e120,_0x414d31={};_0x414d31[_0x496ff2(0x217)]=function(_0x5f31fe,_0x46b712){return _0x5f31fe+_0x46b712;},_0x414d31[_0x496ff2(0x22a)]='.json';const _0x584975=_0x414d31;return path['join'](this[_0x496ff2(0x1f6)](),_0x584975['Onhnk'](_0x4b2b1b,_0x584975[_0x496ff2(0x22a)]));}static['getTestRunIdFromTestInfo'](_0x552196){const _0xa727ea=a50_0x42e120,_0x4646a3={};_0x4646a3[_0xa727ea(0x218)]=function(_0x5d060d,_0x3ed70f){return _0x5d060d+_0x3ed70f;},_0x4646a3[_0xa727ea(0x20a)]=function(_0xe14568,_0xbe5dc6){return _0xe14568+_0xbe5dc6;};const _0x17d73f=_0x4646a3;return _0x17d73f[_0xa727ea(0x218)](_0x17d73f[_0xa727ea(0x20a)](this[_0xa727ea(0x250)](_0x552196),'-'),_0x552196[_0xa727ea(0x235)]);}static[a50_0x42e120(0x253)](_0x414a17){const _0x4c4d67=a50_0x42e120,_0x19a5f9={'fEYYu':function(_0x153806,_0xabfbdb,_0xccd536){return _0x153806(_0xabfbdb,_0xccd536);},'gSCaN':_0x4c4d67(0x20c),'rUGdP':_0x4c4d67(0x236),'MKJWa':_0x4c4d67(0x1f4),'zDZXA':'__projectId'};return _0x19a5f9[_0x4c4d67(0x252)](nestedKeyValue,_0x414a17,[_0x19a5f9[_0x4c4d67(0x256)],_0x19a5f9[_0x4c4d67(0x200)]])||_0x19a5f9[_0x4c4d67(0x252)](nestedKeyValue,_0x414a17,[_0x19a5f9[_0x4c4d67(0x1fc)],_0x19a5f9['zDZXA']]);}static[a50_0x42e120(0x250)](_0x1952fc){const _0x3c2f92=a50_0x42e120,_0x30d94b={'IsVWy':function(_0x114438,_0x19bd7b,_0x4d039e){return _0x114438(_0x19bd7b,_0x4d039e);},'xPwGG':_0x3c2f92(0x20c)};return _0x30d94b[_0x3c2f92(0x23e)](nestedKeyValue,_0x1952fc,[_0x30d94b[_0x3c2f92(0x202)],'id'])||_0x1952fc[_0x3c2f92(0x24d)];}static[a50_0x42e120(0x22f)](_0x18a77b){const _0x45c976=a50_0x42e120,_0x1448ae={'Dkdge':function(_0x39778e,_0x95ef54){return _0x39778e===_0x95ef54;},'zPfYe':'string','HvKSy':function(_0x3549f7){return _0x3549f7();}};if(this['tests'][_0x18a77b]&&_0x1448ae[_0x45c976(0x242)](typeof this[_0x45c976(0x230)][_0x18a77b][_0x45c976(0x248)],_0x1448ae[_0x45c976(0x22b)]))return this[_0x45c976(0x230)][_0x18a77b][_0x45c976(0x248)];const _0x42a907=this[_0x45c976(0x23c)](_0x18a77b);if(_0x42a907&&fs[_0x45c976(0x20d)](_0x42a907)){const _0x2e3280=JSON[_0x45c976(0x207)](fs['readFileSync'](_0x42a907)[_0x45c976(0x1f5)]());return this[_0x45c976(0x230)][_0x18a77b]=_0x2e3280,this[_0x45c976(0x230)][_0x18a77b][_0x45c976(0x248)];}return this['tests'][_0x18a77b]={'uuid':_0x1448ae['HvKSy'](uuidv4)},fs['writeFileSync'](_0x42a907,JSON[_0x45c976(0x1f1)](this[_0x45c976(0x230)][_0x18a77b])),this[_0x45c976(0x230)][_0x18a77b][_0x45c976(0x248)];}static[a50_0x42e120(0x216)](_0x497e5c){const _0x1283f8=a50_0x42e120,_0x855bdc=path[_0x1283f8(0x21e)](this['getDirPath'](),_0x497e5c+_0x1283f8(0x22c));if(_0x855bdc&&fs[_0x1283f8(0x20d)](_0x855bdc))return fs['readFileSync'](_0x855bdc)['toString']();}static[a50_0x42e120(0x249)](_0x55e2fc,_0x2e3034){const _0x37587c=a50_0x42e120,_0x11238e=path[_0x37587c(0x21e)](this[_0x37587c(0x1f6)](),_0x2e3034+'_platformDetails.json');fs[_0x37587c(0x1f9)](_0x11238e,_0x55e2fc['toString']());}static[a50_0x42e120(0x1f2)](_0x41bb49){const _0x45f2b0=a50_0x42e120,_0x250def=path[_0x45f2b0(0x21e)](this[_0x45f2b0(0x1f6)](),_0x41bb49+_0x45f2b0(0x1fa));if(_0x250def&&fs[_0x45f2b0(0x20d)](_0x250def))try{return JSON[_0x45f2b0(0x207)](fs[_0x45f2b0(0x206)](_0x250def)[_0x45f2b0(0x1f5)]());}catch(_0x36b5c9){return logger['debug'](_0x45f2b0(0x225)+_0x41bb49+':\x20'+(_0x36b5c9&&_0x36b5c9[_0x45f2b0(0x22e)])),null;}return null;}static[a50_0x42e120(0x211)](_0x577092,_0x5f4fdb){const _0x1af43d=a50_0x42e120,_0x12eab4={};_0x12eab4[_0x1af43d(0x234)]=function(_0x989fa9,_0x226a0a){return _0x989fa9||_0x226a0a;};const _0x1c53e9=_0x12eab4;if(_0x1c53e9['GctRn'](!_0x577092,!_0x5f4fdb))return;try{const _0x1b9fe6=this[_0x1af43d(0x1f6)](),_0x234328={};_0x234328[_0x1af43d(0x222)]=!![],fs['mkdirSync'](_0x1b9fe6,_0x234328);const _0x2efec6=path[_0x1af43d(0x21e)](_0x1b9fe6,_0x577092+_0x1af43d(0x1fa));fs['writeFileSync'](_0x2efec6,JSON['stringify'](_0x5f4fdb));}catch(_0x3d0a92){logger['debug'](_0x1af43d(0x24a)+_0x577092+':\x20'+(_0x3d0a92&&_0x3d0a92[_0x1af43d(0x22e)]));}}static[a50_0x42e120(0x233)](){const _0x3f616d=a50_0x42e120,_0x3b2c8f={};_0x3b2c8f[_0x3f616d(0x222)]=!![],_0x3b2c8f[_0x3f616d(0x1ff)]=!![],fs[_0x3f616d(0x20e)](this[_0x3f616d(0x1f6)](),_0x3b2c8f);}static[a50_0x42e120(0x213)](_0x27c94b){const _0xcf17d8=a50_0x42e120;if(this['tests'][_0x27c94b])return this[_0xcf17d8(0x230)][_0x27c94b];const _0x3c5bda=this['getFilePath'](_0x27c94b);if(_0x3c5bda&&fs[_0xcf17d8(0x20d)](_0x3c5bda)){const _0x34a0f3=JSON[_0xcf17d8(0x207)](fs[_0xcf17d8(0x206)](_0x3c5bda)[_0xcf17d8(0x1f5)]());return this[_0xcf17d8(0x230)][_0x27c94b]=_0x34a0f3,_0x34a0f3;}return{};}static[a50_0x42e120(0x255)](_0x1cbd64,_0x34a3c5){const _0x241103=a50_0x42e120,_0x344896=this[_0x241103(0x23c)](_0x1cbd64);if(_0x344896&&fs[_0x241103(0x20d)](_0x344896)){const _0xffb0dd=JSON[_0x241103(0x207)](fs[_0x241103(0x206)](_0x344896)[_0x241103(0x1f5)]()),_0x282434={..._0xffb0dd,..._0x34a3c5};this[_0x241103(0x230)][_0x1cbd64]=_0x282434;}else this[_0x241103(0x230)][_0x1cbd64]=_0x34a3c5;fs[_0x241103(0x1f9)](_0x344896,this[_0x241103(0x230)][_0x1cbd64]);}static['addTraceFilePath'](_0x5304dc){const _0x32ee22=a50_0x42e120,_0x63b128={};_0x63b128[_0x32ee22(0x226)]=_0x32ee22(0x240);const _0x29ea26=_0x63b128;try{const _0x16777a=process[_0x32ee22(0x204)],_0x14850b=path['join'](TestDetails[_0x32ee22(0x23a)](),_0x16777a+_0x32ee22(0x23b));let _0x491f9a=[];_0x14850b&&fs[_0x32ee22(0x20d)](_0x14850b)&&(_0x491f9a=JSON['parse'](fs[_0x32ee22(0x206)](_0x14850b)[_0x32ee22(0x1f5)]())),!_0x491f9a['some'](_0x673a5c=>_0x673a5c['filePath']===_0x5304dc['filePath'])&&(_0x491f9a[_0x32ee22(0x219)](_0x5304dc),fs[_0x32ee22(0x1f9)](_0x14850b,JSON['stringify'](_0x491f9a)));}catch(_0x4bef0a){logger[_0x32ee22(0x1f0)](_0x29ea26[_0x32ee22(0x226)],_0x4bef0a);}}static['getTraceFilePaths'](){const _0x4b61d8=a50_0x42e120,_0x477e59={};_0x477e59['gYnLN']=_0x4b61d8(0x23b),_0x477e59[_0x4b61d8(0x22d)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x5053a0=_0x477e59,_0x4613d7=[];try{const _0x331ca4=TestDetails[_0x4b61d8(0x23a)]();if(_0x331ca4&&!fs[_0x4b61d8(0x20d)](_0x331ca4))return _0x4613d7;const _0x5f3e76=fs[_0x4b61d8(0x1fd)](_0x331ca4);_0x5f3e76[_0x4b61d8(0x212)](_0x492b1a=>{const _0x2e598e=_0x4b61d8;if(_0x492b1a&&_0x492b1a[_0x2e598e(0x1fe)](_0x5053a0[_0x2e598e(0x21f)])){const _0x55ba64=JSON['parse'](fs['readFileSync'](path[_0x2e598e(0x21e)](_0x331ca4,_0x492b1a))['toString']());_0x4613d7[_0x2e598e(0x219)](..._0x55ba64);}});}catch(_0x258c49){logger[_0x4b61d8(0x1f0)](util[_0x4b61d8(0x220)](_0x5053a0[_0x4b61d8(0x22d)],_0x258c49));}const _0x31b143={};return _0x4613d7[_0x4b61d8(0x212)](_0x3e1a6e=>{const _0x30901c=_0x4b61d8;_0x31b143[_0x3e1a6e[_0x30901c(0x209)]]=_0x3e1a6e;}),Object[_0x4b61d8(0x239)](_0x31b143);}static[a50_0x42e120(0x1fb)](_0x2acd0f,_0x494d61){const _0x322d2c=a50_0x42e120,_0x4647e9={};_0x4647e9[_0x322d2c(0x229)]=_0x322d2c(0x24f),_0x4647e9[_0x322d2c(0x224)]=_0x322d2c(0x208);const _0x5bbb4e=_0x4647e9;try{const _0x3fc1bb=path[_0x322d2c(0x21e)](helper[_0x322d2c(0x20b)](),_0x5bbb4e[_0x322d2c(0x229)]);if(!fs[_0x322d2c(0x20d)](_0x3fc1bb)){const _0x1841fd={};_0x1841fd[_0x322d2c(0x222)]=!![],fs[_0x322d2c(0x201)](_0x3fc1bb,_0x1841fd);}fs[_0x322d2c(0x210)](path[_0x322d2c(0x21e)](_0x3fc1bb,_0x322d2c(0x21a)+_0x494d61+_0x322d2c(0x21b)),_0x2acd0f+'\x0a',_0x5bbb4e[_0x322d2c(0x224)]);}catch(_0x38dace){console[_0x322d2c(0x1f0)]('Error\x20writing\x20trace\x20file:\x20'+_0x38dace['message']);}}}module[a50_0x42e120(0x21d)]=TestDetails;
@@ -1 +1 @@
1
- const a51_0x6d980b=a51_0x2848;function a51_0x2848(_0x4ca545,_0x2854d5){const _0x67f8a8=a51_0x67f8();return a51_0x2848=function(_0x284887,_0x4eb30f){_0x284887=_0x284887-0xfa;let _0x377bf1=_0x67f8a8[_0x284887];return _0x377bf1;},a51_0x2848(_0x4ca545,_0x2854d5);}(function(_0x494d7f,_0x18ba70){const _0x594522=a51_0x2848,_0x216058=_0x494d7f();while(!![]){try{const _0x2c093e=parseInt(_0x594522(0x183))/0x1*(-parseInt(_0x594522(0x13b))/0x2)+-parseInt(_0x594522(0x18a))/0x3+-parseInt(_0x594522(0x119))/0x4*(-parseInt(_0x594522(0x157))/0x5)+parseInt(_0x594522(0x150))/0x6*(parseInt(_0x594522(0x149))/0x7)+-parseInt(_0x594522(0x113))/0x8+-parseInt(_0x594522(0x118))/0x9+parseInt(_0x594522(0x158))/0xa;if(_0x2c093e===_0x18ba70)break;else _0x216058['push'](_0x216058['shift']());}catch(_0x305e7a){_0x216058['push'](_0x216058['shift']());}}}(a51_0x67f8,0xab67e));const path=require(a51_0x6d980b(0x174)),url=require('url'),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a51_0x6d980b(0x136)),{debug,getPlatformDetails}=require(a51_0x6d980b(0x144)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a51_0x6d980b(0x15b)),logger=require(a51_0x6d980b(0x1ab))[a51_0x6d980b(0x131)],scripts=require(a51_0x6d980b(0x164)),{browserStackExecuteDriver}=require(a51_0x6d980b(0x193)),AccessibilityHelper=require(a51_0x6d980b(0x110)),constants=require(a51_0x6d980b(0x173)),BrowserstackCLI=require(a51_0x6d980b(0x11c)),AutomationFrameworkState=require(a51_0x6d980b(0x1bc)),HookState=require(a51_0x6d980b(0xfe)),{performScanWithRetry}=require(a51_0x6d980b(0x188)),ClientTroubleShootingService=require(a51_0x6d980b(0x191)),getBrowserNameFromChannel=_0x56364a=>{const _0xe51342=a51_0x6d980b,_0xbb4a2e={};_0xbb4a2e[_0xe51342(0x1a3)]=_0xe51342(0xfb),_0xbb4a2e['GaeSm']=_0xe51342(0x14e),_0xbb4a2e[_0xe51342(0x1a4)]=_0xe51342(0x172),_0xbb4a2e['tuMyA']=_0xe51342(0x18b),_0xbb4a2e[_0xe51342(0x133)]=_0xe51342(0x18d),_0xbb4a2e['AbguJ']=_0xe51342(0x180),_0xbb4a2e['KSaRr']=function(_0x3328ba,_0x42165f){return _0x3328ba===_0x42165f;},_0xbb4a2e[_0xe51342(0x1b3)]=_0xe51342(0x167);const _0x5ea638=_0xbb4a2e,_0x14d4b3=_0x5ea638[_0xe51342(0x1a3)][_0xe51342(0x19a)]('|');let _0x1583c1=0x0;while(!![]){switch(_0x14d4b3[_0x1583c1++]){case'0':if(_0x56364a[_0xe51342(0x142)](_0x5ea638[_0xe51342(0x115)]))return _0x5ea638[_0xe51342(0x115)];continue;case'1':if(_0x56364a[_0xe51342(0x142)](_0x5ea638['AfiXz']))return _0x5ea638[_0xe51342(0x1a4)];continue;case'2':if(_0x56364a[_0xe51342(0x142)](_0x5ea638[_0xe51342(0x190)]))return _0x5ea638[_0xe51342(0x190)];continue;case'3':if(_0x56364a[_0xe51342(0x142)](_0x5ea638[_0xe51342(0x133)]))return _0x5ea638[_0xe51342(0x133)];continue;case'4':if(_0x56364a[_0xe51342(0x142)](_0x5ea638[_0xe51342(0x19e)]))return _0x5ea638['AbguJ'];continue;case'5':if(_0x5ea638['KSaRr'](_0x56364a,_0x5ea638[_0xe51342(0x1b3)]))return _0x5ea638[_0xe51342(0x1b3)];continue;}break;}},getBrowserFromWSEndpoint=_0x366b10=>{const _0x6b6328=a51_0x6d980b,_0xfaca4a={'sebfQ':_0x6b6328(0x180),'mubzb':function(_0x49a335,_0x3a0a32){return _0x49a335(_0x3a0a32);}};try{const _0x3d72be=url[_0x6b6328(0x1aa)](_0x366b10),_0x336d98=new URLSearchParams(_0x3d72be['query']),_0x126585=Object[_0x6b6328(0x121)](_0x336d98['entries']()),_0x37fe88=JSON[_0x6b6328(0x1aa)](_0x126585[_0x6b6328(0x176)]);if(_0x37fe88&&(_0x37fe88[_0x6b6328(0x19c)]||_0x37fe88[_0x6b6328(0x15d)]))return _0x37fe88[_0x6b6328(0x19c)]||_0x37fe88[_0x6b6328(0x15d)];return _0xfaca4a[_0x6b6328(0x16b)];}catch(_0x57c967){_0xfaca4a['mubzb'](debug,_0x6b6328(0x14f)+_0x57c967[_0x6b6328(0x187)]());}},getCloudProviderFromWsEndpoint=_0x3bcaf2=>{const _0x185787=a51_0x6d980b,_0x190b24={};_0x190b24[_0x185787(0x104)]=_0x185787(0x177),_0x190b24[_0x185787(0x18c)]=_0x185787(0x15c);const _0xe139e7=_0x190b24;if(_0x3bcaf2[_0x185787(0x142)](constants[_0x185787(0x1b4)])||_0x3bcaf2[_0x185787(0x142)](constants[_0x185787(0x186)]))return _0xe139e7['pzHOF'];return _0xe139e7[_0x185787(0x18c)];},a51_0x49e8cd={};a51_0x49e8cd[a51_0x6d980b(0x153)]=undefined,a51_0x49e8cd[a51_0x6d980b(0x107)]=undefined,a51_0x49e8cd['browser']=undefined,a51_0x49e8cd[a51_0x6d980b(0x155)]=undefined,a51_0x49e8cd['platform']=undefined,a51_0x49e8cd[a51_0x6d980b(0x143)]=undefined,a51_0x49e8cd[a51_0x6d980b(0x1bb)]=undefined,a51_0x49e8cd[a51_0x6d980b(0x129)]={};function a51_0x67f8(){const _0x38eca9=['qPtDu','uCrNE','bArvb','pZpZv','OZYep','split','debug','browser','_bstackDispatchPatched','AbguJ','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','PLAYWRIGHT_DISPATCH','oaEQI','AiqSJ','MuuFm','AfiXz','apply','bStackParams','BCEND','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','info','parse','../../helpers/logger','HpzNr','Not\x20able\x20to\x20import\x20Connection','ilCCI','VGKpN','platformDetails','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','ZWZIT','WVwNH','BSTACK_URL','platformName','dispatch','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','model','test','gqJjc','product','../v2/state/automationFrameworkState.js','defineProperty','playwright-','JLhPH','currentSessionDetails','1|4|0|3|2|5','XqYSv','sessionId','../v2/state/hookState.js','params','sessionError','RYdlG','gbltj','XpDeo','pzHOF','dqFfo','__workerDetails','bsSessionId','client','ueVrU','setupBrowserDetails','connection.js','vjWoE','deviceModel','rroUk','platformVersion','./accessibility-helper','GDqhH','channel','2686280lCxwcP','FLVsI','GaeSm','Jqrpu','Performing\x20scan\x20for\x20','5617566oOVxqm','4Cebujk','toLowerCase','Page','../v2/browserstackCLI','kCkHu','mCbcL','titlePath','Error\x20in\x20importing\x20connection\x20','fromEntries','iiwZE','connectOptions','getInstance','server','izHQP','format','Page\x20Scan\x20result=','capabilities','isRunning','_onMessage','vybmd','ZjjES','Setting\x20session\x20id\x20received\x20from\x20BS\x20','exports','EHbVP','winstonLogger','performScan','pomkN','_defaultConnectOptions','POST','../../helpers/test-observability/error-handler','GIFmm','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','bsParams','OIjPf','878eLaLvX','Failed\x20to\x20perform\x20scan\x20','Not\x20able\x20to\x20import\x20crConnection','join','TKgXq','bstackPerformA11yScan','JBEdG','includes','platform_version','../../helpers/test-observability/utils','_name','HaAvA','DUvGD','UhTKr','7fMgzIq','crConnection.js','btVDr','zDkju','Error\x20in\x20finding\x20platform\x20details\x20','edge','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','2410962cWAuIe','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','use','cloudProvider','pwPage','browser_version','wJeYx','2897830lpfxPL','9231110wTvjyG','accessibilityPlatform','gDRkc','../../helpers/accessibility-automation/helper','unknown_grid','browserName','Connection','platform','_browserType','qVNHn','Error\x20in\x20importing\x20crConnection','isRemote','../../helpers/accessibility-automation/scripts','patchConnection','sendMessageToServer','webkit','project','../../helpers/playwright-helper','QQirJ','sebfQ','jGzxV','rvDhr','prototype','shouldWrapCommand','Fscxj','mZvUo','chromium','../utils/constants','path','currentTest','caps','browserstack','testInfo','patch','patchCRConnection','__driver','lib','XYMeQ','message','Tgckg','chrome','pWjHp','OobFc','527kVdDYW','QXllx','QHzQx','BSTACK_ATS_URL','toString','../../helpers/accessibility-automation/accessibilityRetryHelper.js','version','33342ZqxnOE','safari','hqUuM','firefox','reportSessionLinkingIssue','jPqWi','tuMyA','../utils/clientTroubleshootingService.js','assign','../../bin/playwright/accessibility-helper','iKCyR'];a51_0x67f8=function(){return _0x38eca9;};return a51_0x67f8();}class PlaywrightSessionDetails{static [a51_0x6d980b(0xfa)]=a51_0x49e8cd;constructor(){const _0x3f9f06=a51_0x6d980b,_0x2737e9={};_0x2737e9[_0x3f9f06(0x105)]=_0x3f9f06(0x138);const _0x1bf120=_0x2737e9;throw new Error(_0x1bf120['dqFfo']);}static [a51_0x6d980b(0x100)]=null;static[a51_0x6d980b(0x10a)](_0x347f67,_0x203444,_0xa58716=null){const _0x52afbc=a51_0x6d980b,_0x493bfa={'BCEND':function(_0x1f72db,_0x1ad399){return _0x1f72db===_0x1ad399;},'mCbcL':'function','mZvUo':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','RYdlG':function(_0x58540c,_0xfabb78){return _0x58540c===_0xfabb78;},'bArvb':'Device\x20Model\x20is\x20not\x20available','OIjPf':'local_grid','XpDeo':function(_0x1e8ff1,_0x1751d1,_0x404ffc){return _0x1e8ff1(_0x1751d1,_0x404ffc);},'vFdhZ':'_browserType','uCrNE':_0x52afbc(0x134),'bwoPY':function(_0x2075c5,_0xf4ee22,_0x2dca88){return _0x2075c5(_0xf4ee22,_0x2dca88);},'gDRkc':_0x52afbc(0x168),'EHbVP':_0x52afbc(0x152),'qPtDu':_0x52afbc(0x123),'UhTKr':function(_0x528ccf,_0x3d97fc){return _0x528ccf(_0x3d97fc);},'XqYSv':_0x52afbc(0x177),'ueVrU':'turboscale','Fscxj':'automate','jPqWi':function(_0x4a1966){return _0x4a1966();},'jGzxV':function(_0x3e5677,_0x46ae6a){return _0x3e5677&&_0x46ae6a;},'vybmd':function(_0x2b85ad){return _0x2b85ad();},'kCkHu':function(_0x3caee6,_0x39810a){return _0x3caee6(_0x39810a);},'GDqhH':function(_0x2ccd4e,_0x25c769){return _0x2ccd4e+_0x25c769;},'clkEX':_0x52afbc(0x1be),'pZpZv':_0x52afbc(0x10a)},_0x2c7030=this;return _0x493bfa[_0x52afbc(0x103)](o11yErrorHandler,async function _0x4b29bc(_0x53b98a,_0x313bae,_0x2e7036=null){const _0x2d8e9f=_0x52afbc;let _0xcec5f=_0x53b98a[_0x2d8e9f(0x145)],_0x4de417=null;_0x53b98a&&_0x493bfa[_0x2d8e9f(0x1a7)](typeof _0x53b98a[_0x2d8e9f(0x189)],_0x493bfa[_0x2d8e9f(0x11e)])?_0x4de417=_0x53b98a[_0x2d8e9f(0x189)]():logger[_0x2d8e9f(0x19b)](_0x493bfa[_0x2d8e9f(0x171)]);let _0x5af756=null;_0x53b98a&&_0x493bfa['RYdlG'](typeof _0x53b98a[_0x2d8e9f(0x1b8)],_0x493bfa[_0x2d8e9f(0x11e)])?_0x5af756=_0x53b98a[_0x2d8e9f(0x1b8)]():logger[_0x2d8e9f(0x19b)](_0x493bfa[_0x2d8e9f(0x197)]);let _0x285fa8=null,_0x5b67a7=null,_0x3b9722=null,_0x4470f5=_0x493bfa[_0x2d8e9f(0x13a)];if(_0x53b98a['_connection'][_0x2d8e9f(0x163)]()||global[_0x2d8e9f(0x159)]&&!process['env'][_0x2d8e9f(0x1a8)]){let _0x7bbd1b=null;_0x493bfa[_0x2d8e9f(0x103)](nestedKeyValue,_0x53b98a,[_0x493bfa['vFdhZ'],_0x493bfa[_0x2d8e9f(0x196)]])?_0x7bbd1b=_0x53b98a[_0x2d8e9f(0x160)][_0x2d8e9f(0x134)]:_0x7bbd1b=_0x493bfa['bwoPY'](nestedKeyValue,_0x313bae,[_0x493bfa[_0x2d8e9f(0x15a)],_0x493bfa[_0x2d8e9f(0x130)],_0x493bfa[_0x2d8e9f(0x195)]]);const _0x1eb2ca=_0x2e7036||_0x7bbd1b&&_0x7bbd1b['wsEndpoint'];if(_0x1eb2ca){_0x4470f5=_0x493bfa[_0x2d8e9f(0x148)](getCloudProviderFromWsEndpoint,_0x1eb2ca);if(_0x493bfa[_0x2d8e9f(0x101)](_0x4470f5,_0x493bfa[_0x2d8e9f(0xfc)]))_0x3b9722=constants['ATS_WSS_URL_REGEX'][_0x2d8e9f(0x1b9)](_0x1eb2ca)?_0x493bfa[_0x2d8e9f(0x109)]:_0x493bfa[_0x2d8e9f(0x170)],_0xcec5f=_0x493bfa[_0x2d8e9f(0x148)](getBrowserFromWSEndpoint,_0x1eb2ca)||_0xcec5f,_0x285fa8=_0x2c7030[_0x2d8e9f(0xfa)][_0x2d8e9f(0x15f)],_0x5b67a7=_0x2c7030[_0x2d8e9f(0xfa)]['platform_version'];else{const _0x29f8de=await _0x493bfa['jPqWi'](getPlatformDetails);_0x285fa8=_0x29f8de[_0x2d8e9f(0x1b5)],_0x5b67a7=_0x29f8de[_0x2d8e9f(0x10f)];}}if(_0x493bfa[_0x2d8e9f(0x16c)](!_0x285fa8,!_0x5b67a7)&&!_0x493bfa[_0x2d8e9f(0x18f)](isBrowserstackInfra)){const _0x4446d4=await _0x493bfa[_0x2d8e9f(0x12c)](getPlatformDetails);_0x285fa8=_0x4446d4[_0x2d8e9f(0x1b5)],_0x5b67a7=_0x4446d4[_0x2d8e9f(0x10f)];}}else{_0x313bae&&_0x313bae['project'][_0x2d8e9f(0x152)][_0x2d8e9f(0x112)]?_0xcec5f=_0x493bfa[_0x2d8e9f(0x11d)](getBrowserNameFromChannel,_0x313bae[_0x2d8e9f(0x168)][_0x2d8e9f(0x152)][_0x2d8e9f(0x112)]):_0xcec5f=_0x493bfa[_0x2d8e9f(0x111)](_0x493bfa['clkEX'],_0xcec5f[_0x2d8e9f(0x11a)]());const _0x552d66=await _0x493bfa['jPqWi'](getPlatformDetails);_0x285fa8=_0x552d66[_0x2d8e9f(0x1b5)],_0x5b67a7=_0x552d66['platformVersion'];}const _0x3df45e={};_0x3df45e[_0x2d8e9f(0x19c)]=_0xcec5f,_0x3df45e[_0x2d8e9f(0x155)]=_0x4de417,_0x3df45e[_0x2d8e9f(0x129)]={},_0x3df45e[_0x2d8e9f(0x15f)]=_0x285fa8,_0x3df45e[_0x2d8e9f(0x143)]=_0x5b67a7,_0x3df45e[_0x2d8e9f(0x1bb)]=_0x3b9722;const _0x3b4694=_0x3df45e;_0x5af756&&(_0x3b4694[_0x2d8e9f(0x129)][_0x2d8e9f(0x10d)]=_0x5af756);const _0x57e80e={};_0x57e80e[_0x2d8e9f(0x153)]=_0x4470f5,_0x2c7030[_0x2d8e9f(0xfa)]=Object[_0x2d8e9f(0x192)]({},_0x2c7030[_0x2d8e9f(0xfa)],_0x57e80e,_0x3b4694);},_0x493bfa[_0x52afbc(0x198)])(_0x347f67,_0x203444,_0xa58716);}static[a51_0x6d980b(0x179)](){const _0x36c360=a51_0x6d980b;this['patchConnection'](),this[_0x36c360(0x17a)]();}static[a51_0x6d980b(0x165)](){const _0x11064c=a51_0x6d980b,_0x3c6dcd={'HaAvA':function(_0x2a2ba2,_0x18fd33,_0x1aa5f9){return _0x2a2ba2(_0x18fd33,_0x1aa5f9);},'qXFfA':_0x11064c(0x175),'Jqrpu':_0x11064c(0x178),'rroUk':_0x11064c(0x11f),'GlJNi':function(_0x456601,_0x326891,_0x763a85){return _0x456601(_0x326891,_0x763a85);},'QHzQx':function(_0x3bcffd,_0x297929,_0x3b64bf){return _0x3bcffd(_0x297929,_0x3b64bf);},'AexJS':'__workerDetails','FLVsI':_0x11064c(0x154),'rvDhr':function(_0x5ac41a,_0xe7cb07){return _0x5ac41a===_0xe7cb07;},'OobFc':_0x11064c(0x11b),'QXllx':function(_0x3c2197,_0x1d3ae0,_0x966053,_0xf6cdf3){return _0x3c2197(_0x1d3ae0,_0x966053,_0xf6cdf3);},'XubBH':function(_0x3f5895,_0x181c50){return _0x3f5895||_0x181c50;},'iKCyR':function(_0x350cfd,_0x3f6724){return _0x350cfd(_0x3f6724);},'ZWZIT':'lib','OZYep':_0x11064c(0x108),'ZjjES':_0x11064c(0x10b),'GIFmm':function(_0x2e0d59,_0x1632a7){return _0x2e0d59(_0x1632a7);},'vjWoE':_0x11064c(0x169),'btVDr':function(_0x55d823){return _0x55d823();},'izHQP':_0x11064c(0x1ad),'xJSbj':function(_0x5ec186,_0x21850f){return _0x5ec186!=_0x21850f;},'AiqSJ':function(_0x430884,_0xf8fa1d){return _0x430884!=_0xf8fa1d;},'pDRhj':'sendMessageToServer','QQirJ':_0x11064c(0x1b6),'JBEdG':_0x11064c(0x1b7)},_0xf7c23e=this;if(!this[_0x11064c(0x15e)])try{const _0x15f109=path['join'](_0x3c6dcd[_0x11064c(0x1b2)],_0x3c6dcd[_0x11064c(0x199)],_0x3c6dcd[_0x11064c(0x12d)]),_0x5457e9=_0x3c6dcd[_0x11064c(0x194)](importFileFromPWCore,_0x15f109);if(_0x5457e9&&_0x5457e9[_0x11064c(0x15e)])this[_0x11064c(0x15e)]=_0x5457e9[_0x11064c(0x15e)];else{const {getBundledConnectionClass:_0x3853a1}=_0x3c6dcd['GIFmm'](require,_0x3c6dcd[_0x11064c(0x10c)]),_0x23ff4a=_0x3c6dcd[_0x11064c(0x14b)](_0x3853a1);_0x23ff4a?this[_0x11064c(0x15e)]=_0x23ff4a:_0x3c6dcd[_0x11064c(0x137)](debug,_0x3c6dcd[_0x11064c(0x126)]);}}catch(_0x548284){_0x3c6dcd[_0x11064c(0x137)](debug,_0x11064c(0x120)+_0x548284[_0x11064c(0x187)]());}const _0x24b3b4=this[_0x11064c(0x15e)];if(_0x3c6dcd['xJSbj'](_0x24b3b4,null)&&_0x24b3b4[_0x11064c(0x16e)][_0x11064c(0x19d)])return;try{if(_0x3c6dcd[_0x11064c(0x1a2)](_0x24b3b4,null)){const _0x5c2663=_0x24b3b4['prototype'][_0x11064c(0x1b6)],_0x3415f8=_0x24b3b4[_0x11064c(0x16e)][_0x11064c(0x166)];_0x3c6dcd[_0x11064c(0x14b)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x24b3b4[_0x11064c(0x16e)],_0x3c6dcd['pDRhj'],{'get':function(){return async function(){const _0x45c70a=a51_0x2848;try{if(!global['bstackPerformA11yScan']&&global['accessibilityPlatform']&&_0x3c6dcd[_0x45c70a(0x146)](nestedKeyValue,global[_0x45c70a(0x106)],[_0x3c6dcd['qXFfA'],_0x3c6dcd[_0x45c70a(0x116)],_0x3c6dcd[_0x45c70a(0x10e)]])&&_0x3c6dcd['GlJNi'](shouldScanTestForAccessibility,global[_0x45c70a(0x106)][_0x45c70a(0x175)][_0x45c70a(0x178)][_0x45c70a(0x11f)],!![])&&scripts[_0x45c70a(0x16f)](arguments[0x1])){logger[_0x45c70a(0x19b)](_0x45c70a(0x117)+arguments[0x1]),global[_0x45c70a(0x140)]=!![];const _0x41dd72=_0x3c6dcd[_0x45c70a(0x185)](nestedKeyValue,global,[_0x3c6dcd['AexJS'],_0x3c6dcd[_0x45c70a(0x114)]]);_0x41dd72&&logger[_0x45c70a(0x1a9)](_0x45c70a(0x128)+util[_0x45c70a(0x127)](await _0x3c6dcd[_0x45c70a(0x185)](performScanWithRetry,_0x41dd72,arguments[0x1]))),_0x3c6dcd[_0x45c70a(0x16d)](arguments[0x0]['_type'],_0x3c6dcd[_0x45c70a(0x182)])&&global[_0x45c70a(0x17b)]&&logger[_0x45c70a(0x1a9)]('Driver\x20Scan\x20result='+util[_0x45c70a(0x127)](await _0x3c6dcd[_0x45c70a(0x184)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x45c70a(0x132)])));}}catch(_0x1e04ea){logger[_0x45c70a(0x19b)](_0x45c70a(0x13c)+util['format'](_0x1e04ea));}return global[_0x45c70a(0x140)]=![],_0x3415f8[_0x45c70a(0x1a5)](this,arguments);};}}),!_0x3c6dcd[_0x11064c(0x194)](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x11064c(0x1bd)](_0x24b3b4[_0x11064c(0x16e)],_0x3c6dcd[_0x11064c(0x16a)],{'get':function(){const _0x2121fb={'DUvGD':function(_0x3098b0,_0x16d1de){return _0x3c6dcd['XubBH'](_0x3098b0,_0x16d1de);},'pWjHp':function(_0x66444f,_0xa3fc4){return _0x3c6dcd['iKCyR'](_0x66444f,_0xa3fc4);}};return async function _0x323578(_0x2ac237){const _0x68979c=a51_0x2848;if(BrowserstackCLI[_0x68979c(0x124)]()[_0x68979c(0x12a)]()){const _0x127aa9={};_0x127aa9[_0x68979c(0x17e)]=_0x2ac237,await BrowserstackCLI[_0x68979c(0x124)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x68979c(0x1a0)],HookState[_0x68979c(0x135)],_0x127aa9);}else{const _0x39c454=_0x2ac237&&_0x2ac237['params']&&_0x2ac237[_0x68979c(0xff)][_0x68979c(0x139)];if(_0x39c454){const _0x2c9087=_0x39c454[_0x68979c(0xfd)],_0x104e30=_0x39c454[_0x68979c(0x1b0)];_0x2121fb[_0x68979c(0x147)](!_0x2c9087,!_0x104e30)&&await ClientTroubleShootingService[_0x68979c(0x18e)](),_0x104e30&&(_0x2121fb['pWjHp'](debug,_0x68979c(0x1b1)+_0x104e30[_0x68979c(0x187)]()),_0xf7c23e[_0x68979c(0xfa)][_0x68979c(0x15f)]=_0x104e30['platformName'],_0xf7c23e['currentSessionDetails'][_0x68979c(0x143)]=_0x104e30['platformVersion']),_0x2c9087&&(_0x2121fb[_0x68979c(0x181)](debug,_0x68979c(0x12e)+_0x2c9087),_0xf7c23e['currentSessionDetails'][_0x68979c(0x107)]=_0x2c9087);}}return _0x5c2663['apply'](this,arguments);};}}),_0x24b3b4[_0x11064c(0x16e)][_0x11064c(0x19d)]=!![],logger[_0x11064c(0x19b)](_0x3c6dcd[_0x11064c(0x141)]);}}catch(_0x40e727){_0x3c6dcd[_0x11064c(0x137)](debug,_0x11064c(0x151)+_0x40e727),_0xf7c23e[_0x11064c(0x100)]=_0x40e727[_0x11064c(0x187)]();}}static[a51_0x6d980b(0x17a)](){const _0x4a8528=a51_0x6d980b,_0x2f40f2={'oaEQI':function(_0x1b27ae,_0x44f685){return _0x1b27ae(_0x44f685);},'Tgckg':function(_0x4874e9,_0x5190bf){return _0x4874e9(_0x5190bf);},'JLhPH':function(_0x4fb8ce){return _0x4fb8ce();},'mkPdl':_0x4a8528(0x17c),'XYMeQ':_0x4a8528(0x125),'wJeYx':_0x4a8528(0x172),'VGKpN':_0x4a8528(0x14a),'TKgXq':function(_0x180198,_0x1e4646){return _0x180198(_0x1e4646);},'zDkju':_0x4a8528(0x13d),'gqJjc':_0x4a8528(0x162),'uMiwZ':function(_0x27cef6,_0x2e6ad6){return _0x27cef6!=_0x2e6ad6;},'ilCCI':_0x4a8528(0x12b),'iiwZE':function(_0xac7a49,_0x1cb7ba){return _0xac7a49(_0x1cb7ba);}},_0x3b37b1=this;if(_0x2f40f2[_0x4a8528(0x1bf)](isAccessibilityAutomationSession)){let _0x4b6826=null;try{const _0x4a29fa=path[_0x4a8528(0x13e)](_0x2f40f2['mkPdl'],_0x2f40f2[_0x4a8528(0x17d)],_0x2f40f2[_0x4a8528(0x156)],_0x2f40f2[_0x4a8528(0x1af)]),_0x5df582=_0x2f40f2[_0x4a8528(0x13f)](importFileFromPWCore,_0x4a29fa);!_0x5df582?_0x2f40f2['Tgckg'](debug,_0x2f40f2[_0x4a8528(0x14c)]):_0x4b6826=_0x5df582['CRConnection'];}catch(_0x4c411c){_0x2f40f2[_0x4a8528(0x1a1)](debug,_0x2f40f2[_0x4a8528(0x1ba)]);}try{if(_0x2f40f2['uMiwZ'](_0x4b6826,null)){const _0x23774d=_0x4b6826[_0x4a8528(0x16e)]['_onMessage'];Object['defineProperty'](_0x4b6826[_0x4a8528(0x16e)],_0x2f40f2[_0x4a8528(0x1ae)],{'get':function(){const _0x5c0543={'qVNHn':function(_0x8d6c39,_0x20b574){const _0x2cde18=a51_0x2848;return _0x2f40f2[_0x2cde18(0x1a1)](_0x8d6c39,_0x20b574);},'HpzNr':function(_0x373753,_0x26330f){const _0x37b802=a51_0x2848;return _0x2f40f2[_0x37b802(0x17f)](_0x373753,_0x26330f);},'gbltj':function(_0x7507b1,_0x384a9e){const _0xf3ebce=a51_0x2848;return _0x2f40f2[_0xf3ebce(0x17f)](_0x7507b1,_0x384a9e);}};return async function _0x2a2c5c(_0x5abf8e){const _0xca0304=a51_0x2848;try{if(BrowserstackCLI['getInstance']()[_0xca0304(0x12a)]()){const _0x33248d={};_0x33248d[_0xca0304(0x17e)]=_0x5abf8e,await BrowserstackCLI[_0xca0304(0x124)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0xca0304(0x1a0)],HookState[_0xca0304(0x135)],_0x33248d),delete _0x5abf8e[_0xca0304(0x1a6)];}else{const _0x3682a3=_0x5abf8e[_0xca0304(0x1a6)];if(_0x3682a3){delete _0x5abf8e[_0xca0304(0x1a6)];const _0x46cf9b=_0x3682a3['sessionId'],_0x57aa4e=_0x3682a3[_0xca0304(0x1b0)];_0x57aa4e&&(_0x5c0543[_0xca0304(0x161)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x57aa4e[_0xca0304(0x187)]()),_0x3b37b1['currentSessionDetails'][_0xca0304(0x15f)]=_0x57aa4e[_0xca0304(0x1b5)],_0x3b37b1[_0xca0304(0xfa)][_0xca0304(0x143)]=_0x57aa4e[_0xca0304(0x10f)]),_0x46cf9b&&(_0x5c0543[_0xca0304(0x1ac)](debug,_0xca0304(0x19f)+_0x46cf9b),_0x3b37b1['currentSessionDetails'][_0xca0304(0x107)]=_0x46cf9b);}}}catch(_0x215b5f){_0x5c0543[_0xca0304(0x102)](debug,_0xca0304(0x14d)+_0x215b5f['toString']());}return _0x23774d[_0xca0304(0x1a5)](this,arguments);};}});}}catch(_0x37e009){_0x2f40f2[_0x4a8528(0x122)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x37e009),_0x3b37b1[_0x4a8528(0x100)]=_0x37e009[_0x4a8528(0x187)]();}}}static['getDetails'](){const _0x2525a8=a51_0x6d980b;return this[_0x2525a8(0xfa)];}}module[a51_0x6d980b(0x12f)]=PlaywrightSessionDetails;
1
+ const a51_0x3e2b69=a51_0x429a;(function(_0x371b2e,_0x5f3257){const _0x422bf2=a51_0x429a,_0x4ca0b2=_0x371b2e();while(!![]){try{const _0x1f752f=parseInt(_0x422bf2(0x1dc))/0x1+parseInt(_0x422bf2(0x1e1))/0x2+parseInt(_0x422bf2(0x1b1))/0x3*(parseInt(_0x422bf2(0x21e))/0x4)+parseInt(_0x422bf2(0x1fc))/0x5+parseInt(_0x422bf2(0x1b6))/0x6*(-parseInt(_0x422bf2(0x236))/0x7)+-parseInt(_0x422bf2(0x21c))/0x8*(parseInt(_0x422bf2(0x1ec))/0x9)+parseInt(_0x422bf2(0x1a8))/0xa*(parseInt(_0x422bf2(0x24e))/0xb);if(_0x1f752f===_0x5f3257)break;else _0x4ca0b2['push'](_0x4ca0b2['shift']());}catch(_0x3af18c){_0x4ca0b2['push'](_0x4ca0b2['shift']());}}}(a51_0x3fae,0xc153b));const path=require(a51_0x3e2b69(0x250)),url=require(a51_0x3e2b69(0x231)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a51_0x3e2b69(0x1cb)),{o11yErrorHandler}=require(a51_0x3e2b69(0x272)),{debug,getPlatformDetails}=require(a51_0x3e2b69(0x1ca)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a51_0x3e2b69(0x253)),logger=require(a51_0x3e2b69(0x25d))[a51_0x3e2b69(0x26e)],scripts=require(a51_0x3e2b69(0x261)),{browserStackExecuteDriver}=require(a51_0x3e2b69(0x1a3)),AccessibilityHelper=require(a51_0x3e2b69(0x1e4)),constants=require(a51_0x3e2b69(0x1fa)),BrowserstackCLI=require(a51_0x3e2b69(0x1c4)),AutomationFrameworkState=require(a51_0x3e2b69(0x265)),HookState=require(a51_0x3e2b69(0x1f7)),{performScanWithRetry}=require(a51_0x3e2b69(0x229)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0xfe603=>{const _0x59b3a4=a51_0x3e2b69,_0x367a27={};_0x367a27[_0x59b3a4(0x1de)]=_0x59b3a4(0x208),_0x367a27[_0x59b3a4(0x213)]=_0x59b3a4(0x1f8),_0x367a27[_0x59b3a4(0x224)]=function(_0x308314,_0x583aca){return _0x308314===_0x583aca;},_0x367a27[_0x59b3a4(0x1d8)]=_0x59b3a4(0x21f),_0x367a27[_0x59b3a4(0x1b4)]=_0x59b3a4(0x203),_0x367a27[_0x59b3a4(0x204)]='firefox',_0x367a27[_0x59b3a4(0x1e3)]=_0x59b3a4(0x1ef),_0x367a27[_0x59b3a4(0x223)]='safari';const _0x243371=_0x367a27,_0x4be3b8=_0x243371['cBQtH']['split']('|');let _0x2d0bd3=0x0;while(!![]){switch(_0x4be3b8[_0x2d0bd3++]){case'0':if(_0xfe603['includes'](_0x243371[_0x59b3a4(0x213)]))return _0x243371[_0x59b3a4(0x213)];continue;case'1':if(_0x243371[_0x59b3a4(0x224)](_0xfe603,_0x243371[_0x59b3a4(0x1d8)]))return _0x243371['xCPpW'];continue;case'2':if(_0xfe603[_0x59b3a4(0x273)](_0x243371[_0x59b3a4(0x1b4)]))return _0x243371[_0x59b3a4(0x1b4)];continue;case'3':if(_0xfe603[_0x59b3a4(0x273)](_0x243371['SOauO']))return _0x243371[_0x59b3a4(0x204)];continue;case'4':if(_0xfe603[_0x59b3a4(0x273)](_0x243371[_0x59b3a4(0x1e3)]))return _0x243371[_0x59b3a4(0x1e3)];continue;case'5':if(_0xfe603[_0x59b3a4(0x273)](_0x243371['dETCB']))return _0x243371['dETCB'];continue;}break;}},getBrowserFromWSEndpoint=_0x5bb75e=>{const _0x345216=a51_0x3e2b69,_0x14a057={'vulTm':_0x345216(0x203),'LlCcA':function(_0x2ee757,_0x23e451){return _0x2ee757(_0x23e451);}};try{const _0x386776=url[_0x345216(0x233)](_0x5bb75e),_0x2e8c86=new URLSearchParams(_0x386776[_0x345216(0x1ac)]),_0x425de0=Object['fromEntries'](_0x2e8c86[_0x345216(0x25f)]()),_0x4b1059=JSON[_0x345216(0x233)](_0x425de0[_0x345216(0x205)]);if(_0x4b1059&&(_0x4b1059[_0x345216(0x1be)]||_0x4b1059[_0x345216(0x1e6)]))return _0x4b1059['browser']||_0x4b1059['browserName'];return _0x14a057[_0x345216(0x1d9)];}catch(_0x109bd9){_0x14a057['LlCcA'](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x109bd9[_0x345216(0x255)]());}},getCloudProviderFromWsEndpoint=_0x583860=>{const _0x402228=a51_0x3e2b69,_0x2759e4={};_0x2759e4[_0x402228(0x1ff)]='browserstack',_0x2759e4[_0x402228(0x206)]='unknown_grid';const _0x591614=_0x2759e4;if(_0x583860['includes'](constants[_0x402228(0x1c1)])||_0x583860[_0x402228(0x273)](constants[_0x402228(0x23c)]))return _0x591614[_0x402228(0x1ff)];return _0x591614[_0x402228(0x206)];},a51_0x5d2a25={};function a51_0x429a(_0x43328c,_0x3dc7dd){const _0x3fae2a=a51_0x3fae();return a51_0x429a=function(_0x429ac6,_0x3e7d45){_0x429ac6=_0x429ac6-0x1a0;let _0x1c88b5=_0x3fae2a[_0x429ac6];return _0x1c88b5;},a51_0x429a(_0x43328c,_0x3dc7dd);}a51_0x5d2a25[a51_0x3e2b69(0x1e0)]=undefined,a51_0x5d2a25[a51_0x3e2b69(0x1af)]=undefined,a51_0x5d2a25[a51_0x3e2b69(0x1be)]=undefined,a51_0x5d2a25[a51_0x3e2b69(0x1b3)]=undefined,a51_0x5d2a25['platform']=undefined,a51_0x5d2a25[a51_0x3e2b69(0x1fe)]=undefined,a51_0x5d2a25[a51_0x3e2b69(0x239)]=undefined,a51_0x5d2a25['capabilities']={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a51_0x5d2a25;constructor(){const _0x2e9d45=a51_0x3e2b69,_0x3abb63={};_0x3abb63[_0x2e9d45(0x243)]=_0x2e9d45(0x200);const _0x48479c=_0x3abb63;throw new Error(_0x48479c[_0x2e9d45(0x243)]);}static [a51_0x3e2b69(0x271)]=null;static['setupBrowserDetails'](_0xfe4ea4,_0x5c05aa,_0x186c1d=null){const _0x434c4e=a51_0x3e2b69,_0x3c81e0={'nEuiL':function(_0x5076d8,_0x2ff9c8){return _0x5076d8===_0x2ff9c8;},'jaAiT':_0x434c4e(0x1d7),'Icqgj':_0x434c4e(0x1df),'sLOCJ':_0x434c4e(0x1a9),'rXEMI':'local_grid','GQiXD':function(_0x162777,_0x2ba0aa,_0x41b107){return _0x162777(_0x2ba0aa,_0x41b107);},'MaZNM':'_browserType','xqHnf':_0x434c4e(0x26f),'jWhpJ':function(_0x38e709,_0x4690d6,_0x19c222){return _0x38e709(_0x4690d6,_0x19c222);},'LAmWC':_0x434c4e(0x22e),'AgLBX':_0x434c4e(0x1da),'aFJdL':_0x434c4e(0x251),'TNjtf':function(_0x4880c9,_0x3f6c63){return _0x4880c9(_0x3f6c63);},'zfISe':function(_0x5b5ad6,_0x212f24){return _0x5b5ad6===_0x212f24;},'VECZu':_0x434c4e(0x1a7),'KUUWt':_0x434c4e(0x1c0),'xcBrZ':_0x434c4e(0x25a),'QWZXh':function(_0x30cf3f,_0x4c7759){return _0x30cf3f(_0x4c7759);},'WjCbi':function(_0x37e6bc){return _0x37e6bc();},'tIWGn':function(_0x339cb9,_0xb1c7cf){return _0x339cb9&&_0xb1c7cf;},'iMNIR':function(_0x3d633f){return _0x3d633f();},'OcqLH':function(_0x588586,_0x5d6882){return _0x588586(_0x5d6882);},'HGNFN':function(_0x3dbcd3,_0x568f5e){return _0x3dbcd3+_0x568f5e;},'OtkXV':_0x434c4e(0x1f6),'wiibX':function(_0x27eebd){return _0x27eebd();},'FXNIF':_0x434c4e(0x21b)},_0x1fc316=this;return _0x3c81e0[_0x434c4e(0x270)](o11yErrorHandler,async function _0xf7bb37(_0x4db90c,_0x4d9244,_0x456e3b=null){const _0x404dc1=_0x434c4e;let _0x20be40=_0x4db90c[_0x404dc1(0x1ed)],_0xe3ceb0=null;_0x4db90c&&_0x3c81e0[_0x404dc1(0x1a6)](typeof _0x4db90c['version'],_0x3c81e0[_0x404dc1(0x1e2)])?_0xe3ceb0=_0x4db90c[_0x404dc1(0x1c6)]():logger[_0x404dc1(0x227)](_0x3c81e0[_0x404dc1(0x1c5)]);let _0x5e3262=null;_0x4db90c&&_0x3c81e0['nEuiL'](typeof _0x4db90c[_0x404dc1(0x242)],_0x3c81e0['jaAiT'])?_0x5e3262=_0x4db90c['model']():logger['debug'](_0x3c81e0[_0x404dc1(0x1b8)]);let _0x419e94=null,_0x2bbef9=null,_0x180284=null,_0x303c92=_0x3c81e0[_0x404dc1(0x1fb)];if(_0x4db90c[_0x404dc1(0x235)][_0x404dc1(0x22c)]()||global[_0x404dc1(0x26d)]&&!process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0xa514fa=null;_0x3c81e0[_0x404dc1(0x1ba)](nestedKeyValue,_0x4db90c,[_0x3c81e0['MaZNM'],_0x3c81e0[_0x404dc1(0x214)]])?_0xa514fa=_0x4db90c[_0x404dc1(0x1cf)][_0x404dc1(0x26f)]:_0xa514fa=_0x3c81e0['jWhpJ'](nestedKeyValue,_0x4d9244,[_0x3c81e0[_0x404dc1(0x25e)],_0x3c81e0[_0x404dc1(0x20c)],_0x3c81e0[_0x404dc1(0x1b7)]]);const _0x17e989=_0x456e3b||_0xa514fa&&_0xa514fa[_0x404dc1(0x26c)];if(_0x17e989){_0x303c92=_0x3c81e0[_0x404dc1(0x1a1)](getCloudProviderFromWsEndpoint,_0x17e989);if(_0x3c81e0[_0x404dc1(0x267)](_0x303c92,_0x3c81e0['VECZu']))_0x180284=constants[_0x404dc1(0x245)][_0x404dc1(0x258)](_0x17e989)?_0x3c81e0[_0x404dc1(0x207)]:_0x3c81e0[_0x404dc1(0x24d)],_0x20be40=_0x3c81e0[_0x404dc1(0x1f2)](getBrowserFromWSEndpoint,_0x17e989)||_0x20be40,_0x419e94=_0x1fc316['currentSessionDetails']['platform'],_0x2bbef9=_0x1fc316[_0x404dc1(0x1bf)][_0x404dc1(0x1fe)];else{const _0x6283a0=await _0x3c81e0[_0x404dc1(0x23a)](getPlatformDetails);_0x419e94=_0x6283a0[_0x404dc1(0x23e)],_0x2bbef9=_0x6283a0[_0x404dc1(0x220)];}}if(_0x3c81e0['tIWGn'](!_0x419e94,!_0x2bbef9)&&!_0x3c81e0['iMNIR'](isBrowserstackInfra)){const _0x2dfa25=await _0x3c81e0[_0x404dc1(0x264)](getPlatformDetails);_0x419e94=_0x2dfa25[_0x404dc1(0x23e)],_0x2bbef9=_0x2dfa25[_0x404dc1(0x220)];}}else{_0x4d9244&&_0x4d9244['project'][_0x404dc1(0x1da)][_0x404dc1(0x20e)]?_0x20be40=_0x3c81e0[_0x404dc1(0x1f5)](getBrowserNameFromChannel,_0x4d9244[_0x404dc1(0x22e)][_0x404dc1(0x1da)][_0x404dc1(0x20e)]):_0x20be40=_0x3c81e0['HGNFN'](_0x3c81e0[_0x404dc1(0x263)],_0x20be40[_0x404dc1(0x221)]());const _0x362a96=await _0x3c81e0[_0x404dc1(0x24f)](getPlatformDetails);_0x419e94=_0x362a96[_0x404dc1(0x23e)],_0x2bbef9=_0x362a96['platformVersion'];}const _0x2280c6={};_0x2280c6[_0x404dc1(0x1be)]=_0x20be40,_0x2280c6[_0x404dc1(0x1b3)]=_0xe3ceb0,_0x2280c6[_0x404dc1(0x1c2)]={},_0x2280c6[_0x404dc1(0x23f)]=_0x419e94,_0x2280c6[_0x404dc1(0x1fe)]=_0x2bbef9,_0x2280c6[_0x404dc1(0x239)]=_0x180284;const _0x4ac87b=_0x2280c6;_0x5e3262&&(_0x4ac87b[_0x404dc1(0x1c2)]['deviceModel']=_0x5e3262);const _0x141ffa={};_0x141ffa['cloudProvider']=_0x303c92,_0x1fc316[_0x404dc1(0x1bf)]=Object[_0x404dc1(0x20f)]({},_0x1fc316[_0x404dc1(0x1bf)],_0x141ffa,_0x4ac87b);},_0x3c81e0[_0x434c4e(0x252)])(_0xfe4ea4,_0x5c05aa,_0x186c1d);}static[a51_0x3e2b69(0x1dd)](){const _0x46f2f9=a51_0x3e2b69;this[_0x46f2f9(0x260)](),this['patchCRConnection']();}static[a51_0x3e2b69(0x260)](){const _0x376803=a51_0x3e2b69,_0x3b256b={'PRawg':function(_0x1d4bd8,_0x189820,_0x15c893){return _0x1d4bd8(_0x189820,_0x15c893);},'QXIVS':_0x376803(0x1f0),'IMXwT':_0x376803(0x217),'gvxxl':_0x376803(0x1f9),'YSrBU':_0x376803(0x225),'nwZbK':_0x376803(0x25b),'ZSsWN':function(_0x21cf1e,_0x1714fd){return _0x21cf1e===_0x1714fd;},'KuhHE':_0x376803(0x1a0),'RDrCi':function(_0x22b876,_0x3706d9,_0x46d6c7,_0x13dad2){return _0x22b876(_0x3706d9,_0x46d6c7,_0x13dad2);},'LJNBd':function(_0x2275f7,_0xb68dd1){return _0x2275f7||_0xb68dd1;},'hbVpR':function(_0x10da4f,_0x3421b5){return _0x10da4f(_0x3421b5);},'IwjRl':_0x376803(0x20a),'uHPMV':_0x376803(0x1ad),'hULKu':'connection.js','SoSQJ':function(_0x2235e5,_0x579f0d){return _0x2235e5(_0x579f0d);},'yYmTQ':'../../helpers/playwright-helper','BVcln':function(_0x176e65){return _0x176e65();},'tJAew':function(_0x48ab7d,_0x5b8fb1){return _0x48ab7d(_0x5b8fb1);},'KgpVO':_0x376803(0x1c3),'LKYOD':function(_0x477d24,_0x237f3e){return _0x477d24(_0x237f3e);},'VILJx':function(_0x31edbc,_0x144240){return _0x31edbc!=_0x144240;},'fNUeE':function(_0x1228db){return _0x1228db();},'tGKxr':_0x376803(0x215),'GvgVB':'dispatch','nasBm':_0x376803(0x1c8),'UlViv':function(_0x3597c2,_0x47657d){return _0x3597c2(_0x47657d);}},_0x1da266=this;if(!this[_0x376803(0x256)])try{const _0x5bedd8=path[_0x376803(0x1d0)](_0x3b256b[_0x376803(0x1d3)],_0x3b256b[_0x376803(0x1c9)],_0x3b256b[_0x376803(0x1aa)]),_0x3366bd=_0x3b256b[_0x376803(0x268)](importFileFromPWCore,_0x5bedd8);if(_0x3366bd&&_0x3366bd[_0x376803(0x256)])this['Connection']=_0x3366bd[_0x376803(0x256)];else{const {getBundledConnectionClass:_0x53cc5a}=_0x3b256b[_0x376803(0x222)](require,_0x3b256b[_0x376803(0x1e7)]),_0x3d9c9d=_0x3b256b[_0x376803(0x1b5)](_0x53cc5a);_0x3d9c9d?this[_0x376803(0x256)]=_0x3d9c9d:_0x3b256b[_0x376803(0x209)](debug,_0x3b256b[_0x376803(0x234)]);}}catch(_0x516622){_0x3b256b['LKYOD'](debug,'Error\x20in\x20importing\x20connection\x20'+_0x516622[_0x376803(0x255)]());}const _0x1b0080=this[_0x376803(0x256)];if(_0x3b256b[_0x376803(0x269)](_0x1b0080,null)&&_0x1b0080[_0x376803(0x244)][_0x376803(0x1cd)])return;try{if(_0x3b256b['VILJx'](_0x1b0080,null)){const _0x1d6457=_0x1b0080[_0x376803(0x244)][_0x376803(0x248)],_0x5e4829=_0x1b0080[_0x376803(0x244)][_0x376803(0x215)];_0x3b256b['fNUeE'](isAccessibilityAutomationSession)&&Object[_0x376803(0x1bd)](_0x1b0080['prototype'],_0x3b256b[_0x376803(0x24c)],{'get':function(){const _0x344c92=_0x376803,_0x4e404f={'dtsDk':function(_0x497745,_0x50fd5c,_0x1f3a4d){return _0x3b256b['PRawg'](_0x497745,_0x50fd5c,_0x1f3a4d);},'hfLDR':_0x3b256b['QXIVS'],'TfIQj':_0x3b256b[_0x344c92(0x266)],'MuqjJ':_0x3b256b[_0x344c92(0x254)],'oXYXo':function(_0x57d52e,_0x55b88f,_0x31bd87){const _0x211263=_0x344c92;return _0x3b256b[_0x211263(0x1e5)](_0x57d52e,_0x55b88f,_0x31bd87);},'BGpHd':function(_0x3a0c5a,_0x53b936,_0x4344e1){return _0x3b256b['PRawg'](_0x3a0c5a,_0x53b936,_0x4344e1);},'oedGa':_0x3b256b['YSrBU'],'MRwra':_0x3b256b[_0x344c92(0x238)],'VWcQw':function(_0x2c05fb,_0x2f7d28,_0x705e21){const _0x59612f=_0x344c92;return _0x3b256b[_0x59612f(0x1e5)](_0x2c05fb,_0x2f7d28,_0x705e21);},'VbTCE':function(_0x1700fa,_0x5207fc){const _0x1fd5ed=_0x344c92;return _0x3b256b[_0x1fd5ed(0x218)](_0x1700fa,_0x5207fc);},'jqaJr':_0x3b256b[_0x344c92(0x257)],'XMWNN':function(_0x489db1,_0x170fbe,_0x465d98,_0x3514b0){const _0x108ace=_0x344c92;return _0x3b256b[_0x108ace(0x210)](_0x489db1,_0x170fbe,_0x465d98,_0x3514b0);}};return async function(){const _0x400e29=_0x344c92;try{if(!global['bstackPerformA11yScan']&&global[_0x400e29(0x26d)]&&_0x4e404f['dtsDk'](nestedKeyValue,global[_0x400e29(0x225)],[_0x4e404f['hfLDR'],_0x4e404f[_0x400e29(0x259)],_0x4e404f[_0x400e29(0x1bc)]])&&_0x4e404f['oXYXo'](shouldScanTestForAccessibility,global['__workerDetails']['currentTest'][_0x400e29(0x217)][_0x400e29(0x1f9)],!![])&&scripts[_0x400e29(0x25c)](arguments[0x1])){logger[_0x400e29(0x227)](_0x400e29(0x24b)+arguments[0x1]),global[_0x400e29(0x240)]=!![];const _0x249ba3=_0x4e404f[_0x400e29(0x1d1)](nestedKeyValue,global,[_0x4e404f[_0x400e29(0x1ae)],_0x4e404f[_0x400e29(0x262)]]);_0x249ba3&&logger[_0x400e29(0x1a4)]('Page\x20Scan\x20result='+util[_0x400e29(0x1db)](await _0x4e404f[_0x400e29(0x1d5)](performScanWithRetry,_0x249ba3,arguments[0x1]))),_0x4e404f[_0x400e29(0x1f1)](arguments[0x0]['_type'],_0x4e404f['jqaJr'])&&global[_0x400e29(0x1ce)]&&logger['info'](_0x400e29(0x202)+util['format'](await _0x4e404f['XMWNN'](performScanWithRetry,global[_0x400e29(0x1ce)],arguments[0x1],scripts[_0x400e29(0x241)])));}}catch(_0xe9a046){logger['debug'](_0x400e29(0x226)+util[_0x400e29(0x1db)](_0xe9a046));}return global[_0x400e29(0x240)]=![],_0x5e4829['apply'](this,arguments);};}}),!_0x3b256b[_0x376803(0x222)](isFalse,process['env'][_0x376803(0x26a)])&&Object[_0x376803(0x1bd)](_0x1b0080[_0x376803(0x244)],_0x3b256b[_0x376803(0x201)],{'get':function(){const _0x18ef48={'kVczr':function(_0x458ae5,_0x31ce27){const _0x11da69=a51_0x429a;return _0x3b256b[_0x11da69(0x1b2)](_0x458ae5,_0x31ce27);},'GkMSY':function(_0x569392,_0x15314c){return _0x3b256b['hbVpR'](_0x569392,_0x15314c);},'oUmaH':function(_0x3997e9,_0x9ec8ec){const _0x1cee34=a51_0x429a;return _0x3b256b[_0x1cee34(0x268)](_0x3997e9,_0x9ec8ec);}};return async function _0x56a114(_0x34b9fd){const _0x39dff2=a51_0x429a;if(BrowserstackCLI[_0x39dff2(0x21d)]()[_0x39dff2(0x219)]()){const _0x4c57ea={};_0x4c57ea[_0x39dff2(0x237)]=_0x34b9fd,await BrowserstackCLI['getInstance']()['getAutomationFramework']()[_0x39dff2(0x1a2)](AutomationFrameworkState[_0x39dff2(0x1c7)],HookState[_0x39dff2(0x22f)],_0x4c57ea);}else{const _0x4ab2c5=_0x34b9fd&&_0x34b9fd['params']&&_0x34b9fd['params'][_0x39dff2(0x23b)];if(_0x4ab2c5){const _0x1451f5=_0x4ab2c5[_0x39dff2(0x23d)],_0x14b54a=_0x4ab2c5[_0x39dff2(0x1eb)];_0x18ef48[_0x39dff2(0x26b)](!_0x1451f5,!_0x14b54a)&&await ClientTroubleShootingService[_0x39dff2(0x1e8)](),_0x14b54a&&(_0x18ef48[_0x39dff2(0x246)](debug,_0x39dff2(0x211)+_0x14b54a['toString']()),_0x1da266['currentSessionDetails'][_0x39dff2(0x23f)]=_0x14b54a['platformName'],_0x1da266['currentSessionDetails']['platform_version']=_0x14b54a[_0x39dff2(0x220)]),_0x1451f5&&(_0x18ef48[_0x39dff2(0x1f4)](debug,_0x39dff2(0x1e9)+_0x1451f5),_0x1da266['currentSessionDetails']['bsSessionId']=_0x1451f5);}}return _0x1d6457[_0x39dff2(0x20d)](this,arguments);};}}),_0x1b0080[_0x376803(0x244)][_0x376803(0x1cd)]=!![],logger[_0x376803(0x227)](_0x3b256b[_0x376803(0x230)]);}}catch(_0x5e9d74){_0x3b256b['UlViv'](debug,_0x376803(0x22a)+_0x5e9d74),_0x1da266[_0x376803(0x271)]=_0x5e9d74['toString']();}}static['patchCRConnection'](){const _0x28b9b9=a51_0x3e2b69,_0x12cd21={'OxCHX':function(_0xdba362,_0x1fd2f3){return _0xdba362(_0x1fd2f3);},'rQokp':function(_0x5e6ccb){return _0x5e6ccb();},'hisGC':'lib','NTQnK':'server','ZyzTf':_0x28b9b9(0x1f8),'xEuLD':_0x28b9b9(0x1f3),'mcxbk':function(_0x25bb12,_0x596296){return _0x25bb12(_0x596296);},'oKybs':function(_0x4d35fa,_0x2dc806){return _0x4d35fa(_0x2dc806);},'dVDtW':_0x28b9b9(0x1fd),'mnqZm':_0x28b9b9(0x1ea),'VWUvH':function(_0x5e057a,_0xf272a7){return _0x5e057a!=_0xf272a7;},'tVLUy':_0x28b9b9(0x1cc),'bsdiQ':function(_0x1093e9,_0xf6f7e3){return _0x1093e9(_0xf6f7e3);}},_0x1e8ec6=this;if(_0x12cd21['rQokp'](isAccessibilityAutomationSession)){let _0xa687f5=null;try{const _0x36ad88=path[_0x28b9b9(0x1d0)](_0x12cd21[_0x28b9b9(0x24a)],_0x12cd21[_0x28b9b9(0x1bb)],_0x12cd21['ZyzTf'],_0x12cd21[_0x28b9b9(0x228)]),_0x1c91cc=_0x12cd21[_0x28b9b9(0x1d6)](importFileFromPWCore,_0x36ad88);!_0x1c91cc?_0x12cd21[_0x28b9b9(0x1a5)](debug,_0x12cd21['dVDtW']):_0xa687f5=_0x1c91cc[_0x28b9b9(0x21a)];}catch(_0x3e5a67){_0x12cd21['OxCHX'](debug,_0x12cd21[_0x28b9b9(0x1ab)]);}try{if(_0x12cd21[_0x28b9b9(0x247)](_0xa687f5,null)){const _0x21b1f2=_0xa687f5['prototype'][_0x28b9b9(0x1cc)];Object[_0x28b9b9(0x1bd)](_0xa687f5['prototype'],_0x12cd21[_0x28b9b9(0x1ee)],{'get':function(){const _0x1c0f64={'bxRkw':function(_0xeddeca,_0x1b4a18){const _0x29159=a51_0x429a;return _0x12cd21[_0x29159(0x22b)](_0xeddeca,_0x1b4a18);},'aWwEl':function(_0x1b931b,_0x205643){const _0x1bac40=a51_0x429a;return _0x12cd21[_0x1bac40(0x22b)](_0x1b931b,_0x205643);}};return async function _0x4dac6b(_0x4e094b){const _0x5a90b2=a51_0x429a;try{if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x220521={};_0x220521[_0x5a90b2(0x237)]=_0x4e094b,await BrowserstackCLI[_0x5a90b2(0x21d)]()[_0x5a90b2(0x216)]()[_0x5a90b2(0x1a2)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x5a90b2(0x22f)],_0x220521),delete _0x4e094b[_0x5a90b2(0x232)];}else{const _0x354a46=_0x4e094b[_0x5a90b2(0x232)];if(_0x354a46){delete _0x4e094b['bStackParams'];const _0x2990c6=_0x354a46['sessionId'],_0x36a316=_0x354a46[_0x5a90b2(0x1eb)];_0x36a316&&(_0x1c0f64[_0x5a90b2(0x249)](debug,_0x5a90b2(0x20b)+_0x36a316[_0x5a90b2(0x255)]()),_0x1e8ec6[_0x5a90b2(0x1bf)][_0x5a90b2(0x23f)]=_0x36a316[_0x5a90b2(0x23e)],_0x1e8ec6['currentSessionDetails']['platform_version']=_0x36a316[_0x5a90b2(0x220)]),_0x2990c6&&(_0x1c0f64[_0x5a90b2(0x249)](debug,_0x5a90b2(0x22d)+_0x2990c6),_0x1e8ec6['currentSessionDetails'][_0x5a90b2(0x1af)]=_0x2990c6);}}}catch(_0x1970a2){_0x1c0f64[_0x5a90b2(0x212)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x1970a2[_0x5a90b2(0x255)]());}return _0x21b1f2[_0x5a90b2(0x20d)](this,arguments);};}});}}catch(_0x1bcca2){_0x12cd21[_0x28b9b9(0x1d4)](debug,_0x28b9b9(0x1b9)+_0x1bcca2),_0x1e8ec6[_0x28b9b9(0x271)]=_0x1bcca2[_0x28b9b9(0x255)]();}}}static[a51_0x3e2b69(0x1d2)](){const _0x2725b8=a51_0x3e2b69;return this[_0x2725b8(0x1bf)];}}function a51_0x3fae(){const _0x1a4d2e=['gvxxl','toString','Connection','KuhHE','test','TfIQj','automate','pwPage','shouldWrapCommand','../../helpers/logger','LAmWC','entries','patchConnection','../../helpers/accessibility-automation/scripts','MRwra','OtkXV','iMNIR','../v2/state/automationFrameworkState.js','IMXwT','zfISe','hbVpR','VILJx','BROWSERSTACK_TEST_OBSERVABILITY','kVczr','wsEndpoint','accessibilityPlatform','winstonLogger','_defaultConnectOptions','jWhpJ','sessionError','../../helpers/test-observability/error-handler','includes','Page','TNjtf','trackEvent','../../bin/playwright/accessibility-helper','info','oKybs','nEuiL','browserstack','213190jwZMlW','Device\x20Model\x20is\x20not\x20available','hULKu','mnqZm','query','client','oedGa','bsSessionId','exports','11982QRUAnz','LJNBd','browser_version','KrnJk','BVcln','1278NhtZNK','aFJdL','sLOCJ','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','GQiXD','NTQnK','MuqjJ','defineProperty','browser','currentSessionDetails','turboscale','BSTACK_URL','capabilities','Not\x20able\x20to\x20import\x20Connection','../v2/browserstackCLI','Icqgj','version','PLAYWRIGHT_DISPATCH','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','uHPMV','../../helpers/test-observability/utils','../../helpers/helper','_onMessage','_bstackDispatchPatched','__driver','_browserType','join','BGpHd','getDetails','IwjRl','bsdiQ','VWcQw','mcxbk','function','xCPpW','vulTm','use','format','383936pKJSqh','patch','cBQtH','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','cloudProvider','1910038rCOvBK','jaAiT','WtRGZ','./accessibility-helper','PRawg','browserName','yYmTQ','reportSessionLinkingIssue','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Error\x20in\x20importing\x20crConnection','platformDetails','13790871nlePTR','_name','tVLUy','edge','currentTest','VbTCE','QWZXh','crConnection.js','oUmaH','OcqLH','playwright-','../v2/state/hookState.js','chromium','titlePath','../utils/constants','rXEMI','3602990xiSLhd','Not\x20able\x20to\x20import\x20crConnection','platform_version','WTgce','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','GvgVB','Driver\x20Scan\x20result=','chrome','SOauO','caps','eqgic','KUUWt','0|2|4|3|5|1','tJAew','lib','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','AgLBX','apply','channel','assign','RDrCi','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','aWwEl','TaQnz','xqHnf','sendMessageToServer','getAutomationFramework','testInfo','ZSsWN','isRunning','CRConnection','setupBrowserDetails','8YHByBa','getInstance','424JkSqyY','webkit','platformVersion','toLowerCase','SoSQJ','dETCB','UEJXB','__workerDetails','Failed\x20to\x20perform\x20scan\x20','debug','xEuLD','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','OxCHX','isRemote','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','project','POST','nasBm','url','bStackParams','parse','KgpVO','_connection','19229gzNFGw','message','nwZbK','product','WjCbi','bsParams','BSTACK_ATS_URL','sessionId','platformName','platform','bstackPerformA11yScan','performScan','model','nHvsS','prototype','ATS_WSS_URL_REGEX','GkMSY','VWUvH','dispatch','bxRkw','hisGC','Performing\x20scan\x20for\x20','tGKxr','xcBrZ','220kuefvd','wiibX','path','connectOptions','FXNIF','../../helpers/accessibility-automation/helper'];a51_0x3fae=function(){return _0x1a4d2e;};return a51_0x3fae();}module[a51_0x3e2b69(0x1b0)]=PlaywrightSessionDetails;
@@ -1 +1 @@
1
- const a52_0x5b9bf3=a52_0x3b46;(function(_0x275efd,_0x1317e2){const _0x19927e=a52_0x3b46,_0x48fa47=_0x275efd();while(!![]){try{const _0x5295f0=-parseInt(_0x19927e(0xe1))/0x1*(-parseInt(_0x19927e(0xf2))/0x2)+parseInt(_0x19927e(0xdd))/0x3+-parseInt(_0x19927e(0xcc))/0x4+parseInt(_0x19927e(0xed))/0x5+parseInt(_0x19927e(0xd7))/0x6*(-parseInt(_0x19927e(0xf1))/0x7)+-parseInt(_0x19927e(0xf0))/0x8+-parseInt(_0x19927e(0xef))/0x9*(parseInt(_0x19927e(0xce))/0xa);if(_0x5295f0===_0x1317e2)break;else _0x48fa47['push'](_0x48fa47['shift']());}catch(_0x7a9b25){_0x48fa47['push'](_0x48fa47['shift']());}}}(a52_0x515c,0xa4809));function a52_0x3b46(_0x4c8617,_0x1303ca){const _0x515c09=a52_0x515c();return a52_0x3b46=function(_0x3b46bf,_0x29900b){_0x3b46bf=_0x3b46bf-0xcb;let _0x52e441=_0x515c09[_0x3b46bf];return _0x52e441;},a52_0x3b46(_0x4c8617,_0x1303ca);}function a52_0x515c(){const _0x18e237=['109380ohXWkh','__workerDetails','../../helpers/performance/constants','format','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','zycUj','1565412VmJmZK','../v2/uploadAttachmentsManager','o11ySyncDone','XGYqL','743qnmwAa','vWYKY','measureWrapper','ZeeTk','../../helpers/helper','eTmWk','apply','../v2/browserstackCLI','doo11ySync','gDhtm','util','browserstack_executor:\x20','6340330UfuRRU','patchBrowserNewPage','5229567KeNchG','9770704QFMITk','63fTAklG','2290XbiQkw','../../helpers/test-observability/error-handler','_bstackNewPagePatched','stringify','1332zaqkzx','BROWSERSTACK_TEST_OBSERVABILITY','10VrOktN','../../helpers/performance/performance-tester','setCustomTags','isRunning','newPage','getInstance','evaluate','ihpdf','env'];a52_0x515c=function(){return _0x18e237;};return a52_0x515c();}const util=require(a52_0x5b9bf3(0xeb)),logger=require('../../helpers/logger'),{nestedKeyValue,isFalse}=require(a52_0x5b9bf3(0xe5)),{o11yErrorHandler}=require(a52_0x5b9bf3(0xf3)),PerformanceTester=require(a52_0x5b9bf3(0xcf)),{O11y_EVENTS:PerformanceO11yEvents}=require(a52_0x5b9bf3(0xd9)),BrowserstackCLI=require(a52_0x5b9bf3(0xe8)),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require(a52_0x5b9bf3(0xde)),doo11ySync=PerformanceTester[a52_0x5b9bf3(0xe3)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x1cf623){const _0x30ea53=a52_0x5b9bf3,_0x320e0a={'ihpdf':function(_0x3da2fa,_0x4a8a89,_0x5a134f){return _0x3da2fa(_0x4a8a89,_0x5a134f);},'ZeeTk':_0x30ea53(0xd8),'eTmWk':_0x30ea53(0xdf),'zycUj':'annotate','XGYqL':'debug'};if(_0x320e0a[_0x30ea53(0xd5)](nestedKeyValue,global,[_0x320e0a[_0x30ea53(0xe4)],_0x320e0a[_0x30ea53(0xe6)]]))return;await _0x1cf623[_0x30ea53(0xd4)](_0x169a7b=>{},_0x30ea53(0xec)+JSON[_0x30ea53(0xcb)]({'action':_0x320e0a[_0x30ea53(0xdc)],'arguments':{'data':'ObservabilitySync:'+Date['now'](),'level':_0x320e0a[_0x30ea53(0xe0)]}})),global[_0x30ea53(0xd8)][_0x30ea53(0xdf)]=!![];},a52_0x5b9bf3(0xe9)));exports[a52_0x5b9bf3(0xee)]=_0x395098=>{const _0x5acfd6=a52_0x5b9bf3,_0x27cb23={'NGwxD':function(_0x16bb79,_0x31f762){return _0x16bb79(_0x31f762);},'kgyII':function(_0x206e22,_0x22f70e){return _0x206e22(_0x22f70e);},'gDhtm':function(_0x3bd560,_0x3293a5,_0x5403a9){return _0x3bd560(_0x3293a5,_0x5403a9);},'vWYKY':_0x5acfd6(0xd8)};if(!_0x395098||_0x395098[_0x5acfd6(0xf4)])return;const _0x3239ce=_0x395098[_0x5acfd6(0xd2)]['bind'](_0x395098);_0x395098[_0x5acfd6(0xd2)]=async function _0x403f86(){const _0x2d4bd7=_0x5acfd6,_0x23efaf=await _0x3239ce[_0x2d4bd7(0xe7)](_0x395098,arguments);try{!BrowserstackCLI['getInstance']()['isRunning']()&&!_0x27cb23['NGwxD'](isFalse,process[_0x2d4bd7(0xd6)][_0x2d4bd7(0xcd)])&&await _0x27cb23['kgyII'](doo11ySync,_0x23efaf),BrowserstackCLI[_0x2d4bd7(0xd3)]()[_0x2d4bd7(0xd1)]()&&(_0x23efaf[_0x2d4bd7(0xd0)]=async(_0x9eeb12,_0xc2805e,_0x242c3f=![])=>{await CustomTagManager['setCustomTags'](_0x9eeb12,_0xc2805e,_0x242c3f);},_0x23efaf['uploadAttachment']=async(_0x502971,_0x4b0813=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x502971,_0x4b0813);});}catch(_0x3442ac){logger['debug'](_0x2d4bd7(0xdb)+util[_0x2d4bd7(0xda)](_0x3442ac));}return _0x27cb23[_0x2d4bd7(0xea)](nestedKeyValue,global,[_0x27cb23[_0x2d4bd7(0xe2)]])&&(global[_0x2d4bd7(0xd8)]['pwPage']=_0x23efaf),_0x23efaf;},_0x395098[_0x5acfd6(0xf4)]=!![];};
1
+ function a52_0x1b73(_0x23a35d,_0x38f003){const _0x248a67=a52_0x248a();return a52_0x1b73=function(_0x1b7315,_0x43bd20){_0x1b7315=_0x1b7315-0x144;let _0xbfbed4=_0x248a67[_0x1b7315];return _0xbfbed4;},a52_0x1b73(_0x23a35d,_0x38f003);}const a52_0x14dd92=a52_0x1b73;function a52_0x248a(){const _0xc29264=['188967Tmbxua','stringify','o11ySyncDone','6220180gzzXis','setCustomTags','5ebkDEL','uploadAttachments','../../helpers/performance/performance-tester','5828658uKVhzM','evaluate','62595GuXOSv','22LfNuom','ZPrLa','measureWrapper','3471734IMSFdM','now','util','isRunning','_bstackNewPagePatched','../v2/browserstackCLI','khxSd','bind','../../helpers/logger','992ObylSK','../../helpers/helper','ZNwfu','apply','VPRdh','2586685rTyKmO','68AOGuvq','__workerDetails','annotate','kNCux','doo11ySync','PrbWO','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','../../helpers/performance/constants','51806fanDgG','newPage','SYNC'];a52_0x248a=function(){return _0xc29264;};return a52_0x248a();}(function(_0x4176d6,_0x358606){const _0x4878f7=a52_0x1b73,_0x510f0f=_0x4176d6();while(!![]){try{const _0x6645a8=parseInt(_0x4878f7(0x162))/0x1*(parseInt(_0x4878f7(0x15a))/0x2)+-parseInt(_0x4878f7(0x15d))/0x3*(-parseInt(_0x4878f7(0x152))/0x4)+-parseInt(_0x4878f7(0x151))/0x5+-parseInt(_0x4878f7(0x165))/0x6+parseInt(_0x4878f7(0x16b))/0x7+parseInt(_0x4878f7(0x14c))/0x8*(-parseInt(_0x4878f7(0x167))/0x9)+parseInt(_0x4878f7(0x160))/0xa*(parseInt(_0x4878f7(0x168))/0xb);if(_0x6645a8===_0x358606)break;else _0x510f0f['push'](_0x510f0f['shift']());}catch(_0x4b706e){_0x510f0f['push'](_0x510f0f['shift']());}}}(a52_0x248a,0x8fd46));const util=require(a52_0x14dd92(0x145)),logger=require(a52_0x14dd92(0x14b)),{nestedKeyValue,isFalse}=require(a52_0x14dd92(0x14d)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),PerformanceTester=require(a52_0x14dd92(0x164)),{O11y_EVENTS:PerformanceO11yEvents}=require(a52_0x14dd92(0x159)),BrowserstackCLI=require(a52_0x14dd92(0x148)),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a52_0x14dd92(0x16a)](PerformanceO11yEvents[a52_0x14dd92(0x15c)],o11yErrorHandler(async function doo11ySync(_0x2c97a0){const _0x462ef5=a52_0x14dd92,_0x44e22b={'ZNwfu':function(_0x576f2e,_0x554853,_0x4a4caf){return _0x576f2e(_0x554853,_0x4a4caf);},'ZPrLa':_0x462ef5(0x153),'LfUKg':_0x462ef5(0x15f),'kNCux':_0x462ef5(0x154),'PrbWO':'debug'};if(_0x44e22b[_0x462ef5(0x14e)](nestedKeyValue,global,[_0x44e22b[_0x462ef5(0x169)],_0x44e22b['LfUKg']]))return;await _0x2c97a0[_0x462ef5(0x166)](_0x160421=>{},'browserstack_executor:\x20'+JSON[_0x462ef5(0x15e)]({'action':_0x44e22b[_0x462ef5(0x155)],'arguments':{'data':'ObservabilitySync:'+Date[_0x462ef5(0x144)](),'level':_0x44e22b[_0x462ef5(0x157)]}})),global[_0x462ef5(0x153)][_0x462ef5(0x15f)]=!![];},a52_0x14dd92(0x156)));exports['patchBrowserNewPage']=_0x3ce78f=>{const _0x5d8368=a52_0x14dd92,_0x1e902a={'khxSd':function(_0x408dac,_0x23188f){return _0x408dac(_0x23188f);},'RbMin':function(_0xb811a1,_0x2dcb2b,_0x458a9e){return _0xb811a1(_0x2dcb2b,_0x458a9e);},'VPRdh':_0x5d8368(0x153)};if(!_0x3ce78f||_0x3ce78f['_bstackNewPagePatched'])return;const _0x8d4d54=_0x3ce78f[_0x5d8368(0x15b)][_0x5d8368(0x14a)](_0x3ce78f);_0x3ce78f[_0x5d8368(0x15b)]=async function _0x1a6d1b(){const _0x588cda=_0x5d8368,_0x135f31=await _0x8d4d54[_0x588cda(0x14f)](_0x3ce78f,arguments);try{!BrowserstackCLI['getInstance']()['isRunning']()&&!_0x1e902a[_0x588cda(0x149)](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x1e902a[_0x588cda(0x149)](doo11ySync,_0x135f31),BrowserstackCLI['getInstance']()[_0x588cda(0x146)]()&&(_0x135f31[_0x588cda(0x161)]=async(_0x1966da,_0x57a2e4,_0x229294=![])=>{await CustomTagManager['setCustomTags'](_0x1966da,_0x57a2e4,_0x229294);},_0x135f31['uploadAttachment']=async(_0x5f2903,_0x1a5cdd=![])=>{const _0x7f8ef4=_0x588cda;await uploadAttachmentsManager[_0x7f8ef4(0x163)](_0x5f2903,_0x1a5cdd);});}catch(_0x32779d){logger['debug'](_0x588cda(0x158)+util['format'](_0x32779d));}return _0x1e902a['RbMin'](nestedKeyValue,global,[_0x1e902a[_0x588cda(0x150)]])&&(global[_0x588cda(0x153)]['pwPage']=_0x135f31),_0x135f31;},_0x3ce78f[_0x5d8368(0x147)]=!![];};