browserstack-node-sdk 1.50.8 → 1.50.10

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 a85_0x38065e=a85_0x5618;function a85_0x5618(_0x1a774c,_0x4b6db0){const _0x26a9ba=a85_0x26a9();return a85_0x5618=function(_0x561818,_0x3b19c2){_0x561818=_0x561818-0x154;let _0x1ac0b4=_0x26a9ba[_0x561818];return _0x1ac0b4;},a85_0x5618(_0x1a774c,_0x4b6db0);}(function(_0x4ab3dc,_0x13451e){const _0x258500=a85_0x5618,_0xac0d39=_0x4ab3dc();while(!![]){try{const _0x4320a1=parseInt(_0x258500(0x1b7))/0x1+-parseInt(_0x258500(0x159))/0x2+parseInt(_0x258500(0x15a))/0x3*(-parseInt(_0x258500(0x184))/0x4)+parseInt(_0x258500(0x1a2))/0x5+parseInt(_0x258500(0x1bd))/0x6+parseInt(_0x258500(0x18a))/0x7*(-parseInt(_0x258500(0x171))/0x8)+-parseInt(_0x258500(0x17c))/0x9*(-parseInt(_0x258500(0x19e))/0xa);if(_0x4320a1===_0x13451e)break;else _0xac0d39['push'](_0xac0d39['shift']());}catch(_0xa56442){_0xac0d39['push'](_0xac0d39['shift']());}}}(a85_0x26a9,0xb89f0));function a85_0x26a9(){const _0x9500ae=['../../../helpers/helper.js','Error\x20in\x20sendTestFrameworkEvent:\x20','../framework/automationFramework.js','\x20hookState:\x20','../framework/testFramework.js','env','Error\x20in\x20sending\x20CBTSession:\x20','BcRdy','sjmyp','20GzOhaR','KEY_TEST_FRAMEWORK_VERSION','from','getProcessId','1757075TuoFkq','eGWjv','values','getTestIdentifierFromTestInfo','testSessionEvent','TestHubModule','debug','uQBNO','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','version','onAllTestEvents','getRef','testFrameworkData','getState','getInstance','dHmCC','pLmfL','lGssO','name','AhQOy','377946VVjYjh','logger','KEY_SESSION_ID','testInfo','exports','retry','2934486GOTRIu','getId','keys','CREATE','testUuid','DZnSB','../../../helpers/test-observability/constants.js','onPageCreate\x20CBTSession\x20payload:\x20','getJwt','getTestFramework','884828ylurtn','855JksjRu','TEST','../../../helpers/testhub/constants','bind','page','forEach','../TestInfo.js','JEST','format','getContext','0|7|6|4|8|1|3|2|5','hookState','BROWSERSTACK_TESTHUB_JWT','getTestId','matchHookRegex','../browserstackCLI.js','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','../state/automationFrameworkState.js','./playwrightDriverModule.js','O11yHashedID','isLTSSession','toString','split','40TezofP','getModuleName','KEY_CAPABILITIES','../state/testFrameworkState.js','../utils/jest-utils.js','registerObserver',',\x20test_identifier:\x20','KEY_HUB_URL','./loadTestModule.js','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','createTestFrameworkEventPayload','10751445NHSTAN','BROWSERSTACK_TESTHUB_UUID','getTestUUID','MODULE_NAME','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','getTestDetails','error','testhubConfig','17572fygKym','./baseModule','onPageCreate','util','POST','testFrameworkEvent','1619835YITRxW','ENV_VAR','instance','sendTestFrameworkEvent','../../../helpers/classLogger.js','jestUtils','test_identifier','CUCUMBER','uoRMY','frameworkVersion','getCurrentTestState'];a85_0x26a9=function(){return _0x9500ae;};return a85_0x26a9();}const util=require(a85_0x38065e(0x187)),BaseModule=require(a85_0x38065e(0x185)),{createClassLogger}=require(a85_0x38065e(0x18e)),AutomationFramework=require(a85_0x38065e(0x197)),AutomationFrameworkState=require(a85_0x38065e(0x16b)),HookState=require('../state/hookState.js'),TestFramework=require(a85_0x38065e(0x199)),TestFrameworkState=require(a85_0x38065e(0x174)),PlaywrightDriverModule=require(a85_0x38065e(0x16c)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require('../grpcClient.js'),CLIUtils=require('../cliUtils.js'),TestInfo=require(a85_0x38065e(0x160)),testHubConstants=require(a85_0x38065e(0x15c)),{FRAMEWORKS}=require(a85_0x38065e(0x155)),helper=require('../../../helpers/helper.js'),LoadTestModule=require(a85_0x38065e(0x179)),JestUtils=require(a85_0x38065e(0x175)),BrowserstackCLI=require(a85_0x38065e(0x169)),{getPlaywrightProvider,getProductForSession}=require(a85_0x38065e(0x195));class TestHubModule extends BaseModule{['logger']=createClassLogger('TestHubModule');constructor(_0x3da5e8,_0x141a1d=null){const _0x3e2086=a85_0x38065e,_0x44a2c9={};_0x44a2c9[_0x3e2086(0x1b6)]=_0x3e2086(0x164),_0x44a2c9[_0x3e2086(0x19c)]=_0x3e2086(0x1a7);const _0x490852=_0x44a2c9,_0x286642=_0x490852[_0x3e2086(0x1b6)]['split']('|');let _0x5e6274=0x0;while(!![]){switch(_0x286642[_0x5e6274++]){case'0':super(_0x141a1d);continue;case'1':Object['values'](TestFrameworkState)[_0x3e2086(0x15f)](_0x2a2875=>{const _0x6ff188=_0x3e2086;Object[_0x6ff188(0x1a4)](HookState)[_0x6ff188(0x15f)](_0x57b2a3=>{const _0x160c4e=_0x6ff188;TestFramework[_0x160c4e(0x176)](_0x2a2875,_0x57b2a3,this[_0x160c4e(0x1ad)]['bind'](this));});});continue;case'2':process[_0x3e2086(0x19a)][testHubConstants['ENV_VAR'][_0x3e2086(0x17d)]]=this[_0x3e2086(0x183)]['getBuildHashedId']();continue;case'3':process['env'][testHubConstants[_0x3e2086(0x18b)][_0x3e2086(0x166)]]=this[_0x3e2086(0x183)][_0x3e2086(0x157)]();continue;case'4':this[_0x3e2086(0x18f)]=new JestUtils();continue;case'5':BrowserstackCLI[_0x3e2086(0x16d)]=this['testhubConfig']['getBuildHashedId']();continue;case'6':this[_0x3e2086(0x183)]=_0x3da5e8;continue;case'7':this[_0x3e2086(0x1b5)]=_0x490852[_0x3e2086(0x19c)];continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3e2086(0x1c0)],HookState['POST'],this[_0x3e2086(0x186)][_0x3e2086(0x15d)](this));continue;}break;}}[a85_0x38065e(0x172)](){const _0x166de7=a85_0x38065e;return TestHubModule[_0x166de7(0x17f)];}[a85_0x38065e(0x1ad)](_0x9bd7f8){const _0x803499=a85_0x38065e,_0x2434d7={};_0x2434d7[_0x803499(0x1b2)]=function(_0x20967d,_0x336b99){return _0x20967d===_0x336b99;};const _0x4ad428=_0x2434d7,_0x4e2d3e=_0x9bd7f8[_0x803499(0x18c)],_0x302878=_0x4e2d3e[_0x803499(0x194)]();(_0x4ad428[_0x803499(0x1b2)](_0x302878,TestFrameworkState[_0x803499(0x15b)])||CLIUtils[_0x803499(0x168)](_0x302878[_0x803499(0x16f)]()[_0x803499(0x170)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x9bd7f8);}async[a85_0x38065e(0x18d)](_0x532e70){const _0xc8a6f2=a85_0x38065e,_0x5ef5b5={};_0x5ef5b5[_0xc8a6f2(0x192)]=function(_0x5a3518,_0x5e4ec0){return _0x5a3518===_0x5e4ec0;},_0x5ef5b5[_0xc8a6f2(0x1a3)]=_0xc8a6f2(0x180);const _0x21e8f7=_0x5ef5b5;try{const _0x533d3a=BrowserstackCLI[_0xc8a6f2(0x1b1)]()[_0xc8a6f2(0x158)]()[_0xc8a6f2(0x17b)](_0x532e70);if(!_0x533d3a||_0x21e8f7[_0xc8a6f2(0x192)](Object[_0xc8a6f2(0x1bf)](_0x533d3a)['length'],0x0)){this[_0xc8a6f2(0x1b8)][_0xc8a6f2(0x1a8)](_0x21e8f7[_0xc8a6f2(0x1a3)]);return;}const _0x22a1dd=await GrpcClient[_0xc8a6f2(0x1b1)]()[_0xc8a6f2(0x189)](_0x533d3a);this[_0xc8a6f2(0x1b8)][_0xc8a6f2(0x1a8)](_0xc8a6f2(0x16a)+_0x533d3a['testFrameworkState']+_0xc8a6f2(0x198)+_0x533d3a[_0xc8a6f2(0x165)]);}catch(_0x3b56f2){this[_0xc8a6f2(0x1b8)][_0xc8a6f2(0x182)](_0xc8a6f2(0x196)+util[_0xc8a6f2(0x162)](_0x3b56f2));}}async[a85_0x38065e(0x186)](_0x471b26){const _0x1f4b1d=a85_0x38065e,_0x4d2496={'lGssO':function(_0x9a4de5,_0x2a05cc){return _0x9a4de5===_0x2a05cc;},'uQBNO':_0x1f4b1d(0x1aa),'DZnSB':function(_0x2a297a,_0x151005){return _0x2a297a===_0x151005;},'qgxRR':function(_0x46b801,_0x2d0b0d){return _0x46b801(_0x2d0b0d);},'sjmyp':function(_0x32b58c){return _0x32b58c();},'pLmfL':'base64'};try{if(_0x471b26[_0x1f4b1d(0x15e)]){const _0x5dfdb5=this[_0x1f4b1d(0x167)](_0x471b26);this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)](_0x1f4b1d(0x1ab)+_0x5dfdb5);if(this['testFrameworkData']&&_0x4d2496[_0x1f4b1d(0x1b4)](this['testFrameworkData'][_0x1f4b1d(0x1b5)],FRAMEWORKS['JEST'])&&!_0x471b26[_0x1f4b1d(0x1ba)]){this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)](_0x4d2496[_0x1f4b1d(0x1a9)]);return;}let _0x44c003,_0x402b1d;if(this[_0x1f4b1d(0x1af)]&&_0x4d2496[_0x1f4b1d(0x1b4)](this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1b5)],FRAMEWORKS[_0x1f4b1d(0x191)]))_0x44c003=_0x5dfdb5,_0x402b1d=TestInfo[_0x1f4b1d(0x17e)](_0x44c003);else this[_0x1f4b1d(0x1af)]&&_0x4d2496[_0x1f4b1d(0x154)](this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1b5)],FRAMEWORKS[_0x1f4b1d(0x161)])?(_0x44c003=this['jestUtils']['recreateIdentifierFromTestInfo'](_0x471b26[_0x1f4b1d(0x1ba)]),this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)]('onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x44c003)):(_0x44c003=TestInfo[_0x1f4b1d(0x1a5)](_0x471b26['testInfo'],_0x471b26[_0x1f4b1d(0x1ba)][_0x1f4b1d(0x1bc)]),_0x402b1d=TestInfo['getTestUUID'](_0x44c003));const _0xe1ff97=TestInfo[_0x1f4b1d(0x181)](_0x44c003),_0xd149f1=_0x471b26['instance'],_0x405905=AutomationFramework[_0x1f4b1d(0x1b0)](_0xd149f1,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x18478e=_0xe1ff97?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this['testFrameworkData']&&this[_0x1f4b1d(0x1af)]['name'],_0x5d0003=_0xe1ff97?.[TestFrameworkConstants[_0x1f4b1d(0x19f)]]||this[_0x1f4b1d(0x1af)]&&this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1ac)],_0x37c069=TestFrameworkState['TEST'][_0x1f4b1d(0x16f)]()[_0x1f4b1d(0x170)]('.')[0x1],_0x3d065a=HookState[_0x1f4b1d(0x188)][_0x1f4b1d(0x16f)]()[_0x1f4b1d(0x170)]('.')[0x1],_0x1fe101=_0xd149f1[_0x1f4b1d(0x163)](),_0x49cc6f=AutomationFramework[_0x1f4b1d(0x1b0)](_0xd149f1,PlaywrightDriverModule[_0x1f4b1d(0x178)],''),_0x20ab51={'provider':_0x4d2496['qgxRR'](getPlaywrightProvider,_0x49cc6f),'frameworkName':_0xd149f1['frameworkName'],'frameworkVersion':_0xd149f1[_0x1f4b1d(0x193)],'frameworkSessionId':LoadTestModule[_0x1f4b1d(0x16e)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x1f4b1d(0x1b0)](_0xd149f1,PlaywrightDriverModule[_0x1f4b1d(0x1b9)],''),'ref':_0xd149f1[_0x1f4b1d(0x1ae)](),'hubUrl':_0x49cc6f,'product':_0x4d2496[_0x1f4b1d(0x19d)](getProductForSession)};let _0x5e778f=AutomationFramework['getState'](_0xd149f1,PlaywrightDriverModule[_0x1f4b1d(0x173)],{});_0x5e778f=Buffer[_0x1f4b1d(0x1a0)](JSON['stringify'](_0x5e778f))[_0x1f4b1d(0x16f)](_0x4d2496[_0x1f4b1d(0x1b3)]);const _0x1037c6={'hash':_0x1fe101[_0x1f4b1d(0x1be)](),'threadId':_0x1fe101['getThreadId']()[_0x1f4b1d(0x16f)](),'processId':_0x1fe101[_0x1f4b1d(0x1a1)]()['toString']()},_0x2d49c7={};_0x2d49c7[_0x1f4b1d(0x190)]=_0x44c003;const _0x485b98={};_0x485b98[_0x1f4b1d(0x1c1)]=_0x402b1d;const _0x291d03={'platformIndex':_0x405905,'testFrameworkName':_0x18478e,'testFrameworkVersion':_0x5d0003,'testFrameworkState':_0x37c069,'testHookState':_0x3d065a,...this['testFrameworkData']&&_0x4d2496['lGssO'](this[_0x1f4b1d(0x1af)]['name'],FRAMEWORKS['JEST'])?_0x2d49c7:_0x485b98,'automationSession':_0x20ab51,'capabilities':_0x5e778f,'executionContext':_0x1037c6};this[_0x1f4b1d(0x1b8)]['debug'](_0x1f4b1d(0x156)+util[_0x1f4b1d(0x162)](_0x291d03));const _0x2bb31c=await GrpcClient[_0x1f4b1d(0x1b1)]()[_0x1f4b1d(0x1a6)](_0x291d03);this[_0x1f4b1d(0x1b8)][_0x1f4b1d(0x1a8)](_0x1f4b1d(0x17a)+_0x5dfdb5+(this['testFrameworkData']&&_0x4d2496[_0x1f4b1d(0x1b4)](this[_0x1f4b1d(0x1af)][_0x1f4b1d(0x1b5)],FRAMEWORKS[_0x1f4b1d(0x161)])?_0x1f4b1d(0x177)+_0x44c003:''));}}catch(_0x64159b){this['logger'][_0x1f4b1d(0x182)](_0x1f4b1d(0x19b)+util['format'](_0x64159b));}}}TestHubModule[a85_0x38065e(0x17f)]=a85_0x38065e(0x1a7),TestHubModule['KEY_TEST_DEFERRED']='test_deferred',module[a85_0x38065e(0x1bb)]=TestHubModule;
1
+ function a85_0x3dc4(_0x82db18,_0x494157){const _0x40dad2=a85_0x40da();return a85_0x3dc4=function(_0x3dc4f1,_0x2aac8a){_0x3dc4f1=_0x3dc4f1-0xfa;let _0x1d3b85=_0x40dad2[_0x3dc4f1];return _0x1d3b85;},a85_0x3dc4(_0x82db18,_0x494157);}const a85_0xe5ad20=a85_0x3dc4;(function(_0x4761bd,_0xb16a3e){const _0x3cf820=a85_0x3dc4,_0x52ff65=_0x4761bd();while(!![]){try{const _0x41b299=-parseInt(_0x3cf820(0x146))/0x1+parseInt(_0x3cf820(0x13f))/0x2+-parseInt(_0x3cf820(0x115))/0x3*(-parseInt(_0x3cf820(0x15b))/0x4)+parseInt(_0x3cf820(0x102))/0x5+-parseInt(_0x3cf820(0x120))/0x6*(-parseInt(_0x3cf820(0x165))/0x7)+parseInt(_0x3cf820(0x15c))/0x8*(parseInt(_0x3cf820(0x154))/0x9)+parseInt(_0x3cf820(0x104))/0xa*(-parseInt(_0x3cf820(0x159))/0xb);if(_0x41b299===_0xb16a3e)break;else _0x52ff65['push'](_0x52ff65['shift']());}catch(_0x124d8d){_0x52ff65['push'](_0x52ff65['shift']());}}}(a85_0x40da,0x1dc8a));const util=require(a85_0xe5ad20(0x166)),BaseModule=require('./baseModule'),{createClassLogger}=require(a85_0xe5ad20(0x10e)),AutomationFramework=require(a85_0xe5ad20(0xfa)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a85_0xe5ad20(0x121)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require('../state/testFrameworkState.js'),PlaywrightDriverModule=require(a85_0xe5ad20(0x14b)),TestFrameworkConstants=require(a85_0xe5ad20(0x143)),GrpcClient=require(a85_0xe5ad20(0x11f)),CLIUtils=require(a85_0xe5ad20(0xff)),TestInfo=require(a85_0xe5ad20(0x105)),testHubConstants=require(a85_0xe5ad20(0x123)),{FRAMEWORKS}=require(a85_0xe5ad20(0x156)),helper=require(a85_0xe5ad20(0x122)),LoadTestModule=require(a85_0xe5ad20(0x15f)),JestUtils=require(a85_0xe5ad20(0x12c)),BrowserstackCLI=require(a85_0xe5ad20(0x167)),{getPlaywrightProvider,getProductForSession}=require(a85_0xe5ad20(0x122));class TestHubModule extends BaseModule{[a85_0xe5ad20(0x15d)]=createClassLogger(a85_0xe5ad20(0x130));constructor(_0x8dcbe3,_0x37983e=null){const _0x2f641b=a85_0xe5ad20,_0x3b8ba4={};_0x3b8ba4[_0x2f641b(0x10c)]=_0x2f641b(0x13e),_0x3b8ba4[_0x2f641b(0x119)]=_0x2f641b(0x130);const _0x43aecf=_0x3b8ba4,_0x56cb61=_0x43aecf['mtaVz']['split']('|');let _0x4edff4=0x0;while(!![]){switch(_0x56cb61[_0x4edff4++]){case'0':process['env'][testHubConstants[_0x2f641b(0x138)][_0x2f641b(0x15a)]]=this[_0x2f641b(0x14d)][_0x2f641b(0x106)]();continue;case'1':this[_0x2f641b(0x101)]=new JestUtils();continue;case'2':super(_0x37983e);continue;case'3':BrowserstackCLI[_0x2f641b(0x126)]=this[_0x2f641b(0x14d)][_0x2f641b(0x106)]();continue;case'4':this[_0x2f641b(0x14d)]=_0x8dcbe3;continue;case'5':AutomationFramework[_0x2f641b(0x15e)](AutomationFrameworkState[_0x2f641b(0x168)],HookState[_0x2f641b(0x125)],this[_0x2f641b(0xfe)][_0x2f641b(0x11d)](this));continue;case'6':this['name']=_0x43aecf[_0x2f641b(0x119)];continue;case'7':process[_0x2f641b(0x12e)][testHubConstants[_0x2f641b(0x138)][_0x2f641b(0x11c)]]=this[_0x2f641b(0x14d)]['getJwt']();continue;case'8':Object[_0x2f641b(0x141)](TestFrameworkState)[_0x2f641b(0x150)](_0x51513b=>{const _0xa89079=_0x2f641b;Object[_0xa89079(0x141)](HookState)['forEach'](_0x371a62=>{const _0x498a05=_0xa89079;TestFramework[_0x498a05(0x15e)](_0x51513b,_0x371a62,this[_0x498a05(0x162)]['bind'](this));});});continue;}break;}}[a85_0xe5ad20(0x131)](){const _0x265091=a85_0xe5ad20;return TestHubModule[_0x265091(0x113)];}[a85_0xe5ad20(0x162)](_0x66c066){const _0xb5d75=a85_0xe5ad20,_0x48f669={};_0x48f669[_0xb5d75(0x10a)]=function(_0x238592,_0x20b359){return _0x238592===_0x20b359;};const _0x2923fb=_0x48f669,_0x4354c5=_0x66c066[_0xb5d75(0x151)],_0x235e8d=_0x4354c5[_0xb5d75(0x109)]();(_0x2923fb[_0xb5d75(0x10a)](_0x235e8d,TestFrameworkState[_0xb5d75(0x137)])||CLIUtils[_0xb5d75(0x12a)](_0x235e8d[_0xb5d75(0x148)]()['split']('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x66c066);}async[a85_0xe5ad20(0x108)](_0x5bfd33){const _0x323978=a85_0xe5ad20,_0x590a43={};_0x590a43['qUftu']=function(_0x35ecb6,_0x26add3){return _0x35ecb6===_0x26add3;},_0x590a43[_0x323978(0x112)]=_0x323978(0x103);const _0x470bae=_0x590a43;try{const _0x8f66cd=BrowserstackCLI[_0x323978(0x10b)]()['getTestFramework']()['createTestFrameworkEventPayload'](_0x5bfd33);if(!_0x8f66cd||_0x470bae[_0x323978(0x116)](Object[_0x323978(0x144)](_0x8f66cd)[_0x323978(0x153)],0x0)){this['logger']['debug'](_0x470bae[_0x323978(0x112)]);return;}const _0x522046=await GrpcClient['getInstance']()[_0x323978(0x160)](_0x8f66cd);this[_0x323978(0x15d)]['debug'](_0x323978(0x149)+_0x8f66cd[_0x323978(0xfb)]+_0x323978(0x11e)+_0x8f66cd[_0x323978(0x132)]);}catch(_0x489b64){this[_0x323978(0x15d)]['error'](_0x323978(0x111)+util[_0x323978(0x133)](_0x489b64));}}async[a85_0xe5ad20(0xfe)](_0x47e89c){const _0x223424=a85_0xe5ad20,_0x28e9fe={'mhBBI':function(_0xcd739d,_0x19bcf3){return _0xcd739d===_0x19bcf3;},'fEABo':_0x223424(0x142),'UqpeV':function(_0x400fbe,_0x42b0a7){return _0x400fbe(_0x42b0a7);},'GnGRf':function(_0x1f694b){return _0x1f694b();},'WYUZw':_0x223424(0x158),'AjksZ':function(_0x2aa994,_0x2f5c5c){return _0x2aa994===_0x2f5c5c;}};try{if(_0x47e89c[_0x223424(0x161)]){const _0x4ab0c2=this['getTestId'](_0x47e89c);this['logger'][_0x223424(0x118)](_0x223424(0x11a)+_0x4ab0c2);if(this[_0x223424(0x136)]&&_0x28e9fe[_0x223424(0x13d)](this[_0x223424(0x136)][_0x223424(0x12d)],FRAMEWORKS['JEST'])&&!_0x47e89c[_0x223424(0x10f)]){this[_0x223424(0x15d)]['debug'](_0x28e9fe['fEABo']);return;}let _0x199283,_0x5867f0;if(this[_0x223424(0x136)]&&_0x28e9fe['mhBBI'](this[_0x223424(0x136)][_0x223424(0x12d)],FRAMEWORKS['CUCUMBER']))_0x199283=_0x4ab0c2,_0x5867f0=TestInfo[_0x223424(0x11b)](_0x199283);else this['testFrameworkData']&&_0x28e9fe[_0x223424(0x13d)](this[_0x223424(0x136)]['name'],FRAMEWORKS[_0x223424(0x14c)])?(_0x199283=this['jestUtils'][_0x223424(0x155)](_0x47e89c['testInfo']),this[_0x223424(0x15d)]['debug'](_0x223424(0x114)+_0x199283)):(_0x199283=TestInfo[_0x223424(0x117)](_0x47e89c[_0x223424(0x10f)],_0x47e89c[_0x223424(0x10f)][_0x223424(0x145)]),_0x5867f0=TestInfo[_0x223424(0x11b)](_0x199283));const _0x4a0fed=TestInfo['getTestDetails'](_0x199283),_0x2184d6=_0x47e89c[_0x223424(0x151)],_0x1581cf=AutomationFramework[_0x223424(0x139)](_0x2184d6,PlaywrightDriverModule[_0x223424(0x10d)]),_0x436bb7=_0x4a0fed?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this['testFrameworkData']&&this[_0x223424(0x136)][_0x223424(0x12d)],_0x450f14=_0x4a0fed?.[TestFrameworkConstants[_0x223424(0xfd)]]||this[_0x223424(0x136)]&&this[_0x223424(0x136)][_0x223424(0x152)],_0x15599c=TestFrameworkState[_0x223424(0x137)]['toString']()[_0x223424(0x107)]('.')[0x1],_0x1f5312=HookState[_0x223424(0x125)][_0x223424(0x148)]()['split']('.')[0x1],_0x3bd569=_0x2184d6[_0x223424(0x134)](),_0x3a931d=AutomationFramework['getState'](_0x2184d6,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x3602e8={'provider':_0x28e9fe['UqpeV'](getPlaywrightProvider,_0x3a931d),'frameworkName':_0x2184d6[_0x223424(0x14e)],'frameworkVersion':_0x2184d6[_0x223424(0x110)],'frameworkSessionId':LoadTestModule[_0x223424(0x128)]()?LoadTestModule[_0x223424(0x147)]():AutomationFramework[_0x223424(0x139)](_0x2184d6,PlaywrightDriverModule[_0x223424(0x12f)],''),'ref':_0x2184d6[_0x223424(0x164)](),'hubUrl':_0x3a931d,'product':_0x28e9fe[_0x223424(0x13c)](getProductForSession)};let _0x431ab0=AutomationFramework[_0x223424(0x139)](_0x2184d6,PlaywrightDriverModule[_0x223424(0x157)],{});_0x431ab0=Buffer[_0x223424(0x129)](JSON[_0x223424(0x13b)](_0x431ab0))[_0x223424(0x148)](_0x28e9fe['WYUZw']);const _0x2fcbd5={'hash':_0x3bd569[_0x223424(0x100)](),'threadId':_0x3bd569['getThreadId']()[_0x223424(0x148)](),'processId':_0x3bd569[_0x223424(0x127)]()[_0x223424(0x148)]()},_0x2e0e5e={};_0x2e0e5e[_0x223424(0x140)]=_0x199283;const _0x576d59={};_0x576d59[_0x223424(0x12b)]=_0x5867f0;const _0x4dd0d6={'platformIndex':_0x1581cf,'testFrameworkName':_0x436bb7,'testFrameworkVersion':_0x450f14,'testFrameworkState':_0x15599c,'testHookState':_0x1f5312,...this[_0x223424(0x136)]&&_0x28e9fe[_0x223424(0x13d)](this[_0x223424(0x136)][_0x223424(0x12d)],FRAMEWORKS[_0x223424(0x14c)])?_0x2e0e5e:_0x576d59,'automationSession':_0x3602e8,'capabilities':_0x431ab0,'executionContext':_0x2fcbd5};this[_0x223424(0x15d)][_0x223424(0x118)](_0x223424(0x163)+util[_0x223424(0x133)](_0x4dd0d6));const _0x3e56d9=await GrpcClient[_0x223424(0x10b)]()[_0x223424(0x14f)](_0x4dd0d6);this[_0x223424(0x15d)][_0x223424(0x118)](_0x223424(0x13a)+_0x4ab0c2+(this[_0x223424(0x136)]&&_0x28e9fe['AjksZ'](this[_0x223424(0x136)]['name'],FRAMEWORKS[_0x223424(0x14c)])?',\x20test_identifier:\x20'+_0x199283:''));}}catch(_0x5e6314){this[_0x223424(0x15d)][_0x223424(0xfc)]('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0x223424(0x133)](_0x5e6314));}}}TestHubModule[a85_0xe5ad20(0x113)]=a85_0xe5ad20(0x130),TestHubModule[a85_0xe5ad20(0x124)]=a85_0xe5ad20(0x14a),module[a85_0xe5ad20(0x135)]=TestHubModule;function a85_0x40da(){const _0x31e7e2=['onAllTestEvents','onPageCreate\x20CBTSession\x20payload:\x20','getRef','927871AGMEiE','util','../browserstackCLI.js','CREATE','../framework/automationFramework.js','testFrameworkState','error','KEY_TEST_FRAMEWORK_VERSION','onPageCreate','../cliUtils.js','getId','jestUtils','171420uqlIfX','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','2099790UpaDtC','../TestInfo.js','getBuildHashedId','split','sendTestFrameworkEvent','getCurrentTestState','Cvccw','getInstance','mtaVz','KEY_PLATFORM_INDEX','../../../helpers/classLogger.js','testInfo','frameworkVersion','Error\x20in\x20sendTestFrameworkEvent:\x20','zzJVi','MODULE_NAME','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','414567indiMw','qUftu','getTestIdentifierFromTestInfo','debug','AKojm','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','getTestUUID','BROWSERSTACK_TESTHUB_JWT','bind','\x20hookState:\x20','../grpcClient.js','6eSRAtd','../state/hookState.js','../../../helpers/helper.js','../../../helpers/testhub/constants','KEY_TEST_DEFERRED','POST','O11yHashedID','getProcessId','isLTSSession','from','matchHookRegex','testUuid','../utils/jest-utils.js','name','env','KEY_SESSION_ID','TestHubModule','getModuleName','hookState','format','getContext','exports','testFrameworkData','TEST','ENV_VAR','getState','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','stringify','GnGRf','mhBBI','2|6|4|1|5|8|7|0|3','66212ILaezP','test_identifier','values','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','../framework/constants/testFrameworkConstants.js','keys','retry','91519XemzEe','getLTSSessionId','toString','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','test_deferred','./playwrightDriverModule.js','JEST','testhubConfig','frameworkName','testSessionEvent','forEach','instance','version','length','1746rVyXEQ','recreateIdentifierFromTestInfo','../../../helpers/test-observability/constants.js','KEY_CAPABILITIES','base64','11zHHnvG','BROWSERSTACK_TESTHUB_UUID','4IyKyUj','3520DFtQZj','logger','registerObserver','./loadTestModule.js','testFrameworkEvent','page'];a85_0x40da=function(){return _0x31e7e2;};return a85_0x40da();}
@@ -1 +1 @@
1
- const a86_0x1d76b0=a86_0x7a61;function a86_0x4ad2(){const _0x4abbcb=['AutomationFrameworkState.CREATE','toString','106bALyLH','AutomationFrameworkState.IDLE','7907DFhWiA','fKxyt','aIIXy','freeze','4462255XBdeFV','6foiatD','AutomationFrameworkState.NONE','ieoBr','11PkxeIr','exports','10982808eWNtDz','find','499764rvqHMD','13621210fbLnda','SyKjI','8tmLWFg','../../utils/constants','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','8WIcXyk','values','hevlr','value','1123275FHDDmu','eMtOz','934077oeVMpn'];a86_0x4ad2=function(){return _0x4abbcb;};return a86_0x4ad2();}(function(_0x49f749,_0x40d5dd){const _0x5475f9=a86_0x7a61,_0x58de63=_0x49f749();while(!![]){try{const _0xae2374=-parseInt(_0x5475f9(0x193))/0x1*(parseInt(_0x5475f9(0x191))/0x2)+parseInt(_0x5475f9(0x18e))/0x3*(parseInt(_0x5475f9(0x185))/0x4)+parseInt(_0x5475f9(0x18c))/0x5+parseInt(_0x5475f9(0x198))/0x6*(parseInt(_0x5475f9(0x197))/0x7)+-parseInt(_0x5475f9(0x188))/0x8*(-parseInt(_0x5475f9(0x180))/0x9)+-parseInt(_0x5475f9(0x183))/0xa*(parseInt(_0x5475f9(0x17e))/0xb)+-parseInt(_0x5475f9(0x182))/0xc;if(_0xae2374===_0x40d5dd)break;else _0x58de63['push'](_0x58de63['shift']());}catch(_0x4d334e){_0x58de63['push'](_0x58de63['shift']());}}}(a86_0x4ad2,0xd7687));const {PLAYWRIGHT}=require(a86_0x1d76b0(0x186)),a86_0x58f624={};a86_0x58f624[a86_0x1d76b0(0x18b)]=0x0,a86_0x58f624[a86_0x1d76b0(0x190)]=function(){const _0x1b25ac=a86_0x1d76b0,_0x4e3537={};_0x4e3537[_0x1b25ac(0x194)]=_0x1b25ac(0x17c);const _0x42192e=_0x4e3537;return _0x42192e[_0x1b25ac(0x194)];};const a86_0x20f229={};a86_0x20f229[a86_0x1d76b0(0x18b)]=0x1,a86_0x20f229[a86_0x1d76b0(0x190)]=function(){const _0x5e90cf=a86_0x1d76b0,_0x40507b={};_0x40507b['eMtOz']=_0x5e90cf(0x18f);const _0x441b20=_0x40507b;return _0x441b20[_0x5e90cf(0x18d)];};const a86_0x11c6b1={};a86_0x11c6b1['value']=0x2,a86_0x11c6b1[a86_0x1d76b0(0x190)]=function(){const _0x3bccbe=a86_0x1d76b0,_0x59e14d={};_0x59e14d[_0x3bccbe(0x18a)]=_0x3bccbe(0x187);const _0x529dfe=_0x59e14d;return _0x529dfe['hevlr'];};const a86_0x571ded={};a86_0x571ded['value']=0x3,a86_0x571ded[a86_0x1d76b0(0x190)]=function(){const _0x136056=a86_0x1d76b0,_0x39e302={};_0x39e302[_0x136056(0x184)]='AutomationFrameworkState.EXECUTE';const _0x289411=_0x39e302;return _0x289411[_0x136056(0x184)];};function a86_0x7a61(_0x555a04,_0x3f67fd){const _0x4ad273=a86_0x4ad2();return a86_0x7a61=function(_0x7a6194,_0x58a37d){_0x7a6194=_0x7a6194-0x17c;let _0x572ae6=_0x4ad273[_0x7a6194];return _0x572ae6;},a86_0x7a61(_0x555a04,_0x3f67fd);}const a86_0x247b2f={};a86_0x247b2f[a86_0x1d76b0(0x18b)]=0x4,a86_0x247b2f[a86_0x1d76b0(0x190)]=function(){const _0x5b5b93=a86_0x1d76b0,_0x5f14fa={};_0x5f14fa[_0x5b5b93(0x17d)]=_0x5b5b93(0x192);const _0x4dec11=_0x5f14fa;return _0x4dec11[_0x5b5b93(0x17d)];};const a86_0x125102={};a86_0x125102['value']=0x5,a86_0x125102['toString']=function(){const _0x1c1e5d=a86_0x1d76b0,_0xa4c855={};_0xa4c855[_0x1c1e5d(0x195)]='AutomationFrameworkState.QUIT';const _0x2eb241=_0xa4c855;return _0x2eb241['aIIXy'];};const AutomationFrameworkState=Object[a86_0x1d76b0(0x196)]({'NONE':a86_0x58f624,'CREATE':a86_0x20f229,'PLAYWRIGHT_DISPATCH':a86_0x11c6b1,'EXECUTE':a86_0x571ded,'IDLE':a86_0x247b2f,'QUIT':a86_0x125102,'fromValue'(_0x35dd55){const _0x79cfe6=a86_0x1d76b0;return Object[_0x79cfe6(0x189)](AutomationFrameworkState)[_0x79cfe6(0x181)](_0x1cfc30=>_0x1cfc30[_0x79cfe6(0x18b)]===_0x35dd55);}});module[a86_0x1d76b0(0x17f)]=AutomationFrameworkState;
1
+ const a86_0x12cc07=a86_0x4d19;(function(_0x26e631,_0x1e00b5){const _0x140899=a86_0x4d19,_0x21c42a=_0x26e631();while(!![]){try{const _0x24025c=-parseInt(_0x140899(0x12b))/0x1*(-parseInt(_0x140899(0x137))/0x2)+-parseInt(_0x140899(0x131))/0x3*(-parseInt(_0x140899(0x136))/0x4)+parseInt(_0x140899(0x123))/0x5*(parseInt(_0x140899(0x130))/0x6)+-parseInt(_0x140899(0x135))/0x7*(parseInt(_0x140899(0x128))/0x8)+-parseInt(_0x140899(0x134))/0x9+parseInt(_0x140899(0x11f))/0xa+-parseInt(_0x140899(0x13a))/0xb*(-parseInt(_0x140899(0x126))/0xc);if(_0x24025c===_0x1e00b5)break;else _0x21c42a['push'](_0x21c42a['shift']());}catch(_0x147ac7){_0x21c42a['push'](_0x21c42a['shift']());}}}(a86_0x3753,0x34931));const {PLAYWRIGHT}=require('../../utils/constants'),a86_0x4eab46={};a86_0x4eab46['value']=0x0,a86_0x4eab46[a86_0x12cc07(0x129)]=function(){const _0x597cc1=a86_0x12cc07,_0x596cfa={};_0x596cfa[_0x597cc1(0x120)]=_0x597cc1(0x12e);const _0x30e6be=_0x596cfa;return _0x30e6be[_0x597cc1(0x120)];};const a86_0xe698e7={};function a86_0x4d19(_0x4c48cf,_0x4821bf){const _0x375328=a86_0x3753();return a86_0x4d19=function(_0x4d1999,_0x23b677){_0x4d1999=_0x4d1999-0x11e;let _0x3b86ff=_0x375328[_0x4d1999];return _0x3b86ff;},a86_0x4d19(_0x4c48cf,_0x4821bf);}a86_0xe698e7[a86_0x12cc07(0x121)]=0x1,a86_0xe698e7['toString']=function(){const _0x4fcbd6=a86_0x12cc07,_0x51497f={};_0x51497f[_0x4fcbd6(0x11e)]=_0x4fcbd6(0x127);const _0x56f1a8=_0x51497f;return _0x56f1a8[_0x4fcbd6(0x11e)];};const a86_0x33a0af={};a86_0x33a0af[a86_0x12cc07(0x121)]=0x2,a86_0x33a0af['toString']=function(){const _0x420ff7=a86_0x12cc07,_0x3aab07={};_0x3aab07[_0x420ff7(0x132)]=_0x420ff7(0x12f);const _0x348fa7=_0x3aab07;return _0x348fa7[_0x420ff7(0x132)];};const a86_0x36d09f={};a86_0x36d09f[a86_0x12cc07(0x121)]=0x3,a86_0x36d09f['toString']=function(){const _0x51d237=a86_0x12cc07,_0x2f373d={};_0x2f373d[_0x51d237(0x12c)]=_0x51d237(0x133);const _0x444160=_0x2f373d;return _0x444160[_0x51d237(0x12c)];};const a86_0x2b31ad={};a86_0x2b31ad[a86_0x12cc07(0x121)]=0x4,a86_0x2b31ad[a86_0x12cc07(0x129)]=function(){const _0x25e744=a86_0x12cc07,_0x552340={};_0x552340[_0x25e744(0x12a)]=_0x25e744(0x138);const _0x2d5f43=_0x552340;return _0x2d5f43['FClvh'];};const a86_0x41ca78={};function a86_0x3753(){const _0x60411c=['values','94272zNZYka','AutomationFrameworkState.CREATE','182904RrjWkI','toString','FClvh','2TSTrUQ','KzjWf','exports','AutomationFrameworkState.NONE','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','300nGtGWA','1245tuBDHP','KpSPx','AutomationFrameworkState.EXECUTE','2694546AueEQR','28RiywKW','712pWCkEV','374758NsMFdH','AutomationFrameworkState.IDLE','find','33NssrTr','FjoUU','1083450akPvxO','zAOZP','value','freeze','2565OOTbfH','rPUYM'];a86_0x3753=function(){return _0x60411c;};return a86_0x3753();}a86_0x41ca78[a86_0x12cc07(0x121)]=0x5,a86_0x41ca78[a86_0x12cc07(0x129)]=function(){const _0x4efc42=a86_0x12cc07,_0x44b611={};_0x44b611[_0x4efc42(0x124)]='AutomationFrameworkState.QUIT';const _0x2f6fa6=_0x44b611;return _0x2f6fa6[_0x4efc42(0x124)];};const AutomationFrameworkState=Object[a86_0x12cc07(0x122)]({'NONE':a86_0x4eab46,'CREATE':a86_0xe698e7,'PLAYWRIGHT_DISPATCH':a86_0x33a0af,'EXECUTE':a86_0x36d09f,'IDLE':a86_0x2b31ad,'QUIT':a86_0x41ca78,'fromValue'(_0x451d0b){const _0x2b0854=a86_0x12cc07;return Object[_0x2b0854(0x125)](AutomationFrameworkState)[_0x2b0854(0x139)](_0x43a340=>_0x43a340[_0x2b0854(0x121)]===_0x451d0b);}});module[a86_0x12cc07(0x12d)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- function a87_0x20a5(_0x6d0376,_0x13e6bd){const _0x34641e=a87_0x3464();return a87_0x20a5=function(_0x20a5d6,_0x103ff8){_0x20a5d6=_0x20a5d6-0x16a;let _0x4f7a8a=_0x34641e[_0x20a5d6];return _0x4f7a8a;},a87_0x20a5(_0x6d0376,_0x13e6bd);}const a87_0x410eba=a87_0x20a5;(function(_0x1c6a1e,_0x3d13d8){const _0x5ebc4e=a87_0x20a5,_0x5dc8a7=_0x1c6a1e();while(!![]){try{const _0x36d8c4=-parseInt(_0x5ebc4e(0x179))/0x1*(parseInt(_0x5ebc4e(0x16f))/0x2)+parseInt(_0x5ebc4e(0x16b))/0x3*(-parseInt(_0x5ebc4e(0x173))/0x4)+-parseInt(_0x5ebc4e(0x177))/0x5+parseInt(_0x5ebc4e(0x176))/0x6*(parseInt(_0x5ebc4e(0x16d))/0x7)+parseInt(_0x5ebc4e(0x16a))/0x8+-parseInt(_0x5ebc4e(0x175))/0x9+parseInt(_0x5ebc4e(0x17b))/0xa;if(_0x36d8c4===_0x3d13d8)break;else _0x5dc8a7['push'](_0x5dc8a7['shift']());}catch(_0x19e0c2){_0x5dc8a7['push'](_0x5dc8a7['shift']());}}}(a87_0x3464,0xad094));const a87_0xd95cf0={};a87_0xd95cf0[a87_0x410eba(0x16c)]=0x0,a87_0xd95cf0[a87_0x410eba(0x17e)]=function(){const _0x481833=a87_0x410eba,_0x34bcda={};_0x34bcda['xwceG']=_0x481833(0x170);const _0xe0afcd=_0x34bcda;return _0xe0afcd[_0x481833(0x17d)];};const a87_0x1b62d8={};a87_0x1b62d8[a87_0x410eba(0x16c)]=0x1,a87_0x1b62d8[a87_0x410eba(0x17e)]=function(){const _0x2c9878=a87_0x410eba,_0x3fd09c={};_0x3fd09c['nAdEh']=_0x2c9878(0x16e);const _0x160c69=_0x3fd09c;return _0x160c69[_0x2c9878(0x174)];};const a87_0x45dd01={};a87_0x45dd01[a87_0x410eba(0x16c)]=0x2,a87_0x45dd01[a87_0x410eba(0x17e)]=function(){const _0x1c3f94=a87_0x410eba,_0x398b03={};_0x398b03[_0x1c3f94(0x17c)]='HookState.POST';const _0x383a1f=_0x398b03;return _0x383a1f[_0x1c3f94(0x17c)];};function a87_0x3464(){const _0x268bdb=['value','3775233KWsWfk','HookState.PRE','4GetQfz','HookState.NONE','values','exports','8aUoazs','nAdEh','6960879HLKtKp','6DmBEdV','3171845eYeLrj','freeze','132103LPAxXL','find','10929470jiLyEL','ThnZI','xwceG','toString','9087312fUTYCO','581127ZtNERa'];a87_0x3464=function(){return _0x268bdb;};return a87_0x3464();}const HookState=Object[a87_0x410eba(0x178)]({'NONE':a87_0xd95cf0,'PRE':a87_0x1b62d8,'POST':a87_0x45dd01,'fromValue'(_0x3e1b45){const _0x37d5eb=a87_0x410eba;return Object[_0x37d5eb(0x171)](HookState)[_0x37d5eb(0x17a)](_0x3a36ea=>_0x3a36ea[_0x37d5eb(0x16c)]===_0x3e1b45);}});module[a87_0x410eba(0x172)]=HookState;
1
+ const a87_0x14f69d=a87_0x31c4;(function(_0x2d68cb,_0x4b0092){const _0x135090=a87_0x31c4,_0x1a01a6=_0x2d68cb();while(!![]){try{const _0x305546=-parseInt(_0x135090(0x1b5))/0x1*(parseInt(_0x135090(0x1b0))/0x2)+parseInt(_0x135090(0x1af))/0x3*(-parseInt(_0x135090(0x1b9))/0x4)+parseInt(_0x135090(0x1bd))/0x5*(parseInt(_0x135090(0x1c4))/0x6)+-parseInt(_0x135090(0x1c0))/0x7*(-parseInt(_0x135090(0x1bf))/0x8)+-parseInt(_0x135090(0x1be))/0x9*(parseInt(_0x135090(0x1b8))/0xa)+-parseInt(_0x135090(0x1ba))/0xb*(parseInt(_0x135090(0x1b1))/0xc)+parseInt(_0x135090(0x1bc))/0xd;if(_0x305546===_0x4b0092)break;else _0x1a01a6['push'](_0x1a01a6['shift']());}catch(_0x3f2ca1){_0x1a01a6['push'](_0x1a01a6['shift']());}}}(a87_0x1545,0xa0d88));const a87_0x580e73={};function a87_0x31c4(_0x5b61db,_0x9c9305){const _0x15455f=a87_0x1545();return a87_0x31c4=function(_0x31c44c,_0x452e80){_0x31c44c=_0x31c44c-0x1ad;let _0x3ae6bc=_0x15455f[_0x31c44c];return _0x3ae6bc;},a87_0x31c4(_0x5b61db,_0x9c9305);}a87_0x580e73[a87_0x14f69d(0x1b3)]=0x0,a87_0x580e73[a87_0x14f69d(0x1c3)]=function(){const _0x3b4ab3=a87_0x14f69d,_0x23478f={};_0x23478f['GEyGH']=_0x3b4ab3(0x1ad);const _0x28dfa4=_0x23478f;return _0x28dfa4[_0x3b4ab3(0x1b7)];};const a87_0x1b2a0b={};a87_0x1b2a0b['value']=0x1,a87_0x1b2a0b[a87_0x14f69d(0x1c3)]=function(){const _0x3f0611=a87_0x14f69d,_0x6ac6af={};_0x6ac6af[_0x3f0611(0x1ae)]=_0x3f0611(0x1c2);const _0x1ccde8=_0x6ac6af;return _0x1ccde8[_0x3f0611(0x1ae)];};const a87_0x422b3a={};a87_0x422b3a['value']=0x2,a87_0x422b3a['toString']=function(){const _0x45abc1=a87_0x14f69d,_0x2d1654={};_0x2d1654[_0x45abc1(0x1b2)]=_0x45abc1(0x1c1);const _0x4ab8b7=_0x2d1654;return _0x4ab8b7['tNyVO'];};const HookState=Object[a87_0x14f69d(0x1b4)]({'NONE':a87_0x580e73,'PRE':a87_0x1b2a0b,'POST':a87_0x422b3a,'fromValue'(_0x347dbc){const _0x37b4a1=a87_0x14f69d;return Object[_0x37b4a1(0x1b6)](HookState)['find'](_0x2d21d5=>_0x2d21d5[_0x37b4a1(0x1b3)]===_0x347dbc);}});module[a87_0x14f69d(0x1bb)]=HookState;function a87_0x1545(){const _0x559b29=['9037EOfQRi','HookState.POST','HookState.PRE','toString','18QVMFJS','HookState.NONE','MqWNe','6RysdLk','45736xZCHvq','12rbkxgB','tNyVO','value','freeze','48ECORpT','values','GEyGH','2290RMIDCz','309992IXmHAv','14087469fQAcmp','exports','37010532PhIWix','39475zujvnk','14103HKhIxN','4216xXHitO'];a87_0x1545=function(){return _0x559b29;};return a87_0x1545();}
@@ -1 +1 @@
1
- const a88_0x448d54=a88_0x26e7;(function(_0x42a544,_0x50b477){const _0x22ce49=a88_0x26e7,_0x2f0c50=_0x42a544();while(!![]){try{const _0x139b7b=-parseInt(_0x22ce49(0x1a4))/0x1+parseInt(_0x22ce49(0x18f))/0x2+-parseInt(_0x22ce49(0x192))/0x3+-parseInt(_0x22ce49(0x199))/0x4*(-parseInt(_0x22ce49(0x190))/0x5)+parseInt(_0x22ce49(0x19b))/0x6*(-parseInt(_0x22ce49(0x18e))/0x7)+parseInt(_0x22ce49(0x195))/0x8*(parseInt(_0x22ce49(0x194))/0x9)+parseInt(_0x22ce49(0x196))/0xa;if(_0x139b7b===_0x50b477)break;else _0x2f0c50['push'](_0x2f0c50['shift']());}catch(_0x3175ae){_0x2f0c50['push'](_0x2f0c50['shift']());}}}(a88_0x5584,0x6596a));function a88_0x5584(){const _0x107922=['TestFrameworkState.STEP','4uxsbLc','DbVHs','52758wybqea','LFJGo','TestFrameworkState.LOG_REPORT','hQMzH','NqoUt','TibLn','TestFrameworkState.AFTER_ALL','pFeNQ','toString','29254qlDOde','exports','TestFrameworkState.AFTER_EACH','ODnjI','FatKg','freeze','YZzAO','usYZY','values','315xWyXco','234460lJMIHN','1448060IvpVRN','TestFrameworkState.TEST','796146ZdtJIv','SvybN','4446018qIsurF','8ksJosq','2055830wfTiOB','value'];a88_0x5584=function(){return _0x107922;};return a88_0x5584();}const a88_0x372300={};a88_0x372300[a88_0x448d54(0x197)]=0x0,a88_0x372300[a88_0x448d54(0x1a3)]=function(){const _0x39248c=a88_0x448d54,_0x11c914={};_0x11c914[_0x39248c(0x1a8)]='TestFrameworkState.NONE';const _0x43291f=_0x11c914;return _0x43291f['FatKg'];};function a88_0x26e7(_0x1db42b,_0x266811){const _0x5584a0=a88_0x5584();return a88_0x26e7=function(_0x26e741,_0xb37adb){_0x26e741=_0x26e741-0x18e;let _0x10c510=_0x5584a0[_0x26e741];return _0x10c510;},a88_0x26e7(_0x1db42b,_0x266811);}const a88_0x304df9={};a88_0x304df9[a88_0x448d54(0x197)]=0x1,a88_0x304df9[a88_0x448d54(0x1a3)]=function(){const _0x3e427c=a88_0x448d54,_0x1047e2={};_0x1047e2[_0x3e427c(0x1ab)]='TestFrameworkState.BEFORE_ALL';const _0x290641=_0x1047e2;return _0x290641[_0x3e427c(0x1ab)];};const a88_0x3727ea={};a88_0x3727ea['value']=0x2,a88_0x3727ea[a88_0x448d54(0x1a3)]=function(){const _0x76b615=a88_0x448d54,_0x5c90cd={};_0x5c90cd['YZzAO']='TestFrameworkState.LOG';const _0x271485=_0x5c90cd;return _0x271485[_0x76b615(0x1aa)];};const a88_0x1173f0={};a88_0x1173f0[a88_0x448d54(0x197)]=0x3,a88_0x1173f0[a88_0x448d54(0x1a3)]=function(){const _0x7a0b28=a88_0x448d54,_0x4ee3c8={};_0x4ee3c8['hQMzH']='TestFrameworkState.SETUP_FIXTURE';const _0x315d70=_0x4ee3c8;return _0x315d70[_0x7a0b28(0x19e)];};const a88_0x51ec9c={};a88_0x51ec9c['value']=0x4,a88_0x51ec9c['toString']=function(){const _0x5c5bd2={};_0x5c5bd2['Ejwzg']='TestFrameworkState.INIT_TEST';const _0x463361=_0x5c5bd2;return _0x463361['Ejwzg'];};const a88_0x4a4176={};a88_0x4a4176[a88_0x448d54(0x197)]=0x5,a88_0x4a4176[a88_0x448d54(0x1a3)]=function(){const _0x12771b=a88_0x448d54,_0x23637b={};_0x23637b[_0x12771b(0x19f)]='TestFrameworkState.BEFORE_EACH';const _0x4cf314=_0x23637b;return _0x4cf314[_0x12771b(0x19f)];};const a88_0x25e2ae={};a88_0x25e2ae[a88_0x448d54(0x197)]=0x6,a88_0x25e2ae['toString']=function(){const _0x5a2a27=a88_0x448d54,_0x5357d3={};_0x5357d3['DbVHs']=_0x5a2a27(0x1a6);const _0x51c65b=_0x5357d3;return _0x51c65b[_0x5a2a27(0x19a)];};const a88_0x1e1023={};a88_0x1e1023[a88_0x448d54(0x197)]=0x7,a88_0x1e1023['toString']=function(){const _0xfa3ae0=a88_0x448d54,_0xcdf365={};_0xcdf365[_0xfa3ae0(0x1a2)]=_0xfa3ae0(0x191);const _0x850d54=_0xcdf365;return _0x850d54['pFeNQ'];};const a88_0x168676={};a88_0x168676[a88_0x448d54(0x197)]=0x8,a88_0x168676[a88_0x448d54(0x1a3)]=function(){const _0x5806a0=a88_0x448d54,_0x4d5d1c={};_0x4d5d1c[_0x5806a0(0x1a0)]=_0x5806a0(0x198);const _0x315410=_0x4d5d1c;return _0x315410[_0x5806a0(0x1a0)];};const a88_0x3a1b92={};a88_0x3a1b92[a88_0x448d54(0x197)]=0x9,a88_0x3a1b92['toString']=function(){const _0x26b66f=a88_0x448d54,_0x39954a={};_0x39954a['LFJGo']=_0x26b66f(0x19d);const _0xd97e8b=_0x39954a;return _0xd97e8b[_0x26b66f(0x19c)];};const a88_0x4e956d={};a88_0x4e956d['value']=0xa,a88_0x4e956d['toString']=function(){const _0x26b9ae=a88_0x448d54,_0x258b08={};_0x258b08['ODnjI']=_0x26b9ae(0x1a1);const _0x3cbfa6=_0x258b08;return _0x3cbfa6[_0x26b9ae(0x1a7)];};const a88_0x5562f7={};a88_0x5562f7[a88_0x448d54(0x197)]=0xb,a88_0x5562f7[a88_0x448d54(0x1a3)]=function(){const _0x5a663b=a88_0x448d54,_0x1660a7={};_0x1660a7[_0x5a663b(0x193)]='TestFrameworkState.TEST_SCREENSHOT';const _0x55f79e=_0x1660a7;return _0x55f79e[_0x5a663b(0x193)];};const TestFrameworkState=Object[a88_0x448d54(0x1a9)]({'NONE':a88_0x372300,'BEFORE_ALL':a88_0x304df9,'LOG':a88_0x3727ea,'SETUP_FIXTURE':a88_0x1173f0,'INIT_TEST':a88_0x51ec9c,'BEFORE_EACH':a88_0x4a4176,'AFTER_EACH':a88_0x25e2ae,'TEST':a88_0x1e1023,'STEP':a88_0x168676,'LOG_REPORT':a88_0x3a1b92,'AFTER_ALL':a88_0x4e956d,'TEST_SCREENSHOT':a88_0x5562f7,'fromValue'(_0x163733){const _0x2c2074=a88_0x448d54;return Object[_0x2c2074(0x1ac)](TestFrameworkState)['find'](_0x373611=>_0x373611['value']===_0x163733);}});module[a88_0x448d54(0x1a5)]=TestFrameworkState;
1
+ const a88_0x4d5763=a88_0x2baf;(function(_0x4c4d26,_0xfa0658){const _0x3131f5=a88_0x2baf,_0x5c8a08=_0x4c4d26();while(!![]){try{const _0x173f33=-parseInt(_0x3131f5(0x158))/0x1*(-parseInt(_0x3131f5(0x14f))/0x2)+-parseInt(_0x3131f5(0x138))/0x3*(parseInt(_0x3131f5(0x14e))/0x4)+parseInt(_0x3131f5(0x155))/0x5*(parseInt(_0x3131f5(0x156))/0x6)+parseInt(_0x3131f5(0x136))/0x7+parseInt(_0x3131f5(0x13b))/0x8*(parseInt(_0x3131f5(0x14a))/0x9)+parseInt(_0x3131f5(0x154))/0xa*(parseInt(_0x3131f5(0x14d))/0xb)+-parseInt(_0x3131f5(0x151))/0xc;if(_0x173f33===_0xfa0658)break;else _0x5c8a08['push'](_0x5c8a08['shift']());}catch(_0x4e6e24){_0x5c8a08['push'](_0x5c8a08['shift']());}}}(a88_0x5782,0x58e66));const a88_0xf5bf9e={};a88_0xf5bf9e['value']=0x0,a88_0xf5bf9e[a88_0x4d5763(0x146)]=function(){const _0xa05937=a88_0x4d5763,_0x3564f8={};_0x3564f8[_0xa05937(0x141)]=_0xa05937(0x140);const _0x2fc8ab=_0x3564f8;return _0x2fc8ab['CrRwH'];};const a88_0x201ca6={};a88_0x201ca6[a88_0x4d5763(0x144)]=0x1,a88_0x201ca6[a88_0x4d5763(0x146)]=function(){const _0x58a105=a88_0x4d5763,_0x377e19={};_0x377e19[_0x58a105(0x157)]='TestFrameworkState.BEFORE_ALL';const _0x2e9ff2=_0x377e19;return _0x2e9ff2['NBZej'];};const a88_0x334ebf={};a88_0x334ebf[a88_0x4d5763(0x144)]=0x2,a88_0x334ebf[a88_0x4d5763(0x146)]=function(){const _0x5d5c33=a88_0x4d5763,_0x1020c5={};_0x1020c5[_0x5d5c33(0x147)]=_0x5d5c33(0x15a);const _0xd2b7b6=_0x1020c5;return _0xd2b7b6[_0x5d5c33(0x147)];};const a88_0x3975f0={};function a88_0x2baf(_0x38d509,_0x3b7608){const _0x5782f0=a88_0x5782();return a88_0x2baf=function(_0x2baf87,_0x4de8db){_0x2baf87=_0x2baf87-0x135;let _0x7381d5=_0x5782f0[_0x2baf87];return _0x7381d5;},a88_0x2baf(_0x38d509,_0x3b7608);}a88_0x3975f0['value']=0x3,a88_0x3975f0['toString']=function(){const _0x576814=a88_0x4d5763,_0x3ec78a={};_0x3ec78a[_0x576814(0x13c)]=_0x576814(0x13f);const _0x5efd11=_0x3ec78a;return _0x5efd11[_0x576814(0x13c)];};const a88_0x467917={};a88_0x467917[a88_0x4d5763(0x144)]=0x4,a88_0x467917[a88_0x4d5763(0x146)]=function(){const _0x18f181=a88_0x4d5763,_0x1548da={};_0x1548da['WJLAR']='TestFrameworkState.INIT_TEST';const _0x2c481b=_0x1548da;return _0x2c481b[_0x18f181(0x13e)];};const a88_0x46d8dc={};function a88_0x5782(){const _0x1384c5=['jeokx','TestFrameworkState.LOG_REPORT','value','TestFrameworkState.TEST_SCREENSHOT','toString','qQLaf','dULYw','TestFrameworkState.BEFORE_EACH','5245929ClgKEc','yUDNy','RIuBT','187zIdPiS','24SoOVYg','612lkAoBc','freeze','9093348vMGKDd','sKRVw','values','209610myUfnv','320aKwCBA','11034irmLBL','NBZej','1394fMvXvX','find','TestFrameworkState.LOG','TestFrameworkState.AFTER_EACH','1887487gqgwVk','vQilm','315603WVFWax','TestFrameworkState.STEP','fjSEv','8tHceYx','VazzP','TestFrameworkState.AFTER_ALL','WJLAR','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.NONE','CrRwH'];a88_0x5782=function(){return _0x1384c5;};return a88_0x5782();}a88_0x46d8dc[a88_0x4d5763(0x144)]=0x5,a88_0x46d8dc[a88_0x4d5763(0x146)]=function(){const _0x4fc2b4=a88_0x4d5763,_0x3d205a={};_0x3d205a[_0x4fc2b4(0x13a)]=_0x4fc2b4(0x149);const _0x3c8cee=_0x3d205a;return _0x3c8cee['fjSEv'];};const a88_0x4acbd3={};a88_0x4acbd3[a88_0x4d5763(0x144)]=0x6,a88_0x4acbd3[a88_0x4d5763(0x146)]=function(){const _0x3d1bc4=a88_0x4d5763,_0x304dfe={};_0x304dfe[_0x3d1bc4(0x152)]=_0x3d1bc4(0x135);const _0x147ded=_0x304dfe;return _0x147ded[_0x3d1bc4(0x152)];};const a88_0x1e532c={};a88_0x1e532c['value']=0x7,a88_0x1e532c['toString']=function(){const _0x596be9=a88_0x4d5763,_0x30ca8d={};_0x30ca8d[_0x596be9(0x148)]='TestFrameworkState.TEST';const _0x245533=_0x30ca8d;return _0x245533[_0x596be9(0x148)];};const a88_0x296930={};a88_0x296930['value']=0x8,a88_0x296930[a88_0x4d5763(0x146)]=function(){const _0xc46175=a88_0x4d5763,_0xe68917={};_0xe68917[_0xc46175(0x142)]=_0xc46175(0x139);const _0x1d2788=_0xe68917;return _0x1d2788[_0xc46175(0x142)];};const a88_0x5e7d56={};a88_0x5e7d56[a88_0x4d5763(0x144)]=0x9,a88_0x5e7d56[a88_0x4d5763(0x146)]=function(){const _0x5006c9=a88_0x4d5763,_0xf62ffe={};_0xf62ffe[_0x5006c9(0x137)]=_0x5006c9(0x143);const _0x488698=_0xf62ffe;return _0x488698[_0x5006c9(0x137)];};const a88_0x8b54d8={};a88_0x8b54d8[a88_0x4d5763(0x144)]=0xa,a88_0x8b54d8['toString']=function(){const _0x31a13f=a88_0x4d5763,_0x39ef74={};_0x39ef74['RIuBT']=_0x31a13f(0x13d);const _0x4cf08b=_0x39ef74;return _0x4cf08b[_0x31a13f(0x14c)];};const a88_0x365abe={};a88_0x365abe[a88_0x4d5763(0x144)]=0xb,a88_0x365abe[a88_0x4d5763(0x146)]=function(){const _0x13f6cf=a88_0x4d5763,_0x1c6e3d={};_0x1c6e3d[_0x13f6cf(0x14b)]=_0x13f6cf(0x145);const _0x339ab7=_0x1c6e3d;return _0x339ab7['yUDNy'];};const TestFrameworkState=Object[a88_0x4d5763(0x150)]({'NONE':a88_0xf5bf9e,'BEFORE_ALL':a88_0x201ca6,'LOG':a88_0x334ebf,'SETUP_FIXTURE':a88_0x3975f0,'INIT_TEST':a88_0x467917,'BEFORE_EACH':a88_0x46d8dc,'AFTER_EACH':a88_0x4acbd3,'TEST':a88_0x1e532c,'STEP':a88_0x296930,'LOG_REPORT':a88_0x5e7d56,'AFTER_ALL':a88_0x8b54d8,'TEST_SCREENSHOT':a88_0x365abe,'fromValue'(_0x47b6f2){const _0x5a7a16=a88_0x4d5763;return Object[_0x5a7a16(0x153)](TestFrameworkState)[_0x5a7a16(0x159)](_0x429b0a=>_0x429b0a[_0x5a7a16(0x144)]===_0x47b6f2);}});module['exports']=TestFrameworkState;
@@ -1 +1 @@
1
- const a89_0xdbdb3=a89_0xde36;(function(_0x2bb1c3,_0x28ec65){const _0x56d3f4=a89_0xde36,_0x4cb29d=_0x2bb1c3();while(!![]){try{const _0x43ba56=parseInt(_0x56d3f4(0x15f))/0x1*(parseInt(_0x56d3f4(0x106))/0x2)+parseInt(_0x56d3f4(0x15d))/0x3+-parseInt(_0x56d3f4(0x10f))/0x4+-parseInt(_0x56d3f4(0x14b))/0x5+-parseInt(_0x56d3f4(0x10d))/0x6+parseInt(_0x56d3f4(0x117))/0x7+parseInt(_0x56d3f4(0x17a))/0x8;if(_0x43ba56===_0x28ec65)break;else _0x4cb29d['push'](_0x4cb29d['shift']());}catch(_0x5a3ee3){_0x4cb29d['push'](_0x4cb29d['shift']());}}}(a89_0x32c8,0xd2ac6));const os=require('os'),fs=require('fs'),path=require(a89_0xdbdb3(0xfc)),util=require(a89_0xdbdb3(0x135)),BrowserstackCLI=require('./browserstackCLI'),https=require(a89_0xdbdb3(0x15e)),http=require(a89_0xdbdb3(0x124)),AutomationFramework=require(a89_0xdbdb3(0x175)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a89_0xdbdb3(0x12c)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a89_0xdbdb3(0x14a));function a89_0xde36(_0x3769cd,_0x4da066){const _0x32c8b6=a89_0x32c8();return a89_0xde36=function(_0xde3698,_0x21d50f){_0xde3698=_0xde3698-0xfa;let _0x1e21d2=_0x32c8b6[_0xde3698];return _0x1e21d2;},a89_0xde36(_0x3769cd,_0x4da066);}class uploadAttachmentsManager{static [a89_0xdbdb3(0x114)]=createClassLogger(a89_0xdbdb3(0x125));static[a89_0xdbdb3(0x138)](_0x441f41,_0x1dbae0=![]){const _0x21f929=a89_0xdbdb3,_0x194bfa={};_0x194bfa[_0x21f929(0x115)]=function(_0x3af44d,_0xf71b10){return _0x3af44d/_0xf71b10;},_0x194bfa[_0x21f929(0x173)]=function(_0x3b3d88,_0x10c7c1){return _0x3b3d88*_0x10c7c1;},_0x194bfa[_0x21f929(0x10b)]=function(_0x22638c,_0xf20617){return _0x22638c>_0xf20617;},_0x194bfa[_0x21f929(0x134)]=_0x21f929(0x108),_0x194bfa[_0x21f929(0x13a)]=_0x21f929(0x152),_0x194bfa[_0x21f929(0x16d)]=function(_0x125ab1,_0x10a737){return _0x125ab1===_0x10a737;},_0x194bfa['jaVkg']=_0x21f929(0x128),_0x194bfa[_0x21f929(0x113)]=_0x21f929(0x169),_0x194bfa[_0x21f929(0x16a)]=_0x21f929(0x161),_0x194bfa[_0x21f929(0x119)]=_0x21f929(0x13d),_0x194bfa['DiZAE']=_0x21f929(0x139),_0x194bfa[_0x21f929(0x11a)]=_0x21f929(0x111),_0x194bfa[_0x21f929(0x14e)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x194bfa[_0x21f929(0x15a)]='Created\x20folder:\x20%s',_0x194bfa[_0x21f929(0x17e)]=function(_0x120e2c,_0x295cf4){return _0x120e2c===_0x295cf4;},_0x194bfa[_0x21f929(0x17b)]=_0x21f929(0x109),_0x194bfa[_0x21f929(0x144)]=_0x21f929(0x163),_0x194bfa['bShrD']='http://',_0x194bfa['NUPnF']=_0x21f929(0x12b),_0x194bfa['CnCsr']=_0x21f929(0xfa),_0x194bfa[_0x21f929(0x140)]=function(_0x59789c,_0x4696b6){return _0x59789c*_0x4696b6;},_0x194bfa[_0x21f929(0x131)]=function(_0x5cb359,_0x391917){return _0x5cb359>_0x391917;},_0x194bfa['VvqlH']=_0x21f929(0x122);const _0x84aec7=_0x194bfa;this[_0x21f929(0x114)]['debug'](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x119)],_0x441f41));const _0x4aa855=os['homedir'](),_0x404e91=path[_0x21f929(0x132)](_0x4aa855,_0x84aec7[_0x21f929(0x12f)]);!fs[_0x21f929(0x14d)](_0x404e91)&&(this[_0x21f929(0x114)][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x11a)],_0x404e91)),fs['mkdirSync'](_0x404e91),this[_0x21f929(0x114)][_0x21f929(0x13f)](util['format'](_0x84aec7[_0x21f929(0x14e)],_0x404e91)));const _0xeda5cf=BrowserstackCLI['getInstance']()[_0x21f929(0x171)][_0x21f929(0x176)]?.[_0x21f929(0x170)]?.[_0x21f929(0x116)]()?.['buildHashedId'],_0x1bc57d=path[_0x21f929(0x132)](_0x404e91,_0xeda5cf);!fs[_0x21f929(0x14d)](_0x1bc57d)&&(fs[_0x21f929(0x145)](_0x1bc57d),this[_0x21f929(0x114)][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x15a)],_0x1bc57d)));if(_0x84aec7[_0x21f929(0x17e)](_0x441f41['trim'](),'')){this['logger'][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7['jvnAR']));return;}if(_0x441f41[_0x21f929(0x141)](_0x84aec7[_0x21f929(0x144)])||_0x441f41[_0x21f929(0x141)](_0x84aec7[_0x21f929(0x107)])){const _0x57d9e6=_0x441f41[_0x21f929(0x141)](_0x84aec7[_0x21f929(0x144)])?https:http,_0x4c2a8d=path[_0x21f929(0x14c)](_0x441f41),_0x5cdd07=path[_0x21f929(0x132)](_0x1bc57d,_0x4c2a8d),_0x5099c7=fs[_0x21f929(0x11f)](_0x5cdd07);_0x57d9e6[_0x21f929(0x16c)](_0x441f41,_0x1cf44a=>{const _0x117193=_0x21f929,_0x5939f8={'eCTcv':function(_0x46cf6c,_0x41e1fc){const _0x2e30fb=a89_0xde36;return _0x84aec7[_0x2e30fb(0x115)](_0x46cf6c,_0x41e1fc);},'KOKwI':function(_0x2e7111,_0x3ebb9e){const _0x46ca3a=a89_0xde36;return _0x84aec7[_0x46ca3a(0x173)](_0x2e7111,_0x3ebb9e);},'xiRrA':function(_0x29e23f,_0x40a816){const _0x2ad222=a89_0xde36;return _0x84aec7[_0x2ad222(0x10b)](_0x29e23f,_0x40a816);},'wFzpJ':_0x84aec7[_0x117193(0x134)],'TDXIE':_0x84aec7[_0x117193(0x13a)]};if(_0x84aec7[_0x117193(0x16d)](_0x1cf44a[_0x117193(0x13e)],0xc8))_0x1cf44a[_0x117193(0x147)](_0x5099c7),_0x5099c7['on'](_0x84aec7[_0x117193(0x164)],()=>{const _0x32c634=_0x117193;_0x5099c7[_0x32c634(0x10e)]();const _0x4705ee=fs[_0x32c634(0x11e)](_0x5cdd07),_0x529ec1=_0x5939f8[_0x32c634(0x101)](_0x4705ee[_0x32c634(0x17d)],_0x5939f8[_0x32c634(0x11c)](0x400,0x400));if(_0x5939f8[_0x32c634(0xfd)](_0x529ec1,0x64)){this[_0x32c634(0x114)][_0x32c634(0x13f)](util[_0x32c634(0x156)](_0x5939f8[_0x32c634(0x179)],_0x529ec1[_0x32c634(0x102)](0x2))),fs['unlinkSync'](_0x5cdd07);return;}this['logger'][_0x32c634(0x13f)](util[_0x32c634(0x156)](_0x5939f8[_0x32c634(0xff)],_0x5cdd07)),uploadAttachmentsManager[_0x32c634(0x137)](_0x5cdd07,_0x1dbae0);});else{this[_0x117193(0x114)]['debug'](util['format'](_0x84aec7['oUfBn'],_0x1cf44a['statusCode'])),_0x5099c7[_0x117193(0x10e)](),fs[_0x117193(0x148)](_0x5cdd07);return;}})['on'](_0x84aec7['NUPnF'],_0x5a17a8=>{const _0xf7c4b2=_0x21f929;this['logger'][_0xf7c4b2(0x13f)](util[_0xf7c4b2(0x156)](_0x84aec7[_0xf7c4b2(0x16a)],_0x5a17a8['message'])),_0x5099c7[_0xf7c4b2(0x10e)](),fs[_0xf7c4b2(0x148)](_0x5cdd07);return;});}else{if(!fs[_0x21f929(0x14d)](_0x441f41)){this['logger']['debug'](util['format'](_0x84aec7[_0x21f929(0x130)],_0x441f41));return;}const _0x4c2d5a=fs[_0x21f929(0x11e)](_0x441f41),_0x17f443=_0x84aec7[_0x21f929(0x115)](_0x4c2d5a[_0x21f929(0x17d)],_0x84aec7['tWqat'](0x400,0x400));if(_0x84aec7[_0x21f929(0x131)](_0x17f443,0x64)){this['logger'][_0x21f929(0x13f)](util[_0x21f929(0x156)](_0x84aec7[_0x21f929(0x168)],_0x17f443[_0x21f929(0x102)](0x2)));return;}const _0x1648df=path[_0x21f929(0x14c)](_0x441f41),_0x5745a8=path['join'](_0x1bc57d,_0x1648df);fs[_0x21f929(0x158)](_0x441f41,_0x5745a8),uploadAttachmentsManager[_0x21f929(0x137)](_0x5745a8,_0x1dbae0);}}static[a89_0xdbdb3(0x137)](_0x238d64,_0x4ffa7d){const _0x314691=a89_0xdbdb3,_0x23e0e4={'YlsZZ':function(_0x56443d,_0x5f5c9e){return _0x56443d(_0x5f5c9e);},'ievNJ':_0x314691(0x167),'pruUD':_0x314691(0x112),'paOoB':function(_0x24f795,_0xd0e5b4){return _0x24f795===_0xd0e5b4;},'bnqrn':_0x314691(0x10c),'habNn':_0x314691(0x123),'nCxkn':_0x314691(0x16f),'RpDPS':'TestLevel','eXCxi':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','pPWSB':_0x314691(0x17c),'DFsIs':function(_0xc1000b,_0x5493dd){return _0xc1000b(_0x5493dd);},'ScttL':_0x314691(0x13b),'pwlyL':'trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','zzWQX':_0x314691(0x103),'EnGLL':_0x314691(0x146)};try{let _0x12e70e;const _0x3829b7=global[_0x314691(0x126)]?.[_0x314691(0x165)]?.[_0x314691(0x160)],_0x4a7b69=_0x23e0e4[_0x314691(0x12d)](require,_0x23e0e4[_0x314691(0x110)]),_0x572f13=_0x23e0e4[_0x314691(0x12d)](require,_0x23e0e4['pruUD']),_0x80a034=_0x4a7b69[_0x314691(0x143)]()[_0x314691(0x100)]()&&_0x23e0e4[_0x314691(0x16b)](_0x572f13[_0x314691(0x127)]()?.['name']?.[_0x314691(0x15b)](),_0x23e0e4[_0x314691(0x120)]);if(_0x80a034){_0x12e70e=global[_0x314691(0x11b)];if(!_0x12e70e){const _0x705226=AutomationFramework[_0x314691(0x10a)]();_0x12e70e=AutomationFramework[_0x314691(0x178)](_0x705226,PlaywrightDriverModule[_0x314691(0x153)],'');}this[_0x314691(0x114)][_0x314691(0x13f)]('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x12e70e);}else{if(!_0x3829b7){const _0x4c0270=AutomationFramework[_0x314691(0x10a)]();_0x12e70e=AutomationFramework[_0x314691(0x178)](_0x4c0270,PlaywrightDriverModule[_0x314691(0x153)],'');}else _0x12e70e=TestInfo[_0x314691(0x16e)](_0x3829b7,_0x3829b7[_0x314691(0x151)]);this['logger']['debug'](_0x314691(0x155)+_0x12e70e);}if(!_0x12e70e){this[_0x314691(0x114)][_0x314691(0x13f)](_0x23e0e4['habNn']);return;}const _0x1cc4b9={[TestFrameworkConstants[_0x314691(0x133)]]:fs[_0x314691(0x11e)](_0x238d64)[_0x314691(0x17d)],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0x238d64),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x238d64,[TestFrameworkConstants[_0x314691(0x13c)]]:_0x4ffa7d?_0x23e0e4[_0x314691(0x136)]:_0x23e0e4[_0x314691(0x15c)]};if(_0x80a034){const _0x3f59d6=_0x4a7b69[_0x314691(0x143)]()['getTestFramework']();if(!_0x3f59d6){this[_0x314691(0x114)]['debug'](_0x23e0e4[_0x314691(0x104)]);return;}const _0x4ce34e=_0x23e0e4[_0x314691(0x12d)](require,_0x23e0e4[_0x314691(0x162)]),_0x3a4a5e=_0x23e0e4[_0x314691(0x166)](require,_0x23e0e4[_0x314691(0x129)]),_0x149438=_0x3f59d6[_0x314691(0x105)](_0x4ce34e[_0x314691(0x11d)],_0x3a4a5e[_0x314691(0x177)]);if(!_0x149438){this[_0x314691(0x114)][_0x314691(0x13f)](_0x23e0e4['pwlyL']);return;}const _0x606b21=_0x149438['getAllData']()['get'](_0x12e70e)||{},_0x47c0a4=_0x606b21[TestFrameworkConstants[_0x314691(0x157)]]||{},_0x493eb2={..._0x47c0a4};_0x493eb2[_0x238d64]=_0x1cc4b9;const _0x386772=_0x493eb2,_0x222041={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x386772},_0x55db96={};_0x55db96[_0x12e70e]=_0x222041,_0x149438[_0x314691(0x12e)](_0x55db96),this[_0x314691(0x114)][_0x314691(0x13f)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x12e70e+_0x314691(0x149)+_0x238d64);}else{const _0x442645=TestInfo[_0x314691(0x154)](_0x12e70e),_0x5cde93=_0x442645[TestFrameworkConstants[_0x314691(0x157)]]||{};_0x5cde93[_0x238d64]=_0x1cc4b9,_0x442645[TestFrameworkConstants[_0x314691(0x157)]]=_0x5cde93,TestInfo['setTestDetails'](_0x12e70e,_0x442645),this['logger'][_0x314691(0x13f)](_0x314691(0x118)+_0x12e70e+',\x20filepath:\x20'+_0x238d64);}this[_0x314691(0x114)][_0x314691(0x13f)](util['format'](_0x23e0e4['zzWQX'],_0x238d64));}catch(_0x5a0066){this[_0x314691(0x114)][_0x314691(0x13f)](util[_0x314691(0x156)](_0x23e0e4['EnGLL'],_0x5a0066['message']));}}static[a89_0xdbdb3(0x14f)](){const _0x49fe94=a89_0xdbdb3,_0x37f572={};_0x37f572[_0x49fe94(0x142)]=_0x49fe94(0x139),_0x37f572[_0x49fe94(0x150)]=_0x49fe94(0x174),_0x37f572[_0x49fe94(0x172)]='Cleared\x20attachment\x20folder';const _0x428667=_0x37f572,_0x4404df=os['homedir'](),_0x3195f7=path[_0x49fe94(0x132)](_0x4404df,_0x428667[_0x49fe94(0x142)]);if(!fs[_0x49fe94(0x14d)](_0x3195f7))return;const _0x5aa15c=BrowserstackCLI[_0x49fe94(0x143)]()[_0x49fe94(0x171)][_0x49fe94(0x176)]?.[_0x49fe94(0x170)]?.['toObject']()?.[_0x49fe94(0xfb)],_0xf20c34=_0x5aa15c?path['join'](_0x3195f7,_0x5aa15c):null;if(!_0xf20c34||!fs['existsSync'](_0xf20c34)){this['logger'][_0x49fe94(0x13f)](util[_0x49fe94(0x156)](_0x428667[_0x49fe94(0x150)],_0x5aa15c));return;}const _0x404119={};_0x404119[_0x49fe94(0xfe)]=!![],_0x404119[_0x49fe94(0x12a)]=!![],fs[_0x49fe94(0x159)](_0xf20c34,_0x404119),this[_0x49fe94(0x114)][_0x49fe94(0x13f)](util[_0x49fe94(0x156)](_0x428667[_0x49fe94(0x172)]));}}function a89_0x32c8(){const _0x467439=['298EzTcJy','bShrD','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','getTrackedInstance','cGzez','jest','9483684VxUCbL','close','1435904myHqcm','ievNJ','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','./cliUtils','oUfBn','logger','QpgXp','toObject','8247967ryqlcK','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','XNaRp','OTVtG','__jestCurrentTestIdentifier','KOKwI','TEST','statSync','createWriteStream','bnqrn','exports','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','http','uploadAttachmentsManager','__workerDetails','getTestFrameworkDetail','finish','ScttL','force','error','./TestInfo','YlsZZ','addMultipleEntries','DiZAE','CnCsr','xKKsl','join','KEY_FILE_SIZE','FROpw','util','nCxkn','trackFile','uploadAttachments','.browserstack','xmuAK','./state/hookState','KEY_FILE_LEVEL','Attachment\x20recevied\x20for\x20path:\x20%s','statusCode','debug','tWqat','startsWith','eLPBS','getInstance','WPmyV','mkdirSync','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','pipe','unlinkSync',',\x20filepath:\x20','../../helpers/classLogger.js','2603190gNZkbJ','basename','existsSync','trUlA','clearAttachments','duBnt','retry','File\x20downloaded\x20to:\x20%s','KEY_TEST_ID','getTestDetails','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','format','KEY_TEST_ATTACHMENTS','copyFileSync','rmSync','EHqbX','toLowerCase','RpDPS','1454361TdGHlZ','https','4559NvFmMX','testInfo','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','pPWSB','https://','jaVkg','currentTest','DFsIs','./browserstackCLI','VvqlH','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','CzYdA','paOoB','get','LBvAj','getTestIdentifierFromTestInfo','BuildLevel','testhubConfig','modules','Owclj','eeQTq','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','./framework/automationFramework','TestHubModule','POST','getState','wFzpJ','7846296rVgXTZ','jvnAR','./state/testFrameworkState','size','aNpiI','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','buildHashedId','path','xiRrA','recursive','TDXIE','isRunning','eCTcv','toFixed','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','eXCxi','resolveInstance'];a89_0x32c8=function(){return _0x467439;};return a89_0x32c8();}module[a89_0xdbdb3(0x121)]=uploadAttachmentsManager;
1
+ function a89_0xa27a(){const _0x1ee85e=['.browserstack\x20folder\x20not\x20found\x20at:\x20%s','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','getTestFrameworkDetail','./modules/playwrightDriverModule','ERZOW','./state/hookState',',\x20filepath:\x20','pipe','close','SLfAW','23255dotEUG','KziqL','uploadAttachments','zrZkh','BFGiE','yAcha','QISzn','485390LcJYZY','toLowerCase','jyoKh','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','TestLevel','name','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','startsWith','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','getAllData','isRunning','https://','KEY_TEST_ATTACHMENTS','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','jest','KEY_FILE_NAME','KEY_FILE_PATH','currentTest','KEY_FILE_LEVEL','http://','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','finish','debug','3414kZNCJW','statSync','toObject','createWriteStream','mkdirSync','CkIDd','toFixed','Cleared\x20attachment\x20folder','tEnGz','jRBwb','./framework/constants/testFrameworkConstants','./TestInfo','kUoxA','BlVCP','zBTEs','TestHubModule','Attachment\x20recevied\x20for\x20path:\x20%s','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','getInstance','homedir','18QFEvBW','getTestDetails','getState','./browserstackCLI','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','buMlp','https','./state/testFrameworkState','basename','Ayvfj','existsSync','402828bkOdfr','trackFile','TEST','getTrackedInstance','getTestIdentifierFromTestInfo','error','UbFZt','dVfQe','132KiXNrr','UwtSr','testhubConfig','addMultipleEntries','268316YSzduS','uVXsu','./cliUtils','.browserstack','join','ENRYd','size','File\x20downloaded\x20to:\x20%s','message','2863wTTvfe','WCqpC','XUnoZ','modules','retry','GjqOx','resolveInstance','POST','buildHashedId','format','KEY_TEST_ID','gSXqO','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','PtCRp','get','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','68bOMVGy','jcsnx','exports','util','qglAU','nozEl','unlinkSync','ypIjv','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','force','UAHJB','lUhoJ','logger','statusCode','suLuP','wHVrT','__workerDetails','http','pxAYv','306rcNYll','1816xkZCol','Eidep','eQrht','1208616wSONsM','uploadAttachmentsManager','AfaLo','KKokx'];a89_0xa27a=function(){return _0x1ee85e;};return a89_0xa27a();}const a89_0x5f5939=a89_0x58be;(function(_0x5a4cee,_0x401d53){const _0x3b75d8=a89_0x58be,_0x294bfe=_0x5a4cee();while(!![]){try{const _0x3c8f31=-parseInt(_0x3b75d8(0xfb))/0x1+parseInt(_0x3b75d8(0x129))/0x2*(-parseInt(_0x3b75d8(0x128))/0x3)+parseInt(_0x3b75d8(0x115))/0x4*(parseInt(_0x3b75d8(0xb0))/0x5)+-parseInt(_0x3b75d8(0xcf))/0x6*(parseInt(_0x3b75d8(0x104))/0x7)+parseInt(_0x3b75d8(0x12c))/0x8+parseInt(_0x3b75d8(0xe4))/0x9*(parseInt(_0x3b75d8(0xb7))/0xa)+-parseInt(_0x3b75d8(0xf7))/0xb*(-parseInt(_0x3b75d8(0xef))/0xc);if(_0x3c8f31===_0x401d53)break;else _0x294bfe['push'](_0x294bfe['shift']());}catch(_0x221f2c){_0x294bfe['push'](_0x294bfe['shift']());}}}(a89_0xa27a,0x214cd));function a89_0x58be(_0x208618,_0xfdb93d){const _0xa27aa9=a89_0xa27a();return a89_0x58be=function(_0x58bea9,_0x5b02bf){_0x58bea9=_0x58bea9-0xa6;let _0x4fa9d7=_0xa27aa9[_0x58bea9];return _0x4fa9d7;},a89_0x58be(_0x208618,_0xfdb93d);}const os=require('os'),fs=require('fs'),path=require('path'),util=require(a89_0x5f5939(0x118)),BrowserstackCLI=require(a89_0x5f5939(0xe7)),https=require(a89_0x5f5939(0xea)),http=require(a89_0x5f5939(0x126)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a89_0x5f5939(0xa9)),TestInfo=require(a89_0x5f5939(0xda)),TestFrameworkConstants=require(a89_0x5f5939(0xd9)),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static ['logger']=createClassLogger(a89_0x5f5939(0x12d));static[a89_0x5f5939(0xb2)](_0x4cd2e5,_0x4f39b6=![]){const _0x2c5e52=a89_0x5f5939,_0x585878={};_0x585878[_0x2c5e52(0x12a)]=function(_0x21fef1,_0xc0992c){return _0x21fef1/_0xc0992c;},_0x585878[_0x2c5e52(0x100)]=function(_0x2d2f9f,_0x4448aa){return _0x2d2f9f*_0x4448aa;},_0x585878[_0x2c5e52(0x12f)]=function(_0x366470,_0x3f1259){return _0x366470>_0x3f1259;},_0x585878[_0x2c5e52(0xb4)]=_0x2c5e52(0xc0),_0x585878[_0x2c5e52(0xb1)]=_0x2c5e52(0x102),_0x585878['UAHJB']=function(_0x36dc83,_0x5457f6){return _0x36dc83===_0x5457f6;},_0x585878[_0x2c5e52(0xdb)]=_0x2c5e52(0xcd),_0x585878['ypIjv']=_0x2c5e52(0x11d),_0x585878[_0x2c5e52(0xfc)]=_0x2c5e52(0xa7),_0x585878[_0x2c5e52(0x112)]=_0x2c5e52(0xdf),_0x585878[_0x2c5e52(0xd8)]=_0x2c5e52(0xfe),_0x585878[_0x2c5e52(0xf6)]=_0x2c5e52(0xa6),_0x585878[_0x2c5e52(0x127)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x585878['SLfAW']='Created\x20folder:\x20%s',_0x585878['kxldx']=_0x2c5e52(0xe8),_0x585878[_0x2c5e52(0x10f)]=_0x2c5e52(0xc3),_0x585878[_0x2c5e52(0x11a)]=_0x2c5e52(0xcb),_0x585878[_0x2c5e52(0x12b)]=_0x2c5e52(0xf4),_0x585878[_0x2c5e52(0x124)]=_0x2c5e52(0xe1),_0x585878[_0x2c5e52(0xaa)]=function(_0x25a840,_0x2289f2){return _0x25a840/_0x2289f2;},_0x585878['zBTEs']=function(_0xf90058,_0x562444){return _0xf90058*_0x562444;},_0x585878[_0x2c5e52(0x116)]=function(_0x49614e,_0x547da2){return _0x49614e>_0x547da2;},_0x585878[_0x2c5e52(0xb9)]=_0x2c5e52(0xba);const _0x44dfc5=_0x585878;this[_0x2c5e52(0x121)]['debug'](util[_0x2c5e52(0x10d)](_0x44dfc5[_0x2c5e52(0x112)],_0x4cd2e5));const _0x1254ae=os[_0x2c5e52(0xe3)](),_0x82a0c=path[_0x2c5e52(0xff)](_0x1254ae,_0x44dfc5[_0x2c5e52(0xd8)]);!fs['existsSync'](_0x82a0c)&&(this[_0x2c5e52(0x121)][_0x2c5e52(0xce)](util['format'](_0x44dfc5[_0x2c5e52(0xf6)],_0x82a0c)),fs['mkdirSync'](_0x82a0c),this['logger'][_0x2c5e52(0xce)](util['format'](_0x44dfc5[_0x2c5e52(0x127)],_0x82a0c)));const _0x236b9e=BrowserstackCLI[_0x2c5e52(0xe2)]()[_0x2c5e52(0x107)]['TestHubModule']?.[_0x2c5e52(0xf9)]?.['toObject']()?.['buildHashedId'],_0x61fe76=path['join'](_0x82a0c,_0x236b9e);!fs[_0x2c5e52(0xee)](_0x61fe76)&&(fs[_0x2c5e52(0xd3)](_0x61fe76),this[_0x2c5e52(0x121)]['debug'](util['format'](_0x44dfc5[_0x2c5e52(0xaf)],_0x61fe76)));if(_0x44dfc5[_0x2c5e52(0x11f)](_0x4cd2e5['trim'](),'')){this[_0x2c5e52(0x121)][_0x2c5e52(0xce)](util[_0x2c5e52(0x10d)](_0x44dfc5['kxldx']));return;}if(_0x4cd2e5[_0x2c5e52(0xbe)](_0x44dfc5[_0x2c5e52(0x10f)])||_0x4cd2e5['startsWith'](_0x44dfc5['nozEl'])){const _0x1aec95=_0x4cd2e5[_0x2c5e52(0xbe)](_0x44dfc5[_0x2c5e52(0x10f)])?https:http,_0x111615=path['basename'](_0x4cd2e5),_0xe25c72=path['join'](_0x61fe76,_0x111615),_0x382918=fs[_0x2c5e52(0xd2)](_0xe25c72);_0x1aec95[_0x2c5e52(0x113)](_0x4cd2e5,_0x400b83=>{const _0x1a38fd=_0x2c5e52;if(_0x44dfc5[_0x1a38fd(0x11f)](_0x400b83['statusCode'],0xc8))_0x400b83[_0x1a38fd(0xad)](_0x382918),_0x382918['on'](_0x44dfc5[_0x1a38fd(0xdb)],()=>{const _0x7dd4bb=_0x1a38fd;_0x382918[_0x7dd4bb(0xae)]();const _0x5e0c89=fs[_0x7dd4bb(0xd0)](_0xe25c72),_0x20bcda=_0x44dfc5[_0x7dd4bb(0x12a)](_0x5e0c89['size'],_0x44dfc5[_0x7dd4bb(0x100)](0x400,0x400));if(_0x44dfc5[_0x7dd4bb(0x12f)](_0x20bcda,0x64)){this['logger'][_0x7dd4bb(0xce)](util[_0x7dd4bb(0x10d)](_0x44dfc5[_0x7dd4bb(0xb4)],_0x20bcda[_0x7dd4bb(0xd5)](0x2))),fs[_0x7dd4bb(0x11b)](_0xe25c72);return;}this[_0x7dd4bb(0x121)][_0x7dd4bb(0xce)](util[_0x7dd4bb(0x10d)](_0x44dfc5['KziqL'],_0xe25c72)),uploadAttachmentsManager[_0x7dd4bb(0xf0)](_0xe25c72,_0x4f39b6);});else{this[_0x1a38fd(0x121)]['debug'](util[_0x1a38fd(0x10d)](_0x44dfc5[_0x1a38fd(0x11c)],_0x400b83[_0x1a38fd(0x122)])),_0x382918[_0x1a38fd(0xae)](),fs[_0x1a38fd(0x11b)](_0xe25c72);return;}})['on'](_0x44dfc5[_0x2c5e52(0x12b)],_0x8b2037=>{const _0x317a5b=_0x2c5e52;this[_0x317a5b(0x121)][_0x317a5b(0xce)](util['format'](_0x44dfc5[_0x317a5b(0xfc)],_0x8b2037[_0x317a5b(0x103)])),_0x382918[_0x317a5b(0xae)](),fs[_0x317a5b(0x11b)](_0xe25c72);return;});}else{if(!fs[_0x2c5e52(0xee)](_0x4cd2e5)){this[_0x2c5e52(0x121)][_0x2c5e52(0xce)](util[_0x2c5e52(0x10d)](_0x44dfc5[_0x2c5e52(0x124)],_0x4cd2e5));return;}const _0x1df681=fs['statSync'](_0x4cd2e5),_0x5a0870=_0x44dfc5[_0x2c5e52(0xaa)](_0x1df681['size'],_0x44dfc5[_0x2c5e52(0xdd)](0x400,0x400));if(_0x44dfc5['jcsnx'](_0x5a0870,0x64)){this[_0x2c5e52(0x121)][_0x2c5e52(0xce)](util[_0x2c5e52(0x10d)](_0x44dfc5['jyoKh'],_0x5a0870['toFixed'](0x2)));return;}const _0x55f75c=path[_0x2c5e52(0xec)](_0x4cd2e5),_0xdd48b5=path[_0x2c5e52(0xff)](_0x61fe76,_0x55f75c);fs['copyFileSync'](_0x4cd2e5,_0xdd48b5),uploadAttachmentsManager['trackFile'](_0xdd48b5,_0x4f39b6);}}static['trackFile'](_0x24d530,_0x262a9d){const _0x234168=a89_0x5f5939,_0xbbb06a={'GjqOx':function(_0x4e8c88,_0x56d9aa){return _0x4e8c88(_0x56d9aa);},'TddoC':'./browserstackCLI','BlVCP':function(_0x5e49e4,_0x262f3e){return _0x5e49e4(_0x262f3e);},'CkIDd':_0x234168(0xfd),'WCqpC':function(_0x5a619e,_0x3b2370){return _0x5a619e===_0x3b2370;},'AfaLo':_0x234168(0xc6),'XUnoZ':_0x234168(0x114),'UbFZt':'BuildLevel','QISzn':_0x234168(0xbb),'zrZkh':_0x234168(0xbd),'Ayvfj':_0x234168(0xeb),'suLuP':function(_0xbf4835,_0x28048a){return _0xbf4835(_0x28048a);},'yAcha':_0x234168(0xab),'buMlp':_0x234168(0xe0),'lUhoJ':_0x234168(0x111),'tEnGz':_0x234168(0x110)};try{let _0x59ebec;const _0x4ff647=global[_0x234168(0x125)]?.[_0x234168(0xc9)]?.['testInfo'],_0x563c75=_0xbbb06a[_0x234168(0x109)](require,_0xbbb06a['TddoC']),_0x16ac77=_0xbbb06a[_0x234168(0xdc)](require,_0xbbb06a[_0x234168(0xd4)]),_0x172914=_0x563c75[_0x234168(0xe2)]()[_0x234168(0xc2)]()&&_0xbbb06a[_0x234168(0x105)](_0x16ac77[_0x234168(0xa8)]()?.[_0x234168(0xbc)]?.[_0x234168(0xb8)](),_0xbbb06a[_0x234168(0x12e)]);if(_0x172914){_0x59ebec=global['__jestCurrentTestIdentifier'];if(!_0x59ebec){const _0x12dbbb=AutomationFramework[_0x234168(0xf2)]();_0x59ebec=AutomationFramework[_0x234168(0xe6)](_0x12dbbb,PlaywrightDriverModule['KEY_TEST_ID'],'');}this['logger'][_0x234168(0xce)](_0x234168(0xc5)+_0x59ebec);}else{if(!_0x4ff647){const _0x52ce96=AutomationFramework[_0x234168(0xf2)]();_0x59ebec=AutomationFramework[_0x234168(0xe6)](_0x52ce96,PlaywrightDriverModule[_0x234168(0x10e)],'');}else _0x59ebec=TestInfo[_0x234168(0xf3)](_0x4ff647,_0x4ff647[_0x234168(0x108)]);this[_0x234168(0x121)][_0x234168(0xce)]('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x59ebec);}if(!_0x59ebec){this['logger']['debug'](_0xbbb06a[_0x234168(0x106)]);return;}const _0x3f0457={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x234168(0xd0)](_0x24d530)[_0x234168(0x101)],[TestFrameworkConstants[_0x234168(0xc7)]]:path[_0x234168(0xec)](_0x24d530),[TestFrameworkConstants[_0x234168(0xc8)]]:_0x24d530,[TestFrameworkConstants[_0x234168(0xca)]]:_0x262a9d?_0xbbb06a[_0x234168(0xf5)]:_0xbbb06a[_0x234168(0xb6)]};if(_0x172914){const _0x5c82cd=_0x563c75[_0x234168(0xe2)]()['getTestFramework']();if(!_0x5c82cd){this[_0x234168(0x121)]['debug'](_0xbbb06a[_0x234168(0xb3)]);return;}const _0x360f0c=_0xbbb06a[_0x234168(0x109)](require,_0xbbb06a[_0x234168(0xed)]),_0x49ddb1=_0xbbb06a[_0x234168(0x123)](require,_0xbbb06a[_0x234168(0xb5)]),_0x67ed49=_0x5c82cd[_0x234168(0x10a)](_0x360f0c[_0x234168(0xf1)],_0x49ddb1[_0x234168(0x10b)]);if(!_0x67ed49){this[_0x234168(0x121)][_0x234168(0xce)](_0xbbb06a[_0x234168(0xe9)]);return;}const _0x5c852c=_0x67ed49[_0x234168(0xc1)]()[_0x234168(0x113)](_0x59ebec)||{},_0xa7d442=_0x5c852c[TestFrameworkConstants[_0x234168(0xc4)]]||{},_0x258909={..._0xa7d442};_0x258909[_0x24d530]=_0x3f0457;const _0x55e4b4=_0x258909,_0x3e06f5={[TestFrameworkConstants[_0x234168(0xc4)]]:_0x55e4b4},_0x2cc2ed={};_0x2cc2ed[_0x59ebec]=_0x3e06f5,_0x67ed49[_0x234168(0xfa)](_0x2cc2ed),this[_0x234168(0x121)][_0x234168(0xce)](_0x234168(0xbf)+_0x59ebec+',\x20filepath:\x20'+_0x24d530);}else{const _0x6bfc26=TestInfo[_0x234168(0xe5)](_0x59ebec),_0x242d88=_0x6bfc26[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x242d88[_0x24d530]=_0x3f0457,_0x6bfc26[TestFrameworkConstants[_0x234168(0xc4)]]=_0x242d88,TestInfo['setTestDetails'](_0x59ebec,_0x6bfc26),this[_0x234168(0x121)][_0x234168(0xce)](_0x234168(0xcc)+_0x59ebec+_0x234168(0xac)+_0x24d530);}this[_0x234168(0x121)]['debug'](util['format'](_0xbbb06a[_0x234168(0x120)],_0x24d530));}catch(_0x45bacb){this[_0x234168(0x121)][_0x234168(0xce)](util[_0x234168(0x10d)](_0xbbb06a[_0x234168(0xd7)],_0x45bacb[_0x234168(0x103)]));}}static['clearAttachments'](){const _0x40c3bf=a89_0x5f5939,_0x344eb7={};_0x344eb7['voNua']='.browserstack',_0x344eb7[_0x40c3bf(0x119)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x344eb7['UwtSr']=_0x40c3bf(0xd6);const _0x5c2187=_0x344eb7,_0x430040=os[_0x40c3bf(0xe3)](),_0x4b435a=path[_0x40c3bf(0xff)](_0x430040,_0x5c2187['voNua']);if(!fs[_0x40c3bf(0xee)](_0x4b435a))return;const _0x547fc5=BrowserstackCLI[_0x40c3bf(0xe2)]()[_0x40c3bf(0x107)][_0x40c3bf(0xde)]?.[_0x40c3bf(0xf9)]?.[_0x40c3bf(0xd1)]()?.[_0x40c3bf(0x10c)],_0x5015d2=_0x547fc5?path[_0x40c3bf(0xff)](_0x4b435a,_0x547fc5):null;if(!_0x5015d2||!fs['existsSync'](_0x5015d2)){this['logger'][_0x40c3bf(0xce)](util['format'](_0x5c2187[_0x40c3bf(0x119)],_0x547fc5));return;}const _0x3c8a43={};_0x3c8a43['recursive']=!![],_0x3c8a43[_0x40c3bf(0x11e)]=!![],fs['rmSync'](_0x5015d2,_0x3c8a43),this[_0x40c3bf(0x121)]['debug'](util[_0x40c3bf(0x10d)](_0x5c2187[_0x40c3bf(0xf8)]));}}module[a89_0x5f5939(0x117)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- function a90_0x1e9d(){const _0x36f7ad=['tHHQB','Exception\x20in\x20createHookData:\x20','failure_type','name','path','EOYuc','failure','Muyyl','sendTestRunEventForCucumber','vpxkk','UnhandledError','cucumber','uuid','dAkMH','join','udXwC','mCNYW','getTestUUID','skipped','../TestInfo.js','IPoAv','kINcO','getHookRunEventData','iKzmb','../../../helpers/logger.js','BEFORE_EACH','split','unknown','push','format','WYCgp','AFTER_EACH','root','ufBBw','792298HwyjPq','DEQBx','menSA','createTestFrameworkData','YxCEn','every','RIYuq','pickleStepId','otxem','MDOJG','_gitConfigPath','duration_in_ms','MdxLj','nMgTA','bjdjW','failureData','../../../helpers/test-observability/error-handler.js','includes','scenario','eJneX','testStepFinished','passed','testCaseFinished','miWpv','strip-ansi','value','FAILED','status','astNodeIds','failed','bNHsK','find','1315OXjQeD','taUVF','timestamp','flatMap','nanos','DMrxt','12809580vyGKks','9wOtUxd','map','IgUzl','exception','../../../helpers/helper.js','result','SKIPPED','QMjDI','sourceReference','match','filter','bvxNY','forEach','jDYnl','rule','WBIUw','toISOString','children','feature','util','hook','examples','finishedAt','ENyxv','GsCxU','getHookResult','_gitConfigured','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','pcqel','configureGit','finished_at','message','getCucumberHookType','AssertionError','LETSa','failure_reason','tags','naSAJ','javascript','failureType','failure_data','HookRunFinished','relative','sendHook','FIxOf','testStepResult','winstonLogger','8945336MFCAVZ','QVisl','1125861JKJkyv','bIWOP','tableBody','bstack','ddFeX','4CXsxYn','cells','IHqMQ','Exception\x20in\x20getHookRunEventData:\x20','getScenarioExamples','mzYxx','hooks','CmdgT','pending','1060163OUYToZ','2058hqUeub','1696317ueEwPx','rfUbv','hookId','uri','createHookData','BaTHr','UQqIk','XqeIX'];a90_0x1e9d=function(){return _0x36f7ad;};return a90_0x1e9d();}const a90_0x18c22c=a90_0x72ca;(function(_0x4a4e14,_0x4c1717){const _0x28487a=a90_0x72ca,_0x442ef7=_0x4a4e14();while(!![]){try{const _0x4b8b91=parseInt(_0x28487a(0x71))/0x1+parseInt(_0x28487a(0x9d))/0x2+-parseInt(_0x28487a(0xf5))/0x3*(parseInt(_0x28487a(0xfa))/0x4)+parseInt(_0x28487a(0xbd))/0x5*(-parseInt(_0x28487a(0x72))/0x6)+-parseInt(_0x28487a(0x73))/0x7+parseInt(_0x28487a(0xf3))/0x8+-parseInt(_0x28487a(0xc4))/0x9*(parseInt(_0x28487a(0xc3))/0xa);if(_0x4b8b91===_0x4c1717)break;else _0x442ef7['push'](_0x442ef7['shift']());}catch(_0x4b508d){_0x442ef7['push'](_0x442ef7['shift']());}}}(a90_0x1e9d,0x8efde));const path=require(a90_0x18c22c(0x7f)),util=require(a90_0x18c22c(0xd7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x18c22c(0xc8)),logger=require(a90_0x18c22c(0x93))[a90_0x18c22c(0xf2)],{o11yClassErrorHandler}=require(a90_0x18c22c(0xad)),TestInfo=require(a90_0x18c22c(0x8e)),hooksMap={};function a90_0x72ca(_0x3d1ae2,_0x57edf6){const _0x1e9dc2=a90_0x1e9d();return a90_0x72ca=function(_0x72ca75,_0x321149){_0x72ca75=_0x72ca75-0x70;let _0x45b329=_0x1e9dc2[_0x72ca75];return _0x45b329;},a90_0x72ca(_0x3d1ae2,_0x57edf6);}class CucumberUtils{constructor(){const _0x1c925a=a90_0x18c22c;this[_0x1c925a(0xde)]=![],this[_0x1c925a(0xa7)]=null;}async[a90_0x18c22c(0xa0)](_0x588574,_0x152f5c,_0x53e0e,_0x18dea0,_0xf764c0,_0x24d3e6){const _0x3ff855=a90_0x18c22c,_0x350896={'miWpv':function(_0x38c592,_0x44170e){return _0x38c592===_0x44170e;},'LETSa':_0x3ff855(0xb7),'GsCxU':_0x3ff855(0xba),'QVisl':_0x3ff855(0xca),'kINcO':_0x3ff855(0x8d),'FIxOf':function(_0x40db8d,_0x56d8ac){return _0x40db8d||_0x56d8ac;},'UDBWL':function(_0x36853a,_0x226f1e){return _0x36853a+_0x226f1e;},'naSAJ':function(_0x1df60b,_0x55abef){return _0x1df60b+_0x55abef;},'QMjDI':function(_0x4e5cb5,_0x5e64c1){return _0x4e5cb5+_0x5e64c1;},'bvxNY':'test','WYCgp':_0x3ff855(0xea),'GTbpI':_0x3ff855(0x86),'eJneX':_0x3ff855(0x70),'dAkMH':_0x3ff855(0xb2),'RIYuq':function(_0x1352a4,_0x5c8a6a){return _0x1352a4!==_0x5c8a6a;},'KmWGP':function(_0x36e975,_0x24d8d1){return _0x36e975/_0x24d8d1;},'nMgTA':function(_0x28fba7,_0x231dea){return _0x28fba7===_0x231dea;},'ddFeX':_0x3ff855(0xb5),'bjdjW':function(_0x50670d,_0x4ba3c9){return _0x50670d(_0x4ba3c9);},'iKzmb':_0x3ff855(0x96),'yNMOP':function(_0x4cea81,_0xb7b43){return _0x4cea81(_0xb7b43);},'bIWOP':'AssertionError','Muyyl':'UnhandledError'},{feature:_0x4fe2a8,scenario:_0x47f745,steps:_0x159565,uuid:_0x3b1396,startedAt:_0xa97dfe,finishedAt:_0x145940}=_0x350896[_0x3ff855(0xf0)](_0x588574,{}),_0x55abc7=this[_0x3ff855(0xfe)](_0x18dea0,_0x152f5c);await this['configureGit']();const _0x9ebbbe=_0x55abc7?_0x350896['UDBWL'](_0x350896[_0x3ff855(0xe9)](_0x350896[_0x3ff855(0xcb)](_0x152f5c['name'],'\x20('),_0x55abc7[_0x3ff855(0x89)](',\x20')),')'):_0x152f5c['name'],_0x41edfd={'id':_0xf764c0,'uuid':_0xf764c0,'startedAt':_0xa97dfe,'finishedAt':_0x145940,'type':_0x350896[_0x3ff855(0xcf)],'body':{'lang':_0x350896[_0x3ff855(0x99)],'code':null},'name':_0x9ebbbe,'scopes':[_0x4fe2a8&&_0x4fe2a8[_0x3ff855(0x7e)]?_0x4fe2a8[_0x3ff855(0x7e)]:''],'tags':_0x152f5c[_0x3ff855(0xe8)]?_0x152f5c[_0x3ff855(0xe8)]['map'](({name:_0x2567c1})=>_0x2567c1):[],'file_name':_0x152f5c[_0x3ff855(0x76)],'location':_0x152f5c[_0x3ff855(0x76)],'vc_filepath':this[_0x3ff855(0xa7)]&&_0x152f5c['uri']?path['relative'](this['_gitConfigPath'],_0x152f5c['uri']):null,'framework':_0x350896['GTbpI'],'result':_0x350896[_0x3ff855(0xb0)],'meta':{'feature':_0x4fe2a8,'scenario':_0x47f745,'steps':_0x159565,'examples':_0x55abc7},'customRerunParam':{'rerun_name':_0x9ebbbe}};if(_0x53e0e[_0x3ff855(0xb3)]&&_0x159565){const _0x3d34bd=_0x53e0e['testCaseFinished'];let _0xe49b23=_0x350896[_0x3ff855(0x88)];_0x159565[_0x3ff855(0xa2)](_0x98a8a6=>{const _0x140db5=_0x3ff855;if(_0x350896['miWpv'](_0x98a8a6[_0x140db5(0xc9)],_0x350896[_0x140db5(0xe6)]))return _0xe49b23=_0x350896[_0x140db5(0xdc)],_0x3d34bd[_0x140db5(0x81)]=_0x98a8a6[_0x140db5(0x81)],_0x3d34bd[_0x140db5(0xeb)]=_0x98a8a6[_0x140db5(0xeb)],![];else{if(_0x350896[_0x140db5(0xb4)](_0x98a8a6[_0x140db5(0xc9)],_0x350896[_0x140db5(0xf4)]))return _0xe49b23=_0x350896[_0x140db5(0x90)],![];}return!![];}),_0x41edfd[_0x3ff855(0xda)]=new Date()['toISOString'](),_0x41edfd[_0x3ff855(0xc9)]=_0xe49b23;_0x3d34bd[_0x3ff855(0xbf)]&&_0x350896[_0x3ff855(0xa3)](_0x3d34bd[_0x3ff855(0xbf)][_0x3ff855(0xc1)],undefined)?_0x41edfd['duration_in_ms']=_0x350896['KmWGP'](_0x3d34bd[_0x3ff855(0xbf)][_0x3ff855(0xc1)],0xf4240):_0x41edfd[_0x3ff855(0xa8)]=undefined;if(_0x350896[_0x3ff855(0xaa)](_0xe49b23,_0x350896['GsCxU'])){const {default:_0x36601e}=await import(_0x350896[_0x3ff855(0xf9)]);_0x41edfd[_0x3ff855(0x81)]=[{'backtrace':[_0x3d34bd['failure']?_0x350896[_0x3ff855(0xab)](_0x36601e,_0x3d34bd[_0x3ff855(0x81)]):_0x350896[_0x3ff855(0x92)]]}],_0x41edfd[_0x3ff855(0xe7)]=_0x3d34bd[_0x3ff855(0x81)]?_0x350896['yNMOP'](_0x36601e,_0x3d34bd[_0x3ff855(0x81)]):_0x3d34bd[_0x3ff855(0xe3)],_0x3d34bd[_0x3ff855(0xeb)]&&(_0x41edfd[_0x3ff855(0x7d)]=_0x3d34bd[_0x3ff855(0xeb)]['match'](/AssertError/)?_0x350896[_0x3ff855(0xf6)]:_0x350896[_0x3ff855(0x82)]);}}return _0x41edfd;}[a90_0x18c22c(0x91)](_0x337c84,_0x48b5ed,_0x40b6c1,_0x4f1d7a,_0x29930a,_0x3a8c5b){const _0x4f891c=a90_0x18c22c,_0x29d0f8={'IgUzl':function(_0x308fb7,_0x72c2f0){return _0x308fb7===_0x72c2f0;},'BaTHr':_0x4f891c(0xed),'DEQBx':function(_0x4e7312,_0x2fe49a,_0x16d75f){return _0x4e7312(_0x2fe49a,_0x16d75f);},'ENyxv':_0x4f891c(0xcc),'QDFOD':_0x4f891c(0x76),'XqeIX':_0x4f891c(0x70),'IPoAv':_0x4f891c(0xd8),'ppGtj':_0x4f891c(0xea),'rxLop':function(_0x1d5b68,_0x32c4f0,_0x4bd514){return _0x1d5b68(_0x32c4f0,_0x4bd514);},'ufBBw':_0x4f891c(0xd6),'tHHQB':_0x4f891c(0x7e),'MmzRd':'cucumber'};try{if(_0x29d0f8[_0x4f891c(0xc6)](_0x40b6c1,_0x29d0f8[_0x4f891c(0x78)])){const _0x41fd89=new Date()[_0x4f891c(0xd4)](),_0x44c1f7=hooksMap[_0x48b5ed];if(!_0x44c1f7)return;const _0x4dbbdb=_0x44c1f7[_0x4f891c(0xbc)](_0x1f9bbb=>_0x1f9bbb[_0x4f891c(0x87)]===_0x4f1d7a['id']);if(!_0x4dbbdb)return;const _0x1fca1f=this[_0x4f891c(0xdd)](_0x337c84,_0x48b5ed);_0x4dbbdb[_0x4f891c(0xc9)]=_0x1fca1f[_0x4f891c(0xb8)],_0x4dbbdb[_0x4f891c(0xe2)]=_0x41fd89,_0x4dbbdb[_0x4f891c(0x7d)]=_0x1fca1f['failureType'];const _0x2fa3e7={};return _0x2fa3e7['backtrace']=_0x1fca1f[_0x4f891c(0xac)],_0x4dbbdb[_0x4f891c(0xec)]=[_0x2fa3e7],_0x4dbbdb;}const _0x3ee38e=TestInfo[_0x4f891c(0x8c)](_0x48b5ed),_0x5984b0=_0x337c84[_0x4f891c(0x100)][_0x4f891c(0xbc)](_0x12bd02=>_0x12bd02['id']===_0x4f1d7a['hookId']),_0x12bbaf=_0x29d0f8[_0x4f891c(0x9e)](nestedKeyValue,_0x5984b0,[_0x29d0f8[_0x4f891c(0xdb)],_0x29d0f8['QDFOD']]),_0x1239a3=new Date()[_0x4f891c(0xd4)](),_0xcba508=_0x29d0f8[_0x4f891c(0x7a)],_0x3b81d6=_0x5984b0['tagExpression']?_0x5984b0['tagExpression'][_0x4f891c(0x95)]('\x20')[_0x4f891c(0xce)](_0x24c6e8=>_0x24c6e8[_0x4f891c(0xae)]('@')):[],_0x41adb7={'uuid':_0x4f1d7a['id'],'type':_0x29d0f8[_0x4f891c(0x8f)],'hook_type':_0x3a8c5b,'name':_0x5984b0[_0x4f891c(0x7e)],'body':{'lang':_0x29d0f8['ppGtj'],'code':null},'tags':_0x3b81d6,'test_run_id':_0x3ee38e,'scope':_0x29d0f8['rxLop'](nestedKeyValue,_0x29930a,[_0x29d0f8['ufBBw'],_0x29d0f8[_0x4f891c(0x7b)]]),'scopes':[_0x29d0f8[_0x4f891c(0x9e)](nestedKeyValue,_0x29930a,[_0x29d0f8[_0x4f891c(0x9c)],_0x29d0f8[_0x4f891c(0x7b)]])||''],'file_name':_0x12bbaf,'location':_0x12bbaf,'vc_filepath':this[_0x4f891c(0xa7)]?path[_0x4f891c(0xee)](this[_0x4f891c(0xa7)],_0x12bbaf):null,'result':_0xcba508,'started_at':_0x1239a3,'framework':_0x29d0f8['MmzRd']};return _0x41adb7;}catch(_0x21cdf1){logger['debug'](_0x4f891c(0xfd)+util[_0x4f891c(0x98)](_0x21cdf1)+'\x20');}}async[a90_0x18c22c(0x77)](_0x4617c2,_0x2f5733,_0x613fa6,_0x32eb40,_0x404734,_0x144517){const _0x28cb9f=a90_0x18c22c,_0x36170f={'CmdgT':function(_0x341b5e,_0x2e2784){return _0x341b5e===_0x2e2784;},'UMdXY':'HookRunStarted','rfUbv':function(_0x421716,_0x303d33,_0x21518b){return _0x421716(_0x303d33,_0x21518b);},'MDOJG':_0x28cb9f(0xcc),'EOYuc':_0x28cb9f(0x76),'mCNYW':_0x28cb9f(0xdf),'JlkSD':function(_0x5a8448,_0x20b1a3){return _0x5a8448===_0x20b1a3;},'YxCEn':_0x28cb9f(0xf8)};try{const _0x411f8b=_0x32eb40[_0x28cb9f(0xbc)](_0x581b84=>_0x581b84['id']===_0x404734);if(!_0x411f8b[_0x28cb9f(0x75)])return;const _0x38e719=this[_0x28cb9f(0xe4)](_0x32eb40,_0x411f8b),_0x5166e5=this[_0x28cb9f(0x91)](_0x4617c2,_0x2f5733,_0x613fa6,_0x411f8b,_0x144517,_0x38e719);if(!_0x5166e5)return;_0x36170f[_0x28cb9f(0x101)](_0x613fa6,_0x36170f['UMdXY'])&&(hooksMap[_0x2f5733]?hooksMap[_0x2f5733][_0x28cb9f(0x97)](_0x5166e5):hooksMap[_0x2f5733]=[_0x5166e5]);const _0x3847f3=_0x4617c2[_0x28cb9f(0x100)][_0x28cb9f(0xbc)](_0x9ef442=>_0x9ef442['id']===_0x411f8b[_0x28cb9f(0x75)]),_0x2f913a=_0x36170f[_0x28cb9f(0x74)](nestedKeyValue,_0x3847f3,[_0x36170f[_0x28cb9f(0xa6)],_0x36170f[_0x28cb9f(0x80)]]);if(!_0x2f913a)return;else{if(_0x2f913a[_0x28cb9f(0xae)](_0x36170f[_0x28cb9f(0x8b)]))return;}if(_0x36170f['JlkSD'](_0x5166e5[_0x28cb9f(0x7e)],_0x36170f[_0x28cb9f(0xa1)]))return;return _0x5166e5;}catch(_0x1ff9c5){logger['debug'](_0x28cb9f(0x7c)+util[_0x28cb9f(0x98)](_0x1ff9c5)+'\x20');}}[a90_0x18c22c(0xdd)](_0x5ceee5,_0x9a0bdd){const _0x415869=a90_0x18c22c,_0x5b8fbd={};_0x5b8fbd[_0x415869(0x8a)]=function(_0x422b01,_0x170eb6){return _0x422b01===_0x170eb6;},_0x5b8fbd[_0x415869(0xa5)]='failed',_0x5b8fbd['vpxkk']=function(_0x28b154,_0xf46c02){return _0x28b154===_0xf46c02;},_0x5b8fbd[_0x415869(0xa9)]=function(_0x57a4db,_0xee47db){return _0x57a4db===_0xee47db;},_0x5b8fbd[_0x415869(0xd1)]=_0x415869(0x85),_0x5b8fbd[_0x415869(0xff)]=_0x415869(0xe5),_0x5b8fbd[_0x415869(0xbe)]=function(_0x477644,_0x450089){return _0x477644||_0x450089;};const _0x165b6a=_0x5b8fbd,_0x4f6db6=_0x5ceee5[_0x415869(0xb1)][_0x9a0bdd][_0x415869(0xf1)];let _0x48639a,_0x3e8fd7;return _0x4f6db6&&_0x165b6a['udXwC'](_0x4f6db6[_0x415869(0xb8)]['toString']()['toLowerCase'](),_0x165b6a[_0x415869(0xa5)])&&(_0x48639a=_0x165b6a[_0x415869(0x84)](_0x4f6db6[_0x415869(0xc7)],undefined)?_0x4f6db6[_0x415869(0xe3)]:_0x4f6db6[_0x415869(0xc7)][_0x415869(0xe3)],_0x3e8fd7=_0x165b6a[_0x415869(0xa9)](_0x4f6db6[_0x415869(0xc7)],undefined)?_0x165b6a['jDYnl']:_0x4f6db6[_0x415869(0xe3)][_0x415869(0xcd)](/Assert/)?_0x165b6a[_0x415869(0xff)]:_0x165b6a[_0x415869(0xd1)]),{'status':_0x4f6db6[_0x415869(0xb8)]['toLowerCase'](),'failureType':_0x165b6a['taUVF'](_0x3e8fd7,null),'failureData':!_0x48639a?null:[_0x48639a]};}[a90_0x18c22c(0xe4)](_0x3996c2,_0x35caeb){const _0x6e3ef8=a90_0x18c22c,_0x2755cd={};_0x2755cd['bNHsK']=function(_0x360445,_0x5ab950){return _0x360445===_0x5ab950;},_0x2755cd[_0x6e3ef8(0xe0)]=_0x6e3ef8(0x9a),_0x2755cd[_0x6e3ef8(0xc2)]=_0x6e3ef8(0x94);const _0x255594=_0x2755cd;let _0x5d6844=![];for(const _0x218614 of _0x3996c2){_0x218614[_0x6e3ef8(0xa4)]&&(_0x5d6844=!![]);if(_0x255594[_0x6e3ef8(0xbb)](_0x35caeb['id'],_0x218614['id']))return _0x5d6844?_0x255594['pcqel']:_0x255594[_0x6e3ef8(0xc2)];}}['getScenarioExamples']=(_0x5b948b,_0x414e83)=>{const _0x2ba883=a90_0x18c22c,_0x794d1={};_0x794d1[_0x2ba883(0xfc)]=function(_0x3723fb,_0x1291ca){return _0x3723fb===_0x1291ca;},_0x794d1[_0x2ba883(0x9f)]=function(_0x1a67af,_0x26fbdf){return _0x1a67af>_0x26fbdf;};const _0x24baec=_0x794d1;if(!(_0x414e83[_0x2ba883(0xb9)]&&_0x24baec[_0x2ba883(0x9f)](_0x414e83[_0x2ba883(0xb9)]['length'],0x1)))return;const _0x42bce5=_0x414e83[_0x2ba883(0xb9)][0x0],_0x116c94=_0x414e83[_0x2ba883(0xb9)][0x1],_0x2de91a=_0x5b948b[_0x2ba883(0xd6)]&&_0x5b948b[_0x2ba883(0xd6)]['children']?_0x5b948b[_0x2ba883(0xd6)]['children']:undefined;let _0x32b534=[];_0x2de91a&&_0x2de91a[_0x2ba883(0xd0)](_0x347267=>{const _0x2a18f4=_0x2ba883,_0x5a7c07={'UQqIk':function(_0x28a9ea,_0x1b49e7){const _0x4f942b=a90_0x72ca;return _0x24baec[_0x4f942b(0xfc)](_0x28a9ea,_0x1b49e7);}};if(_0x347267[_0x2a18f4(0xd2)])_0x347267[_0x2a18f4(0xd2)][_0x2a18f4(0xd5)][_0x2a18f4(0xd0)](_0x1ce73f=>{const _0x43c8b4=_0x2a18f4;if(_0x1ce73f[_0x43c8b4(0xaf)]&&_0x5a7c07[_0x43c8b4(0x79)](_0x1ce73f[_0x43c8b4(0xaf)]['id'],_0x42bce5)&&_0x1ce73f[_0x43c8b4(0xaf)][_0x43c8b4(0xd9)]){const _0x24a314=_0x1ce73f[_0x43c8b4(0xaf)][_0x43c8b4(0xd9)][_0x43c8b4(0xc0)](_0x20a628=>_0x20a628[_0x43c8b4(0xf7)])[_0x43c8b4(0xbc)](_0x1b8248=>_0x1b8248['id']===_0x116c94);let _0x3f023d;_0x24a314&&_0x24a314[_0x43c8b4(0xfb)]?_0x3f023d=_0x24a314[_0x43c8b4(0xfb)][_0x43c8b4(0xc5)](_0x3e7ab3=>_0x3e7ab3['value']):_0x3f023d=[],_0x3f023d&&(_0x32b534=_0x3f023d);}});else{if(_0x347267['scenario']&&_0x24baec['IHqMQ'](_0x347267[_0x2a18f4(0xaf)]['id'],_0x42bce5)&&_0x347267[_0x2a18f4(0xaf)][_0x2a18f4(0xd9)]){const _0xbe88c6=_0x347267['scenario'][_0x2a18f4(0xd9)][_0x2a18f4(0xc0)](_0x4b6ee7=>_0x4b6ee7[_0x2a18f4(0xf7)])[_0x2a18f4(0xbc)](_0x15f1fc=>_0x15f1fc['id']===_0x116c94);let _0x4b4102;_0xbe88c6&&_0xbe88c6['cells']?_0x4b4102=_0xbe88c6['cells']['map'](_0x3c403c=>_0x3c403c[_0x2a18f4(0xb6)]):_0x4b4102=[],_0x4b4102&&(_0x32b534=_0x4b4102);}}});if(_0x32b534['length'])return _0x32b534;return;};async[a90_0x18c22c(0xe1)](){const _0x8f61db=a90_0x18c22c,_0x3c772b={'WBIUw':function(_0x6ff287){return _0x6ff287();}};if(this['_gitConfigured'])return this[_0x8f61db(0xa7)];const _0x15b62b=await _0x3c772b[_0x8f61db(0xd3)](getGitMetaData);_0x15b62b&&(this[_0x8f61db(0xa7)]=_0x15b62b[_0x8f61db(0x9b)]),this[_0x8f61db(0xde)]=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,[a90_0x18c22c(0xe1),'getScenarioExamples','getCucumberHookType',a90_0x18c22c(0xdd),a90_0x18c22c(0xef),a90_0x18c22c(0x91),a90_0x18c22c(0x83),a90_0x18c22c(0xa0)]);
1
+ const a90_0x4f48b3=a90_0x1e97;function a90_0x1e97(_0xcd871b,_0x50ce03){const _0x3567b5=a90_0x3567();return a90_0x1e97=function(_0x1e97f6,_0x1fb2e2){_0x1e97f6=_0x1e97f6-0xe9;let _0x269b9d=_0x3567b5[_0x1e97f6];return _0x269b9d;},a90_0x1e97(_0xcd871b,_0x50ce03);}(function(_0x5e3e6c,_0x54e0c9){const _0x27eee3=a90_0x1e97,_0x5d5472=_0x5e3e6c();while(!![]){try{const _0x3812da=-parseInt(_0x27eee3(0x110))/0x1*(parseInt(_0x27eee3(0x153))/0x2)+parseInt(_0x27eee3(0x165))/0x3*(parseInt(_0x27eee3(0x11f))/0x4)+parseInt(_0x27eee3(0x139))/0x5+parseInt(_0x27eee3(0xff))/0x6*(parseInt(_0x27eee3(0x168))/0x7)+-parseInt(_0x27eee3(0x103))/0x8+parseInt(_0x27eee3(0x11d))/0x9+parseInt(_0x27eee3(0x160))/0xa*(-parseInt(_0x27eee3(0x10c))/0xb);if(_0x3812da===_0x54e0c9)break;else _0x5d5472['push'](_0x5d5472['shift']());}catch(_0x129c94){_0x5d5472['push'](_0x5d5472['shift']());}}}(a90_0x3567,0x8ebf2));const path=require('path'),util=require(a90_0x4f48b3(0x137)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x4f48b3(0x12d)),logger=require(a90_0x4f48b3(0x120))[a90_0x4f48b3(0x123)],{o11yClassErrorHandler}=require(a90_0x4f48b3(0xee)),TestInfo=require(a90_0x4f48b3(0xf4)),hooksMap={};class CucumberUtils{constructor(){const _0x38bbc9=a90_0x4f48b3;this[_0x38bbc9(0x163)]=![],this[_0x38bbc9(0xfd)]=null;}async[a90_0x4f48b3(0x15b)](_0x133377,_0x26b55a,_0x505aa4,_0x5130b6,_0x39fdf3,_0x7af500){const _0x4196e0=a90_0x4f48b3,_0x484085={'arSPm':function(_0x162b2f,_0x4c70c7){return _0x162b2f===_0x4c70c7;},'vPVsl':_0x4196e0(0x117),'OzIUA':'failed','WBWXh':_0x4196e0(0x152),'QKSTl':'skipped','OxMEY':function(_0x2f5e58,_0x36bc4f){return _0x2f5e58||_0x36bc4f;},'tEvHn':function(_0x429a2a,_0x80bb64){return _0x429a2a+_0x80bb64;},'urAHX':function(_0x6b716c,_0x3a2a43){return _0x6b716c+_0x3a2a43;},'SnoOK':_0x4196e0(0x148),'LJjcr':'javascript','qbqNs':'cucumber','JWUNt':_0x4196e0(0x104),'LKjOC':_0x4196e0(0x142),'BDEIG':function(_0x3f32c7,_0x55dabb){return _0x3f32c7!==_0x55dabb;},'DNxSn':function(_0x4ce759,_0x45ddd5){return _0x4ce759/_0x45ddd5;},'yTuef':_0x4196e0(0x10d),'WuqFR':function(_0x3de5e1,_0x108ca7){return _0x3de5e1(_0x108ca7);},'ruPtt':'unknown','QyjrJ':_0x4196e0(0x101),'aicyA':_0x4196e0(0x171)},{feature:_0x543c2b,scenario:_0x44d157,steps:_0x454db2,uuid:_0x5e9037,startedAt:_0x2ad901,finishedAt:_0x452862}=_0x484085[_0x4196e0(0x135)](_0x133377,{}),_0x4017a1=this[_0x4196e0(0x159)](_0x5130b6,_0x26b55a);await this[_0x4196e0(0x162)]();const _0x24d749=_0x4017a1?_0x484085['tEvHn'](_0x484085[_0x4196e0(0x15e)](_0x484085[_0x4196e0(0x14a)](_0x26b55a['name'],'\x20('),_0x4017a1['join'](',\x20')),')'):_0x26b55a[_0x4196e0(0x16a)],_0x5be073={'id':_0x39fdf3,'uuid':_0x39fdf3,'startedAt':_0x2ad901,'finishedAt':_0x452862,'type':_0x484085[_0x4196e0(0xf2)],'body':{'lang':_0x484085[_0x4196e0(0x107)],'code':null},'name':_0x24d749,'scopes':[_0x543c2b&&_0x543c2b[_0x4196e0(0x16a)]?_0x543c2b['name']:''],'tags':_0x26b55a[_0x4196e0(0x13c)]?_0x26b55a[_0x4196e0(0x13c)][_0x4196e0(0x100)](({name:_0x46e5da})=>_0x46e5da):[],'file_name':_0x26b55a['uri'],'location':_0x26b55a[_0x4196e0(0x112)],'vc_filepath':this[_0x4196e0(0xfd)]&&_0x26b55a[_0x4196e0(0x112)]?path[_0x4196e0(0xf9)](this['_gitConfigPath'],_0x26b55a[_0x4196e0(0x112)]):null,'framework':_0x484085[_0x4196e0(0xeb)],'result':_0x484085[_0x4196e0(0x138)],'meta':{'feature':_0x543c2b,'scenario':_0x44d157,'steps':_0x454db2,'examples':_0x4017a1},'customRerunParam':{'rerun_name':_0x24d749}};if(_0x505aa4[_0x4196e0(0x150)]&&_0x454db2){const _0x255ca5=_0x505aa4[_0x4196e0(0x150)];let _0xbb6a50=_0x484085['LKjOC'];_0x454db2[_0x4196e0(0x16c)](_0x325e9c=>{const _0x3f8f3b=_0x4196e0;if(_0x484085[_0x3f8f3b(0xf6)](_0x325e9c[_0x3f8f3b(0x14c)],_0x484085[_0x3f8f3b(0xe9)]))return _0xbb6a50=_0x484085[_0x3f8f3b(0x16e)],_0x255ca5['failure']=_0x325e9c[_0x3f8f3b(0x133)],_0x255ca5[_0x3f8f3b(0x106)]=_0x325e9c[_0x3f8f3b(0x106)],![];else{if(_0x484085[_0x3f8f3b(0xf6)](_0x325e9c[_0x3f8f3b(0x14c)],_0x484085['WBWXh']))return _0xbb6a50=_0x484085[_0x3f8f3b(0xfa)],![];}return!![];}),_0x5be073[_0x4196e0(0x131)]=new Date()[_0x4196e0(0x11c)](),_0x5be073[_0x4196e0(0x14c)]=_0xbb6a50;_0x255ca5[_0x4196e0(0x146)]&&_0x484085['BDEIG'](_0x255ca5[_0x4196e0(0x146)][_0x4196e0(0x114)],undefined)?_0x5be073['duration_in_ms']=_0x484085[_0x4196e0(0x14f)](_0x255ca5[_0x4196e0(0x146)][_0x4196e0(0x114)],0xf4240):_0x5be073[_0x4196e0(0x16d)]=undefined;if(_0x484085['arSPm'](_0xbb6a50,_0x484085['OzIUA'])){const {default:_0x51808e}=await import(_0x484085['yTuef']);_0x5be073[_0x4196e0(0x133)]=[{'backtrace':[_0x255ca5[_0x4196e0(0x133)]?_0x484085[_0x4196e0(0x140)](_0x51808e,_0x255ca5[_0x4196e0(0x133)]):_0x484085[_0x4196e0(0x124)]]}],_0x5be073['failure_reason']=_0x255ca5['failure']?_0x484085[_0x4196e0(0x140)](_0x51808e,_0x255ca5[_0x4196e0(0x133)]):_0x255ca5[_0x4196e0(0x122)],_0x255ca5['failureType']&&(_0x5be073[_0x4196e0(0x126)]=_0x255ca5['failureType']['match'](/AssertError/)?_0x484085[_0x4196e0(0x11a)]:_0x484085[_0x4196e0(0x141)]);}}return _0x5be073;}[a90_0x4f48b3(0x16f)](_0x3e02fb,_0x6ba166,_0x186072,_0x3266c7,_0x43a34c,_0x1530ba){const _0x3d7826=a90_0x4f48b3,_0x233507={'PplOc':function(_0x181a56,_0x4e29c6){return _0x181a56===_0x4e29c6;},'JWhde':_0x3d7826(0x15a),'Shexk':function(_0x6a1fb0,_0x28da67,_0x1b90f1){return _0x6a1fb0(_0x28da67,_0x1b90f1);},'yDTdx':'sourceReference','PRXZj':_0x3d7826(0x112),'pbFhJ':_0x3d7826(0x104),'WAvZW':_0x3d7826(0x164),'FgPjS':_0x3d7826(0x10e),'JRbUl':function(_0x352040,_0x243cb5,_0x38f389){return _0x352040(_0x243cb5,_0x38f389);},'mHFgC':_0x3d7826(0x136),'dARrP':_0x3d7826(0x16a),'KfYTa':function(_0x564442,_0xfd1920,_0x3d3098){return _0x564442(_0xfd1920,_0x3d3098);},'KgCzW':_0x3d7826(0xfc)};try{if(_0x233507[_0x3d7826(0x166)](_0x186072,_0x233507['JWhde'])){const _0x39ffc8=new Date()[_0x3d7826(0x11c)](),_0x128fb5=hooksMap[_0x6ba166];if(!_0x128fb5)return;const _0x3feb69=_0x128fb5[_0x3d7826(0x12b)](_0x1a4b20=>_0x1a4b20[_0x3d7826(0x145)]===_0x3266c7['id']);if(!_0x3feb69)return;const _0x80f106=this[_0x3d7826(0xf1)](_0x3e02fb,_0x6ba166);_0x3feb69[_0x3d7826(0x14c)]=_0x80f106[_0x3d7826(0x108)],_0x3feb69[_0x3d7826(0x10b)]=_0x39ffc8,_0x3feb69['failure_type']=_0x80f106[_0x3d7826(0x106)];const _0x4dc1cf={};return _0x4dc1cf[_0x3d7826(0xf3)]=_0x80f106[_0x3d7826(0x14b)],_0x3feb69[_0x3d7826(0x14e)]=[_0x4dc1cf],_0x3feb69;}const _0x4f5c66=TestInfo['getTestUUID'](_0x6ba166),_0xb3867=_0x3e02fb['hooks'][_0x3d7826(0x12b)](_0x459a75=>_0x459a75['id']===_0x3266c7[_0x3d7826(0x10f)]),_0x39240f=_0x233507[_0x3d7826(0x12c)](nestedKeyValue,_0xb3867,[_0x233507['yDTdx'],_0x233507[_0x3d7826(0x12f)]]),_0x205d47=new Date()[_0x3d7826(0x11c)](),_0x431a52=_0x233507[_0x3d7826(0xfb)],_0x416b96=_0xb3867[_0x3d7826(0xec)]?_0xb3867[_0x3d7826(0xec)][_0x3d7826(0x11b)]('\x20')[_0x3d7826(0x154)](_0x3d477f=>_0x3d477f['includes']('@')):[],_0x861971={'uuid':_0x3266c7['id'],'type':_0x233507[_0x3d7826(0x113)],'hook_type':_0x1530ba,'name':_0xb3867[_0x3d7826(0x16a)],'body':{'lang':_0x233507[_0x3d7826(0x118)],'code':null},'tags':_0x416b96,'test_run_id':_0x4f5c66,'scope':_0x233507[_0x3d7826(0xfe)](nestedKeyValue,_0x43a34c,[_0x233507['mHFgC'],_0x233507[_0x3d7826(0x111)]]),'scopes':[_0x233507[_0x3d7826(0xf5)](nestedKeyValue,_0x43a34c,[_0x233507['mHFgC'],_0x233507[_0x3d7826(0x111)]])||''],'file_name':_0x39240f,'location':_0x39240f,'vc_filepath':this[_0x3d7826(0xfd)]?path[_0x3d7826(0xf9)](this['_gitConfigPath'],_0x39240f):null,'result':_0x431a52,'started_at':_0x205d47,'framework':_0x233507['KgCzW']};return _0x861971;}catch(_0x58f860){logger[_0x3d7826(0xef)](_0x3d7826(0x125)+util[_0x3d7826(0x11e)](_0x58f860)+'\x20');}}async[a90_0x4f48b3(0x132)](_0x580d8b,_0x7a5cc7,_0x37cf55,_0x42883d,_0x162006,_0x535841){const _0x3347fe=a90_0x4f48b3,_0x480a94={'iUwmI':function(_0x43f1c5,_0x57d993){return _0x43f1c5===_0x57d993;},'LgLRt':'HookRunStarted','cVcxl':function(_0x3a2c31,_0x1a5229,_0x16a39b){return _0x3a2c31(_0x1a5229,_0x16a39b);},'aFHAS':_0x3347fe(0xf8),'jGqep':_0x3347fe(0x112),'Fnujm':_0x3347fe(0x13a),'SJxHJ':function(_0x360e93,_0x2a1c99){return _0x360e93===_0x2a1c99;},'fpOgG':'bstack'};try{const _0x6f0459=_0x42883d[_0x3347fe(0x12b)](_0x625d35=>_0x625d35['id']===_0x162006);if(!_0x6f0459['hookId'])return;const _0x41f945=this['getCucumberHookType'](_0x42883d,_0x6f0459),_0x2ce1a4=this['getHookRunEventData'](_0x580d8b,_0x7a5cc7,_0x37cf55,_0x6f0459,_0x535841,_0x41f945);if(!_0x2ce1a4)return;_0x480a94[_0x3347fe(0x13e)](_0x37cf55,_0x480a94[_0x3347fe(0x13b)])&&(hooksMap[_0x7a5cc7]?hooksMap[_0x7a5cc7][_0x3347fe(0x105)](_0x2ce1a4):hooksMap[_0x7a5cc7]=[_0x2ce1a4]);const _0x9f61b5=_0x580d8b[_0x3347fe(0x15d)]['find'](_0x5531dd=>_0x5531dd['id']===_0x6f0459[_0x3347fe(0x10f)]),_0x31f44e=_0x480a94[_0x3347fe(0x134)](nestedKeyValue,_0x9f61b5,[_0x480a94[_0x3347fe(0x127)],_0x480a94['jGqep']]);if(!_0x31f44e)return;else{if(_0x31f44e['includes'](_0x480a94['Fnujm']))return;}if(_0x480a94[_0x3347fe(0x12a)](_0x2ce1a4[_0x3347fe(0x16a)],_0x480a94[_0x3347fe(0xed)]))return;return _0x2ce1a4;}catch(_0x574dc3){logger[_0x3347fe(0xef)]('Exception\x20in\x20createHookData:\x20'+util[_0x3347fe(0x11e)](_0x574dc3)+'\x20');}}[a90_0x4f48b3(0xf1)](_0x28b074,_0x445289){const _0x346d98=a90_0x4f48b3,_0x1c91b2={};_0x1c91b2['VaQSx']=function(_0x360836,_0x7c5140){return _0x360836===_0x7c5140;},_0x1c91b2['dfVjZ']=_0x346d98(0x172),_0x1c91b2[_0x346d98(0x13d)]=_0x346d98(0x171),_0x1c91b2[_0x346d98(0x15f)]=_0x346d98(0x101),_0x1c91b2[_0x346d98(0x102)]=function(_0x5c88c6,_0x3ad791){return _0x5c88c6||_0x3ad791;};const _0x466a46=_0x1c91b2,_0x20120c=_0x28b074[_0x346d98(0x167)][_0x445289]['testStepResult'];let _0x2d6838,_0x55d775;return _0x20120c&&_0x466a46['VaQSx'](_0x20120c[_0x346d98(0x108)][_0x346d98(0x151)]()['toLowerCase'](),_0x466a46[_0x346d98(0x14d)])&&(_0x2d6838=_0x466a46[_0x346d98(0x16b)](_0x20120c[_0x346d98(0xea)],undefined)?_0x20120c[_0x346d98(0x122)]:_0x20120c[_0x346d98(0xea)][_0x346d98(0x122)],_0x55d775=_0x466a46[_0x346d98(0x16b)](_0x20120c[_0x346d98(0xea)],undefined)?_0x466a46[_0x346d98(0x13d)]:_0x20120c[_0x346d98(0x122)][_0x346d98(0xf7)](/Assert/)?_0x466a46[_0x346d98(0x15f)]:_0x466a46['wuljq']),{'status':_0x20120c[_0x346d98(0x108)][_0x346d98(0xf0)](),'failureType':_0x466a46[_0x346d98(0x102)](_0x55d775,null),'failureData':!_0x2d6838?null:[_0x2d6838]};}['getCucumberHookType'](_0x2ef141,_0x11c54f){const _0x3c385a=a90_0x4f48b3,_0x58778d={};_0x58778d['SNCky']=function(_0x423cc6,_0x191278){return _0x423cc6===_0x191278;},_0x58778d[_0x3c385a(0x12e)]='AFTER_EACH',_0x58778d[_0x3c385a(0x169)]=_0x3c385a(0x143);const _0x1742c6=_0x58778d;let _0x2ef3bd=![];for(const _0x1eca29 of _0x2ef141){_0x1eca29['pickleStepId']&&(_0x2ef3bd=!![]);if(_0x1742c6[_0x3c385a(0x158)](_0x11c54f['id'],_0x1eca29['id']))return _0x2ef3bd?_0x1742c6[_0x3c385a(0x12e)]:_0x1742c6[_0x3c385a(0x169)];}}[a90_0x4f48b3(0x159)]=(_0x4c2aaa,_0x52844c)=>{const _0x2d5f82=a90_0x4f48b3,_0x2ab8d6={};_0x2ab8d6[_0x2d5f82(0x116)]=function(_0x2533f0,_0x528146){return _0x2533f0===_0x528146;},_0x2ab8d6[_0x2d5f82(0x170)]=function(_0x3838a2,_0x188078){return _0x3838a2>_0x188078;};const _0x1ad5bf=_0x2ab8d6;if(!(_0x52844c[_0x2d5f82(0x109)]&&_0x1ad5bf[_0x2d5f82(0x170)](_0x52844c[_0x2d5f82(0x109)]['length'],0x1)))return;const _0x801fd1=_0x52844c['astNodeIds'][0x0],_0x3b39b6=_0x52844c[_0x2d5f82(0x109)][0x1],_0x46c1a5=_0x4c2aaa['feature']&&_0x4c2aaa[_0x2d5f82(0x136)][_0x2d5f82(0x121)]?_0x4c2aaa['feature'][_0x2d5f82(0x121)]:undefined;let _0x39f06f=[];_0x46c1a5&&_0x46c1a5[_0x2d5f82(0x161)](_0x366cc1=>{const _0x56d72c=_0x2d5f82;if(_0x366cc1[_0x56d72c(0x155)])_0x366cc1[_0x56d72c(0x155)][_0x56d72c(0x121)][_0x56d72c(0x161)](_0x37958c=>{const _0x4ceb71=_0x56d72c;if(_0x37958c['scenario']&&_0x1ad5bf['bVAts'](_0x37958c[_0x4ceb71(0x115)]['id'],_0x801fd1)&&_0x37958c[_0x4ceb71(0x115)][_0x4ceb71(0x149)]){const _0x41e45b=_0x37958c[_0x4ceb71(0x115)][_0x4ceb71(0x149)][_0x4ceb71(0x157)](_0x20fbcf=>_0x20fbcf[_0x4ceb71(0x119)])[_0x4ceb71(0x12b)](_0x2cc3e0=>_0x2cc3e0['id']===_0x3b39b6);let _0x4298ed;_0x41e45b&&_0x41e45b['cells']?_0x4298ed=_0x41e45b['cells']['map'](_0x39d52b=>_0x39d52b[_0x4ceb71(0x128)]):_0x4298ed=[],_0x4298ed&&(_0x39f06f=_0x4298ed);}});else{if(_0x366cc1[_0x56d72c(0x115)]&&_0x1ad5bf[_0x56d72c(0x116)](_0x366cc1['scenario']['id'],_0x801fd1)&&_0x366cc1[_0x56d72c(0x115)][_0x56d72c(0x149)]){const _0x5e7130=_0x366cc1[_0x56d72c(0x115)][_0x56d72c(0x149)]['flatMap'](_0x1e3512=>_0x1e3512[_0x56d72c(0x119)])[_0x56d72c(0x12b)](_0x563467=>_0x563467['id']===_0x3b39b6);let _0x32341e;_0x5e7130&&_0x5e7130['cells']?_0x32341e=_0x5e7130[_0x56d72c(0x156)]['map'](_0x3316fd=>_0x3316fd[_0x56d72c(0x128)]):_0x32341e=[],_0x32341e&&(_0x39f06f=_0x32341e);}}});if(_0x39f06f[_0x2d5f82(0x13f)])return _0x39f06f;return;};async[a90_0x4f48b3(0x162)](){const _0x2f6ec1=a90_0x4f48b3,_0x43ff19={'irlCB':function(_0x339540){return _0x339540();}};if(this[_0x2f6ec1(0x163)])return this[_0x2f6ec1(0xfd)];const _0x1b27a4=await _0x43ff19[_0x2f6ec1(0x129)](getGitMetaData);_0x1b27a4&&(this[_0x2f6ec1(0xfd)]=_0x1b27a4[_0x2f6ec1(0x15c)]),this[_0x2f6ec1(0x163)]=!![];}}function a90_0x3567(){const _0x5031e2=['createTestFrameworkData','root','hooks','tEvHn','lGYKq','10Krtomz','forEach','configureGit','_gitConfigured','hook','3lUPvFn','PplOc','testStepFinished','3634344dPkwQR','JgyyP','name','VaQSx','every','duration_in_ms','OzIUA','getHookRunEventData','BfWGd','UnhandledError','failed','vPVsl','exception','qbqNs','tagExpression','fpOgG','../../../helpers/test-observability/error-handler.js','debug','toLowerCase','getHookResult','SnoOK','backtrace','../TestInfo.js','KfYTa','arSPm','match','sourceReference','relative','QKSTl','pbFhJ','cucumber','_gitConfigPath','JRbUl','6YiRuaZ','map','AssertionError','jfLjC','1640936NERVfe','pending','push','failureType','LJjcr','status','astNodeIds','sendTestRunEventForCucumber','finished_at','8521821IRchAy','strip-ansi','javascript','hookId','6814GHncuA','dARrP','uri','WAvZW','nanos','scenario','bVAts','FAILED','FgPjS','tableBody','QyjrJ','split','toISOString','2570589MnzyKL','format','1703684vmZDsH','../../../helpers/logger.js','children','message','winstonLogger','ruPtt','Exception\x20in\x20getHookRunEventData:\x20','failure_type','aFHAS','value','irlCB','SJxHJ','find','Shexk','../../../helpers/helper.js','shyyq','PRXZj','exports','finishedAt','createHookData','failure','cVcxl','OxMEY','feature','util','JWUNt','2316250YbukNG','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','LgLRt','tags','wuljq','iUwmI','length','WuqFR','aicyA','passed','BEFORE_EACH','getCucumberHookType','uuid','timestamp','sendHook','test','examples','urAHX','failureData','result','dfVjZ','failure_data','DNxSn','testCaseFinished','toString','SKIPPED','38gHERiJ','filter','rule','cells','flatMap','SNCky','getScenarioExamples','HookRunFinished'];a90_0x3567=function(){return _0x5031e2;};return a90_0x3567();}module[a90_0x4f48b3(0x130)]=o11yClassErrorHandler(CucumberUtils,[a90_0x4f48b3(0x162),'getScenarioExamples',a90_0x4f48b3(0x144),a90_0x4f48b3(0xf1),a90_0x4f48b3(0x147),a90_0x4f48b3(0x16f),a90_0x4f48b3(0x10a),'createTestFrameworkData']);
@@ -1 +1 @@
1
- function a91_0x241b(){const _0x24a29c=['ZuxKk','started_at','../../../helpers/helper.js','pkRYC','finished_at','pid','1289736jQeRlY',',\x20testIdentifier:\x20','split','debug','DZeSi','match','clearHooksMap','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','parse','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','susIO','1963095vxpXQQ','hlMWV','9489571LRpVdu','expect','uuid','JhYeh','toString','length','3840309homTkF','228644SUGDee','getHookRunEventData','failed','push','plDkn','HookRunStarted','GTCdD','Rgpyi','vNFYo','failure_backtrace','Cxbkd','title',',\x20testRunId:\x20','result','__jestCurrentTestIdentifier','relative',',\x20hookUUID:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','GXQVw','2TYGwTQ','testIdentifier','testPath','crypto','RlJcI','sjoKs','ZmClp','toISOString','asyncError','failure','ifQiw','12fwhxSh','apply','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','AFTER_ALL','5236130ZfJQdQ','BtcIf','Exception\x20in\x20createTestFrameworkData:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','PvnJg','parent','type','afterAll','FnlTg','currentTest','afterEach','getTime','AHOis','hook','testAnalyticsId','SvQon','uFUCM','errorsDetailed','createHookData','format','zExcQ','pGUgd','klzlX','Nfprw','kVLWt','configureGit','exports','../TestInfo.js','../../../helpers/test-observability/error-handler.js','getState','8vawWvD','QHWPD','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','OnjZG','OIGaX','_gitConfigPath','NwRlQ','browserstack-node-agent/src/bin/jest','[jestUtils]\x20No\x20test\x20object\x20provided','NHoYb','../../../helpers/test-observability/utils','EAeXJ','ibKAV','JFhjA','find','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','inspect','kNBrv','ReUhJ','backtrace','_gitConfigured','getFileName','yXAGv','stack','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','failure_reason_expanded','Creating\x20hook\x20data\x20for\x20eventType:\x20','extractTestFilePath','javascript','300174fUnCTa','rjODU','substring','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','yQGau','UfOcm','skipped','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','\x20from\x20compositeKey:\x20','ljccz','ymJEo','error','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','path','passed','kvykd','fullName','createTestFrameworkData','name','JZcnZ','failure_reason','duration','now','xNYjh','TestRunFinished','TJDhA','../../../helpers/logger.js','jbvTW','hex','BEFORE_ALL','includes','getRootParentFile','HookRunFinished','vZQKC','jiJYb','30QDaLez','call',':jest-','displayName','reverse','Gfler','getName','recreateIdentifierFromTestInfo','Exception\x20in\x20createHookData:\x20','jest-circus','createIdentifierFromJestTest','CBpWN','boVRs','failure_data','file','8wGObzO','JiIdF','beforeAll','ROOT_DESCRIBE_BLOCK','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','unknown','createJestTestIdentifier','Unknown\x20Test','kOnxU','jest','TestRunSkipped','\x22\x20hook\x20for\x20\x22','isJestInternalHook','toUpperCase','stack-trace','test','getHierarchy','SjWhj','startedAt','hFcdv','hooks'];a91_0x241b=function(){return _0x24a29c;};return a91_0x241b();}const a91_0x2c7416=a91_0x2e66;function a91_0x2e66(_0x325994,_0x4620ed){const _0x241b45=a91_0x241b();return a91_0x2e66=function(_0x2e6689,_0xf602d2){_0x2e6689=_0x2e6689-0x121;let _0x575eb9=_0x241b45[_0x2e6689];return _0x575eb9;},a91_0x2e66(_0x325994,_0x4620ed);}(function(_0x14dfce,_0x53382e){const _0x581975=a91_0x2e66,_0x41d9fd=_0x14dfce();while(!![]){try{const _0xeb6425=-parseInt(_0x581975(0x1db))/0x1*(parseInt(_0x581975(0x130))/0x2)+-parseInt(_0x581975(0x1d2))/0x3*(parseInt(_0x581975(0x15d))/0x4)+parseInt(_0x581975(0x13f))/0x5+-parseInt(_0x581975(0x17a))/0x6+-parseInt(_0x581975(0x1d4))/0x7*(-parseInt(_0x581975(0x1ac))/0x8)+-parseInt(_0x581975(0x1c7))/0x9*(-parseInt(_0x581975(0x19d))/0xa)+-parseInt(_0x581975(0x1da))/0xb*(parseInt(_0x581975(0x13b))/0xc);if(_0xeb6425===_0x53382e)break;else _0x41d9fd['push'](_0x41d9fd['shift']());}catch(_0xe92e7){_0x41d9fd['push'](_0x41d9fd['shift']());}}}(a91_0x241b,0xdad0d));const path=require(a91_0x2c7416(0x187)),util=require('util'),crypto=require(a91_0x2c7416(0x133)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x2c7416(0x1c3)),logger=require(a91_0x2c7416(0x194))['winstonLogger'],{o11yClassErrorHandler}=require(a91_0x2c7416(0x15b)),TestInfo=require(a91_0x2c7416(0x15a)),{failureData,getFailureType}=require(a91_0x2c7416(0x167)),stackTrace=require(a91_0x2c7416(0x1ba)),a91_0x116e0a={};a91_0x116e0a[a91_0x2c7416(0x1ae)]=a91_0x2c7416(0x197),a91_0x116e0a[a91_0x2c7416(0x146)]=a91_0x2c7416(0x13e),a91_0x116e0a['beforeEach']='BEFORE_EACH',a91_0x116e0a[a91_0x2c7416(0x149)]='AFTER_EACH';const HOOK_TYPES_MAP=a91_0x116e0a,hooksMap={};class JestUtils{constructor(){const _0x244f84=a91_0x2c7416;this[_0x244f84(0x171)]=![],this[_0x244f84(0x162)]=null;}async[a91_0x2c7416(0x18b)](_0x204b96,_0x41dfcd,_0x4f775a='TestRunFinished',_0x44c609=undefined){const _0x3011ae=a91_0x2c7416,_0x1abf3c={'IGojy':_0x3011ae(0x16c),'DZeSi':_0x3011ae(0x1a6),'kvykd':function(_0x235961,_0x5d09a3){return _0x235961||_0x5d09a3;},'Nfprw':'File\x20path\x20could\x20not\x20be\x20found','kOnxU':function(_0x33fc74,_0x3e7c3d){return _0x33fc74!==_0x3e7c3d;},'BtcIf':_0x3011ae(0x1bb),'ifQiw':function(_0x41eda6,_0x56c0b4){return _0x41eda6!==_0x56c0b4;},'pGUgd':'err','kNBrv':function(_0x5d336b,_0x5e23eb){return _0x5d336b!==_0x5e23eb;},'vNFYo':function(_0x12286e,_0x510fa4){return _0x12286e!==_0x510fa4;},'GTCdD':'pending','NHoYb':function(_0x2369d1,_0x211aab){return _0x2369d1===_0x211aab;},'Gfler':_0x3011ae(0x1b6),'QHWPD':_0x3011ae(0x180),'jiJYb':function(_0x131a17,_0x2c3bc2){return _0x131a17>_0x2c3bc2;},'JZcnZ':_0x3011ae(0x1dd),'PvnJg':_0x3011ae(0x188),'UfOcm':function(_0xd0ab0a,_0x5e469b){return _0xd0ab0a-_0x5e469b;},'MOnZx':_0x3011ae(0x179),'taCrK':_0x3011ae(0x1b5),'ymJEo':function(_0x1270c5,_0x273080){return _0x1270c5(_0x273080);},'TJDhA':function(_0x171d72,_0x4ce1b7){return _0x171d72===_0x4ce1b7;},'RlJcI':_0x3011ae(0x192)};logger[_0x3011ae(0x1ca)](_0x3011ae(0x181)+_0x4f775a+_0x3011ae(0x1c8)+_0x41dfcd);try{if(!_0x204b96)return logger[_0x3011ae(0x1ca)](_0x1abf3c['IGojy']),null;if(_0x204b96['fn']&&_0x204b96['fn']['toString']()[_0x3011ae(0x1cc)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x3b1df4;try{_0x3b1df4=this[_0x3011ae(0x199)](_0x204b96);if(_0x3b1df4&&_0x3b1df4[_0x3011ae(0x198)](_0x1abf3c[_0x3011ae(0x1cb)]))return null;}catch(_0x572125){logger[_0x3011ae(0x1ca)](_0x3011ae(0x12e)+util[_0x3011ae(0x152)](_0x572125)),_0x3b1df4=null;}const _0x42c890=this[_0x3011ae(0x1bc)](_0x204b96),_0x823f02=this[_0x3011ae(0x1a3)](_0x204b96),_0x496713=_0x1abf3c[_0x3011ae(0x189)](_0x3b1df4,_0x1abf3c[_0x3011ae(0x156)]);let _0x422475=[];if(_0x1abf3c[_0x3011ae(0x1b4)](_0x204b96[_0x3011ae(0x150)],undefined))_0x422475=[_0x204b96[_0x3011ae(0x150)],_0x1abf3c['BtcIf']];else _0x1abf3c[_0x3011ae(0x13a)](_0x44c609,undefined)&&(_0x422475=[_0x44c609,_0x1abf3c[_0x3011ae(0x154)]]);const _0x5ae2b0=_0x1abf3c[_0x3011ae(0x16e)](_0x204b96['errorsDetailed'],undefined)?util['inspect'](_0x204b96[_0x3011ae(0x150)][0x0]):_0x1abf3c[_0x3011ae(0x125)](_0x44c609,undefined)?_0x44c609[_0x3011ae(0x1d8)]():undefined;let _0x30559b=_0x1abf3c[_0x3011ae(0x123)];if(_0x1abf3c[_0x3011ae(0x166)](_0x4f775a,_0x1abf3c[_0x3011ae(0x1a2)]))_0x30559b=_0x1abf3c[_0x3011ae(0x15e)];else _0x204b96[_0x3011ae(0x150)]&&_0x1abf3c[_0x3011ae(0x19c)](_0x204b96[_0x3011ae(0x150)][_0x3011ae(0x1d9)],0x0)?_0x30559b=_0x1abf3c[_0x3011ae(0x18d)]:_0x30559b=_0x1abf3c[_0x3011ae(0x143)];let _0x3591d7=null;if(_0x1abf3c['kNBrv'](_0x204b96[_0x3011ae(0x18f)],undefined))_0x3591d7=_0x204b96['duration'];else(_0x4f775a['match'](/Finished/)||_0x4f775a[_0x3011ae(0x1cc)](/Skipped/))&&(_0x204b96[_0x3011ae(0x1c2)]&&(_0x3591d7=_0x1abf3c[_0x3011ae(0x17f)](Date[_0x3011ae(0x190)](),new Date(_0x204b96[_0x3011ae(0x1c2)])[_0x3011ae(0x14a)]())));const _0x52409b=_0x204b96['fn']?_0x204b96['fn']['toString']():null,_0x2a8a84={'id':_0x41dfcd,'uuid':_0x41dfcd,'startedAt':_0x204b96[_0x3011ae(0x1c2)]||new Date()['toISOString'](),'finishedAt':_0x4f775a['match'](/Finished/)||_0x4f775a[_0x3011ae(0x1cc)](/Skipped/)?new Date()[_0x3011ae(0x137)]():null,'type':_0x1abf3c[_0x3011ae(0x140)],'body':{'lang':_0x1abf3c['MOnZx'],'code':_0x52409b},'name':_0x823f02,'scopes':_0x42c890,'file_name':_0x496713,'location':_0x496713,'vc_filepath':this[_0x3011ae(0x162)]&&_0x3b1df4?path[_0x3011ae(0x12c)](this['_gitConfigPath'],_0x3b1df4):null,'framework':_0x1abf3c['taCrK'],'result':_0x30559b,'failure_reason':_0x5ae2b0,'duration_in_ms':_0x3591d7,'failure':failureData['apply'](null,_0x422475),'failure_type':!_0x5ae2b0?null:_0x1abf3c[_0x3011ae(0x184)](getFailureType,_0x5ae2b0),'retry_of':_0x204b96['retryOf']||null,'customRerunParam':{'rerun_name':_0x823f02}};_0x1abf3c[_0x3011ae(0x193)](_0x4f775a,_0x1abf3c[_0x3011ae(0x1a2)])&&!_0x2a8a84[_0x3011ae(0x1be)]&&(_0x2a8a84[_0x3011ae(0x1be)]=_0x2a8a84['finishedAt']);const _0x400792=_0x2a8a84[_0x3011ae(0x139)]&&_0x2a8a84[_0x3011ae(0x139)][0x0];return _0x400792&&(_0x2a8a84[_0x3011ae(0x126)]=_0x400792[_0x3011ae(0x170)],_0x2a8a84[_0x3011ae(0x176)]=_0x400792['expanded']),(_0x1abf3c[_0x3011ae(0x193)](_0x4f775a,_0x1abf3c[_0x3011ae(0x134)])||_0x1abf3c[_0x3011ae(0x166)](_0x4f775a,_0x1abf3c[_0x3011ae(0x1a2)]))&&(_0x204b96[_0x3011ae(0x1c0)]&&(_0x2a8a84[_0x3011ae(0x1c0)]=_0x204b96[_0x3011ae(0x1c0)])),_0x2a8a84;}catch(_0x2dde0f){return logger[_0x3011ae(0x1ca)](_0x3011ae(0x141)+util['format'](_0x2dde0f)),null;}}async[a91_0x2c7416(0x151)](_0xe40a77,_0x59b04a,_0x4f8f22,_0x2b35dc){const _0x2dbddb=a91_0x2c7416,_0x160d95={'OUHSG':_0x2dbddb(0x1ce),'boVRs':_0x2dbddb(0x1a6),'zZqoV':_0x2dbddb(0x164),'BOhEI':_0x2dbddb(0x1b1),'klzlX':'pending','uFUCM':function(_0x2242ac,_0x247e38){return _0x2242ac===_0x247e38;},'xtVJT':_0x2dbddb(0x19a),'xNYjh':function(_0x4dc75f,_0x39af17){return _0x4dc75f>_0x39af17;},'vZQKC':'failed','jbvTW':function(_0x5e346b,_0x1a1a81){return _0x5e346b(_0x1a1a81);},'SvQon':'test','ReUhJ':'passed','susIO':_0x2dbddb(0x14c),'hlMWV':_0x2dbddb(0x179),'ljccz':_0x2dbddb(0x1b5),'plDkn':function(_0x20e613,_0x362483){return _0x20e613===_0x362483;},'OIGaX':_0x2dbddb(0x122)};logger[_0x2dbddb(0x1ca)](_0x2dbddb(0x177)+_0x4f8f22+_0x2dbddb(0x12d)+_0x59b04a+_0x2dbddb(0x129)+_0x2b35dc);try{if(!_0xe40a77)return logger[_0x2dbddb(0x1ca)](_0x160d95['OUHSG']),null;if(this[_0x2dbddb(0x1b8)](_0xe40a77))return null;await this[_0x2dbddb(0x158)]();let _0x126daf=null;try{_0x126daf=this[_0x2dbddb(0x199)](_0xe40a77);if(_0x126daf&&_0x126daf[_0x2dbddb(0x198)](_0x160d95[_0x2dbddb(0x1a9)]))return null;if(_0x126daf&&_0x126daf['includes'](_0x160d95['zZqoV']))return null;}catch(_0x261357){logger[_0x2dbddb(0x1ca)]('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0x2dbddb(0x152)](_0x261357));}const _0x14c6d8=this[_0x2dbddb(0x1a3)](_0xe40a77),_0x4e2500=_0xe40a77[_0x2dbddb(0x145)]||_0x160d95['BOhEI'],_0x125b48=HOOK_TYPES_MAP[_0x4e2500]||_0x4e2500[_0x2dbddb(0x1b9)](),_0x855f6a=_0xe40a77['parent']&&_0xe40a77[_0x2dbddb(0x144)][_0x2dbddb(0x18c)]?_0xe40a77[_0x2dbddb(0x144)]['name']:'';let _0x9cfdca=_0x160d95[_0x2dbddb(0x155)],_0x113488=null,_0x2548fb=null,_0x3867b5=null,_0x572bbd=null;_0x160d95[_0x2dbddb(0x14f)](_0x4f8f22,_0x160d95['xtVJT'])&&(_0x572bbd=new Date()[_0x2dbddb(0x137)](),_0xe40a77[_0x2dbddb(0x150)]&&_0x160d95[_0x2dbddb(0x191)](_0xe40a77[_0x2dbddb(0x150)][_0x2dbddb(0x1d9)],0x0)?(_0x9cfdca=_0x160d95[_0x2dbddb(0x19b)],_0x2548fb=util[_0x2dbddb(0x16d)](_0xe40a77[_0x2dbddb(0x150)][0x0]),_0x113488=_0x160d95[_0x2dbddb(0x195)](getFailureType,_0x2548fb),_0x3867b5=failureData['apply'](null,[_0xe40a77[_0x2dbddb(0x150)],_0x160d95[_0x2dbddb(0x14e)]])):_0x9cfdca=_0x160d95[_0x2dbddb(0x16f)]);const _0x4b10ee={'uuid':_0x59b04a,'type':_0x160d95[_0x2dbddb(0x1d1)],'hook_type':_0x125b48,'name':_0x14c6d8,'body':{'lang':_0x160d95[_0x2dbddb(0x1d3)],'code':_0xe40a77['fn']?_0xe40a77['fn'][_0x2dbddb(0x1d8)]():null},'tags':[],'test_run_id':_0x2b35dc,'scope':_0x855f6a,'scopes':[_0x855f6a],'file_name':_0x126daf,'location':_0x126daf,'vc_filepath':this['_gitConfigPath']&&_0x126daf?path[_0x2dbddb(0x12c)](this['_gitConfigPath'],_0x126daf):null,'result':_0x9cfdca,'started_at':_0xe40a77[_0x2dbddb(0x1c2)]||new Date()[_0x2dbddb(0x137)](),'finished_at':_0x572bbd,'failure_type':_0x113488,'failure_reason':_0x2548fb,'failure_data':_0x3867b5,'framework':_0x160d95[_0x2dbddb(0x183)]};return _0x160d95[_0x2dbddb(0x121)](_0x4f8f22,_0x160d95[_0x2dbddb(0x161)])&&(hooksMap[_0x2b35dc]?hooksMap[_0x2b35dc][_0x2dbddb(0x1de)](_0x4b10ee):hooksMap[_0x2b35dc]=[_0x4b10ee]),_0x4b10ee;}catch(_0x523cad){return logger['debug'](_0x2dbddb(0x1a5)+util[_0x2dbddb(0x152)](_0x523cad)),null;}}[a91_0x2c7416(0x1dc)](_0x72024b,_0x295efd,_0x4f30f2){const _0x305276=a91_0x2c7416,_0x3e273b={'yXAGv':function(_0x58c88b,_0x51aa04){return _0x58c88b>_0x51aa04;},'ibKAV':_0x305276(0x1dd),'Cxbkd':function(_0x5e91d2,_0x56ba9f){return _0x5e91d2(_0x56ba9f);},'JhYeh':_0x305276(0x1bb),'AHOis':'passed'};try{const _0x1e70a9=hooksMap[_0x72024b];if(!_0x1e70a9)return null;const _0x16e3dc=_0x1e70a9[_0x305276(0x16b)](_0x1050cd=>_0x1050cd[_0x305276(0x1d6)]===_0x295efd);if(!_0x16e3dc)return null;return _0x16e3dc[_0x305276(0x1c5)]=new Date()[_0x305276(0x137)](),_0x4f30f2['errorsDetailed']&&_0x3e273b[_0x305276(0x173)](_0x4f30f2[_0x305276(0x150)]['length'],0x0)?(_0x16e3dc[_0x305276(0x12a)]=_0x3e273b[_0x305276(0x169)],_0x16e3dc[_0x305276(0x18e)]=util[_0x305276(0x16d)](_0x4f30f2[_0x305276(0x150)][0x0]),_0x16e3dc['failure_type']=_0x3e273b[_0x305276(0x127)](getFailureType,_0x16e3dc['failure_reason']),_0x16e3dc[_0x305276(0x1aa)]=failureData[_0x305276(0x13c)](null,[_0x4f30f2[_0x305276(0x150)],_0x3e273b[_0x305276(0x1d7)]])):_0x16e3dc[_0x305276(0x12a)]=_0x3e273b[_0x305276(0x14b)],_0x16e3dc;}catch(_0x384259){return logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x384259)),null;}}[a91_0x2c7416(0x1a3)](_0x39e5fa){const _0x26832a=a91_0x2c7416,_0x5d7beb={};_0x5d7beb[_0x26832a(0x1ad)]=function(_0x3e6771,_0x5b2ba3){return _0x3e6771!==_0x5b2ba3;},_0x5d7beb[_0x26832a(0x12f)]=_0x26832a(0x1bb),_0x5d7beb[_0x26832a(0x1c4)]=_0x26832a(0x1b3);const _0x4ce2a4=_0x5d7beb;if(_0x4ce2a4['JiIdF'](_0x39e5fa[_0x26832a(0x145)],_0x4ce2a4[_0x26832a(0x12f)]))return'\x22'+_0x39e5fa[_0x26832a(0x145)]+_0x26832a(0x1b7)+(_0x39e5fa[_0x26832a(0x144)]&&_0x39e5fa[_0x26832a(0x144)][_0x26832a(0x18c)])+'\x22';return _0x39e5fa[_0x26832a(0x18c)]||_0x4ce2a4[_0x26832a(0x1c4)];}[a91_0x2c7416(0x1bc)](_0x8a04ed){const _0x352467=a91_0x2c7416,_0xa839f1={};_0xa839f1[_0x352467(0x1bf)]=function(_0x857dac,_0x276742){return _0x857dac!==_0x276742;},_0xa839f1[_0x352467(0x157)]=function(_0x33fdb2,_0x119514){return _0x33fdb2!==_0x119514;},_0xa839f1[_0x352467(0x160)]=_0x352467(0x1af);const _0x8d47bb=_0xa839f1,_0x10b464=[];if(_0x8a04ed&&_0x8a04ed['parent']){let _0x41dc0b=_0x8a04ed[_0x352467(0x144)];while(_0x41dc0b&&_0x41dc0b[_0x352467(0x18c)]&&_0x8d47bb[_0x352467(0x1bf)](_0x41dc0b[_0x352467(0x18c)],'')&&_0x8d47bb[_0x352467(0x157)](_0x41dc0b[_0x352467(0x18c)],_0x8d47bb['OnjZG'])){_0x10b464[_0x352467(0x1de)](_0x41dc0b[_0x352467(0x18c)]),_0x41dc0b=_0x41dc0b[_0x352467(0x144)];}}return _0x10b464[_0x352467(0x1a1)](),_0x10b464;}[a91_0x2c7416(0x199)](_0x256e4f){const _0x359e9f=a91_0x2c7416;if(_0x256e4f[_0x359e9f(0x138)])try{const _0x4c23e4=stackTrace[_0x359e9f(0x1cf)][_0x359e9f(0x19e)](stackTrace,_0x256e4f['asyncError']);if(_0x4c23e4[0x0]&&_0x4c23e4[0x0]['getFileName'])return _0x4c23e4[0x0]['getFileName']();}catch(_0x522eb7){logger['debug'](_0x359e9f(0x186)+util[_0x359e9f(0x152)](_0x522eb7));}if(_0x256e4f[_0x359e9f(0x1ab)])return _0x256e4f[_0x359e9f(0x1ab)];return null;}[a91_0x2c7416(0x1b8)](_0xe8c738){const _0x5c916f=a91_0x2c7416,_0x53e57c={};_0x53e57c['yQGau']=_0x5c916f(0x1a6);const _0x17c6c5=_0x53e57c;try{const _0x4179cc=this[_0x5c916f(0x199)](_0xe8c738);if(_0x4179cc&&_0x4179cc[_0x5c916f(0x198)](_0x17c6c5[_0x5c916f(0x17e)]))return!![];}catch(_0x599af9){logger['debug'](_0x5c916f(0x1d0)+util['format'](_0x599af9));}return![];}['getTestIdentifier'](_0x4e193b=null){const _0x5402fd=a91_0x2c7416;try{const _0x344db6=_0x4e193b||global['__workerDetails']||{};if(global[_0x5402fd(0x12b)])return global[_0x5402fd(0x12b)];if(_0x344db6?.['currentTest']?.[_0x5402fd(0x14d)])return _0x344db6['currentTest'][_0x5402fd(0x14d)];if(_0x344db6?.[_0x5402fd(0x148)]?.['id'])return _0x344db6[_0x5402fd(0x148)]['id'];return null;}catch(_0x93b140){return logger[_0x5402fd(0x1ca)](_0x5402fd(0x13d)+util[_0x5402fd(0x152)](_0x93b140)),null;}}async[a91_0x2c7416(0x158)](){const _0x1380e2=a91_0x2c7416,_0x55363d={'sjoKs':function(_0x4a8d75){return _0x4a8d75();}};if(this[_0x1380e2(0x171)])return this[_0x1380e2(0x162)];const _0x24fc91=await _0x55363d[_0x1380e2(0x135)](getGitMetaData);_0x24fc91&&(this[_0x1380e2(0x162)]=_0x24fc91['root']),this[_0x1380e2(0x171)]=!![];}['clearHooksMap'](_0x8e743b){hooksMap[_0x8e743b]&&delete hooksMap[_0x8e743b];}[a91_0x2c7416(0x178)](_0x3071c7){const _0x3880f8=a91_0x2c7416,_0xa06a79={'FnlTg':_0x3880f8(0x1a6),'rjODU':function(_0x50eeb8,_0x5cb1fe){return _0x50eeb8(_0x5cb1fe);},'CBpWN':_0x3880f8(0x1d5)};if(_0x3071c7[_0x3880f8(0x1ab)])return _0x3071c7['file'];if(_0x3071c7[_0x3880f8(0x138)]){try{const _0x543449=stackTrace[_0x3880f8(0x1cf)](_0x3071c7[_0x3880f8(0x138)]);if(_0x543449[0x0]&&_0x543449[0x0][_0x3880f8(0x172)]){const _0x45d916=_0x543449[0x0]['getFileName']();if(_0x45d916&&!_0x45d916['includes'](_0xa06a79[_0x3880f8(0x147)]))return _0x45d916;}}catch(_0x1a0532){logger['debug'](_0x3880f8(0x1b0)+util[_0x3880f8(0x152)](_0x1a0532));}if(_0x3071c7[_0x3880f8(0x138)][_0x3880f8(0x174)]){const _0x55a932=_0x3071c7[_0x3880f8(0x138)][_0x3880f8(0x174)][_0x3880f8(0x1c9)]('\x0a');for(const _0x3661e8 of _0x55a932){const _0x3b7718=_0x3661e8[_0x3880f8(0x1cc)](/at (.+?):\d+:\d+/);if(_0x3b7718&&_0x3b7718[0x1]&&!_0x3b7718[0x1][_0x3880f8(0x198)](_0xa06a79[_0x3880f8(0x147)]))return _0x3b7718[0x1];}}}let _0x1a1f65=_0x3071c7[_0x3880f8(0x144)];while(_0x1a1f65){if(_0x1a1f65[_0x3880f8(0x1ab)])return _0x1a1f65[_0x3880f8(0x1ab)];if(_0x1a1f65[_0x3880f8(0x138)])try{const _0x2c8fd2=stackTrace[_0x3880f8(0x1cf)](_0x1a1f65[_0x3880f8(0x138)]);if(_0x2c8fd2[0x0]&&_0x2c8fd2[0x0][_0x3880f8(0x172)]){const _0x371a5c=_0x2c8fd2[0x0][_0x3880f8(0x172)]();if(_0x371a5c&&!_0x371a5c['includes'](_0xa06a79[_0x3880f8(0x147)]))return _0x371a5c;}}catch(_0x24184a){}_0x1a1f65=_0x1a1f65[_0x3880f8(0x144)];}try{const _0x4e9b76=_0xa06a79[_0x3880f8(0x17b)](require,_0xa06a79[_0x3880f8(0x1a8)]);if(_0x4e9b76&&_0x4e9b76[_0x3880f8(0x15c)]){const _0x6c95db=_0x4e9b76[_0x3880f8(0x15c)]();if(_0x6c95db&&_0x6c95db[_0x3880f8(0x132)])return _0x6c95db['testPath'];}}catch(_0x3e3065){logger['debug'](_0x3880f8(0x142)+util[_0x3880f8(0x152)](_0x3e3065));}return null;}['createJestTestIdentifier'](_0x484838){const _0x207f2e=a91_0x2c7416,_0x5f2b4c={};_0x5f2b4c[_0x207f2e(0x16a)]=_0x207f2e(0x175),_0x5f2b4c[_0x207f2e(0x153)]=function(_0x14becf,_0x10c200){return _0x14becf!==_0x10c200;},_0x5f2b4c[_0x207f2e(0x163)]=_0x207f2e(0x1af),_0x5f2b4c[_0x207f2e(0x124)]='jest-circus',_0x5f2b4c[_0x207f2e(0x1bd)]='md5',_0x5f2b4c[_0x207f2e(0x136)]=_0x207f2e(0x196);const _0x24e807=_0x5f2b4c;try{if(!_0x484838)return logger['error'](_0x24e807['JFhjA']),null;const _0x19132c=_0x484838[_0x207f2e(0x18a)]||_0x484838['name']||_0x484838['title']||_0x484838[_0x207f2e(0x1a0)];let _0x1c89a5=_0x19132c;if(_0x484838[_0x207f2e(0x144)]&&_0x484838[_0x207f2e(0x144)][_0x207f2e(0x18c)]&&_0x24e807['zExcQ'](_0x484838[_0x207f2e(0x144)][_0x207f2e(0x18c)],_0x24e807[_0x207f2e(0x163)])){const _0x4489d1=_0x484838[_0x207f2e(0x18c)]||_0x484838[_0x207f2e(0x128)];_0x4489d1&&(_0x1c89a5=_0x484838[_0x207f2e(0x144)][_0x207f2e(0x18c)]+'\x20'+_0x4489d1);}let _0xb9775f=_0x484838[_0x207f2e(0x132)];if(!_0xb9775f&&_0x484838[_0x207f2e(0x138)]){try{const _0x86675a=stackTrace[_0x207f2e(0x1cf)](_0x484838[_0x207f2e(0x138)]);if(_0x86675a[0x0]&&_0x86675a[0x0][_0x207f2e(0x172)]){const _0x149f73=_0x86675a[0x0][_0x207f2e(0x172)]();_0x149f73&&!_0x149f73[_0x207f2e(0x198)](_0x24e807[_0x207f2e(0x124)])&&(_0xb9775f=_0x149f73);}}catch(_0x523b4c){logger[_0x207f2e(0x1ca)](_0x207f2e(0x1b0)+util[_0x207f2e(0x152)](_0x523b4c));}if(!_0xb9775f&&_0x484838[_0x207f2e(0x138)][_0x207f2e(0x174)]){const _0x46d90f=_0x484838['asyncError'][_0x207f2e(0x174)][_0x207f2e(0x1c9)]('\x0a');for(const _0x2c49a4 of _0x46d90f){const _0x2ccabf=_0x2c49a4[_0x207f2e(0x1cc)](/at (.+?):\d+:\d+/);if(_0x2ccabf&&_0x2ccabf[0x1]&&!_0x2ccabf[0x1][_0x207f2e(0x198)](_0x24e807[_0x207f2e(0x124)])){_0xb9775f=_0x2ccabf[0x1];break;}}}}const _0x4542f7=_0xb9775f+'::'+_0x1c89a5,_0x1edf82=crypto['createHash'](_0x24e807['SjWhj'])['update'](_0x4542f7)['digest'](_0x24e807['ZmClp'])[_0x207f2e(0x17c)](0x0,0x8),_0x218ed3=process[_0x207f2e(0x1c6)]+_0x207f2e(0x19f)+_0x1edf82;return logger[_0x207f2e(0x1ca)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x218ed3+_0x207f2e(0x182)+_0x4542f7),_0x218ed3;}catch(_0x5273e2){return logger[_0x207f2e(0x185)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x207f2e(0x152)](_0x5273e2)),null;}}[a91_0x2c7416(0x1a7)](_0x17a1ca){const _0x3989b8=a91_0x2c7416,_0x491b77={};_0x491b77[_0x3989b8(0x168)]=_0x3989b8(0x165);const _0x453f83=_0x491b77;if(!_0x17a1ca)return logger[_0x3989b8(0x1ca)](_0x453f83[_0x3989b8(0x168)]),null;const _0x5a2b7f=this[_0x3989b8(0x178)](_0x17a1ca),_0x3637b3={};_0x3637b3[_0x3989b8(0x18c)]=_0x17a1ca[_0x3989b8(0x18c)]||_0x17a1ca[_0x3989b8(0x128)],_0x3637b3[_0x3989b8(0x144)]=_0x17a1ca[_0x3989b8(0x144)],_0x3637b3[_0x3989b8(0x132)]=_0x5a2b7f,_0x3637b3[_0x3989b8(0x138)]=_0x17a1ca[_0x3989b8(0x138)];const _0x5ea248=_0x3637b3;return this['createJestTestIdentifier'](_0x5ea248);}[a91_0x2c7416(0x1a4)](_0x1be577){const _0x15a730=a91_0x2c7416,_0x3e100b={};_0x3e100b[_0x15a730(0x1c1)]=_0x15a730(0x15f);const _0x29d870=_0x3e100b;if(!_0x1be577)return logger['debug'](_0x29d870['ZuxKk']),null;if(_0x1be577[_0x15a730(0x131)])return logger['debug'](_0x15a730(0x17d)+_0x1be577[_0x15a730(0x131)]),_0x1be577['testIdentifier'];return this[_0x15a730(0x1b2)](_0x1be577);}}module[a91_0x2c7416(0x159)]=o11yClassErrorHandler(JestUtils,['configureGit',a91_0x2c7416(0x1bc),'getRootParentFile','getName',a91_0x2c7416(0x1b8),'getTestIdentifier','createTestFrameworkData',a91_0x2c7416(0x151),'getHookRunEventData',a91_0x2c7416(0x1cd),a91_0x2c7416(0x178),a91_0x2c7416(0x1b2),a91_0x2c7416(0x1a7),a91_0x2c7416(0x1a4)]);
1
+ const a91_0x231b01=a91_0x427c;(function(_0x4b419a,_0x54a4b8){const _0x495c71=a91_0x427c,_0x5108c1=_0x4b419a();while(!![]){try{const _0x51ff93=-parseInt(_0x495c71(0x281))/0x1*(parseInt(_0x495c71(0x24e))/0x2)+parseInt(_0x495c71(0x212))/0x3+parseInt(_0x495c71(0x1f9))/0x4*(parseInt(_0x495c71(0x207))/0x5)+-parseInt(_0x495c71(0x265))/0x6*(-parseInt(_0x495c71(0x22e))/0x7)+-parseInt(_0x495c71(0x22f))/0x8*(parseInt(_0x495c71(0x1f2))/0x9)+parseInt(_0x495c71(0x21c))/0xa+parseInt(_0x495c71(0x203))/0xb;if(_0x51ff93===_0x54a4b8)break;else _0x5108c1['push'](_0x5108c1['shift']());}catch(_0x32aba8){_0x5108c1['push'](_0x5108c1['shift']());}}}(a91_0x2c30,0x8b29e));const path=require('path'),util=require('util'),crypto=require(a91_0x231b01(0x229)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x231b01(0x205)),logger=require(a91_0x231b01(0x237))[a91_0x231b01(0x20a)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a91_0x231b01(0x26b)),{failureData,getFailureType}=require('../../../helpers/test-observability/utils'),stackTrace=require(a91_0x231b01(0x221)),a91_0x11d8ec={};a91_0x11d8ec[a91_0x231b01(0x22a)]=a91_0x231b01(0x24b),a91_0x11d8ec['afterAll']='AFTER_ALL',a91_0x11d8ec[a91_0x231b01(0x282)]=a91_0x231b01(0x235),a91_0x11d8ec[a91_0x231b01(0x238)]=a91_0x231b01(0x277);function a91_0x2c30(){const _0x4b66f8=['title','backtrace','testPath','HAjPv','isJestInternalHook','6510880QmoaFF','CjonQ','hook','QdBMI','hCUIK','stack-trace','md5','QfIvB','inspect','veFhU','UQFgH','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','file','crypto','beforeAll','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','recreateIdentifierFromTestInfo','SePVc','1036AekaHq','8pWmkOs','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','Exception\x20in\x20createTestFrameworkData:\x20','stack','bQpaz','_gitConfigured','BEFORE_EACH','FGRXi','../../../helpers/logger.js','afterEach','getHookRunEventData','RVNcb','hvxSj','extractTestFilePath','RIYpd','startedAt','XHUqx','test','iGUbE','errorsDetailed','clearHooksMap','jUIDW','AxQee','OQDQl','CUcaw','apply','type','\x22\x20hook\x20for\x20\x22','BEFORE_ALL','split','lZOJD','262178LEVavH','Wygap','failure','bywPF','OqDAX','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','__jestCurrentTestIdentifier','getFileName','doeVx','HookRunFinished','asyncError','relative','substring','TestRunFinished','name','LHxEz','hooks','createTestFrameworkData','vooah','createIdentifierFromJestTest','myMxs','failure_data','hex','17526mLrMPX','__workerDetails','pid','ROOT_DESCRIBE_BLOCK','XQGfh',',\x20testIdentifier:\x20','../TestInfo.js',',\x20hookUUID:\x20','passed','createHookData','vMHrY','parse','LvzUx','failure_reason_expanded','\x20from\x20compositeKey:\x20','testIdentifier','digest','wvXXS','AFTER_EACH','result',':jest-','acJXw','jest','reverse','getState','[jestUtils]\x20No\x20test\x20object\x20provided','finished_at','parent','7bVumUi','beforeEach','getHierarchy','failure_reason','ZJnXB','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','find','pending','KkTar','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','hlogA','err','WuElz','QRagE','yRBdG','GbfmD','createHash','format','KBYOh','zfxqZ','_gitConfigPath','getTestIdentifier','error','configureGit','includes','stYMk','[jestUtils]\x20Created\x20identifier:\x20',',\x20testRunId:\x20','debug','HxsPp','getTime','call','expect','4455684OaIqyt','failure_backtrace','duration','QcjbR','createJestTestIdentifier','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','toISOString','6464cQYklO','failed','now','XawYl','length','nCmNl','started_at','jest-circus','Creating\x20hook\x20data\x20for\x20eventType:\x20','toUpperCase','6545946zyuboE','currentTest','../../../helpers/helper.js','testAnalyticsId','140ZUYRCd','finishedAt','Exception\x20in\x20getHookRunEventData:\x20','winstonLogger','browserstack-node-agent/src/bin/jest','getRootParentFile','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','push','javascript','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','getName','776949KqAXMQ','toString','PnVJR','gKvWc','match'];a91_0x2c30=function(){return _0x4b66f8;};return a91_0x2c30();}const HOOK_TYPES_MAP=a91_0x11d8ec,hooksMap={};class JestUtils{constructor(){const _0x1148d1=a91_0x231b01;this['_gitConfigured']=![],this[_0x1148d1(0x295)]=null;}async['createTestFrameworkData'](_0x4533d6,_0x2cbd49,_0x548c36=a91_0x231b01(0x25b),_0x3ac4ca=undefined){const _0x4a5f3d=a91_0x231b01,_0x4d1af6={'bywPF':_0x4a5f3d(0x230),'QdBMI':_0x4a5f3d(0x200),'ltCcb':function(_0x3939a9,_0x203d68){return _0x3939a9||_0x203d68;},'doeVx':'File\x20path\x20could\x20not\x20be\x20found','HxsPp':function(_0x319142,_0x14334c){return _0x319142!==_0x14334c;},'LHxEz':_0x4a5f3d(0x240),'PnVJR':function(_0x5cbddb,_0xc0eaf2){return _0x5cbddb!==_0xc0eaf2;},'vMHrY':_0x4a5f3d(0x28c),'hbVZA':function(_0x5f201c,_0x1f7c97){return _0x5f201c!==_0x1f7c97;},'CjonQ':_0x4a5f3d(0x288),'zfxqZ':function(_0x4dc7a4,_0x26d681){return _0x4dc7a4===_0x26d681;},'hCUIK':'TestRunSkipped','QRagE':'skipped','UBcna':function(_0x125d7b,_0x2beb5c){return _0x125d7b>_0x2beb5c;},'OqDAX':'failed','gKvWc':_0x4a5f3d(0x26d),'KBYOh':function(_0x5a9c67,_0x3bf6f5){return _0x5a9c67-_0x3bf6f5;},'hlogA':_0x4a5f3d(0x20f),'OQDQl':_0x4a5f3d(0x27b),'bnbFA':function(_0x2026e4,_0x30eb73){return _0x2026e4(_0x30eb73);},'yRBdG':function(_0x115b5e,_0x2ee992){return _0x115b5e===_0x2ee992;},'SePVc':'TestRunFinished'};logger['debug'](_0x4a5f3d(0x28a)+_0x548c36+_0x4a5f3d(0x26a)+_0x2cbd49);try{if(!_0x4533d6)return logger[_0x4a5f3d(0x1ed)](_0x4d1af6[_0x4a5f3d(0x251)]),null;if(_0x4533d6['fn']&&_0x4533d6['fn']['toString']()[_0x4a5f3d(0x216)](/browserstack internal helper hook/))return null;await this[_0x4a5f3d(0x298)]();let _0x40b877;try{_0x40b877=this['getRootParentFile'](_0x4533d6);if(_0x40b877&&_0x40b877[_0x4a5f3d(0x299)](_0x4d1af6[_0x4a5f3d(0x21f)]))return null;}catch(_0x3724c4){logger[_0x4a5f3d(0x1ed)](_0x4a5f3d(0x253)+util[_0x4a5f3d(0x292)](_0x3724c4)),_0x40b877=null;}const _0x5e08ad=this[_0x4a5f3d(0x283)](_0x4533d6),_0x3beb1c=this[_0x4a5f3d(0x211)](_0x4533d6),_0x558de4=_0x4d1af6['ltCcb'](_0x40b877,_0x4d1af6[_0x4a5f3d(0x256)]);let _0x3f4bd4=[];if(_0x4d1af6[_0x4a5f3d(0x1ee)](_0x4533d6[_0x4a5f3d(0x242)],undefined))_0x3f4bd4=[_0x4533d6[_0x4a5f3d(0x242)],_0x4d1af6[_0x4a5f3d(0x25d)]];else _0x4d1af6[_0x4a5f3d(0x214)](_0x3ac4ca,undefined)&&(_0x3f4bd4=[_0x3ac4ca,_0x4d1af6[_0x4a5f3d(0x26f)]]);const _0x4a73fb=_0x4d1af6[_0x4a5f3d(0x1ee)](_0x4533d6[_0x4a5f3d(0x242)],undefined)?util[_0x4a5f3d(0x224)](_0x4533d6[_0x4a5f3d(0x242)][0x0]):_0x4d1af6['hbVZA'](_0x3ac4ca,undefined)?_0x3ac4ca['toString']():undefined;let _0x202db5=_0x4d1af6[_0x4a5f3d(0x21d)];if(_0x4d1af6[_0x4a5f3d(0x294)](_0x548c36,_0x4d1af6[_0x4a5f3d(0x220)]))_0x202db5=_0x4d1af6[_0x4a5f3d(0x28e)];else _0x4533d6[_0x4a5f3d(0x242)]&&_0x4d1af6['UBcna'](_0x4533d6[_0x4a5f3d(0x242)][_0x4a5f3d(0x1fd)],0x0)?_0x202db5=_0x4d1af6[_0x4a5f3d(0x252)]:_0x202db5=_0x4d1af6[_0x4a5f3d(0x215)];let _0x8b8176=null;if(_0x4d1af6[_0x4a5f3d(0x1ee)](_0x4533d6[_0x4a5f3d(0x1f4)],undefined))_0x8b8176=_0x4533d6[_0x4a5f3d(0x1f4)];else(_0x548c36['match'](/Finished/)||_0x548c36[_0x4a5f3d(0x216)](/Skipped/))&&(_0x4533d6['started_at']&&(_0x8b8176=_0x4d1af6[_0x4a5f3d(0x293)](Date[_0x4a5f3d(0x1fb)](),new Date(_0x4533d6[_0x4a5f3d(0x1ff)])[_0x4a5f3d(0x1ef)]())));const _0x5dabf6=_0x4533d6['fn']?_0x4533d6['fn'][_0x4a5f3d(0x213)]():null,_0x5d06f9={'id':_0x2cbd49,'uuid':_0x2cbd49,'startedAt':_0x4533d6[_0x4a5f3d(0x1ff)]||new Date()[_0x4a5f3d(0x1f8)](),'finishedAt':_0x548c36['match'](/Finished/)||_0x548c36[_0x4a5f3d(0x216)](/Skipped/)?new Date()[_0x4a5f3d(0x1f8)]():null,'type':_0x4d1af6[_0x4a5f3d(0x25d)],'body':{'lang':_0x4d1af6[_0x4a5f3d(0x28b)],'code':_0x5dabf6},'name':_0x3beb1c,'scopes':_0x5e08ad,'file_name':_0x558de4,'location':_0x558de4,'vc_filepath':this['_gitConfigPath']&&_0x40b877?path[_0x4a5f3d(0x259)](this[_0x4a5f3d(0x295)],_0x40b877):null,'framework':_0x4d1af6[_0x4a5f3d(0x246)],'result':_0x202db5,'failure_reason':_0x4a73fb,'duration_in_ms':_0x8b8176,'failure':failureData[_0x4a5f3d(0x248)](null,_0x3f4bd4),'failure_type':!_0x4a73fb?null:_0x4d1af6['bnbFA'](getFailureType,_0x4a73fb),'retry_of':_0x4533d6['retryOf']||null,'customRerunParam':{'rerun_name':_0x3beb1c}};_0x4d1af6['yRBdG'](_0x548c36,_0x4d1af6[_0x4a5f3d(0x220)])&&!_0x5d06f9[_0x4a5f3d(0x23e)]&&(_0x5d06f9[_0x4a5f3d(0x23e)]=_0x5d06f9[_0x4a5f3d(0x208)]);const _0x467aea=_0x5d06f9[_0x4a5f3d(0x250)]&&_0x5d06f9['failure'][0x0];return _0x467aea&&(_0x5d06f9[_0x4a5f3d(0x1f3)]=_0x467aea[_0x4a5f3d(0x218)],_0x5d06f9[_0x4a5f3d(0x272)]=_0x467aea['expanded']),(_0x4d1af6['yRBdG'](_0x548c36,_0x4d1af6[_0x4a5f3d(0x22d)])||_0x4d1af6[_0x4a5f3d(0x28f)](_0x548c36,_0x4d1af6['hCUIK']))&&(_0x4533d6['hooks']&&(_0x5d06f9[_0x4a5f3d(0x25e)]=_0x4533d6[_0x4a5f3d(0x25e)])),_0x5d06f9;}catch(_0x3491e7){return logger[_0x4a5f3d(0x1ed)](_0x4a5f3d(0x231)+util['format'](_0x3491e7)),null;}}async[a91_0x231b01(0x26e)](_0x20b35d,_0x20240a,_0x3f0d2a,_0x92d528){const _0xd1cc2d=a91_0x231b01,_0x1c05d3={'BUmWY':_0xd1cc2d(0x1f7),'mahOO':_0xd1cc2d(0x200),'NGVfn':_0xd1cc2d(0x20b),'TOWLh':'unknown','jUIDW':_0xd1cc2d(0x288),'XHUqx':function(_0x2f5123,_0x571c1c){return _0x2f5123===_0x571c1c;},'nCmNl':_0xd1cc2d(0x257),'QfIvB':function(_0x5a081e,_0x4a44ea){return _0x5a081e>_0x4a44ea;},'jebVT':_0xd1cc2d(0x1fa),'RizTQ':function(_0x2df5d8,_0x18cc40){return _0x2df5d8(_0x18cc40);},'stYMk':'test','WWzlU':'passed','iGUbE':_0xd1cc2d(0x21e),'FGRXi':'javascript','LvzUx':'jest','HAjPv':'HookRunStarted'};logger[_0xd1cc2d(0x1ed)](_0xd1cc2d(0x201)+_0x3f0d2a+_0xd1cc2d(0x26c)+_0x20240a+_0xd1cc2d(0x1ec)+_0x92d528);try{if(!_0x20b35d)return logger[_0xd1cc2d(0x1ed)](_0x1c05d3['BUmWY']),null;if(this['isJestInternalHook'](_0x20b35d))return null;await this[_0xd1cc2d(0x298)]();let _0x4d906f=null;try{_0x4d906f=this[_0xd1cc2d(0x20c)](_0x20b35d);if(_0x4d906f&&_0x4d906f['includes'](_0x1c05d3['mahOO']))return null;if(_0x4d906f&&_0x4d906f[_0xd1cc2d(0x299)](_0x1c05d3['NGVfn']))return null;}catch(_0x26997e){logger[_0xd1cc2d(0x1ed)]('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0xd1cc2d(0x292)](_0x26997e));}const _0x4686f8=this[_0xd1cc2d(0x211)](_0x20b35d),_0x32ed07=_0x20b35d[_0xd1cc2d(0x249)]||_0x1c05d3['TOWLh'],_0x38ced4=HOOK_TYPES_MAP[_0x32ed07]||_0x32ed07[_0xd1cc2d(0x202)](),_0xbae5d6=_0x20b35d[_0xd1cc2d(0x280)]&&_0x20b35d['parent']['name']?_0x20b35d[_0xd1cc2d(0x280)]['name']:'';let _0x59affe=_0x1c05d3[_0xd1cc2d(0x244)],_0x3b11a9=null,_0x3fdd8f=null,_0x45836d=null,_0x289289=null;_0x1c05d3[_0xd1cc2d(0x23f)](_0x3f0d2a,_0x1c05d3[_0xd1cc2d(0x1fe)])&&(_0x289289=new Date()[_0xd1cc2d(0x1f8)](),_0x20b35d[_0xd1cc2d(0x242)]&&_0x1c05d3[_0xd1cc2d(0x223)](_0x20b35d[_0xd1cc2d(0x242)]['length'],0x0)?(_0x59affe=_0x1c05d3['jebVT'],_0x3fdd8f=util[_0xd1cc2d(0x224)](_0x20b35d[_0xd1cc2d(0x242)][0x0]),_0x3b11a9=_0x1c05d3['RizTQ'](getFailureType,_0x3fdd8f),_0x45836d=failureData[_0xd1cc2d(0x248)](null,[_0x20b35d[_0xd1cc2d(0x242)],_0x1c05d3[_0xd1cc2d(0x29a)]])):_0x59affe=_0x1c05d3['WWzlU']);const _0x43936a={'uuid':_0x20240a,'type':_0x1c05d3[_0xd1cc2d(0x241)],'hook_type':_0x38ced4,'name':_0x4686f8,'body':{'lang':_0x1c05d3[_0xd1cc2d(0x236)],'code':_0x20b35d['fn']?_0x20b35d['fn'][_0xd1cc2d(0x213)]():null},'tags':[],'test_run_id':_0x92d528,'scope':_0xbae5d6,'scopes':[_0xbae5d6],'file_name':_0x4d906f,'location':_0x4d906f,'vc_filepath':this[_0xd1cc2d(0x295)]&&_0x4d906f?path[_0xd1cc2d(0x259)](this[_0xd1cc2d(0x295)],_0x4d906f):null,'result':_0x59affe,'started_at':_0x20b35d[_0xd1cc2d(0x1ff)]||new Date()[_0xd1cc2d(0x1f8)](),'finished_at':_0x289289,'failure_type':_0x3b11a9,'failure_reason':_0x3fdd8f,'failure_data':_0x45836d,'framework':_0x1c05d3[_0xd1cc2d(0x271)]};return _0x1c05d3[_0xd1cc2d(0x23f)](_0x3f0d2a,_0x1c05d3[_0xd1cc2d(0x21a)])&&(hooksMap[_0x92d528]?hooksMap[_0x92d528][_0xd1cc2d(0x20e)](_0x43936a):hooksMap[_0x92d528]=[_0x43936a]),_0x43936a;}catch(_0x2d2101){return logger[_0xd1cc2d(0x1ed)]('Exception\x20in\x20createHookData:\x20'+util[_0xd1cc2d(0x292)](_0x2d2101)),null;}}['getHookRunEventData'](_0x3d9ad2,_0x35ee0e,_0x2da567){const _0x4a3824=a91_0x231b01,_0x5b839b={'udhND':function(_0xbfbfe,_0x4dc952){return _0xbfbfe>_0x4dc952;},'ZJnXB':'failed','veFhU':function(_0x35f1b7,_0x4c2aa5){return _0x35f1b7(_0x4c2aa5);},'lZOJD':_0x4a3824(0x240),'wvXXS':_0x4a3824(0x26d)};try{const _0xdc77cd=hooksMap[_0x3d9ad2];if(!_0xdc77cd)return null;const _0x508fea=_0xdc77cd[_0x4a3824(0x287)](_0x2cbb2c=>_0x2cbb2c['uuid']===_0x35ee0e);if(!_0x508fea)return null;return _0x508fea[_0x4a3824(0x27f)]=new Date()[_0x4a3824(0x1f8)](),_0x2da567['errorsDetailed']&&_0x5b839b['udhND'](_0x2da567['errorsDetailed'][_0x4a3824(0x1fd)],0x0)?(_0x508fea[_0x4a3824(0x278)]=_0x5b839b[_0x4a3824(0x285)],_0x508fea[_0x4a3824(0x284)]=util[_0x4a3824(0x224)](_0x2da567['errorsDetailed'][0x0]),_0x508fea['failure_type']=_0x5b839b[_0x4a3824(0x225)](getFailureType,_0x508fea[_0x4a3824(0x284)]),_0x508fea[_0x4a3824(0x263)]=failureData[_0x4a3824(0x248)](null,[_0x2da567['errorsDetailed'],_0x5b839b[_0x4a3824(0x24d)]])):_0x508fea[_0x4a3824(0x278)]=_0x5b839b[_0x4a3824(0x276)],_0x508fea;}catch(_0x45ba6d){return logger[_0x4a3824(0x1ed)](_0x4a3824(0x209)+util[_0x4a3824(0x292)](_0x45ba6d)),null;}}['getName'](_0x58606d){const _0x125598=a91_0x231b01,_0x3f2d43={};_0x3f2d43[_0x125598(0x23a)]=function(_0x5a14ba,_0x188a6d){return _0x5a14ba!==_0x188a6d;},_0x3f2d43['KkTar']=_0x125598(0x240),_0x3f2d43['acJXw']='Unknown\x20Test';const _0x304455=_0x3f2d43;if(_0x304455['RVNcb'](_0x58606d[_0x125598(0x249)],_0x304455[_0x125598(0x289)]))return'\x22'+_0x58606d['type']+_0x125598(0x24a)+(_0x58606d[_0x125598(0x280)]&&_0x58606d[_0x125598(0x280)][_0x125598(0x25c)])+'\x22';return _0x58606d[_0x125598(0x25c)]||_0x304455[_0x125598(0x27a)];}['getHierarchy'](_0x885dff){const _0x40dfd0=a91_0x231b01,_0x31b3d4={};_0x31b3d4['bQpaz']=function(_0x4ceb1c,_0x928406){return _0x4ceb1c!==_0x928406;},_0x31b3d4[_0x40dfd0(0x1f5)]=_0x40dfd0(0x268);const _0x349395=_0x31b3d4,_0x1570d5=[];if(_0x885dff&&_0x885dff[_0x40dfd0(0x280)]){let _0x16ad17=_0x885dff[_0x40dfd0(0x280)];while(_0x16ad17&&_0x16ad17[_0x40dfd0(0x25c)]&&_0x349395['bQpaz'](_0x16ad17[_0x40dfd0(0x25c)],'')&&_0x349395[_0x40dfd0(0x233)](_0x16ad17['name'],_0x349395[_0x40dfd0(0x1f5)])){_0x1570d5['push'](_0x16ad17[_0x40dfd0(0x25c)]),_0x16ad17=_0x16ad17[_0x40dfd0(0x280)];}}return _0x1570d5[_0x40dfd0(0x27c)](),_0x1570d5;}[a91_0x231b01(0x20c)](_0x149415){const _0x30f0ae=a91_0x231b01;if(_0x149415['asyncError'])try{const _0x4f52f8=stackTrace[_0x30f0ae(0x270)][_0x30f0ae(0x1f0)](stackTrace,_0x149415[_0x30f0ae(0x258)]);if(_0x4f52f8[0x0]&&_0x4f52f8[0x0][_0x30f0ae(0x255)])return _0x4f52f8[0x0][_0x30f0ae(0x255)]();}catch(_0x4ea1ce){logger['debug'](_0x30f0ae(0x20d)+util[_0x30f0ae(0x292)](_0x4ea1ce));}if(_0x149415[_0x30f0ae(0x228)])return _0x149415['file'];return null;}[a91_0x231b01(0x21b)](_0x110d36){const _0x1f2e20=a91_0x231b01,_0x1225fe={};_0x1225fe[_0x1f2e20(0x290)]='jest-circus';const _0x494c69=_0x1225fe;try{const _0xa4bbf2=this['getRootParentFile'](_0x110d36);if(_0xa4bbf2&&_0xa4bbf2[_0x1f2e20(0x299)](_0x494c69[_0x1f2e20(0x290)]))return!![];}catch(_0x32d6b3){logger['debug'](_0x1f2e20(0x286)+util[_0x1f2e20(0x292)](_0x32d6b3));}return![];}[a91_0x231b01(0x296)](_0x2768f3=null){const _0x20a65f=a91_0x231b01;try{const _0x25dcab=_0x2768f3||global[_0x20a65f(0x266)]||{};if(global[_0x20a65f(0x254)])return global['__jestCurrentTestIdentifier'];if(_0x25dcab?.[_0x20a65f(0x204)]?.[_0x20a65f(0x206)])return _0x25dcab[_0x20a65f(0x204)][_0x20a65f(0x206)];if(_0x25dcab?.[_0x20a65f(0x204)]?.['id'])return _0x25dcab[_0x20a65f(0x204)]['id'];return null;}catch(_0x59bbd7){return logger[_0x20a65f(0x1ed)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util['format'](_0x59bbd7)),null;}}async[a91_0x231b01(0x298)](){const _0x5397c9=a91_0x231b01,_0x4fbaa7={'UQFgH':function(_0x5e9ae3){return _0x5e9ae3();}};if(this[_0x5397c9(0x234)])return this[_0x5397c9(0x295)];const _0x144d2f=await _0x4fbaa7[_0x5397c9(0x226)](getGitMetaData);_0x144d2f&&(this[_0x5397c9(0x295)]=_0x144d2f['root']),this[_0x5397c9(0x234)]=!![];}[a91_0x231b01(0x243)](_0x1b64d0){hooksMap[_0x1b64d0]&&delete hooksMap[_0x1b64d0];}[a91_0x231b01(0x23c)](_0x2234d2){const _0xc2a188=a91_0x231b01,_0x4cb681={'WuElz':_0xc2a188(0x200),'KytbU':function(_0x488d09,_0x5da23d){return _0x488d09(_0x5da23d);},'vooah':_0xc2a188(0x1f1)};if(_0x2234d2[_0xc2a188(0x228)])return _0x2234d2['file'];if(_0x2234d2[_0xc2a188(0x258)]){try{const _0x1a8209=stackTrace[_0xc2a188(0x270)](_0x2234d2[_0xc2a188(0x258)]);if(_0x1a8209[0x0]&&_0x1a8209[0x0][_0xc2a188(0x255)]){const _0x590f99=_0x1a8209[0x0][_0xc2a188(0x255)]();if(_0x590f99&&!_0x590f99[_0xc2a188(0x299)](_0x4cb681['WuElz']))return _0x590f99;}}catch(_0x30609f){logger[_0xc2a188(0x1ed)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0xc2a188(0x292)](_0x30609f));}if(_0x2234d2[_0xc2a188(0x258)]['stack']){const _0x42476c=_0x2234d2[_0xc2a188(0x258)][_0xc2a188(0x232)][_0xc2a188(0x24c)]('\x0a');for(const _0x33eed3 of _0x42476c){const _0x162c85=_0x33eed3[_0xc2a188(0x216)](/at (.+?):\d+:\d+/);if(_0x162c85&&_0x162c85[0x1]&&!_0x162c85[0x1][_0xc2a188(0x299)](_0x4cb681[_0xc2a188(0x28d)]))return _0x162c85[0x1];}}}let _0x125dd4=_0x2234d2[_0xc2a188(0x280)];while(_0x125dd4){if(_0x125dd4[_0xc2a188(0x228)])return _0x125dd4['file'];if(_0x125dd4[_0xc2a188(0x258)])try{const _0x3a1be6=stackTrace[_0xc2a188(0x270)](_0x125dd4[_0xc2a188(0x258)]);if(_0x3a1be6[0x0]&&_0x3a1be6[0x0]['getFileName']){const _0x2e2a09=_0x3a1be6[0x0]['getFileName']();if(_0x2e2a09&&!_0x2e2a09[_0xc2a188(0x299)](_0x4cb681['WuElz']))return _0x2e2a09;}}catch(_0x568970){}_0x125dd4=_0x125dd4[_0xc2a188(0x280)];}try{const _0x56d5a6=_0x4cb681['KytbU'](require,_0x4cb681[_0xc2a188(0x260)]);if(_0x56d5a6&&_0x56d5a6[_0xc2a188(0x27d)]){const _0x22e4ef=_0x56d5a6[_0xc2a188(0x27d)]();if(_0x22e4ef&&_0x22e4ef[_0xc2a188(0x219)])return _0x22e4ef[_0xc2a188(0x219)];}}catch(_0x291182){logger['debug'](_0xc2a188(0x22b)+util[_0xc2a188(0x292)](_0x291182));}return null;}[a91_0x231b01(0x1f6)](_0xe63bd2){const _0xc9c69b=a91_0x231b01,_0x462657={};_0x462657[_0xc9c69b(0x23d)]=_0xc9c69b(0x210),_0x462657[_0xc9c69b(0x247)]=function(_0x4ea95b,_0x5ea4f8){return _0x4ea95b!==_0x5ea4f8;},_0x462657[_0xc9c69b(0x269)]=_0xc9c69b(0x268),_0x462657[_0xc9c69b(0x23b)]='jest-circus',_0x462657[_0xc9c69b(0x262)]=_0xc9c69b(0x222),_0x462657[_0xc9c69b(0x1fc)]=_0xc9c69b(0x264);const _0x2b5f9b=_0x462657;try{if(!_0xe63bd2)return logger[_0xc9c69b(0x297)](_0x2b5f9b[_0xc9c69b(0x23d)]),null;const _0x35a4d4=_0xe63bd2['fullName']||_0xe63bd2[_0xc9c69b(0x25c)]||_0xe63bd2['title']||_0xe63bd2['displayName'];let _0x4d6808=_0x35a4d4;if(_0xe63bd2['parent']&&_0xe63bd2['parent']['name']&&_0x2b5f9b[_0xc9c69b(0x247)](_0xe63bd2[_0xc9c69b(0x280)][_0xc9c69b(0x25c)],_0x2b5f9b[_0xc9c69b(0x269)])){const _0x324ce6=_0xe63bd2[_0xc9c69b(0x25c)]||_0xe63bd2[_0xc9c69b(0x217)];_0x324ce6&&(_0x4d6808=_0xe63bd2['parent'][_0xc9c69b(0x25c)]+'\x20'+_0x324ce6);}let _0x5a6838=_0xe63bd2[_0xc9c69b(0x219)];if(!_0x5a6838&&_0xe63bd2[_0xc9c69b(0x258)]){try{const _0xa1f741=stackTrace[_0xc9c69b(0x270)](_0xe63bd2[_0xc9c69b(0x258)]);if(_0xa1f741[0x0]&&_0xa1f741[0x0]['getFileName']){const _0x5a51f8=_0xa1f741[0x0][_0xc9c69b(0x255)]();_0x5a51f8&&!_0x5a51f8[_0xc9c69b(0x299)](_0x2b5f9b[_0xc9c69b(0x23b)])&&(_0x5a6838=_0x5a51f8);}}catch(_0x2eece6){logger[_0xc9c69b(0x1ed)](_0xc9c69b(0x227)+util[_0xc9c69b(0x292)](_0x2eece6));}if(!_0x5a6838&&_0xe63bd2[_0xc9c69b(0x258)]['stack']){const _0x1cbfcf=_0xe63bd2[_0xc9c69b(0x258)][_0xc9c69b(0x232)][_0xc9c69b(0x24c)]('\x0a');for(const _0x23e6a1 of _0x1cbfcf){const _0x48c5ce=_0x23e6a1[_0xc9c69b(0x216)](/at (.+?):\d+:\d+/);if(_0x48c5ce&&_0x48c5ce[0x1]&&!_0x48c5ce[0x1][_0xc9c69b(0x299)](_0x2b5f9b[_0xc9c69b(0x23b)])){_0x5a6838=_0x48c5ce[0x1];break;}}}}const _0x4e33ab=_0x5a6838+'::'+_0x4d6808,_0x233d41=crypto[_0xc9c69b(0x291)](_0x2b5f9b[_0xc9c69b(0x262)])['update'](_0x4e33ab)[_0xc9c69b(0x275)](_0x2b5f9b['XawYl'])[_0xc9c69b(0x25a)](0x0,0x8),_0x2881f7=process[_0xc9c69b(0x267)]+_0xc9c69b(0x279)+_0x233d41;return logger[_0xc9c69b(0x1ed)](_0xc9c69b(0x1eb)+_0x2881f7+_0xc9c69b(0x273)+_0x4e33ab),_0x2881f7;}catch(_0xe821a5){return logger[_0xc9c69b(0x297)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0xc9c69b(0x292)](_0xe821a5)),null;}}[a91_0x231b01(0x261)](_0x27865d){const _0x5e23db=a91_0x231b01,_0x502075={};_0x502075[_0x5e23db(0x245)]=_0x5e23db(0x27e);const _0x60b190=_0x502075;if(!_0x27865d)return logger[_0x5e23db(0x1ed)](_0x60b190['AxQee']),null;const _0x2f4511=this[_0x5e23db(0x23c)](_0x27865d),_0x2de6da={};_0x2de6da[_0x5e23db(0x25c)]=_0x27865d['name']||_0x27865d['title'],_0x2de6da['parent']=_0x27865d[_0x5e23db(0x280)],_0x2de6da['testPath']=_0x2f4511,_0x2de6da[_0x5e23db(0x258)]=_0x27865d['asyncError'];const _0x3aacb6=_0x2de6da;return this[_0x5e23db(0x1f6)](_0x3aacb6);}[a91_0x231b01(0x22c)](_0x238878){const _0x5754a8=a91_0x231b01,_0x5f3b02={};_0x5f3b02['Wygap']='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0x2fcbe6=_0x5f3b02;if(!_0x238878)return logger[_0x5754a8(0x1ed)](_0x2fcbe6[_0x5754a8(0x24f)]),null;if(_0x238878[_0x5754a8(0x274)])return logger[_0x5754a8(0x1ed)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x238878[_0x5754a8(0x274)]),_0x238878[_0x5754a8(0x274)];return this[_0x5754a8(0x1f6)](_0x238878);}}function a91_0x427c(_0x4b9fbc,_0x3d4c72){const _0x2c30b0=a91_0x2c30();return a91_0x427c=function(_0x427c93,_0x21816a){_0x427c93=_0x427c93-0x1eb;let _0x7a7b8f=_0x2c30b0[_0x427c93];return _0x7a7b8f;},a91_0x427c(_0x4b9fbc,_0x3d4c72);}module['exports']=o11yClassErrorHandler(JestUtils,[a91_0x231b01(0x298),a91_0x231b01(0x283),a91_0x231b01(0x20c),'getName','isJestInternalHook','getTestIdentifier',a91_0x231b01(0x25f),a91_0x231b01(0x26e),a91_0x231b01(0x239),'clearHooksMap','extractTestFilePath',a91_0x231b01(0x1f6),'createIdentifierFromJestTest',a91_0x231b01(0x22c)]);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a92_0x1c0d24=a92_0x834f;function a92_0x4a39(){const _0x1fa874=['Config\x20yml\x20is\x20required','743561xYKQug','launchBuild','10DFWthr','../../helpers/performance/constants','1052596BlgDsg','cwd','modifyBrowserStackCaps','108409xIVhxQ','../test-runner','isUndefined','configuration','finalExecution','../../helpers/helper','initialize','parallelsPerPlatform','platforms','finally','assign','EVENTS','File\x20path\x20is\x20required','1117161enHwWS','116434PKyBNM','path','JfhvF','proxySettings','push','args','index','bTBHT','oHRGw','forEach','16NwKIWL','5rmMLrZ','length','884290AduFrP','exports','handleApp','join','end','getPlatformName','../../helpers/testhub/testhubHandler','hjWgN','useW3C','QBJsr','168URKdwu','22tgrhqN','bYlIw','vanilla','getHubUrl','modifyBrowserStackW3CCaps','784623KehATr','IkQnO','config','228bjOCeP','../../helpers/utilities','file','\x20doesn\x27t\x20exist','kmcMl','../../helpers/BrowserStackSetup'];a92_0x4a39=function(){return _0x1fa874;};return a92_0x4a39();}(function(_0x48b653,_0x7fe5e8){const _0x3f7739=a92_0x834f,_0x3530cd=_0x48b653();while(!![]){try{const _0x2c4a8d=parseInt(_0x3f7739(0x17d))/0x1*(parseInt(_0x3f7739(0x16a))/0x2)+-parseInt(_0x3f7739(0x15e))/0x3+-parseInt(_0x3f7739(0x16c))/0x4*(-parseInt(_0x3f7739(0x14c))/0x5)+parseInt(_0x3f7739(0x161))/0x6*(-parseInt(_0x3f7739(0x16f))/0x7)+parseInt(_0x3f7739(0x14b))/0x8*(-parseInt(_0x3f7739(0x17c))/0x9)+-parseInt(_0x3f7739(0x14e))/0xa*(parseInt(_0x3f7739(0x159))/0xb)+-parseInt(_0x3f7739(0x158))/0xc*(-parseInt(_0x3f7739(0x168))/0xd);if(_0x2c4a8d===_0x7fe5e8)break;else _0x3530cd['push'](_0x3530cd['shift']());}catch(_0x48a851){_0x3530cd['push'](_0x3530cd['shift']());}}}(a92_0x4a39,0x5a8e2));const fs=require('fs'),path=require(a92_0x1c0d24(0x17e)),{default:BrowserStackSetup}=require(a92_0x1c0d24(0x166)),helper=require(a92_0x1c0d24(0x174)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0x1c0d24(0x16b))[a92_0x1c0d24(0x17a)],utilities=require(a92_0x1c0d24(0x162)),{parallelVanillaRun}=require(a92_0x1c0d24(0x170)),TestHubHandler=require(a92_0x1c0d24(0x154));function a92_0x834f(_0x578bd4,_0x36cfdd){const _0x4a39c9=a92_0x4a39();return a92_0x834f=function(_0x834ffa,_0x24b3a8){_0x834ffa=_0x834ffa-0x149;let _0x3efd42=_0x4a39c9[_0x834ffa];return _0x3efd42;},a92_0x834f(_0x578bd4,_0x36cfdd);}async function run(_0x41abaa,_0x1405ed,_0x38f9ed){const _0x4f4c0f=a92_0x1c0d24,_0xf7644={'IkQnO':_0x4f4c0f(0x15b),'QBJsr':function(_0x3ae88f,_0x4c158e){return _0x3ae88f(_0x4c158e);},'bYlIw':_0x4f4c0f(0x17b),'hjWgN':function(_0x346bc4,_0x2ea66e){return _0x346bc4(_0x2ea66e);},'kmcMl':_0x4f4c0f(0x167),'zDEvm':function(_0x42a0a0,_0x394eac){return _0x42a0a0>_0x394eac;},'oHRGw':function(_0x4307e4,_0x302d03){return _0x4307e4>_0x302d03;},'bTBHT':function(_0x5a27bd,_0x9dea6){return _0x5a27bd*_0x9dea6;},'JfhvF':function(_0x107f1f,_0x3159f8,_0x19670b){return _0x107f1f(_0x3159f8,_0x19670b);}};await _0x38f9ed[_0x4f4c0f(0x175)](_0x41abaa),await helper[_0x4f4c0f(0x150)](_0x38f9ed[_0x4f4c0f(0x160)]);const _0x212d1b=[];if(helper[_0x4f4c0f(0x171)](_0x41abaa['_'][0x1]))throw _0xf7644['QBJsr'](Error,_0xf7644[_0x4f4c0f(0x15a)]);const _0x1f20c4=path[_0x4f4c0f(0x151)](process[_0x4f4c0f(0x16d)](),_0x41abaa['_'][0x1]);if(!fs['existsSync'](_0x1f20c4))throw _0xf7644[_0x4f4c0f(0x157)](Error,'File\x20'+_0x41abaa['_'][0x1]+_0x4f4c0f(0x164));if(!_0x38f9ed['config'])throw _0xf7644[_0x4f4c0f(0x155)](Error,_0xf7644[_0x4f4c0f(0x165)]);const _0x2f0c19=helper[_0x4f4c0f(0x156)](_0x38f9ed[_0x4f4c0f(0x160)]);_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x177)]&&_0xf7644['zDEvm'](_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x177)]['length'],0x0)&&_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x177)][_0x4f4c0f(0x14a)]((_0x1e1904,_0x48be63)=>{const _0x25fc67=_0x4f4c0f;_0x2f0c19?_0x212d1b[_0x25fc67(0x181)](helper[_0x25fc67(0x15d)](_0x38f9ed[_0x25fc67(0x160)],_0xf7644[_0x25fc67(0x15f)],_0x48be63)):_0x212d1b[_0x25fc67(0x181)](helper[_0x25fc67(0x16e)](_0x38f9ed[_0x25fc67(0x160)],_0xf7644['IkQnO'],_0x48be63));});let _0x5d7850,_0x48f5c8;const _0x5df8f4=[];if(_0xf7644[_0x4f4c0f(0x149)](_0x212d1b['length'],0x0))_0x212d1b[_0x4f4c0f(0x14a)]((_0x24961d,_0x23cef1)=>{const _0x50fbce=_0x4f4c0f,_0x25d699={};_0x25d699[_0x50fbce(0x183)]=_0x23cef1,_0x5d7850={'server':helper[_0x50fbce(0x15c)](_0x38f9ed[_0x50fbce(0x160)]),'proxySettings':_0x38f9ed['config']['proxySettings'],'platform':helper[_0x50fbce(0x153)](_0x24961d),'platformCaps':Object[_0x50fbce(0x179)](_0x25d699,_0x38f9ed[_0x50fbce(0x160)]['platforms'][_0x23cef1])};const _0x14acc2={'capability':_0x24961d,..._0x5d7850};_0x14acc2[_0x50fbce(0x163)]=_0x1f20c4,_0x14acc2['args']=_0x1405ed;const _0x3e9877={};_0x3e9877[_0x50fbce(0x172)]=_0x14acc2,_0x48f5c8=_0x3e9877,_0x5df8f4['push'](_0x48f5c8);});else{let _0x681291;_0x2f0c19?_0x681291=helper['modifyBrowserStackW3CCaps'](_0x38f9ed['config'],_0xf7644[_0x4f4c0f(0x15f)],0x0):_0x681291=helper[_0x4f4c0f(0x16e)](_0x38f9ed[_0x4f4c0f(0x160)],_0xf7644['IkQnO'],0x0);_0x5d7850={'server':helper[_0x4f4c0f(0x15c)](_0x38f9ed[_0x4f4c0f(0x160)]),'proxySettings':_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x180)]};const _0x4b0e8e={'capability':_0x681291,..._0x5d7850};_0x4b0e8e['file']=_0x1f20c4,_0x4b0e8e[_0x4f4c0f(0x182)]=_0x1405ed;const _0x161402={};_0x161402[_0x4f4c0f(0x172)]=_0x4b0e8e,_0x48f5c8=_0x161402,_0x5df8f4[_0x4f4c0f(0x181)](_0x48f5c8);}const _0x51e687=await TestHubHandler[_0x4f4c0f(0x169)](_0xf7644[_0x4f4c0f(0x15f)],_0x38f9ed),_0x19a9d8=_0xf7644[_0x4f4c0f(0x184)](_0x38f9ed[_0x4f4c0f(0x160)]['platforms'][_0x4f4c0f(0x14d)]||0x1,_0x38f9ed[_0x4f4c0f(0x160)][_0x4f4c0f(0x176)]||0x1);PerformanceTester[_0x4f4c0f(0x152)](PerformanceEvents['SDK_SETUP']),_0xf7644[_0x4f4c0f(0x17f)](parallelVanillaRun,_0x5df8f4,_0x19a9d8)['then'](_0x5d6781=>{})[_0x4f4c0f(0x178)](async()=>{const _0x484df5=_0x4f4c0f;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x484df5(0x173)](_0x38f9ed);});}module[a92_0x1c0d24(0x14f)]=run;
2
+ 'use strict';const a92_0x1bff89=a92_0x379a;function a92_0x379a(_0x5d70e1,_0xf4e494){const _0x24014d=a92_0x2401();return a92_0x379a=function(_0x379ab2,_0xe2b08c){_0x379ab2=_0x379ab2-0x12f;let _0x576219=_0x24014d[_0x379ab2];return _0x576219;},a92_0x379a(_0x5d70e1,_0xf4e494);}(function(_0x4b4654,_0x2ab2b4){const _0x2c3868=a92_0x379a,_0x4914fa=_0x4b4654();while(!![]){try{const _0x4a015f=parseInt(_0x2c3868(0x140))/0x1*(-parseInt(_0x2c3868(0x151))/0x2)+-parseInt(_0x2c3868(0x144))/0x3*(parseInt(_0x2c3868(0x13a))/0x4)+-parseInt(_0x2c3868(0x154))/0x5+parseInt(_0x2c3868(0x14d))/0x6*(-parseInt(_0x2c3868(0x149))/0x7)+parseInt(_0x2c3868(0x13d))/0x8+parseInt(_0x2c3868(0x133))/0x9*(parseInt(_0x2c3868(0x145))/0xa)+parseInt(_0x2c3868(0x137))/0xb;if(_0x4a015f===_0x2ab2b4)break;else _0x4914fa['push'](_0x4914fa['shift']());}catch(_0x45fc7c){_0x4914fa['push'](_0x4914fa['shift']());}}}(a92_0x2401,0xb1022));function a92_0x2401(){const _0x330d35=['existsSync','400940jRVsog','File\x20','../test-runner','QwQGw','cwd','handleApp','getHubUrl','isUndefined','join','platforms','../../helpers/testhub/testhubHandler','dmXBE','forEach','configuration','71937rUbikS','file','start','CtpYX','18876781PFPEDF','SXvWK','modifyBrowserStackW3CCaps','4pAEbMp','../../helpers/performance/constants','modifyBrowserStackCaps','1659088TPAaMV','exports','push','15BhxvCb','parallelsPerPlatform','args','../../helpers/helper','92970BNHvsr','490SuEFDQ','then','gdyoP','File\x20path\x20is\x20required','15519DqaufO','Config\x20yml\x20is\x20required','config','path','750snRvja','SDK_CLEANUP','edgDO','length','160238lmkJLu','EVENTS'];a92_0x2401=function(){return _0x330d35;};return a92_0x2401();}const fs=require('fs'),path=require(a92_0x1bff89(0x14c)),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a92_0x1bff89(0x143)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0x1bff89(0x13b))[a92_0x1bff89(0x152)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a92_0x1bff89(0x156)),TestHubHandler=require(a92_0x1bff89(0x12f));async function run(_0x5c6d4e,_0xb49fc1,_0x507e80){const _0xc42a24=a92_0x1bff89,_0x123dd0={'edgDO':'vanilla','CtpYX':function(_0x2890cd,_0x57b539){return _0x2890cd(_0x57b539);},'QwQGw':_0xc42a24(0x148),'PwYHA':_0xc42a24(0x14a),'SXvWK':function(_0x101187,_0x307be8){return _0x101187>_0x307be8;},'gdyoP':function(_0x1cb7b6,_0x2394ef){return _0x1cb7b6*_0x2394ef;},'dmXBE':function(_0xf970f2,_0x41d65a,_0x1395a7){return _0xf970f2(_0x41d65a,_0x1395a7);}};await _0x507e80['initialize'](_0x5c6d4e),await helper[_0xc42a24(0x159)](_0x507e80[_0xc42a24(0x14b)]);const _0x501613=[];if(helper[_0xc42a24(0x15b)](_0x5c6d4e['_'][0x1]))throw _0x123dd0[_0xc42a24(0x136)](Error,_0x123dd0[_0xc42a24(0x157)]);const _0x725d1f=path[_0xc42a24(0x15c)](process[_0xc42a24(0x158)](),_0x5c6d4e['_'][0x1]);if(!fs[_0xc42a24(0x153)](_0x725d1f))throw _0x123dd0[_0xc42a24(0x136)](Error,_0xc42a24(0x155)+_0x5c6d4e['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x507e80[_0xc42a24(0x14b)])throw _0x123dd0[_0xc42a24(0x136)](Error,_0x123dd0['PwYHA']);const _0x5c8818=helper['useW3C'](_0x507e80['config']);_0x507e80['config'][_0xc42a24(0x15d)]&&_0x123dd0['SXvWK'](_0x507e80[_0xc42a24(0x14b)][_0xc42a24(0x15d)][_0xc42a24(0x150)],0x0)&&_0x507e80[_0xc42a24(0x14b)]['platforms'][_0xc42a24(0x131)]((_0x2cab96,_0x5cd9d7)=>{const _0x5d1317=_0xc42a24;_0x5c8818?_0x501613['push'](helper[_0x5d1317(0x139)](_0x507e80[_0x5d1317(0x14b)],_0x123dd0[_0x5d1317(0x14f)],_0x5cd9d7)):_0x501613[_0x5d1317(0x13f)](helper['modifyBrowserStackCaps'](_0x507e80[_0x5d1317(0x14b)],_0x123dd0[_0x5d1317(0x14f)],_0x5cd9d7));});let _0x201ed7,_0x3c8190;const _0x437797=[];if(_0x123dd0[_0xc42a24(0x138)](_0x501613['length'],0x0))_0x501613['forEach']((_0x200e50,_0x36ae01)=>{const _0x56d9b0=_0xc42a24,_0x22841f={};_0x22841f['index']=_0x36ae01,_0x201ed7={'server':helper[_0x56d9b0(0x15a)](_0x507e80['config']),'proxySettings':_0x507e80[_0x56d9b0(0x14b)]['proxySettings'],'platform':helper['getPlatformName'](_0x200e50),'platformCaps':Object['assign'](_0x22841f,_0x507e80['config']['platforms'][_0x36ae01])};const _0x130745={'capability':_0x200e50,..._0x201ed7};_0x130745[_0x56d9b0(0x134)]=_0x725d1f,_0x130745[_0x56d9b0(0x142)]=_0xb49fc1;const _0xa7acce={};_0xa7acce[_0x56d9b0(0x132)]=_0x130745,_0x3c8190=_0xa7acce,_0x437797[_0x56d9b0(0x13f)](_0x3c8190);});else{let _0x37792f;_0x5c8818?_0x37792f=helper[_0xc42a24(0x139)](_0x507e80[_0xc42a24(0x14b)],_0x123dd0[_0xc42a24(0x14f)],0x0):_0x37792f=helper[_0xc42a24(0x13c)](_0x507e80[_0xc42a24(0x14b)],_0x123dd0[_0xc42a24(0x14f)],0x0);_0x201ed7={'server':helper['getHubUrl'](_0x507e80[_0xc42a24(0x14b)]),'proxySettings':_0x507e80[_0xc42a24(0x14b)]['proxySettings']};const _0xde9fcb={'capability':_0x37792f,..._0x201ed7};_0xde9fcb[_0xc42a24(0x134)]=_0x725d1f,_0xde9fcb[_0xc42a24(0x142)]=_0xb49fc1;const _0x40a86f={};_0x40a86f[_0xc42a24(0x132)]=_0xde9fcb,_0x3c8190=_0x40a86f,_0x437797[_0xc42a24(0x13f)](_0x3c8190);}const _0x420ef6=await TestHubHandler['launchBuild'](_0x123dd0[_0xc42a24(0x14f)],_0x507e80),_0x2de453=_0x123dd0[_0xc42a24(0x147)](_0x507e80[_0xc42a24(0x14b)][_0xc42a24(0x15d)][_0xc42a24(0x150)]||0x1,_0x507e80['config'][_0xc42a24(0x141)]||0x1);PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0x123dd0[_0xc42a24(0x130)](parallelVanillaRun,_0x437797,_0x2de453)[_0xc42a24(0x146)](_0x4b13f0=>{})['finally'](async()=>{const _0x447dd6=_0xc42a24;PerformanceTester[_0x447dd6(0x135)](PerformanceEvents[_0x447dd6(0x14e)]),await utilities['finalExecution'](_0x507e80);});}module[a92_0x1bff89(0x13e)]=run;
@@ -1 +1 @@
1
- function a93_0x4f2a(_0x1a8ae0,_0x5d4636){const _0x1fe972=a93_0x1fe9();return a93_0x4f2a=function(_0x4f2af4,_0xfd36){_0x4f2af4=_0x4f2af4-0x74;let _0x57985f=_0x1fe972[_0x4f2af4];return _0x57985f;},a93_0x4f2a(_0x1a8ae0,_0x5d4636);}const a93_0x39ceac=a93_0x4f2a;function a93_0x1fe9(){const _0x4dcf91=['gAKrp','ZTANw','tpFLj','JPYdx','40jHtIGq','323964FmzxHT','4563251cDgTon','12lNWNLy','kuvbU','setTestMetadata','305nIGGiq','nHvEv','LCtnG','platform','18762cccoXP','osVersion','21710755bZQpdd','browserVersion','nICRV','browserName','deviceName','os_version','QsNYv','set','4388336NouOah','exports','browser','device','__platformCaps','89757oUJOPb','VJOny','GyNKs','xdbwu','18fyCMTQ','997098DTjgrY'];a93_0x1fe9=function(){return _0x4dcf91;};return a93_0x1fe9();}(function(_0x187a3f,_0xed7726){const _0x370d50=a93_0x4f2a,_0x3c9edb=_0x187a3f();while(!![]){try{const _0x43aae7=parseInt(_0x370d50(0x7f))/0x1*(parseInt(_0x370d50(0x83))/0x2)+-parseInt(_0x370d50(0x84))/0x3*(parseInt(_0x370d50(0x8c))/0x4)+-parseInt(_0x370d50(0x8f))/0x5*(parseInt(_0x370d50(0x93))/0x6)+-parseInt(_0x370d50(0x8b))/0x7+-parseInt(_0x370d50(0x7a))/0x8+-parseInt(_0x370d50(0x8a))/0x9*(-parseInt(_0x370d50(0x89))/0xa)+parseInt(_0x370d50(0x95))/0xb;if(_0x43aae7===_0xed7726)break;else _0x3c9edb['push'](_0x3c9edb['shift']());}catch(_0x3fe974){_0x3c9edb['push'](_0x3c9edb['shift']());}}}(a93_0x1fe9,0x83286));const TestMetadata=require('./helpers/metadata');class BrowserStackSdk{static['getCurrentPlatform'](){const _0x294bbc=a93_0x4f2a,_0x30a078={};_0x30a078[_0x294bbc(0x91)]=_0x294bbc(0x77),_0x30a078['ZTANw']=_0x294bbc(0x94),_0x30a078[_0x294bbc(0x90)]=_0x294bbc(0x7c),_0x30a078[_0x294bbc(0x88)]=_0x294bbc(0x75),_0x30a078['kuvbU']='browser_version',_0x30a078['hZhIJ']=_0x294bbc(0x96),_0x30a078[_0x294bbc(0x80)]=_0x294bbc(0x7d),_0x30a078[_0x294bbc(0x78)]=_0x294bbc(0x76),_0x30a078[_0x294bbc(0x82)]=_0x294bbc(0x92),_0x30a078['gAKrp']='platformName',_0x30a078[_0x294bbc(0x74)]='platform_version',_0x30a078[_0x294bbc(0x87)]='platformVersion',_0x30a078[_0x294bbc(0x81)]='customVariables';const _0x5b9a7c=_0x30a078,_0x28157d={};if(global['__platformCaps']){const _0x2139bd=global[_0x294bbc(0x7e)],_0x3b9392=_0x2139bd[_0x5b9a7c[_0x294bbc(0x91)]]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x86)]],_0x3fea31=_0x2139bd[_0x5b9a7c[_0x294bbc(0x90)]]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x88)]],_0x587eba=_0x2139bd[_0x5b9a7c[_0x294bbc(0x8d)]]||_0x2139bd[_0x5b9a7c['hZhIJ']],_0x25c169=_0x2139bd[_0x5b9a7c[_0x294bbc(0x80)]]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x78)]],_0x334bc9=_0x2139bd[_0x5b9a7c['xdbwu']]||_0x2139bd[_0x5b9a7c[_0x294bbc(0x85)]],_0xe707d6=_0x2139bd[_0x5b9a7c[_0x294bbc(0x74)]]||_0x2139bd[_0x5b9a7c['tpFLj']];_0x2139bd['os']&&(_0x28157d['os']=_0x2139bd['os']),_0x3b9392&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x86)]]=_0x3b9392),_0x3fea31&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x88)]]=_0x3fea31),_0x587eba&&(_0x28157d[_0x5b9a7c['hZhIJ']]=_0x587eba),_0x25c169&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x78)]]=_0x25c169),_0x334bc9&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x85)]]=_0x334bc9),_0xe707d6&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x87)]]=_0xe707d6),_0x2139bd[_0x5b9a7c[_0x294bbc(0x81)]]&&(_0x28157d[_0x5b9a7c[_0x294bbc(0x81)]]=_0x2139bd[_0x5b9a7c['GyNKs']]);}return _0x28157d;}static[a93_0x39ceac(0x8e)](_0x198295={}){const _0x1ae81d=a93_0x39ceac;TestMetadata[_0x1ae81d(0x79)](_0x198295);}}module[a93_0x39ceac(0x7b)]=BrowserStackSdk;
1
+ function a93_0x2299(){const _0x358353=['browserVersion','13897503IYgvNd','1278878btiXSM','9452532XpHQCh','vjLHl','__platformCaps','sPiUD','4290482dRQEyT','wLGCv','set','IpUbK','deviceName','SZeya','13907344PRBxlC','ZMCPb','getCurrentPlatform','platform_version','customVariables','platformName','browserName','Gmwcf','1cMRpPn','dxTRo','52ChJpva','browser_version','RRNZO','WAlPX','./helpers/metadata','browser','EsRyk','device','5565819iAwGzx','167360PSlnyM','luSnh','AHcbL','setTestMetadata'];a93_0x2299=function(){return _0x358353;};return a93_0x2299();}const a93_0x510456=a93_0x3887;(function(_0xa801ff,_0x2310ed){const _0x3e23a0=a93_0x3887,_0x42ecb1=_0xa801ff();while(!![]){try{const _0x116b86=parseInt(_0x3e23a0(0x158))/0x1*(parseInt(_0x3e23a0(0x169))/0x2)+parseInt(_0x3e23a0(0x162))/0x3+-parseInt(_0x3e23a0(0x15a))/0x4*(parseInt(_0x3e23a0(0x163))/0x5)+parseInt(_0x3e23a0(0x16a))/0x6+parseInt(_0x3e23a0(0x14a))/0x7+-parseInt(_0x3e23a0(0x150))/0x8+-parseInt(_0x3e23a0(0x168))/0x9;if(_0x116b86===_0x2310ed)break;else _0x42ecb1['push'](_0x42ecb1['shift']());}catch(_0x3e9c9f){_0x42ecb1['push'](_0x42ecb1['shift']());}}}(a93_0x2299,0xebadb));const TestMetadata=require(a93_0x510456(0x15e));class BrowserStackSdk{static[a93_0x510456(0x152)](){const _0x58fb9a=a93_0x510456,_0x938d9={};_0x938d9[_0x58fb9a(0x159)]='os_version',_0x938d9[_0x58fb9a(0x15c)]='osVersion',_0x938d9['wLGCv']=_0x58fb9a(0x15f),_0x938d9[_0x58fb9a(0x164)]=_0x58fb9a(0x156),_0x938d9[_0x58fb9a(0x151)]=_0x58fb9a(0x15b),_0x938d9['vjLHl']=_0x58fb9a(0x167),_0x938d9['SZeya']=_0x58fb9a(0x161),_0x938d9['Gmwcf']=_0x58fb9a(0x14e),_0x938d9[_0x58fb9a(0x14d)]='platform',_0x938d9[_0x58fb9a(0x160)]=_0x58fb9a(0x155),_0x938d9['WAlPX']=_0x58fb9a(0x153),_0x938d9[_0x58fb9a(0x165)]='platformVersion',_0x938d9[_0x58fb9a(0x16d)]=_0x58fb9a(0x154);const _0x5e11c4=_0x938d9,_0x241966={};if(global[_0x58fb9a(0x16c)]){const _0x1cc913=global['__platformCaps'],_0x1c1f4b=_0x1cc913[_0x5e11c4['dxTRo']]||_0x1cc913[_0x5e11c4[_0x58fb9a(0x15c)]],_0x58a24b=_0x1cc913[_0x5e11c4[_0x58fb9a(0x14b)]]||_0x1cc913[_0x5e11c4[_0x58fb9a(0x164)]],_0x4f5fd9=_0x1cc913[_0x5e11c4[_0x58fb9a(0x151)]]||_0x1cc913[_0x5e11c4[_0x58fb9a(0x16b)]],_0xe77b1a=_0x1cc913[_0x5e11c4[_0x58fb9a(0x14f)]]||_0x1cc913[_0x5e11c4[_0x58fb9a(0x157)]],_0x3fd155=_0x1cc913[_0x5e11c4[_0x58fb9a(0x14d)]]||_0x1cc913[_0x5e11c4[_0x58fb9a(0x160)]],_0x5c6a59=_0x1cc913[_0x5e11c4[_0x58fb9a(0x15d)]]||_0x1cc913[_0x5e11c4[_0x58fb9a(0x165)]];_0x1cc913['os']&&(_0x241966['os']=_0x1cc913['os']),_0x1c1f4b&&(_0x241966[_0x5e11c4[_0x58fb9a(0x15c)]]=_0x1c1f4b),_0x58a24b&&(_0x241966[_0x5e11c4[_0x58fb9a(0x164)]]=_0x58a24b),_0x4f5fd9&&(_0x241966[_0x5e11c4[_0x58fb9a(0x16b)]]=_0x4f5fd9),_0xe77b1a&&(_0x241966[_0x5e11c4['Gmwcf']]=_0xe77b1a),_0x3fd155&&(_0x241966[_0x5e11c4[_0x58fb9a(0x160)]]=_0x3fd155),_0x5c6a59&&(_0x241966[_0x5e11c4[_0x58fb9a(0x165)]]=_0x5c6a59),_0x1cc913[_0x5e11c4[_0x58fb9a(0x16d)]]&&(_0x241966[_0x5e11c4[_0x58fb9a(0x16d)]]=_0x1cc913[_0x5e11c4[_0x58fb9a(0x16d)]]);}return _0x241966;}static[a93_0x510456(0x166)](_0x34cd84={}){const _0x546400=a93_0x510456;TestMetadata[_0x546400(0x14c)](_0x34cd84);}}function a93_0x3887(_0x3be9e8,_0x270c86){const _0x229903=a93_0x2299();return a93_0x3887=function(_0x388740,_0x542911){_0x388740=_0x388740-0x14a;let _0x483300=_0x229903[_0x388740];return _0x483300;},a93_0x3887(_0x3be9e8,_0x270c86);}module['exports']=BrowserStackSdk;