browserstack-node-sdk 1.66.4 → 1.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a104_0x2cb3bf=a104_0x5078;function a104_0x361f(){const _0x1eefd1=['hPqlQ','getProcessId','EXCNO','\x20platform_index=','getContext','zwmpH','trackEvent','\x20started','string','650020zzUizU','_deriveFailureType','KJwje','split','bOeEl','hubUrl','length','_sendHookCbtEvents','oOQtg','1739277mJhlzp','timestamp','KEY_TEST_ENDED_AT','\x20pi=','ejnqI','afterEach(test)','../browserstackCLI.js','AFTER_EACH','LdFlk','toLowerCase','\x20platforms\x20(reusingFixtureUuids=','26GTiWit','CbUiK','KEY_TEST_SCOPES','map','get','tdAyS','(orphan\x20test\x20','irjzA','ajzWJ','KEY_TEST_DURATION','test','riCcV','lHPgU','runHooks','\x20orphan\x20test_run(s)','yzkoG','DmSWj','uuid','toISOString','KLaNh','__platformIdentifiers','KEY_SESSION_ID','filter','KEY_TEST_LOCATION','xsoMD','1041000XQerys','dLdFM','testRunInfo','sendLogCreatedEvent\x20failed:\x20','aHiTv','util','njhbT','CEGyC','TEST','\x20logs\x20for\x20testId=','finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid=','16RJnyir','startTime','BEFORE_ALL','hrfsC','\x20testName=','XgjHn','../state/hookState.js','getState','7uhZJPg','BEFORE_EACH','RCGuL','testUuid','AtjYI','yLZMN','\x20fan-out:\x20','fagcx','KEY_TEST_TAGS','INIT_TEST','_trackTestCafeInstance','before','userAgents','_sendHookCbtEvents\x20inner\x20failed:\x20','testStartInfo','5kqMlRg','sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','KEY_CAPABILITIES','DEFAULT_TEST_RESULT','sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId=','efjJw','IwUKE','qNebL','DEFAULT_HOOK_RESULT','trackEvent:\x20no\x20instance\x20for\x20state=','TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','fPBdi','kyipS','PdBcd','../cliUtils.js','\x20testUuid=','kRYqA','vzUtr','YmZDQ','Oidkp','stringify','durationMs','iterAllInstances','KEY_TEST_FRAMEWORK_NAME','getId','rRzLs','HOOK_REGEX','\x20completed','\x20failed:\x20','_stripAnsi','OLlnz','vLfTF','stack','getData','testIdentifier','TestCafeOrphanTimeout','error','createContext','qWYMz','object','isInteger','_parseTestEnd','type','.__platformUuids','../instances/trackedInstance.js','push','lkMma','platformIndex','VSBoL','../../../helpers/classLogger.js','_startedTestUuids','AFTER_ALL','iucdZ','zrowJ','TestCafeTestFramework','YiPpH','_sendLifecycleLogs','unknown','OUKnx','getInstance','ZkKJE','KrAsm','KEY_EVENT_STARTED_AT','zDLFk','clear','KLgWw','gouwv','test_run_uuid','KEY_TEST_UUID','failed','getThreadId','message','testFrameworkEvent','../modules/testcafeDriverModule.js','270294mpBnfr','MCmgD','YbvdJ','getRef','nDdqZ','KEY_TEST_FRAMEWORK_VERSION','fzazQ','TestCafe','../grpcClient','HUXgV','tags','level','Wwrzg','\x20target=','KEY_HOOK_NAME','aWMnE','KEY_TEST_NAME','POST','eVQBc','KEY_HOOK_RESULT','KEY_HOOKS_STARTED','372ZUiROa','AFTER_','_sendHookCbtEvents\x20failed:\x20','./testFramework','KEY_TEST_LOGS','YnMzG','forEach','_getTestIdentifier','pid','KtTjm','trackEvent\x20fan-out\x20','EDfPF','\x20hookState=','__currentPlatformIdentifiers','WGyjW','getTestFrameworks','\x20state=','finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','errs','updateData','fvuJu','\x20platformIndex=','entries','\x20sessionId=','atMPo','vkWwR','oYXRR','startsWith','toString','./constants/testFrameworkConstants.js','GHNIR','__currentPlatformUuids','sendLogCreatedEvent','__fixture_','KEY_HOOKS_FINISHED','qOajS','zDJiA','meta','\x20platform\x20identifiers,\x20uuids=','Test\x20execution\x20finished\x20—\x20result:\x20','PlhwE','screenshotPath','TestCafeError','getTestFrameworksVersions','../../../helpers/helper.js','viLwa','beforeEach(test)','addMultipleEntries','after(fixture)','fixture','.__platformIdentifiers','path','Test\x20execution\x20started:\x20','testcafe','adNxg','vfmBG','gWtgC','after_all','tag','eecfg','skipped','../state/testFrameworkState.js','endsWith','KEY_TEST_FILE_PATH','TfKee','PwtNo','DpxRe','mPDvc','VErKo','LBbpx','ZfHkO','BEFORE_','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','matchHookRegex','DDCGW','_lazyCreateInstance','trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20','iZrgw','getCurrentTestState','hZknZ','hook_id','rjzNQ','RSsPm','KIND_LOG','testName','WMdwt','::retry','createTestFrameworkEventPayload','mwRnH','goXAr','./testcafeAutomationFramework.js','tnrta','yYAgO','event_started_at','trim','getTrackedInstance','from','KEY_TEST_FAILURE_TYPE','rIULS','__pendingPlatformUuids','logCreatedEvent','BnKNa','BoDUU','17282iciMwZ','KEY_TEST_FAILURE','CXFvg','sendLogCreatedEvent:\x20emitting\x20','after','KEY_HOOK_ID','screenshots','IHyBr','EFDmx','fdudH','Yodtf','PLJgf','match','setCurrentTestState','ERROR','IVBpF','trackEvent:\x20state=','keys','Hook\x20','NONE','2473665IrZkhO','wiNSK','KEY_TEST_STARTED_AT','269159xEVitl','debug','_trackHookEvent','pLifr','kqyzM','DmIYQ','cpxXi','_trackTestCafeInstance:\x20contextId=','xcXYn','KEY_HOOK_LAST_STARTED','MRunX','kKBRM','name','PRE','uQnAA','rvQdp','__platformUuids','getAllData','../TestInfo.js','exports','KEY_TEST_SCREENSHOTS','QxuPv','Error','IMAGE','passed','warn','finalizeOrphans','isArray','base64','set','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','info','iXBWH','lUadt','_sendHookCbtEvents:\x20','_parseTestStart','KEY_TEST_RESULT'];a104_0x361f=function(){return _0x1eefd1;};return a104_0x361f();}(function(_0x2131f8,_0x377c23){const _0x21ebe1=a104_0x5078,_0x26df88=_0x2131f8();while(!![]){try{const _0x16ac4d=-parseInt(_0x21ebe1(0x1c4))/0x1*(parseInt(_0x21ebe1(0x21d))/0x2)+parseInt(_0x21ebe1(0x1d8))/0x3+-parseInt(_0x21ebe1(0x209))/0x4*(-parseInt(_0x21ebe1(0x258))/0x5)+parseInt(_0x21ebe1(0x148))/0x6*(-parseInt(_0x21ebe1(0x249))/0x7)+parseInt(_0x21ebe1(0x241))/0x8*(parseInt(_0x21ebe1(0x212))/0x9)+parseInt(_0x21ebe1(0x236))/0xa+-parseInt(_0x21ebe1(0x1db))/0xb*(parseInt(_0x21ebe1(0x15d))/0xc);if(_0x16ac4d===_0x377c23)break;else _0x26df88['push'](_0x26df88['shift']());}catch(_0x50beae){_0x26df88['push'](_0x26df88['shift']());}}}(a104_0x361f,0x6db84));function a104_0x5078(_0x2cdf2b,_0x19f5c3){const _0x361fd3=a104_0x361f();return a104_0x5078=function(_0x5078e8,_0x5bde19){_0x5078e8=_0x5078e8-0x119;let _0x13ed9b=_0x361fd3[_0x5078e8];return _0x13ed9b;},a104_0x5078(_0x2cdf2b,_0x19f5c3);}const TestFramework=require(a104_0x2cb3bf(0x160)),TestFrameworkState=require(a104_0x2cb3bf(0x19a)),HookState=require(a104_0x2cb3bf(0x247)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),TrackedInstance=require(a104_0x2cb3bf(0x12a)),TestFrameworkConstants=require(a104_0x2cb3bf(0x17a)),CLIUtils=require(a104_0x2cb3bf(0x266)),TestInfo=require(a104_0x2cb3bf(0x1ed)),GrpcClient=require(a104_0x2cb3bf(0x150)),{getPlaywrightProvider,getProductForSession}=require(a104_0x2cb3bf(0x189)),{createClassLogger}=require(a104_0x2cb3bf(0x12f)),{v4:uuidv4}=require(a104_0x2cb3bf(0x22e)),util=require(a104_0x2cb3bf(0x23b)),logger=createClassLogger(a104_0x2cb3bf(0x134));class TestCafeTestFramework extends TestFramework{constructor(_0x32b770,_0x3787a2,_0x5c5331){const _0x5be292=a104_0x2cb3bf;super(_0x32b770,_0x3787a2,_0x5c5331),this[_0x5be292(0x130)]=new Map();}async[a104_0x2cb3bf(0x206)](_0x15a0ab,_0x49e234,_0x35239e={}){const _0x15fcb6=a104_0x2cb3bf,_0x448ca7={'iZrgw':function(_0x28061f,_0x1574a7){return _0x28061f===_0x1574a7;},'IVBpF':function(_0x2d454a,_0x56ea9f){return _0x2d454a===_0x56ea9f;},'kKBRM':function(_0x17a37f,_0x43f064){return _0x17a37f>_0x43f064;},'YiPpH':_0x15fcb6(0x1c0),'EDfPF':'__pendingPlatformIdentifiers','OLlnz':function(_0x131573,_0x2b2b30){return _0x131573===_0x2b2b30;},'CbUiK':function(_0x3e74c5,_0x4f5848){return _0x3e74c5<_0x4f5848;},'jQDyw':function(_0x501c12){return _0x501c12();},'JYPXC':function(_0x499c3c,_0x5cc844){return _0x499c3c&&_0x5cc844;},'eVQBc':_0x15fcb6(0x17c),'Wwrzg':_0x15fcb6(0x16a),'VErKo':function(_0x5c8c4a,_0x440c8a){return _0x5c8c4a<_0x440c8a;},'fzazQ':function(_0x3f98fe,_0x1d4d7e){return _0x3f98fe===_0x1d4d7e;},'HQOoR':function(_0x4420a1,_0x208098){return _0x4420a1===_0x208098;},'uQnAA':function(_0x2561f6,_0x499492){return _0x2561f6<_0x499492;},'fPBdi':function(_0x1431a9,_0x175829){return _0x1431a9>_0x175829;},'ajzWJ':'test','Yodtf':function(_0xa36cda,_0x51c009){return _0xa36cda<_0x51c009;},'rIULS':function(_0x210b54,_0x3ac22a){return _0x210b54>_0x3ac22a;},'axyfx':_0x15fcb6(0x1a4),'aWMnE':function(_0x7f0a1e,_0x376d0f){return _0x7f0a1e===_0x376d0f;},'CXFvg':_0x15fcb6(0x1f9),'RVPsg':function(_0x142ea7,_0x597fd6){return _0x142ea7===_0x597fd6;},'YnMzG':function(_0xa08f7a,_0x422e63){return _0xa08f7a===_0x422e63;},'iucdZ':function(_0x570600,_0xeaa5ca){return _0x570600||_0xeaa5ca;},'WGyjW':function(_0x207806,_0x108c3a){return _0x207806>_0x108c3a;},'eecfg':function(_0xd07727,_0x2d7422){return _0xd07727===_0x2d7422;},'YbvdJ':function(_0x299d37,_0x322242){return _0x299d37===_0x322242;},'bOeEl':function(_0x37fed3,_0xec91ec){return _0x37fed3===_0xec91ec;}};super[_0x15fcb6(0x206)](_0x15a0ab,_0x49e234,_0x35239e);const _0x2f8cdd=this['resolveInstance'](_0x15a0ab,_0x49e234,_0x35239e);if(!_0x2f8cdd){logger[_0x15fcb6(0x1dc)](_0x15fcb6(0x261)+_0x15a0ab+_0x15fcb6(0x169)+_0x49e234);return;}_0x2f8cdd[_0x15fcb6(0x1d1)](_0x15a0ab),_0x2f8cdd['setCurrentHookState'](_0x49e234),_0x35239e['instance']=_0x2f8cdd,logger[_0x15fcb6(0x1dc)](_0x15fcb6(0x1d4)+_0x15a0ab+'\x20hookState='+_0x49e234+'\x20ref='+(_0x2f8cdd[_0x15fcb6(0x14b)]&&_0x2f8cdd['getRef']()));try{if(_0x448ca7[_0x15fcb6(0x1aa)](_0x15a0ab,TestFrameworkState['TEST'])&&_0x448ca7[_0x15fcb6(0x1d3)](_0x49e234,HookState[_0x15fcb6(0x1e8)])){const _0x17e985=this['_getTestIdentifier'](_0x35239e[_0x15fcb6(0x227)],0x0),_0x4fadc7=Array['isArray'](_0x35239e[_0x15fcb6(0x255)])&&_0x448ca7[_0x15fcb6(0x1e6)](_0x35239e['userAgents'][_0x15fcb6(0x20f)],0x0)?_0x35239e[_0x15fcb6(0x255)]:[''],_0x4b4e0f=_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7['YiPpH']),_0x5e18d3=_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7[_0x15fcb6(0x168)]),_0x65a712=Array[_0x15fcb6(0x1f6)](_0x4b4e0f)&&_0x448ca7[_0x15fcb6(0x11c)](_0x4b4e0f[_0x15fcb6(0x20f)],_0x4fadc7[_0x15fcb6(0x20f)]);logger['info'](_0x15fcb6(0x1a9)+_0x4fadc7[_0x15fcb6(0x20f)]+_0x15fcb6(0x21c)+_0x65a712+')');const _0x5c674b=[],_0x243ec0=[],_0x550e3e={};for(let _0x3ca510=0x0;_0x448ca7[_0x15fcb6(0x21e)](_0x3ca510,_0x4fadc7['length']);_0x3ca510++){const _0x226e24=_0x65a712?_0x4b4e0f[_0x3ca510]:_0x448ca7['jQDyw'](uuidv4),_0x188960=_0x448ca7['JYPXC'](_0x65a712,_0x5e18d3)&&_0x5e18d3[_0x3ca510]?_0x5e18d3[_0x3ca510]:_0x17e985+'#'+_0x3ca510;_0x5c674b[_0x15fcb6(0x12b)](_0x226e24),_0x243ec0['push'](_0x188960),_0x550e3e[_0x188960]=this[_0x15fcb6(0x1fe)](_0x226e24,_0x35239e[_0x15fcb6(0x227)],_0x35239e[_0x15fcb6(0x257)]);}_0x2f8cdd[_0x15fcb6(0x170)](_0x448ca7[_0x15fcb6(0x135)],null),_0x2f8cdd[_0x15fcb6(0x170)](_0x448ca7['EDfPF'],null),_0x2f8cdd[_0x15fcb6(0x170)](_0x448ca7[_0x15fcb6(0x15a)],_0x5c674b),_0x2f8cdd[_0x15fcb6(0x170)](_0x448ca7['Wwrzg'],_0x243ec0),_0x550e3e[_0x17e985]=_0x550e3e[_0x243ec0[0x0]],_0x2f8cdd['addMultipleEntries'](_0x550e3e);const _0x3349e0={[_0x17e985+'.__platformUuids']:_0x5c674b,[_0x17e985+_0x15fcb6(0x18f)]:_0x243ec0};_0x2f8cdd['updateMultipleEntries'](_0x3349e0),_0x35239e['testIdentifier']=_0x17e985,_0x35239e[_0x15fcb6(0x24c)]=_0x5c674b[0x0],_0x35239e[_0x15fcb6(0x12d)]=0x0,_0x35239e[_0x15fcb6(0x1eb)]=_0x5c674b,_0x35239e[_0x15fcb6(0x231)]=_0x243ec0;const _0x4f7f9d=_0x35239e[_0x15fcb6(0x227)]&&_0x35239e['test'][_0x15fcb6(0x1e7)]||'';for(let _0x8d9d6=0x0;_0x448ca7[_0x15fcb6(0x1a1)](_0x8d9d6,_0x5c674b[_0x15fcb6(0x20f)]);_0x8d9d6++){this[_0x15fcb6(0x130)][_0x15fcb6(0x1f8)](_0x5c674b[_0x8d9d6],{'testName':_0x4f7f9d,'platformIndex':_0x8d9d6,'testIdentifier':_0x243ec0[_0x8d9d6],'sessionId':null});}}if(_0x448ca7[_0x15fcb6(0x14e)](_0x15a0ab,TestFrameworkState[_0x15fcb6(0x23e)])&&_0x448ca7['HQOoR'](_0x49e234,HookState[_0x15fcb6(0x159)])){const _0x4717b1=_0x35239e[_0x15fcb6(0x227)],_0x5ea83f=_0x35239e[_0x15fcb6(0x238)],_0x19b25a=this[_0x15fcb6(0x164)](_0x4717b1,0x0),_0x220cd3=_0x2f8cdd[_0x15fcb6(0x1ec)]()['get'](_0x19b25a+_0x15fcb6(0x129))||[],_0x1fd585=_0x2f8cdd[_0x15fcb6(0x1ec)]()[_0x15fcb6(0x221)](_0x19b25a+_0x15fcb6(0x18f))||[],_0x537ec1=this[_0x15fcb6(0x127)](_0x4717b1,_0x5ea83f),_0xcc0d5={};for(let _0x2dfc0a=0x0;_0x448ca7[_0x15fcb6(0x1e9)](_0x2dfc0a,_0x1fd585[_0x15fcb6(0x20f)]);_0x2dfc0a++){const _0x4e1ba7=_0x1fd585[_0x2dfc0a],_0x508765=_0x2f8cdd[_0x15fcb6(0x1ec)]()[_0x15fcb6(0x221)](_0x4e1ba7)||{},_0x42ceb5={..._0x508765,..._0x537ec1};_0xcc0d5[_0x4e1ba7]=_0x42ceb5;}_0x448ca7[_0x15fcb6(0x263)](_0x1fd585[_0x15fcb6(0x20f)],0x0)&&(_0xcc0d5[_0x19b25a]=_0xcc0d5[_0x1fd585[0x0]]);_0x2f8cdd[_0x15fcb6(0x18c)](_0xcc0d5),_0x35239e[_0x15fcb6(0x120)]=_0x19b25a,_0x35239e[_0x15fcb6(0x24c)]=_0x220cd3[0x0]||'',_0x35239e[_0x15fcb6(0x12d)]=0x0,_0x35239e['__platformUuids']=_0x220cd3,_0x35239e[_0x15fcb6(0x231)]=_0x1fd585,await this[_0x15fcb6(0x17d)](_0x2f8cdd,_0x15a0ab,_0x49e234,_0x448ca7[_0x15fcb6(0x225)],_0x35239e,0x0);for(let _0xd47484=0x0;_0x448ca7[_0x15fcb6(0x1ce)](_0xd47484,_0x220cd3[_0x15fcb6(0x20f)]);_0xd47484++){this[_0x15fcb6(0x130)]['delete'](_0x220cd3[_0xd47484]);}}if(CLIUtils[_0x15fcb6(0x1a6)](_0x15a0ab[_0x15fcb6(0x179)]()['split']('.')[0x1])){const _0x37008e=await this['_trackHookEvent'](_0x2f8cdd,_0x15a0ab,_0x49e234,_0x35239e);Object[_0x15fcb6(0x173)](_0x37008e)['forEach'](([_0x2e8611,_0x3151e2])=>_0x2f8cdd[_0x15fcb6(0x18c)]({[_0x2e8611]:_0x3151e2}));const _0x3330ab=_0x15a0ab[_0x15fcb6(0x179)]()[_0x15fcb6(0x20c)]('.')[0x1];let _0x13a179=_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7['eVQBc']),_0x23c0f3=_0x2f8cdd['getData'](_0x448ca7['Wwrzg']);const _0x2551d8=Array['isArray'](_0x35239e['userAgents'])&&_0x448ca7[_0x15fcb6(0x1bf)](_0x35239e[_0x15fcb6(0x255)][_0x15fcb6(0x20f)],0x0)?_0x35239e['userAgents']:Array[_0x15fcb6(0x1f6)](_0x13a179)?_0x13a179:[''];if(_0x3330ab[_0x15fcb6(0x178)](_0x448ca7['axyfx'])&&_0x448ca7[_0x15fcb6(0x157)](_0x49e234,HookState[_0x15fcb6(0x1e8)])){const _0x11d257=Array['isArray'](_0x2f8cdd['getData'](_0x448ca7[_0x15fcb6(0x135)]))&&_0x448ca7[_0x15fcb6(0x1d3)](_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7[_0x15fcb6(0x135)])['length'],_0x2551d8[_0x15fcb6(0x20f)]);if(!_0x11d257){const _0x5cdcf9=_0x2551d8[_0x15fcb6(0x220)](()=>uuidv4()),_0x3c50eb=_0x2551d8[_0x15fcb6(0x220)]((_0x5e7f7d,_0x1d4f4b)=>_0x15fcb6(0x17e)+(_0x35239e['fixtureIdentifier']||_0x15fcb6(0x137))+'#'+_0x1d4f4b);_0x2f8cdd['updateData'](_0x448ca7[_0x15fcb6(0x135)],_0x5cdcf9),_0x2f8cdd[_0x15fcb6(0x170)](_0x448ca7[_0x15fcb6(0x168)],_0x3c50eb),_0x2f8cdd[_0x15fcb6(0x170)](_0x448ca7[_0x15fcb6(0x15a)],_0x5cdcf9),_0x2f8cdd[_0x15fcb6(0x170)](_0x448ca7[_0x15fcb6(0x154)],_0x3c50eb),_0x13a179=_0x5cdcf9,_0x23c0f3=_0x3c50eb;}else _0x13a179=_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7[_0x15fcb6(0x135)]),_0x23c0f3=_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7['EDfPF']);}Array['isArray'](_0x13a179)&&_0x448ca7[_0x15fcb6(0x1e6)](_0x13a179[_0x15fcb6(0x20f)],0x0)&&(_0x35239e['testUuid']=_0x13a179[0x0],_0x35239e[_0x15fcb6(0x12d)]=0x0,_0x35239e[_0x15fcb6(0x1eb)]=_0x13a179,_0x35239e[_0x15fcb6(0x231)]=_0x23c0f3);}}catch(_0x44c2ab){logger[_0x15fcb6(0x122)](util['format'](_0x448ca7[_0x15fcb6(0x1c6)],_0x15a0ab,_0x49e234,_0x44c2ab['stack']||_0x44c2ab));}try{await this[_0x15fcb6(0x22a)](_0x2f8cdd,_0x15a0ab,_0x49e234,_0x35239e);}catch(_0x5e9018){logger[_0x15fcb6(0x122)]('trackEvent:\x20runHooks\x20failed\x20—\x20'+(_0x5e9018[_0x15fcb6(0x11e)]||_0x5e9018));}const _0xe1dbb8=_0x15a0ab[_0x15fcb6(0x179)]()['split']('.')[0x1],_0x2c49ee=_0x448ca7['RVPsg'](_0x15a0ab,TestFrameworkState[_0x15fcb6(0x23e)])&&(_0x448ca7['fzazQ'](_0x49e234,HookState[_0x15fcb6(0x1e8)])||_0x448ca7[_0x15fcb6(0x162)](_0x49e234,HookState[_0x15fcb6(0x159)])),_0x1f5a10=CLIUtils['matchHookRegex'](_0xe1dbb8)&&(_0x448ca7[_0x15fcb6(0x162)](_0x49e234,HookState[_0x15fcb6(0x1e8)])||_0x448ca7[_0x15fcb6(0x157)](_0x49e234,HookState[_0x15fcb6(0x159)]));if(_0x448ca7[_0x15fcb6(0x132)](_0x2c49ee,_0x1f5a10)){let _0x2513dc=[],_0x3d6cee=[];if(_0x2c49ee){const _0x2b9a97=this[_0x15fcb6(0x164)](_0x35239e[_0x15fcb6(0x227)],0x0);_0x2513dc=_0x2f8cdd['getAllData']()[_0x15fcb6(0x221)](_0x2b9a97+_0x15fcb6(0x129))||[],_0x3d6cee=_0x2f8cdd[_0x15fcb6(0x1ec)]()[_0x15fcb6(0x221)](_0x2b9a97+_0x15fcb6(0x18f))||[];}else _0x2513dc=Array[_0x15fcb6(0x1f6)](_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7[_0x15fcb6(0x15a)]))?_0x2f8cdd[_0x15fcb6(0x11f)](_0x448ca7[_0x15fcb6(0x15a)]):[],_0x3d6cee=Array['isArray'](_0x2f8cdd['getData'](_0x448ca7[_0x15fcb6(0x154)]))?_0x2f8cdd['getData'](_0x448ca7[_0x15fcb6(0x154)]):[];logger[_0x15fcb6(0x1fa)]('trackEvent\x20'+_0xe1dbb8+'\x20'+_0x49e234['toString']()['split']('.')[0x1]+_0x15fcb6(0x24f)+_0x3d6cee['length']+_0x15fcb6(0x183)+_0x2513dc[_0x15fcb6(0x20f)]);for(let _0x234125=0x1;_0x448ca7[_0x15fcb6(0x1ce)](_0x234125,_0x2513dc['length']);_0x234125++){const _0x36acce={..._0x35239e};_0x36acce[_0x15fcb6(0x120)]=_0x3d6cee[_0x234125],_0x36acce[_0x15fcb6(0x24c)]=_0x2513dc[_0x234125],_0x36acce[_0x15fcb6(0x12d)]=_0x234125;const _0x3319d0=_0x36acce;try{const _0x53e15e=this[_0x15fcb6(0x1b4)](_0x3319d0);_0x53e15e&&_0x448ca7[_0x15fcb6(0x16b)](Object[_0x15fcb6(0x1d5)](_0x53e15e)[_0x15fcb6(0x20f)],0x0)&&(logger[_0x15fcb6(0x1fa)](_0x15fcb6(0x167)+_0xe1dbb8+_0x15fcb6(0x215)+_0x234125+':\x20uuid='+_0x53e15e[_0x15fcb6(0x22e)]+_0x15fcb6(0x203)+_0x53e15e[_0x15fcb6(0x12d)]),await GrpcClient['getInstance']()[_0x15fcb6(0x146)](_0x53e15e)),_0x2c49ee&&_0x448ca7[_0x15fcb6(0x198)](_0x49e234,HookState['POST'])&&await this[_0x15fcb6(0x17d)](_0x2f8cdd,_0x15a0ab,_0x49e234,_0x448ca7[_0x15fcb6(0x225)],_0x3319d0,_0x234125);}catch(_0x2e5cde){logger[_0x15fcb6(0x122)]('trackEvent\x20fan-out\x20'+_0xe1dbb8+_0x15fcb6(0x215)+_0x234125+_0x15fcb6(0x11a)+(_0x2e5cde[_0x15fcb6(0x11e)]||_0x2e5cde));}}_0x1f5a10&&(_0x448ca7[_0x15fcb6(0x14a)](_0x49e234,HookState[_0x15fcb6(0x1e8)])||_0x448ca7[_0x15fcb6(0x20d)](_0x49e234,HookState[_0x15fcb6(0x159)]))&&await this[_0x15fcb6(0x210)](_0x2f8cdd,_0xe1dbb8,_0x49e234,_0x2513dc),await this[_0x15fcb6(0x136)](_0x2f8cdd,_0xe1dbb8,_0x49e234,_0x2513dc,_0x3d6cee,_0x35239e);}}async[a104_0x2cb3bf(0x136)](_0x5acc17,_0x116fe6,_0x257b9f,_0x29e7e5,_0x4e24d1,_0x197a6d){const _0x35e88a=a104_0x2cb3bf,_0x133b40={'KAzjC':function(_0x11cfbf,_0x5d9b47){return _0x11cfbf(_0x5d9b47);},'viLwa':_0x35e88a(0x22e),'oYXRR':function(_0x59ddec,_0x47fb72){return _0x59ddec===_0x47fb72;},'XgjHn':_0x35e88a(0x23e),'efjJw':_0x35e88a(0x1e8),'goXAr':function(_0x299f25,_0x354abd){return _0x299f25===_0x354abd;},'VSBoL':'POST','fACQI':_0x35e88a(0x199),'KtTjm':function(_0x26c493,_0x1b56df){return _0x26c493>_0x1b56df;},'LdFlk':_0x35e88a(0x143),'MRunX':_0x35e88a(0x1f3),'PLJgf':'BEFORE_','njhbT':function(_0x37996f,_0x11a642){return _0x37996f===_0x11a642;},'MyxYw':function(_0x58496c,_0x2bd910){return _0x58496c===_0x2bd910;},'ZfHkO':_0x35e88a(0x243),'OUKnx':'before(fixture)','KrAsm':_0x35e88a(0x24a),'KJwje':_0x35e88a(0x18b),'zDLFk':function(_0x25f75f,_0x2fe53b){return _0x25f75f===_0x2fe53b;},'lHPgU':_0x35e88a(0x15e),'IHyBr':function(_0x14ed64,_0x4e49ce){return _0x14ed64===_0x4e49ce;},'vLfTF':_0x35e88a(0x131),'EFDmx':_0x35e88a(0x18d),'mwRnH':function(_0x241468,_0x54d302){return _0x241468===_0x54d302;},'KLgWw':_0x35e88a(0x219),'LJnqT':_0x35e88a(0x217),'yYAgO':function(_0x576648,_0x44956d){return _0x576648===_0x44956d;},'riCcV':function(_0x3ad9fe,_0x589214){return _0x3ad9fe<_0x589214;},'GHNIR':'info'};try{const {v4:_0x3be995}=_0x133b40['KAzjC'](require,_0x133b40[_0x35e88a(0x18a)]),_0x1e1541=_0x257b9f[_0x35e88a(0x179)]()[_0x35e88a(0x20c)]('.')[0x1];let _0x20e2ce='';if(_0x133b40[_0x35e88a(0x177)](_0x116fe6,_0x133b40[_0x35e88a(0x246)])&&_0x133b40[_0x35e88a(0x177)](_0x1e1541,_0x133b40['efjJw']))_0x20e2ce=_0x35e88a(0x191)+(_0x197a6d['test']&&_0x197a6d[_0x35e88a(0x227)][_0x35e88a(0x1b1)]||'');else{if(_0x133b40['oYXRR'](_0x116fe6,_0x133b40[_0x35e88a(0x246)])&&_0x133b40[_0x35e88a(0x1b6)](_0x1e1541,_0x133b40[_0x35e88a(0x12e)])){const _0x42f6bb=_0x197a6d[_0x35e88a(0x238)]&&Array[_0x35e88a(0x1f6)](_0x197a6d['testRunInfo'][_0x35e88a(0x16f)])?_0x197a6d[_0x35e88a(0x238)][_0x35e88a(0x16f)]:[],_0xd6eafb=_0x197a6d[_0x35e88a(0x238)]&&_0x197a6d[_0x35e88a(0x238)][_0x35e88a(0x199)]?_0x133b40['fACQI']:_0x133b40[_0x35e88a(0x166)](_0x42f6bb[_0x35e88a(0x20f)],0x0)?_0x133b40[_0x35e88a(0x21a)]:_0x133b40[_0x35e88a(0x1e5)];_0x20e2ce=_0x35e88a(0x184)+_0xd6eafb;}else{if(_0x116fe6[_0x35e88a(0x178)](_0x133b40[_0x35e88a(0x1cf)])&&_0x133b40[_0x35e88a(0x23c)](_0x1e1541,_0x133b40['efjJw'])){const _0x206e5c=_0x133b40['MyxYw'](_0x116fe6,_0x133b40[_0x35e88a(0x1a3)])?_0x133b40[_0x35e88a(0x138)]:_0x133b40['oYXRR'](_0x116fe6,_0x133b40[_0x35e88a(0x13b)])?_0x133b40['KJwje']:_0x116fe6[_0x35e88a(0x21b)]();_0x20e2ce='Hook\x20'+_0x206e5c+_0x35e88a(0x207);}else{if(_0x116fe6[_0x35e88a(0x178)](_0x133b40['PLJgf'])&&_0x133b40[_0x35e88a(0x1b6)](_0x1e1541,_0x133b40[_0x35e88a(0x12e)])){const _0x482bb6=_0x133b40[_0x35e88a(0x177)](_0x116fe6,_0x133b40[_0x35e88a(0x1a3)])?_0x133b40['OUKnx']:_0x133b40[_0x35e88a(0x13d)](_0x116fe6,_0x133b40[_0x35e88a(0x13b)])?_0x133b40[_0x35e88a(0x20b)]:_0x116fe6['toLowerCase']();_0x20e2ce=_0x35e88a(0x1d6)+_0x482bb6+_0x35e88a(0x119);}else{if(_0x116fe6['startsWith'](_0x133b40[_0x35e88a(0x229)])&&_0x133b40['IHyBr'](_0x1e1541,_0x133b40[_0x35e88a(0x25d)])){const _0x28981d=_0x133b40[_0x35e88a(0x1b6)](_0x116fe6,_0x133b40[_0x35e88a(0x11d)])?_0x133b40[_0x35e88a(0x1cc)]:_0x133b40[_0x35e88a(0x1b5)](_0x116fe6,_0x133b40['KLgWw'])?_0x133b40['LJnqT']:_0x116fe6['toLowerCase']();_0x20e2ce=_0x35e88a(0x1d6)+_0x28981d+_0x35e88a(0x207);}else{if(_0x116fe6['startsWith'](_0x133b40[_0x35e88a(0x229)])&&_0x133b40['zDLFk'](_0x1e1541,_0x133b40[_0x35e88a(0x12e)])){const _0x3366ab=_0x133b40[_0x35e88a(0x1cb)](_0x116fe6,_0x133b40[_0x35e88a(0x11d)])?_0x133b40[_0x35e88a(0x1cc)]:_0x133b40[_0x35e88a(0x1b9)](_0x116fe6,_0x133b40[_0x35e88a(0x13f)])?_0x133b40['LJnqT']:_0x116fe6[_0x35e88a(0x21b)]();_0x20e2ce=_0x35e88a(0x1d6)+_0x3366ab+_0x35e88a(0x119);}else return;}}}}}const _0x35767a=new Date()[_0x35e88a(0x22f)](),_0x48a607=_0x116fe6[_0x35e88a(0x178)](_0x133b40[_0x35e88a(0x1cf)])||_0x116fe6[_0x35e88a(0x178)](_0x133b40[_0x35e88a(0x229)]);let _0x4ca5ef='';if(_0x48a607){const _0x3a489e=_0x5acc17[_0x35e88a(0x1ec)]()[_0x35e88a(0x221)](TestFrameworkConstants[_0x35e88a(0x1e4)])||{};_0x4ca5ef=_0x3a489e[_0x116fe6]||'';}for(let _0x33306e=0x0;_0x133b40[_0x35e88a(0x228)](_0x33306e,_0x29e7e5['length']);_0x33306e++){const _0x12d7ca=_0x48a607?_0x4ca5ef:_0x29e7e5[_0x33306e];if(!_0x12d7ca)continue;const _0x35c717={};_0x35c717[_0x35e88a(0x22e)]=_0x12d7ca,_0x35c717[_0x35e88a(0x141)]=_0x29e7e5[_0x33306e],_0x35c717[_0x35e88a(0x213)]=_0x35767a,_0x35c717[_0x35e88a(0x145)]=_0x20e2ce,_0x35c717['kind']=TestFrameworkConstants[_0x35e88a(0x1b0)],_0x35c717[_0x35e88a(0x153)]=_0x133b40[_0x35e88a(0x17b)];const _0x580831=_0x35c717,_0x11b485={'platformIndex':_0x33306e,'logs':[_0x580831],'testFrameworkName':this['getTestFrameworks']()[0x0],'testFrameworkVersion':this[_0x35e88a(0x188)]()[this[_0x35e88a(0x16c)]()[0x0]]||'','testFrameworkState':_0x116fe6};try{await GrpcClient[_0x35e88a(0x139)]()[_0x35e88a(0x1c1)](_0x11b485);}catch(_0x51f0c8){logger['debug']('_sendLifecycleLogs\x20pi='+_0x33306e+':\x20'+(_0x51f0c8['message']||_0x51f0c8));}}}catch(_0x2370e9){logger[_0x35e88a(0x1dc)]('_sendLifecycleLogs\x20failed:\x20'+(_0x2370e9[_0x35e88a(0x145)]||_0x2370e9));}}async[a104_0x2cb3bf(0x210)](_0x592347,_0xa551c2,_0x3dea55,_0x10761d){const _0x31387e=a104_0x2cb3bf,_0x10d10b={'fagcx':function(_0x3a1b85,_0x14b4db){return _0x3a1b85(_0x14b4db);},'BoDUU':_0x31387e(0x218),'adNxg':_0x31387e(0x1b7),'ejnqI':_0x31387e(0x147),'tnrta':'./automationFramework.js','vkWwR':function(_0x52331f,_0x302277){return _0x52331f===_0x302277;},'mPDvc':_0x31387e(0x125),'rjzNQ':function(_0x12b0d0,_0x8bd5b5){return _0x12b0d0>_0x8bd5b5;},'kRYqA':_0x31387e(0x1f7),'ZkKJE':_0x31387e(0x192),'zDJiA':function(_0x560486,_0x40bea9,_0x5b1f92){return _0x560486(_0x40bea9,_0x5b1f92);},'trOpq':_0x31387e(0x14f),'cpxXi':function(_0x3e4f9c){return _0x3e4f9c();}};try{const _0x27eb9e=_0x10d10b[_0x31387e(0x250)](require,_0x10d10b[_0x31387e(0x1c3)]),_0x1e87b1=_0x10d10b['fagcx'](require,_0x10d10b[_0x31387e(0x193)]),_0x4ce967=_0x27eb9e[_0x31387e(0x139)](),_0x3ebcd3=_0x4ce967['getConfig']()?.[_0x31387e(0x20e)]||'',_0x53e61c=_0x592347[_0x31387e(0x204)](),_0x5c30cb={'hash':_0x53e61c[_0x31387e(0x270)](),'threadId':_0x53e61c[_0x31387e(0x144)]()[_0x31387e(0x179)](),'processId':_0x53e61c[_0x31387e(0x201)]()[_0x31387e(0x179)]()};for(const {platformIndex:_0x65c71c,instance:_0x3e499b}of _0x1e87b1[_0x31387e(0x26e)]()){try{const _0x129ceb=_0x10761d[_0x65c71c]||_0x10761d[0x0]||'';if(!_0x129ceb)continue;const _0x2853d3=_0x10d10b['fagcx'](require,_0x10d10b[_0x31387e(0x216)]),_0x529f9a=_0x10d10b['fagcx'](require,_0x10d10b[_0x31387e(0x1b8)]),_0x50f832=_0x529f9a[_0x31387e(0x248)](_0x3e499b,_0x2853d3[_0x31387e(0x232)],'')||'',_0x4f8b91=_0x529f9a[_0x31387e(0x248)](_0x3e499b,_0x2853d3[_0x31387e(0x25a)],{})||{},_0x1ceb4d=_0x529f9a[_0x31387e(0x248)](_0x3e499b,_0x2853d3['KEY_HUB_URL'],'')||_0x3ebcd3,_0x25dba1=_0x4f8b91&&_0x10d10b[_0x31387e(0x176)](typeof _0x4f8b91,_0x10d10b[_0x31387e(0x1a0)])?Object[_0x31387e(0x1d5)](_0x4f8b91)[_0x31387e(0x20f)]:0x0,_0x1ed2a5=Buffer[_0x31387e(0x1bd)](JSON['stringify'](_0x10d10b[_0x31387e(0x1ae)](_0x25dba1,0x0)?_0x4f8b91:{}))[_0x31387e(0x179)](_0x10d10b[_0x31387e(0x268)]),_0x2bd6aa={'platformIndex':_0x65c71c,'testFrameworkName':this[_0x31387e(0x16c)]()[0x0]||_0x10d10b[_0x31387e(0x13a)],'testFrameworkVersion':this[_0x31387e(0x188)]()[this[_0x31387e(0x16c)]()[0x0]]||'','testFrameworkState':_0xa551c2,'testHookState':_0x3dea55[_0x31387e(0x179)]()['split']('.')[0x1],'testUuid':_0x129ceb,'automationSession':{'provider':_0x10d10b[_0x31387e(0x181)](getPlaywrightProvider,_0x1ceb4d,![]),'frameworkName':_0x10d10b['trOpq'],'frameworkVersion':'','frameworkSessionId':_0x50f832,'ref':_0x3e499b[_0x31387e(0x14b)](),'hubUrl':_0x1ceb4d,'product':_0x10d10b[_0x31387e(0x1e1)](getProductForSession)},'capabilities':_0x1ed2a5,'executionContext':_0x5c30cb};logger[_0x31387e(0x1dc)](_0x31387e(0x1fd)+_0xa551c2+'\x20'+_0x3dea55+'\x20pi='+_0x65c71c+_0x31387e(0x267)+_0x129ceb+_0x31387e(0x174)+_0x50f832),await GrpcClient['getInstance']()['testSessionEvent'](_0x2bd6aa);}catch(_0xc33a7f){logger['debug'](_0x31387e(0x256)+(_0xc33a7f[_0x31387e(0x145)]||_0xc33a7f));}}}catch(_0x51de06){logger[_0x31387e(0x1dc)](_0x31387e(0x15f)+(_0x51de06[_0x31387e(0x145)]||_0x51de06));}}async[a104_0x2cb3bf(0x1f5)](){const _0x41b061=a104_0x2cb3bf,_0xa11527={'dLdFM':function(_0x2064ce,_0x3a4335){return _0x2064ce===_0x3a4335;},'kqyzM':_0x41b061(0x16e),'PwtNo':_0x41b061(0x143),'EXCNO':_0x41b061(0x121),'bQiFT':_0x41b061(0x262),'gWtgC':_0x41b061(0x1f7),'rRzLs':function(_0x2ea7d6,_0xa107b3){return _0x2ea7d6(_0xa107b3);}};if(!this['_startedTestUuids']||_0xa11527[_0x41b061(0x237)](this[_0x41b061(0x130)]['size'],0x0)){logger['info'](_0xa11527[_0x41b061(0x1df)]);return;}const _0x4b4d5b=Array['from'](this[_0x41b061(0x130)][_0x41b061(0x173)]());logger['warn'](_0x41b061(0x1a5)+_0x4b4d5b['length']+_0x41b061(0x22b));const _0x27b1fe=TestFrameworkState[_0x41b061(0x23e)][_0x41b061(0x179)]()['split']('.')[0x1],_0x59c6ce=HookState['POST'][_0x41b061(0x179)]()[_0x41b061(0x20c)]('.')[0x1],_0x49725e=new Date()[_0x41b061(0x22f)]();for(const [_0x217ed5,_0x4987d1]of _0x4b4d5b){const _0x502192={[TestFrameworkConstants[_0x41b061(0x26f)]]:this['getTestFrameworks']()[0x0],[TestFrameworkConstants[_0x41b061(0x14d)]]:this[_0x41b061(0x188)]()[this[_0x41b061(0x16c)]()[0x0]]||'',[TestFrameworkConstants[_0x41b061(0x142)]]:_0x217ed5,[TestFrameworkConstants[_0x41b061(0x158)]]:_0x4987d1[_0x41b061(0x1b1)]||_0x41b061(0x223)+_0x217ed5+')',[TestFrameworkConstants[_0x41b061(0x1ff)]]:_0xa11527[_0x41b061(0x19e)],[TestFrameworkConstants[_0x41b061(0x1c5)]]:[{'type':_0xa11527['EXCNO'],'message':_0xa11527['bQiFT'],'stack':''}],[TestFrameworkConstants[_0x41b061(0x1be)]]:_0xa11527[_0x41b061(0x202)],[TestFrameworkConstants[_0x41b061(0x1da)]]:_0x49725e,[TestFrameworkConstants[_0x41b061(0x214)]]:_0x49725e,[TestFrameworkConstants[_0x41b061(0x17f)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{}},_0x4f0502=Buffer[_0x41b061(0x1bd)](JSON['stringify'](_0x502192))[_0x41b061(0x179)](_0xa11527[_0x41b061(0x195)]),_0x29ccc7={'platformIndex':_0x4987d1[_0x41b061(0x12d)]||0x0,'testFrameworkName':this[_0x41b061(0x16c)]()[0x0],'testFrameworkVersion':this[_0x41b061(0x188)]()[this[_0x41b061(0x16c)]()[0x0]]||'','testFrameworkState':_0x27b1fe,'hookState':_0x59c6ce,'startedAt':_0x49725e,'endedAt':_0x49725e,'uuid':_0xa11527['rRzLs'](String,_0x217ed5),'eventJson':_0x4f0502,'executionContext':{'hash':'','threadId':'0','processId':_0xa11527[_0x41b061(0x271)](String,process[_0x41b061(0x165)])},'test_identifier':_0x4987d1[_0x41b061(0x120)]||''};try{logger[_0x41b061(0x1fa)](_0x41b061(0x240)+_0x217ed5+_0x41b061(0x172)+_0x4987d1[_0x41b061(0x12d)]+_0x41b061(0x245)+_0x4987d1[_0x41b061(0x1b1)]),await GrpcClient['getInstance']()[_0x41b061(0x146)](_0x29ccc7);}catch(_0x9d0403){logger[_0x41b061(0x1f4)]('finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20'+_0x217ed5+':\x20'+(_0x9d0403[_0x41b061(0x145)]||_0x9d0403));}}this[_0x41b061(0x130)][_0x41b061(0x13e)]();}['resolveInstance'](_0x487efe,_0x5a3be4,_0x1e416c={}){const _0x1bcee3=a104_0x2cb3bf,_0x39c9e7={};_0x39c9e7[_0x1bcee3(0x133)]=function(_0x10025d,_0x542a8f){return _0x10025d===_0x542a8f;};const _0x511f86=_0x39c9e7;return(_0x511f86[_0x1bcee3(0x133)](_0x487efe,TestFrameworkState[_0x1bcee3(0x252)])||_0x511f86['zrowJ'](_0x487efe,TestFrameworkState[_0x1bcee3(0x1d7)]))&&this['_trackTestCafeInstance'](_0x487efe,_0x1e416c),TestFramework[_0x1bcee3(0x1bc)]()||this[_0x1bcee3(0x1a8)](_0x487efe);}[a104_0x2cb3bf(0x253)](_0x2c9a23,_0x2cd463){const _0x4a40c2=a104_0x2cb3bf,_0x3934de=CLIUtils['getCurrentInstanceName'](),_0x25fb03=TrackedInstance[_0x4a40c2(0x123)](_0x3934de),_0x5581dc=new TestFrameworkInstance(_0x25fb03,this['getTestFrameworks'](),this[_0x4a40c2(0x188)](),_0x2c9a23,HookState[_0x4a40c2(0x1d7)]);TestFramework['setTrackedInstance'](_0x25fb03,_0x5581dc),logger['info'](_0x4a40c2(0x1e2)+_0x25fb03[_0x4a40c2(0x270)]()+_0x4a40c2(0x155)+_0x3934de+_0x4a40c2(0x16d)+_0x2c9a23);}[a104_0x2cb3bf(0x1a8)](_0x467d21){const _0x135bc9=a104_0x2cb3bf;return this['_trackTestCafeInstance'](_0x467d21,{}),TestFramework[_0x135bc9(0x1bc)]();}[a104_0x2cb3bf(0x1b4)](_0xfc3934){const _0x4259b3=a104_0x2cb3bf,_0x38e068={'TfKee':function(_0x191bd8,_0x129a97){return _0x191bd8>_0x129a97;},'xsoMD':function(_0x3258be,_0xfc20ac){return _0x3258be-_0xfc20ac;},'aHiTv':function(_0x1598f7,_0x31cbc3){return _0x1598f7>_0x31cbc3;},'hrfsC':function(_0x1c96e8,_0x30e3b9){return _0x1c96e8-_0x30e3b9;},'irjzA':function(_0x52cd24,_0x112df7){return _0x52cd24===_0x112df7;},'nDdqZ':_0x4259b3(0x125),'TqsQh':'.__platformUuids','hPqlQ':_0x4259b3(0x18f),'RSsPm':function(_0x303767,_0xb5a1e6){return _0x303767||_0xb5a1e6;},'xcXYn':function(_0x60ae42,_0x46c206){return _0x60ae42===_0x46c206;},'LBbpx':_0x4259b3(0x159),'AtjYI':_0x4259b3(0x1f3),'zwmpH':function(_0x1dfecc,_0x369d9a){return _0x1dfecc(_0x369d9a);},'wiNSK':function(_0x20cd90,_0x455203){return _0x20cd90||_0x455203;},'CEGyC':_0x4259b3(0x1f7),'PdBcd':function(_0x139c59,_0x7ac33b){return _0x139c59(_0x7ac33b);}};try{const _0x2cfa7a=_0xfc3934['instance'];if(!_0x2cfa7a)return{};const _0x497d22=_0x2cfa7a[_0x4259b3(0x204)](),_0x135760=_0x2cfa7a[_0x4259b3(0x1ab)]()[_0x4259b3(0x179)]()[_0x4259b3(0x20c)]('.')[0x1],_0xac9384=_0x2cfa7a['getCurrentHookState']()[_0x4259b3(0x179)]()[_0x4259b3(0x20c)]('.')[0x1],_0x2badb7=Number[_0x4259b3(0x126)](_0xfc3934[_0x4259b3(0x12d)])?_0xfc3934['platformIndex']:0x0,_0x4545ff={'hash':_0x497d22['getId'](),'threadId':_0x497d22['getThreadId']()[_0x4259b3(0x179)](),'processId':_0x497d22[_0x4259b3(0x201)]()[_0x4259b3(0x179)]()};if(TestFrameworkConstants['HOOK_REGEX']&&new RegExp(TestFrameworkConstants[_0x4259b3(0x272)])[_0x4259b3(0x227)](_0x135760)){const _0x11b33d=_0x135760,_0x1e67d5=_0x2cfa7a[_0x4259b3(0x1ec)](),_0x4dec5d=(_0x1e67d5[_0x4259b3(0x221)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{})[_0x11b33d],_0x47a484=(_0x1e67d5[_0x4259b3(0x221)](TestFrameworkConstants['KEY_HOOKS_FINISHED'])||{})[_0x11b33d],_0x3da707=Array['isArray'](_0x4dec5d)&&_0x38e068[_0x4259b3(0x19d)](_0x4dec5d[_0x4259b3(0x20f)],0x0)?_0x4dec5d[_0x38e068[_0x4259b3(0x235)](_0x4dec5d[_0x4259b3(0x20f)],0x1)]:null,_0x4fc7f6=Array[_0x4259b3(0x1f6)](_0x47a484)&&_0x38e068[_0x4259b3(0x23a)](_0x47a484['length'],0x0)?_0x47a484[_0x38e068[_0x4259b3(0x244)](_0x47a484[_0x4259b3(0x20f)],0x1)]:null,_0x25274f=_0x3da707&&_0x3da707[_0x4259b3(0x1ba)]||'',_0x548881=_0x4fc7f6&&_0x4fc7f6['event_ended_at']||'',_0x10591d=_0x3da707&&_0x3da707[_0x4259b3(0x1ad)]||_0x4fc7f6&&_0x4fc7f6['hook_id']||_0x11b33d+':'+_0x497d22['getId'](),_0x5cebe0=_0xfc3934[_0x4259b3(0x18e)]||{},_0x4ce9a0=_0x5cebe0&&_0x5cebe0['path']||'',_0x1b128c=_0x5cebe0&&_0x5cebe0[_0x4259b3(0x1e7)]||'';let _0x18a9a1=null;for(const [_0x338296,_0x29561f]of _0x1e67d5[_0x4259b3(0x173)]()){if(_0x29561f&&_0x38e068[_0x4259b3(0x224)](typeof _0x29561f,_0x38e068[_0x4259b3(0x14c)])&&_0x29561f[TestFrameworkConstants[_0x4259b3(0x158)]]&&!_0x338296[_0x4259b3(0x19b)](_0x38e068['TqsQh'])&&!_0x338296['endsWith'](_0x38e068[_0x4259b3(0x200)])){_0x18a9a1=_0x29561f;break;}}const _0x5a8b61=_0x18a9a1&&_0x18a9a1[TestFrameworkConstants[_0x4259b3(0x158)]]||_0x1b128c||_0x11b33d,_0x8b51d5=_0x18a9a1&&_0x18a9a1[TestFrameworkConstants[_0x4259b3(0x234)]]||_0x4ce9a0||'',_0xbd7f3e={[TestFrameworkConstants[_0x4259b3(0x142)]]:_0xfc3934[_0x4259b3(0x24c)]||'',[TestFrameworkConstants[_0x4259b3(0x158)]]:_0x5a8b61,[TestFrameworkConstants[_0x4259b3(0x234)]]:_0x8b51d5,[TestFrameworkConstants[_0x4259b3(0x19c)]]:_0x8b51d5,[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x38e068[_0x4259b3(0x1af)](_0x1b128c,_0x5a8b61),[TestFrameworkConstants[_0x4259b3(0x21f)]]:_0x1b128c?[_0x1b128c]:[],[TestFrameworkConstants[_0x4259b3(0x156)]]:_0x11b33d,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x10591d,[TestFrameworkConstants[_0x4259b3(0x15b)]]:_0x38e068[_0x4259b3(0x1e3)](_0xac9384,_0x38e068[_0x4259b3(0x1a2)])?_0x38e068[_0x4259b3(0x24d)]:TestFrameworkConstants[_0x4259b3(0x260)],[TestFrameworkConstants[_0x4259b3(0x13c)]]:_0x25274f,[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:_0x548881,[TestFrameworkConstants[_0x4259b3(0x26f)]]:this[_0x4259b3(0x16c)]()[0x0],[TestFrameworkConstants[_0x4259b3(0x14d)]]:this[_0x4259b3(0x188)]()[this[_0x4259b3(0x16c)]()[0x0]]||'',[TestFrameworkConstants[_0x4259b3(0x15c)]]:_0x1e67d5['get'](TestFrameworkConstants[_0x4259b3(0x15c)])||{},[TestFrameworkConstants[_0x4259b3(0x17f)]]:_0x1e67d5[_0x4259b3(0x221)](TestFrameworkConstants[_0x4259b3(0x17f)])||{}};return{'platformIndex':_0x2badb7,'testFrameworkName':this[_0x4259b3(0x16c)]()[0x0],'testFrameworkVersion':this[_0x4259b3(0x188)]()[this[_0x4259b3(0x16c)]()[0x0]]||'','testFrameworkState':_0x135760,'hookState':_0xac9384,'startedAt':_0x38e068[_0x4259b3(0x205)](String,_0x38e068[_0x4259b3(0x1af)](_0x25274f,'')),'endedAt':_0x38e068[_0x4259b3(0x205)](String,_0x38e068[_0x4259b3(0x1d9)](_0x548881,'')),'uuid':_0x38e068['zwmpH'](String,_0x10591d),'eventJson':Buffer[_0x4259b3(0x1bd)](JSON[_0x4259b3(0x26c)](_0xbd7f3e))[_0x4259b3(0x179)](_0x38e068[_0x4259b3(0x23d)]),'executionContext':_0x4545ff,'test_identifier':_0xbd7f3e[TestFrameworkConstants[_0x4259b3(0x1c9)]]};}const _0x25bf9f=_0xfc3934[_0x4259b3(0x120)]||_0xfc3934[_0x4259b3(0x227)]&&this[_0x4259b3(0x164)](_0xfc3934[_0x4259b3(0x227)],0x0)||null,_0x5e0e01=_0x25bf9f&&_0x2cfa7a['getAllData']()[_0x4259b3(0x221)](_0x25bf9f)||{},_0x161a8c=_0x2cfa7a['getAllData'](),_0xad9f09={..._0x5e0e01,[TestFrameworkConstants[_0x4259b3(0x15c)]]:_0x161a8c[_0x4259b3(0x221)](TestFrameworkConstants[_0x4259b3(0x15c)])||_0x5e0e01[TestFrameworkConstants[_0x4259b3(0x15c)]]||{},[TestFrameworkConstants[_0x4259b3(0x17f)]]:_0x161a8c[_0x4259b3(0x221)](TestFrameworkConstants['KEY_HOOKS_FINISHED'])||_0x5e0e01[TestFrameworkConstants[_0x4259b3(0x17f)]]||{}},{[TestFrameworkConstants[_0x4259b3(0x26f)]]:_0x3ca98b=this[_0x4259b3(0x16c)]()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1e4e67='',[TestFrameworkConstants[_0x4259b3(0x1da)]]:_0x2c6ba2='',[TestFrameworkConstants[_0x4259b3(0x214)]]:_0xb03c01=''}=_0xad9f09,_0x5015a3=_0xfc3934[_0x4259b3(0x24c)]||_0xad9f09[TestFrameworkConstants[_0x4259b3(0x142)]]||_0x2cfa7a['getRef'](),_0x391752=Buffer['from'](JSON[_0x4259b3(0x26c)](_0xad9f09))['toString'](_0x38e068['CEGyC']);return{'platformIndex':_0x2badb7,'testFrameworkName':_0x3ca98b,'testFrameworkVersion':_0x1e4e67,'testFrameworkState':_0x135760,'hookState':_0xac9384,'startedAt':_0x2c6ba2?_0x38e068[_0x4259b3(0x205)](String,_0x2c6ba2):'','endedAt':_0xb03c01?_0x38e068[_0x4259b3(0x265)](String,_0xb03c01):'','uuid':_0x38e068[_0x4259b3(0x205)](String,_0x38e068[_0x4259b3(0x1af)](_0x5015a3,'')),'eventJson':_0x391752,'executionContext':_0x4545ff,'test_identifier':_0x25bf9f};}catch(_0x49e9ef){return logger[_0x4259b3(0x122)]('createTestFrameworkEventPayload:\x20'+(_0x49e9ef[_0x4259b3(0x11e)]||_0x49e9ef)),{};}}async[a104_0x2cb3bf(0x17d)](_0x43f644,_0x1e5792,_0x506a70,_0x241335,_0x7897d2,_0x15f122){const _0x55ceaa=a104_0x2cb3bf,_0x185dad={'yzkoG':function(_0x21fec1){return _0x21fec1();},'IwUKE':_0x55ceaa(0x1f2),'iNuLy':function(_0x503569){return _0x503569();},'YmZDQ':_0x55ceaa(0x1d2),'DpxRe':_0x55ceaa(0x259),'DmSWj':function(_0x1fd960,_0x484a06){return _0x1fd960===_0x484a06;}};try{const _0x875dd1=_0x7897d2[_0x55ceaa(0x120)]||_0x7897d2[_0x55ceaa(0x227)]&&this['_getTestIdentifier'](_0x7897d2['test'],0x0);if(!_0x875dd1){logger[_0x55ceaa(0x1dc)](_0x185dad[_0x55ceaa(0x19f)]);return;}const _0x19ef27=_0x43f644[_0x55ceaa(0x1ec)]()[_0x55ceaa(0x221)](_0x875dd1)||{},_0x271853=_0x19ef27[TestFrameworkConstants[_0x55ceaa(0x142)]],_0x10f739=_0x19ef27[TestFrameworkConstants[_0x55ceaa(0x1ef)]]||[],_0x3cd3e3=_0x19ef27[TestFrameworkConstants[_0x55ceaa(0x1c5)]]||[],_0x412315=[];_0x10f739['forEach'](_0x4e97d7=>{const _0xa19d0d=_0x55ceaa;_0x412315[_0xa19d0d(0x12b)]({'uuid':_0x185dad[_0xa19d0d(0x22c)](uuidv4),'test_run_uuid':_0x271853,'timestamp':new Date()['toISOString'](),'message':'','attachment_url':_0x4e97d7,'attachment_type':_0x185dad[_0xa19d0d(0x25e)]});});Array[_0x55ceaa(0x1f6)](_0x3cd3e3)&&_0x3cd3e3[_0x55ceaa(0x163)](_0x3b4c7e=>{const _0x4bc1e4=_0x55ceaa;_0x412315['push']({'uuid':_0x185dad['iNuLy'](uuidv4),'test_run_uuid':_0x271853,'timestamp':new Date()['toISOString'](),'message':_0x3b4c7e[_0x4bc1e4(0x145)]||'','stack_trace':_0x3b4c7e['stack']||'','level':_0x185dad[_0x4bc1e4(0x26a)]});});if(_0x185dad[_0x55ceaa(0x22d)](_0x412315[_0x55ceaa(0x20f)],0x0)){logger['debug'](_0x55ceaa(0x25c)+_0x875dd1);return;}const _0x5de2f0=_0x19ef27[TestFrameworkConstants[_0x55ceaa(0x26f)]]||this[_0x55ceaa(0x16c)]()[0x0],_0x21de73=_0x19ef27[TestFrameworkConstants[_0x55ceaa(0x14d)]]||'',_0x3277e0={'platformIndex':Number[_0x55ceaa(0x126)](_0x15f122)?_0x15f122:Number['isInteger'](_0x7897d2['platformIndex'])?_0x7897d2[_0x55ceaa(0x12d)]:0x0,'logs':_0x412315,'testFrameworkName':_0x5de2f0,'testFrameworkVersion':_0x21de73,'testFrameworkState':_0x1e5792[_0x55ceaa(0x179)]()[_0x55ceaa(0x20c)]('.')[0x1]};logger['debug'](_0x55ceaa(0x1c7)+_0x412315[_0x55ceaa(0x20f)]+_0x55ceaa(0x23f)+_0x875dd1),await GrpcClient[_0x55ceaa(0x139)]()[_0x55ceaa(0x1c1)](_0x3277e0);}catch(_0x2eb920){logger[_0x55ceaa(0x122)](_0x55ceaa(0x239)+(_0x2eb920['stack']||_0x2eb920));}}[a104_0x2cb3bf(0x164)](_0x408b6f,_0x10d37b){const _0x3c6305=a104_0x2cb3bf,_0x1a8181={'tdAyS':function(_0x2b4287){return _0x2b4287();},'kyipS':_0x3c6305(0x137)};if(!_0x408b6f)return'unknown::'+_0x1a8181[_0x3c6305(0x222)](uuidv4);const _0xcd9b=_0x408b6f[_0x3c6305(0x18e)]&&_0x408b6f[_0x3c6305(0x18e)][_0x3c6305(0x190)]||_0x1a8181[_0x3c6305(0x264)],_0x90fbb9=_0x408b6f[_0x3c6305(0x18e)]&&_0x408b6f[_0x3c6305(0x18e)][_0x3c6305(0x1e7)]||_0x1a8181['kyipS'],_0x5c9a6d=_0x408b6f['name']||_0x1a8181[_0x3c6305(0x264)],_0x350335=_0xcd9b+'::'+_0x90fbb9+'::'+_0x5c9a6d;return _0x10d37b?_0x350335+_0x3c6305(0x1b3)+_0x10d37b:_0x350335;}[a104_0x2cb3bf(0x1fe)](_0x37725d,_0x1a73b0,_0x500dda){const _0x475e14=a104_0x2cb3bf,_0x2ebd2f=_0x1a73b0&&_0x1a73b0[_0x475e14(0x18e)]&&_0x1a73b0[_0x475e14(0x18e)][_0x475e14(0x190)]||'',_0xf83972=_0x1a73b0&&_0x1a73b0[_0x475e14(0x18e)]&&_0x1a73b0[_0x475e14(0x18e)][_0x475e14(0x1e7)]||'',_0x5e9b9e=_0x1a73b0&&_0x1a73b0[_0x475e14(0x1e7)]||'',_0x13c308=this['getTestFrameworks']()[0x0];return{[TestFrameworkConstants[_0x475e14(0x26f)]]:_0x13c308,[TestFrameworkConstants[_0x475e14(0x14d)]]:this[_0x475e14(0x188)]()[_0x13c308],[TestFrameworkConstants[_0x475e14(0x142)]]:_0x37725d,[TestFrameworkConstants[_0x475e14(0x158)]]:_0x5e9b9e,[TestFrameworkConstants[_0x475e14(0x19c)]]:_0x2ebd2f,[TestFrameworkConstants[_0x475e14(0x234)]]:_0x2ebd2f,[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0xf83972,[TestFrameworkConstants[_0x475e14(0x21f)]]:[_0xf83972],[TestFrameworkConstants[_0x475e14(0x251)]]:this['_extractTestTags'](_0x1a73b0),[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x475e14(0x25b)],[TestFrameworkConstants[_0x475e14(0x1da)]]:_0x500dda?_0x500dda[_0x475e14(0x242)]:new Date()[_0x475e14(0x22f)](),[TestFrameworkConstants[_0x475e14(0x161)]]:[],[TestFrameworkConstants[_0x475e14(0x17f)]]:{},[TestFrameworkConstants[_0x475e14(0x15c)]]:{}};}['_extractTestTags'](_0x291168){const _0x3b0f23=a104_0x2cb3bf,_0x50819e={'QxuPv':function(_0x4f3029,_0x1dfdd0){return _0x4f3029==_0x1dfdd0;},'vzUtr':function(_0x3fa024,_0x1a60fd){return _0x3fa024(_0x1a60fd);},'CaBcC':function(_0x47e4bb,_0x14e917){return _0x47e4bb>_0x14e917;},'lUadt':function(_0x2c0371,_0x44c4f4){return _0x2c0371===_0x44c4f4;},'WMdwt':'object','BnKNa':function(_0x426fc8,_0x4c025a){return _0x426fc8 in _0x4c025a;},'DmIYQ':_0x3b0f23(0x197),'Oidkp':_0x3b0f23(0x152),'kdqhA':function(_0x554337,_0x18e37c){return _0x554337(_0x18e37c);},'fdudH':function(_0x4cdbb1,_0x59c01e){return _0x4cdbb1===_0x59c01e;},'vfmBG':function(_0x22027e,_0x1aec3f){return _0x22027e(_0x1aec3f);}},_0x5325d7=[],_0x2a0af8=_0x8c8e59=>{const _0x12e226=_0x3b0f23;if(_0x50819e[_0x12e226(0x1f0)](_0x8c8e59,null))return;if(Array[_0x12e226(0x1f6)](_0x8c8e59)){_0x8c8e59['forEach'](_0x2a0af8);return;}const _0x112eb7=_0x50819e['vzUtr'](String,_0x8c8e59)[_0x12e226(0x1bb)]();_0x50819e['CaBcC'](_0x112eb7[_0x12e226(0x20f)],0x0)&&_0x5325d7[_0x12e226(0x12b)](_0x112eb7);};try{const _0x109cd1=_0x291168&&_0x291168[_0x3b0f23(0x182)]||{};_0x109cd1&&_0x50819e[_0x3b0f23(0x1fc)](typeof _0x109cd1,_0x50819e['WMdwt'])&&(_0x50819e[_0x3b0f23(0x1c2)](_0x50819e[_0x3b0f23(0x1e0)],_0x109cd1)&&_0x50819e[_0x3b0f23(0x269)](_0x2a0af8,_0x109cd1[_0x3b0f23(0x197)]),_0x50819e[_0x3b0f23(0x1c2)](_0x50819e[_0x3b0f23(0x26b)],_0x109cd1)&&_0x50819e['kdqhA'](_0x2a0af8,_0x109cd1['tags']));const _0x795786=_0x291168&&_0x291168['fixture']&&_0x291168[_0x3b0f23(0x18e)][_0x3b0f23(0x182)]||{};_0x795786&&_0x50819e[_0x3b0f23(0x1cd)](typeof _0x795786,_0x50819e[_0x3b0f23(0x1b2)])&&(_0x50819e['BnKNa'](_0x50819e['DmIYQ'],_0x795786)&&_0x50819e[_0x3b0f23(0x194)](_0x2a0af8,_0x795786[_0x3b0f23(0x197)]),_0x50819e[_0x3b0f23(0x1c2)](_0x50819e[_0x3b0f23(0x26b)],_0x795786)&&_0x50819e[_0x3b0f23(0x269)](_0x2a0af8,_0x795786[_0x3b0f23(0x152)]));}catch(_0x41fee2){}return Array['from'](new Set(_0x5325d7));}[a104_0x2cb3bf(0x11b)](_0x5c8a35){const _0xa356fa=a104_0x2cb3bf,_0x2c6559={};_0x2c6559[_0xa356fa(0x180)]=function(_0x33ac65,_0x33780b){return _0x33ac65!==_0x33780b;},_0x2c6559['lkMma']=_0xa356fa(0x208);const _0x29b292=_0x2c6559;if(_0x29b292[_0xa356fa(0x180)](typeof _0x5c8a35,_0x29b292[_0xa356fa(0x12c)]))return _0x5c8a35;return _0x5c8a35['replace'](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}[a104_0x2cb3bf(0x20a)](_0x1054fe){const _0x403a74=a104_0x2cb3bf,_0x45c9d7={};_0x45c9d7['qNebL']=_0x403a74(0x1f1),_0x45c9d7[_0x403a74(0x1ea)]=function(_0x4f61f9,_0x2b1364){return _0x4f61f9===_0x2b1364;},_0x45c9d7['KLaNh']=_0x403a74(0x208),_0x45c9d7[_0x403a74(0x1fb)]=function(_0x55b0f5,_0x34923b){return _0x55b0f5!==_0x34923b;},_0x45c9d7['atMPo']=_0x403a74(0x187);const _0x544238=_0x45c9d7;if(!_0x1054fe)return _0x544238[_0x403a74(0x25f)];if(_0x1054fe[_0x403a74(0x1e7)]&&_0x544238[_0x403a74(0x1ea)](typeof _0x1054fe[_0x403a74(0x1e7)],_0x544238[_0x403a74(0x230)])&&_0x544238[_0x403a74(0x1fb)](_0x1054fe[_0x403a74(0x1e7)],_0x544238['qNebL']))return _0x1054fe[_0x403a74(0x1e7)];const _0x485a92=_0x544238[_0x403a74(0x1ea)](typeof _0x1054fe[_0x403a74(0x145)],_0x544238[_0x403a74(0x230)])?_0x1054fe[_0x403a74(0x145)]:'',_0x58c860=_0x485a92[_0x403a74(0x1d0)](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x58c860)return _0x58c860[0x1];return _0x1054fe['type']&&_0x544238['rvQdp'](typeof _0x1054fe[_0x403a74(0x128)],_0x544238[_0x403a74(0x230)])?_0x1054fe[_0x403a74(0x128)]:_0x544238[_0x403a74(0x175)];}['_parseTestEnd'](_0x54a181,_0x36a16a){const _0x31b328=a104_0x2cb3bf,_0xa2c820={};_0xa2c820[_0x31b328(0x124)]=_0x31b328(0x143),_0xa2c820[_0x31b328(0x1a7)]=_0x31b328(0x187),_0xa2c820['HUXgV']='testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown',_0xa2c820[_0x31b328(0x149)]=_0x31b328(0x1f3),_0xa2c820[_0x31b328(0x171)]=_0x31b328(0x199),_0xa2c820[_0x31b328(0x211)]=function(_0x5d0de4,_0xef4d24){return _0x5d0de4>_0xef4d24;};const _0x1b0328=_0xa2c820;if(!_0x36a16a)return{[TestFrameworkConstants[_0x31b328(0x1ff)]]:_0x1b0328[_0x31b328(0x124)],[TestFrameworkConstants[_0x31b328(0x226)]]:0x0,[TestFrameworkConstants[_0x31b328(0x1c5)]]:[{'type':_0x1b0328[_0x31b328(0x1a7)],'message':_0x1b0328[_0x31b328(0x151)],'stack':''}],[TestFrameworkConstants[_0x31b328(0x1be)]]:_0x1b0328['DDCGW'],[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x1b0328[_0x31b328(0x151)],[TestFrameworkConstants[_0x31b328(0x214)]]:new Date()[_0x31b328(0x22f)]()};let _0x3cd68d=_0x1b0328[_0x31b328(0x149)],_0x4e3ff0=null,_0x179032=null,_0x49b7c8=null;if(_0x36a16a[_0x31b328(0x199)])_0x3cd68d=_0x1b0328[_0x31b328(0x171)];else{if(Array['isArray'](_0x36a16a[_0x31b328(0x16f)])&&_0x1b0328[_0x31b328(0x211)](_0x36a16a['errs']['length'],0x0)){_0x3cd68d=_0x1b0328[_0x31b328(0x124)],_0x4e3ff0=_0x36a16a[_0x31b328(0x16f)][_0x31b328(0x220)](_0x397533=>({'type':this[_0x31b328(0x20a)](_0x397533),'message':this[_0x31b328(0x11b)](_0x397533&&_0x397533[_0x31b328(0x145)]?_0x397533[_0x31b328(0x145)]:String(_0x397533)),'stack':this['_stripAnsi'](_0x397533&&_0x397533['stack']?_0x397533[_0x31b328(0x11e)]:'')}));const _0x3b48da=_0x4e3ff0[0x0];_0x179032=_0x3b48da['type'],_0x49b7c8=_0x3b48da['message'];}}const _0x42eaa5=Array['isArray'](_0x36a16a[_0x31b328(0x1ca)])?_0x36a16a[_0x31b328(0x1ca)][_0x31b328(0x220)](_0x41099e=>_0x41099e&&_0x41099e[_0x31b328(0x186)])[_0x31b328(0x233)](Boolean):[];return{[TestFrameworkConstants[_0x31b328(0x1ff)]]:_0x3cd68d,[TestFrameworkConstants[_0x31b328(0x226)]]:_0x36a16a[_0x31b328(0x26d)]||0x0,[TestFrameworkConstants[_0x31b328(0x1c5)]]:_0x4e3ff0,[TestFrameworkConstants[_0x31b328(0x1be)]]:_0x179032,[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x49b7c8,[TestFrameworkConstants[_0x31b328(0x214)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x31b328(0x1ef)]]:_0x42eaa5};}async[a104_0x2cb3bf(0x1dd)](_0x172d31,_0x5d6285,_0x1082ce,_0x1747c7){const _0x3d294b=a104_0x2cb3bf,_0x14c120={'RCGuL':_0x3d294b(0x254),'hZknZ':'before_all','PlhwE':_0x3d294b(0x1c8),'gouwv':_0x3d294b(0x196),'yLZMN':function(_0x2be691,_0x2b278f){return _0x2be691===_0x2b278f;},'aurLN':function(_0x29a68f){return _0x29a68f();},'XQnDf':function(_0x74fff0,_0xc8c705){return _0x74fff0===_0xc8c705;},'pLifr':function(_0x319f81,_0x180f8a){return _0x319f81-_0x180f8a;},'JnpRZ':function(_0x1dd4b1){return _0x1dd4b1();},'VFoQb':_0x3d294b(0x1f3)},_0x2c8df3=_0x5d6285[_0x3d294b(0x179)]()['split']('.')[0x1],_0x26a51d=_0x2c8df3[_0x3d294b(0x21b)](),_0x384757=_0x26a51d[_0x3d294b(0x178)](_0x14c120[_0x3d294b(0x24b)])?_0x14c120[_0x3d294b(0x1ac)]:_0x26a51d[_0x3d294b(0x178)](_0x14c120[_0x3d294b(0x185)])?_0x14c120[_0x3d294b(0x140)]:_0x26a51d,_0x51c432={};if(_0x14c120[_0x3d294b(0x24e)](_0x1082ce,HookState[_0x3d294b(0x1e8)])){const _0x238850=_0x172d31[_0x3d294b(0x1ec)]()[_0x3d294b(0x221)](TestFrameworkConstants[_0x3d294b(0x15c)])||{},_0x1e51d6=Array[_0x3d294b(0x1f6)](_0x238850[_0x2c8df3])?_0x238850[_0x2c8df3]:[],_0x37b547=_0x14c120['aurLN'](uuidv4);_0x1e51d6[_0x3d294b(0x12b)]({'hook_id':_0x37b547,'hook_name':_0x2c8df3,'key':_0x2c8df3,'hook_type':_0x384757,'event_started_at':new Date()[_0x3d294b(0x22f)]()}),_0x238850[_0x2c8df3]=_0x1e51d6;const _0x45826c=_0x172d31[_0x3d294b(0x1ec)]()[_0x3d294b(0x221)](TestFrameworkConstants[_0x3d294b(0x1e4)])||{};_0x45826c[_0x2c8df3]=_0x37b547,_0x51c432[TestFrameworkConstants[_0x3d294b(0x15c)]]=_0x238850,_0x51c432[TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x45826c;}else{if(_0x14c120['XQnDf'](_0x1082ce,HookState[_0x3d294b(0x159)])){const _0x55ee31=_0x172d31['getAllData']()[_0x3d294b(0x221)](TestFrameworkConstants[_0x3d294b(0x17f)])||{},_0xf02a89=Array[_0x3d294b(0x1f6)](_0x55ee31[_0x2c8df3])?_0x55ee31[_0x2c8df3]:[],_0x3ac2f3=_0x172d31[_0x3d294b(0x1ec)]()[_0x3d294b(0x221)](TestFrameworkConstants[_0x3d294b(0x1e4)])||{},_0x2d138a=_0x172d31[_0x3d294b(0x1ec)]()[_0x3d294b(0x221)](TestFrameworkConstants[_0x3d294b(0x15c)])||{},_0x175991=Array['isArray'](_0x2d138a[_0x2c8df3])?_0x2d138a[_0x2c8df3][_0x14c120[_0x3d294b(0x1de)](_0x2d138a[_0x2c8df3]['length'],0x1)]:null,_0x45e2ce=_0x3ac2f3&&_0x3ac2f3[_0x2c8df3]||_0x175991&&_0x175991['hook_id']||_0x14c120['JnpRZ'](uuidv4);_0xf02a89[_0x3d294b(0x12b)]({'hook_id':_0x45e2ce,'hook_name':_0x2c8df3,'key':_0x2c8df3,'hook_type':_0x384757,'event_started_at':_0x175991?_0x175991['event_started_at']:new Date()[_0x3d294b(0x22f)](),'event_ended_at':new Date()[_0x3d294b(0x22f)](),'hook_result':_0x14c120['VFoQb']}),_0x55ee31[_0x2c8df3]=_0xf02a89,_0x51c432[TestFrameworkConstants[_0x3d294b(0x17f)]]=_0x55ee31;}}return _0x51c432;}}module[a104_0x2cb3bf(0x1ee)]=TestCafeTestFramework;
1
+ 'use strict';const a104_0x5a96b4=a104_0x3226;(function(_0x3d2dc0,_0x5dfcb6){const _0x13096a=a104_0x3226,_0x316d38=_0x3d2dc0();while(!![]){try{const _0x532f66=parseInt(_0x13096a(0x182))/0x1*(parseInt(_0x13096a(0x1ef))/0x2)+parseInt(_0x13096a(0x21f))/0x3+parseInt(_0x13096a(0xf7))/0x4+-parseInt(_0x13096a(0x196))/0x5*(-parseInt(_0x13096a(0xde))/0x6)+-parseInt(_0x13096a(0x1b2))/0x7*(-parseInt(_0x13096a(0x11d))/0x8)+-parseInt(_0x13096a(0x209))/0x9+parseInt(_0x13096a(0x119))/0xa*(-parseInt(_0x13096a(0x17e))/0xb);if(_0x532f66===_0x5dfcb6)break;else _0x316d38['push'](_0x316d38['shift']());}catch(_0x358c21){_0x316d38['push'](_0x316d38['shift']());}}}(a104_0x5294,0x38105));function a104_0x3226(_0x11afaa,_0x5cc4f7){const _0x5294a9=a104_0x5294();return a104_0x3226=function(_0x322603,_0x2b1c82){_0x322603=_0x322603-0xd7;let _0x5ba860=_0x5294a9[_0x322603];return _0x5ba860;},a104_0x3226(_0x11afaa,_0x5cc4f7);}const TestFramework=require(a104_0x5a96b4(0x18b)),TestFrameworkState=require(a104_0x5a96b4(0x147)),HookState=require('../state/hookState.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),TrackedInstance=require(a104_0x5a96b4(0x202)),TestFrameworkConstants=require(a104_0x5a96b4(0x139)),CLIUtils=require(a104_0x5a96b4(0x224)),TestInfo=require(a104_0x5a96b4(0x1aa)),GrpcClient=require(a104_0x5a96b4(0x1a9)),{getPlaywrightProvider,getProductForSession}=require(a104_0x5a96b4(0x134)),{createClassLogger}=require('../../../helpers/classLogger.js'),{v4:uuidv4}=require(a104_0x5a96b4(0x1bf)),util=require('util'),logger=createClassLogger(a104_0x5a96b4(0xeb));class TestCafeTestFramework extends TestFramework{constructor(_0x2c1043,_0xfbcfda,_0x3146ac){const _0x29fb24=a104_0x5a96b4;super(_0x2c1043,_0xfbcfda,_0x3146ac),this[_0x29fb24(0xea)]=new Map();}async[a104_0x5a96b4(0x19f)](_0x15884e,_0x3d1b5b,_0x2baef3={}){const _0xf05839=a104_0x5a96b4,_0x573b85={'qAIDe':function(_0x3ff378,_0x35b293){return _0x3ff378===_0x35b293;},'WpzFH':function(_0x356c2d,_0x2b58b6){return _0x356c2d>_0x2b58b6;},'eqAIa':'__pendingPlatformUuids','lTkLd':'__pendingPlatformIdentifiers','GIwBu':function(_0x17ad03,_0x793381){return _0x17ad03===_0x793381;},'lXbsI':function(_0x107c95,_0x5185cd){return _0x107c95<_0x5185cd;},'ykOGW':function(_0x566212){return _0x566212();},'jlhyP':function(_0x35e514,_0x314dc9){return _0x35e514&&_0x314dc9;},'BBsXp':_0xf05839(0x13a),'fWfQQ':_0xf05839(0x1c0),'MSiUt':function(_0x957ae5,_0x228bba){return _0x957ae5<_0x228bba;},'rRjyg':function(_0x13b23b,_0x1d59ed){return _0x13b23b===_0x1d59ed;},'kydTX':function(_0x1b47fd,_0x3446bf){return _0x1b47fd>_0x3446bf;},'EoWSg':_0xf05839(0x1a6),'ssKuv':_0xf05839(0x128),'cKQlL':function(_0x499801,_0x1d51b7){return _0x499801===_0x1d51b7;},'QNSyl':function(_0x2bc5b3,_0x2f267f){return _0x2bc5b3>_0x2f267f;},'XxrCA':_0xf05839(0x1cf),'eiTmD':function(_0x4ddaf5,_0x558138){return _0x4ddaf5===_0x558138;},'RYOkI':function(_0x1154b3,_0x3f64a3){return _0x1154b3===_0x3f64a3;},'jlXLC':function(_0x221d3a,_0xa0e8bc){return _0x221d3a||_0xa0e8bc;},'WdBhu':function(_0x50bb85,_0xfb1d27){return _0x50bb85===_0xfb1d27;}};super[_0xf05839(0x19f)](_0x15884e,_0x3d1b5b,_0x2baef3);const _0x236262=this['resolveInstance'](_0x15884e,_0x3d1b5b,_0x2baef3);if(!_0x236262){logger[_0xf05839(0x1bc)](_0xf05839(0x123)+_0x15884e+_0xf05839(0x1ec)+_0x3d1b5b);return;}_0x236262[_0xf05839(0x1a5)](_0x15884e),_0x236262['setCurrentHookState'](_0x3d1b5b),_0x2baef3[_0xf05839(0x16b)]=_0x236262,logger[_0xf05839(0x1bc)](_0xf05839(0x1d7)+_0x15884e+'\x20hookState='+_0x3d1b5b+_0xf05839(0x12f)+(_0x236262[_0xf05839(0xd7)]&&_0x236262['getRef']()));try{if(_0x573b85[_0xf05839(0x104)](_0x15884e,TestFrameworkState['TEST'])&&_0x573b85[_0xf05839(0x104)](_0x3d1b5b,HookState[_0xf05839(0x19e)])){const _0x549125=this['_getTestIdentifier'](_0x2baef3[_0xf05839(0x1a6)],0x0),_0x437ee7=Array[_0xf05839(0x11f)](_0x2baef3[_0xf05839(0x1c5)])&&_0x573b85['WpzFH'](_0x2baef3['userAgents'][_0xf05839(0x1bb)],0x0)?_0x2baef3[_0xf05839(0x1c5)]:[''],_0x568d73=_0x236262[_0xf05839(0x189)](_0x573b85[_0xf05839(0x12a)]),_0x348b87=_0x236262['getData'](_0x573b85[_0xf05839(0x127)]),_0x1f0bef=Array[_0xf05839(0x11f)](_0x568d73)&&_0x573b85[_0xf05839(0x140)](_0x568d73[_0xf05839(0x1bb)],_0x437ee7['length']);logger['info']('trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20'+_0x437ee7[_0xf05839(0x1bb)]+_0xf05839(0x192)+_0x1f0bef+')');const _0x406d68=[],_0x166cda=[],_0x1a1b7d={};for(let _0x2c423e=0x0;_0x573b85['lXbsI'](_0x2c423e,_0x437ee7[_0xf05839(0x1bb)]);_0x2c423e++){const _0x58fbb7=_0x1f0bef?_0x568d73[_0x2c423e]:_0x573b85[_0xf05839(0x16e)](uuidv4),_0x5b73a9=_0x573b85[_0xf05839(0xe0)](_0x1f0bef,_0x348b87)&&_0x348b87[_0x2c423e]?_0x348b87[_0x2c423e]:_0x549125+'#'+_0x2c423e;_0x406d68[_0xf05839(0x114)](_0x58fbb7),_0x166cda['push'](_0x5b73a9),_0x1a1b7d[_0x5b73a9]=this[_0xf05839(0x14b)](_0x58fbb7,_0x2baef3[_0xf05839(0x1a6)],_0x2baef3[_0xf05839(0x185)]);}_0x236262[_0xf05839(0xed)](_0x573b85[_0xf05839(0x12a)],null),_0x236262['updateData'](_0x573b85['lTkLd'],null),_0x236262[_0xf05839(0xed)](_0x573b85[_0xf05839(0x1c7)],_0x406d68),_0x236262[_0xf05839(0xed)](_0x573b85[_0xf05839(0x11a)],_0x166cda),_0x1a1b7d[_0x549125]=_0x1a1b7d[_0x166cda[0x0]],_0x236262[_0xf05839(0x116)](_0x1a1b7d);const _0x286507={[_0x549125+_0xf05839(0x14d)]:_0x406d68,[_0x549125+_0xf05839(0x137)]:_0x166cda};_0x236262[_0xf05839(0x191)](_0x286507),_0x2baef3[_0xf05839(0x13d)]=_0x549125,_0x2baef3[_0xf05839(0x1a4)]=_0x406d68[0x0],_0x2baef3[_0xf05839(0x16a)]=0x0,_0x2baef3[_0xf05839(0x200)]=_0x406d68,_0x2baef3[_0xf05839(0xfb)]=_0x166cda;const _0x346843=_0x2baef3[_0xf05839(0x1a6)]&&_0x2baef3[_0xf05839(0x1a6)][_0xf05839(0x203)]||'';for(let _0x148228=0x0;_0x573b85[_0xf05839(0x107)](_0x148228,_0x406d68[_0xf05839(0x1bb)]);_0x148228++){this['_startedTestUuids'][_0xf05839(0x136)](_0x406d68[_0x148228],{'testName':_0x346843,'platformIndex':_0x148228,'testIdentifier':_0x166cda[_0x148228],'sessionId':null});}}if(_0x573b85[_0xf05839(0x104)](_0x15884e,TestFrameworkState[_0xf05839(0xfd)])&&_0x573b85[_0xf05839(0xe6)](_0x3d1b5b,HookState[_0xf05839(0x1e5)])){const _0x4dd5a7=_0x2baef3[_0xf05839(0x1a6)],_0x5a3453=_0x2baef3[_0xf05839(0x18f)],_0x4f7271=this[_0xf05839(0x205)](_0x4dd5a7,0x0),_0x1ef777=_0x236262['getAllData']()[_0xf05839(0x133)](_0x4f7271+_0xf05839(0x14d))||[],_0x2cd9d0=_0x236262[_0xf05839(0x173)]()[_0xf05839(0x133)](_0x4f7271+_0xf05839(0x137))||[],_0x3c9628=this[_0xf05839(0x1b9)](_0x4dd5a7,_0x5a3453),_0x10edb8={};for(let _0xaa8628=0x0;_0x573b85[_0xf05839(0x107)](_0xaa8628,_0x2cd9d0[_0xf05839(0x1bb)]);_0xaa8628++){const _0x2da7ff=_0x2cd9d0[_0xaa8628],_0x5fb9c4=_0x236262[_0xf05839(0x173)]()[_0xf05839(0x133)](_0x2da7ff)||{},_0x3e04b3={..._0x5fb9c4,..._0x3c9628};_0x10edb8[_0x2da7ff]=_0x3e04b3;}_0x573b85[_0xf05839(0x146)](_0x2cd9d0['length'],0x0)&&(_0x10edb8[_0x4f7271]=_0x10edb8[_0x2cd9d0[0x0]]);_0x236262[_0xf05839(0x116)](_0x10edb8),_0x2baef3[_0xf05839(0x13d)]=_0x4f7271,_0x2baef3['testUuid']=_0x1ef777[0x0]||'',_0x2baef3[_0xf05839(0x16a)]=0x0,_0x2baef3[_0xf05839(0x200)]=_0x1ef777,_0x2baef3[_0xf05839(0xfb)]=_0x2cd9d0,await this[_0xf05839(0x1f8)](_0x236262,_0x15884e,_0x3d1b5b,_0x573b85[_0xf05839(0xf4)],_0x2baef3,0x0);for(let _0x371742=0x0;_0x573b85[_0xf05839(0x107)](_0x371742,_0x1ef777[_0xf05839(0x1bb)]);_0x371742++){this[_0xf05839(0xea)][_0xf05839(0x18a)](_0x1ef777[_0x371742]);}}if(CLIUtils['matchHookRegex'](_0x15884e['toString']()[_0xf05839(0x1bd)]('.')[0x1])){const _0x1091c6=await this[_0xf05839(0x148)](_0x236262,_0x15884e,_0x3d1b5b,_0x2baef3);Object['entries'](_0x1091c6)[_0xf05839(0x130)](([_0x172d11,_0x3f36ef])=>_0x236262[_0xf05839(0x116)]({[_0x172d11]:_0x3f36ef}));const _0x1a48d7=_0x15884e[_0xf05839(0x15f)]()[_0xf05839(0x1bd)]('.')[0x1];let _0x1421e3=_0x236262[_0xf05839(0x189)](_0x573b85['BBsXp']),_0x4d497e=_0x236262[_0xf05839(0x189)](_0x573b85[_0xf05839(0x11a)]);const _0x613b0c=Array[_0xf05839(0x11f)](_0x2baef3[_0xf05839(0x1c5)])&&_0x573b85['kydTX'](_0x2baef3[_0xf05839(0x1c5)][_0xf05839(0x1bb)],0x0)?_0x2baef3['userAgents']:Array['isArray'](_0x1421e3)?_0x1421e3:[''];if(_0x1a48d7['startsWith'](_0x573b85['ssKuv'])&&_0x573b85[_0xf05839(0x111)](_0x3d1b5b,HookState[_0xf05839(0x19e)])){const _0x5ee399=Array[_0xf05839(0x11f)](_0x236262['getData'](_0x573b85['eqAIa']))&&_0x573b85[_0xf05839(0xe6)](_0x236262[_0xf05839(0x189)](_0x573b85[_0xf05839(0x12a)])[_0xf05839(0x1bb)],_0x613b0c[_0xf05839(0x1bb)]);if(!_0x5ee399){const _0x3d322a=_0x613b0c['map'](()=>uuidv4()),_0x12859f=_0x613b0c['map']((_0x32eabc,_0x588dae)=>_0xf05839(0x12c)+(_0x2baef3[_0xf05839(0x218)]||_0xf05839(0x178))+'#'+_0x588dae);_0x236262[_0xf05839(0xed)](_0x573b85[_0xf05839(0x12a)],_0x3d322a),_0x236262[_0xf05839(0xed)](_0x573b85[_0xf05839(0x127)],_0x12859f),_0x236262[_0xf05839(0xed)](_0x573b85[_0xf05839(0x1c7)],_0x3d322a),_0x236262[_0xf05839(0xed)](_0x573b85[_0xf05839(0x11a)],_0x12859f),_0x1421e3=_0x3d322a,_0x4d497e=_0x12859f;}else _0x1421e3=_0x236262['getData'](_0x573b85[_0xf05839(0x12a)]),_0x4d497e=_0x236262[_0xf05839(0x189)](_0x573b85[_0xf05839(0x127)]);}Array[_0xf05839(0x11f)](_0x1421e3)&&_0x573b85[_0xf05839(0x14c)](_0x1421e3[_0xf05839(0x1bb)],0x0)&&(_0x2baef3[_0xf05839(0x1a4)]=_0x1421e3[0x0],_0x2baef3['platformIndex']=0x0,_0x2baef3[_0xf05839(0x200)]=_0x1421e3,_0x2baef3[_0xf05839(0xfb)]=_0x4d497e);}}catch(_0x56b7f7){logger[_0xf05839(0x1db)](util[_0xf05839(0x1c2)](_0x573b85[_0xf05839(0x1e2)],_0x15884e,_0x3d1b5b,_0x56b7f7['stack']||_0x56b7f7));}try{await this['runHooks'](_0x236262,_0x15884e,_0x3d1b5b,_0x2baef3);}catch(_0x379f54){logger[_0xf05839(0x1db)](_0xf05839(0x20f)+(_0x379f54[_0xf05839(0xdb)]||_0x379f54));}const _0x413916=_0x15884e[_0xf05839(0x15f)]()[_0xf05839(0x1bd)]('.')[0x1],_0x1e44bd=_0x573b85[_0xf05839(0x21c)](_0x15884e,TestFrameworkState[_0xf05839(0xfd)])&&(_0x573b85[_0xf05839(0x14a)](_0x3d1b5b,HookState['PRE'])||_0x573b85[_0xf05839(0x14a)](_0x3d1b5b,HookState[_0xf05839(0x1e5)])),_0x24b136=CLIUtils[_0xf05839(0x1e3)](_0x413916)&&(_0x573b85[_0xf05839(0x111)](_0x3d1b5b,HookState['PRE'])||_0x573b85[_0xf05839(0xe6)](_0x3d1b5b,HookState['POST']));if(_0x573b85[_0xf05839(0x13f)](_0x1e44bd,_0x24b136)){let _0x5a0442=[],_0x22550c=[];if(_0x1e44bd){const _0x56ac2e=this[_0xf05839(0x205)](_0x2baef3[_0xf05839(0x1a6)],0x0);_0x5a0442=_0x236262[_0xf05839(0x173)]()[_0xf05839(0x133)](_0x56ac2e+'.__platformUuids')||[],_0x22550c=_0x236262[_0xf05839(0x173)]()[_0xf05839(0x133)](_0x56ac2e+_0xf05839(0x137))||[];}else _0x5a0442=Array[_0xf05839(0x11f)](_0x236262[_0xf05839(0x189)](_0x573b85[_0xf05839(0x1c7)]))?_0x236262['getData'](_0x573b85[_0xf05839(0x1c7)]):[],_0x22550c=Array[_0xf05839(0x11f)](_0x236262[_0xf05839(0x189)](_0x573b85[_0xf05839(0x11a)]))?_0x236262[_0xf05839(0x189)](_0x573b85[_0xf05839(0x11a)]):[];logger[_0xf05839(0x142)](_0xf05839(0x15e)+_0x413916+'\x20'+_0x3d1b5b[_0xf05839(0x15f)]()[_0xf05839(0x1bd)]('.')[0x1]+_0xf05839(0xf3)+_0x22550c[_0xf05839(0x1bb)]+_0xf05839(0x1a1)+_0x5a0442[_0xf05839(0x1bb)]);for(let _0xdd48f3=0x1;_0x573b85[_0xf05839(0x217)](_0xdd48f3,_0x5a0442[_0xf05839(0x1bb)]);_0xdd48f3++){const _0x154c11={..._0x2baef3};_0x154c11[_0xf05839(0x13d)]=_0x22550c[_0xdd48f3],_0x154c11['testUuid']=_0x5a0442[_0xdd48f3],_0x154c11['platformIndex']=_0xdd48f3;const _0x2b432e=_0x154c11;try{const _0x339fcb=this['createTestFrameworkEventPayload'](_0x2b432e);_0x339fcb&&_0x573b85[_0xf05839(0x146)](Object[_0xf05839(0x1e0)](_0x339fcb)['length'],0x0)&&(logger[_0xf05839(0x142)]('trackEvent\x20fan-out\x20'+_0x413916+_0xf05839(0x1b0)+_0xdd48f3+_0xf05839(0x1dc)+_0x339fcb[_0xf05839(0x1bf)]+_0xf05839(0x102)+_0x339fcb[_0xf05839(0x16a)]),await GrpcClient[_0xf05839(0x212)]()[_0xf05839(0x1c4)](_0x339fcb)),_0x1e44bd&&_0x573b85[_0xf05839(0xe6)](_0x3d1b5b,HookState[_0xf05839(0x1e5)])&&await this[_0xf05839(0x1f8)](_0x236262,_0x15884e,_0x3d1b5b,_0x573b85[_0xf05839(0xf4)],_0x2b432e,_0xdd48f3);}catch(_0x2944a5){logger['error'](_0xf05839(0x1be)+_0x413916+'\x20pi='+_0xdd48f3+_0xf05839(0x214)+(_0x2944a5[_0xf05839(0xdb)]||_0x2944a5));}}_0x24b136&&(_0x573b85[_0xf05839(0x117)](_0x3d1b5b,HookState[_0xf05839(0x19e)])||_0x573b85[_0xf05839(0x21c)](_0x3d1b5b,HookState['POST']))&&await this[_0xf05839(0x109)](_0x236262,_0x413916,_0x3d1b5b,_0x5a0442),await this[_0xf05839(0xfa)](_0x236262,_0x413916,_0x3d1b5b,_0x5a0442,_0x22550c,_0x2baef3);}}async['_sendLifecycleLogs'](_0x1c7513,_0x22a0c9,_0x208703,_0x129ad5,_0x2e295e,_0x7f6cc6){const _0x3f4fd9=a104_0x5a96b4,_0x3650cf={'kmwye':function(_0x3ac6d9,_0x1a6602){return _0x3ac6d9(_0x1a6602);},'gnMdm':_0x3f4fd9(0x1bf),'kifzX':function(_0xca43d7,_0xc22eac){return _0xca43d7===_0xc22eac;},'BHwLR':_0x3f4fd9(0xfd),'HYybf':function(_0xb47e46,_0x4d91c0){return _0xb47e46===_0x4d91c0;},'tkutV':'PRE','kHOzC':function(_0x4b25fa,_0x2031d0){return _0x4b25fa===_0x2031d0;},'OvudL':'POST','aBBaC':_0x3f4fd9(0x171),'WpMgE':function(_0x332c92,_0x526730){return _0x332c92>_0x526730;},'PXBrZ':_0x3f4fd9(0xf0),'ShKum':_0x3f4fd9(0x211),'jbeFt':_0x3f4fd9(0x128),'xCARO':function(_0x321c7c,_0x240678){return _0x321c7c===_0x240678;},'ERbIm':_0x3f4fd9(0x160),'IirWd':_0x3f4fd9(0x106),'qKvGi':_0x3f4fd9(0x223),'kDxds':'beforeEach(test)','Ifcar':function(_0xabd471,_0x3bc3a2){return _0xabd471===_0x3bc3a2;},'HSFyf':function(_0x25d443,_0x11dff4){return _0x25d443===_0x11dff4;},'dcmxT':_0x3f4fd9(0x15d),'IHwfz':function(_0x5a7315,_0x3431a8){return _0x5a7315===_0x3431a8;},'lyuKq':function(_0x1ccf55,_0x97877e){return _0x1ccf55===_0x97877e;},'Xlbxx':_0x3f4fd9(0x21e),'iESVn':_0x3f4fd9(0x201),'KtchN':function(_0x5c527a,_0x490bb1){return _0x5c527a===_0x490bb1;},'xfVDs':_0x3f4fd9(0x1f0),'hjydw':'afterEach(test)','yfKLO':function(_0x79ebb8,_0x15beeb){return _0x79ebb8===_0x15beeb;},'QwVug':function(_0x57d3be,_0xb0bce6){return _0x57d3be<_0xb0bce6;},'YGbju':_0x3f4fd9(0x142)};try{const {v4:_0x3df36d}=_0x3650cf[_0x3f4fd9(0x135)](require,_0x3650cf[_0x3f4fd9(0x21a)]),_0x457109=_0x208703['toString']()[_0x3f4fd9(0x1bd)]('.')[0x1];let _0x576373='';if(_0x3650cf[_0x3f4fd9(0xdc)](_0x22a0c9,_0x3650cf[_0x3f4fd9(0x228)])&&_0x3650cf['HYybf'](_0x457109,_0x3650cf['tkutV']))_0x576373=_0x3f4fd9(0x226)+(_0x7f6cc6[_0x3f4fd9(0x1a6)]&&_0x7f6cc6[_0x3f4fd9(0x1a6)][_0x3f4fd9(0x206)]||'');else{if(_0x3650cf['HYybf'](_0x22a0c9,_0x3650cf[_0x3f4fd9(0x228)])&&_0x3650cf[_0x3f4fd9(0x11e)](_0x457109,_0x3650cf[_0x3f4fd9(0x1da)])){const _0xa1f454=_0x7f6cc6['testRunInfo']&&Array['isArray'](_0x7f6cc6['testRunInfo'][_0x3f4fd9(0x14e)])?_0x7f6cc6[_0x3f4fd9(0x18f)]['errs']:[],_0x322cca=_0x7f6cc6[_0x3f4fd9(0x18f)]&&_0x7f6cc6[_0x3f4fd9(0x18f)]['skipped']?_0x3650cf[_0x3f4fd9(0x1ab)]:_0x3650cf['WpMgE'](_0xa1f454['length'],0x0)?_0x3650cf[_0x3f4fd9(0xda)]:_0x3650cf[_0x3f4fd9(0x1fa)];_0x576373='Test\x20execution\x20finished\x20—\x20result:\x20'+_0x322cca;}else{if(_0x22a0c9[_0x3f4fd9(0x1ee)](_0x3650cf[_0x3f4fd9(0x219)])&&_0x3650cf[_0x3f4fd9(0x11e)](_0x457109,_0x3650cf['tkutV'])){const _0x2bc6dc=_0x3650cf[_0x3f4fd9(0x1d8)](_0x22a0c9,_0x3650cf[_0x3f4fd9(0x197)])?_0x3650cf[_0x3f4fd9(0x162)]:_0x3650cf[_0x3f4fd9(0xe9)](_0x22a0c9,_0x3650cf['qKvGi'])?_0x3650cf[_0x3f4fd9(0x165)]:_0x22a0c9[_0x3f4fd9(0x1e9)]();_0x576373=_0x3f4fd9(0x156)+_0x2bc6dc+_0x3f4fd9(0x15a);}else{if(_0x22a0c9['startsWith'](_0x3650cf['jbeFt'])&&_0x3650cf[_0x3f4fd9(0x1d8)](_0x457109,_0x3650cf['OvudL'])){const _0x5bb58f=_0x3650cf[_0x3f4fd9(0x208)](_0x22a0c9,_0x3650cf[_0x3f4fd9(0x197)])?_0x3650cf[_0x3f4fd9(0x162)]:_0x3650cf['HSFyf'](_0x22a0c9,_0x3650cf[_0x3f4fd9(0x21d)])?_0x3650cf[_0x3f4fd9(0x165)]:_0x22a0c9[_0x3f4fd9(0x1e9)]();_0x576373='Hook\x20'+_0x5bb58f+_0x3f4fd9(0x1d1);}else{if(_0x22a0c9[_0x3f4fd9(0x1ee)](_0x3650cf[_0x3f4fd9(0xe7)])&&_0x3650cf[_0x3f4fd9(0x16f)](_0x457109,_0x3650cf['tkutV'])){const _0x5a93af=_0x3650cf['lyuKq'](_0x22a0c9,_0x3650cf[_0x3f4fd9(0xe4)])?_0x3650cf[_0x3f4fd9(0x14f)]:_0x3650cf[_0x3f4fd9(0x1dd)](_0x22a0c9,_0x3650cf[_0x3f4fd9(0x179)])?_0x3650cf[_0x3f4fd9(0x1f3)]:_0x22a0c9[_0x3f4fd9(0x1e9)]();_0x576373=_0x3f4fd9(0x156)+_0x5a93af+'\x20started';}else{if(_0x22a0c9['startsWith'](_0x3650cf[_0x3f4fd9(0xe7)])&&_0x3650cf[_0x3f4fd9(0x164)](_0x457109,_0x3650cf[_0x3f4fd9(0x1da)])){const _0x3576f1=_0x3650cf[_0x3f4fd9(0x13b)](_0x22a0c9,_0x3650cf[_0x3f4fd9(0xe4)])?_0x3650cf[_0x3f4fd9(0x14f)]:_0x3650cf[_0x3f4fd9(0x1dd)](_0x22a0c9,_0x3650cf[_0x3f4fd9(0x179)])?_0x3650cf[_0x3f4fd9(0x1f3)]:_0x22a0c9[_0x3f4fd9(0x1e9)]();_0x576373=_0x3f4fd9(0x156)+_0x3576f1+'\x20completed';}else return;}}}}}const _0x278203=new Date()[_0x3f4fd9(0x143)](),_0x2a6565=_0x22a0c9['startsWith'](_0x3650cf['jbeFt'])||_0x22a0c9['startsWith'](_0x3650cf[_0x3f4fd9(0xe7)]);let _0x236fe2='';if(_0x2a6565){const _0x16277b=_0x1c7513[_0x3f4fd9(0x173)]()[_0x3f4fd9(0x133)](TestFrameworkConstants[_0x3f4fd9(0x18d)])||{};_0x236fe2=_0x16277b[_0x22a0c9]||'';}for(let _0x4cde29=0x0;_0x3650cf['QwVug'](_0x4cde29,_0x129ad5['length']);_0x4cde29++){const _0x1b94ec=_0x2a6565?_0x236fe2:_0x129ad5[_0x4cde29];if(!_0x1b94ec)continue;const _0x8787c6={};_0x8787c6[_0x3f4fd9(0x1bf)]=_0x1b94ec,_0x8787c6['test_run_uuid']=_0x129ad5[_0x4cde29],_0x8787c6[_0x3f4fd9(0x18e)]=_0x278203,_0x8787c6[_0x3f4fd9(0x186)]=_0x576373,_0x8787c6[_0x3f4fd9(0x1b3)]=TestFrameworkConstants['KIND_LOG'],_0x8787c6[_0x3f4fd9(0x222)]=_0x3650cf[_0x3f4fd9(0x112)];const _0x278ebc=_0x8787c6,_0x55662b={'platformIndex':_0x4cde29,'logs':[_0x278ebc],'testFrameworkName':this[_0x3f4fd9(0x1f9)]()[0x0],'testFrameworkVersion':this[_0x3f4fd9(0x187)]()[this[_0x3f4fd9(0x1f9)]()[0x0]]||'','testFrameworkState':_0x22a0c9};try{await GrpcClient[_0x3f4fd9(0x212)]()[_0x3f4fd9(0xd9)](_0x55662b);}catch(_0x25177c){logger[_0x3f4fd9(0x1bc)](_0x3f4fd9(0x1cb)+_0x4cde29+':\x20'+(_0x25177c[_0x3f4fd9(0x186)]||_0x25177c));}}}catch(_0x470c18){logger[_0x3f4fd9(0x1bc)](_0x3f4fd9(0x115)+(_0x470c18[_0x3f4fd9(0x186)]||_0x470c18));}}async[a104_0x5a96b4(0x109)](_0x33dff2,_0x201309,_0x2ded54,_0x45e9dc){const _0x38863a=a104_0x5a96b4,_0x4115ab={'NygKV':function(_0x10464d,_0x3dfd6f){return _0x10464d(_0x3dfd6f);},'txnmc':_0x38863a(0xe8),'CSPpV':function(_0x5213e4,_0x55649b){return _0x5213e4(_0x55649b);},'IAIIS':'./testcafeAutomationFramework.js','sYiul':function(_0x14af9b,_0x1319ce){return _0x14af9b(_0x1319ce);},'aUkRI':'../modules/testcafeDriverModule.js','RxqYQ':function(_0x474ab3,_0x183472){return _0x474ab3(_0x183472);},'qPLKS':_0x38863a(0x168),'urKFm':function(_0x7ab7c7,_0x1ef243){return _0x7ab7c7===_0x1ef243;},'xeRUf':_0x38863a(0x15c),'WKUJy':function(_0x2e5871,_0x27b5ce){return _0x2e5871>_0x27b5ce;},'vSBaq':'base64','ZvFEc':_0x38863a(0x180),'xzMdH':function(_0x3c8641,_0x51b908,_0x4c0913){return _0x3c8641(_0x51b908,_0x4c0913);},'coIdG':_0x38863a(0x161),'VoTRH':function(_0x2f650d){return _0x2f650d();}};try{const _0xf25797=_0x4115ab[_0x38863a(0x1cc)](require,_0x4115ab[_0x38863a(0x1e6)]),_0x3c0e61=_0x4115ab[_0x38863a(0xfe)](require,_0x4115ab[_0x38863a(0x1a8)]),_0x3cafd2=_0xf25797['getInstance'](),_0x3dfeae=_0x3cafd2[_0x38863a(0x1c3)]()?.[_0x38863a(0x120)]||'',_0x10c827=_0x33dff2['getContext'](),_0x41dbc1={'hash':_0x10c827[_0x38863a(0x159)](),'threadId':_0x10c827[_0x38863a(0x1b4)]()[_0x38863a(0x15f)](),'processId':_0x10c827[_0x38863a(0x1cd)]()['toString']()};for(const {platformIndex:_0x3aedeb,instance:_0x1b551b}of _0x3c0e61['iterAllInstances']()){try{const _0x22e4a0=_0x45e9dc[_0x3aedeb]||_0x45e9dc[0x0]||'';if(!_0x22e4a0)continue;const _0x22ac88=_0x4115ab[_0x38863a(0x108)](require,_0x4115ab[_0x38863a(0x215)]),_0x1211ca=_0x4115ab[_0x38863a(0x19b)](require,_0x4115ab[_0x38863a(0x1d9)]),_0xc30c00=_0x1211ca[_0x38863a(0x1fe)](_0x1b551b,_0x22ac88[_0x38863a(0x157)],'')||'',_0x4c1160=_0x1211ca['getState'](_0x1b551b,_0x22ac88[_0x38863a(0x1b1)],{})||{},_0x5d5379=_0x1211ca[_0x38863a(0x1fe)](_0x1b551b,_0x22ac88[_0x38863a(0x152)],'')||_0x3dfeae,_0x3b45fe=_0x4c1160&&_0x4115ab[_0x38863a(0x11c)](typeof _0x4c1160,_0x4115ab[_0x38863a(0x1c1)])?Object[_0x38863a(0x1e0)](_0x4c1160)['length']:0x0,_0x240fc5=Buffer[_0x38863a(0x132)](JSON[_0x38863a(0x103)](_0x4115ab[_0x38863a(0xdd)](_0x3b45fe,0x0)?_0x4c1160:{}))['toString'](_0x4115ab[_0x38863a(0x1ac)]),_0x4b087a={'platformIndex':_0x3aedeb,'testFrameworkName':this[_0x38863a(0x1f9)]()[0x0]||_0x4115ab['ZvFEc'],'testFrameworkVersion':this[_0x38863a(0x187)]()[this[_0x38863a(0x1f9)]()[0x0]]||'','testFrameworkState':_0x201309,'testHookState':_0x2ded54['toString']()[_0x38863a(0x1bd)]('.')[0x1],'testUuid':_0x22e4a0,'automationSession':{'provider':_0x4115ab['xzMdH'](getPlaywrightProvider,_0x5d5379,![]),'frameworkName':_0x4115ab[_0x38863a(0x10c)],'frameworkVersion':'','frameworkSessionId':_0xc30c00,'ref':_0x1b551b[_0x38863a(0xd7)](),'hubUrl':_0x5d5379,'product':_0x4115ab['VoTRH'](getProductForSession)},'capabilities':_0x240fc5,'executionContext':_0x41dbc1};logger[_0x38863a(0x1bc)]('_sendHookCbtEvents:\x20'+_0x201309+'\x20'+_0x2ded54+_0x38863a(0x1b0)+_0x3aedeb+_0x38863a(0x194)+_0x22e4a0+_0x38863a(0x12b)+_0xc30c00),await GrpcClient[_0x38863a(0x212)]()[_0x38863a(0x1b8)](_0x4b087a);}catch(_0x2ed1ca){logger[_0x38863a(0x1bc)](_0x38863a(0x1f6)+(_0x2ed1ca[_0x38863a(0x186)]||_0x2ed1ca));}}}catch(_0x41226b){logger[_0x38863a(0x1bc)](_0x38863a(0x213)+(_0x41226b['message']||_0x41226b));}}async[a104_0x5a96b4(0x16d)](){const _0x8382a3=a104_0x5a96b4,_0x315496={'hfgWk':function(_0x56ef75,_0x378eb1){return _0x56ef75===_0x378eb1;},'tzKni':_0x8382a3(0x174),'bmBpE':'failed','ZWusu':_0x8382a3(0x1c9),'KSbQu':'TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','NwMCP':_0x8382a3(0x1fd),'ukzkR':function(_0x204d34,_0x1a2bc1){return _0x204d34(_0x1a2bc1);}};if(!this[_0x8382a3(0xea)]||_0x315496[_0x8382a3(0x1ea)](this[_0x8382a3(0xea)][_0x8382a3(0x13e)],0x0)){logger[_0x8382a3(0x142)](_0x315496['tzKni']);return;}const _0x318919=Array['from'](this[_0x8382a3(0xea)][_0x8382a3(0xf5)]());logger['warn'](_0x8382a3(0x1eb)+_0x318919[_0x8382a3(0x1bb)]+'\x20orphan\x20test_run(s)');const _0x196039=TestFrameworkState['TEST']['toString']()[_0x8382a3(0x1bd)]('.')[0x1],_0x485e7e=HookState[_0x8382a3(0x1e5)][_0x8382a3(0x15f)]()['split']('.')[0x1],_0x11471e=new Date()['toISOString']();for(const [_0xe9e127,_0x50b49e]of _0x318919){const _0x4e73ee={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x8382a3(0x1f9)]()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[this[_0x8382a3(0x1f9)]()[0x0]]||'',[TestFrameworkConstants[_0x8382a3(0x172)]]:_0xe9e127,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x50b49e[_0x8382a3(0x206)]||_0x8382a3(0x1fc)+_0xe9e127+')',[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x315496[_0x8382a3(0x12e)],[TestFrameworkConstants[_0x8382a3(0x1a2)]]:[{'type':_0x315496[_0x8382a3(0x1c6)],'message':_0x315496[_0x8382a3(0xe2)],'stack':''}],[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x315496[_0x8382a3(0x1c6)],[TestFrameworkConstants[_0x8382a3(0x207)]]:_0x11471e,[TestFrameworkConstants[_0x8382a3(0x17a)]]:_0x11471e,[TestFrameworkConstants[_0x8382a3(0xd8)]]:{},[TestFrameworkConstants[_0x8382a3(0x166)]]:{}},_0x3bef99=Buffer['from'](JSON[_0x8382a3(0x103)](_0x4e73ee))[_0x8382a3(0x15f)](_0x315496[_0x8382a3(0xe1)]),_0x17617e={'platformIndex':_0x50b49e['platformIndex']||0x0,'testFrameworkName':this[_0x8382a3(0x1f9)]()[0x0],'testFrameworkVersion':this[_0x8382a3(0x187)]()[this['getTestFrameworks']()[0x0]]||'','testFrameworkState':_0x196039,'hookState':_0x485e7e,'startedAt':_0x11471e,'endedAt':_0x11471e,'uuid':_0x315496[_0x8382a3(0x150)](String,_0xe9e127),'eventJson':_0x3bef99,'executionContext':{'hash':'','threadId':'0','processId':_0x315496[_0x8382a3(0x150)](String,process[_0x8382a3(0x19c)])},'test_identifier':_0x50b49e[_0x8382a3(0x13d)]||''};try{logger[_0x8382a3(0x142)](_0x8382a3(0x10e)+_0xe9e127+'\x20platformIndex='+_0x50b49e['platformIndex']+_0x8382a3(0x221)+_0x50b49e['testName']),await GrpcClient[_0x8382a3(0x212)]()[_0x8382a3(0x1c4)](_0x17617e);}catch(_0x2b9d27){logger['warn']('finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20'+_0xe9e127+':\x20'+(_0x2b9d27[_0x8382a3(0x186)]||_0x2b9d27));}}this[_0x8382a3(0xea)][_0x8382a3(0xf9)]();}[a104_0x5a96b4(0x17b)](_0x5a8423,_0x416296,_0x3a7a7d={}){const _0x4945b6=a104_0x5a96b4,_0x319104={};_0x319104[_0x4945b6(0x17f)]=function(_0x907e25,_0x161b8b){return _0x907e25===_0x161b8b;};const _0x44b92c=_0x319104;return(_0x44b92c['cIOUm'](_0x5a8423,TestFrameworkState[_0x4945b6(0x20a)])||_0x44b92c[_0x4945b6(0x17f)](_0x5a8423,TestFrameworkState[_0x4945b6(0x1ae)]))&&this[_0x4945b6(0x125)](_0x5a8423,_0x3a7a7d),TestFramework[_0x4945b6(0x10d)]()||this[_0x4945b6(0x100)](_0x5a8423);}[a104_0x5a96b4(0x125)](_0xb3cb02,_0x4d4662){const _0x277d60=a104_0x5a96b4,_0x25d0dc=CLIUtils[_0x277d60(0x1d5)](),_0x7a95e7=TrackedInstance[_0x277d60(0x1f5)](_0x25d0dc),_0x21eb4b=new TestFrameworkInstance(_0x7a95e7,this[_0x277d60(0x1f9)](),this[_0x277d60(0x187)](),_0xb3cb02,HookState[_0x277d60(0x1ae)]);TestFramework['setTrackedInstance'](_0x7a95e7,_0x21eb4b),logger[_0x277d60(0x142)](_0x277d60(0x129)+_0x7a95e7[_0x277d60(0x159)]()+_0x277d60(0x1d2)+_0x25d0dc+_0x277d60(0x1e1)+_0xb3cb02);}[a104_0x5a96b4(0x100)](_0x23069f){const _0x5a5e33=a104_0x5a96b4;return this[_0x5a5e33(0x125)](_0x23069f,{}),TestFramework[_0x5a5e33(0x10d)]();}[a104_0x5a96b4(0x1df)](_0x26dac8){const _0x352128=a104_0x5a96b4,_0x2a9fda={'cNoxC':function(_0x57b637,_0x4f5a03){return _0x57b637>_0x4f5a03;},'CXKLy':function(_0x46a704,_0x2e0df3){return _0x46a704-_0x2e0df3;},'PkHXj':function(_0x5e6e95,_0x42020d){return _0x5e6e95>_0x42020d;},'JTbng':function(_0x5888ec,_0x5cdf19){return _0x5888ec-_0x5cdf19;},'tQJFw':function(_0x551083,_0x593bb9){return _0x551083===_0x593bb9;},'nocAI':_0x352128(0x15c),'zFjhh':_0x352128(0x14d),'adwNu':_0x352128(0x137),'oNioj':function(_0x2f71a3,_0x46a4f5){return _0x2f71a3||_0x46a4f5;},'jGFaY':'POST','gJUdE':_0x352128(0x211),'DKzqg':function(_0x1fda1c,_0x114292){return _0x1fda1c(_0x114292);},'UClOb':_0x352128(0x1fd),'iwQeM':function(_0x4c3059,_0xd44e5d){return _0x4c3059||_0xd44e5d;}};try{const _0x2ba7e1=_0x26dac8[_0x352128(0x16b)];if(!_0x2ba7e1)return{};const _0x53de48=_0x2ba7e1[_0x352128(0x1ff)](),_0x310816=_0x2ba7e1[_0x352128(0xf8)]()[_0x352128(0x15f)]()['split']('.')[0x1],_0x4ac56e=_0x2ba7e1[_0x352128(0x10a)]()[_0x352128(0x15f)]()[_0x352128(0x1bd)]('.')[0x1],_0x4e98ea=Number[_0x352128(0x145)](_0x26dac8['platformIndex'])?_0x26dac8['platformIndex']:0x0,_0x3691fc={'hash':_0x53de48[_0x352128(0x159)](),'threadId':_0x53de48[_0x352128(0x1b4)]()[_0x352128(0x15f)](),'processId':_0x53de48[_0x352128(0x1cd)]()[_0x352128(0x15f)]()};if(TestFrameworkConstants['HOOK_REGEX']&&new RegExp(TestFrameworkConstants[_0x352128(0xff)])['test'](_0x310816)){const _0x28edd7=_0x310816,_0x2e1316=_0x2ba7e1[_0x352128(0x173)](),_0x4e460a=(_0x2e1316[_0x352128(0x133)](TestFrameworkConstants[_0x352128(0x166)])||{})[_0x28edd7],_0x58aa34=(_0x2e1316['get'](TestFrameworkConstants[_0x352128(0xd8)])||{})[_0x28edd7],_0xe4cc0a=Array['isArray'](_0x4e460a)&&_0x2a9fda['cNoxC'](_0x4e460a['length'],0x0)?_0x4e460a[_0x2a9fda[_0x352128(0x183)](_0x4e460a[_0x352128(0x1bb)],0x1)]:null,_0x25a24d=Array[_0x352128(0x11f)](_0x58aa34)&&_0x2a9fda[_0x352128(0x17d)](_0x58aa34[_0x352128(0x1bb)],0x0)?_0x58aa34[_0x2a9fda[_0x352128(0x17c)](_0x58aa34[_0x352128(0x1bb)],0x1)]:null,_0x5b9679=_0xe4cc0a&&_0xe4cc0a[_0x352128(0x227)]||'',_0x28f007=_0x25a24d&&_0x25a24d[_0x352128(0x141)]||'',_0x238e77=_0xe4cc0a&&_0xe4cc0a[_0x352128(0x195)]||_0x25a24d&&_0x25a24d[_0x352128(0x195)]||_0x28edd7+':'+_0x53de48[_0x352128(0x159)](),_0x5759dd=_0x26dac8[_0x352128(0x170)]||{},_0x5a09f4=_0x5759dd&&_0x5759dd[_0x352128(0x153)]||'',_0x4a6540=_0x5759dd&&_0x5759dd['name']||'';let _0x4878a1=null;for(const [_0x5138fd,_0x1a4b5b]of _0x2e1316[_0x352128(0xf5)]()){if(_0x1a4b5b&&_0x2a9fda['tQJFw'](typeof _0x1a4b5b,_0x2a9fda[_0x352128(0xdf)])&&_0x1a4b5b[TestFrameworkConstants[_0x352128(0x1f4)]]&&!_0x5138fd[_0x352128(0x118)](_0x2a9fda['zFjhh'])&&!_0x5138fd[_0x352128(0x118)](_0x2a9fda[_0x352128(0x113)])){_0x4878a1=_0x1a4b5b;break;}}const _0x354919=_0x4878a1&&_0x4878a1[TestFrameworkConstants['KEY_TEST_NAME']]||_0x4a6540||_0x28edd7,_0x5a61ed=_0x4878a1&&_0x4878a1[TestFrameworkConstants[_0x352128(0xee)]]||_0x5a09f4||'',_0x5da629={[TestFrameworkConstants[_0x352128(0x172)]]:_0x26dac8[_0x352128(0x1a4)]||'',[TestFrameworkConstants[_0x352128(0x1f4)]]:_0x354919,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x5a61ed,[TestFrameworkConstants[_0x352128(0x1af)]]:_0x5a61ed,[TestFrameworkConstants[_0x352128(0x1d4)]]:_0x2a9fda['oNioj'](_0x4a6540,_0x354919),[TestFrameworkConstants[_0x352128(0x149)]]:_0x4a6540?[_0x4a6540]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x28edd7,[TestFrameworkConstants[_0x352128(0x19d)]]:_0x238e77,[TestFrameworkConstants['KEY_HOOK_RESULT']]:_0x2a9fda[_0x352128(0x1f1)](_0x4ac56e,_0x2a9fda['jGFaY'])?_0x2a9fda[_0x352128(0x1ba)]:TestFrameworkConstants[_0x352128(0x1fb)],[TestFrameworkConstants[_0x352128(0x175)]]:_0x5b9679,[TestFrameworkConstants[_0x352128(0x1e4)]]:_0x28f007,[TestFrameworkConstants[_0x352128(0x177)]]:this['getTestFrameworks']()[0x0],[TestFrameworkConstants[_0x352128(0xf6)]]:this[_0x352128(0x187)]()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x2e1316[_0x352128(0x133)](TestFrameworkConstants[_0x352128(0x166)])||{},[TestFrameworkConstants[_0x352128(0xd8)]]:_0x2e1316[_0x352128(0x133)](TestFrameworkConstants[_0x352128(0xd8)])||{}};return{'platformIndex':_0x4e98ea,'testFrameworkName':this[_0x352128(0x1f9)]()[0x0],'testFrameworkVersion':this['getTestFrameworksVersions']()[this[_0x352128(0x1f9)]()[0x0]]||'','testFrameworkState':_0x310816,'hookState':_0x4ac56e,'startedAt':_0x2a9fda[_0x352128(0x163)](String,_0x2a9fda[_0x352128(0x20c)](_0x5b9679,'')),'endedAt':_0x2a9fda[_0x352128(0x163)](String,_0x2a9fda['oNioj'](_0x28f007,'')),'uuid':_0x2a9fda[_0x352128(0x163)](String,_0x238e77),'eventJson':Buffer[_0x352128(0x132)](JSON['stringify'](_0x5da629))[_0x352128(0x15f)](_0x2a9fda[_0x352128(0x20d)]),'executionContext':_0x3691fc,'test_identifier':_0x5da629[TestFrameworkConstants['KEY_HOOK_ID']]};}const _0x3b142c=_0x26dac8[_0x352128(0x13d)]||_0x26dac8[_0x352128(0x1a6)]&&this[_0x352128(0x205)](_0x26dac8['test'],0x0)||null,_0x426fdb=_0x3b142c&&_0x2ba7e1[_0x352128(0x173)]()[_0x352128(0x133)](_0x3b142c)||{},_0x298098=_0x2ba7e1[_0x352128(0x173)](),_0x9ca808={..._0x426fdb,[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x298098[_0x352128(0x133)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||_0x426fdb[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},[TestFrameworkConstants[_0x352128(0xd8)]]:_0x298098[_0x352128(0x133)](TestFrameworkConstants[_0x352128(0xd8)])||_0x426fdb[TestFrameworkConstants[_0x352128(0xd8)]]||{}},{[TestFrameworkConstants[_0x352128(0x177)]]:_0x1f8886=this[_0x352128(0x1f9)]()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x438a1e='',[TestFrameworkConstants[_0x352128(0x207)]]:_0x520907='',[TestFrameworkConstants[_0x352128(0x17a)]]:_0x5e1414=''}=_0x9ca808,_0x24125e=_0x26dac8[_0x352128(0x1a4)]||_0x9ca808[TestFrameworkConstants[_0x352128(0x172)]]||_0x2ba7e1[_0x352128(0xd7)](),_0x32be08=Buffer[_0x352128(0x132)](JSON[_0x352128(0x103)](_0x9ca808))[_0x352128(0x15f)](_0x2a9fda['UClOb']);return{'platformIndex':_0x4e98ea,'testFrameworkName':_0x1f8886,'testFrameworkVersion':_0x438a1e,'testFrameworkState':_0x310816,'hookState':_0x4ac56e,'startedAt':_0x520907?_0x2a9fda[_0x352128(0x163)](String,_0x520907):'','endedAt':_0x5e1414?_0x2a9fda[_0x352128(0x163)](String,_0x5e1414):'','uuid':_0x2a9fda['DKzqg'](String,_0x2a9fda['iwQeM'](_0x24125e,'')),'eventJson':_0x32be08,'executionContext':_0x3691fc,'test_identifier':_0x3b142c};}catch(_0x348738){return logger['error'](_0x352128(0xef)+(_0x348738[_0x352128(0xdb)]||_0x348738)),{};}}async[a104_0x5a96b4(0x1f8)](_0x14a10c,_0x374388,_0x40a1b3,_0x26b7d7,_0x56ef32,_0x437686){const _0x4ee041=a104_0x5a96b4,_0x392444={'kYhCn':function(_0x57be9a){return _0x57be9a();},'WTVKC':_0x4ee041(0x1d0),'UwTrJ':function(_0x3b0110){return _0x3b0110();},'FhEQq':_0x4ee041(0x1ca),'aBAlm':_0x4ee041(0x1e7),'yRosh':function(_0x53d38d,_0x172c68){return _0x53d38d===_0x172c68;}};try{const _0x529c10=_0x56ef32[_0x4ee041(0x13d)]||_0x56ef32[_0x4ee041(0x1a6)]&&this[_0x4ee041(0x205)](_0x56ef32[_0x4ee041(0x1a6)],0x0);if(!_0x529c10){logger[_0x4ee041(0x1bc)](_0x392444[_0x4ee041(0x131)]);return;}const _0x30cc0d=_0x14a10c[_0x4ee041(0x173)]()[_0x4ee041(0x133)](_0x529c10)||{},_0x26b7b9=_0x30cc0d[TestFrameworkConstants[_0x4ee041(0x172)]],_0x33b2f1=_0x30cc0d[TestFrameworkConstants[_0x4ee041(0x169)]]||[],_0x5a3067=_0x30cc0d[TestFrameworkConstants[_0x4ee041(0x1a2)]]||[],_0x24bd24=[];_0x33b2f1[_0x4ee041(0x130)](_0x37fe89=>{const _0x43a62d=_0x4ee041;_0x24bd24[_0x43a62d(0x114)]({'uuid':_0x392444['kYhCn'](uuidv4),'test_run_uuid':_0x26b7b9,'timestamp':new Date()[_0x43a62d(0x143)](),'message':'','attachment_url':_0x37fe89,'attachment_type':_0x392444['WTVKC']});});Array[_0x4ee041(0x11f)](_0x5a3067)&&_0x5a3067[_0x4ee041(0x130)](_0x5e935a=>{const _0x4f843c=_0x4ee041;_0x24bd24[_0x4f843c(0x114)]({'uuid':_0x392444[_0x4f843c(0xf2)](uuidv4),'test_run_uuid':_0x26b7b9,'timestamp':new Date()['toISOString'](),'message':_0x5e935a[_0x4f843c(0x186)]||'','stack_trace':_0x5e935a['stack']||'','level':_0x392444[_0x4f843c(0x10f)]});});if(_0x392444['yRosh'](_0x24bd24[_0x4ee041(0x1bb)],0x0)){logger['debug'](_0x4ee041(0x1f7)+_0x529c10);return;}const _0x52779e=_0x30cc0d[TestFrameworkConstants[_0x4ee041(0x177)]]||this[_0x4ee041(0x1f9)]()[0x0],_0x44486e=_0x30cc0d[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||'',_0x31ca43={'platformIndex':Number[_0x4ee041(0x145)](_0x437686)?_0x437686:Number[_0x4ee041(0x145)](_0x56ef32[_0x4ee041(0x16a)])?_0x56ef32[_0x4ee041(0x16a)]:0x0,'logs':_0x24bd24,'testFrameworkName':_0x52779e,'testFrameworkVersion':_0x44486e,'testFrameworkState':_0x374388['toString']()[_0x4ee041(0x1bd)]('.')[0x1]};logger[_0x4ee041(0x1bc)]('sendLogCreatedEvent:\x20emitting\x20'+_0x24bd24[_0x4ee041(0x1bb)]+_0x4ee041(0x181)+_0x529c10),await GrpcClient['getInstance']()[_0x4ee041(0xd9)](_0x31ca43);}catch(_0x3b2e5f){logger[_0x4ee041(0x1db)](_0x4ee041(0xe5)+(_0x3b2e5f['stack']||_0x3b2e5f));}}[a104_0x5a96b4(0x205)](_0x50f8a3,_0x26b34c){const _0x3eecd9=a104_0x5a96b4,_0x2b381f={'GqjZW':function(_0x591a36){return _0x591a36();},'PdHpp':'unknown'};if(!_0x50f8a3)return _0x3eecd9(0x10b)+_0x2b381f[_0x3eecd9(0x216)](uuidv4);const _0x26555c=_0x50f8a3[_0x3eecd9(0x170)]&&_0x50f8a3['fixture']['path']||_0x2b381f['PdHpp'],_0x2df8fe=_0x50f8a3[_0x3eecd9(0x170)]&&_0x50f8a3[_0x3eecd9(0x170)][_0x3eecd9(0x203)]||_0x2b381f[_0x3eecd9(0x1d6)],_0x1e5a02=_0x50f8a3[_0x3eecd9(0x203)]||_0x2b381f[_0x3eecd9(0x1d6)],_0x359fb7=_0x26555c+'::'+_0x2df8fe+'::'+_0x1e5a02;return _0x26b34c?_0x359fb7+_0x3eecd9(0x1d3)+_0x26b34c:_0x359fb7;}[a104_0x5a96b4(0x14b)](_0x349eec,_0xd62ec4,_0x3ffc4d){const _0x3bccf8=a104_0x5a96b4,_0x285243=_0xd62ec4&&_0xd62ec4[_0x3bccf8(0x170)]&&_0xd62ec4[_0x3bccf8(0x170)][_0x3bccf8(0x153)]||'',_0x8b60cf=_0xd62ec4&&_0xd62ec4[_0x3bccf8(0x170)]&&_0xd62ec4[_0x3bccf8(0x170)][_0x3bccf8(0x203)]||'',_0x709626=_0xd62ec4&&_0xd62ec4[_0x3bccf8(0x203)]||'',_0x1f1881=this[_0x3bccf8(0x1f9)]()[0x0];return{[TestFrameworkConstants[_0x3bccf8(0x177)]]:_0x1f1881,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x1f1881],[TestFrameworkConstants[_0x3bccf8(0x172)]]:_0x349eec,[TestFrameworkConstants[_0x3bccf8(0x1f4)]]:_0x709626,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x285243,[TestFrameworkConstants[_0x3bccf8(0xee)]]:_0x285243,[TestFrameworkConstants[_0x3bccf8(0x1d4)]]:_0x8b60cf,[TestFrameworkConstants[_0x3bccf8(0x149)]]:[_0x8b60cf],[TestFrameworkConstants[_0x3bccf8(0x199)]]:this[_0x3bccf8(0x1ce)](_0xd62ec4),[TestFrameworkConstants[_0x3bccf8(0x190)]]:TestFrameworkConstants[_0x3bccf8(0x184)],[TestFrameworkConstants[_0x3bccf8(0x207)]]:_0x3ffc4d?_0x3ffc4d['startTime']:new Date()[_0x3bccf8(0x143)](),[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x3bccf8(0xd8)]]:{},[TestFrameworkConstants[_0x3bccf8(0x166)]]:{}};}[a104_0x5a96b4(0x1ce)](_0x3a80c3){const _0x34f65f=a104_0x5a96b4,_0x2fc010={'oLwwP':function(_0x37ed2c,_0x5b6c90){return _0x37ed2c==_0x5b6c90;},'QUIyO':function(_0x106bab,_0x398ffa){return _0x106bab(_0x398ffa);},'wjDmG':function(_0x4fcef4,_0x37c8a5){return _0x4fcef4>_0x37c8a5;},'ErnKA':function(_0xf97fa1,_0x143737){return _0xf97fa1===_0x143737;},'YgCKR':_0x34f65f(0x15c),'HgiWh':function(_0x135567,_0x31948b){return _0x135567 in _0x31948b;},'mUJpO':'tag','spjim':function(_0x52818a,_0x38c56c){return _0x52818a in _0x38c56c;},'IyghA':'tags','WTmdJ':function(_0x19a984,_0x48254e){return _0x19a984 in _0x48254e;},'EQRyv':function(_0x1294bf,_0xac5475){return _0x1294bf in _0xac5475;}},_0x57eceb=[],_0x36843c=_0x3ee1b4=>{const _0x3ad8cb=_0x34f65f;if(_0x2fc010[_0x3ad8cb(0x167)](_0x3ee1b4,null))return;if(Array[_0x3ad8cb(0x11f)](_0x3ee1b4)){_0x3ee1b4[_0x3ad8cb(0x130)](_0x36843c);return;}const _0x470f70=_0x2fc010[_0x3ad8cb(0x188)](String,_0x3ee1b4)['trim']();_0x2fc010[_0x3ad8cb(0x138)](_0x470f70[_0x3ad8cb(0x1bb)],0x0)&&_0x57eceb['push'](_0x470f70);};try{const _0x5442f1=_0x3a80c3&&_0x3a80c3[_0x34f65f(0x18c)]||{};_0x5442f1&&_0x2fc010[_0x34f65f(0x121)](typeof _0x5442f1,_0x2fc010['YgCKR'])&&(_0x2fc010[_0x34f65f(0x105)](_0x2fc010[_0x34f65f(0x144)],_0x5442f1)&&_0x2fc010['QUIyO'](_0x36843c,_0x5442f1[_0x34f65f(0x101)]),_0x2fc010['spjim'](_0x2fc010[_0x34f65f(0x1a3)],_0x5442f1)&&_0x2fc010[_0x34f65f(0x188)](_0x36843c,_0x5442f1[_0x34f65f(0x124)]));const _0x37a5ee=_0x3a80c3&&_0x3a80c3['fixture']&&_0x3a80c3[_0x34f65f(0x170)][_0x34f65f(0x18c)]||{};_0x37a5ee&&_0x2fc010[_0x34f65f(0x121)](typeof _0x37a5ee,_0x2fc010['YgCKR'])&&(_0x2fc010[_0x34f65f(0x151)](_0x2fc010[_0x34f65f(0x144)],_0x37a5ee)&&_0x2fc010[_0x34f65f(0x188)](_0x36843c,_0x37a5ee['tag']),_0x2fc010['EQRyv'](_0x2fc010[_0x34f65f(0x1a3)],_0x37a5ee)&&_0x2fc010[_0x34f65f(0x188)](_0x36843c,_0x37a5ee['tags']));}catch(_0x4ecaf6){}return Array[_0x34f65f(0x132)](new Set(_0x57eceb));}['_stripAnsi'](_0x5cb6b1){const _0x1ac2ec=a104_0x5a96b4,_0x31a8e2={};_0x31a8e2['pYvtU']=function(_0x502e44,_0x5df605){return _0x502e44!==_0x5df605;},_0x31a8e2[_0x1ac2ec(0x15b)]=_0x1ac2ec(0x1b6);const _0x2fae0e=_0x31a8e2;if(_0x2fae0e[_0x1ac2ec(0x11b)](typeof _0x5cb6b1,_0x2fae0e['NHvRh']))return _0x5cb6b1;return _0x5cb6b1[_0x1ac2ec(0x126)](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}[a104_0x5a96b4(0x210)](_0x5da869){const _0x17e878=a104_0x5a96b4,_0x2f7329={};_0x2f7329['oNMgf']='Error',_0x2f7329[_0x17e878(0xf1)]=function(_0x2899eb,_0x2704d3){return _0x2899eb===_0x2704d3;},_0x2f7329[_0x17e878(0x155)]='string',_0x2f7329[_0x17e878(0x154)]=function(_0x197185,_0x3ca382){return _0x197185!==_0x3ca382;},_0x2f7329['oBdic']=function(_0x17f4e2,_0x53fac6){return _0x17f4e2===_0x53fac6;},_0x2f7329[_0x17e878(0x1ed)]=_0x17e878(0x1e8);const _0x44cc80=_0x2f7329;if(!_0x5da869)return _0x44cc80['oNMgf'];if(_0x5da869['name']&&_0x44cc80['NydZw'](typeof _0x5da869[_0x17e878(0x203)],_0x44cc80['CQRwI'])&&_0x44cc80[_0x17e878(0x154)](_0x5da869[_0x17e878(0x203)],_0x44cc80[_0x17e878(0x1a7)]))return _0x5da869[_0x17e878(0x203)];const _0x18555a=_0x44cc80['NydZw'](typeof _0x5da869[_0x17e878(0x186)],_0x44cc80[_0x17e878(0x155)])?_0x5da869[_0x17e878(0x186)]:'',_0x3efa5e=_0x18555a[_0x17e878(0x1de)](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x3efa5e)return _0x3efa5e[0x1];return _0x5da869[_0x17e878(0x21b)]&&_0x44cc80[_0x17e878(0x1b7)](typeof _0x5da869[_0x17e878(0x21b)],_0x44cc80[_0x17e878(0x155)])?_0x5da869[_0x17e878(0x21b)]:_0x44cc80[_0x17e878(0x1ed)];}[a104_0x5a96b4(0x1b9)](_0x57283f,_0x449729){const _0x409885=a104_0x5a96b4,_0x47f49f={};_0x47f49f['jwmBv']=_0x409885(0xf0),_0x47f49f[_0x409885(0x1a0)]=_0x409885(0x1e8),_0x47f49f[_0x409885(0x16c)]=_0x409885(0x20b),_0x47f49f['GmueK']=_0x409885(0x211),_0x47f49f[_0x409885(0x176)]=_0x409885(0x171),_0x47f49f[_0x409885(0x158)]=function(_0x5a52e5,_0x41dfac){return _0x5a52e5>_0x41dfac;};const _0x306ca5=_0x47f49f;if(!_0x449729)return{[TestFrameworkConstants[_0x409885(0x190)]]:_0x306ca5[_0x409885(0xec)],[TestFrameworkConstants[_0x409885(0x204)]]:0x0,[TestFrameworkConstants[_0x409885(0x1a2)]]:[{'type':_0x306ca5['RfIXW'],'message':_0x306ca5['odHFS'],'stack':''}],[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x306ca5['RfIXW'],[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x306ca5[_0x409885(0x16c)],[TestFrameworkConstants[_0x409885(0x17a)]]:new Date()[_0x409885(0x143)]()};let _0x52284e=_0x306ca5[_0x409885(0x13c)],_0x2471b3=null,_0x5a801c=null,_0x3176c9=null;if(_0x449729[_0x409885(0x171)])_0x52284e=_0x306ca5[_0x409885(0x176)];else{if(Array[_0x409885(0x11f)](_0x449729[_0x409885(0x14e)])&&_0x306ca5[_0x409885(0x158)](_0x449729[_0x409885(0x14e)]['length'],0x0)){_0x52284e=_0x306ca5[_0x409885(0xec)],_0x2471b3=_0x449729['errs'][_0x409885(0x1ad)](_0xa456e4=>({'type':this[_0x409885(0x210)](_0xa456e4),'message':this[_0x409885(0x19a)](_0xa456e4&&_0xa456e4[_0x409885(0x186)]?_0xa456e4[_0x409885(0x186)]:String(_0xa456e4)),'stack':this[_0x409885(0x19a)](_0xa456e4&&_0xa456e4[_0x409885(0xdb)]?_0xa456e4[_0x409885(0xdb)]:'')}));const _0x41cd0d=_0x2471b3[0x0];_0x5a801c=_0x41cd0d[_0x409885(0x21b)],_0x3176c9=_0x41cd0d[_0x409885(0x186)];}}const _0x6e6a08=Array[_0x409885(0x11f)](_0x449729['screenshots'])?_0x449729[_0x409885(0x1c8)][_0x409885(0x1ad)](_0x3bbd9c=>_0x3bbd9c&&_0x3bbd9c[_0x409885(0x220)])[_0x409885(0x225)](Boolean):[];return{[TestFrameworkConstants[_0x409885(0x190)]]:_0x52284e,[TestFrameworkConstants['KEY_TEST_DURATION']]:_0x449729[_0x409885(0xfc)]||0x0,[TestFrameworkConstants[_0x409885(0x1a2)]]:_0x2471b3,[TestFrameworkConstants[_0x409885(0x122)]]:_0x5a801c,[TestFrameworkConstants[_0x409885(0xe3)]]:_0x3176c9,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:new Date()[_0x409885(0x143)](),[TestFrameworkConstants[_0x409885(0x169)]]:_0x6e6a08};}async['_trackHookEvent'](_0x2ee0dd,_0x2ec8d5,_0x51eb40,_0xfda612){const _0x3cdef2=a104_0x5a96b4,_0x4a0346={'jJjEP':'before','RWwKw':_0x3cdef2(0x1b5),'IDPqS':_0x3cdef2(0x193),'nYwXH':_0x3cdef2(0x12d),'JgPoS':function(_0x42c2f9,_0x57fa4a){return _0x42c2f9===_0x57fa4a;},'geEjH':function(_0x2402cc){return _0x2402cc();},'SqGoj':function(_0x270473,_0x49f6a5){return _0x270473-_0x49f6a5;},'ylDQH':'passed'},_0x4c52f6=_0x2ec8d5[_0x3cdef2(0x15f)]()[_0x3cdef2(0x1bd)]('.')[0x1],_0x1f26c7=_0x4c52f6[_0x3cdef2(0x1e9)](),_0x1ccad2=_0x1f26c7[_0x3cdef2(0x1ee)](_0x4a0346[_0x3cdef2(0x1f2)])?_0x4a0346['RWwKw']:_0x1f26c7[_0x3cdef2(0x1ee)](_0x4a0346[_0x3cdef2(0x110)])?_0x4a0346['nYwXH']:_0x1f26c7,_0x3be50c={};if(_0x4a0346['JgPoS'](_0x51eb40,HookState[_0x3cdef2(0x19e)])){const _0x39e9b3=_0x2ee0dd[_0x3cdef2(0x173)]()['get'](TestFrameworkConstants[_0x3cdef2(0x166)])||{},_0x6845aa=Array[_0x3cdef2(0x11f)](_0x39e9b3[_0x4c52f6])?_0x39e9b3[_0x4c52f6]:[],_0x584364=_0x4a0346[_0x3cdef2(0x198)](uuidv4);_0x6845aa[_0x3cdef2(0x114)]({'hook_id':_0x584364,'hook_name':_0x4c52f6,'key':_0x4c52f6,'hook_type':_0x1ccad2,'event_started_at':new Date()[_0x3cdef2(0x143)]()}),_0x39e9b3[_0x4c52f6]=_0x6845aa;const _0x5dab38=_0x2ee0dd[_0x3cdef2(0x173)]()[_0x3cdef2(0x133)](TestFrameworkConstants[_0x3cdef2(0x18d)])||{};_0x5dab38[_0x4c52f6]=_0x584364,_0x3be50c[TestFrameworkConstants[_0x3cdef2(0x166)]]=_0x39e9b3,_0x3be50c[TestFrameworkConstants[_0x3cdef2(0x18d)]]=_0x5dab38;}else{if(_0x4a0346[_0x3cdef2(0x20e)](_0x51eb40,HookState[_0x3cdef2(0x1e5)])){const _0x30e5ac=_0x2ee0dd['getAllData']()[_0x3cdef2(0x133)](TestFrameworkConstants[_0x3cdef2(0xd8)])||{},_0x52e6b2=Array[_0x3cdef2(0x11f)](_0x30e5ac[_0x4c52f6])?_0x30e5ac[_0x4c52f6]:[],_0x25301b=_0x2ee0dd[_0x3cdef2(0x173)]()['get'](TestFrameworkConstants[_0x3cdef2(0x18d)])||{},_0x1f683f=_0x2ee0dd[_0x3cdef2(0x173)]()['get'](TestFrameworkConstants[_0x3cdef2(0x166)])||{},_0x5da34a=Array['isArray'](_0x1f683f[_0x4c52f6])?_0x1f683f[_0x4c52f6][_0x4a0346['SqGoj'](_0x1f683f[_0x4c52f6]['length'],0x1)]:null,_0x55bb0a=_0x25301b&&_0x25301b[_0x4c52f6]||_0x5da34a&&_0x5da34a[_0x3cdef2(0x195)]||_0x4a0346[_0x3cdef2(0x198)](uuidv4);_0x52e6b2[_0x3cdef2(0x114)]({'hook_id':_0x55bb0a,'hook_name':_0x4c52f6,'key':_0x4c52f6,'hook_type':_0x1ccad2,'event_started_at':_0x5da34a?_0x5da34a[_0x3cdef2(0x227)]:new Date()[_0x3cdef2(0x143)](),'event_ended_at':new Date()[_0x3cdef2(0x143)](),'hook_result':_0x4a0346['ylDQH']}),_0x30e5ac[_0x4c52f6]=_0x52e6b2,_0x3be50c[TestFrameworkConstants[_0x3cdef2(0xd8)]]=_0x30e5ac;}}return _0x3be50c;}}function a104_0x5294(){const _0xb65238=['before_all','string','oBdic','testSessionEvent','_parseTestEnd','gJUdE','length','debug','split','trackEvent\x20fan-out\x20','uuid','__currentPlatformIdentifiers','xeRUf','format','getConfig','testFrameworkEvent','userAgents','ZWusu','BBsXp','screenshots','TestCafeOrphanTimeout','ERROR','_sendLifecycleLogs\x20pi=','NygKV','getProcessId','_extractTestTags','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','IMAGE','\x20completed','\x20target=','::retry','KEY_TEST_SCOPE','getCurrentInstanceName','PdHpp','trackEvent:\x20state=','xCARO','qPLKS','OvudL','error',':\x20uuid=','KtchN','match','createTestFrameworkEventPayload','keys','\x20state=','XxrCA','matchHookRegex','KEY_EVENT_ENDED_AT','POST','txnmc','sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','TestCafeError','toLowerCase','hfgWk','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','\x20hookState=','xaQKT','startsWith','26UtsNed','AFTER_EACH','tQJFw','jJjEP','hjydw','KEY_TEST_NAME','createContext','_sendHookCbtEvents\x20inner\x20failed:\x20','sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId=','sendLogCreatedEvent','getTestFrameworks','ShKum','DEFAULT_HOOK_RESULT','(orphan\x20test\x20','base64','getState','getContext','__platformUuids','after(fixture)','../instances/trackedInstance.js','name','KEY_TEST_DURATION','_getTestIdentifier','testName','KEY_TEST_STARTED_AT','Ifcar','3481821pkKKby','INIT_TEST','testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown','oNioj','UClOb','JgPoS','trackEvent:\x20runHooks\x20failed\x20—\x20','_deriveFailureType','passed','getInstance','_sendHookCbtEvents\x20failed:\x20','\x20failed:\x20','aUkRI','GqjZW','lXbsI','fixtureIdentifier','jbeFt','gnMdm','type','eiTmD','qKvGi','AFTER_ALL','740736jwOZqk','screenshotPath','\x20testName=','level','BEFORE_EACH','../cliUtils.js','filter','Test\x20execution\x20started:\x20','event_started_at','BHwLR','getRef','KEY_HOOKS_FINISHED','logCreatedEvent','PXBrZ','stack','kifzX','WKUJy','6EHbJtN','nocAI','jlhyP','NwMCP','KSbQu','KEY_TEST_FAILURE_REASON','Xlbxx','sendLogCreatedEvent\x20failed:\x20','rRjyg','dcmxT','../browserstackCLI.js','HYybf','_startedTestUuids','TestCafeTestFramework','jwmBv','updateData','KEY_TEST_LOCATION','createTestFrameworkEventPayload:\x20','failed','NydZw','UwTrJ','\x20fan-out:\x20','EoWSg','entries','KEY_TEST_FRAMEWORK_VERSION','144028LUBZTB','getCurrentTestState','clear','_sendLifecycleLogs','__platformIdentifiers','durationMs','TEST','CSPpV','HOOK_REGEX','_lazyCreateInstance','tag','\x20platform_index=','stringify','qAIDe','HgiWh','before(fixture)','MSiUt','sYiul','_sendHookCbtEvents','getCurrentHookState','unknown::','coIdG','getTrackedInstance','finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid=','FhEQq','IDPqS','cKQlL','YGbju','adwNu','push','_sendLifecycleLogs\x20failed:\x20','addMultipleEntries','WdBhu','endsWith','772580oyQEqp','fWfQQ','pYvtU','urKFm','8liiNSG','kHOzC','isArray','hubUrl','ErnKA','KEY_TEST_FAILURE_TYPE','trackEvent:\x20no\x20instance\x20for\x20state=','tags','_trackTestCafeInstance','replace','lTkLd','BEFORE_','_trackTestCafeInstance:\x20contextId=','eqAIa','\x20sessionId=','__fixture_','after_all','bmBpE','\x20ref=','forEach','aBAlm','from','get','../../../helpers/helper.js','kmwye','set','.__platformIdentifiers','wjDmG','./constants/testFrameworkConstants.js','__currentPlatformUuids','yfKLO','GmueK','testIdentifier','size','jlXLC','GIwBu','event_ended_at','info','toISOString','mUJpO','isInteger','kydTX','../state/testFrameworkState.js','_trackHookEvent','KEY_TEST_SCOPES','RYOkI','_parseTestStart','QNSyl','.__platformUuids','errs','iESVn','ukzkR','WTmdJ','KEY_HUB_URL','path','FaqtL','CQRwI','Hook\x20','KEY_SESSION_ID','dUwSl','getId','\x20started','NHvRh','object','AFTER_','trackEvent\x20','toString','BEFORE_ALL','TestCafe','IirWd','DKzqg','HSFyf','kDxds','KEY_HOOKS_STARTED','oLwwP','./automationFramework.js','KEY_TEST_SCREENSHOTS','platformIndex','instance','odHFS','finalizeOrphans','ykOGW','IHwfz','fixture','skipped','KEY_TEST_UUID','getAllData','finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','KEY_EVENT_STARTED_AT','yufWi','KEY_TEST_FRAMEWORK_NAME','unknown','xfVDs','KEY_TEST_ENDED_AT','resolveInstance','JTbng','PkHXj','66PlBYoP','cIOUm','testcafe','\x20logs\x20for\x20testId=','12468mzSdgw','CXKLy','DEFAULT_TEST_RESULT','testStartInfo','message','getTestFrameworksVersions','QUIyO','getData','delete','./testFramework','meta','KEY_HOOK_LAST_STARTED','timestamp','testRunInfo','KEY_TEST_RESULT','updateMultipleEntries','\x20platforms\x20(reusingFixtureUuids=','after','\x20testUuid=','hook_id','1382550BILfUp','ERbIm','geEjH','KEY_TEST_TAGS','_stripAnsi','RxqYQ','pid','KEY_HOOK_ID','PRE','trackEvent','RfIXW','\x20platform\x20identifiers,\x20uuids=','KEY_TEST_FAILURE','IyghA','testUuid','setCurrentTestState','test','oNMgf','IAIIS','../grpcClient','../TestInfo.js','aBBaC','vSBaq','map','NONE','KEY_TEST_FILE_PATH','\x20pi=','KEY_CAPABILITIES','2509787swylZq','kind','getThreadId'];a104_0x5294=function(){return _0xb65238;};return a104_0x5294();}module['exports']=TestCafeTestFramework;
@@ -1 +1 @@
1
- const a105_0x1022c5=a105_0x4890;function a105_0x2729(){const _0x30ed07=['stop-bin-session\x20response:\x20','efHGf','warning','TestFrameworkEvent\x20request\x20successful','Haojg','IYYXF','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','PQzNw','KyceN','Stopping\x20signal\x20','StopBinSession\x20entries\x20forwarding\x20failed:\x20','fCYmK','logger','CURRX','MOCrX','xOrxI','test-orchestration-session=','\x20for\x20tag\x20validation','getError','fileName','ReportClientTroubleshootingError\x20successful','GkNmv','hubUrl','SVxJs','DetoxMarkSessionsRequest','fetchDriverExecuteParamsEvent','getAutomationFrameworkDetail','Sending\x20TestSessionEvent','iOOuE','ECqkj','getSuccess','env','stderr','getAccessibilityConfig','name','DriverInitRequest','addAutomationSessions','status','setRef','ConnectBinSession\x20successful','setSessions','PcybE','ref','setProvider','setExitCode','../../../generated/sdk_grpc_pb','Missing\x20binSessionId','setOrchestrationStrategy','encode','DetoxConfigRequest','getSeverity','PhSvY','BROWSERSTACK_CLI_BIN_SESSION_ID','setFilePath','XjdVh','LogCreatedEventRequest','PlSxc','setFrameworkName','connectBinSession','lzDUw','wuZJy','AccessibilityResultRequest','uuid','setTestFramework','accessibilityConfig','start','parse','argv','level','gbDTk','mDmkE','SpZEl','PDgEz','StartBinSessionRequest','logCreatedEvent','testCafeConfig','qelzV','AccessibilityResult\x20error:\x20','598334BbvzKX','88AQFmQF','setBinSessionId','setLevel','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20gRPC\x20client\x20method\x20`testCafeConfig`\x20is\x20unavailable.\x20','ReportClientTroubleshootingErrorRequest','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','maESg','end','setHubUrl','processId','kind','equEA',',\x20testRunId=','No\x20gRPC\x20client\x20not\x20initialized.','utf-8','setSdkVersion','196QyPycq','frameworkName','getLocalBound','setLanguage','xVCPq','wiTAl','getDeadline','stopBinSession','now','[GrpcClient]\x20Getting\x20AccessibilityResult,\x20resultType=','null','getEntriesList','TestFrameworkEvent','setFrameworksList','769685NBZOer','testFrameworkState','iBSNr','createInsecure','ilMkU','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20generated\x20proto\x20message\x20TestCafeConfigRequest\x20missing.\x20','setProcessId','stack','AccessibilityResult\x20request\x20successful','lastStopDeadlineExceeded','Ymner','woiTa','\x20listenAddr:\x20','StartBinSession\x20successful','omQuT','kqidn','IhcZE','DZTPS','LogCreatedEvent','setSessionId','product','ilbyo','setKind','connect','reportClientTroubleshootingError','setErrorKey','setTestFrameworkVersion','Getting\x20Playwright\x20config','yktbC','aCaXO','toLowerCase','ZREvP','write','LogEntry','connect-bin-session\x20response:\x20','The\x20running\x20binary\x20build\x20was\x20generated\x20from\x20a\x20proto\x20file\x20that\x20does\x20not\x20declare\x20','credentials','getInstance','ConnectBinSession',',\x20parsedConfig=','frameworkSessionId','kafUH','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','PkUQH','listenAddress','Getting\x20Detox\x20config','LxLcQ','cNXRe','PlaywrightConfigRequest','NLfco','\x20and\x20listen\x20address:\x20','GrpcClient','Sending\x20DriverInit','SDK_START_BIN_SESSION','addFrameworks','cwd','stringify','\x20for\x20product=','5333176QStcAp','ZHLxv','replace','TestOrchestrationRequest','3504438KHovjl','kfbfP','CrNfY','Channel','Orkpj','testSessionEvent','ConnectBinSessionRequest','wUaNb','testAnalyticsId','accessibilityResult','setMessage','setFrameworkVersion','uwatP','hash','Reporting\x20ClientTroubleshootingError\x20','setConfig','xeUEV','kYerv','setTestIdentifier','setTestFilesList','jxnBO','util','KnHFX','setTestFrameworkState','path','getAggregatedClientTroubleshootingErrors','nElLH','./sdkErrorHandler.js','the\x20TestCafeConfig\x20RPC.\x20Rebuild\x20the\x20binary\x20in\x20lockstep\x20with\x20the\x20SDK\x20',',\x20product=','JWWVE','kNkwm','../../helpers/helper.js','round','setCliArgsList','testFrameworkEvent','setCapabilities','Connecting\x20bin\x20session','setProduct','getCallOptions','message','oFwrT','1358943PoRMyw','awXaR','version','HuxTq','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','Sending\x20LogCreatedEvent','EkPXi','setExitReason','launchcaps',',\x20scriptName=','warn','DAxfG','uuAuW','BjFqP','JXSme','function','TestSessionEvent\x20request\x20successful','debug','tvnsS','ArTuw','init','set','DEADLINE_EXCEEDED','ABAoF','getPlaywrightConfig','forEach','SOiIS','GetAggregatedClientTroubleshootingErrors\x20successful','../../helpers/classLogger.js','NdkrZ','zNeEk','ExecutionContext','LQntQ','handle','error','COVpP','browserstack.','zQibi','PlaywrightConfig','setOrchestrationMetadata','TestSessionEventRequest','driverInit','detoxConfig','fJfOU','frameworkVersion','bsTbc','MqIld','BGIEI','hasLocalBound','drruQ','UetcH','DjxEh','kUMDb','fxBtL','playwrightConfig','setTestHookState','DetoxConfig\x20returned\x20success=false','1yczLLi','setAttachmentType','entries','tHVUN','18JbsAcH','KNntl','pCGJo','setThreadId','fileSize','xeMCI','setEndedAt','TestCafeConfig','setStartedAt','IEyTf','format','setResultType','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','ZAgQI','./cliUtils.js','Sdpzf','YbxHJ','filePath','getChannel','ysSBE','1177930Sbcinx','testInfo','YCImD','grpc.keepalive_time_ms','SxYZz','detoxMarkSessions','RpLlg','Connected\x20to\x20gRPC\x20server\x20at\x20','IYmUD','SDK_CLI_ON_STOP','hook_run_uuid','binSessionId','setCliArgs:\x20cliArgs=','not\x20provided','getBrowserstackConfigPath','TestSessionEvent','No\x20gRPC\x20client\x20initialized.','setTestUuid','setHash','exports','Sending\x20TestFrameworkEvent','GetAggregatedClientTroubleshootingErrors','SDK_CONNECT_BIN_SESSION','TestCafeConfigRequest','code','getBody','xCOGS','Getting\x20AggregatedClientTroubleshootingErrors','info','user_killed','PlaywrightConfig\x20request\x20successful','timestamp','channel','setUuid','testFrameworkVersion','raShM','zqUkU','LEOGI','testFrameworkName','setPlatformIndex','cCdMU','setTestFrameworkName','UKBli','JgAIu','uXgTf','threadId','setFrameworkSessionId','DetoxConfig\x20request\x20successful','tarVy',',\x20testIdentifier=','test_identifier','VMzCJ','../../helpers/logger.js','ivcdV','DetoxMarkSessions','getSdkLanguage','\x22key\x22:\x22[REDACTED]\x22','Bthns','testOrchestration','LogCreatedEvent\x20request\x20successful','SDKClient','eImYn','@grpc/grpc-js','IcmHW','Error\x20in\x20accessibilityResult:\x20','push','QCuzE','FyifD','RPuoz','setUserInputParams','lvdeS','KxnCW','AccessibilityConfigRequest','2495zUwtLd','\x22accessKey\x22:\x22[REDACTED]\x22','uiZzN','isFinite','SDK_AUTOMATION_FRAMEWORK_INIT','attachment_type','startBinSession','getBrowserstackCliConfig','gVbVU','IBEAB','StopBinSession\x20successful','nHHbx','duration','setExecutionContext','client','aTKPE','Run\x20\x27cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build\x27\x20to\x20regenerate\x20stubs\x20from\x20the\x20updated\x20proto.','yvFLB','CnRDL','YaQnR'];a105_0x2729=function(){return _0x30ed07;};return a105_0x2729();}(function(_0x1deb81,_0x40ceb2){const _0x2cf029=a105_0x4890,_0x4764a6=_0x1deb81();while(!![]){try{const _0x29eaf4=parseInt(_0x2cf029(0x2b6))/0x1*(parseInt(_0x2cf029(0x1f5))/0x2)+parseInt(_0x2cf029(0x27d))/0x3+-parseInt(_0x2cf029(0x207))/0x4*(parseInt(_0x2cf029(0x193))/0x5)+parseInt(_0x2cf029(0x2ba))/0x6*(parseInt(_0x2cf029(0x215))/0x7)+parseInt(_0x2cf029(0x24f))/0x8+-parseInt(_0x2cf029(0x253))/0x9+-parseInt(_0x2cf029(0x2ce))/0xa*(parseInt(_0x2cf029(0x1f6))/0xb);if(_0x29eaf4===_0x40ceb2)break;else _0x4764a6['push'](_0x4764a6['shift']());}catch(_0x1d463a){_0x4764a6['push'](_0x4764a6['shift']());}}}(a105_0x2729,0x5fd23));const util=require(a105_0x1022c5(0x268)),logger=require(a105_0x1022c5(0x17e))['winstonLogger'],fileLogger=require(a105_0x1022c5(0x17e))['fileLogger'],grpc=require(a105_0x1022c5(0x188)),services=require(a105_0x1022c5(0x1d4)),messages=require('../../../generated/sdk-messages_pb'),path=require(a105_0x1022c5(0x26b)),CLIUtils=require(a105_0x1022c5(0x2c8)),{createClassLogger}=require(a105_0x1022c5(0x299)),PerformanceTester=require('../../helpers/performance/performance-tester.js'),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require(a105_0x1022c5(0x273)),sdkErrorHandler=require(a105_0x1022c5(0x26e));function a105_0x4890(_0x50c201,_0x4f796c){const _0x27292c=a105_0x2729();return a105_0x4890=function(_0x48905a,_0x33c5db){_0x48905a=_0x48905a-0x154;let _0x5b7440=_0x27292c[_0x48905a];return _0x5b7440;},a105_0x4890(_0x50c201,_0x4f796c);}class GrpcClient{static #instance=null;[a105_0x1022c5(0x155)]=null;[a105_0x1022c5(0x241)]=null;[a105_0x1022c5(0x16a)]=null;[a105_0x1022c5(0x1a1)]=null;[a105_0x1022c5(0x1b3)]=createClassLogger(a105_0x1022c5(0x248));constructor(){}static[a105_0x1022c5(0x23a)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a105_0x1022c5(0x291)](_0x3e50fe){const _0x24dcf1=a105_0x1022c5,_0x547346={};_0x547346[_0x24dcf1(0x189)]=function(_0x4ca420,_0x580ba3){return _0x4ca420||_0x580ba3;};const _0x252631=_0x547346,{id:_0xe60235,listen:_0x48b27f}=_0x3e50fe;if(_0x252631[_0x24dcf1(0x189)](!_0xe60235,!_0x48b27f))throw new Error(_0x24dcf1(0x1fc)+_0xe60235+_0x24dcf1(0x221)+_0x48b27f);this[_0x24dcf1(0x155)]=_0xe60235,this[_0x24dcf1(0x241)]=_0x48b27f,process[_0x24dcf1(0x1c6)][_0x24dcf1(0x1db)]=this['binSessionId'],process[_0x24dcf1(0x1c6)][_0x24dcf1(0x281)]=this[_0x24dcf1(0x241)],this[_0x24dcf1(0x22c)](),this[_0x24dcf1(0x1b3)][_0x24dcf1(0x166)](_0x24dcf1(0x2c6)+this[_0x24dcf1(0x155)]+_0x24dcf1(0x247)+this['listenAddress']);}[a105_0x1022c5(0x22c)](){const _0x1e3db9=a105_0x1022c5,_0x485e79={};_0x485e79['RPuoz']='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0x405eb6=_0x485e79;let _0x340032=this['listenAddress'];!_0x340032&&(_0x340032=process[_0x1e3db9(0x1c6)][_0x1e3db9(0x281)]);!this['binSessionId']&&(this['binSessionId']=this[_0x1e3db9(0x155)]||process[_0x1e3db9(0x1c6)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x340032)throw new Error(_0x405eb6[_0x1e3db9(0x18e)]);const _0x3447ba={};_0x3447ba[_0x1e3db9(0x2d1)]=0x2710,this['channel']=new grpc[(_0x1e3db9(0x256))](_0x340032,grpc['credentials'][_0x1e3db9(0x218)](),_0x3447ba),this[_0x1e3db9(0x1a1)]=new services[(_0x1e3db9(0x186))](_0x340032,grpc[_0x1e3db9(0x239)][_0x1e3db9(0x218)]()),this[_0x1e3db9(0x1b3)][_0x1e3db9(0x166)](_0x1e3db9(0x2d5)+_0x340032);}[a105_0x1022c5(0x20d)](){const _0x3039e9=a105_0x1022c5,_0x306b53={};_0x306b53['Ymner']=function(_0x4dd0d9,_0x49a01c){return _0x4dd0d9+_0x49a01c;};const _0xdc5162=_0x306b53;return _0xdc5162[_0x3039e9(0x21f)](Date[_0x3039e9(0x20f)](),0x7530);}['getCallOptions'](){const _0x5d1af1=a105_0x1022c5;return{'deadline':this[_0x5d1af1(0x20d)]()};}async[a105_0x1022c5(0x199)](){const _0x382c85=a105_0x1022c5,_0x38b6b9={'FyifD':function(_0x479bce,_0x2bafd2){return _0x479bce!==_0x2bafd2;},'Sdpzf':'StartBinSession','HuxTq':function(_0x448e69,_0x47e758){return _0x448e69(_0x47e758);},'CURRX':_0x382c85(0x222),'VWxlA':function(_0x177fe,_0x21e061){return _0x177fe(_0x21e061);},'ZAgQI':'startBinSession:\x20Calling\x20startBinSession','omQuT':_0x382c85(0x204),'zQibi':'./browserstackCLI.js','CnRDL':function(_0x23834d,_0x38ac9){return _0x23834d instanceof _0x38ac9;},'QaEtP':_0x382c85(0x211),'UetcH':function(_0x36d5fb,_0x26e2ba){return _0x36d5fb||_0x26e2ba;}};PerformanceTester[_0x382c85(0x1e8)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x382c85(0x1b3)][_0x382c85(0x166)](_0x38b6b9[_0x382c85(0x2c7)]);try{!this[_0x382c85(0x1a1)]&&this[_0x382c85(0x1b3)][_0x382c85(0x166)](_0x38b6b9[_0x382c85(0x223)]);const _0x5cda07=CLIUtils['getSdkVersion'](),_0x7b33e=CLIUtils[_0x382c85(0x1c1)](),_0x4ed465=CLIUtils['getTestFrameworkDetail'](),_0x660bf1=_0x7b33e['name'],_0x3de8a7=_0x7b33e[_0x382c85(0x27f)],_0x1d28e5=_0x4ed465[_0x382c85(0x1c9)],_0x15c866=_0x4ed465[_0x382c85(0x27f)]?_0x4ed465[_0x382c85(0x27f)][_0x1d28e5]:'',_0x2c9629=new messages[(_0x382c85(0x1f0))]();_0x2c9629[_0x382c85(0x1f7)](this[_0x382c85(0x155)]),_0x2c9629['setSdkLanguage'](CLIUtils['getSdkLanguage']()),_0x2c9629[_0x382c85(0x206)](_0x5cda07),_0x2c9629['setPathProject'](process[_0x382c85(0x24c)]());const _0x2badc4=_0x2c9629['getEnvVarsMap']();Object[_0x382c85(0x2b8)](process['env'])[_0x382c85(0x296)](([_0xda5b25,_0x224911])=>{const _0x21b6c0=_0x382c85;_0x38b6b9[_0x21b6c0(0x18d)](_0x224911,undefined)&&_0x38b6b9['FyifD'](_0x224911,null)&&_0x2badc4[_0x21b6c0(0x292)](_0xda5b25,_0x224911);});const _0x1c4aff=_0x38b6b9[_0x382c85(0x280)](require,_0x38b6b9[_0x382c85(0x2a2)]),_0x2401bd=_0x1c4aff[_0x382c85(0x23a)]()[_0x382c85(0x19a)](),_0x31a7af=[];_0x2401bd&&_0x38b6b9[_0x382c85(0x1a5)](_0x2401bd,Map)&&_0x2401bd[_0x382c85(0x296)]((_0x59f5cf,_0x3ed208)=>{const _0x30cb7d=_0x382c85;_0x31a7af[_0x30cb7d(0x18b)](_0x30cb7d(0x2a1)+_0x3ed208+'='+_0x59f5cf,_0x3ed208+'='+_0x59f5cf);});const _0x3c796b=process[_0x382c85(0x1ea)]['slice'](0x2);_0x2c9629[_0x382c85(0x275)]([..._0x3c796b,..._0x31a7af]),_0x2c9629['setPathConfig'](_0x1c4aff['getInstance']()[_0x382c85(0x158)]()),this[_0x382c85(0x1b3)][_0x382c85(0x166)](_0x382c85(0x156)+JSON[_0x382c85(0x24d)](_0x3c796b)+_0x382c85(0x23c)+(_0x2401bd?JSON[_0x382c85(0x24d)]([..._0x2401bd]):_0x38b6b9['QaEtP'])),_0x2c9629[_0x382c85(0x20a)](CLIUtils[_0x382c85(0x181)]()),_0x2c9629[_0x382c85(0x1e6)](_0x1d28e5);const _0x24493=_0x2c9629['getFrameworkVersionsMap']();return _0x24493['set'](_0x660bf1,_0x38b6b9[_0x382c85(0x2af)](_0x3de8a7,'')),_0x24493['set'](_0x1d28e5,_0x38b6b9[_0x382c85(0x2af)](_0x15c866,'')),_0x2c9629[_0x382c85(0x24b)](_0x660bf1,_0x3de8a7),_0x2c9629[_0x382c85(0x24b)](_0x1d28e5,_0x15c866),_0x2c9629[_0x382c85(0x214)]([_0x1d28e5,_0x660bf1]),new Promise((_0x32a22e,_0xc98123)=>{const _0x2b7b2f=_0x382c85,_0x253020={'ilbyo':_0x38b6b9['Sdpzf'],'jxnBO':function(_0x135069,_0x1e7f7d){const _0xf4eec1=a105_0x4890;return _0x38b6b9[_0xf4eec1(0x280)](_0x135069,_0x1e7f7d);},'Haojg':_0x38b6b9[_0x2b7b2f(0x1b4)],'efHGf':function(_0x2c831d,_0x570042){return _0x38b6b9['VWxlA'](_0x2c831d,_0x570042);}};this['client'][_0x2b7b2f(0x199)](_0x2c9629,this[_0x2b7b2f(0x27a)](),(_0x2bda12,_0x2eec54)=>{const _0x9e1ce4=_0x2b7b2f;if(_0x2bda12){sdkErrorHandler['handle'](_0x253020[_0x9e1ce4(0x22a)],_0x2bda12,this['logger']),_0x253020[_0x9e1ce4(0x267)](_0xc98123,_0x2bda12),PerformanceTester[_0x9e1ce4(0x1fe)](PerformanceEvents[_0x9e1ce4(0x24a)],![],util[_0x9e1ce4(0x2c4)](_0x2bda12));return;}this[_0x9e1ce4(0x1b3)]['info'](_0x253020[_0x9e1ce4(0x1ab)]),PerformanceTester[_0x9e1ce4(0x1fe)](PerformanceEvents[_0x9e1ce4(0x24a)]),_0x253020[_0x9e1ce4(0x1a8)](_0x32a22e,_0x2eec54);});});}catch(_0x42e0e3){sdkErrorHandler[_0x382c85(0x29e)](_0x38b6b9[_0x382c85(0x2c9)],_0x42e0e3,this[_0x382c85(0x1b3)]),PerformanceTester[_0x382c85(0x1fe)](PerformanceEvents[_0x382c85(0x24a)],![],util['format'](_0x42e0e3));throw _0x42e0e3;}}async[a105_0x1022c5(0x1e1)](){const _0x11a0ac=a105_0x1022c5,_0x27b45a={'MqIld':function(_0x3412ea,_0x545b41){return _0x3412ea(_0x545b41);},'HtzMT':_0x11a0ac(0x1ce),'wiTAl':_0x11a0ac(0x278),'gbDTk':'No\x20gRPC\x20client\x20not\x20initialized.','xVCPq':'\x22userName\x22:\x22[REDACTED]\x22','LPGWy':_0x11a0ac(0x194),'UyBLX':_0x11a0ac(0x182),'kqidn':_0x11a0ac(0x23b)};PerformanceTester[_0x11a0ac(0x1e8)](PerformanceEvents[_0x11a0ac(0x160)]),this[_0x11a0ac(0x1b3)][_0x11a0ac(0x166)](_0x27b45a[_0x11a0ac(0x20c)]);try{!this[_0x11a0ac(0x1a1)]&&this['logger'][_0x11a0ac(0x166)](_0x27b45a[_0x11a0ac(0x1ec)]);const _0x12b661=new messages[(_0x11a0ac(0x259))]();_0x12b661[_0x11a0ac(0x1f7)](this[_0x11a0ac(0x155)]);const _0x50b2e8=await new Promise((_0x51807b,_0x599e54)=>{const _0x2182ec=_0x11a0ac,_0x323111={'kNkwm':function(_0x1b0c57,_0x199237){const _0x298f2c=a105_0x4890;return _0x27b45a[_0x298f2c(0x2ab)](_0x1b0c57,_0x199237);},'uuAuW':_0x27b45a['HtzMT']};this['client'][_0x2182ec(0x1e1)](_0x12b661,this[_0x2182ec(0x27a)](),(_0x35407f,_0x4c5269)=>{const _0x5d598e=_0x2182ec;if(_0x35407f){_0x323111[_0x5d598e(0x272)](_0x599e54,_0x35407f),PerformanceTester[_0x5d598e(0x1fe)](PerformanceEvents[_0x5d598e(0x160)],![],util[_0x5d598e(0x2c4)](_0x35407f));return;}this['logger'][_0x5d598e(0x166)](_0x323111[_0x5d598e(0x289)]),PerformanceTester[_0x5d598e(0x1fe)](PerformanceEvents[_0x5d598e(0x160)]),_0x323111[_0x5d598e(0x272)](_0x51807b,_0x4c5269);});}),_0x5e375f=util['format'](_0x50b2e8)['replace'](/"userName":"[^"]*"/g,_0x27b45a[_0x11a0ac(0x20b)])[_0x11a0ac(0x251)](/"accessKey":"[^"]*"/g,_0x27b45a['LPGWy'])[_0x11a0ac(0x251)](/"key":"[^"]*"/g,_0x27b45a['UyBLX']);return this[_0x11a0ac(0x1b3)]['debug'](_0x11a0ac(0x237)+_0x5e375f),_0x50b2e8;}catch(_0x117cbc){PerformanceTester[_0x11a0ac(0x1fe)](PerformanceEvents[_0x11a0ac(0x160)],![],util[_0x11a0ac(0x2c4)](_0x117cbc)),sdkErrorHandler[_0x11a0ac(0x29e)](_0x27b45a[_0x11a0ac(0x224)],_0x117cbc,this[_0x11a0ac(0x1b3)]);throw _0x117cbc;}}async[a105_0x1022c5(0x20e)](_0x42410c={},_0x303813=null){const _0x18a464=a105_0x1022c5,_0x393f7d={'lvdeS':function(_0xc64b26,_0x210e88){return _0xc64b26(_0x210e88);},'kUMDb':_0x18a464(0x19d),'lzDUw':'Stopping\x20bin\x20session','VygqT':_0x18a464(0x1d5),'eImYn':_0x18a464(0x204),'JgAIu':_0x18a464(0x167),'xeMCI':function(_0x2051af,_0x2d41e9){return _0x2051af===_0x2d41e9;},'ABAoF':_0x18a464(0x28c),'iBSNr':_0x18a464(0x166),'maESg':function(_0x418181,_0x278462){return _0x418181===_0x278462;},'uwatP':_0x18a464(0x287),'QEbnn':function(_0x1a9f4f,_0x4ca401){return _0x1a9f4f===_0x4ca401;},'XBIJu':_0x18a464(0x1a9),'fxBtL':function(_0x181c88,_0x4c3e09){return _0x181c88===_0x4c3e09;},'nHHbx':_0x18a464(0x29f),'NLfco':function(_0xc9ebf2,_0x4dbf68){return _0xc9ebf2+_0x4dbf68;},'zqUkU':function(_0x559ff9,_0x401db8){return _0x559ff9===_0x401db8;},'NdkrZ':'StopBinSession'};PerformanceTester[_0x18a464(0x1e8)](PerformanceEvents[_0x18a464(0x2d7)]),this['logger'][_0x18a464(0x166)](_0x393f7d[_0x18a464(0x1e2)]),this[_0x18a464(0x21e)]=![];try{if(!this[_0x18a464(0x155)])throw new Error(_0x393f7d['VygqT']);!this['client']&&this[_0x18a464(0x1b3)][_0x18a464(0x166)](_0x393f7d[_0x18a464(0x187)]);const _0x4a86fa=new messages['StopBinSessionRequest']();this[_0x18a464(0x1b3)][_0x18a464(0x28e)](_0x18a464(0x1b0)+JSON[_0x18a464(0x24d)](_0x303813)),_0x4a86fa['setBinSessionId'](this[_0x18a464(0x155)]),_0x4a86fa['setCustomMetadata'](_0x42410c),_0x4a86fa['setExitSignal'](_0x303813?_0x303813:null),_0x4a86fa[_0x18a464(0x284)](_0x303813?_0x393f7d[_0x18a464(0x175)]:null),_0x4a86fa[_0x18a464(0x1d3)](_0x303813?0x1:0x0);const _0x4a0be5=await new Promise((_0x1d5e6d,_0x570132)=>{const _0x2ddb81=_0x18a464,_0x2f4cf2={'DAxfG':function(_0x27b84f,_0x1861a5){const _0x229391=a105_0x4890;return _0x393f7d[_0x229391(0x190)](_0x27b84f,_0x1861a5);},'ECqkj':_0x393f7d[_0x2ddb81(0x2b1)]};this[_0x2ddb81(0x1a1)][_0x2ddb81(0x20e)](_0x4a86fa,this[_0x2ddb81(0x27a)](),(_0x388e19,_0x528ea9)=>{const _0x2e7e18=_0x2ddb81;if(_0x388e19){_0x2f4cf2[_0x2e7e18(0x288)](_0x570132,_0x388e19),PerformanceTester[_0x2e7e18(0x1fe)](PerformanceEvents[_0x2e7e18(0x2d7)],![],util[_0x2e7e18(0x2c4)](_0x388e19));return;}this[_0x2e7e18(0x1b3)][_0x2e7e18(0x166)](_0x2f4cf2[_0x2e7e18(0x1c4)]),PerformanceTester[_0x2e7e18(0x1fe)](PerformanceEvents[_0x2e7e18(0x2d7)]),_0x2f4cf2[_0x2e7e18(0x288)](_0x1d5e6d,_0x528ea9);});});this[_0x18a464(0x1b3)]['debug'](_0x18a464(0x1a7)+util[_0x18a464(0x2c4)](_0x4a0be5));try{const _0x346f40=_0x393f7d[_0x18a464(0x2bf)](typeof _0x4a0be5['getEntriesList'],_0x393f7d[_0x18a464(0x294)])?_0x4a0be5[_0x18a464(0x212)]():[];for(const _0x24bc14 of _0x346f40){const _0x41810a=_0x24bc14&&_0x393f7d[_0x18a464(0x2bf)](typeof _0x24bc14[_0x18a464(0x163)],_0x393f7d[_0x18a464(0x294)])?_0x24bc14['getBody']():'';if(!_0x41810a)continue;const _0x4288b2=(_0x24bc14['getSeverity']&&_0x24bc14[_0x18a464(0x1d9)]()||_0x393f7d[_0x18a464(0x217)])[_0x18a464(0x233)](),_0x73f2f=_0x393f7d[_0x18a464(0x1fd)](_0x4288b2,_0x393f7d[_0x18a464(0x25f)])||_0x393f7d['QEbnn'](_0x4288b2,_0x393f7d['XBIJu'])||_0x393f7d[_0x18a464(0x2b2)](_0x4288b2,_0x393f7d[_0x18a464(0x19e)]),_0x47244e=_0x73f2f?process[_0x18a464(0x1c7)]:process['stdout'];_0x47244e[_0x18a464(0x235)](_0x393f7d[_0x18a464(0x246)](_0x41810a,'\x0a'));const _0x5c7011=_0x393f7d[_0x18a464(0x1fd)](_0x4288b2,_0x393f7d[_0x18a464(0x19e)])?_0x393f7d[_0x18a464(0x19e)]:_0x73f2f?_0x393f7d[_0x18a464(0x25f)]:_0x393f7d[_0x18a464(0x217)];fileLogger[_0x5c7011](_0x41810a);}}catch(_0x280d0d){this[_0x18a464(0x1b3)][_0x18a464(0x28e)](_0x18a464(0x1b1)+(_0x280d0d[_0x18a464(0x21c)]||_0x280d0d));}return _0x4a0be5;}catch(_0x17f823){PerformanceTester['end'](PerformanceEvents[_0x18a464(0x2d7)],![],util[_0x18a464(0x2c4)](_0x17f823)),this[_0x18a464(0x21e)]=!!(_0x17f823&&_0x393f7d[_0x18a464(0x16e)](_0x17f823[_0x18a464(0x162)],grpc[_0x18a464(0x1cc)][_0x18a464(0x293)])),sdkErrorHandler['handle'](_0x393f7d[_0x18a464(0x29a)],_0x17f823,this[_0x18a464(0x1b3)]);}}async[a105_0x1022c5(0x295)](_0x2293fc){const _0x30c9a9=a105_0x1022c5,_0x4bfa5b={'ZHLxv':_0x30c9a9(0x2a3),'KGGvb':function(_0x38bf8f,_0x56cf90){return _0x38bf8f(_0x56cf90);},'glfDW':_0x30c9a9(0x168),'fCYmK':_0x30c9a9(0x230),'YCImD':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x30c9a9(0x1e8)](PerformanceEvents[_0x30c9a9(0x197)]),this[_0x30c9a9(0x1b3)]['info'](_0x4bfa5b[_0x30c9a9(0x1b2)]);try{!this[_0x30c9a9(0x1a1)]&&this[_0x30c9a9(0x1b3)][_0x30c9a9(0x166)](_0x4bfa5b[_0x30c9a9(0x2d0)]);const _0x416e0f=new messages[(_0x30c9a9(0x245))]();return _0x416e0f[_0x30c9a9(0x1f7)](this[_0x30c9a9(0x155)]),_0x416e0f[_0x30c9a9(0x262)](JSON['stringify'](_0x2293fc)),new Promise((_0x3b602c,_0x594aa4)=>{const _0x510df4=_0x30c9a9,_0x184a5a={'LxLcQ':_0x4bfa5b[_0x510df4(0x250)],'JWWVE':function(_0x20b37a,_0x171036){return _0x4bfa5b['KGGvb'](_0x20b37a,_0x171036);},'KnHFX':_0x4bfa5b['glfDW']};this['client'][_0x510df4(0x2b3)](_0x416e0f,this[_0x510df4(0x27a)](),(_0x2d618c,_0x4b9af8)=>{const _0x4feffe=_0x510df4;if(_0x2d618c){sdkErrorHandler[_0x4feffe(0x29e)](_0x184a5a[_0x4feffe(0x243)],_0x2d618c,this[_0x4feffe(0x1b3)]),_0x184a5a[_0x4feffe(0x271)](_0x594aa4,_0x2d618c),PerformanceTester[_0x4feffe(0x1fe)](PerformanceEvents[_0x4feffe(0x197)],![],util['format'](_0x2d618c));return;}this[_0x4feffe(0x1b3)][_0x4feffe(0x166)](_0x184a5a[_0x4feffe(0x269)]),PerformanceTester['end'](PerformanceEvents[_0x4feffe(0x197)]),_0x184a5a[_0x4feffe(0x271)](_0x3b602c,_0x4b9af8);});});}catch(_0x1febf6){PerformanceTester[_0x30c9a9(0x1fe)](PerformanceEvents[_0x30c9a9(0x197)],![],util[_0x30c9a9(0x2c4)](_0x1febf6)),sdkErrorHandler[_0x30c9a9(0x29e)](_0x4bfa5b['ZHLxv'],_0x1febf6,this['logger']);throw _0x1febf6;}}async['getDetoxConfig'](){const _0x337bcf=a105_0x1022c5,_0x7a96fd={'KxnCW':'DetoxConfig','fMQKk':function(_0x5a702d,_0x22bce9){return _0x5a702d(_0x22bce9);},'BjFqP':_0x337bcf(0x2b5),'PcybE':_0x337bcf(0x179),'GkNmv':function(_0x2b2d89,_0x149291){return _0x2b2d89(_0x149291);},'ysSBE':_0x337bcf(0x242)};this[_0x337bcf(0x1b3)][_0x337bcf(0x166)](_0x7a96fd[_0x337bcf(0x2cd)]);const _0x42b5e6=new messages[(_0x337bcf(0x1d8))]();return _0x42b5e6['setBinSessionId'](this[_0x337bcf(0x155)]),new Promise((_0x1b4d1f,_0x5b5972)=>{const _0x1cce6a=_0x337bcf,_0x14e16e={'IBEAB':_0x7a96fd[_0x1cce6a(0x191)],'SVxJs':function(_0x21c6d1,_0x1169c9){return _0x7a96fd['fMQKk'](_0x21c6d1,_0x1169c9);},'LEOGI':_0x7a96fd[_0x1cce6a(0x28a)],'uiZzN':_0x7a96fd[_0x1cce6a(0x1d0)],'aCaXO':function(_0x36db35,_0xd41253){const _0x5b9847=_0x1cce6a;return _0x7a96fd[_0x5b9847(0x1bc)](_0x36db35,_0xd41253);}};this[_0x1cce6a(0x1a1)][_0x1cce6a(0x2a7)](_0x42b5e6,this[_0x1cce6a(0x27a)](),(_0x7771a7,_0x4745b0)=>{const _0x3e13c9=_0x1cce6a;if(_0x7771a7){sdkErrorHandler[_0x3e13c9(0x29e)](_0x14e16e[_0x3e13c9(0x19c)],_0x7771a7,this[_0x3e13c9(0x1b3)]),_0x14e16e[_0x3e13c9(0x1be)](_0x5b5972,_0x7771a7);return;}try{if(!_0x4745b0['getSuccess']()){_0x14e16e[_0x3e13c9(0x1be)](_0x5b5972,new Error(_0x4745b0[_0x3e13c9(0x1b9)]&&_0x4745b0[_0x3e13c9(0x1b9)]()?_0x4745b0[_0x3e13c9(0x1b9)]():_0x14e16e[_0x3e13c9(0x16f)]));return;}this[_0x3e13c9(0x1b3)][_0x3e13c9(0x166)](_0x14e16e[_0x3e13c9(0x195)]);const _0x31260a=JSON[_0x3e13c9(0x1e9)](_0x4745b0['getConfig']());_0x4745b0['hasLocalBound']&&_0x4745b0[_0x3e13c9(0x2ad)]()&&(_0x31260a['localBound']=_0x4745b0[_0x3e13c9(0x209)]()),_0x14e16e[_0x3e13c9(0x232)](_0x1b4d1f,_0x31260a);}catch(_0x5ac910){_0x14e16e[_0x3e13c9(0x1be)](_0x5b5972,_0x5ac910);}});});}async['detoxMarkSessions'](_0x5f29f0){const _0x95ab1e=a105_0x1022c5,_0x22a4e9={'ivcdV':_0x95ab1e(0x180),'yvFLB':function(_0x3d621e,_0x2f4b84){return _0x3d621e(_0x2f4b84);},'tIdql':function(_0x28352a,_0x371a18){return _0x28352a(_0x371a18);},'awXaR':function(_0x43dfef,_0x45587e){return _0x43dfef(_0x45587e);}},_0x1688b7=new messages[(_0x95ab1e(0x1bf))]();return _0x1688b7[_0x95ab1e(0x1f7)](this[_0x95ab1e(0x155)]),_0x1688b7[_0x95ab1e(0x1cf)](JSON['stringify'](_0x5f29f0||[])),new Promise((_0x4ec5cc,_0x521468)=>{const _0x482d0e=_0x95ab1e;this[_0x482d0e(0x1a1)][_0x482d0e(0x2d3)](_0x1688b7,this[_0x482d0e(0x27a)](),(_0x555f2f,_0x533722)=>{const _0x5cfdc6=_0x482d0e;if(_0x555f2f){sdkErrorHandler[_0x5cfdc6(0x29e)](_0x22a4e9[_0x5cfdc6(0x17f)],_0x555f2f,this[_0x5cfdc6(0x1b3)]),_0x22a4e9[_0x5cfdc6(0x1a4)](_0x521468,_0x555f2f);return;}_0x22a4e9['tIdql'](_0x4ec5cc,_0x22a4e9[_0x5cfdc6(0x27e)](Boolean,_0x533722['getSuccess']()));});});}async[a105_0x1022c5(0x1c8)](_0x463855){const _0x195dc9=a105_0x1022c5,_0x163453={'tvnsS':'AccessibilityConfig','Orkpj':function(_0x58dd43,_0x726f1a){return _0x58dd43(_0x726f1a);},'LQntQ':'AccessibilityConfig\x20request\x20successful','NTffC':function(_0x5e52bc,_0x578e2e){return _0x5e52bc||_0x578e2e;},'JYjWs':_0x195dc9(0x157),'Bthns':_0x195dc9(0x205)},_0x2a31cd=_0x463855[_0x195dc9(0x2cf)]?.[_0x195dc9(0x25b)]||_0x463855['testInfo']?.['id'];this['logger']['info'](_0x195dc9(0x1ad)+_0x163453['NTffC'](_0x2a31cd,_0x163453['JYjWs']));try{const _0x4fc04e=Buffer['from'](JSON[_0x195dc9(0x24d)](_0x463855[_0x195dc9(0x285)]),_0x163453[_0x195dc9(0x183)]),_0x48a51e=new messages[(_0x195dc9(0x192))](),_0x571648=CLIUtils[_0x195dc9(0x1c1)](),_0xd31a52=_0x571648[_0x195dc9(0x1c9)],_0x398c30=_0x571648[_0x195dc9(0x27f)];_0x48a51e[_0x195dc9(0x1f7)](this['binSessionId']),_0x48a51e[_0x195dc9(0x171)](0x0),_0x48a51e[_0x195dc9(0x1e0)](_0xd31a52),_0x48a51e[_0x195dc9(0x25e)](_0x398c30),_0x48a51e[_0x195dc9(0x1ff)](_0x463855[_0x195dc9(0x1bd)]),_0x48a51e[_0x195dc9(0x277)](_0x4fc04e);if(_0x463855['testInfo']?.[_0x195dc9(0x25b)]||_0x463855[_0x195dc9(0x2cf)]?.['id']){const _0x37d78b=_0x463855[_0x195dc9(0x2cf)][_0x195dc9(0x25b)]||_0x463855[_0x195dc9(0x2cf)]['id'];_0x48a51e[_0x195dc9(0x265)](_0x37d78b),this[_0x195dc9(0x1b3)]['debug'](_0x195dc9(0x1fb)+_0x37d78b+_0x195dc9(0x1b8));}return new Promise((_0x28af23,_0x5bb2ba)=>{const _0x95a07=_0x195dc9,_0x584d56={'PQzNw':_0x163453[_0x95a07(0x28f)],'MOCrX':function(_0x2e32a4,_0x54fd91){const _0x32d0c5=_0x95a07;return _0x163453[_0x32d0c5(0x257)](_0x2e32a4,_0x54fd91);},'faJEH':_0x163453[_0x95a07(0x29d)]};this[_0x95a07(0x1a1)][_0x95a07(0x1e7)](_0x48a51e,this['getCallOptions'](),(_0x1631c1,_0x400829)=>{const _0x903245=_0x95a07;if(_0x1631c1){sdkErrorHandler[_0x903245(0x29e)](_0x584d56[_0x903245(0x1ae)],_0x1631c1,this[_0x903245(0x1b3)]),_0x584d56[_0x903245(0x1b5)](_0x5bb2ba,_0x1631c1);return;}this['logger']['info'](_0x584d56['faJEH']),_0x584d56['MOCrX'](_0x28af23,_0x400829);});});}catch(_0x23ae20){sdkErrorHandler[_0x195dc9(0x29e)](_0x163453[_0x195dc9(0x28f)],_0x23ae20,this[_0x195dc9(0x1b3)]);}}async[a105_0x1022c5(0x184)](_0x3f9248,_0xbdb0fd=null,_0xa4fbc2=null){const _0x4e8854=a105_0x1022c5,_0x2bbd52={'kafUH':'TestOrchestration','kYerv':function(_0x1d6b09,_0x546c2a){return _0x1d6b09(_0x546c2a);},'SOiIS':function(_0x53a6d5,_0x2778e9){return _0x53a6d5(_0x2778e9);}};try{const _0x483de4=new messages[(_0x4e8854(0x252))]();return _0x483de4[_0x4e8854(0x1f7)](this[_0x4e8854(0x155)]),_0x483de4[_0x4e8854(0x266)](_0x3f9248||[]),_0xbdb0fd&&_0x483de4[_0x4e8854(0x1d6)](_0xbdb0fd),_0xa4fbc2&&_0x483de4[_0x4e8854(0x2a4)](_0xa4fbc2),new Promise((_0x362e81,_0x130321)=>{const _0x206c69=_0x4e8854;this['client'][_0x206c69(0x184)](_0x483de4,(_0x473894,_0x36ac06)=>{const _0x14ddf3=_0x206c69;if(_0x473894){sdkErrorHandler[_0x14ddf3(0x29e)](_0x2bbd52['kafUH'],_0x473894,this[_0x14ddf3(0x1b3)]),_0x2bbd52[_0x14ddf3(0x264)](_0x130321,_0x473894);return;}this['logger'][_0x14ddf3(0x28e)](_0x14ddf3(0x1b7)+util[_0x14ddf3(0x2c4)](_0x36ac06));if(_0x36ac06[_0x14ddf3(0x1c5)]()){const _0x2f896b=_0x36ac06['getOrderedTestFilesList']();_0x2bbd52[_0x14ddf3(0x297)](_0x362e81,_0x2f896b);}else _0x2bbd52[_0x14ddf3(0x264)](_0x362e81,null);});});}catch(_0x555fed){return sdkErrorHandler[_0x4e8854(0x29e)](_0x2bbd52[_0x4e8854(0x23e)],_0x555fed,this[_0x4e8854(0x1b3)]),null;}}async['accessibilityResult'](_0x29ac28,_0x49707c,_0x2f9134,_0x55ecb1,_0x4469f3){const _0x961e0d=a105_0x1022c5,_0x5a02b5={'uXgTf':function(_0x11fe45,_0x399ed2){return _0x11fe45(_0x399ed2);},'BGIEI':_0x961e0d(0x21d)};this['logger'][_0x961e0d(0x166)](_0x961e0d(0x210)+_0x55ecb1+_0x961e0d(0x203)+_0x49707c);try{const _0x215742=new messages[(_0x961e0d(0x1e4))]();return _0x215742[_0x961e0d(0x1f7)](_0x29ac28),_0x215742['setTestRunId'](_0x49707c),_0x215742[_0x961e0d(0x228)](_0x2f9134),_0x215742[_0x961e0d(0x2c5)](_0x55ecb1),_0x4469f3&&_0x215742[_0x961e0d(0x265)](_0x4469f3),new Promise((_0x59db83,_0x2b468a)=>{const _0xdcc2e9=_0x961e0d;this['client'][_0xdcc2e9(0x25c)](_0x215742,(_0x12ebfb,_0x393201)=>{const _0x28a164=_0xdcc2e9;if(_0x12ebfb){this['logger'][_0x28a164(0x29f)](_0x28a164(0x1f4)+_0x12ebfb['message']),_0x5a02b5[_0x28a164(0x176)](_0x2b468a,_0x12ebfb);return;}this[_0x28a164(0x1b3)][_0x28a164(0x166)](_0x5a02b5[_0x28a164(0x2ac)]),_0x5a02b5[_0x28a164(0x176)](_0x59db83,_0x393201);});});}catch(_0x149c8c){this[_0x961e0d(0x1b3)][_0x961e0d(0x29f)](_0x961e0d(0x18a)+util['format'](_0x149c8c));throw _0x149c8c;}}async[a105_0x1022c5(0x258)](_0x1bc905){const _0x4eb438=a105_0x1022c5,_0x1e9517={'JXSme':_0x4eb438(0x159),'nElLH':_0x4eb438(0x28e),'tHVUN':function(_0x1bf9c3,_0x40be6b){return _0x1bf9c3(_0x40be6b);},'CrNfY':_0x4eb438(0x28d),'VMzCJ':_0x4eb438(0x1c2),'ilMkU':_0x4eb438(0x204)};this[_0x4eb438(0x1b3)][_0x4eb438(0x166)](_0x1e9517[_0x4eb438(0x17d)]);try{!this['client']&&this[_0x4eb438(0x1b3)][_0x4eb438(0x166)](_0x1e9517[_0x4eb438(0x219)]);const {platformIndex:_0x787bf3,testFrameworkName:_0x163cb1,testFrameworkVersion:_0x42bd7f,testFrameworkState:_0x391e1f,testHookState:_0x520312,testUuid:_0x5bd4f4,automationSession:_0x300c1a,capabilities:_0x4f90a7,executionContext:_0x27c184,test_identifier:_0x401fa6}=_0x1bc905,_0x195d20=new messages[(_0x4eb438(0x2a5))]();_0x195d20[_0x4eb438(0x1f7)](this[_0x4eb438(0x155)]),_0x195d20[_0x4eb438(0x171)](_0x787bf3),_0x195d20[_0x4eb438(0x173)](_0x163cb1),_0x195d20[_0x4eb438(0x22f)](_0x42bd7f),_0x195d20[_0x4eb438(0x26a)](_0x391e1f),_0x195d20[_0x4eb438(0x2b4)](_0x520312),_0x195d20[_0x4eb438(0x15b)](_0x5bd4f4);const _0x4bf632=new messages[(_0x4eb438(0x2a5))]['AutomationSession']();_0x4bf632[_0x4eb438(0x1d2)](_0x300c1a['provider']),_0x4bf632[_0x4eb438(0x1e0)](_0x300c1a[_0x4eb438(0x208)]),_0x4bf632[_0x4eb438(0x25e)](_0x300c1a[_0x4eb438(0x2a9)]),_0x4bf632[_0x4eb438(0x178)](_0x300c1a[_0x4eb438(0x23d)]),_0x4bf632[_0x4eb438(0x279)](_0x300c1a[_0x4eb438(0x229)]),_0x4bf632[_0x4eb438(0x1cd)](_0x300c1a[_0x4eb438(0x1d1)]),_0x4bf632[_0x4eb438(0x1ff)](_0x300c1a['hubUrl']),_0x195d20[_0x4eb438(0x1cb)](_0x4bf632),_0x195d20['setCapabilities'](_0x4f90a7);const _0x20dc23=new messages[(_0x4eb438(0x29c))]();return _0x20dc23[_0x4eb438(0x21b)](_0x27c184[_0x4eb438(0x200)]),_0x20dc23['setThreadId'](_0x27c184[_0x4eb438(0x177)]),_0x20dc23[_0x4eb438(0x15c)](_0x27c184[_0x4eb438(0x260)]),_0x195d20[_0x4eb438(0x1a0)](_0x20dc23),_0x401fa6&&_0x195d20[_0x4eb438(0x265)](_0x401fa6),new Promise((_0x4a9e55,_0x23c113)=>{const _0x58f6f7=_0x4eb438;this['client'][_0x58f6f7(0x258)](_0x195d20,this['getCallOptions'](),(_0x49aad9,_0x360b1b)=>{const _0x2862c6=_0x58f6f7;if(_0x49aad9){sdkErrorHandler[_0x2862c6(0x29e)](_0x1e9517[_0x2862c6(0x28b)],_0x49aad9,this[_0x2862c6(0x1b3)],_0x1e9517[_0x2862c6(0x26d)]),_0x1e9517[_0x2862c6(0x2b9)](_0x23c113,_0x49aad9);return;}this['logger']['info'](_0x1e9517[_0x2862c6(0x255)]),_0x1e9517[_0x2862c6(0x2b9)](_0x4a9e55,_0x360b1b);});});}catch(_0xe492f9){sdkErrorHandler[_0x4eb438(0x29e)](_0x1e9517[_0x4eb438(0x28b)],_0xe492f9,this['logger'],_0x1e9517[_0x4eb438(0x26d)]);throw _0xe492f9;}}async[a105_0x1022c5(0x276)](_0x317f69){const _0x47f58a=a105_0x1022c5,_0x1cb885={'cCdMU':_0x47f58a(0x213),'woiTa':_0x47f58a(0x28e),'QCuzE':function(_0x1a77b3,_0x2609c2){return _0x1a77b3(_0x2609c2);},'KdbLW':_0x47f58a(0x1aa),'eUgUz':function(_0x115b45,_0x236f2a){return _0x115b45(_0x236f2a);},'fJfOU':_0x47f58a(0x15e),'IEyTf':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x47f58a(0x1b3)][_0x47f58a(0x166)](_0x1cb885[_0x47f58a(0x2a8)]);try{!this[_0x47f58a(0x1a1)]&&this[_0x47f58a(0x1b3)][_0x47f58a(0x166)](_0x1cb885[_0x47f58a(0x2c3)]);const {platformIndex:_0x3ee48d,testFrameworkName:_0x3a6c47,testFrameworkVersion:_0x1ffe5a,testFrameworkState:_0x561f39,hookState:_0x1ff2d2,startedAt:_0x2a6b9f,endedAt:_0x14f0fa,uuid:_0x286064,eventJson:_0x39364d,executionContext:_0x5328b9,test_identifier:_0x44dbee}=_0x317f69,_0x21d648=new messages['TestFrameworkEventRequest']();_0x21d648['setBinSessionId'](this[_0x47f58a(0x155)]),_0x21d648[_0x47f58a(0x171)](_0x3ee48d),_0x21d648[_0x47f58a(0x173)](_0x3a6c47),_0x21d648[_0x47f58a(0x22f)](_0x1ffe5a),_0x21d648[_0x47f58a(0x26a)](_0x561f39),_0x21d648[_0x47f58a(0x2b4)](_0x1ff2d2),_0x21d648[_0x47f58a(0x2c2)](_0x2a6b9f),_0x21d648[_0x47f58a(0x2c0)](_0x14f0fa),_0x21d648['setUuid'](_0x286064),_0x21d648['setEventJson'](_0x39364d);const _0x36971b=new messages['ExecutionContext']();return _0x36971b[_0x47f58a(0x21b)](_0x5328b9[_0x47f58a(0x200)]),_0x36971b[_0x47f58a(0x2bd)](_0x5328b9[_0x47f58a(0x177)]),_0x36971b[_0x47f58a(0x15c)](_0x5328b9[_0x47f58a(0x260)]),_0x21d648['setExecutionContext'](_0x36971b),_0x44dbee&&_0x21d648[_0x47f58a(0x265)](_0x44dbee),new Promise((_0x550df9,_0xcba243)=>{const _0x1d076a=_0x47f58a;this[_0x1d076a(0x1a1)][_0x1d076a(0x276)](_0x21d648,this[_0x1d076a(0x27a)](),(_0x4df5c6,_0x1e9d38)=>{const _0x4a10d1=_0x1d076a;if(_0x4df5c6){sdkErrorHandler['handle'](_0x1cb885[_0x4a10d1(0x172)],_0x4df5c6,this['logger'],_0x1cb885[_0x4a10d1(0x220)]),_0x1cb885[_0x4a10d1(0x18c)](_0xcba243,_0x4df5c6);return;}this['logger'][_0x4a10d1(0x166)](_0x1cb885['KdbLW']),_0x1cb885['eUgUz'](_0x550df9,_0x1e9d38);});});}catch(_0x5d544b){sdkErrorHandler[_0x47f58a(0x29e)](_0x1cb885[_0x47f58a(0x172)],_0x5d544b,this['logger'],_0x1cb885[_0x47f58a(0x220)]);throw _0x5d544b;}}async[a105_0x1022c5(0x2a6)](_0x329b4a){const _0xfa0f31=a105_0x1022c5,_0x4459d0={'DZTPS':'DriverInit','KNntl':function(_0x2270db,_0x45a831){return _0x2270db(_0x45a831);},'OAhNz':'DriverInit\x20request\x20successful','IYYXF':_0xfa0f31(0x249),'RpLlg':_0xfa0f31(0x204)};this[_0xfa0f31(0x1b3)]['info'](_0x4459d0[_0xfa0f31(0x1ac)]);try{!this[_0xfa0f31(0x1a1)]&&this[_0xfa0f31(0x1b3)]['info'](_0x4459d0[_0xfa0f31(0x2d4)]);const {platformIndex:_0x4b0751,ref:_0x29474d,userInputParams:_0xd90ee9,hubUrl:_0x22aead}=_0x329b4a,_0x12c507=new messages[(_0xfa0f31(0x1ca))]();return _0x12c507[_0xfa0f31(0x1f7)](this[_0xfa0f31(0x155)]),_0x12c507[_0xfa0f31(0x171)](_0x4b0751),_0x12c507[_0xfa0f31(0x1cd)](_0x29474d),_0x12c507[_0xfa0f31(0x18f)](_0xd90ee9),_0x12c507[_0xfa0f31(0x1ff)](_0x22aead),new Promise((_0x46c310,_0xfd8fb0)=>{const _0x5a1d60=_0xfa0f31,_0x4dcd7e={'COVpP':_0x4459d0[_0x5a1d60(0x226)],'wuZJy':function(_0x195a59,_0x3b8b50){const _0x57e20b=_0x5a1d60;return _0x4459d0[_0x57e20b(0x2bb)](_0x195a59,_0x3b8b50);},'jOisD':_0x4459d0['OAhNz'],'mDmkE':function(_0x3ef059,_0xc9b55e){const _0x5cdb2f=_0x5a1d60;return _0x4459d0[_0x5cdb2f(0x2bb)](_0x3ef059,_0xc9b55e);}};this[_0x5a1d60(0x1a1)][_0x5a1d60(0x2a6)](_0x12c507,this[_0x5a1d60(0x27a)](),(_0x421017,_0xe1be5)=>{const _0x122bf3=_0x5a1d60;if(_0x421017){sdkErrorHandler[_0x122bf3(0x29e)](_0x4dcd7e[_0x122bf3(0x2a0)],_0x421017,this[_0x122bf3(0x1b3)]),_0x4dcd7e[_0x122bf3(0x1e3)](_0xfd8fb0,_0x421017);return;}this[_0x122bf3(0x1b3)]['info'](_0x4dcd7e['jOisD']),_0x4dcd7e[_0x122bf3(0x1ed)](_0x46c310,_0xe1be5);});});}catch(_0x395551){sdkErrorHandler[_0xfa0f31(0x29e)](_0x4459d0[_0xfa0f31(0x226)],_0x395551,this[_0xfa0f31(0x1b3)]);throw _0x395551;}}async['logCreatedEvent'](_0x21640f){const _0x51c693=a105_0x1022c5,_0x107bcc={'UKBli':function(_0x994d5f,_0x409da2){return _0x994d5f===_0x409da2;},'XjdVh':'pending-resolution-from-test-identifier','wUaNb':'number','kfbfP':function(_0x2acf72,_0x57f02e){return _0x2acf72>=_0x57f02e;},'xOrxI':_0x51c693(0x227),'yktbC':_0x51c693(0x28e),'bsTbc':function(_0x13cca9,_0x34db8b){return _0x13cca9(_0x34db8b);},'Fpngj':_0x51c693(0x185),'SpZEl':_0x51c693(0x282),'SxYZz':_0x51c693(0x204)};this[_0x51c693(0x1b3)]['info'](_0x107bcc[_0x51c693(0x1ee)]);try{!this[_0x51c693(0x1a1)]&&this[_0x51c693(0x1b3)]['info'](_0x107bcc[_0x51c693(0x2d2)]);const {platformIndex:_0x5c90b6,logs:_0x1f517a}=_0x21640f,_0x220c45=new messages[(_0x51c693(0x1de))]();_0x220c45['setBinSessionId'](this[_0x51c693(0x155)]),_0x220c45[_0x51c693(0x171)](_0x5c90b6);const _0x254c40=_0x21640f[_0x51c693(0x170)],_0x4b1bf8=_0x21640f[_0x51c693(0x16c)],_0x48ce94=_0x21640f[_0x51c693(0x216)];return _0x1f517a[_0x51c693(0x296)](_0x544b87=>{const _0x344cf2=_0x51c693,_0x56ab4d=new messages[(_0x344cf2(0x1de))][(_0x344cf2(0x236))]();_0x56ab4d[_0x344cf2(0x173)](_0x254c40),_0x56ab4d[_0x344cf2(0x22f)](_0x4b1bf8),_0x56ab4d[_0x344cf2(0x26a)](_0x48ce94),_0x56ab4d['setTimestamp'](_0x544b87[_0x344cf2(0x169)]);if(_0x107bcc[_0x344cf2(0x174)](_0x544b87[_0x344cf2(0x198)],PLAYWRIGHT_TRACE_LOGS))_0x56ab4d[_0x344cf2(0x16b)](_0x544b87['test_run_uuid']),_0x56ab4d[_0x344cf2(0x25d)](new TextEncoder()[_0x344cf2(0x1d7)](JSON[_0x344cf2(0x24d)](_0x544b87)));else{if(_0x544b87[_0x344cf2(0x17c)])_0x56ab4d['setUuid'](_0x107bcc[_0x344cf2(0x1dd)]);else{if(_0x544b87[_0x344cf2(0x154)])_0x56ab4d[_0x344cf2(0x16b)](_0x544b87[_0x344cf2(0x154)]);else _0x544b87[_0x344cf2(0x1e5)]&&_0x56ab4d['setUuid'](_0x544b87['uuid']);}_0x56ab4d[_0x344cf2(0x25d)](new TextEncoder()[_0x344cf2(0x1d7)](_0x544b87[_0x344cf2(0x27b)]));}_0x56ab4d[_0x344cf2(0x22b)](_0x544b87[_0x344cf2(0x201)]),_0x56ab4d[_0x344cf2(0x1f8)](_0x544b87[_0x344cf2(0x1eb)]),_0x56ab4d['setFileName'](_0x544b87?.[_0x344cf2(0x1ba)]||''),_0x56ab4d[_0x344cf2(0x1dc)](_0x544b87?.[_0x344cf2(0x2cb)]||''),_0x56ab4d['setFileSize'](_0x544b87?.[_0x344cf2(0x2be)]||0x0),_0x56ab4d[_0x344cf2(0x2b7)](_0x544b87?.['attachment_type']||''),_0x544b87[_0x344cf2(0x17c)]&&_0x56ab4d[_0x344cf2(0x265)](_0x544b87['test_identifier']),_0x107bcc[_0x344cf2(0x174)](typeof _0x544b87[_0x344cf2(0x19f)],_0x107bcc[_0x344cf2(0x25a)])&&Number[_0x344cf2(0x196)](_0x544b87[_0x344cf2(0x19f)])&&_0x107bcc[_0x344cf2(0x254)](_0x544b87[_0x344cf2(0x19f)],0x0)&&_0x56ab4d['setDuration'](Math[_0x344cf2(0x274)](_0x544b87[_0x344cf2(0x19f)])),_0x220c45['addLogs'](_0x56ab4d);}),new Promise((_0x43b282,_0x3bd247)=>{const _0x233700=_0x51c693;this[_0x233700(0x1a1)][_0x233700(0x1f1)](_0x220c45,this['getCallOptions'](),(_0x101735,_0x37d0b9)=>{const _0x439a49=_0x233700;if(_0x101735){sdkErrorHandler[_0x439a49(0x29e)](_0x107bcc[_0x439a49(0x1b6)],_0x101735,this[_0x439a49(0x1b3)],_0x107bcc[_0x439a49(0x231)]),_0x107bcc[_0x439a49(0x2aa)](_0x3bd247,_0x101735);return;}this['logger']['info'](_0x107bcc['Fpngj']),_0x107bcc[_0x439a49(0x2aa)](_0x43b282,_0x37d0b9);});});}catch(_0x2c117e){sdkErrorHandler[_0x51c693(0x29e)](_0x107bcc[_0x51c693(0x1b6)],_0x2c117e,this['logger'],_0x107bcc[_0x51c693(0x231)]);throw _0x2c117e;}}async[a105_0x1022c5(0x1c0)](_0x127959,_0x413122,_0x5c7e94,_0x24252e=null){const _0x185a8d=a105_0x1022c5,_0x3a371b={'wMUzB':'FetchDriverExecuteParamsEvent','PhSvY':_0x185a8d(0x28e),'BrQWI':function(_0x4a30c2,_0x3b89bb){return _0x4a30c2(_0x3b89bb);},'YaQnR':function(_0x34d625,_0x357802){return _0x34d625(_0x357802);},'pCGJo':function(_0xf52002,_0x331501){return _0xf52002||_0x331501;},'zNeEk':_0x185a8d(0x157),'ZREvP':_0x185a8d(0x15a)};this[_0x185a8d(0x1b3)][_0x185a8d(0x28e)]('FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId='+_0x127959+_0x185a8d(0x270)+_0x413122+_0x185a8d(0x286)+_0x5c7e94+_0x185a8d(0x17b)+_0x3a371b[_0x185a8d(0x2bc)](_0x24252e,_0x3a371b[_0x185a8d(0x29b)]));try{if(!this[_0x185a8d(0x1a1)])return this['logger'][_0x185a8d(0x28e)](_0x3a371b[_0x185a8d(0x234)]),null;const _0x1ac594=new messages['FetchDriverExecuteParamsEventRequest']();return _0x1ac594[_0x185a8d(0x1f7)](_0x127959),_0x1ac594[_0x185a8d(0x279)](_0x413122),_0x1ac594['setScriptName'](_0x5c7e94),_0x24252e&&(_0x1ac594[_0x185a8d(0x265)](_0x24252e),this['logger'][_0x185a8d(0x28e)]('fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier='+_0x24252e+_0x185a8d(0x24e)+_0x413122+',\x20scriptName='+_0x5c7e94)),await new Promise(_0x442b73=>{this['client']['fetchDriverExecuteParamsEvent'](_0x1ac594,this['getCallOptions'](),(_0x4041be,_0x2ddf30)=>{const _0xc41ccd=a105_0x4890;if(_0x4041be){sdkErrorHandler[_0xc41ccd(0x29e)](_0x3a371b['wMUzB'],_0x4041be,this[_0xc41ccd(0x1b3)],_0x3a371b[_0xc41ccd(0x1da)]),_0x3a371b['BrQWI'](_0x442b73,null);return;}this[_0xc41ccd(0x1b3)]['debug'](_0xc41ccd(0x23f)+(_0x2ddf30[_0xc41ccd(0x1c5)]&&_0x2ddf30[_0xc41ccd(0x1c5)]())),_0x3a371b[_0xc41ccd(0x1a6)](_0x442b73,_0x2ddf30);});});}catch(_0x4343b3){return sdkErrorHandler[_0x185a8d(0x29e)](_0x3a371b['wMUzB'],_0x4343b3,this[_0x185a8d(0x1b3)],_0x3a371b[_0x185a8d(0x1da)]),null;}}async[a105_0x1022c5(0x22d)](_0x1aaa8d){const _0x404002=a105_0x1022c5,_0xc2c55d={'ArTuw':function(_0x32f27b,_0x3ab1eb){return _0x32f27b(_0x3ab1eb);},'yEoAc':_0x404002(0x1bb),'iOOuE':_0x404002(0x15a),'gVbVU':'ReportClientTroubleshootingError','tJEXY':_0x404002(0x28e)};this[_0x404002(0x1b3)][_0x404002(0x28e)](_0x404002(0x261)+_0x1aaa8d);try{if(!this[_0x404002(0x1a1)])return this[_0x404002(0x1b3)][_0x404002(0x28e)](_0xc2c55d[_0x404002(0x1c3)]),null;const _0x124dbc=new messages[(_0x404002(0x1fa))]();_0x124dbc['setBinSessionId'](this[_0x404002(0x155)]),_0x124dbc[_0x404002(0x22e)](_0x1aaa8d);const _0x21a26b=await new Promise((_0x2bd1d3,_0x1b242d)=>{const _0xb92874=_0x404002,_0x148e34={'ahrEb':function(_0x12c21f,_0x4601eb){return _0xc2c55d['ArTuw'](_0x12c21f,_0x4601eb);},'equEA':_0xc2c55d['yEoAc'],'EkPXi':function(_0x56f09b,_0x29f1c6){const _0x15ea07=a105_0x4890;return _0xc2c55d[_0x15ea07(0x290)](_0x56f09b,_0x29f1c6);}};this[_0xb92874(0x1a1)][_0xb92874(0x22d)](_0x124dbc,this[_0xb92874(0x27a)](),(_0x224821,_0x56289e)=>{const _0x330bed=_0xb92874;if(_0x224821){_0x148e34['ahrEb'](_0x1b242d,_0x224821);return;}this[_0x330bed(0x1b3)][_0x330bed(0x28e)](_0x148e34[_0x330bed(0x202)]),_0x148e34[_0x330bed(0x283)](_0x2bd1d3,_0x56289e);});});return _0x21a26b;}catch(_0x1216c1){return sdkErrorHandler[_0x404002(0x29e)](_0xc2c55d[_0x404002(0x19b)],_0x1216c1,this[_0x404002(0x1b3)],_0xc2c55d['tJEXY']),null;}}async['getAggregatedClientTroubleshootingErrors'](){const _0x42e8f4=a105_0x1022c5,_0x31307d={'YbxHJ':function(_0x14a2c8,_0x517b75){return _0x14a2c8(_0x517b75);},'Fjqsn':_0x42e8f4(0x298),'PkUQH':_0x42e8f4(0x165),'cNXRe':'No\x20gRPC\x20client\x20initialized.','PDgEz':_0x42e8f4(0x15f),'ZTxmY':_0x42e8f4(0x28e)};this['logger']['debug'](_0x31307d[_0x42e8f4(0x240)]);try{if(!this[_0x42e8f4(0x1a1)])return this[_0x42e8f4(0x1b3)][_0x42e8f4(0x28e)](_0x31307d[_0x42e8f4(0x244)]),null;const _0x378e53=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x378e53[_0x42e8f4(0x1f7)](this['binSessionId']);const _0x560f6d=await new Promise((_0x12a468,_0x125b41)=>{const _0x59d1b4=_0x42e8f4,_0x40b99a={'xeUEV':function(_0x25c202,_0x4de5a6){const _0x50ba8f=a105_0x4890;return _0x31307d[_0x50ba8f(0x2ca)](_0x25c202,_0x4de5a6);},'drruQ':_0x31307d['Fjqsn']};this['client'][_0x59d1b4(0x26c)](_0x378e53,this[_0x59d1b4(0x27a)](),(_0x1b9221,_0x2c57ff)=>{const _0x5ad9d0=_0x59d1b4;if(_0x1b9221){_0x40b99a[_0x5ad9d0(0x263)](_0x125b41,_0x1b9221);return;}this[_0x5ad9d0(0x1b3)]['debug'](_0x40b99a[_0x5ad9d0(0x2ae)]),_0x40b99a['xeUEV'](_0x12a468,_0x2c57ff);});});return _0x560f6d;}catch(_0x151f8f){return sdkErrorHandler[_0x42e8f4(0x29e)](_0x31307d[_0x42e8f4(0x1ef)],_0x151f8f,this[_0x42e8f4(0x1b3)],_0x31307d['ZTxmY']),null;}}async[a105_0x1022c5(0x1f2)](){const _0x2cebb1=a105_0x1022c5,_0x3b1840={'IYmUD':_0x2cebb1(0x2c1),'aXImd':function(_0x1be798,_0x7617b8){return _0x1be798(_0x7617b8);},'suZyo':'Calling\x20TestCafeConfig','DjxEh':function(_0x4a8130,_0x6b946a){return _0x4a8130!==_0x6b946a;},'PlSxc':'function','tarVy':function(_0x2a7fe9,_0x1ebecd){return _0x2a7fe9+_0x1ebecd;},'aTKPE':_0x2cebb1(0x21a),'oFwrT':_0x2cebb1(0x1a3),'pVbPQ':function(_0x4b1103,_0x14f6db){return _0x4b1103!==_0x14f6db;},'qelzV':function(_0x21f893,_0x174e1d){return _0x21f893+_0x174e1d;},'KyceN':function(_0x2cee22,_0xb19fd7){return _0x2cee22+_0xb19fd7;},'xCOGS':_0x2cebb1(0x1f9),'raShM':_0x2cebb1(0x238),'IhcZE':_0x2cebb1(0x26f),'FrhJX':'(`cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build`).'};this[_0x2cebb1(0x1b3)]['info'](_0x3b1840['suZyo']);if(_0x3b1840[_0x2cebb1(0x2b0)](typeof messages[_0x2cebb1(0x161)],_0x3b1840[_0x2cebb1(0x1df)]))throw new Error(_0x3b1840['tarVy'](_0x3b1840[_0x2cebb1(0x1a2)],_0x3b1840[_0x2cebb1(0x27c)]));if(_0x3b1840['pVbPQ'](typeof this[_0x2cebb1(0x1a1)][_0x2cebb1(0x1f2)],_0x3b1840[_0x2cebb1(0x1df)]))throw new Error(_0x3b1840[_0x2cebb1(0x1f3)](_0x3b1840[_0x2cebb1(0x17a)](_0x3b1840[_0x2cebb1(0x1af)](_0x3b1840[_0x2cebb1(0x164)],_0x3b1840[_0x2cebb1(0x16d)]),_0x3b1840[_0x2cebb1(0x225)]),_0x3b1840['FrhJX']));const _0x1ef809=new messages[(_0x2cebb1(0x161))]();return _0x1ef809[_0x2cebb1(0x1f7)](this[_0x2cebb1(0x155)]),new Promise((_0x163a4f,_0x597743)=>{const _0x50b681=_0x2cebb1,_0x44c7d9={'DMsjZ':_0x3b1840[_0x50b681(0x2d6)],'UNnCn':function(_0x4a2dd2,_0x5cdcb7){return _0x3b1840['aXImd'](_0x4a2dd2,_0x5cdcb7);}};this[_0x50b681(0x1a1)][_0x50b681(0x1f2)](_0x1ef809,this[_0x50b681(0x27a)](),(_0x53394c,_0x5e37ca)=>{const _0x3a6bdc=_0x50b681;if(_0x53394c){sdkErrorHandler[_0x3a6bdc(0x29e)](_0x44c7d9['DMsjZ'],_0x53394c,this[_0x3a6bdc(0x1b3)]),_0x44c7d9['UNnCn'](_0x597743,_0x53394c);return;}_0x44c7d9['UNnCn'](_0x163a4f,_0x5e37ca);});});}['getClient'](){const _0x357fea=a105_0x1022c5;return this[_0x357fea(0x1a1)];}[a105_0x1022c5(0x2cc)](){return this['channel'];}}module[a105_0x1022c5(0x15d)]=GrpcClient;
1
+ const a105_0x32d69d=a105_0x4970;(function(_0x579ec9,_0x3037e7){const _0x2e0485=a105_0x4970,_0xf5bda0=_0x579ec9();while(!![]){try{const _0x3e2050=-parseInt(_0x2e0485(0x2d5))/0x1+-parseInt(_0x2e0485(0x30d))/0x2+parseInt(_0x2e0485(0x309))/0x3+-parseInt(_0x2e0485(0x2e4))/0x4*(-parseInt(_0x2e0485(0x244))/0x5)+parseInt(_0x2e0485(0x2e6))/0x6*(parseInt(_0x2e0485(0x29b))/0x7)+parseInt(_0x2e0485(0x206))/0x8+parseInt(_0x2e0485(0x30f))/0x9*(-parseInt(_0x2e0485(0x1ba))/0xa);if(_0x3e2050===_0x3037e7)break;else _0xf5bda0['push'](_0xf5bda0['shift']());}catch(_0x24ffa8){_0xf5bda0['push'](_0xf5bda0['shift']());}}}(a105_0x42cd,0x41635));const util=require(a105_0x32d69d(0x299)),logger=require(a105_0x32d69d(0x276))[a105_0x32d69d(0x2a7)],fileLogger=require('../../helpers/logger.js')[a105_0x32d69d(0x1ae)],grpc=require(a105_0x32d69d(0x202)),services=require(a105_0x32d69d(0x233)),messages=require(a105_0x32d69d(0x28a)),path=require('path'),CLIUtils=require(a105_0x32d69d(0x2fc)),{createClassLogger}=require(a105_0x32d69d(0x27b)),PerformanceTester=require(a105_0x32d69d(0x2be)),{EVENTS:PerformanceEvents}=require(a105_0x32d69d(0x1ed)),{PLAYWRIGHT_TRACE_LOGS}=require(a105_0x32d69d(0x19f)),helper=require('../../helpers/helper.js'),sdkErrorHandler=require(a105_0x32d69d(0x2f7));function a105_0x42cd(){const _0x33eb17=['grpc.keepalive_time_ms','exports','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20generated\x20proto\x20message\x20TestCafeConfigRequest\x20missing.\x20','not\x20provided','getTestFrameworkDetail','fileSize','util','wgsCp','217vzOONd','forEach','AccessibilityConfigRequest','yWltZ','DetoxMarkSessionsRequest','ooEst','client','Getting\x20AggregatedClientTroubleshootingErrors','stringify','sjHCq','getAggregatedClientTroubleshootingErrors','isFinite','winstonLogger','goiBM','NMdgI','NreZv','ReportClientTroubleshootingError\x20successful','getEntriesList','DetoxConfig\x20returned\x20success=false','Missing\x20binSessionId','utf-8','oqKKJ','dDXbJ','getSuccess','GtsBx','setMessage','logger','Getting\x20Detox\x20config','kaluQ','SDK_CLI_ON_STOP','ccvtA','zcqUy','setTestFrameworkState','test_run_uuid','TestFrameworkEventRequest','../../helpers/performance/performance-tester.js','version','DriverInitRequest','QsifZ','wiSoO','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','GetAggregatedClientTroubleshootingErrors','ieBup','LogEntry','filePath','setTestFramework','binSessionId','wyFRr','tXVHm','ConnectBinSession','getCallOptions','warn','start','zwguz','SNFRm','null','Sending\x20LogCreatedEvent','env','265729mrJwhl','Error\x20in\x20accessibilityResult:\x20','JWMKG','QBkOi','getInstance','xvzyq','KLyCV','NQUtm','OVYhX','[BrowserStack\x20SDK\x20/\x20TestCafe]\x20gRPC\x20client\x20method\x20`testCafeConfig`\x20is\x20unavailable.\x20','cfJOz','stderr','qBOPM','DriverInit\x20request\x20successful','Zoupx','1929596PrKRBm','setPlatformIndex','36300CBtHuj','setFrameworkVersion','testInfo','Run\x20\x27cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build\x27\x20to\x20regenerate\x20stubs\x20from\x20the\x20updated\x20proto.','getBrowserstackConfigPath','DriverInit','LogCreatedEvent\x20request\x20successful','PlaywrightConfigRequest','testCafeConfig','uZAKT','PIbfv','setSdkVersion','fileName','nmjtp','setUuid','MbZRR','driverInit','./sdkErrorHandler.js','ARayv','OKcdh','setTestFrameworkName','YyzSu','./cliUtils.js','hYRrJ','PlaywrightConfig\x20request\x20successful','ZBjuN','xfrWn','connect','No\x20gRPC\x20client\x20initialized.',',\x20scriptName=','yiYfF','ejmgW','setExitReason','setEventJson','connectBinSession','891807WixGmi','setLanguage','wPRYA','aUqWC','655984vDBQhR','Stopping\x20signal\x20','9vnVWMv','AccessibilityConfig','FetchDriverExecuteParamsEvent','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','end','attachment_type','aoZJm','ZUPta','\x22accessKey\x22:\x22[REDACTED]\x22','getBody','Hgktb','setUserInputParams','slice','LogCreatedEventRequest','FnHzV','setSessionId','BMvFq','../utils/constants','setResultType','testAnalyticsId','pSvPf','sYmEh','VrxnY','uuid','gcuOG','getSeverity','NWmXD','MeBeJ','jSHjP','ocQpR','GetAggregatedClientTroubleshootingErrors\x20successful','Sending\x20TestSessionEvent','fileLogger','IyHmO','toLowerCase','HRHqP','testFrameworkEvent','getAccessibilityConfig','StopBinSession','soiuI','getSdkVersion','channel','wpSwR','info','3320510XDeNDT','IrmGM','push','WEbUR','ref','SDK_CONNECT_BIN_SESSION','setThreadId','setBinSessionId','the\x20TestCafeConfig\x20RPC.\x20Rebuild\x20the\x20binary\x20in\x20lockstep\x20with\x20the\x20SDK\x20','StartBinSession\x20successful','PaRsh','logCreatedEvent','setHubUrl','test_identifier','replace','StartBinSessionRequest','setSessions','KRMEu','setFileName','setProvider','setDuration','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','GPDaF','ZtFrl','startBinSession:\x20Calling\x20startBinSession','ZgVlt','getConfig','setExitCode','hasLocalBound','WnNuU','nafei','credentials','setExitSignal',',\x20testIdentifier=','duration','GetAggregatedClientTroubleshootingErrorsRequest','DetoxMarkSessions','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','setTestIdentifier','ExecutionContext','setHash','getSdkLanguage','QnnxE','setExecutionContext','gOOaA','SDKClient','[GrpcClient]\x20Getting\x20AccessibilityResult,\x20resultType=','accessibilityResult','DetoxConfig','\x20for\x20product=','setStartedAt','../../helpers/performance/constants','message','browserstack.','goAbo','set','WCZsc','isQos','fetchDriverExecuteParamsEvent','round','lJucw','SDK_START_BIN_SESSION','TestSessionEventRequest','hubUrl','LYWkS','listenAddress','testSessionEvent','CFMwQ','BROWSERSTACK_CLI_BIN_SESSION_ID','setErrorKey','PlaywrightConfig','handle','@grpc/grpc-js','test-orchestration-session=','pending-resolution-from-test-identifier','argv','1811064qjVbXZ','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','testFrameworkVersion','VSjgx','GLjSg','createInsecure','DetoxConfig\x20request\x20successful','name','QHnEF','getPlaywrightConfig','dbHam','Vrnux','ReportClientTroubleshootingError','timestamp','AccessibilityResult\x20request\x20successful','setTestFrameworkVersion','\x20for\x20tag\x20validation','entries','stopBinSession','Getting\x20Playwright\x20config','setOrchestrationStrategy','testOrchestration','GPykU','function','kind','BdXNd','CJeUo','setFrameworkName','setPathProject','DINaS','TestOrchestrationRequest','setTestFilesList','TestOrchestration','user_killed','AiENk','eGimC','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','\x22userName\x22:\x22[REDACTED]\x22','getClient','setEndedAt','setSdkLanguage','now','BGpjr','encode','setProduct','../../../generated/sdk_grpc_pb','reportClientTroubleshootingError','LogCreatedEvent','qpqOo','jVrKi','lQQUH','Reporting\x20ClientTroubleshootingError\x20','stop-bin-session\x20response:\x20','DetoxConfigRequest','ReportClientTroubleshootingErrorRequest','(`cd\x20browserstack-binary\x20&&\x20npm\x20run\x20build`).','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','getError','accessibilityConfig','The\x20running\x20binary\x20build\x20was\x20generated\x20from\x20a\x20proto\x20file\x20that\x20does\x20not\x20declare\x20','xavCU','VHZvi','5UQpwes','getBrowserstackCliConfig','TestSessionEvent','Connected\x20to\x20gRPC\x20server\x20at\x20','VHHIn','DJkCO','SDK_AUTOMATION_FRAMEWORK_INIT','setTestHookState','No\x20gRPC\x20client\x20not\x20initialized.','code','TestCafeConfigRequest','gDjEc','setCapabilities','init','ATLjr','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','addFrameworks','from','detoxMarkSessions','FhJoD','format','setProcessId','debug','hook_run_uuid','launchcaps','setConfig','getDetoxConfig','frameworkSessionId','rHrjf','eouzx','xfKKI','jxSKP','GrpcClient','DEADLINE_EXCEEDED','nrAIP','AutomationSession','setTestRunId','setFileSize','YIGgg','setFrameworkSessionId','ggOzN','Sending\x20DriverInit','startBinSession',',\x20parsedConfig=','AzHtu','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','BHypW','IFyYx','lastStopDeadlineExceeded','processId','../../helpers/logger.js','getDeadline','threadId','addLogs','GNHqa','../../helpers/classLogger.js','stdout','\x20listenAddr:\x20','cwd','KwdAP','CysIH','TestFrameworkEvent\x20request\x20successful','testFrameworkState','eDDEs','AccessibilityResultRequest','frameworkName','write','error','FUAMu','playwrightConfig','../../../generated/sdk-messages_pb','zFIsC','eIBTj','setScriptName','yLQLJ','setFilePath','NLfQa','getFrameworkVersionsMap','pFzlA'];a105_0x42cd=function(){return _0x33eb17;};return a105_0x42cd();}class GrpcClient{static #instance=null;[a105_0x32d69d(0x2c9)]=null;[a105_0x32d69d(0x1fb)]=null;[a105_0x32d69d(0x1b7)]=null;['client']=null;['logger']=createClassLogger(a105_0x32d69d(0x264));constructor(){}static[a105_0x32d69d(0x2d9)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a105_0x32d69d(0x251)](_0x4a6331){const _0x2ebf48=a105_0x32d69d,_0x5b7b2c={};_0x5b7b2c[_0x2ebf48(0x1f0)]=function(_0x18ade1,_0x591138){return _0x18ade1||_0x591138;};const _0x5424ff=_0x5b7b2c,{id:_0x277bdb,listen:_0x2ee1ae}=_0x4a6331;if(_0x5424ff[_0x2ebf48(0x1f0)](!_0x277bdb,!_0x2ee1ae))throw new Error(_0x2ebf48(0x271)+_0x277bdb+_0x2ebf48(0x27d)+_0x2ee1ae);this[_0x2ebf48(0x2c9)]=_0x277bdb,this['listenAddress']=_0x2ee1ae,process[_0x2ebf48(0x2d4)][_0x2ebf48(0x1fe)]=this[_0x2ebf48(0x2c9)],process[_0x2ebf48(0x2d4)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this['listenAddress'],this[_0x2ebf48(0x301)](),this['logger'][_0x2ebf48(0x1b9)](_0x2ebf48(0x22a)+this['binSessionId']+'\x20and\x20listen\x20address:\x20'+this['listenAddress']);}[a105_0x32d69d(0x301)](){const _0x4f714a=a105_0x32d69d,_0x607f26={};_0x607f26[_0x4f714a(0x30b)]=_0x4f714a(0x312);const _0x15af34=_0x607f26;let _0x4a2d90=this[_0x4f714a(0x1fb)];!_0x4a2d90&&(_0x4a2d90=process[_0x4f714a(0x2d4)][_0x4f714a(0x1df)]);!this[_0x4f714a(0x2c9)]&&(this['binSessionId']=this[_0x4f714a(0x2c9)]||process[_0x4f714a(0x2d4)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x4a2d90)throw new Error(_0x15af34[_0x4f714a(0x30b)]);const _0x3dd3ba={};_0x3dd3ba[_0x4f714a(0x293)]=0x2710,this[_0x4f714a(0x1b7)]=new grpc['Channel'](_0x4a2d90,grpc[_0x4f714a(0x1d9)][_0x4f714a(0x20b)](),_0x3dd3ba),this['client']=new services[(_0x4f714a(0x1e7))](_0x4a2d90,grpc[_0x4f714a(0x1d9)][_0x4f714a(0x20b)]()),this['logger']['info'](_0x4f714a(0x247)+_0x4a2d90);}[a105_0x32d69d(0x277)](){const _0x39f24d=a105_0x32d69d,_0x2d2c2f={};_0x2d2c2f[_0x39f24d(0x2b7)]=function(_0x36497a,_0x5e0b4b){return _0x36497a+_0x5e0b4b;};const _0x3587cf=_0x2d2c2f;return _0x3587cf[_0x39f24d(0x2b7)](Date[_0x39f24d(0x22f)](),0x7530);}[a105_0x32d69d(0x2cd)](){const _0x1e2b05=a105_0x32d69d;return{'deadline':this[_0x1e2b05(0x277)]()};}async[a105_0x32d69d(0x26e)](){const _0x40d7b1=a105_0x32d69d,_0x1ed53d={'Zoupx':function(_0x1898d5,_0x53e968){return _0x1898d5!==_0x53e968;},'wpSwR':'StartBinSession','QsifZ':function(_0x44f1af,_0x22fac9){return _0x44f1af(_0x22fac9);},'FnHzV':_0x40d7b1(0x1c3),'QMKIO':function(_0x3f1219,_0x6f11b0){return _0x3f1219(_0x6f11b0);},'goiBM':_0x40d7b1(0x1d2),'KRMEu':_0x40d7b1(0x24c),'wiSoO':'./browserstackCLI.js','jzbJH':function(_0x193484,_0x2e0911){return _0x193484 instanceof _0x2e0911;},'tUzRN':_0x40d7b1(0x2d2),'KLyCV':function(_0x30609a,_0x374f04){return _0x30609a||_0x374f04;}};PerformanceTester['start'](PerformanceEvents[_0x40d7b1(0x1f7)]),this[_0x40d7b1(0x2b5)]['info'](_0x1ed53d[_0x40d7b1(0x2a8)]);try{!this[_0x40d7b1(0x2a1)]&&this[_0x40d7b1(0x2b5)][_0x40d7b1(0x1b9)](_0x1ed53d[_0x40d7b1(0x1cb)]);const _0x36aa21=CLIUtils[_0x40d7b1(0x1b6)](),_0x60fa18=CLIUtils['getAutomationFrameworkDetail'](),_0x153227=CLIUtils[_0x40d7b1(0x297)](),_0x2f5500=_0x60fa18[_0x40d7b1(0x20d)],_0x13dd83=_0x60fa18['version'],_0x5717fe=_0x153227[_0x40d7b1(0x20d)],_0x102e5b=_0x153227[_0x40d7b1(0x2bf)]?_0x153227[_0x40d7b1(0x2bf)][_0x5717fe]:'',_0x3a3725=new messages[(_0x40d7b1(0x1c9))]();_0x3a3725['setBinSessionId'](this['binSessionId']),_0x3a3725[_0x40d7b1(0x22e)](CLIUtils[_0x40d7b1(0x1e3)]()),_0x3a3725[_0x40d7b1(0x2f1)](_0x36aa21),_0x3a3725[_0x40d7b1(0x222)](process[_0x40d7b1(0x27e)]());const _0x410ade=_0x3a3725['getEnvVarsMap']();Object[_0x40d7b1(0x217)](process[_0x40d7b1(0x2d4)])['forEach'](([_0x373e2b,_0x5ca695])=>{const _0x46bb2f=_0x40d7b1;_0x1ed53d['Zoupx'](_0x5ca695,undefined)&&_0x1ed53d[_0x46bb2f(0x2e3)](_0x5ca695,null)&&_0x410ade[_0x46bb2f(0x1f1)](_0x373e2b,_0x5ca695);});const _0x3be6fe=_0x1ed53d[_0x40d7b1(0x2c1)](require,_0x1ed53d[_0x40d7b1(0x2c2)]),_0x56f5b4=_0x3be6fe[_0x40d7b1(0x2d9)]()[_0x40d7b1(0x245)](),_0x9f187e=[];_0x56f5b4&&_0x1ed53d['jzbJH'](_0x56f5b4,Map)&&_0x56f5b4[_0x40d7b1(0x29c)]((_0x236771,_0x40f459)=>{const _0x331ac6=_0x40d7b1;_0x9f187e[_0x331ac6(0x1bc)](_0x331ac6(0x1ef)+_0x40f459+'='+_0x236771,_0x40f459+'='+_0x236771);});const _0x3c0c5b=process[_0x40d7b1(0x205)][_0x40d7b1(0x31b)](0x2);_0x3a3725['setCliArgsList']([..._0x3c0c5b,..._0x9f187e]),_0x3a3725['setPathConfig'](_0x3be6fe[_0x40d7b1(0x2d9)]()[_0x40d7b1(0x2ea)]()),this[_0x40d7b1(0x2b5)][_0x40d7b1(0x1b9)]('setCliArgs:\x20cliArgs='+JSON[_0x40d7b1(0x2a3)](_0x3c0c5b)+_0x40d7b1(0x26f)+(_0x56f5b4?JSON[_0x40d7b1(0x2a3)]([..._0x56f5b4]):_0x1ed53d['tUzRN'])),_0x3a3725[_0x40d7b1(0x30a)](CLIUtils['getSdkLanguage']()),_0x3a3725[_0x40d7b1(0x2c8)](_0x5717fe);const _0x2de46d=_0x3a3725[_0x40d7b1(0x291)]();return _0x2de46d[_0x40d7b1(0x1f1)](_0x2f5500,_0x1ed53d['KLyCV'](_0x13dd83,'')),_0x2de46d[_0x40d7b1(0x1f1)](_0x5717fe,_0x1ed53d[_0x40d7b1(0x2db)](_0x102e5b,'')),_0x3a3725[_0x40d7b1(0x254)](_0x2f5500,_0x13dd83),_0x3a3725[_0x40d7b1(0x254)](_0x5717fe,_0x102e5b),_0x3a3725['setFrameworksList']([_0x5717fe,_0x2f5500]),new Promise((_0x5ab067,_0x5d6192)=>{const _0x2e9151=_0x40d7b1;this[_0x2e9151(0x2a1)]['startBinSession'](_0x3a3725,this[_0x2e9151(0x2cd)](),(_0x382dca,_0x335ee0)=>{const _0x4da890=_0x2e9151;if(_0x382dca){sdkErrorHandler[_0x4da890(0x201)](_0x1ed53d[_0x4da890(0x1b8)],_0x382dca,this['logger']),_0x1ed53d[_0x4da890(0x2c1)](_0x5d6192,_0x382dca),PerformanceTester[_0x4da890(0x313)](PerformanceEvents[_0x4da890(0x1f7)],![],util['format'](_0x382dca));return;}this[_0x4da890(0x2b5)][_0x4da890(0x1b9)](_0x1ed53d[_0x4da890(0x19c)]),PerformanceTester[_0x4da890(0x313)](PerformanceEvents['SDK_START_BIN_SESSION']),_0x1ed53d['QMKIO'](_0x5ab067,_0x335ee0);});});}catch(_0x4629d0){sdkErrorHandler[_0x40d7b1(0x201)](_0x1ed53d[_0x40d7b1(0x1b8)],_0x4629d0,this[_0x40d7b1(0x2b5)]),PerformanceTester[_0x40d7b1(0x313)](PerformanceEvents[_0x40d7b1(0x1f7)],![],util[_0x40d7b1(0x258)](_0x4629d0));throw _0x4629d0;}}async[a105_0x32d69d(0x308)](){const _0x2be5bc=a105_0x32d69d,_0x4fdd62={'gDjEc':function(_0x4c5f32,_0x269f19){return _0x4c5f32(_0x269f19);},'nPEyC':'ConnectBinSession\x20successful','lWEsL':function(_0x3123ab,_0x4de342){return _0x3123ab(_0x4de342);},'YIGgg':'Connecting\x20bin\x20session','GLjSg':_0x2be5bc(0x24c),'GPykU':_0x2be5bc(0x22b),'lAILY':_0x2be5bc(0x317),'tRVTB':'\x22key\x22:\x22[REDACTED]\x22','Hgktb':_0x2be5bc(0x2cc)};PerformanceTester[_0x2be5bc(0x2cf)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this[_0x2be5bc(0x2b5)][_0x2be5bc(0x1b9)](_0x4fdd62[_0x2be5bc(0x26a)]);try{!this[_0x2be5bc(0x2a1)]&&this[_0x2be5bc(0x2b5)][_0x2be5bc(0x1b9)](_0x4fdd62[_0x2be5bc(0x20a)]);const _0x451f38=new messages['ConnectBinSessionRequest']();_0x451f38['setBinSessionId'](this[_0x2be5bc(0x2c9)]);const _0x5b732c=await new Promise((_0x137be1,_0x121722)=>{const _0x2164c4=_0x2be5bc;this[_0x2164c4(0x2a1)][_0x2164c4(0x308)](_0x451f38,this[_0x2164c4(0x2cd)](),(_0x2ec9e0,_0x5c3461)=>{const _0x19be44=_0x2164c4;if(_0x2ec9e0){_0x4fdd62[_0x19be44(0x24f)](_0x121722,_0x2ec9e0),PerformanceTester[_0x19be44(0x313)](PerformanceEvents[_0x19be44(0x1bf)],![],util[_0x19be44(0x258)](_0x2ec9e0));return;}this[_0x19be44(0x2b5)]['info'](_0x4fdd62['nPEyC']),PerformanceTester[_0x19be44(0x313)](PerformanceEvents[_0x19be44(0x1bf)]),_0x4fdd62['lWEsL'](_0x137be1,_0x5c3461);});}),_0x16cee0=util[_0x2be5bc(0x258)](_0x5b732c)[_0x2be5bc(0x1c8)](/"userName":"[^"]*"/g,_0x4fdd62[_0x2be5bc(0x21c)])['replace'](/"accessKey":"[^"]*"/g,_0x4fdd62['lAILY'])[_0x2be5bc(0x1c8)](/"key":"[^"]*"/g,_0x4fdd62['tRVTB']);return this[_0x2be5bc(0x2b5)][_0x2be5bc(0x25a)]('connect-bin-session\x20response:\x20'+_0x16cee0),_0x5b732c;}catch(_0x410503){PerformanceTester['end'](PerformanceEvents[_0x2be5bc(0x1bf)],![],util[_0x2be5bc(0x258)](_0x410503)),sdkErrorHandler['handle'](_0x4fdd62[_0x2be5bc(0x319)],_0x410503,this['logger']);throw _0x410503;}}async['stopBinSession'](_0x5e17de={},_0xcf1f6=null){const _0x40950c=a105_0x32d69d,_0x31de10={'CysIH':function(_0x480013,_0x4a0c54){return _0x480013(_0x4a0c54);},'CJeUo':'StopBinSession\x20successful','sYmEh':'Stopping\x20bin\x20session','ZtFrl':_0x40950c(0x2ae),'NQsvb':_0x40950c(0x24c),'VHZvi':_0x40950c(0x227),'SNFRm':function(_0x5015a8,_0x195077){return _0x5015a8===_0x195077;},'dbHam':'function','jxSKP':_0x40950c(0x1b9),'lQQUH':function(_0x49ab9d,_0x8e5286){return _0x49ab9d===_0x8e5286;},'nafei':_0x40950c(0x2ce),'WEbUR':'warning','DINaS':_0x40950c(0x287),'teoVt':function(_0x390dec,_0xe9717c){return _0x390dec+_0xe9717c;},'ATLjr':_0x40950c(0x1b4)};PerformanceTester['start'](PerformanceEvents[_0x40950c(0x2b8)]),this[_0x40950c(0x2b5)][_0x40950c(0x1b9)](_0x31de10[_0x40950c(0x1a3)]),this[_0x40950c(0x274)]=![];try{if(!this[_0x40950c(0x2c9)])throw new Error(_0x31de10[_0x40950c(0x1d1)]);!this[_0x40950c(0x2a1)]&&this[_0x40950c(0x2b5)][_0x40950c(0x1b9)](_0x31de10['NQsvb']);const _0x1d0240=new messages['StopBinSessionRequest']();this['logger']['debug'](_0x40950c(0x30e)+JSON[_0x40950c(0x2a3)](_0xcf1f6)),_0x1d0240[_0x40950c(0x1c1)](this[_0x40950c(0x2c9)]),_0x1d0240['setCustomMetadata'](_0x5e17de),_0x1d0240[_0x40950c(0x1da)](_0xcf1f6?_0xcf1f6:null),_0x1d0240[_0x40950c(0x306)](_0xcf1f6?_0x31de10[_0x40950c(0x243)]:null),_0x1d0240[_0x40950c(0x1d5)](_0xcf1f6?0x1:0x0);const _0x3ff0fe=await new Promise((_0x4e2e98,_0x5a15c5)=>{const _0x906be7=_0x40950c,_0x20c0f2={'lJucw':function(_0x2ac62d,_0x986527){const _0xaac112=a105_0x4970;return _0x31de10[_0xaac112(0x280)](_0x2ac62d,_0x986527);},'oizYw':_0x31de10[_0x906be7(0x220)],'nrAIP':function(_0x5aa85c,_0x472463){const _0x5b79ed=_0x906be7;return _0x31de10[_0x5b79ed(0x280)](_0x5aa85c,_0x472463);}};this['client'][_0x906be7(0x218)](_0x1d0240,this[_0x906be7(0x2cd)](),(_0x58634d,_0x80b817)=>{const _0x303e86=_0x906be7;if(_0x58634d){_0x20c0f2[_0x303e86(0x1f6)](_0x5a15c5,_0x58634d),PerformanceTester[_0x303e86(0x313)](PerformanceEvents[_0x303e86(0x2b8)],![],util[_0x303e86(0x258)](_0x58634d));return;}this['logger'][_0x303e86(0x1b9)](_0x20c0f2['oizYw']),PerformanceTester[_0x303e86(0x313)](PerformanceEvents[_0x303e86(0x2b8)]),_0x20c0f2[_0x303e86(0x266)](_0x4e2e98,_0x80b817);});});this[_0x40950c(0x2b5)]['debug'](_0x40950c(0x23a)+util['format'](_0x3ff0fe));try{const _0xabc9d7=_0x31de10[_0x40950c(0x2d1)](typeof _0x3ff0fe[_0x40950c(0x2ac)],_0x31de10['dbHam'])?_0x3ff0fe[_0x40950c(0x2ac)]():[];for(const _0x55a3f0 of _0xabc9d7){const _0x27f615=_0x55a3f0&&_0x31de10['SNFRm'](typeof _0x55a3f0['getBody'],_0x31de10[_0x40950c(0x210)])?_0x55a3f0[_0x40950c(0x318)]():'';if(!_0x27f615)continue;const _0x2e9790=(_0x55a3f0[_0x40950c(0x1a7)]&&_0x55a3f0[_0x40950c(0x1a7)]()||_0x31de10['jxSKP'])[_0x40950c(0x1b0)](),_0x351d25=_0x31de10[_0x40950c(0x238)](_0x2e9790,_0x31de10[_0x40950c(0x1d8)])||_0x31de10[_0x40950c(0x238)](_0x2e9790,_0x31de10[_0x40950c(0x1bd)])||_0x31de10[_0x40950c(0x238)](_0x2e9790,_0x31de10[_0x40950c(0x223)]),_0x240805=_0x351d25?process[_0x40950c(0x2e0)]:process[_0x40950c(0x27c)];_0x240805[_0x40950c(0x286)](_0x31de10['teoVt'](_0x27f615,'\x0a'));const _0x17e72e=_0x31de10[_0x40950c(0x2d1)](_0x2e9790,_0x31de10[_0x40950c(0x223)])?_0x31de10[_0x40950c(0x223)]:_0x351d25?_0x31de10[_0x40950c(0x1d8)]:_0x31de10[_0x40950c(0x263)];fileLogger[_0x17e72e](_0x27f615);}}catch(_0xc223d0){this[_0x40950c(0x2b5)]['debug']('StopBinSession\x20entries\x20forwarding\x20failed:\x20'+(_0xc223d0['stack']||_0xc223d0));}return _0x3ff0fe;}catch(_0x1ec0d6){PerformanceTester[_0x40950c(0x313)](PerformanceEvents[_0x40950c(0x2b8)],![],util[_0x40950c(0x258)](_0x1ec0d6)),this[_0x40950c(0x274)]=!!(_0x1ec0d6&&_0x31de10[_0x40950c(0x238)](_0x1ec0d6[_0x40950c(0x24d)],grpc['status'][_0x40950c(0x265)])),sdkErrorHandler['handle'](_0x31de10[_0x40950c(0x252)],_0x1ec0d6,this[_0x40950c(0x2b5)]);}}async[a105_0x32d69d(0x20f)](_0x7fa6d3){const _0xed6f3=a105_0x32d69d,_0xfebfca={'xvzyq':_0xed6f3(0x200),'GPDaF':function(_0x48e449,_0x17da33){return _0x48e449(_0x17da33);},'ggOzN':_0xed6f3(0x2fe),'OKcdh':_0xed6f3(0x219),'ooEst':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0xed6f3(0x2cf)](PerformanceEvents[_0xed6f3(0x24a)]),this[_0xed6f3(0x2b5)][_0xed6f3(0x1b9)](_0xfebfca[_0xed6f3(0x2f9)]);try{!this['client']&&this[_0xed6f3(0x2b5)][_0xed6f3(0x1b9)](_0xfebfca[_0xed6f3(0x2a0)]);const _0x5558a4=new messages[(_0xed6f3(0x2ed))]();return _0x5558a4[_0xed6f3(0x1c1)](this[_0xed6f3(0x2c9)]),_0x5558a4[_0xed6f3(0x25d)](JSON[_0xed6f3(0x2a3)](_0x7fa6d3)),new Promise((_0x27c513,_0x232d6c)=>{const _0x34e1cc=_0xed6f3,_0x95b87a={'aPdCP':_0xfebfca[_0x34e1cc(0x2da)],'aUqWC':function(_0x4a5c23,_0xf0124a){const _0x45b5a3=_0x34e1cc;return _0xfebfca[_0x45b5a3(0x1d0)](_0x4a5c23,_0xf0124a);},'trdjq':_0xfebfca[_0x34e1cc(0x26c)]};this[_0x34e1cc(0x2a1)][_0x34e1cc(0x289)](_0x5558a4,this[_0x34e1cc(0x2cd)](),(_0x4ac4b8,_0x1fe541)=>{const _0x516165=_0x34e1cc;if(_0x4ac4b8){sdkErrorHandler['handle'](_0x95b87a['aPdCP'],_0x4ac4b8,this[_0x516165(0x2b5)]),_0x95b87a[_0x516165(0x30c)](_0x232d6c,_0x4ac4b8),PerformanceTester[_0x516165(0x313)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x516165(0x258)](_0x4ac4b8));return;}this[_0x516165(0x2b5)][_0x516165(0x1b9)](_0x95b87a['trdjq']),PerformanceTester['end'](PerformanceEvents[_0x516165(0x24a)]),_0x95b87a[_0x516165(0x30c)](_0x27c513,_0x1fe541);});});}catch(_0x1630c2){PerformanceTester['end'](PerformanceEvents[_0xed6f3(0x24a)],![],util['format'](_0x1630c2)),sdkErrorHandler[_0xed6f3(0x201)](_0xfebfca[_0xed6f3(0x2da)],_0x1630c2,this[_0xed6f3(0x2b5)]);throw _0x1630c2;}}async[a105_0x32d69d(0x25e)](){const _0x5ceb43=a105_0x32d69d,_0x4bf1c4={'QnnxE':_0x5ceb43(0x1ea),'uZAKT':function(_0xe1f8d,_0x5dfd82){return _0xe1f8d(_0x5dfd82);},'VrxnY':_0x5ceb43(0x2ad),'DJkCO':_0x5ceb43(0x20c),'IrmGM':function(_0x148b74,_0x2a158a){return _0x148b74(_0x2a158a);},'sjHCq':_0x5ceb43(0x2b6)};this[_0x5ceb43(0x2b5)]['info'](_0x4bf1c4[_0x5ceb43(0x2a4)]);const _0x5431a8=new messages[(_0x5ceb43(0x23b))]();return _0x5431a8[_0x5ceb43(0x1c1)](this[_0x5ceb43(0x2c9)]),new Promise((_0x2becdf,_0x5a9c41)=>{const _0x578ecd=_0x5ceb43;this[_0x578ecd(0x2a1)]['detoxConfig'](_0x5431a8,this[_0x578ecd(0x2cd)](),(_0x31ca7a,_0x4ab93e)=>{const _0x566d4c=_0x578ecd;if(_0x31ca7a){sdkErrorHandler[_0x566d4c(0x201)](_0x4bf1c4[_0x566d4c(0x1e4)],_0x31ca7a,this[_0x566d4c(0x2b5)]),_0x4bf1c4[_0x566d4c(0x2ef)](_0x5a9c41,_0x31ca7a);return;}try{if(!_0x4ab93e['getSuccess']()){_0x4bf1c4[_0x566d4c(0x2ef)](_0x5a9c41,new Error(_0x4ab93e['getError']&&_0x4ab93e[_0x566d4c(0x23f)]()?_0x4ab93e['getError']():_0x4bf1c4[_0x566d4c(0x1a4)]));return;}this[_0x566d4c(0x2b5)][_0x566d4c(0x1b9)](_0x4bf1c4[_0x566d4c(0x249)]);const _0x583a7f=JSON['parse'](_0x4ab93e[_0x566d4c(0x1d4)]());_0x4ab93e[_0x566d4c(0x1d6)]&&_0x4ab93e['hasLocalBound']()&&(_0x583a7f['localBound']=_0x4ab93e['getLocalBound']()),_0x4bf1c4[_0x566d4c(0x1bb)](_0x2becdf,_0x583a7f);}catch(_0x1efc02){_0x4bf1c4[_0x566d4c(0x2ef)](_0x5a9c41,_0x1efc02);}});});}async[a105_0x32d69d(0x256)](_0x24bc42){const _0x45f487=a105_0x32d69d,_0xe0240={'aoZJm':_0x45f487(0x1de),'oqKKJ':function(_0x400bd4,_0x41164b){return _0x400bd4(_0x41164b);}},_0x41a754=new messages[(_0x45f487(0x29f))]();return _0x41a754[_0x45f487(0x1c1)](this[_0x45f487(0x2c9)]),_0x41a754[_0x45f487(0x1ca)](JSON['stringify'](_0x24bc42||[])),new Promise((_0xcfe623,_0x137716)=>{const _0x12128b=_0x45f487,_0x13b69b={'UyjcF':_0xe0240[_0x12128b(0x315)],'gcuOG':function(_0x1ab782,_0x39754c){const _0x419253=_0x12128b;return _0xe0240[_0x419253(0x2b0)](_0x1ab782,_0x39754c);},'NreZv':function(_0x3a51d3,_0x218023){return _0xe0240['oqKKJ'](_0x3a51d3,_0x218023);},'eouzx':function(_0x5bdea9,_0x564bc9){return _0xe0240['oqKKJ'](_0x5bdea9,_0x564bc9);}};this[_0x12128b(0x2a1)][_0x12128b(0x256)](_0x41a754,this['getCallOptions'](),(_0x589d95,_0x5bae0e)=>{const _0xf741f0=_0x12128b;if(_0x589d95){sdkErrorHandler['handle'](_0x13b69b['UyjcF'],_0x589d95,this[_0xf741f0(0x2b5)]),_0x13b69b[_0xf741f0(0x1a6)](_0x137716,_0x589d95);return;}_0x13b69b[_0xf741f0(0x2aa)](_0xcfe623,_0x13b69b[_0xf741f0(0x261)](Boolean,_0x5bae0e[_0xf741f0(0x2b2)]()));});});}async[a105_0x32d69d(0x1b3)](_0x21b8a2){const _0x4a2a90=a105_0x32d69d,_0x15029e={'NQUtm':_0x4a2a90(0x310),'wyFRr':function(_0x16cca5,_0x3bd670){return _0x16cca5(_0x3bd670);},'GNHqa':'AccessibilityConfig\x20request\x20successful','yiYfF':function(_0x10077e,_0x1d7cbb){return _0x10077e(_0x1d7cbb);},'wgsCp':function(_0x2f44de,_0x50c9a7){return _0x2f44de||_0x50c9a7;},'MbZRR':_0x4a2a90(0x296),'DXBmz':_0x4a2a90(0x2af)},_0xf024d9=_0x21b8a2[_0x4a2a90(0x2e8)]?.[_0x4a2a90(0x1a1)]||_0x21b8a2[_0x4a2a90(0x2e8)]?.['id'];this['logger']['info'](_0x4a2a90(0x23e)+_0x15029e[_0x4a2a90(0x29a)](_0xf024d9,_0x15029e[_0x4a2a90(0x2f5)]));try{const _0x351ea5=Buffer[_0x4a2a90(0x255)](JSON[_0x4a2a90(0x2a3)](_0x21b8a2[_0x4a2a90(0x25c)]),_0x15029e['DXBmz']),_0x4f5df3=new messages[(_0x4a2a90(0x29d))](),_0x55662b=CLIUtils['getAutomationFrameworkDetail'](),_0x35abb8=_0x55662b[_0x4a2a90(0x20d)],_0x320249=_0x55662b['version'];_0x4f5df3[_0x4a2a90(0x1c1)](this[_0x4a2a90(0x2c9)]),_0x4f5df3[_0x4a2a90(0x2e5)](0x0),_0x4f5df3[_0x4a2a90(0x221)](_0x35abb8),_0x4f5df3['setFrameworkVersion'](_0x320249),_0x4f5df3[_0x4a2a90(0x1c6)](_0x21b8a2[_0x4a2a90(0x1f9)]),_0x4f5df3['setCapabilities'](_0x351ea5);if(_0x21b8a2[_0x4a2a90(0x2e8)]?.[_0x4a2a90(0x1a1)]||_0x21b8a2[_0x4a2a90(0x2e8)]?.['id']){const _0x172193=_0x21b8a2['testInfo'][_0x4a2a90(0x1a1)]||_0x21b8a2[_0x4a2a90(0x2e8)]['id'];_0x4f5df3[_0x4a2a90(0x1e0)](_0x172193),this[_0x4a2a90(0x2b5)][_0x4a2a90(0x25a)](_0x4a2a90(0x207)+_0x172193+_0x4a2a90(0x216));}return new Promise((_0x585111,_0x36f481)=>{const _0x3256bf=_0x4a2a90;this[_0x3256bf(0x2a1)][_0x3256bf(0x240)](_0x4f5df3,this[_0x3256bf(0x2cd)](),(_0x243977,_0x25f4f5)=>{const _0x16f2a3=_0x3256bf;if(_0x243977){sdkErrorHandler[_0x16f2a3(0x201)](_0x15029e[_0x16f2a3(0x2dc)],_0x243977,this[_0x16f2a3(0x2b5)]),_0x15029e[_0x16f2a3(0x2ca)](_0x36f481,_0x243977);return;}this['logger'][_0x16f2a3(0x1b9)](_0x15029e[_0x16f2a3(0x27a)]),_0x15029e[_0x16f2a3(0x304)](_0x585111,_0x25f4f5);});});}catch(_0x443385){sdkErrorHandler[_0x4a2a90(0x201)](_0x15029e[_0x4a2a90(0x2dc)],_0x443385,this[_0x4a2a90(0x2b5)]);}}async[a105_0x32d69d(0x21b)](_0x23f015,_0x3b39d2=null,_0x328df9=null){const _0x47887e=a105_0x32d69d,_0x3d4a67={'IyHmO':_0x47887e(0x226),'tXVHm':function(_0x308087,_0x32670f){return _0x308087(_0x32670f);},'zwguz':function(_0x8ae8a1,_0x5b3493){return _0x8ae8a1(_0x5b3493);}};try{const _0x43c511=new messages[(_0x47887e(0x224))]();return _0x43c511['setBinSessionId'](this['binSessionId']),_0x43c511[_0x47887e(0x225)](_0x23f015||[]),_0x3b39d2&&_0x43c511[_0x47887e(0x21a)](_0x3b39d2),_0x328df9&&_0x43c511['setOrchestrationMetadata'](_0x328df9),new Promise((_0x5948ce,_0x3e798b)=>{const _0x2cd5de=_0x47887e;this['client'][_0x2cd5de(0x21b)](_0x43c511,(_0x275397,_0x279402)=>{const _0x4933d4=_0x2cd5de;if(_0x275397){sdkErrorHandler[_0x4933d4(0x201)](_0x3d4a67[_0x4933d4(0x1af)],_0x275397,this[_0x4933d4(0x2b5)]),_0x3d4a67[_0x4933d4(0x2cb)](_0x3e798b,_0x275397);return;}this[_0x4933d4(0x2b5)][_0x4933d4(0x25a)](_0x4933d4(0x203)+util[_0x4933d4(0x258)](_0x279402));if(_0x279402[_0x4933d4(0x2b2)]()){const _0x4f58a7=_0x279402['getOrderedTestFilesList']();_0x3d4a67[_0x4933d4(0x2cb)](_0x5948ce,_0x4f58a7);}else _0x3d4a67[_0x4933d4(0x2d0)](_0x5948ce,null);});});}catch(_0x5b82da){return sdkErrorHandler['handle'](_0x3d4a67['IyHmO'],_0x5b82da,this[_0x47887e(0x2b5)]),null;}}async[a105_0x32d69d(0x1e9)](_0x4e18a5,_0x3bd5de,_0x233926,_0x3b3a57,_0x310263){const _0x4f44ae=a105_0x32d69d,_0x3eeb1b={'ARayv':function(_0x552247,_0x492d62){return _0x552247(_0x492d62);},'HRHqP':_0x4f44ae(0x214)};this[_0x4f44ae(0x2b5)][_0x4f44ae(0x1b9)](_0x4f44ae(0x1e8)+_0x3b3a57+',\x20testRunId='+_0x3bd5de);try{const _0x36d4bf=new messages[(_0x4f44ae(0x284))]();return _0x36d4bf[_0x4f44ae(0x1c1)](_0x4e18a5),_0x36d4bf[_0x4f44ae(0x268)](_0x3bd5de),_0x36d4bf[_0x4f44ae(0x19d)](_0x233926),_0x36d4bf[_0x4f44ae(0x1a0)](_0x3b3a57),_0x310263&&_0x36d4bf[_0x4f44ae(0x1e0)](_0x310263),new Promise((_0x20f779,_0x18950d)=>{const _0x4412c1=_0x4f44ae;this[_0x4412c1(0x2a1)][_0x4412c1(0x1e9)](_0x36d4bf,(_0x4f4bb8,_0x57a23b)=>{const _0x1ddb6a=_0x4412c1;if(_0x4f4bb8){this[_0x1ddb6a(0x2b5)][_0x1ddb6a(0x287)]('AccessibilityResult\x20error:\x20'+_0x4f4bb8[_0x1ddb6a(0x1ee)]),_0x3eeb1b[_0x1ddb6a(0x2f8)](_0x18950d,_0x4f4bb8);return;}this['logger']['info'](_0x3eeb1b[_0x1ddb6a(0x1b1)]),_0x3eeb1b[_0x1ddb6a(0x2f8)](_0x20f779,_0x57a23b);});});}catch(_0x566425){this['logger'][_0x4f44ae(0x287)](_0x4f44ae(0x2d6)+util['format'](_0x566425));throw _0x566425;}}async[a105_0x32d69d(0x1fc)](_0x3b9ce5){const _0x530c21=a105_0x32d69d,_0x2dc3f3={'rHrjf':_0x530c21(0x246),'ocQpR':_0x530c21(0x25a),'JWMKG':function(_0x23ceca,_0x3e8e6b){return _0x23ceca(_0x3e8e6b);},'WCZsc':'TestSessionEvent\x20request\x20successful','WjWwa':_0x530c21(0x1ad),'NLfQa':_0x530c21(0x24c)};this[_0x530c21(0x2b5)][_0x530c21(0x1b9)](_0x2dc3f3['WjWwa']);try{!this[_0x530c21(0x2a1)]&&this['logger'][_0x530c21(0x1b9)](_0x2dc3f3[_0x530c21(0x290)]);const {platformIndex:_0x55e4fb,testFrameworkName:_0x3c3250,testFrameworkVersion:_0x5b61a6,testFrameworkState:_0x1d740b,testHookState:_0x1529cd,testUuid:_0x16b232,automationSession:_0x293c39,capabilities:_0x236db2,executionContext:_0x9b1b88,test_identifier:_0x17eff0}=_0x3b9ce5,_0x46870e=new messages[(_0x530c21(0x1f8))]();_0x46870e[_0x530c21(0x1c1)](this[_0x530c21(0x2c9)]),_0x46870e[_0x530c21(0x2e5)](_0x55e4fb),_0x46870e[_0x530c21(0x2fa)](_0x3c3250),_0x46870e['setTestFrameworkVersion'](_0x5b61a6),_0x46870e[_0x530c21(0x2bb)](_0x1d740b),_0x46870e[_0x530c21(0x24b)](_0x1529cd),_0x46870e['setTestUuid'](_0x16b232);const _0x2df805=new messages[(_0x530c21(0x1f8))][(_0x530c21(0x267))]();_0x2df805[_0x530c21(0x1cd)](_0x293c39['provider']),_0x2df805[_0x530c21(0x221)](_0x293c39[_0x530c21(0x285)]),_0x2df805[_0x530c21(0x2e7)](_0x293c39['frameworkVersion']),_0x2df805[_0x530c21(0x26b)](_0x293c39[_0x530c21(0x25f)]),_0x2df805[_0x530c21(0x232)](_0x293c39['product']),_0x2df805['setRef'](_0x293c39[_0x530c21(0x1be)]),_0x2df805[_0x530c21(0x1c6)](_0x293c39[_0x530c21(0x1f9)]),_0x46870e['addAutomationSessions'](_0x2df805),_0x46870e[_0x530c21(0x250)](_0x236db2);const _0x5345dc=new messages['ExecutionContext']();return _0x5345dc[_0x530c21(0x259)](_0x9b1b88[_0x530c21(0x275)]),_0x5345dc[_0x530c21(0x1c0)](_0x9b1b88[_0x530c21(0x278)]),_0x5345dc[_0x530c21(0x1e2)](_0x9b1b88['hash']),_0x46870e[_0x530c21(0x1e5)](_0x5345dc),_0x17eff0&&_0x46870e[_0x530c21(0x1e0)](_0x17eff0),new Promise((_0xfcd548,_0x234215)=>{const _0x3cae08=_0x530c21;this['client']['testSessionEvent'](_0x46870e,this[_0x3cae08(0x2cd)](),(_0x36a305,_0x245d24)=>{const _0x212de0=_0x3cae08;if(_0x36a305){sdkErrorHandler['handle'](_0x2dc3f3[_0x212de0(0x260)],_0x36a305,this[_0x212de0(0x2b5)],_0x2dc3f3[_0x212de0(0x1ab)]),_0x2dc3f3[_0x212de0(0x2d7)](_0x234215,_0x36a305);return;}this[_0x212de0(0x2b5)]['info'](_0x2dc3f3[_0x212de0(0x1f2)]),_0x2dc3f3[_0x212de0(0x2d7)](_0xfcd548,_0x245d24);});});}catch(_0x1c30d9){sdkErrorHandler['handle'](_0x2dc3f3[_0x530c21(0x260)],_0x1c30d9,this['logger'],_0x2dc3f3[_0x530c21(0x1ab)]);throw _0x1c30d9;}}async[a105_0x32d69d(0x1b2)](_0x49940f){const _0x35de49=a105_0x32d69d,_0x4d533e={'MeBeJ':'TestFrameworkEvent','BdXNd':_0x35de49(0x25a),'CFMwQ':function(_0xd9e11e,_0x67e335){return _0xd9e11e(_0x67e335);},'snWZG':_0x35de49(0x281),'VSjgx':function(_0x3c6e8e,_0x363e5a){return _0x3c6e8e(_0x363e5a);},'BMvFq':'Sending\x20TestFrameworkEvent','kdXRM':_0x35de49(0x24c)};this[_0x35de49(0x2b5)][_0x35de49(0x1b9)](_0x4d533e[_0x35de49(0x19e)]);try{!this[_0x35de49(0x2a1)]&&this[_0x35de49(0x2b5)][_0x35de49(0x1b9)](_0x4d533e['kdXRM']);const {platformIndex:_0x331bd7,testFrameworkName:_0x17bbf4,testFrameworkVersion:_0x455744,testFrameworkState:_0x47e5ea,hookState:_0x963941,startedAt:_0xf063cb,endedAt:_0x5d7944,uuid:_0x516a8f,eventJson:_0x27b1a4,executionContext:_0x50ca09,test_identifier:_0x1cf073}=_0x49940f,_0x2d9b1e=new messages[(_0x35de49(0x2bd))]();_0x2d9b1e[_0x35de49(0x1c1)](this[_0x35de49(0x2c9)]),_0x2d9b1e[_0x35de49(0x2e5)](_0x331bd7),_0x2d9b1e[_0x35de49(0x2fa)](_0x17bbf4),_0x2d9b1e['setTestFrameworkVersion'](_0x455744),_0x2d9b1e[_0x35de49(0x2bb)](_0x47e5ea),_0x2d9b1e[_0x35de49(0x24b)](_0x963941),_0x2d9b1e[_0x35de49(0x1ec)](_0xf063cb),_0x2d9b1e[_0x35de49(0x22d)](_0x5d7944),_0x2d9b1e[_0x35de49(0x2f4)](_0x516a8f),_0x2d9b1e[_0x35de49(0x307)](_0x27b1a4);const _0x2ce8a4=new messages[(_0x35de49(0x1e1))]();return _0x2ce8a4[_0x35de49(0x259)](_0x50ca09['processId']),_0x2ce8a4[_0x35de49(0x1c0)](_0x50ca09['threadId']),_0x2ce8a4[_0x35de49(0x1e2)](_0x50ca09['hash']),_0x2d9b1e[_0x35de49(0x1e5)](_0x2ce8a4),_0x1cf073&&_0x2d9b1e[_0x35de49(0x1e0)](_0x1cf073),new Promise((_0x5447a8,_0x3cee97)=>{const _0x89434c=_0x35de49;this[_0x89434c(0x2a1)][_0x89434c(0x1b2)](_0x2d9b1e,this[_0x89434c(0x2cd)](),(_0x55eeb0,_0x12c187)=>{const _0x21ed42=_0x89434c;if(_0x55eeb0){sdkErrorHandler[_0x21ed42(0x201)](_0x4d533e[_0x21ed42(0x1a9)],_0x55eeb0,this[_0x21ed42(0x2b5)],_0x4d533e['BdXNd']),_0x4d533e[_0x21ed42(0x1fd)](_0x3cee97,_0x55eeb0);return;}this[_0x21ed42(0x2b5)][_0x21ed42(0x1b9)](_0x4d533e['snWZG']),_0x4d533e[_0x21ed42(0x209)](_0x5447a8,_0x12c187);});});}catch(_0x397e90){sdkErrorHandler[_0x35de49(0x201)](_0x4d533e[_0x35de49(0x1a9)],_0x397e90,this[_0x35de49(0x2b5)],_0x4d533e[_0x35de49(0x21f)]);throw _0x397e90;}}async['driverInit'](_0x3aa073){const _0x4d5d95=a105_0x32d69d,_0x10fa00={'IFyYx':_0x4d5d95(0x2eb),'QBkOi':function(_0x31a7ec,_0x33f180){return _0x31a7ec(_0x33f180);},'OqSmr':_0x4d5d95(0x2e2),'hYRrJ':_0x4d5d95(0x26d),'gOOaA':_0x4d5d95(0x24c)};this['logger']['info'](_0x10fa00[_0x4d5d95(0x2fd)]);try{!this['client']&&this[_0x4d5d95(0x2b5)]['info'](_0x10fa00[_0x4d5d95(0x1e6)]);const {platformIndex:_0x169fa1,ref:_0x209cff,userInputParams:_0x9a877c,hubUrl:_0x20e704}=_0x3aa073,_0xdf685e=new messages[(_0x4d5d95(0x2c0))]();return _0xdf685e[_0x4d5d95(0x1c1)](this[_0x4d5d95(0x2c9)]),_0xdf685e[_0x4d5d95(0x2e5)](_0x169fa1),_0xdf685e['setRef'](_0x209cff),_0xdf685e[_0x4d5d95(0x31a)](_0x9a877c),_0xdf685e[_0x4d5d95(0x1c6)](_0x20e704),new Promise((_0x2bf3a0,_0x1d0f19)=>{const _0x29078a=_0x4d5d95,_0x135d60={'jVrKi':_0x10fa00[_0x29078a(0x273)],'YyzSu':function(_0x3d1269,_0x1c3586){const _0x4f2499=_0x29078a;return _0x10fa00[_0x4f2499(0x2d8)](_0x3d1269,_0x1c3586);},'zUDAu':_0x10fa00['OqSmr']};this[_0x29078a(0x2a1)][_0x29078a(0x2f6)](_0xdf685e,this[_0x29078a(0x2cd)](),(_0x3f9dad,_0x13dad8)=>{const _0x1ba2ad=_0x29078a;if(_0x3f9dad){sdkErrorHandler[_0x1ba2ad(0x201)](_0x135d60[_0x1ba2ad(0x237)],_0x3f9dad,this[_0x1ba2ad(0x2b5)]),_0x135d60['YyzSu'](_0x1d0f19,_0x3f9dad);return;}this['logger'][_0x1ba2ad(0x1b9)](_0x135d60['zUDAu']),_0x135d60[_0x1ba2ad(0x2fb)](_0x2bf3a0,_0x13dad8);});});}catch(_0x2b747a){sdkErrorHandler[_0x4d5d95(0x201)](_0x10fa00[_0x4d5d95(0x273)],_0x2b747a,this[_0x4d5d95(0x2b5)]);throw _0x2b747a;}}async[a105_0x32d69d(0x1c5)](_0x45b22b){const _0x11bc9f=a105_0x32d69d,_0x46155f={'GtsBx':function(_0x559dfc,_0x49d94b){return _0x559dfc===_0x49d94b;},'qpqOo':_0x11bc9f(0x204),'zFIsC':'number','zcqUy':function(_0x558a0a,_0x478ee3){return _0x558a0a>=_0x478ee3;},'ieBup':_0x11bc9f(0x235),'BHypW':_0x11bc9f(0x25a),'NWmXD':function(_0x2bb6e1,_0x2ea1a7){return _0x2bb6e1(_0x2ea1a7);},'VHHIn':_0x11bc9f(0x2ec),'FUAMu':_0x11bc9f(0x2d3),'eGimC':_0x11bc9f(0x24c)};this['logger'][_0x11bc9f(0x1b9)](_0x46155f[_0x11bc9f(0x288)]);try{!this[_0x11bc9f(0x2a1)]&&this[_0x11bc9f(0x2b5)][_0x11bc9f(0x1b9)](_0x46155f[_0x11bc9f(0x229)]);const {platformIndex:_0x4a245d,logs:_0x322e46}=_0x45b22b,_0x4687f0=new messages['LogCreatedEventRequest']();_0x4687f0['setBinSessionId'](this[_0x11bc9f(0x2c9)]),_0x4687f0[_0x11bc9f(0x2e5)](_0x4a245d);const _0xaf737c=_0x45b22b['testFrameworkName'],_0x4a086f=_0x45b22b[_0x11bc9f(0x208)],_0x6c4929=_0x45b22b[_0x11bc9f(0x282)];return _0x322e46['forEach'](_0x526093=>{const _0xd31149=_0x11bc9f,_0x2fa2ec=new messages[(_0xd31149(0x19b))][(_0xd31149(0x2c6))]();_0x2fa2ec['setTestFrameworkName'](_0xaf737c),_0x2fa2ec[_0xd31149(0x215)](_0x4a086f),_0x2fa2ec['setTestFrameworkState'](_0x6c4929),_0x2fa2ec['setTimestamp'](_0x526093[_0xd31149(0x213)]);if(_0x46155f[_0xd31149(0x2b3)](_0x526093[_0xd31149(0x314)],PLAYWRIGHT_TRACE_LOGS))_0x2fa2ec[_0xd31149(0x2f4)](_0x526093[_0xd31149(0x2bc)]),_0x2fa2ec['setMessage'](new TextEncoder()[_0xd31149(0x231)](JSON['stringify'](_0x526093)));else{if(_0x526093[_0xd31149(0x1c7)])_0x2fa2ec[_0xd31149(0x2f4)](_0x46155f[_0xd31149(0x236)]);else{if(_0x526093[_0xd31149(0x25b)])_0x2fa2ec['setUuid'](_0x526093[_0xd31149(0x25b)]);else _0x526093[_0xd31149(0x1a5)]&&_0x2fa2ec['setUuid'](_0x526093[_0xd31149(0x1a5)]);}_0x2fa2ec[_0xd31149(0x2b4)](new TextEncoder()['encode'](_0x526093[_0xd31149(0x1ee)]));}_0x2fa2ec['setKind'](_0x526093[_0xd31149(0x21e)]),_0x2fa2ec['setLevel'](_0x526093['level']),_0x2fa2ec[_0xd31149(0x1cc)](_0x526093?.[_0xd31149(0x2f2)]||''),_0x2fa2ec[_0xd31149(0x28f)](_0x526093?.[_0xd31149(0x2c7)]||''),_0x2fa2ec[_0xd31149(0x269)](_0x526093?.[_0xd31149(0x298)]||0x0),_0x2fa2ec['setAttachmentType'](_0x526093?.['attachment_type']||''),_0x526093[_0xd31149(0x1c7)]&&_0x2fa2ec[_0xd31149(0x1e0)](_0x526093[_0xd31149(0x1c7)]),_0x46155f[_0xd31149(0x2b3)](typeof _0x526093[_0xd31149(0x1dc)],_0x46155f[_0xd31149(0x28b)])&&Number[_0xd31149(0x2a6)](_0x526093[_0xd31149(0x1dc)])&&_0x46155f[_0xd31149(0x2ba)](_0x526093['duration'],0x0)&&_0x2fa2ec[_0xd31149(0x1ce)](Math[_0xd31149(0x1f5)](_0x526093[_0xd31149(0x1dc)])),_0x4687f0[_0xd31149(0x279)](_0x2fa2ec);}),new Promise((_0x5915f3,_0x28cafa)=>{const _0x41cbc9=_0x11bc9f;this[_0x41cbc9(0x2a1)][_0x41cbc9(0x1c5)](_0x4687f0,this['getCallOptions'](),(_0x3d572c,_0x14b083)=>{const _0x316d2a=_0x41cbc9;if(_0x3d572c){sdkErrorHandler['handle'](_0x46155f[_0x316d2a(0x2c5)],_0x3d572c,this[_0x316d2a(0x2b5)],_0x46155f[_0x316d2a(0x272)]),_0x46155f['NWmXD'](_0x28cafa,_0x3d572c);return;}this[_0x316d2a(0x2b5)][_0x316d2a(0x1b9)](_0x46155f[_0x316d2a(0x248)]),_0x46155f[_0x316d2a(0x1a8)](_0x5915f3,_0x14b083);});});}catch(_0x1d7da9){sdkErrorHandler[_0x11bc9f(0x201)](_0x46155f['ieBup'],_0x1d7da9,this[_0x11bc9f(0x2b5)],_0x46155f['BHypW']);throw _0x1d7da9;}}async['fetchDriverExecuteParamsEvent'](_0x13e97f,_0x247787,_0x12032a,_0x105477=null){const _0x5a4709=a105_0x32d69d,_0x12f419={'xavCU':_0x5a4709(0x311),'NMdgI':_0x5a4709(0x25a),'dvypA':function(_0xf38f9a,_0x6d8544){return _0xf38f9a(_0x6d8544);},'bOPUo':function(_0x52947f,_0x545ba5){return _0x52947f(_0x545ba5);},'dDXbJ':function(_0x540590,_0x32d552){return _0x540590||_0x32d552;},'LYWkS':_0x5a4709(0x296),'qBOPM':_0x5a4709(0x302)};this['logger'][_0x5a4709(0x25a)](_0x5a4709(0x1cf)+_0x13e97f+',\x20product='+_0x247787+_0x5a4709(0x303)+_0x12032a+_0x5a4709(0x1db)+_0x12f419[_0x5a4709(0x2b1)](_0x105477,_0x12f419[_0x5a4709(0x1fa)]));try{if(!this[_0x5a4709(0x2a1)])return this['logger'][_0x5a4709(0x25a)](_0x12f419[_0x5a4709(0x2e1)]),null;const _0x5c0bd8=new messages['FetchDriverExecuteParamsEventRequest']();return _0x5c0bd8[_0x5a4709(0x1c1)](_0x13e97f),_0x5c0bd8[_0x5a4709(0x232)](_0x247787),_0x5c0bd8[_0x5a4709(0x28d)](_0x12032a),_0x105477&&(_0x5c0bd8[_0x5a4709(0x1e0)](_0x105477),this[_0x5a4709(0x2b5)][_0x5a4709(0x25a)](_0x5a4709(0x2c3)+_0x105477+_0x5a4709(0x1eb)+_0x247787+',\x20scriptName='+_0x12032a)),await new Promise(_0x2b65f0=>{const _0x2fc7be=_0x5a4709,_0x4f28cc={'ZTSzc':_0x12f419[_0x2fc7be(0x242)],'FhJoD':_0x12f419[_0x2fc7be(0x2a9)],'yWltZ':function(_0x1da784,_0x5aa942){return _0x12f419['dvypA'](_0x1da784,_0x5aa942);},'ZBjuN':function(_0x236011,_0x16881f){return _0x12f419['bOPUo'](_0x236011,_0x16881f);}};this[_0x2fc7be(0x2a1)][_0x2fc7be(0x1f4)](_0x5c0bd8,this[_0x2fc7be(0x2cd)](),(_0x4b9d8b,_0x23d1e5)=>{const _0x2c7998=_0x2fc7be;if(_0x4b9d8b){sdkErrorHandler[_0x2c7998(0x201)](_0x4f28cc['ZTSzc'],_0x4b9d8b,this[_0x2c7998(0x2b5)],_0x4f28cc[_0x2c7998(0x257)]),_0x4f28cc[_0x2c7998(0x29e)](_0x2b65f0,null);return;}this[_0x2c7998(0x2b5)][_0x2c7998(0x25a)](_0x2c7998(0x253)+(_0x23d1e5['getSuccess']&&_0x23d1e5['getSuccess']())),_0x4f28cc[_0x2c7998(0x2ff)](_0x2b65f0,_0x23d1e5);});});}catch(_0x435bda){return sdkErrorHandler[_0x5a4709(0x201)](_0x12f419[_0x5a4709(0x242)],_0x435bda,this[_0x5a4709(0x2b5)],_0x12f419[_0x5a4709(0x2a9)]),null;}}async[a105_0x32d69d(0x234)](_0x3dd786){const _0x5821b6=a105_0x32d69d,_0x5906d2={'ZgVlt':function(_0x535386,_0x346090){return _0x535386(_0x346090);},'soiuI':_0x5821b6(0x2ab),'mnNco':function(_0x53f2b8,_0x1de2a7){return _0x53f2b8(_0x1de2a7);},'KwdAP':_0x5821b6(0x302),'eDDEs':_0x5821b6(0x212),'XAcHu':_0x5821b6(0x25a)};this[_0x5821b6(0x2b5)]['debug'](_0x5821b6(0x239)+_0x3dd786);try{if(!this[_0x5821b6(0x2a1)])return this[_0x5821b6(0x2b5)][_0x5821b6(0x25a)](_0x5906d2[_0x5821b6(0x27f)]),null;const _0xe69ba3=new messages[(_0x5821b6(0x23c))]();_0xe69ba3[_0x5821b6(0x1c1)](this['binSessionId']),_0xe69ba3[_0x5821b6(0x1ff)](_0x3dd786);const _0x5d4a38=await new Promise((_0x309ffa,_0x50aaee)=>{const _0x10573c=_0x5821b6;this['client'][_0x10573c(0x234)](_0xe69ba3,this[_0x10573c(0x2cd)](),(_0x505eb4,_0x1f2438)=>{const _0x5a4ee3=_0x10573c;if(_0x505eb4){_0x5906d2[_0x5a4ee3(0x1d3)](_0x50aaee,_0x505eb4);return;}this[_0x5a4ee3(0x2b5)]['debug'](_0x5906d2[_0x5a4ee3(0x1b5)]),_0x5906d2['mnNco'](_0x309ffa,_0x1f2438);});});return _0x5d4a38;}catch(_0x2f5a18){return sdkErrorHandler['handle'](_0x5906d2[_0x5821b6(0x283)],_0x2f5a18,this[_0x5821b6(0x2b5)],_0x5906d2['XAcHu']),null;}}async[a105_0x32d69d(0x2a5)](){const _0x1a9689=a105_0x32d69d,_0x462b18={'PaRsh':function(_0x59f037,_0x544340){return _0x59f037(_0x544340);},'ZUPta':_0x1a9689(0x1ac),'AzHtu':function(_0x18dd35,_0x42ba28){return _0x18dd35(_0x42ba28);},'QHnEF':_0x1a9689(0x2a2),'TPIBR':_0x1a9689(0x302),'PIbfv':_0x1a9689(0x2c4),'Vrnux':_0x1a9689(0x25a)};this['logger']['debug'](_0x462b18[_0x1a9689(0x20e)]);try{if(!this['client'])return this['logger']['debug'](_0x462b18['TPIBR']),null;const _0x5cdb9c=new messages[(_0x1a9689(0x1dd))]();_0x5cdb9c[_0x1a9689(0x1c1)](this[_0x1a9689(0x2c9)]);const _0x5ba44c=await new Promise((_0x419a9c,_0x57971a)=>{const _0x157b9a=_0x1a9689,_0xf580b4={'xfrWn':function(_0x57797b,_0x334106){const _0x488421=a105_0x4970;return _0x462b18[_0x488421(0x1c4)](_0x57797b,_0x334106);},'xfKKI':_0x462b18[_0x157b9a(0x316)],'Snnls':function(_0x518d3b,_0xffc4dd){const _0x35854d=_0x157b9a;return _0x462b18[_0x35854d(0x270)](_0x518d3b,_0xffc4dd);}};this[_0x157b9a(0x2a1)][_0x157b9a(0x2a5)](_0x5cdb9c,this[_0x157b9a(0x2cd)](),(_0x528cde,_0x101da7)=>{const _0x803a2d=_0x157b9a;if(_0x528cde){_0xf580b4[_0x803a2d(0x300)](_0x57971a,_0x528cde);return;}this[_0x803a2d(0x2b5)]['debug'](_0xf580b4[_0x803a2d(0x262)]),_0xf580b4['Snnls'](_0x419a9c,_0x101da7);});});return _0x5ba44c;}catch(_0x26e588){return sdkErrorHandler[_0x1a9689(0x201)](_0x462b18[_0x1a9689(0x2f0)],_0x26e588,this[_0x1a9689(0x2b5)],_0x462b18[_0x1a9689(0x211)]),null;}}async[a105_0x32d69d(0x2ee)](){const _0x40b421=a105_0x32d69d,_0x5efba7={'AiENk':'TestCafeConfig','isQos':function(_0x39cdd2,_0x4be10b){return _0x39cdd2(_0x4be10b);},'GAskT':'Calling\x20TestCafeConfig','pSvPf':function(_0x74a98f,_0x4af5f2){return _0x74a98f!==_0x4af5f2;},'OVYhX':_0x40b421(0x21d),'WnNuU':function(_0x206353,_0x76e95f){return _0x206353+_0x76e95f;},'pFzlA':_0x40b421(0x295),'ltGAZ':_0x40b421(0x2e9),'ejmgW':function(_0x377a9c,_0x411725){return _0x377a9c+_0x411725;},'BGpjr':function(_0x212f58,_0x4ceffb){return _0x212f58+_0x4ceffb;},'ccvtA':_0x40b421(0x2de),'nmjtp':_0x40b421(0x241),'jSHjP':_0x40b421(0x1c2),'cfJOz':_0x40b421(0x23d)};this[_0x40b421(0x2b5)]['info'](_0x5efba7['GAskT']);if(_0x5efba7[_0x40b421(0x1a2)](typeof messages[_0x40b421(0x24e)],_0x5efba7[_0x40b421(0x2dd)]))throw new Error(_0x5efba7[_0x40b421(0x1d7)](_0x5efba7[_0x40b421(0x292)],_0x5efba7['ltGAZ']));if(_0x5efba7[_0x40b421(0x1a2)](typeof this[_0x40b421(0x2a1)][_0x40b421(0x2ee)],_0x5efba7['OVYhX']))throw new Error(_0x5efba7['WnNuU'](_0x5efba7[_0x40b421(0x305)](_0x5efba7[_0x40b421(0x230)](_0x5efba7[_0x40b421(0x2b9)],_0x5efba7[_0x40b421(0x2f3)]),_0x5efba7[_0x40b421(0x1aa)]),_0x5efba7[_0x40b421(0x2df)]));const _0x547c12=new messages[(_0x40b421(0x24e))]();return _0x547c12[_0x40b421(0x1c1)](this[_0x40b421(0x2c9)]),new Promise((_0x281825,_0x4481a2)=>{const _0x126f70=_0x40b421,_0x56282f={'yLQLJ':_0x5efba7[_0x126f70(0x228)],'eIBTj':function(_0xfe74ba,_0x4dcb2f){const _0x591033=_0x126f70;return _0x5efba7[_0x591033(0x1f3)](_0xfe74ba,_0x4dcb2f);}};this[_0x126f70(0x2a1)][_0x126f70(0x2ee)](_0x547c12,this['getCallOptions'](),(_0x1e3f07,_0x38ce33)=>{const _0x48e767=_0x126f70;if(_0x1e3f07){sdkErrorHandler[_0x48e767(0x201)](_0x56282f[_0x48e767(0x28e)],_0x1e3f07,this[_0x48e767(0x2b5)]),_0x56282f[_0x48e767(0x28c)](_0x4481a2,_0x1e3f07);return;}_0x56282f[_0x48e767(0x28c)](_0x281825,_0x38ce33);});});}[a105_0x32d69d(0x22c)](){const _0x2ee4f0=a105_0x32d69d;return this[_0x2ee4f0(0x2a1)];}['getChannel'](){const _0x3060bb=a105_0x32d69d;return this[_0x3060bb(0x1b7)];}}function a105_0x4970(_0xa47681,_0x3bc995){const _0x42cdb2=a105_0x42cd();return a105_0x4970=function(_0x49704f,_0x22e53c){_0x49704f=_0x49704f-0x19b;let _0x5210ab=_0x42cdb2[_0x49704f];return _0x5210ab;},a105_0x4970(_0xa47681,_0x3bc995);}module[a105_0x32d69d(0x294)]=GrpcClient;
@@ -1 +1 @@
1
- const a106_0x338128=a106_0x5055;function a106_0x14a3(){const _0x3592c1=['30758830NcmhGw','1324118WXOxNI','926097KncmMj','lastState','5119350RAZHYB','4|0|5|3|2|1','frameworkName','../state/automationFrameworkState','createdAt','split','state','getFrameworkName','5DucuEU','2943437NYAAgL','getState','8064408XGPgtm','exports','8hmmCiV','./trackedInstance','getFrameworkVersion','frameworkVersion','1006448UAPXdu','9uyNXfa','DmIoJ'];a106_0x14a3=function(){return _0x3592c1;};return a106_0x14a3();}function a106_0x5055(_0x7940be,_0x3c3bd2){const _0x14a376=a106_0x14a3();return a106_0x5055=function(_0x50559c,_0x10475d){_0x50559c=_0x50559c-0x1a8;let _0x321a94=_0x14a376[_0x50559c];return _0x321a94;},a106_0x5055(_0x7940be,_0x3c3bd2);}(function(_0x131bd4,_0xa33684){const _0x5b4a7e=a106_0x5055,_0x3a7906=_0x131bd4();while(!![]){try{const _0x2564ec=parseInt(_0x5b4a7e(0x1b8))/0x1+-parseInt(_0x5b4a7e(0x1b0))/0x2*(-parseInt(_0x5b4a7e(0x1b9))/0x3)+-parseInt(_0x5b4a7e(0x1b4))/0x4+parseInt(_0x5b4a7e(0x1ab))/0x5*(parseInt(_0x5b4a7e(0x1bb))/0x6)+-parseInt(_0x5b4a7e(0x1ac))/0x7+parseInt(_0x5b4a7e(0x1ae))/0x8+-parseInt(_0x5b4a7e(0x1b5))/0x9*(parseInt(_0x5b4a7e(0x1b7))/0xa);if(_0x2564ec===_0xa33684)break;else _0x3a7906['push'](_0x3a7906['shift']());}catch(_0x5a8557){_0x3a7906['push'](_0x3a7906['shift']());}}}(a106_0x14a3,0xa41cc));const AutomationFrameworkState=require(a106_0x338128(0x1be)),TrackedInstance=require(a106_0x338128(0x1b1)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x1804b2,_0x2c3e69,_0x311983,_0x258f36){const _0x4620cc=a106_0x338128,_0x5a93e6={};_0x5a93e6[_0x4620cc(0x1b6)]=_0x4620cc(0x1bc);const _0x57783b=_0x5a93e6,_0x497858=_0x57783b[_0x4620cc(0x1b6)][_0x4620cc(0x1a8)]('|');let _0x475b5c=0x0;while(!![]){switch(_0x497858[_0x475b5c++]){case'0':this[_0x4620cc(0x1bd)]=_0x2c3e69;continue;case'1':this[_0x4620cc(0x1bf)]=now['toLocaleString']();continue;case'2':this[_0x4620cc(0x1ba)]=AutomationFrameworkState['NONE'];continue;case'3':this[_0x4620cc(0x1a9)]=_0x258f36;continue;case'4':super(_0x1804b2);continue;case'5':this[_0x4620cc(0x1b3)]=_0x311983;continue;}break;}}[a106_0x338128(0x1aa)](){const _0x3cf1bb=a106_0x338128;return this[_0x3cf1bb(0x1bd)];}[a106_0x338128(0x1b2)](){return this['frameworkVersion'];}[a106_0x338128(0x1ad)](){const _0x53468f=a106_0x338128;return this[_0x53468f(0x1a9)];}['setState'](_0x19bacc){const _0x7de6be=a106_0x338128;this[_0x7de6be(0x1ba)]=this[_0x7de6be(0x1a9)],this[_0x7de6be(0x1a9)]=_0x19bacc;}}module[a106_0x338128(0x1af)]=AutomationFrameworkInstance;
1
+ function a106_0x2241(){const _0x3a3bbc=['frameworkVersion','createdAt','4103cEhRTz','6537252eJWarZ','NONE','1QBJfjW','exports','1013015LsREfB','7tBxvXI','2016fFjFLr','split','../state/automationFrameworkState','lastState','getFrameworkVersion','getState','536950homvwV','GSxkP','27237396srOQAr','setState','1207956iFSBBf','state','13160QSElFf','4eFVpLo','2370UEfVqX'];a106_0x2241=function(){return _0x3a3bbc;};return a106_0x2241();}const a106_0xfd73f=a106_0x5cf2;(function(_0x157ba9,_0x3c5249){const _0x4df4f9=a106_0x5cf2,_0x394148=_0x157ba9();while(!![]){try{const _0x474c1e=parseInt(_0x4df4f9(0x1a7))/0x1*(parseInt(_0x4df4f9(0x1b1))/0x2)+-parseInt(_0x4df4f9(0x19d))/0x3+-parseInt(_0x4df4f9(0x1a0))/0x4*(parseInt(_0x4df4f9(0x1a9))/0x5)+-parseInt(_0x4df4f9(0x1a5))/0x6*(parseInt(_0x4df4f9(0x1aa))/0x7)+parseInt(_0x4df4f9(0x19f))/0x8*(-parseInt(_0x4df4f9(0x1ab))/0x9)+-parseInt(_0x4df4f9(0x1a1))/0xa*(-parseInt(_0x4df4f9(0x1a4))/0xb)+parseInt(_0x4df4f9(0x1b3))/0xc;if(_0x474c1e===_0x3c5249)break;else _0x394148['push'](_0x394148['shift']());}catch(_0x4cbc00){_0x394148['push'](_0x394148['shift']());}}}(a106_0x2241,0x898b6));const AutomationFrameworkState=require(a106_0xfd73f(0x1ad)),TrackedInstance=require('./trackedInstance'),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x40975d,_0x378ea2,_0x211c6a,_0x15376f){const _0x3f3234=a106_0xfd73f,_0x4293cc={};_0x4293cc[_0x3f3234(0x1b2)]='1|3|4|2|5|0';const _0x38da56=_0x4293cc,_0x233ae0=_0x38da56[_0x3f3234(0x1b2)][_0x3f3234(0x1ac)]('|');let _0xb0fd82=0x0;while(!![]){switch(_0x233ae0[_0xb0fd82++]){case'0':this[_0x3f3234(0x1a3)]=now['toLocaleString']();continue;case'1':super(_0x40975d);continue;case'2':this[_0x3f3234(0x19e)]=_0x15376f;continue;case'3':this['frameworkName']=_0x378ea2;continue;case'4':this[_0x3f3234(0x1a2)]=_0x211c6a;continue;case'5':this[_0x3f3234(0x1ae)]=AutomationFrameworkState[_0x3f3234(0x1a6)];continue;}break;}}['getFrameworkName'](){return this['frameworkName'];}[a106_0xfd73f(0x1af)](){const _0x289843=a106_0xfd73f;return this[_0x289843(0x1a2)];}[a106_0xfd73f(0x1b0)](){const _0x320eb0=a106_0xfd73f;return this[_0x320eb0(0x19e)];}[a106_0xfd73f(0x19c)](_0xeb6401){const _0x309078=a106_0xfd73f;this['lastState']=this[_0x309078(0x19e)],this[_0x309078(0x19e)]=_0xeb6401;}}function a106_0x5cf2(_0x20e314,_0x1f1b8f){const _0x2241f9=a106_0x2241();return a106_0x5cf2=function(_0x5cf2a0,_0x5357f7){_0x5cf2a0=_0x5cf2a0-0x19c;let _0x3faecd=_0x2241f9[_0x5cf2a0];return _0x3faecd;},a106_0x5cf2(_0x20e314,_0x1f1b8f);}module[a106_0xfd73f(0x1a8)]=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- function a107_0x1810(){const _0x12ddc8=['has','getAllPendingHookTestIds','split','setCurrentTestState','get','delete','setLastHookState','946476MogOkm','984ZCmYqB','TrackedInstance','27198eCQxiv','370VhizDO','push','pendingHooks','./trackedInstance','lastHookState','../../../helpers/classLogger','53365QaJzAX','set','testFrameworks','getCreatedAt','from','createdAt','getPendingHooks','2OTvUjK','getCurrentTestState','getCurrentHookState','164582jVjemP','../state/hookState','setLastTestState','12PSxvhB','154684SnAprQ','5EImnNL','removePendingHooks','131046MCeEKE','3|0|1|7|5|6|2|8|4','lastTestState','getLastTestState','getLastHookState','./trackedContext','15218okDtJe','currentHookState','NONE','currentTestState','hasPendingHooks'];a107_0x1810=function(){return _0x12ddc8;};return a107_0x1810();}const a107_0x1c3082=a107_0x2894;function a107_0x2894(_0x483f7a,_0x5dd7ed){const _0x1810c4=a107_0x1810();return a107_0x2894=function(_0x289469,_0x2c97d9){_0x289469=_0x289469-0x15c;let _0x424f68=_0x1810c4[_0x289469];return _0x424f68;},a107_0x2894(_0x483f7a,_0x5dd7ed);}(function(_0x9774cb,_0x37fa64){const _0xc3e77f=a107_0x2894,_0x5536c1=_0x9774cb();while(!![]){try{const _0x31dfbd=-parseInt(_0xc3e77f(0x17f))/0x1+parseInt(_0xc3e77f(0x186))/0x2*(-parseInt(_0xc3e77f(0x163))/0x3)+-parseInt(_0xc3e77f(0x160))/0x4*(-parseInt(_0xc3e77f(0x161))/0x5)+-parseInt(_0xc3e77f(0x175))/0x6+-parseInt(_0xc3e77f(0x169))/0x7*(-parseInt(_0xc3e77f(0x176))/0x8)+-parseInt(_0xc3e77f(0x178))/0x9*(-parseInt(_0xc3e77f(0x179))/0xa)+-parseInt(_0xc3e77f(0x15c))/0xb*(parseInt(_0xc3e77f(0x15f))/0xc);if(_0x31dfbd===_0x37fa64)break;else _0x5536c1['push'](_0x5536c1['shift']());}catch(_0xd1ff6d){_0x5536c1['push'](_0x5536c1['shift']());}}}(a107_0x1810,0x242a4));const {createClassLogger}=require(a107_0x1c3082(0x17e)),logger=createClassLogger(a107_0x1c3082(0x177)),HookState=require(a107_0x1c3082(0x15d)),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require(a107_0x1c3082(0x168)),TrackedInstance=require(a107_0x1c3082(0x17c)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x5e3808,_0x2653cc,_0x410196,_0x280914,_0x21cdd7){const _0x525022=a107_0x1c3082,_0x29958c={};_0x29958c['VCErz']=_0x525022(0x164);const _0x318eba=_0x29958c,_0x1ddb1e=_0x318eba['VCErz'][_0x525022(0x170)]('|');let _0x49424d=0x0;while(!![]){switch(_0x1ddb1e[_0x49424d++]){case'0':this[_0x525022(0x181)]=_0x2653cc;continue;case'1':this['testFrameworksVersions']=_0x410196;continue;case'2':this[_0x525022(0x17d)]=HookState[_0x525022(0x16b)];continue;case'3':super(_0x5e3808);continue;case'4':this[_0x525022(0x17b)]=new Map();continue;case'5':this[_0x525022(0x16a)]=_0x21cdd7;continue;case'6':this[_0x525022(0x165)]=TestFrameworkState[_0x525022(0x16b)];continue;case'7':this[_0x525022(0x16c)]=_0x280914;continue;case'8':this['createdAt']=now['toLocaleString']();continue;}break;}}[a107_0x1c3082(0x187)](){const _0x4f7481=a107_0x1c3082;return this[_0x4f7481(0x16c)];}[a107_0x1c3082(0x171)](_0x2c6865){const _0x11011e=a107_0x1c3082;this['setLastTestState'](this['currentTestState']),this[_0x11011e(0x16c)]=_0x2c6865;}[a107_0x1c3082(0x188)](){return this['currentHookState'];}['setCurrentHookState'](_0x210123){const _0x200b73=a107_0x1c3082;this[_0x200b73(0x174)](this[_0x200b73(0x16a)]),this[_0x200b73(0x16a)]=_0x210123;}[a107_0x1c3082(0x166)](){const _0x1e0a4a=a107_0x1c3082;return this[_0x1e0a4a(0x165)];}[a107_0x1c3082(0x15e)](_0xabce7d){const _0x282172=a107_0x1c3082;this[_0x282172(0x165)]=_0xabce7d;}[a107_0x1c3082(0x167)](){const _0x4f8ddf=a107_0x1c3082;return this[_0x4f8ddf(0x17d)];}[a107_0x1c3082(0x174)](_0x4a0cfd){const _0x557994=a107_0x1c3082;this[_0x557994(0x17d)]=_0x4a0cfd;}[a107_0x1c3082(0x182)](){const _0x461475=a107_0x1c3082;return this[_0x461475(0x184)];}['addPendingHook'](_0x3d9ffb,_0xa8f916){const _0x22b704=a107_0x1c3082;!this[_0x22b704(0x17b)][_0x22b704(0x16e)](_0x3d9ffb)&&this[_0x22b704(0x17b)][_0x22b704(0x180)](_0x3d9ffb,[]),this['pendingHooks'][_0x22b704(0x172)](_0x3d9ffb)[_0x22b704(0x17a)](_0xa8f916);}[a107_0x1c3082(0x185)](_0x4e713a){const _0x2d9743=a107_0x1c3082;return this[_0x2d9743(0x17b)][_0x2d9743(0x172)](_0x4e713a)||[];}[a107_0x1c3082(0x162)](_0x69a1db){const _0x401beb=a107_0x1c3082;this['pendingHooks'][_0x401beb(0x173)](_0x69a1db);}[a107_0x1c3082(0x16d)](_0x2beddc){const _0x4126cc=a107_0x1c3082;return this[_0x4126cc(0x17b)]['has'](_0x2beddc);}[a107_0x1c3082(0x16f)](){const _0x1500bd=a107_0x1c3082;return Array[_0x1500bd(0x183)](this['pendingHooks']['keys']());}}module['exports']=TestFrameworkInstance;
1
+ const a107_0x39bd22=a107_0x5a85;(function(_0x9cab1e,_0x36749b){const _0x25852e=a107_0x5a85,_0x23f8eb=_0x9cab1e();while(!![]){try{const _0x557a5c=parseInt(_0x25852e(0xa1))/0x1+-parseInt(_0x25852e(0xb7))/0x2+-parseInt(_0x25852e(0x9a))/0x3+parseInt(_0x25852e(0xb1))/0x4+parseInt(_0x25852e(0xab))/0x5*(parseInt(_0x25852e(0xb9))/0x6)+-parseInt(_0x25852e(0x9d))/0x7+parseInt(_0x25852e(0xa2))/0x8;if(_0x557a5c===_0x36749b)break;else _0x23f8eb['push'](_0x23f8eb['shift']());}catch(_0x2a7c90){_0x23f8eb['push'](_0x23f8eb['shift']());}}}(a107_0x5b44,0xb56d3));const {createClassLogger}=require(a107_0x39bd22(0xbb)),logger=createClassLogger('TrackedInstance'),HookState=require(a107_0x39bd22(0xa9)),TestFrameworkState=require(a107_0x39bd22(0xa5)),TrackedContext=require(a107_0x39bd22(0xad)),TrackedInstance=require('./trackedInstance'),now=new Date();function a107_0x5a85(_0x18510a,_0x47b68e){const _0x5b44ee=a107_0x5b44();return a107_0x5a85=function(_0x5a85ec,_0x2acc6a){_0x5a85ec=_0x5a85ec-0x94;let _0x21e5f2=_0x5b44ee[_0x5a85ec];return _0x21e5f2;},a107_0x5a85(_0x18510a,_0x47b68e);}function a107_0x5b44(){const _0x2ad0dc=['getAllPendingHookTestIds','from','1052553lzXAQW','NONE','getCurrentHookState','3976210YGFIJF','testFrameworksVersions','split','push','23604riUpkT','11255920jZaxwA','setLastTestState','removePendingHooks','../state/testFrameworkState','keys','addPendingHook','exports','../state/hookState','createdAt','5600295cbIWFk','toLocaleString','./trackedContext','lastTestState','currentHookState','get','1911772LKCkxb','has','getCurrentTestState','getPendingHooks','getLastTestState','setCurrentTestState','2733184OGfClj','pendingHooks','6sdeMVk','set','../../../helpers/classLogger','currentTestState','lastHookState','delete','setLastHookState','ysLjQ'];a107_0x5b44=function(){return _0x2ad0dc;};return a107_0x5b44();}class TestFrameworkInstance extends TrackedInstance{constructor(_0x205a74,_0x21fd42,_0x39c6f2,_0x4d43ee,_0xcd2ce6){const _0xd51904=a107_0x39bd22,_0x4781e3={};_0x4781e3[_0xd51904(0x97)]='1|0|2|6|5|8|3|4|7';const _0x5400a3=_0x4781e3,_0x1d19d1=_0x5400a3[_0xd51904(0x97)][_0xd51904(0x9f)]('|');let _0x5f5b5a=0x0;while(!![]){switch(_0x1d19d1[_0x5f5b5a++]){case'0':this['testFrameworks']=_0x21fd42;continue;case'1':super(_0x205a74);continue;case'2':this[_0xd51904(0x9e)]=_0x39c6f2;continue;case'3':this[_0xd51904(0x94)]=HookState['NONE'];continue;case'4':this[_0xd51904(0xaa)]=now[_0xd51904(0xac)]();continue;case'5':this[_0xd51904(0xaf)]=_0xcd2ce6;continue;case'6':this['currentTestState']=_0x4d43ee;continue;case'7':this['pendingHooks']=new Map();continue;case'8':this[_0xd51904(0xae)]=TestFrameworkState[_0xd51904(0x9b)];continue;}break;}}[a107_0x39bd22(0xb3)](){const _0x3f506a=a107_0x39bd22;return this[_0x3f506a(0xbc)];}[a107_0x39bd22(0xb6)](_0x504e41){const _0x4781ba=a107_0x39bd22;this[_0x4781ba(0xa3)](this[_0x4781ba(0xbc)]),this[_0x4781ba(0xbc)]=_0x504e41;}[a107_0x39bd22(0x9c)](){return this['currentHookState'];}['setCurrentHookState'](_0x4568ce){this['setLastHookState'](this['currentHookState']),this['currentHookState']=_0x4568ce;}[a107_0x39bd22(0xb5)](){return this['lastTestState'];}[a107_0x39bd22(0xa3)](_0x18f54d){const _0x1e0442=a107_0x39bd22;this[_0x1e0442(0xae)]=_0x18f54d;}['getLastHookState'](){return this['lastHookState'];}[a107_0x39bd22(0x96)](_0x336be3){const _0x2bae53=a107_0x39bd22;this[_0x2bae53(0x94)]=_0x336be3;}['getCreatedAt'](){const _0x7c16fa=a107_0x39bd22;return this[_0x7c16fa(0xaa)];}[a107_0x39bd22(0xa7)](_0x4f67c7,_0x571fb3){const _0x5718d5=a107_0x39bd22;!this['pendingHooks'][_0x5718d5(0xb2)](_0x4f67c7)&&this[_0x5718d5(0xb8)][_0x5718d5(0xba)](_0x4f67c7,[]),this[_0x5718d5(0xb8)][_0x5718d5(0xb0)](_0x4f67c7)[_0x5718d5(0xa0)](_0x571fb3);}[a107_0x39bd22(0xb4)](_0x5531bc){const _0x2d7501=a107_0x39bd22;return this[_0x2d7501(0xb8)][_0x2d7501(0xb0)](_0x5531bc)||[];}[a107_0x39bd22(0xa4)](_0x3c9076){const _0x515224=a107_0x39bd22;this['pendingHooks'][_0x515224(0x95)](_0x3c9076);}['hasPendingHooks'](_0x56b97e){const _0x339e93=a107_0x39bd22;return this[_0x339e93(0xb8)][_0x339e93(0xb2)](_0x56b97e);}[a107_0x39bd22(0x98)](){const _0x52335e=a107_0x39bd22;return Array[_0x52335e(0x99)](this[_0x52335e(0xb8)][_0x52335e(0xa6)]());}}module[a107_0x39bd22(0xa8)]=TestFrameworkInstance;