browserstack-node-sdk 1.48.0 → 1.48.1

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
- function a85_0x5bd0(){const _0x6ec9f3=['2870928lEAKMw','../framework/testFramework.js','QQGmG','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','version','CREATE','debug','../cliUtils.js','recreateIdentifierFromTestInfo','wRgLY','KEY_TEST_DEFERRED','2362920uobuZd','KEY_TEST_FRAMEWORK_NAME','../../../helpers/helper.js','registerObserver','Error\x20in\x20sendTestFrameworkEvent:\x20','../state/testFrameworkState.js','getThreadId','onAllTestEvents','LmFdo','KEY_HUB_URL','1271013QMXIfb','LmtxF','logger','KEY_PLATFORM_INDEX','../browserstackCLI.js','708jWcVXB','forEach','./playwrightDriverModule.js','instance','TestHubModule','split','getContext','JEST','1220WWJGYo','../framework/constants/testFrameworkConstants.js','5YQwkTJ','52470Kvogqg','getId','4310476RTxVXV','createTestFrameworkEventPayload','isLTSSession','error','../../../helpers/test-observability/constants.js','KEY_CAPABILITIES','values','2|8|6|0|5|4|3|7|1','486357scMRaP','onPageCreate\x20CBTSession\x20payload:\x20','matchHookRegex','PrXQh','sendTestFrameworkEvent','length','tnoex','4tjgSwV','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','../state/automationFrameworkState.js','getTestId','name','JBXoI','jvgmS','Error\x20in\x20sending\x20CBTSession:\x20','KEY_SESSION_ID','testFrameworkEvent','6531myOPNl','getTestDetails','getState','getJwt','test_deferred','getModuleName','format','CUCUMBER','\x20hookState:\x20','./baseModule','TEST','from','env','getTestIdentifierFromTestInfo','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','page','frameworkName','bind','getTestFramework',',\x20test_identifier:\x20','getRef','onPageCreate','POST','testhubConfig','testInfo','testFrameworkData','../../../helpers/testhub/constants','ENV_VAR','getInstance','hookState','toString','getCurrentTestState','BROWSERSTACK_TESTHUB_JWT','getLTSSessionId','testFrameworkState','rdlwc','../framework/automationFramework.js','retry','testUuid','base64','../../../helpers/classLogger.js'];a85_0x5bd0=function(){return _0x6ec9f3;};return a85_0x5bd0();}const a85_0x2180d9=a85_0x4185;(function(_0x27cb5f,_0x54ee50){const _0x2c17f5=a85_0x4185,_0x48cba5=_0x27cb5f();while(!![]){try{const _0x5ccfb8=-parseInt(_0x2c17f5(0x97))/0x1*(-parseInt(_0x2c17f5(0x9e))/0x2)+-parseInt(_0x2c17f5(0x7d))/0x3+-parseInt(_0x2c17f5(0x8f))/0x4*(-parseInt(_0x2c17f5(0x8c))/0x5)+parseInt(_0x2c17f5(0x82))/0x6*(parseInt(_0x2c17f5(0xa8))/0x7)+-parseInt(_0x2c17f5(0x73))/0x8+-parseInt(_0x2c17f5(0x68))/0x9+parseInt(_0x2c17f5(0x8a))/0xa*(-parseInt(_0x2c17f5(0x8d))/0xb);if(_0x5ccfb8===_0x54ee50)break;else _0x48cba5['push'](_0x48cba5['shift']());}catch(_0x37d08d){_0x48cba5['push'](_0x48cba5['shift']());}}}(a85_0x5bd0,0x83f2b));const util=require('util'),BaseModule=require(a85_0x2180d9(0xb1)),{createClassLogger}=require(a85_0x2180d9(0xd0)),AutomationFramework=require(a85_0x2180d9(0xcc)),AutomationFrameworkState=require(a85_0x2180d9(0xa0)),HookState=require('../state/hookState.js'),TestFramework=require(a85_0x2180d9(0x69)),TestFrameworkState=require(a85_0x2180d9(0x78)),PlaywrightDriverModule=require(a85_0x2180d9(0x84)),TestFrameworkConstants=require(a85_0x2180d9(0x8b)),GrpcClient=require('../grpcClient.js'),CLIUtils=require(a85_0x2180d9(0x6f)),TestInfo=require('../TestInfo.js'),testHubConstants=require(a85_0x2180d9(0xc2)),{FRAMEWORKS}=require(a85_0x2180d9(0x93)),helper=require(a85_0x2180d9(0x75)),LoadTestModule=require('./loadTestModule.js'),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a85_0x2180d9(0x81)),{getPlaywrightProvider}=require(a85_0x2180d9(0x75));function a85_0x4185(_0x10b2ec,_0x1e4e30){const _0x5bd028=a85_0x5bd0();return a85_0x4185=function(_0x418504,_0x398295){_0x418504=_0x418504-0x68;let _0x3f9f07=_0x5bd028[_0x418504];return _0x3f9f07;},a85_0x4185(_0x10b2ec,_0x1e4e30);}class TestHubModule extends BaseModule{[a85_0x2180d9(0x7f)]=createClassLogger(a85_0x2180d9(0x86));constructor(_0x54e933,_0x2f24a1=null){const _0x397bd7=a85_0x2180d9,_0x2967ba={};_0x2967ba['LmFdo']=_0x397bd7(0x96),_0x2967ba[_0x397bd7(0x71)]=_0x397bd7(0x86);const _0x59575e=_0x2967ba,_0xd361d2=_0x59575e[_0x397bd7(0x7b)]['split']('|');let _0x5ba0e4=0x0;while(!![]){switch(_0xd361d2[_0x5ba0e4++]){case'0':this['jestUtils']=new JestUtils();continue;case'1':BrowserstackCLI['O11yHashedID']=this[_0x397bd7(0xbf)]['getBuildHashedId']();continue;case'2':super(_0x2f24a1);continue;case'3':process[_0x397bd7(0xb4)][testHubConstants[_0x397bd7(0xc3)][_0x397bd7(0xc8)]]=this[_0x397bd7(0xbf)][_0x397bd7(0xab)]();continue;case'4':Object[_0x397bd7(0x95)](TestFrameworkState)[_0x397bd7(0x83)](_0x58a071=>{const _0x252c47=_0x397bd7;Object['values'](HookState)[_0x252c47(0x83)](_0x18c006=>{const _0x1aeada=_0x252c47;TestFramework[_0x1aeada(0x76)](_0x58a071,_0x18c006,this[_0x1aeada(0x7a)][_0x1aeada(0xb9)](this));});});continue;case'5':AutomationFramework[_0x397bd7(0x76)](AutomationFrameworkState[_0x397bd7(0x6d)],HookState[_0x397bd7(0xbe)],this[_0x397bd7(0xbd)][_0x397bd7(0xb9)](this));continue;case'6':this[_0x397bd7(0xbf)]=_0x54e933;continue;case'7':process[_0x397bd7(0xb4)][testHubConstants[_0x397bd7(0xc3)]['BROWSERSTACK_TESTHUB_UUID']]=this[_0x397bd7(0xbf)]['getBuildHashedId']();continue;case'8':this['name']=_0x59575e['wRgLY'];continue;}break;}}[a85_0x2180d9(0xad)](){return TestHubModule['MODULE_NAME'];}[a85_0x2180d9(0x7a)](_0x33578b){const _0x2b29ba=a85_0x2180d9,_0x547d37={};_0x547d37[_0x2b29ba(0x7e)]=function(_0x5edc35,_0x132fa7){return _0x5edc35===_0x132fa7;};const _0x1eebfe=_0x547d37,_0x5c0a26=_0x33578b[_0x2b29ba(0x85)],_0x5340de=_0x5c0a26[_0x2b29ba(0xc7)]();(_0x1eebfe[_0x2b29ba(0x7e)](_0x5340de,TestFrameworkState[_0x2b29ba(0xb2)])||CLIUtils[_0x2b29ba(0x99)](_0x5340de[_0x2b29ba(0xc6)]()['split']('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x33578b);}async[a85_0x2180d9(0x9b)](_0x35d4d3){const _0x2e4a27=a85_0x2180d9,_0x3e1fa5={};_0x3e1fa5[_0x2e4a27(0xa4)]=function(_0x369cba,_0x423c1c){return _0x369cba===_0x423c1c;},_0x3e1fa5[_0x2e4a27(0x9a)]=_0x2e4a27(0x9f);const _0x455b8a=_0x3e1fa5;try{const _0x40db24=BrowserstackCLI[_0x2e4a27(0xc4)]()[_0x2e4a27(0xba)]()[_0x2e4a27(0x90)](_0x35d4d3);if(!_0x40db24||_0x455b8a[_0x2e4a27(0xa4)](Object['keys'](_0x40db24)[_0x2e4a27(0x9c)],0x0)){this['logger'][_0x2e4a27(0x6e)](_0x455b8a['PrXQh']);return;}const _0x95e0c1=await GrpcClient[_0x2e4a27(0xc4)]()[_0x2e4a27(0xa7)](_0x40db24);this[_0x2e4a27(0x7f)][_0x2e4a27(0x6e)](_0x2e4a27(0x6b)+_0x40db24[_0x2e4a27(0xca)]+_0x2e4a27(0xb0)+_0x40db24[_0x2e4a27(0xc5)]);}catch(_0x34261e){this[_0x2e4a27(0x7f)][_0x2e4a27(0x92)](_0x2e4a27(0x77)+util[_0x2e4a27(0xae)](_0x34261e));}}async[a85_0x2180d9(0xbd)](_0xc88ed1){const _0x495c52=a85_0x2180d9,_0x360d5d={'rdlwc':function(_0x285fd4,_0x2482d0){return _0x285fd4===_0x2482d0;},'QQGmG':'onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','JBXoI':function(_0x5e67e0,_0x3c9640){return _0x5e67e0===_0x3c9640;},'KUgVT':function(_0x3bdaf2,_0x7fe092){return _0x3bdaf2(_0x7fe092);},'tnoex':_0x495c52(0xcf)};try{if(_0xc88ed1[_0x495c52(0xb7)]){const _0x9ddf91=this[_0x495c52(0xa1)](_0xc88ed1);this[_0x495c52(0x7f)][_0x495c52(0x6e)]('onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20'+_0x9ddf91);if(this[_0x495c52(0xc1)]&&_0x360d5d[_0x495c52(0xcb)](this['testFrameworkData']['name'],FRAMEWORKS[_0x495c52(0x89)])&&!_0xc88ed1[_0x495c52(0xc0)]){this[_0x495c52(0x7f)][_0x495c52(0x6e)](_0x360d5d[_0x495c52(0x6a)]);return;}let _0x2222c9,_0x3b8b1d;if(this[_0x495c52(0xc1)]&&_0x360d5d[_0x495c52(0xcb)](this[_0x495c52(0xc1)][_0x495c52(0xa2)],FRAMEWORKS[_0x495c52(0xaf)]))_0x2222c9=_0x9ddf91,_0x3b8b1d=TestInfo['getTestUUID'](_0x2222c9);else this[_0x495c52(0xc1)]&&_0x360d5d[_0x495c52(0xa3)](this['testFrameworkData'][_0x495c52(0xa2)],FRAMEWORKS['JEST'])?(_0x2222c9=this['jestUtils'][_0x495c52(0x70)](_0xc88ed1[_0x495c52(0xc0)]),this['logger'][_0x495c52(0x6e)](_0x495c52(0xb6)+_0x2222c9)):(_0x2222c9=TestInfo[_0x495c52(0xb5)](_0xc88ed1['testInfo'],_0xc88ed1[_0x495c52(0xc0)][_0x495c52(0xcd)]),_0x3b8b1d=TestInfo['getTestUUID'](_0x2222c9));const _0x48bb2b=TestInfo[_0x495c52(0xa9)](_0x2222c9),_0xb2b03=_0xc88ed1[_0x495c52(0x85)],_0x3bf354=AutomationFramework[_0x495c52(0xaa)](_0xb2b03,PlaywrightDriverModule[_0x495c52(0x80)]),_0x4339bd=_0x48bb2b?.[TestFrameworkConstants[_0x495c52(0x74)]]||this[_0x495c52(0xc1)]&&this['testFrameworkData'][_0x495c52(0xa2)],_0x4f74d6=_0x48bb2b?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x495c52(0xc1)]&&this[_0x495c52(0xc1)][_0x495c52(0x6c)],_0x253989=TestFrameworkState[_0x495c52(0xb2)][_0x495c52(0xc6)]()[_0x495c52(0x87)]('.')[0x1],_0x277c73=HookState[_0x495c52(0xbe)][_0x495c52(0xc6)]()[_0x495c52(0x87)]('.')[0x1],_0x32994e=_0xb2b03[_0x495c52(0x88)](),_0x1126ca=AutomationFramework[_0x495c52(0xaa)](_0xb2b03,PlaywrightDriverModule[_0x495c52(0x7c)],''),_0x48eda1={'provider':_0x360d5d['KUgVT'](getPlaywrightProvider,_0x1126ca),'frameworkName':_0xb2b03[_0x495c52(0xb8)],'frameworkVersion':_0xb2b03['frameworkVersion'],'frameworkSessionId':LoadTestModule[_0x495c52(0x91)]()?LoadTestModule[_0x495c52(0xc9)]():AutomationFramework[_0x495c52(0xaa)](_0xb2b03,PlaywrightDriverModule[_0x495c52(0xa6)],''),'ref':_0xb2b03[_0x495c52(0xbc)](),'hubUrl':_0x1126ca};let _0x16d50e=AutomationFramework[_0x495c52(0xaa)](_0xb2b03,PlaywrightDriverModule[_0x495c52(0x94)],{});_0x16d50e=Buffer[_0x495c52(0xb3)](JSON['stringify'](_0x16d50e))[_0x495c52(0xc6)](_0x360d5d[_0x495c52(0x9d)]);const _0xa6bd9e={'hash':_0x32994e[_0x495c52(0x8e)](),'threadId':_0x32994e[_0x495c52(0x79)]()[_0x495c52(0xc6)](),'processId':_0x32994e['getProcessId']()[_0x495c52(0xc6)]()},_0xf3ce57={};_0xf3ce57['test_identifier']=_0x2222c9;const _0x53e55f={};_0x53e55f[_0x495c52(0xce)]=_0x3b8b1d;const _0x3d0c31={'platformIndex':_0x3bf354,'testFrameworkName':_0x4339bd,'testFrameworkVersion':_0x4f74d6,'testFrameworkState':_0x253989,'testHookState':_0x277c73,...this[_0x495c52(0xc1)]&&_0x360d5d[_0x495c52(0xcb)](this[_0x495c52(0xc1)][_0x495c52(0xa2)],FRAMEWORKS[_0x495c52(0x89)])?_0xf3ce57:_0x53e55f,'automationSession':_0x48eda1,'capabilities':_0x16d50e,'executionContext':_0xa6bd9e};this[_0x495c52(0x7f)][_0x495c52(0x6e)](_0x495c52(0x98)+util['format'](_0x3d0c31));const _0x1147ae=await GrpcClient[_0x495c52(0xc4)]()['testSessionEvent'](_0x3d0c31);this[_0x495c52(0x7f)][_0x495c52(0x6e)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x9ddf91+(this[_0x495c52(0xc1)]&&_0x360d5d[_0x495c52(0xcb)](this[_0x495c52(0xc1)][_0x495c52(0xa2)],FRAMEWORKS[_0x495c52(0x89)])?_0x495c52(0xbb)+_0x2222c9:''));}}catch(_0xe1d3a3){this[_0x495c52(0x7f)][_0x495c52(0x92)](_0x495c52(0xa5)+util[_0x495c52(0xae)](_0xe1d3a3));}}}TestHubModule['MODULE_NAME']=a85_0x2180d9(0x86),TestHubModule[a85_0x2180d9(0x72)]=a85_0x2180d9(0xac),module['exports']=TestHubModule;
1
+ const a85_0x5b31f7=a85_0x1142;(function(_0x36e10e,_0x43ec25){const _0x6a66a4=a85_0x1142,_0x119ce0=_0x36e10e();while(!![]){try{const _0x423692=parseInt(_0x6a66a4(0x1fc))/0x1*(parseInt(_0x6a66a4(0x201))/0x2)+parseInt(_0x6a66a4(0x219))/0x3+parseInt(_0x6a66a4(0x20a))/0x4*(parseInt(_0x6a66a4(0x231))/0x5)+parseInt(_0x6a66a4(0x1f3))/0x6+-parseInt(_0x6a66a4(0x1e6))/0x7+-parseInt(_0x6a66a4(0x234))/0x8+parseInt(_0x6a66a4(0x1f0))/0x9;if(_0x423692===_0x43ec25)break;else _0x119ce0['push'](_0x119ce0['shift']());}catch(_0x10c637){_0x119ce0['push'](_0x119ce0['shift']());}}}(a85_0x27ad,0xa376e));function a85_0x27ad(){const _0x498a9c=['../framework/testFramework.js','../cliUtils.js','getTestUUID','KOVkI','logger','onPageCreate\x20CBTSession\x20payload:\x20','instance','7341019xpEcAK','testUuid','getTestDetails','KEY_HUB_URL','../../../helpers/test-observability/constants.js','onAllTestEvents','getBuildHashedId','KEY_PLATFORM_INDEX','HEbXG','testFrameworkData','2885184tDyDAB','testFrameworkState','./playwrightDriverModule.js','3424014mjwoxe','exports','getTestId','getState','QAcvW','format','getJwt','debug','getRef','4kIlmVL','frameworkName','QOZIw','getProcessId',',\x20test_identifier:\x20','370290DANlzS','matchHookRegex','Error\x20in\x20sending\x20CBTSession:\x20','testFrameworkEvent','version','../state/testFrameworkState.js','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','\x20hookState:\x20','isLTSSession','36gHrPGn','retry','getModuleName','getLTSSessionId','env','MphyS','../framework/constants/testFrameworkConstants.js','registerObserver','KEY_TEST_FRAMEWORK_NAME','CUCUMBER','toString','getTestFramework','Error\x20in\x20sendTestFrameworkEvent:\x20','TEST','POST','113067ImnZQS','length','../state/automationFrameworkState.js','kxqjG','ENV_VAR','BROWSERSTACK_TESTHUB_UUID','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','../TestInfo.js','KEY_TEST_DEFERRED','./baseModule','BROWSERSTACK_TESTHUB_JWT','recreateIdentifierFromTestInfo','TestHubModule','jestUtils','test_deferred','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','name','uKAWy','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','ToOaJ','page','../../../helpers/testhub/constants','../../../helpers/classLogger.js','bind','373565irActo','split','7|8|4|1|3|6|0|2|5','4989312sfMkFN','./loadTestModule.js','onPageCreate','getThreadId','getCurrentTestState','O11yHashedID','testInfo','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','getContext','getInstance','sendTestFrameworkEvent','forEach','getTestIdentifierFromTestInfo','../browserstackCLI.js','testhubConfig','hookState','from','../../../helpers/helper.js','error','jyfTZ','JEST','util'];a85_0x27ad=function(){return _0x498a9c;};return a85_0x27ad();}function a85_0x1142(_0x8169fa,_0x39fd13){const _0x27ad87=a85_0x27ad();return a85_0x1142=function(_0x1142af,_0x2d4308){_0x1142af=_0x1142af-0x1d0;let _0x13ac80=_0x27ad87[_0x1142af];return _0x13ac80;},a85_0x1142(_0x8169fa,_0x39fd13);}const util=require(a85_0x5b31f7(0x1de)),BaseModule=require(a85_0x5b31f7(0x222)),{createClassLogger}=require(a85_0x5b31f7(0x22f)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a85_0x5b31f7(0x21b)),HookState=require('../state/hookState.js'),TestFramework=require(a85_0x5b31f7(0x1df)),TestFrameworkState=require(a85_0x5b31f7(0x206)),PlaywrightDriverModule=require(a85_0x5b31f7(0x1f2)),TestFrameworkConstants=require(a85_0x5b31f7(0x210)),GrpcClient=require('../grpcClient.js'),CLIUtils=require(a85_0x5b31f7(0x1e0)),TestInfo=require(a85_0x5b31f7(0x220)),testHubConstants=require(a85_0x5b31f7(0x22e)),{FRAMEWORKS}=require(a85_0x5b31f7(0x1ea)),helper=require(a85_0x5b31f7(0x1da)),LoadTestModule=require(a85_0x5b31f7(0x235)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a85_0x5b31f7(0x1d6)),{getPlaywrightProvider}=require(a85_0x5b31f7(0x1da));class TestHubModule extends BaseModule{[a85_0x5b31f7(0x1e3)]=createClassLogger('TestHubModule');constructor(_0x18ac7f,_0x227159=null){const _0x41044a=a85_0x5b31f7,_0x5113b0={};_0x5113b0[_0x41044a(0x22a)]=_0x41044a(0x233),_0x5113b0[_0x41044a(0x1fe)]=_0x41044a(0x225);const _0x3ccf6a=_0x5113b0,_0x2c7902=_0x3ccf6a[_0x41044a(0x22a)][_0x41044a(0x232)]('|');let _0x4353d2=0x0;while(!![]){switch(_0x2c7902[_0x4353d2++]){case'0':process['env'][testHubConstants[_0x41044a(0x21d)][_0x41044a(0x223)]]=this[_0x41044a(0x1d7)][_0x41044a(0x1f9)]();continue;case'1':this[_0x41044a(0x226)]=new JestUtils();continue;case'2':process[_0x41044a(0x20e)][testHubConstants[_0x41044a(0x21d)][_0x41044a(0x21e)]]=this[_0x41044a(0x1d7)][_0x41044a(0x1ec)]();continue;case'3':AutomationFramework[_0x41044a(0x211)](AutomationFrameworkState['CREATE'],HookState[_0x41044a(0x218)],this['onPageCreate'][_0x41044a(0x230)](this));continue;case'4':this[_0x41044a(0x1d7)]=_0x18ac7f;continue;case'5':BrowserstackCLI[_0x41044a(0x239)]=this[_0x41044a(0x1d7)][_0x41044a(0x1ec)]();continue;case'6':Object['values'](TestFrameworkState)[_0x41044a(0x1d4)](_0xcf4a8b=>{const _0x142f58=_0x41044a;Object['values'](HookState)[_0x142f58(0x1d4)](_0x4e0eba=>{const _0x5f1c6d=_0x142f58;TestFramework[_0x5f1c6d(0x211)](_0xcf4a8b,_0x4e0eba,this[_0x5f1c6d(0x1eb)][_0x5f1c6d(0x230)](this));});});continue;case'7':super(_0x227159);continue;case'8':this[_0x41044a(0x229)]=_0x3ccf6a[_0x41044a(0x1fe)];continue;}break;}}[a85_0x5b31f7(0x20c)](){return TestHubModule['MODULE_NAME'];}[a85_0x5b31f7(0x1eb)](_0x4e3011){const _0x7f674d=a85_0x5b31f7,_0x3c5bab={};_0x3c5bab[_0x7f674d(0x1ee)]=function(_0x38889e,_0x55e2f4){return _0x38889e===_0x55e2f4;};const _0x33e02d=_0x3c5bab,_0x81338f=_0x4e3011[_0x7f674d(0x1e5)],_0x442088=_0x81338f[_0x7f674d(0x238)]();(_0x33e02d[_0x7f674d(0x1ee)](_0x442088,TestFrameworkState['TEST'])||CLIUtils[_0x7f674d(0x202)](_0x442088[_0x7f674d(0x214)]()['split']('.')[0x1]))&&this[_0x7f674d(0x1d3)](_0x4e3011);}async[a85_0x5b31f7(0x1d3)](_0xcf8f35){const _0x199f07=a85_0x5b31f7,_0x4eecf7={};_0x4eecf7[_0x199f07(0x20f)]=function(_0x28742e,_0x34a0ac){return _0x28742e===_0x34a0ac;},_0x4eecf7[_0x199f07(0x1f7)]='sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event';const _0x2827b4=_0x4eecf7;try{const _0x25012e=BrowserstackCLI[_0x199f07(0x1d2)]()[_0x199f07(0x215)]()['createTestFrameworkEventPayload'](_0xcf8f35);if(!_0x25012e||_0x2827b4[_0x199f07(0x20f)](Object['keys'](_0x25012e)[_0x199f07(0x21a)],0x0)){this[_0x199f07(0x1e3)][_0x199f07(0x1fa)](_0x2827b4[_0x199f07(0x1f7)]);return;}const _0x3371ec=await GrpcClient[_0x199f07(0x1d2)]()[_0x199f07(0x204)](_0x25012e);this[_0x199f07(0x1e3)]['debug'](_0x199f07(0x228)+_0x25012e[_0x199f07(0x1f1)]+_0x199f07(0x208)+_0x25012e[_0x199f07(0x1d8)]);}catch(_0x4b7033){this[_0x199f07(0x1e3)]['error'](_0x199f07(0x216)+util[_0x199f07(0x1f8)](_0x4b7033));}}async[a85_0x5b31f7(0x236)](_0x255e3f){const _0x296861=a85_0x5b31f7,_0x64322b={'kxqjG':function(_0x570133,_0x379fee){return _0x570133===_0x379fee;},'ZJyOk':_0x296861(0x21f),'jyfTZ':function(_0x3ec375,_0x59370f){return _0x3ec375===_0x59370f;},'ToOaJ':function(_0x184cdd,_0xfa3986){return _0x184cdd(_0xfa3986);},'IZdUN':'base64','KOVkI':function(_0x407e2e,_0xdfbd5){return _0x407e2e===_0xdfbd5;}};try{if(_0x255e3f[_0x296861(0x22d)]){const _0xbe082f=this[_0x296861(0x1f5)](_0x255e3f);this[_0x296861(0x1e3)]['debug'](_0x296861(0x22b)+_0xbe082f);if(this['testFrameworkData']&&_0x64322b[_0x296861(0x21c)](this[_0x296861(0x1ef)]['name'],FRAMEWORKS[_0x296861(0x1dd)])&&!_0x255e3f[_0x296861(0x23a)]){this[_0x296861(0x1e3)]['debug'](_0x64322b['ZJyOk']);return;}let _0x5efea6,_0x4a612a;if(this[_0x296861(0x1ef)]&&_0x64322b[_0x296861(0x21c)](this['testFrameworkData'][_0x296861(0x229)],FRAMEWORKS[_0x296861(0x213)]))_0x5efea6=_0xbe082f,_0x4a612a=TestInfo[_0x296861(0x1e1)](_0x5efea6);else this[_0x296861(0x1ef)]&&_0x64322b[_0x296861(0x1dc)](this[_0x296861(0x1ef)][_0x296861(0x229)],FRAMEWORKS['JEST'])?(_0x5efea6=this['jestUtils'][_0x296861(0x224)](_0x255e3f['testInfo']),this['logger'][_0x296861(0x1fa)](_0x296861(0x1d0)+_0x5efea6)):(_0x5efea6=TestInfo[_0x296861(0x1d5)](_0x255e3f[_0x296861(0x23a)],_0x255e3f[_0x296861(0x23a)][_0x296861(0x20b)]),_0x4a612a=TestInfo[_0x296861(0x1e1)](_0x5efea6));const _0x4a05d9=TestInfo[_0x296861(0x1e8)](_0x5efea6),_0x59e457=_0x255e3f[_0x296861(0x1e5)],_0x1941ac=AutomationFramework[_0x296861(0x1f6)](_0x59e457,PlaywrightDriverModule[_0x296861(0x1ed)]),_0x4a6d39=_0x4a05d9?.[TestFrameworkConstants[_0x296861(0x212)]]||this[_0x296861(0x1ef)]&&this[_0x296861(0x1ef)][_0x296861(0x229)],_0x1c801d=_0x4a05d9?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x296861(0x1ef)]&&this['testFrameworkData'][_0x296861(0x205)],_0xfe58a=TestFrameworkState[_0x296861(0x217)][_0x296861(0x214)]()[_0x296861(0x232)]('.')[0x1],_0x109906=HookState[_0x296861(0x218)][_0x296861(0x214)]()['split']('.')[0x1],_0x44f529=_0x59e457[_0x296861(0x1d1)](),_0x13fc24=AutomationFramework[_0x296861(0x1f6)](_0x59e457,PlaywrightDriverModule[_0x296861(0x1e9)],''),_0x4178b8={'provider':_0x64322b[_0x296861(0x22c)](getPlaywrightProvider,_0x13fc24),'frameworkName':_0x59e457[_0x296861(0x1fd)],'frameworkVersion':_0x59e457['frameworkVersion'],'frameworkSessionId':LoadTestModule[_0x296861(0x209)]()?LoadTestModule[_0x296861(0x20d)]():AutomationFramework[_0x296861(0x1f6)](_0x59e457,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x59e457[_0x296861(0x1fb)](),'hubUrl':_0x13fc24};let _0x3ad07d=AutomationFramework['getState'](_0x59e457,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x3ad07d=Buffer[_0x296861(0x1d9)](JSON['stringify'](_0x3ad07d))[_0x296861(0x214)](_0x64322b['IZdUN']);const _0x1860d0={'hash':_0x44f529['getId'](),'threadId':_0x44f529[_0x296861(0x237)]()['toString'](),'processId':_0x44f529[_0x296861(0x1ff)]()[_0x296861(0x214)]()},_0x2442c2={};_0x2442c2['test_identifier']=_0x5efea6;const _0x16e822={};_0x16e822[_0x296861(0x1e7)]=_0x4a612a;const _0x33d8e2={'platformIndex':_0x1941ac,'testFrameworkName':_0x4a6d39,'testFrameworkVersion':_0x1c801d,'testFrameworkState':_0xfe58a,'testHookState':_0x109906,...this['testFrameworkData']&&_0x64322b[_0x296861(0x1e2)](this[_0x296861(0x1ef)][_0x296861(0x229)],FRAMEWORKS[_0x296861(0x1dd)])?_0x2442c2:_0x16e822,'automationSession':_0x4178b8,'capabilities':_0x3ad07d,'executionContext':_0x1860d0};this[_0x296861(0x1e3)]['debug'](_0x296861(0x1e4)+util[_0x296861(0x1f8)](_0x33d8e2));const _0x4bc0fb=await GrpcClient[_0x296861(0x1d2)]()['testSessionEvent'](_0x33d8e2);this[_0x296861(0x1e3)][_0x296861(0x1fa)](_0x296861(0x207)+_0xbe082f+(this[_0x296861(0x1ef)]&&_0x64322b[_0x296861(0x21c)](this['testFrameworkData'][_0x296861(0x229)],FRAMEWORKS['JEST'])?_0x296861(0x200)+_0x5efea6:''));}}catch(_0x564609){this[_0x296861(0x1e3)][_0x296861(0x1db)](_0x296861(0x203)+util[_0x296861(0x1f8)](_0x564609));}}}TestHubModule['MODULE_NAME']=a85_0x5b31f7(0x225),TestHubModule[a85_0x5b31f7(0x221)]=a85_0x5b31f7(0x227),module[a85_0x5b31f7(0x1f4)]=TestHubModule;
@@ -1 +1 @@
1
- const a86_0x322c76=a86_0x1b10;(function(_0x4a7019,_0x243438){const _0x4e16d1=a86_0x1b10,_0x19bc32=_0x4a7019();while(!![]){try{const _0x355779=parseInt(_0x4e16d1(0x1df))/0x1+-parseInt(_0x4e16d1(0x1ee))/0x2*(parseInt(_0x4e16d1(0x1db))/0x3)+parseInt(_0x4e16d1(0x1d9))/0x4+parseInt(_0x4e16d1(0x1dc))/0x5+parseInt(_0x4e16d1(0x1e9))/0x6*(parseInt(_0x4e16d1(0x1e6))/0x7)+-parseInt(_0x4e16d1(0x1e1))/0x8*(parseInt(_0x4e16d1(0x1d5))/0x9)+-parseInt(_0x4e16d1(0x1ef))/0xa*(parseInt(_0x4e16d1(0x1e2))/0xb);if(_0x355779===_0x243438)break;else _0x19bc32['push'](_0x19bc32['shift']());}catch(_0x3cd80e){_0x19bc32['push'](_0x19bc32['shift']());}}}(a86_0xa50f,0xe13b3));const {PLAYWRIGHT}=require(a86_0x322c76(0x1d8)),a86_0x3c7471={};function a86_0xa50f(){const _0x98135e=['1748767lFnBcz','Vtlsk','13312rDStdF','5409734mTmgCg','AutomationFrameworkState.IDLE','Zqvid','values','6013cTVXoH','uVxiQ','fWcYz','3156IlVZPY','freeze','value','find','AutomationFrameworkState.QUIT','126470tOvfpw','20VRcwJX','exports','7092avBAlv','AutomationFrameworkState.NONE','AutomationFrameworkState.CREATE','../../utils/constants','1599260uXbGRl','bQUai','3HCjvmX','3400930OMwzqj','toString','xgUdj'];a86_0xa50f=function(){return _0x98135e;};return a86_0xa50f();}a86_0x3c7471[a86_0x322c76(0x1eb)]=0x0,a86_0x3c7471['toString']=function(){const _0x9538fb=a86_0x322c76,_0x5e2243={};_0x5e2243[_0x9538fb(0x1e0)]=_0x9538fb(0x1d6);const _0x3aca9e=_0x5e2243;return _0x3aca9e['Vtlsk'];};function a86_0x1b10(_0x311691,_0x1e99f6){const _0xa50f4d=a86_0xa50f();return a86_0x1b10=function(_0x1b107f,_0x9427ee){_0x1b107f=_0x1b107f-0x1d4;let _0x7ece37=_0xa50f4d[_0x1b107f];return _0x7ece37;},a86_0x1b10(_0x311691,_0x1e99f6);}const a86_0x577dc3={};a86_0x577dc3[a86_0x322c76(0x1eb)]=0x1,a86_0x577dc3[a86_0x322c76(0x1dd)]=function(){const _0x22a95f=a86_0x322c76,_0x1c65f5={};_0x1c65f5['Zqvid']=_0x22a95f(0x1d7);const _0x256241=_0x1c65f5;return _0x256241[_0x22a95f(0x1e4)];};const a86_0x2f2674={};a86_0x2f2674[a86_0x322c76(0x1eb)]=0x2,a86_0x2f2674[a86_0x322c76(0x1dd)]=function(){const _0x5c6bb5=a86_0x322c76,_0x244e9c={};_0x244e9c[_0x5c6bb5(0x1e7)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x2776b3=_0x244e9c;return _0x2776b3[_0x5c6bb5(0x1e7)];};const a86_0x3093f1={};a86_0x3093f1[a86_0x322c76(0x1eb)]=0x3,a86_0x3093f1[a86_0x322c76(0x1dd)]=function(){const _0x205c9e=a86_0x322c76,_0x575d0d={};_0x575d0d[_0x205c9e(0x1de)]='AutomationFrameworkState.EXECUTE';const _0x1961ca=_0x575d0d;return _0x1961ca[_0x205c9e(0x1de)];};const a86_0x5bfac9={};a86_0x5bfac9['value']=0x4,a86_0x5bfac9[a86_0x322c76(0x1dd)]=function(){const _0x283cb3=a86_0x322c76,_0x3c4836={};_0x3c4836[_0x283cb3(0x1da)]=_0x283cb3(0x1e3);const _0x49ed36=_0x3c4836;return _0x49ed36['bQUai'];};const a86_0x478c7c={};a86_0x478c7c[a86_0x322c76(0x1eb)]=0x5,a86_0x478c7c[a86_0x322c76(0x1dd)]=function(){const _0x4027b0=a86_0x322c76,_0x1ad114={};_0x1ad114[_0x4027b0(0x1e8)]=_0x4027b0(0x1ed);const _0x35874d=_0x1ad114;return _0x35874d[_0x4027b0(0x1e8)];};const AutomationFrameworkState=Object[a86_0x322c76(0x1ea)]({'NONE':a86_0x3c7471,'CREATE':a86_0x577dc3,'PLAYWRIGHT_DISPATCH':a86_0x2f2674,'EXECUTE':a86_0x3093f1,'IDLE':a86_0x5bfac9,'QUIT':a86_0x478c7c,'fromValue'(_0x3e87e8){const _0x4faa5b=a86_0x322c76;return Object[_0x4faa5b(0x1e5)](AutomationFrameworkState)[_0x4faa5b(0x1ec)](_0xecdcf1=>_0xecdcf1[_0x4faa5b(0x1eb)]===_0x3e87e8);}});module[a86_0x322c76(0x1d4)]=AutomationFrameworkState;
1
+ const a86_0x328217=a86_0x4bac;(function(_0x1372ee,_0x3ed251){const _0x3a7cad=a86_0x4bac,_0x109931=_0x1372ee();while(!![]){try{const _0x2a7146=parseInt(_0x3a7cad(0x1b8))/0x1+-parseInt(_0x3a7cad(0x1c5))/0x2+-parseInt(_0x3a7cad(0x1b6))/0x3*(parseInt(_0x3a7cad(0x1c1))/0x4)+parseInt(_0x3a7cad(0x1c6))/0x5+-parseInt(_0x3a7cad(0x1b5))/0x6*(parseInt(_0x3a7cad(0x1b7))/0x7)+parseInt(_0x3a7cad(0x1bf))/0x8*(-parseInt(_0x3a7cad(0x1b2))/0x9)+-parseInt(_0x3a7cad(0x1bc))/0xa*(-parseInt(_0x3a7cad(0x1c0))/0xb);if(_0x2a7146===_0x3ed251)break;else _0x109931['push'](_0x109931['shift']());}catch(_0x443825){_0x109931['push'](_0x109931['shift']());}}}(a86_0xa920,0x34aca));function a86_0x4bac(_0x1f9c3b,_0x5702d0){const _0xa92065=a86_0xa920();return a86_0x4bac=function(_0x4bace6,_0x4cb7ad){_0x4bace6=_0x4bace6-0x1b1;let _0x2ddf7b=_0xa92065[_0x4bace6];return _0x2ddf7b;},a86_0x4bac(_0x1f9c3b,_0x5702d0);}const {PLAYWRIGHT}=require(a86_0x328217(0x1ca)),a86_0x3bdf50={};a86_0x3bdf50[a86_0x328217(0x1c2)]=0x0,a86_0x3bdf50[a86_0x328217(0x1c3)]=function(){const _0x384630=a86_0x328217,_0xdf5d34={};_0xdf5d34[_0x384630(0x1bd)]='AutomationFrameworkState.NONE';const _0x222418=_0xdf5d34;return _0x222418['KOSYt'];};const a86_0x263e64={};a86_0x263e64['value']=0x1,a86_0x263e64[a86_0x328217(0x1c3)]=function(){const _0x21d4a0=a86_0x328217,_0x2a8d14={};_0x2a8d14['lIdKx']=_0x21d4a0(0x1c7);const _0x4ee4b0=_0x2a8d14;return _0x4ee4b0[_0x21d4a0(0x1c8)];};const a86_0x4b60b2={};a86_0x4b60b2[a86_0x328217(0x1c2)]=0x2,a86_0x4b60b2[a86_0x328217(0x1c3)]=function(){const _0x3255b6=a86_0x328217,_0x497329={};_0x497329[_0x3255b6(0x1b4)]=_0x3255b6(0x1b1);const _0x5ec58d=_0x497329;return _0x5ec58d[_0x3255b6(0x1b4)];};const a86_0x48c88a={};a86_0x48c88a[a86_0x328217(0x1c2)]=0x3,a86_0x48c88a[a86_0x328217(0x1c3)]=function(){const _0x3e7ff2=a86_0x328217,_0x368576={};_0x368576['IFUHr']='AutomationFrameworkState.EXECUTE';const _0x4de1a5=_0x368576;return _0x4de1a5[_0x3e7ff2(0x1be)];};const a86_0x4ddf2a={};a86_0x4ddf2a[a86_0x328217(0x1c2)]=0x4,a86_0x4ddf2a[a86_0x328217(0x1c3)]=function(){const _0x17f9dd=a86_0x328217,_0x2a23f5={};_0x2a23f5[_0x17f9dd(0x1b3)]=_0x17f9dd(0x1ba);const _0x58ff53=_0x2a23f5;return _0x58ff53['XLDFk'];};const a86_0x17310a={};function a86_0xa920(){const _0x54f8f7=['2539233hjomxk','XLDFk','zQlxO','6yibqpZ','45yKWBnF','533071IOWLuo','55251VXbHHF','AutomationFrameworkState.QUIT','AutomationFrameworkState.IDLE','BXuKA','70wGkNKR','KOSYt','IFUHr','8TxxBqw','805079BYIHLr','14480LGxkrI','value','toString','freeze','166052ztawmW','718980asfBDA','AutomationFrameworkState.CREATE','lIdKx','values','../../utils/constants','find','AutomationFrameworkState.PLAYWRIGHT_DISPATCH'];a86_0xa920=function(){return _0x54f8f7;};return a86_0xa920();}a86_0x17310a['value']=0x5,a86_0x17310a[a86_0x328217(0x1c3)]=function(){const _0x155ffe=a86_0x328217,_0x263230={};_0x263230[_0x155ffe(0x1bb)]=_0x155ffe(0x1b9);const _0xa0fa5b=_0x263230;return _0xa0fa5b[_0x155ffe(0x1bb)];};const AutomationFrameworkState=Object[a86_0x328217(0x1c4)]({'NONE':a86_0x3bdf50,'CREATE':a86_0x263e64,'PLAYWRIGHT_DISPATCH':a86_0x4b60b2,'EXECUTE':a86_0x48c88a,'IDLE':a86_0x4ddf2a,'QUIT':a86_0x17310a,'fromValue'(_0x45e615){const _0x24627e=a86_0x328217;return Object[_0x24627e(0x1c9)](AutomationFrameworkState)[_0x24627e(0x1cb)](_0xe0772a=>_0xe0772a[_0x24627e(0x1c2)]===_0x45e615);}});module['exports']=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a87_0x14579=a87_0x5f0f;(function(_0x44ce3c,_0x1612dd){const _0x47c4ed=a87_0x5f0f,_0xcb6514=_0x44ce3c();while(!![]){try{const _0x587cc0=-parseInt(_0x47c4ed(0x1ec))/0x1*(parseInt(_0x47c4ed(0x1f3))/0x2)+-parseInt(_0x47c4ed(0x1f1))/0x3*(parseInt(_0x47c4ed(0x1f2))/0x4)+-parseInt(_0x47c4ed(0x1eb))/0x5+parseInt(_0x47c4ed(0x1e6))/0x6*(parseInt(_0x47c4ed(0x1ef))/0x7)+parseInt(_0x47c4ed(0x1f0))/0x8*(parseInt(_0x47c4ed(0x1e7))/0x9)+parseInt(_0x47c4ed(0x1e1))/0xa*(parseInt(_0x47c4ed(0x1e0))/0xb)+parseInt(_0x47c4ed(0x1e9))/0xc;if(_0x587cc0===_0x1612dd)break;else _0xcb6514['push'](_0xcb6514['shift']());}catch(_0x1dffdf){_0xcb6514['push'](_0xcb6514['shift']());}}}(a87_0x24a7,0x83767));const a87_0x2eb7e2={};a87_0x2eb7e2[a87_0x14579(0x1e4)]=0x0,a87_0x2eb7e2['toString']=function(){const _0x2288ba=a87_0x14579,_0x4c3a18={};_0x4c3a18[_0x2288ba(0x1ed)]=_0x2288ba(0x1ea);const _0x138e92=_0x4c3a18;return _0x138e92[_0x2288ba(0x1ed)];};const a87_0x3bfb7d={};a87_0x3bfb7d[a87_0x14579(0x1e4)]=0x1,a87_0x3bfb7d[a87_0x14579(0x1e3)]=function(){const _0x517549=a87_0x14579,_0x356672={};_0x356672[_0x517549(0x1e2)]='HookState.PRE';const _0x24a35f=_0x356672;return _0x24a35f[_0x517549(0x1e2)];};const a87_0x41ffb8={};a87_0x41ffb8['value']=0x2,a87_0x41ffb8[a87_0x14579(0x1e3)]=function(){const _0x4f223a=a87_0x14579,_0x484a24={};_0x484a24[_0x4f223a(0x1e8)]='HookState.POST';const _0x1bccc1=_0x484a24;return _0x1bccc1[_0x4f223a(0x1e8)];};function a87_0x5f0f(_0x2ff3bc,_0x15d476){const _0x24a74b=a87_0x24a7();return a87_0x5f0f=function(_0x5f0f4d,_0x4a2f7e){_0x5f0f4d=_0x5f0f4d-0x1de;let _0x799f3=_0x24a74b[_0x5f0f4d];return _0x799f3;},a87_0x5f0f(_0x2ff3bc,_0x15d476);}const HookState=Object[a87_0x14579(0x1de)]({'NONE':a87_0x2eb7e2,'PRE':a87_0x3bfb7d,'POST':a87_0x41ffb8,'fromValue'(_0x4e1fd9){const _0x1aced8=a87_0x14579;return Object[_0x1aced8(0x1df)](HookState)[_0x1aced8(0x1e5)](_0x31c198=>_0x31c198[_0x1aced8(0x1e4)]===_0x4e1fd9);}});module[a87_0x14579(0x1ee)]=HookState;function a87_0x24a7(){const _0x4bbb74=['18246cLZsoC','499383ViBdGr','CdelC','9116028uRLWFW','HookState.NONE','1731975eBoDMB','452QlcIVI','UfLgM','exports','707rRrvOl','8jNlKhq','83457DLZwDZ','44NYipyA','686rJGiBe','freeze','values','2459754yfDDEz','10fdspPw','nlFQq','toString','value','find'];a87_0x24a7=function(){return _0x4bbb74;};return a87_0x24a7();}
1
+ function a87_0x3c50(_0x579e7e,_0x361a6c){const _0x265ff5=a87_0x265f();return a87_0x3c50=function(_0x3c50ed,_0x233325){_0x3c50ed=_0x3c50ed-0x138;let _0x10edef=_0x265ff5[_0x3c50ed];return _0x10edef;},a87_0x3c50(_0x579e7e,_0x361a6c);}const a87_0x1f7093=a87_0x3c50;(function(_0x419209,_0x14fde6){const _0x4f94d0=a87_0x3c50,_0x56305b=_0x419209();while(!![]){try{const _0x323d91=parseInt(_0x4f94d0(0x13c))/0x1+-parseInt(_0x4f94d0(0x146))/0x2+-parseInt(_0x4f94d0(0x140))/0x3+-parseInt(_0x4f94d0(0x141))/0x4*(parseInt(_0x4f94d0(0x138))/0x5)+-parseInt(_0x4f94d0(0x142))/0x6*(-parseInt(_0x4f94d0(0x14a))/0x7)+parseInt(_0x4f94d0(0x13b))/0x8+-parseInt(_0x4f94d0(0x14c))/0x9*(-parseInt(_0x4f94d0(0x147))/0xa);if(_0x323d91===_0x14fde6)break;else _0x56305b['push'](_0x56305b['shift']());}catch(_0x5988e5){_0x56305b['push'](_0x56305b['shift']());}}}(a87_0x265f,0xdcf5d));const a87_0x59e2d3={};a87_0x59e2d3[a87_0x1f7093(0x145)]=0x0,a87_0x59e2d3[a87_0x1f7093(0x139)]=function(){const _0x521607=a87_0x1f7093,_0xc4a165={};_0xc4a165[_0x521607(0x148)]='HookState.NONE';const _0x56c7e1=_0xc4a165;return _0x56c7e1[_0x521607(0x148)];};const a87_0x3649fc={};a87_0x3649fc[a87_0x1f7093(0x145)]=0x1,a87_0x3649fc['toString']=function(){const _0x225728=a87_0x1f7093,_0xfe9106={};_0xfe9106[_0x225728(0x143)]=_0x225728(0x13d);const _0x148f88=_0xfe9106;return _0x148f88['wpATP'];};const a87_0xc5fd11={};a87_0xc5fd11[a87_0x1f7093(0x145)]=0x2,a87_0xc5fd11[a87_0x1f7093(0x139)]=function(){const _0x2586cc=a87_0x1f7093,_0x12bcce={};_0x12bcce[_0x2586cc(0x144)]=_0x2586cc(0x13a);const _0x596dba=_0x12bcce;return _0x596dba[_0x2586cc(0x144)];};function a87_0x265f(){const _0xe4bd3=['freeze','8662887WTfBMU','6272710QPPLqB','toString','HookState.POST','8490200AIYVHL','460386DcceJm','HookState.PRE','find','values','2434641McTSCp','4eukoPn','126588fwKPzF','wpATP','tiDdb','value','2807834gZiudr','20Mmbjal','eQipo','exports','308KhXZTZ'];a87_0x265f=function(){return _0xe4bd3;};return a87_0x265f();}const HookState=Object[a87_0x1f7093(0x14b)]({'NONE':a87_0x59e2d3,'PRE':a87_0x3649fc,'POST':a87_0xc5fd11,'fromValue'(_0x1ad970){const _0x4993b2=a87_0x1f7093;return Object[_0x4993b2(0x13f)](HookState)[_0x4993b2(0x13e)](_0x2d945e=>_0x2d945e[_0x4993b2(0x145)]===_0x1ad970);}});module[a87_0x1f7093(0x149)]=HookState;
@@ -1 +1 @@
1
- function a88_0x3929(_0x18e9f4,_0x521efa){const _0x153cc6=a88_0x153c();return a88_0x3929=function(_0x39291e,_0x799b40){_0x39291e=_0x39291e-0x196;let _0x2bb921=_0x153cc6[_0x39291e];return _0x2bb921;},a88_0x3929(_0x18e9f4,_0x521efa);}const a88_0x278143=a88_0x3929;(function(_0x3084ba,_0x106865){const _0x459b77=a88_0x3929,_0x4f8fed=_0x3084ba();while(!![]){try{const _0x4636ab=parseInt(_0x459b77(0x196))/0x1+-parseInt(_0x459b77(0x1b4))/0x2*(parseInt(_0x459b77(0x1a8))/0x3)+parseInt(_0x459b77(0x1ab))/0x4+-parseInt(_0x459b77(0x1b6))/0x5*(parseInt(_0x459b77(0x19f))/0x6)+-parseInt(_0x459b77(0x1a9))/0x7*(parseInt(_0x459b77(0x1a2))/0x8)+-parseInt(_0x459b77(0x1a5))/0x9+-parseInt(_0x459b77(0x19d))/0xa*(-parseInt(_0x459b77(0x1aa))/0xb);if(_0x4636ab===_0x106865)break;else _0x4f8fed['push'](_0x4f8fed['shift']());}catch(_0x28bc56){_0x4f8fed['push'](_0x4f8fed['shift']());}}}(a88_0x153c,0x30511));const a88_0x3d9ac6={};a88_0x3d9ac6[a88_0x278143(0x198)]=0x0,a88_0x3d9ac6[a88_0x278143(0x1a4)]=function(){const _0x3f39c7=a88_0x278143,_0xbabdeb={};_0xbabdeb['QQtUh']=_0x3f39c7(0x1a6);const _0x1c3bd5=_0xbabdeb;return _0x1c3bd5['QQtUh'];};const a88_0x1d4b39={};a88_0x1d4b39[a88_0x278143(0x198)]=0x1,a88_0x1d4b39['toString']=function(){const _0xe56f1e=a88_0x278143,_0x2b7eaf={};_0x2b7eaf['qpUch']=_0xe56f1e(0x1a0);const _0x3e7c0b=_0x2b7eaf;return _0x3e7c0b[_0xe56f1e(0x1ad)];};const a88_0x60f673={};a88_0x60f673['value']=0x2,a88_0x60f673['toString']=function(){const _0x38d726=a88_0x278143,_0x2ef2d4={};_0x2ef2d4[_0x38d726(0x1b0)]=_0x38d726(0x1ae);const _0x41ca4c=_0x2ef2d4;return _0x41ca4c[_0x38d726(0x1b0)];};const a88_0x549fa0={};a88_0x549fa0['value']=0x3,a88_0x549fa0['toString']=function(){const _0x2fffc8=a88_0x278143,_0x4f609d={};_0x4f609d[_0x2fffc8(0x19e)]=_0x2fffc8(0x197);const _0x2b84eb=_0x4f609d;return _0x2b84eb[_0x2fffc8(0x19e)];};const a88_0x58e9db={};a88_0x58e9db[a88_0x278143(0x198)]=0x4,a88_0x58e9db['toString']=function(){const _0x554d7c=a88_0x278143,_0x297c05={};_0x297c05[_0x554d7c(0x19a)]=_0x554d7c(0x1a7);const _0x533bdd=_0x297c05;return _0x533bdd[_0x554d7c(0x19a)];};const a88_0x3fc60a={};a88_0x3fc60a[a88_0x278143(0x198)]=0x5,a88_0x3fc60a['toString']=function(){const _0x56e5ae=a88_0x278143,_0x330e2f={};_0x330e2f[_0x56e5ae(0x1a3)]=_0x56e5ae(0x1af);const _0x2fe91a=_0x330e2f;return _0x2fe91a[_0x56e5ae(0x1a3)];};const a88_0x4d004a={};a88_0x4d004a['value']=0x6,a88_0x4d004a[a88_0x278143(0x1a4)]=function(){const _0x4e3784=a88_0x278143,_0x530148={};_0x530148[_0x4e3784(0x1b1)]='TestFrameworkState.AFTER_EACH';const _0x48e5a3=_0x530148;return _0x48e5a3[_0x4e3784(0x1b1)];};function a88_0x153c(){const _0x5bf483=['1773243fQAjfS','TestFrameworkState.NONE','TestFrameworkState.INIT_TEST','324903HKrWEq','322eISwmD','363BfxXot','1527560rlfgSP','NmtOB','qpUch','TestFrameworkState.LOG','TestFrameworkState.BEFORE_EACH','ldPxh','yvbWJ','lZKkM','values','4YGPcLA','LAjpG','5jqaxAm','MmbeG','WjNok','88022quXyjh','TestFrameworkState.SETUP_FIXTURE','value','TestFrameworkState.AFTER_ALL','HFyiG','exports','TestFrameworkState.LOG_REPORT','131210EyTffY','BsVgv','909186myvNGo','TestFrameworkState.BEFORE_ALL','TestFrameworkState.TEST_SCREENSHOT','24320sLHtZH','HLCbx','toString'];a88_0x153c=function(){return _0x5bf483;};return a88_0x153c();}const a88_0x54f10d={};a88_0x54f10d[a88_0x278143(0x198)]=0x7,a88_0x54f10d[a88_0x278143(0x1a4)]=function(){const _0xf60513=a88_0x278143,_0xab602f={};_0xab602f[_0xf60513(0x1b5)]='TestFrameworkState.TEST';const _0x2177a1=_0xab602f;return _0x2177a1['LAjpG'];};const a88_0x9d04f4={};a88_0x9d04f4[a88_0x278143(0x198)]=0x8,a88_0x9d04f4[a88_0x278143(0x1a4)]=function(){const _0x4877fa=a88_0x278143,_0x28430b={};_0x28430b[_0x4877fa(0x1ac)]='TestFrameworkState.STEP';const _0x51218c=_0x28430b;return _0x51218c[_0x4877fa(0x1ac)];};const a88_0x5a24db={};a88_0x5a24db['value']=0x9,a88_0x5a24db['toString']=function(){const _0x2b49c7=a88_0x278143,_0x2adaa6={};_0x2adaa6[_0x2b49c7(0x1b2)]=_0x2b49c7(0x19c);const _0x28287d=_0x2adaa6;return _0x28287d['lZKkM'];};const a88_0x3c21ef={};a88_0x3c21ef[a88_0x278143(0x198)]=0xa,a88_0x3c21ef['toString']=function(){const _0x235b73=a88_0x278143,_0x556de8={};_0x556de8[_0x235b73(0x1b7)]=_0x235b73(0x199);const _0x2217eb=_0x556de8;return _0x2217eb['MmbeG'];};const a88_0x4e282b={};a88_0x4e282b[a88_0x278143(0x198)]=0xb,a88_0x4e282b[a88_0x278143(0x1a4)]=function(){const _0x3fa48b=a88_0x278143,_0x3f2d5e={};_0x3f2d5e[_0x3fa48b(0x1b8)]=_0x3fa48b(0x1a1);const _0x56e2e6=_0x3f2d5e;return _0x56e2e6['WjNok'];};const TestFrameworkState=Object['freeze']({'NONE':a88_0x3d9ac6,'BEFORE_ALL':a88_0x1d4b39,'LOG':a88_0x60f673,'SETUP_FIXTURE':a88_0x549fa0,'INIT_TEST':a88_0x58e9db,'BEFORE_EACH':a88_0x3fc60a,'AFTER_EACH':a88_0x4d004a,'TEST':a88_0x54f10d,'STEP':a88_0x9d04f4,'LOG_REPORT':a88_0x5a24db,'AFTER_ALL':a88_0x3c21ef,'TEST_SCREENSHOT':a88_0x4e282b,'fromValue'(_0x4cad8e){const _0x3cd902=a88_0x278143;return Object[_0x3cd902(0x1b3)](TestFrameworkState)['find'](_0x2b3f8a=>_0x2b3f8a[_0x3cd902(0x198)]===_0x4cad8e);}});module[a88_0x278143(0x19b)]=TestFrameworkState;
1
+ const a88_0x372c37=a88_0x2d95;(function(_0xa2f4f6,_0xcd363e){const _0x566403=a88_0x2d95,_0x4d0903=_0xa2f4f6();while(!![]){try{const _0x5ad234=-parseInt(_0x566403(0x1cc))/0x1*(-parseInt(_0x566403(0x1ba))/0x2)+parseInt(_0x566403(0x1c2))/0x3*(-parseInt(_0x566403(0x1ac))/0x4)+-parseInt(_0x566403(0x1ab))/0x5*(-parseInt(_0x566403(0x1c7))/0x6)+parseInt(_0x566403(0x1b4))/0x7*(parseInt(_0x566403(0x1c8))/0x8)+parseInt(_0x566403(0x1c1))/0x9+-parseInt(_0x566403(0x1b9))/0xa+-parseInt(_0x566403(0x1b7))/0xb*(-parseInt(_0x566403(0x1ae))/0xc);if(_0x5ad234===_0xcd363e)break;else _0x4d0903['push'](_0x4d0903['shift']());}catch(_0x4c125b){_0x4d0903['push'](_0x4d0903['shift']());}}}(a88_0x316e,0xd89d6));const a88_0x4c9c53={};a88_0x4c9c53[a88_0x372c37(0x1b0)]=0x0,a88_0x4c9c53[a88_0x372c37(0x1bd)]=function(){const _0x1810ef={};_0x1810ef['qFGim']='TestFrameworkState.NONE';const _0x2b6261=_0x1810ef;return _0x2b6261['qFGim'];};const a88_0x4d7f1d={};a88_0x4d7f1d[a88_0x372c37(0x1b0)]=0x1,a88_0x4d7f1d[a88_0x372c37(0x1bd)]=function(){const _0x365b7f=a88_0x372c37,_0x2922bb={};_0x2922bb[_0x365b7f(0x1b2)]=_0x365b7f(0x1bc);const _0x26f924=_0x2922bb;return _0x26f924[_0x365b7f(0x1b2)];};const a88_0x30c126={};a88_0x30c126[a88_0x372c37(0x1b0)]=0x2,a88_0x30c126[a88_0x372c37(0x1bd)]=function(){const _0x1824c0=a88_0x372c37,_0x613eac={};_0x613eac[_0x1824c0(0x1cb)]=_0x1824c0(0x1b1);const _0x299077=_0x613eac;return _0x299077[_0x1824c0(0x1cb)];};const a88_0x5bc648={};a88_0x5bc648['value']=0x3,a88_0x5bc648[a88_0x372c37(0x1bd)]=function(){const _0x2a02d2=a88_0x372c37,_0x4f7cc6={};_0x4f7cc6[_0x2a02d2(0x1c9)]=_0x2a02d2(0x1af);const _0xb44f00=_0x4f7cc6;return _0xb44f00['xoPxg'];};const a88_0x497965={};a88_0x497965[a88_0x372c37(0x1b0)]=0x4,a88_0x497965['toString']=function(){const _0xab9986=a88_0x372c37,_0x490f8a={};_0x490f8a[_0xab9986(0x1ce)]='TestFrameworkState.INIT_TEST';const _0x59b62f=_0x490f8a;return _0x59b62f[_0xab9986(0x1ce)];};function a88_0x316e(){const _0x4065ff=['6660424wxqPAG','TestFrameworkState.AFTER_EACH','228ogoJHn','TestFrameworkState.SETUP_FIXTURE','value','TestFrameworkState.LOG','RWwEI','IRMdn','7oAoNNZ','jzOgl','TestFrameworkState.TEST_SCREENSHOT','788689LrHScO','LncWM','17530470SmRACc','118fLGlhi','TestFrameworkState.STEP','TestFrameworkState.BEFORE_ALL','toString','PKHZx','values','tXmis','5138694nvcUyE','3nrLoZO','zsbyS','exports','TestFrameworkState.AFTER_ALL','TestFrameworkState.LOG_REPORT','24kXaRbT','2000464iJlgbY','xoPxg','TestFrameworkState.BEFORE_EACH','QuCrh','18430Ugwqiw','CwZLy','Dmrlt','freeze','1293415JRrhSU'];a88_0x316e=function(){return _0x4065ff;};return a88_0x316e();}function a88_0x2d95(_0x45c572,_0x5867bc){const _0x316e4f=a88_0x316e();return a88_0x2d95=function(_0x2d954d,_0x5e5664){_0x2d954d=_0x2d954d-0x1aa;let _0x556e07=_0x316e4f[_0x2d954d];return _0x556e07;},a88_0x2d95(_0x45c572,_0x5867bc);}const a88_0x1f9bbd={};a88_0x1f9bbd[a88_0x372c37(0x1b0)]=0x5,a88_0x1f9bbd[a88_0x372c37(0x1bd)]=function(){const _0x5ee0df=a88_0x372c37,_0x28c305={};_0x28c305['jzOgl']=_0x5ee0df(0x1ca);const _0x184bf7=_0x28c305;return _0x184bf7[_0x5ee0df(0x1b5)];};const a88_0x5f1a98={};a88_0x5f1a98[a88_0x372c37(0x1b0)]=0x6,a88_0x5f1a98[a88_0x372c37(0x1bd)]=function(){const _0x42e955=a88_0x372c37,_0x5591fa={};_0x5591fa[_0x42e955(0x1c0)]=_0x42e955(0x1ad);const _0x3a5f50=_0x5591fa;return _0x3a5f50['tXmis'];};const a88_0x5b75e9={};a88_0x5b75e9[a88_0x372c37(0x1b0)]=0x7,a88_0x5b75e9[a88_0x372c37(0x1bd)]=function(){const _0x33600a=a88_0x372c37,_0x1ea6e8={};_0x1ea6e8[_0x33600a(0x1be)]='TestFrameworkState.TEST';const _0x98e611=_0x1ea6e8;return _0x98e611['PKHZx'];};const a88_0x26b2be={};a88_0x26b2be[a88_0x372c37(0x1b0)]=0x8,a88_0x26b2be[a88_0x372c37(0x1bd)]=function(){const _0x5818c6=a88_0x372c37,_0x210b6d={};_0x210b6d[_0x5818c6(0x1b8)]=_0x5818c6(0x1bb);const _0x5a24bc=_0x210b6d;return _0x5a24bc[_0x5818c6(0x1b8)];};const a88_0x49d7ca={};a88_0x49d7ca['value']=0x9,a88_0x49d7ca[a88_0x372c37(0x1bd)]=function(){const _0xc71ba5=a88_0x372c37,_0x347dd2={};_0x347dd2['CwZLy']=_0xc71ba5(0x1c6);const _0x4241a2=_0x347dd2;return _0x4241a2[_0xc71ba5(0x1cd)];};const a88_0x110188={};a88_0x110188['value']=0xa,a88_0x110188[a88_0x372c37(0x1bd)]=function(){const _0x40e9c2=a88_0x372c37,_0x2590ae={};_0x2590ae[_0x40e9c2(0x1c3)]=_0x40e9c2(0x1c5);const _0x45851b=_0x2590ae;return _0x45851b[_0x40e9c2(0x1c3)];};const a88_0x46ccf0={};a88_0x46ccf0[a88_0x372c37(0x1b0)]=0xb,a88_0x46ccf0[a88_0x372c37(0x1bd)]=function(){const _0x28d325=a88_0x372c37,_0x103241={};_0x103241[_0x28d325(0x1b3)]=_0x28d325(0x1b6);const _0x4a49db=_0x103241;return _0x4a49db[_0x28d325(0x1b3)];};const TestFrameworkState=Object[a88_0x372c37(0x1aa)]({'NONE':a88_0x4c9c53,'BEFORE_ALL':a88_0x4d7f1d,'LOG':a88_0x30c126,'SETUP_FIXTURE':a88_0x5bc648,'INIT_TEST':a88_0x497965,'BEFORE_EACH':a88_0x1f9bbd,'AFTER_EACH':a88_0x5f1a98,'TEST':a88_0x5b75e9,'STEP':a88_0x26b2be,'LOG_REPORT':a88_0x49d7ca,'AFTER_ALL':a88_0x110188,'TEST_SCREENSHOT':a88_0x46ccf0,'fromValue'(_0x228006){const _0xb178b7=a88_0x372c37;return Object[_0xb178b7(0x1bf)](TestFrameworkState)['find'](_0x2dc2f2=>_0x2dc2f2[_0xb178b7(0x1b0)]===_0x228006);}});module[a88_0x372c37(0x1c4)]=TestFrameworkState;
@@ -1 +1 @@
1
- function a89_0x400f(_0x54dd12,_0x59801b){const _0x3c9bb4=a89_0x3c9b();return a89_0x400f=function(_0x400f0c,_0x247590){_0x400f0c=_0x400f0c-0x1ed;let _0x54c28e=_0x3c9bb4[_0x400f0c];return _0x54c28e;},a89_0x400f(_0x54dd12,_0x59801b);}const a89_0x35a1e0=a89_0x400f;(function(_0x5bd15e,_0xc357f9){const _0x4e8f1c=a89_0x400f,_0x5063c3=_0x5bd15e();while(!![]){try{const _0x226b22=parseInt(_0x4e8f1c(0x229))/0x1+parseInt(_0x4e8f1c(0x226))/0x2*(-parseInt(_0x4e8f1c(0x223))/0x3)+-parseInt(_0x4e8f1c(0x1f0))/0x4*(-parseInt(_0x4e8f1c(0x23b))/0x5)+parseInt(_0x4e8f1c(0x249))/0x6+-parseInt(_0x4e8f1c(0x204))/0x7+-parseInt(_0x4e8f1c(0x264))/0x8*(-parseInt(_0x4e8f1c(0x23c))/0x9)+parseInt(_0x4e8f1c(0x258))/0xa;if(_0x226b22===_0xc357f9)break;else _0x5063c3['push'](_0x5063c3['shift']());}catch(_0x3e4553){_0x5063c3['push'](_0x5063c3['shift']());}}}(a89_0x3c9b,0x2e532));const os=require('os'),fs=require('fs'),path=require('path'),util=require(a89_0x35a1e0(0x26a)),BrowserstackCLI=require('./browserstackCLI'),https=require('https'),http=require('http'),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a89_0x35a1e0(0x232)),TestInfo=require(a89_0x35a1e0(0x268)),TestFrameworkConstants=require(a89_0x35a1e0(0x1fa)),{createClassLogger}=require(a89_0x35a1e0(0x200));class uploadAttachmentsManager{static [a89_0x35a1e0(0x23a)]=createClassLogger('uploadAttachmentsManager');static['uploadAttachments'](_0x44c13d,_0x3583ae=![]){const _0x3d4956=a89_0x35a1e0,_0x4c9fa3={};_0x4c9fa3[_0x3d4956(0x1ed)]=function(_0xcdb74f,_0x39c4ef){return _0xcdb74f/_0x39c4ef;},_0x4c9fa3[_0x3d4956(0x26b)]=function(_0x556afc,_0x1cceb7){return _0x556afc*_0x1cceb7;},_0x4c9fa3[_0x3d4956(0x1f6)]=function(_0x6b0ae,_0x4eb12d){return _0x6b0ae>_0x4eb12d;},_0x4c9fa3[_0x3d4956(0x262)]=_0x3d4956(0x214),_0x4c9fa3[_0x3d4956(0x25b)]=_0x3d4956(0x25a),_0x4c9fa3[_0x3d4956(0x1fe)]=function(_0x314be5,_0x3d125e){return _0x314be5===_0x3d125e;},_0x4c9fa3[_0x3d4956(0x225)]=_0x3d4956(0x255),_0x4c9fa3['nYdvH']='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x4c9fa3[_0x3d4956(0x247)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0x4c9fa3['AjUjZ']=_0x3d4956(0x267),_0x4c9fa3[_0x3d4956(0x246)]=_0x3d4956(0x228),_0x4c9fa3[_0x3d4956(0x239)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x4c9fa3['xqJmV']=_0x3d4956(0x21f),_0x4c9fa3[_0x3d4956(0x213)]=_0x3d4956(0x21a),_0x4c9fa3[_0x3d4956(0x1f1)]=function(_0x517d4d,_0x46bf42){return _0x517d4d===_0x46bf42;},_0x4c9fa3[_0x3d4956(0x1ef)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x4c9fa3['QgSMy']='https://',_0x4c9fa3[_0x3d4956(0x20b)]='http://',_0x4c9fa3[_0x3d4956(0x20e)]=_0x3d4956(0x211),_0x4c9fa3['LNzRO']=_0x3d4956(0x269),_0x4c9fa3[_0x3d4956(0x221)]=function(_0x4c280f,_0x344c3c){return _0x4c280f/_0x344c3c;},_0x4c9fa3['cJzXb']=function(_0x4f0450,_0x2916bf){return _0x4f0450*_0x2916bf;},_0x4c9fa3['sVPES']=function(_0x231f64,_0x2a4998){return _0x231f64>_0x2a4998;},_0x4c9fa3[_0x3d4956(0x215)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x211af5=_0x4c9fa3;this['logger']['debug'](util[_0x3d4956(0x254)](_0x211af5[_0x3d4956(0x240)],_0x44c13d));const _0x301ff5=os[_0x3d4956(0x244)](),_0x14bb64=path['join'](_0x301ff5,_0x211af5[_0x3d4956(0x246)]);!fs[_0x3d4956(0x257)](_0x14bb64)&&(this[_0x3d4956(0x23a)][_0x3d4956(0x234)](util[_0x3d4956(0x254)](_0x211af5[_0x3d4956(0x239)],_0x14bb64)),fs['mkdirSync'](_0x14bb64),this[_0x3d4956(0x23a)][_0x3d4956(0x234)](util[_0x3d4956(0x254)](_0x211af5['xqJmV'],_0x14bb64)));const _0x166fcb=BrowserstackCLI['getInstance']()[_0x3d4956(0x24b)][_0x3d4956(0x231)]?.[_0x3d4956(0x259)]?.[_0x3d4956(0x23f)]()?.['buildHashedId'],_0x5cc617=path['join'](_0x14bb64,_0x166fcb);!fs[_0x3d4956(0x257)](_0x5cc617)&&(fs['mkdirSync'](_0x5cc617),this[_0x3d4956(0x23a)][_0x3d4956(0x234)](util[_0x3d4956(0x254)](_0x211af5[_0x3d4956(0x213)],_0x5cc617)));if(_0x211af5[_0x3d4956(0x1f1)](_0x44c13d[_0x3d4956(0x21e)](),'')){this['logger'][_0x3d4956(0x234)](util['format'](_0x211af5['mpPpM']));return;}if(_0x44c13d[_0x3d4956(0x219)](_0x211af5[_0x3d4956(0x256)])||_0x44c13d[_0x3d4956(0x219)](_0x211af5['SGkJU'])){const _0x796aef=_0x44c13d['startsWith'](_0x211af5['QgSMy'])?https:http,_0x13a205=path[_0x3d4956(0x210)](_0x44c13d),_0x33afec=path[_0x3d4956(0x1f4)](_0x5cc617,_0x13a205),_0x4a63a8=fs['createWriteStream'](_0x33afec);_0x796aef[_0x3d4956(0x201)](_0x44c13d,_0x577035=>{const _0x5bf265=_0x3d4956,_0x4e12ab={'JwonS':function(_0x184ce6,_0x28ef3a){const _0x156617=a89_0x400f;return _0x211af5[_0x156617(0x1ed)](_0x184ce6,_0x28ef3a);},'NTSUw':function(_0x54cc92,_0x19ae90){return _0x211af5['hOWPT'](_0x54cc92,_0x19ae90);},'oZqId':function(_0x181776,_0x1ded23){const _0x54fbd5=a89_0x400f;return _0x211af5[_0x54fbd5(0x1f6)](_0x181776,_0x1ded23);},'ebptn':_0x211af5[_0x5bf265(0x262)],'VDvOF':_0x211af5[_0x5bf265(0x25b)]};if(_0x211af5[_0x5bf265(0x1fe)](_0x577035[_0x5bf265(0x251)],0xc8))_0x577035['pipe'](_0x4a63a8),_0x4a63a8['on'](_0x211af5[_0x5bf265(0x225)],()=>{const _0x495ba1=_0x5bf265;_0x4a63a8['close']();const _0x39c0b0=fs[_0x495ba1(0x25e)](_0x33afec),_0x19a2b1=_0x4e12ab[_0x495ba1(0x21c)](_0x39c0b0[_0x495ba1(0x218)],_0x4e12ab[_0x495ba1(0x22b)](0x400,0x400));if(_0x4e12ab[_0x495ba1(0x1fb)](_0x19a2b1,0x64)){this[_0x495ba1(0x23a)]['debug'](util[_0x495ba1(0x254)](_0x4e12ab['ebptn'],_0x19a2b1[_0x495ba1(0x250)](0x2))),fs['unlinkSync'](_0x33afec);return;}this[_0x495ba1(0x23a)][_0x495ba1(0x234)](util[_0x495ba1(0x254)](_0x4e12ab['VDvOF'],_0x33afec)),uploadAttachmentsManager['trackFile'](_0x33afec,_0x3583ae);});else{this[_0x5bf265(0x23a)]['debug'](util[_0x5bf265(0x254)](_0x211af5[_0x5bf265(0x22c)],_0x577035['statusCode'])),_0x4a63a8['close'](),fs[_0x5bf265(0x252)](_0x33afec);return;}})['on'](_0x211af5[_0x3d4956(0x20e)],_0x48a2c9=>{const _0x28b754=_0x3d4956;this[_0x28b754(0x23a)][_0x28b754(0x234)](util[_0x28b754(0x254)](_0x211af5[_0x28b754(0x247)],_0x48a2c9[_0x28b754(0x20f)])),_0x4a63a8[_0x28b754(0x209)](),fs[_0x28b754(0x252)](_0x33afec);return;});}else{if(!fs[_0x3d4956(0x257)](_0x44c13d)){this[_0x3d4956(0x23a)][_0x3d4956(0x234)](util[_0x3d4956(0x254)](_0x211af5['LNzRO'],_0x44c13d));return;}const _0x8e5e90=fs[_0x3d4956(0x25e)](_0x44c13d),_0x8faea4=_0x211af5['XZBSr'](_0x8e5e90['size'],_0x211af5[_0x3d4956(0x25d)](0x400,0x400));if(_0x211af5[_0x3d4956(0x20a)](_0x8faea4,0x64)){this['logger']['debug'](util[_0x3d4956(0x254)](_0x211af5[_0x3d4956(0x215)],_0x8faea4['toFixed'](0x2)));return;}const _0x5a912c=path[_0x3d4956(0x210)](_0x44c13d),_0x4da6eb=path[_0x3d4956(0x1f4)](_0x5cc617,_0x5a912c);fs['copyFileSync'](_0x44c13d,_0x4da6eb),uploadAttachmentsManager[_0x3d4956(0x261)](_0x4da6eb,_0x3583ae);}}static[a89_0x35a1e0(0x261)](_0x5ddaa6,_0x1d5d94){const _0xbb710c=a89_0x35a1e0,_0x2e2a5d={'zDmJq':function(_0x1afa69,_0x3eedd5){return _0x1afa69(_0x3eedd5);},'ZNAXR':_0xbb710c(0x237),'oeIKk':_0xbb710c(0x20c),'CnSTU':function(_0x1a8ad3,_0x1efeaf){return _0x1a8ad3===_0x1efeaf;},'ccGjx':'jest','oNySQ':_0xbb710c(0x202),'gDKMR':'BuildLevel','tvdKi':_0xbb710c(0x220),'rEhBL':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','ExScB':function(_0xe04c3e,_0x287c43){return _0xe04c3e(_0x287c43);},'mwcdo':_0xbb710c(0x222),'jaafX':_0xbb710c(0x207),'LquEI':_0xbb710c(0x243),'YmPFV':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','hHbLa':_0xbb710c(0x212)};try{let _0x1bd92f;const _0xdafbed=global['__workerDetails']?.[_0xbb710c(0x217)]?.['testInfo'],_0xab9fea=_0x2e2a5d[_0xbb710c(0x24d)](require,_0x2e2a5d[_0xbb710c(0x260)]),_0x537792=_0x2e2a5d[_0xbb710c(0x24d)](require,_0x2e2a5d[_0xbb710c(0x205)]),_0x41960e=_0xab9fea['getInstance']()[_0xbb710c(0x253)]()&&_0x2e2a5d[_0xbb710c(0x22d)](_0x537792[_0xbb710c(0x245)]()?.[_0xbb710c(0x230)]?.[_0xbb710c(0x21b)](),_0x2e2a5d[_0xbb710c(0x233)]);if(_0x41960e){_0x1bd92f=global[_0xbb710c(0x1f3)];if(!_0x1bd92f){const _0x1e5df3=AutomationFramework[_0xbb710c(0x1f8)]();_0x1bd92f=AutomationFramework[_0xbb710c(0x238)](_0x1e5df3,PlaywrightDriverModule[_0xbb710c(0x25f)],'');}this[_0xbb710c(0x23a)][_0xbb710c(0x234)](_0xbb710c(0x1fd)+_0x1bd92f);}else{if(!_0xdafbed){const _0x21ae62=AutomationFramework['getTrackedInstance']();_0x1bd92f=AutomationFramework[_0xbb710c(0x238)](_0x21ae62,PlaywrightDriverModule[_0xbb710c(0x25f)],'');}else _0x1bd92f=TestInfo['getTestIdentifierFromTestInfo'](_0xdafbed,_0xdafbed[_0xbb710c(0x216)]);this[_0xbb710c(0x23a)][_0xbb710c(0x234)]('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x1bd92f);}if(!_0x1bd92f){this[_0xbb710c(0x23a)][_0xbb710c(0x234)](_0x2e2a5d['oNySQ']);return;}const _0x4df1c3={[TestFrameworkConstants[_0xbb710c(0x24c)]]:fs[_0xbb710c(0x25e)](_0x5ddaa6)[_0xbb710c(0x218)],[TestFrameworkConstants[_0xbb710c(0x248)]]:path[_0xbb710c(0x210)](_0x5ddaa6),[TestFrameworkConstants[_0xbb710c(0x208)]]:_0x5ddaa6,[TestFrameworkConstants[_0xbb710c(0x1ee)]]:_0x1d5d94?_0x2e2a5d[_0xbb710c(0x24a)]:_0x2e2a5d[_0xbb710c(0x203)]};if(_0x41960e){const _0x1a1b6d=_0xab9fea[_0xbb710c(0x22a)]()[_0xbb710c(0x1f9)]();if(!_0x1a1b6d){this[_0xbb710c(0x23a)][_0xbb710c(0x234)](_0x2e2a5d[_0xbb710c(0x24e)]);return;}const _0x4d35b4=_0x2e2a5d['ExScB'](require,_0x2e2a5d[_0xbb710c(0x241)]),_0xffc1e0=_0x2e2a5d[_0xbb710c(0x224)](require,_0x2e2a5d[_0xbb710c(0x266)]),_0x36f374=_0x1a1b6d['resolveInstance'](_0x4d35b4[_0xbb710c(0x242)],_0xffc1e0[_0xbb710c(0x1f2)]);if(!_0x36f374){this[_0xbb710c(0x23a)][_0xbb710c(0x234)](_0x2e2a5d['LquEI']);return;}const _0x9d66ea=_0x36f374[_0xbb710c(0x25c)]()[_0xbb710c(0x201)](_0x1bd92f)||{},_0x2e8263=_0x9d66ea[TestFrameworkConstants[_0xbb710c(0x1f7)]]||{},_0x48cf4a={..._0x2e8263};_0x48cf4a[_0x5ddaa6]=_0x4df1c3;const _0x22e314=_0x48cf4a,_0x2ea04f={[TestFrameworkConstants[_0xbb710c(0x1f7)]]:_0x22e314},_0x545e9d={};_0x545e9d[_0x1bd92f]=_0x2ea04f,_0x36f374['addMultipleEntries'](_0x545e9d),this[_0xbb710c(0x23a)][_0xbb710c(0x234)](_0xbb710c(0x236)+_0x1bd92f+',\x20filepath:\x20'+_0x5ddaa6);}else{const _0x354ece=TestInfo[_0xbb710c(0x24f)](_0x1bd92f),_0x285271=_0x354ece[TestFrameworkConstants[_0xbb710c(0x1f7)]]||{};_0x285271[_0x5ddaa6]=_0x4df1c3,_0x354ece[TestFrameworkConstants[_0xbb710c(0x1f7)]]=_0x285271,TestInfo[_0xbb710c(0x227)](_0x1bd92f,_0x354ece),this[_0xbb710c(0x23a)][_0xbb710c(0x234)](_0xbb710c(0x23e)+_0x1bd92f+_0xbb710c(0x1fc)+_0x5ddaa6);}this['logger'][_0xbb710c(0x234)](util[_0xbb710c(0x254)](_0x2e2a5d[_0xbb710c(0x1ff)],_0x5ddaa6));}catch(_0x2a0470){this[_0xbb710c(0x23a)]['debug'](util['format'](_0x2e2a5d[_0xbb710c(0x235)],_0x2a0470[_0xbb710c(0x20f)]));}}static[a89_0x35a1e0(0x20d)](){const _0x457d82=a89_0x35a1e0,_0x5f53ea={};_0x5f53ea[_0x457d82(0x1f5)]=_0x457d82(0x228),_0x5f53ea[_0x457d82(0x263)]=_0x457d82(0x206),_0x5f53ea[_0x457d82(0x22e)]=_0x457d82(0x265);const _0x1265b5=_0x5f53ea,_0x419f7b=os[_0x457d82(0x244)](),_0x129366=path[_0x457d82(0x1f4)](_0x419f7b,_0x1265b5[_0x457d82(0x1f5)]);if(!fs['existsSync'](_0x129366))return;const _0x290baa=BrowserstackCLI[_0x457d82(0x22a)]()[_0x457d82(0x24b)][_0x457d82(0x231)]?.[_0x457d82(0x259)]?.[_0x457d82(0x23f)]()?.['buildHashedId'],_0x3edb86=_0x290baa?path[_0x457d82(0x1f4)](_0x129366,_0x290baa):null;if(!_0x3edb86||!fs[_0x457d82(0x257)](_0x3edb86)){this['logger']['debug'](util[_0x457d82(0x254)](_0x1265b5[_0x457d82(0x263)],_0x290baa));return;}const _0x404dbc={};_0x404dbc[_0x457d82(0x21d)]=!![],_0x404dbc['force']=!![],fs[_0x457d82(0x22f)](_0x3edb86,_0x404dbc),this['logger'][_0x457d82(0x234)](util[_0x457d82(0x254)](_0x1265b5[_0x457d82(0x22e)]));}}function a89_0x3c9b(){const _0x58190b=['trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','QPLOo','YmPFV','../../helpers/classLogger.js','get','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','tvdKi','1420440YwsiUv','oeIKk','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','./state/hookState','KEY_FILE_PATH','close','sVPES','SGkJU','./cliUtils','clearAttachments','ckErA','message','basename','error','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','poMdA','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','oitPW','retry','currentTest','size','startsWith','Created\x20folder:\x20%s','toLowerCase','JwonS','recursive','trim','Created\x20.browserstack\x20folder\x20at:\x20%s','TestLevel','XZBSr','./state/testFrameworkState','75uSjhVu','ExScB','ckCdD','18186xsmxRS','setTestDetails','.browserstack','14581EZrazr','getInstance','NTSUw','nYdvH','CnSTU','VWvHU','rmSync','name','TestHubModule','./modules/playwrightDriverModule','ccGjx','debug','hHbLa','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','./browserstackCLI','getState','dDmdK','logger','45BxuDsB','927ZXcvnF','exports','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','toObject','AjUjZ','mwcdo','TEST','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','homedir','getTestFrameworkDetail','JJFYF','CdXlO','KEY_FILE_NAME','2213898rbmYVz','gDKMR','modules','KEY_FILE_SIZE','zDmJq','rEhBL','getTestDetails','toFixed','statusCode','unlinkSync','isRunning','format','finish','QgSMy','existsSync','1064300bHFlbS','testhubConfig','File\x20downloaded\x20to:\x20%s','KiIFK','getAllData','cJzXb','statSync','KEY_TEST_ID','ZNAXR','trackFile','UOnep','QBfwi','560AyHIuL','Cleared\x20attachment\x20folder','jaafX','Attachment\x20recevied\x20for\x20path:\x20%s','./TestInfo','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','util','hOWPT','VgOPM','KEY_FILE_LEVEL','mpPpM','54572IYCOis','VNBPj','POST','__jestCurrentTestIdentifier','join','ZRuCE','HaiKh','KEY_TEST_ATTACHMENTS','getTrackedInstance','getTestFramework','./framework/constants/testFrameworkConstants','oZqId',',\x20filepath:\x20'];a89_0x3c9b=function(){return _0x58190b;};return a89_0x3c9b();}module[a89_0x35a1e0(0x23d)]=uploadAttachmentsManager;
1
+ const a89_0x31af0a=a89_0x38b9;(function(_0x287805,_0x15c068){const _0x4e715c=a89_0x38b9,_0x84f030=_0x287805();while(!![]){try{const _0x31e37b=parseInt(_0x4e715c(0x109))/0x1+-parseInt(_0x4e715c(0xf0))/0x2*(parseInt(_0x4e715c(0x115))/0x3)+parseInt(_0x4e715c(0x12f))/0x4+-parseInt(_0x4e715c(0xcd))/0x5*(-parseInt(_0x4e715c(0xd7))/0x6)+parseInt(_0x4e715c(0x128))/0x7*(-parseInt(_0x4e715c(0x13a))/0x8)+-parseInt(_0x4e715c(0xf2))/0x9+parseInt(_0x4e715c(0xf9))/0xa;if(_0x31e37b===_0x15c068)break;else _0x84f030['push'](_0x84f030['shift']());}catch(_0x42d51e){_0x84f030['push'](_0x84f030['shift']());}}}(a89_0x33a5,0xcac02));function a89_0x38b9(_0x5c757e,_0xd775fe){const _0x33a531=a89_0x33a5();return a89_0x38b9=function(_0x38b9cf,_0x3a0634){_0x38b9cf=_0x38b9cf-0xbb;let _0x80e99c=_0x33a531[_0x38b9cf];return _0x80e99c;},a89_0x38b9(_0x5c757e,_0xd775fe);}const os=require('os'),fs=require('fs'),path=require(a89_0x31af0a(0xde)),util=require('util'),BrowserstackCLI=require(a89_0x31af0a(0x140)),https=require(a89_0x31af0a(0xf5)),http=require(a89_0x31af0a(0x122)),AutomationFramework=require(a89_0x31af0a(0x13d)),PlaywrightDriverModule=require(a89_0x31af0a(0xf8)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a89_0x31af0a(0x136)),{createClassLogger}=require('../../helpers/classLogger.js');function a89_0x33a5(){const _0x5b8510=['szRac','path','getInstance','TeISJ','addMultipleEntries','testInfo','nnsYU','getTestFramework','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','modules','http://','size','eqXoO','./state/testFrameworkState','TIfpr','EYoiL','jresT','finish','createWriteStream','6gmyFwQ','getState','13755726VOaxOZ','error',',\x20filepath:\x20','https','close','basename','./modules/playwrightDriverModule','28037620JSERKf','rmSync','dnStc','Attachment\x20recevied\x20for\x20path:\x20%s','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','retry','Cleared\x20attachment\x20folder','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','xTgsb','setTestDetails','__workerDetails','existsSync','./state/hookState','debug','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','624360IccJvI','getTestFrameworkDetail','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','KEY_TEST_ID','./cliUtils','KGJcj','MCZRx','EXCLi','mkdirSync','logger','statSync','format','1274343HrSaIs','startsWith','EBdeg','KEY_FILE_SIZE','message','recursive','tfmLA','jest','fqyVI','unlinkSync','clrmm','KEY_FILE_LEVEL','homedir','http','GVOLJ','getAllData','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','TEST','irEhF','7izJLrt','zyPKT','tlcgU','TestHubModule','FuAJa','join','name','993632hVSEHc','statusCode','KEY_TEST_ATTACHMENTS','trim','force','currentTest','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','./framework/constants/testFrameworkConstants','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','QOATn','769048xOeTdj','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','buildHashedId','./framework/automationFramework','GjfYg','LHFkJ','./browserstackCLI','nuAih','testhubConfig','KEY_FILE_PATH','GWSPB','gBINu','pipe','getTestDetails','getTestIdentifierFromTestInfo','toFixed','tNhQO','exports','OSrJe','https://','eXKRH','VRZzg','TgxKu','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','copyFileSync','PkuhK','OKORY','JuWEQ','get','seTlo','930HyncdA','uploadAttachments','Created\x20.browserstack\x20folder\x20at:\x20%s','.browserstack','trackFile','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','TestLevel','File\x20downloaded\x20to:\x20%s','Created\x20folder:\x20%s','AfnYo','1704nTCKCA','nDyTG','BuildLevel','getTrackedInstance','toLowerCase','KEY_FILE_NAME'];a89_0x33a5=function(){return _0x5b8510;};return a89_0x33a5();}class uploadAttachmentsManager{static [a89_0x31af0a(0x112)]=createClassLogger('uploadAttachmentsManager');static[a89_0x31af0a(0xce)](_0x2e8f51,_0x346aa8=![]){const _0x391fc6=a89_0x31af0a,_0x3451cc={};_0x3451cc[_0x391fc6(0xc8)]=function(_0x51de3b,_0x1a78f4){return _0x51de3b/_0x1a78f4;},_0x3451cc[_0x391fc6(0xd8)]=function(_0x19df59,_0x2e4c41){return _0x19df59*_0x2e4c41;},_0x3451cc['OKORY']=function(_0x2d37f4,_0x375359){return _0x2d37f4>_0x375359;},_0x3451cc['UrFoh']=_0x391fc6(0x138),_0x3451cc[_0x391fc6(0x139)]=_0x391fc6(0xd4),_0x3451cc[_0x391fc6(0xc3)]=function(_0x3589b6,_0x41ff49){return _0x3589b6===_0x41ff49;},_0x3451cc[_0x391fc6(0x117)]=_0x391fc6(0xee),_0x3451cc[_0x391fc6(0x102)]=_0x391fc6(0xd2),_0x3451cc[_0x391fc6(0x11b)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0x3451cc[_0x391fc6(0xec)]=_0x391fc6(0xfc),_0x3451cc[_0x391fc6(0x144)]=_0x391fc6(0xd0),_0x3451cc[_0x391fc6(0xe0)]=_0x391fc6(0xfe),_0x3451cc['eqXoO']=_0x391fc6(0xcf),_0x3451cc[_0x391fc6(0xeb)]=_0x391fc6(0xd5),_0x3451cc[_0x391fc6(0x145)]=function(_0x499393,_0x57dfb0){return _0x499393===_0x57dfb0;},_0x3451cc[_0x391fc6(0x11f)]=_0x391fc6(0xc6),_0x3451cc['tNhQO']=_0x391fc6(0xc2),_0x3451cc['MCZRx']=_0x391fc6(0xe7),_0x3451cc[_0x391fc6(0x13e)]=_0x391fc6(0xf3),_0x3451cc[_0x391fc6(0xca)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x3451cc[_0x391fc6(0xc5)]=function(_0x440977,_0x1b512e){return _0x440977*_0x1b512e;},_0x3451cc['FuAJa']=function(_0xe9b185,_0x5e5b75){return _0xe9b185>_0x5e5b75;},_0x3451cc[_0x391fc6(0xfb)]=_0x391fc6(0x10b);const _0x429d5d=_0x3451cc;this[_0x391fc6(0x112)][_0x391fc6(0x107)](util[_0x391fc6(0x114)](_0x429d5d[_0x391fc6(0xec)],_0x2e8f51));const _0x3bb301=os[_0x391fc6(0x121)](),_0x5e21bb=path[_0x391fc6(0x12d)](_0x3bb301,_0x429d5d[_0x391fc6(0x144)]);!fs['existsSync'](_0x5e21bb)&&(this['logger']['debug'](util['format'](_0x429d5d[_0x391fc6(0xe0)],_0x5e21bb)),fs[_0x391fc6(0x111)](_0x5e21bb),this['logger'][_0x391fc6(0x107)](util[_0x391fc6(0x114)](_0x429d5d[_0x391fc6(0xe9)],_0x5e21bb)));const _0x5a3ace=BrowserstackCLI[_0x391fc6(0xdf)]()[_0x391fc6(0xe6)][_0x391fc6(0x12b)]?.[_0x391fc6(0x142)]?.['toObject']()?.[_0x391fc6(0x13c)],_0xe822a1=path['join'](_0x5e21bb,_0x5a3ace);!fs[_0x391fc6(0x105)](_0xe822a1)&&(fs[_0x391fc6(0x111)](_0xe822a1),this[_0x391fc6(0x112)][_0x391fc6(0x107)](util[_0x391fc6(0x114)](_0x429d5d[_0x391fc6(0xeb)],_0xe822a1)));if(_0x429d5d[_0x391fc6(0x145)](_0x2e8f51[_0x391fc6(0x132)](),'')){this[_0x391fc6(0x112)][_0x391fc6(0x107)](util[_0x391fc6(0x114)](_0x429d5d[_0x391fc6(0x11f)]));return;}if(_0x2e8f51['startsWith'](_0x429d5d['tNhQO'])||_0x2e8f51[_0x391fc6(0x116)](_0x429d5d[_0x391fc6(0x10f)])){const _0x49e278=_0x2e8f51[_0x391fc6(0x116)](_0x429d5d[_0x391fc6(0xbf)])?https:http,_0x26bc44=path[_0x391fc6(0xf7)](_0x2e8f51),_0x2c133f=path[_0x391fc6(0x12d)](_0xe822a1,_0x26bc44),_0xeb060b=fs[_0x391fc6(0xef)](_0x2c133f);_0x49e278['get'](_0x2e8f51,_0x249aa8=>{const _0x5df82c=_0x391fc6;if(_0x429d5d[_0x5df82c(0xc3)](_0x249aa8[_0x5df82c(0x130)],0xc8))_0x249aa8[_0x5df82c(0xbb)](_0xeb060b),_0xeb060b['on'](_0x429d5d['EBdeg'],()=>{const _0x173a14=_0x5df82c;_0xeb060b[_0x173a14(0xf6)]();const _0x14e672=fs[_0x173a14(0x113)](_0x2c133f),_0x54d761=_0x429d5d[_0x173a14(0xc8)](_0x14e672[_0x173a14(0xe8)],_0x429d5d['nDyTG'](0x400,0x400));if(_0x429d5d[_0x173a14(0xc9)](_0x54d761,0x64)){this[_0x173a14(0x112)][_0x173a14(0x107)](util['format'](_0x429d5d['UrFoh'],_0x54d761[_0x173a14(0xbe)](0x2))),fs['unlinkSync'](_0x2c133f);return;}this['logger'][_0x173a14(0x107)](util[_0x173a14(0x114)](_0x429d5d[_0x173a14(0x139)],_0x2c133f)),uploadAttachmentsManager[_0x173a14(0xd1)](_0x2c133f,_0x346aa8);});else{this[_0x5df82c(0x112)][_0x5df82c(0x107)](util[_0x5df82c(0x114)](_0x429d5d['xTgsb'],_0x249aa8[_0x5df82c(0x130)])),_0xeb060b[_0x5df82c(0xf6)](),fs[_0x5df82c(0x11e)](_0x2c133f);return;}})['on'](_0x429d5d['GjfYg'],_0x4cd3f5=>{const _0x4c7f2f=_0x391fc6;this['logger'][_0x4c7f2f(0x107)](util[_0x4c7f2f(0x114)](_0x429d5d['tfmLA'],_0x4cd3f5[_0x4c7f2f(0x119)])),_0xeb060b[_0x4c7f2f(0xf6)](),fs[_0x4c7f2f(0x11e)](_0x2c133f);return;});}else{if(!fs[_0x391fc6(0x105)](_0x2e8f51)){this['logger'][_0x391fc6(0x107)](util[_0x391fc6(0x114)](_0x429d5d[_0x391fc6(0xca)],_0x2e8f51));return;}const _0x19e03c=fs[_0x391fc6(0x113)](_0x2e8f51),_0x4f3e05=_0x429d5d['PkuhK'](_0x19e03c['size'],_0x429d5d[_0x391fc6(0xc5)](0x400,0x400));if(_0x429d5d[_0x391fc6(0x12c)](_0x4f3e05,0x64)){this['logger'][_0x391fc6(0x107)](util[_0x391fc6(0x114)](_0x429d5d[_0x391fc6(0xfb)],_0x4f3e05['toFixed'](0x2)));return;}const _0x1e9026=path[_0x391fc6(0xf7)](_0x2e8f51),_0x568322=path[_0x391fc6(0x12d)](_0xe822a1,_0x1e9026);fs[_0x391fc6(0xc7)](_0x2e8f51,_0x568322),uploadAttachmentsManager[_0x391fc6(0xd1)](_0x568322,_0x346aa8);}}static[a89_0x31af0a(0xd1)](_0x7465bb,_0x5d9cd2){const _0x338a4d=a89_0x31af0a,_0x2ded92={'EXCLi':function(_0x148003,_0x47bb9c){return _0x148003(_0x47bb9c);},'OSrJe':_0x338a4d(0x140),'zyPKT':function(_0xc6887,_0x99dede){return _0xc6887(_0x99dede);},'jGuRM':_0x338a4d(0x10d),'AfnYo':function(_0x1e68c9,_0x537f22){return _0x1e68c9===_0x537f22;},'nuAih':_0x338a4d(0x11c),'tlcgU':_0x338a4d(0x135),'VRZzg':_0x338a4d(0xd9),'seTlo':_0x338a4d(0xd3),'fqyVI':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','GVOLJ':_0x338a4d(0xea),'UyleN':_0x338a4d(0x106),'LHFkJ':_0x338a4d(0xe5),'irEhF':_0x338a4d(0x13b),'KGJcj':_0x338a4d(0x137)};try{let _0x274f82;const _0x37d0bb=global[_0x338a4d(0x104)]?.[_0x338a4d(0x134)]?.[_0x338a4d(0xe2)],_0x2286e3=_0x2ded92[_0x338a4d(0x110)](require,_0x2ded92[_0x338a4d(0xc1)]),_0xd8d870=_0x2ded92[_0x338a4d(0x129)](require,_0x2ded92['jGuRM']),_0x204b3f=_0x2286e3[_0x338a4d(0xdf)]()['isRunning']()&&_0x2ded92[_0x338a4d(0xd6)](_0xd8d870[_0x338a4d(0x10a)]()?.[_0x338a4d(0x12e)]?.[_0x338a4d(0xdb)](),_0x2ded92[_0x338a4d(0x141)]);if(_0x204b3f){_0x274f82=global['__jestCurrentTestIdentifier'];if(!_0x274f82){const _0x426d99=AutomationFramework[_0x338a4d(0xda)]();_0x274f82=AutomationFramework[_0x338a4d(0xf1)](_0x426d99,PlaywrightDriverModule[_0x338a4d(0x10c)],'');}this[_0x338a4d(0x112)][_0x338a4d(0x107)](_0x338a4d(0x108)+_0x274f82);}else{if(!_0x37d0bb){const _0x35f7af=AutomationFramework[_0x338a4d(0xda)]();_0x274f82=AutomationFramework['getState'](_0x35f7af,PlaywrightDriverModule[_0x338a4d(0x10c)],'');}else _0x274f82=TestInfo[_0x338a4d(0xbd)](_0x37d0bb,_0x37d0bb[_0x338a4d(0xff)]);this[_0x338a4d(0x112)][_0x338a4d(0x107)](_0x338a4d(0xfd)+_0x274f82);}if(!_0x274f82){this[_0x338a4d(0x112)][_0x338a4d(0x107)](_0x2ded92[_0x338a4d(0x12a)]);return;}const _0x21b4ac={[TestFrameworkConstants[_0x338a4d(0x118)]]:fs[_0x338a4d(0x113)](_0x7465bb)['size'],[TestFrameworkConstants[_0x338a4d(0xdc)]]:path[_0x338a4d(0xf7)](_0x7465bb),[TestFrameworkConstants[_0x338a4d(0x143)]]:_0x7465bb,[TestFrameworkConstants[_0x338a4d(0x120)]]:_0x5d9cd2?_0x2ded92[_0x338a4d(0xc4)]:_0x2ded92[_0x338a4d(0xcc)]};if(_0x204b3f){const _0x3f5687=_0x2286e3['getInstance']()[_0x338a4d(0xe4)]();if(!_0x3f5687){this[_0x338a4d(0x112)][_0x338a4d(0x107)](_0x2ded92[_0x338a4d(0x11d)]);return;}const _0x366cec=_0x2ded92[_0x338a4d(0x110)](require,_0x2ded92[_0x338a4d(0x123)]),_0xe5331c=_0x2ded92[_0x338a4d(0x129)](require,_0x2ded92['UyleN']),_0x22b29d=_0x3f5687['resolveInstance'](_0x366cec[_0x338a4d(0x126)],_0xe5331c['POST']);if(!_0x22b29d){this[_0x338a4d(0x112)]['debug'](_0x2ded92[_0x338a4d(0x13f)]);return;}const _0x5be404=_0x22b29d[_0x338a4d(0x124)]()[_0x338a4d(0xcb)](_0x274f82)||{},_0x2367f1=_0x5be404[TestFrameworkConstants[_0x338a4d(0x131)]]||{},_0x4b9db0={..._0x2367f1};_0x4b9db0[_0x7465bb]=_0x21b4ac;const _0x1ce294=_0x4b9db0,_0x4fb793={[TestFrameworkConstants[_0x338a4d(0x131)]]:_0x1ce294},_0x149d76={};_0x149d76[_0x274f82]=_0x4fb793,_0x22b29d[_0x338a4d(0xe1)](_0x149d76),this['logger']['debug']('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0x274f82+_0x338a4d(0xf4)+_0x7465bb);}else{const _0x3a08e4=TestInfo[_0x338a4d(0xbc)](_0x274f82),_0x1770fb=_0x3a08e4[TestFrameworkConstants[_0x338a4d(0x131)]]||{};_0x1770fb[_0x7465bb]=_0x21b4ac,_0x3a08e4[TestFrameworkConstants[_0x338a4d(0x131)]]=_0x1770fb,TestInfo[_0x338a4d(0x103)](_0x274f82,_0x3a08e4),this[_0x338a4d(0x112)][_0x338a4d(0x107)](_0x338a4d(0x101)+_0x274f82+_0x338a4d(0xf4)+_0x7465bb);}this[_0x338a4d(0x112)]['debug'](util['format'](_0x2ded92[_0x338a4d(0x127)],_0x7465bb));}catch(_0x4cf81e){this[_0x338a4d(0x112)][_0x338a4d(0x107)](util[_0x338a4d(0x114)](_0x2ded92[_0x338a4d(0x10e)],_0x4cf81e[_0x338a4d(0x119)]));}}static['clearAttachments'](){const _0x7f4da5=a89_0x31af0a,_0x336d76={};_0x336d76['szRac']=_0x7f4da5(0xd0),_0x336d76[_0x7f4da5(0xed)]=_0x7f4da5(0x125),_0x336d76['nnsYU']=_0x7f4da5(0x100);const _0x474af3=_0x336d76,_0x4d2ac0=os[_0x7f4da5(0x121)](),_0xe9915f=path[_0x7f4da5(0x12d)](_0x4d2ac0,_0x474af3[_0x7f4da5(0xdd)]);if(!fs[_0x7f4da5(0x105)](_0xe9915f))return;const _0x3ce0d0=BrowserstackCLI['getInstance']()['modules'][_0x7f4da5(0x12b)]?.[_0x7f4da5(0x142)]?.['toObject']()?.[_0x7f4da5(0x13c)],_0xb3ee0d=_0x3ce0d0?path[_0x7f4da5(0x12d)](_0xe9915f,_0x3ce0d0):null;if(!_0xb3ee0d||!fs[_0x7f4da5(0x105)](_0xb3ee0d)){this[_0x7f4da5(0x112)][_0x7f4da5(0x107)](util['format'](_0x474af3[_0x7f4da5(0xed)],_0x3ce0d0));return;}const _0x1e17c2={};_0x1e17c2[_0x7f4da5(0x11a)]=!![],_0x1e17c2[_0x7f4da5(0x133)]=!![],fs[_0x7f4da5(0xfa)](_0xb3ee0d,_0x1e17c2),this[_0x7f4da5(0x112)][_0x7f4da5(0x107)](util[_0x7f4da5(0x114)](_0x474af3[_0x7f4da5(0xe3)]));}}module[a89_0x31af0a(0xc0)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- function a90_0x1420(_0x438de2,_0x321cdc){const _0x5a2688=a90_0x5a26();return a90_0x1420=function(_0x14202d,_0x581ebd){_0x14202d=_0x14202d-0xcd;let _0x39f804=_0x5a2688[_0x14202d];return _0x39f804;},a90_0x1420(_0x438de2,_0x321cdc);}const a90_0x1d09ab=a90_0x1420;(function(_0x25fa8e,_0x40443f){const _0x253507=a90_0x1420,_0x5c586b=_0x25fa8e();while(!![]){try{const _0x3708f5=parseInt(_0x253507(0xcd))/0x1*(-parseInt(_0x253507(0xf9))/0x2)+-parseInt(_0x253507(0xe3))/0x3*(parseInt(_0x253507(0xd0))/0x4)+parseInt(_0x253507(0x10b))/0x5+parseInt(_0x253507(0x122))/0x6*(parseInt(_0x253507(0xe5))/0x7)+parseInt(_0x253507(0x13c))/0x8*(-parseInt(_0x253507(0xdf))/0x9)+parseInt(_0x253507(0xd6))/0xa+-parseInt(_0x253507(0x135))/0xb*(-parseInt(_0x253507(0x10c))/0xc);if(_0x3708f5===_0x40443f)break;else _0x5c586b['push'](_0x5c586b['shift']());}catch(_0xf6a999){_0x5c586b['push'](_0x5c586b['shift']());}}}(a90_0x5a26,0xc186b));const path=require(a90_0x1d09ab(0x108)),util=require(a90_0x1d09ab(0x111)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x1d09ab(0x10f)),logger=require(a90_0x1d09ab(0x109))[a90_0x1d09ab(0xce)],{o11yClassErrorHandler}=require(a90_0x1d09ab(0x14b)),TestInfo=require(a90_0x1d09ab(0x14c)),hooksMap={};class CucumberUtils{constructor(){const _0x4f8073=a90_0x1d09ab;this[_0x4f8073(0x15a)]=![],this['_gitConfigPath']=null;}async[a90_0x1d09ab(0xf7)](_0x4e047e,_0x4ef95b,_0x491bc0,_0x19e9af,_0x190110,_0x26452d){const _0x490da6=a90_0x1d09ab,_0x27dd1c={'pxZWV':function(_0x4de5ed,_0x2902de){return _0x4de5ed===_0x2902de;},'CbHHQ':_0x490da6(0x131),'nVnbg':'failed','adbkl':function(_0x5114fc,_0x5d60d6){return _0x5114fc===_0x5d60d6;},'TjLTd':_0x490da6(0x159),'XAQla':'skipped','WMQaW':function(_0x497e60,_0x11fb56){return _0x497e60||_0x11fb56;},'mgJea':function(_0x2847b0,_0x337520){return _0x2847b0+_0x337520;},'aLgxw':_0x490da6(0x150),'BUafz':'javascript','JgYDQ':_0x490da6(0x103),'muhAF':_0x490da6(0xf6),'tJMLs':_0x490da6(0x157),'lDLVu':function(_0x7ac2c1,_0x5b6678){return _0x7ac2c1!==_0x5b6678;},'ycqXR':function(_0x4ce263,_0x292558){return _0x4ce263/_0x292558;},'zjVKs':_0x490da6(0xeb),'TlyPq':function(_0x82ac2,_0x51e7d3){return _0x82ac2(_0x51e7d3);},'dYevt':_0x490da6(0x112),'BGXnM':function(_0x187748,_0x3d4f7f){return _0x187748(_0x3d4f7f);},'sdlAL':_0x490da6(0xee),'NnCry':_0x490da6(0x126)},{feature:_0xaa321f,scenario:_0xac0a8f,steps:_0x261623,uuid:_0x43fd52,startedAt:_0x37116b,finishedAt:_0x2d78fd}=_0x27dd1c[_0x490da6(0x115)](_0x4e047e,{}),_0x5a3d7e=this[_0x490da6(0x110)](_0x19e9af,_0x4ef95b);await this[_0x490da6(0x11e)]();const _0x55eadc=_0x5a3d7e?_0x27dd1c[_0x490da6(0xfd)](_0x27dd1c[_0x490da6(0xfd)](_0x27dd1c[_0x490da6(0xfd)](_0x4ef95b['name'],'\x20('),_0x5a3d7e[_0x490da6(0x147)](',\x20')),')'):_0x4ef95b[_0x490da6(0x114)],_0x116a95={'id':_0x190110,'uuid':_0x190110,'startedAt':_0x37116b,'finishedAt':_0x2d78fd,'type':_0x27dd1c[_0x490da6(0x140)],'body':{'lang':_0x27dd1c[_0x490da6(0x10d)],'code':null},'name':_0x55eadc,'scopes':[_0xaa321f&&_0xaa321f['name']?_0xaa321f[_0x490da6(0x114)]:''],'tags':_0x4ef95b[_0x490da6(0x12d)]?_0x4ef95b['tags'][_0x490da6(0x12b)](({name:_0x315252})=>_0x315252):[],'file_name':_0x4ef95b['uri'],'location':_0x4ef95b[_0x490da6(0x13f)],'vc_filepath':this['_gitConfigPath']&&_0x4ef95b[_0x490da6(0x13f)]?path[_0x490da6(0x136)](this[_0x490da6(0x123)],_0x4ef95b['uri']):null,'framework':_0x27dd1c[_0x490da6(0x100)],'result':_0x27dd1c['muhAF'],'meta':{'feature':_0xaa321f,'scenario':_0xac0a8f,'steps':_0x261623,'examples':_0x5a3d7e},'customRerunParam':{'rerun_name':_0x55eadc}};if(_0x491bc0[_0x490da6(0x125)]&&_0x261623){const _0xf73b4=_0x491bc0[_0x490da6(0x125)];let _0x1159ea=_0x27dd1c[_0x490da6(0x10a)];_0x261623[_0x490da6(0x121)](_0x3a62e2=>{const _0x36a417=_0x490da6;if(_0x27dd1c[_0x36a417(0xfb)](_0x3a62e2[_0x36a417(0xcf)],_0x27dd1c[_0x36a417(0x106)]))return _0x1159ea=_0x27dd1c[_0x36a417(0x119)],_0xf73b4[_0x36a417(0x101)]=_0x3a62e2['failure'],_0xf73b4[_0x36a417(0x12e)]=_0x3a62e2['failureType'],![];else{if(_0x27dd1c[_0x36a417(0x137)](_0x3a62e2[_0x36a417(0xcf)],_0x27dd1c['TjLTd']))return _0x1159ea=_0x27dd1c[_0x36a417(0x117)],![];}return!![];}),_0x116a95[_0x490da6(0x124)]=new Date()[_0x490da6(0x10e)](),_0x116a95[_0x490da6(0xcf)]=_0x1159ea;_0xf73b4[_0x490da6(0xe1)]&&_0x27dd1c['lDLVu'](_0xf73b4[_0x490da6(0xe1)][_0x490da6(0x13b)],undefined)?_0x116a95['duration_in_ms']=_0x27dd1c[_0x490da6(0xe9)](_0xf73b4['timestamp'][_0x490da6(0x13b)],0xf4240):_0x116a95[_0x490da6(0x145)]=undefined;if(_0x27dd1c['pxZWV'](_0x1159ea,_0x27dd1c[_0x490da6(0x119)])){const {default:_0x42bbcc}=await import(_0x27dd1c[_0x490da6(0x148)]);_0x116a95[_0x490da6(0x101)]=[{'backtrace':[_0xf73b4[_0x490da6(0x101)]?_0x27dd1c[_0x490da6(0x129)](_0x42bbcc,_0xf73b4[_0x490da6(0x101)]):_0x27dd1c[_0x490da6(0x13a)]]}],_0x116a95['failure_reason']=_0xf73b4[_0x490da6(0x101)]?_0x27dd1c[_0x490da6(0x143)](_0x42bbcc,_0xf73b4[_0x490da6(0x101)]):_0xf73b4[_0x490da6(0x151)],_0xf73b4[_0x490da6(0x12e)]&&(_0x116a95[_0x490da6(0xda)]=_0xf73b4['failureType'][_0x490da6(0xec)](/AssertError/)?_0x27dd1c['sdlAL']:_0x27dd1c[_0x490da6(0x13d)]);}}return _0x116a95;}[a90_0x1d09ab(0x11a)](_0x647f0c,_0x1dc6b3,_0x28a309,_0x3275cd,_0x40b5f3,_0x4fa39f){const _0x267c4e=a90_0x1d09ab,_0x503003={'BoNmb':function(_0x3986dc,_0x46e455){return _0x3986dc===_0x46e455;},'TKQKG':_0x267c4e(0xf0),'OOlmR':function(_0xf8ebdf,_0x2568de,_0x47cdd5){return _0xf8ebdf(_0x2568de,_0x47cdd5);},'FRswd':_0x267c4e(0x14f),'EJPUa':_0x267c4e(0x13f),'ZICWq':'pending','fKStL':_0x267c4e(0xd1),'xIBAS':'javascript','DFuok':_0x267c4e(0x149),'zPepg':_0x267c4e(0x114),'KVfyr':_0x267c4e(0x103)};try{if(_0x503003[_0x267c4e(0x152)](_0x28a309,_0x503003[_0x267c4e(0x120)])){const _0x1d2701=new Date()[_0x267c4e(0x10e)](),_0x15f111=hooksMap[_0x1dc6b3];if(!_0x15f111)return;const _0x1c0d69=_0x15f111[_0x267c4e(0xd3)](_0x11142a=>_0x11142a['uuid']===_0x3275cd['id']);if(!_0x1c0d69)return;const _0xdf842d=this[_0x267c4e(0xd5)](_0x647f0c,_0x1dc6b3);_0x1c0d69[_0x267c4e(0xcf)]=_0xdf842d[_0x267c4e(0xd7)],_0x1c0d69['finished_at']=_0x1d2701,_0x1c0d69[_0x267c4e(0xda)]=_0xdf842d['failureType'];const _0x23cf01={};return _0x23cf01[_0x267c4e(0xd2)]=_0xdf842d['failureData'],_0x1c0d69[_0x267c4e(0x14a)]=[_0x23cf01],_0x1c0d69;}const _0x78a7a7=TestInfo[_0x267c4e(0xe2)](_0x1dc6b3),_0x426230=_0x647f0c[_0x267c4e(0xf1)][_0x267c4e(0xd3)](_0x443da8=>_0x443da8['id']===_0x3275cd[_0x267c4e(0x14e)]),_0x31a043=_0x503003[_0x267c4e(0xfc)](nestedKeyValue,_0x426230,[_0x503003[_0x267c4e(0xea)],_0x503003['EJPUa']]),_0x43310f=new Date()[_0x267c4e(0x10e)](),_0x52a93e=_0x503003[_0x267c4e(0x139)],_0x5aed8f=_0x426230[_0x267c4e(0xf8)]?_0x426230[_0x267c4e(0xf8)][_0x267c4e(0x141)]('\x20')[_0x267c4e(0x132)](_0x58d653=>_0x58d653[_0x267c4e(0xdd)]('@')):[],_0x3f13d6={'uuid':_0x3275cd['id'],'type':_0x503003[_0x267c4e(0xe0)],'hook_type':_0x4fa39f,'name':_0x426230[_0x267c4e(0x114)],'body':{'lang':_0x503003['xIBAS'],'code':null},'tags':_0x5aed8f,'test_run_id':_0x78a7a7,'scope':_0x503003[_0x267c4e(0xfc)](nestedKeyValue,_0x40b5f3,[_0x503003['DFuok'],_0x503003['zPepg']]),'scopes':[_0x503003[_0x267c4e(0xfc)](nestedKeyValue,_0x40b5f3,[_0x503003[_0x267c4e(0xfa)],_0x503003[_0x267c4e(0xe7)]])||''],'file_name':_0x31a043,'location':_0x31a043,'vc_filepath':this['_gitConfigPath']?path[_0x267c4e(0x136)](this[_0x267c4e(0x123)],_0x31a043):null,'result':_0x52a93e,'started_at':_0x43310f,'framework':_0x503003['KVfyr']};return _0x3f13d6;}catch(_0x49213d){logger[_0x267c4e(0xd8)](_0x267c4e(0xe6)+util[_0x267c4e(0xd4)](_0x49213d)+'\x20');}}async['createHookData'](_0x380916,_0x4a0536,_0x18bb11,_0x18fa63,_0x15f781,_0x1f5593){const _0x56fb46=a90_0x1d09ab,_0xa96929={'KfQZD':function(_0x4f475b,_0x2805a1){return _0x4f475b===_0x2805a1;},'BvHWT':'HookRunStarted','inJHz':function(_0x3ab3ec,_0x5ae28d,_0x37c322){return _0x3ab3ec(_0x5ae28d,_0x37c322);},'tehbX':_0x56fb46(0x14f),'VkauH':_0x56fb46(0x13f),'nnUBW':_0x56fb46(0x11b),'JgVqP':_0x56fb46(0x146)};try{const _0x5429a4=_0x18fa63[_0x56fb46(0xd3)](_0x22e60c=>_0x22e60c['id']===_0x15f781);if(!_0x5429a4[_0x56fb46(0x14e)])return;const _0x234be7=this[_0x56fb46(0x134)](_0x18fa63,_0x5429a4),_0x493565=this['getHookRunEventData'](_0x380916,_0x4a0536,_0x18bb11,_0x5429a4,_0x1f5593,_0x234be7);if(!_0x493565)return;_0xa96929['KfQZD'](_0x18bb11,_0xa96929[_0x56fb46(0x158)])&&(hooksMap[_0x4a0536]?hooksMap[_0x4a0536][_0x56fb46(0xdb)](_0x493565):hooksMap[_0x4a0536]=[_0x493565]);const _0x515470=_0x380916[_0x56fb46(0xf1)][_0x56fb46(0xd3)](_0x46e489=>_0x46e489['id']===_0x5429a4[_0x56fb46(0x14e)]),_0x275a97=_0xa96929['inJHz'](nestedKeyValue,_0x515470,[_0xa96929[_0x56fb46(0x12c)],_0xa96929[_0x56fb46(0xff)]]);if(!_0x275a97)return;else{if(_0x275a97[_0x56fb46(0xdd)](_0xa96929[_0x56fb46(0x154)]))return;}if(_0xa96929[_0x56fb46(0x142)](_0x493565['name'],_0xa96929['JgVqP']))return;return _0x493565;}catch(_0x414c8d){logger[_0x56fb46(0xd8)](_0x56fb46(0xdc)+util[_0x56fb46(0xd4)](_0x414c8d)+'\x20');}}[a90_0x1d09ab(0xd5)](_0x13aaf1,_0x84895f){const _0x1eafdd=a90_0x1d09ab,_0x123069={};_0x123069['YqmGW']=function(_0x508160,_0x325a53){return _0x508160===_0x325a53;},_0x123069[_0x1eafdd(0x155)]=_0x1eafdd(0x133),_0x123069[_0x1eafdd(0x15b)]=function(_0x592c7c,_0x4c8da9){return _0x592c7c===_0x4c8da9;},_0x123069[_0x1eafdd(0x13e)]=_0x1eafdd(0x126),_0x123069[_0x1eafdd(0x104)]='AssertionError',_0x123069[_0x1eafdd(0x130)]=function(_0x2a8bb5,_0x176f88){return _0x2a8bb5||_0x176f88;};const _0x33b32a=_0x123069,_0x25e51c=_0x13aaf1['testStepFinished'][_0x84895f][_0x1eafdd(0x128)];let _0x2300c9,_0x1c07ae;return _0x25e51c&&_0x33b32a[_0x1eafdd(0x105)](_0x25e51c[_0x1eafdd(0xd7)][_0x1eafdd(0x102)]()['toLowerCase'](),_0x33b32a[_0x1eafdd(0x155)])&&(_0x2300c9=_0x33b32a[_0x1eafdd(0x105)](_0x25e51c[_0x1eafdd(0x107)],undefined)?_0x25e51c[_0x1eafdd(0x151)]:_0x25e51c[_0x1eafdd(0x107)]['message'],_0x1c07ae=_0x33b32a[_0x1eafdd(0x15b)](_0x25e51c[_0x1eafdd(0x107)],undefined)?_0x33b32a[_0x1eafdd(0x13e)]:_0x25e51c[_0x1eafdd(0x151)][_0x1eafdd(0xec)](/Assert/)?_0x33b32a['cjqNQ']:_0x33b32a[_0x1eafdd(0x13e)]),{'status':_0x25e51c['status'][_0x1eafdd(0x12f)](),'failureType':_0x33b32a[_0x1eafdd(0x130)](_0x1c07ae,null),'failureData':!_0x2300c9?null:[_0x2300c9]};}[a90_0x1d09ab(0x134)](_0x579f95,_0x33ee64){const _0x41243e=a90_0x1d09ab,_0x1e0456={};_0x1e0456[_0x41243e(0xf5)]=function(_0x30701f,_0x4bfb52){return _0x30701f===_0x4bfb52;},_0x1e0456[_0x41243e(0x156)]='AFTER_EACH',_0x1e0456[_0x41243e(0xf3)]=_0x41243e(0x153);const _0x21d421=_0x1e0456;let _0x5b8ba3=![];for(const _0x47b5de of _0x579f95){_0x47b5de[_0x41243e(0xde)]&&(_0x5b8ba3=!![]);if(_0x21d421['aGJBp'](_0x33ee64['id'],_0x47b5de['id']))return _0x5b8ba3?_0x21d421['JfNyK']:_0x21d421[_0x41243e(0xf3)];}}[a90_0x1d09ab(0x110)]=(_0x1dc66b,_0x3e2810)=>{const _0x28987f=a90_0x1d09ab,_0x21ec02={};_0x21ec02[_0x28987f(0x11f)]=function(_0x41931d,_0xd2544){return _0x41931d===_0xd2544;},_0x21ec02[_0x28987f(0x118)]=function(_0x28d30e,_0x50c9f1){return _0x28d30e===_0x50c9f1;},_0x21ec02[_0x28987f(0xed)]=function(_0xe062da,_0x21a598){return _0xe062da>_0x21a598;};const _0x8d8356=_0x21ec02;if(!(_0x3e2810[_0x28987f(0x11d)]&&_0x8d8356[_0x28987f(0xed)](_0x3e2810[_0x28987f(0x11d)][_0x28987f(0x14d)],0x1)))return;const _0x5e873b=_0x3e2810['astNodeIds'][0x0],_0x7d74d4=_0x3e2810['astNodeIds'][0x1],_0x5ab5fb=_0x1dc66b['feature']&&_0x1dc66b[_0x28987f(0x149)][_0x28987f(0xfe)]?_0x1dc66b['feature']['children']:undefined;let _0x21dc70=[];_0x5ab5fb&&_0x5ab5fb[_0x28987f(0xd9)](_0x48786a=>{const _0x1b1d5f=_0x28987f,_0x24bde0={'YhZKL':function(_0x33a530,_0x3e8fd5){return _0x8d8356['CkpkN'](_0x33a530,_0x3e8fd5);}};if(_0x48786a[_0x1b1d5f(0x138)])_0x48786a[_0x1b1d5f(0x138)][_0x1b1d5f(0xfe)][_0x1b1d5f(0xd9)](_0x230093=>{const _0x41f866=_0x1b1d5f;if(_0x230093[_0x41f866(0xf2)]&&_0x24bde0['YhZKL'](_0x230093[_0x41f866(0xf2)]['id'],_0x5e873b)&&_0x230093[_0x41f866(0xf2)][_0x41f866(0x11c)]){const _0x203136=_0x230093[_0x41f866(0xf2)][_0x41f866(0x11c)][_0x41f866(0xe8)](_0x175e35=>_0x175e35[_0x41f866(0xef)])['find'](_0x55e051=>_0x55e051['id']===_0x7d74d4);let _0x1ca4a3;_0x203136&&_0x203136[_0x41f866(0x113)]?_0x1ca4a3=_0x203136['cells']['map'](_0x8470d8=>_0x8470d8[_0x41f866(0x12a)]):_0x1ca4a3=[],_0x1ca4a3&&(_0x21dc70=_0x1ca4a3);}});else{if(_0x48786a[_0x1b1d5f(0xf2)]&&_0x8d8356[_0x1b1d5f(0x118)](_0x48786a[_0x1b1d5f(0xf2)]['id'],_0x5e873b)&&_0x48786a[_0x1b1d5f(0xf2)][_0x1b1d5f(0x11c)]){const _0x38d2b7=_0x48786a[_0x1b1d5f(0xf2)]['examples']['flatMap'](_0x57664c=>_0x57664c[_0x1b1d5f(0xef)])['find'](_0x3cb031=>_0x3cb031['id']===_0x7d74d4);let _0xc3e5dd;_0x38d2b7&&_0x38d2b7[_0x1b1d5f(0x113)]?_0xc3e5dd=_0x38d2b7[_0x1b1d5f(0x113)][_0x1b1d5f(0x12b)](_0x5c6f54=>_0x5c6f54[_0x1b1d5f(0x12a)]):_0xc3e5dd=[],_0xc3e5dd&&(_0x21dc70=_0xc3e5dd);}}});if(_0x21dc70[_0x28987f(0x14d)])return _0x21dc70;return;};async[a90_0x1d09ab(0x11e)](){const _0x211f1a=a90_0x1d09ab,_0x5f5dc2={'fxaKW':function(_0x1eeeca){return _0x1eeeca();}};if(this[_0x211f1a(0x15a)])return this[_0x211f1a(0x123)];const _0xce993a=await _0x5f5dc2[_0x211f1a(0x127)](getGitMetaData);_0xce993a&&(this['_gitConfigPath']=_0xce993a[_0x211f1a(0x144)]),this[_0x211f1a(0x15a)]=!![];}}module[a90_0x1d09ab(0xe4)]=o11yClassErrorHandler(CucumberUtils,[a90_0x1d09ab(0x11e),a90_0x1d09ab(0x110),a90_0x1d09ab(0x134),a90_0x1d09ab(0xd5),a90_0x1d09ab(0x116),a90_0x1d09ab(0x11a),a90_0x1d09ab(0xf4),'createTestFrameworkData']);function a90_0x5a26(){const _0x50fbc5=['test','message','BoNmb','BEFORE_EACH','nnUBW','GYGsE','JfNyK','passed','BvHWT','SKIPPED','_gitConfigured','EjDnm','12973IDYhmU','winstonLogger','result','30268lNHETr','hook','backtrace','find','format','getHookResult','9106410UlqKty','status','debug','forEach','failure_type','push','Exception\x20in\x20createHookData:\x20','includes','pickleStepId','63189QQobFu','fKStL','timestamp','getTestUUID','504JnktRa','exports','28sXKOSM','Exception\x20in\x20getHookRunEventData:\x20','zPepg','flatMap','ycqXR','FRswd','strip-ansi','match','QVuCb','AssertionError','tableBody','HookRunFinished','hooks','scenario','DOBjr','sendTestRunEventForCucumber','aGJBp','pending','createTestFrameworkData','tagExpression','90EfvBwF','DFuok','pxZWV','OOlmR','mgJea','children','VkauH','JgYDQ','failure','toString','cucumber','cjqNQ','YqmGW','CbHHQ','exception','path','../../../helpers/logger.js','tJMLs','4525070SZgERR','24StSTjm','BUafz','toISOString','../../../helpers/helper.js','getScenarioExamples','util','unknown','cells','name','WMQaW','sendHook','XAQla','VNMqI','nVnbg','getHookRunEventData','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','examples','astNodeIds','configureGit','CkpkN','TKQKG','every','981408xFWOWu','_gitConfigPath','finishedAt','testCaseFinished','UnhandledError','fxaKW','testStepResult','TlyPq','value','map','tehbX','tags','failureType','toLowerCase','MzqIu','FAILED','filter','failed','getCucumberHookType','6577131XGCQXW','relative','adbkl','rule','ZICWq','dYevt','nanos','1160ndQBDk','NnCry','LZxIu','uri','aLgxw','split','KfQZD','BGXnM','root','duration_in_ms','bstack','join','zjVKs','feature','failure_data','../../../helpers/test-observability/error-handler.js','../TestInfo.js','length','hookId','sourceReference'];a90_0x5a26=function(){return _0x50fbc5;};return a90_0x5a26();}
1
+ function a90_0x4969(){const _0x5e8988=['AFTER_EACH','SKIPPED','dydQD','test','testCaseFinished','GFRCq','debug','hooks','6DvWMQd','bstack','MjUOk','nanos','sKknN','forEach','2541728VpLAyK','NGWsl','finished_at','winstonLogger','_gitConfigPath','tableBody','KFBcp','fRycq','format','JGjdP','examples','util','scenario','../../../helpers/helper.js','exports','javascript','includes','../TestInfo.js','sendTestRunEventForCucumber','dzysF','ZPXoj','value','match','UIBJm','lQcEj','sourceReference','1NCbzaO','2521690EnpPYs','YrtDy','SJNxJ','hook','HookRunFinished','ycZpG','backtrace','failure','tags','getHookRunEventData','99304EfEpfC','createTestFrameworkData','filter','enjJK','aaykB','GrlvI','getCucumberHookType','exception','UnhandledError','fLIex','SbzFq','feature','failureType','failure_type','result','Exception\x20in\x20getHookRunEventData:\x20','children','EYoLO','map','AssertionError','wJNVe','find','duration_in_ms','../../../helpers/test-observability/error-handler.js','249824HEFASd','BZZAx','QpxgO','JXmba','toISOString','qWYDj','message','Exception\x20in\x20createHookData:\x20','getScenarioExamples','kIWtw','push','createHookData','flatMap','astNodeIds','15XHjWsd','timestamp','hookId','name','uri','tagExpression','afBLp','length','onGEY','MRNOo','unknown','strip-ansi','sendHook','1273595LWTHCC','failed','MqYHV','8347207yTUIPA','status','62616Hueufg','skipped','rule','mjTcY','_gitConfigured','zxjog','vusom','243cZJAmQ','split','cucumber','toLowerCase','WNGhQ','pGUGg','pending','bqztd','../../../helpers/logger.js','rhebo','cells','failure_reason','configureGit','failure_data','okPfe','testStepFinished','DaGaG','HookRunStarted','HicHV','join','passed','getHookResult','eLvVd','relative'];a90_0x4969=function(){return _0x5e8988;};return a90_0x4969();}const a90_0x3b9e22=a90_0x108a;(function(_0xd55faa,_0xa9bd32){const _0x5229bc=a90_0x108a,_0x1cbb9f=_0xd55faa();while(!![]){try{const _0x214d0b=-parseInt(_0x5229bc(0x141))/0x1*(parseInt(_0x5229bc(0x164))/0x2)+-parseInt(_0x5229bc(0x172))/0x3*(parseInt(_0x5229bc(0x184))/0x4)+-parseInt(_0x5229bc(0x17f))/0x5*(-parseInt(_0x5229bc(0x121))/0x6)+parseInt(_0x5229bc(0x127))/0x7+-parseInt(_0x5229bc(0x14c))/0x8*(-parseInt(_0x5229bc(0x18b))/0x9)+parseInt(_0x5229bc(0x142))/0xa+-parseInt(_0x5229bc(0x182))/0xb;if(_0x214d0b===_0xa9bd32)break;else _0x1cbb9f['push'](_0x1cbb9f['shift']());}catch(_0x512142){_0x1cbb9f['push'](_0x1cbb9f['shift']());}}}(a90_0x4969,0x3b5b4));const path=require('path'),util=require(a90_0x3b9e22(0x132)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x3b9e22(0x134)),logger=require(a90_0x3b9e22(0x193))[a90_0x3b9e22(0x12a)],{o11yClassErrorHandler}=require(a90_0x3b9e22(0x163)),TestInfo=require(a90_0x3b9e22(0x138)),hooksMap={};class CucumberUtils{constructor(){this['_gitConfigured']=![],this['_gitConfigPath']=null;}async[a90_0x3b9e22(0x14d)](_0x1c7800,_0x46a2eb,_0x5791ec,_0x4df5f4,_0x68175e,_0x299460){const _0x19fa5b=a90_0x3b9e22,_0x4f2186={'FAjMe':function(_0x1cc74f,_0x39ae48){return _0x1cc74f===_0x39ae48;},'bzlpE':'FAILED','DaGaG':_0x19fa5b(0x180),'SbzFq':function(_0x3daf8c,_0x4d9dfb){return _0x3daf8c===_0x4d9dfb;},'YrtDy':_0x19fa5b(0x11a),'OaIvz':_0x19fa5b(0x185),'afBLp':function(_0xc1c32c,_0x2a2baf){return _0xc1c32c||_0x2a2baf;},'MRNOo':function(_0xc09973,_0x918aea){return _0xc09973+_0x918aea;},'sKknN':_0x19fa5b(0x11c),'lQcEj':_0x19fa5b(0x136),'eLvVd':'cucumber','UIBJm':_0x19fa5b(0x191),'dzysF':_0x19fa5b(0x19f),'SRhua':function(_0x43777d,_0x12dbc8){return _0x43777d!==_0x12dbc8;},'cSLTN':function(_0x376675,_0x46be83){return _0x376675/_0x46be83;},'aaykB':_0x19fa5b(0x17d),'GFRCq':function(_0x4606c5,_0x4257ee){return _0x4606c5(_0x4257ee);},'MjUOk':_0x19fa5b(0x17c),'SJNxJ':_0x19fa5b(0x15f),'vhiuu':_0x19fa5b(0x154)},{feature:_0x2977ca,scenario:_0x1c7b78,steps:_0x1aa02c,uuid:_0x33a25a,startedAt:_0x42f5cd,finishedAt:_0x4a1696}=_0x4f2186[_0x19fa5b(0x178)](_0x1c7800,{}),_0x189e61=this[_0x19fa5b(0x16c)](_0x4df5f4,_0x46a2eb);await this[_0x19fa5b(0x197)]();const _0x1e5220=_0x189e61?_0x4f2186[_0x19fa5b(0x17b)](_0x4f2186['MRNOo'](_0x4f2186[_0x19fa5b(0x17b)](_0x46a2eb['name'],'\x20('),_0x189e61[_0x19fa5b(0x19e)](',\x20')),')'):_0x46a2eb['name'],_0x2f34f6={'id':_0x68175e,'uuid':_0x68175e,'startedAt':_0x42f5cd,'finishedAt':_0x4a1696,'type':_0x4f2186[_0x19fa5b(0x125)],'body':{'lang':_0x4f2186[_0x19fa5b(0x13f)],'code':null},'name':_0x1e5220,'scopes':[_0x2977ca&&_0x2977ca['name']?_0x2977ca[_0x19fa5b(0x175)]:''],'tags':_0x46a2eb[_0x19fa5b(0x14a)]?_0x46a2eb[_0x19fa5b(0x14a)]['map'](({name:_0x15b660})=>_0x15b660):[],'file_name':_0x46a2eb[_0x19fa5b(0x176)],'location':_0x46a2eb[_0x19fa5b(0x176)],'vc_filepath':this[_0x19fa5b(0x12b)]&&_0x46a2eb['uri']?path[_0x19fa5b(0x118)](this[_0x19fa5b(0x12b)],_0x46a2eb[_0x19fa5b(0x176)]):null,'framework':_0x4f2186[_0x19fa5b(0x1a1)],'result':_0x4f2186[_0x19fa5b(0x13e)],'meta':{'feature':_0x2977ca,'scenario':_0x1c7b78,'steps':_0x1aa02c,'examples':_0x189e61},'customRerunParam':{'rerun_name':_0x1e5220}};if(_0x5791ec[_0x19fa5b(0x11d)]&&_0x1aa02c){const _0x41f91a=_0x5791ec[_0x19fa5b(0x11d)];let _0x32e5c7=_0x4f2186[_0x19fa5b(0x13a)];_0x1aa02c['every'](_0x5130f0=>{const _0x71103a=_0x19fa5b;if(_0x4f2186['FAjMe'](_0x5130f0[_0x71103a(0x15a)],_0x4f2186['bzlpE']))return _0x32e5c7=_0x4f2186[_0x71103a(0x19b)],_0x41f91a['failure']=_0x5130f0[_0x71103a(0x149)],_0x41f91a[_0x71103a(0x158)]=_0x5130f0[_0x71103a(0x158)],![];else{if(_0x4f2186['SbzFq'](_0x5130f0[_0x71103a(0x15a)],_0x4f2186[_0x71103a(0x143)]))return _0x32e5c7=_0x4f2186['OaIvz'],![];}return!![];}),_0x2f34f6['finishedAt']=new Date()[_0x19fa5b(0x168)](),_0x2f34f6[_0x19fa5b(0x15a)]=_0x32e5c7;_0x41f91a[_0x19fa5b(0x173)]&&_0x4f2186['SRhua'](_0x41f91a[_0x19fa5b(0x173)][_0x19fa5b(0x124)],undefined)?_0x2f34f6['duration_in_ms']=_0x4f2186['cSLTN'](_0x41f91a['timestamp'][_0x19fa5b(0x124)],0xf4240):_0x2f34f6[_0x19fa5b(0x162)]=undefined;if(_0x4f2186[_0x19fa5b(0x156)](_0x32e5c7,_0x4f2186[_0x19fa5b(0x19b)])){const {default:_0xf7ba24}=await import(_0x4f2186[_0x19fa5b(0x150)]);_0x2f34f6[_0x19fa5b(0x149)]=[{'backtrace':[_0x41f91a[_0x19fa5b(0x149)]?_0x4f2186['GFRCq'](_0xf7ba24,_0x41f91a[_0x19fa5b(0x149)]):_0x4f2186[_0x19fa5b(0x123)]]}],_0x2f34f6[_0x19fa5b(0x196)]=_0x41f91a[_0x19fa5b(0x149)]?_0x4f2186[_0x19fa5b(0x11e)](_0xf7ba24,_0x41f91a[_0x19fa5b(0x149)]):_0x41f91a[_0x19fa5b(0x16a)],_0x41f91a[_0x19fa5b(0x158)]&&(_0x2f34f6[_0x19fa5b(0x159)]=_0x41f91a['failureType'][_0x19fa5b(0x13d)](/AssertError/)?_0x4f2186[_0x19fa5b(0x144)]:_0x4f2186['vhiuu']);}}return _0x2f34f6;}['getHookRunEventData'](_0x383a6e,_0x3ef697,_0x4e0b20,_0xa2821f,_0x5b851b,_0xccaa1){const _0x12aa2d=a90_0x3b9e22,_0x424946={'EYoLO':function(_0x545166,_0x1eb98f){return _0x545166===_0x1eb98f;},'bqztd':_0x12aa2d(0x146),'vusom':function(_0x58c42d,_0x1b7b6c,_0x21a976){return _0x58c42d(_0x1b7b6c,_0x21a976);},'JXmba':_0x12aa2d(0x140),'QpxgO':_0x12aa2d(0x176),'zxjog':_0x12aa2d(0x191),'MqYHV':_0x12aa2d(0x145),'GrlvI':_0x12aa2d(0x136),'wJNVe':'feature','mjTcY':_0x12aa2d(0x175),'MxjUk':function(_0x40c15b,_0x2a8377,_0x20c909){return _0x40c15b(_0x2a8377,_0x20c909);},'onGEY':_0x12aa2d(0x18d)};try{if(_0x424946[_0x12aa2d(0x15d)](_0x4e0b20,_0x424946[_0x12aa2d(0x192)])){const _0x217032=new Date()[_0x12aa2d(0x168)](),_0x40fe25=hooksMap[_0x3ef697];if(!_0x40fe25)return;const _0x32f671=_0x40fe25[_0x12aa2d(0x161)](_0x2b2557=>_0x2b2557['uuid']===_0xa2821f['id']);if(!_0x32f671)return;const _0x5f6571=this['getHookResult'](_0x383a6e,_0x3ef697);_0x32f671[_0x12aa2d(0x15a)]=_0x5f6571[_0x12aa2d(0x183)],_0x32f671[_0x12aa2d(0x129)]=_0x217032,_0x32f671['failure_type']=_0x5f6571[_0x12aa2d(0x158)];const _0x17e17b={};return _0x17e17b[_0x12aa2d(0x148)]=_0x5f6571['failureData'],_0x32f671[_0x12aa2d(0x198)]=[_0x17e17b],_0x32f671;}const _0x5ea9c1=TestInfo['getTestUUID'](_0x3ef697),_0x2b21b6=_0x383a6e[_0x12aa2d(0x120)]['find'](_0x5cadb8=>_0x5cadb8['id']===_0xa2821f[_0x12aa2d(0x174)]),_0x2af97a=_0x424946[_0x12aa2d(0x18a)](nestedKeyValue,_0x2b21b6,[_0x424946[_0x12aa2d(0x167)],_0x424946[_0x12aa2d(0x166)]]),_0x2fa798=new Date()[_0x12aa2d(0x168)](),_0x5853ed=_0x424946[_0x12aa2d(0x189)],_0xf01412=_0x2b21b6['tagExpression']?_0x2b21b6[_0x12aa2d(0x177)][_0x12aa2d(0x18c)]('\x20')[_0x12aa2d(0x14e)](_0x2c96e4=>_0x2c96e4['includes']('@')):[],_0x5b815c={'uuid':_0xa2821f['id'],'type':_0x424946[_0x12aa2d(0x181)],'hook_type':_0xccaa1,'name':_0x2b21b6[_0x12aa2d(0x175)],'body':{'lang':_0x424946[_0x12aa2d(0x151)],'code':null},'tags':_0xf01412,'test_run_id':_0x5ea9c1,'scope':_0x424946['vusom'](nestedKeyValue,_0x5b851b,[_0x424946[_0x12aa2d(0x160)],_0x424946[_0x12aa2d(0x187)]]),'scopes':[_0x424946['MxjUk'](nestedKeyValue,_0x5b851b,[_0x424946[_0x12aa2d(0x160)],_0x424946[_0x12aa2d(0x187)]])||''],'file_name':_0x2af97a,'location':_0x2af97a,'vc_filepath':this[_0x12aa2d(0x12b)]?path[_0x12aa2d(0x118)](this[_0x12aa2d(0x12b)],_0x2af97a):null,'result':_0x5853ed,'started_at':_0x2fa798,'framework':_0x424946[_0x12aa2d(0x17a)]};return _0x5b815c;}catch(_0x29cc25){logger[_0x12aa2d(0x11f)](_0x12aa2d(0x15b)+util[_0x12aa2d(0x12f)](_0x29cc25)+'\x20');}}async[a90_0x3b9e22(0x16f)](_0xf31145,_0x48f8d9,_0x2e714e,_0x5c91ae,_0x35f312,_0x293e52){const _0x5ab3e5=a90_0x3b9e22,_0x46b7fb={'HicHV':function(_0x121334,_0xdd040b){return _0x121334===_0xdd040b;},'ZPXoj':_0x5ab3e5(0x19c),'pGUGg':function(_0x5ec41b,_0x4196b0,_0x250871){return _0x5ec41b(_0x4196b0,_0x250871);},'jmDUP':'sourceReference','XDqRO':_0x5ab3e5(0x176),'JGjdP':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','fRycq':_0x5ab3e5(0x122)};try{const _0x201933=_0x5c91ae['find'](_0x51f7ca=>_0x51f7ca['id']===_0x35f312);if(!_0x201933[_0x5ab3e5(0x174)])return;const _0x451a75=this[_0x5ab3e5(0x152)](_0x5c91ae,_0x201933),_0x577e75=this[_0x5ab3e5(0x14b)](_0xf31145,_0x48f8d9,_0x2e714e,_0x201933,_0x293e52,_0x451a75);if(!_0x577e75)return;_0x46b7fb[_0x5ab3e5(0x19d)](_0x2e714e,_0x46b7fb[_0x5ab3e5(0x13b)])&&(hooksMap[_0x48f8d9]?hooksMap[_0x48f8d9][_0x5ab3e5(0x16e)](_0x577e75):hooksMap[_0x48f8d9]=[_0x577e75]);const _0x424b23=_0xf31145[_0x5ab3e5(0x120)][_0x5ab3e5(0x161)](_0x5188e4=>_0x5188e4['id']===_0x201933['hookId']),_0x5e9252=_0x46b7fb[_0x5ab3e5(0x190)](nestedKeyValue,_0x424b23,[_0x46b7fb['jmDUP'],_0x46b7fb['XDqRO']]);if(!_0x5e9252)return;else{if(_0x5e9252[_0x5ab3e5(0x137)](_0x46b7fb[_0x5ab3e5(0x130)]))return;}if(_0x46b7fb[_0x5ab3e5(0x19d)](_0x577e75['name'],_0x46b7fb[_0x5ab3e5(0x12e)]))return;return _0x577e75;}catch(_0x512b7a){logger['debug'](_0x5ab3e5(0x16b)+util[_0x5ab3e5(0x12f)](_0x512b7a)+'\x20');}}[a90_0x3b9e22(0x1a0)](_0x5623ed,_0xc95398){const _0x589369=a90_0x3b9e22,_0x4a861b={};_0x4a861b[_0x589369(0x18f)]=function(_0x5e0145,_0x3f834a){return _0x5e0145===_0x3f834a;},_0x4a861b[_0x589369(0x169)]=_0x589369(0x180),_0x4a861b[_0x589369(0x199)]=function(_0x17eaa5,_0x58c573){return _0x17eaa5===_0x58c573;},_0x4a861b[_0x589369(0x16d)]=function(_0x45a826,_0x4d47cb){return _0x45a826===_0x4d47cb;},_0x4a861b['BZZAx']=_0x589369(0x154),_0x4a861b[_0x589369(0x147)]=_0x589369(0x15f),_0x4a861b[_0x589369(0x11b)]=function(_0x448cf2,_0x5b61d2){return _0x448cf2||_0x5b61d2;};const _0xe7cd2d=_0x4a861b,_0xb75c37=_0x5623ed[_0x589369(0x19a)][_0xc95398]['testStepResult'];let _0x3fdcee,_0x3b7402;return _0xb75c37&&_0xe7cd2d[_0x589369(0x18f)](_0xb75c37['status']['toString']()[_0x589369(0x18e)](),_0xe7cd2d[_0x589369(0x169)])&&(_0x3fdcee=_0xe7cd2d['okPfe'](_0xb75c37[_0x589369(0x153)],undefined)?_0xb75c37['message']:_0xb75c37[_0x589369(0x153)][_0x589369(0x16a)],_0x3b7402=_0xe7cd2d[_0x589369(0x16d)](_0xb75c37[_0x589369(0x153)],undefined)?_0xe7cd2d[_0x589369(0x165)]:_0xb75c37[_0x589369(0x16a)][_0x589369(0x13d)](/Assert/)?_0xe7cd2d['ycZpG']:_0xe7cd2d[_0x589369(0x165)]),{'status':_0xb75c37[_0x589369(0x183)][_0x589369(0x18e)](),'failureType':_0xe7cd2d[_0x589369(0x11b)](_0x3b7402,null),'failureData':!_0x3fdcee?null:[_0x3fdcee]};}[a90_0x3b9e22(0x152)](_0x14b9e1,_0x20d684){const _0x1e35a0=a90_0x3b9e22,_0x17e6e2={};_0x17e6e2[_0x1e35a0(0x194)]=function(_0xeb644a,_0x3de985){return _0xeb644a===_0x3de985;},_0x17e6e2[_0x1e35a0(0x155)]=_0x1e35a0(0x119),_0x17e6e2[_0x1e35a0(0x12d)]='BEFORE_EACH';const _0x26dca2=_0x17e6e2;let _0x2cc66c=![];for(const _0x1db2d4 of _0x14b9e1){_0x1db2d4['pickleStepId']&&(_0x2cc66c=!![]);if(_0x26dca2['rhebo'](_0x20d684['id'],_0x1db2d4['id']))return _0x2cc66c?_0x26dca2[_0x1e35a0(0x155)]:_0x26dca2[_0x1e35a0(0x12d)];}}[a90_0x3b9e22(0x16c)]=(_0x551359,_0x5b4246)=>{const _0x2e24c0=a90_0x3b9e22,_0x3d1d11={};_0x3d1d11[_0x2e24c0(0x128)]=function(_0x1296ec,_0x54135b){return _0x1296ec===_0x54135b;},_0x3d1d11[_0x2e24c0(0x14f)]=function(_0x35f41b,_0x2cff7e){return _0x35f41b>_0x2cff7e;};const _0x269efe=_0x3d1d11;if(!(_0x5b4246['astNodeIds']&&_0x269efe[_0x2e24c0(0x14f)](_0x5b4246[_0x2e24c0(0x171)][_0x2e24c0(0x179)],0x1)))return;const _0x1f589a=_0x5b4246[_0x2e24c0(0x171)][0x0],_0x3a335b=_0x5b4246[_0x2e24c0(0x171)][0x1],_0x58aac3=_0x551359[_0x2e24c0(0x157)]&&_0x551359[_0x2e24c0(0x157)]['children']?_0x551359[_0x2e24c0(0x157)]['children']:undefined;let _0x1ea002=[];_0x58aac3&&_0x58aac3[_0x2e24c0(0x126)](_0x5c6d71=>{const _0x189685=_0x2e24c0;if(_0x5c6d71[_0x189685(0x186)])_0x5c6d71['rule'][_0x189685(0x15c)][_0x189685(0x126)](_0x51857e=>{const _0x5168b5=_0x189685;if(_0x51857e[_0x5168b5(0x133)]&&_0x269efe[_0x5168b5(0x128)](_0x51857e[_0x5168b5(0x133)]['id'],_0x1f589a)&&_0x51857e['scenario']['examples']){const _0x190ae4=_0x51857e[_0x5168b5(0x133)][_0x5168b5(0x131)][_0x5168b5(0x170)](_0x5620ac=>_0x5620ac[_0x5168b5(0x12c)])[_0x5168b5(0x161)](_0x1901d6=>_0x1901d6['id']===_0x3a335b);let _0x26e52b;_0x190ae4&&_0x190ae4[_0x5168b5(0x195)]?_0x26e52b=_0x190ae4[_0x5168b5(0x195)][_0x5168b5(0x15e)](_0x3e711e=>_0x3e711e[_0x5168b5(0x13c)]):_0x26e52b=[],_0x26e52b&&(_0x1ea002=_0x26e52b);}});else{if(_0x5c6d71['scenario']&&_0x269efe[_0x189685(0x128)](_0x5c6d71[_0x189685(0x133)]['id'],_0x1f589a)&&_0x5c6d71[_0x189685(0x133)][_0x189685(0x131)]){const _0x288212=_0x5c6d71[_0x189685(0x133)][_0x189685(0x131)][_0x189685(0x170)](_0x444998=>_0x444998['tableBody'])[_0x189685(0x161)](_0x36cbff=>_0x36cbff['id']===_0x3a335b);let _0x227546;_0x288212&&_0x288212['cells']?_0x227546=_0x288212[_0x189685(0x195)]['map'](_0x2444d1=>_0x2444d1['value']):_0x227546=[],_0x227546&&(_0x1ea002=_0x227546);}}});if(_0x1ea002[_0x2e24c0(0x179)])return _0x1ea002;return;};async[a90_0x3b9e22(0x197)](){const _0x115fb5=a90_0x3b9e22,_0x1c9ecf={'nsQzm':function(_0x5e7c65){return _0x5e7c65();}};if(this[_0x115fb5(0x188)])return this[_0x115fb5(0x12b)];const _0x1c49ef=await _0x1c9ecf['nsQzm'](getGitMetaData);_0x1c49ef&&(this[_0x115fb5(0x12b)]=_0x1c49ef['root']),this[_0x115fb5(0x188)]=!![];}}function a90_0x108a(_0x4f22fa,_0x53c248){const _0x496907=a90_0x4969();return a90_0x108a=function(_0x108ac5,_0x18c2aa){_0x108ac5=_0x108ac5-0x118;let _0x51b996=_0x496907[_0x108ac5];return _0x51b996;},a90_0x108a(_0x4f22fa,_0x53c248);}module[a90_0x3b9e22(0x135)]=o11yClassErrorHandler(CucumberUtils,[a90_0x3b9e22(0x197),a90_0x3b9e22(0x16c),'getCucumberHookType',a90_0x3b9e22(0x1a0),a90_0x3b9e22(0x17e),'getHookRunEventData',a90_0x3b9e22(0x139),a90_0x3b9e22(0x14d)]);
@@ -1 +1 @@
1
- const a91_0x595036=a91_0x26cb;(function(_0x325736,_0x237e67){const _0x25d509=a91_0x26cb,_0x5cb238=_0x325736();while(!![]){try{const _0x4690b4=-parseInt(_0x25d509(0x254))/0x1+-parseInt(_0x25d509(0x215))/0x2*(-parseInt(_0x25d509(0x22b))/0x3)+parseInt(_0x25d509(0x25e))/0x4*(-parseInt(_0x25d509(0x285))/0x5)+parseInt(_0x25d509(0x249))/0x6+parseInt(_0x25d509(0x269))/0x7+-parseInt(_0x25d509(0x266))/0x8*(-parseInt(_0x25d509(0x1e2))/0x9)+-parseInt(_0x25d509(0x244))/0xa*(parseInt(_0x25d509(0x287))/0xb);if(_0x4690b4===_0x237e67)break;else _0x5cb238['push'](_0x5cb238['shift']());}catch(_0xce3ca4){_0x5cb238['push'](_0x5cb238['shift']());}}}(a91_0x4e89,0x3bec8));function a91_0x4e89(){const _0x5ab179=['[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','ROOT_DESCRIBE_BLOCK','testAnalyticsId','expanded','extractTestFilePath','9xegzdO','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','update','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','YDmOm','gCCJL','HFISc','toString','XZIsY','getTime','skipped','File\x20path\x20could\x20not\x20be\x20found','IoKas','../TestInfo.js','parent','TestRunSkipped','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','\x22\x20hook\x20for\x20\x22','beforeAll','MpKRO','__workerDetails','nVuEO','NEoRM','length','debug','relative','uuid','hhdND','duration','name','failure_data','pEKNW','ftvyK','BpGxK','mhspb','finishedAt','startedAt','AFTER_ALL','format','failure_backtrace','iBxSO','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','err','zVHRN','pending','getRootParentFile',',\x20testRunId:\x20','util','beforeEach','root','match','761116NcZrhx','ChjIR','VUISu','CAXGB','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','failed','createHookData','_gitConfigPath','failure_reason','AOgiS','ybdZu','file','createIdentifierFromJestTest','UKThH','iIJqA','awSLf','Unknown\x20Test','createHash','../../../helpers/test-observability/utils','WIGjG','push','jBGhc','3rbABPu','getTestIdentifier','qxKyY','asyncError','createTestFrameworkData','PbcFz','testIdentifier','recreateIdentifierFromTestInfo','riIey','clearHooksMap','HookRunFinished','failure','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','retryOf','exports','title','apply','javascript','stack-trace','xCHnR','winstonLogger','fullName','getFileName','testPath','failure_type','3052810vJMsmh','afterEach','result','aQrjP','pJXfN','1605594hfOFSk','oAoFV','_gitConfigured','split','finished_at','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','toISOString','includes','[jestUtils]\x20Created\x20identifier:\x20','getState','displayName','439689yTBJxA','type','BEFORE_EACH','createJestTestIdentifier','isJestInternalHook','aQfog','XRFCc','call','getHookRunEventData','getName','300LVWqGn','substring','expect','getHierarchy','started_at','HKOqW','test','hook','1544272qYDswT','hooks','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','2839564ISuoSP','jest-circus','inspect','[jestUtils]\x20Error\x20creating\x20identifier:\x20','passed','now','unknown','__jestCurrentTestIdentifier','configureGit','../../../helpers/helper.js','OXBUj','browserstack-node-agent/src/bin/jest','crypto','TestRunFinished','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','kjeks','errorsDetailed','FtWMO','dfNja','fPkAa','jest','xmvcX','stack','md5','reverse','Exception\x20in\x20createHookData:\x20','mfUlp','digest','17095uPXngD','WfORQ','11TXWSSk','error','currentTest','uGWds','QcUsS','TNSBC','xHcmd',':jest-','../../../helpers/test-observability/error-handler.js','hex','path','\x20from\x20compositeKey:\x20',',\x20testIdentifier:\x20','parse','cqETG','iESLZ','TPIFE','uEiXy','CTStE','nyXdD'];a91_0x4e89=function(){return _0x5ab179;};return a91_0x4e89();}function a91_0x26cb(_0x570dee,_0x2b9ed0){const _0x4e8990=a91_0x4e89();return a91_0x26cb=function(_0x26cb1d,_0x1708ae){_0x26cb1d=_0x26cb1d-0x1db;let _0x319878=_0x4e8990[_0x26cb1d];return _0x319878;},a91_0x26cb(_0x570dee,_0x2b9ed0);}const path=require(a91_0x595036(0x291)),util=require(a91_0x595036(0x211)),crypto=require(a91_0x595036(0x275)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x595036(0x272)),logger=require('../../../helpers/logger.js')[a91_0x595036(0x23f)],{o11yClassErrorHandler}=require(a91_0x595036(0x28f)),TestInfo=require(a91_0x595036(0x1ef)),{failureData,getFailureType}=require(a91_0x595036(0x227)),stackTrace=require(a91_0x595036(0x23d)),a91_0x2d744d={};a91_0x2d744d[a91_0x595036(0x1f4)]='BEFORE_ALL',a91_0x2d744d['afterAll']=a91_0x595036(0x207),a91_0x2d744d[a91_0x595036(0x212)]=a91_0x595036(0x256),a91_0x2d744d[a91_0x595036(0x245)]='AFTER_EACH';const HOOK_TYPES_MAP=a91_0x2d744d,hooksMap={};class JestUtils{constructor(){const _0x18a382=a91_0x595036;this[_0x18a382(0x24b)]=![],this[_0x18a382(0x21c)]=null;}async[a91_0x595036(0x22f)](_0x9655ac,_0x4f2ee4,_0x23690d=a91_0x595036(0x276),_0x300c48=undefined){const _0xea6bce=a91_0x595036,_0x259032={'PbcFz':_0xea6bce(0x237),'xmvcX':_0xea6bce(0x26a),'URyOn':function(_0x4d2e0b,_0x3a51ea){return _0x4d2e0b||_0x3a51ea;},'OXBUj':_0xea6bce(0x1ed),'XZIsY':function(_0x1e4883,_0x251540){return _0x1e4883!==_0x251540;},'CAXGB':_0xea6bce(0x264),'LQJxy':function(_0x294dc1,_0x30d5fb){return _0x294dc1!==_0x30d5fb;},'pJXfN':_0xea6bce(0x20c),'gCCJL':function(_0x3ce284,_0x147175){return _0x3ce284!==_0x147175;},'QBFkj':function(_0x50dcd3,_0x3d3a4e){return _0x50dcd3!==_0x3d3a4e;},'uEiXy':_0xea6bce(0x20e),'oAoFV':function(_0xf65088,_0x29d0f4){return _0xf65088===_0x29d0f4;},'pEKNW':_0xea6bce(0x1f1),'iESLZ':_0xea6bce(0x1ec),'MpKRO':function(_0x207c6f,_0x3b6949){return _0x207c6f>_0x3b6949;},'GJhbA':_0xea6bce(0x21a),'xHcmd':_0xea6bce(0x26d),'ybdZu':function(_0x5d22e9,_0x1ebaee){return _0x5d22e9!==_0x1ebaee;},'XRFCc':function(_0x4ef47e,_0xfbb480){return _0x4ef47e-_0xfbb480;},'dfNja':_0xea6bce(0x23c),'kjeks':_0xea6bce(0x27d),'iIJqA':function(_0x235513,_0x2905af){return _0x235513(_0x2905af);},'fPkAa':function(_0x57ce5a,_0x2ec606){return _0x57ce5a===_0x2ec606;},'xHXNC':function(_0x981417,_0x1174a7){return _0x981417===_0x1174a7;},'VUISu':_0xea6bce(0x276),'aQrjP':function(_0x234c29,_0x52eef3){return _0x234c29===_0x52eef3;}};logger[_0xea6bce(0x1fa)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x23690d+_0xea6bce(0x293)+_0x4f2ee4);try{if(!_0x9655ac)return logger[_0xea6bce(0x1fa)](_0x259032[_0xea6bce(0x230)]),null;if(_0x9655ac['fn']&&_0x9655ac['fn']['toString']()[_0xea6bce(0x214)](/browserstack internal helper hook/))return null;await this[_0xea6bce(0x271)]();let _0x25bcb9;try{_0x25bcb9=this[_0xea6bce(0x20f)](_0x9655ac);if(_0x25bcb9&&_0x25bcb9[_0xea6bce(0x250)](_0x259032[_0xea6bce(0x27e)]))return null;}catch(_0x3ebdef){logger[_0xea6bce(0x1fa)](_0xea6bce(0x219)+util[_0xea6bce(0x208)](_0x3ebdef)),_0x25bcb9=null;}const _0x44fd6b=this['getHierarchy'](_0x9655ac),_0x10db1f=this['getName'](_0x9655ac),_0x3415d7=_0x259032['URyOn'](_0x25bcb9,_0x259032[_0xea6bce(0x273)]);let _0x1be064=[];if(_0x259032[_0xea6bce(0x1ea)](_0x9655ac[_0xea6bce(0x279)],undefined))_0x1be064=[_0x9655ac[_0xea6bce(0x279)],_0x259032[_0xea6bce(0x218)]];else _0x259032['LQJxy'](_0x300c48,undefined)&&(_0x1be064=[_0x300c48,_0x259032[_0xea6bce(0x248)]]);const _0x41ef26=_0x259032[_0xea6bce(0x1e7)](_0x9655ac['errorsDetailed'],undefined)?util['inspect'](_0x9655ac[_0xea6bce(0x279)][0x0]):_0x259032['QBFkj'](_0x300c48,undefined)?_0x300c48[_0xea6bce(0x1e9)]():undefined;let _0x4f4e4a=_0x259032[_0xea6bce(0x298)];if(_0x259032[_0xea6bce(0x24a)](_0x23690d,_0x259032[_0xea6bce(0x201)]))_0x4f4e4a=_0x259032[_0xea6bce(0x296)];else _0x9655ac[_0xea6bce(0x279)]&&_0x259032[_0xea6bce(0x1f5)](_0x9655ac[_0xea6bce(0x279)][_0xea6bce(0x1f9)],0x0)?_0x4f4e4a=_0x259032['GJhbA']:_0x4f4e4a=_0x259032[_0xea6bce(0x28d)];let _0x117205=null;if(_0x259032[_0xea6bce(0x21f)](_0x9655ac[_0xea6bce(0x1fe)],undefined))_0x117205=_0x9655ac[_0xea6bce(0x1fe)];else(_0x23690d[_0xea6bce(0x214)](/Finished/)||_0x23690d[_0xea6bce(0x214)](/Skipped/))&&(_0x9655ac[_0xea6bce(0x262)]&&(_0x117205=_0x259032[_0xea6bce(0x25a)](Date[_0xea6bce(0x26e)](),new Date(_0x9655ac[_0xea6bce(0x262)])[_0xea6bce(0x1eb)]())));const _0x4c6451=_0x9655ac['fn']?_0x9655ac['fn'][_0xea6bce(0x1e9)]():null,_0x46c7e3={'id':_0x4f2ee4,'uuid':_0x4f2ee4,'startedAt':_0x9655ac['started_at']||new Date()[_0xea6bce(0x24f)](),'finishedAt':_0x23690d['match'](/Finished/)||_0x23690d['match'](/Skipped/)?new Date()[_0xea6bce(0x24f)]():null,'type':_0x259032[_0xea6bce(0x218)],'body':{'lang':_0x259032[_0xea6bce(0x27b)],'code':_0x4c6451},'name':_0x10db1f,'scopes':_0x44fd6b,'file_name':_0x3415d7,'location':_0x3415d7,'vc_filepath':this[_0xea6bce(0x21c)]&&_0x25bcb9?path[_0xea6bce(0x1fb)](this['_gitConfigPath'],_0x25bcb9):null,'framework':_0x259032[_0xea6bce(0x278)],'result':_0x4f4e4a,'failure_reason':_0x41ef26,'duration_in_ms':_0x117205,'failure':failureData['apply'](null,_0x1be064),'failure_type':!_0x41ef26?null:_0x259032[_0xea6bce(0x223)](getFailureType,_0x41ef26),'retry_of':_0x9655ac[_0xea6bce(0x238)]||null,'customRerunParam':{'rerun_name':_0x10db1f}};_0x259032[_0xea6bce(0x27c)](_0x23690d,_0x259032[_0xea6bce(0x201)])&&!_0x46c7e3[_0xea6bce(0x206)]&&(_0x46c7e3[_0xea6bce(0x206)]=_0x46c7e3[_0xea6bce(0x205)]);const _0x503668=_0x46c7e3[_0xea6bce(0x236)]&&_0x46c7e3[_0xea6bce(0x236)][0x0];return _0x503668&&(_0x46c7e3[_0xea6bce(0x209)]=_0x503668['backtrace'],_0x46c7e3['failure_reason_expanded']=_0x503668[_0xea6bce(0x1e0)]),(_0x259032['xHXNC'](_0x23690d,_0x259032[_0xea6bce(0x217)])||_0x259032[_0xea6bce(0x247)](_0x23690d,_0x259032[_0xea6bce(0x201)]))&&(_0x9655ac[_0xea6bce(0x267)]&&(_0x46c7e3[_0xea6bce(0x267)]=_0x9655ac[_0xea6bce(0x267)])),_0x46c7e3;}catch(_0x4c53d8){return logger['debug']('Exception\x20in\x20createTestFrameworkData:\x20'+util['format'](_0x4c53d8)),null;}}async['createHookData'](_0x363124,_0x256dce,_0x59ef82,_0x5a9aa5){const _0x51b8ad=a91_0x595036,_0x4ad534={'CTStE':_0x51b8ad(0x1f2),'BpGxK':_0x51b8ad(0x26a),'AOgiS':_0x51b8ad(0x274),'ChjIR':_0x51b8ad(0x26f),'pVzDM':_0x51b8ad(0x20e),'oaEUg':function(_0x228437,_0x5cebe8){return _0x228437===_0x5cebe8;},'mfUlp':_0x51b8ad(0x235),'nVuEO':function(_0x22c82f,_0x2447f5){return _0x22c82f>_0x2447f5;},'mhspb':'failed','jBGhc':function(_0xca9293,_0x10925d){return _0xca9293(_0x10925d);},'jffuq':'test','xCHnR':_0x51b8ad(0x26d),'mifum':_0x51b8ad(0x265),'zyOFT':_0x51b8ad(0x23c),'cqETG':_0x51b8ad(0x27d),'FtWMO':function(_0x531418,_0x2e0cbb){return _0x531418===_0x2e0cbb;},'nyXdD':'HookRunStarted'};logger[_0x51b8ad(0x1fa)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x59ef82+',\x20hookUUID:\x20'+_0x256dce+_0x51b8ad(0x210)+_0x5a9aa5);try{if(!_0x363124)return logger['debug'](_0x4ad534[_0x51b8ad(0x1db)]),null;if(this[_0x51b8ad(0x258)](_0x363124))return null;await this[_0x51b8ad(0x271)]();let _0x12c816=null;try{_0x12c816=this[_0x51b8ad(0x20f)](_0x363124);if(_0x12c816&&_0x12c816[_0x51b8ad(0x250)](_0x4ad534[_0x51b8ad(0x203)]))return null;if(_0x12c816&&_0x12c816[_0x51b8ad(0x250)](_0x4ad534[_0x51b8ad(0x21e)]))return null;}catch(_0x44fee0){logger[_0x51b8ad(0x1fa)](_0x51b8ad(0x1e3)+util['format'](_0x44fee0));}const _0x5e7bba=this[_0x51b8ad(0x25d)](_0x363124),_0x5d4d37=_0x363124[_0x51b8ad(0x255)]||_0x4ad534[_0x51b8ad(0x216)],_0xae155=HOOK_TYPES_MAP[_0x5d4d37]||_0x5d4d37['toUpperCase'](),_0x44e567=_0x363124[_0x51b8ad(0x1f0)]&&_0x363124[_0x51b8ad(0x1f0)][_0x51b8ad(0x1ff)]?_0x363124[_0x51b8ad(0x1f0)][_0x51b8ad(0x1ff)]:'';let _0xa8956a=_0x4ad534['pVzDM'],_0x3fcfca=null,_0x167844=null,_0x3bc723=null,_0x53a1d5=null;_0x4ad534['oaEUg'](_0x59ef82,_0x4ad534[_0x51b8ad(0x283)])&&(_0x53a1d5=new Date()[_0x51b8ad(0x24f)](),_0x363124['errorsDetailed']&&_0x4ad534[_0x51b8ad(0x1f7)](_0x363124[_0x51b8ad(0x279)][_0x51b8ad(0x1f9)],0x0)?(_0xa8956a=_0x4ad534[_0x51b8ad(0x204)],_0x167844=util['inspect'](_0x363124[_0x51b8ad(0x279)][0x0]),_0x3fcfca=_0x4ad534[_0x51b8ad(0x22a)](getFailureType,_0x167844),_0x3bc723=failureData[_0x51b8ad(0x23b)](null,[_0x363124['errorsDetailed'],_0x4ad534['jffuq']])):_0xa8956a=_0x4ad534[_0x51b8ad(0x23e)]);const _0xedccd6={'uuid':_0x256dce,'type':_0x4ad534['mifum'],'hook_type':_0xae155,'name':_0x5e7bba,'body':{'lang':_0x4ad534['zyOFT'],'code':_0x363124['fn']?_0x363124['fn'][_0x51b8ad(0x1e9)]():null},'tags':[],'test_run_id':_0x5a9aa5,'scope':_0x44e567,'scopes':[_0x44e567],'file_name':_0x12c816,'location':_0x12c816,'vc_filepath':this[_0x51b8ad(0x21c)]&&_0x12c816?path[_0x51b8ad(0x1fb)](this[_0x51b8ad(0x21c)],_0x12c816):null,'result':_0xa8956a,'started_at':_0x363124['started_at']||new Date()[_0x51b8ad(0x24f)](),'finished_at':_0x53a1d5,'failure_type':_0x3fcfca,'failure_reason':_0x167844,'failure_data':_0x3bc723,'framework':_0x4ad534[_0x51b8ad(0x295)]};return _0x4ad534[_0x51b8ad(0x27a)](_0x59ef82,_0x4ad534[_0x51b8ad(0x1dc)])&&(hooksMap[_0x5a9aa5]?hooksMap[_0x5a9aa5]['push'](_0xedccd6):hooksMap[_0x5a9aa5]=[_0xedccd6]),_0xedccd6;}catch(_0x2ec594){return logger['debug'](_0x51b8ad(0x282)+util['format'](_0x2ec594)),null;}}[a91_0x595036(0x25c)](_0x4c34a0,_0xe7d429,_0x420b27){const _0x8db937=a91_0x595036,_0x7e6747={'CSQcq':function(_0x4dfd32,_0x295f05){return _0x4dfd32>_0x295f05;},'WYqmy':_0x8db937(0x21a),'ftvyK':function(_0x231174,_0xd726f9){return _0x231174(_0xd726f9);},'LGfKA':_0x8db937(0x264),'IoKas':_0x8db937(0x26d)};try{const _0x4c7d35=hooksMap[_0x4c34a0];if(!_0x4c7d35)return null;const _0x378d7c=_0x4c7d35['find'](_0x43e807=>_0x43e807[_0x8db937(0x1fc)]===_0xe7d429);if(!_0x378d7c)return null;return _0x378d7c[_0x8db937(0x24d)]=new Date()[_0x8db937(0x24f)](),_0x420b27['errorsDetailed']&&_0x7e6747['CSQcq'](_0x420b27['errorsDetailed'][_0x8db937(0x1f9)],0x0)?(_0x378d7c['result']=_0x7e6747['WYqmy'],_0x378d7c[_0x8db937(0x21d)]=util[_0x8db937(0x26b)](_0x420b27['errorsDetailed'][0x0]),_0x378d7c[_0x8db937(0x243)]=_0x7e6747[_0x8db937(0x202)](getFailureType,_0x378d7c[_0x8db937(0x21d)]),_0x378d7c[_0x8db937(0x200)]=failureData[_0x8db937(0x23b)](null,[_0x420b27[_0x8db937(0x279)],_0x7e6747['LGfKA']])):_0x378d7c[_0x8db937(0x246)]=_0x7e6747[_0x8db937(0x1ee)],_0x378d7c;}catch(_0x339450){return logger[_0x8db937(0x1fa)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x8db937(0x208)](_0x339450)),null;}}[a91_0x595036(0x25d)](_0x3ce58a){const _0x561e73=a91_0x595036,_0x3cf97d={};_0x3cf97d[_0x561e73(0x224)]=function(_0x4b5c4a,_0x3b5379){return _0x4b5c4a!==_0x3b5379;},_0x3cf97d[_0x561e73(0x259)]='test',_0x3cf97d[_0x561e73(0x222)]=_0x561e73(0x225);const _0x8ed679=_0x3cf97d;if(_0x8ed679['awSLf'](_0x3ce58a[_0x561e73(0x255)],_0x8ed679[_0x561e73(0x259)]))return'\x22'+_0x3ce58a[_0x561e73(0x255)]+_0x561e73(0x1f3)+(_0x3ce58a[_0x561e73(0x1f0)]&&_0x3ce58a['parent']['name'])+'\x22';return _0x3ce58a[_0x561e73(0x1ff)]||_0x8ed679[_0x561e73(0x222)];}[a91_0x595036(0x261)](_0x1948d0){const _0x827fc0=a91_0x595036,_0x2b6283={};_0x2b6283[_0x827fc0(0x233)]=function(_0x3c2da2,_0xecfc7c){return _0x3c2da2!==_0xecfc7c;},_0x2b6283[_0x827fc0(0x28b)]=function(_0xb1e62c,_0x14d7e5){return _0xb1e62c!==_0x14d7e5;},_0x2b6283['WIGjG']=_0x827fc0(0x1de);const _0x545d8b=_0x2b6283,_0x1e8331=[];if(_0x1948d0&&_0x1948d0[_0x827fc0(0x1f0)]){let _0x11e59d=_0x1948d0[_0x827fc0(0x1f0)];while(_0x11e59d&&_0x11e59d[_0x827fc0(0x1ff)]&&_0x545d8b[_0x827fc0(0x233)](_0x11e59d[_0x827fc0(0x1ff)],'')&&_0x545d8b[_0x827fc0(0x28b)](_0x11e59d['name'],_0x545d8b[_0x827fc0(0x228)])){_0x1e8331[_0x827fc0(0x229)](_0x11e59d[_0x827fc0(0x1ff)]),_0x11e59d=_0x11e59d['parent'];}}return _0x1e8331[_0x827fc0(0x281)](),_0x1e8331;}['getRootParentFile'](_0x5ac729){const _0x23a48c=a91_0x595036;if(_0x5ac729[_0x23a48c(0x22e)])try{const _0x3539ad=stackTrace[_0x23a48c(0x294)][_0x23a48c(0x25b)](stackTrace,_0x5ac729[_0x23a48c(0x22e)]);if(_0x3539ad[0x0]&&_0x3539ad[0x0][_0x23a48c(0x241)])return _0x3539ad[0x0][_0x23a48c(0x241)]();}catch(_0x19f44c){logger[_0x23a48c(0x1fa)](_0x23a48c(0x277)+util[_0x23a48c(0x208)](_0x19f44c));}if(_0x5ac729[_0x23a48c(0x220)])return _0x5ac729[_0x23a48c(0x220)];return null;}[a91_0x595036(0x258)](_0x45a5e2){const _0x2277fe=a91_0x595036,_0x371ce7={};_0x371ce7['YDmOm']=_0x2277fe(0x26a);const _0xec284d=_0x371ce7;try{const _0x59a20c=this[_0x2277fe(0x20f)](_0x45a5e2);if(_0x59a20c&&_0x59a20c[_0x2277fe(0x250)](_0xec284d[_0x2277fe(0x1e6)]))return!![];}catch(_0x196f47){logger[_0x2277fe(0x1fa)](_0x2277fe(0x20b)+util['format'](_0x196f47));}return![];}[a91_0x595036(0x22c)](_0x12c69f=null){const _0x107c05=a91_0x595036;try{const _0x4be903=_0x12c69f||global[_0x107c05(0x1f6)]||{};if(global[_0x107c05(0x270)])return global[_0x107c05(0x270)];if(_0x4be903?.[_0x107c05(0x289)]?.[_0x107c05(0x1df)])return _0x4be903[_0x107c05(0x289)][_0x107c05(0x1df)];if(_0x4be903?.['currentTest']?.['id'])return _0x4be903[_0x107c05(0x289)]['id'];return null;}catch(_0x3a2cb2){return logger[_0x107c05(0x1fa)](_0x107c05(0x24e)+util[_0x107c05(0x208)](_0x3a2cb2)),null;}}async[a91_0x595036(0x271)](){const _0x32f241=a91_0x595036,_0x2d73da={'mGpLt':function(_0x5e0fdd){return _0x5e0fdd();}};if(this[_0x32f241(0x24b)])return this['_gitConfigPath'];const _0x508362=await _0x2d73da['mGpLt'](getGitMetaData);_0x508362&&(this[_0x32f241(0x21c)]=_0x508362[_0x32f241(0x213)]),this[_0x32f241(0x24b)]=!![];}[a91_0x595036(0x234)](_0xc037fa){hooksMap[_0xc037fa]&&delete hooksMap[_0xc037fa];}[a91_0x595036(0x1e1)](_0xd8e643){const _0x2e37ff=a91_0x595036,_0x2b7d80={'NEoRM':_0x2e37ff(0x26a),'iBxSO':function(_0x24172e,_0x387af6){return _0x24172e(_0x387af6);},'zVHRN':_0x2e37ff(0x260)};if(_0xd8e643['file'])return _0xd8e643[_0x2e37ff(0x220)];if(_0xd8e643['asyncError']){try{const _0x54d0a4=stackTrace[_0x2e37ff(0x294)](_0xd8e643[_0x2e37ff(0x22e)]);if(_0x54d0a4[0x0]&&_0x54d0a4[0x0][_0x2e37ff(0x241)]){const _0x4fe0a2=_0x54d0a4[0x0][_0x2e37ff(0x241)]();if(_0x4fe0a2&&!_0x4fe0a2[_0x2e37ff(0x250)](_0x2b7d80['NEoRM']))return _0x4fe0a2;}}catch(_0x3929e7){logger['debug'](_0x2e37ff(0x1e5)+util['format'](_0x3929e7));}if(_0xd8e643[_0x2e37ff(0x22e)][_0x2e37ff(0x27f)]){const _0x21049b=_0xd8e643['asyncError'][_0x2e37ff(0x27f)][_0x2e37ff(0x24c)]('\x0a');for(const _0x3985b9 of _0x21049b){const _0x232c6b=_0x3985b9[_0x2e37ff(0x214)](/at (.+?):\d+:\d+/);if(_0x232c6b&&_0x232c6b[0x1]&&!_0x232c6b[0x1][_0x2e37ff(0x250)](_0x2b7d80['NEoRM']))return _0x232c6b[0x1];}}}let _0x41aadd=_0xd8e643[_0x2e37ff(0x1f0)];while(_0x41aadd){if(_0x41aadd[_0x2e37ff(0x220)])return _0x41aadd[_0x2e37ff(0x220)];if(_0x41aadd[_0x2e37ff(0x22e)])try{const _0x29f7d9=stackTrace['parse'](_0x41aadd[_0x2e37ff(0x22e)]);if(_0x29f7d9[0x0]&&_0x29f7d9[0x0][_0x2e37ff(0x241)]){const _0xa3100e=_0x29f7d9[0x0][_0x2e37ff(0x241)]();if(_0xa3100e&&!_0xa3100e[_0x2e37ff(0x250)](_0x2b7d80[_0x2e37ff(0x1f8)]))return _0xa3100e;}}catch(_0x211bc2){}_0x41aadd=_0x41aadd['parent'];}try{const _0x4d9498=_0x2b7d80[_0x2e37ff(0x20a)](require,_0x2b7d80[_0x2e37ff(0x20d)]);if(_0x4d9498&&_0x4d9498['getState']){const _0xc30277=_0x4d9498[_0x2e37ff(0x252)]();if(_0xc30277&&_0xc30277[_0x2e37ff(0x242)])return _0xc30277[_0x2e37ff(0x242)];}}catch(_0x3dba10){logger[_0x2e37ff(0x1fa)](_0x2e37ff(0x268)+util[_0x2e37ff(0x208)](_0x3dba10));}return null;}['createJestTestIdentifier'](_0x88cfe){const _0x35e452=a91_0x595036,_0x356f5b={};_0x356f5b[_0x35e452(0x1e8)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x356f5b['hhdND']=function(_0x4a1663,_0x15cbad){return _0x4a1663!==_0x15cbad;},_0x356f5b[_0x35e452(0x263)]=_0x35e452(0x1de),_0x356f5b[_0x35e452(0x297)]=_0x35e452(0x26a),_0x356f5b[_0x35e452(0x286)]=_0x35e452(0x280),_0x356f5b[_0x35e452(0x28c)]=_0x35e452(0x290);const _0x41d65b=_0x356f5b;try{if(!_0x88cfe)return logger[_0x35e452(0x288)](_0x41d65b['HFISc']),null;const _0x1af3aa=_0x88cfe[_0x35e452(0x240)]||_0x88cfe[_0x35e452(0x1ff)]||_0x88cfe[_0x35e452(0x23a)]||_0x88cfe[_0x35e452(0x253)];let _0x441191=_0x1af3aa;if(_0x88cfe[_0x35e452(0x1f0)]&&_0x88cfe[_0x35e452(0x1f0)][_0x35e452(0x1ff)]&&_0x41d65b[_0x35e452(0x1fd)](_0x88cfe[_0x35e452(0x1f0)][_0x35e452(0x1ff)],_0x41d65b[_0x35e452(0x263)])){const _0xf91048=_0x88cfe['name']||_0x88cfe['title'];_0xf91048&&(_0x441191=_0x88cfe[_0x35e452(0x1f0)]['name']+'\x20'+_0xf91048);}let _0x410263=_0x88cfe[_0x35e452(0x242)];if(!_0x410263&&_0x88cfe[_0x35e452(0x22e)]){try{const _0x56cb0a=stackTrace['parse'](_0x88cfe[_0x35e452(0x22e)]);if(_0x56cb0a[0x0]&&_0x56cb0a[0x0]['getFileName']){const _0x196467=_0x56cb0a[0x0][_0x35e452(0x241)]();_0x196467&&!_0x196467[_0x35e452(0x250)](_0x41d65b[_0x35e452(0x297)])&&(_0x410263=_0x196467);}}catch(_0x547fc1){logger[_0x35e452(0x1fa)](_0x35e452(0x1e5)+util['format'](_0x547fc1));}if(!_0x410263&&_0x88cfe[_0x35e452(0x22e)][_0x35e452(0x27f)]){const _0xffb69c=_0x88cfe['asyncError']['stack'][_0x35e452(0x24c)]('\x0a');for(const _0x2ee6c7 of _0xffb69c){const _0x1fb9a5=_0x2ee6c7[_0x35e452(0x214)](/at (.+?):\d+:\d+/);if(_0x1fb9a5&&_0x1fb9a5[0x1]&&!_0x1fb9a5[0x1][_0x35e452(0x250)](_0x41d65b['TPIFE'])){_0x410263=_0x1fb9a5[0x1];break;}}}}const _0x2443ae=_0x410263+'::'+_0x441191,_0x250b1=crypto[_0x35e452(0x226)](_0x41d65b[_0x35e452(0x286)])[_0x35e452(0x1e4)](_0x2443ae)[_0x35e452(0x284)](_0x41d65b[_0x35e452(0x28c)])[_0x35e452(0x25f)](0x0,0x8),_0x3a6ee2=process['pid']+_0x35e452(0x28e)+_0x250b1;return logger['debug'](_0x35e452(0x251)+_0x3a6ee2+_0x35e452(0x292)+_0x2443ae),_0x3a6ee2;}catch(_0xc8a959){return logger[_0x35e452(0x288)](_0x35e452(0x26c)+util['format'](_0xc8a959)),null;}}[a91_0x595036(0x221)](_0x4e8555){const _0x48029a=a91_0x595036,_0x13ccf2={};_0x13ccf2[_0x48029a(0x22d)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x35ebdf=_0x13ccf2;if(!_0x4e8555)return logger[_0x48029a(0x1fa)](_0x35ebdf[_0x48029a(0x22d)]),null;const _0x5e882a=this[_0x48029a(0x1e1)](_0x4e8555),_0x9f1a8c={};_0x9f1a8c[_0x48029a(0x1ff)]=_0x4e8555[_0x48029a(0x1ff)]||_0x4e8555[_0x48029a(0x23a)],_0x9f1a8c[_0x48029a(0x1f0)]=_0x4e8555[_0x48029a(0x1f0)],_0x9f1a8c[_0x48029a(0x242)]=_0x5e882a,_0x9f1a8c[_0x48029a(0x22e)]=_0x4e8555[_0x48029a(0x22e)];const _0x566c16=_0x9f1a8c;return this[_0x48029a(0x257)](_0x566c16);}[a91_0x595036(0x232)](_0x3d11e7){const _0x3fa514=a91_0x595036,_0x1a4087={};_0x1a4087[_0x3fa514(0x28a)]=_0x3fa514(0x1dd);const _0x159f3d=_0x1a4087;if(!_0x3d11e7)return logger[_0x3fa514(0x1fa)](_0x159f3d['uGWds']),null;if(_0x3d11e7[_0x3fa514(0x231)])return logger['debug']('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x3d11e7[_0x3fa514(0x231)]),_0x3d11e7[_0x3fa514(0x231)];return this['createJestTestIdentifier'](_0x3d11e7);}}module[a91_0x595036(0x239)]=o11yClassErrorHandler(JestUtils,[a91_0x595036(0x271),a91_0x595036(0x261),a91_0x595036(0x20f),a91_0x595036(0x25d),'isJestInternalHook',a91_0x595036(0x22c),a91_0x595036(0x22f),a91_0x595036(0x21b),'getHookRunEventData','clearHooksMap',a91_0x595036(0x1e1),a91_0x595036(0x257),a91_0x595036(0x221),'recreateIdentifierFromTestInfo']);
1
+ const a91_0x1e7d65=a91_0x3d2d;(function(_0x3c7156,_0x11c189){const _0x41efa6=a91_0x3d2d,_0x58e3ba=_0x3c7156();while(!![]){try{const _0xec703e=parseInt(_0x41efa6(0x234))/0x1+parseInt(_0x41efa6(0x200))/0x2+-parseInt(_0x41efa6(0x258))/0x3+parseInt(_0x41efa6(0x237))/0x4+parseInt(_0x41efa6(0x246))/0x5*(parseInt(_0x41efa6(0x1fe))/0x6)+parseInt(_0x41efa6(0x1f2))/0x7+-parseInt(_0x41efa6(0x244))/0x8;if(_0xec703e===_0x11c189)break;else _0x58e3ba['push'](_0x58e3ba['shift']());}catch(_0x32df04){_0x58e3ba['push'](_0x58e3ba['shift']());}}}(a91_0x54eb,0x75204));function a91_0x54eb(){const _0x34ad62=['getHierarchy','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','startedAt','xOguB','asyncError','configureGit','finished_at','md5','LOuAP','dgzFc','type',',\x20hookUUID:\x20','getTestIdentifier','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','jEpHc','parent','ISSED','createJestTestIdentifier','pending','reverse','failure_data','util','backtrace','failure_backtrace','OnsGQ','thuEW','__jestCurrentTestIdentifier','HfWfC','error','TestRunFinished','format','testPath','testIdentifier','lHSZY','_gitConfigPath','\x22\x20hook\x20for\x20\x22','Exception\x20in\x20createTestFrameworkData:\x20','zBuLX','started_at','RwVPw','includes','debug','WeQiT','Unknown\x20Test','ZSGnh','getName','getFileName','apply','javascript','toUpperCase','now','failure','VItpg','stack','1306487yhIFnu','xxnCd','skipped','substring','BEFORE_ALL','createHookData',',\x20testRunId:\x20','getRootParentFile','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','xQqYi','inspect','passed','186YabUBI','tEFnB','1352738WWrRzu','HookRunFinished','fullName','createHash','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','RZaoX','erByH','eOtPP','name','parse','getHookRunEventData','split','\x20from\x20compositeKey:\x20','afterEach','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','expanded','match','CxVSX','PbiEA','ROOT_DESCRIBE_BLOCK','failure_type','[jestUtils]\x20Created\x20identifier:\x20','getState','NPSeM',',\x20testIdentifier:\x20','YfNHS','recreateIdentifierFromTestInfo','bigms','qBerA','winstonLogger','displayName','title','clearHooksMap','path','failure_reason','push','length','iEsPM','RegkA','PVpxl','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','File\x20path\x20could\x20not\x20be\x20found','OmXOV','duration','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','Exception\x20in\x20getHookRunEventData:\x20','createTestFrameworkData','AFMOO','browserstack-node-agent/src/bin/jest','failure_reason_expanded','hooks','test','204057DiPegu','uuid','currentTest','585152hYFbBg','Exception\x20in\x20createHookData:\x20','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','BfsWG','rkqwf','XzJxL','gxUWy','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','jest','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','call','beforeAll','../../../helpers/test-observability/error-handler.js','12248832xcjKRk','[jestUtils]\x20Error\x20creating\x20identifier:\x20','131415quebXp','toISOString','WPwjF','digest','unknown','hAvzC','update','GgCRN','retryOf','expect','errorsDetailed','MkGOm','failed','qgaZZ','isJestInternalHook','root','stack-trace','getTime','51828uXErls','extractTestFilePath','zsgDG','jest-circus','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','testAnalyticsId','gRsQf','_gitConfigured','TestRunSkipped','XLbnU','sylFZ','file','toString','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','VWYeF','CzFWC','scAOo','ZywCp','find','afterAll','KSBsy','tTHIt','../../../helpers/test-observability/utils'];a91_0x54eb=function(){return _0x34ad62;};return a91_0x54eb();}const path=require(a91_0x1e7d65(0x221)),util=require(a91_0x1e7d65(0x284)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a91_0x1e7d65(0x21d)],{o11yClassErrorHandler}=require(a91_0x1e7d65(0x243)),TestInfo=require('../TestInfo.js'),{failureData,getFailureType}=require(a91_0x1e7d65(0x26e)),stackTrace=require(a91_0x1e7d65(0x256)),a91_0x157da5={};function a91_0x3d2d(_0x4d7e42,_0x38556d){const _0x54eb00=a91_0x54eb();return a91_0x3d2d=function(_0x3d2d2e,_0x19a242){_0x3d2d2e=_0x3d2d2e-0x1ee;let _0x1aa6a2=_0x54eb00[_0x3d2d2e];return _0x1aa6a2;},a91_0x3d2d(_0x4d7e42,_0x38556d);}a91_0x157da5[a91_0x1e7d65(0x242)]=a91_0x1e7d65(0x1f6),a91_0x157da5[a91_0x1e7d65(0x26b)]='AFTER_ALL',a91_0x157da5['beforeEach']='BEFORE_EACH',a91_0x157da5[a91_0x1e7d65(0x20d)]='AFTER_EACH';const HOOK_TYPES_MAP=a91_0x157da5,hooksMap={};class JestUtils{constructor(){const _0x294dab=a91_0x1e7d65;this[_0x294dab(0x25f)]=![],this[_0x294dab(0x291)]=null;}async['createTestFrameworkData'](_0x5b88bf,_0x2f9462,_0x2249b6='TestRunFinished',_0x4a162f=undefined){const _0x37143d=a91_0x1e7d65,_0x3b722e={'WPwjF':_0x37143d(0x23e),'pWlzA':'jest-circus','zsgDG':function(_0x5048b2,_0x910826){return _0x5048b2||_0x910826;},'RUemx':_0x37143d(0x229),'AFMOO':function(_0x23fad3,_0x3c15ae){return _0x23fad3!==_0x3c15ae;},'CxVSX':_0x37143d(0x233),'PbiEA':'err','ILqog':_0x37143d(0x281),'qBerA':function(_0x99517,_0x1939b2){return _0x99517===_0x1939b2;},'GgCRN':_0x37143d(0x260),'thuEW':_0x37143d(0x1f4),'BfsWG':function(_0x14bcf7,_0x51f000){return _0x14bcf7>_0x51f000;},'eOtPP':_0x37143d(0x252),'FwilY':_0x37143d(0x1fd),'xxnCd':function(_0x54fa3b,_0x3163f0){return _0x54fa3b-_0x3163f0;},'zBuLX':_0x37143d(0x29f),'KSBsy':_0x37143d(0x23f),'jEpHc':function(_0x28ca62,_0x13f698){return _0x28ca62(_0x13f698);},'VWYeF':function(_0x173346,_0x51139a){return _0x173346===_0x51139a;},'EeQpC':function(_0x109476,_0x321ca8){return _0x109476===_0x321ca8;},'OmXOV':_0x37143d(0x28c)};logger['debug'](_0x37143d(0x22c)+_0x2249b6+_0x37143d(0x218)+_0x2f9462);try{if(!_0x5b88bf)return logger[_0x37143d(0x298)](_0x3b722e[_0x37143d(0x248)]),null;if(_0x5b88bf['fn']&&_0x5b88bf['fn'][_0x37143d(0x264)]()[_0x37143d(0x210)](/browserstack internal helper hook/))return null;await this[_0x37143d(0x274)]();let _0x20426a;try{_0x20426a=this['getRootParentFile'](_0x5b88bf);if(_0x20426a&&_0x20426a['includes'](_0x3b722e['pWlzA']))return null;}catch(_0x19ca99){logger[_0x37143d(0x298)](_0x37143d(0x20e)+util[_0x37143d(0x28d)](_0x19ca99)),_0x20426a=null;}const _0x14d36e=this['getHierarchy'](_0x5b88bf),_0x30e08a=this[_0x37143d(0x29c)](_0x5b88bf),_0x3ad5c6=_0x3b722e[_0x37143d(0x25a)](_0x20426a,_0x3b722e['RUemx']);let _0x426641=[];if(_0x3b722e['AFMOO'](_0x5b88bf['errorsDetailed'],undefined))_0x426641=[_0x5b88bf[_0x37143d(0x250)],_0x3b722e[_0x37143d(0x211)]];else _0x3b722e[_0x37143d(0x22f)](_0x4a162f,undefined)&&(_0x426641=[_0x4a162f,_0x3b722e[_0x37143d(0x212)]]);const _0x136f1e=_0x3b722e[_0x37143d(0x22f)](_0x5b88bf[_0x37143d(0x250)],undefined)?util[_0x37143d(0x1fc)](_0x5b88bf['errorsDetailed'][0x0]):_0x3b722e['AFMOO'](_0x4a162f,undefined)?_0x4a162f[_0x37143d(0x264)]():undefined;let _0x4fd77e=_0x3b722e['ILqog'];if(_0x3b722e[_0x37143d(0x21c)](_0x2249b6,_0x3b722e[_0x37143d(0x24d)]))_0x4fd77e=_0x3b722e[_0x37143d(0x288)];else _0x5b88bf[_0x37143d(0x250)]&&_0x3b722e[_0x37143d(0x23a)](_0x5b88bf['errorsDetailed'][_0x37143d(0x224)],0x0)?_0x4fd77e=_0x3b722e[_0x37143d(0x207)]:_0x4fd77e=_0x3b722e['FwilY'];let _0xbebf70=null;if(_0x3b722e[_0x37143d(0x22f)](_0x5b88bf[_0x37143d(0x22b)],undefined))_0xbebf70=_0x5b88bf[_0x37143d(0x22b)];else(_0x2249b6[_0x37143d(0x210)](/Finished/)||_0x2249b6[_0x37143d(0x210)](/Skipped/))&&(_0x5b88bf[_0x37143d(0x295)]&&(_0xbebf70=_0x3b722e[_0x37143d(0x1f3)](Date[_0x37143d(0x1ee)](),new Date(_0x5b88bf[_0x37143d(0x295)])[_0x37143d(0x257)]())));const _0x17aab6=_0x5b88bf['fn']?_0x5b88bf['fn'][_0x37143d(0x264)]():null,_0x10be8e={'id':_0x2f9462,'uuid':_0x2f9462,'startedAt':_0x5b88bf[_0x37143d(0x295)]||new Date()[_0x37143d(0x247)](),'finishedAt':_0x2249b6[_0x37143d(0x210)](/Finished/)||_0x2249b6['match'](/Skipped/)?new Date()[_0x37143d(0x247)]():null,'type':_0x3b722e[_0x37143d(0x211)],'body':{'lang':_0x3b722e[_0x37143d(0x294)],'code':_0x17aab6},'name':_0x30e08a,'scopes':_0x14d36e,'file_name':_0x3ad5c6,'location':_0x3ad5c6,'vc_filepath':this[_0x37143d(0x291)]&&_0x20426a?path['relative'](this['_gitConfigPath'],_0x20426a):null,'framework':_0x3b722e[_0x37143d(0x26c)],'result':_0x4fd77e,'failure_reason':_0x136f1e,'duration_in_ms':_0xbebf70,'failure':failureData[_0x37143d(0x29e)](null,_0x426641),'failure_type':!_0x136f1e?null:_0x3b722e[_0x37143d(0x27d)](getFailureType,_0x136f1e),'retry_of':_0x5b88bf[_0x37143d(0x24e)]||null,'customRerunParam':{'rerun_name':_0x30e08a}};_0x3b722e[_0x37143d(0x266)](_0x2249b6,_0x3b722e[_0x37143d(0x24d)])&&!_0x10be8e[_0x37143d(0x271)]&&(_0x10be8e[_0x37143d(0x271)]=_0x10be8e['finishedAt']);const _0x10a64e=_0x10be8e[_0x37143d(0x1ef)]&&_0x10be8e['failure'][0x0];return _0x10a64e&&(_0x10be8e[_0x37143d(0x286)]=_0x10a64e[_0x37143d(0x285)],_0x10be8e[_0x37143d(0x231)]=_0x10a64e[_0x37143d(0x20f)]),(_0x3b722e['EeQpC'](_0x2249b6,_0x3b722e[_0x37143d(0x22a)])||_0x3b722e[_0x37143d(0x266)](_0x2249b6,_0x3b722e[_0x37143d(0x24d)]))&&(_0x5b88bf[_0x37143d(0x232)]&&(_0x10be8e[_0x37143d(0x232)]=_0x5b88bf['hooks'])),_0x10be8e;}catch(_0x23b2ad){return logger[_0x37143d(0x298)](_0x37143d(0x293)+util[_0x37143d(0x28d)](_0x23b2ad)),null;}}async[a91_0x1e7d65(0x1f7)](_0x254840,_0x10e6b4,_0x302c55,_0x4245f0){const _0x42255c=a91_0x1e7d65,_0x2367f7={'CuLKZ':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','VItpg':_0x42255c(0x25b),'yUpBA':_0x42255c(0x230),'qsgQG':_0x42255c(0x24a),'gxUWy':_0x42255c(0x281),'erByH':function(_0x27d6c6,_0x1c1d5a){return _0x27d6c6===_0x1c1d5a;},'ZywCp':_0x42255c(0x201),'HfWfC':function(_0x440d6c,_0x30f961){return _0x440d6c>_0x30f961;},'tTHIt':_0x42255c(0x252),'hAvzC':function(_0x25abb3,_0x402509){return _0x25abb3(_0x402509);},'xQqYi':_0x42255c(0x233),'gRsQf':_0x42255c(0x1fd),'LOuAP':'hook','ZSGnh':_0x42255c(0x29f),'iEsPM':_0x42255c(0x23f),'qgaZZ':'HookRunStarted'};logger['debug']('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x302c55+_0x42255c(0x27a)+_0x10e6b4+_0x42255c(0x1f8)+_0x4245f0);try{if(!_0x254840)return logger[_0x42255c(0x298)](_0x2367f7['CuLKZ']),null;if(this[_0x42255c(0x254)](_0x254840))return null;await this[_0x42255c(0x274)]();let _0x5e5a9a=null;try{_0x5e5a9a=this[_0x42255c(0x1f9)](_0x254840);if(_0x5e5a9a&&_0x5e5a9a['includes'](_0x2367f7[_0x42255c(0x1f0)]))return null;if(_0x5e5a9a&&_0x5e5a9a[_0x42255c(0x297)](_0x2367f7['yUpBA']))return null;}catch(_0x5ea336){logger['debug'](_0x42255c(0x270)+util[_0x42255c(0x28d)](_0x5ea336));}const _0x5c5703=this[_0x42255c(0x29c)](_0x254840),_0x380fcc=_0x254840['type']||_0x2367f7['qsgQG'],_0x33e22b=HOOK_TYPES_MAP[_0x380fcc]||_0x380fcc[_0x42255c(0x2a0)](),_0x527674=_0x254840[_0x42255c(0x27e)]&&_0x254840[_0x42255c(0x27e)][_0x42255c(0x208)]?_0x254840[_0x42255c(0x27e)]['name']:'';let _0x5d85f5=_0x2367f7[_0x42255c(0x23d)],_0x2b27ae=null,_0x3ffab2=null,_0x4b7c35=null,_0x52a2fe=null;_0x2367f7[_0x42255c(0x206)](_0x302c55,_0x2367f7[_0x42255c(0x269)])&&(_0x52a2fe=new Date()['toISOString'](),_0x254840[_0x42255c(0x250)]&&_0x2367f7[_0x42255c(0x28a)](_0x254840[_0x42255c(0x250)]['length'],0x0)?(_0x5d85f5=_0x2367f7[_0x42255c(0x26d)],_0x3ffab2=util[_0x42255c(0x1fc)](_0x254840['errorsDetailed'][0x0]),_0x2b27ae=_0x2367f7[_0x42255c(0x24b)](getFailureType,_0x3ffab2),_0x4b7c35=failureData['apply'](null,[_0x254840['errorsDetailed'],_0x2367f7[_0x42255c(0x1fb)]])):_0x5d85f5=_0x2367f7[_0x42255c(0x25e)]);const _0x2eddbc={'uuid':_0x10e6b4,'type':_0x2367f7[_0x42255c(0x277)],'hook_type':_0x33e22b,'name':_0x5c5703,'body':{'lang':_0x2367f7[_0x42255c(0x29b)],'code':_0x254840['fn']?_0x254840['fn'][_0x42255c(0x264)]():null},'tags':[],'test_run_id':_0x4245f0,'scope':_0x527674,'scopes':[_0x527674],'file_name':_0x5e5a9a,'location':_0x5e5a9a,'vc_filepath':this[_0x42255c(0x291)]&&_0x5e5a9a?path['relative'](this[_0x42255c(0x291)],_0x5e5a9a):null,'result':_0x5d85f5,'started_at':_0x254840['started_at']||new Date()['toISOString'](),'finished_at':_0x52a2fe,'failure_type':_0x2b27ae,'failure_reason':_0x3ffab2,'failure_data':_0x4b7c35,'framework':_0x2367f7[_0x42255c(0x225)]};return _0x2367f7['erByH'](_0x302c55,_0x2367f7[_0x42255c(0x253)])&&(hooksMap[_0x4245f0]?hooksMap[_0x4245f0]['push'](_0x2eddbc):hooksMap[_0x4245f0]=[_0x2eddbc]),_0x2eddbc;}catch(_0x5b39c0){return logger[_0x42255c(0x298)](_0x42255c(0x238)+util[_0x42255c(0x28d)](_0x5b39c0)),null;}}[a91_0x1e7d65(0x20a)](_0x35531d,_0x5533eb,_0x32f82f){const _0x4a5b63=a91_0x1e7d65,_0x1707fe={'HECnR':function(_0x3c6082,_0x2cc42c){return _0x3c6082>_0x2cc42c;},'YfNHS':'failed','sylFZ':function(_0x3734fc,_0x316b0b){return _0x3734fc(_0x316b0b);},'gxPWp':_0x4a5b63(0x233),'XzJxL':_0x4a5b63(0x1fd)};try{const _0x393b3d=hooksMap[_0x35531d];if(!_0x393b3d)return null;const _0x4072f7=_0x393b3d[_0x4a5b63(0x26a)](_0x351ebd=>_0x351ebd[_0x4a5b63(0x235)]===_0x5533eb);if(!_0x4072f7)return null;return _0x4072f7[_0x4a5b63(0x275)]=new Date()[_0x4a5b63(0x247)](),_0x32f82f['errorsDetailed']&&_0x1707fe['HECnR'](_0x32f82f[_0x4a5b63(0x250)][_0x4a5b63(0x224)],0x0)?(_0x4072f7['result']=_0x1707fe[_0x4a5b63(0x219)],_0x4072f7[_0x4a5b63(0x222)]=util[_0x4a5b63(0x1fc)](_0x32f82f[_0x4a5b63(0x250)][0x0]),_0x4072f7[_0x4a5b63(0x214)]=_0x1707fe[_0x4a5b63(0x262)](getFailureType,_0x4072f7[_0x4a5b63(0x222)]),_0x4072f7[_0x4a5b63(0x283)]=failureData[_0x4a5b63(0x29e)](null,[_0x32f82f['errorsDetailed'],_0x1707fe['gxPWp']])):_0x4072f7['result']=_0x1707fe[_0x4a5b63(0x23c)],_0x4072f7;}catch(_0x3cce4c){return logger[_0x4a5b63(0x298)](_0x4a5b63(0x22d)+util[_0x4a5b63(0x28d)](_0x3cce4c)),null;}}['getName'](_0x10619e){const _0x534ecb=a91_0x1e7d65,_0x941c6e={};_0x941c6e[_0x534ecb(0x23b)]=function(_0x3252f4,_0x31be71){return _0x3252f4!==_0x31be71;},_0x941c6e[_0x534ecb(0x1ff)]=_0x534ecb(0x233),_0x941c6e['MkGOm']=_0x534ecb(0x29a);const _0x43f019=_0x941c6e;if(_0x43f019[_0x534ecb(0x23b)](_0x10619e['type'],_0x43f019[_0x534ecb(0x1ff)]))return'\x22'+_0x10619e[_0x534ecb(0x279)]+_0x534ecb(0x292)+(_0x10619e[_0x534ecb(0x27e)]&&_0x10619e['parent'][_0x534ecb(0x208)])+'\x22';return _0x10619e[_0x534ecb(0x208)]||_0x43f019[_0x534ecb(0x251)];}['getHierarchy'](_0x350de7){const _0x1c2587=a91_0x1e7d65,_0x95d587={};_0x95d587[_0x1c2587(0x278)]=function(_0x3e8bfb,_0x3ac951){return _0x3e8bfb!==_0x3ac951;},_0x95d587[_0x1c2587(0x267)]=function(_0x45916b,_0x650204){return _0x45916b!==_0x650204;},_0x95d587[_0x1c2587(0x217)]=_0x1c2587(0x213);const _0x3455fd=_0x95d587,_0x5a49ef=[];if(_0x350de7&&_0x350de7[_0x1c2587(0x27e)]){let _0x2a06f6=_0x350de7[_0x1c2587(0x27e)];while(_0x2a06f6&&_0x2a06f6['name']&&_0x3455fd[_0x1c2587(0x278)](_0x2a06f6[_0x1c2587(0x208)],'')&&_0x3455fd[_0x1c2587(0x267)](_0x2a06f6[_0x1c2587(0x208)],_0x3455fd[_0x1c2587(0x217)])){_0x5a49ef[_0x1c2587(0x223)](_0x2a06f6[_0x1c2587(0x208)]),_0x2a06f6=_0x2a06f6['parent'];}}return _0x5a49ef[_0x1c2587(0x282)](),_0x5a49ef;}[a91_0x1e7d65(0x1f9)](_0x31b177){const _0x2c8966=a91_0x1e7d65;if(_0x31b177[_0x2c8966(0x273)])try{const _0x4b0318=stackTrace[_0x2c8966(0x209)][_0x2c8966(0x241)](stackTrace,_0x31b177[_0x2c8966(0x273)]);if(_0x4b0318[0x0]&&_0x4b0318[0x0][_0x2c8966(0x29d)])return _0x4b0318[0x0]['getFileName']();}catch(_0x4a60e1){logger[_0x2c8966(0x298)](_0x2c8966(0x25c)+util[_0x2c8966(0x28d)](_0x4a60e1));}if(_0x31b177[_0x2c8966(0x263)])return _0x31b177[_0x2c8966(0x263)];return null;}[a91_0x1e7d65(0x254)](_0x304ce8){const _0x30611b=a91_0x1e7d65,_0x4c57be={};_0x4c57be[_0x30611b(0x272)]=_0x30611b(0x25b);const _0x1d7d09=_0x4c57be;try{const _0x8881e8=this[_0x30611b(0x1f9)](_0x304ce8);if(_0x8881e8&&_0x8881e8[_0x30611b(0x297)](_0x1d7d09[_0x30611b(0x272)]))return!![];}catch(_0x3da044){logger['debug'](_0x30611b(0x240)+util['format'](_0x3da044));}return![];}[a91_0x1e7d65(0x27b)](_0x5d0475=null){const _0x382c19=a91_0x1e7d65;try{const _0x3a89b0=_0x5d0475||global['__workerDetails']||{};if(global[_0x382c19(0x289)])return global[_0x382c19(0x289)];if(_0x3a89b0?.[_0x382c19(0x236)]?.[_0x382c19(0x25d)])return _0x3a89b0[_0x382c19(0x236)][_0x382c19(0x25d)];if(_0x3a89b0?.['currentTest']?.['id'])return _0x3a89b0[_0x382c19(0x236)]['id'];return null;}catch(_0x37c867){return logger[_0x382c19(0x298)](_0x382c19(0x204)+util[_0x382c19(0x28d)](_0x37c867)),null;}}async[a91_0x1e7d65(0x274)](){const _0x3bd82a=a91_0x1e7d65,_0x4f34ec={'CLyVy':function(_0x577540){return _0x577540();}};if(this[_0x3bd82a(0x25f)])return this[_0x3bd82a(0x291)];const _0x4d09ee=await _0x4f34ec['CLyVy'](getGitMetaData);_0x4d09ee&&(this[_0x3bd82a(0x291)]=_0x4d09ee[_0x3bd82a(0x255)]),this[_0x3bd82a(0x25f)]=!![];}[a91_0x1e7d65(0x220)](_0x4e304f){hooksMap[_0x4e304f]&&delete hooksMap[_0x4e304f];}[a91_0x1e7d65(0x259)](_0x2b4fbe){const _0xcf96fe=a91_0x1e7d65,_0x57f27a={'RegkA':_0xcf96fe(0x25b),'lHSZY':function(_0x1863d0,_0x42d1af){return _0x1863d0(_0x42d1af);},'RZaoX':_0xcf96fe(0x24f)};if(_0x2b4fbe[_0xcf96fe(0x263)])return _0x2b4fbe[_0xcf96fe(0x263)];if(_0x2b4fbe[_0xcf96fe(0x273)]){try{const _0x25ff83=stackTrace['parse'](_0x2b4fbe[_0xcf96fe(0x273)]);if(_0x25ff83[0x0]&&_0x25ff83[0x0][_0xcf96fe(0x29d)]){const _0x19d3e9=_0x25ff83[0x0][_0xcf96fe(0x29d)]();if(_0x19d3e9&&!_0x19d3e9[_0xcf96fe(0x297)](_0x57f27a[_0xcf96fe(0x226)]))return _0x19d3e9;}}catch(_0x46fb9b){logger[_0xcf96fe(0x298)](_0xcf96fe(0x239)+util[_0xcf96fe(0x28d)](_0x46fb9b));}if(_0x2b4fbe['asyncError'][_0xcf96fe(0x1f1)]){const _0x1c379b=_0x2b4fbe[_0xcf96fe(0x273)][_0xcf96fe(0x1f1)][_0xcf96fe(0x20b)]('\x0a');for(const _0x568fb3 of _0x1c379b){const _0x5063d4=_0x568fb3[_0xcf96fe(0x210)](/at (.+?):\d+:\d+/);if(_0x5063d4&&_0x5063d4[0x1]&&!_0x5063d4[0x1][_0xcf96fe(0x297)](_0x57f27a['RegkA']))return _0x5063d4[0x1];}}}let _0x78f3bf=_0x2b4fbe['parent'];while(_0x78f3bf){if(_0x78f3bf[_0xcf96fe(0x263)])return _0x78f3bf['file'];if(_0x78f3bf['asyncError'])try{const _0x3b4200=stackTrace['parse'](_0x78f3bf[_0xcf96fe(0x273)]);if(_0x3b4200[0x0]&&_0x3b4200[0x0][_0xcf96fe(0x29d)]){const _0x50ecdf=_0x3b4200[0x0][_0xcf96fe(0x29d)]();if(_0x50ecdf&&!_0x50ecdf[_0xcf96fe(0x297)](_0x57f27a[_0xcf96fe(0x226)]))return _0x50ecdf;}}catch(_0x506997){}_0x78f3bf=_0x78f3bf[_0xcf96fe(0x27e)];}try{const _0x35614e=_0x57f27a[_0xcf96fe(0x290)](require,_0x57f27a[_0xcf96fe(0x205)]);if(_0x35614e&&_0x35614e['getState']){const _0x5b2913=_0x35614e[_0xcf96fe(0x216)]();if(_0x5b2913&&_0x5b2913[_0xcf96fe(0x28e)])return _0x5b2913[_0xcf96fe(0x28e)];}}catch(_0x3269e9){logger[_0xcf96fe(0x298)](_0xcf96fe(0x228)+util[_0xcf96fe(0x28d)](_0x3269e9));}return null;}[a91_0x1e7d65(0x280)](_0x2143b2){const _0x241439=a91_0x1e7d65,_0x49ea2f={};_0x49ea2f['scAOo']=_0x241439(0x1fa),_0x49ea2f[_0x241439(0x261)]=function(_0x4e944c,_0x339bf1){return _0x4e944c!==_0x339bf1;},_0x49ea2f[_0x241439(0x296)]=_0x241439(0x213),_0x49ea2f['OnsGQ']=_0x241439(0x25b),_0x49ea2f[_0x241439(0x21b)]=_0x241439(0x276),_0x49ea2f[_0x241439(0x227)]='hex';const _0x458eed=_0x49ea2f;try{if(!_0x2143b2)return logger[_0x241439(0x28b)](_0x458eed[_0x241439(0x268)]),null;const _0x12ec99=_0x2143b2[_0x241439(0x202)]||_0x2143b2[_0x241439(0x208)]||_0x2143b2[_0x241439(0x21f)]||_0x2143b2[_0x241439(0x21e)];let _0x58425e=_0x12ec99;if(_0x2143b2[_0x241439(0x27e)]&&_0x2143b2[_0x241439(0x27e)][_0x241439(0x208)]&&_0x458eed[_0x241439(0x261)](_0x2143b2[_0x241439(0x27e)][_0x241439(0x208)],_0x458eed[_0x241439(0x296)])){const _0x59f9c2=_0x2143b2[_0x241439(0x208)]||_0x2143b2[_0x241439(0x21f)];_0x59f9c2&&(_0x58425e=_0x2143b2[_0x241439(0x27e)][_0x241439(0x208)]+'\x20'+_0x59f9c2);}let _0x941f7e=_0x2143b2[_0x241439(0x28e)];if(!_0x941f7e&&_0x2143b2[_0x241439(0x273)]){try{const _0x47041d=stackTrace['parse'](_0x2143b2[_0x241439(0x273)]);if(_0x47041d[0x0]&&_0x47041d[0x0][_0x241439(0x29d)]){const _0xf4eb36=_0x47041d[0x0]['getFileName']();_0xf4eb36&&!_0xf4eb36[_0x241439(0x297)](_0x458eed['OnsGQ'])&&(_0x941f7e=_0xf4eb36);}}catch(_0x848018){logger['debug'](_0x241439(0x239)+util[_0x241439(0x28d)](_0x848018));}if(!_0x941f7e&&_0x2143b2[_0x241439(0x273)][_0x241439(0x1f1)]){const _0x528e5d=_0x2143b2[_0x241439(0x273)][_0x241439(0x1f1)]['split']('\x0a');for(const _0x2de4c8 of _0x528e5d){const _0x5cf49f=_0x2de4c8['match'](/at (.+?):\d+:\d+/);if(_0x5cf49f&&_0x5cf49f[0x1]&&!_0x5cf49f[0x1][_0x241439(0x297)](_0x458eed[_0x241439(0x287)])){_0x941f7e=_0x5cf49f[0x1];break;}}}}const _0x1ec987=_0x941f7e+'::'+_0x58425e,_0x432399=crypto[_0x241439(0x203)](_0x458eed[_0x241439(0x21b)])[_0x241439(0x24c)](_0x1ec987)[_0x241439(0x249)](_0x458eed['PVpxl'])[_0x241439(0x1f5)](0x0,0x8),_0x4a5d79=process['pid']+':jest-'+_0x432399;return logger['debug'](_0x241439(0x215)+_0x4a5d79+_0x241439(0x20c)+_0x1ec987),_0x4a5d79;}catch(_0x40cf36){return logger[_0x241439(0x28b)](_0x241439(0x245)+util[_0x241439(0x28d)](_0x40cf36)),null;}}['createIdentifierFromJestTest'](_0x351e9b){const _0x5dde4e=a91_0x1e7d65,_0x359ca1={};_0x359ca1[_0x5dde4e(0x27f)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x247843=_0x359ca1;if(!_0x351e9b)return logger[_0x5dde4e(0x298)](_0x247843[_0x5dde4e(0x27f)]),null;const _0x3e9aff=this[_0x5dde4e(0x259)](_0x351e9b),_0x244c41={};_0x244c41[_0x5dde4e(0x208)]=_0x351e9b[_0x5dde4e(0x208)]||_0x351e9b['title'],_0x244c41[_0x5dde4e(0x27e)]=_0x351e9b[_0x5dde4e(0x27e)],_0x244c41[_0x5dde4e(0x28e)]=_0x3e9aff,_0x244c41[_0x5dde4e(0x273)]=_0x351e9b[_0x5dde4e(0x273)];const _0x296eb9=_0x244c41;return this[_0x5dde4e(0x280)](_0x296eb9);}[a91_0x1e7d65(0x21a)](_0x5edb04){const _0x22cd54=a91_0x1e7d65,_0x4fe1b9={};_0x4fe1b9[_0x22cd54(0x299)]=_0x22cd54(0x27c);const _0x4def37=_0x4fe1b9;if(!_0x5edb04)return logger['debug'](_0x4def37['WeQiT']),null;if(_0x5edb04['testIdentifier'])return logger[_0x22cd54(0x298)](_0x22cd54(0x265)+_0x5edb04[_0x22cd54(0x28f)]),_0x5edb04[_0x22cd54(0x28f)];return this[_0x22cd54(0x280)](_0x5edb04);}}module['exports']=o11yClassErrorHandler(JestUtils,[a91_0x1e7d65(0x274),a91_0x1e7d65(0x26f),'getRootParentFile',a91_0x1e7d65(0x29c),a91_0x1e7d65(0x254),a91_0x1e7d65(0x27b),a91_0x1e7d65(0x22e),'createHookData','getHookRunEventData',a91_0x1e7d65(0x220),a91_0x1e7d65(0x259),'createJestTestIdentifier','createIdentifierFromJestTest','recreateIdentifierFromTestInfo']);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a92_0x31e908=a92_0x140c;function a92_0x140c(_0x3bbeef,_0x4b9188){const _0x25d501=a92_0x25d5();return a92_0x140c=function(_0x140c95,_0x254d2f){_0x140c95=_0x140c95-0x189;let _0xa4d294=_0x25d501[_0x140c95];return _0xa4d294;},a92_0x140c(_0x3bbeef,_0x4b9188);}(function(_0xe51866,_0x381e3c){const _0x82b3a7=a92_0x140c,_0x4179de=_0xe51866();while(!![]){try{const _0x18a156=-parseInt(_0x82b3a7(0x1ad))/0x1+-parseInt(_0x82b3a7(0x1a3))/0x2*(-parseInt(_0x82b3a7(0x1b2))/0x3)+parseInt(_0x82b3a7(0x1b1))/0x4+-parseInt(_0x82b3a7(0x1aa))/0x5*(parseInt(_0x82b3a7(0x191))/0x6)+parseInt(_0x82b3a7(0x190))/0x7+-parseInt(_0x82b3a7(0x18a))/0x8*(parseInt(_0x82b3a7(0x192))/0x9)+parseInt(_0x82b3a7(0x1b7))/0xa*(parseInt(_0x82b3a7(0x1a1))/0xb);if(_0x18a156===_0x381e3c)break;else _0x4179de['push'](_0x4179de['shift']());}catch(_0x28ac41){_0x4179de['push'](_0x4179de['shift']());}}}(a92_0x25d5,0x50ea2));function a92_0x25d5(){const _0x5a5678=['20puWPYk','bAncU','modifyBrowserStackCaps','end','configuration','push','TgBnj','File\x20','launchBuild','config','101264elWCpv','../../helpers/BrowserStackSetup','args','exports','EVENTS','KBjJc','1037869YSqhJu','12JZMsmj','108GbGqhs','isUndefined','parallelsPerPlatform','modifyBrowserStackW3CCaps','SDK_SETUP','SDK_CLEANUP','path','forEach','File\x20path\x20is\x20required','length','finalExecution','\x20doesn\x27t\x20exist','../../helpers/performance/performance-tester','platforms','then','659230XznGKW','vanilla','334ZfPgpd','YOBGb','../../helpers/utilities','file','handleApp','../../helpers/performance/constants','getHubUrl','424985DAcfva','start','zhnzi','602268JutYal','useW3C','proxySettings','KvKSc','2267136XRiUUp','7557EkCbKY','../../helpers/helper','initialize','join','UHOfo'];a92_0x25d5=function(){return _0x5a5678;};return a92_0x25d5();}const fs=require('fs'),path=require(a92_0x31e908(0x198)),{default:BrowserStackSetup}=require(a92_0x31e908(0x18b)),helper=require(a92_0x31e908(0x1b3)),PerformanceTester=require(a92_0x31e908(0x19e)),PerformanceEvents=require(a92_0x31e908(0x1a8))[a92_0x31e908(0x18e)],utilities=require(a92_0x31e908(0x1a5)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler');async function run(_0x5420cd,_0xa74ac1,_0x4f4db8){const _0x34b288=a92_0x31e908,_0x3b5fc9={'zhnzi':_0x34b288(0x1a2),'YOBGb':function(_0x10a20d,_0x4c3122){return _0x10a20d(_0x4c3122);},'TgBnj':_0x34b288(0x19a),'UHOfo':function(_0x47af84,_0x3f80f9){return _0x47af84(_0x3f80f9);},'CeJzF':'Config\x20yml\x20is\x20required','KBjJc':function(_0x24acb5,_0x303ab3){return _0x24acb5>_0x303ab3;},'KvKSc':function(_0x39bf2e,_0x4fa233){return _0x39bf2e*_0x4fa233;},'bAncU':function(_0x3ca686,_0x29fd17,_0xcc459e){return _0x3ca686(_0x29fd17,_0xcc459e);}};await _0x4f4db8[_0x34b288(0x1b4)](_0x5420cd),await helper[_0x34b288(0x1a7)](_0x4f4db8['config']);const _0x378d2b=[];if(helper[_0x34b288(0x193)](_0x5420cd['_'][0x1]))throw _0x3b5fc9[_0x34b288(0x1a4)](Error,_0x3b5fc9[_0x34b288(0x1bd)]);const _0x282025=path[_0x34b288(0x1b5)](process['cwd'](),_0x5420cd['_'][0x1]);if(!fs['existsSync'](_0x282025))throw _0x3b5fc9[_0x34b288(0x1b6)](Error,_0x34b288(0x1be)+_0x5420cd['_'][0x1]+_0x34b288(0x19d));if(!_0x4f4db8[_0x34b288(0x189)])throw _0x3b5fc9[_0x34b288(0x1b6)](Error,_0x3b5fc9['CeJzF']);const _0xcb776b=helper[_0x34b288(0x1ae)](_0x4f4db8[_0x34b288(0x189)]);_0x4f4db8['config'][_0x34b288(0x19f)]&&_0x3b5fc9[_0x34b288(0x18f)](_0x4f4db8[_0x34b288(0x189)][_0x34b288(0x19f)][_0x34b288(0x19b)],0x0)&&_0x4f4db8['config'][_0x34b288(0x19f)][_0x34b288(0x199)]((_0x1a9d26,_0x53fe0b)=>{const _0x30b556=_0x34b288;_0xcb776b?_0x378d2b['push'](helper[_0x30b556(0x195)](_0x4f4db8[_0x30b556(0x189)],_0x3b5fc9[_0x30b556(0x1ac)],_0x53fe0b)):_0x378d2b[_0x30b556(0x1bc)](helper[_0x30b556(0x1b9)](_0x4f4db8[_0x30b556(0x189)],_0x3b5fc9[_0x30b556(0x1ac)],_0x53fe0b));});let _0x2bcc39,_0x4fb2be;const _0x59c1aa=[];if(_0x3b5fc9[_0x34b288(0x18f)](_0x378d2b[_0x34b288(0x19b)],0x0))_0x378d2b[_0x34b288(0x199)]((_0x2c88bc,_0x25a260)=>{const _0x4fc117=_0x34b288,_0x3ab295={};_0x3ab295['index']=_0x25a260,_0x2bcc39={'server':helper[_0x4fc117(0x1a9)](_0x4f4db8[_0x4fc117(0x189)]),'proxySettings':_0x4f4db8[_0x4fc117(0x189)][_0x4fc117(0x1af)],'platform':helper['getPlatformName'](_0x2c88bc),'platformCaps':Object['assign'](_0x3ab295,_0x4f4db8[_0x4fc117(0x189)][_0x4fc117(0x19f)][_0x25a260])};const _0x527b1c={'capability':_0x2c88bc,..._0x2bcc39};_0x527b1c[_0x4fc117(0x1a6)]=_0x282025,_0x527b1c[_0x4fc117(0x18c)]=_0xa74ac1;const _0x224ef2={};_0x224ef2[_0x4fc117(0x1bb)]=_0x527b1c,_0x4fb2be=_0x224ef2,_0x59c1aa[_0x4fc117(0x1bc)](_0x4fb2be);});else{let _0x5157b3;_0xcb776b?_0x5157b3=helper[_0x34b288(0x195)](_0x4f4db8['config'],_0x3b5fc9[_0x34b288(0x1ac)],0x0):_0x5157b3=helper['modifyBrowserStackCaps'](_0x4f4db8[_0x34b288(0x189)],_0x3b5fc9['zhnzi'],0x0);_0x2bcc39={'server':helper[_0x34b288(0x1a9)](_0x4f4db8[_0x34b288(0x189)]),'proxySettings':_0x4f4db8[_0x34b288(0x189)][_0x34b288(0x1af)]};const _0x14e780={'capability':_0x5157b3,..._0x2bcc39};_0x14e780[_0x34b288(0x1a6)]=_0x282025,_0x14e780[_0x34b288(0x18c)]=_0xa74ac1;const _0x50c0b3={};_0x50c0b3[_0x34b288(0x1bb)]=_0x14e780,_0x4fb2be=_0x50c0b3,_0x59c1aa['push'](_0x4fb2be);}const _0x1f016b=await TestHubHandler[_0x34b288(0x1bf)](_0x3b5fc9[_0x34b288(0x1ac)],_0x4f4db8),_0x3962ef=_0x3b5fc9[_0x34b288(0x1b0)](_0x4f4db8[_0x34b288(0x189)]['platforms']['length']||0x1,_0x4f4db8['config'][_0x34b288(0x194)]||0x1);PerformanceTester[_0x34b288(0x1ba)](PerformanceEvents[_0x34b288(0x196)]),_0x3b5fc9[_0x34b288(0x1b8)](parallelVanillaRun,_0x59c1aa,_0x3962ef)[_0x34b288(0x1a0)](_0x9a36c=>{})['finally'](async()=>{const _0x5b0c73=_0x34b288;PerformanceTester[_0x5b0c73(0x1ab)](PerformanceEvents[_0x5b0c73(0x197)]),await utilities[_0x5b0c73(0x19c)](_0x4f4db8);});}module[a92_0x31e908(0x18d)]=run;
2
+ 'use strict';const a92_0x5ac698=a92_0x62d7;function a92_0x62d7(_0x4f2df5,_0x4b1a23){const _0x329b05=a92_0x329b();return a92_0x62d7=function(_0x62d78b,_0x3765ac){_0x62d78b=_0x62d78b-0x195;let _0x47b9b7=_0x329b05[_0x62d78b];return _0x47b9b7;},a92_0x62d7(_0x4f2df5,_0x4b1a23);}(function(_0x51c503,_0x12e192){const _0x29c7db=a92_0x62d7,_0x50d01a=_0x51c503();while(!![]){try{const _0x55627f=-parseInt(_0x29c7db(0x1b7))/0x1*(parseInt(_0x29c7db(0x1b9))/0x2)+parseInt(_0x29c7db(0x1c9))/0x3+parseInt(_0x29c7db(0x1be))/0x4+parseInt(_0x29c7db(0x1c0))/0x5*(-parseInt(_0x29c7db(0x19d))/0x6)+-parseInt(_0x29c7db(0x1b1))/0x7*(-parseInt(_0x29c7db(0x1c3))/0x8)+parseInt(_0x29c7db(0x1a9))/0x9+-parseInt(_0x29c7db(0x1ad))/0xa;if(_0x55627f===_0x12e192)break;else _0x50d01a['push'](_0x50d01a['shift']());}catch(_0x141a51){_0x50d01a['push'](_0x50d01a['shift']());}}}(a92_0x329b,0x897a7));function a92_0x329b(){const _0x41dfdb=['Config\x20yml\x20is\x20required','existsSync','vbFXj','uculL','friWs','SDK_SETUP','1383705wqyoVj','OoJHn','modifyBrowserStackCaps','finalExecution','3641380DYcolQ','path','push','handleApp','1308706vUmtnc','forEach','file','\x20doesn\x27t\x20exist','../../helpers/BrowserStackSetup','vanilla','741541EppSog','File\x20','2VSPOKq','getHubUrl','proxySettings','args','platforms','2283200cVPEiM','isUndefined','1455uDXCFa','../../helpers/utilities','tdGdn','8AGOTUq','index','launchBuild','../../helpers/helper','cwd','../../helpers/performance/performance-tester','2695266MHLLgW','exports','modifyBrowserStackW3CCaps','config','join','../../helpers/testhub/testhubHandler','wPgFm','../test-runner','File\x20path\x20is\x20required','2910yXcswb','length','PHkib','then','mKLHM','assign'];a92_0x329b=function(){return _0x41dfdb;};return a92_0x329b();}const fs=require('fs'),path=require(a92_0x5ac698(0x1ae)),{default:BrowserStackSetup}=require(a92_0x5ac698(0x1b5)),helper=require(a92_0x5ac698(0x1c6)),PerformanceTester=require(a92_0x5ac698(0x1c8)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],utilities=require(a92_0x5ac698(0x1c1)),{parallelVanillaRun}=require(a92_0x5ac698(0x19b)),TestHubHandler=require(a92_0x5ac698(0x199));async function run(_0x241c61,_0xa73863,_0x15712a){const _0x2fd4ab=a92_0x5ac698,_0x5dc568={'uculL':_0x2fd4ab(0x1b6),'tdGdn':function(_0x22d063,_0x3a1c71){return _0x22d063(_0x3a1c71);},'YVtTW':_0x2fd4ab(0x19c),'TCejw':function(_0x4bcb47,_0x16cc36){return _0x4bcb47(_0x16cc36);},'mKLHM':function(_0x36d7eb,_0x3968d5){return _0x36d7eb(_0x3968d5);},'friWs':_0x2fd4ab(0x1a3),'wPgFm':function(_0x4299b9,_0x166730){return _0x4299b9>_0x166730;},'PHkib':function(_0x312d53,_0xea37d){return _0x312d53>_0xea37d;},'vbFXj':function(_0x2611ad,_0x3fc19b){return _0x2611ad*_0x3fc19b;},'OoJHn':function(_0x1bfeb2,_0x2b019f,_0x2a3dd7){return _0x1bfeb2(_0x2b019f,_0x2a3dd7);}};await _0x15712a['initialize'](_0x241c61),await helper[_0x2fd4ab(0x1b0)](_0x15712a[_0x2fd4ab(0x197)]);const _0x9f859a=[];if(helper[_0x2fd4ab(0x1bf)](_0x241c61['_'][0x1]))throw _0x5dc568[_0x2fd4ab(0x1c2)](Error,_0x5dc568['YVtTW']);const _0x58d6b5=path[_0x2fd4ab(0x198)](process[_0x2fd4ab(0x1c7)](),_0x241c61['_'][0x1]);if(!fs[_0x2fd4ab(0x1a4)](_0x58d6b5))throw _0x5dc568['TCejw'](Error,_0x2fd4ab(0x1b8)+_0x241c61['_'][0x1]+_0x2fd4ab(0x1b4));if(!_0x15712a[_0x2fd4ab(0x197)])throw _0x5dc568[_0x2fd4ab(0x1a1)](Error,_0x5dc568[_0x2fd4ab(0x1a7)]);const _0xf566d6=helper['useW3C'](_0x15712a[_0x2fd4ab(0x197)]);_0x15712a[_0x2fd4ab(0x197)][_0x2fd4ab(0x1bd)]&&_0x5dc568[_0x2fd4ab(0x19a)](_0x15712a[_0x2fd4ab(0x197)][_0x2fd4ab(0x1bd)]['length'],0x0)&&_0x15712a[_0x2fd4ab(0x197)][_0x2fd4ab(0x1bd)][_0x2fd4ab(0x1b2)]((_0xcafd0b,_0xdfda0b)=>{const _0x5c3494=_0x2fd4ab;_0xf566d6?_0x9f859a['push'](helper[_0x5c3494(0x196)](_0x15712a['config'],_0x5dc568['uculL'],_0xdfda0b)):_0x9f859a[_0x5c3494(0x1af)](helper[_0x5c3494(0x1ab)](_0x15712a[_0x5c3494(0x197)],_0x5dc568[_0x5c3494(0x1a6)],_0xdfda0b));});let _0x12602b,_0x2433d0;const _0x2cdf25=[];if(_0x5dc568[_0x2fd4ab(0x19f)](_0x9f859a['length'],0x0))_0x9f859a[_0x2fd4ab(0x1b2)]((_0x194fd5,_0x2da2e8)=>{const _0x272a61=_0x2fd4ab,_0xd142df={};_0xd142df[_0x272a61(0x1c4)]=_0x2da2e8,_0x12602b={'server':helper[_0x272a61(0x1ba)](_0x15712a[_0x272a61(0x197)]),'proxySettings':_0x15712a['config'][_0x272a61(0x1bb)],'platform':helper['getPlatformName'](_0x194fd5),'platformCaps':Object[_0x272a61(0x1a2)](_0xd142df,_0x15712a[_0x272a61(0x197)][_0x272a61(0x1bd)][_0x2da2e8])};const _0x2b072b={'capability':_0x194fd5,..._0x12602b};_0x2b072b[_0x272a61(0x1b3)]=_0x58d6b5,_0x2b072b[_0x272a61(0x1bc)]=_0xa73863;const _0x468d8a={};_0x468d8a['configuration']=_0x2b072b,_0x2433d0=_0x468d8a,_0x2cdf25['push'](_0x2433d0);});else{let _0x284641;_0xf566d6?_0x284641=helper['modifyBrowserStackW3CCaps'](_0x15712a[_0x2fd4ab(0x197)],_0x5dc568['uculL'],0x0):_0x284641=helper[_0x2fd4ab(0x1ab)](_0x15712a[_0x2fd4ab(0x197)],_0x5dc568[_0x2fd4ab(0x1a6)],0x0);_0x12602b={'server':helper['getHubUrl'](_0x15712a[_0x2fd4ab(0x197)]),'proxySettings':_0x15712a[_0x2fd4ab(0x197)][_0x2fd4ab(0x1bb)]};const _0x2d45e0={'capability':_0x284641,..._0x12602b};_0x2d45e0[_0x2fd4ab(0x1b3)]=_0x58d6b5,_0x2d45e0[_0x2fd4ab(0x1bc)]=_0xa73863;const _0x386c72={};_0x386c72['configuration']=_0x2d45e0,_0x2433d0=_0x386c72,_0x2cdf25[_0x2fd4ab(0x1af)](_0x2433d0);}const _0x5f09fa=await TestHubHandler[_0x2fd4ab(0x1c5)](_0x5dc568[_0x2fd4ab(0x1a6)],_0x15712a),_0x886ceb=_0x5dc568[_0x2fd4ab(0x1a5)](_0x15712a[_0x2fd4ab(0x197)][_0x2fd4ab(0x1bd)][_0x2fd4ab(0x19e)]||0x1,_0x15712a[_0x2fd4ab(0x197)]['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x2fd4ab(0x1a8)]),_0x5dc568[_0x2fd4ab(0x1aa)](parallelVanillaRun,_0x2cdf25,_0x886ceb)[_0x2fd4ab(0x1a0)](_0xf07604=>{})['finally'](async()=>{const _0x1f4947=_0x2fd4ab;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x1f4947(0x1ac)](_0x15712a);});}module[a92_0x5ac698(0x195)]=run;
@@ -1 +1 @@
1
- const a93_0x310c88=a93_0x6bf9;function a93_0x6bf9(_0x19f4eb,_0x49a4b7){const _0x1b43b0=a93_0x1b43();return a93_0x6bf9=function(_0x6bf996,_0x3264f7){_0x6bf996=_0x6bf996-0x124;let _0x4b9de7=_0x1b43b0[_0x6bf996];return _0x4b9de7;},a93_0x6bf9(_0x19f4eb,_0x49a4b7);}(function(_0x16ac3a,_0x2f8a89){const _0x4e39b6=a93_0x6bf9,_0xa45ac=_0x16ac3a();while(!![]){try{const _0x429aca=-parseInt(_0x4e39b6(0x131))/0x1*(-parseInt(_0x4e39b6(0x149))/0x2)+parseInt(_0x4e39b6(0x143))/0x3*(parseInt(_0x4e39b6(0x12e))/0x4)+parseInt(_0x4e39b6(0x13e))/0x5+parseInt(_0x4e39b6(0x14a))/0x6+parseInt(_0x4e39b6(0x139))/0x7+-parseInt(_0x4e39b6(0x12c))/0x8*(-parseInt(_0x4e39b6(0x147))/0x9)+-parseInt(_0x4e39b6(0x132))/0xa*(parseInt(_0x4e39b6(0x130))/0xb);if(_0x429aca===_0x2f8a89)break;else _0xa45ac['push'](_0xa45ac['shift']());}catch(_0x155a1d){_0xa45ac['push'](_0xa45ac['shift']());}}}(a93_0x1b43,0xb57f0));const TestMetadata=require(a93_0x310c88(0x138));class BrowserStackSdk{static[a93_0x310c88(0x12b)](){const _0x2435f5=a93_0x310c88,_0x518d16={};_0x518d16[_0x2435f5(0x129)]=_0x2435f5(0x148),_0x518d16[_0x2435f5(0x146)]=_0x2435f5(0x12d),_0x518d16['dXwrz']=_0x2435f5(0x126),_0x518d16['PZbLB']='browserName',_0x518d16['dAyLh']='browser_version',_0x518d16[_0x2435f5(0x13a)]=_0x2435f5(0x127),_0x518d16[_0x2435f5(0x128)]=_0x2435f5(0x137),_0x518d16['bTVDp']=_0x2435f5(0x12a),_0x518d16['XeZYT']=_0x2435f5(0x134),_0x518d16[_0x2435f5(0x144)]=_0x2435f5(0x136),_0x518d16[_0x2435f5(0x13b)]=_0x2435f5(0x145),_0x518d16['lkJcx']=_0x2435f5(0x124),_0x518d16[_0x2435f5(0x141)]=_0x2435f5(0x135);const _0x159e2d=_0x518d16,_0x2c86fb={};if(global[_0x2435f5(0x142)]){const _0x4c06bf=global[_0x2435f5(0x142)],_0x1bc742=_0x4c06bf[_0x159e2d[_0x2435f5(0x129)]]||_0x4c06bf[_0x159e2d['jGdvI']],_0x41f2cc=_0x4c06bf[_0x159e2d[_0x2435f5(0x13d)]]||_0x4c06bf[_0x159e2d[_0x2435f5(0x13c)]],_0x20997c=_0x4c06bf[_0x159e2d[_0x2435f5(0x140)]]||_0x4c06bf[_0x159e2d[_0x2435f5(0x13a)]],_0x20fb5c=_0x4c06bf[_0x159e2d[_0x2435f5(0x128)]]||_0x4c06bf[_0x159e2d['bTVDp']],_0x3fd3a2=_0x4c06bf[_0x159e2d['XeZYT']]||_0x4c06bf[_0x159e2d[_0x2435f5(0x144)]],_0x2ccc22=_0x4c06bf[_0x159e2d['CycJH']]||_0x4c06bf[_0x159e2d[_0x2435f5(0x12f)]];_0x4c06bf['os']&&(_0x2c86fb['os']=_0x4c06bf['os']),_0x1bc742&&(_0x2c86fb[_0x159e2d[_0x2435f5(0x146)]]=_0x1bc742),_0x41f2cc&&(_0x2c86fb[_0x159e2d[_0x2435f5(0x13c)]]=_0x41f2cc),_0x20997c&&(_0x2c86fb[_0x159e2d['lcBJn']]=_0x20997c),_0x20fb5c&&(_0x2c86fb[_0x159e2d[_0x2435f5(0x125)]]=_0x20fb5c),_0x3fd3a2&&(_0x2c86fb[_0x159e2d[_0x2435f5(0x144)]]=_0x3fd3a2),_0x2ccc22&&(_0x2c86fb[_0x159e2d['lkJcx']]=_0x2ccc22),_0x4c06bf[_0x159e2d[_0x2435f5(0x141)]]&&(_0x2c86fb[_0x159e2d[_0x2435f5(0x141)]]=_0x4c06bf[_0x159e2d[_0x2435f5(0x141)]]);}return _0x2c86fb;}static[a93_0x310c88(0x13f)](_0x381404={}){const _0x15a5a9=a93_0x310c88;TestMetadata[_0x15a5a9(0x133)](_0x381404);}}module['exports']=BrowserStackSdk;function a93_0x1b43(){const _0x59afe6=['os_version','2428322DWxXOu','7801014msybQN','platformVersion','bTVDp','browser','browserVersion','rdUOd','svFxI','deviceName','getCurrentPlatform','9427304qCicsU','osVersion','260yBFCZb','lkJcx','11OSyOdi','1jYTcRN','58940180uEAqSo','set','platform','customVariables','platformName','device','./helpers/metadata','8400091kAbfZK','lcBJn','CycJH','PZbLB','dXwrz','6548450GxmFQI','setTestMetadata','dAyLh','DGFFR','__platformCaps','20076uWJvtk','Mrneh','platform_version','jGdvI','9xvXjXn'];a93_0x1b43=function(){return _0x59afe6;};return a93_0x1b43();}
1
+ const a93_0x5aa6eb=a93_0x2999;(function(_0x3d7d7b,_0x644887){const _0x4a03df=a93_0x2999,_0x2f68ef=_0x3d7d7b();while(!![]){try{const _0x58cb95=-parseInt(_0x4a03df(0x1c0))/0x1+parseInt(_0x4a03df(0x1c8))/0x2*(-parseInt(_0x4a03df(0x1cb))/0x3)+parseInt(_0x4a03df(0x1c4))/0x4*(parseInt(_0x4a03df(0x1c3))/0x5)+-parseInt(_0x4a03df(0x1b5))/0x6*(parseInt(_0x4a03df(0x1bd))/0x7)+parseInt(_0x4a03df(0x1ca))/0x8*(parseInt(_0x4a03df(0x1d0))/0x9)+-parseInt(_0x4a03df(0x1c1))/0xa+parseInt(_0x4a03df(0x1d4))/0xb;if(_0x58cb95===_0x644887)break;else _0x2f68ef['push'](_0x2f68ef['shift']());}catch(_0x1b5b75){_0x2f68ef['push'](_0x2f68ef['shift']());}}}(a93_0x16a9,0x2b2b9));function a93_0x16a9(){const _0x183118=['os_version','7738126AxLJXv','PknbL','browserName','LNOxd','bVgWj','customVariables','QVDVs','162420cOddwm','browser','device','JQhnv','platformVersion','./helpers/metadata','ISATN','NHVOZ','35MoHcSh','GVqtV','IWHQz','164018ilJAWD','2543400ygnhmE','getCurrentPlatform','52935qFpnuj','12sQyTEl','browser_version','JzOZg','__platformCaps','15970OanUNO','browserVersion','1256QIgpgi','45jOfcxm','setTestMetadata','exports','platformName','fsgID','6597fGACfu','deviceName','SMhdT'];a93_0x16a9=function(){return _0x183118;};return a93_0x16a9();}function a93_0x2999(_0x4ab0f7,_0x56c6ca){const _0x16a9fd=a93_0x16a9();return a93_0x2999=function(_0x29998a,_0x257d66){_0x29998a=_0x29998a-0x1b2;let _0x32a9ef=_0x16a9fd[_0x29998a];return _0x32a9ef;},a93_0x2999(_0x4ab0f7,_0x56c6ca);}const TestMetadata=require(a93_0x5aa6eb(0x1ba));class BrowserStackSdk{static[a93_0x5aa6eb(0x1c2)](){const _0x232a4d=a93_0x5aa6eb,_0x21f7bf={};_0x21f7bf['kDyXT']=_0x232a4d(0x1d3),_0x21f7bf[_0x232a4d(0x1bc)]='osVersion',_0x21f7bf[_0x232a4d(0x1d5)]=_0x232a4d(0x1b6),_0x21f7bf[_0x232a4d(0x1cf)]=_0x232a4d(0x1d6),_0x21f7bf[_0x232a4d(0x1b4)]=_0x232a4d(0x1c5),_0x21f7bf['SMhdT']=_0x232a4d(0x1c9),_0x21f7bf[_0x232a4d(0x1be)]=_0x232a4d(0x1b7),_0x21f7bf[_0x232a4d(0x1b2)]=_0x232a4d(0x1d1),_0x21f7bf[_0x232a4d(0x1bb)]='platform',_0x21f7bf[_0x232a4d(0x1b8)]=_0x232a4d(0x1ce),_0x21f7bf[_0x232a4d(0x1d7)]='platform_version',_0x21f7bf['JzOZg']=_0x232a4d(0x1b9),_0x21f7bf[_0x232a4d(0x1bf)]=_0x232a4d(0x1b3);const _0x33a51e=_0x21f7bf,_0x1714fb={};if(global[_0x232a4d(0x1c7)]){const _0xc051e9=global[_0x232a4d(0x1c7)],_0x46e495=_0xc051e9[_0x33a51e['kDyXT']]||_0xc051e9[_0x33a51e['NHVOZ']],_0x4429d2=_0xc051e9[_0x33a51e[_0x232a4d(0x1d5)]]||_0xc051e9[_0x33a51e[_0x232a4d(0x1cf)]],_0x336ea9=_0xc051e9[_0x33a51e[_0x232a4d(0x1b4)]]||_0xc051e9[_0x33a51e['SMhdT']],_0x4c8800=_0xc051e9[_0x33a51e['GVqtV']]||_0xc051e9[_0x33a51e[_0x232a4d(0x1b2)]],_0x90ae36=_0xc051e9[_0x33a51e['ISATN']]||_0xc051e9[_0x33a51e[_0x232a4d(0x1b8)]],_0x2bb241=_0xc051e9[_0x33a51e[_0x232a4d(0x1d7)]]||_0xc051e9[_0x33a51e[_0x232a4d(0x1c6)]];_0xc051e9['os']&&(_0x1714fb['os']=_0xc051e9['os']),_0x46e495&&(_0x1714fb[_0x33a51e[_0x232a4d(0x1bc)]]=_0x46e495),_0x4429d2&&(_0x1714fb[_0x33a51e[_0x232a4d(0x1cf)]]=_0x4429d2),_0x336ea9&&(_0x1714fb[_0x33a51e[_0x232a4d(0x1d2)]]=_0x336ea9),_0x4c8800&&(_0x1714fb[_0x33a51e[_0x232a4d(0x1b2)]]=_0x4c8800),_0x90ae36&&(_0x1714fb[_0x33a51e[_0x232a4d(0x1b8)]]=_0x90ae36),_0x2bb241&&(_0x1714fb[_0x33a51e['JzOZg']]=_0x2bb241),_0xc051e9[_0x33a51e['IWHQz']]&&(_0x1714fb[_0x33a51e[_0x232a4d(0x1bf)]]=_0xc051e9[_0x33a51e[_0x232a4d(0x1bf)]]);}return _0x1714fb;}static[a93_0x5aa6eb(0x1cc)](_0xbea4f5={}){TestMetadata['set'](_0xbea4f5);}}module[a93_0x5aa6eb(0x1cd)]=BrowserStackSdk;