browserstack-node-sdk 1.49.2 → 1.49.4

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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a44_0x27acc2=a44_0x4d3b;(function(_0x4f8bda,_0x128b6a){const _0x66767d=a44_0x4d3b,_0x50ce94=_0x4f8bda();while(!![]){try{const _0x2dbdc8=parseInt(_0x66767d(0x21b))/0x1+parseInt(_0x66767d(0x256))/0x2+parseInt(_0x66767d(0x26c))/0x3+-parseInt(_0x66767d(0x204))/0x4*(parseInt(_0x66767d(0x1f7))/0x5)+-parseInt(_0x66767d(0x1fb))/0x6*(parseInt(_0x66767d(0x278))/0x7)+-parseInt(_0x66767d(0x287))/0x8*(-parseInt(_0x66767d(0x23a))/0x9)+-parseInt(_0x66767d(0x271))/0xa*(parseInt(_0x66767d(0x208))/0xb);if(_0x2dbdc8===_0x128b6a)break;else _0x50ce94['push'](_0x50ce94['shift']());}catch(_0x37740){_0x50ce94['push'](_0x50ce94['shift']());}}}(a44_0x3655,0x9afbb));function a44_0x4d3b(_0x555373,_0x5e9d7a){const _0x365534=a44_0x3655();return a44_0x4d3b=function(_0x4d3b0a,_0x272505){_0x4d3b0a=_0x4d3b0a-0x1dd;let _0x413285=_0x365534[_0x4d3b0a];return _0x413285;},a44_0x4d3b(_0x555373,_0x5e9d7a);}function a44_0x3655(){const _0x24a047=['onTestBegin','requestSpyCallback','getProjectUtilsPath','PYava','jzOfS','getInstance','existsSync','hDIOa','env','getTime','START_TIME','map','NnJHM','cCenH','onBegin','getTestIdentifier','Searching\x20for\x20key:\x20','attachments','sBahp','wbGBV','997797eFvjGI','qwEBt','../../v2/TestInfo','dsTVO','endSession','7514950tkTAJN','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','\x20in\x20attachments','uploadTraceZip','cedPF','processPageScreenshot','QHGJt','452515domZTU','prototype','includes','ACZRV','ERROR','getTestRunIdentifier','validateFilePath','fScve','debug','getTransformPath','TEST_ATTACHMENT','calculateTimesFromMultipleFiles','onStepEnd','stopAndGenerate','1.38.0','661256ENVrwh','kdOBv','Test\x20timeout\x20of','./test-details','filePath','hFRQm','tfiKt','wGbEj','winstonLogger','wLhFM','beforeWorkerHook','lLbdz','qyIrG','kgTCb','blTSG','startsWith','wnxmr','size','VKZlj','@playwright/test/lib/common/transform.js','stack','WNKOb','error','xZWvh','_projectId','getPlaywrightLibPath','performance-reporter.html','5oZPhaj','sendSessionDetails','\x20bytes','AqZTz','6CmQnAk','VhCdT','@playwright/test/lib/common/configLoader.js','TwVRx','TSsRh','addTraceFilePath','PLAYWRIGHT','join','fKNdC','3343972dBgzNZ','match','ThlRE','extname','11tvFpIS','calculatePerformance','onStepBegin','../../../helpers/test-observability/sessionHandler','slice','sendEventData','endsWith','@playwright/test','title','whgZj','runner/loadUtils.js','statSync','compareVersions','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','performance-report-worker-','../../../helpers/helper','path','toISOString','HxbGY','914756aAdodD','../../v2/browserstackCLI','RgTqW','VdJoo','createReadStream','JXLTi','akYql','rnCYF','Error\x20in\x20sending\x20trace\x20file:\x20%s','GYIqa','vrNLl','format','AoWPp','SGBlc','readdirSync','VGlTJ','playwright','ATSNW','MBVSv','.zip','kGQxw','1.42.0','JOByJ','uvjTx','AvXRW','.json','Percentage\x20of\x20increased\x20time\x20is\x20','LOkRK','sendTestLog','length','IAdJQ','27sTzyjg','rJYlc','1.35.0','message','util','toLowerCase','UIGQH','substr','findNestedKey','test','beforeTestHook','getFailureData','afterWorkerHook','afterTestHook','toString','process.js','getForkProcessPath','setupBrowserDetails','runner/projectUtils.js','aLpld','find','getTestTags','Trace\x20enabled','lcVyp','qBLAh','Arguments','sendTraceZip','basename','1583236nTssWu','tags'];a44_0x3655=function(){return _0x24a047;};return a44_0x3655();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require('../../../helpers/test-observability/constants'),helper=require(a44_0x27acc2(0x217)),path=require(a44_0x27acc2(0x218)),logger=require('../../../helpers/logger')[a44_0x27acc2(0x1e4)],SessionHandler=require(a44_0x27acc2(0x20b)),TestDetails=require(a44_0x27acc2(0x1df)),util=require(a44_0x27acc2(0x23e)),TestInfo=require(a44_0x27acc2(0x26e));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x5dcf4b=a44_0x27acc2,_0x52465f={'HxbGY':function(_0x2c52eb,_0x577333){return _0x2c52eb(_0x577333);},'jzOfS':_0x5dcf4b(0x21c)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x52465f[_0x5dcf4b(0x21a)](require,_0x52465f[_0x5dcf4b(0x25c)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x34e188=>{const _0x3994c3=a44_0x27acc2;return _0x34e188[_0x3994c3(0x205)](/@(\w+)/g)?.['map'](_0x178b60=>_0x178b60[_0x3994c3(0x20c)](0x1))||[];};exports[a44_0x27acc2(0x24f)]=_0x7591a0=>{const _0x42998d=a44_0x27acc2,_0x808f96={'wGbEj':function(_0x278b64,_0x26b825){return _0x278b64(_0x26b825);}};if(_0x7591a0['tags'])return _0x7591a0[_0x42998d(0x257)]['map'](_0x354c7a=>_0x354c7a['startsWith']('@')?_0x354c7a[_0x42998d(0x241)](0x1):_0x354c7a);return _0x808f96[_0x42998d(0x1e3)](getTagsFromTitle,_0x7591a0[_0x42998d(0x210)]);},exports[a44_0x27acc2(0x209)]=async()=>{const _0x4ca765=a44_0x27acc2,_0xfaa764={'tfiKt':function(_0x1200e4,_0x58a157){return _0x1200e4-_0x58a157;},'JOByJ':_0x4ca765(0x1f6),'yNMjP':_0x4ca765(0x266),'VhCdT':_0x4ca765(0x270),'RgTqW':_0x4ca765(0x258),'cedPF':'onTestEnd','kdOBv':_0x4ca765(0x20a),'NnJHM':_0x4ca765(0x284),'TSsRh':_0x4ca765(0x1e6),'xZWvh':_0x4ca765(0x246),'VGlTJ':_0x4ca765(0x244),'AoWPp':_0x4ca765(0x247),'yEBvj':'doo11ySync','kGQxw':_0x4ca765(0x276),'JXLTi':_0x4ca765(0x1f8),'wnxmr':_0x4ca765(0x24b),'SuLyh':_0x4ca765(0x259),'jynat':_0x4ca765(0x237),'byzny':function(_0x13e4f8,_0x2d0c88){return _0x13e4f8(_0x2d0c88);},'cCenH':function(_0x211d4a,_0x3fc8d6){return _0x211d4a/_0x3fc8d6;},'FawdA':function(_0x4a74d4,_0x20a9c7){return _0x4a74d4(_0x20a9c7);},'VdJoo':function(_0x550e32,_0x42e56b){return _0x550e32+_0x42e56b;},'qrUyr':function(_0x3e6c85,_0x44ff7c){return _0x3e6c85*_0x44ff7c;}};if(!process[_0x4ca765(0x260)][_0x4ca765(0x262)])return;const _0x33894a=_0xfaa764[_0x4ca765(0x1e2)](new Date()[_0x4ca765(0x261)](),new Date(process[_0x4ca765(0x260)][_0x4ca765(0x262)])[_0x4ca765(0x261)]()),_0x1ddef0=await PerformanceTester[_0x4ca765(0x285)](_0xfaa764[_0x4ca765(0x231)],[_0xfaa764['yNMjP'],_0xfaa764[_0x4ca765(0x1fc)],_0xfaa764[_0x4ca765(0x21d)],_0xfaa764[_0x4ca765(0x275)],_0xfaa764[_0x4ca765(0x1dd)],_0xfaa764[_0x4ca765(0x264)]]),_0x48272b=fs[_0x4ca765(0x229)]('.'),_0x47858c=_0x48272b['filter'](_0x27fda9=>_0x27fda9[_0x4ca765(0x1eb)](_0x4ca765(0x216))&&_0x27fda9[_0x4ca765(0x20e)](_0x4ca765(0x234))),_0x76191b=await PerformanceTester[_0x4ca765(0x283)](_0x47858c,[_0xfaa764[_0x4ca765(0x1ff)],_0xfaa764[_0x4ca765(0x1f3)],_0xfaa764[_0x4ca765(0x22a)],_0xfaa764[_0x4ca765(0x227)],_0xfaa764['yEBvj'],_0xfaa764[_0x4ca765(0x22f)],_0xfaa764[_0x4ca765(0x220)],_0xfaa764[_0x4ca765(0x1ec)],_0xfaa764['SuLyh'],_0xfaa764['jynat']]);_0xfaa764['byzny'](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0xfaa764[_0x4ca765(0x265)](_0x33894a,0x3e8)+'\x20s'),_0xfaa764['FawdA'](debug,_0x4ca765(0x215)+_0xfaa764[_0x4ca765(0x21e)](_0x76191b,_0x1ddef0)),_0xfaa764['FawdA'](debug,_0x4ca765(0x235)+_0xfaa764['qrUyr'](_0xfaa764['cCenH'](_0xfaa764['VdJoo'](_0x76191b,_0x1ddef0),_0x33894a),0x64));},exports[a44_0x27acc2(0x281)]=()=>{const _0x586983=a44_0x27acc2,_0x420cef={'sBahp':function(_0x3e9201,_0x118ec7){return _0x3e9201(_0x118ec7);},'uvjTx':function(_0x3ccee9,_0x8db8dc){return _0x3ccee9>=_0x8db8dc;},'TwVRx':_0x586983(0x286),'edZQd':'playwright/lib/transform/transform.js','PYava':_0x586983(0x22b),'AzlfP':_0x586983(0x23c),'tVIZv':'@playwright/test/lib/transform/transform.js','fScve':_0x586983(0x20f),'CaiCw':_0x586983(0x1ef)},_0x55ab6b=_0x420cef[_0x586983(0x26a)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x420cef[_0x586983(0x232)](helper[_0x586983(0x214)](_0x55ab6b,_0x420cef[_0x586983(0x1fe)]),0x0))return[_0x420cef['edZQd'],_0x420cef[_0x586983(0x25b)]];if(_0x420cef['uvjTx'](helper[_0x586983(0x214)](_0x55ab6b,_0x420cef['AzlfP']),0x0))return[_0x420cef['tVIZv'],_0x420cef['fScve']];return[_0x420cef['CaiCw'],_0x420cef[_0x586983(0x27f)]];},exports['getConfigLoaderPath']=()=>{const _0x106216=a44_0x27acc2,_0x1795e3={'GYIqa':function(_0x8ce4b3,_0x1ffe67){return _0x8ce4b3(_0x1ffe67);},'WGktN':function(_0x591bd8,_0x1a343e){return _0x591bd8>=_0x1a343e;},'RTaCc':_0x106216(0x286),'AqZTz':'playwright/lib/common/configLoader.js','UIGQH':_0x106216(0x22b),'jWkXi':_0x106216(0x1fd),'lLbdz':_0x106216(0x20f)},_0x308922=_0x1795e3[_0x106216(0x224)](getFrameworkVersion,FRAMEWORKS[_0x106216(0x201)]);if(_0x1795e3['WGktN'](helper[_0x106216(0x214)](_0x308922,_0x1795e3['RTaCc']),0x0))return[_0x1795e3[_0x106216(0x1fa)],_0x1795e3[_0x106216(0x240)]];return[_0x1795e3['jWkXi'],_0x1795e3[_0x106216(0x1e7)]];},exports['getLoadUtilsPath']=()=>{const _0x22e7be=a44_0x27acc2,_0x451709={};_0x451709[_0x22e7be(0x233)]=_0x22e7be(0x212);const _0x3fbbd1=_0x451709;return helper['getPlaywrightLibPath'](_0x3fbbd1[_0x22e7be(0x233)]);},exports[a44_0x27acc2(0x25a)]=()=>{const _0x231b45=a44_0x27acc2,_0x3e3030={};_0x3e3030['jJzHc']=_0x231b45(0x24c);const _0x347867=_0x3e3030;return helper[_0x231b45(0x1f5)](_0x347867['jJzHc']);},exports[a44_0x27acc2(0x24a)]=()=>{const _0x212535=a44_0x27acc2,_0x5eb53b={'AdyDr':function(_0x25b9bd,_0x4547b0){return _0x25b9bd(_0x4547b0);},'QHGJt':function(_0x3bd051,_0x26dc69){return _0x3bd051>=_0x26dc69;},'dsTVO':_0x212535(0x286),'IAdJQ':'lib','qwEBt':'common','BCHpN':_0x212535(0x249),'aLpld':'test'},_0x42835f=_0x5eb53b['AdyDr'](getFrameworkVersion,FRAMEWORKS[_0x212535(0x201)]);if(_0x5eb53b[_0x212535(0x277)](helper[_0x212535(0x214)](_0x42835f,_0x5eb53b[_0x212535(0x26f)]),0x0))return path['join'](_0x5eb53b[_0x212535(0x239)],_0x5eb53b[_0x212535(0x26d)],_0x5eb53b['BCHpN']);return path[_0x212535(0x202)](_0x5eb53b[_0x212535(0x24d)],_0x5eb53b[_0x212535(0x239)],_0x5eb53b[_0x212535(0x26d)],_0x5eb53b['BCHpN']);},exports[a44_0x27acc2(0x245)]=(_0x3d59b2,{test_run_uuid:_0x389256})=>{const _0xee7c7c=a44_0x27acc2,_0x1b929b={'WNKOb':_0xee7c7c(0x27c),'vRQpH':'TEST_LOG','vbceu':function(_0x278301,_0x564627){return _0x278301<=_0x564627;},'blTSG':function(_0x45a76e,_0x5da4d4){return _0x45a76e(_0x5da4d4);},'wLhFM':_0xee7c7c(0x1de),'wbGBV':function(_0x2eb12c,_0xc73e7){return _0x2eb12c(_0xc73e7);},'whgZj':function(_0x1b7264,_0x499502){return _0x1b7264>=_0x499502;},'ThlRE':_0xee7c7c(0x230),'CudNv':function(_0x394bdc,_0x458814){return _0x394bdc>_0x458814;},'LOkRK':function(_0x3daf25,_0x370c3d){return _0x3daf25(_0x370c3d);},'akYql':function(_0x4afefd,_0x3528fa,_0x47846c){return _0x4afefd(_0x3528fa,_0x47846c);},'kgTCb':_0xee7c7c(0x243)};if(!_0x3d59b2||_0x1b929b['vbceu'](_0x3d59b2[_0xee7c7c(0x238)],0x0))return[];const _0x1ec39c=_0x1b929b[_0xee7c7c(0x1ea)](removeAnsiColors,_0x3d59b2[0x0][_0xee7c7c(0x23d)]);if(_0x1ec39c['startsWith'](_0x1b929b[_0xee7c7c(0x1e5)])){const _0x257f4e=_0x3d59b2[0x0],_0x3675b3=_0x1b929b[_0xee7c7c(0x26b)](getFrameworkVersion,FRAMEWORKS[_0xee7c7c(0x201)]);if((!_0x257f4e[_0xee7c7c(0x1f0)]||_0x1b929b[_0xee7c7c(0x211)](_0x3675b3,_0x1b929b[_0xee7c7c(0x206)]))&&_0x1b929b['CudNv'](_0x3d59b2['length'],0x1))return{'failureData':[{'backtrace':[_0x1ec39c,_0x1b929b[_0xee7c7c(0x236)](removeAnsiColors,_0x3d59b2[0x1]['stack'])]}],'logs':_0x3d59b2['slice'](0x2)[_0xee7c7c(0x263)](_0x52e413=>{const _0x522afb=_0xee7c7c;return{'timestamp':new Date()[_0x522afb(0x219)](),'level':_0x1b929b[_0x522afb(0x1f1)],'message':''+_0x52e413[_0x522afb(0x23d)],'kind':_0x1b929b['vRQpH'],'http_response':{},'test_run_uuid':_0x389256};})};}return{'failureData':_0x1b929b[_0xee7c7c(0x221)](failureData,_0x3d59b2,_0x1b929b[_0xee7c7c(0x1e9)]),'logs':[]};},exports[a44_0x27acc2(0x27e)]=_0x3b8e8e=>{const _0x38b62d=a44_0x27acc2,_0x2d370f={};_0x2d370f['qyIrG']=function(_0x387e6c,_0x2c7a21){return _0x387e6c!==_0x2c7a21;},_0x2d370f[_0x38b62d(0x203)]=_0x38b62d(0x22e),_0x2d370f[_0x38b62d(0x22d)]=function(_0x2bb7c1,_0xb2fac8){return _0x2bb7c1>_0xb2fac8;};const _0x50d124=_0x2d370f;if(_0x3b8e8e&&fs[_0x38b62d(0x25e)](_0x3b8e8e)){if(_0x50d124[_0x38b62d(0x1e8)](path[_0x38b62d(0x207)](_0x3b8e8e)[_0x38b62d(0x23f)](),_0x50d124['fKNdC']))return logger[_0x38b62d(0x1f2)](_0x38b62d(0x272)+_0x3b8e8e),![];const _0x52a9a7=fs[_0x38b62d(0x213)](_0x3b8e8e)[_0x38b62d(0x1ed)];if(_0x50d124[_0x38b62d(0x22d)](_0x52a9a7,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x38b62d(0x1f2)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x52a9a7+_0x38b62d(0x1f9)),![];return!![];}return![];},exports['findNestedKey']=(_0x3ea65b,_0x19a730)=>{const _0x371ea8=a44_0x27acc2,_0x25e78b={};_0x25e78b[_0x371ea8(0x228)]=_0x371ea8(0x253);const _0x538afb=_0x25e78b;logger[_0x371ea8(0x280)](_0x371ea8(0x268)+_0x19a730);if(_0x3ea65b&&_0x3ea65b[_0x371ea8(0x269)]){const _0x56488a=_0x3ea65b[_0x371ea8(0x269)][_0x371ea8(0x24e)](_0x1552dc=>_0x1552dc['name']==='trace');if(_0x56488a)return logger['debug']('Found\x20key:\x20'+_0x19a730+_0x371ea8(0x273)),_0x56488a[_0x19a730];}else{if(_0x3ea65b&&Object[_0x371ea8(0x279)][_0x371ea8(0x248)]['call'](_0x3ea65b)[_0x371ea8(0x27a)](_0x538afb['SGBlc']))for(const _0x3f7d9d of _0x3ea65b){if(_0x3f7d9d[_0x19a730])return logger['debug']('Found\x20key:\x20'+_0x19a730+'\x20in\x20arguments'),_0x3f7d9d[_0x19a730];}};return'';},exports[a44_0x27acc2(0x274)]=async(_0x33ce48,_0x349e64)=>{const _0x4c9db1=a44_0x27acc2,_0x19b9cf={};_0x19b9cf['VKZlj']='LogCreated',_0x19b9cf[_0x4c9db1(0x225)]=_0x4c9db1(0x282),_0x19b9cf[_0x4c9db1(0x27b)]=_0x4c9db1(0x254),_0x19b9cf[_0x4c9db1(0x25f)]=_0x4c9db1(0x223);const _0x1c3811=_0x19b9cf;try{const _0x34d542={'event_type':_0x1c3811[_0x4c9db1(0x1ee)],'logs':[{'data':_0x33ce48?fs[_0x4c9db1(0x21f)](_0x33ce48):'','test_run_uuid':_0x349e64,'kind':_0x1c3811[_0x4c9db1(0x225)],'fileName':_0x33ce48?path[_0x4c9db1(0x255)](_0x33ce48):''}]};return await SessionHandler[_0x4c9db1(0x20d)](_0x34d542,0x0,_0x1c3811[_0x4c9db1(0x27b)]);}catch(_0x48244b){logger[_0x4c9db1(0x1f2)](util[_0x4c9db1(0x226)](_0x1c3811[_0x4c9db1(0x25f)],_0x48244b));}},exports[a44_0x27acc2(0x254)]=async(_0x4b9ea4,_0x5a79da)=>{const _0x3b325e=a44_0x27acc2,_0x385190={'rJYlc':_0x3b325e(0x218),'qBLAh':_0x3b325e(0x250),'hFRQm':function(_0x4abc22){return _0x4abc22();},'ATSNW':_0x3b325e(0x223)};try{logger[_0x3b325e(0x280)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x5a79da);let _0x397655=await exports[_0x3b325e(0x242)](_0x4b9ea4,_0x385190[_0x3b325e(0x23b)]);if(exports[_0x3b325e(0x27e)](_0x397655)){logger[_0x3b325e(0x280)](_0x385190[_0x3b325e(0x252)]),_0x397655=path['resolve'](_0x397655);const _0x5459f6={};_0x5459f6['testUId']=_0x5a79da,_0x5459f6[_0x3b325e(0x1e0)]=_0x397655;const _0x2d7972=_0x5459f6;_0x385190[_0x3b325e(0x1e1)](getBrowserstackCLI)[_0x3b325e(0x25d)]()['isRunning']()?TestInfo[_0x3b325e(0x200)](_0x2d7972):TestDetails[_0x3b325e(0x200)](_0x2d7972);};}catch(_0x4d4e99){logger['error'](util[_0x3b325e(0x226)](_0x385190[_0x3b325e(0x22c)],_0x4d4e99));}},exports[a44_0x27acc2(0x267)]=_0x2ca841=>{const _0x50be4d=a44_0x27acc2,_0x3b18b6={};_0x3b18b6['ujBQt']=function(_0x505e8b,_0x1823d1){return _0x505e8b+_0x1823d1;},_0x3b18b6[_0x50be4d(0x251)]=function(_0x358a43,_0x4e83d5){return _0x358a43+_0x4e83d5;};const _0x30df15=_0x3b18b6;return _0x30df15['ujBQt'](_0x30df15[_0x50be4d(0x251)](_0x2ca841[_0x50be4d(0x1f4)],'-'),_0x2ca841['id']);},exports[a44_0x27acc2(0x27d)]=(_0x3fd5eb,_0x472c75)=>{const _0x5c66c2=a44_0x27acc2,_0x4d9294={};_0x4d9294[_0x5c66c2(0x222)]=function(_0x465ef3,_0x18a919){return _0x465ef3+_0x18a919;},_0x4d9294['XpiLk']=function(_0x515042,_0x3ddd12){return _0x515042+_0x3ddd12;};const _0x28df30=_0x4d9294;return _0x28df30[_0x5c66c2(0x222)](_0x28df30['XpiLk'](_0x3fd5eb['id'],'-'),_0x472c75);};
1
+ const a44_0x43196f=a44_0x1ec7;(function(_0xb25ae9,_0x27f2a9){const _0x24e15f=a44_0x1ec7,_0x5045a3=_0xb25ae9();while(!![]){try{const _0x1bc31d=-parseInt(_0x24e15f(0x9d))/0x1*(-parseInt(_0x24e15f(0xe8))/0x2)+-parseInt(_0x24e15f(0x136))/0x3*(-parseInt(_0x24e15f(0xbf))/0x4)+parseInt(_0x24e15f(0xd3))/0x5*(-parseInt(_0x24e15f(0xd2))/0x6)+parseInt(_0x24e15f(0xd9))/0x7*(-parseInt(_0x24e15f(0x99))/0x8)+parseInt(_0x24e15f(0x12c))/0x9*(-parseInt(_0x24e15f(0x102))/0xa)+-parseInt(_0x24e15f(0x12b))/0xb*(parseInt(_0x24e15f(0xf2))/0xc)+parseInt(_0x24e15f(0x123))/0xd;if(_0x1bc31d===_0x27f2a9)break;else _0x5045a3['push'](_0x5045a3['shift']());}catch(_0x41a4eb){_0x5045a3['push'](_0x5045a3['shift']());}}}(a44_0x34fc,0x9b553));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x43196f(0xb7)),PerformanceTester=require(a44_0x43196f(0xd8)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x43196f(0x11f)),helper=require(a44_0x43196f(0x124)),path=require(a44_0x43196f(0xd7)),logger=require(a44_0x43196f(0xee))[a44_0x43196f(0xbb)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a44_0x43196f(0xcc)),util=require('util'),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function a44_0x34fc(){const _0x12c927=['playwright','Error\x20in\x20sending\x20trace\x20file:\x20%s','VvTBq','setupBrowserDetails','common','basename','join','vHWkR','beforeWorkerHook','findNestedKey','RDFkC','process.js','onBegin','jXPYE','isRunning','../../../helpers/test-observability/utils','tbxbd','../../v2/browserstackCLI','oYJzf','winstonLogger','Arguments','zRbDm','PLAYWRIGHT','8GpwBzU','statSync','onStepEnd','@playwright/test/lib/transform/transform.js','wDrpc','IVnWu','attachments','VraMz','VjDFI','length','lib','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','LBqtE','./test-details','dfiMx','TYhIO','CLPiS','getInstance','GVLzq','4710lRFovT','3590GZYAyz','ZAbts','START_TIME','calculateTimesFromMultipleFiles','path','../../../helpers/performance/performance-tester','7aEPTye','validateFilePath','message','getFailureData','startsWith','readdirSync','GULdU','WrRfo','gNyHG','BEOCG','getProjectUtilsPath','env','includes','performance-report-worker-','runner/loadUtils.js','30uDBbFL','LogCreated','runner/projectUtils.js','GgjUF','playwright/lib/common/configLoader.js','ERROR','../../../helpers/logger','processPageScreenshot','getPlaywrightLibPath','MQrTR','12GpPHRk','slice','ewzpn','toString','mIVZy','.json','TEST_LOG','hCwub','SSMOF','sendSessionDetails','debug','\x20bytes','LsRPA','ldjml','vRroZ','axMTF','30RsJzlt','getConfigLoaderPath','@playwright/test/lib/common/configLoader.js','toISOString','substr','getTestRunIdentifier','AQFpH','_projectId','NcNXV','getTransformPath','vFcXa','call','1.38.0','format','getLoadUtilsPath','performance-reporter.html','toLowerCase','hKWZE','brocE','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','BGLYu','TEST_ATTACHMENT','filePath','YAqzm','getTestTags','JqZtB','bzNxF','NRyyw','RhBXE','../../../helpers/test-observability/constants','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','jrvQM','createReadStream','14227681aUxeoK','../../../helpers/helper','Found\x20key:\x20','sendEventData','testUId','stack','error','ynGJk','8623329wIfUSm','677349HiCbBf','Total\x20duration\x20for\x20whole\x20build\x20is\x20','dHpee','prototype','mkRsG','afterWorkerHook','uBiyk','bQOyc','size','compareVersions','818298YNrhMf','TzosW','dAgxE','jlaQE','tags','onTestEnd','calculatePerformance','swoZt','vaWSG','match','onTestBegin','VOdcE','map','Umrlf','sendTestLog','wJsuS','RodFX','addTraceFilePath','aJfwe','gtEUv','\x20in\x20arguments','wNeIN','LFWxU','614632kKIjrg','Trace\x20enabled','doo11ySync','AurXw','43097gknejC','PCyWL','stopAndGenerate','VvbkD','onStepBegin','@playwright/test','extname','playwright/lib/transform/transform.js','test','Percentage\x20of\x20increased\x20time\x20is\x20','Total\x20time\x20taken\x20by\x20O11y\x20is\x20'];a44_0x34fc=function(){return _0x12c927;};return a44_0x34fc();}function getBrowserstackCLI(){const _0xc29192=a44_0x43196f,_0x3fddf0={'RDFkC':function(_0x12a39d,_0x35d45d){return _0x12a39d(_0x35d45d);},'RNQKo':_0xc29192(0xb9)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x3fddf0[_0xc29192(0xb2)](require,_0x3fddf0['RNQKo'])),BrowserstackCLIInstance;}function a44_0x1ec7(_0x422a0b,_0x4a4cdb){const _0x34fc0c=a44_0x34fc();return a44_0x1ec7=function(_0x1ec75a,_0x47c522){_0x1ec75a=_0x1ec75a-0x93;let _0x1ed7cb=_0x34fc0c[_0x1ec75a];return _0x1ed7cb;},a44_0x1ec7(_0x422a0b,_0x4a4cdb);}const getTagsFromTitle=_0x28a33e=>{const _0x20efc5=a44_0x43196f;return _0x28a33e[_0x20efc5(0x13f)](/@(\w+)/g)?.[_0x20efc5(0x142)](_0x1198bb=>_0x1198bb[_0x20efc5(0xf3)](0x1))||[];};exports[a44_0x43196f(0x11a)]=_0x89d23d=>{const _0x2cfd2c=a44_0x43196f,_0x2e7ea2={'uBiyk':function(_0x202b61,_0x2b60c3){return _0x202b61(_0x2b60c3);}};if(_0x89d23d[_0x2cfd2c(0x13a)])return _0x89d23d[_0x2cfd2c(0x13a)][_0x2cfd2c(0x142)](_0x18e92e=>_0x18e92e[_0x2cfd2c(0xdd)]('@')?_0x18e92e[_0x2cfd2c(0x106)](0x1):_0x18e92e);return _0x2e7ea2[_0x2cfd2c(0x132)](getTagsFromTitle,_0x89d23d['title']);},exports[a44_0x43196f(0x13c)]=async()=>{const _0x3ff343=a44_0x43196f,_0x41a3b8={'OqUTv':function(_0x4fda26,_0x5bcbfc){return _0x4fda26-_0x5bcbfc;},'GgjUF':_0x3ff343(0x111),'vHWkR':_0x3ff343(0xb4),'JTjjM':'endSession','CLPiS':_0x3ff343(0x140),'dAgxE':_0x3ff343(0x13b),'swoZt':_0x3ff343(0xa1),'wqmSR':_0x3ff343(0xc1),'LBqtE':_0x3ff343(0xb0),'HtkGF':_0x3ff343(0x131),'IVnWu':'beforeTestHook','ZAbts':'afterTestHook','brocE':_0x3ff343(0x9b),'RhBXE':_0x3ff343(0xef),'wNeIN':_0x3ff343(0xfb),'HEBgc':_0x3ff343(0xab),'dHpee':'requestSpyCallback','DYfKX':_0x3ff343(0x144),'BEOCG':function(_0x508c14,_0x13b51e){return _0x508c14(_0x13b51e);},'WAoXr':function(_0x4420a6,_0x5e3734){return _0x4420a6/_0x5e3734;},'vaWSG':function(_0x29e8a8,_0x1ba07e){return _0x29e8a8(_0x1ba07e);},'bQOyc':function(_0x286816,_0x2da5aa){return _0x286816+_0x2da5aa;},'PCyWL':function(_0x293f0a,_0x44857c){return _0x293f0a(_0x44857c);},'wDrpc':function(_0xd72d3b,_0x252fd2){return _0xd72d3b*_0x252fd2;},'wAXtB':function(_0x3342dc,_0x1d866c){return _0x3342dc+_0x1d866c;}};if(!process['env'][_0x3ff343(0xd5)])return;const _0x20ecb1=_0x41a3b8['OqUTv'](new Date()['getTime'](),new Date(process[_0x3ff343(0xe4)][_0x3ff343(0xd5)])['getTime']()),_0x3cc185=await PerformanceTester[_0x3ff343(0x9f)](_0x41a3b8[_0x3ff343(0xeb)],[_0x41a3b8[_0x3ff343(0xaf)],_0x41a3b8['JTjjM'],_0x41a3b8[_0x3ff343(0xcf)],_0x41a3b8[_0x3ff343(0x138)],_0x41a3b8[_0x3ff343(0x13d)],_0x41a3b8['wqmSR']]),_0x223dac=fs[_0x3ff343(0xde)]('.'),_0x4f4a5d=_0x223dac['filter'](_0x3a289c=>_0x3a289c['startsWith'](_0x3ff343(0xe6))&&_0x3a289c['endsWith'](_0x3ff343(0xf7))),_0x4bd883=await PerformanceTester[_0x3ff343(0xd6)](_0x4f4a5d,[_0x41a3b8[_0x3ff343(0xcb)],_0x41a3b8['HtkGF'],_0x41a3b8[_0x3ff343(0xc4)],_0x41a3b8[_0x3ff343(0xd4)],_0x41a3b8[_0x3ff343(0x114)],_0x41a3b8[_0x3ff343(0x11e)],_0x41a3b8[_0x3ff343(0x97)],_0x41a3b8['HEBgc'],_0x41a3b8[_0x3ff343(0x12e)],_0x41a3b8['DYfKX']]);_0x41a3b8[_0x3ff343(0xe2)](debug,_0x3ff343(0x12d)+_0x41a3b8['WAoXr'](_0x20ecb1,0x3e8)+'\x20s'),_0x41a3b8[_0x3ff343(0x13e)](debug,_0x3ff343(0xa7)+_0x41a3b8[_0x3ff343(0x133)](_0x4bd883,_0x3cc185)),_0x41a3b8[_0x3ff343(0x9e)](debug,_0x3ff343(0xa6)+_0x41a3b8[_0x3ff343(0xc3)](_0x41a3b8['WAoXr'](_0x41a3b8['wAXtB'](_0x4bd883,_0x3cc185),_0x20ecb1),0x64));},exports[a44_0x43196f(0x10b)]=()=>{const _0x444e3e=a44_0x43196f,_0x5ee5fa={'AurXw':function(_0xe97929,_0x558ffd){return _0xe97929(_0x558ffd);},'GULdU':function(_0x184c7a,_0x3638e8){return _0x184c7a>=_0x3638e8;},'TzosW':_0x444e3e(0x10e),'VjDFI':_0x444e3e(0xa4),'MQrTR':_0x444e3e(0xa8),'WrRfo':'1.35.0','wJsuS':_0x444e3e(0xc2),'jrvQM':_0x444e3e(0xa2),'vFcXa':'@playwright/test/lib/common/transform.js'},_0x376199=_0x5ee5fa[_0x444e3e(0x9c)](getFrameworkVersion,FRAMEWORKS[_0x444e3e(0xbe)]);if(_0x5ee5fa['GULdU'](helper[_0x444e3e(0x135)](_0x376199,_0x5ee5fa[_0x444e3e(0x137)]),0x0))return[_0x5ee5fa[_0x444e3e(0xc7)],_0x5ee5fa[_0x444e3e(0xf1)]];if(_0x5ee5fa[_0x444e3e(0xdf)](helper[_0x444e3e(0x135)](_0x376199,_0x5ee5fa[_0x444e3e(0xe0)]),0x0))return[_0x5ee5fa[_0x444e3e(0x145)],_0x5ee5fa[_0x444e3e(0x121)]];return[_0x5ee5fa[_0x444e3e(0x10c)],_0x5ee5fa[_0x444e3e(0x121)]];},exports[a44_0x43196f(0x103)]=()=>{const _0x4b3e42=a44_0x43196f,_0x495c43={'oYJzf':function(_0x5e76d1,_0x2b720c){return _0x5e76d1(_0x2b720c);},'TYhIO':function(_0x584394,_0x3b88f3){return _0x584394>=_0x3b88f3;},'tbxbd':_0x4b3e42(0x10e),'haOfC':_0x4b3e42(0xec),'VvbkD':_0x4b3e42(0xa8),'CiADF':_0x4b3e42(0x104),'ewzpn':_0x4b3e42(0xa2)},_0x1b5072=_0x495c43[_0x4b3e42(0xba)](getFrameworkVersion,FRAMEWORKS[_0x4b3e42(0xbe)]);if(_0x495c43[_0x4b3e42(0xce)](helper['compareVersions'](_0x1b5072,_0x495c43[_0x4b3e42(0xb8)]),0x0))return[_0x495c43['haOfC'],_0x495c43[_0x4b3e42(0xa0)]];return[_0x495c43['CiADF'],_0x495c43[_0x4b3e42(0xf4)]];},exports[a44_0x43196f(0x110)]=()=>{const _0x5c4598=a44_0x43196f,_0x23a38f={};_0x23a38f[_0x5c4598(0x130)]=_0x5c4598(0xe7);const _0x20e556=_0x23a38f;return helper['getPlaywrightLibPath'](_0x20e556[_0x5c4598(0x130)]);},exports[a44_0x43196f(0xe3)]=()=>{const _0x35d6f9=a44_0x43196f,_0x4a80ff={};_0x4a80ff[_0x35d6f9(0xcd)]=_0x35d6f9(0xea);const _0xb390a2=_0x4a80ff;return helper[_0x35d6f9(0xf0)](_0xb390a2[_0x35d6f9(0xcd)]);},exports['getForkProcessPath']=()=>{const _0x548333=a44_0x43196f,_0x62345={'bzNxF':function(_0x4269df,_0x224b24){return _0x4269df(_0x224b24);},'JqZtB':function(_0x11e3fc,_0xcee458){return _0x11e3fc>=_0xcee458;},'gNyHG':'1.38.0','mIVZy':_0x548333(0xc9),'ynGJk':_0x548333(0xac),'LFWxU':_0x548333(0xb3),'AQFpH':_0x548333(0xa5)},_0x127e94=_0x62345[_0x548333(0x11c)](getFrameworkVersion,FRAMEWORKS[_0x548333(0xbe)]);if(_0x62345[_0x548333(0x11b)](helper[_0x548333(0x135)](_0x127e94,_0x62345[_0x548333(0xe1)]),0x0))return path[_0x548333(0xae)](_0x62345[_0x548333(0xf6)],_0x62345[_0x548333(0x12a)],_0x62345['LFWxU']);return path[_0x548333(0xae)](_0x62345[_0x548333(0x108)],_0x62345[_0x548333(0xf6)],_0x62345[_0x548333(0x12a)],_0x62345[_0x548333(0x98)]);},exports[a44_0x43196f(0xdc)]=(_0x5e0411,{test_run_uuid:_0x3361bc})=>{const _0x2afcad=a44_0x43196f,_0x49b37a={'Umrlf':_0x2afcad(0xed),'Tyluz':_0x2afcad(0xf8),'jXPYE':function(_0x47b010,_0x5bb7d4){return _0x47b010<=_0x5bb7d4;},'BGLYu':function(_0x1e1a58,_0x527285){return _0x1e1a58(_0x527285);},'xOIEx':'Test\x20timeout\x20of','RodFX':function(_0x32c55c,_0x406b33){return _0x32c55c>=_0x406b33;},'VraMz':'1.42.0','VvTBq':function(_0x49069d,_0xb8733){return _0x49069d>_0xb8733;},'hKWZE':function(_0x204043,_0x364767){return _0x204043(_0x364767);},'AdMKt':function(_0x3a932b,_0x35c079,_0x5170c2){return _0x3a932b(_0x35c079,_0x5170c2);},'GVLzq':_0x2afcad(0xa5)};if(!_0x5e0411||_0x49b37a[_0x2afcad(0xb5)](_0x5e0411[_0x2afcad(0xc8)],0x0))return[];const _0x1f8fdf=_0x49b37a[_0x2afcad(0x116)](removeAnsiColors,_0x5e0411[0x0][_0x2afcad(0xdb)]);if(_0x1f8fdf[_0x2afcad(0xdd)](_0x49b37a['xOIEx'])){const _0x3bdeb5=_0x5e0411[0x0],_0x332c42=_0x49b37a[_0x2afcad(0x116)](getFrameworkVersion,FRAMEWORKS[_0x2afcad(0xbe)]);if((!_0x3bdeb5[_0x2afcad(0x128)]||_0x49b37a[_0x2afcad(0x146)](_0x332c42,_0x49b37a[_0x2afcad(0xc6)]))&&_0x49b37a[_0x2afcad(0xaa)](_0x5e0411[_0x2afcad(0xc8)],0x1))return{'failureData':[{'backtrace':[_0x1f8fdf,_0x49b37a[_0x2afcad(0x113)](removeAnsiColors,_0x5e0411[0x1][_0x2afcad(0x128)])]}],'logs':_0x5e0411[_0x2afcad(0xf3)](0x2)[_0x2afcad(0x142)](_0x1e1308=>{const _0x10ea72=_0x2afcad;return{'timestamp':new Date()[_0x10ea72(0x105)](),'level':_0x49b37a[_0x10ea72(0x143)],'message':''+_0x1e1308[_0x10ea72(0xdb)],'kind':_0x49b37a['Tyluz'],'http_response':{},'test_run_uuid':_0x3361bc};})};}return{'failureData':_0x49b37a['AdMKt'](failureData,_0x5e0411,_0x49b37a[_0x2afcad(0xd1)]),'logs':[]};},exports[a44_0x43196f(0xda)]=_0x479ef3=>{const _0xf3e8e8=a44_0x43196f,_0x5b6336={};_0x5b6336[_0xf3e8e8(0x95)]=function(_0x9c8f88,_0x2b683c){return _0x9c8f88!==_0x2b683c;},_0x5b6336[_0xf3e8e8(0x94)]='.zip',_0x5b6336[_0xf3e8e8(0x10a)]=function(_0x4195cf,_0x1be557){return _0x4195cf>_0x1be557;};const _0x1e9376=_0x5b6336;if(_0x479ef3&&fs['existsSync'](_0x479ef3)){if(_0x1e9376[_0xf3e8e8(0x95)](path[_0xf3e8e8(0xa3)](_0x479ef3)[_0xf3e8e8(0x112)](),_0x1e9376[_0xf3e8e8(0x94)]))return logger[_0xf3e8e8(0x129)](_0xf3e8e8(0x115)+_0x479ef3),![];const _0x114d2e=fs[_0xf3e8e8(0xc0)](_0x479ef3)[_0xf3e8e8(0x134)];if(_0x1e9376[_0xf3e8e8(0x10a)](_0x114d2e,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0xf3e8e8(0x129)](_0xf3e8e8(0xca)+_0x114d2e+_0xf3e8e8(0xfd)),![];return!![];}return![];},exports[a44_0x43196f(0xb1)]=(_0x25771b,_0x531edb)=>{const _0x25e522=a44_0x43196f,_0x183175={};_0x183175['ldjml']=_0x25e522(0xbc);const _0x5f20c8=_0x183175;logger[_0x25e522(0xfc)]('Searching\x20for\x20key:\x20'+_0x531edb);if(_0x25771b&&_0x25771b[_0x25e522(0xc5)]){const _0x39084f=_0x25771b[_0x25e522(0xc5)]['find'](_0x2d6e52=>_0x2d6e52['name']==='trace');if(_0x39084f)return logger[_0x25e522(0xfc)](_0x25e522(0x125)+_0x531edb+'\x20in\x20attachments'),_0x39084f[_0x531edb];}else{if(_0x25771b&&Object[_0x25e522(0x12f)][_0x25e522(0xf5)][_0x25e522(0x10d)](_0x25771b)[_0x25e522(0xe5)](_0x5f20c8[_0x25e522(0xff)]))for(const _0x40a3de of _0x25771b){if(_0x40a3de[_0x531edb])return logger[_0x25e522(0xfc)]('Found\x20key:\x20'+_0x531edb+_0x25e522(0x96)),_0x40a3de[_0x531edb];}};return'';},exports['uploadTraceZip']=async(_0x4b504d,_0x25aa48)=>{const _0x30d672=a44_0x43196f,_0x2774fe={};_0x2774fe[_0x30d672(0x119)]=_0x30d672(0xe9),_0x2774fe[_0x30d672(0x11d)]=_0x30d672(0x117),_0x2774fe[_0x30d672(0xfa)]='sendTraceZip',_0x2774fe[_0x30d672(0x141)]=_0x30d672(0xa9);const _0x62257f=_0x2774fe;try{const _0x3c727c={'event_type':_0x62257f[_0x30d672(0x119)],'logs':[{'data':_0x4b504d?fs[_0x30d672(0x122)](_0x4b504d):'','test_run_uuid':_0x25aa48,'kind':_0x62257f[_0x30d672(0x11d)],'fileName':_0x4b504d?path[_0x30d672(0xad)](_0x4b504d):''}]};return await SessionHandler[_0x30d672(0x126)](_0x3c727c,0x0,_0x62257f[_0x30d672(0xfa)]);}catch(_0x45a895){logger[_0x30d672(0x129)](util[_0x30d672(0x10f)](_0x62257f[_0x30d672(0x141)],_0x45a895));}},exports['sendTraceZip']=async(_0x129986,_0x49d051)=>{const _0x5c5289=a44_0x43196f,_0x5a823e={'LsRPA':_0x5c5289(0xd7),'pujzV':_0x5c5289(0x9a),'vRroZ':function(_0x5cafcf){return _0x5cafcf();},'jlaQE':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x5c5289(0xfc)](_0x5c5289(0x120)+_0x49d051);let _0x54dbc7=await exports[_0x5c5289(0xb1)](_0x129986,_0x5a823e[_0x5c5289(0xfe)]);if(exports[_0x5c5289(0xda)](_0x54dbc7)){logger['debug'](_0x5a823e['pujzV']),_0x54dbc7=path['resolve'](_0x54dbc7);const _0x24a79c={};_0x24a79c[_0x5c5289(0x127)]=_0x49d051,_0x24a79c[_0x5c5289(0x118)]=_0x54dbc7;const _0x586493=_0x24a79c;_0x5a823e[_0x5c5289(0x100)](getBrowserstackCLI)[_0x5c5289(0xd0)]()[_0x5c5289(0xb6)]()?TestInfo['addTraceFilePath'](_0x586493):TestDetails[_0x5c5289(0x93)](_0x586493);};}catch(_0x43d011){logger[_0x5c5289(0x129)](util['format'](_0x5a823e[_0x5c5289(0x139)],_0x43d011));}},exports['getTestIdentifier']=_0x3ded91=>{const _0x4f2392=a44_0x43196f,_0x509462={};_0x509462[_0x4f2392(0xbd)]=function(_0x55b59c,_0x3dca6e){return _0x55b59c+_0x3dca6e;};const _0x53e567=_0x509462;return _0x53e567[_0x4f2392(0xbd)](_0x53e567[_0x4f2392(0xbd)](_0x3ded91[_0x4f2392(0x109)],'-'),_0x3ded91['id']);},exports[a44_0x43196f(0x107)]=(_0x1b1a65,_0x52fe37)=>{const _0x2b1125=a44_0x43196f,_0x41caff={};_0x41caff['hCwub']=function(_0x13b2ed,_0x30dcc4){return _0x13b2ed+_0x30dcc4;},_0x41caff[_0x2b1125(0x101)]=function(_0x4099d9,_0x31220f){return _0x4099d9+_0x31220f;};const _0x28543f=_0x41caff;return _0x28543f[_0x2b1125(0xf9)](_0x28543f['axMTF'](_0x1b1a65['id'],'-'),_0x52fe37);};
@@ -1 +1 @@
1
- function a45_0x3a33(_0x53e9b,_0xfe726d){const _0x3ea840=a45_0x3ea8();return a45_0x3a33=function(_0x3a33e3,_0x46a71f){_0x3a33e3=_0x3a33e3-0x1ad;let _0x426734=_0x3ea840[_0x3a33e3];return _0x426734;},a45_0x3a33(_0x53e9b,_0xfe726d);}const a45_0x34aab1=a45_0x3a33;(function(_0x44d3d3,_0x32c6b9){const _0x1e3449=a45_0x3a33,_0x41b4de=_0x44d3d3();while(!![]){try{const _0x29d9e7=-parseInt(_0x1e3449(0x2a4))/0x1*(-parseInt(_0x1e3449(0x252))/0x2)+-parseInt(_0x1e3449(0x250))/0x3+parseInt(_0x1e3449(0x2c7))/0x4*(-parseInt(_0x1e3449(0x218))/0x5)+-parseInt(_0x1e3449(0x22c))/0x6+parseInt(_0x1e3449(0x1ba))/0x7*(parseInt(_0x1e3449(0x1e7))/0x8)+-parseInt(_0x1e3449(0x20c))/0x9*(parseInt(_0x1e3449(0x1da))/0xa)+parseInt(_0x1e3449(0x298))/0xb;if(_0x29d9e7===_0x32c6b9)break;else _0x41b4de['push'](_0x41b4de['shift']());}catch(_0x5227d8){_0x41b4de['push'](_0x41b4de['shift']());}}}(a45_0x3ea8,0x7d43a));function a45_0x3ea8(){const _0x412f59=['_gitConfigured','splice','QaaoA','KmgBJ','failed','exports','existsSync','UGteY','kjPXy','TestRunStarted','PRE','addTestUIDAndReportLog','toString','expectedStatus','result','.browserstack','ijoWO','beforeEach\x20hook','JKHpb','ULqXd','failure_reason','WhybV','../../v2/state/testFrameworkState','ZPkPS','base64','mkdirSync','TEST_STEP','depth','\x20for\x20','ygAmj','190XiKlHg','TEST_ATTACHMENT','HjVLk','CBTSessionCreated','map','qZBPY','pending','yrGKB','aDjVO','steps','gieWb','ajlbf','lmCIW','79544kvCYvO','isRunning','reverse','shutdown','_testHooksMap','TJxaU','PJrTt','retry','_tests','backtrace','configureGit','errors','oxzwK','IObsc','SnOQy','ikSTv','endSession','printsToStdio','./pwUtils','BKzXf','fVHrJ','HpOnd','PjKGV','step','YwrSH','GnFIe','EyZGC','TsWDg','onBegin','test','EzpiY','eybfd','Playwright','agleN','hook_run_uuid','title','OyDiG','228915MromjO','skipped','JOPsj','IrypE','startMonitoring','FFNNb','zJFPh','name','titlePath','After\x20Hooks','../../../helpers/performance/performance-tester','startsWith','584675sPRwFb','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','finishedAt','../../../helpers/test-observability/error-handler','toISOString','feISa','options','error','uuid','setStepIdentifier','format','sNXRS','getScope','push','1|7|3|2|5|0|4|6','../../v2/TestInfo','\x20at\x20','Piyqj','test_run','RpKeD','6029286NOdVGD','NKZLQ','sendSessionDetails','../../../helpers/test-observability/utils','bYNXY','lHdIV','PGCgo','startTime','BROWSERSTACK_O11Y_PERF_MEASUREMENT','uLfiQ','Before\x20Hooks','retry_of','MbDpM','length','DOsZo','HookRunStarted','object','trackEvent','size','PLAYWRIGHT','AGkoQ','message','LGBkK','BjrxS','FZHlJ','wBDgY','xqnKw','LogCreated','Error\x20in\x20calculating\x20performance:\x20','CxPiY','npDOO','location','test_run_uuid','../../../../src/bin/utils/constants','split','performance-report-reporter.json','2519025odjvwg','passed','22tlahRU','spyoL','Djlsm','duration','inspect','\x20is\x20triggered\x20for\x20test\x20','event_type','../../../helpers/test-observability/constants','fTzCa','TujeV','needToReportStep','all','onStepEnd','afterEach\x20hook','FtBRz','TestRunFinished','xwbFv','Test\x20Finished\x20with\x20unique\x20id\x20','./test-details','aIThV','javascript','jjYOc','kueGZ','fVmTw','trace_','uploadEventData','onStepBegin','mtime','failure','yhaRY','_bs_hookIdentifier','spMCm','getStepsAndLogs','START_TIME','cgYad','meta','Trace\x20file\x20found\x20for\x20test:\x20','logLevel','onEnd','.txt','_gitConfigPath','ApyoG','Hook\x20Finished\x20with\x20unique\x20id\x20','Hook\x20Started\x20with\x20unique\x20id\x20','root','parent','ZDBUv','afterAll\x20hook','BROWSERSTACK_LOG_LEVEL','elRNx','VLnUB','getStepIdentifier','gaodD','XMPjV','lwOGY','XIGJW','WlWPx','_tags','expanded','relative','TEST','sendTestRunEvent','FDlsd','../../../helpers/helper','POST','sendHookRunEvent','hook','FsQdS','getHierarchy','../../v2/browserstackCLI','14811731nvxtpx','filter','vHUKK','wcZcY','BROWSERSTACK_TEST_RUN_ID','getTestUUID','join','forEach','Expected\x20to\x20fail,\x20but\x20passed.','INIT_TEST','edEOE','oqQJc','80498yOCJLy','\x20-\x20','getInstance','getTime','yblxe','getHookType','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','getTestFramework','util','readFileSync','cwd','Sending\x20session\x20details\x20for\x20','statSync','unknown','env','enaBl','gkSue','timedOut','file','RhlAr','xzHlL','pHRrG','wOCRr','bIoZz','mMrzV','../../../helpers/test-observability/sessionHandler','hyZdy','ddFez','setup','path','../../v2/state/hookState','pekNj','HookRunFinished','stack','_trackedEvents','4LmlmSz','njDho','hook_run','getCustomRerunParam','attachments','status','logs','onTestBegin','startedAt','reportLogs','DlZOK','WtbsE','beforeAll\x20hook','IfYom','511BMqLjQ','KhRHe'];a45_0x3ea8=function(){return _0x412f59;};return a45_0x3ea8();}const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x34aab1(0x1f9)),{v4:uuidv4}=require(a45_0x34aab1(0x220)),path=require(a45_0x34aab1(0x2c1)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x34aab1(0x22f)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0x34aab1(0x264)),fs=require('fs'),util=require(a45_0x34aab1(0x2ac)),{o11yClassErrorHandler}=require(a45_0x34aab1(0x21b)),PerformanceTester=require(a45_0x34aab1(0x216)),{FRAMEWORKS}=require(a45_0x34aab1(0x259)),SessionHandler=require(a45_0x34aab1(0x2bd)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),helper=require(a45_0x34aab1(0x291)),BrowserstackCLI=require(a45_0x34aab1(0x297)),TestFrameworkState=require(a45_0x34aab1(0x1d2)),HookState=require(a45_0x34aab1(0x2c2)),TestInfo=require(a45_0x34aab1(0x227)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x34aab1(0x24d));class MyReporter{constructor(_0x2d5ad6){const _0x449b02=a45_0x34aab1,_0x3c3b96={'FsQdS':_0x449b02(0x226),'FDlsd':function(_0x512ade,_0x1a369f,_0x14feec,_0x5a6b20){return _0x512ade(_0x1a369f,_0x14feec,_0x5a6b20);},'GrEng':_0x449b02(0x24f)},_0x564fa9=_0x3c3b96[_0x449b02(0x295)][_0x449b02(0x24e)]('|');let _0x1e2d84=0x0;while(!![]){switch(_0x564fa9[_0x1e2d84++]){case'0':this[_0x449b02(0x1bc)]=![];continue;case'1':const _0x5813d8={};_0x5813d8[_0x449b02(0x277)]=process[_0x449b02(0x2b2)][_0x449b02(0x282)],_0x3c3b96[_0x449b02(0x290)](setLogLevel,_0x5813d8,new Map(),new Map());continue;case'2':this[_0x449b02(0x1eb)]={};continue;case'3':this['_tests']={};continue;case'4':this[_0x449b02(0x27a)]=null;continue;case'5':this[_0x449b02(0x21e)]=_0x2d5ad6;continue;case'6':this[_0x449b02(0x2c6)]=[];continue;case'7':process[_0x449b02(0x2b2)][_0x449b02(0x234)]&&(PerformanceTester[_0x449b02(0x210)](_0x3c3b96['GrEng']),process[_0x449b02(0x2b2)][_0x449b02(0x273)]=new Date()['toISOString']());continue;}break;}}async[a45_0x34aab1(0x203)](){const _0x3a5ceb=a45_0x34aab1,_0x331c54={};_0x331c54[_0x3a5ceb(0x211)]=_0x3a5ceb(0x207);const _0x2efc30=_0x331c54;TestDetails[_0x3a5ceb(0x2c0)](),await this[_0x3a5ceb(0x1f1)](),TestInfo['setup'](_0x2efc30[_0x3a5ceb(0x211)]);if(BrowserstackCLI['getInstance']()[_0x3a5ceb(0x1e8)]()){await BrowserstackCLI[_0x3a5ceb(0x2a6)]()[_0x3a5ceb(0x2ab)]()[_0x3a5ceb(0x23d)](TestFrameworkState[_0x3a5ceb(0x2a1)],HookState[_0x3a5ceb(0x1c6)],{});return;}}async[a45_0x34aab1(0x1b3)](_0x5b5f4e,_0x44400a){const _0x38c30c=a45_0x34aab1,_0x194815={'LGBkK':function(_0x1bd678,_0x52e156){return _0x1bd678(_0x52e156);},'RpKeD':function(_0x51dcfb,_0x26c7ff,_0x305b83){return _0x51dcfb(_0x26c7ff,_0x305b83);},'lHdIV':function(_0x1d65f0,_0x1c019f){return _0x1d65f0(_0x1c019f);},'TsWDg':_0x38c30c(0x1c5)};if(BrowserstackCLI[_0x38c30c(0x2a6)]()['isRunning']()){const _0x1dac28={};_0x1dac28['test']=_0x5b5f4e,_0x1dac28[_0x38c30c(0x1ca)]=_0x44400a,await BrowserstackCLI['getInstance']()[_0x38c30c(0x2ab)]()[_0x38c30c(0x23d)](TestFrameworkState[_0x38c30c(0x28e)],HookState[_0x38c30c(0x1c6)],_0x1dac28);return;}const _0x1425cd=_0x194815[_0x38c30c(0x242)](getTestIdentifier,_0x5b5f4e),_0x1f6e4f=TestDetails[_0x38c30c(0x29d)](_0x194815[_0x38c30c(0x22b)](getTestRunIdentifier,_0x5b5f4e,_0x44400a[_0x38c30c(0x1ee)]));process[_0x38c30c(0x2b2)][_0x38c30c(0x29c)]=_0x1f6e4f;const _0x3003e1={};_0x3003e1[_0x38c30c(0x220)]=_0x1f6e4f,_0x3003e1[_0x38c30c(0x1b4)]=_0x44400a[_0x38c30c(0x233)],this[_0x38c30c(0x1ef)][_0x1425cd]=_0x3003e1,_0x194815[_0x38c30c(0x231)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x1425cd),await this[_0x38c30c(0x28f)](_0x5b5f4e,_0x194815[_0x38c30c(0x202)],_0x44400a);}async['onStepBegin'](_0x411d31,_0x580cef,_0x6bfd06){const _0x69223a=a45_0x34aab1,_0x20933a={'cgYad':function(_0x6a6f3a,_0x5dcf4d,_0x6abbd8){return _0x6a6f3a(_0x5dcf4d,_0x6abbd8);},'STvse':function(_0x2f3b01,_0x1358df){return _0x2f3b01(_0x1358df);},'njDho':_0x69223a(0x23b)};if(!this[_0x69223a(0x25c)](_0x6bfd06,_0x411d31))return;if(BrowserstackCLI[_0x69223a(0x2a6)]()[_0x69223a(0x1e8)]()){const _0x309832=this[_0x69223a(0x2a9)](_0x6bfd06[_0x69223a(0x20a)]),_0x31462a=TestFrameworkState[_0x309832],_0x5e9c05={};_0x5e9c05['test']=_0x411d31,_0x5e9c05[_0x69223a(0x1ca)]=_0x580cef,_0x5e9c05[_0x69223a(0x1fe)]=_0x6bfd06,await BrowserstackCLI[_0x69223a(0x2a6)]()[_0x69223a(0x2ab)]()[_0x69223a(0x23d)](_0x31462a,HookState[_0x69223a(0x1c6)],_0x5e9c05);return;}const _0x3294e6=this[_0x69223a(0x221)](_0x411d31,_0x6bfd06);this[_0x69223a(0x1ef)][_0x3294e6]={'uuid':TestDetails[_0x69223a(0x29d)](_0x3294e6),'startedAt':_0x6bfd06[_0x69223a(0x233)][_0x69223a(0x21c)]()};const _0x23e923=_0x20933a[_0x69223a(0x274)](getTestRunIdentifier,_0x411d31,_0x580cef[_0x69223a(0x1ee)]);!this[_0x69223a(0x1eb)][_0x23e923]&&(this['_testHooksMap'][_0x23e923]=[]),this['_testHooksMap'][_0x23e923][_0x69223a(0x225)](this['_tests'][_0x3294e6][_0x69223a(0x220)]),_0x20933a['STvse'](trace,_0x69223a(0x27d)+_0x3294e6+_0x69223a(0x257)+_0x23e923),await this[_0x69223a(0x293)](_0x411d31,_0x6bfd06,_0x20933a[_0x69223a(0x1ad)],_0x580cef);}async[a45_0x34aab1(0x25e)](_0x9c0ecd,_0x2b2c70,_0x461643){const _0x77e09b=a45_0x34aab1,_0x41fc94={'avAfk':function(_0x13b0d9,_0x157313){return _0x13b0d9+_0x157313;},'gkSue':function(_0x1b461c,_0x30c33e){return _0x1b461c(_0x30c33e);},'spyoL':_0x77e09b(0x2c4)};if(!this[_0x77e09b(0x25c)](_0x461643,_0x9c0ecd))return;if(BrowserstackCLI[_0x77e09b(0x2a6)]()[_0x77e09b(0x1e8)]()){const _0x31481d=this[_0x77e09b(0x2a9)](_0x461643[_0x77e09b(0x20a)]),_0x518d7a=TestFrameworkState[_0x31481d],_0x475716={};_0x475716['test']=_0x9c0ecd,_0x475716[_0x77e09b(0x1ca)]=_0x2b2c70,_0x475716['step']=_0x461643,await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x77e09b(0x23d)](_0x518d7a,HookState['POST'],_0x475716);return;}const _0x512569=this[_0x77e09b(0x285)](_0x9c0ecd,_0x461643);this['_tests'][_0x512569]={...this[_0x77e09b(0x1ef)][_0x512569]||{},'finishedAt':new Date(_0x41fc94['avAfk'](_0x461643[_0x77e09b(0x233)][_0x77e09b(0x2a7)](),_0x461643[_0x77e09b(0x255)]))},_0x41fc94[_0x77e09b(0x2b4)](trace,_0x77e09b(0x27c)+_0x512569+'\x20is\x20triggered'),await this[_0x77e09b(0x293)](_0x9c0ecd,_0x461643,_0x41fc94[_0x77e09b(0x253)],_0x2b2c70);}async['onTestEnd'](_0x33f499,_0x3cc62e){const _0x178f3c=a45_0x34aab1,_0x9a623={'oxzwK':function(_0x452b73,_0x52f9d7){return _0x452b73===_0x52f9d7;},'qZBPY':'screenshot','anaVU':'TEST_SCREENSHOT','uLfiQ':_0x178f3c(0x1d4),'ijoWO':function(_0x2300ce,_0x4203b7){return _0x2300ce(_0x4203b7);},'wBDgY':function(_0x43e468,_0x4280c,_0x4c40c6){return _0x43e468(_0x4280c,_0x4c40c6);},'pHRrG':function(_0x1e2216,_0x38de88){return _0x1e2216(_0x38de88);},'ApyoG':_0x178f3c(0x261),'DOsZo':_0x178f3c(0x219),'cKYXt':function(_0x4a9c2f,_0x2358aa){return _0x4a9c2f(_0x2358aa);},'PGCgo':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','ajlbf':function(_0x2ff3ab,_0x96c152){return _0x2ff3ab>_0x96c152;}};if(BrowserstackCLI[_0x178f3c(0x2a6)]()['isRunning']()){const _0x4e5147={};_0x4e5147['test']=_0x33f499,_0x4e5147[_0x178f3c(0x1ca)]=_0x3cc62e,this[_0x178f3c(0x2c6)][_0x178f3c(0x225)](BrowserstackCLI[_0x178f3c(0x2a6)]()[_0x178f3c(0x2ab)]()[_0x178f3c(0x23d)](TestFrameworkState[_0x178f3c(0x28e)],HookState[_0x178f3c(0x292)],_0x4e5147));return;}const _0xa49458=_0x9a623['ijoWO'](getTestIdentifier,_0x33f499),_0xe502eb=TestDetails[_0x178f3c(0x29d)](_0x9a623[_0x178f3c(0x245)](getTestRunIdentifier,_0x33f499,_0x3cc62e['retry']));this[_0x178f3c(0x1ef)][_0xa49458]={...this[_0x178f3c(0x1ef)][_0xa49458]||{},'finishedAt':new Date()['toISOString']()},_0x9a623[_0x178f3c(0x2b9)](debug,_0x178f3c(0x263)+_0xa49458);try{await this[_0x178f3c(0x28f)](_0x33f499,_0x9a623[_0x178f3c(0x27b)],_0x3cc62e);}catch(_0x42fb7b){_0x9a623[_0x178f3c(0x1cc)](debug,util[_0x178f3c(0x222)](_0x9a623[_0x178f3c(0x23a)],_0x42fb7b[_0x178f3c(0x1c8)]()));}try{_0x9a623[_0x178f3c(0x2b9)](debug,_0x178f3c(0x2aa)+_0xe502eb),await _0x9a623[_0x178f3c(0x245)](sendTraceZip,_0x3cc62e,_0xe502eb);}catch(_0x392d6e){_0x9a623['cKYXt'](debug,util[_0x178f3c(0x222)](_0x9a623[_0x178f3c(0x232)],_0x392d6e[_0x178f3c(0x1c8)]()));}const _0x1e9ed1=[];_0x3cc62e[_0x178f3c(0x1b0)]&&_0x3cc62e[_0x178f3c(0x1b0)][_0x178f3c(0x1de)](_0x53c2a7=>{const _0x3bc7f9=_0x178f3c;if(_0x9a623[_0x3bc7f9(0x1f3)](_0x53c2a7[_0x3bc7f9(0x213)],_0x9a623[_0x3bc7f9(0x1df)])){if(!_0x53c2a7['path']||!fs[_0x3bc7f9(0x1c2)](_0x53c2a7[_0x3bc7f9(0x2c1)]))return;_0x1e9ed1['push']({'test_run_uuid':_0xe502eb,'timestamp':fs[_0x3bc7f9(0x2b0)](_0x53c2a7[_0x3bc7f9(0x2c1)])[_0x3bc7f9(0x26d)],'kind':_0x9a623['anaVU'],'message':fs[_0x3bc7f9(0x2ad)](_0x53c2a7[_0x3bc7f9(0x2c1)],{'encoding':_0x9a623[_0x3bc7f9(0x235)]})});}}),_0x9a623[_0x178f3c(0x1e5)](_0x1e9ed1[_0x178f3c(0x239)],0x0)&&await MyReporter['reportLogs'](_0x1e9ed1);}async[a45_0x34aab1(0x1f7)](){const _0x579d6a=a45_0x34aab1;await RequestQueueHandler[_0x579d6a(0x2a6)]()[_0x579d6a(0x1ea)]();}async[a45_0x34aab1(0x278)](_0x141ffe){const _0x5d9d3a=a45_0x34aab1,_0x9398a={'wcZcY':function(_0x436658){return _0x436658();},'CxPiY':function(_0x5b5dc4,_0x4f2149){return _0x5b5dc4(_0x4f2149);}};await Promise[_0x5d9d3a(0x25d)](this[_0x5d9d3a(0x2c6)]),await this['endSession']();try{process['env'][_0x5d9d3a(0x234)]&&await _0x9398a[_0x5d9d3a(0x29b)](calculatePerformance);}catch(_0x32a8f8){_0x9398a[_0x5d9d3a(0x249)](debug,_0x5d9d3a(0x248)+_0x32a8f8[_0x5d9d3a(0x1c8)]());}}static async[a45_0x34aab1(0x1c7)](_0x5cde9e,_0x54236f){const _0xbab146=a45_0x34aab1;_0x54236f['test_run_uuid']=TestDetails['getTestUUID'](_0x5cde9e),await this[_0xbab146(0x1b5)]([_0x54236f]);}static async[a45_0x34aab1(0x1b5)](_0x1add2e){const _0x2fd47e=a45_0x34aab1,_0x582377={};_0x582377[_0x2fd47e(0x1e6)]=_0x2fd47e(0x247);const _0x5759d4=_0x582377;if(BrowserstackCLI[_0x2fd47e(0x2a6)]()['isRunning']())return;const _0x2c672f={};_0x2c672f[_0x2fd47e(0x258)]=_0x5759d4[_0x2fd47e(0x1e6)],_0x2c672f[_0x2fd47e(0x1b2)]=_0x1add2e,await SessionHandler[_0x2fd47e(0x26b)](_0x2c672f);}async[a45_0x34aab1(0x293)](_0x515d13,_0x45ca86,_0x56fa0d,_0xb09dde){const _0xcd95e7=a45_0x34aab1,_0x45a1eb={'enaBl':_0xcd95e7(0x294),'xwbFv':_0xcd95e7(0x266),'BAPxb':_0xcd95e7(0x1e0),'fVmTw':function(_0x29898d,_0x5ab482){return _0x29898d>=_0x5ab482;},'NKZLQ':function(_0x149be8,_0x55d820){return _0x149be8===_0x55d820;},'TujeV':_0xcd95e7(0x2c4),'DlZOK':function(_0x327fb1,_0x4fa923){return _0x327fb1>_0x4fa923;},'JOPsj':'failed','IfYom':function(_0x332354,_0x3365ce){return _0x332354(_0x3365ce);},'KKpxJ':function(_0x2bd78a,_0x14e83c,_0x5b65a8){return _0x2bd78a(_0x14e83c,_0x5b65a8);},'JKHpb':'err','ULqXd':_0xcd95e7(0x251)},_0x387185=this[_0xcd95e7(0x285)](_0x515d13,_0x45ca86),_0x3c57ca=this['_tests'][_0x387185],_0x58d7bf={'uuid':_0x3c57ca['uuid'],'type':_0x45a1eb[_0xcd95e7(0x2b3)],'hook_type':this[_0xcd95e7(0x2a9)](_0x45ca86[_0xcd95e7(0x20a)]),'name':_0x45ca86[_0xcd95e7(0x20a)],'scope':this['getScope'](_0x45ca86),'scopes':this[_0xcd95e7(0x296)](_0x515d13),'body':{'lang':_0x45a1eb[_0xcd95e7(0x262)],'code':null},'identifier':_0x387185,'file_name':path[_0xcd95e7(0x28d)](process[_0xcd95e7(0x2ae)](),_0x515d13[_0xcd95e7(0x24b)][_0xcd95e7(0x2b6)]),'location':path[_0xcd95e7(0x28d)](process['cwd'](),_0x515d13[_0xcd95e7(0x24b)]['file']),'result':_0x45a1eb['BAPxb'],'duration_in_ms':_0x45a1eb[_0xcd95e7(0x269)](_0x45ca86[_0xcd95e7(0x255)],0x0)?_0x45ca86[_0xcd95e7(0x255)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x515d13[_0xcd95e7(0x24b)]['file']?path[_0xcd95e7(0x28d)](this[_0xcd95e7(0x27a)],_0x515d13[_0xcd95e7(0x24b)][_0xcd95e7(0x2b6)]):undefined,'started_at':_0x3c57ca['startedAt'],'finished_at':_0x3c57ca[_0xcd95e7(0x21a)],'framework':FRAMEWORKS[_0xcd95e7(0x23f)]};if(_0x45a1eb[_0xcd95e7(0x22d)](_0x56fa0d,_0x45a1eb[_0xcd95e7(0x25b)])){const {steps:_0x36700b,logs:_0x12d882}=this[_0xcd95e7(0x272)](_0x45ca86[_0xcd95e7(0x1e3)],_0x3c57ca[_0xcd95e7(0x220)],_0x45a1eb['enaBl']);_0x12d882&&_0x45a1eb[_0xcd95e7(0x1b6)](_0x12d882[_0xcd95e7(0x239)],0x0)&&await MyReporter[_0xcd95e7(0x1b5)](_0x12d882);const _0x330999={};_0x330999['steps']=_0x36700b,_0x58d7bf[_0xcd95e7(0x275)]=_0x330999;if(_0x45ca86[_0xcd95e7(0x21f)]){_0x58d7bf[_0xcd95e7(0x1ca)]=_0x45a1eb[_0xcd95e7(0x20e)],_0x58d7bf['failure_reason']=_0x45a1eb[_0xcd95e7(0x1b9)](removeAnsiColors,_0x45ca86[_0xcd95e7(0x21f)][_0xcd95e7(0x241)]),_0x58d7bf['failure_type']=_0x45a1eb[_0xcd95e7(0x1b9)](getFailureType,_0x45ca86[_0xcd95e7(0x21f)][_0xcd95e7(0x241)]);const _0x503635=_0x45a1eb['KKpxJ'](failureData,_0x45ca86[_0xcd95e7(0x21f)],_0x45a1eb[_0xcd95e7(0x1ce)]);if(_0x503635&&_0x45a1eb['NKZLQ'](_0x503635['length'],0x0)){const _0x290b34={};_0x290b34[_0xcd95e7(0x1f0)]=[_0x58d7bf['failure_reason']],_0x290b34[_0xcd95e7(0x28c)]=[],_0x503635[_0xcd95e7(0x225)](_0x290b34);}_0x58d7bf[_0xcd95e7(0x26e)]=_0x503635;}else _0x58d7bf[_0xcd95e7(0x1ca)]=_0x45a1eb[_0xcd95e7(0x1cf)];}const _0x1de7c1={};_0x1de7c1['event_type']=_0x56fa0d,_0x1de7c1[_0xcd95e7(0x1ae)]=_0x58d7bf;const _0xa29f7=_0x1de7c1;await SessionHandler[_0xcd95e7(0x26b)](_0xa29f7);}[a45_0x34aab1(0x272)](_0x100b6b,_0x3c6b44,_0x2e1a5a){const _0x52750e=a45_0x34aab1,_0x6b9dd5={'WlWPx':function(_0x49a726,_0x4184a8){return _0x49a726===_0x4184a8;},'PJrTt':_0x52750e(0x294),'feISa':_0x52750e(0x215),'agleN':_0x52750e(0x236),'xqnKw':function(_0x524527,_0x405505){return _0x524527===_0x405505;},'yhaRY':_0x52750e(0x204),'bYNXY':'test_run_uuid','nxPWf':_0x52750e(0x209),'spMCm':_0x52750e(0x1d6),'pekNj':_0x52750e(0x1c0),'ZDBUv':_0x52750e(0x251),'mMrzV':function(_0x46752b,_0x3da444){return _0x46752b(_0x3da444);},'KmgBJ':function(_0x163907){return _0x163907();},'pCmml':function(_0x2eac85,_0x4ceef3){return _0x2eac85(_0x4ceef3);},'gaodD':function(_0x288ade,_0x29d97e,_0x547824){return _0x288ade(_0x29d97e,_0x547824);},'IOSxu':function(_0xa8120,_0x75dd13,_0x54f480){return _0xa8120(_0x75dd13,_0x54f480);}},_0x3e80d4=[],_0x303472=[],_0x147601=_0x100b6b[_0x52750e(0x299)](_0x2b9c72=>{const _0x177a14=_0x52750e;if(_0x6b9dd5[_0x177a14(0x28a)](_0x2b9c72['category'],_0x6b9dd5[_0x177a14(0x1ed)])&&(_0x6b9dd5[_0x177a14(0x28a)](_0x2b9c72[_0x177a14(0x20a)],_0x6b9dd5[_0x177a14(0x21d)])||_0x6b9dd5[_0x177a14(0x28a)](_0x2b9c72['title'],_0x6b9dd5[_0x177a14(0x208)])))return![];return!![];}),_0x235df5=(_0x24dc8e,_0x159f66=![])=>{const _0x1a0487=_0x52750e;if(_0x6b9dd5[_0x1a0487(0x28a)](_0x24dc8e['steps']['length'],0x0)){const _0x2b830f=_0x6b9dd5[_0x1a0487(0x246)](_0x2e1a5a,_0x6b9dd5[_0x1a0487(0x26f)])?_0x6b9dd5[_0x1a0487(0x230)]:_0x6b9dd5['nxPWf'];_0x303472[_0x1a0487(0x225)]({'kind':_0x6b9dd5[_0x1a0487(0x271)],[_0x2b830f]:_0x3c6b44,'message':_0x24dc8e[_0x1a0487(0x20a)],'timestamp':_0x24dc8e[_0x1a0487(0x233)][_0x1a0487(0x21c)](),'level':_0x24dc8e[_0x1a0487(0x21f)]?_0x6b9dd5[_0x1a0487(0x2c3)]:_0x6b9dd5[_0x1a0487(0x280)],'duration':_0x24dc8e[_0x1a0487(0x255)],'failure':_0x24dc8e[_0x1a0487(0x21f)]&&_0x24dc8e[_0x1a0487(0x21f)]['message']&&_0x6b9dd5[_0x1a0487(0x2bc)](removeAnsiColors,_0x24dc8e['error'][_0x1a0487(0x241)]),'failure_type':_0x6b9dd5[_0x1a0487(0x2bc)](getFailureType,_0x24dc8e[_0x1a0487(0x21f)]&&_0x24dc8e[_0x1a0487(0x21f)][_0x1a0487(0x241)])});}else{!_0x159f66&&_0x3e80d4[_0x1a0487(0x225)]({'id':_0x6b9dd5[_0x1a0487(0x1bf)](uuidv4),'text':_0x24dc8e[_0x1a0487(0x20a)],'keyword':undefined,'started_at':_0x24dc8e['startTime']['toISOString'](),'duration':_0x24dc8e[_0x1a0487(0x255)],'result':_0x24dc8e[_0x1a0487(0x21f)]?_0x6b9dd5[_0x1a0487(0x2c3)]:_0x6b9dd5[_0x1a0487(0x280)],'failure':_0x24dc8e[_0x1a0487(0x21f)]&&_0x24dc8e[_0x1a0487(0x21f)][_0x1a0487(0x241)]&&_0x6b9dd5['pCmml'](removeAnsiColors,_0x24dc8e[_0x1a0487(0x21f)][_0x1a0487(0x241)]),'failure_type':_0x6b9dd5[_0x1a0487(0x2bc)](getFailureType,_0x24dc8e['error']&&_0x24dc8e[_0x1a0487(0x21f)][_0x1a0487(0x241)])});for(const _0x27c151 of _0x24dc8e[_0x1a0487(0x1e3)]){_0x6b9dd5[_0x1a0487(0x286)](_0x235df5,_0x27c151,!![]);}}};for(const _0xdf799d of _0x147601){_0x6b9dd5['IOSxu'](_0x235df5,_0xdf799d,![]);}const _0x5f4426={};return _0x5f4426[_0x52750e(0x1e3)]=_0x3e80d4,_0x5f4426[_0x52750e(0x1b2)]=_0x303472,_0x5f4426;}async[a45_0x34aab1(0x28f)](_0x298784,_0x21e101,_0x5b7797){const _0x14fb19=a45_0x34aab1,_0x5c75c2={'bIoZz':function(_0x55147c,_0x1b4136){return _0x55147c(_0x1b4136);},'oqQJc':_0x14fb19(0x1db),'EyZGC':_0x14fb19(0x204),'mcRRr':'javascript','EzpiY':'pending','yrGKB':function(_0x455b3d,_0x1ea6d0,_0x5036e7,_0x7798fb,_0x81b319){return _0x455b3d(_0x1ea6d0,_0x5036e7,_0x7798fb,_0x81b319);},'AGkoQ':function(_0x29d1d1,_0x4d662c){return _0x29d1d1>_0x4d662c;},'UGteY':function(_0x39c96e,_0x53e3c6,_0x3d6067){return _0x39c96e(_0x53e3c6,_0x3d6067);},'QaaoA':function(_0x5b1f16,_0x4c2eba){return _0x5b1f16-_0x4c2eba;},'BjrxS':function(_0x4bb063,_0x20070a){return _0x4bb063===_0x20070a;},'fVHrJ':_0x14fb19(0x261),'elRNx':_0x14fb19(0x20d),'PjKGV':'passed','HpOnd':function(_0x362a8e,_0x266383){return _0x362a8e===_0x266383;},'ddFez':_0x14fb19(0x1c0),'ZPkPS':_0x14fb19(0x2b5),'yblxe':function(_0x5d1c96,_0x12736f){return _0x5d1c96===_0x12736f;},'YwrSH':_0x14fb19(0x2a0),'aIThV':function(_0x2d7a9d,_0x495fe4){return _0x2d7a9d(_0x495fe4);},'aDjVO':function(_0x909362,_0x4c5bbd){return _0x909362(_0x4c5bbd);},'IObsc':function(_0x4732b0,_0x4477dd){return _0x4732b0===_0x4477dd;},'HjVLk':_0x14fb19(0x2c1),'imrWY':function(_0xc4251f,_0x3a8659){return _0xc4251f(_0x3a8659);},'XMPjV':_0x14fb19(0x1cb),'xzHlL':'utf8','IrypE':function(_0x41146b,_0x51795a){return _0x41146b(_0x51795a);},'zJFPh':function(_0x46caf0,_0x5f2ffa){return _0x46caf0!==_0x5f2ffa;},'GnFIe':function(_0x3cfc90,_0x4bfe6f){return _0x3cfc90===_0x4bfe6f;}},_0x1694f3=_0x5c75c2[_0x14fb19(0x2bb)](getTestIdentifier,_0x298784),_0x52bbd=this[_0x14fb19(0x224)](_0x298784),_0x5996e3=this['_tests'][_0x1694f3],_0x524c33=path[_0x14fb19(0x28d)](process[_0x14fb19(0x2ae)](),_0x298784[_0x14fb19(0x24b)][_0x14fb19(0x2b6)]);await this[_0x14fb19(0x1f1)]();const _0x4bb398={'uuid':_0x5996e3[_0x14fb19(0x220)],'type':_0x5c75c2[_0x14fb19(0x201)],'name':_0x298784[_0x14fb19(0x20a)],'body':{'lang':_0x5c75c2['mcRRr'],'code':_0x298784['fn']['toString']()},'scope':_0x52bbd,'scopes':this[_0x14fb19(0x296)](_0x298784),'identifier':_0x1694f3,'file_name':_0x524c33,'location':_0x524c33,'result':_0x5c75c2[_0x14fb19(0x205)],'duration_in_ms':_0x5b7797&&_0x5b7797[_0x14fb19(0x255)]?_0x5b7797[_0x14fb19(0x255)]:null,'vc_filepath':this['_gitConfigPath']&&_0x298784[_0x14fb19(0x24b)]['file']?path['relative'](this[_0x14fb19(0x27a)],_0x298784[_0x14fb19(0x24b)]['file']):undefined,'started_at':_0x5996e3[_0x14fb19(0x1b4)],'finished_at':_0x5996e3[_0x14fb19(0x21a)],'framework':FRAMEWORKS[_0x14fb19(0x23f)],'customRerunParam':{'rerun_name':this[_0x14fb19(0x1af)](_0x298784)},'tags':_0x5c75c2[_0x14fb19(0x2bb)](getTestTags,_0x298784)};_0x5c75c2[_0x14fb19(0x1e1)](appendTesthubParams,_0x4bb398,_0x21e101,_0x298784,FRAMEWORKS[_0x14fb19(0x23f)]);_0x5b7797&&_0x5c75c2['AGkoQ'](_0x5b7797[_0x14fb19(0x1ee)],0x0)&&(_0x4bb398[_0x14fb19(0x237)]=TestDetails['getTestUUID'](_0x5c75c2['UGteY'](getTestRunIdentifier,_0x298784,_0x5c75c2[_0x14fb19(0x1be)](_0x5b7797['retry'],0x1))));if(_0x5c75c2[_0x14fb19(0x243)](_0x21e101,_0x5c75c2[_0x14fb19(0x1fb)])){_0x4bb398[_0x14fb19(0x1ca)]=_0x5b7797[_0x14fb19(0x1b1)];if(_0x5c75c2[_0x14fb19(0x243)](_0x5b7797[_0x14fb19(0x1b1)],_0x298784[_0x14fb19(0x1c9)]))_0x4bb398[_0x14fb19(0x1ca)]=_0x5c75c2[_0x14fb19(0x243)](_0x5b7797[_0x14fb19(0x1b1)],_0x5c75c2[_0x14fb19(0x283)])?_0x5c75c2[_0x14fb19(0x283)]:_0x5c75c2['PjKGV'];else{(_0x5c75c2['HpOnd'](_0x4bb398[_0x14fb19(0x1ca)],_0x5c75c2[_0x14fb19(0x1fd)])||_0x5c75c2['HpOnd'](_0x4bb398[_0x14fb19(0x1ca)],_0x5c75c2['ddFez'])||_0x5c75c2['HpOnd'](_0x4bb398['result'],_0x5c75c2[_0x14fb19(0x1d3)]))&&(_0x4bb398[_0x14fb19(0x1ca)]=_0x5c75c2[_0x14fb19(0x2bf)]);if(_0x5c75c2[_0x14fb19(0x1fc)](_0x5b7797[_0x14fb19(0x1b1)],_0x5c75c2[_0x14fb19(0x1fd)])&&_0x5c75c2[_0x14fb19(0x2a8)](_0x298784[_0x14fb19(0x1c9)],_0x5c75c2[_0x14fb19(0x2bf)])){const _0x4ac2b4={};_0x4ac2b4[_0x14fb19(0x241)]=_0x5c75c2[_0x14fb19(0x1ff)],_0x4ac2b4[_0x14fb19(0x2c5)]=_0x5c75c2[_0x14fb19(0x1ff)],_0x5b7797['error']=_0x4ac2b4,_0x5b7797[_0x14fb19(0x1f2)]=[_0x5b7797[_0x14fb19(0x21f)]];}}const _0x5d777f=_0x5c75c2[_0x14fb19(0x1c3)](getTestRunIdentifier,_0x298784,_0x5b7797[_0x14fb19(0x1ee)]);_0x4bb398['hooks']=this[_0x14fb19(0x1eb)][_0x5d777f];const {steps:_0x26c850,logs:_0x53b18c}=this[_0x14fb19(0x272)](_0x5b7797[_0x14fb19(0x1e3)],_0x5996e3['uuid'],_0x5c75c2[_0x14fb19(0x201)]);await MyReporter[_0x14fb19(0x1b5)](_0x53b18c);const _0x5b9ba7={};_0x5b9ba7[_0x14fb19(0x1e3)]=_0x26c850,_0x4bb398[_0x14fb19(0x275)]=_0x5b9ba7;if(_0x5b7797[_0x14fb19(0x21f)]){_0x4bb398[_0x14fb19(0x1d0)]=_0x5c75c2[_0x14fb19(0x265)](removeAnsiColors,_0x5b7797['error'][_0x14fb19(0x241)]),_0x4bb398['failure_type']=_0x5c75c2[_0x14fb19(0x1e2)](getFailureType,_0x5b7797['error'][_0x14fb19(0x241)]);const _0x56e1a5={};_0x56e1a5[_0x14fb19(0x24c)]=_0x5996e3[_0x14fb19(0x220)];const {failureData:_0x555451,logs:_0x1f0c41}=_0x5c75c2['UGteY'](getFailureData,_0x5b7797['errors'],_0x56e1a5);if(_0x555451&&_0x5c75c2[_0x14fb19(0x1f4)](_0x555451[_0x14fb19(0x239)],0x0)){const _0x31172b={};_0x31172b[_0x14fb19(0x1f0)]=[_0x4bb398[_0x14fb19(0x1d0)]],_0x31172b[_0x14fb19(0x28c)]=[],_0x555451[_0x14fb19(0x225)](_0x31172b);}_0x4bb398[_0x14fb19(0x26e)]=_0x555451,_0x1f0c41&&_0x5c75c2[_0x14fb19(0x240)](_0x1f0c41[_0x14fb19(0x239)],0x0)&&await MyReporter[_0x14fb19(0x1b5)](_0x1f0c41);}}let _0x1a9067=_0x5c75c2[_0x14fb19(0x1c3)](findNestedKey,_0x5b7797,_0x5c75c2[_0x14fb19(0x1dc)]);if(_0x1a9067&&_0x5c75c2[_0x14fb19(0x2bb)](validateFilePath,_0x1a9067))_0x5c75c2['imrWY'](debug,_0x14fb19(0x276)+_0x5996e3['uuid']+_0x14fb19(0x228)+_0x1a9067);else{const _0x3aa08c=path[_0x14fb19(0x29e)](helper['homedir'](),_0x5c75c2[_0x14fb19(0x287)]);!fs[_0x14fb19(0x1c2)](_0x3aa08c)&&fs[_0x14fb19(0x1d5)](_0x3aa08c),fs[_0x14fb19(0x1c2)](path[_0x14fb19(0x29e)](_0x3aa08c,'trace_'+_0x5996e3[_0x14fb19(0x220)]+_0x14fb19(0x279)))&&(_0x1a9067=fs[_0x14fb19(0x2ad)](path[_0x14fb19(0x29e)](_0x3aa08c,_0x14fb19(0x26a)+_0x5996e3[_0x14fb19(0x220)]+_0x14fb19(0x279)),_0x5c75c2[_0x14fb19(0x2b8)]),_0x5c75c2[_0x14fb19(0x20f)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x5996e3['uuid']+_0x14fb19(0x228)+_0x1a9067));}const _0x7a6b7b={};_0x7a6b7b[_0x14fb19(0x258)]=_0x21e101,_0x7a6b7b[_0x14fb19(0x22a)]=_0x4bb398;const _0x4a5d40=_0x7a6b7b;_0x1a9067&&_0x5c75c2[_0x14fb19(0x212)](_0x1a9067,'')&&_0x5c75c2[_0x14fb19(0x200)](_0x21e101,_0x5c75c2['fVHrJ'])&&(!_0x4a5d40[_0x14fb19(0x1b2)]&&(_0x4a5d40[_0x14fb19(0x1b2)]=[]),_0x1a9067['split']('\x0a')[_0x14fb19(0x29f)](_0x359adf=>{const _0x2d70ae=_0x14fb19;_0x359adf&&_0x5c75c2[_0x2d70ae(0x2bb)](validateFilePath,_0x359adf)&&_0x4a5d40['logs'][_0x2d70ae(0x225)]({'kind':_0x5c75c2[_0x2d70ae(0x2a3)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x5996e3['uuid'],'file_name':path['basename'](_0x359adf),'file_size':fs[_0x2d70ae(0x2b0)](_0x359adf)[_0x2d70ae(0x23e)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x14fb19(0x26b)](_0x4a5d40);}['getCustomRerunParam'](_0x3885de){const _0xd9f355=a45_0x34aab1,_0x54cb5f={};_0x54cb5f['edEOE']=function(_0x273bd0,_0x142f77){return _0x273bd0===_0x142f77;},_0x54cb5f['eybfd']=function(_0x39ac2d,_0x3d797f){return _0x39ac2d>_0x3d797f;},_0x54cb5f[_0xd9f355(0x1d1)]=function(_0x5ba620,_0x4e3371){return _0x5ba620+_0x4e3371;},_0x54cb5f['KhRHe']=function(_0x4f45e5,_0x3692e1){return _0x4f45e5===_0x3692e1;},_0x54cb5f[_0xd9f355(0x29a)]=function(_0x38bc28,_0x1efba4){return _0x38bc28>_0x1efba4;},_0x54cb5f[_0xd9f355(0x1d9)]=function(_0x25491e,_0x809768){return _0x25491e+_0x809768;},_0x54cb5f['wOCRr']=function(_0x429369,_0x17b98e){return _0x429369+_0x17b98e;};const _0x291667=_0x54cb5f,_0x21d867=_0x3885de[_0xd9f355(0x214)]()[_0xd9f355(0x1de)](_0x2576c4=>{const _0x328070=_0xd9f355;if(_0x3885de[_0x328070(0x27f)]&&_0x291667[_0x328070(0x2a2)](_0x2576c4,_0x3885de[_0x328070(0x27f)][_0x328070(0x20a)])&&_0x3885de['parent'][_0x328070(0x28b)]&&_0x291667[_0x328070(0x206)](_0x3885de['parent'][_0x328070(0x28b)][_0x328070(0x239)],0x0))return _0x291667[_0x328070(0x1d1)](_0x291667[_0x328070(0x1d1)](_0x2576c4,'\x20'),_0x3885de[_0x328070(0x27f)][_0x328070(0x28b)][_0x328070(0x29e)]('\x20'));if(_0x291667[_0x328070(0x1bb)](_0x2576c4,_0x3885de['title'])&&_0x3885de[_0x328070(0x28b)]&&_0x291667[_0x328070(0x29a)](_0x3885de[_0x328070(0x28b)][_0x328070(0x239)],0x0))return _0x291667[_0x328070(0x1d9)](_0x291667[_0x328070(0x2ba)](_0x2576c4,'\x20'),_0x3885de['_tags'][_0x328070(0x29e)]('\x20'));return _0x2576c4;})[_0xd9f355(0x29e)]('\x20');return _0x21d867;}static async[a45_0x34aab1(0x22e)](_0x1dfc91,_0x410e24){const _0x3efcc8=a45_0x34aab1,_0x3456cd={'kjPXy':function(_0x1389f5,_0x3170ef){return _0x1389f5(_0x3170ef);},'kueGZ':_0x3efcc8(0x1dd)},_0x540ad7={'uuid':TestDetails[_0x3efcc8(0x29d)](_0x1dfc91),'integrations':_0x410e24},_0x456575={};_0x456575[_0x3efcc8(0x1d7)]=null,_0x3456cd[_0x3efcc8(0x1c4)](debug,_0x3efcc8(0x2af)+_0x1dfc91+',\x20'+util[_0x3efcc8(0x256)](_0x410e24,_0x456575));const _0x42e813={};_0x42e813[_0x3efcc8(0x258)]=_0x3456cd[_0x3efcc8(0x268)],_0x42e813[_0x3efcc8(0x22a)]=_0x540ad7,await SessionHandler[_0x3efcc8(0x26b)](_0x42e813);}async[a45_0x34aab1(0x1f1)](){const _0x33d0c3=a45_0x34aab1,_0x4c0996={'fTzCa':function(_0x5488c7){return _0x5488c7();}};if(this[_0x33d0c3(0x1bc)])return;const _0x39a9f0=await _0x4c0996[_0x33d0c3(0x25a)](getGitMetaData);_0x39a9f0&&(this[_0x33d0c3(0x27a)]=_0x39a9f0[_0x33d0c3(0x27e)]),this['_gitConfigured']=!![];}[a45_0x34aab1(0x296)](_0x1a87bb){const _0x4d51f7=a45_0x34aab1,_0x2b4ba4={};_0x2b4ba4[_0x4d51f7(0x260)]=function(_0x229828,_0x33391e){return _0x229828!==_0x33391e;};const _0x12045d=_0x2b4ba4,_0x598d99=[];if(_0x1a87bb&&_0x1a87bb[_0x4d51f7(0x27f)]){let _0x449e65=_0x1a87bb['parent'];while(_0x449e65&&_0x12045d[_0x4d51f7(0x260)](_0x449e65[_0x4d51f7(0x20a)],'')){_0x598d99[_0x4d51f7(0x225)](_0x449e65[_0x4d51f7(0x20a)]),_0x449e65=_0x449e65['parent'];}}return _0x598d99[_0x4d51f7(0x1e9)]()[_0x4d51f7(0x1bd)](0x0,0x2),_0x598d99;}[a45_0x34aab1(0x25c)](_0x59f400){const _0x1424f2=a45_0x34aab1,_0x39a8aa={};_0x39a8aa['TJxaU']=function(_0x43fec9,_0x5e2008){return _0x43fec9!==_0x5e2008;},_0x39a8aa[_0x1424f2(0x1e4)]=_0x1424f2(0x294),_0x39a8aa[_0x1424f2(0x288)]=function(_0x1b55e2,_0x57c95a){return _0x1b55e2===_0x57c95a;},_0x39a8aa[_0x1424f2(0x1fa)]=_0x1424f2(0x1cd),_0x39a8aa[_0x1424f2(0x20b)]=_0x1424f2(0x1b8),_0x39a8aa[_0x1424f2(0x223)]=_0x1424f2(0x281),_0x39a8aa['yfIYY']=_0x1424f2(0x25f);const _0x3311fc=_0x39a8aa;if(_0x3311fc[_0x1424f2(0x1ec)](_0x59f400['category'],_0x3311fc[_0x1424f2(0x1e4)]))return![];if(_0x3311fc[_0x1424f2(0x288)]([_0x3311fc['BKzXf'],_0x3311fc[_0x1424f2(0x20b)],_0x3311fc['sNXRS'],_0x3311fc['yfIYY']]['indexOf'](_0x59f400['title']),-0x1))return![];return!![];}[a45_0x34aab1(0x285)](_0x5265fb,_0x530a23){const _0x3e0e6d=a45_0x34aab1,_0x14ed1c={'Djlsm':function(_0x3502e5,_0x21b259){return _0x3502e5(_0x21b259);}},_0xf16514=_0x530a23[_0x3e0e6d(0x270)];if(_0xf16514)return _0xf16514;return _0x530a23[_0x3e0e6d(0x20a)]+_0x3e0e6d(0x1d8)+_0x14ed1c[_0x3e0e6d(0x254)](getTestIdentifier,_0x5265fb);}['setStepIdentifier'](_0x28b4d2,_0x21d99b){const _0x136a79=a45_0x34aab1,_0xd4376b={'RhlAr':function(_0x27fd55,_0x2eb424){return _0x27fd55(_0x2eb424);},'IvkkQ':function(_0x4e6294){return _0x4e6294();}};let _0xf448b3=_0x21d99b[_0x136a79(0x20a)]+_0x136a79(0x1d8)+_0xd4376b[_0x136a79(0x2b7)](getTestIdentifier,_0x28b4d2);return this[_0x136a79(0x1ef)][_0xf448b3]&&(_0xf448b3=_0xf448b3+_0x136a79(0x2a5)+_0xd4376b['IvkkQ'](uuidv4)),_0x21d99b[_0x136a79(0x270)]=_0xf448b3,_0xf448b3;}[a45_0x34aab1(0x2a9)]=_0x215eaf=>{const _0x1c3dd0=a45_0x34aab1,_0x4a3b46={};_0x4a3b46[_0x1c3dd0(0x2be)]=_0x1c3dd0(0x1cd),_0x4a3b46[_0x1c3dd0(0x1f6)]='BEFORE_EACH',_0x4a3b46[_0x1c3dd0(0x229)]='beforeAll\x20hook',_0x4a3b46[_0x1c3dd0(0x284)]='BEFORE_ALL',_0x4a3b46['WtbsE']=_0x1c3dd0(0x25f),_0x4a3b46['SnOQy']='AFTER_EACH',_0x4a3b46[_0x1c3dd0(0x238)]=_0x1c3dd0(0x281),_0x4a3b46[_0x1c3dd0(0x267)]='AFTER_ALL',_0x4a3b46['XIGJW']=_0x1c3dd0(0x2b1);const _0x4daa43=_0x4a3b46;if(_0x215eaf['startsWith'](_0x4daa43[_0x1c3dd0(0x2be)]))return _0x4daa43['ikSTv'];else{if(_0x215eaf[_0x1c3dd0(0x217)](_0x4daa43['Piyqj']))return _0x4daa43['VLnUB'];else{if(_0x215eaf[_0x1c3dd0(0x217)](_0x4daa43[_0x1c3dd0(0x1b7)]))return _0x4daa43[_0x1c3dd0(0x1f5)];else{if(_0x215eaf[_0x1c3dd0(0x217)](_0x4daa43['MbDpM']))return _0x4daa43[_0x1c3dd0(0x267)];}}}return _0x4daa43[_0x1c3dd0(0x289)];};['getScope']=_0x276477=>{const _0x5d055d=a45_0x34aab1,_0x268c6b={};_0x268c6b[_0x5d055d(0x244)]=function(_0x2111ac,_0x516107){return _0x2111ac===_0x516107;},_0x268c6b[_0x5d055d(0x24a)]=_0x5d055d(0x23c);const _0x476ebe=_0x268c6b;let _0x50abd5=_0x276477[_0x5d055d(0x27f)];return _0x476ebe[_0x5d055d(0x244)](typeof _0x276477['parent'],_0x476ebe[_0x5d055d(0x24a)])&&(_0x50abd5=_0x50abd5['title']),_0x50abd5+_0x5d055d(0x2a5)+_0x276477[_0x5d055d(0x20a)];};[a45_0x34aab1(0x1f8)](){return![];}}module[a45_0x34aab1(0x1c1)]=o11yClassErrorHandler(MyReporter,[a45_0x34aab1(0x203),a45_0x34aab1(0x1f7),'onTestBegin','onTestEnd',a45_0x34aab1(0x26c),a45_0x34aab1(0x25e),'sendSessionDetails'],'MyReporter');
1
+ const a45_0x235919=a45_0x3d27;(function(_0x388214,_0x5023b5){const _0x831987=a45_0x3d27,_0xd42807=_0x388214();while(!![]){try{const _0x38a6f0=-parseInt(_0x831987(0x23a))/0x1*(parseInt(_0x831987(0x28a))/0x2)+-parseInt(_0x831987(0x29a))/0x3*(parseInt(_0x831987(0x266))/0x4)+parseInt(_0x831987(0x2ad))/0x5+-parseInt(_0x831987(0x1e4))/0x6*(-parseInt(_0x831987(0x2f0))/0x7)+-parseInt(_0x831987(0x2c6))/0x8*(parseInt(_0x831987(0x1ec))/0x9)+parseInt(_0x831987(0x28b))/0xa*(-parseInt(_0x831987(0x26f))/0xb)+parseInt(_0x831987(0x233))/0xc*(parseInt(_0x831987(0x216))/0xd);if(_0x38a6f0===_0x5023b5)break;else _0xd42807['push'](_0xd42807['shift']());}catch(_0x39d77f){_0xd42807['push'](_0xd42807['shift']());}}}(a45_0x24ac,0x60f3b));const RequestQueueHandler=require(a45_0x235919(0x204)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x235919(0x21c)),{v4:uuidv4}=require(a45_0x235919(0x241)),path=require(a45_0x235919(0x1eb)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x235919(0x222)),{getGitMetaData,setLogLevel}=require(a45_0x235919(0x27a)),TestDetails=require(a45_0x235919(0x2d2)),fs=require('fs'),util=require(a45_0x235919(0x23f)),{o11yClassErrorHandler}=require(a45_0x235919(0x258)),PerformanceTester=require(a45_0x235919(0x23c)),{FRAMEWORKS}=require(a45_0x235919(0x212)),SessionHandler=require(a45_0x235919(0x221)),{appendTesthubParams}=require(a45_0x235919(0x2a8)),helper=require(a45_0x235919(0x27a)),BrowserstackCLI=require(a45_0x235919(0x2c2)),TestFrameworkState=require(a45_0x235919(0x299)),HookState=require(a45_0x235919(0x2bf)),TestInfo=require(a45_0x235919(0x2a1)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x235919(0x2b9));function a45_0x3d27(_0x109c9d,_0x399e33){const _0x24ac79=a45_0x24ac();return a45_0x3d27=function(_0x3d2759,_0x3b29bb){_0x3d2759=_0x3d2759-0x1da;let _0x1d4c88=_0x24ac79[_0x3d2759];return _0x1d4c88;},a45_0x3d27(_0x109c9d,_0x399e33);}function a45_0x24ac(){const _0x56d5d1=['passed','1420PgCNHv','timedOut','NPhgO','setStepIdentifier','DheQw','duration','reportLogs','vmrua','_bs_hookIdentifier','875369cHNodB','rqdWX','toISOString','retry_of','location','QbqLy','ukEcZ','length','onBegin','trace_','mZTNe','../../../helpers/helper','failure_type','\x20is\x20triggered','yeyiZ','IYIoO','format','kQEdp','onStepEnd','ppYiP','beforeAll\x20hook','aNPiJ','fiBUa','Trace\x20file\x20found\x20for\x20test:\x20','ENREd','PLAYWRIGHT','TEST_SCREENSHOT','4070ePiCdv','10wBFHvd','QbsPr','onStepBegin','IyxnP','sendTestRunEvent','_testHooksMap','_gitConfigured','BROWSERSTACK_O11Y_PERF_MEASUREMENT','Error\x20in\x20sending\x20trace\x20zip:\x20%s','sendSessionDetails','startsWith','epLBW','rUcNi','shutdown','../../v2/state/testFrameworkState','153nKbodl','err','fTZjs','getScope','TEST','nSSyg','hFuvl','../../v2/TestInfo','BDaqG','Test\x20Started\x20with\x20unique\x20id\x20','message','getCustomRerunParam','status','relative','../../../helpers/testhub/utils','MtOgf','\x20is\x20triggered\x20for\x20test\x20','sendHookRunEvent','options','3528405GXMxdG','BOQhf','expanded','.txt','VRRVk','getTime','Kgsdw','bkrRq','unknown','UJekP','indexOf','toString','../../../../src/bin/utils/constants','meta','WEXMv','result','iuUFc','INIT_TEST','../../v2/state/hookState','root','trackEvent','../../v2/browserstackCLI','depth','Before\x20Hooks','wEWrp','8dziINp','pZqsK','BEFORE_ALL','IaRLK','event_type','env','bttmp','attachments','JsTvb','\x20at\x20','homedir','cGWXI','./test-details','RRTZn','vOFqt','startedAt','jNQRg','DltbL','eZciX','steps','configureGit','backtrace','_tests','error','eAVuU','HfeQy','cwd','PRE','TEST_ATTACHMENT','iKKta','getStepIdentifier','fILon','screenshot','Error\x20in\x20calculating\x20performance:\x20','Qvykv','MaqIH','POST','logs','\x20-\x20','7|6|1|0|4|2|3|5','category','.browserstack','180964ZGtNnA','LogCreated','afterAll\x20hook','hook_run','lTyzd','oNoiZ','finishedAt','errors','tQsQy','LxOot','kNWlh','failure','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','START_TIME','onTestBegin','42tjJiMs','readFileSync','RlKQX','Test\x20Finished\x20with\x20unique\x20id\x20','eRSqX','After\x20Hooks','uploadEventData','path','5098077UrQxfE','XyRQS','Playwright','getStepsAndLogs','getTestFramework','BROWSERSTACK_LOG_LEVEL','_gitConfigPath','hagTp','onTestEnd','test','addTestUIDAndReportLog','performance-report-reporter.json','beforeEach\x20hook','vkspI','inspect','statSync','splice','OfbLb','failure_reason','\x20for\x20','existsSync','HookRunFinished','retry','reverse','../../../helpers/test-observability/requestQueueHandler','IyCsd','xAoRj','name','WFxrI','_trackedEvents','wgQJK','endSession','bTfLo','MyReporter','step','Iexci','fGJPb','_tags','../../../helpers/test-observability/constants','ekfEV','rTrfv','BEFORE_EACH','4979QPwwXS','nIVhG','map','isRunning','OOpWl','parent','./pwUtils','HvUHi','pending','needToReportStep','getInstance','../../../helpers/test-observability/sessionHandler','../../../helpers/test-observability/utils','setup','hook','pJfBN','afterEach\x20hook','VjrlD','stack','TestRunStarted','CwpuA','javascript','mtime','bensR','DRYoZ','getTestUUID','ktdRG','test_run_uuid','title','28488SsCCxq','GYEFO','IeCwl','base64','TestRunFinished','getHookType','HookRunStarted','361HlxUwv','all','../../../helpers/performance/performance-tester','nuIWt','getHierarchy','util','TEST_STEP','uuid','object','fZVLC','asHea','test_run','XmBcf','snkAk','mkdirSync','join','FPFHa','qanOW','hSauc','SNNwb','Sending\x20session\x20details\x20for\x20','startTime','cTMvG','expectedStatus','GZJwN','VCPUi','startMonitoring','AFTER_EACH','tQeiF','FtbWo','../../../helpers/test-observability/error-handler','BROWSERSTACK_TEST_RUN_ID','failed','FZAXR','YRCIz','VGhIj','AIseu','AFTER_ALL','file','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','push','split','cmZUJ'];a45_0x24ac=function(){return _0x56d5d1;};return a45_0x24ac();}class MyReporter{constructor(_0x143f7b){const _0x3b5924=a45_0x235919,_0x59f4d3={'wEWrp':_0x3b5924(0x2ed),'VjrlD':_0x3b5924(0x1f7),'IyxnP':function(_0x8a88ea,_0x192a72,_0x883ab1,_0x4aa306){return _0x8a88ea(_0x192a72,_0x883ab1,_0x4aa306);}},_0x1597b7=_0x59f4d3[_0x3b5924(0x2c5)][_0x3b5924(0x263)]('|');let _0x10eb63=0x0;while(!![]){switch(_0x1597b7[_0x10eb63++]){case'0':this[_0x3b5924(0x290)]={};continue;case'1':this[_0x3b5924(0x2dc)]={};continue;case'2':this[_0x3b5924(0x291)]=![];continue;case'3':this[_0x3b5924(0x1f2)]=null;continue;case'4':this[_0x3b5924(0x2ac)]=_0x143f7b;continue;case'5':this[_0x3b5924(0x209)]=[];continue;case'6':process[_0x3b5924(0x2cb)][_0x3b5924(0x292)]&&(PerformanceTester[_0x3b5924(0x254)](_0x59f4d3[_0x3b5924(0x227)]),process[_0x3b5924(0x2cb)][_0x3b5924(0x1e2)]=new Date()['toISOString']());continue;case'7':const _0x5ba58c={};_0x5ba58c['logLevel']=process[_0x3b5924(0x2cb)][_0x3b5924(0x1f1)],_0x59f4d3[_0x3b5924(0x28e)](setLogLevel,_0x5ba58c,new Map(),new Map());continue;}break;}}async[a45_0x235919(0x277)](){const _0x426402=a45_0x235919,_0x41d00c={};_0x41d00c[_0x426402(0x24b)]=_0x426402(0x1ee);const _0x40f268=_0x41d00c;TestDetails[_0x426402(0x223)](),await this[_0x426402(0x2da)](),TestInfo[_0x426402(0x223)](_0x40f268['qanOW']);if(BrowserstackCLI[_0x426402(0x220)]()[_0x426402(0x219)]()){await BrowserstackCLI[_0x426402(0x220)]()['getTestFramework']()[_0x426402(0x2c1)](TestFrameworkState[_0x426402(0x2be)],HookState[_0x426402(0x2e1)],{});return;}}async[a45_0x235919(0x1e3)](_0x1b2fba,_0x1c724b){const _0x1d8290=a45_0x235919,_0x242054={'aNPiJ':function(_0x3fcf78,_0x464d69){return _0x3fcf78(_0x464d69);},'XmBcf':function(_0x49879e,_0x473e66,_0x4629a5){return _0x49879e(_0x473e66,_0x4629a5);},'ktdRG':_0x1d8290(0x229)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x5f0289={};_0x5f0289[_0x1d8290(0x1f5)]=_0x1b2fba,_0x5f0289[_0x1d8290(0x2bc)]=_0x1c724b,await BrowserstackCLI[_0x1d8290(0x220)]()[_0x1d8290(0x1f0)]()[_0x1d8290(0x2c1)](TestFrameworkState[_0x1d8290(0x29e)],HookState[_0x1d8290(0x2e1)],_0x5f0289);return;}const _0x4c210c=_0x242054[_0x1d8290(0x284)](getTestIdentifier,_0x1b2fba),_0x4ca063=TestDetails['getTestUUID'](_0x242054[_0x1d8290(0x246)](getTestRunIdentifier,_0x1b2fba,_0x1c724b[_0x1d8290(0x202)]));process[_0x1d8290(0x2cb)][_0x1d8290(0x259)]=_0x4ca063;const _0x237b04={};_0x237b04[_0x1d8290(0x241)]=_0x4ca063,_0x237b04['startedAt']=_0x1c724b[_0x1d8290(0x24f)],this[_0x1d8290(0x2dc)][_0x4c210c]=_0x237b04,_0x242054[_0x1d8290(0x284)](trace,_0x1d8290(0x2a3)+_0x4c210c),await this[_0x1d8290(0x28f)](_0x1b2fba,_0x242054[_0x1d8290(0x230)],_0x1c724b);}async[a45_0x235919(0x28d)](_0x7741c3,_0x5f1146,_0x33d02a){const _0x19a1b7=a45_0x235919,_0x179fed={'KEsEd':function(_0x1f7355,_0x245b06,_0x34b77d){return _0x1f7355(_0x245b06,_0x34b77d);},'SNNwb':function(_0x35ec34,_0x2e71fb){return _0x35ec34(_0x2e71fb);},'DZeZo':_0x19a1b7(0x239)};if(!this['needToReportStep'](_0x33d02a,_0x7741c3))return;if(BrowserstackCLI[_0x19a1b7(0x220)]()[_0x19a1b7(0x219)]()){const _0x57c491=this[_0x19a1b7(0x238)](_0x33d02a[_0x19a1b7(0x232)]),_0x33cd3c=TestFrameworkState[_0x57c491],_0x107469={};_0x107469[_0x19a1b7(0x1f5)]=_0x7741c3,_0x107469[_0x19a1b7(0x2bc)]=_0x5f1146,_0x107469[_0x19a1b7(0x20e)]=_0x33d02a,await BrowserstackCLI[_0x19a1b7(0x220)]()[_0x19a1b7(0x1f0)]()['trackEvent'](_0x33cd3c,HookState[_0x19a1b7(0x2e1)],_0x107469);return;}const _0x16ece0=this[_0x19a1b7(0x269)](_0x7741c3,_0x33d02a);this[_0x19a1b7(0x2dc)][_0x16ece0]={'uuid':TestDetails[_0x19a1b7(0x22f)](_0x16ece0),'startedAt':_0x33d02a[_0x19a1b7(0x24f)][_0x19a1b7(0x271)]()};const _0x4f8eb0=_0x179fed['KEsEd'](getTestRunIdentifier,_0x7741c3,_0x5f1146['retry']);!this[_0x19a1b7(0x290)][_0x4f8eb0]&&(this['_testHooksMap'][_0x4f8eb0]=[]),this[_0x19a1b7(0x290)][_0x4f8eb0][_0x19a1b7(0x262)](this['_tests'][_0x16ece0][_0x19a1b7(0x241)]),_0x179fed[_0x19a1b7(0x24d)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x16ece0+_0x19a1b7(0x2aa)+_0x4f8eb0),await this[_0x19a1b7(0x2ab)](_0x7741c3,_0x33d02a,_0x179fed['DZeZo'],_0x5f1146);}async[a45_0x235919(0x281)](_0x49a8cf,_0x5848b8,_0x1131d6){const _0x3cef4c=a45_0x235919,_0x3baee1={'WMDQQ':function(_0x40a6e8,_0x1fd563){return _0x40a6e8+_0x1fd563;},'vmrua':function(_0x5c3f5d,_0x160b72){return _0x5c3f5d(_0x160b72);},'cmZUJ':_0x3cef4c(0x201)};if(!this[_0x3cef4c(0x21f)](_0x1131d6,_0x49a8cf))return;if(BrowserstackCLI[_0x3cef4c(0x220)]()[_0x3cef4c(0x219)]()){const _0x51d958=this[_0x3cef4c(0x238)](_0x1131d6[_0x3cef4c(0x232)]),_0x267117=TestFrameworkState[_0x51d958],_0x21eeab={};_0x21eeab[_0x3cef4c(0x1f5)]=_0x49a8cf,_0x21eeab[_0x3cef4c(0x2bc)]=_0x5848b8,_0x21eeab['step']=_0x1131d6,await BrowserstackCLI[_0x3cef4c(0x220)]()[_0x3cef4c(0x1f0)]()[_0x3cef4c(0x2c1)](_0x267117,HookState['POST'],_0x21eeab);return;}const _0x404ab0=this[_0x3cef4c(0x2e4)](_0x49a8cf,_0x1131d6);this[_0x3cef4c(0x2dc)][_0x404ab0]={...this[_0x3cef4c(0x2dc)][_0x404ab0]||{},'finishedAt':new Date(_0x3baee1['WMDQQ'](_0x1131d6[_0x3cef4c(0x24f)][_0x3cef4c(0x2b2)](),_0x1131d6['duration']))},_0x3baee1[_0x3cef4c(0x26d)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x404ab0+_0x3cef4c(0x27c)),await this['sendHookRunEvent'](_0x49a8cf,_0x1131d6,_0x3baee1[_0x3cef4c(0x264)],_0x5848b8);}async['onTestEnd'](_0x5e8356,_0x243a7e){const _0x10acb3=a45_0x235919,_0x1ffeec={'Qvykv':function(_0x2f5b37,_0x4e0ed7){return _0x2f5b37===_0x4e0ed7;},'LxOot':_0x10acb3(0x2e6),'ziVXa':_0x10acb3(0x289),'snkAk':_0x10acb3(0x236),'NPhgO':function(_0x166727,_0x149606){return _0x166727(_0x149606);},'XyRQS':function(_0x319089,_0x486972,_0x1a118e){return _0x319089(_0x486972,_0x1a118e);},'WFxrI':function(_0x5a8670,_0x3de98b){return _0x5a8670(_0x3de98b);},'iwMzK':'TestRunFinished','wgQJK':function(_0x4a07c1,_0x833a52){return _0x4a07c1(_0x833a52);},'ENREd':_0x10acb3(0x261),'xFpXy':function(_0xc11cb9,_0x3da97f){return _0xc11cb9(_0x3da97f);},'JsTvb':_0x10acb3(0x293),'rmOsj':function(_0x4bf94b,_0x49f3a0){return _0x4bf94b>_0x49f3a0;}};if(BrowserstackCLI[_0x10acb3(0x220)]()['isRunning']()){const _0x59930={};_0x59930[_0x10acb3(0x1f5)]=_0x5e8356,_0x59930[_0x10acb3(0x2bc)]=_0x243a7e,this[_0x10acb3(0x209)]['push'](BrowserstackCLI['getInstance']()['getTestFramework']()[_0x10acb3(0x2c1)](TestFrameworkState['TEST'],HookState[_0x10acb3(0x2ea)],_0x59930));return;}const _0x6a530c=_0x1ffeec[_0x10acb3(0x268)](getTestIdentifier,_0x5e8356),_0x3e0779=TestDetails['getTestUUID'](_0x1ffeec[_0x10acb3(0x1ed)](getTestRunIdentifier,_0x5e8356,_0x243a7e[_0x10acb3(0x202)]));this[_0x10acb3(0x2dc)][_0x6a530c]={...this[_0x10acb3(0x2dc)][_0x6a530c]||{},'finishedAt':new Date()[_0x10acb3(0x271)]()},_0x1ffeec[_0x10acb3(0x208)](debug,_0x10acb3(0x1e7)+_0x6a530c);try{await this[_0x10acb3(0x28f)](_0x5e8356,_0x1ffeec['iwMzK'],_0x243a7e);}catch(_0x2bc6cd){_0x1ffeec[_0x10acb3(0x20a)](debug,util[_0x10acb3(0x27f)](_0x1ffeec[_0x10acb3(0x287)],_0x2bc6cd[_0x10acb3(0x2b8)]()));}try{_0x1ffeec['xFpXy'](debug,_0x10acb3(0x1e1)+_0x3e0779),await _0x1ffeec['XyRQS'](sendTraceZip,_0x243a7e,_0x3e0779);}catch(_0x397d9d){_0x1ffeec[_0x10acb3(0x268)](debug,util[_0x10acb3(0x27f)](_0x1ffeec[_0x10acb3(0x2ce)],_0x397d9d[_0x10acb3(0x2b8)]()));}const _0x37d0de=[];_0x243a7e[_0x10acb3(0x2cd)]&&_0x243a7e[_0x10acb3(0x2cd)][_0x10acb3(0x218)](_0x28bbba=>{const _0x581ca7=_0x10acb3;if(_0x1ffeec[_0x581ca7(0x2e8)](_0x28bbba[_0x581ca7(0x207)],_0x1ffeec[_0x581ca7(0x1de)])){if(!_0x28bbba[_0x581ca7(0x1eb)]||!fs[_0x581ca7(0x200)](_0x28bbba['path']))return;_0x37d0de['push']({'test_run_uuid':_0x3e0779,'timestamp':fs[_0x581ca7(0x1fb)](_0x28bbba[_0x581ca7(0x1eb)])[_0x581ca7(0x22c)],'kind':_0x1ffeec['ziVXa'],'message':fs['readFileSync'](_0x28bbba[_0x581ca7(0x1eb)],{'encoding':_0x1ffeec[_0x581ca7(0x247)]})});}}),_0x1ffeec['rmOsj'](_0x37d0de[_0x10acb3(0x276)],0x0)&&await MyReporter[_0x10acb3(0x26c)](_0x37d0de);}async[a45_0x235919(0x20b)](){const _0x5d54a1=a45_0x235919;await RequestQueueHandler[_0x5d54a1(0x220)]()[_0x5d54a1(0x298)]();}async['onEnd'](_0x487cad){const _0x375276=a45_0x235919,_0x46f7f0={'QbsPr':function(_0x237f87){return _0x237f87();},'xAoRj':function(_0x1f0a2b,_0x2ecb10){return _0x1f0a2b(_0x2ecb10);}};await Promise[_0x375276(0x23b)](this['_trackedEvents']),await this['endSession']();try{process[_0x375276(0x2cb)][_0x375276(0x292)]&&await _0x46f7f0[_0x375276(0x28c)](calculatePerformance);}catch(_0xd43c41){_0x46f7f0[_0x375276(0x206)](debug,_0x375276(0x2e7)+_0xd43c41[_0x375276(0x2b8)]());}}static async[a45_0x235919(0x1f6)](_0x69820d,_0x11c932){const _0x49f5e0=a45_0x235919;_0x11c932['test_run_uuid']=TestDetails[_0x49f5e0(0x22f)](_0x69820d),await this[_0x49f5e0(0x26c)]([_0x11c932]);}static async[a45_0x235919(0x26c)](_0x1693ef){const _0x130375=a45_0x235919,_0x28a74d={};_0x28a74d[_0x130375(0x2e3)]=_0x130375(0x2f1);const _0x2ce0ba=_0x28a74d;if(BrowserstackCLI[_0x130375(0x220)]()[_0x130375(0x219)]())return;const _0x5c3b46={};_0x5c3b46[_0x130375(0x2ca)]=_0x2ce0ba[_0x130375(0x2e3)],_0x5c3b46[_0x130375(0x2eb)]=_0x1693ef,await SessionHandler[_0x130375(0x1ea)](_0x5c3b46);}async[a45_0x235919(0x2ab)](_0x1d0fe9,_0x439754,_0x3bc5eb,_0x39349b){const _0x1b3335=a45_0x235919,_0x1fdaef={'VGhIj':_0x1b3335(0x224),'kNWlh':_0x1b3335(0x22b),'BDaqG':_0x1b3335(0x21e),'cGWXI':function(_0x149afd,_0x242345){return _0x149afd>=_0x242345;},'QbqLy':function(_0x45d9a5,_0x24a71f){return _0x45d9a5===_0x24a71f;},'bkrRq':_0x1b3335(0x201),'tmaZO':function(_0xd5c7ee,_0x285289){return _0xd5c7ee>_0x285289;},'cTMvG':_0x1b3335(0x25a),'CsIbW':function(_0x50c75c,_0x398ebd){return _0x50c75c(_0x398ebd);},'fTZjs':function(_0x15be55,_0x43954d){return _0x15be55(_0x43954d);},'SgjXi':function(_0x3eba51,_0x4b5d18,_0x5da6c1){return _0x3eba51(_0x4b5d18,_0x5da6c1);},'eRNrj':_0x1b3335(0x29b),'zeShs':function(_0x35dbf9,_0xade6d3){return _0x35dbf9===_0xade6d3;},'TNaec':_0x1b3335(0x265)},_0x45a859=this[_0x1b3335(0x2e4)](_0x1d0fe9,_0x439754),_0x4e4210=this[_0x1b3335(0x2dc)][_0x45a859],_0x267f3a={'uuid':_0x4e4210[_0x1b3335(0x241)],'type':_0x1fdaef[_0x1b3335(0x25d)],'hook_type':this['getHookType'](_0x439754[_0x1b3335(0x232)]),'name':_0x439754[_0x1b3335(0x232)],'scope':this[_0x1b3335(0x29d)](_0x439754),'scopes':this['getHierarchy'](_0x1d0fe9),'body':{'lang':_0x1fdaef[_0x1b3335(0x1df)],'code':null},'identifier':_0x45a859,'file_name':path[_0x1b3335(0x2a7)](process[_0x1b3335(0x2e0)](),_0x1d0fe9[_0x1b3335(0x273)][_0x1b3335(0x260)]),'location':path[_0x1b3335(0x2a7)](process[_0x1b3335(0x2e0)](),_0x1d0fe9[_0x1b3335(0x273)][_0x1b3335(0x260)]),'result':_0x1fdaef[_0x1b3335(0x2a2)],'duration_in_ms':_0x1fdaef[_0x1b3335(0x2d1)](_0x439754[_0x1b3335(0x26b)],0x0)?_0x439754['duration']:undefined,'vc_filepath':this[_0x1b3335(0x1f2)]&&_0x1d0fe9[_0x1b3335(0x273)][_0x1b3335(0x260)]?path[_0x1b3335(0x2a7)](this[_0x1b3335(0x1f2)],_0x1d0fe9[_0x1b3335(0x273)][_0x1b3335(0x260)]):undefined,'started_at':_0x4e4210['startedAt'],'finished_at':_0x4e4210[_0x1b3335(0x1db)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x1fdaef[_0x1b3335(0x274)](_0x3bc5eb,_0x1fdaef[_0x1b3335(0x2b4)])){const {steps:_0x12f454,logs:_0x26940e}=this[_0x1b3335(0x1ef)](_0x439754[_0x1b3335(0x2d9)],_0x4e4210[_0x1b3335(0x241)],_0x1fdaef[_0x1b3335(0x25d)]);_0x26940e&&_0x1fdaef['tmaZO'](_0x26940e[_0x1b3335(0x276)],0x0)&&await MyReporter[_0x1b3335(0x26c)](_0x26940e);const _0x245152={};_0x245152['steps']=_0x12f454,_0x267f3a[_0x1b3335(0x2ba)]=_0x245152;if(_0x439754[_0x1b3335(0x2dd)]){_0x267f3a[_0x1b3335(0x2bc)]=_0x1fdaef[_0x1b3335(0x250)],_0x267f3a[_0x1b3335(0x1fe)]=_0x1fdaef['CsIbW'](removeAnsiColors,_0x439754[_0x1b3335(0x2dd)][_0x1b3335(0x2a4)]),_0x267f3a[_0x1b3335(0x27b)]=_0x1fdaef[_0x1b3335(0x29c)](getFailureType,_0x439754[_0x1b3335(0x2dd)]['message']);const _0x26a56e=_0x1fdaef['SgjXi'](failureData,_0x439754[_0x1b3335(0x2dd)],_0x1fdaef['eRNrj']);if(_0x26a56e&&_0x1fdaef['zeShs'](_0x26a56e[_0x1b3335(0x276)],0x0)){const _0x590dad={};_0x590dad[_0x1b3335(0x2db)]=[_0x267f3a[_0x1b3335(0x1fe)]],_0x590dad['expanded']=[],_0x26a56e[_0x1b3335(0x262)](_0x590dad);}_0x267f3a[_0x1b3335(0x1e0)]=_0x26a56e;}else _0x267f3a[_0x1b3335(0x2bc)]=_0x1fdaef['TNaec'];}const _0x24ceb2={};_0x24ceb2[_0x1b3335(0x2ca)]=_0x3bc5eb,_0x24ceb2[_0x1b3335(0x2f3)]=_0x267f3a;const _0x45c10a=_0x24ceb2;await SessionHandler[_0x1b3335(0x1ea)](_0x45c10a);}[a45_0x235919(0x1ef)](_0xc9ec18,_0x4dfc93,_0x22f9df){const _0x1ecc91=a45_0x235919,_0x3fb814={'kQEdp':function(_0x3f4ce9,_0x3c3efc){return _0x3f4ce9===_0x3c3efc;},'tQeiF':_0x1ecc91(0x224),'OOpWl':_0x1ecc91(0x1e9),'bTfLo':_0x1ecc91(0x2c4),'rTrfv':function(_0x1006a6,_0x59aad1){return _0x1006a6===_0x59aad1;},'DheQw':_0x1ecc91(0x1f5),'RlKQX':_0x1ecc91(0x231),'pZqsK':'hook_run_uuid','Leecs':_0x1ecc91(0x240),'VCPUi':_0x1ecc91(0x25a),'RRTZn':'passed','rqdWX':function(_0x41834d,_0x20ac13){return _0x41834d(_0x20ac13);},'asHea':function(_0x46867b,_0xcd0053){return _0x46867b(_0xcd0053);},'fGJPb':function(_0x21b69b){return _0x21b69b();},'UXjbl':function(_0x42e375,_0x5cbb05){return _0x42e375(_0x5cbb05);},'mtUPt':function(_0x45770a,_0x279a76){return _0x45770a(_0x279a76);},'yeyiZ':function(_0x1c0fd9,_0x1b6c36,_0x573d6e){return _0x1c0fd9(_0x1b6c36,_0x573d6e);},'hkgAL':function(_0x337e58,_0x5785d7,_0x6e999){return _0x337e58(_0x5785d7,_0x6e999);}},_0x53e8a5=[],_0x1bc765=[],_0x2413bc=_0xc9ec18['filter'](_0x550205=>{const _0x8c07c=_0x1ecc91;if(_0x3fb814['kQEdp'](_0x550205['category'],_0x3fb814[_0x8c07c(0x256)])&&(_0x3fb814[_0x8c07c(0x280)](_0x550205[_0x8c07c(0x232)],_0x3fb814[_0x8c07c(0x21a)])||_0x3fb814[_0x8c07c(0x280)](_0x550205['title'],_0x3fb814[_0x8c07c(0x20c)])))return![];return!![];}),_0x3bf7fc=(_0x131b2b,_0x5f4352=![])=>{const _0x329563=_0x1ecc91;if(_0x3fb814[_0x329563(0x214)](_0x131b2b['steps']['length'],0x0)){const _0x5df638=_0x3fb814[_0x329563(0x214)](_0x22f9df,_0x3fb814[_0x329563(0x26a)])?_0x3fb814[_0x329563(0x1e6)]:_0x3fb814[_0x329563(0x2c7)];_0x1bc765[_0x329563(0x262)]({'kind':_0x3fb814['Leecs'],[_0x5df638]:_0x4dfc93,'message':_0x131b2b[_0x329563(0x232)],'timestamp':_0x131b2b[_0x329563(0x24f)][_0x329563(0x271)](),'level':_0x131b2b[_0x329563(0x2dd)]?_0x3fb814[_0x329563(0x253)]:_0x3fb814[_0x329563(0x2d3)],'duration':_0x131b2b['duration'],'failure':_0x131b2b[_0x329563(0x2dd)]&&_0x131b2b[_0x329563(0x2dd)][_0x329563(0x2a4)]&&_0x3fb814[_0x329563(0x270)](removeAnsiColors,_0x131b2b[_0x329563(0x2dd)]['message']),'failure_type':_0x3fb814[_0x329563(0x244)](getFailureType,_0x131b2b[_0x329563(0x2dd)]&&_0x131b2b[_0x329563(0x2dd)]['message'])});}else{!_0x5f4352&&_0x53e8a5[_0x329563(0x262)]({'id':_0x3fb814[_0x329563(0x210)](uuidv4),'text':_0x131b2b[_0x329563(0x232)],'keyword':undefined,'started_at':_0x131b2b[_0x329563(0x24f)]['toISOString'](),'duration':_0x131b2b[_0x329563(0x26b)],'result':_0x131b2b['error']?_0x3fb814[_0x329563(0x253)]:_0x3fb814['RRTZn'],'failure':_0x131b2b[_0x329563(0x2dd)]&&_0x131b2b[_0x329563(0x2dd)][_0x329563(0x2a4)]&&_0x3fb814['UXjbl'](removeAnsiColors,_0x131b2b['error']['message']),'failure_type':_0x3fb814['mtUPt'](getFailureType,_0x131b2b['error']&&_0x131b2b[_0x329563(0x2dd)][_0x329563(0x2a4)])});for(const _0x189cb5 of _0x131b2b[_0x329563(0x2d9)]){_0x3fb814[_0x329563(0x27d)](_0x3bf7fc,_0x189cb5,!![]);}}};for(const _0x19bc68 of _0x2413bc){_0x3fb814['hkgAL'](_0x3bf7fc,_0x19bc68,![]);}const _0x586b26={};return _0x586b26[_0x1ecc91(0x2d9)]=_0x53e8a5,_0x586b26[_0x1ecc91(0x2eb)]=_0x1bc765,_0x586b26;}async[a45_0x235919(0x28f)](_0x4caee4,_0x37ef26,_0x743982){const _0x552bbe=a45_0x235919,_0x1678ec={'ppYiP':function(_0x516fbc,_0x2cc14d){return _0x516fbc(_0x2cc14d);},'TkrTC':_0x552bbe(0x2e2),'UJekP':_0x552bbe(0x1f5),'IaRLK':'javascript','GYEFO':_0x552bbe(0x21e),'vkspI':function(_0xc34619,_0x4ace3a){return _0xc34619(_0x4ace3a);},'ksbnW':function(_0x473ba6,_0x4d9ede,_0x22866a,_0xfc0366,_0x354e4f){return _0x473ba6(_0x4d9ede,_0x22866a,_0xfc0366,_0x354e4f);},'IeCwl':function(_0x401e52,_0x5ba715){return _0x401e52>_0x5ba715;},'gKJtj':function(_0x2e7d98,_0x36c7da,_0x17eb28){return _0x2e7d98(_0x36c7da,_0x17eb28);},'FZAXR':function(_0x5cb7bf,_0x372678){return _0x5cb7bf-_0x372678;},'CwpuA':function(_0x4f243d,_0x2a8bba){return _0x4f243d===_0x2a8bba;},'oNoiZ':_0x552bbe(0x237),'fILon':function(_0x2c8aa7,_0x4d05f8){return _0x2c8aa7===_0x4d05f8;},'YRCIz':'skipped','ekfEV':_0x552bbe(0x265),'eRSqX':_0x552bbe(0x25a),'Kgsdw':function(_0x4d5b5c,_0x36e41d){return _0x4d5b5c===_0x36e41d;},'vOFqt':_0x552bbe(0x267),'hSauc':function(_0x37673f,_0x51ece1){return _0x37673f===_0x51ece1;},'GZJwN':'Expected\x20to\x20fail,\x20but\x20passed.','DRYoZ':function(_0x4f7372,_0x5ccb21,_0x2d59ab){return _0x4f7372(_0x5ccb21,_0x2d59ab);},'MtOgf':function(_0x3d7b6d,_0xc91ebc){return _0x3d7b6d>_0xc91ebc;},'FPFHa':function(_0x378298,_0x13a7e8,_0x3edf26){return _0x378298(_0x13a7e8,_0x3edf26);},'rUcNi':'path','AIseu':function(_0x141f31,_0x2cb8b5){return _0x141f31(_0x2cb8b5);},'bensR':_0x552bbe(0x2ef),'FtbWo':'utf8','nIVhG':function(_0x48d686,_0xc1cbaf){return _0x48d686(_0xc1cbaf);},'IYIoO':function(_0x5a8ac1,_0x2ddec2){return _0x5a8ac1!==_0x2ddec2;}},_0x5d3d07=_0x1678ec[_0x552bbe(0x282)](getTestIdentifier,_0x4caee4),_0x234988=this[_0x552bbe(0x29d)](_0x4caee4),_0x3a0204=this[_0x552bbe(0x2dc)][_0x5d3d07],_0x2e1bc7=path[_0x552bbe(0x2a7)](process['cwd'](),_0x4caee4[_0x552bbe(0x273)][_0x552bbe(0x260)]);await this[_0x552bbe(0x2da)]();const _0x3abb66={'uuid':_0x3a0204['uuid'],'type':_0x1678ec['UJekP'],'name':_0x4caee4[_0x552bbe(0x232)],'body':{'lang':_0x1678ec[_0x552bbe(0x2c9)],'code':_0x4caee4['fn']['toString']()},'scope':_0x234988,'scopes':this[_0x552bbe(0x23e)](_0x4caee4),'identifier':_0x5d3d07,'file_name':_0x2e1bc7,'location':_0x2e1bc7,'result':_0x1678ec[_0x552bbe(0x234)],'duration_in_ms':_0x743982&&_0x743982['duration']?_0x743982[_0x552bbe(0x26b)]:null,'vc_filepath':this[_0x552bbe(0x1f2)]&&_0x4caee4['location'][_0x552bbe(0x260)]?path['relative'](this[_0x552bbe(0x1f2)],_0x4caee4[_0x552bbe(0x273)]['file']):undefined,'started_at':_0x3a0204[_0x552bbe(0x2d5)],'finished_at':_0x3a0204[_0x552bbe(0x1db)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x4caee4)},'tags':_0x1678ec[_0x552bbe(0x1f9)](getTestTags,_0x4caee4)};_0x1678ec['ksbnW'](appendTesthubParams,_0x3abb66,_0x37ef26,_0x4caee4,FRAMEWORKS[_0x552bbe(0x288)]);_0x743982&&_0x1678ec[_0x552bbe(0x235)](_0x743982[_0x552bbe(0x202)],0x0)&&(_0x3abb66[_0x552bbe(0x272)]=TestDetails[_0x552bbe(0x22f)](_0x1678ec['gKJtj'](getTestRunIdentifier,_0x4caee4,_0x1678ec[_0x552bbe(0x25b)](_0x743982[_0x552bbe(0x202)],0x1))));if(_0x1678ec[_0x552bbe(0x22a)](_0x37ef26,_0x1678ec['oNoiZ'])){_0x3abb66[_0x552bbe(0x2bc)]=_0x743982[_0x552bbe(0x2a6)];if(_0x1678ec[_0x552bbe(0x22a)](_0x743982[_0x552bbe(0x2a6)],_0x4caee4[_0x552bbe(0x251)]))_0x3abb66[_0x552bbe(0x2bc)]=_0x1678ec[_0x552bbe(0x2e5)](_0x743982[_0x552bbe(0x2a6)],_0x1678ec[_0x552bbe(0x25c)])?_0x1678ec['YRCIz']:_0x1678ec[_0x552bbe(0x213)];else{(_0x1678ec[_0x552bbe(0x2e5)](_0x3abb66[_0x552bbe(0x2bc)],_0x1678ec['ekfEV'])||_0x1678ec[_0x552bbe(0x22a)](_0x3abb66[_0x552bbe(0x2bc)],_0x1678ec[_0x552bbe(0x1e8)])||_0x1678ec[_0x552bbe(0x2b3)](_0x3abb66['result'],_0x1678ec[_0x552bbe(0x2d4)]))&&(_0x3abb66['result']=_0x1678ec['eRSqX']);if(_0x1678ec[_0x552bbe(0x2b3)](_0x743982[_0x552bbe(0x2a6)],_0x1678ec[_0x552bbe(0x213)])&&_0x1678ec[_0x552bbe(0x24c)](_0x4caee4[_0x552bbe(0x251)],_0x1678ec[_0x552bbe(0x1e8)])){const _0x33356={};_0x33356[_0x552bbe(0x2a4)]=_0x1678ec[_0x552bbe(0x252)],_0x33356[_0x552bbe(0x228)]=_0x1678ec[_0x552bbe(0x252)],_0x743982[_0x552bbe(0x2dd)]=_0x33356,_0x743982[_0x552bbe(0x1dc)]=[_0x743982[_0x552bbe(0x2dd)]];}}const _0x14e3e9=_0x1678ec[_0x552bbe(0x22e)](getTestRunIdentifier,_0x4caee4,_0x743982['retry']);_0x3abb66['hooks']=this[_0x552bbe(0x290)][_0x14e3e9];const {steps:_0x3fabe8,logs:_0x107107}=this[_0x552bbe(0x1ef)](_0x743982[_0x552bbe(0x2d9)],_0x3a0204[_0x552bbe(0x241)],_0x1678ec[_0x552bbe(0x2b6)]);await MyReporter[_0x552bbe(0x26c)](_0x107107);const _0x317465={};_0x317465[_0x552bbe(0x2d9)]=_0x3fabe8,_0x3abb66[_0x552bbe(0x2ba)]=_0x317465;if(_0x743982['error']){_0x3abb66[_0x552bbe(0x1fe)]=_0x1678ec[_0x552bbe(0x1f9)](removeAnsiColors,_0x743982[_0x552bbe(0x2dd)][_0x552bbe(0x2a4)]),_0x3abb66[_0x552bbe(0x27b)]=_0x1678ec['ppYiP'](getFailureType,_0x743982[_0x552bbe(0x2dd)][_0x552bbe(0x2a4)]);const _0x370519={};_0x370519[_0x552bbe(0x231)]=_0x3a0204[_0x552bbe(0x241)];const {failureData:_0x20934e,logs:_0x24fc61}=_0x1678ec['DRYoZ'](getFailureData,_0x743982['errors'],_0x370519);if(_0x20934e&&_0x1678ec[_0x552bbe(0x22a)](_0x20934e['length'],0x0)){const _0xd801ff={};_0xd801ff[_0x552bbe(0x2db)]=[_0x3abb66[_0x552bbe(0x1fe)]],_0xd801ff[_0x552bbe(0x2af)]=[],_0x20934e[_0x552bbe(0x262)](_0xd801ff);}_0x3abb66[_0x552bbe(0x1e0)]=_0x20934e,_0x24fc61&&_0x1678ec[_0x552bbe(0x2a9)](_0x24fc61[_0x552bbe(0x276)],0x0)&&await MyReporter[_0x552bbe(0x26c)](_0x24fc61);}}let _0x302576=_0x1678ec[_0x552bbe(0x24a)](findNestedKey,_0x743982,_0x1678ec[_0x552bbe(0x297)]);if(_0x302576&&_0x1678ec[_0x552bbe(0x25e)](validateFilePath,_0x302576))_0x1678ec[_0x552bbe(0x282)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x3a0204['uuid']+_0x552bbe(0x2cf)+_0x302576);else{const _0xe70533=path[_0x552bbe(0x249)](helper[_0x552bbe(0x2d0)](),_0x1678ec[_0x552bbe(0x22d)]);!fs[_0x552bbe(0x200)](_0xe70533)&&fs[_0x552bbe(0x248)](_0xe70533),fs[_0x552bbe(0x200)](path[_0x552bbe(0x249)](_0xe70533,_0x552bbe(0x278)+_0x3a0204[_0x552bbe(0x241)]+_0x552bbe(0x2b0)))&&(_0x302576=fs[_0x552bbe(0x1e5)](path[_0x552bbe(0x249)](_0xe70533,_0x552bbe(0x278)+_0x3a0204[_0x552bbe(0x241)]+_0x552bbe(0x2b0)),_0x1678ec[_0x552bbe(0x257)]),_0x1678ec[_0x552bbe(0x217)](debug,_0x552bbe(0x286)+_0x3a0204[_0x552bbe(0x241)]+'\x20at\x20'+_0x302576));}const _0x4cde0d={};_0x4cde0d[_0x552bbe(0x2ca)]=_0x37ef26,_0x4cde0d[_0x552bbe(0x245)]=_0x3abb66;const _0x5ac03e=_0x4cde0d;_0x302576&&_0x1678ec[_0x552bbe(0x27e)](_0x302576,'')&&_0x1678ec[_0x552bbe(0x2e5)](_0x37ef26,_0x1678ec[_0x552bbe(0x1da)])&&(!_0x5ac03e[_0x552bbe(0x2eb)]&&(_0x5ac03e[_0x552bbe(0x2eb)]=[]),_0x302576[_0x552bbe(0x263)]('\x0a')['forEach'](_0x45d677=>{const _0xdfc70c=_0x552bbe;_0x45d677&&_0x1678ec[_0xdfc70c(0x282)](validateFilePath,_0x45d677)&&_0x5ac03e[_0xdfc70c(0x2eb)]['push']({'kind':_0x1678ec['TkrTC'],'timestamp':new Date()[_0xdfc70c(0x271)](),'test_run_uuid':_0x3a0204[_0xdfc70c(0x241)],'file_name':path['basename'](_0x45d677),'file_size':fs[_0xdfc70c(0x1fb)](_0x45d677)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x552bbe(0x1ea)](_0x5ac03e);}[a45_0x235919(0x2a5)](_0x2416d0){const _0x438181=a45_0x235919,_0x49ebed={};_0x49ebed['pJfBN']=function(_0x41e18b,_0x32e8e4){return _0x41e18b===_0x32e8e4;},_0x49ebed[_0x438181(0x20f)]=function(_0x42a0b2,_0x137c3e){return _0x42a0b2>_0x137c3e;},_0x49ebed[_0x438181(0x2a0)]=function(_0x205d43,_0x2a4995){return _0x205d43+_0x2a4995;},_0x49ebed[_0x438181(0x2d7)]=function(_0x1efb79,_0x58d39d){return _0x1efb79>_0x58d39d;},_0x49ebed[_0x438181(0x2ae)]=function(_0x4c61cb,_0x13173d){return _0x4c61cb+_0x13173d;};const _0x15ed4e=_0x49ebed,_0x7f0b45=_0x2416d0['titlePath']()[_0x438181(0x218)](_0x34d641=>{const _0x5f2046=_0x438181;if(_0x2416d0['parent']&&_0x15ed4e[_0x5f2046(0x225)](_0x34d641,_0x2416d0['parent'][_0x5f2046(0x232)])&&_0x2416d0[_0x5f2046(0x21b)][_0x5f2046(0x211)]&&_0x15ed4e[_0x5f2046(0x20f)](_0x2416d0[_0x5f2046(0x21b)][_0x5f2046(0x211)]['length'],0x0))return _0x15ed4e['hFuvl'](_0x15ed4e['hFuvl'](_0x34d641,'\x20'),_0x2416d0[_0x5f2046(0x21b)][_0x5f2046(0x211)][_0x5f2046(0x249)]('\x20'));if(_0x15ed4e[_0x5f2046(0x225)](_0x34d641,_0x2416d0[_0x5f2046(0x232)])&&_0x2416d0['_tags']&&_0x15ed4e[_0x5f2046(0x2d7)](_0x2416d0['_tags'][_0x5f2046(0x276)],0x0))return _0x15ed4e['BOQhf'](_0x15ed4e[_0x5f2046(0x2ae)](_0x34d641,'\x20'),_0x2416d0[_0x5f2046(0x211)][_0x5f2046(0x249)]('\x20'));return _0x34d641;})['join']('\x20');return _0x7f0b45;}static async['sendSessionDetails'](_0x57fdb6,_0x527d01){const _0x4025b0=a45_0x235919,_0x2e0ef3={'nuIWt':function(_0x14da0d,_0x21f78f){return _0x14da0d(_0x21f78f);},'OCDFH':'CBTSessionCreated'},_0x5258f9={'uuid':TestDetails[_0x4025b0(0x22f)](_0x57fdb6),'integrations':_0x527d01},_0x16ec4f={};_0x16ec4f[_0x4025b0(0x2c3)]=null,_0x2e0ef3[_0x4025b0(0x23d)](debug,_0x4025b0(0x24e)+_0x57fdb6+',\x20'+util[_0x4025b0(0x1fa)](_0x527d01,_0x16ec4f));const _0x301219={};_0x301219['event_type']=_0x2e0ef3['OCDFH'],_0x301219[_0x4025b0(0x245)]=_0x5258f9,await SessionHandler[_0x4025b0(0x1ea)](_0x301219);}async[a45_0x235919(0x2da)](){const _0x5f5058=a45_0x235919,_0x387eaa={'lTyzd':function(_0xce1067){return _0xce1067();}};if(this[_0x5f5058(0x291)])return;const _0x22f2fb=await _0x387eaa[_0x5f5058(0x2f4)](getGitMetaData);_0x22f2fb&&(this[_0x5f5058(0x1f2)]=_0x22f2fb[_0x5f5058(0x2c0)]),this[_0x5f5058(0x291)]=!![];}[a45_0x235919(0x23e)](_0x8fbf5f){const _0x200a8c=a45_0x235919,_0x4ff7db={};_0x4ff7db[_0x200a8c(0x2e9)]=function(_0x2e72e2,_0x5e4d37){return _0x2e72e2!==_0x5e4d37;};const _0x106b0c=_0x4ff7db,_0x4c090f=[];if(_0x8fbf5f&&_0x8fbf5f[_0x200a8c(0x21b)]){let _0x43cc8d=_0x8fbf5f['parent'];while(_0x43cc8d&&_0x106b0c[_0x200a8c(0x2e9)](_0x43cc8d[_0x200a8c(0x232)],'')){_0x4c090f[_0x200a8c(0x262)](_0x43cc8d['title']),_0x43cc8d=_0x43cc8d[_0x200a8c(0x21b)];}}return _0x4c090f[_0x200a8c(0x203)]()[_0x200a8c(0x1fc)](0x0,0x2),_0x4c090f;}[a45_0x235919(0x21f)](_0x21bd23){const _0x53da65=a45_0x235919,_0x805c8c={};_0x805c8c['ukEcZ']=function(_0x5f163d,_0x4fbd87){return _0x5f163d!==_0x4fbd87;},_0x805c8c[_0x53da65(0x205)]='hook',_0x805c8c[_0x53da65(0x243)]=function(_0x169911,_0x36beef){return _0x169911===_0x36beef;},_0x805c8c[_0x53da65(0x2de)]=_0x53da65(0x1f8),_0x805c8c[_0x53da65(0x2d8)]=_0x53da65(0x283),_0x805c8c['OfbLb']=_0x53da65(0x2f2),_0x805c8c['hagTp']='afterEach\x20hook';const _0x5fbafd=_0x805c8c;if(_0x5fbafd[_0x53da65(0x275)](_0x21bd23[_0x53da65(0x2ee)],_0x5fbafd[_0x53da65(0x205)]))return![];if(_0x5fbafd[_0x53da65(0x243)]([_0x5fbafd[_0x53da65(0x2de)],_0x5fbafd[_0x53da65(0x2d8)],_0x5fbafd[_0x53da65(0x1fd)],_0x5fbafd[_0x53da65(0x1f3)]][_0x53da65(0x2b7)](_0x21bd23[_0x53da65(0x232)]),-0x1))return![];return!![];}[a45_0x235919(0x2e4)](_0x19b81c,_0x4e8aac){const _0x403f78=a45_0x235919,_0x510012={'mZTNe':function(_0x4f8f51,_0x49e014){return _0x4f8f51(_0x49e014);}},_0x56f2f6=_0x4e8aac[_0x403f78(0x26e)];if(_0x56f2f6)return _0x56f2f6;return _0x4e8aac[_0x403f78(0x232)]+_0x403f78(0x1ff)+_0x510012[_0x403f78(0x279)](getTestIdentifier,_0x19b81c);}[a45_0x235919(0x269)](_0x462485,_0xfd5312){const _0x187bfc=a45_0x235919,_0x26d87e={'NGEmu':function(_0x5203b1,_0xe042c7){return _0x5203b1(_0xe042c7);},'nSSyg':function(_0x56c36b){return _0x56c36b();}};let _0x2196a2=_0xfd5312['title']+_0x187bfc(0x1ff)+_0x26d87e['NGEmu'](getTestIdentifier,_0x462485);return this[_0x187bfc(0x2dc)][_0x2196a2]&&(_0x2196a2=_0x2196a2+_0x187bfc(0x2ec)+_0x26d87e[_0x187bfc(0x29f)](uuidv4)),_0xfd5312[_0x187bfc(0x26e)]=_0x2196a2,_0x2196a2;}['getHookType']=_0x2399da=>{const _0x19928b=a45_0x235919,_0x5a7120={};_0x5a7120[_0x19928b(0x296)]=_0x19928b(0x1f8),_0x5a7120['jNQRg']=_0x19928b(0x215),_0x5a7120[_0x19928b(0x2b1)]='beforeAll\x20hook',_0x5a7120[_0x19928b(0x21d)]=_0x19928b(0x2c8),_0x5a7120[_0x19928b(0x2df)]=_0x19928b(0x226),_0x5a7120['SOFNJ']=_0x19928b(0x255),_0x5a7120[_0x19928b(0x285)]=_0x19928b(0x2f2),_0x5a7120[_0x19928b(0x2cc)]=_0x19928b(0x25f),_0x5a7120['iuUFc']=_0x19928b(0x2b5);const _0x5c4e6d=_0x5a7120;if(_0x2399da[_0x19928b(0x295)](_0x5c4e6d[_0x19928b(0x296)]))return _0x5c4e6d[_0x19928b(0x2d6)];else{if(_0x2399da['startsWith'](_0x5c4e6d[_0x19928b(0x2b1)]))return _0x5c4e6d[_0x19928b(0x21d)];else{if(_0x2399da[_0x19928b(0x295)](_0x5c4e6d[_0x19928b(0x2df)]))return _0x5c4e6d['SOFNJ'];else{if(_0x2399da[_0x19928b(0x295)](_0x5c4e6d['fiBUa']))return _0x5c4e6d[_0x19928b(0x2cc)];}}}return _0x5c4e6d[_0x19928b(0x2bd)];};[a45_0x235919(0x29d)]=_0x13b180=>{const _0x7c6255=a45_0x235919,_0x31ab97={};_0x31ab97['tQsQy']=function(_0x21aa49,_0x1bdd0d){return _0x21aa49===_0x1bdd0d;},_0x31ab97[_0x7c6255(0x2bb)]=_0x7c6255(0x242);const _0x4d12ee=_0x31ab97;let _0x588c4a=_0x13b180[_0x7c6255(0x21b)];return _0x4d12ee[_0x7c6255(0x1dd)](typeof _0x13b180[_0x7c6255(0x21b)],_0x4d12ee[_0x7c6255(0x2bb)])&&(_0x588c4a=_0x588c4a[_0x7c6255(0x232)]),_0x588c4a+_0x7c6255(0x2ec)+_0x13b180['title'];};['printsToStdio'](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a45_0x235919(0x277),a45_0x235919(0x20b),'onTestBegin',a45_0x235919(0x1f4),a45_0x235919(0x28d),a45_0x235919(0x281),a45_0x235919(0x294)],a45_0x235919(0x20d));
@@ -1 +1 @@
1
- function a46_0x2968(_0x4a2d5c,_0x418b42){const _0x2d82c4=a46_0x2d82();return a46_0x2968=function(_0x2968fc,_0x2bc7e8){_0x2968fc=_0x2968fc-0x1d7;let _0x1299f4=_0x2d82c4[_0x2968fc];return _0x1299f4;},a46_0x2968(_0x4a2d5c,_0x418b42);}const a46_0x290cff=a46_0x2968;(function(_0x14840b,_0x1453c1){const _0x29e182=a46_0x2968,_0x1fdde0=_0x14840b();while(!![]){try{const _0x58918c=parseInt(_0x29e182(0x1de))/0x1+-parseInt(_0x29e182(0x1f3))/0x2+parseInt(_0x29e182(0x1e0))/0x3*(parseInt(_0x29e182(0x1f0))/0x4)+-parseInt(_0x29e182(0x1ef))/0x5+parseInt(_0x29e182(0x207))/0x6*(-parseInt(_0x29e182(0x1f8))/0x7)+-parseInt(_0x29e182(0x205))/0x8+-parseInt(_0x29e182(0x206))/0x9*(-parseInt(_0x29e182(0x1f5))/0xa);if(_0x58918c===_0x1453c1)break;else _0x1fdde0['push'](_0x1fdde0['shift']());}catch(_0x465fdb){_0x1fdde0['push'](_0x1fdde0['shift']());}}}(a46_0x2d82,0x75c28));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a46_0x290cff(0x20a)),{TEMP_STORE_DIR_NAME}=require(a46_0x290cff(0x22d)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a46_0x290cff(0x1dc))[a46_0x290cff(0x1fd)],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require('../../../helpers/helper');class TestDetails{static ['tests']={};static['setup'](){const _0x3ff8fd=a46_0x290cff;this[_0x3ff8fd(0x1d8)]();const _0xdc8506={};_0xdc8506[_0x3ff8fd(0x230)]=!![],fs['mkdirSync'](this[_0x3ff8fd(0x1df)](),_0xdc8506);const _0x21a726={};_0x21a726['recursive']=!![],fs[_0x3ff8fd(0x228)](this[_0x3ff8fd(0x1e8)](),_0x21a726);}static[a46_0x290cff(0x1f4)](){const _0xe7d571=a46_0x290cff,_0x383b7e={};_0x383b7e[_0xe7d571(0x1fe)]=function(_0x5c6060,_0x154324){return _0x5c6060+_0x154324;},_0x383b7e[_0xe7d571(0x21a)]=function(_0x109ab9,_0x34f0ba){return _0x109ab9+_0x34f0ba;};const _0xcf3ab4=_0x383b7e;return _0xcf3ab4[_0xe7d571(0x1fe)](_0xcf3ab4[_0xe7d571(0x21a)](TEMP_STORE_DIR_NAME,'-'),process[_0xe7d571(0x1e1)][_0xe7d571(0x210)]);}static[a46_0x290cff(0x1f1)](){const _0x37be3a=a46_0x290cff,_0x40de3c={};_0x40de3c[_0x37be3a(0x1d9)]=function(_0x3a086e,_0x54c170){return _0x3a086e+_0x54c170;},_0x40de3c[_0x37be3a(0x22e)]=function(_0x271b6c,_0x307a4b){return _0x271b6c+_0x307a4b;},_0x40de3c[_0x37be3a(0x1fa)]=_0x37be3a(0x224);const _0x430919=_0x40de3c;return path[_0x37be3a(0x1e7)](_0x430919['rNsaj'](_0x430919[_0x37be3a(0x22e)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x37be3a(0x210)]||_0x430919['yiSeM']));}static[a46_0x290cff(0x1e8)](){const _0x123888=a46_0x290cff,_0x2cdc1d={};_0x2cdc1d['YWnSc']='traceZipPaths';const _0x35b793=_0x2cdc1d;return path[_0x123888(0x1e7)](this[_0x123888(0x1f1)](),_0x35b793[_0x123888(0x221)]);}static[a46_0x290cff(0x1df)](){const _0x36b9ad=a46_0x290cff;return TestDetails[_0x36b9ad(0x1f4)]();}static[a46_0x290cff(0x20e)](_0x12d803){const _0x250b18=a46_0x290cff,_0x9314af={};_0x9314af['kGmXH']=function(_0x28f337,_0x144c7a){return _0x28f337+_0x144c7a;},_0x9314af[_0x250b18(0x21e)]='.json';const _0x1b0609=_0x9314af;return path['join'](this[_0x250b18(0x1df)](),_0x1b0609[_0x250b18(0x212)](_0x12d803,_0x1b0609['NqZdm']));}static[a46_0x290cff(0x225)](_0x108a21){const _0x47f373=a46_0x290cff,_0x3e7df4={};_0x3e7df4[_0x47f373(0x1e3)]=function(_0x14152f,_0x5723f7){return _0x14152f+_0x5723f7;},_0x3e7df4[_0x47f373(0x21d)]=function(_0x34905b,_0x96951d){return _0x34905b+_0x96951d;},_0x3e7df4[_0x47f373(0x1f6)]=function(_0x2f0d70,_0x59eae8){return _0x2f0d70+_0x59eae8;};const _0x5d8cac=_0x3e7df4;return _0x5d8cac[_0x47f373(0x1e3)](_0x5d8cac[_0x47f373(0x1e3)](_0x5d8cac[_0x47f373(0x21d)](_0x5d8cac[_0x47f373(0x1f6)](this[_0x47f373(0x1f2)](_0x108a21),'-'),this[_0x47f373(0x233)](_0x108a21)),'-'),_0x108a21[_0x47f373(0x1ec)]);}static['getProjectIdFromTestInfo'](_0x76da98){const _0x1f7173=a46_0x290cff,_0x4b58fb={'TqanN':function(_0x58b8d4,_0x30ec37,_0x507eb8){return _0x58b8d4(_0x30ec37,_0x507eb8);},'OUMVL':_0x1f7173(0x208),'PSdcF':_0x1f7173(0x222),'etTXW':function(_0x4e3185,_0x4f09e2,_0xd806d5){return _0x4e3185(_0x4f09e2,_0xd806d5);},'hUxDS':_0x1f7173(0x20b),'uQVqf':'__projectId'};return _0x4b58fb[_0x1f7173(0x22a)](nestedKeyValue,_0x76da98,[_0x4b58fb[_0x1f7173(0x211)],_0x4b58fb[_0x1f7173(0x219)]])||_0x4b58fb[_0x1f7173(0x22c)](nestedKeyValue,_0x76da98,[_0x4b58fb[_0x1f7173(0x1fc)],_0x4b58fb[_0x1f7173(0x215)]]);}static['getTestIdFromTestInfo'](_0x11222f){const _0x37e5cc=a46_0x290cff,_0x1f01a5={'iBdXf':function(_0x2f94f3,_0x4c3769,_0x56b2a1){return _0x2f94f3(_0x4c3769,_0x56b2a1);},'HiRUj':_0x37e5cc(0x208)};return _0x1f01a5[_0x37e5cc(0x20c)](nestedKeyValue,_0x11222f,[_0x1f01a5['HiRUj'],'id'])||_0x11222f[_0x37e5cc(0x226)];}static[a46_0x290cff(0x1e6)](_0x553d69){const _0x31c58c=a46_0x290cff,_0x552b60={'fwBkZ':function(_0x314e7c,_0x59fbed){return _0x314e7c===_0x59fbed;},'SpGhh':'string','ULyRo':function(_0x1ffb5e){return _0x1ffb5e();}};if(this['tests'][_0x553d69]&&_0x552b60[_0x31c58c(0x231)](typeof this[_0x31c58c(0x200)][_0x553d69][_0x31c58c(0x20a)],_0x552b60['SpGhh']))return this[_0x31c58c(0x200)][_0x553d69][_0x31c58c(0x20a)];const _0x47b664=this[_0x31c58c(0x20e)](_0x553d69);if(_0x47b664&&fs[_0x31c58c(0x1eb)](_0x47b664)){const _0x3d530a=JSON[_0x31c58c(0x209)](fs[_0x31c58c(0x235)](_0x47b664)['toString']());return this['tests'][_0x553d69]=_0x3d530a,this[_0x31c58c(0x200)][_0x553d69]['uuid'];}return this['tests'][_0x553d69]={'uuid':_0x552b60[_0x31c58c(0x220)](uuidv4)},fs['writeFileSync'](_0x47b664,JSON['stringify'](this[_0x31c58c(0x200)][_0x553d69])),this[_0x31c58c(0x200)][_0x553d69]['uuid'];}static[a46_0x290cff(0x20d)](_0x1e840f){const _0xe7e29d=a46_0x290cff,_0x23159b=path['join'](this['getDirPath'](),_0x1e840f+'_platformDetails.json');if(_0x23159b&&fs[_0xe7e29d(0x1eb)](_0x23159b))return fs['readFileSync'](_0x23159b)[_0xe7e29d(0x218)]();}static[a46_0x290cff(0x214)](_0x2f07f3,_0x3ef6fb){const _0x110c17=a46_0x290cff,_0x4c41e1=path[_0x110c17(0x1e7)](this[_0x110c17(0x1df)](),_0x3ef6fb+_0x110c17(0x1e9));fs['writeFileSync'](_0x4c41e1,_0x2f07f3[_0x110c17(0x218)]());}static[a46_0x290cff(0x1d8)](){const _0x59a8f9=a46_0x290cff,_0x14484b={};_0x14484b[_0x59a8f9(0x230)]=!![],_0x14484b[_0x59a8f9(0x204)]=!![],fs[_0x59a8f9(0x227)](this[_0x59a8f9(0x1df)](),_0x14484b);}static[a46_0x290cff(0x1e5)](_0x1772f5){const _0x148e11=a46_0x290cff;if(this[_0x148e11(0x200)][_0x1772f5])return this[_0x148e11(0x200)][_0x1772f5];const _0x228425=this[_0x148e11(0x20e)](_0x1772f5);if(_0x228425&&fs[_0x148e11(0x1eb)](_0x228425)){const _0x2408c8=JSON[_0x148e11(0x209)](fs['readFileSync'](_0x228425)[_0x148e11(0x218)]());return this['tests'][_0x1772f5]=_0x2408c8,_0x2408c8;}return{};}static[a46_0x290cff(0x236)](_0xd9cd2f,_0x57dde0){const _0x45845c=a46_0x290cff,_0x64897d=this[_0x45845c(0x20e)](_0xd9cd2f);if(_0x64897d&&fs[_0x45845c(0x1eb)](_0x64897d)){const _0x4d3f55=JSON[_0x45845c(0x209)](fs[_0x45845c(0x235)](_0x64897d)[_0x45845c(0x218)]()),_0xe0433b={..._0x4d3f55,..._0x57dde0};this[_0x45845c(0x200)][_0xd9cd2f]=_0xe0433b;}else this[_0x45845c(0x200)][_0xd9cd2f]=_0x57dde0;fs['writeFileSync'](_0x64897d,this[_0x45845c(0x200)][_0xd9cd2f]);}static[a46_0x290cff(0x1ee)](_0x4d5d59){const _0x38e180=a46_0x290cff,_0x491fa1={};_0x491fa1['mCwvc']=_0x38e180(0x216);const _0xffe5ce=_0x491fa1;try{const _0x276e6a=process[_0x38e180(0x203)],_0x3b119c=path[_0x38e180(0x1e7)](TestDetails[_0x38e180(0x1e8)](),_0x276e6a+_0x38e180(0x223));let _0x4b6df1=[];_0x3b119c&&fs[_0x38e180(0x1eb)](_0x3b119c)&&(_0x4b6df1=JSON['parse'](fs[_0x38e180(0x235)](_0x3b119c)[_0x38e180(0x218)]())),!_0x4b6df1[_0x38e180(0x21c)](_0x2d256d=>_0x2d256d[_0x38e180(0x1dd)]===_0x4d5d59[_0x38e180(0x1dd)])&&(_0x4b6df1[_0x38e180(0x1db)](_0x4d5d59),fs[_0x38e180(0x201)](_0x3b119c,JSON['stringify'](_0x4b6df1)));}catch(_0x2deae4){logger[_0x38e180(0x234)](_0xffe5ce[_0x38e180(0x21f)],_0x2deae4);}}static[a46_0x290cff(0x1ed)](){const _0x3ac42d=a46_0x290cff,_0xa8946a={};_0xa8946a['wCXgL']='_traceZipPaths.json',_0xa8946a[_0x3ac42d(0x1d7)]=_0x3ac42d(0x1ea);const _0x1568de=_0xa8946a,_0x22ef2b=[];try{const _0x4d3b07=TestDetails[_0x3ac42d(0x1e8)]();if(_0x4d3b07&&!fs[_0x3ac42d(0x1eb)](_0x4d3b07))return _0x22ef2b;const _0x38e873=fs[_0x3ac42d(0x237)](_0x4d3b07);_0x38e873[_0x3ac42d(0x1da)](_0x10b3c1=>{const _0x5ef246=_0x3ac42d;if(_0x10b3c1&&_0x10b3c1[_0x5ef246(0x21b)](_0x1568de[_0x5ef246(0x213)])){const _0x2dc2ec=JSON[_0x5ef246(0x209)](fs[_0x5ef246(0x235)](path[_0x5ef246(0x1e7)](_0x4d3b07,_0x10b3c1))[_0x5ef246(0x218)]());_0x22ef2b[_0x5ef246(0x1db)](..._0x2dc2ec);}});}catch(_0x1a6cf1){logger[_0x3ac42d(0x234)](util[_0x3ac42d(0x1ff)](_0x1568de['qAtVG'],_0x1a6cf1));}const _0x59cf76={};return _0x22ef2b['forEach'](_0x3ac44d=>{_0x59cf76[_0x3ac44d['filePath']]=_0x3ac44d;}),Object['values'](_0x59cf76);}static[a46_0x290cff(0x229)](_0x43a739,_0x1d8006){const _0x116385=a46_0x290cff,_0x5de015={};_0x5de015['cTqeg']=_0x116385(0x202),_0x5de015['rPDsb']=_0x116385(0x1e4);const _0x4db17b=_0x5de015;try{const _0xdf3f29=path[_0x116385(0x1e7)](helper[_0x116385(0x1e2)](),_0x4db17b[_0x116385(0x217)]);if(!fs[_0x116385(0x1eb)](_0xdf3f29)){const _0x588ef3={};_0x588ef3[_0x116385(0x230)]=!![],fs[_0x116385(0x228)](_0xdf3f29,_0x588ef3);}fs[_0x116385(0x20f)](path[_0x116385(0x1e7)](_0xdf3f29,_0x116385(0x232)+_0x1d8006+_0x116385(0x1f7)),_0x43a739+'\x0a',_0x4db17b[_0x116385(0x22f)]);}catch(_0x5dcff3){console['error'](_0x116385(0x22b)+_0x5dcff3[_0x116385(0x1fb)]);}}}module[a46_0x290cff(0x1f9)]=TestDetails;function a46_0x2d82(){const _0x4145cf=['env','homedir','KyiTQ','utf8','getTestDetails','getTestUUID','join','getTraceZipDir','_platformDetails.json','Error\x20reading\x20trace\x20file\x20paths:\x20%s','existsSync','retry','getTraceFilePaths','addTraceFilePath','3618215KntHRf','12EFnytI','getStoreDirPath','getProjectIdFromTestInfo','1032752LDFVag','getStoreDirName','22664210KTGlzt','BoHtO','.txt','1869686HzwMgU','exports','yiSeM','message','hUxDS','winstonLogger','yWfUs','format','tests','writeFileSync','.browserstack','pid','force','6325360oQemxu','9ucieZD','18jgypeG','_test','parse','uuid','project','iBdXf','getAccessibilityPlatformValidation','getFilePath','appendFileSync','BS_TESTOPS_BUILD_HASHED_ID','OUMVL','kGmXH','wCXgL','setAccessibilityPlatformValidation','uQVqf','Error\x20handling\x20trace\x20file\x20paths:\x20','cTqeg','toString','PSdcF','BxjiN','endsWith','some','FkNGI','NqZdm','mCwvc','ULyRo','YWnSc','_projectId','_traceZipPaths.json','default','getTestRunIdFromTestInfo','testId','rmSync','mkdirSync','appendToTracePaths','TqanN','Error\x20writing\x20trace\x20file:\x20','etTXW','../../../helpers/test-observability/constants','lqbOf','rPDsb','recursive','fwBkZ','trace_','getTestIdFromTestInfo','error','readFileSync','setTestDetails','readdirSync','qAtVG','shutdown','rNsaj','forEach','push','../../../helpers/logger','filePath','540297dIKZFl','getDirPath','507609zIDiwT'];a46_0x2d82=function(){return _0x4145cf;};return a46_0x2d82();}
1
+ const a46_0x46a812=a46_0x3548;(function(_0x3776d5,_0x32bc76){const _0x4b1dbf=a46_0x3548,_0x489863=_0x3776d5();while(!![]){try{const _0x333768=parseInt(_0x4b1dbf(0x1d1))/0x1+parseInt(_0x4b1dbf(0x1e3))/0x2+-parseInt(_0x4b1dbf(0x19e))/0x3*(parseInt(_0x4b1dbf(0x1f4))/0x4)+-parseInt(_0x4b1dbf(0x197))/0x5*(parseInt(_0x4b1dbf(0x1ce))/0x6)+-parseInt(_0x4b1dbf(0x1e0))/0x7+-parseInt(_0x4b1dbf(0x1c2))/0x8+parseInt(_0x4b1dbf(0x1b0))/0x9;if(_0x333768===_0x32bc76)break;else _0x489863['push'](_0x489863['shift']());}catch(_0x25120d){_0x489863['push'](_0x489863['shift']());}}}(a46_0x2818,0x45c22));const fs=require('fs'),path=require(a46_0x46a812(0x1f0)),{v4:uuidv4}=require(a46_0x46a812(0x1de)),{TEMP_STORE_DIR_NAME}=require(a46_0x46a812(0x1b2)),{nestedKeyValue}=require(a46_0x46a812(0x1e2)),logger=require(a46_0x46a812(0x1a0))[a46_0x46a812(0x1d8)],{getLogDir}=require(a46_0x46a812(0x1a0)),util=require(a46_0x46a812(0x1be)),helper=require(a46_0x46a812(0x1e2));function a46_0x3548(_0x4d85bc,_0x446558){const _0x2818da=a46_0x2818();return a46_0x3548=function(_0x3548d1,_0x1554f9){_0x3548d1=_0x3548d1-0x197;let _0x3fec7a=_0x2818da[_0x3548d1];return _0x3fec7a;},a46_0x3548(_0x4d85bc,_0x446558);}function a46_0x2818(){const _0x31806d=['getTestUUID','Jaukg','.json','project','getProjectIdFromTestInfo','util','traceZipPaths','.browserstack','readFileSync','3730488ifoLbm','values','existsSync','toString','getTraceFilePaths','moQUc','SAbGZ','mkdirSync','readdirSync','Error\x20reading\x20trace\x20file\x20paths:\x20%s','tests','lkQcc','12GbOOuH','env','UdDCx','156550HJqvJK','mjGCu','getTestDetails','homedir','noKyv','getStoreDirPath','getTraceZipDir','winstonLogger','Error\x20writing\x20trace\x20file:\x20','__projectId','error','jvbJS','endsWith','uuid','FWMzs','3248371xeHPzU','OIypk','../../../helpers/helper','715894feVLrC','trace_','geBVu','XtKSt','.txt','format','_platformDetails.json','thMqx','parse','vMUYn','setTestDetails','retry','oQiUf','path','recursive','_traceZipPaths.json','_test','12884oNHbhJ','addTraceFilePath','KBgio','force','359295mHiiFV','FAaFy','getDirPath','getTestIdFromTestInfo','UsasV','jYiMT','Error\x20handling\x20trace\x20file\x20paths:\x20','501QuLIkk','testId','../../../helpers/logger','PpZlH','setAccessibilityPlatformValidation','getAccessibilityPlatformValidation','stringify','push','Vgbqu','GAHpD','rmSync','setup','appendToTracePaths','some','EykME','BS_TESTOPS_BUILD_HASHED_ID','writeFileSync','dAGwI','12448998lLbSIU','filePath','../../../helpers/test-observability/constants','pjOuC','getFilePath','RMCQG','forEach','shutdown','join'];a46_0x2818=function(){return _0x31806d;};return a46_0x2818();}class TestDetails{static [a46_0x46a812(0x1cc)]={};static[a46_0x46a812(0x1a9)](){const _0x5cd122=a46_0x46a812;this[_0x5cd122(0x1b7)]();const _0x29bde1={};_0x29bde1[_0x5cd122(0x1f1)]=!![],fs['mkdirSync'](this[_0x5cd122(0x199)](),_0x29bde1);const _0x3c69aa={};_0x3c69aa[_0x5cd122(0x1f1)]=!![],fs['mkdirSync'](this['getTraceZipDir'](),_0x3c69aa);}static['getStoreDirName'](){const _0x355c70=a46_0x46a812,_0x2c82d3={};_0x2c82d3[_0x355c70(0x1dc)]=function(_0x3b09df,_0x3561cf){return _0x3b09df+_0x3561cf;},_0x2c82d3[_0x355c70(0x1e6)]=function(_0x2d5001,_0x478eb9){return _0x2d5001+_0x478eb9;};const _0x1e7349=_0x2c82d3;return _0x1e7349[_0x355c70(0x1dc)](_0x1e7349[_0x355c70(0x1e6)](TEMP_STORE_DIR_NAME,'-'),process[_0x355c70(0x1cf)][_0x355c70(0x1ad)]);}static[a46_0x46a812(0x1d6)](){const _0x3b8cc5=a46_0x46a812,_0x5480cd={};_0x5480cd[_0x3b8cc5(0x1a6)]=function(_0x3d1c2d,_0xb685c2){return _0x3d1c2d+_0xb685c2;},_0x5480cd[_0x3b8cc5(0x1c8)]='default';const _0x59fae6=_0x5480cd;return path['join'](_0x59fae6['Vgbqu'](_0x59fae6[_0x3b8cc5(0x1a6)](TEMP_STORE_DIR_NAME,'-'),process[_0x3b8cc5(0x1cf)][_0x3b8cc5(0x1ad)]||_0x59fae6[_0x3b8cc5(0x1c8)]));}static[a46_0x46a812(0x1d7)](){const _0x544f85=a46_0x46a812,_0x5d5009={};_0x5d5009[_0x544f85(0x1ef)]=_0x544f85(0x1bf);const _0x29a091=_0x5d5009;return path[_0x544f85(0x1b8)](this['getStoreDirPath'](),_0x29a091[_0x544f85(0x1ef)]);}static['getDirPath'](){return TestDetails['getStoreDirName']();}static[a46_0x46a812(0x1b4)](_0x264746){const _0x403ea1=a46_0x46a812,_0x560709={};_0x560709[_0x403ea1(0x1ec)]=function(_0x3a2851,_0x2fe7e7){return _0x3a2851+_0x2fe7e7;},_0x560709['lkQcc']=_0x403ea1(0x1bb);const _0x21ae91=_0x560709;return path[_0x403ea1(0x1b8)](this['getDirPath'](),_0x21ae91[_0x403ea1(0x1ec)](_0x264746,_0x21ae91[_0x403ea1(0x1cd)]));}static['getTestRunIdFromTestInfo'](_0x1b5c6f){const _0x44f3d1=a46_0x46a812,_0x4059db={};_0x4059db[_0x44f3d1(0x1d0)]=function(_0x2a135c,_0x9663c2){return _0x2a135c+_0x9663c2;},_0x4059db[_0x44f3d1(0x1a7)]=function(_0x544da1,_0x446a16){return _0x544da1+_0x446a16;},_0x4059db['pjOuC']=function(_0x1c67f7,_0x2dcc83){return _0x1c67f7+_0x2dcc83;},_0x4059db[_0x44f3d1(0x19c)]=function(_0x1de1bb,_0x1e1950){return _0x1de1bb+_0x1e1950;};const _0xdba7cb=_0x4059db;return _0xdba7cb[_0x44f3d1(0x1d0)](_0xdba7cb[_0x44f3d1(0x1a7)](_0xdba7cb[_0x44f3d1(0x1b3)](_0xdba7cb['jYiMT'](this[_0x44f3d1(0x1bd)](_0x1b5c6f),'-'),this[_0x44f3d1(0x19a)](_0x1b5c6f)),'-'),_0x1b5c6f[_0x44f3d1(0x1ee)]);}static[a46_0x46a812(0x1bd)](_0x5c174a){const _0x480975=a46_0x46a812,_0x38285e={'bbSRS':function(_0x27b56e,_0xf41841,_0x36ff7c){return _0x27b56e(_0xf41841,_0x36ff7c);},'FWMzs':_0x480975(0x1f3),'PpZlH':'_projectId','geBVu':function(_0x253e64,_0x592451,_0x21138b){return _0x253e64(_0x592451,_0x21138b);},'UsasV':_0x480975(0x1bc),'thMqx':_0x480975(0x1da)};return _0x38285e['bbSRS'](nestedKeyValue,_0x5c174a,[_0x38285e[_0x480975(0x1df)],_0x38285e[_0x480975(0x1a1)]])||_0x38285e[_0x480975(0x1e5)](nestedKeyValue,_0x5c174a,[_0x38285e[_0x480975(0x19b)],_0x38285e[_0x480975(0x1ea)]]);}static[a46_0x46a812(0x19a)](_0x3cad9b){const _0x2edfd8=a46_0x46a812,_0x1c03af={'Jaukg':function(_0x24fe47,_0x25f427,_0x5146cb){return _0x24fe47(_0x25f427,_0x5146cb);},'noKyv':'_test'};return _0x1c03af[_0x2edfd8(0x1ba)](nestedKeyValue,_0x3cad9b,[_0x1c03af[_0x2edfd8(0x1d5)],'id'])||_0x3cad9b[_0x2edfd8(0x19f)];}static[a46_0x46a812(0x1b9)](_0x33e97c){const _0x3ad33f=a46_0x46a812,_0x318c7f={'RMCQG':function(_0x44de33,_0x2817ce){return _0x44de33===_0x2817ce;},'FAaFy':'string','moQUc':function(_0x34afe1){return _0x34afe1();}};if(this[_0x3ad33f(0x1cc)][_0x33e97c]&&_0x318c7f[_0x3ad33f(0x1b5)](typeof this[_0x3ad33f(0x1cc)][_0x33e97c][_0x3ad33f(0x1de)],_0x318c7f[_0x3ad33f(0x198)]))return this[_0x3ad33f(0x1cc)][_0x33e97c]['uuid'];const _0x3aff6c=this['getFilePath'](_0x33e97c);if(_0x3aff6c&&fs[_0x3ad33f(0x1c4)](_0x3aff6c)){const _0x25fee9=JSON[_0x3ad33f(0x1eb)](fs[_0x3ad33f(0x1c1)](_0x3aff6c)[_0x3ad33f(0x1c5)]());return this['tests'][_0x33e97c]=_0x25fee9,this[_0x3ad33f(0x1cc)][_0x33e97c][_0x3ad33f(0x1de)];}return this[_0x3ad33f(0x1cc)][_0x33e97c]={'uuid':_0x318c7f[_0x3ad33f(0x1c7)](uuidv4)},fs[_0x3ad33f(0x1ae)](_0x3aff6c,JSON['stringify'](this[_0x3ad33f(0x1cc)][_0x33e97c])),this[_0x3ad33f(0x1cc)][_0x33e97c][_0x3ad33f(0x1de)];}static[a46_0x46a812(0x1a3)](_0xdc3a75){const _0x19bd75=a46_0x46a812,_0x965d84=path[_0x19bd75(0x1b8)](this['getDirPath'](),_0xdc3a75+_0x19bd75(0x1e9));if(_0x965d84&&fs[_0x19bd75(0x1c4)](_0x965d84))return fs[_0x19bd75(0x1c1)](_0x965d84)[_0x19bd75(0x1c5)]();}static[a46_0x46a812(0x1a2)](_0x26c4af,_0x41ca49){const _0xae6dd6=a46_0x46a812,_0x21cb5e=path[_0xae6dd6(0x1b8)](this[_0xae6dd6(0x199)](),_0x41ca49+_0xae6dd6(0x1e9));fs[_0xae6dd6(0x1ae)](_0x21cb5e,_0x26c4af[_0xae6dd6(0x1c5)]());}static[a46_0x46a812(0x1b7)](){const _0x473af0=a46_0x46a812,_0x1f3e7d={};_0x1f3e7d[_0x473af0(0x1f1)]=!![],_0x1f3e7d[_0x473af0(0x1f7)]=!![],fs[_0x473af0(0x1a8)](this[_0x473af0(0x199)](),_0x1f3e7d);}static[a46_0x46a812(0x1d3)](_0x376aa9){const _0xb4bc05=a46_0x46a812;if(this[_0xb4bc05(0x1cc)][_0x376aa9])return this['tests'][_0x376aa9];const _0x67cc1c=this[_0xb4bc05(0x1b4)](_0x376aa9);if(_0x67cc1c&&fs[_0xb4bc05(0x1c4)](_0x67cc1c)){const _0x283f18=JSON[_0xb4bc05(0x1eb)](fs[_0xb4bc05(0x1c1)](_0x67cc1c)[_0xb4bc05(0x1c5)]());return this['tests'][_0x376aa9]=_0x283f18,_0x283f18;}return{};}static[a46_0x46a812(0x1ed)](_0x597e78,_0x39da61){const _0xfd5474=a46_0x46a812,_0x4fcc5c=this[_0xfd5474(0x1b4)](_0x597e78);if(_0x4fcc5c&&fs['existsSync'](_0x4fcc5c)){const _0x3fdbcc=JSON[_0xfd5474(0x1eb)](fs['readFileSync'](_0x4fcc5c)[_0xfd5474(0x1c5)]()),_0x11dee0={..._0x3fdbcc,..._0x39da61};this[_0xfd5474(0x1cc)][_0x597e78]=_0x11dee0;}else this[_0xfd5474(0x1cc)][_0x597e78]=_0x39da61;fs['writeFileSync'](_0x4fcc5c,this[_0xfd5474(0x1cc)][_0x597e78]);}static[a46_0x46a812(0x1f5)](_0x43e903){const _0x570b51=a46_0x46a812,_0x1d4cb5={};_0x1d4cb5[_0x570b51(0x1d2)]=_0x570b51(0x19d);const _0x45fd77=_0x1d4cb5;try{const _0x1103c0=process['pid'],_0x2e0e07=path['join'](TestDetails[_0x570b51(0x1d7)](),_0x1103c0+_0x570b51(0x1f2));let _0x1a10d1=[];_0x2e0e07&&fs['existsSync'](_0x2e0e07)&&(_0x1a10d1=JSON['parse'](fs['readFileSync'](_0x2e0e07)[_0x570b51(0x1c5)]())),!_0x1a10d1[_0x570b51(0x1ab)](_0x5cf182=>_0x5cf182['filePath']===_0x43e903[_0x570b51(0x1b1)])&&(_0x1a10d1[_0x570b51(0x1a5)](_0x43e903),fs[_0x570b51(0x1ae)](_0x2e0e07,JSON[_0x570b51(0x1a4)](_0x1a10d1)));}catch(_0x1fbd87){logger[_0x570b51(0x1db)](_0x45fd77[_0x570b51(0x1d2)],_0x1fbd87);}}static[a46_0x46a812(0x1c6)](){const _0x2c7cc7=a46_0x46a812,_0x7f1818={};_0x7f1818[_0x2c7cc7(0x1ac)]=_0x2c7cc7(0x1f2),_0x7f1818[_0x2c7cc7(0x1f6)]=_0x2c7cc7(0x1cb);const _0x110517=_0x7f1818,_0x41429f=[];try{const _0x523b93=TestDetails[_0x2c7cc7(0x1d7)]();if(_0x523b93&&!fs['existsSync'](_0x523b93))return _0x41429f;const _0x3e3712=fs[_0x2c7cc7(0x1ca)](_0x523b93);_0x3e3712[_0x2c7cc7(0x1b6)](_0x4adc3b=>{const _0xe1bd3f=_0x2c7cc7;if(_0x4adc3b&&_0x4adc3b[_0xe1bd3f(0x1dd)](_0x110517[_0xe1bd3f(0x1ac)])){const _0x172519=JSON[_0xe1bd3f(0x1eb)](fs[_0xe1bd3f(0x1c1)](path[_0xe1bd3f(0x1b8)](_0x523b93,_0x4adc3b))[_0xe1bd3f(0x1c5)]());_0x41429f['push'](..._0x172519);}});}catch(_0x1d3ad9){logger[_0x2c7cc7(0x1db)](util[_0x2c7cc7(0x1e8)](_0x110517[_0x2c7cc7(0x1f6)],_0x1d3ad9));}const _0x1c566e={};return _0x41429f[_0x2c7cc7(0x1b6)](_0x24aaff=>{const _0x437a1f=_0x2c7cc7;_0x1c566e[_0x24aaff[_0x437a1f(0x1b1)]]=_0x24aaff;}),Object[_0x2c7cc7(0x1c3)](_0x1c566e);}static[a46_0x46a812(0x1aa)](_0x373d4d,_0x129465){const _0x300a3b=a46_0x46a812,_0xf4265b={};_0xf4265b[_0x300a3b(0x1e1)]=_0x300a3b(0x1c0),_0xf4265b[_0x300a3b(0x1af)]='utf8';const _0x451cac=_0xf4265b;try{const _0x46a253=path[_0x300a3b(0x1b8)](helper[_0x300a3b(0x1d4)](),_0x451cac[_0x300a3b(0x1e1)]);if(!fs[_0x300a3b(0x1c4)](_0x46a253)){const _0x29d1c7={};_0x29d1c7[_0x300a3b(0x1f1)]=!![],fs[_0x300a3b(0x1c9)](_0x46a253,_0x29d1c7);}fs['appendFileSync'](path[_0x300a3b(0x1b8)](_0x46a253,_0x300a3b(0x1e4)+_0x129465+_0x300a3b(0x1e7)),_0x373d4d+'\x0a',_0x451cac[_0x300a3b(0x1af)]);}catch(_0x2baa5b){console[_0x300a3b(0x1db)](_0x300a3b(0x1d9)+_0x2baa5b['message']);}}}module['exports']=TestDetails;
@@ -1 +1 @@
1
- const a47_0x25f885=a47_0x275e;function a47_0x5707(){const _0x4ad9f2=['LLDZE','Page\x20Scan\x20result=','debug','patchCRConnection','automate','NOXqt','uzPfr','VyPnu','zWngd','currentSessionDetails','vhDmK','__driver','MGfEA','zWWqa','esKsp','performScan','bIjhE','model','POST','pzekW','platformVersion','toLowerCase','sjmdD','FuiaH','browserName','../../helpers/accessibility-automation/scripts','uQZOm','ZtChh','exports','../v2/browserstackCLI','../../helpers/accessibility-automation/helper','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','version','xXURM','_connection','EcZSS','../../helpers/helper','gbzmb','ATS_WSS_URL_REGEX','browser_version','BSTACK_URL','CRConnection','project','VFJIl','isRemote','ijbom','haRaX','titlePath','bStackParams','cPDTT','iWzFp','240282CJvsKw','sessionError','testInfo','gVDxF','caps','params','unknown_grid','apply','DUMov','sendMessageToServer','prototype','RVHZv','EaKyz','Not\x20able\x20to\x20import\x20Connection','ZoTDF','../v2/state/hookState.js','ikTZa','message','Error\x20in\x20finding\x20platform\x20details\x20','DAZLp','edge','Connection','info','kKeKj','../v2/state/automationFrameworkState.js','SOTgq','PSZZC','../utils/constants','ebxcA','gnTLG','dkpXv','wsEndpoint','dispatch','getInstance','ltTlH','product','sessionId','269968UokkKc','PLAYWRIGHT_DISPATCH','util','toString','_onMessage','yyRzN','patch','570312oqDSXa','format','bstackPerformA11yScan','oHGMU','EKnnG','platformName','chrome','YrWIA','entries','getDetails','path','fqpjh','accessibilityPlatform','env','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','browser','cKlUC','knUEq','currentTest','Setting\x20session\x20id\x20received\x20from\x20BS\x20','3658216GeYNFz','../../helpers/test-observability/utils','tOMgV','rsvky','YlRhP','platform','defineProperty','deviceModel','Page','Xbdze','Error\x20in\x20importing\x20crConnection','Failed\x20to\x20perform\x20scan\x20','local_grid','platform_version','pRgRb','Error\x20in\x20importing\x20connection\x20','_browserType','EaosU','MGzlS','GUCYW','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','reportSessionLinkingIssue','EMVii','rutDW','1255520luFyRA','MsaAS','672912JPUXNm','parse','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','channel','../../bin/playwright/accessibility-helper','Qkpdi','platformDetails','POezU','isRunning','includes','join','DpVMM','iPsiG','pwPage','ftlxA','crNhC','setupBrowserDetails','fsVGg','heaDq','7CDVnzB','KLNID','952392Pshqbn','_defaultConnectOptions','bsSessionId','firefox','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','shouldWrapCommand','oEsuH','lib','capabilities','trackEvent','__workerDetails','server','XtzmD','_type','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','query','getAutomationFramework','Device\x20Model\x20is\x20not\x20available','dXCTC','GSOaS','cloudProvider','./accessibility-helper'];a47_0x5707=function(){return _0x4ad9f2;};return a47_0x5707();}(function(_0x219fe7,_0x330d18){const _0x4b9076=a47_0x275e,_0x59e35a=_0x219fe7();while(!![]){try{const _0x31a6a8=parseInt(_0x4b9076(0x1ba))/0x1+-parseInt(_0x4b9076(0x1df))/0x2+parseInt(_0x4b9076(0x214))/0x3+-parseInt(_0x4b9076(0x1e6))/0x4+parseInt(_0x4b9076(0x212))/0x5+parseInt(_0x4b9076(0x229))/0x6*(parseInt(_0x4b9076(0x227))/0x7)+-parseInt(_0x4b9076(0x1fa))/0x8;if(_0x31a6a8===_0x330d18)break;else _0x59e35a['push'](_0x59e35a['shift']());}catch(_0x3ed75e){_0x59e35a['push'](_0x59e35a['shift']());}}}(a47_0x5707,0x2213f));const path=require(a47_0x25f885(0x1f0)),url=require('url'),util=require(a47_0x25f885(0x1e1)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x25f885(0x1ab)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a47_0x25f885(0x1fb)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x25f885(0x1a5)),logger=require('../../helpers/logger')['winstonLogger'],scripts=require(a47_0x25f885(0x1a0)),{browserStackExecuteDriver}=require(a47_0x25f885(0x218)),AccessibilityHelper=require(a47_0x25f885(0x186)),constants=require(a47_0x25f885(0x1d5)),BrowserstackCLI=require(a47_0x25f885(0x1a4)),AutomationFrameworkState=require(a47_0x25f885(0x1d2)),HookState=require(a47_0x25f885(0x1c9)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0xe3b0d9=>{const _0x361e03=a47_0x25f885,_0x336171={};_0x336171['zWWqa']='chrome',_0x336171[_0x361e03(0x1fc)]=_0x361e03(0x1ce),_0x336171[_0x361e03(0x203)]=_0x361e03(0x22c),_0x336171[_0x361e03(0x1d6)]='safari';const _0xde326a=_0x336171;if(_0xe3b0d9['includes'](_0xde326a[_0x361e03(0x194)]))return _0xde326a[_0x361e03(0x194)];if(_0xe3b0d9[_0x361e03(0x21d)](_0xde326a[_0x361e03(0x1fc)]))return _0xde326a[_0x361e03(0x1fc)];if(_0xe3b0d9[_0x361e03(0x21d)](_0xde326a[_0x361e03(0x203)]))return _0xde326a[_0x361e03(0x203)];if(_0xe3b0d9[_0x361e03(0x21d)](_0xde326a[_0x361e03(0x1d6)]))return _0xde326a[_0x361e03(0x1d6)];},getBrowserFromWSEndpoint=_0x4f0998=>{const _0x8a7efb=a47_0x25f885,_0x594bfc={'dXCTC':_0x8a7efb(0x1ec),'gbzmb':function(_0x35f8c7,_0x544711){return _0x35f8c7(_0x544711);}};try{const _0x18dad0=url[_0x8a7efb(0x215)](_0x4f0998),_0x5aff98=new URLSearchParams(_0x18dad0[_0x8a7efb(0x180)]),_0x529f67=Object['fromEntries'](_0x5aff98[_0x8a7efb(0x1ee)]()),_0x3fcc69=JSON[_0x8a7efb(0x215)](_0x529f67[_0x8a7efb(0x1be)]);if(_0x3fcc69&&(_0x3fcc69[_0x8a7efb(0x1f5)]||_0x3fcc69['browserName']))return _0x3fcc69[_0x8a7efb(0x1f5)]||_0x3fcc69[_0x8a7efb(0x19f)];return _0x594bfc[_0x8a7efb(0x183)];}catch(_0x40c2f7){_0x594bfc[_0x8a7efb(0x1ac)](debug,_0x8a7efb(0x1f4)+_0x40c2f7['toString']());}},getCloudProviderFromWsEndpoint=_0x5dc28e=>{const _0xe4b707=a47_0x25f885,_0x49fe91={};_0x49fe91[_0xe4b707(0x223)]='browserstack',_0x49fe91[_0xe4b707(0x220)]=_0xe4b707(0x1c0);const _0x2d0ef0=_0x49fe91;if(_0x5dc28e['includes'](constants[_0xe4b707(0x1af)])||_0x5dc28e[_0xe4b707(0x21d)](constants['BSTACK_ATS_URL']))return _0x2d0ef0[_0xe4b707(0x223)];return _0x2d0ef0['iPsiG'];},a47_0x58627c={};a47_0x58627c[a47_0x25f885(0x185)]=undefined,a47_0x58627c[a47_0x25f885(0x22b)]=undefined,a47_0x58627c[a47_0x25f885(0x1f5)]=undefined,a47_0x58627c[a47_0x25f885(0x1ae)]=undefined,a47_0x58627c['platform']=undefined,a47_0x58627c[a47_0x25f885(0x207)]=undefined,a47_0x58627c[a47_0x25f885(0x1dd)]=undefined,a47_0x58627c['capabilities']={};function a47_0x275e(_0x329e6b,_0x462e7e){const _0x5707d0=a47_0x5707();return a47_0x275e=function(_0x275e1d,_0xd1363e){_0x275e1d=_0x275e1d-0x180;let _0x18ad37=_0x5707d0[_0x275e1d];return _0x18ad37;},a47_0x275e(_0x329e6b,_0x462e7e);}class PlaywrightSessionDetails{static ['currentSessionDetails']=a47_0x58627c;constructor(){const _0x3fc3ba=a47_0x25f885,_0x3c330c={};_0x3c330c[_0x3fc3ba(0x226)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0xce5944=_0x3c330c;throw new Error(_0xce5944[_0x3fc3ba(0x226)]);}static ['sessionError']=null;static[a47_0x25f885(0x224)](_0x164ee7,_0x7d3735,_0x21bfaa=null){const _0x329325=a47_0x25f885,_0x150eb3={'pzekW':function(_0x59e9ad,_0x4b912a){return _0x59e9ad===_0x4b912a;},'esKsp':'function','ZtChh':_0x329325(0x216),'ikTZa':function(_0x7a571,_0x513c79){return _0x7a571===_0x513c79;},'GSOaS':_0x329325(0x182),'DAZLp':_0x329325(0x206),'EaosU':function(_0x175cbc,_0x2a6e3f,_0x5d38b8){return _0x175cbc(_0x2a6e3f,_0x5d38b8);},'LLDZE':_0x329325(0x20a),'rsvky':_0x329325(0x22a),'XjocF':function(_0x26d7f5,_0x3ffb09,_0x5be9df){return _0x26d7f5(_0x3ffb09,_0x5be9df);},'GUCYW':_0x329325(0x1b1),'EaKyz':'use','cPDTT':'connectOptions','oEsuH':function(_0x797014,_0x2037aa){return _0x797014(_0x2037aa);},'PSZZC':'browserstack','EKnnG':'turboscale','oKnYL':_0x329325(0x18b),'XtzmD':function(_0x2a42ca,_0x3ac46f){return _0x2a42ca(_0x3ac46f);},'SOTgq':function(_0x409b82,_0x252c70){return _0x409b82+_0x252c70;},'EcZSS':'playwright-','sjmdD':function(_0x1cf997){return _0x1cf997();},'RTNmw':_0x329325(0x224)},_0x1df2c8=this;return _0x150eb3['XjocF'](o11yErrorHandler,async function _0x31727d(_0x10f19c,_0x42b563,_0x1408a8=null){const _0x431766=_0x329325;let _0x7a8082=_0x10f19c['_name'],_0x12fcd7=null;_0x10f19c&&_0x150eb3[_0x431766(0x19a)](typeof _0x10f19c['version'],_0x150eb3[_0x431766(0x195)])?_0x12fcd7=_0x10f19c[_0x431766(0x1a7)]():logger['debug'](_0x150eb3[_0x431766(0x1a2)]);let _0x19b589=null;_0x10f19c&&_0x150eb3[_0x431766(0x1ca)](typeof _0x10f19c[_0x431766(0x198)],_0x150eb3[_0x431766(0x195)])?_0x19b589=_0x10f19c['model']():logger['debug'](_0x150eb3[_0x431766(0x184)]);let _0x1f4c59=null,_0x4f0426=null,_0x5272be=null,_0x357735=_0x150eb3[_0x431766(0x1cd)];if(_0x10f19c[_0x431766(0x1a9)][_0x431766(0x1b3)]()||global[_0x431766(0x1f2)]){let _0xc8c738=null;_0x150eb3[_0x431766(0x20b)](nestedKeyValue,_0x10f19c,[_0x150eb3[_0x431766(0x187)],_0x150eb3[_0x431766(0x1fd)]])?_0xc8c738=_0x10f19c[_0x431766(0x20a)][_0x431766(0x22a)]:_0xc8c738=_0x150eb3['XjocF'](nestedKeyValue,_0x42b563,[_0x150eb3[_0x431766(0x20d)],_0x150eb3[_0x431766(0x1c6)],_0x150eb3[_0x431766(0x1b8)]]);const _0x5738e6=_0x1408a8||_0xc8c738&&_0xc8c738[_0x431766(0x1d9)];_0x5738e6&&(_0x357735=_0x150eb3[_0x431766(0x22f)](getCloudProviderFromWsEndpoint,_0x5738e6),_0x150eb3[_0x431766(0x19a)](_0x357735,_0x150eb3[_0x431766(0x1d4)])&&(_0x5272be=constants[_0x431766(0x1ad)]['test'](_0x5738e6)?_0x150eb3[_0x431766(0x1ea)]:_0x150eb3['oKnYL'],_0x7a8082=_0x150eb3[_0x431766(0x22f)](getBrowserFromWSEndpoint,_0x5738e6)||_0x7a8082,_0x1f4c59=_0x1df2c8[_0x431766(0x190)][_0x431766(0x1ff)],_0x4f0426=_0x1df2c8[_0x431766(0x190)][_0x431766(0x207)]));}else{_0x42b563&&_0x42b563['project']['use'][_0x431766(0x217)]?_0x7a8082=_0x150eb3[_0x431766(0x235)](getBrowserNameFromChannel,_0x42b563['project']['use'][_0x431766(0x217)]):_0x7a8082=_0x150eb3[_0x431766(0x1d3)](_0x150eb3[_0x431766(0x1aa)],_0x7a8082[_0x431766(0x19c)]());const _0x19627e=await _0x150eb3[_0x431766(0x19d)](getPlatformDetails);_0x1f4c59=_0x19627e[_0x431766(0x1eb)],_0x4f0426=_0x19627e[_0x431766(0x19b)];}const _0x17fcf1={};_0x17fcf1[_0x431766(0x1f5)]=_0x7a8082,_0x17fcf1[_0x431766(0x1ae)]=_0x12fcd7,_0x17fcf1[_0x431766(0x231)]={},_0x17fcf1[_0x431766(0x1ff)]=_0x1f4c59,_0x17fcf1[_0x431766(0x207)]=_0x4f0426,_0x17fcf1[_0x431766(0x1dd)]=_0x5272be;const _0x1f095b=_0x17fcf1;_0x19b589&&(_0x1f095b[_0x431766(0x231)][_0x431766(0x201)]=_0x19b589);const _0x3ad238={};_0x3ad238['cloudProvider']=_0x357735,_0x1df2c8['currentSessionDetails']=Object['assign']({},_0x1df2c8['currentSessionDetails'],_0x3ad238,_0x1f095b);},_0x150eb3['RTNmw'])(_0x164ee7,_0x7d3735,_0x21bfaa);}static[a47_0x25f885(0x1e5)](){const _0x2fe264=a47_0x25f885;this['patchConnection'](),this[_0x2fe264(0x18a)]();}static['patchConnection'](){const _0x447242=a47_0x25f885,_0x437b98={'xXURM':function(_0x4a5461,_0x174577,_0x311d12){return _0x4a5461(_0x174577,_0x311d12);},'xntkG':'currentTest','ijbom':'testInfo','Wbbwl':_0x447242(0x1b6),'KLNID':_0x447242(0x233),'gVDxF':_0x447242(0x221),'MGzlS':function(_0x541906,_0x2abd42,_0xe2baa8){return _0x541906(_0x2abd42,_0xe2baa8);},'fqpjh':function(_0x201dcf,_0x1c1211){return _0x201dcf===_0x1c1211;},'knUEq':_0x447242(0x202),'yyRzN':function(_0x5e03df,_0x54776b,_0x53e4c0,_0x1d5a6d){return _0x5e03df(_0x54776b,_0x53e4c0,_0x1d5a6d);},'VunLk':function(_0x833eb3,_0x37bf03){return _0x833eb3||_0x37bf03;},'YlRhP':function(_0x1d2658,_0x2577c2){return _0x1d2658(_0x2577c2);},'yRNHj':function(_0x5baba7,_0x22942e){return _0x5baba7(_0x22942e);},'rutDW':_0x447242(0x230),'uzPfr':'client','zWngd':'connection.js','gnTLG':function(_0x160a84,_0x2e62a0){return _0x160a84(_0x2e62a0);},'FuiaH':_0x447242(0x1c7),'DUMov':function(_0x52de8c,_0x311c0e){return _0x52de8c!=_0x311c0e;},'YrWIA':function(_0x23e939){return _0x23e939();},'POezU':_0x447242(0x1c3),'RVHZv':function(_0x1f380b,_0x5e0fb3){return _0x1f380b(_0x5e0fb3);},'uQZOm':_0x447242(0x1da),'kKeKj':function(_0x30ab60,_0x382f77){return _0x30ab60(_0x382f77);}},_0x3b12b9=this;if(!this['Connection'])try{const _0x261872=path[_0x447242(0x21e)](_0x437b98[_0x447242(0x211)],_0x437b98[_0x447242(0x18d)],_0x437b98[_0x447242(0x18f)]),_0x19a9b0=_0x437b98['gnTLG'](importFileFromPWCore,_0x261872);!_0x19a9b0?_0x437b98[_0x447242(0x1d7)](debug,_0x437b98[_0x447242(0x19e)]):this[_0x447242(0x1cf)]=_0x19a9b0[_0x447242(0x1cf)];}catch(_0x1f8c3f){_0x437b98['gnTLG'](debug,_0x447242(0x209)+_0x1f8c3f['toString']());}const _0x21e823=this[_0x447242(0x1cf)];try{if(_0x437b98[_0x447242(0x1c2)](_0x21e823,null)){const _0x48fe7e=_0x21e823[_0x447242(0x1c4)]['dispatch'],_0x10e951=_0x21e823[_0x447242(0x1c4)][_0x447242(0x1c3)];_0x437b98[_0x447242(0x1ed)](isAccessibilityAutomationSession)&&Object[_0x447242(0x200)](_0x21e823['prototype'],_0x437b98[_0x447242(0x21b)],{'get':function(){const _0x2008fe=_0x447242,_0x47a8bd={'vhDmK':function(_0x183d80,_0xb8d5c7,_0xbae56d){return _0x437b98['xXURM'](_0x183d80,_0xb8d5c7,_0xbae56d);},'iWzFp':_0x437b98['xntkG'],'MvdiQ':_0x437b98[_0x2008fe(0x1b4)],'FJBGp':_0x437b98['Wbbwl'],'VFJIl':function(_0x3ab3ad,_0x2892f7,_0x29d8a9){const _0x13d18c=_0x2008fe;return _0x437b98[_0x13d18c(0x1a8)](_0x3ab3ad,_0x2892f7,_0x29d8a9);},'VyPnu':_0x437b98[_0x2008fe(0x228)],'ftlxA':_0x437b98[_0x2008fe(0x1bd)],'NOXqt':function(_0x21a3f0,_0x88966f,_0x58213f){const _0x3e12dc=_0x2008fe;return _0x437b98[_0x3e12dc(0x20c)](_0x21a3f0,_0x88966f,_0x58213f);},'EMVii':function(_0xd47b84,_0x4531bc){const _0x4cac85=_0x2008fe;return _0x437b98[_0x4cac85(0x1f1)](_0xd47b84,_0x4531bc);},'haRaX':_0x437b98[_0x2008fe(0x1f7)],'ZoTDF':function(_0x41e368,_0x48ca82,_0x465a0a,_0x38826a){const _0x39ebf1=_0x2008fe;return _0x437b98[_0x39ebf1(0x1e4)](_0x41e368,_0x48ca82,_0x465a0a,_0x38826a);}};return async function(){const _0x50732f=_0x2008fe;try{if(!global[_0x50732f(0x1e8)]&&global[_0x50732f(0x1f2)]&&_0x47a8bd['vhDmK'](nestedKeyValue,global['__workerDetails'],[_0x47a8bd[_0x50732f(0x1b9)],_0x47a8bd['MvdiQ'],_0x47a8bd['FJBGp']])&&_0x47a8bd[_0x50732f(0x1b2)](shouldScanTestForAccessibility,global[_0x50732f(0x233)][_0x50732f(0x1f8)][_0x50732f(0x1bc)][_0x50732f(0x1b6)],!![])&&scripts[_0x50732f(0x22e)](arguments[0x1])){logger[_0x50732f(0x189)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x50732f(0x1e8)]=!![];const _0x22112b=_0x47a8bd[_0x50732f(0x191)](nestedKeyValue,global,[_0x47a8bd[_0x50732f(0x18e)],_0x47a8bd[_0x50732f(0x222)]]);_0x22112b&&logger[_0x50732f(0x1d0)](_0x50732f(0x188)+util[_0x50732f(0x1e7)](await _0x47a8bd[_0x50732f(0x18c)](performScanWithRetry,_0x22112b,arguments[0x1]))),_0x47a8bd[_0x50732f(0x210)](arguments[0x0][_0x50732f(0x236)],_0x47a8bd[_0x50732f(0x1b5)])&&global[_0x50732f(0x192)]&&logger[_0x50732f(0x1d0)]('Driver\x20Scan\x20result='+util[_0x50732f(0x1e7)](await _0x47a8bd[_0x50732f(0x1c8)](performScanWithRetry,global[_0x50732f(0x192)],arguments[0x1],scripts[_0x50732f(0x196)])));}}catch(_0x4888e5){logger[_0x50732f(0x189)](_0x50732f(0x205)+util[_0x50732f(0x1e7)](_0x4888e5));}return global[_0x50732f(0x1e8)]=![],_0x10e951[_0x50732f(0x1c1)](this,arguments);};}}),!_0x437b98[_0x447242(0x1c5)](isFalse,process[_0x447242(0x1f3)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x447242(0x200)](_0x21e823[_0x447242(0x1c4)],_0x437b98[_0x447242(0x1a1)],{'get':function(){return async function _0x505d47(_0x3f8f19){const _0x52672c=a47_0x275e;if(BrowserstackCLI[_0x52672c(0x1db)]()[_0x52672c(0x21c)]()){const _0x93bf4d={};_0x93bf4d[_0x52672c(0x1cb)]=_0x3f8f19,await BrowserstackCLI[_0x52672c(0x1db)]()[_0x52672c(0x181)]()[_0x52672c(0x232)](AutomationFrameworkState[_0x52672c(0x1e0)],HookState[_0x52672c(0x199)],_0x93bf4d);}else{const _0x3813db=_0x3f8f19&&_0x3f8f19['params']&&_0x3f8f19[_0x52672c(0x1bf)]['bsParams'];if(_0x3813db){const _0x2c8087=_0x3813db[_0x52672c(0x1de)],_0x2ec515=_0x3813db[_0x52672c(0x21a)];_0x437b98['VunLk'](!_0x2c8087,!_0x2ec515)&&await ClientTroubleShootingService[_0x52672c(0x20f)](),_0x2ec515&&(_0x437b98[_0x52672c(0x1fe)](debug,_0x52672c(0x1a6)+_0x2ec515[_0x52672c(0x1e2)]()),_0x3b12b9[_0x52672c(0x190)][_0x52672c(0x1ff)]=_0x2ec515[_0x52672c(0x1eb)],_0x3b12b9[_0x52672c(0x190)][_0x52672c(0x207)]=_0x2ec515[_0x52672c(0x19b)]),_0x2c8087&&(_0x437b98['yRNHj'](debug,_0x52672c(0x1f9)+_0x2c8087),_0x3b12b9[_0x52672c(0x190)][_0x52672c(0x22b)]=_0x2c8087);}}return _0x48fe7e[_0x52672c(0x1c1)](this,arguments);};}});}}catch(_0x2959c5){_0x437b98[_0x447242(0x1d1)](debug,_0x447242(0x237)+_0x2959c5),_0x3b12b9[_0x447242(0x1bb)]=_0x2959c5[_0x447242(0x1e2)]();}}static[a47_0x25f885(0x18a)](){const _0x21c6e8=a47_0x25f885,_0x469a06={'DpVMM':function(_0x58f612,_0x5765e2){return _0x58f612(_0x5765e2);},'fsVGg':function(_0x34d00e){return _0x34d00e();},'MGfEA':_0x21c6e8(0x230),'SZlsm':_0x21c6e8(0x234),'CzbVo':'chromium','bIjhE':'crConnection.js','MsaAS':function(_0xd8ded3,_0x86c3eb){return _0xd8ded3(_0x86c3eb);},'cKlUC':'Not\x20able\x20to\x20import\x20crConnection','ltTlH':function(_0x24eba2,_0x13986b){return _0x24eba2(_0x13986b);},'ShNwi':_0x21c6e8(0x204),'oHGMU':function(_0x259eda,_0x40f234){return _0x259eda!=_0x40f234;},'dkpXv':_0x21c6e8(0x1e3)},_0x58dcf1=this;if(_0x469a06[_0x21c6e8(0x225)](isAccessibilityAutomationSession)){let _0x507f67=null;try{const _0x58d8d0=path['join'](_0x469a06[_0x21c6e8(0x193)],_0x469a06['SZlsm'],_0x469a06['CzbVo'],_0x469a06[_0x21c6e8(0x197)]),_0x210c7b=_0x469a06[_0x21c6e8(0x21f)](importFileFromPWCore,_0x58d8d0);!_0x210c7b?_0x469a06[_0x21c6e8(0x213)](debug,_0x469a06[_0x21c6e8(0x1f6)]):_0x507f67=_0x210c7b[_0x21c6e8(0x1b0)];}catch(_0x524d87){_0x469a06[_0x21c6e8(0x1dc)](debug,_0x469a06['ShNwi']);}try{if(_0x469a06[_0x21c6e8(0x1e9)](_0x507f67,null)){const _0x2142ba=_0x507f67[_0x21c6e8(0x1c4)]['_onMessage'];Object['defineProperty'](_0x507f67[_0x21c6e8(0x1c4)],_0x469a06[_0x21c6e8(0x1d8)],{'get':function(){const _0x7bdd33={'Qkpdi':function(_0x5807e9,_0xf4e8b3){const _0x2b825b=a47_0x275e;return _0x469a06[_0x2b825b(0x21f)](_0x5807e9,_0xf4e8b3);},'pRgRb':function(_0x51241b,_0x18136c){const _0xabaa71=a47_0x275e;return _0x469a06[_0xabaa71(0x21f)](_0x51241b,_0x18136c);}};return async function _0x23c2a6(_0xe27c89){const _0x4738b6=a47_0x275e;try{if(BrowserstackCLI[_0x4738b6(0x1db)]()[_0x4738b6(0x21c)]()){const _0x4e3204={};_0x4e3204['message']=_0xe27c89,await BrowserstackCLI[_0x4738b6(0x1db)]()[_0x4738b6(0x181)]()[_0x4738b6(0x232)](AutomationFrameworkState[_0x4738b6(0x1e0)],HookState[_0x4738b6(0x199)],_0x4e3204),delete _0xe27c89[_0x4738b6(0x1b7)];}else{const _0x117ab3=_0xe27c89[_0x4738b6(0x1b7)];if(_0x117ab3){delete _0xe27c89[_0x4738b6(0x1b7)];const _0x2bc4d4=_0x117ab3[_0x4738b6(0x1de)],_0x1e02fc=_0x117ab3[_0x4738b6(0x21a)];_0x1e02fc&&(_0x7bdd33[_0x4738b6(0x219)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x1e02fc[_0x4738b6(0x1e2)]()),_0x58dcf1[_0x4738b6(0x190)]['platform']=_0x1e02fc[_0x4738b6(0x1eb)],_0x58dcf1[_0x4738b6(0x190)][_0x4738b6(0x207)]=_0x1e02fc[_0x4738b6(0x19b)]),_0x2bc4d4&&(_0x7bdd33[_0x4738b6(0x219)](debug,_0x4738b6(0x20e)+_0x2bc4d4),_0x58dcf1[_0x4738b6(0x190)][_0x4738b6(0x22b)]=_0x2bc4d4);}}}catch(_0x2f6648){_0x7bdd33[_0x4738b6(0x208)](debug,_0x4738b6(0x1cc)+_0x2f6648['toString']());}return _0x2142ba[_0x4738b6(0x1c1)](this,arguments);};}});}}catch(_0x2123fe){_0x469a06[_0x21c6e8(0x213)](debug,_0x21c6e8(0x22d)+_0x2123fe),_0x58dcf1[_0x21c6e8(0x1bb)]=_0x2123fe[_0x21c6e8(0x1e2)]();}}}static[a47_0x25f885(0x1ef)](){const _0x64102a=a47_0x25f885;return this[_0x64102a(0x190)];}}module[a47_0x25f885(0x1a3)]=PlaywrightSessionDetails;
1
+ const a47_0x4fd924=a47_0x1b6a;(function(_0x44ef2c,_0x2bced3){const _0x4139e2=a47_0x1b6a,_0x148303=_0x44ef2c();while(!![]){try{const _0x5026c9=parseInt(_0x4139e2(0x1db))/0x1*(-parseInt(_0x4139e2(0x1df))/0x2)+-parseInt(_0x4139e2(0x1b6))/0x3*(parseInt(_0x4139e2(0x1b9))/0x4)+-parseInt(_0x4139e2(0x1a5))/0x5+-parseInt(_0x4139e2(0x18a))/0x6+parseInt(_0x4139e2(0x19a))/0x7+-parseInt(_0x4139e2(0x14f))/0x8+parseInt(_0x4139e2(0x19d))/0x9*(parseInt(_0x4139e2(0x1bc))/0xa);if(_0x5026c9===_0x2bced3)break;else _0x148303['push'](_0x148303['shift']());}catch(_0x33d205){_0x148303['push'](_0x148303['shift']());}}}(a47_0x3476,0x91fcf));const path=require(a47_0x4fd924(0x17f)),url=require('url'),util=require(a47_0x4fd924(0x1e6)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x4fd924(0x1ce)),{o11yErrorHandler}=require(a47_0x4fd924(0x14d)),{debug,getPlatformDetails}=require(a47_0x4fd924(0x189)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require('../../helpers/logger')[a47_0x4fd924(0x190)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a47_0x4fd924(0x1bd)),AccessibilityHelper=require(a47_0x4fd924(0x1b0)),constants=require('../utils/constants'),BrowserstackCLI=require(a47_0x4fd924(0x1a1)),AutomationFrameworkState=require(a47_0x4fd924(0x145)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a47_0x4fd924(0x151)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x5da48a=>{const _0x278918=a47_0x4fd924,_0x271851={};_0x271851[_0x278918(0x19b)]=_0x278918(0x1a4),_0x271851[_0x278918(0x173)]='edge',_0x271851['LXafv']=_0x278918(0x158),_0x271851[_0x278918(0x1a3)]=_0x278918(0x188);const _0xdd6cde=_0x271851;if(_0x5da48a['includes'](_0xdd6cde[_0x278918(0x19b)]))return _0xdd6cde['YKWuG'];if(_0x5da48a[_0x278918(0x1c1)](_0xdd6cde[_0x278918(0x173)]))return _0xdd6cde[_0x278918(0x173)];if(_0x5da48a[_0x278918(0x1c1)](_0xdd6cde[_0x278918(0x16e)]))return _0xdd6cde[_0x278918(0x16e)];if(_0x5da48a[_0x278918(0x1c1)](_0xdd6cde[_0x278918(0x1a3)]))return _0xdd6cde['wIxru'];},getBrowserFromWSEndpoint=_0x2c81d9=>{const _0x368de2=a47_0x4fd924,_0x3aca73={'AVqEf':_0x368de2(0x1a4),'ydDen':function(_0x3520dc,_0x449c3d){return _0x3520dc(_0x449c3d);}};try{const _0x53bae5=url[_0x368de2(0x17a)](_0x2c81d9),_0x55e1de=new URLSearchParams(_0x53bae5['query']),_0x12a59e=Object['fromEntries'](_0x55e1de[_0x368de2(0x194)]()),_0xb4e433=JSON[_0x368de2(0x17a)](_0x12a59e[_0x368de2(0x150)]);if(_0xb4e433&&(_0xb4e433[_0x368de2(0x15c)]||_0xb4e433[_0x368de2(0x154)]))return _0xb4e433[_0x368de2(0x15c)]||_0xb4e433['browserName'];return _0x3aca73[_0x368de2(0x146)];}catch(_0x4eaa0f){_0x3aca73[_0x368de2(0x197)](debug,_0x368de2(0x1ec)+_0x4eaa0f[_0x368de2(0x1e2)]());}},getCloudProviderFromWsEndpoint=_0x312968=>{const _0x11e66f=a47_0x4fd924,_0x23b039={};_0x23b039[_0x11e66f(0x1c9)]=_0x11e66f(0x167),_0x23b039[_0x11e66f(0x1f6)]='unknown_grid';const _0x4ab177=_0x23b039;if(_0x312968['includes'](constants[_0x11e66f(0x1ca)])||_0x312968[_0x11e66f(0x1c1)](constants[_0x11e66f(0x1e0)]))return _0x4ab177[_0x11e66f(0x1c9)];return _0x4ab177[_0x11e66f(0x1f6)];},a47_0x2182d8={};a47_0x2182d8[a47_0x4fd924(0x16f)]=undefined,a47_0x2182d8[a47_0x4fd924(0x183)]=undefined,a47_0x2182d8['browser']=undefined,a47_0x2182d8['browser_version']=undefined,a47_0x2182d8['platform']=undefined,a47_0x2182d8[a47_0x4fd924(0x147)]=undefined,a47_0x2182d8[a47_0x4fd924(0x1cc)]=undefined,a47_0x2182d8[a47_0x4fd924(0x1e4)]={};class PlaywrightSessionDetails{static [a47_0x4fd924(0x1f0)]=a47_0x2182d8;constructor(){const _0x32646f=a47_0x4fd924,_0x25e58d={};_0x25e58d[_0x32646f(0x1b1)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x348446=_0x25e58d;throw new Error(_0x348446[_0x32646f(0x1b1)]);}static [a47_0x4fd924(0x195)]=null;static[a47_0x4fd924(0x1b2)](_0x4e1602,_0x41b1db,_0x5c000c=null){const _0xa42588=a47_0x4fd924,_0x18fd41={'lNQOr':function(_0x20eeb5,_0x2a5792){return _0x20eeb5===_0x2a5792;},'Whrwa':'function','Aphma':_0xa42588(0x1d6),'zydYw':_0xa42588(0x1bf),'IeQag':_0xa42588(0x152),'ERXFF':function(_0x42dd7d,_0x551337,_0x5c5676){return _0x42dd7d(_0x551337,_0x5c5676);},'fICSG':'_browserType','dhNdj':_0xa42588(0x148),'sEhFX':'project','EfnLG':_0xa42588(0x191),'HZTju':_0xa42588(0x1c3),'CEeME':function(_0x582251,_0xf78d99){return _0x582251(_0xf78d99);},'wEEKa':function(_0x11042c,_0x5331c5){return _0x11042c===_0x5331c5;},'rovjx':_0xa42588(0x167),'LrvGq':_0xa42588(0x1c7),'HCICP':_0xa42588(0x196),'xhTLp':function(_0x5bb973,_0xcb3eed){return _0x5bb973(_0xcb3eed);},'llbxo':function(_0xe3341e,_0x50329d){return _0xe3341e+_0x50329d;},'dEATx':_0xa42588(0x1ea),'hTspS':function(_0x18a4d6){return _0x18a4d6();},'OuHDj':function(_0x20cec3,_0x5e5b0a,_0x3ec746){return _0x20cec3(_0x5e5b0a,_0x3ec746);},'lXHlz':_0xa42588(0x1b2)},_0x3f27e6=this;return _0x18fd41[_0xa42588(0x1d5)](o11yErrorHandler,async function _0x519d67(_0x96f4d8,_0x76a1ad,_0x1883ed=null){const _0x463a43=_0xa42588;let _0x4526e8=_0x96f4d8['_name'],_0x2164cd=null;_0x96f4d8&&_0x18fd41[_0x463a43(0x1de)](typeof _0x96f4d8['version'],_0x18fd41['Whrwa'])?_0x2164cd=_0x96f4d8['version']():logger[_0x463a43(0x1a7)](_0x18fd41['Aphma']);let _0x3b27b3=null;_0x96f4d8&&_0x18fd41[_0x463a43(0x1de)](typeof _0x96f4d8[_0x463a43(0x1f7)],_0x18fd41[_0x463a43(0x18d)])?_0x3b27b3=_0x96f4d8[_0x463a43(0x1f7)]():logger[_0x463a43(0x1a7)](_0x18fd41[_0x463a43(0x177)]);let _0x2035c2=null,_0x3f897b=null,_0x56bae4=null,_0x3254d2=_0x18fd41[_0x463a43(0x1b3)];if(_0x96f4d8[_0x463a43(0x1d9)][_0x463a43(0x1f3)]()||global[_0x463a43(0x192)]){let _0x50092f=null;_0x18fd41[_0x463a43(0x18b)](nestedKeyValue,_0x96f4d8,[_0x18fd41[_0x463a43(0x1c5)],_0x18fd41[_0x463a43(0x1f4)]])?_0x50092f=_0x96f4d8[_0x463a43(0x159)][_0x463a43(0x148)]:_0x50092f=_0x18fd41[_0x463a43(0x18b)](nestedKeyValue,_0x76a1ad,[_0x18fd41[_0x463a43(0x172)],_0x18fd41[_0x463a43(0x1d1)],_0x18fd41['HZTju']]);const _0x2e0d10=_0x1883ed||_0x50092f&&_0x50092f[_0x463a43(0x1f2)];_0x2e0d10&&(_0x3254d2=_0x18fd41['CEeME'](getCloudProviderFromWsEndpoint,_0x2e0d10),_0x18fd41['wEEKa'](_0x3254d2,_0x18fd41[_0x463a43(0x198)])&&(_0x56bae4=constants['ATS_WSS_URL_REGEX'][_0x463a43(0x1eb)](_0x2e0d10)?_0x18fd41[_0x463a43(0x1e3)]:_0x18fd41['HCICP'],_0x4526e8=_0x18fd41[_0x463a43(0x16b)](getBrowserFromWSEndpoint,_0x2e0d10)||_0x4526e8,_0x2035c2=_0x3f27e6[_0x463a43(0x1f0)]['platform'],_0x3f897b=_0x3f27e6[_0x463a43(0x1f0)]['platform_version']));}else{_0x76a1ad&&_0x76a1ad['project'][_0x463a43(0x191)][_0x463a43(0x17b)]?_0x4526e8=_0x18fd41[_0x463a43(0x168)](getBrowserNameFromChannel,_0x76a1ad['project']['use'][_0x463a43(0x17b)]):_0x4526e8=_0x18fd41[_0x463a43(0x143)](_0x18fd41[_0x463a43(0x1a8)],_0x4526e8[_0x463a43(0x1da)]());const _0x547838=await _0x18fd41[_0x463a43(0x1d2)](getPlatformDetails);_0x2035c2=_0x547838[_0x463a43(0x1a6)],_0x3f897b=_0x547838['platformVersion'];}const _0x32f5c3={};_0x32f5c3[_0x463a43(0x15c)]=_0x4526e8,_0x32f5c3[_0x463a43(0x182)]=_0x2164cd,_0x32f5c3['capabilities']={},_0x32f5c3[_0x463a43(0x164)]=_0x2035c2,_0x32f5c3['platform_version']=_0x3f897b,_0x32f5c3[_0x463a43(0x1cc)]=_0x56bae4;const _0x2823eb=_0x32f5c3;_0x3b27b3&&(_0x2823eb[_0x463a43(0x1e4)][_0x463a43(0x14c)]=_0x3b27b3);const _0x5a19e1={};_0x5a19e1[_0x463a43(0x16f)]=_0x3254d2,_0x3f27e6[_0x463a43(0x1f0)]=Object['assign']({},_0x3f27e6[_0x463a43(0x1f0)],_0x5a19e1,_0x2823eb);},_0x18fd41['lXHlz'])(_0x4e1602,_0x41b1db,_0x5c000c);}static[a47_0x4fd924(0x1c0)](){const _0x46c220=a47_0x4fd924;this[_0x46c220(0x17c)](),this['patchCRConnection']();}static[a47_0x4fd924(0x17c)](){const _0x36e18e=a47_0x4fd924,_0xf29966={'DZcCM':function(_0x7b9c09,_0x36f95d,_0x1a40eb){return _0x7b9c09(_0x36f95d,_0x1a40eb);},'mtoVq':_0x36e18e(0x1ae),'huUOS':_0x36e18e(0x1b4),'LZucW':'titlePath','ofDoU':_0x36e18e(0x1e8),'mJpyf':'pwPage','iqMIZ':function(_0xf5e809,_0xef5917,_0x39634a){return _0xf5e809(_0xef5917,_0x39634a);},'nnCgu':function(_0x1f87d6,_0x1e84a6){return _0x1f87d6===_0x1e84a6;},'FQdca':'Page','BWMwR':function(_0x1d5d3e,_0x4e5efa,_0x517749,_0x151e7c){return _0x1d5d3e(_0x4e5efa,_0x517749,_0x151e7c);},'FXslv':function(_0x5f3e12,_0x1708d1){return _0x5f3e12||_0x1708d1;},'GRNDf':function(_0x427aad,_0x59bf11){return _0x427aad(_0x59bf11);},'idWIr':'lib','GerIx':_0x36e18e(0x1ef),'lRbYq':_0x36e18e(0x175),'oPkbF':function(_0x51e73c,_0x53d178){return _0x51e73c(_0x53d178);},'ubRul':_0x36e18e(0x1ad),'hfblC':function(_0x306105,_0x3c60da){return _0x306105!=_0x3c60da;},'pUtcD':function(_0x1cf186){return _0x1cf186();},'mHxOU':'sendMessageToServer','fdyPL':function(_0x2863d4,_0x463851){return _0x2863d4(_0x463851);},'aWWzX':_0x36e18e(0x1cb),'CcaEW':function(_0x218528,_0x3d30f6){return _0x218528(_0x3d30f6);}},_0x1ba848=this;if(!this[_0x36e18e(0x17e)])try{const _0x6b5218=path[_0x36e18e(0x149)](_0xf29966[_0x36e18e(0x179)],_0xf29966[_0x36e18e(0x1b5)],_0xf29966[_0x36e18e(0x18c)]),_0x4b96b1=_0xf29966[_0x36e18e(0x19e)](importFileFromPWCore,_0x6b5218);!_0x4b96b1?_0xf29966[_0x36e18e(0x1ba)](debug,_0xf29966['ubRul']):this[_0x36e18e(0x17e)]=_0x4b96b1[_0x36e18e(0x17e)];}catch(_0x127acf){_0xf29966[_0x36e18e(0x19e)](debug,_0x36e18e(0x1e1)+_0x127acf['toString']());}const _0x57a6cd=this[_0x36e18e(0x17e)];try{if(_0xf29966[_0x36e18e(0x1e5)](_0x57a6cd,null)){const _0x33b5f9=_0x57a6cd[_0x36e18e(0x1c2)][_0x36e18e(0x1cb)],_0x4e368f=_0x57a6cd[_0x36e18e(0x1c2)][_0x36e18e(0x16d)];_0xf29966[_0x36e18e(0x1c8)](isAccessibilityAutomationSession)&&Object[_0x36e18e(0x1ac)](_0x57a6cd['prototype'],_0xf29966[_0x36e18e(0x15d)],{'get':function(){const _0x3e0583=_0x36e18e,_0x5190e8={'EkyNt':function(_0x42e86a,_0x592562,_0x1654f2){return _0xf29966['DZcCM'](_0x42e86a,_0x592562,_0x1654f2);},'CvstH':_0xf29966[_0x3e0583(0x1dd)],'ixSeE':_0xf29966[_0x3e0583(0x176)],'grwem':_0xf29966[_0x3e0583(0x193)],'XxSQi':function(_0x59bc7a,_0x143d04,_0x2b89a5){return _0xf29966['DZcCM'](_0x59bc7a,_0x143d04,_0x2b89a5);},'wlHng':_0xf29966['ofDoU'],'rhMXm':_0xf29966[_0x3e0583(0x1ee)],'pmqJv':function(_0x371c70,_0x387c9c,_0x289644){const _0x9c7766=_0x3e0583;return _0xf29966[_0x9c7766(0x186)](_0x371c70,_0x387c9c,_0x289644);},'oRFLM':function(_0x550939,_0x5b290e){const _0x53a10d=_0x3e0583;return _0xf29966[_0x53a10d(0x199)](_0x550939,_0x5b290e);},'FBcYl':_0xf29966[_0x3e0583(0x1d7)],'SrwoA':function(_0x527f6a,_0x5c28d9,_0x3a6e58,_0x2dbb4f){return _0xf29966['BWMwR'](_0x527f6a,_0x5c28d9,_0x3a6e58,_0x2dbb4f);}};return async function(){const _0x1f66fd=_0x3e0583;try{if(!global['bstackPerformA11yScan']&&global['accessibilityPlatform']&&_0x5190e8[_0x1f66fd(0x15b)](nestedKeyValue,global[_0x1f66fd(0x1e8)],[_0x5190e8['CvstH'],_0x5190e8[_0x1f66fd(0x157)],_0x5190e8[_0x1f66fd(0x14a)]])&&_0x5190e8[_0x1f66fd(0x15b)](shouldScanTestForAccessibility,global[_0x1f66fd(0x1e8)]['currentTest']['testInfo']['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x53771d=_0x5190e8[_0x1f66fd(0x170)](nestedKeyValue,global,[_0x5190e8[_0x1f66fd(0x1d8)],_0x5190e8[_0x1f66fd(0x1d3)]]);_0x53771d&&logger[_0x1f66fd(0x1c4)]('Page\x20Scan\x20result='+util[_0x1f66fd(0x162)](await _0x5190e8[_0x1f66fd(0x144)](performScanWithRetry,_0x53771d,arguments[0x1]))),_0x5190e8[_0x1f66fd(0x180)](arguments[0x0][_0x1f66fd(0x1d0)],_0x5190e8[_0x1f66fd(0x155)])&&global[_0x1f66fd(0x1d4)]&&logger['info'](_0x1f66fd(0x181)+util[_0x1f66fd(0x162)](await _0x5190e8[_0x1f66fd(0x1e9)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x1f66fd(0x1dc)])));}}catch(_0x32c34c){logger[_0x1f66fd(0x1a7)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x1f66fd(0x162)](_0x32c34c));}return global['bstackPerformA11yScan']=![],_0x4e368f[_0x1f66fd(0x15f)](this,arguments);};}}),!_0xf29966['fdyPL'](isFalse,process['env'][_0x36e18e(0x1a9)])&&Object[_0x36e18e(0x1ac)](_0x57a6cd[_0x36e18e(0x1c2)],_0xf29966[_0x36e18e(0x1b7)],{'get':function(){return async function _0x354700(_0x2595cb){const _0xc4eb98=a47_0x1b6a;if(BrowserstackCLI[_0xc4eb98(0x14b)]()[_0xc4eb98(0x142)]()){const _0x8e4709={};_0x8e4709[_0xc4eb98(0x161)]=_0x2595cb,await BrowserstackCLI[_0xc4eb98(0x14b)]()['getAutomationFramework']()[_0xc4eb98(0x1be)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xc4eb98(0x1ed)],_0x8e4709);}else{const _0x30cbdf=_0x2595cb&&_0x2595cb['params']&&_0x2595cb[_0xc4eb98(0x18e)][_0xc4eb98(0x1a0)];if(_0x30cbdf){const _0x4ba178=_0x30cbdf[_0xc4eb98(0x187)],_0x5673ad=_0x30cbdf['platformDetails'];_0xf29966[_0xc4eb98(0x1c6)](!_0x4ba178,!_0x5673ad)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0x5673ad&&(_0xf29966['GRNDf'](debug,_0xc4eb98(0x1a2)+_0x5673ad[_0xc4eb98(0x1e2)]()),_0x1ba848[_0xc4eb98(0x1f0)][_0xc4eb98(0x164)]=_0x5673ad[_0xc4eb98(0x1a6)],_0x1ba848[_0xc4eb98(0x1f0)][_0xc4eb98(0x147)]=_0x5673ad[_0xc4eb98(0x184)]),_0x4ba178&&(_0xf29966['GRNDf'](debug,_0xc4eb98(0x185)+_0x4ba178),_0x1ba848[_0xc4eb98(0x1f0)][_0xc4eb98(0x183)]=_0x4ba178);}}return _0x33b5f9[_0xc4eb98(0x15f)](this,arguments);};}});}}catch(_0x4f7526){_0xf29966[_0x36e18e(0x163)](debug,_0x36e18e(0x1f5)+_0x4f7526),_0x1ba848[_0x36e18e(0x195)]=_0x4f7526['toString']();}}static[a47_0x4fd924(0x160)](){const _0x197193=a47_0x4fd924,_0x5db126={'VoUZs':function(_0xc74e9d,_0x5db932){return _0xc74e9d(_0x5db932);},'VfAMX':function(_0x5d7aa5,_0x4da418){return _0x5d7aa5(_0x4da418);},'maOLN':function(_0x2c0f59){return _0x2c0f59();},'DbEkL':_0x197193(0x1cf),'vZsRJ':_0x197193(0x178),'eWLTY':_0x197193(0x17d),'ytPzF':_0x197193(0x1e7),'RMnye':function(_0x34c9d8,_0x18d644){return _0x34c9d8(_0x18d644);},'USZnR':function(_0x3c0570,_0x516537){return _0x3c0570(_0x516537);},'LqOPq':_0x197193(0x1af),'ylNLB':'Error\x20in\x20importing\x20crConnection','EUyis':function(_0x1d2666,_0xa21b83){return _0x1d2666!=_0xa21b83;},'IHlFD':_0x197193(0x14e)},_0x48b157=this;if(_0x5db126[_0x197193(0x15e)](isAccessibilityAutomationSession)){let _0x39097c=null;try{const _0x1132a5=path['join'](_0x5db126[_0x197193(0x153)],_0x5db126[_0x197193(0x1ab)],_0x5db126[_0x197193(0x171)],_0x5db126[_0x197193(0x16c)]),_0x59472e=_0x5db126[_0x197193(0x166)](importFileFromPWCore,_0x1132a5);!_0x59472e?_0x5db126['USZnR'](debug,_0x5db126['LqOPq']):_0x39097c=_0x59472e[_0x197193(0x1cd)];}catch(_0x187980){_0x5db126[_0x197193(0x166)](debug,_0x5db126['ylNLB']);}try{if(_0x5db126[_0x197193(0x169)](_0x39097c,null)){const _0x2eb6db=_0x39097c['prototype'][_0x197193(0x14e)];Object[_0x197193(0x1ac)](_0x39097c['prototype'],_0x5db126['IHlFD'],{'get':function(){const _0xbe50e9={'pXdbg':function(_0x275824,_0x30de07){const _0xc4d9fa=a47_0x1b6a;return _0x5db126[_0xc4d9fa(0x174)](_0x275824,_0x30de07);},'DNMza':function(_0x11f824,_0x4639a7){const _0x503d7e=a47_0x1b6a;return _0x5db126[_0x503d7e(0x1bb)](_0x11f824,_0x4639a7);}};return async function _0x3e7b1c(_0x48961c){const _0x430c82=a47_0x1b6a;try{if(BrowserstackCLI[_0x430c82(0x14b)]()[_0x430c82(0x142)]()){const _0xaa16f1={};_0xaa16f1[_0x430c82(0x161)]=_0x48961c,await BrowserstackCLI[_0x430c82(0x14b)]()[_0x430c82(0x15a)]()[_0x430c82(0x1be)](AutomationFrameworkState[_0x430c82(0x19c)],HookState[_0x430c82(0x1ed)],_0xaa16f1),delete _0x48961c[_0x430c82(0x19f)];}else{const _0x224805=_0x48961c[_0x430c82(0x19f)];if(_0x224805){delete _0x48961c[_0x430c82(0x19f)];const _0x17794e=_0x224805[_0x430c82(0x187)],_0x1e246c=_0x224805[_0x430c82(0x1b8)];_0x1e246c&&(_0xbe50e9[_0x430c82(0x165)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x1e246c[_0x430c82(0x1e2)]()),_0x48b157[_0x430c82(0x1f0)][_0x430c82(0x164)]=_0x1e246c[_0x430c82(0x1a6)],_0x48b157[_0x430c82(0x1f0)][_0x430c82(0x147)]=_0x1e246c['platformVersion']),_0x17794e&&(_0xbe50e9[_0x430c82(0x165)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x17794e),_0x48b157['currentSessionDetails'][_0x430c82(0x183)]=_0x17794e);}}}catch(_0x1d8066){_0xbe50e9[_0x430c82(0x1f1)](debug,_0x430c82(0x16a)+_0x1d8066['toString']());}return _0x2eb6db[_0x430c82(0x15f)](this,arguments);};}});}}catch(_0x95ab2f){_0x5db126['USZnR'](debug,_0x197193(0x156)+_0x95ab2f),_0x48b157[_0x197193(0x195)]=_0x95ab2f[_0x197193(0x1e2)]();}}}static[a47_0x4fd924(0x1aa)](){const _0x2839e6=a47_0x4fd924;return this[_0x2839e6(0x1f0)];}}function a47_0x3476(){const _0x5ba99e=['platformVersion','Setting\x20session\x20id\x20received\x20from\x20BS\x20','iqMIZ','sessionId','safari','../../helpers/test-observability/utils','3418404XRGcVj','ERXFF','lRbYq','Whrwa','params','exports','winstonLogger','use','accessibilityPlatform','LZucW','entries','sessionError','automate','ydDen','rovjx','nnCgu','2589979UFiIqk','YKWuG','PLAYWRIGHT_DISPATCH','26505243JvXdry','GRNDf','bStackParams','bsParams','../v2/browserstackCLI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','wIxru','chrome','1815515mcujFG','platformName','debug','dEATx','BROWSERSTACK_TEST_OBSERVABILITY','getDetails','vZsRJ','defineProperty','Not\x20able\x20to\x20import\x20Connection','currentTest','Not\x20able\x20to\x20import\x20crConnection','./accessibility-helper','SSCBR','setupBrowserDetails','IeQag','testInfo','GerIx','1509sWGRYY','aWWzX','platformDetails','7604jPZQzf','oPkbF','VfAMX','10DqKiNt','../../bin/playwright/accessibility-helper','trackEvent','Device\x20Model\x20is\x20not\x20available','patch','includes','prototype','connectOptions','info','fICSG','FXslv','turboscale','pUtcD','NYYJM','BSTACK_URL','dispatch','product','CRConnection','../../helpers/helper','lib','_type','EfnLG','hTspS','rhMXm','__driver','OuHDj','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','FQdca','wlHng','_connection','toLowerCase','183hasRlA','performScan','mtoVq','lNQOr','3176ecBqZp','BSTACK_ATS_URL','Error\x20in\x20importing\x20connection\x20','toString','LrvGq','capabilities','hfblC','util','crConnection.js','__workerDetails','SrwoA','playwright-','test','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','POST','mJpyf','client','currentSessionDetails','DNMza','wsEndpoint','isRemote','dhNdj','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','hkIkx','model','isRunning','llbxo','pmqJv','../v2/state/automationFrameworkState.js','AVqEf','platform_version','_defaultConnectOptions','join','grwem','getInstance','deviceModel','../../helpers/test-observability/error-handler','_onMessage','4299304kgJOqg','caps','../../helpers/accessibility-automation/accessibilityRetryHelper.js','local_grid','DbEkL','browserName','FBcYl','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ixSeE','firefox','_browserType','getAutomationFramework','EkyNt','browser','mHxOU','maOLN','apply','patchCRConnection','message','format','CcaEW','platform','pXdbg','RMnye','browserstack','xhTLp','EUyis','Error\x20in\x20finding\x20platform\x20details\x20','CEeME','ytPzF','sendMessageToServer','LXafv','cloudProvider','XxSQi','eWLTY','sEhFX','KFpBa','VoUZs','connection.js','huUOS','zydYw','server','idWIr','parse','channel','patchConnection','chromium','Connection','path','oRFLM','Driver\x20Scan\x20result=','browser_version','bsSessionId'];a47_0x3476=function(){return _0x5ba99e;};return a47_0x3476();}function a47_0x1b6a(_0x1c3aeb,_0x436b1b){const _0x34767b=a47_0x3476();return a47_0x1b6a=function(_0x1b6a23,_0x5d2d3e){_0x1b6a23=_0x1b6a23-0x142;let _0xb47b6=_0x34767b[_0x1b6a23];return _0xb47b6;},a47_0x1b6a(_0x1c3aeb,_0x436b1b);}module[a47_0x4fd924(0x18f)]=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x5cc4ef=a48_0x29f0;(function(_0x4f9b4c,_0x48f9cb){const _0x318ed1=a48_0x29f0,_0x581478=_0x4f9b4c();while(!![]){try{const _0x32e258=parseInt(_0x318ed1(0x195))/0x1+-parseInt(_0x318ed1(0x180))/0x2*(parseInt(_0x318ed1(0x140))/0x3)+-parseInt(_0x318ed1(0x182))/0x4+-parseInt(_0x318ed1(0x176))/0x5+parseInt(_0x318ed1(0x115))/0x6*(parseInt(_0x318ed1(0x146))/0x7)+-parseInt(_0x318ed1(0x135))/0x8+parseInt(_0x318ed1(0x162))/0x9*(parseInt(_0x318ed1(0x133))/0xa);if(_0x32e258===_0x48f9cb)break;else _0x581478['push'](_0x581478['shift']());}catch(_0x31597b){_0x581478['push'](_0x581478['shift']());}}}(a48_0x3886,0x19a44));const fs=require('fs'),path=require(a48_0x5cc4ef(0x15d)),util=require(a48_0x5cc4ef(0x163)),spawn=require(a48_0x5cc4ef(0x147))[a48_0x5cc4ef(0x11f)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a48_0x5cc4ef(0x132)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require(a48_0x5cc4ef(0x18e)),utilities=require(a48_0x5cc4ef(0x187)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a48_0x5cc4ef(0x193)),runIntegrations=require(a48_0x5cc4ef(0x137)),yargs=require(a48_0x5cc4ef(0x18d)),Constants=require(a48_0x5cc4ef(0x18f)),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a48_0x5cc4ef(0x178))['winstonLogger'],origArgs=Object[a48_0x5cc4ef(0x117)]([],process[a48_0x5cc4ef(0x194)]),captureError=async(_0x4073cf,_0x296f0a,_0x126aff,_0x3766c5=null)=>{const _0x52fc50=a48_0x5cc4ef,_0x52db7e={'xTxVL':function(_0x14eb5a,_0x56a846,_0x198df2,_0x4d2a6f){return _0x14eb5a(_0x56a846,_0x198df2,_0x4d2a6f);},'VOYRH':'SDKTestSuccessful'};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x52fc50(0x11c)]('\x20')),await _0x52db7e[_0x52fc50(0x142)](_0x4073cf,_0x296f0a,_0x3766c5,_0x126aff);}catch(_0x42fc77){process[_0x52fc50(0x184)]=0x1,logger[_0x52fc50(0x191)](util['format'](_0x42fc77));const _0x149bd6={'globalException':util['format']('%j',_0x42fc77)};PerformanceTester[_0x52fc50(0x16a)](PerformanceEvents[_0x52fc50(0x11b)],![],util[_0x52fc50(0x138)](_0x42fc77));if(helper['isUndefined'](global['config'])&&helper['isUndefined'](global['framework']))return;try{utilities[_0x52fc50(0x12f)](_0x52db7e['VOYRH'],_0x149bd6,global[_0x52fc50(0x13b)],global[_0x52fc50(0x148)]);}catch(_0x38c206){logger[_0x52fc50(0x14e)](_0x52fc50(0x141)+_0x38c206[_0x52fc50(0x19c)]);}try{await helper[_0x52fc50(0x165)](global['config']);}catch(_0x1170b3){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x1170b3[_0x52fc50(0x19c)]);}await BrowserstackCLI[_0x52fc50(0x169)]()[_0x52fc50(0x16b)](),PerformanceTester[_0x52fc50(0x16a)](PerformanceEvents['SDK_SETUP'],![],util[_0x52fc50(0x138)](_0x42fc77));}finally{PerformanceTester[_0x52fc50(0x18b)](PerformanceEvents[_0x52fc50(0x116)]);}};function a48_0x29f0(_0xac0d36,_0x1933f0){const _0x3886fa=a48_0x3886();return a48_0x29f0=function(_0x29f02c,_0xff8200){_0x29f02c=_0x29f02c-0x112;let _0x3697a6=_0x3886fa[_0x29f02c];return _0x3697a6;},a48_0x29f0(_0xac0d36,_0x1933f0);}try{const browserstackFolderPath=path[a48_0x5cc4ef(0x11c)](helper[a48_0x5cc4ef(0x13d)](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a48_0x5cc4ef(0x11c)](browserstackFolderPath,a48_0x5cc4ef(0x18c));fs['existsSync'](filePath)&&fs[a48_0x5cc4ef(0x14a)](filePath);}}catch(a48_0x21c006){logger[a48_0x5cc4ef(0x14e)](a48_0x5cc4ef(0x164)+a48_0x21c006[a48_0x5cc4ef(0x171)]);}process['argv'][a48_0x5cc4ef(0x143)]('mocha')&&(!process[a48_0x5cc4ef(0x194)][a48_0x5cc4ef(0x143)](a48_0x5cc4ef(0x154))&&process[a48_0x5cc4ef(0x194)]['push'](a48_0x5cc4ef(0x17d)),!process[a48_0x5cc4ef(0x194)]['find'](_0x12a349=>_0x12a349[a48_0x5cc4ef(0x143)](a48_0x5cc4ef(0x15f)))&&process[a48_0x5cc4ef(0x194)][a48_0x5cc4ef(0x145)](a48_0x5cc4ef(0x11e)),!process[a48_0x5cc4ef(0x194)][a48_0x5cc4ef(0x143)]('--package')&&process[a48_0x5cc4ef(0x194)][a48_0x5cc4ef(0x145)](a48_0x5cc4ef(0x172)),helper[a48_0x5cc4ef(0x114)](process[a48_0x5cc4ef(0x194)],a48_0x5cc4ef(0x199),a48_0x5cc4ef(0x158)));PerformanceTester[a48_0x5cc4ef(0x18b)](PerformanceEvents[a48_0x5cc4ef(0x11b)]);const a48_0x30a5a9={};a48_0x30a5a9['dot-notation']=![];function a48_0x3886(){const _0x4f6916=['exitProcess','setTestObservabilityDisable','getInstance','end','stop','fkeKM','VANILLA','ZIEyx','PLAYWRIGHT','INTEGRATIONS','message','--no-package','codeceptjs','fXHvD','mHRBH','982140FRIMPm','tYFBL','../helpers/logger','NTGuf','uDQOz','PzrnD','load\x20[subcommand]','--no-opts','setBrowserStackAutomationDisable','OdKvN','2326YcVMbc','describe','311936TEJvFL','kYXxV','exitCode','EKVfc','CODECEPTJS','../helpers/utilities','GMjzr','OYNug','fCLWX','start','.local-not-set.json','yargs','../helpers/helper','./utils/constants','Fvuqm','error','yvSyl','../helpers/test-observability/constants','argv','70012FLBogz','option','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Ygqps','--require','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','slice','stack','HELP','ZLzil','usage:\x20$0\x20<command>\x20[args]','findAndReplace','360nlHNBr','SDK_CLEANUP','assign','qdGnO','AAmBS','./cucumber-js/command','SDK_SETUP','join','KbUnU','--no-config','spawn','vanilla','hVBEu','uQFeD','integrations','./codeceptjs/command','FobFe','mocha/lib/cli/run.js','cucumber-js','sPFvo','wrap','fVQub','parserConfiguration','INFO','JEST','usage','fireFunnelTestEvent','RnLoj','command','../helpers/performance/performance-tester','2440SpyxBV','nzKAG','1189544ZbjWsj','jest','./integrations/command','format','strict','NIGHTWATCH','config','help','homedir','VERSION','env','231aPeiSt','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','xTxVL','includes','./vanilla-js/command','push','8869QCfBKm','child_process','framework','MOCHA','unlinkSync','TBkUt','IPMWM','Show\x20help','debug','mocha/lib/cli/cli.js','getConfigPath','boolean','XKGtW','CUCUMBER','--opts','mocha','alias','handler','--mochaRequire','node','run','Runs\x20the\x20binary\x20with\x20load\x20command','nightwatch','path','sgTKE','--config','./jest/command','cvJJA','17397KsDdcP','util','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','sendLogs','./load/index'];a48_0x3886=function(){return _0x4f6916;};return a48_0x3886();}const argv=yargs[a48_0x5cc4ef(0x12b)](a48_0x30a5a9)[a48_0x5cc4ef(0x12e)](a48_0x5cc4ef(0x113))[a48_0x5cc4ef(0x156)]('v','version')[a48_0x5cc4ef(0x181)]('v')[a48_0x5cc4ef(0x156)]('h',a48_0x5cc4ef(0x13c))[a48_0x5cc4ef(0x13c)](a48_0x5cc4ef(0x13c))['showHelpOnFail'](!![],Constants[a48_0x5cc4ef(0x13e)][a48_0x5cc4ef(0x19d)])[a48_0x5cc4ef(0x131)](a48_0x5cc4ef(0x136),Constants[a48_0x5cc4ef(0x12d)]['INFO'],function(_0x478cc9){const _0x866db7=a48_0x5cc4ef,_0x141273={'pXJLa':'jest','SzkRC':function(_0x154c89,_0x209e75,_0x1cb594,_0x4b177f,_0x4515bf){return _0x154c89(_0x209e75,_0x1cb594,_0x4b177f,_0x4515bf);},'GMjzr':function(_0x4ca781,_0x5edf57){return _0x4ca781(_0x5edf57);},'ZIEyx':_0x866db7(0x160)},_0x3fd404=process[_0x866db7(0x194)][_0x866db7(0x19b)](0x2);helper[_0x866db7(0x168)](),helper[_0x866db7(0x17e)]();const _0x44cb7c=new BrowserStackSetup(_0x478cc9[_0x866db7(0x194)],_0x141273['pXJLa']);return _0x141273['SzkRC'](captureError,_0x141273[_0x866db7(0x188)](require,_0x141273[_0x866db7(0x16e)]),_0x478cc9[_0x866db7(0x194)],_0x44cb7c,_0x3fd404);})[a48_0x5cc4ef(0x131)]('mocha',Constants[a48_0x5cc4ef(0x149)][a48_0x5cc4ef(0x12c)],_0x59893a=>{const _0x232685=a48_0x5cc4ef,_0x5ea9e8={'cvJJA':function(_0x3ca9c9,_0x5be2dc,_0x5d750f,_0xa996ad){return _0x3ca9c9(_0x5be2dc,_0x5d750f,_0xa996ad);},'OdKvN':function(_0x265d85,_0x28c6ae){return _0x265d85(_0x28c6ae);},'mHRBH':'./mocha/command','IPMWM':_0x232685(0x155),'NTGuf':'Parsing\x20command\x20line\x20arguments','fVQub':function(_0x37ae89,_0x18af31,_0x32105d){return _0x37ae89(_0x18af31,_0x32105d);},'XKGtW':_0x232685(0x126),'uDQOz':function(_0x280b4f,_0x1b4c9b,_0x20bd2d){return _0x280b4f(_0x1b4c9b,_0x20bd2d);},'fCLWX':'mocha/lib/cli/commands.js','AbPOh':function(_0x450924,_0x4fcd19,_0x2e3526){return _0x450924(_0x4fcd19,_0x2e3526);},'MoWic':_0x232685(0x14f),'AAmBS':function(_0x1b400f){return _0x1b400f();}};process[_0x232685(0x194)]=process['argv']['slice'](0x1),helper[_0x232685(0x168)](),helper[_0x232685(0x17e)]();const _0x3cb831=new BrowserStackSetup(_0x59893a[_0x232685(0x194)],_0x5ea9e8[_0x232685(0x14c)]);logger[_0x232685(0x14e)](_0x5ea9e8[_0x232685(0x179)]);const _0x3de904=_0x5ea9e8[_0x232685(0x12a)](requireModule,_0x5ea9e8[_0x232685(0x152)],_0x5ea9e8[_0x232685(0x14c)]),_0x45c9ec=_0x5ea9e8[_0x232685(0x17a)](requireModule,_0x5ea9e8[_0x232685(0x18a)],_0x5ea9e8[_0x232685(0x14c)]);delete _0x3de904[_0x232685(0x157)],_0x3de904[_0x232685(0x157)]=function(_0x581bce){const _0x15e6ab=_0x232685;return _0x5ea9e8[_0x15e6ab(0x161)](captureError,_0x5ea9e8[_0x15e6ab(0x17f)](require,_0x5ea9e8[_0x15e6ab(0x175)]),_0x581bce,_0x3cb831);},_0x45c9ec[_0x232685(0x15a)]=_0x3de904;const {main:_0x55349f}=_0x5ea9e8['AbPOh'](requireModule,_0x5ea9e8['MoWic'],_0x5ea9e8['IPMWM']);_0x5ea9e8[_0x232685(0x119)](_0x55349f);})[a48_0x5cc4ef(0x131)](a48_0x5cc4ef(0x127),Constants[a48_0x5cc4ef(0x153)][a48_0x5cc4ef(0x12c)],function(_0x15b8fc){const _0x96e145=a48_0x5cc4ef,_0x57fe22={'PzrnD':_0x96e145(0x127),'Ygqps':function(_0x26a50e,_0x6e4b90,_0x7c0046,_0x6e974a,_0x52375f){return _0x26a50e(_0x6e4b90,_0x7c0046,_0x6e974a,_0x52375f);},'Fgtgh':function(_0x307e4d,_0x516742){return _0x307e4d(_0x516742);},'nzKAG':_0x96e145(0x11a)},_0x4ab075=process[_0x96e145(0x194)]['slice'](0x2),_0x1b29e1=new BrowserStackSetup(_0x15b8fc['argv'],_0x57fe22[_0x96e145(0x17b)]);return _0x57fe22[_0x96e145(0x198)](captureError,_0x57fe22['Fgtgh'](require,_0x57fe22[_0x96e145(0x134)]),_0x15b8fc[_0x96e145(0x194)],_0x1b29e1,_0x4ab075);})[a48_0x5cc4ef(0x131)](a48_0x5cc4ef(0x159),Constants[a48_0x5cc4ef(0x16d)][a48_0x5cc4ef(0x12c)],function(_0x10a7e4){const _0x105199=a48_0x5cc4ef,_0x2221a5={'kDhVG':_0x105199(0x120),'EKVfc':function(_0x3a337b,_0x284d7c,_0x4d6ef1,_0x27d262,_0x5d81ab){return _0x3a337b(_0x284d7c,_0x4d6ef1,_0x27d262,_0x5d81ab);},'sgTKE':function(_0x1de12b,_0x38aec4){return _0x1de12b(_0x38aec4);},'KbUnU':_0x105199(0x144)},_0x383a07=process[_0x105199(0x194)][_0x105199(0x19b)](0x2),_0x1d1aa8=new BrowserStackSetup(_0x10a7e4[_0x105199(0x194)],_0x2221a5['kDhVG']);return _0x2221a5[_0x105199(0x185)](captureError,_0x2221a5[_0x105199(0x15e)](require,_0x2221a5[_0x105199(0x11d)]),_0x10a7e4['argv'],_0x1d1aa8,_0x383a07);})[a48_0x5cc4ef(0x131)](a48_0x5cc4ef(0x15c),Constants[a48_0x5cc4ef(0x13a)][a48_0x5cc4ef(0x12c)],function(_0x48546b){const _0x56fe25=a48_0x5cc4ef,_0x52a46d={'OYNug':function(_0x34c860,_0x5c957c,_0x125263,_0x1b42d0,_0x15befa){return _0x34c860(_0x5c957c,_0x125263,_0x1b42d0,_0x15befa);},'tVprr':function(_0x2fa391,_0x2c6449){return _0x2fa391(_0x2c6449);},'qdGnO':'./nightwatch/command'},_0x71aac6=process[_0x56fe25(0x194)][_0x56fe25(0x19b)](0x2),_0xdfb28c=new BrowserStackSetup(_0x48546b[_0x56fe25(0x194)]);return _0x52a46d[_0x56fe25(0x189)](captureError,_0x52a46d['tVprr'](require,_0x52a46d[_0x56fe25(0x118)]),_0x48546b[_0x56fe25(0x194)],_0xdfb28c,_0x71aac6);})[a48_0x5cc4ef(0x131)](a48_0x5cc4ef(0x173),Constants[a48_0x5cc4ef(0x186)][a48_0x5cc4ef(0x12c)],function(_0x4a864b){const _0x4471c6=a48_0x5cc4ef,_0xd536df={'fkeKM':_0x4471c6(0x173),'RnLoj':function(_0x44f153,_0x2b06f3,_0x26a2ef,_0x3b042a,_0x95fe09){return _0x44f153(_0x2b06f3,_0x26a2ef,_0x3b042a,_0x95fe09);},'kYXxV':function(_0x104e11,_0x34be5c){return _0x104e11(_0x34be5c);},'fXHvD':_0x4471c6(0x124)},_0x1949d3=process['argv'][_0x4471c6(0x19b)](0x2),_0x274a70=new BrowserStackSetup(_0x4a864b[_0x4471c6(0x194)],_0xd536df[_0x4471c6(0x16c)]);return _0xd536df[_0x4471c6(0x130)](captureError,_0xd536df[_0x4471c6(0x183)](require,_0xd536df[_0x4471c6(0x174)]),_0x4a864b['argv'],_0x274a70,_0x1949d3);})[a48_0x5cc4ef(0x131)]('ats',Constants['HST'][a48_0x5cc4ef(0x12c)],function(_0x13cdd7){const _0x595dd6=a48_0x5cc4ef,_0xae8e2f={'XcCpz':function(_0x407f73,_0x4af0b6,_0x3b577f){return _0x407f73(_0x4af0b6,_0x3b577f);},'uQFeD':function(_0x4baf17,_0x197da2){return _0x4baf17(_0x197da2);},'FKerV':'../../ats/src/index'},_0x2222fa=process[_0x595dd6(0x194)]['slice'](0x2);return _0xae8e2f['XcCpz'](captureError,_0xae8e2f[_0x595dd6(0x122)](require,_0xae8e2f['FKerV']),_0x13cdd7);})[a48_0x5cc4ef(0x131)](a48_0x5cc4ef(0x123),Constants[a48_0x5cc4ef(0x170)][a48_0x5cc4ef(0x12c)],function(_0x58b0c9){const _0x555cae=a48_0x5cc4ef,_0x91fdac={'hVBEu':function(_0x53bb24,_0x4e54fc){return _0x53bb24(_0x4e54fc);}};return _0x91fdac[_0x555cae(0x121)](runIntegrations,_0x58b0c9);})[a48_0x5cc4ef(0x131)]('playwright',Constants[a48_0x5cc4ef(0x16f)]['INFO'],function(_0x10cfb7){const _0x3a59ed=a48_0x5cc4ef,_0x5cf586={'Fvuqm':function(_0x1a12be,_0x21e038,_0x1af4b9,_0x231e87,_0x3c4ce6){return _0x1a12be(_0x21e038,_0x1af4b9,_0x231e87,_0x3c4ce6);},'yvSyl':function(_0x3d67e8,_0x502eab){return _0x3d67e8(_0x502eab);},'pKpqG':'./playwright/command'},_0x357858=process[_0x3a59ed(0x194)][_0x3a59ed(0x19b)](0x2);helper[_0x3a59ed(0x150)](process[_0x3a59ed(0x194)])&&(process[_0x3a59ed(0x13f)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper['getConfigPath'](process['argv']));helper[_0x3a59ed(0x168)](),helper[_0x3a59ed(0x17e)]();const _0x4388f9=new BrowserStackSetup(_0x10cfb7[_0x3a59ed(0x194)],FRAMEWORKS[_0x3a59ed(0x16f)]);return _0x5cf586[_0x3a59ed(0x190)](captureError,_0x5cf586[_0x3a59ed(0x192)](require,_0x5cf586['pKpqG']),_0x10cfb7[_0x3a59ed(0x194)],_0x4388f9,_0x357858);})[a48_0x5cc4ef(0x131)](a48_0x5cc4ef(0x17c),a48_0x5cc4ef(0x15b),function(_0x28d877){const _0x40b9aa=a48_0x5cc4ef,_0x2ee542={};_0x2ee542['ZLzil']='help',_0x2ee542[_0x40b9aa(0x128)]=_0x40b9aa(0x151),_0x2ee542[_0x40b9aa(0x125)]=_0x40b9aa(0x14d);const _0x1490f5=_0x2ee542;return _0x28d877['help'](![])[_0x40b9aa(0x196)](_0x1490f5[_0x40b9aa(0x112)],{'alias':'h','type':_0x1490f5[_0x40b9aa(0x128)],'describe':_0x1490f5[_0x40b9aa(0x125)]})[_0x40b9aa(0x139)](![])[_0x40b9aa(0x167)](![]);},function(_0x4db83a){const _0x328dd7=a48_0x5cc4ef,_0x3045e5={'TBkUt':function(_0x27086b,_0x19d32e,_0x38dedb){return _0x27086b(_0x19d32e,_0x38dedb);},'tYFBL':function(_0x3ac648,_0x21774d){return _0x3ac648(_0x21774d);},'dGGZe':_0x328dd7(0x166)},_0x166df9={};return _0x166df9[_0x328dd7(0x194)]=_0x4db83a,_0x3045e5[_0x328dd7(0x14b)](captureError,_0x3045e5[_0x328dd7(0x177)](require,_0x3045e5['dGGZe']),_0x166df9);})['demandCommand'](0x1,a48_0x5cc4ef(0x197))[a48_0x5cc4ef(0x129)](null)[a48_0x5cc4ef(0x194)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a48_0x5cc4ef(0x191)](a48_0x5cc4ef(0x19a));
2
+ 'use strict';const a48_0x1d1fa1=a48_0x1ce5;(function(_0x53ee5e,_0x27b999){const _0xc9b0cb=a48_0x1ce5,_0x101133=_0x53ee5e();while(!![]){try{const _0x176346=-parseInt(_0xc9b0cb(0x182))/0x1+-parseInt(_0xc9b0cb(0x15c))/0x2*(-parseInt(_0xc9b0cb(0x142))/0x3)+parseInt(_0xc9b0cb(0x116))/0x4+parseInt(_0xc9b0cb(0x132))/0x5*(-parseInt(_0xc9b0cb(0x12a))/0x6)+-parseInt(_0xc9b0cb(0x197))/0x7*(parseInt(_0xc9b0cb(0x157))/0x8)+parseInt(_0xc9b0cb(0x13f))/0x9+parseInt(_0xc9b0cb(0x15d))/0xa*(parseInt(_0xc9b0cb(0x196))/0xb);if(_0x176346===_0x27b999)break;else _0x101133['push'](_0x101133['shift']());}catch(_0x115f87){_0x101133['push'](_0x101133['shift']());}}}(a48_0x16c6,0x2a581));const fs=require('fs'),path=require(a48_0x1d1fa1(0x18b)),util=require(a48_0x1d1fa1(0x14f)),spawn=require(a48_0x1d1fa1(0x15e))['spawn'],{requireModule}=require(a48_0x1d1fa1(0x146)),PerformanceTester=require(a48_0x1d1fa1(0x136)),PerformanceEvents=require(a48_0x1d1fa1(0x176))[a48_0x1d1fa1(0x167)],helper=require(a48_0x1d1fa1(0x146)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a48_0x1d1fa1(0x135)),{FRAMEWORKS}=require(a48_0x1d1fa1(0x16e)),runIntegrations=require(a48_0x1d1fa1(0x12b)),yargs=require(a48_0x1d1fa1(0x19e)),Constants=require(a48_0x1d1fa1(0x16f)),BrowserstackCLI=require(a48_0x1d1fa1(0x113)),logger=require(a48_0x1d1fa1(0x14a))['winstonLogger'],origArgs=Object['assign']([],process[a48_0x1d1fa1(0x120)]),captureError=async(_0x31b456,_0x5de80f,_0xefb330,_0x4eb16f=null)=>{const _0x52483d=a48_0x1d1fa1,_0x4e0d30={'cLoZp':function(_0x149174,_0x3d13fd,_0x14527a,_0x5e631d){return _0x149174(_0x3d13fd,_0x14527a,_0x5e631d);},'CEmrL':_0x52483d(0x160)};try{logger[_0x52483d(0x111)](_0x52483d(0x18c)+origArgs[_0x52483d(0x147)]('\x20')),await _0x4e0d30['cLoZp'](_0x31b456,_0x5de80f,_0x4eb16f,_0xefb330);}catch(_0x40d0e8){process[_0x52483d(0x18f)]=0x1,logger[_0x52483d(0x153)](util[_0x52483d(0x112)](_0x40d0e8));const _0x57030d={'globalException':util['format']('%j',_0x40d0e8)};PerformanceTester[_0x52483d(0x15a)](PerformanceEvents[_0x52483d(0x148)],![],util['format'](_0x40d0e8));if(helper[_0x52483d(0x198)](global[_0x52483d(0x1a0)])&&helper[_0x52483d(0x198)](global[_0x52483d(0x163)]))return;try{utilities['fireFunnelTestEvent'](_0x4e0d30[_0x52483d(0x19f)],_0x57030d,global[_0x52483d(0x1a0)],global[_0x52483d(0x163)]);}catch(_0x1fc259){logger[_0x52483d(0x11f)](_0x52483d(0x155)+_0x1fc259['stack']);}try{await helper[_0x52483d(0x128)](global['config']);}catch(_0x18f0b5){logger['debug'](_0x52483d(0x14d)+_0x18f0b5[_0x52483d(0x16a)]);}await BrowserstackCLI[_0x52483d(0x16c)]()[_0x52483d(0x14b)](),PerformanceTester[_0x52483d(0x15a)](PerformanceEvents[_0x52483d(0x148)],![],util[_0x52483d(0x112)](_0x40d0e8));}finally{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a48_0x1d1fa1(0x147)](helper[a48_0x1d1fa1(0x151)](),a48_0x1d1fa1(0x144));if(fs[a48_0x1d1fa1(0x183)](browserstackFolderPath)){const filePath=path[a48_0x1d1fa1(0x147)](browserstackFolderPath,a48_0x1d1fa1(0x173));fs[a48_0x1d1fa1(0x183)](filePath)&&fs[a48_0x1d1fa1(0x184)](filePath);}}catch(a48_0x49c99f){logger[a48_0x1d1fa1(0x11f)](a48_0x1d1fa1(0x141)+a48_0x49c99f[a48_0x1d1fa1(0x115)]);}function a48_0x16c6(){const _0x18bfc1=['jest','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','615066BaCzWr','iaIQu','.browserstack','setTestObservabilityDisable','../helpers/helper','join','SDK_SETUP','NIGHTWATCH','../helpers/logger','stop','iKWji','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','./mocha/command','util','ubjIu','homedir','Runs\x20the\x20binary\x20with\x20load\x20command','error','MqoaC','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','HELP','8nsVUHd','exitProcess','mocha/lib/cli/run.js','end','command','2mTARbc','10VUnmod','child_process','BROWSERSTACK_CONFIG_FILE_PATH','SDKTestSuccessful','./playwright/command','version','framework','ats','run','strict','EVENTS','mBvXS','ipsJF','stack','INTEGRATIONS','getInstance','dot-notation','../helpers/test-observability/constants','./utils/constants','bfMJr','oNiKH','load\x20[subcommand]','.local-not-set.json','showHelpOnFail','./nightwatch/command','../helpers/performance/constants','cyuFC','RqMdu','INFO','UHEIE','hdPYL','help','HST','NcICi','./vanilla-js/command','boolean','usage:\x20$0\x20<command>\x20[args]','318166nUjjPl','existsSync','unlinkSync','wrap','MOCHA','--config','Parsing\x20command\x20line\x20arguments','--mochaRequire','includes','path','Running\x20SDK\x20with\x20args\x20','QWEqk','codeceptjs','exitCode','OKkpM','CUCUMBER','maCgC','fqUDR','playwright','describe','3964477MAhnRm','1001098GXYYxJ','isUndefined','./jest/command','CinkW','mocha/lib/cli/commands.js','setBrowserStackAutomationDisable','mocha','yargs','CEmrL','config','kXqtF','JEST','--opts','findAndReplace','info','format','./v2/browserstackCLI','ETVKf','message','1023772rMhDcP','node','PLAYWRIGHT','qZjKX','handler','rPueE','VANILLA','ujnzK','vanilla','debug','argv','eDhJO','FtaxJ','JoHSC','--package','mocha/lib/cli/cli.js','eSKki','getConfigPath','sendLogs','wunLG','340104hvgECa','./integrations/command','push','buiSx','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','PBzZe','OtYdQ','--no-config','20qMZdzA','Show\x20help','vRJrx','../helpers/BrowserStackSetup','../helpers/performance/performance-tester','bfNXE','slice','./codeceptjs/command','alias','usage','find','--no-package','IoySn','359865pHHuVn'];a48_0x16c6=function(){return _0x18bfc1;};return a48_0x16c6();}process[a48_0x1d1fa1(0x120)][a48_0x1d1fa1(0x18a)](a48_0x1d1fa1(0x19d))&&(!process[a48_0x1d1fa1(0x120)][a48_0x1d1fa1(0x18a)](a48_0x1d1fa1(0x10f))&&process[a48_0x1d1fa1(0x120)]['push']('--no-opts'),!process[a48_0x1d1fa1(0x120)][a48_0x1d1fa1(0x13c)](_0x3135c3=>_0x3135c3[a48_0x1d1fa1(0x18a)](a48_0x1d1fa1(0x187)))&&process[a48_0x1d1fa1(0x120)][a48_0x1d1fa1(0x12c)](a48_0x1d1fa1(0x131)),!process[a48_0x1d1fa1(0x120)][a48_0x1d1fa1(0x18a)](a48_0x1d1fa1(0x124))&&process[a48_0x1d1fa1(0x120)][a48_0x1d1fa1(0x12c)](a48_0x1d1fa1(0x13d)),helper[a48_0x1d1fa1(0x110)](process[a48_0x1d1fa1(0x120)],'--require',a48_0x1d1fa1(0x189)));PerformanceTester['start'](PerformanceEvents[a48_0x1d1fa1(0x148)]);const a48_0x417c69={};function a48_0x1ce5(_0x316374,_0x4c5804){const _0x16c680=a48_0x16c6();return a48_0x1ce5=function(_0x1ce58b,_0x2ee82b){_0x1ce58b=_0x1ce58b-0x10f;let _0x2e1a76=_0x16c680[_0x1ce58b];return _0x2e1a76;},a48_0x1ce5(_0x316374,_0x4c5804);}a48_0x417c69[a48_0x1d1fa1(0x16d)]=![];const argv=yargs['parserConfiguration'](a48_0x417c69)[a48_0x1d1fa1(0x13b)](a48_0x1d1fa1(0x181))[a48_0x1d1fa1(0x13a)]('v',a48_0x1d1fa1(0x162))[a48_0x1d1fa1(0x195)]('v')[a48_0x1d1fa1(0x13a)]('h',a48_0x1d1fa1(0x17c))[a48_0x1d1fa1(0x17c)]('help')[a48_0x1d1fa1(0x174)](!![],Constants['VERSION'][a48_0x1d1fa1(0x156)])[a48_0x1d1fa1(0x15b)]('jest',Constants[a48_0x1d1fa1(0x1a2)][a48_0x1d1fa1(0x179)],function(_0x2a895d){const _0x1bb10a=a48_0x1d1fa1,_0x48b8cd={'CinkW':_0x1bb10a(0x140),'wunLG':function(_0x577eba,_0x7237b4,_0x510eb6,_0x3cfb86,_0x58941a){return _0x577eba(_0x7237b4,_0x510eb6,_0x3cfb86,_0x58941a);},'bfNXE':function(_0xe0ce0b,_0x270f0a){return _0xe0ce0b(_0x270f0a);},'JoHSC':_0x1bb10a(0x199)},_0x4aa05f=process[_0x1bb10a(0x120)][_0x1bb10a(0x138)](0x2);helper[_0x1bb10a(0x145)](),helper[_0x1bb10a(0x19c)]();const _0x56448d=new BrowserStackSetup(_0x2a895d[_0x1bb10a(0x120)],_0x48b8cd[_0x1bb10a(0x19a)]);return _0x48b8cd[_0x1bb10a(0x129)](captureError,_0x48b8cd[_0x1bb10a(0x137)](require,_0x48b8cd[_0x1bb10a(0x123)]),_0x2a895d[_0x1bb10a(0x120)],_0x56448d,_0x4aa05f);})[a48_0x1d1fa1(0x15b)](a48_0x1d1fa1(0x19d),Constants[a48_0x1d1fa1(0x186)][a48_0x1d1fa1(0x179)],_0xda93=>{const _0x28c46c=a48_0x1d1fa1,_0x23f94c={'mBvXS':function(_0x31326a,_0x325328,_0x664266,_0x2e1023){return _0x31326a(_0x325328,_0x664266,_0x2e1023);},'eSKki':function(_0x4835b3,_0x57795c){return _0x4835b3(_0x57795c);},'NcICi':_0x28c46c(0x14e),'eDhJO':'mocha','wGUPp':_0x28c46c(0x188),'OKkpM':function(_0x5d05fe,_0x590124,_0x20a1d2){return _0x5d05fe(_0x590124,_0x20a1d2);},'iaIQu':_0x28c46c(0x159),'fqUDR':_0x28c46c(0x19b),'UHEIE':function(_0x37d6e7,_0x250863,_0x134c21){return _0x37d6e7(_0x250863,_0x134c21);},'IoySn':_0x28c46c(0x125),'buiSx':function(_0x487258){return _0x487258();}};process[_0x28c46c(0x120)]=process['argv'][_0x28c46c(0x138)](0x1),helper[_0x28c46c(0x145)](),helper[_0x28c46c(0x19c)]();const _0x39fdae=new BrowserStackSetup(_0xda93[_0x28c46c(0x120)],_0x23f94c[_0x28c46c(0x121)]);logger[_0x28c46c(0x11f)](_0x23f94c['wGUPp']);const _0xc2a5b4=_0x23f94c['OKkpM'](requireModule,_0x23f94c[_0x28c46c(0x143)],_0x23f94c[_0x28c46c(0x121)]),_0x46d1d8=_0x23f94c[_0x28c46c(0x190)](requireModule,_0x23f94c[_0x28c46c(0x193)],_0x23f94c[_0x28c46c(0x121)]);delete _0xc2a5b4[_0x28c46c(0x11a)],_0xc2a5b4[_0x28c46c(0x11a)]=function(_0x4d2072){const _0x3f732b=_0x28c46c;return _0x23f94c[_0x3f732b(0x168)](captureError,_0x23f94c[_0x3f732b(0x126)](require,_0x23f94c[_0x3f732b(0x17e)]),_0x4d2072,_0x39fdae);},_0x46d1d8[_0x28c46c(0x165)]=_0xc2a5b4;const {main:_0x2ab1e4}=_0x23f94c[_0x28c46c(0x17a)](requireModule,_0x23f94c[_0x28c46c(0x13e)],_0x23f94c['eDhJO']);_0x23f94c[_0x28c46c(0x12d)](_0x2ab1e4);})[a48_0x1d1fa1(0x15b)]('cucumber-js',Constants[a48_0x1d1fa1(0x191)][a48_0x1d1fa1(0x179)],function(_0x1a38a5){const _0x53e10f=a48_0x1d1fa1,_0x2cd933={'ojrqB':'cucumber-js','XAcqP':function(_0x1d7bc9,_0x37b8ae,_0xa21d22,_0x5a5899,_0x3cef4d){return _0x1d7bc9(_0x37b8ae,_0xa21d22,_0x5a5899,_0x3cef4d);},'ubjIu':function(_0x24c0a0,_0x3265ea){return _0x24c0a0(_0x3265ea);},'ipsJF':'./cucumber-js/command'},_0x4ec483=process[_0x53e10f(0x120)][_0x53e10f(0x138)](0x2),_0x1dcb22=new BrowserStackSetup(_0x1a38a5['argv'],_0x2cd933['ojrqB']);return _0x2cd933['XAcqP'](captureError,_0x2cd933[_0x53e10f(0x150)](require,_0x2cd933[_0x53e10f(0x169)]),_0x1a38a5['argv'],_0x1dcb22,_0x4ec483);})['command'](a48_0x1d1fa1(0x117),Constants[a48_0x1d1fa1(0x11c)][a48_0x1d1fa1(0x179)],function(_0x1950b3){const _0x250390=a48_0x1d1fa1,_0x2d04ce={'oNiKH':_0x250390(0x11e),'OtYdQ':function(_0xe6ece7,_0xf23f28,_0x10a8fc,_0x38a196,_0x3c12e2){return _0xe6ece7(_0xf23f28,_0x10a8fc,_0x38a196,_0x3c12e2);},'eCzvW':function(_0x4b610e,_0x295161){return _0x4b610e(_0x295161);},'hdPYL':_0x250390(0x17f)},_0x4b7016=process[_0x250390(0x120)][_0x250390(0x138)](0x2),_0x2626af=new BrowserStackSetup(_0x1950b3[_0x250390(0x120)],_0x2d04ce[_0x250390(0x171)]);return _0x2d04ce[_0x250390(0x130)](captureError,_0x2d04ce['eCzvW'](require,_0x2d04ce[_0x250390(0x17b)]),_0x1950b3[_0x250390(0x120)],_0x2626af,_0x4b7016);})[a48_0x1d1fa1(0x15b)]('nightwatch',Constants[a48_0x1d1fa1(0x149)][a48_0x1d1fa1(0x179)],function(_0xc43b49){const _0x8da619=a48_0x1d1fa1,_0x2042fa={'vRJrx':function(_0x428ea4,_0x1852dd,_0x2f13b2,_0x560b2f,_0x476d96){return _0x428ea4(_0x1852dd,_0x2f13b2,_0x560b2f,_0x476d96);},'kXqtF':function(_0xc39734,_0x2e9b16){return _0xc39734(_0x2e9b16);},'nyQgH':_0x8da619(0x175)},_0x30971d=process[_0x8da619(0x120)][_0x8da619(0x138)](0x2),_0x505a02=new BrowserStackSetup(_0xc43b49[_0x8da619(0x120)]);return _0x2042fa[_0x8da619(0x134)](captureError,_0x2042fa[_0x8da619(0x1a1)](require,_0x2042fa['nyQgH']),_0xc43b49[_0x8da619(0x120)],_0x505a02,_0x30971d);})[a48_0x1d1fa1(0x15b)](a48_0x1d1fa1(0x18e),Constants['CODECEPTJS'][a48_0x1d1fa1(0x179)],function(_0x3df53c){const _0x56f9d7=a48_0x1d1fa1,_0xd18fb4={'cyuFC':_0x56f9d7(0x18e),'RqMdu':function(_0xf3cb67,_0x2060bd,_0x5971a2,_0x18f275,_0x3f5aba){return _0xf3cb67(_0x2060bd,_0x5971a2,_0x18f275,_0x3f5aba);},'ETVKf':function(_0x54baf3,_0x42208f){return _0x54baf3(_0x42208f);},'rPueE':_0x56f9d7(0x139)},_0x1bcb6d=process[_0x56f9d7(0x120)][_0x56f9d7(0x138)](0x2),_0x1b22f6=new BrowserStackSetup(_0x3df53c[_0x56f9d7(0x120)],_0xd18fb4[_0x56f9d7(0x177)]);return _0xd18fb4[_0x56f9d7(0x178)](captureError,_0xd18fb4[_0x56f9d7(0x114)](require,_0xd18fb4[_0x56f9d7(0x11b)]),_0x3df53c['argv'],_0x1b22f6,_0x1bcb6d);})['command'](a48_0x1d1fa1(0x164),Constants[a48_0x1d1fa1(0x17d)][a48_0x1d1fa1(0x179)],function(_0x18183b){const _0x4afaf9=a48_0x1d1fa1,_0x3a5ec4={'bfMJr':function(_0x22b724,_0xaa0f8f,_0x3c6578){return _0x22b724(_0xaa0f8f,_0x3c6578);},'maCgC':function(_0xe8a299,_0x57f3a0){return _0xe8a299(_0x57f3a0);},'qZjKX':'../../ats/src/index'},_0x239bf2=process[_0x4afaf9(0x120)][_0x4afaf9(0x138)](0x2);return _0x3a5ec4[_0x4afaf9(0x170)](captureError,_0x3a5ec4[_0x4afaf9(0x192)](require,_0x3a5ec4[_0x4afaf9(0x119)]),_0x18183b);})[a48_0x1d1fa1(0x15b)]('integrations',Constants[a48_0x1d1fa1(0x16b)][a48_0x1d1fa1(0x179)],function(_0x3c2565){const _0x723a54={'Rwzzr':function(_0x2c4002,_0x499ceb){return _0x2c4002(_0x499ceb);}};return _0x723a54['Rwzzr'](runIntegrations,_0x3c2565);})[a48_0x1d1fa1(0x15b)](a48_0x1d1fa1(0x194),Constants[a48_0x1d1fa1(0x118)][a48_0x1d1fa1(0x179)],function(_0x3823fe){const _0x29f351=a48_0x1d1fa1,_0x3b9a60={'iKWji':function(_0x2bb9c4,_0x51035e,_0x21bfae,_0x28d3cc,_0x3e98df){return _0x2bb9c4(_0x51035e,_0x21bfae,_0x28d3cc,_0x3e98df);},'MqoaC':function(_0x64643e,_0x35bd15){return _0x64643e(_0x35bd15);},'PBzZe':_0x29f351(0x161)},_0x50dff4=process[_0x29f351(0x120)]['slice'](0x2);helper[_0x29f351(0x127)](process['argv'])&&(process['env'][_0x29f351(0x15f)]=helper[_0x29f351(0x127)](process[_0x29f351(0x120)]));helper[_0x29f351(0x145)](),helper[_0x29f351(0x19c)]();const _0x243de2=new BrowserStackSetup(_0x3823fe[_0x29f351(0x120)],FRAMEWORKS[_0x29f351(0x118)]);return _0x3b9a60[_0x29f351(0x14c)](captureError,_0x3b9a60[_0x29f351(0x154)](require,_0x3b9a60[_0x29f351(0x12f)]),_0x3823fe[_0x29f351(0x120)],_0x243de2,_0x50dff4);})[a48_0x1d1fa1(0x15b)](a48_0x1d1fa1(0x172),a48_0x1d1fa1(0x152),function(_0x2d33fa){const _0x386b54=a48_0x1d1fa1,_0xcba0c={};_0xcba0c[_0x386b54(0x18d)]=_0x386b54(0x17c),_0xcba0c[_0x386b54(0x11d)]=_0x386b54(0x180),_0xcba0c[_0x386b54(0x122)]=_0x386b54(0x133);const _0x3b856c=_0xcba0c;return _0x2d33fa[_0x386b54(0x17c)](![])['option'](_0x3b856c[_0x386b54(0x18d)],{'alias':'h','type':_0x3b856c[_0x386b54(0x11d)],'describe':_0x3b856c[_0x386b54(0x122)]})[_0x386b54(0x166)](![])[_0x386b54(0x158)](![]);},function(_0x137e46){const _0x284f69={'SemAa':function(_0x23eb10,_0x100fc0,_0x35eda5){return _0x23eb10(_0x100fc0,_0x35eda5);},'nSWCc':function(_0xff1b01,_0x35d64b){return _0xff1b01(_0x35d64b);},'dwdFj':'./load/index'},_0x493662={};return _0x493662['argv']=_0x137e46,_0x284f69['SemAa'](captureError,_0x284f69['nSWCc'](require,_0x284f69['dwdFj']),_0x493662);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x1d1fa1(0x185)](null)[a48_0x1d1fa1(0x120)];!helper[a48_0x1d1fa1(0x198)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x1d1fa1(0x164)&&console[a48_0x1d1fa1(0x153)](a48_0x1d1fa1(0x12e));