browserstack-node-sdk 1.53.4 → 1.53.6

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
- const a90_0x3bfe3f=a90_0x57fa;(function(_0x49390c,_0x590c0f){const _0x49a7fd=a90_0x57fa,_0x28cedb=_0x49390c();while(!![]){try{const _0x276c4b=-parseInt(_0x49a7fd(0x93))/0x1*(parseInt(_0x49a7fd(0x100))/0x2)+-parseInt(_0x49a7fd(0x15c))/0x3+parseInt(_0x49a7fd(0x125))/0x4*(parseInt(_0x49a7fd(0xd8))/0x5)+parseInt(_0x49a7fd(0x168))/0x6*(parseInt(_0x49a7fd(0x10b))/0x7)+parseInt(_0x49a7fd(0x13f))/0x8+parseInt(_0x49a7fd(0x8f))/0x9*(parseInt(_0x49a7fd(0xec))/0xa)+-parseInt(_0x49a7fd(0xf8))/0xb*(parseInt(_0x49a7fd(0x144))/0xc);if(_0x276c4b===_0x590c0f)break;else _0x28cedb['push'](_0x28cedb['shift']());}catch(_0x1e8f09){_0x28cedb['push'](_0x28cedb['shift']());}}}(a90_0x2c75,0x3af51));const util=require(a90_0x3bfe3f(0x9a)),BaseModule=require(a90_0x3bfe3f(0x124)),{createClassLogger}=require(a90_0x3bfe3f(0x15b)),{getFrameworkVersion}=require(a90_0x3bfe3f(0x118)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a90_0x3bfe3f(0x9c)),AutomationFramework=require(a90_0x3bfe3f(0x10c)),AutomationFrameworkState=require(a90_0x3bfe3f(0xd5)),HookState=require('../state/hookState.js'),{nestedKeyValue,playwrightBstackJsExecutor}=require(a90_0x3bfe3f(0xa3)),CLIUtils=require(a90_0x3bfe3f(0xc7)),BrowserstackCLI=require(a90_0x3bfe3f(0xe7)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a90_0x3bfe3f(0x131)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a90_0x3bfe3f(0x160)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a90_0x3bfe3f(0xa3)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a90_0x3bfe3f(0x162)),TestFrameworkState=require(a90_0x3bfe3f(0xdd)),JestUtils=require('../utils/jest-utils.js'),TestFramework=require(a90_0x3bfe3f(0x88));class PuppeteerDriverModule extends BaseModule{static [a90_0x3bfe3f(0xa2)]='puppeteer_browser';static [a90_0x3bfe3f(0x135)]=a90_0x3bfe3f(0xb5);static ['KEY_SESSION_ID']=a90_0x3bfe3f(0xa6);static ['KEY_PLATFORM_INDEX']=a90_0x3bfe3f(0xe8);static [a90_0x3bfe3f(0x111)]=a90_0x3bfe3f(0x120);static [a90_0x3bfe3f(0xe0)]=a90_0x3bfe3f(0x8c);static [a90_0x3bfe3f(0x156)]=a90_0x3bfe3f(0x96);static [a90_0x3bfe3f(0xd1)]='puppeteer_test_id';static [a90_0x3bfe3f(0x12f)]=a90_0x3bfe3f(0x126);static ['_driverInitCalledForRef']=new Set();static [a90_0x3bfe3f(0x82)]=null;[a90_0x3bfe3f(0x105)]=createClassLogger(a90_0x3bfe3f(0x126));constructor(_0x52ffdf=null){const _0x17649d=a90_0x3bfe3f,_0x2d9e92={};_0x2d9e92['MNLki']=_0x17649d(0x123),_0x2d9e92[_0x17649d(0x14d)]=_0x17649d(0x126);const _0x52ecb5=_0x2d9e92,_0x28a5b3=_0x52ecb5[_0x17649d(0xbb)]['split']('|');let _0x45ab35=0x0;while(!![]){switch(_0x28a5b3[_0x45ab35++]){case'0':this[_0x17649d(0x140)]=null;continue;case'1':super(_0x52ffdf);continue;case'2':this[_0x17649d(0x95)]=new JestUtils();continue;case'3':this[_0x17649d(0xce)]=_0x52ecb5[_0x17649d(0x14d)];continue;case'4':TestFramework['registerObserver'](TestFrameworkState[_0x17649d(0x15e)],HookState[_0x17649d(0xe9)],this[_0x17649d(0x167)][_0x17649d(0xee)](this));continue;case'5':this[_0x17649d(0x119)]=null;continue;case'6':AutomationFramework[_0x17649d(0x8e)](AutomationFrameworkState['CREATE'],HookState[_0x17649d(0xe9)],this[_0x17649d(0xfd)][_0x17649d(0xee)](this));continue;case'7':this[_0x17649d(0xe2)]=null;continue;case'8':AutomationFramework[_0x17649d(0x8e)](AutomationFrameworkState[_0x17649d(0xcc)],HookState[_0x17649d(0x10f)],this[_0x17649d(0x106)]['bind'](this));continue;case'9':this[_0x17649d(0x11c)]=[];continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x17649d(0xba)],HookState[_0x17649d(0x10f)],this[_0x17649d(0xcf)][_0x17649d(0xee)](this));continue;case'11':this[_0x17649d(0x87)]=null;continue;}break;}}[a90_0x3bfe3f(0x159)](){const _0x2898b5=a90_0x3bfe3f;return PuppeteerDriverModule[_0x2898b5(0x12f)];}async[a90_0x3bfe3f(0x106)](_0x2e3d95){const _0x364b8a=a90_0x3bfe3f,_0x230c4f={};_0x230c4f['KFEAk']=_0x364b8a(0x11f),_0x230c4f[_0x364b8a(0x116)]='base64',_0x230c4f[_0x364b8a(0x94)]=_0x364b8a(0x115),_0x230c4f['uITDt']=_0x364b8a(0x8b),_0x230c4f[_0x364b8a(0x13a)]=function(_0x1f1ddb,_0x483acb){return _0x1f1ddb===_0x483acb;},_0x230c4f['gRNAK']=_0x364b8a(0xff),_0x230c4f[_0x364b8a(0x13e)]=function(_0x353c82,_0x42c60f){return _0x353c82!==_0x42c60f;},_0x230c4f['xPvez']=function(_0x3f2bc1,_0x35ca46){return _0x3f2bc1===_0x35ca46;},_0x230c4f['ceDsQ']=_0x364b8a(0xbc),_0x230c4f[_0x364b8a(0xb6)]=function(_0x39ff2a,_0xff14dc){return _0x39ff2a>_0xff14dc;},_0x230c4f[_0x364b8a(0xf7)]=_0x364b8a(0xa9);const _0x3fafce=_0x230c4f;try{this['logger']['debug'](_0x3fafce['KFEAk']);const _0x2a3ded=_0x2e3d95['launchcaps'],_0x443bf5=_0x2e3d95[_0x364b8a(0xf2)];AutomationFramework[_0x364b8a(0x122)](_0x2e3d95[_0x364b8a(0xa5)],PuppeteerDriverModule['KEY_CAPABILITIES'],_0x2a3ded),AutomationFramework[_0x364b8a(0x122)](_0x2e3d95[_0x364b8a(0xa5)],PuppeteerDriverModule[_0x364b8a(0xe0)],_0x443bf5);const _0x2103ac=_0x2e3d95[_0x364b8a(0xa5)]['getRef'](),_0x5023c4=global['__bstackPlatformIndex']||0x0;AutomationFramework[_0x364b8a(0x122)](_0x2e3d95[_0x364b8a(0xa5)],PuppeteerDriverModule['KEY_PLATFORM_INDEX'],_0x5023c4);if(PuppeteerDriverModule[_0x364b8a(0x169)][_0x364b8a(0x157)](_0x2103ac))this[_0x364b8a(0x105)][_0x364b8a(0xa8)](_0x364b8a(0x134)+_0x2103ac+_0x364b8a(0x92));else{PuppeteerDriverModule[_0x364b8a(0x169)][_0x364b8a(0xd0)](_0x2103ac),PuppeteerDriverModule[_0x364b8a(0x82)]=_0x2103ac;const _0x469fe2={..._0x2a3ded};_0x469fe2[_0x364b8a(0x89)]=!![];const _0x1a03c0=Buffer[_0x364b8a(0x171)](JSON[_0x364b8a(0x128)](_0x469fe2)[_0x364b8a(0xa1)](_0x3fafce[_0x364b8a(0x116)])),_0x29df9f={};_0x29df9f[_0x364b8a(0xb1)]=_0x5023c4,_0x29df9f[_0x364b8a(0x13c)]=_0x2103ac,_0x29df9f[_0x364b8a(0x142)]=_0x1a03c0,_0x29df9f[_0x364b8a(0xf2)]=_0x443bf5;const _0x2b9efd=await GrpcClient['getInstance']()[_0x364b8a(0x16c)](_0x29df9f);this[_0x364b8a(0x105)][_0x364b8a(0xa8)](_0x3fafce[_0x364b8a(0x94)]);if(_0x2b9efd)try{const _0x12061e=_0x2b9efd[_0x364b8a(0xfa)]?_0x2b9efd[_0x364b8a(0xfa)]():_0x2b9efd[_0x364b8a(0xa0)];if(_0x12061e){let _0x4fc2c5;if(Buffer[_0x364b8a(0x172)](_0x12061e))_0x4fc2c5=JSON[_0x364b8a(0x15d)](_0x12061e['toString'](_0x3fafce[_0x364b8a(0xfe)]));else{if(_0x3fafce['eAPIl'](typeof _0x12061e,_0x3fafce[_0x364b8a(0xd9)])&&_0x3fafce['XZQKc'](_0x12061e,null)){const _0x309075=Buffer['from'](Object[_0x364b8a(0x132)](_0x12061e));_0x4fc2c5=JSON[_0x364b8a(0x15d)](_0x309075[_0x364b8a(0xa1)](_0x3fafce[_0x364b8a(0xfe)]));}else _0x3fafce['xPvez'](typeof _0x12061e,_0x3fafce[_0x364b8a(0x166)])?_0x4fc2c5=JSON[_0x364b8a(0x15d)](_0x12061e):_0x4fc2c5=_0x12061e;}this[_0x364b8a(0x105)]['debug'](_0x364b8a(0x9f)+JSON[_0x364b8a(0x128)](_0x4fc2c5)),_0x4fc2c5&&_0x3fafce[_0x364b8a(0xb6)](Object[_0x364b8a(0xcd)](_0x4fc2c5)[_0x364b8a(0xb2)],0x0)&&(AutomationFramework[_0x364b8a(0x122)](_0x2e3d95[_0x364b8a(0xa5)],PuppeteerDriverModule[_0x364b8a(0x111)],_0x4fc2c5),global[_0x364b8a(0xa4)]=_0x4fc2c5,this[_0x364b8a(0x105)][_0x364b8a(0xa8)](_0x3fafce['WzuMv']));}const _0x31aa84=_0x2b9efd[_0x364b8a(0xf1)]?_0x2b9efd[_0x364b8a(0xf1)]():_0x2b9efd['hubUrl'];_0x31aa84&&AutomationFramework[_0x364b8a(0x122)](_0x2e3d95[_0x364b8a(0xa5)],PuppeteerDriverModule[_0x364b8a(0xe0)],_0x31aa84);}catch(_0x159705){this[_0x364b8a(0x105)]['debug'](_0x364b8a(0xea)+util['format'](_0x159705));}}}catch(_0x5235c8){this['logger'][_0x364b8a(0xb9)](_0x364b8a(0x113)+util['format'](_0x5235c8));}}async[a90_0x3bfe3f(0xfd)](_0x49f57c){const _0x316744=a90_0x3bfe3f,_0x5cd266={'GYKpV':function(_0x3dfb90,_0x15ecbd){return _0x3dfb90(_0x15ecbd);},'bhYPS':'onAfterDriverCreate:\x20Setting\x20page\x20object','nXEhd':_0x316744(0x170),'JQtBI':_0x316744(0xb7),'xyVGA':_0x316744(0x108),'uUOkZ':function(_0x39afd1,_0x1aa8c4){return _0x39afd1>_0x1aa8c4;},'GjlUk':_0x316744(0x12c),'pINFl':_0x316744(0x85),'FlhHn':function(_0x444fbb,_0x12d625){return _0x444fbb===_0x12d625;},'ESSop':_0x316744(0xbc)};try{this[_0x316744(0x105)]['debug'](_0x316744(0xdf)+JSON[_0x316744(0x128)](_0x49f57c));const _0x5987bf=_0x49f57c[_0x316744(0xa5)];this[_0x316744(0x119)]=_0x5cd266[_0x316744(0x14b)](getFrameworkVersion,FRAMEWORKS[_0x316744(0xbd)]);_0x49f57c[_0x316744(0x149)]&&(this[_0x316744(0x105)]['debug'](_0x5cd266['bhYPS']),AutomationFramework[_0x316744(0x122)](_0x5987bf,PuppeteerDriverModule[_0x316744(0x135)],_0x49f57c[_0x316744(0x149)]),_0x49f57c[_0x316744(0x161)]?(this[_0x316744(0x105)][_0x316744(0xa8)](_0x5cd266['nXEhd']),AutomationFramework[_0x316744(0x122)](_0x5987bf,PuppeteerDriverModule[_0x316744(0xd1)],_0x49f57c['testInfo']['id']||''),await this[_0x316744(0x114)](_0x5987bf,_0x49f57c['testInfo'])):this[_0x316744(0x105)][_0x316744(0xa8)](_0x5cd266[_0x316744(0x12e)]));if(_0x49f57c['browser']){this[_0x316744(0x105)]['debug'](_0x5cd266[_0x316744(0x109)]),AutomationFramework[_0x316744(0x122)](_0x5987bf,PuppeteerDriverModule[_0x316744(0xa2)],_0x49f57c[_0x316744(0x141)]);global[_0x316744(0xa4)]&&_0x5cd266[_0x316744(0x121)](Object['keys'](global[_0x316744(0xa4)])[_0x316744(0xb2)],0x0)&&(AutomationFramework[_0x316744(0x122)](_0x5987bf,PuppeteerDriverModule[_0x316744(0x111)],global[_0x316744(0xa4)]),this[_0x316744(0x105)][_0x316744(0xa8)](_0x5cd266[_0x316744(0x11e)]));if(_0x49f57c[_0x316744(0xed)])AutomationFramework[_0x316744(0x122)](_0x5987bf,PuppeteerDriverModule[_0x316744(0xfc)],_0x49f57c[_0x316744(0xed)]),this['logger'][_0x316744(0xa8)]('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20'+_0x49f57c['sessionId']);else{if(global[_0x316744(0x13d)])AutomationFramework['setState'](_0x5987bf,PuppeteerDriverModule[_0x316744(0xfc)],global[_0x316744(0x13d)]),this['logger']['debug'](_0x316744(0x151)+global[_0x316744(0x13d)]);else try{const _0xa10b0c=_0x49f57c['page']||AutomationFramework[_0x316744(0x8a)](_0x5987bf,PuppeteerDriverModule[_0x316744(0x135)]);if(_0xa10b0c){const _0x2b4401=await _0xa10b0c[_0x316744(0x117)](_0x5beb42=>{},_0x5cd266[_0x316744(0x102)]);if(_0x2b4401){const _0x205464=_0x5cd266[_0x316744(0x143)](typeof _0x2b4401,_0x5cd266[_0x316744(0x103)])?JSON['parse'](_0x2b4401):_0x2b4401;_0x205464&&_0x205464[_0x316744(0x91)]&&(AutomationFramework[_0x316744(0x122)](_0x5987bf,PuppeteerDriverModule['KEY_SESSION_ID'],_0x205464['hashed_id']),global[_0x316744(0x13d)]=_0x205464[_0x316744(0x91)],this[_0x316744(0x105)][_0x316744(0xa8)](_0x316744(0x11b)+_0x205464['hashed_id']));}}}catch(_0x9189d){this['logger']['debug'](_0x316744(0xc1)+util[_0x316744(0xf3)](_0x9189d));if(_0x49f57c['browser'][_0x316744(0xc8)]&&_0x49f57c[_0x316744(0x141)][_0x316744(0xc8)]['_url'])try{const _0x96b6fb=_0x49f57c[_0x316744(0x141)][_0x316744(0xc8)][_0x316744(0x13b)];AutomationFramework[_0x316744(0x122)](_0x5987bf,PuppeteerDriverModule[_0x316744(0xfc)],_0x96b6fb),this[_0x316744(0x105)][_0x316744(0xa8)](_0x316744(0xe5)+_0x96b6fb);}catch(_0x4be0b9){this[_0x316744(0x105)][_0x316744(0xa8)](_0x316744(0xc0)+util[_0x316744(0xf3)](_0x4be0b9));}}}}}catch(_0x37a454){this[_0x316744(0x105)][_0x316744(0xb9)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x316744(0xf3)](_0x37a454));}}async[a90_0x3bfe3f(0x167)](_0x3982b7){const _0x1121f4=a90_0x3bfe3f,_0x136af3={'OPhvH':_0x1121f4(0xe3),'ssPip':_0x1121f4(0x145),'IvtNK':'unknown','PSrwb':'Unknown\x20Test','ZYmbq':function(_0x503c9e,_0x1beae8){return _0x503c9e>_0x1beae8;},'BYwwX':function(_0x2a5272,_0x25e573){return _0x2a5272===_0x25e573;},'PdrGp':_0x1121f4(0xbe),'BWshL':function(_0x20c0ef,_0x44ec2a){return _0x20c0ef===_0x44ec2a;},'GyWXb':_0x1121f4(0x137),'ZlvBf':function(_0x2f4ee7,_0x28bf75){return _0x2f4ee7===_0x28bf75;},'OVaRQ':_0x1121f4(0x10a),'dGjXf':_0x1121f4(0xc3),'wypWJ':_0x1121f4(0x14c),'ugpSZ':_0x1121f4(0xb0),'Ngimx':function(_0x2a97d3,_0x100f5a){return _0x2a97d3(_0x100f5a);},'fiJMb':'Puppeteer','jkrlh':function(_0x74c4d3){return _0x74c4d3();},'NRyNa':function(_0x27473d,_0xa739b1){return _0x27473d>_0xa739b1;},'qmnfz':'base64','NqDGg':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','UyfsA':_0x1121f4(0xb3)};this[_0x1121f4(0x105)][_0x1121f4(0xa8)](_0x136af3[_0x1121f4(0x9e)]);const _0x64a62=_0x3982b7[_0x1121f4(0xa5)];if(!_0x64a62){this['logger'][_0x1121f4(0xa8)](_0x136af3[_0x1121f4(0xcb)]);return;}try{const _0x4e7f95=_0x3982b7[_0x1121f4(0x161)],_0x1b84d9=_0x3982b7[_0x1121f4(0xac)];let _0x5a9d39=_0x3982b7[_0x1121f4(0xda)],_0x59ac81=_0x136af3[_0x1121f4(0x14a)],_0x2c737d=_0x136af3[_0x1121f4(0x97)],_0x1ce345=null;_0x4e7f95&&(_0x59ac81=_0x4e7f95[_0x1121f4(0x101)]||_0x1b84d9?.[_0x1121f4(0x9b)]||_0x136af3[_0x1121f4(0x14a)],_0x2c737d=_0x4e7f95['name']||_0x4e7f95[_0x1121f4(0xf6)]||_0x1b84d9?.[_0x1121f4(0xce)]||_0x1b84d9?.[_0x1121f4(0xf6)]||_0x136af3[_0x1121f4(0x97)],_0x1ce345=_0x4e7f95[_0x1121f4(0x16d)]||_0x4e7f95[_0x1121f4(0xb9)]?.['message']||null,_0x1b84d9?.[_0x1121f4(0x139)]&&_0x136af3[_0x1121f4(0x148)](_0x1b84d9[_0x1121f4(0x139)][_0x1121f4(0xb2)],0x0)&&(_0x1ce345=_0x1ce345||_0x1b84d9[_0x1121f4(0x139)][_0x1121f4(0xc9)](_0x376603=>_0x376603[_0x1121f4(0x16b)]||_0x376603)[_0x1121f4(0x15f)]('\x0a')));let _0x4726ce=null;if(_0x136af3['BYwwX'](_0x59ac81,_0x136af3['PdrGp']))_0x4726ce=_0x136af3[_0x1121f4(0xc2)];else{if(_0x136af3[_0x1121f4(0xd2)](_0x59ac81,_0x136af3[_0x1121f4(0x173)])||_0x136af3[_0x1121f4(0x10e)](_0x59ac81,_0x136af3[_0x1121f4(0x112)])||_0x136af3[_0x1121f4(0xdc)](_0x59ac81,_0x136af3[_0x1121f4(0xb4)]))_0x4726ce=_0x136af3[_0x1121f4(0x173)];else(_0x136af3[_0x1121f4(0xdc)](_0x59ac81,_0x136af3[_0x1121f4(0xc6)])||_0x136af3[_0x1121f4(0xdc)](_0x59ac81,_0x136af3['ugpSZ']))&&(_0x4726ce=_0x136af3[_0x1121f4(0xc6)]);}this[_0x1121f4(0xd3)]&&_0x136af3[_0x1121f4(0x10e)](this[_0x1121f4(0xd3)][_0x1121f4(0xce)],FRAMEWORKS[_0x1121f4(0xfb)])?(_0x5a9d39=this[_0x1121f4(0x95)][_0x1121f4(0x146)](_0x4e7f95,_0x5a9d39),this[_0x1121f4(0x105)][_0x1121f4(0xa8)](_0x1121f4(0x174)+_0x5a9d39)):_0x5a9d39=_0x1b84d9?.['id']||_0x1b84d9?.[_0x1121f4(0xe4)]||process['pid']+':testAnalyticsId';const _0x2c8255=TestInfo[_0x1121f4(0x165)](_0x5a9d39),_0x2a1f1d=AutomationFramework[_0x1121f4(0x8a)](_0x64a62,PuppeteerDriverModule[_0x1121f4(0x99)])||global['__bstackPlatformIndex'],_0x19a206=_0x2c8255?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x1121f4(0xd3)]&&this[_0x1121f4(0xd3)][_0x1121f4(0xce)],_0x253790=_0x2c8255?.[TestFrameworkConstants[_0x1121f4(0x15a)]]||this[_0x1121f4(0xd3)]&&this['testFrameworkData']['version'],_0x6a2de=TestFrameworkState[_0x1121f4(0x15e)]['toString']()['split']('.')[0x1],_0x22f9e8=HookState[_0x1121f4(0xe9)][_0x1121f4(0xa1)]()[_0x1121f4(0x154)]('.')[0x1],_0x165ba8=_0x64a62[_0x1121f4(0x12b)](),_0x484681=AutomationFramework[_0x1121f4(0x8a)](_0x64a62,PuppeteerDriverModule[_0x1121f4(0xe0)],'')||BrowserstackCLI[_0x1121f4(0x86)]()[_0x1121f4(0xf9)]()?.['hubUrl']||'',_0x475321=AutomationFramework[_0x1121f4(0x8a)](_0x64a62,PuppeteerDriverModule[_0x1121f4(0xfc)],'')||global['__bstackSessionId']||'',_0x4d42c8={'provider':_0x136af3[_0x1121f4(0xe1)](getPlaywrightProvider,_0x484681),'frameworkName':_0x136af3[_0x1121f4(0xdb)],'frameworkVersion':this[_0x1121f4(0x119)]||'','frameworkSessionId':LoadTestModule[_0x1121f4(0x110)]()?LoadTestModule['getLTSSessionId']():_0x475321,'ref':PuppeteerDriverModule[_0x1121f4(0x82)]||_0x64a62['getRef'](),'hubUrl':_0x484681,'product':_0x136af3['jkrlh'](getProductForSession)};let _0x209fb1=AutomationFramework[_0x1121f4(0x8a)](_0x64a62,PuppeteerDriverModule[_0x1121f4(0x111)],null)||global[_0x1121f4(0xa4)]||global[_0x1121f4(0x12d)]||{};_0x209fb1&&_0x136af3[_0x1121f4(0x147)](Object['keys'](_0x209fb1)[_0x1121f4(0xb2)],0x0)?_0x209fb1=Buffer[_0x1121f4(0x171)](JSON[_0x1121f4(0x128)](_0x209fb1))[_0x1121f4(0xa1)](_0x136af3[_0x1121f4(0xab)]):_0x209fb1=Buffer[_0x1121f4(0x171)](JSON['stringify']({}))['toString'](_0x136af3[_0x1121f4(0xab)]);const _0x2c3504={'hash':_0x165ba8[_0x1121f4(0x104)](),'threadId':_0x165ba8[_0x1121f4(0x152)]()[_0x1121f4(0xa1)](),'processId':_0x165ba8[_0x1121f4(0xb8)]()[_0x1121f4(0xa1)]()},_0x4773de={};_0x4773de[_0x1121f4(0xb1)]=_0x2a1f1d,_0x4773de['testFrameworkName']=_0x19a206,_0x4773de['testFrameworkVersion']=_0x253790,_0x4773de[_0x1121f4(0x11a)]=_0x6a2de,_0x4773de[_0x1121f4(0xf5)]=_0x22f9e8,_0x4773de['test_identifier']=_0x5a9d39,_0x4773de['automationSession']=_0x4d42c8,_0x4773de[_0x1121f4(0xa0)]=_0x209fb1,_0x4773de['executionContext']=_0x2c3504;const _0x447054=_0x4773de;this[_0x1121f4(0x105)][_0x1121f4(0xa8)](_0x1121f4(0x155)+util[_0x1121f4(0xf3)](_0x447054)),GrpcClient[_0x1121f4(0x86)]()[_0x1121f4(0xaa)](_0x447054),this[_0x1121f4(0x105)]['debug'](_0x1121f4(0xc4)+_0x5a9d39);if(!_0x4726ce){this['logger'][_0x1121f4(0xa8)](_0x136af3[_0x1121f4(0xd7)],_0x59ac81);return;}this[_0x1121f4(0x105)]['debug'](_0x136af3[_0x1121f4(0xde)]),_0x4e7f95&&await this[_0x1121f4(0x114)](_0x64a62,_0x4e7f95),await this[_0x1121f4(0x129)](_0x64a62,_0x2c737d,_0x4726ce,_0x1ce345);}catch(_0x1fa467){this[_0x1121f4(0x105)][_0x1121f4(0xb9)](_0x1121f4(0x163)+util[_0x1121f4(0xf3)](_0x1fa467));}}async[a90_0x3bfe3f(0xcf)](_0x28c87c){const _0x32281e=a90_0x3bfe3f,_0xd58fd={};_0xd58fd[_0x32281e(0x14e)]='onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit',_0xd58fd[_0x32281e(0xf4)]=_0x32281e(0x130),_0xd58fd[_0x32281e(0x10d)]=_0x32281e(0x138);const _0x51d2b9=_0xd58fd;try{this[_0x32281e(0x105)][_0x32281e(0xa8)](_0x51d2b9[_0x32281e(0x14e)]);const _0x1694b4=_0x28c87c[_0x32281e(0xa5)];if(!_0x1694b4){this[_0x32281e(0x105)][_0x32281e(0xa8)](_0x51d2b9[_0x32281e(0xf4)]);return;}AutomationFramework[_0x32281e(0x122)](_0x1694b4,PuppeteerDriverModule[_0x32281e(0x135)],null),AutomationFramework[_0x32281e(0x122)](_0x1694b4,PuppeteerDriverModule['KEY_BROWSER_OBJECT'],null),this[_0x32281e(0x105)][_0x32281e(0xa8)](_0x51d2b9[_0x32281e(0x10d)]);}catch(_0x153693){this[_0x32281e(0x105)][_0x32281e(0xb9)](_0x32281e(0x127)+util[_0x32281e(0xf3)](_0x153693));}}async[a90_0x3bfe3f(0x114)](_0xab39ac,_0x2dd255){const _0x1a013c=a90_0x3bfe3f,_0x8c3fa8={};_0x8c3fa8['buejs']=_0x1a013c(0x16e),_0x8c3fa8[_0x1a013c(0x133)]='markSessionName:\x20Page\x20object\x20is\x20not\x20available',_0x8c3fa8[_0x1a013c(0x14f)]='setSessionName';const _0x5e09fc=_0x8c3fa8;try{if(CLIUtils[_0x1a013c(0xc5)](BrowserstackCLI[_0x1a013c(0x86)]()[_0x1a013c(0xf9)]())){this[_0x1a013c(0x105)][_0x1a013c(0xa8)](_0x5e09fc[_0x1a013c(0xd6)]);return;}const _0x4a3ed5=AutomationFramework[_0x1a013c(0x8a)](_0xab39ac,PuppeteerDriverModule[_0x1a013c(0x135)]);if(!_0x4a3ed5){this[_0x1a013c(0x105)][_0x1a013c(0xa8)](_0x5e09fc[_0x1a013c(0x133)]);return;}const _0x2ed65a=_0x2dd255[_0x1a013c(0xce)]||_0x2dd255[_0x1a013c(0xf6)]||_0x2dd255[_0x1a013c(0x164)],_0x465837={};_0x465837['name']=_0x2ed65a;const _0x357caf={};_0x357caf[_0x1a013c(0x16a)]=_0x5e09fc[_0x1a013c(0x14f)],_0x357caf['arguments']=_0x465837;const _0x18f94a=_0x357caf;PerformanceTester[_0x1a013c(0x136)](PerformanceEvents['SESSION_NAME']),await this[_0x1a013c(0xef)](_0x4a3ed5,_0x18f94a),PerformanceTester[_0x1a013c(0x158)](PerformanceEvents[_0x1a013c(0xaf)]);}catch(_0x4d0aee){PerformanceTester[_0x1a013c(0x158)](PerformanceEvents[_0x1a013c(0xaf)],![],util['format'](_0x4d0aee)),this[_0x1a013c(0x105)][_0x1a013c(0xb9)](_0x1a013c(0x83)+util['format'](_0x4d0aee));}}async['markSessionStatus'](_0x1cf802,_0x59058c,_0x318a7f,_0x2df1f6){const _0x257c08=a90_0x3bfe3f,_0x9ce05e={};_0x9ce05e[_0x257c08(0x153)]=_0x257c08(0x107),_0x9ce05e[_0x257c08(0x11d)]='markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available',_0x9ce05e[_0x257c08(0xbf)]=_0x257c08(0xf0),_0x9ce05e[_0x257c08(0x9d)]='Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20',_0x9ce05e['xGFoe']=_0x257c08(0xe6),_0x9ce05e[_0x257c08(0xca)]=_0x257c08(0x150),_0x9ce05e['hApii']=_0x257c08(0xae);const _0x4bbc55=_0x9ce05e;if(CLIUtils[_0x257c08(0xa7)](BrowserstackCLI[_0x257c08(0x86)]()['getConfig']())){this[_0x257c08(0x105)][_0x257c08(0xa8)](_0x4bbc55[_0x257c08(0x153)]);return;}const _0x5a6569=_0x1cf802;if(!_0x5a6569){this['logger']['debug'](_0x4bbc55[_0x257c08(0x11d)]);return;}const _0x3ffcbb=AutomationFramework[_0x257c08(0x8a)](_0x5a6569,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(!_0x3ffcbb){this[_0x257c08(0x105)][_0x257c08(0xa8)](_0x4bbc55[_0x257c08(0xbf)]);return;}if(!_0x318a7f){this[_0x257c08(0x105)][_0x257c08(0xa8)](_0x4bbc55[_0x257c08(0x9d)],_0x318a7f);return;}const _0x55828b={};_0x55828b[_0x257c08(0x101)]=_0x318a7f;const _0x558e51={};_0x558e51[_0x257c08(0x16a)]=_0x4bbc55[_0x257c08(0x16f)],_0x558e51[_0x257c08(0x84)]=_0x55828b;const _0x5f2630=_0x558e51;_0x2df1f6&&(_0x5f2630[_0x257c08(0x84)][_0x4bbc55[_0x257c08(0xca)]]=_0x2df1f6),PerformanceTester[_0x257c08(0x136)](PerformanceEvents[_0x257c08(0xad)]),this[_0x257c08(0x105)][_0x257c08(0xa8)](_0x4bbc55['hApii']),await this['puppeteerBstackExecutor'](_0x3ffcbb,_0x5f2630),PerformanceTester[_0x257c08(0x158)](PerformanceEvents[_0x257c08(0xad)]);}async[a90_0x3bfe3f(0xef)](_0x2d0123,_0x15188c){const _0x2884ef=a90_0x3bfe3f,_0x238cab={'xTDgM':function(_0x296090,_0x57bc8a,_0xa012ec){return _0x296090(_0x57bc8a,_0xa012ec);},'YFVOV':function(_0x2eee62,_0xae78ef){return _0x2eee62(_0xae78ef);}};try{const _0x17ea28=0x3a98,_0x1e615d=_0x2884ef(0xeb)+JSON[_0x2884ef(0x128)](_0x15188c),_0x408d94=_0x2d0123['evaluate'](_0x464c53=>{},_0x1e615d);let _0x2e4b5c;await Promise[_0x2884ef(0x90)]([_0x408d94,new Promise((_0x332584,_0x18f853)=>{const _0x417d9e=_0x2884ef;_0x2e4b5c=_0x238cab[_0x417d9e(0x98)](setTimeout,()=>_0x18f853(new Error(_0x417d9e(0x8d)+_0x17ea28+'ms')),_0x17ea28);})])[_0x2884ef(0x12a)](()=>{_0x238cab['YFVOV'](clearTimeout,_0x2e4b5c);});}catch(_0x35f959){this['logger']['debug'](_0x2884ef(0xd4)+(_0x35f959['message']||_0x35f959));}}}function a90_0x2c75(){const _0x1ca747=['shouldSkipSessionStatus','debug','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','testSessionEvent','qmnfz','test','SESSION_STATUS','markSessionStatus:\x20Marking\x20session\x20status','SESSION_NAME','skip','platformIndex','length','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status','dGjXf','puppeteer_page','rIdZP','onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','getProcessId','error','QUIT','MNLki','string','PUPPETEER','passed','RPJsb','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20','PdrGp','timedOut','onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20','shouldSkipSessionName','wypWJ','../cliUtils.js','_connection','map','DHfUP','ssPip','CREATE','keys','name','onBeforeQuit','add','KEY_TEST_ID','BWshL','testFrameworkData','Error\x20in\x20puppeteerBstackExecutor:\x20','../state/automationFrameworkState.js','buejs','NqDGg','4790YwbaVQ','gRNAK','testIdentifier','fiJMb','BYwwX','../state/testFrameworkState','UyfsA','onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20','KEY_HUB_URL','Ngimx','browserName','Automation\x20onAfterTest:\x20Test\x20completed','uuid','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20','setSessionStatus','../browserstackCLI.js','puppeteer_platform_index','POST','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','browserstack_executor:\x20','10DgxTgg','sessionId','bind','puppeteerBstackExecutor','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','getHubUrl','hubUrl','format','uHzga','testHookState','title','WzuMv','176logfSQ','getConfig','getCapabilities','JEST','KEY_SESSION_ID','onAfterDriverCreate','uITDt','object','39486VokOmN','status','pINFl','ESSop','getId','logger','onBeforeDriverCreate','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','onAfterDriverCreate:\x20Setting\x20browser\x20object','xyVGA','timedout','7bwkGlD','../framework/automationFramework.js','mSqzV','ZlvBf','PRE','isLTSSession','KEY_CAPABILITIES','OVaRQ','Error\x20in\x20onBeforeDriverCreate:\x20','markSessionName','onAfterDriverCreate:\x20driverInit\x20response\x20received','qdARs','evaluate','../../../helpers/test-observability/utils','puppeteerVersion','testFrameworkState','onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20','platforms','gpani','GjlUk','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','puppeteer_capabilities','uUOkZ','setState','1|3|5|7|0|9|11|2|8|6|4|10','./baseModule','1412Wtpqps','PuppeteerDriverModule','Error\x20in\x20onBeforeQuit:\x20','stringify','markSessionStatus','finally','getContext','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','__platformCaps','JQtBI','MODULE_NAME','onBeforeQuit:\x20No\x20automation\x20instance\x20available','../../../helpers/performance/performance-tester.js','values','AfCXG','onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20','KEY_PAGE_OBJECT','start','failed','onBeforeQuit:\x20Cleanup\x20complete','errorsDetailed','eAPIl','_url','ref','__bstackSessionId','XZQKc','1049192iJGBxp','browserVersion','browser','userInputParams','FlhHn','324204CufClq','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','recreateIdentifierFromTestInfo','NRyNa','ZYmbq','page','IvtNK','GYKpV','skipped','lobsR','KADzt','CFicX','reason','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20','getThreadId','MifNO','split','onAfterTest\x20CBTSession\x20payload:\x20','KEY_PLATFORM_DETAILS','has','end','getModuleName','KEY_TEST_FRAMEWORK_VERSION','../../../helpers/classLogger.js','168747bVLizo','parse','TEST','join','AUTOMATE_EVENTS','testInfo','../framework/constants/testFrameworkConstants.js','Error\x20in\x20onAfterTest:\x20','fullName','getTestDetails','ceDsQ','onAfterTest','1704018rIMhez','_driverInitCalledForRef','action','message','driverInit','failureMessage','markSessionName:\x20Skipping\x20session\x20name\x20marking','xGFoe','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','from','isBuffer','GyWXb','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','_driverInitRef','Error\x20in\x20markSessionName:\x20','arguments','browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','getInstance','testRunId','../framework/testFramework.js','isPuppeteer','getState','utf8','puppeteer_hub_url','browserstack_executor\x20timeout\x20after\x20','registerObserver','3166209adYgeL','race','hashed_id',',\x20skipping\x20duplicate','19xpHCNi','EIHGl','jestUtils','puppeteer_platform_details','PSrwb','xTDgM','KEY_PLATFORM_INDEX','util','result','../../utils/constants','HRrRd','OPhvH','onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20','capabilities','toString','KEY_BROWSER_OBJECT','../../../helpers/helper.js','__launchCaps','instance','puppeteer_session_id'];a90_0x2c75=function(){return _0x1ca747;};return a90_0x2c75();}function a90_0x57fa(_0x5d7452,_0x88452b){const _0x2c75ce=a90_0x2c75();return a90_0x57fa=function(_0x57fa36,_0x1d5401){_0x57fa36=_0x57fa36-0x82;let _0x148fd5=_0x2c75ce[_0x57fa36];return _0x148fd5;},a90_0x57fa(_0x5d7452,_0x88452b);}module['exports']=PuppeteerDriverModule;
1
+ const a90_0x44f1ab=a90_0x57c7;function a90_0x4b3f(){const _0x42e1f1=['../grpcClient.js','getTestDetails','Error\x20in\x20puppeteerBstackExecutor:\x20','skip','jestUtils','wFUAE','PuppeteerDriverModule','split','testHookState','base64','isBuffer','Error\x20in\x20onAfterDriverCreate:\x20','KEY_HUB_URL','Automation\x20onAfterTest:\x20Test\x20completed','reason','action','PRE','eYipp','instance','browserVersion','end','onBeforeQuit:\x20Cleanup\x20complete','iuuXh','keys','testFrameworkData','hashed_id','JfluS','goXoD','WLJkV','join','KEY_PLATFORM_DETAILS','VJKAZ','capabilities','vtsJZ','TEST','object','wHwxd','getRef','380208NdyJjM','getConfig','_url','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','puppeteer_capabilities','Puppeteer','browser','testFrameworkState','eyUkz','version','BtsrK','puppeteerBstackExecutor','../../utils/constants','onAfterDriverCreate:\x20Setting\x20page\x20object','3017910FvNZLP','_connection','320ItFwwJ','values','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','_driverInitRef','userInputParams','../../../helpers/helper.js','YKwnZ',':testAnalyticsId','../../../helpers/test-observability/utils','../../../helpers/classLogger.js','debug','uuid','KEY_TEST_FRAMEWORK_VERSION','__bstackPlatformIndex','toXsh','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20','Error\x20in\x20onAfterTest:\x20','markSessionName:\x20Skipping\x20session\x20name\x20marking','DpEwF','KEY_SESSION_ID','PUPPETEER','pid','finally','CREATE','636iewOIy','onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit','timedout','rHRqI','driverInit','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status','getModuleName','iOYMq','start','browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','10vXPPxy','sessionId','JEST','__bstackSessionId','bind','ahdZW','puppeteer_platform_index','NlBKr','getState','title','3047220sKnhVm','add','177864qneCJA','../framework/constants/testFrameworkConstants.js','length','onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20','KEY_TEST_FRAMEWORK_NAME','setState','logger','2391KIrAVr','browserstack_executor:\x20','has','XRBeu','KEY_TEST_ID','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','Error\x20in\x20onBeforeDriverCreate:\x20','dtOTW','__platformCaps','onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20','ICTWo','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','Error\x20in\x20onBeforeQuit:\x20','aTBxH','DUjwb','3635712YpluXd','pDwWe','../TestInfo.js','from','testFrameworkVersion','isLTSSession','setSessionStatus','evaluate','onBeforeQuit:\x20No\x20automation\x20instance\x20available','format','75xKguJH','AUTOMATE_EVENTS','../../../helpers/performance/constants.js','result','onAfterTest\x20CBTSession\x20payload:\x20','wrfeP','hWXEH','executionContext','FRUsb','stringify','shouldSkipSessionName','../state/hookState.js','passed','browserName','testFrameworkName','PqNbC','WieFL','browserstack_executor\x20timeout\x20after\x20','puppeteer_session_id','SESSION_NAME','../state/testFrameworkState','failureMessage','Dhvop','util','oxKFk','PTxUv','zKPkt','isPuppeteer','SESSION_STATUS','POST','FJNgU','testIdentifier','KEY_BROWSER_OBJECT','toString','KEY_PAGE_OBJECT','getHubUrl','MmsKw','ORffx','../state/automationFrameworkState.js','parse','unknown','onBeforeQuit','oytPR','markSessionName','cuyit','shouldSkipSessionStatus','onBeforeDriverCreate','KaAXM','EHjUV','MODULE_NAME','failed','zZPvz','getContext','_driverInitCalledForRef','puppeteerVersion','EmMJt','page','string','8erhByo','onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20','XRJGL','onAfterDriverCreate:\x20Setting\x20browser\x20object','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','hubUrl','puppeteer_browser','onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20','yvGiL','markSessionName:\x20Page\x20object\x20is\x20not\x20available','7764rVqgrp','timedOut','testInfo','arguments','message','launchcaps','test_identifier','../browserstackCLI.js','error','AYCDn','KEY_PLATFORM_INDEX',',\x20skipping\x20duplicate','test','NRhrz','markSessionStatus','registerObserver','testSessionEvent','QUIT','Error\x20in\x20markSessionName:\x20','map','automationSession','../../../helpers/performance/performance-tester.js','race','errorsDetailed','onAfterDriverCreate','aCnvq','getInstance','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20','65fovktu','fullName','getCapabilities','platformIndex','muZbc','puppeteer_hub_url','skipped','recreateIdentifierFromTestInfo','getLTSSessionId','qTFCU','KEY_CAPABILITIES','qpZKM','JhzoN','onAfterTest','../utils/jest-utils.js','__launchCaps','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','name'];a90_0x4b3f=function(){return _0x42e1f1;};return a90_0x4b3f();}(function(_0x17065f,_0x3a54b9){const _0x76a9a9=a90_0x57c7,_0xa1b330=_0x17065f();while(!![]){try{const _0x4d839f=parseInt(_0x76a9a9(0x195))/0x1*(-parseInt(_0x76a9a9(0x178))/0x2)+-parseInt(_0x76a9a9(0xfa))/0x3*(-parseInt(_0x76a9a9(0x160))/0x4)+parseInt(_0x76a9a9(0x1ae))/0x5*(parseInt(_0x76a9a9(0x14e))/0x6)+-parseInt(_0x76a9a9(0x15e))/0x7*(-parseInt(_0x76a9a9(0xf0))/0x8)+-parseInt(_0x76a9a9(0x1a4))/0x9*(parseInt(_0x76a9a9(0x182))/0xa)+parseInt(_0x76a9a9(0x18c))/0xb+parseInt(_0x76a9a9(0x18e))/0xc*(parseInt(_0x76a9a9(0x116))/0xd);if(_0x4d839f===_0x3a54b9)break;else _0xa1b330['push'](_0xa1b330['shift']());}catch(_0x5e45dc){_0xa1b330['push'](_0xa1b330['shift']());}}}(a90_0x4b3f,0xbd55a));const util=require(a90_0x44f1ab(0x1c5)),BaseModule=require('./baseModule'),{createClassLogger}=require(a90_0x44f1ab(0x169)),{getFrameworkVersion}=require(a90_0x44f1ab(0x168)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a90_0x44f1ab(0x15c)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a90_0x44f1ab(0xdc)),HookState=require(a90_0x44f1ab(0x1b9)),{nestedKeyValue,playwrightBstackJsExecutor}=require(a90_0x44f1ab(0x165)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a90_0x44f1ab(0x101)),GrpcClient=require(a90_0x44f1ab(0x128)),PerformanceTester=require(a90_0x44f1ab(0x10f)),PerformanceEvents=require(a90_0x44f1ab(0x1b0))[a90_0x44f1ab(0x1af)],TestInfo=require(a90_0x44f1ab(0x1a6)),{getPlaywrightProvider,getProductForSession}=require(a90_0x44f1ab(0x165)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a90_0x44f1ab(0x18f)),TestFrameworkState=require(a90_0x44f1ab(0x1c2)),JestUtils=require(a90_0x44f1ab(0x124)),TestFramework=require('../framework/testFramework.js');function a90_0x57c7(_0x14cbcb,_0x333b0b){const _0x4b3fa3=a90_0x4b3f();return a90_0x57c7=function(_0x57c7c2,_0x36e742){_0x57c7c2=_0x57c7c2-0xdc;let _0x8a3362=_0x4b3fa3[_0x57c7c2];return _0x8a3362;},a90_0x57c7(_0x14cbcb,_0x333b0b);}class PuppeteerDriverModule extends BaseModule{static [a90_0x44f1ab(0x1ce)]=a90_0x44f1ab(0xf6);static [a90_0x44f1ab(0x1d0)]='puppeteer_page';static ['KEY_SESSION_ID']=a90_0x44f1ab(0x1c0);static ['KEY_PLATFORM_INDEX']=a90_0x44f1ab(0x188);static [a90_0x44f1ab(0x120)]=a90_0x44f1ab(0x154);static ['KEY_HUB_URL']=a90_0x44f1ab(0x11b);static [a90_0x44f1ab(0x146)]='puppeteer_platform_details';static [a90_0x44f1ab(0x199)]='puppeteer_test_id';static ['MODULE_NAME']=a90_0x44f1ab(0x12e);static [a90_0x44f1ab(0xeb)]=new Set();static ['_driverInitRef']=null;[a90_0x44f1ab(0x194)]=createClassLogger(a90_0x44f1ab(0x12e));constructor(_0x2246cf=null){const _0x55178b=a90_0x44f1ab,_0x2dfb26={};_0x2dfb26['ORffx']='7|8|0|2|9|11|5|6|10|1|3|4',_0x2dfb26['ZfFri']=_0x55178b(0x12e);const _0x59bf86=_0x2dfb26,_0x5a3052=_0x59bf86[_0x55178b(0x1d3)][_0x55178b(0x12f)]('|');let _0x4bf37f=0x0;while(!![]){switch(_0x5a3052[_0x4bf37f++]){case'0':this[_0x55178b(0xec)]=null;continue;case'1':AutomationFramework[_0x55178b(0x109)](AutomationFrameworkState['CREATE'],HookState['POST'],this['onAfterDriverCreate'][_0x55178b(0x186)](this));continue;case'2':this[_0x55178b(0x1bb)]=null;continue;case'3':TestFramework[_0x55178b(0x109)](TestFrameworkState[_0x55178b(0x14a)],HookState[_0x55178b(0x1cb)],this[_0x55178b(0x123)][_0x55178b(0x186)](this));continue;case'4':AutomationFramework[_0x55178b(0x109)](AutomationFrameworkState[_0x55178b(0x10b)],HookState[_0x55178b(0x138)],this[_0x55178b(0xdf)]['bind'](this));continue;case'5':this['testRunId']=null;continue;case'6':this[_0x55178b(0x12c)]=new JestUtils();continue;case'7':super(_0x2246cf);continue;case'8':this[_0x55178b(0x127)]=_0x59bf86['ZfFri'];continue;case'9':this[_0x55178b(0x13b)]=null;continue;case'10':AutomationFramework[_0x55178b(0x109)](AutomationFrameworkState[_0x55178b(0x177)],HookState[_0x55178b(0x138)],this['onBeforeDriverCreate'][_0x55178b(0x186)](this));continue;case'11':this['platforms']=[];continue;}break;}}[a90_0x44f1ab(0x17e)](){const _0x723c01=a90_0x44f1ab;return PuppeteerDriverModule[_0x723c01(0xe7)];}async[a90_0x44f1ab(0xe4)](_0x3f7e97){const _0x3cd53a=a90_0x44f1ab,_0x1591ce={};_0x1591ce[_0x3cd53a(0x17f)]=_0x3cd53a(0x19a),_0x1591ce['aTBxH']=_0x3cd53a(0x131),_0x1591ce['VKkNZ']='onAfterDriverCreate:\x20driverInit\x20response\x20received',_0x1591ce[_0x3cd53a(0x121)]='utf8',_0x1591ce[_0x3cd53a(0x113)]=function(_0x2878eb,_0x5bfb72){return _0x2878eb===_0x5bfb72;},_0x1591ce[_0x3cd53a(0x172)]=_0x3cd53a(0x14b),_0x1591ce['JfluS']=function(_0x118948,_0x2884e2){return _0x118948!==_0x2884e2;},_0x1591ce[_0x3cd53a(0x1bd)]=function(_0x45cc85,_0x49f4fd){return _0x45cc85===_0x49f4fd;},_0x1591ce[_0x3cd53a(0x19c)]='string',_0x1591ce[_0x3cd53a(0x11a)]=function(_0xb8ef38,_0x3c93ed){return _0xb8ef38>_0x3c93ed;},_0x1591ce[_0x3cd53a(0x198)]=_0x3cd53a(0x162);const _0x1c53c5=_0x1591ce;try{this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x1c53c5[_0x3cd53a(0x17f)]);const _0x163cb2=_0x3f7e97[_0x3cd53a(0xff)],_0x5ac089=_0x3f7e97[_0x3cd53a(0xf5)];AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x120)],_0x163cb2),AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x134)],_0x5ac089);const _0xc5b4a2=_0x3f7e97['instance'][_0x3cd53a(0x14d)](),_0x338839=global[_0x3cd53a(0x16d)]||0x0;AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x104)],_0x338839);if(PuppeteerDriverModule[_0x3cd53a(0xeb)][_0x3cd53a(0x197)](_0xc5b4a2))this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x3cd53a(0x19e)+_0xc5b4a2+_0x3cd53a(0x105));else{PuppeteerDriverModule[_0x3cd53a(0xeb)][_0x3cd53a(0x18d)](_0xc5b4a2),PuppeteerDriverModule[_0x3cd53a(0x163)]=_0xc5b4a2;const _0x58e9dd={..._0x163cb2};_0x58e9dd[_0x3cd53a(0x1c9)]=!![];const _0xfd96a0=Buffer['from'](JSON[_0x3cd53a(0x1b7)](_0x58e9dd)['toString'](_0x1c53c5[_0x3cd53a(0x1a2)])),_0x36b6e7={};_0x36b6e7[_0x3cd53a(0x119)]=_0x338839,_0x36b6e7['ref']=_0xc5b4a2,_0x36b6e7[_0x3cd53a(0x164)]=_0xfd96a0,_0x36b6e7[_0x3cd53a(0xf5)]=_0x5ac089;const _0x525aa0=await GrpcClient[_0x3cd53a(0x114)]()[_0x3cd53a(0x17c)](_0x36b6e7);this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x1c53c5['VKkNZ']);if(_0x525aa0)try{const _0x3b7785=_0x525aa0[_0x3cd53a(0x118)]?_0x525aa0['getCapabilities']():_0x525aa0['capabilities'];if(_0x3b7785){let _0x526705;if(Buffer[_0x3cd53a(0x132)](_0x3b7785))_0x526705=JSON[_0x3cd53a(0xdd)](_0x3b7785[_0x3cd53a(0x1cf)](_0x1c53c5['qpZKM']));else{if(_0x1c53c5[_0x3cd53a(0x113)](typeof _0x3b7785,_0x1c53c5[_0x3cd53a(0x172)])&&_0x1c53c5[_0x3cd53a(0x142)](_0x3b7785,null)){const _0x591558=Buffer['from'](Object[_0x3cd53a(0x161)](_0x3b7785));_0x526705=JSON['parse'](_0x591558[_0x3cd53a(0x1cf)](_0x1c53c5['qpZKM']));}else _0x1c53c5[_0x3cd53a(0x1bd)](typeof _0x3b7785,_0x1c53c5['dtOTW'])?_0x526705=JSON[_0x3cd53a(0xdd)](_0x3b7785):_0x526705=_0x3b7785;}this['logger'][_0x3cd53a(0x16a)](_0x3cd53a(0x191)+JSON[_0x3cd53a(0x1b7)](_0x526705)),_0x526705&&_0x1c53c5[_0x3cd53a(0x11a)](Object[_0x3cd53a(0x13f)](_0x526705)['length'],0x0)&&(AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule['KEY_CAPABILITIES'],_0x526705),global['__launchCaps']=_0x526705,this['logger'][_0x3cd53a(0x16a)](_0x1c53c5[_0x3cd53a(0x198)]));}const _0x5a1e28=_0x525aa0[_0x3cd53a(0x1d1)]?_0x525aa0['getHubUrl']():_0x525aa0[_0x3cd53a(0xf5)];_0x5a1e28&&AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x134)],_0x5a1e28);}catch(_0x63c0d0){this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x3cd53a(0x152)+util[_0x3cd53a(0x1ad)](_0x63c0d0));}}}catch(_0x153ef3){this['logger']['error'](_0x3cd53a(0x19b)+util[_0x3cd53a(0x1ad)](_0x153ef3));}}async[a90_0x44f1ab(0x112)](_0x34cc77){const _0x4dcec7=a90_0x44f1ab,_0x49e655={'cuyit':function(_0x44f902,_0x4de4ec){return _0x44f902(_0x4de4ec);},'eyUkz':_0x4dcec7(0x15d),'BeMBA':_0x4dcec7(0x1a0),'fcXzv':'onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','EmMJt':_0x4dcec7(0xf3),'qTFCU':function(_0x3a2f82,_0x40605f){return _0x3a2f82>_0x40605f;},'oytPR':_0x4dcec7(0xf4),'KaAXM':_0x4dcec7(0x181),'PTxUv':function(_0x5a080a,_0x2f0de8){return _0x5a080a===_0x2f0de8;},'UFmuB':_0x4dcec7(0xef)};try{this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x4dcec7(0xf7)+JSON[_0x4dcec7(0x1b7)](_0x34cc77));const _0x58ee78=_0x34cc77['instance'];this[_0x4dcec7(0xec)]=_0x49e655[_0x4dcec7(0xe2)](getFrameworkVersion,FRAMEWORKS[_0x4dcec7(0x174)]);_0x34cc77[_0x4dcec7(0xee)]&&(this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x49e655[_0x4dcec7(0x158)]),AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule['KEY_PAGE_OBJECT'],_0x34cc77['page']),_0x34cc77[_0x4dcec7(0xfc)]?(this[_0x4dcec7(0x194)]['debug'](_0x49e655['BeMBA']),AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x199)],_0x34cc77[_0x4dcec7(0xfc)]['id']||''),await this[_0x4dcec7(0xe1)](_0x58ee78,_0x34cc77[_0x4dcec7(0xfc)])):this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x49e655['fcXzv']));if(_0x34cc77[_0x4dcec7(0x156)]){this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x49e655[_0x4dcec7(0xed)]),AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule['KEY_BROWSER_OBJECT'],_0x34cc77['browser']);global['__launchCaps']&&_0x49e655[_0x4dcec7(0x11f)](Object[_0x4dcec7(0x13f)](global[_0x4dcec7(0x125)])[_0x4dcec7(0x190)],0x0)&&(AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x120)],global[_0x4dcec7(0x125)]),this[_0x4dcec7(0x194)]['debug'](_0x49e655[_0x4dcec7(0xe0)]));if(_0x34cc77[_0x4dcec7(0x183)])AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x173)],_0x34cc77[_0x4dcec7(0x183)]),this['logger'][_0x4dcec7(0x16a)]('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20'+_0x34cc77[_0x4dcec7(0x183)]);else{if(global['__bstackSessionId'])AutomationFramework['setState'](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x173)],global[_0x4dcec7(0x185)]),this[_0x4dcec7(0x194)]['debug']('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20'+global[_0x4dcec7(0x185)]);else try{const _0x18323c=_0x34cc77[_0x4dcec7(0xee)]||AutomationFramework[_0x4dcec7(0x18a)](_0x58ee78,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(_0x18323c){const _0x41a4a2=await _0x18323c[_0x4dcec7(0x1ab)](_0x54450d=>{},_0x49e655[_0x4dcec7(0xe5)]);if(_0x41a4a2){const _0x38700a=_0x49e655[_0x4dcec7(0x1c7)](typeof _0x41a4a2,_0x49e655['UFmuB'])?JSON[_0x4dcec7(0xdd)](_0x41a4a2):_0x41a4a2;_0x38700a&&_0x38700a[_0x4dcec7(0x141)]&&(AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule['KEY_SESSION_ID'],_0x38700a[_0x4dcec7(0x141)]),global[_0x4dcec7(0x185)]=_0x38700a['hashed_id'],this[_0x4dcec7(0x194)]['debug'](_0x4dcec7(0xf1)+_0x38700a[_0x4dcec7(0x141)]));}}}catch(_0x321aac){this[_0x4dcec7(0x194)]['debug'](_0x4dcec7(0x16f)+util[_0x4dcec7(0x1ad)](_0x321aac));if(_0x34cc77[_0x4dcec7(0x156)][_0x4dcec7(0x15f)]&&_0x34cc77[_0x4dcec7(0x156)][_0x4dcec7(0x15f)][_0x4dcec7(0x150)])try{const _0x1e78fd=_0x34cc77[_0x4dcec7(0x156)][_0x4dcec7(0x15f)]['_url'];AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x173)],_0x1e78fd),this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x4dcec7(0x115)+_0x1e78fd);}catch(_0x310669){this[_0x4dcec7(0x194)]['debug']('onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20'+util[_0x4dcec7(0x1ad)](_0x310669));}}}}}catch(_0x1ea9b3){this['logger'][_0x4dcec7(0x102)](_0x4dcec7(0x133)+util[_0x4dcec7(0x1ad)](_0x1ea9b3));}}async['onAfterTest'](_0x44c6f9){const _0x4407a1=a90_0x44f1ab,_0x2ae6ab={'VJKAZ':_0x4407a1(0x135),'mbaeN':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','EHjUV':_0x4407a1(0xde),'WLJkV':'Unknown\x20Test','FRUsb':function(_0x3fa08f,_0x232a29){return _0x3fa08f>_0x232a29;},'eYipp':function(_0x267222,_0x4729d5){return _0x267222===_0x4729d5;},'vtsJZ':_0x4407a1(0x1ba),'FJNgU':function(_0x38000b,_0x12658f){return _0x38000b===_0x12658f;},'MmsKw':_0x4407a1(0xe8),'KxTGp':function(_0x12d400,_0x458393){return _0x12d400===_0x458393;},'bJkLJ':_0x4407a1(0x17a),'oxKFk':function(_0x5b82f1,_0x46154d){return _0x5b82f1===_0x46154d;},'wrfeP':_0x4407a1(0xfb),'zZPvz':function(_0x81659f,_0x5527b7){return _0x81659f===_0x5527b7;},'ICTWo':_0x4407a1(0x11c),'AYCDn':function(_0x41cc93,_0x36476e){return _0x41cc93===_0x36476e;},'Dhvop':_0x4407a1(0x12b),'JhzoN':function(_0x317975,_0x4c149d){return _0x317975(_0x4c149d);},'DUjwb':_0x4407a1(0x155),'NRhrz':function(_0x2a6616){return _0x2a6616();},'WieFL':function(_0xc1d141,_0x452ade){return _0xc1d141>_0x452ade;},'hWXEH':'base64','ckDQH':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','wHwxd':_0x4407a1(0x17d)};this['logger'][_0x4407a1(0x16a)](_0x2ae6ab[_0x4407a1(0x147)]);const _0x9705ad=_0x44c6f9[_0x4407a1(0x13a)];if(!_0x9705ad){this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x2ae6ab['mbaeN']);return;}try{const _0x5e2c1e=_0x44c6f9[_0x4407a1(0xfc)],_0x1d0b9e=_0x44c6f9[_0x4407a1(0x106)];let _0x244574=_0x44c6f9[_0x4407a1(0x1cd)],_0x3b1791=_0x2ae6ab[_0x4407a1(0xe6)],_0x57d889=_0x2ae6ab[_0x4407a1(0x144)],_0x84c12a=null;_0x5e2c1e&&(_0x3b1791=_0x5e2c1e['status']||_0x1d0b9e?.[_0x4407a1(0x1b1)]||_0x2ae6ab['EHjUV'],_0x57d889=_0x5e2c1e[_0x4407a1(0x127)]||_0x5e2c1e[_0x4407a1(0x18b)]||_0x1d0b9e?.[_0x4407a1(0x127)]||_0x1d0b9e?.['title']||_0x2ae6ab[_0x4407a1(0x144)],_0x84c12a=_0x5e2c1e[_0x4407a1(0x1c3)]||_0x5e2c1e[_0x4407a1(0x102)]?.[_0x4407a1(0xfe)]||null,_0x1d0b9e?.[_0x4407a1(0x111)]&&_0x2ae6ab[_0x4407a1(0x1b6)](_0x1d0b9e[_0x4407a1(0x111)][_0x4407a1(0x190)],0x0)&&(_0x84c12a=_0x84c12a||_0x1d0b9e['errorsDetailed'][_0x4407a1(0x10d)](_0x511ea5=>_0x511ea5[_0x4407a1(0xfe)]||_0x511ea5)[_0x4407a1(0x145)]('\x0a')));let _0xfc49a8=null;if(_0x2ae6ab[_0x4407a1(0x139)](_0x3b1791,_0x2ae6ab['vtsJZ']))_0xfc49a8=_0x2ae6ab[_0x4407a1(0x149)];else{if(_0x2ae6ab[_0x4407a1(0x1cc)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x1d2)])||_0x2ae6ab['KxTGp'](_0x3b1791,_0x2ae6ab['bJkLJ'])||_0x2ae6ab[_0x4407a1(0x1c6)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x1b3)]))_0xfc49a8=_0x2ae6ab[_0x4407a1(0x1d2)];else(_0x2ae6ab[_0x4407a1(0xe9)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x19f)])||_0x2ae6ab[_0x4407a1(0x103)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x1c4)]))&&(_0xfc49a8=_0x2ae6ab[_0x4407a1(0x19f)]);}this[_0x4407a1(0x140)]&&_0x2ae6ab[_0x4407a1(0x103)](this['testFrameworkData'][_0x4407a1(0x127)],FRAMEWORKS[_0x4407a1(0x184)])?(_0x244574=this[_0x4407a1(0x12c)][_0x4407a1(0x11d)](_0x5e2c1e,_0x244574),this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x4407a1(0x153)+_0x244574)):_0x244574=_0x1d0b9e?.['id']||_0x1d0b9e?.[_0x4407a1(0x16b)]||process[_0x4407a1(0x175)]+_0x4407a1(0x167);const _0x1ebb6c=TestInfo[_0x4407a1(0x129)](_0x244574),_0x2de6d5=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x104)])||global['__bstackPlatformIndex'],_0x384fc5=_0x1ebb6c?.[TestFrameworkConstants[_0x4407a1(0x192)]]||this['testFrameworkData']&&this['testFrameworkData']['name'],_0x2ebbd7=_0x1ebb6c?.[TestFrameworkConstants[_0x4407a1(0x16c)]]||this[_0x4407a1(0x140)]&&this[_0x4407a1(0x140)][_0x4407a1(0x159)],_0x6d8e88=TestFrameworkState[_0x4407a1(0x14a)]['toString']()[_0x4407a1(0x12f)]('.')[0x1],_0xabb018=HookState[_0x4407a1(0x1cb)]['toString']()[_0x4407a1(0x12f)]('.')[0x1],_0x41f761=_0x9705ad[_0x4407a1(0xea)](),_0x101eca=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x134)],'')||BrowserstackCLI[_0x4407a1(0x114)]()['getConfig']()?.['hubUrl']||'',_0x51f8e2=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x173)],'')||global[_0x4407a1(0x185)]||'',_0x1022e4={'provider':_0x2ae6ab[_0x4407a1(0x122)](getPlaywrightProvider,_0x101eca),'frameworkName':_0x2ae6ab[_0x4407a1(0x1a3)],'frameworkVersion':this[_0x4407a1(0xec)]||'','frameworkSessionId':LoadTestModule[_0x4407a1(0x1a9)]()?LoadTestModule[_0x4407a1(0x11e)]():_0x51f8e2,'ref':PuppeteerDriverModule[_0x4407a1(0x163)]||_0x9705ad['getRef'](),'hubUrl':_0x101eca,'product':_0x2ae6ab[_0x4407a1(0x107)](getProductForSession)};let _0x14ba1a=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x120)],null)||global[_0x4407a1(0x125)]||global[_0x4407a1(0x19d)]||{};_0x14ba1a&&_0x2ae6ab[_0x4407a1(0x1be)](Object[_0x4407a1(0x13f)](_0x14ba1a)[_0x4407a1(0x190)],0x0)?_0x14ba1a=Buffer['from'](JSON['stringify'](_0x14ba1a))[_0x4407a1(0x1cf)](_0x2ae6ab[_0x4407a1(0x1b4)]):_0x14ba1a=Buffer[_0x4407a1(0x1a7)](JSON[_0x4407a1(0x1b7)]({}))[_0x4407a1(0x1cf)](_0x2ae6ab['hWXEH']);const _0x22c906={'hash':_0x41f761['getId'](),'threadId':_0x41f761['getThreadId']()[_0x4407a1(0x1cf)](),'processId':_0x41f761['getProcessId']()[_0x4407a1(0x1cf)]()},_0x34fd5d={};_0x34fd5d[_0x4407a1(0x119)]=_0x2de6d5,_0x34fd5d[_0x4407a1(0x1bc)]=_0x384fc5,_0x34fd5d[_0x4407a1(0x1a8)]=_0x2ebbd7,_0x34fd5d[_0x4407a1(0x157)]=_0x6d8e88,_0x34fd5d[_0x4407a1(0x130)]=_0xabb018,_0x34fd5d[_0x4407a1(0x100)]=_0x244574,_0x34fd5d[_0x4407a1(0x10e)]=_0x1022e4,_0x34fd5d[_0x4407a1(0x148)]=_0x14ba1a,_0x34fd5d[_0x4407a1(0x1b5)]=_0x22c906;const _0x5e6f01=_0x34fd5d;this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x4407a1(0x1b2)+util[_0x4407a1(0x1ad)](_0x5e6f01)),GrpcClient[_0x4407a1(0x114)]()[_0x4407a1(0x10a)](_0x5e6f01),this[_0x4407a1(0x194)][_0x4407a1(0x16a)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20'+_0x244574);if(!_0xfc49a8){this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x2ae6ab['ckDQH'],_0x3b1791);return;}this['logger'][_0x4407a1(0x16a)](_0x2ae6ab[_0x4407a1(0x14c)]),_0x5e2c1e&&await this['markSessionName'](_0x9705ad,_0x5e2c1e),await this[_0x4407a1(0x108)](_0x9705ad,_0x57d889,_0xfc49a8,_0x84c12a);}catch(_0x4dcb21){this[_0x4407a1(0x194)][_0x4407a1(0x102)](_0x4407a1(0x170)+util[_0x4407a1(0x1ad)](_0x4dcb21));}}async[a90_0x44f1ab(0xdf)](_0x445355){const _0x52e8e0=a90_0x44f1ab,_0x4a55c7={};_0x4a55c7['NlBKr']=_0x52e8e0(0x179),_0x4a55c7[_0x52e8e0(0x187)]=_0x52e8e0(0x1ac),_0x4a55c7[_0x52e8e0(0x166)]=_0x52e8e0(0x13d);const _0x1db1c3=_0x4a55c7;try{this[_0x52e8e0(0x194)][_0x52e8e0(0x16a)](_0x1db1c3[_0x52e8e0(0x189)]);const _0x335af0=_0x445355[_0x52e8e0(0x13a)];if(!_0x335af0){this['logger'][_0x52e8e0(0x16a)](_0x1db1c3[_0x52e8e0(0x187)]);return;}AutomationFramework[_0x52e8e0(0x193)](_0x335af0,PuppeteerDriverModule[_0x52e8e0(0x1d0)],null),AutomationFramework['setState'](_0x335af0,PuppeteerDriverModule[_0x52e8e0(0x1ce)],null),this[_0x52e8e0(0x194)][_0x52e8e0(0x16a)](_0x1db1c3[_0x52e8e0(0x166)]);}catch(_0x82a5e9){this[_0x52e8e0(0x194)][_0x52e8e0(0x102)](_0x52e8e0(0x1a1)+util[_0x52e8e0(0x1ad)](_0x82a5e9));}}async[a90_0x44f1ab(0xe1)](_0x185766,_0x8f31){const _0x1c764d=a90_0x44f1ab,_0x46000d={};_0x46000d[_0x1c764d(0x15a)]=_0x1c764d(0x171),_0x46000d[_0x1c764d(0x16e)]=_0x1c764d(0xf9),_0x46000d[_0x1c764d(0xf8)]='setSessionName';const _0x5e32ee=_0x46000d;try{if(CLIUtils[_0x1c764d(0x1b8)](BrowserstackCLI[_0x1c764d(0x114)]()[_0x1c764d(0x14f)]())){this[_0x1c764d(0x194)][_0x1c764d(0x16a)](_0x5e32ee[_0x1c764d(0x15a)]);return;}const _0x3971f9=AutomationFramework['getState'](_0x185766,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(!_0x3971f9){this['logger'][_0x1c764d(0x16a)](_0x5e32ee['toXsh']);return;}const _0x2e55ae=_0x8f31[_0x1c764d(0x127)]||_0x8f31['title']||_0x8f31[_0x1c764d(0x117)],_0x432359={};_0x432359['name']=_0x2e55ae;const _0x49ca9f={};_0x49ca9f[_0x1c764d(0x137)]=_0x5e32ee[_0x1c764d(0xf8)],_0x49ca9f['arguments']=_0x432359;const _0x549a42=_0x49ca9f;PerformanceTester[_0x1c764d(0x180)](PerformanceEvents['SESSION_NAME']),await this['puppeteerBstackExecutor'](_0x3971f9,_0x549a42),PerformanceTester[_0x1c764d(0x13c)](PerformanceEvents[_0x1c764d(0x1c1)]);}catch(_0x34e963){PerformanceTester[_0x1c764d(0x13c)](PerformanceEvents[_0x1c764d(0x1c1)],![],util[_0x1c764d(0x1ad)](_0x34e963)),this['logger'][_0x1c764d(0x102)](_0x1c764d(0x10c)+util[_0x1c764d(0x1ad)](_0x34e963));}}async['markSessionStatus'](_0x375f60,_0x39c889,_0x5e0c11,_0xb272c){const _0x16b3d9=a90_0x44f1ab,_0x1185f0={};_0x1185f0[_0x16b3d9(0x17b)]='markSessionStatus:\x20Skipping\x20session\x20status\x20marking',_0x1185f0[_0x16b3d9(0x1a5)]=_0x16b3d9(0x151),_0x1185f0[_0x16b3d9(0x143)]='markSessionStatus:\x20Page\x20object\x20is\x20not\x20available',_0x1185f0['wFUAE']=_0x16b3d9(0x126),_0x1185f0[_0x16b3d9(0xf2)]=_0x16b3d9(0x1aa),_0x1185f0['GuhFY']=_0x16b3d9(0x136),_0x1185f0[_0x16b3d9(0x1c8)]='markSessionStatus:\x20Marking\x20session\x20status';const _0x30d74e=_0x1185f0;if(CLIUtils[_0x16b3d9(0xe3)](BrowserstackCLI[_0x16b3d9(0x114)]()[_0x16b3d9(0x14f)]())){this[_0x16b3d9(0x194)]['debug'](_0x30d74e[_0x16b3d9(0x17b)]);return;}const _0x41890b=_0x375f60;if(!_0x41890b){this[_0x16b3d9(0x194)][_0x16b3d9(0x16a)](_0x30d74e[_0x16b3d9(0x1a5)]);return;}const _0x5b3fb9=AutomationFramework['getState'](_0x41890b,PuppeteerDriverModule[_0x16b3d9(0x1d0)]);if(!_0x5b3fb9){this[_0x16b3d9(0x194)][_0x16b3d9(0x16a)](_0x30d74e['goXoD']);return;}if(!_0x5e0c11){this[_0x16b3d9(0x194)][_0x16b3d9(0x16a)](_0x30d74e[_0x16b3d9(0x12d)],_0x5e0c11);return;}const _0x122c43={};_0x122c43['status']=_0x5e0c11;const _0xebb676={};_0xebb676[_0x16b3d9(0x137)]=_0x30d74e[_0x16b3d9(0xf2)],_0xebb676['arguments']=_0x122c43;const _0x45e513=_0xebb676;_0xb272c&&(_0x45e513[_0x16b3d9(0xfd)][_0x30d74e['GuhFY']]=_0xb272c),PerformanceTester[_0x16b3d9(0x180)](PerformanceEvents[_0x16b3d9(0x1ca)]),this['logger'][_0x16b3d9(0x16a)](_0x30d74e[_0x16b3d9(0x1c8)]),await this[_0x16b3d9(0x15b)](_0x5b3fb9,_0x45e513),PerformanceTester[_0x16b3d9(0x13c)](PerformanceEvents[_0x16b3d9(0x1ca)]);}async['puppeteerBstackExecutor'](_0x2b70cb,_0x367d12){const _0x50cf01=a90_0x44f1ab,_0x4f8134={'EWKav':function(_0x5101c4,_0x30d231,_0x26cd8a){return _0x5101c4(_0x30d231,_0x26cd8a);},'iuuXh':function(_0x5d43a8,_0x1d403f){return _0x5d43a8(_0x1d403f);}};try{const _0x1dd7f7=0x3a98,_0x3e3087=_0x50cf01(0x196)+JSON[_0x50cf01(0x1b7)](_0x367d12),_0x1f2e47=_0x2b70cb['evaluate'](_0x348c90=>{},_0x3e3087);let _0x4f30ca;await Promise[_0x50cf01(0x110)]([_0x1f2e47,new Promise((_0x55895e,_0x4ab23b)=>{const _0x25e35f=_0x50cf01;_0x4f30ca=_0x4f8134['EWKav'](setTimeout,()=>_0x4ab23b(new Error(_0x25e35f(0x1bf)+_0x1dd7f7+'ms')),_0x1dd7f7);})])[_0x50cf01(0x176)](()=>{const _0x1311d7=_0x50cf01;_0x4f8134[_0x1311d7(0x13e)](clearTimeout,_0x4f30ca);});}catch(_0x28505a){this['logger'][_0x50cf01(0x16a)](_0x50cf01(0x12a)+(_0x28505a[_0x50cf01(0xfe)]||_0x28505a));}}}module['exports']=PuppeteerDriverModule;
@@ -1 +1 @@
1
- function a91_0x4f26(){const _0x451dcc=['onPageCreate\x20CBTSession\x20payload:\x20','TestHubModule','./baseModule','hookState','instance','testFrameworkEvent','KEY_SESSION_ID','332802KWoXli','POST','version','retry','onPageCreate','from',',\x20test_identifier:\x20','323130tCbAWe','../TestInfo.js','../state/testFrameworkState.js','forEach','length','8835PxFQty','5|3|0|4|8|7|1|2|6','getId','JEST','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','109919UWoURx','page','getThreadId','KEY_TEST_FRAMEWORK_VERSION','./loadTestModule.js','getModuleName','BROWSERSTACK_TESTHUB_UUID','getState','registerObserver','getTestId','FRlOu','recreateIdentifierFromTestInfo','getContext','Error\x20in\x20sendTestFrameworkEvent:\x20','../browserstackCLI.js','toString','63JEynoj','Vafyp','testUuid','sendTestFrameworkEvent','IGkkV','createTestFrameworkEventPayload','../framework/testFramework.js','testInfo','KEY_CAPABILITIES','QJAkl','frameworkName','KEY_TEST_FRAMEWORK_NAME','Zpkth','util','CREATE','MODULE_NAME','../../../helpers/helper.js','testhubConfig','bind','testFrameworkState','TEST','../state/automationFrameworkState.js','VNZof','name','xAnzV','7hNKQms','getBuildHashedId','values','WgMlp','../cliUtils.js','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','getLTSSessionId','KEY_PLATFORM_INDEX','Error\x20in\x20sending\x20CBTSession:\x20','error','./playwrightDriverModule.js','stringify','jestUtils','645800LjlnXV','getJwt','test_identifier','ENV_VAR','getProcessId','keys','../grpcClient.js','\x20hookState:\x20','exports','getInstance','./puppeteerDriverModule.js','133686TJBCsE','../framework/automationFramework.js','testSessionEvent','KEY_TEST_DEFERRED','getTestUUID','getRef','KEY_HUB_URL','frameworkVersion','debug','CUCUMBER','../../../helpers/testhub/constants','oOYSN','../state/hookState.js','split','onAllTestEvents','testFrameworkData','test_deferred','684610AyvOeA','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','8aYJBuV','format','pHjbP','logger','getTestIdentifierFromTestInfo'];a91_0x4f26=function(){return _0x451dcc;};return a91_0x4f26();}const a91_0x18bcf1=a91_0x5326;function a91_0x5326(_0x59200d,_0x31cf37){const _0x4f2692=a91_0x4f26();return a91_0x5326=function(_0x5326ed,_0x3f1087){_0x5326ed=_0x5326ed-0xab;let _0x377dd6=_0x4f2692[_0x5326ed];return _0x377dd6;},a91_0x5326(_0x59200d,_0x31cf37);}(function(_0x10d1ff,_0x4991db){const _0x5b67ce=a91_0x5326,_0x48a1de=_0x10d1ff();while(!![]){try{const _0x5e9516=parseInt(_0x5b67ce(0xf0))/0x1+parseInt(_0x5b67ce(0xc0))/0x2+-parseInt(_0x5b67ce(0xeb))/0x3*(parseInt(_0x5b67ce(0xd3))/0x4)+-parseInt(_0x5b67ce(0xd1))/0x5+parseInt(_0x5b67ce(0xdf))/0x6*(-parseInt(_0x5b67ce(0x119))/0x7)+-parseInt(_0x5b67ce(0xb5))/0x8+-parseInt(_0x5b67ce(0x100))/0x9*(-parseInt(_0x5b67ce(0xe6))/0xa);if(_0x5e9516===_0x4991db)break;else _0x48a1de['push'](_0x48a1de['shift']());}catch(_0x525d56){_0x48a1de['push'](_0x48a1de['shift']());}}}(a91_0x4f26,0x1e42d));const util=require(a91_0x18bcf1(0x10d)),BaseModule=require(a91_0x18bcf1(0xda)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a91_0x18bcf1(0xc1)),AutomationFrameworkState=require(a91_0x18bcf1(0x115)),HookState=require(a91_0x18bcf1(0xcc)),TestFramework=require(a91_0x18bcf1(0x106)),TestFrameworkState=require(a91_0x18bcf1(0xe8)),PlaywrightDriverModule=require(a91_0x18bcf1(0xb2)),PuppeteerDriverModule=require(a91_0x18bcf1(0xbf)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a91_0x18bcf1(0xbb)),CLIUtils=require(a91_0x18bcf1(0xab)),TestInfo=require(a91_0x18bcf1(0xe7)),testHubConstants=require(a91_0x18bcf1(0xca)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js'),helper=require('../../../helpers/helper.js'),LoadTestModule=require(a91_0x18bcf1(0xf4)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a91_0x18bcf1(0xfe)),{getPlaywrightProvider,getProductForSession}=require(a91_0x18bcf1(0x110));class TestHubModule extends BaseModule{['logger']=createClassLogger(a91_0x18bcf1(0xd9));constructor(_0x5b50fe,_0x15e129=null){const _0x5ccf42=a91_0x18bcf1,_0x28d0d6={};_0x28d0d6[_0x5ccf42(0x101)]=_0x5ccf42(0xec),_0x28d0d6[_0x5ccf42(0x116)]=_0x5ccf42(0xd9);const _0x219d9d=_0x28d0d6,_0x41d879=_0x219d9d[_0x5ccf42(0x101)][_0x5ccf42(0xcd)]('|');let _0x3bf203=0x0;while(!![]){switch(_0x41d879[_0x3bf203++]){case'0':this[_0x5ccf42(0x111)]=_0x5b50fe;continue;case'1':process['env'][testHubConstants[_0x5ccf42(0xb8)]['BROWSERSTACK_TESTHUB_JWT']]=this[_0x5ccf42(0x111)][_0x5ccf42(0xb6)]();continue;case'2':process['env'][testHubConstants['ENV_VAR'][_0x5ccf42(0xf6)]]=this['testhubConfig'][_0x5ccf42(0x11a)]();continue;case'3':this[_0x5ccf42(0x117)]=_0x219d9d[_0x5ccf42(0x116)];continue;case'4':this[_0x5ccf42(0xb4)]=new JestUtils();continue;case'5':super(_0x15e129);continue;case'6':BrowserstackCLI['O11yHashedID']=this[_0x5ccf42(0x111)][_0x5ccf42(0x11a)]();continue;case'7':Object['values'](TestFrameworkState)[_0x5ccf42(0xe9)](_0xac2889=>{const _0xb99fe7=_0x5ccf42;Object[_0xb99fe7(0x11b)](HookState)[_0xb99fe7(0xe9)](_0x571c59=>{const _0x5a7cf4=_0xb99fe7;TestFramework[_0x5a7cf4(0xf8)](_0xac2889,_0x571c59,this[_0x5a7cf4(0xce)][_0x5a7cf4(0x112)](this));});});continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5ccf42(0x10e)],HookState['POST'],this[_0x5ccf42(0xe3)][_0x5ccf42(0x112)](this));continue;}break;}}[a91_0x18bcf1(0xf5)](){return TestHubModule['MODULE_NAME'];}[a91_0x18bcf1(0xce)](_0x4c7e42){const _0x40d1ea=a91_0x18bcf1,_0x44872c={};_0x44872c[_0x40d1ea(0x118)]=function(_0x5b233c,_0x1ce20d){return _0x5b233c===_0x1ce20d;};const _0x3b8ba9=_0x44872c,_0x3053fb=_0x4c7e42[_0x40d1ea(0xdc)],_0x34c647=_0x3053fb['getCurrentTestState']();(_0x3b8ba9['xAnzV'](_0x34c647,TestFrameworkState[_0x40d1ea(0x114)])||CLIUtils['matchHookRegex'](_0x34c647[_0x40d1ea(0xff)]()[_0x40d1ea(0xcd)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x4c7e42);}async[a91_0x18bcf1(0x103)](_0x298159){const _0x21fb00=a91_0x18bcf1,_0x5d35fe={};_0x5d35fe['AoTdF']=function(_0x301699,_0x2db676){return _0x301699===_0x2db676;},_0x5d35fe[_0x21fb00(0x10c)]=_0x21fb00(0xad);const _0x3046c7=_0x5d35fe;try{const _0x75221c=BrowserstackCLI[_0x21fb00(0xbe)]()['getTestFramework']()[_0x21fb00(0x105)](_0x298159);if(!_0x75221c||_0x3046c7['AoTdF'](Object[_0x21fb00(0xba)](_0x75221c)[_0x21fb00(0xea)],0x0)){this[_0x21fb00(0xd6)][_0x21fb00(0xc8)](_0x3046c7['Zpkth']);return;}const _0x2e5d94=await GrpcClient[_0x21fb00(0xbe)]()[_0x21fb00(0xdd)](_0x75221c);this['logger'][_0x21fb00(0xc8)](_0x21fb00(0xef)+_0x75221c[_0x21fb00(0x113)]+_0x21fb00(0xbc)+_0x75221c[_0x21fb00(0xdb)]);}catch(_0x4d1570){this[_0x21fb00(0xd6)][_0x21fb00(0xb1)](_0x21fb00(0xfd)+util[_0x21fb00(0xd4)](_0x4d1570));}}async[a91_0x18bcf1(0xe3)](_0x1a41ab){const _0x57d09e=a91_0x18bcf1,_0x2c9b01={'IGkkV':function(_0x16dda3,_0x352c8e){return _0x16dda3===_0x352c8e;},'FRlOu':'onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','WgMlp':function(_0x4df8bc,_0x4dc7b9){return _0x4df8bc===_0x4dc7b9;},'oOYSN':function(_0x4ccd35,_0x5dd95c){return _0x4ccd35===_0x5dd95c;},'grtNS':function(_0x115674,_0x26798b){return _0x115674(_0x26798b);},'pHjbP':function(_0x11e7ab){return _0x11e7ab();},'QJAkl':'base64'};try{if(_0x1a41ab[_0x57d09e(0xf1)]){const _0x32771a=this[_0x57d09e(0xf9)](_0x1a41ab);this['logger']['debug'](_0x57d09e(0xac)+_0x32771a);if(this[_0x57d09e(0xcf)]&&_0x2c9b01[_0x57d09e(0x104)](this[_0x57d09e(0xcf)][_0x57d09e(0x117)],FRAMEWORKS[_0x57d09e(0xee)])&&!_0x1a41ab[_0x57d09e(0x107)]){this[_0x57d09e(0xd6)][_0x57d09e(0xc8)](_0x2c9b01[_0x57d09e(0xfa)]);return;}let _0x513db2,_0x5a9282;if(this['testFrameworkData']&&_0x2c9b01[_0x57d09e(0x11c)](this[_0x57d09e(0xcf)][_0x57d09e(0x117)],FRAMEWORKS[_0x57d09e(0xc9)]))_0x513db2=_0x32771a,_0x5a9282=TestInfo[_0x57d09e(0xc4)](_0x513db2);else this[_0x57d09e(0xcf)]&&_0x2c9b01[_0x57d09e(0xcb)](this['testFrameworkData'][_0x57d09e(0x117)],FRAMEWORKS[_0x57d09e(0xee)])?(_0x513db2=this['jestUtils'][_0x57d09e(0xfb)](_0x1a41ab['testInfo']),this[_0x57d09e(0xd6)][_0x57d09e(0xc8)](_0x57d09e(0xd2)+_0x513db2)):(_0x513db2=TestInfo[_0x57d09e(0xd7)](_0x1a41ab['testInfo'],_0x1a41ab['testInfo'][_0x57d09e(0xe2)]),_0x5a9282=TestInfo[_0x57d09e(0xc4)](_0x513db2));const _0x53edf4=TestInfo['getTestDetails'](_0x513db2),_0x2be826=_0x1a41ab[_0x57d09e(0xdc)],_0x11f151=AutomationFramework['getState'](_0x2be826,PlaywrightDriverModule[_0x57d09e(0xaf)])||AutomationFramework[_0x57d09e(0xf7)](_0x2be826,PuppeteerDriverModule[_0x57d09e(0xaf)]),_0x17f8ec=_0x53edf4?.[TestFrameworkConstants[_0x57d09e(0x10b)]]||this['testFrameworkData']&&this[_0x57d09e(0xcf)][_0x57d09e(0x117)],_0x177149=_0x53edf4?.[TestFrameworkConstants[_0x57d09e(0xf3)]]||this[_0x57d09e(0xcf)]&&this[_0x57d09e(0xcf)][_0x57d09e(0xe1)],_0xa704d0=TestFrameworkState[_0x57d09e(0x114)]['toString']()[_0x57d09e(0xcd)]('.')[0x1],_0x456875=HookState[_0x57d09e(0xe0)][_0x57d09e(0xff)]()[_0x57d09e(0xcd)]('.')[0x1],_0x21d80e=_0x2be826[_0x57d09e(0xfc)](),_0x20afb2=AutomationFramework['getState'](_0x2be826,PlaywrightDriverModule[_0x57d09e(0xc6)],'')||AutomationFramework[_0x57d09e(0xf7)](_0x2be826,PuppeteerDriverModule[_0x57d09e(0xc6)],''),_0x3803ac=LoadTestModule['isLTSSession']()?LoadTestModule[_0x57d09e(0xae)]():AutomationFramework[_0x57d09e(0xf7)](_0x2be826,PlaywrightDriverModule[_0x57d09e(0xde)],'')||AutomationFramework[_0x57d09e(0xf7)](_0x2be826,PuppeteerDriverModule[_0x57d09e(0xde)],''),_0x419a2a={'provider':_0x2c9b01['grtNS'](getPlaywrightProvider,_0x20afb2),'frameworkName':_0x2be826[_0x57d09e(0x10a)],'frameworkVersion':_0x2be826[_0x57d09e(0xc7)],'frameworkSessionId':_0x3803ac,'ref':_0x2be826[_0x57d09e(0xc5)](),'hubUrl':_0x20afb2,'product':_0x2c9b01[_0x57d09e(0xd5)](getProductForSession)},_0x6d60f2=AutomationFramework['getState'](_0x2be826,PlaywrightDriverModule[_0x57d09e(0x108)],null)||AutomationFramework[_0x57d09e(0xf7)](_0x2be826,PuppeteerDriverModule['KEY_CAPABILITIES'],null),_0x2ba521=_0x6d60f2?Buffer[_0x57d09e(0xe4)](JSON[_0x57d09e(0xb3)](_0x6d60f2))[_0x57d09e(0xff)](_0x2c9b01[_0x57d09e(0x109)]):null,_0x54f42c={'hash':_0x21d80e[_0x57d09e(0xed)](),'threadId':_0x21d80e[_0x57d09e(0xf2)]()[_0x57d09e(0xff)](),'processId':_0x21d80e[_0x57d09e(0xb9)]()[_0x57d09e(0xff)]()},_0x1ed350={};_0x1ed350[_0x57d09e(0xb7)]=_0x513db2;const _0x1644b3={};_0x1644b3[_0x57d09e(0x102)]=_0x5a9282;const _0x38f827={'platformIndex':_0x11f151,'testFrameworkName':_0x17f8ec,'testFrameworkVersion':_0x177149,'testFrameworkState':_0xa704d0,'testHookState':_0x456875,...this[_0x57d09e(0xcf)]&&_0x2c9b01[_0x57d09e(0x11c)](this[_0x57d09e(0xcf)][_0x57d09e(0x117)],FRAMEWORKS['JEST'])?_0x1ed350:_0x1644b3,'automationSession':_0x419a2a,'capabilities':_0x2ba521,'executionContext':_0x54f42c};this[_0x57d09e(0xd6)][_0x57d09e(0xc8)](_0x57d09e(0xd8)+util[_0x57d09e(0xd4)](_0x38f827));const _0x4e9a7c=await GrpcClient[_0x57d09e(0xbe)]()[_0x57d09e(0xc2)](_0x38f827);this[_0x57d09e(0xd6)][_0x57d09e(0xc8)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x32771a+(this['testFrameworkData']&&_0x2c9b01['IGkkV'](this[_0x57d09e(0xcf)][_0x57d09e(0x117)],FRAMEWORKS[_0x57d09e(0xee)])?_0x57d09e(0xe5)+_0x513db2:''));}}catch(_0x3b024d){this['logger']['error'](_0x57d09e(0xb0)+util[_0x57d09e(0xd4)](_0x3b024d));}}}TestHubModule[a91_0x18bcf1(0x10f)]=a91_0x18bcf1(0xd9),TestHubModule[a91_0x18bcf1(0xc3)]=a91_0x18bcf1(0xd0),module[a91_0x18bcf1(0xbd)]=TestHubModule;
1
+ const a91_0x144a3a=a91_0x247c;function a91_0x247c(_0x5e0714,_0x3e79d7){const _0x2f5278=a91_0x2f52();return a91_0x247c=function(_0x247c49,_0x8d58f){_0x247c49=_0x247c49-0x1d3;let _0x57e2c6=_0x2f5278[_0x247c49];return _0x57e2c6;},a91_0x247c(_0x5e0714,_0x3e79d7);}(function(_0x568837,_0x3f2226){const _0x3e74b5=a91_0x247c,_0x170eed=_0x568837();while(!![]){try{const _0x4271dd=-parseInt(_0x3e74b5(0x245))/0x1+-parseInt(_0x3e74b5(0x1d3))/0x2*(parseInt(_0x3e74b5(0x1f7))/0x3)+parseInt(_0x3e74b5(0x1e0))/0x4*(-parseInt(_0x3e74b5(0x20e))/0x5)+-parseInt(_0x3e74b5(0x21d))/0x6*(-parseInt(_0x3e74b5(0x20f))/0x7)+-parseInt(_0x3e74b5(0x22a))/0x8+-parseInt(_0x3e74b5(0x240))/0x9*(parseInt(_0x3e74b5(0x219))/0xa)+-parseInt(_0x3e74b5(0x1e4))/0xb*(-parseInt(_0x3e74b5(0x237))/0xc);if(_0x4271dd===_0x3f2226)break;else _0x170eed['push'](_0x170eed['shift']());}catch(_0x58c717){_0x170eed['push'](_0x170eed['shift']());}}}(a91_0x2f52,0xcdb08));const util=require(a91_0x144a3a(0x1d7)),BaseModule=require(a91_0x144a3a(0x1ff)),{createClassLogger}=require(a91_0x144a3a(0x244)),AutomationFramework=require(a91_0x144a3a(0x1d4)),AutomationFrameworkState=require(a91_0x144a3a(0x211)),HookState=require(a91_0x144a3a(0x204)),TestFramework=require(a91_0x144a3a(0x220)),TestFrameworkState=require(a91_0x144a3a(0x242)),PlaywrightDriverModule=require(a91_0x144a3a(0x1f1)),PuppeteerDriverModule=require('./puppeteerDriverModule.js'),TestFrameworkConstants=require(a91_0x144a3a(0x20d)),GrpcClient=require('../grpcClient.js'),CLIUtils=require(a91_0x144a3a(0x238)),TestInfo=require('../TestInfo.js'),testHubConstants=require(a91_0x144a3a(0x1f8)),{FRAMEWORKS}=require(a91_0x144a3a(0x23b)),helper=require(a91_0x144a3a(0x1ec)),LoadTestModule=require(a91_0x144a3a(0x21f)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a91_0x144a3a(0x224)),{getPlaywrightProvider,getProductForSession}=require('../../../helpers/helper.js');class TestHubModule extends BaseModule{['logger']=createClassLogger('TestHubModule');constructor(_0x38f2c6,_0x56f956=null){const _0x64e5cc=a91_0x144a3a,_0x3bbd02={};_0x3bbd02[_0x64e5cc(0x1e2)]=_0x64e5cc(0x1e8),_0x3bbd02[_0x64e5cc(0x1fe)]='TestHubModule';const _0x82ada4=_0x3bbd02,_0x320e54=_0x82ada4[_0x64e5cc(0x1e2)][_0x64e5cc(0x239)]('|');let _0x55bc1f=0x0;while(!![]){switch(_0x320e54[_0x55bc1f++]){case'0':Object[_0x64e5cc(0x1e1)](TestFrameworkState)[_0x64e5cc(0x234)](_0x3c80f1=>{const _0xbf0260=_0x64e5cc;Object[_0xbf0260(0x1e1)](HookState)['forEach'](_0x1e7244=>{const _0x5460d6=_0xbf0260;TestFramework[_0x5460d6(0x1f4)](_0x3c80f1,_0x1e7244,this[_0x5460d6(0x205)]['bind'](this));});});continue;case'1':this[_0x64e5cc(0x203)]=new JestUtils();continue;case'2':this[_0x64e5cc(0x23a)]=_0x38f2c6;continue;case'3':BrowserstackCLI[_0x64e5cc(0x1e9)]=this[_0x64e5cc(0x23a)][_0x64e5cc(0x1e3)]();continue;case'4':process[_0x64e5cc(0x1e6)][testHubConstants['ENV_VAR'][_0x64e5cc(0x1de)]]=this['testhubConfig'][_0x64e5cc(0x210)]();continue;case'5':this[_0x64e5cc(0x1d9)]=_0x82ada4['xolow'];continue;case'6':super(_0x56f956);continue;case'7':process[_0x64e5cc(0x1e6)][testHubConstants[_0x64e5cc(0x225)][_0x64e5cc(0x1f3)]]=this[_0x64e5cc(0x23a)][_0x64e5cc(0x1e3)]();continue;case'8':AutomationFramework[_0x64e5cc(0x1f4)](AutomationFrameworkState['CREATE'],HookState[_0x64e5cc(0x1d5)],this['onPageCreate'][_0x64e5cc(0x1d8)](this));continue;}break;}}[a91_0x144a3a(0x1fa)](){const _0x159255=a91_0x144a3a;return TestHubModule[_0x159255(0x200)];}[a91_0x144a3a(0x205)](_0x6af9fe){const _0x52ca4a=a91_0x144a3a,_0x143777={};_0x143777[_0x52ca4a(0x21c)]=function(_0x4b3a41,_0xc91a68){return _0x4b3a41===_0xc91a68;};const _0x5d21d1=_0x143777,_0x22fa1e=_0x6af9fe['instance'],_0x36c712=_0x22fa1e[_0x52ca4a(0x1eb)]();(_0x5d21d1[_0x52ca4a(0x21c)](_0x36c712,TestFrameworkState[_0x52ca4a(0x21e)])||CLIUtils[_0x52ca4a(0x1dc)](_0x36c712[_0x52ca4a(0x216)]()[_0x52ca4a(0x239)]('.')[0x1]))&&this[_0x52ca4a(0x228)](_0x6af9fe);}async['sendTestFrameworkEvent'](_0xbefdc){const _0x2d9213=a91_0x144a3a,_0x583d3b={};_0x583d3b['FVLyv']=function(_0x24b251,_0x42e86b){return _0x24b251===_0x42e86b;},_0x583d3b['OmMSo']=_0x2d9213(0x1dd);const _0x44cf6f=_0x583d3b;try{const _0x327a1a=BrowserstackCLI[_0x2d9213(0x212)]()[_0x2d9213(0x1e5)]()[_0x2d9213(0x21a)](_0xbefdc);if(!_0x327a1a||_0x44cf6f[_0x2d9213(0x1fc)](Object[_0x2d9213(0x1db)](_0x327a1a)[_0x2d9213(0x207)],0x0)){this[_0x2d9213(0x235)][_0x2d9213(0x20a)](_0x44cf6f['OmMSo']);return;}const _0x55ec58=await GrpcClient[_0x2d9213(0x212)]()[_0x2d9213(0x215)](_0x327a1a);this['logger']['debug'](_0x2d9213(0x1ee)+_0x327a1a[_0x2d9213(0x22f)]+_0x2d9213(0x241)+_0x327a1a[_0x2d9213(0x22e)]);}catch(_0x198887){this[_0x2d9213(0x235)][_0x2d9213(0x243)](_0x2d9213(0x208)+util[_0x2d9213(0x1d6)](_0x198887));}}async[a91_0x144a3a(0x214)](_0x10a3b6){const _0x2ffc01=a91_0x144a3a,_0x4d9289={'fSXmt':function(_0x55123c,_0x3d11e0){return _0x55123c===_0x3d11e0;},'alpiK':_0x2ffc01(0x229),'DHzmf':function(_0x41448e,_0x25540d){return _0x41448e(_0x25540d);},'GJefU':function(_0x2d8407){return _0x2d8407();},'urHja':_0x2ffc01(0x236),'SBmmj':function(_0x3a5e74,_0x21beb7){return _0x3a5e74===_0x21beb7;}};try{if(_0x10a3b6[_0x2ffc01(0x23c)]){const _0x17fc58=this[_0x2ffc01(0x23d)](_0x10a3b6);this[_0x2ffc01(0x235)][_0x2ffc01(0x20a)]('onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20'+_0x17fc58);if(this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this['testFrameworkData'][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])&&!_0x10a3b6['testInfo']){this[_0x2ffc01(0x235)]['debug'](_0x4d9289[_0x2ffc01(0x1fb)]);return;}let _0x1e4723,_0x1b777d;if(this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this[_0x2ffc01(0x20c)]['name'],FRAMEWORKS[_0x2ffc01(0x1f6)]))_0x1e4723=_0x17fc58,_0x1b777d=TestInfo[_0x2ffc01(0x233)](_0x1e4723);else this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this[_0x2ffc01(0x20c)][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])?(_0x1e4723=this[_0x2ffc01(0x203)]['recreateIdentifierFromTestInfo'](_0x10a3b6['testInfo']),this[_0x2ffc01(0x235)][_0x2ffc01(0x20a)]('onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x1e4723)):(_0x1e4723=TestInfo[_0x2ffc01(0x1ed)](_0x10a3b6['testInfo'],_0x10a3b6[_0x2ffc01(0x1f9)]['retry']),_0x1b777d=TestInfo[_0x2ffc01(0x233)](_0x1e4723));const _0x343560=TestInfo[_0x2ffc01(0x1ef)](_0x1e4723),_0x19b002=_0x10a3b6[_0x2ffc01(0x1f0)],_0x2076d6=AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule[_0x2ffc01(0x201)]),_0x496822=_0x343560?.[TestFrameworkConstants[_0x2ffc01(0x221)]]||this['testFrameworkData']&&this[_0x2ffc01(0x20c)][_0x2ffc01(0x1d9)],_0x4f0d81=_0x343560?.[TestFrameworkConstants[_0x2ffc01(0x213)]]||this[_0x2ffc01(0x20c)]&&this[_0x2ffc01(0x20c)][_0x2ffc01(0x209)],_0x5d4b4f=TestFrameworkState['TEST'][_0x2ffc01(0x216)]()['split']('.')[0x1],_0x505f3f=HookState['POST'][_0x2ffc01(0x216)]()[_0x2ffc01(0x239)]('.')[0x1],_0x38076e=_0x19b002[_0x2ffc01(0x230)](),_0x1fb810=AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule[_0x2ffc01(0x1f2)],'')||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule[_0x2ffc01(0x1f2)],''),_0x464cd3=LoadTestModule[_0x2ffc01(0x226)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule['KEY_SESSION_ID'],'')||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule[_0x2ffc01(0x23f)],''),_0x3551e6={'provider':_0x4d9289[_0x2ffc01(0x22b)](getPlaywrightProvider,_0x1fb810),'frameworkName':_0x19b002[_0x2ffc01(0x1ea)],'frameworkVersion':_0x19b002['frameworkVersion'],'frameworkSessionId':_0x464cd3,'ref':_0x19b002['getRef'](),'hubUrl':_0x1fb810,'product':_0x4d9289[_0x2ffc01(0x1da)](getProductForSession)},_0x54f650=AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule[_0x2ffc01(0x1f5)],null)||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule['KEY_CAPABILITIES'],null),_0x5020b9=_0x54f650?Buffer['from'](JSON[_0x2ffc01(0x21b)](_0x54f650))['toString'](_0x4d9289[_0x2ffc01(0x202)]):null,_0x383220={'hash':_0x38076e[_0x2ffc01(0x22d)](),'threadId':_0x38076e[_0x2ffc01(0x217)]()['toString'](),'processId':_0x38076e[_0x2ffc01(0x22c)]()[_0x2ffc01(0x216)]()},_0x85c7e7={};_0x85c7e7['test_identifier']=_0x1e4723;const _0x48708c={};_0x48708c['testUuid']=_0x1b777d;const _0x2928a5={'platformIndex':_0x2076d6,'testFrameworkName':_0x496822,'testFrameworkVersion':_0x4f0d81,'testFrameworkState':_0x5d4b4f,'testHookState':_0x505f3f,...this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this['testFrameworkData'][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])?_0x85c7e7:_0x48708c,'automationSession':_0x3551e6,'capabilities':_0x5020b9,'executionContext':_0x383220};this['logger']['debug'](_0x2ffc01(0x222)+util[_0x2ffc01(0x1d6)](_0x2928a5));const _0x2ca4d2=await GrpcClient[_0x2ffc01(0x212)]()[_0x2ffc01(0x1df)](_0x2928a5);this['logger']['debug'](_0x2ffc01(0x223)+_0x17fc58+(this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x20b)](this[_0x2ffc01(0x20c)][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])?_0x2ffc01(0x1e7)+_0x1e4723:''));}}catch(_0x16254e){this[_0x2ffc01(0x235)]['error'](_0x2ffc01(0x1fd)+util[_0x2ffc01(0x1d6)](_0x16254e));}}}function a91_0x2f52(){const _0xd4fbee=['DHzmf','getProcessId','getId','hookState','testFrameworkState','getContext','test_deferred','TestHubModule','getTestUUID','forEach','logger','base64','396852HzDydh','../cliUtils.js','split','testhubConfig','../../../helpers/test-observability/constants.js','page','getTestId','JEST','KEY_SESSION_ID','72rbhMon','\x20hookState:\x20','../state/testFrameworkState.js','error','../../../helpers/classLogger.js','315792wsuPLw','1804576IzqLnQ','../framework/automationFramework.js','POST','format','util','bind','name','GJefU','keys','matchHookRegex','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','BROWSERSTACK_TESTHUB_JWT','testSessionEvent','4NtAIdN','values','dsNMk','getBuildHashedId','1045FKUggr','getTestFramework','env',',\x20test_identifier:\x20','6|5|2|1|8|0|4|7|3','O11yHashedID','frameworkName','getCurrentTestState','../../../helpers/helper.js','getTestIdentifierFromTestInfo','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','getTestDetails','instance','./playwrightDriverModule.js','KEY_HUB_URL','BROWSERSTACK_TESTHUB_UUID','registerObserver','KEY_CAPABILITIES','CUCUMBER','3eiwREW','../../../helpers/testhub/constants','testInfo','getModuleName','alpiK','FVLyv','Error\x20in\x20sending\x20CBTSession:\x20','xolow','./baseModule','MODULE_NAME','KEY_PLATFORM_INDEX','urHja','jestUtils','../state/hookState.js','onAllTestEvents','fSXmt','length','Error\x20in\x20sendTestFrameworkEvent:\x20','version','debug','SBmmj','testFrameworkData','../framework/constants/testFrameworkConstants.js','5221285DzKxcB','35uhKfek','getJwt','../state/automationFrameworkState.js','getInstance','KEY_TEST_FRAMEWORK_VERSION','onPageCreate','testFrameworkEvent','toString','getThreadId','getState','378520BeQuHG','createTestFrameworkEventPayload','stringify','wfAIl','935736csELdn','TEST','./loadTestModule.js','../framework/testFramework.js','KEY_TEST_FRAMEWORK_NAME','onPageCreate\x20CBTSession\x20payload:\x20','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','../browserstackCLI.js','ENV_VAR','isLTSSession','KEY_TEST_DEFERRED','sendTestFrameworkEvent','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','4110944xHcjPT'];a91_0x2f52=function(){return _0xd4fbee;};return a91_0x2f52();}TestHubModule[a91_0x144a3a(0x200)]=a91_0x144a3a(0x232),TestHubModule[a91_0x144a3a(0x227)]=a91_0x144a3a(0x231),module['exports']=TestHubModule;
@@ -1 +1 @@
1
- const a92_0x4c5424=a92_0x489d;(function(_0x4697ae,_0x627e85){const _0x4ce729=a92_0x489d,_0x3fdca3=_0x4697ae();while(!![]){try{const _0x17f8d4=-parseInt(_0x4ce729(0xff))/0x1+parseInt(_0x4ce729(0x105))/0x2+-parseInt(_0x4ce729(0x100))/0x3+parseInt(_0x4ce729(0x102))/0x4+parseInt(_0x4ce729(0x10b))/0x5+parseInt(_0x4ce729(0x10d))/0x6*(parseInt(_0x4ce729(0xfe))/0x7)+parseInt(_0x4ce729(0xfb))/0x8*(-parseInt(_0x4ce729(0x103))/0x9);if(_0x17f8d4===_0x627e85)break;else _0x3fdca3['push'](_0x3fdca3['shift']());}catch(_0x56e207){_0x3fdca3['push'](_0x3fdca3['shift']());}}}(a92_0x49bd,0x8ebc4));const {PLAYWRIGHT}=require(a92_0x4c5424(0x10f)),a92_0x1d0254={};a92_0x1d0254[a92_0x4c5424(0x110)]=0x0,a92_0x1d0254[a92_0x4c5424(0x106)]=function(){const _0x523c3c=a92_0x4c5424,_0x37da78={};_0x37da78[_0x523c3c(0x111)]=_0x523c3c(0x10e);const _0x163597=_0x37da78;return _0x163597[_0x523c3c(0x111)];};function a92_0x489d(_0x24f2f9,_0x9ada7d){const _0x49bde5=a92_0x49bd();return a92_0x489d=function(_0x489dc8,_0x3033d3){_0x489dc8=_0x489dc8-0xfb;let _0x1fac03=_0x49bde5[_0x489dc8];return _0x1fac03;},a92_0x489d(_0x24f2f9,_0x9ada7d);}const a92_0x6dc813={};a92_0x6dc813[a92_0x4c5424(0x110)]=0x1,a92_0x6dc813[a92_0x4c5424(0x106)]=function(){const _0x32b87b=a92_0x4c5424,_0x19dae5={};_0x19dae5[_0x32b87b(0x107)]='AutomationFrameworkState.CREATE';const _0x21dafa=_0x19dae5;return _0x21dafa[_0x32b87b(0x107)];};const a92_0x54208b={};a92_0x54208b[a92_0x4c5424(0x110)]=0x2,a92_0x54208b[a92_0x4c5424(0x106)]=function(){const _0x3e0ab1=a92_0x4c5424,_0x268165={};_0x268165[_0x3e0ab1(0x10c)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x3afa80=_0x268165;return _0x3afa80[_0x3e0ab1(0x10c)];};const a92_0x1fedfd={};a92_0x1fedfd[a92_0x4c5424(0x110)]=0x3,a92_0x1fedfd[a92_0x4c5424(0x106)]=function(){const _0x1573d5=a92_0x4c5424,_0x595173={};_0x595173[_0x1573d5(0xfd)]='AutomationFrameworkState.EXECUTE';const _0x9b9466=_0x595173;return _0x9b9466[_0x1573d5(0xfd)];};function a92_0x49bd(){const _0x25debf=['501735nzdnZl','exports','3444756uxtdDB','12357ylIjXW','JJjAU','1248956CvSqsx','toString','MfyYz','AutomationFrameworkState.IDLE','values','freeze','4480615EvMOnf','bVPtV','129456eBpaku','AutomationFrameworkState.NONE','../../utils/constants','value','zacfk','find','9416onYMyW','AutomationFrameworkState.QUIT','ynXCR','252dcOtqW','790616kGyBwr'];a92_0x49bd=function(){return _0x25debf;};return a92_0x49bd();}const a92_0x1df243={};a92_0x1df243[a92_0x4c5424(0x110)]=0x4,a92_0x1df243[a92_0x4c5424(0x106)]=function(){const _0x3889b1=a92_0x4c5424,_0x1b7f84={};_0x1b7f84['TLibR']=_0x3889b1(0x108);const _0x7a7e83=_0x1b7f84;return _0x7a7e83['TLibR'];};const a92_0x1274e={};a92_0x1274e['value']=0x5,a92_0x1274e['toString']=function(){const _0x1d65f2=a92_0x4c5424,_0x3237a5={};_0x3237a5['JJjAU']=_0x1d65f2(0xfc);const _0x2a0461=_0x3237a5;return _0x2a0461[_0x1d65f2(0x104)];};const AutomationFrameworkState=Object[a92_0x4c5424(0x10a)]({'NONE':a92_0x1d0254,'CREATE':a92_0x6dc813,'PLAYWRIGHT_DISPATCH':a92_0x54208b,'EXECUTE':a92_0x1fedfd,'IDLE':a92_0x1df243,'QUIT':a92_0x1274e,'fromValue'(_0x3ed538){const _0x496f9e=a92_0x4c5424;return Object[_0x496f9e(0x109)](AutomationFrameworkState)[_0x496f9e(0x112)](_0x29b9f3=>_0x29b9f3['value']===_0x3ed538);}});module[a92_0x4c5424(0x101)]=AutomationFrameworkState;
1
+ const a92_0x164bee=a92_0x4973;function a92_0x4973(_0x91b972,_0x15693c){const _0x3147de=a92_0x3147();return a92_0x4973=function(_0x4973e7,_0x5d9a0d){_0x4973e7=_0x4973e7-0xdb;let _0x5dd77b=_0x3147de[_0x4973e7];return _0x5dd77b;},a92_0x4973(_0x91b972,_0x15693c);}(function(_0x1d7d04,_0x4a4dd9){const _0x49dfd7=a92_0x4973,_0x53f0b7=_0x1d7d04();while(!![]){try{const _0x13020b=-parseInt(_0x49dfd7(0xe3))/0x1+parseInt(_0x49dfd7(0xed))/0x2*(parseInt(_0x49dfd7(0xeb))/0x3)+parseInt(_0x49dfd7(0xe8))/0x4*(-parseInt(_0x49dfd7(0xe9))/0x5)+-parseInt(_0x49dfd7(0xf0))/0x6+parseInt(_0x49dfd7(0xec))/0x7+-parseInt(_0x49dfd7(0xdc))/0x8+parseInt(_0x49dfd7(0xe2))/0x9*(parseInt(_0x49dfd7(0xdf))/0xa);if(_0x13020b===_0x4a4dd9)break;else _0x53f0b7['push'](_0x53f0b7['shift']());}catch(_0x1d6113){_0x53f0b7['push'](_0x53f0b7['shift']());}}}(a92_0x3147,0x44423));const {PLAYWRIGHT}=require('../../utils/constants'),a92_0xf27fcf={};a92_0xf27fcf[a92_0x164bee(0xdd)]=0x0,a92_0xf27fcf[a92_0x164bee(0xe5)]=function(){const _0x16ee86=a92_0x164bee,_0x433ddc={};_0x433ddc[_0x16ee86(0xe1)]=_0x16ee86(0xe7);const _0x4b6075=_0x433ddc;return _0x4b6075[_0x16ee86(0xe1)];};const a92_0x3d315f={};a92_0x3d315f[a92_0x164bee(0xdd)]=0x1,a92_0x3d315f[a92_0x164bee(0xe5)]=function(){const _0x2c8a17=a92_0x164bee,_0x5c203e={};_0x5c203e[_0x2c8a17(0xe6)]='AutomationFrameworkState.CREATE';const _0x4211c2=_0x5c203e;return _0x4211c2[_0x2c8a17(0xe6)];};const a92_0x22375d={};function a92_0x3147(){const _0x2fa43a=['4uNMYbC','1604350jAHDLZ','HWlkO','3JMEhCU','2371726zPBuWc','500334eOcLTZ','values','exports','3135708hiLcKQ','TTpJn','AutomationFrameworkState.IDLE','vZLsA','3577760OYCViB','value','find','351620kBQtPt','AutomationFrameworkState.EXECUTE','YcWmQ','279UaxtnK','108712XNrnoR','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','toString','WqmlH','AutomationFrameworkState.NONE'];a92_0x3147=function(){return _0x2fa43a;};return a92_0x3147();}a92_0x22375d[a92_0x164bee(0xdd)]=0x2,a92_0x22375d['toString']=function(){const _0x49d356=a92_0x164bee,_0x2906d2={};_0x2906d2[_0x49d356(0xea)]=_0x49d356(0xe4);const _0x36b719=_0x2906d2;return _0x36b719[_0x49d356(0xea)];};const a92_0x574be7={};a92_0x574be7[a92_0x164bee(0xdd)]=0x3,a92_0x574be7[a92_0x164bee(0xe5)]=function(){const _0x340f29=a92_0x164bee,_0xd321ee={};_0xd321ee['sgWdl']=_0x340f29(0xe0);const _0xc0ae79=_0xd321ee;return _0xc0ae79['sgWdl'];};const a92_0x308dcd={};a92_0x308dcd[a92_0x164bee(0xdd)]=0x4,a92_0x308dcd['toString']=function(){const _0x1ef721=a92_0x164bee,_0x54e8b1={};_0x54e8b1[_0x1ef721(0xf1)]=_0x1ef721(0xf2);const _0x369871=_0x54e8b1;return _0x369871[_0x1ef721(0xf1)];};const a92_0x2be646={};a92_0x2be646[a92_0x164bee(0xdd)]=0x5,a92_0x2be646['toString']=function(){const _0x57a6f9=a92_0x164bee,_0x4f69f6={};_0x4f69f6[_0x57a6f9(0xdb)]='AutomationFrameworkState.QUIT';const _0xbbdf54=_0x4f69f6;return _0xbbdf54[_0x57a6f9(0xdb)];};const AutomationFrameworkState=Object['freeze']({'NONE':a92_0xf27fcf,'CREATE':a92_0x3d315f,'PLAYWRIGHT_DISPATCH':a92_0x22375d,'EXECUTE':a92_0x574be7,'IDLE':a92_0x308dcd,'QUIT':a92_0x2be646,'fromValue'(_0x6a68b5){const _0x1652eb=a92_0x164bee;return Object[_0x1652eb(0xee)](AutomationFrameworkState)[_0x1652eb(0xde)](_0xa4f569=>_0xa4f569[_0x1652eb(0xdd)]===_0x6a68b5);}});module[a92_0x164bee(0xef)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a93_0x128a68=a93_0x28a2;function a93_0x28a2(_0x1b27c4,_0x4979cc){const _0x383c8b=a93_0x383c();return a93_0x28a2=function(_0x28a26f,_0x299eaf){_0x28a26f=_0x28a26f-0x7f;let _0x12e50d=_0x383c8b[_0x28a26f];return _0x12e50d;},a93_0x28a2(_0x1b27c4,_0x4979cc);}(function(_0x226739,_0x4001e7){const _0x4c2a50=a93_0x28a2,_0x229641=_0x226739();while(!![]){try{const _0x18e817=parseInt(_0x4c2a50(0x8b))/0x1*(-parseInt(_0x4c2a50(0x8a))/0x2)+-parseInt(_0x4c2a50(0x91))/0x3+-parseInt(_0x4c2a50(0x89))/0x4*(parseInt(_0x4c2a50(0x82))/0x5)+-parseInt(_0x4c2a50(0x84))/0x6+-parseInt(_0x4c2a50(0x92))/0x7*(parseInt(_0x4c2a50(0x81))/0x8)+parseInt(_0x4c2a50(0x80))/0x9+-parseInt(_0x4c2a50(0x8d))/0xa*(-parseInt(_0x4c2a50(0x86))/0xb);if(_0x18e817===_0x4001e7)break;else _0x229641['push'](_0x229641['shift']());}catch(_0x235dde){_0x229641['push'](_0x229641['shift']());}}}(a93_0x383c,0x68ff2));const a93_0x58a323={};a93_0x58a323[a93_0x128a68(0x8f)]=0x0,a93_0x58a323[a93_0x128a68(0x7f)]=function(){const _0x134d8d=a93_0x128a68,_0x446a81={};_0x446a81[_0x134d8d(0x85)]=_0x134d8d(0x8e);const _0x2fdb8a=_0x446a81;return _0x2fdb8a[_0x134d8d(0x85)];};const a93_0x4c6691={};a93_0x4c6691[a93_0x128a68(0x8f)]=0x1,a93_0x4c6691['toString']=function(){const _0x22d788=a93_0x128a68,_0x221220={};_0x221220[_0x22d788(0x83)]=_0x22d788(0x87);const _0x273e1d=_0x221220;return _0x273e1d[_0x22d788(0x83)];};const a93_0x1a3062={};a93_0x1a3062['value']=0x2,a93_0x1a3062[a93_0x128a68(0x7f)]=function(){const _0x23136d=a93_0x128a68,_0x85ad31={};_0x85ad31['EkiVH']='HookState.POST';const _0x4269d5=_0x85ad31;return _0x4269d5[_0x23136d(0x8c)];};const HookState=Object['freeze']({'NONE':a93_0x58a323,'PRE':a93_0x4c6691,'POST':a93_0x1a3062,'fromValue'(_0x25730d){const _0x375930=a93_0x128a68;return Object[_0x375930(0x88)](HookState)[_0x375930(0x90)](_0x33fde6=>_0x33fde6[_0x375930(0x8f)]===_0x25730d);}});function a93_0x383c(){const _0x2efc8f=['find','1748937UbKldC','14xJWCAi','toString','3414312rScSZI','997368wylpFZ','295670MWpyov','ElnCf','114378cZtBJQ','Tobjk','2101zntgdN','HookState.PRE','values','36VNJyKj','554xbjtEQ','1103UPWFIZ','EkiVH','91090IUGmcv','HookState.NONE','value'];a93_0x383c=function(){return _0x2efc8f;};return a93_0x383c();}module['exports']=HookState;
1
+ const a93_0x5d5de8=a93_0x2a99;function a93_0x3676(){const _0x1b476f=['1884892EEqVxJ','1981112AdanQl','282858iXYvNQ','exports','3245274vfEtAd','value','DHCqc','hGYjj','5261490yopLOo','TJzhj','HookState.POST','values','10yXtxDy','find','toString','679329UukIyR','HookState.PRE','HookState.NONE','freeze','1205332qGIbhs','105SoFmWU'];a93_0x3676=function(){return _0x1b476f;};return a93_0x3676();}(function(_0x32f08d,_0x16ec21){const _0x32ad17=a93_0x2a99,_0x16c5c4=_0x32f08d();while(!![]){try{const _0x36d5db=parseInt(_0x32ad17(0x1df))/0x1+parseInt(_0x32ad17(0x1e5))/0x2+parseInt(_0x32ad17(0x1d4))/0x3+parseInt(_0x32ad17(0x1e3))/0x4*(-parseInt(_0x32ad17(0x1dc))/0x5)+-parseInt(_0x32ad17(0x1e7))/0x6*(parseInt(_0x32ad17(0x1e4))/0x7)+-parseInt(_0x32ad17(0x1e6))/0x8+-parseInt(_0x32ad17(0x1d8))/0x9;if(_0x36d5db===_0x16ec21)break;else _0x16c5c4['push'](_0x16c5c4['shift']());}catch(_0x2f3f9a){_0x16c5c4['push'](_0x16c5c4['shift']());}}}(a93_0x3676,0x89141));const a93_0x1120a6={};a93_0x1120a6[a93_0x5d5de8(0x1d5)]=0x0,a93_0x1120a6[a93_0x5d5de8(0x1de)]=function(){const _0xa92ae0=a93_0x5d5de8,_0x20658e={};_0x20658e['TJzhj']=_0xa92ae0(0x1e1);const _0x2fc7bb=_0x20658e;return _0x2fc7bb[_0xa92ae0(0x1d9)];};const a93_0x54b986={};a93_0x54b986[a93_0x5d5de8(0x1d5)]=0x1,a93_0x54b986[a93_0x5d5de8(0x1de)]=function(){const _0x2fde22=a93_0x5d5de8,_0x4cead4={};_0x4cead4[_0x2fde22(0x1d6)]=_0x2fde22(0x1e0);const _0x3c8ae4=_0x4cead4;return _0x3c8ae4['DHCqc'];};const a93_0x18212b={};a93_0x18212b[a93_0x5d5de8(0x1d5)]=0x2,a93_0x18212b[a93_0x5d5de8(0x1de)]=function(){const _0x4d1ed1=a93_0x5d5de8,_0x45d78b={};_0x45d78b['hGYjj']=_0x4d1ed1(0x1da);const _0x45ef9b=_0x45d78b;return _0x45ef9b[_0x4d1ed1(0x1d7)];};function a93_0x2a99(_0x5cecdb,_0x42cb65){const _0x367621=a93_0x3676();return a93_0x2a99=function(_0x2a99b1,_0x469471){_0x2a99b1=_0x2a99b1-0x1d3;let _0x44ee3b=_0x367621[_0x2a99b1];return _0x44ee3b;},a93_0x2a99(_0x5cecdb,_0x42cb65);}const HookState=Object[a93_0x5d5de8(0x1e2)]({'NONE':a93_0x1120a6,'PRE':a93_0x54b986,'POST':a93_0x18212b,'fromValue'(_0x5d38cf){const _0x508d03=a93_0x5d5de8;return Object[_0x508d03(0x1db)](HookState)[_0x508d03(0x1dd)](_0x1e9204=>_0x1e9204['value']===_0x5d38cf);}});module[a93_0x5d5de8(0x1d3)]=HookState;
@@ -1 +1 @@
1
- const a94_0x96f709=a94_0x24fb;(function(_0x5ed198,_0x5dd4c7){const _0xd6a783=a94_0x24fb,_0x4005bb=_0x5ed198();while(!![]){try{const _0x3bbf32=parseInt(_0xd6a783(0xea))/0x1+parseInt(_0xd6a783(0xdb))/0x2+-parseInt(_0xd6a783(0xdc))/0x3+parseInt(_0xd6a783(0xf6))/0x4*(parseInt(_0xd6a783(0xe7))/0x5)+-parseInt(_0xd6a783(0xe8))/0x6+parseInt(_0xd6a783(0xfa))/0x7+-parseInt(_0xd6a783(0xdd))/0x8*(parseInt(_0xd6a783(0xde))/0x9);if(_0x3bbf32===_0x5dd4c7)break;else _0x4005bb['push'](_0x4005bb['shift']());}catch(_0x227ec0){_0x4005bb['push'](_0x4005bb['shift']());}}}(a94_0x1d06,0x2adcd));const a94_0x35d6ab={};a94_0x35d6ab['value']=0x0,a94_0x35d6ab['toString']=function(){const _0xe83cdf=a94_0x24fb,_0x2a5e4f={};_0x2a5e4f[_0xe83cdf(0xf4)]=_0xe83cdf(0xe5);const _0x4363da=_0x2a5e4f;return _0x4363da[_0xe83cdf(0xf4)];};const a94_0x4cf88f={};function a94_0x1d06(){const _0x298b07=['ICgDM','values','704328rvELlu','TestFrameworkState.BEFORE_ALL','TestFrameworkState.LOG','TestFrameworkState.AFTER_ALL','900193ZIYkfw','uwkEv','TestFrameworkState.TEST','TJuRG','EbeQq','value','322128iDpIVf','22929rBpkCY','131512CjKsfZ','171jwQyJQ','LxIMF','TestFrameworkState.LOG_REPORT','ncvFf','toString','exports','TestFrameworkState.TEST_SCREENSHOT','TestFrameworkState.NONE','freeze','5bZuMOQ','1536624fpTFfl','EvgMJ','285908AYyQVW','TestFrameworkState.BEFORE_EACH','TestFrameworkState.STEP','TestFrameworkState.AFTER_EACH','TestFrameworkState.INIT_TEST','QOiuF','DWkbm','YNrve','nOrGn','PnPaC'];a94_0x1d06=function(){return _0x298b07;};return a94_0x1d06();}a94_0x4cf88f[a94_0x96f709(0xda)]=0x1,a94_0x4cf88f['toString']=function(){const _0x16a455=a94_0x96f709,_0x176815={};_0x176815[_0x16a455(0xf3)]=_0x16a455(0xf7);const _0x16e8ae=_0x176815;return _0x16e8ae[_0x16a455(0xf3)];};const a94_0x417ad3={};a94_0x417ad3[a94_0x96f709(0xda)]=0x2,a94_0x417ad3[a94_0x96f709(0xe2)]=function(){const _0x5d542f=a94_0x96f709,_0x3e777b={};_0x3e777b[_0x5d542f(0xfb)]=_0x5d542f(0xf8);const _0x1dcb32=_0x3e777b;return _0x1dcb32[_0x5d542f(0xfb)];};const a94_0xc0bfd6={};a94_0xc0bfd6['value']=0x3,a94_0xc0bfd6['toString']=function(){const _0x24d475=a94_0x96f709,_0x85017e={};_0x85017e[_0x24d475(0xe9)]='TestFrameworkState.SETUP_FIXTURE';const _0x3da6a1=_0x85017e;return _0x3da6a1[_0x24d475(0xe9)];};const a94_0x5f174b={};a94_0x5f174b['value']=0x4,a94_0x5f174b[a94_0x96f709(0xe2)]=function(){const _0x5b5743=a94_0x96f709,_0x2cae3f={};_0x2cae3f[_0x5b5743(0xf1)]=_0x5b5743(0xee);const _0x96c472=_0x2cae3f;return _0x96c472[_0x5b5743(0xf1)];};const a94_0x19232c={};a94_0x19232c[a94_0x96f709(0xda)]=0x5,a94_0x19232c[a94_0x96f709(0xe2)]=function(){const _0xacfa78=a94_0x96f709,_0x397b87={};_0x397b87['EbeQq']=_0xacfa78(0xeb);const _0x5b485d=_0x397b87;return _0x5b485d[_0xacfa78(0xd9)];};const a94_0x3d7d69={};a94_0x3d7d69[a94_0x96f709(0xda)]=0x6,a94_0x3d7d69[a94_0x96f709(0xe2)]=function(){const _0x18e0d6=a94_0x96f709,_0x1d599a={};_0x1d599a[_0x18e0d6(0xe1)]=_0x18e0d6(0xed);const _0x2b7759=_0x1d599a;return _0x2b7759['ncvFf'];};const a94_0x3e5c4e={};a94_0x3e5c4e[a94_0x96f709(0xda)]=0x7,a94_0x3e5c4e[a94_0x96f709(0xe2)]=function(){const _0x42ece2=a94_0x96f709,_0x3a8426={};_0x3a8426[_0x42ece2(0xf0)]=_0x42ece2(0xd7);const _0xdfbb32=_0x3a8426;return _0xdfbb32[_0x42ece2(0xf0)];};const a94_0x9a9a6c={};a94_0x9a9a6c[a94_0x96f709(0xda)]=0x8,a94_0x9a9a6c[a94_0x96f709(0xe2)]=function(){const _0x55ef87=a94_0x96f709,_0x2135f6={};_0x2135f6['LxIMF']=_0x55ef87(0xec);const _0x129a8e=_0x2135f6;return _0x129a8e[_0x55ef87(0xdf)];};const a94_0x2f90f6={};function a94_0x24fb(_0x2dcd98,_0x1a2b29){const _0x1d0647=a94_0x1d06();return a94_0x24fb=function(_0x24fb8a,_0x460d46){_0x24fb8a=_0x24fb8a-0xd7;let _0x21c6ad=_0x1d0647[_0x24fb8a];return _0x21c6ad;},a94_0x24fb(_0x2dcd98,_0x1a2b29);}a94_0x2f90f6[a94_0x96f709(0xda)]=0x9,a94_0x2f90f6[a94_0x96f709(0xe2)]=function(){const _0x557353=a94_0x96f709,_0x1d3f69={};_0x1d3f69[_0x557353(0xd8)]=_0x557353(0xe0);const _0x1293af=_0x1d3f69;return _0x1293af[_0x557353(0xd8)];};const a94_0x3ea5d4={};a94_0x3ea5d4[a94_0x96f709(0xda)]=0xa,a94_0x3ea5d4[a94_0x96f709(0xe2)]=function(){const _0x4aa365=a94_0x96f709,_0x23a9d2={};_0x23a9d2['nOrGn']=_0x4aa365(0xf9);const _0x4d1405=_0x23a9d2;return _0x4d1405[_0x4aa365(0xf2)];};const a94_0x36d67e={};a94_0x36d67e['value']=0xb,a94_0x36d67e['toString']=function(){const _0x3a7bc8=a94_0x96f709,_0x577099={};_0x577099[_0x3a7bc8(0xef)]=_0x3a7bc8(0xe4);const _0x5a2e25=_0x577099;return _0x5a2e25[_0x3a7bc8(0xef)];};const TestFrameworkState=Object[a94_0x96f709(0xe6)]({'NONE':a94_0x35d6ab,'BEFORE_ALL':a94_0x4cf88f,'LOG':a94_0x417ad3,'SETUP_FIXTURE':a94_0xc0bfd6,'INIT_TEST':a94_0x5f174b,'BEFORE_EACH':a94_0x19232c,'AFTER_EACH':a94_0x3d7d69,'TEST':a94_0x3e5c4e,'STEP':a94_0x9a9a6c,'LOG_REPORT':a94_0x2f90f6,'AFTER_ALL':a94_0x3ea5d4,'TEST_SCREENSHOT':a94_0x36d67e,'fromValue'(_0x5f6910){const _0xcadfc4=a94_0x96f709;return Object[_0xcadfc4(0xf5)](TestFrameworkState)['find'](_0x4cdebf=>_0x4cdebf[_0xcadfc4(0xda)]===_0x5f6910);}});module[a94_0x96f709(0xe3)]=TestFrameworkState;
1
+ const a94_0x5017c0=a94_0x52a4;(function(_0x52f9bc,_0x4c74f8){const _0x562f31=a94_0x52a4,_0x584097=_0x52f9bc();while(!![]){try{const _0x2110ff=-parseInt(_0x562f31(0x19d))/0x1*(-parseInt(_0x562f31(0x196))/0x2)+-parseInt(_0x562f31(0x1a7))/0x3+parseInt(_0x562f31(0x1a2))/0x4+-parseInt(_0x562f31(0x1bc))/0x5+-parseInt(_0x562f31(0x19e))/0x6*(parseInt(_0x562f31(0x1b8))/0x7)+parseInt(_0x562f31(0x1b1))/0x8*(parseInt(_0x562f31(0x1b0))/0x9)+-parseInt(_0x562f31(0x1b4))/0xa*(-parseInt(_0x562f31(0x1a4))/0xb);if(_0x2110ff===_0x4c74f8)break;else _0x584097['push'](_0x584097['shift']());}catch(_0x7c0111){_0x584097['push'](_0x584097['shift']());}}}(a94_0x3fa4,0x877a3));const a94_0x30a1e1={};a94_0x30a1e1[a94_0x5017c0(0x1a1)]=0x0,a94_0x30a1e1[a94_0x5017c0(0x19b)]=function(){const _0xaf3741=a94_0x5017c0,_0x449fc7={};_0x449fc7[_0xaf3741(0x1b2)]=_0xaf3741(0x19a);const _0x1a6cbc=_0x449fc7;return _0x1a6cbc[_0xaf3741(0x1b2)];};const a94_0x15d104={};a94_0x15d104[a94_0x5017c0(0x1a1)]=0x1,a94_0x15d104[a94_0x5017c0(0x19b)]=function(){const _0x5dbd70=a94_0x5017c0,_0x7c5fab={};_0x7c5fab[_0x5dbd70(0x198)]=_0x5dbd70(0x1ae);const _0x13ddf4=_0x7c5fab;return _0x13ddf4[_0x5dbd70(0x198)];};const a94_0x3b67a9={};a94_0x3b67a9[a94_0x5017c0(0x1a1)]=0x2,a94_0x3b67a9['toString']=function(){const _0x2424d1=a94_0x5017c0,_0xeee034={};_0xeee034[_0x2424d1(0x1aa)]=_0x2424d1(0x1ba);const _0x5baafe=_0xeee034;return _0x5baafe[_0x2424d1(0x1aa)];};const a94_0x23b6a2={};a94_0x23b6a2[a94_0x5017c0(0x1a1)]=0x3,a94_0x23b6a2[a94_0x5017c0(0x19b)]=function(){const _0x27022c=a94_0x5017c0,_0x59be7f={};_0x59be7f[_0x27022c(0x1a3)]=_0x27022c(0x19c);const _0x4981fc=_0x59be7f;return _0x4981fc[_0x27022c(0x1a3)];};const a94_0x2c1f19={};a94_0x2c1f19[a94_0x5017c0(0x1a1)]=0x4,a94_0x2c1f19[a94_0x5017c0(0x19b)]=function(){const _0x18fed3=a94_0x5017c0,_0x19f8f7={};_0x19f8f7[_0x18fed3(0x1b7)]=_0x18fed3(0x1a8);const _0x1aab2f=_0x19f8f7;return _0x1aab2f[_0x18fed3(0x1b7)];};const a94_0x216299={};a94_0x216299[a94_0x5017c0(0x1a1)]=0x5,a94_0x216299[a94_0x5017c0(0x19b)]=function(){const _0x818ef8=a94_0x5017c0,_0x38b9f3={};_0x38b9f3[_0x818ef8(0x1b3)]=_0x818ef8(0x1bb);const _0x694d99=_0x38b9f3;return _0x694d99[_0x818ef8(0x1b3)];};const a94_0xcd046b={};a94_0xcd046b['value']=0x6,a94_0xcd046b[a94_0x5017c0(0x19b)]=function(){const _0x146e99=a94_0x5017c0,_0x4aeef3={};_0x4aeef3[_0x146e99(0x1ad)]=_0x146e99(0x1a0);const _0x284b16=_0x4aeef3;return _0x284b16[_0x146e99(0x1ad)];};const a94_0x383635={};a94_0x383635[a94_0x5017c0(0x1a1)]=0x7,a94_0x383635['toString']=function(){const _0x589f99=a94_0x5017c0,_0x43c2f5={};_0x43c2f5[_0x589f99(0x199)]=_0x589f99(0x1be);const _0xa6bf73=_0x43c2f5;return _0xa6bf73[_0x589f99(0x199)];};const a94_0x1f7784={};a94_0x1f7784['value']=0x8,a94_0x1f7784[a94_0x5017c0(0x19b)]=function(){const _0x5f00d6=a94_0x5017c0,_0x5e2a43={};_0x5e2a43[_0x5f00d6(0x1b6)]=_0x5f00d6(0x19f);const _0xecfc88=_0x5e2a43;return _0xecfc88[_0x5f00d6(0x1b6)];};const a94_0xa72530={};a94_0xa72530[a94_0x5017c0(0x1a1)]=0x9,a94_0xa72530['toString']=function(){const _0x151196=a94_0x5017c0,_0x1f1c1a={};_0x1f1c1a['mpgNf']='TestFrameworkState.LOG_REPORT';const _0x575fa7=_0x1f1c1a;return _0x575fa7[_0x151196(0x1bd)];};const a94_0x5b94bd={};a94_0x5b94bd[a94_0x5017c0(0x1a1)]=0xa,a94_0x5b94bd[a94_0x5017c0(0x19b)]=function(){const _0x4ffffe=a94_0x5017c0,_0x5c34e3={};_0x5c34e3[_0x4ffffe(0x1af)]=_0x4ffffe(0x1a6);const _0x1d8e04=_0x5c34e3;return _0x1d8e04['saKyl'];};const a94_0x1fb913={};a94_0x1fb913[a94_0x5017c0(0x1a1)]=0xb,a94_0x1fb913[a94_0x5017c0(0x19b)]=function(){const _0x34f254=a94_0x5017c0,_0x49366f={};_0x49366f[_0x34f254(0x1a9)]=_0x34f254(0x197);const _0x4706ac=_0x49366f;return _0x4706ac['LLCQr'];};const a94_0x554efb={};a94_0x554efb[a94_0x5017c0(0x1a1)]=0xc,a94_0x554efb['toString']=function(){const _0x3f1a8e=a94_0x5017c0,_0x4366bd={};_0x4366bd[_0x3f1a8e(0x1ac)]=_0x3f1a8e(0x1a5);const _0x23b1a0=_0x4366bd;return _0x23b1a0[_0x3f1a8e(0x1ac)];};function a94_0x52a4(_0x5489d6,_0x53f4aa){const _0x3fa4a7=a94_0x3fa4();return a94_0x52a4=function(_0x52a453,_0x1b9007){_0x52a453=_0x52a453-0x196;let _0x5cb41a=_0x3fa4a7[_0x52a453];return _0x5cb41a;},a94_0x52a4(_0x5489d6,_0x53f4aa);}function a94_0x3fa4(){const _0x410d0c=['TestFrameworkState.TEST_SCREENSHOT','TAdSf','wGCpr','TestFrameworkState.NONE','toString','TestFrameworkState.SETUP_FIXTURE','1pKTXfa','102AUJEgh','TestFrameworkState.STEP','TestFrameworkState.AFTER_EACH','value','3686192ctjMZJ','rtmDR','145651WkAKAH','TestFrameworkState.TEST_STEP','TestFrameworkState.AFTER_ALL','209091ITyFwN','TestFrameworkState.INIT_TEST','LLCQr','hoooV','values','qJqNO','SxsZg','TestFrameworkState.BEFORE_ALL','saKyl','2126583kqBKpF','8DfDeZk','rlYGk','UGSZf','10OUNDZd','freeze','jPrOQ','QfCgl','68033lvoTUS','find','TestFrameworkState.LOG','TestFrameworkState.BEFORE_EACH','3490950elADav','mpgNf','TestFrameworkState.TEST','633898xdOLUv'];a94_0x3fa4=function(){return _0x410d0c;};return a94_0x3fa4();}const TestFrameworkState=Object[a94_0x5017c0(0x1b5)]({'NONE':a94_0x30a1e1,'BEFORE_ALL':a94_0x15d104,'LOG':a94_0x3b67a9,'SETUP_FIXTURE':a94_0x23b6a2,'INIT_TEST':a94_0x2c1f19,'BEFORE_EACH':a94_0x216299,'AFTER_EACH':a94_0xcd046b,'TEST':a94_0x383635,'STEP':a94_0x1f7784,'LOG_REPORT':a94_0xa72530,'AFTER_ALL':a94_0x5b94bd,'TEST_SCREENSHOT':a94_0x1fb913,'TEST_STEP':a94_0x554efb,'fromValue'(_0x4c7fb9){const _0x142761=a94_0x5017c0;return Object[_0x142761(0x1ab)](TestFrameworkState)[_0x142761(0x1b9)](_0x5a4d97=>_0x5a4d97[_0x142761(0x1a1)]===_0x4c7fb9);}});module['exports']=TestFrameworkState;
@@ -1 +1 @@
1
- const a95_0x575472=a95_0x107e;function a95_0x107e(_0x38f5b7,_0x12863e){const _0x1198ca=a95_0x1198();return a95_0x107e=function(_0x107e7f,_0x55c6de){_0x107e7f=_0x107e7f-0x81;let _0x462fec=_0x1198ca[_0x107e7f];return _0x462fec;},a95_0x107e(_0x38f5b7,_0x12863e);}(function(_0x5c5809,_0x434d4b){const _0x2f11d3=a95_0x107e,_0x515738=_0x5c5809();while(!![]){try{const _0x394d15=parseInt(_0x2f11d3(0xc5))/0x1+parseInt(_0x2f11d3(0x105))/0x2*(parseInt(_0x2f11d3(0xdd))/0x3)+-parseInt(_0x2f11d3(0xae))/0x4*(parseInt(_0x2f11d3(0xb9))/0x5)+parseInt(_0x2f11d3(0x91))/0x6*(-parseInt(_0x2f11d3(0x93))/0x7)+-parseInt(_0x2f11d3(0xd0))/0x8+-parseInt(_0x2f11d3(0xce))/0x9+parseInt(_0x2f11d3(0xd9))/0xa*(parseInt(_0x2f11d3(0xc0))/0xb);if(_0x394d15===_0x434d4b)break;else _0x515738['push'](_0x515738['shift']());}catch(_0x5bcead){_0x515738['push'](_0x515738['shift']());}}}(a95_0x1198,0x32bd8));function a95_0x1198(){const _0x22c519=['statSync','testhubConfig','144crGrRd','vmUtG','69755dyPKBe','resolveInstance','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','size','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','KEY_TEST_ID','JDkuh','CqCin',',\x20filepath:\x20','getTestIdentifierFromTestInfo','./state/testFrameworkState','getAllData','KEY_FILE_NAME','copyFileSync','wCcbG','pQlQv','hvYAR','logger','hdYKR','mkdirSync','./state/hookState','Cleared\x20attachment\x20folder','trim','setTestDetails','uvqxI','.browserstack','252uhPSUa','error','tTjBE','POST','jest','buildHashedId','WTxAB','LNdOb','Created\x20folder:\x20%s','PRDyq','aMqKC','4150dVUCZQ','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','https','Mnadf','toFixed','startsWith','PHxef','77858yWmlRJ','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','EUbnx','./TestInfo','QATmx','213130JIzonS','toObject','uploadAttachments','clearAttachments','oSFQe','JYHPP','getTestFramework','format','homedir','1152882iZmUjX','XTtgf','2570336JchUvR','trackFile','TestHubModule','close','KEY_TEST_ATTACHMENTS','HpImr','pipe','https://','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','870TXVDFC','getTrackedInstance','kEiEg','statusCode','546iPWQzT','KEY_FILE_SIZE','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','TEST','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','getState','get','TSgQX','KEY_FILE_LEVEL','getTestDetails','getInstance','unlinkSync','force','Created\x20.browserstack\x20folder\x20at:\x20%s','bUTQt','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','./browserstackCLI','TestLevel','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','jeFgD','./cliUtils','createWriteStream','goBxf','currentTest','recursive','rmSync','basename','BuildLevel','./framework/automationFramework','qsTEj','IvKzm','join','YXOks','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','./framework/constants/testFrameworkConstants','./modules/playwrightDriverModule','modules','MLnXb','toLowerCase','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','1316sSVqpd','name','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','cHQqy','DxQZo','kvLLG','addMultipleEntries','existsSync','HdCsX','NMJRL','message','path','debug','QIKGo','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','http://','LxSGt','getTestFrameworkDetail','ZphYA'];a95_0x1198=function(){return _0x22c519;};return a95_0x1198();}const os=require('os'),fs=require('fs'),path=require(a95_0x575472(0x87)),util=require('util'),BrowserstackCLI=require(a95_0x575472(0xed)),https=require(a95_0x575472(0xbb)),http=require('http'),AutomationFramework=require(a95_0x575472(0xf9)),PlaywrightDriverModule=require(a95_0x575472(0x100)),TestInfo=require(a95_0x575472(0xc3)),TestFrameworkConstants=require(a95_0x575472(0xff)),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a95_0x575472(0xa5)]=createClassLogger('uploadAttachmentsManager');static[a95_0x575472(0xc7)](_0x320ccc,_0x16c4bd=![]){const _0x775bef=a95_0x575472,_0x4afcfa={};_0x4afcfa[_0x775bef(0xb5)]=function(_0x2e27e0,_0x3f0bcb){return _0x2e27e0/_0x3f0bcb;},_0x4afcfa[_0x775bef(0x89)]=function(_0x2b41d2,_0x560f3a){return _0x2b41d2*_0x560f3a;},_0x4afcfa[_0x775bef(0xac)]=function(_0x4c8843,_0x47b0d6){return _0x4c8843>_0x47b0d6;},_0x4afcfa[_0x775bef(0xbf)]=_0x775bef(0xec),_0x4afcfa[_0x775bef(0x8c)]='File\x20downloaded\x20to:\x20%s',_0x4afcfa['QATmx']=function(_0x155f4e,_0x1cc36c){return _0x155f4e===_0x1cc36c;},_0x4afcfa['JYHPP']='finish',_0x4afcfa['oSFQe']=_0x775bef(0x95),_0x4afcfa['WTxAB']=_0x775bef(0xfe),_0x4afcfa[_0x775bef(0xb8)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x4afcfa['PRDyq']=_0x775bef(0xad),_0x4afcfa[_0x775bef(0x108)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x4afcfa[_0x775bef(0xf0)]=_0x775bef(0xea),_0x4afcfa[_0x775bef(0xa6)]=_0x775bef(0xb6),_0x4afcfa[_0x775bef(0x9a)]=function(_0x225413,_0xdd5e8f){return _0x225413===_0xdd5e8f;},_0x4afcfa['IvKzm']=_0x775bef(0x98),_0x4afcfa[_0x775bef(0x109)]=_0x775bef(0xd7),_0x4afcfa[_0x775bef(0xdb)]=_0x775bef(0x8b),_0x4afcfa[_0x775bef(0xa4)]=_0x775bef(0xaf),_0x4afcfa[_0x775bef(0xc2)]=_0x775bef(0xc1),_0x4afcfa['pQlQv']=function(_0x122983,_0xe5a29b){return _0x122983/_0xe5a29b;},_0x4afcfa[_0x775bef(0xd5)]=function(_0x585c57,_0x207a65){return _0x585c57*_0x207a65;},_0x4afcfa[_0x775bef(0x84)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x135f66=_0x4afcfa;this[_0x775bef(0xa5)][_0x775bef(0x88)](util[_0x775bef(0xcc)](_0x135f66[_0x775bef(0xb8)],_0x320ccc));const _0x2fa4c7=os['homedir'](),_0x4fe864=path['join'](_0x2fa4c7,_0x135f66[_0x775bef(0xb7)]);!fs[_0x775bef(0x83)](_0x4fe864)&&(this[_0x775bef(0xa5)][_0x775bef(0x88)](util[_0x775bef(0xcc)](_0x135f66['cHQqy'],_0x4fe864)),fs[_0x775bef(0xa7)](_0x4fe864),this[_0x775bef(0xa5)][_0x775bef(0x88)](util[_0x775bef(0xcc)](_0x135f66[_0x775bef(0xf0)],_0x4fe864)));const _0x54638f=BrowserstackCLI[_0x775bef(0xe7)]()[_0x775bef(0x101)][_0x775bef(0xd2)]?.[_0x775bef(0x90)]?.[_0x775bef(0xc6)]()?.['buildHashedId'],_0x410149=path[_0x775bef(0xfc)](_0x4fe864,_0x54638f);!fs[_0x775bef(0x83)](_0x410149)&&(fs[_0x775bef(0xa7)](_0x410149),this['logger'][_0x775bef(0x88)](util['format'](_0x135f66[_0x775bef(0xa6)],_0x410149)));if(_0x135f66[_0x775bef(0x9a)](_0x320ccc[_0x775bef(0xaa)](),'')){this[_0x775bef(0xa5)][_0x775bef(0x88)](util['format'](_0x135f66[_0x775bef(0xfb)]));return;}if(_0x320ccc['startsWith'](_0x135f66[_0x775bef(0x109)])||_0x320ccc[_0x775bef(0xbe)](_0x135f66[_0x775bef(0xdb)])){const _0x313f76=_0x320ccc['startsWith'](_0x135f66[_0x775bef(0x109)])?https:http,_0x14ae91=path[_0x775bef(0xf7)](_0x320ccc),_0x56e74a=path[_0x775bef(0xfc)](_0x410149,_0x14ae91),_0x107ee6=fs[_0x775bef(0xf2)](_0x56e74a);_0x313f76[_0x775bef(0xe3)](_0x320ccc,_0x2849cf=>{const _0x482212=_0x775bef,_0x16f245={'kvLLG':function(_0x4d00d7,_0x408ad0){const _0x303076=a95_0x107e;return _0x135f66[_0x303076(0xb5)](_0x4d00d7,_0x408ad0);},'qsTEj':function(_0x3e22ae,_0x27bc23){const _0x38ea5d=a95_0x107e;return _0x135f66[_0x38ea5d(0x89)](_0x3e22ae,_0x27bc23);},'XTtgf':function(_0x3f1f81,_0xa7f91a){const _0x3c2279=a95_0x107e;return _0x135f66[_0x3c2279(0xac)](_0x3f1f81,_0xa7f91a);},'ZSzSS':_0x135f66[_0x482212(0xbf)],'HvMPR':_0x135f66[_0x482212(0x8c)]};if(_0x135f66[_0x482212(0xc4)](_0x2849cf[_0x482212(0xdc)],0xc8))_0x2849cf[_0x482212(0xd6)](_0x107ee6),_0x107ee6['on'](_0x135f66[_0x482212(0xca)],()=>{const _0x118f8e=_0x482212;_0x107ee6[_0x118f8e(0xd3)]();const _0x30f8e5=fs[_0x118f8e(0x8f)](_0x56e74a),_0x4d0e48=_0x16f245[_0x118f8e(0x81)](_0x30f8e5['size'],_0x16f245[_0x118f8e(0xfa)](0x400,0x400));if(_0x16f245[_0x118f8e(0xcf)](_0x4d0e48,0x64)){this['logger'][_0x118f8e(0x88)](util[_0x118f8e(0xcc)](_0x16f245['ZSzSS'],_0x4d0e48['toFixed'](0x2))),fs[_0x118f8e(0xe8)](_0x56e74a);return;}this[_0x118f8e(0xa5)][_0x118f8e(0x88)](util['format'](_0x16f245['HvMPR'],_0x56e74a)),uploadAttachmentsManager['trackFile'](_0x56e74a,_0x16c4bd);});else{this[_0x482212(0xa5)][_0x482212(0x88)](util[_0x482212(0xcc)](_0x135f66[_0x482212(0xc9)],_0x2849cf[_0x482212(0xdc)])),_0x107ee6[_0x482212(0xd3)](),fs[_0x482212(0xe8)](_0x56e74a);return;}})['on'](_0x135f66['hvYAR'],_0x27a2ce=>{const _0x2fef99=_0x775bef;this[_0x2fef99(0xa5)][_0x2fef99(0x88)](util[_0x2fef99(0xcc)](_0x135f66[_0x2fef99(0xb4)],_0x27a2ce[_0x2fef99(0x86)])),_0x107ee6[_0x2fef99(0xd3)](),fs[_0x2fef99(0xe8)](_0x56e74a);return;});}else{if(!fs['existsSync'](_0x320ccc)){this[_0x775bef(0xa5)][_0x775bef(0x88)](util['format'](_0x135f66[_0x775bef(0xc2)],_0x320ccc));return;}const _0x4ff29c=fs[_0x775bef(0x8f)](_0x320ccc),_0x37074c=_0x135f66[_0x775bef(0xa3)](_0x4ff29c[_0x775bef(0x96)],_0x135f66['HpImr'](0x400,0x400));if(_0x135f66[_0x775bef(0xac)](_0x37074c,0x64)){this['logger'][_0x775bef(0x88)](util[_0x775bef(0xcc)](_0x135f66[_0x775bef(0x84)],_0x37074c[_0x775bef(0xbd)](0x2)));return;}const _0x5ad976=path[_0x775bef(0xf7)](_0x320ccc),_0x2f9087=path['join'](_0x410149,_0x5ad976);fs[_0x775bef(0xa1)](_0x320ccc,_0x2f9087),uploadAttachmentsManager[_0x775bef(0xd1)](_0x2f9087,_0x16c4bd);}}static[a95_0x575472(0xd1)](_0x2b9b3e,_0x3e7c66){const _0x391cfd=a95_0x575472,_0x2a60dd={'goBxf':function(_0x332d1a,_0x2f4b76){return _0x332d1a(_0x2f4b76);},'bUTQt':'./browserstackCLI','zTzSv':_0x391cfd(0xf1),'lqUjl':function(_0x14731d,_0x507c8b){return _0x14731d===_0x507c8b;},'XxiRT':_0x391cfd(0xb2),'tTjBE':_0x391cfd(0xdf),'RgQeI':_0x391cfd(0xf8),'CqCin':_0x391cfd(0xee),'Mnadf':_0x391cfd(0xe1),'YXOks':function(_0x3c4327,_0x4bffbc){return _0x3c4327(_0x4bffbc);},'NMJRL':_0x391cfd(0x9e),'vmUtG':_0x391cfd(0xa8),'LXVqR':_0x391cfd(0x104),'pIfBb':_0x391cfd(0x8a),'wCcbG':_0x391cfd(0xd8)};try{let _0x423d69;const _0x1204e7=global['__workerDetails']?.[_0x391cfd(0xf4)]?.['testInfo'],_0x530483=_0x2a60dd[_0x391cfd(0xf3)](require,_0x2a60dd[_0x391cfd(0xeb)]),_0x1e4f18=_0x2a60dd[_0x391cfd(0xf3)](require,_0x2a60dd['zTzSv']),_0x39cb81=_0x530483['getInstance']()['isRunning']()&&_0x2a60dd['lqUjl'](_0x1e4f18[_0x391cfd(0x8d)]()?.[_0x391cfd(0x106)]?.[_0x391cfd(0x103)](),_0x2a60dd['XxiRT']);if(_0x39cb81){_0x423d69=global['__jestCurrentTestIdentifier'];if(!_0x423d69){const _0x5b54e6=AutomationFramework[_0x391cfd(0xda)]();_0x423d69=AutomationFramework[_0x391cfd(0xe2)](_0x5b54e6,PlaywrightDriverModule[_0x391cfd(0x99)],'');}this[_0x391cfd(0xa5)][_0x391cfd(0x88)](_0x391cfd(0x107)+_0x423d69);}else{if(!_0x1204e7){const _0x1a67f0=AutomationFramework[_0x391cfd(0xda)]();_0x423d69=AutomationFramework[_0x391cfd(0xe2)](_0x1a67f0,PlaywrightDriverModule[_0x391cfd(0x99)],'');}else _0x423d69=TestInfo[_0x391cfd(0x9d)](_0x1204e7,_0x1204e7['retry']);this['logger'][_0x391cfd(0x88)](_0x391cfd(0xba)+_0x423d69);}if(!_0x423d69){this[_0x391cfd(0xa5)]['debug'](_0x2a60dd[_0x391cfd(0xb0)]);return;}const _0x23792c={[TestFrameworkConstants[_0x391cfd(0xde)]]:fs['statSync'](_0x2b9b3e)[_0x391cfd(0x96)],[TestFrameworkConstants[_0x391cfd(0xa0)]]:path[_0x391cfd(0xf7)](_0x2b9b3e),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x2b9b3e,[TestFrameworkConstants[_0x391cfd(0xe5)]]:_0x3e7c66?_0x2a60dd['RgQeI']:_0x2a60dd[_0x391cfd(0x9b)]};if(_0x39cb81){const _0x33cd84=_0x530483[_0x391cfd(0xe7)]()[_0x391cfd(0xcb)]();if(!_0x33cd84){this[_0x391cfd(0xa5)][_0x391cfd(0x88)](_0x2a60dd[_0x391cfd(0xbc)]);return;}const _0x2dce57=_0x2a60dd[_0x391cfd(0xfd)](require,_0x2a60dd[_0x391cfd(0x85)]),_0x39edf5=_0x2a60dd[_0x391cfd(0xf3)](require,_0x2a60dd[_0x391cfd(0x92)]),_0x4ee72e=_0x33cd84[_0x391cfd(0x94)](_0x2dce57[_0x391cfd(0xe0)],_0x39edf5[_0x391cfd(0xb1)]);if(!_0x4ee72e){this[_0x391cfd(0xa5)][_0x391cfd(0x88)](_0x2a60dd['LXVqR']);return;}const _0x273476=_0x4ee72e[_0x391cfd(0x9f)]()[_0x391cfd(0xe3)](_0x423d69)||{},_0xc36762=_0x273476[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3aaf7c={..._0xc36762};_0x3aaf7c[_0x2b9b3e]=_0x23792c;const _0x5e706b=_0x3aaf7c,_0xf4fae0={[TestFrameworkConstants[_0x391cfd(0xd4)]]:_0x5e706b},_0x3cd622={};_0x3cd622[_0x423d69]=_0xf4fae0,_0x4ee72e[_0x391cfd(0x82)](_0x3cd622),this[_0x391cfd(0xa5)]['debug']('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x423d69+',\x20filepath:\x20'+_0x2b9b3e);}else{const _0x6d23ff=TestInfo[_0x391cfd(0xe6)](_0x423d69),_0x2b97b3=_0x6d23ff[TestFrameworkConstants[_0x391cfd(0xd4)]]||{};_0x2b97b3[_0x2b9b3e]=_0x23792c,_0x6d23ff[TestFrameworkConstants[_0x391cfd(0xd4)]]=_0x2b97b3,TestInfo[_0x391cfd(0xab)](_0x423d69,_0x6d23ff),this[_0x391cfd(0xa5)][_0x391cfd(0x88)](_0x391cfd(0xef)+_0x423d69+_0x391cfd(0x9c)+_0x2b9b3e);}this[_0x391cfd(0xa5)]['debug'](util['format'](_0x2a60dd['pIfBb'],_0x2b9b3e));}catch(_0x386179){this[_0x391cfd(0xa5)][_0x391cfd(0x88)](util[_0x391cfd(0xcc)](_0x2a60dd[_0x391cfd(0xa2)],_0x386179[_0x391cfd(0x86)]));}}static[a95_0x575472(0xc8)](){const _0x22dfd9=a95_0x575472,_0x37fa1f={};_0x37fa1f[_0x22dfd9(0x102)]=_0x22dfd9(0xad),_0x37fa1f[_0x22dfd9(0xe4)]=_0x22dfd9(0x97),_0x37fa1f[_0x22dfd9(0x8e)]=_0x22dfd9(0xa9);const _0x1e4b32=_0x37fa1f,_0x3bd63d=os[_0x22dfd9(0xcd)](),_0x137092=path['join'](_0x3bd63d,_0x1e4b32[_0x22dfd9(0x102)]);if(!fs[_0x22dfd9(0x83)](_0x137092))return;const _0x186aad=BrowserstackCLI[_0x22dfd9(0xe7)]()[_0x22dfd9(0x101)][_0x22dfd9(0xd2)]?.[_0x22dfd9(0x90)]?.['toObject']()?.[_0x22dfd9(0xb3)],_0x5d2623=_0x186aad?path[_0x22dfd9(0xfc)](_0x137092,_0x186aad):null;if(!_0x5d2623||!fs[_0x22dfd9(0x83)](_0x5d2623)){this['logger'][_0x22dfd9(0x88)](util[_0x22dfd9(0xcc)](_0x1e4b32[_0x22dfd9(0xe4)],_0x186aad));return;}const _0x36416d={};_0x36416d[_0x22dfd9(0xf5)]=!![],_0x36416d[_0x22dfd9(0xe9)]=!![],fs[_0x22dfd9(0xf6)](_0x5d2623,_0x36416d),this[_0x22dfd9(0xa5)][_0x22dfd9(0x88)](util[_0x22dfd9(0xcc)](_0x1e4b32[_0x22dfd9(0x8e)]));}}module['exports']=uploadAttachmentsManager;
1
+ function a95_0x3600(){const _0x1f0a9e=['wCxNM','Scqph','XMgsu','unlinkSync','get','KEY_FILE_NAME','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','JiYLk','.browserstack','ccPcd','ySTjb','https://','BQMPD','Cleared\x20attachment\x20folder','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','join','pipe','vNheV','uploadAttachmentsManager','homedir','statusCode','close','7CUhnUU','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','util','__jestCurrentTestIdentifier','logger','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','testhubConfig','dLyoX','toLowerCase','getTestIdentifierFromTestInfo','statSync','NCfCx','5845374KQmnDf','getTestFramework','testInfo','UASav','path','mkdirSync','./browserstackCLI','JbWQC','./TestInfo','sIXTE','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','trackFile','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','retry','tHLeJ','Attachment\x20recevied\x20for\x20path:\x20%s','trim','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','TEST','4MazCGs','Fdpef','3sWcyJG','1768135ZJDXGT','ZcABI','1389066gFktFz','./framework/constants/testFrameworkConstants','7001307SKfwjJ','buildHashedId','Created\x20.browserstack\x20folder\x20at:\x20%s','./state/hookState','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','KEY_FILE_PATH','format','MqoeL','Created\x20folder:\x20%s','force',',\x20filepath:\x20','finish','koBua','GDlyf','toFixed','File\x20downloaded\x20to:\x20%s','getTrackedInstance','copyFileSync','uploadAttachments','../../helpers/classLogger.js','GKraj','createWriteStream','message','./modules/playwrightDriverModule','xwHqR','http://','isRunning','resolveInstance','basename','toObject','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','size','KEY_TEST_ATTACHMENTS','vCwle','oHOIE','2005502kgwnGk','KEY_TEST_ID','getState','TestHubModule','currentTest','existsSync','DAoVE','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','./state/testFrameworkState','modules','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','TestLevel','debug','getAllData','recursive','getTestFrameworkDetail','./framework/automationFramework','RzUKo','BuildLevel','getInstance','NdRNZ','11353880fsAPlM','addMultipleEntries','jfRhg','jest','startsWith','oiqpl','rmSync','4557490lrEVkN','LmXdH'];a95_0x3600=function(){return _0x1f0a9e;};return a95_0x3600();}const a95_0x4783b2=a95_0xb933;(function(_0x624851,_0x35906f){const _0x5cdc32=a95_0xb933,_0x47a3c9=_0x624851();while(!![]){try{const _0x4a8f6a=parseInt(_0x5cdc32(0x16b))/0x1+parseInt(_0x5cdc32(0x113))/0x2*(-parseInt(_0x5cdc32(0x168))/0x3)+-parseInt(_0x5cdc32(0x166))/0x4*(parseInt(_0x5cdc32(0x169))/0x5)+parseInt(_0x5cdc32(0x153))/0x6*(parseInt(_0x5cdc32(0x147))/0x7)+-parseInt(_0x5cdc32(0x128))/0x8+parseInt(_0x5cdc32(0x16d))/0x9+parseInt(_0x5cdc32(0x12f))/0xa;if(_0x4a8f6a===_0x35906f)break;else _0x47a3c9['push'](_0x47a3c9['shift']());}catch(_0x28bf03){_0x47a3c9['push'](_0x47a3c9['shift']());}}}(a95_0x3600,0xc886a));const os=require('os'),fs=require('fs'),path=require(a95_0x4783b2(0x157)),util=require(a95_0x4783b2(0x149)),BrowserstackCLI=require(a95_0x4783b2(0x159)),https=require('https'),http=require('http'),AutomationFramework=require(a95_0x4783b2(0x123)),PlaywrightDriverModule=require(a95_0x4783b2(0x184)),TestInfo=require(a95_0x4783b2(0x15b)),TestFrameworkConstants=require(a95_0x4783b2(0x16c)),{createClassLogger}=require(a95_0x4783b2(0x180));function a95_0xb933(_0x3657aa,_0x2a12c6){const _0x3600c3=a95_0x3600();return a95_0xb933=function(_0xb93353,_0x436e65){_0xb93353=_0xb93353-0x113;let _0x131ce5=_0x3600c3[_0xb93353];return _0x131ce5;},a95_0xb933(_0x3657aa,_0x2a12c6);}class uploadAttachmentsManager{static ['logger']=createClassLogger(a95_0x4783b2(0x143));static[a95_0x4783b2(0x17f)](_0x3e2621,_0x39752e=![]){const _0xc67f2=a95_0x4783b2,_0x891117={};_0x891117['meAtY']=function(_0x2e6d2b,_0x181046){return _0x2e6d2b/_0x181046;},_0x891117['ySTjb']=function(_0x1bd16e,_0x1bd901){return _0x1bd16e*_0x1bd901;},_0x891117['JbWQC']=function(_0x217f25,_0x11ffc3){return _0x217f25>_0x11ffc3;},_0x891117[_0xc67f2(0x17a)]=_0xc67f2(0x18b),_0x891117['AYtze']=_0xc67f2(0x17c),_0x891117[_0xc67f2(0x127)]=function(_0x5bef22,_0x1d2c76){return _0x5bef22===_0x1d2c76;},_0x891117[_0xc67f2(0x119)]=_0xc67f2(0x178),_0x891117['Riorh']=_0xc67f2(0x13f),_0x891117[_0xc67f2(0x142)]=_0xc67f2(0x14c),_0x891117[_0xc67f2(0x167)]=_0xc67f2(0x162),_0x891117[_0xc67f2(0x14e)]=_0xc67f2(0x139),_0x891117[_0xc67f2(0x130)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x891117[_0xc67f2(0x132)]=_0xc67f2(0x16f),_0x891117[_0xc67f2(0x124)]=_0xc67f2(0x175),_0x891117[_0xc67f2(0x12a)]=function(_0x112877,_0x3a9fbd){return _0x112877===_0x3a9fbd;},_0x891117[_0xc67f2(0x179)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x891117[_0xc67f2(0x138)]=_0xc67f2(0x13c),_0x891117['GGusU']=_0xc67f2(0x186),_0x891117[_0xc67f2(0x133)]='error',_0x891117[_0xc67f2(0x16a)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x891117['bBYiS']=function(_0x3c27ab,_0x51f742){return _0x3c27ab/_0x51f742;},_0x891117[_0xc67f2(0x161)]=_0xc67f2(0x148);const _0x96c7a1=_0x891117;this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1['Fdpef'],_0x3e2621));const _0x5f2490=os[_0xc67f2(0x144)](),_0x43a5f9=path['join'](_0x5f2490,_0x96c7a1[_0xc67f2(0x14e)]);!fs[_0xc67f2(0x118)](_0x43a5f9)&&(this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util['format'](_0x96c7a1[_0xc67f2(0x130)],_0x43a5f9)),fs['mkdirSync'](_0x43a5f9),this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util['format'](_0x96c7a1[_0xc67f2(0x132)],_0x43a5f9)));const _0x27b3e0=BrowserstackCLI['getInstance']()[_0xc67f2(0x11c)]['TestHubModule']?.[_0xc67f2(0x14d)]?.[_0xc67f2(0x18a)]()?.[_0xc67f2(0x16e)],_0x1b87dd=path[_0xc67f2(0x140)](_0x43a5f9,_0x27b3e0);!fs[_0xc67f2(0x118)](_0x1b87dd)&&(fs[_0xc67f2(0x158)](_0x1b87dd),this['logger'][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1[_0xc67f2(0x124)],_0x1b87dd)));if(_0x96c7a1[_0xc67f2(0x12a)](_0x3e2621[_0xc67f2(0x163)](),'')){this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1['koBua']));return;}if(_0x3e2621['startsWith'](_0x96c7a1[_0xc67f2(0x138)])||_0x3e2621[_0xc67f2(0x12c)](_0x96c7a1['GGusU'])){const _0x2e1e73=_0x3e2621[_0xc67f2(0x12c)](_0x96c7a1[_0xc67f2(0x138)])?https:http,_0x3d948e=path[_0xc67f2(0x189)](_0x3e2621),_0x586f2c=path['join'](_0x1b87dd,_0x3d948e),_0x54f643=fs[_0xc67f2(0x182)](_0x586f2c);_0x2e1e73[_0xc67f2(0x135)](_0x3e2621,_0x1fc3cc=>{const _0x338ba6=_0xc67f2;if(_0x96c7a1[_0x338ba6(0x127)](_0x1fc3cc[_0x338ba6(0x145)],0xc8))_0x1fc3cc[_0x338ba6(0x141)](_0x54f643),_0x54f643['on'](_0x96c7a1[_0x338ba6(0x119)],()=>{const _0x1d703f=_0x338ba6;_0x54f643['close']();const _0x33c618=fs[_0x1d703f(0x151)](_0x586f2c),_0x2039c5=_0x96c7a1['meAtY'](_0x33c618[_0x1d703f(0x18c)],_0x96c7a1[_0x1d703f(0x13b)](0x400,0x400));if(_0x96c7a1[_0x1d703f(0x15a)](_0x2039c5,0x64)){this[_0x1d703f(0x14b)]['debug'](util[_0x1d703f(0x173)](_0x96c7a1['GDlyf'],_0x2039c5['toFixed'](0x2))),fs['unlinkSync'](_0x586f2c);return;}this[_0x1d703f(0x14b)][_0x1d703f(0x11f)](util[_0x1d703f(0x173)](_0x96c7a1['AYtze'],_0x586f2c)),uploadAttachmentsManager[_0x1d703f(0x15e)](_0x586f2c,_0x39752e);});else{this[_0x338ba6(0x14b)][_0x338ba6(0x11f)](util[_0x338ba6(0x173)](_0x96c7a1['Riorh'],_0x1fc3cc[_0x338ba6(0x145)])),_0x54f643[_0x338ba6(0x146)](),fs[_0x338ba6(0x134)](_0x586f2c);return;}})['on'](_0x96c7a1[_0xc67f2(0x133)],_0x45f475=>{const _0x318749=_0xc67f2;this[_0x318749(0x14b)]['debug'](util[_0x318749(0x173)](_0x96c7a1[_0x318749(0x142)],_0x45f475[_0x318749(0x183)])),_0x54f643['close'](),fs['unlinkSync'](_0x586f2c);return;});}else{if(!fs[_0xc67f2(0x118)](_0x3e2621)){this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1[_0xc67f2(0x16a)],_0x3e2621));return;}const _0x2eec02=fs['statSync'](_0x3e2621),_0x38995b=_0x96c7a1['bBYiS'](_0x2eec02['size'],_0x96c7a1['ySTjb'](0x400,0x400));if(_0x96c7a1[_0xc67f2(0x15a)](_0x38995b,0x64)){this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util['format'](_0x96c7a1[_0xc67f2(0x161)],_0x38995b[_0xc67f2(0x17b)](0x2)));return;}const _0x5600f1=path['basename'](_0x3e2621),_0x27315d=path[_0xc67f2(0x140)](_0x1b87dd,_0x5600f1);fs[_0xc67f2(0x17e)](_0x3e2621,_0x27315d),uploadAttachmentsManager[_0xc67f2(0x15e)](_0x27315d,_0x39752e);}}static[a95_0x4783b2(0x15e)](_0x178d12,_0xcec61d){const _0x30e662=a95_0x4783b2,_0x1e6fe5={'sIXTE':function(_0x2b6158,_0x3b3e7c){return _0x2b6158(_0x3b3e7c);},'xwHqR':_0x30e662(0x159),'vCwle':'./cliUtils','BQMPD':function(_0x1be6b8,_0x335200){return _0x1be6b8===_0x335200;},'oiqpl':_0x30e662(0x12b),'gEjeu':'trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','BHCUU':_0x30e662(0x125),'dtTLo':_0x30e662(0x11e),'cKWLF':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','NCfCx':function(_0x4cfd78,_0x2c919b){return _0x4cfd78(_0x2c919b);},'zPLUF':_0x30e662(0x11b),'GKraj':_0x30e662(0x170),'rXjxB':_0x30e662(0x164),'oHOIE':_0x30e662(0x11d),'wCxNM':_0x30e662(0x15f)};try{let _0x1d82a4;const _0x3c8578=global['__workerDetails']?.[_0x30e662(0x117)]?.[_0x30e662(0x155)],_0x514f4f=_0x1e6fe5['sIXTE'](require,_0x1e6fe5[_0x30e662(0x185)]),_0x4491ec=_0x1e6fe5[_0x30e662(0x15c)](require,_0x1e6fe5[_0x30e662(0x18e)]),_0x28ce6e=_0x514f4f[_0x30e662(0x126)]()[_0x30e662(0x187)]()&&_0x1e6fe5[_0x30e662(0x13d)](_0x4491ec[_0x30e662(0x122)]()?.['name']?.[_0x30e662(0x14f)](),_0x1e6fe5[_0x30e662(0x12d)]);if(_0x28ce6e){_0x1d82a4=global[_0x30e662(0x14a)];if(!_0x1d82a4){const _0x40af03=AutomationFramework['getTrackedInstance']();_0x1d82a4=AutomationFramework[_0x30e662(0x115)](_0x40af03,PlaywrightDriverModule[_0x30e662(0x114)],'');}this[_0x30e662(0x14b)][_0x30e662(0x11f)](_0x30e662(0x15d)+_0x1d82a4);}else{if(!_0x3c8578){const _0x57cd78=AutomationFramework[_0x30e662(0x17d)]();_0x1d82a4=AutomationFramework[_0x30e662(0x115)](_0x57cd78,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x1d82a4=TestInfo[_0x30e662(0x150)](_0x3c8578,_0x3c8578[_0x30e662(0x160)]);this['logger'][_0x30e662(0x11f)](_0x30e662(0x11a)+_0x1d82a4);}if(!_0x1d82a4){this[_0x30e662(0x14b)]['debug'](_0x1e6fe5['gEjeu']);return;}const _0x2f7f1c={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x30e662(0x151)](_0x178d12)[_0x30e662(0x18c)],[TestFrameworkConstants[_0x30e662(0x136)]]:path[_0x30e662(0x189)](_0x178d12),[TestFrameworkConstants[_0x30e662(0x172)]]:_0x178d12,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0xcec61d?_0x1e6fe5['BHCUU']:_0x1e6fe5['dtTLo']};if(_0x28ce6e){const _0x1e7e2c=_0x514f4f[_0x30e662(0x126)]()[_0x30e662(0x154)]();if(!_0x1e7e2c){this['logger'][_0x30e662(0x11f)](_0x1e6fe5['cKWLF']);return;}const _0x495149=_0x1e6fe5['NCfCx'](require,_0x1e6fe5['zPLUF']),_0x23922f=_0x1e6fe5[_0x30e662(0x152)](require,_0x1e6fe5[_0x30e662(0x181)]),_0x488def=_0x1e7e2c[_0x30e662(0x188)](_0x495149[_0x30e662(0x165)],_0x23922f['POST']);if(!_0x488def){this[_0x30e662(0x14b)]['debug'](_0x1e6fe5['rXjxB']);return;}const _0x3fc730=_0x488def[_0x30e662(0x120)]()[_0x30e662(0x135)](_0x1d82a4)||{},_0x4ed685=_0x3fc730[TestFrameworkConstants[_0x30e662(0x18d)]]||{},_0x47e242={..._0x4ed685};_0x47e242[_0x178d12]=_0x2f7f1c;const _0x17dab4=_0x47e242,_0x51b6e2={[TestFrameworkConstants[_0x30e662(0x18d)]]:_0x17dab4},_0x15f860={};_0x15f860[_0x1d82a4]=_0x51b6e2,_0x488def[_0x30e662(0x129)](_0x15f860),this[_0x30e662(0x14b)][_0x30e662(0x11f)](_0x30e662(0x137)+_0x1d82a4+_0x30e662(0x177)+_0x178d12);}else{const _0xeec447=TestInfo['getTestDetails'](_0x1d82a4),_0xfb5f3a=_0xeec447[TestFrameworkConstants[_0x30e662(0x18d)]]||{};_0xfb5f3a[_0x178d12]=_0x2f7f1c,_0xeec447[TestFrameworkConstants[_0x30e662(0x18d)]]=_0xfb5f3a,TestInfo['setTestDetails'](_0x1d82a4,_0xeec447),this['logger'][_0x30e662(0x11f)](_0x30e662(0x171)+_0x1d82a4+_0x30e662(0x177)+_0x178d12);}this[_0x30e662(0x14b)][_0x30e662(0x11f)](util['format'](_0x1e6fe5[_0x30e662(0x18f)],_0x178d12));}catch(_0x529962){this[_0x30e662(0x14b)]['debug'](util[_0x30e662(0x173)](_0x1e6fe5[_0x30e662(0x131)],_0x529962[_0x30e662(0x183)]));}}static['clearAttachments'](){const _0x1b83b1=a95_0x4783b2,_0x457cd2={};_0x457cd2[_0x1b83b1(0x13a)]=_0x1b83b1(0x139),_0x457cd2[_0x1b83b1(0x156)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x457cd2[_0x1b83b1(0x174)]=_0x1b83b1(0x13e);const _0x236d3f=_0x457cd2,_0x130f86=os['homedir'](),_0x54117a=path['join'](_0x130f86,_0x236d3f[_0x1b83b1(0x13a)]);if(!fs[_0x1b83b1(0x118)](_0x54117a))return;const _0x2dd5f1=BrowserstackCLI['getInstance']()[_0x1b83b1(0x11c)][_0x1b83b1(0x116)]?.[_0x1b83b1(0x14d)]?.['toObject']()?.[_0x1b83b1(0x16e)],_0x57dbb3=_0x2dd5f1?path['join'](_0x54117a,_0x2dd5f1):null;if(!_0x57dbb3||!fs['existsSync'](_0x57dbb3)){this['logger'][_0x1b83b1(0x11f)](util[_0x1b83b1(0x173)](_0x236d3f['UASav'],_0x2dd5f1));return;}const _0x531994={};_0x531994[_0x1b83b1(0x121)]=!![],_0x531994[_0x1b83b1(0x176)]=!![],fs[_0x1b83b1(0x12e)](_0x57dbb3,_0x531994),this[_0x1b83b1(0x14b)][_0x1b83b1(0x11f)](util[_0x1b83b1(0x173)](_0x236d3f[_0x1b83b1(0x174)]));}}module['exports']=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a96_0xd628b1=a96_0x170d;function a96_0x170d(_0x3038b5,_0x4ee473){const _0x24c75f=a96_0x24c7();return a96_0x170d=function(_0x170d96,_0x21912c){_0x170d96=_0x170d96-0xdf;let _0x4741e2=_0x24c75f[_0x170d96];return _0x4741e2;},a96_0x170d(_0x3038b5,_0x4ee473);}(function(_0x30bb65,_0x46579a){const _0x5c9566=a96_0x170d,_0x472ad1=_0x30bb65();while(!![]){try{const _0x10d7c9=parseInt(_0x5c9566(0x13c))/0x1+parseInt(_0x5c9566(0x141))/0x2+parseInt(_0x5c9566(0x107))/0x3+parseInt(_0x5c9566(0x146))/0x4*(parseInt(_0x5c9566(0x15c))/0x5)+-parseInt(_0x5c9566(0x11d))/0x6*(parseInt(_0x5c9566(0x159))/0x7)+-parseInt(_0x5c9566(0x117))/0x8*(-parseInt(_0x5c9566(0x158))/0x9)+-parseInt(_0x5c9566(0xfd))/0xa;if(_0x10d7c9===_0x46579a)break;else _0x472ad1['push'](_0x472ad1['shift']());}catch(_0x1c0ab1){_0x472ad1['push'](_0x472ad1['shift']());}}}(a96_0x24c7,0x33aed));function a96_0x24c7(){const _0x32d8b7=['sdrfN','hooks','exception','HookRunStarted','hookId','rdinb','examples','astNodeIds','hpaJZ','failure_type','failure','LhxgQ','rdnrv','3259380Frhzgg','AFTER_EACH','format','finished_at','duration_in_ms','vmipO','nanos','forEach','failureType','finishedAt','985596IQLYdA','OmCqQ','getCucumberHookType','exports','TJiAK','rule','VDibS','wczYD','_gitConfigPath','root','YkucF','scenario','xOSGE','_gitConfigured','AssertionError','feature','24alsjpZ','relative','failed','value','../../../helpers/logger.js','failure_reason','30xILmDN','length','kjTtL','ZqIKn','debug','HookRunFinished','qVmSP','configureGit','failure_data','UKjqI','HIYrN','VEqBS','KlDuG','status','bufNg','sendTestRunEventForCucumber','UMrSZ','passed','OKBpx','includes','cucumber','Exception\x20in\x20createHookData:\x20','zwtva','name','result','hook','match','util','message','getHookRunEventData','createHookData','254823FOZKxp','backtrace','timestamp','nxHzI','SdiLs','301264pBpuSt','find','children','SWnGU','xqCky','848344aezWPq','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','../../../helpers/test-observability/error-handler.js','uri','sourceReference','unknown','VNVpJ','qAgnD','path','getHookResult','RtVrG','toISOString','tags','Lbwow','flatMap','getTestUUID','SKIPPED','strip-ansi','35919KiPYTZ','588581xLRWIf','EytrT','TAuBr','5wMjvhZ','javascript','test','rihnq','tjSKt','sHRAC','pending','BEFORE_EACH','bstack','split','testStepResult','GZCYV','join','testStepFinished','every','uOKXU','wyWuL','YPEEN','cells','getScenarioExamples','tableBody','tagExpression','../../../helpers/helper.js','map','mKrKK','winstonLogger','jnmlh'];a96_0x24c7=function(){return _0x32d8b7;};return a96_0x24c7();}const path=require(a96_0xd628b1(0x14e)),util=require(a96_0xd628b1(0x138)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a96_0xd628b1(0xeb)),logger=require(a96_0xd628b1(0x11b))[a96_0xd628b1(0xee)],{o11yClassErrorHandler}=require(a96_0xd628b1(0x148)),TestInfo=require('../TestInfo.js'),hooksMap={};class CucumberUtils{constructor(){const _0x3a9386=a96_0xd628b1;this[_0x3a9386(0x114)]=![],this[_0x3a9386(0x10f)]=null;}async['createTestFrameworkData'](_0x55b705,_0x2f14d9,_0x192ef5,_0x301e41,_0x4083b4,_0x418c78){const _0xea437c=a96_0xd628b1,_0x390f02={'SdiLs':function(_0x385e14,_0x53216b){return _0x385e14===_0x53216b;},'Lbwow':'FAILED','bufNg':_0xea437c(0x119),'fHWfU':function(_0x27d04d,_0x482d7c){return _0x27d04d===_0x482d7c;},'ucgHJ':_0xea437c(0x156),'PnHXi':'skipped','xOSGE':function(_0x1fafd1,_0x26d7a6){return _0x1fafd1||_0x26d7a6;},'sdrfN':function(_0x132ad7,_0x183843){return _0x132ad7+_0x183843;},'SWnGU':function(_0x50da1b,_0x134ba1){return _0x50da1b+_0x134ba1;},'UMrSZ':function(_0x3c4caa,_0x43e5fa){return _0x3c4caa+_0x43e5fa;},'tjSKt':_0xea437c(0x15e),'OKBpx':_0xea437c(0x15d),'KlDuG':_0xea437c(0x131),'EytrT':_0xea437c(0x162),'rihnq':_0xea437c(0x12e),'umqpP':function(_0x103ab7,_0x293347){return _0x103ab7!==_0x293347;},'jnmlh':function(_0x2c8983,_0x418dd7){return _0x2c8983/_0x418dd7;},'VEqBS':function(_0x203382,_0x37e622){return _0x203382===_0x37e622;},'rdinb':_0xea437c(0x157),'TJiAK':function(_0x1c95cd,_0x16facc){return _0x1c95cd(_0x16facc);},'weXoQ':_0xea437c(0x14b),'wczYD':'AssertionError','SmZOf':'UnhandledError'},{feature:_0x95afb3,scenario:_0x31d137,steps:_0x3d2148,uuid:_0x436138,startedAt:_0x24e77a,finishedAt:_0x5bcbf1}=_0x390f02[_0xea437c(0x113)](_0x55b705,{}),_0x1a9962=this[_0xea437c(0xe8)](_0x301e41,_0x2f14d9);await this[_0xea437c(0x124)]();const _0x5746eb=_0x1a9962?_0x390f02[_0xea437c(0xf0)](_0x390f02[_0xea437c(0x144)](_0x390f02[_0xea437c(0x12d)](_0x2f14d9[_0xea437c(0x134)],'\x20('),_0x1a9962[_0xea437c(0xe1)](',\x20')),')'):_0x2f14d9[_0xea437c(0x134)],_0x4a96fa={'id':_0x4083b4,'uuid':_0x4083b4,'startedAt':_0x24e77a,'finishedAt':_0x5bcbf1,'type':_0x390f02[_0xea437c(0x160)],'body':{'lang':_0x390f02[_0xea437c(0x12f)],'code':null},'name':_0x5746eb,'scopes':[_0x95afb3&&_0x95afb3[_0xea437c(0x134)]?_0x95afb3[_0xea437c(0x134)]:''],'tags':_0x2f14d9['tags']?_0x2f14d9[_0xea437c(0x152)][_0xea437c(0xec)](({name:_0x15e0dc})=>_0x15e0dc):[],'file_name':_0x2f14d9[_0xea437c(0x149)],'location':_0x2f14d9[_0xea437c(0x149)],'vc_filepath':this[_0xea437c(0x10f)]&&_0x2f14d9[_0xea437c(0x149)]?path['relative'](this[_0xea437c(0x10f)],_0x2f14d9[_0xea437c(0x149)]):null,'framework':_0x390f02[_0xea437c(0x129)],'result':_0x390f02[_0xea437c(0x15a)],'meta':{'feature':_0x95afb3,'scenario':_0x31d137,'steps':_0x3d2148,'examples':_0x1a9962},'customRerunParam':{'rerun_name':_0x5746eb}};if(_0x192ef5['testCaseFinished']&&_0x3d2148){const _0x33c373=_0x192ef5['testCaseFinished'];let _0x3fb3bf=_0x390f02[_0xea437c(0x15f)];_0x3d2148[_0xea437c(0xe3)](_0x54d8dd=>{const _0x348ef1=_0xea437c;if(_0x390f02[_0x348ef1(0x140)](_0x54d8dd[_0x348ef1(0x135)],_0x390f02[_0x348ef1(0x153)]))return _0x3fb3bf=_0x390f02[_0x348ef1(0x12b)],_0x33c373[_0x348ef1(0xfa)]=_0x54d8dd['failure'],_0x33c373[_0x348ef1(0x105)]=_0x54d8dd[_0x348ef1(0x105)],![];else{if(_0x390f02['fHWfU'](_0x54d8dd[_0x348ef1(0x135)],_0x390f02['ucgHJ']))return _0x3fb3bf=_0x390f02['PnHXi'],![];}return!![];}),_0x4a96fa[_0xea437c(0x106)]=new Date()[_0xea437c(0x151)](),_0x4a96fa[_0xea437c(0x135)]=_0x3fb3bf;_0x33c373['timestamp']&&_0x390f02['umqpP'](_0x33c373[_0xea437c(0x13e)][_0xea437c(0x103)],undefined)?_0x4a96fa['duration_in_ms']=_0x390f02[_0xea437c(0xef)](_0x33c373[_0xea437c(0x13e)][_0xea437c(0x103)],0xf4240):_0x4a96fa[_0xea437c(0x101)]=undefined;if(_0x390f02[_0xea437c(0x128)](_0x3fb3bf,_0x390f02[_0xea437c(0x12b)])){const {default:_0x2d000b}=await import(_0x390f02[_0xea437c(0xf5)]);_0x4a96fa[_0xea437c(0xfa)]=[{'backtrace':[_0x33c373[_0xea437c(0xfa)]?_0x390f02[_0xea437c(0x10b)](_0x2d000b,_0x33c373[_0xea437c(0xfa)]):_0x390f02['weXoQ']]}],_0x4a96fa[_0xea437c(0x11c)]=_0x33c373['failure']?_0x390f02['TJiAK'](_0x2d000b,_0x33c373[_0xea437c(0xfa)]):_0x33c373[_0xea437c(0x139)],_0x33c373[_0xea437c(0x105)]&&(_0x4a96fa[_0xea437c(0xf9)]=_0x33c373[_0xea437c(0x105)][_0xea437c(0x137)](/AssertError/)?_0x390f02[_0xea437c(0x10e)]:_0x390f02['SmZOf']);}}return _0x4a96fa;}[a96_0xd628b1(0x13a)](_0x1af439,_0x4fe05c,_0x135692,_0x4be58d,_0x4269bc,_0x38fc60){const _0x18843f=a96_0xd628b1,_0x221bad={'xqCky':function(_0x3143b6,_0x198a6c){return _0x3143b6===_0x198a6c;},'qGGJa':_0x18843f(0x122),'LhxgQ':function(_0x1ea434,_0x47eeb2,_0x5d5c9d){return _0x1ea434(_0x47eeb2,_0x5d5c9d);},'RggWa':_0x18843f(0x14a),'YPEEN':_0x18843f(0x149),'udFsn':_0x18843f(0x162),'ZqIKn':_0x18843f(0x136),'OmCqQ':'javascript','rdnrv':function(_0x59dac6,_0x383ef9,_0x292653){return _0x59dac6(_0x383ef9,_0x292653);},'hpaJZ':_0x18843f(0x116),'YkucF':_0x18843f(0x134),'GJMPW':_0x18843f(0x131)};try{if(_0x221bad[_0x18843f(0x145)](_0x135692,_0x221bad['qGGJa'])){const _0x23ad94=new Date()[_0x18843f(0x151)](),_0x249967=hooksMap[_0x4fe05c];if(!_0x249967)return;const _0x5999f8=_0x249967[_0x18843f(0x142)](_0x2195bd=>_0x2195bd['uuid']===_0x4be58d['id']);if(!_0x5999f8)return;const _0x55fa65=this[_0x18843f(0x14f)](_0x1af439,_0x4fe05c);_0x5999f8[_0x18843f(0x135)]=_0x55fa65[_0x18843f(0x12a)],_0x5999f8[_0x18843f(0x100)]=_0x23ad94,_0x5999f8[_0x18843f(0xf9)]=_0x55fa65[_0x18843f(0x105)];const _0x394aa1={};return _0x394aa1[_0x18843f(0x13d)]=_0x55fa65['failureData'],_0x5999f8[_0x18843f(0x125)]=[_0x394aa1],_0x5999f8;}const _0xc6a366=TestInfo[_0x18843f(0x155)](_0x4fe05c),_0x444bc0=_0x1af439[_0x18843f(0xf1)][_0x18843f(0x142)](_0x5eefcd=>_0x5eefcd['id']===_0x4be58d[_0x18843f(0xf4)]),_0x232a9f=_0x221bad[_0x18843f(0xfb)](nestedKeyValue,_0x444bc0,[_0x221bad['RggWa'],_0x221bad[_0x18843f(0xe6)]]),_0x5cd04=new Date()['toISOString'](),_0x6ee17e=_0x221bad['udFsn'],_0x21ffcf=_0x444bc0[_0x18843f(0xea)]?_0x444bc0[_0x18843f(0xea)][_0x18843f(0x165)]('\x20')['filter'](_0x513e80=>_0x513e80[_0x18843f(0x130)]('@')):[],_0x17d6c5={'uuid':_0x4be58d['id'],'type':_0x221bad[_0x18843f(0x120)],'hook_type':_0x38fc60,'name':_0x444bc0['name'],'body':{'lang':_0x221bad[_0x18843f(0x108)],'code':null},'tags':_0x21ffcf,'test_run_id':_0xc6a366,'scope':_0x221bad['rdnrv'](nestedKeyValue,_0x4269bc,[_0x221bad[_0x18843f(0xf8)],_0x221bad[_0x18843f(0x111)]]),'scopes':[_0x221bad[_0x18843f(0xfc)](nestedKeyValue,_0x4269bc,[_0x221bad['hpaJZ'],_0x221bad[_0x18843f(0x111)]])||''],'file_name':_0x232a9f,'location':_0x232a9f,'vc_filepath':this[_0x18843f(0x10f)]?path[_0x18843f(0x118)](this['_gitConfigPath'],_0x232a9f):null,'result':_0x6ee17e,'started_at':_0x5cd04,'framework':_0x221bad['GJMPW']};return _0x17d6c5;}catch(_0x4fe647){logger[_0x18843f(0x121)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x4fe647)+'\x20');}}async[a96_0xd628b1(0x13b)](_0x3fcc85,_0x52334b,_0x3c055f,_0x3fcee9,_0x539c04,_0x2143e1){const _0x7fac87=a96_0xd628b1,_0x2b984f={'qAgnD':function(_0x814fa,_0x946c83){return _0x814fa===_0x946c83;},'CQsln':_0x7fac87(0xf3),'BNoJK':function(_0x4efe55,_0x408e79,_0x53d7ea){return _0x4efe55(_0x408e79,_0x53d7ea);},'uGsqp':_0x7fac87(0x14a),'vmipO':'uri','VDibS':_0x7fac87(0x147),'HIYrN':function(_0x54d91d,_0x483b2e){return _0x54d91d===_0x483b2e;},'kjTtL':_0x7fac87(0x164)};try{const _0x53f245=_0x3fcee9[_0x7fac87(0x142)](_0x14b0d9=>_0x14b0d9['id']===_0x539c04);if(!_0x53f245[_0x7fac87(0xf4)])return;const _0x47e679=this[_0x7fac87(0x109)](_0x3fcee9,_0x53f245),_0x4db675=this[_0x7fac87(0x13a)](_0x3fcc85,_0x52334b,_0x3c055f,_0x53f245,_0x2143e1,_0x47e679);if(!_0x4db675)return;_0x2b984f[_0x7fac87(0x14d)](_0x3c055f,_0x2b984f['CQsln'])&&(hooksMap[_0x52334b]?hooksMap[_0x52334b]['push'](_0x4db675):hooksMap[_0x52334b]=[_0x4db675]);const _0x5bb8db=_0x3fcc85[_0x7fac87(0xf1)][_0x7fac87(0x142)](_0x509aaf=>_0x509aaf['id']===_0x53f245[_0x7fac87(0xf4)]),_0x4216b0=_0x2b984f['BNoJK'](nestedKeyValue,_0x5bb8db,[_0x2b984f['uGsqp'],_0x2b984f[_0x7fac87(0x102)]]);if(!_0x4216b0)return;else{if(_0x4216b0[_0x7fac87(0x130)](_0x2b984f[_0x7fac87(0x10d)]))return;}if(_0x2b984f[_0x7fac87(0x127)](_0x4db675[_0x7fac87(0x134)],_0x2b984f[_0x7fac87(0x11f)]))return;return _0x4db675;}catch(_0x7abe17){logger['debug'](_0x7fac87(0x132)+util[_0x7fac87(0xff)](_0x7abe17)+'\x20');}}['getHookResult'](_0x57b75e,_0x2a53c7){const _0x3049bd=a96_0xd628b1,_0x40d333={};_0x40d333[_0x3049bd(0x14c)]=function(_0x312dd6,_0x4f3f8d){return _0x312dd6===_0x4f3f8d;},_0x40d333[_0x3049bd(0x161)]=_0x3049bd(0x119),_0x40d333['qVmSP']=function(_0x5ed5ce,_0x8f6b1b){return _0x5ed5ce===_0x8f6b1b;},_0x40d333['TAuBr']='UnhandledError',_0x40d333[_0x3049bd(0x13f)]=_0x3049bd(0x115),_0x40d333[_0x3049bd(0x133)]=function(_0x1ef3b7,_0x94c4b1){return _0x1ef3b7||_0x94c4b1;};const _0x23abef=_0x40d333,_0x3cca80=_0x57b75e[_0x3049bd(0xe2)][_0x2a53c7][_0x3049bd(0xdf)];let _0x3b423b,_0xf498a7;return _0x3cca80&&_0x23abef[_0x3049bd(0x14c)](_0x3cca80[_0x3049bd(0x12a)]['toString']()['toLowerCase'](),_0x23abef[_0x3049bd(0x161)])&&(_0x3b423b=_0x23abef['qVmSP'](_0x3cca80['exception'],undefined)?_0x3cca80[_0x3049bd(0x139)]:_0x3cca80['exception'][_0x3049bd(0x139)],_0xf498a7=_0x23abef[_0x3049bd(0x123)](_0x3cca80[_0x3049bd(0xf2)],undefined)?_0x23abef[_0x3049bd(0x15b)]:_0x3cca80[_0x3049bd(0x139)][_0x3049bd(0x137)](/Assert/)?_0x23abef[_0x3049bd(0x13f)]:_0x23abef[_0x3049bd(0x15b)]),{'status':_0x3cca80[_0x3049bd(0x12a)]['toLowerCase'](),'failureType':_0x23abef[_0x3049bd(0x133)](_0xf498a7,null),'failureData':!_0x3b423b?null:[_0x3b423b]};}[a96_0xd628b1(0x109)](_0x8be04e,_0x41995b){const _0x55c561=a96_0xd628b1,_0x5e08e5={};_0x5e08e5[_0x55c561(0xe0)]=function(_0xb8767b,_0x2056d8){return _0xb8767b===_0x2056d8;},_0x5e08e5[_0x55c561(0x126)]=_0x55c561(0xfe),_0x5e08e5[_0x55c561(0xed)]=_0x55c561(0x163);const _0x274c73=_0x5e08e5;let _0x2a8e1a=![];for(const _0x13993c of _0x8be04e){_0x13993c['pickleStepId']&&(_0x2a8e1a=!![]);if(_0x274c73[_0x55c561(0xe0)](_0x41995b['id'],_0x13993c['id']))return _0x2a8e1a?_0x274c73['UKjqI']:_0x274c73[_0x55c561(0xed)];}}['getScenarioExamples']=(_0xdd630f,_0x53998d)=>{const _0x2a7e0a=a96_0xd628b1,_0x582e12={};_0x582e12[_0x2a7e0a(0xe4)]=function(_0x2aaf31,_0x317e7b){return _0x2aaf31===_0x317e7b;},_0x582e12[_0x2a7e0a(0xe5)]=function(_0x40ec55,_0x2577de){return _0x40ec55>_0x2577de;};const _0x55164b=_0x582e12;if(!(_0x53998d['astNodeIds']&&_0x55164b[_0x2a7e0a(0xe5)](_0x53998d[_0x2a7e0a(0xf7)][_0x2a7e0a(0x11e)],0x1)))return;const _0x2e0fa0=_0x53998d[_0x2a7e0a(0xf7)][0x0],_0x5de2b9=_0x53998d[_0x2a7e0a(0xf7)][0x1],_0x4c3f59=_0xdd630f[_0x2a7e0a(0x116)]&&_0xdd630f[_0x2a7e0a(0x116)][_0x2a7e0a(0x143)]?_0xdd630f['feature'][_0x2a7e0a(0x143)]:undefined;let _0x584367=[];_0x4c3f59&&_0x4c3f59[_0x2a7e0a(0x104)](_0x4a2d6=>{const _0x4ef489=_0x2a7e0a,_0x10709c={'RtVrG':function(_0x462f2c,_0x35e760){return _0x55164b['uOKXU'](_0x462f2c,_0x35e760);}};if(_0x4a2d6[_0x4ef489(0x10c)])_0x4a2d6['rule'][_0x4ef489(0x143)][_0x4ef489(0x104)](_0x136cc0=>{const _0x33c325=_0x4ef489;if(_0x136cc0[_0x33c325(0x112)]&&_0x10709c[_0x33c325(0x150)](_0x136cc0[_0x33c325(0x112)]['id'],_0x2e0fa0)&&_0x136cc0[_0x33c325(0x112)][_0x33c325(0xf6)]){const _0x39818b=_0x136cc0[_0x33c325(0x112)][_0x33c325(0xf6)][_0x33c325(0x154)](_0xca5e27=>_0xca5e27[_0x33c325(0xe9)])[_0x33c325(0x142)](_0x4afb0f=>_0x4afb0f['id']===_0x5de2b9);let _0x25af8d;_0x39818b&&_0x39818b[_0x33c325(0xe7)]?_0x25af8d=_0x39818b[_0x33c325(0xe7)]['map'](_0x1ae6eb=>_0x1ae6eb[_0x33c325(0x11a)]):_0x25af8d=[],_0x25af8d&&(_0x584367=_0x25af8d);}});else{if(_0x4a2d6[_0x4ef489(0x112)]&&_0x55164b[_0x4ef489(0xe4)](_0x4a2d6[_0x4ef489(0x112)]['id'],_0x2e0fa0)&&_0x4a2d6['scenario'][_0x4ef489(0xf6)]){const _0x127fec=_0x4a2d6['scenario']['examples'][_0x4ef489(0x154)](_0xf953d1=>_0xf953d1[_0x4ef489(0xe9)])[_0x4ef489(0x142)](_0x53b0c6=>_0x53b0c6['id']===_0x5de2b9);let _0x2d4faa;_0x127fec&&_0x127fec[_0x4ef489(0xe7)]?_0x2d4faa=_0x127fec[_0x4ef489(0xe7)][_0x4ef489(0xec)](_0xd66a2b=>_0xd66a2b[_0x4ef489(0x11a)]):_0x2d4faa=[],_0x2d4faa&&(_0x584367=_0x2d4faa);}}});if(_0x584367[_0x2a7e0a(0x11e)])return _0x584367;return;};async[a96_0xd628b1(0x124)](){const _0x1f4120=a96_0xd628b1,_0x9d12f5={'CQUiJ':function(_0x34c268){return _0x34c268();}};if(this['_gitConfigured'])return this[_0x1f4120(0x10f)];const _0xc6d617=await _0x9d12f5['CQUiJ'](getGitMetaData);_0xc6d617&&(this[_0x1f4120(0x10f)]=_0xc6d617[_0x1f4120(0x110)]),this[_0x1f4120(0x114)]=!![];}}module[a96_0xd628b1(0x10a)]=o11yClassErrorHandler(CucumberUtils,[a96_0xd628b1(0x124),a96_0xd628b1(0xe8),a96_0xd628b1(0x109),a96_0xd628b1(0x14f),'sendHook',a96_0xd628b1(0x13a),a96_0xd628b1(0x12c),'createTestFrameworkData']);
1
+ const a96_0x2c742e=a96_0x3470;(function(_0x85ae34,_0x3d1ba6){const _0x5c5794=a96_0x3470,_0xbd0972=_0x85ae34();while(!![]){try{const _0x5a55cc=-parseInt(_0x5c5794(0x1e2))/0x1+-parseInt(_0x5c5794(0x214))/0x2*(parseInt(_0x5c5794(0x252))/0x3)+parseInt(_0x5c5794(0x253))/0x4+parseInt(_0x5c5794(0x250))/0x5+parseInt(_0x5c5794(0x23b))/0x6*(parseInt(_0x5c5794(0x24b))/0x7)+parseInt(_0x5c5794(0x21e))/0x8+-parseInt(_0x5c5794(0x222))/0x9;if(_0x5a55cc===_0x3d1ba6)break;else _0xbd0972['push'](_0xbd0972['shift']());}catch(_0x12b010){_0xbd0972['push'](_0xbd0972['shift']());}}}(a96_0xdaa6,0x51ae0));function a96_0x3470(_0x399452,_0x1af9e8){const _0xdaa6e7=a96_0xdaa6();return a96_0x3470=function(_0x34709c,_0x39a9d6){_0x34709c=_0x34709c-0x1d3;let _0x728500=_0xdaa6e7[_0x34709c];return _0x728500;},a96_0x3470(_0x399452,_0x1af9e8);}const path=require('path'),util=require(a96_0x2c742e(0x1dc)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a96_0x2c742e(0x209)),logger=require(a96_0x2c742e(0x25d))[a96_0x2c742e(0x225)],{o11yClassErrorHandler}=require(a96_0x2c742e(0x1e8)),TestInfo=require(a96_0x2c742e(0x259)),hooksMap={};function a96_0xdaa6(){const _0x3997af=['failureData','../../../helpers/helper.js','getCucumberHookType','RKSTw','uuid','uri','toLowerCase','getTestUUID','getHookRunEventData','rule','HookRunFinished','tableBody','2zmbqYX','Exception\x20in\x20createHookData:\x20','kmBvH','feature','HMWnX','svwIt','includes','EVenK','ARXUu','forEach','3690152qtGaAK','ptByR','AssertionError','hrpbU','7974738HHWBiO','zkvTH','timestamp','winstonLogger','failed','cells','name','LMAcE','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','UURNv','PkCJe','sendTestRunEventForCucumber','JoOyv','length','astNodeIds','hooks','zpCaH','tags','javascript','hook','pxQjR','tagExpression','testStepResult','GZYgC','QzPYN','132zjCnUc','AlRNY','toString','BEFORE_EACH','eQbwD','relative','root','oxvtB','AFTER_EACH','WTcIY','bstack','ISBwi','EKDfl','_gitConfigPath','FAILED','BIcHJ','110663IPbsZb','scenario','testCaseFinished','filter','YTrvL','2434820TUYLMU','pickleStepId','494466jpQwlC','822828QPAqAP','sendHook','skipped','WwYyt','finished_at','match','../TestInfo.js','etBRn','jIRzB','value','../../../helpers/logger.js','children','NIURk','jSeXE','OhlJD','hookId','backtrace','cucumber','BBPxV','configureGit','testStepFinished','XUZdH','failure_type','UnhandledError','util','failureType','rHYTQ','duration_in_ms','createTestFrameworkData','passed','116274eghdpm','ckACl','BrtDk','XeGyT','find','failure','../../../helpers/test-observability/error-handler.js','BEHKz','debug','exception','RJhvT','_gitConfigured','getHookResult','ZBRfo','toISOString','cLRLA','sourceReference','failure_data','createHookData','nanos','test','UaTrX','result','siiup','finishedAt','SKIPPED','join','status','pending','examples','map','kRTLB','format','every','message','xfviu','getScenarioExamples','rMqcB'];a96_0xdaa6=function(){return _0x3997af;};return a96_0xdaa6();}class CucumberUtils{constructor(){const _0x292325=a96_0x2c742e;this[_0x292325(0x1ed)]=![],this[_0x292325(0x248)]=null;}async[a96_0x2c742e(0x1e0)](_0x36f53b,_0x405982,_0x2292ff,_0x576a38,_0x5ac23c,_0x1f4142){const _0x16e917=a96_0x2c742e,_0x2ab9ca={'WTcIY':function(_0x45fa79,_0x102f15){return _0x45fa79===_0x102f15;},'UURNv':_0x16e917(0x249),'zkvTH':'failed','JoOyv':function(_0x31c3dd,_0x4fda83){return _0x31c3dd===_0x4fda83;},'OcRDG':_0x16e917(0x1fb),'RKSTw':_0x16e917(0x255),'kRTLB':function(_0x10351b,_0x5546a0){return _0x10351b||_0x5546a0;},'EKDfl':function(_0xe664f7,_0x299ca4){return _0xe664f7+_0x299ca4;},'UaTrX':function(_0x37a748,_0x49936e){return _0x37a748+_0x49936e;},'oxvtB':function(_0x44d169,_0x4c583a){return _0x44d169+_0x4c583a;},'nMWbI':_0x16e917(0x1f6),'AlRNY':'javascript','hrpbU':_0x16e917(0x1d5),'EVenK':_0x16e917(0x1fe),'IlSAZ':_0x16e917(0x1e1),'GZYgC':function(_0x8921d9,_0x58a271){return _0x8921d9!==_0x58a271;},'svwIt':function(_0x23fcdf,_0x742a86){return _0x23fcdf/_0x742a86;},'etBRn':'strip-ansi','ptByR':function(_0x19dde8,_0xdbcb4e){return _0x19dde8(_0xdbcb4e);},'XUZdH':'unknown','kmBvH':_0x16e917(0x220),'HFAHh':_0x16e917(0x1db)},{feature:_0x1c1393,scenario:_0x48c478,steps:_0x57460f,uuid:_0x364787,startedAt:_0x210cda,finishedAt:_0xe39f1e}=_0x2ab9ca[_0x16e917(0x201)](_0x36f53b,{}),_0x1a9b3c=this[_0x16e917(0x206)](_0x576a38,_0x405982);await this['configureGit']();const _0x514f5b=_0x1a9b3c?_0x2ab9ca[_0x16e917(0x247)](_0x2ab9ca[_0x16e917(0x1f7)](_0x2ab9ca[_0x16e917(0x242)](_0x405982['name'],'\x20('),_0x1a9b3c[_0x16e917(0x1fc)](',\x20')),')'):_0x405982['name'],_0x19d473={'id':_0x5ac23c,'uuid':_0x5ac23c,'startedAt':_0x210cda,'finishedAt':_0xe39f1e,'type':_0x2ab9ca['nMWbI'],'body':{'lang':_0x2ab9ca[_0x16e917(0x23c)],'code':null},'name':_0x514f5b,'scopes':[_0x1c1393&&_0x1c1393[_0x16e917(0x228)]?_0x1c1393['name']:''],'tags':_0x405982[_0x16e917(0x233)]?_0x405982[_0x16e917(0x233)][_0x16e917(0x200)](({name:_0x30f4a5})=>_0x30f4a5):[],'file_name':_0x405982['uri'],'location':_0x405982[_0x16e917(0x20d)],'vc_filepath':this[_0x16e917(0x248)]&&_0x405982['uri']?path[_0x16e917(0x240)](this[_0x16e917(0x248)],_0x405982['uri']):null,'framework':_0x2ab9ca[_0x16e917(0x221)],'result':_0x2ab9ca[_0x16e917(0x21b)],'meta':{'feature':_0x1c1393,'scenario':_0x48c478,'steps':_0x57460f,'examples':_0x1a9b3c},'customRerunParam':{'rerun_name':_0x514f5b}};if(_0x2292ff['testCaseFinished']&&_0x57460f){const _0x448214=_0x2292ff[_0x16e917(0x24d)];let _0xbb2188=_0x2ab9ca['IlSAZ'];_0x57460f[_0x16e917(0x203)](_0x48640f=>{const _0x279e96=_0x16e917;if(_0x2ab9ca[_0x279e96(0x244)](_0x48640f[_0x279e96(0x1f8)],_0x2ab9ca[_0x279e96(0x22b)]))return _0xbb2188=_0x2ab9ca[_0x279e96(0x223)],_0x448214['failure']=_0x48640f[_0x279e96(0x1e7)],_0x448214[_0x279e96(0x1dd)]=_0x48640f[_0x279e96(0x1dd)],![];else{if(_0x2ab9ca[_0x279e96(0x22e)](_0x48640f[_0x279e96(0x1f8)],_0x2ab9ca['OcRDG']))return _0xbb2188=_0x2ab9ca[_0x279e96(0x20b)],![];}return!![];}),_0x19d473[_0x16e917(0x1fa)]=new Date()['toISOString'](),_0x19d473[_0x16e917(0x1f8)]=_0xbb2188;_0x448214[_0x16e917(0x224)]&&_0x2ab9ca[_0x16e917(0x239)](_0x448214[_0x16e917(0x224)][_0x16e917(0x1f5)],undefined)?_0x19d473[_0x16e917(0x1df)]=_0x2ab9ca[_0x16e917(0x219)](_0x448214[_0x16e917(0x224)][_0x16e917(0x1f5)],0xf4240):_0x19d473[_0x16e917(0x1df)]=undefined;if(_0x2ab9ca[_0x16e917(0x244)](_0xbb2188,_0x2ab9ca['zkvTH'])){const {default:_0x11be28}=await import(_0x2ab9ca[_0x16e917(0x25a)]);_0x19d473[_0x16e917(0x1e7)]=[{'backtrace':[_0x448214[_0x16e917(0x1e7)]?_0x2ab9ca[_0x16e917(0x21f)](_0x11be28,_0x448214[_0x16e917(0x1e7)]):_0x2ab9ca[_0x16e917(0x1d9)]]}],_0x19d473['failure_reason']=_0x448214[_0x16e917(0x1e7)]?_0x2ab9ca['ptByR'](_0x11be28,_0x448214[_0x16e917(0x1e7)]):_0x448214[_0x16e917(0x204)],_0x448214[_0x16e917(0x1dd)]&&(_0x19d473[_0x16e917(0x1da)]=_0x448214['failureType']['match'](/AssertError/)?_0x2ab9ca[_0x16e917(0x216)]:_0x2ab9ca['HFAHh']);}}return _0x19d473;}[a96_0x2c742e(0x210)](_0x1df8af,_0x2b5ff5,_0x3d8b55,_0x5688e8,_0x18467f,_0x3a2f5f){const _0x20200a=a96_0x2c742e,_0x32fda2={'XiGpk':function(_0x5ae3ae,_0x13a146){return _0x5ae3ae===_0x13a146;},'PkCJe':_0x20200a(0x212),'cLRLA':function(_0x26b464,_0x5c3cc8,_0x33223b){return _0x26b464(_0x5c3cc8,_0x33223b);},'pxQjR':_0x20200a(0x1f2),'OhlJD':_0x20200a(0x20d),'rMqcB':_0x20200a(0x1fe),'BIcHJ':_0x20200a(0x235),'oeubs':_0x20200a(0x234),'QzPYN':function(_0x130824,_0x102551,_0x539562){return _0x130824(_0x102551,_0x539562);},'jSeXE':'feature','XeGyT':_0x20200a(0x228),'NIURk':'cucumber'};try{if(_0x32fda2['XiGpk'](_0x3d8b55,_0x32fda2[_0x20200a(0x22c)])){const _0x12f186=new Date()[_0x20200a(0x1f0)](),_0x427a61=hooksMap[_0x2b5ff5];if(!_0x427a61)return;const _0x594655=_0x427a61[_0x20200a(0x1e6)](_0xd64df1=>_0xd64df1[_0x20200a(0x20c)]===_0x5688e8['id']);if(!_0x594655)return;const _0x6c48de=this[_0x20200a(0x1ee)](_0x1df8af,_0x2b5ff5);_0x594655[_0x20200a(0x1f8)]=_0x6c48de[_0x20200a(0x1fd)],_0x594655[_0x20200a(0x257)]=_0x12f186,_0x594655[_0x20200a(0x1da)]=_0x6c48de[_0x20200a(0x1dd)];const _0x497e7c={};return _0x497e7c[_0x20200a(0x1d4)]=_0x6c48de[_0x20200a(0x208)],_0x594655[_0x20200a(0x1f3)]=[_0x497e7c],_0x594655;}const _0x5e0f38=TestInfo[_0x20200a(0x20f)](_0x2b5ff5),_0x9e7f84=_0x1df8af['hooks'][_0x20200a(0x1e6)](_0x27b27d=>_0x27b27d['id']===_0x5688e8[_0x20200a(0x1d3)]),_0x245479=_0x32fda2[_0x20200a(0x1f1)](nestedKeyValue,_0x9e7f84,[_0x32fda2[_0x20200a(0x236)],_0x32fda2[_0x20200a(0x261)]]),_0x337ce1=new Date()[_0x20200a(0x1f0)](),_0x51e1c7=_0x32fda2[_0x20200a(0x207)],_0x33a084=_0x9e7f84[_0x20200a(0x237)]?_0x9e7f84[_0x20200a(0x237)]['split']('\x20')[_0x20200a(0x24e)](_0x3c12ea=>_0x3c12ea[_0x20200a(0x21a)]('@')):[],_0x23b5d6={'uuid':_0x5688e8['id'],'type':_0x32fda2[_0x20200a(0x24a)],'hook_type':_0x3a2f5f,'name':_0x9e7f84[_0x20200a(0x228)],'body':{'lang':_0x32fda2['oeubs'],'code':null},'tags':_0x33a084,'test_run_id':_0x5e0f38,'scope':_0x32fda2[_0x20200a(0x23a)](nestedKeyValue,_0x18467f,[_0x32fda2[_0x20200a(0x260)],_0x32fda2[_0x20200a(0x1e5)]]),'scopes':[_0x32fda2[_0x20200a(0x23a)](nestedKeyValue,_0x18467f,[_0x32fda2[_0x20200a(0x260)],_0x32fda2[_0x20200a(0x1e5)]])||''],'file_name':_0x245479,'location':_0x245479,'vc_filepath':this[_0x20200a(0x248)]?path[_0x20200a(0x240)](this[_0x20200a(0x248)],_0x245479):null,'result':_0x51e1c7,'started_at':_0x337ce1,'framework':_0x32fda2[_0x20200a(0x25f)]};return _0x23b5d6;}catch(_0x3d5b68){logger[_0x20200a(0x1ea)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x20200a(0x202)](_0x3d5b68)+'\x20');}}async[a96_0x2c742e(0x1f4)](_0x45ea06,_0x38de7f,_0x4217fa,_0x26b2d7,_0x51ded2,_0x17cac3){const _0x25b8ae=a96_0x2c742e,_0x20cf23={'IfWbp':function(_0x5da773,_0x4d01e1){return _0x5da773===_0x4d01e1;},'hxHjJ':'HookRunStarted','eQbwD':function(_0x3e526d,_0x2faa56,_0x5edb10){return _0x3e526d(_0x2faa56,_0x5edb10);},'jIRzB':_0x25b8ae(0x1f2),'APzVX':'uri','HMWnX':_0x25b8ae(0x22a),'MQZLn':function(_0x403656,_0x12fb49){return _0x403656===_0x12fb49;},'PGfXy':_0x25b8ae(0x245)};try{const _0x854227=_0x26b2d7[_0x25b8ae(0x1e6)](_0xe4bfe=>_0xe4bfe['id']===_0x51ded2);if(!_0x854227[_0x25b8ae(0x1d3)])return;const _0x279a48=this[_0x25b8ae(0x20a)](_0x26b2d7,_0x854227),_0x5afe4c=this[_0x25b8ae(0x210)](_0x45ea06,_0x38de7f,_0x4217fa,_0x854227,_0x17cac3,_0x279a48);if(!_0x5afe4c)return;_0x20cf23['IfWbp'](_0x4217fa,_0x20cf23['hxHjJ'])&&(hooksMap[_0x38de7f]?hooksMap[_0x38de7f]['push'](_0x5afe4c):hooksMap[_0x38de7f]=[_0x5afe4c]);const _0x141127=_0x45ea06[_0x25b8ae(0x231)]['find'](_0x41d742=>_0x41d742['id']===_0x854227[_0x25b8ae(0x1d3)]),_0x2585be=_0x20cf23[_0x25b8ae(0x23f)](nestedKeyValue,_0x141127,[_0x20cf23[_0x25b8ae(0x25b)],_0x20cf23['APzVX']]);if(!_0x2585be)return;else{if(_0x2585be[_0x25b8ae(0x21a)](_0x20cf23[_0x25b8ae(0x218)]))return;}if(_0x20cf23['MQZLn'](_0x5afe4c[_0x25b8ae(0x228)],_0x20cf23['PGfXy']))return;return _0x5afe4c;}catch(_0x3a6e20){logger['debug'](_0x25b8ae(0x215)+util[_0x25b8ae(0x202)](_0x3a6e20)+'\x20');}}[a96_0x2c742e(0x1ee)](_0x5a2649,_0x3db7cc){const _0x426429=a96_0x2c742e,_0x5cfcbb={};_0x5cfcbb[_0x426429(0x24f)]=function(_0xeeb458,_0x134b88){return _0xeeb458===_0x134b88;},_0x5cfcbb[_0x426429(0x1ef)]=_0x426429(0x226),_0x5cfcbb[_0x426429(0x21c)]=function(_0x146a9a,_0x2fcd8c){return _0x146a9a===_0x2fcd8c;},_0x5cfcbb[_0x426429(0x205)]=function(_0x11cfb5,_0x276083){return _0x11cfb5===_0x276083;},_0x5cfcbb[_0x426429(0x246)]=_0x426429(0x1db),_0x5cfcbb[_0x426429(0x229)]=_0x426429(0x220),_0x5cfcbb[_0x426429(0x256)]=function(_0x1b46cf,_0x4cd6c0){return _0x1b46cf||_0x4cd6c0;};const _0x104631=_0x5cfcbb,_0x5b028a=_0x5a2649[_0x426429(0x1d8)][_0x3db7cc][_0x426429(0x238)];let _0x2745e4,_0x31dd5c;return _0x5b028a&&_0x104631[_0x426429(0x24f)](_0x5b028a[_0x426429(0x1fd)][_0x426429(0x23d)]()[_0x426429(0x20e)](),_0x104631[_0x426429(0x1ef)])&&(_0x2745e4=_0x104631['ARXUu'](_0x5b028a[_0x426429(0x1eb)],undefined)?_0x5b028a['message']:_0x5b028a[_0x426429(0x1eb)][_0x426429(0x204)],_0x31dd5c=_0x104631[_0x426429(0x205)](_0x5b028a[_0x426429(0x1eb)],undefined)?_0x104631['ISBwi']:_0x5b028a[_0x426429(0x204)][_0x426429(0x258)](/Assert/)?_0x104631[_0x426429(0x229)]:_0x104631['ISBwi']),{'status':_0x5b028a[_0x426429(0x1fd)][_0x426429(0x20e)](),'failureType':_0x104631[_0x426429(0x256)](_0x31dd5c,null),'failureData':!_0x2745e4?null:[_0x2745e4]};}[a96_0x2c742e(0x20a)](_0xba2032,_0xd88d83){const _0x3079e1=a96_0x2c742e,_0x123e0b={};_0x123e0b[_0x3079e1(0x1e3)]=function(_0x54f927,_0x13a970){return _0x54f927===_0x13a970;},_0x123e0b[_0x3079e1(0x1f9)]=_0x3079e1(0x243),_0x123e0b[_0x3079e1(0x232)]=_0x3079e1(0x23e);const _0x1bbbe9=_0x123e0b;let _0xbfa93c=![];for(const _0x39fd06 of _0xba2032){_0x39fd06[_0x3079e1(0x251)]&&(_0xbfa93c=!![]);if(_0x1bbbe9[_0x3079e1(0x1e3)](_0xd88d83['id'],_0x39fd06['id']))return _0xbfa93c?_0x1bbbe9[_0x3079e1(0x1f9)]:_0x1bbbe9[_0x3079e1(0x232)];}}[a96_0x2c742e(0x206)]=(_0x2863b2,_0x248b5c)=>{const _0x2dd862=a96_0x2c742e,_0xba5191={};_0xba5191[_0x2dd862(0x1e4)]=function(_0x1058d1,_0x2e42d5){return _0x1058d1===_0x2e42d5;},_0xba5191['BEHKz']=function(_0x2741e1,_0x4d631b){return _0x2741e1===_0x4d631b;},_0xba5191[_0x2dd862(0x1ec)]=function(_0x262b18,_0x347483){return _0x262b18>_0x347483;};const _0x55954f=_0xba5191;if(!(_0x248b5c['astNodeIds']&&_0x55954f[_0x2dd862(0x1ec)](_0x248b5c[_0x2dd862(0x230)][_0x2dd862(0x22f)],0x1)))return;const _0x32f757=_0x248b5c['astNodeIds'][0x0],_0x181270=_0x248b5c[_0x2dd862(0x230)][0x1],_0x50ae62=_0x2863b2[_0x2dd862(0x217)]&&_0x2863b2['feature']['children']?_0x2863b2['feature'][_0x2dd862(0x25e)]:undefined;let _0xe8944a=[];_0x50ae62&&_0x50ae62[_0x2dd862(0x21d)](_0x8b571b=>{const _0x192b5b=_0x2dd862,_0x101b97={'rHYTQ':function(_0x267885,_0x45458b){return _0x55954f['BrtDk'](_0x267885,_0x45458b);}};if(_0x8b571b[_0x192b5b(0x211)])_0x8b571b[_0x192b5b(0x211)][_0x192b5b(0x25e)][_0x192b5b(0x21d)](_0x3c7356=>{const _0x4b51ba=_0x192b5b;if(_0x3c7356[_0x4b51ba(0x24c)]&&_0x101b97[_0x4b51ba(0x1de)](_0x3c7356[_0x4b51ba(0x24c)]['id'],_0x32f757)&&_0x3c7356[_0x4b51ba(0x24c)][_0x4b51ba(0x1ff)]){const _0x2aa493=_0x3c7356[_0x4b51ba(0x24c)][_0x4b51ba(0x1ff)]['flatMap'](_0x5b3010=>_0x5b3010[_0x4b51ba(0x213)])[_0x4b51ba(0x1e6)](_0x2deb6b=>_0x2deb6b['id']===_0x181270);let _0x4567ee;_0x2aa493&&_0x2aa493['cells']?_0x4567ee=_0x2aa493['cells'][_0x4b51ba(0x200)](_0x56bb41=>_0x56bb41['value']):_0x4567ee=[],_0x4567ee&&(_0xe8944a=_0x4567ee);}});else{if(_0x8b571b[_0x192b5b(0x24c)]&&_0x55954f[_0x192b5b(0x1e9)](_0x8b571b[_0x192b5b(0x24c)]['id'],_0x32f757)&&_0x8b571b[_0x192b5b(0x24c)][_0x192b5b(0x1ff)]){const _0x45f9d3=_0x8b571b[_0x192b5b(0x24c)]['examples']['flatMap'](_0x524ff9=>_0x524ff9[_0x192b5b(0x213)])[_0x192b5b(0x1e6)](_0x5081e8=>_0x5081e8['id']===_0x181270);let _0x4c0d05;_0x45f9d3&&_0x45f9d3['cells']?_0x4c0d05=_0x45f9d3[_0x192b5b(0x227)][_0x192b5b(0x200)](_0x42ce63=>_0x42ce63[_0x192b5b(0x25c)]):_0x4c0d05=[],_0x4c0d05&&(_0xe8944a=_0x4c0d05);}}});if(_0xe8944a[_0x2dd862(0x22f)])return _0xe8944a;return;};async[a96_0x2c742e(0x1d7)](){const _0x5f2d36=a96_0x2c742e,_0x423bf8={'BBPxV':function(_0x1b4af8){return _0x1b4af8();}};if(this[_0x5f2d36(0x1ed)])return this['_gitConfigPath'];const _0x2f5c85=await _0x423bf8[_0x5f2d36(0x1d6)](getGitMetaData);_0x2f5c85&&(this[_0x5f2d36(0x248)]=_0x2f5c85[_0x5f2d36(0x241)]),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,[a96_0x2c742e(0x1d7),a96_0x2c742e(0x206),'getCucumberHookType','getHookResult',a96_0x2c742e(0x254),'getHookRunEventData',a96_0x2c742e(0x22d),'createTestFrameworkData']);