browserstack-node-sdk 1.36.7 → 1.37.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 (174) 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 -66
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -0
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  69. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  70. package/src/bin/mocha/command.js +1 -1
  71. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  72. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  73. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  74. package/src/bin/mocha/test.setup.js +1 -1
  75. package/src/bin/nightwatch/command.js +1 -1
  76. package/src/bin/playwright/accessibility-helper.js +1 -1
  77. package/src/bin/playwright/command.js +1 -1
  78. package/src/bin/playwright/globalSetup.js +1 -1
  79. package/src/bin/playwright/mock-process.js +1 -1
  80. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  81. package/src/bin/playwright/patches.js +1 -1
  82. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  83. package/src/bin/playwright/reporter/reporter.js +1 -1
  84. package/src/bin/playwright/reporter/test-details.js +1 -1
  85. package/src/bin/playwright/sessionDetails.js +1 -1
  86. package/src/bin/runner.js +1 -1
  87. package/src/bin/setup.js +1 -1
  88. package/src/bin/test-runner/index.js +1 -1
  89. package/src/bin/test-runner/runTest.js +1 -1
  90. package/src/bin/test-runner/testWorker.js +1 -1
  91. package/src/bin/utils/constants.js +1 -1
  92. package/src/bin/utils/log4jsAppender.js +1 -1
  93. package/src/bin/utils/logPatcher.js +1 -1
  94. package/src/bin/utils/logReportingAPI.js +1 -1
  95. package/src/bin/v2/TestInfo.js +1 -1
  96. package/src/bin/v2/browserstackCLI.js +1 -1
  97. package/src/bin/v2/cliUtils.js +1 -1
  98. package/src/bin/v2/customTagManager.js +1 -1
  99. package/src/bin/v2/eventDispatcher.js +1 -1
  100. package/src/bin/v2/framework/automationFramework.js +1 -1
  101. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  102. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  103. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  104. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  105. package/src/bin/v2/framework/testFramework.js +1 -1
  106. package/src/bin/v2/grpcClient.js +1 -1
  107. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  108. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  109. package/src/bin/v2/instances/trackedContext.js +1 -1
  110. package/src/bin/v2/instances/trackedInstance.js +1 -1
  111. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  112. package/src/bin/v2/modules/baseModule.js +1 -1
  113. package/src/bin/v2/modules/observabilityModule.js +1 -1
  114. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  115. package/src/bin/v2/modules/testhubModule.js +1 -1
  116. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  117. package/src/bin/v2/state/hookState.js +1 -1
  118. package/src/bin/v2/state/testFrameworkState.js +1 -1
  119. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  120. package/src/bin/vanilla-js/command.js +1 -1
  121. package/src/browserStackSdk.js +1 -1
  122. package/src/helpers/BrowserStackSetup.js +1 -1
  123. package/src/helpers/accessibility-automation/constants.js +1 -1
  124. package/src/helpers/accessibility-automation/helper.js +1 -1
  125. package/src/helpers/accessibility-automation/scripts.js +1 -1
  126. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  127. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  128. package/src/helpers/ats/constants.js +1 -1
  129. package/src/helpers/ats/helper.js +1 -1
  130. package/src/helpers/capsMapping.js +1 -1
  131. package/src/helpers/central-scanner/constants.js +1 -1
  132. package/src/helpers/central-scanner/helpers.js +1 -1
  133. package/src/helpers/classLogger.js +1 -1
  134. package/src/helpers/globals.js +1 -1
  135. package/src/helpers/helper.js +1 -1
  136. package/src/helpers/logger.js +1 -1
  137. package/src/helpers/metadata.js +1 -1
  138. package/src/helpers/patchHelper.js +1 -1
  139. package/src/helpers/patchHelpers.js +1 -1
  140. package/src/helpers/percy/Percy.js +1 -1
  141. package/src/helpers/percy/PercyBinary.js +1 -1
  142. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  143. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  144. package/src/helpers/percy/PercySDK.js +1 -1
  145. package/src/helpers/percy/index.js +1 -1
  146. package/src/helpers/percy/utils.js +1 -1
  147. package/src/helpers/performance/constants.js +1 -1
  148. package/src/helpers/performance/performance-tester.js +1 -1
  149. package/src/helpers/processHelper.js +1 -1
  150. package/src/helpers/request-spy.js +1 -1
  151. package/src/helpers/setKeepAlive.js +1 -1
  152. package/src/helpers/test-observability/constants.js +1 -1
  153. package/src/helpers/test-observability/error-handler.js +1 -1
  154. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  155. package/src/helpers/test-observability/sessionHandler.js +1 -1
  156. package/src/helpers/test-observability/utils.js +1 -1
  157. package/src/helpers/test-orchestration/constants.js +1 -0
  158. package/src/helpers/test-orchestration/failfastManager.js +1 -0
  159. package/src/helpers/test-orchestration/fileHelper.js +1 -0
  160. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
  161. package/src/helpers/test-orchestration/requestUtils.js +1 -0
  162. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
  163. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
  164. package/src/helpers/testhub/constants.js +1 -1
  165. package/src/helpers/testhub/testhubHandler.js +1 -1
  166. package/src/helpers/testhub/utils.js +1 -1
  167. package/src/helpers/timeoutPromise.js +1 -1
  168. package/src/helpers/utilities.js +1 -1
  169. package/src/helpers/w3cMapping.js +1 -1
  170. package/src/hubAllocationMethods.js +1 -1
  171. package/src/index.js +1 -1
  172. package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
  173. package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
  174. package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
