browserstack-node-sdk 1.50.8 → 1.50.9

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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a71_0x4ed66d=a71_0x25db;(function(_0x592820,_0x521647){const _0x2480e1=a71_0x25db,_0x4dd694=_0x592820();while(!![]){try{const _0x7211e3=parseInt(_0x2480e1(0x287))/0x1+-parseInt(_0x2480e1(0x293))/0x2*(-parseInt(_0x2480e1(0x2e3))/0x3)+-parseInt(_0x2480e1(0x233))/0x4*(-parseInt(_0x2480e1(0x2e9))/0x5)+parseInt(_0x2480e1(0x325))/0x6*(parseInt(_0x2480e1(0x284))/0x7)+-parseInt(_0x2480e1(0x275))/0x8*(parseInt(_0x2480e1(0x27f))/0x9)+parseInt(_0x2480e1(0x2c0))/0xa*(-parseInt(_0x2480e1(0x2e5))/0xb)+-parseInt(_0x2480e1(0x20b))/0xc;if(_0x7211e3===_0x521647)break;else _0x4dd694['push'](_0x4dd694['shift']());}catch(_0x3b4198){_0x4dd694['push'](_0x4dd694['shift']());}}}(a71_0x46bd,0x6bfae));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x4ed66d(0x2a9)),{createClassLogger}=require(a71_0x4ed66d(0x2e8)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x4ed66d(0x22f)),TrackedInstance=require(a71_0x4ed66d(0x27d)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4ed66d(0x2f6)),{isInternalHook}=require(a71_0x4ed66d(0x329)),logger=createClassLogger(a71_0x4ed66d(0x246)),{v4:uuidv4}=require('uuid'),util=require(a71_0x4ed66d(0x2be)),TestInfo=require(a71_0x4ed66d(0x30f)),GrpcClient=require(a71_0x4ed66d(0x251)),stackTrace=require(a71_0x4ed66d(0x2ca));function a71_0x25db(_0x370c13,_0x18b078){const _0x46bd86=a71_0x46bd();return a71_0x25db=function(_0x25db56,_0x7bae63){_0x25db56=_0x25db56-0x1f3;let _0x3da98b=_0x46bd86[_0x25db56];return _0x3da98b;},a71_0x25db(_0x370c13,_0x18b078);}class JestTestFramework extends TestFramework{constructor(_0x30d1e1,_0x15727a,_0x34afbc){const _0x4ecb4a=a71_0x4ed66d;super(_0x30d1e1,_0x15727a,_0x34afbc),this[_0x4ecb4a(0x37b)]=new Map();}[a71_0x4ed66d(0x347)](_0xc7796d,_0x49e23f,_0x554f32){const _0xb41af8=a71_0x4ed66d,_0x476aaa={};_0x476aaa[_0xb41af8(0x349)]=function(_0x11861c,_0xb8e7fa){return _0x11861c||_0xb8e7fa;};const _0x5049b5=_0x476aaa;if(_0x5049b5[_0xb41af8(0x349)](!_0xc7796d,!_0x49e23f)){logger[_0xb41af8(0x355)](_0xb41af8(0x27a)+_0xc7796d+',\x20hookUUID='+_0x49e23f);return;}!this[_0xb41af8(0x37b)][_0xb41af8(0x1fc)](_0xc7796d)&&this[_0xb41af8(0x37b)]['set'](_0xc7796d,[]);const _0x54eb61={'hookUUID':_0x49e23f,'hookType':_0x554f32,'startedAt':new Date()[_0xb41af8(0x2c5)]()};this[_0xb41af8(0x37b)][_0xb41af8(0x2d3)](_0xc7796d)[_0xb41af8(0x335)](_0x54eb61),logger['debug'](_0xb41af8(0x358)+_0xc7796d+',\x20hookUUID='+_0x49e23f+_0xb41af8(0x2dc)+_0x554f32+_0xb41af8(0x214)+this[_0xb41af8(0x37b)][_0xb41af8(0x2d3)](_0xc7796d)['length']);}['removeActiveHook'](_0x512f92,_0x28c81f){const _0x44b361=a71_0x4ed66d,_0x350545={};_0x350545[_0x44b361(0x253)]=function(_0x391157,_0x53936c){return _0x391157||_0x53936c;},_0x350545[_0x44b361(0x221)]=function(_0x544791,_0x176ec9){return _0x544791!==_0x176ec9;},_0x350545[_0x44b361(0x32a)]=function(_0x466e6f,_0xf7ac20){return _0x466e6f===_0xf7ac20;};const _0x250dc7=_0x350545;if(_0x250dc7[_0x44b361(0x253)](!_0x512f92,!_0x28c81f)){logger['warn']('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x512f92+',\x20hookUUID='+_0x28c81f);return;}if(this[_0x44b361(0x37b)][_0x44b361(0x1fc)](_0x512f92)){const _0xd01120=this['activeHooks']['get'](_0x512f92),_0x1c5843=_0xd01120[_0x44b361(0x222)](_0x24b497=>_0x24b497['hookUUID']===_0x28c81f);_0x250dc7[_0x44b361(0x221)](_0x1c5843,-0x1)?(_0xd01120[_0x44b361(0x25a)](_0x1c5843,0x1),logger[_0x44b361(0x215)](_0x44b361(0x21a)+_0x512f92+_0x44b361(0x297)+_0x28c81f+_0x44b361(0x326)+_0xd01120[_0x44b361(0x205)]),_0x250dc7[_0x44b361(0x32a)](_0xd01120[_0x44b361(0x205)],0x0)&&this['activeHooks'][_0x44b361(0x226)](_0x512f92)):logger[_0x44b361(0x215)](_0x44b361(0x26a)+_0x512f92+_0x44b361(0x297)+_0x28c81f);}}[a71_0x4ed66d(0x24c)](_0x1f42a3){const _0x3ace32=a71_0x4ed66d,_0x4ed7ab={};_0x4ed7ab[_0x3ace32(0x38c)]=function(_0xccf3cc,_0xaf711e){return _0xccf3cc>_0xaf711e;},_0x4ed7ab[_0x3ace32(0x382)]=function(_0x59b794,_0x37a8f4){return _0x59b794-_0x37a8f4;};const _0x4c3929=_0x4ed7ab;if(!_0x1f42a3)return null;if(this['activeHooks'][_0x3ace32(0x1fc)](_0x1f42a3)){const _0x4c224f=this['activeHooks'][_0x3ace32(0x2d3)](_0x1f42a3);if(_0x4c3929[_0x3ace32(0x38c)](_0x4c224f[_0x3ace32(0x205)],0x0)){const _0x2ae2e6=_0x4c224f[_0x4c3929[_0x3ace32(0x382)](_0x4c224f[_0x3ace32(0x205)],0x1)];return logger[_0x3ace32(0x215)](_0x3ace32(0x31d)+_0x1f42a3+',\x20hookUUID='+_0x2ae2e6['hookUUID']+',\x20hookType='+_0x2ae2e6[_0x3ace32(0x29c)]),_0x2ae2e6;}}return null;}async[a71_0x4ed66d(0x250)](_0x3df3b5,_0x98df03,_0x442222={}){const _0x302922=a71_0x4ed66d,_0x5bc31d={};_0x5bc31d[_0x302922(0x256)]=_0x302922(0x22a),_0x5bc31d[_0x302922(0x2bd)]=function(_0x136d92,_0xb27243){return _0x136d92===_0xb27243;},_0x5bc31d[_0x302922(0x21c)]=function(_0x2f987d,_0xb97798){return _0x2f987d===_0xb97798;},_0x5bc31d['ZUhIb']=function(_0x4328d4,_0x1ca5c5){return _0x4328d4||_0x1ca5c5;},_0x5bc31d[_0x302922(0x219)]=_0x302922(0x2a7);const _0x6bfa5e=_0x5bc31d;logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x33f)+Object[_0x302922(0x229)](_0x442222)[_0x302922(0x354)](',')),await super['trackEvent'](_0x3df3b5,_0x98df03,_0x442222);const _0x569451=this[_0x302922(0x27b)](_0x3df3b5,_0x98df03,_0x442222);if(!_0x569451){logger[_0x302922(0x215)](_0x6bfa5e[_0x302922(0x256)]);return;}try{let _0x222d06,_0x3cd57a,_0x4d3802;switch(_0x3df3b5){case TestFrameworkState[_0x302922(0x236)]:_0x222d06=_0x442222['test'];const _0x1d5bb1={};_0x1d5bb1[_0x302922(0x1fe)]=0x2,_0x1d5bb1['maxArrayLength']=0x3,logger[_0x302922(0x215)](_0x302922(0x31a)+_0x98df03+_0x302922(0x25f)+util['inspect'](_0x222d06,_0x1d5bb1)),_0x4d3802=this[_0x302922(0x31f)](_0x222d06),_0x3cd57a=null,logger[_0x302922(0x215)](_0x302922(0x291)+_0x4d3802+'\x20(testIdentifier)');if(_0x6bfa5e[_0x302922(0x2bd)](_0x98df03,HookState[_0x302922(0x299)])){logger[_0x302922(0x215)](_0x302922(0x1fd)+_0x4d3802);const _0x31ad94={};_0x31ad94[_0x302922(0x208)]=_0x3cd57a,_0x31ad94[_0x302922(0x353)]=_0x222d06,_0x31ad94[_0x302922(0x327)]=_0x4d3802;const _0x10f127=this[_0x302922(0x230)](_0x31ad94),_0x6b4d11={};_0x6b4d11[_0x302922(0x1fe)]=0x2,_0x6b4d11[_0x302922(0x35c)]=0x3,logger[_0x302922(0x215)](_0x302922(0x2ab)+util[_0x302922(0x2fd)](_0x10f127,_0x6b4d11)),_0x569451['addMultipleEntries'](_0x10f127),logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x4d3802),await this[_0x302922(0x35d)](_0x569451,_0x4d3802);}else{if(_0x6bfa5e[_0x302922(0x21c)](_0x98df03,HookState[_0x302922(0x1ff)])){logger['debug'](_0x302922(0x26d)+_0x4d3802);const _0x17a310=_0x569451[_0x302922(0x2b9)]()[_0x302922(0x2d3)](_0x4d3802);logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x302922(0x2fd)](Object[_0x302922(0x229)](_0x6bfa5e['ZUhIb'](_0x17a310,{}))));_0x17a310&&_0x17a310[TestFrameworkConstants[_0x302922(0x28d)]]?logger[_0x302922(0x215)](_0x302922(0x211)+Object['keys'](_0x17a310[TestFrameworkConstants[_0x302922(0x28d)]])['length']+_0x302922(0x23f)):logger[_0x302922(0x215)](_0x6bfa5e[_0x302922(0x219)]);const _0x185d63=_0x442222['originalTest']||null,_0x333a00={};_0x333a00['testUUID']=_0x3cd57a,_0x333a00[_0x302922(0x353)]=_0x222d06,_0x333a00[_0x302922(0x327)]=_0x4d3802,_0x333a00[_0x302922(0x333)]=_0x185d63;const _0x48bb4e=this[_0x302922(0x2ae)](_0x333a00),_0x211be0={};_0x211be0[_0x302922(0x1fe)]=0x2,_0x211be0[_0x302922(0x35c)]=0x3,logger['debug'](_0x302922(0x2c7)+util[_0x302922(0x2fd)](_0x48bb4e,_0x211be0)),_0x569451[_0x302922(0x29f)](_0x48bb4e),logger['debug'](_0x302922(0x298)+_0x4d3802),await this[_0x302922(0x35d)](_0x569451,_0x4d3802);}}break;case TestFrameworkState[_0x302922(0x38d)]:if(_0x6bfa5e[_0x302922(0x21c)](_0x98df03,HookState[_0x302922(0x1ff)])){const _0x395475={};_0x395475['depth']=0x2,logger[_0x302922(0x215)](_0x302922(0x296)+util[_0x302922(0x2fd)](_0x442222,_0x395475)),await this[_0x302922(0x210)](_0x569451,_0x3df3b5,_0x442222);}break;default:if(CLIUtils['matchHookRegex'](_0x3df3b5['toString']()[_0x302922(0x294)]('.')[0x1])){const _0x292685={};_0x292685[_0x302922(0x1fe)]=0x2,_0x292685[_0x302922(0x35c)]=0x3,logger['debug'](_0x302922(0x38f)+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x2b7)+util[_0x302922(0x2fd)](_0x442222['hookData'],_0x292685));const _0xa435cc=await this[_0x302922(0x2ff)](_0x569451,_0x3df3b5,_0x98df03,_0x442222),_0x4993d1={};_0x4993d1[_0x302922(0x1fe)]=0x2,_0x4993d1['maxArrayLength']=0x3,logger['debug'](_0x302922(0x2e2)+util['inspect'](_0xa435cc,_0x4993d1)),_0x569451[_0x302922(0x29f)](_0xa435cc);}else logger[_0x302922(0x215)](_0x302922(0x388)+_0x3df3b5+_0x302922(0x381)+_0x98df03);break;}logger[_0x302922(0x215)](_0x302922(0x2e0)+_0x3df3b5+',\x20hookState='+_0x98df03);}catch(_0x84a660){logger['error'](_0x302922(0x359)+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x240)+util[_0x302922(0x323)](_0x84a660));}_0x442222['instance']=_0x569451,await this['runHooks'](_0x569451,_0x3df3b5,_0x98df03,_0x442222);}[a71_0x4ed66d(0x31f)](_0x19bd0b){const _0xbf9d9b=a71_0x4ed66d,_0x4e8d4a={};_0x4e8d4a['DsblA']=_0xbf9d9b(0x2c2);const _0x12e61e=_0x4e8d4a;if(_0x19bd0b&&(_0x19bd0b['id']||_0x19bd0b['uuid'])){const _0x3d4d26=_0x19bd0b['id']||_0x19bd0b[_0xbf9d9b(0x328)];return logger['debug'](_0xbf9d9b(0x30e)+_0x3d4d26+_0xbf9d9b(0x22c)),_0x3d4d26;}return logger['debug'](_0x12e61e[_0xbf9d9b(0x314)]),process[_0xbf9d9b(0x2e6)]+_0xbf9d9b(0x303);}[a71_0x4ed66d(0x27b)](_0x2db762,_0x3aad1a,_0x567bd5={}){const _0x1f0b9a=a71_0x4ed66d;let _0xc76b9c=null;return _0xc76b9c=TestFramework['getTrackedInstance'](),!_0xc76b9c?(logger['debug'](_0x1f0b9a(0x255)+_0x2db762),this[_0x1f0b9a(0x2c3)](_0x2db762,_0x567bd5),_0xc76b9c=TestFramework[_0x1f0b9a(0x32b)](),logger['debug']('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0xc76b9c+_0x1f0b9a(0x34e)+_0xc76b9c?.[_0x1f0b9a(0x344)]()?.[_0x1f0b9a(0x247)]())):logger['debug'](_0x1f0b9a(0x2e4)+_0xc76b9c[_0x1f0b9a(0x344)]()?.[_0x1f0b9a(0x247)]()),_0xc76b9c;}[a71_0x4ed66d(0x2c3)](_0x153e13,_0x5e4a75){const _0x543c64=a71_0x4ed66d,_0x11983b={};_0x11983b['xkQtR']=_0x543c64(0x20a);const _0x5cb10b=_0x11983b;if(TestFramework['getTrackedInstance']()){logger[_0x543c64(0x215)](_0x5cb10b[_0x543c64(0x254)]);return;}const _0x11b6fd=CLIUtils[_0x543c64(0x346)](),_0x2926aa=TrackedInstance[_0x543c64(0x202)](_0x11b6fd);let _0x328787=null;logger[_0x543c64(0x215)](_0x543c64(0x2a0)+_0x11b6fd+_0x543c64(0x2eb)+_0x153e13),_0x328787=new TestFrameworkInstance(_0x2926aa,this['getTestFrameworks'](),this[_0x543c64(0x306)](),_0x153e13,HookState[_0x543c64(0x30d)]),TestFramework[_0x543c64(0x252)](_0x2926aa,_0x328787),logger[_0x543c64(0x215)](_0x543c64(0x302)+_0x2926aa['getId']()+_0x543c64(0x30c)+_0x11b6fd+_0x543c64(0x38b)+this[_0x543c64(0x363)]()[0x0]+_0x543c64(0x261)+this[_0x543c64(0x306)]()[this[_0x543c64(0x363)]()[0x0]]);}[a71_0x4ed66d(0x230)](_0x47466a){const _0x5a5bf9=a71_0x4ed66d,_0x1c82fb={};_0x1c82fb[_0x5a5bf9(0x272)]=function(_0x306203,_0x316d68){return _0x306203||_0x316d68;},_0x1c82fb['lGmsm']=_0x5a5bf9(0x242);const _0x40c4ee=_0x1c82fb,{testUUID:_0x56211c,testData:_0x4eeb07,testId:_0x1d19e8}=_0x47466a;if(_0x40c4ee[_0x5a5bf9(0x272)](!_0x4eeb07,!_0x1d19e8))return logger[_0x5a5bf9(0x215)](_0x40c4ee[_0x5a5bf9(0x34a)]),{};const _0x35a64d=this['getTestFrameworks']()[0x0],_0x1026fb=this['getTestFrameworksVersions'](),_0x490776={};_0x490776[_0x5a5bf9(0x1fe)]=0x2,_0x490776[_0x5a5bf9(0x35c)]=0x3,logger[_0x5a5bf9(0x215)](_0x5a5bf9(0x357)+util[_0x5a5bf9(0x2fd)](_0x4eeb07,_0x490776));const _0x405c44=_0x4eeb07?.[_0x5a5bf9(0x260)]||[],_0x1d4667=this['getJestTestName'](_0x4eeb07),_0x42c95e=this[_0x5a5bf9(0x1f9)](_0x4eeb07),_0x229982=_0x4eeb07['fn']?_0x4eeb07['fn'][_0x5a5bf9(0x23b)]():null,_0x59720e=this[_0x5a5bf9(0x2f4)](_0x4eeb07),_0x35ef66={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x35a64d,[TestFrameworkConstants[_0x5a5bf9(0x322)]]:_0x1026fb[_0x35a64d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5a5bf9(0x1f6)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x372)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x2fb)]]:TestFrameworkConstants[_0x5a5bf9(0x334)],[TestFrameworkConstants[_0x5a5bf9(0x38a)]]:_0x1d4667,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x42c95e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x1d19e8,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x1d4667,[TestFrameworkConstants[_0x5a5bf9(0x231)]]:_0x42c95e,[TestFrameworkConstants[_0x5a5bf9(0x375)]]:_0x229982,[TestFrameworkConstants[_0x5a5bf9(0x342)]]:_0x59720e,[TestFrameworkConstants[_0x5a5bf9(0x292)]]:_0x4eeb07[_0x5a5bf9(0x212)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x405c44[0x0]||'',[TestFrameworkConstants[_0x5a5bf9(0x2bc)]]:_0x405c44,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x1d4667,[TestFrameworkConstants[_0x5a5bf9(0x2b1)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x2b8)]]:{}};_0x4eeb07[_0x5a5bf9(0x352)]&&(_0x35ef66[TestFrameworkConstants[_0x5a5bf9(0x305)]]=_0x4eeb07[_0x5a5bf9(0x352)]);logger[_0x5a5bf9(0x215)](_0x5a5bf9(0x2b5)+_0x1d4667+',\x20testId='+_0x1d19e8+_0x5a5bf9(0x220)+JSON[_0x5a5bf9(0x265)](_0x59720e)+',\x20scopes='+util[_0x5a5bf9(0x2fd)](_0x405c44)+_0x5a5bf9(0x27e)+_0x42c95e);const _0x3a0350={};return _0x3a0350[_0x1d19e8]=_0x35ef66,_0x3a0350;}[a71_0x4ed66d(0x2ae)](_0x4fe583){const _0x51381d=a71_0x4ed66d,_0x5155c9={'FcjkB':function(_0x5728f6,_0x3deffc){return _0x5728f6===_0x3deffc;},'rQTRH':'afterAll','CYozz':function(_0x2bbc9a,_0x49c9a8){return _0x2bbc9a===_0x49c9a8;},'ZybvX':_0x51381d(0x380),'CQJle':_0x51381d(0x384),'xAvYJ':_0x51381d(0x29a),'Ftndf':function(_0x59c3fa,_0x4d7548){return _0x59c3fa||_0x4d7548;},'WhmLH':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','iARjR':function(_0x5f1922,_0x10a89b){return _0x5f1922||_0x10a89b;},'ANODI':_0x51381d(0x32e),'iRCaV':function(_0x3477aa,_0x228e13){return _0x3477aa>_0x228e13;},'hWXwc':'failed','aMJfM':_0x51381d(0x257),'qJaBo':_0x51381d(0x33d),'WLDxN':'passed','KWQdi':function(_0x70baf9,_0x5b32c9){return _0x70baf9!==_0x5b32c9;},'BApZt':function(_0x5e8bca,_0x1652bc,_0x1913a3,_0x59f491){return _0x5e8bca(_0x1652bc,_0x1913a3,_0x59f491);},'NSfLf':function(_0x31b867,_0x5338a6){return _0x31b867>_0x5338a6;},'bbEDt':_0x51381d(0x227),'LNezG':function(_0x516245,_0x3b08e3){return _0x516245>_0x3b08e3;}},{testUUID:_0x4a9e15,testData:_0x50029e,testId:_0x5983bf}=_0x4fe583;if(_0x5155c9[_0x51381d(0x26b)](!_0x50029e,!_0x5983bf))return logger[_0x51381d(0x215)](_0x5155c9[_0x51381d(0x23d)]),{};const _0x27e413=this['resolveInstance'](TestFrameworkState[_0x51381d(0x236)],HookState[_0x51381d(0x1ff)]),_0x11072a=_0x27e413[_0x51381d(0x2b9)]()[_0x51381d(0x2d3)](_0x5983bf),_0x1d82c7=_0x5155c9['iARjR'](_0x11072a,{}),_0x4cbfa6=_0x1d82c7?_0x1d82c7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x1960cd=_0x1d82c7[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x51381d(0x215)](_0x51381d(0x259)+(_0x1960cd?Object[_0x51381d(0x229)](_0x1960cd)['length']:0x0)+_0x51381d(0x32d));let _0x33d7af=_0x5155c9[_0x51381d(0x38e)];if(_0x50029e[_0x51381d(0x267)])_0x33d7af=_0x50029e[_0x51381d(0x267)];else{if(_0x50029e[_0x51381d(0x324)]&&_0x5155c9[_0x51381d(0x343)](_0x50029e['errorsDetailed'][_0x51381d(0x205)],0x0))_0x33d7af=_0x5155c9[_0x51381d(0x340)];else _0x5155c9[_0x51381d(0x2c9)](_0x50029e[_0x51381d(0x36a)],_0x5155c9['aMJfM'])||_0x5155c9[_0x51381d(0x2c9)](_0x50029e[_0x51381d(0x36a)],_0x5155c9[_0x51381d(0x228)])?_0x33d7af=_0x5155c9[_0x51381d(0x228)]:_0x33d7af=_0x5155c9[_0x51381d(0x362)];}const _0x3924d2={..._0x1d82c7,[TestFrameworkConstants[_0x51381d(0x2fb)]]:_0x33d7af,[TestFrameworkConstants[_0x51381d(0x2c6)]]:_0x50029e[_0x51381d(0x33c)]||new Date()[_0x51381d(0x2c5)](),[TestFrameworkConstants[_0x51381d(0x1f7)]]:new Date()[_0x51381d(0x2c5)](),[TestFrameworkConstants[_0x51381d(0x2b1)]]:_0x4cbfa6,[TestFrameworkConstants[_0x51381d(0x216)]]:[],[TestFrameworkConstants[_0x51381d(0x2b8)]]:{}};if(_0x5155c9['CYozz'](_0x33d7af,_0x5155c9[_0x51381d(0x340)])&&_0x50029e[_0x51381d(0x324)]){const _0x136219=this[_0x51381d(0x315)](_0x50029e),_0x4a6bcb=this[_0x51381d(0x36c)](_0x50029e),_0x41663a=this[_0x51381d(0x282)](_0x50029e);_0x3924d2[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x4a6bcb,_0x3924d2[TestFrameworkConstants[_0x51381d(0x218)]]=_0x136219,_0x3924d2[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x41663a;}_0x5155c9[_0x51381d(0x376)](_0x50029e[_0x51381d(0x37e)],undefined)&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x27c)]]=_0x50029e[_0x51381d(0x37e)]);_0x50029e[_0x51381d(0x352)]&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x305)]]=_0x50029e[_0x51381d(0x352)]);const _0x482b94=_0x11072a?_0x11072a[TestFrameworkConstants[_0x51381d(0x28d)]]||{}:{},_0x5f293a=_0x11072a?_0x11072a[TestFrameworkConstants[_0x51381d(0x313)]]:_0x4a9e15,_0x4ab5ab=_0x5155c9[_0x51381d(0x2d5)](getManualUploadLogs,_0x482b94,_0x5f293a,_0x5983bf);if(_0x5155c9[_0x51381d(0x343)](_0x4ab5ab[_0x51381d(0x205)],0x0)){const _0x1c9425=_0x3924d2[TestFrameworkConstants['KEY_LOGS']]||[];_0x3924d2[TestFrameworkConstants[_0x51381d(0x216)]]=[..._0x1c9425,..._0x4ab5ab];}const _0x4552ba=_0x1d82c7[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x3e13a5=_0x1d82c7[TestFrameworkConstants[_0x51381d(0x372)]]||{},_0xfdeaed={..._0x4552ba},_0x3a76ef=_0xfdeaed;Object[_0x51381d(0x229)](_0x3e13a5)['forEach'](_0x24fea9=>{const _0x20d5ae=_0x51381d;!_0x3a76ef[_0x24fea9]&&(_0x3a76ef[_0x24fea9]=[]);const _0x4bf60b=new Set((_0x3a76ef[_0x24fea9]||[])[_0x20d5ae(0x23a)](_0x1375fb=>_0x1375fb[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1375fb[_0x20d5ae(0x24a)]));(_0x3e13a5[_0x24fea9]||[])[_0x20d5ae(0x295)](_0x19586c=>{const _0x33e248=_0x20d5ae,_0x33a39c=_0x19586c[TestFrameworkConstants[_0x33e248(0x37a)]]||_0x19586c[_0x33e248(0x24a)];if(!_0x4bf60b[_0x33e248(0x1fc)](_0x33a39c)){const _0x245d05={..._0x19586c},_0x505adc=_0x245d05;!_0x505adc[TestFrameworkConstants[_0x33e248(0x1fb)]]&&!_0x505adc['event_ended_at']&&(_0x505adc[TestFrameworkConstants[_0x33e248(0x1fb)]]=new Date()[_0x33e248(0x2c5)]()),!_0x505adc[TestFrameworkConstants[_0x33e248(0x37c)]]&&!_0x505adc['hook_result']&&(_0x505adc[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x3a76ef[_0x24fea9][_0x33e248(0x335)](_0x505adc);}});});if(_0x4fe583['originalTest']){this['mapTestHooks'](_0x4fe583[_0x51381d(0x333)]);const _0x2e45d0=this[_0x51381d(0x289)](_0x4fe583[_0x51381d(0x333)]),_0x2e4a03=this[_0x51381d(0x243)](_0x4fe583[_0x51381d(0x333)]);_0x2e4a03[_0x51381d(0x295)](_0xa30dc1=>{const _0x17dd6c=_0x51381d,_0x1d1975=_0x2e45d0['get'](_0xa30dc1);if(_0x1d1975&&(_0x5155c9[_0x17dd6c(0x360)](_0x1d1975['type'],_0x5155c9[_0x17dd6c(0x30b)])||_0x5155c9[_0x17dd6c(0x2c9)](_0x1d1975[_0x17dd6c(0x2fe)],_0x5155c9[_0x17dd6c(0x332)]))){const _0x27bcee=_0x1d1975['type'][_0x17dd6c(0x2dd)]()[_0x17dd6c(0x339)](_0x5155c9[_0x17dd6c(0x356)],_0x5155c9[_0x17dd6c(0x32c)]),_0x22c6c0=_0x27bcee;!_0x3a76ef[_0x22c6c0]&&(_0x3a76ef[_0x22c6c0]=[]);const _0x4d33d7=_0x3a76ef[_0x22c6c0][_0x17dd6c(0x2ec)](_0x25c7c1=>(_0x25c7c1[TestFrameworkConstants['KEY_HOOK_ID']]||_0x25c7c1[_0x17dd6c(0x24a)])===_0xa30dc1);!_0x4d33d7&&_0x3a76ef[_0x22c6c0][_0x17dd6c(0x335)]({'key':_0x22c6c0,[TestFrameworkConstants['KEY_HOOK_ID']]:_0xa30dc1,[TestFrameworkConstants[_0x17dd6c(0x37c)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x17dd6c(0x374)]]:new Date()[_0x17dd6c(0x2c5)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x17dd6c(0x2c5)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x17dd6c(0x241)]]:_0x1d1975[_0x17dd6c(0x25d)]||_0x1d1975['type']+'\x20hook',[TestFrameworkConstants[_0x17dd6c(0x2b1)]]:_0x4cbfa6});}});}if(_0x50029e[_0x51381d(0x386)]&&_0x5155c9[_0x51381d(0x2a3)](_0x50029e[_0x51381d(0x386)][_0x51381d(0x205)],0x0))_0x3924d2[TestFrameworkConstants[_0x51381d(0x1f6)]]=_0x50029e['hooks'],logger[_0x51381d(0x215)](_0x5155c9[_0x51381d(0x2ee)]);else _0x5155c9[_0x51381d(0x336)](Object['keys'](_0x3a76ef)['length'],0x0)&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x1f6)]]=_0x3a76ef,logger[_0x51381d(0x215)](_0x51381d(0x2de)+Object['keys'](_0x3a76ef)[_0x51381d(0x354)](',')));const _0x2af1a9=this[_0x51381d(0x21b)](_0x50029e);logger[_0x51381d(0x215)](_0x51381d(0x270)+_0x2af1a9+',\x20testId='+_0x5983bf+_0x51381d(0x31b)+_0x33d7af+_0x51381d(0x2fc)+_0x50029e[_0x51381d(0x37e)]);_0x5155c9[_0x51381d(0x360)](_0x33d7af,_0x5155c9[_0x51381d(0x340)])&&logger['debug'](_0x51381d(0x30a)+_0x5983bf+',\x20failureType='+_0x3924d2[TestFrameworkConstants[_0x51381d(0x200)]]+',\x20failureReason='+_0x3924d2[TestFrameworkConstants[_0x51381d(0x218)]]?.[_0x51381d(0x276)](0x0,0xc8));const _0x56bb51={};return _0x56bb51[_0x5983bf]=_0x3924d2,_0x56bb51;}[a71_0x4ed66d(0x2b0)](_0x444dbe){const _0x2a0744=a71_0x4ed66d,_0x1ef582={};_0x1ef582['zeUnk']=function(_0x3d82ff,_0x51ae06){return _0x3d82ff!==_0x51ae06;},_0x1ef582['leQwz']='ROOT_DESCRIBE_BLOCK';const _0x6f7729=_0x1ef582,_0x387e9c={};_0x387e9c[_0x2a0744(0x1fe)]=0x2,_0x387e9c['maxArrayLength']=0x3,logger['debug'](_0x2a0744(0x2c4)+util[_0x2a0744(0x2fd)](_0x444dbe,_0x387e9c));const _0x35cff3=[];if(_0x444dbe&&_0x444dbe[_0x2a0744(0x2bb)]){let _0x252857=_0x444dbe[_0x2a0744(0x2bb)];while(_0x252857&&_0x252857[_0x2a0744(0x25d)]&&_0x6f7729['zeUnk'](_0x252857[_0x2a0744(0x25d)],'')&&_0x6f7729[_0x2a0744(0x2bf)](_0x252857['name'],_0x6f7729[_0x2a0744(0x2cf)])){_0x35cff3[_0x2a0744(0x335)](_0x252857[_0x2a0744(0x25d)]),_0x252857=_0x252857[_0x2a0744(0x2bb)];}}return _0x35cff3[_0x2a0744(0x309)]();}[a71_0x4ed66d(0x21b)](_0x297152){const _0x27f2f5=a71_0x4ed66d,_0x12f3ae={};_0x12f3ae[_0x27f2f5(0x2f1)]=_0x27f2f5(0x1f4);const _0x36bdc7=_0x12f3ae;if(_0x297152[_0x27f2f5(0x25d)])return _0x297152[_0x27f2f5(0x25d)];if(_0x297152[_0x27f2f5(0x20e)])return _0x297152['title'];return _0x36bdc7[_0x27f2f5(0x2f1)];}['getJestTestTags'](_0x76ef98){const _0x2bdaec=a71_0x4ed66d,_0x47d030=[];if(_0x76ef98[_0x2bdaec(0x20c)]&&Array[_0x2bdaec(0x348)](_0x76ef98[_0x2bdaec(0x20c)]))return _0x76ef98[_0x2bdaec(0x20c)]['map'](_0x53ab11=>_0x53ab11['startsWith']('@')?_0x53ab11['substr'](0x1):_0x53ab11);const _0x1dd7ad=this[_0x2bdaec(0x21b)](_0x76ef98),_0x2dbc5b=_0x1dd7ad[_0x2bdaec(0x35e)](/@(\w+)/g);if(_0x2dbc5b)return _0x2dbc5b[_0x2bdaec(0x23a)](_0x268c8d=>_0x268c8d[_0x2bdaec(0x36b)](0x1));return _0x76ef98[_0x2bdaec(0x260)]&&Array[_0x2bdaec(0x348)](_0x76ef98[_0x2bdaec(0x260)])&&_0x76ef98[_0x2bdaec(0x260)][_0x2bdaec(0x295)](_0x165e9a=>{const _0x154b37=_0x2bdaec,_0x13fb30=_0x165e9a['match'](/@(\w+)/g);_0x13fb30&&_0x13fb30[_0x154b37(0x295)](_0x6964d6=>{const _0x31633c=_0x154b37,_0x740756=_0x6964d6[_0x31633c(0x36b)](0x1);!_0x47d030[_0x31633c(0x1f5)](_0x740756)&&_0x47d030[_0x31633c(0x335)](_0x740756);});}),_0x47d030;}[a71_0x4ed66d(0x1f9)](_0x458830){const _0x44117e=a71_0x4ed66d,_0x32688a={'KEJsx':function(_0x45f138,_0x295b04){return _0x45f138(_0x295b04);},'QrZAM':_0x44117e(0x2ca)};if(_0x458830[_0x44117e(0x371)])return _0x458830[_0x44117e(0x371)];if(_0x458830[_0x44117e(0x368)]){const _0x486011=_0x32688a[_0x44117e(0x2cc)](require,_0x32688a[_0x44117e(0x2ba)]);try{const _0x15c065=_0x486011[_0x44117e(0x301)](_0x458830['asyncError']);if(_0x15c065[0x0]&&_0x15c065[0x0][_0x44117e(0x22d)])return _0x15c065[0x0][_0x44117e(0x22d)]();}catch(_0xd0485){logger[_0x44117e(0x215)](_0x44117e(0x338)+util[_0x44117e(0x323)](_0xd0485));}}return null;}[a71_0x4ed66d(0x315)](_0x21fece){const _0x11df7e=a71_0x4ed66d,_0x5719ad={};_0x5719ad[_0x11df7e(0x22b)]=function(_0x230389,_0x1fdb11){return _0x230389>_0x1fdb11;},_0x5719ad[_0x11df7e(0x389)]=_0x11df7e(0x34c);const _0x2ff205=_0x5719ad;if(_0x21fece[_0x11df7e(0x324)]&&_0x2ff205[_0x11df7e(0x22b)](_0x21fece[_0x11df7e(0x324)]['length'],0x0))return util[_0x11df7e(0x2fd)](_0x21fece[_0x11df7e(0x324)][0x0]);if(_0x21fece['failure_reason'])return _0x21fece[_0x11df7e(0x2fa)];return _0x2ff205[_0x11df7e(0x389)];}['getJestFailureType'](_0x32e966){const _0x51e692=a71_0x4ed66d,_0x3dfa0a={};_0x3dfa0a['gIFUI']=_0x51e692(0x232),_0x3dfa0a[_0x51e692(0x278)]=_0x51e692(0x2aa),_0x3dfa0a[_0x51e692(0x2a1)]='UnhandledError';const _0x25e527=_0x3dfa0a,_0x3d7926=this['getJestFailureReason'](_0x32e966);if(_0x3d7926&&_0x3d7926[_0x51e692(0x1f5)](_0x25e527[_0x51e692(0x258)]))return _0x25e527[_0x51e692(0x278)];return _0x25e527[_0x51e692(0x2a1)];}[a71_0x4ed66d(0x282)](_0x2dec59){const _0x52a83d=a71_0x4ed66d,_0x81c8a8={'yIpKE':function(_0x419776,_0x4de128){return _0x419776(_0x4de128);},'WlaVL':'../../../helpers/test-observability/utils','IgHlF':function(_0x2ca3e8,_0x5af3e0){return _0x2ca3e8!==_0x5af3e0;},'MBWMR':'test'},{failureData:_0x2d345b}=_0x81c8a8['yIpKE'](require,_0x81c8a8[_0x52a83d(0x2b3)]),_0xf68720=[];return _0x81c8a8[_0x52a83d(0x244)](_0x2dec59[_0x52a83d(0x324)],undefined)&&_0xf68720['push'](_0x2dec59[_0x52a83d(0x324)],_0x81c8a8[_0x52a83d(0x378)]),_0x2d345b['apply'](null,_0xf68720);}async['trackHookEvent'](_0x4d12ae,_0x36609c,_0x270767,_0x2f06ed){const _0x191f0e=a71_0x4ed66d,_0x54d92f={'LMoWH':_0x191f0e(0x209),'cgkqs':function(_0x51e234){return _0x51e234();},'tkevK':function(_0x22e464,_0x18ed72){return _0x22e464 in _0x18ed72;},'IoonM':function(_0x3b41ce,_0x132859){return _0x3b41ce in _0x132859;},'EGAGN':function(_0x156023,_0x1ac2f6){return _0x156023===_0x1ac2f6;},'AjlAe':function(_0x1776a9,_0x39cadc){return _0x1776a9===_0x39cadc;},'WHuSZ':function(_0x5063e1,_0x5df642){return _0x5063e1>_0x5df642;},'DgJAN':'failed','FmuXj':_0x191f0e(0x225),'FRKiD':function(_0x5f1f74,_0x1d362e){return _0x5f1f74===_0x1d362e;},'JCsvT':function(_0x517ea4,_0x5832c){return _0x517ea4!==_0x5832c;}},{hookData:_0x43603e}=_0x2f06ed,_0x49012e=_0x270767[_0x191f0e(0x23b)](),_0x39e909=_0x36609c[_0x191f0e(0x23b)](),_0x457a99={};_0x457a99[_0x191f0e(0x1fe)]=0x2,_0x457a99['maxArrayLength']=0x3,logger[_0x191f0e(0x215)](_0x191f0e(0x2da)+_0x39e909+_0x191f0e(0x310)+_0x49012e+_0x191f0e(0x2b7)+util[_0x191f0e(0x2fd)](_0x43603e,_0x457a99));if(!_0x43603e)return logger['debug'](_0x54d92f[_0x191f0e(0x26f)]),{};const _0x8751d7=_0x43603e['uuid']||_0x43603e[_0x191f0e(0x25c)]||_0x54d92f[_0x191f0e(0x279)](uuidv4),_0x39f530=_0x43603e[_0x191f0e(0x377)]||this['getJestTestIdentifier'](_0x43603e),_0x27e727=_0x36609c[_0x191f0e(0x23b)]()[_0x191f0e(0x294)]('.')[0x1],_0x86f26f=_0x4d12ae[_0x191f0e(0x2b9)]()['get'](_0x39f530),_0xf78857=_0x86f26f?_0x86f26f[TestFrameworkConstants[_0x191f0e(0x2b1)]]||{}:{};logger[_0x191f0e(0x215)](_0x191f0e(0x33b)+_0x8751d7+_0x191f0e(0x2a8)+_0x39f530+'\x20(testIdentifier),\x20hookType='+_0x27e727+_0x191f0e(0x310)+_0x49012e);if(!_0x86f26f)return logger['debug'](_0x191f0e(0x304)+_0x39f530+',\x20storing\x20as\x20pending\x20hook'),this[_0x191f0e(0x2b4)](_0x4d12ae,_0x39f530,_0x36609c,_0x270767,_0x2f06ed),{};let _0x27d970=_0x86f26f[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x27d970&&(_0x27d970={});!_0x54d92f['tkevK'](_0x27e727,_0x27d970)&&(_0x27d970[_0x27e727]=[]);let _0x20d68d=_0x86f26f[TestFrameworkConstants[_0x191f0e(0x1f6)]];!_0x20d68d&&(_0x20d68d={});!_0x54d92f[_0x191f0e(0x350)](_0x27e727,_0x20d68d)&&(_0x20d68d[_0x27e727]=[]);const _0x5a66ae={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x27d970,[TestFrameworkConstants[_0x191f0e(0x1f6)]]:_0x20d68d},_0x51931c={};_0x51931c[_0x39f530]=_0x5a66ae;const _0x47d0de=_0x51931c;if(_0x54d92f[_0x191f0e(0x24b)](_0x270767,HookState['PRE'])){const _0x540457={'key':_0x27e727,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x8751d7,[TestFrameworkConstants[_0x191f0e(0x37c)]]:TestFrameworkConstants[_0x191f0e(0x224)],[TestFrameworkConstants[_0x191f0e(0x374)]]:_0x43603e[_0x191f0e(0x212)]||new Date()[_0x191f0e(0x2c5)](),[TestFrameworkConstants[_0x191f0e(0x2cb)]]:[],[TestFrameworkConstants[_0x191f0e(0x241)]]:_0x43603e[_0x191f0e(0x25d)]||_0x43603e[_0x191f0e(0x248)]||_0x27e727,[TestFrameworkConstants[_0x191f0e(0x2b1)]]:_0xf78857};_0x27d970[_0x27e727][_0x191f0e(0x335)](_0x540457),_0x47d0de[_0x39f530][TestFrameworkConstants[_0x191f0e(0x337)]]=_0x27e727;const _0x510c30={};_0x510c30[_0x191f0e(0x1fe)]=0x2,logger[_0x191f0e(0x215)](_0x191f0e(0x373)+_0x27e727+_0x191f0e(0x2cd)+_0x8751d7+_0x191f0e(0x2a8)+_0x39f530+_0x191f0e(0x34b)+util[_0x191f0e(0x2fd)](_0x540457,_0x510c30));}else{if(_0x54d92f[_0x191f0e(0x2f3)](_0x270767,HookState['POST'])){const _0x53b9f3=_0x43603e[_0x191f0e(0x267)]||(_0x43603e[_0x191f0e(0x324)]&&_0x54d92f[_0x191f0e(0x269)](_0x43603e[_0x191f0e(0x324)][_0x191f0e(0x205)],0x0)?_0x54d92f['DgJAN']:_0x54d92f[_0x191f0e(0x33e)]),_0x44edf1=_0x27d970[_0x27e727]||[];logger[_0x191f0e(0x215)](_0x191f0e(0x2a6)+_0x27e727+_0x191f0e(0x2a8)+_0x39f530+_0x191f0e(0x35a)+_0x53b9f3+_0x191f0e(0x312)+_0x44edf1['length']);if(_0x54d92f[_0x191f0e(0x269)](_0x44edf1['length'],0x0)){const _0x43085c=_0x44edf1['pop']();_0x54d92f[_0x191f0e(0x28c)](_0x53b9f3,_0x54d92f['DgJAN'])&&_0x43603e[_0x191f0e(0x324)]?(_0x43085c[TestFrameworkConstants[_0x191f0e(0x366)]]=this['getJestFailureType'](_0x43603e),_0x43085c[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x191f0e(0x315)](_0x43603e),_0x43085c[TestFrameworkConstants[_0x191f0e(0x2ce)]]=this[_0x191f0e(0x282)](_0x43603e),logger[_0x191f0e(0x215)](_0x191f0e(0x2f5)+_0x27e727+_0x191f0e(0x36d)+_0x43085c[TestFrameworkConstants[_0x191f0e(0x366)]]+_0x191f0e(0x318)+_0x43085c[TestFrameworkConstants[_0x191f0e(0x311)]]?.['substring'](0x0,0xc8))):_0x43085c[TestFrameworkConstants[_0x191f0e(0x37c)]]=_0x54d92f['FmuXj'];_0x54d92f[_0x191f0e(0x331)](_0x53b9f3,TestFrameworkConstants[_0x191f0e(0x224)])&&(_0x43085c[TestFrameworkConstants[_0x191f0e(0x37c)]]=_0x53b9f3);_0x43085c[TestFrameworkConstants[_0x191f0e(0x1fb)]]=_0x43603e[_0x191f0e(0x33c)]||new Date()[_0x191f0e(0x2c5)](),_0x43085c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xf78857;const _0x3a4d64=_0x43085c[TestFrameworkConstants[_0x191f0e(0x37a)]];!_0x20d68d[_0x27e727]&&(_0x20d68d[_0x27e727]=[]);_0x20d68d[_0x27e727][_0x191f0e(0x335)](_0x43085c),_0x47d0de[_0x39f530][TestFrameworkConstants[_0x191f0e(0x370)]]=_0x27e727;const _0x496631={};_0x496631[_0x191f0e(0x1fe)]=0x2,logger[_0x191f0e(0x215)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x27e727+_0x191f0e(0x2cd)+_0x3a4d64+',\x20result='+_0x53b9f3+_0x191f0e(0x34b)+util[_0x191f0e(0x2fd)](_0x43085c,_0x496631));}}}const _0x5d50e8={};return _0x5d50e8[_0x191f0e(0x1fe)]=0x2,_0x5d50e8[_0x191f0e(0x35c)]=0x3,logger[_0x191f0e(0x215)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x43603e['hook_type']||_0x27e727)+_0x191f0e(0x2cd)+_0x8751d7+',\x20testId='+_0x39f530+_0x191f0e(0x321)+util[_0x191f0e(0x2fd)](_0x47d0de,_0x5d50e8)),_0x47d0de;}[a71_0x4ed66d(0x29e)](_0x17c85a){const _0x107975=a71_0x4ed66d,_0xc38fb6={};_0xc38fb6[_0x107975(0x21f)]=_0x107975(0x2f9);const _0x3730da=_0xc38fb6;try{const _0x16aaed=_0x17c85a['test']?this[_0x107975(0x31f)](_0x17c85a[_0x107975(0x264)]):_0x17c85a[_0x107975(0x35f)][_0x107975(0x377)],_0x3099ef=_0x17c85a[_0x107975(0x379)],_0x10654e=_0x3099ef['getContext'](),_0x3633ba=_0x3099ef[_0x107975(0x2b9)]()[_0x107975(0x2d3)](_0x16aaed);if(!_0x3633ba)return logger[_0x107975(0x215)](_0x107975(0x201)+_0x16aaed),{};const {[TestFrameworkConstants[_0x107975(0x308)]]:_0x94465d='',[TestFrameworkConstants[_0x107975(0x322)]]:_0x2436ba='',[TestFrameworkConstants[_0x107975(0x292)]]:_0x5e2e9f='',[TestFrameworkConstants[_0x107975(0x2c6)]]:_0x232f0e=''}=_0x3633ba,_0x3f95c8=_0x3099ef[_0x107975(0x2e7)]()[_0x107975(0x23b)]()[_0x107975(0x294)]('.')[0x1],_0x3dbec7=_0x3099ef[_0x107975(0x285)]()[_0x107975(0x23b)]()['split']('.')[0x1],_0x1a664f=global?.['__workerDetails']?.[_0x107975(0x34d)]?.[_0x107975(0x2c1)],_0x26e829=_0x3099ef['getRef'](),_0x23433e=Buffer['from'](JSON[_0x107975(0x265)](_0x3633ba))[_0x107975(0x23b)](_0x3730da[_0x107975(0x21f)]),_0x4926e6={'hash':_0x10654e[_0x107975(0x247)](),'threadId':_0x10654e[_0x107975(0x2d9)]()['toString'](),'processId':_0x10654e[_0x107975(0x22e)]()[_0x107975(0x23b)]()},_0x458c59={};_0x458c59[_0x107975(0x213)]=_0x1a664f,_0x458c59[_0x107975(0x280)]=_0x94465d,_0x458c59[_0x107975(0x390)]=_0x2436ba,_0x458c59[_0x107975(0x21d)]=_0x3f95c8,_0x458c59['hookState']=_0x3dbec7,_0x458c59[_0x107975(0x263)]=_0x5e2e9f,_0x458c59['endedAt']=_0x232f0e,_0x458c59[_0x107975(0x328)]=_0x26e829,_0x458c59[_0x107975(0x37d)]=_0x23433e,_0x458c59[_0x107975(0x234)]=_0x4926e6,_0x458c59[_0x107975(0x32f)]=_0x16aaed;const _0x10cf3b=_0x458c59;return _0x10cf3b;}catch(_0xf5be96){return logger[_0x107975(0x2b2)](_0x107975(0x341)+util['format'](_0xf5be96)),{};}}async['sendLogCreatedEvent'](_0x3c3646,_0x32ab53,_0x422a04){const _0x173e4f=a71_0x4ed66d,_0x5e28a0={'mdSyU':function(_0x526704,_0x3eede5){return _0x526704+_0x3eede5;},'wKzMZ':_0x173e4f(0x288),'hWwEq':_0x173e4f(0x273),'DoqAk':function(_0x1674da,_0x5cd55b){return _0x1674da>_0x5cd55b;},'dshZN':function(_0x5288fd,_0x2a60d4,_0x8e41ed,_0x12a2c4){return _0x5288fd(_0x2a60d4,_0x8e41ed,_0x12a2c4);},'SkPGf':function(_0x10b703,_0x150317){return _0x10b703-_0x150317;},'tgaKL':function(_0x4f8773,_0x8c69e5){return _0x4f8773===_0x8c69e5;},'qkmle':function(_0x17e274,_0x3196c8){return _0x17e274/_0x3196c8;},'zKlRz':function(_0x52f0f9,_0x490493){return _0x52f0f9<_0x490493;},'dvAaY':function(_0x14656d,_0x5c5fac){return _0x14656d*_0x5c5fac;},'HMPAF':function(_0x441c38,_0x51602b){return _0x441c38+_0x51602b;},'ZsksY':function(_0x521255,_0x372f1c){return _0x521255+_0x372f1c;},'FIKYm':function(_0x597da6,_0x586f1a){return _0x597da6>_0x586f1a;}};try{const _0x3c7671=_0x422a04[_0x173e4f(0x208)]||_0x422a04[_0x173e4f(0x327)],_0x5e903d=Array[_0x173e4f(0x330)](_0x3c3646[_0x173e4f(0x2b9)]()[_0x173e4f(0x229)]()),_0x578d75=_0x3c3646[_0x173e4f(0x2b9)]()['get'](_0x3c7671);if(!_0x578d75){logger[_0x173e4f(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3c7671);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x655a32='',[TestFrameworkConstants[_0x173e4f(0x322)]]:_0x4dc3c2=''}=_0x578d75;let _0x38f69a=[];if(_0x578d75&&_0x578d75[TestFrameworkConstants[_0x173e4f(0x216)]]&&Array[_0x173e4f(0x348)](_0x578d75[TestFrameworkConstants[_0x173e4f(0x216)]])){_0x38f69a=_0x578d75[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x173e4f(0x215)](_0x173e4f(0x217)+_0x38f69a[_0x173e4f(0x205)]+_0x173e4f(0x2ad)+_0x3c7671);const _0x456ce6={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x4b091a={};_0x4b091a[_0x3c7671]=_0x456ce6,_0x3c3646['addMultipleEntries'](_0x4b091a),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x3c7671);}else logger[_0x173e4f(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x3c7671);logger['debug'](_0x173e4f(0x37f)+_0x38f69a[_0x173e4f(0x205)]+_0x173e4f(0x223)+_0x3c7671);const _0x267642=_0x38f69a[_0x173e4f(0x2d6)](_0x451ae9=>_0x451ae9[_0x173e4f(0x286)]===_0x173e4f(0x26c));_0x5e28a0[_0x173e4f(0x2ed)](_0x267642[_0x173e4f(0x205)],0x0)&&(logger[_0x173e4f(0x215)](_0x173e4f(0x238)+_0x267642[_0x173e4f(0x205)]+_0x173e4f(0x2f0)+_0x3c7671),_0x267642['forEach']((_0x6f494f,_0x609bcd)=>{const _0x19233e=_0x173e4f;logger[_0x19233e(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x5e28a0[_0x19233e(0x28a)](_0x609bcd,0x1)+'/'+_0x267642[_0x19233e(0x205)]+_0x19233e(0x28e)+(_0x6f494f[_0x19233e(0x32f)]||_0x5e28a0[_0x19233e(0x235)])+_0x19233e(0x281)+(_0x6f494f[_0x19233e(0x25e)]||_0x5e28a0[_0x19233e(0x235)])+',\x20hook_run_uuid='+(_0x6f494f[_0x19233e(0x2a5)]||_0x5e28a0[_0x19233e(0x307)])+_0x19233e(0x1f3)+(_0x6f494f['message']?.['length']||0x0));}));const _0xbbcee5=_0x578d75[TestFrameworkConstants[_0x173e4f(0x28d)]]||{},_0x5ed23a=_0x5e28a0[_0x173e4f(0x29b)](getMediaArtifactsLogs,_0xbbcee5,null,_0x3c7671),_0x55ce14=(_0x38f69a||[])['concat'](_0x5ed23a||[]),_0x244768=_0x267642?.[_0x173e4f(0x205)]||0x0,_0x1344f5=_0x5e28a0[_0x173e4f(0x35b)](_0x38f69a?.['length']||0x0,_0x244768);logger[_0x173e4f(0x215)](_0x173e4f(0x320)+_0x3c7671+_0x173e4f(0x237)+_0x1344f5+_0x173e4f(0x319)+_0x244768+',\x20attachmentLogs:\x20'+(_0x5ed23a?.[_0x173e4f(0x205)]||0x0)+',\x20totalLogs:\x20'+_0x55ce14[_0x173e4f(0x205)]);if(!_0x55ce14||_0x5e28a0[_0x173e4f(0x1fa)](_0x55ce14[_0x173e4f(0x205)],0x0)){logger[_0x173e4f(0x215)](_0x173e4f(0x2a2)+_0x3c7671);return;}const _0x2ede55=0x28,_0xa27878=Math[_0x173e4f(0x23e)](_0x5e28a0[_0x173e4f(0x24e)](_0x55ce14[_0x173e4f(0x205)],_0x2ede55));for(let _0xc89c21=0x0;_0x5e28a0[_0x173e4f(0x31e)](_0xc89c21,_0xa27878);_0xc89c21++){const _0x2e64fb=_0x5e28a0[_0x173e4f(0x2ef)](_0xc89c21,_0x2ede55),_0x4309af=_0x5e28a0['mdSyU'](_0x2e64fb,_0x2ede55),_0x3ceac4=_0x55ce14[_0x173e4f(0x36b)](_0x2e64fb,_0x4309af),_0x5cbd84=global?.[_0x173e4f(0x2af)]?.['workerInfo']?.[_0x173e4f(0x2c1)]||0x0,_0x2138ae={'platformIndex':_0x5cbd84,'logs':_0x3ceac4,'testFrameworkName':_0x655a32,'testFrameworkVersion':_0x4dc3c2,'testFrameworkState':_0x32ab53[_0x173e4f(0x23b)]()[_0x173e4f(0x294)]('.')[0x1]},_0x495c15={};_0x495c15[_0x173e4f(0x1fe)]=0x3,_0x495c15['maxArrayLength']=0x5,logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5e28a0[_0x173e4f(0x207)](_0xc89c21,0x1)+'/'+_0xa27878+_0x173e4f(0x2db)+_0x3c7671+',\x20logsInBatch:\x20'+_0x3ceac4[_0x173e4f(0x205)]+_0x173e4f(0x204)+_0x5cbd84+_0x173e4f(0x2ea)+util[_0x173e4f(0x2fd)](_0x2138ae,_0x495c15));const _0x549e33=await GrpcClient[_0x173e4f(0x387)]()[_0x173e4f(0x385)](_0x2138ae);logger[_0x173e4f(0x215)](_0x173e4f(0x31c)+_0x5e28a0['ZsksY'](_0xc89c21,0x1)+'/'+_0xa27878+_0x173e4f(0x2db)+_0x3c7671+_0x173e4f(0x206)+util[_0x173e4f(0x2fd)](_0x549e33));}if(_0x5ed23a&&_0x5e28a0['FIKYm'](_0x5ed23a[_0x173e4f(0x205)],0x0)&&_0x578d75[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x629c07={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x196ef8={};_0x196ef8[_0x3c7671]=_0x629c07,_0x3c3646[_0x173e4f(0x29f)](_0x196ef8);}logger['debug'](_0x173e4f(0x245)+_0x3c7671+_0x173e4f(0x262)+_0xa27878);}catch(_0x42f75e){logger[_0x173e4f(0x2b2)](_0x173e4f(0x25b)+(_0x422a04['testUUID']||_0x422a04[_0x173e4f(0x327)])+_0x173e4f(0x28b)+util['format'](_0x42f75e));}}[a71_0x4ed66d(0x2b4)](_0xd028e1,_0x255988,_0x12f6a3,_0x2acac0,_0x30597a){const _0x3313ed=a71_0x4ed66d,_0x1f18b5={};_0x1f18b5[_0x3313ed(0x351)]=function(_0x3898f3,_0x545fd8){return _0x3898f3===_0x545fd8;},_0x1f18b5[_0x3313ed(0x271)]=_0x3313ed(0x380);const _0x31c5a7=_0x1f18b5,{hookData:_0x5a9736}=_0x30597a,_0x38c116={'testId':_0x255988,'testFrameworkState':_0x12f6a3,'hookState':_0x2acac0,'args':_0x30597a,'timestamp':new Date()[_0x3313ed(0x2c5)]()};if(_0x31c5a7['CSYzi'](_0x12f6a3,TestFrameworkState[_0x3313ed(0x2f2)])&&_0x5a9736){const _0x125bbf={};_0x125bbf[_0x3313ed(0x249)]=_0x5a9736['file_name']||_0x5a9736[_0x3313ed(0x2d8)],_0x125bbf['scope']=_0x5a9736[_0x3313ed(0x203)]||_0x5a9736[_0x3313ed(0x260)]&&_0x5a9736[_0x3313ed(0x260)][0x0]||'',_0x125bbf[_0x3313ed(0x29c)]=_0x31c5a7[_0x3313ed(0x271)],_0x38c116[_0x3313ed(0x2d1)]=_0x125bbf,logger[_0x3313ed(0x215)](_0x3313ed(0x21e)+_0x255988+_0x3313ed(0x2d0)+_0x38c116['hookMetadata'][_0x3313ed(0x249)]+_0x3313ed(0x2f8)+_0x38c116['hookMetadata'][_0x3313ed(0x203)]);}_0xd028e1[_0x3313ed(0x23c)](_0x255988,_0x38c116),logger[_0x3313ed(0x215)](_0x3313ed(0x361)+_0x255988+',\x20state:\x20'+_0x12f6a3+_0x3313ed(0x274)+_0x2acac0);}async[a71_0x4ed66d(0x35d)](_0xd84f3b,_0x3ab84e){const _0x118ca=a71_0x4ed66d,_0x10b879={};_0x10b879['jrTIU']=function(_0xaf065f,_0x2851c0){return _0xaf065f>_0x2851c0;},_0x10b879[_0x118ca(0x29d)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x10b879[_0x118ca(0x36f)]=function(_0x51db7a,_0x2473dd){return _0x51db7a===_0x2473dd;},_0x10b879[_0x118ca(0x383)]=function(_0x5c2f1,_0x2d16dc){return _0x5c2f1===_0x2d16dc;},_0x10b879['rhLml']=function(_0x2a6f43,_0x15c2ce){return _0x2a6f43===_0x15c2ce;},_0x10b879[_0x118ca(0x20f)]=function(_0x28fe67,_0x2df855){return _0x28fe67>_0x2df855;},_0x10b879['uSkGn']='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x10b879['jEhdb']=_0x118ca(0x345);const _0x1e6c65=_0x10b879;if(_0xd84f3b[_0x118ca(0x2e1)](_0x3ab84e)){const _0x136036=_0xd84f3b[_0x118ca(0x2d2)](_0x3ab84e);logger[_0x118ca(0x215)](_0x118ca(0x316)+_0x136036[_0x118ca(0x205)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3ab84e);for(const _0x7391b8 of _0x136036){try{const _0x379c36=await this[_0x118ca(0x2ff)](_0xd84f3b,_0x7391b8[_0x118ca(0x21d)],_0x7391b8[_0x118ca(0x2c8)],_0x7391b8[_0x118ca(0x2d7)]);_0x379c36&&_0x1e6c65[_0x118ca(0x24d)](Object[_0x118ca(0x229)](_0x379c36)['length'],0x0)&&_0xd84f3b[_0x118ca(0x29f)](_0x379c36),await this[_0x118ca(0x266)](_0xd84f3b,_0x7391b8[_0x118ca(0x21d)],_0x7391b8[_0x118ca(0x2c8)],_0x7391b8[_0x118ca(0x2d7)]);}catch(_0x45dc58){logger[_0x118ca(0x2b2)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x3ab84e+_0x118ca(0x28b)+_0x45dc58);}}_0xd84f3b[_0x118ca(0x24f)](_0x3ab84e),logger[_0x118ca(0x215)](_0x118ca(0x2ac)+_0x3ab84e);}const _0x1381a3=_0xd84f3b[_0x118ca(0x2b9)]()[_0x118ca(0x2d3)](_0x3ab84e);if(_0x1381a3){const _0x1f89e5=_0x1381a3[TestFrameworkConstants[_0x118ca(0x2f7)]]||_0x1381a3[TestFrameworkConstants[_0x118ca(0x231)]],_0x48e5bc=_0x1381a3[TestFrameworkConstants[_0x118ca(0x2df)]]||_0x1381a3[TestFrameworkConstants[_0x118ca(0x2bc)]]&&_0x1381a3[TestFrameworkConstants[_0x118ca(0x2bc)]][0x0]||'';logger[_0x118ca(0x215)](_0x1e6c65[_0x118ca(0x29d)]);const _0x213d20=_0xd84f3b[_0x118ca(0x367)]();for(const _0x3ade1e of _0x213d20){if(_0x1e6c65['faPJv'](_0x3ade1e,_0x3ab84e))continue;if(_0xd84f3b[_0x118ca(0x2e1)](_0x3ade1e)){const _0x319ea3=_0xd84f3b[_0x118ca(0x2d2)](_0x3ade1e);for(const _0x37df75 of _0x319ea3){if(_0x1e6c65[_0x118ca(0x383)](_0x37df75['testFrameworkState'],TestFrameworkState[_0x118ca(0x2f2)])&&_0x37df75[_0x118ca(0x2d1)]){const _0x567819=_0x37df75[_0x118ca(0x2d1)][_0x118ca(0x249)],_0x1d882f=_0x37df75[_0x118ca(0x2d1)][_0x118ca(0x203)];if(_0x1e6c65[_0x118ca(0x383)](_0x567819,_0x1f89e5)&&_0x1e6c65[_0x118ca(0x369)](_0x1d882f,_0x48e5bc)){logger['debug'](_0x118ca(0x1f8)+_0x3ade1e+_0x118ca(0x26e)+_0x3ab84e+',\x20filePath:\x20'+_0x567819+_0x118ca(0x2f8)+_0x1d882f);_0x37df75[_0x118ca(0x2d7)]&&_0x37df75[_0x118ca(0x2d7)][_0x118ca(0x35f)]&&(_0x37df75[_0x118ca(0x2d7)][_0x118ca(0x35f)][_0x118ca(0x377)]=_0x3ab84e,logger[_0x118ca(0x215)](_0x118ca(0x277)+_0x3ade1e+'\x20to\x20'+_0x3ab84e));try{const _0x3b3073=await this[_0x118ca(0x2ff)](_0xd84f3b,_0x37df75[_0x118ca(0x21d)],_0x37df75[_0x118ca(0x2c8)],_0x37df75[_0x118ca(0x2d7)]);_0x3b3073&&_0x1e6c65[_0x118ca(0x20f)](Object['keys'](_0x3b3073)[_0x118ca(0x205)],0x0)&&_0xd84f3b[_0x118ca(0x29f)](_0x3b3073);await this['runHooks'](_0xd84f3b,_0x37df75[_0x118ca(0x21d)],_0x37df75['hookState'],_0x37df75[_0x118ca(0x2d7)]);const _0x15dc5a=_0xd84f3b[_0x118ca(0x2d2)](_0x3ade1e)['filter'](_0x4bc23f=>_0x4bc23f!==_0x37df75);if(_0x1e6c65['rhLml'](_0x15dc5a[_0x118ca(0x205)],0x0))_0xd84f3b[_0x118ca(0x24f)](_0x3ade1e);else{_0xd84f3b['removePendingHooks'](_0x3ade1e);for(const _0x519561 of _0x15dc5a){_0xd84f3b[_0x118ca(0x23c)](_0x3ade1e,_0x519561);}}logger[_0x118ca(0x215)](_0x1e6c65[_0x118ca(0x34f)]);}catch(_0x27d2e0){logger['error'](_0x1e6c65['jEhdb']);}}}}}}}}['mapTestHooks'](_0x1b2e6a){const _0x1fe6bb=a71_0x4ed66d,_0x16f88b={'BDFxh':function(_0xf8a96a){return _0xf8a96a();}};if(!_0x1b2e6a||!_0x1b2e6a[_0x1fe6bb(0x2bb)])return;_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)]&&Array[_0x1fe6bb(0x348)](_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)])&&_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)]['forEach'](_0x4cf3e3=>{const _0x481203=_0x1fe6bb;!_0x4cf3e3[_0x481203(0x25c)]&&!_0x4cf3e3[_0x481203(0x365)]&&(_0x4cf3e3[_0x481203(0x25c)]=_0x16f88b[_0x481203(0x364)](uuidv4),_0x4cf3e3['hookUUID']=_0x4cf3e3['hookAnalyticsId'],logger[_0x481203(0x215)](_0x481203(0x268)+_0x4cf3e3[_0x481203(0x2fe)]+',\x20hookUUID='+_0x4cf3e3['hookAnalyticsId']));}),this[_0x1fe6bb(0x2a4)](_0x1b2e6a[_0x1fe6bb(0x2bb)]);}[a71_0x4ed66d(0x243)](_0x407973){const _0x374b26=a71_0x4ed66d,_0x1c7546={'osMIX':function(_0x59aa7f,_0x4d268a){return _0x59aa7f(_0x4d268a);}};if(!_0x407973||!_0x407973[_0x374b26(0x2bb)])return[];const _0x1f9f99=[];return _0x407973[_0x374b26(0x2bb)][_0x374b26(0x386)]&&Array[_0x374b26(0x348)](_0x407973['parent'][_0x374b26(0x386)])&&_0x407973[_0x374b26(0x2bb)][_0x374b26(0x386)][_0x374b26(0x295)](_0x558495=>{const _0x5a7bbe=_0x374b26,_0x2468f6=_0x558495[_0x5a7bbe(0x25c)]||_0x558495[_0x5a7bbe(0x365)];_0x2468f6&&!this[_0x5a7bbe(0x36e)](_0x558495)&&!_0x1c7546[_0x5a7bbe(0x239)](isInternalHook,_0x558495['fn'])&&_0x1f9f99['push'](_0x2468f6);}),[..._0x1f9f99,...this['getHooksForTest'](_0x407973['parent'])];}[a71_0x4ed66d(0x289)](_0x540d91){const _0x42ed37=a71_0x4ed66d,_0x32d055={'SAwzb':function(_0xd2d47d,_0x54b00a){return _0xd2d47d(_0x54b00a);},'SRPKK':'unknown','GZmKr':function(_0x1dd191,_0x4fbc8d){return _0x1dd191(_0x4fbc8d);}},_0x1540e1=new Map(),_0x40954c=_0x31c629=>{const _0x42a398=a71_0x25db;if(!_0x31c629||!_0x31c629[_0x42a398(0x2bb)])return;_0x31c629['parent']['hooks']&&Array[_0x42a398(0x348)](_0x31c629['parent'][_0x42a398(0x386)])&&_0x31c629[_0x42a398(0x2bb)][_0x42a398(0x386)][_0x42a398(0x295)](_0x365819=>{const _0x421126=_0x42a398,_0x481e0c=_0x365819[_0x421126(0x25c)]||_0x365819['hookUUID'];if(_0x481e0c&&!this[_0x421126(0x36e)](_0x365819)&&!_0x32d055['SAwzb'](isInternalHook,_0x365819['fn'])){const _0x4a5044={};_0x4a5044['type']=_0x365819[_0x421126(0x2fe)]||_0x32d055[_0x421126(0x283)],_0x4a5044['name']=_0x365819[_0x421126(0x25d)]||'\x22'+_0x365819['type']+_0x421126(0x290),_0x1540e1['set'](_0x481e0c,_0x4a5044);}}),_0x32d055[_0x42a398(0x20d)](_0x40954c,_0x31c629[_0x42a398(0x2bb)]);};return _0x32d055[_0x42ed37(0x20d)](_0x40954c,_0x540d91),_0x1540e1;}[a71_0x4ed66d(0x36e)](_0x31d116){const _0x41462e=a71_0x4ed66d,_0x5924fb={};_0x5924fb[_0x41462e(0x300)]=_0x41462e(0x2b6),_0x5924fb['aMhpF']='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x158566=_0x5924fb;try{const _0x37db68=this[_0x41462e(0x2d4)](_0x31d116);return _0x37db68&&_0x37db68['includes'](_0x158566[_0x41462e(0x300)]);}catch(_0x4cbb5c){logger[_0x41462e(0x215)](_0x158566[_0x41462e(0x317)]);}return![];}[a71_0x4ed66d(0x2d4)](_0x51d794){const _0x356784=a71_0x4ed66d;if(_0x51d794[_0x356784(0x368)])try{const _0x19612c=stackTrace[_0x356784(0x301)](_0x51d794['asyncError']);return _0x19612c[0x0]?_0x19612c[0x0][_0x356784(0x22d)]():null;}catch(_0x2ad27f){logger[_0x356784(0x215)](_0x356784(0x28f)+util[_0x356784(0x323)](_0x2ad27f));}if(_0x51d794['file'])return _0x51d794['file'];return null;}}module[a71_0x4ed66d(0x33a)]=JestTestFramework;function a71_0x46bd(){const _0x48bfd5=[',\x20response=','HMPAF','testUUID','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','trackJestInstance:\x20instance\x20already\x20exists','18097080lyrNcm','tags','GZmKr','title','rUVSA','sendLogCreatedEvent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','started_at','platformIndex',',\x20totalHooks=','debug','KEY_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KEY_TEST_FAILURE_REASON','UbXlM','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','getJestTestName','DISsc','testFrameworkState','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','AJdCp','\x20(testIdentifier),\x20tags=','WgrTk','findIndex','\x20for\x20testId:\x20','DEFAULT_HOOK_RESULT','passed','delete','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','qJaBo','keys','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','ZxtDj','\x22\x20from\x20testData','getFileName','getProcessId','../cliUtils.js','parseJestTest','KEY_TEST_LOCATION','Assert','57420WHMJQP','executionContext','wKzMZ','TEST',',\x20consoleLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','osMIX','map','toString','addPendingHook','WhmLH','ceil','\x20files',',\x20exception=','KEY_HOOK_NAME','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','getHooksForTest','IgHlF','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','JestTestFramework','getId','hook_type','filePath','hook_id','EGAGN','getActiveHook','jrTIU','qkmle','removePendingHooks','trackEvent','../grpcClient','setTrackedInstance','ZIhGd','xkQtR','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','qjPHc','skip','gIFUI','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','hookAnalyticsId','name','test_run_uuid',',\x20testData=','scopes',',\x20version=',',\x20totalBatches:\x20','startedAt','test','stringify','runHooks','result','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','WHuSZ','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','Ftndf','TEST_SCREENSHOT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20',',\x20currentTestId:\x20','LMoWH','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','xiPVY','WtPqo','none',',\x20hookState:\x20','80UlHLPp','substring','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','AJVgp','cgkqs','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','resolveInstance','KEY_TEST_DURATION','../instances/trackedInstance.js',',\x20filePath=','5598hkameF','testFrameworkName',',\x20test_run_uuid=','getJestFailureData','SRPKK','2457dcGaBG','getCurrentHookState','kind','693829yainhI','missing','buildHookMapFromTest','mdSyU',',\x20error:\x20','FRKiD','KEY_TEST_ATTACHMENTS','\x20-\x20test_identifier=','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','\x22\x20hook','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','KEY_TEST_STARTED_AT','1720odoDoU','split','forEach','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20hookUUID=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','PRE','_ALL','dshZN','hookType','uENxy','createTestFrameworkEventPayload','addMultipleEntries','trackJestInstance:\x20created\x20instance\x20for\x20target=','gFdfI','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','NSfLf','mapTestHooks','hook_run_uuid','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20testId=','../state/hookState.js','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20logs\x20for\x20testId:\x20','parseJestTestResult','__workerDetails','getJestTestScopes','KEY_CUSTOM_TAGS','error','WlaVL','storePendingHook','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','jest-circus',',\x20hookData=','KEY_TEST_META','getAllData','QrZAM','parent','KEY_TEST_SCOPES','vdkwN','util','zeUnk','10KBGXvh','parallelIndex','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','trackJestInstance','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','toISOString','KEY_TEST_ENDED_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','hookState','CYozz','stack-trace','KEY_HOOK_LOGS','KEJsx',',\x20hookId=','KEY_HOOK_FAILURE','leQwz',',\x20filePath:\x20','hookMetadata','getPendingHooks','get','getRootParentFile','BApZt','filter','args','location','getThreadId','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','\x20-\x20testId:\x20',',\x20hookType=','toUpperCase','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','804exAcMr','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','3119732KkWXRQ','pid','getCurrentTestState','../../../helpers/classLogger.js','195jVYXVz',',\x20payload:\x20',',\x20state=','find','DoqAk','bbEDt','dvAaY','\x20screenshot\x20logs\x20for\x20testId:\x20','GrFMj','BEFORE_ALL','AjlAe','getJestTestTags','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','../../../helpers/helper.js','KEY_TEST_FILE_PATH',',\x20scope:\x20','base64','failure_reason','KEY_TEST_RESULT',',\x20duration=','inspect','type','trackHookEvent','rGmIg','parse','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',':testAnalyticsId','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','KEY_TEST_RETRY_OF','getTestFrameworksVersions','hWwEq','KEY_TEST_FRAMEWORK_NAME','reverse','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','rQTRH',',\x20target=','NONE','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','../TestInfo.js',',\x20hookState=','KEY_HOOK_FAILURE_REASON',',\x20hooksListLength=','KEY_TEST_UUID','DsblA','getJestFailureReason','Processing\x20','aMhpF',',\x20failureReason=',',\x20screenshotLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','zKlRz','getJestTestIdentifier','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20',',\x20updates=','KEY_TEST_FRAMEWORK_VERSION','format','errorsDetailed','12924ZYRNwS',',\x20remainingHooks=','testId','uuid','../../../helpers/test-observability/utils','IlYMa','getTrackedInstance','xAvYJ','\x20attachments','unknown','test_identifier','from','JCsvT','ZybvX','originalTest','DEFAULT_TEST_RESULT','push','LNezG','KEY_HOOK_LAST_STARTED','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','replace','exports','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','finished_at','skipped','FmuXj',',\x20argsKeys=','hWXwc','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_TAGS','iRCaV','getContext','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','getCurrentInstanceName','setActiveHook','isArray','bsutY','lGmsm',',\x20hook=','Unknown\x20error','workerInfo',',\x20contextId=','uSkGn','IoonM','CSYzi','retryOf','testData','join','warn','CQJle','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20result=','SkPGf','maxArrayLength','processPendingHooks','match','hookData','FcjkB','Stored\x20pending\x20hook\x20for\x20testId:\x20','WLDxN','getTestFrameworks','BDFxh','hookUUID','KEY_HOOK_FAILURE_TYPE','getAllPendingHookTestIds','asyncError','rhLml','status','slice','getJestFailureType',',\x20failureType=','isJestInternalHook','faPJv','KEY_HOOK_LAST_FINISHED','file_name','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_EVENT_STARTED_AT','KEY_TEST_CODE','KWQdi','test_run_id','MBWMR','instance','KEY_HOOK_ID','activeHooks','KEY_HOOK_RESULT','eventJson','duration','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','beforeAll','\x20&\x20hookState=','AIFNm','AFezC','ALL','logCreatedEvent','hooks','getInstance','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','UAMEG','KEY_AUTOMATE_SESSION_NAME',',\x20testFramework=','HjMAq','LOG_REPORT','ANODI','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','testFrameworkVersion',',\x20messageLength=','Unknown\x20Test','includes','KEY_HOOKS_FINISHED','KEY_TEST_RESULT_AT','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getJestTestFilePath','tgaKL','KEY_EVENT_ENDED_AT','has','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','depth','POST','KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','createContext','scope',',\x20platformIndex:\x20','length'];a71_0x46bd=function(){return _0x48bfd5;};return a71_0x46bd();}
1
+ const a71_0x481087=a71_0x4644;function a71_0x5a5e(){const _0x16139a=['name',',\x20testFramework=','match','test_run_id','getActiveHook','getTestFrameworks','15ilPQjm','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20',',\x20testId=','stringify','Zqpcy','getJestTestName',',\x20messageLength=','\x20attachments','file_name','substring','instance','keys','\x20&\x20hookState=','KEY_TEST_FRAMEWORK_VERSION','oROzx','hookType','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','maxArrayLength','test',',\x20payload:\x20','passed','KEY_HOOK_FAILURE_REASON','CoAMn','location','map','7294912pnsheS','70LRNcjn','\x20(testIdentifier),\x20tags=','tekFg','GLcFY','set',',\x20currentTestId:\x20','qmyst','ROOT_DESCRIBE_BLOCK',',\x20filePath:\x20',',\x20error:\x20','trackEvent','sIDXT','workerInfo','zNHPZ','KEY_TEST_SCOPES','JxACR','debug','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','kdNeC','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','./testFramework','gAFqG','470102WBjNTR','hook_type','exports','../state/testFrameworkState.js','KEY_TEST_FAILURE_REASON',',\x20response=','\x20-\x20test_identifier=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','LjzBP','event_ended_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','TEST','KEY_HOOK_LAST_FINISHED','\x20files','689751ZyMSoJ','testFrameworkName','KEY_TEST_STARTED_AT','failure_reason','has',',\x20hooksListLength=','LOG_REPORT','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','trackJestInstance','RRyOd','delete','KEY_EVENT_ENDED_AT','GoIKZ','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','test_run_uuid',',\x20scope:\x20','getRootParentFile',',\x20hookUUID=','file','getTestFrameworksVersions','toString','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','aPvCI',',\x20failureReason=',',\x20contextId=','hook_result','../grpcClient','status','4447340rjEovU','getRef','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','testId','trackHookEvent','Processing\x20','LmGiy','KEY_TEST_CODE','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','POST','qoffE','CUEbN','scope','createContext',',\x20state=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','UnhandledError','buildHookMapFromTest','testData','aMFMS','eLdPP','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','missing',',\x20consoleLogs:\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','uuid','KEY_HOOK_LAST_STARTED','pop','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','unoin','jfhrY','flKzC','oDiGt','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','EyuML','KEY_LOGS','getPendingHooks','NONE','warn',',\x20attachmentLogs:\x20','KEY_TEST_RESULT','SXjqW','KEY_HOOK_NAME','HfmLb','getId','KEY_TEST_FILE_PATH','getCurrentHookState','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getJestFailureType','test_identifier','WRHTh','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','parallelIndex',',\x20storing\x20as\x20pending\x20hook','hookData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','nXAKK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','isArray','hook_run_uuid',',\x20remainingHooks=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','bcnbe','includes','mapTestHooks',',\x20scopes=','\x20hook','\x20pending\x20hooks\x20for\x20testId:\x20','apply','getJestFailureData','zzYkH','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','createTestFrameworkEventPayload','getFileName','gQYuV','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','../cliUtils.js','../../../helpers/helper.js',',\x20hookState:\x20','hookState','liTFC','setActiveHook','8805511GtzaYJ',',\x20failureType=','DEFAULT_HOOK_RESULT','../instances/testFrameworkInstance.js','LLKYT','KEY_CUSTOM_TAGS','tMTwp','find','filePath','efmVh','parseJestTestResult','TEST_SCREENSHOT','903540iKIFzZ','hookUUID','tags','KEY_TEST_FAILURE_TYPE','removePendingHooks','error','resolveInstance','toISOString',',\x20testData=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','TcboX','getAllData','MvghU','wdzrU','getJestFailureReason','KEY_TEST_RESULT_AT','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',',\x20hookId=','../state/hookState.js','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','parent','GxVDR','KEY_TEST_META','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','findIndex','addMultipleEntries','LpPvJ',',\x20screenshotLogs:\x20','scopes','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','KEY_TEST_NAME','splice','../instances/trackedInstance.js','get','pUzjd','parse','ABtSF','KEY_TEST_DURATION','foGlQ','aRQbG','GsqtT','dYWpE','type','args','klouf','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','base64','KEY_TEST_ID','IKUGJ','retryOf','WLEzn','KEY_TEST_LOCATION',',\x20argsKeys=','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','KEY_TEST_LOGS','zriKk','KEY_HOOK_LOGS','KEY_TEST_TAGS','SkGEd','\x22\x20hook','isJestInternalHook','unknown','KEY_TEST_RETRY_OF','from','removeActiveHook','FVnCw','title','hiNks','BEFORE_ALL','ykDtD','finished_at',',\x20platformIndex:\x20','getHooksForTest','ALL',',\x20totalBatches:\x20','KEY_HOOKS_FINISHED','trackJestInstance:\x20instance\x20already\x20exists','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getTrackedInstance','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=',',\x20totalHooks=','wYOVz',',\x20filePath=','push','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestTestTags','KEY_HOOK_ID','slice','kXgGT',',\x20result=','result','storePendingHook',',\x20hookType=','UARAp',',\x20hookData=','swfkV','BWIAI','processPendingHooks','\x20for\x20testId:\x20','failed',',\x20updates=',',\x20hook=','getAllPendingHookTestIds','cuwpU','wLUGA','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','PVkIN','hook_id','kind','LIWkJ','originalTest','hooks','NEYgi','addPendingHook','length','runHooks','getCurrentTestState','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','\x20-\x20testId:\x20','ljwRv','RUVrV','getCurrentInstanceName','_ALL','split','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','seMNH','OruNf','TydDJ',',\x20exception=','eventJson','../../../helpers/test-observability/utils','7950QkpoGn','skipped','./constants/testFrameworkConstants.js','tkgGa','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','parseJestTest','filter','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_AUTOMATE_SESSION_NAME','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20duration=','started_at','beforeAll','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','skip','hookAnalyticsId','ZKpFQ','sendLogCreatedEvent','format','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_HOOK_FAILURE','PRE','qQLkn','pid','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','XqHHC','getJestTestIdentifier','tIudY','message','forEach','zOmuK','AssertionError','znqQB','getThreadId','QduqF','WjoNy','depth','FYNgd',',\x20test_run_uuid=','\x20logs\x20for\x20testId:\x20','getContext','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','getJestTestScopes','activeHooks','toUpperCase','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','JestTestFramework','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','setTrackedInstance','KEY_HOOK_RESULT','Unknown\x20error','endedAt','testUUID','duration',',\x20hook_run_uuid=','logCreatedEvent','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','platformIndex','util','KEY_HOOKS_STARTED','hookMetadata','ceil','asyncError','../../../helpers/classLogger.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20hookState=','KEY_TEST_ENDED_AT','KWxjR',',\x20totalLogs:\x20','12HakNar',',\x20target=','Fickg','18fEtGjN','AgnKz','testFrameworkState','KEY_TEST_ATTACHMENTS','errorsDetailed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','startedAt','KEY_TEST_UUID','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_EVENT_STARTED_AT','inspect','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20logsInBatch:\x20'];a71_0x5a5e=function(){return _0x16139a;};return a71_0x5a5e();}(function(_0x4734cf,_0xb80857){const _0x31c02d=a71_0x4644,_0x32efba=_0x4734cf();while(!![]){try{const _0x148d8e=-parseInt(_0x31c02d(0x213))/0x1+parseInt(_0x31c02d(0x205))/0x2*(parseInt(_0x31c02d(0x1be))/0x3)+parseInt(_0x31c02d(0x28f))/0x4*(-parseInt(_0x31c02d(0x1d5))/0x5)+-parseInt(_0x31c02d(0x174))/0x6*(-parseInt(_0x31c02d(0x1ef))/0x7)+parseInt(_0x31c02d(0x1ee))/0x8+-parseInt(_0x31c02d(0x1c1))/0x9*(-parseInt(_0x31c02d(0x230))/0xa)+-parseInt(_0x31c02d(0x283))/0xb;if(_0x148d8e===_0xb80857)break;else _0x32efba['push'](_0x32efba['shift']());}catch(_0x5a7d6c){_0x32efba['push'](_0x32efba['shift']());}}}(a71_0x5a5e,0x8f47f));function a71_0x4644(_0x1d9871,_0x4c1a0b){const _0x5a5e25=a71_0x5a5e();return a71_0x4644=function(_0x46445d,_0x5a7b9e){_0x46445d=_0x46445d-0x116;let _0x52d1ba=_0x5a5e25[_0x46445d];return _0x52d1ba;},a71_0x4644(_0x1d9871,_0x4c1a0b);}const TestFramework=require(a71_0x481087(0x203)),TestFrameworkState=require(a71_0x481087(0x208)),HookState=require(a71_0x481087(0x2a1)),{createClassLogger}=require(a71_0x481087(0x1b8)),TestFrameworkInstance=require(a71_0x481087(0x286)),CLIUtils=require(a71_0x481087(0x27d)),TrackedInstance=require(a71_0x481087(0x2b0)),TestFrameworkConstants=require(a71_0x481087(0x176)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x481087(0x27e)),{isInternalHook}=require(a71_0x481087(0x173)),logger=createClassLogger(a71_0x481087(0x1a6)),{v4:uuidv4}=require(a71_0x481087(0x249)),util=require(a71_0x481087(0x1b3)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a71_0x481087(0x22e)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x2c5eaa,_0x50fe0c,_0x197073){const _0x24b114=a71_0x481087;super(_0x2c5eaa,_0x50fe0c,_0x197073),this[_0x24b114(0x1a3)]=new Map();}[a71_0x481087(0x282)](_0x41ef45,_0x212b54,_0x505650){const _0x140f8c=a71_0x481087,_0x41747b={};_0x41747b['WjoNy']=function(_0x11d693,_0x551cc2){return _0x11d693||_0x551cc2;};const _0x322aa8=_0x41747b;if(_0x322aa8[_0x140f8c(0x19b)](!_0x41ef45,!_0x212b54)){logger[_0x140f8c(0x256)](_0x140f8c(0x25f)+_0x41ef45+_0x140f8c(0x224)+_0x212b54);return;}!this[_0x140f8c(0x1a3)][_0x140f8c(0x217)](_0x41ef45)&&this[_0x140f8c(0x1a3)][_0x140f8c(0x1f3)](_0x41ef45,[]);const _0x3197bf={'hookUUID':_0x212b54,'hookType':_0x505650,'startedAt':new Date()['toISOString']()};this['activeHooks'][_0x140f8c(0x2b1)](_0x41ef45)['push'](_0x3197bf),logger[_0x140f8c(0x1ff)](_0x140f8c(0x248)+_0x41ef45+_0x140f8c(0x224)+_0x212b54+_0x140f8c(0x14c)+_0x505650+_0x140f8c(0x140)+this[_0x140f8c(0x1a3)][_0x140f8c(0x2b1)](_0x41ef45)[_0x140f8c(0x162)]);}[a71_0x481087(0x130)](_0x5b5daa,_0x4dc984){const _0x1f5381=a71_0x481087,_0x8bb473={};_0x8bb473[_0x1f5381(0x281)]=function(_0x40ede2,_0x418479){return _0x40ede2||_0x418479;},_0x8bb473[_0x1f5381(0x244)]=function(_0x46bccd,_0x259233){return _0x46bccd!==_0x259233;},_0x8bb473[_0x1f5381(0x29b)]=function(_0x40fb7f,_0x40acf8){return _0x40fb7f===_0x40acf8;};const _0x537056=_0x8bb473;if(_0x537056[_0x1f5381(0x281)](!_0x5b5daa,!_0x4dc984)){logger['warn'](_0x1f5381(0x251)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984);return;}if(this[_0x1f5381(0x1a3)][_0x1f5381(0x217)](_0x5b5daa)){const _0x2a4d22=this[_0x1f5381(0x1a3)][_0x1f5381(0x2b1)](_0x5b5daa),_0x57b061=_0x2a4d22[_0x1f5381(0x2a8)](_0x5d986d=>_0x5d986d['hookUUID']===_0x4dc984);_0x537056['eLdPP'](_0x57b061,-0x1)?(_0x2a4d22[_0x1f5381(0x2af)](_0x57b061,0x1),logger['debug'](_0x1f5381(0x24c)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984+_0x1f5381(0x26d)+_0x2a4d22[_0x1f5381(0x162)]),_0x537056[_0x1f5381(0x29b)](_0x2a4d22[_0x1f5381(0x162)],0x0)&&this[_0x1f5381(0x1a3)][_0x1f5381(0x21d)](_0x5b5daa)):logger['debug'](_0x1f5381(0x26e)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984);}}[a71_0x481087(0x1d3)](_0x56fcbd){const _0x3516b2=a71_0x481087,_0x4af4bc={};_0x4af4bc[_0x3516b2(0x287)]=function(_0x138d78,_0x1ea532){return _0x138d78>_0x1ea532;},_0x4af4bc[_0x3516b2(0x24e)]=function(_0x588de5,_0x3c1fa9){return _0x588de5-_0x3c1fa9;};const _0x181e31=_0x4af4bc;if(!_0x56fcbd)return null;if(this['activeHooks'][_0x3516b2(0x217)](_0x56fcbd)){const _0x95ef18=this[_0x3516b2(0x1a3)][_0x3516b2(0x2b1)](_0x56fcbd);if(_0x181e31[_0x3516b2(0x287)](_0x95ef18[_0x3516b2(0x162)],0x0)){const _0x3b960e=_0x95ef18[_0x181e31['jfhrY'](_0x95ef18[_0x3516b2(0x162)],0x1)];return logger[_0x3516b2(0x1ff)](_0x3516b2(0x229)+_0x56fcbd+_0x3516b2(0x224)+_0x3b960e[_0x3516b2(0x290)]+_0x3516b2(0x14c)+_0x3b960e[_0x3516b2(0x1e4)]),_0x3b960e;}}return null;}async['trackEvent'](_0x2c3cf6,_0x4749ab,_0x938948={}){const _0x187894=a71_0x481087,_0x4a1488={};_0x4a1488[_0x187894(0x269)]=_0x187894(0x1ca),_0x4a1488[_0x187894(0x1bc)]=function(_0x30d51e,_0x4810c1){return _0x30d51e===_0x4810c1;},_0x4a1488['ABtSF']=function(_0x2e6850,_0x2e17c3){return _0x2e6850===_0x2e17c3;},_0x4a1488[_0x187894(0x135)]=function(_0xc2f2ef,_0xdf7052){return _0xc2f2ef||_0xdf7052;},_0x4a1488[_0x187894(0x158)]=_0x187894(0x26a),_0x4a1488[_0x187894(0x1c0)]=function(_0x1463ff,_0x199ae4){return _0x1463ff===_0x199ae4;};const _0x13fdfa=_0x4a1488;logger['debug'](_0x187894(0x166)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x124)+Object[_0x187894(0x1e0)](_0x938948)['join'](',')),await super[_0x187894(0x1f9)](_0x2c3cf6,_0x4749ab,_0x938948);const _0x7cb96b=this[_0x187894(0x295)](_0x2c3cf6,_0x4749ab,_0x938948);if(!_0x7cb96b){logger[_0x187894(0x1ff)](_0x13fdfa[_0x187894(0x269)]);return;}try{let _0x27258e,_0x1f3f7f,_0xfb7c71;switch(_0x2c3cf6){case TestFrameworkState[_0x187894(0x210)]:_0x27258e=_0x938948[_0x187894(0x1e7)];const _0x58e1d3={};_0x58e1d3[_0x187894(0x19c)]=0x2,_0x58e1d3[_0x187894(0x1e6)]=0x3,logger['debug'](_0x187894(0x1b9)+_0x4749ab+_0x187894(0x297)+util['inspect'](_0x27258e,_0x58e1d3)),_0xfb7c71=this[_0x187894(0x192)](_0x27258e),_0x1f3f7f=null,logger[_0x187894(0x1ff)](_0x187894(0x263)+_0xfb7c71+'\x20(testIdentifier)');if(_0x13fdfa[_0x187894(0x1bc)](_0x4749ab,HookState[_0x187894(0x18d)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0xfb7c71);const _0x3c826a={};_0x3c826a[_0x187894(0x1ad)]=_0x1f3f7f,_0x3c826a['testData']=_0x27258e,_0x3c826a[_0x187894(0x233)]=_0xfb7c71;const _0x21e8b3=this['parseJestTest'](_0x3c826a),_0x35f442={};_0x35f442[_0x187894(0x19c)]=0x2,_0x35f442[_0x187894(0x1e6)]=0x3,logger[_0x187894(0x1ff)](_0x187894(0x190)+util[_0x187894(0x1cc)](_0x21e8b3,_0x35f442)),_0x7cb96b[_0x187894(0x2a9)](_0x21e8b3),logger[_0x187894(0x1ff)](_0x187894(0x27c)+_0xfb7c71),await this[_0x187894(0x151)](_0x7cb96b,_0xfb7c71);}else{if(_0x13fdfa[_0x187894(0x2b4)](_0x4749ab,HookState[_0x187894(0x239)])){logger['debug'](_0x187894(0x20f)+_0xfb7c71);const _0x32d3ae=_0x7cb96b['getAllData']()[_0x187894(0x2b1)](_0xfb7c71);logger[_0x187894(0x1ff)](_0x187894(0x202)+util['inspect'](Object[_0x187894(0x1e0)](_0x13fdfa[_0x187894(0x135)](_0x32d3ae,{}))));_0x32d3ae&&_0x32d3ae[TestFrameworkConstants[_0x187894(0x1c4)]]?logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x187894(0x1e0)](_0x32d3ae[TestFrameworkConstants[_0x187894(0x1c4)]])['length']+_0x187894(0x212)):logger[_0x187894(0x1ff)](_0x13fdfa[_0x187894(0x158)]);const _0x127cd5=_0x938948[_0x187894(0x15e)]||null,_0x53cce6={};_0x53cce6['testUUID']=_0x1f3f7f,_0x53cce6[_0x187894(0x242)]=_0x27258e,_0x53cce6[_0x187894(0x233)]=_0xfb7c71,_0x53cce6['originalTest']=_0x127cd5;const _0x3c2a1d=this['parseJestTestResult'](_0x53cce6),_0xbf4f32={};_0xbf4f32[_0x187894(0x19c)]=0x2,_0xbf4f32['maxArrayLength']=0x3,logger[_0x187894(0x1ff)](_0x187894(0x1e5)+util[_0x187894(0x1cc)](_0x3c2a1d,_0xbf4f32)),_0x7cb96b[_0x187894(0x2a9)](_0x3c2a1d),logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0xfb7c71),await this[_0x187894(0x151)](_0x7cb96b,_0xfb7c71);}}break;case TestFrameworkState[_0x187894(0x219)]:if(_0x13fdfa[_0x187894(0x1c0)](_0x4749ab,HookState[_0x187894(0x239)])){const _0x49b219={};_0x49b219[_0x187894(0x19c)]=0x2,logger[_0x187894(0x1ff)](_0x187894(0x1a1)+util[_0x187894(0x1cc)](_0x938948,_0x49b219)),await this[_0x187894(0x189)](_0x7cb96b,_0x2c3cf6,_0x938948);}break;default:if(CLIUtils['matchHookRegex'](_0x2c3cf6['toString']()[_0x187894(0x16c)]('.')[0x1])){const _0x471822={};_0x471822['depth']=0x2,_0x471822['maxArrayLength']=0x3,logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x14e)+util[_0x187894(0x1cc)](_0x938948[_0x187894(0x266)],_0x471822));const _0x5d8ea1=await this[_0x187894(0x234)](_0x7cb96b,_0x2c3cf6,_0x4749ab,_0x938948),_0x15eb21={};_0x15eb21['depth']=0x2,_0x15eb21[_0x187894(0x1e6)]=0x3,logger[_0x187894(0x1ff)](_0x187894(0x2a2)+util['inspect'](_0x5d8ea1,_0x15eb21)),_0x7cb96b[_0x187894(0x2a9)](_0x5d8ea1);}else logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x2c3cf6+_0x187894(0x1e1)+_0x4749ab);break;}logger[_0x187894(0x1ff)](_0x187894(0x1a8)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab);}catch(_0x1ba640){logger[_0x187894(0x294)](_0x187894(0x18b)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x171)+util[_0x187894(0x18a)](_0x1ba640));}_0x938948[_0x187894(0x1df)]=_0x7cb96b,await this[_0x187894(0x163)](_0x7cb96b,_0x2c3cf6,_0x4749ab,_0x938948);}['getJestTestIdentifier'](_0x2aca7a){const _0x3e7b90=a71_0x481087,_0x243523={};_0x243523[_0x3e7b90(0x170)]=_0x3e7b90(0x1a7);const _0x52c967=_0x243523;if(_0x2aca7a&&(_0x2aca7a['id']||_0x2aca7a['uuid'])){const _0x4b1012=_0x2aca7a['id']||_0x2aca7a[_0x3e7b90(0x249)];return logger[_0x3e7b90(0x1ff)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x4b1012+_0x3e7b90(0x178)),_0x4b1012;}return logger['debug'](_0x52c967[_0x3e7b90(0x170)]),process[_0x3e7b90(0x18f)]+':testAnalyticsId';}[a71_0x481087(0x295)](_0x350999,_0x461158,_0x5ec813={}){const _0x33f018=a71_0x481087;let _0x56d701=null;return _0x56d701=TestFramework[_0x33f018(0x13e)](),!_0x56d701?(logger[_0x33f018(0x1ff)](_0x33f018(0x181)+_0x350999),this[_0x33f018(0x21b)](_0x350999,_0x5ec813),_0x56d701=TestFramework[_0x33f018(0x13e)](),logger['debug'](_0x33f018(0x17d)+!!_0x56d701+_0x33f018(0x22c)+_0x56d701?.[_0x33f018(0x1a0)]()?.[_0x33f018(0x25c)]())):logger['debug'](_0x33f018(0x13f)+_0x56d701['getContext']()?.[_0x33f018(0x25c)]()),_0x56d701;}[a71_0x481087(0x21b)](_0x178457,_0x160f8f){const _0x1306ba=a71_0x481087,_0x27e45a={};_0x27e45a[_0x1306ba(0x236)]=_0x1306ba(0x13c);const _0x56721e=_0x27e45a;if(TestFramework[_0x1306ba(0x13e)]()){logger[_0x1306ba(0x1ff)](_0x56721e[_0x1306ba(0x236)]);return;}const _0x22d2a0=CLIUtils[_0x1306ba(0x16a)](),_0x545f87=TrackedInstance[_0x1306ba(0x23d)](_0x22d2a0);let _0x198b84=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x22d2a0+_0x1306ba(0x23e)+_0x178457),_0x198b84=new TestFrameworkInstance(_0x545f87,this[_0x1306ba(0x1d4)](),this[_0x1306ba(0x226)](),_0x178457,HookState[_0x1306ba(0x255)]),TestFramework[_0x1306ba(0x1a9)](_0x545f87,_0x198b84),logger['debug'](_0x1306ba(0x200)+_0x545f87[_0x1306ba(0x25c)]()+_0x1306ba(0x1bf)+_0x22d2a0+_0x1306ba(0x1d0)+this[_0x1306ba(0x1d4)]()[0x0]+',\x20version='+this[_0x1306ba(0x226)]()[this[_0x1306ba(0x1d4)]()[0x0]]);}[a71_0x481087(0x17b)](_0x381e56){const _0x5cbe38=a71_0x481087,_0x96b45a={};_0x96b45a[_0x5cbe38(0x1fe)]=function(_0x4723fd,_0x44037f){return _0x4723fd||_0x44037f;},_0x96b45a[_0x5cbe38(0x117)]=_0x5cbe38(0x1b1);const _0x3c8f11=_0x96b45a,{testUUID:_0x2ec840,testData:_0x28a0e4,testId:_0x19a43a}=_0x381e56;if(_0x3c8f11[_0x5cbe38(0x1fe)](!_0x28a0e4,!_0x19a43a))return logger[_0x5cbe38(0x1ff)](_0x3c8f11[_0x5cbe38(0x117)]),{};const _0x3a0c7c=this[_0x5cbe38(0x1d4)]()[0x0],_0x35f2b2=this[_0x5cbe38(0x226)](),_0x1e130f={};_0x1e130f[_0x5cbe38(0x19c)]=0x2,_0x1e130f[_0x5cbe38(0x1e6)]=0x3,logger[_0x5cbe38(0x1ff)](_0x5cbe38(0x11d)+util['inspect'](_0x28a0e4,_0x1e130f));const _0x59dde0=_0x28a0e4?.['scopes']||[],_0x126f0c=this[_0x5cbe38(0x1da)](_0x28a0e4),_0x458a00=this['getJestTestFilePath'](_0x28a0e4),_0x4ff5b0=_0x28a0e4['fn']?_0x28a0e4['fn'][_0x5cbe38(0x227)]():null,_0xff34bd=this[_0x5cbe38(0x145)](_0x28a0e4),_0x32f21c={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3a0c7c,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x35f2b2[_0x3a0c7c],[TestFrameworkConstants[_0x5cbe38(0x126)]]:[],[TestFrameworkConstants[_0x5cbe38(0x13b)]]:{},[TestFrameworkConstants[_0x5cbe38(0x1b4)]]:{},[TestFrameworkConstants[_0x5cbe38(0x258)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5cbe38(0x17f)]]:_0x126f0c,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x458a00,[TestFrameworkConstants[_0x5cbe38(0x11f)]]:_0x19a43a,[TestFrameworkConstants[_0x5cbe38(0x2ae)]]:_0x126f0c,[TestFrameworkConstants[_0x5cbe38(0x123)]]:_0x458a00,[TestFrameworkConstants[_0x5cbe38(0x237)]]:_0x4ff5b0,[TestFrameworkConstants[_0x5cbe38(0x129)]]:_0xff34bd,[TestFrameworkConstants[_0x5cbe38(0x215)]]:_0x28a0e4['started_at']||new Date()[_0x5cbe38(0x296)](),[TestFrameworkConstants[_0x5cbe38(0x165)]]:_0x59dde0[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x59dde0,[TestFrameworkConstants[_0x5cbe38(0x268)]]:_0x126f0c,[TestFrameworkConstants[_0x5cbe38(0x288)]]:{},[TestFrameworkConstants[_0x5cbe38(0x2a5)]]:{}};_0x28a0e4['retryOf']&&(_0x32f21c[TestFrameworkConstants[_0x5cbe38(0x12e)]]=_0x28a0e4['retryOf']);logger[_0x5cbe38(0x1ff)](_0x5cbe38(0x245)+_0x126f0c+_0x5cbe38(0x1d7)+_0x19a43a+_0x5cbe38(0x1f0)+JSON[_0x5cbe38(0x1d8)](_0xff34bd)+_0x5cbe38(0x272)+util[_0x5cbe38(0x1cc)](_0x59dde0)+_0x5cbe38(0x142)+_0x458a00);const _0x5d82d1={};return _0x5d82d1[_0x19a43a]=_0x32f21c,_0x5d82d1;}[a71_0x481087(0x28d)](_0x377fe4){const _0x27964d=a71_0x481087,_0x4ea8e2={'aPvCI':function(_0x3c1059,_0xe5723){return _0x3c1059===_0xe5723;},'zriKk':'afterAll','zNHPZ':function(_0x3af01c,_0x553269){return _0x3af01c===_0x553269;},'dYWpE':_0x27964d(0x184),'qoffE':_0x27964d(0x139),'hiNks':_0x27964d(0x16b),'PVkIN':function(_0x1084f4,_0x107145){return _0x1084f4||_0x107145;},'kmLkk':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','SXjqW':function(_0xa9d29a,_0x945d0f){return _0xa9d29a||_0x945d0f;},'nJIlt':_0x27964d(0x12d),'WLEzn':function(_0x9b5b35,_0x3007ec){return _0x9b5b35>_0x3007ec;},'klouf':_0x27964d(0x153),'UARAp':function(_0x24e440,_0x2a4edb){return _0x24e440===_0x2a4edb;},'FYNgd':_0x27964d(0x186),'LjzBP':function(_0x2544c8,_0x54c5fe){return _0x2544c8===_0x54c5fe;},'swfkV':_0x27964d(0x175),'gAFqG':_0x27964d(0x1e9),'QduqF':function(_0x32bb34,_0x560a35){return _0x32bb34===_0x560a35;},'znqQB':function(_0x4387cd,_0x352c1d){return _0x4387cd!==_0x352c1d;},'LIWkJ':function(_0x12916a,_0x4ca289,_0x11009f,_0x3e5f17){return _0x12916a(_0x4ca289,_0x11009f,_0x3e5f17);},'XqHHC':function(_0x3fe3d1,_0x59b6eb){return _0x3fe3d1>_0x59b6eb;},'TcboX':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','ZKpFQ':function(_0x2055fb,_0x242a67){return _0x2055fb===_0x242a67;}},{testUUID:_0xc9970d,testData:_0x250caa,testId:_0x38199e}=_0x377fe4;if(_0x4ea8e2[_0x27964d(0x15a)](!_0x250caa,!_0x38199e))return logger[_0x27964d(0x1ff)](_0x4ea8e2['kmLkk']),{};const _0x2ab3b7=this[_0x27964d(0x295)](TestFrameworkState[_0x27964d(0x210)],HookState[_0x27964d(0x239)]),_0x4df9cd=_0x2ab3b7[_0x27964d(0x29a)]()[_0x27964d(0x2b1)](_0x38199e),_0x57cf27=_0x4ea8e2[_0x27964d(0x259)](_0x4df9cd,{}),_0x2e9a91=_0x57cf27?_0x57cf27[TestFrameworkConstants[_0x27964d(0x288)]]||{}:{},_0x26b589=_0x57cf27[TestFrameworkConstants[_0x27964d(0x1c4)]];logger[_0x27964d(0x1ff)](_0x27964d(0x278)+(_0x26b589?Object[_0x27964d(0x1e0)](_0x26b589)['length']:0x0)+_0x27964d(0x1dc));let _0x462b9e=_0x4ea8e2['nJIlt'];if(_0x250caa[_0x27964d(0x14a)])_0x462b9e=_0x250caa[_0x27964d(0x14a)];else{if(_0x250caa['errorsDetailed']&&_0x4ea8e2[_0x27964d(0x122)](_0x250caa['errorsDetailed']['length'],0x0))_0x462b9e=_0x4ea8e2[_0x27964d(0x11c)];else _0x4ea8e2[_0x27964d(0x14d)](_0x250caa[_0x27964d(0x22f)],_0x4ea8e2[_0x27964d(0x19d)])||_0x4ea8e2[_0x27964d(0x20d)](_0x250caa['status'],_0x4ea8e2[_0x27964d(0x14f)])?_0x462b9e=_0x4ea8e2[_0x27964d(0x14f)]:_0x462b9e=_0x4ea8e2[_0x27964d(0x204)];}const _0xfd52ec={..._0x57cf27,[TestFrameworkConstants[_0x27964d(0x258)]]:_0x462b9e,[TestFrameworkConstants[_0x27964d(0x1bb)]]:_0x250caa[_0x27964d(0x136)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x27964d(0x29e)]]:new Date()[_0x27964d(0x296)](),[TestFrameworkConstants[_0x27964d(0x288)]]:_0x2e9a91,[TestFrameworkConstants[_0x27964d(0x253)]]:[],[TestFrameworkConstants[_0x27964d(0x2a5)]]:{}};if(_0x4ea8e2[_0x27964d(0x19a)](_0x462b9e,_0x4ea8e2[_0x27964d(0x11c)])&&_0x250caa['errorsDetailed']){const _0x3e6377=this[_0x27964d(0x29d)](_0x250caa),_0x352124=this[_0x27964d(0x260)](_0x250caa),_0xcb49df=this[_0x27964d(0x276)](_0x250caa);_0xfd52ec[TestFrameworkConstants[_0x27964d(0x292)]]=_0x352124,_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x3e6377,_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0xcb49df;}_0x4ea8e2[_0x27964d(0x198)](_0x250caa[_0x27964d(0x1ae)],undefined)&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x2b5)]]=_0x250caa['duration']);_0x250caa[_0x27964d(0x121)]&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x12e)]]=_0x250caa['retryOf']);const _0x41b37f=_0x4df9cd?_0x4df9cd[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x5b5771=_0x4df9cd?_0x4df9cd[TestFrameworkConstants[_0x27964d(0x1c8)]]:_0xc9970d,_0x3b4093=_0x4ea8e2[_0x27964d(0x15d)](getManualUploadLogs,_0x41b37f,_0x5b5771,_0x38199e);if(_0x4ea8e2[_0x27964d(0x191)](_0x3b4093[_0x27964d(0x162)],0x0)){const _0x38249d=_0xfd52ec[TestFrameworkConstants[_0x27964d(0x253)]]||[];_0xfd52ec[TestFrameworkConstants[_0x27964d(0x253)]]=[..._0x38249d,..._0x3b4093];}const _0x1374f4=_0x57cf27[TestFrameworkConstants[_0x27964d(0x13b)]]||{},_0x43ecaf=_0x57cf27[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3484ff={..._0x1374f4},_0x561a68=_0x3484ff;Object[_0x27964d(0x1e0)](_0x43ecaf)[_0x27964d(0x195)](_0x62ee68=>{const _0x4d5f28=_0x27964d;!_0x561a68[_0x62ee68]&&(_0x561a68[_0x62ee68]=[]);const _0x5ed162=new Set((_0x561a68[_0x62ee68]||[])[_0x4d5f28(0x1ed)](_0x557a84=>_0x557a84[TestFrameworkConstants[_0x4d5f28(0x146)]]||_0x557a84['hook_id']));(_0x43ecaf[_0x62ee68]||[])[_0x4d5f28(0x195)](_0x2b7d10=>{const _0x3d1631=_0x4d5f28,_0xc79c21=_0x2b7d10[TestFrameworkConstants['KEY_HOOK_ID']]||_0x2b7d10['hook_id'];if(!_0x5ed162[_0x3d1631(0x217)](_0xc79c21)){const _0x243d41={..._0x2b7d10},_0x45e54c=_0x243d41;!_0x45e54c[TestFrameworkConstants[_0x3d1631(0x21e)]]&&!_0x45e54c[_0x3d1631(0x20e)]&&(_0x45e54c[TestFrameworkConstants[_0x3d1631(0x21e)]]=new Date()[_0x3d1631(0x296)]()),!_0x45e54c[TestFrameworkConstants[_0x3d1631(0x1aa)]]&&!_0x45e54c[_0x3d1631(0x22d)]&&(_0x45e54c[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x3d1631(0x285)]),_0x561a68[_0x62ee68][_0x3d1631(0x143)](_0x45e54c);}});});if(_0x377fe4[_0x27964d(0x15e)]){this['mapTestHooks'](_0x377fe4[_0x27964d(0x15e)]);const _0x4e4c2c=this[_0x27964d(0x241)](_0x377fe4[_0x27964d(0x15e)]),_0x27ea44=this['getHooksForTest'](_0x377fe4[_0x27964d(0x15e)]);_0x27ea44['forEach'](_0x4537f1=>{const _0x5ad53d=_0x27964d,_0x1f4c67=_0x4e4c2c['get'](_0x4537f1);if(_0x1f4c67&&(_0x4ea8e2[_0x5ad53d(0x22a)](_0x1f4c67[_0x5ad53d(0x11a)],_0x4ea8e2[_0x5ad53d(0x127)])||_0x4ea8e2[_0x5ad53d(0x1fc)](_0x1f4c67[_0x5ad53d(0x11a)],_0x4ea8e2[_0x5ad53d(0x119)]))){const _0x59c2fe=_0x1f4c67[_0x5ad53d(0x11a)][_0x5ad53d(0x1a4)]()['replace'](_0x4ea8e2[_0x5ad53d(0x23a)],_0x4ea8e2[_0x5ad53d(0x133)]),_0x354fc4=_0x59c2fe;!_0x561a68[_0x354fc4]&&(_0x561a68[_0x354fc4]=[]);const _0x36e36e=_0x561a68[_0x354fc4][_0x5ad53d(0x28a)](_0x5cf125=>(_0x5cf125[TestFrameworkConstants[_0x5ad53d(0x146)]]||_0x5cf125[_0x5ad53d(0x15b)])===_0x4537f1);!_0x36e36e&&_0x561a68[_0x354fc4][_0x5ad53d(0x143)]({'key':_0x354fc4,[TestFrameworkConstants[_0x5ad53d(0x146)]]:_0x4537f1,[TestFrameworkConstants[_0x5ad53d(0x1aa)]]:TestFrameworkConstants[_0x5ad53d(0x285)],[TestFrameworkConstants[_0x5ad53d(0x1cb)]]:new Date()[_0x5ad53d(0x296)](),[TestFrameworkConstants[_0x5ad53d(0x21e)]]:new Date()[_0x5ad53d(0x296)](),[TestFrameworkConstants[_0x5ad53d(0x128)]]:[],[TestFrameworkConstants[_0x5ad53d(0x25a)]]:_0x1f4c67[_0x5ad53d(0x1cf)]||_0x1f4c67[_0x5ad53d(0x11a)]+_0x5ad53d(0x273),[TestFrameworkConstants[_0x5ad53d(0x288)]]:_0x2e9a91});}});}if(_0x250caa['hooks']&&_0x4ea8e2[_0x27964d(0x191)](_0x250caa['hooks'][_0x27964d(0x162)],0x0))_0xfd52ec[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x250caa[_0x27964d(0x15f)],logger[_0x27964d(0x1ff)](_0x4ea8e2[_0x27964d(0x299)]);else _0x4ea8e2[_0x27964d(0x122)](Object[_0x27964d(0x1e0)](_0x561a68)[_0x27964d(0x162)],0x0)&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x13b)]]=_0x561a68,logger['debug'](_0x27964d(0x298)+Object[_0x27964d(0x1e0)](_0x561a68)['join'](',')));const _0x3e91e9=this[_0x27964d(0x1da)](_0x250caa);logger[_0x27964d(0x1ff)](_0x27964d(0x23f)+_0x3e91e9+_0x27964d(0x1d7)+_0x38199e+'\x20(testIdentifier),\x20result='+_0x462b9e+_0x27964d(0x182)+_0x250caa[_0x27964d(0x1ae)]);_0x4ea8e2[_0x27964d(0x188)](_0x462b9e,_0x4ea8e2[_0x27964d(0x11c)])&&logger[_0x27964d(0x1ff)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x38199e+_0x27964d(0x284)+_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0x27964d(0x22b)+_0xfd52ec[TestFrameworkConstants[_0x27964d(0x209)]]?.[_0x27964d(0x1de)](0x0,0xc8));const _0x238577={};return _0x238577[_0x38199e]=_0xfd52ec,_0x238577;}[a71_0x481087(0x1a2)](_0x88eac3){const _0x577e3a=a71_0x481087,_0x43a366={};_0x43a366[_0x577e3a(0x160)]=function(_0x56d045,_0x292355){return _0x56d045!==_0x292355;},_0x43a366['OruNf']=_0x577e3a(0x1f6);const _0x5b3949=_0x43a366,_0x51a426={};_0x51a426[_0x577e3a(0x19c)]=0x2,_0x51a426[_0x577e3a(0x1e6)]=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x577e3a(0x1cc)](_0x88eac3,_0x51a426));const _0x3e8066=[];if(_0x88eac3&&_0x88eac3[_0x577e3a(0x2a3)]){let _0x415686=_0x88eac3[_0x577e3a(0x2a3)];while(_0x415686&&_0x415686[_0x577e3a(0x1cf)]&&_0x5b3949[_0x577e3a(0x160)](_0x415686[_0x577e3a(0x1cf)],'')&&_0x5b3949[_0x577e3a(0x160)](_0x415686[_0x577e3a(0x1cf)],_0x5b3949[_0x577e3a(0x16f)])){_0x3e8066[_0x577e3a(0x143)](_0x415686['name']),_0x415686=_0x415686[_0x577e3a(0x2a3)];}}return _0x3e8066['reverse']();}[a71_0x481087(0x1da)](_0x23e1cd){const _0x3658d7=a71_0x481087,_0x42487b={};_0x42487b[_0x3658d7(0x21c)]='Unknown\x20Test';const _0x6e4a09=_0x42487b;if(_0x23e1cd['name'])return _0x23e1cd[_0x3658d7(0x1cf)];if(_0x23e1cd[_0x3658d7(0x132)])return _0x23e1cd[_0x3658d7(0x132)];return _0x6e4a09[_0x3658d7(0x21c)];}[a71_0x481087(0x145)](_0x325d54){const _0x8dce9c=a71_0x481087,_0x43fda3=[];if(_0x325d54[_0x8dce9c(0x291)]&&Array['isArray'](_0x325d54[_0x8dce9c(0x291)]))return _0x325d54[_0x8dce9c(0x291)]['map'](_0x5d4552=>_0x5d4552['startsWith']('@')?_0x5d4552['substr'](0x1):_0x5d4552);const _0xf64795=this[_0x8dce9c(0x1da)](_0x325d54),_0x20ba8b=_0xf64795[_0x8dce9c(0x1d1)](/@(\w+)/g);if(_0x20ba8b)return _0x20ba8b['map'](_0x36b8ee=>_0x36b8ee[_0x8dce9c(0x147)](0x1));return _0x325d54[_0x8dce9c(0x2ac)]&&Array[_0x8dce9c(0x26b)](_0x325d54['scopes'])&&_0x325d54[_0x8dce9c(0x2ac)][_0x8dce9c(0x195)](_0x704b54=>{const _0x10fc76=_0x8dce9c,_0x3b05f0=_0x704b54[_0x10fc76(0x1d1)](/@(\w+)/g);_0x3b05f0&&_0x3b05f0[_0x10fc76(0x195)](_0x4c683d=>{const _0x32effe=_0x10fc76,_0x14e064=_0x4c683d[_0x32effe(0x147)](0x1);!_0x43fda3[_0x32effe(0x270)](_0x14e064)&&_0x43fda3[_0x32effe(0x143)](_0x14e064);});}),_0x43fda3;}['getJestTestFilePath'](_0x72c7fb){const _0x6f9a98=a71_0x481087,_0x106f57={'shJVu':function(_0x1b415b,_0x2823a5){return _0x1b415b(_0x2823a5);},'RUVrV':'stack-trace'};if(_0x72c7fb[_0x6f9a98(0x1dd)])return _0x72c7fb['file_name'];if(_0x72c7fb[_0x6f9a98(0x1b7)]){const _0x45ae4e=_0x106f57['shJVu'](require,_0x106f57[_0x6f9a98(0x169)]);try{const _0x3e4f19=_0x45ae4e[_0x6f9a98(0x2b3)](_0x72c7fb[_0x6f9a98(0x1b7)]);if(_0x3e4f19[0x0]&&_0x3e4f19[0x0][_0x6f9a98(0x27a)])return _0x3e4f19[0x0][_0x6f9a98(0x27a)]();}catch(_0x35b34a){logger[_0x6f9a98(0x1ff)](_0x6f9a98(0x2ad)+util[_0x6f9a98(0x18a)](_0x35b34a));}}return null;}[a71_0x481087(0x29d)](_0x390c31){const _0x25720b=a71_0x481087,_0x216823={};_0x216823['eYZov']=function(_0x505a8f,_0x39d960){return _0x505a8f>_0x39d960;},_0x216823[_0x25720b(0x196)]=_0x25720b(0x1ab);const _0x1707f3=_0x216823;if(_0x390c31[_0x25720b(0x1c5)]&&_0x1707f3['eYZov'](_0x390c31[_0x25720b(0x1c5)][_0x25720b(0x162)],0x0))return util[_0x25720b(0x1cc)](_0x390c31[_0x25720b(0x1c5)][0x0]);if(_0x390c31[_0x25720b(0x216)])return _0x390c31[_0x25720b(0x216)];return _0x1707f3[_0x25720b(0x196)];}[a71_0x481087(0x260)](_0x4f614b){const _0x57986a=a71_0x481087,_0x4b852f={};_0x4b852f[_0x57986a(0x252)]='Assert',_0x4b852f[_0x57986a(0x177)]=_0x57986a(0x197),_0x4b852f[_0x57986a(0x1d9)]=_0x57986a(0x240);const _0x3099d7=_0x4b852f,_0x10bab5=this[_0x57986a(0x29d)](_0x4f614b);if(_0x10bab5&&_0x10bab5[_0x57986a(0x270)](_0x3099d7[_0x57986a(0x252)]))return _0x3099d7[_0x57986a(0x177)];return _0x3099d7['Zqpcy'];}[a71_0x481087(0x276)](_0x3f5d21){const _0x2e9585=a71_0x481087,_0x2983c9={'GLcFY':function(_0x4b742e,_0x1af912){return _0x4b742e(_0x1af912);},'oROzx':_0x2e9585(0x173),'qmyst':function(_0x2e7c5d,_0x2ed908){return _0x2e7c5d!==_0x2ed908;},'SkGEd':_0x2e9585(0x1e7)},{failureData:_0x4c6f19}=_0x2983c9[_0x2e9585(0x1f2)](require,_0x2983c9[_0x2e9585(0x1e3)]),_0x301db0=[];return _0x2983c9[_0x2e9585(0x1f5)](_0x3f5d21[_0x2e9585(0x1c5)],undefined)&&_0x301db0['push'](_0x3f5d21[_0x2e9585(0x1c5)],_0x2983c9[_0x2e9585(0x12a)]),_0x4c6f19[_0x2e9585(0x275)](null,_0x301db0);}async['trackHookEvent'](_0x4a5bed,_0x3e8698,_0x80d46f,_0x328274){const _0x407300=a71_0x481087,_0x10163d={'rTsEK':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','wYOVz':function(_0x109c59){return _0x109c59();},'tMTwp':function(_0x47a72d,_0x40703c){return _0x47a72d in _0x40703c;},'IKUGJ':function(_0x5dc8a4,_0x466366){return _0x5dc8a4===_0x466366;},'pUzjd':function(_0x521553,_0x4258cb){return _0x521553===_0x4258cb;},'kdNeC':function(_0x2791df,_0x61f244){return _0x2791df>_0x61f244;},'GoIKZ':_0x407300(0x153),'GsqtT':_0x407300(0x1e9),'efmVh':function(_0x2a1fe2,_0x16d594){return _0x2a1fe2!==_0x16d594;}},{hookData:_0x3bbafb}=_0x328274,_0x54e95a=_0x80d46f[_0x407300(0x227)](),_0x491a33=_0x3e8698[_0x407300(0x227)](),_0x2984f2={};_0x2984f2[_0x407300(0x19c)]=0x2,_0x2984f2['maxArrayLength']=0x3,logger[_0x407300(0x1ff)](_0x407300(0x144)+_0x491a33+_0x407300(0x1ba)+_0x54e95a+_0x407300(0x14e)+util[_0x407300(0x1cc)](_0x3bbafb,_0x2984f2));if(!_0x3bbafb)return logger[_0x407300(0x1ff)](_0x10163d['rTsEK']),{};const _0x288c19=_0x3bbafb[_0x407300(0x249)]||_0x3bbafb['hookAnalyticsId']||_0x10163d[_0x407300(0x141)](uuidv4),_0xc4a24d=_0x3bbafb['test_run_id']||this[_0x407300(0x192)](_0x3bbafb),_0x15172e=_0x3e8698[_0x407300(0x227)]()[_0x407300(0x16c)]('.')[0x1],_0x1f6c7b=_0x4a5bed[_0x407300(0x29a)]()[_0x407300(0x2b1)](_0xc4a24d),_0x282466=_0x1f6c7b?_0x1f6c7b[TestFrameworkConstants[_0x407300(0x288)]]||{}:{};logger[_0x407300(0x1ff)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x288c19+_0x407300(0x1d7)+_0xc4a24d+'\x20(testIdentifier),\x20hookType='+_0x15172e+_0x407300(0x1ba)+_0x54e95a);if(!_0x1f6c7b)return logger[_0x407300(0x1ff)](_0x407300(0x1d6)+_0xc4a24d+_0x407300(0x265)),this[_0x407300(0x14b)](_0x4a5bed,_0xc4a24d,_0x3e8698,_0x80d46f,_0x328274),{};let _0x104ed4=_0x1f6c7b[TestFrameworkConstants[_0x407300(0x1b4)]];!_0x104ed4&&(_0x104ed4={});!_0x10163d[_0x407300(0x289)](_0x15172e,_0x104ed4)&&(_0x104ed4[_0x15172e]=[]);let _0x2961c7=_0x1f6c7b[TestFrameworkConstants[_0x407300(0x13b)]];!_0x2961c7&&(_0x2961c7={});!_0x10163d[_0x407300(0x289)](_0x15172e,_0x2961c7)&&(_0x2961c7[_0x15172e]=[]);const _0x224663={[TestFrameworkConstants[_0x407300(0x1b4)]]:_0x104ed4,[TestFrameworkConstants[_0x407300(0x13b)]]:_0x2961c7},_0x398c2d={};_0x398c2d[_0xc4a24d]=_0x224663;const _0x5803f8=_0x398c2d;if(_0x10163d[_0x407300(0x120)](_0x80d46f,HookState['PRE'])){const _0x46535a={'key':_0x15172e,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x288c19,[TestFrameworkConstants[_0x407300(0x1aa)]]:TestFrameworkConstants[_0x407300(0x285)],[TestFrameworkConstants[_0x407300(0x1cb)]]:_0x3bbafb[_0x407300(0x183)]||new Date()[_0x407300(0x296)](),[TestFrameworkConstants[_0x407300(0x128)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3bbafb[_0x407300(0x1cf)]||_0x3bbafb['hook_type']||_0x15172e,[TestFrameworkConstants[_0x407300(0x288)]]:_0x282466};_0x104ed4[_0x15172e][_0x407300(0x143)](_0x46535a),_0x5803f8[_0xc4a24d][TestFrameworkConstants[_0x407300(0x24a)]]=_0x15172e;const _0x175884={};_0x175884['depth']=0x2,logger[_0x407300(0x1ff)](_0x407300(0x17e)+_0x15172e+_0x407300(0x2a0)+_0x288c19+',\x20testId='+_0xc4a24d+_0x407300(0x155)+util[_0x407300(0x1cc)](_0x46535a,_0x175884));}else{if(_0x10163d[_0x407300(0x2b2)](_0x80d46f,HookState[_0x407300(0x239)])){const _0x2e8b32=_0x3bbafb[_0x407300(0x14a)]||(_0x3bbafb[_0x407300(0x1c5)]&&_0x10163d[_0x407300(0x201)](_0x3bbafb[_0x407300(0x1c5)][_0x407300(0x162)],0x0)?_0x10163d[_0x407300(0x21f)]:_0x10163d[_0x407300(0x118)]),_0x2333b3=_0x104ed4[_0x15172e]||[];logger[_0x407300(0x1ff)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x15172e+',\x20testId='+_0xc4a24d+',\x20result='+_0x2e8b32+_0x407300(0x218)+_0x2333b3[_0x407300(0x162)]);if(_0x10163d[_0x407300(0x201)](_0x2333b3[_0x407300(0x162)],0x0)){const _0xaca59e=_0x2333b3[_0x407300(0x24b)]();_0x10163d[_0x407300(0x120)](_0x2e8b32,_0x10163d[_0x407300(0x21f)])&&_0x3bbafb[_0x407300(0x1c5)]?(_0xaca59e[TestFrameworkConstants[_0x407300(0x228)]]=this[_0x407300(0x260)](_0x3bbafb),_0xaca59e[TestFrameworkConstants[_0x407300(0x1ea)]]=this[_0x407300(0x29d)](_0x3bbafb),_0xaca59e[TestFrameworkConstants[_0x407300(0x18c)]]=this[_0x407300(0x276)](_0x3bbafb),logger[_0x407300(0x1ff)](_0x407300(0x2a7)+_0x15172e+_0x407300(0x284)+_0xaca59e[TestFrameworkConstants[_0x407300(0x228)]]+',\x20failureReason='+_0xaca59e[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x407300(0x1de)](0x0,0xc8))):_0xaca59e[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x10163d[_0x407300(0x118)];_0x10163d[_0x407300(0x28c)](_0x2e8b32,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0xaca59e[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2e8b32);_0xaca59e[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3bbafb['finished_at']||new Date()[_0x407300(0x296)](),_0xaca59e[TestFrameworkConstants[_0x407300(0x288)]]=_0x282466;const _0x2b6863=_0xaca59e[TestFrameworkConstants[_0x407300(0x146)]];!_0x2961c7[_0x15172e]&&(_0x2961c7[_0x15172e]=[]);_0x2961c7[_0x15172e]['push'](_0xaca59e),_0x5803f8[_0xc4a24d][TestFrameworkConstants[_0x407300(0x211)]]=_0x15172e;const _0x484db7={};_0x484db7['depth']=0x2,logger[_0x407300(0x1ff)](_0x407300(0x16d)+_0x15172e+_0x407300(0x2a0)+_0x2b6863+_0x407300(0x149)+_0x2e8b32+_0x407300(0x155)+util['inspect'](_0xaca59e,_0x484db7));}}}const _0x5e1c28={};return _0x5e1c28['depth']=0x2,_0x5e1c28[_0x407300(0x1e6)]=0x3,logger[_0x407300(0x1ff)](_0x407300(0x125)+(_0x3bbafb[_0x407300(0x206)]||_0x15172e)+_0x407300(0x2a0)+_0x288c19+_0x407300(0x1d7)+_0xc4a24d+_0x407300(0x154)+util['inspect'](_0x5803f8,_0x5e1c28)),_0x5803f8;}[a71_0x481087(0x279)](_0x385bba){const _0x54dce=a71_0x481087,_0x81d924={};_0x81d924[_0x54dce(0x193)]=_0x54dce(0x11e);const _0x22955f=_0x81d924;try{const _0xee40c5=_0x385bba[_0x54dce(0x1e7)]?this[_0x54dce(0x192)](_0x385bba[_0x54dce(0x1e7)]):_0x385bba['hookData']['test_run_id'],_0x22e3a0=_0x385bba['instance'],_0x59cdbe=_0x22e3a0[_0x54dce(0x1a0)](),_0x3d93a1=_0x22e3a0[_0x54dce(0x29a)]()['get'](_0xee40c5);if(!_0x3d93a1)return logger[_0x54dce(0x1ff)](_0x54dce(0x13d)+_0xee40c5),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1c35a3='',[TestFrameworkConstants[_0x54dce(0x1e2)]]:_0x1d4a7f='',[TestFrameworkConstants[_0x54dce(0x215)]]:_0x636266='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xb8d4d5=''}=_0x3d93a1,_0x6a1db=_0x22e3a0[_0x54dce(0x164)]()[_0x54dce(0x227)]()[_0x54dce(0x16c)]('.')[0x1],_0x5917c4=_0x22e3a0[_0x54dce(0x25e)]()[_0x54dce(0x227)]()[_0x54dce(0x16c)]('.')[0x1],_0x5bad76=global?.['__workerDetails']?.['workerInfo']?.[_0x54dce(0x264)],_0x2d86e5=_0x22e3a0[_0x54dce(0x231)](),_0xbcc980=Buffer[_0x54dce(0x12f)](JSON[_0x54dce(0x1d8)](_0x3d93a1))['toString'](_0x22955f[_0x54dce(0x193)]),_0x43f8e2={'hash':_0x59cdbe['getId'](),'threadId':_0x59cdbe[_0x54dce(0x199)]()[_0x54dce(0x227)](),'processId':_0x59cdbe['getProcessId']()['toString']()},_0x2139f6={};_0x2139f6[_0x54dce(0x1b2)]=_0x5bad76,_0x2139f6[_0x54dce(0x214)]=_0x1c35a3,_0x2139f6['testFrameworkVersion']=_0x1d4a7f,_0x2139f6[_0x54dce(0x1c3)]=_0x6a1db,_0x2139f6[_0x54dce(0x280)]=_0x5917c4,_0x2139f6[_0x54dce(0x1c7)]=_0x636266,_0x2139f6[_0x54dce(0x1ac)]=_0xb8d4d5,_0x2139f6['uuid']=_0x2d86e5,_0x2139f6[_0x54dce(0x172)]=_0xbcc980,_0x2139f6['executionContext']=_0x43f8e2,_0x2139f6[_0x54dce(0x261)]=_0xee40c5;const _0x3d6461=_0x2139f6;return _0x3d6461;}catch(_0x10e4c6){return logger[_0x54dce(0x294)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x54dce(0x18a)](_0x10e4c6)),{};}}async['sendLogCreatedEvent'](_0x28c38e,_0x11976f,_0x39ecda){const _0x76f1ba=a71_0x481087,_0x53b59d={'CUEbN':function(_0x707a89,_0x4c4f92){return _0x707a89+_0x4c4f92;},'WRHTh':_0x76f1ba(0x246),'wdzrU':'none','zzYkH':function(_0x34333c,_0x2190e5){return _0x34333c>_0x2190e5;},'dXjmv':function(_0x572bac,_0x186ed9,_0x2ed0c8,_0x51f6b9){return _0x572bac(_0x186ed9,_0x2ed0c8,_0x51f6b9);},'CoAMn':function(_0x21affa,_0x203628){return _0x21affa-_0x203628;},'oDiGt':function(_0x346dd4,_0x4f6da5){return _0x346dd4===_0x4f6da5;},'HfmLb':function(_0x794fc3,_0x503b36){return _0x794fc3/_0x503b36;},'bcnbe':function(_0x33e303,_0x333a64){return _0x33e303<_0x333a64;},'aMFMS':function(_0x488823,_0x577a28){return _0x488823*_0x577a28;},'foGlQ':function(_0x169566,_0x420571){return _0x169566+_0x420571;},'qQLkn':function(_0x14cd8c,_0x306bdc){return _0x14cd8c+_0x306bdc;},'oHmzJ':function(_0x2d79c1,_0x60aad6){return _0x2d79c1+_0x60aad6;}};try{const _0x5242ed=_0x39ecda['testUUID']||_0x39ecda[_0x76f1ba(0x233)],_0x352d81=Array[_0x76f1ba(0x12f)](_0x28c38e['getAllData']()[_0x76f1ba(0x1e0)]()),_0x466371=_0x28c38e['getAllData']()['get'](_0x5242ed);if(!_0x466371){logger[_0x76f1ba(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5242ed);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5a654d='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4f2585=''}=_0x466371;let _0x2e6daf=[];if(_0x466371&&_0x466371[TestFrameworkConstants[_0x76f1ba(0x253)]]&&Array[_0x76f1ba(0x26b)](_0x466371[TestFrameworkConstants['KEY_LOGS']])){_0x2e6daf=_0x466371[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x179)+_0x2e6daf[_0x76f1ba(0x162)]+_0x76f1ba(0x19f)+_0x5242ed);const _0x43a320={[TestFrameworkConstants[_0x76f1ba(0x253)]]:[]},_0x518ebf={};_0x518ebf[_0x5242ed]=_0x43a320,_0x28c38e[_0x76f1ba(0x2a9)](_0x518ebf),logger['debug'](_0x76f1ba(0x267)+_0x5242ed);}else logger[_0x76f1ba(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5242ed);logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1a5)+_0x2e6daf['length']+_0x76f1ba(0x152)+_0x5242ed);const _0x408b37=_0x2e6daf[_0x76f1ba(0x17c)](_0x20f785=>_0x20f785[_0x76f1ba(0x15c)]===_0x76f1ba(0x28e));_0x53b59d[_0x76f1ba(0x277)](_0x408b37[_0x76f1ba(0x162)],0x0)&&(logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1c6)+_0x408b37['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x5242ed),_0x408b37[_0x76f1ba(0x195)]((_0x420283,_0x3f5cb4)=>{const _0x59450f=_0x76f1ba;logger[_0x59450f(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x53b59d[_0x59450f(0x23b)](_0x3f5cb4,0x1)+'/'+_0x408b37[_0x59450f(0x162)]+_0x59450f(0x20b)+(_0x420283['test_identifier']||_0x53b59d['WRHTh'])+_0x59450f(0x19e)+(_0x420283[_0x59450f(0x221)]||_0x53b59d[_0x59450f(0x262)])+_0x59450f(0x1af)+(_0x420283[_0x59450f(0x26c)]||_0x53b59d[_0x59450f(0x29c)])+_0x59450f(0x1db)+(_0x420283[_0x59450f(0x194)]?.[_0x59450f(0x162)]||0x0));}));const _0x4322ad=_0x466371[TestFrameworkConstants[_0x76f1ba(0x1c4)]]||{},_0x26475f=_0x53b59d['dXjmv'](getMediaArtifactsLogs,_0x4322ad,null,_0x5242ed),_0x4ba17f=(_0x2e6daf||[])['concat'](_0x26475f||[]),_0x27bfd7=_0x408b37?.[_0x76f1ba(0x162)]||0x0,_0x499867=_0x53b59d[_0x76f1ba(0x1eb)](_0x2e6daf?.[_0x76f1ba(0x162)]||0x0,_0x27bfd7);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x5242ed+_0x76f1ba(0x247)+_0x499867+_0x76f1ba(0x2ab)+_0x27bfd7+_0x76f1ba(0x257)+(_0x26475f?.[_0x76f1ba(0x162)]||0x0)+_0x76f1ba(0x1bd)+_0x4ba17f[_0x76f1ba(0x162)]);if(!_0x4ba17f||_0x53b59d[_0x76f1ba(0x250)](_0x4ba17f['length'],0x0)){logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x238)+_0x5242ed);return;}const _0xf0134f=0x28,_0x16fdd6=Math[_0x76f1ba(0x1b6)](_0x53b59d[_0x76f1ba(0x25b)](_0x4ba17f[_0x76f1ba(0x162)],_0xf0134f));for(let _0x4d5121=0x0;_0x53b59d[_0x76f1ba(0x26f)](_0x4d5121,_0x16fdd6);_0x4d5121++){const _0x578e9e=_0x53b59d[_0x76f1ba(0x243)](_0x4d5121,_0xf0134f),_0x5a2f8d=_0x53b59d[_0x76f1ba(0x116)](_0x578e9e,_0xf0134f),_0x2d8f38=_0x4ba17f[_0x76f1ba(0x147)](_0x578e9e,_0x5a2f8d),_0x4eda8a=global?.['__workerDetails']?.[_0x76f1ba(0x1fb)]?.[_0x76f1ba(0x264)]||0x0,_0x2ca175={'platformIndex':_0x4eda8a,'logs':_0x2d8f38,'testFrameworkName':_0x5a654d,'testFrameworkVersion':_0x4f2585,'testFrameworkState':_0x11976f[_0x76f1ba(0x227)]()['split']('.')[0x1]},_0x2454d5={};_0x2454d5['depth']=0x3,_0x2454d5['maxArrayLength']=0x5,logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x159)+_0x53b59d[_0x76f1ba(0x18e)](_0x4d5121,0x1)+'/'+_0x16fdd6+_0x76f1ba(0x167)+_0x5242ed+_0x76f1ba(0x1ce)+_0x2d8f38[_0x76f1ba(0x162)]+_0x76f1ba(0x137)+_0x4eda8a+_0x76f1ba(0x1e8)+util[_0x76f1ba(0x1cc)](_0x2ca175,_0x2454d5));const _0x56cfe5=await GrpcClient['getInstance']()[_0x76f1ba(0x1b0)](_0x2ca175);logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x159)+_0x53b59d['oHmzJ'](_0x4d5121,0x1)+'/'+_0x16fdd6+'\x20-\x20testId:\x20'+_0x5242ed+_0x76f1ba(0x20a)+util[_0x76f1ba(0x1cc)](_0x56cfe5));}if(_0x26475f&&_0x53b59d[_0x76f1ba(0x277)](_0x26475f[_0x76f1ba(0x162)],0x0)&&_0x466371[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x145a28={[TestFrameworkConstants[_0x76f1ba(0x1c4)]]:{}},_0x300874={};_0x300874[_0x5242ed]=_0x145a28,_0x28c38e['addMultipleEntries'](_0x300874);}logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1cd)+_0x5242ed+_0x76f1ba(0x13a)+_0x16fdd6);}catch(_0xeb5b76){logger[_0x76f1ba(0x294)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x39ecda[_0x76f1ba(0x1ad)]||_0x39ecda[_0x76f1ba(0x233)])+',\x20error:\x20'+util['format'](_0xeb5b76));}}[a71_0x481087(0x14b)](_0x2f411f,_0x50d94d,_0x44b2b7,_0x373d06,_0x392360){const _0x2bf4b3=a71_0x481087,_0x375c86={};_0x375c86[_0x2bf4b3(0x2aa)]=function(_0x57dcad,_0x234e2a){return _0x57dcad===_0x234e2a;},_0x375c86[_0x2bf4b3(0x24d)]=_0x2bf4b3(0x184);const _0x36856b=_0x375c86,{hookData:_0x1f69f0}=_0x392360,_0x1ec96a={'testId':_0x50d94d,'testFrameworkState':_0x44b2b7,'hookState':_0x373d06,'args':_0x392360,'timestamp':new Date()[_0x2bf4b3(0x296)]()};if(_0x36856b[_0x2bf4b3(0x2aa)](_0x44b2b7,TestFrameworkState[_0x2bf4b3(0x134)])&&_0x1f69f0){const _0x342961={};_0x342961['filePath']=_0x1f69f0[_0x2bf4b3(0x1dd)]||_0x1f69f0[_0x2bf4b3(0x1ec)],_0x342961[_0x2bf4b3(0x23c)]=_0x1f69f0[_0x2bf4b3(0x23c)]||_0x1f69f0[_0x2bf4b3(0x2ac)]&&_0x1f69f0[_0x2bf4b3(0x2ac)][0x0]||'',_0x342961['hookType']=_0x36856b['unoin'],_0x1ec96a[_0x2bf4b3(0x1b5)]=_0x342961,logger['debug'](_0x2bf4b3(0x1c9)+_0x50d94d+_0x2bf4b3(0x1f7)+_0x1ec96a[_0x2bf4b3(0x1b5)][_0x2bf4b3(0x28b)]+_0x2bf4b3(0x222)+_0x1ec96a['hookMetadata'][_0x2bf4b3(0x23c)]);}_0x2f411f[_0x2bf4b3(0x161)](_0x50d94d,_0x1ec96a),logger[_0x2bf4b3(0x1ff)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x50d94d+',\x20state:\x20'+_0x44b2b7+_0x2bf4b3(0x27f)+_0x373d06);}async[a71_0x481087(0x151)](_0x4834e6,_0x8627ac){const _0x43f0c8=a71_0x481087,_0x5a98be={};_0x5a98be[_0x43f0c8(0x131)]=function(_0x42a0c3,_0x5bb0af){return _0x42a0c3>_0x5bb0af;},_0x5a98be['BWIAI']=_0x43f0c8(0x29f),_0x5a98be[_0x43f0c8(0x1c2)]=function(_0x561fc3,_0x34a910){return _0x561fc3===_0x34a910;},_0x5a98be[_0x43f0c8(0x27b)]=function(_0x1cdcfc,_0x112a9f){return _0x1cdcfc===_0x112a9f;},_0x5a98be['HoxKf']=function(_0x22c0f2,_0x4cb708){return _0x22c0f2===_0x4cb708;},_0x5a98be[_0x43f0c8(0x24f)]=_0x43f0c8(0x220),_0x5a98be[_0x43f0c8(0x16e)]=_0x43f0c8(0x17a);const _0x59f94d=_0x5a98be;if(_0x4834e6['hasPendingHooks'](_0x8627ac)){const _0x19e203=_0x4834e6[_0x43f0c8(0x254)](_0x8627ac);logger[_0x43f0c8(0x1ff)](_0x43f0c8(0x235)+_0x19e203[_0x43f0c8(0x162)]+_0x43f0c8(0x274)+_0x8627ac);for(const _0x4b463b of _0x19e203){try{const _0x245435=await this['trackHookEvent'](_0x4834e6,_0x4b463b['testFrameworkState'],_0x4b463b['hookState'],_0x4b463b[_0x43f0c8(0x11b)]);_0x245435&&_0x59f94d['FVnCw'](Object[_0x43f0c8(0x1e0)](_0x245435)['length'],0x0)&&_0x4834e6[_0x43f0c8(0x2a9)](_0x245435),await this['runHooks'](_0x4834e6,_0x4b463b[_0x43f0c8(0x1c3)],_0x4b463b['hookState'],_0x4b463b[_0x43f0c8(0x11b)]);}catch(_0x51689a){logger[_0x43f0c8(0x294)](_0x43f0c8(0x21a)+_0x8627ac+_0x43f0c8(0x1f8)+_0x51689a);}}_0x4834e6[_0x43f0c8(0x293)](_0x8627ac),logger[_0x43f0c8(0x1ff)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x8627ac);}const _0x4c8381=_0x4834e6[_0x43f0c8(0x29a)]()[_0x43f0c8(0x2b1)](_0x8627ac);if(_0x4c8381){const _0x771adb=_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x25d)]]||_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x123)]],_0x156372=_0x4c8381[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x1fd)]]&&_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x1fd)]][0x0]||'';logger[_0x43f0c8(0x1ff)](_0x59f94d[_0x43f0c8(0x150)]);const _0x19b83c=_0x4834e6[_0x43f0c8(0x156)]();for(const _0x565b4e of _0x19b83c){if(_0x59f94d[_0x43f0c8(0x1c2)](_0x565b4e,_0x8627ac))continue;if(_0x4834e6['hasPendingHooks'](_0x565b4e)){const _0x1a98a7=_0x4834e6[_0x43f0c8(0x254)](_0x565b4e);for(const _0xfbcf06 of _0x1a98a7){if(_0x59f94d[_0x43f0c8(0x1c2)](_0xfbcf06[_0x43f0c8(0x1c3)],TestFrameworkState[_0x43f0c8(0x134)])&&_0xfbcf06[_0x43f0c8(0x1b5)]){const _0x265086=_0xfbcf06[_0x43f0c8(0x1b5)]['filePath'],_0x4e96b5=_0xfbcf06[_0x43f0c8(0x1b5)][_0x43f0c8(0x23c)];if(_0x59f94d['AgnKz'](_0x265086,_0x771adb)&&_0x59f94d[_0x43f0c8(0x27b)](_0x4e96b5,_0x156372)){logger['debug'](_0x43f0c8(0x180)+_0x565b4e+_0x43f0c8(0x1f4)+_0x8627ac+',\x20filePath:\x20'+_0x265086+_0x43f0c8(0x222)+_0x4e96b5);_0xfbcf06[_0x43f0c8(0x11b)]&&_0xfbcf06[_0x43f0c8(0x11b)]['hookData']&&(_0xfbcf06[_0x43f0c8(0x11b)][_0x43f0c8(0x266)][_0x43f0c8(0x1d2)]=_0x8627ac,logger[_0x43f0c8(0x1ff)](_0x43f0c8(0x2a6)+_0x565b4e+'\x20to\x20'+_0x8627ac));try{const _0x58d8cb=await this[_0x43f0c8(0x234)](_0x4834e6,_0xfbcf06[_0x43f0c8(0x1c3)],_0xfbcf06[_0x43f0c8(0x280)],_0xfbcf06[_0x43f0c8(0x11b)]);_0x58d8cb&&_0x59f94d['FVnCw'](Object[_0x43f0c8(0x1e0)](_0x58d8cb)[_0x43f0c8(0x162)],0x0)&&_0x4834e6[_0x43f0c8(0x2a9)](_0x58d8cb);await this[_0x43f0c8(0x163)](_0x4834e6,_0xfbcf06[_0x43f0c8(0x1c3)],_0xfbcf06[_0x43f0c8(0x280)],_0xfbcf06['args']);const _0x177452=_0x4834e6[_0x43f0c8(0x254)](_0x565b4e)[_0x43f0c8(0x17c)](_0x8b2849=>_0x8b2849!==_0xfbcf06);if(_0x59f94d['HoxKf'](_0x177452[_0x43f0c8(0x162)],0x0))_0x4834e6[_0x43f0c8(0x293)](_0x565b4e);else{_0x4834e6[_0x43f0c8(0x293)](_0x565b4e);for(const _0x550f83 of _0x177452){_0x4834e6[_0x43f0c8(0x161)](_0x565b4e,_0x550f83);}}logger[_0x43f0c8(0x1ff)](_0x59f94d[_0x43f0c8(0x24f)]);}catch(_0x2c7576){logger['error'](_0x59f94d['seMNH']);}}}}}}}}['mapTestHooks'](_0x16087a){const _0x3d8362=a71_0x481087,_0xa0b576={'sIDXT':function(_0x4f78d1){return _0x4f78d1();}};if(!_0x16087a||!_0x16087a[_0x3d8362(0x2a3)])return;_0x16087a[_0x3d8362(0x2a3)][_0x3d8362(0x15f)]&&Array[_0x3d8362(0x26b)](_0x16087a['parent'][_0x3d8362(0x15f)])&&_0x16087a[_0x3d8362(0x2a3)]['hooks'][_0x3d8362(0x195)](_0x220d16=>{const _0x2bef44=_0x3d8362;!_0x220d16['hookAnalyticsId']&&!_0x220d16[_0x2bef44(0x290)]&&(_0x220d16[_0x2bef44(0x187)]=_0xa0b576[_0x2bef44(0x1fa)](uuidv4),_0x220d16[_0x2bef44(0x290)]=_0x220d16['hookAnalyticsId'],logger['debug'](_0x2bef44(0x20c)+_0x220d16['type']+_0x2bef44(0x224)+_0x220d16[_0x2bef44(0x187)]));}),this[_0x3d8362(0x271)](_0x16087a['parent']);}[a71_0x481087(0x138)](_0x5ca1f8){const _0x2b86b5=a71_0x481087,_0x4eef6c={'tekFg':function(_0x143929,_0x2bdc8c){return _0x143929(_0x2bdc8c);}};if(!_0x5ca1f8||!_0x5ca1f8[_0x2b86b5(0x2a3)])return[];const _0x211cc7=[];return _0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)]&&Array[_0x2b86b5(0x26b)](_0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)])&&_0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)][_0x2b86b5(0x195)](_0x2f6902=>{const _0x3090fc=_0x2b86b5,_0x41779f=_0x2f6902[_0x3090fc(0x187)]||_0x2f6902[_0x3090fc(0x290)];_0x41779f&&!this['isJestInternalHook'](_0x2f6902)&&!_0x4eef6c[_0x3090fc(0x1f1)](isInternalHook,_0x2f6902['fn'])&&_0x211cc7['push'](_0x41779f);}),[..._0x211cc7,...this[_0x2b86b5(0x138)](_0x5ca1f8['parent'])];}['buildHookMapFromTest'](_0x282c9c){const _0xb91681=a71_0x481087,_0x2b850d={'cuwpU':function(_0x2c1c76,_0xc817af){return _0x2c1c76(_0xc817af);},'GxVDR':_0xb91681(0x12d),'jDMTc':function(_0x23368e,_0x2e67c0){return _0x23368e(_0x2e67c0);}},_0x41cc3e=new Map(),_0x40a122=_0x4b165e=>{const _0x4c9c90=_0xb91681,_0x5ce862={'ljwRv':function(_0x1572d2,_0x5c346f){return _0x2b850d['cuwpU'](_0x1572d2,_0x5c346f);},'MJKIb':_0x2b850d[_0x4c9c90(0x2a4)]};if(!_0x4b165e||!_0x4b165e[_0x4c9c90(0x2a3)])return;_0x4b165e[_0x4c9c90(0x2a3)][_0x4c9c90(0x15f)]&&Array['isArray'](_0x4b165e[_0x4c9c90(0x2a3)][_0x4c9c90(0x15f)])&&_0x4b165e[_0x4c9c90(0x2a3)]['hooks'][_0x4c9c90(0x195)](_0x271b2b=>{const _0x2a039f=_0x4c9c90,_0x890438=_0x271b2b['hookAnalyticsId']||_0x271b2b[_0x2a039f(0x290)];if(_0x890438&&!this['isJestInternalHook'](_0x271b2b)&&!_0x5ce862[_0x2a039f(0x168)](isInternalHook,_0x271b2b['fn'])){const _0x374a0b={};_0x374a0b['type']=_0x271b2b[_0x2a039f(0x11a)]||_0x5ce862['MJKIb'],_0x374a0b[_0x2a039f(0x1cf)]=_0x271b2b['name']||'\x22'+_0x271b2b['type']+_0x2a039f(0x12b),_0x41cc3e[_0x2a039f(0x1f3)](_0x890438,_0x374a0b);}}),_0x2b850d['jDMTc'](_0x40a122,_0x4b165e[_0x4c9c90(0x2a3)]);};return _0x2b850d[_0xb91681(0x157)](_0x40a122,_0x282c9c),_0x41cc3e;}[a71_0x481087(0x12c)](_0x550c98){const _0x16165b=a71_0x481087,_0x5c125d={};_0x5c125d[_0x16165b(0x148)]='jest-circus',_0x5c125d['skKWq']=_0x16165b(0x232);const _0x559e48=_0x5c125d;try{const _0x1f5591=this['getRootParentFile'](_0x550c98);return _0x1f5591&&_0x1f5591['includes'](_0x559e48[_0x16165b(0x148)]);}catch(_0x2b0cde){logger[_0x16165b(0x1ff)](_0x559e48['skKWq']);}return![];}[a71_0x481087(0x223)](_0x425f06){const _0x3182a1=a71_0x481087;if(_0x425f06[_0x3182a1(0x1b7)])try{const _0x216190=stackTrace[_0x3182a1(0x2b3)](_0x425f06[_0x3182a1(0x1b7)]);return _0x216190[0x0]?_0x216190[0x0][_0x3182a1(0x27a)]():null;}catch(_0x41a1fd){logger[_0x3182a1(0x1ff)](_0x3182a1(0x185)+util['format'](_0x41a1fd));}if(_0x425f06[_0x3182a1(0x225)])return _0x425f06[_0x3182a1(0x225)];return null;}}module[a71_0x481087(0x207)]=JestTestFramework;
@@ -1 +1 @@
1
- function a72_0x3e06(){const _0x424bf9=['92YSgcVl','PlaywrightAutomationFramework','trackEvent','../instances/automationFrameworkInstance.js','getTrackedInstance','logger','message','setTrackedInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','trackEvent:\x20automationFrameworkState=','4627504yfrwCI','\x20hookState=','../../../helpers/classLogger.js','NONE','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','4170tpwTDB','../cliUtils.js','getAutomationFrameworkName','bsParams','CeWcd','1758RfGnDN','getCurrentInstanceName','runHooks','getAutomationFrameworkVersion','27655182tRNWaW','\x20target=','662488zYmCLq','../state/automationFrameworkState.js','7174256DyGNjS','debug','zxidX','instance','trackPlaywrightInstance','DrdvM','106494vIDIxI','PLAYWRIGHT_DISPATCH','info','LhUVS',',\x20state=','6885144BkrFRr','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','resolveInstance','params'];a72_0x3e06=function(){return _0x424bf9;};return a72_0x3e06();}function a72_0x4de6(_0x2a2594,_0x18fbbe){const _0x3e0631=a72_0x3e06();return a72_0x4de6=function(_0x4de617,_0x363254){_0x4de617=_0x4de617-0xb6;let _0x178cbe=_0x3e0631[_0x4de617];return _0x178cbe;},a72_0x4de6(_0x2a2594,_0x18fbbe);}const a72_0x421c1b=a72_0x4de6;(function(_0x40980f,_0x408f09){const _0x3b8bd7=a72_0x4de6,_0x136736=_0x40980f();while(!![]){try{const _0x30937e=-parseInt(_0x3b8bd7(0xcb))/0x1+parseInt(_0x3b8bd7(0xdc))/0x2*(parseInt(_0x3b8bd7(0xd3))/0x3)+parseInt(_0x3b8bd7(0xd8))/0x4+parseInt(_0x3b8bd7(0xc0))/0x5*(-parseInt(_0x3b8bd7(0xc5))/0x6)+parseInt(_0x3b8bd7(0xbb))/0x7+parseInt(_0x3b8bd7(0xcd))/0x8+-parseInt(_0x3b8bd7(0xc9))/0x9;if(_0x30937e===_0x408f09)break;else _0x136736['push'](_0x136736['shift']());}catch(_0x3065fa){_0x136736['push'](_0x136736['shift']());}}}(a72_0x3e06,0xe3a30));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0x421c1b(0xbd)),AutomationFrameworkState=require(a72_0x421c1b(0xcc)),CLIUtils=require(a72_0x421c1b(0xc1)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a72_0x421c1b(0xdf));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x421c1b(0xb6)]=createClassLogger(a72_0x421c1b(0xdd));constructor(_0xbe6dd5,_0x266662){super(_0xbe6dd5,_0x266662);}async[a72_0x421c1b(0xde)](_0x23d334,_0x129157,_0x192d84={}){const _0x6880d8=a72_0x421c1b,_0x20f44f={};_0x20f44f[_0x6880d8(0xd6)]=function(_0x383634,_0x1350d6){return _0x383634===_0x1350d6;};const _0x349bcd=_0x20f44f;this['logger'][_0x6880d8(0xce)](_0x6880d8(0xba)+_0x23d334+_0x6880d8(0xbc)+_0x129157),await super[_0x6880d8(0xde)](_0x23d334,_0x129157,_0x192d84);const _0x3d3aa2=this[_0x6880d8(0xda)](_0x23d334,_0x129157,_0x192d84);if(_0x349bcd[_0x6880d8(0xd6)](_0x3d3aa2,null))return;_0x192d84[_0x6880d8(0xd0)]=_0x3d3aa2,await this[_0x6880d8(0xc7)](_0x3d3aa2,_0x23d334,_0x129157,_0x192d84);}['resolveInstance'](_0x3ae93e,_0x21f456,_0x559f04={}){const _0x7e1835=a72_0x421c1b,_0x349150={};_0x349150[_0x7e1835(0xcf)]=function(_0x5bd796,_0x4f88e2){return _0x5bd796===_0x4f88e2;},_0x349150[_0x7e1835(0xd2)]=function(_0x322bfa,_0x3efaf0){return _0x322bfa===_0x3efaf0;};const _0x37dd41=_0x349150;let _0x40be81=null;return(_0x37dd41[_0x7e1835(0xcf)](_0x3ae93e,AutomationFrameworkState['CREATE'])||_0x37dd41['DrdvM'](_0x3ae93e,AutomationFrameworkState[_0x7e1835(0xd4)])&&(_0x559f04[_0x7e1835(0xb7)]&&_0x559f04['message']['params']&&_0x559f04[_0x7e1835(0xb7)][_0x7e1835(0xdb)][_0x7e1835(0xc3)])||_0x37dd41[_0x7e1835(0xcf)](_0x3ae93e,AutomationFrameworkState[_0x7e1835(0xbe)]))&&this[_0x7e1835(0xd1)](_0x3ae93e,_0x559f04),_0x40be81=AutomationFramework[_0x7e1835(0xe0)](),_0x40be81;}[a72_0x421c1b(0xd1)](_0xebc7a4,_0x32f175){const _0x148fac=a72_0x421c1b,_0x56c3ff={};_0x56c3ff['CeWcd']=_0x148fac(0xb9);const _0x3b9437=_0x56c3ff;if(AutomationFramework[_0x148fac(0xe0)]()){this[_0x148fac(0xb6)][_0x148fac(0xd5)](_0x3b9437[_0x148fac(0xc4)]);return;}const _0x4af5a6=CLIUtils[_0x148fac(0xc6)](),_0x38282d=TrackedInstance['createContext'](_0x4af5a6);let _0x5e7e94=null;this['logger'][_0x148fac(0xd5)](_0x148fac(0xd9)+_0x4af5a6+_0x148fac(0xd7)+_0xebc7a4),_0x5e7e94=new AutomationFrameworkInstance(_0x38282d,this[_0x148fac(0xc2)](),this[_0x148fac(0xc8)](),_0xebc7a4),AutomationFramework[_0x148fac(0xb8)](_0x38282d,_0x5e7e94),this['logger'][_0x148fac(0xd5)](_0x148fac(0xbf)+_0x38282d['getId']()+_0x148fac(0xca)+_0x4af5a6);}}module['exports']=PlaywrightAutomationFramework;
1
+ const a72_0x14d94b=a72_0x1489;function a72_0x4429(){const _0x559125=['../../../helpers/classLogger.js','getAutomationFrameworkVersion','../instances/trackedInstance.js','\x20hookState=','DKKPW','151932scWolE','setTrackedInstance','BoUZM','trackPlaywrightInstance:\x20instance\x20already\x20exists','params','./automationFramework.js','PLAYWRIGHT_DISPATCH','144gdCnlE','../state/automationFrameworkState.js','getId','2336796hRUBVP','getCurrentInstanceName','message','../cliUtils.js','\x20target=','2447030mtDGBF','debug','247900sNyIja','SRuGz','2RLYAkc','1802508ouAPij','trackPlaywrightInstance','runHooks','PlaywrightAutomationFramework','NONE',',\x20state=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','exports','getTrackedInstance','logger','trackEvent','bjjHH','../instances/automationFrameworkInstance.js','ksbwb','766881ywDKEG','trackEvent:\x20automationFrameworkState=','resolveInstance','bsParams','instance','info','1692741QletiY'];a72_0x4429=function(){return _0x559125;};return a72_0x4429();}function a72_0x1489(_0x9302f8,_0x3763c1){const _0x44292b=a72_0x4429();return a72_0x1489=function(_0x148905,_0x570f84){_0x148905=_0x148905-0x9a;let _0x1145c7=_0x44292b[_0x148905];return _0x1145c7;},a72_0x1489(_0x9302f8,_0x3763c1);}(function(_0x4db8d9,_0x46f7ca){const _0x435ff9=a72_0x1489,_0x473e74=_0x4db8d9();while(!![]){try{const _0x861ef=-parseInt(_0x435ff9(0xba))/0x1+parseInt(_0x435ff9(0x9f))/0x2*(-parseInt(_0x435ff9(0xb4))/0x3)+-parseInt(_0x435ff9(0x9d))/0x4+-parseInt(_0x435ff9(0x9b))/0x5+-parseInt(_0x435ff9(0xa0))/0x6+parseInt(_0x435ff9(0xc4))/0x7+-parseInt(_0x435ff9(0xc1))/0x8*(-parseInt(_0x435ff9(0xae))/0x9);if(_0x861ef===_0x46f7ca)break;else _0x473e74['push'](_0x473e74['shift']());}catch(_0x4dd2cd){_0x473e74['push'](_0x473e74['shift']());}}}(a72_0x4429,0x4925c));const AutomationFramework=require(a72_0x14d94b(0xbf)),{createClassLogger}=require(a72_0x14d94b(0xb5)),AutomationFrameworkState=require(a72_0x14d94b(0xc2)),CLIUtils=require(a72_0x14d94b(0xc7)),TrackedInstance=require(a72_0x14d94b(0xb7)),AutomationFrameworkInstance=require(a72_0x14d94b(0xac));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x14d94b(0xa3));constructor(_0x52ba80,_0x4eb47c){super(_0x52ba80,_0x4eb47c);}async[a72_0x14d94b(0xaa)](_0x5ed244,_0x582fd9,_0x52cbba={}){const _0x29752b=a72_0x14d94b,_0x525558={};_0x525558[_0x29752b(0xad)]=function(_0x1cf53d,_0x2905af){return _0x1cf53d===_0x2905af;};const _0x454eac=_0x525558;this[_0x29752b(0xa9)][_0x29752b(0x9c)](_0x29752b(0xaf)+_0x5ed244+_0x29752b(0xb8)+_0x582fd9),await super[_0x29752b(0xaa)](_0x5ed244,_0x582fd9,_0x52cbba);const _0x6d5823=this[_0x29752b(0xb0)](_0x5ed244,_0x582fd9,_0x52cbba);if(_0x454eac[_0x29752b(0xad)](_0x6d5823,null))return;_0x52cbba[_0x29752b(0xb2)]=_0x6d5823,await this[_0x29752b(0xa2)](_0x6d5823,_0x5ed244,_0x582fd9,_0x52cbba);}['resolveInstance'](_0x21bf7b,_0x5d424f,_0x4030d8={}){const _0x106a48=a72_0x14d94b,_0x329272={};_0x329272[_0x106a48(0xab)]=function(_0x4404e6,_0x259f52){return _0x4404e6===_0x259f52;},_0x329272[_0x106a48(0x9e)]=function(_0x3d87ef,_0x18f885){return _0x3d87ef===_0x18f885;},_0x329272[_0x106a48(0xbc)]=function(_0x39f5fa,_0x1ac090){return _0x39f5fa===_0x1ac090;};const _0xf8929d=_0x329272;let _0x5e9b99=null;return(_0xf8929d[_0x106a48(0xab)](_0x21bf7b,AutomationFrameworkState['CREATE'])||_0xf8929d[_0x106a48(0x9e)](_0x21bf7b,AutomationFrameworkState[_0x106a48(0xc0)])&&(_0x4030d8[_0x106a48(0xc6)]&&_0x4030d8[_0x106a48(0xc6)][_0x106a48(0xbe)]&&_0x4030d8[_0x106a48(0xc6)]['params'][_0x106a48(0xb1)])||_0xf8929d[_0x106a48(0xbc)](_0x21bf7b,AutomationFrameworkState[_0x106a48(0xa4)]))&&this[_0x106a48(0xa1)](_0x21bf7b,_0x4030d8),_0x5e9b99=AutomationFramework['getTrackedInstance'](),_0x5e9b99;}[a72_0x14d94b(0xa1)](_0x518d5b,_0xbc758f){const _0x58e8a9=a72_0x14d94b,_0x1d32b0={};_0x1d32b0[_0x58e8a9(0xb9)]=_0x58e8a9(0xbd);const _0x6c196=_0x1d32b0;if(AutomationFramework[_0x58e8a9(0xa8)]()){this[_0x58e8a9(0xa9)]['info'](_0x6c196['DKKPW']);return;}const _0x593b62=CLIUtils[_0x58e8a9(0xc5)](),_0x599ef6=TrackedInstance['createContext'](_0x593b62);let _0x936f93=null;this[_0x58e8a9(0xa9)][_0x58e8a9(0xb3)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x593b62+_0x58e8a9(0xa5)+_0x518d5b),_0x936f93=new AutomationFrameworkInstance(_0x599ef6,this['getAutomationFrameworkName'](),this[_0x58e8a9(0xb6)](),_0x518d5b),AutomationFramework[_0x58e8a9(0xbb)](_0x599ef6,_0x936f93),this[_0x58e8a9(0xa9)][_0x58e8a9(0xb3)](_0x58e8a9(0xa6)+_0x599ef6[_0x58e8a9(0xc3)]()+_0x58e8a9(0x9a)+_0x593b62);}}module[a72_0x14d94b(0xa7)]=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- function a73_0x2d60(){const _0x5a1167=['\x20result=','shCLG','kGabi','error','vxAkO','KEY_HOOK_LOGS','getTrackedInstance','DoOLP',',\x20state=','KEY_HOOK_LAST_FINISHED','KEY_HOOKS_FINISHED','Ideuo','LZcbn','testFrameworkState','hUnYX','kytLL','10keHPkh','ctUfo','KEY_HOOK_FAILURE_REASON','60542XHgGnm','getTestUUID','KEY_HOOK_ID','qJFJV','workerInfo','getCurrentHookState','PlaywrightTestFramework','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','errors','\x20response=','some','getCurrentInstanceName','20yZnOPx','KEY_TEST_FAILURE','getTestFrameworksVersions','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','createTestFrameworkEventPayload','zNzsq','KEY_TEST_ATTACHMENTS','skipped','step','KEY_TEST_ID','expectedStatus','497608JqoeZN','ehBuu','passed','Ddxpc','\x20from\x20TestDetails:\x20','uuid','path','KEY_HOOKS_STARTED','TKiXy','timedOut','\x20payload=','split','VFqwS','results','forEach','../state/hookState.js','izTYt','qpXxR','KEY_TEST_RESULT','KEY_HOOK_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','setTestDetails','IvMkW','\x20instance=','EYYYI','mWLrE','matchHookRegex','UbqWE','failed','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_SCOPE','attachments','526170PyveKC','instance','\x20hookState=','NONE','getThreadId','\x20instanceId=','bEYdk','file_name','field_type','\x20and\x20args\x20=\x20','RPYQZ','logCreatedEvent','trackPlaywrightInstance','KEY_TEST_FAILURE_REASON','startTime','inspect','xPEHa','kGHir','addMultipleEntries','annotations','parsePlaywrightTestResult:\x20testId=','ZemsD','KEY_TEST_FILE_PATH','IjRab','getTestDetails','GOtkq','LWiET','OBpTV','teYKg','qZvnJ','WCFaS','kyuMX','ArVvd','filePath','ooYdw','97980hpFgkj','KEY_TEST_FAILURE_TYPE','Mhzfg','../../../helpers/helper.js','retry','../cliUtils.js','parsePlaywrightTest','KEY_HOOK_FAILURE_TYPE','parallelIndex','../TestInfo.js','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','createTestFrameworkEventPayload\x20testId:\x20','jNAtI','KEY_TEST_ENDED_AT','getAllData','testFrameworkVersion','2808014qbXkFA','KEY_LOGS','endedAt','QEvKe','vsTYQ','KEY_TEST_SCOPES','KEY_TEST_UUID','getContext','KEY_HOOK_LAST_STARTED','UEghK','KEY_TEST_NAME','__workerDetails','KEY_TEST_FRAMEWORK_NAME','2737242edwCTz','\x20hookState:\x20','parsePlaywrightTestResult','XOLIt','stringify','debug','push','NMmjI','../../../helpers/test-observability/utils','\x20batch\x20','result','isArray','POST','values','exports','KEY_TEST_LOCATION','message','KEY_TEST_STARTED_AT','YDIIB','KEY_HOOK_RESULT','description','resolveInstance','getRef','KEY_TEST_CODE','\x20\x20and\x20args\x20=\x20','LWsNM','sendLogCreatedEvent','DEFAULT_HOOK_RESULT','hookState','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','MrwlT','status','testFrameworkName','Nowyk','XwdJg','runHooks','test','asPpT','duration','\x20&\x20hook\x20=\x20','7MbPMoU','getTraceFilePaths','xcGjB','./constants/testFrameworkConstants.js','toString','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','length','KEY_EVENT_STARTED_AT','stack','KEY_CUSTOM_TAGS','setTrackedInstance','trackEvent','steps','getProcessId','get','sendLogCreatedEvent\x20for\x20testId:\x20','Expected\x20to\x20fail,\x20but\x20passed.','./testFramework','from','Hook\x20List\x20in\x20Post\x20','hook','sendLogCreatedEvent:\x20testId=','apUvG','executionContext','Vwlat','trim','trackHookEvent','../grpcClient','title','pop','9hCYVVK','info','testUId','TEST','PRE','McMNu','getInstance','getTestFrameworks','getTime','fFGwC','concat','KEY_TEST_FRAMEWORK_VERSION','\x20testState:\x20','../instances/testFrameworkInstance.js','base64','833010dsnaLX','YgWOz','\x20testHookState=','getId','INIT_TEST','KEY_HOOK_FAILURE','FmONR','../../playwright/reporter/pwUtils','format','JpWRy','toISOString','basename','cQVEy'];a73_0x2d60=function(){return _0x5a1167;};return a73_0x2d60();}const a73_0x32edb3=a73_0x4fac;(function(_0x13114c,_0x3e0066){const _0x57801c=a73_0x4fac,_0x4c6fba=_0x13114c();while(!![]){try{const _0x351a4c=parseInt(_0x57801c(0x228))/0x1*(parseInt(_0x57801c(0x257))/0x2)+parseInt(_0x57801c(0x237))/0x3+parseInt(_0x57801c(0x1c5))/0x4+-parseInt(_0x57801c(0x264))/0x5*(parseInt(_0x57801c(0x28f))/0x6)+-parseInt(_0x57801c(0x20a))/0x7*(-parseInt(_0x57801c(0x26f))/0x8)+-parseInt(_0x57801c(0x1e2))/0x9*(parseInt(_0x57801c(0x254))/0xa)+parseInt(_0x57801c(0x1d5))/0xb;if(_0x351a4c===_0x3e0066)break;else _0x4c6fba['push'](_0x4c6fba['shift']());}catch(_0x24cc09){_0x4c6fba['push'](_0x4c6fba['shift']());}}}(a73_0x2d60,0x39e69));function a73_0x4fac(_0x1004bc,_0xcffcbd){const _0x2d60e8=a73_0x2d60();return a73_0x4fac=function(_0x4facd0,_0x31c759){_0x4facd0=_0x4facd0-0x1b8;let _0x4292cf=_0x2d60e8[_0x4facd0];return _0x4292cf;},a73_0x4fac(_0x1004bc,_0xcffcbd);}const TestFramework=require(a73_0x32edb3(0x21b)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a73_0x32edb3(0x27e)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a73_0x32edb3(0x235)),CLIUtils=require(a73_0x32edb3(0x1ca)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a73_0x32edb3(0x20d)),logger=createClassLogger(a73_0x32edb3(0x25d)),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x32edb3(0x1c8)),TestInfo=require(a73_0x32edb3(0x1ce)),GrpcClient=require(a73_0x32edb3(0x225)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x32edb3(0x1ea)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x32edb3(0x23e)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x32edb3(0x23e)),path=require(a73_0x32edb3(0x275)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x563615,_0x1f04dc,_0x5a8fab){super(_0x563615,_0x1f04dc,_0x5a8fab);}async[a73_0x32edb3(0x215)](_0x8fbc35,_0x2f12ff,_0x158caf={}){const _0x48787e=a73_0x32edb3,_0x5e358d={'Ddxpc':function(_0x41a5c3,_0x5bc09a){return _0x41a5c3===_0x5bc09a;},'IjRab':function(_0x2b5557,_0x902b51){return _0x2b5557===_0x902b51;},'kGHir':function(_0x314eb1,_0x9824d2){return _0x314eb1===_0x9824d2;},'KMfFm':function(_0x1cc81e,_0x3454f1,_0xb304f8){return _0x1cc81e(_0x3454f1,_0xb304f8);},'mWLrE':'test','Vwlat':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x48787e(0x215)](_0x8fbc35,_0x2f12ff,_0x158caf);if(_0x5e358d[_0x48787e(0x272)](_0x8fbc35,TestFrameworkState['TEST_SCREENSHOT'])){const _0x39cad2=TestInfo['getTestIdentifierFromTestInfo'](_0x158caf[_0x48787e(0x206)],_0x158caf['test'][_0x48787e(0x1c9)]);TestInfo[_0x48787e(0x284)](_0x39cad2,_0x158caf[_0x48787e(0x1ec)],!![]);}const _0x48ce16=this[_0x48787e(0x1f7)](_0x8fbc35,_0x2f12ff,_0x158caf);if(!_0x48ce16)return;logger[_0x48787e(0x1e7)](_0x48787e(0x25f)+_0x8fbc35+_0x48787e(0x291)+_0x2f12ff+_0x48787e(0x294)+_0x48ce16[_0x48787e(0x1f8)]());try{if(_0x5e358d[_0x48787e(0x1b9)](_0x2f12ff,HookState['PRE'])&&_0x5e358d[_0x48787e(0x2a0)](_0x8fbc35,TestFrameworkState[_0x48787e(0x22b)])){const _0x4f4795=_0x158caf[_0x48787e(0x206)];logger[_0x48787e(0x1e7)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x4f4795['id']+'}');const _0xf88b12=TestInfo[_0x48787e(0x258)](_0x5e358d['KMfFm'](getTestRunIdentifier,_0x4f4795,_0x158caf[_0x48787e(0x1ec)][_0x48787e(0x1c9)]));_0x48ce16[_0x48787e(0x2a1)](this['parsePlaywrightTest'](_0xf88b12,_0x4f4795,_0x158caf[_0x48787e(0x1ec)])),logger['debug'](_0x48787e(0x283)+_0x4f4795['id']+',\x20testFrameworkState='+_0x8fbc35+_0x48787e(0x239)+_0x2f12ff+_0x48787e(0x286)+_0x48ce16[_0x48787e(0x1f8)]());}if(_0x5e358d['Ddxpc'](_0x2f12ff,HookState['POST'])&&_0x5e358d[_0x48787e(0x272)](_0x8fbc35,TestFrameworkState[_0x48787e(0x22b)])){const _0x11917f=_0x158caf[_0x48787e(0x206)],_0xc5c8ea=_0x158caf[_0x48787e(0x1ec)];logger[_0x48787e(0x1e7)](_0x48787e(0x1cf)+_0x11917f['id']),_0x48ce16[_0x48787e(0x2a1)](this[_0x48787e(0x1e4)](_0x11917f['id'],_0xc5c8ea,_0x11917f)),await this[_0x48787e(0x1fc)](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x5e358d[_0x48787e(0x288)],_0x158caf);}if(CLIUtils[_0x48787e(0x289)](_0x8fbc35[_0x48787e(0x20e)]()[_0x48787e(0x27a)]('.')[0x1])){const _0x34dd37=await this['trackHookEvent'](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x158caf);_0x48ce16['addMultipleEntries'](_0x34dd37);}}catch(_0x1032e6){logger['error'](util[_0x48787e(0x23f)](_0x5e358d[_0x48787e(0x222)],_0x8fbc35,_0x2f12ff,_0x158caf[_0x48787e(0x210)],_0x1032e6));}_0x158caf[_0x48787e(0x290)]=_0x48ce16,await this[_0x48787e(0x205)](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x158caf);}[a73_0x32edb3(0x1f7)](_0x160926,_0x4e0425,_0x26008e={}){const _0x13a14c=a73_0x32edb3,_0x2dcc76={};_0x2dcc76[_0x13a14c(0x27b)]=function(_0x33b2b3,_0xcf2c26){return _0x33b2b3===_0xcf2c26;},_0x2dcc76['JpWRy']=function(_0x9b55ee,_0x4c88e3){return _0x9b55ee===_0x4c88e3;};const _0x563713=_0x2dcc76;let _0x386b32=null;return(_0x563713[_0x13a14c(0x27b)](_0x160926,TestFrameworkState[_0x13a14c(0x23b)])||_0x563713[_0x13a14c(0x240)](_0x160926,TestFrameworkState[_0x13a14c(0x292)]))&&this[_0x13a14c(0x29b)](_0x160926,_0x26008e),_0x386b32=TestFramework[_0x13a14c(0x24a)](),_0x386b32;}[a73_0x32edb3(0x29b)](_0x3f7a77,_0x38439c){const _0x3259a1=a73_0x32edb3,_0x341b54=CLIUtils[_0x3259a1(0x263)](),_0x3494c1=TrackedInstance['createContext'](_0x341b54);let _0x1e8ded=null;logger[_0x3259a1(0x229)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x341b54+_0x3259a1(0x24c)+_0x3f7a77),_0x1e8ded=new TestFrameworkInstance(_0x3494c1,this[_0x3259a1(0x22f)](),this['getTestFrameworksVersions'](),_0x3f7a77,HookState[_0x3259a1(0x292)]),TestFramework[_0x3259a1(0x214)](_0x3494c1,_0x1e8ded),logger[_0x3259a1(0x229)](_0x3259a1(0x267)+_0x3494c1[_0x3259a1(0x23a)]()+'\x20target='+_0x341b54);}[a73_0x32edb3(0x1cb)](_0x4972ce,_0x4f6766,_0x4787c4){const _0x5294de=a73_0x32edb3,_0x4ffe45={'XwdJg':function(_0x569fcf,_0x4e154a){return _0x569fcf(_0x4e154a);},'XOLIt':function(_0x5e50a8,_0x127bdf){return _0x5e50a8(_0x127bdf);},'qpXxR':function(_0x2c300a,_0x1a925b){return _0x2c300a(_0x1a925b);},'cgeKM':function(_0x530286,_0x21e11e){return _0x530286(_0x21e11e);},'dDSVC':function(_0x53195a,_0x3b6995){return _0x53195a(_0x3b6995);},'LWsNM':function(_0x223e2f,_0x368794,_0x1bf6e4){return _0x223e2f(_0x368794,_0x1bf6e4);}},_0x362887=_0x4ffe45[_0x5294de(0x204)](getPlaywrightTestId,_0x4f6766),_0x8f9b34=_0x4ffe45[_0x5294de(0x1e5)](getPlaywrightTestTitle,_0x4f6766),_0x2e97e4=_0x4ffe45[_0x5294de(0x280)](getTestTags,_0x4f6766),_0x24843d=_0x4ffe45[_0x5294de(0x1e5)](getPlaywrightTestCode,_0x4f6766),_0x5ef42d=_0x4ffe45['XwdJg'](getPlaywrightTestFilePath,_0x4f6766),_0x45306a=_0x5ef42d+':'+_0x4ffe45['cgeKM'](getPlaywrightTestLocation,_0x4f6766),_0x49fcb9=_0x4ffe45[_0x5294de(0x280)](getPlaywrightTestScope,_0x4f6766),_0x38b461=_0x4ffe45[_0x5294de(0x204)](getPlaywrightTestScopes,_0x4f6766),_0x4bf532=_0x4ffe45['dDSVC'](getPlaywrightSessionName,_0x4f6766),_0x1a02a9=this[_0x5294de(0x22f)]()[0x0],_0x5f0500=_0x4ffe45[_0x5294de(0x1fb)](getTestRunIdentifier,_0x4f6766,_0x4787c4[_0x5294de(0x1c9)]),_0x46befa={[TestFrameworkConstants[_0x5294de(0x1e1)]]:_0x1a02a9,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x5294de(0x266)]()[_0x1a02a9],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x5294de(0x276)]]:{},[TestFrameworkConstants[_0x5294de(0x1db)]]:_0x4972ce,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5294de(0x28c)]]:_0x4bf532,[TestFrameworkConstants[_0x5294de(0x1b8)]]:_0x5ef42d,[TestFrameworkConstants[_0x5294de(0x26d)]]:_0x362887,[TestFrameworkConstants[_0x5294de(0x1df)]]:_0x8f9b34,[TestFrameworkConstants[_0x5294de(0x1f1)]]:_0x45306a,[TestFrameworkConstants[_0x5294de(0x1f9)]]:_0x24843d,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x2e97e4,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4f6766[_0x5294de(0x27c)][0x0]['startTime'],[TestFrameworkConstants[_0x5294de(0x28d)]]:_0x49fcb9,[TestFrameworkConstants[_0x5294de(0x1da)]]:_0x38b461,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4ffe45[_0x5294de(0x280)](getPlaywrightCustomRerunParam,_0x4f6766)};TestInfo[_0x5294de(0x284)](_0x5f0500,_0x46befa);const _0x5b2300={};return _0x5b2300[_0x5f0500]=_0x46befa,_0x5b2300;}[a73_0x32edb3(0x1e4)](_0x424cc8,_0x1e0ef6,_0x1521d7){const _0x2c826e=a73_0x32edb3,_0x6b6471={'LWiET':function(_0x27df16,_0x275dc7){return _0x27df16(_0x275dc7);},'Ideuo':'TEST_ATTACHMENT','yTGfX':function(_0x7b2897,_0x29f715){return _0x7b2897===_0x29f715;},'cQVEy':function(_0x3acc32,_0x50b129){return _0x3acc32===_0x50b129;},'YDIIB':'No\x20reason\x20provided','ehBuu':'multi_dropdown','qJFJV':function(_0x519586,_0x8038b2){return _0x519586(_0x8038b2);},'QEvKe':function(_0x2a2939,_0x23c3be,_0x45863a){return _0x2a2939(_0x23c3be,_0x45863a);},'hUnYX':function(_0x46c6fa,_0x180a89){return _0x46c6fa+_0x180a89;},'DoOLP':_0x2c826e(0x26b),'IvMkW':_0x2c826e(0x271),'vxAkO':function(_0x59230e,_0x52fc7b){return _0x59230e===_0x52fc7b;},'apUvG':function(_0x3f906b,_0x494bc){return _0x3f906b===_0x494bc;},'McMNu':'failed','LBofV':function(_0x311f91,_0x2b1f97){return _0x311f91===_0x2b1f97;},'qZvnJ':_0x2c826e(0x278),'tgIWj':function(_0x55c5e6,_0x44ca04){return _0x55c5e6===_0x44ca04;},'FWJqg':_0x2c826e(0x21a),'bsxpF':function(_0xd417d5,_0x5c40ce,_0x404350){return _0xd417d5(_0x5c40ce,_0x404350);},'zNzsq':function(_0x2e02d7,_0x33362d){return _0x2e02d7||_0x33362d;},'MrwlT':function(_0x51283d,_0x3c6343){return _0x51283d(_0x3c6343);},'shCLG':function(_0x489496,_0x102901){return _0x489496>_0x102901;},'xcGjB':function(_0x5bc83a,_0x57d04b,_0x5b27b6){return _0x5bc83a(_0x57d04b,_0x5b27b6);},'ArVvd':function(_0x1adb1c,_0x9d9571){return _0x1adb1c-_0x9d9571;},'teYKg':function(_0x2353a0,_0x5a1b79,_0x4ffcd3){return _0x2353a0(_0x5a1b79,_0x4ffcd3);},'oSxJs':_0x2c826e(0x275),'NMmjI':function(_0x4fe2c0,_0x78971f){return _0x4fe2c0(_0x78971f);},'TKiXy':function(_0x998bea,_0x366076){return _0x998bea>_0x366076;},'bEYdk':function(_0x32386a,_0xab2be7,_0x12e685){return _0x32386a(_0xab2be7,_0x12e685);}};logger[_0x2c826e(0x1e7)](_0x2c826e(0x2a3)+_0x424cc8);const _0x20d4f7=_0x6b6471[_0x2c826e(0x1d8)](getTestRunIdentifier,_0x1521d7,_0x1e0ef6[_0x2c826e(0x1c9)]),_0x2128fc=new Date(_0x1e0ef6[_0x2c826e(0x29d)]),_0xfad353=_0x1e0ef6['duration'],_0x5d3ac0=new Date(_0x6b6471[_0x2c826e(0x252)](_0x2128fc[_0x2c826e(0x230)](),_0xfad353)),_0x346531=_0x1e0ef6['status'],_0x4e7afe=TestInfo[_0x2c826e(0x1ba)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x213)]]||{};let _0x1eb3d1=_0x346531;if(_0x6b6471[_0x2c826e(0x243)](_0x1e0ef6[_0x2c826e(0x201)],_0x1521d7['expectedStatus']))_0x1eb3d1=_0x6b6471['yTGfX'](_0x1e0ef6[_0x2c826e(0x201)],_0x6b6471[_0x2c826e(0x24b)])?_0x6b6471['DoOLP']:_0x6b6471[_0x2c826e(0x285)];else{(_0x6b6471['vxAkO'](_0x1eb3d1,_0x6b6471[_0x2c826e(0x285)])||_0x6b6471[_0x2c826e(0x220)](_0x1eb3d1,_0x6b6471['McMNu'])||_0x6b6471['LBofV'](_0x1eb3d1,_0x6b6471[_0x2c826e(0x1bf)]))&&(_0x1eb3d1=_0x6b6471['McMNu']);if(_0x6b6471['tgIWj'](_0x1e0ef6[_0x2c826e(0x201)],_0x6b6471[_0x2c826e(0x285)])&&_0x6b6471[_0x2c826e(0x248)](_0x1521d7[_0x2c826e(0x26e)],_0x6b6471[_0x2c826e(0x22d)])){const _0x28583d={};_0x28583d[_0x2c826e(0x1f2)]=_0x6b6471['FWJqg'],_0x28583d[_0x2c826e(0x212)]=_0x6b6471['FWJqg'],_0x1e0ef6['error']=_0x28583d,_0x1e0ef6['errors']=[_0x1e0ef6[_0x2c826e(0x247)]];}}const {failureData:_0x3a3f59,logs:_0x2c6210}=_0x6b6471['bsxpF'](getFailureData,_0x1e0ef6?.[_0x2c826e(0x260)],{}),_0x324fa5={[TestFrameworkConstants[_0x2c826e(0x265)]]:_0x6b6471[_0x2c826e(0x269)](_0x3a3f59,null),[TestFrameworkConstants[_0x2c826e(0x1c6)]]:_0x1e0ef6?.[_0x2c826e(0x247)]&&_0x6b6471[_0x2c826e(0x200)](getFailureType,_0x1e0ef6[_0x2c826e(0x247)]['message']),[TestFrameworkConstants[_0x2c826e(0x29c)]]:_0x1e0ef6?.['error']&&_0x6b6471['qJFJV'](removeAnsiColors,_0x1e0ef6[_0x2c826e(0x247)][_0x2c826e(0x1f2)]),[TestFrameworkConstants[_0x2c826e(0x1d6)]]:[],[TestFrameworkConstants[_0x2c826e(0x281)]]:_0x1eb3d1,[TestFrameworkConstants[_0x2c826e(0x1d2)]]:_0x5d3ac0[_0x2c826e(0x241)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x2c826e(0x241)](),[TestFrameworkConstants[_0x2c826e(0x213)]]:_0x4e7afe};if(_0x1e0ef6&&_0x6b6471[_0x2c826e(0x245)](_0x1e0ef6['retry'],0x0)){const _0x4fdc0a=TestInfo[_0x2c826e(0x258)](_0x6b6471[_0x2c826e(0x20c)](getTestRunIdentifier,_0x1521d7,_0x6b6471[_0x2c826e(0x1c2)](_0x1e0ef6[_0x2c826e(0x1c9)],0x1)));_0x324fa5[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x4fdc0a;}const _0x2f4792={};_0x2f4792[_0x2c826e(0x206)]=_0x1521d7;const _0x34af33=this[_0x2c826e(0x1f7)](TestFrameworkState[_0x2c826e(0x22b)],HookState['POST'],_0x2f4792),_0x32a83b=_0x34af33[_0x2c826e(0x1d3)]()['get'](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x1db)]],_0x79d723=[],_0x2f2edc=_0x6b6471[_0x2c826e(0x1be)](findNestedKey,_0x1e0ef6,_0x6b6471['oSxJs']);if(_0x2f2edc&&_0x6b6471[_0x2c826e(0x1e9)](validateFilePath,_0x2f2edc))try{_0x79d723[_0x2c826e(0x1e8)]({'kind':_0x6b6471[_0x2c826e(0x24f)],'timestamp':new Date()[_0x2c826e(0x241)](),'test_run_uuid':_0x32a83b,'file_name':path['basename'](_0x2f2edc),'file_size':fs['statSync'](_0x2f2edc)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2517d3){logger[_0x2c826e(0x247)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x2f2edc+':\x20'+_0x2517d3[_0x2c826e(0x1f2)]);}const _0x3b7e4a=TestInfo[_0x2c826e(0x20b)](),_0x17ad1f=_0x3b7e4a['filter'](_0x4a1c38=>_0x4a1c38[_0x2c826e(0x22a)]===_0x32a83b);_0x17ad1f[_0x2c826e(0x27d)](_0x302752=>{const _0x886104=_0x2c826e;if(_0x302752[_0x886104(0x1c3)]&&_0x6b6471[_0x886104(0x1bc)](validateFilePath,_0x302752[_0x886104(0x1c3)])&&!_0x79d723[_0x886104(0x262)](_0x41eb74=>_0x41eb74[_0x886104(0x296)]===path[_0x886104(0x242)](_0x302752[_0x886104(0x1c3)])))try{_0x79d723[_0x886104(0x1e8)]({'kind':_0x6b6471[_0x886104(0x24f)],'timestamp':new Date()[_0x886104(0x241)](),'test_run_uuid':_0x32a83b,'file_name':path[_0x886104(0x242)](_0x302752[_0x886104(0x1c3)]),'file_size':fs['statSync'](_0x302752[_0x886104(0x1c3)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xbf0665){logger[_0x886104(0x247)]('Error\x20processing\x20trace\x20file\x20'+_0x302752[_0x886104(0x1c3)]+_0x886104(0x273)+_0xbf0665[_0x886104(0x1f2)]);}});if(_0x6b6471[_0x2c826e(0x277)](_0x79d723['length'],0x0)){const _0x5b3614=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]||[];_0x324fa5[TestFrameworkConstants['KEY_LOGS']]=[..._0x5b3614,..._0x79d723];}const _0x4f7ff9=TestInfo[_0x2c826e(0x1ba)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x26a)]]||{},_0x57a365=_0x6b6471[_0x2c826e(0x295)](getManualUploadLogs,_0x4f7ff9,_0x34af33[_0x2c826e(0x1d3)]()[_0x2c826e(0x218)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x1db)]]);if(_0x6b6471[_0x2c826e(0x245)](_0x57a365['length'],0x0)){const _0x1a8b57=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]||[];_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]=[..._0x1a8b57,..._0x57a365];}const _0x484f5a=_0x1521d7[_0x2c826e(0x2a2)]||[],_0x4561d6=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x213)]]||{};_0x484f5a[_0x2c826e(0x27d)](_0x1ed32c=>{const _0x263c4d=_0x2c826e,{type:_0x36ddf8}=_0x1ed32c;let _0x4bc7bc=_0x1ed32c[_0x263c4d(0x1f6)];if(!_0x36ddf8)return;(_0x6b6471['yTGfX'](_0x4bc7bc,undefined)||_0x6b6471['yTGfX'](_0x4bc7bc,null)||_0x6b6471[_0x263c4d(0x243)](_0x6b6471[_0x263c4d(0x1bc)](String,_0x4bc7bc)[_0x263c4d(0x223)](),''))&&(_0x4bc7bc=_0x6b6471[_0x263c4d(0x1f4)]);if(!_0x4561d6[_0x36ddf8]){const _0x23c2b4={};_0x23c2b4[_0x263c4d(0x297)]=_0x6b6471['ehBuu'],_0x23c2b4[_0x263c4d(0x1ef)]=[],_0x4561d6[_0x36ddf8]=_0x23c2b4;}else!_0x4561d6[_0x36ddf8][_0x263c4d(0x297)]&&(_0x4561d6[_0x36ddf8][_0x263c4d(0x297)]=_0x6b6471[_0x263c4d(0x270)]),!Array[_0x263c4d(0x1ed)](_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)])&&(_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)]=[]);const _0x4342ff=_0x6b6471[_0x263c4d(0x25a)](String,_0x4bc7bc)[_0x263c4d(0x27a)](',')['map'](_0x1d9849=>_0x1d9849['trim']());_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)]=[...new Set([..._0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)],..._0x4342ff])];}),_0x324fa5[TestFrameworkConstants[_0x2c826e(0x213)]]=_0x4561d6,TestInfo[_0x2c826e(0x284)](_0x20d4f7,_0x324fa5);const _0x43beb4={};return _0x43beb4[_0x20d4f7]=_0x324fa5,_0x43beb4;}async[a73_0x32edb3(0x224)](_0x4a13fc,_0x5926b5,_0x391b69,_0x530157){const _0x679695=a73_0x32edb3,_0x4757dc={'fFGwC':function(_0x358a7a,_0xa82a9c,_0x2e2fcc){return _0x358a7a(_0xa82a9c,_0x2e2fcc);},'IjUWJ':function(_0xf47993,_0x1e97f3){return _0xf47993 in _0x1e97f3;},'kytLL':function(_0x497aef,_0xa46182){return _0x497aef in _0xa46182;},'OBpTV':function(_0x206ff9,_0x1a9c4c){return _0x206ff9(_0x1a9c4c);},'Nowyk':function(_0x52f6a6,_0x1361dc){return _0x52f6a6(_0x1361dc);},'feEmA':function(_0x4a382e,_0x48ad8a){return _0x4a382e===_0x48ad8a;},'vsTYQ':function(_0x1318f4){return _0x1318f4();},'BibBR':function(_0x16029c,_0x151bf9){return _0x16029c===_0x151bf9;},'hDjFO':function(_0x1355ae,_0xdd5026){return _0x1355ae>_0xdd5026;},'rfDku':function(_0x5cb1ce,_0x542b29,_0xad01b1){return _0x5cb1ce(_0x542b29,_0xad01b1);},'YgWOz':'err','yiYVu':function(_0x7fe56e,_0x35da63){return _0x7fe56e(_0x35da63);},'ooYdw':_0x679695(0x28b),'ctUfo':_0x679695(0x271),'UEghK':function(_0x14b458,_0x338338){return _0x14b458!==_0x338338;},'kyuMX':function(_0x50446a,_0x5db79c){return _0x50446a+_0x5db79c;},'RPYQZ':'hook'},_0x14ef7b=_0x530157[_0x679695(0x206)],_0x236abe=_0x530157['step'],_0x500c53=_0x4757dc[_0x679695(0x231)](getTestRunIdentifier,_0x14ef7b,_0x530157[_0x679695(0x1ec)][_0x679695(0x1c9)]),_0x3ae599=_0x5926b5[_0x679695(0x20e)]()[_0x679695(0x27a)]('.')[0x1];let _0x5cd8a2=_0x4a13fc['getAllData']()[_0x679695(0x218)](_0x500c53)[TestFrameworkConstants[_0x679695(0x276)]];!_0x5cd8a2&&(_0x5cd8a2={});!_0x4757dc['IjUWJ'](_0x3ae599,_0x5cd8a2)&&(_0x5cd8a2[_0x3ae599]=[]);let _0x1b190e=_0x4a13fc[_0x679695(0x1d3)]()[_0x679695(0x218)](_0x500c53)[TestFrameworkConstants[_0x679695(0x24e)]];!_0x1b190e&&(_0x1b190e={});!_0x4757dc[_0x679695(0x253)](_0x3ae599,_0x1b190e)&&(_0x1b190e[_0x3ae599]=[]);const _0x523313={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5cd8a2,[TestFrameworkConstants[_0x679695(0x24e)]]:_0x1b190e},_0x32bf1d={};_0x32bf1d[_0x500c53]=_0x523313;const _0xdd6091=_0x32bf1d,_0x237e9a=_0x4757dc[_0x679695(0x1bd)](getPlaywrightTestFilePath,_0x14ef7b),_0xf69633=_0x237e9a+':'+_0x4757dc[_0x679695(0x203)](getPlaywrightTestLocation,_0x14ef7b),_0xccff=TestInfo[_0x679695(0x1ba)](_0x500c53)[TestFrameworkConstants[_0x679695(0x213)]]||{};if(_0x4757dc['feEmA'](_0x391b69,HookState[_0x679695(0x22c)])){const _0x51237a={'key':_0x3ae599,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4757dc[_0x679695(0x1d9)](uuidv4),[TestFrameworkConstants[_0x679695(0x1f5)]]:TestFrameworkConstants[_0x679695(0x1fd)],[TestFrameworkConstants[_0x679695(0x211)]]:_0x236abe[_0x679695(0x29d)],[TestFrameworkConstants[_0x679695(0x249)]]:[],[TestFrameworkConstants[_0x679695(0x282)]]:_0x236abe[_0x679695(0x226)],[TestFrameworkConstants[_0x679695(0x1b8)]]:_0x237e9a,[TestFrameworkConstants[_0x679695(0x1f1)]]:_0xf69633,[TestFrameworkConstants[_0x679695(0x213)]]:_0xccff};_0x5cd8a2[_0x3ae599][_0x679695(0x1e8)](_0x51237a),_0xdd6091[_0x500c53][TestFrameworkConstants[_0x679695(0x1dd)]]=_0x3ae599,logger['debug'](_0x679695(0x20f)+_0x3ae599+_0x679695(0x209)+_0x51237a+_0x679695(0x1fa)+_0x530157);}else{if(_0x4757dc['BibBR'](_0x391b69,HookState[_0x679695(0x1ee)])){const _0xca8be9=await _0x530157[_0x679695(0x1ec)],_0x55321d=_0x5cd8a2[_0x3ae599]||[],_0x1d241c=_0x530157[_0x679695(0x26c)];logger[_0x679695(0x1e7)](_0x679695(0x21d)+_0x55321d+_0x679695(0x298)+_0x530157);if(_0x4757dc['hDjFO'](_0x55321d[_0x679695(0x210)],0x0)){const _0x578c03=_0x55321d[_0x679695(0x227)]();if(_0x1d241c[_0x679695(0x247)]){const _0x50dc0c=_0x4757dc['rfDku'](failureData,_0x1d241c[_0x679695(0x247)],_0x4757dc[_0x679695(0x238)]);_0x578c03[TestFrameworkConstants[_0x679695(0x1cc)]]=_0x4757dc['Nowyk'](getFailureType,_0x1d241c?.['error'][_0x679695(0x1f2)]),_0x578c03[TestFrameworkConstants[_0x679695(0x256)]]=_0x4757dc['yiYVu'](removeAnsiColors,_0x1d241c?.[_0x679695(0x247)][_0x679695(0x1f2)]),_0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=_0x4757dc[_0x679695(0x1c4)],_0x578c03[TestFrameworkConstants[_0x679695(0x23c)]]=_0x50dc0c;}else _0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=_0x4757dc[_0x679695(0x255)];_0x4757dc[_0x679695(0x1de)](_0xca8be9,TestFrameworkConstants[_0x679695(0x1fd)])&&(_0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=!_0x1d241c['error']?_0x4757dc[_0x679695(0x255)]:_0x4757dc[_0x679695(0x1c4)]);const _0x2f3c55=new Date(_0x1d241c['startTime']),_0x117692=new Date(_0x4757dc[_0x679695(0x1c1)](_0x2f3c55[_0x679695(0x230)](),_0x1d241c[_0x679695(0x208)]));_0x578c03[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x117692['toISOString'](),_0x578c03[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xccff;const _0xa59890=_0x578c03[TestFrameworkConstants[_0x679695(0x259)]];await this[_0x679695(0x1fc)](_0x4a13fc,_0x5926b5,_0xa59890,_0x4757dc[_0x679695(0x299)],_0x530157),!_0x1b190e[_0x3ae599]&&(_0x1b190e[_0x3ae599]=[]),_0x1b190e[_0x3ae599][_0x679695(0x1e8)](_0x578c03),_0xdd6091[_0x500c53][TestFrameworkConstants[_0x679695(0x24d)]]=_0x3ae599;}}}return _0xdd6091;}async[a73_0x32edb3(0x1fc)](_0x40d7f1,_0x5274f8,_0x1b9c1e,_0x4b8e17,_0xf66350){const _0x2f6fdc=a73_0x32edb3,_0x2c04d3={'LZcbn':function(_0x32d1fd,_0x15d9e8){return _0x32d1fd===_0x15d9e8;},'WCFaS':_0x2f6fdc(0x206),'ZemsD':function(_0x447380,_0x15874f,_0x934872){return _0x447380(_0x15874f,_0x934872);},'FmONR':function(_0x140eb6,_0x41a2c6,_0x5c5c37){return _0x140eb6(_0x41a2c6,_0x5c5c37);},'Mhzfg':_0x2f6fdc(0x28e),'ONdoy':function(_0x3df78c,_0x1f48e8,_0x1fcd62,_0x4a8d75){return _0x3df78c(_0x1f48e8,_0x1fcd62,_0x4a8d75);},'OvDyx':function(_0x987ba5,_0x11101a,_0x2beadb){return _0x987ba5(_0x11101a,_0x2beadb);},'xPEHa':function(_0x4bb8b9,_0x54e404,_0x1f01a8){return _0x4bb8b9(_0x54e404,_0x1f01a8);},'intSs':function(_0x148dc9,_0x226fa2){return _0x148dc9/_0x226fa2;},'izTYt':function(_0x4bab0c,_0x2ed1d0){return _0x4bab0c<_0x2ed1d0;},'jNAtI':function(_0x15916e,_0x55e6d0){return _0x15916e*_0x55e6d0;},'GOtkq':function(_0x29f0dc,_0x22dd35){return _0x29f0dc+_0x22dd35;},'eojtZ':function(_0x25ac0b,_0x350f83,_0x3294d4,_0x517734,_0x2d0cbc){return _0x25ac0b(_0x350f83,_0x3294d4,_0x517734,_0x2d0cbc);},'kGabi':function(_0x2c5418,_0x520c99){return _0x2c5418+_0x520c99;},'asPpT':function(_0x46949f,_0x51eb6c,_0x473faf,_0x2d5304){return _0x46949f(_0x51eb6c,_0x473faf,_0x2d5304);},'FJoET':_0x2f6fdc(0x21e),'ZrMEk':function(_0x4959ee,_0x38f9f0,_0x4419be,_0x205d70,_0x55a310){return _0x4959ee(_0x38f9f0,_0x4419be,_0x205d70,_0x55a310);}};try{if(_0x2c04d3[_0x2f6fdc(0x250)](_0x4b8e17,_0x2c04d3[_0x2f6fdc(0x1c0)])){const _0x897be1=await _0xf66350[_0x2f6fdc(0x1ec)],_0x46d5dc=_0x2c04d3[_0x2f6fdc(0x2a4)](getTestRunIdentifier,_0xf66350[_0x2f6fdc(0x206)],_0xf66350['result'][_0x2f6fdc(0x1c9)]),_0x145789=_0xf66350[_0x2f6fdc(0x206)];logger[_0x2f6fdc(0x1e7)](_0x2f6fdc(0x21f)+_0x46d5dc+_0x2f6fdc(0x244)+util[_0x2f6fdc(0x29e)](_0x897be1));const _0x39d675=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x2c04d3[_0x2f6fdc(0x23d)](sendTraceZip,_0x897be1,_0x39d675);const _0x4b3b9c=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc)[_0x2c04d3['Mhzfg']],_0xd99ab4={};if(_0x4b3b9c){!_0x897be1['attachments']&&(_0x897be1[_0x2f6fdc(0x28e)]=[]);_0xd99ab4[_0x2f6fdc(0x28e)]=_0x897be1['attachments'][_0x2f6fdc(0x232)](_0x4b3b9c||[]);const _0x2ef3ef=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc);delete _0x2ef3ef[_0x2c04d3[_0x2f6fdc(0x1c7)]],TestInfo['setTestDetails'](_0x46d5dc,_0x2ef3ef);}const {steps:_0x4ae73f,logs:_0x25b3f1}=_0x2c04d3['ONdoy'](getStepsAndLogs,_0x897be1[_0x2f6fdc(0x216)],_0x40d7f1[_0x2f6fdc(0x1d3)]()['get'](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2c04d3[_0x2f6fdc(0x1c0)]),_0x5796ef=_0x2c04d3['ZemsD'](getScreenshots,_0xd99ab4,_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x1db)]]),_0x3bc6d3=_0x2c04d3['OvDyx'](getVideos,_0x897be1,_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x6546db,logs:_0x294e8e}=_0x2c04d3[_0x2f6fdc(0x23d)](getFailureData,_0x897be1['errors'],{'test_run_uuid':_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x1db)]]}),_0x56a1ac=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x26a)]]||{},_0x11284f=_0x2c04d3[_0x2f6fdc(0x29f)](getMediaArtifactsLogs,_0x56a1ac,_0x40d7f1['getAllData']()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xd420be=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc),{[TestFrameworkConstants[_0x2f6fdc(0x1e1)]]:_0x3f9bca='',[TestFrameworkConstants[_0x2f6fdc(0x233)]]:_0x31fd55=''}=_0xd420be,_0x1e1b59=(_0x25b3f1||[])[_0x2f6fdc(0x232)](_0x5796ef||[])[_0x2f6fdc(0x232)](_0x294e8e||[])['concat'](_0x3bc6d3||[])[_0x2f6fdc(0x232)](_0x11284f||[]),_0x4fdd28=0x28,_0x3ddcc2=Math['ceil'](_0x2c04d3['intSs'](_0x1e1b59[_0x2f6fdc(0x210)],_0x4fdd28));for(let _0x5d4811=0x0;_0x2c04d3[_0x2f6fdc(0x27f)](_0x5d4811,_0x3ddcc2);_0x5d4811++){const _0x537941=_0x2c04d3[_0x2f6fdc(0x1d1)](_0x5d4811,_0x4fdd28),_0x35ea39=_0x2c04d3[_0x2f6fdc(0x1bb)](_0x537941,_0x4fdd28),_0x34d30c=_0x1e1b59['slice'](_0x537941,_0x35ea39),_0x3dda32={'platformIndex':'0','logs':_0x34d30c,'testFrameworkName':_0x3f9bca,'testFrameworkVersion':_0x31fd55,'testFrameworkState':_0x5274f8[_0x2f6fdc(0x20e)]()[_0x2f6fdc(0x27a)]('.')[0x1]};_0x2c04d3['eojtZ'](updatePayloadForTraceLogs,_0x3dda32,_0xf66350,_0x46d5dc,_0x40d7f1),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46d5dc+_0x2f6fdc(0x1eb)+_0x2c04d3['GOtkq'](_0x5d4811,0x1)+'/'+_0x3ddcc2+_0x2f6fdc(0x279)+util['inspect'](_0x3dda32));const _0x277887=await GrpcClient['getInstance']()[_0x2f6fdc(0x29a)](_0x3dda32);logger[_0x2f6fdc(0x1e7)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46d5dc+_0x2f6fdc(0x1eb)+_0x2c04d3[_0x2f6fdc(0x246)](_0x5d4811,0x1)+'/'+_0x3ddcc2+_0x2f6fdc(0x261)+util[_0x2f6fdc(0x29e)](_0x277887));}}else{const {steps:_0x4055c3,logs:_0x3a9186}=_0x2c04d3[_0x2f6fdc(0x207)](getStepsAndLogs,_0xf66350['step'][_0x2f6fdc(0x216)],_0x1b9c1e,_0x2c04d3['FJoET']),_0x427f2c=_0x2c04d3[_0x2f6fdc(0x2a4)](getTestRunIdentifier,_0xf66350[_0x2f6fdc(0x206)],_0xf66350[_0x2f6fdc(0x1ec)]['retry']);logger[_0x2f6fdc(0x1e7)]('sendLogCreatedEvent:\x20testId='+_0x427f2c);const _0x598da3=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x427f2c),{[TestFrameworkConstants[_0x2f6fdc(0x1e1)]]:_0x13c86e='',[TestFrameworkConstants[_0x2f6fdc(0x233)]]:_0x4fe5fb=''}=_0x598da3,_0x4b1f2c={'platformIndex':'0','logs':_0x3a9186,'testFrameworkName':_0x13c86e,'testFrameworkVersion':_0x4fe5fb,'testFrameworkState':_0x5274f8[_0x2f6fdc(0x20e)]()['split']('.')[0x1]};_0x2c04d3['ZrMEk'](updatePayloadForTraceLogs,_0x4b1f2c,_0xf66350,_0x427f2c,_0x40d7f1),logger[_0x2f6fdc(0x1e7)](_0x2f6fdc(0x219)+_0x427f2c+_0x2f6fdc(0x279)+util[_0x2f6fdc(0x29e)](_0x4b1f2c));const _0xb7d1b5=await GrpcClient[_0x2f6fdc(0x22e)]()[_0x2f6fdc(0x29a)](_0x4b1f2c);}}catch(_0x4e36e9){logger['error']('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2f6fdc(0x23f)](_0x4e36e9));}}[a73_0x32edb3(0x268)](_0x5866fc){const _0x4ad64b=a73_0x32edb3,_0x218999={'EYYYI':function(_0x4fd190,_0x5165fd,_0x228003){return _0x4fd190(_0x5165fd,_0x228003);},'UbqWE':_0x4ad64b(0x236)};try{const _0x483c02=_0x5866fc[_0x4ad64b(0x206)]['id'],_0xdb317=_0x218999[_0x4ad64b(0x287)](getTestRunIdentifier,_0x5866fc[_0x4ad64b(0x206)],_0x5866fc[_0x4ad64b(0x1ec)][_0x4ad64b(0x1c9)]),_0x3e4c88=_0x5866fc['instance'],_0x763043=_0x3e4c88[_0x4ad64b(0x1dc)](),_0x1ed5cd=_0x3e4c88[_0x4ad64b(0x1d3)]()['get'](_0xdb317);logger[_0x4ad64b(0x1e7)](_0x4ad64b(0x1d0)+_0x483c02);const {[TestFrameworkConstants[_0x4ad64b(0x1e1)]]:_0xac9b2f='',[TestFrameworkConstants[_0x4ad64b(0x233)]]:_0x5a208c='',[TestFrameworkConstants[_0x4ad64b(0x1f3)]]:_0x24b988='',[TestFrameworkConstants[_0x4ad64b(0x1d2)]]:_0x35a3c7=''}=_0x1ed5cd,_0x304103=_0x3e4c88['getCurrentTestState']()['toString']()[_0x4ad64b(0x27a)]('.')[0x1],_0xe0ca3e=_0x3e4c88[_0x4ad64b(0x25c)]()['toString']()[_0x4ad64b(0x27a)]('.')[0x1],_0x1fdf9a=global?.[_0x4ad64b(0x1e0)]?.[_0x4ad64b(0x25b)]?.[_0x4ad64b(0x1cd)],_0x3316af=_0x3e4c88[_0x4ad64b(0x1f8)](),_0x1141dc=Buffer[_0x4ad64b(0x21c)](JSON[_0x4ad64b(0x1e6)](_0x1ed5cd))[_0x4ad64b(0x20e)](_0x218999[_0x4ad64b(0x28a)]),_0x533b20={'hash':_0x763043[_0x4ad64b(0x23a)](),'threadId':_0x763043[_0x4ad64b(0x293)]()['toString'](),'processId':_0x763043[_0x4ad64b(0x217)]()[_0x4ad64b(0x20e)]()},_0x3da3a9={};_0x3da3a9['platformIndex']=_0x1fdf9a,_0x3da3a9[_0x4ad64b(0x202)]=_0xac9b2f,_0x3da3a9[_0x4ad64b(0x1d4)]=_0x5a208c,_0x3da3a9[_0x4ad64b(0x251)]=_0x304103,_0x3da3a9[_0x4ad64b(0x1fe)]=_0xe0ca3e,_0x3da3a9['startedAt']=_0x24b988,_0x3da3a9[_0x4ad64b(0x1d7)]=_0x35a3c7,_0x3da3a9[_0x4ad64b(0x274)]=_0x3316af,_0x3da3a9['eventJson']=_0x1141dc,_0x3da3a9[_0x4ad64b(0x221)]=_0x533b20;const _0x471e49=_0x3da3a9;return logger[_0x4ad64b(0x1e7)](_0x4ad64b(0x1ff)+_0x483c02+_0x4ad64b(0x234)+_0x304103+_0x4ad64b(0x1e3)+_0xe0ca3e),_0x471e49;}catch(_0x41499f){return logger[_0x4ad64b(0x247)](_0x4ad64b(0x25e)+util[_0x4ad64b(0x23f)](_0x41499f)),{};}}}module[a73_0x32edb3(0x1f0)]=PlaywrightTestFramework;
1
+ function a73_0x5054(_0x479417,_0x453f9d){const _0x555fa7=a73_0x555f();return a73_0x5054=function(_0x50547c,_0x1ee77e){_0x50547c=_0x50547c-0x1c0;let _0x5a8fcb=_0x555fa7[_0x50547c];return _0x5a8fcb;},a73_0x5054(_0x479417,_0x453f9d);}const a73_0x42a3e8=a73_0x5054;(function(_0x448d29,_0x1dd88c){const _0x381b79=a73_0x5054,_0x1bee33=_0x448d29();while(!![]){try{const _0x405011=-parseInt(_0x381b79(0x268))/0x1+parseInt(_0x381b79(0x21a))/0x2*(-parseInt(_0x381b79(0x257))/0x3)+parseInt(_0x381b79(0x1ce))/0x4*(-parseInt(_0x381b79(0x2a8))/0x5)+-parseInt(_0x381b79(0x21f))/0x6+-parseInt(_0x381b79(0x28e))/0x7+-parseInt(_0x381b79(0x202))/0x8+-parseInt(_0x381b79(0x231))/0x9*(-parseInt(_0x381b79(0x229))/0xa);if(_0x405011===_0x1dd88c)break;else _0x1bee33['push'](_0x1bee33['shift']());}catch(_0x3064e9){_0x1bee33['push'](_0x1bee33['shift']());}}}(a73_0x555f,0x3bb6e));const TestFramework=require(a73_0x42a3e8(0x250)),TestFrameworkState=require(a73_0x42a3e8(0x239)),HookState=require(a73_0x42a3e8(0x208)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a73_0x42a3e8(0x247)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a73_0x42a3e8(0x258)),logger=createClassLogger(a73_0x42a3e8(0x1fc)),{v4:uuidv4}=require('uuid'),util=require(a73_0x42a3e8(0x226)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x42a3e8(0x21b)),TestInfo=require(a73_0x42a3e8(0x235)),GrpcClient=require(a73_0x42a3e8(0x1fb)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x42a3e8(0x27d)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x42a3e8(0x279)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x42a3e8(0x279)),path=require(a73_0x42a3e8(0x299)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x42a3e8(0x236));function a73_0x555f(){const _0x3b0f77=['values','KEY_TEST_FRAMEWORK_NAME','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','Error\x20processing\x20trace\x20file\x20','isArray','getAllData','../cliUtils.js','KEY_HOOKS_STARTED','Hook\x20List\x20in\x20Post\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','DEFAULT_HOOK_RESULT','KEY_TEST_FRAMEWORK_VERSION','cxRWb','TRryD','\x20\x20and\x20args\x20=\x20','./testFramework','step','info','fQRmV','KEY_TEST_RESULT_AT','KEY_HOOK_LAST_STARTED','expectedStatus','6FZxhCC','./constants/testFrameworkConstants.js','push','setTestDetails','RQIDA','QyJCg','endedAt','KEY_HOOK_FAILURE_TYPE','KEY_LOGS','testFrameworkName','trim','hphSH','field_type','KEY_HOOKS_FINISHED','stringify','No\x20reason\x20provided','KEY_EVENT_STARTED_AT','338619lIBWND','PfXfP','trackEvent','KEY_TEST_RERUN_NAME','ScdhC','PMweK','KEY_TEST_ATTACHMENTS','get','toISOString','__workerDetails','trackPlaywrightInstance','tfALe','POST','runHooks','UiLqU','hlriv','KEY_HOOK_LOGS','../../playwright/reporter/pwUtils','msraI','EvDnd','\x20from\x20TestDetails:\x20','../../../helpers/test-observability/utils','NONE','mOpUB','zRHzh','getRef','duration','hookState','OAFNc','debug','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','TVpZL','testFrameworkState','NOtqR','KEY_TEST_TAGS','failed','\x20and\x20args\x20=\x20','KEY_TEST_LOCATION','3280928bYoXvJ','buSIC','ZdUbv','skipped','KEY_TEST_ENDED_AT','passed','PRE','\x20result=','test','uuid','workerInfo','path','sendLogCreatedEvent\x20for\x20testId:\x20','result','rweax',',\x20state=','retry','SRDaG','KGuuM','ktbqx','\x20testHookState=','getCurrentInstanceName','parsePlaywrightTestResult','\x20instance=','logCreatedEvent','TEST_SCREENSHOT','105PWbIVa','executionContext','size','from','getId','basename','KEY_TEST_FILE_PATH','instance','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','toString','some','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_FAILURE_REASON',',\x20testFrameworkState=','rRhbq','annotations','chFby','getTime','KEY_TEST_STARTED_AT','Error\x20in\x20sendLogCreatedEvent:\x20','65024WpxYsv','YpAjD','ycIlv','ZhskS','IsSgt','\x20hookState=','zfUKQ','err','getTestFrameworksVersions','multi_dropdown','title','PlNwu','platformIndex','testFrameworkVersion','sendLogCreatedEvent:\x20testId=','error','resolveInstance','split','getThreadId','OqLuv','kVbHN','length','getCurrentHookState','KEY_TEST_FAILURE','pop','yXeWd','KEY_HOOK_NAME','stack','format','steps','TEST','exports','tvcBP','statSync','LnTgg','KEY_TEST_SCOPES','KEY_HOOK_ID','skDEY','KEY_TEST_FAILURE_TYPE','parallelIndex','getTestUUID','getTestFrameworks','KEY_HOOK_LAST_FINISHED','startTime','matchHookRegex','../grpcClient','PlaywrightTestFramework','status','description','jxEkq','forEach','ssDGx','130336pnbixn','OOunH','zhwob','trackEvent:\x20found\x20instance,\x20testFrameworkState=','filePath','createContext','../state/hookState.js','getTestDetails','rKIpG','errors','INIT_TEST','CCeIK','CwRQy','wkVtI','kZeqo','KEY_TEST_LOGS','KEY_TEST_RESULT','oClsd','KEY_CUSTOM_TAGS','sendLogCreatedEvent','concat','\x20payload=','\x20hookState:\x20','message','438872CsxBLj','../../../helpers/helper.js','KEY_TEST_NAME','vMCsR','ognZF','2039382eBMyxT','\x20target=','qkdnV','timedOut','gxSNK','KEY_TEST_UUID','jvKZI','util','trackHookEvent','getTraceFilePaths','2250yVIHuw','\x20response=','KEY_HOOK_RESULT','map','\x20batch\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','getTestIdentifierFromTestInfo','attachments','87534avSryZ','OKHsC','addMultipleEntries','parsePlaywrightTest','../TestInfo.js','../../utils/constants','inspect','AsqkX','../state/testFrameworkState.js','getProcessId','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','nolDF','KEY_TEST_SCOPE','ahcBw','PdgkH'];a73_0x555f=function(){return _0x3b0f77;};return a73_0x555f();}class PlaywrightTestFramework extends TestFramework{constructor(_0x1f5391,_0x220f42,_0x3c1102){super(_0x1f5391,_0x220f42,_0x3c1102);}async[a73_0x42a3e8(0x26a)](_0x117126,_0x33781d,_0x4a635b={}){const _0x27cea9=a73_0x42a3e8,_0x1c8cf0={'ahcBw':function(_0x1e603c,_0x145bd7){return _0x1e603c===_0x145bd7;},'ScdhC':function(_0x4317d3,_0x3005d5,_0x47232d){return _0x4317d3(_0x3005d5,_0x47232d);},'cxRWb':function(_0x533559,_0x16d696){return _0x533559===_0x16d696;},'PMweK':function(_0x387167,_0x12b4c8){return _0x387167===_0x12b4c8;},'FNqJO':'test','vMCsR':_0x27cea9(0x24a)};super['trackEvent'](_0x117126,_0x33781d,_0x4a635b);if(_0x1c8cf0[_0x27cea9(0x23f)](_0x117126,TestFrameworkState[_0x27cea9(0x2a7)])){const _0x357bb6=TestInfo[_0x27cea9(0x22f)](_0x4a635b[_0x27cea9(0x296)],_0x4a635b[_0x27cea9(0x296)][_0x27cea9(0x29e)]);TestInfo['setTestDetails'](_0x357bb6,_0x4a635b[_0x27cea9(0x29b)],!![]);}const _0x345a9b=this[_0x27cea9(0x1de)](_0x117126,_0x33781d,_0x4a635b);if(!_0x345a9b)return;logger['debug'](_0x27cea9(0x205)+_0x117126+_0x27cea9(0x1d3)+_0x33781d+'\x20instanceId='+_0x345a9b['getRef']());try{if(_0x1c8cf0['ahcBw'](_0x33781d,HookState[_0x27cea9(0x294)])&&_0x1c8cf0[_0x27cea9(0x23f)](_0x117126,TestFrameworkState[_0x27cea9(0x1ec)])){const _0x2c1d6d=_0x4a635b[_0x27cea9(0x296)];logger[_0x27cea9(0x285)](_0x27cea9(0x243)+_0x2c1d6d['id']+'}');const _0x681a92=TestInfo[_0x27cea9(0x1f6)](_0x1c8cf0[_0x27cea9(0x26c)](getTestRunIdentifier,_0x2c1d6d,_0x4a635b['result'][_0x27cea9(0x29e)]));_0x345a9b['addMultipleEntries'](this[_0x27cea9(0x234)](_0x681a92,_0x2c1d6d,_0x4a635b[_0x27cea9(0x29b)])),logger['debug'](_0x27cea9(0x286)+_0x2c1d6d['id']+_0x27cea9(0x1c7)+_0x117126+_0x27cea9(0x2a2)+_0x33781d+_0x27cea9(0x2a5)+_0x345a9b[_0x27cea9(0x281)]());}if(_0x1c8cf0[_0x27cea9(0x24d)](_0x33781d,HookState[_0x27cea9(0x274)])&&_0x1c8cf0[_0x27cea9(0x26d)](_0x117126,TestFrameworkState[_0x27cea9(0x1ec)])){const _0x579395=_0x4a635b[_0x27cea9(0x296)],_0x8f3cc6=_0x4a635b[_0x27cea9(0x29b)];logger[_0x27cea9(0x285)](_0x27cea9(0x1c2)+_0x579395['id']),_0x345a9b[_0x27cea9(0x233)](this[_0x27cea9(0x2a4)](_0x579395['id'],_0x8f3cc6,_0x579395)),await this[_0x27cea9(0x215)](_0x345a9b,_0x117126,_0x33781d,_0x1c8cf0['FNqJO'],_0x4a635b);}if(CLIUtils[_0x27cea9(0x1fa)](_0x117126[_0x27cea9(0x1c3)]()[_0x27cea9(0x1df)]('.')[0x1])){const _0x4b9af3=await this[_0x27cea9(0x227)](_0x345a9b,_0x117126,_0x33781d,_0x4a635b);_0x345a9b[_0x27cea9(0x233)](_0x4b9af3);}}catch(_0x176907){logger[_0x27cea9(0x1dd)](util['format'](_0x1c8cf0[_0x27cea9(0x21d)],_0x117126,_0x33781d,_0x4a635b[_0x27cea9(0x1e3)],_0x176907));}_0x4a635b[_0x27cea9(0x1c1)]=_0x345a9b,await this[_0x27cea9(0x275)](_0x345a9b,_0x117126,_0x33781d,_0x4a635b);}[a73_0x42a3e8(0x1de)](_0xde446d,_0x22f13e,_0x4f8e40={}){const _0x3d79cf=a73_0x42a3e8,_0x389d20={};_0x389d20[_0x3d79cf(0x20f)]=function(_0x5c83a1,_0x96ce4e){return _0x5c83a1===_0x96ce4e;};const _0x3ef985=_0x389d20;let _0x7fac35=null;return(_0x3ef985['wkVtI'](_0xde446d,TestFrameworkState[_0x3d79cf(0x20c)])||_0x3ef985[_0x3d79cf(0x20f)](_0xde446d,TestFrameworkState[_0x3d79cf(0x27e)]))&&this[_0x3d79cf(0x272)](_0xde446d,_0x4f8e40),_0x7fac35=TestFramework['getTrackedInstance'](),_0x7fac35;}[a73_0x42a3e8(0x272)](_0x1250f5,_0xd0a476){const _0xaaf97=a73_0x42a3e8,_0x5a298b=CLIUtils[_0xaaf97(0x2a3)](),_0x2f73a8=TrackedInstance[_0xaaf97(0x207)](_0x5a298b);let _0x1c5073=null;logger[_0xaaf97(0x252)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x5a298b+_0xaaf97(0x29d)+_0x1250f5),_0x1c5073=new TestFrameworkInstance(_0x2f73a8,this['getTestFrameworks'](),this[_0xaaf97(0x1d6)](),_0x1250f5,HookState[_0xaaf97(0x27e)]),TestFramework['setTrackedInstance'](_0x2f73a8,_0x1c5073),logger[_0xaaf97(0x252)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2f73a8[_0xaaf97(0x2ac)]()+_0xaaf97(0x220)+_0x5a298b);}[a73_0x42a3e8(0x234)](_0xb028b7,_0x23c590,_0x157014){const _0xfc6def=a73_0x42a3e8,_0x1230bb={'qkdnV':function(_0x1e4620,_0x1eda7f){return _0x1e4620(_0x1eda7f);},'PfXfP':function(_0x15ea65,_0x248909){return _0x15ea65(_0x248909);},'PlNwu':function(_0x439f56,_0x340fa7){return _0x439f56(_0x340fa7);},'zfUKQ':function(_0xbc7543,_0x1b7173){return _0xbc7543(_0x1b7173);},'ZhskS':function(_0x46d129,_0xc32dee){return _0x46d129(_0xc32dee);},'omTky':function(_0x3b0272,_0x221a70,_0x3a7867){return _0x3b0272(_0x221a70,_0x3a7867);}},_0x2c4cb0=_0x1230bb[_0xfc6def(0x221)](getPlaywrightTestId,_0x23c590),_0x2743a0=_0x1230bb[_0xfc6def(0x221)](getPlaywrightTestTitle,_0x23c590),_0x5e0f08=_0x1230bb[_0xfc6def(0x269)](getTestTags,_0x23c590),_0x360093=_0x1230bb[_0xfc6def(0x221)](getPlaywrightTestCode,_0x23c590),_0x132500=_0x1230bb[_0xfc6def(0x221)](getPlaywrightTestFilePath,_0x23c590),_0x33250a=_0x132500+':'+_0x1230bb[_0xfc6def(0x1d9)](getPlaywrightTestLocation,_0x23c590),_0xf715c5=_0x1230bb[_0xfc6def(0x1d4)](getPlaywrightTestScope,_0x23c590),_0x266415=_0x1230bb[_0xfc6def(0x1d4)](getPlaywrightTestScopes,_0x23c590),_0x5a05d2=_0x1230bb[_0xfc6def(0x1d1)](getPlaywrightSessionName,_0x23c590),_0x5d6652=this[_0xfc6def(0x1f7)]()[0x0],_0x36d458=_0x1230bb['omTky'](getTestRunIdentifier,_0x23c590,_0x157014[_0xfc6def(0x29e)]),_0x2c09ff={[TestFrameworkConstants[_0xfc6def(0x242)]]:_0x5d6652,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0xfc6def(0x1d6)]()[_0x5d6652],[TestFrameworkConstants[_0xfc6def(0x211)]]:[],[TestFrameworkConstants[_0xfc6def(0x264)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0xfc6def(0x224)]]:_0xb028b7,[TestFrameworkConstants[_0xfc6def(0x212)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0xfc6def(0x1c5)]]:_0x5a05d2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x132500,[TestFrameworkConstants['KEY_TEST_ID']]:_0x2c4cb0,[TestFrameworkConstants[_0xfc6def(0x21c)]]:_0x2743a0,[TestFrameworkConstants[_0xfc6def(0x28d)]]:_0x33250a,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x360093,[TestFrameworkConstants[_0xfc6def(0x28a)]]:_0x5e0f08,[TestFrameworkConstants[_0xfc6def(0x1cc)]]:_0x23c590['results'][0x0][_0xfc6def(0x1f9)],[TestFrameworkConstants[_0xfc6def(0x23e)]]:_0xf715c5,[TestFrameworkConstants[_0xfc6def(0x1f1)]]:_0x266415,[TestFrameworkConstants[_0xfc6def(0x26b)]]:_0x1230bb[_0xfc6def(0x1d1)](getPlaywrightCustomRerunParam,_0x23c590)};TestInfo[_0xfc6def(0x25a)](_0x36d458,_0x2c09ff);const _0xa9d262={};return _0xa9d262[_0x36d458]=_0x2c09ff,_0xa9d262;}[a73_0x42a3e8(0x2a4)](_0x5c00b0,_0x2753c6,_0x57bfd1){const _0x1a3d9b=a73_0x42a3e8,_0x91a6e6={'jvKZI':function(_0x3b2e93,_0x1c74d2){return _0x3b2e93(_0x1c74d2);},'EvDnd':'TEST_ATTACHMENT','ZdUbv':function(_0x41349f,_0x1d567b){return _0x41349f===_0x1d567b;},'NOtqR':function(_0xa0417b,_0x367c8e){return _0xa0417b===_0x367c8e;},'mOpUB':function(_0x47951e,_0x1fd3a3){return _0x47951e===_0x1fd3a3;},'PdgkH':function(_0xfb1247,_0x59d02f){return _0xfb1247(_0x59d02f);},'hlriv':_0x1a3d9b(0x266),'kVbHN':_0x1a3d9b(0x1d7),'zhwob':function(_0xf4523a,_0x3907f1){return _0xf4523a(_0x3907f1);},'zRHzh':function(_0x25b5fa,_0x145b3d,_0x5451a4){return _0x25b5fa(_0x145b3d,_0x5451a4);},'swYyO':function(_0x19dcbb,_0x2e29af){return _0x19dcbb+_0x2e29af;},'OOunH':function(_0x3f68f3,_0x7cdbdc){return _0x3f68f3===_0x7cdbdc;},'OKHsC':function(_0x385277,_0x27ce7){return _0x385277===_0x27ce7;},'msraI':_0x1a3d9b(0x291),'ycIlv':'passed','skDEY':function(_0x178d98,_0x2a6f3d){return _0x178d98===_0x2a6f3d;},'kZeqo':_0x1a3d9b(0x28b),'OAFNc':_0x1a3d9b(0x222),'UiLqU':function(_0x54abb9,_0x8836e4){return _0x54abb9===_0x8836e4;},'ktbqx':'Expected\x20to\x20fail,\x20but\x20passed.','CCeIK':function(_0xad1b64,_0x4b17d7,_0x308075){return _0xad1b64(_0x4b17d7,_0x308075);},'gxSNK':function(_0x53687f,_0x3492c9){return _0x53687f||_0x3492c9;},'hphSH':function(_0x665d84,_0x27412d){return _0x665d84>_0x27412d;},'YizZB':function(_0x40f5f2,_0x4c2627){return _0x40f5f2-_0x4c2627;},'LRxJY':function(_0x251778,_0xd07b6,_0xb3e642){return _0x251778(_0xd07b6,_0xb3e642);},'ssDGx':_0x1a3d9b(0x299),'fQRmV':function(_0x448cb7,_0x320687){return _0x448cb7>_0x320687;},'ylwqn':function(_0x502993,_0x2f1492,_0x358a2f){return _0x502993(_0x2f1492,_0x358a2f);}};logger[_0x1a3d9b(0x285)]('parsePlaywrightTestResult:\x20testId='+_0x5c00b0);const _0x563dfa=_0x91a6e6[_0x1a3d9b(0x280)](getTestRunIdentifier,_0x57bfd1,_0x2753c6[_0x1a3d9b(0x29e)]),_0x5714db=new Date(_0x2753c6[_0x1a3d9b(0x1f9)]),_0x3b7610=_0x2753c6[_0x1a3d9b(0x282)],_0x6c93ab=new Date(_0x91a6e6['swYyO'](_0x5714db[_0x1a3d9b(0x1cb)](),_0x3b7610)),_0x330b3a=_0x2753c6['status'],_0xe8cddf=TestInfo['getTestDetails'](_0x563dfa)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0xfac47d=_0x330b3a;if(_0x91a6e6[_0x1a3d9b(0x203)](_0x2753c6['status'],_0x57bfd1[_0x1a3d9b(0x256)]))_0xfac47d=_0x91a6e6['OKHsC'](_0x2753c6['status'],_0x91a6e6['msraI'])?_0x91a6e6[_0x1a3d9b(0x27a)]:_0x91a6e6['ycIlv'];else{(_0x91a6e6[_0x1a3d9b(0x289)](_0xfac47d,_0x91a6e6[_0x1a3d9b(0x1d0)])||_0x91a6e6[_0x1a3d9b(0x1f3)](_0xfac47d,_0x91a6e6[_0x1a3d9b(0x210)])||_0x91a6e6[_0x1a3d9b(0x232)](_0xfac47d,_0x91a6e6[_0x1a3d9b(0x284)]))&&(_0xfac47d=_0x91a6e6[_0x1a3d9b(0x210)]);if(_0x91a6e6[_0x1a3d9b(0x232)](_0x2753c6[_0x1a3d9b(0x1fd)],_0x91a6e6[_0x1a3d9b(0x1d0)])&&_0x91a6e6[_0x1a3d9b(0x276)](_0x57bfd1[_0x1a3d9b(0x256)],_0x91a6e6['kZeqo'])){const _0x4f17c4={};_0x4f17c4[_0x1a3d9b(0x219)]=_0x91a6e6[_0x1a3d9b(0x2a1)],_0x4f17c4[_0x1a3d9b(0x1e9)]=_0x91a6e6[_0x1a3d9b(0x2a1)],_0x2753c6[_0x1a3d9b(0x1dd)]=_0x4f17c4,_0x2753c6[_0x1a3d9b(0x20b)]=[_0x2753c6['error']];}}const {failureData:_0x35c4e7,logs:_0x50b33a}=_0x91a6e6[_0x1a3d9b(0x20d)](getFailureData,_0x2753c6?.[_0x1a3d9b(0x20b)],{}),_0x1817ed={[TestFrameworkConstants[_0x1a3d9b(0x1e5)]]:_0x91a6e6[_0x1a3d9b(0x223)](_0x35c4e7,null),[TestFrameworkConstants[_0x1a3d9b(0x1f4)]]:_0x2753c6?.[_0x1a3d9b(0x1dd)]&&_0x91a6e6[_0x1a3d9b(0x204)](getFailureType,_0x2753c6[_0x1a3d9b(0x1dd)][_0x1a3d9b(0x219)]),[TestFrameworkConstants[_0x1a3d9b(0x1c6)]]:_0x2753c6?.[_0x1a3d9b(0x1dd)]&&_0x91a6e6[_0x1a3d9b(0x240)](removeAnsiColors,_0x2753c6['error'][_0x1a3d9b(0x219)]),[TestFrameworkConstants[_0x1a3d9b(0x25f)]]:[],[TestFrameworkConstants[_0x1a3d9b(0x212)]]:_0xfac47d,[TestFrameworkConstants[_0x1a3d9b(0x292)]]:_0x6c93ab[_0x1a3d9b(0x270)](),[TestFrameworkConstants[_0x1a3d9b(0x254)]]:new Date()[_0x1a3d9b(0x270)](),[TestFrameworkConstants[_0x1a3d9b(0x214)]]:_0xe8cddf};if(_0x2753c6&&_0x91a6e6[_0x1a3d9b(0x262)](_0x2753c6[_0x1a3d9b(0x29e)],0x0)){const _0x4ac8a1=TestInfo['getTestUUID'](_0x91a6e6[_0x1a3d9b(0x20d)](getTestRunIdentifier,_0x57bfd1,_0x91a6e6['YizZB'](_0x2753c6[_0x1a3d9b(0x29e)],0x1)));_0x1817ed[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x4ac8a1;}const _0x437724={};_0x437724[_0x1a3d9b(0x296)]=_0x57bfd1;const _0x358edd=this[_0x1a3d9b(0x1de)](TestFrameworkState[_0x1a3d9b(0x1ec)],HookState[_0x1a3d9b(0x274)],_0x437724),_0x2b4f14=_0x358edd[_0x1a3d9b(0x246)]()[_0x1a3d9b(0x26f)](_0x563dfa)[TestFrameworkConstants[_0x1a3d9b(0x224)]],_0x43e954=[],_0x31de2e=_0x91a6e6['LRxJY'](findNestedKey,_0x2753c6,_0x91a6e6[_0x1a3d9b(0x201)]);if(_0x31de2e&&_0x91a6e6[_0x1a3d9b(0x225)](validateFilePath,_0x31de2e))try{_0x43e954[_0x1a3d9b(0x259)]({'kind':_0x91a6e6[_0x1a3d9b(0x27b)],'timestamp':new Date()[_0x1a3d9b(0x270)](),'test_run_uuid':_0x2b4f14,'file_name':path[_0x1a3d9b(0x2ad)](_0x31de2e),'file_size':fs[_0x1a3d9b(0x1ef)](_0x31de2e)[_0x1a3d9b(0x2aa)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x16f942){logger[_0x1a3d9b(0x1dd)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x31de2e+':\x20'+_0x16f942[_0x1a3d9b(0x219)]);}const _0x2b36e8=TestInfo[_0x1a3d9b(0x228)](),_0x5851de=_0x2b36e8['filter'](_0x3a8455=>_0x3a8455['testUId']===_0x2b4f14);_0x5851de[_0x1a3d9b(0x200)](_0x503abb=>{const _0x311bea=_0x1a3d9b;if(_0x503abb[_0x311bea(0x206)]&&_0x91a6e6['jvKZI'](validateFilePath,_0x503abb[_0x311bea(0x206)])&&!_0x43e954[_0x311bea(0x1c4)](_0x4779fb=>_0x4779fb['file_name']===path['basename'](_0x503abb[_0x311bea(0x206)])))try{_0x43e954['push']({'kind':_0x91a6e6[_0x311bea(0x27b)],'timestamp':new Date()[_0x311bea(0x270)](),'test_run_uuid':_0x2b4f14,'file_name':path[_0x311bea(0x2ad)](_0x503abb[_0x311bea(0x206)]),'file_size':fs['statSync'](_0x503abb['filePath'])[_0x311bea(0x2aa)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x469089){logger[_0x311bea(0x1dd)](_0x311bea(0x244)+_0x503abb[_0x311bea(0x206)]+_0x311bea(0x27c)+_0x469089[_0x311bea(0x219)]);}});if(_0x91a6e6[_0x1a3d9b(0x253)](_0x43e954[_0x1a3d9b(0x1e3)],0x0)){const _0x4f768a=_0x1817ed[TestFrameworkConstants[_0x1a3d9b(0x25f)]]||[];_0x1817ed[TestFrameworkConstants['KEY_LOGS']]=[..._0x4f768a,..._0x43e954];}const _0x1fad99=TestInfo['getTestDetails'](_0x563dfa)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x49abd2=_0x91a6e6['ylwqn'](getManualUploadLogs,_0x1fad99,_0x358edd[_0x1a3d9b(0x246)]()[_0x1a3d9b(0x26f)](_0x563dfa)[TestFrameworkConstants[_0x1a3d9b(0x224)]]);if(_0x91a6e6[_0x1a3d9b(0x262)](_0x49abd2['length'],0x0)){const _0x322a35=_0x1817ed[TestFrameworkConstants[_0x1a3d9b(0x25f)]]||[];_0x1817ed[TestFrameworkConstants['KEY_LOGS']]=[..._0x322a35,..._0x49abd2];}const _0x1c5e28=_0x57bfd1[_0x1a3d9b(0x1c9)]||[],_0x34b803=_0x1817ed[TestFrameworkConstants[_0x1a3d9b(0x214)]]||{};_0x1c5e28[_0x1a3d9b(0x200)](_0x7249b2=>{const _0x1e74ae=_0x1a3d9b,{type:_0x326e7d}=_0x7249b2;let _0x3f21c0=_0x7249b2[_0x1e74ae(0x1fe)];if(!_0x326e7d)return;(_0x91a6e6[_0x1e74ae(0x290)](_0x3f21c0,undefined)||_0x91a6e6[_0x1e74ae(0x289)](_0x3f21c0,null)||_0x91a6e6[_0x1e74ae(0x27f)](_0x91a6e6['PdgkH'](String,_0x3f21c0)[_0x1e74ae(0x261)](),''))&&(_0x3f21c0=_0x91a6e6[_0x1e74ae(0x277)]);if(!_0x34b803[_0x326e7d]){const _0x1a689e={};_0x1a689e[_0x1e74ae(0x263)]=_0x91a6e6['kVbHN'],_0x1a689e['values']=[],_0x34b803[_0x326e7d]=_0x1a689e;}else!_0x34b803[_0x326e7d][_0x1e74ae(0x263)]&&(_0x34b803[_0x326e7d]['field_type']=_0x91a6e6[_0x1e74ae(0x1e2)]),!Array[_0x1e74ae(0x245)](_0x34b803[_0x326e7d][_0x1e74ae(0x241)])&&(_0x34b803[_0x326e7d][_0x1e74ae(0x241)]=[]);const _0x587685=_0x91a6e6[_0x1e74ae(0x204)](String,_0x3f21c0)[_0x1e74ae(0x1df)](',')[_0x1e74ae(0x22c)](_0x48c1d7=>_0x48c1d7[_0x1e74ae(0x261)]());_0x34b803[_0x326e7d][_0x1e74ae(0x241)]=[...new Set([..._0x34b803[_0x326e7d]['values'],..._0x587685])];}),_0x1817ed[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x34b803,TestInfo['setTestDetails'](_0x563dfa,_0x1817ed);const _0x129165={};return _0x129165[_0x563dfa]=_0x1817ed,_0x129165;}async[a73_0x42a3e8(0x227)](_0x19ee59,_0x51babd,_0x2d5b7e,_0x4baf58){const _0x590430=a73_0x42a3e8,_0x4d3ce9={'IsSgt':function(_0x26b84e,_0x34aa5b,_0xce99dd){return _0x26b84e(_0x34aa5b,_0xce99dd);},'SRDaG':function(_0x8ef40d,_0x5610e1){return _0x8ef40d in _0x5610e1;},'LnTgg':function(_0x24077d,_0x3ba37b){return _0x24077d(_0x3ba37b);},'cVkoh':function(_0x293681,_0x2eac79){return _0x293681(_0x2eac79);},'rRhbq':function(_0x420e6e,_0xa660c9){return _0x420e6e===_0xa660c9;},'FXErk':function(_0x38811d){return _0x38811d();},'TVpZL':function(_0x41755f,_0x2167fb){return _0x41755f>_0x2167fb;},'UJkWC':_0x590430(0x1d5),'YpAjD':function(_0x4c77ee,_0x46bc32){return _0x4c77ee(_0x46bc32);},'QyJCg':_0x590430(0x28b),'tfALe':_0x590430(0x293),'AsqkX':function(_0x28d567,_0x5e0af0){return _0x28d567!==_0x5e0af0;},'Ywvje':function(_0xbed388,_0x116053){return _0xbed388+_0x116053;},'buSIC':'hook'},_0x3dd836=_0x4baf58[_0x590430(0x296)],_0x46b4ba=_0x4baf58[_0x590430(0x251)],_0x3a404b=_0x4d3ce9[_0x590430(0x1d2)](getTestRunIdentifier,_0x3dd836,_0x4baf58[_0x590430(0x29b)][_0x590430(0x29e)]),_0x2700ca=_0x51babd[_0x590430(0x1c3)]()['split']('.')[0x1];let _0x1a389e=_0x19ee59[_0x590430(0x246)]()[_0x590430(0x26f)](_0x3a404b)[TestFrameworkConstants[_0x590430(0x248)]];!_0x1a389e&&(_0x1a389e={});!_0x4d3ce9[_0x590430(0x29f)](_0x2700ca,_0x1a389e)&&(_0x1a389e[_0x2700ca]=[]);let _0xeae038=_0x19ee59[_0x590430(0x246)]()['get'](_0x3a404b)[TestFrameworkConstants[_0x590430(0x264)]];!_0xeae038&&(_0xeae038={});!_0x4d3ce9[_0x590430(0x29f)](_0x2700ca,_0xeae038)&&(_0xeae038[_0x2700ca]=[]);const _0x1dbefe={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x1a389e,[TestFrameworkConstants[_0x590430(0x264)]]:_0xeae038},_0x331981={};_0x331981[_0x3a404b]=_0x1dbefe;const _0x1f2266=_0x331981,_0x4ef3c6=_0x4d3ce9[_0x590430(0x1f0)](getPlaywrightTestFilePath,_0x3dd836),_0x2da8fb=_0x4ef3c6+':'+_0x4d3ce9['cVkoh'](getPlaywrightTestLocation,_0x3dd836),_0x522e20=TestInfo[_0x590430(0x209)](_0x3a404b)[TestFrameworkConstants[_0x590430(0x214)]]||{};if(_0x4d3ce9['rRhbq'](_0x2d5b7e,HookState[_0x590430(0x294)])){const _0x470fe9={'key':_0x2700ca,[TestFrameworkConstants[_0x590430(0x1f2)]]:_0x4d3ce9['FXErk'](uuidv4),[TestFrameworkConstants[_0x590430(0x22b)]]:TestFrameworkConstants[_0x590430(0x24b)],[TestFrameworkConstants[_0x590430(0x267)]]:_0x46b4ba[_0x590430(0x1f9)],[TestFrameworkConstants[_0x590430(0x278)]]:[],[TestFrameworkConstants[_0x590430(0x1e8)]]:_0x46b4ba[_0x590430(0x1d8)],[TestFrameworkConstants[_0x590430(0x1c0)]]:_0x4ef3c6,[TestFrameworkConstants[_0x590430(0x28d)]]:_0x2da8fb,[TestFrameworkConstants[_0x590430(0x214)]]:_0x522e20};_0x1a389e[_0x2700ca][_0x590430(0x259)](_0x470fe9),_0x1f2266[_0x3a404b][TestFrameworkConstants[_0x590430(0x255)]]=_0x2700ca,logger['debug'](_0x590430(0x23b)+_0x2700ca+'\x20&\x20hook\x20=\x20'+_0x470fe9+_0x590430(0x24f)+_0x4baf58);}else{if(_0x4d3ce9[_0x590430(0x1c8)](_0x2d5b7e,HookState[_0x590430(0x274)])){const _0x4331b4=await _0x4baf58['result'],_0x41a662=_0x1a389e[_0x2700ca]||[],_0x313aa8=_0x4baf58[_0x590430(0x251)];logger[_0x590430(0x285)](_0x590430(0x249)+_0x41a662+_0x590430(0x28c)+_0x4baf58);if(_0x4d3ce9[_0x590430(0x287)](_0x41a662[_0x590430(0x1e3)],0x0)){const _0x2adb92=_0x41a662[_0x590430(0x1e6)]();if(_0x313aa8[_0x590430(0x1dd)]){const _0x11f308=_0x4d3ce9[_0x590430(0x1d2)](failureData,_0x313aa8[_0x590430(0x1dd)],_0x4d3ce9['UJkWC']);_0x2adb92[TestFrameworkConstants[_0x590430(0x25e)]]=_0x4d3ce9[_0x590430(0x1f0)](getFailureType,_0x313aa8?.['error']['message']),_0x2adb92[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x4d3ce9[_0x590430(0x1cf)](removeAnsiColors,_0x313aa8?.[_0x590430(0x1dd)]['message']),_0x2adb92[TestFrameworkConstants[_0x590430(0x22b)]]=_0x4d3ce9[_0x590430(0x25c)],_0x2adb92[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x11f308;}else _0x2adb92[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4d3ce9[_0x590430(0x273)];_0x4d3ce9[_0x590430(0x238)](_0x4331b4,TestFrameworkConstants[_0x590430(0x24b)])&&(_0x2adb92[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x313aa8['error']?_0x4d3ce9[_0x590430(0x273)]:_0x4d3ce9['QyJCg']);const _0x5daa93=new Date(_0x313aa8[_0x590430(0x1f9)]),_0x37d796=new Date(_0x4d3ce9['Ywvje'](_0x5daa93[_0x590430(0x1cb)](),_0x313aa8[_0x590430(0x282)]));_0x2adb92[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x37d796[_0x590430(0x270)](),_0x2adb92[TestFrameworkConstants[_0x590430(0x214)]]=_0x522e20;const _0x2bd886=_0x2adb92[TestFrameworkConstants[_0x590430(0x1f2)]];await this[_0x590430(0x215)](_0x19ee59,_0x51babd,_0x2bd886,_0x4d3ce9[_0x590430(0x28f)],_0x4baf58),!_0xeae038[_0x2700ca]&&(_0xeae038[_0x2700ca]=[]),_0xeae038[_0x2700ca][_0x590430(0x259)](_0x2adb92),_0x1f2266[_0x3a404b][TestFrameworkConstants[_0x590430(0x1f8)]]=_0x2700ca;}}}return _0x1f2266;}async[a73_0x42a3e8(0x215)](_0x119c6f,_0x59f569,_0x6bfc5a,_0x3f5ec6,_0x35815f){const _0x440ab1=a73_0x42a3e8,_0x6d1719={'rweax':function(_0x4d94da,_0x593534){return _0x4d94da===_0x593534;},'nolDF':_0x440ab1(0x296),'KGuuM':function(_0x2f8140,_0x2ee7ea,_0x9370e6){return _0x2f8140(_0x2ee7ea,_0x9370e6);},'RQIDA':_0x440ab1(0x230),'TNGxv':function(_0x2f08d8,_0xa5de10,_0x305973,_0x44ebf6){return _0x2f08d8(_0xa5de10,_0x305973,_0x44ebf6);},'OqLuv':function(_0x587f8d,_0x1f222a,_0x5d17de){return _0x587f8d(_0x1f222a,_0x5d17de);},'tvcBP':function(_0x1c89d1,_0x588247,_0x3d503f){return _0x1c89d1(_0x588247,_0x3d503f);},'yXeWd':function(_0x3e573e,_0x1e9108,_0x17e02e){return _0x3e573e(_0x1e9108,_0x17e02e);},'jxEkq':function(_0x3a752e,_0x598557){return _0x3a752e/_0x598557;},'HToxF':function(_0x2027b6,_0x1f8e8f){return _0x2027b6<_0x1f8e8f;},'TRryD':function(_0x6425f0,_0x3fe2c9){return _0x6425f0*_0x3fe2c9;},'ZPEAs':function(_0x1abde6,_0xe68240){return _0x1abde6+_0xe68240;},'oClsd':function(_0x92da83,_0x114fa3,_0x5acbe2,_0x4ac0d3,_0x2bb2d0){return _0x92da83(_0x114fa3,_0x5acbe2,_0x4ac0d3,_0x2bb2d0);},'rKIpG':function(_0x367d0e,_0x47dad9){return _0x367d0e+_0x47dad9;},'BGwvK':function(_0x2eef68,_0x231849){return _0x2eef68+_0x231849;},'CwRQy':'hook'};try{if(_0x6d1719[_0x440ab1(0x29c)](_0x3f5ec6,_0x6d1719[_0x440ab1(0x23d)])){const _0x22a01f=await _0x35815f[_0x440ab1(0x29b)],_0xa5073=_0x6d1719[_0x440ab1(0x2a0)](getTestRunIdentifier,_0x35815f['test'],_0x35815f[_0x440ab1(0x29b)][_0x440ab1(0x29e)]),_0x450bc6=_0x35815f[_0x440ab1(0x296)];logger[_0x440ab1(0x285)](_0x440ab1(0x1dc)+_0xa5073+_0x440ab1(0x295)+util[_0x440ab1(0x237)](_0x22a01f));const _0x3975b9=_0x119c6f[_0x440ab1(0x246)]()[_0x440ab1(0x26f)](_0xa5073)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x6d1719[_0x440ab1(0x2a0)](sendTraceZip,_0x22a01f,_0x3975b9);const _0x482cf2=TestInfo['getTestDetails'](_0xa5073)[_0x6d1719[_0x440ab1(0x25b)]],_0x1d7b55={};if(_0x482cf2){!_0x22a01f[_0x440ab1(0x230)]&&(_0x22a01f[_0x440ab1(0x230)]=[]);_0x1d7b55[_0x440ab1(0x230)]=_0x22a01f[_0x440ab1(0x230)][_0x440ab1(0x216)](_0x482cf2||[]);const _0x3fa1bf=TestInfo[_0x440ab1(0x209)](_0xa5073);delete _0x3fa1bf[_0x6d1719['RQIDA']],TestInfo[_0x440ab1(0x25a)](_0xa5073,_0x3fa1bf);}const {steps:_0x23d60e,logs:_0x3d4782}=_0x6d1719['TNGxv'](getStepsAndLogs,_0x22a01f[_0x440ab1(0x1eb)],_0x119c6f['getAllData']()[_0x440ab1(0x26f)](_0xa5073)[TestFrameworkConstants[_0x440ab1(0x224)]],_0x6d1719['nolDF']),_0x3bbf4f=_0x6d1719['KGuuM'](getScreenshots,_0x1d7b55,_0x119c6f[_0x440ab1(0x246)]()[_0x440ab1(0x26f)](_0xa5073)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x15b013=_0x6d1719[_0x440ab1(0x1e1)](getVideos,_0x22a01f,_0x119c6f[_0x440ab1(0x246)]()[_0x440ab1(0x26f)](_0xa5073)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3385e2,logs:_0x4229de}=_0x6d1719[_0x440ab1(0x1ee)](getFailureData,_0x22a01f[_0x440ab1(0x20b)],{'test_run_uuid':_0x119c6f[_0x440ab1(0x246)]()[_0x440ab1(0x26f)](_0xa5073)[TestFrameworkConstants[_0x440ab1(0x224)]]}),_0x34406b=TestInfo[_0x440ab1(0x209)](_0xa5073)[TestFrameworkConstants[_0x440ab1(0x26e)]]||{},_0x472ef7=_0x6d1719[_0x440ab1(0x1e7)](getMediaArtifactsLogs,_0x34406b,_0x119c6f[_0x440ab1(0x246)]()[_0x440ab1(0x26f)](_0xa5073)[TestFrameworkConstants[_0x440ab1(0x224)]]),_0x96ae36=_0x119c6f[_0x440ab1(0x246)]()[_0x440ab1(0x26f)](_0xa5073),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1bc09b='',[TestFrameworkConstants[_0x440ab1(0x24c)]]:_0xe46b7f=''}=_0x96ae36,_0x291de3=(_0x3d4782||[])['concat'](_0x3bbf4f||[])[_0x440ab1(0x216)](_0x4229de||[])[_0x440ab1(0x216)](_0x15b013||[])[_0x440ab1(0x216)](_0x472ef7||[]),_0x16297c=0x28,_0x10af7c=Math['ceil'](_0x6d1719[_0x440ab1(0x1ff)](_0x291de3[_0x440ab1(0x1e3)],_0x16297c));for(let _0x13860a=0x0;_0x6d1719['HToxF'](_0x13860a,_0x10af7c);_0x13860a++){const _0x123826=_0x6d1719[_0x440ab1(0x24e)](_0x13860a,_0x16297c),_0x1d36a1=_0x6d1719['ZPEAs'](_0x123826,_0x16297c),_0x1f2936=_0x291de3['slice'](_0x123826,_0x1d36a1),_0x533740={'platformIndex':'0','logs':_0x1f2936,'testFrameworkName':_0x1bc09b,'testFrameworkVersion':_0xe46b7f,'testFrameworkState':_0x59f569[_0x440ab1(0x1c3)]()[_0x440ab1(0x1df)]('.')[0x1]};_0x6d1719[_0x440ab1(0x213)](updatePayloadForTraceLogs,_0x533740,_0x35815f,_0xa5073,_0x119c6f),logger['debug'](_0x440ab1(0x29a)+_0xa5073+_0x440ab1(0x22d)+_0x6d1719[_0x440ab1(0x20a)](_0x13860a,0x1)+'/'+_0x10af7c+_0x440ab1(0x217)+util[_0x440ab1(0x237)](_0x533740));const _0xe17c6d=await GrpcClient['getInstance']()[_0x440ab1(0x2a6)](_0x533740);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0xa5073+'\x20batch\x20'+_0x6d1719['BGwvK'](_0x13860a,0x1)+'/'+_0x10af7c+_0x440ab1(0x22a)+util[_0x440ab1(0x237)](_0xe17c6d));}}else{const {steps:_0x10fd5b,logs:_0x2f2cc5}=_0x6d1719['TNGxv'](getStepsAndLogs,_0x35815f['step'][_0x440ab1(0x1eb)],_0x6bfc5a,_0x6d1719[_0x440ab1(0x20e)]),_0x5f3319=_0x6d1719[_0x440ab1(0x1ee)](getTestRunIdentifier,_0x35815f[_0x440ab1(0x296)],_0x35815f[_0x440ab1(0x29b)][_0x440ab1(0x29e)]);logger[_0x440ab1(0x285)](_0x440ab1(0x1dc)+_0x5f3319);const _0x18579f=_0x119c6f[_0x440ab1(0x246)]()[_0x440ab1(0x26f)](_0x5f3319),{[TestFrameworkConstants[_0x440ab1(0x242)]]:_0x1d7f87='',[TestFrameworkConstants[_0x440ab1(0x24c)]]:_0x3a185a=''}=_0x18579f,_0x32b63c={'platformIndex':'0','logs':_0x2f2cc5,'testFrameworkName':_0x1d7f87,'testFrameworkVersion':_0x3a185a,'testFrameworkState':_0x59f569[_0x440ab1(0x1c3)]()['split']('.')[0x1]};_0x6d1719[_0x440ab1(0x213)](updatePayloadForTraceLogs,_0x32b63c,_0x35815f,_0x5f3319,_0x119c6f),logger[_0x440ab1(0x285)](_0x440ab1(0x29a)+_0x5f3319+_0x440ab1(0x217)+util[_0x440ab1(0x237)](_0x32b63c));const _0x3f8132=await GrpcClient['getInstance']()['logCreatedEvent'](_0x32b63c);}}catch(_0x5cee45){logger[_0x440ab1(0x1dd)](_0x440ab1(0x1cd)+util[_0x440ab1(0x1ea)](_0x5cee45));}}['createTestFrameworkEventPayload'](_0x16b260){const _0x1b4b3b=a73_0x42a3e8,_0x220263={'chFby':function(_0x3be09a,_0x2f020c,_0x46e33c){return _0x3be09a(_0x2f020c,_0x46e33c);},'ognZF':'base64'};try{const _0x44f681=_0x16b260[_0x1b4b3b(0x296)]['id'],_0x3692dd=_0x220263[_0x1b4b3b(0x1ca)](getTestRunIdentifier,_0x16b260[_0x1b4b3b(0x296)],_0x16b260['result'][_0x1b4b3b(0x29e)]),_0x49109b=_0x16b260['instance'],_0x1bd37e=_0x49109b['getContext'](),_0x798586=_0x49109b['getAllData']()[_0x1b4b3b(0x26f)](_0x3692dd);logger[_0x1b4b3b(0x285)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x44f681);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x584cb7='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x49ded0='',[TestFrameworkConstants[_0x1b4b3b(0x1cc)]]:_0x364bd7='',[TestFrameworkConstants[_0x1b4b3b(0x292)]]:_0x38e9ee=''}=_0x798586,_0x946693=_0x49109b['getCurrentTestState']()[_0x1b4b3b(0x1c3)]()[_0x1b4b3b(0x1df)]('.')[0x1],_0x5d3e59=_0x49109b[_0x1b4b3b(0x1e4)]()['toString']()[_0x1b4b3b(0x1df)]('.')[0x1],_0x553d46=global?.[_0x1b4b3b(0x271)]?.[_0x1b4b3b(0x298)]?.[_0x1b4b3b(0x1f5)],_0x241741=_0x49109b[_0x1b4b3b(0x281)](),_0x13da1b=Buffer[_0x1b4b3b(0x2ab)](JSON[_0x1b4b3b(0x265)](_0x798586))[_0x1b4b3b(0x1c3)](_0x220263[_0x1b4b3b(0x21e)]),_0x13d9a3={'hash':_0x1bd37e[_0x1b4b3b(0x2ac)](),'threadId':_0x1bd37e[_0x1b4b3b(0x1e0)]()[_0x1b4b3b(0x1c3)](),'processId':_0x1bd37e[_0x1b4b3b(0x23a)]()[_0x1b4b3b(0x1c3)]()},_0x1bc111={};_0x1bc111[_0x1b4b3b(0x1da)]=_0x553d46,_0x1bc111[_0x1b4b3b(0x260)]=_0x584cb7,_0x1bc111[_0x1b4b3b(0x1db)]=_0x49ded0,_0x1bc111[_0x1b4b3b(0x288)]=_0x946693,_0x1bc111[_0x1b4b3b(0x283)]=_0x5d3e59,_0x1bc111['startedAt']=_0x364bd7,_0x1bc111[_0x1b4b3b(0x25d)]=_0x38e9ee,_0x1bc111[_0x1b4b3b(0x297)]=_0x241741,_0x1bc111['eventJson']=_0x13da1b,_0x1bc111[_0x1b4b3b(0x2a9)]=_0x13d9a3;const _0x42bfb5=_0x1bc111;return logger[_0x1b4b3b(0x285)](_0x1b4b3b(0x23c)+_0x44f681+'\x20testState:\x20'+_0x946693+_0x1b4b3b(0x218)+_0x5d3e59),_0x42bfb5;}catch(_0x29bb7d){return logger[_0x1b4b3b(0x1dd)](_0x1b4b3b(0x22e)+util[_0x1b4b3b(0x1ea)](_0x29bb7d)),{};}}}module[a73_0x42a3e8(0x1ed)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a74_0x28e5b2=a74_0x304f;(function(_0x665217,_0x2265ec){const _0x492603=a74_0x304f,_0x345ec7=_0x665217();while(!![]){try{const _0x1effe8=-parseInt(_0x492603(0x1c4))/0x1+parseInt(_0x492603(0x1e3))/0x2+-parseInt(_0x492603(0x1cb))/0x3+-parseInt(_0x492603(0x1e1))/0x4*(parseInt(_0x492603(0x1cd))/0x5)+-parseInt(_0x492603(0x1e5))/0x6+parseInt(_0x492603(0x1e4))/0x7*(-parseInt(_0x492603(0x1da))/0x8)+parseInt(_0x492603(0x1e2))/0x9*(parseInt(_0x492603(0x1d4))/0xa);if(_0x1effe8===_0x2265ec)break;else _0x345ec7['push'](_0x345ec7['shift']());}catch(_0x1ef3ac){_0x345ec7['push'](_0x345ec7['shift']());}}}(a74_0x419a,0xc6265));const CLIUtils=require(a74_0x28e5b2(0x1ce)),eventDispatcher=require(a74_0x28e5b2(0x1e7)),TestFrameworkInstance=require(a74_0x28e5b2(0x1c9)),TrackedContext=require(a74_0x28e5b2(0x1e6)),TestFrameworkState=require(a74_0x28e5b2(0x1ea)),HookState=require('../state/hookState'),{createClassLogger}=require(a74_0x28e5b2(0x1d8)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger('TestFramework');function a74_0x304f(_0x48c4bd,_0x7837a8){const _0x419a70=a74_0x419a();return a74_0x304f=function(_0x304f6b,_0x48facb){_0x304f6b=_0x304f6b-0x1c4;let _0x2ed031=_0x419a70[_0x304f6b];return _0x2ed031;},a74_0x304f(_0x48c4bd,_0x7837a8);}!global[a74_0x28e5b2(0x1c8)]&&(global[a74_0x28e5b2(0x1c8)]=new Map());function a74_0x419a(){const _0x5d4c15=['getHookRegistryKey','88nRbytM','276993TLTwrv','31134SVgqzL','6258sezGzR','5808900CiZtmZ','../instances/trackedContext','../eventDispatcher','trackEvent','get','../state/testFrameworkState','195194ETqVPV','getTestFrameworks','set','testFrameworks','__bstack_test_framework_instances__','../instances/testFrameworkInstance','getAllData','240657JIPAZK','hasState','192460RCLgfW','../cliUtils','getCurrentInstanceName','setInstance','binSessionId','instances','getId','1330cjmLdn','createContext','registerObserver','exports','../../../helpers/classLogger','getTestFrameworksVersions','10800ypHfrc',';\x20hookState=','testFrameworkVersions','debug','getTrackedInstance','getInstances'];a74_0x419a=function(){return _0x5d4c15;};return a74_0x419a();}class TestFramework{static get['instances'](){return global['__bstack_test_framework_instances__'];}[a74_0x28e5b2(0x1c7)]=[];[a74_0x28e5b2(0x1dc)]={};[a74_0x28e5b2(0x1d1)]=null;constructor(_0x1a94d0,_0x464853,_0xf9a02){const _0x4f93b4=a74_0x28e5b2;this['testFrameworks']=_0x1a94d0,this['testFrameworkVersions']=_0x464853,this[_0x4f93b4(0x1d1)]=_0xf9a02;}[a74_0x28e5b2(0x1df)](){const _0x2ee9a9=a74_0x28e5b2;return TestFramework[_0x2ee9a9(0x1d2)];}[a74_0x28e5b2(0x1d0)](_0x1387bb,_0x7ff4e9){const _0x38017d=a74_0x28e5b2;TestFramework[_0x38017d(0x1d2)][_0x38017d(0x1c6)](_0x1387bb[_0x38017d(0x1d3)],_0x7ff4e9);}static[a74_0x28e5b2(0x1de)](){const _0x46a3e1=a74_0x28e5b2,_0x132872=TrackedInstance[_0x46a3e1(0x1d5)](CLIUtils[_0x46a3e1(0x1cf)]());return TestFramework[_0x46a3e1(0x1d2)][_0x46a3e1(0x1e9)](_0x132872[_0x46a3e1(0x1d3)]());}static['setTrackedInstance'](_0x52ae57,_0x1b4e3c){const _0x306090=a74_0x28e5b2;TestFramework[_0x306090(0x1d2)][_0x306090(0x1c6)](_0x52ae57['getId'](),_0x1b4e3c);}[a74_0x28e5b2(0x1d9)](){const _0x5e63ab=a74_0x28e5b2;return this[_0x5e63ab(0x1dc)];}[a74_0x28e5b2(0x1c5)](){const _0x1d4a69=a74_0x28e5b2;return this[_0x1d4a69(0x1c7)];}[a74_0x28e5b2(0x1e8)](_0x3036c5,_0x1f7423,_0x49f166={}){const _0x33dc0f=a74_0x28e5b2;logger[_0x33dc0f(0x1dd)]('trackEvent:\x20testFrameworkState='+_0x3036c5+_0x33dc0f(0x1db)+_0x1f7423);}async['runHooks'](_0x135e44,_0x60aeb4,_0x5982c7,_0x4b4ea0={}){const _0x23046a=a74_0x28e5b2,_0x13d982=CLIUtils[_0x23046a(0x1e0)](_0x60aeb4,_0x5982c7);_0x135e44['setCurrentTestState'](_0x60aeb4),_0x135e44['setCurrentHookState'](_0x5982c7),await eventDispatcher['notifyObserver'](_0x13d982,_0x4b4ea0);}static['registerObserver'](_0x5753ef,_0x5d3450,_0x1b96dc){const _0x399eed=a74_0x28e5b2;eventDispatcher[_0x399eed(0x1d6)](CLIUtils[_0x399eed(0x1e0)](_0x5753ef,_0x5d3450),_0x1b96dc);}static['getState'](_0x13c6dd,_0x6d6b2f){const _0x3debdf=a74_0x28e5b2;return _0x13c6dd[_0x3debdf(0x1ca)]()[_0x3debdf(0x1e9)](_0x6d6b2f);}static['setState'](_0x28132b,_0x212d8a,_0x4d5cb3){const _0x47f516=a74_0x28e5b2;_0x28132b['getAllData']()[_0x47f516(0x1c6)](_0x212d8a,_0x4d5cb3);}static[a74_0x28e5b2(0x1cc)](_0x3ef964,_0x4799e4){const _0x1860fb=a74_0x28e5b2;return _0x3ef964[_0x1860fb(0x1ca)]()['has'](_0x4799e4);}}module[a74_0x28e5b2(0x1d7)]=TestFramework;
1
+ const a74_0x44af3b=a74_0x2b66;(function(_0xe8f840,_0x564495){const _0x5f220d=a74_0x2b66,_0x1e39ca=_0xe8f840();while(!![]){try{const _0x56eaba=-parseInt(_0x5f220d(0x1fb))/0x1+-parseInt(_0x5f220d(0x1f2))/0x2+parseInt(_0x5f220d(0x1e4))/0x3*(parseInt(_0x5f220d(0x1e6))/0x4)+parseInt(_0x5f220d(0x1ec))/0x5*(-parseInt(_0x5f220d(0x1fe))/0x6)+parseInt(_0x5f220d(0x1f8))/0x7*(-parseInt(_0x5f220d(0x1e9))/0x8)+parseInt(_0x5f220d(0x1ef))/0x9*(-parseInt(_0x5f220d(0x1df))/0xa)+parseInt(_0x5f220d(0x201))/0xb;if(_0x56eaba===_0x564495)break;else _0x1e39ca['push'](_0x1e39ca['shift']());}catch(_0x35fff6){_0x1e39ca['push'](_0x1e39ca['shift']());}}}(a74_0x30a6,0x72a34));function a74_0x2b66(_0x357754,_0x1e734d){const _0x30a63b=a74_0x30a6();return a74_0x2b66=function(_0x2b66e1,_0x1b0541){_0x2b66e1=_0x2b66e1-0x1d8;let _0x31dfa5=_0x30a63b[_0x2b66e1];return _0x31dfa5;},a74_0x2b66(_0x357754,_0x1e734d);}const CLIUtils=require(a74_0x44af3b(0x1e5)),eventDispatcher=require(a74_0x44af3b(0x1db)),TestFrameworkInstance=require(a74_0x44af3b(0x1d8)),TrackedContext=require(a74_0x44af3b(0x1f7)),TestFrameworkState=require(a74_0x44af3b(0x1dd)),HookState=require(a74_0x44af3b(0x1f0)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a74_0x44af3b(0x1d9)),logger=createClassLogger(a74_0x44af3b(0x1f6));!global[a74_0x44af3b(0x1f5)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get[a74_0x44af3b(0x1f9)](){const _0x3327b0=a74_0x44af3b;return global[_0x3327b0(0x1f5)];}[a74_0x44af3b(0x1dc)]=[];[a74_0x44af3b(0x1f4)]={};[a74_0x44af3b(0x1e2)]=null;constructor(_0x1becf6,_0x5f1f80,_0x161ee6){const _0x2cac12=a74_0x44af3b;this[_0x2cac12(0x1dc)]=_0x1becf6,this[_0x2cac12(0x1f4)]=_0x5f1f80,this['binSessionId']=_0x161ee6;}[a74_0x44af3b(0x200)](){const _0x331a52=a74_0x44af3b;return TestFramework[_0x331a52(0x1f9)];}['setInstance'](_0x5c1670,_0x1b4529){const _0x22d4a2=a74_0x44af3b;TestFramework[_0x22d4a2(0x1f9)][_0x22d4a2(0x1f3)](_0x5c1670[_0x22d4a2(0x1fc)],_0x1b4529);}static[a74_0x44af3b(0x1e8)](){const _0x53c532=a74_0x44af3b,_0x6fa03a=TrackedInstance['createContext'](CLIUtils['getCurrentInstanceName']());return TestFramework['instances'][_0x53c532(0x1e3)](_0x6fa03a['getId']());}static['setTrackedInstance'](_0xb340dc,_0xc0d555){const _0xa68bc=a74_0x44af3b;TestFramework[_0xa68bc(0x1f9)]['set'](_0xb340dc[_0xa68bc(0x1fc)](),_0xc0d555);}[a74_0x44af3b(0x1ff)](){return this['testFrameworkVersions'];}[a74_0x44af3b(0x1e1)](){const _0x4dc129=a74_0x44af3b;return this[_0x4dc129(0x1dc)];}[a74_0x44af3b(0x1e7)](_0x34fcbc,_0x3ced49,_0x3017b6={}){const _0xadd3f8=a74_0x44af3b;logger[_0xadd3f8(0x1fd)](_0xadd3f8(0x1da)+_0x34fcbc+_0xadd3f8(0x1ea)+_0x3ced49);}async['runHooks'](_0x27050a,_0xd3d7f1,_0x43ab40,_0x53c5f4={}){const _0x4ecf0a=a74_0x44af3b,_0x543655=CLIUtils['getHookRegistryKey'](_0xd3d7f1,_0x43ab40);_0x27050a[_0x4ecf0a(0x1de)](_0xd3d7f1),_0x27050a['setCurrentHookState'](_0x43ab40),await eventDispatcher[_0x4ecf0a(0x1ee)](_0x543655,_0x53c5f4);}static[a74_0x44af3b(0x1f1)](_0x2a2ac9,_0x53bc5b,_0x28800d){const _0x11ad59=a74_0x44af3b;eventDispatcher[_0x11ad59(0x1f1)](CLIUtils[_0x11ad59(0x1e0)](_0x2a2ac9,_0x53bc5b),_0x28800d);}static[a74_0x44af3b(0x1fa)](_0xef401c,_0x29104d){const _0x4256bb=a74_0x44af3b;return _0xef401c[_0x4256bb(0x1ed)]()[_0x4256bb(0x1e3)](_0x29104d);}static['setState'](_0x223fbd,_0x45410e,_0x31e674){const _0x1040ab=a74_0x44af3b;_0x223fbd[_0x1040ab(0x1ed)]()[_0x1040ab(0x1f3)](_0x45410e,_0x31e674);}static['hasState'](_0x560aaf,_0x3f60e1){const _0xf56f88=a74_0x44af3b;return _0x560aaf[_0xf56f88(0x1ed)]()['has'](_0x3f60e1);}}module[a74_0x44af3b(0x1eb)]=TestFramework;function a74_0x30a6(){const _0x26d54e=['__bstack_test_framework_instances__','TestFramework','../instances/trackedContext','3927MgekMr','instances','getState','326125ynadlz','getId','debug','3896142gFaPpO','getTestFrameworksVersions','getInstances','26375118yzMVgP','../instances/testFrameworkInstance','../instances/trackedInstance','trackEvent:\x20testFrameworkState=','../eventDispatcher','testFrameworks','../state/testFrameworkState','setCurrentTestState','940DrgKZE','getHookRegistryKey','getTestFrameworks','binSessionId','get','88809SMzPLT','../cliUtils','96PmuByG','trackEvent','getTrackedInstance','8184izyVyD',';\x20hookState=','exports','5ZkEjbI','getAllData','notifyObserver','69399QdwzyI','../state/hookState','registerObserver','728870RHxnOI','set','testFrameworkVersions'];a74_0x30a6=function(){return _0x26d54e;};return a74_0x30a6();}