browserstack-node-sdk 1.37.0 → 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 (171) 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 +66 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_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 -1
  158. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  159. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  160. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  161. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  162. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  163. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  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
@@ -1 +1 @@
1
- const a63_0x8d6500=a63_0x5aca;(function(_0x2a5e1a,_0x3b8921){const _0xa8eda5=a63_0x5aca,_0x5b642e=_0x2a5e1a();while(!![]){try{const _0x2292a0=-parseInt(_0xa8eda5(0x1a1))/0x1+-parseInt(_0xa8eda5(0x148))/0x2*(parseInt(_0xa8eda5(0x11a))/0x3)+parseInt(_0xa8eda5(0x138))/0x4*(-parseInt(_0xa8eda5(0x1be))/0x5)+-parseInt(_0xa8eda5(0x149))/0x6+-parseInt(_0xa8eda5(0x18e))/0x7+parseInt(_0xa8eda5(0x18f))/0x8+parseInt(_0xa8eda5(0x1bb))/0x9*(parseInt(_0xa8eda5(0x19d))/0xa);if(_0x2292a0===_0x3b8921)break;else _0x5b642e['push'](_0x5b642e['shift']());}catch(_0xb63b36){_0x5b642e['push'](_0x5b642e['shift']());}}}(a63_0x36d7,0xab2d7));const TestFramework=require(a63_0x8d6500(0x168)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a63_0x8d6500(0x1a2)),{createClassLogger}=require(a63_0x8d6500(0x160)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a63_0x8d6500(0x16e)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a63_0x8d6500(0x1d6)),TestInfo=require(a63_0x8d6500(0x1ce)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a63_0x8d6500(0x1d4)),{getFailureData,getTestTags}=require(a63_0x8d6500(0x1a4)),{findNestedKey,sendTraceZip,validateFilePath}=require(a63_0x8d6500(0x1a4)),path=require(a63_0x8d6500(0x1a9)),fs=require('fs'),helper=require(a63_0x8d6500(0x1a0)),{PLAYWRIGHT_TRACE_LOGS}=require(a63_0x8d6500(0x1c0));class PlaywrightTestFramework extends TestFramework{constructor(_0xc837b9,_0x89a93d,_0xfa2726){super(_0xc837b9,_0x89a93d,_0xfa2726);}async[a63_0x8d6500(0x1a8)](_0x233d30,_0x8a177f,_0x5ce883={}){const _0x402d16=a63_0x8d6500,_0x56feb0={};_0x56feb0[_0x402d16(0x17b)]=function(_0x49a019,_0x4cb3dd){return _0x49a019===_0x4cb3dd;},_0x56feb0['ShEbN']=function(_0x3e8a26,_0x4f42f6){return _0x3e8a26===_0x4f42f6;},_0x56feb0['DOkdR']=function(_0x59ab34,_0xf769a4){return _0x59ab34===_0xf769a4;},_0x56feb0[_0x402d16(0x11c)]='test',_0x56feb0[_0x402d16(0x1da)]=_0x402d16(0x199);const _0x49d471=_0x56feb0;await super[_0x402d16(0x1a8)](_0x233d30,_0x8a177f,_0x5ce883);const _0xda6e0d=this['resolveInstance'](_0x233d30,_0x8a177f,_0x5ce883);if(!_0xda6e0d)return;logger[_0x402d16(0x174)](_0x402d16(0x136)+_0x233d30+'\x20hookState='+_0x8a177f+_0x402d16(0x14c)+_0xda6e0d[_0x402d16(0x18d)]());try{if(_0x49d471[_0x402d16(0x17b)](_0x8a177f,HookState[_0x402d16(0x134)])&&_0x49d471['ShEbN'](_0x233d30,TestFrameworkState[_0x402d16(0x141)])){const _0x478170=_0x5ce883['test'];logger[_0x402d16(0x174)](_0x402d16(0x119)+_0x478170['id']+'}');const _0x52bdf2=TestInfo[_0x402d16(0x1ba)](_0x478170['id']);_0xda6e0d[_0x402d16(0x157)](this['parsePlaywrightTest'](_0x52bdf2,_0x478170)),logger[_0x402d16(0x174)](_0x402d16(0x1cd)+_0x478170['id']+_0x402d16(0x173)+_0x233d30+_0x402d16(0x15a)+_0x8a177f+'\x20instance='+_0xda6e0d[_0x402d16(0x18d)]());}if(_0x49d471[_0x402d16(0x171)](_0x8a177f,HookState[_0x402d16(0x170)])&&_0x49d471['DOkdR'](_0x233d30,TestFrameworkState[_0x402d16(0x141)])){const _0x1d563a=_0x5ce883[_0x402d16(0x1d8)],_0x244dc5=_0x5ce883[_0x402d16(0x1c7)];logger[_0x402d16(0x174)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x1d563a['id']),_0xda6e0d[_0x402d16(0x157)](this[_0x402d16(0x1b0)](_0x1d563a['id'],_0x244dc5,_0x1d563a)),this[_0x402d16(0x1aa)](_0xda6e0d,_0x233d30,_0x8a177f,_0x49d471[_0x402d16(0x11c)],_0x5ce883);}if(CLIUtils[_0x402d16(0x15d)](_0x233d30[_0x402d16(0x187)]()['split']('.')[0x1])){const _0xdac20d=await this[_0x402d16(0x18a)](_0xda6e0d,_0x233d30,_0x8a177f,_0x5ce883);_0xda6e0d['addMultipleEntries'](_0xdac20d);}}catch(_0x2327c4){logger[_0x402d16(0x13c)](util[_0x402d16(0x1e4)](_0x49d471[_0x402d16(0x1da)],_0x233d30,_0x8a177f,_0x5ce883[_0x402d16(0x132)],_0x2327c4));}_0x5ce883['instance']=_0xda6e0d,await this[_0x402d16(0x1e2)](_0xda6e0d,_0x233d30,_0x8a177f,_0x5ce883);}[a63_0x8d6500(0x140)](_0x3ef3a3,_0x563b22,_0x4b864b={}){const _0x3fc7ba=a63_0x8d6500,_0xc5be15={};_0xc5be15[_0x3fc7ba(0x193)]=function(_0x405c29,_0x593d27){return _0x405c29===_0x593d27;};const _0x5e777a=_0xc5be15;let _0x8c1506=null;return(_0x5e777a[_0x3fc7ba(0x193)](_0x3ef3a3,TestFrameworkState[_0x3fc7ba(0x185)])||_0x5e777a['lDlys'](_0x3ef3a3,TestFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x3ef3a3,_0x4b864b),_0x8c1506=TestFramework[_0x3fc7ba(0x188)](),_0x8c1506;}[a63_0x8d6500(0x137)](_0x2232d0,_0xde0f14){const _0x2d8081=a63_0x8d6500,_0x449991=CLIUtils[_0x2d8081(0x154)](),_0x2f46c2=TrackedInstance[_0x2d8081(0x1e7)](_0x449991);let _0x190849=null;logger[_0x2d8081(0x177)](_0x2d8081(0x195)+_0x449991+_0x2d8081(0x16b)+_0x2232d0),_0x190849=new TestFrameworkInstance(_0x2f46c2,this[_0x2d8081(0x1ac)](),this['getTestFrameworksVersions'](),_0x2232d0,HookState[_0x2d8081(0x197)]),TestFramework['setTrackedInstance'](_0x2f46c2,_0x190849),logger[_0x2d8081(0x177)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2f46c2[_0x2d8081(0x191)]()+'\x20target='+_0x449991);}[a63_0x8d6500(0x122)](_0x24385b,_0x2f7764){const _0x5c9b30=a63_0x8d6500,_0x570266={'XgmZz':function(_0x59615,_0x4bd656){return _0x59615(_0x4bd656);},'LnPXg':function(_0x33e1b4,_0x12ca68){return _0x33e1b4(_0x12ca68);},'Zoxvw':function(_0x1f41c,_0x4e381c){return _0x1f41c(_0x4e381c);},'ssOgh':function(_0x434a41,_0x150caf){return _0x434a41(_0x150caf);},'tzHzk':function(_0x240407,_0x25f081){return _0x240407(_0x25f081);},'VALru':function(_0x2f6fa5,_0x384c17){return _0x2f6fa5(_0x384c17);},'EJyBy':function(_0x2e629c,_0x422883){return _0x2e629c(_0x422883);}},_0x3145d7=_0x570266[_0x5c9b30(0x123)](getPlaywrightTestId,_0x2f7764),_0x505795=_0x570266[_0x5c9b30(0x1ae)](getPlaywrightTestTitle,_0x2f7764),_0x5757e0=_0x570266[_0x5c9b30(0x179)](getTestTags,_0x2f7764),_0x373abb=_0x570266[_0x5c9b30(0x1d3)](getPlaywrightTestCode,_0x2f7764),_0x250f9c=_0x570266[_0x5c9b30(0x169)](getPlaywrightTestFilePath,_0x2f7764),_0xac7e70=_0x250f9c+':'+_0x570266[_0x5c9b30(0x1d3)](getPlaywrightTestLocation,_0x2f7764),_0x2db715=_0x570266[_0x5c9b30(0x155)](getPlaywrightTestScope,_0x2f7764),_0xfd4d85=_0x570266[_0x5c9b30(0x1ea)](getPlaywrightTestScopes,_0x2f7764),_0xde53e8=_0x570266['tzHzk'](getPlaywrightSessionName,_0x2f7764),_0x2e4425=this[_0x5c9b30(0x1ac)]()[0x0],_0x339919={[TestFrameworkConstants[_0x5c9b30(0x1a6)]]:_0x2e4425,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x5c9b30(0x1ad)]()[_0x2e4425],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5c9b30(0x1e3)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x5c9b30(0x1a3)]]:_0x24385b,[TestFrameworkConstants[_0x5c9b30(0x19b)]]:TestFrameworkConstants[_0x5c9b30(0x121)],[TestFrameworkConstants[_0x5c9b30(0x129)]]:_0xde53e8,[TestFrameworkConstants[_0x5c9b30(0x1a7)]]:_0x250f9c,[TestFrameworkConstants[_0x5c9b30(0x146)]]:_0x3145d7,[TestFrameworkConstants[_0x5c9b30(0x14d)]]:_0x505795,[TestFrameworkConstants[_0x5c9b30(0x17e)]]:_0xac7e70,[TestFrameworkConstants[_0x5c9b30(0x158)]]:_0x373abb,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5757e0,[TestFrameworkConstants[_0x5c9b30(0x12a)]]:_0x2f7764[_0x5c9b30(0x17c)][0x0][_0x5c9b30(0x142)],[TestFrameworkConstants[_0x5c9b30(0x1b7)]]:_0x2db715,[TestFrameworkConstants[_0x5c9b30(0x16f)]]:_0xfd4d85,[TestFrameworkConstants[_0x5c9b30(0x181)]]:_0x570266[_0x5c9b30(0x155)](getPlaywrightCustomRerunParam,_0x2f7764)};TestInfo[_0x5c9b30(0x1c9)](_0x2f7764['id'],_0x339919);const _0x2c0267={};return _0x2c0267[_0x3145d7]=_0x339919,_0x2c0267;}[a63_0x8d6500(0x1b0)](_0x43cd52,_0x5bf538,_0x36adad){const _0x3b80c7=a63_0x8d6500,_0x5b1bf3={'xZIMs':function(_0x4c3306,_0x33a78f){return _0x4c3306(_0x33a78f);},'HmBHK':_0x3b80c7(0x14f),'JZUsD':function(_0x56853a,_0x5c65fa){return _0x56853a===_0x5c65fa;},'Ggvvl':function(_0x31a325,_0x20340b){return _0x31a325===_0x20340b;},'CfTSd':function(_0xda8610,_0x6ed097){return _0xda8610(_0x6ed097);},'UQDIE':_0x3b80c7(0x183),'SjVrp':_0x3b80c7(0x13b),'CHriR':function(_0x541e61,_0x447efe){return _0x541e61+_0x447efe;},'nWpvT':function(_0x553287,_0x2021e2){return _0x553287===_0x2021e2;},'RjPFN':function(_0x32d199,_0x4afef){return _0x32d199===_0x4afef;},'ozjlM':_0x3b80c7(0x1d1),'iTKHf':'passed','nnkQg':function(_0x465fdc,_0x240b1c){return _0x465fdc===_0x240b1c;},'fuAhW':function(_0x219850,_0x222bc5){return _0x219850===_0x222bc5;},'MZxqV':_0x3b80c7(0x16d),'BHdmP':_0x3b80c7(0x14b),'yuSfk':function(_0x5e7f28,_0x574f45){return _0x5e7f28===_0x574f45;},'uAGmV':_0x3b80c7(0x1d9),'ihYkp':function(_0x5bfd97,_0x4c4d0d,_0x58a65b){return _0x5bfd97(_0x4c4d0d,_0x58a65b);},'IudeY':function(_0x4ddeab,_0x135ae1){return _0x4ddeab||_0x135ae1;},'Nuffw':function(_0x231540,_0x1f2a51){return _0x231540(_0x1f2a51);},'vtsVn':function(_0x2ce527,_0x4bcdfc,_0x3ba8e0){return _0x2ce527(_0x4bcdfc,_0x3ba8e0);},'AAWIn':'path','nGrLB':function(_0x5d1fed,_0x99b3c3){return _0x5d1fed(_0x99b3c3);},'azALC':function(_0x2922ed,_0x3c5d8b){return _0x2922ed>_0x3c5d8b;},'EdZOX':function(_0xdb566a,_0x562b9d){return _0xdb566a>_0x562b9d;}};logger[_0x3b80c7(0x174)](_0x3b80c7(0x13a)+_0x43cd52);const _0x4e4522=new Date(_0x5bf538[_0x3b80c7(0x142)]),_0x362aa3=_0x5bf538['duration'],_0x4abf9f=new Date(_0x5b1bf3[_0x3b80c7(0x1b9)](_0x4e4522[_0x3b80c7(0x17a)](),_0x362aa3)),_0x1f6bfb=_0x5bf538[_0x3b80c7(0x130)],_0x57b6f5=TestInfo[_0x3b80c7(0x189)](_0x43cd52)[TestFrameworkConstants[_0x3b80c7(0x124)]]||{};let _0x46dd0f=_0x1f6bfb;if(_0x5b1bf3[_0x3b80c7(0x1df)](_0x5bf538[_0x3b80c7(0x130)],_0x36adad[_0x3b80c7(0x1c3)]))_0x46dd0f=_0x5b1bf3[_0x3b80c7(0x1e0)](_0x5bf538[_0x3b80c7(0x130)],_0x5b1bf3[_0x3b80c7(0x151)])?_0x5b1bf3[_0x3b80c7(0x151)]:_0x5b1bf3[_0x3b80c7(0x1bf)];else{(_0x5b1bf3[_0x3b80c7(0x1b3)](_0x46dd0f,_0x5b1bf3[_0x3b80c7(0x1bf)])||_0x5b1bf3[_0x3b80c7(0x1d2)](_0x46dd0f,_0x5b1bf3[_0x3b80c7(0x182)])||_0x5b1bf3[_0x3b80c7(0x1b3)](_0x46dd0f,_0x5b1bf3[_0x3b80c7(0x12e)]))&&(_0x46dd0f=_0x5b1bf3[_0x3b80c7(0x182)]);if(_0x5b1bf3[_0x3b80c7(0x1df)](_0x5bf538[_0x3b80c7(0x130)],_0x5b1bf3[_0x3b80c7(0x1bf)])&&_0x5b1bf3[_0x3b80c7(0x1ca)](_0x36adad[_0x3b80c7(0x1c3)],_0x5b1bf3[_0x3b80c7(0x182)])){const _0x564a14={};_0x564a14['message']=_0x5b1bf3[_0x3b80c7(0x13e)],_0x564a14[_0x3b80c7(0x1b2)]=_0x5b1bf3[_0x3b80c7(0x13e)],_0x5bf538[_0x3b80c7(0x13c)]=_0x564a14,_0x5bf538[_0x3b80c7(0x126)]=[_0x5bf538['error']];}}const {failureData:_0x5c5f1a,logs:_0x173df8}=_0x5b1bf3['ihYkp'](getFailureData,_0x5bf538?.[_0x3b80c7(0x126)],{}),_0x321171={[TestFrameworkConstants[_0x3b80c7(0x178)]]:_0x5b1bf3[_0x3b80c7(0x128)](_0x5c5f1a,null),[TestFrameworkConstants[_0x3b80c7(0x14a)]]:_0x5bf538?.[_0x3b80c7(0x13c)]&&_0x5b1bf3['xZIMs'](getFailureType,_0x5bf538[_0x3b80c7(0x13c)][_0x3b80c7(0x1c5)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x5bf538?.[_0x3b80c7(0x13c)]&&_0x5b1bf3[_0x3b80c7(0x1cb)](removeAnsiColors,_0x5bf538[_0x3b80c7(0x13c)]['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3b80c7(0x19b)]]:_0x5bf538[_0x3b80c7(0x130)],[TestFrameworkConstants[_0x3b80c7(0x1e9)]]:_0x4abf9f['toISOString'](),[TestFrameworkConstants[_0x3b80c7(0x159)]]:new Date()[_0x3b80c7(0x156)](),[TestFrameworkConstants[_0x3b80c7(0x124)]]:_0x57b6f5},_0x254398={};_0x254398[_0x3b80c7(0x1d8)]=_0x36adad;const _0x2fc67b=this[_0x3b80c7(0x140)](TestFrameworkState['TEST'],HookState[_0x3b80c7(0x170)],_0x254398),_0x4f1420=_0x2fc67b[_0x3b80c7(0x19f)]()[_0x3b80c7(0x1ec)](_0x43cd52)[TestFrameworkConstants[_0x3b80c7(0x1a3)]],_0x43e7d2=[],_0x44df3a=_0x5b1bf3[_0x3b80c7(0x147)](findNestedKey,_0x5bf538,_0x5b1bf3[_0x3b80c7(0x131)]);if(_0x44df3a&&_0x5b1bf3[_0x3b80c7(0x1b6)](validateFilePath,_0x44df3a))try{_0x43e7d2['push']({'kind':_0x5b1bf3[_0x3b80c7(0x1bd)],'timestamp':new Date()[_0x3b80c7(0x156)](),'test_run_uuid':_0x4f1420,'file_name':path[_0x3b80c7(0x1cf)](_0x44df3a),'file_size':fs[_0x3b80c7(0x198)](_0x44df3a)[_0x3b80c7(0x13f)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x537206){logger[_0x3b80c7(0x13c)](_0x3b80c7(0x153)+_0x44df3a+':\x20'+_0x537206[_0x3b80c7(0x1c5)]);}const _0x504ac4=TestInfo[_0x3b80c7(0x12c)](),_0x5533a8=_0x504ac4[_0x3b80c7(0x163)](_0x757227=>_0x757227[_0x3b80c7(0x143)]===_0x4f1420);_0x5533a8[_0x3b80c7(0x184)](_0x26e897=>{const _0x3217a7=_0x3b80c7;if(_0x26e897['filePath']&&_0x5b1bf3[_0x3217a7(0x1dc)](validateFilePath,_0x26e897[_0x3217a7(0x1e6)])&&!_0x43e7d2[_0x3217a7(0x1c6)](_0x220a86=>_0x220a86[_0x3217a7(0x1ab)]===path[_0x3217a7(0x1cf)](_0x26e897['filePath'])))try{_0x43e7d2[_0x3217a7(0x11f)]({'kind':_0x5b1bf3[_0x3217a7(0x1bd)],'timestamp':new Date()[_0x3217a7(0x156)](),'test_run_uuid':_0x4f1420,'file_name':path[_0x3217a7(0x1cf)](_0x26e897[_0x3217a7(0x1e6)]),'file_size':fs[_0x3217a7(0x198)](_0x26e897[_0x3217a7(0x1e6)])[_0x3217a7(0x13f)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1244d5){logger[_0x3217a7(0x13c)](_0x3217a7(0x1eb)+_0x26e897[_0x3217a7(0x1e6)]+_0x3217a7(0x162)+_0x1244d5[_0x3217a7(0x1c5)]);}});if(_0x5b1bf3[_0x3b80c7(0x1d0)](_0x43e7d2[_0x3b80c7(0x132)],0x0)){const _0x57d5b8=_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]||[];_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]=[..._0x57d5b8,..._0x43e7d2];}const _0x5c37bf=TestInfo[_0x3b80c7(0x189)](_0x43cd52)[TestFrameworkConstants[_0x3b80c7(0x1e5)]]||{},_0x4735d4=_0x5b1bf3[_0x3b80c7(0x15b)](getManualUploadLogs,_0x5c37bf,_0x2fc67b[_0x3b80c7(0x19f)]()['get'](_0x43cd52)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x5b1bf3[_0x3b80c7(0x17d)](_0x4735d4['length'],0x0)){const _0x599ee7=_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]||[];_0x321171[TestFrameworkConstants[_0x3b80c7(0x192)]]=[..._0x599ee7,..._0x4735d4];}const _0x1747e0=_0x36adad[_0x3b80c7(0x1b1)]||[],_0x5a9cd5=_0x321171[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x1747e0['forEach'](_0x3ec34e=>{const _0x428caf=_0x3b80c7,{type:_0x8208ac}=_0x3ec34e;let _0x2b453e=_0x3ec34e[_0x428caf(0x11b)];if(!_0x8208ac)return;(_0x5b1bf3[_0x428caf(0x15c)](_0x2b453e,undefined)||_0x5b1bf3[_0x428caf(0x15c)](_0x2b453e,null)||_0x5b1bf3[_0x428caf(0x15e)](_0x5b1bf3[_0x428caf(0x1af)](String,_0x2b453e)['trim'](),''))&&(_0x2b453e=_0x5b1bf3[_0x428caf(0x152)]);if(!_0x5a9cd5[_0x8208ac]){const _0x6a8cb={};_0x6a8cb[_0x428caf(0x12b)]=_0x5b1bf3[_0x428caf(0x186)],_0x6a8cb['values']=[],_0x5a9cd5[_0x8208ac]=_0x6a8cb;}else!_0x5a9cd5[_0x8208ac][_0x428caf(0x12b)]&&(_0x5a9cd5[_0x8208ac]['field_type']=_0x5b1bf3[_0x428caf(0x186)]),!Array[_0x428caf(0x166)](_0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)])&&(_0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)]=[]);const _0x142606=_0x5b1bf3[_0x428caf(0x1dc)](String,_0x2b453e)[_0x428caf(0x127)](',')[_0x428caf(0x120)](_0x36ab65=>_0x36ab65[_0x428caf(0x145)]());_0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)]=[...new Set([..._0x5a9cd5[_0x8208ac][_0x428caf(0x1bc)],..._0x142606])];}),_0x321171[TestFrameworkConstants[_0x3b80c7(0x124)]]=_0x5a9cd5,TestInfo[_0x3b80c7(0x1c9)](_0x43cd52,_0x321171);const _0x5d2461={};return _0x5d2461[_0x43cd52]=_0x321171,_0x5d2461;}async[a63_0x8d6500(0x18a)](_0x192289,_0x302162,_0x35c48b,_0x118630){const _0x149ce6=a63_0x8d6500,_0x134053={'hUZiY':function(_0x54d5af,_0x21286d){return _0x54d5af in _0x21286d;},'EYQOR':function(_0x58cf92,_0x17c834){return _0x58cf92 in _0x17c834;},'fXjRA':function(_0x5909d1,_0x212e15){return _0x5909d1(_0x212e15);},'SBlTv':function(_0x193d54,_0x2f7068){return _0x193d54===_0x2f7068;},'TVpyy':function(_0x4cb2c9){return _0x4cb2c9();},'wJGqB':function(_0x5a52e9,_0x591354){return _0x5a52e9===_0x591354;},'qiULi':function(_0xf8bd96,_0x639d5e){return _0xf8bd96>_0x639d5e;},'kYMlS':function(_0x2d1ec3,_0x2e94ee,_0x20b30c){return _0x2d1ec3(_0x2e94ee,_0x20b30c);},'YhlWL':_0x149ce6(0x1c8),'xsZhf':function(_0xac39a,_0x16f289){return _0xac39a(_0x16f289);},'HjHWB':function(_0x472015,_0x3bf55a){return _0x472015(_0x3bf55a);},'ayZNV':'failed','Drinr':_0x149ce6(0x1db),'uhucf':function(_0x149a13,_0x379232){return _0x149a13!==_0x379232;},'MNUuB':function(_0x452745,_0x2023e4){return _0x452745+_0x2023e4;},'wEPnN':_0x149ce6(0x175)},_0x3901e4=_0x118630[_0x149ce6(0x1d8)],_0x328a50=_0x118630[_0x149ce6(0x16a)],_0x5d90ad=_0x118630['test']['id'],_0x2a2f67=_0x302162[_0x149ce6(0x187)]()[_0x149ce6(0x127)]('.')[0x1];let _0x5c96af=_0x192289['getAllData']()['get'](_0x5d90ad)[TestFrameworkConstants[_0x149ce6(0x125)]];!_0x5c96af&&(_0x5c96af={});!_0x134053[_0x149ce6(0x1b8)](_0x2a2f67,_0x5c96af)&&(_0x5c96af[_0x2a2f67]=[]);let _0x150c0b=_0x192289[_0x149ce6(0x19f)]()[_0x149ce6(0x1ec)](_0x5d90ad)[TestFrameworkConstants[_0x149ce6(0x1e3)]];!_0x150c0b&&(_0x150c0b={});!_0x134053['EYQOR'](_0x2a2f67,_0x150c0b)&&(_0x150c0b[_0x2a2f67]=[]);const _0x292350={[TestFrameworkConstants[_0x149ce6(0x125)]]:_0x5c96af,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x150c0b},_0x5049fc={};_0x5049fc[_0x5d90ad]=_0x292350;const _0x5c485a=_0x5049fc,_0x5c350a=_0x134053[_0x149ce6(0x1e1)](getPlaywrightTestFilePath,_0x3901e4),_0x34350b=_0x5c350a+':'+_0x134053['fXjRA'](getPlaywrightTestLocation,_0x3901e4),_0x5efffd=TestInfo[_0x149ce6(0x189)](_0x5d90ad)[TestFrameworkConstants[_0x149ce6(0x124)]]||{};if(_0x134053[_0x149ce6(0x1c4)](_0x35c48b,HookState['PRE'])){const _0xe555eb={'key':_0x2a2f67,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x134053[_0x149ce6(0x1b5)](uuidv4),[TestFrameworkConstants[_0x149ce6(0x139)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x149ce6(0x12d)]]:_0x328a50[_0x149ce6(0x142)],[TestFrameworkConstants[_0x149ce6(0x11e)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x328a50[_0x149ce6(0x133)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5c350a,[TestFrameworkConstants[_0x149ce6(0x17e)]]:_0x34350b,[TestFrameworkConstants[_0x149ce6(0x124)]]:_0x5efffd};_0x5c96af[_0x2a2f67]['push'](_0xe555eb),_0x5c485a[_0x5d90ad][TestFrameworkConstants[_0x149ce6(0x1ee)]]=_0x2a2f67,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x2a2f67+_0x149ce6(0x1ed)+_0xe555eb+_0x149ce6(0x14e)+_0x118630);}else{if(_0x134053[_0x149ce6(0x11d)](_0x35c48b,HookState[_0x149ce6(0x170)])){const _0x579d3a=await _0x118630['result'],_0x3c6306=_0x5c96af[_0x2a2f67]||[],_0x97f75d=_0x118630[_0x149ce6(0x16a)];logger[_0x149ce6(0x174)](_0x149ce6(0x165)+_0x3c6306+_0x149ce6(0x16c)+_0x118630);if(_0x134053[_0x149ce6(0x190)](_0x3c6306['length'],0x0)){const _0x4df7b8=_0x3c6306[_0x149ce6(0x161)]();if(_0x97f75d[_0x149ce6(0x13c)]){const _0x2e7148=_0x134053['kYMlS'](failureData,_0x97f75d['error'],_0x134053[_0x149ce6(0x196)]);_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x13d)]]=_0x134053['xsZhf'](getFailureType,_0x97f75d?.[_0x149ce6(0x13c)][_0x149ce6(0x1c5)]),_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x172)]]=_0x134053[_0x149ce6(0x17f)](removeAnsiColors,_0x97f75d?.[_0x149ce6(0x13c)]['message']),_0x4df7b8[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x134053[_0x149ce6(0x1c2)],_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x19a)]]=_0x2e7148;}else _0x4df7b8[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x134053[_0x149ce6(0x18c)];_0x134053[_0x149ce6(0x19c)](_0x579d3a,TestFrameworkConstants[_0x149ce6(0x19e)])&&(_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x139)]]=!_0x97f75d['error']?_0x134053[_0x149ce6(0x18c)]:_0x134053[_0x149ce6(0x1c2)]);const _0x35095c=new Date(_0x97f75d[_0x149ce6(0x142)]),_0x4ec652=new Date(_0x134053['MNUuB'](_0x35095c[_0x149ce6(0x17a)](),_0x97f75d[_0x149ce6(0x12f)]));_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x1e8)]]=_0x4ec652[_0x149ce6(0x156)](),_0x4df7b8[TestFrameworkConstants[_0x149ce6(0x124)]]=_0x5efffd;const _0x5b89dc=_0x4df7b8[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x192289,_0x302162,_0x5b89dc,_0x134053['wEPnN'],_0x118630),!_0x150c0b[_0x2a2f67]&&(_0x150c0b[_0x2a2f67]=[]),_0x150c0b[_0x2a2f67][_0x149ce6(0x11f)](_0x4df7b8),_0x5c485a[_0x5d90ad][TestFrameworkConstants[_0x149ce6(0x1c1)]]=_0x2a2f67;}}}return _0x5c485a;}async['sendLogCreatedEvent'](_0x2efe15,_0x25179f,_0x717a28,_0x8e1115,_0x5ceee5){const _0x3560c2=a63_0x8d6500,_0x59f75b={'FIikK':function(_0x48d9a0,_0x163495){return _0x48d9a0===_0x163495;},'aWxFd':_0x3560c2(0x1d8),'qGQZp':function(_0x320e50,_0x15391a,_0x12bd5e){return _0x320e50(_0x15391a,_0x12bd5e);},'wquby':function(_0x1692d6,_0x430d36,_0x4a4734,_0x11882a){return _0x1692d6(_0x430d36,_0x4a4734,_0x11882a);},'QhKOl':function(_0xc62704,_0x1bd842,_0x2b094f,_0x27e429,_0x3e0ac2){return _0xc62704(_0x1bd842,_0x2b094f,_0x27e429,_0x3e0ac2);},'dSyyU':function(_0x4d25ed,_0x56e026,_0x3ce160,_0x1f3f5d){return _0x4d25ed(_0x56e026,_0x3ce160,_0x1f3f5d);},'fcTpf':_0x3560c2(0x175)};try{if(_0x59f75b[_0x3560c2(0x1a5)](_0x8e1115,_0x59f75b['aWxFd'])){const _0x130842=await _0x5ceee5[_0x3560c2(0x1c7)],_0x4761c9=_0x5ceee5[_0x3560c2(0x1d8)]['id'],_0xf21f3f=_0x5ceee5['test'];logger['debug'](_0x3560c2(0x176)+_0x4761c9);const _0x341285=_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]];await _0x59f75b[_0x3560c2(0x1dd)](sendTraceZip,_0x130842,_0x341285);const {steps:_0x2a821f,logs:_0x43923e}=_0x59f75b[_0x3560c2(0x1d5)](getStepsAndLogs,_0x130842[_0x3560c2(0x18b)],_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]],_0x59f75b[_0x3560c2(0x1d7)]),_0x47cf6c=_0x59f75b[_0x3560c2(0x1dd)](getScreenshots,_0x130842,_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]]),{_:_0x2cebc3,logs:_0x255956}=_0x59f75b[_0x3560c2(0x1dd)](getFailureData,_0x130842['errors'],{'test_run_uuid':_0x2efe15[_0x3560c2(0x19f)]()['get'](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1a3)]]}),_0x466562=TestInfo[_0x3560c2(0x189)](_0x4761c9)[TestFrameworkConstants[_0x3560c2(0x1e5)]]||{},_0x2af684=_0x59f75b[_0x3560c2(0x1dd)](getMediaArtifactsLogs,_0x466562,_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x3bed10=_0x2efe15[_0x3560c2(0x19f)]()[_0x3560c2(0x1ec)](_0x4761c9),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4ba5c7='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x520d2f=''}=_0x3bed10,_0x3e5fec={'platformIndex':'0','logs':[..._0x43923e||[],..._0x47cf6c||[],..._0x255956||[],..._0x2af684||[]],'testFrameworkName':_0x4ba5c7,'testFrameworkVersion':_0x520d2f,'testFrameworkState':_0x25179f[_0x3560c2(0x187)]()[_0x3560c2(0x127)]('.')[0x1]};_0x59f75b['QhKOl'](updatePayloadForTraceLogs,_0x3e5fec,_0x5ceee5,_0x4761c9,_0x2efe15),logger[_0x3560c2(0x174)](_0x3560c2(0x135)+_0x4761c9+_0x3560c2(0x150)+util[_0x3560c2(0x194)](_0x3e5fec));const _0x417070=await GrpcClient[_0x3560c2(0x1b4)]()[_0x3560c2(0x144)](_0x3e5fec);}else{const {steps:_0x57f285,logs:_0x4768bb}=_0x59f75b[_0x3560c2(0x180)](getStepsAndLogs,_0x5ceee5[_0x3560c2(0x16a)][_0x3560c2(0x18b)],_0x717a28,_0x59f75b[_0x3560c2(0x1de)]),_0x256efb=_0x5ceee5[_0x3560c2(0x1d8)]['id'];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x256efb);const _0x442fc8=_0x2efe15['getAllData']()[_0x3560c2(0x1ec)](_0x256efb),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1f7ffd='',[TestFrameworkConstants[_0x3560c2(0x164)]]:_0x2ca2a1=''}=_0x442fc8,_0x29e1fa={'platformIndex':'0','logs':_0x4768bb,'testFrameworkName':_0x1f7ffd,'testFrameworkVersion':_0x2ca2a1,'testFrameworkState':_0x25179f[_0x3560c2(0x187)]()[_0x3560c2(0x127)]('.')[0x1]};_0x59f75b[_0x3560c2(0x15f)](updatePayloadForTraceLogs,_0x29e1fa,_0x5ceee5,_0x256efb,_0x2efe15),logger[_0x3560c2(0x174)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x256efb+_0x3560c2(0x150)+util[_0x3560c2(0x194)](_0x29e1fa));const _0x418382=await GrpcClient[_0x3560c2(0x1b4)]()['logCreatedEvent'](_0x29e1fa);}}catch(_0x51ab31){logger[_0x3560c2(0x13c)](_0x3560c2(0x1cc)+util[_0x3560c2(0x1e4)](_0x51ab31));}}}function a63_0x36d7(){const _0x39b787=['10LaytFx','DEFAULT_HOOK_RESULT','getAllData','../../../../src/helpers/helper','493580lPhQOT','../state/hookState.js','KEY_TEST_UUID','../../playwright/reporter/pwUtils','FIikK','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_FILE_PATH','trackEvent','path','sendLogCreatedEvent','file_name','getTestFrameworks','getTestFrameworksVersions','LnPXg','CfTSd','parsePlaywrightTestResult','annotations','stack','nnkQg','getInstance','TVpyy','nGrLB','KEY_TEST_SCOPE','hUZiY','CHriR','getTestUUID','23116383fFJYZA','values','HmBHK','38990fSSMhv','iTKHf','../../utils/constants','KEY_HOOK_LAST_FINISHED','ayZNV','expectedStatus','SBlTv','message','some','result','err','setTestDetails','yuSfk','Nuffw','Error\x20in\x20sendLogCreatedEvent:\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../TestInfo.js','basename','azALC','skipped','fuAhW','ssOgh','../../../helpers/test-observability/utils','wquby','../../../helpers/helper.js','aWxFd','test','Expected\x20to\x20fail,\x20but\x20passed.','qIyVF','passed','xZIMs','qGQZp','fcTpf','nWpvT','RjPFN','fXjRA','runHooks','KEY_HOOKS_FINISHED','format','KEY_TEST_ATTACHMENTS','filePath','createContext','KEY_EVENT_ENDED_AT','KEY_TEST_ENDED_AT','EJyBy','Error\x20processing\x20trace\x20file\x20','get','\x20&\x20hook\x20=\x20','KEY_HOOK_LAST_STARTED','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','1884zwTDjZ','description','moVbs','wJGqB','KEY_HOOK_LOGS','push','map','DEFAULT_TEST_RESULT','parsePlaywrightTest','XgmZz','KEY_CUSTOM_TAGS','KEY_HOOKS_STARTED','errors','split','IudeY','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_STARTED_AT','field_type','getTraceFilePaths','KEY_EVENT_STARTED_AT','BHdmP','duration','status','AAWIn','length','title','PRE','sendLogCreatedEvent\x20for\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trackPlaywrightInstance','276VQkvvd','KEY_HOOK_RESULT','parsePlaywrightTestResult:\x20testId=','multi_dropdown','error','KEY_HOOK_FAILURE_TYPE','uAGmV','size','resolveInstance','TEST','startTime','testUId','logCreatedEvent','trim','KEY_TEST_ID','vtsVn','2200EhAuDM','8271990MasRXX','KEY_TEST_FAILURE_TYPE','timedOut','\x20instanceId=','KEY_TEST_NAME','\x20\x20and\x20args\x20=\x20','TEST_ATTACHMENT','\x20payload=','ozjlM','UQDIE','Error\x20processing\x20direct\x20trace\x20file\x20','getCurrentInstanceName','VALru','toISOString','addMultipleEntries','KEY_TEST_CODE','KEY_TEST_RESULT_AT','\x20testHookState=','ihYkp','JZUsD','matchHookRegex','Ggvvl','QhKOl','../../../helpers/classLogger.js','pop','\x20from\x20TestDetails:\x20','filter','KEY_TEST_FRAMEWORK_VERSION','Hook\x20List\x20in\x20Post\x20','isArray','exports','./testFramework','tzHzk','step',',\x20state=','\x20and\x20args\x20=\x20','failed','../cliUtils.js','KEY_TEST_SCOPES','POST','DOkdR','KEY_HOOK_FAILURE_REASON',',\x20testFrameworkState=','debug','hook','sendLogCreatedEvent:\x20testId=','info','KEY_TEST_FAILURE','Zoxvw','getTime','RZhaX','results','EdZOX','KEY_TEST_LOCATION','HjHWB','dSyyU','KEY_TEST_RERUN_NAME','MZxqV','No\x20reason\x20provided','forEach','INIT_TEST','SjVrp','toString','getTrackedInstance','getTestDetails','trackHookEvent','steps','Drinr','getRef','34041rJXfcN','9909008oaLZsH','qiULi','getId','KEY_LOGS','lDlys','inspect','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','YhlWL','NONE','statSync','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOK_FAILURE','KEY_TEST_RESULT','uhucf'];a63_0x36d7=function(){return _0x39b787;};return a63_0x36d7();}function a63_0x5aca(_0x518973,_0x211fbb){const _0x36d7e1=a63_0x36d7();return a63_0x5aca=function(_0x5aca96,_0x3698b6){_0x5aca96=_0x5aca96-0x119;let _0x19caec=_0x36d7e1[_0x5aca96];return _0x19caec;},a63_0x5aca(_0x518973,_0x211fbb);}module[a63_0x8d6500(0x167)]=PlaywrightTestFramework;
1
+ 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 a64_0x4d2ff1=a64_0x144d;function a64_0x144d(_0x2c153f,_0x341435){const _0x447bcd=a64_0x447b();return a64_0x144d=function(_0x144d61,_0x993670){_0x144d61=_0x144d61-0x9b;let _0x25207d=_0x447bcd[_0x144d61];return _0x25207d;},a64_0x144d(_0x2c153f,_0x341435);}(function(_0x332544,_0x5a590e){const _0x10366a=a64_0x144d,_0x4a3c58=_0x332544();while(!![]){try{const _0x592195=-parseInt(_0x10366a(0xc5))/0x1*(-parseInt(_0x10366a(0xc3))/0x2)+-parseInt(_0x10366a(0xc6))/0x3+parseInt(_0x10366a(0xac))/0x4*(-parseInt(_0x10366a(0xa5))/0x5)+-parseInt(_0x10366a(0xb3))/0x6*(-parseInt(_0x10366a(0xb1))/0x7)+-parseInt(_0x10366a(0xbb))/0x8*(parseInt(_0x10366a(0xa3))/0x9)+-parseInt(_0x10366a(0xb4))/0xa*(-parseInt(_0x10366a(0xbe))/0xb)+-parseInt(_0x10366a(0xa8))/0xc*(parseInt(_0x10366a(0xaf))/0xd);if(_0x592195===_0x5a590e)break;else _0x4a3c58['push'](_0x4a3c58['shift']());}catch(_0x442a47){_0x4a3c58['push'](_0x4a3c58['shift']());}}}(a64_0x447b,0xc3ba8));function a64_0x447b(){const _0x484a06=['../instances/testFrameworkInstance','9FRjWxe','testFrameworks','1036785mzKLxe','runHooks','../state/testFrameworkState','12908436yIhjXE','registerObserver','set','instances','24xbckyP','getInstances',';\x20hookState=','13IqPaCN','getTrackedInstance','8225LvqDSp','setCurrentTestState','3378IFSIgu','12270HQiDaK','createContext','trackEvent','trackEvent:\x20testFrameworkState=','getTestFrameworksVersions','../eventDispatcher','testFrameworkVersions','499808UJYbqX','getTestFrameworks','getAllData','13222TOIIDY','../cliUtils','debug','../../../helpers/classLogger','setCurrentHookState','26jITUhE','../instances/trackedContext','110455KIlYss','1164807LvgGlN','has','setState','setInstance','TestFramework','getHookRegistryKey','getId','getState','binSessionId'];a64_0x447b=function(){return _0x484a06;};return a64_0x447b();}const CLIUtils=require(a64_0x4d2ff1(0xbf)),eventDispatcher=require(a64_0x4d2ff1(0xb9)),TestFrameworkInstance=require(a64_0x4d2ff1(0xa2)),TrackedContext=require(a64_0x4d2ff1(0xc4)),TestFrameworkState=require(a64_0x4d2ff1(0xa7)),HookState=require('../state/hookState'),{createClassLogger}=require(a64_0x4d2ff1(0xc1)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a64_0x4d2ff1(0x9d));class TestFramework{static ['instances']=new Map();[a64_0x4d2ff1(0xa4)]=[];[a64_0x4d2ff1(0xba)]={};[a64_0x4d2ff1(0xa1)]=null;constructor(_0x3cd499,_0x3c5700,_0x3f47a5){const _0x3896b5=a64_0x4d2ff1;this[_0x3896b5(0xa4)]=_0x3cd499,this[_0x3896b5(0xba)]=_0x3c5700,this[_0x3896b5(0xa1)]=_0x3f47a5;}[a64_0x4d2ff1(0xad)](){const _0x58f2ba=a64_0x4d2ff1;return TestFramework[_0x58f2ba(0xab)];}[a64_0x4d2ff1(0x9c)](_0x392615,_0x55fb03){const _0x5b49ac=a64_0x4d2ff1;TestFramework[_0x5b49ac(0xab)][_0x5b49ac(0xaa)](_0x392615[_0x5b49ac(0x9f)],_0x55fb03);}static[a64_0x4d2ff1(0xb0)](){const _0x3c7731=a64_0x4d2ff1,_0xbc76a3=TrackedInstance[_0x3c7731(0xb5)](CLIUtils['getCurrentInstanceName']());return TestFramework[_0x3c7731(0xab)]['get'](_0xbc76a3['getId']());}static['setTrackedInstance'](_0x3e1655,_0x4d4671){const _0x1754df=a64_0x4d2ff1;TestFramework[_0x1754df(0xab)][_0x1754df(0xaa)](_0x3e1655[_0x1754df(0x9f)](),_0x4d4671);}[a64_0x4d2ff1(0xb8)](){const _0x9f3267=a64_0x4d2ff1;return this[_0x9f3267(0xba)];}[a64_0x4d2ff1(0xbc)](){return this['testFrameworks'];}[a64_0x4d2ff1(0xb6)](_0x29fadf,_0x10548b,_0x1bd4a6={}){const _0x207047=a64_0x4d2ff1;logger[_0x207047(0xc0)](_0x207047(0xb7)+_0x29fadf+_0x207047(0xae)+_0x10548b);}async[a64_0x4d2ff1(0xa6)](_0x1f14a3,_0x4eda4f,_0x4b43c0,_0x5b9f4b={}){const _0x15b987=a64_0x4d2ff1,_0x3df4d4=CLIUtils[_0x15b987(0x9e)](_0x4eda4f,_0x4b43c0);_0x1f14a3[_0x15b987(0xb2)](_0x4eda4f),_0x1f14a3[_0x15b987(0xc2)](_0x4b43c0),await eventDispatcher['notifyObserver'](_0x3df4d4,_0x5b9f4b);}static[a64_0x4d2ff1(0xa9)](_0x41e5d3,_0x4705a1,_0x1548d1){const _0x1d28cd=a64_0x4d2ff1;eventDispatcher[_0x1d28cd(0xa9)](CLIUtils[_0x1d28cd(0x9e)](_0x41e5d3,_0x4705a1),_0x1548d1);}static[a64_0x4d2ff1(0xa0)](_0x48a3f7,_0x2aeb6d){return _0x48a3f7['getAllData']()['get'](_0x2aeb6d);}static[a64_0x4d2ff1(0x9b)](_0x5896cb,_0x5753a2,_0xac7123){const _0x30605d=a64_0x4d2ff1;_0x5896cb[_0x30605d(0xbd)]()['set'](_0x5753a2,_0xac7123);}static['hasState'](_0x4ad9cc,_0x351a8e){const _0x972731=a64_0x4d2ff1;return _0x4ad9cc[_0x972731(0xbd)]()[_0x972731(0xc7)](_0x351a8e);}}module['exports']=TestFramework;
1
+ 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 a65_0x950fb4=a65_0x48d0;(function(_0x4dfca8,_0x2e088e){const _0x1a1b0b=a65_0x48d0,_0x3ce5f1=_0x4dfca8();while(!![]){try{const _0x1e3a06=parseInt(_0x1a1b0b(0x1c4))/0x1*(parseInt(_0x1a1b0b(0x12a))/0x2)+parseInt(_0x1a1b0b(0x1a3))/0x3*(-parseInt(_0x1a1b0b(0x162))/0x4)+parseInt(_0x1a1b0b(0x187))/0x5+-parseInt(_0x1a1b0b(0x1ed))/0x6*(-parseInt(_0x1a1b0b(0x17d))/0x7)+parseInt(_0x1a1b0b(0x1ec))/0x8*(-parseInt(_0x1a1b0b(0x1a6))/0x9)+parseInt(_0x1a1b0b(0x136))/0xa+-parseInt(_0x1a1b0b(0x19f))/0xb;if(_0x1e3a06===_0x2e088e)break;else _0x3ce5f1['push'](_0x3ce5f1['shift']());}catch(_0x38d354){_0x3ce5f1['push'](_0x3ce5f1['shift']());}}}(a65_0x502d,0xe3a95));function a65_0x502d(){const _0x7b6ec8=['TestSessionEventRequest','TestFrameworkEvent\x20error:\x20','set','Stopping\x20signal\x20','setPathConfig','Mwbsj','uuid','setFilePath','launchcaps','listenAddress','Error\x20in\x20TestFrameworkEvent:\x20','SDK_CONNECT_BIN_SESSION','timestamp','Error\x20in\x20getPlaywrightConfig:\x20','No\x20gRPC\x20client\x20not\x20initialized.','tHcnb','setTestFrameworkVersion','ref','setSdkVersion','SDK_CLI_ON_STOP','ConnectBinSessionRequest','end','setSdkLanguage','argv','../../../generated/sdk-messages_pb','YdSzx','../../../generated/sdk_grpc_pb','920152TlZLKI','Sending\x20LogCreatedEvent','getPlaywrightConfig','Connecting\x20bin\x20session','Error\x20in\x20getAccessibilityConfig:\x20','GGPdm','stopBinSession','frameworkSessionId','BROWSERSTACK_CONFIG_FILE_PATH','from','threadId','@grpc/grpc-js','playwrightConfig','setHash','UiUGT','setFileName','info','qleLe','util','GgbTU','setLevel','setUuid','env','message','rgQII','grpc.keepalive_time_ms','setProvider','7hHjfZf','setExecutionContext','gmNku','connect','BROWSERSTACK_CLI_BIN_SESSION_ID','Jdoga','xleoM','PlaywrightConfig\x20error:\x20','testFrameworkEvent','StartBinSession\x20successful','5950135orQsEj','Sending\x20DriverInit','hgcbq','winstonLogger','TVUYY','setExitReason','lPvZv','xCTlI','AVPJT','Error\x20in\x20connectBinSession:\x20','RuZpT','logCreatedEvent','getSdkLanguage','getInstance','Sending\x20TestFrameworkEvent','testFrameworkVersion','StartBinSessionRequest','setExitCode','kNvxw','KCIbm','SPqCy','format','LZQcV','ExecutionContext','11216744GPJnTD','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','SDK_AUTOMATION_FRAMEWORK_INIT','setCapabilities','15qEqFeM','LogCreatedEvent\x20request\x20successful','gXddf','35145ZQhpVz','setStartedAt','credentials','PjbBn','logger','setLanguage','setHubUrl','testSessionEvent','setFrameworkVersion','ANvfr','LogEntry','xfmdT','Getting\x20Playwright\x20config','YWCdZ','Missing\x20binSessionId','connectBinSession','czNgn','setEndedAt','getAutomationFrameworkDetail','gIRQe','path','getFrameworkVersionsMap','jmJyR','./cliUtils.js','YKzRF','Spjxv','Error\x20in\x20DriverInit:\x20','YtXKU','stop-bin-session\x20response:\x20','vMBJP','3339JyDDpE','accessibilityConfig','AlkeO','test_run_uuid','user_killed','forEach','../../helpers/classLogger.js','encode','testFrameworkState','WfGJv','XkXPS','addLogs','client','frameworkName','aIvoz','TestFrameworkEventRequest','setThreadId','Error\x20in\x20startBinSession:\x20','SDK_START_BIN_SESSION','setTestUuid','setTestHookState','startBinSession','PlaywrightConfig\x20request\x20successful','filePath','TestSessionEvent\x20request\x20successful','getEnvVarsMap','version','getChannel','channel','pvEuR','EJFWY','ZyfAK','Error\x20in\x20TestSessionEvent:\x20','addAutomationSessions','level','StartBinSession\x20error:\x20','keOmx','BaEjn','gLpfP','jWyYR','3056pgkTse','458322VbFDew','attachment_type','stringify','jBLKW','setCustomMetadata','setRef','setTimestamp','mzfyH','binSessionId','error','sRhXw','DriverInit\x20request\x20successful','setMessage','AccessibilityConfig\x20request\x20successful','iuuRD','WVFrs','skxQQ','ConnectBinSession\x20successful','getClient','frameworkVersion','init','start','getSdkVersion','setFrameworkName','setFrameworkSessionId','setTestFrameworkState','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','idAPT','setTestFrameworkName','name','addFrameworks','MjoBq','setExitSignal','setEventJson','948zkHVUs','../../helpers/logger.js','LogCreatedEvent\x20error:\x20','../../helpers/performance/performance-tester.js','setBinSessionId','Error\x20in\x20LogCreatedEvent:\x20','setFileSize','Channel','StopBinSession\x20successful','LogCreatedEventRequest','exports','SDKClient','17450050GyaJzM','startBinSession:\x20Calling\x20startBinSession','TestSessionEvent\x20error:\x20','StopBinSessionRequest','Getting\x20Accessibility\x20config','cwfAz','AccessibilityConfig\x20error:\x20','DmoJH','UdLdz','setKind','setUserInputParams','hubUrl','entries','GrpcClient','debug','setPlatformIndex','adtpY'];a65_0x502d=function(){return _0x7b6ec8;};return a65_0x502d();}const util=require(a65_0x950fb4(0x174)),logger=require(a65_0x950fb4(0x12b))[a65_0x950fb4(0x18a)],grpc=require(a65_0x950fb4(0x16d)),services=require(a65_0x950fb4(0x161)),messages=require(a65_0x950fb4(0x15f)),path=require(a65_0x950fb4(0x1ba)),CLIUtils=require(a65_0x950fb4(0x1bd)),{createClassLogger}=require(a65_0x950fb4(0x1ca)),PerformanceTester=require(a65_0x950fb4(0x12d)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants');class GrpcClient{static #instance=null;[a65_0x950fb4(0x1f5)]=null;[a65_0x950fb4(0x150)]=null;[a65_0x950fb4(0x1e0)]=null;[a65_0x950fb4(0x1d0)]=null;[a65_0x950fb4(0x1aa)]=createClassLogger(a65_0x950fb4(0x143));constructor(){}static[a65_0x950fb4(0x194)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a65_0x950fb4(0x11c)](_0x22e1fd){const _0x458558=a65_0x950fb4,_0x22cffd={};_0x22cffd[_0x458558(0x199)]=function(_0x4d4f4a,_0x5f1b43){return _0x4d4f4a||_0x5f1b43;};const _0x18993c=_0x22cffd,{id:_0x1e7d53,listen:_0x28405c}=_0x22e1fd;if(_0x18993c[_0x458558(0x199)](!_0x1e7d53,!_0x28405c))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x1e7d53+'\x20listenAddr:\x20'+_0x28405c);this[_0x458558(0x1f5)]=_0x1e7d53,this[_0x458558(0x150)]=_0x28405c,process[_0x458558(0x178)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x458558(0x1f5)],process[_0x458558(0x178)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x458558(0x150)],this[_0x458558(0x180)](),this[_0x458558(0x1aa)][_0x458558(0x172)]('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x458558(0x1f5)]+'\x20and\x20listen\x20address:\x20'+this[_0x458558(0x150)]);}['connect'](){const _0x3f0375=a65_0x950fb4,_0x187db8={};_0x187db8[_0x3f0375(0x14c)]=_0x3f0375(0x122);const _0x3256a8=_0x187db8;let _0x316790=this[_0x3f0375(0x150)];!_0x316790&&(_0x316790=process['env'][_0x3f0375(0x1a0)]);!this[_0x3f0375(0x1f5)]&&(this[_0x3f0375(0x1f5)]=this[_0x3f0375(0x1f5)]||process[_0x3f0375(0x178)][_0x3f0375(0x181)]);if(!_0x316790)throw new Error(_0x3256a8[_0x3f0375(0x14c)]);const _0x3974c3={};_0x3974c3[_0x3f0375(0x17b)]=0x2710,this['channel']=new grpc[(_0x3f0375(0x131))](_0x316790,grpc[_0x3f0375(0x1a8)]['createInsecure'](),_0x3974c3),this[_0x3f0375(0x1d0)]=new services[(_0x3f0375(0x135))](_0x316790,grpc['credentials']['createInsecure']()),this[_0x3f0375(0x1aa)][_0x3f0375(0x172)]('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x316790);}async[a65_0x950fb4(0x1d9)](){const _0x2e4037=a65_0x950fb4,_0x37a2a3={'PjbBn':function(_0x4a4be8,_0x4531ae){return _0x4a4be8!==_0x4531ae;},'qleLe':function(_0x2aef98,_0x552504){return _0x2aef98!==_0x552504;},'UiUGT':function(_0xff014e,_0x125998){return _0xff014e(_0x125998);},'LapGV':_0x2e4037(0x186),'jBLKW':function(_0x5ec84b,_0x336256){return _0x5ec84b(_0x336256);},'EJFWY':_0x2e4037(0x137),'UAswr':_0x2e4037(0x155),'BaEjn':'browserstack.yml','ZPiYn':function(_0x2df1f6,_0x1f9b07){return _0x2df1f6||_0x1f9b07;}};PerformanceTester[_0x2e4037(0x11d)](PerformanceEvents[_0x2e4037(0x1d6)]),this['logger'][_0x2e4037(0x172)](_0x37a2a3[_0x2e4037(0x1e2)]);try{!this[_0x2e4037(0x1d0)]&&this['logger'][_0x2e4037(0x172)](_0x37a2a3['UAswr']);const _0x7b5dc5=CLIUtils[_0x2e4037(0x11e)](),_0x4c28c0=CLIUtils[_0x2e4037(0x1b8)](),_0x1f08ef=_0x4c28c0[_0x2e4037(0x125)],_0x7cc4c7=_0x4c28c0[_0x2e4037(0x1de)],_0x55275d=new messages[(_0x2e4037(0x197))]();_0x55275d['setBinSessionId'](this[_0x2e4037(0x1f5)]),_0x55275d[_0x2e4037(0x15d)](CLIUtils[_0x2e4037(0x193)]()),_0x55275d[_0x2e4037(0x159)](_0x7b5dc5),_0x55275d['setPathProject'](process['cwd']()),_0x55275d[_0x2e4037(0x14b)](process[_0x2e4037(0x178)][_0x2e4037(0x16a)]?process['env'][_0x2e4037(0x16a)]:path['resolve'](process['cwd'](),_0x37a2a3[_0x2e4037(0x1e9)]));const _0x2d3efa=_0x55275d[_0x2e4037(0x1dd)]();Object[_0x2e4037(0x142)](process[_0x2e4037(0x178)])[_0x2e4037(0x1c9)](([_0x2eba01,_0x43f684])=>{const _0x4fde7c=_0x2e4037;_0x37a2a3[_0x4fde7c(0x1a9)](_0x43f684,undefined)&&_0x37a2a3[_0x4fde7c(0x173)](_0x43f684,null)&&_0x2d3efa[_0x4fde7c(0x149)](_0x2eba01,_0x43f684);}),_0x55275d['setCliArgsList'](process[_0x2e4037(0x15e)]['slice'](0x2)),_0x55275d[_0x2e4037(0x1ab)](CLIUtils[_0x2e4037(0x193)]()),_0x55275d['setTestFramework'](_0x1f08ef);const _0x3e2a7f=_0x55275d[_0x2e4037(0x1bb)]();return _0x3e2a7f[_0x2e4037(0x149)](_0x1f08ef,_0x37a2a3['ZPiYn'](_0x7cc4c7,'')),_0x55275d[_0x2e4037(0x126)](_0x1f08ef,_0x7cc4c7),_0x55275d['setFrameworksList']([_0x1f08ef]),new Promise((_0x3d3378,_0x3f32bd)=>{const _0x5c6b5d=_0x2e4037,_0x55cc7f={'ZqPMt':function(_0x5a4ba5,_0x5984b2){const _0x4f62c7=a65_0x48d0;return _0x37a2a3[_0x4f62c7(0x170)](_0x5a4ba5,_0x5984b2);},'Jdoga':_0x37a2a3['LapGV'],'GGPdm':function(_0x1372b8,_0x47f76f){const _0x42d232=a65_0x48d0;return _0x37a2a3[_0x42d232(0x1f0)](_0x1372b8,_0x47f76f);}};this['client'][_0x5c6b5d(0x1d9)](_0x55275d,(_0x2d3eee,_0x5d2b08)=>{const _0x117fa5=_0x5c6b5d;if(_0x2d3eee){this[_0x117fa5(0x1aa)]['error'](_0x117fa5(0x1e7)+_0x2d3eee[_0x117fa5(0x179)]),_0x55cc7f['ZqPMt'](_0x3f32bd,_0x2d3eee),PerformanceTester[_0x117fa5(0x15c)](PerformanceEvents[_0x117fa5(0x1d6)],![],util['format'](_0x2d3eee));return;}this[_0x117fa5(0x1aa)][_0x117fa5(0x172)](_0x55cc7f[_0x117fa5(0x182)]),PerformanceTester[_0x117fa5(0x15c)](PerformanceEvents[_0x117fa5(0x1d6)]),_0x55cc7f[_0x117fa5(0x167)](_0x3d3378,_0x5d2b08);});});}catch(_0x3be0fe){this[_0x2e4037(0x1aa)][_0x2e4037(0x111)](_0x2e4037(0x1d5)+util[_0x2e4037(0x19c)](_0x3be0fe)),PerformanceTester[_0x2e4037(0x15c)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util['format'](_0x3be0fe));throw _0x3be0fe;}}async[a65_0x950fb4(0x1b5)](){const _0x14ceef=a65_0x950fb4,_0x5872a2={'sRhXw':function(_0x414ea7,_0xee7a8c){return _0x414ea7(_0xee7a8c);},'jWyYR':_0x14ceef(0x119),'skxQQ':_0x14ceef(0x165),'MjoBq':_0x14ceef(0x155)};PerformanceTester[_0x14ceef(0x11d)](PerformanceEvents[_0x14ceef(0x152)]),this[_0x14ceef(0x1aa)][_0x14ceef(0x172)](_0x5872a2[_0x14ceef(0x118)]);try{!this['client']&&this['logger'][_0x14ceef(0x172)](_0x5872a2[_0x14ceef(0x127)]);const _0x11a3a4=new messages[(_0x14ceef(0x15b))]();_0x11a3a4[_0x14ceef(0x12e)](this[_0x14ceef(0x1f5)]);const _0x373381=await new Promise((_0x1d6121,_0x121e06)=>{const _0x1ccc04=_0x14ceef,_0x41888b={'YtXKU':function(_0x55b6b3,_0x3a609b){const _0x885b7c=a65_0x48d0;return _0x5872a2[_0x885b7c(0x112)](_0x55b6b3,_0x3a609b);},'adtpY':_0x5872a2[_0x1ccc04(0x1eb)]};this[_0x1ccc04(0x1d0)][_0x1ccc04(0x1b5)](_0x11a3a4,(_0xb9ed19,_0x3a2619)=>{const _0x2ba519=_0x1ccc04;if(_0xb9ed19){this[_0x2ba519(0x1aa)][_0x2ba519(0x111)]('ConnectBinSession\x20error:\x20'+_0xb9ed19[_0x2ba519(0x179)]),_0x41888b[_0x2ba519(0x1c1)](_0x121e06,_0xb9ed19),PerformanceTester[_0x2ba519(0x15c)](PerformanceEvents[_0x2ba519(0x152)],![],util[_0x2ba519(0x19c)](_0xb9ed19));return;}this[_0x2ba519(0x1aa)]['info'](_0x41888b[_0x2ba519(0x146)]),PerformanceTester[_0x2ba519(0x15c)](PerformanceEvents[_0x2ba519(0x152)]),_0x41888b[_0x2ba519(0x1c1)](_0x1d6121,_0x3a2619);});});return this['logger'][_0x14ceef(0x144)]('connect-bin-session\x20response:\x20'+util[_0x14ceef(0x19c)](_0x373381)),_0x373381;}catch(_0x5d670c){PerformanceTester['end'](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x14ceef(0x19c)](_0x5d670c)),this['logger'][_0x14ceef(0x111)](_0x14ceef(0x190)+util[_0x14ceef(0x19c)](_0x5d670c));throw _0x5d670c;}}async['stopBinSession'](_0xe30b0a={},_0xef9577=null){const _0x37be14=a65_0x950fb4,_0x364e8a={'jmJyR':function(_0x312ce0,_0x2422d1){return _0x312ce0(_0x2422d1);},'xmJwU':_0x37be14(0x132),'aIvoz':function(_0x54d7c1,_0x546bfe){return _0x54d7c1(_0x546bfe);},'mzfyH':'Stopping\x20bin\x20session','AVPJT':_0x37be14(0x1b4),'gIRQe':'No\x20gRPC\x20client\x20not\x20initialized.','czNgn':_0x37be14(0x1c8)};PerformanceTester[_0x37be14(0x11d)](PerformanceEvents[_0x37be14(0x15a)]),this[_0x37be14(0x1aa)]['info'](_0x364e8a[_0x37be14(0x1f4)]);try{if(!this[_0x37be14(0x1f5)])throw new Error(_0x364e8a[_0x37be14(0x18f)]);!this[_0x37be14(0x1d0)]&&this[_0x37be14(0x1aa)][_0x37be14(0x172)](_0x364e8a[_0x37be14(0x1b9)]);const _0x314717=new messages[(_0x37be14(0x139))]();this['logger'][_0x37be14(0x144)](_0x37be14(0x14a)+JSON[_0x37be14(0x1ef)](_0xef9577)),_0x314717[_0x37be14(0x12e)](this[_0x37be14(0x1f5)]),_0x314717[_0x37be14(0x1f1)](_0xe30b0a),_0x314717[_0x37be14(0x128)](_0xef9577?_0xef9577:null),_0x314717[_0x37be14(0x18c)](_0xef9577?_0x364e8a[_0x37be14(0x1b6)]:null),_0x314717[_0x37be14(0x198)](_0xef9577?0x1:0x0);const _0x2ffb53=await new Promise((_0x1b77ba,_0x80c91b)=>{const _0x23d2f7=_0x37be14,_0x48a04e={'TVUYY':function(_0x276cac,_0x5a9c12){const _0x44beb2=a65_0x48d0;return _0x364e8a[_0x44beb2(0x1bc)](_0x276cac,_0x5a9c12);},'KCIbm':_0x364e8a['xmJwU'],'UdhKL':function(_0x37a81e,_0x23e84e){const _0x3c44d6=a65_0x48d0;return _0x364e8a[_0x3c44d6(0x1d2)](_0x37a81e,_0x23e84e);}};this[_0x23d2f7(0x1d0)][_0x23d2f7(0x168)](_0x314717,(_0x5d1fdd,_0x460237)=>{const _0x373d60=_0x23d2f7;if(_0x5d1fdd){this['logger'][_0x373d60(0x111)]('StopBinSession\x20error:\x20'+_0x5d1fdd['message']),_0x48a04e[_0x373d60(0x18b)](_0x80c91b,_0x5d1fdd),PerformanceTester[_0x373d60(0x15c)](PerformanceEvents[_0x373d60(0x15a)],![],util[_0x373d60(0x19c)](_0x5d1fdd));return;}this['logger'][_0x373d60(0x172)](_0x48a04e[_0x373d60(0x19a)]),PerformanceTester[_0x373d60(0x15c)](PerformanceEvents[_0x373d60(0x15a)]),_0x48a04e['UdhKL'](_0x1b77ba,_0x460237);});});return this[_0x37be14(0x1aa)][_0x37be14(0x144)](_0x37be14(0x1c2)+util[_0x37be14(0x19c)](_0x2ffb53)),_0x2ffb53;}catch(_0x178828){PerformanceTester[_0x37be14(0x15c)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x178828)),this[_0x37be14(0x1aa)][_0x37be14(0x111)]('Error\x20in\x20stopBinSession:\x20'+util[_0x37be14(0x19c)](_0x178828));}}async[a65_0x950fb4(0x164)](_0x4e808a){const _0x374bcf=a65_0x950fb4,_0x553a6a={'vMBJP':function(_0x5c7f2e,_0x167e6b){return _0x5c7f2e(_0x167e6b);},'RuZpT':_0x374bcf(0x1da),'WVFrs':_0x374bcf(0x1b2),'hgcbq':_0x374bcf(0x155)};PerformanceTester[_0x374bcf(0x11d)](PerformanceEvents[_0x374bcf(0x1a1)]),this[_0x374bcf(0x1aa)][_0x374bcf(0x172)](_0x553a6a[_0x374bcf(0x117)]);try{!this['client']&&this[_0x374bcf(0x1aa)][_0x374bcf(0x172)](_0x553a6a[_0x374bcf(0x189)]);const _0x3f692d=new messages['PlaywrightConfigRequest']();return _0x3f692d[_0x374bcf(0x12e)](this['binSessionId']),_0x3f692d['setConfig'](JSON[_0x374bcf(0x1ef)](_0x4e808a)),new Promise((_0x40baa7,_0x1e7772)=>{const _0x52ca85=_0x374bcf,_0x65997e={'AlkeO':function(_0x276417,_0x30ffc4){const _0x2db779=a65_0x48d0;return _0x553a6a[_0x2db779(0x1c3)](_0x276417,_0x30ffc4);},'xleoM':_0x553a6a[_0x52ca85(0x191)]};this[_0x52ca85(0x1d0)][_0x52ca85(0x16e)](_0x3f692d,(_0x5c4a9b,_0x176e25)=>{const _0x59e0c7=_0x52ca85;if(_0x5c4a9b){this[_0x59e0c7(0x1aa)]['error'](_0x59e0c7(0x184)+_0x5c4a9b[_0x59e0c7(0x179)]),_0x65997e[_0x59e0c7(0x1c6)](_0x1e7772,_0x5c4a9b),PerformanceTester[_0x59e0c7(0x15c)](PerformanceEvents[_0x59e0c7(0x1a1)],![],util[_0x59e0c7(0x19c)](_0x5c4a9b));return;}this[_0x59e0c7(0x1aa)][_0x59e0c7(0x172)](_0x65997e[_0x59e0c7(0x183)]),PerformanceTester[_0x59e0c7(0x15c)](PerformanceEvents[_0x59e0c7(0x1a1)]),_0x65997e['AlkeO'](_0x40baa7,_0x176e25);});});}catch(_0x254cf6){PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x374bcf(0x19c)](_0x254cf6)),this[_0x374bcf(0x1aa)]['error'](_0x374bcf(0x154)+util[_0x374bcf(0x19c)](_0x254cf6));throw _0x254cf6;}}async['getAccessibilityConfig'](_0x102f82){const _0x1f2070=a65_0x950fb4,_0x475102={'pvEuR':function(_0xbb3c3a,_0x48ab58){return _0xbb3c3a(_0x48ab58);},'WfGJv':_0x1f2070(0x115),'ANvfr':_0x1f2070(0x13a),'cwfAz':'utf-8'};this[_0x1f2070(0x1aa)][_0x1f2070(0x172)](_0x475102[_0x1f2070(0x1af)]);try{const _0x1c2771=Buffer[_0x1f2070(0x16b)](JSON[_0x1f2070(0x1ef)](_0x102f82[_0x1f2070(0x14f)]),_0x475102[_0x1f2070(0x13b)]),_0x5d5413=new messages['AccessibilityConfigRequest'](),_0x37ffaa=CLIUtils[_0x1f2070(0x1b8)](),_0x1e1cdc=_0x37ffaa['name'],_0x4dc798=_0x37ffaa['version'];return _0x5d5413[_0x1f2070(0x12e)](this[_0x1f2070(0x1f5)]),_0x5d5413[_0x1f2070(0x145)](0x0),_0x5d5413[_0x1f2070(0x11f)](_0x1e1cdc),_0x5d5413[_0x1f2070(0x1ae)](_0x4dc798),_0x5d5413[_0x1f2070(0x1ac)](_0x102f82[_0x1f2070(0x141)]),_0x5d5413[_0x1f2070(0x1a2)](_0x1c2771),new Promise((_0xb135a6,_0x33241a)=>{const _0x4b6309=_0x1f2070,_0x11e447={'bzOTp':function(_0x12c1d1,_0x5fc818){const _0x445d6e=a65_0x48d0;return _0x475102[_0x445d6e(0x1e1)](_0x12c1d1,_0x5fc818);},'gmNku':_0x475102[_0x4b6309(0x1cd)]};this[_0x4b6309(0x1d0)][_0x4b6309(0x1c5)](_0x5d5413,(_0x1c1c94,_0xd563e7)=>{const _0x35da7b=_0x4b6309;if(_0x1c1c94){this['logger']['error'](_0x35da7b(0x13c)+_0x1c1c94[_0x35da7b(0x179)]),_0x11e447['bzOTp'](_0x33241a,_0x1c1c94);return;}this['logger'][_0x35da7b(0x172)](_0x11e447[_0x35da7b(0x17f)]),_0x11e447['bzOTp'](_0xb135a6,_0xd563e7);});});}catch(_0x3df4a5){this[_0x1f2070(0x1aa)]['error'](_0x1f2070(0x166)+util['format'](_0x3df4a5));}}async[a65_0x950fb4(0x1ad)](_0x3e891b){const _0x214223=a65_0x950fb4,_0x2eb372={'rgQII':function(_0x438d50,_0x280cd1){return _0x438d50(_0x280cd1);},'xCTlI':_0x214223(0x1dc),'YKzRF':'Sending\x20TestSessionEvent','YdSzx':_0x214223(0x155)};this[_0x214223(0x1aa)]['info'](_0x2eb372[_0x214223(0x1be)]);try{!this[_0x214223(0x1d0)]&&this['logger'][_0x214223(0x172)](_0x2eb372[_0x214223(0x160)]);const {platformIndex:_0x370630,testFrameworkName:_0x5850dd,testFrameworkVersion:_0x522c9e,testFrameworkState:_0x529199,testHookState:_0x2595d2,testUuid:_0x1f75fc,automationSession:_0x300186,capabilities:_0x468f87,executionContext:_0x28498f}=_0x3e891b,_0x14fe72=new messages[(_0x214223(0x147))]();_0x14fe72[_0x214223(0x12e)](this[_0x214223(0x1f5)]),_0x14fe72[_0x214223(0x145)](_0x370630),_0x14fe72[_0x214223(0x124)](_0x5850dd),_0x14fe72[_0x214223(0x157)](_0x522c9e),_0x14fe72['setTestFrameworkState'](_0x529199),_0x14fe72[_0x214223(0x1d8)](_0x2595d2),_0x14fe72[_0x214223(0x1d7)](_0x1f75fc);const _0x28b693=new messages[(_0x214223(0x147))]['AutomationSession']();_0x28b693[_0x214223(0x17c)](_0x300186['provider']),_0x28b693[_0x214223(0x11f)](_0x300186[_0x214223(0x1d1)]),_0x28b693[_0x214223(0x1ae)](_0x300186[_0x214223(0x11b)]),_0x28b693[_0x214223(0x120)](_0x300186[_0x214223(0x169)]),_0x28b693[_0x214223(0x1f2)](_0x300186[_0x214223(0x158)]),_0x28b693[_0x214223(0x1ac)](_0x300186[_0x214223(0x141)]),_0x14fe72[_0x214223(0x1e5)](_0x28b693),_0x14fe72['setCapabilities'](_0x468f87);const _0x5bb92f=new messages[(_0x214223(0x19e))]();return _0x5bb92f['setProcessId'](_0x28498f['processId']),_0x5bb92f['setThreadId'](_0x28498f[_0x214223(0x16c)]),_0x5bb92f['setHash'](_0x28498f['hash']),_0x14fe72['setExecutionContext'](_0x5bb92f),new Promise((_0x2fda4c,_0x11d7a9)=>{const _0x1d8071=_0x214223;this[_0x1d8071(0x1d0)][_0x1d8071(0x1ad)](_0x14fe72,(_0x33a239,_0x38a3ec)=>{const _0x23759b=_0x1d8071;if(_0x33a239){this['logger']['error'](_0x23759b(0x138)+_0x33a239['message']),_0x2eb372[_0x23759b(0x17a)](_0x11d7a9,_0x33a239);return;}this[_0x23759b(0x1aa)][_0x23759b(0x172)](_0x2eb372[_0x23759b(0x18e)]),_0x2eb372[_0x23759b(0x17a)](_0x2fda4c,_0x38a3ec);});});}catch(_0x19e798){this['logger'][_0x214223(0x111)](_0x214223(0x1e4)+util['format'](_0x19e798));throw _0x19e798;}}async[a65_0x950fb4(0x185)](_0x337f6c){const _0x20207f=a65_0x950fb4,_0x550813={'oZMNQ':function(_0x47c613,_0x54377a){return _0x47c613(_0x54377a);},'SPqCy':'TestFrameworkEvent\x20request\x20successful','DmoJH':_0x20207f(0x195),'UdLdz':_0x20207f(0x155)};this[_0x20207f(0x1aa)][_0x20207f(0x172)](_0x550813[_0x20207f(0x13d)]);try{!this[_0x20207f(0x1d0)]&&this[_0x20207f(0x1aa)]['info'](_0x550813[_0x20207f(0x13e)]);const {platfromIndex:_0x319064,testFrameworkName:_0x550e38,testFrameworkVersion:_0x15908c,testFrameworkState:_0x2b12c4,hookState:_0x1b1d49,startedAt:_0x3b4fe8,endedAt:_0xcebd5b,uuid:_0x435dff,eventJson:_0x507826,executionContext:_0x25c7a8}=_0x337f6c,_0x108758=new messages[(_0x20207f(0x1d3))]();_0x108758[_0x20207f(0x12e)](this[_0x20207f(0x1f5)]),_0x108758['setPlatformIndex'](_0x319064),_0x108758['setTestFrameworkName'](_0x550e38),_0x108758[_0x20207f(0x157)](_0x15908c),_0x108758[_0x20207f(0x121)](_0x2b12c4),_0x108758[_0x20207f(0x1d8)](_0x1b1d49),_0x108758[_0x20207f(0x1a7)](_0x3b4fe8),_0x108758[_0x20207f(0x1b7)](_0xcebd5b),_0x108758['setUuid'](_0x435dff),_0x108758[_0x20207f(0x129)](_0x507826);const _0x3eb306=new messages['ExecutionContext']();return _0x3eb306['setProcessId'](_0x25c7a8['processId']),_0x3eb306[_0x20207f(0x1d4)](_0x25c7a8['threadId']),_0x3eb306[_0x20207f(0x16f)](_0x25c7a8['hash']),_0x108758[_0x20207f(0x17e)](_0x3eb306),new Promise((_0x4dd412,_0x4d4a88)=>{const _0x173d7e=_0x20207f,_0x170bb8={'keOmx':function(_0x654d44,_0xf151e1){return _0x550813['oZMNQ'](_0x654d44,_0xf151e1);},'idAPT':_0x550813[_0x173d7e(0x19b)]};this[_0x173d7e(0x1d0)][_0x173d7e(0x185)](_0x108758,(_0xa240c,_0x3efee7)=>{const _0xdc8d14=_0x173d7e;if(_0xa240c){this[_0xdc8d14(0x1aa)][_0xdc8d14(0x111)](_0xdc8d14(0x148)+_0xa240c['message']),_0x170bb8[_0xdc8d14(0x1e8)](_0x4d4a88,_0xa240c);return;}this[_0xdc8d14(0x1aa)]['info'](_0x170bb8[_0xdc8d14(0x123)]),_0x170bb8[_0xdc8d14(0x1e8)](_0x4dd412,_0x3efee7);});});}catch(_0x5a993d){this[_0x20207f(0x1aa)]['error'](_0x20207f(0x151)+util[_0x20207f(0x19c)](_0x5a993d));throw _0x5a993d;}}async['driverInit'](_0x3f3094){const _0x58af17=a65_0x950fb4,_0x26c5bb={'dMgKN':function(_0x5a90aa,_0x51caba){return _0x5a90aa(_0x51caba);},'iuuRD':_0x58af17(0x113),'ZyfAK':function(_0x2a7212,_0x3c8a4b){return _0x2a7212(_0x3c8a4b);},'Spjxv':_0x58af17(0x188),'GgbTU':_0x58af17(0x155)};this[_0x58af17(0x1aa)]['info'](_0x26c5bb[_0x58af17(0x1bf)]);try{!this[_0x58af17(0x1d0)]&&this[_0x58af17(0x1aa)][_0x58af17(0x172)](_0x26c5bb[_0x58af17(0x175)]);const {platformIndex:_0x1819b1,ref:_0x1623fe,userInputParams:_0xfe9c46}=_0x3f3094,_0x35c4f5=new messages['DriverInitRequest']();return _0x35c4f5[_0x58af17(0x12e)](this[_0x58af17(0x1f5)]),_0x35c4f5[_0x58af17(0x145)](_0x1819b1),_0x35c4f5[_0x58af17(0x1f2)](_0x1623fe),_0x35c4f5[_0x58af17(0x140)](_0xfe9c46),new Promise((_0x5901c6,_0x50044d)=>{const _0x36e98e=_0x58af17,_0x2b0c93={'QWZNo':function(_0x4bb693,_0x4123bc){return _0x26c5bb['dMgKN'](_0x4bb693,_0x4123bc);},'xfmdT':_0x26c5bb[_0x36e98e(0x116)],'gXddf':function(_0xf3abcc,_0x29d469){const _0x237830=_0x36e98e;return _0x26c5bb[_0x237830(0x1e3)](_0xf3abcc,_0x29d469);}};this[_0x36e98e(0x1d0)]['driverInit'](_0x35c4f5,(_0xff955c,_0x5644c2)=>{const _0x3e8152=_0x36e98e;if(_0xff955c){this[_0x3e8152(0x1aa)][_0x3e8152(0x111)]('DriverInit\x20error:\x20'+_0xff955c['message']),_0x2b0c93['QWZNo'](_0x50044d,_0xff955c);return;}this[_0x3e8152(0x1aa)][_0x3e8152(0x172)](_0x2b0c93[_0x3e8152(0x1b1)]),_0x2b0c93[_0x3e8152(0x1a5)](_0x5901c6,_0x5644c2);});});}catch(_0x356306){this[_0x58af17(0x1aa)][_0x58af17(0x111)](_0x58af17(0x1c0)+util[_0x58af17(0x19c)](_0x356306));throw _0x356306;}}async[a65_0x950fb4(0x192)](_0xb778ff){const _0xc7db4d=a65_0x950fb4,_0x21ba9d={'XkXPS':function(_0x5844f2,_0x58826c){return _0x5844f2===_0x58826c;},'ciaxk':function(_0x349229,_0x1f193d){return _0x349229(_0x1f193d);},'lPvZv':_0xc7db4d(0x1a4),'LZQcV':_0xc7db4d(0x163),'gLpfP':_0xc7db4d(0x155)};this[_0xc7db4d(0x1aa)][_0xc7db4d(0x172)](_0x21ba9d[_0xc7db4d(0x19d)]);try{!this[_0xc7db4d(0x1d0)]&&this['logger']['info'](_0x21ba9d[_0xc7db4d(0x1ea)]);const {platformIndex:_0x1ec9b1,logs:_0x40d6f8}=_0xb778ff,_0x422c58=new messages[(_0xc7db4d(0x133))]();_0x422c58['setBinSessionId'](this[_0xc7db4d(0x1f5)]),_0x422c58[_0xc7db4d(0x145)](_0x1ec9b1);const _0x44c143=_0xb778ff['testFrameworkName'],_0x3d623a=_0xb778ff[_0xc7db4d(0x196)],_0x211ef7=_0xb778ff[_0xc7db4d(0x1cc)];return _0x40d6f8[_0xc7db4d(0x1c9)](_0x35f8bb=>{const _0x595c2c=_0xc7db4d,_0x1e01d3=new messages[(_0x595c2c(0x133))][(_0x595c2c(0x1b0))]();_0x1e01d3[_0x595c2c(0x124)](_0x44c143),_0x1e01d3[_0x595c2c(0x157)](_0x3d623a),_0x1e01d3['setTestFrameworkState'](_0x211ef7),_0x1e01d3[_0x595c2c(0x1f3)](_0x35f8bb[_0x595c2c(0x153)]),_0x1e01d3[_0x595c2c(0x177)](_0x35f8bb[_0x595c2c(0x14d)]),_0x1e01d3[_0x595c2c(0x13f)](_0x35f8bb['kind']),_0x21ba9d[_0x595c2c(0x1ce)](_0x35f8bb[_0x595c2c(0x1ee)],PLAYWRIGHT_TRACE_LOGS)?(_0x1e01d3['setUuid'](_0x35f8bb[_0x595c2c(0x1c7)]),_0x1e01d3[_0x595c2c(0x114)](new TextEncoder()[_0x595c2c(0x1cb)](JSON[_0x595c2c(0x1ef)](_0x35f8bb)))):_0x1e01d3[_0x595c2c(0x114)](new TextEncoder()[_0x595c2c(0x1cb)](_0x35f8bb[_0x595c2c(0x179)])),_0x1e01d3[_0x595c2c(0x176)](_0x35f8bb[_0x595c2c(0x1e6)]),_0x1e01d3[_0x595c2c(0x171)](_0x35f8bb?.['fileName']||''),_0x1e01d3[_0x595c2c(0x14e)](_0x35f8bb?.[_0x595c2c(0x1db)]||''),_0x1e01d3[_0x595c2c(0x130)](_0x35f8bb?.['fileSize']||0x0),_0x1e01d3['setAttachmentType'](_0x35f8bb?.[_0x595c2c(0x1ee)]||''),_0x422c58[_0x595c2c(0x1cf)](_0x1e01d3);}),new Promise((_0x54a977,_0x2d472f)=>{const _0x99f5c0=_0xc7db4d,_0x5e0ee7={'tHcnb':function(_0x3af4d1,_0x44a3cf){return _0x21ba9d['ciaxk'](_0x3af4d1,_0x44a3cf);},'YWCdZ':_0x21ba9d[_0x99f5c0(0x18d)]};this[_0x99f5c0(0x1d0)][_0x99f5c0(0x192)](_0x422c58,(_0x32df68,_0x3a2024)=>{const _0xb00df8=_0x99f5c0;if(_0x32df68){this['logger'][_0xb00df8(0x111)](_0xb00df8(0x12c)+_0x32df68['message']),_0x5e0ee7[_0xb00df8(0x156)](_0x2d472f,_0x32df68);return;}this[_0xb00df8(0x1aa)][_0xb00df8(0x172)](_0x5e0ee7[_0xb00df8(0x1b3)]),_0x5e0ee7[_0xb00df8(0x156)](_0x54a977,_0x3a2024);});});}catch(_0x51beb5){this['logger']['error'](_0xc7db4d(0x12f)+util['format'](_0x51beb5));throw _0x51beb5;}}[a65_0x950fb4(0x11a)](){return this['client'];}[a65_0x950fb4(0x1df)](){const _0x19bf67=a65_0x950fb4;return this[_0x19bf67(0x1e0)];}}function a65_0x48d0(_0x5bc89f,_0x3731f9){const _0x502da2=a65_0x502d();return a65_0x48d0=function(_0x48d0b0,_0x3e3f58){_0x48d0b0=_0x48d0b0-0x111;let _0x3fd7e1=_0x502da2[_0x48d0b0];return _0x3fd7e1;},a65_0x48d0(_0x5bc89f,_0x3731f9);}module[a65_0x950fb4(0x134)]=GrpcClient;
1
+ 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 a66_0x227b2d=a66_0x28d1;function a66_0x28d1(_0x44c347,_0x51d3b1){const _0xf73e80=a66_0xf73e();return a66_0x28d1=function(_0x28d1e4,_0x411375){_0x28d1e4=_0x28d1e4-0x15f;let _0x398ceb=_0xf73e80[_0x28d1e4];return _0x398ceb;},a66_0x28d1(_0x44c347,_0x51d3b1);}(function(_0x507be2,_0x5a988d){const _0x359669=a66_0x28d1,_0x3739a9=_0x507be2();while(!![]){try{const _0x32e60e=-parseInt(_0x359669(0x172))/0x1*(-parseInt(_0x359669(0x16e))/0x2)+parseInt(_0x359669(0x165))/0x3*(parseInt(_0x359669(0x16d))/0x4)+parseInt(_0x359669(0x164))/0x5*(parseInt(_0x359669(0x16f))/0x6)+-parseInt(_0x359669(0x162))/0x7*(-parseInt(_0x359669(0x16c))/0x8)+parseInt(_0x359669(0x176))/0x9*(parseInt(_0x359669(0x178))/0xa)+-parseInt(_0x359669(0x160))/0xb+parseInt(_0x359669(0x16a))/0xc;if(_0x32e60e===_0x5a988d)break;else _0x3739a9['push'](_0x3739a9['shift']());}catch(_0x57ce58){_0x3739a9['push'](_0x3739a9['shift']());}}}(a66_0xf73e,0xe7318));const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require(a66_0x227b2d(0x173)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x3b90f8,_0x5aac27,_0x32899c,_0x5ad870){const _0xe2b1ff=a66_0x227b2d,_0x51b74d={};_0x51b74d[_0xe2b1ff(0x163)]='5|0|2|3|4|1';const _0x26c338=_0x51b74d,_0x32bf56=_0x26c338[_0xe2b1ff(0x163)][_0xe2b1ff(0x170)]('|');let _0xa152d3=0x0;while(!![]){switch(_0x32bf56[_0xa152d3++]){case'0':this['frameworkName']=_0x5aac27;continue;case'1':this['createdAt']=now[_0xe2b1ff(0x174)]();continue;case'2':this[_0xe2b1ff(0x161)]=_0x32899c;continue;case'3':this[_0xe2b1ff(0x166)]=_0x5ad870;continue;case'4':this[_0xe2b1ff(0x167)]=AutomationFrameworkState[_0xe2b1ff(0x168)];continue;case'5':super(_0x3b90f8);continue;}break;}}[a66_0x227b2d(0x175)](){const _0x331718=a66_0x227b2d;return this[_0x331718(0x171)];}[a66_0x227b2d(0x16b)](){const _0x61f7e=a66_0x227b2d;return this[_0x61f7e(0x161)];}[a66_0x227b2d(0x169)](){const _0x252f92=a66_0x227b2d;return this[_0x252f92(0x166)];}[a66_0x227b2d(0x15f)](_0x3f0a3f){const _0x425d86=a66_0x227b2d;this[_0x425d86(0x167)]=this[_0x425d86(0x166)],this[_0x425d86(0x166)]=_0x3f0a3f;}}function a66_0xf73e(){const _0x1b8c81=['6rVlPZH','split','frameworkName','2131uJZXsz','./trackedInstance','toLocaleString','getFrameworkName','5679VRrtcd','exports','190RcfEWq','setState','16705744Yxmagr','frameworkVersion','59703QfLwyq','qfGdG','2583725DEgbIF','5151cQhwod','state','lastState','NONE','getState','14299044XPHCgT','getFrameworkVersion','88JgKNln','1076ijYPFP','178kHTduk'];a66_0xf73e=function(){return _0x1b8c81;};return a66_0xf73e();}module[a66_0x227b2d(0x177)]=AutomationFrameworkInstance;
1
+ 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 a67_0x116041=a67_0x5a8c;(function(_0x2302d6,_0x176e22){const _0x36c9b6=a67_0x5a8c,_0x48c45a=_0x2302d6();while(!![]){try{const _0x92a71f=parseInt(_0x36c9b6(0x19b))/0x1+-parseInt(_0x36c9b6(0x1a1))/0x2*(parseInt(_0x36c9b6(0x19f))/0x3)+-parseInt(_0x36c9b6(0x1b0))/0x4*(parseInt(_0x36c9b6(0x1ae))/0x5)+-parseInt(_0x36c9b6(0x1ba))/0x6+parseInt(_0x36c9b6(0x1aa))/0x7+-parseInt(_0x36c9b6(0x1a8))/0x8*(parseInt(_0x36c9b6(0x1af))/0x9)+-parseInt(_0x36c9b6(0x1b5))/0xa*(-parseInt(_0x36c9b6(0x1ac))/0xb);if(_0x92a71f===_0x176e22)break;else _0x48c45a['push'](_0x48c45a['shift']());}catch(_0x4402f6){_0x48c45a['push'](_0x48c45a['shift']());}}}(a67_0x2040,0x6d194));function a67_0x5a8c(_0x1b6e89,_0x20526a){const _0x2040b5=a67_0x2040();return a67_0x5a8c=function(_0x5a8cca,_0x981021){_0x5a8cca=_0x5a8cca-0x19b;let _0x4816fe=_0x2040b5[_0x5a8cca];return _0x4816fe;},a67_0x5a8c(_0x1b6e89,_0x20526a);}function a67_0x2040(){const _0x87b5d4=['NONE','setCurrentHookState','lastHookState','getCreatedAt','3138450vkIJhD','getLastHookState','790690USygPg','getCurrentHookState','currentTestState','currentHookState','15SPavJs','exports','141332IMEOQi','./trackedContext','testFrameworks','yyJnB','setLastHookState','split','TrackedInstance','3808304aebsJZ','setCurrentTestState','111314qyvxvM','getLastTestState','132fMcUvy','../state/testFrameworkState','415Qakcyv','9upaGEn','20716VaDxmv','setLastTestState','5|1|0|7|3|2|4|6','createdAt','lastTestState','1185480VjEVhk'];a67_0x2040=function(){return _0x87b5d4;};return a67_0x2040();}const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a67_0x116041(0x1a7)),HookState=require('../state/hookState'),TestFrameworkState=require(a67_0x116041(0x1ad)),TrackedContext=require(a67_0x116041(0x1a2)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x13c407,_0x4ec2c7,_0x5a63c0,_0x1c4976,_0x2a6bd2){const _0x4130de=a67_0x116041,_0x1d832d={};_0x1d832d[_0x4130de(0x1a4)]=_0x4130de(0x1b2);const _0x550c78=_0x1d832d,_0x170e97=_0x550c78[_0x4130de(0x1a4)][_0x4130de(0x1a6)]('|');let _0x139320=0x0;while(!![]){switch(_0x170e97[_0x139320++]){case'0':this['testFrameworksVersions']=_0x5a63c0;continue;case'1':this[_0x4130de(0x1a3)]=_0x4ec2c7;continue;case'2':this[_0x4130de(0x1b4)]=TestFrameworkState['NONE'];continue;case'3':this[_0x4130de(0x19e)]=_0x2a6bd2;continue;case'4':this[_0x4130de(0x1b8)]=HookState[_0x4130de(0x1b6)];continue;case'5':super(_0x13c407);continue;case'6':this[_0x4130de(0x1b3)]=now['toLocaleString']();continue;case'7':this[_0x4130de(0x19d)]=_0x1c4976;continue;}break;}}['getCurrentTestState'](){const _0x184dc9=a67_0x116041;return this[_0x184dc9(0x19d)];}[a67_0x116041(0x1a9)](_0x4d6522){const _0x1f9357=a67_0x116041;this[_0x1f9357(0x1b1)](this['currentTestState']),this['currentTestState']=_0x4d6522;}[a67_0x116041(0x19c)](){const _0x29363c=a67_0x116041;return this[_0x29363c(0x19e)];}[a67_0x116041(0x1b7)](_0xad6ac9){const _0x389181=a67_0x116041;this[_0x389181(0x1a5)](this[_0x389181(0x19e)]),this[_0x389181(0x19e)]=_0xad6ac9;}[a67_0x116041(0x1ab)](){const _0x50f50b=a67_0x116041;return this[_0x50f50b(0x1b4)];}[a67_0x116041(0x1b1)](_0x5d669a){this['lastTestState']=_0x5d669a;}[a67_0x116041(0x1bb)](){const _0x38c4f6=a67_0x116041;return this[_0x38c4f6(0x1b8)];}[a67_0x116041(0x1a5)](_0x3fe07d){const _0x15a2af=a67_0x116041;this[_0x15a2af(0x1b8)]=_0x3fe07d;}[a67_0x116041(0x1b9)](){const _0x360423=a67_0x116041;return this[_0x360423(0x1b3)];}}module[a67_0x116041(0x1a0)]=TestFrameworkInstance;
1
+ 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
- const a68_0x3cbf8b=a68_0x5b98;function a68_0x5b98(_0x50df8c,_0x209186){const _0xb73d81=a68_0xb73d();return a68_0x5b98=function(_0x5b9802,_0x42199a){_0x5b9802=_0x5b9802-0xa6;let _0x12e2a0=_0xb73d81[_0x5b9802];return _0x12e2a0;},a68_0x5b98(_0x50df8c,_0x209186);}(function(_0x587829,_0x1e21d1){const _0x3ff775=a68_0x5b98,_0x49ecc6=_0x587829();while(!![]){try{const _0x2a9d17=-parseInt(_0x3ff775(0xac))/0x1+-parseInt(_0x3ff775(0xa7))/0x2+-parseInt(_0x3ff775(0xaa))/0x3+parseInt(_0x3ff775(0xb0))/0x4+parseInt(_0x3ff775(0xa6))/0x5*(parseInt(_0x3ff775(0xaf))/0x6)+-parseInt(_0x3ff775(0xb5))/0x7+parseInt(_0x3ff775(0xa8))/0x8;if(_0x2a9d17===_0x1e21d1)break;else _0x49ecc6['push'](_0x49ecc6['shift']());}catch(_0x48e323){_0x49ecc6['push'](_0x49ecc6['shift']());}}}(a68_0xb73d,0xca0d9));const {createClassLogger}=require(a68_0x3cbf8b(0xb3)),logger=createClassLogger(a68_0x3cbf8b(0xb1));class TrackedContext{constructor(_0x52794f,_0x465a74,_0x37d017,_0x3871e2){const _0x1e1096=a68_0x3cbf8b;this['id']=_0x52794f,this[_0x1e1096(0xb2)]=_0x465a74,this[_0x1e1096(0xb7)]=_0x37d017,this['type']=_0x3871e2;}[a68_0x3cbf8b(0xad)](){const _0x43056a=a68_0x3cbf8b;return this[_0x43056a(0xb2)];}[a68_0x3cbf8b(0xae)](){const _0x1fce6d=a68_0x3cbf8b;return this[_0x1fce6d(0xb7)];}[a68_0x3cbf8b(0xb4)](){return this['id'];}[a68_0x3cbf8b(0xa9)](){const _0x51b782=a68_0x3cbf8b;return this[_0x51b782(0xb6)];}}module[a68_0x3cbf8b(0xab)]=TrackedContext;function a68_0xb73d(){const _0x1ce2f1=['getThreadId','getProcessId','18slukid','6550796fGjBwn','TrackedContext','threadId','../../../helpers/classLogger','getId','9480303ieXSGg','type','processId','1168645EKnhsn','379464dZQsZr','6900704IpBLew','getType','1413153qVsKNo','exports','358753tcRKAq'];a68_0xb73d=function(){return _0x1ce2f1;};return a68_0xb73d();}
1
+ 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 a69_0x24b2f8=a69_0x17ee;function a69_0x5da1(){const _0x78ae25=['crypto','data','261PHkhcZ','8650422dKtRiz','4vVGeJC','forEach','pid','digest','updateMultipleEntries','892126GjYJuQ','createHash','32209199MsHGYz','HjgwF','getData','entries','context','kmrqe','3924462xScUvu','getContext','2lhCbYY','set','updateData','hex','14uCIJLv','2826272xEMceH','keys','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','update','1850835dNBMnu','addMultipleEntries','382380YIpRnN','getId','isBrowserstackAutomationSession','sha256','get','worker_threads'];a69_0x5da1=function(){return _0x78ae25;};return a69_0x5da1();}(function(_0x45ab6c,_0x4d27ef){const _0x13dc78=a69_0x17ee,_0x5440be=_0x45ab6c();while(!![]){try{const _0x2b41c1=-parseInt(_0x13dc78(0x1ba))/0x1*(parseInt(_0x13dc78(0x1b0))/0x2)+-parseInt(_0x13dc78(0x1b8))/0x3*(parseInt(_0x13dc78(0x1ab))/0x4)+-parseInt(_0x13dc78(0x19f))/0x5+-parseInt(_0x13dc78(0x1aa))/0x6+-parseInt(_0x13dc78(0x19a))/0x7*(-parseInt(_0x13dc78(0x19b))/0x8)+-parseInt(_0x13dc78(0x1a9))/0x9*(-parseInt(_0x13dc78(0x1a1))/0xa)+parseInt(_0x13dc78(0x1b2))/0xb;if(_0x2b41c1===_0x4d27ef)break;else _0x5440be['push'](_0x5440be['shift']());}catch(_0x3bd59c){_0x5440be['push'](_0x5440be['shift']());}}}(a69_0x5da1,0xb2903));const TrackedContext=require('./trackedContext'),crypto=require(a69_0x24b2f8(0x1a7)),{threadId}=require(a69_0x24b2f8(0x1a6));class TrackedInstance{static [a69_0x24b2f8(0x19d)]=a69_0x24b2f8(0x1a3);constructor(_0x2a3753){const _0x1621f9=a69_0x24b2f8;this[_0x1621f9(0x1b6)]=_0x2a3753,this[_0x1621f9(0x1a8)]=new Map();}['getRef'](){const _0x2800eb=a69_0x24b2f8;return this[_0x2800eb(0x1b6)][_0x2800eb(0x1a2)]();}[a69_0x24b2f8(0x1b9)](){const _0x1c2e57=a69_0x24b2f8;return this[_0x1c2e57(0x1b6)];}['getAllData'](){const _0x3e3b56=a69_0x24b2f8;return this[_0x3e3b56(0x1a8)];}[a69_0x24b2f8(0x1af)](_0x59341f){const _0x3cd893=a69_0x24b2f8;Object[_0x3cd893(0x19c)](_0x59341f)[_0x3cd893(0x1ac)](_0x7add33=>{const _0x4e9f55=_0x3cd893;this[_0x4e9f55(0x1a8)]['set'](_0x7add33,_0x59341f[_0x7add33]);});}[a69_0x24b2f8(0x1a0)](_0x48b768){const _0x406d5d=a69_0x24b2f8;Object[_0x406d5d(0x1b5)](_0x48b768)['forEach'](([_0x576e5b,_0x3736d6])=>{const _0x45b259=_0x406d5d,_0x3964bd=this['data']['get'](_0x576e5b)||{},_0x69eed8={..._0x3964bd,..._0x3736d6},_0x11a0b2=_0x69eed8;this[_0x45b259(0x1a8)][_0x45b259(0x1bb)](_0x576e5b,_0x11a0b2);});}[a69_0x24b2f8(0x1b4)](_0x460319){const _0x250ec2=a69_0x24b2f8;return this['data'][_0x250ec2(0x1a5)](_0x460319);}[a69_0x24b2f8(0x198)](_0x3a90a0,_0x1fdfb9){this['data']['set'](_0x3a90a0,_0x1fdfb9);}static['createContext'](_0x5b0f1f){const _0x505a3d=a69_0x24b2f8,_0x3136b3={};_0x3136b3[_0x505a3d(0x1b7)]=_0x505a3d(0x1a4),_0x3136b3['SFbVK']=_0x505a3d(0x199),_0x3136b3[_0x505a3d(0x1b3)]=function(_0x19bfb1,_0x309c15){return _0x19bfb1||_0x309c15;};const _0x22c9d8=_0x3136b3;return new TrackedContext(crypto[_0x505a3d(0x1b1)](_0x22c9d8[_0x505a3d(0x1b7)])[_0x505a3d(0x19e)](_0x5b0f1f)[_0x505a3d(0x1ae)](_0x22c9d8['SFbVK']),_0x22c9d8[_0x505a3d(0x1b3)](threadId,0x0),process[_0x505a3d(0x1ad)],typeof _0x5b0f1f);}}function a69_0x17ee(_0x3adcdd,_0x103538){const _0x5da15f=a69_0x5da1();return a69_0x17ee=function(_0x17ee1a,_0x1f25be){_0x17ee1a=_0x17ee1a-0x198;let _0x474277=_0x5da15f[_0x17ee1a];return _0x474277;},a69_0x17ee(_0x3adcdd,_0x103538);}module['exports']=TrackedInstance;
1
+ 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 a70_0x24ccf6=a70_0x2de6;function a70_0x47a6(){const _0x2099a9=['isAppAccessibility','launchCaps','../../../helpers/performance/performance-tester.js','exports','getName','yarXV','name','36266sNigUS','onAfterTest:\x20event=','../state/automationFrameworkState','Error\x20while\x20setting\x20accessibility\x20config:\x20','bind','VlOFr','3873595dejYOp','browserstack.accessibilityOptions.scannerVersion','registerObserver','getCurrentInstanceName','onAfterTest','message','BS_A11Y_JWT','pOwXg','FlIXl','601115QpPXNw','getValue','getCommandsList','getOptions','onBeforeExecute','CREATE','stack','accessibilityToken','jmyPJ','end','ZUmAt','wcagVersion','LOG_DISABLED_SHOWN','UJcmy','name:\x20','../cliUtils','2205zksfgR','getScriptsList','getAccessibility','yebnu','info','getCurrentAccessibilityStatus','toObject','parseFromProto','put','accessibility','KqmXf','getSuccess','eCEhc','browserstack.accessibilityOptions.scannerProcessingTimeout','4770pGCknM','setAccessibilityToken','../../../helpers/accessibility-automation/scripts','PRE','scannerProcessingTimeout','QUIT','../state/hookState','../../../helpers/performance/constants.js','setLogDisabledShown','onBeforeTest','accessibilityConfig','597737MRyVxg','\x20value=','1939PyQhfI','getCapabilitiesList','start','error','SDK_ACCESSIBILITY_CONFIG','12kXszoW','MODULE_NAME','129BNgdiv','browserstack.accessibilityOptions.wcagVersion','env','./baseModule','EXECUTE','17248xcERhK','isEnabled','onBeforeExecute:\x20event=','1563270XdHJZd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','TrackedInstance','WmwCt','../../../helpers/classLogger','getLogDisabledShown','get','scannerVersion','split','getModuleName'];a70_0x47a6=function(){return _0x2099a9;};return a70_0x47a6();}function a70_0x2de6(_0x384c0f,_0x2c38c9){const _0x47a634=a70_0x47a6();return a70_0x2de6=function(_0x2de6ad,_0xff0d56){_0x2de6ad=_0x2de6ad-0x99;let _0x4f1cca=_0x47a634[_0x2de6ad];return _0x4f1cca;},a70_0x2de6(_0x384c0f,_0x2c38c9);}(function(_0x2acf56,_0x164457){const _0x465b51=a70_0x2de6,_0x44b0c5=_0x2acf56();while(!![]){try{const _0x5c1b7e=parseInt(_0x465b51(0xa3))/0x1+parseInt(_0x465b51(0xc5))/0x2*(parseInt(_0x465b51(0xac))/0x3)+parseInt(_0x465b51(0xaa))/0x4*(parseInt(_0x465b51(0xd4))/0x5)+-parseInt(_0x465b51(0xb4))/0x6+parseInt(_0x465b51(0xa5))/0x7*(-parseInt(_0x465b51(0xb1))/0x8)+parseInt(_0x465b51(0xe4))/0x9*(-parseInt(_0x465b51(0xf2))/0xa)+-parseInt(_0x465b51(0xcb))/0xb;if(_0x5c1b7e===_0x164457)break;else _0x44b0c5['push'](_0x44b0c5['shift']());}catch(_0x119cac){_0x44b0c5['push'](_0x44b0c5['shift']());}}}(a70_0x47a6,0x646de));const BaseModule=require(a70_0x24ccf6(0xaf)),{createClassLogger}=require(a70_0x24ccf6(0xb8)),CLIUtils=require(a70_0x24ccf6(0xe3)),AutomationFramework=require('../framework/automationFramework'),AutomationFrameworkState=require(a70_0x24ccf6(0xc7)),HookState=require(a70_0x24ccf6(0x9e)),GrpcClient=require('../grpcClient'),scripts=require(a70_0x24ccf6(0x9a)),logger=createClassLogger(a70_0x24ccf6(0xb6)),PerformanceTester=require(a70_0x24ccf6(0xc0)),{EVENTS}=require(a70_0x24ccf6(0x9f));class AccessibilityModule extends BaseModule{static [a70_0x24ccf6(0xab)]=AccessibilityModule[a70_0x24ccf6(0xc4)];constructor(_0x462a74){const _0x4580e9=a70_0x24ccf6,_0x182286={};_0x182286[_0x4580e9(0xca)]='2|7|6|8|0|9|5|1|4|3';const _0x3277d7=_0x182286,_0x45a837=_0x3277d7[_0x4580e9(0xca)][_0x4580e9(0xbc)]('|');let _0x1ba596=0x0;while(!![]){switch(_0x45a837[_0x1ba596++]){case'0':this[_0x4580e9(0xb2)]=!![];continue;case'1':this[_0x4580e9(0xe0)]=new Map();continue;case'2':super();continue;case'3':this[_0x4580e9(0x99)](_0x462a74[_0x4580e9(0xd7)]()[_0x4580e9(0xa6)]());continue;case'4':this[_0x4580e9(0xbe)]=![];continue;case'5':this[_0x4580e9(0xed)]=new Map();continue;case'6':AutomationFramework[_0x4580e9(0xcd)](AutomationFrameworkState[_0x4580e9(0xd9)],HookState['PRE'],this[_0x4580e9(0xa1)][_0x4580e9(0xc9)](this));continue;case'7':AutomationFramework[_0x4580e9(0xcd)](AutomationFrameworkState[_0x4580e9(0xb0)],HookState[_0x4580e9(0x9b)],this['onBeforeExecute']['bind'](this));continue;case'8':AutomationFramework[_0x4580e9(0xcd)](AutomationFrameworkState[_0x4580e9(0x9d)],HookState[_0x4580e9(0x9b)],this[_0x4580e9(0xcf)][_0x4580e9(0xc9)](this));continue;case'9':this[_0x4580e9(0xa2)]=_0x462a74[_0x4580e9(0xea)]();continue;}break;}}[a70_0x24ccf6(0xb2)](){const _0x6980e0=a70_0x24ccf6;return this[_0x6980e0(0xb2)];}[a70_0x24ccf6(0xbd)](){const _0x2b31d0=a70_0x24ccf6;return AccessibilityModule[_0x2b31d0(0xab)];}[a70_0x24ccf6(0xe9)](){const _0x24d499=a70_0x24ccf6;return this[_0x24d499(0xed)][_0x24d499(0xba)](CLIUtils['getCurrentInstanceName'](),![]);}[a70_0x24ccf6(0xb9)](){const _0x551189=a70_0x24ccf6;return this[_0x551189(0xe0)][_0x551189(0xba)](CLIUtils[_0x551189(0xce)](),![]);}[a70_0x24ccf6(0xa0)](_0x4a1e8c){const _0x38b97e=a70_0x24ccf6;this['LOG_DISABLED_SHOWN'][_0x38b97e(0xec)](CLIUtils['getCurrentInstanceName'](),_0x4a1e8c);}async[a70_0x24ccf6(0xa1)](_0xbfbc58){const _0x50977c=a70_0x24ccf6;try{PerformanceTester[_0x50977c(0xa7)](EVENTS[_0x50977c(0xa9)]);const _0xaf55a9=await GrpcClient['getInstance']()['getAccessibilityConfig'](_0xbfbc58);_0xaf55a9&&_0xaf55a9[_0x50977c(0xe6)]()&&_0xaf55a9[_0x50977c(0xe6)]()[_0x50977c(0xef)]()&&(global['accessibilityPlatform']=!![],process[_0x50977c(0xae)][_0x50977c(0xb5)]=!![],this['setAccessibilityConfig'](_0xaf55a9,_0xbfbc58)),PerformanceTester['end'](EVENTS[_0x50977c(0xa9)]);}catch(_0x494d62){PerformanceTester[_0x50977c(0xdd)](EVENTS[_0x50977c(0xa9)],![],_0x494d62[_0x50977c(0xd0)]),logger[_0x50977c(0xa8)](_0x50977c(0xc8)+(_0x494d62[_0x50977c(0xda)]||_0x494d62[_0x50977c(0xd0)]));}}async['setAccessibilityConfig'](_0x3429f8,_0x51c55e){const _0x4cb79f=a70_0x24ccf6,_0x2b8c06=_0x3429f8[_0x4cb79f(0xe6)]()[_0x4cb79f(0xd7)](),_0x42bd26=_0x2b8c06[_0x4cb79f(0xe5)](),_0x119822=_0x2b8c06['getCommandsToWrap']()?.[_0x4cb79f(0xd6)]();scripts[_0x4cb79f(0xeb)](_0x42bd26,_0x119822),scripts['toJson']();const _0x2dc2a5=_0x2b8c06[_0x4cb79f(0xa6)]();await this[_0x4cb79f(0x99)](_0x2dc2a5,_0x51c55e[_0x4cb79f(0xbf)]);}async['setAccessibilityToken'](_0x4ebd2b,_0x39448d={}){const _0x2ee8eb=a70_0x24ccf6,_0x3f0083={};_0x3f0083[_0x2ee8eb(0xe7)]=function(_0x183060,_0x455511){return _0x183060===_0x455511;},_0x3f0083[_0x2ee8eb(0xee)]=_0x2ee8eb(0xdb),_0x3f0083[_0x2ee8eb(0xb7)]='browserstack.accessibilityOptions.authToken',_0x3f0083['yarXV']=function(_0x1aeeb4,_0xf04f8e){return _0x1aeeb4===_0xf04f8e;},_0x3f0083[_0x2ee8eb(0xe1)]=_0x2ee8eb(0xdf),_0x3f0083['ZUmAt']=_0x2ee8eb(0xad),_0x3f0083['jmyPJ']=function(_0x1ab77b,_0x2417fb){return _0x1ab77b===_0x2417fb;},_0x3f0083[_0x2ee8eb(0xd2)]=_0x2ee8eb(0xbb),_0x3f0083[_0x2ee8eb(0xd3)]=_0x2ee8eb(0xcc),_0x3f0083['auMQZ']=function(_0x187e15,_0x963333){return _0x187e15===_0x963333;},_0x3f0083[_0x2ee8eb(0xf0)]=_0x2ee8eb(0x9c),_0x3f0083['fiioj']=_0x2ee8eb(0xf1);const _0x39039c=_0x3f0083;for(const _0x35c59d of _0x4ebd2b){logger[_0x2ee8eb(0xe8)](_0x2ee8eb(0xe2)+_0x35c59d['getName']()+_0x2ee8eb(0xa4)+_0x35c59d[_0x2ee8eb(0xd5)]());if(_0x39039c[_0x2ee8eb(0xe7)](_0x35c59d[_0x2ee8eb(0xc2)](),_0x39039c[_0x2ee8eb(0xee)]))process[_0x2ee8eb(0xae)][_0x2ee8eb(0xd1)]=_0x35c59d['getValue'](),_0x39448d[_0x39039c[_0x2ee8eb(0xb7)]]=_0x35c59d[_0x2ee8eb(0xd5)]();else{if(_0x39039c[_0x2ee8eb(0xc3)](_0x35c59d['getName'](),_0x39039c['UJcmy']))_0x39448d[_0x39039c[_0x2ee8eb(0xde)]]=_0x35c59d[_0x2ee8eb(0xd5)]();else{if(_0x39039c[_0x2ee8eb(0xdc)](_0x35c59d[_0x2ee8eb(0xc2)](),_0x39039c[_0x2ee8eb(0xd2)]))_0x39448d[_0x39039c[_0x2ee8eb(0xd3)]]=_0x35c59d[_0x2ee8eb(0xd5)]();else _0x39039c['auMQZ'](_0x35c59d[_0x2ee8eb(0xc2)](),_0x39039c['eCEhc'])&&(_0x39448d[_0x39039c['fiioj']]=_0x35c59d[_0x2ee8eb(0xd5)]());}}}}[a70_0x24ccf6(0xcf)](_0x3e12a2){const _0x504aaa=a70_0x24ccf6;logger[_0x504aaa(0xe8)](_0x504aaa(0xc6)+_0x3e12a2);}[a70_0x24ccf6(0xd8)](_0x56ca57){const _0x3fb4d3=a70_0x24ccf6;logger[_0x3fb4d3(0xe8)](_0x3fb4d3(0xb3)+_0x56ca57);}};module[a70_0x24ccf6(0xc1)]=AccessibilityModule;
1
+ 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 a71_0x229a(){const _0x127a25=['349644OeJMDi','name','1769402NbCBru','9ufqNYq','Missing\x20binSessionId','WsoiR','18655184HwEiTA','1|2|0|4|3','1173015HCcgRb','getModuleName','client',',\x20platformIndex=','1|2|0|3|4','exports','IKiox','split','debug','35wVqqPV','binSessionId','ensureBinSession','\x20with\x20binSessionId=','5835333RenWay','configure','TOtkG','winstonLogger','platformIndex','../../../helpers/logger.js','357963WpcDMA','qJHAj','1573362ubsxuv'];a71_0x229a=function(){return _0x127a25;};return a71_0x229a();}function a71_0x232a(_0x127849,_0x367332){const _0x229ae4=a71_0x229a();return a71_0x232a=function(_0x232a27,_0x590e30){_0x232a27=_0x232a27-0x11d;let _0x34b14a=_0x229ae4[_0x232a27];return _0x34b14a;},a71_0x232a(_0x127849,_0x367332);}const a71_0x5e9e2e=a71_0x232a;(function(_0x3f0b56,_0x2d81fc){const _0x5521c7=a71_0x232a,_0x4ac414=_0x3f0b56();while(!![]){try{const _0x5c1ac9=-parseInt(_0x5521c7(0x12b))/0x1+parseInt(_0x5521c7(0x125))/0x2+-parseInt(_0x5521c7(0x120))/0x3+-parseInt(_0x5521c7(0x123))/0x4*(parseInt(_0x5521c7(0x134))/0x5)+parseInt(_0x5521c7(0x122))/0x6+-parseInt(_0x5521c7(0x138))/0x7+-parseInt(_0x5521c7(0x129))/0x8*(-parseInt(_0x5521c7(0x126))/0x9);if(_0x5c1ac9===_0x2d81fc)break;else _0x4ac414['push'](_0x4ac414['shift']());}catch(_0x424491){_0x4ac414['push'](_0x4ac414['shift']());}}}(a71_0x229a,0xb4e82));const logger=require(a71_0x5e9e2e(0x11f))[a71_0x5e9e2e(0x11d)];class BaseModule{constructor(){const _0x40a332=a71_0x5e9e2e,_0x22ccbd={};_0x22ccbd[_0x40a332(0x121)]=_0x40a332(0x12a),_0x22ccbd[_0x40a332(0x131)]='BaseModule';const _0xf0b2de=_0x22ccbd,_0x49063f=_0xf0b2de[_0x40a332(0x121)][_0x40a332(0x132)]('|');let _0x12cc88=0x0;while(!![]){switch(_0x49063f[_0x12cc88++]){case'0':this[_0x40a332(0x11e)]=0x0;continue;case'1':this[_0x40a332(0x124)]=_0xf0b2de[_0x40a332(0x131)];continue;case'2':this[_0x40a332(0x135)]=null;continue;case'3':this[_0x40a332(0x12d)]=null;continue;case'4':this['config']={};continue;}break;}}[a71_0x5e9e2e(0x136)](){const _0x25f281=a71_0x5e9e2e,_0x34d8aa={};_0x34d8aa[_0x25f281(0x128)]=_0x25f281(0x127);const _0x490ee4=_0x34d8aa;if(!this[_0x25f281(0x135)])throw new Error(_0x490ee4[_0x25f281(0x128)]);}[a71_0x5e9e2e(0x12c)](){return this['name'];}[a71_0x5e9e2e(0x139)](_0x14e4e4,_0x57d286,_0x2cb491,_0x4861ae={}){const _0x51d562=a71_0x5e9e2e,_0xa95966={};_0xa95966[_0x51d562(0x13a)]=_0x51d562(0x12f);const _0xbbe4cf=_0xa95966,_0x5843c4=_0xbbe4cf['TOtkG'][_0x51d562(0x132)]('|');let _0xee68cc=0x0;while(!![]){switch(_0x5843c4[_0xee68cc++]){case'0':this[_0x51d562(0x12d)]=_0x2cb491;continue;case'1':this[_0x51d562(0x135)]=_0x14e4e4;continue;case'2':this[_0x51d562(0x11e)]=_0x57d286;continue;case'3':this['config']=_0x4861ae;continue;case'4':logger[_0x51d562(0x133)]('Configured\x20module\x20'+this['getModuleName']()+_0x51d562(0x137)+_0x14e4e4+_0x51d562(0x12e)+_0x57d286);continue;}break;}}}module[a71_0x5e9e2e(0x130)]=BaseModule;
1
+ 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 a72_0x2071(_0x12326,_0x248795){const _0x337bf2=a72_0x337b();return a72_0x2071=function(_0x207192,_0x2506ae){_0x207192=_0x207192-0xd5;let _0x19a7dd=_0x337bf2[_0x207192];return _0x19a7dd;},a72_0x2071(_0x12326,_0x248795);}const a72_0x3fba3c=a72_0x2071;function a72_0x337b(){const _0x55e99f=['142515uFNgZz','../../../helpers/helper.js','ObservabilityModule','1210619xFGUUi','POST','52070KgDqrm','3076160AWQvfa','start','../state/hookState.js','2BPwwat','GrFrp','./baseModule','SYNC','CREATE','IqhPl','3201iQYOQO','onBeforeTest:\x20page\x20is\x20not\x20defined','observabilityConfig','DWMMA','exports','60RmwVIm','debug','../../../helpers/classLogger.js','235485zrhVQC','page','registerObserver','onBeforeTest','logger','../state/automationFrameworkState.js','end','name','../framework/automationFramework.js','42INNXSk','zrjAe','info','getModuleName','QlVjq','onBeforeTest:\x20Observability\x20sync\x20done','121292CriZre','753585sbyTcd','../../../helpers/performance/performance-tester.js','MODULE_NAME','yisNU'];a72_0x337b=function(){return _0x55e99f;};return a72_0x337b();}(function(_0x395aea,_0x5ad4eb){const _0x9eb9dd=a72_0x2071,_0xaae59d=_0x395aea();while(!![]){try{const _0x3963e5=-parseInt(_0x9eb9dd(0xe3))/0x1*(-parseInt(_0x9eb9dd(0xe9))/0x2)+-parseInt(_0x9eb9dd(0xf4))/0x3*(-parseInt(_0x9eb9dd(0xdb))/0x4)+-parseInt(_0x9eb9dd(0xf7))/0x5+-parseInt(_0x9eb9dd(0xd5))/0x6*(-parseInt(_0x9eb9dd(0xdc))/0x7)+-parseInt(_0x9eb9dd(0xe6))/0x8+parseInt(_0x9eb9dd(0xe0))/0x9+parseInt(_0x9eb9dd(0xe5))/0xa*(-parseInt(_0x9eb9dd(0xef))/0xb);if(_0x3963e5===_0x5ad4eb)break;else _0xaae59d['push'](_0xaae59d['shift']());}catch(_0x266dad){_0xaae59d['push'](_0xaae59d['shift']());}}}(a72_0x337b,0x9c29d));const BaseModule=require(a72_0x3fba3c(0xeb)),{createClassLogger}=require(a72_0x3fba3c(0xf6)),AutomationFramework=require(a72_0x3fba3c(0xff)),AutomationFrameworkState=require(a72_0x3fba3c(0xfc)),HookState=require(a72_0x3fba3c(0xe8)),{playwrightAnnotate}=require(a72_0x3fba3c(0xe1)),PerformanceTester=require(a72_0x3fba3c(0xdd)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js');class ObservabilityModule extends BaseModule{[a72_0x3fba3c(0xfb)]=createClassLogger('ObservabilityModule');constructor(_0x393c5b){const _0x1466ab=a72_0x3fba3c,_0x1fa268={};_0x1fa268['IqhPl']=_0x1466ab(0xe2);const _0x397b4d=_0x1fa268;super(),this[_0x1466ab(0xfe)]=_0x397b4d[_0x1466ab(0xee)],this[_0x1466ab(0xf1)]=_0x393c5b,AutomationFramework[_0x1466ab(0xf9)](AutomationFrameworkState[_0x1466ab(0xed)],HookState[_0x1466ab(0xe4)],this[_0x1466ab(0xfa)]['bind'](this));}[a72_0x3fba3c(0xd8)](){const _0x5938e7=a72_0x3fba3c;return ObservabilityModule[_0x5938e7(0xde)];}async['onBeforeTest'](_0x1826d9){const _0x1513f6=a72_0x3fba3c,_0x30000e={'zrjAe':function(_0x1cf213,_0x2c0c8f){return _0x1cf213+_0x2c0c8f;},'MLFsU':'ObservabilitySync:','DWMMA':function(_0x31fae4,_0x211db8,_0x1b49bb,_0x3e42c5){return _0x31fae4(_0x211db8,_0x1b49bb,_0x3e42c5);},'QlVjq':_0x1513f6(0xf5),'GrFrp':_0x1513f6(0xda),'yisNU':_0x1513f6(0xf0)};if(_0x1826d9[_0x1513f6(0xf8)]){const _0x3dd4b9=_0x1826d9[_0x1513f6(0xf8)],_0x594137=Date['now'](),_0x31305d=_0x30000e[_0x1513f6(0xd6)](_0x30000e['MLFsU'],_0x594137);PerformanceTester[_0x1513f6(0xe7)](O11y_EVENTS[_0x1513f6(0xec)]),await _0x30000e[_0x1513f6(0xf2)](playwrightAnnotate,_0x3dd4b9,_0x31305d,_0x30000e[_0x1513f6(0xd9)]),PerformanceTester[_0x1513f6(0xfd)](O11y_EVENTS['SYNC']),this[_0x1513f6(0xfb)][_0x1513f6(0xd7)](_0x30000e[_0x1513f6(0xea)]);}else this[_0x1513f6(0xfb)][_0x1513f6(0xf5)](_0x30000e[_0x1513f6(0xdf)]);}}ObservabilityModule[a72_0x3fba3c(0xde)]=a72_0x3fba3c(0xe2),module[a72_0x3fba3c(0xf3)]=ObservabilityModule;
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;