browserstack-node-sdk 1.55.7 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +64 -0
  41. package/generated/sdk-messages_pb.js +512 -0
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +33 -0
  44. package/package.json +2 -1
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/newman/command.js +1 -1
  83. package/src/bin/newman/helper.js +1 -1
  84. package/src/bin/newman/reporter/index.js +1 -1
  85. package/src/bin/newman/scriptRunner.js +1 -1
  86. package/src/bin/nightwatch/command.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/patches.js +1 -1
  98. package/src/bin/puppeteer/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/test.setup.js +1 -1
  100. package/src/bin/runner.js +1 -1
  101. package/src/bin/setup.js +1 -1
  102. package/src/bin/test-runner/index.js +1 -1
  103. package/src/bin/test-runner/runTest.js +1 -1
  104. package/src/bin/test-runner/testWorker.js +1 -1
  105. package/src/bin/utils/apiUtilityMethods.js +1 -1
  106. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  107. package/src/bin/utils/constants.js +1 -1
  108. package/src/bin/utils/log4jsAppender.js +1 -1
  109. package/src/bin/utils/logPatcher.js +1 -1
  110. package/src/bin/utils/logReportingAPI.js +1 -1
  111. package/src/bin/utils/playwright-patcher.js +1 -1
  112. package/src/bin/utils/puppeteer-patcher.js +1 -1
  113. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  114. package/src/bin/utils/sharedUtils.js +1 -1
  115. package/src/bin/v2/TestInfo.js +1 -1
  116. package/src/bin/v2/browserstackCLI.js +1 -1
  117. package/src/bin/v2/cliUtils.js +1 -1
  118. package/src/bin/v2/customTagManager.js +1 -1
  119. package/src/bin/v2/eventDispatcher.js +1 -1
  120. package/src/bin/v2/framework/automationFramework.js +1 -1
  121. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  122. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  123. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  124. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  125. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  126. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  127. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  128. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  129. package/src/bin/v2/framework/testFramework.js +1 -1
  130. package/src/bin/v2/grpcClient.js +1 -1
  131. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  132. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  133. package/src/bin/v2/instances/trackedContext.js +1 -1
  134. package/src/bin/v2/instances/trackedInstance.js +1 -1
  135. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  136. package/src/bin/v2/modules/baseModule.js +1 -1
  137. package/src/bin/v2/modules/loadTestModule.js +1 -1
  138. package/src/bin/v2/modules/observabilityModule.js +1 -1
  139. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  140. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  141. package/src/bin/v2/modules/testhubModule.js +1 -1
  142. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  143. package/src/bin/v2/state/hookState.js +1 -1
  144. package/src/bin/v2/state/testFrameworkState.js +1 -1
  145. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  146. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  147. package/src/bin/v2/utils/jest-utils.js +1 -1
  148. package/src/bin/vanilla-js/command.js +1 -1
  149. package/src/browserStackSdk.js +1 -1
  150. package/src/helpers/BrowserStackSetup.js +1 -1
  151. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  152. package/src/helpers/accessibility-automation/constants.js +1 -1
  153. package/src/helpers/accessibility-automation/helper.js +1 -1
  154. package/src/helpers/accessibility-automation/scripts.js +1 -1
  155. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  156. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  157. package/src/helpers/ats/constants.js +1 -1
  158. package/src/helpers/ats/helper.js +1 -1
  159. package/src/helpers/caCertHelper.js +1 -1
  160. package/src/helpers/capsMapping.js +1 -1
  161. package/src/helpers/central-scanner/constants.js +1 -1
  162. package/src/helpers/central-scanner/helpers.js +1 -1
  163. package/src/helpers/classLogger.js +1 -1
  164. package/src/helpers/globals.js +1 -1
  165. package/src/helpers/helper.js +1 -1
  166. package/src/helpers/logger.js +1 -1
  167. package/src/helpers/metadata.js +1 -1
  168. package/src/helpers/patchHelper.js +1 -1
  169. package/src/helpers/patchHelpers.js +1 -1
  170. package/src/helpers/percy/Percy.js +1 -1
  171. package/src/helpers/percy/PercyBinary.js +1 -1
  172. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  173. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  174. package/src/helpers/percy/PercySDK.js +1 -1
  175. package/src/helpers/percy/index.js +1 -1
  176. package/src/helpers/percy/utils.js +1 -1
  177. package/src/helpers/performance/constants.js +1 -1
  178. package/src/helpers/performance/performance-tester.js +1 -1
  179. package/src/helpers/playwright-helper.js +1 -1
  180. package/src/helpers/processHelper.js +1 -1
  181. package/src/helpers/puppeteer-helper.js +1 -1
  182. package/src/helpers/request-spy.js +1 -1
  183. package/src/helpers/setKeepAlive.js +1 -1
  184. package/src/helpers/stackFrameUtils.js +1 -1
  185. package/src/helpers/test-observability/constants.js +1 -1
  186. package/src/helpers/test-observability/error-handler.js +1 -1
  187. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  188. package/src/helpers/test-observability/sessionHandler.js +1 -1
  189. package/src/helpers/test-observability/utils.js +1 -1
  190. package/src/helpers/test-orchestration/constants.js +1 -1
  191. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  192. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  193. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  194. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  195. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  196. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  197. package/src/helpers/testhub/constants.js +1 -1
  198. package/src/helpers/testhub/testhubHandler.js +1 -1
  199. package/src/helpers/testhub/utils.js +1 -1
  200. package/src/helpers/timeoutPromise.js +1 -1
  201. package/src/helpers/utilities.js +1 -1
  202. package/src/helpers/w3cMapping.js +1 -1
  203. package/src/hubAllocationMethods.js +1 -1
  204. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a47_0x21ab(){const _0xcd45fc=['885057UapNbn','performScan','browserContext.js','browserstack_executor:\x20','runner/dispatcher.js','Dlvcy','newPage','../../helpers/performance/constants','12739LPyvaz','split','TnVff','QMGHk','isRunning','uploadAttachment','annotate','../v2/browserstackCLI','measureWrapper','279MKfNSO','4|3|1|0|2','BROWSERSTACK_TEST_OBSERVABILITY','qigdk','KTwaP','../../helpers/logger','setCustomTags','2zsAkOn','XfKVo','getAccessibilityResults','mockContextNewPage','841750oXunJM','EZDip','yxiGw','mockIsWorkerRedundant','doo11ySync','__workerDetails','now','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iNMyN','1431132TlONOJ','getAccessibilityResultsSummary','Dispatcher','debug','PIhVd','541548AdGxIV','env','./accessibility-helper','AIcKT','qmaTK','getInstance','apply','EhzAy','14DTphVY','startA11yScanning','bstackA11yShouldScan','stopA11yScanning','aCaWT','prototype','util','pYzWw','aUnVg','uploadAttachments','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/accessibilityRetryHelper','lib','bstackA11yScanOptions','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','OQwor','RMxfd','BrowserContext','../../helpers/test-observability/error-handler','o11ySyncDone','Unable\x20to\x20import\x20context\x20for\x20page','pwPage','XzZst','uEIFA','format','210930rlfTGg','1226688zwGZPt','ObservabilitySync:','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','DSIBP','join','rMYvV'];a47_0x21ab=function(){return _0xcd45fc;};return a47_0x21ab();}function a47_0x1f9c(_0x89b3c2,_0x4ed525){const _0x21abaa=a47_0x21ab();return a47_0x1f9c=function(_0x1f9ccd,_0xf93230){_0x1f9ccd=_0x1f9ccd-0x6e;let _0x3d1676=_0x21abaa[_0x1f9ccd];return _0x3d1676;},a47_0x1f9c(_0x89b3c2,_0x4ed525);}const a47_0x1ff555=a47_0x1f9c;(function(_0x5150a4,_0x25b435){const _0x47f040=a47_0x1f9c,_0x3357fb=_0x5150a4();while(!![]){try{const _0x426144=-parseInt(_0x47f040(0x86))/0x1*(-parseInt(_0x47f040(0x96))/0x2)+parseInt(_0x47f040(0x7e))/0x3+parseInt(_0x47f040(0xa9))/0x4+-parseInt(_0x47f040(0x9a))/0x5+parseInt(_0x47f040(0xa4))/0x6+-parseInt(_0x47f040(0xb1))/0x7*(-parseInt(_0x47f040(0x78))/0x8)+-parseInt(_0x47f040(0x8f))/0x9*(parseInt(_0x47f040(0x77))/0xa);if(_0x426144===_0x25b435)break;else _0x3357fb['push'](_0x3357fb['shift']());}catch(_0x1a3b0a){_0x3357fb['push'](_0x3357fb['shift']());}}}(a47_0x21ab,0x288da));const path=require('path'),util=require(a47_0x1ff555(0xb7)),logger=require(a47_0x1ff555(0x94)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a47_0x1ff555(0xa1)),{o11yErrorHandler}=require(a47_0x1ff555(0x70)),AccessibilityHelper=require(a47_0x1ff555(0xab)),PerformanceTester=require(a47_0x1ff555(0xbb)),{O11y_EVENTS:PerformanceO11yEvents}=require(a47_0x1ff555(0x85)),BrowserstackCLI=require(a47_0x1ff555(0x8d)),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),{performScanWithRetry}=require(a47_0x1ff555(0xbc)),doo11ySync=PerformanceTester[a47_0x1ff555(0x8e)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x2501f7){const _0x19db98=a47_0x1ff555,_0x15363e={'yxiGw':function(_0x35f48e,_0x48e5bd,_0x4b2f33){return _0x35f48e(_0x48e5bd,_0x4b2f33);},'uEIFA':'__workerDetails','iNMyN':'o11ySyncDone','EhzAy':_0x19db98(0x8c),'XfKVo':_0x19db98(0xa7)};if(_0x15363e[_0x19db98(0x9c)](nestedKeyValue,global,[_0x15363e[_0x19db98(0x75)],_0x15363e[_0x19db98(0xa3)]]))return;await _0x2501f7['evaluate'](_0x42fa1e=>{},_0x19db98(0x81)+JSON['stringify']({'action':_0x15363e[_0x19db98(0xb0)],'arguments':{'data':_0x19db98(0x79)+Date[_0x19db98(0xa0)](),'level':_0x15363e[_0x19db98(0x97)]}})),global[_0x19db98(0x9f)][_0x19db98(0x71)]=!![];},a47_0x1ff555(0x9e)));exports[a47_0x1ff555(0x99)]=()=>{const _0x210fed=a47_0x1ff555,_0x373e8c={'ZxRiT':function(_0x2e09af,_0x2db8cb,_0x5838f3,_0x54270b,_0x1562e7,_0x5c873f){return _0x2e09af(_0x2db8cb,_0x5838f3,_0x54270b,_0x1562e7,_0x5c873f);},'qigdk':function(_0x1f6598,_0x268de0){return _0x1f6598||_0x268de0;},'NNLiC':function(_0x413fe7,_0x358a59){return _0x413fe7(_0x358a59);},'aCaWT':_0x210fed(0x90),'QMGHk':function(_0x5cfe5e,_0x11b95f,_0x4fe9a7){return _0x5cfe5e(_0x11b95f,_0x4fe9a7);},'EZDip':_0x210fed(0x9f),'Eatsf':_0x210fed(0xbd),'rMYvV':'client','TnVff':_0x210fed(0x80),'pYzWw':function(_0x435770,_0x1d703c){return _0x435770(_0x1d703c);},'OQwor':_0x210fed(0x72),'aUnVg':_0x210fed(0x84)},_0x32b8b1=path[_0x210fed(0x7c)](_0x373e8c['Eatsf'],_0x373e8c[_0x210fed(0x7d)],_0x373e8c[_0x210fed(0x88)]),_0x2de76c=_0x373e8c[_0x210fed(0xb8)](importFileFromPWCore,_0x32b8b1);if(!_0x2de76c){logger[_0x210fed(0xa7)](_0x373e8c[_0x210fed(0xc0)]);return;}const _0x161add=_0x2de76c[_0x210fed(0x6f)],_0x810702=_0x161add[_0x210fed(0xb6)],_0x894720=_0x810702[_0x210fed(0x84)];Object['defineProperty'](_0x810702,_0x373e8c[_0x210fed(0xb9)],{'get':function(){const _0x35aa84=_0x210fed,_0x5effe1={'Dlvcy':function(_0x40b841,_0x5083fa,_0x4882af,_0x3ae9a5,_0x52c8cb,_0x3de6cd){return _0x373e8c['ZxRiT'](_0x40b841,_0x5083fa,_0x4882af,_0x3ae9a5,_0x52c8cb,_0x3de6cd);},'DSIBP':function(_0x8edb9c,_0x3910fe){const _0x509603=a47_0x1f9c;return _0x373e8c[_0x509603(0x92)](_0x8edb9c,_0x3910fe);},'AIcKT':function(_0x2f5c25,_0x1e4534){return _0x373e8c['NNLiC'](_0x2f5c25,_0x1e4534);},'qmaTK':_0x373e8c[_0x35aa84(0xb5)],'FhpVV':function(_0x4d6784,_0x3f8d7c,_0x40654b){const _0x30085e=_0x35aa84;return _0x373e8c[_0x30085e(0x89)](_0x4d6784,_0x3f8d7c,_0x40654b);},'PIhVd':_0x373e8c[_0x35aa84(0x9b)]};return async function _0x4a1338(){const _0x24bb4=_0x35aa84,_0x2ae7bc=await _0x894720[_0x24bb4(0xaf)](this,arguments);try{!BrowserstackCLI[_0x24bb4(0xae)]()[_0x24bb4(0x8a)]()&&!_0x5effe1[_0x24bb4(0xac)](isFalse,process[_0x24bb4(0xaa)][_0x24bb4(0x91)])&&await _0x5effe1[_0x24bb4(0xac)](doo11ySync,_0x2ae7bc);BrowserstackCLI['getInstance']()[_0x24bb4(0x8a)]()&&(_0x2ae7bc['setCustomTags']=async(_0x1aa061,_0x47d07d,_0x18640a=![])=>{const _0x2cb265=_0x24bb4;await CustomTagManager[_0x2cb265(0x95)](_0x1aa061,_0x47d07d,_0x18640a);},_0x2ae7bc[_0x24bb4(0x8b)]=async(_0x25230c,_0x1cdfa5=![])=>{const _0x5c8de4=_0x24bb4;await uploadAttachmentsManager[_0x5c8de4(0xba)](_0x25230c,_0x1cdfa5);});if(!_0x5effe1['AIcKT'](isFalse,process[_0x24bb4(0xaa)][_0x24bb4(0xa2)])){const _0x4d5ed8=_0x5effe1[_0x24bb4(0xad)][_0x24bb4(0x87)]('|');let _0xafbd2a=0x0;while(!![]){switch(_0x4d5ed8[_0xafbd2a++]){case'0':_0x2ae7bc[_0x24bb4(0xb2)]=async _0x3d0422=>{const _0x113254=_0x24bb4;global[_0x113254(0xb3)]=!![],global[_0x113254(0xbe)]=_0x5effe1[_0x113254(0x7b)](_0x3d0422,null);};continue;case'1':_0x2ae7bc[_0x24bb4(0x7f)]=async _0x39c399=>{const _0x31d4a1=_0x24bb4;return await _0x5effe1[_0x31d4a1(0x83)](performScanWithRetry,_0x2ae7bc,null,null,!![],_0x39c399);};continue;case'2':_0x2ae7bc[_0x24bb4(0xb4)]=async()=>{const _0x1fac3d=_0x24bb4;global[_0x1fac3d(0xb3)]=![],global[_0x1fac3d(0xbe)]=null;};continue;case'3':_0x2ae7bc[_0x24bb4(0xa5)]=async()=>{const _0x1e5853=_0x24bb4;return await AccessibilityHelper[_0x1e5853(0xa5)](_0x2ae7bc);};continue;case'4':_0x2ae7bc[_0x24bb4(0x98)]=async()=>{const _0x2a25a8=_0x24bb4;return await AccessibilityHelper[_0x2a25a8(0x98)](_0x2ae7bc);};continue;}break;}}}catch(_0x56a393){logger['debug'](_0x24bb4(0x7a)+util[_0x24bb4(0x76)](_0x56a393));}return _0x5effe1['FhpVV'](nestedKeyValue,global,[_0x5effe1[_0x24bb4(0xa8)]])&&(global[_0x24bb4(0x9f)][_0x24bb4(0x73)]=_0x2ae7bc),_0x2ae7bc;};}});},exports[a47_0x1ff555(0x9d)]=()=>{const _0x416d78=a47_0x1ff555,_0x1f3477={'XzZst':function(_0x3d6416,_0x52c528){return _0x3d6416(_0x52c528);},'Epvqj':_0x416d78(0x82),'KTwaP':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','RMxfd':'_isWorkerRedundant'};try{const _0xb4b0d9=requirePWModule[_0x416d78(0xaf)](null,_0x1f3477[_0x416d78(0x74)](getPlaywrightLibPath,_0x1f3477['Epvqj']));if(!_0xb4b0d9){logger[_0x416d78(0xa7)](_0x1f3477[_0x416d78(0x93)]);return;}const _0x1ad427=_0xb4b0d9[_0x416d78(0xa6)],_0x2d1a11=_0x1ad427['prototype'],_0x2b99a0=_0x2d1a11['_isWorkerRedundant'];Object['defineProperty'](_0x2d1a11,_0x1f3477[_0x416d78(0x6e)],{'get':function(){return function _0x4d4128(){const _0x7e26f1=a47_0x1f9c;return _0x2b99a0[_0x7e26f1(0xaf)](this,arguments),!![];};}});}catch(_0x295c34){logger[_0x416d78(0xa7)](_0x416d78(0xbf)+util[_0x416d78(0x76)](_0x295c34));}};
1
+ const a47_0xe84421=a47_0x3a4d;function a47_0x3a4d(_0x1a6206,_0x52ade8){const _0x490ace=a47_0x490a();return a47_0x3a4d=function(_0x3a4daa,_0x356440){_0x3a4daa=_0x3a4daa-0x1a5;let _0x1c7caa=_0x490ace[_0x3a4daa];return _0x1c7caa;},a47_0x3a4d(_0x1a6206,_0x52ade8);}(function(_0xe13bd,_0x6f0b9){const _0x1f0913=a47_0x3a4d,_0x2483eb=_0xe13bd();while(!![]){try{const _0x32ffb4=parseInt(_0x1f0913(0x1d4))/0x1+-parseInt(_0x1f0913(0x1de))/0x2+-parseInt(_0x1f0913(0x1b3))/0x3+-parseInt(_0x1f0913(0x1dc))/0x4+-parseInt(_0x1f0913(0x1da))/0x5*(-parseInt(_0x1f0913(0x1cc))/0x6)+-parseInt(_0x1f0913(0x1ce))/0x7+parseInt(_0x1f0913(0x1c2))/0x8*(parseInt(_0x1f0913(0x1e4))/0x9);if(_0x32ffb4===_0x6f0b9)break;else _0x2483eb['push'](_0x2483eb['shift']());}catch(_0x59590e){_0x2483eb['push'](_0x2483eb['shift']());}}}(a47_0x490a,0xd3313));const path=require('path'),util=require(a47_0xe84421(0x1c1)),logger=require(a47_0xe84421(0x1cf)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),AccessibilityHelper=require(a47_0xe84421(0x1ac)),PerformanceTester=require(a47_0xe84421(0x1c9)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a47_0xe84421(0x1bb)),CustomTagManager=require(a47_0xe84421(0x1ca)),uploadAttachmentsManager=require(a47_0xe84421(0x1b8)),{performScanWithRetry}=require(a47_0xe84421(0x1a6)),doo11ySync=PerformanceTester[a47_0xe84421(0x1a5)](PerformanceO11yEvents[a47_0xe84421(0x1ae)],o11yErrorHandler(async function doo11ySync(_0x1815b8){const _0xe2528f=a47_0xe84421,_0x379152={'hoMnK':function(_0x545142,_0x45ade0,_0x3be5fb){return _0x545142(_0x45ade0,_0x3be5fb);},'wtDbC':'__workerDetails','lpnYM':_0xe2528f(0x1df),'bwKzf':'annotate','jspfw':_0xe2528f(0x1d0)};if(_0x379152['hoMnK'](nestedKeyValue,global,[_0x379152['wtDbC'],_0x379152[_0xe2528f(0x1b0)]]))return;await _0x1815b8[_0xe2528f(0x1c4)](_0x3a1471=>{},_0xe2528f(0x1c8)+JSON['stringify']({'action':_0x379152[_0xe2528f(0x1d3)],'arguments':{'data':'ObservabilitySync:'+Date['now'](),'level':_0x379152[_0xe2528f(0x1e8)]}})),global[_0xe2528f(0x1e0)]['o11ySyncDone']=!![];},'doo11ySync'));function a47_0x490a(){const _0x5db98c=['lib','qlIYf','kOsqo','./accessibility-helper','MrXZv','SYNC','format','lpnYM','hgbCd','kHhZq','2163864aaJrWX','uktUE','mockIsWorkerRedundant','IUQkE','newPage','../v2/uploadAttachmentsManager','env','getAccessibilityResults','../v2/browserstackCLI','uploadAttachments','performScan','BROWSERSTACK_TEST_OBSERVABILITY','runner/dispatcher.js','getInstance','util','88QrRJEc','getAccessibilityResultsSummary','evaluate','setCustomTags','jbWIX','_isWorkerRedundant','browserstack_executor:\x20','../../helpers/performance/performance-tester','../v2/customTagManager','prototype','6hPWnxx','odPbM','9689554acWTvV','../../helpers/logger','debug','mockContextNewPage','defineProperty','bwKzf','930450SXzeyU','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','ekxld','stopA11yScanning','EbBNQ','apply','7675055jPTNsY','Dispatcher','6180272esTbJb','plQnP','873462CpTwnv','o11ySyncDone','__workerDetails','GTDcs','yBsHJ','isRunning','2034729zCbamz','bstackA11yScanOptions','FUrYn','rusLp','jspfw','bstackA11yShouldScan','BrowserContext','measureWrapper','../../helpers/accessibility-automation/accessibilityRetryHelper','zBSDB','uploadAttachment'];a47_0x490a=function(){return _0x5db98c;};return a47_0x490a();}exports[a47_0xe84421(0x1d1)]=()=>{const _0x32a9b3=a47_0xe84421,_0x18f9a8={'yBsHJ':function(_0x4d76d6,_0x15dd4c,_0x91ebd8,_0x294e66,_0x2b1d80,_0x389019){return _0x4d76d6(_0x15dd4c,_0x91ebd8,_0x294e66,_0x2b1d80,_0x389019);},'MrXZv':function(_0x4ffd06,_0x3d1e01){return _0x4ffd06||_0x3d1e01;},'EbBNQ':function(_0x1a3a47,_0x2e9b00){return _0x1a3a47(_0x2e9b00);},'gGCpb':function(_0x218da7,_0x1e8fbc){return _0x218da7(_0x1e8fbc);},'qlIYf':'0|4|1|2|3','jbWIX':function(_0x56d9a2,_0x373290,_0x3289b9){return _0x56d9a2(_0x373290,_0x3289b9);},'StwwE':_0x32a9b3(0x1e0),'OXBEF':_0x32a9b3(0x1a9),'kOsqo':'client','hgbCd':'browserContext.js','LUBXT':function(_0x2cabb8,_0x1c13d7){return _0x2cabb8(_0x1c13d7);},'kHhZq':'Unable\x20to\x20import\x20context\x20for\x20page','ekxld':_0x32a9b3(0x1b7)},_0x1dfb00=path['join'](_0x18f9a8['OXBEF'],_0x18f9a8[_0x32a9b3(0x1ab)],_0x18f9a8[_0x32a9b3(0x1b1)]),_0xbec492=_0x18f9a8['LUBXT'](importFileFromPWCore,_0x1dfb00);if(!_0xbec492){logger[_0x32a9b3(0x1d0)](_0x18f9a8[_0x32a9b3(0x1b2)]);return;}const _0x4ac17c=_0xbec492[_0x32a9b3(0x1ea)],_0x1237ae=_0x4ac17c[_0x32a9b3(0x1cb)],_0x5f3538=_0x1237ae[_0x32a9b3(0x1b7)];Object[_0x32a9b3(0x1d2)](_0x1237ae,_0x18f9a8[_0x32a9b3(0x1d6)],{'get':function(){const _0x286a29=_0x32a9b3,_0xde8dad={'dusEj':function(_0x3272fd,_0x20c1bb,_0x4de2b6,_0x46c483,_0x10c3bc,_0x1bb2cb){const _0x160d1b=a47_0x3a4d;return _0x18f9a8[_0x160d1b(0x1e2)](_0x3272fd,_0x20c1bb,_0x4de2b6,_0x46c483,_0x10c3bc,_0x1bb2cb);},'zBSDB':function(_0x18f889,_0x591760){const _0x345973=a47_0x3a4d;return _0x18f9a8[_0x345973(0x1ad)](_0x18f889,_0x591760);},'plQnP':function(_0x408779,_0x12f2c1){const _0x184c0a=a47_0x3a4d;return _0x18f9a8[_0x184c0a(0x1d8)](_0x408779,_0x12f2c1);},'FUrYn':function(_0x8bb0d4,_0x13bee3){const _0x3d44f2=a47_0x3a4d;return _0x18f9a8[_0x3d44f2(0x1d8)](_0x8bb0d4,_0x13bee3);},'IUQkE':function(_0x4a22e1,_0x2d3101){return _0x18f9a8['gGCpb'](_0x4a22e1,_0x2d3101);},'uktUE':_0x18f9a8[_0x286a29(0x1aa)],'odPbM':function(_0x5e7a92,_0x227253,_0x5a6ad6){const _0x496bce=_0x286a29;return _0x18f9a8[_0x496bce(0x1c6)](_0x5e7a92,_0x227253,_0x5a6ad6);},'rusLp':_0x18f9a8['StwwE']};return async function _0x405c1f(){const _0x448b11=_0x286a29,_0x577e36={'BheAl':function(_0x37a52a,_0x4e03db,_0x17d1b8,_0x269d72,_0x4417de,_0x46e048){return _0xde8dad['dusEj'](_0x37a52a,_0x4e03db,_0x17d1b8,_0x269d72,_0x4417de,_0x46e048);},'GTDcs':function(_0x4351b1,_0x2f7335){const _0x4e5590=a47_0x3a4d;return _0xde8dad[_0x4e5590(0x1a7)](_0x4351b1,_0x2f7335);}},_0x25cdcc=await _0x5f3538[_0x448b11(0x1d9)](this,arguments);try{!BrowserstackCLI['getInstance']()[_0x448b11(0x1e3)]()&&!_0xde8dad[_0x448b11(0x1dd)](isFalse,process[_0x448b11(0x1b9)][_0x448b11(0x1be)])&&await _0xde8dad[_0x448b11(0x1e6)](doo11ySync,_0x25cdcc);BrowserstackCLI[_0x448b11(0x1c0)]()[_0x448b11(0x1e3)]()&&(_0x25cdcc[_0x448b11(0x1c5)]=async(_0x53f15c,_0x50567d,_0xba14f7=![])=>{const _0x117ac2=_0x448b11;await CustomTagManager[_0x117ac2(0x1c5)](_0x53f15c,_0x50567d,_0xba14f7);},_0x25cdcc[_0x448b11(0x1a8)]=async(_0x3ff1f1,_0x1fe0f1=![])=>{const _0x4d9b19=_0x448b11;await uploadAttachmentsManager[_0x4d9b19(0x1bc)](_0x3ff1f1,_0x1fe0f1);});if(!_0xde8dad[_0x448b11(0x1b6)](isFalse,process[_0x448b11(0x1b9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])){const _0xbee885=_0xde8dad[_0x448b11(0x1b4)]['split']('|');let _0x20fcb2=0x0;while(!![]){switch(_0xbee885[_0x20fcb2++]){case'0':_0x25cdcc[_0x448b11(0x1ba)]=async()=>{const _0x1650dc=_0x448b11;return await AccessibilityHelper[_0x1650dc(0x1ba)](_0x25cdcc);};continue;case'1':_0x25cdcc[_0x448b11(0x1bd)]=async _0x31fb96=>{return await _0x577e36['BheAl'](performScanWithRetry,_0x25cdcc,null,null,!![],_0x31fb96);};continue;case'2':_0x25cdcc['startA11yScanning']=async _0x536d5b=>{const _0x79cd60=_0x448b11;global[_0x79cd60(0x1e9)]=!![],global[_0x79cd60(0x1e5)]=_0x577e36[_0x79cd60(0x1e1)](_0x536d5b,null);};continue;case'3':_0x25cdcc[_0x448b11(0x1d7)]=async()=>{const _0x30f777=_0x448b11;global[_0x30f777(0x1e9)]=![],global['bstackA11yScanOptions']=null;};continue;case'4':_0x25cdcc[_0x448b11(0x1c3)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x25cdcc);};continue;}break;}}}catch(_0x1220cb){logger[_0x448b11(0x1d0)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x448b11(0x1af)](_0x1220cb));}return _0xde8dad[_0x448b11(0x1cd)](nestedKeyValue,global,[_0xde8dad[_0x448b11(0x1e7)]])&&(global[_0x448b11(0x1e0)]['pwPage']=_0x25cdcc),_0x25cdcc;};}});},exports[a47_0xe84421(0x1b5)]=()=>{const _0x38d0ca=a47_0xe84421,_0x5587df={'YAeZn':function(_0x5a93a2,_0x2b336e){return _0x5a93a2(_0x2b336e);},'IKXil':_0x38d0ca(0x1bf),'RahyC':_0x38d0ca(0x1d5),'WmckK':'_isWorkerRedundant'};try{const _0x593cea=requirePWModule['apply'](null,_0x5587df['YAeZn'](getPlaywrightLibPath,_0x5587df['IKXil']));if(!_0x593cea){logger[_0x38d0ca(0x1d0)](_0x5587df['RahyC']);return;}const _0xb9d3e=_0x593cea[_0x38d0ca(0x1db)],_0x643348=_0xb9d3e[_0x38d0ca(0x1cb)],_0x2b50af=_0x643348[_0x38d0ca(0x1c7)];Object[_0x38d0ca(0x1d2)](_0x643348,_0x5587df['WmckK'],{'get':function(){return function _0x13c0b4(){const _0x4b05cd=a47_0x3a4d;return _0x2b50af[_0x4b05cd(0x1d9)](this,arguments),!![];};}});}catch(_0x536545){logger[_0x38d0ca(0x1d0)]('Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20'+util[_0x38d0ca(0x1af)](_0x536545));}};
@@ -1 +1 @@
1
- const a48_0x1fc595=a48_0x3bf0;(function(_0x45e99e,_0x5b9264){const _0x385371=a48_0x3bf0,_0x890c2f=_0x45e99e();while(!![]){try{const _0x21dc85=-parseInt(_0x385371(0x24e))/0x1+parseInt(_0x385371(0x219))/0x2*(parseInt(_0x385371(0x25a))/0x3)+-parseInt(_0x385371(0x251))/0x4*(-parseInt(_0x385371(0x247))/0x5)+parseInt(_0x385371(0x289))/0x6*(-parseInt(_0x385371(0x1ee))/0x7)+parseInt(_0x385371(0x281))/0x8+parseInt(_0x385371(0x24f))/0x9*(-parseInt(_0x385371(0x1fc))/0xa)+parseInt(_0x385371(0x1ed))/0xb;if(_0x21dc85===_0x5b9264)break;else _0x890c2f['push'](_0x890c2f['shift']());}catch(_0x461052){_0x890c2f['push'](_0x890c2f['shift']());}}}(a48_0x36c5,0xa28b3));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a48_0x1fc595(0x201)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a48_0x1fc595(0x1e4)),helper=require(a48_0x1fc595(0x1e6)),path=require(a48_0x1fc595(0x256)),logger=require(a48_0x1fc595(0x246))[a48_0x1fc595(0x231)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a48_0x1fc595(0x274)),util=require('util'),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0xdcf9e6=a48_0x1fc595,_0x5f34c1={'zlUsG':function(_0x5e14ab,_0x59b798){return _0x5e14ab(_0x59b798);},'RyOan':_0xdcf9e6(0x206)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x5f34c1[_0xdcf9e6(0x263)](require,_0x5f34c1[_0xdcf9e6(0x1f4)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x2c77b6=>{const _0x187ee4=a48_0x1fc595;return _0x2c77b6[_0x187ee4(0x238)](/@(\w+)/g)?.[_0x187ee4(0x27d)](_0x4b9cfb=>_0x4b9cfb['slice'](0x1))||[];};exports['getTestTags']=_0x830334=>{const _0x58fc37=a48_0x1fc595,_0x36dac4={'PTeCM':function(_0x4cb793,_0x21b9c2){return _0x4cb793(_0x21b9c2);}};if(_0x830334[_0x58fc37(0x283)])return _0x830334[_0x58fc37(0x283)][_0x58fc37(0x27d)](_0x315aa2=>_0x315aa2[_0x58fc37(0x1e8)]('@')?_0x315aa2[_0x58fc37(0x22a)](0x1):_0x315aa2);return _0x36dac4[_0x58fc37(0x27a)](getTagsFromTitle,_0x830334[_0x58fc37(0x203)]);},exports[a48_0x1fc595(0x1eb)]=async()=>{const _0x51d443=a48_0x1fc595,_0x3aa486={'wfTRC':function(_0x4988c3,_0x5a2c5b){return _0x4988c3-_0x5a2c5b;},'ZysRP':_0x51d443(0x223),'wLJRe':_0x51d443(0x1fa),'vhTjT':'endSession','qMZGs':_0x51d443(0x23f),'hUiVY':'onTestEnd','scveB':_0x51d443(0x24a),'HdHSX':'onStepEnd','BdEtW':_0x51d443(0x1fb),'lxMrA':_0x51d443(0x215),'BXtVw':_0x51d443(0x266),'tscnT':_0x51d443(0x213),'uoYac':_0x51d443(0x267),'UQKtR':_0x51d443(0x235),'BzTCy':_0x51d443(0x239),'YnYfN':_0x51d443(0x222),'MGOFi':'requestSpyCallback','RQDPU':_0x51d443(0x28c),'OcHbp':function(_0x4a4274,_0x2b573c){return _0x4a4274(_0x2b573c);},'VWzUs':function(_0x2f300e,_0x5c34f8){return _0x2f300e/_0x5c34f8;},'UkSku':function(_0x40a17c,_0x2e65d6){return _0x40a17c(_0x2e65d6);},'cZhLk':function(_0x2390eb,_0x46f5ee){return _0x2390eb+_0x46f5ee;},'zNqyF':function(_0x492ea2,_0x1b7b33){return _0x492ea2(_0x1b7b33);},'vlXws':function(_0x1dbcb,_0x2c4b3d){return _0x1dbcb*_0x2c4b3d;},'zrbji':function(_0x78a3fa,_0x26a9b8){return _0x78a3fa+_0x26a9b8;}};if(!process[_0x51d443(0x23e)]['START_TIME'])return;const _0xac81aa=_0x3aa486[_0x51d443(0x259)](new Date()[_0x51d443(0x25f)](),new Date(process[_0x51d443(0x23e)][_0x51d443(0x1e1)])[_0x51d443(0x25f)]()),_0x26a5d7=await PerformanceTester[_0x51d443(0x288)](_0x3aa486['ZysRP'],[_0x3aa486['wLJRe'],_0x3aa486[_0x51d443(0x209)],_0x3aa486[_0x51d443(0x204)],_0x3aa486[_0x51d443(0x285)],_0x3aa486['scveB'],_0x3aa486[_0x51d443(0x26d)]]),_0x3e6b4c=fs[_0x51d443(0x262)]('.'),_0xe2011e=_0x3e6b4c[_0x51d443(0x236)](_0x14a1e7=>_0x14a1e7[_0x51d443(0x1e8)](_0x51d443(0x1f8))&&_0x14a1e7['endsWith'](_0x51d443(0x1fd))),_0x25af58=await PerformanceTester[_0x51d443(0x23b)](_0xe2011e,[_0x3aa486[_0x51d443(0x277)],_0x3aa486['lxMrA'],_0x3aa486[_0x51d443(0x229)],_0x3aa486[_0x51d443(0x233)],_0x3aa486[_0x51d443(0x225)],_0x3aa486[_0x51d443(0x22e)],_0x3aa486[_0x51d443(0x202)],_0x3aa486['YnYfN'],_0x3aa486[_0x51d443(0x20d)],_0x3aa486[_0x51d443(0x20f)]]);_0x3aa486[_0x51d443(0x210)](debug,_0x51d443(0x265)+_0x3aa486[_0x51d443(0x237)](_0xac81aa,0x3e8)+'\x20s'),_0x3aa486[_0x51d443(0x273)](debug,_0x51d443(0x24d)+_0x3aa486[_0x51d443(0x278)](_0x25af58,_0x26a5d7)),_0x3aa486['zNqyF'](debug,_0x51d443(0x272)+_0x3aa486['vlXws'](_0x3aa486[_0x51d443(0x237)](_0x3aa486['zrbji'](_0x25af58,_0x26a5d7),_0xac81aa),0x64));},exports[a48_0x1fc595(0x230)]=()=>{const _0xfa528=a48_0x1fc595,_0x441b03={'vscCj':function(_0x3cc5a6,_0x119f95){return _0x3cc5a6(_0x119f95);},'fUFuc':function(_0x1d4ffd,_0xb0a72c){return _0x1d4ffd>=_0xb0a72c;},'jKbOg':_0xfa528(0x200),'TVCXw':_0xfa528(0x21f),'fSDLj':_0xfa528(0x245),'bQlsU':function(_0x2eea40,_0x1aaf75){return _0x2eea40>=_0x1aaf75;},'VxzWE':_0xfa528(0x24b),'AYgAR':_0xfa528(0x21a),'XOXeT':_0xfa528(0x211),'dNyxM':_0xfa528(0x221)},_0xacb9fa=_0x441b03[_0xfa528(0x227)](getFrameworkVersion,FRAMEWORKS[_0xfa528(0x1e0)]);if(_0x441b03['fUFuc'](helper[_0xfa528(0x258)](_0xacb9fa,_0x441b03[_0xfa528(0x1ef)]),0x0))return[_0x441b03[_0xfa528(0x21b)],_0x441b03[_0xfa528(0x252)]];if(_0x441b03[_0xfa528(0x1ea)](helper[_0xfa528(0x258)](_0xacb9fa,_0x441b03[_0xfa528(0x268)]),0x0))return[_0x441b03[_0xfa528(0x22d)],_0x441b03['XOXeT']];return[_0x441b03[_0xfa528(0x27b)],_0x441b03[_0xfa528(0x25b)]];},exports[a48_0x1fc595(0x1f9)]=()=>{const _0x5ed825=a48_0x1fc595,_0x1a1a35={'oQzzw':function(_0x2a999f,_0x310744){return _0x2a999f(_0x310744);},'vSesx':function(_0x26c566,_0x20ef90){return _0x26c566>=_0x20ef90;},'GJUjO':_0x5ed825(0x200),'gTdOv':_0x5ed825(0x254),'FKBEu':'playwright','cBIMS':_0x5ed825(0x22c),'OnSdx':_0x5ed825(0x211)},_0x52d79c=_0x1a1a35[_0x5ed825(0x287)](getFrameworkVersion,FRAMEWORKS[_0x5ed825(0x1e0)]);if(_0x1a1a35[_0x5ed825(0x260)](helper[_0x5ed825(0x258)](_0x52d79c,_0x1a1a35['GJUjO']),0x0))return[_0x1a1a35['gTdOv'],_0x1a1a35[_0x5ed825(0x276)]];return[_0x1a1a35[_0x5ed825(0x27c)],_0x1a1a35[_0x5ed825(0x20c)]];},exports['getLoadUtilsPath']=()=>{const _0x52f781=a48_0x1fc595,_0x54d2ba={};_0x54d2ba['PVEPh']=_0x52f781(0x264);const _0x4cb9b5=_0x54d2ba;return helper['getPlaywrightLibPath'](_0x4cb9b5[_0x52f781(0x248)]);},exports[a48_0x1fc595(0x1e9)]=()=>{const _0x5f3e6=a48_0x1fc595,_0x344f69={};_0x344f69[_0x5f3e6(0x26b)]=_0x5f3e6(0x1ec);const _0x30d4ad=_0x344f69;return helper[_0x5f3e6(0x1e5)](_0x30d4ad[_0x5f3e6(0x26b)]);},exports[a48_0x1fc595(0x241)]=()=>{const _0x2bd320=a48_0x1fc595,_0x2f02a2={'yzysm':function(_0x255fc7,_0x565797){return _0x255fc7(_0x565797);},'HWslF':function(_0x44c77b,_0x423ff3){return _0x44c77b>=_0x423ff3;},'GvWss':_0x2bd320(0x200),'GCJzK':'lib','pkrPw':_0x2bd320(0x275),'LxwWE':_0x2bd320(0x20a),'LKcdP':_0x2bd320(0x217)},_0x2c0e96=_0x2f02a2[_0x2bd320(0x269)](getFrameworkVersion,FRAMEWORKS[_0x2bd320(0x1e0)]);if(_0x2f02a2['HWslF'](helper[_0x2bd320(0x258)](_0x2c0e96,_0x2f02a2[_0x2bd320(0x212)]),0x0))return path[_0x2bd320(0x232)](_0x2f02a2['GCJzK'],_0x2f02a2['pkrPw'],_0x2f02a2['LxwWE']);return path[_0x2bd320(0x232)](_0x2f02a2[_0x2bd320(0x24c)],_0x2f02a2['GCJzK'],_0x2f02a2[_0x2bd320(0x23c)],_0x2f02a2['LxwWE']);},exports[a48_0x1fc595(0x271)]=(_0x4be596,{test_run_uuid:_0x106a56})=>{const _0x5b1902=a48_0x1fc595,_0x243299={'NWavk':_0x5b1902(0x208),'qNuFC':_0x5b1902(0x1de),'IMuxV':function(_0x5736b0,_0x227eb5){return _0x5736b0<=_0x227eb5;},'EvzoI':function(_0x49c19c,_0x3ca65c){return _0x49c19c(_0x3ca65c);},'hLbEr':_0x5b1902(0x279),'teIVi':function(_0x4b6306,_0x5a37cd){return _0x4b6306(_0x5a37cd);},'tHXjw':function(_0x204fa5,_0x5177ef){return _0x204fa5>=_0x5177ef;},'NvEMF':'1.42.0','FTURa':function(_0x5151f1,_0x1e38f9){return _0x5151f1>_0x1e38f9;},'LXjiR':function(_0x8445cc,_0x115dc1,_0x395937){return _0x8445cc(_0x115dc1,_0x395937);},'knVEN':_0x5b1902(0x217)};if(!_0x4be596||_0x243299['IMuxV'](_0x4be596['length'],0x0))return[];const _0xe7d700=_0x243299['EvzoI'](removeAnsiColors,_0x4be596[0x0][_0x5b1902(0x27f)]);if(_0xe7d700[_0x5b1902(0x1e8)](_0x243299[_0x5b1902(0x20e)])){const _0x3b68cd=_0x4be596[0x0],_0x166df0=_0x243299[_0x5b1902(0x27e)](getFrameworkVersion,FRAMEWORKS[_0x5b1902(0x1e0)]);if((!_0x3b68cd[_0x5b1902(0x25d)]||_0x243299[_0x5b1902(0x228)](_0x166df0,_0x243299['NvEMF']))&&_0x243299[_0x5b1902(0x249)](_0x4be596[_0x5b1902(0x21d)],0x1))return{'failureData':[{'backtrace':[_0xe7d700,_0x243299[_0x5b1902(0x1f2)](removeAnsiColors,_0x4be596[0x1][_0x5b1902(0x25d)])]}],'logs':_0x4be596[_0x5b1902(0x28a)](0x2)[_0x5b1902(0x27d)](_0x13afce=>{const _0x197db5=_0x5b1902;return{'timestamp':new Date()['toISOString'](),'level':_0x243299[_0x197db5(0x1f3)],'message':''+_0x13afce[_0x197db5(0x27f)],'kind':_0x243299[_0x197db5(0x21c)],'http_response':{},'test_run_uuid':_0x106a56};})};}return{'failureData':_0x243299[_0x5b1902(0x26c)](failureData,_0x4be596,_0x243299[_0x5b1902(0x280)]),'logs':[]};},exports[a48_0x1fc595(0x240)]=_0x11cbd3=>{const _0x303bcd=a48_0x1fc595,_0x31fd55={};_0x31fd55['gDqJD']=function(_0x1ebc5d,_0x36ff0a){return _0x1ebc5d!==_0x36ff0a;},_0x31fd55[_0x303bcd(0x1f7)]=_0x303bcd(0x243),_0x31fd55['ZrKru']=function(_0x35f287,_0xce491b){return _0x35f287>_0xce491b;};const _0x33f18b=_0x31fd55;if(_0x11cbd3&&fs[_0x303bcd(0x253)](_0x11cbd3)){if(_0x33f18b[_0x303bcd(0x23d)](path[_0x303bcd(0x1e7)](_0x11cbd3)[_0x303bcd(0x261)](),_0x33f18b[_0x303bcd(0x1f7)]))return logger['error'](_0x303bcd(0x1f0)+_0x11cbd3),![];const _0x4c56b1=fs['statSync'](_0x11cbd3)[_0x303bcd(0x28b)];if(_0x33f18b['ZrKru'](_0x4c56b1,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x303bcd(0x220)+_0x4c56b1+'\x20bytes'),![];return!![];}return![];},exports[a48_0x1fc595(0x20b)]=(_0x3ace8c,_0x102fd3)=>{const _0x49bea5=a48_0x1fc595,_0xda5d29={};_0xda5d29[_0x49bea5(0x26a)]=_0x49bea5(0x22f);const _0x470717=_0xda5d29;logger[_0x49bea5(0x1f6)](_0x49bea5(0x1f5)+_0x102fd3);if(_0x3ace8c&&_0x3ace8c['attachments']){const _0x3781e0=_0x3ace8c['attachments']['find'](_0x3b219f=>_0x3b219f['name']===_0x49bea5(0x282));if(_0x3781e0)return logger[_0x49bea5(0x1f6)](_0x49bea5(0x226)+_0x102fd3+_0x49bea5(0x250)),_0x3781e0[_0x102fd3];}else{if(_0x3ace8c&&Object[_0x49bea5(0x214)][_0x49bea5(0x1fe)][_0x49bea5(0x244)](_0x3ace8c)[_0x49bea5(0x218)](_0x470717['fsasU']))for(const _0x5b5771 of _0x3ace8c){if(_0x5b5771[_0x102fd3])return logger['debug'](_0x49bea5(0x226)+_0x102fd3+'\x20in\x20arguments'),_0x5b5771[_0x102fd3];}};return'';},exports['uploadTraceZip']=async(_0x31b387,_0x48087b)=>{const _0x2e0f87=a48_0x1fc595,_0x31da67={};_0x31da67[_0x2e0f87(0x25e)]='LogCreated',_0x31da67[_0x2e0f87(0x1f1)]='TEST_ATTACHMENT',_0x31da67[_0x2e0f87(0x242)]=_0x2e0f87(0x216),_0x31da67[_0x2e0f87(0x26f)]=_0x2e0f87(0x26e);const _0x5aee71=_0x31da67;try{const _0x375898={'event_type':_0x5aee71[_0x2e0f87(0x25e)],'logs':[{'data':_0x31b387?fs['createReadStream'](_0x31b387):'','test_run_uuid':_0x48087b,'kind':_0x5aee71['ONHaR'],'fileName':_0x31b387?path[_0x2e0f87(0x1df)](_0x31b387):''}]};return await SessionHandler[_0x2e0f87(0x1ff)](_0x375898,0x0,_0x5aee71[_0x2e0f87(0x242)]);}catch(_0x381acd){logger['error'](util[_0x2e0f87(0x286)](_0x5aee71['Ofkjt'],_0x381acd));}},exports[a48_0x1fc595(0x216)]=async(_0x331e7f,_0x4f258a)=>{const _0x2a9d7c=a48_0x1fc595,_0x1f1ef1={'pSIrK':_0x2a9d7c(0x256),'vlSpw':_0x2a9d7c(0x1e3),'Wzlqq':function(_0x5300a5){return _0x5300a5();},'rzYXf':_0x2a9d7c(0x26e)};try{logger['debug'](_0x2a9d7c(0x21e)+_0x4f258a);let _0x2e52c3=await exports[_0x2a9d7c(0x20b)](_0x331e7f,_0x1f1ef1[_0x2a9d7c(0x207)]);if(exports[_0x2a9d7c(0x240)](_0x2e52c3)){logger[_0x2a9d7c(0x1f6)](_0x1f1ef1['vlSpw']),_0x2e52c3=path[_0x2a9d7c(0x257)](_0x2e52c3);const _0x3db7e8={};_0x3db7e8[_0x2a9d7c(0x284)]=_0x4f258a,_0x3db7e8[_0x2a9d7c(0x205)]=_0x2e52c3;const _0x55f881=_0x3db7e8;_0x1f1ef1[_0x2a9d7c(0x1e2)](getBrowserstackCLI)['getInstance']()['isRunning']()?TestInfo[_0x2a9d7c(0x23a)](_0x55f881):TestDetails[_0x2a9d7c(0x23a)](_0x55f881);};}catch(_0x35c251){logger['error'](util[_0x2a9d7c(0x286)](_0x1f1ef1['rzYXf'],_0x35c251));}},exports[a48_0x1fc595(0x224)]=_0x48ad3d=>{const _0x4944db=a48_0x1fc595,_0x4118de={};_0x4118de[_0x4944db(0x234)]=function(_0x2af6f5,_0x3b5793){return _0x2af6f5+_0x3b5793;};const _0x13bbb2=_0x4118de;return _0x13bbb2[_0x4944db(0x234)](_0x13bbb2[_0x4944db(0x234)](_0x48ad3d[_0x4944db(0x25c)],'-'),_0x48ad3d['id']);},exports[a48_0x1fc595(0x22b)]=(_0x57ceca,_0x61de06)=>{const _0x13090f=a48_0x1fc595,_0x5dfb18={};_0x5dfb18[_0x13090f(0x270)]=function(_0x450fe6,_0x926ca1){return _0x450fe6+_0x926ca1;},_0x5dfb18[_0x13090f(0x255)]=function(_0xccbf3d,_0x193b38){return _0xccbf3d+_0x193b38;};const _0x267e4e=_0x5dfb18;return _0x267e4e['sBxZk'](_0x267e4e[_0x13090f(0x255)](_0x57ceca['id'],'-'),_0x61de06);};function a48_0x3bf0(_0x59befe,_0x47885d){const _0x36c5c4=a48_0x36c5();return a48_0x3bf0=function(_0x3bf05a,_0x513e33){_0x3bf05a=_0x3bf05a-0x1de;let _0x4cbaaa=_0x36c5c4[_0x3bf05a];return _0x4cbaaa;},a48_0x3bf0(_0x59befe,_0x47885d);}function a48_0x36c5(){const _0x118a78=['doo11ySync','VxzWE','yzysm','fsasU','yiHzl','LXjiR','HdHSX','Error\x20in\x20sending\x20trace\x20file:\x20%s','Ofkjt','sBxZk','getFailureData','Percentage\x20of\x20increased\x20time\x20is\x20','UkSku','./test-details','common','FKBEu','BdEtW','cZhLk','Test\x20timeout\x20of','PTeCM','dNyxM','cBIMS','map','teIVi','message','knVEN','6991216yPUwBD','trace','tags','testUId','hUiVY','format','oQzzw','stopAndGenerate','4734bvvDwq','slice','size','sendTestLog','TEST_LOG','basename','PLAYWRIGHT','START_TIME','Wzlqq','Trace\x20enabled','../../../helpers/test-observability/constants','getPlaywrightLibPath','../../../helpers/helper','extname','startsWith','getProjectUtilsPath','bQlsU','calculatePerformance','runner/projectUtils.js','8368074UjgxOK','10493VOgpgm','jKbOg','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','ONHaR','EvzoI','NWavk','RyOan','Searching\x20for\x20key:\x20','debug','gaVWx','performance-report-worker-','getConfigLoaderPath','onBegin','beforeWorkerHook','90mfnvxb','.json','toString','sendEventData','1.38.0','../../../helpers/performance/performance-tester','BzTCy','title','qMZGs','filePath','../../v2/browserstackCLI','pSIrK','ERROR','vhTjT','process.js','findNestedKey','OnSdx','MGOFi','hLbEr','RQDPU','OcHbp','@playwright/test','GvWss','afterTestHook','prototype','afterWorkerHook','sendTraceZip','test','includes','2PeUSPt','@playwright/test/lib/transform/transform.js','TVCXw','qNuFC','length','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','playwright/lib/transform/transform.js','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','@playwright/test/lib/common/transform.js','setupBrowserDetails','performance-reporter.html','getTestIdentifier','uoYac','Found\x20key:\x20','vscCj','tHXjw','BXtVw','substr','getTestRunIdentifier','@playwright/test/lib/common/configLoader.js','AYgAR','UQKtR','Arguments','getTransformPath','winstonLogger','join','tscnT','TsdLs','processPageScreenshot','filter','VWzUs','match','sendSessionDetails','addTraceFilePath','calculateTimesFromMultipleFiles','pkrPw','gDqJD','env','onTestBegin','validateFilePath','getForkProcessPath','zGdGb','.zip','call','playwright','../../../helpers/logger','95AMysEe','PVEPh','FTURa','onStepBegin','1.35.0','LKcdP','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','1143432jmgpCT','937989VjbVSF','\x20in\x20attachments','235304ffeBJZ','fSDLj','existsSync','playwright/lib/common/configLoader.js','RvpaV','path','resolve','compareVersions','wfTRC','3532743ZjvSaH','XOXeT','_projectId','stack','RZfmy','getTime','vSesx','toLowerCase','readdirSync','zlUsG','runner/loadUtils.js','Total\x20duration\x20for\x20whole\x20build\x20is\x20','beforeTestHook'];a48_0x36c5=function(){return _0x118a78;};return a48_0x36c5();}
1
+ const a48_0x2800f6=a48_0x4793;(function(_0x55262a,_0x3095d0){const _0x2cfcfb=a48_0x4793,_0x177554=_0x55262a();while(!![]){try{const _0x5a4710=-parseInt(_0x2cfcfb(0x1bc))/0x1+-parseInt(_0x2cfcfb(0x223))/0x2+parseInt(_0x2cfcfb(0x227))/0x3*(-parseInt(_0x2cfcfb(0x220))/0x4)+parseInt(_0x2cfcfb(0x1f9))/0x5+parseInt(_0x2cfcfb(0x181))/0x6+-parseInt(_0x2cfcfb(0x1b4))/0x7+parseInt(_0x2cfcfb(0x20e))/0x8*(-parseInt(_0x2cfcfb(0x196))/0x9);if(_0x5a4710===_0x3095d0)break;else _0x177554['push'](_0x177554['shift']());}catch(_0x3bd9bc){_0x177554['push'](_0x177554['shift']());}}}(a48_0x15ec,0x26215));function a48_0x15ec(){const _0x460cba=['.zip','Aacsq','bdCFr','bcsLf','getLoadUtilsPath','onBegin','attachments','Total\x20duration\x20for\x20whole\x20build\x20is\x20','getTestIdentifier','bWGMd','sendSessionDetails','path','prototype','setupBrowserDetails','message','@playwright/test/lib/common/configLoader.js','Found\x20key:\x20','runner/loadUtils.js','\x20in\x20attachments','trace','mLnLv','bGejq','util','ftMua','xhObk','map','YkAqB','Trace\x20enabled','1.42.0','LTgEg','../../../helpers/helper','xbbNQ','@playwright/test/lib/transform/transform.js','VRodN','getTestTags','sendEventData','MSNBY','nMtJe','Nkolo','getProjectUtilsPath','1492320idAJji','process.js','mrxCD','eCvsA','calculatePerformance','statSync','derdK','1.35.0','Test\x20timeout\x20of','NWlaI','env','common','compareVersions','stack','beforeTestHook','SBBGi','BEsKm','substr','doo11ySync','_projectId','\x20in\x20arguments','168Wpwflq','UFgll','performance-reporter.html','START_TIME','createReadStream','getPlaywrightLibPath','Error\x20in\x20sending\x20trace\x20file:\x20%s','rbgek','../../../helpers/logger','@playwright/test/lib/common/transform.js','@playwright/test','match','dbTlF','filter','JSyOC','kEmRY','findNestedKey','uRngX','17356SUdgwm','cmNxH','kNKuS','122660polAXt','format','PLAYWRIGHT','gieRn','42ACBoTZ','getTime','onStepBegin','VILJo','HqLHU','vydtL','PtRFL','endSession','debug','Arguments','onStepEnd','1122576mPKfaz','lib','getForkProcessPath','isRunning','winstonLogger','error','uHEYD','test','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','length','UyzgA','hhzrW','addTraceFilePath','QpDGO','sendTestLog','tEkJa','toISOString','.json','TvUUi','kjiht','WELXz','1917YLmWgx','playwright/lib/transform/transform.js','MmWEW','../../v2/TestInfo','bUlie','title','runner/projectUtils.js','../../../helpers/test-observability/sessionHandler','LogCreated','JZJUp','onTestBegin','getTransformPath','endsWith','join','mGqtK','uploadTraceZip','XNKqs','KzXCN','validateFilePath','1.38.0','resolve','startsWith','call','qwnRE','GWtnB','\x20bytes','XwWWA','../../../helpers/test-observability/constants','tags','HGkYv','479094XKtkpx','fMfFp','bMgxR','calculateTimesFromMultipleFiles','nAQcg','../../../helpers/performance/performance-tester','SVVod','onTestEnd','134388DzhDud','FuEzS','./test-details','fXmWf','dkvtQ','includes','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','sendTraceZip','playwright','gPQFK','filePath','slice','getInstance','find','afterTestHook','jVohi','stopAndGenerate','INjNA','playwright/lib/common/configLoader.js','mfNCk','cvsLM'];a48_0x15ec=function(){return _0x460cba;};return a48_0x15ec();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a48_0x2800f6(0x1b9)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a48_0x2800f6(0x1b1)),helper=require(a48_0x2800f6(0x1ef)),path=require('path'),logger=require(a48_0x2800f6(0x216))[a48_0x2800f6(0x185)],SessionHandler=require(a48_0x2800f6(0x19d)),TestDetails=require(a48_0x2800f6(0x1be)),util=require(a48_0x2800f6(0x1e7)),TestInfo=require(a48_0x2800f6(0x199));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x30baba=a48_0x2800f6,_0x32a623={'ftMua':function(_0x180e39,_0x153e04){return _0x180e39(_0x153e04);},'NKwYq':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x32a623[_0x30baba(0x1e8)](require,_0x32a623['NKwYq'])),BrowserstackCLIInstance;}function a48_0x4793(_0x14d2b3,_0x5884f3){const _0x15ecb7=a48_0x15ec();return a48_0x4793=function(_0x4793d3,_0x31042e){_0x4793d3=_0x4793d3-0x17e;let _0x367f43=_0x15ecb7[_0x4793d3];return _0x367f43;},a48_0x4793(_0x14d2b3,_0x5884f3);}const getTagsFromTitle=_0x599eca=>{const _0x55cf71=a48_0x2800f6;return _0x599eca[_0x55cf71(0x219)](/@(\w+)/g)?.[_0x55cf71(0x1ea)](_0xa368d5=>_0xa368d5[_0x55cf71(0x1c7)](0x1))||[];};exports[a48_0x2800f6(0x1f3)]=_0x3cdb48=>{const _0x179a4a=a48_0x2800f6,_0x215031={'VILJo':function(_0x21c4e5,_0x4eb4b9){return _0x21c4e5(_0x4eb4b9);}};if(_0x3cdb48[_0x179a4a(0x1b2)])return _0x3cdb48[_0x179a4a(0x1b2)][_0x179a4a(0x1ea)](_0xea21b0=>_0xea21b0[_0x179a4a(0x1ab)]('@')?_0xea21b0[_0x179a4a(0x20a)](0x1):_0xea21b0);return _0x215031[_0x179a4a(0x22a)](getTagsFromTitle,_0x3cdb48[_0x179a4a(0x19b)]);},exports[a48_0x2800f6(0x1fd)]=async()=>{const _0x24369a=a48_0x2800f6,_0x5d9afe={'kjiht':function(_0x583611,_0x1ba70d){return _0x583611-_0x1ba70d;},'hhzrW':_0x24369a(0x210),'JZJUp':_0x24369a(0x1d6),'dkvtQ':_0x24369a(0x22e),'kNKuS':_0x24369a(0x1a0),'bUlie':_0x24369a(0x1bb),'qXXpJ':_0x24369a(0x229),'eRYdS':_0x24369a(0x180),'mGqtK':'beforeWorkerHook','fMfFp':'afterWorkerHook','TvUUi':_0x24369a(0x207),'MSNBY':_0x24369a(0x1ca),'JSyOC':_0x24369a(0x20b),'XNKqs':'processPageScreenshot','uBzka':_0x24369a(0x1db),'UFgll':_0x24369a(0x1de),'xbbNQ':'requestSpyCallback','nAQcg':_0x24369a(0x18f),'nMtJe':function(_0x2ca431,_0x5c1f26){return _0x2ca431(_0x5c1f26);},'HqLHU':function(_0x782a5b,_0x1f22d5){return _0x782a5b/_0x1f22d5;},'XwWWA':function(_0x4a39b4,_0x3322ed){return _0x4a39b4+_0x3322ed;},'HGkYv':function(_0x1c91ee,_0x8a65cd){return _0x1c91ee(_0x8a65cd);},'jVohi':function(_0x3104fe,_0x21c997){return _0x3104fe*_0x21c997;}};if(!process[_0x24369a(0x203)][_0x24369a(0x211)])return;const _0x5e5705=_0x5d9afe[_0x24369a(0x194)](new Date()[_0x24369a(0x228)](),new Date(process['env'][_0x24369a(0x211)])[_0x24369a(0x228)]()),_0x13913f=await PerformanceTester[_0x24369a(0x1cc)](_0x5d9afe[_0x24369a(0x18c)],[_0x5d9afe[_0x24369a(0x19f)],_0x5d9afe[_0x24369a(0x1c0)],_0x5d9afe[_0x24369a(0x222)],_0x5d9afe[_0x24369a(0x19a)],_0x5d9afe['qXXpJ'],_0x5d9afe['eRYdS']]),_0x5243c1=fs['readdirSync']('.'),_0x1819fe=_0x5243c1[_0x24369a(0x21b)](_0x4bb178=>_0x4bb178['startsWith']('performance-report-worker-')&&_0x4bb178[_0x24369a(0x1a2)](_0x24369a(0x192))),_0x159c3d=await PerformanceTester[_0x24369a(0x1b7)](_0x1819fe,[_0x5d9afe[_0x24369a(0x1a4)],_0x5d9afe[_0x24369a(0x1b5)],_0x5d9afe[_0x24369a(0x193)],_0x5d9afe[_0x24369a(0x1f5)],_0x5d9afe[_0x24369a(0x21c)],_0x5d9afe[_0x24369a(0x1a6)],_0x5d9afe['uBzka'],_0x5d9afe[_0x24369a(0x20f)],_0x5d9afe[_0x24369a(0x1f0)],_0x5d9afe[_0x24369a(0x1b8)]]);_0x5d9afe[_0x24369a(0x1f6)](debug,_0x24369a(0x1d8)+_0x5d9afe[_0x24369a(0x22b)](_0x5e5705,0x3e8)+'\x20s'),_0x5d9afe[_0x24369a(0x1f6)](debug,_0x24369a(0x189)+_0x5d9afe['XwWWA'](_0x159c3d,_0x13913f)),_0x5d9afe[_0x24369a(0x1b3)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x5d9afe[_0x24369a(0x1cb)](_0x5d9afe[_0x24369a(0x22b)](_0x5d9afe[_0x24369a(0x1b0)](_0x159c3d,_0x13913f),_0x5e5705),0x64));},exports[a48_0x2800f6(0x1a1)]=()=>{const _0x2740ed=a48_0x2800f6,_0x4b4cf2={'HlZhc':function(_0x3f5ede,_0x31ee30){return _0x3f5ede(_0x31ee30);},'mrxCD':function(_0x5cd52a,_0x36c8ba){return _0x5cd52a>=_0x36c8ba;},'kEmRY':_0x2740ed(0x1a9),'mfNCk':_0x2740ed(0x197),'YrwOw':_0x2740ed(0x1c4),'KzXCN':function(_0x5c19a0,_0x532001){return _0x5c19a0>=_0x532001;},'cmNxH':_0x2740ed(0x200),'cvsLM':_0x2740ed(0x1f1),'iVYLG':'@playwright/test','BEsKm':_0x2740ed(0x217)},_0x6dd5bd=_0x4b4cf2['HlZhc'](getFrameworkVersion,FRAMEWORKS[_0x2740ed(0x225)]);if(_0x4b4cf2[_0x2740ed(0x1fb)](helper[_0x2740ed(0x205)](_0x6dd5bd,_0x4b4cf2[_0x2740ed(0x21d)]),0x0))return[_0x4b4cf2[_0x2740ed(0x1cf)],_0x4b4cf2['YrwOw']];if(_0x4b4cf2[_0x2740ed(0x1a7)](helper[_0x2740ed(0x205)](_0x6dd5bd,_0x4b4cf2[_0x2740ed(0x221)]),0x0))return[_0x4b4cf2[_0x2740ed(0x1d0)],_0x4b4cf2['iVYLG']];return[_0x4b4cf2[_0x2740ed(0x209)],_0x4b4cf2['iVYLG']];},exports['getConfigLoaderPath']=()=>{const _0x56acc1=a48_0x2800f6,_0x4bb910={'xGRIk':function(_0x77d17a,_0x47e07d){return _0x77d17a(_0x47e07d);},'bMgxR':function(_0x5dad31,_0x74f836){return _0x5dad31>=_0x74f836;},'ZZbtI':_0x56acc1(0x1a9),'qwnRE':_0x56acc1(0x1ce),'gPQFK':'playwright','UxvZX':_0x56acc1(0x1e0),'fXmWf':_0x56acc1(0x218)},_0x5b8be3=_0x4bb910['xGRIk'](getFrameworkVersion,FRAMEWORKS[_0x56acc1(0x225)]);if(_0x4bb910[_0x56acc1(0x1b6)](helper[_0x56acc1(0x205)](_0x5b8be3,_0x4bb910['ZZbtI']),0x0))return[_0x4bb910[_0x56acc1(0x1ad)],_0x4bb910[_0x56acc1(0x1c5)]];return[_0x4bb910['UxvZX'],_0x4bb910[_0x56acc1(0x1bf)]];},exports[a48_0x2800f6(0x1d5)]=()=>{const _0x1f86fa=a48_0x2800f6,_0x45d78c={};_0x45d78c[_0x1f86fa(0x208)]=_0x1f86fa(0x1e2);const _0x2ea625=_0x45d78c;return helper[_0x1f86fa(0x213)](_0x2ea625['SBBGi']);},exports[a48_0x2800f6(0x1f8)]=()=>{const _0x59bbd9=a48_0x2800f6,_0x3543fb={};_0x3543fb['xhObk']=_0x59bbd9(0x19c);const _0x314ac5=_0x3543fb;return helper[_0x59bbd9(0x213)](_0x314ac5[_0x59bbd9(0x1e9)]);},exports[a48_0x2800f6(0x183)]=()=>{const _0x5a1e92=a48_0x2800f6,_0x1eb32e={'WELXz':function(_0x5d8177,_0xbba2f){return _0x5d8177(_0xbba2f);},'CbgOt':function(_0x1bd028,_0x2cd700){return _0x1bd028>=_0x2cd700;},'dbTlF':'1.38.0','YkAqB':_0x5a1e92(0x182),'bcsLf':_0x5a1e92(0x204),'rbgek':_0x5a1e92(0x1fa),'eCvsA':'test'},_0x4a42dd=_0x1eb32e[_0x5a1e92(0x195)](getFrameworkVersion,FRAMEWORKS[_0x5a1e92(0x225)]);if(_0x1eb32e['CbgOt'](helper[_0x5a1e92(0x205)](_0x4a42dd,_0x1eb32e[_0x5a1e92(0x21a)]),0x0))return path[_0x5a1e92(0x1a3)](_0x1eb32e[_0x5a1e92(0x1eb)],_0x1eb32e[_0x5a1e92(0x1d4)],_0x1eb32e[_0x5a1e92(0x215)]);return path['join'](_0x1eb32e[_0x5a1e92(0x1fc)],_0x1eb32e['YkAqB'],_0x1eb32e['bcsLf'],_0x1eb32e[_0x5a1e92(0x215)]);},exports['getFailureData']=(_0x453743,{test_run_uuid:_0x21a038})=>{const _0x32b8b7=a48_0x2800f6,_0xa857df={'UBeFr':'ERROR','vydtL':'TEST_LOG','PtRFL':function(_0x13f53b,_0x4220d1){return _0x13f53b<=_0x4220d1;},'Aacsq':function(_0x12abdb,_0x2921f4){return _0x12abdb(_0x2921f4);},'UyzgA':_0x32b8b7(0x201),'mLnLv':function(_0x29ad50,_0xd1d230){return _0x29ad50(_0xd1d230);},'ZkPsn':function(_0x2d570f,_0x56612a){return _0x2d570f>=_0x56612a;},'LTgEg':_0x32b8b7(0x1ed),'bGejq':function(_0x53e84a,_0x5e1fe9){return _0x53e84a>_0x5e1fe9;},'tEkJa':function(_0x4d3a7a,_0x580e18,_0x481275){return _0x4d3a7a(_0x580e18,_0x481275);},'OStBk':_0x32b8b7(0x188)};if(!_0x453743||_0xa857df[_0x32b8b7(0x22d)](_0x453743[_0x32b8b7(0x18a)],0x0))return[];const _0x4c81db=_0xa857df['Aacsq'](removeAnsiColors,_0x453743[0x0][_0x32b8b7(0x1df)]);if(_0x4c81db[_0x32b8b7(0x1ab)](_0xa857df[_0x32b8b7(0x18b)])){const _0x4b6f36=_0x453743[0x0],_0x48eeb0=_0xa857df[_0x32b8b7(0x1e5)](getFrameworkVersion,FRAMEWORKS[_0x32b8b7(0x225)]);if((!_0x4b6f36[_0x32b8b7(0x206)]||_0xa857df['ZkPsn'](_0x48eeb0,_0xa857df[_0x32b8b7(0x1ee)]))&&_0xa857df[_0x32b8b7(0x1e6)](_0x453743[_0x32b8b7(0x18a)],0x1))return{'failureData':[{'backtrace':[_0x4c81db,_0xa857df[_0x32b8b7(0x1d2)](removeAnsiColors,_0x453743[0x1][_0x32b8b7(0x206)])]}],'logs':_0x453743[_0x32b8b7(0x1c7)](0x2)[_0x32b8b7(0x1ea)](_0x4ca967=>{const _0x335564=_0x32b8b7;return{'timestamp':new Date()[_0x335564(0x191)](),'level':_0xa857df['UBeFr'],'message':''+_0x4ca967['message'],'kind':_0xa857df[_0x335564(0x22c)],'http_response':{},'test_run_uuid':_0x21a038};})};}return{'failureData':_0xa857df[_0x32b8b7(0x190)](failureData,_0x453743,_0xa857df['OStBk']),'logs':[]};},exports[a48_0x2800f6(0x1a8)]=_0x3449d0=>{const _0x14fff2=a48_0x2800f6,_0xd44ec0={};_0xd44ec0[_0x14fff2(0x1f2)]=function(_0x25b207,_0x5d13ca){return _0x25b207!==_0x5d13ca;},_0xd44ec0[_0x14fff2(0x1cd)]=_0x14fff2(0x1d1),_0xd44ec0[_0x14fff2(0x226)]=function(_0x63b290,_0x8adfaa){return _0x63b290>_0x8adfaa;};const _0x1241fb=_0xd44ec0;if(_0x3449d0&&fs['existsSync'](_0x3449d0)){if(_0x1241fb[_0x14fff2(0x1f2)](path['extname'](_0x3449d0)['toLowerCase'](),_0x1241fb[_0x14fff2(0x1cd)]))return logger[_0x14fff2(0x186)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x3449d0),![];const _0x2cefc1=fs[_0x14fff2(0x1fe)](_0x3449d0)['size'];if(_0x1241fb['gieRn'](_0x2cefc1,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x14fff2(0x186)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x2cefc1+_0x14fff2(0x1af)),![];return!![];}return![];},exports[a48_0x2800f6(0x21e)]=(_0x168970,_0x46c08f)=>{const _0x2a1950=a48_0x2800f6,_0x42c70a={};_0x42c70a[_0x2a1950(0x1ae)]=_0x2a1950(0x17f);const _0x518f81=_0x42c70a;logger[_0x2a1950(0x17e)]('Searching\x20for\x20key:\x20'+_0x46c08f);if(_0x168970&&_0x168970[_0x2a1950(0x1d7)]){const _0x269ce7=_0x168970[_0x2a1950(0x1d7)][_0x2a1950(0x1c9)](_0x2fdc32=>_0x2fdc32['name']===_0x2a1950(0x1e4));if(_0x269ce7)return logger['debug'](_0x2a1950(0x1e1)+_0x46c08f+_0x2a1950(0x1e3)),_0x269ce7[_0x46c08f];}else{if(_0x168970&&Object[_0x2a1950(0x1dd)]['toString'][_0x2a1950(0x1ac)](_0x168970)[_0x2a1950(0x1c1)](_0x518f81['GWtnB']))for(const _0x101bb4 of _0x168970){if(_0x101bb4[_0x46c08f])return logger[_0x2a1950(0x17e)]('Found\x20key:\x20'+_0x46c08f+_0x2a1950(0x20d)),_0x101bb4[_0x46c08f];}};return'';},exports[a48_0x2800f6(0x1a5)]=async(_0x5160b6,_0x4a9010)=>{const _0x445c1e=a48_0x2800f6,_0x4f139e={};_0x4f139e[_0x445c1e(0x18e)]=_0x445c1e(0x19e),_0x4f139e[_0x445c1e(0x1d3)]='TEST_ATTACHMENT',_0x4f139e[_0x445c1e(0x1bd)]='sendTraceZip',_0x4f139e[_0x445c1e(0x1da)]=_0x445c1e(0x214);const _0x2cda2a=_0x4f139e;try{const _0x52bf40={'event_type':_0x2cda2a[_0x445c1e(0x18e)],'logs':[{'data':_0x5160b6?fs[_0x445c1e(0x212)](_0x5160b6):'','test_run_uuid':_0x4a9010,'kind':_0x2cda2a[_0x445c1e(0x1d3)],'fileName':_0x5160b6?path['basename'](_0x5160b6):''}]};return await SessionHandler[_0x445c1e(0x1f4)](_0x52bf40,0x0,_0x2cda2a['FuEzS']);}catch(_0x756c3d){logger['error'](util[_0x445c1e(0x224)](_0x2cda2a[_0x445c1e(0x1da)],_0x756c3d));}},exports[a48_0x2800f6(0x1c3)]=async(_0x40cd87,_0x16a871)=>{const _0x48c834=a48_0x2800f6,_0x6e5fb6={'uRngX':_0x48c834(0x1dc),'SVVod':_0x48c834(0x1ec),'NWlaI':function(_0x44b713){return _0x44b713();},'uHEYD':_0x48c834(0x214)};try{logger[_0x48c834(0x17e)](_0x48c834(0x1c2)+_0x16a871);let _0x5af934=await exports['findNestedKey'](_0x40cd87,_0x6e5fb6[_0x48c834(0x21f)]);if(exports[_0x48c834(0x1a8)](_0x5af934)){logger[_0x48c834(0x17e)](_0x6e5fb6[_0x48c834(0x1ba)]),_0x5af934=path[_0x48c834(0x1aa)](_0x5af934);const _0x404961={};_0x404961['testUId']=_0x16a871,_0x404961[_0x48c834(0x1c6)]=_0x5af934;const _0x15299c=_0x404961;_0x6e5fb6[_0x48c834(0x202)](getBrowserstackCLI)[_0x48c834(0x1c8)]()[_0x48c834(0x184)]()?TestInfo[_0x48c834(0x18d)](_0x15299c):TestDetails[_0x48c834(0x18d)](_0x15299c);};}catch(_0x24ed01){logger[_0x48c834(0x186)](util[_0x48c834(0x224)](_0x6e5fb6[_0x48c834(0x187)],_0x24ed01));}},exports[a48_0x2800f6(0x1d9)]=_0x3a2c7d=>{const _0x594e8a=a48_0x2800f6,_0x2c7c8d={};_0x2c7c8d['BJeJe']=function(_0x4ddd56,_0x1da2f0){return _0x4ddd56+_0x1da2f0;},_0x2c7c8d[_0x594e8a(0x198)]=function(_0x14b307,_0x51281a){return _0x14b307+_0x51281a;};const _0x5c6084=_0x2c7c8d;return _0x5c6084['BJeJe'](_0x5c6084[_0x594e8a(0x198)](_0x3a2c7d[_0x594e8a(0x20c)],'-'),_0x3a2c7d['id']);},exports['getTestRunIdentifier']=(_0xd783b1,_0x471c24)=>{const _0x36c996=a48_0x2800f6,_0x3cb079={};_0x3cb079[_0x36c996(0x1f7)]=function(_0x322477,_0x44d0e5){return _0x322477+_0x44d0e5;},_0x3cb079[_0x36c996(0x1ff)]=function(_0x5ba2d1,_0x31577d){return _0x5ba2d1+_0x31577d;};const _0x5dde55=_0x3cb079;return _0x5dde55[_0x36c996(0x1f7)](_0x5dde55['derdK'](_0xd783b1['id'],'-'),_0x471c24);};
@@ -1 +1 @@
1
- const a49_0x5e5d16=a49_0x572f;function a49_0x572f(_0x1b0083,_0x47e258){const _0xdccb83=a49_0xdccb();return a49_0x572f=function(_0x572f32,_0xec7de7){_0x572f32=_0x572f32-0x161;let _0x32a882=_0xdccb83[_0x572f32];return _0x32a882;},a49_0x572f(_0x1b0083,_0x47e258);}(function(_0x274cd8,_0x3885c9){const _0x47fcc3=a49_0x572f,_0x140d33=_0x274cd8();while(!![]){try{const _0xed4fcb=parseInt(_0x47fcc3(0x17b))/0x1*(-parseInt(_0x47fcc3(0x183))/0x2)+parseInt(_0x47fcc3(0x1d0))/0x3*(-parseInt(_0x47fcc3(0x1db))/0x4)+-parseInt(_0x47fcc3(0x21c))/0x5+parseInt(_0x47fcc3(0x1c8))/0x6+-parseInt(_0x47fcc3(0x22e))/0x7*(-parseInt(_0x47fcc3(0x169))/0x8)+-parseInt(_0x47fcc3(0x218))/0x9*(-parseInt(_0x47fcc3(0x239))/0xa)+-parseInt(_0x47fcc3(0x17d))/0xb;if(_0xed4fcb===_0x3885c9)break;else _0x140d33['push'](_0x140d33['shift']());}catch(_0x55cb97){_0x140d33['push'](_0x140d33['shift']());}}}(a49_0xdccb,0x6cbfa));function a49_0xdccb(){const _0x5ecf7e=['getStepsAndLogs','_tests','location','getTestFramework','expectedStatus','Playwright','FNoVw','beforeEach\x20hook','sendHookRunEvent','eFaPg','passed','1117ucZVcT','scZdn','1044901TXJues','UWqOt','logs','JJwWc','cwd','avyVA','62crrLoL','jfVOx','../../../helpers/helper','getHierarchy','XTyNI','name','kGwNN','parent','mkdirSync','Error\x20in\x20calculating\x20performance:\x20','logLevel','TdCmI','sendTestRunEvent','error','HwBLm','step','message','xoYSL','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','failed','hook','cksAC','integrations','test_run_uuid','TIIPW','Test\x20Started\x20with\x20unique\x20id\x20','BROWSERSTACK_LOG_LEVEL','beforeAll\x20hook','afterAll\x20hook','jcPZx','statSync','mbUON','POST','SToAr','bUyYn','path','TEST_STEP','failure_reason','shutdown','BGDFo','printsToStdio','Error\x20in\x20sending\x20trace\x20zip:\x20%s','LWoYl','AxWMX','getStepIdentifier','pienr','unknown','Expected\x20to\x20fail,\x20but\x20passed.','pWIuy','basename','VvSBm','Trace\x20file\x20found\x20for\x20test:\x20','../../v2/browserstackCLI','forEach','category','lIHEW','BEFORE_ALL','../../v2/TestInfo','homedir','SNHay','qztRS','PLAYWRIGHT','rfDPv','yKHvX','split','fDKXU','leZJk','CGpOA','dscbA','3847224AiggSO','GPzfS','ftvVb','.browserstack','fxpgH','zxreP','join','performance-report-reporter.json','44331ksznzY','_gitConfigured','tChtY','startsWith','No\x20integrations\x20found\x20for\x20test\x20','setup','needToReportStep','\x20at\x20','JYzzT','javascript','tpqmj','76GTgAbJ','push','CmJFd','length','../../../helpers/test-observability/requestQueueHandler','readFileSync','pending','BEFORE_EACH','LYeUn','getCustomRerunParam','isRunning','util','mOUyJ','Ikccl','startedAt','cEjgH','trackEvent','duration','toString','../../../helpers/test-observability/constants','HookRunFinished','TEST_ATTACHMENT','../../../helpers/test-observability/error-handler','env','skipped','afterEach\x20hook','AFTER_EACH','test.step','file','existsSync','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','\x20-\x20','getInstance','attachments','RkuMr','onTestEnd','CBTSessionCreated','uploadEventData','../../../helpers/test-observability/utils','\x20is\x20triggered\x20for\x20test\x20','map','TestRunFinished','depth','EGeyP','BROWSERSTACK_TEST_RUN_ID','KbpDh','rzSZk','result','startMonitoring','onEnd','yCWSb','INIT_TEST','LQdTR','status','indexOf','_bs_hookIdentifier','onStepBegin','HTKyQ','OkRWb','muNzc','wuBra','1449TfmKEb','splice','startTime','2|0|6|7|5|1|4|3','2782340nnnJDR','rOYKW','format','VMaDf','MyReporter','IeOVi','getScope','uELRb','ALoEn','MIgWR','test_run','configureGit','expanded','PRE','OaYtt','UxXWL','_testHooksMap','TestRunStarted','4837WHpwCv','CIcPl','_trackedEvents','UcmBt','VXovR','bopwh','failure_type','event_type','relative','getTestUUID','enezK','30940axfUko','\x20for\x20','NmvGC','yNCog','TEST','uuid','.txt','title','endSession','LogCreated','MwpdB','kyzFo','OWZWz','../../../../src/bin/utils/constants','finishedAt','qswca','getHookType','dTMVN','_tags','toISOString','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','TEST_SCREENSHOT','test','reverse','pDtfM','retry','Sending\x20session\x20details\x20for\x20','HGYQR','titlePath','HookRunStarted','PgnbY','bxGoy','_gitConfigPath','trace_','../../v2/state/testFrameworkState','backtrace','UAjYD','meta','errors','nJmOc','reportLogs','JbxvC','bjqZX','ZgKHC','failure','CFHDG','timedOut','AFTER_ALL','stack','utf8','xHMAk','mMJoB','YDEeg','./pwUtils','sendSessionDetails','Kwhmz','3160PtGziR','onBegin','root','AEkUr','SCsjX','Yuzom','steps'];a49_0xdccb=function(){return _0x5ecf7e;};return a49_0xdccb();}const RequestQueueHandler=require(a49_0x5e5d16(0x1df)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a49_0x5e5d16(0x166)),{v4:uuidv4}=require(a49_0x5e5d16(0x23e)),path=require(a49_0x5e5d16(0x1a6)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a49_0x5e5d16(0x201)),{getGitMetaData,setLogLevel}=require(a49_0x5e5d16(0x185)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a49_0x5e5d16(0x1e6)),{o11yClassErrorHandler}=require(a49_0x5e5d16(0x1f1)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a49_0x5e5d16(0x1ee)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a49_0x5e5d16(0x185)),BrowserstackCLI=require(a49_0x5e5d16(0x1b7)),TestFrameworkState=require(a49_0x5e5d16(0x25b)),HookState=require('../../v2/state/hookState'),TestInfo=require(a49_0x5e5d16(0x1bc)),{PLAYWRIGHT_TRACE_LOGS}=require(a49_0x5e5d16(0x246));class MyReporter{constructor(_0x72ff4a){const _0x3f426e=a49_0x5e5d16,_0x88506b={'mpCAV':_0x3f426e(0x21b),'TdCmI':_0x3f426e(0x1cf),'KQsdv':function(_0x39e094,_0x219015,_0x4abfbd,_0x3d958d){return _0x39e094(_0x219015,_0x4abfbd,_0x3d958d);}},_0x37b6a5=_0x88506b['mpCAV'][_0x3f426e(0x1c3)]('|');let _0x3539d2=0x0;while(!![]){switch(_0x37b6a5[_0x3539d2++]){case'0':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x3f426e(0x20b)](_0x88506b[_0x3f426e(0x18e)]),process[_0x3f426e(0x1f2)]['START_TIME']=new Date()[_0x3f426e(0x24c)]());continue;case'1':this['_gitConfigured']=![];continue;case'2':const _0x26ea52={};_0x26ea52[_0x3f426e(0x18d)]=process[_0x3f426e(0x1f2)][_0x3f426e(0x19d)],_0x88506b['KQsdv'](setLogLevel,_0x26ea52,new Map(),new Map());continue;case'3':this['_trackedEvents']=[];continue;case'4':this[_0x3f426e(0x259)]=null;continue;case'5':this['options']=_0x72ff4a;continue;case'6':this[_0x3f426e(0x171)]={};continue;case'7':this[_0x3f426e(0x22c)]={};continue;}break;}}async[a49_0x5e5d16(0x16a)](){const _0x184ed4=a49_0x5e5d16,_0x48c471={};_0x48c471[_0x184ed4(0x209)]=_0x184ed4(0x175);const _0x1dcd2f=_0x48c471;TestDetails[_0x184ed4(0x1d5)](),await this[_0x184ed4(0x227)](),TestInfo[_0x184ed4(0x1d5)](_0x1dcd2f[_0x184ed4(0x209)]);if(BrowserstackCLI[_0x184ed4(0x1fb)]()[_0x184ed4(0x1e5)]()){await BrowserstackCLI['getInstance']()[_0x184ed4(0x173)]()[_0x184ed4(0x1eb)](TestFrameworkState[_0x184ed4(0x20e)],HookState[_0x184ed4(0x229)],{});return;}}async['onTestBegin'](_0x40952c,_0x205578){const _0x1db963=a49_0x5e5d16,_0xf3009={'ZgKHC':function(_0x5e371c,_0x24d7fd){return _0x5e371c(_0x24d7fd);},'uvPLr':function(_0x302aca,_0x5bfa59,_0x63857d){return _0x302aca(_0x5bfa59,_0x63857d);},'scZdn':_0x1db963(0x22d)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x3f114c={};_0x3f114c[_0x1db963(0x24f)]=_0x40952c,_0x3f114c[_0x1db963(0x20a)]=_0x205578,await BrowserstackCLI['getInstance']()[_0x1db963(0x173)]()[_0x1db963(0x1eb)](TestFrameworkState[_0x1db963(0x23d)],HookState['PRE'],_0x3f114c);return;}const _0x73a4f2=_0xf3009[_0x1db963(0x264)](getTestIdentifier,_0x40952c),_0x17d8f8=TestDetails[_0x1db963(0x237)](_0xf3009['uvPLr'](getTestRunIdentifier,_0x40952c,_0x205578[_0x1db963(0x252)]));process[_0x1db963(0x1f2)][_0x1db963(0x207)]=_0x17d8f8;const _0x1cec9b={};_0x1cec9b[_0x1db963(0x23e)]=_0x17d8f8,_0x1cec9b[_0x1db963(0x1e9)]=_0x205578[_0x1db963(0x21a)],this[_0x1db963(0x171)][_0x73a4f2]=_0x1cec9b,_0xf3009['ZgKHC'](trace,_0x1db963(0x19c)+_0x73a4f2),await this['sendTestRunEvent'](_0x40952c,_0xf3009[_0x1db963(0x17c)],_0x205578);}async[a49_0x5e5d16(0x213)](_0x1a469e,_0x58fd67,_0x376b0a){const _0x12c329=a49_0x5e5d16,_0x4f4f00={'FNoVw':function(_0x1e2e91,_0x5d59cf){return _0x1e2e91===_0x5d59cf;},'HGYQR':_0x12c329(0x1f6),'CGpOA':function(_0x2fa51b,_0x28832d,_0x3844fa){return _0x2fa51b(_0x28832d,_0x3844fa);},'UcmBt':function(_0x351a31,_0x4b6a01){return _0x351a31(_0x4b6a01);},'OWZWz':_0x12c329(0x256)};if(!this[_0x12c329(0x1d6)](_0x376b0a,_0x1a469e))return;if(_0x4f4f00[_0x12c329(0x176)](_0x376b0a[_0x12c329(0x1b9)],_0x4f4f00[_0x12c329(0x254)])){if(BrowserstackCLI['getInstance']()[_0x12c329(0x1e5)]()){const _0x5a1c86={};_0x5a1c86[_0x12c329(0x24f)]=_0x1a469e,_0x5a1c86[_0x12c329(0x20a)]=_0x58fd67,_0x5a1c86[_0x12c329(0x192)]=_0x376b0a,await BrowserstackCLI[_0x12c329(0x1fb)]()[_0x12c329(0x173)]()[_0x12c329(0x1eb)](TestFrameworkState['TEST_STEP'],HookState['PRE'],_0x5a1c86);}return;}if(BrowserstackCLI[_0x12c329(0x1fb)]()[_0x12c329(0x1e5)]()){const _0x21473e=this[_0x12c329(0x249)](_0x376b0a['title']),_0x236617=TestFrameworkState[_0x21473e],_0xd2f8ab={};_0xd2f8ab[_0x12c329(0x24f)]=_0x1a469e,_0xd2f8ab['result']=_0x58fd67,_0xd2f8ab['step']=_0x376b0a,await BrowserstackCLI['getInstance']()[_0x12c329(0x173)]()[_0x12c329(0x1eb)](_0x236617,HookState[_0x12c329(0x229)],_0xd2f8ab);return;}const _0x46ad61=this['setStepIdentifier'](_0x1a469e,_0x376b0a);this[_0x12c329(0x171)][_0x46ad61]={'uuid':TestDetails['getTestUUID'](_0x46ad61),'startedAt':_0x376b0a[_0x12c329(0x21a)][_0x12c329(0x24c)]()};const _0x2681ab=_0x4f4f00[_0x12c329(0x1c6)](getTestRunIdentifier,_0x1a469e,_0x58fd67[_0x12c329(0x252)]);!this[_0x12c329(0x22c)][_0x2681ab]&&(this['_testHooksMap'][_0x2681ab]=[]),this[_0x12c329(0x22c)][_0x2681ab][_0x12c329(0x1dc)](this[_0x12c329(0x171)][_0x46ad61][_0x12c329(0x23e)]),_0x4f4f00[_0x12c329(0x231)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x46ad61+_0x12c329(0x202)+_0x2681ab),await this[_0x12c329(0x178)](_0x1a469e,_0x376b0a,_0x4f4f00[_0x12c329(0x245)],_0x58fd67);}async['onStepEnd'](_0x464288,_0x3a9596,_0xed536){const _0x2a4210=a49_0x5e5d16,_0x304885={'GqoNR':function(_0x244dc8,_0x1f4edb){return _0x244dc8===_0x1f4edb;},'jfVOx':_0x2a4210(0x1f6),'cMDYB':function(_0x224ecb,_0x227fd7){return _0x224ecb+_0x227fd7;},'SToAr':function(_0x2fec4e,_0x2b39cb){return _0x2fec4e(_0x2b39cb);},'fxpgH':_0x2a4210(0x1ef)};if(!this[_0x2a4210(0x1d6)](_0xed536,_0x464288))return;if(_0x304885['GqoNR'](_0xed536[_0x2a4210(0x1b9)],_0x304885[_0x2a4210(0x184)])){if(BrowserstackCLI[_0x2a4210(0x1fb)]()[_0x2a4210(0x1e5)]()){const _0x44d385={};_0x44d385[_0x2a4210(0x24f)]=_0x464288,_0x44d385[_0x2a4210(0x20a)]=_0x3a9596,_0x44d385[_0x2a4210(0x192)]=_0xed536,await BrowserstackCLI['getInstance']()[_0x2a4210(0x173)]()[_0x2a4210(0x1eb)](TestFrameworkState[_0x2a4210(0x1a7)],HookState[_0x2a4210(0x1a3)],_0x44d385);}return;}if(BrowserstackCLI[_0x2a4210(0x1fb)]()['isRunning']()){const _0x202c26=this[_0x2a4210(0x249)](_0xed536[_0x2a4210(0x240)]),_0x5c81e9=TestFrameworkState[_0x202c26],_0x5d2401={};_0x5d2401[_0x2a4210(0x24f)]=_0x464288,_0x5d2401[_0x2a4210(0x20a)]=_0x3a9596,_0x5d2401[_0x2a4210(0x192)]=_0xed536,await BrowserstackCLI[_0x2a4210(0x1fb)]()[_0x2a4210(0x173)]()[_0x2a4210(0x1eb)](_0x5c81e9,HookState['POST'],_0x5d2401);return;}const _0x4bf36f=this[_0x2a4210(0x1af)](_0x464288,_0xed536);this[_0x2a4210(0x171)][_0x4bf36f]={...this['_tests'][_0x4bf36f]||{},'finishedAt':new Date(_0x304885['cMDYB'](_0xed536[_0x2a4210(0x21a)]['getTime'](),_0xed536[_0x2a4210(0x1ec)]))},_0x304885[_0x2a4210(0x1a4)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x4bf36f+'\x20is\x20triggered'),await this['sendHookRunEvent'](_0x464288,_0xed536,_0x304885[_0x2a4210(0x1cc)],_0x3a9596);}async[a49_0x5e5d16(0x1fe)](_0x5f442d,_0x52557b){const _0x422496=a49_0x5e5d16,_0x12e5a3={'uELRb':function(_0x40d0f6,_0x4a5e8d){return _0x40d0f6===_0x4a5e8d;},'eFaPg':'screenshot','bxGoy':_0x422496(0x24e),'XTyNI':'base64','yCWSb':function(_0x25cbc7,_0x550464){return _0x25cbc7(_0x550464);},'ftvVb':function(_0x890ce0,_0x5b7522,_0xeffac9){return _0x890ce0(_0x5b7522,_0xeffac9);},'yNCog':function(_0x2eda3f,_0x3d35ca){return _0x2eda3f(_0x3d35ca);},'bAINW':_0x422496(0x204),'JYzzT':_0x422496(0x195),'HwBLm':_0x422496(0x1ac),'leZJk':function(_0x3ed995,_0x4f0ba8){return _0x3ed995>_0x4f0ba8;}};if(BrowserstackCLI[_0x422496(0x1fb)]()[_0x422496(0x1e5)]()){const _0x35737c={};_0x35737c[_0x422496(0x24f)]=_0x5f442d,_0x35737c[_0x422496(0x20a)]=_0x52557b,this[_0x422496(0x230)][_0x422496(0x1dc)](BrowserstackCLI[_0x422496(0x1fb)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x422496(0x23d)],HookState['POST'],_0x35737c));return;}const _0x3122b9=_0x12e5a3[_0x422496(0x20d)](getTestIdentifier,_0x5f442d),_0x646993=TestDetails[_0x422496(0x237)](_0x12e5a3[_0x422496(0x1ca)](getTestRunIdentifier,_0x5f442d,_0x52557b[_0x422496(0x252)]));this[_0x422496(0x171)][_0x3122b9]={...this[_0x422496(0x171)][_0x3122b9]||{},'finishedAt':new Date()[_0x422496(0x24c)]()},_0x12e5a3['yNCog'](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x3122b9);try{await this[_0x422496(0x18f)](_0x5f442d,_0x12e5a3['bAINW'],_0x52557b);}catch(_0x5ec4ef){_0x12e5a3[_0x422496(0x23c)](debug,util[_0x422496(0x21e)](_0x12e5a3[_0x422496(0x1d8)],_0x5ec4ef[_0x422496(0x1ed)]()));}try{_0x12e5a3['yNCog'](debug,_0x422496(0x1f9)+_0x646993),await _0x12e5a3[_0x422496(0x1ca)](sendTraceZip,_0x52557b,_0x646993);}catch(_0x3e2d38){_0x12e5a3[_0x422496(0x23c)](debug,util[_0x422496(0x21e)](_0x12e5a3[_0x422496(0x191)],_0x3e2d38[_0x422496(0x1ed)]()));}const _0x51699c=[];_0x52557b[_0x422496(0x1fc)]&&_0x52557b[_0x422496(0x1fc)][_0x422496(0x203)](_0x4faf37=>{const _0x17cc77=_0x422496;if(_0x12e5a3[_0x17cc77(0x223)](_0x4faf37[_0x17cc77(0x188)],_0x12e5a3[_0x17cc77(0x179)])){if(!_0x4faf37[_0x17cc77(0x1a6)]||!fs[_0x17cc77(0x1f8)](_0x4faf37[_0x17cc77(0x1a6)]))return;_0x51699c[_0x17cc77(0x1dc)]({'test_run_uuid':_0x646993,'timestamp':fs[_0x17cc77(0x1a1)](_0x4faf37[_0x17cc77(0x1a6)])['mtime'],'kind':_0x12e5a3[_0x17cc77(0x258)],'message':fs[_0x17cc77(0x1e0)](_0x4faf37[_0x17cc77(0x1a6)],{'encoding':_0x12e5a3[_0x17cc77(0x187)]})});}}),_0x12e5a3[_0x422496(0x1c5)](_0x51699c[_0x422496(0x1de)],0x0)&&await MyReporter[_0x422496(0x261)](_0x51699c);}async[a49_0x5e5d16(0x241)](){const _0x5ed7e2=a49_0x5e5d16;await RequestQueueHandler[_0x5ed7e2(0x1fb)]()[_0x5ed7e2(0x1a9)]();}async[a49_0x5e5d16(0x20c)](_0x544a24){const _0x2704e1=a49_0x5e5d16,_0x2a787f={'BGDFo':function(_0x48b505){return _0x48b505();},'VMaDf':function(_0x57c4a5,_0x50b32e){return _0x57c4a5(_0x50b32e);}};await Promise['all'](this['_trackedEvents']),await this[_0x2704e1(0x241)]();try{process[_0x2704e1(0x1f2)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x2a787f[_0x2704e1(0x1aa)](calculatePerformance);}catch(_0x14421b){_0x2a787f[_0x2704e1(0x21f)](debug,_0x2704e1(0x18c)+_0x14421b[_0x2704e1(0x1ed)]());}}static async['addTestUIDAndReportLog'](_0x3dcd5d,_0x107092){const _0x32e796=a49_0x5e5d16;_0x107092[_0x32e796(0x19a)]=TestDetails[_0x32e796(0x237)](_0x3dcd5d),await this[_0x32e796(0x261)]([_0x107092]);}static async[a49_0x5e5d16(0x261)](_0x64232a){const _0xad5ff=a49_0x5e5d16,_0x505dc1={};_0x505dc1[_0xad5ff(0x262)]=_0xad5ff(0x242);const _0x3953f3=_0x505dc1;if(BrowserstackCLI[_0xad5ff(0x1fb)]()[_0xad5ff(0x1e5)]())return;const _0x35b44f={};_0x35b44f[_0xad5ff(0x235)]=_0x3953f3[_0xad5ff(0x262)],_0x35b44f['logs']=_0x64232a,await SessionHandler[_0xad5ff(0x200)](_0x35b44f);}async[a49_0x5e5d16(0x178)](_0x61269c,_0x39e91d,_0x4d828d,_0x2679c4){const _0x1b5553=a49_0x5e5d16,_0x54f911={'xoYSL':_0x1b5553(0x197),'IeOVi':_0x1b5553(0x1d9),'ZxpdM':_0x1b5553(0x1e1),'OfLTo':function(_0x35cd3f,_0x36141c){return _0x35cd3f>=_0x36141c;},'Kwhmz':function(_0x114813,_0x12ce19){return _0x114813===_0x12ce19;},'OkRWb':'HookRunFinished','nJmOc':function(_0xaf2544,_0x274239){return _0xaf2544>_0x274239;},'cksAC':_0x1b5553(0x196),'AEkUr':function(_0x4d5009,_0x33d12f){return _0x4d5009(_0x33d12f);},'bjqZX':function(_0x50114c,_0x3af5a7){return _0x50114c(_0x3af5a7);},'LYeUn':function(_0x517f94,_0x740c52,_0x2e4d07){return _0x517f94(_0x740c52,_0x2e4d07);},'qztRS':'err','xHMAk':_0x1b5553(0x17a)},_0x1d4a83=this[_0x1b5553(0x1af)](_0x61269c,_0x39e91d),_0x378330=this[_0x1b5553(0x171)][_0x1d4a83],_0x2deacc={'uuid':_0x378330['uuid'],'type':_0x54f911[_0x1b5553(0x194)],'hook_type':this[_0x1b5553(0x249)](_0x39e91d[_0x1b5553(0x240)]),'name':_0x39e91d[_0x1b5553(0x240)],'scope':this['getScope'](_0x39e91d),'scopes':this['getHierarchy'](_0x61269c),'body':{'lang':_0x54f911[_0x1b5553(0x221)],'code':null},'identifier':_0x1d4a83,'file_name':path['relative'](process[_0x1b5553(0x181)](),_0x61269c['location'][_0x1b5553(0x1f7)]),'location':path['relative'](process[_0x1b5553(0x181)](),_0x61269c[_0x1b5553(0x172)][_0x1b5553(0x1f7)]),'result':_0x54f911['ZxpdM'],'duration_in_ms':_0x54f911['OfLTo'](_0x39e91d[_0x1b5553(0x1ec)],0x0)?_0x39e91d[_0x1b5553(0x1ec)]:undefined,'vc_filepath':this[_0x1b5553(0x259)]&&_0x61269c[_0x1b5553(0x172)][_0x1b5553(0x1f7)]?path[_0x1b5553(0x236)](this[_0x1b5553(0x259)],_0x61269c[_0x1b5553(0x172)][_0x1b5553(0x1f7)]):undefined,'started_at':_0x378330['startedAt'],'finished_at':_0x378330[_0x1b5553(0x247)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x54f911[_0x1b5553(0x168)](_0x4d828d,_0x54f911[_0x1b5553(0x215)])){const {steps:_0x23c76b,logs:_0x56509d}=this[_0x1b5553(0x170)](_0x39e91d[_0x1b5553(0x16f)],_0x378330['uuid'],_0x54f911[_0x1b5553(0x194)]);_0x56509d&&_0x54f911[_0x1b5553(0x260)](_0x56509d[_0x1b5553(0x1de)],0x0)&&await MyReporter[_0x1b5553(0x261)](_0x56509d);const _0x3ae879={};_0x3ae879[_0x1b5553(0x16f)]=_0x23c76b,_0x2deacc['meta']=_0x3ae879;if(_0x39e91d[_0x1b5553(0x190)]){_0x2deacc[_0x1b5553(0x20a)]=_0x54f911[_0x1b5553(0x198)],_0x2deacc[_0x1b5553(0x1a8)]=_0x54f911[_0x1b5553(0x16c)](removeAnsiColors,_0x39e91d[_0x1b5553(0x190)][_0x1b5553(0x193)]),_0x2deacc['failure_type']=_0x54f911[_0x1b5553(0x263)](getFailureType,_0x39e91d['error'][_0x1b5553(0x193)]);const _0x149ee2=_0x54f911[_0x1b5553(0x1e3)](failureData,_0x39e91d[_0x1b5553(0x190)],_0x54f911[_0x1b5553(0x1bf)]);if(_0x149ee2&&_0x54f911[_0x1b5553(0x168)](_0x149ee2['length'],0x0)){const _0x3ea4e3={};_0x3ea4e3[_0x1b5553(0x25c)]=[_0x2deacc[_0x1b5553(0x1a8)]],_0x3ea4e3[_0x1b5553(0x228)]=[],_0x149ee2[_0x1b5553(0x1dc)](_0x3ea4e3);}_0x2deacc[_0x1b5553(0x265)]=_0x149ee2;}else _0x2deacc[_0x1b5553(0x20a)]=_0x54f911[_0x1b5553(0x163)];}const _0x3d84c7={};_0x3d84c7[_0x1b5553(0x235)]=_0x4d828d,_0x3d84c7['hook_run']=_0x2deacc;const _0x4db4ca=_0x3d84c7;await SessionHandler[_0x1b5553(0x200)](_0x4db4ca);}[a49_0x5e5d16(0x170)](_0x3702ed,_0xe57c1,_0x1b7ffa){return helper['getStepsAndLogs'](_0x3702ed,_0xe57c1,_0x1b7ffa);}async['sendTestRunEvent'](_0x23c488,_0x38b063,_0x308f07){const _0x1eac3a=a49_0x5e5d16,_0x35a6b8={'bopwh':function(_0x1879e0,_0x4fccfc){return _0x1879e0(_0x4fccfc);},'pWIuy':_0x1eac3a(0x1f0),'qswca':function(_0x1f670f,_0x43ae02){return _0x1f670f(_0x43ae02);},'rfDPv':_0x1eac3a(0x24f),'xbwPg':_0x1eac3a(0x1d9),'fKLFE':_0x1eac3a(0x1e1),'AxWMX':function(_0x3057bd,_0x1c0c70){return _0x3057bd(_0x1c0c70);},'dMaph':function(_0x135008,_0x4f1a2a,_0x543097,_0x3d0093,_0x24369f){return _0x135008(_0x4f1a2a,_0x543097,_0x3d0093,_0x24369f);},'vzcRM':function(_0x4496b2,_0x173ca0){return _0x4496b2>_0x173ca0;},'EGeyP':function(_0x4f302a,_0x283463,_0x371ffa){return _0x4f302a(_0x283463,_0x371ffa);},'tpqmj':function(_0x12c27e,_0x3d18eb){return _0x12c27e-_0x3d18eb;},'fDKXU':function(_0x31b1ee,_0x2d2748){return _0x31b1ee===_0x2d2748;},'UxXWL':'TestRunFinished','YDEeg':function(_0x1ad9c8,_0x29671d){return _0x1ad9c8>_0x29671d;},'TIIPW':function(_0x503b07,_0x27fd7f){return _0x503b07(_0x27fd7f);},'zxreP':function(_0x165328,_0x428ad0){return _0x165328(_0x428ad0);},'pienr':function(_0x2c0a39,_0x421a3a){return _0x2c0a39===_0x421a3a;},'enezK':_0x1eac3a(0x1f3),'mOUyJ':_0x1eac3a(0x17a),'wuBra':function(_0x32605e,_0x147cfb){return _0x32605e===_0x147cfb;},'MwpdB':function(_0x17414b,_0x207380){return _0x17414b===_0x207380;},'GPzfS':_0x1eac3a(0x196),'PgnbY':_0x1eac3a(0x267),'Ikccl':function(_0x3b7b7d,_0x447e66){return _0x3b7b7d===_0x447e66;},'dscbA':function(_0x54c681,_0x581c27){return _0x54c681===_0x581c27;},'OaYtt':_0x1eac3a(0x1b2),'ODscQ':function(_0x5a2a1b,_0x5ae19c){return _0x5a2a1b(_0x5ae19c);},'fmSrZ':function(_0x3da9c4,_0x5c59de){return _0x3da9c4(_0x5c59de);},'dTMVN':function(_0x176be5,_0x5b1c11,_0x71c518){return _0x176be5(_0x5b1c11,_0x71c518);},'SCsjX':function(_0x22ed84,_0x19db65){return _0x22ed84===_0x19db65;},'JJwWc':'path','UAjYD':function(_0x4e0ffc,_0x12c30b){return _0x4e0ffc(_0x12c30b);},'mlxgA':_0x1eac3a(0x1cb),'VvSBm':_0x1eac3a(0x162),'AdPbH':function(_0x26d51c,_0x44a065){return _0x26d51c(_0x44a065);},'UWqOt':function(_0x4795c4,_0x52adb5){return _0x4795c4!==_0x52adb5;},'avyVA':function(_0x1bf01f,_0x23d25d){return _0x1bf01f===_0x23d25d;}},_0x455b05=_0x35a6b8[_0x1eac3a(0x248)](getTestIdentifier,_0x23c488),_0x15fda3=this[_0x1eac3a(0x222)](_0x23c488),_0x56aa79=this['_tests'][_0x455b05],_0x5e1a79=path[_0x1eac3a(0x236)](process['cwd'](),_0x23c488['location']['file']);await this[_0x1eac3a(0x227)]();const _0x5720d5={'uuid':_0x56aa79[_0x1eac3a(0x23e)],'type':_0x35a6b8[_0x1eac3a(0x1c1)],'name':_0x23c488[_0x1eac3a(0x240)],'body':{'lang':_0x35a6b8['xbwPg'],'code':_0x23c488['fn'][_0x1eac3a(0x1ed)]()},'scope':_0x15fda3,'scopes':this['getHierarchy'](_0x23c488),'identifier':_0x455b05,'file_name':_0x5e1a79,'location':_0x5e1a79,'result':_0x35a6b8['fKLFE'],'duration_in_ms':_0x308f07&&_0x308f07['duration']?_0x308f07[_0x1eac3a(0x1ec)]:null,'vc_filepath':this['_gitConfigPath']&&_0x23c488[_0x1eac3a(0x172)][_0x1eac3a(0x1f7)]?path[_0x1eac3a(0x236)](this['_gitConfigPath'],_0x23c488['location'][_0x1eac3a(0x1f7)]):undefined,'started_at':_0x56aa79['startedAt'],'finished_at':_0x56aa79['finishedAt'],'framework':FRAMEWORKS[_0x1eac3a(0x1c0)],'customRerunParam':{'rerun_name':this[_0x1eac3a(0x1e4)](_0x23c488)},'tags':_0x35a6b8[_0x1eac3a(0x1ae)](getTestTags,_0x23c488)};_0x35a6b8['dMaph'](appendTesthubParams,_0x5720d5,_0x38b063,_0x23c488,FRAMEWORKS['PLAYWRIGHT']);_0x308f07&&_0x35a6b8['vzcRM'](_0x308f07[_0x1eac3a(0x252)],0x0)&&(_0x5720d5['retry_of']=TestDetails[_0x1eac3a(0x237)](_0x35a6b8[_0x1eac3a(0x206)](getTestRunIdentifier,_0x23c488,_0x35a6b8[_0x1eac3a(0x1da)](_0x308f07[_0x1eac3a(0x252)],0x1))));if(_0x35a6b8[_0x1eac3a(0x1c4)](_0x38b063,_0x35a6b8['UxXWL'])){try{const _0x4b67d0=TestDetails['getIntegrations'](_0x56aa79[_0x1eac3a(0x23e)]);_0x4b67d0&&_0x35a6b8[_0x1eac3a(0x165)](Object['keys'](_0x4b67d0)[_0x1eac3a(0x1de)],0x0)?_0x5720d5[_0x1eac3a(0x199)]=_0x4b67d0:_0x35a6b8[_0x1eac3a(0x19b)](debug,_0x1eac3a(0x1d4)+_0x56aa79[_0x1eac3a(0x23e)]+_0x1eac3a(0x24d));}catch(_0x1020cd){_0x35a6b8[_0x1eac3a(0x1cd)](debug,'Error\x20reading\x20integrations\x20for\x20test\x20'+_0x56aa79[_0x1eac3a(0x23e)]+':\x20'+util[_0x1eac3a(0x21e)](_0x1020cd));}_0x5720d5[_0x1eac3a(0x20a)]=_0x308f07[_0x1eac3a(0x210)];if(_0x35a6b8[_0x1eac3a(0x1b0)](_0x308f07[_0x1eac3a(0x210)],_0x23c488[_0x1eac3a(0x174)]))_0x5720d5[_0x1eac3a(0x20a)]=_0x35a6b8[_0x1eac3a(0x1c4)](_0x308f07['status'],_0x35a6b8[_0x1eac3a(0x238)])?_0x35a6b8[_0x1eac3a(0x238)]:_0x35a6b8[_0x1eac3a(0x1e7)];else{(_0x35a6b8[_0x1eac3a(0x217)](_0x5720d5[_0x1eac3a(0x20a)],_0x35a6b8[_0x1eac3a(0x1e7)])||_0x35a6b8[_0x1eac3a(0x243)](_0x5720d5['result'],_0x35a6b8[_0x1eac3a(0x1c9)])||_0x35a6b8[_0x1eac3a(0x1c4)](_0x5720d5[_0x1eac3a(0x20a)],_0x35a6b8[_0x1eac3a(0x257)]))&&(_0x5720d5[_0x1eac3a(0x20a)]=_0x35a6b8[_0x1eac3a(0x1c9)]);if(_0x35a6b8[_0x1eac3a(0x1e8)](_0x308f07['status'],_0x35a6b8[_0x1eac3a(0x1e7)])&&_0x35a6b8[_0x1eac3a(0x1c7)](_0x23c488['expectedStatus'],_0x35a6b8[_0x1eac3a(0x1c9)])){const _0x546412={};_0x546412[_0x1eac3a(0x193)]=_0x35a6b8[_0x1eac3a(0x22a)],_0x546412[_0x1eac3a(0x161)]=_0x35a6b8[_0x1eac3a(0x22a)],_0x308f07[_0x1eac3a(0x190)]=_0x546412,_0x308f07[_0x1eac3a(0x25f)]=[_0x308f07[_0x1eac3a(0x190)]];}}const _0x382b17=_0x35a6b8[_0x1eac3a(0x206)](getTestRunIdentifier,_0x23c488,_0x308f07['retry']);_0x5720d5['hooks']=this[_0x1eac3a(0x22c)][_0x382b17];const {steps:_0x338861,logs:_0x383dda}=this['getStepsAndLogs'](_0x308f07[_0x1eac3a(0x16f)],_0x56aa79[_0x1eac3a(0x23e)],_0x35a6b8[_0x1eac3a(0x1c1)]);await MyReporter[_0x1eac3a(0x261)](_0x383dda);const _0x4662e9={};_0x4662e9[_0x1eac3a(0x16f)]=_0x338861,_0x5720d5[_0x1eac3a(0x25e)]=_0x4662e9;if(_0x308f07[_0x1eac3a(0x190)]){_0x5720d5[_0x1eac3a(0x1a8)]=_0x35a6b8['ODscQ'](removeAnsiColors,_0x308f07['error'][_0x1eac3a(0x193)]),_0x5720d5[_0x1eac3a(0x234)]=_0x35a6b8['fmSrZ'](getFailureType,_0x308f07[_0x1eac3a(0x190)][_0x1eac3a(0x193)]);const _0x5e3f0e={};_0x5e3f0e[_0x1eac3a(0x19a)]=_0x56aa79[_0x1eac3a(0x23e)];const {failureData:_0x165cd0,logs:_0x19edd5}=_0x35a6b8[_0x1eac3a(0x24a)](getFailureData,_0x308f07['errors'],_0x5e3f0e);if(_0x165cd0&&_0x35a6b8[_0x1eac3a(0x16d)](_0x165cd0[_0x1eac3a(0x1de)],0x0)){const _0x107d9f={};_0x107d9f[_0x1eac3a(0x25c)]=[_0x5720d5['failure_reason']],_0x107d9f[_0x1eac3a(0x228)]=[],_0x165cd0['push'](_0x107d9f);}_0x5720d5[_0x1eac3a(0x265)]=_0x165cd0,_0x19edd5&&_0x35a6b8['vzcRM'](_0x19edd5[_0x1eac3a(0x1de)],0x0)&&await MyReporter[_0x1eac3a(0x261)](_0x19edd5);}}let _0x3653b3=_0x35a6b8[_0x1eac3a(0x206)](findNestedKey,_0x308f07,_0x35a6b8[_0x1eac3a(0x180)]);if(_0x3653b3&&_0x35a6b8[_0x1eac3a(0x25d)](validateFilePath,_0x3653b3))_0x35a6b8[_0x1eac3a(0x1cd)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x56aa79[_0x1eac3a(0x23e)]+'\x20at\x20'+_0x3653b3);else{const _0x1f6dc3=path[_0x1eac3a(0x1ce)](helper[_0x1eac3a(0x1bd)](),_0x35a6b8['mlxgA']);!fs['existsSync'](_0x1f6dc3)&&fs[_0x1eac3a(0x18b)](_0x1f6dc3),fs[_0x1eac3a(0x1f8)](path[_0x1eac3a(0x1ce)](_0x1f6dc3,_0x1eac3a(0x25a)+_0x56aa79[_0x1eac3a(0x23e)]+_0x1eac3a(0x23f)))&&(_0x3653b3=fs[_0x1eac3a(0x1e0)](path[_0x1eac3a(0x1ce)](_0x1f6dc3,_0x1eac3a(0x25a)+_0x56aa79[_0x1eac3a(0x23e)]+'.txt'),_0x35a6b8[_0x1eac3a(0x1b5)]),_0x35a6b8['AdPbH'](debug,_0x1eac3a(0x1b6)+_0x56aa79[_0x1eac3a(0x23e)]+_0x1eac3a(0x1d7)+_0x3653b3));}const _0x86805d={};_0x86805d[_0x1eac3a(0x235)]=_0x38b063,_0x86805d[_0x1eac3a(0x226)]=_0x5720d5;const _0x5f5dc7=_0x86805d;_0x3653b3&&_0x35a6b8[_0x1eac3a(0x17e)](_0x3653b3,'')&&_0x35a6b8[_0x1eac3a(0x182)](_0x38b063,_0x35a6b8[_0x1eac3a(0x22b)])&&(!_0x5f5dc7[_0x1eac3a(0x17f)]&&(_0x5f5dc7[_0x1eac3a(0x17f)]=[]),_0x3653b3[_0x1eac3a(0x1c3)]('\x0a')[_0x1eac3a(0x1b8)](_0x54777c=>{const _0x369c30=_0x1eac3a;_0x54777c&&_0x35a6b8[_0x369c30(0x233)](validateFilePath,_0x54777c)&&_0x5f5dc7[_0x369c30(0x17f)][_0x369c30(0x1dc)]({'kind':_0x35a6b8[_0x369c30(0x1b3)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x56aa79[_0x369c30(0x23e)],'file_name':path[_0x369c30(0x1b4)](_0x54777c),'file_size':fs[_0x369c30(0x1a1)](_0x54777c)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x1eac3a(0x200)](_0x5f5dc7);}['getCustomRerunParam'](_0x1bfc88){const _0xd374c8=a49_0x5e5d16,_0x4da033={};_0x4da033[_0xd374c8(0x1dd)]=function(_0xaa1935,_0x5cfdbb){return _0xaa1935===_0x5cfdbb;},_0x4da033[_0xd374c8(0x1a2)]=function(_0xda5047,_0x5adf99){return _0xda5047>_0x5adf99;},_0x4da033['MIgWR']=function(_0x5c1843,_0x3f06f9){return _0x5c1843+_0x3f06f9;},_0x4da033[_0xd374c8(0x22f)]=function(_0x2436d2,_0x55347b){return _0x2436d2+_0x55347b;};const _0x27456c=_0x4da033,_0x46844b=_0x1bfc88[_0xd374c8(0x255)]()[_0xd374c8(0x203)](_0x35ee5f=>{const _0x1bd52b=_0xd374c8;if(_0x1bfc88['parent']&&_0x27456c[_0x1bd52b(0x1dd)](_0x35ee5f,_0x1bfc88[_0x1bd52b(0x18a)]['title'])&&_0x1bfc88[_0x1bd52b(0x18a)]['_tags']&&_0x27456c[_0x1bd52b(0x1a2)](_0x1bfc88[_0x1bd52b(0x18a)][_0x1bd52b(0x24b)][_0x1bd52b(0x1de)],0x0))return _0x27456c[_0x1bd52b(0x225)](_0x27456c[_0x1bd52b(0x22f)](_0x35ee5f,'\x20'),_0x1bfc88[_0x1bd52b(0x18a)][_0x1bd52b(0x24b)]['join']('\x20'));if(_0x27456c[_0x1bd52b(0x1dd)](_0x35ee5f,_0x1bfc88[_0x1bd52b(0x240)])&&_0x1bfc88['_tags']&&_0x27456c['mbUON'](_0x1bfc88['_tags'][_0x1bd52b(0x1de)],0x0))return _0x27456c[_0x1bd52b(0x225)](_0x27456c[_0x1bd52b(0x22f)](_0x35ee5f,'\x20'),_0x1bfc88['_tags']['join']('\x20'));return _0x35ee5f;})[_0xd374c8(0x1ce)]('\x20');return _0x46844b;}static async[a49_0x5e5d16(0x167)](_0x65fd39,_0x1e4b6d){const _0x5323b2=a49_0x5e5d16,_0x3114b8={'HTKyQ':function(_0x25f800,_0xdc5e2){return _0x25f800(_0xdc5e2);},'bUyYn':_0x5323b2(0x1ff)},_0x250be8={'uuid':TestDetails[_0x5323b2(0x237)](_0x65fd39),'integrations':_0x1e4b6d},_0x461186={};_0x461186[_0x5323b2(0x205)]=null,_0x3114b8[_0x5323b2(0x214)](debug,_0x5323b2(0x253)+_0x65fd39+',\x20'+util['inspect'](_0x1e4b6d,_0x461186));const _0x3cac37={};_0x3cac37[_0x5323b2(0x235)]=_0x3114b8[_0x5323b2(0x1a5)],_0x3cac37['test_run']=_0x250be8,await SessionHandler[_0x5323b2(0x200)](_0x3cac37);}async[a49_0x5e5d16(0x227)](){const _0x38dcf7=a49_0x5e5d16,_0x70b470={'lIHEW':function(_0x230f71){return _0x230f71();}};if(this['_gitConfigured'])return;const _0x3e9cb6=await _0x70b470[_0x38dcf7(0x1ba)](getGitMetaData);_0x3e9cb6&&(this[_0x38dcf7(0x259)]=_0x3e9cb6[_0x38dcf7(0x16b)]),this[_0x38dcf7(0x1d1)]=!![];}[a49_0x5e5d16(0x186)](_0x280e32){const _0x4d9ef2=a49_0x5e5d16,_0x2be222={};_0x2be222[_0x4d9ef2(0x216)]=function(_0x1eb56e,_0x53ac82){return _0x1eb56e!==_0x53ac82;};const _0x5232b0=_0x2be222,_0x2f2173=[];if(_0x280e32&&_0x280e32[_0x4d9ef2(0x18a)]){let _0x246984=_0x280e32[_0x4d9ef2(0x18a)];while(_0x246984&&_0x5232b0[_0x4d9ef2(0x216)](_0x246984[_0x4d9ef2(0x240)],'')){_0x2f2173[_0x4d9ef2(0x1dc)](_0x246984[_0x4d9ef2(0x240)]),_0x246984=_0x246984[_0x4d9ef2(0x18a)];}}return _0x2f2173[_0x4d9ef2(0x250)]()[_0x4d9ef2(0x219)](0x0,0x2),_0x2f2173;}[a49_0x5e5d16(0x1d6)](_0x138bc4){const _0x552dc5=a49_0x5e5d16,_0x15144b={};_0x15144b[_0x552dc5(0x189)]=function(_0x33bdb7,_0x197441){return _0x33bdb7===_0x197441;},_0x15144b[_0x552dc5(0x20f)]=_0x552dc5(0x1f6),_0x15144b[_0x552dc5(0x1fd)]=function(_0x4282f8,_0x5d1811){return _0x4282f8!==_0x5d1811;},_0x15144b[_0x552dc5(0x1ad)]=_0x552dc5(0x197),_0x15144b[_0x552dc5(0x208)]='beforeEach\x20hook',_0x15144b['rOYKW']=_0x552dc5(0x19e),_0x15144b[_0x552dc5(0x224)]=_0x552dc5(0x19f),_0x15144b[_0x552dc5(0x1be)]=_0x552dc5(0x1f4);const _0x144557=_0x15144b;if(_0x144557['kGwNN'](_0x138bc4[_0x552dc5(0x1b9)],_0x144557[_0x552dc5(0x20f)]))return!![];if(_0x144557[_0x552dc5(0x1fd)](_0x138bc4[_0x552dc5(0x1b9)],_0x144557[_0x552dc5(0x1ad)]))return![];if(_0x144557[_0x552dc5(0x189)]([_0x144557['KbpDh'],_0x144557[_0x552dc5(0x21d)],_0x144557[_0x552dc5(0x224)],_0x144557[_0x552dc5(0x1be)]][_0x552dc5(0x211)](_0x138bc4[_0x552dc5(0x240)]),-0x1))return![];return!![];}[a49_0x5e5d16(0x1af)](_0x207bd3,_0x46631b){const _0x4ebd22=a49_0x5e5d16,_0x240faa={'jcPZx':function(_0x39f9db,_0x5956d1){return _0x39f9db(_0x5956d1);}},_0x47ecfa=_0x46631b[_0x4ebd22(0x212)];if(_0x47ecfa)return _0x47ecfa;return _0x46631b[_0x4ebd22(0x240)]+_0x4ebd22(0x23a)+_0x240faa[_0x4ebd22(0x1a0)](getTestIdentifier,_0x207bd3);}['setStepIdentifier'](_0x25f158,_0x583966){const _0x4bc07c=a49_0x5e5d16,_0xb4a518={'PkpzO':function(_0x41aff3,_0x357a8d){return _0x41aff3(_0x357a8d);},'pgmMM':function(_0x5d9180){return _0x5d9180();}};let _0x1d11cc=_0x583966[_0x4bc07c(0x240)]+_0x4bc07c(0x23a)+_0xb4a518['PkpzO'](getTestIdentifier,_0x25f158);return this[_0x4bc07c(0x171)][_0x1d11cc]&&(_0x1d11cc=_0x1d11cc+'\x20-\x20'+_0xb4a518['pgmMM'](uuidv4)),_0x583966[_0x4bc07c(0x212)]=_0x1d11cc,_0x1d11cc;}[a49_0x5e5d16(0x249)]=_0x38155f=>{const _0x3c333f=a49_0x5e5d16,_0x13d69a={};_0x13d69a['CFHDG']=_0x3c333f(0x177),_0x13d69a[_0x3c333f(0x23b)]=_0x3c333f(0x1e2),_0x13d69a[_0x3c333f(0x244)]=_0x3c333f(0x19e),_0x13d69a[_0x3c333f(0x164)]=_0x3c333f(0x1bb),_0x13d69a[_0x3c333f(0x16e)]=_0x3c333f(0x1f4),_0x13d69a[_0x3c333f(0x232)]=_0x3c333f(0x1f5),_0x13d69a[_0x3c333f(0x1d2)]=_0x3c333f(0x19f),_0x13d69a[_0x3c333f(0x1c2)]=_0x3c333f(0x268),_0x13d69a[_0x3c333f(0x251)]=_0x3c333f(0x1b1);const _0x2832f1=_0x13d69a;if(_0x38155f[_0x3c333f(0x1d3)](_0x2832f1[_0x3c333f(0x266)]))return _0x2832f1[_0x3c333f(0x23b)];else{if(_0x38155f[_0x3c333f(0x1d3)](_0x2832f1['kyzFo']))return _0x2832f1[_0x3c333f(0x164)];else{if(_0x38155f['startsWith'](_0x2832f1['Yuzom']))return _0x2832f1['VXovR'];else{if(_0x38155f[_0x3c333f(0x1d3)](_0x2832f1[_0x3c333f(0x1d2)]))return _0x2832f1['yKHvX'];}}}return _0x2832f1[_0x3c333f(0x251)];};[a49_0x5e5d16(0x222)]=_0x4adaa5=>{const _0x46072c=a49_0x5e5d16,_0x2a9627={};_0x2a9627['MdgEg']=function(_0x13d046,_0xab1f42){return _0x13d046===_0xab1f42;},_0x2a9627['cEjgH']='object';const _0x471e92=_0x2a9627;let _0x969c98=_0x4adaa5[_0x46072c(0x18a)];return _0x471e92['MdgEg'](typeof _0x4adaa5[_0x46072c(0x18a)],_0x471e92[_0x46072c(0x1ea)])&&(_0x969c98=_0x969c98[_0x46072c(0x240)]),_0x969c98+_0x46072c(0x1fa)+_0x4adaa5[_0x46072c(0x240)];};[a49_0x5e5d16(0x1ab)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,['onBegin',a49_0x5e5d16(0x241),'onTestBegin',a49_0x5e5d16(0x1fe),a49_0x5e5d16(0x213),'onStepEnd',a49_0x5e5d16(0x167)],a49_0x5e5d16(0x220));
1
+ const a49_0x2e2e09=a49_0x4a66;(function(_0x231a5f,_0x32388a){const _0x1b82f9=a49_0x4a66,_0x4fbf47=_0x231a5f();while(!![]){try{const _0x121ba1=-parseInt(_0x1b82f9(0x1aa))/0x1+-parseInt(_0x1b82f9(0x15f))/0x2+parseInt(_0x1b82f9(0x196))/0x3*(-parseInt(_0x1b82f9(0x176))/0x4)+parseInt(_0x1b82f9(0x1a2))/0x5*(-parseInt(_0x1b82f9(0x226))/0x6)+parseInt(_0x1b82f9(0x248))/0x7*(-parseInt(_0x1b82f9(0x1b6))/0x8)+-parseInt(_0x1b82f9(0x17d))/0x9*(parseInt(_0x1b82f9(0x20c))/0xa)+parseInt(_0x1b82f9(0x1af))/0xb;if(_0x121ba1===_0x32388a)break;else _0x4fbf47['push'](_0x4fbf47['shift']());}catch(_0x26b68d){_0x4fbf47['push'](_0x4fbf47['shift']());}}}(a49_0xaac1,0xe2201));const RequestQueueHandler=require(a49_0x2e2e09(0x185)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require(a49_0x2e2e09(0x1d0)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a49_0x2e2e09(0x197)),{getGitMetaData,setLogLevel}=require(a49_0x2e2e09(0x1a4)),TestDetails=require(a49_0x2e2e09(0x237)),fs=require('fs'),util=require(a49_0x2e2e09(0x1dd)),{o11yClassErrorHandler}=require(a49_0x2e2e09(0x254)),PerformanceTester=require(a49_0x2e2e09(0x1f0)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a49_0x2e2e09(0x1f7)),{appendTesthubParams}=require(a49_0x2e2e09(0x201)),helper=require(a49_0x2e2e09(0x1a4)),BrowserstackCLI=require(a49_0x2e2e09(0x215)),TestFrameworkState=require(a49_0x2e2e09(0x1ea)),HookState=require(a49_0x2e2e09(0x1b3)),TestInfo=require(a49_0x2e2e09(0x216)),{PLAYWRIGHT_TRACE_LOGS}=require(a49_0x2e2e09(0x1e4));class MyReporter{constructor(_0x5587af){const _0x214303=a49_0x2e2e09,_0xa04f17={'LdtOj':_0x214303(0x1d5),'voCad':function(_0x5087b9,_0x408c0a,_0x4e1510,_0x4ea7f0){return _0x5087b9(_0x408c0a,_0x4e1510,_0x4ea7f0);},'llmsY':_0x214303(0x1c3)},_0x5c3ecf=_0xa04f17[_0x214303(0x16e)][_0x214303(0x21c)]('|');let _0x31aefc=0x0;while(!![]){switch(_0x5c3ecf[_0x31aefc++]){case'0':this[_0x214303(0x1f6)]={};continue;case'1':this[_0x214303(0x192)]=![];continue;case'2':this[_0x214303(0x1c1)]=[];continue;case'3':const _0x11fb83={};_0x11fb83[_0x214303(0x18e)]=process[_0x214303(0x23b)][_0x214303(0x253)],_0xa04f17[_0x214303(0x244)](setLogLevel,_0x11fb83,new Map(),new Map());continue;case'4':this[_0x214303(0x23e)]=null;continue;case'5':process['env'][_0x214303(0x1a8)]&&(PerformanceTester['startMonitoring'](_0xa04f17['llmsY']),process[_0x214303(0x23b)][_0x214303(0x238)]=new Date()[_0x214303(0x24e)]());continue;case'6':this[_0x214303(0x252)]={};continue;case'7':this['options']=_0x5587af;continue;}break;}}async[a49_0x2e2e09(0x1e2)](){const _0x4e0f48=a49_0x2e2e09,_0x2f5761={};_0x2f5761[_0x4e0f48(0x161)]=_0x4e0f48(0x250);const _0x20b30d=_0x2f5761;TestDetails[_0x4e0f48(0x14e)](),await this['configureGit'](),TestInfo[_0x4e0f48(0x14e)](_0x20b30d[_0x4e0f48(0x161)]);if(BrowserstackCLI['getInstance']()['isRunning']()){await BrowserstackCLI[_0x4e0f48(0x20a)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x4e0f48(0x1e3)],HookState['PRE'],{});return;}}async[a49_0x2e2e09(0x233)](_0x17f374,_0xaa2d6){const _0x45abba=a49_0x2e2e09,_0x4224cc={'bpDzR':function(_0x1f0746,_0x4f5419){return _0x1f0746(_0x4f5419);},'daDzD':function(_0xb29a8b,_0x1d75a6,_0x120f78){return _0xb29a8b(_0x1d75a6,_0x120f78);},'TAGQp':'TestRunStarted'};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x32d1aa={};_0x32d1aa[_0x45abba(0x1bf)]=_0x17f374,_0x32d1aa[_0x45abba(0x20f)]=_0xaa2d6,await BrowserstackCLI[_0x45abba(0x20a)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x45abba(0x1e1)],HookState[_0x45abba(0x1b2)],_0x32d1aa);return;}const _0x2b0082=_0x4224cc['bpDzR'](getTestIdentifier,_0x17f374),_0x5d94ba=TestDetails[_0x45abba(0x149)](_0x4224cc[_0x45abba(0x160)](getTestRunIdentifier,_0x17f374,_0xaa2d6['retry']));process['env'][_0x45abba(0x155)]=_0x5d94ba;const _0x1af20c={};_0x1af20c[_0x45abba(0x1d0)]=_0x5d94ba,_0x1af20c[_0x45abba(0x18b)]=_0xaa2d6[_0x45abba(0x255)],this[_0x45abba(0x252)][_0x2b0082]=_0x1af20c,_0x4224cc[_0x45abba(0x16b)](trace,_0x45abba(0x156)+_0x2b0082),await this[_0x45abba(0x21b)](_0x17f374,_0x4224cc[_0x45abba(0x204)],_0xaa2d6);}async[a49_0x2e2e09(0x169)](_0xf3c207,_0x4f9107,_0x360e8a){const _0x30712e=a49_0x2e2e09,_0x3f1e5c={'gnyyb':function(_0x3deb25,_0x114973){return _0x3deb25===_0x114973;},'pyVBe':_0x30712e(0x1f9),'hvkxl':function(_0x54b194,_0x5e0737,_0x4883a8){return _0x54b194(_0x5e0737,_0x4883a8);},'rfQbW':function(_0x12e631,_0xe35150){return _0x12e631(_0xe35150);},'MTfsS':_0x30712e(0x21f)};if(!this[_0x30712e(0x14b)](_0x360e8a,_0xf3c207))return;if(_0x3f1e5c[_0x30712e(0x210)](_0x360e8a['category'],_0x3f1e5c[_0x30712e(0x236)])){if(BrowserstackCLI[_0x30712e(0x20a)]()[_0x30712e(0x1a3)]()){const _0x3d81f3={};_0x3d81f3[_0x30712e(0x1bf)]=_0xf3c207,_0x3d81f3['result']=_0x4f9107,_0x3d81f3[_0x30712e(0x183)]=_0x360e8a,await BrowserstackCLI[_0x30712e(0x20a)]()[_0x30712e(0x193)]()[_0x30712e(0x1c0)](TestFrameworkState[_0x30712e(0x22f)],HookState['PRE'],_0x3d81f3);}return;}if(BrowserstackCLI[_0x30712e(0x20a)]()[_0x30712e(0x1a3)]()){const _0x13095e=this['getHookType'](_0x360e8a[_0x30712e(0x220)]),_0x4cbbd4=TestFrameworkState[_0x13095e],_0x571fa7={};_0x571fa7[_0x30712e(0x1bf)]=_0xf3c207,_0x571fa7[_0x30712e(0x20f)]=_0x4f9107,_0x571fa7['step']=_0x360e8a,await BrowserstackCLI[_0x30712e(0x20a)]()[_0x30712e(0x193)]()[_0x30712e(0x1c0)](_0x4cbbd4,HookState[_0x30712e(0x1b2)],_0x571fa7);return;}const _0x35b2b7=this[_0x30712e(0x150)](_0xf3c207,_0x360e8a);this[_0x30712e(0x252)][_0x35b2b7]={'uuid':TestDetails['getTestUUID'](_0x35b2b7),'startedAt':_0x360e8a[_0x30712e(0x255)][_0x30712e(0x24e)]()};const _0x98d9c3=_0x3f1e5c['hvkxl'](getTestRunIdentifier,_0xf3c207,_0x4f9107['retry']);!this['_testHooksMap'][_0x98d9c3]&&(this[_0x30712e(0x1f6)][_0x98d9c3]=[]),this[_0x30712e(0x1f6)][_0x98d9c3][_0x30712e(0x1fd)](this['_tests'][_0x35b2b7][_0x30712e(0x1d0)]),_0x3f1e5c['rfQbW'](trace,_0x30712e(0x1bb)+_0x35b2b7+_0x30712e(0x227)+_0x98d9c3),await this['sendHookRunEvent'](_0xf3c207,_0x360e8a,_0x3f1e5c[_0x30712e(0x15d)],_0x4f9107);}async['onStepEnd'](_0x42a792,_0x46193d,_0x2d700d){const _0x45b264=a49_0x2e2e09,_0x24d9d6={'wwcGT':function(_0x23f39c,_0x41a70a){return _0x23f39c===_0x41a70a;},'bTTdH':'test.step','qIGKD':function(_0x4904ce,_0x5b8e78){return _0x4904ce+_0x5b8e78;},'CIIkT':function(_0x32be83,_0x355320){return _0x32be83(_0x355320);},'ijORs':_0x45b264(0x1f2)};if(!this[_0x45b264(0x14b)](_0x2d700d,_0x42a792))return;if(_0x24d9d6[_0x45b264(0x1de)](_0x2d700d[_0x45b264(0x167)],_0x24d9d6[_0x45b264(0x232)])){if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x5dc4d5={};_0x5dc4d5[_0x45b264(0x1bf)]=_0x42a792,_0x5dc4d5[_0x45b264(0x20f)]=_0x46193d,_0x5dc4d5[_0x45b264(0x183)]=_0x2d700d,await BrowserstackCLI['getInstance']()[_0x45b264(0x193)]()[_0x45b264(0x1c0)](TestFrameworkState[_0x45b264(0x22f)],HookState['POST'],_0x5dc4d5);}return;}if(BrowserstackCLI[_0x45b264(0x20a)]()[_0x45b264(0x1a3)]()){const _0x50d424=this['getHookType'](_0x2d700d[_0x45b264(0x220)]),_0x27859d=TestFrameworkState[_0x50d424],_0x2bbd5f={};_0x2bbd5f[_0x45b264(0x1bf)]=_0x42a792,_0x2bbd5f[_0x45b264(0x20f)]=_0x46193d,_0x2bbd5f[_0x45b264(0x183)]=_0x2d700d,await BrowserstackCLI['getInstance']()[_0x45b264(0x193)]()['trackEvent'](_0x27859d,HookState[_0x45b264(0x22d)],_0x2bbd5f);return;}const _0x47b1c0=this[_0x45b264(0x189)](_0x42a792,_0x2d700d);this[_0x45b264(0x252)][_0x47b1c0]={...this['_tests'][_0x47b1c0]||{},'finishedAt':new Date(_0x24d9d6[_0x45b264(0x22e)](_0x2d700d['startTime'][_0x45b264(0x190)](),_0x2d700d[_0x45b264(0x1fc)]))},_0x24d9d6[_0x45b264(0x1dc)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x47b1c0+_0x45b264(0x163)),await this[_0x45b264(0x1f4)](_0x42a792,_0x2d700d,_0x24d9d6[_0x45b264(0x1ae)],_0x46193d);}async['onTestEnd'](_0x308408,_0x7922c0){const _0xb8cb2b=a49_0x2e2e09,_0x25d648={'LdrzX':function(_0x1876be,_0x4f19d5){return _0x1876be===_0x4f19d5;},'pqVel':'screenshot','AKMZh':'TEST_SCREENSHOT','SwsNX':_0xb8cb2b(0x171),'SJmga':function(_0x4d770b,_0x250e1c){return _0x4d770b(_0x250e1c);},'KKKbU':function(_0x16653f,_0x42d929,_0x5953e0){return _0x16653f(_0x42d929,_0x5953e0);},'TBwqp':function(_0x3a54ce,_0x501e66){return _0x3a54ce(_0x501e66);},'XxxNw':_0xb8cb2b(0x1db),'gtLCX':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','IqtBF':function(_0x57eb0a,_0x4920f2){return _0x57eb0a(_0x4920f2);},'GuMMP':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','FZxyQ':function(_0x34a4e1,_0x43b98a){return _0x34a4e1>_0x43b98a;}};if(BrowserstackCLI[_0xb8cb2b(0x20a)]()[_0xb8cb2b(0x1a3)]()){const _0x936cf9={};_0x936cf9[_0xb8cb2b(0x1bf)]=_0x308408,_0x936cf9[_0xb8cb2b(0x20f)]=_0x7922c0,this[_0xb8cb2b(0x1c1)][_0xb8cb2b(0x1fd)](BrowserstackCLI['getInstance']()[_0xb8cb2b(0x193)]()[_0xb8cb2b(0x1c0)](TestFrameworkState['TEST'],HookState[_0xb8cb2b(0x22d)],_0x936cf9));return;}const _0x5d5e31=_0x25d648[_0xb8cb2b(0x1ca)](getTestIdentifier,_0x308408),_0x5c2819=TestDetails[_0xb8cb2b(0x149)](_0x25d648['KKKbU'](getTestRunIdentifier,_0x308408,_0x7922c0['retry']));this[_0xb8cb2b(0x252)][_0x5d5e31]={...this['_tests'][_0x5d5e31]||{},'finishedAt':new Date()[_0xb8cb2b(0x24e)]()},_0x25d648['TBwqp'](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x5d5e31);try{await this[_0xb8cb2b(0x21b)](_0x308408,_0x25d648[_0xb8cb2b(0x14c)],_0x7922c0);}catch(_0x464e0b){_0x25d648[_0xb8cb2b(0x214)](debug,util[_0xb8cb2b(0x175)](_0x25d648[_0xb8cb2b(0x1fb)],_0x464e0b[_0xb8cb2b(0x230)]()));}try{_0x25d648['IqtBF'](debug,_0xb8cb2b(0x21e)+_0x5c2819),await _0x25d648[_0xb8cb2b(0x146)](sendTraceZip,_0x7922c0,_0x5c2819);}catch(_0x6918ac){_0x25d648[_0xb8cb2b(0x1ca)](debug,util[_0xb8cb2b(0x175)](_0x25d648[_0xb8cb2b(0x19b)],_0x6918ac['toString']()));}const _0x5e9dba=[];_0x7922c0[_0xb8cb2b(0x1c4)]&&_0x7922c0[_0xb8cb2b(0x1c4)][_0xb8cb2b(0x199)](_0x253426=>{const _0x106cef=_0xb8cb2b;if(_0x25d648[_0x106cef(0x172)](_0x253426[_0x106cef(0x1d3)],_0x25d648[_0x106cef(0x1eb)])){if(!_0x253426['path']||!fs[_0x106cef(0x1cd)](_0x253426[_0x106cef(0x157)]))return;_0x5e9dba[_0x106cef(0x1fd)]({'test_run_uuid':_0x5c2819,'timestamp':fs[_0x106cef(0x17b)](_0x253426[_0x106cef(0x157)])[_0x106cef(0x188)],'kind':_0x25d648[_0x106cef(0x235)],'message':fs[_0x106cef(0x256)](_0x253426[_0x106cef(0x157)],{'encoding':_0x25d648[_0x106cef(0x18c)]})});}}),_0x25d648[_0xb8cb2b(0x18d)](_0x5e9dba[_0xb8cb2b(0x181)],0x0)&&await MyReporter[_0xb8cb2b(0x159)](_0x5e9dba);}async[a49_0x2e2e09(0x1a0)](){const _0x72b13e=a49_0x2e2e09;await RequestQueueHandler[_0x72b13e(0x20a)]()['shutdown']();}async[a49_0x2e2e09(0x229)](_0x3ff03f){const _0x2d0863=a49_0x2e2e09,_0x38223b={'YskCn':function(_0x3f7f6c){return _0x3f7f6c();},'tMPZE':function(_0x3a9ff7,_0x5c5506){return _0x3a9ff7(_0x5c5506);}};await Promise[_0x2d0863(0x1b1)](this[_0x2d0863(0x1c1)]),await this[_0x2d0863(0x1a0)]();try{process[_0x2d0863(0x23b)][_0x2d0863(0x1a8)]&&await _0x38223b[_0x2d0863(0x21a)](calculatePerformance);}catch(_0x9e561d){_0x38223b[_0x2d0863(0x20e)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x9e561d[_0x2d0863(0x230)]());}}static async[a49_0x2e2e09(0x1e7)](_0x2096bf,_0x415b95){const _0x2aabf9=a49_0x2e2e09;_0x415b95[_0x2aabf9(0x22b)]=TestDetails[_0x2aabf9(0x149)](_0x2096bf),await this[_0x2aabf9(0x159)]([_0x415b95]);}static async['reportLogs'](_0x5eb47a){const _0x34e22a=a49_0x2e2e09,_0x208ff9={};_0x208ff9[_0x34e22a(0x154)]=_0x34e22a(0x158);const _0x720ca7=_0x208ff9;if(BrowserstackCLI[_0x34e22a(0x20a)]()[_0x34e22a(0x1a3)]())return;const _0x2a3ae1={};_0x2a3ae1['event_type']=_0x720ca7[_0x34e22a(0x154)],_0x2a3ae1[_0x34e22a(0x14a)]=_0x5eb47a,await SessionHandler[_0x34e22a(0x1ad)](_0x2a3ae1);}async['sendHookRunEvent'](_0x37d7da,_0x2d8202,_0x2d7f2a,_0x513282){const _0x37b716=a49_0x2e2e09,_0x4e6f53={'yUWXX':_0x37b716(0x1fa),'zkzXB':_0x37b716(0x22c),'QHxMs':_0x37b716(0x217),'EbjNw':function(_0x595d71,_0x2404c5){return _0x595d71>=_0x2404c5;},'fIqXR':function(_0x41c9ac,_0x7d40ca){return _0x41c9ac===_0x7d40ca;},'FMUEi':_0x37b716(0x1f2),'fNnXX':function(_0x52d81a,_0x19cf90){return _0x52d81a>_0x19cf90;},'QQBqa':_0x37b716(0x1d6),'fQHNj':function(_0x143ed6,_0x3b62b1){return _0x143ed6(_0x3b62b1);},'YDvFA':function(_0x55a501,_0x50bcb5,_0x2709f9){return _0x55a501(_0x50bcb5,_0x2709f9);},'StdEu':_0x37b716(0x221),'ZUcBx':function(_0x3dbf37,_0x22554b){return _0x3dbf37===_0x22554b;},'xtzno':'passed'},_0xbb5143=this['getStepIdentifier'](_0x37d7da,_0x2d8202),_0x38ae8c=this[_0x37b716(0x252)][_0xbb5143],_0x2825bf={'uuid':_0x38ae8c[_0x37b716(0x1d0)],'type':_0x4e6f53[_0x37b716(0x17f)],'hook_type':this[_0x37b716(0x14d)](_0x2d8202[_0x37b716(0x220)]),'name':_0x2d8202[_0x37b716(0x220)],'scope':this[_0x37b716(0x147)](_0x2d8202),'scopes':this['getHierarchy'](_0x37d7da),'body':{'lang':_0x4e6f53[_0x37b716(0x22a)],'code':null},'identifier':_0xbb5143,'file_name':path[_0x37b716(0x243)](process['cwd'](),_0x37d7da[_0x37b716(0x178)][_0x37b716(0x165)]),'location':path[_0x37b716(0x243)](process['cwd'](),_0x37d7da[_0x37b716(0x178)][_0x37b716(0x165)]),'result':_0x4e6f53[_0x37b716(0x247)],'duration_in_ms':_0x4e6f53['EbjNw'](_0x2d8202[_0x37b716(0x1fc)],0x0)?_0x2d8202[_0x37b716(0x1fc)]:undefined,'vc_filepath':this[_0x37b716(0x23e)]&&_0x37d7da['location']['file']?path[_0x37b716(0x243)](this['_gitConfigPath'],_0x37d7da['location'][_0x37b716(0x165)]):undefined,'started_at':_0x38ae8c['startedAt'],'finished_at':_0x38ae8c[_0x37b716(0x1d7)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x4e6f53[_0x37b716(0x1e9)](_0x2d7f2a,_0x4e6f53[_0x37b716(0x15c)])){const {steps:_0x133919,logs:_0x1f4f0e}=this['getStepsAndLogs'](_0x2d8202['steps'],_0x38ae8c['uuid'],_0x4e6f53[_0x37b716(0x17f)]);_0x1f4f0e&&_0x4e6f53[_0x37b716(0x1a5)](_0x1f4f0e[_0x37b716(0x181)],0x0)&&await MyReporter[_0x37b716(0x159)](_0x1f4f0e);const _0x1e4a93={};_0x1e4a93[_0x37b716(0x1b7)]=_0x133919,_0x2825bf[_0x37b716(0x198)]=_0x1e4a93;if(_0x2d8202['error']){_0x2825bf['result']=_0x4e6f53[_0x37b716(0x224)],_0x2825bf[_0x37b716(0x1bc)]=_0x4e6f53[_0x37b716(0x1b5)](removeAnsiColors,_0x2d8202[_0x37b716(0x17a)][_0x37b716(0x1ee)]),_0x2825bf[_0x37b716(0x234)]=_0x4e6f53['fQHNj'](getFailureType,_0x2d8202[_0x37b716(0x17a)][_0x37b716(0x1ee)]);const _0x2755e7=_0x4e6f53['YDvFA'](failureData,_0x2d8202['error'],_0x4e6f53[_0x37b716(0x242)]);if(_0x2755e7&&_0x4e6f53[_0x37b716(0x1df)](_0x2755e7['length'],0x0)){const _0x3f68c4={};_0x3f68c4[_0x37b716(0x16a)]=[_0x2825bf['failure_reason']],_0x3f68c4[_0x37b716(0x164)]=[],_0x2755e7[_0x37b716(0x1fd)](_0x3f68c4);}_0x2825bf[_0x37b716(0x228)]=_0x2755e7;}else _0x2825bf['result']=_0x4e6f53[_0x37b716(0x1e5)];}const _0x183855={};_0x183855[_0x37b716(0x1a9)]=_0x2d7f2a,_0x183855[_0x37b716(0x251)]=_0x2825bf;const _0x9c54e8=_0x183855;await SessionHandler['uploadEventData'](_0x9c54e8);}[a49_0x2e2e09(0x223)](_0x1623c5,_0x3982dc,_0x30024c){const _0x1fe138=a49_0x2e2e09;return helper[_0x1fe138(0x223)](_0x1623c5,_0x3982dc,_0x30024c);}async[a49_0x2e2e09(0x21b)](_0x1d31aa,_0x1f3661,_0x2d9ee4){const _0x1201ad=a49_0x2e2e09,_0x58d9bb={'dCBCn':function(_0x48c0da,_0x2d739c){return _0x48c0da(_0x2d739c);},'VbMbK':_0x1201ad(0x1f5),'VDuDq':function(_0x5c054c,_0xe935d4){return _0x5c054c(_0xe935d4);},'IcgwU':_0x1201ad(0x1bf),'UNDLn':'javascript','HhpxD':_0x1201ad(0x217),'XTOOv':function(_0xf1eacd,_0x5e1054){return _0xf1eacd(_0x5e1054);},'YPBYi':function(_0x3bfe21,_0x20ae10,_0x41d6f6,_0x2e6d80,_0x50fc55){return _0x3bfe21(_0x20ae10,_0x41d6f6,_0x2e6d80,_0x50fc55);},'nEMxj':function(_0x37dd70,_0x2871a0){return _0x37dd70>_0x2871a0;},'tODUV':function(_0x35b2d6,_0x5a045a,_0x4b35e2){return _0x35b2d6(_0x5a045a,_0x4b35e2);},'cTCdi':function(_0x5a0f84,_0x5eb78c){return _0x5a0f84-_0x5eb78c;},'LiINO':function(_0x5a34dc,_0xa0564d){return _0x5a34dc===_0xa0564d;},'vyIgN':_0x1201ad(0x1db),'DgUmb':function(_0x4144c7,_0x49cdf3){return _0x4144c7(_0x49cdf3);},'gjZOc':function(_0x3d08d5,_0x37ac29){return _0x3d08d5===_0x37ac29;},'WCqOk':function(_0x83c319,_0x2b534b){return _0x83c319===_0x2b534b;},'OikZg':_0x1201ad(0x177),'INNHQ':_0x1201ad(0x1f8),'bLLsH':function(_0x2c6869,_0x30ba9f){return _0x2c6869===_0x30ba9f;},'CtAwp':function(_0x375bd3,_0xee85f6){return _0x375bd3===_0xee85f6;},'EXYdv':_0x1201ad(0x1d6),'nyIJr':_0x1201ad(0x15a),'ySbxy':function(_0x8656a4,_0x2cdc01){return _0x8656a4===_0x2cdc01;},'XFpyM':function(_0x3e82ba,_0x55f65f){return _0x3e82ba===_0x55f65f;},'SgtsJ':_0x1201ad(0x1b4),'GXewa':function(_0x58e525,_0x4a3f23,_0xccef5b){return _0x58e525(_0x4a3f23,_0xccef5b);},'SroIV':function(_0x376a9c,_0x4c0c45){return _0x376a9c===_0x4c0c45;},'DNRDp':function(_0x339d9d,_0x34914a,_0xdc5f7f){return _0x339d9d(_0x34914a,_0xdc5f7f);},'TGvVK':_0x1201ad(0x157),'nuMAR':function(_0x372567,_0x258f68){return _0x372567(_0x258f68);},'IszXR':_0x1201ad(0x186),'ptiin':_0x1201ad(0x245),'wVtsE':function(_0x5c9ad2,_0x16f501){return _0x5c9ad2(_0x16f501);},'LPiGf':function(_0x128e62,_0x1d2db0){return _0x128e62!==_0x1d2db0;},'VxJQF':function(_0x209cde,_0x43bd67){return _0x209cde===_0x43bd67;}},_0x1ceb1e=_0x58d9bb['VDuDq'](getTestIdentifier,_0x1d31aa),_0x444d9a=this['getScope'](_0x1d31aa),_0x969e59=this['_tests'][_0x1ceb1e],_0x1c5648=path[_0x1201ad(0x243)](process[_0x1201ad(0x222)](),_0x1d31aa[_0x1201ad(0x178)][_0x1201ad(0x165)]);await this[_0x1201ad(0x1b8)]();const _0x348418={'uuid':_0x969e59[_0x1201ad(0x1d0)],'type':_0x58d9bb['IcgwU'],'name':_0x1d31aa[_0x1201ad(0x220)],'body':{'lang':_0x58d9bb[_0x1201ad(0x15b)],'code':_0x1d31aa['fn'][_0x1201ad(0x230)]()},'scope':_0x444d9a,'scopes':this[_0x1201ad(0x239)](_0x1d31aa),'identifier':_0x1ceb1e,'file_name':_0x1c5648,'location':_0x1c5648,'result':_0x58d9bb[_0x1201ad(0x246)],'duration_in_ms':_0x2d9ee4&&_0x2d9ee4['duration']?_0x2d9ee4[_0x1201ad(0x1fc)]:null,'vc_filepath':this[_0x1201ad(0x23e)]&&_0x1d31aa['location'][_0x1201ad(0x165)]?path[_0x1201ad(0x243)](this[_0x1201ad(0x23e)],_0x1d31aa[_0x1201ad(0x178)][_0x1201ad(0x165)]):undefined,'started_at':_0x969e59['startedAt'],'finished_at':_0x969e59[_0x1201ad(0x1d7)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x1d31aa)},'tags':_0x58d9bb[_0x1201ad(0x182)](getTestTags,_0x1d31aa)};_0x58d9bb['YPBYi'](appendTesthubParams,_0x348418,_0x1f3661,_0x1d31aa,FRAMEWORKS[_0x1201ad(0x20b)]);_0x2d9ee4&&_0x58d9bb['nEMxj'](_0x2d9ee4[_0x1201ad(0x1ff)],0x0)&&(_0x348418[_0x1201ad(0x152)]=TestDetails[_0x1201ad(0x149)](_0x58d9bb[_0x1201ad(0x187)](getTestRunIdentifier,_0x1d31aa,_0x58d9bb['cTCdi'](_0x2d9ee4[_0x1201ad(0x1ff)],0x1))));if(_0x58d9bb[_0x1201ad(0x162)](_0x1f3661,_0x58d9bb[_0x1201ad(0x173)])){try{const _0x21185b=TestDetails[_0x1201ad(0x1a1)](_0x969e59[_0x1201ad(0x1d0)]);_0x21185b&&_0x58d9bb[_0x1201ad(0x18a)](Object['keys'](_0x21185b)['length'],0x0)?_0x348418[_0x1201ad(0x24d)]=_0x21185b:_0x58d9bb[_0x1201ad(0x24c)](debug,_0x1201ad(0x1c7)+_0x969e59[_0x1201ad(0x1d0)]+'\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test');}catch(_0x55d630){_0x58d9bb['DgUmb'](debug,_0x1201ad(0x1c5)+_0x969e59[_0x1201ad(0x1d0)]+':\x20'+util[_0x1201ad(0x175)](_0x55d630));}_0x348418[_0x1201ad(0x20f)]=_0x2d9ee4[_0x1201ad(0x1d9)];if(_0x58d9bb[_0x1201ad(0x1fe)](_0x2d9ee4['status'],_0x1d31aa['expectedStatus']))_0x348418['result']=_0x58d9bb[_0x1201ad(0x205)](_0x2d9ee4[_0x1201ad(0x1d9)],_0x58d9bb['OikZg'])?_0x58d9bb[_0x1201ad(0x195)]:_0x58d9bb[_0x1201ad(0x23f)];else{(_0x58d9bb['bLLsH'](_0x348418[_0x1201ad(0x20f)],_0x58d9bb[_0x1201ad(0x23f)])||_0x58d9bb[_0x1201ad(0x170)](_0x348418[_0x1201ad(0x20f)],_0x58d9bb['EXYdv'])||_0x58d9bb[_0x1201ad(0x162)](_0x348418[_0x1201ad(0x20f)],_0x58d9bb[_0x1201ad(0x23a)]))&&(_0x348418['result']=_0x58d9bb[_0x1201ad(0x151)]);if(_0x58d9bb[_0x1201ad(0x19f)](_0x2d9ee4[_0x1201ad(0x1d9)],_0x58d9bb[_0x1201ad(0x23f)])&&_0x58d9bb[_0x1201ad(0x24f)](_0x1d31aa['expectedStatus'],_0x58d9bb[_0x1201ad(0x151)])){const _0x23f278={};_0x23f278[_0x1201ad(0x1ee)]=_0x58d9bb[_0x1201ad(0x200)],_0x23f278[_0x1201ad(0x148)]=_0x58d9bb[_0x1201ad(0x200)],_0x2d9ee4['error']=_0x23f278,_0x2d9ee4[_0x1201ad(0x1d8)]=[_0x2d9ee4[_0x1201ad(0x17a)]];}}const _0x18e7f6=_0x58d9bb[_0x1201ad(0x240)](getTestRunIdentifier,_0x1d31aa,_0x2d9ee4[_0x1201ad(0x1ff)]);_0x348418[_0x1201ad(0x19c)]=this[_0x1201ad(0x1f6)][_0x18e7f6];const {steps:_0x3ed906,logs:_0x3096c6}=this[_0x1201ad(0x223)](_0x2d9ee4['steps'],_0x969e59[_0x1201ad(0x1d0)],_0x58d9bb[_0x1201ad(0x1e0)]);await MyReporter[_0x1201ad(0x159)](_0x3096c6);const _0x1b8494={};_0x1b8494[_0x1201ad(0x1b7)]=_0x3ed906,_0x348418[_0x1201ad(0x198)]=_0x1b8494;if(_0x2d9ee4[_0x1201ad(0x17a)]){_0x348418[_0x1201ad(0x1bc)]=_0x58d9bb[_0x1201ad(0x24c)](removeAnsiColors,_0x2d9ee4[_0x1201ad(0x17a)][_0x1201ad(0x1ee)]),_0x348418['failure_type']=_0x58d9bb[_0x1201ad(0x1f1)](getFailureType,_0x2d9ee4['error'][_0x1201ad(0x1ee)]);const _0x5d73b4={};_0x5d73b4[_0x1201ad(0x22b)]=_0x969e59[_0x1201ad(0x1d0)];const {failureData:_0x341d60,logs:_0x51a977}=_0x58d9bb[_0x1201ad(0x240)](getFailureData,_0x2d9ee4[_0x1201ad(0x1d8)],_0x5d73b4);if(_0x341d60&&_0x58d9bb[_0x1201ad(0x191)](_0x341d60[_0x1201ad(0x181)],0x0)){const _0x42c948={};_0x42c948['backtrace']=[_0x348418[_0x1201ad(0x1bc)]],_0x42c948[_0x1201ad(0x164)]=[],_0x341d60[_0x1201ad(0x1fd)](_0x42c948);}_0x348418[_0x1201ad(0x228)]=_0x341d60,_0x51a977&&_0x58d9bb[_0x1201ad(0x18a)](_0x51a977[_0x1201ad(0x181)],0x0)&&await MyReporter[_0x1201ad(0x159)](_0x51a977);}}let _0x2ec7e3=_0x58d9bb[_0x1201ad(0x207)](findNestedKey,_0x2d9ee4,_0x58d9bb[_0x1201ad(0x1e8)]);if(_0x2ec7e3&&_0x58d9bb[_0x1201ad(0x24c)](validateFilePath,_0x2ec7e3))_0x58d9bb[_0x1201ad(0x249)](debug,_0x1201ad(0x194)+_0x969e59['uuid']+_0x1201ad(0x1ef)+_0x2ec7e3);else{const _0x258426=path[_0x1201ad(0x1c2)](helper['homedir'](),_0x58d9bb[_0x1201ad(0x1b0)]);!fs[_0x1201ad(0x1cd)](_0x258426)&&fs[_0x1201ad(0x1cc)](_0x258426),fs[_0x1201ad(0x1cd)](path[_0x1201ad(0x1c2)](_0x258426,_0x1201ad(0x1ba)+_0x969e59['uuid']+_0x1201ad(0x1d4)))&&(_0x2ec7e3=fs[_0x1201ad(0x256)](path[_0x1201ad(0x1c2)](_0x258426,'trace_'+_0x969e59[_0x1201ad(0x1d0)]+_0x1201ad(0x1d4)),_0x58d9bb[_0x1201ad(0x18f)]),_0x58d9bb['wVtsE'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x969e59[_0x1201ad(0x1d0)]+_0x1201ad(0x1ef)+_0x2ec7e3));}const _0x47bd26={};_0x47bd26[_0x1201ad(0x1a9)]=_0x1f3661,_0x47bd26[_0x1201ad(0x206)]=_0x348418;const _0x323a39=_0x47bd26;_0x2ec7e3&&_0x58d9bb[_0x1201ad(0x19d)](_0x2ec7e3,'')&&_0x58d9bb[_0x1201ad(0x218)](_0x1f3661,_0x58d9bb['vyIgN'])&&(!_0x323a39['logs']&&(_0x323a39['logs']=[]),_0x2ec7e3[_0x1201ad(0x21c)]('\x0a')[_0x1201ad(0x184)](_0x5619a6=>{const _0x37f0a8=_0x1201ad;_0x5619a6&&_0x58d9bb[_0x37f0a8(0x15e)](validateFilePath,_0x5619a6)&&_0x323a39['logs'][_0x37f0a8(0x1fd)]({'kind':_0x58d9bb[_0x37f0a8(0x1a7)],'timestamp':new Date()[_0x37f0a8(0x24e)](),'test_run_uuid':_0x969e59['uuid'],'file_name':path['basename'](_0x5619a6),'file_size':fs[_0x37f0a8(0x17b)](_0x5619a6)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x1201ad(0x1ad)](_0x323a39);}[a49_0x2e2e09(0x1cb)](_0x2383c1){const _0x123536=a49_0x2e2e09,_0x5de3c7={};_0x5de3c7[_0x123536(0x1b9)]=function(_0x1922ec,_0x2e6040){return _0x1922ec===_0x2e6040;},_0x5de3c7[_0x123536(0x16c)]=function(_0x53d3eb,_0x3b9ccc){return _0x53d3eb>_0x3b9ccc;},_0x5de3c7[_0x123536(0x21d)]=function(_0x408980,_0x21f984){return _0x408980+_0x21f984;},_0x5de3c7['UwRZa']=function(_0x5dc213,_0x192e70){return _0x5dc213+_0x192e70;};const _0x50d2ce=_0x5de3c7,_0x4fc566=_0x2383c1[_0x123536(0x241)]()[_0x123536(0x199)](_0x41900c=>{const _0x441bb6=_0x123536;if(_0x2383c1[_0x441bb6(0x19e)]&&_0x50d2ce['kevDf'](_0x41900c,_0x2383c1[_0x441bb6(0x19e)][_0x441bb6(0x220)])&&_0x2383c1['parent']['_tags']&&_0x50d2ce[_0x441bb6(0x16c)](_0x2383c1['parent'][_0x441bb6(0x203)][_0x441bb6(0x181)],0x0))return _0x50d2ce[_0x441bb6(0x21d)](_0x50d2ce['UwRZa'](_0x41900c,'\x20'),_0x2383c1[_0x441bb6(0x19e)][_0x441bb6(0x203)][_0x441bb6(0x1c2)]('\x20'));if(_0x50d2ce['kevDf'](_0x41900c,_0x2383c1[_0x441bb6(0x220)])&&_0x2383c1[_0x441bb6(0x203)]&&_0x50d2ce[_0x441bb6(0x16c)](_0x2383c1[_0x441bb6(0x203)][_0x441bb6(0x181)],0x0))return _0x50d2ce[_0x441bb6(0x21d)](_0x50d2ce['UwRZa'](_0x41900c,'\x20'),_0x2383c1['_tags'][_0x441bb6(0x1c2)]('\x20'));return _0x41900c;})['join']('\x20');return _0x4fc566;}static async['sendSessionDetails'](_0x246156,_0x146d36){const _0x2b535b=a49_0x2e2e09,_0x2d691d={'mcLOt':function(_0x4300ba,_0x47f7a6){return _0x4300ba(_0x47f7a6);},'uAqnf':'CBTSessionCreated'},_0x17ab64={'uuid':TestDetails['getTestUUID'](_0x246156),'integrations':_0x146d36},_0x18c13a={};_0x18c13a[_0x2b535b(0x19a)]=null,_0x2d691d[_0x2b535b(0x1c6)](debug,_0x2b535b(0x17e)+_0x246156+',\x20'+util[_0x2b535b(0x1c9)](_0x146d36,_0x18c13a));const _0x668ec7={};_0x668ec7[_0x2b535b(0x1a9)]=_0x2d691d[_0x2b535b(0x1bd)],_0x668ec7['test_run']=_0x17ab64,await SessionHandler[_0x2b535b(0x1ad)](_0x668ec7);}async[a49_0x2e2e09(0x1b8)](){const _0x4606df=a49_0x2e2e09,_0xb4ea30={'foJcr':function(_0x57998f){return _0x57998f();}};if(this[_0x4606df(0x192)])return;const _0x540a63=await _0xb4ea30['foJcr'](getGitMetaData);_0x540a63&&(this[_0x4606df(0x23e)]=_0x540a63[_0x4606df(0x1ed)]),this[_0x4606df(0x192)]=!![];}[a49_0x2e2e09(0x239)](_0x5c8441){const _0x590d1d=a49_0x2e2e09,_0x518d29={};_0x518d29['COXfc']=function(_0x16053a,_0x28e8b5){return _0x16053a!==_0x28e8b5;};const _0x1a9c12=_0x518d29,_0x4b1566=[];if(_0x5c8441&&_0x5c8441['parent']){let _0x301e1e=_0x5c8441[_0x590d1d(0x19e)];while(_0x301e1e&&_0x1a9c12['COXfc'](_0x301e1e['title'],'')){_0x4b1566[_0x590d1d(0x1fd)](_0x301e1e[_0x590d1d(0x220)]),_0x301e1e=_0x301e1e[_0x590d1d(0x19e)];}}return _0x4b1566[_0x590d1d(0x1e6)]()[_0x590d1d(0x153)](0x0,0x2),_0x4b1566;}['needToReportStep'](_0x5da2cb){const _0x514e18=a49_0x2e2e09,_0x472222={};_0x472222[_0x514e18(0x16d)]=function(_0x54550e,_0x5d4588){return _0x54550e===_0x5d4588;},_0x472222[_0x514e18(0x1d1)]=_0x514e18(0x1f9),_0x472222[_0x514e18(0x1ec)]=function(_0x5c4022,_0x2e8e2f){return _0x5c4022!==_0x2e8e2f;},_0x472222[_0x514e18(0x179)]=_0x514e18(0x1fa),_0x472222[_0x514e18(0x209)]=function(_0x245d17,_0x3ee285){return _0x245d17===_0x3ee285;},_0x472222[_0x514e18(0x1be)]=_0x514e18(0x231),_0x472222[_0x514e18(0x1c8)]='beforeAll\x20hook',_0x472222[_0x514e18(0x24b)]=_0x514e18(0x166),_0x472222[_0x514e18(0x219)]=_0x514e18(0x211);const _0x1e4ebc=_0x472222;if(_0x1e4ebc[_0x514e18(0x16d)](_0x5da2cb['category'],_0x1e4ebc[_0x514e18(0x1d1)]))return!![];if(_0x1e4ebc[_0x514e18(0x1ec)](_0x5da2cb[_0x514e18(0x167)],_0x1e4ebc[_0x514e18(0x179)]))return![];if(_0x1e4ebc['kSzLf']([_0x1e4ebc['bftkt'],_0x1e4ebc[_0x514e18(0x1c8)],_0x1e4ebc[_0x514e18(0x24b)],_0x1e4ebc[_0x514e18(0x219)]][_0x514e18(0x1ab)](_0x5da2cb['title']),-0x1))return![];return!![];}['getStepIdentifier'](_0x2f7e9e,_0x5b9baa){const _0x31db8f=a49_0x2e2e09,_0x96ef0a={'PSuMJ':function(_0x8d5d4c,_0x4e397d){return _0x8d5d4c(_0x4e397d);}},_0x3cc42f=_0x5b9baa[_0x31db8f(0x1ac)];if(_0x3cc42f)return _0x3cc42f;return _0x5b9baa[_0x31db8f(0x220)]+_0x31db8f(0x23c)+_0x96ef0a['PSuMJ'](getTestIdentifier,_0x2f7e9e);}['setStepIdentifier'](_0x1367f0,_0x2e3826){const _0x3ee502=a49_0x2e2e09,_0x4bb116={'HAKdE':function(_0x352f5e,_0x1ba809){return _0x352f5e(_0x1ba809);},'Rhysj':function(_0x21dbb2){return _0x21dbb2();}};let _0x2045ba=_0x2e3826[_0x3ee502(0x220)]+_0x3ee502(0x23c)+_0x4bb116[_0x3ee502(0x225)](getTestIdentifier,_0x1367f0);return this['_tests'][_0x2045ba]&&(_0x2045ba=_0x2045ba+_0x3ee502(0x17c)+_0x4bb116['Rhysj'](uuidv4)),_0x2e3826[_0x3ee502(0x1ac)]=_0x2045ba,_0x2045ba;}[a49_0x2e2e09(0x14d)]=_0x46e13e=>{const _0x2d79fc=a49_0x2e2e09,_0xe6a1ab={};_0xe6a1ab[_0x2d79fc(0x1a6)]='beforeEach\x20hook',_0xe6a1ab[_0x2d79fc(0x20d)]=_0x2d79fc(0x1f3),_0xe6a1ab[_0x2d79fc(0x1d2)]=_0x2d79fc(0x23d),_0xe6a1ab[_0x2d79fc(0x1ce)]=_0x2d79fc(0x257),_0xe6a1ab[_0x2d79fc(0x202)]='afterEach\x20hook',_0xe6a1ab['ZWRAz']='AFTER_EACH',_0xe6a1ab[_0x2d79fc(0x14f)]=_0x2d79fc(0x166),_0xe6a1ab['EVHWk']='AFTER_ALL',_0xe6a1ab['SJyXf']='unknown';const _0x424e78=_0xe6a1ab;if(_0x46e13e[_0x2d79fc(0x24a)](_0x424e78[_0x2d79fc(0x1a6)]))return _0x424e78[_0x2d79fc(0x20d)];else{if(_0x46e13e[_0x2d79fc(0x24a)](_0x424e78[_0x2d79fc(0x1d2)]))return _0x424e78['AWYpz'];else{if(_0x46e13e[_0x2d79fc(0x24a)](_0x424e78['GbbUD']))return _0x424e78[_0x2d79fc(0x1cf)];else{if(_0x46e13e[_0x2d79fc(0x24a)](_0x424e78[_0x2d79fc(0x14f)]))return _0x424e78[_0x2d79fc(0x208)];}}}return _0x424e78[_0x2d79fc(0x174)];};['getScope']=_0x128be8=>{const _0x1d8385=a49_0x2e2e09,_0x29713f={};_0x29713f['pUJqU']=function(_0x5bf64f,_0x5d850d){return _0x5bf64f===_0x5d850d;},_0x29713f[_0x1d8385(0x1da)]=_0x1d8385(0x16f);const _0xfa31a=_0x29713f;let _0x999305=_0x128be8['parent'];return _0xfa31a['pUJqU'](typeof _0x128be8[_0x1d8385(0x19e)],_0xfa31a[_0x1d8385(0x1da)])&&(_0x999305=_0x999305[_0x1d8385(0x220)]),_0x999305+_0x1d8385(0x17c)+_0x128be8[_0x1d8385(0x220)];};[a49_0x2e2e09(0x212)](){return![];}}function a49_0x4a66(_0x2ac62c,_0x25164a){const _0xaac1b7=a49_0xaac1();return a49_0x4a66=function(_0x4a6656,_0x1ffdf){_0x4a6656=_0x4a6656-0x146;let _0x1ce789=_0xaac1b7[_0x4a6656];return _0x1ce789;},a49_0x4a66(_0x2ac62c,_0x25164a);}function a49_0xaac1(){const _0x5077e2=['getIntegrations','80oFTPun','isRunning','../../../helpers/helper','fNnXX','LSBEv','VbMbK','BROWSERSTACK_O11Y_PERF_MEASUREMENT','event_type','1141152eiPfkB','indexOf','_bs_hookIdentifier','uploadEventData','ijORs','98332949ZBuPWB','IszXR','all','PRE','../../v2/state/hookState','Expected\x20to\x20fail,\x20but\x20passed.','fQHNj','288552yVEiJk','steps','configureGit','kevDf','trace_','Hook\x20Started\x20with\x20unique\x20id\x20','failure_reason','uAqnf','bftkt','test','trackEvent','_trackedEvents','join','performance-report-reporter.json','attachments','Error\x20reading\x20integrations\x20for\x20test\x20','mcLOt','No\x20integrations\x20found\x20for\x20test\x20','WEktD','inspect','SJmga','getCustomRerunParam','mkdirSync','existsSync','AWYpz','ZWRAz','uuid','aDnxK','GFLLs','name','.txt','3|5|6|0|7|1|4|2','failed','finishedAt','errors','status','Aktoj','TestRunFinished','CIIkT','util','wwcGT','ZUcBx','IcgwU','TEST','onBegin','INIT_TEST','../../../../src/bin/utils/constants','xtzno','reverse','addTestUIDAndReportLog','TGvVK','fIqXR','../../v2/state/testFrameworkState','pqVel','SRpTz','root','message','\x20at\x20','../../../helpers/performance/performance-tester','VDuDq','HookRunFinished','BEFORE_EACH','sendHookRunEvent','TEST_ATTACHMENT','_testHooksMap','../../../helpers/test-observability/sessionHandler','passed','test.step','hook','gtLCX','duration','push','gjZOc','retry','SgtsJ','../../../helpers/testhub/utils','GbbUD','_tags','TAGQp','WCqOk','test_run','DNRDp','EVHWk','kSzLf','getInstance','PLAYWRIGHT','40MQclVh','RYnfj','tMPZE','result','gnyyb','afterEach\x20hook','printsToStdio','onTestEnd','TBwqp','../../v2/browserstackCLI','../../v2/TestInfo','pending','VxJQF','LGQjr','YskCn','sendTestRunEvent','split','qywIG','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','HookRunStarted','title','err','cwd','getStepsAndLogs','QQBqa','HAKdE','679452JcZKzm','\x20is\x20triggered\x20for\x20test\x20','failure','onEnd','zkzXB','test_run_uuid','javascript','POST','qIGKD','TEST_STEP','toString','beforeEach\x20hook','bTTdH','onTestBegin','failure_type','AKMZh','pyVBe','./test-details','START_TIME','getHierarchy','nyIJr','env','\x20for\x20','beforeAll\x20hook','_gitConfigPath','INNHQ','GXewa','titlePath','StdEu','relative','voCad','utf8','HhpxD','QHxMs','126OpPyjH','nuMAR','startsWith','Bljuo','DgUmb','integrations','toISOString','XFpyM','Playwright','hook_run','_tests','BROWSERSTACK_LOG_LEVEL','../../../helpers/test-observability/error-handler','startTime','readFileSync','BEFORE_ALL','KKKbU','getScope','stack','getTestUUID','logs','needToReportStep','XxxNw','getHookType','setup','DwMTS','setStepIdentifier','EXYdv','retry_of','splice','lKJuZ','BROWSERSTACK_TEST_RUN_ID','Test\x20Started\x20with\x20unique\x20id\x20','path','LogCreated','reportLogs','timedOut','UNDLn','FMUEi','MTfsS','dCBCn','2227774OFMisB','daDzD','QFoGE','LiINO','\x20is\x20triggered','expanded','file','afterAll\x20hook','category','sendSessionDetails','onStepBegin','backtrace','bpDzR','xqqlW','SYbCN','LdtOj','object','CtAwp','base64','LdrzX','vyIgN','SJyXf','format','2403084qLTsPZ','skipped','location','BPGRU','error','statSync','\x20-\x20','3363039IyKnMC','Sending\x20session\x20details\x20for\x20','yUWXX','exports','length','XTOOv','step','forEach','../../../helpers/test-observability/requestQueueHandler','.browserstack','tODUV','mtime','getStepIdentifier','nEMxj','startedAt','SwsNX','FZxyQ','logLevel','ptiin','getTime','SroIV','_gitConfigured','getTestFramework','Trace\x20file\x20found\x20for\x20test:\x20','OikZg','9PRTvyR','../../../helpers/test-observability/utils','meta','map','depth','GuMMP','hooks','LPiGf','parent','ySbxy','endSession'];a49_0xaac1=function(){return _0x5077e2;};return a49_0xaac1();}module[a49_0x2e2e09(0x180)]=o11yClassErrorHandler(MyReporter,[a49_0x2e2e09(0x1e2),a49_0x2e2e09(0x1a0),a49_0x2e2e09(0x233),a49_0x2e2e09(0x213),a49_0x2e2e09(0x169),'onStepEnd',a49_0x2e2e09(0x168)],'MyReporter');
@@ -1 +1 @@
1
- const a50_0x53e6ef=a50_0x2365;(function(_0x46fb63,_0x288de3){const _0x3aece2=a50_0x2365,_0x2520ef=_0x46fb63();while(!![]){try{const _0x27ea57=parseInt(_0x3aece2(0x141))/0x1+parseInt(_0x3aece2(0x13d))/0x2*(-parseInt(_0x3aece2(0x129))/0x3)+-parseInt(_0x3aece2(0x115))/0x4+-parseInt(_0x3aece2(0x14e))/0x5+parseInt(_0x3aece2(0x11d))/0x6*(parseInt(_0x3aece2(0x114))/0x7)+parseInt(_0x3aece2(0x121))/0x8+parseInt(_0x3aece2(0x14c))/0x9;if(_0x27ea57===_0x288de3)break;else _0x2520ef['push'](_0x2520ef['shift']());}catch(_0x2aa1b0){_0x2520ef['push'](_0x2520ef['shift']());}}}(a50_0x5a66,0x6113b));function a50_0x5a66(){const _0x4e1c9b=['Error\x20writing\x20trace\x20file:\x20','join','string','ljBRq','appendToTracePaths','TmTgn','pSrUi','blRJx','getAccessibilityPlatformValidation','recursive','hbbAj','util','Jdufq','_projectId','project','ZjnJI','XtuBf','16429vSPfUf','3081636pdqmwl','qqrvi','toString','rmSync','getTraceFilePaths','Error\x20handling\x20trace\x20file\x20paths:\x20','forEach','getProjectIdFromTestInfo','1788hQWQbP','__projectId','WGgLr','push','98832YpZFfj','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','some','aKsfi','getTestIdFromTestInfo','getTestRunIdFromTestInfo','_integrations.json','_traceZipPaths.json','15201lldofJ','.json','retry','writeFileSync','jhPhT','trace_','traceZipPaths','setAccessibilityPlatformValidation','setTestDetails','../../../helpers/logger','GMacW','tests','filePath','shutdown','addTraceFilePath','getDirPath','debug','getStoreDirPath','uuid','vHhwS','134posdWP','getIntegrations','.browserstack','path','311580sjuJoL','QuQQx','force','RshZe','setIntegrations','readFileSync','WNAqa','EFgMO','exports','stringify','getTraceZipDir','7487586QaUCYY','OqHJn','1738845yXRgtv','message','getStoreDirName','values','error','parse','testId','vCYFX','getFilePath','utf8','_test','existsSync','hlyQs','aTMub','mkdirSync','BS_TESTOPS_BUILD_HASHED_ID','CdrdS','DxzFS','_platformDetails.json','winstonLogger','env','../../../helpers/helper'];a50_0x5a66=function(){return _0x4e1c9b;};return a50_0x5a66();}function a50_0x2365(_0x2a5efe,_0x2d71cf){const _0x5a66c2=a50_0x5a66();return a50_0x2365=function(_0x236585,_0x54dfe9){_0x236585=_0x236585-0xff;let _0x5a80e2=_0x5a66c2[_0x236585];return _0x5a80e2;},a50_0x2365(_0x2a5efe,_0x2d71cf);}const fs=require('fs'),path=require(a50_0x53e6ef(0x140)),{v4:uuidv4}=require(a50_0x53e6ef(0x13b)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a50_0x53e6ef(0x102)),logger=require(a50_0x53e6ef(0x132))[a50_0x53e6ef(0x100)],{getLogDir}=require('../../../helpers/logger'),util=require(a50_0x53e6ef(0x10e)),helper=require(a50_0x53e6ef(0x102));class TestDetails{static [a50_0x53e6ef(0x134)]={};static['setup'](){const _0x3cc124=a50_0x53e6ef;this[_0x3cc124(0x136)]();const _0x44b1cb={};_0x44b1cb[_0x3cc124(0x10c)]=!![],fs[_0x3cc124(0x15c)](this[_0x3cc124(0x138)](),_0x44b1cb);const _0x351077={};_0x351077[_0x3cc124(0x10c)]=!![],fs[_0x3cc124(0x15c)](this['getTraceZipDir'](),_0x351077);}static['getStoreDirName'](){const _0x4a9161=a50_0x53e6ef,_0x4343aa={};_0x4343aa['Jdufq']=function(_0x4699fe,_0x40381d){return _0x4699fe+_0x40381d;};const _0x2a4ddc=_0x4343aa;return _0x2a4ddc[_0x4a9161(0x10f)](_0x2a4ddc[_0x4a9161(0x10f)](TEMP_STORE_DIR_NAME,'-'),process[_0x4a9161(0x101)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a50_0x53e6ef(0x13a)](){const _0x1e0831=a50_0x53e6ef,_0x3feb6b={};_0x3feb6b[_0x1e0831(0x108)]=function(_0x261a66,_0x12cf53){return _0x261a66+_0x12cf53;},_0x3feb6b[_0x1e0831(0x13c)]=function(_0xfdb0be,_0x5ab5d2){return _0xfdb0be+_0x5ab5d2;},_0x3feb6b[_0x1e0831(0x142)]='default';const _0x3b5a31=_0x3feb6b;return path[_0x1e0831(0x104)](_0x3b5a31['TmTgn'](_0x3b5a31[_0x1e0831(0x13c)](TEMP_STORE_DIR_NAME,'-'),process[_0x1e0831(0x101)][_0x1e0831(0x15d)]||_0x3b5a31[_0x1e0831(0x142)]));}static[a50_0x53e6ef(0x14b)](){const _0x281db4=a50_0x53e6ef,_0x4f08a7={};_0x4f08a7['hlyQs']=_0x281db4(0x12f);const _0x43343a=_0x4f08a7;return path[_0x281db4(0x104)](this['getStoreDirPath'](),_0x43343a[_0x281db4(0x15a)]);}static[a50_0x53e6ef(0x138)](){const _0x3657a9=a50_0x53e6ef;return TestDetails[_0x3657a9(0x150)]();}static[a50_0x53e6ef(0x156)](_0x4b01aa){const _0x39e9ab=a50_0x53e6ef,_0x5f215b={};_0x5f215b[_0x39e9ab(0x109)]=function(_0x5abf23,_0x258ced){return _0x5abf23+_0x258ced;},_0x5f215b[_0x39e9ab(0x155)]=_0x39e9ab(0x12a);const _0x2e6faf=_0x5f215b;return path['join'](this[_0x39e9ab(0x138)](),_0x2e6faf['pSrUi'](_0x4b01aa,_0x2e6faf[_0x39e9ab(0x155)]));}static[a50_0x53e6ef(0x126)](_0x270b64){const _0x112aa0=a50_0x53e6ef,_0x253259={};_0x253259[_0x112aa0(0x148)]=function(_0x5710ea,_0x355616){return _0x5710ea+_0x355616;},_0x253259[_0x112aa0(0x14d)]=function(_0x114934,_0x337c82){return _0x114934+_0x337c82;},_0x253259[_0x112aa0(0x10a)]=function(_0x29d38f,_0xed99c8){return _0x29d38f+_0xed99c8;};const _0x53639a=_0x253259;return _0x53639a[_0x112aa0(0x148)](_0x53639a[_0x112aa0(0x14d)](_0x53639a[_0x112aa0(0x148)](_0x53639a[_0x112aa0(0x10a)](this[_0x112aa0(0x11c)](_0x270b64),'-'),this[_0x112aa0(0x125)](_0x270b64)),'-'),_0x270b64[_0x112aa0(0x12b)]);}static['getProjectIdFromTestInfo'](_0x78bbaf){const _0x900ee4=a50_0x53e6ef,_0x8b7e0d={'XtuBf':function(_0x24c2f7,_0x4e4a72,_0x5adf2f){return _0x24c2f7(_0x4e4a72,_0x5adf2f);},'qqrvi':_0x900ee4(0x158),'RshZe':_0x900ee4(0x110),'jhPhT':_0x900ee4(0x111),'aTMub':_0x900ee4(0x11e)};return _0x8b7e0d[_0x900ee4(0x113)](nestedKeyValue,_0x78bbaf,[_0x8b7e0d[_0x900ee4(0x116)],_0x8b7e0d[_0x900ee4(0x144)]])||_0x8b7e0d[_0x900ee4(0x113)](nestedKeyValue,_0x78bbaf,[_0x8b7e0d[_0x900ee4(0x12d)],_0x8b7e0d[_0x900ee4(0x15b)]]);}static[a50_0x53e6ef(0x125)](_0x99e7eb){const _0x1cbce1=a50_0x53e6ef,_0x48853a={'CdrdS':function(_0x3faef1,_0x49a352,_0x12eafb){return _0x3faef1(_0x49a352,_0x12eafb);},'WNAqa':_0x1cbce1(0x158)};return _0x48853a[_0x1cbce1(0x15e)](nestedKeyValue,_0x99e7eb,[_0x48853a[_0x1cbce1(0x147)],'id'])||_0x99e7eb[_0x1cbce1(0x154)];}static['getTestUUID'](_0x3fb768){const _0x28f716=a50_0x53e6ef,_0x31b361={'DxzFS':function(_0x3e4a01,_0x3f4788){return _0x3e4a01===_0x3f4788;},'WGgLr':_0x28f716(0x105),'mpaaa':function(_0x3dcbe7){return _0x3dcbe7();}};if(this['tests'][_0x3fb768]&&_0x31b361[_0x28f716(0x15f)](typeof this[_0x28f716(0x134)][_0x3fb768]['uuid'],_0x31b361[_0x28f716(0x11f)]))return this[_0x28f716(0x134)][_0x3fb768][_0x28f716(0x13b)];const _0x1367cc=this['getFilePath'](_0x3fb768);if(_0x1367cc&&fs[_0x28f716(0x159)](_0x1367cc)){const _0x2999dd=JSON[_0x28f716(0x153)](fs[_0x28f716(0x146)](_0x1367cc)['toString']());return this[_0x28f716(0x134)][_0x3fb768]=_0x2999dd,this[_0x28f716(0x134)][_0x3fb768][_0x28f716(0x13b)];}return this['tests'][_0x3fb768]={'uuid':_0x31b361['mpaaa'](uuidv4)},fs[_0x28f716(0x12c)](_0x1367cc,JSON[_0x28f716(0x14a)](this['tests'][_0x3fb768])),this[_0x28f716(0x134)][_0x3fb768][_0x28f716(0x13b)];}static[a50_0x53e6ef(0x10b)](_0x471389){const _0x3774fe=a50_0x53e6ef,_0x8a71c=path['join'](this[_0x3774fe(0x138)](),_0x471389+_0x3774fe(0xff));if(_0x8a71c&&fs['existsSync'](_0x8a71c))return fs[_0x3774fe(0x146)](_0x8a71c)[_0x3774fe(0x117)]();}static[a50_0x53e6ef(0x130)](_0x4e9d58,_0xdecc77){const _0xde816d=a50_0x53e6ef,_0x3ffd8b=path[_0xde816d(0x104)](this[_0xde816d(0x138)](),_0xdecc77+_0xde816d(0xff));fs[_0xde816d(0x12c)](_0x3ffd8b,_0x4e9d58[_0xde816d(0x117)]());}static[a50_0x53e6ef(0x13e)](_0x11147e){const _0xcf9fe9=a50_0x53e6ef,_0x292f5c=path['join'](this[_0xcf9fe9(0x138)](),_0x11147e+_0xcf9fe9(0x127));if(_0x292f5c&&fs[_0xcf9fe9(0x159)](_0x292f5c))try{return JSON[_0xcf9fe9(0x153)](fs[_0xcf9fe9(0x146)](_0x292f5c)[_0xcf9fe9(0x117)]());}catch(_0x4371ca){return logger[_0xcf9fe9(0x139)](_0xcf9fe9(0x122)+_0x11147e+':\x20'+(_0x4371ca&&_0x4371ca[_0xcf9fe9(0x14f)])),null;}return null;}static[a50_0x53e6ef(0x145)](_0x3ab2f4,_0xc8dc53){const _0x44de7e=a50_0x53e6ef,_0x3840c7={};_0x3840c7['ORmSv']=function(_0x5373bc,_0x11404c){return _0x5373bc||_0x11404c;};const _0xe1c5c1=_0x3840c7;if(_0xe1c5c1['ORmSv'](!_0x3ab2f4,!_0xc8dc53))return;try{const _0x27a910=this[_0x44de7e(0x138)](),_0x10c591={};_0x10c591[_0x44de7e(0x10c)]=!![],fs[_0x44de7e(0x15c)](_0x27a910,_0x10c591);const _0x4297e4=path[_0x44de7e(0x104)](_0x27a910,_0x3ab2f4+_0x44de7e(0x127));fs[_0x44de7e(0x12c)](_0x4297e4,JSON[_0x44de7e(0x14a)](_0xc8dc53));}catch(_0x1997c6){logger[_0x44de7e(0x139)]('Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20'+_0x3ab2f4+':\x20'+(_0x1997c6&&_0x1997c6[_0x44de7e(0x14f)]));}}static[a50_0x53e6ef(0x136)](){const _0x4ad1c1=a50_0x53e6ef,_0x3d3cee={};_0x3d3cee[_0x4ad1c1(0x10c)]=!![],_0x3d3cee[_0x4ad1c1(0x143)]=!![],fs[_0x4ad1c1(0x118)](this[_0x4ad1c1(0x138)](),_0x3d3cee);}static['getTestDetails'](_0x186a1a){const _0xdf835e=a50_0x53e6ef;if(this[_0xdf835e(0x134)][_0x186a1a])return this[_0xdf835e(0x134)][_0x186a1a];const _0x41b165=this[_0xdf835e(0x156)](_0x186a1a);if(_0x41b165&&fs['existsSync'](_0x41b165)){const _0xdef938=JSON['parse'](fs[_0xdf835e(0x146)](_0x41b165)[_0xdf835e(0x117)]());return this[_0xdf835e(0x134)][_0x186a1a]=_0xdef938,_0xdef938;}return{};}static[a50_0x53e6ef(0x131)](_0x48e4ba,_0x1a632e){const _0x13d460=a50_0x53e6ef,_0x3e38fd=this[_0x13d460(0x156)](_0x48e4ba);if(_0x3e38fd&&fs[_0x13d460(0x159)](_0x3e38fd)){const _0x1bb4f2=JSON[_0x13d460(0x153)](fs[_0x13d460(0x146)](_0x3e38fd)[_0x13d460(0x117)]()),_0x19d207={..._0x1bb4f2,..._0x1a632e};this['tests'][_0x48e4ba]=_0x19d207;}else this[_0x13d460(0x134)][_0x48e4ba]=_0x1a632e;fs[_0x13d460(0x12c)](_0x3e38fd,this[_0x13d460(0x134)][_0x48e4ba]);}static[a50_0x53e6ef(0x137)](_0x41514d){const _0x53b552=a50_0x53e6ef,_0x3f992c={};_0x3f992c[_0x53b552(0x106)]=_0x53b552(0x11a);const _0xf561a8=_0x3f992c;try{const _0x1ef447=process['pid'],_0xebdee6=path[_0x53b552(0x104)](TestDetails[_0x53b552(0x14b)](),_0x1ef447+_0x53b552(0x128));let _0x27ab4a=[];_0xebdee6&&fs[_0x53b552(0x159)](_0xebdee6)&&(_0x27ab4a=JSON[_0x53b552(0x153)](fs[_0x53b552(0x146)](_0xebdee6)[_0x53b552(0x117)]())),!_0x27ab4a[_0x53b552(0x123)](_0x3eac1a=>_0x3eac1a[_0x53b552(0x135)]===_0x41514d[_0x53b552(0x135)])&&(_0x27ab4a[_0x53b552(0x120)](_0x41514d),fs['writeFileSync'](_0xebdee6,JSON['stringify'](_0x27ab4a)));}catch(_0x29afcf){logger[_0x53b552(0x152)](_0xf561a8[_0x53b552(0x106)],_0x29afcf);}}static[a50_0x53e6ef(0x119)](){const _0x4e3f2c=a50_0x53e6ef,_0x507615={};_0x507615[_0x4e3f2c(0x112)]=_0x4e3f2c(0x128),_0x507615[_0x4e3f2c(0x124)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x2b6166=_0x507615,_0x220d71=[];try{const _0x15e970=TestDetails[_0x4e3f2c(0x14b)]();if(_0x15e970&&!fs['existsSync'](_0x15e970))return _0x220d71;const _0x2044e3=fs['readdirSync'](_0x15e970);_0x2044e3[_0x4e3f2c(0x11b)](_0x4f87df=>{const _0x3ff423=_0x4e3f2c;if(_0x4f87df&&_0x4f87df['endsWith'](_0x2b6166['ZjnJI'])){const _0x5873f3=JSON[_0x3ff423(0x153)](fs[_0x3ff423(0x146)](path['join'](_0x15e970,_0x4f87df))[_0x3ff423(0x117)]());_0x220d71['push'](..._0x5873f3);}});}catch(_0x5aa2bd){logger[_0x4e3f2c(0x152)](util['format'](_0x2b6166[_0x4e3f2c(0x124)],_0x5aa2bd));}const _0x2051ca={};return _0x220d71[_0x4e3f2c(0x11b)](_0x3841d1=>{const _0x4eadfc=_0x4e3f2c;_0x2051ca[_0x3841d1[_0x4eadfc(0x135)]]=_0x3841d1;}),Object[_0x4e3f2c(0x151)](_0x2051ca);}static[a50_0x53e6ef(0x107)](_0x4a7f7f,_0x3d9512){const _0x4b0768=a50_0x53e6ef,_0x2768d8={};_0x2768d8[_0x4b0768(0x133)]=_0x4b0768(0x13f),_0x2768d8[_0x4b0768(0x10d)]=_0x4b0768(0x157);const _0x45930d=_0x2768d8;try{const _0x795b87=path[_0x4b0768(0x104)](helper['homedir'](),_0x45930d[_0x4b0768(0x133)]);if(!fs['existsSync'](_0x795b87)){const _0x44daa6={};_0x44daa6['recursive']=!![],fs[_0x4b0768(0x15c)](_0x795b87,_0x44daa6);}fs['appendFileSync'](path[_0x4b0768(0x104)](_0x795b87,_0x4b0768(0x12e)+_0x3d9512+'.txt'),_0x4a7f7f+'\x0a',_0x45930d[_0x4b0768(0x10d)]);}catch(_0xbcf784){console[_0x4b0768(0x152)](_0x4b0768(0x103)+_0xbcf784[_0x4b0768(0x14f)]);}}}module[a50_0x53e6ef(0x149)]=TestDetails;
1
+ const a50_0x2395b8=a50_0x5a99;(function(_0x524f28,_0x58af7d){const _0x4d37bb=a50_0x5a99,_0x4bcc86=_0x524f28();while(!![]){try{const _0x1259a9=parseInt(_0x4d37bb(0x1aa))/0x1*(-parseInt(_0x4d37bb(0x1b4))/0x2)+-parseInt(_0x4d37bb(0x18c))/0x3+-parseInt(_0x4d37bb(0x1bc))/0x4+parseInt(_0x4d37bb(0x1cc))/0x5+parseInt(_0x4d37bb(0x1a8))/0x6*(parseInt(_0x4d37bb(0x19d))/0x7)+parseInt(_0x4d37bb(0x1a3))/0x8+parseInt(_0x4d37bb(0x1d2))/0x9*(parseInt(_0x4d37bb(0x1ac))/0xa);if(_0x1259a9===_0x58af7d)break;else _0x4bcc86['push'](_0x4bcc86['shift']());}catch(_0x590610){_0x4bcc86['push'](_0x4bcc86['shift']());}}}(a50_0x5d21,0xa23c2));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a50_0x2395b8(0x1d3)),logger=require('../../../helpers/logger')[a50_0x2395b8(0x19c)],{getLogDir}=require(a50_0x2395b8(0x178)),util=require(a50_0x2395b8(0x189)),helper=require(a50_0x2395b8(0x1d3));function a50_0x5d21(){const _0x3062a2=['8qMalXi','_test','66380mLEOkW','error','eUlBF','writeFileSync','shutdown','readFileSync','readdirSync','parse','69274EmdCFk','efSPv','project','exports','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','DZIDU','existsSync','forEach','3285612MLijtO','__projectId','setIntegrations','getStoreDirPath','klqJr','getProjectIdFromTestInfo','filePath','yLnWB','aRAOi','XIgqm','OwsEK','getAccessibilityPlatformValidation','dAXfR','setAccessibilityPlatformValidation','BS_TESTOPS_BUILD_HASHED_ID','getDirPath','6234910dlDvuP','gHmkI','UEtyb','aqoOu','getTestIdFromTestInfo','.browserstack','27ZLCRJu','../../../helpers/helper','recursive','appendToTracePaths','cVMqK','vHPyB','edHlB','endsWith','getFilePath','traceZipPaths','values','message','pid','setTestDetails','../../../helpers/logger','format','getTraceZipDir','Error\x20handling\x20trace\x20file\x20paths:\x20','VgBHi','default','fyDgO','Error\x20reading\x20trace\x20file\x20paths:\x20%s','getTestDetails','some','env','FLglr','addTraceFilePath','setup','trace_','tests','mkdirSync','util','.txt','Kuymh','2367786quooQb','getTestRunIdFromTestInfo','DSJKv','getStoreDirName','uuid','gaAcG','retry','getTestUUID','Error\x20writing\x20trace\x20file:\x20','join','homedir','_integrations.json','stringify','push','string','AvQfL','winstonLogger','7AmfSrd','toString','EpQcb','debug','utf8','TcmHH','3606080LWIfEJ','force','_platformDetails.json','getIntegrations','QVklA','5007714wMlBUO','_traceZipPaths.json'];a50_0x5d21=function(){return _0x3062a2;};return a50_0x5d21();}class TestDetails{static [a50_0x2395b8(0x187)]={};static[a50_0x2395b8(0x185)](){const _0x3ec30e=a50_0x2395b8;this[_0x3ec30e(0x1b0)]();const _0x756e59={};_0x756e59[_0x3ec30e(0x1d4)]=!![],fs[_0x3ec30e(0x188)](this[_0x3ec30e(0x1cb)](),_0x756e59);const _0x497111={};_0x497111[_0x3ec30e(0x1d4)]=!![],fs[_0x3ec30e(0x188)](this[_0x3ec30e(0x17a)](),_0x497111);}static['getStoreDirName'](){const _0x2cd77e=a50_0x2395b8,_0x1495dd={};_0x1495dd['yLnWB']=function(_0x3d991b,_0x67fae6){return _0x3d991b+_0x67fae6;},_0x1495dd[_0x2cd77e(0x1d8)]=function(_0x39a9b0,_0x39d6d6){return _0x39a9b0+_0x39d6d6;};const _0x4b4772=_0x1495dd;return _0x4b4772[_0x2cd77e(0x1c3)](_0x4b4772['edHlB'](TEMP_STORE_DIR_NAME,'-'),process[_0x2cd77e(0x182)][_0x2cd77e(0x1ca)]);}static[a50_0x2395b8(0x1bf)](){const _0x10b1e2=a50_0x2395b8,_0x52d2dc={};_0x52d2dc[_0x10b1e2(0x19f)]=function(_0x3052c8,_0x25126c){return _0x3052c8+_0x25126c;},_0x52d2dc['dAXfR']=function(_0x470227,_0x50b777){return _0x470227+_0x50b777;},_0x52d2dc[_0x10b1e2(0x1c6)]=_0x10b1e2(0x17d);const _0x157729=_0x52d2dc;return path[_0x10b1e2(0x195)](_0x157729[_0x10b1e2(0x19f)](_0x157729[_0x10b1e2(0x1c8)](TEMP_STORE_DIR_NAME,'-'),process[_0x10b1e2(0x182)][_0x10b1e2(0x1ca)]||_0x157729['OwsEK']));}static[a50_0x2395b8(0x17a)](){const _0x1fc41d=a50_0x2395b8,_0x4965ee={};_0x4965ee[_0x1fc41d(0x1c4)]=_0x1fc41d(0x1db);const _0x16c2ad=_0x4965ee;return path[_0x1fc41d(0x195)](this[_0x1fc41d(0x1bf)](),_0x16c2ad[_0x1fc41d(0x1c4)]);}static['getDirPath'](){const _0x3670b6=a50_0x2395b8;return TestDetails[_0x3670b6(0x18f)]();}static[a50_0x2395b8(0x1da)](_0x31262f){const _0x5d2845=a50_0x2395b8,_0x25f560={};_0x25f560[_0x5d2845(0x191)]=function(_0x551859,_0x54d408){return _0x551859+_0x54d408;},_0x25f560[_0x5d2845(0x17e)]='.json';const _0x52d64b=_0x25f560;return path[_0x5d2845(0x195)](this['getDirPath'](),_0x52d64b['gaAcG'](_0x31262f,_0x52d64b[_0x5d2845(0x17e)]));}static[a50_0x2395b8(0x18d)](_0x47c27e){const _0x49f021=a50_0x2395b8,_0x39e6b8={};_0x39e6b8[_0x49f021(0x1a7)]=function(_0x42bde4,_0xad9952){return _0x42bde4+_0xad9952;},_0x39e6b8['FRwHk']=function(_0x5296da,_0x52eb6d){return _0x5296da+_0x52eb6d;};const _0x8882b4=_0x39e6b8;return _0x8882b4['QVklA'](_0x8882b4[_0x49f021(0x1a7)](_0x8882b4[_0x49f021(0x1a7)](_0x8882b4['FRwHk'](this[_0x49f021(0x1c1)](_0x47c27e),'-'),this[_0x49f021(0x1d0)](_0x47c27e)),'-'),_0x47c27e[_0x49f021(0x192)]);}static[a50_0x2395b8(0x1c1)](_0x5f1e4b){const _0x5e62d0=a50_0x2395b8,_0x1d799e={'VgBHi':function(_0x34af65,_0x3af506,_0x465fde){return _0x34af65(_0x3af506,_0x465fde);},'aqoOu':'_test','Kuymh':'_projectId','AvQfL':function(_0x5d3453,_0x173c96,_0x436b4b){return _0x5d3453(_0x173c96,_0x436b4b);},'eUlBF':_0x5e62d0(0x1b6),'FLglr':_0x5e62d0(0x1bd)};return _0x1d799e[_0x5e62d0(0x17c)](nestedKeyValue,_0x5f1e4b,[_0x1d799e[_0x5e62d0(0x1cf)],_0x1d799e[_0x5e62d0(0x18b)]])||_0x1d799e[_0x5e62d0(0x19b)](nestedKeyValue,_0x5f1e4b,[_0x1d799e[_0x5e62d0(0x1ae)],_0x1d799e[_0x5e62d0(0x183)]]);}static['getTestIdFromTestInfo'](_0x242e1e){const _0x299cd3=a50_0x2395b8,_0x45ea83={'klqJr':function(_0x1e2091,_0x29e5bd,_0x5d5f3b){return _0x1e2091(_0x29e5bd,_0x5d5f3b);},'XIgqm':_0x299cd3(0x1ab)};return _0x45ea83[_0x299cd3(0x1c0)](nestedKeyValue,_0x242e1e,[_0x45ea83[_0x299cd3(0x1c5)],'id'])||_0x242e1e['testId'];}static[a50_0x2395b8(0x193)](_0x361a70){const _0x455b54=a50_0x2395b8,_0x28f8a0={'VNbZN':function(_0x518302,_0x1d86b6){return _0x518302===_0x1d86b6;},'DSJKv':_0x455b54(0x19a),'UEtyb':function(_0x33641e){return _0x33641e();}};if(this[_0x455b54(0x187)][_0x361a70]&&_0x28f8a0['VNbZN'](typeof this[_0x455b54(0x187)][_0x361a70][_0x455b54(0x190)],_0x28f8a0[_0x455b54(0x18e)]))return this[_0x455b54(0x187)][_0x361a70][_0x455b54(0x190)];const _0x142691=this[_0x455b54(0x1da)](_0x361a70);if(_0x142691&&fs['existsSync'](_0x142691)){const _0x16a69d=JSON['parse'](fs[_0x455b54(0x1b1)](_0x142691)[_0x455b54(0x19e)]());return this[_0x455b54(0x187)][_0x361a70]=_0x16a69d,this[_0x455b54(0x187)][_0x361a70]['uuid'];}return this[_0x455b54(0x187)][_0x361a70]={'uuid':_0x28f8a0[_0x455b54(0x1ce)](uuidv4)},fs['writeFileSync'](_0x142691,JSON[_0x455b54(0x198)](this['tests'][_0x361a70])),this[_0x455b54(0x187)][_0x361a70]['uuid'];}static[a50_0x2395b8(0x1c7)](_0x26886e){const _0x3c3036=a50_0x2395b8,_0x361888=path[_0x3c3036(0x195)](this[_0x3c3036(0x1cb)](),_0x26886e+_0x3c3036(0x1a5));if(_0x361888&&fs['existsSync'](_0x361888))return fs[_0x3c3036(0x1b1)](_0x361888)[_0x3c3036(0x19e)]();}static[a50_0x2395b8(0x1c9)](_0xe0ebb9,_0x1e4913){const _0x3cef90=a50_0x2395b8,_0x469341=path[_0x3cef90(0x195)](this[_0x3cef90(0x1cb)](),_0x1e4913+_0x3cef90(0x1a5));fs['writeFileSync'](_0x469341,_0xe0ebb9[_0x3cef90(0x19e)]());}static[a50_0x2395b8(0x1a6)](_0x3ee6ce){const _0x31f63f=a50_0x2395b8,_0x63d9f1=path[_0x31f63f(0x195)](this[_0x31f63f(0x1cb)](),_0x3ee6ce+_0x31f63f(0x197));if(_0x63d9f1&&fs[_0x31f63f(0x1ba)](_0x63d9f1))try{return JSON[_0x31f63f(0x1b3)](fs['readFileSync'](_0x63d9f1)['toString']());}catch(_0x4c5db0){return logger['debug'](_0x31f63f(0x1b8)+_0x3ee6ce+':\x20'+(_0x4c5db0&&_0x4c5db0['message'])),null;}return null;}static[a50_0x2395b8(0x1be)](_0x3d26af,_0x29ce0c){const _0x2f26c9=a50_0x2395b8,_0x34318e={};_0x34318e[_0x2f26c9(0x1d7)]=function(_0x1ea7c3,_0x40022e){return _0x1ea7c3||_0x40022e;};const _0x5db698=_0x34318e;if(_0x5db698['vHPyB'](!_0x3d26af,!_0x29ce0c))return;try{const _0x46f1c2=this[_0x2f26c9(0x1cb)](),_0xa7dc9a={};_0xa7dc9a[_0x2f26c9(0x1d4)]=!![],fs[_0x2f26c9(0x188)](_0x46f1c2,_0xa7dc9a);const _0x594d9c=path[_0x2f26c9(0x195)](_0x46f1c2,_0x3d26af+_0x2f26c9(0x197));fs['writeFileSync'](_0x594d9c,JSON[_0x2f26c9(0x198)](_0x29ce0c));}catch(_0x20214e){logger[_0x2f26c9(0x1a0)]('Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20'+_0x3d26af+':\x20'+(_0x20214e&&_0x20214e[_0x2f26c9(0x1dd)]));}}static[a50_0x2395b8(0x1b0)](){const _0x1ea671=a50_0x2395b8,_0xd01661={};_0xd01661['recursive']=!![],_0xd01661[_0x1ea671(0x1a4)]=!![],fs['rmSync'](this[_0x1ea671(0x1cb)](),_0xd01661);}static[a50_0x2395b8(0x180)](_0x2d39ec){const _0x463d4f=a50_0x2395b8;if(this['tests'][_0x2d39ec])return this[_0x463d4f(0x187)][_0x2d39ec];const _0x5e26c8=this[_0x463d4f(0x1da)](_0x2d39ec);if(_0x5e26c8&&fs[_0x463d4f(0x1ba)](_0x5e26c8)){const _0x36db2c=JSON[_0x463d4f(0x1b3)](fs[_0x463d4f(0x1b1)](_0x5e26c8)[_0x463d4f(0x19e)]());return this[_0x463d4f(0x187)][_0x2d39ec]=_0x36db2c,_0x36db2c;}return{};}static[a50_0x2395b8(0x177)](_0x15fb81,_0x322583){const _0x4c141f=a50_0x2395b8,_0x3070da=this[_0x4c141f(0x1da)](_0x15fb81);if(_0x3070da&&fs['existsSync'](_0x3070da)){const _0x12c0a8=JSON[_0x4c141f(0x1b3)](fs[_0x4c141f(0x1b1)](_0x3070da)[_0x4c141f(0x19e)]()),_0x54d81d={..._0x12c0a8,..._0x322583};this['tests'][_0x15fb81]=_0x54d81d;}else this[_0x4c141f(0x187)][_0x15fb81]=_0x322583;fs['writeFileSync'](_0x3070da,this[_0x4c141f(0x187)][_0x15fb81]);}static[a50_0x2395b8(0x184)](_0x35fcd8){const _0x4c1568=a50_0x2395b8,_0x14affa={};_0x14affa[_0x4c1568(0x1cd)]=_0x4c1568(0x17b);const _0x16b66d=_0x14affa;try{const _0x5146f6=process[_0x4c1568(0x1de)],_0x2414db=path[_0x4c1568(0x195)](TestDetails['getTraceZipDir'](),_0x5146f6+_0x4c1568(0x1a9));let _0x4bf5e4=[];_0x2414db&&fs[_0x4c1568(0x1ba)](_0x2414db)&&(_0x4bf5e4=JSON[_0x4c1568(0x1b3)](fs['readFileSync'](_0x2414db)[_0x4c1568(0x19e)]())),!_0x4bf5e4[_0x4c1568(0x181)](_0xf69fc6=>_0xf69fc6['filePath']===_0x35fcd8[_0x4c1568(0x1c2)])&&(_0x4bf5e4['push'](_0x35fcd8),fs[_0x4c1568(0x1af)](_0x2414db,JSON['stringify'](_0x4bf5e4)));}catch(_0x583f31){logger[_0x4c1568(0x1ad)](_0x16b66d[_0x4c1568(0x1cd)],_0x583f31);}}static['getTraceFilePaths'](){const _0xad0048=a50_0x2395b8,_0x40c6b4={};_0x40c6b4[_0xad0048(0x1b5)]=_0xad0048(0x1a9),_0x40c6b4[_0xad0048(0x1a2)]=_0xad0048(0x17f);const _0x27df75=_0x40c6b4,_0x5ed801=[];try{const _0x543915=TestDetails[_0xad0048(0x17a)]();if(_0x543915&&!fs['existsSync'](_0x543915))return _0x5ed801;const _0x510cf5=fs[_0xad0048(0x1b2)](_0x543915);_0x510cf5[_0xad0048(0x1bb)](_0x21fe5a=>{const _0xce0071=_0xad0048;if(_0x21fe5a&&_0x21fe5a[_0xce0071(0x1d9)](_0x27df75[_0xce0071(0x1b5)])){const _0x1bf3b6=JSON['parse'](fs[_0xce0071(0x1b1)](path[_0xce0071(0x195)](_0x543915,_0x21fe5a))['toString']());_0x5ed801[_0xce0071(0x199)](..._0x1bf3b6);}});}catch(_0x469f8f){logger[_0xad0048(0x1ad)](util[_0xad0048(0x179)](_0x27df75[_0xad0048(0x1a2)],_0x469f8f));}const _0x40cab6={};return _0x5ed801[_0xad0048(0x1bb)](_0x8136b4=>{const _0x424e28=_0xad0048;_0x40cab6[_0x8136b4[_0x424e28(0x1c2)]]=_0x8136b4;}),Object[_0xad0048(0x1dc)](_0x40cab6);}static[a50_0x2395b8(0x1d5)](_0x2e4d1a,_0x2fd1b3){const _0x3001b8=a50_0x2395b8,_0x1dc036={};_0x1dc036[_0x3001b8(0x1d6)]=_0x3001b8(0x1d1),_0x1dc036['DZIDU']=_0x3001b8(0x1a1);const _0x430200=_0x1dc036;try{const _0x50adb1=path[_0x3001b8(0x195)](helper[_0x3001b8(0x196)](),_0x430200[_0x3001b8(0x1d6)]);if(!fs[_0x3001b8(0x1ba)](_0x50adb1)){const _0x1c20b5={};_0x1c20b5['recursive']=!![],fs[_0x3001b8(0x188)](_0x50adb1,_0x1c20b5);}fs['appendFileSync'](path[_0x3001b8(0x195)](_0x50adb1,_0x3001b8(0x186)+_0x2fd1b3+_0x3001b8(0x18a)),_0x2e4d1a+'\x0a',_0x430200[_0x3001b8(0x1b9)]);}catch(_0xed0da){console[_0x3001b8(0x1ad)](_0x3001b8(0x194)+_0xed0da[_0x3001b8(0x1dd)]);}}}function a50_0x5a99(_0x3a5910,_0x8f7f82){const _0x5d2158=a50_0x5d21();return a50_0x5a99=function(_0x5a99c8,_0x4125c4){_0x5a99c8=_0x5a99c8-0x177;let _0x252ac2=_0x5d2158[_0x5a99c8];return _0x252ac2;},a50_0x5a99(_0x3a5910,_0x8f7f82);}module[a50_0x2395b8(0x1b7)]=TestDetails;
@@ -1 +1 @@
1
- function a51_0x2874(){const _0x11ac57=['product','accessibilityPlatform','spVzo','currentTest','2AjXtxb','BvefR','__workerDetails','performScan','join','../v2/state/hookState.js','PTnon','koayL','Connection','exports','uHiXF','Bwmnb','__driver','titlePath','_onMessage','entries','toString','shouldWrapCommand','TpAvS','4016568EZuMYP','QHsyF','debug','info','XucWw','patchCRConnection','caps','toLowerCase','_type','OyALd','browserstack','rsnSw','bStackParams','nPxEd','capabilities','channel','platform_version','ZmRyJ','Not\x20able\x20to\x20import\x20Connection','CNrZU','HRijH','wAVsC','../utils/constants','378833TTbqFs','platformVersion','yUrox','platformDetails','Not\x20able\x20to\x20import\x20crConnection','isRunning','137872qrUJNf','11JaLZar','pwPage','project','747760OQzzKu','defineProperty','client','IdWmo','../v2/browserstackCLI','CIWJl','getDetails','function','KdZkR','turboscale','_browserType','427821sdAlgJ','deviceModel','message','env','dispatch','jDegL','_bstackDispatchPatched','RckTp','sjloD','crConnection.js','assign','testInfo','nQKjZ','sendMessageToServer','cxoFp','url','query','server','winstonLogger','wsEndpoint','bopGV','kbQEu','reportSessionLinkingIssue','params','9076630McWMId','cgbTB','cloudProvider','../../helpers/accessibility-automation/scripts','QdxAu','currentSessionDetails','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','lib','npEus','CRConnection','7DTKArV','BQmKz','YZwCq','_name','ATS_WSS_URL_REGEX','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','automate','use','XHiDt','../../helpers/test-observability/utils','trackEvent','../../bin/playwright/accessibility-helper','platform','qAohc','bazQY','split','test','parse','hwdvo','bstackPerformA11yScan','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','WDFJl','WpMAv','Page','CwIBS','sessionError','yqlqJ','JGlfp','../../helpers/test-observability/error-handler','Device\x20Model\x20is\x20not\x20available','playwright-','mkQcC','_defaultConnectOptions','clSpc','model','3|4|5|2|1|0','WxJNa','safari','apply','local_grid','qNkdj','chromium','XIozh','408Gztjcr','connection.js','patchConnection','bsSessionId','../../helpers/logger','util','LxvZV','version','bsParams','QxuWl','jRstf','Failed\x20to\x20perform\x20scan\x20','5Lwsreg','tUzPW','setupBrowserDetails','../../helpers/helper','browserName','browser','BSTACK_ATS_URL','pZwnf','prototype','webkit','4419092HUBHdQ','../v2/state/automationFrameworkState.js','format','63WrApGe','SskDc','patch','sessionId','includes','platformName','zzcJf','_connection','Error\x20in\x20importing\x20crConnection','chrome','PLAYWRIGHT_DISPATCH','tLlXk','VfEKy','getAutomationFramework','KUvnR','browser_version','getInstance','rtGXS','xLnrt','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','KPrbK','edge','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','BSTACK_URL'];a51_0x2874=function(){return _0x11ac57;};return a51_0x2874();}const a51_0x207c9c=a51_0x28fc;(function(_0x281d78,_0x396dfa){const _0x3f58a4=a51_0x28fc,_0x32992c=_0x281d78();while(!![]){try{const _0x10bc2b=-parseInt(_0x3f58a4(0x1fd))/0x1+parseInt(_0x3f58a4(0x1c9))/0x2*(-parseInt(_0x3f58a4(0x208))/0x3)+-parseInt(_0x3f58a4(0x1aa))/0x4*(parseInt(_0x3f58a4(0x1a0))/0x5)+-parseInt(_0x3f58a4(0x1dc))/0x6*(-parseInt(_0x3f58a4(0x168))/0x7)+parseInt(_0x3f58a4(0x1f9))/0x8*(parseInt(_0x3f58a4(0x1ad))/0x9)+-parseInt(_0x3f58a4(0x15e))/0xa*(-parseInt(_0x3f58a4(0x1fa))/0xb)+-parseInt(_0x3f58a4(0x194))/0xc*(-parseInt(_0x3f58a4(0x1f3))/0xd);if(_0x10bc2b===_0x396dfa)break;else _0x32992c['push'](_0x32992c['shift']());}catch(_0x13ba9d){_0x32992c['push'](_0x32992c['shift']());}}}(a51_0x2874,0xa9487));function a51_0x28fc(_0x4d3432,_0x24aa76){const _0x2874bb=a51_0x2874();return a51_0x28fc=function(_0x28fc3f,_0x3964b4){_0x28fc3f=_0x28fc3f-0x15b;let _0x55fcaa=_0x2874bb[_0x28fc3f];return _0x55fcaa;},a51_0x28fc(_0x4d3432,_0x24aa76);}const path=require('path'),url=require(a51_0x207c9c(0x217)),util=require(a51_0x207c9c(0x199)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a51_0x207c9c(0x1a3)),{o11yErrorHandler}=require(a51_0x207c9c(0x185)),{debug,getPlatformDetails}=require(a51_0x207c9c(0x171)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a51_0x207c9c(0x198))[a51_0x207c9c(0x21a)],scripts=require(a51_0x207c9c(0x161)),{browserStackExecuteDriver}=require(a51_0x207c9c(0x173)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a51_0x207c9c(0x1f2)),BrowserstackCLI=require(a51_0x207c9c(0x201)),AutomationFrameworkState=require(a51_0x207c9c(0x1ab)),HookState=require(a51_0x207c9c(0x1ce)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x1fbe1f=>{const _0x409a73=a51_0x207c9c,_0x1075cd={};_0x1075cd[_0x409a73(0x15f)]=_0x409a73(0x18c),_0x1075cd['tLlXk']=function(_0x10e65a,_0x2b4130){return _0x10e65a===_0x2b4130;},_0x1075cd[_0x409a73(0x1a1)]=_0x409a73(0x1a9),_0x1075cd[_0x409a73(0x20f)]=_0x409a73(0x18e),_0x1075cd[_0x409a73(0x188)]='firefox',_0x1075cd[_0x409a73(0x170)]=_0x409a73(0x192),_0x1075cd[_0x409a73(0x1db)]=_0x409a73(0x1b6),_0x1075cd[_0x409a73(0x169)]=_0x409a73(0x1c2);const _0x2e4186=_0x1075cd,_0xaa817=_0x2e4186[_0x409a73(0x15f)][_0x409a73(0x177)]('|');let _0x475961=0x0;while(!![]){switch(_0xaa817[_0x475961++]){case'0':if(_0x2e4186[_0x409a73(0x1b8)](_0x1fbe1f,_0x2e4186[_0x409a73(0x1a1)]))return _0x2e4186[_0x409a73(0x1a1)];continue;case'1':if(_0x1fbe1f[_0x409a73(0x1b1)](_0x2e4186[_0x409a73(0x20f)]))return _0x2e4186[_0x409a73(0x20f)];continue;case'2':if(_0x1fbe1f[_0x409a73(0x1b1)](_0x2e4186[_0x409a73(0x188)]))return _0x2e4186[_0x409a73(0x188)];continue;case'3':if(_0x1fbe1f[_0x409a73(0x1b1)](_0x2e4186['XHiDt']))return _0x2e4186['XHiDt'];continue;case'4':if(_0x1fbe1f[_0x409a73(0x1b1)](_0x2e4186[_0x409a73(0x1db)]))return _0x2e4186[_0x409a73(0x1db)];continue;case'5':if(_0x1fbe1f['includes'](_0x2e4186[_0x409a73(0x169)]))return _0x2e4186['BQmKz'];continue;}break;}},getBrowserFromWSEndpoint=_0x2ea8c7=>{const _0x484f80=a51_0x207c9c,_0x1d5af7={'xpmSR':'chrome','OyALd':function(_0x49ab5a,_0x431673){return _0x49ab5a(_0x431673);}};try{const _0x2cded3=url[_0x484f80(0x179)](_0x2ea8c7),_0x4f941e=new URLSearchParams(_0x2cded3[_0x484f80(0x218)]),_0x352536=Object['fromEntries'](_0x4f941e[_0x484f80(0x1d8)]()),_0x33ae08=JSON[_0x484f80(0x179)](_0x352536[_0x484f80(0x1e2)]);if(_0x33ae08&&(_0x33ae08[_0x484f80(0x1a5)]||_0x33ae08[_0x484f80(0x1a4)]))return _0x33ae08[_0x484f80(0x1a5)]||_0x33ae08[_0x484f80(0x1a4)];return _0x1d5af7['xpmSR'];}catch(_0x4bcca2){_0x1d5af7[_0x484f80(0x1e5)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x4bcca2[_0x484f80(0x1d9)]());}},getCloudProviderFromWsEndpoint=_0x50bae1=>{const _0x27deab=a51_0x207c9c,_0x3f82ab={};_0x3f82ab[_0x27deab(0x1e0)]=_0x27deab(0x1e6),_0x3f82ab[_0x27deab(0x1e7)]='unknown_grid';const _0x3ce7aa=_0x3f82ab;if(_0x50bae1['includes'](constants[_0x27deab(0x1c4)])||_0x50bae1['includes'](constants[_0x27deab(0x1a6)]))return _0x3ce7aa[_0x27deab(0x1e0)];return _0x3ce7aa['rsnSw'];},a51_0x47c7c4={};a51_0x47c7c4[a51_0x207c9c(0x160)]=undefined,a51_0x47c7c4['bsSessionId']=undefined,a51_0x47c7c4[a51_0x207c9c(0x1a5)]=undefined,a51_0x47c7c4[a51_0x207c9c(0x1bc)]=undefined,a51_0x47c7c4[a51_0x207c9c(0x174)]=undefined,a51_0x47c7c4[a51_0x207c9c(0x1ec)]=undefined,a51_0x47c7c4[a51_0x207c9c(0x1c5)]=undefined,a51_0x47c7c4['capabilities']={};class PlaywrightSessionDetails{static [a51_0x207c9c(0x163)]=a51_0x47c7c4;constructor(){const _0x4698fb=a51_0x207c9c,_0x2d7782={};_0x2d7782[_0x4698fb(0x19a)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x415249=_0x2d7782;throw new Error(_0x415249[_0x4698fb(0x19a)]);}static ['sessionError']=null;static[a51_0x207c9c(0x1a2)](_0x2f0792,_0x2e42ee,_0x409884=null){const _0x47db3b=a51_0x207c9c,_0x3e880c={'XPFQB':function(_0x163212,_0x58d488){return _0x163212===_0x58d488;},'cePLY':_0x47db3b(0x204),'KPrbK':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','MaYPj':function(_0x37351f,_0x37b69e){return _0x37351f===_0x37b69e;},'WpMAv':_0x47db3b(0x186),'rEUFH':_0x47db3b(0x190),'ZmRyJ':function(_0x42068b,_0x49b853,_0x3f74b4){return _0x42068b(_0x49b853,_0x3f74b4);},'QHsyF':_0x47db3b(0x207),'cSFHE':'_defaultConnectOptions','jRstf':_0x47db3b(0x1fc),'CwIBS':'use','qAohc':'connectOptions','KdZkR':function(_0x311b7d,_0x4da81b){return _0x311b7d(_0x4da81b);},'npEus':_0x47db3b(0x1e6),'yUrox':_0x47db3b(0x206),'KUvnR':_0x47db3b(0x16e),'nQKjZ':function(_0x4be722){return _0x4be722();},'Bwmnb':function(_0x1c3907,_0x14e68b){return _0x1c3907&&_0x14e68b;},'PTnon':function(_0x3a6e45){return _0x3a6e45();},'kQhbl':function(_0x20d6ff,_0x89680){return _0x20d6ff(_0x89680);},'HRijH':function(_0x359d22,_0x37235b){return _0x359d22+_0x37235b;},'pRieQ':_0x47db3b(0x187),'IdWmo':function(_0x510301){return _0x510301();},'kbQEu':_0x47db3b(0x1a2)},_0x292b56=this;return _0x3e880c['ZmRyJ'](o11yErrorHandler,async function _0x31b821(_0x5ad815,_0x3ced47,_0x41c951=null){const _0x36f2be=_0x47db3b;let _0xd64cb9=_0x5ad815[_0x36f2be(0x16b)],_0x15c549=null;_0x5ad815&&_0x3e880c['XPFQB'](typeof _0x5ad815[_0x36f2be(0x19b)],_0x3e880c['cePLY'])?_0x15c549=_0x5ad815['version']():logger['debug'](_0x3e880c[_0x36f2be(0x1c1)]);let _0x593646=null;_0x5ad815&&_0x3e880c['MaYPj'](typeof _0x5ad815['model'],_0x3e880c['cePLY'])?_0x593646=_0x5ad815[_0x36f2be(0x18b)]():logger[_0x36f2be(0x1de)](_0x3e880c[_0x36f2be(0x17f)]);let _0x4d8f79=null,_0x2a4bf5=null,_0x9948c1=null,_0xf259c3=_0x3e880c['rEUFH'];if(_0x5ad815[_0x36f2be(0x1b4)]['isRemote']()||global['accessibilityPlatform']&&!process[_0x36f2be(0x20b)][_0x36f2be(0x17d)]){let _0x23bc6a=null;_0x3e880c[_0x36f2be(0x1ed)](nestedKeyValue,_0x5ad815,[_0x3e880c[_0x36f2be(0x1dd)],_0x3e880c['cSFHE']])?_0x23bc6a=_0x5ad815[_0x36f2be(0x207)][_0x36f2be(0x189)]:_0x23bc6a=_0x3e880c[_0x36f2be(0x1ed)](nestedKeyValue,_0x3ced47,[_0x3e880c[_0x36f2be(0x19e)],_0x3e880c[_0x36f2be(0x181)],_0x3e880c[_0x36f2be(0x175)]]);const _0x4d6eec=_0x41c951||_0x23bc6a&&_0x23bc6a[_0x36f2be(0x21b)];if(_0x4d6eec){_0xf259c3=_0x3e880c['KdZkR'](getCloudProviderFromWsEndpoint,_0x4d6eec);if(_0x3e880c['MaYPj'](_0xf259c3,_0x3e880c[_0x36f2be(0x166)]))_0x9948c1=constants[_0x36f2be(0x16c)][_0x36f2be(0x178)](_0x4d6eec)?_0x3e880c[_0x36f2be(0x1f5)]:_0x3e880c[_0x36f2be(0x1bb)],_0xd64cb9=_0x3e880c[_0x36f2be(0x205)](getBrowserFromWSEndpoint,_0x4d6eec)||_0xd64cb9,_0x4d8f79=_0x292b56[_0x36f2be(0x163)][_0x36f2be(0x174)],_0x2a4bf5=_0x292b56[_0x36f2be(0x163)][_0x36f2be(0x1ec)];else{const _0x5cce3a=await _0x3e880c[_0x36f2be(0x214)](getPlatformDetails);_0x4d8f79=_0x5cce3a['platformName'],_0x2a4bf5=_0x5cce3a[_0x36f2be(0x1f4)];}}if(_0x3e880c[_0x36f2be(0x1d4)](!_0x4d8f79,!_0x2a4bf5)&&!_0x3e880c[_0x36f2be(0x1cf)](isBrowserstackInfra)){const _0xc3a5c8=await _0x3e880c[_0x36f2be(0x214)](getPlatformDetails);_0x4d8f79=_0xc3a5c8['platformName'],_0x2a4bf5=_0xc3a5c8['platformVersion'];}}else{_0x3ced47&&_0x3ced47[_0x36f2be(0x1fc)][_0x36f2be(0x16f)][_0x36f2be(0x1eb)]?_0xd64cb9=_0x3e880c['kQhbl'](getBrowserNameFromChannel,_0x3ced47[_0x36f2be(0x1fc)][_0x36f2be(0x16f)][_0x36f2be(0x1eb)]):_0xd64cb9=_0x3e880c[_0x36f2be(0x1f0)](_0x3e880c['pRieQ'],_0xd64cb9[_0x36f2be(0x1e3)]());const _0x505a06=await _0x3e880c[_0x36f2be(0x200)](getPlatformDetails);_0x4d8f79=_0x505a06[_0x36f2be(0x1b2)],_0x2a4bf5=_0x505a06[_0x36f2be(0x1f4)];}const _0x592441={};_0x592441[_0x36f2be(0x1a5)]=_0xd64cb9,_0x592441[_0x36f2be(0x1bc)]=_0x15c549,_0x592441[_0x36f2be(0x1ea)]={},_0x592441[_0x36f2be(0x174)]=_0x4d8f79,_0x592441[_0x36f2be(0x1ec)]=_0x2a4bf5,_0x592441[_0x36f2be(0x1c5)]=_0x9948c1;const _0x4037b4=_0x592441;_0x593646&&(_0x4037b4[_0x36f2be(0x1ea)][_0x36f2be(0x209)]=_0x593646);const _0x23f759={};_0x23f759[_0x36f2be(0x160)]=_0xf259c3,_0x292b56[_0x36f2be(0x163)]=Object[_0x36f2be(0x212)]({},_0x292b56[_0x36f2be(0x163)],_0x23f759,_0x4037b4);},_0x3e880c[_0x47db3b(0x15b)])(_0x2f0792,_0x2e42ee,_0x409884);}static[a51_0x207c9c(0x1af)](){this['patchConnection'](),this['patchCRConnection']();}static[a51_0x207c9c(0x196)](){const _0x3464b0=a51_0x207c9c,_0x134345={'nPxEd':function(_0x385042,_0x4cdcd0,_0x46ff46){return _0x385042(_0x4cdcd0,_0x46ff46);},'zzcJf':_0x3464b0(0x1c8),'cQSCD':_0x3464b0(0x213),'YZwCq':_0x3464b0(0x1d6),'UYseJ':function(_0xd70992,_0x224824,_0x3293e4){return _0xd70992(_0x224824,_0x3293e4);},'JGlfp':function(_0x5774b2,_0x9cd537,_0x21067d){return _0x5774b2(_0x9cd537,_0x21067d);},'sjloD':_0x3464b0(0x1cb),'WxJNa':_0x3464b0(0x1fb),'rlmFI':function(_0x2c6616,_0x43ea15,_0x5cd27d){return _0x2c6616(_0x43ea15,_0x5cd27d);},'hwdvo':function(_0xd976a,_0x909b9){return _0xd976a===_0x909b9;},'ZAcEU':_0x3464b0(0x180),'WICPY':function(_0x951af6,_0x39b372,_0x5b783f,_0x2fd182){return _0x951af6(_0x39b372,_0x5b783f,_0x2fd182);},'CIWJl':function(_0x61dc9f,_0x30d02a){return _0x61dc9f||_0x30d02a;},'pZwnf':function(_0xa74619,_0x12ecef){return _0xa74619(_0x12ecef);},'WDFJl':function(_0x286519,_0x5ebf2e){return _0x286519(_0x5ebf2e);},'SskDc':_0x3464b0(0x165),'cxoFp':_0x3464b0(0x1ff),'AxrEe':_0x3464b0(0x195),'rtGXS':function(_0x204750,_0x1c3c68){return _0x204750(_0x1c3c68);},'jDegL':function(_0x3ef19f,_0x158da8){return _0x3ef19f(_0x158da8);},'koayL':'../../helpers/playwright-helper','ZVLPp':function(_0x46e5c9){return _0x46e5c9();},'QdxAu':function(_0x360f4d,_0x21c525){return _0x360f4d(_0x21c525);},'bopGV':_0x3464b0(0x1ee),'clSpc':function(_0x10ec20,_0x3b05f3){return _0x10ec20!=_0x3b05f3;},'spVzo':function(_0x3d61d1){return _0x3d61d1();},'qNkdj':'sendMessageToServer','VfEKy':_0x3464b0(0x20c),'NxGVa':_0x3464b0(0x164)},_0x19fc5c=this;if(!this[_0x3464b0(0x1d1)])try{const _0x2c7b39=path[_0x3464b0(0x1cd)](_0x134345[_0x3464b0(0x1ae)],_0x134345[_0x3464b0(0x216)],_0x134345['AxrEe']),_0x556d50=_0x134345[_0x3464b0(0x1be)](importFileFromPWCore,_0x2c7b39);if(_0x556d50&&_0x556d50['Connection'])this[_0x3464b0(0x1d1)]=_0x556d50[_0x3464b0(0x1d1)];else{const {getBundledConnectionClass:_0x360ccc}=_0x134345['jDegL'](require,_0x134345[_0x3464b0(0x1d0)]),_0x163785=_0x134345['ZVLPp'](_0x360ccc);_0x163785?this[_0x3464b0(0x1d1)]=_0x163785:_0x134345[_0x3464b0(0x162)](debug,_0x134345[_0x3464b0(0x21c)]);}}catch(_0x24848b){_0x134345[_0x3464b0(0x162)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x24848b[_0x3464b0(0x1d9)]());}const _0x2f6b20=this[_0x3464b0(0x1d1)];if(_0x134345[_0x3464b0(0x18a)](_0x2f6b20,null)&&_0x2f6b20[_0x3464b0(0x1a8)][_0x3464b0(0x20e)])return;try{if(_0x134345[_0x3464b0(0x18a)](_0x2f6b20,null)){const _0x10b1c6=_0x2f6b20['prototype'][_0x3464b0(0x20c)],_0x189659=_0x2f6b20[_0x3464b0(0x1a8)][_0x3464b0(0x215)];_0x134345[_0x3464b0(0x1c7)](isAccessibilityAutomationSession)&&Object[_0x3464b0(0x1fe)](_0x2f6b20['prototype'],_0x134345[_0x3464b0(0x191)],{'get':function(){return async function(){const _0xaabc02=a51_0x28fc;try{if(!global[_0xaabc02(0x17b)]&&global[_0xaabc02(0x1c6)]&&_0x134345[_0xaabc02(0x1e9)](nestedKeyValue,global[_0xaabc02(0x1cb)],[_0x134345[_0xaabc02(0x1b3)],_0x134345['cQSCD'],_0x134345[_0xaabc02(0x16a)]])&&_0x134345['UYseJ'](shouldScanTestForAccessibility,global[_0xaabc02(0x1cb)]['currentTest'][_0xaabc02(0x213)][_0xaabc02(0x1d6)],!![])&&scripts[_0xaabc02(0x1da)](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0xaabc02(0x17b)]=!![];const _0x5c74a1=_0x134345[_0xaabc02(0x184)](nestedKeyValue,global,[_0x134345[_0xaabc02(0x210)],_0x134345[_0xaabc02(0x18d)]]);_0x5c74a1&&logger[_0xaabc02(0x1df)]('Page\x20Scan\x20result='+util[_0xaabc02(0x1ac)](await _0x134345['rlmFI'](performScanWithRetry,_0x5c74a1,arguments[0x1]))),_0x134345[_0xaabc02(0x17a)](arguments[0x0][_0xaabc02(0x1e4)],_0x134345['ZAcEU'])&&global[_0xaabc02(0x1d5)]&&logger[_0xaabc02(0x1df)]('Driver\x20Scan\x20result='+util['format'](await _0x134345['WICPY'](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0xaabc02(0x1cc)])));}}catch(_0x30f2fc){logger['debug'](_0xaabc02(0x19f)+util[_0xaabc02(0x1ac)](_0x30f2fc));}return global['bstackPerformA11yScan']=![],_0x189659[_0xaabc02(0x18f)](this,arguments);};}}),!_0x134345['QdxAu'](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0x2f6b20[_0x3464b0(0x1a8)],_0x134345[_0x3464b0(0x1b9)],{'get':function(){return async function _0x4ce6b6(_0x5e9711){const _0x4ae1fe=a51_0x28fc;if(BrowserstackCLI[_0x4ae1fe(0x1bd)]()[_0x4ae1fe(0x1f8)]()){const _0xd9bb44={};_0xd9bb44[_0x4ae1fe(0x20a)]=_0x5e9711,await BrowserstackCLI[_0x4ae1fe(0x1bd)]()[_0x4ae1fe(0x1ba)]()[_0x4ae1fe(0x172)](AutomationFrameworkState[_0x4ae1fe(0x1b7)],HookState['POST'],_0xd9bb44);}else{const _0x18c976=_0x5e9711&&_0x5e9711[_0x4ae1fe(0x15d)]&&_0x5e9711[_0x4ae1fe(0x15d)][_0x4ae1fe(0x19c)];if(_0x18c976){const _0x370dcd=_0x18c976[_0x4ae1fe(0x1b0)],_0x3d9cb8=_0x18c976[_0x4ae1fe(0x1f6)];_0x134345[_0x4ae1fe(0x202)](!_0x370dcd,!_0x3d9cb8)&&await ClientTroubleShootingService[_0x4ae1fe(0x15c)](),_0x3d9cb8&&(_0x134345[_0x4ae1fe(0x1a7)](debug,_0x4ae1fe(0x17c)+_0x3d9cb8[_0x4ae1fe(0x1d9)]()),_0x19fc5c['currentSessionDetails'][_0x4ae1fe(0x174)]=_0x3d9cb8[_0x4ae1fe(0x1b2)],_0x19fc5c[_0x4ae1fe(0x163)]['platform_version']=_0x3d9cb8['platformVersion']),_0x370dcd&&(_0x134345[_0x4ae1fe(0x17e)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x370dcd),_0x19fc5c['currentSessionDetails'][_0x4ae1fe(0x197)]=_0x370dcd);}}return _0x10b1c6[_0x4ae1fe(0x18f)](this,arguments);};}}),_0x2f6b20[_0x3464b0(0x1a8)][_0x3464b0(0x20e)]=!![],logger[_0x3464b0(0x1de)](_0x134345['NxGVa']);}}catch(_0x46ee49){_0x134345[_0x3464b0(0x20d)](debug,_0x3464b0(0x16d)+_0x46ee49),_0x19fc5c[_0x3464b0(0x182)]=_0x46ee49[_0x3464b0(0x1d9)]();}}static[a51_0x207c9c(0x1e1)](){const _0x21cd36=a51_0x207c9c,_0x4b10df={'xLnrt':function(_0x5239a9,_0x1238b3){return _0x5239a9(_0x1238b3);},'QxuWl':function(_0x3a402b){return _0x3a402b();},'wAVsC':'lib','BvefR':_0x21cd36(0x219),'UOZOn':_0x21cd36(0x192),'yqlqJ':_0x21cd36(0x211),'XIozh':function(_0x42d8b3,_0xd901b8){return _0x42d8b3(_0xd901b8);},'CNrZU':_0x21cd36(0x1f7),'gcBDK':function(_0x41851f,_0xda261){return _0x41851f(_0xda261);},'ChqDy':_0x21cd36(0x1b5),'mfcco':function(_0x4eb33e,_0x43455f){return _0x4eb33e!=_0x43455f;},'bazQY':_0x21cd36(0x1d7),'vUzVA':function(_0x58eb38,_0xae587){return _0x58eb38(_0xae587);}},_0x26b469=this;if(_0x4b10df[_0x21cd36(0x19d)](isAccessibilityAutomationSession)){let _0x2855bd=null;try{const _0xef19e4=path['join'](_0x4b10df[_0x21cd36(0x1f1)],_0x4b10df[_0x21cd36(0x1ca)],_0x4b10df['UOZOn'],_0x4b10df[_0x21cd36(0x183)]),_0x1ff499=_0x4b10df['xLnrt'](importFileFromPWCore,_0xef19e4);!_0x1ff499?_0x4b10df[_0x21cd36(0x193)](debug,_0x4b10df[_0x21cd36(0x1ef)]):_0x2855bd=_0x1ff499[_0x21cd36(0x167)];}catch(_0x3b9886){_0x4b10df['gcBDK'](debug,_0x4b10df['ChqDy']);}try{if(_0x4b10df['mfcco'](_0x2855bd,null)){const _0x649e89=_0x2855bd[_0x21cd36(0x1a8)][_0x21cd36(0x1d7)];Object[_0x21cd36(0x1fe)](_0x2855bd[_0x21cd36(0x1a8)],_0x4b10df[_0x21cd36(0x176)],{'get':function(){const _0x4dc2a5={'uHiXF':function(_0x2e0ae0,_0x208a26){const _0x664b5f=a51_0x28fc;return _0x4b10df[_0x664b5f(0x1bf)](_0x2e0ae0,_0x208a26);}};return async function _0x272c8c(_0x1ae503){const _0xa9f88=a51_0x28fc;try{if(BrowserstackCLI[_0xa9f88(0x1bd)]()[_0xa9f88(0x1f8)]()){const _0x270507={};_0x270507[_0xa9f88(0x20a)]=_0x1ae503,await BrowserstackCLI[_0xa9f88(0x1bd)]()[_0xa9f88(0x1ba)]()['trackEvent'](AutomationFrameworkState[_0xa9f88(0x1b7)],HookState['POST'],_0x270507),delete _0x1ae503['bStackParams'];}else{const _0x4cd1bc=_0x1ae503[_0xa9f88(0x1e8)];if(_0x4cd1bc){delete _0x1ae503[_0xa9f88(0x1e8)];const _0x51b5a7=_0x4cd1bc[_0xa9f88(0x1b0)],_0x654f7c=_0x4cd1bc[_0xa9f88(0x1f6)];_0x654f7c&&(_0x4dc2a5[_0xa9f88(0x1d3)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x654f7c['toString']()),_0x26b469['currentSessionDetails'][_0xa9f88(0x174)]=_0x654f7c['platformName'],_0x26b469[_0xa9f88(0x163)]['platform_version']=_0x654f7c['platformVersion']),_0x51b5a7&&(_0x4dc2a5[_0xa9f88(0x1d3)](debug,_0xa9f88(0x1c0)+_0x51b5a7),_0x26b469[_0xa9f88(0x163)][_0xa9f88(0x197)]=_0x51b5a7);}}}catch(_0x3dc34f){_0x4dc2a5[_0xa9f88(0x1d3)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x3dc34f[_0xa9f88(0x1d9)]());}return _0x649e89['apply'](this,arguments);};}});}}catch(_0x15c1ea){_0x4b10df['vUzVA'](debug,_0x21cd36(0x1c3)+_0x15c1ea),_0x26b469[_0x21cd36(0x182)]=_0x15c1ea['toString']();}}}static[a51_0x207c9c(0x203)](){const _0x294d3e=a51_0x207c9c;return this[_0x294d3e(0x163)];}}module[a51_0x207c9c(0x1d2)]=PlaywrightSessionDetails;
1
+ function a51_0x2892(){const _0x4e087c=['Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','rtagO','project','testInfo','unknown_grid','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','uOEta','87qZoolg','WhEpt','bEAyB','XSrux','QkEtt','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','Device\x20Model\x20is\x20not\x20available','1811152ByyCyv','100484nYDgBL','oHsiB','fScEd','platformDetails','__driver','fgwTx','HbpkQ','Connection','POST','siiPl','../v2/state/hookState.js','eEMfv','foGrA','vhkAz','__workerDetails','NDdbQ','format','connectOptions','titlePath','328xsftoX','../v2/browserstackCLI','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','browser','getDetails','mMRHq','FfqDg','FhFnD','CAGIR','exports','wGiVZ','firefox','QlxTi','kumEk','Not\x20able\x20to\x20import\x20Connection','parse','currentTest','jCkcc','includes','UcZYi','turboscale','_browserType','HJDTi','patchCRConnection','cloudProvider','patchConnection','shouldWrapCommand','vrLJF','test','bsSessionId','webkit','BSTACK_ATS_URL','currentSessionDetails','zIDeB','wRfrt','defineProperty','bStackParams','AjJgT','ukkjV','safari','VJcpb','FoBuz','tsESA','connection.js','isRemote','wsEndpoint','YlDTu','GThxK','join','16753GDOHmb','url','123xjRApl','Driver\x20Scan\x20result=','syiqb','URBKn','35794mLRHAC','split','_onMessage','getInstance','performScan','edge','platformName','chrome','UyyUA','oQiXa','setupBrowserDetails','yYlnv','_defaultConnectOptions','playwright-','sessionId','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','message','debug','fromEntries','../../bin/playwright/accessibility-helper','TdVLD','jpWVJ','bsParams','TzYsl','cQByc','caps','isRunning','PLAYWRIGHT_DISPATCH','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Error\x20in\x20finding\x20platform\x20details\x20','entries','../../helpers/accessibility-automation/scripts','60VjoupZ','YXcYK','108050WvWsVm','../utils/constants','AWfph','product','1740nHeHUm','../../helpers/logger','IqOLl','pwPage','getAutomationFramework','FVpLv','BSTACK_URL','../../helpers/helper','../../helpers/test-observability/error-handler','sessionError','WbmNa','capabilities','Page','server','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','browserName','5222170VqQrCD','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Failed\x20to\x20perform\x20scan\x20','Page\x20Scan\x20result=','platform','browser_version','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Performing\x20scan\x20for\x20','dispatch','accessibilityPlatform','esBfE','apply','sendMessageToServer','function','DWBPn','patch','./accessibility-helper','use','params','bstackPerformA11yScan','rtviR','platform_version','vfZMt','bEpTi','VdBua','lib','HBPTf','channel','toString','pZrtP','_bstackDispatchPatched','version','chromium','IkAZk','BROWSERSTACK_TEST_OBSERVABILITY','pqCoN','Error\x20in\x20importing\x20connection\x20','../utils/clientTroubleshootingService.js','prototype','114759HvagsS','PGIRd','browserstack','FydDJ','../../helpers/accessibility-automation/helper','DoXBE','feIUD','dTzub','crConnection.js','platformVersion','SWovm'];a51_0x2892=function(){return _0x4e087c;};return a51_0x2892();}const a51_0x54f95e=a51_0x4416;(function(_0x4d5da0,_0x183232){const _0x55e67b=a51_0x4416,_0x4c9a08=_0x4d5da0();while(!![]){try{const _0x4c9544=-parseInt(_0x55e67b(0x249))/0x1*(-parseInt(_0x55e67b(0x1da))/0x2)+-parseInt(_0x55e67b(0x1d6))/0x3*(parseInt(_0x55e67b(0x251))/0x4)+-parseInt(_0x55e67b(0x1fc))/0x5*(parseInt(_0x55e67b(0x1fa))/0x6)+parseInt(_0x55e67b(0x250))/0x7+parseInt(_0x55e67b(0x1a3))/0x8*(-parseInt(_0x55e67b(0x237))/0x9)+parseInt(_0x55e67b(0x210))/0xa+parseInt(_0x55e67b(0x1d4))/0xb*(parseInt(_0x55e67b(0x200))/0xc);if(_0x4c9544===_0x183232)break;else _0x4c9a08['push'](_0x4c9a08['shift']());}catch(_0x3d7e1e){_0x4c9a08['push'](_0x4c9a08['shift']());}}}(a51_0x2892,0xc0dd7));function a51_0x4416(_0x214761,_0x5a32ec){const _0x28926f=a51_0x2892();return a51_0x4416=function(_0x4416e0,_0x34952f){_0x4416e0=_0x4416e0-0x1a0;let _0x3601e7=_0x28926f[_0x4416e0];return _0x3601e7;},a51_0x4416(_0x214761,_0x5a32ec);}const path=require('path'),url=require(a51_0x54f95e(0x1d5)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a51_0x54f95e(0x207)),{o11yErrorHandler}=require(a51_0x54f95e(0x208)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a51_0x54f95e(0x23b)),logger=require(a51_0x54f95e(0x201))['winstonLogger'],scripts=require(a51_0x54f95e(0x1f9)),{browserStackExecuteDriver}=require(a51_0x54f95e(0x1ed)),AccessibilityHelper=require(a51_0x54f95e(0x220)),constants=require(a51_0x54f95e(0x1fd)),BrowserstackCLI=require(a51_0x54f95e(0x1a4)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a51_0x54f95e(0x25b)),{performScanWithRetry}=require(a51_0x54f95e(0x1f6)),ClientTroubleShootingService=require(a51_0x54f95e(0x235)),getBrowserNameFromChannel=_0x5693eb=>{const _0x156ec1=a51_0x54f95e,_0x58a119={};_0x58a119[_0x156ec1(0x24a)]='1|4|2|5|3|0',_0x58a119[_0x156ec1(0x1fb)]=function(_0x4efa47,_0x593a9a){return _0x4efa47===_0x593a9a;},_0x58a119[_0x156ec1(0x23e)]=_0x156ec1(0x1c1),_0x58a119[_0x156ec1(0x20a)]=_0x156ec1(0x230),_0x58a119[_0x156ec1(0x1a8)]=_0x156ec1(0x1df),_0x58a119[_0x156ec1(0x1b9)]=_0x156ec1(0x1ca),_0x58a119[_0x156ec1(0x233)]='chrome',_0x58a119[_0x156ec1(0x257)]=_0x156ec1(0x1ae);const _0x1a2bb4=_0x58a119,_0xf7151d=_0x1a2bb4[_0x156ec1(0x24a)][_0x156ec1(0x1db)]('|');let _0x400ff2=0x0;while(!![]){switch(_0xf7151d[_0x400ff2++]){case'0':if(_0x1a2bb4[_0x156ec1(0x1fb)](_0x5693eb,_0x1a2bb4['dTzub']))return _0x1a2bb4[_0x156ec1(0x23e)];continue;case'1':if(_0x5693eb['includes'](_0x1a2bb4[_0x156ec1(0x20a)]))return _0x1a2bb4['WbmNa'];continue;case'2':if(_0x5693eb[_0x156ec1(0x1b5)](_0x1a2bb4['mMRHq']))return _0x1a2bb4['mMRHq'];continue;case'3':if(_0x5693eb['includes'](_0x1a2bb4[_0x156ec1(0x1b9)]))return _0x1a2bb4[_0x156ec1(0x1b9)];continue;case'4':if(_0x5693eb[_0x156ec1(0x1b5)](_0x1a2bb4[_0x156ec1(0x233)]))return _0x1a2bb4[_0x156ec1(0x233)];continue;case'5':if(_0x5693eb[_0x156ec1(0x1b5)](_0x1a2bb4[_0x156ec1(0x257)]))return _0x1a2bb4['HbpkQ'];continue;}break;}},getBrowserFromWSEndpoint=_0x90bba1=>{const _0x2af87b=a51_0x54f95e,_0x4e3652={'BaUJS':_0x2af87b(0x1e1),'FVpLv':function(_0x364f49,_0x537ac5){return _0x364f49(_0x537ac5);}};try{const _0x27ea77=url['parse'](_0x90bba1),_0x19d966=new URLSearchParams(_0x27ea77['query']),_0x2dd535=Object[_0x2af87b(0x1ec)](_0x19d966[_0x2af87b(0x1f8)]()),_0x40a169=JSON[_0x2af87b(0x1b2)](_0x2dd535[_0x2af87b(0x1f3)]);if(_0x40a169&&(_0x40a169[_0x2af87b(0x1a6)]||_0x40a169[_0x2af87b(0x20f)]))return _0x40a169[_0x2af87b(0x1a6)]||_0x40a169['browserName'];return _0x4e3652['BaUJS'];}catch(_0x456314){_0x4e3652[_0x2af87b(0x205)](debug,_0x2af87b(0x211)+_0x456314['toString']());}},getCloudProviderFromWsEndpoint=_0x2d503d=>{const _0x149aee=a51_0x54f95e,_0x156465={};_0x156465[_0x149aee(0x25d)]='browserstack',_0x156465['KzPvc']=_0x149aee(0x246);const _0x38d3da=_0x156465;if(_0x2d503d[_0x149aee(0x1b5)](constants[_0x149aee(0x206)])||_0x2d503d['includes'](constants[_0x149aee(0x1c2)]))return _0x38d3da[_0x149aee(0x25d)];return _0x38d3da['KzPvc'];},a51_0x4116bd={};a51_0x4116bd[a51_0x54f95e(0x1bb)]=undefined,a51_0x4116bd[a51_0x54f95e(0x1c0)]=undefined,a51_0x4116bd['browser']=undefined,a51_0x4116bd[a51_0x54f95e(0x215)]=undefined,a51_0x4116bd[a51_0x54f95e(0x214)]=undefined,a51_0x4116bd[a51_0x54f95e(0x225)]=undefined,a51_0x4116bd['product']=undefined,a51_0x4116bd[a51_0x54f95e(0x20b)]={};class PlaywrightSessionDetails{static [a51_0x54f95e(0x1c3)]=a51_0x4116bd;constructor(){const _0x3ea934=a51_0x54f95e,_0xf976fa={};_0xf976fa[_0x3ea934(0x248)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x55f7a2=_0xf976fa;throw new Error(_0x55f7a2[_0x3ea934(0x248)]);}static ['sessionError']=null;static[a51_0x54f95e(0x1e4)](_0x22fc7b,_0x1c2e74,_0x59917f=null){const _0xac6eec=a51_0x54f95e,_0x318d67={'PGIRd':function(_0x3e8c06,_0x42b145){return _0x3e8c06===_0x42b145;},'oQiXa':_0xac6eec(0x21d),'QlxTi':_0xac6eec(0x20e),'GThxK':_0xac6eec(0x24f),'UOvSe':'local_grid','ejRPN':function(_0x332bcf,_0x5e6497,_0x4b7efe){return _0x332bcf(_0x5e6497,_0x4b7efe);},'FhFnD':_0xac6eec(0x1b8),'tsESA':_0xac6eec(0x1e6),'WkPoD':function(_0x45d7dd,_0x178322,_0x382053){return _0x45d7dd(_0x178322,_0x382053);},'rtviR':_0xac6eec(0x244),'fScEd':_0xac6eec(0x221),'UrUsd':_0xac6eec(0x1a1),'GgMmn':function(_0x2a0158,_0x3b4426){return _0x2a0158(_0x3b4426);},'CAGIR':function(_0x515339,_0x166b3e){return _0x515339===_0x166b3e;},'oHsiB':_0xac6eec(0x239),'bEpTi':_0xac6eec(0x1b7),'IkAZk':'automate','DWBPn':function(_0x32c5cb,_0xbe5535){return _0x32c5cb(_0xbe5535);},'VdBua':function(_0x5439a7){return _0x5439a7();},'DoXBE':function(_0x236edd,_0x33c1a1){return _0x236edd&&_0x33c1a1;},'TzYsl':function(_0x563c7d){return _0x563c7d();},'YlDTu':function(_0x36fb84){return _0x36fb84();},'VJcpb':function(_0x187fd0,_0x336f20){return _0x187fd0+_0x336f20;},'AjJgT':_0xac6eec(0x1e7),'jCkcc':_0xac6eec(0x1e4)},_0x1c395f=this;return _0x318d67['WkPoD'](o11yErrorHandler,async function _0x112e9a(_0x1dad64,_0x29c956,_0x33323d=null){const _0x223a87=_0xac6eec;let _0x65972c=_0x1dad64['_name'],_0x4368af=null;_0x1dad64&&_0x318d67[_0x223a87(0x238)](typeof _0x1dad64['version'],_0x318d67[_0x223a87(0x1e3)])?_0x4368af=_0x1dad64[_0x223a87(0x22f)]():logger[_0x223a87(0x1eb)](_0x318d67[_0x223a87(0x1af)]);let _0xe4c867=null;_0x1dad64&&_0x318d67['PGIRd'](typeof _0x1dad64['model'],_0x318d67['oQiXa'])?_0xe4c867=_0x1dad64['model']():logger[_0x223a87(0x1eb)](_0x318d67[_0x223a87(0x1d2)]);let _0x23ffa0=null,_0x1b0431=null,_0x521328=null,_0x3236eb=_0x318d67['UOvSe'];if(_0x1dad64['_connection'][_0x223a87(0x1cf)]()||global[_0x223a87(0x219)]&&!process['env'][_0x223a87(0x24e)]){let _0x3f7093=null;_0x318d67['ejRPN'](nestedKeyValue,_0x1dad64,[_0x318d67[_0x223a87(0x1aa)],_0x318d67[_0x223a87(0x1cd)]])?_0x3f7093=_0x1dad64[_0x223a87(0x1b8)][_0x223a87(0x1e6)]:_0x3f7093=_0x318d67['WkPoD'](nestedKeyValue,_0x29c956,[_0x318d67[_0x223a87(0x224)],_0x318d67[_0x223a87(0x253)],_0x318d67['UrUsd']]);const _0x163d2c=_0x33323d||_0x3f7093&&_0x3f7093[_0x223a87(0x1d0)];if(_0x163d2c){_0x3236eb=_0x318d67['GgMmn'](getCloudProviderFromWsEndpoint,_0x163d2c);if(_0x318d67[_0x223a87(0x1ab)](_0x3236eb,_0x318d67[_0x223a87(0x252)]))_0x521328=constants['ATS_WSS_URL_REGEX'][_0x223a87(0x1bf)](_0x163d2c)?_0x318d67[_0x223a87(0x227)]:_0x318d67[_0x223a87(0x231)],_0x65972c=_0x318d67['DWBPn'](getBrowserFromWSEndpoint,_0x163d2c)||_0x65972c,_0x23ffa0=_0x1c395f[_0x223a87(0x1c3)]['platform'],_0x1b0431=_0x1c395f['currentSessionDetails'][_0x223a87(0x225)];else{const _0x25ed98=await _0x318d67['VdBua'](getPlatformDetails);_0x23ffa0=_0x25ed98[_0x223a87(0x1e0)],_0x1b0431=_0x25ed98[_0x223a87(0x240)];}}if(_0x318d67[_0x223a87(0x23c)](!_0x23ffa0,!_0x1b0431)&&!_0x318d67[_0x223a87(0x1f1)](isBrowserstackInfra)){const _0xe74275=await _0x318d67[_0x223a87(0x1d1)](getPlatformDetails);_0x23ffa0=_0xe74275[_0x223a87(0x1e0)],_0x1b0431=_0xe74275['platformVersion'];}}else{_0x29c956&&_0x29c956[_0x223a87(0x244)][_0x223a87(0x221)][_0x223a87(0x22b)]?_0x65972c=_0x318d67[_0x223a87(0x21e)](getBrowserNameFromChannel,_0x29c956[_0x223a87(0x244)][_0x223a87(0x221)]['channel']):_0x65972c=_0x318d67[_0x223a87(0x1cb)](_0x318d67[_0x223a87(0x1c8)],_0x65972c['toLowerCase']());const _0x22a8de=await _0x318d67[_0x223a87(0x228)](getPlatformDetails);_0x23ffa0=_0x22a8de['platformName'],_0x1b0431=_0x22a8de[_0x223a87(0x240)];}const _0x5364f6={};_0x5364f6['browser']=_0x65972c,_0x5364f6[_0x223a87(0x215)]=_0x4368af,_0x5364f6[_0x223a87(0x20b)]={},_0x5364f6[_0x223a87(0x214)]=_0x23ffa0,_0x5364f6[_0x223a87(0x225)]=_0x1b0431,_0x5364f6[_0x223a87(0x1ff)]=_0x521328;const _0x74cdd9=_0x5364f6;_0xe4c867&&(_0x74cdd9[_0x223a87(0x20b)]['deviceModel']=_0xe4c867);const _0x1ba523={};_0x1ba523['cloudProvider']=_0x3236eb,_0x1c395f[_0x223a87(0x1c3)]=Object['assign']({},_0x1c395f[_0x223a87(0x1c3)],_0x1ba523,_0x74cdd9);},_0x318d67[_0xac6eec(0x1b4)])(_0x22fc7b,_0x1c2e74,_0x59917f);}static[a51_0x54f95e(0x21f)](){const _0x2093c5=a51_0x54f95e;this[_0x2093c5(0x1bc)](),this[_0x2093c5(0x1ba)]();}static[a51_0x54f95e(0x1bc)](){const _0x115429=a51_0x54f95e,_0x1cc9b7={'IqOLl':function(_0x290d06,_0x2d34d4,_0x4e6b4f){return _0x290d06(_0x2d34d4,_0x4e6b4f);},'UyyUA':_0x115429(0x1b3),'eEMfv':_0x115429(0x245),'pZrtP':_0x115429(0x1a2),'SWovm':function(_0x44ce9b,_0x2f2076,_0x1d2588){return _0x44ce9b(_0x2f2076,_0x1d2588);},'IFyBY':_0x115429(0x25f),'FoBuz':_0x115429(0x203),'NDdbQ':function(_0x56c0d9,_0x4636f4){return _0x56c0d9===_0x4636f4;},'vhkAz':_0x115429(0x20c),'rtagO':function(_0x4c0517,_0x26c9c6,_0x17d745,_0x3c1347){return _0x4c0517(_0x26c9c6,_0x17d745,_0x3c1347);},'cQByc':function(_0x5b73f0,_0x150dae){return _0x5b73f0||_0x150dae;},'TdVLD':function(_0x1597ac,_0x540968){return _0x1597ac(_0x540968);},'URBKn':_0x115429(0x229),'siiPl':'client','kumEk':_0x115429(0x1ce),'vrLJF':function(_0xc2326d,_0x3faff9){return _0xc2326d(_0x3faff9);},'wGiVZ':function(_0x304eb1,_0x5f08b0){return _0x304eb1(_0x5f08b0);},'feIUD':'../../helpers/playwright-helper','Bytzy':function(_0x4e6589){return _0x4e6589();},'esBfE':function(_0x56f547,_0x3fd092){return _0x56f547(_0x3fd092);},'bEAyB':_0x115429(0x1b1),'fgwTx':function(_0x1abe8e,_0x4cf75d){return _0x1abe8e!=_0x4cf75d;},'CAaUN':function(_0x26cd2a){return _0x26cd2a();},'jpWVJ':'sendMessageToServer','FydDJ':function(_0x576912,_0x29697c){return _0x576912(_0x29697c);},'ukkjV':_0x115429(0x218),'zIDeB':_0x115429(0x1e9),'MmnjL':function(_0x5e59a0,_0x3872b0){return _0x5e59a0(_0x3872b0);}},_0x10ed35=this;if(!this[_0x115429(0x258)])try{const _0x33b9cd=path[_0x115429(0x1d3)](_0x1cc9b7[_0x115429(0x1d9)],_0x1cc9b7[_0x115429(0x25a)],_0x1cc9b7[_0x115429(0x1b0)]),_0x103d04=_0x1cc9b7[_0x115429(0x1be)](importFileFromPWCore,_0x33b9cd);if(_0x103d04&&_0x103d04[_0x115429(0x258)])this[_0x115429(0x258)]=_0x103d04['Connection'];else{const {getBundledConnectionClass:_0x312d3d}=_0x1cc9b7[_0x115429(0x1ad)](require,_0x1cc9b7[_0x115429(0x23d)]),_0x4bd848=_0x1cc9b7['Bytzy'](_0x312d3d);_0x4bd848?this['Connection']=_0x4bd848:_0x1cc9b7[_0x115429(0x21a)](debug,_0x1cc9b7[_0x115429(0x24b)]);}}catch(_0x3c4c76){_0x1cc9b7[_0x115429(0x1ee)](debug,_0x115429(0x234)+_0x3c4c76['toString']());}const _0x1826e6=this[_0x115429(0x258)];if(_0x1cc9b7[_0x115429(0x256)](_0x1826e6,null)&&_0x1826e6[_0x115429(0x236)]['_bstackDispatchPatched'])return;try{if(_0x1cc9b7[_0x115429(0x256)](_0x1826e6,null)){const _0x5bf50d=_0x1826e6[_0x115429(0x236)][_0x115429(0x218)],_0x38bd45=_0x1826e6[_0x115429(0x236)][_0x115429(0x21c)];_0x1cc9b7['CAaUN'](isAccessibilityAutomationSession)&&Object[_0x115429(0x1c6)](_0x1826e6[_0x115429(0x236)],_0x1cc9b7[_0x115429(0x1ef)],{'get':function(){return async function(){const _0x131e72=a51_0x4416;try{if(!global['bstackPerformA11yScan']&&global[_0x131e72(0x219)]&&_0x1cc9b7[_0x131e72(0x202)](nestedKeyValue,global[_0x131e72(0x25f)],[_0x1cc9b7[_0x131e72(0x1e2)],_0x1cc9b7[_0x131e72(0x25c)],_0x1cc9b7[_0x131e72(0x22d)]])&&_0x1cc9b7[_0x131e72(0x202)](shouldScanTestForAccessibility,global[_0x131e72(0x25f)][_0x131e72(0x1b3)][_0x131e72(0x245)][_0x131e72(0x1a2)],!![])&&scripts[_0x131e72(0x1bd)](arguments[0x1])){logger['debug'](_0x131e72(0x217)+arguments[0x1]),global[_0x131e72(0x223)]=!![];const _0x3a21a7=_0x1cc9b7[_0x131e72(0x241)](nestedKeyValue,global,[_0x1cc9b7['IFyBY'],_0x1cc9b7[_0x131e72(0x1cc)]]);_0x3a21a7&&logger['info'](_0x131e72(0x213)+util[_0x131e72(0x1a0)](await _0x1cc9b7[_0x131e72(0x241)](performScanWithRetry,_0x3a21a7,arguments[0x1]))),_0x1cc9b7[_0x131e72(0x260)](arguments[0x0]['_type'],_0x1cc9b7[_0x131e72(0x25e)])&&global[_0x131e72(0x255)]&&logger['info'](_0x131e72(0x1d7)+util[_0x131e72(0x1a0)](await _0x1cc9b7[_0x131e72(0x243)](performScanWithRetry,global[_0x131e72(0x255)],arguments[0x1],scripts[_0x131e72(0x1de)])));}}catch(_0x348ac5){logger['debug'](_0x131e72(0x212)+util[_0x131e72(0x1a0)](_0x348ac5));}return global[_0x131e72(0x223)]=![],_0x38bd45[_0x131e72(0x21b)](this,arguments);};}}),!_0x1cc9b7[_0x115429(0x23a)](isFalse,process['env'][_0x115429(0x232)])&&Object['defineProperty'](_0x1826e6[_0x115429(0x236)],_0x1cc9b7[_0x115429(0x1c9)],{'get':function(){return async function _0x1e5eb2(_0x4504e4){const _0xb8ac10=a51_0x4416;if(BrowserstackCLI[_0xb8ac10(0x1dd)]()[_0xb8ac10(0x1f4)]()){const _0x19587f={};_0x19587f[_0xb8ac10(0x1ea)]=_0x4504e4,await BrowserstackCLI['getInstance']()[_0xb8ac10(0x204)]()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xb8ac10(0x259)],_0x19587f);}else{const _0xe30c91=_0x4504e4&&_0x4504e4['params']&&_0x4504e4[_0xb8ac10(0x222)][_0xb8ac10(0x1f0)];if(_0xe30c91){const _0x3a0a9c=_0xe30c91['sessionId'],_0x53a15e=_0xe30c91[_0xb8ac10(0x254)];_0x1cc9b7[_0xb8ac10(0x1f2)](!_0x3a0a9c,!_0x53a15e)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0x53a15e&&(_0x1cc9b7[_0xb8ac10(0x1ee)](debug,_0xb8ac10(0x242)+_0x53a15e[_0xb8ac10(0x22c)]()),_0x10ed35[_0xb8ac10(0x1c3)][_0xb8ac10(0x214)]=_0x53a15e[_0xb8ac10(0x1e0)],_0x10ed35['currentSessionDetails']['platform_version']=_0x53a15e['platformVersion']),_0x3a0a9c&&(_0x1cc9b7['TdVLD'](debug,_0xb8ac10(0x216)+_0x3a0a9c),_0x10ed35['currentSessionDetails'][_0xb8ac10(0x1c0)]=_0x3a0a9c);}}return _0x5bf50d['apply'](this,arguments);};}}),_0x1826e6[_0x115429(0x236)][_0x115429(0x22e)]=!![],logger[_0x115429(0x1eb)](_0x1cc9b7[_0x115429(0x1c4)]);}}catch(_0x4964a3){_0x1cc9b7['MmnjL'](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x4964a3),_0x10ed35['sessionError']=_0x4964a3[_0x115429(0x22c)]();}}static[a51_0x54f95e(0x1ba)](){const _0x5333cd=a51_0x54f95e,_0x2c4e32={'yYlnv':function(_0x1a07ff,_0x2b7b14){return _0x1a07ff(_0x2b7b14);},'syiqb':function(_0x443221){return _0x443221();},'GOpmw':_0x5333cd(0x229),'XSrux':_0x5333cd(0x20d),'UcZYi':_0x5333cd(0x230),'rDIln':_0x5333cd(0x23f),'AWfph':function(_0x4d19c9,_0xe2f2c){return _0x4d19c9(_0xe2f2c);},'wRfrt':'Not\x20able\x20to\x20import\x20crConnection','QkEtt':function(_0x4020d7,_0x28c496){return _0x4020d7(_0x28c496);},'FfqDg':'Error\x20in\x20importing\x20crConnection','HBPTf':function(_0x380845,_0x33df50){return _0x380845!=_0x33df50;},'vfZMt':_0x5333cd(0x1dc)},_0x17e218=this;if(_0x2c4e32[_0x5333cd(0x1d8)](isAccessibilityAutomationSession)){let _0x1e196c=null;try{const _0x499fca=path[_0x5333cd(0x1d3)](_0x2c4e32['GOpmw'],_0x2c4e32[_0x5333cd(0x24c)],_0x2c4e32[_0x5333cd(0x1b6)],_0x2c4e32['rDIln']),_0x49e6aa=_0x2c4e32[_0x5333cd(0x1fe)](importFileFromPWCore,_0x499fca);!_0x49e6aa?_0x2c4e32[_0x5333cd(0x1e5)](debug,_0x2c4e32[_0x5333cd(0x1c5)]):_0x1e196c=_0x49e6aa['CRConnection'];}catch(_0x3c37a9){_0x2c4e32[_0x5333cd(0x24d)](debug,_0x2c4e32[_0x5333cd(0x1a9)]);}try{if(_0x2c4e32[_0x5333cd(0x22a)](_0x1e196c,null)){const _0x4fd85e=_0x1e196c[_0x5333cd(0x236)][_0x5333cd(0x1dc)];Object[_0x5333cd(0x1c6)](_0x1e196c[_0x5333cd(0x236)],_0x2c4e32[_0x5333cd(0x226)],{'get':function(){return async function _0x298e39(_0x2d0360){const _0x13a92b=a51_0x4416;try{if(BrowserstackCLI[_0x13a92b(0x1dd)]()[_0x13a92b(0x1f4)]()){const _0x3f8f99={};_0x3f8f99[_0x13a92b(0x1ea)]=_0x2d0360,await BrowserstackCLI[_0x13a92b(0x1dd)]()[_0x13a92b(0x204)]()['trackEvent'](AutomationFrameworkState[_0x13a92b(0x1f5)],HookState[_0x13a92b(0x259)],_0x3f8f99),delete _0x2d0360[_0x13a92b(0x1c7)];}else{const _0x6b5de8=_0x2d0360[_0x13a92b(0x1c7)];if(_0x6b5de8){delete _0x2d0360[_0x13a92b(0x1c7)];const _0x2ef4bc=_0x6b5de8[_0x13a92b(0x1e8)],_0x2d025f=_0x6b5de8[_0x13a92b(0x254)];_0x2d025f&&(_0x2c4e32[_0x13a92b(0x1e5)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x2d025f[_0x13a92b(0x22c)]()),_0x17e218[_0x13a92b(0x1c3)][_0x13a92b(0x214)]=_0x2d025f[_0x13a92b(0x1e0)],_0x17e218[_0x13a92b(0x1c3)][_0x13a92b(0x225)]=_0x2d025f[_0x13a92b(0x240)]),_0x2ef4bc&&(_0x2c4e32[_0x13a92b(0x1e5)](debug,_0x13a92b(0x1a5)+_0x2ef4bc),_0x17e218[_0x13a92b(0x1c3)][_0x13a92b(0x1c0)]=_0x2ef4bc);}}}catch(_0xdbf83b){_0x2c4e32['yYlnv'](debug,_0x13a92b(0x1f7)+_0xdbf83b[_0x13a92b(0x22c)]());}return _0x4fd85e[_0x13a92b(0x21b)](this,arguments);};}});}}catch(_0x205db1){_0x2c4e32[_0x5333cd(0x1e5)](debug,_0x5333cd(0x247)+_0x205db1),_0x17e218[_0x5333cd(0x209)]=_0x205db1[_0x5333cd(0x22c)]();}}}static[a51_0x54f95e(0x1a7)](){const _0x302dbf=a51_0x54f95e;return this[_0x302dbf(0x1c3)];}}module[a51_0x54f95e(0x1ac)]=PlaywrightSessionDetails;
@@ -1 +1 @@
1
- const a52_0x5d5973=a52_0x5a63;function a52_0x28a5(){const _0x48deff=['setCustomTags','pwPage','NQxqm','4117160uxawaI','368348tnPzqA','now','../../helpers/helper','UWXop','util','../v2/customTagManager','../../helpers/performance/performance-tester','../../helpers/performance/constants','SYNC','BROWSERSTACK_TEST_OBSERVABILITY','_bstackNewPagePatched','measureWrapper','364638KlnbJJ','ObservabilitySync:','../v2/browserstackCLI','../../helpers/test-observability/error-handler','patchBrowserNewPage','o11ySyncDone','2917122DjMWEF','format','env','getInstance','NhhYS','uploadAttachments','../v2/uploadAttachmentsManager','373020pFPREq','1935280WTZhSM','hxAZx','../../helpers/logger','debug','uploadAttachment','690316bwDHdM','7XiPxPy','bind','evaluate','__workerDetails','kOFDw','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','isRunning','annotate','xyFIe','newPage'];a52_0x28a5=function(){return _0x48deff;};return a52_0x28a5();}(function(_0x4206c6,_0x3c2d21){const _0x4fa7a4=a52_0x5a63,_0x13a2ed=_0x4206c6();while(!![]){try{const _0x48d271=parseInt(_0x4fa7a4(0x130))/0x1+parseInt(_0x4fa7a4(0x149))/0x2+-parseInt(_0x4fa7a4(0x13c))/0x3+parseInt(_0x4fa7a4(0x14f))/0x4+-parseInt(_0x4fa7a4(0x14a))/0x5+-parseInt(_0x4fa7a4(0x142))/0x6+-parseInt(_0x4fa7a4(0x150))/0x7*(-parseInt(_0x4fa7a4(0x12f))/0x8);if(_0x48d271===_0x3c2d21)break;else _0x13a2ed['push'](_0x13a2ed['shift']());}catch(_0x1157fb){_0x13a2ed['push'](_0x13a2ed['shift']());}}}(a52_0x28a5,0x3c5fd));const util=require(a52_0x5d5973(0x134)),logger=require(a52_0x5d5973(0x14c)),{nestedKeyValue,isFalse}=require(a52_0x5d5973(0x132)),{o11yErrorHandler}=require(a52_0x5d5973(0x13f)),PerformanceTester=require(a52_0x5d5973(0x136)),{O11y_EVENTS:PerformanceO11yEvents}=require(a52_0x5d5973(0x137)),BrowserstackCLI=require(a52_0x5d5973(0x13e)),CustomTagManager=require(a52_0x5d5973(0x135)),uploadAttachmentsManager=require(a52_0x5d5973(0x148)),doo11ySync=PerformanceTester[a52_0x5d5973(0x13b)](PerformanceO11yEvents[a52_0x5d5973(0x138)],o11yErrorHandler(async function doo11ySync(_0x4f74ea){const _0x599500=a52_0x5d5973,_0xeb3b66={'xyFIe':function(_0x1eba7f,_0x1aa500,_0x3446bf){return _0x1eba7f(_0x1aa500,_0x3446bf);},'NhhYS':_0x599500(0x153),'UWXop':'o11ySyncDone','NQxqm':_0x599500(0x129),'ijoIO':_0x599500(0x14d)};if(_0xeb3b66[_0x599500(0x12a)](nestedKeyValue,global,[_0xeb3b66[_0x599500(0x146)],_0xeb3b66[_0x599500(0x133)]]))return;await _0x4f74ea[_0x599500(0x152)](_0x28339d=>{},'browserstack_executor:\x20'+JSON['stringify']({'action':_0xeb3b66[_0x599500(0x12e)],'arguments':{'data':_0x599500(0x13d)+Date[_0x599500(0x131)](),'level':_0xeb3b66['ijoIO']}})),global[_0x599500(0x153)][_0x599500(0x141)]=!![];},'doo11ySync'));function a52_0x5a63(_0x4a6462,_0x4813e1){const _0x28a5a0=a52_0x28a5();return a52_0x5a63=function(_0x5a6376,_0x1ca96e){_0x5a6376=_0x5a6376-0x129;let _0x5a2ea5=_0x28a5a0[_0x5a6376];return _0x5a2ea5;},a52_0x5a63(_0x4a6462,_0x4813e1);}exports[a52_0x5d5973(0x140)]=_0x4faa75=>{const _0x5dac70=a52_0x5d5973,_0x299ef2={'zJGGB':function(_0x1bad6e,_0x4dfbda){return _0x1bad6e(_0x4dfbda);},'hxAZx':function(_0x465baf,_0x4b8e1b,_0x5b5cde){return _0x465baf(_0x4b8e1b,_0x5b5cde);},'kOFDw':'__workerDetails'};if(!_0x4faa75||_0x4faa75['_bstackNewPagePatched'])return;const _0xd3dd6b=_0x4faa75[_0x5dac70(0x12b)][_0x5dac70(0x151)](_0x4faa75);_0x4faa75[_0x5dac70(0x12b)]=async function _0x4934ed(){const _0x3a6ace=_0x5dac70,_0x28569e=await _0xd3dd6b['apply'](_0x4faa75,arguments);try{!BrowserstackCLI[_0x3a6ace(0x145)]()[_0x3a6ace(0x156)]()&&!_0x299ef2['zJGGB'](isFalse,process[_0x3a6ace(0x144)][_0x3a6ace(0x139)])&&await _0x299ef2['zJGGB'](doo11ySync,_0x28569e),BrowserstackCLI[_0x3a6ace(0x145)]()[_0x3a6ace(0x156)]()&&(_0x28569e[_0x3a6ace(0x12c)]=async(_0x5740c3,_0x4a0a38,_0x4ce464=![])=>{const _0x366459=_0x3a6ace;await CustomTagManager[_0x366459(0x12c)](_0x5740c3,_0x4a0a38,_0x4ce464);},_0x28569e[_0x3a6ace(0x14e)]=async(_0x1efc1b,_0x5ed4b3=![])=>{const _0x2969e4=_0x3a6ace;await uploadAttachmentsManager[_0x2969e4(0x147)](_0x1efc1b,_0x5ed4b3);});}catch(_0x21c8db){logger[_0x3a6ace(0x14d)](_0x3a6ace(0x155)+util[_0x3a6ace(0x143)](_0x21c8db));}return _0x299ef2[_0x3a6ace(0x14b)](nestedKeyValue,global,[_0x299ef2[_0x3a6ace(0x154)]])&&(global[_0x3a6ace(0x153)][_0x3a6ace(0x12d)]=_0x28569e),_0x28569e;},_0x4faa75[_0x5dac70(0x13a)]=!![];};
1
+ const a52_0x275617=a52_0xbf4c;(function(_0x54d0bb,_0x4086c0){const _0x396979=a52_0xbf4c,_0x14ce7e=_0x54d0bb();while(!![]){try{const _0x57626e=parseInt(_0x396979(0xff))/0x1*(parseInt(_0x396979(0x107))/0x2)+parseInt(_0x396979(0x116))/0x3+parseInt(_0x396979(0x110))/0x4+parseInt(_0x396979(0xf1))/0x5+-parseInt(_0x396979(0x10c))/0x6*(-parseInt(_0x396979(0xfc))/0x7)+-parseInt(_0x396979(0x10b))/0x8+-parseInt(_0x396979(0x105))/0x9;if(_0x57626e===_0x4086c0)break;else _0x14ce7e['push'](_0x14ce7e['shift']());}catch(_0x1149a7){_0x14ce7e['push'](_0x14ce7e['shift']());}}}(a52_0x1611,0x3b08f));function a52_0x1611(){const _0x264cdd=['fvtzK','__workerDetails','6522669RzJqJX','TBEyb','15712VTHcaO','setCustomTags','tnPwa','pzmoV','2789824WJQUQs','18LjURHw','util','MqqEW','../../helpers/performance/constants','1402652tQeYwp','evaluate','annotate','unCpz','../../helpers/helper','pwPage','1356546AvzPZL','../v2/uploadAttachmentsManager','env','format','../../helpers/logger','1056520JAcMrh','measureWrapper','uploadAttachment','stringify','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/test-observability/error-handler','getInstance','bvwuV','now','isRunning','../v2/customTagManager','409339zgApvn','browserstack_executor:\x20','bind','16jmvntw','ObservabilitySync:','o11ySyncDone','newPage'];a52_0x1611=function(){return _0x264cdd;};return a52_0x1611();}const util=require(a52_0x275617(0x10d)),logger=require(a52_0x275617(0x11a)),{nestedKeyValue,isFalse}=require(a52_0x275617(0x114)),{o11yErrorHandler}=require(a52_0x275617(0xf6)),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a52_0x275617(0x10f)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a52_0x275617(0xfb)),uploadAttachmentsManager=require(a52_0x275617(0x117)),doo11ySync=PerformanceTester[a52_0x275617(0xf2)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x4dc852){const _0x5dc732=a52_0x275617,_0x23ef2b={'bvwuV':function(_0x52a336,_0x171b42,_0x1f1ed5){return _0x52a336(_0x171b42,_0x1f1ed5);},'unCpz':_0x5dc732(0x104),'MqqEW':_0x5dc732(0x101),'pzmoV':_0x5dc732(0x112),'euNTO':'debug'};if(_0x23ef2b[_0x5dc732(0xf8)](nestedKeyValue,global,[_0x23ef2b[_0x5dc732(0x113)],_0x23ef2b[_0x5dc732(0x10e)]]))return;await _0x4dc852[_0x5dc732(0x111)](_0xd596ec=>{},_0x5dc732(0xfd)+JSON[_0x5dc732(0xf4)]({'action':_0x23ef2b[_0x5dc732(0x10a)],'arguments':{'data':_0x5dc732(0x100)+Date[_0x5dc732(0xf9)](),'level':_0x23ef2b['euNTO']}})),global[_0x5dc732(0x104)][_0x5dc732(0x101)]=!![];},'doo11ySync'));function a52_0xbf4c(_0x2fdd1b,_0x310ed9){const _0x1611c6=a52_0x1611();return a52_0xbf4c=function(_0xbf4c45,_0x53c5ab){_0xbf4c45=_0xbf4c45-0xf1;let _0x12e187=_0x1611c6[_0xbf4c45];return _0x12e187;},a52_0xbf4c(_0x2fdd1b,_0x310ed9);}exports['patchBrowserNewPage']=_0x101198=>{const _0x53ce04=a52_0x275617,_0x5d32c3={'TBEyb':function(_0x1974c9,_0x423070){return _0x1974c9(_0x423070);},'tnPwa':function(_0xdc3b91,_0x44ee89){return _0xdc3b91(_0x44ee89);},'fvtzK':function(_0x4bbd1b,_0x365afe,_0x490ba8){return _0x4bbd1b(_0x365afe,_0x490ba8);},'izIUA':_0x53ce04(0x104)};if(!_0x101198||_0x101198['_bstackNewPagePatched'])return;const _0x2a57a8=_0x101198[_0x53ce04(0x102)][_0x53ce04(0xfe)](_0x101198);_0x101198[_0x53ce04(0x102)]=async function _0x2a3ef7(){const _0x19080d=_0x53ce04,_0x32170f=await _0x2a57a8['apply'](_0x101198,arguments);try{!BrowserstackCLI[_0x19080d(0xf7)]()[_0x19080d(0xfa)]()&&!_0x5d32c3[_0x19080d(0x106)](isFalse,process[_0x19080d(0x118)][_0x19080d(0xf5)])&&await _0x5d32c3[_0x19080d(0x109)](doo11ySync,_0x32170f),BrowserstackCLI[_0x19080d(0xf7)]()[_0x19080d(0xfa)]()&&(_0x32170f[_0x19080d(0x108)]=async(_0x1af506,_0x3e3de2,_0x195605=![])=>{const _0x242c37=_0x19080d;await CustomTagManager[_0x242c37(0x108)](_0x1af506,_0x3e3de2,_0x195605);},_0x32170f[_0x19080d(0xf3)]=async(_0x7ce10b,_0x42fe44=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x7ce10b,_0x42fe44);});}catch(_0x32227e){logger['debug']('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x19080d(0x119)](_0x32227e));}return _0x5d32c3[_0x19080d(0x103)](nestedKeyValue,global,[_0x5d32c3['izIUA']])&&(global[_0x19080d(0x104)][_0x19080d(0x115)]=_0x32170f),_0x32170f;},_0x101198['_bstackNewPagePatched']=!![];};