@@ -1 +1 @@
1
- function a62_0x508f(){const _0x2e1aae=['file_name','KEY_TEST_ID','../../playwright/reporter/pwUtils','Error\x20processing\x20trace\x20file\x20','gwYjI','isArray','getId','kMStD','LZRHy','KEY_HOOK_RESULT','test','INIT_TEST','420117vUTRrJ','getRef','passed','kZViP','GjZMX','../../../helpers/test-observability/utils','../cliUtils.js','eqNTM','KEY_TEST_FILE_PATH','setTrackedInstance','../../../helpers/helper.js','\x20payload=','logCreatedEvent','parsePlaywrightTestResult','qJFdZ','soVQq','KEY_TEST_NAME','setTestDetails','path','elRxR','TEST','\x20instanceId=','\x20target=','get','runHooks','KEY_TEST_TAGS','KEY_TEST_LOGS','KEY_LOGS','KEY_HOOK_LAST_STARTED','52418Obwbff','\x20from\x20TestDetails:\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_ATTACHMENTS','getTestFrameworks','587104exfxlm','getTestFrameworksVersions','statSync','errors','DEFAULT_TEST_RESULT','title','filter','instance','hook','KEY_TEST_FRAMEWORK_VERSION','iqbKN','KEY_CUSTOM_TAGS','../grpcClient','expectedStatus','KEY_EVENT_STARTED_AT','inspect','2919HvEDll','error','timedOut','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_SCOPES','field_type','XzMtb','NONE','133020cFkVLp','KEY_HOOK_ID','PlaywrightTestFramework','trackPlaywrightInstance','result','filePath','Gabwh','failed','./testFramework','qEIGA','trackEvent','JNHOS','iKgAx','POST','\x20testHookState=','TIkoJ','uuid','WZNqm','765mRNcYu','addMultipleEntries','../state/hookState.js','Yhbcn','jrNRa','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','QxvOg','aLADu','KEY_TEST_RERUN_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_EVENT_ENDED_AT','EvERc','KEY_TEST_STARTED_AT','trim','QthGt','lXhfW','getTestUUID','ZEwxx','startTime','../state/testFrameworkState.js','size','forEach','ZxMaR','HrdnB','KEY_TEST_UUID','hreQi','results','KEY_TEST_RESULT','700vLfFch','parsePlaywrightTest','2690322cWrvtE','format','Hook\x20List\x20in\x20Post\x20','getInstance','pop','description','DEFAULT_HOOK_RESULT','pgyAR','err','ZwLIo','exports','getAllData','KEY_TEST_FRAMEWORK_NAME','basename','wfibS','debug','riFJw','getTrackedInstance','KEY_HOOK_LAST_FINISHED','info','split','resolveInstance','TEST_ATTACHMENT','KEY_HOOK_LOGS','PRE','matchHookRegex','KEY_TEST_CODE','push','parsePlaywrightTestResult:\x20testId=','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','yIhFl','KEY_HOOK_FAILURE','KEY_HOOKS_FINISHED','osVSw','toISOString','oaTdI','LnTFY','trackEvent:\x20found\x20instance,\x20testFrameworkState=','pJflZ','\x20&\x20hook\x20=\x20','some','sendLogCreatedEvent','TfYeY','hzzJY','ASFoe','KEY_TEST_RESULT_AT','8360PiRGmA','No\x20reason\x20provided','uUoCb','status','toString','getTraceFilePaths','trackHookEvent','Ouuqb','getTestDetails','PLRCu','Expected\x20to\x20fail,\x20but\x20passed.','../../utils/constants','KEY_TEST_LOCATION','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','message','6GvFMjn','GmTFg','steps','\x20instance=','values','KEY_HOOKS_STARTED','Error\x20processing\x20direct\x20trace\x20file\x20','YqxiD','yRzfh','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','uRIfQ','length','ctHmy','sendLogCreatedEvent:\x20testId=','step','KEY_HOOK_FAILURE_TYPE','oWKjU'];a62_0x508f=function(){return _0x2e1aae;};return a62_0x508f();}function a62_0x3871(_0x196ba0,_0x4a72b6){const _0x508f11=a62_0x508f();return a62_0x3871=function(_0x387149,_0x2a08ca){_0x387149=_0x387149-0xbf;let _0x30d276=_0x508f11[_0x387149];return _0x30d276;},a62_0x3871(_0x196ba0,_0x4a72b6);}const a62_0x1d3ec6=a62_0x3871;(function(_0x1e3841,_0x1804c2){const _0x1768be=a62_0x3871,_0x2d8e65=_0x1e3841();while(!![]){try{const _0x1a4fd9=parseInt(_0x1768be(0xd9))/0x1+parseInt(_0x1768be(0xf6))/0x2*(-parseInt(_0x1768be(0x180))/0x3)+-parseInt(_0x1768be(0xfb))/0x4+parseInt(_0x1768be(0x113))/0x5+parseInt(_0x1768be(0x143))/0x6+-parseInt(_0x1768be(0x10b))/0x7*(parseInt(_0x1768be(0x171))/0x8)+-parseInt(_0x1768be(0x125))/0x9*(-parseInt(_0x1768be(0x141))/0xa);if(_0x1a4fd9===_0x1804c2)break;else _0x2d8e65['push'](_0x2d8e65['shift']());}catch(_0x459dba){_0x2d8e65['push'](_0x2d8e65['shift']());}}}(a62_0x508f,0x40f73));const TestFramework=require(a62_0x1d3ec6(0x11b)),TestFrameworkState=require(a62_0x1d3ec6(0x138)),HookState=require(a62_0x1d3ec6(0x127)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a62_0x1d3ec6(0xdf)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a62_0x1d3ec6(0x115)),{v4:uuidv4}=require(a62_0x1d3ec6(0x123)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a62_0x1d3ec6(0xe3)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a62_0x1d3ec6(0x107)),{removeAnsiColors,getFailureType,failureData}=require(a62_0x1d3ec6(0xde)),{getFailureData,getTestTags}=require(a62_0x1d3ec6(0xcf)),{findNestedKey,sendTraceZip,validateFilePath}=require(a62_0x1d3ec6(0xcf)),path=require(a62_0x1d3ec6(0xeb)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a62_0x1d3ec6(0x17c));class PlaywrightTestFramework extends TestFramework{constructor(_0x6852f3,_0x47c08b,_0x4981f4){super(_0x6852f3,_0x47c08b,_0x4981f4);}async[a62_0x1d3ec6(0x11d)](_0xefa256,_0x1f02dc,_0xe65149={}){const _0x24365e=a62_0x1d3ec6,_0x1724b5={};_0x1724b5['uUoCb']=function(_0x3290fd,_0x176073){return _0x3290fd===_0x176073;},_0x1724b5[_0x24365e(0x167)]=function(_0x4f94c3,_0x2f0cb4){return _0x4f94c3===_0x2f0cb4;},_0x1724b5[_0x24365e(0x13c)]=function(_0x5b7fd4,_0x37d2f1){return _0x5b7fd4===_0x37d2f1;},_0x1724b5[_0x24365e(0xe0)]=_0x24365e(0xd7),_0x1724b5[_0x24365e(0xc8)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0xb5435b=_0x1724b5;await super[_0x24365e(0x11d)](_0xefa256,_0x1f02dc,_0xe65149);const _0x21d170=this[_0x24365e(0x158)](_0xefa256,_0x1f02dc,_0xe65149);if(!_0x21d170)return;logger[_0x24365e(0x152)](_0x24365e(0x168)+_0xefa256+'\x20hookState='+_0x1f02dc+_0x24365e(0xee)+_0x21d170[_0x24365e(0xda)]());try{if(_0xb5435b[_0x24365e(0x173)](_0x1f02dc,HookState[_0x24365e(0x15b)])&&_0xb5435b[_0x24365e(0x173)](_0xefa256,TestFrameworkState[_0x24365e(0xed)])){const _0x5ed3ec=_0xe65149['test'];logger[_0x24365e(0x152)](_0x24365e(0xf8)+_0x5ed3ec['id']+'}');const _0x5e3dd3=TestInfo[_0x24365e(0x135)](_0x5ed3ec['id']);_0x21d170[_0x24365e(0x126)](this[_0x24365e(0x142)](_0x5e3dd3,_0x5ed3ec)),logger[_0x24365e(0x152)](_0x24365e(0x160)+_0x5ed3ec['id']+',\x20testFrameworkState='+_0xefa256+_0x24365e(0x121)+_0x1f02dc+_0x24365e(0xbf)+_0x21d170[_0x24365e(0xda)]());}if(_0xb5435b['LnTFY'](_0x1f02dc,HookState['POST'])&&_0xb5435b[_0x24365e(0x13c)](_0xefa256,TestFrameworkState[_0x24365e(0xed)])){const _0x1fbbe3=_0xe65149['test'],_0x7a6dda=_0xe65149[_0x24365e(0x117)];logger[_0x24365e(0x152)](_0x24365e(0xc5)+_0x1fbbe3['id']),_0x21d170[_0x24365e(0x126)](this[_0x24365e(0xe6)](_0x1fbbe3['id'],_0x7a6dda,_0x1fbbe3)),this[_0x24365e(0x16c)](_0x21d170,_0xefa256,_0x1f02dc,_0xb5435b[_0x24365e(0xe0)],_0xe65149);}if(CLIUtils[_0x24365e(0x15c)](_0xefa256[_0x24365e(0x175)]()[_0x24365e(0x157)]('.')[0x1])){const _0x432a68=await this['trackHookEvent'](_0x21d170,_0xefa256,_0x1f02dc,_0xe65149);_0x21d170['addMultipleEntries'](_0x432a68);}}catch(_0x63fde4){logger[_0x24365e(0x10c)](util[_0x24365e(0x144)](_0xb5435b[_0x24365e(0xc8)],_0xefa256,_0x1f02dc,_0xe65149[_0x24365e(0xc7)],_0x63fde4));}_0xe65149[_0x24365e(0x102)]=_0x21d170,await this[_0x24365e(0xf1)](_0x21d170,_0xefa256,_0x1f02dc,_0xe65149);}[a62_0x1d3ec6(0x158)](_0x5e4162,_0x51cd9c,_0xe5b57f={}){const _0x4bd4cb=a62_0x1d3ec6,_0x33e9ce={};_0x33e9ce[_0x4bd4cb(0x14c)]=function(_0x473e87,_0x4c3684){return _0x473e87===_0x4c3684;};const _0x3d4301=_0x33e9ce;let _0x5dcaf4=null;return(_0x3d4301[_0x4bd4cb(0x14c)](_0x5e4162,TestFrameworkState[_0x4bd4cb(0xd8)])||_0x3d4301[_0x4bd4cb(0x14c)](_0x5e4162,TestFrameworkState[_0x4bd4cb(0x112)]))&&this[_0x4bd4cb(0x116)](_0x5e4162,_0xe5b57f),_0x5dcaf4=TestFramework[_0x4bd4cb(0x154)](),_0x5dcaf4;}[a62_0x1d3ec6(0x116)](_0x9105e7,_0x3b5e66){const _0x35865a=a62_0x1d3ec6,_0x25af01=CLIUtils['getCurrentInstanceName'](),_0x3708ca=TrackedInstance['createContext'](_0x25af01);let _0x3c219c=null;logger[_0x35865a(0x156)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x25af01+',\x20state='+_0x9105e7),_0x3c219c=new TestFrameworkInstance(_0x3708ca,this[_0x35865a(0xfa)](),this[_0x35865a(0xfc)](),_0x9105e7,HookState['NONE']),TestFramework[_0x35865a(0xe2)](_0x3708ca,_0x3c219c),logger[_0x35865a(0x156)](_0x35865a(0x17e)+_0x3708ca[_0x35865a(0xd3)]()+_0x35865a(0xef)+_0x25af01);}['parsePlaywrightTest'](_0x13e4bc,_0x30952a){const _0x36a418=a62_0x1d3ec6,_0xf3c988={'GmTFg':function(_0x10e937,_0x2ba76e){return _0x10e937(_0x2ba76e);},'Gabwh':function(_0x387216,_0x109ac0){return _0x387216(_0x109ac0);},'pgyAR':function(_0x213563,_0x766571){return _0x213563(_0x766571);},'oaTdI':function(_0x3c9150,_0x28ac16){return _0x3c9150(_0x28ac16);}},_0x178898=_0xf3c988['GmTFg'](getPlaywrightTestId,_0x30952a),_0x5783ef=_0xf3c988[_0x36a418(0x119)](getPlaywrightTestTitle,_0x30952a),_0x5a99ba=_0xf3c988['GmTFg'](getTestTags,_0x30952a),_0x30c40b=_0xf3c988[_0x36a418(0x14a)](getPlaywrightTestCode,_0x30952a),_0x2546ea=_0xf3c988[_0x36a418(0x119)](getPlaywrightTestFilePath,_0x30952a),_0x2286bf=_0x2546ea+':'+_0xf3c988['GmTFg'](getPlaywrightTestLocation,_0x30952a),_0x41373d=_0xf3c988[_0x36a418(0x119)](getPlaywrightTestScope,_0x30952a),_0x31999e=_0xf3c988[_0x36a418(0x181)](getPlaywrightTestScopes,_0x30952a),_0xf83d27=_0xf3c988[_0x36a418(0x166)](getPlaywrightSessionName,_0x30952a),_0x166070=this['getTestFrameworks']()[0x0],_0x18c564={[TestFrameworkConstants[_0x36a418(0x14f)]]:_0x166070,[TestFrameworkConstants[_0x36a418(0x104)]]:this[_0x36a418(0xfc)]()[_0x166070],[TestFrameworkConstants[_0x36a418(0xf3)]]:[],[TestFrameworkConstants[_0x36a418(0x163)]]:{},[TestFrameworkConstants[_0x36a418(0xc1)]]:{},[TestFrameworkConstants[_0x36a418(0x13d)]]:_0x13e4bc,[TestFrameworkConstants[_0x36a418(0x140)]]:TestFrameworkConstants[_0x36a418(0xff)],[TestFrameworkConstants[_0x36a418(0x10e)]]:_0xf83d27,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2546ea,[TestFrameworkConstants[_0x36a418(0xce)]]:_0x178898,[TestFrameworkConstants[_0x36a418(0xe9)]]:_0x5783ef,[TestFrameworkConstants[_0x36a418(0x17d)]]:_0x2286bf,[TestFrameworkConstants[_0x36a418(0x15d)]]:_0x30c40b,[TestFrameworkConstants[_0x36a418(0xf2)]]:_0x5a99ba,[TestFrameworkConstants[_0x36a418(0x131)]]:_0x30952a[_0x36a418(0x13f)][0x0][_0x36a418(0x137)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x41373d,[TestFrameworkConstants[_0x36a418(0x10f)]]:_0x31999e,[TestFrameworkConstants[_0x36a418(0x12d)]]:_0xf3c988[_0x36a418(0x181)](getPlaywrightCustomRerunParam,_0x30952a)};TestInfo[_0x36a418(0xea)](_0x30952a['id'],_0x18c564);const _0x5eb8a6={};return _0x5eb8a6[_0x178898]=_0x18c564,_0x5eb8a6;}[a62_0x1d3ec6(0xe6)](_0x4d3d35,_0x2dd364,_0x398755){const _0x2c38ea=a62_0x1d3ec6,_0x3a8bca={'iKgAx':function(_0x42f1f2,_0x9e9c15){return _0x42f1f2(_0x9e9c15);},'aLADu':_0x2c38ea(0x159),'kZViP':function(_0x4b1a6f,_0x4e7bc3){return _0x4b1a6f===_0x4e7bc3;},'hzzJY':_0x2c38ea(0x172),'iqbKN':'multi_dropdown','PLRCu':function(_0x3f5670,_0x2d2535){return _0x3f5670+_0x2d2535;},'IlWYy':function(_0x51e05e,_0x40780e){return _0x51e05e===_0x40780e;},'QxvOg':function(_0x1313bb,_0x5ebfb9){return _0x1313bb===_0x5ebfb9;},'ZxMaR':'skipped','TIkoJ':_0x2c38ea(0xdb),'lXhfW':_0x2c38ea(0x11a),'GjZMX':function(_0x9ea539,_0x28e97e){return _0x9ea539===_0x28e97e;},'Yhbcn':_0x2c38ea(0x10d),'ASFoe':_0x2c38ea(0x17b),'yRzfh':function(_0x365d59,_0xdc0e0b,_0x1752df){return _0x365d59(_0xdc0e0b,_0x1752df);},'elRxR':function(_0x34f291,_0x2ba1fe){return _0x34f291||_0x2ba1fe;},'oWKjU':function(_0x39bce2,_0x1ca7fb){return _0x39bce2(_0x1ca7fb);},'QthGt':_0x2c38ea(0xeb),'eYpIY':function(_0x3f191d,_0x5533b1){return _0x3f191d(_0x5533b1);},'XzMtb':function(_0x151ea2,_0x8e3e23){return _0x151ea2>_0x8e3e23;}};logger[_0x2c38ea(0x152)](_0x2c38ea(0x15f)+_0x4d3d35);const _0x14a002=new Date(_0x2dd364[_0x2c38ea(0x137)]),_0x453b58=_0x2dd364['duration'],_0x4df9d0=new Date(_0x3a8bca[_0x2c38ea(0x17a)](_0x14a002['getTime'](),_0x453b58)),_0x37f542=_0x2dd364['status'],_0xec655d=TestInfo[_0x2c38ea(0x179)](_0x4d3d35)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x37c8c3=_0x37f542;if(_0x3a8bca['IlWYy'](_0x2dd364[_0x2c38ea(0x174)],_0x398755[_0x2c38ea(0x108)]))_0x37c8c3=_0x3a8bca['QxvOg'](_0x2dd364[_0x2c38ea(0x174)],_0x3a8bca[_0x2c38ea(0x13b)])?_0x3a8bca['ZxMaR']:_0x3a8bca[_0x2c38ea(0x122)];else{(_0x3a8bca[_0x2c38ea(0x12b)](_0x37c8c3,_0x3a8bca[_0x2c38ea(0x122)])||_0x3a8bca['QxvOg'](_0x37c8c3,_0x3a8bca[_0x2c38ea(0x134)])||_0x3a8bca[_0x2c38ea(0xdd)](_0x37c8c3,_0x3a8bca[_0x2c38ea(0x128)]))&&(_0x37c8c3=_0x3a8bca['lXhfW']);if(_0x3a8bca['GjZMX'](_0x2dd364[_0x2c38ea(0x174)],_0x3a8bca['TIkoJ'])&&_0x3a8bca[_0x2c38ea(0x12b)](_0x398755[_0x2c38ea(0x108)],_0x3a8bca['lXhfW'])){const _0x5ef3f9={};_0x5ef3f9[_0x2c38ea(0x17f)]=_0x3a8bca[_0x2c38ea(0x16f)],_0x5ef3f9['stack']=_0x3a8bca[_0x2c38ea(0x16f)],_0x2dd364['error']=_0x5ef3f9,_0x2dd364['errors']=[_0x2dd364[_0x2c38ea(0x10c)]];}}const {failureData:_0xa4210a,logs:_0xadec26}=_0x3a8bca[_0x2c38ea(0xc4)](getFailureData,_0x2dd364?.[_0x2c38ea(0xfe)],{}),_0x491c2f={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x3a8bca[_0x2c38ea(0xec)](_0xa4210a,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x2dd364?.[_0x2c38ea(0x10c)]&&_0x3a8bca['iKgAx'](getFailureType,_0x2dd364[_0x2c38ea(0x10c)][_0x2c38ea(0x17f)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x2dd364?.[_0x2c38ea(0x10c)]&&_0x3a8bca[_0x2c38ea(0xcc)](removeAnsiColors,_0x2dd364[_0x2c38ea(0x10c)][_0x2c38ea(0x17f)]),[TestFrameworkConstants[_0x2c38ea(0xf4)]]:[],[TestFrameworkConstants[_0x2c38ea(0x140)]]:_0x2dd364[_0x2c38ea(0x174)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4df9d0['toISOString'](),[TestFrameworkConstants[_0x2c38ea(0x170)]]:new Date()[_0x2c38ea(0x165)](),[TestFrameworkConstants[_0x2c38ea(0x106)]]:_0xec655d},_0x211b31={};_0x211b31[_0x2c38ea(0xd7)]=_0x398755;const _0x47e1e3=this[_0x2c38ea(0x158)](TestFrameworkState[_0x2c38ea(0xed)],HookState[_0x2c38ea(0x120)],_0x211b31),_0x107863=_0x47e1e3[_0x2c38ea(0x14e)]()[_0x2c38ea(0xf0)](_0x4d3d35)[TestFrameworkConstants['KEY_TEST_UUID']],_0x5494c9=[],_0x3f7502=_0x3a8bca[_0x2c38ea(0xc4)](findNestedKey,_0x2dd364,_0x3a8bca[_0x2c38ea(0x133)]);if(_0x3f7502&&_0x3a8bca['eYpIY'](validateFilePath,_0x3f7502))try{_0x5494c9[_0x2c38ea(0x15e)]({'kind':_0x3a8bca[_0x2c38ea(0x12c)],'timestamp':new Date()[_0x2c38ea(0x165)](),'test_run_uuid':_0x107863,'file_name':path[_0x2c38ea(0x150)](_0x3f7502),'file_size':fs[_0x2c38ea(0xfd)](_0x3f7502)[_0x2c38ea(0x139)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x54abae){logger['error'](_0x2c38ea(0xc2)+_0x3f7502+':\x20'+_0x54abae['message']);}const _0xf78e30=TestInfo[_0x2c38ea(0x176)](),_0x197a69=_0xf78e30[_0x2c38ea(0x101)](_0x297793=>_0x297793['testUId']===_0x107863);_0x197a69[_0x2c38ea(0x13a)](_0x2b87a7=>{const _0x3fa85b=_0x2c38ea;if(_0x2b87a7[_0x3fa85b(0x118)]&&_0x3a8bca[_0x3fa85b(0x11f)](validateFilePath,_0x2b87a7[_0x3fa85b(0x118)])&&!_0x5494c9[_0x3fa85b(0x16b)](_0x4b3e36=>_0x4b3e36[_0x3fa85b(0xcd)]===path[_0x3fa85b(0x150)](_0x2b87a7['filePath'])))try{_0x5494c9[_0x3fa85b(0x15e)]({'kind':_0x3a8bca['aLADu'],'timestamp':new Date()[_0x3fa85b(0x165)](),'test_run_uuid':_0x107863,'file_name':path[_0x3fa85b(0x150)](_0x2b87a7[_0x3fa85b(0x118)]),'file_size':fs['statSync'](_0x2b87a7[_0x3fa85b(0x118)])[_0x3fa85b(0x139)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1a0fd8){logger[_0x3fa85b(0x10c)](_0x3fa85b(0xd0)+_0x2b87a7[_0x3fa85b(0x118)]+_0x3fa85b(0xf7)+_0x1a0fd8['message']);}});if(_0x3a8bca['XzMtb'](_0x5494c9[_0x2c38ea(0xc7)],0x0)){const _0x3f4726=_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]||[];_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]=[..._0x3f4726,..._0x5494c9];}const _0x5b7bc5=TestInfo[_0x2c38ea(0x179)](_0x4d3d35)[TestFrameworkConstants[_0x2c38ea(0xf9)]]||{},_0x403286=_0x3a8bca[_0x2c38ea(0xc4)](getManualUploadLogs,_0x5b7bc5,_0x47e1e3[_0x2c38ea(0x14e)]()[_0x2c38ea(0xf0)](_0x4d3d35)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x3a8bca[_0x2c38ea(0x111)](_0x403286[_0x2c38ea(0xc7)],0x0)){const _0x3c4174=_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]||[];_0x491c2f[TestFrameworkConstants[_0x2c38ea(0xf4)]]=[..._0x3c4174,..._0x403286];}const _0x1513c2=_0x398755['annotations']||[],_0x32b596=_0x491c2f[TestFrameworkConstants[_0x2c38ea(0x106)]]||{};_0x1513c2[_0x2c38ea(0x13a)](_0x4f8fe4=>{const _0x49a9aa=_0x2c38ea,{type:_0x4617a6}=_0x4f8fe4;let _0x419601=_0x4f8fe4[_0x49a9aa(0x148)];if(!_0x4617a6)return;(_0x3a8bca[_0x49a9aa(0xdc)](_0x419601,undefined)||_0x3a8bca[_0x49a9aa(0xdc)](_0x419601,null)||_0x3a8bca[_0x49a9aa(0xdc)](_0x3a8bca[_0x49a9aa(0x11f)](String,_0x419601)[_0x49a9aa(0x132)](),''))&&(_0x419601=_0x3a8bca[_0x49a9aa(0x16e)]);if(!_0x32b596[_0x4617a6]){const _0x16f836={};_0x16f836[_0x49a9aa(0x110)]=_0x3a8bca['iqbKN'],_0x16f836[_0x49a9aa(0xc0)]=[],_0x32b596[_0x4617a6]=_0x16f836;}else!_0x32b596[_0x4617a6]['field_type']&&(_0x32b596[_0x4617a6]['field_type']=_0x3a8bca[_0x49a9aa(0x105)]),!Array[_0x49a9aa(0xd2)](_0x32b596[_0x4617a6][_0x49a9aa(0xc0)])&&(_0x32b596[_0x4617a6][_0x49a9aa(0xc0)]=[]);const _0x5f40fc=_0x3a8bca[_0x49a9aa(0x11f)](String,_0x419601)[_0x49a9aa(0x157)](',')['map'](_0x310659=>_0x310659[_0x49a9aa(0x132)]());_0x32b596[_0x4617a6]['values']=[...new Set([..._0x32b596[_0x4617a6]['values'],..._0x5f40fc])];}),_0x491c2f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x32b596,TestInfo[_0x2c38ea(0xea)](_0x4d3d35,_0x491c2f);const _0x129cfa={};return _0x129cfa[_0x4d3d35]=_0x491c2f,_0x129cfa;}async[a62_0x1d3ec6(0x177)](_0x25f29a,_0x54ec56,_0x43c615,_0x2fbdff){const _0x1ed795=a62_0x1d3ec6,_0x12ec8c={'LZRHy':function(_0x3aa763,_0x29997a){return _0x3aa763 in _0x29997a;},'EvERc':function(_0x46cc21,_0x50ac62){return _0x46cc21 in _0x50ac62;},'TfYeY':function(_0x7c1d4e,_0x56e2a3){return _0x7c1d4e(_0x56e2a3);},'JNHOS':function(_0x518fa8,_0x205c4d){return _0x518fa8(_0x205c4d);},'JOShH':function(_0x2ff8e5,_0x526be6){return _0x2ff8e5===_0x526be6;},'WZNqm':function(_0x5df68d){return _0x5df68d();},'qJFdZ':function(_0x151aeb,_0x250aaf){return _0x151aeb===_0x250aaf;},'Ouuqb':function(_0x53aba9,_0x68525c){return _0x53aba9>_0x68525c;},'qEIGA':function(_0x2699c8,_0x4bb3af,_0xc2aa79){return _0x2699c8(_0x4bb3af,_0xc2aa79);},'YqxiD':_0x1ed795(0x14b),'hreQi':function(_0x524843,_0x742827){return _0x524843(_0x742827);},'Fpqva':function(_0x35538c,_0x2d82d1){return _0x35538c(_0x2d82d1);},'uRIfQ':_0x1ed795(0x11a),'soVQq':_0x1ed795(0xdb),'BdGiJ':function(_0x4977cf,_0x16362e){return _0x4977cf!==_0x16362e;},'RZqTy':function(_0x3b040c,_0x1eb434){return _0x3b040c+_0x1eb434;},'kMStD':'hook'},_0x13edc4=_0x2fbdff[_0x1ed795(0xd7)],_0x1d002a=_0x2fbdff['step'],_0x429aff=_0x2fbdff[_0x1ed795(0xd7)]['id'],_0x2f6a40=_0x54ec56[_0x1ed795(0x175)]()[_0x1ed795(0x157)]('.')[0x1];let _0x440e92=_0x25f29a[_0x1ed795(0x14e)]()['get'](_0x429aff)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x440e92&&(_0x440e92={});!_0x12ec8c[_0x1ed795(0xd5)](_0x2f6a40,_0x440e92)&&(_0x440e92[_0x2f6a40]=[]);let _0x58dde8=_0x25f29a['getAllData']()[_0x1ed795(0xf0)](_0x429aff)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x58dde8&&(_0x58dde8={});!_0x12ec8c[_0x1ed795(0x130)](_0x2f6a40,_0x58dde8)&&(_0x58dde8[_0x2f6a40]=[]);const _0x1d41fc={[TestFrameworkConstants[_0x1ed795(0xc1)]]:_0x440e92,[TestFrameworkConstants[_0x1ed795(0x163)]]:_0x58dde8},_0x4afe04={};_0x4afe04[_0x429aff]=_0x1d41fc;const _0x2446c5=_0x4afe04,_0x551d16=_0x12ec8c[_0x1ed795(0x16d)](getPlaywrightTestFilePath,_0x13edc4),_0x1eac5e=_0x551d16+':'+_0x12ec8c[_0x1ed795(0x11e)](getPlaywrightTestLocation,_0x13edc4),_0x252d44=TestInfo['getTestDetails'](_0x429aff)[TestFrameworkConstants[_0x1ed795(0x106)]]||{};if(_0x12ec8c['JOShH'](_0x43c615,HookState[_0x1ed795(0x15b)])){const _0x2706f5={'key':_0x2f6a40,[TestFrameworkConstants[_0x1ed795(0x114)]]:_0x12ec8c[_0x1ed795(0x124)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x1ed795(0x109)]]:_0x1d002a[_0x1ed795(0x137)],[TestFrameworkConstants[_0x1ed795(0x15a)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1d002a[_0x1ed795(0x100)],[TestFrameworkConstants[_0x1ed795(0xe1)]]:_0x551d16,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1eac5e,[TestFrameworkConstants[_0x1ed795(0x106)]]:_0x252d44};_0x440e92[_0x2f6a40][_0x1ed795(0x15e)](_0x2706f5),_0x2446c5[_0x429aff][TestFrameworkConstants[_0x1ed795(0xf5)]]=_0x2f6a40,logger[_0x1ed795(0x152)](_0x1ed795(0x12a)+_0x2f6a40+_0x1ed795(0x16a)+_0x2706f5+'\x20\x20and\x20args\x20=\x20'+_0x2fbdff);}else{if(_0x12ec8c[_0x1ed795(0xe7)](_0x43c615,HookState[_0x1ed795(0x120)])){const _0x245429=await _0x2fbdff['result'],_0x4df6fb=_0x440e92[_0x2f6a40]||[],_0x4aadc1=_0x2fbdff[_0x1ed795(0xca)];logger[_0x1ed795(0x152)](_0x1ed795(0x145)+_0x4df6fb+'\x20and\x20args\x20=\x20'+_0x2fbdff);if(_0x12ec8c[_0x1ed795(0x178)](_0x4df6fb[_0x1ed795(0xc7)],0x0)){const _0x5b0a51=_0x4df6fb[_0x1ed795(0x147)]();if(_0x4aadc1[_0x1ed795(0x10c)]){const _0x48a147=_0x12ec8c[_0x1ed795(0x11c)](failureData,_0x4aadc1['error'],_0x12ec8c[_0x1ed795(0xc3)]);_0x5b0a51[TestFrameworkConstants[_0x1ed795(0xcb)]]=_0x12ec8c[_0x1ed795(0x13e)](getFailureType,_0x4aadc1?.[_0x1ed795(0x10c)][_0x1ed795(0x17f)]),_0x5b0a51[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x12ec8c['Fpqva'](removeAnsiColors,_0x4aadc1?.[_0x1ed795(0x10c)][_0x1ed795(0x17f)]),_0x5b0a51[TestFrameworkConstants[_0x1ed795(0xd6)]]=_0x12ec8c[_0x1ed795(0xc6)],_0x5b0a51[TestFrameworkConstants[_0x1ed795(0x162)]]=_0x48a147;}else _0x5b0a51[TestFrameworkConstants[_0x1ed795(0xd6)]]=_0x12ec8c[_0x1ed795(0xe8)];_0x12ec8c['BdGiJ'](_0x245429,TestFrameworkConstants[_0x1ed795(0x149)])&&(_0x5b0a51[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x4aadc1[_0x1ed795(0x10c)]?_0x12ec8c[_0x1ed795(0xe8)]:_0x12ec8c['uRIfQ']);const _0x59a3b5=new Date(_0x4aadc1[_0x1ed795(0x137)]),_0x412eb6=new Date(_0x12ec8c['RZqTy'](_0x59a3b5['getTime'](),_0x4aadc1['duration']));_0x5b0a51[TestFrameworkConstants[_0x1ed795(0x12f)]]=_0x412eb6[_0x1ed795(0x165)](),_0x5b0a51[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x252d44;const _0x4025ae=_0x5b0a51[TestFrameworkConstants[_0x1ed795(0x114)]];await this[_0x1ed795(0x16c)](_0x25f29a,_0x54ec56,_0x4025ae,_0x12ec8c[_0x1ed795(0xd4)],_0x2fbdff),!_0x58dde8[_0x2f6a40]&&(_0x58dde8[_0x2f6a40]=[]),_0x58dde8[_0x2f6a40][_0x1ed795(0x15e)](_0x5b0a51),_0x2446c5[_0x429aff][TestFrameworkConstants[_0x1ed795(0x155)]]=_0x2f6a40;}}}return _0x2446c5;}async[a62_0x1d3ec6(0x16c)](_0x30387c,_0xe62545,_0x4a41bc,_0xc7c428,_0x534eae){const _0x5b529c=a62_0x1d3ec6,_0xe7ab62={'PCjCR':function(_0x3bb67e,_0x194348){return _0x3bb67e===_0x194348;},'pJflZ':'test','yIhFl':function(_0x1c84ab,_0x215e77,_0x25efe4){return _0x1c84ab(_0x215e77,_0x25efe4);},'gwYjI':function(_0x39d37e,_0x3e3992,_0x424775,_0x1e8749){return _0x39d37e(_0x3e3992,_0x424775,_0x1e8749);},'jrNRa':function(_0x24de68,_0x35f4bc,_0x570cfa){return _0x24de68(_0x35f4bc,_0x570cfa);},'osVSw':function(_0x3c5ff5,_0x2e6b6a,_0x590a40){return _0x3c5ff5(_0x2e6b6a,_0x590a40);},'ZEwxx':function(_0x488c70,_0x3aaff2,_0x2b1adc){return _0x488c70(_0x3aaff2,_0x2b1adc);},'riFJw':function(_0x439903,_0x3fab27,_0x14b1c3,_0x1b0b92,_0x234f00){return _0x439903(_0x3fab27,_0x14b1c3,_0x1b0b92,_0x234f00);},'wfibS':_0x5b529c(0x103)};try{if(_0xe7ab62['PCjCR'](_0xc7c428,_0xe7ab62[_0x5b529c(0x169)])){const _0xc3ce5e=await _0x534eae[_0x5b529c(0x117)],_0x1f4071=_0x534eae['test']['id'],_0xaf3bf3=_0x534eae[_0x5b529c(0xd7)];logger[_0x5b529c(0x152)]('sendLogCreatedEvent:\x20testId='+_0x1f4071);const _0x2d496b=_0x30387c[_0x5b529c(0x14e)]()['get'](_0x1f4071)[TestFrameworkConstants[_0x5b529c(0x13d)]];await _0xe7ab62[_0x5b529c(0x161)](sendTraceZip,_0xc3ce5e,_0x2d496b);const {steps:_0xef24f5,logs:_0x4ad62b}=_0xe7ab62['gwYjI'](getStepsAndLogs,_0xc3ce5e['steps'],_0x30387c[_0x5b529c(0x14e)]()['get'](_0x1f4071)[TestFrameworkConstants['KEY_TEST_UUID']],_0xe7ab62['pJflZ']),_0x54eb4b=_0xe7ab62[_0x5b529c(0x129)](getScreenshots,_0xc3ce5e,_0x30387c['getAllData']()['get'](_0x1f4071)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x439302,logs:_0x3abfcb}=_0xe7ab62[_0x5b529c(0x164)](getFailureData,_0xc3ce5e[_0x5b529c(0xfe)],{'test_run_uuid':_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x1f4071)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x2a7fde=TestInfo[_0x5b529c(0x179)](_0x1f4071)[TestFrameworkConstants[_0x5b529c(0xf9)]]||{},_0x2d194f=_0xe7ab62[_0x5b529c(0x136)](getMediaArtifactsLogs,_0x2a7fde,_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x1f4071)[TestFrameworkConstants[_0x5b529c(0x13d)]]),_0x5a26d9=_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x1f4071),{[TestFrameworkConstants[_0x5b529c(0x14f)]]:_0x28c887='',[TestFrameworkConstants[_0x5b529c(0x104)]]:_0x2773ce=''}=_0x5a26d9,_0x268c53={'platformIndex':'0','logs':[..._0x4ad62b||[],..._0x54eb4b||[],..._0x3abfcb||[],..._0x2d194f||[]],'testFrameworkName':_0x28c887,'testFrameworkVersion':_0x2773ce,'testFrameworkState':_0xe62545[_0x5b529c(0x175)]()['split']('.')[0x1]};_0xe7ab62[_0x5b529c(0x153)](updatePayloadForTraceLogs,_0x268c53,_0x534eae,_0x1f4071,_0x30387c),logger[_0x5b529c(0x152)](_0x5b529c(0x12e)+_0x1f4071+_0x5b529c(0xe4)+util[_0x5b529c(0x10a)](_0x268c53));const _0x511eb8=await GrpcClient[_0x5b529c(0x146)]()[_0x5b529c(0xe5)](_0x268c53);}else{const {steps:_0x403c1a,logs:_0x52bdc7}=_0xe7ab62[_0x5b529c(0xd1)](getStepsAndLogs,_0x534eae['step'][_0x5b529c(0x182)],_0x4a41bc,_0xe7ab62[_0x5b529c(0x151)]),_0x3fcc1a=_0x534eae[_0x5b529c(0xd7)]['id'];logger[_0x5b529c(0x152)](_0x5b529c(0xc9)+_0x3fcc1a);const _0x3997c6=_0x30387c[_0x5b529c(0x14e)]()[_0x5b529c(0xf0)](_0x3fcc1a),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x49f222='',[TestFrameworkConstants[_0x5b529c(0x104)]]:_0x4db6cf=''}=_0x3997c6,_0x5315d5={'platformIndex':'0','logs':_0x52bdc7,'testFrameworkName':_0x49f222,'testFrameworkVersion':_0x4db6cf,'testFrameworkState':_0xe62545[_0x5b529c(0x175)]()[_0x5b529c(0x157)]('.')[0x1]};_0xe7ab62[_0x5b529c(0x153)](updatePayloadForTraceLogs,_0x5315d5,_0x534eae,_0x3fcc1a,_0x30387c),logger[_0x5b529c(0x152)](_0x5b529c(0x12e)+_0x3fcc1a+_0x5b529c(0xe4)+util[_0x5b529c(0x10a)](_0x5315d5));const _0x5f1349=await GrpcClient[_0x5b529c(0x146)]()['logCreatedEvent'](_0x5315d5);}}catch(_0x439c58){logger[_0x5b529c(0x10c)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x5b529c(0x144)](_0x439c58));}}}module[a62_0x1d3ec6(0x14d)]=PlaywrightTestFramework;
1
+ const a63_0x8d6500=a63_0x5aca;(function(_0x2a5e1a,_0x3b8921){const _0xa8eda5=a63_0x5aca,_0x5b642e=_0x2a5e1a();while(!![]){try{const _0x2292a0=-parseInt(_0xa8eda5(0x1a1))/0x1+-parseInt(_0xa8eda5(0x148))/0x2*(parseInt(_0xa8eda5(0x11a))/0x3)+parseInt(_0xa8eda5(0x138))/0x4*(-parseInt(_0xa8eda5(0x1be))/0x5)+-parseInt(_0xa8eda5(0x149))/0x6+-parseInt(_0xa8eda5(0x18e))/0x7+parseInt(_0xa8eda5(0x18f))/0x8+parseInt(_0xa8eda5(0x1bb))/0x9*(parseInt(_0xa8eda5(0x19d))/0xa);if(_0x2292a0===_0x3b8921)break;else _0x5b642e['push'](_0x5b642e['shift']());}catch(_0xb63b36){_0x5b642e['push'](_0x5b642e['shift']());}}}(a63_0x36d7,0xab2d7));const TestFramework=require(a63_0x8d6500(0x168)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a63_0x8d6500(0x1a2)),{createClassLogger}=require(a63_0x8d6500(0x160)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a63_0x8d6500(0x16e)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a63_0x8d6500(0x1d6)),TestInfo=require(a63_0x8d6500(0x1ce)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a63_0x8d6500(0x1d4)),{getFailureData,getTestTags}=require(a63_0x8d6500(0x1a4)),{findNestedKey,sendTraceZip,validateFilePath}=require(a63_0x8d6500(0x1a4)),path=require(a63_0x8d6500(0x1a9)),fs=require('fs'),helper=require(a63_0x8d6500(0x1a0)),{PLAYWRIGHT_TRACE_LOGS}=require(a63_0x8d6500(0x1c0));class PlaywrightTestFramework extends TestFramework{constructor(_0xc837b9,_0x89a93d,_0xfa2726){super(_0xc837b9,_0x89a93d,_0xfa2726);}async[a63_0x8d6500(0x1a8)](_0x233d30,_0x8a177f,_0x5ce883={}){const _0x402d16=a63_0x8d6500,_0x56feb0={};_0x56feb0[_0x402d16(0x17b)]=function(_0x49a019,_0x4cb3dd){return _0x49a019===_0x4cb3dd;},_0x56feb0['ShEbN']=function(_0x3e8a26,_0x4f42f6){return _0x3e8a26===_0x4f42f6;},_0x56feb0['DOkdR']=function(_0x59ab34,_0xf769a4){return _0x59ab34===_0xf769a4;},_0x56feb0[_0x402d16(0x11c)]='test',_0x56feb0[_0x402d16(0x1da)]=_0x402d16(0x199);const _0x49d471=_0x56feb0;await super[_0x402d16(0x1a8)](_0x233d30,_0x8a177f,_0x5ce883);const _0xda6e0d=this['resolveInstance'](_0x233d30,_0x8a177f,_0x5ce883);if(!_0xda6e0d)return;logger[_0x402d16(0x174)](_0x402d16(0x136)+_0x233d30+'\x20hookState='+_0x8a177f+_0x402d16(0x14c)+_0xda6e0d[_0x402d16(0x18d)]());try{if(_0x49d471[_0x402d16(0x17b)](_0x8a177f,HookState[_0x402d16(0x134)])&&_0x49d471['ShEbN'](_0x233d30,TestFrameworkState[_0x402d16(0x141)])){const _0x478170=_0x5ce883['test'];logger[_0x402d16(0x174)](_0x402d16(0x119)+_0x478170['id']+'}');const _0x52bdf2=TestInfo[_0x402d16(0x1ba)](_0x478170['id']);_0xda6e0d[_0x402d16(0x157)](this['parsePlaywrightTest'](_0x52bdf2,_0x478170)),logger[_0x402d16(0x174)](_0x402d16(0x1cd)+_0x478170['id']+_0x402d16(0x173)+_0x233d30+_0x402d16(0x15a)+_0x8a177f+'\x20instance='+_0xda6e0d[_0x402d16(0x18d)]());}if(_0x49d471[_0x402d16(0x171)](_0x8a177f,HookState[_0x402d16(0x170)])&&_0x49d471['DOkdR'](_0x233d30,TestFrameworkState[_0x402d16(0x141)])){const _0x1d563a=_0x5ce883[_0x402d16(0x1d8)],_0x244dc5=_0x5ce883[_0x402d16(0x1c7)];logger[_0x402d16(0x174)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x1d563a['id']),_0xda6e0d[_0x402d16(0x157)](this[_0x402d16(0x1b0)](_0x1d563a['id'],_0x244dc5,_0x1d563a)),this[_0x402d16(0x1aa)](_0xda6e0d,_0x233d30,_0x8a177f,_0x49d471[_0x402d16(0x11c)],_0x5ce883);}if(CLIUtils[_0x402d16(0x15d)](_0x233d30[_0x402d16(0x187)]()['split']('.')[0x1])){const _0xdac20d=await this[_0x402d16(0x18a)](_0xda6e0d,_0x233d30,_0x8a177f,_0x5ce883);_0xda6e0d['addMultipleEntries'](_0xdac20d);}}catch(_0x2327c4){logger[_0x402d16(0x13c)](util[_0x402d16(0x1e4)](_0x49d471[_0x402d16(0x1da)],_0x233d30,_0x8a177f,_0x5ce883[_0x402d16(0x132)],_0x2327c4));}_0x5ce883['instance']=_0xda6e0d,await this[_0x402d16(0x1e2)](_0xda6e0d,_0x233d30,_0x8a177f,_0x5ce883);}[a63_0x8d6500(0x140)](_0x3ef3a3,_0x563b22,_0x4b864b={}){const _0x3fc7ba=a63_0x8d6500,_0xc5be15={};_0xc5be15[_0x3fc7ba(0x193)]=function(_0x405c29,_0x593d27){return _0x405c29===_0x593d27;};const _0x5e777a=_0xc5be15;let _0x8c1506=null;return(_0x5e777a[_0x3fc7ba(0x193)](_0x3ef3a3,TestFrameworkState[_0x3fc7ba(0x185)])||_0x5e777a['lDlys'](_0x3ef3a3,TestFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x3ef3a3,_0x4b864b),_0x8c1506=TestFramework[_0x3fc7ba(0x188)](),_0x8c1506;}[a63_0x8d6500(0x137)](_0x2232d0,_0xde0f14){const _0x2d8081=a63_0x8d6500,_0x449991=CLIUtils[_0x2d8081(0x154)](),_0x2f46c2=TrackedInstance[_0x2d8081(0x1e7)](_0x449991);let _0x190849=null;logger[_0x2d8081(0x177)](_0x2d8081(0x195)+_0x449991+_0x2d8081(0x16b)+_0x2232d0),_0x190849=new TestFrameworkInstance(_0x2f46c2,this[_0x2d8081(0x1ac)](),this['getTestFrameworksVersions'](),_0x2232d0,HookState[_0x2d8081(0x197)]),TestFramework['setTrackedInstance'](_0x2f46c2,_0x190849),logger[_0x2d8081(0x177)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2f46c2[_0x2d8081(0x191)]()+'\x20target='+_0x449991);}[a63_0x8d6500(0x122)](_0x24385b,_0x2f7764){const _0x5c9b30=a63_0x8d6500,_0x570266={'XgmZz':function(_0x59615,_0x4bd656){return _0x59615(_0x4bd656);},'LnPXg':function(_0x33e1b4,_0x12ca68){return _0x33e1b4(_0x12ca68);},'Zoxvw':function(_0x1f41c,_0x4e381c){return _0x1f41c(_0x4e381c);},'ssOgh':function(_0x434a41,_0x150caf){return _0x434a41(_0x150caf);},'tzHzk':function(_0x240407,_0x25f081){return _0x240407(_0x25f081);},'VALru':function(_0x2f6fa5,_0x384c17){return _0x2f6fa5(_0x384c17);},'EJyBy':function(_0x2e629c,_0x422883){return _0x2e629c(_0x422883);}},_0x3145d7=_0x570266[_0x5c9b30(0x123)](getPlaywrightTestId,_0x2f7764),_0x505795=_0x570266[_0x5c9b30(0x1ae)](getPlaywrightTestTitle,_0x2f7764),_0x5757e0=_0x570266[_0x5c9b30(0x179)](getTestTags,_0x2f7764),_0x373abb=_0x570266[_0x5c9b30(0x1d3)](getPlaywrightTestCode,_0x2f7764),_0x250f9c=_0x570266[_0x5c9b30(0x169)](getPlaywrightTestFilePath,_0x2f7764),_0xac7e70=_0x250f9c+':'+_0x570266[_0x5c9b30(0x1d3)](getPlaywrightTestLocation,_0x2f7764),_0x2db715=_0x570266[_0x5c9b30(0x155)](getPlaywrightTestScope,_0x2f7764),_0xfd4d85=_0x570266[_0x5c9b30(0x1ea)](getPlaywrightTestScopes,_0x2f7764),_0xde53e8=_0x570266['tzHzk'](getPlaywrightSessionName,_0x2f7764),_0x2e4425=this[_0x5c9b30(0x1ac)]()[0x0],_0x339919={[TestFrameworkConstants[_0x5c9b30(0x1a6)]]:_0x2e4425,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x5c9b30(0x1ad)]()[_0x2e4425],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5c9b30(0x1e3)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x5c9b30(0x1a3)]]:_0x24385b,[TestFrameworkConstants[_0x5c9b30(0x19b)]]:TestFrameworkConstants[_0x5c9b30(0x121)],[TestFrameworkConstants[_0x5c9b30(0x129)]]:_0xde53e8,[TestFrameworkConstants[_0x5c9b30(0x1a7)]]:_0x250f9c,[TestFrameworkConstants[_0x5c9b30(0x146)]]:_0x3145d7,[TestFrameworkConstants[_0x5c9b30(0x14d)]]:_0x505795,[TestFrameworkConstants[_0x5c9b30(0x17e)]]:_0xac7e70,[TestFrameworkConstants[_0x5c9b30(0x158)]]:_0x373abb,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5757e0,[TestFrameworkConstants[_0x5c9b30(0x12a)]]:_0x2f7764[_0x5c9b30(0x17c)][0x0][_0x5c9b30(0x142)],[TestFrameworkConstants[_0x5c9b30(0x1b7)]]:_0x2db715,[TestFrameworkConstants[_0x5c9b30(0x16f)]]:_0xfd4d85,[TestFrameworkConstants[_0x5c9b30(0x181)]]:_0x570266[_0x5c9b30(0x155)](getPlaywrightCustomRerunParam,_0x2f7764)};TestInfo[_0x5c9b30(0x1c9)](_0x2f7764['id'],_0x339919);const _0x2c0267={};return _0x2c0267[_0x3145d7]=_0x339919,_0x2c0267;}[a63_0x8d6500(0x1b0)](_0x43cd52,_0x5bf538,_0x36adad){const _0x3b80c7=a63_0x8d6500,_0x5b1bf3={'xZIMs':function(_0x4c3306,_0x33a78f){return _0x4c3306(_0x33a78f);},'HmBHK':_0x3b80c7(0x14f),'JZUsD':function(_0x56853a,_0x5c65fa){return _0x56853a===_0x5c65fa;},'Ggvvl':function(_0x31a325,_0x20340b){return _0x31a325===_0x20340b;},'CfTSd':function(_0xda8610,_0x6ed097){return _0xda8610(_0x6ed097);},'UQDIE':_0x3b80c7(0x183),'SjVrp':_0x3b80c7(0x13b),'CHriR':function(_0x541e61,_0x447efe){return _0x541e61+_0x447efe;},'nWpvT':function(_0x553287,_0x2021e2){return _0x553287===_0x2021e2;},'RjPFN':function(_0x32d199,_0x4afef){return _0x32d199===_0x4afef;},'ozjlM':_0x3b80c7(0x1d1),'iTKHf':'passed','nnkQg':function(_0x465fdc,_0x240b1c){return _0x465fdc===_0x240b1c;},'fuAhW':function(_0x219850,_0x222bc5){return _0x219850===_0x222bc5;},'MZxqV':_0x3b80c7(0x16d),'BHdmP':_0x3b80c7(0x14b),'yuSfk':function(_0x5e7f28,_0x574f45){return _0x5e7f28===_0x574f45;},'uAGmV':_0x3b80c7(0x1d9),'ihYkp':function(_0x5bfd97,_0x4c4d0d,_0x58a65b){return _0x5bfd97(_0x4c4d0d,_0x58a65b);},'IudeY':function(_0x4ddeab,_0x135ae1){return _0x4ddeab||_0x135ae1;},'Nuffw':function(_0x231540,_0x1f2a51){return _0x231540(_0x1f2a51);},'vtsVn':function(_0x2ce527,_0x4bcdfc,_0x3ba8e0){return _0x2ce527(_0x4bcdfc,_0x3ba8e0);},'AAWIn':'path','nGrLB':function(_0x5d1fed,_0x99b3c3){return _0x5d1fed(_0x99b3c3);},'azALC':function(_0x2922ed,_0x3c5d8b){return _0x2922ed>_0x3c5d8b;},'EdZOX':function(_0xdb566a,_0x562b9d){return _0xdb566a>_0x562b9d;}};logger[_0x3b80c7(0x174)](_0x3b80c7(0x13a)+_0x43cd52);const _0x4e4522=new Date(_0x5bf538[_0x3b80c7(0x142)]),_0x362aa3=_0x5bf538['duration'],_0x4abf9f=new Date(_0x5b1bf3[_0x3b80c7(0x1b9)](_0x4e4522[_0x3b80c7(0x17a)](),_0x362aa3)),_0x1f6bfb=_0x5bf538[_0x3b80c7(0x130)],_0x57b6f5=TestInfo[_0x3b80c7(0x189)](_0x43cd52)[TestFrameworkConstants[_0x3b80c7(0x124)]]||{};let _0x46dd0f=_0x1f6bfb;if(_0x5b1bf3[_0x3b80c7(0x1df)](_0x5bf538[_0x3b80c7(0x130)],_0x36adad[_0x3b80c7(0x1c3)]))_0x46dd0f=_0x5b1bf3[_0x3b80c7(0x1e0)](_0x5bf538[_0x3b80c7(0x130)],_0x5b1bf3[_0x3b80c7(0x151)])?_0x5b1bf3[_0x3b80c7(0x151)]:_0x5b1bf3[_0x3b80c7(0x1bf)];else{(_0x5b1bf3[_0x3b80c7(0x1b3)](_0x46dd0f,_0x5b1bf3[_0x3b80c7(0x1bf)])||_0x5b1bf3[_0x3b80c7(0x1d2)](_0x46dd0f,_0x5b1bf3[_0x3b80c7(0x182)])||_0x5b1bf3[_0x3b80c7(0x1b3)](_0x46dd0f,_0x5b1bf3[_0x3b80c7(0x12e)]))&&(_0x46dd0f=_0x5b1bf3[_0x3b80c7(0x182)]);if(_0x5b1bf3[_0x3b80c7(0x1df)](_0x5bf538[_0x3b80c7(0x130)],_0x5b1bf3[_0x3b80c7(0x1bf)])&&_0x5b1bf3[_0x3b80c7(0x1ca)](_0x36adad[_0x3b80c7(0x1c3)],_0x5b1bf3[_0x3b80c7(0x182)])){const _0x564a14={};_0x564a14['message']=_0x5b1bf3[_0x3b80c7(0x13e)],_0x564a14[_0x3b80c7(0x1b2)]=_0x5b1bf3[_0x3b80c7(0x13e)],_0x5bf538[_0x3b80c7(0x13c)]=_0x564a14,_0x5bf538[_0x3b80c7(0x126)]=[_0x5bf538['error']];}}const {failureData:_0x5c5f1a,logs:_0x173df8}=_0x5b1bf3['ihYkp'](getFailureData,_0x5bf538?.[_0x3b80c7(0x126)],{}),_0x321171={[TestFrameworkConstants[_0x3b80c7(0x178)]]:_0x5b1bf3[_0x3b80c7(0x128)](_0x5c5f1a,null),[TestFrameworkConstants[_0x3b80c7(0x14a)]]:_0x5bf538?.[_0x3b80c7(0x13c)]&&_0x5b1bf3['xZIMs'](getFailureType,_0x5bf538[_0x3b80c7(0x13c)][_0x3b80c7(0x1c5)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x5bf538?.[_0x3b80c7(0x13c)]&&_0x5b1bf3[_0x3b80c7(0x1cb)](removeAnsiColors,_0x5bf538[_0x3b80c7(0x13c)]['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3b80c7(0x19b)]]:_0x5bf538[_0x3b80c7(0x130)],[TestFrameworkConstants[_0x3b80c7(0x1e9)]]:_0x4abf9f['toISOString'](),[TestFrameworkConstants[_0x3b80c7(0x159)]]:new Date()[_0x3b80c7(0x156)](),[TestFrameworkConstants[_0x3b80c7(0x124)]]:_0x57b6f5},_0x254398={};_0x254398[_0x3b80c7(0x1d8)]=_0x36adad;const _0x2fc67b=this[_0x3b80c7(0x140)](TestFrameworkState['TEST'],HookState[_0x3b80c7(0x170)],_0x254398),_0x4f1420=_0x2fc67b[_0x3b80c7(0x19f)]()[_0x3b80c7(0x1ec)](_0x43cd52)[TestFrameworkConstants[_0x3b80c7(0x1a3)]],_0x43e7d2=[],_0x44df3a=_0x5b1bf3[_0x3b80c7(0x147)](findNestedKey,_0x5bf538,_0x5b1bf3[_0x3b80c7(0x131)]);if(_0x44df3a&&_0x5b1bf3[_0x3b80c7(0x1b6)](validateFilePath,_0x44df3a))try{_0x43e7d2['push']({'kind':_0x5b1bf3[_0x3b80c7(0x1bd)],'timestamp':new Date()[_0x3b80c7(0x156)](),'test_run_uuid':_0x4f1420,'file_name':path[_0x3b80c7(0x1cf)](_0x44df3a),'file_size':fs[_0x3b80c7(0x198)](_0x44df3a)[_0x3b80c7(0x13f)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x537206){logger[_0x3b80c7(0x13c)](_0x3b80c7(0x153)+_0x44df3a+':\x20'+_0x537206[_0x3b80c7(0x1c5)]);}const _0x504ac4=TestInfo[_0x3b80c7(0x12c)](),_0x5533a8=_0x504ac4[_0x3b80c7(0x163)](_0x757227=>_0x757227[_0x3b80c7(0x143)]===_0x4f1420);_0x5533a8[_0x3b80c7(0x184)](_0x26e897=>{const _0x3217a7=_0x3b80c7;if(_0x26e897['filePath']&&_0x5b1bf3[_0x3217a7(0x1dc)](validateFilePath,_0x26e897[_0x3217a7(0x1e6)])&&!_0x43e7d2[_0x3217a7(0x1c6)](_0x220a86=>_0x220a86[_0x3217a7(0x1ab)]===path[_0x3217a7(0x1cf)](_0x26e897['filePath'])))try{_0x43e7d2[_0x3217a7(0x11f)]({'kind':_0x5b1bf3[_0x3217a7(0x1bd)],'timestamp':new Date()[_0x3217a7(0x156)](),'test_run_uuid':_0x4f1420,'file_name':path[_0x3217a7(0x1cf)](_0x26e897[_0x3217a7(0x1e6)]),'file_size':fs[_0x3217a7(0x198)](_0x26e897[_0x3217a7(0x1e6)])[_0x3217a7(0x13f)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1244d5){logger[_0x3217a7(0x13c)](_0x3217a7(0x1eb)+_0x26e897[_0x3217a7(0x1e6)]+_0x3217a7(0x162)+_0x1244d5[_0x3217a7(0x1c5)]);}});if(_0x5b1bf3[_0x3b80c7(0x1d0)](_0x43e7d2[_0x3b80c7(0x132)],0x0)){const _0x57d5b8=_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]||[];_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]=[..._0x57d5b8,..._0x43e7d2];}const _0x5c37bf=TestInfo[_0x3b80c7(0x189)](_0x43cd52)[TestFrameworkConstants[_0x3b80c7(0x1e5)]]||{},_0x4735d4=_0x5b1bf3[_0x3b80c7(0x15b)](getManualUploadLogs,_0x5c37bf,_0x2fc67b[_0x3b80c7(0x19f)]()['get'](_0x43cd52)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x5b1bf3[_0x3b80c7(0x17d)](_0x4735d4['length'],0x0)){const _0x599ee7=_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]||[];_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]=[..._0x599ee7,..._0x4735d4];}const _0x1747e0=_0x36adad[_0x3b80c7(0x1b1)]||[],_0x5a9cd5=_0x321171[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x1747e0['forEach'](_0x3ec34e=>{const _0x428caf=_0x3b80c7,{type:_0x8208ac}=_0x3ec34e;let _0x2b453e=_0x3ec34e[_0x428caf(0x11b)];if(!_0x8208ac)return;(_0x5b1bf3[_0x428caf(0x15c)](_0x2b453e,undefined)||_0x5b1bf3[_0x428caf(0x15c)](_0x2b453e,null)||_0x5b1bf3[_0x428caf(0x15e)](_0x5b1bf3[_0x428caf(0x1af)](String,_0x2b453e)['trim'](),''))&&(_0x2b453e=_0x5b1bf3[_0x428caf(0x152)]);if(!_0x5a9cd5[_0x8208ac]){const _0x6a8cb={};_0x6a8cb[_0x428caf(0x12b)]=_0x5b1bf3[_0x428caf(0x186)],_0x6a8cb['values']=[],_0x5a9cd5[_0x8208ac]=_0x6a8cb;}else!_0x5a9cd5[_0x8208ac][_0x428caf(0x12b)]&&(_0x5a9cd5[_0x8208ac]['field_type']=_0x5b1bf3[_0x428caf(0x186)]),!Array[_0x428caf(0x166)](_0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)])&&(_0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)]=[]);const _0x142606=_0x5b1bf3[_0x428caf(0x1dc)](String,_0x2b453e)[_0x428caf(0x127)](',')[_0x428caf(0x120)](_0x36ab65=>_0x36ab65[_0x428caf(0x145)]());_0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)]=[...new Set([..._0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)],..._0x142606])];}),_0x321171[TestFrameworkConstants[_0x3b80c7(0x124)]]=_0x5a9cd5,TestInfo[_0x3b80c7(0x1c9)](_0x43cd52,_0x321171);const _0x5d2461={};return _0x5d2461[_0x43cd52]=_0x321171,_0x5d2461;}async[a63_0x8d6500(0x18a)](_0x192289,_0x302162,_0x35c48b,_0x118630){const _0x149ce6=a63_0x8d6500,_0x134053={'hUZiY':function(_0x54d5af,_0x21286d){return _0x54d5af in _0x21286d;},'EYQOR':function(_0x58cf92,_0x17c834){return _0x58cf92 in _0x17c834;},'fXjRA':function(_0x5909d1,_0x212e15){return _0x5909d1(_0x212e15);},'SBlTv':function(_0x193d54,_0x2f7068){return _0x193d54===_0x2f7068;},'TVpyy':function(_0x4cb2c9){return _0x4cb2c9();},'wJGqB':function(_0x5a52e9,_0x591354){return _0x5a52e9===_0x591354;},'qiULi':function(_0xf8bd96,_0x639d5e){return _0xf8bd96>_0x639d5e;},'kYMlS':function(_0x2d1ec3,_0x2e94ee,_0x20b30c){return _0x2d1ec3(_0x2e94ee,_0x20b30c);},'YhlWL':_0x149ce6(0x1c8),'xsZhf':function(_0xac39a,_0x16f289){return _0xac39a(_0x16f289);},'HjHWB':function(_0x472015,_0x3bf55a){return _0x472015(_0x3bf55a);},'ayZNV':'failed','Drinr':_0x149ce6(0x1db),'uhucf':function(_0x149a13,_0x379232){return _0x149a13!==_0x379232;},'MNUuB':function(_0x452745,_0x2023e4){return _0x452745+_0x2023e4;},'wEPnN':_0x149ce6(0x175)},_0x3901e4=_0x118630[_0x149ce6(0x1d8)],_0x328a50=_0x118630[_0x149ce6(0x16a)],_0x5d90ad=_0x118630['test']['id'],_0x2a2f67=_0x302162[_0x149ce6(0x187)]()[_0x149ce6(0x127)]('.')[0x1];let _0x5c96af=_0x192289['getAllData']()['get'](_0x5d90ad)[TestFrameworkConstants[_0x149ce6(0x125)]];!_0x5c96af&&(_0x5c96af={});!_0x134053[_0x149ce6(0x1b8)](_0x2a2f67,_0x5c96af)&&(_0x5c96af[_0x2a2f67]=[]);let _0x150c0b=_0x192289[_0x149ce6(0x19f)]()[_0x149ce6(0x1ec)](_0x5d90ad)[TestFrameworkConstants[_0x149ce6(0x1e3)]];!_0x150c0b&&(_0x150c0b={});!_0x134053['EYQOR'](_0x2a2f67,_0x150c0b)&&(_0x150c0b[_0x2a2f67]=[]);const _0x292350={[TestFrameworkConstants[_0x149ce6(0x125)]]:_0x5c96af,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x150c0b},_0x5049fc={};_0x5049fc[_0x5d90ad]=_0x292350;const _0x5c485a=_0x5049fc,_0x5c350a=_0x134053[_0x149ce6(0x1e1)](getPlaywrightTestFilePath,_0x3901e4),_0x34350b=_0x5c350a+':'+_0x134053['fXjRA'](getPlaywrightTestLocation,_0x3901e4),_0x5efffd=TestInfo[_0x149ce6(0x189)](_0x5d90ad)[TestFrameworkConstants[_0x149ce6(0x124)]]||{};if(_0x134053[_0x149ce6(0x1c4)](_0x35c48b,HookState['PRE'])){const _0xe555eb={'key':_0x2a2f67,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x134053[_0x149ce6(0x1b5)](uuidv4),[TestFrameworkConstants[_0x149ce6(0x139)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x149ce6(0x12d)]]:_0x328a50[_0x149ce6(0x142)],[TestFrameworkConstants[_0x149ce6(0x11e)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x328a50[_0x149ce6(0x133)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5c350a,[TestFrameworkConstants[_0x149ce6(0x17e)]]:_0x34350b,[TestFrameworkConstants[_0x149ce6(0x124)]]:_0x5efffd};_0x5c96af[_0x2a2f67]['push'](_0xe555eb),_0x5c485a[_0x5d90ad][TestFrameworkConstants[_0x149ce6(0x1ee)]]=_0x2a2f67,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x2a2f67+_0x149ce6(0x1ed)+_0xe555eb+_0x149ce6(0x14e)+_0x118630);}else{if(_0x134053[_0x149ce6(0x11d)](_0x35c48b,HookState[_0x149ce6(0x170)])){const _0x579d3a=await _0x118630['result'],_0x3c6306=_0x5c96af[_0x2a2f67]||[],_0x97f75d=_0x118630[_0x149ce6(0x16a)];logger[_0x149ce6(0x174)](_0x149ce6(0x165)+_0x3c6306+_0x149ce6(0x16c)+_0x118630);if(_0x134053[_0x149ce6(0x190)](_0x3c6306['length'],0x0)){const _0x4df7b8=_0x3c6306[_0x149ce6(0x161)]();if(_0x97f75d[_0x149ce6(0x13c)]){const _0x2e7148=_0x134053['kYMlS'](failureData,_0x97f75d['error'],_0x134053[_0x149ce6(0x196)]);_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x13d)]]=_0x134053['xsZhf'](getFailureType,_0x97f75d?.[_0x149ce6(0x13c)][_0x149ce6(0x1c5)]),_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x172)]]=_0x134053[_0x149ce6(0x17f)](removeAnsiColors,_0x97f75d?.[_0x149ce6(0x13c)]['message']),_0x4df7b8[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x134053[_0x149ce6(0x1c2)],_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x19a)]]=_0x2e7148;}else _0x4df7b8[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x134053[_0x149ce6(0x18c)];_0x134053[_0x149ce6(0x19c)](_0x579d3a,TestFrameworkConstants[_0x149ce6(0x19e)])&&(_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x139)]]=!_0x97f75d['error']?_0x134053[_0x149ce6(0x18c)]:_0x134053[_0x149ce6(0x1c2)]);const _0x35095c=new Date(_0x97f75d[_0x149ce6(0x142)]),_0x4ec652=new Date(_0x134053['MNUuB'](_0x35095c[_0x149ce6(0x17a)](),_0x97f75d[_0x149ce6(0x12f)]));_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x1e8)]]=_0x4ec652[_0x149ce6(0x156)](),_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x124)]]=_0x5efffd;const _0x5b89dc=_0x4df7b8[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x192289,_0x302162,_0x5b89dc,_0x134053['wEPnN'],_0x118630),!_0x150c0b[_0x2a2f67]&&(_0x150c0b[_0x2a2f67]=[]),_0x150c0b[_0x2a2f67][_0x149ce6(0x11f)](_0x4df7b8),_0x5c485a[_0x5d90ad][TestFrameworkConstants[_0x149ce6(0x1c1)]]=_0x2a2f67;}}}return _0x5c485a;}async['sendLogCreatedEvent'](_0x2efe15,_0x25179f,_0x717a28,_0x8e1115,_0x5ceee5){const _0x3560c2=a63_0x8d6500,_0x59f75b={'FIikK':function(_0x48d9a0,_0x163495){return _0x48d9a0===_0x163495;},'aWxFd':_0x3560c2(0x1d8),'qGQZp':function(_0x320e50,_0x15391a,_0x12bd5e){return _0x320e50(_0x15391a,_0x12bd5e);},'wquby':function(_0x1692d6,_0x430d36,_0x4a4734,_0x11882a){return _0x1692d6(_0x430d36,_0x4a4734,_0x11882a);},'QhKOl':function(_0xc62704,_0x1bd842,_0x2b094f,_0x27e429,_0x3e0ac2){return _0xc62704(_0x1bd842,_0x2b094f,_0x27e429,_0x3e0ac2);},'dSyyU':function(_0x4d25ed,_0x56e026,_0x3ce160,_0x1f3f5d){return _0x4d25ed(_0x56e026,_0x3ce160,_0x1f3f5d);},'fcTpf':_0x3560c2(0x175)};try{if(_0x59f75b[_0x3560c2(0x1a5)](_0x8e1115,_0x59f75b['aWxFd'])){const _0x130842=await _0x5ceee5[_0x3560c2(0x1c7)],_0x4761c9=_0x5ceee5[_0x3560c2(0x1d8)]['id'],_0xf21f3f=_0x5ceee5['test'];logger['debug'](_0x3560c2(0x176)+_0x4761c9);const _0x341285=_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]];await _0x59f75b[_0x3560c2(0x1dd)](sendTraceZip,_0x130842,_0x341285);const {steps:_0x2a821f,logs:_0x43923e}=_0x59f75b[_0x3560c2(0x1d5)](getStepsAndLogs,_0x130842[_0x3560c2(0x18b)],_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]],_0x59f75b[_0x3560c2(0x1d7)]),_0x47cf6c=_0x59f75b[_0x3560c2(0x1dd)](getScreenshots,_0x130842,_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]]),{_:_0x2cebc3,logs:_0x255956}=_0x59f75b[_0x3560c2(0x1dd)](getFailureData,_0x130842['errors'],{'test_run_uuid':_0x2efe15[_0x3560c2(0x19f)]()['get'](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]]}),_0x466562=TestInfo[_0x3560c2(0x189)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1e5)]]||{},_0x2af684=_0x59f75b[_0x3560c2(0x1dd)](getMediaArtifactsLogs,_0x466562,_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x3bed10=_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4ba5c7='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x520d2f=''}=_0x3bed10,_0x3e5fec={'platformIndex':'0','logs':[..._0x43923e||[],..._0x47cf6c||[],..._0x255956||[],..._0x2af684||[]],'testFrameworkName':_0x4ba5c7,'testFrameworkVersion':_0x520d2f,'testFrameworkState':_0x25179f[_0x3560c2(0x187)]()[_0x3560c2(0x127)]('.')[0x1]};_0x59f75b['QhKOl'](updatePayloadForTraceLogs,_0x3e5fec,_0x5ceee5,_0x4761c9,_0x2efe15),logger[_0x3560c2(0x174)](_0x3560c2(0x135)+_0x4761c9+_0x3560c2(0x150)+util[_0x3560c2(0x194)](_0x3e5fec));const _0x417070=await GrpcClient[_0x3560c2(0x1b4)]()[_0x3560c2(0x144)](_0x3e5fec);}else{const {steps:_0x57f285,logs:_0x4768bb}=_0x59f75b[_0x3560c2(0x180)](getStepsAndLogs,_0x5ceee5[_0x3560c2(0x16a)][_0x3560c2(0x18b)],_0x717a28,_0x59f75b[_0x3560c2(0x1de)]),_0x256efb=_0x5ceee5[_0x3560c2(0x1d8)]['id'];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x256efb);const _0x442fc8=_0x2efe15['getAllData']()[_0x3560c2(0x1ec)](_0x256efb),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1f7ffd='',[TestFrameworkConstants[_0x3560c2(0x164)]]:_0x2ca2a1=''}=_0x442fc8,_0x29e1fa={'platformIndex':'0','logs':_0x4768bb,'testFrameworkName':_0x1f7ffd,'testFrameworkVersion':_0x2ca2a1,'testFrameworkState':_0x25179f[_0x3560c2(0x187)]()[_0x3560c2(0x127)]('.')[0x1]};_0x59f75b[_0x3560c2(0x15f)](updatePayloadForTraceLogs,_0x29e1fa,_0x5ceee5,_0x256efb,_0x2efe15),logger[_0x3560c2(0x174)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x256efb+_0x3560c2(0x150)+util[_0x3560c2(0x194)](_0x29e1fa));const _0x418382=await GrpcClient[_0x3560c2(0x1b4)]()['logCreatedEvent'](_0x29e1fa);}}catch(_0x51ab31){logger[_0x3560c2(0x13c)](_0x3560c2(0x1cc)+util[_0x3560c2(0x1e4)](_0x51ab31));}}}function a63_0x36d7(){const _0x39b787=['10LaytFx','DEFAULT_HOOK_RESULT','getAllData','../../../../src/helpers/helper','493580lPhQOT','../state/hookState.js','KEY_TEST_UUID','../../playwright/reporter/pwUtils','FIikK','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_FILE_PATH','trackEvent','path','sendLogCreatedEvent','file_name','getTestFrameworks','getTestFrameworksVersions','LnPXg','CfTSd','parsePlaywrightTestResult','annotations','stack','nnkQg','getInstance','TVpyy','nGrLB','KEY_TEST_SCOPE','hUZiY','CHriR','getTestUUID','23116383fFJYZA','values','HmBHK','38990fSSMhv','iTKHf','../../utils/constants','KEY_HOOK_LAST_FINISHED','ayZNV','expectedStatus','SBlTv','message','some','result','err','setTestDetails','yuSfk','Nuffw','Error\x20in\x20sendLogCreatedEvent:\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../TestInfo.js','basename','azALC','skipped','fuAhW','ssOgh','../../../helpers/test-observability/utils','wquby','../../../helpers/helper.js','aWxFd','test','Expected\x20to\x20fail,\x20but\x20passed.','qIyVF','passed','xZIMs','qGQZp','fcTpf','nWpvT','RjPFN','fXjRA','runHooks','KEY_HOOKS_FINISHED','format','KEY_TEST_ATTACHMENTS','filePath','createContext','KEY_EVENT_ENDED_AT','KEY_TEST_ENDED_AT','EJyBy','Error\x20processing\x20trace\x20file\x20','get','\x20&\x20hook\x20=\x20','KEY_HOOK_LAST_STARTED','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','1884zwTDjZ','description','moVbs','wJGqB','KEY_HOOK_LOGS','push','map','DEFAULT_TEST_RESULT','parsePlaywrightTest','XgmZz','KEY_CUSTOM_TAGS','KEY_HOOKS_STARTED','errors','split','IudeY','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_STARTED_AT','field_type','getTraceFilePaths','KEY_EVENT_STARTED_AT','BHdmP','duration','status','AAWIn','length','title','PRE','sendLogCreatedEvent\x20for\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trackPlaywrightInstance','276VQkvvd','KEY_HOOK_RESULT','parsePlaywrightTestResult:\x20testId=','multi_dropdown','error','KEY_HOOK_FAILURE_TYPE','uAGmV','size','resolveInstance','TEST','startTime','testUId','logCreatedEvent','trim','KEY_TEST_ID','vtsVn','2200EhAuDM','8271990MasRXX','KEY_TEST_FAILURE_TYPE','timedOut','\x20instanceId=','KEY_TEST_NAME','\x20\x20and\x20args\x20=\x20','TEST_ATTACHMENT','\x20payload=','ozjlM','UQDIE','Error\x20processing\x20direct\x20trace\x20file\x20','getCurrentInstanceName','VALru','toISOString','addMultipleEntries','KEY_TEST_CODE','KEY_TEST_RESULT_AT','\x20testHookState=','ihYkp','JZUsD','matchHookRegex','Ggvvl','QhKOl','../../../helpers/classLogger.js','pop','\x20from\x20TestDetails:\x20','filter','KEY_TEST_FRAMEWORK_VERSION','Hook\x20List\x20in\x20Post\x20','isArray','exports','./testFramework','tzHzk','step',',\x20state=','\x20and\x20args\x20=\x20','failed','../cliUtils.js','KEY_TEST_SCOPES','POST','DOkdR','KEY_HOOK_FAILURE_REASON',',\x20testFrameworkState=','debug','hook','sendLogCreatedEvent:\x20testId=','info','KEY_TEST_FAILURE','Zoxvw','getTime','RZhaX','results','EdZOX','KEY_TEST_LOCATION','HjHWB','dSyyU','KEY_TEST_RERUN_NAME','MZxqV','No\x20reason\x20provided','forEach','INIT_TEST','SjVrp','toString','getTrackedInstance','getTestDetails','trackHookEvent','steps','Drinr','getRef','34041rJXfcN','9909008oaLZsH','qiULi','getId','KEY_LOGS','lDlys','inspect','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','YhlWL','NONE','statSync','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOK_FAILURE','KEY_TEST_RESULT','uhucf'];a63_0x36d7=function(){return _0x39b787;};return a63_0x36d7();}function a63_0x5aca(_0x518973,_0x211fbb){const _0x36d7e1=a63_0x36d7();return a63_0x5aca=function(_0x5aca96,_0x3698b6){_0x5aca96=_0x5aca96-0x119;let _0x19caec=_0x36d7e1[_0x5aca96];return _0x19caec;},a63_0x5aca(_0x518973,_0x211fbb);}module[a63_0x8d6500(0x167)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a63_0x4c2215=a63_0x25b6;(function(_0x49f6f3,_0x58ed0a){const _0x415a1c=a63_0x25b6,_0x3845d4=_0x49f6f3();while(!![]){try{const _0x27120f=parseInt(_0x415a1c(0x161))/0x1+parseInt(_0x415a1c(0x189))/0x2*(-parseInt(_0x415a1c(0x166))/0x3)+-parseInt(_0x415a1c(0x164))/0x4*(-parseInt(_0x415a1c(0x18a))/0x5)+-parseInt(_0x415a1c(0x16c))/0x6+parseInt(_0x415a1c(0x183))/0x7+-parseInt(_0x415a1c(0x168))/0x8+parseInt(_0x415a1c(0x162))/0x9*(parseInt(_0x415a1c(0x15d))/0xa);if(_0x27120f===_0x58ed0a)break;else _0x3845d4['push'](_0x3845d4['shift']());}catch(_0x4371d1){_0x3845d4['push'](_0x3845d4['shift']());}}}(a63_0x5195,0x5f7ad));const CLIUtils=require(a63_0x4c2215(0x174)),eventDispatcher=require(a63_0x4c2215(0x172)),TestFrameworkInstance=require(a63_0x4c2215(0x16d)),TrackedContext=require(a63_0x4c2215(0x180)),TestFrameworkState=require(a63_0x4c2215(0x163)),HookState=require(a63_0x4c2215(0x17c)),{createClassLogger}=require(a63_0x4c2215(0x16a)),TrackedInstance=require(a63_0x4c2215(0x17f)),logger=createClassLogger('TestFramework');class TestFramework{static [a63_0x4c2215(0x177)]=new Map();['testFrameworks']=[];[a63_0x4c2215(0x16f)]={};['binSessionId']=null;constructor(_0x95ab05,_0x222c23,_0x5896c2){const _0x19947e=a63_0x4c2215;this['testFrameworks']=_0x95ab05,this[_0x19947e(0x16f)]=_0x222c23,this[_0x19947e(0x16e)]=_0x5896c2;}[a63_0x4c2215(0x17e)](){const _0x4fb9c9=a63_0x4c2215;return TestFramework[_0x4fb9c9(0x177)];}[a63_0x4c2215(0x15e)](_0x4b1019,_0x4180c3){TestFramework['instances']['set'](_0x4b1019['getId'],_0x4180c3);}static['getTrackedInstance'](){const _0x5ac7cd=a63_0x4c2215,_0x3568c5=TrackedInstance[_0x5ac7cd(0x179)](CLIUtils[_0x5ac7cd(0x15f)]());return TestFramework['instances'][_0x5ac7cd(0x165)](_0x3568c5[_0x5ac7cd(0x182)]());}static[a63_0x4c2215(0x186)](_0x5a880f,_0x3bd332){const _0x3d6626=a63_0x4c2215;TestFramework[_0x3d6626(0x177)][_0x3d6626(0x181)](_0x5a880f[_0x3d6626(0x182)](),_0x3bd332);}[a63_0x4c2215(0x169)](){const _0x8c860d=a63_0x4c2215;return this[_0x8c860d(0x16f)];}[a63_0x4c2215(0x160)](){const _0xaa517b=a63_0x4c2215;return this[_0xaa517b(0x17a)];}[a63_0x4c2215(0x171)](_0xe50c27,_0x1b7fe1,_0x527874={}){const _0x5c0e58=a63_0x4c2215;logger[_0x5c0e58(0x184)](_0x5c0e58(0x175)+_0xe50c27+_0x5c0e58(0x17d)+_0x1b7fe1);}async[a63_0x4c2215(0x187)](_0x2ce000,_0x415d25,_0x57687b,_0x6335f8={}){const _0x40a1e0=a63_0x4c2215,_0x5211fa=CLIUtils[_0x40a1e0(0x170)](_0x415d25,_0x57687b);_0x2ce000[_0x40a1e0(0x188)](_0x415d25),_0x2ce000[_0x40a1e0(0x16b)](_0x57687b),await eventDispatcher[_0x40a1e0(0x17b)](_0x5211fa,_0x6335f8);}static['registerObserver'](_0x1a26d8,_0x59768c,_0x3f8370){const _0x71b7c4=a63_0x4c2215;eventDispatcher[_0x71b7c4(0x167)](CLIUtils[_0x71b7c4(0x170)](_0x1a26d8,_0x59768c),_0x3f8370);}static[a63_0x4c2215(0x173)](_0x1a241d,_0x1b4ddd){const _0x255d21=a63_0x4c2215;return _0x1a241d[_0x255d21(0x185)]()[_0x255d21(0x165)](_0x1b4ddd);}static[a63_0x4c2215(0x176)](_0x7f9d38,_0x3c8521,_0x56b1ce){const _0x448ae2=a63_0x4c2215;_0x7f9d38['getAllData']()[_0x448ae2(0x181)](_0x3c8521,_0x56b1ce);}static[a63_0x4c2215(0x15c)](_0x3d0979,_0x21f976){const _0x28cdfa=a63_0x4c2215;return _0x3d0979[_0x28cdfa(0x185)]()['has'](_0x21f976);}}module[a63_0x4c2215(0x178)]=TestFramework;function a63_0x25b6(_0x220f0f,_0x2af2c3){const _0x51951f=a63_0x5195();return a63_0x25b6=function(_0x25b68d,_0x15d41a){_0x25b68d=_0x25b68d-0x15c;let _0x473ee6=_0x51951f[_0x25b68d];return _0x473ee6;},a63_0x25b6(_0x220f0f,_0x2af2c3);}function a63_0x5195(){const _0x5ba3ed=['171OTAZpz','registerObserver','4732232BykhSl','getTestFrameworksVersions','../../../helpers/classLogger','setCurrentHookState','1317180xLvaYu','../instances/testFrameworkInstance','binSessionId','testFrameworkVersions','getHookRegistryKey','trackEvent','../eventDispatcher','getState','../cliUtils','trackEvent:\x20testFrameworkState=','setState','instances','exports','createContext','testFrameworks','notifyObserver','../state/hookState',';\x20hookState=','getInstances','../instances/trackedInstance','../instances/trackedContext','set','getId','4525073TrCyeR','debug','getAllData','setTrackedInstance','runHooks','setCurrentTestState','22930UkYvWo','5dxzMdm','hasState','1161790SRmKLm','setInstance','getCurrentInstanceName','getTestFrameworks','539525FtKbCM','45XnMdBl','../state/testFrameworkState','355160KWnBNk','get'];a63_0x5195=function(){return _0x5ba3ed;};return a63_0x5195();}
1
+ const a64_0x4d2ff1=a64_0x144d;function a64_0x144d(_0x2c153f,_0x341435){const _0x447bcd=a64_0x447b();return a64_0x144d=function(_0x144d61,_0x993670){_0x144d61=_0x144d61-0x9b;let _0x25207d=_0x447bcd[_0x144d61];return _0x25207d;},a64_0x144d(_0x2c153f,_0x341435);}(function(_0x332544,_0x5a590e){const _0x10366a=a64_0x144d,_0x4a3c58=_0x332544();while(!![]){try{const _0x592195=-parseInt(_0x10366a(0xc5))/0x1*(-parseInt(_0x10366a(0xc3))/0x2)+-parseInt(_0x10366a(0xc6))/0x3+parseInt(_0x10366a(0xac))/0x4*(-parseInt(_0x10366a(0xa5))/0x5)+-parseInt(_0x10366a(0xb3))/0x6*(-parseInt(_0x10366a(0xb1))/0x7)+-parseInt(_0x10366a(0xbb))/0x8*(parseInt(_0x10366a(0xa3))/0x9)+-parseInt(_0x10366a(0xb4))/0xa*(-parseInt(_0x10366a(0xbe))/0xb)+-parseInt(_0x10366a(0xa8))/0xc*(parseInt(_0x10366a(0xaf))/0xd);if(_0x592195===_0x5a590e)break;else _0x4a3c58['push'](_0x4a3c58['shift']());}catch(_0x442a47){_0x4a3c58['push'](_0x4a3c58['shift']());}}}(a64_0x447b,0xc3ba8));function a64_0x447b(){const _0x484a06=['../instances/testFrameworkInstance','9FRjWxe','testFrameworks','1036785mzKLxe','runHooks','../state/testFrameworkState','12908436yIhjXE','registerObserver','set','instances','24xbckyP','getInstances',';\x20hookState=','13IqPaCN','getTrackedInstance','8225LvqDSp','setCurrentTestState','3378IFSIgu','12270HQiDaK','createContext','trackEvent','trackEvent:\x20testFrameworkState=','getTestFrameworksVersions','../eventDispatcher','testFrameworkVersions','499808UJYbqX','getTestFrameworks','getAllData','13222TOIIDY','../cliUtils','debug','../../../helpers/classLogger','setCurrentHookState','26jITUhE','../instances/trackedContext','110455KIlYss','1164807LvgGlN','has','setState','setInstance','TestFramework','getHookRegistryKey','getId','getState','binSessionId'];a64_0x447b=function(){return _0x484a06;};return a64_0x447b();}const CLIUtils=require(a64_0x4d2ff1(0xbf)),eventDispatcher=require(a64_0x4d2ff1(0xb9)),TestFrameworkInstance=require(a64_0x4d2ff1(0xa2)),TrackedContext=require(a64_0x4d2ff1(0xc4)),TestFrameworkState=require(a64_0x4d2ff1(0xa7)),HookState=require('../state/hookState'),{createClassLogger}=require(a64_0x4d2ff1(0xc1)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a64_0x4d2ff1(0x9d));class TestFramework{static ['instances']=new Map();[a64_0x4d2ff1(0xa4)]=[];[a64_0x4d2ff1(0xba)]={};[a64_0x4d2ff1(0xa1)]=null;constructor(_0x3cd499,_0x3c5700,_0x3f47a5){const _0x3896b5=a64_0x4d2ff1;this[_0x3896b5(0xa4)]=_0x3cd499,this[_0x3896b5(0xba)]=_0x3c5700,this[_0x3896b5(0xa1)]=_0x3f47a5;}[a64_0x4d2ff1(0xad)](){const _0x58f2ba=a64_0x4d2ff1;return TestFramework[_0x58f2ba(0xab)];}[a64_0x4d2ff1(0x9c)](_0x392615,_0x55fb03){const _0x5b49ac=a64_0x4d2ff1;TestFramework[_0x5b49ac(0xab)][_0x5b49ac(0xaa)](_0x392615[_0x5b49ac(0x9f)],_0x55fb03);}static[a64_0x4d2ff1(0xb0)](){const _0x3c7731=a64_0x4d2ff1,_0xbc76a3=TrackedInstance[_0x3c7731(0xb5)](CLIUtils['getCurrentInstanceName']());return TestFramework[_0x3c7731(0xab)]['get'](_0xbc76a3['getId']());}static['setTrackedInstance'](_0x3e1655,_0x4d4671){const _0x1754df=a64_0x4d2ff1;TestFramework[_0x1754df(0xab)][_0x1754df(0xaa)](_0x3e1655[_0x1754df(0x9f)](),_0x4d4671);}[a64_0x4d2ff1(0xb8)](){const _0x9f3267=a64_0x4d2ff1;return this[_0x9f3267(0xba)];}[a64_0x4d2ff1(0xbc)](){return this['testFrameworks'];}[a64_0x4d2ff1(0xb6)](_0x29fadf,_0x10548b,_0x1bd4a6={}){const _0x207047=a64_0x4d2ff1;logger[_0x207047(0xc0)](_0x207047(0xb7)+_0x29fadf+_0x207047(0xae)+_0x10548b);}async[a64_0x4d2ff1(0xa6)](_0x1f14a3,_0x4eda4f,_0x4b43c0,_0x5b9f4b={}){const _0x15b987=a64_0x4d2ff1,_0x3df4d4=CLIUtils[_0x15b987(0x9e)](_0x4eda4f,_0x4b43c0);_0x1f14a3[_0x15b987(0xb2)](_0x4eda4f),_0x1f14a3[_0x15b987(0xc2)](_0x4b43c0),await eventDispatcher['notifyObserver'](_0x3df4d4,_0x5b9f4b);}static[a64_0x4d2ff1(0xa9)](_0x41e5d3,_0x4705a1,_0x1548d1){const _0x1d28cd=a64_0x4d2ff1;eventDispatcher[_0x1d28cd(0xa9)](CLIUtils[_0x1d28cd(0x9e)](_0x41e5d3,_0x4705a1),_0x1548d1);}static[a64_0x4d2ff1(0xa0)](_0x48a3f7,_0x2aeb6d){return _0x48a3f7['getAllData']()['get'](_0x2aeb6d);}static[a64_0x4d2ff1(0x9b)](_0x5896cb,_0x5753a2,_0xac7123){const _0x30605d=a64_0x4d2ff1;_0x5896cb[_0x30605d(0xbd)]()['set'](_0x5753a2,_0xac7123);}static['hasState'](_0x4ad9cc,_0x351a8e){const _0x972731=a64_0x4d2ff1;return _0x4ad9cc[_0x972731(0xbd)]()[_0x972731(0xc7)](_0x351a8e);}}module['exports']=TestFramework;
@@ -1 +1 @@
1
- const a64_0x537c3f=a64_0x3e2d;function a64_0x3e2d(_0x3860f5,_0x4d3de0){const _0x29d181=a64_0x29d1();return a64_0x3e2d=function(_0x3e2d36,_0x42b5f2){_0x3e2d36=_0x3e2d36-0x8e;let _0x4008c5=_0x29d181[_0x3e2d36];return _0x4008c5;},a64_0x3e2d(_0x3860f5,_0x4d3de0);}(function(_0x3096cb,_0x562f45){const _0x6cc32c=a64_0x3e2d,_0x4619c7=_0x3096cb();while(!![]){try{const _0x1bc568=parseInt(_0x6cc32c(0x132))/0x1*(parseInt(_0x6cc32c(0x142))/0x2)+-parseInt(_0x6cc32c(0xb2))/0x3+parseInt(_0x6cc32c(0xe0))/0x4+-parseInt(_0x6cc32c(0xb1))/0x5+parseInt(_0x6cc32c(0x9a))/0x6+-parseInt(_0x6cc32c(0x124))/0x7+-parseInt(_0x6cc32c(0x94))/0x8*(-parseInt(_0x6cc32c(0x145))/0x9);if(_0x1bc568===_0x562f45)break;else _0x4619c7['push'](_0x4619c7['shift']());}catch(_0x6961c7){_0x4619c7['push'](_0x4619c7['shift']());}}}(a64_0x29d1,0xb2fbd));function a64_0x29d1(){const _0x10fa39=['LogCreatedEvent\x20request\x20successful','addFrameworks','StartBinSession\x20error:\x20','SDKClient','893LKHxJQ','stopBinSession','credentials','KUGhA','Sending\x20TestSessionEvent','setFrameworksList','IksKA','hubUrl','setThreadId','setUserInputParams','setFrameworkSessionId','StopBinSessionRequest','ExecutionContext','PsvoZ','fZmbQ','TestFrameworkEvent\x20error:\x20','1106hCtvRc','setMessage','getPlaywrightConfig','9vMMruO','frameworkName','client','fileSize','startBinSession','testFrameworkState','processId','end','kind','setSdkVersion','KEBnc','level','TestSessionEvent\x20request\x20successful','setTestHookState','info','forEach','../../../generated/sdk_grpc_pb','../utils/constants','setFrameworkVersion','setPathProject','xlISF','mZbBo','../../helpers/classLogger.js','utf-8','qbBPp','test_run_uuid','user_killed','binSessionId','BROWSERSTACK_CLI_BIN_SESSION_ID','BtUEH','setHash','ZJPut','RuKFD','launchcaps','ipFbY','18616408zzQIhg','setExitReason','RySdE','KmnNG','setStartedAt','listenAddress','6321450aDxSjf','uqbJg','encode','StopBinSession\x20error:\x20','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','createInsecure','winstonLogger','vmntH','eOIOb','gmNWc','setUuid','resolve','channel','NzCBx','../../helpers/performance/constants','ejvEc','setTestFrameworkVersion','from','tRscx','stringify','filePath','OOTpV','setPathConfig','6363225opKPpy','1653651EMpWzc','addAutomationSessions','setCliArgsList','init','../../helpers/performance/performance-tester.js','Stopping\x20signal\x20','setTestUuid','debug','testSessionEvent','setProcessId','TestFrameworkEventRequest','PlaywrightConfig\x20request\x20successful','cdhTA','slice','setTestFrameworkName','setBinSessionId','Error\x20in\x20DriverInit:\x20','connect','setAttachmentType','LogCreatedEventRequest','UbpSW','timestamp','Error\x20in\x20LogCreatedEvent:\x20','Stopping\x20bin\x20session','tbpOq','set','AutomationSession','dSaFh','uuid','LogCreatedEvent\x20error:\x20','setTimestamp','DriverInit\x20request\x20successful','TestFrameworkEvent\x20request\x20successful','PlaywrightConfigRequest','vvUur','format','setLanguage','No\x20gRPC\x20client\x20not\x20initialized.','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','GrpcClient','setPlatformIndex','setExitSignal','setExecutionContext','Getting\x20Playwright\x20config','setTestFrameworkState','../../../generated/sdk-messages_pb','31336HfvCot','QIBHg','argv','setProvider','version','LogEntry','Error\x20in\x20getPlaywrightConfig:\x20','name','Connected\x20to\x20gRPC\x20server\x20at\x20','ConnectBinSession\x20successful','Error\x20in\x20TestFrameworkEvent:\x20','TestSessionEventRequest','connect-bin-session\x20response:\x20','start','setFrameworkName','env','logCreatedEvent','addLogs','error','xHLvx','setTestFramework','Error\x20in\x20getAccessibilityConfig:\x20','getInstance','path','getAutomationFrameworkDetail','logger','iqIbc','setCapabilities','../../helpers/logger.js','Getting\x20Accessibility\x20config','ConnectBinSessionRequest','setRef','nWLFX','Missing\x20binSessionId','StartBinSessionRequest','SDK_CONNECT_BIN_SESSION','setKind','Enyyr','dQhQR','hash','\x20and\x20listen\x20address:\x20','TestSessionEvent\x20error:\x20','VvpHs','getAccessibilityConfig','TUafh','provider','SDK_AUTOMATION_FRAMEWORK_INIT','testFrameworkName','browserstack.yml','SDK_CLI_ON_STOP','setConfig','Sending\x20LogCreatedEvent','setFilePath','threadId','getEnvVarsMap','ConnectBinSession\x20error:\x20','\x20listenAddr:\x20','Connecting\x20bin\x20session','Channel','setEventJson','HKyIL','frameworkVersion','YpdFO','setFileSize','DriverInit\x20error:\x20','bQAwq','Sending\x20TestFrameworkEvent','YKsKf','9277170ySAKZS','aeLLx','attachment_type','SDK_START_BIN_SESSION','connectBinSession','setFileName','exports','StartBinSession\x20successful','fileName','message'];a64_0x29d1=function(){return _0x10fa39;};return a64_0x29d1();}const util=require('util'),logger=require(a64_0x537c3f(0xfc))[a64_0x537c3f(0xa0)],grpc=require('@grpc/grpc-js'),services=require(a64_0x537c3f(0x155)),messages=require(a64_0x537c3f(0xdf)),path=require(a64_0x537c3f(0xf7)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a64_0x537c3f(0x15b)),PerformanceTester=require(a64_0x537c3f(0xb6)),{EVENTS:PerformanceEvents}=require(a64_0x537c3f(0xa8)),{PLAYWRIGHT_TRACE_LOGS}=require(a64_0x537c3f(0x156));class GrpcClient{static #instance=null;[a64_0x537c3f(0x160)]=null;[a64_0x537c3f(0x99)]=null;[a64_0x537c3f(0xa6)]=null;[a64_0x537c3f(0x147)]=null;[a64_0x537c3f(0xf9)]=createClassLogger(a64_0x537c3f(0xd9));constructor(){}static[a64_0x537c3f(0xf6)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a64_0x537c3f(0xb5)](_0x440d83){const _0x33fbed=a64_0x537c3f,_0x26d551={};_0x26d551[_0x33fbed(0xa3)]=function(_0xe6b5dd,_0x3c1a07){return _0xe6b5dd||_0x3c1a07;};const _0x16b152=_0x26d551,{id:_0x1fe4a3,listen:_0x2fcd3a}=_0x440d83;if(_0x16b152[_0x33fbed(0xa3)](!_0x1fe4a3,!_0x2fcd3a))throw new Error(_0x33fbed(0x9e)+_0x1fe4a3+_0x33fbed(0x118)+_0x2fcd3a);this['binSessionId']=_0x1fe4a3,this[_0x33fbed(0x99)]=_0x2fcd3a,process['env'][_0x33fbed(0x161)]=this[_0x33fbed(0x160)],process[_0x33fbed(0xef)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x33fbed(0x99)],this[_0x33fbed(0xc3)](),this[_0x33fbed(0xf9)][_0x33fbed(0x153)]('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x33fbed(0x160)]+_0x33fbed(0x108)+this[_0x33fbed(0x99)]);}['connect'](){const _0x524e9d=a64_0x537c3f,_0x23206e={};_0x23206e['AMYxd']=_0x524e9d(0xd8);const _0x5f0524=_0x23206e;let _0x114bad=this['listenAddress'];!_0x114bad&&(_0x114bad=process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x524e9d(0x160)]&&(this[_0x524e9d(0x160)]=this[_0x524e9d(0x160)]||process['env'][_0x524e9d(0x161)]);if(!_0x114bad)throw new Error(_0x5f0524['AMYxd']);const _0x21ad03={};_0x21ad03['grpc.keepalive_time_ms']=0x2710,this[_0x524e9d(0xa6)]=new grpc[(_0x524e9d(0x11a))](_0x114bad,grpc['credentials'][_0x524e9d(0x9f)](),_0x21ad03),this[_0x524e9d(0x147)]=new services[(_0x524e9d(0x131))](_0x114bad,grpc[_0x524e9d(0x134)]['createInsecure']()),this[_0x524e9d(0xf9)][_0x524e9d(0x153)](_0x524e9d(0xe8)+_0x114bad);}async[a64_0x537c3f(0x149)](){const _0x3c3678=a64_0x537c3f,_0x9b3dd6={'HEgak':function(_0x3f1478,_0x2d0007){return _0x3f1478!==_0x2d0007;},'dQhQR':function(_0x274aac,_0x296f54){return _0x274aac!==_0x296f54;},'IksKA':function(_0x5db5d0,_0x21227c){return _0x5db5d0(_0x21227c);},'iSmul':_0x3c3678(0x12b),'YKsKf':'startBinSession:\x20Calling\x20startBinSession','ipFbY':_0x3c3678(0xd7),'aeLLx':_0x3c3678(0x110),'GrHVJ':function(_0xff2ec0,_0x27f5a4){return _0xff2ec0||_0x27f5a4;}};PerformanceTester[_0x3c3678(0xed)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x3c3678(0xf9)]['info'](_0x9b3dd6[_0x3c3678(0x123)]);try{!this['client']&&this['logger'][_0x3c3678(0x153)](_0x9b3dd6[_0x3c3678(0x93)]);const _0x165d4f=CLIUtils['getSdkVersion'](),_0x451606=CLIUtils[_0x3c3678(0xf8)](),_0x56d02d=_0x451606[_0x3c3678(0xe7)],_0x5a3cc7=_0x451606['version'],_0x2ac5ef=new messages[(_0x3c3678(0x102))]();_0x2ac5ef['setBinSessionId'](this[_0x3c3678(0x160)]),_0x2ac5ef['setSdkLanguage'](CLIUtils['getSdkLanguage']()),_0x2ac5ef[_0x3c3678(0x14e)](_0x165d4f),_0x2ac5ef[_0x3c3678(0x158)](process['cwd']()),_0x2ac5ef[_0x3c3678(0xb0)](path[_0x3c3678(0xa5)](process['cwd'](),_0x9b3dd6[_0x3c3678(0x125)]));const _0x46975c=_0x2ac5ef[_0x3c3678(0x116)]();Object['entries'](process[_0x3c3678(0xef)])[_0x3c3678(0x154)](([_0x4f48e2,_0xfc0e9f])=>{const _0x4ef84c=_0x3c3678;_0x9b3dd6['HEgak'](_0xfc0e9f,undefined)&&_0x9b3dd6[_0x4ef84c(0x106)](_0xfc0e9f,null)&&_0x46975c[_0x4ef84c(0xcb)](_0x4f48e2,_0xfc0e9f);}),_0x2ac5ef[_0x3c3678(0xb4)](process[_0x3c3678(0xe2)][_0x3c3678(0xbf)](0x2)),_0x2ac5ef[_0x3c3678(0xd6)](CLIUtils['getSdkLanguage']()),_0x2ac5ef[_0x3c3678(0xf4)](_0x56d02d);const _0x1785d2=_0x2ac5ef['getFrameworkVersionsMap']();return _0x1785d2[_0x3c3678(0xcb)](_0x56d02d,_0x9b3dd6['GrHVJ'](_0x5a3cc7,'')),_0x2ac5ef[_0x3c3678(0x12f)](_0x56d02d,_0x5a3cc7),_0x2ac5ef[_0x3c3678(0x137)]([_0x56d02d]),new Promise((_0x539019,_0x577e88)=>{const _0x3e487e=_0x3c3678,_0x36731c={'xHLvx':function(_0x152c86,_0x32e8f9){const _0x30d9de=a64_0x3e2d;return _0x9b3dd6[_0x30d9de(0x138)](_0x152c86,_0x32e8f9);},'kowmU':_0x9b3dd6['iSmul']};this[_0x3e487e(0x147)]['startBinSession'](_0x2ac5ef,(_0x45b21b,_0xd0c318)=>{const _0x21e61f=_0x3e487e;if(_0x45b21b){this[_0x21e61f(0xf9)]['error'](_0x21e61f(0x130)+_0x45b21b[_0x21e61f(0x12d)]),_0x36731c['xHLvx'](_0x577e88,_0x45b21b),PerformanceTester[_0x21e61f(0x14c)](PerformanceEvents[_0x21e61f(0x127)],![],util[_0x21e61f(0xd5)](_0x45b21b));return;}this['logger'][_0x21e61f(0x153)](_0x36731c['kowmU']),PerformanceTester[_0x21e61f(0x14c)](PerformanceEvents[_0x21e61f(0x127)]),_0x36731c[_0x21e61f(0xf3)](_0x539019,_0xd0c318);});});}catch(_0x422034){this[_0x3c3678(0xf9)][_0x3c3678(0xf2)]('Error\x20in\x20startBinSession:\x20'+util[_0x3c3678(0xd5)](_0x422034)),PerformanceTester[_0x3c3678(0x14c)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x3c3678(0xd5)](_0x422034));throw _0x422034;}}async[a64_0x537c3f(0x128)](){const _0x5ef024=a64_0x537c3f,_0x6dd6d7={'jbELa':function(_0x4e084a,_0x27db2c){return _0x4e084a(_0x27db2c);},'RuKFD':_0x5ef024(0xe9),'KmnNG':_0x5ef024(0x119),'YpdFO':_0x5ef024(0xd7)};PerformanceTester[_0x5ef024(0xed)](PerformanceEvents[_0x5ef024(0x103)]),this['logger'][_0x5ef024(0x153)](_0x6dd6d7[_0x5ef024(0x97)]);try{!this[_0x5ef024(0x147)]&&this[_0x5ef024(0xf9)][_0x5ef024(0x153)](_0x6dd6d7[_0x5ef024(0x11e)]);const _0x409780=new messages[(_0x5ef024(0xfe))]();_0x409780[_0x5ef024(0xc1)](this[_0x5ef024(0x160)]);const _0x58633d=await new Promise((_0x183e89,_0x2187a4)=>{const _0x1e7d3a=_0x5ef024,_0x79523f={'bQAwq':function(_0x157e63,_0x389e56){return _0x6dd6d7['jbELa'](_0x157e63,_0x389e56);},'iqIbc':_0x6dd6d7[_0x1e7d3a(0x91)]};this['client'][_0x1e7d3a(0x128)](_0x409780,(_0x576730,_0x4d9915)=>{const _0x44ad1b=_0x1e7d3a;if(_0x576730){this[_0x44ad1b(0xf9)][_0x44ad1b(0xf2)](_0x44ad1b(0x117)+_0x576730[_0x44ad1b(0x12d)]),_0x79523f[_0x44ad1b(0x121)](_0x2187a4,_0x576730),PerformanceTester[_0x44ad1b(0x14c)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x44ad1b(0xd5)](_0x576730));return;}this['logger']['info'](_0x79523f[_0x44ad1b(0xfa)]),PerformanceTester[_0x44ad1b(0x14c)](PerformanceEvents[_0x44ad1b(0x103)]),_0x79523f[_0x44ad1b(0x121)](_0x183e89,_0x4d9915);});});return this[_0x5ef024(0xf9)][_0x5ef024(0xb9)](_0x5ef024(0xec)+util[_0x5ef024(0xd5)](_0x58633d)),_0x58633d;}catch(_0x11c01c){PerformanceTester[_0x5ef024(0x14c)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x11c01c)),this[_0x5ef024(0xf9)][_0x5ef024(0xf2)]('Error\x20in\x20connectBinSession:\x20'+util['format'](_0x11c01c));throw _0x11c01c;}}async[a64_0x537c3f(0x133)](_0x300244={},_0x313f72=null){const _0x32a22a=a64_0x537c3f,_0x1067c1={'KUGhA':function(_0xd5eb23,_0x473aa3){return _0xd5eb23(_0x473aa3);},'mZbBo':'StopBinSession\x20successful','xlISF':_0x32a22a(0xc9),'TUafh':_0x32a22a(0x101),'ejvEc':_0x32a22a(0xd7),'VvpHs':_0x32a22a(0x15f)};PerformanceTester[_0x32a22a(0xed)](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x32a22a(0xf9)]['info'](_0x1067c1[_0x32a22a(0x159)]);try{if(!this[_0x32a22a(0x160)])throw new Error(_0x1067c1[_0x32a22a(0x10c)]);!this[_0x32a22a(0x147)]&&this['logger'][_0x32a22a(0x153)](_0x1067c1[_0x32a22a(0xa9)]);const _0x166760=new messages[(_0x32a22a(0x13d))]();this[_0x32a22a(0xf9)][_0x32a22a(0xb9)](_0x32a22a(0xb7)+JSON[_0x32a22a(0xad)](_0x313f72)),_0x166760[_0x32a22a(0xc1)](this['binSessionId']),_0x166760['setCustomMetadata'](_0x300244),_0x166760[_0x32a22a(0xdb)](_0x313f72?_0x313f72:null),_0x166760[_0x32a22a(0x95)](_0x313f72?_0x1067c1[_0x32a22a(0x10a)]:null),_0x166760['setExitCode'](_0x313f72?0x1:0x0);const _0x503307=await new Promise((_0x3c2bcf,_0x365a23)=>{const _0x223a9a=_0x32a22a;this[_0x223a9a(0x147)][_0x223a9a(0x133)](_0x166760,(_0x26be3b,_0x3196fc)=>{const _0x2bd4da=_0x223a9a;if(_0x26be3b){this[_0x2bd4da(0xf9)][_0x2bd4da(0xf2)](_0x2bd4da(0x9d)+_0x26be3b[_0x2bd4da(0x12d)]),_0x1067c1[_0x2bd4da(0x135)](_0x365a23,_0x26be3b),PerformanceTester[_0x2bd4da(0x14c)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x2bd4da(0xd5)](_0x26be3b));return;}this[_0x2bd4da(0xf9)]['info'](_0x1067c1[_0x2bd4da(0x15a)]),PerformanceTester['end'](PerformanceEvents[_0x2bd4da(0x111)]),_0x1067c1[_0x2bd4da(0x135)](_0x3c2bcf,_0x3196fc);});});return this[_0x32a22a(0xf9)]['debug']('stop-bin-session\x20response:\x20'+util['format'](_0x503307)),_0x503307;}catch(_0x5c9858){PerformanceTester[_0x32a22a(0x14c)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x32a22a(0xd5)](_0x5c9858)),this[_0x32a22a(0xf9)][_0x32a22a(0xf2)]('Error\x20in\x20stopBinSession:\x20'+util[_0x32a22a(0xd5)](_0x5c9858));}}async[a64_0x537c3f(0x144)](_0x889cca){const _0x41fce4=a64_0x537c3f,_0x593399={'vvUur':function(_0x1e264a,_0x1e9ef3){return _0x1e264a(_0x1e9ef3);},'UbpSW':_0x41fce4(0xbd),'NzCBx':_0x41fce4(0xdd),'tbpOq':_0x41fce4(0xd7)};PerformanceTester[_0x41fce4(0xed)](PerformanceEvents[_0x41fce4(0x10e)]),this[_0x41fce4(0xf9)][_0x41fce4(0x153)](_0x593399[_0x41fce4(0xa7)]);try{!this[_0x41fce4(0x147)]&&this[_0x41fce4(0xf9)]['info'](_0x593399[_0x41fce4(0xca)]);const _0x3cd0fb=new messages[(_0x41fce4(0xd3))]();return _0x3cd0fb[_0x41fce4(0xc1)](this[_0x41fce4(0x160)]),_0x3cd0fb[_0x41fce4(0x112)](JSON['stringify'](_0x889cca)),new Promise((_0x3d0d82,_0x3372fd)=>{const _0x5ddec8=_0x41fce4,_0x48add5={'PsvoZ':function(_0x5efd65,_0x3b1a35){const _0x525d03=a64_0x3e2d;return _0x593399[_0x525d03(0xd4)](_0x5efd65,_0x3b1a35);},'BtUEH':_0x593399[_0x5ddec8(0xc6)]};this[_0x5ddec8(0x147)]['playwrightConfig'](_0x3cd0fb,(_0x54eada,_0x278119)=>{const _0x13d961=_0x5ddec8;if(_0x54eada){this[_0x13d961(0xf9)][_0x13d961(0xf2)]('PlaywrightConfig\x20error:\x20'+_0x54eada['message']),_0x48add5[_0x13d961(0x13f)](_0x3372fd,_0x54eada),PerformanceTester[_0x13d961(0x14c)](PerformanceEvents[_0x13d961(0x10e)],![],util[_0x13d961(0xd5)](_0x54eada));return;}this[_0x13d961(0xf9)][_0x13d961(0x153)](_0x48add5[_0x13d961(0x8e)]),PerformanceTester[_0x13d961(0x14c)](PerformanceEvents[_0x13d961(0x10e)]),_0x48add5['PsvoZ'](_0x3d0d82,_0x278119);});});}catch(_0x1bf139){PerformanceTester[_0x41fce4(0x14c)](PerformanceEvents[_0x41fce4(0x10e)],![],util[_0x41fce4(0xd5)](_0x1bf139)),this[_0x41fce4(0xf9)][_0x41fce4(0xf2)](_0x41fce4(0xe6)+util['format'](_0x1bf139));throw _0x1bf139;}}async[a64_0x537c3f(0x10b)](_0x1da6d1){const _0x4e38b4=a64_0x537c3f,_0x5ebbf0={'OOTpV':function(_0x5359ea,_0x2b306d){return _0x5359ea(_0x2b306d);},'Enyyr':'AccessibilityConfig\x20request\x20successful','KEBnc':_0x4e38b4(0xfd),'azFGb':_0x4e38b4(0x15c)};this['logger'][_0x4e38b4(0x153)](_0x5ebbf0[_0x4e38b4(0x14f)]);try{const _0x5b4d96=Buffer[_0x4e38b4(0xab)](JSON[_0x4e38b4(0xad)](_0x1da6d1[_0x4e38b4(0x92)]),_0x5ebbf0['azFGb']),_0x2060d4=new messages['AccessibilityConfigRequest'](),_0x344c21=CLIUtils[_0x4e38b4(0xf8)](),_0x475b1e=_0x344c21[_0x4e38b4(0xe7)],_0x1d7dd1=_0x344c21[_0x4e38b4(0xe4)];return _0x2060d4[_0x4e38b4(0xc1)](this[_0x4e38b4(0x160)]),_0x2060d4[_0x4e38b4(0xda)](0x0),_0x2060d4[_0x4e38b4(0xee)](_0x475b1e),_0x2060d4[_0x4e38b4(0x157)](_0x1d7dd1),_0x2060d4['setHubUrl'](_0x1da6d1[_0x4e38b4(0x139)]),_0x2060d4[_0x4e38b4(0xfb)](_0x5b4d96),new Promise((_0x13c12c,_0x50ad95)=>{const _0x3e69f4=_0x4e38b4;this[_0x3e69f4(0x147)]['accessibilityConfig'](_0x2060d4,(_0x37c123,_0x3ce317)=>{const _0xd02d9a=_0x3e69f4;if(_0x37c123){this[_0xd02d9a(0xf9)][_0xd02d9a(0xf2)]('AccessibilityConfig\x20error:\x20'+_0x37c123[_0xd02d9a(0x12d)]),_0x5ebbf0[_0xd02d9a(0xaf)](_0x50ad95,_0x37c123);return;}this[_0xd02d9a(0xf9)]['info'](_0x5ebbf0[_0xd02d9a(0x105)]),_0x5ebbf0['OOTpV'](_0x13c12c,_0x3ce317);});});}catch(_0x4665a8){this['logger'][_0x4e38b4(0xf2)](_0x4e38b4(0xf5)+util[_0x4e38b4(0xd5)](_0x4665a8));}}async['testSessionEvent'](_0x4d88b3){const _0x408849=a64_0x537c3f,_0xff815b={'nHDQl':function(_0x169a58,_0x3d39d7){return _0x169a58(_0x3d39d7);},'DIdlA':_0x408849(0x151),'xHNJL':_0x408849(0x136),'QIBHg':_0x408849(0xd7)};this[_0x408849(0xf9)]['info'](_0xff815b['xHNJL']);try{!this[_0x408849(0x147)]&&this[_0x408849(0xf9)][_0x408849(0x153)](_0xff815b[_0x408849(0xe1)]);const {platformIndex:_0x3192a9,testFrameworkName:_0x5d00ab,testFrameworkVersion:_0x4fe168,testFrameworkState:_0x21e2f2,testHookState:_0x60a163,testUuid:_0x2afac7,automationSession:_0x373ad8,capabilities:_0x562e18,executionContext:_0x5ce220}=_0x4d88b3,_0x405ec3=new messages['TestSessionEventRequest']();_0x405ec3[_0x408849(0xc1)](this[_0x408849(0x160)]),_0x405ec3[_0x408849(0xda)](_0x3192a9),_0x405ec3[_0x408849(0xc0)](_0x5d00ab),_0x405ec3['setTestFrameworkVersion'](_0x4fe168),_0x405ec3[_0x408849(0xde)](_0x21e2f2),_0x405ec3[_0x408849(0x152)](_0x60a163),_0x405ec3[_0x408849(0xb8)](_0x2afac7);const _0x34c759=new messages[(_0x408849(0xeb))][(_0x408849(0xcc))]();_0x34c759[_0x408849(0xe3)](_0x373ad8[_0x408849(0x10d)]),_0x34c759[_0x408849(0xee)](_0x373ad8[_0x408849(0x146)]),_0x34c759[_0x408849(0x157)](_0x373ad8[_0x408849(0x11d)]),_0x34c759[_0x408849(0x13c)](_0x373ad8['frameworkSessionId']),_0x34c759[_0x408849(0xff)](_0x373ad8['ref']),_0x34c759['setHubUrl'](_0x373ad8[_0x408849(0x139)]),_0x405ec3[_0x408849(0xb3)](_0x34c759),_0x405ec3[_0x408849(0xfb)](_0x562e18);const _0x4aff01=new messages[(_0x408849(0x13e))]();return _0x4aff01[_0x408849(0xbb)](_0x5ce220[_0x408849(0x14b)]),_0x4aff01['setThreadId'](_0x5ce220[_0x408849(0x115)]),_0x4aff01[_0x408849(0x8f)](_0x5ce220[_0x408849(0x107)]),_0x405ec3['setExecutionContext'](_0x4aff01),new Promise((_0x350bee,_0x32a65b)=>{const _0x5dcb5d=_0x408849,_0x576bfd={'dSaFh':function(_0x5686d6,_0x2bc724){return _0xff815b['nHDQl'](_0x5686d6,_0x2bc724);},'rtlMf':_0xff815b['DIdlA']};this[_0x5dcb5d(0x147)][_0x5dcb5d(0xba)](_0x405ec3,(_0x396000,_0x2d377b)=>{const _0x2f9b32=_0x5dcb5d;if(_0x396000){this[_0x2f9b32(0xf9)][_0x2f9b32(0xf2)](_0x2f9b32(0x109)+_0x396000[_0x2f9b32(0x12d)]),_0x576bfd[_0x2f9b32(0xcd)](_0x32a65b,_0x396000);return;}this[_0x2f9b32(0xf9)][_0x2f9b32(0x153)](_0x576bfd['rtlMf']),_0x576bfd[_0x2f9b32(0xcd)](_0x350bee,_0x2d377b);});});}catch(_0x327e79){this['logger']['error']('Error\x20in\x20TestSessionEvent:\x20'+util['format'](_0x327e79));throw _0x327e79;}}async['testFrameworkEvent'](_0x23ad01){const _0x5351be=a64_0x537c3f,_0x46d1cc={'uqbJg':function(_0xf5d552,_0x363f52){return _0xf5d552(_0x363f52);},'ZJPut':_0x5351be(0xd2),'WqKLV':function(_0x25fea7,_0x8baf2){return _0x25fea7(_0x8baf2);},'kqRry':_0x5351be(0x122),'RySdE':_0x5351be(0xd7)};this[_0x5351be(0xf9)][_0x5351be(0x153)](_0x46d1cc['kqRry']);try{!this[_0x5351be(0x147)]&&this[_0x5351be(0xf9)][_0x5351be(0x153)](_0x46d1cc[_0x5351be(0x96)]);const {platfromIndex:_0x1e5d0a,testFrameworkName:_0x3aac4b,testFrameworkVersion:_0xc289ec,testFrameworkState:_0x4f8a3d,hookState:_0x1d3148,startedAt:_0x44a8b1,endedAt:_0xacc37d,uuid:_0x7cf2c,eventJson:_0x24e91e,executionContext:_0x597be1}=_0x23ad01,_0x3667c8=new messages[(_0x5351be(0xbc))]();_0x3667c8[_0x5351be(0xc1)](this[_0x5351be(0x160)]),_0x3667c8['setPlatformIndex'](_0x1e5d0a),_0x3667c8[_0x5351be(0xc0)](_0x3aac4b),_0x3667c8[_0x5351be(0xaa)](_0xc289ec),_0x3667c8[_0x5351be(0xde)](_0x4f8a3d),_0x3667c8[_0x5351be(0x152)](_0x1d3148),_0x3667c8[_0x5351be(0x98)](_0x44a8b1),_0x3667c8['setEndedAt'](_0xacc37d),_0x3667c8[_0x5351be(0xa4)](_0x7cf2c),_0x3667c8[_0x5351be(0x11b)](_0x24e91e);const _0x2e1ebf=new messages[(_0x5351be(0x13e))]();return _0x2e1ebf[_0x5351be(0xbb)](_0x597be1[_0x5351be(0x14b)]),_0x2e1ebf[_0x5351be(0x13a)](_0x597be1[_0x5351be(0x115)]),_0x2e1ebf[_0x5351be(0x8f)](_0x597be1[_0x5351be(0x107)]),_0x3667c8[_0x5351be(0xdc)](_0x2e1ebf),new Promise((_0x1b60ad,_0x1a716e)=>{const _0x55fa99=_0x5351be,_0x488cbe={'HKyIL':function(_0x341efa,_0x166c88){const _0x4ca9a3=a64_0x3e2d;return _0x46d1cc[_0x4ca9a3(0x9b)](_0x341efa,_0x166c88);},'qbBPp':_0x46d1cc[_0x55fa99(0x90)],'fZmbQ':function(_0x4e68fe,_0x5b83e2){return _0x46d1cc['WqKLV'](_0x4e68fe,_0x5b83e2);}};this[_0x55fa99(0x147)]['testFrameworkEvent'](_0x3667c8,(_0x464cfe,_0x4c7dc6)=>{const _0x110083=_0x55fa99;if(_0x464cfe){this[_0x110083(0xf9)][_0x110083(0xf2)](_0x110083(0x141)+_0x464cfe[_0x110083(0x12d)]),_0x488cbe[_0x110083(0x11c)](_0x1a716e,_0x464cfe);return;}this[_0x110083(0xf9)]['info'](_0x488cbe[_0x110083(0x15d)]),_0x488cbe[_0x110083(0x140)](_0x1b60ad,_0x4c7dc6);});});}catch(_0x5542ee){this['logger'][_0x5351be(0xf2)](_0x5351be(0xea)+util[_0x5351be(0xd5)](_0x5542ee));throw _0x5542ee;}}async['driverInit'](_0x36d0ba){const _0x482318=a64_0x537c3f,_0x5a78d7={'tRscx':function(_0x584d7d,_0x43efd5){return _0x584d7d(_0x43efd5);},'cdhTA':_0x482318(0xd1),'sraHj':'Sending\x20DriverInit','fybwT':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x482318(0xf9)][_0x482318(0x153)](_0x5a78d7['sraHj']);try{!this[_0x482318(0x147)]&&this[_0x482318(0xf9)][_0x482318(0x153)](_0x5a78d7['fybwT']);const {platformIndex:_0x539549,ref:_0x328b67,userInputParams:_0x153803}=_0x36d0ba,_0x5cbd6f=new messages['DriverInitRequest']();return _0x5cbd6f[_0x482318(0xc1)](this[_0x482318(0x160)]),_0x5cbd6f[_0x482318(0xda)](_0x539549),_0x5cbd6f['setRef'](_0x328b67),_0x5cbd6f[_0x482318(0x13b)](_0x153803),new Promise((_0x35bff3,_0x36df9a)=>{const _0x113236=_0x482318;this[_0x113236(0x147)]['driverInit'](_0x5cbd6f,(_0x35c4e1,_0x2b7718)=>{const _0x41c3e5=_0x113236;if(_0x35c4e1){this[_0x41c3e5(0xf9)]['error'](_0x41c3e5(0x120)+_0x35c4e1[_0x41c3e5(0x12d)]),_0x5a78d7[_0x41c3e5(0xac)](_0x36df9a,_0x35c4e1);return;}this['logger'][_0x41c3e5(0x153)](_0x5a78d7[_0x41c3e5(0xbe)]),_0x5a78d7[_0x41c3e5(0xac)](_0x35bff3,_0x2b7718);});});}catch(_0x5f5c08){this[_0x482318(0xf9)][_0x482318(0xf2)](_0x482318(0xc2)+util[_0x482318(0xd5)](_0x5f5c08));throw _0x5f5c08;}}async[a64_0x537c3f(0xf0)](_0x4c232d){const _0x244fff=a64_0x537c3f,_0x3d5950={'eOIOb':function(_0x1ffc48,_0x18eee9){return _0x1ffc48===_0x18eee9;},'rvgFX':function(_0xd1f5f0,_0x353c1b){return _0xd1f5f0(_0x353c1b);},'SKrSr':_0x244fff(0x12e),'AGSBW':function(_0x307ca6,_0x519ead){return _0x307ca6(_0x519ead);},'vmntH':_0x244fff(0x113),'nWLFX':_0x244fff(0xd7)};this['logger'][_0x244fff(0x153)](_0x3d5950[_0x244fff(0xa1)]);try{!this[_0x244fff(0x147)]&&this[_0x244fff(0xf9)]['info'](_0x3d5950[_0x244fff(0x100)]);const {platformIndex:_0x211031,logs:_0xf0db16}=_0x4c232d,_0x38264b=new messages[(_0x244fff(0xc5))]();_0x38264b[_0x244fff(0xc1)](this[_0x244fff(0x160)]),_0x38264b[_0x244fff(0xda)](_0x211031);const _0x5e4f74=_0x4c232d[_0x244fff(0x10f)],_0x5e1974=_0x4c232d['testFrameworkVersion'],_0x21a487=_0x4c232d[_0x244fff(0x14a)];return _0xf0db16['forEach'](_0x307bc7=>{const _0x5ae572=_0x244fff,_0x25db5a=new messages[(_0x5ae572(0xc5))][(_0x5ae572(0xe5))]();_0x25db5a[_0x5ae572(0xc0)](_0x5e4f74),_0x25db5a[_0x5ae572(0xaa)](_0x5e1974),_0x25db5a['setTestFrameworkState'](_0x21a487),_0x25db5a[_0x5ae572(0xd0)](_0x307bc7[_0x5ae572(0xc7)]),_0x25db5a['setUuid'](_0x307bc7[_0x5ae572(0xce)]),_0x25db5a[_0x5ae572(0x104)](_0x307bc7[_0x5ae572(0x14d)]),_0x3d5950[_0x5ae572(0xa2)](_0x307bc7[_0x5ae572(0x126)],PLAYWRIGHT_TRACE_LOGS)?(_0x25db5a[_0x5ae572(0xa4)](_0x307bc7[_0x5ae572(0x15e)]),_0x25db5a[_0x5ae572(0x143)](new TextEncoder()['encode'](JSON['stringify'](_0x307bc7)))):_0x25db5a['setMessage'](new TextEncoder()[_0x5ae572(0x9c)](_0x307bc7['message'])),_0x25db5a['setLevel'](_0x307bc7[_0x5ae572(0x150)]),_0x25db5a[_0x5ae572(0x129)](_0x307bc7?.[_0x5ae572(0x12c)]||''),_0x25db5a[_0x5ae572(0x114)](_0x307bc7?.[_0x5ae572(0xae)]||''),_0x25db5a[_0x5ae572(0x11f)](_0x307bc7?.[_0x5ae572(0x148)]||0x0),_0x25db5a[_0x5ae572(0xc4)](_0x307bc7?.['attachment_type']||''),_0x38264b[_0x5ae572(0xf1)](_0x25db5a);}),new Promise((_0xeab167,_0x44170b)=>{const _0x5df50d=_0x244fff;this[_0x5df50d(0x147)][_0x5df50d(0xf0)](_0x38264b,(_0x38603b,_0x230769)=>{const _0x3d8a77=_0x5df50d;if(_0x38603b){this['logger'][_0x3d8a77(0xf2)](_0x3d8a77(0xcf)+_0x38603b[_0x3d8a77(0x12d)]),_0x3d5950['rvgFX'](_0x44170b,_0x38603b);return;}this['logger']['info'](_0x3d5950['SKrSr']),_0x3d5950['AGSBW'](_0xeab167,_0x230769);});});}catch(_0x2a53d0){this[_0x244fff(0xf9)]['error'](_0x244fff(0xc8)+util['format'](_0x2a53d0));throw _0x2a53d0;}}['getClient'](){return this['client'];}['getChannel'](){const _0xaee505=a64_0x537c3f;return this[_0xaee505(0xa6)];}}module[a64_0x537c3f(0x12a)]=GrpcClient;
1
+ const a65_0x950fb4=a65_0x48d0;(function(_0x4dfca8,_0x2e088e){const _0x1a1b0b=a65_0x48d0,_0x3ce5f1=_0x4dfca8();while(!![]){try{const _0x1e3a06=parseInt(_0x1a1b0b(0x1c4))/0x1*(parseInt(_0x1a1b0b(0x12a))/0x2)+parseInt(_0x1a1b0b(0x1a3))/0x3*(-parseInt(_0x1a1b0b(0x162))/0x4)+parseInt(_0x1a1b0b(0x187))/0x5+-parseInt(_0x1a1b0b(0x1ed))/0x6*(-parseInt(_0x1a1b0b(0x17d))/0x7)+parseInt(_0x1a1b0b(0x1ec))/0x8*(-parseInt(_0x1a1b0b(0x1a6))/0x9)+parseInt(_0x1a1b0b(0x136))/0xa+-parseInt(_0x1a1b0b(0x19f))/0xb;if(_0x1e3a06===_0x2e088e)break;else _0x3ce5f1['push'](_0x3ce5f1['shift']());}catch(_0x38d354){_0x3ce5f1['push'](_0x3ce5f1['shift']());}}}(a65_0x502d,0xe3a95));function a65_0x502d(){const _0x7b6ec8=['TestSessionEventRequest','TestFrameworkEvent\x20error:\x20','set','Stopping\x20signal\x20','setPathConfig','Mwbsj','uuid','setFilePath','launchcaps','listenAddress','Error\x20in\x20TestFrameworkEvent:\x20','SDK_CONNECT_BIN_SESSION','timestamp','Error\x20in\x20getPlaywrightConfig:\x20','No\x20gRPC\x20client\x20not\x20initialized.','tHcnb','setTestFrameworkVersion','ref','setSdkVersion','SDK_CLI_ON_STOP','ConnectBinSessionRequest','end','setSdkLanguage','argv','../../../generated/sdk-messages_pb','YdSzx','../../../generated/sdk_grpc_pb','920152TlZLKI','Sending\x20LogCreatedEvent','getPlaywrightConfig','Connecting\x20bin\x20session','Error\x20in\x20getAccessibilityConfig:\x20','GGPdm','stopBinSession','frameworkSessionId','BROWSERSTACK_CONFIG_FILE_PATH','from','threadId','@grpc/grpc-js','playwrightConfig','setHash','UiUGT','setFileName','info','qleLe','util','GgbTU','setLevel','setUuid','env','message','rgQII','grpc.keepalive_time_ms','setProvider','7hHjfZf','setExecutionContext','gmNku','connect','BROWSERSTACK_CLI_BIN_SESSION_ID','Jdoga','xleoM','PlaywrightConfig\x20error:\x20','testFrameworkEvent','StartBinSession\x20successful','5950135orQsEj','Sending\x20DriverInit','hgcbq','winstonLogger','TVUYY','setExitReason','lPvZv','xCTlI','AVPJT','Error\x20in\x20connectBinSession:\x20','RuZpT','logCreatedEvent','getSdkLanguage','getInstance','Sending\x20TestFrameworkEvent','testFrameworkVersion','StartBinSessionRequest','setExitCode','kNvxw','KCIbm','SPqCy','format','LZQcV','ExecutionContext','11216744GPJnTD','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','SDK_AUTOMATION_FRAMEWORK_INIT','setCapabilities','15qEqFeM','LogCreatedEvent\x20request\x20successful','gXddf','35145ZQhpVz','setStartedAt','credentials','PjbBn','logger','setLanguage','setHubUrl','testSessionEvent','setFrameworkVersion','ANvfr','LogEntry','xfmdT','Getting\x20Playwright\x20config','YWCdZ','Missing\x20binSessionId','connectBinSession','czNgn','setEndedAt','getAutomationFrameworkDetail','gIRQe','path','getFrameworkVersionsMap','jmJyR','./cliUtils.js','YKzRF','Spjxv','Error\x20in\x20DriverInit:\x20','YtXKU','stop-bin-session\x20response:\x20','vMBJP','3339JyDDpE','accessibilityConfig','AlkeO','test_run_uuid','user_killed','forEach','../../helpers/classLogger.js','encode','testFrameworkState','WfGJv','XkXPS','addLogs','client','frameworkName','aIvoz','TestFrameworkEventRequest','setThreadId','Error\x20in\x20startBinSession:\x20','SDK_START_BIN_SESSION','setTestUuid','setTestHookState','startBinSession','PlaywrightConfig\x20request\x20successful','filePath','TestSessionEvent\x20request\x20successful','getEnvVarsMap','version','getChannel','channel','pvEuR','EJFWY','ZyfAK','Error\x20in\x20TestSessionEvent:\x20','addAutomationSessions','level','StartBinSession\x20error:\x20','keOmx','BaEjn','gLpfP','jWyYR','3056pgkTse','458322VbFDew','attachment_type','stringify','jBLKW','setCustomMetadata','setRef','setTimestamp','mzfyH','binSessionId','error','sRhXw','DriverInit\x20request\x20successful','setMessage','AccessibilityConfig\x20request\x20successful','iuuRD','WVFrs','skxQQ','ConnectBinSession\x20successful','getClient','frameworkVersion','init','start','getSdkVersion','setFrameworkName','setFrameworkSessionId','setTestFrameworkState','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','idAPT','setTestFrameworkName','name','addFrameworks','MjoBq','setExitSignal','setEventJson','948zkHVUs','../../helpers/logger.js','LogCreatedEvent\x20error:\x20','../../helpers/performance/performance-tester.js','setBinSessionId','Error\x20in\x20LogCreatedEvent:\x20','setFileSize','Channel','StopBinSession\x20successful','LogCreatedEventRequest','exports','SDKClient','17450050GyaJzM','startBinSession:\x20Calling\x20startBinSession','TestSessionEvent\x20error:\x20','StopBinSessionRequest','Getting\x20Accessibility\x20config','cwfAz','AccessibilityConfig\x20error:\x20','DmoJH','UdLdz','setKind','setUserInputParams','hubUrl','entries','GrpcClient','debug','setPlatformIndex','adtpY'];a65_0x502d=function(){return _0x7b6ec8;};return a65_0x502d();}const util=require(a65_0x950fb4(0x174)),logger=require(a65_0x950fb4(0x12b))[a65_0x950fb4(0x18a)],grpc=require(a65_0x950fb4(0x16d)),services=require(a65_0x950fb4(0x161)),messages=require(a65_0x950fb4(0x15f)),path=require(a65_0x950fb4(0x1ba)),CLIUtils=require(a65_0x950fb4(0x1bd)),{createClassLogger}=require(a65_0x950fb4(0x1ca)),PerformanceTester=require(a65_0x950fb4(0x12d)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants');class GrpcClient{static #instance=null;[a65_0x950fb4(0x1f5)]=null;[a65_0x950fb4(0x150)]=null;[a65_0x950fb4(0x1e0)]=null;[a65_0x950fb4(0x1d0)]=null;[a65_0x950fb4(0x1aa)]=createClassLogger(a65_0x950fb4(0x143));constructor(){}static[a65_0x950fb4(0x194)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a65_0x950fb4(0x11c)](_0x22e1fd){const _0x458558=a65_0x950fb4,_0x22cffd={};_0x22cffd[_0x458558(0x199)]=function(_0x4d4f4a,_0x5f1b43){return _0x4d4f4a||_0x5f1b43;};const _0x18993c=_0x22cffd,{id:_0x1e7d53,listen:_0x28405c}=_0x22e1fd;if(_0x18993c[_0x458558(0x199)](!_0x1e7d53,!_0x28405c))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x1e7d53+'\x20listenAddr:\x20'+_0x28405c);this[_0x458558(0x1f5)]=_0x1e7d53,this[_0x458558(0x150)]=_0x28405c,process[_0x458558(0x178)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x458558(0x1f5)],process[_0x458558(0x178)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x458558(0x150)],this[_0x458558(0x180)](),this[_0x458558(0x1aa)][_0x458558(0x172)]('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x458558(0x1f5)]+'\x20and\x20listen\x20address:\x20'+this[_0x458558(0x150)]);}['connect'](){const _0x3f0375=a65_0x950fb4,_0x187db8={};_0x187db8[_0x3f0375(0x14c)]=_0x3f0375(0x122);const _0x3256a8=_0x187db8;let _0x316790=this[_0x3f0375(0x150)];!_0x316790&&(_0x316790=process['env'][_0x3f0375(0x1a0)]);!this[_0x3f0375(0x1f5)]&&(this[_0x3f0375(0x1f5)]=this[_0x3f0375(0x1f5)]||process[_0x3f0375(0x178)][_0x3f0375(0x181)]);if(!_0x316790)throw new Error(_0x3256a8[_0x3f0375(0x14c)]);const _0x3974c3={};_0x3974c3[_0x3f0375(0x17b)]=0x2710,this['channel']=new grpc[(_0x3f0375(0x131))](_0x316790,grpc[_0x3f0375(0x1a8)]['createInsecure'](),_0x3974c3),this[_0x3f0375(0x1d0)]=new services[(_0x3f0375(0x135))](_0x316790,grpc['credentials']['createInsecure']()),this[_0x3f0375(0x1aa)][_0x3f0375(0x172)]('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x316790);}async[a65_0x950fb4(0x1d9)](){const _0x2e4037=a65_0x950fb4,_0x37a2a3={'PjbBn':function(_0x4a4be8,_0x4531ae){return _0x4a4be8!==_0x4531ae;},'qleLe':function(_0x2aef98,_0x552504){return _0x2aef98!==_0x552504;},'UiUGT':function(_0xff014e,_0x125998){return _0xff014e(_0x125998);},'LapGV':_0x2e4037(0x186),'jBLKW':function(_0x5ec84b,_0x336256){return _0x5ec84b(_0x336256);},'EJFWY':_0x2e4037(0x137),'UAswr':_0x2e4037(0x155),'BaEjn':'browserstack.yml','ZPiYn':function(_0x2df1f6,_0x1f9b07){return _0x2df1f6||_0x1f9b07;}};PerformanceTester[_0x2e4037(0x11d)](PerformanceEvents[_0x2e4037(0x1d6)]),this['logger'][_0x2e4037(0x172)](_0x37a2a3[_0x2e4037(0x1e2)]);try{!this[_0x2e4037(0x1d0)]&&this['logger'][_0x2e4037(0x172)](_0x37a2a3['UAswr']);const _0x7b5dc5=CLIUtils[_0x2e4037(0x11e)](),_0x4c28c0=CLIUtils[_0x2e4037(0x1b8)](),_0x1f08ef=_0x4c28c0[_0x2e4037(0x125)],_0x7cc4c7=_0x4c28c0[_0x2e4037(0x1de)],_0x55275d=new messages[(_0x2e4037(0x197))]();_0x55275d['setBinSessionId'](this[_0x2e4037(0x1f5)]),_0x55275d[_0x2e4037(0x15d)](CLIUtils[_0x2e4037(0x193)]()),_0x55275d[_0x2e4037(0x159)](_0x7b5dc5),_0x55275d['setPathProject'](process['cwd']()),_0x55275d[_0x2e4037(0x14b)](process[_0x2e4037(0x178)][_0x2e4037(0x16a)]?process['env'][_0x2e4037(0x16a)]:path['resolve'](process['cwd'](),_0x37a2a3[_0x2e4037(0x1e9)]));const _0x2d3efa=_0x55275d[_0x2e4037(0x1dd)]();Object[_0x2e4037(0x142)](process[_0x2e4037(0x178)])[_0x2e4037(0x1c9)](([_0x2eba01,_0x43f684])=>{const _0x4fde7c=_0x2e4037;_0x37a2a3[_0x4fde7c(0x1a9)](_0x43f684,undefined)&&_0x37a2a3[_0x4fde7c(0x173)](_0x43f684,null)&&_0x2d3efa[_0x4fde7c(0x149)](_0x2eba01,_0x43f684);}),_0x55275d['setCliArgsList'](process[_0x2e4037(0x15e)]['slice'](0x2)),_0x55275d[_0x2e4037(0x1ab)](CLIUtils[_0x2e4037(0x193)]()),_0x55275d['setTestFramework'](_0x1f08ef);const _0x3e2a7f=_0x55275d[_0x2e4037(0x1bb)]();return _0x3e2a7f[_0x2e4037(0x149)](_0x1f08ef,_0x37a2a3['ZPiYn'](_0x7cc4c7,'')),_0x55275d[_0x2e4037(0x126)](_0x1f08ef,_0x7cc4c7),_0x55275d['setFrameworksList']([_0x1f08ef]),new Promise((_0x3d3378,_0x3f32bd)=>{const _0x5c6b5d=_0x2e4037,_0x55cc7f={'ZqPMt':function(_0x5a4ba5,_0x5984b2){const _0x4f62c7=a65_0x48d0;return _0x37a2a3[_0x4f62c7(0x170)](_0x5a4ba5,_0x5984b2);},'Jdoga':_0x37a2a3['LapGV'],'GGPdm':function(_0x1372b8,_0x47f76f){const _0x42d232=a65_0x48d0;return _0x37a2a3[_0x42d232(0x1f0)](_0x1372b8,_0x47f76f);}};this['client'][_0x5c6b5d(0x1d9)](_0x55275d,(_0x2d3eee,_0x5d2b08)=>{const _0x117fa5=_0x5c6b5d;if(_0x2d3eee){this[_0x117fa5(0x1aa)]['error'](_0x117fa5(0x1e7)+_0x2d3eee[_0x117fa5(0x179)]),_0x55cc7f['ZqPMt'](_0x3f32bd,_0x2d3eee),PerformanceTester[_0x117fa5(0x15c)](PerformanceEvents[_0x117fa5(0x1d6)],![],util['format'](_0x2d3eee));return;}this[_0x117fa5(0x1aa)][_0x117fa5(0x172)](_0x55cc7f[_0x117fa5(0x182)]),PerformanceTester[_0x117fa5(0x15c)](PerformanceEvents[_0x117fa5(0x1d6)]),_0x55cc7f[_0x117fa5(0x167)](_0x3d3378,_0x5d2b08);});});}catch(_0x3be0fe){this[_0x2e4037(0x1aa)][_0x2e4037(0x111)](_0x2e4037(0x1d5)+util[_0x2e4037(0x19c)](_0x3be0fe)),PerformanceTester[_0x2e4037(0x15c)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util['format'](_0x3be0fe));throw _0x3be0fe;}}async[a65_0x950fb4(0x1b5)](){const _0x14ceef=a65_0x950fb4,_0x5872a2={'sRhXw':function(_0x414ea7,_0xee7a8c){return _0x414ea7(_0xee7a8c);},'jWyYR':_0x14ceef(0x119),'skxQQ':_0x14ceef(0x165),'MjoBq':_0x14ceef(0x155)};PerformanceTester[_0x14ceef(0x11d)](PerformanceEvents[_0x14ceef(0x152)]),this[_0x14ceef(0x1aa)][_0x14ceef(0x172)](_0x5872a2[_0x14ceef(0x118)]);try{!this['client']&&this['logger'][_0x14ceef(0x172)](_0x5872a2[_0x14ceef(0x127)]);const _0x11a3a4=new messages[(_0x14ceef(0x15b))]();_0x11a3a4[_0x14ceef(0x12e)](this[_0x14ceef(0x1f5)]);const _0x373381=await new Promise((_0x1d6121,_0x121e06)=>{const _0x1ccc04=_0x14ceef,_0x41888b={'YtXKU':function(_0x55b6b3,_0x3a609b){const _0x885b7c=a65_0x48d0;return _0x5872a2[_0x885b7c(0x112)](_0x55b6b3,_0x3a609b);},'adtpY':_0x5872a2[_0x1ccc04(0x1eb)]};this[_0x1ccc04(0x1d0)][_0x1ccc04(0x1b5)](_0x11a3a4,(_0xb9ed19,_0x3a2619)=>{const _0x2ba519=_0x1ccc04;if(_0xb9ed19){this[_0x2ba519(0x1aa)][_0x2ba519(0x111)]('ConnectBinSession\x20error:\x20'+_0xb9ed19[_0x2ba519(0x179)]),_0x41888b[_0x2ba519(0x1c1)](_0x121e06,_0xb9ed19),PerformanceTester[_0x2ba519(0x15c)](PerformanceEvents[_0x2ba519(0x152)],![],util[_0x2ba519(0x19c)](_0xb9ed19));return;}this[_0x2ba519(0x1aa)]['info'](_0x41888b[_0x2ba519(0x146)]),PerformanceTester[_0x2ba519(0x15c)](PerformanceEvents[_0x2ba519(0x152)]),_0x41888b[_0x2ba519(0x1c1)](_0x1d6121,_0x3a2619);});});return this['logger'][_0x14ceef(0x144)]('connect-bin-session\x20response:\x20'+util[_0x14ceef(0x19c)](_0x373381)),_0x373381;}catch(_0x5d670c){PerformanceTester['end'](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x14ceef(0x19c)](_0x5d670c)),this['logger'][_0x14ceef(0x111)](_0x14ceef(0x190)+util[_0x14ceef(0x19c)](_0x5d670c));throw _0x5d670c;}}async['stopBinSession'](_0xe30b0a={},_0xef9577=null){const _0x37be14=a65_0x950fb4,_0x364e8a={'jmJyR':function(_0x312ce0,_0x2422d1){return _0x312ce0(_0x2422d1);},'xmJwU':_0x37be14(0x132),'aIvoz':function(_0x54d7c1,_0x546bfe){return _0x54d7c1(_0x546bfe);},'mzfyH':'Stopping\x20bin\x20session','AVPJT':_0x37be14(0x1b4),'gIRQe':'No\x20gRPC\x20client\x20not\x20initialized.','czNgn':_0x37be14(0x1c8)};PerformanceTester[_0x37be14(0x11d)](PerformanceEvents[_0x37be14(0x15a)]),this[_0x37be14(0x1aa)]['info'](_0x364e8a[_0x37be14(0x1f4)]);try{if(!this[_0x37be14(0x1f5)])throw new Error(_0x364e8a[_0x37be14(0x18f)]);!this[_0x37be14(0x1d0)]&&this[_0x37be14(0x1aa)][_0x37be14(0x172)](_0x364e8a[_0x37be14(0x1b9)]);const _0x314717=new messages[(_0x37be14(0x139))]();this['logger'][_0x37be14(0x144)](_0x37be14(0x14a)+JSON[_0x37be14(0x1ef)](_0xef9577)),_0x314717[_0x37be14(0x12e)](this[_0x37be14(0x1f5)]),_0x314717[_0x37be14(0x1f1)](_0xe30b0a),_0x314717[_0x37be14(0x128)](_0xef9577?_0xef9577:null),_0x314717[_0x37be14(0x18c)](_0xef9577?_0x364e8a[_0x37be14(0x1b6)]:null),_0x314717[_0x37be14(0x198)](_0xef9577?0x1:0x0);const _0x2ffb53=await new Promise((_0x1b77ba,_0x80c91b)=>{const _0x23d2f7=_0x37be14,_0x48a04e={'TVUYY':function(_0x276cac,_0x5a9c12){const _0x44beb2=a65_0x48d0;return _0x364e8a[_0x44beb2(0x1bc)](_0x276cac,_0x5a9c12);},'KCIbm':_0x364e8a['xmJwU'],'UdhKL':function(_0x37a81e,_0x23e84e){const _0x3c44d6=a65_0x48d0;return _0x364e8a[_0x3c44d6(0x1d2)](_0x37a81e,_0x23e84e);}};this[_0x23d2f7(0x1d0)][_0x23d2f7(0x168)](_0x314717,(_0x5d1fdd,_0x460237)=>{const _0x373d60=_0x23d2f7;if(_0x5d1fdd){this['logger'][_0x373d60(0x111)]('StopBinSession\x20error:\x20'+_0x5d1fdd['message']),_0x48a04e[_0x373d60(0x18b)](_0x80c91b,_0x5d1fdd),PerformanceTester[_0x373d60(0x15c)](PerformanceEvents[_0x373d60(0x15a)],![],util[_0x373d60(0x19c)](_0x5d1fdd));return;}this['logger'][_0x373d60(0x172)](_0x48a04e[_0x373d60(0x19a)]),PerformanceTester[_0x373d60(0x15c)](PerformanceEvents[_0x373d60(0x15a)]),_0x48a04e['UdhKL'](_0x1b77ba,_0x460237);});});return this[_0x37be14(0x1aa)][_0x37be14(0x144)](_0x37be14(0x1c2)+util[_0x37be14(0x19c)](_0x2ffb53)),_0x2ffb53;}catch(_0x178828){PerformanceTester[_0x37be14(0x15c)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x178828)),this[_0x37be14(0x1aa)][_0x37be14(0x111)]('Error\x20in\x20stopBinSession:\x20'+util[_0x37be14(0x19c)](_0x178828));}}async[a65_0x950fb4(0x164)](_0x4e808a){const _0x374bcf=a65_0x950fb4,_0x553a6a={'vMBJP':function(_0x5c7f2e,_0x167e6b){return _0x5c7f2e(_0x167e6b);},'RuZpT':_0x374bcf(0x1da),'WVFrs':_0x374bcf(0x1b2),'hgcbq':_0x374bcf(0x155)};PerformanceTester[_0x374bcf(0x11d)](PerformanceEvents[_0x374bcf(0x1a1)]),this[_0x374bcf(0x1aa)][_0x374bcf(0x172)](_0x553a6a[_0x374bcf(0x117)]);try{!this['client']&&this[_0x374bcf(0x1aa)][_0x374bcf(0x172)](_0x553a6a[_0x374bcf(0x189)]);const _0x3f692d=new messages['PlaywrightConfigRequest']();return _0x3f692d[_0x374bcf(0x12e)](this['binSessionId']),_0x3f692d['setConfig'](JSON[_0x374bcf(0x1ef)](_0x4e808a)),new Promise((_0x40baa7,_0x1e7772)=>{const _0x52ca85=_0x374bcf,_0x65997e={'AlkeO':function(_0x276417,_0x30ffc4){const _0x2db779=a65_0x48d0;return _0x553a6a[_0x2db779(0x1c3)](_0x276417,_0x30ffc4);},'xleoM':_0x553a6a[_0x52ca85(0x191)]};this[_0x52ca85(0x1d0)][_0x52ca85(0x16e)](_0x3f692d,(_0x5c4a9b,_0x176e25)=>{const _0x59e0c7=_0x52ca85;if(_0x5c4a9b){this[_0x59e0c7(0x1aa)]['error'](_0x59e0c7(0x184)+_0x5c4a9b[_0x59e0c7(0x179)]),_0x65997e[_0x59e0c7(0x1c6)](_0x1e7772,_0x5c4a9b),PerformanceTester[_0x59e0c7(0x15c)](PerformanceEvents[_0x59e0c7(0x1a1)],![],util[_0x59e0c7(0x19c)](_0x5c4a9b));return;}this[_0x59e0c7(0x1aa)][_0x59e0c7(0x172)](_0x65997e[_0x59e0c7(0x183)]),PerformanceTester[_0x59e0c7(0x15c)](PerformanceEvents[_0x59e0c7(0x1a1)]),_0x65997e['AlkeO'](_0x40baa7,_0x176e25);});});}catch(_0x254cf6){PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x374bcf(0x19c)](_0x254cf6)),this[_0x374bcf(0x1aa)]['error'](_0x374bcf(0x154)+util[_0x374bcf(0x19c)](_0x254cf6));throw _0x254cf6;}}async['getAccessibilityConfig'](_0x102f82){const _0x1f2070=a65_0x950fb4,_0x475102={'pvEuR':function(_0xbb3c3a,_0x48ab58){return _0xbb3c3a(_0x48ab58);},'WfGJv':_0x1f2070(0x115),'ANvfr':_0x1f2070(0x13a),'cwfAz':'utf-8'};this[_0x1f2070(0x1aa)][_0x1f2070(0x172)](_0x475102[_0x1f2070(0x1af)]);try{const _0x1c2771=Buffer[_0x1f2070(0x16b)](JSON[_0x1f2070(0x1ef)](_0x102f82[_0x1f2070(0x14f)]),_0x475102[_0x1f2070(0x13b)]),_0x5d5413=new messages['AccessibilityConfigRequest'](),_0x37ffaa=CLIUtils[_0x1f2070(0x1b8)](),_0x1e1cdc=_0x37ffaa['name'],_0x4dc798=_0x37ffaa['version'];return _0x5d5413[_0x1f2070(0x12e)](this[_0x1f2070(0x1f5)]),_0x5d5413[_0x1f2070(0x145)](0x0),_0x5d5413[_0x1f2070(0x11f)](_0x1e1cdc),_0x5d5413[_0x1f2070(0x1ae)](_0x4dc798),_0x5d5413[_0x1f2070(0x1ac)](_0x102f82[_0x1f2070(0x141)]),_0x5d5413[_0x1f2070(0x1a2)](_0x1c2771),new Promise((_0xb135a6,_0x33241a)=>{const _0x4b6309=_0x1f2070,_0x11e447={'bzOTp':function(_0x12c1d1,_0x5fc818){const _0x445d6e=a65_0x48d0;return _0x475102[_0x445d6e(0x1e1)](_0x12c1d1,_0x5fc818);},'gmNku':_0x475102[_0x4b6309(0x1cd)]};this[_0x4b6309(0x1d0)][_0x4b6309(0x1c5)](_0x5d5413,(_0x1c1c94,_0xd563e7)=>{const _0x35da7b=_0x4b6309;if(_0x1c1c94){this['logger']['error'](_0x35da7b(0x13c)+_0x1c1c94[_0x35da7b(0x179)]),_0x11e447['bzOTp'](_0x33241a,_0x1c1c94);return;}this['logger'][_0x35da7b(0x172)](_0x11e447[_0x35da7b(0x17f)]),_0x11e447['bzOTp'](_0xb135a6,_0xd563e7);});});}catch(_0x3df4a5){this[_0x1f2070(0x1aa)]['error'](_0x1f2070(0x166)+util['format'](_0x3df4a5));}}async[a65_0x950fb4(0x1ad)](_0x3e891b){const _0x214223=a65_0x950fb4,_0x2eb372={'rgQII':function(_0x438d50,_0x280cd1){return _0x438d50(_0x280cd1);},'xCTlI':_0x214223(0x1dc),'YKzRF':'Sending\x20TestSessionEvent','YdSzx':_0x214223(0x155)};this[_0x214223(0x1aa)]['info'](_0x2eb372[_0x214223(0x1be)]);try{!this[_0x214223(0x1d0)]&&this['logger'][_0x214223(0x172)](_0x2eb372[_0x214223(0x160)]);const {platformIndex:_0x370630,testFrameworkName:_0x5850dd,testFrameworkVersion:_0x522c9e,testFrameworkState:_0x529199,testHookState:_0x2595d2,testUuid:_0x1f75fc,automationSession:_0x300186,capabilities:_0x468f87,executionContext:_0x28498f}=_0x3e891b,_0x14fe72=new messages[(_0x214223(0x147))]();_0x14fe72[_0x214223(0x12e)](this[_0x214223(0x1f5)]),_0x14fe72[_0x214223(0x145)](_0x370630),_0x14fe72[_0x214223(0x124)](_0x5850dd),_0x14fe72[_0x214223(0x157)](_0x522c9e),_0x14fe72['setTestFrameworkState'](_0x529199),_0x14fe72[_0x214223(0x1d8)](_0x2595d2),_0x14fe72[_0x214223(0x1d7)](_0x1f75fc);const _0x28b693=new messages[(_0x214223(0x147))]['AutomationSession']();_0x28b693[_0x214223(0x17c)](_0x300186['provider']),_0x28b693[_0x214223(0x11f)](_0x300186[_0x214223(0x1d1)]),_0x28b693[_0x214223(0x1ae)](_0x300186[_0x214223(0x11b)]),_0x28b693[_0x214223(0x120)](_0x300186[_0x214223(0x169)]),_0x28b693[_0x214223(0x1f2)](_0x300186[_0x214223(0x158)]),_0x28b693[_0x214223(0x1ac)](_0x300186[_0x214223(0x141)]),_0x14fe72[_0x214223(0x1e5)](_0x28b693),_0x14fe72['setCapabilities'](_0x468f87);const _0x5bb92f=new messages[(_0x214223(0x19e))]();return _0x5bb92f['setProcessId'](_0x28498f['processId']),_0x5bb92f['setThreadId'](_0x28498f[_0x214223(0x16c)]),_0x5bb92f['setHash'](_0x28498f['hash']),_0x14fe72['setExecutionContext'](_0x5bb92f),new Promise((_0x2fda4c,_0x11d7a9)=>{const _0x1d8071=_0x214223;this[_0x1d8071(0x1d0)][_0x1d8071(0x1ad)](_0x14fe72,(_0x33a239,_0x38a3ec)=>{const _0x23759b=_0x1d8071;if(_0x33a239){this['logger']['error'](_0x23759b(0x138)+_0x33a239['message']),_0x2eb372[_0x23759b(0x17a)](_0x11d7a9,_0x33a239);return;}this[_0x23759b(0x1aa)][_0x23759b(0x172)](_0x2eb372[_0x23759b(0x18e)]),_0x2eb372[_0x23759b(0x17a)](_0x2fda4c,_0x38a3ec);});});}catch(_0x19e798){this['logger'][_0x214223(0x111)](_0x214223(0x1e4)+util['format'](_0x19e798));throw _0x19e798;}}async[a65_0x950fb4(0x185)](_0x337f6c){const _0x20207f=a65_0x950fb4,_0x550813={'oZMNQ':function(_0x47c613,_0x54377a){return _0x47c613(_0x54377a);},'SPqCy':'TestFrameworkEvent\x20request\x20successful','DmoJH':_0x20207f(0x195),'UdLdz':_0x20207f(0x155)};this[_0x20207f(0x1aa)][_0x20207f(0x172)](_0x550813[_0x20207f(0x13d)]);try{!this[_0x20207f(0x1d0)]&&this[_0x20207f(0x1aa)]['info'](_0x550813[_0x20207f(0x13e)]);const {platfromIndex:_0x319064,testFrameworkName:_0x550e38,testFrameworkVersion:_0x15908c,testFrameworkState:_0x2b12c4,hookState:_0x1b1d49,startedAt:_0x3b4fe8,endedAt:_0xcebd5b,uuid:_0x435dff,eventJson:_0x507826,executionContext:_0x25c7a8}=_0x337f6c,_0x108758=new messages[(_0x20207f(0x1d3))]();_0x108758[_0x20207f(0x12e)](this[_0x20207f(0x1f5)]),_0x108758['setPlatformIndex'](_0x319064),_0x108758['setTestFrameworkName'](_0x550e38),_0x108758[_0x20207f(0x157)](_0x15908c),_0x108758[_0x20207f(0x121)](_0x2b12c4),_0x108758[_0x20207f(0x1d8)](_0x1b1d49),_0x108758[_0x20207f(0x1a7)](_0x3b4fe8),_0x108758[_0x20207f(0x1b7)](_0xcebd5b),_0x108758['setUuid'](_0x435dff),_0x108758[_0x20207f(0x129)](_0x507826);const _0x3eb306=new messages['ExecutionContext']();return _0x3eb306['setProcessId'](_0x25c7a8['processId']),_0x3eb306[_0x20207f(0x1d4)](_0x25c7a8['threadId']),_0x3eb306[_0x20207f(0x16f)](_0x25c7a8['hash']),_0x108758[_0x20207f(0x17e)](_0x3eb306),new Promise((_0x4dd412,_0x4d4a88)=>{const _0x173d7e=_0x20207f,_0x170bb8={'keOmx':function(_0x654d44,_0xf151e1){return _0x550813['oZMNQ'](_0x654d44,_0xf151e1);},'idAPT':_0x550813[_0x173d7e(0x19b)]};this[_0x173d7e(0x1d0)][_0x173d7e(0x185)](_0x108758,(_0xa240c,_0x3efee7)=>{const _0xdc8d14=_0x173d7e;if(_0xa240c){this[_0xdc8d14(0x1aa)][_0xdc8d14(0x111)](_0xdc8d14(0x148)+_0xa240c['message']),_0x170bb8[_0xdc8d14(0x1e8)](_0x4d4a88,_0xa240c);return;}this[_0xdc8d14(0x1aa)]['info'](_0x170bb8[_0xdc8d14(0x123)]),_0x170bb8[_0xdc8d14(0x1e8)](_0x4dd412,_0x3efee7);});});}catch(_0x5a993d){this[_0x20207f(0x1aa)]['error'](_0x20207f(0x151)+util[_0x20207f(0x19c)](_0x5a993d));throw _0x5a993d;}}async['driverInit'](_0x3f3094){const _0x58af17=a65_0x950fb4,_0x26c5bb={'dMgKN':function(_0x5a90aa,_0x51caba){return _0x5a90aa(_0x51caba);},'iuuRD':_0x58af17(0x113),'ZyfAK':function(_0x2a7212,_0x3c8a4b){return _0x2a7212(_0x3c8a4b);},'Spjxv':_0x58af17(0x188),'GgbTU':_0x58af17(0x155)};this[_0x58af17(0x1aa)]['info'](_0x26c5bb[_0x58af17(0x1bf)]);try{!this[_0x58af17(0x1d0)]&&this[_0x58af17(0x1aa)][_0x58af17(0x172)](_0x26c5bb[_0x58af17(0x175)]);const {platformIndex:_0x1819b1,ref:_0x1623fe,userInputParams:_0xfe9c46}=_0x3f3094,_0x35c4f5=new messages['DriverInitRequest']();return _0x35c4f5[_0x58af17(0x12e)](this[_0x58af17(0x1f5)]),_0x35c4f5[_0x58af17(0x145)](_0x1819b1),_0x35c4f5[_0x58af17(0x1f2)](_0x1623fe),_0x35c4f5[_0x58af17(0x140)](_0xfe9c46),new Promise((_0x5901c6,_0x50044d)=>{const _0x36e98e=_0x58af17,_0x2b0c93={'QWZNo':function(_0x4bb693,_0x4123bc){return _0x26c5bb['dMgKN'](_0x4bb693,_0x4123bc);},'xfmdT':_0x26c5bb[_0x36e98e(0x116)],'gXddf':function(_0xf3abcc,_0x29d469){const _0x237830=_0x36e98e;return _0x26c5bb[_0x237830(0x1e3)](_0xf3abcc,_0x29d469);}};this[_0x36e98e(0x1d0)]['driverInit'](_0x35c4f5,(_0xff955c,_0x5644c2)=>{const _0x3e8152=_0x36e98e;if(_0xff955c){this[_0x3e8152(0x1aa)][_0x3e8152(0x111)]('DriverInit\x20error:\x20'+_0xff955c['message']),_0x2b0c93['QWZNo'](_0x50044d,_0xff955c);return;}this[_0x3e8152(0x1aa)][_0x3e8152(0x172)](_0x2b0c93[_0x3e8152(0x1b1)]),_0x2b0c93[_0x3e8152(0x1a5)](_0x5901c6,_0x5644c2);});});}catch(_0x356306){this[_0x58af17(0x1aa)][_0x58af17(0x111)](_0x58af17(0x1c0)+util[_0x58af17(0x19c)](_0x356306));throw _0x356306;}}async[a65_0x950fb4(0x192)](_0xb778ff){const _0xc7db4d=a65_0x950fb4,_0x21ba9d={'XkXPS':function(_0x5844f2,_0x58826c){return _0x5844f2===_0x58826c;},'ciaxk':function(_0x349229,_0x1f193d){return _0x349229(_0x1f193d);},'lPvZv':_0xc7db4d(0x1a4),'LZQcV':_0xc7db4d(0x163),'gLpfP':_0xc7db4d(0x155)};this[_0xc7db4d(0x1aa)][_0xc7db4d(0x172)](_0x21ba9d[_0xc7db4d(0x19d)]);try{!this[_0xc7db4d(0x1d0)]&&this['logger']['info'](_0x21ba9d[_0xc7db4d(0x1ea)]);const {platformIndex:_0x1ec9b1,logs:_0x40d6f8}=_0xb778ff,_0x422c58=new messages[(_0xc7db4d(0x133))]();_0x422c58['setBinSessionId'](this[_0xc7db4d(0x1f5)]),_0x422c58[_0xc7db4d(0x145)](_0x1ec9b1);const _0x44c143=_0xb778ff['testFrameworkName'],_0x3d623a=_0xb778ff[_0xc7db4d(0x196)],_0x211ef7=_0xb778ff[_0xc7db4d(0x1cc)];return _0x40d6f8[_0xc7db4d(0x1c9)](_0x35f8bb=>{const _0x595c2c=_0xc7db4d,_0x1e01d3=new messages[(_0x595c2c(0x133))][(_0x595c2c(0x1b0))]();_0x1e01d3[_0x595c2c(0x124)](_0x44c143),_0x1e01d3[_0x595c2c(0x157)](_0x3d623a),_0x1e01d3['setTestFrameworkState'](_0x211ef7),_0x1e01d3[_0x595c2c(0x1f3)](_0x35f8bb[_0x595c2c(0x153)]),_0x1e01d3[_0x595c2c(0x177)](_0x35f8bb[_0x595c2c(0x14d)]),_0x1e01d3[_0x595c2c(0x13f)](_0x35f8bb['kind']),_0x21ba9d[_0x595c2c(0x1ce)](_0x35f8bb[_0x595c2c(0x1ee)],PLAYWRIGHT_TRACE_LOGS)?(_0x1e01d3['setUuid'](_0x35f8bb[_0x595c2c(0x1c7)]),_0x1e01d3[_0x595c2c(0x114)](new TextEncoder()[_0x595c2c(0x1cb)](JSON[_0x595c2c(0x1ef)](_0x35f8bb)))):_0x1e01d3[_0x595c2c(0x114)](new TextEncoder()[_0x595c2c(0x1cb)](_0x35f8bb[_0x595c2c(0x179)])),_0x1e01d3[_0x595c2c(0x176)](_0x35f8bb[_0x595c2c(0x1e6)]),_0x1e01d3[_0x595c2c(0x171)](_0x35f8bb?.['fileName']||''),_0x1e01d3[_0x595c2c(0x14e)](_0x35f8bb?.[_0x595c2c(0x1db)]||''),_0x1e01d3[_0x595c2c(0x130)](_0x35f8bb?.['fileSize']||0x0),_0x1e01d3['setAttachmentType'](_0x35f8bb?.[_0x595c2c(0x1ee)]||''),_0x422c58[_0x595c2c(0x1cf)](_0x1e01d3);}),new Promise((_0x54a977,_0x2d472f)=>{const _0x99f5c0=_0xc7db4d,_0x5e0ee7={'tHcnb':function(_0x3af4d1,_0x44a3cf){return _0x21ba9d['ciaxk'](_0x3af4d1,_0x44a3cf);},'YWCdZ':_0x21ba9d[_0x99f5c0(0x18d)]};this[_0x99f5c0(0x1d0)][_0x99f5c0(0x192)](_0x422c58,(_0x32df68,_0x3a2024)=>{const _0xb00df8=_0x99f5c0;if(_0x32df68){this['logger'][_0xb00df8(0x111)](_0xb00df8(0x12c)+_0x32df68['message']),_0x5e0ee7[_0xb00df8(0x156)](_0x2d472f,_0x32df68);return;}this[_0xb00df8(0x1aa)][_0xb00df8(0x172)](_0x5e0ee7[_0xb00df8(0x1b3)]),_0x5e0ee7[_0xb00df8(0x156)](_0x54a977,_0x3a2024);});});}catch(_0x51beb5){this['logger']['error'](_0xc7db4d(0x12f)+util['format'](_0x51beb5));throw _0x51beb5;}}[a65_0x950fb4(0x11a)](){return this['client'];}[a65_0x950fb4(0x1df)](){const _0x19bf67=a65_0x950fb4;return this[_0x19bf67(0x1e0)];}}function a65_0x48d0(_0x5bc89f,_0x3731f9){const _0x502da2=a65_0x502d();return a65_0x48d0=function(_0x48d0b0,_0x3e3f58){_0x48d0b0=_0x48d0b0-0x111;let _0x3fd7e1=_0x502da2[_0x48d0b0];return _0x3fd7e1;},a65_0x48d0(_0x5bc89f,_0x3731f9);}module[a65_0x950fb4(0x134)]=GrpcClient;
@@ -1 +1 @@
1
- const a65_0x265cdd=a65_0x1baa;function a65_0x22b3(){const _0x3c0451=['10243408aZbaxJ','8378406AfXdRk','5546790zdITPu','scfKm','frameworkName','../state/automationFrameworkState','7KjvCRK','./trackedInstance','7578vwXPqt','lastState','toLocaleString','44biqSSE','3|0|1|4|2|5','3075974MCUuHj','322435GPaFpT','frameworkVersion','370170edDYYn','getFrameworkVersion','getFrameworkName','10VxdnHj','834sUtIuq','getState','setState','state'];a65_0x22b3=function(){return _0x3c0451;};return a65_0x22b3();}(function(_0x325ed9,_0x4c8e96){const _0x14edcb=a65_0x1baa,_0x47009f=_0x325ed9();while(!![]){try{const _0x41888c=-parseInt(_0x14edcb(0x1f4))/0x1+parseInt(_0x14edcb(0x204))/0x2*(-parseInt(_0x14edcb(0x1f8))/0x3)+-parseInt(_0x14edcb(0x1ef))/0x4*(-parseInt(_0x14edcb(0x1f2))/0x5)+parseInt(_0x14edcb(0x1fe))/0x6+parseInt(_0x14edcb(0x202))/0x7*(parseInt(_0x14edcb(0x1fc))/0x8)+-parseInt(_0x14edcb(0x1fd))/0x9+-parseInt(_0x14edcb(0x1f7))/0xa*(-parseInt(_0x14edcb(0x1f1))/0xb);if(_0x41888c===_0x4c8e96)break;else _0x47009f['push'](_0x47009f['shift']());}catch(_0x7d1d42){_0x47009f['push'](_0x47009f['shift']());}}}(a65_0x22b3,0xccf0c));function a65_0x1baa(_0x407c09,_0x2f2ade){const _0x22b340=a65_0x22b3();return a65_0x1baa=function(_0x1baafb,_0x39185b){_0x1baafb=_0x1baafb-0x1ef;let _0x213804=_0x22b340[_0x1baafb];return _0x213804;},a65_0x1baa(_0x407c09,_0x2f2ade);}const AutomationFrameworkState=require(a65_0x265cdd(0x201)),TrackedInstance=require(a65_0x265cdd(0x203)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x2356de,_0x37d756,_0x499b99,_0x2f801d){const _0x24a047=a65_0x265cdd,_0x58d4ef={};_0x58d4ef[_0x24a047(0x1ff)]=_0x24a047(0x1f0);const _0x515dd4=_0x58d4ef,_0x2264ec=_0x515dd4[_0x24a047(0x1ff)]['split']('|');let _0x335bac=0x0;while(!![]){switch(_0x2264ec[_0x335bac++]){case'0':this[_0x24a047(0x200)]=_0x37d756;continue;case'1':this['frameworkVersion']=_0x499b99;continue;case'2':this[_0x24a047(0x205)]=AutomationFrameworkState['NONE'];continue;case'3':super(_0x2356de);continue;case'4':this['state']=_0x2f801d;continue;case'5':this['createdAt']=now[_0x24a047(0x206)]();continue;}break;}}[a65_0x265cdd(0x1f6)](){const _0x51eb02=a65_0x265cdd;return this[_0x51eb02(0x200)];}[a65_0x265cdd(0x1f5)](){const _0x229eab=a65_0x265cdd;return this[_0x229eab(0x1f3)];}[a65_0x265cdd(0x1f9)](){const _0x3ef7f9=a65_0x265cdd;return this[_0x3ef7f9(0x1fb)];}[a65_0x265cdd(0x1fa)](_0x4e188d){const _0x1e0eb9=a65_0x265cdd;this[_0x1e0eb9(0x205)]=this[_0x1e0eb9(0x1fb)],this['state']=_0x4e188d;}}module['exports']=AutomationFrameworkInstance;
1
+ const a66_0x227b2d=a66_0x28d1;function a66_0x28d1(_0x44c347,_0x51d3b1){const _0xf73e80=a66_0xf73e();return a66_0x28d1=function(_0x28d1e4,_0x411375){_0x28d1e4=_0x28d1e4-0x15f;let _0x398ceb=_0xf73e80[_0x28d1e4];return _0x398ceb;},a66_0x28d1(_0x44c347,_0x51d3b1);}(function(_0x507be2,_0x5a988d){const _0x359669=a66_0x28d1,_0x3739a9=_0x507be2();while(!![]){try{const _0x32e60e=-parseInt(_0x359669(0x172))/0x1*(-parseInt(_0x359669(0x16e))/0x2)+parseInt(_0x359669(0x165))/0x3*(parseInt(_0x359669(0x16d))/0x4)+parseInt(_0x359669(0x164))/0x5*(parseInt(_0x359669(0x16f))/0x6)+-parseInt(_0x359669(0x162))/0x7*(-parseInt(_0x359669(0x16c))/0x8)+parseInt(_0x359669(0x176))/0x9*(parseInt(_0x359669(0x178))/0xa)+-parseInt(_0x359669(0x160))/0xb+parseInt(_0x359669(0x16a))/0xc;if(_0x32e60e===_0x5a988d)break;else _0x3739a9['push'](_0x3739a9['shift']());}catch(_0x57ce58){_0x3739a9['push'](_0x3739a9['shift']());}}}(a66_0xf73e,0xe7318));const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require(a66_0x227b2d(0x173)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x3b90f8,_0x5aac27,_0x32899c,_0x5ad870){const _0xe2b1ff=a66_0x227b2d,_0x51b74d={};_0x51b74d[_0xe2b1ff(0x163)]='5|0|2|3|4|1';const _0x26c338=_0x51b74d,_0x32bf56=_0x26c338[_0xe2b1ff(0x163)][_0xe2b1ff(0x170)]('|');let _0xa152d3=0x0;while(!![]){switch(_0x32bf56[_0xa152d3++]){case'0':this['frameworkName']=_0x5aac27;continue;case'1':this['createdAt']=now[_0xe2b1ff(0x174)]();continue;case'2':this[_0xe2b1ff(0x161)]=_0x32899c;continue;case'3':this[_0xe2b1ff(0x166)]=_0x5ad870;continue;case'4':this[_0xe2b1ff(0x167)]=AutomationFrameworkState[_0xe2b1ff(0x168)];continue;case'5':super(_0x3b90f8);continue;}break;}}[a66_0x227b2d(0x175)](){const _0x331718=a66_0x227b2d;return this[_0x331718(0x171)];}[a66_0x227b2d(0x16b)](){const _0x61f7e=a66_0x227b2d;return this[_0x61f7e(0x161)];}[a66_0x227b2d(0x169)](){const _0x252f92=a66_0x227b2d;return this[_0x252f92(0x166)];}[a66_0x227b2d(0x15f)](_0x3f0a3f){const _0x425d86=a66_0x227b2d;this[_0x425d86(0x167)]=this[_0x425d86(0x166)],this[_0x425d86(0x166)]=_0x3f0a3f;}}function a66_0xf73e(){const _0x1b8c81=['6rVlPZH','split','frameworkName','2131uJZXsz','./trackedInstance','toLocaleString','getFrameworkName','5679VRrtcd','exports','190RcfEWq','setState','16705744Yxmagr','frameworkVersion','59703QfLwyq','qfGdG','2583725DEgbIF','5151cQhwod','state','lastState','NONE','getState','14299044XPHCgT','getFrameworkVersion','88JgKNln','1076ijYPFP','178kHTduk'];a66_0xf73e=function(){return _0x1b8c81;};return a66_0xf73e();}module[a66_0x227b2d(0x177)]=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- const a66_0x290fea=a66_0x83f8;(function(_0x6b238d,_0x2ff6a7){const _0x55e909=a66_0x83f8,_0x282e47=_0x6b238d();while(!![]){try{const _0x5657d7=-parseInt(_0x55e909(0x18c))/0x1+-parseInt(_0x55e909(0x189))/0x2*(parseInt(_0x55e909(0x17b))/0x3)+-parseInt(_0x55e909(0x187))/0x4*(parseInt(_0x55e909(0x175))/0x5)+parseInt(_0x55e909(0x178))/0x6+parseInt(_0x55e909(0x17a))/0x7*(-parseInt(_0x55e909(0x170))/0x8)+-parseInt(_0x55e909(0x188))/0x9*(parseInt(_0x55e909(0x181))/0xa)+parseInt(_0x55e909(0x18e))/0xb*(parseInt(_0x55e909(0x171))/0xc);if(_0x5657d7===_0x2ff6a7)break;else _0x282e47['push'](_0x282e47['shift']());}catch(_0x1a528b){_0x282e47['push'](_0x282e47['shift']());}}}(a66_0x26e1,0x86831));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a66_0x290fea(0x190)),HookState=require(a66_0x290fea(0x18d)),TestFrameworkState=require(a66_0x290fea(0x177)),TrackedContext=require(a66_0x290fea(0x18f)),TrackedInstance=require(a66_0x290fea(0x173)),now=new Date();function a66_0x83f8(_0x43de82,_0x31fe7c){const _0x26e108=a66_0x26e1();return a66_0x83f8=function(_0x83f8bc,_0x56f378){_0x83f8bc=_0x83f8bc-0x16f;let _0x22ddcf=_0x26e108[_0x83f8bc];return _0x22ddcf;},a66_0x83f8(_0x43de82,_0x31fe7c);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x5ce5f1,_0x1bbb25,_0x3fd709,_0x60d5db,_0x4ae133){const _0x32c6a4=a66_0x290fea,_0x3f232a={};_0x3f232a[_0x32c6a4(0x180)]=_0x32c6a4(0x182);const _0x34878f=_0x3f232a,_0x171485=_0x34878f['kylGi'][_0x32c6a4(0x184)]('|');let _0x278906=0x0;while(!![]){switch(_0x171485[_0x278906++]){case'0':this[_0x32c6a4(0x179)]=HookState[_0x32c6a4(0x17d)];continue;case'1':this['currentHookState']=_0x4ae133;continue;case'2':this[_0x32c6a4(0x174)]=_0x3fd709;continue;case'3':super(_0x5ce5f1);continue;case'4':this['lastTestState']=TestFrameworkState[_0x32c6a4(0x17d)];continue;case'5':this['createdAt']=now[_0x32c6a4(0x183)]();continue;case'6':this[_0x32c6a4(0x185)]=_0x60d5db;continue;case'7':this['testFrameworks']=_0x1bbb25;continue;}break;}}[a66_0x290fea(0x176)](){return this['currentTestState'];}[a66_0x290fea(0x17f)](_0x512b1d){const _0x282279=a66_0x290fea;this[_0x282279(0x186)](this[_0x282279(0x185)]),this[_0x282279(0x185)]=_0x512b1d;}[a66_0x290fea(0x17e)](){return this['currentHookState'];}[a66_0x290fea(0x18a)](_0x3b7887){const _0x15bce7=a66_0x290fea;this[_0x15bce7(0x172)](this[_0x15bce7(0x17c)]),this[_0x15bce7(0x17c)]=_0x3b7887;}['getLastTestState'](){const _0x4c168e=a66_0x290fea;return this[_0x4c168e(0x191)];}[a66_0x290fea(0x186)](_0x4a84f2){const _0x17645d=a66_0x290fea;this[_0x17645d(0x191)]=_0x4a84f2;}[a66_0x290fea(0x18b)](){const _0x5400c7=a66_0x290fea;return this[_0x5400c7(0x179)];}[a66_0x290fea(0x172)](_0x538d2f){const _0x43172c=a66_0x290fea;this[_0x43172c(0x179)]=_0x538d2f;}['getCreatedAt'](){return this['createdAt'];}}module[a66_0x290fea(0x16f)]=TestFrameworkInstance;function a66_0x26e1(){const _0x38e435=['testFrameworksVersions','605nwJJxE','getCurrentTestState','../state/testFrameworkState','6456192hgejKk','lastHookState','3976231bAljRt','20703KcedbY','currentHookState','NONE','getCurrentHookState','setCurrentTestState','kylGi','204820MCipoa','3|7|2|6|1|4|0|5','toLocaleString','split','currentTestState','setLastTestState','3464ljEWTF','324HkExou','34COMpct','setCurrentHookState','getLastHookState','420435ovKjEn','../state/hookState','5217124fxxaJs','./trackedContext','TrackedInstance','lastTestState','exports','8BfEyQE','36LpBSQv','setLastHookState','./trackedInstance'];a66_0x26e1=function(){return _0x38e435;};return a66_0x26e1();}
1
+ const a67_0x116041=a67_0x5a8c;(function(_0x2302d6,_0x176e22){const _0x36c9b6=a67_0x5a8c,_0x48c45a=_0x2302d6();while(!![]){try{const _0x92a71f=parseInt(_0x36c9b6(0x19b))/0x1+-parseInt(_0x36c9b6(0x1a1))/0x2*(parseInt(_0x36c9b6(0x19f))/0x3)+-parseInt(_0x36c9b6(0x1b0))/0x4*(parseInt(_0x36c9b6(0x1ae))/0x5)+-parseInt(_0x36c9b6(0x1ba))/0x6+parseInt(_0x36c9b6(0x1aa))/0x7+-parseInt(_0x36c9b6(0x1a8))/0x8*(parseInt(_0x36c9b6(0x1af))/0x9)+-parseInt(_0x36c9b6(0x1b5))/0xa*(-parseInt(_0x36c9b6(0x1ac))/0xb);if(_0x92a71f===_0x176e22)break;else _0x48c45a['push'](_0x48c45a['shift']());}catch(_0x4402f6){_0x48c45a['push'](_0x48c45a['shift']());}}}(a67_0x2040,0x6d194));function a67_0x5a8c(_0x1b6e89,_0x20526a){const _0x2040b5=a67_0x2040();return a67_0x5a8c=function(_0x5a8cca,_0x981021){_0x5a8cca=_0x5a8cca-0x19b;let _0x4816fe=_0x2040b5[_0x5a8cca];return _0x4816fe;},a67_0x5a8c(_0x1b6e89,_0x20526a);}function a67_0x2040(){const _0x87b5d4=['NONE','setCurrentHookState','lastHookState','getCreatedAt','3138450vkIJhD','getLastHookState','790690USygPg','getCurrentHookState','currentTestState','currentHookState','15SPavJs','exports','141332IMEOQi','./trackedContext','testFrameworks','yyJnB','setLastHookState','split','TrackedInstance','3808304aebsJZ','setCurrentTestState','111314qyvxvM','getLastTestState','132fMcUvy','../state/testFrameworkState','415Qakcyv','9upaGEn','20716VaDxmv','setLastTestState','5|1|0|7|3|2|4|6','createdAt','lastTestState','1185480VjEVhk'];a67_0x2040=function(){return _0x87b5d4;};return a67_0x2040();}const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a67_0x116041(0x1a7)),HookState=require('../state/hookState'),TestFrameworkState=require(a67_0x116041(0x1ad)),TrackedContext=require(a67_0x116041(0x1a2)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x13c407,_0x4ec2c7,_0x5a63c0,_0x1c4976,_0x2a6bd2){const _0x4130de=a67_0x116041,_0x1d832d={};_0x1d832d[_0x4130de(0x1a4)]=_0x4130de(0x1b2);const _0x550c78=_0x1d832d,_0x170e97=_0x550c78[_0x4130de(0x1a4)][_0x4130de(0x1a6)]('|');let _0x139320=0x0;while(!![]){switch(_0x170e97[_0x139320++]){case'0':this['testFrameworksVersions']=_0x5a63c0;continue;case'1':this[_0x4130de(0x1a3)]=_0x4ec2c7;continue;case'2':this[_0x4130de(0x1b4)]=TestFrameworkState['NONE'];continue;case'3':this[_0x4130de(0x19e)]=_0x2a6bd2;continue;case'4':this[_0x4130de(0x1b8)]=HookState[_0x4130de(0x1b6)];continue;case'5':super(_0x13c407);continue;case'6':this[_0x4130de(0x1b3)]=now['toLocaleString']();continue;case'7':this[_0x4130de(0x19d)]=_0x1c4976;continue;}break;}}['getCurrentTestState'](){const _0x184dc9=a67_0x116041;return this[_0x184dc9(0x19d)];}[a67_0x116041(0x1a9)](_0x4d6522){const _0x1f9357=a67_0x116041;this[_0x1f9357(0x1b1)](this['currentTestState']),this['currentTestState']=_0x4d6522;}[a67_0x116041(0x19c)](){const _0x29363c=a67_0x116041;return this[_0x29363c(0x19e)];}[a67_0x116041(0x1b7)](_0xad6ac9){const _0x389181=a67_0x116041;this[_0x389181(0x1a5)](this[_0x389181(0x19e)]),this[_0x389181(0x19e)]=_0xad6ac9;}[a67_0x116041(0x1ab)](){const _0x50f50b=a67_0x116041;return this[_0x50f50b(0x1b4)];}[a67_0x116041(0x1b1)](_0x5d669a){this['lastTestState']=_0x5d669a;}[a67_0x116041(0x1bb)](){const _0x38c4f6=a67_0x116041;return this[_0x38c4f6(0x1b8)];}[a67_0x116041(0x1a5)](_0x3fe07d){const _0x15a2af=a67_0x116041;this[_0x15a2af(0x1b8)]=_0x3fe07d;}[a67_0x116041(0x1b9)](){const _0x360423=a67_0x116041;return this[_0x360423(0x1b3)];}}module[a67_0x116041(0x1a0)]=TestFrameworkInstance;
@@ -1 +1 @@
1
- function a67_0x2af8(_0x27799c,_0x26aa02){const _0x46e254=a67_0x46e2();return a67_0x2af8=function(_0x2af827,_0x114cc0){_0x2af827=_0x2af827-0x1e1;let _0x5e5f58=_0x46e254[_0x2af827];return _0x5e5f58;},a67_0x2af8(_0x27799c,_0x26aa02);}const a67_0xf043d1=a67_0x2af8;(function(_0x26a746,_0xa160b8){const _0x289782=a67_0x2af8,_0x4d6701=_0x26a746();while(!![]){try{const _0x5c93a1=parseInt(_0x289782(0x1e8))/0x1+-parseInt(_0x289782(0x1ea))/0x2+parseInt(_0x289782(0x1e7))/0x3*(-parseInt(_0x289782(0x1f4))/0x4)+parseInt(_0x289782(0x1e1))/0x5+-parseInt(_0x289782(0x1e6))/0x6+-parseInt(_0x289782(0x1ed))/0x7*(parseInt(_0x289782(0x1f0))/0x8)+parseInt(_0x289782(0x1ec))/0x9*(parseInt(_0x289782(0x1e5))/0xa);if(_0x5c93a1===_0xa160b8)break;else _0x4d6701['push'](_0x4d6701['shift']());}catch(_0x4353be){_0x4d6701['push'](_0x4d6701['shift']());}}}(a67_0x46e2,0xd0856));const {createClassLogger}=require(a67_0xf043d1(0x1f3)),logger=createClassLogger(a67_0xf043d1(0x1f2));function a67_0x46e2(){const _0x30bbc0=['32089570iwKZFR','6269736rsRUXw','15405LOJXUr','10819pVGUSE','exports','1079262TvSvyV','type','9xgvAuC','2066113QErUPg','getType','processId','32POrtDw','getProcessId','TrackedContext','../../../helpers/classLogger','776aDaxiz','6978695DuEmbt','getId','threadId','getThreadId'];a67_0x46e2=function(){return _0x30bbc0;};return a67_0x46e2();}class TrackedContext{constructor(_0x4843c4,_0x4dbbcd,_0x5264cf,_0x2d9800){const _0x3fe18f=a67_0xf043d1;this['id']=_0x4843c4,this[_0x3fe18f(0x1e3)]=_0x4dbbcd,this[_0x3fe18f(0x1ef)]=_0x5264cf,this[_0x3fe18f(0x1eb)]=_0x2d9800;}[a67_0xf043d1(0x1e4)](){return this['threadId'];}[a67_0xf043d1(0x1f1)](){const _0x557216=a67_0xf043d1;return this[_0x557216(0x1ef)];}[a67_0xf043d1(0x1e2)](){return this['id'];}[a67_0xf043d1(0x1ee)](){const _0x294c82=a67_0xf043d1;return this[_0x294c82(0x1eb)];}}module[a67_0xf043d1(0x1e9)]=TrackedContext;
1
+ const a68_0x3cbf8b=a68_0x5b98;function a68_0x5b98(_0x50df8c,_0x209186){const _0xb73d81=a68_0xb73d();return a68_0x5b98=function(_0x5b9802,_0x42199a){_0x5b9802=_0x5b9802-0xa6;let _0x12e2a0=_0xb73d81[_0x5b9802];return _0x12e2a0;},a68_0x5b98(_0x50df8c,_0x209186);}(function(_0x587829,_0x1e21d1){const _0x3ff775=a68_0x5b98,_0x49ecc6=_0x587829();while(!![]){try{const _0x2a9d17=-parseInt(_0x3ff775(0xac))/0x1+-parseInt(_0x3ff775(0xa7))/0x2+-parseInt(_0x3ff775(0xaa))/0x3+parseInt(_0x3ff775(0xb0))/0x4+parseInt(_0x3ff775(0xa6))/0x5*(parseInt(_0x3ff775(0xaf))/0x6)+-parseInt(_0x3ff775(0xb5))/0x7+parseInt(_0x3ff775(0xa8))/0x8;if(_0x2a9d17===_0x1e21d1)break;else _0x49ecc6['push'](_0x49ecc6['shift']());}catch(_0x48e323){_0x49ecc6['push'](_0x49ecc6['shift']());}}}(a68_0xb73d,0xca0d9));const {createClassLogger}=require(a68_0x3cbf8b(0xb3)),logger=createClassLogger(a68_0x3cbf8b(0xb1));class TrackedContext{constructor(_0x52794f,_0x465a74,_0x37d017,_0x3871e2){const _0x1e1096=a68_0x3cbf8b;this['id']=_0x52794f,this[_0x1e1096(0xb2)]=_0x465a74,this[_0x1e1096(0xb7)]=_0x37d017,this['type']=_0x3871e2;}[a68_0x3cbf8b(0xad)](){const _0x43056a=a68_0x3cbf8b;return this[_0x43056a(0xb2)];}[a68_0x3cbf8b(0xae)](){const _0x1fce6d=a68_0x3cbf8b;return this[_0x1fce6d(0xb7)];}[a68_0x3cbf8b(0xb4)](){return this['id'];}[a68_0x3cbf8b(0xa9)](){const _0x51b782=a68_0x3cbf8b;return this[_0x51b782(0xb6)];}}module[a68_0x3cbf8b(0xab)]=TrackedContext;function a68_0xb73d(){const _0x1ce2f1=['getThreadId','getProcessId','18slukid','6550796fGjBwn','TrackedContext','threadId','../../../helpers/classLogger','getId','9480303ieXSGg','type','processId','1168645EKnhsn','379464dZQsZr','6900704IpBLew','getType','1413153qVsKNo','exports','358753tcRKAq'];a68_0xb73d=function(){return _0x1ce2f1;};return a68_0xb73d();}
@@ -1 +1 @@
1
- const a68_0x23b782=a68_0x1c76;(function(_0x4c806e,_0x3377d3){const _0x429840=a68_0x1c76,_0x143f46=_0x4c806e();while(!![]){try{const _0x5e0ac7=-parseInt(_0x429840(0xbd))/0x1*(-parseInt(_0x429840(0xb2))/0x2)+parseInt(_0x429840(0xcb))/0x3*(parseInt(_0x429840(0xca))/0x4)+parseInt(_0x429840(0xc8))/0x5*(parseInt(_0x429840(0xc0))/0x6)+-parseInt(_0x429840(0xae))/0x7*(-parseInt(_0x429840(0xb3))/0x8)+-parseInt(_0x429840(0xcd))/0x9*(parseInt(_0x429840(0xaf))/0xa)+parseInt(_0x429840(0xb8))/0xb+-parseInt(_0x429840(0xce))/0xc;if(_0x5e0ac7===_0x3377d3)break;else _0x143f46['push'](_0x143f46['shift']());}catch(_0x5a94c1){_0x143f46['push'](_0x143f46['shift']());}}}(a68_0x289b,0x33024));function a68_0x289b(){const _0x57e66f=['21MiaqyD','11090peCXew','keys','./trackedContext','117162PZOdNP','698184xqbudj','updateData','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','getRef','updateMultipleEntries','2428536iTZqZL','createContext','context','getId','createHash','1PcWwch','worker_threads','getAllData','2125518HwwXud','YHyON','rMlBl','set','isBrowserstackAutomationSession','pid','entries','forEach','5mkvXKu','data','2488yRoKLY','1119hgHnBA','qbmTM','2601yocUMY','7176024wTkbQQ','get','exports'];a68_0x289b=function(){return _0x57e66f;};return a68_0x289b();}const TrackedContext=require(a68_0x23b782(0xb1)),crypto=require('crypto'),{threadId}=require(a68_0x23b782(0xbe));class TrackedInstance{static [a68_0x23b782(0xb5)]=a68_0x23b782(0xc4);constructor(_0x3b09f3){const _0xb550b9=a68_0x23b782;this[_0xb550b9(0xba)]=_0x3b09f3,this[_0xb550b9(0xc9)]=new Map();}[a68_0x23b782(0xb6)](){const _0x187d9a=a68_0x23b782;return this['context'][_0x187d9a(0xbb)]();}['getContext'](){return this['context'];}[a68_0x23b782(0xbf)](){const _0x134508=a68_0x23b782;return this[_0x134508(0xc9)];}[a68_0x23b782(0xb7)](_0x53534e){const _0x169394=a68_0x23b782;Object[_0x169394(0xb0)](_0x53534e)['forEach'](_0x279c13=>{const _0x48fe9f=_0x169394;this[_0x48fe9f(0xc9)][_0x48fe9f(0xc3)](_0x279c13,_0x53534e[_0x279c13]);});}['addMultipleEntries'](_0x206486){const _0x2de26a=a68_0x23b782;Object[_0x2de26a(0xc6)](_0x206486)[_0x2de26a(0xc7)](([_0x1085f1,_0x4b562a])=>{const _0x294b74=_0x2de26a,_0x4dac8c=this[_0x294b74(0xc9)][_0x294b74(0xcf)](_0x1085f1)||{},_0x132bc4={..._0x4dac8c,..._0x4b562a},_0x20eb1e=_0x132bc4;this['data']['set'](_0x1085f1,_0x20eb1e);});}['getData'](_0x3e2dc0){const _0x5266d0=a68_0x23b782;return this['data'][_0x5266d0(0xcf)](_0x3e2dc0);}[a68_0x23b782(0xb4)](_0x5070a9,_0x14f33a){this['data']['set'](_0x5070a9,_0x14f33a);}static[a68_0x23b782(0xb9)](_0xa5eaf7){const _0x48f963=a68_0x23b782,_0x27e920={};_0x27e920[_0x48f963(0xc1)]='sha256',_0x27e920[_0x48f963(0xcc)]='hex',_0x27e920[_0x48f963(0xc2)]=function(_0x4be3fe,_0x58b140){return _0x4be3fe||_0x58b140;};const _0x486334=_0x27e920;return new TrackedContext(crypto[_0x48f963(0xbc)](_0x486334[_0x48f963(0xc1)])['update'](_0xa5eaf7)['digest'](_0x486334[_0x48f963(0xcc)]),_0x486334[_0x48f963(0xc2)](threadId,0x0),process[_0x48f963(0xc5)],typeof _0xa5eaf7);}}function a68_0x1c76(_0x173643,_0x44e100){const _0x289b92=a68_0x289b();return a68_0x1c76=function(_0x1c76e4,_0x598607){_0x1c76e4=_0x1c76e4-0xad;let _0x399c41=_0x289b92[_0x1c76e4];return _0x399c41;},a68_0x1c76(_0x173643,_0x44e100);}module[a68_0x23b782(0xad)]=TrackedInstance;
1
+ const a69_0x24b2f8=a69_0x17ee;function a69_0x5da1(){const _0x78ae25=['crypto','data','261PHkhcZ','8650422dKtRiz','4vVGeJC','forEach','pid','digest','updateMultipleEntries','892126GjYJuQ','createHash','32209199MsHGYz','HjgwF','getData','entries','context','kmrqe','3924462xScUvu','getContext','2lhCbYY','set','updateData','hex','14uCIJLv','2826272xEMceH','keys','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','update','1850835dNBMnu','addMultipleEntries','382380YIpRnN','getId','isBrowserstackAutomationSession','sha256','get','worker_threads'];a69_0x5da1=function(){return _0x78ae25;};return a69_0x5da1();}(function(_0x45ab6c,_0x4d27ef){const _0x13dc78=a69_0x17ee,_0x5440be=_0x45ab6c();while(!![]){try{const _0x2b41c1=-parseInt(_0x13dc78(0x1ba))/0x1*(parseInt(_0x13dc78(0x1b0))/0x2)+-parseInt(_0x13dc78(0x1b8))/0x3*(parseInt(_0x13dc78(0x1ab))/0x4)+-parseInt(_0x13dc78(0x19f))/0x5+-parseInt(_0x13dc78(0x1aa))/0x6+-parseInt(_0x13dc78(0x19a))/0x7*(-parseInt(_0x13dc78(0x19b))/0x8)+-parseInt(_0x13dc78(0x1a9))/0x9*(-parseInt(_0x13dc78(0x1a1))/0xa)+parseInt(_0x13dc78(0x1b2))/0xb;if(_0x2b41c1===_0x4d27ef)break;else _0x5440be['push'](_0x5440be['shift']());}catch(_0x3bd59c){_0x5440be['push'](_0x5440be['shift']());}}}(a69_0x5da1,0xb2903));const TrackedContext=require('./trackedContext'),crypto=require(a69_0x24b2f8(0x1a7)),{threadId}=require(a69_0x24b2f8(0x1a6));class TrackedInstance{static [a69_0x24b2f8(0x19d)]=a69_0x24b2f8(0x1a3);constructor(_0x2a3753){const _0x1621f9=a69_0x24b2f8;this[_0x1621f9(0x1b6)]=_0x2a3753,this[_0x1621f9(0x1a8)]=new Map();}['getRef'](){const _0x2800eb=a69_0x24b2f8;return this[_0x2800eb(0x1b6)][_0x2800eb(0x1a2)]();}[a69_0x24b2f8(0x1b9)](){const _0x1c2e57=a69_0x24b2f8;return this[_0x1c2e57(0x1b6)];}['getAllData'](){const _0x3e3b56=a69_0x24b2f8;return this[_0x3e3b56(0x1a8)];}[a69_0x24b2f8(0x1af)](_0x59341f){const _0x3cd893=a69_0x24b2f8;Object[_0x3cd893(0x19c)](_0x59341f)[_0x3cd893(0x1ac)](_0x7add33=>{const _0x4e9f55=_0x3cd893;this[_0x4e9f55(0x1a8)]['set'](_0x7add33,_0x59341f[_0x7add33]);});}[a69_0x24b2f8(0x1a0)](_0x48b768){const _0x406d5d=a69_0x24b2f8;Object[_0x406d5d(0x1b5)](_0x48b768)['forEach'](([_0x576e5b,_0x3736d6])=>{const _0x45b259=_0x406d5d,_0x3964bd=this['data']['get'](_0x576e5b)||{},_0x69eed8={..._0x3964bd,..._0x3736d6},_0x11a0b2=_0x69eed8;this[_0x45b259(0x1a8)][_0x45b259(0x1bb)](_0x576e5b,_0x11a0b2);});}[a69_0x24b2f8(0x1b4)](_0x460319){const _0x250ec2=a69_0x24b2f8;return this['data'][_0x250ec2(0x1a5)](_0x460319);}[a69_0x24b2f8(0x198)](_0x3a90a0,_0x1fdfb9){this['data']['set'](_0x3a90a0,_0x1fdfb9);}static['createContext'](_0x5b0f1f){const _0x505a3d=a69_0x24b2f8,_0x3136b3={};_0x3136b3[_0x505a3d(0x1b7)]=_0x505a3d(0x1a4),_0x3136b3['SFbVK']=_0x505a3d(0x199),_0x3136b3[_0x505a3d(0x1b3)]=function(_0x19bfb1,_0x309c15){return _0x19bfb1||_0x309c15;};const _0x22c9d8=_0x3136b3;return new TrackedContext(crypto[_0x505a3d(0x1b1)](_0x22c9d8[_0x505a3d(0x1b7)])[_0x505a3d(0x19e)](_0x5b0f1f)[_0x505a3d(0x1ae)](_0x22c9d8['SFbVK']),_0x22c9d8[_0x505a3d(0x1b3)](threadId,0x0),process[_0x505a3d(0x1ad)],typeof _0x5b0f1f);}}function a69_0x17ee(_0x3adcdd,_0x103538){const _0x5da15f=a69_0x5da1();return a69_0x17ee=function(_0x17ee1a,_0x1f25be){_0x17ee1a=_0x17ee1a-0x198;let _0x474277=_0x5da15f[_0x17ee1a];return _0x474277;},a69_0x17ee(_0x3adcdd,_0x103538);}module['exports']=TrackedInstance;
@@ -1 +1 @@
1
- const a69_0x1ee6b5=a69_0x3a0e;(function(_0x975930,_0x15cfa3){const _0x3d0706=a69_0x3a0e,_0x4743bc=_0x975930();while(!![]){try{const _0x1ea0b3=parseInt(_0x3d0706(0x1ad))/0x1+-parseInt(_0x3d0706(0x1bf))/0x2*(-parseInt(_0x3d0706(0x1bb))/0x3)+-parseInt(_0x3d0706(0x1ee))/0x4*(-parseInt(_0x3d0706(0x1d8))/0x5)+parseInt(_0x3d0706(0x1e4))/0x6*(-parseInt(_0x3d0706(0x1d5))/0x7)+parseInt(_0x3d0706(0x1a2))/0x8+-parseInt(_0x3d0706(0x1b4))/0x9+-parseInt(_0x3d0706(0x1cf))/0xa;if(_0x1ea0b3===_0x15cfa3)break;else _0x4743bc['push'](_0x4743bc['shift']());}catch(_0x48301a){_0x4743bc['push'](_0x4743bc['shift']());}}}(a69_0x3a91,0x3b3af));function a69_0x3a91(){const _0x2007a6=['CPTne','3121736JGfGDn','isAppAccessibility','./baseModule','name:\x20','dvGfz','BS_A11Y_JWT','onAfterTest','QUIT','SDK_ACCESSIBILITY_CONFIG','getInstance','hHXGy','451968jYVoiu','getCommandsToWrap','message','getCurrentInstanceName','onAfterTest:\x20event=','launchCaps','\x20value=','4057299HpGGyZ','onBeforeExecute:\x20event=','../../../helpers/performance/constants.js','TrackedInstance','bXDvm','getValue','env','12381kFwfrU','ubOQI','getLogDisabledShown','xkiAI','128KmQzrl','../framework/automationFramework','BROWSERSTACK_TEST_ACCESSIBILITY_YML','bind','getAccessibility','../../../helpers/performance/performance-tester.js','stack','getCurrentAccessibilityStatus','LOG_DISABLED_SHOWN','registerObserver','onBeforeExecute','toObject','start','getSuccess','../../../helpers/classLogger','Error\x20while\x20setting\x20accessibility\x20config:\x20','4576330UVvEwD','error','getName','WnnRQ','get','CREATE','853951XLZTGw','oZDDq','getScriptsList','833655QVvvCg','toJson','wcagVersion','getCommandsList','getModuleName','setAccessibilityConfig','onBeforeTest','getAccessibilityConfig','../cliUtils','tefHn','PRE','../../../helpers/accessibility-automation/scripts','6LwjnZf','MODULE_NAME','isEnabled','TCRAN','getCapabilitiesList','setLogDisabledShown','info','name','browserstack.accessibilityOptions.scannerProcessingTimeout','dDSEX','4kuPcyx','end','parseFromProto','accessibilityConfig','accessibility','setAccessibilityToken','scannerProcessingTimeout','browserstack.accessibilityOptions.scannerVersion','put','getOptions'];a69_0x3a91=function(){return _0x2007a6;};return a69_0x3a91();}const BaseModule=require(a69_0x1ee6b5(0x1a4)),{createClassLogger}=require(a69_0x1ee6b5(0x1cd)),CLIUtils=require(a69_0x1ee6b5(0x1e0)),AutomationFramework=require(a69_0x1ee6b5(0x1c0)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require('../state/hookState'),GrpcClient=require('../grpcClient'),scripts=require(a69_0x1ee6b5(0x1e3)),logger=createClassLogger(a69_0x1ee6b5(0x1b7)),PerformanceTester=require(a69_0x1ee6b5(0x1c4)),{EVENTS}=require(a69_0x1ee6b5(0x1b6));function a69_0x3a0e(_0x50027d,_0xbb2a38){const _0x3a9176=a69_0x3a91();return a69_0x3a0e=function(_0x3a0e69,_0x35ce08){_0x3a0e69=_0x3a0e69-0x19f;let _0x1cd44f=_0x3a9176[_0x3a0e69];return _0x1cd44f;},a69_0x3a0e(_0x50027d,_0xbb2a38);}class AccessibilityModule extends BaseModule{static [a69_0x1ee6b5(0x1e5)]=AccessibilityModule[a69_0x1ee6b5(0x1eb)];constructor(_0x3c01af){const _0xca90b3=a69_0x1ee6b5,_0x57566d={};_0x57566d[_0xca90b3(0x1e1)]='7|4|1|9|3|5|0|8|2|6';const _0x2ad3d8=_0x57566d,_0x3d6272=_0x2ad3d8[_0xca90b3(0x1e1)]['split']('|');let _0x46c9a7=0x0;while(!![]){switch(_0x3d6272[_0x46c9a7++]){case'0':this[_0xca90b3(0x1f2)]=new Map();continue;case'1':AutomationFramework[_0xca90b3(0x1c8)](AutomationFrameworkState[_0xca90b3(0x1d4)],HookState[_0xca90b3(0x1e2)],this[_0xca90b3(0x1de)][_0xca90b3(0x1c2)](this));continue;case'2':this[_0xca90b3(0x1a3)]=![];continue;case'3':this[_0xca90b3(0x1e6)]=!![];continue;case'4':AutomationFramework[_0xca90b3(0x1c8)](AutomationFrameworkState['EXECUTE'],HookState[_0xca90b3(0x1e2)],this['onBeforeExecute'][_0xca90b3(0x1c2)](this));continue;case'5':this[_0xca90b3(0x1f1)]=_0x3c01af[_0xca90b3(0x1ca)]();continue;case'6':this[_0xca90b3(0x1f3)](_0x3c01af[_0xca90b3(0x1a0)]()['getCapabilitiesList']());continue;case'7':super();continue;case'8':this[_0xca90b3(0x1c7)]=new Map();continue;case'9':AutomationFramework[_0xca90b3(0x1c8)](AutomationFrameworkState[_0xca90b3(0x1a9)],HookState[_0xca90b3(0x1e2)],this[_0xca90b3(0x1a8)][_0xca90b3(0x1c2)](this));continue;}break;}}[a69_0x1ee6b5(0x1e6)](){const _0x8450b2=a69_0x1ee6b5;return this[_0x8450b2(0x1e6)];}[a69_0x1ee6b5(0x1dc)](){const _0x5abaca=a69_0x1ee6b5;return AccessibilityModule[_0x5abaca(0x1e5)];}[a69_0x1ee6b5(0x1c6)](){const _0x1016cd=a69_0x1ee6b5;return this[_0x1016cd(0x1f2)][_0x1016cd(0x1d3)](CLIUtils['getCurrentInstanceName'](),![]);}[a69_0x1ee6b5(0x1bd)](){const _0x46a8eb=a69_0x1ee6b5;return this[_0x46a8eb(0x1c7)][_0x46a8eb(0x1d3)](CLIUtils['getCurrentInstanceName'](),![]);}[a69_0x1ee6b5(0x1e9)](_0x3d3ebd){const _0x4f802d=a69_0x1ee6b5;this[_0x4f802d(0x1c7)][_0x4f802d(0x19f)](CLIUtils[_0x4f802d(0x1b0)](),_0x3d3ebd);}async[a69_0x1ee6b5(0x1de)](_0xce860f){const _0x3af770=a69_0x1ee6b5;try{PerformanceTester[_0x3af770(0x1cb)](EVENTS[_0x3af770(0x1aa)]);const _0x3acd33=await GrpcClient[_0x3af770(0x1ab)]()[_0x3af770(0x1df)](_0xce860f);_0x3acd33&&_0x3acd33[_0x3af770(0x1c3)]()&&_0x3acd33['getAccessibility']()[_0x3af770(0x1cc)]()&&(global['accessibilityPlatform']=!![],process[_0x3af770(0x1ba)][_0x3af770(0x1c1)]=!![],this['setAccessibilityConfig'](_0x3acd33,_0xce860f)),PerformanceTester['end'](EVENTS[_0x3af770(0x1aa)]);}catch(_0xcf732f){PerformanceTester[_0x3af770(0x1ef)](EVENTS[_0x3af770(0x1aa)],![],_0xcf732f[_0x3af770(0x1af)]),logger[_0x3af770(0x1d0)](_0x3af770(0x1ce)+(_0xcf732f[_0x3af770(0x1c5)]||_0xcf732f[_0x3af770(0x1af)]));}}async[a69_0x1ee6b5(0x1dd)](_0x2d5a78,_0xf28286){const _0x462638=a69_0x1ee6b5,_0x44ac11=_0x2d5a78[_0x462638(0x1c3)]()[_0x462638(0x1a0)](),_0x258177=_0x44ac11[_0x462638(0x1d7)](),_0x22aee3=_0x44ac11[_0x462638(0x1ae)]()?.[_0x462638(0x1db)]();scripts[_0x462638(0x1f0)](_0x258177,_0x22aee3),scripts[_0x462638(0x1d9)]();const _0x21f3f6=_0x44ac11[_0x462638(0x1e8)]();await this[_0x462638(0x1f3)](_0x21f3f6,_0xf28286[_0x462638(0x1b2)]);}async[a69_0x1ee6b5(0x1f3)](_0x1ad97c,_0x561565={}){const _0x545c3d=a69_0x1ee6b5,_0x22d5ec={};_0x22d5ec[_0x545c3d(0x1a1)]=function(_0x2b8876,_0x1a6b31){return _0x2b8876===_0x1a6b31;},_0x22d5ec[_0x545c3d(0x1b8)]='accessibilityToken',_0x22d5ec[_0x545c3d(0x1a6)]='browserstack.accessibilityOptions.authToken',_0x22d5ec[_0x545c3d(0x1e7)]=function(_0x513c22,_0x73f71f){return _0x513c22===_0x73f71f;},_0x22d5ec[_0x545c3d(0x1be)]=_0x545c3d(0x1da),_0x22d5ec[_0x545c3d(0x1d6)]='browserstack.accessibilityOptions.wcagVersion',_0x22d5ec['dDSEX']='scannerVersion',_0x22d5ec['ubOQI']=_0x545c3d(0x1f5),_0x22d5ec[_0x545c3d(0x1ac)]=_0x545c3d(0x1f4),_0x22d5ec[_0x545c3d(0x1d2)]=_0x545c3d(0x1ec);const _0x1bc539=_0x22d5ec;for(const _0x476cee of _0x1ad97c){logger[_0x545c3d(0x1ea)](_0x545c3d(0x1a5)+_0x476cee['getName']()+_0x545c3d(0x1b3)+_0x476cee[_0x545c3d(0x1b9)]());if(_0x1bc539['CPTne'](_0x476cee['getName'](),_0x1bc539[_0x545c3d(0x1b8)]))process[_0x545c3d(0x1ba)][_0x545c3d(0x1a7)]=_0x476cee[_0x545c3d(0x1b9)](),_0x561565[_0x1bc539[_0x545c3d(0x1a6)]]=_0x476cee[_0x545c3d(0x1b9)]();else{if(_0x1bc539[_0x545c3d(0x1e7)](_0x476cee[_0x545c3d(0x1d1)](),_0x1bc539[_0x545c3d(0x1be)]))_0x561565[_0x1bc539[_0x545c3d(0x1d6)]]=_0x476cee[_0x545c3d(0x1b9)]();else{if(_0x1bc539[_0x545c3d(0x1e7)](_0x476cee[_0x545c3d(0x1d1)](),_0x1bc539[_0x545c3d(0x1ed)]))_0x561565[_0x1bc539[_0x545c3d(0x1bc)]]=_0x476cee[_0x545c3d(0x1b9)]();else _0x1bc539[_0x545c3d(0x1e7)](_0x476cee[_0x545c3d(0x1d1)](),_0x1bc539[_0x545c3d(0x1ac)])&&(_0x561565[_0x1bc539[_0x545c3d(0x1d2)]]=_0x476cee[_0x545c3d(0x1b9)]());}}}}[a69_0x1ee6b5(0x1a8)](_0x35a68e){const _0x22c57d=a69_0x1ee6b5;logger['info'](_0x22c57d(0x1b1)+_0x35a68e);}[a69_0x1ee6b5(0x1c9)](_0x42b92e){const _0xe71cf9=a69_0x1ee6b5;logger[_0xe71cf9(0x1ea)](_0xe71cf9(0x1b5)+_0x42b92e);}};module['exports']=AccessibilityModule;
1
+ const a70_0x24ccf6=a70_0x2de6;function a70_0x47a6(){const _0x2099a9=['isAppAccessibility','launchCaps','../../../helpers/performance/performance-tester.js','exports','getName','yarXV','name','36266sNigUS','onAfterTest:\x20event=','../state/automationFrameworkState','Error\x20while\x20setting\x20accessibility\x20config:\x20','bind','VlOFr','3873595dejYOp','browserstack.accessibilityOptions.scannerVersion','registerObserver','getCurrentInstanceName','onAfterTest','message','BS_A11Y_JWT','pOwXg','FlIXl','601115QpPXNw','getValue','getCommandsList','getOptions','onBeforeExecute','CREATE','stack','accessibilityToken','jmyPJ','end','ZUmAt','wcagVersion','LOG_DISABLED_SHOWN','UJcmy','name:\x20','../cliUtils','2205zksfgR','getScriptsList','getAccessibility','yebnu','info','getCurrentAccessibilityStatus','toObject','parseFromProto','put','accessibility','KqmXf','getSuccess','eCEhc','browserstack.accessibilityOptions.scannerProcessingTimeout','4770pGCknM','setAccessibilityToken','../../../helpers/accessibility-automation/scripts','PRE','scannerProcessingTimeout','QUIT','../state/hookState','../../../helpers/performance/constants.js','setLogDisabledShown','onBeforeTest','accessibilityConfig','597737MRyVxg','\x20value=','1939PyQhfI','getCapabilitiesList','start','error','SDK_ACCESSIBILITY_CONFIG','12kXszoW','MODULE_NAME','129BNgdiv','browserstack.accessibilityOptions.wcagVersion','env','./baseModule','EXECUTE','17248xcERhK','isEnabled','onBeforeExecute:\x20event=','1563270XdHJZd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','TrackedInstance','WmwCt','../../../helpers/classLogger','getLogDisabledShown','get','scannerVersion','split','getModuleName'];a70_0x47a6=function(){return _0x2099a9;};return a70_0x47a6();}function a70_0x2de6(_0x384c0f,_0x2c38c9){const _0x47a634=a70_0x47a6();return a70_0x2de6=function(_0x2de6ad,_0xff0d56){_0x2de6ad=_0x2de6ad-0x99;let _0x4f1cca=_0x47a634[_0x2de6ad];return _0x4f1cca;},a70_0x2de6(_0x384c0f,_0x2c38c9);}(function(_0x2acf56,_0x164457){const _0x465b51=a70_0x2de6,_0x44b0c5=_0x2acf56();while(!![]){try{const _0x5c1b7e=parseInt(_0x465b51(0xa3))/0x1+parseInt(_0x465b51(0xc5))/0x2*(parseInt(_0x465b51(0xac))/0x3)+parseInt(_0x465b51(0xaa))/0x4*(parseInt(_0x465b51(0xd4))/0x5)+-parseInt(_0x465b51(0xb4))/0x6+parseInt(_0x465b51(0xa5))/0x7*(-parseInt(_0x465b51(0xb1))/0x8)+parseInt(_0x465b51(0xe4))/0x9*(-parseInt(_0x465b51(0xf2))/0xa)+-parseInt(_0x465b51(0xcb))/0xb;if(_0x5c1b7e===_0x164457)break;else _0x44b0c5['push'](_0x44b0c5['shift']());}catch(_0x119cac){_0x44b0c5['push'](_0x44b0c5['shift']());}}}(a70_0x47a6,0x646de));const BaseModule=require(a70_0x24ccf6(0xaf)),{createClassLogger}=require(a70_0x24ccf6(0xb8)),CLIUtils=require(a70_0x24ccf6(0xe3)),AutomationFramework=require('../framework/automationFramework'),AutomationFrameworkState=require(a70_0x24ccf6(0xc7)),HookState=require(a70_0x24ccf6(0x9e)),GrpcClient=require('../grpcClient'),scripts=require(a70_0x24ccf6(0x9a)),logger=createClassLogger(a70_0x24ccf6(0xb6)),PerformanceTester=require(a70_0x24ccf6(0xc0)),{EVENTS}=require(a70_0x24ccf6(0x9f));class AccessibilityModule extends BaseModule{static [a70_0x24ccf6(0xab)]=AccessibilityModule[a70_0x24ccf6(0xc4)];constructor(_0x462a74){const _0x4580e9=a70_0x24ccf6,_0x182286={};_0x182286[_0x4580e9(0xca)]='2|7|6|8|0|9|5|1|4|3';const _0x3277d7=_0x182286,_0x45a837=_0x3277d7[_0x4580e9(0xca)][_0x4580e9(0xbc)]('|');let _0x1ba596=0x0;while(!![]){switch(_0x45a837[_0x1ba596++]){case'0':this[_0x4580e9(0xb2)]=!![];continue;case'1':this[_0x4580e9(0xe0)]=new Map();continue;case'2':super();continue;case'3':this[_0x4580e9(0x99)](_0x462a74[_0x4580e9(0xd7)]()[_0x4580e9(0xa6)]());continue;case'4':this[_0x4580e9(0xbe)]=![];continue;case'5':this[_0x4580e9(0xed)]=new Map();continue;case'6':AutomationFramework[_0x4580e9(0xcd)](AutomationFrameworkState[_0x4580e9(0xd9)],HookState['PRE'],this[_0x4580e9(0xa1)][_0x4580e9(0xc9)](this));continue;case'7':AutomationFramework[_0x4580e9(0xcd)](AutomationFrameworkState[_0x4580e9(0xb0)],HookState[_0x4580e9(0x9b)],this['onBeforeExecute']['bind'](this));continue;case'8':AutomationFramework[_0x4580e9(0xcd)](AutomationFrameworkState[_0x4580e9(0x9d)],HookState[_0x4580e9(0x9b)],this[_0x4580e9(0xcf)][_0x4580e9(0xc9)](this));continue;case'9':this[_0x4580e9(0xa2)]=_0x462a74[_0x4580e9(0xea)]();continue;}break;}}[a70_0x24ccf6(0xb2)](){const _0x6980e0=a70_0x24ccf6;return this[_0x6980e0(0xb2)];}[a70_0x24ccf6(0xbd)](){const _0x2b31d0=a70_0x24ccf6;return AccessibilityModule[_0x2b31d0(0xab)];}[a70_0x24ccf6(0xe9)](){const _0x24d499=a70_0x24ccf6;return this[_0x24d499(0xed)][_0x24d499(0xba)](CLIUtils['getCurrentInstanceName'](),![]);}[a70_0x24ccf6(0xb9)](){const _0x551189=a70_0x24ccf6;return this[_0x551189(0xe0)][_0x551189(0xba)](CLIUtils[_0x551189(0xce)](),![]);}[a70_0x24ccf6(0xa0)](_0x4a1e8c){const _0x38b97e=a70_0x24ccf6;this['LOG_DISABLED_SHOWN'][_0x38b97e(0xec)](CLIUtils['getCurrentInstanceName'](),_0x4a1e8c);}async[a70_0x24ccf6(0xa1)](_0xbfbc58){const _0x50977c=a70_0x24ccf6;try{PerformanceTester[_0x50977c(0xa7)](EVENTS[_0x50977c(0xa9)]);const _0xaf55a9=await GrpcClient['getInstance']()['getAccessibilityConfig'](_0xbfbc58);_0xaf55a9&&_0xaf55a9[_0x50977c(0xe6)]()&&_0xaf55a9[_0x50977c(0xe6)]()[_0x50977c(0xef)]()&&(global['accessibilityPlatform']=!![],process[_0x50977c(0xae)][_0x50977c(0xb5)]=!![],this['setAccessibilityConfig'](_0xaf55a9,_0xbfbc58)),PerformanceTester['end'](EVENTS[_0x50977c(0xa9)]);}catch(_0x494d62){PerformanceTester[_0x50977c(0xdd)](EVENTS[_0x50977c(0xa9)],![],_0x494d62[_0x50977c(0xd0)]),logger[_0x50977c(0xa8)](_0x50977c(0xc8)+(_0x494d62[_0x50977c(0xda)]||_0x494d62[_0x50977c(0xd0)]));}}async['setAccessibilityConfig'](_0x3429f8,_0x51c55e){const _0x4cb79f=a70_0x24ccf6,_0x2b8c06=_0x3429f8[_0x4cb79f(0xe6)]()[_0x4cb79f(0xd7)](),_0x42bd26=_0x2b8c06[_0x4cb79f(0xe5)](),_0x119822=_0x2b8c06['getCommandsToWrap']()?.[_0x4cb79f(0xd6)]();scripts[_0x4cb79f(0xeb)](_0x42bd26,_0x119822),scripts['toJson']();const _0x2dc2a5=_0x2b8c06[_0x4cb79f(0xa6)]();await this[_0x4cb79f(0x99)](_0x2dc2a5,_0x51c55e[_0x4cb79f(0xbf)]);}async['setAccessibilityToken'](_0x4ebd2b,_0x39448d={}){const _0x2ee8eb=a70_0x24ccf6,_0x3f0083={};_0x3f0083[_0x2ee8eb(0xe7)]=function(_0x183060,_0x455511){return _0x183060===_0x455511;},_0x3f0083[_0x2ee8eb(0xee)]=_0x2ee8eb(0xdb),_0x3f0083[_0x2ee8eb(0xb7)]='browserstack.accessibilityOptions.authToken',_0x3f0083['yarXV']=function(_0x1aeeb4,_0xf04f8e){return _0x1aeeb4===_0xf04f8e;},_0x3f0083[_0x2ee8eb(0xe1)]=_0x2ee8eb(0xdf),_0x3f0083['ZUmAt']=_0x2ee8eb(0xad),_0x3f0083['jmyPJ']=function(_0x1ab77b,_0x2417fb){return _0x1ab77b===_0x2417fb;},_0x3f0083[_0x2ee8eb(0xd2)]=_0x2ee8eb(0xbb),_0x3f0083[_0x2ee8eb(0xd3)]=_0x2ee8eb(0xcc),_0x3f0083['auMQZ']=function(_0x187e15,_0x963333){return _0x187e15===_0x963333;},_0x3f0083[_0x2ee8eb(0xf0)]=_0x2ee8eb(0x9c),_0x3f0083['fiioj']=_0x2ee8eb(0xf1);const _0x39039c=_0x3f0083;for(const _0x35c59d of _0x4ebd2b){logger[_0x2ee8eb(0xe8)](_0x2ee8eb(0xe2)+_0x35c59d['getName']()+_0x2ee8eb(0xa4)+_0x35c59d[_0x2ee8eb(0xd5)]());if(_0x39039c[_0x2ee8eb(0xe7)](_0x35c59d[_0x2ee8eb(0xc2)](),_0x39039c[_0x2ee8eb(0xee)]))process[_0x2ee8eb(0xae)][_0x2ee8eb(0xd1)]=_0x35c59d['getValue'](),_0x39448d[_0x39039c[_0x2ee8eb(0xb7)]]=_0x35c59d[_0x2ee8eb(0xd5)]();else{if(_0x39039c[_0x2ee8eb(0xc3)](_0x35c59d['getName'](),_0x39039c['UJcmy']))_0x39448d[_0x39039c[_0x2ee8eb(0xde)]]=_0x35c59d[_0x2ee8eb(0xd5)]();else{if(_0x39039c[_0x2ee8eb(0xdc)](_0x35c59d[_0x2ee8eb(0xc2)](),_0x39039c[_0x2ee8eb(0xd2)]))_0x39448d[_0x39039c[_0x2ee8eb(0xd3)]]=_0x35c59d[_0x2ee8eb(0xd5)]();else _0x39039c['auMQZ'](_0x35c59d[_0x2ee8eb(0xc2)](),_0x39039c['eCEhc'])&&(_0x39448d[_0x39039c['fiioj']]=_0x35c59d[_0x2ee8eb(0xd5)]());}}}}[a70_0x24ccf6(0xcf)](_0x3e12a2){const _0x504aaa=a70_0x24ccf6;logger[_0x504aaa(0xe8)](_0x504aaa(0xc6)+_0x3e12a2);}[a70_0x24ccf6(0xd8)](_0x56ca57){const _0x3fb4d3=a70_0x24ccf6;logger[_0x3fb4d3(0xe8)](_0x3fb4d3(0xb3)+_0x56ca57);}};module[a70_0x24ccf6(0xc1)]=AccessibilityModule;
@@ -1 +1 @@
1
- function a70_0x3f56(_0x520de6,_0x328ec4){const _0x466259=a70_0x4662();return a70_0x3f56=function(_0x3f56d3,_0x23093c){_0x3f56d3=_0x3f56d3-0xe2;let _0x5aafc0=_0x466259[_0x3f56d3];return _0x5aafc0;},a70_0x3f56(_0x520de6,_0x328ec4);}const a70_0x37b567=a70_0x3f56;(function(_0x35da15,_0x1c7054){const _0x5e4a5a=a70_0x3f56,_0x31952d=_0x35da15();while(!![]){try{const _0x5e7e43=parseInt(_0x5e4a5a(0xe5))/0x1*(-parseInt(_0x5e4a5a(0xed))/0x2)+parseInt(_0x5e4a5a(0xfc))/0x3*(-parseInt(_0x5e4a5a(0xff))/0x4)+-parseInt(_0x5e4a5a(0xf7))/0x5*(-parseInt(_0x5e4a5a(0xfa))/0x6)+-parseInt(_0x5e4a5a(0xf0))/0x7+parseInt(_0x5e4a5a(0xfb))/0x8+-parseInt(_0x5e4a5a(0xe7))/0x9+parseInt(_0x5e4a5a(0xe3))/0xa;if(_0x5e7e43===_0x1c7054)break;else _0x31952d['push'](_0x31952d['shift']());}catch(_0x4bc414){_0x31952d['push'](_0x31952d['shift']());}}}(a70_0x4662,0x95744));function a70_0x4662(){const _0x50ebc7=['configure','rOmIJ','1890012FxWxiE','3193920mPBiOM','21RvKJxV','BaseModule','getModuleName','617948dPQioi','platformIndex','Missing\x20binSessionId','binSessionId','split','9912050yCkyiJ','debug','69198bkLFuT','client','2140173YFvMfa','name','4|0|1|3|2','0|3|1|2|4','ensureBinSession','winstonLogger','4zXSkCC','QDsHu','\x20with\x20binSessionId=','1859795FOQfjX',',\x20platformIndex=','config','Configured\x20module\x20','../../../helpers/logger.js','oUmju','ZBZYG','15GYYcmr'];a70_0x4662=function(){return _0x50ebc7;};return a70_0x4662();}const logger=require(a70_0x37b567(0xf4))[a70_0x37b567(0xec)];class BaseModule{constructor(){const _0x8b6f8f=a70_0x37b567,_0x32f4a4={};_0x32f4a4[_0x8b6f8f(0xee)]=_0x8b6f8f(0xe9),_0x32f4a4[_0x8b6f8f(0xf5)]=_0x8b6f8f(0xfd);const _0x528e67=_0x32f4a4,_0x5b5d8a=_0x528e67[_0x8b6f8f(0xee)]['split']('|');let _0x43bdd9=0x0;while(!![]){switch(_0x5b5d8a[_0x43bdd9++]){case'0':this[_0x8b6f8f(0x102)]=null;continue;case'1':this[_0x8b6f8f(0x100)]=0x0;continue;case'2':this[_0x8b6f8f(0xe6)]=null;continue;case'3':this[_0x8b6f8f(0xf2)]={};continue;case'4':this[_0x8b6f8f(0xe8)]=_0x528e67['oUmju'];continue;}break;}}[a70_0x37b567(0xeb)](){const _0x3eec36=a70_0x37b567,_0x1311d2={};_0x1311d2[_0x3eec36(0xf6)]=_0x3eec36(0x101);const _0x57f675=_0x1311d2;if(!this['binSessionId'])throw new Error(_0x57f675[_0x3eec36(0xf6)]);}[a70_0x37b567(0xfe)](){const _0x30da63=a70_0x37b567;return this[_0x30da63(0xe8)];}[a70_0x37b567(0xf8)](_0x498d3f,_0xb0b6c5,_0xb7b413,_0x2f0628={}){const _0x410cf7=a70_0x37b567,_0x57133d={};_0x57133d[_0x410cf7(0xf9)]=_0x410cf7(0xea);const _0x2d0f1b=_0x57133d,_0x1f461f=_0x2d0f1b[_0x410cf7(0xf9)][_0x410cf7(0xe2)]('|');let _0x5efedf=0x0;while(!![]){switch(_0x1f461f[_0x5efedf++]){case'0':this[_0x410cf7(0x102)]=_0x498d3f;continue;case'1':this['client']=_0xb7b413;continue;case'2':this['config']=_0x2f0628;continue;case'3':this[_0x410cf7(0x100)]=_0xb0b6c5;continue;case'4':logger[_0x410cf7(0xe4)](_0x410cf7(0xf3)+this['getModuleName']()+_0x410cf7(0xef)+_0x498d3f+_0x410cf7(0xf1)+_0xb0b6c5);continue;}break;}}}module['exports']=BaseModule;
1
+ function a71_0x229a(){const _0x127a25=['349644OeJMDi','name','1769402NbCBru','9ufqNYq','Missing\x20binSessionId','WsoiR','18655184HwEiTA','1|2|0|4|3','1173015HCcgRb','getModuleName','client',',\x20platformIndex=','1|2|0|3|4','exports','IKiox','split','debug','35wVqqPV','binSessionId','ensureBinSession','\x20with\x20binSessionId=','5835333RenWay','configure','TOtkG','winstonLogger','platformIndex','../../../helpers/logger.js','357963WpcDMA','qJHAj','1573362ubsxuv'];a71_0x229a=function(){return _0x127a25;};return a71_0x229a();}function a71_0x232a(_0x127849,_0x367332){const _0x229ae4=a71_0x229a();return a71_0x232a=function(_0x232a27,_0x590e30){_0x232a27=_0x232a27-0x11d;let _0x34b14a=_0x229ae4[_0x232a27];return _0x34b14a;},a71_0x232a(_0x127849,_0x367332);}const a71_0x5e9e2e=a71_0x232a;(function(_0x3f0b56,_0x2d81fc){const _0x5521c7=a71_0x232a,_0x4ac414=_0x3f0b56();while(!![]){try{const _0x5c1ac9=-parseInt(_0x5521c7(0x12b))/0x1+parseInt(_0x5521c7(0x125))/0x2+-parseInt(_0x5521c7(0x120))/0x3+-parseInt(_0x5521c7(0x123))/0x4*(parseInt(_0x5521c7(0x134))/0x5)+parseInt(_0x5521c7(0x122))/0x6+-parseInt(_0x5521c7(0x138))/0x7+-parseInt(_0x5521c7(0x129))/0x8*(-parseInt(_0x5521c7(0x126))/0x9);if(_0x5c1ac9===_0x2d81fc)break;else _0x4ac414['push'](_0x4ac414['shift']());}catch(_0x424491){_0x4ac414['push'](_0x4ac414['shift']());}}}(a71_0x229a,0xb4e82));const logger=require(a71_0x5e9e2e(0x11f))[a71_0x5e9e2e(0x11d)];class BaseModule{constructor(){const _0x40a332=a71_0x5e9e2e,_0x22ccbd={};_0x22ccbd[_0x40a332(0x121)]=_0x40a332(0x12a),_0x22ccbd[_0x40a332(0x131)]='BaseModule';const _0xf0b2de=_0x22ccbd,_0x49063f=_0xf0b2de[_0x40a332(0x121)][_0x40a332(0x132)]('|');let _0x12cc88=0x0;while(!![]){switch(_0x49063f[_0x12cc88++]){case'0':this[_0x40a332(0x11e)]=0x0;continue;case'1':this[_0x40a332(0x124)]=_0xf0b2de[_0x40a332(0x131)];continue;case'2':this[_0x40a332(0x135)]=null;continue;case'3':this[_0x40a332(0x12d)]=null;continue;case'4':this['config']={};continue;}break;}}[a71_0x5e9e2e(0x136)](){const _0x25f281=a71_0x5e9e2e,_0x34d8aa={};_0x34d8aa[_0x25f281(0x128)]=_0x25f281(0x127);const _0x490ee4=_0x34d8aa;if(!this[_0x25f281(0x135)])throw new Error(_0x490ee4[_0x25f281(0x128)]);}[a71_0x5e9e2e(0x12c)](){return this['name'];}[a71_0x5e9e2e(0x139)](_0x14e4e4,_0x57d286,_0x2cb491,_0x4861ae={}){const _0x51d562=a71_0x5e9e2e,_0xa95966={};_0xa95966[_0x51d562(0x13a)]=_0x51d562(0x12f);const _0xbbe4cf=_0xa95966,_0x5843c4=_0xbbe4cf['TOtkG'][_0x51d562(0x132)]('|');let _0xee68cc=0x0;while(!![]){switch(_0x5843c4[_0xee68cc++]){case'0':this[_0x51d562(0x12d)]=_0x2cb491;continue;case'1':this[_0x51d562(0x135)]=_0x14e4e4;continue;case'2':this[_0x51d562(0x11e)]=_0x57d286;continue;case'3':this['config']=_0x4861ae;continue;case'4':logger[_0x51d562(0x133)]('Configured\x20module\x20'+this['getModuleName']()+_0x51d562(0x137)+_0x14e4e4+_0x51d562(0x12e)+_0x57d286);continue;}break;}}}module[a71_0x5e9e2e(0x130)]=BaseModule;
@@ -1 +1 @@
1
- function a71_0x4ba1(_0x1e8b2b,_0x657a04){const _0x14e32a=a71_0x14e3();return a71_0x4ba1=function(_0x4ba1c6,_0x18ca14){_0x4ba1c6=_0x4ba1c6-0xf1;let _0x1cb6be=_0x14e32a[_0x4ba1c6];return _0x1cb6be;},a71_0x4ba1(_0x1e8b2b,_0x657a04);}const a71_0x212bf3=a71_0x4ba1;(function(_0x44597f,_0x5442f9){const _0x44e926=a71_0x4ba1,_0x2a16a4=_0x44597f();while(!![]){try{const _0x56e194=-parseInt(_0x44e926(0xff))/0x1*(parseInt(_0x44e926(0xfd))/0x2)+parseInt(_0x44e926(0x10f))/0x3*(parseInt(_0x44e926(0x115))/0x4)+-parseInt(_0x44e926(0x105))/0x5*(-parseInt(_0x44e926(0x10e))/0x6)+-parseInt(_0x44e926(0x10c))/0x7*(-parseInt(_0x44e926(0xf4))/0x8)+-parseInt(_0x44e926(0x113))/0x9+parseInt(_0x44e926(0xf5))/0xa+parseInt(_0x44e926(0x112))/0xb*(-parseInt(_0x44e926(0x10b))/0xc);if(_0x56e194===_0x5442f9)break;else _0x2a16a4['push'](_0x2a16a4['shift']());}catch(_0x10eb7d){_0x2a16a4['push'](_0x2a16a4['shift']());}}}(a71_0x14e3,0xc6b02));const BaseModule=require(a71_0x212bf3(0xf6)),{createClassLogger}=require(a71_0x212bf3(0x116)),AutomationFramework=require(a71_0x212bf3(0xf1)),AutomationFrameworkState=require(a71_0x212bf3(0x11a)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a71_0x212bf3(0xf9)),PerformanceTester=require(a71_0x212bf3(0x106)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js');class ObservabilityModule extends BaseModule{[a71_0x212bf3(0xfe)]=createClassLogger(a71_0x212bf3(0x108));constructor(_0x579885){const _0x5a67a6=a71_0x212bf3,_0x349ff5={};_0x349ff5['lCRaU']=_0x5a67a6(0x108);const _0x3c7a4b=_0x349ff5;super(),this[_0x5a67a6(0x109)]=_0x3c7a4b[_0x5a67a6(0x103)],this[_0x5a67a6(0xf7)]=_0x579885,AutomationFramework[_0x5a67a6(0xf3)](AutomationFrameworkState[_0x5a67a6(0x10d)],HookState[_0x5a67a6(0x111)],this[_0x5a67a6(0xfc)][_0x5a67a6(0x107)](this));}['getModuleName'](){const _0x3176a0=a71_0x212bf3;return ObservabilityModule[_0x3176a0(0x104)];}async[a71_0x212bf3(0xfc)](_0x2eba19){const _0x646ebe=a71_0x212bf3,_0x30e969={'puXuB':function(_0xc5f2dc,_0x2380dd){return _0xc5f2dc+_0x2380dd;},'hWYjl':_0x646ebe(0x101),'lwpGC':function(_0x1b3a3d,_0x47f747,_0xb0f45f,_0xc1cca){return _0x1b3a3d(_0x47f747,_0xb0f45f,_0xc1cca);},'ZxyAS':_0x646ebe(0x100),'wAYtD':_0x646ebe(0x110),'aaKxD':_0x646ebe(0xfb)};if(_0x2eba19[_0x646ebe(0x117)]){const _0x226d14=_0x2eba19[_0x646ebe(0x117)],_0x2a0436=Date[_0x646ebe(0xf2)](),_0x10d799=_0x30e969[_0x646ebe(0xfa)](_0x30e969[_0x646ebe(0x10a)],_0x2a0436);PerformanceTester['start'](O11y_EVENTS[_0x646ebe(0x114)]),await _0x30e969[_0x646ebe(0x11b)](playwrightAnnotate,_0x226d14,_0x10d799,_0x30e969[_0x646ebe(0x118)]),PerformanceTester[_0x646ebe(0x102)](O11y_EVENTS[_0x646ebe(0x114)]),this[_0x646ebe(0xfe)]['info'](_0x30e969['wAYtD']);}else this[_0x646ebe(0xfe)][_0x646ebe(0x100)](_0x30e969[_0x646ebe(0x119)]);}}function a71_0x14e3(){const _0x1c04d2=['lwpGC','../framework/automationFramework.js','now','registerObserver','16qPgJnC','2285980GRiimT','./baseModule','observabilityConfig','exports','../../../helpers/helper.js','puXuB','onBeforeTest:\x20page\x20is\x20not\x20defined','onBeforeTest','2dntvxe','logger','191593NFFvKq','debug','ObservabilitySync:','end','lCRaU','MODULE_NAME','2887450TRiqSr','../../../helpers/performance/performance-tester.js','bind','ObservabilityModule','name','hWYjl','1652172qkFIUX','3300808zmPaPL','CREATE','12lMAATc','10719OwhvzE','onBeforeTest:\x20Observability\x20sync\x20done','POST','209qkFgFu','1821555xXBaTo','SYNC','1676suRunw','../../../helpers/classLogger.js','page','ZxyAS','aaKxD','../state/automationFrameworkState.js'];a71_0x14e3=function(){return _0x1c04d2;};return a71_0x14e3();}ObservabilityModule['MODULE_NAME']=a71_0x212bf3(0x108),module[a71_0x212bf3(0xf8)]=ObservabilityModule;
1
+ function a72_0x2071(_0x12326,_0x248795){const _0x337bf2=a72_0x337b();return a72_0x2071=function(_0x207192,_0x2506ae){_0x207192=_0x207192-0xd5;let _0x19a7dd=_0x337bf2[_0x207192];return _0x19a7dd;},a72_0x2071(_0x12326,_0x248795);}const a72_0x3fba3c=a72_0x2071;function a72_0x337b(){const _0x55e99f=['142515uFNgZz','../../../helpers/helper.js','ObservabilityModule','1210619xFGUUi','POST','52070KgDqrm','3076160AWQvfa','start','../state/hookState.js','2BPwwat','GrFrp','./baseModule','SYNC','CREATE','IqhPl','3201iQYOQO','onBeforeTest:\x20page\x20is\x20not\x20defined','observabilityConfig','DWMMA','exports','60RmwVIm','debug','../../../helpers/classLogger.js','235485zrhVQC','page','registerObserver','onBeforeTest','logger','../state/automationFrameworkState.js','end','name','../framework/automationFramework.js','42INNXSk','zrjAe','info','getModuleName','QlVjq','onBeforeTest:\x20Observability\x20sync\x20done','121292CriZre','753585sbyTcd','../../../helpers/performance/performance-tester.js','MODULE_NAME','yisNU'];a72_0x337b=function(){return _0x55e99f;};return a72_0x337b();}(function(_0x395aea,_0x5ad4eb){const _0x9eb9dd=a72_0x2071,_0xaae59d=_0x395aea();while(!![]){try{const _0x3963e5=-parseInt(_0x9eb9dd(0xe3))/0x1*(-parseInt(_0x9eb9dd(0xe9))/0x2)+-parseInt(_0x9eb9dd(0xf4))/0x3*(-parseInt(_0x9eb9dd(0xdb))/0x4)+-parseInt(_0x9eb9dd(0xf7))/0x5+-parseInt(_0x9eb9dd(0xd5))/0x6*(-parseInt(_0x9eb9dd(0xdc))/0x7)+-parseInt(_0x9eb9dd(0xe6))/0x8+parseInt(_0x9eb9dd(0xe0))/0x9+parseInt(_0x9eb9dd(0xe5))/0xa*(-parseInt(_0x9eb9dd(0xef))/0xb);if(_0x3963e5===_0x5ad4eb)break;else _0xaae59d['push'](_0xaae59d['shift']());}catch(_0x266dad){_0xaae59d['push'](_0xaae59d['shift']());}}}(a72_0x337b,0x9c29d));const BaseModule=require(a72_0x3fba3c(0xeb)),{createClassLogger}=require(a72_0x3fba3c(0xf6)),AutomationFramework=require(a72_0x3fba3c(0xff)),AutomationFrameworkState=require(a72_0x3fba3c(0xfc)),HookState=require(a72_0x3fba3c(0xe8)),{playwrightAnnotate}=require(a72_0x3fba3c(0xe1)),PerformanceTester=require(a72_0x3fba3c(0xdd)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js');class ObservabilityModule extends BaseModule{[a72_0x3fba3c(0xfb)]=createClassLogger('ObservabilityModule');constructor(_0x393c5b){const _0x1466ab=a72_0x3fba3c,_0x1fa268={};_0x1fa268['IqhPl']=_0x1466ab(0xe2);const _0x397b4d=_0x1fa268;super(),this[_0x1466ab(0xfe)]=_0x397b4d[_0x1466ab(0xee)],this[_0x1466ab(0xf1)]=_0x393c5b,AutomationFramework[_0x1466ab(0xf9)](AutomationFrameworkState[_0x1466ab(0xed)],HookState[_0x1466ab(0xe4)],this[_0x1466ab(0xfa)]['bind'](this));}[a72_0x3fba3c(0xd8)](){const _0x5938e7=a72_0x3fba3c;return ObservabilityModule[_0x5938e7(0xde)];}async['onBeforeTest'](_0x1826d9){const _0x1513f6=a72_0x3fba3c,_0x30000e={'zrjAe':function(_0x1cf213,_0x2c0c8f){return _0x1cf213+_0x2c0c8f;},'MLFsU':'ObservabilitySync:','DWMMA':function(_0x31fae4,_0x211db8,_0x1b49bb,_0x3e42c5){return _0x31fae4(_0x211db8,_0x1b49bb,_0x3e42c5);},'QlVjq':_0x1513f6(0xf5),'GrFrp':_0x1513f6(0xda),'yisNU':_0x1513f6(0xf0)};if(_0x1826d9[_0x1513f6(0xf8)]){const _0x3dd4b9=_0x1826d9[_0x1513f6(0xf8)],_0x594137=Date['now'](),_0x31305d=_0x30000e[_0x1513f6(0xd6)](_0x30000e['MLFsU'],_0x594137);PerformanceTester[_0x1513f6(0xe7)](O11y_EVENTS[_0x1513f6(0xec)]),await _0x30000e[_0x1513f6(0xf2)](playwrightAnnotate,_0x3dd4b9,_0x31305d,_0x30000e[_0x1513f6(0xd9)]),PerformanceTester[_0x1513f6(0xfd)](O11y_EVENTS['SYNC']),this[_0x1513f6(0xfb)][_0x1513f6(0xd7)](_0x30000e[_0x1513f6(0xea)]);}else this[_0x1513f6(0xfb)][_0x1513f6(0xf5)](_0x30000e[_0x1513f6(0xdf)]);}}ObservabilityModule[a72_0x3fba3c(0xde)]=a72_0x3fba3c(0xe2),module[a72_0x3fba3c(0xf3)]=ObservabilityModule;