browserstack-node-sdk 1.36.7 → 1.38.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 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -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_0x238b34=a63_0x49f7;function a63_0x49f7(_0x56f6a3,_0x2b89f2){const _0x1336e1=a63_0x1336();return a63_0x49f7=function(_0x49f70d,_0x5f20e7){_0x49f70d=_0x49f70d-0xbd;let _0x141580=_0x1336e1[_0x49f70d];return _0x141580;},a63_0x49f7(_0x56f6a3,_0x2b89f2);}(function(_0x31275c,_0x1cdd24){const _0x2aa222=a63_0x49f7,_0xbfcc34=_0x31275c();while(!![]){try{const _0x584f16=-parseInt(_0x2aa222(0x144))/0x1+parseInt(_0x2aa222(0x10a))/0x2+-parseInt(_0x2aa222(0x172))/0x3+-parseInt(_0x2aa222(0x11f))/0x4*(-parseInt(_0x2aa222(0x159))/0x5)+parseInt(_0x2aa222(0xf4))/0x6+parseInt(_0x2aa222(0x189))/0x7+-parseInt(_0x2aa222(0x18b))/0x8*(parseInt(_0x2aa222(0x131))/0x9);if(_0x584f16===_0x1cdd24)break;else _0xbfcc34['push'](_0xbfcc34['shift']());}catch(_0xaae0df){_0xbfcc34['push'](_0xbfcc34['shift']());}}}(a63_0x1336,0x66b5a));const TestFramework=require('./testFramework'),TestFrameworkState=require(a63_0x238b34(0xc7)),HookState=require(a63_0x238b34(0x100)),{createClassLogger}=require(a63_0x238b34(0x133)),TestFrameworkInstance=require(a63_0x238b34(0xd9)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a63_0x238b34(0x157)),TestFrameworkConstants=require(a63_0x238b34(0xf0)),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('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a63_0x238b34(0xef)),{removeAnsiColors,getFailureType,failureData}=require(a63_0x238b34(0x114)),{getFailureData,getTestTags}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a63_0x238b34(0xe2)),fs=require('fs'),helper=require(a63_0x238b34(0xf5)),{PLAYWRIGHT_TRACE_LOGS}=require(a63_0x238b34(0x179));class PlaywrightTestFramework extends TestFramework{constructor(_0x1b5ebf,_0x5e266a,_0x2abb0f){super(_0x1b5ebf,_0x5e266a,_0x2abb0f);}async[a63_0x238b34(0x14f)](_0xd232b0,_0x370d90,_0x41bdc7={}){const _0x19a626=a63_0x238b34,_0x30c478={};_0x30c478[_0x19a626(0x14d)]=function(_0x1ffbe0,_0x1f8997){return _0x1ffbe0===_0x1f8997;},_0x30c478[_0x19a626(0xff)]=function(_0xae32d0,_0x3d87b2){return _0xae32d0===_0x3d87b2;},_0x30c478['auftr']=_0x19a626(0xfd),_0x30c478[_0x19a626(0xc5)]=_0x19a626(0xd8);const _0x3f2175=_0x30c478;await super['trackEvent'](_0xd232b0,_0x370d90,_0x41bdc7);const _0x55a176=this[_0x19a626(0x160)](_0xd232b0,_0x370d90,_0x41bdc7);if(!_0x55a176)return;logger[_0x19a626(0x135)](_0x19a626(0x139)+_0xd232b0+_0x19a626(0x106)+_0x370d90+_0x19a626(0x16d)+_0x55a176['getRef']());try{if(_0x3f2175[_0x19a626(0x14d)](_0x370d90,HookState[_0x19a626(0x150)])&&_0x3f2175[_0x19a626(0x14d)](_0xd232b0,TestFrameworkState[_0x19a626(0x181)])){const _0x4652c9=_0x41bdc7[_0x19a626(0xfd)];logger[_0x19a626(0x135)](_0x19a626(0x11d)+_0x4652c9['id']+'}');const _0x3653fc=TestInfo[_0x19a626(0x186)](_0x4652c9['id']);_0x55a176['addMultipleEntries'](this[_0x19a626(0x15e)](_0x3653fc,_0x4652c9)),logger[_0x19a626(0x135)](_0x19a626(0x162)+_0x4652c9['id']+_0x19a626(0x118)+_0xd232b0+_0x19a626(0x141)+_0x370d90+_0x19a626(0x173)+_0x55a176[_0x19a626(0x11b)]());}if(_0x3f2175[_0x19a626(0xff)](_0x370d90,HookState[_0x19a626(0x12d)])&&_0x3f2175[_0x19a626(0x14d)](_0xd232b0,TestFrameworkState[_0x19a626(0x181)])){const _0x4ffbbe=_0x41bdc7[_0x19a626(0xfd)],_0x555906=_0x41bdc7[_0x19a626(0xed)];logger['debug'](_0x19a626(0xd5)+_0x4ffbbe['id']),_0x55a176['addMultipleEntries'](this[_0x19a626(0x129)](_0x4ffbbe['id'],_0x555906,_0x4ffbbe)),this['sendLogCreatedEvent'](_0x55a176,_0xd232b0,_0x370d90,_0x3f2175[_0x19a626(0x107)],_0x41bdc7);}if(CLIUtils['matchHookRegex'](_0xd232b0[_0x19a626(0xe5)]()[_0x19a626(0x117)]('.')[0x1])){const _0x436411=await this[_0x19a626(0xfb)](_0x55a176,_0xd232b0,_0x370d90,_0x41bdc7);_0x55a176[_0x19a626(0x134)](_0x436411);}}catch(_0x2f9b39){logger[_0x19a626(0x18a)](util[_0x19a626(0x12e)](_0x3f2175[_0x19a626(0xc5)],_0xd232b0,_0x370d90,_0x41bdc7[_0x19a626(0xd7)],_0x2f9b39));}_0x41bdc7[_0x19a626(0xcd)]=_0x55a176,await this[_0x19a626(0x16e)](_0x55a176,_0xd232b0,_0x370d90,_0x41bdc7);}[a63_0x238b34(0x160)](_0x1200a3,_0x5d73b9,_0x370452={}){const _0x101bca=a63_0x238b34,_0xe1389f={};_0xe1389f[_0x101bca(0x149)]=function(_0x434dcf,_0x1dddca){return _0x434dcf===_0x1dddca;},_0xe1389f[_0x101bca(0xc2)]=function(_0x5f48ff,_0x5edbed){return _0x5f48ff===_0x5edbed;};const _0x13dd7b=_0xe1389f;let _0x4c907f=null;return(_0x13dd7b[_0x101bca(0x149)](_0x1200a3,TestFrameworkState[_0x101bca(0x138)])||_0x13dd7b[_0x101bca(0xc2)](_0x1200a3,TestFrameworkState[_0x101bca(0x14e)]))&&this[_0x101bca(0x11c)](_0x1200a3,_0x370452),_0x4c907f=TestFramework[_0x101bca(0xc1)](),_0x4c907f;}[a63_0x238b34(0x11c)](_0x4b9503,_0x36b6c0){const _0xc84b4=a63_0x238b34,_0x5779ee=CLIUtils[_0xc84b4(0xdc)](),_0x328970=TrackedInstance[_0xc84b4(0x184)](_0x5779ee);let _0x4dc35b=null;logger[_0xc84b4(0x188)](_0xc84b4(0xcc)+_0x5779ee+_0xc84b4(0x15c)+_0x4b9503),_0x4dc35b=new TestFrameworkInstance(_0x328970,this['getTestFrameworks'](),this[_0xc84b4(0xc4)](),_0x4b9503,HookState[_0xc84b4(0x14e)]),TestFramework[_0xc84b4(0x18c)](_0x328970,_0x4dc35b),logger[_0xc84b4(0x188)](_0xc84b4(0xdb)+_0x328970[_0xc84b4(0xce)]()+_0xc84b4(0x11a)+_0x5779ee);}[a63_0x238b34(0x15e)](_0x197309,_0x450dbf){const _0x25f149=a63_0x238b34,_0x5efdae={'ObMpD':function(_0x41f0ca,_0x3bb221){return _0x41f0ca(_0x3bb221);},'jnXkV':function(_0x29254f,_0x322139){return _0x29254f(_0x322139);},'IDmmH':function(_0x18f385,_0xfbc87e){return _0x18f385(_0xfbc87e);},'QRmxz':function(_0x183af7,_0x355b6b){return _0x183af7(_0x355b6b);}},_0x63b917=_0x5efdae[_0x25f149(0x17b)](getPlaywrightTestId,_0x450dbf),_0x30065a=_0x5efdae['ObMpD'](getPlaywrightTestTitle,_0x450dbf),_0x2e986a=_0x5efdae['jnXkV'](getTestTags,_0x450dbf),_0x5ef536=_0x5efdae['IDmmH'](getPlaywrightTestCode,_0x450dbf),_0x3fdc07=_0x5efdae['ObMpD'](getPlaywrightTestFilePath,_0x450dbf),_0x497315=_0x3fdc07+':'+_0x5efdae[_0x25f149(0xe7)](getPlaywrightTestLocation,_0x450dbf),_0x5b815b=_0x5efdae[_0x25f149(0xe7)](getPlaywrightTestScope,_0x450dbf),_0x26672d=_0x5efdae[_0x25f149(0xf9)](getPlaywrightTestScopes,_0x450dbf),_0x4dd7d9=_0x5efdae[_0x25f149(0xf9)](getPlaywrightSessionName,_0x450dbf),_0x82bda9=this[_0x25f149(0xc6)]()[0x0],_0x59affe={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x82bda9,[TestFrameworkConstants[_0x25f149(0x111)]]:this[_0x25f149(0xc4)]()[_0x82bda9],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x25f149(0xea)]]:{},[TestFrameworkConstants[_0x25f149(0x12b)]]:{},[TestFrameworkConstants[_0x25f149(0x17c)]]:_0x197309,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x25f149(0xc3)],[TestFrameworkConstants[_0x25f149(0x128)]]:_0x4dd7d9,[TestFrameworkConstants[_0x25f149(0x10f)]]:_0x3fdc07,[TestFrameworkConstants[_0x25f149(0x126)]]:_0x63b917,[TestFrameworkConstants[_0x25f149(0x161)]]:_0x30065a,[TestFrameworkConstants[_0x25f149(0x169)]]:_0x497315,[TestFrameworkConstants[_0x25f149(0x17a)]]:_0x5ef536,[TestFrameworkConstants[_0x25f149(0x185)]]:_0x2e986a,[TestFrameworkConstants[_0x25f149(0x156)]]:_0x450dbf[_0x25f149(0x116)][0x0]['startTime'],[TestFrameworkConstants[_0x25f149(0x112)]]:_0x5b815b,[TestFrameworkConstants[_0x25f149(0x155)]]:_0x26672d,[TestFrameworkConstants[_0x25f149(0xbe)]]:_0x5efdae[_0x25f149(0xf9)](getPlaywrightCustomRerunParam,_0x450dbf)};TestInfo[_0x25f149(0xe9)](_0x450dbf['id'],_0x59affe);const _0x4a1330={};return _0x4a1330[_0x63b917]=_0x59affe,_0x4a1330;}[a63_0x238b34(0x129)](_0x1d9cbe,_0x586e62,_0x292d83){const _0x1603e4=a63_0x238b34,_0xdb8f62={'hTYsD':function(_0x3c32b7,_0x3822aa){return _0x3c32b7(_0x3822aa);},'mRNdf':_0x1603e4(0xd0),'ynaeg':function(_0x30fb2e,_0x5e3127){return _0x30fb2e===_0x5e3127;},'EKIaN':function(_0x988e22,_0x10f0ef){return _0x988e22===_0x10f0ef;},'GzKFU':function(_0x5df3c3,_0xf3ed43){return _0x5df3c3===_0xf3ed43;},'EIcjY':function(_0x24d016,_0x259d88){return _0x24d016(_0x259d88);},'odYMI':'No\x20reason\x20provided','qnpNF':_0x1603e4(0xf7),'nyGYe':function(_0x3cbbb9,_0x9187da){return _0x3cbbb9(_0x9187da);},'gNyaA':function(_0x3fcbae,_0x575bf9){return _0x3fcbae+_0x575bf9;},'TcsZn':_0x1603e4(0x103),'SxMbH':_0x1603e4(0x13b),'EFIkA':function(_0x3f338f,_0x2d5dd4){return _0x3f338f===_0x2d5dd4;},'LsMOq':'failed','nAJVi':function(_0x38c369,_0x55d453){return _0x38c369===_0x55d453;},'XsXzx':_0x1603e4(0x180),'FtVIA':function(_0x11a3c4,_0x372640){return _0x11a3c4===_0x372640;},'Vklnf':function(_0x127fcb,_0x3ab5fc){return _0x127fcb===_0x3ab5fc;},'JEXpv':'Expected\x20to\x20fail,\x20but\x20passed.','jQYMn':function(_0x345509,_0x457a90,_0x53bffc){return _0x345509(_0x457a90,_0x53bffc);},'dDfcm':function(_0x4c2fe5,_0x23b175){return _0x4c2fe5||_0x23b175;},'wBPAU':function(_0xfeb3a6,_0x3b15fc){return _0xfeb3a6(_0x3b15fc);},'dVqfK':function(_0x364485,_0x40af4d){return _0x364485(_0x40af4d);},'lJTzr':function(_0x20eaf2,_0x29e76a,_0x58403d){return _0x20eaf2(_0x29e76a,_0x58403d);},'Opvyz':_0x1603e4(0xe2),'uVdlU':function(_0x27f5aa,_0x30a8c3){return _0x27f5aa>_0x30a8c3;}};logger[_0x1603e4(0x135)](_0x1603e4(0xde)+_0x1d9cbe);const _0x86b7b=new Date(_0x586e62[_0x1603e4(0xe4)]),_0x3e261e=_0x586e62['duration'],_0x1a535a=new Date(_0xdb8f62[_0x1603e4(0x13e)](_0x86b7b[_0x1603e4(0xd6)](),_0x3e261e)),_0x57ed83=_0x586e62[_0x1603e4(0x13a)],_0x136b44=TestInfo[_0x1603e4(0x16b)](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0xf6)]]||{};let _0x2b9158=_0x57ed83;if(_0xdb8f62[_0x1603e4(0xd3)](_0x586e62[_0x1603e4(0x13a)],_0x292d83[_0x1603e4(0x102)]))_0x2b9158=_0xdb8f62[_0x1603e4(0x142)](_0x586e62[_0x1603e4(0x13a)],_0xdb8f62['TcsZn'])?_0xdb8f62[_0x1603e4(0x105)]:_0xdb8f62['SxMbH'];else{(_0xdb8f62['EFIkA'](_0x2b9158,_0xdb8f62[_0x1603e4(0x136)])||_0xdb8f62['EKIaN'](_0x2b9158,_0xdb8f62[_0x1603e4(0xd1)])||_0xdb8f62[_0x1603e4(0x130)](_0x2b9158,_0xdb8f62[_0x1603e4(0xd2)]))&&(_0x2b9158=_0xdb8f62[_0x1603e4(0xd1)]);if(_0xdb8f62[_0x1603e4(0xbd)](_0x586e62[_0x1603e4(0x13a)],_0xdb8f62[_0x1603e4(0x136)])&&_0xdb8f62[_0x1603e4(0xf8)](_0x292d83['expectedStatus'],_0xdb8f62[_0x1603e4(0xd1)])){const _0x133513={};_0x133513[_0x1603e4(0x168)]=_0xdb8f62[_0x1603e4(0xee)],_0x133513[_0x1603e4(0x12c)]=_0xdb8f62[_0x1603e4(0xee)],_0x586e62[_0x1603e4(0x18a)]=_0x133513,_0x586e62[_0x1603e4(0x124)]=[_0x586e62[_0x1603e4(0x18a)]];}}const {failureData:_0x3a99f9,logs:_0x5bdca5}=_0xdb8f62['jQYMn'](getFailureData,_0x586e62?.[_0x1603e4(0x124)],{}),_0x397d52={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0xdb8f62[_0x1603e4(0x12a)](_0x3a99f9,null),[TestFrameworkConstants[_0x1603e4(0xec)]]:_0x586e62?.[_0x1603e4(0x18a)]&&_0xdb8f62[_0x1603e4(0x113)](getFailureType,_0x586e62[_0x1603e4(0x18a)][_0x1603e4(0x168)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x586e62?.[_0x1603e4(0x18a)]&&_0xdb8f62[_0x1603e4(0x109)](removeAnsiColors,_0x586e62[_0x1603e4(0x18a)]['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x1603e4(0xe1)]]:_0x2b9158,[TestFrameworkConstants[_0x1603e4(0x177)]]:_0x1a535a[_0x1603e4(0xda)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1603e4(0xf6)]]:_0x136b44},_0x414523={};_0x414523[_0x1603e4(0xfd)]=_0x292d83;const _0x1ce133=this[_0x1603e4(0x160)](TestFrameworkState[_0x1603e4(0x181)],HookState[_0x1603e4(0x12d)],_0x414523),_0x240318=_0x1ce133[_0x1603e4(0x170)]()[_0x1603e4(0x120)](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0x17c)]],_0x2acaf7=[],_0x40def4=_0xdb8f62[_0x1603e4(0x163)](findNestedKey,_0x586e62,_0xdb8f62[_0x1603e4(0x174)]);if(_0x40def4&&_0xdb8f62[_0x1603e4(0x109)](validateFilePath,_0x40def4))try{_0x2acaf7[_0x1603e4(0xcf)]({'kind':_0xdb8f62[_0x1603e4(0xf2)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x240318,'file_name':path[_0x1603e4(0x13c)](_0x40def4),'file_size':fs[_0x1603e4(0x14b)](_0x40def4)[_0x1603e4(0xfa)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xc5cd7e){logger[_0x1603e4(0x18a)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x40def4+':\x20'+_0xc5cd7e[_0x1603e4(0x168)]);}const _0x5cdeab=TestInfo[_0x1603e4(0x175)](),_0x191ec4=_0x5cdeab[_0x1603e4(0x140)](_0x1ee3c2=>_0x1ee3c2[_0x1603e4(0xf3)]===_0x240318);_0x191ec4['forEach'](_0x4bcd91=>{const _0xa7c4ba=_0x1603e4;if(_0x4bcd91[_0xa7c4ba(0x15f)]&&_0xdb8f62['hTYsD'](validateFilePath,_0x4bcd91['filePath'])&&!_0x2acaf7[_0xa7c4ba(0xfc)](_0x5225bb=>_0x5225bb[_0xa7c4ba(0x151)]===path[_0xa7c4ba(0x13c)](_0x4bcd91[_0xa7c4ba(0x15f)])))try{_0x2acaf7[_0xa7c4ba(0xcf)]({'kind':_0xdb8f62['mRNdf'],'timestamp':new Date()[_0xa7c4ba(0xda)](),'test_run_uuid':_0x240318,'file_name':path[_0xa7c4ba(0x13c)](_0x4bcd91[_0xa7c4ba(0x15f)]),'file_size':fs[_0xa7c4ba(0x14b)](_0x4bcd91['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2b3f67){logger[_0xa7c4ba(0x18a)](_0xa7c4ba(0x14a)+_0x4bcd91[_0xa7c4ba(0x15f)]+_0xa7c4ba(0xe8)+_0x2b3f67[_0xa7c4ba(0x168)]);}});if(_0xdb8f62['uVdlU'](_0x2acaf7[_0x1603e4(0xd7)],0x0)){const _0x1352fe=_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]||[];_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]=[..._0x1352fe,..._0x2acaf7];}const _0x4bdbb5=TestInfo['getTestDetails'](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0x115)]]||{},_0x4a2e10=_0xdb8f62[_0x1603e4(0x163)](getManualUploadLogs,_0x4bdbb5,_0x1ce133[_0x1603e4(0x170)]()['get'](_0x1d9cbe)[TestFrameworkConstants[_0x1603e4(0x17c)]]);if(_0xdb8f62[_0x1603e4(0x16c)](_0x4a2e10[_0x1603e4(0xd7)],0x0)){const _0x482566=_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]||[];_0x397d52[TestFrameworkConstants[_0x1603e4(0x12f)]]=[..._0x482566,..._0x4a2e10];}const _0x3f0a20=_0x292d83[_0x1603e4(0x108)]||[],_0x21c86a=_0x397d52[TestFrameworkConstants[_0x1603e4(0xf6)]]||{};_0x3f0a20[_0x1603e4(0x101)](_0x45b410=>{const _0x283f68=_0x1603e4,{type:_0x5c16f3}=_0x45b410;let _0x20c160=_0x45b410[_0x283f68(0x17e)];if(!_0x5c16f3)return;(_0xdb8f62[_0x283f68(0xd3)](_0x20c160,undefined)||_0xdb8f62['EKIaN'](_0x20c160,null)||_0xdb8f62[_0x283f68(0x142)](_0xdb8f62[_0x283f68(0x119)](String,_0x20c160)['trim'](),''))&&(_0x20c160=_0xdb8f62['odYMI']);if(!_0x21c86a[_0x5c16f3]){const _0x2c1ed6={};_0x2c1ed6[_0x283f68(0x17f)]=_0xdb8f62['qnpNF'],_0x2c1ed6[_0x283f68(0x17d)]=[],_0x21c86a[_0x5c16f3]=_0x2c1ed6;}else!_0x21c86a[_0x5c16f3][_0x283f68(0x17f)]&&(_0x21c86a[_0x5c16f3][_0x283f68(0x17f)]=_0xdb8f62[_0x283f68(0x178)]),!Array['isArray'](_0x21c86a[_0x5c16f3][_0x283f68(0x17d)])&&(_0x21c86a[_0x5c16f3]['values']=[]);const _0x17b6fd=_0xdb8f62[_0x283f68(0x123)](String,_0x20c160)[_0x283f68(0x117)](',')[_0x283f68(0xf1)](_0x5633b8=>_0x5633b8[_0x283f68(0x16f)]());_0x21c86a[_0x5c16f3][_0x283f68(0x17d)]=[...new Set([..._0x21c86a[_0x5c16f3][_0x283f68(0x17d)],..._0x17b6fd])];}),_0x397d52[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x21c86a,TestInfo[_0x1603e4(0xe9)](_0x1d9cbe,_0x397d52);const _0x57ebfb={};return _0x57ebfb[_0x1d9cbe]=_0x397d52,_0x57ebfb;}async[a63_0x238b34(0xfb)](_0x1bea36,_0x361baa,_0x383d06,_0x2bfcfe){const _0x12c7c1=a63_0x238b34,_0x721097={'aMKKY':function(_0x401675,_0x58816b){return _0x401675 in _0x58816b;},'zotDM':function(_0x22954b,_0x2555c7){return _0x22954b in _0x2555c7;},'CkIIO':function(_0x337a78,_0x32ae93){return _0x337a78(_0x32ae93);},'NVMYs':function(_0x3936c8,_0x379f15){return _0x3936c8(_0x379f15);},'wXzJG':function(_0x129015,_0x1bc879){return _0x129015===_0x1bc879;},'jKYMf':function(_0x1b58bc){return _0x1b58bc();},'XwDUT':function(_0x54bc43,_0x4664bc){return _0x54bc43>_0x4664bc;},'bdZVO':function(_0x232023,_0x48968a,_0x56601b){return _0x232023(_0x48968a,_0x56601b);},'UOWqq':_0x12c7c1(0x10c),'tRwXJ':_0x12c7c1(0xe0),'HkCqq':_0x12c7c1(0x13b),'vTIlC':function(_0x3aae76,_0x354837){return _0x3aae76!==_0x354837;},'hPvDr':function(_0x51513b,_0x5d103e){return _0x51513b+_0x5d103e;},'wYfyg':_0x12c7c1(0xc8)},_0x187ddb=_0x2bfcfe[_0x12c7c1(0xfd)],_0x553f91=_0x2bfcfe[_0x12c7c1(0x153)],_0x407c5f=_0x2bfcfe[_0x12c7c1(0xfd)]['id'],_0x30a3d6=_0x361baa[_0x12c7c1(0xe5)]()[_0x12c7c1(0x117)]('.')[0x1];let _0x4aa925=_0x1bea36[_0x12c7c1(0x170)]()['get'](_0x407c5f)[TestFrameworkConstants[_0x12c7c1(0x12b)]];!_0x4aa925&&(_0x4aa925={});!_0x721097[_0x12c7c1(0x10b)](_0x30a3d6,_0x4aa925)&&(_0x4aa925[_0x30a3d6]=[]);let _0x5cd014=_0x1bea36[_0x12c7c1(0x170)]()[_0x12c7c1(0x120)](_0x407c5f)[TestFrameworkConstants[_0x12c7c1(0xea)]];!_0x5cd014&&(_0x5cd014={});!_0x721097[_0x12c7c1(0x158)](_0x30a3d6,_0x5cd014)&&(_0x5cd014[_0x30a3d6]=[]);const _0x57b856={[TestFrameworkConstants[_0x12c7c1(0x12b)]]:_0x4aa925,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5cd014},_0x5e1410={};_0x5e1410[_0x407c5f]=_0x57b856;const _0x2cdafc=_0x5e1410,_0x3e4838=_0x721097['CkIIO'](getPlaywrightTestFilePath,_0x187ddb),_0x550bea=_0x3e4838+':'+_0x721097[_0x12c7c1(0xcb)](getPlaywrightTestLocation,_0x187ddb),_0x553157=TestInfo[_0x12c7c1(0x16b)](_0x407c5f)[TestFrameworkConstants[_0x12c7c1(0xf6)]]||{};if(_0x721097[_0x12c7c1(0x145)](_0x383d06,HookState[_0x12c7c1(0x150)])){const _0xee637c={'key':_0x30a3d6,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x721097[_0x12c7c1(0x13f)](uuidv4),[TestFrameworkConstants[_0x12c7c1(0x183)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x12c7c1(0x15a)]]:_0x553f91['startTime'],[TestFrameworkConstants[_0x12c7c1(0xc0)]]:[],[TestFrameworkConstants[_0x12c7c1(0xca)]]:_0x553f91[_0x12c7c1(0x15d)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3e4838,[TestFrameworkConstants[_0x12c7c1(0x169)]]:_0x550bea,[TestFrameworkConstants[_0x12c7c1(0xf6)]]:_0x553157};_0x4aa925[_0x30a3d6][_0x12c7c1(0xcf)](_0xee637c),_0x2cdafc[_0x407c5f][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x30a3d6,logger['debug'](_0x12c7c1(0xd4)+_0x30a3d6+_0x12c7c1(0xdf)+_0xee637c+_0x12c7c1(0x110)+_0x2bfcfe);}else{if(_0x721097[_0x12c7c1(0x145)](_0x383d06,HookState['POST'])){const _0x4756de=await _0x2bfcfe[_0x12c7c1(0xed)],_0x36c797=_0x4aa925[_0x30a3d6]||[],_0x3d1631=_0x2bfcfe[_0x12c7c1(0x153)];logger[_0x12c7c1(0x135)](_0x12c7c1(0x182)+_0x36c797+_0x12c7c1(0x125)+_0x2bfcfe);if(_0x721097[_0x12c7c1(0xbf)](_0x36c797['length'],0x0)){const _0x47f240=_0x36c797[_0x12c7c1(0x137)]();if(_0x3d1631[_0x12c7c1(0x18a)]){const _0x4f43b8=_0x721097['bdZVO'](failureData,_0x3d1631[_0x12c7c1(0x18a)],_0x721097[_0x12c7c1(0xfe)]);_0x47f240[TestFrameworkConstants[_0x12c7c1(0x165)]]=_0x721097[_0x12c7c1(0xcb)](getFailureType,_0x3d1631?.['error']['message']),_0x47f240[TestFrameworkConstants[_0x12c7c1(0xdd)]]=_0x721097[_0x12c7c1(0xcb)](removeAnsiColors,_0x3d1631?.[_0x12c7c1(0x18a)]['message']),_0x47f240[TestFrameworkConstants[_0x12c7c1(0x183)]]=_0x721097[_0x12c7c1(0x104)],_0x47f240[TestFrameworkConstants[_0x12c7c1(0x187)]]=_0x4f43b8;}else _0x47f240[TestFrameworkConstants[_0x12c7c1(0x183)]]=_0x721097[_0x12c7c1(0x164)];_0x721097[_0x12c7c1(0x148)](_0x4756de,TestFrameworkConstants[_0x12c7c1(0x13d)])&&(_0x47f240[TestFrameworkConstants[_0x12c7c1(0x183)]]=!_0x3d1631[_0x12c7c1(0x18a)]?_0x721097[_0x12c7c1(0x164)]:_0x721097[_0x12c7c1(0x104)]);const _0xcafd4a=new Date(_0x3d1631[_0x12c7c1(0xe4)]),_0x4cc1f9=new Date(_0x721097[_0x12c7c1(0x122)](_0xcafd4a[_0x12c7c1(0xd6)](),_0x3d1631[_0x12c7c1(0x15b)]));_0x47f240[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x4cc1f9[_0x12c7c1(0xda)](),_0x47f240[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x553157;const _0x26db95=_0x47f240[TestFrameworkConstants[_0x12c7c1(0x14c)]];await this['sendLogCreatedEvent'](_0x1bea36,_0x361baa,_0x26db95,_0x721097[_0x12c7c1(0x146)],_0x2bfcfe),!_0x5cd014[_0x30a3d6]&&(_0x5cd014[_0x30a3d6]=[]),_0x5cd014[_0x30a3d6][_0x12c7c1(0xcf)](_0x47f240),_0x2cdafc[_0x407c5f][TestFrameworkConstants[_0x12c7c1(0x167)]]=_0x30a3d6;}}}return _0x2cdafc;}async[a63_0x238b34(0x147)](_0x429c7e,_0x2a71cc,_0x49d24c,_0x59ad9e,_0x2469bf){const _0x333edf=a63_0x238b34,_0x31f38f={'mmlXI':function(_0x46b576,_0x3f22ba){return _0x46b576===_0x3f22ba;},'kTXKJ':_0x333edf(0xfd),'xWXXE':function(_0x5a382a,_0x3a32eb,_0x2ee05d){return _0x5a382a(_0x3a32eb,_0x2ee05d);},'sJDzX':function(_0xd200fd,_0x5965cb,_0x5ee4d0,_0x35a873){return _0xd200fd(_0x5965cb,_0x5ee4d0,_0x35a873);},'UunZn':function(_0x2f724c,_0x3383ff,_0x31a3d6){return _0x2f724c(_0x3383ff,_0x31a3d6);},'Rxbaa':function(_0x4a4593,_0x732c78,_0x27b0b9){return _0x4a4593(_0x732c78,_0x27b0b9);},'jHaLw':function(_0x2e6740,_0x28daa8,_0x5d809d,_0x18114d,_0x11cc87){return _0x2e6740(_0x28daa8,_0x5d809d,_0x18114d,_0x11cc87);},'ephnU':function(_0x5627c9,_0x16e03b,_0x2a79dc,_0xcc9b27){return _0x5627c9(_0x16e03b,_0x2a79dc,_0xcc9b27);},'BnWhF':'hook'};try{if(_0x31f38f[_0x333edf(0x166)](_0x59ad9e,_0x31f38f['kTXKJ'])){const _0x435cc0=await _0x2469bf[_0x333edf(0xed)],_0x4f811d=_0x2469bf[_0x333edf(0xfd)]['id'],_0x575a95=_0x2469bf[_0x333edf(0xfd)];logger[_0x333edf(0x135)](_0x333edf(0xc9)+_0x4f811d);const _0x5d6139=_0x429c7e['getAllData']()['get'](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]];await _0x31f38f[_0x333edf(0x16a)](sendTraceZip,_0x435cc0,_0x5d6139);const {steps:_0x479a2f,logs:_0x5e96de}=_0x31f38f[_0x333edf(0x132)](getStepsAndLogs,_0x435cc0[_0x333edf(0x176)],_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]],_0x31f38f[_0x333edf(0x154)]),_0x34a4f3=_0x31f38f[_0x333edf(0x16a)](getScreenshots,_0x435cc0,_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]]),{_:_0x58e47a,logs:_0x1041f1}=_0x31f38f[_0x333edf(0x152)](getFailureData,_0x435cc0[_0x333edf(0x124)],{'test_run_uuid':_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x17c)]]}),_0x570844=TestInfo[_0x333edf(0x16b)](_0x4f811d)[TestFrameworkConstants[_0x333edf(0x115)]]||{},_0x4f935c=_0x31f38f['Rxbaa'](getMediaArtifactsLogs,_0x570844,_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x253866=_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x4f811d),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x8d2deb='',[TestFrameworkConstants[_0x333edf(0x111)]]:_0x37cf56=''}=_0x253866,_0x10ad18={'platformIndex':'0','logs':[..._0x5e96de||[],..._0x34a4f3||[],..._0x1041f1||[],..._0x4f935c||[]],'testFrameworkName':_0x8d2deb,'testFrameworkVersion':_0x37cf56,'testFrameworkState':_0x2a71cc[_0x333edf(0xe5)]()[_0x333edf(0x117)]('.')[0x1]};_0x31f38f[_0x333edf(0x10d)](updatePayloadForTraceLogs,_0x10ad18,_0x2469bf,_0x4f811d,_0x429c7e),logger[_0x333edf(0x135)](_0x333edf(0xeb)+_0x4f811d+_0x333edf(0xe6)+util[_0x333edf(0x143)](_0x10ad18));const _0x1a8810=await GrpcClient[_0x333edf(0xe3)]()[_0x333edf(0x10e)](_0x10ad18);}else{const {steps:_0x2f1ab0,logs:_0x3554e0}=_0x31f38f[_0x333edf(0x121)](getStepsAndLogs,_0x2469bf['step'][_0x333edf(0x176)],_0x49d24c,_0x31f38f[_0x333edf(0x171)]),_0x1f9921=_0x2469bf['test']['id'];logger[_0x333edf(0x135)](_0x333edf(0xc9)+_0x1f9921);const _0x341e06=_0x429c7e[_0x333edf(0x170)]()[_0x333edf(0x120)](_0x1f9921),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x19f11b='',[TestFrameworkConstants[_0x333edf(0x111)]]:_0x4ad636=''}=_0x341e06,_0x5d1093={'platformIndex':'0','logs':_0x3554e0,'testFrameworkName':_0x19f11b,'testFrameworkVersion':_0x4ad636,'testFrameworkState':_0x2a71cc[_0x333edf(0xe5)]()[_0x333edf(0x117)]('.')[0x1]};_0x31f38f[_0x333edf(0x10d)](updatePayloadForTraceLogs,_0x5d1093,_0x2469bf,_0x1f9921,_0x429c7e),logger[_0x333edf(0x135)](_0x333edf(0xeb)+_0x1f9921+_0x333edf(0xe6)+util[_0x333edf(0x143)](_0x5d1093));const _0x1261c6=await GrpcClient['getInstance']()['logCreatedEvent'](_0x5d1093);}}catch(_0x25e6b7){logger[_0x333edf(0x18a)](_0x333edf(0x11e)+util[_0x333edf(0x12e)](_0x25e6b7));}}}module[a63_0x238b34(0x127)]=PlaywrightTestFramework;function a63_0x1336(){const _0x508490=['trackEvent:\x20found\x20instance,\x20testFrameworkState=','status','passed','basename','DEFAULT_HOOK_RESULT','gNyaA','jKYMf','filter','\x20testHookState=','GzKFU','inspect','579628AjqBAo','wXzJG','wYfyg','sendLogCreatedEvent','vTIlC','RqDas','Error\x20processing\x20trace\x20file\x20','statSync','KEY_HOOK_ID','OCghb','NONE','trackEvent','PRE','file_name','UunZn','step','kTXKJ','KEY_TEST_SCOPES','KEY_TEST_STARTED_AT','../instances/trackedInstance.js','zotDM','5WbvxWG','KEY_EVENT_STARTED_AT','duration',',\x20state=','title','parsePlaywrightTest','filePath','resolveInstance','KEY_TEST_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','lJTzr','HkCqq','KEY_HOOK_FAILURE_TYPE','mmlXI','KEY_HOOK_LAST_FINISHED','message','KEY_TEST_LOCATION','xWXXE','getTestDetails','uVdlU','\x20instanceId=','runHooks','trim','getAllData','BnWhF','143724MkxJln','\x20instance=','Opvyz','getTraceFilePaths','steps','KEY_TEST_ENDED_AT','qnpNF','../../utils/constants','KEY_TEST_CODE','ObMpD','KEY_TEST_UUID','values','description','field_type','timedOut','TEST','Hook\x20List\x20in\x20Post\x20','KEY_HOOK_RESULT','createContext','KEY_TEST_TAGS','getTestUUID','KEY_HOOK_FAILURE','info','5486411CTHmvV','error','4534416iugOxZ','setTrackedInstance','FtVIA','KEY_TEST_RERUN_NAME','XwDUT','KEY_HOOK_LOGS','getTrackedInstance','bEsdx','DEFAULT_TEST_RESULT','getTestFrameworksVersions','dxUEV','getTestFrameworks','../state/testFrameworkState.js','hook','sendLogCreatedEvent:\x20testId=','KEY_HOOK_NAME','NVMYs','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','instance','getId','push','TEST_ATTACHMENT','LsMOq','XsXzx','ynaeg','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','getTime','length','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../instances/testFrameworkInstance.js','toISOString','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getCurrentInstanceName','KEY_HOOK_FAILURE_REASON','parsePlaywrightTestResult:\x20testId=','\x20&\x20hook\x20=\x20','failed','KEY_TEST_RESULT','path','getInstance','startTime','toString','\x20payload=','jnXkV','\x20from\x20TestDetails:\x20','setTestDetails','KEY_HOOKS_FINISHED','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','result','JEXpv','../grpcClient','./constants/testFrameworkConstants.js','map','mRNdf','testUId','2101416eoQrJp','../../../../src/helpers/helper','KEY_CUSTOM_TAGS','multi_dropdown','Vklnf','QRmxz','size','trackHookEvent','some','test','UOWqq','DDFxu','../state/hookState.js','forEach','expectedStatus','skipped','tRwXJ','TcsZn','\x20hookState=','auftr','annotations','dVqfK','422262hAeQMD','aMKKY','err','jHaLw','logCreatedEvent','KEY_TEST_FILE_PATH','\x20\x20and\x20args\x20=\x20','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPE','wBPAU','../../../helpers/test-observability/utils','KEY_TEST_ATTACHMENTS','results','split',',\x20testFrameworkState=','EIcjY','\x20target=','getRef','trackPlaywrightInstance','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','Error\x20in\x20sendLogCreatedEvent:\x20','3346792YwyzAN','get','ephnU','hPvDr','nyGYe','errors','\x20and\x20args\x20=\x20','KEY_TEST_ID','exports','KEY_AUTOMATE_SESSION_NAME','parsePlaywrightTestResult','dDfcm','KEY_HOOKS_STARTED','stack','POST','format','KEY_LOGS','nAJVi','18qXpQPP','sJDzX','../../../helpers/classLogger.js','addMultipleEntries','debug','SxMbH','pop','INIT_TEST'];a63_0x1336=function(){return _0x508490;};return a63_0x1336();}
@@ -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_0x2aadda=a64_0x48b7;function a64_0xf48c(){const _0x261a66=['runHooks','createContext','../../../helpers/classLogger','set','getTestFrameworks','../cliUtils','testFrameworkVersions','debug','hasState','5512344DTHsyZ','getTestFrameworksVersions','getState','../eventDispatcher','notifyObserver','testFrameworks','5461725XXcTYI','2XWvVyn','439268rWOUso','instances','535454hFYvUh','9434248ZkFJfL',';\x20hookState=','binSessionId','registerObserver','setTrackedInstance','getHookRegistryKey','trackEvent:\x20testFrameworkState=','getAllData','../state/testFrameworkState','562079zWAXOl','../state/hookState','getId','2507415LKRDgv','../instances/trackedInstance','setCurrentTestState','setCurrentHookState','../instances/testFrameworkInstance','getTrackedInstance','has','setState','get'];a64_0xf48c=function(){return _0x261a66;};return a64_0xf48c();}function a64_0x48b7(_0xff0604,_0x235222){const _0xf48c22=a64_0xf48c();return a64_0x48b7=function(_0x48b7fe,_0x2cf446){_0x48b7fe=_0x48b7fe-0x12b;let _0x14dade=_0xf48c22[_0x48b7fe];return _0x14dade;},a64_0x48b7(_0xff0604,_0x235222);}(function(_0x1e73da,_0x1fe320){const _0x5faa02=a64_0x48b7,_0x145529=_0x1e73da();while(!![]){try{const _0x43895d=parseInt(_0x5faa02(0x14f))/0x1+-parseInt(_0x5faa02(0x14c))/0x2*(-parseInt(_0x5faa02(0x133))/0x3)+parseInt(_0x5faa02(0x14d))/0x4+parseInt(_0x5faa02(0x14b))/0x5+-parseInt(_0x5faa02(0x145))/0x6+parseInt(_0x5faa02(0x130))/0x7+-parseInt(_0x5faa02(0x150))/0x8;if(_0x43895d===_0x1fe320)break;else _0x145529['push'](_0x145529['shift']());}catch(_0x49200c){_0x145529['push'](_0x145529['shift']());}}}(a64_0xf48c,0x87ac1));const CLIUtils=require(a64_0x2aadda(0x141)),eventDispatcher=require(a64_0x2aadda(0x148)),TestFrameworkInstance=require(a64_0x2aadda(0x137)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require(a64_0x2aadda(0x12f)),HookState=require(a64_0x2aadda(0x131)),{createClassLogger}=require(a64_0x2aadda(0x13e)),TrackedInstance=require(a64_0x2aadda(0x134)),logger=createClassLogger('TestFramework');class TestFramework{static [a64_0x2aadda(0x14e)]=new Map();[a64_0x2aadda(0x14a)]=[];[a64_0x2aadda(0x142)]={};[a64_0x2aadda(0x152)]=null;constructor(_0x4d0c59,_0x5c110c,_0x25dbaa){const _0x5d40b0=a64_0x2aadda;this[_0x5d40b0(0x14a)]=_0x4d0c59,this[_0x5d40b0(0x142)]=_0x5c110c,this[_0x5d40b0(0x152)]=_0x25dbaa;}['getInstances'](){const _0x1d23b0=a64_0x2aadda;return TestFramework[_0x1d23b0(0x14e)];}['setInstance'](_0x2133dc,_0x5e225a){const _0x33fe0c=a64_0x2aadda;TestFramework[_0x33fe0c(0x14e)][_0x33fe0c(0x13f)](_0x2133dc[_0x33fe0c(0x132)],_0x5e225a);}static[a64_0x2aadda(0x138)](){const _0x2f9f3c=a64_0x2aadda,_0x2580f6=TrackedInstance[_0x2f9f3c(0x13d)](CLIUtils['getCurrentInstanceName']());return TestFramework['instances']['get'](_0x2580f6[_0x2f9f3c(0x132)]());}static[a64_0x2aadda(0x12b)](_0x5a10a2,_0x40f828){const _0x3cc2ea=a64_0x2aadda;TestFramework[_0x3cc2ea(0x14e)]['set'](_0x5a10a2[_0x3cc2ea(0x132)](),_0x40f828);}[a64_0x2aadda(0x146)](){const _0x2339b0=a64_0x2aadda;return this[_0x2339b0(0x142)];}[a64_0x2aadda(0x140)](){const _0x1b2070=a64_0x2aadda;return this[_0x1b2070(0x14a)];}['trackEvent'](_0x635729,_0x5bb8c1,_0x1d768e={}){const _0x5e4127=a64_0x2aadda;logger[_0x5e4127(0x143)](_0x5e4127(0x12d)+_0x635729+_0x5e4127(0x151)+_0x5bb8c1);}async[a64_0x2aadda(0x13c)](_0xbfbed7,_0x2c7871,_0x357db7,_0x270157={}){const _0x58d9c2=a64_0x2aadda,_0x48ab7c=CLIUtils['getHookRegistryKey'](_0x2c7871,_0x357db7);_0xbfbed7[_0x58d9c2(0x135)](_0x2c7871),_0xbfbed7[_0x58d9c2(0x136)](_0x357db7),await eventDispatcher[_0x58d9c2(0x149)](_0x48ab7c,_0x270157);}static[a64_0x2aadda(0x153)](_0xb27fa5,_0x1f519d,_0x25cea7){const _0x33326f=a64_0x2aadda;eventDispatcher[_0x33326f(0x153)](CLIUtils[_0x33326f(0x12c)](_0xb27fa5,_0x1f519d),_0x25cea7);}static[a64_0x2aadda(0x147)](_0x9525ba,_0x5124f9){const _0x4a83ab=a64_0x2aadda;return _0x9525ba[_0x4a83ab(0x12e)]()[_0x4a83ab(0x13b)](_0x5124f9);}static[a64_0x2aadda(0x13a)](_0x569fca,_0x163156,_0x3ef187){const _0x227b56=a64_0x2aadda;_0x569fca[_0x227b56(0x12e)]()[_0x227b56(0x13f)](_0x163156,_0x3ef187);}static[a64_0x2aadda(0x144)](_0x56f85f,_0x3d8457){const _0x4580fb=a64_0x2aadda;return _0x56f85f[_0x4580fb(0x12e)]()[_0x4580fb(0x139)](_0x3d8457);}}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_0x4f0d55=a65_0x89c1;(function(_0x355250,_0x1f64a4){const _0x2acb0=a65_0x89c1,_0x3c89d1=_0x355250();while(!![]){try{const _0x1f75af=parseInt(_0x2acb0(0x17c))/0x1*(-parseInt(_0x2acb0(0x1cb))/0x2)+parseInt(_0x2acb0(0x1f4))/0x3*(parseInt(_0x2acb0(0x218))/0x4)+parseInt(_0x2acb0(0x176))/0x5*(-parseInt(_0x2acb0(0x20f))/0x6)+parseInt(_0x2acb0(0x1ae))/0x7+parseInt(_0x2acb0(0x224))/0x8*(parseInt(_0x2acb0(0x1f0))/0x9)+-parseInt(_0x2acb0(0x187))/0xa+parseInt(_0x2acb0(0x217))/0xb;if(_0x1f75af===_0x1f64a4)break;else _0x3c89d1['push'](_0x3c89d1['shift']());}catch(_0x5bb61a){_0x3c89d1['push'](_0x3c89d1['shift']());}}}(a65_0x4654,0x5f271));function a65_0x89c1(_0x147b0e,_0x12a3c9){const _0x465466=a65_0x4654();return a65_0x89c1=function(_0x89c1b6,_0x3f15b9){_0x89c1b6=_0x89c1b6-0x167;let _0x2d76a2=_0x465466[_0x89c1b6];return _0x2d76a2;},a65_0x89c1(_0x147b0e,_0x12a3c9);}const util=require(a65_0x4f0d55(0x170)),logger=require(a65_0x4f0d55(0x21b))[a65_0x4f0d55(0x1fc)],grpc=require(a65_0x4f0d55(0x1dd)),services=require(a65_0x4f0d55(0x19a)),messages=require(a65_0x4f0d55(0x17e)),path=require('path'),CLIUtils=require(a65_0x4f0d55(0x1c4)),{createClassLogger}=require(a65_0x4f0d55(0x1f9)),PerformanceTester=require(a65_0x4f0d55(0x1fa)),{EVENTS:PerformanceEvents}=require(a65_0x4f0d55(0x22e)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants');function a65_0x4654(){const _0x2b4200=['setHubUrl','3247160ZLBJzv','xQjIG','zuIGs','setEndedAt','setCliArgsList','setExitReason','setFileSize','listenAddress','name','QJuGk','ConnectBinSession\x20successful','from','ConnectBinSession\x20error:\x20','Sending\x20TestSessionEvent','CnDKf','getPlaywrightConfig','argv','utf-8','addAutomationSessions','../../../generated/sdk_grpc_pb','gRqIZ','setLevel','SDK_AUTOMATION_FRAMEWORK_INIT','Sending\x20LogCreatedEvent','setStartedAt','getSdkLanguage','provider','addFrameworks','AccessibilityConfig\x20request\x20successful','setSdkVersion','No\x20gRPC\x20client\x20not\x20initialized.','setSdkLanguage','testFrameworkName','env','ExecutionContext','BROWSERSTACK_CLI_BIN_SESSION_ID','info','stringify','Getting\x20Accessibility\x20config','4840416qQLRxH','DriverInitRequest','iCdlJ','Sending\x20DriverInit','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','setTestHookState','SDK_START_BIN_SESSION','TestSessionEvent\x20error:\x20','uuid','setExitCode','PlaywrightConfig\x20request\x20successful','ItOSx','connectBinSession','setTestFramework','StopBinSessionRequest','GrpcClient','channel','LWoKF','driverInit','Sending\x20TestFrameworkEvent','wvxGp','nywvT','./cliUtils.js','forEach','Missing\x20binSessionId','uHvpE','SDK_CONNECT_BIN_SESSION','setUuid','TestSessionEventRequest','2yIDXDp','accessibilityConfig','attachment_type','setFileName','end','Error\x20in\x20TestSessionEvent:\x20','SDK_CLI_ON_STOP','CQmad','getInstance','client','setExecutionContext','AccessibilityConfigRequest','logCreatedEvent','hubUrl','StartBinSession\x20successful','AccessibilityConfig\x20error:\x20','JnFYC','EVUdg','@grpc/grpc-js','KdQhT','format','setTestFrameworkVersion','Error\x20in\x20connectBinSession:\x20','exports','setBinSessionId','LogCreatedEvent\x20error:\x20','cjDrE','uCsPY','wPApZ','getAutomationFrameworkDetail','\x20listenAddr:\x20','testFrameworkEvent','\x20and\x20listen\x20address:\x20','TestSessionEvent\x20request\x20successful','PlaywrightConfig\x20error:\x20','Error\x20in\x20getAccessibilityConfig:\x20','Error\x20in\x20getPlaywrightConfig:\x20','1303056BbbARj','connect','logger','testFrameworkState','328701LBnMPn','xkAbB','setCapabilities','lGzgH','setTestFrameworkState','../../helpers/classLogger.js','../../helpers/performance/performance-tester.js','eGEhs','winstonLogger','user_killed','Stopping\x20signal\x20','DriverInit\x20request\x20successful','setConfig','StopBinSession\x20error:\x20','error','nXGjD','setCustomMetadata','ePOYx','init','connect-bin-session\x20response:\x20','setProcessId','AwBOV','nFtiY','stopBinSession','setTestFrameworkName','browserstack.yml','test_run_uuid','126486RWEfMq','setPlatformIndex','debug','resolve','setHash','getFrameworkVersionsMap','TestFrameworkEvent\x20error:\x20','BROWSERSTACK_CONFIG_FILE_PATH','3395348obTFvV','4Gmrayi','Connecting\x20bin\x20session','StartBinSessionRequest','../../helpers/logger.js','Channel','testFrameworkVersion','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','LogCreatedEvent\x20request\x20successful','LogCreatedEventRequest','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','ConnectBinSessionRequest','binSessionId','8MIosWf','DriverInit\x20error:\x20','startBinSession:\x20Calling\x20startBinSession','xfOzu','getAccessibilityConfig','frameworkName','stop-bin-session\x20response:\x20','Connected\x20to\x20gRPC\x20server\x20at\x20','kjfRp','startBinSession','../../helpers/performance/constants','cwd','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','kdFVr','DfMJm','encode','Error\x20in\x20TestFrameworkEvent:\x20','version','timestamp','FJjpb','Error\x20in\x20DriverInit:\x20','fileSize','xcSIu','setTestUuid','threadId','setFrameworksList','KbJLv','util','setAttachmentType','setMessage','Stopping\x20bin\x20session','setRef','testSessionEvent','105QypFqu','vIUnO','setLanguage','setFrameworkName','message','ffUMh','97345aMeVfM','setTimestamp','../../../generated/sdk-messages_pb','start','Error\x20in\x20LogCreatedEvent:\x20','AutomationSession','Poihd','PlaywrightConfigRequest','astHR','getChannel'];a65_0x4654=function(){return _0x2b4200;};return a65_0x4654();}class GrpcClient{static #instance=null;['binSessionId']=null;[a65_0x4f0d55(0x18e)]=null;['channel']=null;[a65_0x4f0d55(0x1d4)]=null;[a65_0x4f0d55(0x1f2)]=createClassLogger(a65_0x4f0d55(0x1bd));constructor(){}static[a65_0x4f0d55(0x1d3)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a65_0x4f0d55(0x206)](_0x1db1d4){const _0x58d40b=a65_0x4f0d55,_0x2f8305={};_0x2f8305[_0x58d40b(0x1d2)]=function(_0x16d748,_0x4a9eda){return _0x16d748||_0x4a9eda;};const _0x3ca61e=_0x2f8305,{id:_0x47ee5e,listen:_0x36be97}=_0x1db1d4;if(_0x3ca61e[_0x58d40b(0x1d2)](!_0x47ee5e,!_0x36be97))throw new Error(_0x58d40b(0x221)+_0x47ee5e+_0x58d40b(0x1e9)+_0x36be97);this[_0x58d40b(0x223)]=_0x47ee5e,this['listenAddress']=_0x36be97,process[_0x58d40b(0x1a8)][_0x58d40b(0x1aa)]=this['binSessionId'],process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x58d40b(0x18e)],this[_0x58d40b(0x1f1)](),this[_0x58d40b(0x1f2)][_0x58d40b(0x1ab)](_0x58d40b(0x230)+this['binSessionId']+_0x58d40b(0x1eb)+this[_0x58d40b(0x18e)]);}['connect'](){const _0x40a881=a65_0x4f0d55,_0x7c8416={};_0x7c8416[_0x40a881(0x1e7)]=_0x40a881(0x21e);const _0x13e5ab=_0x7c8416;let _0x58747d=this[_0x40a881(0x18e)];!_0x58747d&&(_0x58747d=process[_0x40a881(0x1a8)][_0x40a881(0x1b2)]);!this[_0x40a881(0x223)]&&(this['binSessionId']=this['binSessionId']||process[_0x40a881(0x1a8)][_0x40a881(0x1aa)]);if(!_0x58747d)throw new Error(_0x13e5ab[_0x40a881(0x1e7)]);const _0xfb63bb={};_0xfb63bb['grpc.keepalive_time_ms']=0x2710,this[_0x40a881(0x1be)]=new grpc[(_0x40a881(0x21c))](_0x58747d,grpc['credentials']['createInsecure'](),_0xfb63bb),this['client']=new services['SDKClient'](_0x58747d,grpc['credentials']['createInsecure']()),this['logger']['info'](_0x40a881(0x22b)+_0x58747d);}async['startBinSession'](){const _0x4c1ebc=a65_0x4f0d55,_0x5c1d10={'KbJLv':function(_0x1394a7,_0x1bbc1a){return _0x1394a7!==_0x1bbc1a;},'nFtiY':function(_0x4b3e66,_0x12f244){return _0x4b3e66(_0x12f244);},'vIUnO':_0x4c1ebc(0x1d9),'uCsPY':_0x4c1ebc(0x226),'GAvPb':_0x4c1ebc(0x1a5),'xfOzu':_0x4c1ebc(0x20d),'WOjxj':function(_0x20117a,_0x12e191){return _0x20117a||_0x12e191;}};PerformanceTester['start'](PerformanceEvents[_0x4c1ebc(0x1b4)]),this[_0x4c1ebc(0x1f2)][_0x4c1ebc(0x1ab)](_0x5c1d10[_0x4c1ebc(0x1e6)]);try{!this[_0x4c1ebc(0x1d4)]&&this[_0x4c1ebc(0x1f2)][_0x4c1ebc(0x1ab)](_0x5c1d10['GAvPb']);const _0x5d7bb7=CLIUtils['getSdkVersion'](),_0x1f1ea8=CLIUtils[_0x4c1ebc(0x1e8)](),_0x2e0e87=_0x1f1ea8[_0x4c1ebc(0x18f)],_0x1d1128=_0x1f1ea8[_0x4c1ebc(0x235)],_0x1400af=new messages[(_0x4c1ebc(0x21a))]();_0x1400af[_0x4c1ebc(0x1e3)](this[_0x4c1ebc(0x223)]),_0x1400af[_0x4c1ebc(0x1a6)](CLIUtils['getSdkLanguage']()),_0x1400af[_0x4c1ebc(0x1a4)](_0x5d7bb7),_0x1400af['setPathProject'](process[_0x4c1ebc(0x22f)]()),_0x1400af['setPathConfig'](process[_0x4c1ebc(0x1a8)][_0x4c1ebc(0x216)]?process['env'][_0x4c1ebc(0x216)]:path[_0x4c1ebc(0x212)](process['cwd'](),_0x5c1d10[_0x4c1ebc(0x227)]));const _0x409e29=_0x1400af['getEnvVarsMap']();Object['entries'](process[_0x4c1ebc(0x1a8)])['forEach'](([_0xa5286,_0x5da434])=>{const _0x1dcc0b=_0x4c1ebc;_0x5c1d10['KbJLv'](_0x5da434,undefined)&&_0x5c1d10[_0x1dcc0b(0x16f)](_0x5da434,null)&&_0x409e29['set'](_0xa5286,_0x5da434);}),_0x1400af[_0x4c1ebc(0x18b)](process[_0x4c1ebc(0x197)]['slice'](0x2)),_0x1400af[_0x4c1ebc(0x178)](CLIUtils[_0x4c1ebc(0x1a0)]()),_0x1400af[_0x4c1ebc(0x1bb)](_0x2e0e87);const _0x62e969=_0x1400af[_0x4c1ebc(0x214)]();return _0x62e969['set'](_0x2e0e87,_0x5c1d10['WOjxj'](_0x1d1128,'')),_0x1400af[_0x4c1ebc(0x1a2)](_0x2e0e87,_0x1d1128),_0x1400af[_0x4c1ebc(0x16e)]([_0x2e0e87]),new Promise((_0x4dcfb4,_0x4d71f7)=>{const _0x8fda4e=_0x4c1ebc,_0x18200d={'JNfjV':function(_0x4b2969,_0x169dce){const _0x3eed00=a65_0x89c1;return _0x5c1d10[_0x3eed00(0x20a)](_0x4b2969,_0x169dce);},'KdQhT':_0x5c1d10[_0x8fda4e(0x177)],'kjfRp':function(_0x31a78d,_0x1c098c){return _0x5c1d10['nFtiY'](_0x31a78d,_0x1c098c);}};this[_0x8fda4e(0x1d4)][_0x8fda4e(0x22d)](_0x1400af,(_0x3e2bea,_0x24f2a8)=>{const _0x26e6da=_0x8fda4e;if(_0x3e2bea){this[_0x26e6da(0x1f2)][_0x26e6da(0x202)]('StartBinSession\x20error:\x20'+_0x3e2bea[_0x26e6da(0x17a)]),_0x18200d['JNfjV'](_0x4d71f7,_0x3e2bea),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x26e6da(0x1df)](_0x3e2bea));return;}this['logger'][_0x26e6da(0x1ab)](_0x18200d[_0x26e6da(0x1de)]),PerformanceTester[_0x26e6da(0x1cf)](PerformanceEvents[_0x26e6da(0x1b4)]),_0x18200d[_0x26e6da(0x22c)](_0x4dcfb4,_0x24f2a8);});});}catch(_0x4ec538){this[_0x4c1ebc(0x1f2)][_0x4c1ebc(0x202)]('Error\x20in\x20startBinSession:\x20'+util[_0x4c1ebc(0x1df)](_0x4ec538)),PerformanceTester[_0x4c1ebc(0x1cf)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util['format'](_0x4ec538));throw _0x4ec538;}}async[a65_0x4f0d55(0x1ba)](){const _0x797f5c=a65_0x4f0d55,_0x2a98ec={'Poihd':function(_0x31ca39,_0x2cc949){return _0x31ca39(_0x2cc949);},'uHvpE':_0x797f5c(0x191),'pYyGE':_0x797f5c(0x219),'WMtHa':_0x797f5c(0x1a5)};PerformanceTester['start'](PerformanceEvents[_0x797f5c(0x1c8)]),this[_0x797f5c(0x1f2)][_0x797f5c(0x1ab)](_0x2a98ec['pYyGE']);try{!this[_0x797f5c(0x1d4)]&&this[_0x797f5c(0x1f2)]['info'](_0x2a98ec['WMtHa']);const _0x470805=new messages[(_0x797f5c(0x222))]();_0x470805[_0x797f5c(0x1e3)](this['binSessionId']);const _0x2599f6=await new Promise((_0x1081b6,_0x3e7819)=>{const _0x4010f6=_0x797f5c,_0x4ae65c={'astHR':function(_0x2cacec,_0x30ac81){return _0x2a98ec['Poihd'](_0x2cacec,_0x30ac81);},'HUfGB':_0x2a98ec[_0x4010f6(0x1c7)],'wvxGp':function(_0xfcfb38,_0x23e449){const _0x484552=_0x4010f6;return _0x2a98ec[_0x484552(0x182)](_0xfcfb38,_0x23e449);}};this[_0x4010f6(0x1d4)][_0x4010f6(0x1ba)](_0x470805,(_0x230e18,_0x1b1c89)=>{const _0x354f8a=_0x4010f6;if(_0x230e18){this[_0x354f8a(0x1f2)][_0x354f8a(0x202)](_0x354f8a(0x193)+_0x230e18['message']),_0x4ae65c[_0x354f8a(0x184)](_0x3e7819,_0x230e18),PerformanceTester['end'](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x230e18));return;}this[_0x354f8a(0x1f2)][_0x354f8a(0x1ab)](_0x4ae65c['HUfGB']),PerformanceTester['end'](PerformanceEvents[_0x354f8a(0x1c8)]),_0x4ae65c[_0x354f8a(0x1c2)](_0x1081b6,_0x1b1c89);});});return this[_0x797f5c(0x1f2)][_0x797f5c(0x211)](_0x797f5c(0x207)+util[_0x797f5c(0x1df)](_0x2599f6)),_0x2599f6;}catch(_0x5ac938){PerformanceTester[_0x797f5c(0x1cf)](PerformanceEvents[_0x797f5c(0x1c8)],![],util[_0x797f5c(0x1df)](_0x5ac938)),this[_0x797f5c(0x1f2)][_0x797f5c(0x202)](_0x797f5c(0x1e1)+util[_0x797f5c(0x1df)](_0x5ac938));throw _0x5ac938;}}async[a65_0x4f0d55(0x20b)](_0x466492={},_0x4777aa=null){const _0x15b26b=a65_0x4f0d55,_0x29ef0e={'iCdlJ':function(_0x2ceff3,_0x2f2538){return _0x2ceff3(_0x2f2538);},'lGzgH':'StopBinSession\x20successful','eGEhs':_0x15b26b(0x173),'CnDKf':_0x15b26b(0x1c6),'JnFYC':_0x15b26b(0x1a5),'USmJr':_0x15b26b(0x1fd)};PerformanceTester[_0x15b26b(0x17f)](PerformanceEvents[_0x15b26b(0x1d1)]),this[_0x15b26b(0x1f2)][_0x15b26b(0x1ab)](_0x29ef0e[_0x15b26b(0x1fb)]);try{if(!this['binSessionId'])throw new Error(_0x29ef0e[_0x15b26b(0x195)]);!this[_0x15b26b(0x1d4)]&&this[_0x15b26b(0x1f2)][_0x15b26b(0x1ab)](_0x29ef0e[_0x15b26b(0x1db)]);const _0x349137=new messages[(_0x15b26b(0x1bc))]();this['logger']['debug'](_0x15b26b(0x1fe)+JSON[_0x15b26b(0x1ac)](_0x4777aa)),_0x349137[_0x15b26b(0x1e3)](this[_0x15b26b(0x223)]),_0x349137[_0x15b26b(0x204)](_0x466492),_0x349137['setExitSignal'](_0x4777aa?_0x4777aa:null),_0x349137[_0x15b26b(0x18c)](_0x4777aa?_0x29ef0e['USmJr']:null),_0x349137[_0x15b26b(0x1b7)](_0x4777aa?0x1:0x0);const _0x1fd9c0=await new Promise((_0x206fea,_0x32e686)=>{const _0x1a1a2e=_0x15b26b;this['client'][_0x1a1a2e(0x20b)](_0x349137,(_0x138a06,_0x171031)=>{const _0x356625=_0x1a1a2e;if(_0x138a06){this[_0x356625(0x1f2)]['error'](_0x356625(0x201)+_0x138a06[_0x356625(0x17a)]),_0x29ef0e[_0x356625(0x1b0)](_0x32e686,_0x138a06),PerformanceTester[_0x356625(0x1cf)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x138a06));return;}this[_0x356625(0x1f2)][_0x356625(0x1ab)](_0x29ef0e[_0x356625(0x1f7)]),PerformanceTester[_0x356625(0x1cf)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x29ef0e[_0x356625(0x1b0)](_0x206fea,_0x171031);});});return this[_0x15b26b(0x1f2)][_0x15b26b(0x211)](_0x15b26b(0x22a)+util[_0x15b26b(0x1df)](_0x1fd9c0)),_0x1fd9c0;}catch(_0x461254){PerformanceTester[_0x15b26b(0x1cf)](PerformanceEvents[_0x15b26b(0x1d1)],![],util[_0x15b26b(0x1df)](_0x461254)),this[_0x15b26b(0x1f2)]['error']('Error\x20in\x20stopBinSession:\x20'+util[_0x15b26b(0x1df)](_0x461254));}}async[a65_0x4f0d55(0x196)](_0x45ce98){const _0x46fb0b=a65_0x4f0d55,_0x4cf2cf={'EVUdg':function(_0x19f03e,_0x4f8344){return _0x19f03e(_0x4f8344);},'xcSIu':_0x46fb0b(0x1b8),'Wwvxz':'Getting\x20Playwright\x20config','FJjpb':_0x46fb0b(0x1a5)};PerformanceTester['start'](PerformanceEvents[_0x46fb0b(0x19d)]),this[_0x46fb0b(0x1f2)][_0x46fb0b(0x1ab)](_0x4cf2cf['Wwvxz']);try{!this[_0x46fb0b(0x1d4)]&&this[_0x46fb0b(0x1f2)][_0x46fb0b(0x1ab)](_0x4cf2cf[_0x46fb0b(0x168)]);const _0xbf828d=new messages[(_0x46fb0b(0x183))]();return _0xbf828d[_0x46fb0b(0x1e3)](this['binSessionId']),_0xbf828d[_0x46fb0b(0x200)](JSON['stringify'](_0x45ce98)),new Promise((_0xffb763,_0x57c465)=>{const _0x3fab0f=_0x46fb0b;this[_0x3fab0f(0x1d4)]['playwrightConfig'](_0xbf828d,(_0x323161,_0x5ebc14)=>{const _0x5935ee=_0x3fab0f;if(_0x323161){this[_0x5935ee(0x1f2)][_0x5935ee(0x202)](_0x5935ee(0x1ed)+_0x323161[_0x5935ee(0x17a)]),_0x4cf2cf[_0x5935ee(0x1dc)](_0x57c465,_0x323161),PerformanceTester[_0x5935ee(0x1cf)](PerformanceEvents[_0x5935ee(0x19d)],![],util[_0x5935ee(0x1df)](_0x323161));return;}this[_0x5935ee(0x1f2)][_0x5935ee(0x1ab)](_0x4cf2cf[_0x5935ee(0x16b)]),PerformanceTester[_0x5935ee(0x1cf)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x4cf2cf[_0x5935ee(0x1dc)](_0xffb763,_0x5ebc14);});});}catch(_0xb32a36){PerformanceTester[_0x46fb0b(0x1cf)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x46fb0b(0x1df)](_0xb32a36)),this[_0x46fb0b(0x1f2)][_0x46fb0b(0x202)](_0x46fb0b(0x1ef)+util[_0x46fb0b(0x1df)](_0xb32a36));throw _0xb32a36;}}async[a65_0x4f0d55(0x228)](_0x28dfdd){const _0x3a279a=a65_0x4f0d55,_0x553ca3={'kdFVr':function(_0x2accb4,_0x512a5a){return _0x2accb4(_0x512a5a);},'xQjIG':_0x3a279a(0x1a3),'nywvT':_0x3a279a(0x1ad),'cjDrE':_0x3a279a(0x198)};this[_0x3a279a(0x1f2)]['info'](_0x553ca3[_0x3a279a(0x1c3)]);try{const _0x461d67=Buffer[_0x3a279a(0x192)](JSON[_0x3a279a(0x1ac)](_0x28dfdd['launchcaps']),_0x553ca3[_0x3a279a(0x1e5)]),_0x2f7204=new messages[(_0x3a279a(0x1d6))](),_0x3ef1a0=CLIUtils['getAutomationFrameworkDetail'](),_0x21419d=_0x3ef1a0[_0x3a279a(0x18f)],_0x376722=_0x3ef1a0['version'];return _0x2f7204[_0x3a279a(0x1e3)](this['binSessionId']),_0x2f7204[_0x3a279a(0x210)](0x0),_0x2f7204['setFrameworkName'](_0x21419d),_0x2f7204['setFrameworkVersion'](_0x376722),_0x2f7204[_0x3a279a(0x186)](_0x28dfdd[_0x3a279a(0x1d8)]),_0x2f7204[_0x3a279a(0x1f6)](_0x461d67),new Promise((_0xa0357e,_0xd81e6)=>{const _0x54ead5=_0x3a279a;this[_0x54ead5(0x1d4)][_0x54ead5(0x1cc)](_0x2f7204,(_0x1d50c2,_0x12eb1a)=>{const _0x384b65=_0x54ead5;if(_0x1d50c2){this[_0x384b65(0x1f2)][_0x384b65(0x202)](_0x384b65(0x1da)+_0x1d50c2['message']),_0x553ca3[_0x384b65(0x231)](_0xd81e6,_0x1d50c2);return;}this[_0x384b65(0x1f2)]['info'](_0x553ca3[_0x384b65(0x188)]),_0x553ca3[_0x384b65(0x231)](_0xa0357e,_0x12eb1a);});});}catch(_0x1bb64e){this['logger'][_0x3a279a(0x202)](_0x3a279a(0x1ee)+util[_0x3a279a(0x1df)](_0x1bb64e));}}async[a65_0x4f0d55(0x175)](_0x52b8f4){const _0x2fd214=a65_0x4f0d55,_0x8efe59={'zuIGs':function(_0x898d68,_0x5cd061){return _0x898d68(_0x5cd061);},'eEFDa':_0x2fd214(0x1ec),'LWoKF':_0x2fd214(0x194),'gRqIZ':_0x2fd214(0x1a5)};this[_0x2fd214(0x1f2)][_0x2fd214(0x1ab)](_0x8efe59[_0x2fd214(0x1bf)]);try{!this[_0x2fd214(0x1d4)]&&this[_0x2fd214(0x1f2)]['info'](_0x8efe59[_0x2fd214(0x19b)]);const {platformIndex:_0x1de953,testFrameworkName:_0x97aea9,testFrameworkVersion:_0x281836,testFrameworkState:_0x59f007,testHookState:_0x27dd78,testUuid:_0x2c89c9,automationSession:_0x1efff8,capabilities:_0x15fc88,executionContext:_0x1a43f4}=_0x52b8f4,_0x429822=new messages[(_0x2fd214(0x1ca))]();_0x429822['setBinSessionId'](this[_0x2fd214(0x223)]),_0x429822[_0x2fd214(0x210)](_0x1de953),_0x429822[_0x2fd214(0x20c)](_0x97aea9),_0x429822['setTestFrameworkVersion'](_0x281836),_0x429822[_0x2fd214(0x1f8)](_0x59f007),_0x429822['setTestHookState'](_0x27dd78),_0x429822[_0x2fd214(0x16c)](_0x2c89c9);const _0x4e0690=new messages[(_0x2fd214(0x1ca))][(_0x2fd214(0x181))]();_0x4e0690['setProvider'](_0x1efff8[_0x2fd214(0x1a1)]),_0x4e0690[_0x2fd214(0x179)](_0x1efff8[_0x2fd214(0x229)]),_0x4e0690['setFrameworkVersion'](_0x1efff8['frameworkVersion']),_0x4e0690['setFrameworkSessionId'](_0x1efff8['frameworkSessionId']),_0x4e0690[_0x2fd214(0x174)](_0x1efff8['ref']),_0x4e0690[_0x2fd214(0x186)](_0x1efff8[_0x2fd214(0x1d8)]),_0x429822[_0x2fd214(0x199)](_0x4e0690),_0x429822[_0x2fd214(0x1f6)](_0x15fc88);const _0x477b27=new messages[(_0x2fd214(0x1a9))]();return _0x477b27[_0x2fd214(0x208)](_0x1a43f4['processId']),_0x477b27['setThreadId'](_0x1a43f4[_0x2fd214(0x16d)]),_0x477b27[_0x2fd214(0x213)](_0x1a43f4['hash']),_0x429822[_0x2fd214(0x1d5)](_0x477b27),new Promise((_0x1624dd,_0x124175)=>{this['client']['testSessionEvent'](_0x429822,(_0x2f22fe,_0x12c696)=>{const _0x1fc06c=a65_0x89c1;if(_0x2f22fe){this[_0x1fc06c(0x1f2)][_0x1fc06c(0x202)](_0x1fc06c(0x1b5)+_0x2f22fe['message']),_0x8efe59['zuIGs'](_0x124175,_0x2f22fe);return;}this[_0x1fc06c(0x1f2)]['info'](_0x8efe59['eEFDa']),_0x8efe59[_0x1fc06c(0x189)](_0x1624dd,_0x12c696);});});}catch(_0x32c7a2){this['logger']['error'](_0x2fd214(0x1d0)+util[_0x2fd214(0x1df)](_0x32c7a2));throw _0x32c7a2;}}async[a65_0x4f0d55(0x1ea)](_0x58cdbe){const _0x26db05=a65_0x4f0d55,_0x11beeb={'wHyPQ':function(_0x2e4598,_0x3f2cc6){return _0x2e4598(_0x3f2cc6);},'nXGjD':'TestFrameworkEvent\x20request\x20successful','AwBOV':function(_0x38ba1b,_0x385cca){return _0x38ba1b(_0x385cca);},'DfMJm':_0x26db05(0x1c1),'JgCJz':_0x26db05(0x1a5)};this[_0x26db05(0x1f2)]['info'](_0x11beeb[_0x26db05(0x232)]);try{!this['client']&&this[_0x26db05(0x1f2)][_0x26db05(0x1ab)](_0x11beeb['JgCJz']);const {platfromIndex:_0x4bf1ae,testFrameworkName:_0x8cbdfa,testFrameworkVersion:_0x3f734e,testFrameworkState:_0x28e07e,hookState:_0x262f23,startedAt:_0xbd5b03,endedAt:_0x5e8a04,uuid:_0x41104f,eventJson:_0x412374,executionContext:_0x387292}=_0x58cdbe,_0x46a7f6=new messages['TestFrameworkEventRequest']();_0x46a7f6[_0x26db05(0x1e3)](this['binSessionId']),_0x46a7f6['setPlatformIndex'](_0x4bf1ae),_0x46a7f6[_0x26db05(0x20c)](_0x8cbdfa),_0x46a7f6[_0x26db05(0x1e0)](_0x3f734e),_0x46a7f6[_0x26db05(0x1f8)](_0x28e07e),_0x46a7f6[_0x26db05(0x1b3)](_0x262f23),_0x46a7f6[_0x26db05(0x19f)](_0xbd5b03),_0x46a7f6[_0x26db05(0x18a)](_0x5e8a04),_0x46a7f6[_0x26db05(0x1c9)](_0x41104f),_0x46a7f6['setEventJson'](_0x412374);const _0x192bb4=new messages['ExecutionContext']();return _0x192bb4['setProcessId'](_0x387292['processId']),_0x192bb4['setThreadId'](_0x387292[_0x26db05(0x16d)]),_0x192bb4[_0x26db05(0x213)](_0x387292['hash']),_0x46a7f6['setExecutionContext'](_0x192bb4),new Promise((_0x263ab9,_0x4c0bd7)=>{const _0x256c0f=_0x26db05;this[_0x256c0f(0x1d4)][_0x256c0f(0x1ea)](_0x46a7f6,(_0x538e48,_0x1aab27)=>{const _0x70e88=_0x256c0f;if(_0x538e48){this[_0x70e88(0x1f2)]['error'](_0x70e88(0x215)+_0x538e48[_0x70e88(0x17a)]),_0x11beeb['wHyPQ'](_0x4c0bd7,_0x538e48);return;}this[_0x70e88(0x1f2)][_0x70e88(0x1ab)](_0x11beeb[_0x70e88(0x203)]),_0x11beeb[_0x70e88(0x209)](_0x263ab9,_0x1aab27);});});}catch(_0xcef698){this[_0x26db05(0x1f2)][_0x26db05(0x202)](_0x26db05(0x234)+util[_0x26db05(0x1df)](_0xcef698));throw _0xcef698;}}async[a65_0x4f0d55(0x1c0)](_0x3f4ea6){const _0x5a2c1c=a65_0x4f0d55,_0x234c9d={'HdEns':function(_0x1dd013,_0x36ab27){return _0x1dd013(_0x36ab27);},'ffUMh':_0x5a2c1c(0x1ff),'iGWxm':function(_0x255616,_0x87b31f){return _0x255616(_0x87b31f);},'GaxFF':_0x5a2c1c(0x1b1),'mDgcC':_0x5a2c1c(0x1a5)};this[_0x5a2c1c(0x1f2)]['info'](_0x234c9d['GaxFF']);try{!this[_0x5a2c1c(0x1d4)]&&this['logger'][_0x5a2c1c(0x1ab)](_0x234c9d['mDgcC']);const {platformIndex:_0x30f567,ref:_0x510313,userInputParams:_0x40b115}=_0x3f4ea6,_0x3b4388=new messages[(_0x5a2c1c(0x1af))]();return _0x3b4388[_0x5a2c1c(0x1e3)](this[_0x5a2c1c(0x223)]),_0x3b4388[_0x5a2c1c(0x210)](_0x30f567),_0x3b4388['setRef'](_0x510313),_0x3b4388['setUserInputParams'](_0x40b115),new Promise((_0x1aa01d,_0x334326)=>{const _0x45f261=_0x5a2c1c;this[_0x45f261(0x1d4)][_0x45f261(0x1c0)](_0x3b4388,(_0x3cfd79,_0x5f50d)=>{const _0x412e9a=_0x45f261;if(_0x3cfd79){this[_0x412e9a(0x1f2)][_0x412e9a(0x202)](_0x412e9a(0x225)+_0x3cfd79[_0x412e9a(0x17a)]),_0x234c9d['HdEns'](_0x334326,_0x3cfd79);return;}this['logger'][_0x412e9a(0x1ab)](_0x234c9d[_0x412e9a(0x17b)]),_0x234c9d['iGWxm'](_0x1aa01d,_0x5f50d);});});}catch(_0x396b30){this[_0x5a2c1c(0x1f2)][_0x5a2c1c(0x202)](_0x5a2c1c(0x169)+util[_0x5a2c1c(0x1df)](_0x396b30));throw _0x396b30;}}async[a65_0x4f0d55(0x1d7)](_0x41d2dc){const _0x42f3f3=a65_0x4f0d55,_0x522edc={'oVKIp':function(_0x5e7ccd,_0x2d3945){return _0x5e7ccd===_0x2d3945;},'syVmZ':function(_0x5e14b4,_0x2a3321){return _0x5e14b4(_0x2a3321);},'ItOSx':_0x42f3f3(0x21f),'xkAbB':function(_0x470b2e,_0x1cf376){return _0x470b2e(_0x1cf376);},'QJuGk':_0x42f3f3(0x19e),'ePOYx':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x42f3f3(0x1f2)][_0x42f3f3(0x1ab)](_0x522edc[_0x42f3f3(0x190)]);try{!this[_0x42f3f3(0x1d4)]&&this['logger'][_0x42f3f3(0x1ab)](_0x522edc[_0x42f3f3(0x205)]);const {platformIndex:_0x35454c,logs:_0x12330e}=_0x41d2dc,_0x39c63b=new messages[(_0x42f3f3(0x220))]();_0x39c63b[_0x42f3f3(0x1e3)](this['binSessionId']),_0x39c63b[_0x42f3f3(0x210)](_0x35454c);const _0x381100=_0x41d2dc[_0x42f3f3(0x1a7)],_0x2feb51=_0x41d2dc[_0x42f3f3(0x21d)],_0x49b2e2=_0x41d2dc[_0x42f3f3(0x1f3)];return _0x12330e[_0x42f3f3(0x1c5)](_0xb7a3de=>{const _0x93ea4=_0x42f3f3,_0x106886=new messages[(_0x93ea4(0x220))]['LogEntry']();_0x106886['setTestFrameworkName'](_0x381100),_0x106886[_0x93ea4(0x1e0)](_0x2feb51),_0x106886[_0x93ea4(0x1f8)](_0x49b2e2),_0x106886[_0x93ea4(0x17d)](_0xb7a3de[_0x93ea4(0x167)]),_0x106886[_0x93ea4(0x1c9)](_0xb7a3de[_0x93ea4(0x1b6)]),_0x106886['setKind'](_0xb7a3de['kind']),_0x522edc['oVKIp'](_0xb7a3de[_0x93ea4(0x1cd)],PLAYWRIGHT_TRACE_LOGS)?(_0x106886['setUuid'](_0xb7a3de[_0x93ea4(0x20e)]),_0x106886[_0x93ea4(0x172)](new TextEncoder()[_0x93ea4(0x233)](JSON[_0x93ea4(0x1ac)](_0xb7a3de)))):_0x106886[_0x93ea4(0x172)](new TextEncoder()[_0x93ea4(0x233)](_0xb7a3de['message'])),_0x106886[_0x93ea4(0x19c)](_0xb7a3de['level']),_0x106886[_0x93ea4(0x1ce)](_0xb7a3de?.['fileName']||''),_0x106886['setFilePath'](_0xb7a3de?.['filePath']||''),_0x106886[_0x93ea4(0x18d)](_0xb7a3de?.[_0x93ea4(0x16a)]||0x0),_0x106886[_0x93ea4(0x171)](_0xb7a3de?.['attachment_type']||''),_0x39c63b['addLogs'](_0x106886);}),new Promise((_0x241b7e,_0x370afa)=>{const _0x4797df=_0x42f3f3;this[_0x4797df(0x1d4)][_0x4797df(0x1d7)](_0x39c63b,(_0x302242,_0x1ff739)=>{const _0x55f8ef=_0x4797df;if(_0x302242){this['logger'][_0x55f8ef(0x202)](_0x55f8ef(0x1e4)+_0x302242[_0x55f8ef(0x17a)]),_0x522edc['syVmZ'](_0x370afa,_0x302242);return;}this[_0x55f8ef(0x1f2)]['info'](_0x522edc[_0x55f8ef(0x1b9)]),_0x522edc[_0x55f8ef(0x1f5)](_0x241b7e,_0x1ff739);});});}catch(_0x27a759){this[_0x42f3f3(0x1f2)][_0x42f3f3(0x202)](_0x42f3f3(0x180)+util['format'](_0x27a759));throw _0x27a759;}}['getClient'](){return this['client'];}[a65_0x4f0d55(0x185)](){return this['channel'];}}module[a65_0x4f0d55(0x1e2)]=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_0x45d818=a66_0x46bf;function a66_0x46bf(_0x743a00,_0x39d7a3){const _0x27f0ee=a66_0x27f0();return a66_0x46bf=function(_0x46bf8f,_0x61bd44){_0x46bf8f=_0x46bf8f-0x118;let _0x520371=_0x27f0ee[_0x46bf8f];return _0x520371;},a66_0x46bf(_0x743a00,_0x39d7a3);}(function(_0x392e4d,_0xb4c4e){const _0x3d0b8=a66_0x46bf,_0x4b8b3d=_0x392e4d();while(!![]){try{const _0x2e4dc3=-parseInt(_0x3d0b8(0x12a))/0x1+parseInt(_0x3d0b8(0x118))/0x2*(parseInt(_0x3d0b8(0x129))/0x3)+parseInt(_0x3d0b8(0x12c))/0x4+-parseInt(_0x3d0b8(0x11e))/0x5+parseInt(_0x3d0b8(0x11d))/0x6+-parseInt(_0x3d0b8(0x11f))/0x7*(-parseInt(_0x3d0b8(0x128))/0x8)+-parseInt(_0x3d0b8(0x119))/0x9*(parseInt(_0x3d0b8(0x127))/0xa);if(_0x2e4dc3===_0xb4c4e)break;else _0x4b8b3d['push'](_0x4b8b3d['shift']());}catch(_0x31f6fd){_0x4b8b3d['push'](_0x4b8b3d['shift']());}}}(a66_0x27f0,0xea662));const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require('./trackedInstance'),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x495fb6,_0x4b2b05,_0x179e01,_0x5042b0){const _0x506eb7=a66_0x46bf,_0x571027={};_0x571027['kKPNk']=_0x506eb7(0x122);const _0x238387=_0x571027,_0x23ec1a=_0x238387['kKPNk'][_0x506eb7(0x120)]('|');let _0x3ab323=0x0;while(!![]){switch(_0x23ec1a[_0x3ab323++]){case'0':this[_0x506eb7(0x11a)]=AutomationFrameworkState['NONE'];continue;case'1':super(_0x495fb6);continue;case'2':this[_0x506eb7(0x124)]=now[_0x506eb7(0x125)]();continue;case'3':this[_0x506eb7(0x11b)]=_0x4b2b05;continue;case'4':this[_0x506eb7(0x11c)]=_0x179e01;continue;case'5':this['state']=_0x5042b0;continue;}break;}}['getFrameworkName'](){const _0x30489d=a66_0x46bf;return this[_0x30489d(0x11b)];}[a66_0x45d818(0x121)](){const _0x307bf8=a66_0x45d818;return this[_0x307bf8(0x11c)];}[a66_0x45d818(0x126)](){const _0xca2821=a66_0x45d818;return this[_0xca2821(0x123)];}[a66_0x45d818(0x12b)](_0x311a3a){const _0x3a5619=a66_0x45d818;this['lastState']=this[_0x3a5619(0x123)],this['state']=_0x311a3a;}}function a66_0x27f0(){const _0x563e0b=['10jhhuzY','2282728ULJOes','21bXCeqC','937327HaPDTx','setState','2156428PrCgFg','exports','546010WzNSGS','24905241uocVeD','lastState','frameworkName','frameworkVersion','5292492ntiXnm','471275KLCdoW','35ScKzcY','split','getFrameworkVersion','1|3|4|5|0|2','state','createdAt','toLocaleString','getState'];a66_0x27f0=function(){return _0x563e0b;};return a66_0x27f0();}module[a66_0x45d818(0x12d)]=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
+ function a67_0x1451(_0x2c5c6d,_0x1cbe88){const _0x59a11a=a67_0x59a1();return a67_0x1451=function(_0x145194,_0x40221b){_0x145194=_0x145194-0xa7;let _0x5f42db=_0x59a11a[_0x145194];return _0x5f42db;},a67_0x1451(_0x2c5c6d,_0x1cbe88);}const a67_0x7db33=a67_0x1451;(function(_0x24f3d4,_0x514a96){const _0x2ceb50=a67_0x1451,_0x769ae=_0x24f3d4();while(!![]){try{const _0x59c014=parseInt(_0x2ceb50(0xaf))/0x1+parseInt(_0x2ceb50(0xb7))/0x2*(parseInt(_0x2ceb50(0xbb))/0x3)+-parseInt(_0x2ceb50(0xac))/0x4+parseInt(_0x2ceb50(0xb0))/0x5+parseInt(_0x2ceb50(0xb9))/0x6+-parseInt(_0x2ceb50(0xae))/0x7*(-parseInt(_0x2ceb50(0xb8))/0x8)+-parseInt(_0x2ceb50(0xb2))/0x9*(parseInt(_0x2ceb50(0xc2))/0xa);if(_0x59c014===_0x514a96)break;else _0x769ae['push'](_0x769ae['shift']());}catch(_0x374518){_0x769ae['push'](_0x769ae['shift']());}}}(a67_0x59a1,0x9f011));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a67_0x7db33(0xa9)),HookState=require('../state/hookState'),TestFrameworkState=require(a67_0x7db33(0xa7)),TrackedContext=require(a67_0x7db33(0xbf)),TrackedInstance=require('./trackedInstance'),now=new Date();function a67_0x59a1(){const _0x57faa9=['setLastTestState','30fncGcC','currentHookState','../state/testFrameworkState','getLastTestState','TrackedInstance','testFrameworksVersions','5|6|1|7|4|3|2|0','670824lTFcNv','getCreatedAt','5911339OahekQ','490329pPsJRk','1960995qUjjdn','NONE','5927931cGciVL','getCurrentTestState','exports','currentTestState','lastHookState','4qInRLU','8hBAxEL','356130dzThRG','lastTestState','1512906KXnNon','setCurrentHookState','setLastHookState','createdAt','./trackedContext','getLastHookState'];a67_0x59a1=function(){return _0x57faa9;};return a67_0x59a1();}class TestFrameworkInstance extends TrackedInstance{constructor(_0xb6f27,_0x23151e,_0x538e15,_0xf4adbd,_0x530f94){const _0x5ce1a8=a67_0x7db33,_0x3851c9={};_0x3851c9['ocwSz']=_0x5ce1a8(0xab);const _0x24ac1c=_0x3851c9,_0x2dced5=_0x24ac1c['ocwSz']['split']('|');let _0x1b4847=0x0;while(!![]){switch(_0x2dced5[_0x1b4847++]){case'0':this[_0x5ce1a8(0xbe)]=now['toLocaleString']();continue;case'1':this[_0x5ce1a8(0xaa)]=_0x538e15;continue;case'2':this[_0x5ce1a8(0xb6)]=HookState[_0x5ce1a8(0xb1)];continue;case'3':this[_0x5ce1a8(0xba)]=TestFrameworkState[_0x5ce1a8(0xb1)];continue;case'4':this[_0x5ce1a8(0xc3)]=_0x530f94;continue;case'5':super(_0xb6f27);continue;case'6':this['testFrameworks']=_0x23151e;continue;case'7':this['currentTestState']=_0xf4adbd;continue;}break;}}[a67_0x7db33(0xb3)](){const _0x17c36a=a67_0x7db33;return this[_0x17c36a(0xb5)];}['setCurrentTestState'](_0x2af33e){const _0x51530c=a67_0x7db33;this[_0x51530c(0xc1)](this[_0x51530c(0xb5)]),this[_0x51530c(0xb5)]=_0x2af33e;}['getCurrentHookState'](){const _0x22066e=a67_0x7db33;return this[_0x22066e(0xc3)];}[a67_0x7db33(0xbc)](_0x1febca){const _0x525e61=a67_0x7db33;this['setLastHookState'](this['currentHookState']),this[_0x525e61(0xc3)]=_0x1febca;}[a67_0x7db33(0xa8)](){const _0x1935f0=a67_0x7db33;return this[_0x1935f0(0xba)];}[a67_0x7db33(0xc1)](_0x1b09c1){const _0x16b2d5=a67_0x7db33;this[_0x16b2d5(0xba)]=_0x1b09c1;}[a67_0x7db33(0xc0)](){return this['lastHookState'];}[a67_0x7db33(0xbd)](_0x19db58){this['lastHookState']=_0x19db58;}[a67_0x7db33(0xad)](){const _0x3ab503=a67_0x7db33;return this[_0x3ab503(0xbe)];}}module[a67_0x7db33(0xb4)]=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_0x1eb449=a68_0x9624;function a68_0x155e(){const _0x559497=['358YyGzvp','getId','2686056YiLFPt','693011ntYuHV','204dSLNwr','exports','5871CbPFJI','processId','87798hohkHH','TrackedContext','284961FISkAf','type','24813OlMcgp','7KlKxxx','70kjHVPV','49780PrJzOE','getProcessId','getType','185zEAUKT','threadId','getThreadId'];a68_0x155e=function(){return _0x559497;};return a68_0x155e();}function a68_0x9624(_0x51d66a,_0x3a569a){const _0x155e64=a68_0x155e();return a68_0x9624=function(_0x9624b4,_0x48119a){_0x9624b4=_0x9624b4-0x6d;let _0x21084d=_0x155e64[_0x9624b4];return _0x21084d;},a68_0x9624(_0x51d66a,_0x3a569a);}(function(_0x3db58f,_0x4ba5b1){const _0x4b99a0=a68_0x9624,_0x415506=_0x3db58f();while(!![]){try{const _0x5ed581=parseInt(_0x4b99a0(0x7b))/0x1+parseInt(_0x4b99a0(0x71))/0x2*(-parseInt(_0x4b99a0(0x77))/0x3)+parseInt(_0x4b99a0(0x80))/0x4*(-parseInt(_0x4b99a0(0x6e))/0x5)+parseInt(_0x4b99a0(0x79))/0x6+-parseInt(_0x4b99a0(0x7e))/0x7*(parseInt(_0x4b99a0(0x73))/0x8)+parseInt(_0x4b99a0(0x7d))/0x9*(parseInt(_0x4b99a0(0x7f))/0xa)+parseInt(_0x4b99a0(0x74))/0xb*(parseInt(_0x4b99a0(0x75))/0xc);if(_0x5ed581===_0x4ba5b1)break;else _0x415506['push'](_0x415506['shift']());}catch(_0x4de9fd){_0x415506['push'](_0x415506['shift']());}}}(a68_0x155e,0x3b6b9));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a68_0x1eb449(0x7a));class TrackedContext{constructor(_0x243ecb,_0xc717f7,_0x1e0f1a,_0x1e54c){const _0x4771c3=a68_0x1eb449;this['id']=_0x243ecb,this['threadId']=_0xc717f7,this[_0x4771c3(0x78)]=_0x1e0f1a,this[_0x4771c3(0x7c)]=_0x1e54c;}[a68_0x1eb449(0x70)](){const _0x121d93=a68_0x1eb449;return this[_0x121d93(0x6f)];}[a68_0x1eb449(0x81)](){return this['processId'];}[a68_0x1eb449(0x72)](){return this['id'];}[a68_0x1eb449(0x6d)](){const _0x5d70bc=a68_0x1eb449;return this[_0x5d70bc(0x7c)];}}module[a68_0x1eb449(0x76)]=TrackedContext;
@@ -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
+ function a69_0xb2bf(){const _0x23c1b7=['digest','10nnquAM','keys','createContext','data','510901VJVoTV','get','forEach','OzDgv','pid','entries','updateData','10258101QEEani','96008pvDNgY','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','93kTNoGL','5510776LRYyTX','context','exports','4448255NOwiBm','worker_threads','hex','crypto','652176ywZCfh','getId','isBrowserstackAutomationSession','7zrAQoh','getAllData','createHash','set','nPEsy','28244OvKEaw','getRef','sha256','getData'];a69_0xb2bf=function(){return _0x23c1b7;};return a69_0xb2bf();}const a69_0x39abda=a69_0x4e65;(function(_0x4acd55,_0x41ab52){const _0x109ba3=a69_0x4e65,_0x271407=_0x4acd55();while(!![]){try{const _0x3b4683=parseInt(_0x109ba3(0x152))/0x1+parseInt(_0x109ba3(0x15a))/0x2+-parseInt(_0x109ba3(0x15c))/0x3*(-parseInt(_0x109ba3(0x149))/0x4)+-parseInt(_0x109ba3(0x160))/0x5+parseInt(_0x109ba3(0x141))/0x6+parseInt(_0x109ba3(0x144))/0x7*(-parseInt(_0x109ba3(0x15d))/0x8)+parseInt(_0x109ba3(0x159))/0x9*(parseInt(_0x109ba3(0x14e))/0xa);if(_0x3b4683===_0x41ab52)break;else _0x271407['push'](_0x271407['shift']());}catch(_0x399909){_0x271407['push'](_0x271407['shift']());}}}(a69_0xb2bf,0x6d527));function a69_0x4e65(_0x3b0429,_0x1c3456){const _0xb2bfcf=a69_0xb2bf();return a69_0x4e65=function(_0x4e658b,_0x2cf13e){_0x4e658b=_0x4e658b-0x13f;let _0x5ebf6e=_0xb2bfcf[_0x4e658b];return _0x5ebf6e;},a69_0x4e65(_0x3b0429,_0x1c3456);}const TrackedContext=require('./trackedContext'),crypto=require(a69_0x39abda(0x140)),{threadId}=require(a69_0x39abda(0x161));class TrackedInstance{static [a69_0x39abda(0x15b)]=a69_0x39abda(0x143);constructor(_0x273f48){const _0x1a6af4=a69_0x39abda;this[_0x1a6af4(0x15e)]=_0x273f48,this[_0x1a6af4(0x151)]=new Map();}[a69_0x39abda(0x14a)](){const _0x1035ef=a69_0x39abda;return this[_0x1035ef(0x15e)][_0x1035ef(0x142)]();}['getContext'](){const _0x1b2019=a69_0x39abda;return this[_0x1b2019(0x15e)];}[a69_0x39abda(0x145)](){const _0x59fb5b=a69_0x39abda;return this[_0x59fb5b(0x151)];}['updateMultipleEntries'](_0x4b32a2){const _0x7e0928=a69_0x39abda;Object[_0x7e0928(0x14f)](_0x4b32a2)[_0x7e0928(0x154)](_0x318ff4=>{const _0x1ea9a4=_0x7e0928;this[_0x1ea9a4(0x151)][_0x1ea9a4(0x147)](_0x318ff4,_0x4b32a2[_0x318ff4]);});}['addMultipleEntries'](_0x12ee64){const _0x3ba430=a69_0x39abda;Object[_0x3ba430(0x157)](_0x12ee64)[_0x3ba430(0x154)](([_0x3bf234,_0x5b279b])=>{const _0x5ceb9c=_0x3ba430,_0x10ca61=this[_0x5ceb9c(0x151)][_0x5ceb9c(0x153)](_0x3bf234)||{},_0x5086d3={..._0x10ca61,..._0x5b279b},_0x344b3d=_0x5086d3;this['data']['set'](_0x3bf234,_0x344b3d);});}[a69_0x39abda(0x14c)](_0x34207a){const _0x34824b=a69_0x39abda;return this[_0x34824b(0x151)][_0x34824b(0x153)](_0x34207a);}[a69_0x39abda(0x158)](_0x42f47c,_0x1de781){const _0x2eb2d3=a69_0x39abda;this[_0x2eb2d3(0x151)][_0x2eb2d3(0x147)](_0x42f47c,_0x1de781);}static[a69_0x39abda(0x150)](_0x56ecd4){const _0x4da1aa=a69_0x39abda,_0x56e671={};_0x56e671[_0x4da1aa(0x155)]=_0x4da1aa(0x14b),_0x56e671[_0x4da1aa(0x148)]=_0x4da1aa(0x13f),_0x56e671['VAOSE']=function(_0x19990b,_0x3666c6){return _0x19990b||_0x3666c6;};const _0x1ecddf=_0x56e671;return new TrackedContext(crypto[_0x4da1aa(0x146)](_0x1ecddf[_0x4da1aa(0x155)])['update'](_0x56ecd4)[_0x4da1aa(0x14d)](_0x1ecddf['nPEsy']),_0x1ecddf['VAOSE'](threadId,0x0),process[_0x4da1aa(0x156)],typeof _0x56ecd4);}}module[a69_0x39abda(0x15f)]=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_0xe83df5=a70_0x290d;function a70_0x1db5(){const _0x7d6190=['getCapabilitiesList','getCommandsList','fitAg','217NMoEEi','stack','accessibilityToken','431896jpiwED','../state/hookState','11zihivN','zPWUh','mHNBc','setLogDisabledShown','getName','registerObserver','put','error','LOG_DISABLED_SHOWN','../../../helpers/classLogger','../../../helpers/performance/performance-tester.js','getLogDisabledShown','parseFromProto','getValue','bind','isAppAccessibility','getOptions','end','PRE','1770770HAtsvH','6222330vwyFdf','onBeforeTest','scannerProcessingTimeout','../grpcClient','name','UNwDs','getAccessibilityConfig','onAfterTest:\x20event=','browserstack.accessibilityOptions.scannerVersion','accessibility','../../../helpers/performance/constants.js','onBeforeExecute','getSuccess','78BoqFXi','TrackedInstance','getCommandsToWrap','info','getModuleName','setAccessibilityToken','QUIT','accessibilityPlatform','CREATE','Lgnld','launchCaps','split','isEnabled','getCurrentAccessibilityStatus','14078HinziW','EXECUTE','browserstack.accessibilityOptions.wcagVersion','onAfterTest','setAccessibilityConfig','yqoPB','toJson','PHkBy','utPLN','../../../helpers/accessibility-automation/scripts','../state/automationFrameworkState','getAccessibility','../framework/automationFramework','message','\x20value=','exports','getScriptsList','getInstance','9PDIBmN','BROWSERSTACK_TEST_ACCESSIBILITY_YML','132cUjelt','env','1|5|9|6|0|2|4|8|3|7','lYfoV','browserstack.accessibilityOptions.authToken','1158677VXLEjG','tgucf','name:\x20','MODULE_NAME','./baseModule','4zUZvct','getCurrentInstanceName','get','toObject','94038JNKYrY','NltEt','710892iWxafu','start'];a70_0x1db5=function(){return _0x7d6190;};return a70_0x1db5();}function a70_0x290d(_0x423b30,_0x526617){const _0x1db559=a70_0x1db5();return a70_0x290d=function(_0x290df4,_0x165784){_0x290df4=_0x290df4-0xf5;let _0x3763ef=_0x1db559[_0x290df4];return _0x3763ef;},a70_0x290d(_0x423b30,_0x526617);}(function(_0x14566b,_0x4fdb0d){const _0x402156=a70_0x290d,_0xf5a520=_0x14566b();while(!![]){try{const _0x5c649c=-parseInt(_0x402156(0xfc))/0x1+-parseInt(_0x402156(0x135))/0x2*(parseInt(_0x402156(0x127))/0x3)+parseInt(_0x402156(0xf6))/0x4*(parseInt(_0x402156(0x119))/0x5)+-parseInt(_0x402156(0xfa))/0x6*(-parseInt(_0x402156(0x101))/0x7)+parseInt(_0x402156(0x104))/0x8*(parseInt(_0x402156(0x147))/0x9)+parseInt(_0x402156(0x11a))/0xa*(-parseInt(_0x402156(0x106))/0xb)+-parseInt(_0x402156(0x149))/0xc*(-parseInt(_0x402156(0x14e))/0xd);if(_0x5c649c===_0x4fdb0d)break;else _0xf5a520['push'](_0xf5a520['shift']());}catch(_0x411260){_0xf5a520['push'](_0xf5a520['shift']());}}}(a70_0x1db5,0x5778c));const BaseModule=require(a70_0xe83df5(0xf5)),{createClassLogger}=require(a70_0xe83df5(0x10f)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a70_0xe83df5(0x141)),AutomationFrameworkState=require(a70_0xe83df5(0x13f)),HookState=require(a70_0xe83df5(0x105)),GrpcClient=require(a70_0xe83df5(0x11d)),scripts=require(a70_0xe83df5(0x13e)),logger=createClassLogger(a70_0xe83df5(0x128)),PerformanceTester=require(a70_0xe83df5(0x110)),{EVENTS}=require(a70_0xe83df5(0x124));class AccessibilityModule extends BaseModule{static [a70_0xe83df5(0x151)]=AccessibilityModule[a70_0xe83df5(0x11e)];constructor(_0x39dbce){const _0x5a9d71=a70_0xe83df5,_0x1be8d5={};_0x1be8d5['fitAg']=_0x5a9d71(0x14b);const _0x53fbf5=_0x1be8d5,_0x29e3b1=_0x53fbf5[_0x5a9d71(0x100)][_0x5a9d71(0x132)]('|');let _0x22afdb=0x0;while(!![]){switch(_0x29e3b1[_0x22afdb++]){case'0':this[_0x5a9d71(0x133)]=!![];continue;case'1':super();continue;case'2':this['accessibilityConfig']=_0x39dbce[_0x5a9d71(0xf9)]();continue;case'3':this[_0x5a9d71(0x115)]=![];continue;case'4':this[_0x5a9d71(0x123)]=new Map();continue;case'5':AutomationFramework[_0x5a9d71(0x10b)](AutomationFrameworkState[_0x5a9d71(0x136)],HookState['PRE'],this[_0x5a9d71(0x125)][_0x5a9d71(0x114)](this));continue;case'6':AutomationFramework[_0x5a9d71(0x10b)](AutomationFrameworkState[_0x5a9d71(0x12d)],HookState[_0x5a9d71(0x118)],this[_0x5a9d71(0x138)]['bind'](this));continue;case'7':this[_0x5a9d71(0x12c)](_0x39dbce[_0x5a9d71(0x116)]()[_0x5a9d71(0xfe)]());continue;case'8':this[_0x5a9d71(0x10e)]=new Map();continue;case'9':AutomationFramework[_0x5a9d71(0x10b)](AutomationFrameworkState[_0x5a9d71(0x12f)],HookState[_0x5a9d71(0x118)],this[_0x5a9d71(0x11b)]['bind'](this));continue;}break;}}[a70_0xe83df5(0x133)](){const _0x3c3de8=a70_0xe83df5;return this[_0x3c3de8(0x133)];}[a70_0xe83df5(0x12b)](){const _0xcb14a8=a70_0xe83df5;return AccessibilityModule[_0xcb14a8(0x151)];}[a70_0xe83df5(0x134)](){const _0x295b49=a70_0xe83df5;return this['accessibility']['get'](CLIUtils[_0x295b49(0xf7)](),![]);}[a70_0xe83df5(0x111)](){const _0x116091=a70_0xe83df5;return this[_0x116091(0x10e)][_0x116091(0xf8)](CLIUtils[_0x116091(0xf7)](),![]);}[a70_0xe83df5(0x109)](_0x56417c){const _0xd626e5=a70_0xe83df5;this['LOG_DISABLED_SHOWN'][_0xd626e5(0x10c)](CLIUtils[_0xd626e5(0xf7)](),_0x56417c);}async[a70_0xe83df5(0x11b)](_0x9d59da){const _0x1a24e8=a70_0xe83df5;try{PerformanceTester[_0x1a24e8(0xfd)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x144183=await GrpcClient[_0x1a24e8(0x146)]()[_0x1a24e8(0x120)](_0x9d59da);_0x144183&&_0x144183['getAccessibility']()&&_0x144183[_0x1a24e8(0x140)]()[_0x1a24e8(0x126)]()&&(global[_0x1a24e8(0x12e)]=!![],process['env'][_0x1a24e8(0x148)]=!![],this[_0x1a24e8(0x139)](_0x144183,_0x9d59da)),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x31e344){PerformanceTester[_0x1a24e8(0x117)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x31e344[_0x1a24e8(0x142)]),logger[_0x1a24e8(0x10d)]('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x31e344[_0x1a24e8(0x102)]||_0x31e344[_0x1a24e8(0x142)]));}}async[a70_0xe83df5(0x139)](_0x4c6096,_0x10d12b){const _0x510502=a70_0xe83df5,_0x26c37b=_0x4c6096[_0x510502(0x140)]()[_0x510502(0x116)](),_0x1f1882=_0x26c37b[_0x510502(0x145)](),_0x182191=_0x26c37b[_0x510502(0x129)]()?.[_0x510502(0xff)]();scripts[_0x510502(0x112)](_0x1f1882,_0x182191),scripts[_0x510502(0x13b)]();const _0x30d2c5=_0x26c37b[_0x510502(0xfe)]();await this[_0x510502(0x12c)](_0x30d2c5,_0x10d12b[_0x510502(0x131)]);}async[a70_0xe83df5(0x12c)](_0x21a057,_0x2aea04={}){const _0x2193f3=a70_0xe83df5,_0x34e446={};_0x34e446[_0x2193f3(0x11f)]=function(_0x4b2de3,_0x3b4164){return _0x4b2de3===_0x3b4164;},_0x34e446['NltEt']=_0x2193f3(0x103),_0x34e446[_0x2193f3(0x14f)]=_0x2193f3(0x14d),_0x34e446[_0x2193f3(0x13c)]='wcagVersion',_0x34e446[_0x2193f3(0x13a)]=_0x2193f3(0x137),_0x34e446[_0x2193f3(0x14c)]='scannerVersion',_0x34e446['utPLN']=_0x2193f3(0x122),_0x34e446[_0x2193f3(0x130)]=function(_0xc0758f,_0x23c2af){return _0xc0758f===_0x23c2af;},_0x34e446[_0x2193f3(0x107)]=_0x2193f3(0x11c),_0x34e446[_0x2193f3(0x108)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x36ed93=_0x34e446;for(const _0x339af2 of _0x21a057){logger['info'](_0x2193f3(0x150)+_0x339af2['getName']()+_0x2193f3(0x143)+_0x339af2[_0x2193f3(0x113)]());if(_0x36ed93[_0x2193f3(0x11f)](_0x339af2[_0x2193f3(0x10a)](),_0x36ed93[_0x2193f3(0xfb)]))process[_0x2193f3(0x14a)]['BS_A11Y_JWT']=_0x339af2[_0x2193f3(0x113)](),_0x2aea04[_0x36ed93[_0x2193f3(0x14f)]]=_0x339af2[_0x2193f3(0x113)]();else{if(_0x36ed93['UNwDs'](_0x339af2['getName'](),_0x36ed93[_0x2193f3(0x13c)]))_0x2aea04[_0x36ed93[_0x2193f3(0x13a)]]=_0x339af2[_0x2193f3(0x113)]();else{if(_0x36ed93['UNwDs'](_0x339af2[_0x2193f3(0x10a)](),_0x36ed93[_0x2193f3(0x14c)]))_0x2aea04[_0x36ed93[_0x2193f3(0x13d)]]=_0x339af2[_0x2193f3(0x113)]();else _0x36ed93[_0x2193f3(0x130)](_0x339af2[_0x2193f3(0x10a)](),_0x36ed93[_0x2193f3(0x107)])&&(_0x2aea04[_0x36ed93[_0x2193f3(0x108)]]=_0x339af2['getValue']());}}}}[a70_0xe83df5(0x138)](_0x10c5f1){const _0x4ce6dc=a70_0xe83df5;logger[_0x4ce6dc(0x12a)](_0x4ce6dc(0x121)+_0x10c5f1);}[a70_0xe83df5(0x125)](_0x5c381f){const _0x1b14a6=a70_0xe83df5;logger[_0x1b14a6(0x12a)]('onBeforeExecute:\x20event='+_0x5c381f);}};module[a70_0xe83df5(0x144)]=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
+ const a71_0x50fb82=a71_0x56ea;(function(_0x46f9dd,_0x3c1d59){const _0x1a032c=a71_0x56ea,_0x5acd12=_0x46f9dd();while(!![]){try{const _0x56b549=-parseInt(_0x1a032c(0xcd))/0x1+parseInt(_0x1a032c(0xc4))/0x2+parseInt(_0x1a032c(0xba))/0x3*(parseInt(_0x1a032c(0xc1))/0x4)+parseInt(_0x1a032c(0xd6))/0x5+-parseInt(_0x1a032c(0xbc))/0x6+-parseInt(_0x1a032c(0xc2))/0x7*(parseInt(_0x1a032c(0xd3))/0x8)+parseInt(_0x1a032c(0xca))/0x9;if(_0x56b549===_0x3c1d59)break;else _0x5acd12['push'](_0x5acd12['shift']());}catch(_0x349720){_0x5acd12['push'](_0x5acd12['shift']());}}}(a71_0x5558,0x83f46));const logger=require(a71_0x50fb82(0xc8))[a71_0x50fb82(0xd2)];class BaseModule{constructor(){const _0x49f432=a71_0x50fb82,_0x36614b={};_0x36614b[_0x49f432(0xbe)]=_0x49f432(0xc7),_0x36614b[_0x49f432(0xcc)]=_0x49f432(0xd5);const _0x1bfafa=_0x36614b,_0x4f6c9a=_0x1bfafa[_0x49f432(0xbe)][_0x49f432(0xc9)]('|');let _0x1f8607=0x0;while(!![]){switch(_0x4f6c9a[_0x1f8607++]){case'0':this[_0x49f432(0xbf)]=0x0;continue;case'1':this[_0x49f432(0xcf)]=_0x1bfafa[_0x49f432(0xcc)];continue;case'2':this[_0x49f432(0xb8)]={};continue;case'3':this['binSessionId']=null;continue;case'4':this[_0x49f432(0xc5)]=null;continue;}break;}}[a71_0x50fb82(0xce)](){const _0xfb7c66=a71_0x50fb82,_0x1db949={};_0x1db949[_0xfb7c66(0xbb)]=_0xfb7c66(0xcb);const _0x1fca51=_0x1db949;if(!this['binSessionId'])throw new Error(_0x1fca51[_0xfb7c66(0xbb)]);}[a71_0x50fb82(0xd4)](){return this['name'];}[a71_0x50fb82(0xb7)](_0x229f27,_0x8ba3fb,_0x19964c,_0xa0babf={}){const _0x530318=a71_0x50fb82,_0x2aafbd={};_0x2aafbd['fqBOZ']=_0x530318(0xd0);const _0x4ce5bf=_0x2aafbd,_0x226a46=_0x4ce5bf[_0x530318(0xc3)]['split']('|');let _0x3d0313=0x0;while(!![]){switch(_0x226a46[_0x3d0313++]){case'0':this[_0x530318(0xc5)]=_0x19964c;continue;case'1':this['config']=_0xa0babf;continue;case'2':this[_0x530318(0xbf)]=_0x8ba3fb;continue;case'3':this[_0x530318(0xb6)]=_0x229f27;continue;case'4':logger[_0x530318(0xc6)](_0x530318(0xc0)+this[_0x530318(0xd4)]()+_0x530318(0xb9)+_0x229f27+_0x530318(0xbd)+_0x8ba3fb);continue;}break;}}}function a71_0x56ea(_0x456685,_0x3e833c){const _0x555843=a71_0x5558();return a71_0x56ea=function(_0x56ea49,_0x1dff6b){_0x56ea49=_0x56ea49-0xb6;let _0xad1d35=_0x555843[_0x56ea49];return _0xad1d35;},a71_0x56ea(_0x456685,_0x3e833c);}function a71_0x5558(){const _0x4543b2=['2534VTuzVz','fqBOZ','996876CDCCjD','client','debug','1|3|0|2|4','../../../helpers/logger.js','split','8846721PUhnGX','Missing\x20binSessionId','NiQVM','485427YJOziL','ensureBinSession','name','3|2|0|1|4','exports','winstonLogger','22704ejPbBb','getModuleName','BaseModule','3349825cdtgrV','binSessionId','configure','config','\x20with\x20binSessionId=','7302jxXAGr','jodEU','3845310whSOOu',',\x20platformIndex=','TuWfJ','platformIndex','Configured\x20module\x20','892BlcSHq'];a71_0x5558=function(){return _0x4543b2;};return a71_0x5558();}module[a71_0x50fb82(0xd1)]=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
+ const a72_0x57bfbe=a72_0xcfae;(function(_0xe5c7c8,_0x4b092e){const _0x745a1=a72_0xcfae,_0x1c87b9=_0xe5c7c8();while(!![]){try{const _0x16d7d3=-parseInt(_0x745a1(0xa9))/0x1+-parseInt(_0x745a1(0x92))/0x2*(parseInt(_0x745a1(0xb4))/0x3)+-parseInt(_0x745a1(0xb5))/0x4+-parseInt(_0x745a1(0x98))/0x5*(parseInt(_0x745a1(0xab))/0x6)+-parseInt(_0x745a1(0xa4))/0x7*(-parseInt(_0x745a1(0xb0))/0x8)+-parseInt(_0x745a1(0xa7))/0x9*(parseInt(_0x745a1(0xb6))/0xa)+parseInt(_0x745a1(0xb2))/0xb;if(_0x16d7d3===_0x4b092e)break;else _0x1c87b9['push'](_0x1c87b9['shift']());}catch(_0x221f6e){_0x1c87b9['push'](_0x1c87b9['shift']());}}}(a72_0x2a3b,0xf3287));function a72_0x2a3b(){const _0x4b4ab0=['registerObserver','vhgvF','./baseModule','4555btmgmX','CREATE','OHDAv','end','observabilityConfig','onBeforeTest:\x20Observability\x20sync\x20done','start','../state/automationFrameworkState.js','fTsje','ObservabilityModule','exports','SYNC','1701WXkkEt','info','sZGHg','3933uchzPl','debug','1663205gsSBtA','getModuleName','11406dtQEiN','../../../helpers/classLogger.js','logger','ObservabilitySync:','../../../helpers/performance/performance-tester.js','10312eXqsSj','onBeforeTest:\x20page\x20is\x20not\x20defined','72334185NcyThg','now','43797oBGhbp','3996328uqRPsG','16930IDbrpq','page','name','kOPEP','ufywN','../state/hookState.js','104uhXMKL','vnmzr','MODULE_NAME'];a72_0x2a3b=function(){return _0x4b4ab0;};return a72_0x2a3b();}const BaseModule=require(a72_0x57bfbe(0x97)),{createClassLogger}=require(a72_0x57bfbe(0xac)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a72_0x57bfbe(0x9f)),HookState=require(a72_0x57bfbe(0xbb)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a72_0x57bfbe(0xaf)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js');function a72_0xcfae(_0x59bb70,_0x577f3b){const _0x2a3b66=a72_0x2a3b();return a72_0xcfae=function(_0xcfae05,_0x394672){_0xcfae05=_0xcfae05-0x92;let _0x2caf4b=_0x2a3b66[_0xcfae05];return _0x2caf4b;},a72_0xcfae(_0x59bb70,_0x577f3b);}class ObservabilityModule extends BaseModule{[a72_0x57bfbe(0xad)]=createClassLogger(a72_0x57bfbe(0xa1));constructor(_0xad34c7){const _0x4b5235=a72_0x57bfbe,_0x5c6115={};_0x5c6115[_0x4b5235(0xba)]=_0x4b5235(0xa1);const _0x1ee945=_0x5c6115;super(),this[_0x4b5235(0xb8)]=_0x1ee945[_0x4b5235(0xba)],this[_0x4b5235(0x9c)]=_0xad34c7,AutomationFramework[_0x4b5235(0x95)](AutomationFrameworkState[_0x4b5235(0x99)],HookState['POST'],this['onBeforeTest']['bind'](this));}[a72_0x57bfbe(0xaa)](){const _0x14a3f6=a72_0x57bfbe;return ObservabilityModule[_0x14a3f6(0x94)];}async['onBeforeTest'](_0x12e518){const _0x43eac8=a72_0x57bfbe,_0x5552ce={'sZGHg':function(_0x4791ee,_0x5cee2d){return _0x4791ee+_0x5cee2d;},'fTsje':_0x43eac8(0xae),'vnmzr':function(_0x51bdef,_0x341967,_0x5ded62,_0x893fde){return _0x51bdef(_0x341967,_0x5ded62,_0x893fde);},'vhgvF':'debug','kOPEP':_0x43eac8(0x9d),'OHDAv':_0x43eac8(0xb1)};if(_0x12e518[_0x43eac8(0xb7)]){const _0x447277=_0x12e518[_0x43eac8(0xb7)],_0x431ad7=Date[_0x43eac8(0xb3)](),_0x3d82c1=_0x5552ce[_0x43eac8(0xa6)](_0x5552ce[_0x43eac8(0xa0)],_0x431ad7);PerformanceTester[_0x43eac8(0x9e)](O11y_EVENTS[_0x43eac8(0xa3)]),await _0x5552ce[_0x43eac8(0x93)](playwrightAnnotate,_0x447277,_0x3d82c1,_0x5552ce[_0x43eac8(0x96)]),PerformanceTester[_0x43eac8(0x9b)](O11y_EVENTS[_0x43eac8(0xa3)]),this['logger'][_0x43eac8(0xa5)](_0x5552ce[_0x43eac8(0xb9)]);}else this[_0x43eac8(0xad)][_0x43eac8(0xa8)](_0x5552ce[_0x43eac8(0x9a)]);}}ObservabilityModule[a72_0x57bfbe(0x94)]='ObservabilityModule',module[a72_0x57bfbe(0xa2)]=ObservabilityModule;