browserstack-node-sdk 1.52.3 → 1.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) 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/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a90_0x2b65(){const _0x2c7c1f=[':testAnalyticsId','PuppeteerDriverModule','failureMessage','shouldSkipSessionName','RUQmn','onBeforeDriverCreate','QUIT','SESSION_NAME','__bstackSessionId','KEY_PLATFORM_INDEX','333166lQXXJR','getRef','Error\x20in\x20onBeforeQuit:\x20','jiMzK','testFrameworkVersion','getConfig','YfjZB','util','../../../helpers/performance/performance-tester.js','toString','getModuleName','puppeteer_test_id','automationSession','testRunId','setState','test_identifier','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','browserVersion','getContext','browser','wrZwD','markSessionStatus','platforms','base64','message','join','format','onBeforeQuit','CZlGj','itmqA','TkvVi','Qazzw','4345200dncZgT','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','njaJF','testIdentifier','_driverInitRef','zXAJm','getCapabilities','RuKXc','onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit','parse','WOJPe','VVadL','isBuffer','__bstackPlatformIndex','executionContext','onAfterDriverCreate:\x20Setting\x20browser\x20object','uuid','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20','length','NUjjj','KEY_TEST_FRAMEWORK_NAME','6ecTfsB','start','mObse','PSWVb','../cliUtils.js','ZMUxu','isLTSSession','OhfMz','error','LJnlU','testFrameworkName','string','_connection','getThreadId','puppeteer_platform_details','evaluate','10HHlmXT','NJuvK','platformIndex','KEY_PAGE_OBJECT','../framework/constants/testFrameworkConstants.js','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','onBeforeQuit:\x20Cleanup\x20complete','4811422oHAziC','lYxyA','finally','KEY_BROWSER_OBJECT','../../../helpers/helper.js','testHookState','../browserstackCLI.js','hashed_id','from','VgjyW','9LuEUGj','errorsDetailed','onAfterDriverCreate','map','testSessionEvent','QqFAk','_driverInitCalledForRef','pmcXw','hubUrl','onAfterTest\x20CBTSession\x20payload:\x20','kuhwF','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20','getInstance','puppeteerBstackExecutor','timedout','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status','testFrameworkState','vAyev','keys','logger','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','kgxZJ','instance','capabilities','Error\x20in\x20puppeteerBstackExecutor:\x20','dAbwp','testInfo','getState','KEY_TEST_ID','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','testFrameworkData','GBLis','Unknown\x20Test','version','5|2|7|8|0|3|6|9|11|10|1|4','kfkvl','../../../helpers/classLogger.js','title','failed','bind','end','aRWvI','PUPPETEER','utf8','onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20','browserstack_executor:\x20','AUTOMATE_EVENTS','bgJdq','Error\x20in\x20onBeforeDriverCreate:\x20','2636944YoGkYr','getId','browserstack_executor\x20timeout\x20after\x20','VfyYt','wzhKU','browserName','71783ZSYWHM','../utils/jest-utils.js','onAfterTest','JEST','status','wBhSx','wgIiA','1599508CxPMzZ','HKVjU','action','getTestDetails','add','_url','pid','arguments','onAfterDriverCreate:\x20driverInit\x20response\x20received',',\x20skipping\x20duplicate','puppeteer_platform_index','ItKiE','../../../helpers/test-observability/utils','passed','setSessionName','puppeteer_page','../framework/automationFramework.js','ref','NCgdN','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','jestUtils','has','markSessionName:\x20Page\x20object\x20is\x20not\x20available','oqLcD','name','onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20','../state/hookState.js','KEY_HUB_URL','sessionId','values','registerObserver','SRjAd','markSessionName:\x20Skipping\x20session\x20name\x20marking','CREATE','split','race','puppeteer_browser','15OKXVOH','pBrVZ','debug','../state/testFrameworkState','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','__platformCaps','shouldSkipSessionStatus','POST','Error\x20in\x20markSessionName:\x20','yeBUO','stringify','__launchCaps','KEY_CAPABILITIES','onBeforeQuit:\x20No\x20automation\x20instance\x20available','KEY_TEST_FRAMEWORK_VERSION','getHubUrl','jOLAT','PRE','browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','zPdws','TazzZ','../../utils/constants','isPuppeteer','TEST','2553661asBKFP','getLTSSessionId','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20','MODULE_NAME','fApqQ','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','airye','markSessionName','KEY_SESSION_ID','puppeteerVersion','onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20','XhMeu','page','onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','hclvR'];a90_0x2b65=function(){return _0x2c7c1f;};return a90_0x2b65();}const a90_0x4bfcc7=a90_0x337b;(function(_0x3c4239,_0x4176cf){const _0x52d525=a90_0x337b,_0x18c58f=_0x3c4239();while(!![]){try{const _0x194ee7=-parseInt(_0x52d525(0x1bd))/0x1+-parseInt(_0x52d525(0x12f))/0x2+-parseInt(_0x52d525(0x14f))/0x3+parseInt(_0x52d525(0x1c4))/0x4*(parseInt(_0x52d525(0x1e9))/0x5)+-parseInt(_0x52d525(0x164))/0x6*(-parseInt(_0x52d525(0x17b))/0x7)+-parseInt(_0x52d525(0x1b7))/0x8*(-parseInt(_0x52d525(0x185))/0x9)+parseInt(_0x52d525(0x174))/0xa*(parseInt(_0x52d525(0x116))/0xb);if(_0x194ee7===_0x4176cf)break;else _0x18c58f['push'](_0x18c58f['shift']());}catch(_0x965125){_0x18c58f['push'](_0x18c58f['shift']());}}}(a90_0x2b65,0xba07c));function a90_0x337b(_0x1d0e5a,_0x129781){const _0x2b6544=a90_0x2b65();return a90_0x337b=function(_0x337b62,_0x290583){_0x337b62=_0x337b62-0x10a;let _0x3c3b72=_0x2b6544[_0x337b62];return _0x3c3b72;},a90_0x337b(_0x1d0e5a,_0x129781);}const util=require(a90_0x4bfcc7(0x136)),BaseModule=require('./baseModule'),{createClassLogger}=require(a90_0x4bfcc7(0x1aa)),{getFrameworkVersion}=require(a90_0x4bfcc7(0x1d0)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a90_0x4bfcc7(0x113)),AutomationFramework=require(a90_0x4bfcc7(0x1d4)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a90_0x4bfcc7(0x1de)),{nestedKeyValue,playwrightBstackJsExecutor}=require(a90_0x4bfcc7(0x17f)),CLIUtils=require(a90_0x4bfcc7(0x168)),BrowserstackCLI=require(a90_0x4bfcc7(0x181)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a90_0x4bfcc7(0x137)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a90_0x4bfcc7(0x1b4)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a90_0x4bfcc7(0x17f)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a90_0x4bfcc7(0x178)),TestFrameworkState=require(a90_0x4bfcc7(0x1ec)),JestUtils=require(a90_0x4bfcc7(0x1be)),TestFramework=require('../framework/testFramework.js');class PuppeteerDriverModule extends BaseModule{static [a90_0x4bfcc7(0x17e)]=a90_0x4bfcc7(0x1e8);static [a90_0x4bfcc7(0x177)]=a90_0x4bfcc7(0x1d3);static ['KEY_SESSION_ID']='puppeteer_session_id';static [a90_0x4bfcc7(0x12e)]=a90_0x4bfcc7(0x1ce);static ['KEY_CAPABILITIES']='puppeteer_capabilities';static [a90_0x4bfcc7(0x1df)]='puppeteer_hub_url';static ['KEY_PLATFORM_DETAILS']=a90_0x4bfcc7(0x172);static [a90_0x4bfcc7(0x1a2)]=a90_0x4bfcc7(0x13a);static [a90_0x4bfcc7(0x119)]='PuppeteerDriverModule';static [a90_0x4bfcc7(0x18b)]=new Set();static [a90_0x4bfcc7(0x153)]=null;[a90_0x4bfcc7(0x199)]=createClassLogger('PuppeteerDriverModule');constructor(_0x1ade28=null){const _0x98e0e7=a90_0x4bfcc7,_0x174866={};_0x174866[_0x98e0e7(0x10e)]=_0x98e0e7(0x1a8),_0x174866[_0x98e0e7(0x19f)]=_0x98e0e7(0x126);const _0x47fcde=_0x174866,_0x34a4f0=_0x47fcde[_0x98e0e7(0x10e)]['split']('|');let _0x302ecd=0x0;while(!![]){switch(_0x34a4f0[_0x302ecd++]){case'0':this[_0x98e0e7(0x140)]=null;continue;case'1':TestFramework[_0x98e0e7(0x1e2)](TestFrameworkState[_0x98e0e7(0x115)],HookState['POST'],this[_0x98e0e7(0x1bf)]['bind'](this));continue;case'2':this[_0x98e0e7(0x1dc)]=_0x47fcde[_0x98e0e7(0x19f)];continue;case'3':this[_0x98e0e7(0x145)]=[];continue;case'4':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x98e0e7(0x12b)],HookState['PRE'],this['onBeforeQuit'][_0x98e0e7(0x1ad)](this));continue;case'5':super(_0x1ade28);continue;case'6':this[_0x98e0e7(0x13c)]=null;continue;case'7':this[_0x98e0e7(0x11f)]=null;continue;case'8':this[_0x98e0e7(0x1bc)]=null;continue;case'9':this[_0x98e0e7(0x1d8)]=new JestUtils();continue;case'10':AutomationFramework[_0x98e0e7(0x1e2)](AutomationFrameworkState[_0x98e0e7(0x1e5)],HookState[_0x98e0e7(0x1f1)],this[_0x98e0e7(0x187)][_0x98e0e7(0x1ad)](this));continue;case'11':AutomationFramework[_0x98e0e7(0x1e2)](AutomationFrameworkState[_0x98e0e7(0x1e5)],HookState[_0x98e0e7(0x10f)],this[_0x98e0e7(0x12a)][_0x98e0e7(0x1ad)](this));continue;}break;}}[a90_0x4bfcc7(0x139)](){return PuppeteerDriverModule['MODULE_NAME'];}async['onBeforeDriverCreate'](_0xdb25fd){const _0x382956=a90_0x4bfcc7,_0x4aff70={};_0x4aff70['airye']=_0x382956(0x190),_0x4aff70[_0x382956(0x16b)]=_0x382956(0x146),_0x4aff70['lYxyA']=_0x382956(0x1cc),_0x4aff70[_0x382956(0x135)]=_0x382956(0x1b1),_0x4aff70['oqLcD']=function(_0x161620,_0x58ca0e){return _0x161620===_0x58ca0e;},_0x4aff70[_0x382956(0x156)]='object',_0x4aff70[_0x382956(0x197)]=function(_0x5309e4,_0x4b9a1a){return _0x5309e4!==_0x4b9a1a;},_0x4aff70[_0x382956(0x14d)]='string',_0x4aff70[_0x382956(0x154)]=function(_0x243b14,_0x35b7b6){return _0x243b14>_0x35b7b6;},_0x4aff70[_0x382956(0x18a)]=_0x382956(0x1ee);const _0x4e94c9=_0x4aff70;try{this[_0x382956(0x199)][_0x382956(0x1eb)](_0x4e94c9[_0x382956(0x11c)]);const _0x1d7c2c=_0xdb25fd['launchcaps'],_0x3f6fd3=_0xdb25fd[_0x382956(0x18d)];AutomationFramework[_0x382956(0x13d)](_0xdb25fd[_0x382956(0x19c)],PuppeteerDriverModule[_0x382956(0x10a)],_0x1d7c2c),AutomationFramework['setState'](_0xdb25fd[_0x382956(0x19c)],PuppeteerDriverModule[_0x382956(0x1df)],_0x3f6fd3);const _0xf78abc=_0xdb25fd[_0x382956(0x19c)]['getRef'](),_0x325dfd=global[_0x382956(0x15c)]||0x0;AutomationFramework[_0x382956(0x13d)](_0xdb25fd[_0x382956(0x19c)],PuppeteerDriverModule['KEY_PLATFORM_INDEX'],_0x325dfd);if(PuppeteerDriverModule[_0x382956(0x18b)][_0x382956(0x1d9)](_0xf78abc))this[_0x382956(0x199)][_0x382956(0x1eb)](_0x382956(0x1b2)+_0xf78abc+_0x382956(0x1cd));else{PuppeteerDriverModule[_0x382956(0x18b)][_0x382956(0x1c8)](_0xf78abc),PuppeteerDriverModule[_0x382956(0x153)]=_0xf78abc;const _0x71572d={..._0x1d7c2c};_0x71572d[_0x382956(0x114)]=!![];const _0x2d84e8=Buffer[_0x382956(0x183)](JSON[_0x382956(0x1f4)](_0x71572d)['toString'](_0x4e94c9['OhfMz'])),_0x23dc61={};_0x23dc61[_0x382956(0x176)]=_0x325dfd,_0x23dc61[_0x382956(0x1d5)]=_0xf78abc,_0x23dc61['userInputParams']=_0x2d84e8,_0x23dc61[_0x382956(0x18d)]=_0x3f6fd3;const _0x4b2311=await GrpcClient[_0x382956(0x192)]()['driverInit'](_0x23dc61);this['logger'][_0x382956(0x1eb)](_0x4e94c9[_0x382956(0x17c)]);if(_0x4b2311)try{const _0x189f08=_0x4b2311[_0x382956(0x155)]?_0x4b2311[_0x382956(0x155)]():_0x4b2311[_0x382956(0x19d)];if(_0x189f08){let _0x365305;if(Buffer[_0x382956(0x15b)](_0x189f08))_0x365305=JSON[_0x382956(0x158)](_0x189f08[_0x382956(0x138)](_0x4e94c9[_0x382956(0x135)]));else{if(_0x4e94c9[_0x382956(0x1db)](typeof _0x189f08,_0x4e94c9[_0x382956(0x156)])&&_0x4e94c9[_0x382956(0x197)](_0x189f08,null)){const _0x46e26d=Buffer[_0x382956(0x183)](Object[_0x382956(0x1e1)](_0x189f08));_0x365305=JSON[_0x382956(0x158)](_0x46e26d['toString'](_0x4e94c9[_0x382956(0x135)]));}else _0x4e94c9[_0x382956(0x1db)](typeof _0x189f08,_0x4e94c9[_0x382956(0x14d)])?_0x365305=JSON[_0x382956(0x158)](_0x189f08):_0x365305=_0x189f08;}this['logger'][_0x382956(0x1eb)]('onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20'+JSON[_0x382956(0x1f4)](_0x365305)),_0x365305&&_0x4e94c9[_0x382956(0x154)](Object['keys'](_0x365305)['length'],0x0)&&(AutomationFramework[_0x382956(0x13d)](_0xdb25fd['instance'],PuppeteerDriverModule['KEY_CAPABILITIES'],_0x365305),global[_0x382956(0x1f5)]=_0x365305,this[_0x382956(0x199)][_0x382956(0x1eb)](_0x4e94c9[_0x382956(0x18a)]));}const _0x2e2daf=_0x4b2311[_0x382956(0x10d)]?_0x4b2311[_0x382956(0x10d)]():_0x4b2311[_0x382956(0x18d)];_0x2e2daf&&AutomationFramework[_0x382956(0x13d)](_0xdb25fd['instance'],PuppeteerDriverModule[_0x382956(0x1df)],_0x2e2daf);}catch(_0x534445){this[_0x382956(0x199)][_0x382956(0x1eb)](_0x382956(0x13f)+util['format'](_0x534445));}}}catch(_0x4cd747){this[_0x382956(0x199)][_0x382956(0x16c)](_0x382956(0x1b6)+util[_0x382956(0x149)](_0x4cd747));}}async[a90_0x4bfcc7(0x187)](_0x3605e7){const _0x2706b8=a90_0x4bfcc7,_0x370df2={'BKaBw':function(_0x5c874d,_0x2c886f){return _0x5c874d(_0x2c886f);},'hclvR':'onAfterDriverCreate:\x20Setting\x20page\x20object','VfyYt':_0x2706b8(0x1a3),'VVadL':_0x2706b8(0x123),'gBJYY':_0x2706b8(0x15e),'njaJF':function(_0xd2ac,_0x52c2b3){return _0xd2ac>_0x52c2b3;},'VAwkc':_0x2706b8(0x150),'pBrVZ':_0x2706b8(0x110),'Qazzw':function(_0xb9e121,_0x2ad1a9){return _0xb9e121===_0x2ad1a9;},'CZlGj':_0x2706b8(0x16f)};try{this[_0x2706b8(0x199)]['debug']('onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20'+JSON[_0x2706b8(0x1f4)](_0x3605e7));const _0x416192=_0x3605e7[_0x2706b8(0x19c)];this[_0x2706b8(0x11f)]=_0x370df2['BKaBw'](getFrameworkVersion,FRAMEWORKS[_0x2706b8(0x1b0)]);_0x3605e7['page']&&(this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2[_0x2706b8(0x124)]),AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x177)],_0x3605e7[_0x2706b8(0x122)]),_0x3605e7[_0x2706b8(0x1a0)]?(this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2[_0x2706b8(0x1ba)]),AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x1a2)],_0x3605e7[_0x2706b8(0x1a0)]['id']||''),await this[_0x2706b8(0x11d)](_0x416192,_0x3605e7[_0x2706b8(0x1a0)])):this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2[_0x2706b8(0x15a)]));if(_0x3605e7[_0x2706b8(0x142)]){this['logger'][_0x2706b8(0x1eb)](_0x370df2['gBJYY']),AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x17e)],_0x3605e7['browser']);global[_0x2706b8(0x1f5)]&&_0x370df2[_0x2706b8(0x151)](Object[_0x2706b8(0x198)](global[_0x2706b8(0x1f5)])[_0x2706b8(0x161)],0x0)&&(AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x10a)],global[_0x2706b8(0x1f5)]),this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x370df2['VAwkc']));if(_0x3605e7[_0x2706b8(0x1e0)])AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],_0x3605e7[_0x2706b8(0x1e0)]),this[_0x2706b8(0x199)][_0x2706b8(0x1eb)]('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20'+_0x3605e7[_0x2706b8(0x1e0)]);else{if(global[_0x2706b8(0x12d)])AutomationFramework['setState'](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],global['__bstackSessionId']),this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x2706b8(0x1ed)+global[_0x2706b8(0x12d)]);else try{const _0x25c408=_0x3605e7[_0x2706b8(0x122)]||AutomationFramework[_0x2706b8(0x1a1)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x177)]);if(_0x25c408){const _0x147684=await _0x25c408['evaluate'](_0x1084bb=>{},_0x370df2[_0x2706b8(0x1ea)]);if(_0x147684){const _0x359d40=_0x370df2[_0x2706b8(0x14e)](typeof _0x147684,_0x370df2[_0x2706b8(0x14b)])?JSON[_0x2706b8(0x158)](_0x147684):_0x147684;_0x359d40&&_0x359d40[_0x2706b8(0x182)]&&(AutomationFramework['setState'](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],_0x359d40[_0x2706b8(0x182)]),global['__bstackSessionId']=_0x359d40[_0x2706b8(0x182)],this[_0x2706b8(0x199)][_0x2706b8(0x1eb)](_0x2706b8(0x1dd)+_0x359d40[_0x2706b8(0x182)]));}}}catch(_0x40ae2c){this['logger'][_0x2706b8(0x1eb)](_0x2706b8(0x118)+util[_0x2706b8(0x149)](_0x40ae2c));if(_0x3605e7['browser'][_0x2706b8(0x170)]&&_0x3605e7[_0x2706b8(0x142)][_0x2706b8(0x170)][_0x2706b8(0x1c9)])try{const _0x403c46=_0x3605e7[_0x2706b8(0x142)]['_connection'][_0x2706b8(0x1c9)];AutomationFramework[_0x2706b8(0x13d)](_0x416192,PuppeteerDriverModule[_0x2706b8(0x11e)],_0x403c46),this['logger'][_0x2706b8(0x1eb)](_0x2706b8(0x160)+_0x403c46);}catch(_0x3f4653){this[_0x2706b8(0x199)]['debug'](_0x2706b8(0x191)+util[_0x2706b8(0x149)](_0x3f4653));}}}}}catch(_0x2f72cc){this[_0x2706b8(0x199)][_0x2706b8(0x16c)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x2706b8(0x149)](_0x2f72cc));}}async['onAfterTest'](_0x3e084b){const _0x3d3adf=a90_0x4bfcc7,_0x5c4cbe={'WOJPe':'Automation\x20onAfterTest:\x20Test\x20completed','WNSlj':_0x3d3adf(0x179),'kfkvl':'unknown','NUjjj':_0x3d3adf(0x1a6),'wgIiA':function(_0x3d578a,_0x502305){return _0x3d578a>_0x502305;},'wrZwD':function(_0x10d4fd,_0x472281){return _0x10d4fd===_0x472281;},'XhMeu':_0x3d3adf(0x1d1),'wzhKU':_0x3d3adf(0x1ac),'mObse':_0x3d3adf(0x194),'jiMzK':function(_0x30dbe4,_0x590214){return _0x30dbe4===_0x590214;},'fApqQ':'timedOut','pmcXw':function(_0x2e021e,_0x310b80){return _0x2e021e===_0x310b80;},'PSWVb':'skipped','SRjAd':function(_0x39f132,_0x4ab8a9){return _0x39f132===_0x4ab8a9;},'EkvdJ':'skip','HKVjU':function(_0x9e91fc,_0x3e1873){return _0x9e91fc(_0x3e1873);},'NJuvK':'Puppeteer','wBhSx':function(_0x2aa13f){return _0x2aa13f();},'aRWvI':_0x3d3adf(0x146),'xyYFW':_0x3d3adf(0x1d7),'OPofC':_0x3d3adf(0x195)};this[_0x3d3adf(0x199)]['debug'](_0x5c4cbe[_0x3d3adf(0x159)]);const _0x5cbce5=_0x3e084b[_0x3d3adf(0x19c)];if(!_0x5cbce5){this[_0x3d3adf(0x199)][_0x3d3adf(0x1eb)](_0x5c4cbe['WNSlj']);return;}try{const _0x5a928e=_0x3e084b[_0x3d3adf(0x1a0)],_0x112753=_0x3e084b['test'];let _0xff9a90=_0x3e084b[_0x3d3adf(0x152)],_0xd79759=_0x5c4cbe['kfkvl'],_0x35e92d=_0x5c4cbe['NUjjj'],_0x4c9c37=null;_0x5a928e&&(_0xd79759=_0x5a928e[_0x3d3adf(0x1c1)]||_0x112753?.['result']||_0x5c4cbe[_0x3d3adf(0x1a9)],_0x35e92d=_0x5a928e['name']||_0x5a928e[_0x3d3adf(0x1ab)]||_0x112753?.['name']||_0x112753?.[_0x3d3adf(0x1ab)]||_0x5c4cbe[_0x3d3adf(0x162)],_0x4c9c37=_0x5a928e[_0x3d3adf(0x127)]||_0x5a928e[_0x3d3adf(0x16c)]?.[_0x3d3adf(0x147)]||null,_0x112753?.[_0x3d3adf(0x186)]&&_0x5c4cbe[_0x3d3adf(0x1c3)](_0x112753[_0x3d3adf(0x186)][_0x3d3adf(0x161)],0x0)&&(_0x4c9c37=_0x4c9c37||_0x112753[_0x3d3adf(0x186)][_0x3d3adf(0x188)](_0x1c0cce=>_0x1c0cce[_0x3d3adf(0x147)]||_0x1c0cce)[_0x3d3adf(0x148)]('\x0a')));let _0x3ba13e=null;if(_0x5c4cbe['wrZwD'](_0xd79759,_0x5c4cbe['XhMeu']))_0x3ba13e=_0x5c4cbe[_0x3d3adf(0x121)];else{if(_0x5c4cbe[_0x3d3adf(0x143)](_0xd79759,_0x5c4cbe['wzhKU'])||_0x5c4cbe[_0x3d3adf(0x143)](_0xd79759,_0x5c4cbe[_0x3d3adf(0x166)])||_0x5c4cbe[_0x3d3adf(0x132)](_0xd79759,_0x5c4cbe[_0x3d3adf(0x11a)]))_0x3ba13e=_0x5c4cbe[_0x3d3adf(0x1bb)];else(_0x5c4cbe[_0x3d3adf(0x18c)](_0xd79759,_0x5c4cbe[_0x3d3adf(0x167)])||_0x5c4cbe[_0x3d3adf(0x1e3)](_0xd79759,_0x5c4cbe['EkvdJ']))&&(_0x3ba13e=_0x5c4cbe[_0x3d3adf(0x167)]);}this[_0x3d3adf(0x1a4)]&&_0x5c4cbe[_0x3d3adf(0x143)](this[_0x3d3adf(0x1a4)][_0x3d3adf(0x1dc)],FRAMEWORKS[_0x3d3adf(0x1c0)])?(_0xff9a90=this[_0x3d3adf(0x1d8)]['recreateIdentifierFromTestInfo'](_0x5a928e,_0xff9a90),this[_0x3d3adf(0x199)]['debug']('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0xff9a90)):_0xff9a90=_0x112753?.['id']||_0x112753?.[_0x3d3adf(0x15f)]||process[_0x3d3adf(0x1ca)]+_0x3d3adf(0x125);const _0x543c2b=TestInfo[_0x3d3adf(0x1c7)](_0xff9a90),_0x15cd30=AutomationFramework[_0x3d3adf(0x1a1)](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x12e)])||global['__bstackPlatformIndex'],_0x26d6c6=_0x543c2b?.[TestFrameworkConstants[_0x3d3adf(0x163)]]||this[_0x3d3adf(0x1a4)]&&this[_0x3d3adf(0x1a4)][_0x3d3adf(0x1dc)],_0x3c8f42=_0x543c2b?.[TestFrameworkConstants[_0x3d3adf(0x10c)]]||this['testFrameworkData']&&this[_0x3d3adf(0x1a4)][_0x3d3adf(0x1a7)],_0x6f5c46=TestFrameworkState['TEST'][_0x3d3adf(0x138)]()[_0x3d3adf(0x1e6)]('.')[0x1],_0x414969=HookState[_0x3d3adf(0x1f1)][_0x3d3adf(0x138)]()[_0x3d3adf(0x1e6)]('.')[0x1],_0x1ef670=_0x5cbce5[_0x3d3adf(0x141)](),_0x3b5039=AutomationFramework[_0x3d3adf(0x1a1)](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x1df)],'')||BrowserstackCLI[_0x3d3adf(0x192)]()['getConfig']()?.['hubUrl']||'',_0x51fc2a=AutomationFramework[_0x3d3adf(0x1a1)](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x11e)],'')||global[_0x3d3adf(0x12d)]||'',_0x14adea={'provider':_0x5c4cbe[_0x3d3adf(0x1c5)](getPlaywrightProvider,_0x3b5039),'frameworkName':_0x5c4cbe[_0x3d3adf(0x175)],'frameworkVersion':this['puppeteerVersion']||'','frameworkSessionId':LoadTestModule[_0x3d3adf(0x16a)]()?LoadTestModule[_0x3d3adf(0x117)]():_0x51fc2a,'ref':PuppeteerDriverModule[_0x3d3adf(0x153)]||_0x5cbce5[_0x3d3adf(0x130)](),'hubUrl':_0x3b5039,'product':_0x5c4cbe[_0x3d3adf(0x1c2)](getProductForSession)};let _0x31cf5a=AutomationFramework['getState'](_0x5cbce5,PuppeteerDriverModule[_0x3d3adf(0x10a)],null)||global[_0x3d3adf(0x1f5)]||global[_0x3d3adf(0x1ef)]||{};_0x31cf5a&&_0x5c4cbe[_0x3d3adf(0x1c3)](Object[_0x3d3adf(0x198)](_0x31cf5a)['length'],0x0)?_0x31cf5a=Buffer[_0x3d3adf(0x183)](JSON[_0x3d3adf(0x1f4)](_0x31cf5a))['toString'](_0x5c4cbe[_0x3d3adf(0x1af)]):_0x31cf5a=Buffer[_0x3d3adf(0x183)](JSON[_0x3d3adf(0x1f4)]({}))[_0x3d3adf(0x138)](_0x5c4cbe['aRWvI']);const _0x168ba4={'hash':_0x1ef670[_0x3d3adf(0x1b8)](),'threadId':_0x1ef670[_0x3d3adf(0x171)]()['toString'](),'processId':_0x1ef670['getProcessId']()[_0x3d3adf(0x138)]()},_0x341fb1={};_0x341fb1[_0x3d3adf(0x176)]=_0x15cd30,_0x341fb1[_0x3d3adf(0x16e)]=_0x26d6c6,_0x341fb1[_0x3d3adf(0x133)]=_0x3c8f42,_0x341fb1[_0x3d3adf(0x196)]=_0x6f5c46,_0x341fb1[_0x3d3adf(0x180)]=_0x414969,_0x341fb1[_0x3d3adf(0x13e)]=_0xff9a90,_0x341fb1[_0x3d3adf(0x13b)]=_0x14adea,_0x341fb1[_0x3d3adf(0x19d)]=_0x31cf5a,_0x341fb1[_0x3d3adf(0x15d)]=_0x168ba4;const _0x33011b=_0x341fb1;this[_0x3d3adf(0x199)]['debug'](_0x3d3adf(0x18e)+util[_0x3d3adf(0x149)](_0x33011b)),GrpcClient[_0x3d3adf(0x192)]()[_0x3d3adf(0x189)](_0x33011b),this[_0x3d3adf(0x199)][_0x3d3adf(0x1eb)](_0x3d3adf(0x120)+_0xff9a90);if(!_0x3ba13e){this['logger'][_0x3d3adf(0x1eb)](_0x5c4cbe['xyYFW'],_0xd79759);return;}this[_0x3d3adf(0x199)]['debug'](_0x5c4cbe['OPofC']),_0x5a928e&&await this[_0x3d3adf(0x11d)](_0x5cbce5,_0x5a928e),await this[_0x3d3adf(0x144)](_0x5cbce5,_0x35e92d,_0x3ba13e,_0x4c9c37);}catch(_0x235255){this[_0x3d3adf(0x199)][_0x3d3adf(0x16c)]('Error\x20in\x20onAfterTest:\x20'+util[_0x3d3adf(0x149)](_0x235255));}}async[a90_0x4bfcc7(0x14a)](_0x453567){const _0x4da028=a90_0x4bfcc7,_0x18104f={};_0x18104f['RUQmn']=_0x4da028(0x157),_0x18104f[_0x4da028(0x19b)]=_0x4da028(0x10b),_0x18104f[_0x4da028(0x14c)]=_0x4da028(0x17a);const _0x26e8dc=_0x18104f;try{this[_0x4da028(0x199)]['debug'](_0x26e8dc[_0x4da028(0x129)]);const _0xb050ac=_0x453567[_0x4da028(0x19c)];if(!_0xb050ac){this[_0x4da028(0x199)][_0x4da028(0x1eb)](_0x26e8dc[_0x4da028(0x19b)]);return;}AutomationFramework[_0x4da028(0x13d)](_0xb050ac,PuppeteerDriverModule['KEY_PAGE_OBJECT'],null),AutomationFramework[_0x4da028(0x13d)](_0xb050ac,PuppeteerDriverModule['KEY_BROWSER_OBJECT'],null),this[_0x4da028(0x199)]['debug'](_0x26e8dc[_0x4da028(0x14c)]);}catch(_0x6d437a){this['logger']['error'](_0x4da028(0x131)+util[_0x4da028(0x149)](_0x6d437a));}}async[a90_0x4bfcc7(0x11d)](_0x40fc74,_0x143dc1){const _0x395ac9=a90_0x4bfcc7,_0x16817c={};_0x16817c['GBLis']=_0x395ac9(0x1e4),_0x16817c['VgjyW']=_0x395ac9(0x1da),_0x16817c[_0x395ac9(0x169)]=_0x395ac9(0x1d2);const _0x166a70=_0x16817c;try{if(CLIUtils[_0x395ac9(0x128)](BrowserstackCLI[_0x395ac9(0x192)]()[_0x395ac9(0x134)]())){this[_0x395ac9(0x199)][_0x395ac9(0x1eb)](_0x166a70[_0x395ac9(0x1a5)]);return;}const _0x59251a=AutomationFramework[_0x395ac9(0x1a1)](_0x40fc74,PuppeteerDriverModule[_0x395ac9(0x177)]);if(!_0x59251a){this['logger']['debug'](_0x166a70[_0x395ac9(0x184)]);return;}const _0x3a3a0a=_0x143dc1[_0x395ac9(0x1dc)]||_0x143dc1[_0x395ac9(0x1ab)]||_0x143dc1['fullName'],_0x2d88f3={};_0x2d88f3[_0x395ac9(0x1dc)]=_0x3a3a0a;const _0x4d8636={};_0x4d8636['action']=_0x166a70[_0x395ac9(0x169)],_0x4d8636['arguments']=_0x2d88f3;const _0x4fb9ba=_0x4d8636;PerformanceTester[_0x395ac9(0x165)](PerformanceEvents['SESSION_NAME']),await this[_0x395ac9(0x193)](_0x59251a,_0x4fb9ba),PerformanceTester[_0x395ac9(0x1ae)](PerformanceEvents['SESSION_NAME']);}catch(_0x591364){PerformanceTester['end'](PerformanceEvents[_0x395ac9(0x12c)],![],util[_0x395ac9(0x149)](_0x591364)),this[_0x395ac9(0x199)][_0x395ac9(0x16c)](_0x395ac9(0x1f2)+util['format'](_0x591364));}}async['markSessionStatus'](_0x4f4ca1,_0x1acd13,_0x3eb70f,_0xfb5851){const _0xef0893=a90_0x4bfcc7,_0x51073f={};_0x51073f['TazzZ']=_0xef0893(0x11b),_0x51073f[_0xef0893(0x111)]='markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available',_0x51073f[_0xef0893(0x1b5)]=_0xef0893(0x19a),_0x51073f[_0xef0893(0x1f3)]=_0xef0893(0x1d7),_0x51073f[_0xef0893(0x1cf)]='setSessionStatus',_0x51073f[_0xef0893(0x16d)]='reason',_0x51073f['kuhwF']='markSessionStatus:\x20Marking\x20session\x20status';const _0x31a1c0=_0x51073f;if(CLIUtils[_0xef0893(0x1f0)](BrowserstackCLI[_0xef0893(0x192)]()[_0xef0893(0x134)]())){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x112)]);return;}const _0x39355b=_0x4f4ca1;if(!_0x39355b){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0['zPdws']);return;}const _0x20ca04=AutomationFramework[_0xef0893(0x1a1)](_0x39355b,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(!_0x20ca04){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x1b5)]);return;}if(!_0x3eb70f){this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x1f3)],_0x3eb70f);return;}const _0x30e1ef={};_0x30e1ef['status']=_0x3eb70f;const _0x48e4b7={};_0x48e4b7[_0xef0893(0x1c6)]=_0x31a1c0[_0xef0893(0x1cf)],_0x48e4b7[_0xef0893(0x1cb)]=_0x30e1ef;const _0x24a116=_0x48e4b7;_0xfb5851&&(_0x24a116[_0xef0893(0x1cb)][_0x31a1c0[_0xef0893(0x16d)]]=_0xfb5851),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0xef0893(0x199)][_0xef0893(0x1eb)](_0x31a1c0[_0xef0893(0x18f)]),await this[_0xef0893(0x193)](_0x20ca04,_0x24a116),PerformanceTester[_0xef0893(0x1ae)](PerformanceEvents['SESSION_STATUS']);}async[a90_0x4bfcc7(0x193)](_0x1cac8c,_0x5c249e){const _0x593c8d=a90_0x4bfcc7,_0xace88={'NCgdN':function(_0x40b3e9,_0x4601b9,_0x453319){return _0x40b3e9(_0x4601b9,_0x453319);},'XUGAL':function(_0x280319,_0x568b47){return _0x280319(_0x568b47);}};try{const _0x414c6a=0x3a98,_0x3063cf=_0x593c8d(0x1b3)+JSON[_0x593c8d(0x1f4)](_0x5c249e),_0x202f10=_0x1cac8c[_0x593c8d(0x173)](_0x21e903=>{},_0x3063cf);let _0x3e31c6;await Promise[_0x593c8d(0x1e7)]([_0x202f10,new Promise((_0x555fe8,_0x3834bb)=>{const _0xe6c0b7=_0x593c8d;_0x3e31c6=_0xace88[_0xe6c0b7(0x1d6)](setTimeout,()=>_0x3834bb(new Error(_0xe6c0b7(0x1b9)+_0x414c6a+'ms')),_0x414c6a);})])[_0x593c8d(0x17d)](()=>{_0xace88['XUGAL'](clearTimeout,_0x3e31c6);});}catch(_0x4c7e11){this[_0x593c8d(0x199)][_0x593c8d(0x1eb)](_0x593c8d(0x19e)+(_0x4c7e11[_0x593c8d(0x147)]||_0x4c7e11));}}}module['exports']=PuppeteerDriverModule;
1
+ const a90_0x8ee088=a90_0x5548;(function(_0x15f3ad,_0x1540c1){const _0x4ae916=a90_0x5548,_0x3906c4=_0x15f3ad();while(!![]){try{const _0x306fa2=-parseInt(_0x4ae916(0x16c))/0x1*(parseInt(_0x4ae916(0x10b))/0x2)+parseInt(_0x4ae916(0x18b))/0x3*(parseInt(_0x4ae916(0x1c9))/0x4)+-parseInt(_0x4ae916(0x1ef))/0x5*(-parseInt(_0x4ae916(0x147))/0x6)+-parseInt(_0x4ae916(0x1d4))/0x7*(-parseInt(_0x4ae916(0x1ea))/0x8)+parseInt(_0x4ae916(0x1dc))/0x9*(-parseInt(_0x4ae916(0x19e))/0xa)+parseInt(_0x4ae916(0x15d))/0xb+parseInt(_0x4ae916(0x171))/0xc;if(_0x306fa2===_0x1540c1)break;else _0x3906c4['push'](_0x3906c4['shift']());}catch(_0x5cd5b5){_0x3906c4['push'](_0x3906c4['shift']());}}}(a90_0x4efb,0xe0e42));function a90_0x4efb(){const _0x20d2a9=['parse','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','result','sessionId','errorsDetailed','testHookState','setSessionStatus','KEY_TEST_ID','testIdentifier','action','69VWflgJ','browserstack_executor\x20timeout\x20after\x20','otWvI','zNmDG','./baseModule','../TestInfo.js','isLTSSession','lqUlc','launchcaps','../cliUtils.js','browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','_driverInitRef','WBHxj','PUPPETEER','oVtvW','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','setSessionName','skipped','../state/automationFrameworkState.js','10Krpzwh','ixToA','XIKnb','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20','shouldSkipSessionStatus','tihzk','eFYtR','values','stQPw','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status','getRef','status','keys','PRE','KEY_PLATFORM_DETAILS','testFrameworkName','VlJqS','arguments','_url','getConfig','KZQlk','instance','jnfWN','join','puppeteer_session_id','../browserstackCLI.js','browserName','capabilities','puppeteer_test_id','_connection','../../../helpers/test-observability/utils','MODULE_NAME','Error\x20in\x20onAfterDriverCreate:\x20','message','dAMer','GImMk','toString','WdhcD','QUIT','executionContext','nSmDk','onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20','driverInit','33172xKJPiT','AoPBE','isPuppeteer','shouldSkipSessionName','puppeteerVersion','bgkXD','evaluate','name','getThreadId','object','Automation\x20onAfterTest:\x20Test\x20completed','7XhXhFb','onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','util','__bstackSessionId','__bstackPlatformIndex','onAfterDriverCreate','error','onAfterDriverCreate:\x20driverInit\x20response\x20received','11635614KnXnKP','PNOak','testSessionEvent','hubUrl','onAfterTest\x20CBTSession\x20payload:\x20','fmgws','fTeYS','puppeteer_hub_url','setState','bind','CREATE','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','../../../helpers/performance/constants.js','title','720744zqyqTz','getHubUrl','logger','onAfterDriverCreate:\x20Setting\x20page\x20object','KEY_PAGE_OBJECT','25drurBf','HwtbE','getModuleName','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','race','onBeforeQuit','testInfo','oVJmU','onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20','platformIndex','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','gtqxh','markSessionStatus','271944csULlS','PPDjQ','KEY_TEST_FRAMEWORK_NAME','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','utf8','_driverInitCalledForRef','page','onAfterDriverCreate:\x20Setting\x20browser\x20object','getProcessId','end','LiDuQ','../framework/testFramework.js','test_identifier','BzePT','markSessionStatus:\x20Marking\x20session\x20status','test','pnMdr','pid','__launchCaps','base64','../../../helpers/performance/performance-tester.js','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20','split','testFrameworkData','puppeteer_platform_details','puppeteerBstackExecutor','testFrameworkState','FlvRb','Uicjk','ugooe','add','Unknown\x20Test','fullName','Axsgb','getInstance','browser','CUCAF','passed','../grpcClient.js','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','timedOut','platforms','Error\x20in\x20markSessionName:\x20','skip','KEY_CAPABILITIES','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20','EYzGW','MUaxI','zcBXx','MNJeS','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','onAfterTest','length','atsYE','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20','../../../helpers/helper','onBeforeDriverCreate',':testAnalyticsId','10|2|6|9|0|5|8|11|4|7|3|1','from','611502rniXug','JSmUg','registerObserver','onBeforeQuit:\x20No\x20automation\x20instance\x20available','getLTSSessionId','debug','ref','EETPq','giDHg','has','format','unknown','gxyGZ','browserVersion','../../../helpers/helper.js','getState','getCapabilities','ylWtK','../framework/constants/testFrameworkConstants.js','markSessionName','failureMessage','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20','16784922IAZLpA','frLaU','WHZng','KEY_PLATFORM_INDEX',',\x20skipping\x20duplicate','./loadTestModule.js','nDvuz','TEST','reason','browserstack_executor:\x20','onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20','markSessionName:\x20Skipping\x20session\x20name\x20marking','HPUQP','JEST','onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20','11xWaPzQ','puppeteer_capabilities','../../../helpers/classLogger.js','AQmUS','SESSION_STATUS','16720476fEeQnX','recreateIdentifierFromTestInfo','hashed_id','KEY_HUB_URL','POST','PuppeteerDriverModule','FJSdC','KEY_SESSION_ID','getTestDetails','Error\x20in\x20onBeforeQuit:\x20','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KEY_BROWSER_OBJECT','testRunId','SESSION_NAME','stringify','string'];a90_0x4efb=function(){return _0x20d2a9;};return a90_0x4efb();}function a90_0x5548(_0x5439fc,_0xa2976){const _0x4efbd9=a90_0x4efb();return a90_0x5548=function(_0x55480c,_0xadbc54){_0x55480c=_0x55480c-0x10a;let _0x3c2bf0=_0x4efbd9[_0x55480c];return _0x3c2bf0;},a90_0x5548(_0x5439fc,_0xa2976);}const util=require(a90_0x8ee088(0x1d6)),BaseModule=require(a90_0x8ee088(0x18f)),{createClassLogger}=require(a90_0x8ee088(0x16e)),{getFrameworkVersion}=require(a90_0x8ee088(0x1bc)),helper=require(a90_0x8ee088(0x142)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a90_0x8ee088(0x19d)),HookState=require('../state/hookState.js'),{nestedKeyValue,playwrightBstackJsExecutor}=require('../../../helpers/helper.js'),CLIUtils=require(a90_0x8ee088(0x194)),BrowserstackCLI=require(a90_0x8ee088(0x1b7)),GrpcClient=require(a90_0x8ee088(0x131)),PerformanceTester=require(a90_0x8ee088(0x11f)),PerformanceEvents=require(a90_0x8ee088(0x1e8))['AUTOMATE_EVENTS'],TestInfo=require(a90_0x8ee088(0x190)),{getPlaywrightProvider,getProductForSession}=require(a90_0x8ee088(0x155)),LoadTestModule=require(a90_0x8ee088(0x162)),TestFrameworkConstants=require(a90_0x8ee088(0x159)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require('../utils/jest-utils.js'),TestFramework=require(a90_0x8ee088(0x116));class PuppeteerDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']='puppeteer_browser';static [a90_0x8ee088(0x1ee)]='puppeteer_page';static [a90_0x8ee088(0x178)]=a90_0x8ee088(0x1b6);static [a90_0x8ee088(0x160)]='puppeteer_platform_index';static [a90_0x8ee088(0x137)]=a90_0x8ee088(0x16d);static [a90_0x8ee088(0x174)]=a90_0x8ee088(0x1e3);static [a90_0x8ee088(0x1ac)]=a90_0x8ee088(0x123);static [a90_0x8ee088(0x188)]=a90_0x8ee088(0x1ba);static [a90_0x8ee088(0x1bd)]=a90_0x8ee088(0x176);static [a90_0x8ee088(0x110)]=new Set();static [a90_0x8ee088(0x196)]=null;[a90_0x8ee088(0x1ec)]=createClassLogger(a90_0x8ee088(0x176));constructor(_0x2dd2e2=null){const _0x1a7b70=a90_0x8ee088,_0x51e3b6={};_0x51e3b6[_0x1a7b70(0x10c)]=_0x1a7b70(0x145),_0x51e3b6[_0x1a7b70(0x1e2)]=_0x1a7b70(0x176);const _0x2d3aa7=_0x51e3b6,_0x128b55=_0x2d3aa7[_0x1a7b70(0x10c)][_0x1a7b70(0x121)]('|');let _0x41a052=0x0;while(!![]){switch(_0x128b55[_0x41a052++]){case'0':this[_0x1a7b70(0x154)]=null;continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x1a7b70(0x1c4)],HookState[_0x1a7b70(0x1ab)],this[_0x1a7b70(0x1f4)][_0x1a7b70(0x1e5)](this));continue;case'2':this[_0x1a7b70(0x1d0)]=_0x2d3aa7[_0x1a7b70(0x1e2)];continue;case'3':TestFramework[_0x1a7b70(0x149)](TestFrameworkState[_0x1a7b70(0x164)],HookState['POST'],this[_0x1a7b70(0x13e)][_0x1a7b70(0x1e5)](this));continue;case'4':AutomationFramework[_0x1a7b70(0x149)](AutomationFrameworkState[_0x1a7b70(0x1e6)],HookState['PRE'],this[_0x1a7b70(0x143)]['bind'](this));continue;case'5':this[_0x1a7b70(0x134)]=[];continue;case'6':this['puppeteerVersion']=null;continue;case'7':AutomationFramework[_0x1a7b70(0x149)](AutomationFrameworkState[_0x1a7b70(0x1e6)],HookState[_0x1a7b70(0x175)],this['onAfterDriverCreate'][_0x1a7b70(0x1e5)](this));continue;case'8':this[_0x1a7b70(0x17d)]=null;continue;case'9':this[_0x1a7b70(0x1b8)]=null;continue;case'10':super(_0x2dd2e2);continue;case'11':this['jestUtils']=new JestUtils();continue;}break;}}[a90_0x8ee088(0x1f1)](){const _0x53bcdd=a90_0x8ee088;return PuppeteerDriverModule[_0x53bcdd(0x1bd)];}async[a90_0x8ee088(0x143)](_0x24b476){const _0x32d17d=a90_0x8ee088,_0xc49541={};_0xc49541['eFYtR']=_0x32d17d(0x1f2),_0xc49541[_0x32d17d(0x15e)]=_0x32d17d(0x11e),_0xc49541['tihzk']=_0x32d17d(0x1db),_0xc49541[_0x32d17d(0x13b)]=_0x32d17d(0x10f),_0xc49541['ugooe']=function(_0x41e39b,_0x460128){return _0x41e39b===_0x460128;},_0xc49541[_0x32d17d(0x192)]=_0x32d17d(0x1d2),_0xc49541[_0x32d17d(0x14f)]=function(_0x161f80,_0x1cb8b9){return _0x161f80!==_0x1cb8b9;},_0xc49541[_0x32d17d(0x13c)]='string',_0xc49541[_0x32d17d(0x1a6)]=function(_0x479be0,_0x34aa64){return _0x479be0>_0x34aa64;},_0xc49541[_0x32d17d(0x19f)]=_0x32d17d(0x182);const _0x4acb8d=_0xc49541;try{this[_0x32d17d(0x1ec)][_0x32d17d(0x14c)](_0x4acb8d[_0x32d17d(0x1a4)]);const _0xdb7752=_0x24b476[_0x32d17d(0x193)],_0x259d9e=_0x24b476[_0x32d17d(0x1df)];AutomationFramework[_0x32d17d(0x1e4)](_0x24b476[_0x32d17d(0x1b3)],PuppeteerDriverModule[_0x32d17d(0x137)],_0xdb7752),AutomationFramework[_0x32d17d(0x1e4)](_0x24b476[_0x32d17d(0x1b3)],PuppeteerDriverModule[_0x32d17d(0x174)],_0x259d9e);const _0x2af008=_0x24b476['instance'][_0x32d17d(0x1a8)](),_0x23c750=global[_0x32d17d(0x1d8)]||0x0;AutomationFramework[_0x32d17d(0x1e4)](_0x24b476[_0x32d17d(0x1b3)],PuppeteerDriverModule[_0x32d17d(0x160)],_0x23c750);if(PuppeteerDriverModule[_0x32d17d(0x110)][_0x32d17d(0x150)](_0x2af008))this['logger'][_0x32d17d(0x14c)](_0x32d17d(0x1c7)+_0x2af008+_0x32d17d(0x161));else{PuppeteerDriverModule['_driverInitCalledForRef'][_0x32d17d(0x129)](_0x2af008),PuppeteerDriverModule['_driverInitRef']=_0x2af008;const _0x1e6af4={..._0xdb7752};_0x1e6af4[_0x32d17d(0x1cb)]=!![];const _0x27c040=Buffer[_0x32d17d(0x146)](JSON[_0x32d17d(0x17f)](_0x1e6af4)[_0x32d17d(0x1c2)](_0x4acb8d['frLaU'])),_0x267f35={};_0x267f35[_0x32d17d(0x1f8)]=_0x23c750,_0x267f35[_0x32d17d(0x14d)]=_0x2af008,_0x267f35['userInputParams']=_0x27c040,_0x267f35[_0x32d17d(0x1df)]=_0x259d9e;const _0x31107a=await GrpcClient['getInstance']()[_0x32d17d(0x1c8)](_0x267f35);this['logger'][_0x32d17d(0x14c)](_0x4acb8d[_0x32d17d(0x1a3)]);if(_0x31107a)try{const _0x56649e=_0x31107a[_0x32d17d(0x157)]?_0x31107a[_0x32d17d(0x157)]():_0x31107a['capabilities'];if(_0x56649e){let _0x454f1f;if(Buffer['isBuffer'](_0x56649e))_0x454f1f=JSON[_0x32d17d(0x181)](_0x56649e[_0x32d17d(0x1c2)](_0x4acb8d[_0x32d17d(0x13b)]));else{if(_0x4acb8d[_0x32d17d(0x128)](typeof _0x56649e,_0x4acb8d['lqUlc'])&&_0x4acb8d[_0x32d17d(0x14f)](_0x56649e,null)){const _0x355eff=Buffer[_0x32d17d(0x146)](Object[_0x32d17d(0x1a5)](_0x56649e));_0x454f1f=JSON[_0x32d17d(0x181)](_0x355eff[_0x32d17d(0x1c2)](_0x4acb8d[_0x32d17d(0x13b)]));}else _0x4acb8d[_0x32d17d(0x128)](typeof _0x56649e,_0x4acb8d['MNJeS'])?_0x454f1f=JSON[_0x32d17d(0x181)](_0x56649e):_0x454f1f=_0x56649e;}this[_0x32d17d(0x1ec)]['debug'](_0x32d17d(0x1f7)+JSON[_0x32d17d(0x17f)](_0x454f1f)),_0x454f1f&&_0x4acb8d[_0x32d17d(0x1a6)](Object[_0x32d17d(0x1aa)](_0x454f1f)['length'],0x0)&&(AutomationFramework[_0x32d17d(0x1e4)](_0x24b476[_0x32d17d(0x1b3)],PuppeteerDriverModule['KEY_CAPABILITIES'],_0x454f1f),global[_0x32d17d(0x11d)]=_0x454f1f,this['logger'][_0x32d17d(0x14c)](_0x4acb8d[_0x32d17d(0x19f)]));}const _0x597e54=_0x31107a[_0x32d17d(0x1eb)]?_0x31107a[_0x32d17d(0x1eb)]():_0x31107a['hubUrl'];_0x597e54&&AutomationFramework[_0x32d17d(0x1e4)](_0x24b476[_0x32d17d(0x1b3)],PuppeteerDriverModule[_0x32d17d(0x174)],_0x597e54);}catch(_0x5ede34){this[_0x32d17d(0x1ec)][_0x32d17d(0x14c)](_0x32d17d(0x13d)+util[_0x32d17d(0x151)](_0x5ede34));}}}catch(_0x484c86){this[_0x32d17d(0x1ec)]['error']('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x32d17d(0x151)](_0x484c86));}}async[a90_0x8ee088(0x1d9)](_0x1587ae){const _0x426dfa=a90_0x8ee088,_0x54ed70={'bgkXD':function(_0x35e6ac,_0x52b426){return _0x35e6ac(_0x52b426);},'KZQlk':_0x426dfa(0x1ed),'gtqxh':_0x426dfa(0x132),'wcJki':_0x426dfa(0x1d5),'pnMdr':_0x426dfa(0x112),'PNOak':function(_0x104110,_0x5504d8){return _0x104110>_0x5504d8;},'hrbWs':_0x426dfa(0x1e7),'dzEPk':_0x426dfa(0x195),'jnfWN':function(_0x554885,_0x4578bd){return _0x554885===_0x4578bd;},'Axsgb':_0x426dfa(0x180)};try{this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)]('onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20'+JSON[_0x426dfa(0x17f)](_0x1587ae));const _0x434f08=_0x1587ae[_0x426dfa(0x1b3)];this[_0x426dfa(0x1cd)]=_0x54ed70[_0x426dfa(0x1ce)](getFrameworkVersion,FRAMEWORKS[_0x426dfa(0x198)]);_0x1587ae[_0x426dfa(0x111)]&&(this['logger']['debug'](_0x54ed70[_0x426dfa(0x1b2)]),AutomationFramework['setState'](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x1ee)],_0x1587ae[_0x426dfa(0x111)]),_0x1587ae[_0x426dfa(0x1f5)]?(this['logger'][_0x426dfa(0x14c)](_0x54ed70[_0x426dfa(0x1fa)]),AutomationFramework[_0x426dfa(0x1e4)](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x188)],_0x1587ae[_0x426dfa(0x1f5)]['id']||''),await this[_0x426dfa(0x15a)](_0x434f08,_0x1587ae[_0x426dfa(0x1f5)])):this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)](_0x54ed70['wcJki']));if(_0x1587ae[_0x426dfa(0x12e)]){this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)](_0x54ed70[_0x426dfa(0x11b)]),AutomationFramework[_0x426dfa(0x1e4)](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x17c)],_0x1587ae[_0x426dfa(0x12e)]);global[_0x426dfa(0x11d)]&&_0x54ed70[_0x426dfa(0x1dd)](Object['keys'](global['__launchCaps'])[_0x426dfa(0x13f)],0x0)&&(AutomationFramework[_0x426dfa(0x1e4)](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x137)],global['__launchCaps']),this['logger'][_0x426dfa(0x14c)](_0x54ed70['hrbWs']));if(_0x1587ae['sessionId'])AutomationFramework[_0x426dfa(0x1e4)](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x178)],_0x1587ae['sessionId']),this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)](_0x426dfa(0x120)+_0x1587ae[_0x426dfa(0x184)]);else{if(global[_0x426dfa(0x1d7)])AutomationFramework[_0x426dfa(0x1e4)](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x178)],global[_0x426dfa(0x1d7)]),this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)](_0x426dfa(0x141)+global[_0x426dfa(0x1d7)]);else try{const _0x4b8ab0=_0x1587ae['page']||AutomationFramework[_0x426dfa(0x156)](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x1ee)]);if(_0x4b8ab0){const _0x5f5a5a=await _0x4b8ab0['evaluate'](_0x168b0d=>{},_0x54ed70['dzEPk']);if(_0x5f5a5a){const _0x2e84bd=_0x54ed70[_0x426dfa(0x1b4)](typeof _0x5f5a5a,_0x54ed70[_0x426dfa(0x12c)])?JSON[_0x426dfa(0x181)](_0x5f5a5a):_0x5f5a5a;_0x2e84bd&&_0x2e84bd[_0x426dfa(0x173)]&&(AutomationFramework['setState'](_0x434f08,PuppeteerDriverModule['KEY_SESSION_ID'],_0x2e84bd[_0x426dfa(0x173)]),global[_0x426dfa(0x1d7)]=_0x2e84bd[_0x426dfa(0x173)],this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)](_0x426dfa(0x167)+_0x2e84bd[_0x426dfa(0x173)]));}}}catch(_0x4a766e){this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)](_0x426dfa(0x138)+util[_0x426dfa(0x151)](_0x4a766e));if(_0x1587ae[_0x426dfa(0x12e)][_0x426dfa(0x1bb)]&&_0x1587ae['browser']['_connection'][_0x426dfa(0x1b0)])try{const _0x42bc19=_0x1587ae[_0x426dfa(0x12e)][_0x426dfa(0x1bb)]['_url'];AutomationFramework['setState'](_0x434f08,PuppeteerDriverModule[_0x426dfa(0x178)],_0x42bc19),this['logger'][_0x426dfa(0x14c)](_0x426dfa(0x1a1)+_0x42bc19);}catch(_0x612385){this[_0x426dfa(0x1ec)][_0x426dfa(0x14c)](_0x426dfa(0x15c)+util[_0x426dfa(0x151)](_0x612385));}}}}}catch(_0x5d0f73){this[_0x426dfa(0x1ec)][_0x426dfa(0x1da)](_0x426dfa(0x1be)+util[_0x426dfa(0x151)](_0x5d0f73));}}async[a90_0x8ee088(0x13e)](_0x260b85){const _0x10b64d=a90_0x8ee088,_0x38e874={'sqQcN':_0x10b64d(0x1d3),'jfFBm':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','dAMer':_0x10b64d(0x152),'oVtvW':_0x10b64d(0x12a),'oVJmU':function(_0x573bb5,_0x522fe5){return _0x573bb5>_0x522fe5;},'WdhcD':function(_0x5c2464,_0xb58bdd){return _0x5c2464===_0xb58bdd;},'otWvI':_0x10b64d(0x130),'AQmUS':function(_0x2b119e,_0x168401){return _0x2b119e===_0x168401;},'WHZng':'failed','FlvRb':'timedout','LiDuQ':function(_0x57ab7f,_0x4786aa){return _0x57ab7f===_0x4786aa;},'XVDea':_0x10b64d(0x133),'sCKiF':function(_0x3779f7,_0x3c9c7c){return _0x3779f7===_0x3c9c7c;},'BzePT':_0x10b64d(0x19c),'XIKnb':function(_0x34532d,_0x4ee91e){return _0x34532d===_0x4ee91e;},'GImMk':_0x10b64d(0x136),'atsYE':function(_0x4b0972,_0x750c36){return _0x4b0972(_0x750c36);},'Uicjk':'Puppeteer','FJSdC':function(_0x52a963){return _0x52a963();},'gxyGZ':_0x10b64d(0x11e),'WBHxj':_0x10b64d(0x19a),'MjCwP':_0x10b64d(0x1a7)};this[_0x10b64d(0x1ec)][_0x10b64d(0x14c)](_0x38e874['sqQcN']);const _0x521c76=_0x260b85[_0x10b64d(0x1b3)];if(!_0x521c76){this[_0x10b64d(0x1ec)][_0x10b64d(0x14c)](_0x38e874['jfFBm']);return;}try{const _0x20b8b1=_0x260b85[_0x10b64d(0x1f5)],_0x7b49ac=_0x260b85[_0x10b64d(0x11a)];let _0x1a8e7e=_0x260b85[_0x10b64d(0x189)],_0x381bc9=_0x38e874[_0x10b64d(0x1c0)],_0x2c58f4=_0x38e874['oVtvW'],_0x43fd84=null;_0x20b8b1&&(_0x381bc9=_0x20b8b1[_0x10b64d(0x1a9)]||_0x7b49ac?.[_0x10b64d(0x183)]||_0x38e874[_0x10b64d(0x1c0)],_0x2c58f4=_0x20b8b1[_0x10b64d(0x1d0)]||_0x20b8b1[_0x10b64d(0x1e9)]||_0x7b49ac?.[_0x10b64d(0x1d0)]||_0x7b49ac?.[_0x10b64d(0x1e9)]||_0x38e874[_0x10b64d(0x199)],_0x43fd84=_0x20b8b1[_0x10b64d(0x15b)]||_0x20b8b1['error']?.[_0x10b64d(0x1bf)]||null,_0x7b49ac?.[_0x10b64d(0x185)]&&_0x38e874[_0x10b64d(0x1f6)](_0x7b49ac[_0x10b64d(0x185)][_0x10b64d(0x13f)],0x0)&&(_0x43fd84=_0x43fd84||_0x7b49ac['errorsDetailed']['map'](_0x2f24e1=>_0x2f24e1[_0x10b64d(0x1bf)]||_0x2f24e1)[_0x10b64d(0x1b5)]('\x0a')));let _0x580ed1=null;if(_0x38e874[_0x10b64d(0x1c3)](_0x381bc9,_0x38e874[_0x10b64d(0x18d)]))_0x580ed1=_0x38e874[_0x10b64d(0x18d)];else{if(_0x38e874[_0x10b64d(0x16f)](_0x381bc9,_0x38e874[_0x10b64d(0x15f)])||_0x38e874[_0x10b64d(0x16f)](_0x381bc9,_0x38e874[_0x10b64d(0x126)])||_0x38e874[_0x10b64d(0x115)](_0x381bc9,_0x38e874['XVDea']))_0x580ed1=_0x38e874['WHZng'];else(_0x38e874['sCKiF'](_0x381bc9,_0x38e874[_0x10b64d(0x118)])||_0x38e874[_0x10b64d(0x1a0)](_0x381bc9,_0x38e874[_0x10b64d(0x1c1)]))&&(_0x580ed1=_0x38e874[_0x10b64d(0x118)]);}this['testFrameworkData']&&_0x38e874[_0x10b64d(0x1a0)](this[_0x10b64d(0x122)]['name'],FRAMEWORKS[_0x10b64d(0x16a)])?(_0x1a8e7e=this['jestUtils'][_0x10b64d(0x172)](_0x20b8b1,_0x1a8e7e),this[_0x10b64d(0x1ec)]['debug']('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x1a8e7e)):_0x1a8e7e=_0x7b49ac?.['id']||_0x7b49ac?.['uuid']||process[_0x10b64d(0x11c)]+_0x10b64d(0x144);const _0x1b8078=TestInfo[_0x10b64d(0x179)](_0x1a8e7e),_0x209440=AutomationFramework[_0x10b64d(0x156)](_0x521c76,PuppeteerDriverModule[_0x10b64d(0x160)])||global[_0x10b64d(0x1d8)],_0x3b306a=_0x1b8078?.[TestFrameworkConstants[_0x10b64d(0x10d)]]||this[_0x10b64d(0x122)]&&this[_0x10b64d(0x122)]['name'],_0x8a6590=_0x1b8078?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x10b64d(0x122)]&&this['testFrameworkData']['version'],_0x4d8f5a=TestFrameworkState[_0x10b64d(0x164)][_0x10b64d(0x1c2)]()[_0x10b64d(0x121)]('.')[0x1],_0x4301ca=HookState['POST']['toString']()['split']('.')[0x1],_0x56cd72=_0x521c76['getContext'](),_0x47675e=AutomationFramework[_0x10b64d(0x156)](_0x521c76,PuppeteerDriverModule[_0x10b64d(0x174)],'')||BrowserstackCLI[_0x10b64d(0x12d)]()[_0x10b64d(0x1b1)]()?.[_0x10b64d(0x1df)]||'',_0x50aa5a=AutomationFramework['getState'](_0x521c76,PuppeteerDriverModule[_0x10b64d(0x178)],'')||global['__bstackSessionId']||'',_0x202ba0={'provider':_0x38e874[_0x10b64d(0x140)](getPlaywrightProvider,_0x47675e),'frameworkName':_0x38e874[_0x10b64d(0x127)],'frameworkVersion':this[_0x10b64d(0x1cd)]||'','frameworkSessionId':LoadTestModule[_0x10b64d(0x191)]()?LoadTestModule[_0x10b64d(0x14b)]():_0x50aa5a,'ref':PuppeteerDriverModule[_0x10b64d(0x196)]||_0x521c76['getRef'](),'hubUrl':_0x47675e,'product':_0x38e874[_0x10b64d(0x177)](getProductForSession)};let _0x8fca7a=AutomationFramework[_0x10b64d(0x156)](_0x521c76,PuppeteerDriverModule[_0x10b64d(0x137)],null)||global[_0x10b64d(0x11d)]||global['__platformCaps']||{};_0x8fca7a&&_0x38e874[_0x10b64d(0x1f6)](Object[_0x10b64d(0x1aa)](_0x8fca7a)[_0x10b64d(0x13f)],0x0)?_0x8fca7a=Buffer[_0x10b64d(0x146)](JSON['stringify'](_0x8fca7a))[_0x10b64d(0x1c2)](_0x38e874['gxyGZ']):_0x8fca7a=Buffer[_0x10b64d(0x146)](JSON['stringify']({}))[_0x10b64d(0x1c2)](_0x38e874[_0x10b64d(0x153)]);const _0x1cb59f={'hash':_0x56cd72['getId'](),'threadId':_0x56cd72[_0x10b64d(0x1d1)]()[_0x10b64d(0x1c2)](),'processId':_0x56cd72[_0x10b64d(0x113)]()[_0x10b64d(0x1c2)]()},_0xe1c592={};_0xe1c592['platformIndex']=_0x209440,_0xe1c592[_0x10b64d(0x1ad)]=_0x3b306a,_0xe1c592['testFrameworkVersion']=_0x8a6590,_0xe1c592[_0x10b64d(0x125)]=_0x4d8f5a,_0xe1c592[_0x10b64d(0x186)]=_0x4301ca,_0xe1c592[_0x10b64d(0x117)]=_0x1a8e7e,_0xe1c592['automationSession']=_0x202ba0,_0xe1c592[_0x10b64d(0x1b9)]=_0x8fca7a,_0xe1c592[_0x10b64d(0x1c5)]=_0x1cb59f;const _0x5bfdb8=_0xe1c592;this['logger'][_0x10b64d(0x14c)](_0x10b64d(0x1e0)+util[_0x10b64d(0x151)](_0x5bfdb8)),GrpcClient['getInstance']()[_0x10b64d(0x1de)](_0x5bfdb8),this[_0x10b64d(0x1ec)][_0x10b64d(0x14c)](_0x10b64d(0x16b)+_0x1a8e7e);if(!_0x580ed1){this[_0x10b64d(0x1ec)][_0x10b64d(0x14c)](_0x38e874[_0x10b64d(0x197)],_0x381bc9);return;}this['logger'][_0x10b64d(0x14c)](_0x38e874['MjCwP']),_0x20b8b1&&await this[_0x10b64d(0x15a)](_0x521c76,_0x20b8b1),await this[_0x10b64d(0x10a)](_0x521c76,_0x2c58f4,_0x580ed1,_0x43fd84);}catch(_0x5748d1){this[_0x10b64d(0x1ec)][_0x10b64d(0x1da)]('Error\x20in\x20onAfterTest:\x20'+util[_0x10b64d(0x151)](_0x5748d1));}}async[a90_0x8ee088(0x1f4)](_0x21bd0f){const _0x2b8b19=a90_0x8ee088,_0x34d5d7={};_0x34d5d7['JSmUg']='onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit',_0x34d5d7[_0x2b8b19(0x163)]=_0x2b8b19(0x14a),_0x34d5d7[_0x2b8b19(0x18e)]='onBeforeQuit:\x20Cleanup\x20complete';const _0x4217ba=_0x34d5d7;try{this['logger'][_0x2b8b19(0x14c)](_0x4217ba[_0x2b8b19(0x148)]);const _0x146600=_0x21bd0f[_0x2b8b19(0x1b3)];if(!_0x146600){this[_0x2b8b19(0x1ec)][_0x2b8b19(0x14c)](_0x4217ba[_0x2b8b19(0x163)]);return;}AutomationFramework[_0x2b8b19(0x1e4)](_0x146600,PuppeteerDriverModule[_0x2b8b19(0x1ee)],null),AutomationFramework[_0x2b8b19(0x1e4)](_0x146600,PuppeteerDriverModule[_0x2b8b19(0x17c)],null),this[_0x2b8b19(0x1ec)]['debug'](_0x4217ba[_0x2b8b19(0x18e)]);}catch(_0x2e502a){this[_0x2b8b19(0x1ec)][_0x2b8b19(0x1da)](_0x2b8b19(0x17a)+util['format'](_0x2e502a));}}async['markSessionName'](_0x4f4e67,_0x3de009){const _0x39b5d5=a90_0x8ee088,_0x5edf4b={};_0x5edf4b[_0x39b5d5(0x139)]=_0x39b5d5(0x168),_0x5edf4b['MUaxI']='markSessionName:\x20Page\x20object\x20is\x20not\x20available',_0x5edf4b[_0x39b5d5(0x158)]=_0x39b5d5(0x19b);const _0x32e5df=_0x5edf4b;try{if(CLIUtils[_0x39b5d5(0x1cc)](BrowserstackCLI['getInstance']()['getConfig']())){this['logger'][_0x39b5d5(0x14c)](_0x32e5df[_0x39b5d5(0x139)]);return;}const _0x5c9993=AutomationFramework[_0x39b5d5(0x156)](_0x4f4e67,PuppeteerDriverModule[_0x39b5d5(0x1ee)]);if(!_0x5c9993){this[_0x39b5d5(0x1ec)][_0x39b5d5(0x14c)](_0x32e5df[_0x39b5d5(0x13a)]);return;}const _0x4dc1f9=_0x3de009['name']||_0x3de009[_0x39b5d5(0x1e9)]||_0x3de009[_0x39b5d5(0x12b)],_0x3e527f={};_0x3e527f[_0x39b5d5(0x1d0)]=_0x4dc1f9;const _0x46375c={};_0x46375c[_0x39b5d5(0x18a)]=_0x32e5df[_0x39b5d5(0x158)],_0x46375c[_0x39b5d5(0x1af)]=_0x3e527f;const _0x1f8e80=_0x46375c;PerformanceTester['start'](PerformanceEvents[_0x39b5d5(0x17e)]),await this[_0x39b5d5(0x124)](_0x5c9993,_0x1f8e80),PerformanceTester[_0x39b5d5(0x114)](PerformanceEvents[_0x39b5d5(0x17e)]);}catch(_0x12caa2){PerformanceTester['end'](PerformanceEvents['SESSION_NAME'],![],util[_0x39b5d5(0x151)](_0x12caa2)),this['logger'][_0x39b5d5(0x1da)](_0x39b5d5(0x135)+util[_0x39b5d5(0x151)](_0x12caa2));}}async['markSessionStatus'](_0xa81764,_0x36465d,_0x6e4b76,_0x3b70b7){const _0x3d992f=a90_0x8ee088,_0x48cb09={};_0x48cb09[_0x3d992f(0x1ae)]=_0x3d992f(0x17b),_0x48cb09[_0x3d992f(0x1c6)]=_0x3d992f(0x10e),_0x48cb09[_0x3d992f(0x169)]=_0x3d992f(0x1f9),_0x48cb09['EETPq']=_0x3d992f(0x19a),_0x48cb09['qrcPD']=_0x3d992f(0x187),_0x48cb09['AoPBE']=_0x3d992f(0x165),_0x48cb09[_0x3d992f(0x1e1)]=_0x3d992f(0x119);const _0x10ba89=_0x48cb09;if(CLIUtils[_0x3d992f(0x1a2)](BrowserstackCLI['getInstance']()[_0x3d992f(0x1b1)]())){this[_0x3d992f(0x1ec)]['debug'](_0x10ba89[_0x3d992f(0x1ae)]);return;}const _0x3132bc=_0xa81764;if(!_0x3132bc){this[_0x3d992f(0x1ec)][_0x3d992f(0x14c)](_0x10ba89['nSmDk']);return;}const _0x2d1c65=AutomationFramework[_0x3d992f(0x156)](_0x3132bc,PuppeteerDriverModule[_0x3d992f(0x1ee)]);if(!_0x2d1c65){this[_0x3d992f(0x1ec)][_0x3d992f(0x14c)](_0x10ba89[_0x3d992f(0x169)]);return;}if(!_0x6e4b76){this[_0x3d992f(0x1ec)][_0x3d992f(0x14c)](_0x10ba89[_0x3d992f(0x14e)],_0x6e4b76);return;}const _0x255af9={};_0x255af9[_0x3d992f(0x1a9)]=_0x6e4b76;const _0x3a5974={};_0x3a5974[_0x3d992f(0x18a)]=_0x10ba89['qrcPD'],_0x3a5974['arguments']=_0x255af9;const _0x344639=_0x3a5974;_0x3b70b7&&(_0x344639[_0x3d992f(0x1af)][_0x10ba89[_0x3d992f(0x1ca)]]=_0x3b70b7),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x3d992f(0x1ec)]['debug'](_0x10ba89[_0x3d992f(0x1e1)]),await this['puppeteerBstackExecutor'](_0x2d1c65,_0x344639),PerformanceTester['end'](PerformanceEvents[_0x3d992f(0x170)]);}async[a90_0x8ee088(0x124)](_0x2f3c97,_0x490337){const _0x5afcc8=a90_0x8ee088,_0x27f674={'CUCAF':function(_0x11bc44,_0x41dddd,_0xb7c607){return _0x11bc44(_0x41dddd,_0xb7c607);},'HwtbE':function(_0x36325c,_0x46f33c){return _0x36325c(_0x46f33c);}};try{const _0x5d2c30=0x3a98,_0x9052b8=_0x5afcc8(0x166)+JSON['stringify'](_0x490337),_0x45a6da=_0x2f3c97[_0x5afcc8(0x1cf)](_0x336048=>{},_0x9052b8);let _0x19d21a;await Promise[_0x5afcc8(0x1f3)]([_0x45a6da,new Promise((_0x10b7ff,_0x4966ae)=>{const _0x153a99=_0x5afcc8;_0x19d21a=_0x27f674[_0x153a99(0x12f)](setTimeout,()=>_0x4966ae(new Error(_0x153a99(0x18c)+_0x5d2c30+'ms')),_0x5d2c30);})])['finally'](()=>{const _0x3f3f63=_0x5afcc8;_0x27f674[_0x3f3f63(0x1f0)](clearTimeout,_0x19d21a);});}catch(_0x7faf4e){this[_0x5afcc8(0x1ec)][_0x5afcc8(0x14c)]('Error\x20in\x20puppeteerBstackExecutor:\x20'+(_0x7faf4e[_0x5afcc8(0x1bf)]||_0x7faf4e));}}}module['exports']=PuppeteerDriverModule;
@@ -1 +1 @@
1
- const a91_0x561cbf=a91_0x41d8;(function(_0x2db543,_0x28322b){const _0x33435b=a91_0x41d8,_0x145d36=_0x2db543();while(!![]){try{const _0x4657d4=-parseInt(_0x33435b(0x1f6))/0x1+parseInt(_0x33435b(0x22a))/0x2+-parseInt(_0x33435b(0x1ff))/0x3+-parseInt(_0x33435b(0x1f5))/0x4+-parseInt(_0x33435b(0x238))/0x5*(parseInt(_0x33435b(0x240))/0x6)+parseInt(_0x33435b(0x211))/0x7*(parseInt(_0x33435b(0x1f4))/0x8)+parseInt(_0x33435b(0x202))/0x9;if(_0x4657d4===_0x28322b)break;else _0x145d36['push'](_0x145d36['shift']());}catch(_0x2520a7){_0x145d36['push'](_0x145d36['shift']());}}}(a91_0x2427,0xd9727));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require(a91_0x561cbf(0x205)),AutomationFramework=require(a91_0x561cbf(0x243)),AutomationFrameworkState=require(a91_0x561cbf(0x23d)),HookState=require(a91_0x561cbf(0x215)),TestFramework=require(a91_0x561cbf(0x223)),TestFrameworkState=require('../state/testFrameworkState.js'),PlaywrightDriverModule=require(a91_0x561cbf(0x249)),PuppeteerDriverModule=require(a91_0x561cbf(0x209)),TestFrameworkConstants=require(a91_0x561cbf(0x1fc)),GrpcClient=require('../grpcClient.js'),CLIUtils=require('../cliUtils.js'),TestInfo=require(a91_0x561cbf(0x224)),testHubConstants=require(a91_0x561cbf(0x236)),{FRAMEWORKS}=require(a91_0x561cbf(0x254)),helper=require(a91_0x561cbf(0x252)),LoadTestModule=require(a91_0x561cbf(0x22d)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a91_0x561cbf(0x21c)),{getPlaywrightProvider,getProductForSession}=require(a91_0x561cbf(0x252));class TestHubModule extends BaseModule{[a91_0x561cbf(0x222)]=createClassLogger(a91_0x561cbf(0x1f9));constructor(_0x34f439,_0x1de4d7=null){const _0x197a1c=a91_0x561cbf,_0x79fce1={};_0x79fce1[_0x197a1c(0x206)]=_0x197a1c(0x201),_0x79fce1[_0x197a1c(0x21b)]=_0x197a1c(0x1f9);const _0x414568=_0x79fce1,_0x31d8dc=_0x414568[_0x197a1c(0x206)][_0x197a1c(0x207)]('|');let _0x3b23dc=0x0;while(!![]){switch(_0x31d8dc[_0x3b23dc++]){case'0':BrowserstackCLI[_0x197a1c(0x218)]=this[_0x197a1c(0x233)]['getBuildHashedId']();continue;case'1':super(_0x1de4d7);continue;case'2':process[_0x197a1c(0x23c)][testHubConstants[_0x197a1c(0x1fd)][_0x197a1c(0x216)]]=this['testhubConfig']['getJwt']();continue;case'3':this['name']=_0x414568[_0x197a1c(0x21b)];continue;case'4':Object['values'](TestFrameworkState)[_0x197a1c(0x1ea)](_0xb5c2a4=>{const _0x3e7331=_0x197a1c;Object['values'](HookState)[_0x3e7331(0x1ea)](_0x1d3c8c=>{const _0x118afa=_0x3e7331;TestFramework[_0x118afa(0x1f2)](_0xb5c2a4,_0x1d3c8c,this['onAllTestEvents'][_0x118afa(0x1f0)](this));});});continue;case'5':AutomationFramework[_0x197a1c(0x1f2)](AutomationFrameworkState[_0x197a1c(0x200)],HookState[_0x197a1c(0x21e)],this[_0x197a1c(0x225)][_0x197a1c(0x1f0)](this));continue;case'6':this[_0x197a1c(0x233)]=_0x34f439;continue;case'7':process['env'][testHubConstants[_0x197a1c(0x1fd)]['BROWSERSTACK_TESTHUB_UUID']]=this['testhubConfig']['getBuildHashedId']();continue;case'8':this[_0x197a1c(0x220)]=new JestUtils();continue;}break;}}['getModuleName'](){const _0x2268f7=a91_0x561cbf;return TestHubModule[_0x2268f7(0x1fe)];}[a91_0x561cbf(0x237)](_0x23ff4f){const _0xd74f3a=a91_0x561cbf,_0x18306a={};_0x18306a[_0xd74f3a(0x234)]=function(_0x42f1ab,_0x2f7eb9){return _0x42f1ab===_0x2f7eb9;};const _0x3e65bb=_0x18306a,_0x2ac43d=_0x23ff4f[_0xd74f3a(0x24d)],_0xd47050=_0x2ac43d[_0xd74f3a(0x1eb)]();(_0x3e65bb[_0xd74f3a(0x234)](_0xd47050,TestFrameworkState[_0xd74f3a(0x23b)])||CLIUtils['matchHookRegex'](_0xd47050[_0xd74f3a(0x226)]()[_0xd74f3a(0x207)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x23ff4f);}async[a91_0x561cbf(0x1fa)](_0x5c8655){const _0x5b8b6e=a91_0x561cbf,_0x3c5026={};_0x3c5026['OxXOv']=function(_0x1eddc2,_0x4d4f2c){return _0x1eddc2===_0x4d4f2c;},_0x3c5026[_0x5b8b6e(0x235)]=_0x5b8b6e(0x1ee);const _0xa020c7=_0x3c5026;try{const _0x28da91=BrowserstackCLI[_0x5b8b6e(0x23a)]()['getTestFramework']()[_0x5b8b6e(0x21f)](_0x5c8655);if(!_0x28da91||_0xa020c7['OxXOv'](Object[_0x5b8b6e(0x248)](_0x28da91)[_0x5b8b6e(0x1ef)],0x0)){this[_0x5b8b6e(0x222)][_0x5b8b6e(0x23f)](_0xa020c7[_0x5b8b6e(0x235)]);return;}const _0x22ed27=await GrpcClient[_0x5b8b6e(0x23a)]()['testFrameworkEvent'](_0x28da91);this['logger']['debug'](_0x5b8b6e(0x22f)+_0x28da91[_0x5b8b6e(0x24b)]+_0x5b8b6e(0x24c)+_0x28da91[_0x5b8b6e(0x230)]);}catch(_0x603f15){this['logger'][_0x5b8b6e(0x227)](_0x5b8b6e(0x203)+util[_0x5b8b6e(0x20e)](_0x603f15));}}async[a91_0x561cbf(0x225)](_0x3fef23){const _0x56b59a=a91_0x561cbf,_0x3e8952={'cFwOn':function(_0x3f5f5f,_0x3029d0){return _0x3f5f5f===_0x3029d0;},'hLRQh':_0x56b59a(0x245),'mNcDp':function(_0x827d,_0x508f62){return _0x827d===_0x508f62;},'RZLjR':function(_0x510bd7,_0x430e8b){return _0x510bd7===_0x430e8b;},'rmGNh':function(_0x19268c,_0x455b7b){return _0x19268c(_0x455b7b);},'WPfYt':function(_0x36b62d){return _0x36b62d();},'USofF':'base64'};try{if(_0x3fef23[_0x56b59a(0x1ed)]){const _0x267de6=this['getTestId'](_0x3fef23);this[_0x56b59a(0x222)][_0x56b59a(0x23f)](_0x56b59a(0x247)+_0x267de6);if(this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x217)](this['testFrameworkData']['name'],FRAMEWORKS['JEST'])&&!_0x3fef23[_0x56b59a(0x1f7)]){this['logger'][_0x56b59a(0x23f)](_0x3e8952['hLRQh']);return;}let _0x8b7d4a,_0x34a365;if(this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x1ec)](this[_0x56b59a(0x231)][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x228)]))_0x8b7d4a=_0x267de6,_0x34a365=TestInfo[_0x56b59a(0x212)](_0x8b7d4a);else this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x1f8)](this[_0x56b59a(0x231)][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x1fb)])?(_0x8b7d4a=this[_0x56b59a(0x220)][_0x56b59a(0x213)](_0x3fef23[_0x56b59a(0x1f7)]),this[_0x56b59a(0x222)][_0x56b59a(0x23f)](_0x56b59a(0x21a)+_0x8b7d4a)):(_0x8b7d4a=TestInfo[_0x56b59a(0x241)](_0x3fef23[_0x56b59a(0x1f7)],_0x3fef23[_0x56b59a(0x1f7)][_0x56b59a(0x20b)]),_0x34a365=TestInfo[_0x56b59a(0x212)](_0x8b7d4a));const _0x79d47b=TestInfo[_0x56b59a(0x214)](_0x8b7d4a),_0x3ab7b0=_0x3fef23['instance'],_0x3ed14a=AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x22c)])||AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PuppeteerDriverModule[_0x56b59a(0x22c)]),_0xe423dc=_0x79d47b?.[TestFrameworkConstants[_0x56b59a(0x242)]]||this['testFrameworkData']&&this[_0x56b59a(0x231)][_0x56b59a(0x251)],_0xd8fee9=_0x79d47b?.[TestFrameworkConstants[_0x56b59a(0x21d)]]||this['testFrameworkData']&&this[_0x56b59a(0x231)][_0x56b59a(0x1f1)],_0x315d04=TestFrameworkState[_0x56b59a(0x23b)][_0x56b59a(0x226)]()['split']('.')[0x1],_0x22f02f=HookState[_0x56b59a(0x21e)][_0x56b59a(0x226)]()[_0x56b59a(0x207)]('.')[0x1],_0x376d57=_0x3ab7b0[_0x56b59a(0x229)](),_0x7d1bc1=AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x20c)],'')||AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PuppeteerDriverModule[_0x56b59a(0x20c)],''),_0x27eb62=LoadTestModule['isLTSSession']()?LoadTestModule['getLTSSessionId']():AutomationFramework['getState'](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x1f3)],'')||AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PuppeteerDriverModule['KEY_SESSION_ID'],''),_0x32b13a={'provider':_0x3e8952[_0x56b59a(0x204)](getPlaywrightProvider,_0x7d1bc1),'frameworkName':_0x3ab7b0[_0x56b59a(0x244)],'frameworkVersion':_0x3ab7b0[_0x56b59a(0x20a)],'frameworkSessionId':_0x27eb62,'ref':_0x3ab7b0[_0x56b59a(0x253)](),'hubUrl':_0x7d1bc1,'product':_0x3e8952[_0x56b59a(0x208)](getProductForSession)},_0x1c9dbf=AutomationFramework[_0x56b59a(0x20d)](_0x3ab7b0,PlaywrightDriverModule[_0x56b59a(0x22e)],null)||AutomationFramework['getState'](_0x3ab7b0,PuppeteerDriverModule[_0x56b59a(0x22e)],null),_0x3f46b3=_0x1c9dbf?Buffer[_0x56b59a(0x24f)](JSON[_0x56b59a(0x20f)](_0x1c9dbf))['toString'](_0x3e8952[_0x56b59a(0x232)]):null,_0x51c569={'hash':_0x376d57['getId'](),'threadId':_0x376d57[_0x56b59a(0x22b)]()[_0x56b59a(0x226)](),'processId':_0x376d57[_0x56b59a(0x1e9)]()['toString']()},_0x254cda={};_0x254cda[_0x56b59a(0x24a)]=_0x8b7d4a;const _0x2d2e9b={};_0x2d2e9b[_0x56b59a(0x23e)]=_0x34a365;const _0xaf8b9f={'platformIndex':_0x3ed14a,'testFrameworkName':_0xe423dc,'testFrameworkVersion':_0xd8fee9,'testFrameworkState':_0x315d04,'testHookState':_0x22f02f,...this[_0x56b59a(0x231)]&&_0x3e8952['RZLjR'](this[_0x56b59a(0x231)][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x1fb)])?_0x254cda:_0x2d2e9b,'automationSession':_0x32b13a,'capabilities':_0x3f46b3,'executionContext':_0x51c569};this[_0x56b59a(0x222)][_0x56b59a(0x23f)](_0x56b59a(0x246)+util[_0x56b59a(0x20e)](_0xaf8b9f));const _0xf363d=await GrpcClient['getInstance']()[_0x56b59a(0x24e)](_0xaf8b9f);this['logger'][_0x56b59a(0x23f)](_0x56b59a(0x210)+_0x267de6+(this[_0x56b59a(0x231)]&&_0x3e8952[_0x56b59a(0x1ec)](this['testFrameworkData'][_0x56b59a(0x251)],FRAMEWORKS[_0x56b59a(0x1fb)])?_0x56b59a(0x219)+_0x8b7d4a:''));}}catch(_0x452796){this[_0x56b59a(0x222)][_0x56b59a(0x227)]('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0x56b59a(0x20e)](_0x452796));}}}function a91_0x41d8(_0x4c8959,_0x518074){const _0x24273e=a91_0x2427();return a91_0x41d8=function(_0x41d8bc,_0x4bba01){_0x41d8bc=_0x41d8bc-0x1e9;let _0x39a805=_0x24273e[_0x41d8bc];return _0x39a805;},a91_0x41d8(_0x4c8959,_0x518074);}TestHubModule['MODULE_NAME']=a91_0x561cbf(0x1f9),TestHubModule[a91_0x561cbf(0x221)]=a91_0x561cbf(0x250),module[a91_0x561cbf(0x239)]=TestHubModule;function a91_0x2427(){const _0x447807=['onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','LPvcD','../browserstackCLI.js','KEY_TEST_FRAMEWORK_VERSION','POST','createTestFrameworkEventPayload','jestUtils','KEY_TEST_DEFERRED','logger','../framework/testFramework.js','../TestInfo.js','onPageCreate','toString','error','CUCUMBER','getContext','2900320Rckggc','getThreadId','KEY_PLATFORM_INDEX','./loadTestModule.js','KEY_CAPABILITIES','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','hookState','testFrameworkData','USofF','testhubConfig','LdNSq','aCFNO','../../../helpers/testhub/constants','onAllTestEvents','192130RmGXPZ','exports','getInstance','TEST','env','../state/automationFrameworkState.js','testUuid','debug','24RKbIdw','getTestIdentifierFromTestInfo','KEY_TEST_FRAMEWORK_NAME','../framework/automationFramework.js','frameworkName','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','onPageCreate\x20CBTSession\x20payload:\x20','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','keys','./playwrightDriverModule.js','test_identifier','testFrameworkState','\x20hookState:\x20','instance','testSessionEvent','from','test_deferred','name','../../../helpers/helper.js','getRef','../../../helpers/test-observability/constants.js','getProcessId','forEach','getCurrentTestState','mNcDp','page','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','length','bind','version','registerObserver','KEY_SESSION_ID','8019688BuzgRy','1267088ZKkTAV','795871iZbxae','testInfo','RZLjR','TestHubModule','sendTestFrameworkEvent','JEST','../framework/constants/testFrameworkConstants.js','ENV_VAR','MODULE_NAME','1839642RWqnQz','CREATE','1|3|6|8|5|4|2|7|0','2858427hnHOyH','Error\x20in\x20sendTestFrameworkEvent:\x20','rmGNh','../../../helpers/classLogger.js','KZJHz','split','WPfYt','./puppeteerDriverModule.js','frameworkVersion','retry','KEY_HUB_URL','getState','format','stringify','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','7ezkxze','getTestUUID','recreateIdentifierFromTestInfo','getTestDetails','../state/hookState.js','BROWSERSTACK_TESTHUB_JWT','cFwOn','O11yHashedID',',\x20test_identifier:\x20'];a91_0x2427=function(){return _0x447807;};return a91_0x2427();}
1
+ const a91_0xcaad7d=a91_0x19df;(function(_0x210e0c,_0x41e723){const _0x277d53=a91_0x19df,_0x1dfd6c=_0x210e0c();while(!![]){try{const _0xf49db1=-parseInt(_0x277d53(0x18e))/0x1+-parseInt(_0x277d53(0x1ce))/0x2*(-parseInt(_0x277d53(0x1b7))/0x3)+parseInt(_0x277d53(0x1a3))/0x4*(parseInt(_0x277d53(0x17d))/0x5)+-parseInt(_0x277d53(0x1bc))/0x6*(parseInt(_0x277d53(0x1b2))/0x7)+parseInt(_0x277d53(0x1bd))/0x8+parseInt(_0x277d53(0x1c4))/0x9+-parseInt(_0x277d53(0x173))/0xa*(parseInt(_0x277d53(0x1b1))/0xb);if(_0xf49db1===_0x41e723)break;else _0x1dfd6c['push'](_0x1dfd6c['shift']());}catch(_0x495c3a){_0x1dfd6c['push'](_0x1dfd6c['shift']());}}}(a91_0x2111,0x49aa8));const util=require('util'),BaseModule=require(a91_0xcaad7d(0x176)),{createClassLogger}=require(a91_0xcaad7d(0x1ad)),AutomationFramework=require(a91_0xcaad7d(0x1b3)),AutomationFrameworkState=require(a91_0xcaad7d(0x1d0)),HookState=require('../state/hookState.js'),TestFramework=require(a91_0xcaad7d(0x19e)),TestFrameworkState=require(a91_0xcaad7d(0x19a)),PlaywrightDriverModule=require(a91_0xcaad7d(0x1a4)),PuppeteerDriverModule=require('./puppeteerDriverModule.js'),TestFrameworkConstants=require(a91_0xcaad7d(0x1c3)),GrpcClient=require(a91_0xcaad7d(0x171)),CLIUtils=require(a91_0xcaad7d(0x191)),TestInfo=require(a91_0xcaad7d(0x1ba)),testHubConstants=require(a91_0xcaad7d(0x190)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js'),helper=require(a91_0xcaad7d(0x19b)),LoadTestModule=require(a91_0xcaad7d(0x1c9)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a91_0xcaad7d(0x1cb)),{getPlaywrightProvider,getProductForSession}=require(a91_0xcaad7d(0x19b));function a91_0x2111(){const _0x5420c5=['utXbc','KEY_TEST_DEFERRED','../framework/testFramework.js','getTestDetails','getTestId','nZMYv','KEY_SESSION_ID','28zjmkvc','./playwrightDriverModule.js','KEY_PLATFORM_INDEX','KEY_CAPABILITIES','bind','testUuid','JEiPj','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','isLTSSession','ihLDE','../../../helpers/classLogger.js','getTestFramework','getModuleName','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','374858FQwCkR','14eqLskM','../framework/automationFramework.js','xhJns','format','WTXFv','161445XnwUkp','testFrameworkData','keys','../TestInfo.js','getTestIdentifierFromTestInfo','244746zBVLUI','3470912iiLMMF','instance','createTestFrameworkEventPayload','KEY_HUB_URL','hookState','getCurrentTestState','../framework/constants/testFrameworkConstants.js','795240pACrup','getLTSSessionId','TestHubModule','forEach','length','./loadTestModule.js','suHYL','../browserstackCLI.js','name','getState','10opzMkj','getTestUUID','../state/automationFrameworkState.js','registerObserver','getId','onAllTestEvents','mGlZc',',\x20test_identifier:\x20','debug','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','ENV_VAR','../grpcClient.js','retry','110buMURj','toString','base64','./baseModule','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','ZGxqD','sendTestFrameworkEvent','env','onPageCreate\x20CBTSession\x20payload:\x20','jestUtils','208180FLnAwY','split','KEY_TEST_FRAMEWORK_VERSION','nOTYd','MODULE_NAME','JEST','matchHookRegex','CREATE','getBuildHashedId','testInfo','getInstance','testFrameworkState','values','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','getContext','getJwt','recreateIdentifierFromTestInfo','324575wAMHqU','Error\x20in\x20sendTestFrameworkEvent:\x20','../../../helpers/testhub/constants','../cliUtils.js','test_deferred','exports','testhubConfig','orEfE','yslgg','error','testSessionEvent','logger','../state/testFrameworkState.js','../../../helpers/helper.js'];a91_0x2111=function(){return _0x5420c5;};return a91_0x2111();}class TestHubModule extends BaseModule{['logger']=createClassLogger(a91_0xcaad7d(0x1c6));constructor(_0x2ddf9b,_0x3377c5=null){const _0x48906d=a91_0xcaad7d,_0x59211b={};_0x59211b['JEiPj']='7|1|6|5|2|4|8|0|3',_0x59211b[_0x48906d(0x1a1)]=_0x48906d(0x1c6);const _0x330d18=_0x59211b,_0x6156ba=_0x330d18[_0x48906d(0x1a9)][_0x48906d(0x17e)]('|');let _0x2672de=0x0;while(!![]){switch(_0x6156ba[_0x2672de++]){case'0':process[_0x48906d(0x17a)][testHubConstants[_0x48906d(0x170)]['BROWSERSTACK_TESTHUB_UUID']]=this[_0x48906d(0x194)][_0x48906d(0x185)]();continue;case'1':this[_0x48906d(0x1cc)]=_0x330d18[_0x48906d(0x1a1)];continue;case'2':AutomationFramework[_0x48906d(0x1d1)](AutomationFrameworkState[_0x48906d(0x184)],HookState['POST'],this['onPageCreate'][_0x48906d(0x1a7)](this));continue;case'3':BrowserstackCLI['O11yHashedID']=this[_0x48906d(0x194)][_0x48906d(0x185)]();continue;case'4':Object[_0x48906d(0x189)](TestFrameworkState)[_0x48906d(0x1c7)](_0x47a317=>{const _0xc2d214=_0x48906d;Object[_0xc2d214(0x189)](HookState)[_0xc2d214(0x1c7)](_0x104295=>{const _0x1d59ae=_0xc2d214;TestFramework[_0x1d59ae(0x1d1)](_0x47a317,_0x104295,this[_0x1d59ae(0x1d3)][_0x1d59ae(0x1a7)](this));});});continue;case'5':this[_0x48906d(0x17c)]=new JestUtils();continue;case'6':this['testhubConfig']=_0x2ddf9b;continue;case'7':super(_0x3377c5);continue;case'8':process[_0x48906d(0x17a)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']]=this[_0x48906d(0x194)][_0x48906d(0x18c)]();continue;}break;}}[a91_0xcaad7d(0x1af)](){const _0x3b0cc9=a91_0xcaad7d;return TestHubModule[_0x3b0cc9(0x181)];}[a91_0xcaad7d(0x1d3)](_0x51b82a){const _0x1af2a3=a91_0xcaad7d,_0xf179af={};_0xf179af[_0x1af2a3(0x1b4)]=function(_0x2d6afb,_0x41aabd){return _0x2d6afb===_0x41aabd;};const _0x462331=_0xf179af,_0x179a21=_0x51b82a[_0x1af2a3(0x1be)],_0x3d5e3e=_0x179a21[_0x1af2a3(0x1c2)]();(_0x462331[_0x1af2a3(0x1b4)](_0x3d5e3e,TestFrameworkState['TEST'])||CLIUtils[_0x1af2a3(0x183)](_0x3d5e3e['toString']()[_0x1af2a3(0x17e)]('.')[0x1]))&&this[_0x1af2a3(0x179)](_0x51b82a);}async[a91_0xcaad7d(0x179)](_0x4cadff){const _0xd512ca=a91_0xcaad7d,_0x278cda={};_0x278cda['qVHYz']=function(_0x5dd043,_0x1ce74f){return _0x5dd043===_0x1ce74f;},_0x278cda['ihLDE']=_0xd512ca(0x1aa);const _0x3713b5=_0x278cda;try{const _0x8b808=BrowserstackCLI[_0xd512ca(0x187)]()[_0xd512ca(0x1ae)]()[_0xd512ca(0x1bf)](_0x4cadff);if(!_0x8b808||_0x3713b5['qVHYz'](Object[_0xd512ca(0x1b9)](_0x8b808)[_0xd512ca(0x1c8)],0x0)){this[_0xd512ca(0x199)][_0xd512ca(0x1d6)](_0x3713b5[_0xd512ca(0x1ac)]);return;}const _0x3a227=await GrpcClient[_0xd512ca(0x187)]()['testFrameworkEvent'](_0x8b808);this[_0xd512ca(0x199)][_0xd512ca(0x1d6)](_0xd512ca(0x1b0)+_0x8b808[_0xd512ca(0x188)]+'\x20hookState:\x20'+_0x8b808[_0xd512ca(0x1c1)]);}catch(_0x1e1d6d){this[_0xd512ca(0x199)]['error'](_0xd512ca(0x18f)+util[_0xd512ca(0x1b5)](_0x1e1d6d));}}async['onPageCreate'](_0x6b7705){const _0xeb355b=a91_0xcaad7d,_0x404717={'nOTYd':function(_0x48cc07,_0x49faef){return _0x48cc07===_0x49faef;},'utXbc':'onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','orEfE':function(_0x3e34cd,_0x6f8e5d){return _0x3e34cd===_0x6f8e5d;},'ZGxqD':function(_0x55e176,_0x4f5913){return _0x55e176(_0x4f5913);},'WTXFv':function(_0x1bab47){return _0x1bab47();},'mGlZc':_0xeb355b(0x175),'yslgg':function(_0x5f2fff,_0x55d1de){return _0x5f2fff===_0x55d1de;},'suHYL':function(_0x19ac74,_0x1ec129){return _0x19ac74===_0x1ec129;}};try{if(_0x6b7705['page']){const _0x1cc1f0=this[_0xeb355b(0x1a0)](_0x6b7705);this['logger'][_0xeb355b(0x1d6)](_0xeb355b(0x16f)+_0x1cc1f0);if(this[_0xeb355b(0x1b8)]&&_0x404717[_0xeb355b(0x180)](this[_0xeb355b(0x1b8)][_0xeb355b(0x1cc)],FRAMEWORKS[_0xeb355b(0x182)])&&!_0x6b7705[_0xeb355b(0x186)]){this[_0xeb355b(0x199)]['debug'](_0x404717[_0xeb355b(0x19c)]);return;}let _0x20709b,_0xb2a7f0;if(this[_0xeb355b(0x1b8)]&&_0x404717['nOTYd'](this[_0xeb355b(0x1b8)][_0xeb355b(0x1cc)],FRAMEWORKS['CUCUMBER']))_0x20709b=_0x1cc1f0,_0xb2a7f0=TestInfo[_0xeb355b(0x1cf)](_0x20709b);else this[_0xeb355b(0x1b8)]&&_0x404717[_0xeb355b(0x195)](this[_0xeb355b(0x1b8)][_0xeb355b(0x1cc)],FRAMEWORKS[_0xeb355b(0x182)])?(_0x20709b=this['jestUtils'][_0xeb355b(0x18d)](_0x6b7705[_0xeb355b(0x186)]),this['logger'][_0xeb355b(0x1d6)](_0xeb355b(0x18a)+_0x20709b)):(_0x20709b=TestInfo[_0xeb355b(0x1bb)](_0x6b7705['testInfo'],_0x6b7705[_0xeb355b(0x186)][_0xeb355b(0x172)]),_0xb2a7f0=TestInfo[_0xeb355b(0x1cf)](_0x20709b));const _0x55f734=TestInfo[_0xeb355b(0x19f)](_0x20709b),_0x5df69a=_0x6b7705[_0xeb355b(0x1be)],_0x55d12d=AutomationFramework['getState'](_0x5df69a,PlaywrightDriverModule[_0xeb355b(0x1a5)])||AutomationFramework[_0xeb355b(0x1cd)](_0x5df69a,PuppeteerDriverModule[_0xeb355b(0x1a5)]),_0x19e521=_0x55f734?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this['testFrameworkData']&&this[_0xeb355b(0x1b8)][_0xeb355b(0x1cc)],_0x310054=_0x55f734?.[TestFrameworkConstants[_0xeb355b(0x17f)]]||this['testFrameworkData']&&this['testFrameworkData']['version'],_0x31d7f0=TestFrameworkState['TEST'][_0xeb355b(0x174)]()['split']('.')[0x1],_0x36b566=HookState['POST'][_0xeb355b(0x174)]()[_0xeb355b(0x17e)]('.')[0x1],_0x4b8071=_0x5df69a[_0xeb355b(0x18b)](),_0x59a749=AutomationFramework[_0xeb355b(0x1cd)](_0x5df69a,PlaywrightDriverModule[_0xeb355b(0x1c0)],'')||AutomationFramework[_0xeb355b(0x1cd)](_0x5df69a,PuppeteerDriverModule[_0xeb355b(0x1c0)],''),_0x5245e5=LoadTestModule[_0xeb355b(0x1ab)]()?LoadTestModule[_0xeb355b(0x1c5)]():AutomationFramework[_0xeb355b(0x1cd)](_0x5df69a,PlaywrightDriverModule['KEY_SESSION_ID'],'')||AutomationFramework[_0xeb355b(0x1cd)](_0x5df69a,PuppeteerDriverModule[_0xeb355b(0x1a2)],''),_0x2077d3={'provider':_0x404717[_0xeb355b(0x178)](getPlaywrightProvider,_0x59a749),'frameworkName':_0x5df69a['frameworkName'],'frameworkVersion':_0x5df69a['frameworkVersion'],'frameworkSessionId':_0x5245e5,'ref':_0x5df69a['getRef'](),'hubUrl':_0x59a749,'product':_0x404717[_0xeb355b(0x1b6)](getProductForSession)},_0x523257=AutomationFramework[_0xeb355b(0x1cd)](_0x5df69a,PlaywrightDriverModule[_0xeb355b(0x1a6)],null)||AutomationFramework[_0xeb355b(0x1cd)](_0x5df69a,PuppeteerDriverModule[_0xeb355b(0x1a6)],null),_0x144398=_0x523257?Buffer['from'](JSON['stringify'](_0x523257))['toString'](_0x404717[_0xeb355b(0x1d4)]):null,_0x4f745d={'hash':_0x4b8071[_0xeb355b(0x1d2)](),'threadId':_0x4b8071['getThreadId']()[_0xeb355b(0x174)](),'processId':_0x4b8071['getProcessId']()[_0xeb355b(0x174)]()},_0x4bfee4={};_0x4bfee4['test_identifier']=_0x20709b;const _0x4c69df={};_0x4c69df[_0xeb355b(0x1a8)]=_0xb2a7f0;const _0x25ed5c={'platformIndex':_0x55d12d,'testFrameworkName':_0x19e521,'testFrameworkVersion':_0x310054,'testFrameworkState':_0x31d7f0,'testHookState':_0x36b566,...this['testFrameworkData']&&_0x404717[_0xeb355b(0x196)](this[_0xeb355b(0x1b8)][_0xeb355b(0x1cc)],FRAMEWORKS[_0xeb355b(0x182)])?_0x4bfee4:_0x4c69df,'automationSession':_0x2077d3,'capabilities':_0x144398,'executionContext':_0x4f745d};this[_0xeb355b(0x199)]['debug'](_0xeb355b(0x17b)+util[_0xeb355b(0x1b5)](_0x25ed5c));const _0x1d23d0=await GrpcClient[_0xeb355b(0x187)]()[_0xeb355b(0x198)](_0x25ed5c);this[_0xeb355b(0x199)][_0xeb355b(0x1d6)](_0xeb355b(0x177)+_0x1cc1f0+(this[_0xeb355b(0x1b8)]&&_0x404717[_0xeb355b(0x1ca)](this['testFrameworkData'][_0xeb355b(0x1cc)],FRAMEWORKS[_0xeb355b(0x182)])?_0xeb355b(0x1d5)+_0x20709b:''));}}catch(_0xb26099){this[_0xeb355b(0x199)][_0xeb355b(0x197)]('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0xeb355b(0x1b5)](_0xb26099));}}}function a91_0x19df(_0x2ca8af,_0x591ee7){const _0x211127=a91_0x2111();return a91_0x19df=function(_0x19dfa6,_0x32079){_0x19dfa6=_0x19dfa6-0x16f;let _0x1927a7=_0x211127[_0x19dfa6];return _0x1927a7;},a91_0x19df(_0x2ca8af,_0x591ee7);}TestHubModule[a91_0xcaad7d(0x181)]=a91_0xcaad7d(0x1c6),TestHubModule[a91_0xcaad7d(0x19d)]=a91_0xcaad7d(0x192),module[a91_0xcaad7d(0x193)]=TestHubModule;
@@ -1 +1 @@
1
- const a92_0x283668=a92_0x2c23;(function(_0x5a7d0d,_0x1da308){const _0x551ae6=a92_0x2c23,_0x2c98d4=_0x5a7d0d();while(!![]){try{const _0x17c7e7=parseInt(_0x551ae6(0xc6))/0x1*(parseInt(_0x551ae6(0xd0))/0x2)+-parseInt(_0x551ae6(0xcd))/0x3+-parseInt(_0x551ae6(0xd6))/0x4*(parseInt(_0x551ae6(0xd9))/0x5)+parseInt(_0x551ae6(0xd1))/0x6*(-parseInt(_0x551ae6(0xce))/0x7)+-parseInt(_0x551ae6(0xdf))/0x8+-parseInt(_0x551ae6(0xd7))/0x9+parseInt(_0x551ae6(0xc8))/0xa*(parseInt(_0x551ae6(0xcc))/0xb);if(_0x17c7e7===_0x1da308)break;else _0x2c98d4['push'](_0x2c98d4['shift']());}catch(_0x506a42){_0x2c98d4['push'](_0x2c98d4['shift']());}}}(a92_0x219d,0x95561));const {PLAYWRIGHT}=require(a92_0x283668(0xd3)),a92_0x2897b7={};a92_0x2897b7[a92_0x283668(0xc5)]=0x0,a92_0x2897b7['toString']=function(){const _0x25d494=a92_0x283668,_0x5a0a7f={};_0x5a0a7f['WUwEI']=_0x25d494(0xe0);const _0x354a08=_0x5a0a7f;return _0x354a08[_0x25d494(0xc9)];};const a92_0x2c9dd3={};function a92_0x2c23(_0x327058,_0x2cea0b){const _0x219dc3=a92_0x219d();return a92_0x2c23=function(_0x2c234f,_0xb27a3f){_0x2c234f=_0x2c234f-0xc5;let _0x193fde=_0x219dc3[_0x2c234f];return _0x193fde;},a92_0x2c23(_0x327058,_0x2cea0b);}a92_0x2c9dd3[a92_0x283668(0xc5)]=0x1,a92_0x2c9dd3[a92_0x283668(0xd5)]=function(){const _0x5cc072=a92_0x283668,_0x39e49b={};_0x39e49b[_0x5cc072(0xdd)]=_0x5cc072(0xdc);const _0xf901fe=_0x39e49b;return _0xf901fe[_0x5cc072(0xdd)];};const a92_0x514dca={};a92_0x514dca[a92_0x283668(0xc5)]=0x2,a92_0x514dca[a92_0x283668(0xd5)]=function(){const _0x4fca62=a92_0x283668,_0x53347a={};_0x53347a[_0x4fca62(0xd8)]=_0x4fca62(0xcf);const _0x5d4be2=_0x53347a;return _0x5d4be2[_0x4fca62(0xd8)];};const a92_0x51b08d={};a92_0x51b08d[a92_0x283668(0xc5)]=0x3,a92_0x51b08d['toString']=function(){const _0x54fc75=a92_0x283668,_0x27959b={};_0x27959b[_0x54fc75(0xe1)]=_0x54fc75(0xe2);const _0x407d42=_0x27959b;return _0x407d42['OmNlt'];};const a92_0x52664a={};a92_0x52664a[a92_0x283668(0xc5)]=0x4,a92_0x52664a[a92_0x283668(0xd5)]=function(){const _0x299599=a92_0x283668,_0x9f452b={};_0x9f452b[_0x299599(0xda)]=_0x299599(0xde);const _0x449857=_0x9f452b;return _0x449857['SbgMO'];};const a92_0x514056={};a92_0x514056['value']=0x5,a92_0x514056['toString']=function(){const _0x30efb7=a92_0x283668,_0x43d090={};_0x43d090[_0x30efb7(0xd4)]=_0x30efb7(0xdb);const _0x2981c9=_0x43d090;return _0x2981c9[_0x30efb7(0xd4)];};function a92_0x219d(){const _0x2d9dd4=['SbgMO','AutomationFrameworkState.QUIT','AutomationFrameworkState.CREATE','fekob','AutomationFrameworkState.IDLE','1194456pxMSiG','AutomationFrameworkState.NONE','OmNlt','AutomationFrameworkState.EXECUTE','value','89652YClpwd','find','6950rHgwwi','WUwEI','values','exports','47245SXNHye','2336037YZTZdI','2025233dPZSoc','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','24feCXjW','24AzPwUp','freeze','../../utils/constants','AlZYA','toString','81688rDLwKZ','4188042UBKTXp','vHLhF','220hICLsj'];a92_0x219d=function(){return _0x2d9dd4;};return a92_0x219d();}const AutomationFrameworkState=Object[a92_0x283668(0xd2)]({'NONE':a92_0x2897b7,'CREATE':a92_0x2c9dd3,'PLAYWRIGHT_DISPATCH':a92_0x514dca,'EXECUTE':a92_0x51b08d,'IDLE':a92_0x52664a,'QUIT':a92_0x514056,'fromValue'(_0x438145){const _0x23ab7d=a92_0x283668;return Object[_0x23ab7d(0xca)](AutomationFrameworkState)[_0x23ab7d(0xc7)](_0x376b03=>_0x376b03[_0x23ab7d(0xc5)]===_0x438145);}});module[a92_0x283668(0xcb)]=AutomationFrameworkState;
1
+ const a92_0x180242=a92_0x2831;(function(_0x3816b7,_0x125912){const _0x4aa67b=a92_0x2831,_0x2f52b9=_0x3816b7();while(!![]){try{const _0x5835aa=parseInt(_0x4aa67b(0xa0))/0x1+parseInt(_0x4aa67b(0x98))/0x2+-parseInt(_0x4aa67b(0xab))/0x3*(-parseInt(_0x4aa67b(0xa4))/0x4)+parseInt(_0x4aa67b(0x9c))/0x5*(-parseInt(_0x4aa67b(0xa6))/0x6)+-parseInt(_0x4aa67b(0x95))/0x7*(-parseInt(_0x4aa67b(0x9d))/0x8)+parseInt(_0x4aa67b(0x9f))/0x9*(parseInt(_0x4aa67b(0x9e))/0xa)+-parseInt(_0x4aa67b(0x9a))/0xb;if(_0x5835aa===_0x125912)break;else _0x2f52b9['push'](_0x2f52b9['shift']());}catch(_0x387359){_0x2f52b9['push'](_0x2f52b9['shift']());}}}(a92_0x4e9d,0xa6bda));const {PLAYWRIGHT}=require(a92_0x180242(0x9b)),a92_0x44bbf0={};a92_0x44bbf0[a92_0x180242(0x97)]=0x0,a92_0x44bbf0['toString']=function(){const _0xd5981a=a92_0x180242,_0x3ef230={};_0x3ef230['ckvkK']='AutomationFrameworkState.NONE';const _0x116144=_0x3ef230;return _0x116144[_0xd5981a(0xa8)];};const a92_0x2fafb9={};function a92_0x4e9d(){const _0x219e6c=['OXdGi','21574EMTEvO','exports','value','1394318eGFNuH','LhBHf','28405058RPBjqw','../../utils/constants','293385qYRFXu','3168xihsGz','11151520XbWBkZ','9nItZBr','974264yLwNmk','values','toString','eTwdt','5816MnTMOo','Fpcqy','138QYMQmP','AutomationFrameworkState.QUIT','ckvkK','AutomationFrameworkState.CREATE','iUDyK','1254yMouJm','AutomationFrameworkState.PLAYWRIGHT_DISPATCH'];a92_0x4e9d=function(){return _0x219e6c;};return a92_0x4e9d();}a92_0x2fafb9[a92_0x180242(0x97)]=0x1,a92_0x2fafb9[a92_0x180242(0xa2)]=function(){const _0xd7b1a2=a92_0x180242,_0x56ea59={};_0x56ea59[_0xd7b1a2(0xa3)]=_0xd7b1a2(0xa9);const _0x26426a=_0x56ea59;return _0x26426a[_0xd7b1a2(0xa3)];};const a92_0x4a66d7={};a92_0x4a66d7[a92_0x180242(0x97)]=0x2,a92_0x4a66d7['toString']=function(){const _0x1465a3=a92_0x180242,_0x3b7acf={};_0x3b7acf[_0x1465a3(0xa5)]=_0x1465a3(0xac);const _0x5f55b7=_0x3b7acf;return _0x5f55b7[_0x1465a3(0xa5)];};const a92_0x227a24={};function a92_0x2831(_0xeb242,_0x9eefce){const _0x4e9d8d=a92_0x4e9d();return a92_0x2831=function(_0x2831f5,_0xa48159){_0x2831f5=_0x2831f5-0x94;let _0x5ec88c=_0x4e9d8d[_0x2831f5];return _0x5ec88c;},a92_0x2831(_0xeb242,_0x9eefce);}a92_0x227a24['value']=0x3,a92_0x227a24[a92_0x180242(0xa2)]=function(){const _0x15d0dd=a92_0x180242,_0x584b38={};_0x584b38[_0x15d0dd(0x99)]='AutomationFrameworkState.EXECUTE';const _0x18a66b=_0x584b38;return _0x18a66b['LhBHf'];};const a92_0x189199={};a92_0x189199[a92_0x180242(0x97)]=0x4,a92_0x189199[a92_0x180242(0xa2)]=function(){const _0xbbe791=a92_0x180242,_0x1649c1={};_0x1649c1[_0xbbe791(0xaa)]='AutomationFrameworkState.IDLE';const _0x3d20f0=_0x1649c1;return _0x3d20f0['iUDyK'];};const a92_0x16e940={};a92_0x16e940[a92_0x180242(0x97)]=0x5,a92_0x16e940[a92_0x180242(0xa2)]=function(){const _0xdf3cfe=a92_0x180242,_0x52d76b={};_0x52d76b['OXdGi']=_0xdf3cfe(0xa7);const _0x257ea9=_0x52d76b;return _0x257ea9[_0xdf3cfe(0x94)];};const AutomationFrameworkState=Object['freeze']({'NONE':a92_0x44bbf0,'CREATE':a92_0x2fafb9,'PLAYWRIGHT_DISPATCH':a92_0x4a66d7,'EXECUTE':a92_0x227a24,'IDLE':a92_0x189199,'QUIT':a92_0x16e940,'fromValue'(_0x40b870){const _0x42319e=a92_0x180242;return Object[_0x42319e(0xa1)](AutomationFrameworkState)['find'](_0x34c362=>_0x34c362[_0x42319e(0x97)]===_0x40b870);}});module[a92_0x180242(0x96)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a93_0x2ada23=a93_0x1c1b;(function(_0xf8e27e,_0x2be06d){const _0x40dc5c=a93_0x1c1b,_0x22b019=_0xf8e27e();while(!![]){try{const _0x3a476a=-parseInt(_0x40dc5c(0xe7))/0x1*(parseInt(_0x40dc5c(0xef))/0x2)+parseInt(_0x40dc5c(0xe6))/0x3+-parseInt(_0x40dc5c(0xe2))/0x4+parseInt(_0x40dc5c(0xe1))/0x5+parseInt(_0x40dc5c(0xe4))/0x6+parseInt(_0x40dc5c(0xee))/0x7*(-parseInt(_0x40dc5c(0xea))/0x8)+parseInt(_0x40dc5c(0xec))/0x9*(parseInt(_0x40dc5c(0xe3))/0xa);if(_0x3a476a===_0x2be06d)break;else _0x22b019['push'](_0x22b019['shift']());}catch(_0x5d4d93){_0x22b019['push'](_0x22b019['shift']());}}}(a93_0x59ee,0x3a37a));function a93_0x59ee(){const _0x2e0928=['HookState.PRE','find','value','QXqbj','freeze','1181285sACzVR','980344UWofEH','1492820IPoTCy','2227614sutEHh','uoNNr','340596KAaSzM','311NnemPK','GUoca','HookState.NONE','16geGFIY','toString','9HAPigE','values','689801vVNCgI','1220higjgd'];a93_0x59ee=function(){return _0x2e0928;};return a93_0x59ee();}const a93_0xae8ae5={};a93_0xae8ae5[a93_0x2ada23(0xf2)]=0x0,a93_0xae8ae5['toString']=function(){const _0x296f9f=a93_0x2ada23,_0x3894c1={};_0x3894c1['uoNNr']=_0x296f9f(0xe9);const _0x1abb4a=_0x3894c1;return _0x1abb4a[_0x296f9f(0xe5)];};const a93_0x52f093={};a93_0x52f093[a93_0x2ada23(0xf2)]=0x1,a93_0x52f093[a93_0x2ada23(0xeb)]=function(){const _0x3a1670=a93_0x2ada23,_0x3f27ef={};_0x3f27ef[_0x3a1670(0xf3)]=_0x3a1670(0xf0);const _0x3a767c=_0x3f27ef;return _0x3a767c['QXqbj'];};function a93_0x1c1b(_0x25baa8,_0x375674){const _0x59ee06=a93_0x59ee();return a93_0x1c1b=function(_0x1c1b85,_0x2425ca){_0x1c1b85=_0x1c1b85-0xe1;let _0x4efd1a=_0x59ee06[_0x1c1b85];return _0x4efd1a;},a93_0x1c1b(_0x25baa8,_0x375674);}const a93_0x4611d4={};a93_0x4611d4[a93_0x2ada23(0xf2)]=0x2,a93_0x4611d4[a93_0x2ada23(0xeb)]=function(){const _0x4663f6=a93_0x2ada23,_0x28a9e2={};_0x28a9e2[_0x4663f6(0xe8)]='HookState.POST';const _0x2e38f3=_0x28a9e2;return _0x2e38f3[_0x4663f6(0xe8)];};const HookState=Object[a93_0x2ada23(0xf4)]({'NONE':a93_0xae8ae5,'PRE':a93_0x52f093,'POST':a93_0x4611d4,'fromValue'(_0x43c520){const _0x56b617=a93_0x2ada23;return Object[_0x56b617(0xed)](HookState)[_0x56b617(0xf1)](_0x1ac438=>_0x1ac438[_0x56b617(0xf2)]===_0x43c520);}});module['exports']=HookState;
1
+ const a93_0x3e971e=a93_0x5e64;(function(_0x2cf520,_0x4241e3){const _0x13cfcb=a93_0x5e64,_0x3c853a=_0x2cf520();while(!![]){try{const _0x24ee0c=parseInt(_0x13cfcb(0x1f2))/0x1*(parseInt(_0x13cfcb(0x1ec))/0x2)+parseInt(_0x13cfcb(0x1ea))/0x3*(parseInt(_0x13cfcb(0x1e5))/0x4)+parseInt(_0x13cfcb(0x1f3))/0x5+parseInt(_0x13cfcb(0x1f1))/0x6*(-parseInt(_0x13cfcb(0x1e7))/0x7)+-parseInt(_0x13cfcb(0x1e2))/0x8*(parseInt(_0x13cfcb(0x1ed))/0x9)+-parseInt(_0x13cfcb(0x1f4))/0xa*(-parseInt(_0x13cfcb(0x1ef))/0xb)+parseInt(_0x13cfcb(0x1f5))/0xc*(-parseInt(_0x13cfcb(0x1eb))/0xd);if(_0x24ee0c===_0x4241e3)break;else _0x3c853a['push'](_0x3c853a['shift']());}catch(_0x47f589){_0x3c853a['push'](_0x3c853a['shift']());}}}(a93_0x2f63,0x31b95));const a93_0x2d1ef7={};a93_0x2d1ef7['value']=0x0,a93_0x2d1ef7[a93_0x3e971e(0x1e6)]=function(){const _0x1a2ddb=a93_0x3e971e,_0x58e408={};_0x58e408[_0x1a2ddb(0x1f0)]='HookState.NONE';const _0x5bddea=_0x58e408;return _0x5bddea[_0x1a2ddb(0x1f0)];};const a93_0x54d791={};a93_0x54d791[a93_0x3e971e(0x1e4)]=0x1,a93_0x54d791[a93_0x3e971e(0x1e6)]=function(){const _0x288e6e=a93_0x3e971e,_0xf3401d={};_0xf3401d[_0x288e6e(0x1e3)]=_0x288e6e(0x1f6);const _0x3cce93=_0xf3401d;return _0x3cce93[_0x288e6e(0x1e3)];};const a93_0x499976={};function a93_0x2f63(){const _0x29d2d5=['freeze','exports','714003IvNtnc','3575KEnzLt','176036OStlwb','2767392OXdedc','find','22EowEQY','TuaWf','72894QbFiaL','2kgTyxi','1982655WATKJe','1342210tucUgR','13116oMENRT','HookState.PRE','8WDuEMM','wAbul','value','4AttivE','toString','154aAIusf'];a93_0x2f63=function(){return _0x29d2d5;};return a93_0x2f63();}function a93_0x5e64(_0x108c59,_0x18e40d){const _0x2f6393=a93_0x2f63();return a93_0x5e64=function(_0x5e6442,_0x5b69d9){_0x5e6442=_0x5e6442-0x1e2;let _0x39bcc0=_0x2f6393[_0x5e6442];return _0x39bcc0;},a93_0x5e64(_0x108c59,_0x18e40d);}a93_0x499976[a93_0x3e971e(0x1e4)]=0x2,a93_0x499976[a93_0x3e971e(0x1e6)]=function(){const _0x1d3f47={};_0x1d3f47['bgvMu']='HookState.POST';const _0x1c606c=_0x1d3f47;return _0x1c606c['bgvMu'];};const HookState=Object[a93_0x3e971e(0x1e8)]({'NONE':a93_0x2d1ef7,'PRE':a93_0x54d791,'POST':a93_0x499976,'fromValue'(_0x14448a){const _0x18db46=a93_0x3e971e;return Object['values'](HookState)[_0x18db46(0x1ee)](_0x31d922=>_0x31d922[_0x18db46(0x1e4)]===_0x14448a);}});module[a93_0x3e971e(0x1e9)]=HookState;
@@ -1 +1 @@
1
- const a94_0x4aceba=a94_0x2a87;(function(_0x5a8f45,_0x54427b){const _0x3e7494=a94_0x2a87,_0x288bef=_0x5a8f45();while(!![]){try{const _0x4f2097=-parseInt(_0x3e7494(0x19e))/0x1+parseInt(_0x3e7494(0x1b1))/0x2+parseInt(_0x3e7494(0x1a8))/0x3+parseInt(_0x3e7494(0x1a9))/0x4*(parseInt(_0x3e7494(0x1a5))/0x5)+-parseInt(_0x3e7494(0x1aa))/0x6+parseInt(_0x3e7494(0x1af))/0x7+-parseInt(_0x3e7494(0x1a1))/0x8;if(_0x4f2097===_0x54427b)break;else _0x288bef['push'](_0x288bef['shift']());}catch(_0x54a15a){_0x288bef['push'](_0x288bef['shift']());}}}(a94_0x2a4d,0x37089));const a94_0x1877fa={};a94_0x1877fa[a94_0x4aceba(0x1b7)]=0x0,a94_0x1877fa[a94_0x4aceba(0x1b6)]=function(){const _0x44681d=a94_0x4aceba,_0x322038={};_0x322038[_0x44681d(0x1a0)]=_0x44681d(0x1a3);const _0xb6ab10=_0x322038;return _0xb6ab10[_0x44681d(0x1a0)];};const a94_0x23e6c6={};a94_0x23e6c6[a94_0x4aceba(0x1b7)]=0x1,a94_0x23e6c6[a94_0x4aceba(0x1b6)]=function(){const _0x4a512e=a94_0x4aceba,_0x11e8e3={};_0x11e8e3[_0x4a512e(0x1ae)]=_0x4a512e(0x1a4);const _0xc1282c=_0x11e8e3;return _0xc1282c[_0x4a512e(0x1ae)];};function a94_0x2a87(_0x5eba92,_0x77b52b){const _0x2a4da2=a94_0x2a4d();return a94_0x2a87=function(_0x2a874b,_0x21d2d8){_0x2a874b=_0x2a874b-0x19d;let _0x5e7365=_0x2a4da2[_0x2a874b];return _0x5e7365;},a94_0x2a87(_0x5eba92,_0x77b52b);}const a94_0x1bbd19={};a94_0x1bbd19[a94_0x4aceba(0x1b7)]=0x2,a94_0x1bbd19[a94_0x4aceba(0x1b6)]=function(){const _0x176113=a94_0x4aceba,_0x38e212={};_0x38e212[_0x176113(0x19f)]=_0x176113(0x1b8);const _0x602444=_0x38e212;return _0x602444[_0x176113(0x19f)];};const a94_0xfeaceb={};a94_0xfeaceb[a94_0x4aceba(0x1b7)]=0x3,a94_0xfeaceb[a94_0x4aceba(0x1b6)]=function(){const _0x3f222e=a94_0x4aceba,_0x1bac1a={};_0x1bac1a[_0x3f222e(0x1bf)]='TestFrameworkState.SETUP_FIXTURE';const _0x51a585=_0x1bac1a;return _0x51a585[_0x3f222e(0x1bf)];};const a94_0x89bac={};a94_0x89bac['value']=0x4,a94_0x89bac[a94_0x4aceba(0x1b6)]=function(){const _0x4f4a16=a94_0x4aceba,_0x291a22={};_0x291a22['BJRsH']=_0x4f4a16(0x1b5);const _0x4426b0=_0x291a22;return _0x4426b0[_0x4f4a16(0x1b2)];};const a94_0x2f1ed4={};a94_0x2f1ed4[a94_0x4aceba(0x1b7)]=0x5,a94_0x2f1ed4[a94_0x4aceba(0x1b6)]=function(){const _0x23d634=a94_0x4aceba,_0x339415={};_0x339415[_0x23d634(0x1a7)]=_0x23d634(0x1b9);const _0x21e858=_0x339415;return _0x21e858[_0x23d634(0x1a7)];};const a94_0x5d660f={};a94_0x5d660f[a94_0x4aceba(0x1b7)]=0x6,a94_0x5d660f[a94_0x4aceba(0x1b6)]=function(){const _0x354dc8=a94_0x4aceba,_0x277132={};_0x277132[_0x354dc8(0x1b3)]=_0x354dc8(0x1ba);const _0x3f6a12=_0x277132;return _0x3f6a12['xeiFg'];};function a94_0x2a4d(){const _0x52a51d=['383023gOcbeb','Qsuug','HcUwp','1109584oyIkPj','TestFrameworkState.TEST_SCREENSHOT','TestFrameworkState.NONE','TestFrameworkState.BEFORE_ALL','149355moAYsG','TestFrameworkState.STEP','BArGO','363294xAZCBr','28YHqqFy','2108988zXhcxi','gAuUn','ImuoN','exports','yUVuA','2365699QKRhcr','TestFrameworkState.AFTER_ALL','860968LfidAO','BJRsH','xeiFg','find','TestFrameworkState.INIT_TEST','toString','value','TestFrameworkState.LOG','TestFrameworkState.BEFORE_EACH','TestFrameworkState.AFTER_EACH','TestFrameworkState.TEST','freeze','sMaoo','EWLzw','btkvK','values'];a94_0x2a4d=function(){return _0x52a51d;};return a94_0x2a4d();}const a94_0x3c8ebe={};a94_0x3c8ebe['value']=0x7,a94_0x3c8ebe[a94_0x4aceba(0x1b6)]=function(){const _0x188b19=a94_0x4aceba,_0x181977={};_0x181977[_0x188b19(0x1be)]=_0x188b19(0x1bb);const _0x3b27b1=_0x181977;return _0x3b27b1[_0x188b19(0x1be)];};const a94_0x2e807b={};a94_0x2e807b[a94_0x4aceba(0x1b7)]=0x8,a94_0x2e807b['toString']=function(){const _0x5de7df=a94_0x4aceba,_0x55ebf1={};_0x55ebf1['nHhfS']=_0x5de7df(0x1a6);const _0x49563c=_0x55ebf1;return _0x49563c['nHhfS'];};const a94_0x2f8e03={};a94_0x2f8e03[a94_0x4aceba(0x1b7)]=0x9,a94_0x2f8e03[a94_0x4aceba(0x1b6)]=function(){const _0x22ffed=a94_0x4aceba,_0x169bd1={};_0x169bd1[_0x22ffed(0x1ac)]='TestFrameworkState.LOG_REPORT';const _0x4123f0=_0x169bd1;return _0x4123f0['ImuoN'];};const a94_0x36c739={};a94_0x36c739[a94_0x4aceba(0x1b7)]=0xa,a94_0x36c739['toString']=function(){const _0x4aef5f=a94_0x4aceba,_0x575c13={};_0x575c13[_0x4aef5f(0x1bd)]=_0x4aef5f(0x1b0);const _0x82f5b=_0x575c13;return _0x82f5b[_0x4aef5f(0x1bd)];};const a94_0x4251c7={};a94_0x4251c7[a94_0x4aceba(0x1b7)]=0xb,a94_0x4251c7['toString']=function(){const _0x2d7325=a94_0x4aceba,_0x1f740f={};_0x1f740f[_0x2d7325(0x1ab)]=_0x2d7325(0x1a2);const _0x5a716e=_0x1f740f;return _0x5a716e[_0x2d7325(0x1ab)];};const TestFrameworkState=Object[a94_0x4aceba(0x1bc)]({'NONE':a94_0x1877fa,'BEFORE_ALL':a94_0x23e6c6,'LOG':a94_0x1bbd19,'SETUP_FIXTURE':a94_0xfeaceb,'INIT_TEST':a94_0x89bac,'BEFORE_EACH':a94_0x2f1ed4,'AFTER_EACH':a94_0x5d660f,'TEST':a94_0x3c8ebe,'STEP':a94_0x2e807b,'LOG_REPORT':a94_0x2f8e03,'AFTER_ALL':a94_0x36c739,'TEST_SCREENSHOT':a94_0x4251c7,'fromValue'(_0x4fb037){const _0x15b6f1=a94_0x4aceba;return Object[_0x15b6f1(0x19d)](TestFrameworkState)[_0x15b6f1(0x1b4)](_0x5ebd74=>_0x5ebd74[_0x15b6f1(0x1b7)]===_0x4fb037);}});module[a94_0x4aceba(0x1ad)]=TestFrameworkState;
1
+ const a94_0x5f2d3e=a94_0x334f;(function(_0x2836ee,_0x4db7c1){const _0x5ab051=a94_0x334f,_0x14c85d=_0x2836ee();while(!![]){try{const _0x275767=parseInt(_0x5ab051(0x11e))/0x1*(-parseInt(_0x5ab051(0x12b))/0x2)+parseInt(_0x5ab051(0x134))/0x3+parseInt(_0x5ab051(0x127))/0x4+-parseInt(_0x5ab051(0x11c))/0x5+parseInt(_0x5ab051(0x123))/0x6+parseInt(_0x5ab051(0x11f))/0x7*(parseInt(_0x5ab051(0x12c))/0x8)+-parseInt(_0x5ab051(0x135))/0x9;if(_0x275767===_0x4db7c1)break;else _0x14c85d['push'](_0x14c85d['shift']());}catch(_0x3da55c){_0x14c85d['push'](_0x14c85d['shift']());}}}(a94_0x5e0a,0xa44b8));const a94_0x4ed5e3={};a94_0x4ed5e3[a94_0x5f2d3e(0x125)]=0x0,a94_0x4ed5e3['toString']=function(){const _0x4cd728=a94_0x5f2d3e,_0x26060a={};_0x26060a[_0x4cd728(0x133)]=_0x4cd728(0x137);const _0x7fc6b1=_0x26060a;return _0x7fc6b1[_0x4cd728(0x133)];};const a94_0x3c0f1b={};function a94_0x334f(_0x101cee,_0x1b3934){const _0x5e0ada=a94_0x5e0a();return a94_0x334f=function(_0x334f5b,_0x3f06c5){_0x334f5b=_0x334f5b-0x119;let _0x2fc6b9=_0x5e0ada[_0x334f5b];return _0x2fc6b9;},a94_0x334f(_0x101cee,_0x1b3934);}a94_0x3c0f1b[a94_0x5f2d3e(0x125)]=0x1,a94_0x3c0f1b['toString']=function(){const _0x1aa3cf=a94_0x5f2d3e,_0x428537={};_0x428537[_0x1aa3cf(0x119)]=_0x1aa3cf(0x138);const _0x3a5a66=_0x428537;return _0x3a5a66['RhMjT'];};const a94_0x5314d0={};a94_0x5314d0[a94_0x5f2d3e(0x125)]=0x2,a94_0x5314d0[a94_0x5f2d3e(0x126)]=function(){const _0x1da307=a94_0x5f2d3e,_0x2a748e={};_0x2a748e['vmOOj']='TestFrameworkState.LOG';const _0x4bca35=_0x2a748e;return _0x4bca35[_0x1da307(0x11b)];};const a94_0x3b5adf={};a94_0x3b5adf[a94_0x5f2d3e(0x125)]=0x3,a94_0x3b5adf['toString']=function(){const _0x39aaf2=a94_0x5f2d3e,_0x249321={};_0x249321[_0x39aaf2(0x12a)]='TestFrameworkState.SETUP_FIXTURE';const _0x545bf5=_0x249321;return _0x545bf5['ShQDI'];};const a94_0x41fdaa={};a94_0x41fdaa[a94_0x5f2d3e(0x125)]=0x4,a94_0x41fdaa[a94_0x5f2d3e(0x126)]=function(){const _0x2ab182=a94_0x5f2d3e,_0x47e162={};_0x47e162[_0x2ab182(0x139)]=_0x2ab182(0x13b);const _0x2a07ab=_0x47e162;return _0x2a07ab[_0x2ab182(0x139)];};function a94_0x5e0a(){const _0x3a2d66=['ShQDI','2rsPcvV','40NzgKTN','find','sCGia','TestFrameworkState.AFTER_ALL','TestFrameworkState.LOG_REPORT','fWXPb','pCrOw','lmQik','1963317WWFqLk','9180630WCsXwB','TestFrameworkState.BEFORE_EACH','TestFrameworkState.NONE','TestFrameworkState.BEFORE_ALL','BIYaD','values','TestFrameworkState.INIT_TEST','RhMjT','WLtss','vmOOj','3829510ifNaqM','TestFrameworkState.TEST_SCREENSHOT','1219630SYWRcq','1841308aLLhNY','yBEPM','TestFrameworkState.TEST','Xvfkq','8049354aahmOe','TestFrameworkState.STEP','value','toString','1469344JiRpOY','MSowN','exports'];a94_0x5e0a=function(){return _0x3a2d66;};return a94_0x5e0a();}const a94_0x184f19={};a94_0x184f19[a94_0x5f2d3e(0x125)]=0x5,a94_0x184f19[a94_0x5f2d3e(0x126)]=function(){const _0x21dc3f=a94_0x5f2d3e,_0x596010={};_0x596010['WLtss']=_0x21dc3f(0x136);const _0x1d0d74=_0x596010;return _0x1d0d74[_0x21dc3f(0x11a)];};const a94_0x1b478d={};a94_0x1b478d[a94_0x5f2d3e(0x125)]=0x6,a94_0x1b478d[a94_0x5f2d3e(0x126)]=function(){const _0x231a6a=a94_0x5f2d3e,_0x3604a6={};_0x3604a6[_0x231a6a(0x122)]='TestFrameworkState.AFTER_EACH';const _0x329b51=_0x3604a6;return _0x329b51[_0x231a6a(0x122)];};const a94_0x4b4944={};a94_0x4b4944[a94_0x5f2d3e(0x125)]=0x7,a94_0x4b4944[a94_0x5f2d3e(0x126)]=function(){const _0x562266=a94_0x5f2d3e,_0xf204c6={};_0xf204c6[_0x562266(0x120)]=_0x562266(0x121);const _0x5e387c=_0xf204c6;return _0x5e387c['yBEPM'];};const a94_0x428cb6={};a94_0x428cb6['value']=0x8,a94_0x428cb6['toString']=function(){const _0x5b7edd=a94_0x5f2d3e,_0x3e53d5={};_0x3e53d5[_0x5b7edd(0x132)]=_0x5b7edd(0x124);const _0x8e8eb3=_0x3e53d5;return _0x8e8eb3[_0x5b7edd(0x132)];};const a94_0x419a42={};a94_0x419a42[a94_0x5f2d3e(0x125)]=0x9,a94_0x419a42[a94_0x5f2d3e(0x126)]=function(){const _0x5f45b0=a94_0x5f2d3e,_0x480e7d={};_0x480e7d[_0x5f45b0(0x128)]=_0x5f45b0(0x130);const _0x34d214=_0x480e7d;return _0x34d214[_0x5f45b0(0x128)];};const a94_0x1bf779={};a94_0x1bf779[a94_0x5f2d3e(0x125)]=0xa,a94_0x1bf779[a94_0x5f2d3e(0x126)]=function(){const _0x35947f=a94_0x5f2d3e,_0x4804db={};_0x4804db['fWXPb']=_0x35947f(0x12f);const _0x3ca87a=_0x4804db;return _0x3ca87a[_0x35947f(0x131)];};const a94_0x4dda83={};a94_0x4dda83['value']=0xb,a94_0x4dda83[a94_0x5f2d3e(0x126)]=function(){const _0x4fb513=a94_0x5f2d3e,_0x309a93={};_0x309a93[_0x4fb513(0x12e)]=_0x4fb513(0x11d);const _0x24f104=_0x309a93;return _0x24f104[_0x4fb513(0x12e)];};const TestFrameworkState=Object['freeze']({'NONE':a94_0x4ed5e3,'BEFORE_ALL':a94_0x3c0f1b,'LOG':a94_0x5314d0,'SETUP_FIXTURE':a94_0x3b5adf,'INIT_TEST':a94_0x41fdaa,'BEFORE_EACH':a94_0x184f19,'AFTER_EACH':a94_0x1b478d,'TEST':a94_0x4b4944,'STEP':a94_0x428cb6,'LOG_REPORT':a94_0x419a42,'AFTER_ALL':a94_0x1bf779,'TEST_SCREENSHOT':a94_0x4dda83,'fromValue'(_0x1824c2){const _0x31c9cd=a94_0x5f2d3e;return Object[_0x31c9cd(0x13a)](TestFrameworkState)[_0x31c9cd(0x12d)](_0x1d71e1=>_0x1d71e1[_0x31c9cd(0x125)]===_0x1824c2);}});module[a94_0x5f2d3e(0x129)]=TestFrameworkState;
@@ -1 +1 @@
1
- const a95_0x3af381=a95_0x4bf9;(function(_0x408418,_0x40cfad){const _0x3d72e5=a95_0x4bf9,_0x26e8dc=_0x408418();while(!![]){try{const _0x590591=parseInt(_0x3d72e5(0x204))/0x1+-parseInt(_0x3d72e5(0x187))/0x2*(parseInt(_0x3d72e5(0x1a8))/0x3)+-parseInt(_0x3d72e5(0x1f2))/0x4+-parseInt(_0x3d72e5(0x1b4))/0x5*(-parseInt(_0x3d72e5(0x1d8))/0x6)+-parseInt(_0x3d72e5(0x1ed))/0x7*(parseInt(_0x3d72e5(0x1e9))/0x8)+-parseInt(_0x3d72e5(0x1e6))/0x9+parseInt(_0x3d72e5(0x196))/0xa;if(_0x590591===_0x40cfad)break;else _0x26e8dc['push'](_0x26e8dc['shift']());}catch(_0x307bf4){_0x26e8dc['push'](_0x26e8dc['shift']());}}}(a95_0x559d,0x20369));function a95_0x4bf9(_0x3b7bd6,_0x499ab8){const _0x559d9b=a95_0x559d();return a95_0x4bf9=function(_0x4bf926,_0xd72aad){_0x4bf926=_0x4bf926-0x185;let _0x28a3f1=_0x559d9b[_0x4bf926];return _0x28a3f1;},a95_0x4bf9(_0x3b7bd6,_0x499ab8);}function a95_0x559d(){const _0x479770=['buildHashedId','CartF','zxsES','YHoKJ','./browserstackCLI','KBfBW','lzxqq','jest','https://','http://','TestHubModule','BKDtx','__workerDetails','RbMfJ','oIkjV','MGKxk','Created\x20.browserstack\x20folder\x20at:\x20%s','statSync','name','Cleared\x20attachment\x20folder','Eeneb','uploadAttachments','TEST','wAOjg','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','toFixed','get','../../helpers/classLogger.js','KEY_TEST_ATTACHMENTS','6uIMooa','TrYDf','oVywN','path','setTestDetails','__jestCurrentTestIdentifier','gVepN','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','FOtDc','getAllData','pipe','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','unlinkSync','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','2086524GpYxqk','addMultipleEntries','./state/testFrameworkState','27448fjruKN','hogRL','KEY_FILE_PATH','exvSF','259rawijz','trim','ETgyb','finish','xxJEj','287820igcQRZ','getTestFrameworkDetail','isRunning','testhubConfig','qhFgo','debug','GGnox','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','modules','createWriteStream','startsWith','uKFOh','getState','xKXLF','retry','toObject','trackFile','TQoDS','137230DRWSvq','getInstance','homedir','JJevk','copyFileSync','JWUES','fdBsO','inQct','KEY_FILE_NAME','202YwyxHo','uploadAttachmentsManager','resolveInstance','kIqVB','./TestInfo','force','format','statusCode','currentTest','close','EPIqX','getTestDetails','KEY_FILE_SIZE','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','util','4047770GpkxDS','join','EzHwd','.browserstack','https','Created\x20folder:\x20%s','clearAttachments','VfNRO','wzyFB','getTestIdentifierFromTestInfo','IbpnT','NUpZY','existsSync','getTestFramework','basename',',\x20filepath:\x20','getTrackedInstance','HiClO','7089UonvrO','exports','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','Attachment\x20recevied\x20for\x20path:\x20%s','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','alOGf','TestLevel','JGpTW','size','logger','message','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','1296695vWNCeQ','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','POST','KEY_TEST_ID','vryit','./cliUtils','BuildLevel'];a95_0x559d=function(){return _0x479770;};return a95_0x559d();}const os=require('os'),fs=require('fs'),path=require(a95_0x3af381(0x1db)),util=require(a95_0x3af381(0x195)),BrowserstackCLI=require(a95_0x3af381(0x1bf)),https=require(a95_0x3af381(0x19a)),http=require('http'),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a95_0x3af381(0x18b)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a95_0x3af381(0x1d6));class uploadAttachmentsManager{static [a95_0x3af381(0x1b1)]=createClassLogger(a95_0x3af381(0x188));static[a95_0x3af381(0x1d0)](_0x1b21e1,_0x319c63=![]){const _0x399e4b=a95_0x3af381,_0x38ecfc={};_0x38ecfc['ETgyb']=function(_0x3d6002,_0x4c225f){return _0x3d6002/_0x4c225f;},_0x38ecfc['uKFOh']=function(_0x5819c7,_0x2eadf3){return _0x5819c7*_0x2eadf3;},_0x38ecfc['keWIM']=function(_0x25987b,_0x1c452e){return _0x25987b>_0x1c452e;},_0x38ecfc[_0x399e4b(0x1cf)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x38ecfc[_0x399e4b(0x1d9)]='File\x20downloaded\x20to:\x20%s',_0x38ecfc[_0x399e4b(0x1ea)]=function(_0x140ae6,_0x51c0dd){return _0x140ae6===_0x51c0dd;},_0x38ecfc[_0x399e4b(0x1be)]=_0x399e4b(0x1f0),_0x38ecfc[_0x399e4b(0x1bc)]=_0x399e4b(0x1e5),_0x38ecfc[_0x399e4b(0x191)]=_0x399e4b(0x1e3),_0x38ecfc[_0x399e4b(0x20a)]=_0x399e4b(0x1ab),_0x38ecfc[_0x399e4b(0x203)]=_0x399e4b(0x199),_0x38ecfc[_0x399e4b(0x185)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x38ecfc[_0x399e4b(0x1b8)]=_0x399e4b(0x1cb),_0x38ecfc[_0x399e4b(0x1ad)]=_0x399e4b(0x19b),_0x38ecfc[_0x399e4b(0x198)]=_0x399e4b(0x1d3),_0x38ecfc[_0x399e4b(0x1a7)]=_0x399e4b(0x1c3),_0x38ecfc['IbpnT']=_0x399e4b(0x1c4),_0x38ecfc[_0x399e4b(0x1ff)]='error',_0x38ecfc[_0x399e4b(0x1d2)]=_0x399e4b(0x1df),_0x38ecfc['JWUES']=_0x399e4b(0x1b5);const _0x7c07c5=_0x38ecfc;this['logger'][_0x399e4b(0x1f7)](util[_0x399e4b(0x18d)](_0x7c07c5[_0x399e4b(0x20a)],_0x1b21e1));const _0x55e458=os[_0x399e4b(0x206)](),_0x45d67d=path['join'](_0x55e458,_0x7c07c5['TQoDS']);!fs[_0x399e4b(0x1a2)](_0x45d67d)&&(this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util[_0x399e4b(0x18d)](_0x7c07c5[_0x399e4b(0x185)],_0x45d67d)),fs['mkdirSync'](_0x45d67d),this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util['format'](_0x7c07c5[_0x399e4b(0x1b8)],_0x45d67d)));const _0x7ddc1b=BrowserstackCLI[_0x399e4b(0x205)]()[_0x399e4b(0x1fa)][_0x399e4b(0x1c5)]?.['testhubConfig']?.[_0x399e4b(0x201)]()?.[_0x399e4b(0x1bb)],_0x290d3f=path[_0x399e4b(0x197)](_0x45d67d,_0x7ddc1b);!fs[_0x399e4b(0x1a2)](_0x290d3f)&&(fs['mkdirSync'](_0x290d3f),this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util[_0x399e4b(0x18d)](_0x7c07c5['alOGf'],_0x290d3f)));if(_0x7c07c5[_0x399e4b(0x1ea)](_0x1b21e1[_0x399e4b(0x1ee)](),'')){this[_0x399e4b(0x1b1)]['debug'](util['format'](_0x7c07c5['EzHwd']));return;}if(_0x1b21e1[_0x399e4b(0x1fc)](_0x7c07c5[_0x399e4b(0x1a7)])||_0x1b21e1[_0x399e4b(0x1fc)](_0x7c07c5[_0x399e4b(0x1a0)])){const _0x4f6460=_0x1b21e1[_0x399e4b(0x1fc)](_0x7c07c5['HiClO'])?https:http,_0xee32b0=path[_0x399e4b(0x1a4)](_0x1b21e1),_0x45734f=path[_0x399e4b(0x197)](_0x290d3f,_0xee32b0),_0x1ce601=fs[_0x399e4b(0x1fb)](_0x45734f);_0x4f6460[_0x399e4b(0x1d5)](_0x1b21e1,_0x4077df=>{const _0x13b02a=_0x399e4b,_0x27d1fb={'oIkjV':function(_0x158889,_0x1f7157){return _0x7c07c5['ETgyb'](_0x158889,_0x1f7157);},'KBfBW':function(_0x52cc43,_0x119632){const _0x236825=a95_0x4bf9;return _0x7c07c5[_0x236825(0x1fd)](_0x52cc43,_0x119632);},'MGKxk':function(_0x383ca5,_0x2ab1aa){return _0x7c07c5['keWIM'](_0x383ca5,_0x2ab1aa);},'BKDtx':_0x7c07c5[_0x13b02a(0x1cf)],'wzyFB':_0x7c07c5['TrYDf']};if(_0x7c07c5['hogRL'](_0x4077df['statusCode'],0xc8))_0x4077df[_0x13b02a(0x1e2)](_0x1ce601),_0x1ce601['on'](_0x7c07c5[_0x13b02a(0x1be)],()=>{const _0x1cf414=_0x13b02a;_0x1ce601['close']();const _0xb04e98=fs['statSync'](_0x45734f),_0x4cac5d=_0x27d1fb[_0x1cf414(0x1c9)](_0xb04e98['size'],_0x27d1fb[_0x1cf414(0x1c0)](0x400,0x400));if(_0x27d1fb[_0x1cf414(0x1ca)](_0x4cac5d,0x64)){this[_0x1cf414(0x1b1)][_0x1cf414(0x1f7)](util[_0x1cf414(0x18d)](_0x27d1fb[_0x1cf414(0x1c6)],_0x4cac5d[_0x1cf414(0x1d4)](0x2))),fs[_0x1cf414(0x1e4)](_0x45734f);return;}this[_0x1cf414(0x1b1)][_0x1cf414(0x1f7)](util[_0x1cf414(0x18d)](_0x27d1fb[_0x1cf414(0x19e)],_0x45734f)),uploadAttachmentsManager[_0x1cf414(0x202)](_0x45734f,_0x319c63);});else{this['logger'][_0x13b02a(0x1f7)](util[_0x13b02a(0x18d)](_0x7c07c5[_0x13b02a(0x1bc)],_0x4077df[_0x13b02a(0x18e)])),_0x1ce601[_0x13b02a(0x190)](),fs[_0x13b02a(0x1e4)](_0x45734f);return;}})['on'](_0x7c07c5['xKXLF'],_0x54f5ab=>{const _0x59b2c6=_0x399e4b;this[_0x59b2c6(0x1b1)]['debug'](util['format'](_0x7c07c5['EPIqX'],_0x54f5ab[_0x59b2c6(0x1b2)])),_0x1ce601['close'](),fs['unlinkSync'](_0x45734f);return;});}else{if(!fs[_0x399e4b(0x1a2)](_0x1b21e1)){this[_0x399e4b(0x1b1)][_0x399e4b(0x1f7)](util['format'](_0x7c07c5[_0x399e4b(0x1d2)],_0x1b21e1));return;}const _0x230758=fs[_0x399e4b(0x1cc)](_0x1b21e1),_0x265b54=_0x7c07c5[_0x399e4b(0x1ef)](_0x230758[_0x399e4b(0x1b0)],_0x7c07c5['uKFOh'](0x400,0x400));if(_0x7c07c5['keWIM'](_0x265b54,0x64)){this[_0x399e4b(0x1b1)]['debug'](util[_0x399e4b(0x18d)](_0x7c07c5[_0x399e4b(0x209)],_0x265b54['toFixed'](0x2)));return;}const _0xbff2ad=path[_0x399e4b(0x1a4)](_0x1b21e1),_0x220fd7=path[_0x399e4b(0x197)](_0x290d3f,_0xbff2ad);fs[_0x399e4b(0x208)](_0x1b21e1,_0x220fd7),uploadAttachmentsManager[_0x399e4b(0x202)](_0x220fd7,_0x319c63);}}static['trackFile'](_0xe09b7c,_0x2d7f02){const _0x105b4b=a95_0x3af381,_0x5d4472={'RbMfJ':function(_0x25cce1,_0x3032c9){return _0x25cce1(_0x3032c9);},'GGnox':'./browserstackCLI','kIqVB':_0x105b4b(0x1b9),'xxJEj':function(_0x37d108,_0x55d77e){return _0x37d108===_0x55d77e;},'NUpZY':_0x105b4b(0x1c2),'NGHfV':_0x105b4b(0x1b3),'exvSF':_0x105b4b(0x1ba),'lzxqq':_0x105b4b(0x1ae),'xigiJ':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','zxsES':_0x105b4b(0x1e8),'FOtDc':'./state/hookState','JGpTW':_0x105b4b(0x1ac),'oVywN':_0x105b4b(0x1aa),'VfNRO':'Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload'};try{let _0x35f99a;const _0x53c160=global[_0x105b4b(0x1c7)]?.[_0x105b4b(0x18f)]?.['testInfo'],_0x52c07=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x1f8)]),_0x5e67d3=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x18a)]),_0x450eea=_0x52c07[_0x105b4b(0x205)]()[_0x105b4b(0x1f4)]()&&_0x5d4472[_0x105b4b(0x1f1)](_0x5e67d3[_0x105b4b(0x1f3)]()?.[_0x105b4b(0x1cd)]?.['toLowerCase'](),_0x5d4472[_0x105b4b(0x1a1)]);if(_0x450eea){_0x35f99a=global[_0x105b4b(0x1dd)];if(!_0x35f99a){const _0x37238a=AutomationFramework[_0x105b4b(0x1a6)]();_0x35f99a=AutomationFramework[_0x105b4b(0x1fe)](_0x37238a,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0x105b4b(0x1b1)]['debug'](_0x105b4b(0x1f9)+_0x35f99a);}else{if(!_0x53c160){const _0x1cb875=AutomationFramework[_0x105b4b(0x1a6)]();_0x35f99a=AutomationFramework[_0x105b4b(0x1fe)](_0x1cb875,PlaywrightDriverModule[_0x105b4b(0x1b7)],'');}else _0x35f99a=TestInfo[_0x105b4b(0x19f)](_0x53c160,_0x53c160[_0x105b4b(0x200)]);this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)]('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x35f99a);}if(!_0x35f99a){this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)](_0x5d4472['NGHfV']);return;}const _0x472802={[TestFrameworkConstants[_0x105b4b(0x193)]]:fs[_0x105b4b(0x1cc)](_0xe09b7c)[_0x105b4b(0x1b0)],[TestFrameworkConstants[_0x105b4b(0x186)]]:path['basename'](_0xe09b7c),[TestFrameworkConstants[_0x105b4b(0x1eb)]]:_0xe09b7c,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x2d7f02?_0x5d4472[_0x105b4b(0x1ec)]:_0x5d4472[_0x105b4b(0x1c1)]};if(_0x450eea){const _0x578f60=_0x52c07[_0x105b4b(0x205)]()[_0x105b4b(0x1a3)]();if(!_0x578f60){this[_0x105b4b(0x1b1)]['debug'](_0x5d4472['xigiJ']);return;}const _0x3ef858=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x1bd)]),_0x126e80=_0x5d4472[_0x105b4b(0x1c8)](require,_0x5d4472[_0x105b4b(0x1e0)]),_0x2ee0c3=_0x578f60[_0x105b4b(0x189)](_0x3ef858[_0x105b4b(0x1d1)],_0x126e80[_0x105b4b(0x1b6)]);if(!_0x2ee0c3){this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)](_0x5d4472[_0x105b4b(0x1af)]);return;}const _0x37aa31=_0x2ee0c3[_0x105b4b(0x1e1)]()[_0x105b4b(0x1d5)](_0x35f99a)||{},_0x3ed4cd=_0x37aa31[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1fca3f={..._0x3ed4cd};_0x1fca3f[_0xe09b7c]=_0x472802;const _0x27321b=_0x1fca3f,_0x581583={[TestFrameworkConstants[_0x105b4b(0x1d7)]]:_0x27321b},_0x34d4fe={};_0x34d4fe[_0x35f99a]=_0x581583,_0x2ee0c3[_0x105b4b(0x1e7)](_0x34d4fe),this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x35f99a+',\x20filepath:\x20'+_0xe09b7c);}else{const _0x4519b3=TestInfo[_0x105b4b(0x192)](_0x35f99a),_0x451e7e=_0x4519b3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x451e7e[_0xe09b7c]=_0x472802,_0x4519b3[TestFrameworkConstants[_0x105b4b(0x1d7)]]=_0x451e7e,TestInfo[_0x105b4b(0x1dc)](_0x35f99a,_0x4519b3),this[_0x105b4b(0x1b1)][_0x105b4b(0x1f7)](_0x105b4b(0x194)+_0x35f99a+_0x105b4b(0x1a5)+_0xe09b7c);}this[_0x105b4b(0x1b1)]['debug'](util[_0x105b4b(0x18d)](_0x5d4472[_0x105b4b(0x1da)],_0xe09b7c));}catch(_0x4787da){this['logger'][_0x105b4b(0x1f7)](util[_0x105b4b(0x18d)](_0x5d4472[_0x105b4b(0x19d)],_0x4787da[_0x105b4b(0x1b2)]));}}static[a95_0x3af381(0x19c)](){const _0x5d540c=a95_0x3af381,_0x19b812={};_0x19b812[_0x5d540c(0x207)]='.browserstack',_0x19b812[_0x5d540c(0x1f6)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x19b812[_0x5d540c(0x1de)]=_0x5d540c(0x1ce);const _0x468e76=_0x19b812,_0x5b1b4b=os[_0x5d540c(0x206)](),_0xc57c08=path[_0x5d540c(0x197)](_0x5b1b4b,_0x468e76[_0x5d540c(0x207)]);if(!fs[_0x5d540c(0x1a2)](_0xc57c08))return;const _0xae2482=BrowserstackCLI[_0x5d540c(0x205)]()[_0x5d540c(0x1fa)][_0x5d540c(0x1c5)]?.[_0x5d540c(0x1f5)]?.[_0x5d540c(0x201)]()?.[_0x5d540c(0x1bb)],_0x4eeb21=_0xae2482?path[_0x5d540c(0x197)](_0xc57c08,_0xae2482):null;if(!_0x4eeb21||!fs[_0x5d540c(0x1a2)](_0x4eeb21)){this[_0x5d540c(0x1b1)][_0x5d540c(0x1f7)](util[_0x5d540c(0x18d)](_0x468e76[_0x5d540c(0x1f6)],_0xae2482));return;}const _0x4be80e={};_0x4be80e['recursive']=!![],_0x4be80e[_0x5d540c(0x18c)]=!![],fs['rmSync'](_0x4eeb21,_0x4be80e),this[_0x5d540c(0x1b1)]['debug'](util[_0x5d540c(0x18d)](_0x468e76[_0x5d540c(0x1de)]));}}module[a95_0x3af381(0x1a9)]=uploadAttachmentsManager;
1
+ const a95_0x219932=a95_0x2121;function a95_0x52f4(){const _0x3d15ed=['jPRBP','wuvRZ','toObject','vwqnG','KEY_FILE_SIZE','toLowerCase','10392375hfWaMK','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','name','1219411YGIWuA','abJGa','logger','getTestIdentifierFromTestInfo','KEY_TEST_ATTACHMENTS','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','toFixed','../../helpers/classLogger.js','trim','testhubConfig','TePjr','./TestInfo','PXcUZ','13096908iejXsL','currentTest','reIJz','./modules/playwrightDriverModule','Created\x20folder:\x20%s','Created\x20.browserstack\x20folder\x20at:\x20%s','dFhpW','nqbzl','RKoyA','buildHashedId','homedir','2MKiBDR','isRunning','ngSYh','JxCLg','4855lOQDAL','http','KyXIf','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','Iqeby','unlinkSync','Qcvqq','File\x20downloaded\x20to:\x20%s','./browserstackCLI','join','sPZdW','exports','MnbuW','Attachment\x20recevied\x20for\x20path:\x20%s','testInfo','3868HHJbmS','aKJkn','CIfFd','setTestDetails','getInstance','error','rmSync','1188546IcyyPs','trackFile','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','3540210ARSGbv','TestHubModule','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','PIsgd','chbsP','basename','getState','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','KvLOS','mkdirSync','KEY_TEST_ID','KEY_FILE_LEVEL','uploadAttachments','statusCode','./framework/automationFramework','debug','statSync','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','getTrackedInstance','Ftqnx','https','RWUGW','wmOKm','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','XvJrp','existsSync','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','size','close','clearAttachments','pipe','finish','tpcCe','message','https://','./framework/constants/testFrameworkConstants','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','startsWith','force','get','gCJbO','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','bxibF','9994672STVEjI','DYQTW','KEY_FILE_PATH','BuildLevel','format','.browserstack','oYDix','dwUXU','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','WNGEk',',\x20filepath:\x20','modules','jest','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','TEST','createWriteStream','pXQBA','POST','getTestFrameworkDetail'];a95_0x52f4=function(){return _0x3d15ed;};return a95_0x52f4();}(function(_0x33a512,_0x2ccda4){const _0x22e854=a95_0x2121,_0x49c9b2=_0x33a512();while(!![]){try{const _0x53a5f8=parseInt(_0x22e854(0x156))/0x1*(-parseInt(_0x22e854(0x16e))/0x2)+parseInt(_0x22e854(0x188))/0x3+-parseInt(_0x22e854(0x181))/0x4*(-parseInt(_0x22e854(0x172))/0x5)+-parseInt(_0x22e854(0x18b))/0x6+parseInt(_0x22e854(0x153))/0x7+parseInt(_0x22e854(0x138))/0x8+-parseInt(_0x22e854(0x163))/0x9;if(_0x53a5f8===_0x2ccda4)break;else _0x49c9b2['push'](_0x49c9b2['shift']());}catch(_0x48ec6f){_0x49c9b2['push'](_0x49c9b2['shift']());}}}(a95_0x52f4,0xc4658));const os=require('os'),fs=require('fs'),path=require('path'),util=require('util'),BrowserstackCLI=require(a95_0x219932(0x17a)),https=require(a95_0x219932(0x19f)),http=require(a95_0x219932(0x173)),AutomationFramework=require(a95_0x219932(0x199)),PlaywrightDriverModule=require(a95_0x219932(0x166)),TestInfo=require(a95_0x219932(0x161)),TestFrameworkConstants=require(a95_0x219932(0x130)),{createClassLogger}=require(a95_0x219932(0x15d));class uploadAttachmentsManager{static [a95_0x219932(0x158)]=createClassLogger('uploadAttachmentsManager');static[a95_0x219932(0x197)](_0x4a1a8a,_0x4c8ec7=![]){const _0x3b79ff=a95_0x219932,_0x42dfb9={};_0x42dfb9[_0x3b79ff(0x16a)]=function(_0x3d5414,_0x4cbe9e){return _0x3d5414/_0x4cbe9e;},_0x42dfb9[_0x3b79ff(0x183)]=function(_0x4b9144,_0x349b6b){return _0x4b9144*_0x349b6b;},_0x42dfb9[_0x3b79ff(0x162)]=function(_0xe4ac84,_0x2fd52a){return _0xe4ac84>_0x2fd52a;},_0x42dfb9[_0x3b79ff(0x160)]=_0x3b79ff(0x154),_0x42dfb9['wmOKm']=_0x3b79ff(0x179),_0x42dfb9['dLAmK']=function(_0x2dd9b9,_0x4a9457){return _0x2dd9b9===_0x4a9457;},_0x42dfb9[_0x3b79ff(0x12d)]=_0x3b79ff(0x12c),_0x42dfb9[_0x3b79ff(0x17e)]=_0x3b79ff(0x192),_0x42dfb9[_0x3b79ff(0x13e)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0x42dfb9['TZZkH']=_0x3b79ff(0x17f),_0x42dfb9['KvLOS']=_0x3b79ff(0x13d),_0x42dfb9[_0x3b79ff(0x174)]=_0x3b79ff(0x19c),_0x42dfb9[_0x3b79ff(0x135)]=_0x3b79ff(0x168),_0x42dfb9['aKJkn']=_0x3b79ff(0x167),_0x42dfb9[_0x3b79ff(0x19e)]=function(_0x42bcc6,_0x47f3d7){return _0x42bcc6===_0x47f3d7;},_0x42dfb9[_0x3b79ff(0x176)]=_0x3b79ff(0x18d),_0x42dfb9[_0x3b79ff(0x17c)]=_0x3b79ff(0x12f),_0x42dfb9[_0x3b79ff(0x171)]='http://',_0x42dfb9['dFhpW']=_0x3b79ff(0x186),_0x42dfb9[_0x3b79ff(0x14a)]=_0x3b79ff(0x141),_0x42dfb9[_0x3b79ff(0x14e)]=function(_0x377764,_0x154993){return _0x377764*_0x154993;},_0x42dfb9[_0x3b79ff(0x18e)]=function(_0x5125e5,_0x545cc2){return _0x5125e5>_0x545cc2;},_0x42dfb9['RWUGW']='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x173d6a=_0x42dfb9;this[_0x3b79ff(0x158)]['debug'](util[_0x3b79ff(0x13c)](_0x173d6a['TZZkH'],_0x4a1a8a));const _0x4ab332=os[_0x3b79ff(0x16d)](),_0x43725a=path[_0x3b79ff(0x17b)](_0x4ab332,_0x173d6a[_0x3b79ff(0x193)]);!fs[_0x3b79ff(0x126)](_0x43725a)&&(this['logger']['debug'](util[_0x3b79ff(0x13c)](_0x173d6a[_0x3b79ff(0x174)],_0x43725a)),fs['mkdirSync'](_0x43725a),this[_0x3b79ff(0x158)][_0x3b79ff(0x19a)](util[_0x3b79ff(0x13c)](_0x173d6a['gCJbO'],_0x43725a)));const _0xb68714=BrowserstackCLI[_0x3b79ff(0x185)]()[_0x3b79ff(0x144)]['TestHubModule']?.[_0x3b79ff(0x15f)]?.[_0x3b79ff(0x14f)]()?.['buildHashedId'],_0x3d32bd=path[_0x3b79ff(0x17b)](_0x43725a,_0xb68714);!fs[_0x3b79ff(0x126)](_0x3d32bd)&&(fs[_0x3b79ff(0x194)](_0x3d32bd),this[_0x3b79ff(0x158)]['debug'](util['format'](_0x173d6a[_0x3b79ff(0x182)],_0x3d32bd)));if(_0x173d6a[_0x3b79ff(0x19e)](_0x4a1a8a[_0x3b79ff(0x15e)](),'')){this[_0x3b79ff(0x158)][_0x3b79ff(0x19a)](util['format'](_0x173d6a[_0x3b79ff(0x176)]));return;}if(_0x4a1a8a[_0x3b79ff(0x132)](_0x173d6a[_0x3b79ff(0x17c)])||_0x4a1a8a[_0x3b79ff(0x132)](_0x173d6a[_0x3b79ff(0x171)])){const _0x32e291=_0x4a1a8a[_0x3b79ff(0x132)](_0x173d6a['sPZdW'])?https:http,_0x3fb082=path[_0x3b79ff(0x190)](_0x4a1a8a),_0x560a42=path[_0x3b79ff(0x17b)](_0x3d32bd,_0x3fb082),_0x1f9ff8=fs[_0x3b79ff(0x149)](_0x560a42);_0x32e291[_0x3b79ff(0x134)](_0x4a1a8a,_0x5a5fae=>{const _0x618a3f=_0x3b79ff;if(_0x173d6a['dLAmK'](_0x5a5fae[_0x618a3f(0x198)],0xc8))_0x5a5fae[_0x618a3f(0x12b)](_0x1f9ff8),_0x1f9ff8['on'](_0x173d6a[_0x618a3f(0x12d)],()=>{const _0x375000=_0x618a3f;_0x1f9ff8[_0x375000(0x129)]();const _0x39f0e2=fs['statSync'](_0x560a42),_0x96d0cb=_0x173d6a[_0x375000(0x16a)](_0x39f0e2[_0x375000(0x128)],_0x173d6a['CIfFd'](0x400,0x400));if(_0x173d6a[_0x375000(0x162)](_0x96d0cb,0x64)){this['logger']['debug'](util[_0x375000(0x13c)](_0x173d6a[_0x375000(0x160)],_0x96d0cb[_0x375000(0x15c)](0x2))),fs[_0x375000(0x177)](_0x560a42);return;}this['logger']['debug'](util[_0x375000(0x13c)](_0x173d6a[_0x375000(0x1a1)],_0x560a42)),uploadAttachmentsManager[_0x375000(0x189)](_0x560a42,_0x4c8ec7);});else{this[_0x618a3f(0x158)][_0x618a3f(0x19a)](util[_0x618a3f(0x13c)](_0x173d6a['MnbuW'],_0x5a5fae[_0x618a3f(0x198)])),_0x1f9ff8[_0x618a3f(0x129)](),fs[_0x618a3f(0x177)](_0x560a42);return;}})['on'](_0x173d6a[_0x3b79ff(0x169)],_0x2cceb8=>{const _0x5f10c9=_0x3b79ff;this[_0x5f10c9(0x158)][_0x5f10c9(0x19a)](util['format'](_0x173d6a[_0x5f10c9(0x13e)],_0x2cceb8['message'])),_0x1f9ff8[_0x5f10c9(0x129)](),fs[_0x5f10c9(0x177)](_0x560a42);return;});}else{if(!fs[_0x3b79ff(0x126)](_0x4a1a8a)){this[_0x3b79ff(0x158)]['debug'](util[_0x3b79ff(0x13c)](_0x173d6a[_0x3b79ff(0x14a)],_0x4a1a8a));return;}const _0x2a9174=fs['statSync'](_0x4a1a8a),_0x2b9f21=_0x173d6a[_0x3b79ff(0x16a)](_0x2a9174[_0x3b79ff(0x128)],_0x173d6a[_0x3b79ff(0x14e)](0x400,0x400));if(_0x173d6a[_0x3b79ff(0x18e)](_0x2b9f21,0x64)){this['logger'][_0x3b79ff(0x19a)](util[_0x3b79ff(0x13c)](_0x173d6a[_0x3b79ff(0x1a0)],_0x2b9f21[_0x3b79ff(0x15c)](0x2)));return;}const _0x53ae78=path['basename'](_0x4a1a8a),_0xe54c7e=path['join'](_0x3d32bd,_0x53ae78);fs['copyFileSync'](_0x4a1a8a,_0xe54c7e),uploadAttachmentsManager[_0x3b79ff(0x189)](_0xe54c7e,_0x4c8ec7);}}static['trackFile'](_0x5495f4,_0x421c01){const _0xe5466a=a95_0x219932,_0x481756={'RKoyA':function(_0x53920b,_0x25970d){return _0x53920b(_0x25970d);},'vwqnG':_0xe5466a(0x17a),'abJGa':'./cliUtils','reIJz':function(_0x42562b,_0xe482ff){return _0x42562b===_0xe482ff;},'dwUXU':_0xe5466a(0x145),'KgUJo':_0xe5466a(0x124),'HsqOl':_0xe5466a(0x13b),'DYQTW':'TestLevel','Qcvqq':_0xe5466a(0x146),'bxibF':'./state/testFrameworkState','UKLqn':'./state/hookState','WNGEk':_0xe5466a(0x18a),'jPRBP':_0xe5466a(0x15b),'ngSYh':_0xe5466a(0x131)};try{let _0x343343;const _0x1dc1f5=global['__workerDetails']?.[_0xe5466a(0x164)]?.[_0xe5466a(0x180)],_0x549453=_0x481756[_0xe5466a(0x16b)](require,_0x481756[_0xe5466a(0x150)]),_0x213809=_0x481756['RKoyA'](require,_0x481756[_0xe5466a(0x157)]),_0x3437cc=_0x549453[_0xe5466a(0x185)]()[_0xe5466a(0x16f)]()&&_0x481756[_0xe5466a(0x165)](_0x213809[_0xe5466a(0x14c)]()?.[_0xe5466a(0x155)]?.[_0xe5466a(0x152)](),_0x481756[_0xe5466a(0x13f)]);if(_0x3437cc){_0x343343=global['__jestCurrentTestIdentifier'];if(!_0x343343){const _0x46d314=AutomationFramework[_0xe5466a(0x19d)]();_0x343343=AutomationFramework[_0xe5466a(0x191)](_0x46d314,PlaywrightDriverModule[_0xe5466a(0x195)],'');}this[_0xe5466a(0x158)]['debug'](_0xe5466a(0x136)+_0x343343);}else{if(!_0x1dc1f5){const _0x3a8862=AutomationFramework['getTrackedInstance']();_0x343343=AutomationFramework[_0xe5466a(0x191)](_0x3a8862,PlaywrightDriverModule[_0xe5466a(0x195)],'');}else _0x343343=TestInfo[_0xe5466a(0x159)](_0x1dc1f5,_0x1dc1f5['retry']);this[_0xe5466a(0x158)]['debug'](_0xe5466a(0x147)+_0x343343);}if(!_0x343343){this[_0xe5466a(0x158)][_0xe5466a(0x19a)](_0x481756['KgUJo']);return;}const _0x49f16a={[TestFrameworkConstants[_0xe5466a(0x151)]]:fs[_0xe5466a(0x19b)](_0x5495f4)[_0xe5466a(0x128)],[TestFrameworkConstants['KEY_FILE_NAME']]:path[_0xe5466a(0x190)](_0x5495f4),[TestFrameworkConstants[_0xe5466a(0x13a)]]:_0x5495f4,[TestFrameworkConstants[_0xe5466a(0x196)]]:_0x421c01?_0x481756['HsqOl']:_0x481756[_0xe5466a(0x139)]};if(_0x3437cc){const _0x56fb16=_0x549453['getInstance']()['getTestFramework']();if(!_0x56fb16){this['logger'][_0xe5466a(0x19a)](_0x481756[_0xe5466a(0x178)]);return;}const _0x26ceef=_0x481756[_0xe5466a(0x16b)](require,_0x481756[_0xe5466a(0x137)]),_0xf7b3cb=_0x481756[_0xe5466a(0x16b)](require,_0x481756['UKLqn']),_0xa4f2f3=_0x56fb16['resolveInstance'](_0x26ceef[_0xe5466a(0x148)],_0xf7b3cb[_0xe5466a(0x14b)]);if(!_0xa4f2f3){this[_0xe5466a(0x158)][_0xe5466a(0x19a)](_0x481756[_0xe5466a(0x142)]);return;}const _0xddcaac=_0xa4f2f3['getAllData']()[_0xe5466a(0x134)](_0x343343)||{},_0x51685f=_0xddcaac[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3407fb={..._0x51685f};_0x3407fb[_0x5495f4]=_0x49f16a;const _0x227df7=_0x3407fb,_0xcacc2d={[TestFrameworkConstants[_0xe5466a(0x15a)]]:_0x227df7},_0x1fb3ab={};_0x1fb3ab[_0x343343]=_0xcacc2d,_0xa4f2f3['addMultipleEntries'](_0x1fb3ab),this[_0xe5466a(0x158)][_0xe5466a(0x19a)](_0xe5466a(0x127)+_0x343343+_0xe5466a(0x143)+_0x5495f4);}else{const _0x2a34b3=TestInfo['getTestDetails'](_0x343343),_0x1ab438=_0x2a34b3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x1ab438[_0x5495f4]=_0x49f16a,_0x2a34b3[TestFrameworkConstants[_0xe5466a(0x15a)]]=_0x1ab438,TestInfo[_0xe5466a(0x184)](_0x343343,_0x2a34b3),this[_0xe5466a(0x158)][_0xe5466a(0x19a)](_0xe5466a(0x140)+_0x343343+',\x20filepath:\x20'+_0x5495f4);}this['logger'][_0xe5466a(0x19a)](util[_0xe5466a(0x13c)](_0x481756[_0xe5466a(0x14d)],_0x5495f4));}catch(_0x52a1b6){this[_0xe5466a(0x158)][_0xe5466a(0x19a)](util['format'](_0x481756[_0xe5466a(0x170)],_0x52a1b6[_0xe5466a(0x12e)]));}}static[a95_0x219932(0x12a)](){const _0x4ee347=a95_0x219932,_0x163e78={};_0x163e78[_0x4ee347(0x18f)]=_0x4ee347(0x13d),_0x163e78[_0x4ee347(0x125)]=_0x4ee347(0x175),_0x163e78['jLaCZ']='Cleared\x20attachment\x20folder';const _0x28e4dc=_0x163e78,_0xe6887=os[_0x4ee347(0x16d)](),_0x27e8ae=path['join'](_0xe6887,_0x28e4dc[_0x4ee347(0x18f)]);if(!fs[_0x4ee347(0x126)](_0x27e8ae))return;const _0xdb724a=BrowserstackCLI[_0x4ee347(0x185)]()[_0x4ee347(0x144)][_0x4ee347(0x18c)]?.[_0x4ee347(0x15f)]?.['toObject']()?.[_0x4ee347(0x16c)],_0x5575e4=_0xdb724a?path[_0x4ee347(0x17b)](_0x27e8ae,_0xdb724a):null;if(!_0x5575e4||!fs['existsSync'](_0x5575e4)){this[_0x4ee347(0x158)][_0x4ee347(0x19a)](util[_0x4ee347(0x13c)](_0x28e4dc[_0x4ee347(0x125)],_0xdb724a));return;}const _0x1981bc={};_0x1981bc['recursive']=!![],_0x1981bc[_0x4ee347(0x133)]=!![],fs[_0x4ee347(0x187)](_0x5575e4,_0x1981bc),this[_0x4ee347(0x158)][_0x4ee347(0x19a)](util[_0x4ee347(0x13c)](_0x28e4dc['jLaCZ']));}}function a95_0x2121(_0x1319cb,_0x2f3cad){const _0x52f491=a95_0x52f4();return a95_0x2121=function(_0x2121e6,_0x15336e){_0x2121e6=_0x2121e6-0x124;let _0x180c32=_0x52f491[_0x2121e6];return _0x180c32;},a95_0x2121(_0x1319cb,_0x2f3cad);}module[a95_0x219932(0x17d)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a96_0x44196e=a96_0x1b7b;(function(_0xd6f22b,_0x1624a9){const _0x4d22b8=a96_0x1b7b,_0x124b9f=_0xd6f22b();while(!![]){try{const _0x260140=-parseInt(_0x4d22b8(0x108))/0x1*(parseInt(_0x4d22b8(0xd1))/0x2)+-parseInt(_0x4d22b8(0xad))/0x3*(-parseInt(_0x4d22b8(0xce))/0x4)+-parseInt(_0x4d22b8(0xef))/0x5*(parseInt(_0x4d22b8(0xd2))/0x6)+-parseInt(_0x4d22b8(0xbb))/0x7+parseInt(_0x4d22b8(0x114))/0x8+-parseInt(_0x4d22b8(0xcc))/0x9+parseInt(_0x4d22b8(0x95))/0xa*(parseInt(_0x4d22b8(0x101))/0xb);if(_0x260140===_0x1624a9)break;else _0x124b9f['push'](_0x124b9f['shift']());}catch(_0x80972b){_0x124b9f['push'](_0x124b9f['shift']());}}}(a96_0x56ac,0xcad66));function a96_0x56ac(){const _0x67fb97=['javascript','WzJzp','Jbunl','13610CekDFn','AVKnF','createTestFrameworkData','failure_type','../../../helpers/logger.js','passed','children','xNqGj','exports','toString','failure_reason','SKIPPED','failure','QKFQV','YdhaR','RPYdI','exception','strip-ansi','timestamp','DySSG','match','ikQxp','getCucumberHookType','TCcDC','1017MhqnJI','forEach','rwtsg','PxDAe','getScenarioExamples','HookRunStarted','path','RsCzG','Exception\x20in\x20createHookData:\x20','status','CrNNV','map','hooks','AssertionError','2414769mqkvNE','hookId','HookRunFinished','_gitConfigPath','tYjHU','flatMap','rQwnC','split','bgCLw','DFyHe','cells','dnFdI','format','jGLze','unknown','ajPDu','jLxPo','8008758kSCjFv','tags','17564vqzGjA','winstonLogger','testStepFinished','67362uDvyOc','30aBitUT','BEFORE_EACH','push','scenario','SyzYi','gIbSx','../../../helpers/helper.js','tableBody','MjaPP','xpgVU','feature','yaYhn','bUXDN','nanos','includes','configureGit','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','createHookData','ZOdrh','examples','rZGqW','result','failed','rJynL','getHookRunEventData','ODrVo','_gitConfigured','xQSPF','getHookResult','1566245TixMwy','ABnzU','SfZkA','bIKlf','value','cucumber','pickleStepId','failureData','uri','../TestInfo.js','tagExpression','pKvqA','join','duration_in_ms','debug','FchAm','xqHpp','finishedAt','9713ZfTBby','root','test','HJOVi','astNodeIds','xKiqz','sendTestRunEventForCucumber','13aqJaSW','AFTER_EACH','VCbQv','name','WDXuF','length','WJyNZ','uuid','relative','testStepResult','find','message','11035496snAjMD','failureType','aXsMr','getTestUUID','UnhandledError','toISOString','vgevq','toLowerCase','sourceReference'];a96_0x56ac=function(){return _0x67fb97;};return a96_0x56ac();}function a96_0x1b7b(_0xefc50a,_0x193c0d){const _0x56ace4=a96_0x56ac();return a96_0x1b7b=function(_0x1b7bbb,_0x5202b7){_0x1b7bbb=_0x1b7bbb-0x8a;let _0x22152a=_0x56ace4[_0x1b7bbb];return _0x22152a;},a96_0x1b7b(_0xefc50a,_0x193c0d);}const path=require(a96_0x44196e(0xb3)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a96_0x44196e(0xd8)),logger=require(a96_0x44196e(0x99))[a96_0x44196e(0xcf)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a96_0x44196e(0xf8)),hooksMap={};class CucumberUtils{constructor(){const _0x585023=a96_0x44196e;this[_0x585023(0xec)]=![],this[_0x585023(0xbe)]=null;}async[a96_0x44196e(0x97)](_0x502f28,_0x79d468,_0x3010ab,_0x47193a,_0x4647dc,_0x4d0d6f){const _0x15cc06=a96_0x44196e,_0x161d6a={'xQSPF':function(_0x284af2,_0x2cec3b){return _0x284af2===_0x2cec3b;},'WzJzp':'FAILED','xKiqz':'failed','MdjgW':_0x15cc06(0xa0),'bUXDN':'skipped','GluZA':function(_0x10359b,_0x29cd15){return _0x10359b||_0x29cd15;},'jLxPo':function(_0xe6f552,_0x364826){return _0xe6f552+_0x364826;},'ikQxp':_0x15cc06(0x103),'gIbSx':_0x15cc06(0x92),'rQwnC':_0x15cc06(0xf4),'FoJlq':'pending','MjaPP':_0x15cc06(0x9a),'CrNNV':function(_0x1968cc,_0x6334f1){return _0x1968cc!==_0x6334f1;},'bIKlf':function(_0x4c0853,_0x41f4a2){return _0x4c0853/_0x41f4a2;},'xNqGj':function(_0xe16aab,_0x24bdbb){return _0xe16aab===_0x24bdbb;},'SoClT':_0x15cc06(0xa6),'dzQXg':function(_0x5cd07f,_0x402c35){return _0x5cd07f(_0x402c35);},'YdhaR':_0x15cc06(0xc9),'badfr':_0x15cc06(0xba),'RPYdI':_0x15cc06(0x8d)},{feature:_0x5ddb2c,scenario:_0x56c20f,steps:_0x59a462,uuid:_0x9157b3,startedAt:_0x1679dc,finishedAt:_0x55badb}=_0x161d6a['GluZA'](_0x502f28,{}),_0x133e68=this[_0x15cc06(0xb1)](_0x47193a,_0x79d468);await this[_0x15cc06(0xe1)]();const _0x4e8995=_0x133e68?_0x161d6a[_0x15cc06(0xcb)](_0x161d6a['jLxPo'](_0x161d6a[_0x15cc06(0xcb)](_0x79d468[_0x15cc06(0x10b)],'\x20('),_0x133e68[_0x15cc06(0xfb)](',\x20')),')'):_0x79d468['name'],_0x4699bc={'id':_0x4647dc,'uuid':_0x4647dc,'startedAt':_0x1679dc,'finishedAt':_0x55badb,'type':_0x161d6a[_0x15cc06(0xaa)],'body':{'lang':_0x161d6a[_0x15cc06(0xd7)],'code':null},'name':_0x4e8995,'scopes':[_0x5ddb2c&&_0x5ddb2c[_0x15cc06(0x10b)]?_0x5ddb2c[_0x15cc06(0x10b)]:''],'tags':_0x79d468[_0x15cc06(0xcd)]?_0x79d468['tags'][_0x15cc06(0xb8)](({name:_0x464abd})=>_0x464abd):[],'file_name':_0x79d468[_0x15cc06(0xf7)],'location':_0x79d468['uri'],'vc_filepath':this[_0x15cc06(0xbe)]&&_0x79d468['uri']?path['relative'](this[_0x15cc06(0xbe)],_0x79d468[_0x15cc06(0xf7)]):null,'framework':_0x161d6a[_0x15cc06(0xc1)],'result':_0x161d6a['FoJlq'],'meta':{'feature':_0x5ddb2c,'scenario':_0x56c20f,'steps':_0x59a462,'examples':_0x133e68},'customRerunParam':{'rerun_name':_0x4e8995}};if(_0x3010ab['testCaseFinished']&&_0x59a462){const _0x416fc=_0x3010ab['testCaseFinished'];let _0x3c9e69=_0x161d6a[_0x15cc06(0xda)];_0x59a462['every'](_0x4950d8=>{const _0x5d77fb=_0x15cc06;if(_0x161d6a[_0x5d77fb(0xed)](_0x4950d8[_0x5d77fb(0xe7)],_0x161d6a[_0x5d77fb(0x93)]))return _0x3c9e69=_0x161d6a[_0x5d77fb(0x106)],_0x416fc[_0x5d77fb(0xa1)]=_0x4950d8['failure'],_0x416fc[_0x5d77fb(0x8a)]=_0x4950d8[_0x5d77fb(0x8a)],![];else{if(_0x161d6a[_0x5d77fb(0xed)](_0x4950d8[_0x5d77fb(0xe7)],_0x161d6a['MdjgW']))return _0x3c9e69=_0x161d6a[_0x5d77fb(0xde)],![];}return!![];}),_0x4699bc[_0x15cc06(0x100)]=new Date()[_0x15cc06(0x8e)](),_0x4699bc['result']=_0x3c9e69;_0x416fc['timestamp']&&_0x161d6a[_0x15cc06(0xb7)](_0x416fc[_0x15cc06(0xa7)][_0x15cc06(0xdf)],undefined)?_0x4699bc[_0x15cc06(0xfc)]=_0x161d6a[_0x15cc06(0xf2)](_0x416fc[_0x15cc06(0xa7)][_0x15cc06(0xdf)],0xf4240):_0x4699bc[_0x15cc06(0xfc)]=undefined;if(_0x161d6a[_0x15cc06(0x9c)](_0x3c9e69,_0x161d6a[_0x15cc06(0x106)])){const {default:_0x10b639}=await import(_0x161d6a['SoClT']);_0x4699bc[_0x15cc06(0xa1)]=[{'backtrace':[_0x416fc[_0x15cc06(0xa1)]?_0x161d6a['dzQXg'](_0x10b639,_0x416fc[_0x15cc06(0xa1)]):_0x161d6a[_0x15cc06(0xa3)]]}],_0x4699bc[_0x15cc06(0x9f)]=_0x416fc['failure']?_0x161d6a['dzQXg'](_0x10b639,_0x416fc['failure']):_0x416fc[_0x15cc06(0x113)],_0x416fc[_0x15cc06(0x8a)]&&(_0x4699bc[_0x15cc06(0x98)]=_0x416fc['failureType'][_0x15cc06(0xa9)](/AssertError/)?_0x161d6a['badfr']:_0x161d6a[_0x15cc06(0xa4)]);}}return _0x4699bc;}['getHookRunEventData'](_0xee295c,_0x364116,_0x2ade35,_0x339eec,_0x2e7c40,_0x5cf0dc){const _0x55ad48=a96_0x44196e,_0x2902a5={'ODrVo':function(_0x3d89c5,_0x4f3f4e){return _0x3d89c5===_0x4f3f4e;},'WDXuF':_0x55ad48(0xbd),'RsCzG':function(_0x20c2f2,_0x27f282,_0x2196ed){return _0x20c2f2(_0x27f282,_0x2196ed);},'VCbQv':_0x55ad48(0x91),'tYjHU':_0x55ad48(0xf7),'rJynL':'pending','TCcDC':'hook','aVAOd':_0x55ad48(0x92),'vgevq':_0x55ad48(0xdc),'jGLze':_0x55ad48(0x10b),'xqHpp':function(_0x26c8de,_0xc42948,_0x3c5ddd){return _0x26c8de(_0xc42948,_0x3c5ddd);},'xpgVU':'cucumber'};try{if(_0x2902a5[_0x55ad48(0xeb)](_0x2ade35,_0x2902a5[_0x55ad48(0x10c)])){const _0x3cf85f=new Date()[_0x55ad48(0x8e)](),_0x4da057=hooksMap[_0x364116];if(!_0x4da057)return;const _0xf04f7c=_0x4da057['find'](_0x325a83=>_0x325a83[_0x55ad48(0x10f)]===_0x339eec['id']);if(!_0xf04f7c)return;const _0xe120b3=this[_0x55ad48(0xee)](_0xee295c,_0x364116);_0xf04f7c[_0x55ad48(0xe7)]=_0xe120b3['status'],_0xf04f7c['finished_at']=_0x3cf85f,_0xf04f7c['failure_type']=_0xe120b3[_0x55ad48(0x8a)];const _0x40451d={};return _0x40451d['backtrace']=_0xe120b3[_0x55ad48(0xf6)],_0xf04f7c['failure_data']=[_0x40451d],_0xf04f7c;}const _0x537df9=TestInfo[_0x55ad48(0x8c)](_0x364116),_0x1ec560=_0xee295c[_0x55ad48(0xb9)]['find'](_0x386b0f=>_0x386b0f['id']===_0x339eec[_0x55ad48(0xbc)]),_0xebfc07=_0x2902a5[_0x55ad48(0xb4)](nestedKeyValue,_0x1ec560,[_0x2902a5[_0x55ad48(0x10a)],_0x2902a5[_0x55ad48(0xbf)]]),_0x494ff0=new Date()[_0x55ad48(0x8e)](),_0x2c463c=_0x2902a5[_0x55ad48(0xe9)],_0x13cf16=_0x1ec560[_0x55ad48(0xf9)]?_0x1ec560['tagExpression'][_0x55ad48(0xc2)]('\x20')['filter'](_0x2f66be=>_0x2f66be[_0x55ad48(0xe0)]('@')):[],_0x4b9d3={'uuid':_0x339eec['id'],'type':_0x2902a5[_0x55ad48(0xac)],'hook_type':_0x5cf0dc,'name':_0x1ec560[_0x55ad48(0x10b)],'body':{'lang':_0x2902a5['aVAOd'],'code':null},'tags':_0x13cf16,'test_run_id':_0x537df9,'scope':_0x2902a5['RsCzG'](nestedKeyValue,_0x2e7c40,[_0x2902a5[_0x55ad48(0x8f)],_0x2902a5['jGLze']]),'scopes':[_0x2902a5[_0x55ad48(0xff)](nestedKeyValue,_0x2e7c40,[_0x2902a5[_0x55ad48(0x8f)],_0x2902a5[_0x55ad48(0xc8)]])||''],'file_name':_0xebfc07,'location':_0xebfc07,'vc_filepath':this[_0x55ad48(0xbe)]?path[_0x55ad48(0x110)](this[_0x55ad48(0xbe)],_0xebfc07):null,'result':_0x2c463c,'started_at':_0x494ff0,'framework':_0x2902a5[_0x55ad48(0xdb)]};return _0x4b9d3;}catch(_0x49bee4){logger[_0x55ad48(0xfd)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x55ad48(0xc7)](_0x49bee4)+'\x20');}}async[a96_0x44196e(0xe3)](_0x214414,_0x4a34d6,_0x31a689,_0xc6fa69,_0x192ed4,_0x3c7dcb){const _0x497911=a96_0x44196e,_0x1c1495={'DFyHe':function(_0x3b645d,_0x31dd24){return _0x3b645d===_0x31dd24;},'yaYhn':_0x497911(0xb2),'ZOdrh':function(_0x4c9d98,_0x2d699c,_0xc4d5df){return _0x4c9d98(_0x2d699c,_0xc4d5df);},'ABnzU':_0x497911(0x91),'HJOVi':'uri','rZGqW':_0x497911(0xe2),'pKvqA':function(_0x5f434c,_0x43a9e0){return _0x5f434c===_0x43a9e0;},'Jbunl':'bstack'};try{const _0x349866=_0xc6fa69[_0x497911(0x112)](_0xc10e0e=>_0xc10e0e['id']===_0x192ed4);if(!_0x349866[_0x497911(0xbc)])return;const _0x4e5c58=this[_0x497911(0xab)](_0xc6fa69,_0x349866),_0x3bf47d=this[_0x497911(0xea)](_0x214414,_0x4a34d6,_0x31a689,_0x349866,_0x3c7dcb,_0x4e5c58);if(!_0x3bf47d)return;_0x1c1495[_0x497911(0xc4)](_0x31a689,_0x1c1495[_0x497911(0xdd)])&&(hooksMap[_0x4a34d6]?hooksMap[_0x4a34d6][_0x497911(0xd4)](_0x3bf47d):hooksMap[_0x4a34d6]=[_0x3bf47d]);const _0x226130=_0x214414[_0x497911(0xb9)]['find'](_0x1f3658=>_0x1f3658['id']===_0x349866[_0x497911(0xbc)]),_0x483c98=_0x1c1495[_0x497911(0xe4)](nestedKeyValue,_0x226130,[_0x1c1495[_0x497911(0xf0)],_0x1c1495[_0x497911(0x104)]]);if(!_0x483c98)return;else{if(_0x483c98[_0x497911(0xe0)](_0x1c1495[_0x497911(0xe6)]))return;}if(_0x1c1495[_0x497911(0xfa)](_0x3bf47d[_0x497911(0x10b)],_0x1c1495[_0x497911(0x94)]))return;return _0x3bf47d;}catch(_0x1835ed){logger[_0x497911(0xfd)](_0x497911(0xb5)+util[_0x497911(0xc7)](_0x1835ed)+'\x20');}}['getHookResult'](_0x5897f2,_0x409938){const _0x220001=a96_0x44196e,_0x1071e8={};_0x1071e8[_0x220001(0xfe)]=function(_0x273ed3,_0x5a3f4e){return _0x273ed3===_0x5a3f4e;},_0x1071e8[_0x220001(0xa2)]=_0x220001(0xe8),_0x1071e8['SfZkA']=_0x220001(0x8d),_0x1071e8[_0x220001(0x96)]=_0x220001(0xba),_0x1071e8[_0x220001(0x10e)]=function(_0x33fded,_0xff437c){return _0x33fded||_0xff437c;};const _0x1160b7=_0x1071e8,_0x4e0054=_0x5897f2[_0x220001(0xd0)][_0x409938][_0x220001(0x111)];let _0x325d10,_0x5180d0;return _0x4e0054&&_0x1160b7['FchAm'](_0x4e0054['status'][_0x220001(0x9e)]()[_0x220001(0x90)](),_0x1160b7[_0x220001(0xa2)])&&(_0x325d10=_0x1160b7[_0x220001(0xfe)](_0x4e0054[_0x220001(0xa5)],undefined)?_0x4e0054[_0x220001(0x113)]:_0x4e0054[_0x220001(0xa5)][_0x220001(0x113)],_0x5180d0=_0x1160b7[_0x220001(0xfe)](_0x4e0054[_0x220001(0xa5)],undefined)?_0x1160b7[_0x220001(0xf1)]:_0x4e0054[_0x220001(0x113)][_0x220001(0xa9)](/Assert/)?_0x1160b7[_0x220001(0x96)]:_0x1160b7['SfZkA']),{'status':_0x4e0054[_0x220001(0xb6)][_0x220001(0x90)](),'failureType':_0x1160b7[_0x220001(0x10e)](_0x5180d0,null),'failureData':!_0x325d10?null:[_0x325d10]};}[a96_0x44196e(0xab)](_0x1b4396,_0x2d76a0){const _0x28aee8=a96_0x44196e,_0x2d1260={};_0x2d1260[_0x28aee8(0xc3)]=function(_0xe2370a,_0x411c65){return _0xe2370a===_0x411c65;},_0x2d1260['rwtsg']=_0x28aee8(0x109),_0x2d1260[_0x28aee8(0xa8)]=_0x28aee8(0xd3);const _0x179c33=_0x2d1260;let _0x4d25ed=![];for(const _0x1d9cb8 of _0x1b4396){_0x1d9cb8[_0x28aee8(0xf5)]&&(_0x4d25ed=!![]);if(_0x179c33[_0x28aee8(0xc3)](_0x2d76a0['id'],_0x1d9cb8['id']))return _0x4d25ed?_0x179c33[_0x28aee8(0xaf)]:_0x179c33[_0x28aee8(0xa8)];}}[a96_0x44196e(0xb1)]=(_0x18f17b,_0x1b3f4d)=>{const _0x59d18f=a96_0x44196e,_0x558100={};_0x558100[_0x59d18f(0xc6)]=function(_0x4bcbf2,_0x5b40ff){return _0x4bcbf2===_0x5b40ff;},_0x558100[_0x59d18f(0xb0)]=function(_0x14284e,_0x415668){return _0x14284e===_0x415668;},_0x558100[_0x59d18f(0x8b)]=function(_0x1fb6c5,_0x3c0294){return _0x1fb6c5>_0x3c0294;};const _0x5b0e9a=_0x558100;if(!(_0x1b3f4d[_0x59d18f(0x105)]&&_0x5b0e9a[_0x59d18f(0x8b)](_0x1b3f4d[_0x59d18f(0x105)][_0x59d18f(0x10d)],0x1)))return;const _0x54015c=_0x1b3f4d[_0x59d18f(0x105)][0x0],_0x50989f=_0x1b3f4d[_0x59d18f(0x105)][0x1],_0x157896=_0x18f17b[_0x59d18f(0xdc)]&&_0x18f17b['feature'][_0x59d18f(0x9b)]?_0x18f17b[_0x59d18f(0xdc)]['children']:undefined;let _0x189a53=[];_0x157896&&_0x157896['forEach'](_0x5eb03a=>{const _0xbae6b0=_0x59d18f,_0x2fc5c9={'ajPDu':function(_0x21f4bf,_0x43f416){return _0x5b0e9a['dnFdI'](_0x21f4bf,_0x43f416);}};if(_0x5eb03a['rule'])_0x5eb03a['rule'][_0xbae6b0(0x9b)][_0xbae6b0(0xae)](_0x19fa46=>{const _0x2c9f02=_0xbae6b0;if(_0x19fa46[_0x2c9f02(0xd5)]&&_0x2fc5c9[_0x2c9f02(0xca)](_0x19fa46[_0x2c9f02(0xd5)]['id'],_0x54015c)&&_0x19fa46['scenario'][_0x2c9f02(0xe5)]){const _0x523722=_0x19fa46[_0x2c9f02(0xd5)]['examples'][_0x2c9f02(0xc0)](_0x5e124e=>_0x5e124e[_0x2c9f02(0xd9)])[_0x2c9f02(0x112)](_0x19e2cb=>_0x19e2cb['id']===_0x50989f);let _0x50dc36;_0x523722&&_0x523722[_0x2c9f02(0xc5)]?_0x50dc36=_0x523722['cells']['map'](_0x308c10=>_0x308c10[_0x2c9f02(0xf3)]):_0x50dc36=[],_0x50dc36&&(_0x189a53=_0x50dc36);}});else{if(_0x5eb03a['scenario']&&_0x5b0e9a[_0xbae6b0(0xb0)](_0x5eb03a[_0xbae6b0(0xd5)]['id'],_0x54015c)&&_0x5eb03a[_0xbae6b0(0xd5)]['examples']){const _0xd038e9=_0x5eb03a['scenario']['examples']['flatMap'](_0x54b7cc=>_0x54b7cc[_0xbae6b0(0xd9)])[_0xbae6b0(0x112)](_0x27b4b2=>_0x27b4b2['id']===_0x50989f);let _0x18076a;_0xd038e9&&_0xd038e9[_0xbae6b0(0xc5)]?_0x18076a=_0xd038e9[_0xbae6b0(0xc5)]['map'](_0x525025=>_0x525025[_0xbae6b0(0xf3)]):_0x18076a=[],_0x18076a&&(_0x189a53=_0x18076a);}}});if(_0x189a53[_0x59d18f(0x10d)])return _0x189a53;return;};async[a96_0x44196e(0xe1)](){const _0x13d529=a96_0x44196e,_0x4afea0={'SyzYi':function(_0x5c421c){return _0x5c421c();}};if(this[_0x13d529(0xec)])return this[_0x13d529(0xbe)];const _0x3b7517=await _0x4afea0[_0x13d529(0xd6)](getGitMetaData);_0x3b7517&&(this['_gitConfigPath']=_0x3b7517[_0x13d529(0x102)]),this[_0x13d529(0xec)]=!![];}}module[a96_0x44196e(0x9d)]=o11yClassErrorHandler(CucumberUtils,[a96_0x44196e(0xe1),a96_0x44196e(0xb1),a96_0x44196e(0xab),'getHookResult','sendHook',a96_0x44196e(0xea),a96_0x44196e(0x107),a96_0x44196e(0x97)]);
1
+ const a96_0x558f52=a96_0x1f71;function a96_0x1f71(_0xc6b897,_0x1df8b4){const _0x31e5e3=a96_0x31e5();return a96_0x1f71=function(_0x1f71f3,_0x586334){_0x1f71f3=_0x1f71f3-0xee;let _0x3995a5=_0x31e5e3[_0x1f71f3];return _0x3995a5;},a96_0x1f71(_0xc6b897,_0x1df8b4);}function a96_0x31e5(){const _0x320c5d=['FZJjl','HookRunFinished','forEach','Exception\x20in\x20getHookRunEventData:\x20','Vtnbu','failureData','message','hook','FLlWg','MEsUh','sendHook','includes','adcGD','match','GHFtA','355cwOUZq','tableBody','../../../helpers/test-observability/error-handler.js','rule','_gitConfigured','createHookData','path','dzZRD','result','toLowerCase','akIbA','format','tmkrh','debug','exports','getHookRunEventData','failure_reason','testCaseFinished','_gitConfigPath','nanos','nnsif','ZOeYD','map','sourceReference','getTestUUID','duration_in_ms','6499163BroatD','../../../helpers/helper.js','UtriF','tagExpression','every','../TestInfo.js','tBQfw','DfXip','testStepFinished','toISOString','backtrace','uri','246490uEgGln','pyrtU','10TNYKZc','winstonLogger','4626dQxPcE','astNodeIds','failed','test','examples','LgdQI','javascript','configureGit','CaYhz','Vpbfe','FAILED','xyvtX','UnhandledError','AssertionError','toString','52904UXJYNm','relative','exception','passed','yMLcr','azctF','QbqEL','SKIPPED','YWsjd','RLNym','lyRGE','xynMk','1431279qHUblW','failureType','unknown','join','cells','XraKY','HFJaT','skipped','pickleStepId','failure','../../../helpers/logger.js','pAUUR','tags','hooks','QViTV','Rvcka','getScenarioExamples','sendTestRunEventForCucumber','timestamp','aYmrD','WfbgA','6wrZCum','RGKAl','getCucumberHookType','297070JwaHpf','failure_type','582448EWjhPL','vHuTJ','LuimX','VMcer','BEFORE_EACH','scenario','children','find','status','bstack','name','value','failure_data','EcpiV','YhzoT','xYlTw','feature','hookId','getHookResult','OIqcm','385LclMew','length','flatMap'];a96_0x31e5=function(){return _0x320c5d;};return a96_0x31e5();}(function(_0x43ac4a,_0x59d6d1){const _0x2ed01e=a96_0x1f71,_0x59d61b=_0x43ac4a();while(!![]){try{const _0x1078d9=parseInt(_0x2ed01e(0x159))/0x1+parseInt(_0x2ed01e(0x10b))/0x2*(-parseInt(_0x2ed01e(0x108))/0x3)+-parseInt(_0x2ed01e(0x10d))/0x4+-parseInt(_0x2ed01e(0x133))/0x5*(-parseInt(_0x2ed01e(0x15d))/0x6)+-parseInt(_0x2ed01e(0x121))/0x7*(parseInt(_0x2ed01e(0x16c))/0x8)+-parseInt(_0x2ed01e(0xf3))/0x9*(-parseInt(_0x2ed01e(0x15b))/0xa)+parseInt(_0x2ed01e(0x14d))/0xb;if(_0x1078d9===_0x59d6d1)break;else _0x59d61b['push'](_0x59d61b['shift']());}catch(_0x394d31){_0x59d61b['push'](_0x59d61b['shift']());}}}(a96_0x31e5,0x3bbda));const path=require(a96_0x558f52(0x139)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a96_0x558f52(0x14e)),logger=require(a96_0x558f52(0xfd))[a96_0x558f52(0x15c)],{o11yClassErrorHandler}=require(a96_0x558f52(0x135)),TestInfo=require(a96_0x558f52(0x152)),hooksMap={};class CucumberUtils{constructor(){const _0x2b624b=a96_0x558f52;this[_0x2b624b(0x137)]=![],this['_gitConfigPath']=null;}async['createTestFrameworkData'](_0x4b8ea6,_0x3ba6ff,_0x287498,_0x2bed99,_0x19dcef,_0xb8234a){const _0x484add=a96_0x558f52,_0x1250c5={'akIbA':function(_0xc0a989,_0x42757d){return _0xc0a989===_0x42757d;},'HFJaT':_0x484add(0x167),'QViTV':_0x484add(0x15f),'UtriF':_0x484add(0xee),'ZOeYD':_0x484add(0xfa),'wucCy':function(_0x48600e,_0xfd5bb4){return _0x48600e||_0xfd5bb4;},'FLlWg':function(_0x2981f3,_0x172c16){return _0x2981f3+_0x172c16;},'dzZRD':function(_0x53fb00,_0x4bd172){return _0x53fb00+_0x4bd172;},'AMkLX':_0x484add(0x160),'azctF':_0x484add(0x163),'YhzoT':'cucumber','zXBeA':'pending','yMLcr':_0x484add(0x16f),'FZJjl':function(_0x443274,_0x489775){return _0x443274!==_0x489775;},'VMcer':function(_0x4e1dba,_0x50ebf3){return _0x4e1dba/_0x50ebf3;},'xyvtX':function(_0x54b671,_0x42e74f){return _0x54b671===_0x42e74f;},'CHSLt':'strip-ansi','tmkrh':function(_0x14fc1c,_0x4cfe51){return _0x14fc1c(_0x4cfe51);},'WfbgA':_0x484add(0xf5),'pyrtU':function(_0x1f18d9,_0x3c8c88){return _0x1f18d9(_0x3c8c88);},'OIqcm':_0x484add(0x16a),'xynMk':'UnhandledError'},{feature:_0x5e54bc,scenario:_0x5d6b86,steps:_0x163aba,uuid:_0x1bb854,startedAt:_0x4381e2,finishedAt:_0x438db9}=_0x1250c5['wucCy'](_0x4b8ea6,{}),_0x25ec4b=this['getScenarioExamples'](_0x2bed99,_0x3ba6ff);await this[_0x484add(0x164)]();const _0x5f4e0e=_0x25ec4b?_0x1250c5[_0x484add(0x12c)](_0x1250c5[_0x484add(0x13a)](_0x1250c5['FLlWg'](_0x3ba6ff['name'],'\x20('),_0x25ec4b[_0x484add(0xf6)](',\x20')),')'):_0x3ba6ff['name'],_0x1829b5={'id':_0x19dcef,'uuid':_0x19dcef,'startedAt':_0x4381e2,'finishedAt':_0x438db9,'type':_0x1250c5['AMkLX'],'body':{'lang':_0x1250c5[_0x484add(0x171)],'code':null},'name':_0x5f4e0e,'scopes':[_0x5e54bc&&_0x5e54bc[_0x484add(0x117)]?_0x5e54bc[_0x484add(0x117)]:''],'tags':_0x3ba6ff[_0x484add(0xff)]?_0x3ba6ff['tags']['map'](({name:_0x16d997})=>_0x16d997):[],'file_name':_0x3ba6ff['uri'],'location':_0x3ba6ff[_0x484add(0x158)],'vc_filepath':this[_0x484add(0x145)]&&_0x3ba6ff[_0x484add(0x158)]?path[_0x484add(0x16d)](this[_0x484add(0x145)],_0x3ba6ff[_0x484add(0x158)]):null,'framework':_0x1250c5[_0x484add(0x11b)],'result':_0x1250c5['zXBeA'],'meta':{'feature':_0x5e54bc,'scenario':_0x5d6b86,'steps':_0x163aba,'examples':_0x25ec4b},'customRerunParam':{'rerun_name':_0x5f4e0e}};if(_0x287498[_0x484add(0x144)]&&_0x163aba){const _0x4de612=_0x287498[_0x484add(0x144)];let _0x21e46a=_0x1250c5[_0x484add(0x170)];_0x163aba[_0x484add(0x151)](_0x22275c=>{const _0x1421f8=_0x484add;if(_0x1250c5[_0x1421f8(0x13d)](_0x22275c[_0x1421f8(0x13b)],_0x1250c5[_0x1421f8(0xf9)]))return _0x21e46a=_0x1250c5[_0x1421f8(0x101)],_0x4de612[_0x1421f8(0xfc)]=_0x22275c[_0x1421f8(0xfc)],_0x4de612[_0x1421f8(0xf4)]=_0x22275c['failureType'],![];else{if(_0x1250c5[_0x1421f8(0x13d)](_0x22275c['result'],_0x1250c5[_0x1421f8(0x14f)]))return _0x21e46a=_0x1250c5[_0x1421f8(0x148)],![];}return!![];}),_0x1829b5['finishedAt']=new Date()['toISOString'](),_0x1829b5[_0x484add(0x13b)]=_0x21e46a;_0x4de612['timestamp']&&_0x1250c5[_0x484add(0x124)](_0x4de612[_0x484add(0x105)][_0x484add(0x146)],undefined)?_0x1829b5[_0x484add(0x14c)]=_0x1250c5[_0x484add(0x110)](_0x4de612[_0x484add(0x105)][_0x484add(0x146)],0xf4240):_0x1829b5['duration_in_ms']=undefined;if(_0x1250c5[_0x484add(0x168)](_0x21e46a,_0x1250c5[_0x484add(0x101)])){const {default:_0x27ad3b}=await import(_0x1250c5['CHSLt']);_0x1829b5[_0x484add(0xfc)]=[{'backtrace':[_0x4de612[_0x484add(0xfc)]?_0x1250c5[_0x484add(0x13f)](_0x27ad3b,_0x4de612[_0x484add(0xfc)]):_0x1250c5[_0x484add(0x107)]]}],_0x1829b5[_0x484add(0x143)]=_0x4de612[_0x484add(0xfc)]?_0x1250c5[_0x484add(0x15a)](_0x27ad3b,_0x4de612['failure']):_0x4de612[_0x484add(0x12a)],_0x4de612[_0x484add(0xf4)]&&(_0x1829b5[_0x484add(0x10c)]=_0x4de612[_0x484add(0xf4)][_0x484add(0x131)](/AssertError/)?_0x1250c5[_0x484add(0x120)]:_0x1250c5[_0x484add(0xf2)]);}}return _0x1829b5;}[a96_0x558f52(0x142)](_0x377688,_0x4b9b1d,_0x353a41,_0x1acf70,_0x1a8830,_0x208e7c){const _0xa64a28=a96_0x558f52,_0x2ab9e8={'Narmk':function(_0x3165ea,_0x1620f1){return _0x3165ea===_0x1620f1;},'FXFmj':_0xa64a28(0x125),'Vtnbu':function(_0x267320,_0x44437b,_0x5e9619){return _0x267320(_0x44437b,_0x5e9619);},'tBQfw':'sourceReference','LuimX':_0xa64a28(0x158),'Rvcka':'pending','YMwZw':_0xa64a28(0x12b),'YQmOG':_0xa64a28(0x163),'pAUUR':_0xa64a28(0x11d),'Vpbfe':'name','aYmrD':'cucumber'};try{if(_0x2ab9e8['Narmk'](_0x353a41,_0x2ab9e8['FXFmj'])){const _0x38bdf6=new Date()['toISOString'](),_0x364f3c=hooksMap[_0x4b9b1d];if(!_0x364f3c)return;const _0x418b74=_0x364f3c[_0xa64a28(0x114)](_0x367f84=>_0x367f84['uuid']===_0x1acf70['id']);if(!_0x418b74)return;const _0xb9704b=this[_0xa64a28(0x11f)](_0x377688,_0x4b9b1d);_0x418b74[_0xa64a28(0x13b)]=_0xb9704b[_0xa64a28(0x115)],_0x418b74['finished_at']=_0x38bdf6,_0x418b74['failure_type']=_0xb9704b[_0xa64a28(0xf4)];const _0x393c2b={};return _0x393c2b[_0xa64a28(0x157)]=_0xb9704b[_0xa64a28(0x129)],_0x418b74[_0xa64a28(0x119)]=[_0x393c2b],_0x418b74;}const _0x310ddc=TestInfo[_0xa64a28(0x14b)](_0x4b9b1d),_0x4b168a=_0x377688[_0xa64a28(0x100)]['find'](_0xef48b7=>_0xef48b7['id']===_0x1acf70['hookId']),_0x1b2f9d=_0x2ab9e8['Vtnbu'](nestedKeyValue,_0x4b168a,[_0x2ab9e8[_0xa64a28(0x153)],_0x2ab9e8[_0xa64a28(0x10f)]]),_0x17337f=new Date()[_0xa64a28(0x156)](),_0x153f69=_0x2ab9e8[_0xa64a28(0x102)],_0x8d7bb5=_0x4b168a['tagExpression']?_0x4b168a[_0xa64a28(0x150)]['split']('\x20')['filter'](_0x4cf515=>_0x4cf515[_0xa64a28(0x12f)]('@')):[],_0x4b32fb={'uuid':_0x1acf70['id'],'type':_0x2ab9e8['YMwZw'],'hook_type':_0x208e7c,'name':_0x4b168a['name'],'body':{'lang':_0x2ab9e8['YQmOG'],'code':null},'tags':_0x8d7bb5,'test_run_id':_0x310ddc,'scope':_0x2ab9e8[_0xa64a28(0x128)](nestedKeyValue,_0x1a8830,[_0x2ab9e8[_0xa64a28(0xfe)],_0x2ab9e8[_0xa64a28(0x166)]]),'scopes':[_0x2ab9e8[_0xa64a28(0x128)](nestedKeyValue,_0x1a8830,[_0x2ab9e8[_0xa64a28(0xfe)],_0x2ab9e8[_0xa64a28(0x166)]])||''],'file_name':_0x1b2f9d,'location':_0x1b2f9d,'vc_filepath':this[_0xa64a28(0x145)]?path[_0xa64a28(0x16d)](this[_0xa64a28(0x145)],_0x1b2f9d):null,'result':_0x153f69,'started_at':_0x17337f,'framework':_0x2ab9e8[_0xa64a28(0x106)]};return _0x4b32fb;}catch(_0x369991){logger[_0xa64a28(0x140)](_0xa64a28(0x127)+util['format'](_0x369991)+'\x20');}}async[a96_0x558f52(0x138)](_0x1f76aa,_0x6cd317,_0x4d1881,_0x51ea45,_0x565c84,_0x25fc3c){const _0x32a85c=a96_0x558f52,_0x2abb67={'dRQXI':function(_0xfce350,_0x2fc0f4){return _0xfce350===_0x2fc0f4;},'XraKY':'HookRunStarted','xYlTw':function(_0x393a61,_0x1a904e,_0x4ead6f){return _0x393a61(_0x1a904e,_0x4ead6f);},'LgdQI':_0x32a85c(0x14a),'HDdoF':'uri','vHuTJ':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','MEsUh':function(_0x502a66,_0x31577b){return _0x502a66===_0x31577b;},'yEMMw':_0x32a85c(0x116)};try{const _0x9e094e=_0x51ea45[_0x32a85c(0x114)](_0x428dff=>_0x428dff['id']===_0x565c84);if(!_0x9e094e[_0x32a85c(0x11e)])return;const _0x4bba39=this[_0x32a85c(0x10a)](_0x51ea45,_0x9e094e),_0x20db3c=this['getHookRunEventData'](_0x1f76aa,_0x6cd317,_0x4d1881,_0x9e094e,_0x25fc3c,_0x4bba39);if(!_0x20db3c)return;_0x2abb67['dRQXI'](_0x4d1881,_0x2abb67[_0x32a85c(0xf8)])&&(hooksMap[_0x6cd317]?hooksMap[_0x6cd317]['push'](_0x20db3c):hooksMap[_0x6cd317]=[_0x20db3c]);const _0x41eca=_0x1f76aa[_0x32a85c(0x100)][_0x32a85c(0x114)](_0xc441d3=>_0xc441d3['id']===_0x9e094e[_0x32a85c(0x11e)]),_0x473fab=_0x2abb67[_0x32a85c(0x11c)](nestedKeyValue,_0x41eca,[_0x2abb67[_0x32a85c(0x162)],_0x2abb67['HDdoF']]);if(!_0x473fab)return;else{if(_0x473fab[_0x32a85c(0x12f)](_0x2abb67[_0x32a85c(0x10e)]))return;}if(_0x2abb67[_0x32a85c(0x12d)](_0x20db3c[_0x32a85c(0x117)],_0x2abb67['yEMMw']))return;return _0x20db3c;}catch(_0x337f36){logger[_0x32a85c(0x140)]('Exception\x20in\x20createHookData:\x20'+util[_0x32a85c(0x13e)](_0x337f36)+'\x20');}}[a96_0x558f52(0x11f)](_0x14cf18,_0xd141f3){const _0x20bd93=a96_0x558f52,_0x3c94a0={};_0x3c94a0[_0x20bd93(0x132)]=function(_0x3395ff,_0x491ffd){return _0x3395ff===_0x491ffd;},_0x3c94a0['qsBFe']=_0x20bd93(0x15f),_0x3c94a0['DfXip']=function(_0x18fe3f,_0x4ae2cf){return _0x18fe3f===_0x4ae2cf;},_0x3c94a0[_0x20bd93(0xf1)]=_0x20bd93(0x169),_0x3c94a0['ZHTHP']=_0x20bd93(0x16a),_0x3c94a0[_0x20bd93(0x11a)]=function(_0x4de432,_0x3286a2){return _0x4de432||_0x3286a2;};const _0x3c5dfd=_0x3c94a0,_0x523699=_0x14cf18[_0x20bd93(0x155)][_0xd141f3]['testStepResult'];let _0x542176,_0x1fbdbf;return _0x523699&&_0x3c5dfd[_0x20bd93(0x132)](_0x523699[_0x20bd93(0x115)][_0x20bd93(0x16b)]()[_0x20bd93(0x13c)](),_0x3c5dfd['qsBFe'])&&(_0x542176=_0x3c5dfd[_0x20bd93(0x154)](_0x523699[_0x20bd93(0x16e)],undefined)?_0x523699[_0x20bd93(0x12a)]:_0x523699[_0x20bd93(0x16e)]['message'],_0x1fbdbf=_0x3c5dfd[_0x20bd93(0x132)](_0x523699['exception'],undefined)?_0x3c5dfd[_0x20bd93(0xf1)]:_0x523699[_0x20bd93(0x12a)][_0x20bd93(0x131)](/Assert/)?_0x3c5dfd['ZHTHP']:_0x3c5dfd[_0x20bd93(0xf1)]),{'status':_0x523699['status'][_0x20bd93(0x13c)](),'failureType':_0x3c5dfd[_0x20bd93(0x11a)](_0x1fbdbf,null),'failureData':!_0x542176?null:[_0x542176]};}[a96_0x558f52(0x10a)](_0x38faba,_0x4fa9f7){const _0x326e2e=a96_0x558f52,_0x304cc7={};_0x304cc7['RLNym']=function(_0x4ac60b,_0x14e3cf){return _0x4ac60b===_0x14e3cf;},_0x304cc7[_0x326e2e(0x109)]='AFTER_EACH',_0x304cc7[_0x326e2e(0xef)]=_0x326e2e(0x111);const _0x2e24ca=_0x304cc7;let _0x2ebe26=![];for(const _0x53fba6 of _0x38faba){_0x53fba6[_0x326e2e(0xfb)]&&(_0x2ebe26=!![]);if(_0x2e24ca[_0x326e2e(0xf0)](_0x4fa9f7['id'],_0x53fba6['id']))return _0x2ebe26?_0x2e24ca['RGKAl']:_0x2e24ca[_0x326e2e(0xef)];}}[a96_0x558f52(0x103)]=(_0x8ddf7e,_0xdbba91)=>{const _0x283444=a96_0x558f52,_0x5d9e6c={};_0x5d9e6c[_0x283444(0x147)]=function(_0x9a28ef,_0x4bfca5){return _0x9a28ef===_0x4bfca5;},_0x5d9e6c[_0x283444(0x172)]=function(_0x4dffdb,_0x1e2d44){return _0x4dffdb===_0x1e2d44;},_0x5d9e6c[_0x283444(0x130)]=function(_0x38f82f,_0x2ebd60){return _0x38f82f>_0x2ebd60;};const _0x25f822=_0x5d9e6c;if(!(_0xdbba91[_0x283444(0x15e)]&&_0x25f822[_0x283444(0x130)](_0xdbba91[_0x283444(0x15e)][_0x283444(0x122)],0x1)))return;const _0x22f939=_0xdbba91[_0x283444(0x15e)][0x0],_0x45de5c=_0xdbba91['astNodeIds'][0x1],_0x41f44b=_0x8ddf7e[_0x283444(0x11d)]&&_0x8ddf7e['feature'][_0x283444(0x113)]?_0x8ddf7e['feature'][_0x283444(0x113)]:undefined;let _0x306774=[];_0x41f44b&&_0x41f44b['forEach'](_0x211d16=>{const _0x4dc330=_0x283444;if(_0x211d16[_0x4dc330(0x136)])_0x211d16['rule'][_0x4dc330(0x113)][_0x4dc330(0x126)](_0x3d8690=>{const _0x542f7b=_0x4dc330;if(_0x3d8690[_0x542f7b(0x112)]&&_0x25f822[_0x542f7b(0x147)](_0x3d8690[_0x542f7b(0x112)]['id'],_0x22f939)&&_0x3d8690[_0x542f7b(0x112)]['examples']){const _0x36123a=_0x3d8690[_0x542f7b(0x112)][_0x542f7b(0x161)]['flatMap'](_0x5da5d8=>_0x5da5d8[_0x542f7b(0x134)])[_0x542f7b(0x114)](_0x1480ba=>_0x1480ba['id']===_0x45de5c);let _0x329e2b;_0x36123a&&_0x36123a[_0x542f7b(0xf7)]?_0x329e2b=_0x36123a[_0x542f7b(0xf7)]['map'](_0x2991fe=>_0x2991fe[_0x542f7b(0x118)]):_0x329e2b=[],_0x329e2b&&(_0x306774=_0x329e2b);}});else{if(_0x211d16[_0x4dc330(0x112)]&&_0x25f822['QbqEL'](_0x211d16['scenario']['id'],_0x22f939)&&_0x211d16['scenario'][_0x4dc330(0x161)]){const _0x191cf8=_0x211d16[_0x4dc330(0x112)][_0x4dc330(0x161)][_0x4dc330(0x123)](_0x120c6d=>_0x120c6d[_0x4dc330(0x134)])[_0x4dc330(0x114)](_0x1a0807=>_0x1a0807['id']===_0x45de5c);let _0x52a619;_0x191cf8&&_0x191cf8[_0x4dc330(0xf7)]?_0x52a619=_0x191cf8[_0x4dc330(0xf7)][_0x4dc330(0x149)](_0x489f65=>_0x489f65[_0x4dc330(0x118)]):_0x52a619=[],_0x52a619&&(_0x306774=_0x52a619);}}});if(_0x306774['length'])return _0x306774;return;};async[a96_0x558f52(0x164)](){const _0x4a2dee=a96_0x558f52,_0x3fd02e={'CaYhz':function(_0x1a257d){return _0x1a257d();}};if(this['_gitConfigured'])return this[_0x4a2dee(0x145)];const _0x2e5905=await _0x3fd02e[_0x4a2dee(0x165)](getGitMetaData);_0x2e5905&&(this[_0x4a2dee(0x145)]=_0x2e5905['root']),this[_0x4a2dee(0x137)]=!![];}}module[a96_0x558f52(0x141)]=o11yClassErrorHandler(CucumberUtils,['configureGit',a96_0x558f52(0x103),'getCucumberHookType','getHookResult',a96_0x558f52(0x12e),a96_0x558f52(0x142),a96_0x558f52(0x104),'createTestFrameworkData']);