browserstack-node-sdk 1.51.0 → 1.52.1

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 +4 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/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 a79_0x6a8710=a79_0x1e57;(function(_0x313c52,_0x321794){const _0x343801=a79_0x1e57,_0x2b35ac=_0x313c52();while(!![]){try{const _0x3bc965=-parseInt(_0x343801(0x9d))/0x1*(parseInt(_0x343801(0x8c))/0x2)+-parseInt(_0x343801(0x96))/0x3+-parseInt(_0x343801(0xaf))/0x4+-parseInt(_0x343801(0xb2))/0x5*(parseInt(_0x343801(0xa5))/0x6)+parseInt(_0x343801(0xac))/0x7+-parseInt(_0x343801(0xa3))/0x8*(-parseInt(_0x343801(0x98))/0x9)+parseInt(_0x343801(0xab))/0xa;if(_0x3bc965===_0x321794)break;else _0x2b35ac['push'](_0x2b35ac['shift']());}catch(_0x45f629){_0x2b35ac['push'](_0x2b35ac['shift']());}}}(a79_0x221b,0xeec28));function a79_0x1e57(_0x32d812,_0xefb445){const _0x221b46=a79_0x221b();return a79_0x1e57=function(_0x1e572b,_0x83b068){_0x1e572b=_0x1e572b-0x88;let _0x21e33e=_0x221b46[_0x1e572b];return _0x21e33e;},a79_0x1e57(_0x32d812,_0xefb445);}const CLIUtils=require('../cliUtils'),eventDispatcher=require(a79_0x6a8710(0x92)),TestFrameworkInstance=require(a79_0x6a8710(0xad)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a79_0x6a8710(0xa1)),{createClassLogger}=require(a79_0x6a8710(0x9c)),TrackedInstance=require(a79_0x6a8710(0x88)),logger=createClassLogger('TestFramework');!global['__bstack_test_framework_instances__']&&(global['__bstack_test_framework_instances__']=new Map());function a79_0x221b(){const _0x3bacbe=['../instances/trackedInstance','registerObserver','runHooks','setInstance','23878gVWmVx','getAllData','trackEvent','getTrackedInstance','get','createContext','../eventDispatcher','getTestFrameworksVersions','getTestFrameworks','notifyObserver','2047470pUPTmk','debug','5012721jbAylg','testFrameworkVersions','setCurrentTestState','getHookRegistryKey','../../../helpers/classLogger','107zEGlwz','__bstack_test_framework_instances__','setTrackedInstance','getId','../state/hookState','setCurrentHookState','8kSFoBt','getState','67182ufpNwQ','exports','binSessionId',';\x20hookState=','testFrameworks','instances','19657870UWIhUB','6120030XwwIhz','../instances/testFrameworkInstance','getCurrentInstanceName','492852hHdbgq','set','getInstances','150JUFNaC'];a79_0x221b=function(){return _0x3bacbe;};return a79_0x221b();}class TestFramework{static get['instances'](){const _0x3cbe02=a79_0x6a8710;return global[_0x3cbe02(0x9e)];}[a79_0x6a8710(0xa9)]=[];['testFrameworkVersions']={};[a79_0x6a8710(0xa7)]=null;constructor(_0x26fa4c,_0xc5f2b3,_0x5a64a2){const _0x61c09e=a79_0x6a8710;this[_0x61c09e(0xa9)]=_0x26fa4c,this[_0x61c09e(0x99)]=_0xc5f2b3,this[_0x61c09e(0xa7)]=_0x5a64a2;}[a79_0x6a8710(0xb1)](){const _0xc2170a=a79_0x6a8710;return TestFramework[_0xc2170a(0xaa)];}[a79_0x6a8710(0x8b)](_0xce65b6,_0x527b87){const _0xcbbaeb=a79_0x6a8710;TestFramework['instances'][_0xcbbaeb(0xb0)](_0xce65b6['getId'],_0x527b87);}static[a79_0x6a8710(0x8f)](){const _0x3e020c=a79_0x6a8710,_0x5e85d5=TrackedInstance[_0x3e020c(0x91)](CLIUtils[_0x3e020c(0xae)]());return TestFramework['instances'][_0x3e020c(0x90)](_0x5e85d5[_0x3e020c(0xa0)]());}static[a79_0x6a8710(0x9f)](_0x416527,_0x3f141e){const _0x8df598=a79_0x6a8710;TestFramework[_0x8df598(0xaa)]['set'](_0x416527[_0x8df598(0xa0)](),_0x3f141e);}[a79_0x6a8710(0x93)](){return this['testFrameworkVersions'];}[a79_0x6a8710(0x94)](){return this['testFrameworks'];}[a79_0x6a8710(0x8e)](_0x32ef8c,_0xbbf4e4,_0x418b70={}){const _0x13e0d1=a79_0x6a8710;logger[_0x13e0d1(0x97)]('trackEvent:\x20testFrameworkState='+_0x32ef8c+_0x13e0d1(0xa8)+_0xbbf4e4);}async[a79_0x6a8710(0x8a)](_0x50357b,_0x38acdf,_0xf00445,_0xb8382d={}){const _0x38617d=a79_0x6a8710,_0x49647a=CLIUtils[_0x38617d(0x9b)](_0x38acdf,_0xf00445);_0x50357b[_0x38617d(0x9a)](_0x38acdf),_0x50357b[_0x38617d(0xa2)](_0xf00445),await eventDispatcher[_0x38617d(0x95)](_0x49647a,_0xb8382d);}static[a79_0x6a8710(0x89)](_0x10cace,_0x33ba7e,_0x5917b4){const _0x3a6f14=a79_0x6a8710;eventDispatcher[_0x3a6f14(0x89)](CLIUtils['getHookRegistryKey'](_0x10cace,_0x33ba7e),_0x5917b4);}static[a79_0x6a8710(0xa4)](_0x1698b8,_0x1194fd){return _0x1698b8['getAllData']()['get'](_0x1194fd);}static['setState'](_0x1f5404,_0x34708e,_0x47f925){const _0x1944b4=a79_0x6a8710;_0x1f5404[_0x1944b4(0x8d)]()[_0x1944b4(0xb0)](_0x34708e,_0x47f925);}static['hasState'](_0x9a05b3,_0x3df8dd){const _0x61f97e=a79_0x6a8710;return _0x9a05b3[_0x61f97e(0x8d)]()['has'](_0x3df8dd);}}module[a79_0x6a8710(0xa6)]=TestFramework;
1
+ const a79_0x5eb3dd=a79_0x156c;function a79_0x156c(_0x1662c9,_0x5bb1f8){const _0x1fdbd4=a79_0x1fdb();return a79_0x156c=function(_0x156c41,_0x1d2a27){_0x156c41=_0x156c41-0x19d;let _0x4e1865=_0x1fdbd4[_0x156c41];return _0x4e1865;},a79_0x156c(_0x1662c9,_0x5bb1f8);}(function(_0x25c397,_0x42ff04){const _0x427602=a79_0x156c,_0x379c1a=_0x25c397();while(!![]){try{const _0x4cd19d=parseInt(_0x427602(0x1ad))/0x1*(parseInt(_0x427602(0x1b4))/0x2)+-parseInt(_0x427602(0x1b3))/0x3+-parseInt(_0x427602(0x1c6))/0x4*(parseInt(_0x427602(0x1aa))/0x5)+parseInt(_0x427602(0x1a3))/0x6+-parseInt(_0x427602(0x1bb))/0x7*(parseInt(_0x427602(0x1bc))/0x8)+-parseInt(_0x427602(0x1a6))/0x9*(-parseInt(_0x427602(0x1bd))/0xa)+parseInt(_0x427602(0x1a7))/0xb*(parseInt(_0x427602(0x1c2))/0xc);if(_0x4cd19d===_0x42ff04)break;else _0x379c1a['push'](_0x379c1a['shift']());}catch(_0x3f7731){_0x379c1a['push'](_0x379c1a['shift']());}}}(a79_0x1fdb,0x4afef));const CLIUtils=require(a79_0x5eb3dd(0x1bf)),eventDispatcher=require(a79_0x5eb3dd(0x19e)),TestFrameworkInstance=require(a79_0x5eb3dd(0x1ba)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require(a79_0x5eb3dd(0x1c1)),HookState=require(a79_0x5eb3dd(0x1ab)),{createClassLogger}=require(a79_0x5eb3dd(0x1ae)),TrackedInstance=require(a79_0x5eb3dd(0x1a1)),logger=createClassLogger(a79_0x5eb3dd(0x1b5));!global[a79_0x5eb3dd(0x1c3)]&&(global[a79_0x5eb3dd(0x1c3)]=new Map());class TestFramework{static get['instances'](){const _0x3ea4d5=a79_0x5eb3dd;return global[_0x3ea4d5(0x1c3)];}[a79_0x5eb3dd(0x1b2)]=[];[a79_0x5eb3dd(0x1b6)]={};['binSessionId']=null;constructor(_0x183bd1,_0x211e9f,_0x4b9866){const _0x2e49ea=a79_0x5eb3dd;this[_0x2e49ea(0x1b2)]=_0x183bd1,this['testFrameworkVersions']=_0x211e9f,this[_0x2e49ea(0x1a2)]=_0x4b9866;}[a79_0x5eb3dd(0x1a5)](){const _0x22a8aa=a79_0x5eb3dd;return TestFramework[_0x22a8aa(0x19d)];}['setInstance'](_0x3a453a,_0x2a4937){const _0x84176f=a79_0x5eb3dd;TestFramework[_0x84176f(0x19d)][_0x84176f(0x1b9)](_0x3a453a['getId'],_0x2a4937);}static['getTrackedInstance'](){const _0x1e7c10=a79_0x5eb3dd,_0x52a6d4=TrackedInstance[_0x1e7c10(0x1c5)](CLIUtils[_0x1e7c10(0x1b1)]());return TestFramework[_0x1e7c10(0x19d)]['get'](_0x52a6d4[_0x1e7c10(0x1b8)]());}static[a79_0x5eb3dd(0x1c0)](_0x1799cb,_0x4ab712){const _0x54c985=a79_0x5eb3dd;TestFramework[_0x54c985(0x19d)][_0x54c985(0x1b9)](_0x1799cb[_0x54c985(0x1b8)](),_0x4ab712);}[a79_0x5eb3dd(0x1c8)](){return this['testFrameworkVersions'];}['getTestFrameworks'](){const _0x5dd129=a79_0x5eb3dd;return this[_0x5dd129(0x1b2)];}['trackEvent'](_0x4db4ae,_0x52bf28,_0x12f6bb={}){const _0x3062be=a79_0x5eb3dd;logger[_0x3062be(0x1ac)]('trackEvent:\x20testFrameworkState='+_0x4db4ae+_0x3062be(0x1a8)+_0x52bf28);}async[a79_0x5eb3dd(0x1a9)](_0x380316,_0x47ada8,_0x3728d1,_0x4f7b9a={}){const _0x33a5c8=a79_0x5eb3dd,_0x223142=CLIUtils[_0x33a5c8(0x19f)](_0x47ada8,_0x3728d1);_0x380316[_0x33a5c8(0x1c9)](_0x47ada8),_0x380316[_0x33a5c8(0x1c7)](_0x3728d1),await eventDispatcher[_0x33a5c8(0x1be)](_0x223142,_0x4f7b9a);}static[a79_0x5eb3dd(0x1b7)](_0x358632,_0x2a93dd,_0x2c83ae){const _0x530f81=a79_0x5eb3dd;eventDispatcher[_0x530f81(0x1b7)](CLIUtils[_0x530f81(0x19f)](_0x358632,_0x2a93dd),_0x2c83ae);}static['getState'](_0x1abec0,_0x449d01){const _0x23d66e=a79_0x5eb3dd;return _0x1abec0[_0x23d66e(0x1c4)]()[_0x23d66e(0x1af)](_0x449d01);}static[a79_0x5eb3dd(0x1a0)](_0x474165,_0x231d0c,_0x1b1bf9){const _0x4c48dd=a79_0x5eb3dd;_0x474165[_0x4c48dd(0x1c4)]()[_0x4c48dd(0x1b9)](_0x231d0c,_0x1b1bf9);}static[a79_0x5eb3dd(0x1a4)](_0x3b8cd8,_0x5e1e8d){const _0x5cc422=a79_0x5eb3dd;return _0x3b8cd8[_0x5cc422(0x1c4)]()['has'](_0x5e1e8d);}}module[a79_0x5eb3dd(0x1b0)]=TestFramework;function a79_0x1fdb(){const _0x528fcc=['getTestFrameworksVersions','setCurrentTestState','instances','../eventDispatcher','getHookRegistryKey','setState','../instances/trackedInstance','binSessionId','1399368FJeTbW','hasState','getInstances','105543akzqgZ','11WvsRdB',';\x20hookState=','runHooks','255570FhMFYi','../state/hookState','debug','17673fxSLrZ','../../../helpers/classLogger','get','exports','getCurrentInstanceName','testFrameworks','771831FdLDFC','54fUjNQH','TestFramework','testFrameworkVersions','registerObserver','getId','set','../instances/testFrameworkInstance','49ltoeRQ','386920gQjJJx','30CVNMBl','notifyObserver','../cliUtils','setTrackedInstance','../state/testFrameworkState','6796164jhcBfW','__bstack_test_framework_instances__','getAllData','createContext','32ufTBdA','setCurrentHookState'];a79_0x1fdb=function(){return _0x528fcc;};return a79_0x1fdb();}
@@ -1 +1 @@
1
- function a80_0x323f(_0x58ad78,_0x5833fe){const _0x3f8299=a80_0x3f82();return a80_0x323f=function(_0x323f82,_0x2998cf){_0x323f82=_0x323f82-0xcc;let _0x4bdada=_0x3f8299[_0x323f82];return _0x4bdada;},a80_0x323f(_0x58ad78,_0x5833fe);}const a80_0x43b8bd=a80_0x323f;(function(_0x78b95b,_0x537a40){const _0x484a92=a80_0x323f,_0x308455=_0x78b95b();while(!![]){try{const _0x37a1dc=-parseInt(_0x484a92(0x112))/0x1*(parseInt(_0x484a92(0x194))/0x2)+parseInt(_0x484a92(0x18d))/0x3*(parseInt(_0x484a92(0x104))/0x4)+parseInt(_0x484a92(0x1d7))/0x5*(-parseInt(_0x484a92(0x1a2))/0x6)+-parseInt(_0x484a92(0x10c))/0x7+parseInt(_0x484a92(0xd4))/0x8+parseInt(_0x484a92(0xd5))/0x9+-parseInt(_0x484a92(0x115))/0xa*(-parseInt(_0x484a92(0x132))/0xb);if(_0x37a1dc===_0x537a40)break;else _0x308455['push'](_0x308455['shift']());}catch(_0x553653){_0x308455['push'](_0x308455['shift']());}}}(a80_0x3f82,0x9d3c8));const util=require('util'),logger=require(a80_0x43b8bd(0x114))[a80_0x43b8bd(0x1cf)],grpc=require(a80_0x43b8bd(0x1ce)),services=require('../../../generated/sdk_grpc_pb'),messages=require('../../../generated/sdk-messages_pb'),path=require(a80_0x43b8bd(0x148)),CLIUtils=require(a80_0x43b8bd(0x134)),{createClassLogger}=require(a80_0x43b8bd(0x19f)),PerformanceTester=require(a80_0x43b8bd(0xfa)),{EVENTS:PerformanceEvents}=require(a80_0x43b8bd(0x1a9)),{PLAYWRIGHT_TRACE_LOGS}=require(a80_0x43b8bd(0x1be)),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;['binSessionId']=null;[a80_0x43b8bd(0x1c1)]=null;[a80_0x43b8bd(0x106)]=null;[a80_0x43b8bd(0x127)]=null;[a80_0x43b8bd(0x1c7)]=createClassLogger(a80_0x43b8bd(0x16f));constructor(){}static[a80_0x43b8bd(0xff)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x425bad){const _0x517cc4=a80_0x43b8bd,_0x19efdc={};_0x19efdc[_0x517cc4(0xf1)]=function(_0x31f3d5,_0x4ea51d){return _0x31f3d5||_0x4ea51d;};const _0x3581b5=_0x19efdc,{id:_0x2bf125,listen:_0x132338}=_0x425bad;if(_0x3581b5[_0x517cc4(0xf1)](!_0x2bf125,!_0x132338))throw new Error(_0x517cc4(0x1ab)+_0x2bf125+'\x20listenAddr:\x20'+_0x132338);this[_0x517cc4(0x111)]=_0x2bf125,this[_0x517cc4(0x1c1)]=_0x132338,process[_0x517cc4(0x143)][_0x517cc4(0x19c)]=this[_0x517cc4(0x111)],process[_0x517cc4(0x143)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x517cc4(0x1c1)],this[_0x517cc4(0x138)](),this['logger']['info']('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x517cc4(0x111)]+'\x20and\x20listen\x20address:\x20'+this[_0x517cc4(0x1c1)]);}[a80_0x43b8bd(0x138)](){const _0x40de16=a80_0x43b8bd,_0x2fcfde={};_0x2fcfde[_0x40de16(0x1bd)]=_0x40de16(0xe8);const _0x1b08ed=_0x2fcfde;let _0x13a7e3=this[_0x40de16(0x1c1)];!_0x13a7e3&&(_0x13a7e3=process[_0x40de16(0x143)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x40de16(0x111)]&&(this[_0x40de16(0x111)]=this[_0x40de16(0x111)]||process[_0x40de16(0x143)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x13a7e3)throw new Error(_0x1b08ed[_0x40de16(0x1bd)]);const _0x2b39f1={};_0x2b39f1[_0x40de16(0x158)]=0x2710,this[_0x40de16(0x106)]=new grpc[(_0x40de16(0x155))](_0x13a7e3,grpc['credentials'][_0x40de16(0x107)](),_0x2b39f1),this['client']=new services[(_0x40de16(0x140))](_0x13a7e3,grpc[_0x40de16(0x1a0)][_0x40de16(0x107)]()),this[_0x40de16(0x1c7)][_0x40de16(0x160)](_0x40de16(0x1db)+_0x13a7e3);}async[a80_0x43b8bd(0x171)](){const _0x5634d6=a80_0x43b8bd,_0x5ced45={'eDlJv':function(_0x3f4f55,_0x24b8d3){return _0x3f4f55!==_0x24b8d3;},'JEkuG':function(_0x35e5d5,_0x351fce){return _0x35e5d5(_0x351fce);},'hoFvm':_0x5634d6(0x131),'ZSIsP':_0x5634d6(0x124),'BUauZ':_0x5634d6(0x122),'YsDej':_0x5634d6(0x183),'SUdue':function(_0x44d5ff,_0x1fb363){return _0x44d5ff instanceof _0x1fb363;},'xedZC':'null','YJwBM':function(_0x4cb0c5,_0x5a5d06){return _0x4cb0c5||_0x5a5d06;}};PerformanceTester[_0x5634d6(0x108)](PerformanceEvents[_0x5634d6(0x156)]),this[_0x5634d6(0x1c7)]['info'](_0x5ced45[_0x5634d6(0xdc)]);try{!this[_0x5634d6(0x127)]&&this[_0x5634d6(0x1c7)][_0x5634d6(0x160)](_0x5ced45[_0x5634d6(0x1b6)]);const _0x5c24ff=CLIUtils[_0x5634d6(0x16c)](),_0x303ac0=CLIUtils[_0x5634d6(0x188)](),_0x2fee08=CLIUtils[_0x5634d6(0x15f)](),_0x58c39f=_0x303ac0[_0x5634d6(0x19b)],_0x5b3595=_0x303ac0[_0x5634d6(0x1c5)],_0x26ad96=_0x2fee08[_0x5634d6(0x19b)],_0x36a4d6=_0x2fee08[_0x5634d6(0x1c5)]?_0x2fee08[_0x5634d6(0x1c5)][_0x26ad96]:'',_0x13c470=new messages['StartBinSessionRequest']();_0x13c470[_0x5634d6(0x1b7)](this[_0x5634d6(0x111)]),_0x13c470[_0x5634d6(0x11a)](CLIUtils['getSdkLanguage']()),_0x13c470[_0x5634d6(0x149)](_0x5c24ff),_0x13c470[_0x5634d6(0x1aa)](process[_0x5634d6(0x1ad)]());const _0x1df9d2=_0x13c470[_0x5634d6(0x1de)]();Object[_0x5634d6(0x15d)](process[_0x5634d6(0x143)])[_0x5634d6(0x169)](([_0x3fc42a,_0x30994b])=>{const _0x347b8f=_0x5634d6;_0x5ced45[_0x347b8f(0x110)](_0x30994b,undefined)&&_0x5ced45[_0x347b8f(0x110)](_0x30994b,null)&&_0x1df9d2['set'](_0x3fc42a,_0x30994b);});const _0xdc32ab=_0x5ced45[_0x5634d6(0xe6)](require,_0x5ced45[_0x5634d6(0xe3)]),_0x5d6461=_0xdc32ab[_0x5634d6(0xff)]()['getBrowserstackCliConfig'](),_0x153cdc=[];_0x5d6461&&_0x5ced45[_0x5634d6(0x144)](_0x5d6461,Map)&&_0x5d6461[_0x5634d6(0x169)]((_0x476c8b,_0x4fc002)=>{_0x153cdc['push'](_0x4fc002+'='+_0x476c8b);});const _0x58364f=process['argv'][_0x5634d6(0x120)](0x2);_0x13c470['setCliArgsList']([..._0x58364f,..._0x153cdc]),_0x13c470[_0x5634d6(0x1cd)](_0xdc32ab[_0x5634d6(0xff)]()[_0x5634d6(0x179)]()),this[_0x5634d6(0x1c7)][_0x5634d6(0x160)](_0x5634d6(0x103)+JSON['stringify'](_0x58364f)+_0x5634d6(0x116)+(_0x5d6461?JSON[_0x5634d6(0xf2)]([..._0x5d6461]):_0x5ced45[_0x5634d6(0x139)])),_0x13c470['setLanguage'](CLIUtils[_0x5634d6(0x172)]()),_0x13c470[_0x5634d6(0x16a)](_0x26ad96);const _0x53d4a9=_0x13c470[_0x5634d6(0x15a)]();return _0x53d4a9['set'](_0x58c39f,_0x5ced45[_0x5634d6(0x1bb)](_0x5b3595,'')),_0x53d4a9['set'](_0x26ad96,_0x5ced45[_0x5634d6(0x1bb)](_0x36a4d6,'')),_0x13c470[_0x5634d6(0x10f)](_0x58c39f,_0x5b3595),_0x13c470['addFrameworks'](_0x26ad96,_0x36a4d6),_0x13c470['setFrameworksList']([_0x26ad96,_0x58c39f]),new Promise((_0x52f688,_0x37ec86)=>{const _0x2b748f=_0x5634d6;this[_0x2b748f(0x127)][_0x2b748f(0x171)](_0x13c470,(_0xa8684d,_0x58ee80)=>{const _0x473aeb=_0x2b748f;if(_0xa8684d){this['logger'][_0x473aeb(0x150)]('StartBinSession\x20error:\x20'+_0xa8684d[_0x473aeb(0x1c9)]),_0x5ced45['JEkuG'](_0x37ec86,_0xa8684d),PerformanceTester[_0x473aeb(0xce)](PerformanceEvents[_0x473aeb(0x156)],![],util[_0x473aeb(0x11c)](_0xa8684d));return;}this[_0x473aeb(0x1c7)][_0x473aeb(0x160)](_0x5ced45['hoFvm']),PerformanceTester[_0x473aeb(0xce)](PerformanceEvents[_0x473aeb(0x156)]),_0x5ced45[_0x473aeb(0xe6)](_0x52f688,_0x58ee80);});});}catch(_0x4ece5e){this[_0x5634d6(0x1c7)]['error'](_0x5634d6(0x14f)+util[_0x5634d6(0x11c)](_0x4ece5e)),PerformanceTester['end'](PerformanceEvents[_0x5634d6(0x156)],![],util[_0x5634d6(0x11c)](_0x4ece5e));throw _0x4ece5e;}}async['connectBinSession'](){const _0x3ee4b6=a80_0x43b8bd,_0x5d06e4={'jmBbL':function(_0xdc1f5,_0x1c8e7d){return _0xdc1f5(_0x1c8e7d);},'AGmRQ':_0x3ee4b6(0x1d0),'WZUti':function(_0xe8b537,_0x38ce3a){return _0xe8b537(_0x38ce3a);},'RnceP':_0x3ee4b6(0x14d),'PugCi':'No\x20gRPC\x20client\x20not\x20initialized.','iLVvi':_0x3ee4b6(0x1cc),'YgqFw':_0x3ee4b6(0x1a8),'ASsOg':_0x3ee4b6(0xf3)};PerformanceTester[_0x3ee4b6(0x108)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this['logger'][_0x3ee4b6(0x160)](_0x5d06e4[_0x3ee4b6(0x11d)]);try{!this[_0x3ee4b6(0x127)]&&this[_0x3ee4b6(0x1c7)]['info'](_0x5d06e4[_0x3ee4b6(0xe4)]);const _0x11e70a=new messages[(_0x3ee4b6(0x174))]();_0x11e70a[_0x3ee4b6(0x1b7)](this[_0x3ee4b6(0x111)]);const _0x569bc0=await new Promise((_0x5c2159,_0x3affa3)=>{const _0x574893=_0x3ee4b6;this['client'][_0x574893(0x12d)](_0x11e70a,(_0x56f00c,_0x58a4b5)=>{const _0x3b599e=_0x574893;if(_0x56f00c){this[_0x3b599e(0x1c7)][_0x3b599e(0x150)]('ConnectBinSession\x20error:\x20'+_0x56f00c[_0x3b599e(0x1c9)]),_0x5d06e4['jmBbL'](_0x3affa3,_0x56f00c),PerformanceTester[_0x3b599e(0xce)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x3b599e(0x11c)](_0x56f00c));return;}this[_0x3b599e(0x1c7)][_0x3b599e(0x160)](_0x5d06e4['AGmRQ']),PerformanceTester['end'](PerformanceEvents[_0x3b599e(0x10a)]),_0x5d06e4[_0x3b599e(0x1d5)](_0x5c2159,_0x58a4b5);});}),_0x1e0ba4=util[_0x3ee4b6(0x11c)](_0x569bc0)[_0x3ee4b6(0x1b3)](/"userName":"[^"]*"/g,_0x5d06e4[_0x3ee4b6(0x1c2)])[_0x3ee4b6(0x1b3)](/"accessKey":"[^"]*"/g,_0x5d06e4[_0x3ee4b6(0xf4)])[_0x3ee4b6(0x1b3)](/"key":"[^"]*"/g,_0x5d06e4[_0x3ee4b6(0x1bc)]);return this[_0x3ee4b6(0x1c7)]['debug'](_0x3ee4b6(0xcd)+_0x1e0ba4),_0x569bc0;}catch(_0x25d92b){PerformanceTester[_0x3ee4b6(0xce)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x3ee4b6(0x11c)](_0x25d92b)),this['logger'][_0x3ee4b6(0x150)](_0x3ee4b6(0xed)+util[_0x3ee4b6(0x11c)](_0x25d92b));throw _0x25d92b;}}async[a80_0x43b8bd(0x147)](_0x1e67be={},_0x2cbc2f=null){const _0xbfe82=a80_0x43b8bd,_0x2a10b0={'coUYm':function(_0xada71a,_0x213b44){return _0xada71a(_0x213b44);},'cwoPm':_0xbfe82(0x1b9),'XUYIp':_0xbfe82(0x1ae),'EgEPc':_0xbfe82(0x14c),'eUhNQ':'No\x20gRPC\x20client\x20not\x20initialized.','uMYAc':_0xbfe82(0xd9)};PerformanceTester['start'](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0xbfe82(0x1c7)]['info'](_0x2a10b0[_0xbfe82(0x166)]);try{if(!this[_0xbfe82(0x111)])throw new Error(_0x2a10b0['EgEPc']);!this[_0xbfe82(0x127)]&&this['logger'][_0xbfe82(0x160)](_0x2a10b0[_0xbfe82(0x13b)]);const _0x56b2d9=new messages[(_0xbfe82(0x117))]();this[_0xbfe82(0x1c7)][_0xbfe82(0x146)]('Stopping\x20signal\x20'+JSON[_0xbfe82(0xf2)](_0x2cbc2f)),_0x56b2d9[_0xbfe82(0x1b7)](this['binSessionId']),_0x56b2d9[_0xbfe82(0x121)](_0x1e67be),_0x56b2d9[_0xbfe82(0x1d1)](_0x2cbc2f?_0x2cbc2f:null),_0x56b2d9['setExitReason'](_0x2cbc2f?_0x2a10b0[_0xbfe82(0xf7)]:null),_0x56b2d9[_0xbfe82(0x18e)](_0x2cbc2f?0x1:0x0);const _0x5c3a3e=await new Promise((_0xf877d1,_0x2ad07b)=>{const _0x475393=_0xbfe82;this['client'][_0x475393(0x147)](_0x56b2d9,(_0x1d6c83,_0x5e678e)=>{const _0x11da04=_0x475393;if(_0x1d6c83){this[_0x11da04(0x1c7)]['error'](_0x11da04(0x118)+_0x1d6c83[_0x11da04(0x1c9)]),_0x2a10b0[_0x11da04(0x1bf)](_0x2ad07b,_0x1d6c83),PerformanceTester['end'](PerformanceEvents[_0x11da04(0xea)],![],util[_0x11da04(0x11c)](_0x1d6c83));return;}this[_0x11da04(0x1c7)][_0x11da04(0x160)](_0x2a10b0[_0x11da04(0x18f)]),PerformanceTester['end'](PerformanceEvents[_0x11da04(0xea)]),_0x2a10b0[_0x11da04(0x1bf)](_0xf877d1,_0x5e678e);});});return this['logger'][_0xbfe82(0x146)](_0xbfe82(0x18a)+util['format'](_0x5c3a3e)),_0x5c3a3e;}catch(_0xe5b4ae){PerformanceTester[_0xbfe82(0xce)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0xbfe82(0x11c)](_0xe5b4ae)),this['logger'][_0xbfe82(0x150)](_0xbfe82(0x1d3)+util[_0xbfe82(0x11c)](_0xe5b4ae));}}async['getPlaywrightConfig'](_0x4dc3ae){const _0xb6dae2=a80_0x43b8bd,_0x4e6643={'awIJp':function(_0xbda112,_0xe585e5){return _0xbda112(_0xe585e5);},'BGlbi':_0xb6dae2(0x18b),'lKbtw':_0xb6dae2(0x17d),'SjQbx':_0xb6dae2(0x122)};PerformanceTester[_0xb6dae2(0x108)](PerformanceEvents[_0xb6dae2(0xf5)]),this['logger'][_0xb6dae2(0x160)](_0x4e6643[_0xb6dae2(0xef)]);try{!this[_0xb6dae2(0x127)]&&this[_0xb6dae2(0x1c7)][_0xb6dae2(0x160)](_0x4e6643['SjQbx']);const _0x561225=new messages[(_0xb6dae2(0x165))]();return _0x561225[_0xb6dae2(0x1b7)](this['binSessionId']),_0x561225[_0xb6dae2(0x19d)](JSON[_0xb6dae2(0xf2)](_0x4dc3ae)),new Promise((_0x433b5e,_0x2a18c3)=>{const _0x39d0ae=_0xb6dae2,_0x1e6762={'SHrvQ':function(_0x49dfd1,_0x3e8694){return _0x4e6643['awIJp'](_0x49dfd1,_0x3e8694);},'zsntB':_0x4e6643[_0x39d0ae(0x19e)]};this['client'][_0x39d0ae(0xfc)](_0x561225,(_0x253c3b,_0x2b2646)=>{const _0x3aeeb7=_0x39d0ae;if(_0x253c3b){this['logger'][_0x3aeeb7(0x150)]('PlaywrightConfig\x20error:\x20'+_0x253c3b[_0x3aeeb7(0x1c9)]),_0x1e6762['SHrvQ'](_0x2a18c3,_0x253c3b),PerformanceTester[_0x3aeeb7(0xce)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util['format'](_0x253c3b));return;}this[_0x3aeeb7(0x1c7)][_0x3aeeb7(0x160)](_0x1e6762[_0x3aeeb7(0x1b5)]),PerformanceTester[_0x3aeeb7(0xce)](PerformanceEvents[_0x3aeeb7(0xf5)]),_0x1e6762[_0x3aeeb7(0x177)](_0x433b5e,_0x2b2646);});});}catch(_0x44224c){PerformanceTester[_0xb6dae2(0xce)](PerformanceEvents[_0xb6dae2(0xf5)],![],util[_0xb6dae2(0x11c)](_0x44224c)),this[_0xb6dae2(0x1c7)][_0xb6dae2(0x150)]('Error\x20in\x20getPlaywrightConfig:\x20'+util['format'](_0x44224c));throw _0x44224c;}}async[a80_0x43b8bd(0x1a3)](_0x2d953d){const _0x5a7354=a80_0x43b8bd,_0x4d9628={'uVXDv':function(_0x1632f2,_0x18d04f){return _0x1632f2(_0x18d04f);},'zchNT':_0x5a7354(0x17a),'OEeeH':function(_0x3e8c9a,_0x2d7f43){return _0x3e8c9a(_0x2d7f43);},'CZsgC':function(_0x4a8be3,_0x5432e4){return _0x4a8be3||_0x5432e4;},'CVgEU':'not\x20provided','YliEs':'utf-8'},_0xa7590a=_0x2d953d['testInfo']?.[_0x5a7354(0x142)]||_0x2d953d[_0x5a7354(0xd3)]?.['id'];this[_0x5a7354(0x1c7)]['info'](_0x5a7354(0x1a1)+_0x4d9628[_0x5a7354(0xdd)](_0xa7590a,_0x4d9628[_0x5a7354(0x19a)]));try{const _0x301639=Buffer[_0x5a7354(0x190)](JSON[_0x5a7354(0xf2)](_0x2d953d[_0x5a7354(0x14e)]),_0x4d9628[_0x5a7354(0x1c8)]),_0x47bf0d=new messages[(_0x5a7354(0x136))](),_0x9cab79=CLIUtils[_0x5a7354(0x188)](),_0x1ec425=_0x9cab79[_0x5a7354(0x19b)],_0x5679db=_0x9cab79[_0x5a7354(0x1c5)];_0x47bf0d['setBinSessionId'](this[_0x5a7354(0x111)]),_0x47bf0d['setPlatformIndex'](0x0),_0x47bf0d[_0x5a7354(0xe2)](_0x1ec425),_0x47bf0d['setFrameworkVersion'](_0x5679db),_0x47bf0d[_0x5a7354(0x198)](_0x2d953d['hubUrl']),_0x47bf0d[_0x5a7354(0x1b0)](_0x301639);if(_0x2d953d[_0x5a7354(0xd3)]?.['testAnalyticsId']||_0x2d953d[_0x5a7354(0xd3)]?.['id']){const _0x3e0737=_0x2d953d[_0x5a7354(0xd3)][_0x5a7354(0x142)]||_0x2d953d[_0x5a7354(0xd3)]['id'];_0x47bf0d[_0x5a7354(0x141)](_0x3e0737),this['logger'][_0x5a7354(0x146)](_0x5a7354(0xcf)+_0x3e0737+_0x5a7354(0xd6));}return new Promise((_0x541201,_0x5a5b0b)=>{const _0x1b9cda=_0x5a7354;this[_0x1b9cda(0x127)][_0x1b9cda(0x196)](_0x47bf0d,(_0x58443f,_0x5c096b)=>{const _0x32b428=_0x1b9cda;if(_0x58443f){this[_0x32b428(0x1c7)][_0x32b428(0x150)](_0x32b428(0x128)+_0x58443f[_0x32b428(0x1c9)]),_0x4d9628[_0x32b428(0x17c)](_0x5a5b0b,_0x58443f);return;}this[_0x32b428(0x1c7)][_0x32b428(0x160)](_0x4d9628[_0x32b428(0x164)]),_0x4d9628[_0x32b428(0x1dc)](_0x541201,_0x5c096b);});});}catch(_0x473ece){this['logger']['error']('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0x5a7354(0x11c)](_0x473ece));}}async[a80_0x43b8bd(0xeb)](_0x44d272){const _0x197fd4=a80_0x43b8bd,_0x13fcd2={'cEpSb':function(_0x2c5e89,_0x5e469f){return _0x2c5e89(_0x5e469f);},'fIdJx':_0x197fd4(0x13f),'ULHqz':_0x197fd4(0xee),'IFpIv':_0x197fd4(0x122)};this[_0x197fd4(0x1c7)]['info'](_0x13fcd2[_0x197fd4(0x126)]);try{!this[_0x197fd4(0x127)]&&this[_0x197fd4(0x1c7)][_0x197fd4(0x160)](_0x13fcd2[_0x197fd4(0x189)]);const {platformIndex:_0x11d83e,testFrameworkName:_0x3fabcf,testFrameworkVersion:_0x313f68,testFrameworkState:_0x15c52f,testHookState:_0xd824fd,testUuid:_0x4c3a40,automationSession:_0x20bd81,capabilities:_0x13c2a9,executionContext:_0x206191,test_identifier:_0x32130d}=_0x44d272,_0x2c6642=new messages[(_0x197fd4(0x10b))]();_0x2c6642[_0x197fd4(0x1b7)](this[_0x197fd4(0x111)]),_0x2c6642[_0x197fd4(0x13c)](_0x11d83e),_0x2c6642[_0x197fd4(0x199)](_0x3fabcf),_0x2c6642[_0x197fd4(0x15e)](_0x313f68),_0x2c6642[_0x197fd4(0x1a6)](_0x15c52f),_0x2c6642['setTestHookState'](_0xd824fd),_0x2c6642[_0x197fd4(0xf8)](_0x4c3a40);const _0x35a9c3=new messages[(_0x197fd4(0x10b))][(_0x197fd4(0x11f))]();_0x35a9c3[_0x197fd4(0x1c4)](_0x20bd81[_0x197fd4(0x1a5)]),_0x35a9c3[_0x197fd4(0xe2)](_0x20bd81[_0x197fd4(0x1c0)]),_0x35a9c3[_0x197fd4(0x162)](_0x20bd81[_0x197fd4(0xdf)]),_0x35a9c3['setFrameworkSessionId'](_0x20bd81[_0x197fd4(0x11b)]),_0x35a9c3[_0x197fd4(0x191)](_0x20bd81['product']),_0x35a9c3[_0x197fd4(0x113)](_0x20bd81[_0x197fd4(0x129)]),_0x35a9c3[_0x197fd4(0x198)](_0x20bd81[_0x197fd4(0xcc)]),_0x2c6642[_0x197fd4(0x161)](_0x35a9c3),_0x2c6642[_0x197fd4(0x1b0)](_0x13c2a9);const _0x4d4124=new messages[(_0x197fd4(0xf6))]();return _0x4d4124[_0x197fd4(0x145)](_0x206191[_0x197fd4(0x175)]),_0x4d4124[_0x197fd4(0x195)](_0x206191[_0x197fd4(0x125)]),_0x4d4124[_0x197fd4(0xf9)](_0x206191['hash']),_0x2c6642[_0x197fd4(0x18c)](_0x4d4124),_0x32130d&&_0x2c6642['setTestIdentifier'](_0x32130d),new Promise((_0x228bbe,_0x53b252)=>{const _0xcc85da=_0x197fd4;this[_0xcc85da(0x127)][_0xcc85da(0xeb)](_0x2c6642,(_0x5027b8,_0x16b79b)=>{const _0x4bed36=_0xcc85da;if(_0x5027b8){this[_0x4bed36(0x1c7)][_0x4bed36(0x150)](_0x4bed36(0xe5)+_0x5027b8[_0x4bed36(0x1c9)]),_0x13fcd2[_0x4bed36(0x10e)](_0x53b252,_0x5027b8);return;}this['logger'][_0x4bed36(0x160)](_0x13fcd2[_0x4bed36(0xfd)]),_0x13fcd2['cEpSb'](_0x228bbe,_0x16b79b);});});}catch(_0xb05476){this[_0x197fd4(0x1c7)]['error']('Error\x20in\x20TestSessionEvent:\x20'+util[_0x197fd4(0x11c)](_0xb05476));throw _0xb05476;}}async[a80_0x43b8bd(0x176)](_0x3e4e06){const _0x63369c=a80_0x43b8bd,_0x30052b={'nroft':function(_0x46c675,_0x1332e2){return _0x46c675(_0x1332e2);},'wJceh':_0x63369c(0x12f),'AkTZG':_0x63369c(0x1dd),'KiQou':_0x63369c(0x122)};this[_0x63369c(0x1c7)][_0x63369c(0x160)](_0x30052b[_0x63369c(0xec)]);try{!this[_0x63369c(0x127)]&&this[_0x63369c(0x1c7)][_0x63369c(0x160)](_0x30052b[_0x63369c(0xde)]);const {platformIndex:_0x43f491,testFrameworkName:_0x12bae2,testFrameworkVersion:_0x505de6,testFrameworkState:_0x945cea,hookState:_0x586ed3,startedAt:_0x385c74,endedAt:_0x4e5fc4,uuid:_0x1868e8,eventJson:_0x59e60f,executionContext:_0x283bce,test_identifier:_0x57d04f}=_0x3e4e06,_0x55a7fb=new messages[(_0x63369c(0x168))]();_0x55a7fb[_0x63369c(0x1b7)](this[_0x63369c(0x111)]),_0x55a7fb[_0x63369c(0x13c)](_0x43f491),_0x55a7fb[_0x63369c(0x199)](_0x12bae2),_0x55a7fb[_0x63369c(0x15e)](_0x505de6),_0x55a7fb['setTestFrameworkState'](_0x945cea),_0x55a7fb[_0x63369c(0xda)](_0x586ed3),_0x55a7fb[_0x63369c(0x12b)](_0x385c74),_0x55a7fb['setEndedAt'](_0x4e5fc4),_0x55a7fb['setUuid'](_0x1868e8),_0x55a7fb['setEventJson'](_0x59e60f);const _0x41de8e=new messages[(_0x63369c(0xf6))]();return _0x41de8e['setProcessId'](_0x283bce[_0x63369c(0x175)]),_0x41de8e[_0x63369c(0x195)](_0x283bce[_0x63369c(0x125)]),_0x41de8e['setHash'](_0x283bce['hash']),_0x55a7fb[_0x63369c(0x18c)](_0x41de8e),_0x57d04f&&_0x55a7fb[_0x63369c(0x141)](_0x57d04f),new Promise((_0x135682,_0x38caba)=>{const _0x21677e=_0x63369c,_0x29bb32={'KnLGa':function(_0x378968,_0x5b9e7e){const _0x4a428f=a80_0x323f;return _0x30052b[_0x4a428f(0x1d4)](_0x378968,_0x5b9e7e);},'IVbEL':_0x30052b[_0x21677e(0xdb)]};this[_0x21677e(0x127)][_0x21677e(0x176)](_0x55a7fb,(_0x4b4d6d,_0x22dc1e)=>{const _0x56a2a7=_0x21677e;if(_0x4b4d6d){this[_0x56a2a7(0x1c7)][_0x56a2a7(0x150)]('TestFrameworkEvent\x20error:\x20'+_0x4b4d6d[_0x56a2a7(0x1c9)]),_0x29bb32[_0x56a2a7(0x1a7)](_0x38caba,_0x4b4d6d);return;}this['logger'][_0x56a2a7(0x160)](_0x29bb32['IVbEL']),_0x29bb32['KnLGa'](_0x135682,_0x22dc1e);});});}catch(_0x2340db){this[_0x63369c(0x1c7)][_0x63369c(0x150)](_0x63369c(0x1b4)+util['format'](_0x2340db));throw _0x2340db;}}async[a80_0x43b8bd(0xd0)](_0xfc5afc){const _0x4022a9=a80_0x43b8bd,_0x1de3c9={'MWxXP':function(_0x4249f3,_0x2dc01b){return _0x4249f3(_0x2dc01b);},'izoYb':'DriverInit\x20request\x20successful','UZLbe':_0x4022a9(0x137),'GlLhM':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x4022a9(0x1c7)][_0x4022a9(0x160)](_0x1de3c9[_0x4022a9(0x185)]);try{!this[_0x4022a9(0x127)]&&this['logger'][_0x4022a9(0x160)](_0x1de3c9[_0x4022a9(0x180)]);const {platformIndex:_0x495f5a,ref:_0x555420,userInputParams:_0x1eec6d,hubUrl:_0x4e37b6}=_0xfc5afc,_0x2bd6fd=new messages[(_0x4022a9(0x186))]();return _0x2bd6fd['setBinSessionId'](this[_0x4022a9(0x111)]),_0x2bd6fd[_0x4022a9(0x13c)](_0x495f5a),_0x2bd6fd[_0x4022a9(0x113)](_0x555420),_0x2bd6fd[_0x4022a9(0x12e)](_0x1eec6d),_0x2bd6fd[_0x4022a9(0x198)](_0x4e37b6),new Promise((_0x98a28,_0x5b9b73)=>{const _0x35b0dc=_0x4022a9,_0x255017={'XWNez':function(_0x4e2b22,_0x5b2869){const _0x133e43=a80_0x323f;return _0x1de3c9[_0x133e43(0xe9)](_0x4e2b22,_0x5b2869);},'SXduV':_0x1de3c9[_0x35b0dc(0x135)]};this['client'][_0x35b0dc(0xd0)](_0x2bd6fd,(_0x10c388,_0x5c9fc2)=>{const _0x94fbf0=_0x35b0dc;if(_0x10c388){this[_0x94fbf0(0x1c7)][_0x94fbf0(0x150)](_0x94fbf0(0x182)+_0x10c388[_0x94fbf0(0x1c9)]),_0x255017[_0x94fbf0(0x17e)](_0x5b9b73,_0x10c388);return;}this['logger'][_0x94fbf0(0x160)](_0x255017[_0x94fbf0(0x14b)]),_0x255017[_0x94fbf0(0x17e)](_0x98a28,_0x5c9fc2);});});}catch(_0x4a591f){this[_0x4022a9(0x1c7)][_0x4022a9(0x150)](_0x4022a9(0x10d)+util['format'](_0x4a591f));throw _0x4a591f;}}async[a80_0x43b8bd(0x1d9)](_0x3fca65){const _0x496c37=a80_0x43b8bd,_0x522cf3={'KHGFG':function(_0x4d18e3,_0x42da4d){return _0x4d18e3===_0x42da4d;},'bXGdw':'pending-resolution-from-test-identifier','jKful':function(_0x58bd3c,_0x578ae3){return _0x58bd3c(_0x578ae3);},'EkseO':'LogCreatedEvent\x20request\x20successful','PZwGw':_0x496c37(0x181),'hAYkI':_0x496c37(0x122)};this[_0x496c37(0x1c7)][_0x496c37(0x160)](_0x522cf3[_0x496c37(0x1d8)]);try{!this[_0x496c37(0x127)]&&this[_0x496c37(0x1c7)][_0x496c37(0x160)](_0x522cf3['hAYkI']);const {platformIndex:_0x39e6d0,logs:_0x5a8ee4}=_0x3fca65,_0x5dcd6b=new messages[(_0x496c37(0x14a))]();_0x5dcd6b[_0x496c37(0x1b7)](this[_0x496c37(0x111)]),_0x5dcd6b['setPlatformIndex'](_0x39e6d0);const _0x2aef9c=_0x3fca65[_0x496c37(0xe1)],_0x2c8869=_0x3fca65[_0x496c37(0xfb)],_0x2a7560=_0x3fca65[_0x496c37(0x1ac)];return _0x5a8ee4[_0x496c37(0x169)](_0x391784=>{const _0x499698=_0x496c37,_0x29f361=new messages[(_0x499698(0x14a))][(_0x499698(0x16b))]();_0x29f361['setTestFrameworkName'](_0x2aef9c),_0x29f361[_0x499698(0x15e)](_0x2c8869),_0x29f361[_0x499698(0x1a6)](_0x2a7560),_0x29f361[_0x499698(0x130)](_0x391784[_0x499698(0x1b1)]);if(_0x522cf3['KHGFG'](_0x391784[_0x499698(0x1af)],PLAYWRIGHT_TRACE_LOGS))_0x29f361['setUuid'](_0x391784[_0x499698(0x157)]),_0x29f361[_0x499698(0x1c6)](new TextEncoder()[_0x499698(0xd7)](JSON[_0x499698(0xf2)](_0x391784)));else{if(_0x391784['test_identifier'])_0x29f361[_0x499698(0x17b)](_0x522cf3[_0x499698(0x16e)]);else{if(_0x391784[_0x499698(0xe0)])_0x29f361[_0x499698(0x17b)](_0x391784[_0x499698(0xe0)]);else _0x391784[_0x499698(0x1b8)]&&_0x29f361[_0x499698(0x17b)](_0x391784[_0x499698(0x1b8)]);}_0x29f361[_0x499698(0x1c6)](new TextEncoder()[_0x499698(0xd7)](_0x391784[_0x499698(0x1c9)]));}_0x29f361[_0x499698(0x13e)](_0x391784[_0x499698(0x1c3)]),_0x29f361[_0x499698(0x1cb)](_0x391784[_0x499698(0x13a)]),_0x29f361[_0x499698(0xfe)](_0x391784?.['fileName']||''),_0x29f361['setFilePath'](_0x391784?.['filePath']||''),_0x29f361['setFileSize'](_0x391784?.[_0x499698(0x133)]||0x0),_0x29f361[_0x499698(0x197)](_0x391784?.['attachment_type']||''),_0x391784[_0x499698(0x1d2)]&&_0x29f361['setTestIdentifier'](_0x391784['test_identifier']),_0x391784[_0x499698(0x1b2)]&&_0x29f361[_0x499698(0x1da)](_0x391784['duration']),_0x5dcd6b[_0x499698(0x173)](_0x29f361);}),new Promise((_0xf31715,_0x437cfb)=>{const _0x3bbefe=_0x496c37,_0xb2a74f={'KhSwy':function(_0xc357d0,_0x5bcc12){const _0x50f570=a80_0x323f;return _0x522cf3[_0x50f570(0x163)](_0xc357d0,_0x5bcc12);},'GWHAE':_0x522cf3[_0x3bbefe(0x102)]};this[_0x3bbefe(0x127)]['logCreatedEvent'](_0x5dcd6b,(_0x429759,_0xb1c7b7)=>{const _0x3f4909=_0x3bbefe;if(_0x429759){this[_0x3f4909(0x1c7)][_0x3f4909(0x150)](_0x3f4909(0x15c)+_0x429759['message']),_0xb2a74f['KhSwy'](_0x437cfb,_0x429759);return;}this[_0x3f4909(0x1c7)][_0x3f4909(0x160)](_0xb2a74f[_0x3f4909(0x167)]),_0xb2a74f[_0x3f4909(0x16d)](_0xf31715,_0xb1c7b7);});});}catch(_0x5ce57d){this[_0x496c37(0x1c7)][_0x496c37(0x150)]('Error\x20in\x20LogCreatedEvent:\x20'+util[_0x496c37(0x11c)](_0x5ce57d));throw _0x5ce57d;}}async['fetchDriverExecuteParamsEvent'](_0x2d1f56,_0x385a0b,_0x65fd99,_0x54f96f=null){const _0x4810d6=a80_0x43b8bd,_0x3a9579={'lTfOm':function(_0x427083,_0x549606){return _0x427083(_0x549606);},'kpjHy':function(_0x45f62b,_0x368e1f){return _0x45f62b||_0x368e1f;},'NhZDs':_0x4810d6(0x12c),'hBvnc':_0x4810d6(0xd8)};this[_0x4810d6(0x1c7)][_0x4810d6(0x146)](_0x4810d6(0xd2)+_0x2d1f56+_0x4810d6(0x12a)+_0x385a0b+',\x20scriptName='+_0x65fd99+_0x4810d6(0x1ba)+_0x3a9579['kpjHy'](_0x54f96f,_0x3a9579[_0x4810d6(0xe7)]));try{if(!this[_0x4810d6(0x127)])return this[_0x4810d6(0x1c7)]['debug'](_0x3a9579['hBvnc']),null;const _0x397aea=new messages[(_0x4810d6(0x170))]();return _0x397aea[_0x4810d6(0x1b7)](_0x2d1f56),_0x397aea[_0x4810d6(0x191)](_0x385a0b),_0x397aea[_0x4810d6(0x119)](_0x65fd99),_0x54f96f&&(_0x397aea[_0x4810d6(0x141)](_0x54f96f),this['logger'][_0x4810d6(0x146)](_0x4810d6(0x184)+_0x54f96f+'\x20for\x20product='+_0x385a0b+_0x4810d6(0x187)+_0x65fd99)),await new Promise(_0x46ee17=>{const _0x543d3e=_0x4810d6;this[_0x543d3e(0x127)][_0x543d3e(0x105)](_0x397aea,(_0x55112d,_0x353ae2)=>{const _0x23c116=_0x543d3e;if(_0x55112d){this[_0x23c116(0x1c7)][_0x23c116(0x146)](_0x23c116(0x192)+_0x55112d),_0x3a9579[_0x23c116(0x151)](_0x46ee17,null);return;}this[_0x23c116(0x1c7)]['debug'](_0x23c116(0x109)+(_0x353ae2['getSuccess']&&_0x353ae2['getSuccess']())),_0x3a9579[_0x23c116(0x151)](_0x46ee17,_0x353ae2);});});}catch(_0x19d37b){return this[_0x4810d6(0x1c7)][_0x4810d6(0x146)](_0x4810d6(0x192)+_0x19d37b),null;}}async[a80_0x43b8bd(0x1ca)](_0x3c4b0b){const _0x97c7dd=a80_0x43b8bd,_0x20eb84={'KdFNf':function(_0x263473,_0x17e0ab){return _0x263473(_0x17e0ab);},'yBQcc':_0x97c7dd(0x123),'pSEUv':function(_0x1da4c6,_0xa6ce1e){return _0x1da4c6(_0xa6ce1e);},'NtIEI':'No\x20gRPC\x20client\x20initialized.'};this[_0x97c7dd(0x1c7)]['debug'](_0x97c7dd(0x17f)+_0x3c4b0b);try{if(!this['client'])return this['logger']['debug'](_0x20eb84[_0x97c7dd(0x193)]),null;const _0x22d6d7=new messages[(_0x97c7dd(0x153))]();_0x22d6d7[_0x97c7dd(0x1b7)](this['binSessionId']),_0x22d6d7['setErrorKey'](_0x3c4b0b);const _0xf1c5ac=await new Promise((_0x2b4e28,_0x5a32df)=>{const _0x10151d=_0x97c7dd,_0x4b026e={'wHwtF':function(_0x374e70,_0x1dc9c8){const _0x464daa=a80_0x323f;return _0x20eb84[_0x464daa(0x1a4)](_0x374e70,_0x1dc9c8);},'jaZQn':_0x20eb84[_0x10151d(0xf0)],'zXUDI':function(_0x5c0453,_0x13f043){return _0x20eb84['pSEUv'](_0x5c0453,_0x13f043);}};this['client']['reportClientTroubleshootingError'](_0x22d6d7,(_0x1e88da,_0x603c10)=>{const _0x4bbb6f=_0x10151d;if(_0x1e88da){this[_0x4bbb6f(0x1c7)][_0x4bbb6f(0x146)](_0x4bbb6f(0x154)+_0x1e88da),_0x4b026e['wHwtF'](_0x5a32df,_0x1e88da);return;}this[_0x4bbb6f(0x1c7)][_0x4bbb6f(0x146)](_0x4b026e['jaZQn']),_0x4b026e['zXUDI'](_0x2b4e28,_0x603c10);});});return _0xf1c5ac;}catch(_0x2cd0dd){return this['logger'][_0x97c7dd(0x146)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x2cd0dd),null;}}async[a80_0x43b8bd(0x15b)](){const _0x20714b=a80_0x43b8bd,_0x354d5f={'aNpDH':function(_0x58734e,_0x4de4ab){return _0x58734e(_0x4de4ab);},'bhIbr':_0x20714b(0x178),'sDqOT':function(_0x561a6b,_0x1963e5){return _0x561a6b(_0x1963e5);},'wsYrm':_0x20714b(0x11e),'PCEPj':_0x20714b(0xd8)};this['logger'][_0x20714b(0x146)](_0x354d5f[_0x20714b(0x101)]);try{if(!this[_0x20714b(0x127)])return this[_0x20714b(0x1c7)]['debug'](_0x354d5f[_0x20714b(0x152)]),null;const _0x2776fb=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x2776fb[_0x20714b(0x1b7)](this[_0x20714b(0x111)]);const _0xc723f1=await new Promise((_0x347f2b,_0x32c483)=>{const _0x2800f3=_0x20714b;this[_0x2800f3(0x127)][_0x2800f3(0x15b)](_0x2776fb,(_0x489a0e,_0x356af4)=>{const _0x2c3daf=_0x2800f3;if(_0x489a0e){this['logger'][_0x2c3daf(0x146)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x489a0e),_0x354d5f['aNpDH'](_0x32c483,_0x489a0e);return;}this['logger']['debug'](_0x354d5f['bhIbr']),_0x354d5f[_0x2c3daf(0x13d)](_0x347f2b,_0x356af4);});});return _0xc723f1;}catch(_0x1c6be4){return this[_0x20714b(0x1c7)][_0x20714b(0x146)](_0x20714b(0x100)+_0x1c6be4),null;}}[a80_0x43b8bd(0x159)](){const _0x23bed3=a80_0x43b8bd;return this[_0x23bed3(0x127)];}[a80_0x43b8bd(0x1d6)](){const _0x1f6ed4=a80_0x43b8bd;return this[_0x1f6ed4(0x106)];}}module[a80_0x43b8bd(0xd1)]=GrpcClient;function a80_0x3f82(){const _0x3d2e1a=['getTestFrameworkDetail','info','addAutomationSessions','setFrameworkVersion','jKful','zchNT','PlaywrightConfigRequest','XUYIp','GWHAE','TestFrameworkEventRequest','forEach','setTestFramework','LogEntry','getSdkVersion','KhSwy','bXGdw','GrpcClient','FetchDriverExecuteParamsEventRequest','startBinSession','getSdkLanguage','addLogs','ConnectBinSessionRequest','processId','testFrameworkEvent','SHrvQ','GetAggregatedClientTroubleshootingErrors\x20successful','getBrowserstackConfigPath','AccessibilityConfig\x20request\x20successful','setUuid','uVXDv','Getting\x20Playwright\x20config','XWNez','Reporting\x20ClientTroubleshootingError\x20','GlLhM','Sending\x20LogCreatedEvent','DriverInit\x20error:\x20','./browserstackCLI.js','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','UZLbe','DriverInitRequest',',\x20scriptName=','getAutomationFrameworkDetail','IFpIv','stop-bin-session\x20response:\x20','PlaywrightConfig\x20request\x20successful','setExecutionContext','1731DEMsOh','setExitCode','cwoPm','from','setProduct','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','NtIEI','2391222BoTuEv','setThreadId','accessibilityConfig','setAttachmentType','setHubUrl','setTestFrameworkName','CVgEU','name','BROWSERSTACK_CLI_BIN_SESSION_ID','setConfig','BGlbi','../../helpers/classLogger.js','credentials','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','24nfeqQv','getAccessibilityConfig','KdFNf','provider','setTestFrameworkState','KnLGa','\x22accessKey\x22:\x22[REDACTED]\x22','../../helpers/performance/constants','setPathProject','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','testFrameworkState','cwd','Stopping\x20bin\x20session','attachment_type','setCapabilities','timestamp','duration','replace','Error\x20in\x20TestFrameworkEvent:\x20','zsntB','BUauZ','setBinSessionId','uuid','StopBinSession\x20successful',',\x20testIdentifier=','YJwBM','ASsOg','OJsCL','../utils/constants','coUYm','frameworkName','listenAddress','iLVvi','kind','setProvider','version','setMessage','logger','YliEs','message','reportClientTroubleshootingError','setLevel','\x22userName\x22:\x22[REDACTED]\x22','setPathConfig','@grpc/grpc-js','winstonLogger','ConnectBinSession\x20successful','setExitSignal','test_identifier','Error\x20in\x20stopBinSession:\x20','nroft','WZUti','getChannel','1116905rAwCsg','PZwGw','logCreatedEvent','setDuration','Connected\x20to\x20gRPC\x20server\x20at\x20','OEeeH','Sending\x20TestFrameworkEvent','getEnvVarsMap','hubUrl','connect-bin-session\x20response:\x20','end','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','driverInit','exports','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','testInfo','4904128fhBdXR','8072946hJEekK','\x20for\x20tag\x20validation','encode','No\x20gRPC\x20client\x20initialized.','user_killed','setTestHookState','wJceh','ZSIsP','CZsgC','KiQou','frameworkVersion','hook_run_uuid','testFrameworkName','setFrameworkName','YsDej','PugCi','TestSessionEvent\x20error:\x20','JEkuG','NhZDs','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','MWxXP','SDK_CLI_ON_STOP','testSessionEvent','AkTZG','Error\x20in\x20connectBinSession:\x20','Sending\x20TestSessionEvent','lKbtw','yBQcc','fHClB','stringify','\x22key\x22:\x22[REDACTED]\x22','YgqFw','SDK_AUTOMATION_FRAMEWORK_INIT','ExecutionContext','uMYAc','setTestUuid','setHash','../../helpers/performance/performance-tester.js','testFrameworkVersion','playwrightConfig','fIdJx','setFileName','getInstance','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','wsYrm','EkseO','setCliArgs:\x20cliArgs=','4220yTqvGu','fetchDriverExecuteParamsEvent','channel','createInsecure','start','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','SDK_CONNECT_BIN_SESSION','TestSessionEventRequest','8084195PVSHUL','Error\x20in\x20DriverInit:\x20','cEpSb','addFrameworks','eDlJv','binSessionId','1xQTqCu','setRef','../../helpers/logger.js','17693150uvDzlj',',\x20parsedConfig=','StopBinSessionRequest','StopBinSession\x20error:\x20','setScriptName','setSdkLanguage','frameworkSessionId','format','RnceP','Getting\x20AggregatedClientTroubleshootingErrors','AutomationSession','slice','setCustomMetadata','No\x20gRPC\x20client\x20not\x20initialized.','ReportClientTroubleshootingError\x20successful','startBinSession:\x20Calling\x20startBinSession','threadId','ULHqz','client','AccessibilityConfig\x20error:\x20','ref',',\x20product=','setStartedAt','not\x20provided','connectBinSession','setUserInputParams','TestFrameworkEvent\x20request\x20successful','setTimestamp','StartBinSession\x20successful','11HJgLZs','fileSize','./cliUtils.js','izoYb','AccessibilityConfigRequest','Sending\x20DriverInit','connect','xedZC','level','eUhNQ','setPlatformIndex','sDqOT','setKind','TestSessionEvent\x20request\x20successful','SDKClient','setTestIdentifier','testAnalyticsId','env','SUdue','setProcessId','debug','stopBinSession','path','setSdkVersion','LogCreatedEventRequest','SXduV','Missing\x20binSessionId','Connecting\x20bin\x20session','launchcaps','Error\x20in\x20startBinSession:\x20','error','lTfOm','PCEPj','ReportClientTroubleshootingErrorRequest','Error\x20in\x20ReportClientTroubleshootingError:\x20','Channel','SDK_START_BIN_SESSION','test_run_uuid','grpc.keepalive_time_ms','getClient','getFrameworkVersionsMap','getAggregatedClientTroubleshootingErrors','LogCreatedEvent\x20error:\x20','entries','setTestFrameworkVersion'];a80_0x3f82=function(){return _0x3d2e1a;};return a80_0x3f82();}
1
+ function a80_0x42f6(_0x5966a0,_0x15d0ef){const _0x246c84=a80_0x246c();return a80_0x42f6=function(_0x42f657,_0x493601){_0x42f657=_0x42f657-0x8e;let _0x5ced9e=_0x246c84[_0x42f657];return _0x5ced9e;},a80_0x42f6(_0x5966a0,_0x15d0ef);}const a80_0x135bc6=a80_0x42f6;(function(_0x48fc9a,_0x5ae610){const _0x4c70bb=a80_0x42f6,_0x39cc7f=_0x48fc9a();while(!![]){try{const _0x1caee3=parseInt(_0x4c70bb(0x90))/0x1*(-parseInt(_0x4c70bb(0x17b))/0x2)+-parseInt(_0x4c70bb(0xed))/0x3*(parseInt(_0x4c70bb(0x148))/0x4)+-parseInt(_0x4c70bb(0xe4))/0x5+parseInt(_0x4c70bb(0x18a))/0x6*(parseInt(_0x4c70bb(0xce))/0x7)+-parseInt(_0x4c70bb(0x142))/0x8+parseInt(_0x4c70bb(0x18d))/0x9*(-parseInt(_0x4c70bb(0xd6))/0xa)+parseInt(_0x4c70bb(0xb8))/0xb;if(_0x1caee3===_0x5ae610)break;else _0x39cc7f['push'](_0x39cc7f['shift']());}catch(_0x6459b1){_0x39cc7f['push'](_0x39cc7f['shift']());}}}(a80_0x246c,0x736a2));function a80_0x246c(){const _0x2c8a06=['BROWSERSTACK_CLI_BIN_SESSION_ID','setExitCode','setFrameworkSessionId','setTimestamp','AccessibilityConfig\x20error:\x20','AAeiT','\x20for\x20product=','Error\x20in\x20DriverInit:\x20','version','cwd',',\x20scriptName=','DNUJW','gbrwj','PlaywrightConfig\x20error:\x20','TestFrameworkEvent\x20request\x20successful','testFrameworkName','../../helpers/classLogger.js','No\x20gRPC\x20client\x20not\x20initialized.','xWNkY','reportClientTroubleshootingError','\x20for\x20tag\x20validation','addAutomationSessions','getPlaywrightConfig','JuFGK','not\x20provided','XLQoV',',\x20product=','info','pBris','setExecutionContext','FetchDriverExecuteParamsEventRequest','DriverInit\x20error:\x20','TIQLo','setEventJson','listenAddress','setTestUuid','HUlha','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','Error\x20in\x20ReportClientTroubleshootingError:\x20','wFaBl','getChannel','test_run_uuid','getAggregatedClientTroubleshootingErrors','SDK_CONNECT_BIN_SESSION','hubUrl','GULJt','provider','AutomationSession','Getting\x20Playwright\x20config','setSdkVersion','setThreadId','fileName','setCliArgsList','TestFrameworkEventRequest','ConnectBinSession\x20error:\x20','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','7437312KQUBpS','MTmjx','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','Stopping\x20bin\x20session','OSiqw','SDK_START_BIN_SESSION','180WoPVeT','yoHCY','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','bFZkg','format','hook_run_uuid','LogCreatedEvent\x20error:\x20','Error\x20in\x20stopBinSession:\x20','../../helpers/logger.js','setTestFrameworkVersion','getEnvVarsMap','TestSessionEvent\x20error:\x20','setFilePath','attachment_type','setStartedAt','duration','ScpGA','OdfQP','binSessionId','stopBinSession','winstonLogger','setTestFrameworkState','ExecutionContext','ref','../utils/constants','fetchDriverExecuteParamsEvent','product','qPNLH','SsscP','QzQxF','rioxg','env','Sending\x20TestSessionEvent','setDuration','encode','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','from','WfvSX','ConnectBinSession\x20successful','NhHjh','LMifS','bBInb','Error\x20in\x20startBinSession:\x20','channel','setTestIdentifier','zghcc','NbDmd','GlOBO','replace','getSuccess','start','1506190exFWao','setTestFramework','Iohrn','getFrameworkVersionsMap','setAttachmentType','threadId','fDUAd','fileSize','setEndedAt','\x22key\x22:\x22[REDACTED]\x22','testFrameworkState','LogEntry','setLevel','uuid','setLanguage','4766898kkfJSp','addLogs','hash','18hspOof','path','getSdkLanguage','testSessionEvent','TestSessionEvent\x20request\x20successful','setFrameworkVersion','Error\x20in\x20connectBinSession:\x20','hfeoQ','filePath','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','MfSeT','GnAbT','stringify','createInsecure','setPathProject','Reporting\x20ClientTroubleshootingError\x20','../../helpers/performance/performance-tester.js','setProduct','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','getBrowserstackCliConfig','testFrameworkEvent','IRriK','PlaywrightConfig\x20request\x20successful','htWzb','setProvider','\x20and\x20listen\x20address:\x20','setCapabilities','npjjG','AqVsM','setTestHookState','ffEee','1KjOLef','DriverInit\x20request\x20successful','../../helpers/helper.js','setMessage','StopBinSessionRequest','setPlatformIndex','StopBinSession\x20error:\x20','ZSGcn','end','getAutomationFrameworkDetail','No\x20gRPC\x20client\x20initialized.','xqaht','test_identifier','fQCRI','addFrameworks','mhiwk','getTestFrameworkDetail','TestSessionEventRequest','getAccessibilityConfig','startBinSession','DriverInitRequest','setBinSessionId','argv','QODqD','GetAggregatedClientTroubleshootingErrorsRequest','user_killed','PJJsT','setTestFrameworkName','GetAggregatedClientTroubleshootingErrors\x20successful','AccessibilityConfig\x20request\x20successful','rHWad','driverInit','cqdwD','util','setProcessId','StopBinSession\x20successful','setSdkLanguage','\x20listenAddr:\x20','client','../../../generated/sdk_grpc_pb','26001844onIlja','LqnBi','setRef','init','GgaPS','@grpc/grpc-js','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','SDK_CLI_ON_STOP','ZMKZJ','testAnalyticsId','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','setConfig','StartBinSessionRequest','xRgdb','kind','push','setCliArgs:\x20cliArgs=','kAAOD','logCreatedEvent','Connecting\x20bin\x20session','debug','setFileName','7JaCUau','stop-bin-session\x20response:\x20','name','xJQny','qXDvi','entries','Stopping\x20signal\x20','getSdkVersion','1055740DqfSQs','setUserInputParams','./browserstackCLI.js','message','startBinSession:\x20Calling\x20startBinSession','testInfo','connect-bin-session\x20response:\x20','setHubUrl','irpeL','error','setUuid','setCustomMetadata','ReportClientTroubleshootingErrorRequest','logger','220285xRzQLv','null','QeFFD','../../helpers/performance/constants','WHVMo','playwrightConfig','setFrameworkName','CcfMu','../../../generated/sdk-messages_pb','49839VYEOyb','setExitReason','grpc.keepalive_time_ms','AccessibilityConfigRequest','setFrameworksList',',\x20testIdentifier=','getBrowserstackConfigPath','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','forEach','getInstance',',\x20parsedConfig=','XIUYh','abnLS','lyOhc','PlaywrightConfigRequest','\x22accessKey\x22:\x22[REDACTED]\x22','LogCreatedEventRequest','Connected\x20to\x20gRPC\x20server\x20at\x20','QxuDl','timestamp','getClient','set','SDK_AUTOMATION_FRAMEWORK_INIT','utf-8','LogCreatedEvent\x20request\x20successful','setScriptName','level','StartBinSession\x20error:\x20','processId'];a80_0x246c=function(){return _0x2c8a06;};return a80_0x246c();}const util=require(a80_0x135bc6(0xb1)),logger=require(a80_0x135bc6(0x150))[a80_0x135bc6(0x15c)],grpc=require(a80_0x135bc6(0xbd)),services=require(a80_0x135bc6(0xb7)),messages=require(a80_0x135bc6(0xec)),path=require(a80_0x135bc6(0x18e)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a80_0x135bc6(0x11a)),PerformanceTester=require(a80_0x135bc6(0x19d)),{EVENTS:PerformanceEvents}=require(a80_0x135bc6(0xe7)),{PLAYWRIGHT_TRACE_LOGS}=require(a80_0x135bc6(0x160)),helper=require(a80_0x135bc6(0x92));class GrpcClient{static #instance=null;['binSessionId']=null;[a80_0x135bc6(0x12c)]=null;['channel']=null;[a80_0x135bc6(0xb6)]=null;[a80_0x135bc6(0xe3)]=createClassLogger('GrpcClient');constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a80_0x135bc6(0xbb)](_0x229e51){const _0x24c77e=a80_0x135bc6,_0x40ca5d={};_0x40ca5d[_0x24c77e(0x8f)]=function(_0x507b99,_0x4a55b3){return _0x507b99||_0x4a55b3;};const _0x5e368d=_0x40ca5d,{id:_0x1201d4,listen:_0x4b4fa5}=_0x229e51;if(_0x5e368d[_0x24c77e(0x8f)](!_0x1201d4,!_0x4b4fa5))throw new Error(_0x24c77e(0x19f)+_0x1201d4+_0x24c77e(0xb5)+_0x4b4fa5);this[_0x24c77e(0x15a)]=_0x1201d4,this['listenAddress']=_0x4b4fa5,process['env'][_0x24c77e(0x10a)]=this[_0x24c77e(0x15a)],process[_0x24c77e(0x167)][_0x24c77e(0x196)]=this[_0x24c77e(0x12c)],this['connect'](),this[_0x24c77e(0xe3)][_0x24c77e(0x125)]('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x24c77e(0x15a)]+_0x24c77e(0x1a6)+this[_0x24c77e(0x12c)]);}['connect'](){const _0x43f1e3=a80_0x135bc6,_0x357e34={};_0x357e34[_0x43f1e3(0x97)]=_0x43f1e3(0xc2);const _0x1e93c8=_0x357e34;let _0x4abdf8=this[_0x43f1e3(0x12c)];!_0x4abdf8&&(_0x4abdf8=process[_0x43f1e3(0x167)][_0x43f1e3(0x196)]);!this[_0x43f1e3(0x15a)]&&(this[_0x43f1e3(0x15a)]=this['binSessionId']||process[_0x43f1e3(0x167)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x4abdf8)throw new Error(_0x1e93c8[_0x43f1e3(0x97)]);const _0x2d950e={};_0x2d950e[_0x43f1e3(0xef)]=0x2710,this[_0x43f1e3(0x173)]=new grpc['Channel'](_0x4abdf8,grpc['credentials'][_0x43f1e3(0x19a)](),_0x2d950e),this[_0x43f1e3(0xb6)]=new services['SDKClient'](_0x4abdf8,grpc['credentials'][_0x43f1e3(0x19a)]()),this[_0x43f1e3(0xe3)][_0x43f1e3(0x125)](_0x43f1e3(0xfe)+_0x4abdf8);}async[a80_0x135bc6(0xa3)](){const _0x3d3294=a80_0x135bc6,_0x1a304a={'JuFGK':function(_0x4c94f0,_0x60889e){return _0x4c94f0!==_0x60889e;},'NhOIk':function(_0x4044b3,_0x425db4){return _0x4044b3!==_0x425db4;},'cqdwD':function(_0x2cecc2,_0x300bba){return _0x2cecc2(_0x300bba);},'PJJsT':'StartBinSession\x20successful','xmjiS':_0x3d3294(0xda),'MTmjx':_0x3d3294(0x11b),'irpeL':function(_0x125aa5,_0x7572cc){return _0x125aa5(_0x7572cc);},'OSiqw':_0x3d3294(0xd8),'hfeoQ':function(_0x173d85,_0x4426c4){return _0x173d85 instanceof _0x4426c4;},'wFaBl':_0x3d3294(0xe5),'xJQny':function(_0x296be8,_0x588341){return _0x296be8||_0x588341;},'Iohrn':function(_0x355af9,_0x823e38){return _0x355af9||_0x823e38;}};PerformanceTester[_0x3d3294(0x17a)](PerformanceEvents[_0x3d3294(0x147)]),this[_0x3d3294(0xe3)][_0x3d3294(0x125)](_0x1a304a['xmjiS']);try{!this[_0x3d3294(0xb6)]&&this['logger'][_0x3d3294(0x125)](_0x1a304a[_0x3d3294(0x143)]);const _0x5f489c=CLIUtils[_0x3d3294(0xd5)](),_0x1fe3b0=CLIUtils[_0x3d3294(0x99)](),_0x58f1d8=CLIUtils[_0x3d3294(0xa0)](),_0x3c5335=_0x1fe3b0['name'],_0x40e237=_0x1fe3b0[_0x3d3294(0x112)],_0x27cd36=_0x58f1d8[_0x3d3294(0xd0)],_0x479db5=_0x58f1d8['version']?_0x58f1d8[_0x3d3294(0x112)][_0x27cd36]:'',_0x28ce0c=new messages[(_0x3d3294(0xc4))]();_0x28ce0c[_0x3d3294(0xa5)](this['binSessionId']),_0x28ce0c[_0x3d3294(0xb4)](CLIUtils['getSdkLanguage']()),_0x28ce0c[_0x3d3294(0x13b)](_0x5f489c),_0x28ce0c[_0x3d3294(0x19b)](process[_0x3d3294(0x113)]());const _0x2ed17b=_0x28ce0c[_0x3d3294(0x152)]();Object[_0x3d3294(0xd3)](process['env'])['forEach'](([_0x3b10fe,_0x5eaf6f])=>{const _0x44cc67=_0x3d3294;_0x1a304a[_0x44cc67(0x121)](_0x5eaf6f,undefined)&&_0x1a304a['NhOIk'](_0x5eaf6f,null)&&_0x2ed17b[_0x44cc67(0x102)](_0x3b10fe,_0x5eaf6f);});const _0x4b8a54=_0x1a304a[_0x3d3294(0xde)](require,_0x1a304a[_0x3d3294(0x146)]),_0x2adc35=_0x4b8a54[_0x3d3294(0xf6)]()[_0x3d3294(0x1a0)](),_0x1785bf=[];_0x2adc35&&_0x1a304a[_0x3d3294(0x194)](_0x2adc35,Map)&&_0x2adc35[_0x3d3294(0xf5)]((_0x455b2b,_0x21d710)=>{const _0x227a90=_0x3d3294;_0x1785bf[_0x227a90(0xc7)](_0x21d710+'='+_0x455b2b);});const _0x4962e1=process[_0x3d3294(0xa6)]['slice'](0x2);_0x28ce0c[_0x3d3294(0x13e)]([..._0x4962e1,..._0x1785bf]),_0x28ce0c['setPathConfig'](_0x4b8a54['getInstance']()[_0x3d3294(0xf3)]()),this['logger'][_0x3d3294(0x125)](_0x3d3294(0xc8)+JSON[_0x3d3294(0x199)](_0x4962e1)+_0x3d3294(0xf7)+(_0x2adc35?JSON[_0x3d3294(0x199)]([..._0x2adc35]):_0x1a304a[_0x3d3294(0x131)])),_0x28ce0c[_0x3d3294(0x189)](CLIUtils[_0x3d3294(0x18f)]()),_0x28ce0c[_0x3d3294(0x17c)](_0x27cd36);const _0x5f45db=_0x28ce0c[_0x3d3294(0x17e)]();return _0x5f45db['set'](_0x3c5335,_0x1a304a[_0x3d3294(0xd1)](_0x40e237,'')),_0x5f45db[_0x3d3294(0x102)](_0x27cd36,_0x1a304a[_0x3d3294(0x17d)](_0x479db5,'')),_0x28ce0c[_0x3d3294(0x9e)](_0x3c5335,_0x40e237),_0x28ce0c[_0x3d3294(0x9e)](_0x27cd36,_0x479db5),_0x28ce0c[_0x3d3294(0xf1)]([_0x27cd36,_0x3c5335]),new Promise((_0x779790,_0x2e1403)=>{const _0x51446f=_0x3d3294,_0x5e6025={'dEsZA':function(_0x2c17df,_0x92de89){const _0x96612e=a80_0x42f6;return _0x1a304a[_0x96612e(0xb0)](_0x2c17df,_0x92de89);},'vXyPR':_0x1a304a[_0x51446f(0xaa)],'fDUAd':function(_0x14fada,_0x18c891){const _0xde86cb=_0x51446f;return _0x1a304a[_0xde86cb(0xb0)](_0x14fada,_0x18c891);}};this['client'][_0x51446f(0xa3)](_0x28ce0c,(_0x325a7d,_0x1926e3)=>{const _0x190abf=_0x51446f;if(_0x325a7d){this[_0x190abf(0xe3)][_0x190abf(0xdf)](_0x190abf(0x108)+_0x325a7d['message']),_0x5e6025['dEsZA'](_0x2e1403,_0x325a7d),PerformanceTester[_0x190abf(0x98)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x190abf(0x14c)](_0x325a7d));return;}this['logger'][_0x190abf(0x125)](_0x5e6025['vXyPR']),PerformanceTester[_0x190abf(0x98)](PerformanceEvents['SDK_START_BIN_SESSION']),_0x5e6025[_0x190abf(0x181)](_0x779790,_0x1926e3);});});}catch(_0x4801bd){this[_0x3d3294(0xe3)]['error'](_0x3d3294(0x172)+util[_0x3d3294(0x14c)](_0x4801bd)),PerformanceTester[_0x3d3294(0x98)](PerformanceEvents[_0x3d3294(0x147)],![],util['format'](_0x4801bd));throw _0x4801bd;}}async['connectBinSession'](){const _0x20870a=a80_0x135bc6,_0x3f3aab={'UIQJI':function(_0x48561b,_0x321578){return _0x48561b(_0x321578);},'QmCcZ':_0x20870a(0x16e),'mhiwk':_0x20870a(0xcb),'bFZkg':_0x20870a(0x11b),'lyOhc':'\x22userName\x22:\x22[REDACTED]\x22','xqaht':_0x20870a(0xfc),'GgaPS':_0x20870a(0x184)};PerformanceTester[_0x20870a(0x17a)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this[_0x20870a(0xe3)]['info'](_0x3f3aab[_0x20870a(0x9f)]);try{!this['client']&&this[_0x20870a(0xe3)][_0x20870a(0x125)](_0x3f3aab[_0x20870a(0x14b)]);const _0x583843=new messages['ConnectBinSessionRequest']();_0x583843['setBinSessionId'](this[_0x20870a(0x15a)]);const _0x212acc=await new Promise((_0x26bdc1,_0x2d5c62)=>{const _0x139514=_0x20870a;this[_0x139514(0xb6)]['connectBinSession'](_0x583843,(_0x511de0,_0x177170)=>{const _0x20c9bb=_0x139514;if(_0x511de0){this[_0x20c9bb(0xe3)][_0x20c9bb(0xdf)](_0x20c9bb(0x140)+_0x511de0[_0x20c9bb(0xd9)]),_0x3f3aab['UIQJI'](_0x2d5c62,_0x511de0),PerformanceTester['end'](PerformanceEvents[_0x20c9bb(0x135)],![],util[_0x20c9bb(0x14c)](_0x511de0));return;}this['logger'][_0x20c9bb(0x125)](_0x3f3aab['QmCcZ']),PerformanceTester[_0x20c9bb(0x98)](PerformanceEvents[_0x20c9bb(0x135)]),_0x3f3aab['UIQJI'](_0x26bdc1,_0x177170);});}),_0x38e7bd=util[_0x20870a(0x14c)](_0x212acc)[_0x20870a(0x178)](/"userName":"[^"]*"/g,_0x3f3aab[_0x20870a(0xfa)])[_0x20870a(0x178)](/"accessKey":"[^"]*"/g,_0x3f3aab[_0x20870a(0x9b)])[_0x20870a(0x178)](/"key":"[^"]*"/g,_0x3f3aab[_0x20870a(0xbc)]);return this[_0x20870a(0xe3)][_0x20870a(0xcc)](_0x20870a(0xdc)+_0x38e7bd),_0x212acc;}catch(_0x1d7e82){PerformanceTester[_0x20870a(0x98)](PerformanceEvents[_0x20870a(0x135)],![],util['format'](_0x1d7e82)),this['logger'][_0x20870a(0xdf)](_0x20870a(0x193)+util[_0x20870a(0x14c)](_0x1d7e82));throw _0x1d7e82;}}async[a80_0x135bc6(0x15b)](_0x482e96={},_0x15a636=null){const _0x2e9f08=a80_0x135bc6,_0x1451b2={'GnAbT':function(_0xf0afde,_0x421f5e){return _0xf0afde(_0x421f5e);},'WHVMo':_0x2e9f08(0xb3),'LMifS':_0x2e9f08(0x145),'IoTNm':'Missing\x20binSessionId','bBInb':_0x2e9f08(0x11b),'xWNkY':_0x2e9f08(0xa9)};PerformanceTester[_0x2e9f08(0x17a)](PerformanceEvents[_0x2e9f08(0xbf)]),this[_0x2e9f08(0xe3)][_0x2e9f08(0x125)](_0x1451b2[_0x2e9f08(0x170)]);try{if(!this[_0x2e9f08(0x15a)])throw new Error(_0x1451b2['IoTNm']);!this['client']&&this['logger']['info'](_0x1451b2[_0x2e9f08(0x171)]);const _0x439344=new messages[(_0x2e9f08(0x94))]();this['logger'][_0x2e9f08(0xcc)](_0x2e9f08(0xd4)+JSON['stringify'](_0x15a636)),_0x439344[_0x2e9f08(0xa5)](this[_0x2e9f08(0x15a)]),_0x439344[_0x2e9f08(0xe1)](_0x482e96),_0x439344['setExitSignal'](_0x15a636?_0x15a636:null),_0x439344[_0x2e9f08(0xee)](_0x15a636?_0x1451b2[_0x2e9f08(0x11c)]:null),_0x439344[_0x2e9f08(0x10b)](_0x15a636?0x1:0x0);const _0x30aa13=await new Promise((_0x237433,_0x5abf40)=>{const _0x1f63a1=_0x2e9f08,_0x2abdee={'IRriK':function(_0x35b76a,_0x3d9032){return _0x1451b2['GnAbT'](_0x35b76a,_0x3d9032);},'AqVsM':_0x1451b2[_0x1f63a1(0xe8)],'abnLS':function(_0x32ee0e,_0x5876e4){const _0x2801ef=_0x1f63a1;return _0x1451b2[_0x2801ef(0x198)](_0x32ee0e,_0x5876e4);}};this[_0x1f63a1(0xb6)][_0x1f63a1(0x15b)](_0x439344,(_0x498272,_0x397c2e)=>{const _0x152214=_0x1f63a1;if(_0x498272){this[_0x152214(0xe3)]['error'](_0x152214(0x96)+_0x498272[_0x152214(0xd9)]),_0x2abdee[_0x152214(0x1a2)](_0x5abf40,_0x498272),PerformanceTester['end'](PerformanceEvents[_0x152214(0xbf)],![],util[_0x152214(0x14c)](_0x498272));return;}this[_0x152214(0xe3)][_0x152214(0x125)](_0x2abdee[_0x152214(0x1a9)]),PerformanceTester['end'](PerformanceEvents[_0x152214(0xbf)]),_0x2abdee[_0x152214(0xf9)](_0x237433,_0x397c2e);});});return this[_0x2e9f08(0xe3)][_0x2e9f08(0xcc)](_0x2e9f08(0xcf)+util[_0x2e9f08(0x14c)](_0x30aa13)),_0x30aa13;}catch(_0x2fad01){PerformanceTester[_0x2e9f08(0x98)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x2e9f08(0x14c)](_0x2fad01)),this[_0x2e9f08(0xe3)][_0x2e9f08(0xdf)](_0x2e9f08(0x14f)+util[_0x2e9f08(0x14c)](_0x2fad01));}}async[a80_0x135bc6(0x120)](_0x125074){const _0x450854=a80_0x135bc6,_0x515c79={'xRgdb':function(_0x58590e,_0x5c8bc5){return _0x58590e(_0x5c8bc5);},'MfSeT':_0x450854(0x1a3),'WfvSX':_0x450854(0x13a),'rioxg':_0x450854(0x11b)};PerformanceTester[_0x450854(0x17a)](PerformanceEvents[_0x450854(0x103)]),this[_0x450854(0xe3)][_0x450854(0x125)](_0x515c79[_0x450854(0x16d)]);try{!this[_0x450854(0xb6)]&&this[_0x450854(0xe3)]['info'](_0x515c79[_0x450854(0x166)]);const _0x37c5f6=new messages[(_0x450854(0xfb))]();return _0x37c5f6[_0x450854(0xa5)](this[_0x450854(0x15a)]),_0x37c5f6[_0x450854(0xc3)](JSON[_0x450854(0x199)](_0x125074)),new Promise((_0x200f91,_0x8db1b0)=>{const _0x163901=_0x450854,_0x313fe9={'OdfQP':function(_0x1b8b5c,_0x1dd65c){const _0x559bca=a80_0x42f6;return _0x515c79[_0x559bca(0xc5)](_0x1b8b5c,_0x1dd65c);},'nmJFI':_0x515c79[_0x163901(0x197)]};this['client'][_0x163901(0xe9)](_0x37c5f6,(_0x47ab57,_0x5527e4)=>{const _0x53a002=_0x163901;if(_0x47ab57){this[_0x53a002(0xe3)][_0x53a002(0xdf)](_0x53a002(0x117)+_0x47ab57['message']),_0x313fe9[_0x53a002(0x159)](_0x8db1b0,_0x47ab57),PerformanceTester[_0x53a002(0x98)](PerformanceEvents[_0x53a002(0x103)],![],util[_0x53a002(0x14c)](_0x47ab57));return;}this['logger']['info'](_0x313fe9['nmJFI']),PerformanceTester[_0x53a002(0x98)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x313fe9['OdfQP'](_0x200f91,_0x5527e4);});});}catch(_0x1c7904){PerformanceTester[_0x450854(0x98)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x450854(0x14c)](_0x1c7904)),this[_0x450854(0xe3)][_0x450854(0xdf)]('Error\x20in\x20getPlaywrightConfig:\x20'+util[_0x450854(0x14c)](_0x1c7904));throw _0x1c7904;}}async[a80_0x135bc6(0xa2)](_0x2de62f){const _0xde94e5=a80_0x135bc6,_0xfa7552={'fQCRI':function(_0x37ccde,_0x2cca92){return _0x37ccde(_0x2cca92);},'TKFOe':_0xde94e5(0xad),'SsscP':function(_0x46e15c,_0x529b3e){return _0x46e15c(_0x529b3e);},'DNUJW':function(_0x5dee03,_0x3b64fe){return _0x5dee03||_0x3b64fe;},'ScpGA':_0xde94e5(0x122),'XLQoV':_0xde94e5(0x104)},_0x2591fc=_0x2de62f[_0xde94e5(0xdb)]?.[_0xde94e5(0xc1)]||_0x2de62f['testInfo']?.['id'];this[_0xde94e5(0xe3)][_0xde94e5(0x125)](_0xde94e5(0x144)+_0xfa7552[_0xde94e5(0x115)](_0x2591fc,_0xfa7552[_0xde94e5(0x158)]));try{const _0x487352=Buffer[_0xde94e5(0x16c)](JSON[_0xde94e5(0x199)](_0x2de62f['launchcaps']),_0xfa7552[_0xde94e5(0x123)]),_0x3c52bb=new messages[(_0xde94e5(0xf0))](),_0x46ce31=CLIUtils['getAutomationFrameworkDetail'](),_0x3fc804=_0x46ce31['name'],_0x46ec73=_0x46ce31['version'];_0x3c52bb[_0xde94e5(0xa5)](this[_0xde94e5(0x15a)]),_0x3c52bb[_0xde94e5(0x95)](0x0),_0x3c52bb[_0xde94e5(0xea)](_0x3fc804),_0x3c52bb[_0xde94e5(0x192)](_0x46ec73),_0x3c52bb[_0xde94e5(0xdd)](_0x2de62f['hubUrl']),_0x3c52bb[_0xde94e5(0x1a7)](_0x487352);if(_0x2de62f[_0xde94e5(0xdb)]?.[_0xde94e5(0xc1)]||_0x2de62f['testInfo']?.['id']){const _0x451f1b=_0x2de62f[_0xde94e5(0xdb)][_0xde94e5(0xc1)]||_0x2de62f[_0xde94e5(0xdb)]['id'];_0x3c52bb[_0xde94e5(0x174)](_0x451f1b),this[_0xde94e5(0xe3)][_0xde94e5(0xcc)](_0xde94e5(0x141)+_0x451f1b+_0xde94e5(0x11e));}return new Promise((_0x204388,_0x2d612f)=>{const _0x24587b=_0xde94e5;this[_0x24587b(0xb6)]['accessibilityConfig'](_0x3c52bb,(_0x1831e1,_0x2a2c05)=>{const _0x342d4c=_0x24587b;if(_0x1831e1){this[_0x342d4c(0xe3)][_0x342d4c(0xdf)](_0x342d4c(0x10e)+_0x1831e1[_0x342d4c(0xd9)]),_0xfa7552[_0x342d4c(0x9d)](_0x2d612f,_0x1831e1);return;}this[_0x342d4c(0xe3)][_0x342d4c(0x125)](_0xfa7552['TKFOe']),_0xfa7552[_0x342d4c(0x164)](_0x204388,_0x2a2c05);});});}catch(_0xc214d1){this['logger'][_0xde94e5(0xdf)]('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0xde94e5(0x14c)](_0xc214d1));}}async[a80_0x135bc6(0x190)](_0x3979ee){const _0x3a9524=a80_0x135bc6,_0x3e5c9d={'KPQCR':function(_0x14ca79,_0xbebfa2){return _0x14ca79(_0xbebfa2);},'qPNLH':_0x3a9524(0x191),'HUlha':_0x3a9524(0x168),'CcfMu':_0x3a9524(0x11b)};this[_0x3a9524(0xe3)]['info'](_0x3e5c9d[_0x3a9524(0x12e)]);try{!this['client']&&this[_0x3a9524(0xe3)][_0x3a9524(0x125)](_0x3e5c9d[_0x3a9524(0xeb)]);const {platformIndex:_0x2ba69a,testFrameworkName:_0x2b2bf7,testFrameworkVersion:_0x25d6f0,testFrameworkState:_0xb58859,testHookState:_0x4cf003,testUuid:_0x357f26,automationSession:_0x9ce63c,capabilities:_0x1b396f,executionContext:_0x20a6e6,test_identifier:_0x25a221}=_0x3979ee,_0xca2676=new messages[(_0x3a9524(0xa1))]();_0xca2676[_0x3a9524(0xa5)](this[_0x3a9524(0x15a)]),_0xca2676['setPlatformIndex'](_0x2ba69a),_0xca2676[_0x3a9524(0xab)](_0x2b2bf7),_0xca2676[_0x3a9524(0x151)](_0x25d6f0),_0xca2676[_0x3a9524(0x15d)](_0xb58859),_0xca2676[_0x3a9524(0x8e)](_0x4cf003),_0xca2676[_0x3a9524(0x12d)](_0x357f26);const _0x25fa10=new messages[(_0x3a9524(0xa1))][(_0x3a9524(0x139))]();_0x25fa10[_0x3a9524(0x1a5)](_0x9ce63c[_0x3a9524(0x138)]),_0x25fa10[_0x3a9524(0xea)](_0x9ce63c['frameworkName']),_0x25fa10[_0x3a9524(0x192)](_0x9ce63c['frameworkVersion']),_0x25fa10[_0x3a9524(0x10c)](_0x9ce63c['frameworkSessionId']),_0x25fa10[_0x3a9524(0x19e)](_0x9ce63c[_0x3a9524(0x162)]),_0x25fa10[_0x3a9524(0xba)](_0x9ce63c[_0x3a9524(0x15f)]),_0x25fa10[_0x3a9524(0xdd)](_0x9ce63c[_0x3a9524(0x136)]),_0xca2676[_0x3a9524(0x11f)](_0x25fa10),_0xca2676[_0x3a9524(0x1a7)](_0x1b396f);const _0x3a98c7=new messages[(_0x3a9524(0x15e))]();return _0x3a98c7['setProcessId'](_0x20a6e6[_0x3a9524(0x109)]),_0x3a98c7[_0x3a9524(0x13c)](_0x20a6e6[_0x3a9524(0x180)]),_0x3a98c7['setHash'](_0x20a6e6[_0x3a9524(0x18c)]),_0xca2676[_0x3a9524(0x127)](_0x3a98c7),_0x25a221&&_0xca2676[_0x3a9524(0x174)](_0x25a221),new Promise((_0x298bec,_0x31fbbb)=>{const _0x12c96a=_0x3a9524,_0xbbdab8={'htWzb':function(_0x496569,_0x28c97a){return _0x3e5c9d['KPQCR'](_0x496569,_0x28c97a);},'gbrwj':_0x3e5c9d[_0x12c96a(0x163)]};this[_0x12c96a(0xb6)][_0x12c96a(0x190)](_0xca2676,(_0x4f52cf,_0x4e78cf)=>{const _0x7b02e6=_0x12c96a;if(_0x4f52cf){this[_0x7b02e6(0xe3)][_0x7b02e6(0xdf)](_0x7b02e6(0x153)+_0x4f52cf[_0x7b02e6(0xd9)]),_0xbbdab8[_0x7b02e6(0x1a4)](_0x31fbbb,_0x4f52cf);return;}this[_0x7b02e6(0xe3)][_0x7b02e6(0x125)](_0xbbdab8[_0x7b02e6(0x116)]),_0xbbdab8[_0x7b02e6(0x1a4)](_0x298bec,_0x4e78cf);});});}catch(_0x437c5c){this[_0x3a9524(0xe3)][_0x3a9524(0xdf)]('Error\x20in\x20TestSessionEvent:\x20'+util['format'](_0x437c5c));throw _0x437c5c;}}async[a80_0x135bc6(0x1a1)](_0x4b0c73){const _0x10df7c=a80_0x135bc6,_0x49725c={'kAAOD':function(_0x5ea951,_0x565413){return _0x5ea951(_0x565413);},'XIUYh':_0x10df7c(0x118),'oszOV':'Sending\x20TestFrameworkEvent','QODqD':_0x10df7c(0x11b)};this['logger']['info'](_0x49725c['oszOV']);try{!this[_0x10df7c(0xb6)]&&this[_0x10df7c(0xe3)]['info'](_0x49725c[_0x10df7c(0xa7)]);const {platformIndex:_0x46835b,testFrameworkName:_0x20e9d0,testFrameworkVersion:_0x1bcd24,testFrameworkState:_0x362f54,hookState:_0x338bf8,startedAt:_0x46e258,endedAt:_0x2a34d2,uuid:_0x50aa3f,eventJson:_0x30588d,executionContext:_0x329003,test_identifier:_0x2bb440}=_0x4b0c73,_0x48c30d=new messages[(_0x10df7c(0x13f))]();_0x48c30d[_0x10df7c(0xa5)](this['binSessionId']),_0x48c30d['setPlatformIndex'](_0x46835b),_0x48c30d[_0x10df7c(0xab)](_0x20e9d0),_0x48c30d['setTestFrameworkVersion'](_0x1bcd24),_0x48c30d[_0x10df7c(0x15d)](_0x362f54),_0x48c30d[_0x10df7c(0x8e)](_0x338bf8),_0x48c30d[_0x10df7c(0x156)](_0x46e258),_0x48c30d[_0x10df7c(0x183)](_0x2a34d2),_0x48c30d[_0x10df7c(0xe0)](_0x50aa3f),_0x48c30d[_0x10df7c(0x12b)](_0x30588d);const _0x77b5b7=new messages['ExecutionContext']();return _0x77b5b7[_0x10df7c(0xb2)](_0x329003[_0x10df7c(0x109)]),_0x77b5b7[_0x10df7c(0x13c)](_0x329003[_0x10df7c(0x180)]),_0x77b5b7['setHash'](_0x329003['hash']),_0x48c30d['setExecutionContext'](_0x77b5b7),_0x2bb440&&_0x48c30d[_0x10df7c(0x174)](_0x2bb440),new Promise((_0x4ca7ec,_0xb66964)=>{const _0x19db13=_0x10df7c;this[_0x19db13(0xb6)]['testFrameworkEvent'](_0x48c30d,(_0x2909b6,_0x4f6abd)=>{const _0x56fb10=_0x19db13;if(_0x2909b6){this['logger'][_0x56fb10(0xdf)]('TestFrameworkEvent\x20error:\x20'+_0x2909b6[_0x56fb10(0xd9)]),_0x49725c[_0x56fb10(0xc9)](_0xb66964,_0x2909b6);return;}this[_0x56fb10(0xe3)]['info'](_0x49725c[_0x56fb10(0xf8)]),_0x49725c[_0x56fb10(0xc9)](_0x4ca7ec,_0x4f6abd);});});}catch(_0x5b0ff6){this[_0x10df7c(0xe3)][_0x10df7c(0xdf)]('Error\x20in\x20TestFrameworkEvent:\x20'+util[_0x10df7c(0x14c)](_0x5b0ff6));throw _0x5b0ff6;}}async['driverInit'](_0x4341ed){const _0x50503d=a80_0x135bc6,_0x52c9fb={'TIQLo':function(_0xe2955,_0x30e867){return _0xe2955(_0x30e867);},'pBris':_0x50503d(0x91),'rHWad':'Sending\x20DriverInit','LosQb':_0x50503d(0x11b)};this[_0x50503d(0xe3)]['info'](_0x52c9fb[_0x50503d(0xae)]);try{!this[_0x50503d(0xb6)]&&this['logger'][_0x50503d(0x125)](_0x52c9fb['LosQb']);const {platformIndex:_0x502239,ref:_0x546fdb,userInputParams:_0x214209,hubUrl:_0xa0a40a}=_0x4341ed,_0x4b8afa=new messages[(_0x50503d(0xa4))]();return _0x4b8afa[_0x50503d(0xa5)](this[_0x50503d(0x15a)]),_0x4b8afa[_0x50503d(0x95)](_0x502239),_0x4b8afa[_0x50503d(0xba)](_0x546fdb),_0x4b8afa[_0x50503d(0xd7)](_0x214209),_0x4b8afa['setHubUrl'](_0xa0a40a),new Promise((_0x5b47c1,_0xd34000)=>{const _0x5a1762=_0x50503d;this[_0x5a1762(0xb6)][_0x5a1762(0xaf)](_0x4b8afa,(_0xfafbd4,_0x1d77f2)=>{const _0x155231=_0x5a1762;if(_0xfafbd4){this[_0x155231(0xe3)]['error'](_0x155231(0x129)+_0xfafbd4['message']),_0x52c9fb[_0x155231(0x12a)](_0xd34000,_0xfafbd4);return;}this[_0x155231(0xe3)][_0x155231(0x125)](_0x52c9fb[_0x155231(0x126)]),_0x52c9fb[_0x155231(0x12a)](_0x5b47c1,_0x1d77f2);});});}catch(_0x382983){this[_0x50503d(0xe3)][_0x50503d(0xdf)](_0x50503d(0x111)+util[_0x50503d(0x14c)](_0x382983));throw _0x382983;}}async[a80_0x135bc6(0xca)](_0x2a2841){const _0x4f9f4f=a80_0x135bc6,_0x52869e={'QxuDl':function(_0x2f0b9a,_0x1ee061){return _0x2f0b9a===_0x1ee061;},'LqnBi':'pending-resolution-from-test-identifier','yoHCY':function(_0x1c3067,_0x48c054){return _0x1c3067(_0x48c054);},'zPFkd':_0x4f9f4f(0x105),'qXDvi':'Sending\x20LogCreatedEvent','NEZNp':_0x4f9f4f(0x11b)};this['logger']['info'](_0x52869e[_0x4f9f4f(0xd2)]);try{!this['client']&&this[_0x4f9f4f(0xe3)][_0x4f9f4f(0x125)](_0x52869e['NEZNp']);const {platformIndex:_0x5b5dcb,logs:_0x4458c5}=_0x2a2841,_0x242be6=new messages[(_0x4f9f4f(0xfd))]();_0x242be6[_0x4f9f4f(0xa5)](this[_0x4f9f4f(0x15a)]),_0x242be6[_0x4f9f4f(0x95)](_0x5b5dcb);const _0x1ed7d6=_0x2a2841[_0x4f9f4f(0x119)],_0x23191d=_0x2a2841['testFrameworkVersion'],_0x42582e=_0x2a2841[_0x4f9f4f(0x185)];return _0x4458c5[_0x4f9f4f(0xf5)](_0x4b88db=>{const _0x28a9b6=_0x4f9f4f,_0x4f80a6=new messages[(_0x28a9b6(0xfd))][(_0x28a9b6(0x186))]();_0x4f80a6[_0x28a9b6(0xab)](_0x1ed7d6),_0x4f80a6[_0x28a9b6(0x151)](_0x23191d),_0x4f80a6[_0x28a9b6(0x15d)](_0x42582e),_0x4f80a6[_0x28a9b6(0x10d)](_0x4b88db[_0x28a9b6(0x100)]);if(_0x52869e[_0x28a9b6(0xff)](_0x4b88db['attachment_type'],PLAYWRIGHT_TRACE_LOGS))_0x4f80a6[_0x28a9b6(0xe0)](_0x4b88db[_0x28a9b6(0x133)]),_0x4f80a6[_0x28a9b6(0x93)](new TextEncoder()[_0x28a9b6(0x16a)](JSON[_0x28a9b6(0x199)](_0x4b88db)));else{if(_0x4b88db[_0x28a9b6(0x9c)])_0x4f80a6[_0x28a9b6(0xe0)](_0x52869e[_0x28a9b6(0xb9)]);else{if(_0x4b88db[_0x28a9b6(0x14d)])_0x4f80a6[_0x28a9b6(0xe0)](_0x4b88db[_0x28a9b6(0x14d)]);else _0x4b88db[_0x28a9b6(0x188)]&&_0x4f80a6[_0x28a9b6(0xe0)](_0x4b88db['uuid']);}_0x4f80a6[_0x28a9b6(0x93)](new TextEncoder()[_0x28a9b6(0x16a)](_0x4b88db[_0x28a9b6(0xd9)]));}_0x4f80a6['setKind'](_0x4b88db[_0x28a9b6(0xc6)]),_0x4f80a6[_0x28a9b6(0x187)](_0x4b88db[_0x28a9b6(0x107)]),_0x4f80a6[_0x28a9b6(0xcd)](_0x4b88db?.[_0x28a9b6(0x13d)]||''),_0x4f80a6[_0x28a9b6(0x154)](_0x4b88db?.[_0x28a9b6(0x195)]||''),_0x4f80a6['setFileSize'](_0x4b88db?.[_0x28a9b6(0x182)]||0x0),_0x4f80a6[_0x28a9b6(0x17f)](_0x4b88db?.[_0x28a9b6(0x155)]||''),_0x4b88db[_0x28a9b6(0x9c)]&&_0x4f80a6[_0x28a9b6(0x174)](_0x4b88db[_0x28a9b6(0x9c)]),_0x4b88db[_0x28a9b6(0x157)]&&_0x4f80a6[_0x28a9b6(0x169)](_0x4b88db[_0x28a9b6(0x157)]),_0x242be6[_0x28a9b6(0x18b)](_0x4f80a6);}),new Promise((_0xdd6065,_0x41c749)=>{const _0xebffdc=_0x4f9f4f,_0x49cd9a={'GlOBO':function(_0xc628ff,_0x352826){const _0x394122=a80_0x42f6;return _0x52869e[_0x394122(0x149)](_0xc628ff,_0x352826);},'npjjG':_0x52869e['zPFkd']};this[_0xebffdc(0xb6)][_0xebffdc(0xca)](_0x242be6,(_0x426995,_0x5d7eea)=>{const _0x9e73a8=_0xebffdc;if(_0x426995){this[_0x9e73a8(0xe3)][_0x9e73a8(0xdf)](_0x9e73a8(0x14e)+_0x426995[_0x9e73a8(0xd9)]),_0x49cd9a['GlOBO'](_0x41c749,_0x426995);return;}this[_0x9e73a8(0xe3)][_0x9e73a8(0x125)](_0x49cd9a[_0x9e73a8(0x1a8)]),_0x49cd9a[_0x9e73a8(0x177)](_0xdd6065,_0x5d7eea);});});}catch(_0x300fa0){this[_0x4f9f4f(0xe3)][_0x4f9f4f(0xdf)]('Error\x20in\x20LogCreatedEvent:\x20'+util[_0x4f9f4f(0x14c)](_0x300fa0));throw _0x300fa0;}}async['fetchDriverExecuteParamsEvent'](_0x26bfe1,_0x40fb41,_0x3b32ba,_0x5cd37f=null){const _0x98b3f6=a80_0x135bc6,_0x446e7c={'PUCfb':function(_0x196606,_0x169517){return _0x196606(_0x169517);},'frZNx':function(_0x5c9ee3,_0x2c129b){return _0x5c9ee3(_0x2c129b);},'AAeiT':function(_0xc42035,_0x497d3c){return _0xc42035||_0x497d3c;},'QeFFD':'not\x20provided','BYXFJ':_0x98b3f6(0x9a)};this[_0x98b3f6(0xe3)][_0x98b3f6(0xcc)](_0x98b3f6(0xf4)+_0x26bfe1+_0x98b3f6(0x124)+_0x40fb41+',\x20scriptName='+_0x3b32ba+_0x98b3f6(0xf2)+_0x446e7c[_0x98b3f6(0x10f)](_0x5cd37f,_0x446e7c[_0x98b3f6(0xe6)]));try{if(!this[_0x98b3f6(0xb6)])return this[_0x98b3f6(0xe3)][_0x98b3f6(0xcc)](_0x446e7c['BYXFJ']),null;const _0x701e7=new messages[(_0x98b3f6(0x128))]();return _0x701e7[_0x98b3f6(0xa5)](_0x26bfe1),_0x701e7['setProduct'](_0x40fb41),_0x701e7[_0x98b3f6(0x106)](_0x3b32ba),_0x5cd37f&&(_0x701e7[_0x98b3f6(0x174)](_0x5cd37f),this[_0x98b3f6(0xe3)]['debug'](_0x98b3f6(0x14a)+_0x5cd37f+_0x98b3f6(0x110)+_0x40fb41+_0x98b3f6(0x114)+_0x3b32ba)),await new Promise(_0x1a0094=>{const _0x28d2ab=_0x98b3f6;this[_0x28d2ab(0xb6)][_0x28d2ab(0x161)](_0x701e7,(_0x5d2f17,_0x37e8f6)=>{const _0x4b8f58=_0x28d2ab;if(_0x5d2f17){this['logger'][_0x4b8f58(0xcc)](_0x4b8f58(0x12f)+_0x5d2f17),_0x446e7c['PUCfb'](_0x1a0094,null);return;}this[_0x4b8f58(0xe3)][_0x4b8f58(0xcc)](_0x4b8f58(0x16b)+(_0x37e8f6[_0x4b8f58(0x179)]&&_0x37e8f6[_0x4b8f58(0x179)]())),_0x446e7c['frZNx'](_0x1a0094,_0x37e8f6);});});}catch(_0x212ec5){return this[_0x98b3f6(0xe3)][_0x98b3f6(0xcc)]('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x212ec5),null;}}async[a80_0x135bc6(0x11d)](_0xdf41b1){const _0x184d56=a80_0x135bc6,_0x41a456={'QzQxF':function(_0x4143e9,_0x53e64d){return _0x4143e9(_0x53e64d);},'GULJt':'ReportClientTroubleshootingError\x20successful','NbDmd':_0x184d56(0x9a)};this[_0x184d56(0xe3)][_0x184d56(0xcc)](_0x184d56(0x19c)+_0xdf41b1);try{if(!this[_0x184d56(0xb6)])return this[_0x184d56(0xe3)][_0x184d56(0xcc)](_0x41a456[_0x184d56(0x176)]),null;const _0x3c9c5e=new messages[(_0x184d56(0xe2))]();_0x3c9c5e['setBinSessionId'](this[_0x184d56(0x15a)]),_0x3c9c5e['setErrorKey'](_0xdf41b1);const _0x28a002=await new Promise((_0x222a6c,_0x44355e)=>{const _0x273311=_0x184d56;this['client'][_0x273311(0x11d)](_0x3c9c5e,(_0x2cfa92,_0x345a37)=>{const _0x32d9a7=_0x273311;if(_0x2cfa92){this['logger'][_0x32d9a7(0xcc)](_0x32d9a7(0x130)+_0x2cfa92),_0x41a456[_0x32d9a7(0x165)](_0x44355e,_0x2cfa92);return;}this['logger'][_0x32d9a7(0xcc)](_0x41a456[_0x32d9a7(0x137)]),_0x41a456[_0x32d9a7(0x165)](_0x222a6c,_0x345a37);});});return _0x28a002;}catch(_0x4d82d1){return this[_0x184d56(0xe3)][_0x184d56(0xcc)](_0x184d56(0x130)+_0x4d82d1),null;}}async[a80_0x135bc6(0x134)](){const _0x1b4855=a80_0x135bc6,_0x528b2b={'NhHjh':function(_0x2506bd,_0x124b37){return _0x2506bd(_0x124b37);},'zghcc':_0x1b4855(0xac),'ZMKZJ':'Getting\x20AggregatedClientTroubleshootingErrors','mlsut':_0x1b4855(0x9a)};this[_0x1b4855(0xe3)][_0x1b4855(0xcc)](_0x528b2b[_0x1b4855(0xc0)]);try{if(!this[_0x1b4855(0xb6)])return this['logger']['debug'](_0x528b2b['mlsut']),null;const _0xd9da76=new messages[(_0x1b4855(0xa8))]();_0xd9da76[_0x1b4855(0xa5)](this['binSessionId']);const _0x4404e5=await new Promise((_0x44c605,_0x532fd1)=>{const _0x1aa61b=_0x1b4855;this[_0x1aa61b(0xb6)][_0x1aa61b(0x134)](_0xd9da76,(_0x5539d5,_0x792041)=>{const _0x37f4ed=_0x1aa61b;if(_0x5539d5){this[_0x37f4ed(0xe3)][_0x37f4ed(0xcc)](_0x37f4ed(0xbe)+_0x5539d5),_0x528b2b[_0x37f4ed(0x16f)](_0x532fd1,_0x5539d5);return;}this[_0x37f4ed(0xe3)][_0x37f4ed(0xcc)](_0x528b2b[_0x37f4ed(0x175)]),_0x528b2b[_0x37f4ed(0x16f)](_0x44c605,_0x792041);});});return _0x4404e5;}catch(_0x22e4d1){return this['logger'][_0x1b4855(0xcc)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x22e4d1),null;}}[a80_0x135bc6(0x101)](){const _0x243d61=a80_0x135bc6;return this[_0x243d61(0xb6)];}[a80_0x135bc6(0x132)](){return this['channel'];}}module['exports']=GrpcClient;
@@ -1 +1 @@
1
- const a81_0x12e2b2=a81_0x4755;(function(_0x1dc5f6,_0x157506){const _0x5843c0=a81_0x4755,_0x3b861f=_0x1dc5f6();while(!![]){try{const _0x307a30=-parseInt(_0x5843c0(0x9d))/0x1*(parseInt(_0x5843c0(0xa2))/0x2)+-parseInt(_0x5843c0(0x99))/0x3*(parseInt(_0x5843c0(0xa0))/0x4)+-parseInt(_0x5843c0(0xaf))/0x5+-parseInt(_0x5843c0(0xa4))/0x6*(-parseInt(_0x5843c0(0xae))/0x7)+parseInt(_0x5843c0(0x9c))/0x8*(parseInt(_0x5843c0(0xac))/0x9)+parseInt(_0x5843c0(0xad))/0xa+-parseInt(_0x5843c0(0xa8))/0xb;if(_0x307a30===_0x157506)break;else _0x3b861f['push'](_0x3b861f['shift']());}catch(_0x5e99f6){_0x3b861f['push'](_0x3b861f['shift']());}}}(a81_0x52d8,0x92786));function a81_0x4755(_0x25592e,_0x22c18a){const _0x52d8c4=a81_0x52d8();return a81_0x4755=function(_0x4755ff,_0x126ea8){_0x4755ff=_0x4755ff-0x99;let _0x505033=_0x52d8c4[_0x4755ff];return _0x505033;},a81_0x4755(_0x25592e,_0x22c18a);}function a81_0x52d8(){const _0x3d5036=['270188KZUBlj','lastState','800336MXQJRB','split','18lTyYpO','exports','./trackedInstance','state','2301640MbAdzv','frameworkName','../state/automationFrameworkState','getFrameworkVersion','1476VvmZqf','4894610UUIgUM','2521897CspGIF','768265HAoCMf','toLocaleString','27YHRWwn','uWgsD','getState','19544ZvBmiY','1rTzeDt','setState','frameworkVersion'];a81_0x52d8=function(){return _0x3d5036;};return a81_0x52d8();}const AutomationFrameworkState=require(a81_0x12e2b2(0xaa)),TrackedInstance=require(a81_0x12e2b2(0xa6)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x1d7608,_0x5f2c91,_0x2110f4,_0x20401f){const _0x11fd50=a81_0x12e2b2,_0x549104={};_0x549104[_0x11fd50(0x9a)]='3|5|4|2|1|0';const _0x4024e9=_0x549104,_0x2b11b5=_0x4024e9[_0x11fd50(0x9a)][_0x11fd50(0xa3)]('|');let _0x7bcb27=0x0;while(!![]){switch(_0x2b11b5[_0x7bcb27++]){case'0':this['createdAt']=now[_0x11fd50(0xb0)]();continue;case'1':this[_0x11fd50(0xa1)]=AutomationFrameworkState['NONE'];continue;case'2':this[_0x11fd50(0xa7)]=_0x20401f;continue;case'3':super(_0x1d7608);continue;case'4':this[_0x11fd50(0x9f)]=_0x2110f4;continue;case'5':this['frameworkName']=_0x5f2c91;continue;}break;}}['getFrameworkName'](){const _0x571bbd=a81_0x12e2b2;return this[_0x571bbd(0xa9)];}[a81_0x12e2b2(0xab)](){return this['frameworkVersion'];}[a81_0x12e2b2(0x9b)](){const _0x135801=a81_0x12e2b2;return this[_0x135801(0xa7)];}[a81_0x12e2b2(0x9e)](_0x3d1d52){const _0x196e70=a81_0x12e2b2;this[_0x196e70(0xa1)]=this[_0x196e70(0xa7)],this['state']=_0x3d1d52;}}module[a81_0x12e2b2(0xa5)]=AutomationFrameworkInstance;
1
+ const a81_0x3795f8=a81_0xaac3;(function(_0x24dbe3,_0x5141a8){const _0x341f71=a81_0xaac3,_0x3a6295=_0x24dbe3();while(!![]){try{const _0x357d19=parseInt(_0x341f71(0x1b3))/0x1*(-parseInt(_0x341f71(0x1b1))/0x2)+parseInt(_0x341f71(0x1af))/0x3*(-parseInt(_0x341f71(0x1a8))/0x4)+parseInt(_0x341f71(0x1b6))/0x5+parseInt(_0x341f71(0x1a6))/0x6+parseInt(_0x341f71(0x1b5))/0x7*(parseInt(_0x341f71(0x1b9))/0x8)+-parseInt(_0x341f71(0x1ab))/0x9+parseInt(_0x341f71(0x1b2))/0xa*(parseInt(_0x341f71(0x1bb))/0xb);if(_0x357d19===_0x5141a8)break;else _0x3a6295['push'](_0x3a6295['shift']());}catch(_0x24acd5){_0x3a6295['push'](_0x3a6295['shift']());}}}(a81_0x801e,0xe7562));function a81_0x801e(){const _0x151ef7=['toLocaleString','4144591dbRtPC','frameworkName','setState','getState','state','./trackedInstance','2182056xRZvsX','NONE','26212KBSMGb','getFrameworkName','lastState','10788831wQiQpx','createdAt','frameworkVersion','../state/automationFrameworkState','345xfMQMl','exports','346kmniGf','20QxHcos','6002JxiZZJ','dsmBc','57659LICiXG','8380365IJyxXq','2|4|1|0|3|5','split','1112SsrGjM'];a81_0x801e=function(){return _0x151ef7;};return a81_0x801e();}const AutomationFrameworkState=require(a81_0x3795f8(0x1ae)),TrackedInstance=require(a81_0x3795f8(0x1a5)),now=new Date();function a81_0xaac3(_0x5db103,_0x500440){const _0x801e97=a81_0x801e();return a81_0xaac3=function(_0xaac38d,_0x5dc7ce){_0xaac38d=_0xaac38d-0x1a2;let _0x5d1d4a=_0x801e97[_0xaac38d];return _0x5d1d4a;},a81_0xaac3(_0x5db103,_0x500440);}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x4ab791,_0x28509f,_0x27a9e2,_0x5d3904){const _0x3a65a1=a81_0x3795f8,_0x1e77d8={};_0x1e77d8[_0x3a65a1(0x1b4)]=_0x3a65a1(0x1b7);const _0x2bc617=_0x1e77d8,_0x1effb6=_0x2bc617['dsmBc'][_0x3a65a1(0x1b8)]('|');let _0x15be06=0x0;while(!![]){switch(_0x1effb6[_0x15be06++]){case'0':this['state']=_0x5d3904;continue;case'1':this['frameworkVersion']=_0x27a9e2;continue;case'2':super(_0x4ab791);continue;case'3':this[_0x3a65a1(0x1aa)]=AutomationFrameworkState[_0x3a65a1(0x1a7)];continue;case'4':this['frameworkName']=_0x28509f;continue;case'5':this[_0x3a65a1(0x1ac)]=now[_0x3a65a1(0x1ba)]();continue;}break;}}[a81_0x3795f8(0x1a9)](){const _0x41b1eb=a81_0x3795f8;return this[_0x41b1eb(0x1bc)];}['getFrameworkVersion'](){const _0x3324d0=a81_0x3795f8;return this[_0x3324d0(0x1ad)];}[a81_0x3795f8(0x1a3)](){const _0x56026d=a81_0x3795f8;return this[_0x56026d(0x1a4)];}[a81_0x3795f8(0x1a2)](_0x3752f0){const _0x2364d6=a81_0x3795f8;this['lastState']=this[_0x2364d6(0x1a4)],this[_0x2364d6(0x1a4)]=_0x3752f0;}}module[a81_0x3795f8(0x1b0)]=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- const a82_0xb9d757=a82_0x45f6;(function(_0x589e53,_0x45c8d8){const _0x5f2446=a82_0x45f6,_0x1849aa=_0x589e53();while(!![]){try{const _0x2dca33=parseInt(_0x5f2446(0xba))/0x1+-parseInt(_0x5f2446(0xbc))/0x2+-parseInt(_0x5f2446(0xb4))/0x3*(parseInt(_0x5f2446(0xac))/0x4)+-parseInt(_0x5f2446(0xcc))/0x5*(parseInt(_0x5f2446(0xc5))/0x6)+-parseInt(_0x5f2446(0xaf))/0x7+parseInt(_0x5f2446(0xbd))/0x8*(parseInt(_0x5f2446(0xa9))/0x9)+parseInt(_0x5f2446(0xaa))/0xa;if(_0x2dca33===_0x45c8d8)break;else _0x1849aa['push'](_0x1849aa['shift']());}catch(_0x5ce0c2){_0x1849aa['push'](_0x1849aa['shift']());}}}(a82_0x3437,0x563a0));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a82_0xb9d757(0xad)),HookState=require(a82_0xb9d757(0xb1)),TestFrameworkState=require(a82_0xb9d757(0xa8)),TrackedContext=require('./trackedContext'),TrackedInstance=require(a82_0xb9d757(0xc6)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x3ccfd7,_0x1ba142,_0x43cf76,_0x4184b3,_0x133337){const _0x6115d0=a82_0xb9d757,_0x126752={};_0x126752[_0x6115d0(0xb7)]='0|3|6|4|7|1|8|2|5';const _0xf1403=_0x126752,_0x83087c=_0xf1403[_0x6115d0(0xb7)][_0x6115d0(0xc8)]('|');let _0x1032e8=0x0;while(!![]){switch(_0x83087c[_0x1032e8++]){case'0':super(_0x3ccfd7);continue;case'1':this[_0x6115d0(0xc3)]=TestFrameworkState[_0x6115d0(0xb8)];continue;case'2':this[_0x6115d0(0xc2)]=now[_0x6115d0(0xc0)]();continue;case'3':this['testFrameworks']=_0x1ba142;continue;case'4':this[_0x6115d0(0xca)]=_0x4184b3;continue;case'5':this[_0x6115d0(0xab)]=new Map();continue;case'6':this[_0x6115d0(0xae)]=_0x43cf76;continue;case'7':this[_0x6115d0(0xb6)]=_0x133337;continue;case'8':this[_0x6115d0(0xcd)]=HookState[_0x6115d0(0xb8)];continue;}break;}}[a82_0xb9d757(0xb3)](){return this['currentTestState'];}['setCurrentTestState'](_0x3dd7db){const _0x36532c=a82_0xb9d757;this['setLastTestState'](this[_0x36532c(0xca)]),this[_0x36532c(0xca)]=_0x3dd7db;}['getCurrentHookState'](){const _0x45f8f6=a82_0xb9d757;return this[_0x45f8f6(0xb6)];}[a82_0xb9d757(0xc1)](_0x374d62){const _0xa2bcab=a82_0xb9d757;this[_0xa2bcab(0xce)](this[_0xa2bcab(0xb6)]),this[_0xa2bcab(0xb6)]=_0x374d62;}['getLastTestState'](){const _0x4d7dde=a82_0xb9d757;return this[_0x4d7dde(0xc3)];}[a82_0xb9d757(0xb0)](_0x438544){this['lastTestState']=_0x438544;}[a82_0xb9d757(0xcb)](){const _0x17a43b=a82_0xb9d757;return this[_0x17a43b(0xcd)];}[a82_0xb9d757(0xce)](_0x549b6c){const _0x394b8d=a82_0xb9d757;this[_0x394b8d(0xcd)]=_0x549b6c;}[a82_0xb9d757(0xb2)](){const _0x55ac20=a82_0xb9d757;return this[_0x55ac20(0xc2)];}[a82_0xb9d757(0xc7)](_0x4aca27,_0x102996){const _0x46fbd4=a82_0xb9d757;!this[_0x46fbd4(0xab)][_0x46fbd4(0xb9)](_0x4aca27)&&this['pendingHooks'][_0x46fbd4(0xc9)](_0x4aca27,[]),this['pendingHooks']['get'](_0x4aca27)['push'](_0x102996);}[a82_0xb9d757(0xc4)](_0xb30010){const _0x2ab1b6=a82_0xb9d757;return this['pendingHooks'][_0x2ab1b6(0xbf)](_0xb30010)||[];}[a82_0xb9d757(0xbb)](_0x4cd89f){const _0x3f96f2=a82_0xb9d757;this[_0x3f96f2(0xab)][_0x3f96f2(0xcf)](_0x4cd89f);}['hasPendingHooks'](_0x811c40){const _0x43ecf2=a82_0xb9d757;return this[_0x43ecf2(0xab)][_0x43ecf2(0xb9)](_0x811c40);}[a82_0xb9d757(0xb5)](){const _0x129ced=a82_0xb9d757;return Array[_0x129ced(0xbe)](this['pendingHooks']['keys']());}}function a82_0x3437(){const _0x16bebe=['setCurrentHookState','createdAt','lastTestState','getPendingHooks','2451276OgKRHt','./trackedInstance','addPendingHook','split','set','currentTestState','getLastHookState','5oTpJnN','lastHookState','setLastHookState','delete','../state/testFrameworkState','9eNDikj','7179300mDYyES','pendingHooks','643616DurZLe','TrackedInstance','testFrameworksVersions','3019093WXNjoN','setLastTestState','../state/hookState','getCreatedAt','getCurrentTestState','3VzPcNV','getAllPendingHookTestIds','currentHookState','VqSJu','NONE','has','571997xRbnSJ','removePendingHooks','1195006BskWuU','5292072CMlcVP','from','get','toLocaleString'];a82_0x3437=function(){return _0x16bebe;};return a82_0x3437();}function a82_0x45f6(_0x4ab338,_0x495ebb){const _0x343714=a82_0x3437();return a82_0x45f6=function(_0x45f6a1,_0x395403){_0x45f6a1=_0x45f6a1-0xa8;let _0xeb73e=_0x343714[_0x45f6a1];return _0xeb73e;},a82_0x45f6(_0x4ab338,_0x495ebb);}module['exports']=TestFrameworkInstance;
1
+ function a82_0x3435(){const _0x488d9f=['5514540YWhAzC','4412316EGJaWI','exports','lastHookState','13289598JttlWt','14690XbOKWW','testFrameworksVersions','setCurrentTestState','createdAt','../state/hookState','keys','setCurrentHookState','has','69UyOQfK','getCreatedAt','4|0|3|8|7|1|5|2|6','1218029dLNjHV','getPendingHooks','from','pendingHooks','getLastHookState','currentHookState','215971bYEAbC','../state/testFrameworkState','setLastHookState','currentTestState','NONE','getLastTestState','setLastTestState','testFrameworks','../../../helpers/classLogger','toLocaleString','40MhroHt','./trackedContext','TrackedInstance','addPendingHook','get','cXnmj','getAllPendingHookTestIds','split','removePendingHooks','5456238yeRCvK','getCurrentTestState','lastTestState'];a82_0x3435=function(){return _0x488d9f;};return a82_0x3435();}function a82_0x54ac(_0x37bb6f,_0x3b2be9){const _0x3435a5=a82_0x3435();return a82_0x54ac=function(_0x54ac1b,_0x769ab9){_0x54ac1b=_0x54ac1b-0x11a;let _0x156a42=_0x3435a5[_0x54ac1b];return _0x156a42;},a82_0x54ac(_0x37bb6f,_0x3b2be9);}const a82_0x11d3c6=a82_0x54ac;(function(_0x740441,_0x2028f2){const _0x55e9db=a82_0x54ac,_0x516f73=_0x740441();while(!![]){try{const _0x513bf1=parseInt(_0x55e9db(0x12e))/0x1+parseInt(_0x55e9db(0x123))/0x2*(parseInt(_0x55e9db(0x12b))/0x3)+-parseInt(_0x55e9db(0x11f))/0x4+parseInt(_0x55e9db(0x11e))/0x5+parseInt(_0x55e9db(0x11b))/0x6+parseInt(_0x55e9db(0x134))/0x7*(-parseInt(_0x55e9db(0x13e))/0x8)+-parseInt(_0x55e9db(0x122))/0x9;if(_0x513bf1===_0x2028f2)break;else _0x516f73['push'](_0x516f73['shift']());}catch(_0xa70c74){_0x516f73['push'](_0x516f73['shift']());}}}(a82_0x3435,0xa26bf));const {createClassLogger}=require(a82_0x11d3c6(0x13c)),logger=createClassLogger(a82_0x11d3c6(0x140)),HookState=require(a82_0x11d3c6(0x127)),TestFrameworkState=require(a82_0x11d3c6(0x135)),TrackedContext=require(a82_0x11d3c6(0x13f)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x55b80d,_0x13f000,_0x27e435,_0x3cfc5d,_0x498dd7){const _0x2c9b59=a82_0x11d3c6,_0x50f833={};_0x50f833[_0x2c9b59(0x143)]=_0x2c9b59(0x12d);const _0x363334=_0x50f833,_0x172ccf=_0x363334[_0x2c9b59(0x143)][_0x2c9b59(0x145)]('|');let _0x1abba9=0x0;while(!![]){switch(_0x172ccf[_0x1abba9++]){case'0':this[_0x2c9b59(0x13b)]=_0x13f000;continue;case'1':this['lastTestState']=TestFrameworkState[_0x2c9b59(0x138)];continue;case'2':this[_0x2c9b59(0x126)]=now[_0x2c9b59(0x13d)]();continue;case'3':this[_0x2c9b59(0x124)]=_0x27e435;continue;case'4':super(_0x55b80d);continue;case'5':this[_0x2c9b59(0x121)]=HookState[_0x2c9b59(0x138)];continue;case'6':this[_0x2c9b59(0x131)]=new Map();continue;case'7':this[_0x2c9b59(0x133)]=_0x498dd7;continue;case'8':this[_0x2c9b59(0x137)]=_0x3cfc5d;continue;}break;}}[a82_0x11d3c6(0x11c)](){const _0xe9a177=a82_0x11d3c6;return this[_0xe9a177(0x137)];}[a82_0x11d3c6(0x125)](_0x565862){const _0x2b4d54=a82_0x11d3c6;this[_0x2b4d54(0x13a)](this[_0x2b4d54(0x137)]),this[_0x2b4d54(0x137)]=_0x565862;}['getCurrentHookState'](){const _0x108bdb=a82_0x11d3c6;return this[_0x108bdb(0x133)];}[a82_0x11d3c6(0x129)](_0x2e91e1){const _0x1d14c5=a82_0x11d3c6;this[_0x1d14c5(0x136)](this[_0x1d14c5(0x133)]),this['currentHookState']=_0x2e91e1;}[a82_0x11d3c6(0x139)](){const _0x29a1a7=a82_0x11d3c6;return this[_0x29a1a7(0x11d)];}[a82_0x11d3c6(0x13a)](_0x42ad38){const _0xb1556f=a82_0x11d3c6;this[_0xb1556f(0x11d)]=_0x42ad38;}[a82_0x11d3c6(0x132)](){const _0x24347d=a82_0x11d3c6;return this[_0x24347d(0x121)];}[a82_0x11d3c6(0x136)](_0x34c5ad){this['lastHookState']=_0x34c5ad;}[a82_0x11d3c6(0x12c)](){const _0x495fcd=a82_0x11d3c6;return this[_0x495fcd(0x126)];}[a82_0x11d3c6(0x141)](_0x4b5a67,_0x8b2a4){const _0x1f8bfd=a82_0x11d3c6;!this[_0x1f8bfd(0x131)][_0x1f8bfd(0x12a)](_0x4b5a67)&&this[_0x1f8bfd(0x131)]['set'](_0x4b5a67,[]),this[_0x1f8bfd(0x131)]['get'](_0x4b5a67)['push'](_0x8b2a4);}[a82_0x11d3c6(0x12f)](_0x5c8a81){const _0x3756db=a82_0x11d3c6;return this[_0x3756db(0x131)][_0x3756db(0x142)](_0x5c8a81)||[];}[a82_0x11d3c6(0x11a)](_0x5c8753){this['pendingHooks']['delete'](_0x5c8753);}['hasPendingHooks'](_0x43fdcf){const _0x3ab0b2=a82_0x11d3c6;return this[_0x3ab0b2(0x131)][_0x3ab0b2(0x12a)](_0x43fdcf);}[a82_0x11d3c6(0x144)](){const _0x14115d=a82_0x11d3c6;return Array[_0x14115d(0x130)](this[_0x14115d(0x131)][_0x14115d(0x128)]());}}module[a82_0x11d3c6(0x120)]=TestFrameworkInstance;
@@ -1 +1 @@
1
- function a83_0x4f81(_0x3967d6,_0x5a5aae){const _0x198d29=a83_0x198d();return a83_0x4f81=function(_0x4f8112,_0x13dca3){_0x4f8112=_0x4f8112-0x14d;let _0x15b446=_0x198d29[_0x4f8112];return _0x15b446;},a83_0x4f81(_0x3967d6,_0x5a5aae);}const a83_0x5b2c1a=a83_0x4f81;function a83_0x198d(){const _0x1b4aae=['8394znrgAk','4124752quwVFV','3kdKmcI','1626750FZrisM','exports','592809otHsrt','type','getProcessId','2704492gdMPQO','getId','596558sYuIDX','../../../helpers/classLogger','3495180qyVMVo','processId','threadId','16APyUbK','1570ZsyPAd'];a83_0x198d=function(){return _0x1b4aae;};return a83_0x198d();}(function(_0x3cd44a,_0x418cbe){const _0x8de310=a83_0x4f81,_0x5e6617=_0x3cd44a();while(!![]){try{const _0x49d0a8=parseInt(_0x8de310(0x14f))/0x1+parseInt(_0x8de310(0x154))/0x2*(parseInt(_0x8de310(0x15d))/0x3)+-parseInt(_0x8de310(0x15c))/0x4+-parseInt(_0x8de310(0x15a))/0x5*(-parseInt(_0x8de310(0x15b))/0x6)+-parseInt(_0x8de310(0x152))/0x7*(-parseInt(_0x8de310(0x159))/0x8)+-parseInt(_0x8de310(0x14d))/0x9+-parseInt(_0x8de310(0x156))/0xa;if(_0x49d0a8===_0x418cbe)break;else _0x5e6617['push'](_0x5e6617['shift']());}catch(_0x10cdae){_0x5e6617['push'](_0x5e6617['shift']());}}}(a83_0x198d,0x843be));const {createClassLogger}=require(a83_0x5b2c1a(0x155)),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x383171,_0x29f80d,_0x27ab79,_0x30789e){const _0x43f8d0=a83_0x5b2c1a;this['id']=_0x383171,this[_0x43f8d0(0x158)]=_0x29f80d,this[_0x43f8d0(0x157)]=_0x27ab79,this[_0x43f8d0(0x150)]=_0x30789e;}['getThreadId'](){const _0x387f62=a83_0x5b2c1a;return this[_0x387f62(0x158)];}[a83_0x5b2c1a(0x151)](){const _0x5985e0=a83_0x5b2c1a;return this[_0x5985e0(0x157)];}[a83_0x5b2c1a(0x153)](){return this['id'];}['getType'](){const _0x9d9207=a83_0x5b2c1a;return this[_0x9d9207(0x150)];}}module[a83_0x5b2c1a(0x14e)]=TrackedContext;
1
+ const a83_0x2dcdf4=a83_0x36be;(function(_0x44686b,_0x454685){const _0x4e5f3c=a83_0x36be,_0x304a7d=_0x44686b();while(!![]){try{const _0x37f4a0=-parseInt(_0x4e5f3c(0x19a))/0x1*(-parseInt(_0x4e5f3c(0x1a8))/0x2)+-parseInt(_0x4e5f3c(0x1a4))/0x3*(-parseInt(_0x4e5f3c(0x1a9))/0x4)+-parseInt(_0x4e5f3c(0x1a2))/0x5+parseInt(_0x4e5f3c(0x19d))/0x6+-parseInt(_0x4e5f3c(0x1a0))/0x7+parseInt(_0x4e5f3c(0x1a5))/0x8*(-parseInt(_0x4e5f3c(0x199))/0x9)+parseInt(_0x4e5f3c(0x1a6))/0xa;if(_0x37f4a0===_0x454685)break;else _0x304a7d['push'](_0x304a7d['shift']());}catch(_0x5a4c03){_0x304a7d['push'](_0x304a7d['shift']());}}}(a83_0x1856,0x1ba4b));const {createClassLogger}=require(a83_0x2dcdf4(0x1a3)),logger=createClassLogger(a83_0x2dcdf4(0x1aa));class TrackedContext{constructor(_0x3865a0,_0x44721d,_0x47a9d3,_0x59c1ec){const _0x141daf=a83_0x2dcdf4;this['id']=_0x3865a0,this['threadId']=_0x44721d,this[_0x141daf(0x19e)]=_0x47a9d3,this[_0x141daf(0x1a1)]=_0x59c1ec;}['getThreadId'](){const _0x2d6f00=a83_0x2dcdf4;return this[_0x2d6f00(0x1a7)];}['getProcessId'](){const _0x116ca9=a83_0x2dcdf4;return this[_0x116ca9(0x19e)];}[a83_0x2dcdf4(0x19c)](){return this['id'];}[a83_0x2dcdf4(0x19f)](){const _0x1d54f0=a83_0x2dcdf4;return this[_0x1d54f0(0x1a1)];}}function a83_0x36be(_0x5a1b7b,_0x45163e){const _0x18566b=a83_0x1856();return a83_0x36be=function(_0x36be4e,_0x8e057f){_0x36be4e=_0x36be4e-0x199;let _0x51d336=_0x18566b[_0x36be4e];return _0x51d336;},a83_0x36be(_0x5a1b7b,_0x45163e);}module[a83_0x2dcdf4(0x19b)]=TrackedContext;function a83_0x1856(){const _0x4fa03d=['exports','getId','627300lEtjvT','processId','getType','517258Uvbxkb','type','612870ndbpZt','../../../helpers/classLogger','18rpbhnx','72bZKgRr','1713620QdNnYd','threadId','1044OPMHsx','59668wTFMtw','TrackedContext','116271ucKtaS','116ijKqkR'];a83_0x1856=function(){return _0x4fa03d;};return a83_0x1856();}
@@ -1 +1 @@
1
- const a84_0x434e1e=a84_0x1465;(function(_0x4ff72c,_0x34b54b){const _0x4e6bd2=a84_0x1465,_0x3ff403=_0x4ff72c();while(!![]){try{const _0x33e120=-parseInt(_0x4e6bd2(0xb6))/0x1+parseInt(_0x4e6bd2(0xc3))/0x2*(parseInt(_0x4e6bd2(0xbb))/0x3)+parseInt(_0x4e6bd2(0xa8))/0x4*(parseInt(_0x4e6bd2(0xb0))/0x5)+-parseInt(_0x4e6bd2(0xa7))/0x6+-parseInt(_0x4e6bd2(0xb5))/0x7+-parseInt(_0x4e6bd2(0xc7))/0x8*(parseInt(_0x4e6bd2(0xb8))/0x9)+-parseInt(_0x4e6bd2(0xbf))/0xa*(-parseInt(_0x4e6bd2(0xaf))/0xb);if(_0x33e120===_0x34b54b)break;else _0x3ff403['push'](_0x3ff403['shift']());}catch(_0x4b61ab){_0x3ff403['push'](_0x3ff403['shift']());}}}(a84_0x12dd,0xc0356));function a84_0x1465(_0x51d761,_0xe122af){const _0x12dd1e=a84_0x12dd();return a84_0x1465=function(_0x146512,_0x1e4bd8){_0x146512=_0x146512-0xa5;let _0x5c11df=_0x12dd1e[_0x146512];return _0x5c11df;},a84_0x1465(_0x51d761,_0xe122af);}function a84_0x12dd(){const _0x5738e7=['664OyuXYn','get','set','pid','2433834nEqlVF','3011416mlvtOZ','digest','createHash','update','UPnVJ','data','context','22HUTdIN','10huNWqc','updateData','getContext','getId','entries','9333002YNnKlF','1193897arrmhI','createContext','109935wnxLuV','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','exports','5799vtxkWB','MoPQY','updateMultipleEntries','DzsHu','10274570OJuGRu','addMultipleEntries','keys','hex','1214qDoOOT','./trackedContext','worker_threads','getData'];a84_0x12dd=function(){return _0x5738e7;};return a84_0x12dd();}const TrackedContext=require(a84_0x434e1e(0xc4)),crypto=require('crypto'),{threadId}=require(a84_0x434e1e(0xc5));class TrackedInstance{static [a84_0x434e1e(0xb9)]='isBrowserstackAutomationSession';constructor(_0x19c121){const _0x2e86f9=a84_0x434e1e;this['context']=_0x19c121,this[_0x2e86f9(0xad)]=new Map();}['getRef'](){const _0x4085ef=a84_0x434e1e;return this[_0x4085ef(0xae)][_0x4085ef(0xb3)]();}[a84_0x434e1e(0xb2)](){return this['context'];}['getAllData'](){const _0x5e6b83=a84_0x434e1e;return this[_0x5e6b83(0xad)];}[a84_0x434e1e(0xbd)](_0x24819a){const _0x87e9d7=a84_0x434e1e;Object[_0x87e9d7(0xc1)](_0x24819a)['forEach'](_0x1ec7ee=>{const _0x5524a5=_0x87e9d7;this[_0x5524a5(0xad)][_0x5524a5(0xa5)](_0x1ec7ee,_0x24819a[_0x1ec7ee]);});}[a84_0x434e1e(0xc0)](_0x118c1a){const _0x5ea0ad=a84_0x434e1e;Object[_0x5ea0ad(0xb4)](_0x118c1a)['forEach'](([_0x1e39ca,_0x52dfbd])=>{const _0x322831=_0x5ea0ad,_0x1b2833=this[_0x322831(0xad)][_0x322831(0xc8)](_0x1e39ca)||{},_0x3ebdb6={..._0x1b2833,..._0x52dfbd},_0x163e17=_0x3ebdb6;this[_0x322831(0xad)][_0x322831(0xa5)](_0x1e39ca,_0x163e17);});}[a84_0x434e1e(0xc6)](_0x1c5d22){const _0x117e01=a84_0x434e1e;return this[_0x117e01(0xad)][_0x117e01(0xc8)](_0x1c5d22);}[a84_0x434e1e(0xb1)](_0x599029,_0x3fd7a8){const _0x3aaa49=a84_0x434e1e;this[_0x3aaa49(0xad)][_0x3aaa49(0xa5)](_0x599029,_0x3fd7a8);}static[a84_0x434e1e(0xb7)](_0x9e6268){const _0xf547ba=a84_0x434e1e,_0x1ec3a8={};_0x1ec3a8[_0xf547ba(0xac)]='sha256',_0x1ec3a8[_0xf547ba(0xbe)]=_0xf547ba(0xc2),_0x1ec3a8[_0xf547ba(0xbc)]=function(_0x4beca7,_0x29daa1){return _0x4beca7||_0x29daa1;};const _0x4d1d20=_0x1ec3a8;return new TrackedContext(crypto[_0xf547ba(0xaa)](_0x4d1d20['UPnVJ'])[_0xf547ba(0xab)](_0x9e6268)[_0xf547ba(0xa9)](_0x4d1d20['DzsHu']),_0x4d1d20['MoPQY'](threadId,0x0),process[_0xf547ba(0xa6)],typeof _0x9e6268);}}module[a84_0x434e1e(0xba)]=TrackedInstance;
1
+ const a84_0x4d25b0=a84_0x67f3;(function(_0x3fc64f,_0x5475ed){const _0x218c9f=a84_0x67f3,_0x50b4d5=_0x3fc64f();while(!![]){try{const _0x53c5eb=-parseInt(_0x218c9f(0x1af))/0x1+parseInt(_0x218c9f(0x1c0))/0x2+parseInt(_0x218c9f(0x1a9))/0x3*(-parseInt(_0x218c9f(0x1c5))/0x4)+-parseInt(_0x218c9f(0x1b6))/0x5+parseInt(_0x218c9f(0x1bb))/0x6+-parseInt(_0x218c9f(0x1c2))/0x7*(-parseInt(_0x218c9f(0x1a7))/0x8)+-parseInt(_0x218c9f(0x1ac))/0x9;if(_0x53c5eb===_0x5475ed)break;else _0x50b4d5['push'](_0x50b4d5['shift']());}catch(_0x21514d){_0x50b4d5['push'](_0x50b4d5['shift']());}}}(a84_0x5955,0x8d0f2));function a84_0x5955(){const _0x586579=['forEach','1672LLANOz','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','452487VFiGpT','update','entries','7367805vRediI','./trackedContext','isBrowserstackAutomationSession','430422kWaWZM','rNgSH','worker_threads','vhZQt','exports','sha256','context','1947385AhSONC','digest','hex','pid','QJWTj','3330642cBLJlh','createHash','data','keys','crypto','1717172THDTHx','getId','31934uPPWAM','updateMultipleEntries','set','4iRWGUK','getRef'];a84_0x5955=function(){return _0x586579;};return a84_0x5955();}const TrackedContext=require(a84_0x4d25b0(0x1ad)),crypto=require(a84_0x4d25b0(0x1bf)),{threadId}=require(a84_0x4d25b0(0x1b1));function a84_0x67f3(_0x4b227e,_0x26c049){const _0x5955ba=a84_0x5955();return a84_0x67f3=function(_0x67f311,_0x4aa4b6){_0x67f311=_0x67f311-0x1a7;let _0x134a5e=_0x5955ba[_0x67f311];return _0x134a5e;},a84_0x67f3(_0x4b227e,_0x26c049);}class TrackedInstance{static [a84_0x4d25b0(0x1a8)]=a84_0x4d25b0(0x1ae);constructor(_0x427d5){const _0x51cfa1=a84_0x4d25b0;this[_0x51cfa1(0x1b5)]=_0x427d5,this['data']=new Map();}[a84_0x4d25b0(0x1c6)](){const _0x474487=a84_0x4d25b0;return this[_0x474487(0x1b5)][_0x474487(0x1c1)]();}['getContext'](){const _0x1ca2e2=a84_0x4d25b0;return this[_0x1ca2e2(0x1b5)];}['getAllData'](){const _0x461d75=a84_0x4d25b0;return this[_0x461d75(0x1bd)];}[a84_0x4d25b0(0x1c3)](_0x5538ed){const _0x63ba9a=a84_0x4d25b0;Object[_0x63ba9a(0x1be)](_0x5538ed)[_0x63ba9a(0x1c7)](_0x414d54=>{const _0x6ba495=_0x63ba9a;this[_0x6ba495(0x1bd)][_0x6ba495(0x1c4)](_0x414d54,_0x5538ed[_0x414d54]);});}['addMultipleEntries'](_0x417f29){const _0x4df85e=a84_0x4d25b0;Object[_0x4df85e(0x1ab)](_0x417f29)[_0x4df85e(0x1c7)](([_0x37e05d,_0x4f8dfd])=>{const _0x5e36c6=_0x4df85e,_0xc74043=this['data']['get'](_0x37e05d)||{},_0x34e89e={..._0xc74043,..._0x4f8dfd},_0x3369a4=_0x34e89e;this['data'][_0x5e36c6(0x1c4)](_0x37e05d,_0x3369a4);});}['getData'](_0x2bccba){const _0x1cee20=a84_0x4d25b0;return this[_0x1cee20(0x1bd)]['get'](_0x2bccba);}['updateData'](_0x184f1a,_0xe3662){this['data']['set'](_0x184f1a,_0xe3662);}static['createContext'](_0x2efd61){const _0x146d4c=a84_0x4d25b0,_0x725029={};_0x725029[_0x146d4c(0x1b2)]=_0x146d4c(0x1b4),_0x725029[_0x146d4c(0x1b0)]=_0x146d4c(0x1b8),_0x725029[_0x146d4c(0x1ba)]=function(_0x1b6dac,_0x54d23d){return _0x1b6dac||_0x54d23d;};const _0x332628=_0x725029;return new TrackedContext(crypto[_0x146d4c(0x1bc)](_0x332628['vhZQt'])[_0x146d4c(0x1aa)](_0x2efd61)[_0x146d4c(0x1b7)](_0x332628[_0x146d4c(0x1b0)]),_0x332628['QJWTj'](threadId,0x0),process[_0x146d4c(0x1b9)],typeof _0x2efd61);}}module[a84_0x4d25b0(0x1b3)]=TrackedInstance;