browserstack-node-sdk 1.53.4 → 1.53.5

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 (193) 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/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a27_0x537d28=a27_0x232a;(function(_0x54c906,_0x557783){const _0x4ef2cf=a27_0x232a,_0x29a0ec=_0x54c906();while(!![]){try{const _0x50a209=parseInt(_0x4ef2cf(0x137))/0x1+-parseInt(_0x4ef2cf(0x132))/0x2+-parseInt(_0x4ef2cf(0x13f))/0x3+parseInt(_0x4ef2cf(0x136))/0x4+parseInt(_0x4ef2cf(0x129))/0x5*(parseInt(_0x4ef2cf(0x11f))/0x6)+-parseInt(_0x4ef2cf(0x13a))/0x7*(-parseInt(_0x4ef2cf(0x130))/0x8)+parseInt(_0x4ef2cf(0x12f))/0x9*(-parseInt(_0x4ef2cf(0x147))/0xa);if(_0x50a209===_0x557783)break;else _0x29a0ec['push'](_0x29a0ec['shift']());}catch(_0x581d34){_0x29a0ec['push'](_0x29a0ec['shift']());}}}(a27_0x1da7,0xc85d9));const path=require(a27_0x537d28(0x13d)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a27_0x537d28(0x128)),constants=require(a27_0x537d28(0x13c)),{isAccessibilityAutomationSession}=require(a27_0x537d28(0x126)),RequestQueueHandler=require(a27_0x537d28(0x12c)),{isTestObservabilitySession}=require(a27_0x537d28(0x11b)),helper=require(a27_0x537d28(0x128)),PerformanceTester=require(a27_0x537d28(0x142)),PerformanceEvents=require(a27_0x537d28(0x11d))['EVENTS'],{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),BrowserstackCLI=require('../v2/browserstackCLI'),ClientTroubleShootingService=require(a27_0x537d28(0x13e));function a27_0x1da7(){const _0x238e2b=['platform','split','_accessibilityAutomation','../../helpers/accessibility-automation/helper','testsSkipped','../../helpers/helper','61345VpLTYU','formatter','testsPending','../../helpers/test-observability/requestQueueHandler','capability','_capability','204867xNpNVr','10832vgRITG','testsUnknown','1873078pHCagJ','AI_ENABLED_FRAMEWORK','testSuitesFailed','_formatter','806736fdDgLe','1137996cooxaI','_configuration','setupCucumber','1057HDjEEA','testsPassed','../utils/constants','path','../utils/clientTroubleshootingService','3230754roWIsw','includes','setFramework','../../helpers/performance/performance-tester','_argv','mochaOpts','_testObservability','_bsConfig','10uxSEHx','_framework','../../helpers/test-observability/utils','testsFailed','../../helpers/performance/constants','testSuites','642fkPFaD','testsErrorMessage','platformCaps','_mochaOpts'];a27_0x1da7=function(){return _0x238e2b;};return a27_0x1da7();}function a27_0x232a(_0x45d57f,_0x4ac3b2){const _0x1da7a1=a27_0x1da7();return a27_0x232a=function(_0x232a62,_0x45b2b8){_0x232a62=_0x232a62-0x11b;let _0x37f525=_0x1da7a1[_0x232a62];return _0x37f525;},a27_0x232a(_0x45d57f,_0x4ac3b2);}class Launcher{constructor(_0x60d4bb,_0x2742aa,_0x429bd9,_0x25bc94=[]){const _0x186acd=a27_0x537d28,_0x3af8e3={'mbMCn':'20|3|5|6|12|4|23|7|21|17|11|22|14|9|13|8|18|19|1|16|2|15|0|10','eyGPe':function(_0x43d548){return _0x43d548();}},_0x3bd78a=_0x3af8e3['mbMCn'][_0x186acd(0x124)]('|');let _0x1e9b43=0x0;while(!![]){switch(_0x3bd78a[_0x1e9b43++]){case'0':global[_0x186acd(0x120)]={};continue;case'1':global[_0x186acd(0x134)]=0x0;continue;case'2':global[_0x186acd(0x131)]=0x0;continue;case'3':this[_0x186acd(0x138)]=_0x2742aa['configuration']||{};continue;case'4':this[_0x186acd(0x12e)]=this[_0x186acd(0x138)][_0x186acd(0x12d)];continue;case'5':this['_configuration']['framework']=_0x60d4bb;continue;case'6':this[_0x186acd(0x122)]=_0x2742aa[_0x186acd(0x144)];continue;case'7':this[_0x186acd(0x143)]=_0x25bc94;continue;case'8':global[_0x186acd(0x11c)]=0x0;continue;case'9':global['totalTests']=0x0;continue;case'10':!constants[_0x186acd(0x133)][_0x186acd(0x140)](_0x60d4bb)&&(commandRepository['setConfig'](_0x429bd9),commandRepository[_0x186acd(0x141)](_0x60d4bb));continue;case'11':this[_0x186acd(0x125)]=_0x3af8e3['eyGPe'](isAccessibilityAutomationSession);continue;case'12':this[_0x186acd(0x135)]=_0x2742aa[_0x186acd(0x12a)];continue;case'13':global[_0x186acd(0x13b)]=0x0;continue;case'14':global[_0x186acd(0x11e)]=0x0;continue;case'15':global['testsAmbiguous']=0x0;continue;case'16':global['testsUndefined']=0x0;continue;case'17':this[_0x186acd(0x145)]=_0x3af8e3['eyGPe'](isTestObservabilitySession);continue;case'18':global[_0x186acd(0x12b)]=0x0;continue;case'19':global[_0x186acd(0x127)]=0x0;continue;case'20':this[_0x186acd(0x148)]=_0x60d4bb;continue;case'21':this[_0x186acd(0x146)]=_0x429bd9;continue;case'22':global['__platformCaps']=this[_0x186acd(0x138)][_0x186acd(0x121)]||{};continue;case'23':global['__platform__']=this[_0x186acd(0x138)][_0x186acd(0x123)];continue;}break;}}[a27_0x537d28(0x139)](_0x28383e,_0x6e5e29,_0x21f3c2){const _0x520cd7=_0x28383e['resolvePaths'];_0x28383e.resolvePaths=async function(){const pathResults=await _0x520cd7.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x21f3c2));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0x6e5e29.push('--format'),_0x6e5e29.push(`"${normalizedPath}"`);}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);await BrowserstackCLI.getInstance().stop();process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ const a27_0x4159b5=a27_0x1c66;function a27_0x1ca1(){const _0x11f2a4=['xcKYY','_bsConfig','framework','538034AcaILw','55KXAhHy','260435EOglWj','capability','testsPending','_mochaOpts','totalTests','resolvePaths','__platform__','testsFailed','../../helpers/test-observability/utils','split','157910BZubWH','_capability','formatter','Qniqt','117620XMqCAy','../utils/constants','../../helpers/helper','15GhRoBX','setFramework','testsAmbiguous','_configuration','../utils/clientTroubleshootingService','_framework','setConfig','6277976nmfFGI','414IboExf','../../helpers/performance/constants','_argv','path','133286qqqxJD','testsSkipped','testSuites','testsUndefined','EVENTS','6mbrQbB','_formatter','../v2/browserstackCLI','setupCucumber','4922027nHVCuq','_accessibilityAutomation','../../helpers/ai-sdk/autoHealHelper','../../helpers/accessibility-automation/helper'];a27_0x1ca1=function(){return _0x11f2a4;};return a27_0x1ca1();}(function(_0x1d1b07,_0x24820b){const _0x1c7669=a27_0x1c66,_0x364a11=_0x1d1b07();while(!![]){try{const _0x6edf34=parseInt(_0x1c7669(0x119))/0x1+parseInt(_0x1c7669(0x109))/0x2*(-parseInt(_0x1c7669(0x12c))/0x3)+-parseInt(_0x1c7669(0x129))/0x4*(parseInt(_0x1c7669(0x11a))/0x5)+-parseInt(_0x1c7669(0x10e))/0x6*(-parseInt(_0x1c7669(0x11b))/0x7)+parseInt(_0x1c7669(0x104))/0x8+-parseInt(_0x1c7669(0x105))/0x9*(parseInt(_0x1c7669(0x125))/0xa)+parseInt(_0x1c7669(0x112))/0xb;if(_0x6edf34===_0x24820b)break;else _0x364a11['push'](_0x364a11['shift']());}catch(_0x4009d8){_0x364a11['push'](_0x364a11['shift']());}}}(a27_0x1ca1,0x679c3));const path=require(a27_0x4159b5(0x108)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a27_0x4159b5(0x12b)),constants=require(a27_0x4159b5(0x12a)),{isAccessibilityAutomationSession}=require(a27_0x4159b5(0x115)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a27_0x4159b5(0x123)),helper=require(a27_0x4159b5(0x12b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a27_0x4159b5(0x106))[a27_0x4159b5(0x10d)],{commandRepository}=require(a27_0x4159b5(0x114)),BrowserstackCLI=require(a27_0x4159b5(0x110)),ClientTroubleShootingService=require(a27_0x4159b5(0x130));function a27_0x1c66(_0x2029e2,_0x40b784){const _0x1ca1f3=a27_0x1ca1();return a27_0x1c66=function(_0x1c663d,_0x10a79a){_0x1c663d=_0x1c663d-0x104;let _0x4d54c4=_0x1ca1f3[_0x1c663d];return _0x4d54c4;},a27_0x1c66(_0x2029e2,_0x40b784);}class Launcher{constructor(_0x15a175,_0x12f2da,_0x2a4c85,_0x4bef68=[]){const _0x15c965=a27_0x4159b5,_0x41aecd={'xcKYY':'0|9|14|18|6|1|4|5|13|17|16|19|10|7|12|22|23|3|15|21|11|2|8|20','Qniqt':function(_0x36ac){return _0x36ac();}},_0x324642=_0x41aecd[_0x15c965(0x116)][_0x15c965(0x124)]('|');let _0x4b8a30=0x0;while(!![]){switch(_0x324642[_0x4b8a30++]){case'0':this[_0x15c965(0x131)]=_0x15a175;continue;case'1':this[_0x15c965(0x126)]=this[_0x15c965(0x12f)][_0x15c965(0x11c)];continue;case'2':global[_0x15c965(0x12e)]=0x0;continue;case'3':global[_0x15c965(0x10a)]=0x0;continue;case'4':global[_0x15c965(0x121)]=this['_configuration']['platform'];continue;case'5':this[_0x15c965(0x107)]=_0x4bef68;continue;case'6':this[_0x15c965(0x10f)]=_0x12f2da[_0x15c965(0x127)];continue;case'7':global[_0x15c965(0x11f)]=0x0;continue;case'8':global['testsErrorMessage']={};continue;case'9':this[_0x15c965(0x12f)]=_0x12f2da['configuration']||{};continue;case'10':global[_0x15c965(0x10b)]=0x0;continue;case'11':global['testsUnknown']=0x0;continue;case'12':global['testsPassed']=0x0;continue;case'13':this[_0x15c965(0x117)]=_0x2a4c85;continue;case'14':this[_0x15c965(0x12f)][_0x15c965(0x118)]=_0x15a175;continue;case'15':global['testSuitesFailed']=0x0;continue;case'16':this[_0x15c965(0x113)]=_0x41aecd[_0x15c965(0x128)](isAccessibilityAutomationSession);continue;case'17':this['_testObservability']=_0x41aecd[_0x15c965(0x128)](isTestObservabilitySession);continue;case'18':this[_0x15c965(0x11e)]=_0x12f2da['mochaOpts'];continue;case'19':global['__platformCaps']=this[_0x15c965(0x12f)]['platformCaps']||{};continue;case'20':!constants['AI_ENABLED_FRAMEWORK']['includes'](_0x15a175)&&(commandRepository[_0x15c965(0x132)](_0x2a4c85),commandRepository[_0x15c965(0x12d)](_0x15a175));continue;case'21':global[_0x15c965(0x10c)]=0x0;continue;case'22':global[_0x15c965(0x122)]=0x0;continue;case'23':global[_0x15c965(0x11d)]=0x0;continue;}break;}}[a27_0x4159b5(0x111)](_0xfc4f17,_0xaa5d52,_0x13e201){const _0x2271b8=a27_0x4159b5,_0x4a3f40=_0xfc4f17[_0x2271b8(0x120)];_0xfc4f17.resolvePaths=async function(){const pathResults=await _0x4a3f40.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x13e201));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0xaa5d52.push('--format'),_0xaa5d52.push(`"${normalizedPath}"`);}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);await BrowserstackCLI.getInstance().stop();process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x105dd0=a28_0x487d;function a28_0x4086(){const _0x3cab6f=['../v2/cliUtils','pEutf','SIGHUP','Error\x20details:\x20','Error\x20Details:\x20','235864MdTPKr','9VWRjWp','debug','Configuration\x20path:\x20','SIGTERM','GGbxt','exit','niciV','stringify','WxGkn','error','BROWSERSTACK_USERNAME','./loadUtils','env','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','hCYoA','stack','Failed\x20to\x20determine\x20CLI\x20directory','readConfig','exports','mlgQV','\x20exited\x20with\x20code\x20','FuTXE','Waiting\x20for\x20child\x20process\x20to\x20exit...','ihcUo','close','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','inherit','slice','\x20load\x20','5701592uHRtDf','517682qTsEOH','770965yaKXNr','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','39SNbuVT','../../helpers/logger','102988vImKWw','bVHvm','userName','../../helpers/helper','checkAndUpdateCli','Failed\x20initiating\x20load\x20test:\x20','kill','accessKey','child_process','2064685jycyzo','156150znYMxB','SIGINT','message',',\x20forwarding\x20to\x20child\x20process...','POgBf','forEach','SBLzD','TYjPn','AMfza','Spawning:\x20','BROWSERSTACK_ACCESS_KEY','WAqLt','argv'];a28_0x4086=function(){return _0x3cab6f;};return a28_0x4086();}(function(_0x169211,_0x4f8e31){const _0x2bcc43=a28_0x487d,_0x2073d5=_0x169211();while(!![]){try{const _0x584238=parseInt(_0x2bcc43(0xa4))/0x1+-parseInt(_0x2bcc43(0xc3))/0x2+parseInt(_0x2bcc43(0xc6))/0x3*(-parseInt(_0x2bcc43(0xc8))/0x4)+parseInt(_0x2bcc43(0xc4))/0x5+-parseInt(_0x2bcc43(0x92))/0x6+-parseInt(_0x2bcc43(0x91))/0x7+-parseInt(_0x2bcc43(0xc2))/0x8*(-parseInt(_0x2bcc43(0xa5))/0x9);if(_0x584238===_0x4f8e31)break;else _0x2073d5['push'](_0x2073d5['shift']());}catch(_0x3fa12d){_0x2073d5['push'](_0x2073d5['shift']());}}}(a28_0x4086,0x2df40));const {spawn}=require(a28_0x105dd0(0x90)),path=require('path'),helper=require(a28_0x105dd0(0xcb)),CLIUtils=require(a28_0x105dd0(0x9f)),{getLoadConfigPath,sleep}=require(a28_0x105dd0(0xb0)),logger=require(a28_0x105dd0(0xc7))['winstonLogger'];async function executeLoadTest(_0x379c68){const _0xdc9c70=a28_0x105dd0,_0x6cf3a5={'POgBf':function(_0x21754e,_0x4e2ffa){return _0x21754e(_0x4e2ffa);},'maXPZ':_0xdc9c70(0xbd),'WxGkn':_0xdc9c70(0xbb),'SBLzD':_0xdc9c70(0xc5),'RzLWS':function(_0xdc5b8){return _0xdc5b8();},'FuTXE':'Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','ihcUo':function(_0x2414d2){return _0x2414d2();},'xgVfp':_0xdc9c70(0xb5),'GGbxt':_0xdc9c70(0xbe),'pEutf':_0xdc9c70(0xb2),'FFYuM':'Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','bVHvm':function(_0x84a1d){return _0x84a1d();},'fhBBR':function(_0xa9a239,_0x24af2d,_0x19d386,_0xfa543e){return _0xa9a239(_0x24af2d,_0x19d386,_0xfa543e);},'pZYbB':'load','mlgQV':_0xdc9c70(0xbf),'alzyf':_0xdc9c70(0x93),'AMfza':_0xdc9c70(0xa8),'niciV':'SIGQUIT','MtnNm':_0xdc9c70(0xa1),'WAqLt':function(_0x2ea657){return _0x2ea657();},'hCYoA':function(_0x3f45c9){return _0x3f45c9();}};try{const _0x1b9678=process[_0xdc9c70(0x9e)][_0xdc9c70(0xc0)](0x2),_0x24c339=_0x1b9678['slice'](0x1);logger[_0xdc9c70(0xa6)]('Executing\x20load\x20test\x20with\x20arguments:\x20'+_0x24c339);let _0x3b982a={};try{logger[_0xdc9c70(0xa6)](_0x6cf3a5[_0xdc9c70(0x98)]);const _0x303345={};_0x303345[_0xdc9c70(0xca)]=process[_0xdc9c70(0xb1)][_0xdc9c70(0xaf)]||process[_0xdc9c70(0xb1)]['BROWSERSTACK_USER'],_0x303345[_0xdc9c70(0xcf)]=process['env'][_0xdc9c70(0x9c)]||process['env']['BROWSERSTACK_ACCESSKEY'],_0x3b982a=_0x303345;if(!_0x3b982a[_0xdc9c70(0xca)]||!_0x3b982a[_0xdc9c70(0xcf)]){const _0x366d9b=_0x6cf3a5[_0xdc9c70(0x96)](getLoadConfigPath,_0x379c68[_0xdc9c70(0x9e)]);logger[_0xdc9c70(0xa6)](_0xdc9c70(0xa7)+_0x366d9b),_0x366d9b&&(_0x3b982a=helper[_0xdc9c70(0xb6)](_0x366d9b));}}catch(_0x258c1c){logger['error']('Error\x20loading\x20configuration:\x20'+_0x258c1c[_0xdc9c70(0x94)]),logger['debug'](_0xdc9c70(0xa2)+(_0x258c1c[_0xdc9c70(0xb4)]||JSON['stringify'](_0x258c1c))),await _0x6cf3a5['RzLWS'](sleep),process[_0xdc9c70(0xaa)](0x1);}(!_0x3b982a[_0xdc9c70(0xca)]||!_0x3b982a['accessKey'])&&(logger['error'](_0x6cf3a5[_0xdc9c70(0xba)]),await _0x6cf3a5[_0xdc9c70(0xbc)](sleep),process[_0xdc9c70(0xaa)](0x1));const _0x48f804=CLIUtils['getCliDir']();!_0x48f804&&(logger[_0xdc9c70(0xae)](_0x6cf3a5['xgVfp']),await _0x6cf3a5['RzLWS'](sleep),process[_0xdc9c70(0xaa)](0x1));let _0x44946a=CLIUtils['getExistingCliPath'](_0x48f804);try{!_0x44946a?(logger[_0xdc9c70(0xa6)](_0x6cf3a5[_0xdc9c70(0xa9)]),_0x44946a=await CLIUtils['checkAndUpdateCli']('',_0x48f804,_0x3b982a)):(logger['debug'](_0x6cf3a5[_0xdc9c70(0xa0)]),_0x44946a=await CLIUtils[_0xdc9c70(0xcc)](_0x44946a,_0x48f804,_0x3b982a));}catch(_0x18a3f1){logger[_0xdc9c70(0xae)](_0x6cf3a5['FuTXE']),logger['debug'](_0xdc9c70(0xa3)+(_0x18a3f1[_0xdc9c70(0xb4)]||JSON[_0xdc9c70(0xac)](_0x18a3f1))),await _0x6cf3a5[_0xdc9c70(0xbc)](sleep),process['exit'](0x1);}!_0x44946a&&(logger[_0xdc9c70(0xae)](_0x6cf3a5[_0xdc9c70(0xba)]),logger[_0xdc9c70(0xa6)](_0x6cf3a5['FFYuM']),await _0x6cf3a5[_0xdc9c70(0xc9)](sleep),process[_0xdc9c70(0xaa)](0x1));logger[_0xdc9c70(0xa6)](_0xdc9c70(0x9b)+_0x44946a+_0xdc9c70(0xc1)+_0x24c339['join']('\x20'));const _0x44f5ec=_0x6cf3a5['fhBBR'](spawn,_0x44946a,[_0x6cf3a5['pZYbB'],..._0x24c339],{'stdio':_0x6cf3a5[_0xdc9c70(0xb8)]});let _0x46c706=![];const _0x1a7d70=new Promise(_0x220c25=>{const _0x2331c4={'PLvCx':function(_0x2e5ef2,_0x813775){return _0x6cf3a5['POgBf'](_0x2e5ef2,_0x813775);}};_0x44f5ec['on'](_0x6cf3a5['maXPZ'],_0x455b72=>{const _0x1533db=a28_0x487d;logger['debug'](_0x44946a+_0x1533db(0xb9)+_0x455b72),_0x2331c4['PLvCx'](_0x220c25,_0x455b72);});});[_0x6cf3a5['alzyf'],_0x6cf3a5[_0xdc9c70(0x9a)],_0x6cf3a5[_0xdc9c70(0xab)],_0x6cf3a5['MtnNm']][_0xdc9c70(0x97)](_0x5be88c=>{const _0xbfd5db=_0xdc9c70,_0x31408e={};_0x31408e['TYjPn']=_0x6cf3a5[_0xbfd5db(0xad)];const _0x51341b=_0x31408e;process['on'](_0x5be88c,()=>{const _0x2e704f=_0xbfd5db;if(_0x46c706)return;_0x46c706=!![],logger[_0x2e704f(0xa6)]('Received\x20'+_0x5be88c+_0x2e704f(0x95)),_0x44f5ec&&!_0x44f5ec['killed']&&(_0x44f5ec[_0x2e704f(0xce)](_0x5be88c),logger[_0x2e704f(0xa6)](_0x51341b[_0x2e704f(0x99)]));});});const _0x172a95=await _0x1a7d70;await _0x6cf3a5[_0xdc9c70(0x9d)](sleep),process['exit'](_0x172a95);}catch(_0x7dd599){logger['error'](_0xdc9c70(0xcd)+_0x7dd599['message']),logger[_0xdc9c70(0xa6)](_0xdc9c70(0xa2)+(_0x7dd599[_0xdc9c70(0xb4)]||JSON[_0xdc9c70(0xac)](_0x7dd599))),await _0x6cf3a5[_0xdc9c70(0xb3)](sleep),process[_0xdc9c70(0xaa)](0x1);}}function a28_0x487d(_0x20fe0f,_0x1e46d1){const _0x4086be=a28_0x4086();return a28_0x487d=function(_0x487d23,_0xb37934){_0x487d23=_0x487d23-0x90;let _0x283a9a=_0x4086be[_0x487d23];return _0x283a9a;},a28_0x487d(_0x20fe0f,_0x1e46d1);}module[a28_0x105dd0(0xb7)]=executeLoadTest;
2
+ 'use strict';function a28_0x2757(_0x354f25,_0x1447cc){const _0x23674a=a28_0x2367();return a28_0x2757=function(_0x27572f,_0x271c48){_0x27572f=_0x27572f-0x194;let _0x2a55e7=_0x23674a[_0x27572f];return _0x2a55e7;},a28_0x2757(_0x354f25,_0x1447cc);}const a28_0x28e452=a28_0x2757;(function(_0xa2772c,_0x11228a){const _0x24b238=a28_0x2757,_0x4f9d3b=_0xa2772c();while(!![]){try{const _0x509ee0=parseInt(_0x24b238(0x1c0))/0x1+-parseInt(_0x24b238(0x1d6))/0x2+-parseInt(_0x24b238(0x194))/0x3+parseInt(_0x24b238(0x1cf))/0x4*(-parseInt(_0x24b238(0x1d4))/0x5)+parseInt(_0x24b238(0x1b7))/0x6+-parseInt(_0x24b238(0x19e))/0x7+parseInt(_0x24b238(0x1ac))/0x8*(parseInt(_0x24b238(0x1b6))/0x9);if(_0x509ee0===_0x11228a)break;else _0x4f9d3b['push'](_0x4f9d3b['shift']());}catch(_0x2efbc6){_0x4f9d3b['push'](_0x4f9d3b['shift']());}}}(a28_0x2367,0x6fc01));function a28_0x2367(){const _0x14e853=['16PNQhRC','qCwxe','join','Error\x20details:\x20','BROWSERSTACK_USERNAME','954485AvSrgn','Ezjvf','1747086QsoTDO','aVaFe','../../helpers/logger','mCeTv','debug','\x20load\x20','2044911ytzbAI','env','AFhDV','Received\x20','eLtvm',',\x20forwarding\x20to\x20child\x20process...','inherit','SIGHUP','Error\x20loading\x20configuration:\x20','Executing\x20load\x20test\x20with\x20arguments:\x20','5948670AEOpxl','userName','exports','accessKey','FdjpA','SIGINT','RaJwx','Configuration\x20path:\x20','exit','argv','Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','Failed\x20to\x20determine\x20CLI\x20directory','IOdgX','ssSjT','37784wNbXsm','MLEGH','uhCJa','Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','FykAx','slice','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','ouzaz','BROWSERSTACK_ACCESS_KEY','BROWSERSTACK_USER','5085ziLOri','352146YWQAMB','stack','SIGTERM','forEach','close','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','../../helpers/helper','Error\x20Details:\x20','error','899121ssDbqu','readConfig','gkTee','AysEh','stringify','message','checkAndUpdateCli','Waiting\x20for\x20child\x20process\x20to\x20exit...','./loadUtils','Failed\x20initiating\x20load\x20test:\x20','faZlL','Spawning:\x20','path','pholW','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates'];a28_0x2367=function(){return _0x14e853;};return a28_0x2367();}const {spawn}=require('child_process'),path=require(a28_0x28e452(0x1cc)),helper=require(a28_0x28e452(0x1bd)),CLIUtils=require('../v2/cliUtils'),{getLoadConfigPath,sleep}=require(a28_0x28e452(0x1c8)),logger=require(a28_0x28e452(0x1d8))['winstonLogger'];async function executeLoadTest(_0x470b53){const _0x29e968=a28_0x28e452,_0x2d9fb9={'Ezjvf':function(_0x4f3574,_0x922cd2){return _0x4f3574(_0x922cd2);},'AysEh':_0x29e968(0x1bb),'qCwxe':_0x29e968(0x1c7),'ssSjT':_0x29e968(0x1bc),'pholW':function(_0x34c195){return _0x34c195();},'IOdgX':_0x29e968(0x1af),'FdjpA':function(_0x902db6){return _0x902db6();},'kCsJH':_0x29e968(0x1a9),'aVaFe':_0x29e968(0x1b2),'uhCJa':_0x29e968(0x1ce),'sqRAL':function(_0x37dfc6){return _0x37dfc6();},'faZlL':_0x29e968(0x1a8),'ouzaz':function(_0x588518){return _0x588518();},'RaJwx':function(_0x590115,_0x24f3ed,_0x4aae36,_0x49ffc6){return _0x590115(_0x24f3ed,_0x4aae36,_0x49ffc6);},'gkTee':'load','MLEGH':_0x29e968(0x19a),'mwUmO':_0x29e968(0x1a3),'mCeTv':_0x29e968(0x1b9),'AFhDV':'SIGQUIT','uKZpA':_0x29e968(0x19b),'eLtvm':function(_0x587383){return _0x587383();},'FykAx':function(_0x5984e9){return _0x5984e9();}};try{const _0x1975b9=process[_0x29e968(0x1a7)][_0x29e968(0x1b1)](0x2),_0x26cec0=_0x1975b9[_0x29e968(0x1b1)](0x1);logger[_0x29e968(0x1da)](_0x29e968(0x19d)+_0x26cec0);let _0x36cb90={};try{logger[_0x29e968(0x1da)](_0x2d9fb9[_0x29e968(0x1ab)]);const _0x3847a8={};_0x3847a8[_0x29e968(0x19f)]=process[_0x29e968(0x195)][_0x29e968(0x1d3)]||process[_0x29e968(0x195)][_0x29e968(0x1b5)],_0x3847a8[_0x29e968(0x1a1)]=process['env'][_0x29e968(0x1b4)]||process['env']['BROWSERSTACK_ACCESSKEY'],_0x36cb90=_0x3847a8;if(!_0x36cb90[_0x29e968(0x19f)]||!_0x36cb90[_0x29e968(0x1a1)]){const _0xc4c8a5=_0x2d9fb9[_0x29e968(0x1d5)](getLoadConfigPath,_0x470b53[_0x29e968(0x1a7)]);logger[_0x29e968(0x1da)](_0x29e968(0x1a5)+_0xc4c8a5),_0xc4c8a5&&(_0x36cb90=helper[_0x29e968(0x1c1)](_0xc4c8a5));}}catch(_0x1e450f){logger[_0x29e968(0x1bf)](_0x29e968(0x19c)+_0x1e450f[_0x29e968(0x1c5)]),logger[_0x29e968(0x1da)](_0x29e968(0x1d2)+(_0x1e450f[_0x29e968(0x1b8)]||JSON[_0x29e968(0x1c4)](_0x1e450f))),await _0x2d9fb9[_0x29e968(0x1cd)](sleep),process[_0x29e968(0x1a6)](0x1);}(!_0x36cb90[_0x29e968(0x19f)]||!_0x36cb90['accessKey'])&&(logger[_0x29e968(0x1bf)](_0x2d9fb9[_0x29e968(0x1aa)]),await _0x2d9fb9[_0x29e968(0x1a2)](sleep),process[_0x29e968(0x1a6)](0x1));const _0x21596f=CLIUtils['getCliDir']();!_0x21596f&&(logger[_0x29e968(0x1bf)](_0x2d9fb9['kCsJH']),await _0x2d9fb9[_0x29e968(0x1cd)](sleep),process['exit'](0x1));let _0x2fadff=CLIUtils['getExistingCliPath'](_0x21596f);try{!_0x2fadff?(logger[_0x29e968(0x1da)](_0x2d9fb9[_0x29e968(0x1d7)]),_0x2fadff=await CLIUtils[_0x29e968(0x1c6)]('',_0x21596f,_0x36cb90)):(logger['debug'](_0x2d9fb9[_0x29e968(0x1ae)]),_0x2fadff=await CLIUtils['checkAndUpdateCli'](_0x2fadff,_0x21596f,_0x36cb90));}catch(_0x4e847e){logger[_0x29e968(0x1bf)](_0x2d9fb9[_0x29e968(0x1aa)]),logger[_0x29e968(0x1da)](_0x29e968(0x1be)+(_0x4e847e['stack']||JSON[_0x29e968(0x1c4)](_0x4e847e))),await _0x2d9fb9['sqRAL'](sleep),process['exit'](0x1);}!_0x2fadff&&(logger[_0x29e968(0x1bf)](_0x2d9fb9['IOdgX']),logger[_0x29e968(0x1da)](_0x2d9fb9[_0x29e968(0x1ca)]),await _0x2d9fb9[_0x29e968(0x1b3)](sleep),process[_0x29e968(0x1a6)](0x1));logger[_0x29e968(0x1da)](_0x29e968(0x1cb)+_0x2fadff+_0x29e968(0x1db)+_0x26cec0[_0x29e968(0x1d1)]('\x20'));const _0x3d1705=_0x2d9fb9[_0x29e968(0x1a4)](spawn,_0x2fadff,[_0x2d9fb9[_0x29e968(0x1c2)],..._0x26cec0],{'stdio':_0x2d9fb9[_0x29e968(0x1ad)]});let _0x52b5f6=![];const _0x45b4ce=new Promise(_0x503d9f=>{const _0x52174b=_0x29e968;_0x3d1705['on'](_0x2d9fb9[_0x52174b(0x1c3)],_0x49ddfd=>{const _0x5cc0c9=_0x52174b;logger[_0x5cc0c9(0x1da)](_0x2fadff+'\x20exited\x20with\x20code\x20'+_0x49ddfd),_0x2d9fb9['Ezjvf'](_0x503d9f,_0x49ddfd);});});[_0x2d9fb9['mwUmO'],_0x2d9fb9[_0x29e968(0x1d9)],_0x2d9fb9[_0x29e968(0x196)],_0x2d9fb9['uKZpA']][_0x29e968(0x1ba)](_0x3d15ee=>{process['on'](_0x3d15ee,()=>{const _0x1ecd6d=a28_0x2757;if(_0x52b5f6)return;_0x52b5f6=!![],logger[_0x1ecd6d(0x1da)](_0x1ecd6d(0x197)+_0x3d15ee+_0x1ecd6d(0x199)),_0x3d1705&&!_0x3d1705['killed']&&(_0x3d1705['kill'](_0x3d15ee),logger['debug'](_0x2d9fb9[_0x1ecd6d(0x1d0)]));});});const _0x1de79e=await _0x45b4ce;await _0x2d9fb9[_0x29e968(0x198)](sleep),process[_0x29e968(0x1a6)](_0x1de79e);}catch(_0x527279){logger[_0x29e968(0x1bf)](_0x29e968(0x1c9)+_0x527279['message']),logger[_0x29e968(0x1da)](_0x29e968(0x1d2)+(_0x527279[_0x29e968(0x1b8)]||JSON[_0x29e968(0x1c4)](_0x527279))),await _0x2d9fb9[_0x29e968(0x1b0)](sleep),process[_0x29e968(0x1a6)](0x1);}}module[a28_0x28e452(0x1a0)]=executeLoadTest;
@@ -1 +1 @@
1
- 'use strict';const a29_0x1ba689=a29_0xc9ab;(function(_0x5715f6,_0x1b5670){const _0x582914=a29_0xc9ab,_0x594a42=_0x5715f6();while(!![]){try{const _0xefd473=parseInt(_0x582914(0x9d))/0x1*(-parseInt(_0x582914(0x91))/0x2)+-parseInt(_0x582914(0x88))/0x3+-parseInt(_0x582914(0x7c))/0x4+parseInt(_0x582914(0x89))/0x5*(parseInt(_0x582914(0x84))/0x6)+parseInt(_0x582914(0x94))/0x7*(-parseInt(_0x582914(0x8b))/0x8)+-parseInt(_0x582914(0x99))/0x9+parseInt(_0x582914(0x77))/0xa;if(_0xefd473===_0x1b5670)break;else _0x594a42['push'](_0x594a42['shift']());}catch(_0x2dae6e){_0x594a42['push'](_0x594a42['shift']());}}}(a29_0x3c38,0x26650));const fs=require('fs'),path=require(a29_0x1ba689(0x9b)),logger=require(a29_0x1ba689(0x7d))[a29_0x1ba689(0x81)];function getLoadConfigPath(_0x4d05f1){const _0x128917=a29_0x1ba689,_0x4f5d20={};_0x4f5d20[_0x128917(0x8e)]=function(_0x13f2fe,_0xfefb12){return _0x13f2fe===_0xfefb12;},_0x4f5d20[_0x128917(0x80)]='load',_0x4f5d20[_0x128917(0xa2)]=function(_0x26ee2f,_0x499089){return _0x26ee2f===_0x499089;},_0x4f5d20[_0x128917(0x9e)]=_0x128917(0x76),_0x4f5d20['BpTAg']=_0x128917(0xa0),_0x4f5d20['rGAPf']=_0x128917(0x8f),_0x4f5d20[_0x128917(0x79)]=_0x128917(0x85),_0x4f5d20['xyNAn']=_0x128917(0xa1),_0x4f5d20[_0x128917(0x75)]='browserstack-load.yaml',_0x4f5d20['vrhXj']=_0x128917(0x87),_0x4f5d20['UMDKJ']='browserstack.yaml',_0x4f5d20['GCVsB']=_0x128917(0x7f);const _0x25bdff=_0x4f5d20;logger[_0x128917(0x7a)](_0x128917(0x86)+JSON['stringify'](_0x4d05f1));try{const _0x5a5e14=_0x4d05f1['_']||[],_0x303f91=_0x25bdff[_0x128917(0x8e)](_0x4d05f1['_'][0x0],_0x25bdff['gUoXw'])&&_0x25bdff[_0x128917(0xa2)](_0x4d05f1[_0x128917(0x97)],_0x25bdff['mupog']);if(_0x303f91){if(_0x4d05f1[_0x25bdff['BpTAg']]||_0x4d05f1['cf']){const _0x383afd=_0x4d05f1[_0x25bdff[_0x128917(0x92)]]||_0x4d05f1['cf'],_0x51fd26=path[_0x128917(0x9c)](_0x383afd);logger[_0x128917(0x7a)](_0x128917(0x93)+_0x383afd+_0x128917(0x90)+_0x51fd26);if(_0x51fd26['endsWith'](_0x25bdff[_0x128917(0x95)])||_0x51fd26[_0x128917(0x7b)](_0x25bdff[_0x128917(0x79)]))return logger['info'](_0x128917(0x78)+_0x51fd26),_0x51fd26;}}const _0x5ea4de=[_0x25bdff[_0x128917(0x83)],_0x25bdff[_0x128917(0x75)],_0x25bdff['vrhXj'],_0x25bdff[_0x128917(0x96)]];logger[_0x128917(0x7a)](_0x25bdff[_0x128917(0x7e)]);for(const _0x5b2021 of _0x5ea4de){const _0x3a0d77=path[_0x128917(0x9f)](process[_0x128917(0x8c)](),_0x5b2021);logger[_0x128917(0x7a)]('Checking\x20for:\x20'+_0x3a0d77);if(fs[_0x128917(0x9a)](_0x3a0d77))return logger['debug'](_0x128917(0x98)+_0x3a0d77),_0x3a0d77;}}catch(_0x952b2e){logger[_0x128917(0x8d)]('Failed\x20to\x20load\x20browserstack\x20config:\x20'+_0x952b2e['message']);}}function sleep(){return new Promise(_0x91d74a=>setTimeout(_0x91d74a,0x64));}const a29_0x2ba5a8={};a29_0x2ba5a8['getLoadConfigPath']=getLoadConfigPath,a29_0x2ba5a8[a29_0x1ba689(0x82)]=sleep,module[a29_0x1ba689(0x8a)]=a29_0x2ba5a8;function a29_0xc9ab(_0x36d697,_0x158c45){const _0x3c3831=a29_0x3c38();return a29_0xc9ab=function(_0xc9abfa,_0xf93dd3){_0xc9abfa=_0xc9abfa-0x75;let _0x2ffc8a=_0x3c3831[_0xc9abfa];return _0x2ffc8a;},a29_0xc9ab(_0x36d697,_0x158c45);}function a29_0x3c38(){const _0x4787f7=['endsWith','111292qmwptZ','../../helpers/logger','GCVsB','Checking\x20for\x20config\x20in\x20default\x20config\x20files...','gUoXw','winstonLogger','sleep','xyNAn','42jZkEuD','.yaml','Checking\x20for\x20config\x20file\x20with\x20arguments:\x20','browserstack.yml','907686YGyErR','204025sByhCo','exports','24728uzsLer','cwd','error','hVfZy','.yml','\x20and\x20Resolved\x20path:\x20','10410MYqmDz','BpTAg','Config\x20file\x20specified:\x20','462fwaoOi','rGAPf','UMDKJ','subcommand','Found\x20config\x20file:\x20','2040696oNWDbG','existsSync','path','resolve','55TzPhGd','mupog','join','config-file','browserstack-load.yml','PjUfN','BzSry','run','9190390YfjNMJ','Using\x20specified\x20config\x20file:\x20','ZvxOe','debug'];a29_0x3c38=function(){return _0x4787f7;};return a29_0x3c38();}
1
+ 'use strict';function a29_0x55f2(){const _0x319864=['Checking\x20for\x20config\x20in\x20default\x20config\x20files...','path','ZHvJm','join','NSTTV','1017ffDzUo','475328tsquIE','sleep','DDSSs','existsSync','4144740fkQFPm','browserstack.yml','debug','Using\x20specified\x20config\x20file:\x20','winstonLogger','run','akESC','531661xWGqLG','61120lLhuez','uJNBE','exports','Checking\x20for:\x20','121YSVSDT','browserstack-load.yaml','287uclRZV','subcommand','config-file','Failed\x20to\x20load\x20browserstack\x20config:\x20','browserstack-load.yml','\x20and\x20Resolved\x20path:\x20','stringify','cwd','6KQZlVL','348CQXeJb','WQNcE','12303pPRAWw','1126610LRMQBT','Checking\x20for\x20config\x20file\x20with\x20arguments:\x20','message','diszn','endsWith','524Bakjal','RQDdd','GFHcA','FCJRD','59196vQJZmj','BlWIg'];a29_0x55f2=function(){return _0x319864;};return a29_0x55f2();}function a29_0x19c7(_0x4f3938,_0x45838b){const _0x55f258=a29_0x55f2();return a29_0x19c7=function(_0x19c7a4,_0x336f11){_0x19c7a4=_0x19c7a4-0x139;let _0x53161b=_0x55f258[_0x19c7a4];return _0x53161b;},a29_0x19c7(_0x4f3938,_0x45838b);}const a29_0x22f5fe=a29_0x19c7;(function(_0x396edd,_0x2f7e49){const _0xb6e3e5=a29_0x19c7,_0x2c4362=_0x396edd();while(!![]){try{const _0x5d4b7d=-parseInt(_0xb6e3e5(0x141))/0x1*(-parseInt(_0xb6e3e5(0x15b))/0x2)+-parseInt(_0xb6e3e5(0x15e))/0x3*(-parseInt(_0xb6e3e5(0x164))/0x4)+-parseInt(_0xb6e3e5(0x145))/0x5+-parseInt(_0xb6e3e5(0x139))/0x6*(-parseInt(_0xb6e3e5(0x153))/0x7)+parseInt(_0xb6e3e5(0x14d))/0x8*(-parseInt(_0xb6e3e5(0x140))/0x9)+-parseInt(_0xb6e3e5(0x15f))/0xa*(-parseInt(_0xb6e3e5(0x151))/0xb)+parseInt(_0xb6e3e5(0x15c))/0xc*(-parseInt(_0xb6e3e5(0x14c))/0xd);if(_0x5d4b7d===_0x2f7e49)break;else _0x2c4362['push'](_0x2c4362['shift']());}catch(_0x5be3c9){_0x2c4362['push'](_0x2c4362['shift']());}}}(a29_0x55f2,0xb1e87));const fs=require('fs'),path=require(a29_0x22f5fe(0x13c)),logger=require('../../helpers/logger')[a29_0x22f5fe(0x149)];function getLoadConfigPath(_0x56e7d9){const _0x1c5f27=a29_0x22f5fe,_0x3c3abd={};_0x3c3abd['WQNcE']=function(_0x4d0d14,_0x27706b){return _0x4d0d14===_0x27706b;},_0x3c3abd['akESC']='load',_0x3c3abd[_0x1c5f27(0x167)]=_0x1c5f27(0x14a),_0x3c3abd[_0x1c5f27(0x143)]=_0x1c5f27(0x155),_0x3c3abd[_0x1c5f27(0x13a)]='.yml',_0x3c3abd[_0x1c5f27(0x166)]='.yaml',_0x3c3abd[_0x1c5f27(0x14e)]=_0x1c5f27(0x157),_0x3c3abd[_0x1c5f27(0x13f)]=_0x1c5f27(0x152),_0x3c3abd['RQDdd']=_0x1c5f27(0x146),_0x3c3abd[_0x1c5f27(0x162)]='browserstack.yaml',_0x3c3abd[_0x1c5f27(0x13d)]=_0x1c5f27(0x13b);const _0x26a5f2=_0x3c3abd;logger[_0x1c5f27(0x147)](_0x1c5f27(0x160)+JSON[_0x1c5f27(0x159)](_0x56e7d9));try{const _0x1d9268=_0x56e7d9['_']||[],_0x4bfa15=_0x26a5f2[_0x1c5f27(0x15d)](_0x56e7d9['_'][0x0],_0x26a5f2[_0x1c5f27(0x14b)])&&_0x26a5f2[_0x1c5f27(0x15d)](_0x56e7d9[_0x1c5f27(0x154)],_0x26a5f2[_0x1c5f27(0x167)]);if(_0x4bfa15){if(_0x56e7d9[_0x26a5f2[_0x1c5f27(0x143)]]||_0x56e7d9['cf']){const _0x46a17f=_0x56e7d9[_0x26a5f2[_0x1c5f27(0x143)]]||_0x56e7d9['cf'],_0x5d3c87=path['resolve'](_0x46a17f);logger[_0x1c5f27(0x147)]('Config\x20file\x20specified:\x20'+_0x46a17f+_0x1c5f27(0x158)+_0x5d3c87);if(_0x5d3c87[_0x1c5f27(0x163)](_0x26a5f2['BlWIg'])||_0x5d3c87[_0x1c5f27(0x163)](_0x26a5f2['GFHcA']))return logger['info'](_0x1c5f27(0x148)+_0x5d3c87),_0x5d3c87;}}const _0x39c8b=[_0x26a5f2[_0x1c5f27(0x14e)],_0x26a5f2['NSTTV'],_0x26a5f2[_0x1c5f27(0x165)],_0x26a5f2[_0x1c5f27(0x162)]];logger['debug'](_0x26a5f2[_0x1c5f27(0x13d)]);for(const _0x53f4a8 of _0x39c8b){const _0x2d4a68=path[_0x1c5f27(0x13e)](process[_0x1c5f27(0x15a)](),_0x53f4a8);logger[_0x1c5f27(0x147)](_0x1c5f27(0x150)+_0x2d4a68);if(fs[_0x1c5f27(0x144)](_0x2d4a68))return logger[_0x1c5f27(0x147)]('Found\x20config\x20file:\x20'+_0x2d4a68),_0x2d4a68;}}catch(_0xb1fcf6){logger['error'](_0x1c5f27(0x156)+_0xb1fcf6[_0x1c5f27(0x161)]);}}function sleep(){return new Promise(_0x5040bf=>setTimeout(_0x5040bf,0x64));}const a29_0x3e3646={};a29_0x3e3646['getLoadConfigPath']=getLoadConfigPath,a29_0x3e3646[a29_0x22f5fe(0x142)]=sleep,module[a29_0x22f5fe(0x14f)]=a29_0x3e3646;
@@ -1 +1 @@
1
- const a30_0x29c6ed=a30_0x2ff7;(function(_0x540531,_0x347ce3){const _0x5cdf0b=a30_0x2ff7,_0xf9bf89=_0x540531();while(!![]){try{const _0xff77b6=-parseInt(_0x5cdf0b(0xd8))/0x1*(-parseInt(_0x5cdf0b(0x103))/0x2)+-parseInt(_0x5cdf0b(0xdb))/0x3+-parseInt(_0x5cdf0b(0xc2))/0x4+-parseInt(_0x5cdf0b(0x100))/0x5+-parseInt(_0x5cdf0b(0xe1))/0x6+parseInt(_0x5cdf0b(0xdd))/0x7+parseInt(_0x5cdf0b(0x105))/0x8;if(_0xff77b6===_0x347ce3)break;else _0xf9bf89['push'](_0xf9bf89['shift']());}catch(_0x277926){_0xf9bf89['push'](_0xf9bf89['shift']());}}}(a30_0x199e,0x2dfe0));const path=require(a30_0x29c6ed(0xe4)),os=require('os'),util=require('util'),bsSetupHelper=require('../../../helpers/helper'),globals=require(a30_0x29c6ed(0xd3)),accessibilityHelper=require(a30_0x29c6ed(0xc5)),logger=require(a30_0x29c6ed(0xc4))['winstonLogger'];exports[a30_0x29c6ed(0xe3)]=_0x5bff40=>{const _0x3aed0a=a30_0x29c6ed,_0x39cbad={};_0x39cbad[_0x3aed0a(0x106)]=function(_0x55176d,_0x1f557d){return _0x55176d>_0x1f557d;},_0x39cbad[_0x3aed0a(0xea)]=_0x3aed0a(0xe0),_0x39cbad[_0x3aed0a(0xcd)]='browserstack.accessibility',_0x39cbad[_0x3aed0a(0xf2)]=_0x3aed0a(0xc8),_0x39cbad[_0x3aed0a(0x110)]=_0x3aed0a(0xb9);const _0x54c697=_0x39cbad;try{const _0x488e80=_0x54c697[_0x3aed0a(0x106)](Object[_0x3aed0a(0xf8)](_0x5bff40[_0x3aed0a(0xe8)])[_0x3aed0a(0xc7)],0x0)?_0x5bff40[_0x3aed0a(0xe8)]:_0x54c697[_0x3aed0a(0x106)](Object[_0x3aed0a(0xf8)](_0x5bff40[_0x3aed0a(0xb5)])['length'],0x0)?_0x5bff40[_0x3aed0a(0xb5)][0x0]:{};if(_0x488e80[_0x54c697[_0x3aed0a(0xea)]]&&_0x488e80[_0x54c697[_0x3aed0a(0xea)]][_0x3aed0a(0xfe)]||_0x5bff40[_0x3aed0a(0xe8)][_0x54c697['Gttmb']]){globals[_0x3aed0a(0xb4)](_0x54c697[_0x3aed0a(0xf2)],!![]);if(_0x488e80[_0x54c697[_0x3aed0a(0xea)]]){if(_0x488e80[_0x54c697['NsGrB']][_0x3aed0a(0xda)])_0x488e80[_0x54c697[_0x3aed0a(0xea)]]['accessibilityOptions']['authToken']=process[_0x3aed0a(0x10a)]['BS_A11Y_JWT'];else{const _0x4fa92c={};_0x4fa92c[_0x3aed0a(0xbb)]=process[_0x3aed0a(0x10a)][_0x3aed0a(0x109)],_0x488e80[_0x54c697[_0x3aed0a(0xea)]][_0x3aed0a(0xda)]=_0x4fa92c;}_0x488e80[_0x54c697[_0x3aed0a(0xea)]][_0x3aed0a(0xda)][_0x3aed0a(0xf7)]=JSON['parse'](process[_0x3aed0a(0x10a)][_0x3aed0a(0xe9)])[_0x3aed0a(0xf7)];}else{if(_0x5bff40[_0x3aed0a(0xe8)][_0x54c697[_0x3aed0a(0xcd)]]){if(_0x488e80[_0x54c697[_0x3aed0a(0x110)]])_0x488e80[_0x54c697['unIhA']][_0x3aed0a(0xbb)]=process['env'][_0x3aed0a(0x109)];else{const _0x511fe3={};_0x511fe3[_0x3aed0a(0xbb)]=process[_0x3aed0a(0x10a)][_0x3aed0a(0x109)],_0x488e80[_0x54c697[_0x3aed0a(0x110)]]=_0x511fe3;}_0x488e80[_0x54c697[_0x3aed0a(0x110)]][_0x3aed0a(0xf7)]=JSON['parse'](process['env'][_0x3aed0a(0xe9)])[_0x3aed0a(0xf7)];}}}}catch(_0x5e6242){logger[_0x3aed0a(0x10c)](_0x3aed0a(0xbc)+_0x5e6242);}},exports[a30_0x29c6ed(0x10e)]=(_0x1e9d99,_0x3cc0e9)=>{const _0x377cb3=a30_0x29c6ed,_0x451fbe={};_0x451fbe[_0x377cb3(0xf0)]=_0x377cb3(0xe0),_0x451fbe[_0x377cb3(0xff)]=function(_0x5eb3a8,_0x3a1835){return _0x5eb3a8!==_0x3a1835;},_0x451fbe[_0x377cb3(0xc9)]=function(_0xa7d9ad,_0x340df4){return _0xa7d9ad===_0x340df4;},_0x451fbe[_0x377cb3(0xbf)]='android',_0x451fbe[_0x377cb3(0xd4)]=_0x377cb3(0xf9),_0x451fbe['tMMwv']=_0x377cb3(0xec),_0x451fbe[_0x377cb3(0xd2)]=_0x377cb3(0xc8),_0x451fbe['TjToQ']=_0x377cb3(0xba),_0x451fbe[_0x377cb3(0x101)]=_0x377cb3(0xcf),_0x451fbe[_0x377cb3(0xd7)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.',_0x451fbe[_0x377cb3(0xd0)]=_0x377cb3(0x10d),_0x451fbe[_0x377cb3(0xe7)]=_0x377cb3(0xf1),_0x451fbe['QcsIY']=_0x377cb3(0xb6),_0x451fbe[_0x377cb3(0xc1)]=_0x377cb3(0xca),_0x451fbe[_0x377cb3(0xe2)]=_0x377cb3(0xc3),_0x451fbe[_0x377cb3(0xb2)]=_0x377cb3(0xce),_0x451fbe['XoyJq']=_0x377cb3(0xf5),_0x451fbe[_0x377cb3(0xb0)]='chromeOptions',_0x451fbe[_0x377cb3(0x102)]='goog:chromeOptions',_0x451fbe[_0x377cb3(0xfd)]=_0x377cb3(0xc6);const _0xb345b4=_0x451fbe;try{const _0x489cfd=_0x3cc0e9[_0x377cb3(0xe8)]||{},_0x10a7a6=(_0x489cfd[_0xb345b4['IDVcX']]?_0x489cfd[_0xb345b4['IDVcX']][_0x377cb3(0xef)]:_0x489cfd['device'])||'';if(_0xb345b4[_0x377cb3(0xff)](_0x10a7a6,'')){const _0x498262=(_0x489cfd[_0xb345b4[_0x377cb3(0xf0)]]?_0x489cfd[_0xb345b4[_0x377cb3(0xf0)]][_0x377cb3(0xde)]:_0x489cfd[_0x377cb3(0xde)])||'',_0x4a6a75=_0x489cfd[_0x377cb3(0xf6)]||_0x1e9d99[_0x377cb3(0x108)][_0x377cb3(0xdf)]()||'';if(_0xb345b4[_0x377cb3(0xc9)](_0x498262[_0x377cb3(0x10f)](),_0xb345b4[_0x377cb3(0xbf)])&&_0x4a6a75[_0x377cb3(0x10f)]()[_0x377cb3(0xcb)](_0xb345b4['hCIuL'])){const _0x17616f=_0xb345b4[_0x377cb3(0xfb)][_0x377cb3(0xf4)]('|');let _0x22dd75=0x0;while(!![]){switch(_0x17616f[_0x22dd75++]){case'0':globals[_0x377cb3(0xb4)](_0xb345b4[_0x377cb3(0xd2)],!![]);continue;case'1':logger[_0x377cb3(0xe5)](_0xb345b4[_0x377cb3(0x10b)]);continue;case'2':return!![];case'3':if(!accessibilityHelper[_0x377cb3(0xe6)]())return logger[_0x377cb3(0xd1)](accessibilityHelper[_0x377cb3(0xc0)]),![];continue;case'4':globals['setGlobal'](_0xb345b4[_0x377cb3(0x101)],!![]);continue;}break;}}return logger[_0x377cb3(0xd1)](_0xb345b4['ahvkL']),![];}const _0x2def2b=_0x489cfd[_0x377cb3(0xf6)]||_0x1e9d99[_0x377cb3(0x108)][_0x377cb3(0xdf)](),_0x26de08=_0x489cfd['browserVersion']||_0x489cfd[_0x377cb3(0xfa)]||_0x1e9d99[_0x377cb3(0x108)]['getBrowserVersion']();if(!accessibilityHelper[_0x377cb3(0xed)](_0x2def2b))return logger[_0x377cb3(0xd1)](_0xb345b4['WCKRG']),![];if(!bsSetupHelper['isUndefined'](_0x26de08)&&_0xb345b4[_0x377cb3(0xff)](_0x26de08,_0xb345b4[_0x377cb3(0xe7)])){const _0x3931ba=bsSetupHelper[_0x377cb3(0xfc)](),_0x4021f3=accessibilityHelper['getMinVersionForBrowser'](_0x2def2b,_0x3931ba),_0x5e332f=accessibilityHelper['getBrowserDisplayName'](_0x2def2b);if(!accessibilityHelper[_0x377cb3(0xdc)](_0x26de08,_0x4021f3)){const _0xd6dd92=_0x3931ba?'':_0xb345b4['QcsIY'];return logger[_0x377cb3(0xd1)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x5e332f+'\x20browser\x20version\x20'+_0x4021f3+'\x20or\x20higher\x20'+_0xd6dd92+'.'),![];}}if(!accessibilityHelper['requiresChromeOptionsValidation'](_0x2def2b))return!![];let _0x4089bb;try{_0x4089bb=bsSetupHelper[_0x377cb3(0xb3)](_0xb345b4[_0x377cb3(0xc1)],_0xb345b4[_0x377cb3(0xe2)]);}catch(_0x2fdd1a){return![];}const _0x59c4cb=new _0x4089bb[(_0x377cb3(0x104))](_0x1e9d99[_0x377cb3(0xee)]),_0x30c694=bsSetupHelper[_0x377cb3(0xb8)](_0x59c4cb,[_0xb345b4[_0x377cb3(0xb2)],_0xb345b4[_0x377cb3(0xbe)]])||bsSetupHelper['nestedKeyValue'](_0x1e9d99[_0x377cb3(0x108)][_0x377cb3(0xb1)](_0xb345b4['IDVcX']),[_0xb345b4[_0x377cb3(0xb0)],_0xb345b4[_0x377cb3(0xbe)]])||bsSetupHelper['nestedKeyValue'](_0x1e9d99[_0x377cb3(0x108)][_0x377cb3(0xb1)](_0xb345b4[_0x377cb3(0xb0)]),[_0xb345b4['XoyJq']])||bsSetupHelper[_0x377cb3(0xb8)](_0x1e9d99[_0x377cb3(0x108)][_0x377cb3(0xb1)](_0xb345b4['RcdAe']),[_0xb345b4[_0x377cb3(0xbe)]])||[],_0x553c48=Array['isArray'](_0x30c694)?_0x30c694:[];if(_0x553c48[_0x377cb3(0x111)](_0x32a45a=>typeof _0x32a45a===_0x377cb3(0xf3)&&(_0x32a45a===_0x377cb3(0xd9)||_0x32a45a['startsWith']('--headless=')&&_0x32a45a!=='--headless=new')))return logger['warn'](_0xb345b4['JtTlZ']),![];return!![];}catch(_0x34f89){logger[_0x377cb3(0x10c)](_0x377cb3(0xd5)+util['format'](_0x34f89));}return![];},exports['fetchPlatformDetails']=async _0x44360c=>{const _0x1c56b4=a30_0x29c6ed,_0x16595d={};_0x16595d[_0x1c56b4(0xbd)]=function(_0xf12124,_0xc86f62){return _0xf12124===_0xc86f62;},_0x16595d[_0x1c56b4(0xb7)]=_0x1c56b4(0xcc);const _0x5c3e88=_0x16595d;let _0x4c2827={};try{const _0x5f0b8a=await _0x44360c[_0x1c56b4(0xd6)]();_0x4c2827={'os_name':_0x5f0b8a[_0x1c56b4(0xeb)](),'os_version':bsSetupHelper[_0x1c56b4(0xaf)](_0x5c3e88[_0x1c56b4(0xbd)](global[_0x1c56b4(0x107)],_0x5c3e88[_0x1c56b4(0xb7)])),'browser_name':_0x5f0b8a[_0x1c56b4(0xdf)](),'browser_version':_0x5f0b8a['getBrowserVersion']()};}catch(_0x4dbf12){logger[_0x1c56b4(0x10c)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x4dbf12);}return _0x4c2827;};function a30_0x2ff7(_0x3df963,_0x3de02b){const _0x199edc=a30_0x199e();return a30_0x2ff7=function(_0x2ff7c0,_0x588be2){_0x2ff7c0=_0x2ff7c0-0xaf;let _0x1d10ec=_0x199edc[_0x2ff7c0];return _0x1d10ec;},a30_0x2ff7(_0x3df963,_0x3de02b);}function a30_0x199e(){const _0x37dec2=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NsGrB','getPlatform','3|1|0|4|2','isBrowserSupportedForAccessibility','chromeOptions_','deviceName','IDVcX','latest','TvdwR','string','split','args','browserName','scannerVersion','keys','chrome','browser_version','tMMwv','isBrowserstackInfra','JtTlZ','accessibility','CENZQ','1077825tYeIpt','iFwJV','RcdAe','29252qUJRnk','Options','761840zVMOaK','Hhtpg','__cloud_provider___','capabilities_','BS_A11Y_JWT','env','TjToQ','debug','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','setExtension','toLowerCase','unIhA','some','getPlatformVersion','jZLhR','get','UuvZW','requireModule','setGlobal','capabilities','on\x20non-BrowserStack\x20infrastructure\x20','tvPiX','nestedKeyValue','browserstack.accessibilityOptions','Accessibility\x20Automation\x20is\x20enabled\x20for\x20Android\x20mobile\x20browser\x20(Chrome).\x20Skipping\x20extension\x20setup.','authToken','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','bURAP','XoyJq','aHHWq','MOBILE_SCANNING_DISABLED_WARNING','PKTcR','287276ButvQE','selenium-webdriver','../../../helpers/logger','../../../helpers/accessibility-automation/helper','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','length','isAccessibilityPlatform','pSRBU','selenium-webdriver/chrome.js','includes','browserstack','Gttmb','options_','isMobilePlatform','WCKRG','warn','Tnzxs','../../../helpers/globals','hCIuL','Exception\x20in\x20setExtension\x20Error:\x20','getCapabilities','ahvkL','23AOhZVO','--headless','accessibilityOptions','710541GQInKH','isVersionSupported','2109618VEKYzO','platformName','getBrowserName','bstack:options','122322rknGVA','OPHGD','setAccessibilityCapabilities','path','info','isMobileScanningEnabledForGroup','HwDMo','capability'];a30_0x199e=function(){return _0x37dec2;};return a30_0x199e();}
1
+ const a30_0xddac6f=a30_0x21e0;(function(_0x1e4fd3,_0x2ece86){const _0x4d8034=a30_0x21e0,_0x18e678=_0x1e4fd3();while(!![]){try{const _0x56cfb0=parseInt(_0x4d8034(0x1cf))/0x1*(parseInt(_0x4d8034(0x1aa))/0x2)+-parseInt(_0x4d8034(0x1bf))/0x3+-parseInt(_0x4d8034(0x189))/0x4+-parseInt(_0x4d8034(0x168))/0x5+-parseInt(_0x4d8034(0x19d))/0x6*(-parseInt(_0x4d8034(0x1c1))/0x7)+parseInt(_0x4d8034(0x1cc))/0x8+-parseInt(_0x4d8034(0x193))/0x9*(parseInt(_0x4d8034(0x177))/0xa);if(_0x56cfb0===_0x2ece86)break;else _0x18e678['push'](_0x18e678['shift']());}catch(_0x457b81){_0x18e678['push'](_0x18e678['shift']());}}}(a30_0x400f,0x346aa));function a30_0x21e0(_0x3d8f43,_0x593b6e){const _0x400fac=a30_0x400f();return a30_0x21e0=function(_0x21e062,_0x764869){_0x21e062=_0x21e062-0x161;let _0x2a7437=_0x400fac[_0x21e062];return _0x2a7437;},a30_0x21e0(_0x3d8f43,_0x593b6e);}function a30_0x400f(){const _0x31672b=['WbJrV','97764xwdLVQ','setGlobal','android','capability','platformName','args','uqDrJ','__cloud_provider___','capabilities','../../../helpers/globals','1741959BFsIgc','warn','browserstack.accessibility','browserstack.accessibilityOptions','options_','getBrowserVersion','hSxmF','lXWlY','getBrowserDisplayName','isUndefined','1148442SGcDci','Accessibility\x20Automation\x20is\x20enabled\x20for\x20Android\x20mobile\x20browser\x20(Chrome).\x20Skipping\x20extension\x20setup.','path','goog:chromeOptions','accessibility','requiresChromeOptionsValidation','length','format','keys','--headless=new','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','VldWu','../../../helpers/accessibility-automation/helper','2esfwvg','rTXtS','dmvHj','--headless','getBrowserName','browserVersion','deviceName','OvWmW','rxAho','MHIhf','uwblm','chrome','selenium-webdriver','OkvsU','setAccessibilityCapabilities','latest','authToken','scannerVersion','GRJXv','accessibilityOptions','chromeOptions','395868CgUyiM','tjnzl','14WJyKuu','requireModule','WEtgS','isMobilePlatform','BS_A11Y_JWT','device','getPlatform','tmNsL','Exception\x20in\x20setExtension\x20Error:\x20','startsWith','\x20browser\x20version\x20','1134320svDCgw','isBrowserstackInfra','ARWJy','149191KniLIA','../../../helpers/logger','isBrowserSupportedForAccessibility','get','on\x20non-BrowserStack\x20infrastructure\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','toLowerCase','browser_version','545745yWNaJQ','Jrdud','Options','UiqoY','nestedKeyValue','xxKZN','winstonLogger','env','selenium-webdriver/chrome.js','TBNAm','bstack:options','browserName','info','woEul','string','10ihOcVa','parse','TXfUZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','XQFkC','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','xjwSy','lCaAq','some','debug','isAccessibilityPlatform','capabilities_','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','XBJAa','XZmnQ','setExtension','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];a30_0x400f=function(){return _0x31672b;};return a30_0x400f();}const path=require(a30_0xddac6f(0x19f)),os=require('os'),util=require('util'),bsSetupHelper=require('../../../helpers/helper'),globals=require(a30_0xddac6f(0x192)),accessibilityHelper=require(a30_0xddac6f(0x1a9)),logger=require(a30_0xddac6f(0x161))[a30_0xddac6f(0x16e)];exports[a30_0xddac6f(0x1b8)]=_0x57bab4=>{const _0x3c7f7e=a30_0xddac6f,_0x71df3c={};_0x71df3c[_0x3c7f7e(0x1c8)]=function(_0x3a6658,_0x9e583d){return _0x3a6658>_0x9e583d;},_0x71df3c['Jrdud']=function(_0x4a9726,_0x5bc509){return _0x4a9726>_0x5bc509;},_0x71df3c[_0x3c7f7e(0x1b4)]=_0x3c7f7e(0x172),_0x71df3c['ARWJy']=_0x3c7f7e(0x195),_0x71df3c['MHIhf']=_0x3c7f7e(0x181),_0x71df3c[_0x3c7f7e(0x1ab)]=_0x3c7f7e(0x196);const _0x46463d=_0x71df3c;try{const _0x34f164=_0x46463d['tmNsL'](Object['keys'](_0x57bab4[_0x3c7f7e(0x18c)])[_0x3c7f7e(0x1a3)],0x0)?_0x57bab4[_0x3c7f7e(0x18c)]:_0x46463d[_0x3c7f7e(0x169)](Object[_0x3c7f7e(0x1a5)](_0x57bab4[_0x3c7f7e(0x191)])[_0x3c7f7e(0x1a3)],0x0)?_0x57bab4['capabilities'][0x0]:{};if(_0x34f164[_0x46463d[_0x3c7f7e(0x1b4)]]&&_0x34f164[_0x46463d[_0x3c7f7e(0x1b4)]][_0x3c7f7e(0x1a1)]||_0x57bab4['capability'][_0x46463d[_0x3c7f7e(0x1ce)]]){globals[_0x3c7f7e(0x18a)](_0x46463d[_0x3c7f7e(0x1b3)],!![]);if(_0x34f164[_0x46463d[_0x3c7f7e(0x1b4)]]){if(_0x34f164[_0x46463d['uwblm']][_0x3c7f7e(0x1bd)])_0x34f164[_0x46463d[_0x3c7f7e(0x1b4)]][_0x3c7f7e(0x1bd)]['authToken']=process[_0x3c7f7e(0x16f)][_0x3c7f7e(0x1c5)];else{const _0x28378f={};_0x28378f['authToken']=process[_0x3c7f7e(0x16f)][_0x3c7f7e(0x1c5)],_0x34f164[_0x46463d[_0x3c7f7e(0x1b4)]][_0x3c7f7e(0x1bd)]=_0x28378f;}_0x34f164[_0x46463d[_0x3c7f7e(0x1b4)]]['accessibilityOptions'][_0x3c7f7e(0x1bb)]=JSON['parse'](process[_0x3c7f7e(0x16f)][_0x3c7f7e(0x187)])[_0x3c7f7e(0x1bb)];}else{if(_0x57bab4['capability'][_0x46463d['ARWJy']]){if(_0x34f164[_0x46463d['rTXtS']])_0x34f164[_0x46463d[_0x3c7f7e(0x1ab)]][_0x3c7f7e(0x1ba)]=process['env'][_0x3c7f7e(0x1c5)];else{const _0x1d3bdf={};_0x1d3bdf[_0x3c7f7e(0x1ba)]=process['env'][_0x3c7f7e(0x1c5)],_0x34f164[_0x46463d['rTXtS']]=_0x1d3bdf;}_0x34f164[_0x46463d[_0x3c7f7e(0x1ab)]][_0x3c7f7e(0x1bb)]=JSON[_0x3c7f7e(0x178)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x3c7f7e(0x1bb)];}}}}catch(_0x447766){logger['debug']('Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20'+_0x447766);}},exports[a30_0xddac6f(0x186)]=(_0x41c833,_0x6e45df)=>{const _0x113e8f=a30_0xddac6f,_0x58e381={};_0x58e381[_0x113e8f(0x171)]='bstack:options',_0x58e381[_0x113e8f(0x19a)]=function(_0x3c0529,_0xdf087c){return _0x3c0529!==_0xdf087c;},_0x58e381[_0x113e8f(0x175)]=function(_0x7057a5,_0x569161){return _0x7057a5===_0x569161;},_0x58e381[_0x113e8f(0x1c3)]=_0x113e8f(0x18b),_0x58e381[_0x113e8f(0x188)]=_0x113e8f(0x1b5),_0x58e381[_0x113e8f(0x199)]='0|2|3|1|4',_0x58e381[_0x113e8f(0x18f)]=_0x113e8f(0x1c4),_0x58e381[_0x113e8f(0x179)]=_0x113e8f(0x19e),_0x58e381[_0x113e8f(0x1c0)]='isAccessibilityPlatform',_0x58e381[_0x113e8f(0x16d)]=_0x113e8f(0x183),_0x58e381[_0x113e8f(0x184)]=_0x113e8f(0x17a),_0x58e381[_0x113e8f(0x1b2)]=_0x113e8f(0x1b9),_0x58e381[_0x113e8f(0x1a8)]=_0x113e8f(0x164),_0x58e381[_0x113e8f(0x17d)]=_0x113e8f(0x170),_0x58e381[_0x113e8f(0x1b1)]=_0x113e8f(0x1b6),_0x58e381[_0x113e8f(0x1ac)]=_0x113e8f(0x197),_0x58e381['OkvsU']=_0x113e8f(0x18e),_0x58e381['lCaAq']=_0x113e8f(0x1be),_0x58e381[_0x113e8f(0x16b)]=_0x113e8f(0x1a0),_0x58e381['XZmnQ']=_0x113e8f(0x17c);const _0x228e66=_0x58e381;try{const _0x2f37b6=_0x6e45df[_0x113e8f(0x18c)]||{},_0x10b840=(_0x2f37b6[_0x228e66[_0x113e8f(0x171)]]?_0x2f37b6[_0x228e66[_0x113e8f(0x171)]][_0x113e8f(0x1b0)]:_0x2f37b6[_0x113e8f(0x1c6)])||'';if(_0x228e66[_0x113e8f(0x19a)](_0x10b840,'')){const _0x1d726b=(_0x2f37b6[_0x228e66['TBNAm']]?_0x2f37b6[_0x228e66['TBNAm']][_0x113e8f(0x18d)]:_0x2f37b6[_0x113e8f(0x18d)])||'',_0x17ec7b=_0x2f37b6[_0x113e8f(0x173)]||_0x41c833[_0x113e8f(0x182)][_0x113e8f(0x1ae)]()||'';if(_0x228e66[_0x113e8f(0x175)](_0x1d726b[_0x113e8f(0x166)](),_0x228e66['WEtgS'])&&_0x17ec7b[_0x113e8f(0x166)]()['includes'](_0x228e66[_0x113e8f(0x188)])){const _0x3833d8=_0x228e66[_0x113e8f(0x199)]['split']('|');let _0x11a2e4=0x0;while(!![]){switch(_0x3833d8[_0x11a2e4++]){case'0':if(!accessibilityHelper['isMobileScanningEnabledForGroup']())return logger[_0x113e8f(0x194)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),![];continue;case'1':globals[_0x113e8f(0x18a)](_0x228e66[_0x113e8f(0x18f)],!![]);continue;case'2':logger[_0x113e8f(0x174)](_0x228e66[_0x113e8f(0x179)]);continue;case'3':globals['setGlobal'](_0x228e66[_0x113e8f(0x1c0)],!![]);continue;case'4':return!![];}break;}}return logger[_0x113e8f(0x194)](_0x228e66[_0x113e8f(0x16d)]),![];}const _0x5777b7=_0x2f37b6[_0x113e8f(0x173)]||_0x41c833[_0x113e8f(0x182)][_0x113e8f(0x1ae)](),_0x4815b0=_0x2f37b6[_0x113e8f(0x1af)]||_0x2f37b6[_0x113e8f(0x167)]||_0x41c833['capabilities_'][_0x113e8f(0x198)]();if(!accessibilityHelper[_0x113e8f(0x162)](_0x5777b7))return logger[_0x113e8f(0x194)](_0x228e66[_0x113e8f(0x184)]),![];if(!bsSetupHelper[_0x113e8f(0x19c)](_0x4815b0)&&_0x228e66['lXWlY'](_0x4815b0,_0x228e66[_0x113e8f(0x1b2)])){const _0x1830bd=bsSetupHelper[_0x113e8f(0x1cd)](),_0x43fa01=accessibilityHelper['getMinVersionForBrowser'](_0x5777b7,_0x1830bd),_0x47f470=accessibilityHelper[_0x113e8f(0x19b)](_0x5777b7);if(!accessibilityHelper['isVersionSupported'](_0x4815b0,_0x43fa01)){const _0x560d80=_0x1830bd?'':_0x228e66[_0x113e8f(0x1a8)];return logger['warn'](_0x113e8f(0x165)+_0x47f470+_0x113e8f(0x1cb)+_0x43fa01+'\x20or\x20higher\x20'+_0x560d80+'.'),![];}}if(!accessibilityHelper[_0x113e8f(0x1a2)](_0x5777b7))return!![];let _0x390cb8;try{_0x390cb8=bsSetupHelper[_0x113e8f(0x1c2)](_0x228e66[_0x113e8f(0x17d)],_0x228e66[_0x113e8f(0x1b1)]);}catch(_0x509f47){return![];}const _0x521c35=new _0x390cb8[(_0x113e8f(0x16a))](_0x41c833['chromeOptions_']),_0x598df3=bsSetupHelper[_0x113e8f(0x16c)](_0x521c35,[_0x228e66['dmvHj'],_0x228e66[_0x113e8f(0x1b7)]])||bsSetupHelper['nestedKeyValue'](_0x41c833[_0x113e8f(0x182)]['get'](_0x228e66['TBNAm']),[_0x228e66[_0x113e8f(0x17e)],_0x228e66[_0x113e8f(0x1b7)]])||bsSetupHelper['nestedKeyValue'](_0x41c833[_0x113e8f(0x182)]['get'](_0x228e66[_0x113e8f(0x17e)]),[_0x228e66[_0x113e8f(0x1b7)]])||bsSetupHelper[_0x113e8f(0x16c)](_0x41c833[_0x113e8f(0x182)][_0x113e8f(0x163)](_0x228e66['UiqoY']),[_0x228e66[_0x113e8f(0x1b7)]])||[],_0x57c6a8=Array['isArray'](_0x598df3)?_0x598df3:[];if(_0x57c6a8[_0x113e8f(0x17f)](_0x2260ba=>typeof _0x2260ba===_0x113e8f(0x176)&&(_0x2260ba===_0x113e8f(0x1ad)||_0x2260ba[_0x113e8f(0x1ca)]('--headless=')&&_0x2260ba!==_0x113e8f(0x1a6))))return logger[_0x113e8f(0x194)](_0x228e66[_0x113e8f(0x185)]),![];return!![];}catch(_0x23122d){logger['debug'](_0x113e8f(0x1c9)+util[_0x113e8f(0x1a4)](_0x23122d));}return![];},exports['fetchPlatformDetails']=async _0x49609e=>{const _0x40a0c5=a30_0xddac6f,_0x2e8e8e={};_0x2e8e8e[_0x40a0c5(0x17b)]=function(_0x7b5cbf,_0x5cc44d){return _0x7b5cbf===_0x5cc44d;},_0x2e8e8e[_0x40a0c5(0x1bc)]='browserstack';const _0xc7b361=_0x2e8e8e;let _0x5b1be0={};try{const _0x5a08ec=await _0x49609e['getCapabilities']();_0x5b1be0={'os_name':_0x5a08ec[_0x40a0c5(0x1c7)](),'os_version':bsSetupHelper['getPlatformVersion'](_0xc7b361[_0x40a0c5(0x17b)](global[_0x40a0c5(0x190)],_0xc7b361[_0x40a0c5(0x1bc)])),'browser_name':_0x5a08ec[_0x40a0c5(0x1ae)](),'browser_version':_0x5a08ec['getBrowserVersion']()};}catch(_0x117283){logger[_0x40a0c5(0x180)](_0x40a0c5(0x1a7)+_0x117283);}return _0x5b1be0;};
@@ -1 +1 @@
1
- 'use strict';const a31_0x4d0456=a31_0x5e1d;(function(_0x3ea957,_0x1b2e1f){const _0xe8a34b=a31_0x5e1d,_0x39ebc8=_0x3ea957();while(!![]){try{const _0x3cf214=-parseInt(_0xe8a34b(0x2a0))/0x1+parseInt(_0xe8a34b(0x2ef))/0x2+parseInt(_0xe8a34b(0x2ea))/0x3+parseInt(_0xe8a34b(0x2bd))/0x4*(-parseInt(_0xe8a34b(0x28a))/0x5)+-parseInt(_0xe8a34b(0x234))/0x6+parseInt(_0xe8a34b(0x2a2))/0x7*(parseInt(_0xe8a34b(0x1ef))/0x8)+parseInt(_0xe8a34b(0x307))/0x9;if(_0x3cf214===_0x1b2e1f)break;else _0x39ebc8['push'](_0x39ebc8['shift']());}catch(_0x42863d){_0x39ebc8['push'](_0x39ebc8['shift']());}}}(a31_0x31e8,0xd78fd));function a31_0x31e8(){const _0x28e30e=['VrkHV','glDjW','constants','_paths','uPzPc','write','scope','root','join','toISOString','match','mvuCD','state','comma','<h1>','../../utils/constants','SkBHB','AxsIW','NxYZi','moNzu','thTestRunUuid','removeAllListeners','25203411sqyfNw','qssSF','../../../helpers/logger','docAppend','VwdPS','%s\x20','includes','</dt>','Failed\x20to\x20load\x20reporter\x20','titlePath','MvZhP','before\x20each','<section\x20class=\x22suite\x22>','UHCxk','GZYWH','relative','JWVzy','dirname','GEQFG','integrations','event_type','BErsH','%s\x20-\x20%s','reporterOptions','currentRetry','</code></pre></dd>','</dd>','test','BEFORE_ALL','RFjkD','wjsoV','JIGYz','TwFXt','green','testStarted','indent','push','8foLguy','DlHEj','passed','xnyay','title','bs:addPlatformDetails:','GCKRu','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','speed','hook_run_uuid','IOafj','decreaseIndent','originalTitle','qmVmx','testAnalyticsId','zgBLf','jvNdT','getRootParentFile','registerListeners','mocha/lib/reporters/base.js','increaseIndent','stdout','gDYzg','hooks','hmsDV','.git','IXnag','UfRPR','_indents','xRwSg','EVENT','shouldProcessEventForTesthub','markedStatus','exports','Xfurf','bs:addLog:','ctx','slqfv','after\x20each','OoPqc','appendTestItemLog','maWOF','oyOcA','mocha/lib/utils.js','getInstance','ELKrB','qPmJd','failCount','parent','../../../helpers/helper','suite','appendTestPlatform','ZovZn','obFZf','pfPrG','call','GgeQp','once','otvmN','VpdaT','now','get','dot','TEST_REPORTING_ANALYTICS','prefixTestPath','suiteCount','RwjbU','name','\x20%s','10016442pWChns','Mocha','location_prefix','mGkSw','JfdWo','_currentRetry','sLEzd','HkqOg','CBTSessionCreated','HookFinished','BqpRl','AzZum','spec','results','bind','tYRie','HookRunStarted','../../../helpers/testhub/utils','multiple','doc','mntJH','suites','pending','XKnJV','lovEg','ecUbT','\x20\x20<dt>','ILZUO','pWNLX','qQfNs','uTAAm','aqHDm','clean','reporterOption','IaaTA','IZExG','light','HookRunFinished','docHtml','__indents','iunVp','config','QgTYh','mtOSh','vWBxO','_upstreamConfig','finalResults','aWflk','test_run','apply','error','fast','type','NGBYK','ERsmX','pid','EYorR','pass','../../../helpers/test-observability/utils','javascript','file','err','izcfp','_testEnv','started_at','HookStarted','failed','BEFORE_EACH','qzPEt','</dl>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','__platform__','hook_type','XYIrR','sendTestRunEvent','bsConfig','scopes','RlEwd','rMBUm','\x20\x20<dd\x20class=\x22error\x22><pre><code>','mElvk','2|1|4|3|0','YKLkU','body','AbHAk','FOBNU','7791545dMWXLN','NYdei','FWiOX','assign','ekSRn','trim','wBlzL','ZDzZr','consoleLog','winstonLogger','\x20(%dms)','mocha','SRdTx','hookAnalyticsId','TestRunFinished','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','Reporter','kwxeo','../../../helpers/metadata','test_run_uuid','LCtFc','slow','785575EkTJIe','QUcwj','4020142AqYZRj','gdiGz','COMPLETED','current_test','runner','retryOf','vqHkf','NIykz','</section>','toString','mocha/lib/reporters/','\x20-\x20','prototype','.js','tyQOu','responseCode','setCentralScannerData','cCPlj','cwd','length','uuid','redirectUrl','slice','__workerDetails','symbols','OeFAY','PGzEd','4qWwSYP','AssertionError','yLyxv','getTime','bang','EKIvo','../../../helpers/globals','http_response','xnliI','failureCount','color','findGitConfig','\x20with\x20error\x20:\x20','testRunUUID','result','testObservability','dYhls','hHYRg','File\x20path\x20could\x20not\x20be\x20found','\x20\x20<dt\x20class=\x22error\x22>','escape','checkmark','MlZRP','currentTest','TqoIZ','failure','forEach','AFTER_ALL','OgVpj','\x20\x20<dd><pre><code>','hook_run','../../../helpers/test-observability/sessionHandler','XRGCc','logs','JpyTf','<dl>','MOCHA','util','NlvKU','NgksS','current_hook','BCSmF','../../../helpers/test-observability/constants','fullTitle','uploadEventData','1715406uJhGuu','analyticsResult','fail','TestRunSkipped','XbZDB','1899490iAZtzZ','xunit'];a31_0x31e8=function(){return _0x28e30e;};return a31_0x31e8();}const util=require(a31_0x4d0456(0x2e2)),fs=require('fs'),path=require('path'),{requireModule,getCentralUser}=require(a31_0x4d0456(0x220)),Base=requireModule(a31_0x4d0456(0x202),a31_0x4d0456(0x295)),utils=requireModule(a31_0x4d0456(0x21a),'mocha'),color=Base[a31_0x4d0456(0x2c7)],Mocha=requireModule(a31_0x4d0456(0x295)),Runnable=requireModule('mocha/lib/runnable.js',a31_0x4d0456(0x295)),{v4:uuidv4}=require(a31_0x4d0456(0x2b6)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a31_0x4d0456(0x245)),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a31_0x4d0456(0x2e7)),globals=require(a31_0x4d0456(0x2c3)),logger=require(a31_0x4d0456(0x309))[a31_0x4d0456(0x293)],TestMetadata=require(a31_0x4d0456(0x29c)),a31_0xf8050b={};a31_0xf8050b['before\x20all']=a31_0x4d0456(0x323),a31_0xf8050b['after\x20all']=a31_0x4d0456(0x2d8),a31_0xf8050b[a31_0x4d0456(0x312)]=a31_0x4d0456(0x277),a31_0xf8050b[a31_0x4d0456(0x215)]='AFTER_EACH';function a31_0x5e1d(_0x256aca,_0x1308fe){const _0x31e881=a31_0x31e8();return a31_0x5e1d=function(_0x5e1d19,_0x4c7a54){_0x5e1d19=_0x5e1d19-0x1ed;let _0x1ba254=_0x31e881[_0x5e1d19];return _0x1ba254;},a31_0x5e1d(_0x256aca,_0x1308fe);}const HOOK_TYPES_MAP=a31_0xf8050b,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a31_0x4d0456(0x2f3)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a31_0x4d0456(0x2f3)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a31_0x4d0456(0x2e7)),SessionHandler=require(a31_0x4d0456(0x2dc)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a31_0x4d0456(0x26e)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),constants=require(a31_0x4d0456(0x300)),requestQueueHandler=RequestQueueHandler[a31_0x4d0456(0x21b)]();class MyReporter{constructor(_0x237ab0,_0x5c5e1e){const _0x448b3a=a31_0x4d0456,_0x1acf72={'qssSF':function(_0x3aecbf,_0x3d59e3){return _0x3aecbf===_0x3d59e3;},'IZExG':_0x448b3a(0x240),'FWiOX':function(_0x1ac5a4,_0x51b742){return _0x1ac5a4===_0x51b742;},'QgTYh':function(_0x2fa2d5,_0x40167a){return _0x2fa2d5+_0x40167a;},'VrkHV':function(_0x5d0219,_0x39dca7){return _0x5d0219+_0x39dca7;},'cCPlj':function(_0x5959bb,_0x472744,_0x228c89){return _0x5959bb(_0x472744,_0x228c89);},'qmVmx':_0x448b3a(0x328),'pfPrG':_0x448b3a(0x30c),'SRdTx':_0x448b3a(0x258),'uTAAm':_0x448b3a(0x31d),'UfRPR':'RUNNING','qQfNs':function(_0x1a5807,_0x4b1a0a){return _0x1a5807===_0x4b1a0a;},'NxYZi':_0x448b3a(0x247),'mvuCD':function(_0x2b7493){return _0x2b7493();},'mznqi':function(_0x1cfa51){return _0x1cfa51();},'LhYCa':_0x448b3a(0x244),'XbZDB':function(_0x3ff65d,_0x5cfe1d){return _0x3ff65d===_0x5cfe1d;},'rMBUm':_0x448b3a(0x259),'MFDRu':_0x448b3a(0x1f1),'tyQOu':_0x448b3a(0x267),'MvZhP':function(_0x3c984f,_0x108f11){return _0x3c984f+_0x108f11;},'xnliI':function(_0x1c580b,_0x35e1ce,_0x2442f7){return _0x1c580b(_0x35e1ce,_0x2442f7);},'czwXZ':_0x448b3a(0x2d2),'PGzEd':function(_0x1be44e,_0x350ec7,_0x35e252){return _0x1be44e(_0x350ec7,_0x35e252);},'lovEg':_0x448b3a(0x26d),'RwjbU':_0x448b3a(0x233),'Xfurf':function(_0x5cc6a0,_0x3b1165){return _0x5cc6a0+_0x3b1165;},'NgksS':_0x448b3a(0x294),'ekSRn':_0x448b3a(0x2ec),'XRGCc':'\x20\x20%d)\x20%s','glDjW':function(_0x35ac9e,_0x2c865e,_0x7d57d6){return _0x35ac9e(_0x2c865e,_0x7d57d6);},'ApMKV':'bright\x20yellow','UHCxk':function(_0x2cd8a9,_0x18e3ac,_0xbf8ec6){return _0x2cd8a9(_0x18e3ac,_0xbf8ec6);},'EKIvo':_0x448b3a(0x2a4),'qzPEt':function(_0xecd4f2,_0x1474fe){return _0xecd4f2===_0x1474fe;},'zgBLf':_0x448b3a(0x22d),'MlZRP':function(_0x38194b,_0x2528a4){return _0x38194b===_0x2528a4;},'IaaTA':_0x448b3a(0x29f),'pRyes':function(_0x4a4fc9,_0x15a6b9){return _0x4a4fc9===_0x15a6b9;},'otvmN':_0x448b3a(0x285),'QUcwj':function(_0xaf0714,_0x49ad9f){return _0xaf0714===_0x49ad9f;},'RlEwd':function(_0xaa7b15,_0x330148){return _0xaa7b15===_0x330148;},'NRgiH':_0x448b3a(0x24a),'mGkSw':function(_0x394049,_0x4cb89e){return _0x394049===_0x4cb89e;},'VpdaT':_0x448b3a(0x2ed),'LCtFc':function(_0x4054cc,_0x557126){return _0x4054cc===_0x557126;},'uPzPc':function(_0x1a38ee,_0x1bba87){return _0x1a38ee(_0x1bba87);},'hmsDV':function(_0x2e68ed){return _0x2e68ed();},'aWflk':function(_0x4ba370,_0x2bfb15){return _0x4ba370(_0x2bfb15);},'YjFzk':function(_0x55d26b,_0x26ff11){return _0x55d26b===_0x26ff11;},'slqfv':function(_0x1b9025){return _0x1b9025();},'AbHAk':function(_0x4d96b0){return _0x4d96b0();},'TqoIZ':_0x448b3a(0x2f0),'yLyxv':function(_0x9005ad,_0xedcf48,_0x4c9765){return _0x9005ad(_0xedcf48,_0x4c9765);},'ILZUO':_0x448b3a(0x295),'ERsmX':function(_0x109f4f,_0x419107){return _0x109f4f(_0x419107);},'YKLkU':function(_0x4560b4,_0x5bc53b){return _0x4560b4===_0x5bc53b;},'CwjrC':function(_0x14154b,_0x161d9b){return _0x14154b(_0x161d9b);},'ZovZn':function(_0x42c26c,_0x29845d){return _0x42c26c!==_0x29845d;}};this['type']=_0x5c5e1e[_0x448b3a(0x255)][_0x448b3a(0x268)],this[_0x448b3a(0x2cc)]=_0x1acf72[_0x448b3a(0x214)](isTestObservabilitySession),Base[_0x448b3a(0x226)](this,_0x237ab0,_0x5c5e1e),this[_0x448b3a(0x20b)]=0x0,this[_0x448b3a(0x21e)]=0x0,this[_0x448b3a(0x241)]=[],this[_0x448b3a(0x262)]=[],this[_0x448b3a(0x230)]=0x0,this['_buildCreated']=![],this['_testResults']=[],this[_0x448b3a(0x273)]=_0x1acf72[_0x448b3a(0x288)](getTestEnv),this[_0x448b3a(0x2f4)]=new PathHelper({'cwd':process[_0x448b3a(0x2b4)]()},this[_0x448b3a(0x273)][_0x448b3a(0x236)]),this[_0x448b3a(0x261)]=_0x5c5e1e['reporterOption'][_0x448b3a(0x27f)],this[_0x448b3a(0x201)]();_0x1acf72[_0x448b3a(0x28c)](this[_0x448b3a(0x268)],_0x1acf72[_0x448b3a(0x303)])&&(this[_0x448b3a(0x25a)]='',this[_0x448b3a(0x25b)]=0x2);_0x237ab0[_0x448b3a(0x228)](EVENT_RUN_BEGIN,async()=>{const _0x39f7c5=_0x448b3a;_0x1acf72[_0x39f7c5(0x308)](this[_0x39f7c5(0x268)],_0x1acf72[_0x39f7c5(0x257)])&&Base[_0x39f7c5(0x292)]();})['on'](EVENT_SUITE_BEGIN,_0x83c125=>{const _0x4550fc=_0x448b3a;if(_0x83c125[_0x4550fc(0x2f8)])return;if(_0x1acf72[_0x4550fc(0x28c)](this[_0x4550fc(0x268)],_0x1acf72['IZExG']))this['increaseIndent'](),Base[_0x4550fc(0x292)](_0x1acf72[_0x4550fc(0x25e)](_0x1acf72[_0x4550fc(0x2f1)](this[_0x4550fc(0x1ed)](),_0x1acf72[_0x4550fc(0x2b3)](color,_0x1acf72[_0x4550fc(0x1fc)],_0x1acf72[_0x4550fc(0x225)])),_0x1acf72[_0x4550fc(0x2b3)](color,_0x1acf72[_0x4550fc(0x296)],_0x1acf72[_0x4550fc(0x252)])),_0x1acf72[_0x4550fc(0x20a)],_0x83c125['title'],global[_0x4550fc(0x27b)]);else _0x1acf72[_0x4550fc(0x251)](this[_0x4550fc(0x268)],_0x1acf72['NxYZi'])&&(this[_0x4550fc(0x30a)](this[_0x4550fc(0x1ed)]()+_0x4550fc(0x313)),++this['__indents'],this[_0x4550fc(0x30a)](this[_0x4550fc(0x1ed)]()+_0x4550fc(0x2ff)+utils[_0x4550fc(0x2d1)](_0x83c125['title']+_0x4550fc(0x2ad)+global[_0x4550fc(0x27b)])+'</h1>'),this['docAppend'](this[_0x4550fc(0x1ed)]()+_0x4550fc(0x2e0)));})['on'](EVENT_HOOK_BEGIN,async _0x544987=>{const _0x5e1741=_0x448b3a;if(_0x1acf72[_0x5e1741(0x308)](testhubUtils[_0x5e1741(0x20e)](testHubConstants[_0x5e1741(0x20d)][_0x5e1741(0x275)]),!![])){if(!_0x544987['hookAnalyticsId'])_0x544987[_0x5e1741(0x297)]=_0x1acf72[_0x5e1741(0x2fc)](uuidv4);else _0x544987[_0x5e1741(0x20f)]&&(_0x544987[_0x5e1741(0x297)]=_0x1acf72['mznqi'](uuidv4),delete _0x544987['markedStatus']);_0x544987['started_at']=new Date()[_0x5e1741(0x2fa)](),this['current_hook']=_0x544987,await this['sendTestRunEvent'](_0x544987,undefined,![],_0x1acf72['LhYCa']);}})['on'](EVENT_HOOK_END,async _0x14cafd=>{const _0x107d1a=_0x448b3a;_0x1acf72['XbZDB'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x107d1a(0x23d)]),!![])&&(!_0x14cafd[_0x107d1a(0x20f)]&&(_0x14cafd['markedStatus']=!![],await this[_0x107d1a(0x27e)](_0x14cafd,undefined,![],_0x1acf72[_0x107d1a(0x282)])));})['on'](EVENT_SUITE_END,_0x1e7ae1=>{const _0x3073d6=_0x448b3a,_0x54d867={'wsUOl':function(_0x157149,_0x334b51){const _0xaf8054=a31_0x5e1d;return _0x1acf72[_0xaf8054(0x28c)](_0x157149,_0x334b51);},'IXnag':_0x1acf72['MFDRu'],'kadSp':_0x1acf72[_0x3073d6(0x2b0)],'vqHkf':function(_0x147ffd,_0x9820ef){const _0x3b1ecd=_0x3073d6;return _0x1acf72[_0x3b1ecd(0x311)](_0x147ffd,_0x9820ef);},'hHYRg':function(_0x9eb7ff,_0x1c32ec,_0x7f90a){const _0x4c69ca=_0x3073d6;return _0x1acf72[_0x4c69ca(0x2c5)](_0x9eb7ff,_0x1c32ec,_0x7f90a);},'NYdei':_0x1acf72['czwXZ'],'BErsH':function(_0x3fd574,_0x2dd439,_0x2d1115){const _0x4507df=_0x3073d6;return _0x1acf72[_0x4507df(0x2bc)](_0x3fd574,_0x2dd439,_0x2d1115);},'mtOSh':_0x1acf72[_0x3073d6(0x24c)],'AxsIW':_0x1acf72[_0x3073d6(0x231)],'JfdWo':function(_0x1e86a7,_0xabb727){const _0x1cda27=_0x3073d6;return _0x1acf72[_0x1cda27(0x211)](_0x1e86a7,_0xabb727);},'bvUVF':function(_0x220741,_0x5c2fae,_0x67f496){const _0x2c133e=_0x3073d6;return _0x1acf72[_0x2c133e(0x2b3)](_0x220741,_0x5c2fae,_0x67f496);},'vorAB':_0x1acf72[_0x3073d6(0x2e4)],'TwFXt':_0x1acf72[_0x3073d6(0x28e)],'maWOF':_0x1acf72[_0x3073d6(0x2dd)]};if(_0x1e7ae1[_0x3073d6(0x2f8)])return;if(_0x1acf72['XbZDB'](this[_0x3073d6(0x268)],_0x1acf72[_0x3073d6(0x257)]))Base[_0x3073d6(0x292)](),Base['consoleLog'](_0x1acf72[_0x3073d6(0x2f1)](_0x1acf72[_0x3073d6(0x25e)](this[_0x3073d6(0x1ed)](),_0x1acf72[_0x3073d6(0x2f2)](color,_0x1acf72['ApMKV'],_0x1acf72[_0x3073d6(0x225)])),_0x1acf72[_0x3073d6(0x314)](color,_0x1acf72[_0x3073d6(0x296)],_0x1acf72[_0x3073d6(0x252)])),_0x1acf72[_0x3073d6(0x2c2)],_0x1e7ae1['title'],global[_0x3073d6(0x27b)]),this[_0x3073d6(0x241)]['forEach'](_0x45b6ee=>{const _0x2f577e=_0x3073d6;if(_0x54d867['wsUOl'](_0x45b6ee['state'],_0x54d867[_0x2f577e(0x209)])){var _0x5fe57b;_0x54d867['wsUOl'](_0x45b6ee[_0x2f577e(0x1f7)],_0x54d867['kadSp'])?(_0x5fe57b=_0x54d867['vqHkf'](_0x54d867['vqHkf'](this[_0x2f577e(0x1ed)](),_0x54d867['hHYRg'](color,_0x54d867[_0x2f577e(0x28b)],_0x54d867[_0x2f577e(0x2a8)]('\x20\x20',Base[_0x2f577e(0x2ba)]['ok']))),_0x54d867[_0x2f577e(0x31c)](color,_0x54d867['mtOSh'],_0x54d867[_0x2f577e(0x302)])),Base[_0x2f577e(0x292)](_0x5fe57b,_0x45b6ee[_0x2f577e(0x1f3)])):(_0x5fe57b=_0x54d867[_0x2f577e(0x2a8)](_0x54d867[_0x2f577e(0x238)](_0x54d867[_0x2f577e(0x2a8)](this[_0x2f577e(0x1ed)](),_0x54d867['bvUVF'](color,_0x54d867[_0x2f577e(0x28b)],_0x54d867[_0x2f577e(0x2a8)]('\x20\x20',Base[_0x2f577e(0x2ba)]['ok']))),_0x54d867['bvUVF'](color,_0x54d867[_0x2f577e(0x25f)],_0x54d867['AxsIW'])),_0x54d867[_0x2f577e(0x2ce)](color,_0x45b6ee['speed'],_0x54d867['vorAB'])),Base['consoleLog'](_0x5fe57b,_0x45b6ee[_0x2f577e(0x1f3)],_0x45b6ee['duration']));}else Base[_0x2f577e(0x292)](_0x54d867[_0x2f577e(0x2a8)](this[_0x2f577e(0x1ed)](),_0x54d867[_0x2f577e(0x31c)](color,_0x54d867[_0x2f577e(0x327)],_0x54d867[_0x2f577e(0x218)])),++this[_0x2f577e(0x21e)],_0x45b6ee['title']);}),this[_0x3073d6(0x1fa)]();else _0x1acf72['qzPEt'](this['type'],_0x1acf72[_0x3073d6(0x303)])&&(this['docAppend'](this['indent']()+_0x3073d6(0x279)),--this[_0x3073d6(0x25b)],this[_0x3073d6(0x30a)](this['indent']()+_0x3073d6(0x2aa)),--this[_0x3073d6(0x25b)]);Array[_0x3073d6(0x2ae)][_0x3073d6(0x1ee)][_0x3073d6(0x265)](this[_0x3073d6(0x262)],this[_0x3073d6(0x241)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x3e9fcf=>{const _0x19c117=_0x448b3a;this['results']['push']({'speed':_0x3e9fcf['speed'],'suite':_0x3e9fcf[_0x19c117(0x21f)][_0x19c117(0x1f3)],'title':_0x3e9fcf['title'],'fullTitle':_0x3e9fcf['fullTitle'](),'duration':_0x3e9fcf['duration'],'state':_0x3e9fcf[_0x19c117(0x2fd)],'err':{},'currentRetry':_0x3e9fcf[_0x19c117(0x31f)](),'titlePathV':_0x3e9fcf[_0x19c117(0x310)](),'isPending':_0x3e9fcf['isPending']()});if(_0x1acf72[_0x19c117(0x2ee)](this[_0x19c117(0x268)],_0x1acf72['zgBLf']))_0x1acf72[_0x19c117(0x2d3)](_0x3e9fcf[_0x19c117(0x1f7)],_0x1acf72[_0x19c117(0x256)])?process[_0x19c117(0x204)][_0x19c117(0x2f6)](Base[_0x19c117(0x2c7)](_0x1acf72['ApMKV'],Base['symbols'][_0x19c117(0x22d)])):process[_0x19c117(0x204)][_0x19c117(0x2f6)](Base['color'](_0x3e9fcf[_0x19c117(0x1f7)],Base[_0x19c117(0x2ba)][_0x19c117(0x22d)]));else{if(_0x1acf72['pRyes'](this[_0x19c117(0x268)],_0x1acf72[_0x19c117(0x303)])){this['docAppend'](this[_0x19c117(0x1ed)]()+_0x19c117(0x24e)+utils[_0x19c117(0x2d1)](_0x3e9fcf[_0x19c117(0x1f3)])+'</dt>'),this[_0x19c117(0x30a)](this[_0x19c117(0x1ed)]()+_0x19c117(0x24e)+utils[_0x19c117(0x2d1)](_0x3e9fcf[_0x19c117(0x270)])+'</dt>');var _0x1106e6=utils['escape'](utils[_0x19c117(0x254)](_0x3e9fcf['body']));this[_0x19c117(0x30a)](this['indent']()+_0x19c117(0x2da)+_0x1106e6+_0x19c117(0x320));}}_0x1acf72[_0x19c117(0x308)](testhubUtils[_0x19c117(0x20e)](),!![])&&(!_0x3e9fcf[_0x19c117(0x20f)]&&(_0x3e9fcf[_0x19c117(0x20f)]=!![],await this['sendTestRunEvent'](_0x3e9fcf)));})['on'](EVENT_TEST_FAIL,async(_0x281e11,_0x2392a5)=>{const _0x742377=_0x448b3a;this['results']['push']({'title':_0x281e11[_0x742377(0x1f3)],'suite':_0x281e11[_0x742377(0x21f)][_0x742377(0x1f3)],'state':_0x281e11[_0x742377(0x2fd)],'err':{'message':util['inspect'](_0x2392a5)},'fullTitle':_0x281e11['fullTitle'](),'speed':_0x281e11['speed'],'currentRetry':_0x281e11[_0x742377(0x31f)](),'titlePathV':_0x281e11[_0x742377(0x310)]()});if(_0x1acf72[_0x742377(0x28c)](this[_0x742377(0x268)],_0x1acf72[_0x742377(0x1fe)]))process['stdout'][_0x742377(0x2f6)](Base['color'](_0x1acf72[_0x742377(0x28e)],Base['symbols'][_0x742377(0x2c1)]));else{if(_0x1acf72[_0x742377(0x2ee)](this[_0x742377(0x268)],_0x1acf72[_0x742377(0x303)])){const _0x5c6c56=_0x1acf72[_0x742377(0x229)]['split']('|');let _0x292803=0x0;while(!![]){switch(_0x5c6c56[_0x292803++]){case'0':this[_0x742377(0x30a)](this[_0x742377(0x1ed)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils['escape'](_0x281e11['err'])+_0x742377(0x321));continue;case'1':this[_0x742377(0x30a)](this[_0x742377(0x1ed)]()+_0x742377(0x2d0)+utils['escape'](_0x281e11[_0x742377(0x270)])+_0x742377(0x30e));continue;case'2':this[_0x742377(0x30a)](this[_0x742377(0x1ed)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x281e11[_0x742377(0x1f3)])+_0x742377(0x30e));continue;case'3':this[_0x742377(0x30a)](this[_0x742377(0x1ed)]()+_0x742377(0x283)+_0x2e7e5d+_0x742377(0x320));continue;case'4':var _0x2e7e5d=utils[_0x742377(0x2d1)](utils[_0x742377(0x254)](_0x281e11[_0x742377(0x287)]));continue;}break;}}}if(_0x1acf72[_0x742377(0x2a1)](testhubUtils[_0x742377(0x20e)](testHubConstants['EVENT']['HookFinished']),!![])){if(!_0x281e11['markedStatus']){_0x281e11[_0x742377(0x20f)]=!![];if(_0x281e11[_0x742377(0x1fd)])await this['sendTestRunEvent'](_0x281e11,_0x2392a5);else _0x281e11['hookAnalyticsId']&&await this[_0x742377(0x27e)](_0x281e11,_0x2392a5,![],_0x1acf72[_0x742377(0x282)]);}}})['on'](EVENT_TEST_PENDING,async _0x534f96=>{const _0x16003c=_0x448b3a;this['results'][_0x16003c(0x1ee)]({'title':_0x534f96[_0x16003c(0x1f3)],'suite':_0x534f96[_0x16003c(0x21f)]['title'],'state':_0x534f96['state'],'err':{},'fullTitle':_0x534f96[_0x16003c(0x2e8)](),'speed':_0x534f96['speed'],'currentRetry':_0x534f96['currentRetry'](),'titlePathV':_0x534f96[_0x16003c(0x310)]()}),_0x1acf72[_0x16003c(0x281)](this['type'],_0x1acf72[_0x16003c(0x1fe)])&&process[_0x16003c(0x204)][_0x16003c(0x2f6)](Base[_0x16003c(0x2c7)](_0x1acf72['NRgiH'],Base[_0x16003c(0x2ba)][_0x16003c(0x2fe)])),_0x1acf72[_0x16003c(0x237)](testhubUtils[_0x16003c(0x20e)](),!![])&&(!_0x534f96[_0x16003c(0x1fd)]&&(_0x534f96[_0x16003c(0x1fd)]=_0x1acf72['mvuCD'](uuidv4)),!_0x534f96[_0x16003c(0x20f)]&&(_0x534f96[_0x16003c(0x20f)]=!![],await this[_0x16003c(0x27e)](_0x534f96,undefined,![],_0x1acf72[_0x16003c(0x22a)])));})['on'](EVENT_TEST_BEGIN,async _0x33896b=>{const _0xc5ee8e=_0x448b3a;_0x1acf72[_0xc5ee8e(0x29e)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0xc5ee8e(0x329)](_0x33896b);})['on'](EVENT_TEST_END,async _0x3485a9=>{const _0x5ae5a1=_0x448b3a;_0x1acf72[_0x5ae5a1(0x278)](testhubUtils[_0x5ae5a1(0x20e)](),!![])&&(!_0x3485a9[_0x5ae5a1(0x20f)]&&(_0x3485a9['markedStatus']=!![],await this[_0x5ae5a1(0x27e)](_0x3485a9)));})[_0x448b3a(0x228)](EVENT_RUN_END,async()=>{const _0x2b5ec8=_0x448b3a;try{if(_0x1acf72[_0x2b5ec8(0x278)](testhubUtils[_0x2b5ec8(0x20e)](),!![])){const _0x56bdf0=_0x1acf72[_0x2b5ec8(0x2f5)](getHookSkippedTests,this[_0x2b5ec8(0x2a6)][_0x2b5ec8(0x221)]);for(const _0x1ccf8f of _0x56bdf0){!_0x1ccf8f['testAnalyticsId']&&(_0x1ccf8f[_0x2b5ec8(0x1fd)]=_0x1acf72[_0x2b5ec8(0x207)](uuidv4)),await this[_0x2b5ec8(0x27e)](_0x1ccf8f,undefined,![],_0x1acf72['VpdaT']);}}}catch(_0x1c8194){_0x1acf72[_0x2b5ec8(0x263)](debug,_0x2b5ec8(0x27a)+_0x1c8194);}await requestQueueHandler['shutdown'](),_0x1acf72['YjFzk'](this[_0x2b5ec8(0x268)],_0x1acf72[_0x2b5ec8(0x303)])&&Base['consoleLog'](this['docHtml']);});if(this[_0x448b3a(0x268)]&&![_0x1acf72[_0x448b3a(0x303)],_0x1acf72[_0x448b3a(0x2d5)],_0x1acf72[_0x448b3a(0x257)],_0x1acf72[_0x448b3a(0x1fe)]]['includes'](this['type'])){const _0x55d2fe=this[_0x448b3a(0x268)][_0x448b3a(0x28f)]();this[_0x448b3a(0x29a)]=null;try{this[_0x448b3a(0x29a)]=_0x1acf72[_0x448b3a(0x2bf)](requireModule,_0x448b3a(0x2ac)+_0x55d2fe+_0x448b3a(0x2af),_0x1acf72[_0x448b3a(0x24f)]);}catch(_0x542fe6){_0x1acf72[_0x448b3a(0x26a)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x542fe6);}if(_0x1acf72[_0x448b3a(0x286)](this[_0x448b3a(0x29a)],null))try{this[_0x448b3a(0x29a)]=_0x1acf72['CwjrC'](require,_0x55d2fe);}catch(_0x1bb5eb){console[_0x448b3a(0x266)](_0x448b3a(0x30f)+_0x55d2fe);}if(_0x1acf72[_0x448b3a(0x223)](this['Reporter'],null)){const _0x429a72={};_0x429a72[_0x448b3a(0x31e)]=_0x5c5e1e[_0x448b3a(0x255)],this['Reporter']=new this['Reporter'](_0x237ab0,_0x429a72);}}}[a31_0x4d0456(0x1ed)](){const _0x264205=a31_0x4d0456,_0x15d802={'jvNdT':function(_0x1ce585,_0x4b785c){return _0x1ce585(_0x4b785c);}};return _0x15d802[_0x264205(0x1ff)](Array,this[_0x264205(0x20b)])[_0x264205(0x2f9)]('\x20\x20');}[a31_0x4d0456(0x203)](){const _0x2b85e9=a31_0x4d0456;this[_0x2b85e9(0x20b)]++;}['decreaseIndent'](){const _0x17abcb=a31_0x4d0456;this[_0x17abcb(0x20b)]--;}[a31_0x4d0456(0x30a)](_0x5cda96){const _0x5b29b0=a31_0x4d0456;this[_0x5b29b0(0x25a)]+=_0x5cda96;}['done'](_0x4384b7,_0x54ddec){const _0x371947=a31_0x4d0456,_0x38261a={'GCKRu':function(_0x1df481,_0x1880fd){return _0x1df481(_0x1880fd);}},_0x1f3d93={};_0x1f3d93[_0x371947(0x2c6)]=_0x4384b7,_0x1f3d93['results']=this[_0x371947(0x262)],_0x38261a[_0x371947(0x1f5)](_0x54ddec,_0x1f3d93);}[a31_0x4d0456(0x201)](){const _0x1754bb=a31_0x4d0456;process['removeAllListeners']('bs:addLog:'+process[_0x1754bb(0x26b)]),process['on'](_0x1754bb(0x212)+process[_0x1754bb(0x26b)],this[_0x1754bb(0x217)]['bind'](this)),process[_0x1754bb(0x306)](_0x1754bb(0x1f4)+process[_0x1754bb(0x26b)]),process['on']('bs:addPlatformDetails:'+process[_0x1754bb(0x26b)],this[_0x1754bb(0x222)][_0x1754bb(0x242)](this));}[a31_0x4d0456(0x329)]=async _0x1dce09=>{const _0x2dc67a=a31_0x4d0456,_0x42bb2a={'qrAPP':function(_0xb8cbc1){return _0xb8cbc1();},'sLEzd':_0x2dc67a(0x2ca),'xRwSg':function(_0x3136a1,_0x4bb5be){return _0x3136a1>_0x4bb5be;},'DlHEj':function(_0x577481,_0xc78c8e){return _0x577481===_0xc78c8e;},'OoPqc':'TestRunStarted','wBlzL':function(_0x4abc82,_0x277f10){return _0x4abc82(_0x277f10);}};try{const _0x5a73c1=this[_0x2dc67a(0x2a5)];this[_0x2dc67a(0x2a5)]=_0x1dce09,_0x1dce09[_0x2dc67a(0x2a7)]=null,_0x1dce09[_0x2dc67a(0x1fd)]=_0x42bb2a['qrAPP'](uuidv4),globals['setGlobal'](_0x42bb2a[_0x2dc67a(0x23a)],_0x1dce09[_0x2dc67a(0x1fd)]),global[_0x2dc67a(0x2b9)]=global['__workerDetails']||{},global['__workerDetails'][_0x2dc67a(0x2d4)]=global['__workerDetails']['currentTest']||{},global['__workerDetails'][_0x2dc67a(0x2d4)][_0x2dc67a(0x305)]=_0x1dce09[_0x2dc67a(0x1fd)],_0x1dce09[_0x2dc67a(0x274)]=new Date()[_0x2dc67a(0x2fa)](),_0x42bb2a[_0x2dc67a(0x20c)](_0x1dce09[_0x2dc67a(0x239)],0x0)&&_0x5a73c1&&_0x42bb2a[_0x2dc67a(0x1f0)](_0x5a73c1[_0x2dc67a(0x1f3)],_0x1dce09[_0x2dc67a(0x1f3)])?(_0x1dce09[_0x2dc67a(0x2a7)]=_0x5a73c1[_0x2dc67a(0x1fd)],await this[_0x2dc67a(0x27e)](_0x1dce09,undefined,![],_0x42bb2a[_0x2dc67a(0x216)]),_0x5a73c1['state']=STATE_FAILED,await this[_0x2dc67a(0x27e)](_0x5a73c1,undefined,!![])):await this[_0x2dc67a(0x27e)](_0x1dce09,undefined,![],_0x42bb2a[_0x2dc67a(0x216)]);}catch(_0x41c399){_0x42bb2a[_0x2dc67a(0x290)](debug,_0x2dc67a(0x1f6)+_0x41c399);}};[a31_0x4d0456(0x27e)]=async(_0x560c68,_0x5f59d1=undefined,_0x3c2dbd=![],_0x40b6e0=a31_0x4d0456(0x298))=>{const _0x2098d6=a31_0x4d0456,_0x5ace69={'VwdPS':function(_0x259b8b,_0x77a61f){return _0x259b8b===_0x77a61f;},'eDAAG':function(_0x3f18a0,_0x5d8a0d){return _0x3f18a0!==_0x5d8a0d;},'HkqOg':_0x2098d6(0x322),'xnyay':'err','JIGYz':function(_0x504312,_0x10ea97){return _0x504312!==_0x10ea97;},'gDYzg':function(_0x37bfd4,_0x36e7db){return _0x37bfd4!==_0x36e7db;},'GEQFG':function(_0x6151b5,_0x1b5d78){return _0x6151b5!==_0x1b5d78;},'IOafj':_0x2098d6(0x2cf),'JWVzy':_0x2098d6(0x235),'OgVpj':_0x2098d6(0x26f),'pWNLX':_0x2098d6(0x2ed),'QEwlJ':'skipped','kbvqo':function(_0x470920,_0x496fea){return _0x470920-_0x496fea;},'ecUbT':_0x2098d6(0x2be),'aqHDm':'UnhandledError','dYhls':_0x2098d6(0x298),'oyOcA':'TestRunStarted','GgeQp':function(_0x27372a){return _0x27372a();},'GZYWH':function(_0x2ceca3,_0x4dc669){return _0x2ceca3===_0x4dc669;},'EYorR':_0x2098d6(0x274),'XYIrR':'finished_at','BCSmF':function(_0x31b7a6,_0x946a90){return _0x31b7a6(_0x946a90);},'XKnJV':_0x2098d6(0x259),'RFjkD':_0x2098d6(0x276),'ELKrB':_0x2098d6(0x1f1),'JpyTf':_0x2098d6(0x312),'NIykz':function(_0x244015,_0x29ad69){return _0x244015(_0x29ad69);},'BqpRl':_0x2098d6(0x2d6),'izcfp':'failure_backtrace','obFZf':'backtrace','AzZum':'failure_reason_expanded','zeXCt':'expanded','ZDzZr':'hook_type','OeFAY':_0x2098d6(0x2db),'vWBxO':_0x2098d6(0x264)};try{if(_0x560c68[_0x2098d6(0x287)]&&_0x560c68[_0x2098d6(0x287)][_0x2098d6(0x2fb)](/browserstack internal helper hook/))return;let _0x11fc13=[];if(_0x5ace69['VwdPS'](_0x560c68[_0x2098d6(0x2fd)],STATE_FAILED)){if(_0x5ace69['eDAAG'](_0x560c68[_0x2098d6(0x271)],undefined))_0x11fc13=_0x560c68['err'][_0x2098d6(0x246)]?[_0x560c68['err']['multiple'],_0x5ace69[_0x2098d6(0x23b)]]:[_0x560c68['err'],_0x5ace69[_0x2098d6(0x1f2)]];else _0x5ace69[_0x2098d6(0x326)](_0x5f59d1,undefined)?_0x11fc13=[_0x5f59d1,_0x5ace69['xnyay']]:_0x11fc13=[];}const _0x423e2b=_0x5ace69[_0x2098d6(0x205)](_0x560c68['err'],undefined)?_0x560c68[_0x2098d6(0x271)][_0x2098d6(0x2ab)]():_0x5ace69[_0x2098d6(0x319)](_0x5f59d1,undefined)?_0x5f59d1[_0x2098d6(0x2ab)]():undefined;let _0x5047ad;try{_0x5047ad=this[_0x2098d6(0x200)](_0x560c68);}catch(_0xfe0a07){_0x5047ad=null;}const _0x279dbf=_0x5047ad?this[_0x2098d6(0x2c8)](_0x5047ad):null,_0x2859d5=_0x5047ad?this[_0x2098d6(0x2f4)][_0x2098d6(0x22f)](this[_0x2098d6(0x200)](_0x560c68)):_0x5ace69[_0x2098d6(0x1f9)],_0x4c7e47={'framework':_0x5ace69[_0x2098d6(0x317)],'uuid':_0x560c68[_0x2098d6(0x1fd)]||_0x560c68['hookAnalyticsId'],'name':_0x560c68[_0x2098d6(0x1f3)],'body':{'lang':_0x5ace69[_0x2098d6(0x2d9)],'code':_0x560c68['body']},'scope':this[_0x2098d6(0x2f7)](_0x560c68),'scopes':this[_0x2098d6(0x280)](_0x560c68),'identifier':_0x560c68[_0x2098d6(0x2e8)](),'file_name':_0x2859d5,'vc_filepath':_0x279dbf?path[_0x2098d6(0x316)](_0x279dbf,_0x5047ad):null,'location':_0x2859d5,'result':_0x5ace69['VwdPS'](_0x40b6e0,_0x5ace69[_0x2098d6(0x250)])?_0x5ace69['QEwlJ']:this[_0x2098d6(0x2eb)](_0x560c68[_0x2098d6(0x2fd)]),'failure_reason':_0x423e2b,'duration_in_ms':_0x560c68['duration']||(_0x40b6e0[_0x2098d6(0x2fb)](/Finished/)||_0x40b6e0[_0x2098d6(0x2fb)](/Skipped/)?_0x5ace69['kbvqo'](Date[_0x2098d6(0x22b)](),new Date(_0x560c68['started_at'])[_0x2098d6(0x2c0)]()):null),'started_at':_0x560c68[_0x2098d6(0x274)],'finished_at':_0x40b6e0['match'](/Finished/)||_0x40b6e0['match'](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x2098d6(0x265)](null,_0x11fc13),'failure_type':!_0x423e2b?null:_0x423e2b[_0x2098d6(0x2fb)](/AssertionError/)?_0x5ace69[_0x2098d6(0x24d)]:_0x5ace69[_0x2098d6(0x253)],'retry_of':_0x560c68[_0x2098d6(0x2a7)]};if([_0x5ace69[_0x2098d6(0x250)],_0x5ace69[_0x2098d6(0x2cd)],_0x5ace69[_0x2098d6(0x219)]][_0x2098d6(0x30d)](_0x40b6e0)){if(_0x5ace69[_0x2098d6(0x227)](getCentralUser)['lcnc']){const _0x10da30=TestMetadata[_0x2098d6(0x22c)](_0x560c68[_0x2098d6(0x1fd)]);if(_0x10da30){const _0x4e29d8={};_0x4e29d8['lcnc']=_0x10da30,Object[_0x2098d6(0x28d)](_0x4c7e47,_0x4e29d8);}}}testhubUtils['appendTesthubParams'](_0x4c7e47,_0x40b6e0,_0x560c68,FRAMEWORKS[_0x2098d6(0x2e1)]);(_0x560c68['responseCode']||_0x560c68[_0x2098d6(0x2b7)])&&centralScannerUtils[_0x2098d6(0x2b2)](_0x4c7e47,_0x560c68[_0x2098d6(0x2b1)],_0x560c68[_0x2098d6(0x2b7)]);_0x5ace69['GZYWH'](_0x40b6e0,_0x5ace69[_0x2098d6(0x250)])&&!_0x4c7e47[_0x5ace69[_0x2098d6(0x26c)]]&&(_0x4c7e47[_0x5ace69[_0x2098d6(0x26c)]]=_0x4c7e47[_0x5ace69[_0x2098d6(0x27d)]]);if(_0x40b6e0['match'](/HookRun/))[_0x4c7e47[_0x2098d6(0x27c)],_0x4c7e47[_0x2098d6(0x232)]]=_0x5ace69['BCSmF'](getHookDetails,_0x560c68[_0x2098d6(0x2e8)]()||_0x560c68[_0x2098d6(0x1fb)]||_0x560c68[_0x2098d6(0x1f3)]),_0x5ace69[_0x2098d6(0x315)](_0x40b6e0,_0x5ace69[_0x2098d6(0x24b)])&&(_0x5ace69[_0x2098d6(0x319)](_0x4c7e47[_0x2098d6(0x2cb)],_0x5ace69[_0x2098d6(0x324)])&&(_0x4c7e47[_0x2098d6(0x2cb)]=_0x5ace69[_0x2098d6(0x21c)]),_0x5ace69[_0x2098d6(0x30b)](_0x4c7e47[_0x2098d6(0x27c)],_0x5ace69[_0x2098d6(0x2df)])&&_0x5ace69[_0x2098d6(0x30b)](_0x4c7e47['result'],_0x5ace69[_0x2098d6(0x324)])&&!_0x560c68[_0x2098d6(0x213)][_0x2098d6(0x2d4)][_0x2098d6(0x20f)]&&(_0x560c68[_0x2098d6(0x213)][_0x2098d6(0x2d4)][_0x2098d6(0x20f)]=!![],_0x560c68[_0x2098d6(0x213)]['currentTest'][_0x2098d6(0x2fd)]=STATE_FAILED,await this['sendTestRunEvent'](_0x560c68[_0x2098d6(0x213)]['currentTest'],undefined,!![])));else _0x40b6e0[_0x2098d6(0x2fb)](/TestRun/)&&_0x5ace69[_0x2098d6(0x2a9)](mapTestHooks,_0x560c68);const _0x4910e7=_0x4c7e47[_0x5ace69[_0x2098d6(0x23e)]][0x0];_0x4910e7&&(_0x4c7e47[_0x5ace69[_0x2098d6(0x272)]]=_0x4910e7[_0x5ace69[_0x2098d6(0x224)]],_0x4c7e47[_0x5ace69[_0x2098d6(0x23f)]]=_0x4910e7[_0x5ace69['zeXCt']]);[_0x5ace69[_0x2098d6(0x2cd)],_0x5ace69['pWNLX']][_0x2098d6(0x30d)](_0x40b6e0)&&(this['_testResults'][_0x2098d6(0x1ee)](_0x4c7e47),_0x4c7e47[_0x2098d6(0x206)]=_0x5ace69[_0x2098d6(0x2e6)](getHooksForTest,_0x560c68));const _0x74cf5d={'event_type':_0x5ace69['GZYWH'](_0x40b6e0,_0x5ace69[_0x2098d6(0x250)])?_0x5ace69[_0x2098d6(0x2cd)]:_0x40b6e0};_0x40b6e0['match'](/HookRun/)?(_0x4c7e47[_0x5ace69[_0x2098d6(0x291)]]=HOOK_TYPES_MAP[_0x4c7e47[_0x5ace69[_0x2098d6(0x291)]]],_0x74cf5d[_0x5ace69[_0x2098d6(0x2bb)]]=_0x4c7e47):_0x74cf5d[_0x5ace69[_0x2098d6(0x260)]]=_0x4c7e47,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x2098d6(0x2e1)],_0x74cf5d),await SessionHandler[_0x2098d6(0x2e9)](_0x74cf5d);}catch(_0x2e0152){_0x5ace69['BCSmF'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x40b6e0+_0x2098d6(0x2c9)+_0x2e0152);}};[a31_0x4d0456(0x2c8)](_0x922b6b){const _0x4c2875=a31_0x4d0456,_0x32bae4={};_0x32bae4[_0x4c2875(0x284)]=function(_0x4645c4,_0x14f6a4){return _0x4645c4===_0x14f6a4;},_0x32bae4[_0x4c2875(0x325)]=function(_0x4eac88,_0x22a464){return _0x4eac88===_0x22a464;},_0x32bae4['NRnbM']=function(_0x25c773,_0x426051){return _0x25c773===_0x426051;},_0x32bae4[_0x4c2875(0x301)]=_0x4c2875(0x208),_0x32bae4['lgcOn']=_0x4c2875(0x25d);const _0x12b102=_0x32bae4,_0x10350a=path['sep'];if(_0x12b102[_0x4c2875(0x284)](_0x922b6b,null)||_0x12b102['wjsoV'](_0x922b6b,'')||_0x12b102[_0x4c2875(0x284)](_0x922b6b,_0x10350a)||_0x12b102['NRnbM'](_0x922b6b,path[_0x4c2875(0x318)](_0x922b6b)))return null;try{return fs['statSync'](path[_0x4c2875(0x2f9)](_0x922b6b,_0x12b102[_0x4c2875(0x301)],_0x12b102['lgcOn'])),_0x922b6b;}catch(_0x2e464b){const _0x443cc7=path[_0x4c2875(0x318)](_0x922b6b);return this['findGitConfig'](_0x443cc7);}}[a31_0x4d0456(0x217)]=async _0x19189e=>{const _0x10c05c=a31_0x4d0456,_0x5a2b32={'NlvKU':'LogCreated','gdiGz':function(_0x483a35,_0x202434){return _0x483a35(_0x202434);}};try{this[_0x10c05c(0x2e5)]&&!this[_0x10c05c(0x2e5)][_0x10c05c(0x20f)]&&(_0x19189e[_0x10c05c(0x1f8)]=this[_0x10c05c(0x2e5)][_0x10c05c(0x297)]);!_0x19189e[_0x10c05c(0x1f8)]&&this[_0x10c05c(0x2a5)]&&!this[_0x10c05c(0x2a5)]['markedStatus']&&(_0x19189e[_0x10c05c(0x29d)]=this[_0x10c05c(0x2a5)]['testAnalyticsId']);if(_0x19189e[_0x10c05c(0x1f8)]||_0x19189e[_0x10c05c(0x29d)]){const _0x35b8f4={};_0x35b8f4[_0x10c05c(0x31b)]=_0x5a2b32[_0x10c05c(0x2e3)],_0x35b8f4[_0x10c05c(0x2de)]=[_0x19189e],await SessionHandler[_0x10c05c(0x2e9)](_0x35b8f4);}}catch(_0x199361){_0x5a2b32[_0x10c05c(0x2a3)](debug,_0x10c05c(0x299)+constants['TEST_REPORTING_ANALYTICS']+_0x10c05c(0x2c9)+_0x199361);}};[a31_0x4d0456(0x222)]=async _0x173367=>{const _0x9b71cd=a31_0x4d0456,_0x443bd1={'mntJH':_0x9b71cd(0x2c4),'NGBYK':_0x9b71cd(0x23c),'qPmJd':function(_0x148287,_0x408f14){return _0x148287(_0x408f14);}};try{const _0x40bb50={};_0x40bb50[_0x9b71cd(0x2b6)]=_0x173367[_0x9b71cd(0x2b6)]||this[_0x9b71cd(0x2a5)][_0x9b71cd(0x1fd)],_0x40bb50[_0x9b71cd(0x31a)]=_0x173367[_0x443bd1[_0x9b71cd(0x248)]];const _0x34edbb=_0x40bb50,_0x997078={};_0x997078[_0x9b71cd(0x31b)]=_0x443bd1[_0x9b71cd(0x269)],_0x997078[_0x9b71cd(0x264)]=_0x34edbb,await SessionHandler[_0x9b71cd(0x2e9)](_0x997078);}catch(_0x2cca2f){_0x443bd1[_0x9b71cd(0x21d)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x9b71cd(0x22e)]+_0x9b71cd(0x2c9)+_0x2cca2f);}};[a31_0x4d0456(0x2eb)](_0x1177a4){const _0x2ce03b=a31_0x4d0456,_0x5e26af={};_0x5e26af[_0x2ce03b(0x304)]=_0x2ce03b(0x1f1),_0x5e26af[_0x2ce03b(0x243)]=_0x2ce03b(0x24a),_0x5e26af['kDtal']='failed';const _0x3579f5=_0x5e26af,_0x434bdc={};return _0x434bdc[STATE_PASSED]=_0x3579f5['moNzu'],_0x434bdc[STATE_PENDING]=_0x3579f5['tYRie'],_0x434bdc[STATE_FAILED]=_0x3579f5['kDtal'],_0x434bdc[_0x1177a4];}[a31_0x4d0456(0x2f7)](_0x118ded){const _0x178542=a31_0x4d0456,_0xb541f8={};_0xb541f8[_0x178542(0x25c)]=function(_0x14c382,_0x107775){return _0x14c382-_0x107775;};const _0xb928fa=_0xb541f8,_0x258c28=_0x118ded['titlePath']();return _0x258c28[_0x178542(0x2b8)](0x0,_0xb928fa['iunVp'](_0x258c28['length'],0x1))['join']('\x20');}['scopes'](_0x114472){const _0x3b3ff4=a31_0x4d0456,_0x1622e6={};_0x1622e6[_0x3b3ff4(0x289)]=function(_0x170da6,_0x3cb4b7){return _0x170da6-_0x3cb4b7;};const _0x234b1e=_0x1622e6,_0x6b31f6=_0x114472['titlePath']();return _0x6b31f6[_0x3b3ff4(0x2b8)](0x0,_0x234b1e[_0x3b3ff4(0x289)](_0x6b31f6['length'],0x1));}[a31_0x4d0456(0x200)](_0x3aa67b){const _0x2128ce=a31_0x4d0456,_0x47034b={};_0x47034b[_0x2128ce(0x29b)]=function(_0x15cec8,_0x3bfd04){return _0x15cec8>_0x3bfd04;};const _0x2d816f=_0x47034b;if(_0x3aa67b[_0x2128ce(0x270)])return _0x3aa67b['file'];if(_0x3aa67b[_0x2128ce(0x213)]){const _0x3907c4=_0x3aa67b['ctx'][_0x2128ce(0x2d4)]?this[_0x2128ce(0x200)](_0x3aa67b[_0x2128ce(0x213)][_0x2128ce(0x2d4)]):null;if(_0x3907c4)return _0x3907c4;}if(_0x3aa67b[_0x2128ce(0x21f)]){const _0x1cec03=this[_0x2128ce(0x200)](_0x3aa67b['parent'])||(_0x3aa67b['parent'][_0x2128ce(0x213)]&&_0x3aa67b['parent']['ctx']['currentTest']?this[_0x2128ce(0x200)](_0x3aa67b[_0x2128ce(0x21f)][_0x2128ce(0x213)][_0x2128ce(0x2d4)]):null);if(_0x1cec03)return _0x1cec03;_0x3aa67b[_0x2128ce(0x21f)]['suites']&&_0x2d816f[_0x2128ce(0x29b)](_0x3aa67b[_0x2128ce(0x21f)][_0x2128ce(0x249)][_0x2128ce(0x2b5)],0x0)&&_0x3aa67b['parent'][_0x2128ce(0x249)][_0x2128ce(0x2d7)](_0x57fad0=>{const _0x12e96c=_0x2128ce,_0x3a3c31=_0x57fad0[_0x12e96c(0x213)]?this[_0x12e96c(0x200)](_0x57fad0[_0x12e96c(0x213)]):null;if(_0x3a3c31)return _0x3a3c31;});}return null;}}module[a31_0x4d0456(0x210)]=MyReporter;
1
+ 'use strict';const a31_0x34f472=a31_0x3db8;function a31_0x3db8(_0x114975,_0x5297a3){const _0x57f053=a31_0x57f0();return a31_0x3db8=function(_0x3db8d9,_0x42b40d){_0x3db8d9=_0x3db8d9-0x18d;let _0x2c23c5=_0x57f053[_0x3db8d9];return _0x2c23c5;},a31_0x3db8(_0x114975,_0x5297a3);}(function(_0x591f5f,_0x38e06a){const _0x36d0bf=a31_0x3db8,_0x4343b4=_0x591f5f();while(!![]){try{const _0x3eecc3=-parseInt(_0x36d0bf(0x23a))/0x1*(parseInt(_0x36d0bf(0x226))/0x2)+-parseInt(_0x36d0bf(0x237))/0x3*(-parseInt(_0x36d0bf(0x202))/0x4)+parseInt(_0x36d0bf(0x18d))/0x5*(-parseInt(_0x36d0bf(0x240))/0x6)+-parseInt(_0x36d0bf(0x19c))/0x7*(parseInt(_0x36d0bf(0x1a7))/0x8)+parseInt(_0x36d0bf(0x2b8))/0x9*(parseInt(_0x36d0bf(0x228))/0xa)+-parseInt(_0x36d0bf(0x1ab))/0xb*(parseInt(_0x36d0bf(0x244))/0xc)+parseInt(_0x36d0bf(0x1aa))/0xd*(parseInt(_0x36d0bf(0x267))/0xe);if(_0x3eecc3===_0x38e06a)break;else _0x4343b4['push'](_0x4343b4['shift']());}catch(_0x41aa19){_0x4343b4['push'](_0x4343b4['shift']());}}}(a31_0x57f0,0x894bb));function a31_0x57f0(){const _0x3d9657=['trim','getInstance','body','RSXLo','redirectUrl','qVzXv','bRjsC','lCSvp','</code></pre></dd>','fkIbN','_indents','location_prefix','write','iRsxY','sep','sendTestRunEvent','decreaseIndent','PlZJX','XPzAU','FBvAy','BZAIC','bBucb','../../../helpers/test-observability/constants','reporterOption','file','223784puGpWH','failed','comma','appendTestItemLog','finalResults','hRjnX','nawVA','BEFORE_ALL','HookStarted','_upstreamConfig','join','toString','constants','xcrtF','current_hook','DtpnS','QFfhK','tndgs','%s\x20','gzNOM','exports','clean','statSync','setGlobal','http_response','vYDVc','CRdxn','uuid','fast','SXfBY','../../../helpers/logger','SIUie','current_test','analyticsResult','__platform__','mZjRv','555306LuIPjd','fToRf','3790hzcyph','escape','../../../helpers/test-observability/requestQueueHandler','toISOString','config','responseCode','bang','.git','WdJnH','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','xunit','winstonLogger','apply','\x20(%dms)','WZHhD','51dllyEM','consoleLog','green','1kbOlVz','prefixTestPath','ZHTOY','pending','bsConfig','push','2274JdDAzf','qVmyx','hook_type','TestRunSkipped','6013644ZhLjkY','removeAllListeners','tSGzk','dOBrf','vBINM','FToDa','skipped','result','BxjQz','hooks','HookRunFinished','_testEnv','light','TAdwP','fEPVd','RpbkV','prototype','after\x20each','pass','failCount','UmBfX','rgkpy','pid','testRunUUID','doc','Mjcdk','markedStatus','pVcVw','\x20-\x20','bind','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','type','registerListeners','multiple','xpHxO','48398oGkDJj','title','color','HookFinished','DdiQD','done','mocha','parent','cwd','hookAnalyticsId','error','InIDS','GWuVk','state','hook_run','\x20\x20<dt>','twjag','once','event_type','length','UiQtI','ShxDN','test_run','dot','xfjDe','_testResults','mocha/lib/utils.js','err','__workerDetails','AssertionError','setCurrentTestData','CckfY','ZCyLD','checkmark','\x20\x20<dt\x20class=\x22error\x22>','testStarted','WavMf','KuceY','VvNZI','bs:addPlatformDetails:','UnhandledError','lcnc','results','titlePath','originalTitle','uploadEventData','includes','OjVca','tKMHD','TgfSn','util','forEach','%s\x20-\x20%s','shouldProcessEventForTesthub','before\x20each','scope','docAppend','AFTER_EACH','reporterOptions','rdBrn','<h1>','FTaKf','PhVuI','__indents','nlimy','uZBMH','LNUVl','../../../helpers/test-observability/sessionHandler','scopes','appendTestPlatform','currentRetry','docHtml','NoMcR','failure_reason_expanded','_buildCreated','TestRunFinished','logs','thTestRunUuid','Runner','../../../helpers/central-scanner/helpers','increaseIndent','7038fYkOTC','indent','\x20\x20<dd><pre><code>','kEgrK','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Reporter','fail','relative','testAnalyticsId','eFCNM','khhKi','<section\x20class=\x22suite\x22>','kaIOY','4710KpZfRm','JNFOr','get','LcDgf','cMUOY','Mocha','suiteCount','passed','dirname','appendTesthubParams','inspect','itYbF','getTime','ctx','failure_backtrace','175ongDam','\x20with\x20error\x20:\x20','XmZuY','mocha/lib/runnable.js','sPgqk','runner','</dt>','testObservability','mocha/lib/reporters/base.js','XPTSr','GvQis','47152ddTxBo','duration','match','2249aZDylG','11EdNkOP','RKonD','ZHYXM','XjaLp','bZjMy','File\x20path\x20could\x20not\x20be\x20found','KpriA','SIBRi','failure','\x20\x20<dd\x20class=\x22error\x22>','path','suites','../../../helpers/metadata','stdout','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','IYojW','mDLRj','slice','test_run_uuid','vKTvr','started_at','AFTER_ALL','xzurn','bbFSO','root','TEST_REPORTING_ANALYTICS','</dd>','kgZnu','.js','split','</section>','findGitConfig','atNLr','currentTest','integrations','mocha/lib/reporters/','BEFORE_EACH','TestRunStarted','EVENT','symbols','_paths','MVXvp','javascript','fullTitle','XZOyq','KaAfT','ZHocx','suite','getRootParentFile','before\x20all','HookRunStarted','_currentRetry','../../../helpers/testhub/utils','MOCHA','ZOYyR','retryOf','failureCount','nGkBi','hook_run_uuid','BxvzW','speed','MUpbD'];a31_0x57f0=function(){return _0x3d9657;};return a31_0x57f0();}const util=require(a31_0x34f472(0x299)),fs=require('fs'),path=require(a31_0x34f472(0x1b5)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a31_0x34f472(0x1a4),a31_0x34f472(0x26d)),utils=requireModule(a31_0x34f472(0x281),a31_0x34f472(0x26d)),color=Base['color'],Mocha=requireModule('mocha'),Runnable=requireModule(a31_0x34f472(0x19f),a31_0x34f472(0x26d)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a31_0x34f472(0x1df)),centralScannerUtils=require(a31_0x34f472(0x2b6)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a31_0x34f472(0x1ff)),globals=require('../../../helpers/globals'),logger=require(a31_0x34f472(0x220))[a31_0x34f472(0x233)],TestMetadata=require(a31_0x34f472(0x1b7)),a31_0x3aa2ec={};a31_0x3aa2ec[a31_0x34f472(0x1dc)]=a31_0x34f472(0x209),a31_0x3aa2ec['after\x20all']=a31_0x34f472(0x1c0),a31_0x3aa2ec[a31_0x34f472(0x29d)]=a31_0x34f472(0x1cf),a31_0x3aa2ec[a31_0x34f472(0x255)]=a31_0x34f472(0x2a0);const HOOK_TYPES_MAP=a31_0x3aa2ec,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a31_0x34f472(0x2b5)][a31_0x34f472(0x20e)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a31_0x34f472(0x20e)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a31_0x34f472(0x1ff)),SessionHandler=require(a31_0x34f472(0x2aa)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a31_0x34f472(0x22a)),constants=require('../../utils/constants'),requestQueueHandler=RequestQueueHandler[a31_0x34f472(0x1ea)]();class MyReporter{constructor(_0x44cb80,_0x59cf49){const _0x181667=a31_0x34f472,_0x894412={'CRdxn':function(_0x45a6c7,_0x828aca){return _0x45a6c7===_0x828aca;},'sPgqk':'spec','ZHTOY':function(_0x1d9843,_0x21840e){return _0x1d9843+_0x21840e;},'bZjMy':function(_0x39edc3,_0x2b0f65){return _0x39edc3+_0x2b0f65;},'pVcVw':function(_0x4dbcd3,_0x54e49e,_0x3ca5c8){return _0x4dbcd3(_0x54e49e,_0x3ca5c8);},'KuceY':_0x181667(0x239),'tSGzk':_0x181667(0x214),'EAQvE':_0x181667(0x250),'tKMHD':_0x181667(0x29b),'xpHxO':'RUNNING','PhVuI':function(_0x3234be,_0xb23841){return _0x3234be===_0xb23841;},'uZBMH':_0x181667(0x25c),'DtpnS':function(_0x3395f3){return _0x3395f3();},'AGfWM':_0x181667(0x1dd),'LNUVl':_0x181667(0x24e),'ZHYXM':'passed','ShxDN':_0x181667(0x21e),'TAdwP':_0x181667(0x288),'SXfBY':_0x181667(0x256),'rdBrn':'\x20%s','rgkpy':function(_0x450c5d,_0x4b1b81){return _0x450c5d+_0x4b1b81;},'RKonD':function(_0x23c758,_0x2de8dc){return _0x23c758+_0x2de8dc;},'bRjsC':function(_0x5ec71d,_0x44c932,_0x435f6a){return _0x5ec71d(_0x44c932,_0x435f6a);},'fEPVd':function(_0x4b7614,_0x2dac52){return _0x4b7614+_0x2dac52;},'GWuVk':function(_0x386e4c,_0x270960,_0xd95cc3){return _0x386e4c(_0x270960,_0xd95cc3);},'BxvzW':_0x181667(0x235),'qVAnE':_0x181667(0x2be),'ZHocx':'\x20\x20%d)\x20%s','pukxf':function(_0x30d663,_0x2b9723){return _0x30d663===_0x2b9723;},'kEgrK':function(_0x463def,_0x2f2bae){return _0x463def+_0x2f2bae;},'gzNOM':function(_0x610390,_0x1114a7){return _0x610390+_0x1114a7;},'QFfhK':'bright\x20yellow','XjaLp':function(_0x5ed163,_0x5cacf2,_0x4b1995){return _0x5ed163(_0x5cacf2,_0x4b1995);},'XZOyq':'COMPLETED','UiQtI':function(_0x203a73,_0x54822a){return _0x203a73===_0x54822a;},'bBucb':function(_0x3c6415,_0x151130){return _0x3c6415===_0x151130;},'GvQis':_0x181667(0x27e),'XPzAU':'slow','DzSvr':function(_0x119dc8,_0x31b2e6){return _0x119dc8===_0x31b2e6;},'eFCNM':function(_0x156599,_0xc79e1f){return _0x156599===_0xc79e1f;},'PlZJX':function(_0x138830,_0x245186){return _0x138830===_0x245186;},'BRPwU':'1|0|2|4|3','BZAIC':function(_0x3b8f86,_0xda0b89){return _0x3b8f86===_0xda0b89;},'TgfSn':function(_0x471cf1,_0x1e1e0b){return _0x471cf1===_0x1e1e0b;},'cMUOY':'pending','kgZnu':_0x181667(0x243),'QCVPj':function(_0x5614ea,_0x27f5bd){return _0x5614ea===_0x27f5bd;},'RpbkV':function(_0x566a18,_0x50fedd){return _0x566a18===_0x50fedd;},'UmBfX':function(_0xdd810b,_0x462e55){return _0xdd810b(_0x462e55);},'xzurn':function(_0x19dd2b,_0x1c6eb6){return _0x19dd2b===_0x1c6eb6;},'GrYrg':_0x181667(0x232),'twjag':'mocha','qVmyx':function(_0x248286,_0x2f1400){return _0x248286(_0x2f1400);},'LYzWh':function(_0x2698b7,_0x4f54cc){return _0x2698b7!==_0x4f54cc;}};this[_0x181667(0x263)]=_0x59cf49['reporterOption'][_0x181667(0x263)],this[_0x181667(0x1a3)]=_0x894412[_0x181667(0x211)](isTestObservabilitySession),Base['call'](this,_0x44cb80,_0x59cf49),this['_indents']=0x0,this[_0x181667(0x257)]=0x0,this['results']=[],this[_0x181667(0x206)]=[],this[_0x181667(0x193)]=0x0,this[_0x181667(0x2b1)]=![],this[_0x181667(0x280)]=[],this[_0x181667(0x24f)]=_0x894412['DtpnS'](getTestEnv),this[_0x181667(0x1d3)]=new PathHelper({'cwd':process[_0x181667(0x26f)]()},this['_testEnv'][_0x181667(0x1f4)]),this[_0x181667(0x20b)]=_0x59cf49[_0x181667(0x200)][_0x181667(0x23e)],this[_0x181667(0x264)]();_0x894412[_0x181667(0x1c1)](this[_0x181667(0x263)],_0x894412[_0x181667(0x2a8)])&&(this['docHtml']='',this['__indents']=0x2);_0x44cb80[_0x181667(0x278)](EVENT_RUN_BEGIN,async()=>{const _0x5a20ca=_0x181667;_0x894412['CRdxn'](this[_0x5a20ca(0x263)],_0x894412[_0x5a20ca(0x1a0)])&&Base[_0x5a20ca(0x238)]();})['on'](EVENT_SUITE_BEGIN,_0x56877c=>{const _0xf7280f=_0x181667;if(_0x56877c[_0xf7280f(0x1c3)])return;if(_0x894412[_0xf7280f(0x21c)](this[_0xf7280f(0x263)],_0x894412[_0xf7280f(0x1a0)]))this[_0xf7280f(0x2b7)](),Base[_0xf7280f(0x238)](_0x894412[_0xf7280f(0x23c)](_0x894412[_0xf7280f(0x1af)](this['indent'](),_0x894412['pVcVw'](color,_0x894412[_0xf7280f(0x28c)],_0x894412['tSGzk'])),_0x894412[_0xf7280f(0x25f)](color,_0x894412['EAQvE'],_0x894412[_0xf7280f(0x297)])),_0x894412[_0xf7280f(0x266)],_0x56877c[_0xf7280f(0x268)],global[_0xf7280f(0x224)]);else _0x894412[_0xf7280f(0x2a5)](this[_0xf7280f(0x263)],_0x894412['uZBMH'])&&(this[_0xf7280f(0x29f)](this[_0xf7280f(0x2b9)]()+_0xf7280f(0x2c3)),++this['__indents'],this[_0xf7280f(0x29f)](this[_0xf7280f(0x2b9)]()+_0xf7280f(0x2a3)+utils['escape'](_0x56877c[_0xf7280f(0x268)]+_0xf7280f(0x260)+global[_0xf7280f(0x224)])+'</h1>'),this[_0xf7280f(0x29f)](this[_0xf7280f(0x2b9)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x5925d1=>{const _0x273208=_0x181667;if(_0x894412['PhVuI'](testhubUtils[_0x273208(0x29c)](testHubConstants[_0x273208(0x1d1)][_0x273208(0x20a)]),!![])){if(!_0x5925d1[_0x273208(0x270)])_0x5925d1['hookAnalyticsId']=_0x894412[_0x273208(0x211)](uuidv4);else _0x5925d1[_0x273208(0x25e)]&&(_0x5925d1[_0x273208(0x270)]=_0x894412[_0x273208(0x211)](uuidv4),delete _0x5925d1['markedStatus']);_0x5925d1[_0x273208(0x1bf)]=new Date()[_0x273208(0x22b)](),this[_0x273208(0x210)]=_0x5925d1,await this[_0x273208(0x1f8)](_0x5925d1,undefined,![],_0x894412['AGfWM']);}})['on'](EVENT_HOOK_END,async _0x319fc2=>{const _0x552f6b=_0x181667;_0x894412[_0x552f6b(0x2a5)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x552f6b(0x26a)]),!![])&&(!_0x319fc2[_0x552f6b(0x25e)]&&(_0x319fc2[_0x552f6b(0x25e)]=!![],await this[_0x552f6b(0x1f8)](_0x319fc2,undefined,![],_0x894412[_0x552f6b(0x2a9)])));})['on'](EVENT_SUITE_END,_0x2bedc2=>{const _0x547060=_0x181667;if(_0x2bedc2[_0x547060(0x1c3)])return;if(_0x894412['pukxf'](this[_0x547060(0x263)],_0x894412['sPgqk']))Base[_0x547060(0x238)](),Base[_0x547060(0x238)](_0x894412[_0x547060(0x2bb)](_0x894412[_0x547060(0x215)](this[_0x547060(0x2b9)](),_0x894412[_0x547060(0x273)](color,_0x894412[_0x547060(0x212)],_0x894412[_0x547060(0x246)])),_0x894412[_0x547060(0x1ae)](color,_0x894412['EAQvE'],_0x894412[_0x547060(0x297)])),_0x894412[_0x547060(0x1d7)],_0x2bedc2[_0x547060(0x268)],global['__platform__']),this[_0x547060(0x291)][_0x547060(0x29a)](_0x7b32ed=>{const _0x17d156=_0x547060;if(_0x894412[_0x17d156(0x21c)](_0x7b32ed[_0x17d156(0x274)],_0x894412[_0x17d156(0x1ad)])){var _0x4163ce;_0x894412[_0x17d156(0x21c)](_0x7b32ed[_0x17d156(0x1e7)],_0x894412[_0x17d156(0x27c)])?(_0x4163ce=_0x894412[_0x17d156(0x23c)](_0x894412[_0x17d156(0x1af)](this[_0x17d156(0x2b9)](),_0x894412[_0x17d156(0x25f)](color,_0x894412[_0x17d156(0x251)],_0x894412[_0x17d156(0x1af)]('\x20\x20',Base[_0x17d156(0x1d2)]['ok']))),_0x894412[_0x17d156(0x25f)](color,_0x894412[_0x17d156(0x21f)],_0x894412['rdBrn'])),Base[_0x17d156(0x238)](_0x4163ce,_0x7b32ed[_0x17d156(0x268)])):(_0x4163ce=_0x894412[_0x17d156(0x259)](_0x894412[_0x17d156(0x1ac)](_0x894412[_0x17d156(0x259)](this['indent'](),_0x894412[_0x17d156(0x1ef)](color,_0x894412[_0x17d156(0x251)],_0x894412[_0x17d156(0x252)]('\x20\x20',Base['symbols']['ok']))),_0x894412[_0x17d156(0x273)](color,_0x894412['SXfBY'],_0x894412[_0x17d156(0x2a2)])),_0x894412[_0x17d156(0x25f)](color,_0x7b32ed[_0x17d156(0x1e7)],_0x894412[_0x17d156(0x1e6)])),Base['consoleLog'](_0x4163ce,_0x7b32ed[_0x17d156(0x268)],_0x7b32ed[_0x17d156(0x1a8)]));}else Base[_0x17d156(0x238)](_0x894412[_0x17d156(0x259)](this[_0x17d156(0x2b9)](),_0x894412[_0x17d156(0x273)](color,_0x894412['qVAnE'],_0x894412[_0x17d156(0x1d9)])),++this['failCount'],_0x7b32ed[_0x17d156(0x268)]);}),this[_0x547060(0x1f9)]();else _0x894412[_0x547060(0x27b)](this[_0x547060(0x263)],_0x894412['uZBMH'])&&(this[_0x547060(0x29f)](this[_0x547060(0x2b9)]()+'</dl>'),--this[_0x547060(0x2a6)],this['docAppend'](this['indent']()+_0x547060(0x1c9)),--this['__indents']);Array[_0x547060(0x254)]['push'][_0x547060(0x234)](this['finalResults'],this[_0x547060(0x291)]),this[_0x547060(0x291)]=[];})['on'](EVENT_TEST_PASS,async _0x3f072b=>{const _0x8e61ef=_0x181667;this[_0x8e61ef(0x291)]['push']({'speed':_0x3f072b['speed'],'suite':_0x3f072b['parent'][_0x8e61ef(0x268)],'title':_0x3f072b['title'],'fullTitle':_0x3f072b[_0x8e61ef(0x1d6)](),'duration':_0x3f072b[_0x8e61ef(0x1a8)],'state':_0x3f072b[_0x8e61ef(0x274)],'err':{},'currentRetry':_0x3f072b[_0x8e61ef(0x2ad)](),'titlePathV':_0x3f072b[_0x8e61ef(0x292)](),'isPending':_0x3f072b['isPending']()});if(_0x894412[_0x8e61ef(0x1fe)](this['type'],_0x894412['GvQis']))_0x894412['pukxf'](_0x3f072b['speed'],_0x894412[_0x8e61ef(0x1fb)])?process[_0x8e61ef(0x1b8)][_0x8e61ef(0x1f5)](Base[_0x8e61ef(0x269)](_0x894412['QFfhK'],Base['symbols'][_0x8e61ef(0x27e)])):process[_0x8e61ef(0x1b8)][_0x8e61ef(0x1f5)](Base[_0x8e61ef(0x269)](_0x3f072b[_0x8e61ef(0x1e7)],Base[_0x8e61ef(0x1d2)][_0x8e61ef(0x27e)]));else{if(_0x894412['DzSvr'](this[_0x8e61ef(0x263)],_0x894412[_0x8e61ef(0x2a8)])){this[_0x8e61ef(0x29f)](this['indent']()+'\x20\x20<dt>'+utils[_0x8e61ef(0x229)](_0x3f072b[_0x8e61ef(0x268)])+_0x8e61ef(0x1a2)),this[_0x8e61ef(0x29f)](this['indent']()+_0x8e61ef(0x276)+utils[_0x8e61ef(0x229)](_0x3f072b[_0x8e61ef(0x201)])+_0x8e61ef(0x1a2));var _0x3fb1c1=utils[_0x8e61ef(0x229)](utils[_0x8e61ef(0x217)](_0x3f072b[_0x8e61ef(0x1eb)]));this[_0x8e61ef(0x29f)](this[_0x8e61ef(0x2b9)]()+_0x8e61ef(0x2ba)+_0x3fb1c1+_0x8e61ef(0x1f1));}}_0x894412[_0x8e61ef(0x2c1)](testhubUtils[_0x8e61ef(0x29c)](),!![])&&(!_0x3f072b[_0x8e61ef(0x25e)]&&(_0x3f072b[_0x8e61ef(0x25e)]=!![],await this[_0x8e61ef(0x1f8)](_0x3f072b)));})['on'](EVENT_TEST_FAIL,async(_0x852be5,_0x401ba7)=>{const _0x4dfae9=_0x181667;this[_0x4dfae9(0x291)][_0x4dfae9(0x23f)]({'title':_0x852be5[_0x4dfae9(0x268)],'suite':_0x852be5['parent'][_0x4dfae9(0x268)],'state':_0x852be5[_0x4dfae9(0x274)],'err':{'message':util[_0x4dfae9(0x197)](_0x401ba7)},'fullTitle':_0x852be5[_0x4dfae9(0x1d6)](),'speed':_0x852be5[_0x4dfae9(0x1e7)],'currentRetry':_0x852be5['currentRetry'](),'titlePathV':_0x852be5[_0x4dfae9(0x292)]()});if(_0x894412[_0x4dfae9(0x1fa)](this[_0x4dfae9(0x263)],_0x894412['GvQis']))process[_0x4dfae9(0x1b8)][_0x4dfae9(0x1f5)](Base[_0x4dfae9(0x269)](_0x894412['qVAnE'],Base[_0x4dfae9(0x1d2)][_0x4dfae9(0x22e)]));else{if(_0x894412[_0x4dfae9(0x27b)](this[_0x4dfae9(0x263)],_0x894412[_0x4dfae9(0x2a8)])){const _0x5d629e=_0x894412['BRPwU'][_0x4dfae9(0x1c8)]('|');let _0x1fc50e=0x0;while(!![]){switch(_0x5d629e[_0x1fc50e++]){case'0':this[_0x4dfae9(0x29f)](this['indent']()+_0x4dfae9(0x289)+utils[_0x4dfae9(0x229)](_0x852be5[_0x4dfae9(0x201)])+_0x4dfae9(0x1a2));continue;case'1':this[_0x4dfae9(0x29f)](this[_0x4dfae9(0x2b9)]()+_0x4dfae9(0x289)+utils[_0x4dfae9(0x229)](_0x852be5[_0x4dfae9(0x268)])+'</dt>');continue;case'2':var _0x3d1f84=utils[_0x4dfae9(0x229)](utils[_0x4dfae9(0x217)](_0x852be5['body']));continue;case'3':this[_0x4dfae9(0x29f)](this[_0x4dfae9(0x2b9)]()+_0x4dfae9(0x1b4)+utils['escape'](_0x852be5[_0x4dfae9(0x282)])+_0x4dfae9(0x1c5));continue;case'4':this['docAppend'](this[_0x4dfae9(0x2b9)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x3d1f84+'</code></pre></dd>');continue;}break;}}}if(_0x894412[_0x4dfae9(0x1fd)](testhubUtils[_0x4dfae9(0x29c)](testHubConstants['EVENT']['HookFinished']),!![])){if(!_0x852be5[_0x4dfae9(0x25e)]){_0x852be5[_0x4dfae9(0x25e)]=!![];if(_0x852be5[_0x4dfae9(0x2c0)])await this[_0x4dfae9(0x1f8)](_0x852be5,_0x401ba7);else _0x852be5[_0x4dfae9(0x270)]&&await this['sendTestRunEvent'](_0x852be5,_0x401ba7,![],_0x894412[_0x4dfae9(0x2a9)]);}}})['on'](EVENT_TEST_PENDING,async _0x2bd397=>{const _0x5113a8=_0x181667;this['results']['push']({'title':_0x2bd397[_0x5113a8(0x268)],'suite':_0x2bd397[_0x5113a8(0x26e)][_0x5113a8(0x268)],'state':_0x2bd397['state'],'err':{},'fullTitle':_0x2bd397['fullTitle'](),'speed':_0x2bd397[_0x5113a8(0x1e7)],'currentRetry':_0x2bd397[_0x5113a8(0x2ad)](),'titlePathV':_0x2bd397[_0x5113a8(0x292)]()}),_0x894412[_0x5113a8(0x298)](this['type'],_0x894412[_0x5113a8(0x1a6)])&&process[_0x5113a8(0x1b8)][_0x5113a8(0x1f5)](Base[_0x5113a8(0x269)](_0x894412[_0x5113a8(0x191)],Base[_0x5113a8(0x1d2)][_0x5113a8(0x204)])),_0x894412['BZAIC'](testhubUtils[_0x5113a8(0x29c)](),!![])&&(!_0x2bd397['testAnalyticsId']&&(_0x2bd397[_0x5113a8(0x2c0)]=_0x894412[_0x5113a8(0x211)](uuidv4)),!_0x2bd397[_0x5113a8(0x25e)]&&(_0x2bd397[_0x5113a8(0x25e)]=!![],await this[_0x5113a8(0x1f8)](_0x2bd397,undefined,![],_0x894412[_0x5113a8(0x1c6)])));})['on'](EVENT_TEST_BEGIN,async _0x1a92ef=>{const _0x103245=_0x181667;_0x894412[_0x103245(0x1fe)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x103245(0x28a)](_0x1a92ef);})['on'](EVENT_TEST_END,async _0x1764b3=>{const _0x1c4863=_0x181667;_0x894412['QCVPj'](testhubUtils[_0x1c4863(0x29c)](),!![])&&(!_0x1764b3['markedStatus']&&(_0x1764b3[_0x1c4863(0x25e)]=!![],await this[_0x1c4863(0x1f8)](_0x1764b3)));})[_0x181667(0x278)](EVENT_RUN_END,async()=>{const _0x3b54ef=_0x181667;try{if(_0x894412['RpbkV'](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x251d22=_0x894412[_0x3b54ef(0x258)](getHookSkippedTests,this[_0x3b54ef(0x1a1)][_0x3b54ef(0x1da)]);for(const _0x1da8c6 of _0x251d22){!_0x1da8c6['testAnalyticsId']&&(_0x1da8c6[_0x3b54ef(0x2c0)]=_0x894412['DtpnS'](uuidv4)),await this[_0x3b54ef(0x1f8)](_0x1da8c6,undefined,![],_0x894412[_0x3b54ef(0x1c6)]);}}}catch(_0x214010){_0x894412[_0x3b54ef(0x258)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x214010);}await requestQueueHandler['shutdown'](),_0x894412[_0x3b54ef(0x253)](this['type'],_0x894412[_0x3b54ef(0x2a8)])&&Base[_0x3b54ef(0x238)](this[_0x3b54ef(0x2ae)]);});if(this[_0x181667(0x263)]&&![_0x894412['uZBMH'],_0x894412['GrYrg'],_0x894412[_0x181667(0x1a0)],_0x894412[_0x181667(0x1a6)]][_0x181667(0x295)](this[_0x181667(0x263)])){const _0x448f0f=this['type'][_0x181667(0x1e9)]();this['Reporter']=null;try{this[_0x181667(0x2bd)]=_0x894412[_0x181667(0x1ae)](requireModule,_0x181667(0x1ce)+_0x448f0f+_0x181667(0x1c7),_0x894412[_0x181667(0x277)]);}catch(_0x1f878d){_0x894412['UmBfX'](debug,_0x181667(0x262)+_0x1f878d);}if(_0x894412['TgfSn'](this[_0x181667(0x2bd)],null))try{this[_0x181667(0x2bd)]=_0x894412[_0x181667(0x241)](require,_0x448f0f);}catch(_0x3c7ed5){console[_0x181667(0x271)]('Failed\x20to\x20load\x20reporter\x20'+_0x448f0f);}if(_0x894412['LYzWh'](this[_0x181667(0x2bd)],null)){const _0x1bc950={};_0x1bc950[_0x181667(0x2a1)]=_0x59cf49[_0x181667(0x200)],this['Reporter']=new this[(_0x181667(0x2bd))](_0x44cb80,_0x1bc950);}}}[a31_0x34f472(0x2b9)](){const _0x12ab76=a31_0x34f472,_0xba0f86={'OjVca':function(_0x41a5b4,_0x42e9fe){return _0x41a5b4(_0x42e9fe);}};return _0xba0f86[_0x12ab76(0x296)](Array,this['_indents'])[_0x12ab76(0x20c)]('\x20\x20');}[a31_0x34f472(0x2b7)](){const _0x35fabe=a31_0x34f472;this[_0x35fabe(0x1f3)]++;}['decreaseIndent'](){const _0xdc9995=a31_0x34f472;this[_0xdc9995(0x1f3)]--;}['docAppend'](_0x341b6a){const _0x235901=a31_0x34f472;this[_0x235901(0x2ae)]+=_0x341b6a;}[a31_0x34f472(0x26c)](_0x3ec759,_0x5949ff){const _0x135c7e=a31_0x34f472,_0x230955={'InIDS':function(_0x56017c,_0x4deab0){return _0x56017c(_0x4deab0);}},_0x3782e9={};_0x3782e9[_0x135c7e(0x1e3)]=_0x3ec759,_0x3782e9[_0x135c7e(0x291)]=this[_0x135c7e(0x206)],_0x230955[_0x135c7e(0x272)](_0x5949ff,_0x3782e9);}[a31_0x34f472(0x264)](){const _0x151738=a31_0x34f472;process[_0x151738(0x245)]('bs:addLog:'+process[_0x151738(0x25a)]),process['on']('bs:addLog:'+process[_0x151738(0x25a)],this['appendTestItemLog'][_0x151738(0x261)](this)),process['removeAllListeners'](_0x151738(0x28e)+process['pid']),process['on'](_0x151738(0x28e)+process[_0x151738(0x25a)],this['appendTestPlatform'][_0x151738(0x261)](this));}[a31_0x34f472(0x28a)]=async _0x2887a3=>{const _0x33e789=a31_0x34f472,_0x78f1f2={'hRjnX':function(_0x1aedb4){return _0x1aedb4();},'tndgs':_0x33e789(0x25b),'nlimy':function(_0x56e79c,_0x25dc8f){return _0x56e79c>_0x25dc8f;},'ZCyLD':function(_0x48daf5,_0x573d8e){return _0x48daf5===_0x573d8e;},'xcrtF':_0x33e789(0x1d0),'NoMcR':function(_0x302d16,_0x4ad9f3){return _0x302d16(_0x4ad9f3);}};try{const _0x18030e=this[_0x33e789(0x222)];this[_0x33e789(0x222)]=_0x2887a3,_0x2887a3[_0x33e789(0x1e2)]=null,_0x2887a3['testAnalyticsId']=_0x78f1f2[_0x33e789(0x207)](uuidv4),globals[_0x33e789(0x219)](_0x78f1f2[_0x33e789(0x213)],_0x2887a3[_0x33e789(0x2c0)]),global[_0x33e789(0x283)]=global['__workerDetails']||{},global[_0x33e789(0x283)][_0x33e789(0x1cc)]=global['__workerDetails'][_0x33e789(0x1cc)]||{},global[_0x33e789(0x283)][_0x33e789(0x1cc)][_0x33e789(0x2b4)]=_0x2887a3['testAnalyticsId'],_0x2887a3['started_at']=new Date()['toISOString'](),_0x78f1f2[_0x33e789(0x2a7)](_0x2887a3[_0x33e789(0x1de)],0x0)&&_0x18030e&&_0x78f1f2[_0x33e789(0x287)](_0x18030e['title'],_0x2887a3['title'])?(_0x2887a3[_0x33e789(0x1e2)]=_0x18030e['testAnalyticsId'],await this[_0x33e789(0x1f8)](_0x2887a3,undefined,![],_0x78f1f2[_0x33e789(0x20f)]),_0x18030e['state']=STATE_FAILED,await this[_0x33e789(0x1f8)](_0x18030e,undefined,!![])):await this[_0x33e789(0x1f8)](_0x2887a3,undefined,![],_0x78f1f2[_0x33e789(0x20f)]);}catch(_0x1f7fa8){_0x78f1f2[_0x33e789(0x2af)](debug,_0x33e789(0x231)+_0x1f7fa8);}};[a31_0x34f472(0x1f8)]=async(_0x284dbf,_0x48b8da=undefined,_0x38c380=![],_0x3af97a=a31_0x34f472(0x2b2))=>{const _0x2478a5=a31_0x34f472,_0x280b5e={'pUWhY':function(_0x14a928,_0x46cb1e){return _0x14a928===_0x46cb1e;},'dOBrf':function(_0x29b84b,_0x1a9ea6){return _0x29b84b!==_0x1a9ea6;},'DdiQD':'test','vBINM':_0x2478a5(0x282),'SIBRi':function(_0x394afb,_0x26d05e){return _0x394afb!==_0x26d05e;},'Mjcdk':_0x2478a5(0x1b0),'XmZuY':_0x2478a5(0x192),'nawVA':_0x2478a5(0x1d5),'FBvAy':_0x2478a5(0x243),'khhKi':_0x2478a5(0x24a),'SIUie':function(_0x596151,_0x592791){return _0x596151-_0x592791;},'FToDa':_0x2478a5(0x284),'WavMf':_0x2478a5(0x28f),'ZOYyR':_0x2478a5(0x2b2),'EjWUO':_0x2478a5(0x1d0),'FTaKf':function(_0x22f5d1){return _0x22f5d1();},'WdJnH':function(_0x577f55,_0x5c5a59){return _0x577f55===_0x5c5a59;},'JNFOr':'started_at','aBxnn':'finished_at','nGkBi':function(_0x47963e,_0x3bf5ac){return _0x47963e(_0x3bf5ac);},'BxjQz':function(_0x2f3eb5,_0x1dd43e){return _0x2f3eb5===_0x1dd43e;},'KNLXc':_0x2478a5(0x24e),'KpriA':_0x2478a5(0x203),'xfjDe':_0x2478a5(0x194),'CckfY':_0x2478a5(0x29d),'kaIOY':_0x2478a5(0x1b3),'RSXLo':_0x2478a5(0x19b),'itYbF':'backtrace','lCSvp':_0x2478a5(0x2b0),'vYDVc':'expanded','WZHhD':_0x2478a5(0x242),'mDLRj':_0x2478a5(0x275),'MUpbD':_0x2478a5(0x27d),'fkIbN':function(_0x3d767b,_0x1893e6){return _0x3d767b(_0x1893e6);}};try{if(_0x284dbf[_0x2478a5(0x1eb)]&&_0x284dbf[_0x2478a5(0x1eb)][_0x2478a5(0x1a9)](/browserstack internal helper hook/))return;let _0xcf7f18=[];if(_0x280b5e['pUWhY'](_0x284dbf[_0x2478a5(0x274)],STATE_FAILED)){if(_0x280b5e['dOBrf'](_0x284dbf[_0x2478a5(0x282)],undefined))_0xcf7f18=_0x284dbf[_0x2478a5(0x282)][_0x2478a5(0x265)]?[_0x284dbf['err'][_0x2478a5(0x265)],_0x280b5e[_0x2478a5(0x26b)]]:[_0x284dbf['err'],_0x280b5e[_0x2478a5(0x248)]];else _0x280b5e[_0x2478a5(0x247)](_0x48b8da,undefined)?_0xcf7f18=[_0x48b8da,_0x280b5e[_0x2478a5(0x248)]]:_0xcf7f18=[];}const _0x525ad1=_0x280b5e[_0x2478a5(0x1b2)](_0x284dbf[_0x2478a5(0x282)],undefined)?_0x284dbf['err'][_0x2478a5(0x20d)]():_0x280b5e['dOBrf'](_0x48b8da,undefined)?_0x48b8da[_0x2478a5(0x20d)]():undefined;let _0x5cef64;try{_0x5cef64=this[_0x2478a5(0x1db)](_0x284dbf);}catch(_0x1cc96c){_0x5cef64=null;}const _0x4c3ee6=_0x5cef64?this[_0x2478a5(0x1ca)](_0x5cef64):null,_0x9a0419=_0x5cef64?this['_paths'][_0x2478a5(0x23b)](this['getRootParentFile'](_0x284dbf)):_0x280b5e[_0x2478a5(0x25d)],_0x334449={'framework':_0x280b5e[_0x2478a5(0x19e)],'uuid':_0x284dbf['testAnalyticsId']||_0x284dbf[_0x2478a5(0x270)],'name':_0x284dbf[_0x2478a5(0x268)],'body':{'lang':_0x280b5e[_0x2478a5(0x208)],'code':_0x284dbf[_0x2478a5(0x1eb)]},'scope':this[_0x2478a5(0x29e)](_0x284dbf),'scopes':this[_0x2478a5(0x2ab)](_0x284dbf),'identifier':_0x284dbf[_0x2478a5(0x1d6)](),'file_name':_0x9a0419,'vc_filepath':_0x4c3ee6?path[_0x2478a5(0x2bf)](_0x4c3ee6,_0x5cef64):null,'location':_0x9a0419,'result':_0x280b5e['pUWhY'](_0x3af97a,_0x280b5e[_0x2478a5(0x1fc)])?_0x280b5e[_0x2478a5(0x2c2)]:this[_0x2478a5(0x223)](_0x284dbf[_0x2478a5(0x274)]),'failure_reason':_0x525ad1,'duration_in_ms':_0x284dbf['duration']||(_0x3af97a[_0x2478a5(0x1a9)](/Finished/)||_0x3af97a[_0x2478a5(0x1a9)](/Skipped/)?_0x280b5e[_0x2478a5(0x221)](Date['now'](),new Date(_0x284dbf[_0x2478a5(0x1bf)])[_0x2478a5(0x199)]()):null),'started_at':_0x284dbf['started_at'],'finished_at':_0x3af97a[_0x2478a5(0x1a9)](/Finished/)||_0x3af97a[_0x2478a5(0x1a9)](/Skipped/)?new Date()[_0x2478a5(0x22b)]():null,'failure':failureData[_0x2478a5(0x234)](null,_0xcf7f18),'failure_type':!_0x525ad1?null:_0x525ad1[_0x2478a5(0x1a9)](/AssertionError/)?_0x280b5e[_0x2478a5(0x249)]:_0x280b5e[_0x2478a5(0x28b)],'retry_of':_0x284dbf['retryOf']};if([_0x280b5e[_0x2478a5(0x1fc)],_0x280b5e[_0x2478a5(0x1e1)],_0x280b5e['EjWUO']][_0x2478a5(0x295)](_0x3af97a)){if(_0x280b5e[_0x2478a5(0x2a4)](getCentralUser)[_0x2478a5(0x290)]){const _0x3600fa=TestMetadata[_0x2478a5(0x18f)](_0x284dbf[_0x2478a5(0x2c0)]);if(_0x3600fa){const _0x602c52={};_0x602c52[_0x2478a5(0x290)]=_0x3600fa,Object['assign'](_0x334449,_0x602c52);}}}testhubUtils[_0x2478a5(0x196)](_0x334449,_0x3af97a,_0x284dbf,FRAMEWORKS[_0x2478a5(0x1e0)]);(_0x284dbf[_0x2478a5(0x22d)]||_0x284dbf[_0x2478a5(0x1ed)])&&centralScannerUtils['setCentralScannerData'](_0x334449,_0x284dbf['responseCode'],_0x284dbf[_0x2478a5(0x1ed)]);_0x280b5e[_0x2478a5(0x230)](_0x3af97a,_0x280b5e[_0x2478a5(0x1fc)])&&!_0x334449[_0x280b5e[_0x2478a5(0x18e)]]&&(_0x334449[_0x280b5e[_0x2478a5(0x18e)]]=_0x334449[_0x280b5e['aBxnn']]);if(_0x3af97a['match'](/HookRun/))[_0x334449[_0x2478a5(0x242)],_0x334449['name']]=_0x280b5e[_0x2478a5(0x1e4)](getHookDetails,_0x284dbf[_0x2478a5(0x1d6)]()||_0x284dbf[_0x2478a5(0x293)]||_0x284dbf[_0x2478a5(0x268)]),_0x280b5e[_0x2478a5(0x24c)](_0x3af97a,_0x280b5e['KNLXc'])&&(_0x280b5e[_0x2478a5(0x247)](_0x334449[_0x2478a5(0x24b)],_0x280b5e[_0x2478a5(0x1b1)])&&(_0x334449[_0x2478a5(0x24b)]=_0x280b5e[_0x2478a5(0x27f)]),_0x280b5e['WdJnH'](_0x334449[_0x2478a5(0x242)],_0x280b5e[_0x2478a5(0x286)])&&_0x280b5e[_0x2478a5(0x24c)](_0x334449['result'],_0x280b5e[_0x2478a5(0x1b1)])&&!_0x284dbf[_0x2478a5(0x19a)]['currentTest']['markedStatus']&&(_0x284dbf[_0x2478a5(0x19a)][_0x2478a5(0x1cc)]['markedStatus']=!![],_0x284dbf[_0x2478a5(0x19a)][_0x2478a5(0x1cc)][_0x2478a5(0x274)]=STATE_FAILED,await this['sendTestRunEvent'](_0x284dbf[_0x2478a5(0x19a)]['currentTest'],undefined,!![])));else _0x3af97a['match'](/TestRun/)&&_0x280b5e[_0x2478a5(0x1e4)](mapTestHooks,_0x284dbf);const _0x319dad=_0x334449[_0x280b5e[_0x2478a5(0x2c4)]][0x0];_0x319dad&&(_0x334449[_0x280b5e[_0x2478a5(0x1ec)]]=_0x319dad[_0x280b5e[_0x2478a5(0x198)]],_0x334449[_0x280b5e[_0x2478a5(0x1f0)]]=_0x319dad[_0x280b5e[_0x2478a5(0x21b)]]);[_0x280b5e[_0x2478a5(0x1e1)],_0x280b5e[_0x2478a5(0x1fc)]]['includes'](_0x3af97a)&&(this[_0x2478a5(0x280)][_0x2478a5(0x23f)](_0x334449),_0x334449[_0x2478a5(0x24d)]=_0x280b5e[_0x2478a5(0x1e4)](getHooksForTest,_0x284dbf));const _0x380874={'event_type':_0x280b5e['pUWhY'](_0x3af97a,_0x280b5e['FBvAy'])?_0x280b5e[_0x2478a5(0x1e1)]:_0x3af97a};_0x3af97a['match'](/HookRun/)?(_0x334449[_0x280b5e[_0x2478a5(0x236)]]=HOOK_TYPES_MAP[_0x334449[_0x280b5e[_0x2478a5(0x236)]]],_0x380874[_0x280b5e[_0x2478a5(0x1bb)]]=_0x334449):_0x380874[_0x280b5e[_0x2478a5(0x1e8)]]=_0x334449,testhubUtils[_0x2478a5(0x285)](FRAMEWORKS[_0x2478a5(0x1e0)],_0x380874),await SessionHandler['uploadEventData'](_0x380874);}catch(_0x1a6ee2){_0x280b5e[_0x2478a5(0x1f2)](debug,_0x2478a5(0x2bc)+_0x3af97a+_0x2478a5(0x19d)+_0x1a6ee2);}};[a31_0x34f472(0x1ca)](_0x5acd30){const _0x6bdcaa=a31_0x34f472,_0x39d840={};_0x39d840[_0x6bdcaa(0x1be)]=function(_0xa19db5,_0x55bb1f){return _0xa19db5===_0x55bb1f;},_0x39d840[_0x6bdcaa(0x1d8)]=function(_0x2df474,_0x424612){return _0x2df474===_0x424612;},_0x39d840[_0x6bdcaa(0x190)]=function(_0x10fe40,_0x485935){return _0x10fe40===_0x485935;},_0x39d840[_0x6bdcaa(0x1f6)]=_0x6bdcaa(0x22f),_0x39d840[_0x6bdcaa(0x1cb)]=_0x6bdcaa(0x22c);const _0x54e9a8=_0x39d840,_0x107a50=path[_0x6bdcaa(0x1f7)];if(_0x54e9a8[_0x6bdcaa(0x1be)](_0x5acd30,null)||_0x54e9a8['KaAfT'](_0x5acd30,'')||_0x54e9a8['vKTvr'](_0x5acd30,_0x107a50)||_0x54e9a8[_0x6bdcaa(0x190)](_0x5acd30,path[_0x6bdcaa(0x195)](_0x5acd30)))return null;try{return fs[_0x6bdcaa(0x218)](path['join'](_0x5acd30,_0x54e9a8['iRsxY'],_0x54e9a8[_0x6bdcaa(0x1cb)])),_0x5acd30;}catch(_0x4fe106){const _0x1825ed=path['dirname'](_0x5acd30);return this[_0x6bdcaa(0x1ca)](_0x1825ed);}}[a31_0x34f472(0x205)]=async _0x1a1b48=>{const _0x339718=a31_0x34f472,_0x2daaba={'EhfdG':'LogCreated','AhwQt':function(_0x1eb4ab,_0x50d712){return _0x1eb4ab(_0x50d712);}};try{this[_0x339718(0x210)]&&!this[_0x339718(0x210)][_0x339718(0x25e)]&&(_0x1a1b48['hook_run_uuid']=this[_0x339718(0x210)][_0x339718(0x270)]);!_0x1a1b48[_0x339718(0x1e5)]&&this[_0x339718(0x222)]&&!this[_0x339718(0x222)][_0x339718(0x25e)]&&(_0x1a1b48[_0x339718(0x1bd)]=this[_0x339718(0x222)]['testAnalyticsId']);if(_0x1a1b48[_0x339718(0x1e5)]||_0x1a1b48[_0x339718(0x1bd)]){const _0x1f3bce={};_0x1f3bce[_0x339718(0x279)]=_0x2daaba['EhfdG'],_0x1f3bce[_0x339718(0x2b3)]=[_0x1a1b48],await SessionHandler['uploadEventData'](_0x1f3bce);}}catch(_0x2eb811){_0x2daaba['AhwQt'](debug,_0x339718(0x1b9)+constants[_0x339718(0x1c4)]+'\x20with\x20error\x20:\x20'+_0x2eb811);}};[a31_0x34f472(0x2ac)]=async _0x1deaf8=>{const _0x4b258f=a31_0x34f472,_0x1dae3b={'cCrcz':_0x4b258f(0x21a),'fToRf':'CBTSessionCreated','XPTSr':function(_0x2753f3,_0x4b8006){return _0x2753f3(_0x4b8006);}};try{const _0x2f15b6={};_0x2f15b6[_0x4b258f(0x21d)]=_0x1deaf8['uuid']||this['current_test'][_0x4b258f(0x2c0)],_0x2f15b6[_0x4b258f(0x1cd)]=_0x1deaf8[_0x1dae3b['cCrcz']];const _0x3e087f=_0x2f15b6,_0x49d2aa={};_0x49d2aa[_0x4b258f(0x279)]=_0x1dae3b[_0x4b258f(0x227)],_0x49d2aa[_0x4b258f(0x27d)]=_0x3e087f,await SessionHandler[_0x4b258f(0x294)](_0x49d2aa);}catch(_0x899055){_0x1dae3b[_0x4b258f(0x1a5)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x4b258f(0x1c4)]+_0x4b258f(0x19d)+_0x899055);}};[a31_0x34f472(0x223)](_0x5edf7d){const _0x249537=a31_0x34f472,_0x41ca6a={};_0x41ca6a[_0x249537(0x1d4)]=_0x249537(0x194),_0x41ca6a[_0x249537(0x225)]=_0x249537(0x23d),_0x41ca6a['VvNZI']=_0x249537(0x203);const _0x40defd=_0x41ca6a,_0x50e584={};return _0x50e584[STATE_PASSED]=_0x40defd[_0x249537(0x1d4)],_0x50e584[STATE_PENDING]=_0x40defd[_0x249537(0x225)],_0x50e584[STATE_FAILED]=_0x40defd[_0x249537(0x28d)],_0x50e584[_0x5edf7d];}['scope'](_0x6f9851){const _0x234831=a31_0x34f472,_0x2da22b={};_0x2da22b[_0x234831(0x1ee)]=function(_0x113710,_0x1f0b75){return _0x113710-_0x1f0b75;};const _0x50a1ed=_0x2da22b,_0x1dfb5f=_0x6f9851[_0x234831(0x292)]();return _0x1dfb5f['slice'](0x0,_0x50a1ed['qVzXv'](_0x1dfb5f[_0x234831(0x27a)],0x1))[_0x234831(0x20c)]('\x20');}['scopes'](_0x23d0e7){const _0x44fabb=a31_0x34f472,_0x22fcbc={};_0x22fcbc[_0x44fabb(0x1ba)]=function(_0x120325,_0x554c6e){return _0x120325-_0x554c6e;};const _0x275509=_0x22fcbc,_0x1bf322=_0x23d0e7[_0x44fabb(0x292)]();return _0x1bf322[_0x44fabb(0x1bc)](0x0,_0x275509[_0x44fabb(0x1ba)](_0x1bf322[_0x44fabb(0x27a)],0x1));}[a31_0x34f472(0x1db)](_0x1c1bb4){const _0x1c3397=a31_0x34f472,_0x55173b={};_0x55173b[_0x1c3397(0x1c2)]=function(_0x4e20b2,_0x2c6153){return _0x4e20b2>_0x2c6153;};const _0x4fa6c0=_0x55173b;if(_0x1c1bb4[_0x1c3397(0x201)])return _0x1c1bb4['file'];if(_0x1c1bb4['ctx']){const _0x236604=_0x1c1bb4[_0x1c3397(0x19a)][_0x1c3397(0x1cc)]?this['getRootParentFile'](_0x1c1bb4[_0x1c3397(0x19a)]['currentTest']):null;if(_0x236604)return _0x236604;}if(_0x1c1bb4[_0x1c3397(0x26e)]){const _0x5a83ef=this['getRootParentFile'](_0x1c1bb4[_0x1c3397(0x26e)])||(_0x1c1bb4['parent'][_0x1c3397(0x19a)]&&_0x1c1bb4[_0x1c3397(0x26e)][_0x1c3397(0x19a)][_0x1c3397(0x1cc)]?this[_0x1c3397(0x1db)](_0x1c1bb4[_0x1c3397(0x26e)][_0x1c3397(0x19a)][_0x1c3397(0x1cc)]):null);if(_0x5a83ef)return _0x5a83ef;_0x1c1bb4['parent'][_0x1c3397(0x1b6)]&&_0x4fa6c0[_0x1c3397(0x1c2)](_0x1c1bb4['parent'][_0x1c3397(0x1b6)][_0x1c3397(0x27a)],0x0)&&_0x1c1bb4[_0x1c3397(0x26e)]['suites'][_0x1c3397(0x29a)](_0x24ce43=>{const _0x53a353=_0x1c3397,_0x45bc6e=_0x24ce43['ctx']?this[_0x53a353(0x1db)](_0x24ce43[_0x53a353(0x19a)]):null;if(_0x45bc6e)return _0x45bc6e;});}return null;}}module[a31_0x34f472(0x216)]=MyReporter;