browserstack-node-sdk 1.32.16 → 1.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a22_0x212718=a22_0x4673;(function(_0xe1bd29,_0x1e6fbb){const _0x468eda=a22_0x4673,_0x1f5cf5=_0xe1bd29();while(!![]){try{const _0x3ddb37=-parseInt(_0x468eda(0x162))/0x1*(-parseInt(_0x468eda(0x168))/0x2)+-parseInt(_0x468eda(0x16a))/0x3*(-parseInt(_0x468eda(0x15f))/0x4)+-parseInt(_0x468eda(0x15d))/0x5*(parseInt(_0x468eda(0x169))/0x6)+-parseInt(_0x468eda(0x16b))/0x7+-parseInt(_0x468eda(0x167))/0x8*(parseInt(_0x468eda(0x160))/0x9)+-parseInt(_0x468eda(0x166))/0xa+parseInt(_0x468eda(0x165))/0xb;if(_0x3ddb37===_0x1e6fbb)break;else _0x1f5cf5['push'](_0x1f5cf5['shift']());}catch(_0x21f405){_0x1f5cf5['push'](_0x1f5cf5['shift']());}}}(a22_0x3474,0x62a1c));const {requireModule}=require(a22_0x212718(0x164));require(a22_0x212718(0x161))();function a22_0x4673(_0x44b871,_0x293a3b){const _0x347425=a22_0x3474();return a22_0x4673=function(_0x4673fe,_0x1c7930){_0x4673fe=_0x4673fe-0x15d;let _0x141b1c=_0x347425[_0x4673fe];return _0x141b1c;},a22_0x4673(_0x44b871,_0x293a3b);}function a22_0x3474(){const _0x27bf4b=['selenium-webdriver','../../helpers/helper','2644620TjGrPI','1940730xBORJb','504HRxeym','3148AwZKXr','79758pOULCE','87837RxqZzh','435484ZTKsFp','__webdriver','150PDDpOq','keys','20cUXrEG','6948gCZFWn','../../helpers/setKeepAlive','458KIfqXy'];a22_0x3474=function(){return _0x27bf4b;};return a22_0x3474();}const __wd__=requireModule(a22_0x212718(0x163));for(const key of Object[a22_0x212718(0x15e)](global[a22_0x212718(0x16c)])){__wd__[key]=global['__webdriver'][key];}
1
+ const a22_0x239759=a22_0xe84f;(function(_0x30e16b,_0x4e02dd){const _0x3fba79=a22_0xe84f,_0x95ce4=_0x30e16b();while(!![]){try{const _0x3ac331=parseInt(_0x3fba79(0x1e3))/0x1*(parseInt(_0x3fba79(0x1e0))/0x2)+-parseInt(_0x3fba79(0x1e1))/0x3+parseInt(_0x3fba79(0x1dd))/0x4+parseInt(_0x3fba79(0x1e7))/0x5+parseInt(_0x3fba79(0x1e2))/0x6*(-parseInt(_0x3fba79(0x1e6))/0x7)+-parseInt(_0x3fba79(0x1db))/0x8+parseInt(_0x3fba79(0x1dc))/0x9*(parseInt(_0x3fba79(0x1e4))/0xa);if(_0x3ac331===_0x4e02dd)break;else _0x95ce4['push'](_0x95ce4['shift']());}catch(_0x18f166){_0x95ce4['push'](_0x95ce4['shift']());}}}(a22_0x2fbb,0xbb1f3));const {requireModule}=require('../../helpers/helper');function a22_0xe84f(_0x3fb5ed,_0x37084a){const _0x2fbb6d=a22_0x2fbb();return a22_0xe84f=function(_0xe84fa7,_0x541111){_0xe84fa7=_0xe84fa7-0x1db;let _0xa9b801=_0x2fbb6d[_0xe84fa7];return _0xa9b801;},a22_0xe84f(_0x3fb5ed,_0x37084a);}require(a22_0x239759(0x1e5))();function a22_0x2fbb(){const _0x37bb48=['../../helpers/setKeepAlive','9375758FlDgZi','2274825JKmaJL','__webdriver','2598816iomjWj','117rjRexL','1077608UbojcQ','selenium-webdriver','keys','951310EDXitb','4303197GixGBD','6KoUMWq','3WLWkQA','1318280yZmEOJ'];a22_0x2fbb=function(){return _0x37bb48;};return a22_0x2fbb();}const __wd__=requireModule(a22_0x239759(0x1de));for(const key of Object[a22_0x239759(0x1df)](global[a22_0x239759(0x1e8)])){__wd__[key]=global[a22_0x239759(0x1e8)][key];}
@@ -1 +1 @@
1
- const a23_0x4bcbef=a23_0x3cd1;(function(_0x43f701,_0x300379){const _0x1edbeb=a23_0x3cd1,_0x16fdaa=_0x43f701();while(!![]){try{const _0x501381=parseInt(_0x1edbeb(0xfd))/0x1+parseInt(_0x1edbeb(0x11a))/0x2+parseInt(_0x1edbeb(0x10f))/0x3+parseInt(_0x1edbeb(0xff))/0x4+parseInt(_0x1edbeb(0x11f))/0x5+-parseInt(_0x1edbeb(0x115))/0x6*(-parseInt(_0x1edbeb(0x109))/0x7)+parseInt(_0x1edbeb(0x120))/0x8*(-parseInt(_0x1edbeb(0x108))/0x9);if(_0x501381===_0x300379)break;else _0x16fdaa['push'](_0x16fdaa['shift']());}catch(_0x4b613b){_0x16fdaa['push'](_0x16fdaa['shift']());}}}(a23_0x371a,0x1d6c7));const path=require(a23_0x4bcbef(0x119)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x4bcbef(0xfa)),constants=require(a23_0x4bcbef(0xf9)),{isAccessibilityAutomationSession}=require(a23_0x4bcbef(0x11e)),RequestQueueHandler=require(a23_0x4bcbef(0x118)),{isTestObservabilitySession}=require(a23_0x4bcbef(0xfc)),helper=require(a23_0x4bcbef(0xfa));class Launcher{constructor(_0x155c48,_0x322951,_0x5889dc,_0x2bc16d=[]){const _0x49913a=a23_0x4bcbef,_0x1b3b64={'eyWPz':_0x49913a(0x106),'WOUIw':function(_0x3443cf){return _0x3443cf();}},_0x40cbf1=_0x1b3b64['eyWPz'][_0x49913a(0x110)]('|');let _0x17a3bc=0x0;while(!![]){switch(_0x40cbf1[_0x17a3bc++]){case'0':global['testsFailed']=0x0;continue;case'1':global[_0x49913a(0x107)]=this['_configuration'][_0x49913a(0xf8)]||{};continue;case'2':this[_0x49913a(0x10b)]=this[_0x49913a(0x10e)][_0x49913a(0x11c)];continue;case'3':global[_0x49913a(0x103)]=0x0;continue;case'4':global[_0x49913a(0xfb)]=0x0;continue;case'5':global[_0x49913a(0x10c)]=0x0;continue;case'6':this[_0x49913a(0x10e)]=_0x322951[_0x49913a(0x114)]||{};continue;case'7':global[_0x49913a(0x117)]={};continue;case'8':global['testsSkipped']=0x0;continue;case'9':this[_0x49913a(0x112)]=_0x155c48;continue;case'10':this['_argv']=_0x2bc16d;continue;case'11':this[_0x49913a(0x11b)]=_0x1b3b64[_0x49913a(0xf7)](isAccessibilityAutomationSession);continue;case'12':global[_0x49913a(0x116)]=0x0;continue;case'13':global['testsUnknown']=0x0;continue;case'14':global[_0x49913a(0x100)]=0x0;continue;case'15':this[_0x49913a(0x10d)]=_0x1b3b64[_0x49913a(0xf7)](isTestObservabilitySession);continue;case'16':global[_0x49913a(0x102)]=0x0;continue;case'17':global[_0x49913a(0xfe)]=this[_0x49913a(0x10e)][_0x49913a(0x11d)];continue;case'18':this[_0x49913a(0x10a)]=_0x5889dc;continue;case'19':global[_0x49913a(0x113)]=0x0;continue;case'20':this[_0x49913a(0x111)]=_0x322951[_0x49913a(0x101)];continue;case'21':this[_0x49913a(0x105)]=_0x322951['formatter'];continue;}break;}}['setupCucumber'](_0x3c235e,_0x3c9adb,_0x2908d7){const _0xb80108=a23_0x4bcbef,_0x313fac=_0x3c235e[_0xb80108(0x104)];_0x3c235e.resolvePaths=async function(){const pathResults=await _0x313fac.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2908d7));return pathResults;},_0x3c9adb.push('--format'),_0x3c9adb.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;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);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);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={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},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;}}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()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}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');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');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').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));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);cucumber.run().then(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};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){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);process.exitCode=1;reject(er);}resolve();}});}}function a23_0x371a(){const _0xad8368=['../../helpers/test-observability/utils','67037BHaMgu','__platform__','837400XpkLpp','testSuitesFailed','mochaOpts','totalTests','testsPassed','resolvePaths','_formatter','9|6|20|21|2|17|10|18|15|11|1|5|16|3|0|4|8|14|19|13|12|7','__platformCaps','27GVaKxx','14oLdwzg','_bsConfig','_capability','testSuites','_testObservability','_configuration','102213LNWiNJ','split','_mochaOpts','_framework','testsUndefined','configuration','94602UGxGiG','testsAmbiguous','testsErrorMessage','../../helpers/test-observability/requestQueueHandler','path','355976GVbRNI','_accessibilityAutomation','capability','platform','../../helpers/accessibility-automation/helper','777815ZYRrxB','1480064RkXpZj','WOUIw','platformCaps','../utils/constants','../../helpers/helper','testsPending'];a23_0x371a=function(){return _0xad8368;};return a23_0x371a();}function a23_0x3cd1(_0x2434f0,_0x554383){const _0x371a27=a23_0x371a();return a23_0x3cd1=function(_0x3cd10f,_0x450ff3){_0x3cd10f=_0x3cd10f-0xf7;let _0x54e152=_0x371a27[_0x3cd10f];return _0x54e152;},a23_0x3cd1(_0x2434f0,_0x554383);}module.exports=Launcher;
1
+ const a23_0x4de14e=a23_0x514a;(function(_0x4b64a3,_0x4efe82){const _0x4acf03=a23_0x514a,_0x22fb3d=_0x4b64a3();while(!![]){try{const _0x14c333=-parseInt(_0x4acf03(0x1b6))/0x1+parseInt(_0x4acf03(0x1c3))/0x2*(parseInt(_0x4acf03(0x1b3))/0x3)+parseInt(_0x4acf03(0x1c8))/0x4*(parseInt(_0x4acf03(0x1ac))/0x5)+-parseInt(_0x4acf03(0x1c9))/0x6*(parseInt(_0x4acf03(0x1b2))/0x7)+parseInt(_0x4acf03(0x1b1))/0x8+parseInt(_0x4acf03(0x1c4))/0x9+parseInt(_0x4acf03(0x1c1))/0xa;if(_0x14c333===_0x4efe82)break;else _0x22fb3d['push'](_0x22fb3d['shift']());}catch(_0x268725){_0x22fb3d['push'](_0x22fb3d['shift']());}}}(a23_0x1f55,0x9c627));function a23_0x1f55(){const _0x45b61f=['_testObservability','capability','../../helpers/test-observability/requestQueueHandler','_bsConfig','8088410uDvSDP','../../helpers/test-observability/utils','952IyFdRU','4869207FbwanY','testSuitesFailed','WCnuU','_framework','31536lMIqxw','12Gcuano','__platformCaps','path','resolvePaths','_configuration','platformCaps','_argv','../../helpers/helper','_accessibilityAutomation','110fezFOF','mochaOpts','4|10|21|8|1|18|15|0|11|20|17|14|12|13|19|2|5|6|3|9|7|16','testsUndefined','testSuites','5914184EIoIcd','4112661JBZwNS','339mRYaVB','_formatter','../../helpers/accessibility-automation/helper','500776QFZwbv','testsAmbiguous','testsErrorMessage','testsPending','platform','mIZCq','_mochaOpts'];a23_0x1f55=function(){return _0x45b61f;};return a23_0x1f55();}const path=require(a23_0x4de14e(0x1cb)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x4de14e(0x1aa)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require(a23_0x4de14e(0x1b5)),RequestQueueHandler=require(a23_0x4de14e(0x1bf)),{isTestObservabilitySession}=require(a23_0x4de14e(0x1c2)),helper=require('../../helpers/helper');function a23_0x514a(_0x2d5871,_0x407821){const _0x1f5541=a23_0x1f55();return a23_0x514a=function(_0x514af5,_0x5d7919){_0x514af5=_0x514af5-0x1a9;let _0x3fb6b2=_0x1f5541[_0x514af5];return _0x3fb6b2;},a23_0x514a(_0x2d5871,_0x407821);}class Launcher{constructor(_0x333156,_0x4a5388,_0x3e3733,_0x5a5a6c=[]){const _0x357368=a23_0x4de14e,_0x217e53={'mIZCq':_0x357368(0x1ae),'WCnuU':function(_0x9d2181){return _0x9d2181();}},_0x117b29=_0x217e53[_0x357368(0x1bb)]['split']('|');let _0x202bfd=0x0;while(!![]){switch(_0x117b29[_0x202bfd++]){case'0':this[_0x357368(0x1c0)]=_0x3e3733;continue;case'1':this['_capability']=this[_0x357368(0x1cd)][_0x357368(0x1be)];continue;case'2':global[_0x357368(0x1b9)]=0x0;continue;case'3':global[_0x357368(0x1af)]=0x0;continue;case'4':this[_0x357368(0x1c7)]=_0x333156;continue;case'5':global['testsSkipped']=0x0;continue;case'6':global[_0x357368(0x1c5)]=0x0;continue;case'7':global[_0x357368(0x1b7)]=0x0;continue;case'8':this[_0x357368(0x1b4)]=_0x4a5388['formatter'];continue;case'9':global['testsUnknown']=0x0;continue;case'10':this[_0x357368(0x1cd)]=_0x4a5388['configuration']||{};continue;case'11':this[_0x357368(0x1bd)]=_0x217e53[_0x357368(0x1c6)](isTestObservabilitySession);continue;case'12':global['totalTests']=0x0;continue;case'13':global['testsPassed']=0x0;continue;case'14':global[_0x357368(0x1b0)]=0x0;continue;case'15':this[_0x357368(0x1a9)]=_0x5a5a6c;continue;case'16':global[_0x357368(0x1b8)]={};continue;case'17':global[_0x357368(0x1ca)]=this[_0x357368(0x1cd)][_0x357368(0x1ce)]||{};continue;case'18':global['__platform__']=this['_configuration'][_0x357368(0x1ba)];continue;case'19':global['testsFailed']=0x0;continue;case'20':this[_0x357368(0x1ab)]=_0x217e53[_0x357368(0x1c6)](isAccessibilityAutomationSession);continue;case'21':this[_0x357368(0x1bc)]=_0x4a5388[_0x357368(0x1ad)];continue;}break;}}['setupCucumber'](_0x49e173,_0x3939f4,_0x50cb79){const _0x4f6899=a23_0x4de14e,_0x3e050e=_0x49e173[_0x4f6899(0x1cc)];_0x49e173.resolvePaths=async function(){const pathResults=await _0x3e050e.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x50cb79));return pathResults;},_0x3939f4.push('--format'),_0x3939f4.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;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);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);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={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},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()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}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');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');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').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));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);cucumber.run().then(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};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){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);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
@@ -1 +1 @@
1
- function a24_0x4cfe(){const _0x115e2d=['Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','capabilities_','JBaEG','14TlWEga','getPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','KUsKi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','KeKbW','__cloud_provider___','308502oDSJAA','chromeOptions_','zCMjW','args','selenium-webdriver/chrome.js','chromeOptions','YxERt','toLowerCase','857479rINUVT','2320747AaYWJf','fetchPlatformDetails','384762IQQTOb','../../../helpers/logger','MgqrZ','browserstack','latest','scannerVersion','env','NheEy','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','requireModule','device','UYsCY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','includes','setGlobal','NwEyn','chrome','rPixV','options_','BxHUT','capability','KydjG','debug','accessibilityOptions','33glCUDg','parse','browserstack.accessibility','vEgZr','authToken','format','getPlatformVersion','533940QKDgoo','getBrowserVersion','winstonLogger','loZrn','browserVersion','setExtension','sGQIt','isUndefined','Options','DtmwN','mNNms','get','bstack:options','20YRLLQa','--headless','../../../helpers/globals','4MdoSPf','1634634kDMhRM','5cZMXmN','browserName','getCapabilities','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','pPymz','8AXNsEC','nestedKeyValue','deviceName','isAccessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','HZjTt','BS_A11Y_JWT','10CDLrSe','3079DxqGgQ','warn','wvpvP'];a24_0x4cfe=function(){return _0x115e2d;};return a24_0x4cfe();}const a24_0x261b64=a24_0x2999;(function(_0x19c8a9,_0x575285){const _0x397e2b=a24_0x2999,_0x530944=_0x19c8a9();while(!![]){try{const _0x4804e4=parseInt(_0x397e2b(0xdc))/0x1*(parseInt(_0x397e2b(0xca))/0x2)+parseInt(_0x397e2b(0xf4))/0x3*(parseInt(_0x397e2b(0xcd))/0x4)+parseInt(_0x397e2b(0xcf))/0x5*(-parseInt(_0x397e2b(0xe9))/0x6)+parseInt(_0x397e2b(0xf1))/0x7*(-parseInt(_0x397e2b(0xd4))/0x8)+-parseInt(_0x397e2b(0xce))/0x9*(parseInt(_0x397e2b(0xdb))/0xa)+parseInt(_0x397e2b(0xb6))/0xb*(parseInt(_0x397e2b(0xbd))/0xc)+parseInt(_0x397e2b(0xf2))/0xd*(parseInt(_0x397e2b(0xe2))/0xe);if(_0x4804e4===_0x575285)break;else _0x530944['push'](_0x530944['shift']());}catch(_0x3c7e3b){_0x530944['push'](_0x530944['shift']());}}}(a24_0x4cfe,0x1c334));function a24_0x2999(_0x351eee,_0x3c0830){const _0x4cfe5c=a24_0x4cfe();return a24_0x2999=function(_0x2999e4,_0x1346e4){_0x2999e4=_0x2999e4-0xad;let _0x51f925=_0x4cfe5c[_0x2999e4];return _0x51f925;},a24_0x2999(_0x351eee,_0x3c0830);}const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require('../../../helpers/helper'),globals=require(a24_0x261b64(0xcc)),logger=require(a24_0x261b64(0xf5))[a24_0x261b64(0xbf)];exports['setAccessibilityCapabilities']=_0x368de5=>{const _0x19881d=a24_0x261b64,_0xa74691={};_0xa74691[_0x19881d(0xc0)]=_0x19881d(0xc9),_0xa74691[_0x19881d(0xc3)]=_0x19881d(0xb8),_0xa74691['lFrHc']=_0x19881d(0xd7),_0xa74691[_0x19881d(0xaf)]='browserstack.accessibilityOptions';const _0x1327e8=_0xa74691;try{const _0xb63865=_0x368de5[_0x19881d(0xb2)]||{};if(_0xb63865[_0x1327e8['loZrn']]&&_0xb63865[_0x1327e8[_0x19881d(0xc0)]]['accessibility']||_0x368de5[_0x19881d(0xb2)][_0x1327e8['sGQIt']]){globals[_0x19881d(0x102)](_0x1327e8['lFrHc'],!![]);if(_0xb63865[_0x1327e8[_0x19881d(0xc0)]]){if(_0xb63865[_0x1327e8[_0x19881d(0xc0)]][_0x19881d(0xb5)])_0xb63865[_0x1327e8[_0x19881d(0xc0)]]['accessibilityOptions'][_0x19881d(0xba)]=process[_0x19881d(0xfa)][_0x19881d(0xda)];else{const _0x286c78={};_0x286c78[_0x19881d(0xba)]=process[_0x19881d(0xfa)][_0x19881d(0xda)],_0xb63865[_0x1327e8['loZrn']][_0x19881d(0xb5)]=_0x286c78;}_0xb63865[_0x1327e8[_0x19881d(0xc0)]][_0x19881d(0xb5)][_0x19881d(0xf9)]=JSON[_0x19881d(0xb7)](process[_0x19881d(0xfa)][_0x19881d(0xd8)])[_0x19881d(0xf9)];}else{if(_0x368de5[_0x19881d(0xb2)][_0x1327e8[_0x19881d(0xc3)]]){if(_0xb63865[_0x1327e8['rPixV']])_0xb63865[_0x1327e8[_0x19881d(0xaf)]]['authToken']=process['env'][_0x19881d(0xda)];else{const _0x580fe8={};_0x580fe8[_0x19881d(0xba)]=process[_0x19881d(0xfa)][_0x19881d(0xda)],_0xb63865[_0x1327e8[_0x19881d(0xaf)]]=_0x580fe8;}_0xb63865[_0x1327e8[_0x19881d(0xaf)]][_0x19881d(0xf9)]=JSON[_0x19881d(0xb7)](process[_0x19881d(0xfa)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x19881d(0xf9)];}}}}catch(_0x1d34b0){logger['debug'](_0x19881d(0xdf)+_0x1d34b0);}},exports[a24_0x261b64(0xc2)]=(_0x56b86d,_0x24e199)=>{const _0x183509=a24_0x261b64,_0x38f042={};_0x38f042[_0x183509(0xd3)]=_0x183509(0xc9),_0x38f042[_0x183509(0xf6)]=function(_0x2fcb1e,_0x5a847e){return _0x2fcb1e!==_0x5a847e;},_0x38f042[_0x183509(0xff)]=_0x183509(0x100),_0x38f042[_0x183509(0xd9)]=function(_0x307767,_0x23e80a){return _0x307767!==_0x23e80a;},_0x38f042[_0x183509(0xad)]=_0x183509(0xae),_0x38f042[_0x183509(0xc7)]=_0x183509(0xe6),_0x38f042[_0x183509(0xfb)]=function(_0x4438fe,_0x349381){return _0x4438fe===_0x349381;},_0x38f042[_0x183509(0xe1)]=_0x183509(0xf8),_0x38f042[_0x183509(0xb1)]=function(_0x279ab9,_0x524103){return _0x279ab9>_0x524103;},_0x38f042[_0x183509(0xe5)]=_0x183509(0xe4),_0x38f042['HtZvW']=_0x183509(0xed),_0x38f042[_0x183509(0xc6)]=_0x183509(0xb0),_0x38f042[_0x183509(0xb9)]=_0x183509(0xec),_0x38f042[_0x183509(0xb3)]=_0x183509(0xee),_0x38f042[_0x183509(0xde)]=_0x183509(0xcb),_0x38f042[_0x183509(0xe7)]=_0x183509(0xfc);const _0xf968d8=_0x38f042;try{const _0x16c584=_0x24e199['capability']||{},_0xfa0489=(_0x16c584[_0xf968d8['pPymz']]?_0x16c584[_0xf968d8[_0x183509(0xd3)]][_0x183509(0xd6)]:_0x16c584[_0x183509(0xfe)])||'';if(_0xf968d8[_0x183509(0xf6)](_0xfa0489,''))return logger[_0x183509(0xdd)](_0xf968d8[_0x183509(0xff)]),![];const _0x2186e0=_0x16c584[_0x183509(0xd0)];if(_0xf968d8[_0x183509(0xd9)](_0x2186e0[_0x183509(0xf0)](),_0xf968d8[_0x183509(0xad)]))return logger['warn'](_0xf968d8[_0x183509(0xc7)]),![];const _0x558fd0=_0x16c584[_0x183509(0xc1)]||_0x16c584['browser_version'];if(!bsSetupHelper[_0x183509(0xc4)](_0x558fd0)&&!(_0xf968d8[_0x183509(0xfb)](_0x558fd0,_0xf968d8[_0x183509(0xe1)])||_0xf968d8[_0x183509(0xb1)](_0x558fd0,0x5e)))return logger['warn'](_0xf968d8['KUsKi']),![];let _0x52fafb;try{_0x52fafb=bsSetupHelper[_0x183509(0xfd)](_0xf968d8['HtZvW']);}catch(_0x10086c){return![];}const _0x4358f2=new _0x52fafb[(_0x183509(0xc5))](_0x56b86d[_0x183509(0xea)]),_0x48753a=bsSetupHelper[_0x183509(0xd5)](_0x4358f2,[_0xf968d8[_0x183509(0xc6)],_0xf968d8[_0x183509(0xb9)]])||bsSetupHelper[_0x183509(0xd5)](_0x56b86d[_0x183509(0xe0)]['get'](_0xf968d8[_0x183509(0xd3)]),[_0xf968d8[_0x183509(0xb3)],_0xf968d8['vEgZr']])||bsSetupHelper['nestedKeyValue'](_0x56b86d[_0x183509(0xe0)][_0x183509(0xc8)](_0xf968d8[_0x183509(0xb3)]),[_0xf968d8['vEgZr']])||[];if(_0x48753a[_0x183509(0x101)](_0xf968d8[_0x183509(0xde)]))return logger[_0x183509(0xdd)](_0xf968d8[_0x183509(0xe7)]),![];return!![];}catch(_0x1d65bd){logger[_0x183509(0xb4)]('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x183509(0xbb)](_0x1d65bd));}return![];},exports[a24_0x261b64(0xf3)]=async _0x390618=>{const _0x55ea67=a24_0x261b64,_0x461998={};_0x461998[_0x55ea67(0xeb)]=function(_0x8571c9,_0x2e272e){return _0x8571c9===_0x2e272e;},_0x461998[_0x55ea67(0xef)]=_0x55ea67(0xf7);const _0x3078ef=_0x461998;let _0xe237e={};try{const _0x586b24=await _0x390618[_0x55ea67(0xd1)]();_0xe237e={'os_name':_0x586b24[_0x55ea67(0xe3)](),'os_version':bsSetupHelper[_0x55ea67(0xbc)](_0x3078ef[_0x55ea67(0xeb)](global[_0x55ea67(0xe8)],_0x3078ef[_0x55ea67(0xef)])),'browser_name':_0x586b24['getBrowserName'](),'browser_version':_0x586b24[_0x55ea67(0xbe)]()};}catch(_0x11e2fc){logger['debug'](_0x55ea67(0xd2)+_0x11e2fc);}return _0xe237e;};
1
+ const a24_0x474bae=a24_0x277f;(function(_0x3f6f13,_0x29d945){const _0x120af4=a24_0x277f,_0x3a7b0e=_0x3f6f13();while(!![]){try{const _0x47a6fb=-parseInt(_0x120af4(0xd0))/0x1+-parseInt(_0x120af4(0xc7))/0x2+parseInt(_0x120af4(0xd1))/0x3*(parseInt(_0x120af4(0xee))/0x4)+-parseInt(_0x120af4(0xc0))/0x5+-parseInt(_0x120af4(0x109))/0x6*(-parseInt(_0x120af4(0x108))/0x7)+-parseInt(_0x120af4(0xdd))/0x8+parseInt(_0x120af4(0x105))/0x9*(parseInt(_0x120af4(0xc9))/0xa);if(_0x47a6fb===_0x29d945)break;else _0x3a7b0e['push'](_0x3a7b0e['shift']());}catch(_0x21aea3){_0x3a7b0e['push'](_0x3a7b0e['shift']());}}}(a24_0x42f5,0x3a597));function a24_0x277f(_0x14f089,_0x218faf){const _0x42f534=a24_0x42f5();return a24_0x277f=function(_0x277fb4,_0x1c11b2){_0x277fb4=_0x277fb4-0xba;let _0x942624=_0x42f534[_0x277fb4];return _0x942624;},a24_0x277f(_0x14f089,_0x218faf);}const path=require(a24_0x474bae(0xcb)),os=require('os'),util=require(a24_0x474bae(0xf7)),bsSetupHelper=require(a24_0x474bae(0x10c)),globals=require('../../../helpers/globals'),logger=require(a24_0x474bae(0xd9))[a24_0x474bae(0xbd)];function a24_0x42f5(){const _0x5452ac=['get','VEwdA','authToken','latest','browserVersion','chromeOptions','capability','Options','debug','env','xTmGr','230535WiGeFH','FhXOE','ezGLI','610498vDmEAo','6nngKYk','setGlobal','setAccessibilityCapabilities','../../../helpers/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browser_version','EekUv','winstonLogger','QpwAO','getPlatform','370540RPcWbD','includes','Exception\x20in\x20setExtension\x20Error:\x20','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','oPgOO','warn','uuoDs','35048JQJvZO','options_','190TNfSDx','bstack:options','path','accessibility','RBbAL','HXjxG','deviceName','2603UPToRG','141ePBiNq','BS_A11Y_JWT','capabilities_','getCapabilities','isUndefined','browserstack.accessibilityOptions','parse','rgusK','../../../helpers/logger','MsoHs','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','browserstack','2593472eUcXbs','UptyN','browserstack.accessibility','setExtension','browserName','requireModule','args','jLeHt','device','GrqXA','isAccessibilityPlatform','ZSXaV','accessibilityOptions','uZfId','okAxF','FbAps','chromeOptions_','7108xqWnTT','getPlatformVersion','chrome','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nestedKeyValue','getBrowserName','ktTzu','__cloud_provider___','scannerVersion','util','format','hOAnY'];a24_0x42f5=function(){return _0x5452ac;};return a24_0x42f5();}exports[a24_0x474bae(0x10b)]=_0x246a6b=>{const _0xaecc54=a24_0x474bae,_0x33b2b1={};_0x33b2b1[_0xaecc54(0xde)]=_0xaecc54(0xca),_0x33b2b1['rgusK']=_0xaecc54(0xdf),_0x33b2b1[_0xaecc54(0xda)]=_0xaecc54(0xe7),_0x33b2b1[_0xaecc54(0xfb)]=_0xaecc54(0xd6);const _0x23bab1=_0x33b2b1;try{const _0x2e2001=_0x246a6b[_0xaecc54(0x100)]||{};if(_0x2e2001[_0x23bab1['UptyN']]&&_0x2e2001[_0x23bab1[_0xaecc54(0xde)]][_0xaecc54(0xcc)]||_0x246a6b[_0xaecc54(0x100)][_0x23bab1['rgusK']]){globals[_0xaecc54(0x10a)](_0x23bab1[_0xaecc54(0xda)],!![]);if(_0x2e2001[_0x23bab1['UptyN']]){if(_0x2e2001[_0x23bab1[_0xaecc54(0xde)]][_0xaecc54(0xe9)])_0x2e2001[_0x23bab1[_0xaecc54(0xde)]]['accessibilityOptions'][_0xaecc54(0xfc)]=process['env']['BS_A11Y_JWT'];else{const _0x418a33={};_0x418a33['authToken']=process[_0xaecc54(0x103)]['BS_A11Y_JWT'],_0x2e2001[_0x23bab1[_0xaecc54(0xde)]]['accessibilityOptions']=_0x418a33;}_0x2e2001[_0x23bab1[_0xaecc54(0xde)]][_0xaecc54(0xe9)][_0xaecc54(0xf6)]=JSON[_0xaecc54(0xd7)](process[_0xaecc54(0x103)][_0xaecc54(0xf1)])[_0xaecc54(0xf6)];}else{if(_0x246a6b[_0xaecc54(0x100)][_0x23bab1[_0xaecc54(0xd8)]]){if(_0x2e2001[_0x23bab1['VEwdA']])_0x2e2001[_0x23bab1[_0xaecc54(0xfb)]]['authToken']=process[_0xaecc54(0x103)][_0xaecc54(0xd2)];else{const _0x406939={};_0x406939[_0xaecc54(0xfc)]=process['env'][_0xaecc54(0xd2)],_0x2e2001[_0x23bab1['VEwdA']]=_0x406939;}_0x2e2001[_0x23bab1[_0xaecc54(0xfb)]][_0xaecc54(0xf6)]=JSON['parse'](process[_0xaecc54(0x103)][_0xaecc54(0xf1)])['scannerVersion'];}}}}catch(_0x1e27ee){logger['debug'](_0xaecc54(0xdb)+_0x1e27ee);}},exports[a24_0x474bae(0xe0)]=(_0x3e492e,_0x5373df)=>{const _0x3a620b=a24_0x474bae,_0x2255b4={};_0x2255b4['ZSXaV']=_0x3a620b(0xca),_0x2255b4[_0x3a620b(0xc6)]=function(_0x58ed3e,_0x1c2c86){return _0x58ed3e!==_0x1c2c86;},_0x2255b4[_0x3a620b(0xc4)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x2255b4[_0x3a620b(0xe4)]=_0x3a620b(0xf0),_0x2255b4['RBbAL']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x2255b4[_0x3a620b(0xbe)]=function(_0x3d9019,_0x291dcf){return _0x3d9019===_0x291dcf;},_0x2255b4[_0x3a620b(0xf4)]=_0x3a620b(0xfd),_0x2255b4[_0x3a620b(0xea)]=function(_0x51de9a,_0x52ac7e){return _0x51de9a>_0x52ac7e;},_0x2255b4[_0x3a620b(0x106)]=_0x3a620b(0xba),_0x2255b4[_0x3a620b(0x104)]='selenium-webdriver/chrome.js',_0x2255b4[_0x3a620b(0x107)]=_0x3a620b(0xc8),_0x2255b4[_0x3a620b(0xeb)]=_0x3a620b(0xe3),_0x2255b4[_0x3a620b(0xec)]=_0x3a620b(0xff),_0x2255b4[_0x3a620b(0xbc)]='--headless',_0x2255b4[_0x3a620b(0xe6)]=_0x3a620b(0xc3);const _0x2a38ac=_0x2255b4;try{const _0x436fb5=_0x5373df[_0x3a620b(0x100)]||{},_0x5a1b1f=(_0x436fb5[_0x2a38ac[_0x3a620b(0xe8)]]?_0x436fb5[_0x2a38ac[_0x3a620b(0xe8)]][_0x3a620b(0xcf)]:_0x436fb5[_0x3a620b(0xe5)])||'';if(_0x2a38ac['uuoDs'](_0x5a1b1f,''))return logger['warn'](_0x2a38ac[_0x3a620b(0xc4)]),![];const _0x229edd=_0x436fb5[_0x3a620b(0xe1)];if(_0x2a38ac[_0x3a620b(0xc6)](_0x229edd['toLowerCase'](),_0x2a38ac[_0x3a620b(0xe4)]))return logger['warn'](_0x2a38ac[_0x3a620b(0xcd)]),![];const _0x39eac7=_0x436fb5[_0x3a620b(0xfe)]||_0x436fb5[_0x3a620b(0xbb)];if(!bsSetupHelper[_0x3a620b(0xd5)](_0x39eac7)&&!(_0x2a38ac[_0x3a620b(0xbe)](_0x39eac7,_0x2a38ac[_0x3a620b(0xf4)])||_0x2a38ac[_0x3a620b(0xea)](_0x39eac7,0x5e)))return logger[_0x3a620b(0xc5)](_0x2a38ac[_0x3a620b(0x106)]),![];let _0x33b230;try{_0x33b230=bsSetupHelper[_0x3a620b(0xe2)](_0x2a38ac[_0x3a620b(0x104)]);}catch(_0x4ed621){return![];}const _0x145cc2=new _0x33b230[(_0x3a620b(0x101))](_0x3e492e[_0x3a620b(0xed)]),_0x12d4cd=bsSetupHelper[_0x3a620b(0xf2)](_0x145cc2,[_0x2a38ac['ezGLI'],_0x2a38ac['okAxF']])||bsSetupHelper['nestedKeyValue'](_0x3e492e[_0x3a620b(0xd3)]['get'](_0x2a38ac['ZSXaV']),[_0x2a38ac[_0x3a620b(0xec)],_0x2a38ac[_0x3a620b(0xeb)]])||bsSetupHelper[_0x3a620b(0xf2)](_0x3e492e[_0x3a620b(0xd3)][_0x3a620b(0xfa)](_0x2a38ac[_0x3a620b(0xec)]),[_0x2a38ac[_0x3a620b(0xeb)]])||[];if(_0x12d4cd[_0x3a620b(0xc1)](_0x2a38ac['EekUv']))return logger[_0x3a620b(0xc5)](_0x2a38ac[_0x3a620b(0xe6)]),![];return!![];}catch(_0x2a46a0){logger[_0x3a620b(0x102)](_0x3a620b(0xc2)+util[_0x3a620b(0xf8)](_0x2a46a0));}return![];},exports['fetchPlatformDetails']=async _0xbff59e=>{const _0xd79c7a=a24_0x474bae,_0x182620={};_0x182620[_0xd79c7a(0xce)]=function(_0x47bd2c,_0x1c9634){return _0x47bd2c===_0x1c9634;},_0x182620['hOAnY']=_0xd79c7a(0xdc);const _0x94b43c=_0x182620;let _0x449a47={};try{const _0x118966=await _0xbff59e[_0xd79c7a(0xd4)]();_0x449a47={'os_name':_0x118966[_0xd79c7a(0xbf)](),'os_version':bsSetupHelper[_0xd79c7a(0xef)](_0x94b43c[_0xd79c7a(0xce)](global[_0xd79c7a(0xf5)],_0x94b43c[_0xd79c7a(0xf9)])),'browser_name':_0x118966[_0xd79c7a(0xf3)](),'browser_version':_0x118966['getBrowserVersion']()};}catch(_0x39caf4){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x39caf4);}return _0x449a47;};
@@ -1 +1 @@
1
- 'use strict';const a25_0x22cd65=a25_0x5cf4;(function(_0x4e656b,_0xb2232e){const _0x1ebcf2=a25_0x5cf4,_0x5e4f36=_0x4e656b();while(!![]){try{const _0x40dff1=parseInt(_0x1ebcf2(0xe2))/0x1*(parseInt(_0x1ebcf2(0x19c))/0x2)+-parseInt(_0x1ebcf2(0x148))/0x3*(-parseInt(_0x1ebcf2(0x182))/0x4)+parseInt(_0x1ebcf2(0x1c0))/0x5*(parseInt(_0x1ebcf2(0x198))/0x6)+parseInt(_0x1ebcf2(0x1b3))/0x7*(parseInt(_0x1ebcf2(0x1b8))/0x8)+-parseInt(_0x1ebcf2(0x147))/0x9+parseInt(_0x1ebcf2(0xe7))/0xa*(-parseInt(_0x1ebcf2(0xff))/0xb)+parseInt(_0x1ebcf2(0x1c4))/0xc*(parseInt(_0x1ebcf2(0x13c))/0xd);if(_0x40dff1===_0xb2232e)break;else _0x5e4f36['push'](_0x5e4f36['shift']());}catch(_0x38d6eb){_0x5e4f36['push'](_0x5e4f36['shift']());}}}(a25_0x5f21,0xe6beb));const util=require(a25_0x22cd65(0x195)),fs=require('fs'),path=require(a25_0x22cd65(0x189)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a25_0x22cd65(0x116)),utils=requireModule(a25_0x22cd65(0xf5)),color=Base[a25_0x22cd65(0xdb)],Mocha=requireModule('mocha'),Runnable=requireModule(a25_0x22cd65(0x150)),{v4:uuidv4}=require(a25_0x22cd65(0x1d0)),bsSetupHelper=require(a25_0x22cd65(0xc2)),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a25_0x39a315={};a25_0x39a315[a25_0x22cd65(0x1d7)]=a25_0x22cd65(0xf3),a25_0x39a315['after\x20all']=a25_0x22cd65(0x1cd),a25_0x39a315[a25_0x22cd65(0x12e)]='BEFORE_EACH',a25_0x39a315[a25_0x22cd65(0x1ea)]='AFTER_EACH';const HOOK_TYPES_MAP=a25_0x39a315,{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'][a25_0x22cd65(0x1ef)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x22cd65(0x1ef)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x22cd65(0x10a)),{consoleHolder}=require(a25_0x22cd65(0x1e8)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a25_0x22cd65(0x158)]();function a25_0x5f21(){const _0x12ff1d=['analyticsResult','WnMNr','TlVUY','0|4|2|1|3','13orysPf','green','hook_run','statSync','state','bs:addPlatformDetails:','UnhandledError','CjdzC','ChzHG','TestRunStarted','config','11779101EKVXvy','1533jXKYtu','gwrEO','fEANq','FsFGJ','jzbXR','eahiO','appendTestPlatform','rxwOQ','mocha/lib/runnable.js','\x20\x20<dt\x20class=\x22error\x22>','slow','speed','nluDE','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','EBGKs','_buildCreated','getInstance','zwxYD','Ipkmm','hGnMj','gKGpS','COMPLETED','apply','escape','join','current_hook','finalResults','CGWcI','rEedH','checkmark','shutdown','<section\x20class=\x22suite\x22>','ctx','pvNUK','multiple','title','RZEYZ','dot','fast','appendTesthubParams','sDFDG','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bright\x20yellow','duration','SIoxa','light','appendTestItemLog','started_at','failure_backtrace','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','sendTestRunEvent','\x20\x20<dd\x20class=\x22error\x22><pre><code>','bEvNS','fcrxv','BgXPd','_paths','failure_reason_expanded','fullTitle','268mDjmEP','HookRunStarted','GdyPh','eZLdF','BLYWC','originalTitle','hookAnalyticsId','path','testObservability','pass','\x20with\x20error\x20:\x20','nMSiI','Tvhjx','scope','IgYPJ','test','skipped','hook_type','PZvQP','util','vJBVe','bind','12LCNtDi','body','</dt>','QeTnT','5482DUypRt','toISOString','Mocha','GUzDR','kAuXg','nziAm','EnCKY','iTgIT','dLjRJ','cwd','OYwKY','pending','<h1>','DzJxM','_indents','test_run_uuid','amfnK','results','mLvZG','oATwi','currentTest','symbols','getTime','1414PSecYv','zMXos','isPending','rySJg','nJREv','62344IZdnxJ','KNCzv','SyVJC','docHtml','KCUlc','findGitConfig','sbvNY','PVKyw','509410GdrYag','increaseIndent','xtByY','PldYE','5294316jqScQA','Reporter','write','ZYqSP','tkorv','</dl>','root','guQWN','RUNNING','AFTER_ALL','PmQny','\x20-\x20','uuid','err','length','odJRy','qBLOj','yjPXq','TestRunSkipped','before\x20all','\x20\x20<dt>','BIdrz','IYdds','Xyntd','PPUgV','prototype','error','fail','expanded','titlePath','markedStatus','decreaseIndent','call','file','exports','MLyKz','../../../helpers/test-observability/constants','finished_at','after\x20each','RcMHV','uqxNN','mHtVr','result','constants','ukJfv','qkNVc','spec','reporterOption','.git','../../../helpers/helper','IlFPE','match','sqIon','testAnalyticsId','AgWVF','parent','__indents','CInJC','VCEbO','LITCl','AssertionError','current_test','done','scopes','toString','javascript','\x20(%dms)','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','cJIEa','relative','xunit','mocha/lib/reporters/','kbizn','stdout','color','retryOf','dSgwD','failed','.js','once','PLBEl','327gYKBJU','integrations','<dl>','registerListeners','test_run','10auEnLf','TestRunFinished','wpwxp','push','EVENT','pid','RnGTc','bs:addLog:','ZPbYv','doc','__platform__','includes','BEFORE_ALL','forEach','mocha/lib/utils.js','now','</section>','hook_run_uuid','shouldProcessEventForTesthub','mFWVn','YDPVd','CBTSessionCreated','YcFCM','dirname','9853437lPAkCG','mtSyy','SUpEB','oSXlO','FNlVr','getRootParentFile','docAppend','removeAllListeners','GwfEj','slice','type','../test-observability/mochaUtils','event_type','</h1>','location_prefix','HYujx','</code></pre></dd>','\x20%s','sep','indent','%s\x20','passed','ZnwTZ','mocha/lib/reporters/base.js','dynjm','SkMLX','consoleLog','suiteCount','pPxBK','split','testStarted','HKLhm','suite','pVptY','nfixl','fMTKF','failCount','HookRunFinished','AzDkp','pSYmn','kenIK','ZsMDu','currentRetry','inspect','VADgI','uploadEventData','MOCHA','before\x20each','prefixTestPath','_testEnv','SHRiG','_testResults','FTlPy','AsjDx','pGgzb','EtPAQ','trim'];a25_0x5f21=function(){return _0x12ff1d;};return a25_0x5f21();}function a25_0x5cf4(_0x36b77,_0x103f5a){const _0x5f218a=a25_0x5f21();return a25_0x5cf4=function(_0x5cf497,_0x737b70){_0x5cf497=_0x5cf497-0xbd;let _0x29878f=_0x5f218a[_0x5cf497];return _0x29878f;},a25_0x5cf4(_0x36b77,_0x103f5a);}class MyReporter{constructor(_0x5a6d4a,_0x1f740a){const _0x31ce4e=a25_0x22cd65,_0x54c21f={'ZnwTZ':function(_0x4db32a,_0x488ea1){return _0x4db32a===_0x488ea1;},'dynjm':_0x31ce4e(0xbf),'SkMLX':function(_0x51e96d,_0x45776f){return _0x51e96d+_0x45776f;},'nluDE':function(_0x369fab,_0x43aadf,_0x51bac4){return _0x369fab(_0x43aadf,_0x51bac4);},'cJIEa':_0x31ce4e(0x13d),'sbvNY':_0x31ce4e(0x113),'PldYE':function(_0x9fc5f3,_0x32960e,_0x3dcb34){return _0x9fc5f3(_0x32960e,_0x3dcb34);},'guQWN':_0x31ce4e(0x175),'kenIK':'%s\x20-\x20%s','PLBEl':_0x31ce4e(0x1cc),'SUpEB':_0x31ce4e(0xf0),'EoiwW':function(_0x295f43){return _0x295f43();},'eZLdF':function(_0x146d1b){return _0x146d1b();},'ZYqSP':_0x31ce4e(0x183),'Ipkmm':function(_0x393439,_0x2d630f){return _0x393439===_0x2d630f;},'GUzDR':_0x31ce4e(0x124),'VCGVz':function(_0x5c97c1,_0x4ec89a){return _0x5c97c1===_0x4ec89a;},'VADgI':_0x31ce4e(0x114),'PmQny':_0x31ce4e(0x16e),'TlVUY':function(_0x25992f,_0x36392c){return _0x25992f+_0x36392c;},'wpwxp':function(_0xc1344b,_0x14421c){return _0xc1344b+_0x14421c;},'SyVJC':function(_0x6142f2,_0xc0d65d,_0x1f9d82){return _0x6142f2(_0xc0d65d,_0x1f9d82);},'qkNVc':_0x31ce4e(0x165),'qBLOj':_0x31ce4e(0x18b),'hGnMj':_0x31ce4e(0x110),'RnGTc':function(_0x37eb96,_0x3bb85b,_0x1134d5){return _0x37eb96(_0x3bb85b,_0x1134d5);},'pSYmn':function(_0x4fc74b,_0x5dbcd9){return _0x4fc74b+_0x5dbcd9;},'LITCl':_0x31ce4e(0xd3),'AsjDx':function(_0x1c9043,_0x5e1f51,_0x1d6f48){return _0x1c9043(_0x5e1f51,_0x1d6f48);},'bswJH':_0x31ce4e(0x1df),'rxwOQ':'\x20\x20%d)\x20%s','nJREv':function(_0x127b50,_0x5b7a01){return _0x127b50===_0x5b7a01;},'rEedH':function(_0x38f563,_0xb666fb){return _0x38f563+_0xb666fb;},'yjPXq':function(_0x520616,_0x36df19,_0x3120e4){return _0x520616(_0x36df19,_0x3120e4);},'gwrEO':_0x31ce4e(0x172),'CInJC':_0x31ce4e(0x15d),'EBGKs':function(_0x1e0945,_0x1a56cf){return _0x1e0945===_0x1a56cf;},'FNlVr':function(_0x334bfe,_0x41ab07){return _0x334bfe===_0x41ab07;},'pPxBK':_0x31ce4e(0x16d),'bEvNS':_0x31ce4e(0x152),'GdyPh':_0x31ce4e(0x13b),'xtByY':function(_0x9d1f08,_0x6c3ac8){return _0x9d1f08===_0x6c3ac8;},'kAuXg':_0x31ce4e(0x1a7),'zwxYD':_0x31ce4e(0x1d6),'MLyKz':function(_0xbabd08,_0x3885c0){return _0xbabd08===_0x3885c0;},'jzbXR':function(_0x1edad7,_0x392a8b){return _0x1edad7(_0x392a8b);},'PPUgV':function(_0x16801e){return _0x16801e();},'GwfEj':function(_0x4ab579,_0x2ecc42){return _0x4ab579===_0x2ecc42;},'tkorv':function(_0x50b31a){return _0x50b31a();},'BLYWC':function(_0x351075,_0x353b36){return _0x351075===_0x353b36;},'hXtau':_0x31ce4e(0xd7),'oATwi':function(_0x57db91,_0x27959f){return _0x57db91(_0x27959f);},'pGgzb':function(_0xc05cd9,_0x5bf3ac){return _0xc05cd9===_0x5bf3ac;},'KNCzv':function(_0x5aa3d3,_0x44cf77){return _0x5aa3d3!==_0x44cf77;}};this[_0x31ce4e(0x109)]=_0x1f740a[_0x31ce4e(0xc0)][_0x31ce4e(0x109)],this[_0x31ce4e(0x18a)]=_0x54c21f[_0x31ce4e(0x185)](isTestObservabilitySession),Base[_0x31ce4e(0x1e4)](this,_0x5a6d4a,_0x1f740a),this[_0x31ce4e(0x1aa)]=0x0,this[_0x31ce4e(0x123)]=0x0,this[_0x31ce4e(0x1ad)]=[],this[_0x31ce4e(0x162)]=[],this[_0x31ce4e(0x11a)]=0x0,this[_0x31ce4e(0x157)]=![],this[_0x31ce4e(0x132)]=[],this[_0x31ce4e(0x130)]=_0x54c21f[_0x31ce4e(0x1c8)](getTestEnv),this[_0x31ce4e(0x17f)]=new PathHelper({'cwd':process[_0x31ce4e(0x1a5)]()},this[_0x31ce4e(0x130)][_0x31ce4e(0x10d)]),this['_upstreamConfig']=_0x1f740a[_0x31ce4e(0xc0)]['bsConfig'],this['registerListeners']();_0x54c21f[_0x31ce4e(0x186)](this['type'],_0x54c21f[_0x31ce4e(0x101)])&&(this[_0x31ce4e(0x1bb)]='',this['__indents']=0x2);_0x5a6d4a[_0x31ce4e(0xe0)](EVENT_RUN_BEGIN,async()=>{const _0x5b5053=_0x31ce4e;_0x54c21f[_0x5b5053(0x115)](this['type'],_0x54c21f[_0x5b5053(0x117)])&&Base[_0x5b5053(0x119)]();})['on'](EVENT_SUITE_BEGIN,_0xdc7034=>{const _0x3b8856=_0x31ce4e;if(_0xdc7034[_0x3b8856(0x1ca)])return;if(_0x54c21f['ZnwTZ'](this[_0x3b8856(0x109)],_0x54c21f['dynjm']))this[_0x3b8856(0x1c1)](),Base['consoleLog'](_0x54c21f[_0x3b8856(0x118)](_0x54c21f[_0x3b8856(0x118)](this['indent'](),_0x54c21f[_0x3b8856(0x154)](color,_0x54c21f[_0x3b8856(0xd5)],_0x54c21f['sbvNY'])),_0x54c21f[_0x3b8856(0x1c3)](color,_0x54c21f[_0x3b8856(0x1cb)],_0x54c21f[_0x3b8856(0x127)])),_0x54c21f[_0x3b8856(0xe1)],_0xdc7034['title'],global[_0x3b8856(0xf1)]);else _0x54c21f[_0x3b8856(0x115)](this[_0x3b8856(0x109)],_0x54c21f[_0x3b8856(0x101)])&&(this[_0x3b8856(0x105)](this[_0x3b8856(0x112)]()+_0x3b8856(0x167)),++this[_0x3b8856(0xc9)],this[_0x3b8856(0x105)](this[_0x3b8856(0x112)]()+_0x3b8856(0x1a8)+utils[_0x3b8856(0x15f)](_0xdc7034[_0x3b8856(0x16b)]+_0x3b8856(0x1cf)+global[_0x3b8856(0xf1)])+_0x3b8856(0x10c)),this[_0x3b8856(0x105)](this['indent']()+_0x3b8856(0xe4)));})['on'](EVENT_HOOK_BEGIN,async _0xcddd03=>{const _0x372751=_0x31ce4e;if(_0x54c21f[_0x372751(0x115)](testhubUtils[_0x372751(0xf9)](testHubConstants[_0x372751(0xeb)]['HookStarted']),!![])){if(!_0xcddd03[_0x372751(0x188)])_0xcddd03[_0x372751(0x188)]=_0x54c21f['EoiwW'](uuidv4);else _0xcddd03[_0x372751(0x1e2)]&&(_0xcddd03['hookAnalyticsId']=_0x54c21f[_0x372751(0x185)](uuidv4),delete _0xcddd03['markedStatus']);_0xcddd03[_0x372751(0x177)]=new Date()[_0x372751(0x19d)](),this[_0x372751(0x161)]=_0xcddd03,await this[_0x372751(0x17a)](_0xcddd03,undefined,![],_0x54c21f[_0x372751(0x1c7)]);}})['on'](EVENT_HOOK_END,async _0x21c2e0=>{const _0x5cd7ef=_0x31ce4e;_0x54c21f['Ipkmm'](testhubUtils[_0x5cd7ef(0xf9)](testHubConstants[_0x5cd7ef(0xeb)]['HookFinished']),!![])&&(!_0x21c2e0['markedStatus']&&(_0x21c2e0['markedStatus']=!![],await this[_0x5cd7ef(0x17a)](_0x21c2e0,undefined,![],_0x54c21f[_0x5cd7ef(0x19f)])));})['on'](EVENT_SUITE_END,_0x3f453a=>{const _0x4b608b=_0x31ce4e,_0x1cbf25={'SIoxa':function(_0x52876f,_0x447445){return _0x54c21f['VCGVz'](_0x52876f,_0x447445);},'PZvQP':_0x54c21f[_0x4b608b(0x12b)],'ZPbYv':_0x54c21f[_0x4b608b(0x1ce)],'ChzHG':function(_0x559b21,_0xf977bb){return _0x54c21f['TlVUY'](_0x559b21,_0xf977bb);},'VCEbO':function(_0x3cea33,_0x4d572b){const _0x3f6c2a=_0x4b608b;return _0x54c21f[_0x3f6c2a(0xe9)](_0x3cea33,_0x4d572b);},'rHkqg':function(_0x1a9852,_0x46a9ac,_0x40c5fb){const _0xe8195b=_0x4b608b;return _0x54c21f[_0xe8195b(0x1ba)](_0x1a9852,_0x46a9ac,_0x40c5fb);},'kElhe':_0x54c21f[_0x4b608b(0xbe)],'HYujx':function(_0x5e0493,_0x2f7076){const _0x573e65=_0x4b608b;return _0x54c21f[_0x573e65(0x13a)](_0x5e0493,_0x2f7076);},'RZEYZ':function(_0x173e21,_0x33b460,_0x116225){return _0x54c21f['nluDE'](_0x173e21,_0x33b460,_0x116225);},'mFWVn':_0x54c21f[_0x4b608b(0x1d4)],'fEANq':_0x54c21f[_0x4b608b(0x15b)],'HKLhm':function(_0x5b984e,_0x23f524,_0x5da54f){const _0x4a9547=_0x4b608b;return _0x54c21f[_0x4a9547(0xed)](_0x5b984e,_0x23f524,_0x5da54f);},'OQIJw':function(_0x4841ac,_0x31ad10){const _0x52ad98=_0x4b608b;return _0x54c21f[_0x52ad98(0x126)](_0x4841ac,_0x31ad10);},'IgYPJ':function(_0x756f13,_0x5951f0,_0x286bb8){return _0x54c21f['SyVJC'](_0x756f13,_0x5951f0,_0x286bb8);},'SHRiG':function(_0x291b64,_0x333b49,_0x2dde0e){const _0x145a14=_0x4b608b;return _0x54c21f[_0x145a14(0x154)](_0x291b64,_0x333b49,_0x2dde0e);},'AgWVF':_0x54c21f[_0x4b608b(0xcc)],'nMSiI':function(_0x5ca8c,_0x1a26ec,_0x56f04e){const _0x490a66=_0x4b608b;return _0x54c21f[_0x490a66(0x134)](_0x5ca8c,_0x1a26ec,_0x56f04e);},'PVKyw':_0x54c21f['bswJH'],'gKGpS':_0x54c21f[_0x4b608b(0x14f)]};if(_0x3f453a[_0x4b608b(0x1ca)])return;if(_0x54c21f[_0x4b608b(0x1b7)](this[_0x4b608b(0x109)],_0x54c21f[_0x4b608b(0x117)]))Base[_0x4b608b(0x119)](),Base[_0x4b608b(0x119)](_0x54c21f[_0x4b608b(0x118)](_0x54c21f[_0x4b608b(0x164)](this[_0x4b608b(0x112)](),_0x54c21f[_0x4b608b(0x1d5)](color,_0x54c21f[_0x4b608b(0x149)],_0x54c21f[_0x4b608b(0x1be)])),_0x54c21f['PldYE'](color,_0x54c21f[_0x4b608b(0x1cb)],_0x54c21f[_0x4b608b(0x127)])),_0x54c21f[_0x4b608b(0xca)],_0x3f453a[_0x4b608b(0x16b)],global[_0x4b608b(0xf1)]),this[_0x4b608b(0x1ad)][_0x4b608b(0xf4)](_0x16b895=>{const _0x13a206=_0x4b608b;if(_0x1cbf25[_0x13a206(0x174)](_0x16b895['state'],_0x1cbf25[_0x13a206(0x194)])){var _0x1d9f0c;_0x1cbf25[_0x13a206(0x174)](_0x16b895['speed'],_0x1cbf25[_0x13a206(0xef)])?(_0x1d9f0c=_0x1cbf25['ChzHG'](_0x1cbf25[_0x13a206(0xcb)](this['indent'](),_0x1cbf25['rHkqg'](color,_0x1cbf25['kElhe'],_0x1cbf25[_0x13a206(0x10e)]('\x20\x20',Base[_0x13a206(0x1b1)]['ok']))),_0x1cbf25[_0x13a206(0x16c)](color,_0x1cbf25[_0x13a206(0xfa)],_0x1cbf25[_0x13a206(0x14a)])),Base['consoleLog'](_0x1d9f0c,_0x16b895[_0x13a206(0x16b)])):(_0x1d9f0c=_0x1cbf25[_0x13a206(0x10e)](_0x1cbf25[_0x13a206(0x144)](_0x1cbf25[_0x13a206(0x10e)](this[_0x13a206(0x112)](),_0x1cbf25[_0x13a206(0x11e)](color,_0x1cbf25['kElhe'],_0x1cbf25['OQIJw']('\x20\x20',Base[_0x13a206(0x1b1)]['ok']))),_0x1cbf25[_0x13a206(0x190)](color,_0x1cbf25[_0x13a206(0xfa)],_0x1cbf25[_0x13a206(0x14a)])),_0x1cbf25[_0x13a206(0x131)](color,_0x16b895[_0x13a206(0x153)],_0x1cbf25[_0x13a206(0xc7)])),Base['consoleLog'](_0x1d9f0c,_0x16b895[_0x13a206(0x16b)],_0x16b895['duration']));}else Base[_0x13a206(0x119)](_0x1cbf25[_0x13a206(0x10e)](this[_0x13a206(0x112)](),_0x1cbf25[_0x13a206(0x18d)](color,_0x1cbf25[_0x13a206(0x1bf)],_0x1cbf25[_0x13a206(0x15c)])),++this[_0x13a206(0x123)],_0x16b895[_0x13a206(0x16b)]);}),this[_0x4b608b(0x1e3)]();else _0x54c21f[_0x4b608b(0x156)](this[_0x4b608b(0x109)],_0x54c21f[_0x4b608b(0x101)])&&(this[_0x4b608b(0x105)](this[_0x4b608b(0x112)]()+_0x4b608b(0x1c9)),--this[_0x4b608b(0xc9)],this[_0x4b608b(0x105)](this['indent']()+_0x4b608b(0xf7)),--this[_0x4b608b(0xc9)]);Array[_0x4b608b(0x1dd)][_0x4b608b(0xea)][_0x4b608b(0x15e)](this[_0x4b608b(0x162)],this[_0x4b608b(0x1ad)]),this[_0x4b608b(0x1ad)]=[];})['on'](EVENT_TEST_PASS,async _0x551b8d=>{const _0x302d49=_0x31ce4e;this[_0x302d49(0x1ad)][_0x302d49(0xea)]({'speed':_0x551b8d['speed'],'suite':_0x551b8d[_0x302d49(0xc8)][_0x302d49(0x16b)],'title':_0x551b8d['title'],'fullTitle':_0x551b8d[_0x302d49(0x181)](),'duration':_0x551b8d[_0x302d49(0x173)],'state':_0x551b8d[_0x302d49(0x140)],'err':{},'currentRetry':_0x551b8d['currentRetry'](),'titlePathV':_0x551b8d['titlePath'](),'isPending':_0x551b8d[_0x302d49(0x1b5)]()});if(_0x54c21f[_0x302d49(0x103)](this[_0x302d49(0x109)],_0x54c21f['pPxBK']))_0x54c21f['nJREv'](_0x551b8d[_0x302d49(0x153)],_0x54c21f[_0x302d49(0x17c)])?process[_0x302d49(0xda)][_0x302d49(0x1c6)](Base[_0x302d49(0xdb)](_0x54c21f['gwrEO'],Base['symbols'][_0x302d49(0x16d)])):process[_0x302d49(0xda)][_0x302d49(0x1c6)](Base['color'](_0x551b8d[_0x302d49(0x153)],Base[_0x302d49(0x1b1)]['dot']));else{if(_0x54c21f[_0x302d49(0x103)](this[_0x302d49(0x109)],_0x54c21f[_0x302d49(0x101)])){this[_0x302d49(0x105)](this['indent']()+'\x20\x20<dt>'+utils[_0x302d49(0x15f)](_0x551b8d['title'])+_0x302d49(0x19a)),this[_0x302d49(0x105)](this[_0x302d49(0x112)]()+_0x302d49(0x1d8)+utils[_0x302d49(0x15f)](_0x551b8d[_0x302d49(0x1e5)])+'</dt>');var _0x2bc019=utils['escape'](utils['clean'](_0x551b8d[_0x302d49(0x199)]));this['docAppend'](this[_0x302d49(0x112)]()+'\x20\x20<dd><pre><code>'+_0x2bc019+'</code></pre></dd>');}}_0x54c21f['ZnwTZ'](testhubUtils[_0x302d49(0xf9)](),!![])&&(!_0x551b8d[_0x302d49(0x1e2)]&&(_0x551b8d['markedStatus']=!![],await this[_0x302d49(0x17a)](_0x551b8d)));})['on'](EVENT_TEST_FAIL,async(_0x2c8691,_0x2f8627)=>{const _0x72cc99=_0x31ce4e;this[_0x72cc99(0x1ad)][_0x72cc99(0xea)]({'title':_0x2c8691[_0x72cc99(0x16b)],'suite':_0x2c8691[_0x72cc99(0xc8)]['title'],'state':_0x2c8691['state'],'err':{'message':util[_0x72cc99(0x12a)](_0x2f8627)},'fullTitle':_0x2c8691[_0x72cc99(0x181)](),'speed':_0x2c8691[_0x72cc99(0x153)],'currentRetry':_0x2c8691[_0x72cc99(0x129)](),'titlePathV':_0x2c8691[_0x72cc99(0x1e1)]()});if(_0x54c21f[_0x72cc99(0x103)](this['type'],_0x54c21f[_0x72cc99(0x11b)]))process['stdout'][_0x72cc99(0x1c6)](Base[_0x72cc99(0xdb)](_0x54c21f['bswJH'],Base[_0x72cc99(0x1b1)]['bang']));else{if(_0x54c21f[_0x72cc99(0x103)](this[_0x72cc99(0x109)],_0x54c21f['SUpEB'])){const _0x5adcdf=_0x54c21f[_0x72cc99(0x184)][_0x72cc99(0x11c)]('|');let _0x42cc34=0x0;while(!![]){switch(_0x5adcdf[_0x42cc34++]){case'0':this[_0x72cc99(0x105)](this[_0x72cc99(0x112)]()+_0x72cc99(0x151)+utils[_0x72cc99(0x15f)](_0x2c8691[_0x72cc99(0x16b)])+_0x72cc99(0x19a));continue;case'1':this[_0x72cc99(0x105)](this['indent']()+_0x72cc99(0x17b)+_0x432b21+_0x72cc99(0x10f));continue;case'2':var _0x432b21=utils['escape'](utils['clean'](_0x2c8691[_0x72cc99(0x199)]));continue;case'3':this[_0x72cc99(0x105)](this[_0x72cc99(0x112)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x72cc99(0x15f)](_0x2c8691['err'])+'</dd>');continue;case'4':this[_0x72cc99(0x105)](this[_0x72cc99(0x112)]()+_0x72cc99(0x151)+utils[_0x72cc99(0x15f)](_0x2c8691[_0x72cc99(0x1e5)])+_0x72cc99(0x19a));continue;}break;}}}if(_0x54c21f[_0x72cc99(0x1c2)](testhubUtils[_0x72cc99(0xf9)](testHubConstants[_0x72cc99(0xeb)]['HookFinished']),!![])){if(!_0x2c8691[_0x72cc99(0x1e2)]){_0x2c8691[_0x72cc99(0x1e2)]=!![];if(_0x2c8691[_0x72cc99(0xc6)])await this[_0x72cc99(0x17a)](_0x2c8691,_0x2f8627);else _0x2c8691[_0x72cc99(0x188)]&&await this[_0x72cc99(0x17a)](_0x2c8691,_0x2f8627,![],_0x54c21f[_0x72cc99(0x19f)]);}}})['on'](EVENT_TEST_PENDING,async _0x1942a1=>{const _0x32d09e=_0x31ce4e;this['results'][_0x32d09e(0xea)]({'title':_0x1942a1['title'],'suite':_0x1942a1[_0x32d09e(0xc8)][_0x32d09e(0x16b)],'state':_0x1942a1[_0x32d09e(0x140)],'err':{},'fullTitle':_0x1942a1[_0x32d09e(0x181)](),'speed':_0x1942a1[_0x32d09e(0x153)],'currentRetry':_0x1942a1['currentRetry'](),'titlePathV':_0x1942a1[_0x32d09e(0x1e1)]()}),_0x54c21f['VCGVz'](this[_0x32d09e(0x109)],_0x54c21f[_0x32d09e(0x11b)])&&process[_0x32d09e(0xda)][_0x32d09e(0x1c6)](Base[_0x32d09e(0xdb)](_0x54c21f[_0x32d09e(0x1a0)],Base[_0x32d09e(0x1b1)]['comma'])),_0x54c21f[_0x32d09e(0x156)](testhubUtils[_0x32d09e(0xf9)](),!![])&&(!_0x1942a1['testAnalyticsId']&&(_0x1942a1[_0x32d09e(0xc6)]=_0x54c21f['eZLdF'](uuidv4)),!_0x1942a1[_0x32d09e(0x1e2)]&&(_0x1942a1[_0x32d09e(0x1e2)]=!![],await this['sendTestRunEvent'](_0x1942a1,undefined,![],_0x54c21f['zwxYD'])));})['on'](EVENT_TEST_BEGIN,async _0x730140=>{const _0x5e7e90=_0x31ce4e;_0x54c21f[_0x5e7e90(0x1e7)](testhubUtils[_0x5e7e90(0xf9)](),!![])&&await this[_0x5e7e90(0x11d)](_0x730140);})['on'](EVENT_TEST_END,async _0x1a3d9f=>{const _0x193cd2=_0x31ce4e;_0x54c21f[_0x193cd2(0x15a)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1a3d9f[_0x193cd2(0x1e2)]&&(_0x1a3d9f['markedStatus']=!![],await this[_0x193cd2(0x17a)](_0x1a3d9f)));})['once'](EVENT_RUN_END,async()=>{const _0x12b7ff=_0x31ce4e;try{if(_0x54c21f['xtByY'](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x54d958=_0x54c21f['jzbXR'](getHookSkippedTests,this['runner'][_0x12b7ff(0x11f)]);for(const _0x1acdb3 of _0x54d958){!_0x1acdb3[_0x12b7ff(0xc6)]&&(_0x1acdb3[_0x12b7ff(0xc6)]=_0x54c21f[_0x12b7ff(0x1dc)](uuidv4)),await this[_0x12b7ff(0x17a)](_0x1acdb3,undefined,![],_0x54c21f[_0x12b7ff(0x159)]);}}}catch(_0xda33c0){_0x54c21f[_0x12b7ff(0x14c)](debug,_0x12b7ff(0xd4)+_0xda33c0);}await requestQueueHandler[_0x12b7ff(0x166)](),_0x54c21f[_0x12b7ff(0x107)](this[_0x12b7ff(0x109)],_0x54c21f[_0x12b7ff(0x101)])&&Base['consoleLog'](this[_0x12b7ff(0x1bb)]);});if(this[_0x31ce4e(0x109)]&&![_0x54c21f[_0x31ce4e(0x101)],_0x54c21f['hXtau'],_0x54c21f[_0x31ce4e(0x117)],_0x54c21f['pPxBK']][_0x31ce4e(0xf2)](this[_0x31ce4e(0x109)])){const _0x4d6e62=this[_0x31ce4e(0x109)][_0x31ce4e(0x137)]();this[_0x31ce4e(0x1c5)]=null;try{this[_0x31ce4e(0x1c5)]=_0x54c21f[_0x31ce4e(0x1af)](requireModule,_0x31ce4e(0xd8)+_0x4d6e62+_0x31ce4e(0xdf));}catch{}if(_0x54c21f[_0x31ce4e(0x135)](this['Reporter'],null))try{this['Reporter']=_0x54c21f[_0x31ce4e(0x14c)](require,_0x4d6e62);}catch(_0x5b7e88){console[_0x31ce4e(0x1de)]('Failed\x20to\x20load\x20reporter\x20'+_0x4d6e62);}if(_0x54c21f[_0x31ce4e(0x1b9)](this['Reporter'],null)){const _0x11aad9={};_0x11aad9['reporterOptions']=_0x1f740a['reporterOption'],this['Reporter']=new this[(_0x31ce4e(0x1c5))](_0x5a6d4a,_0x11aad9);}}}[a25_0x22cd65(0x112)](){const _0x5c068c=a25_0x22cd65,_0x463e27={'pVptY':function(_0x1e5117,_0x2058cf){return _0x1e5117(_0x2058cf);}};return _0x463e27[_0x5c068c(0x120)](Array,this['_indents'])[_0x5c068c(0x160)]('\x20\x20');}[a25_0x22cd65(0x1c1)](){this['_indents']++;}['decreaseIndent'](){this['_indents']--;}[a25_0x22cd65(0x105)](_0x414f33){const _0x41538c=a25_0x22cd65;this[_0x41538c(0x1bb)]+=_0x414f33;}[a25_0x22cd65(0xcf)](_0x442a3a,_0x2beda2){const _0x59fdbc=a25_0x22cd65,_0x3f9d67={'nfixl':function(_0x4781fe,_0x552f75){return _0x4781fe(_0x552f75);}},_0x310d9b={};_0x310d9b['failureCount']=_0x442a3a,_0x310d9b['results']=this['finalResults'],_0x3f9d67[_0x59fdbc(0x121)](_0x2beda2,_0x310d9b);}[a25_0x22cd65(0xe5)](){const _0x652cb8=a25_0x22cd65;process[_0x652cb8(0x106)](_0x652cb8(0xee)+process[_0x652cb8(0xec)]),process['on'](_0x652cb8(0xee)+process[_0x652cb8(0xec)],this[_0x652cb8(0x176)][_0x652cb8(0x197)](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process[_0x652cb8(0xec)]),process['on'](_0x652cb8(0x141)+process['pid'],this['appendTestPlatform'][_0x652cb8(0x197)](this));}['testStarted']=async _0x3821b7=>{const _0xade110=a25_0x22cd65,_0x2bd03f={'VRvFT':function(_0x462250){return _0x462250();},'dLjRJ':function(_0x5aed8c,_0x484cea){return _0x5aed8c>_0x484cea;},'zMXos':function(_0x2d8040,_0x2f1267){return _0x2d8040===_0x2f1267;},'BgXPd':_0xade110(0x145),'EnCKY':function(_0x181d8c,_0x4db2a6){return _0x181d8c(_0x4db2a6);}};try{const _0x53e119=this[_0xade110(0xce)];this['current_test']=_0x3821b7,_0x3821b7[_0xade110(0xdc)]=null,_0x3821b7[_0xade110(0xc6)]=_0x2bd03f['VRvFT'](uuidv4),_0x3821b7[_0xade110(0x177)]=new Date()[_0xade110(0x19d)](),_0x2bd03f[_0xade110(0x1a4)](_0x3821b7['_currentRetry'],0x0)&&_0x53e119&&_0x2bd03f[_0xade110(0x1b4)](_0x53e119['title'],_0x3821b7[_0xade110(0x16b)])?(_0x3821b7[_0xade110(0xdc)]=_0x53e119[_0xade110(0xc6)],await this[_0xade110(0x17a)](_0x3821b7,undefined,![],_0x2bd03f[_0xade110(0x17e)]),_0x53e119[_0xade110(0x140)]=STATE_FAILED,await this[_0xade110(0x17a)](_0x53e119,undefined,!![])):await this[_0xade110(0x17a)](_0x3821b7,undefined,![],_0x2bd03f[_0xade110(0x17e)]);}catch(_0x309a94){_0x2bd03f[_0xade110(0x1a2)](debug,_0xade110(0x155)+_0x309a94);}};['sendTestRunEvent']=async(_0x3aeda8,_0x131f8f=undefined,_0x5526dd=![],_0x364a11=a25_0x22cd65(0xe8))=>{const _0x220a61=a25_0x22cd65,_0x4b8516={'sDFDG':function(_0x50bcee,_0x471384){return _0x50bcee===_0x471384;},'ZsMDu':function(_0x43743d,_0x51435f){return _0x43743d!==_0x51435f;},'VtifT':_0x220a61(0x191),'iTgIT':_0x220a61(0x1d1),'JVyOs':function(_0x1738d3,_0x5ceb63){return _0x1738d3!==_0x5ceb63;},'FTlPy':'File\x20path\x20could\x20not\x20be\x20found','LUSYS':_0x220a61(0x19e),'YcFCM':_0x220a61(0xd2),'EtPAQ':'TestRunSkipped','dSgwD':_0x220a61(0x192),'Tvhjx':function(_0x4788ea,_0x3d20b2){return _0x4788ea-_0x3d20b2;},'DzJxM':_0x220a61(0xcd),'mLvZG':_0x220a61(0x142),'oSXlO':function(_0xf1dffa,_0x5aac33){return _0xf1dffa===_0x5aac33;},'mHtVr':_0x220a61(0x177),'wXtnt':_0x220a61(0x1e9),'odJRy':function(_0x1a2178,_0x251257){return _0x1a2178(_0x251257);},'BIdrz':function(_0x3f1b0e,_0x3b6542){return _0x3f1b0e===_0x3b6542;},'AzDkp':'HookRunFinished','kbizn':function(_0x55eaf8,_0x413179){return _0x55eaf8!==_0x413179;},'IlFPE':_0x220a61(0xde),'hpYDp':_0x220a61(0x114),'WnMNr':_0x220a61(0x12e),'CGWcI':function(_0x123629,_0x3d13f0){return _0x123629(_0x3d13f0);},'fcrxv':'failure','zhTrD':_0x220a61(0x178),'IYdds':'backtrace','OYwKY':_0x220a61(0x180),'KCUlc':_0x220a61(0x1e0),'amfnK':_0x220a61(0xe8),'uqxNN':_0x220a61(0x193),'wziEO':_0x220a61(0x13e),'nziAm':_0x220a61(0xe6),'YDPVd':function(_0x36286c,_0x2b7d20){return _0x36286c(_0x2b7d20);}};try{if(_0x3aeda8['body']&&_0x3aeda8[_0x220a61(0x199)][_0x220a61(0xc4)](/browserstack internal helper hook/))return;let _0x5373a3=[];if(_0x4b8516[_0x220a61(0x170)](_0x3aeda8[_0x220a61(0x140)],STATE_FAILED)){if(_0x4b8516[_0x220a61(0x128)](_0x3aeda8[_0x220a61(0x1d1)],undefined))_0x5373a3=_0x3aeda8[_0x220a61(0x1d1)][_0x220a61(0x16a)]?[_0x3aeda8[_0x220a61(0x1d1)][_0x220a61(0x16a)],_0x4b8516['VtifT']]:[_0x3aeda8[_0x220a61(0x1d1)],_0x4b8516[_0x220a61(0x1a3)]];else _0x4b8516[_0x220a61(0x128)](_0x131f8f,undefined)?_0x5373a3=[_0x131f8f,_0x4b8516[_0x220a61(0x1a3)]]:_0x5373a3=[];}const _0x249b34=_0x4b8516['ZsMDu'](_0x3aeda8[_0x220a61(0x1d1)],undefined)?_0x3aeda8[_0x220a61(0x1d1)][_0x220a61(0xd1)]():_0x4b8516['JVyOs'](_0x131f8f,undefined)?_0x131f8f['toString']():undefined;let _0x2817bc;try{_0x2817bc=this[_0x220a61(0x104)](_0x3aeda8);}catch(_0x31119b){_0x2817bc=null;}const _0x410911=_0x2817bc?this['findGitConfig'](_0x2817bc):null,_0x42462b=_0x2817bc?this['_paths'][_0x220a61(0x12f)](this['getRootParentFile'](_0x3aeda8)):_0x4b8516[_0x220a61(0x133)],_0x102f9a={'framework':_0x4b8516['LUSYS'],'uuid':_0x3aeda8[_0x220a61(0xc6)]||_0x3aeda8[_0x220a61(0x188)],'name':_0x3aeda8[_0x220a61(0x16b)],'body':{'lang':_0x4b8516[_0x220a61(0xfd)],'code':_0x3aeda8[_0x220a61(0x199)]},'scope':this[_0x220a61(0x18f)](_0x3aeda8),'scopes':this['scopes'](_0x3aeda8),'identifier':_0x3aeda8[_0x220a61(0x181)](),'file_name':_0x42462b,'vc_filepath':_0x410911?path[_0x220a61(0xd6)](_0x410911,_0x2817bc):null,'location':_0x42462b,'result':_0x4b8516[_0x220a61(0x170)](_0x364a11,_0x4b8516[_0x220a61(0x136)])?_0x4b8516[_0x220a61(0xdd)]:this[_0x220a61(0x138)](_0x3aeda8[_0x220a61(0x140)]),'failure_reason':_0x249b34,'duration_in_ms':_0x3aeda8[_0x220a61(0x173)]||(_0x364a11['match'](/Finished/)||_0x364a11[_0x220a61(0xc4)](/Skipped/)?_0x4b8516[_0x220a61(0x18e)](Date[_0x220a61(0xf6)](),new Date(_0x3aeda8[_0x220a61(0x177)])[_0x220a61(0x1b2)]()):null),'started_at':_0x3aeda8[_0x220a61(0x177)],'finished_at':_0x364a11[_0x220a61(0xc4)](/Finished/)||_0x364a11[_0x220a61(0xc4)](/Skipped/)?new Date()[_0x220a61(0x19d)]():null,'failure':failureData[_0x220a61(0x15e)](null,_0x5373a3),'failure_type':!_0x249b34?null:_0x249b34[_0x220a61(0xc4)](/AssertionError/)?_0x4b8516[_0x220a61(0x1a9)]:_0x4b8516[_0x220a61(0x1ae)],'retry_of':_0x3aeda8[_0x220a61(0xdc)]};testhubUtils[_0x220a61(0x16f)](_0x102f9a,_0x364a11,_0x3aeda8,FRAMEWORKS[_0x220a61(0x12d)]);_0x4b8516[_0x220a61(0x102)](_0x364a11,_0x4b8516['EtPAQ'])&&!_0x102f9a[_0x4b8516[_0x220a61(0x1ed)]]&&(_0x102f9a[_0x4b8516['mHtVr']]=_0x102f9a[_0x4b8516['wXtnt']]);if(_0x364a11[_0x220a61(0xc4)](/HookRun/))[_0x102f9a['hook_type'],_0x102f9a['name']]=_0x4b8516[_0x220a61(0x1d3)](getHookDetails,_0x3aeda8['fullTitle']()||_0x3aeda8[_0x220a61(0x187)]||_0x3aeda8[_0x220a61(0x16b)]),_0x4b8516[_0x220a61(0x1d9)](_0x364a11,_0x4b8516[_0x220a61(0x125)])&&(_0x4b8516[_0x220a61(0xd9)](_0x102f9a[_0x220a61(0x1ee)],_0x4b8516[_0x220a61(0xc3)])&&(_0x102f9a[_0x220a61(0x1ee)]=_0x4b8516['hpYDp']),_0x4b8516[_0x220a61(0x1d9)](_0x102f9a[_0x220a61(0x193)],_0x4b8516[_0x220a61(0x139)])&&_0x4b8516[_0x220a61(0x102)](_0x102f9a['result'],_0x4b8516[_0x220a61(0xc3)])&&!_0x3aeda8[_0x220a61(0x168)]['currentTest']['markedStatus']&&(_0x3aeda8['ctx']['currentTest'][_0x220a61(0x1e2)]=!![],_0x3aeda8[_0x220a61(0x168)]['currentTest'][_0x220a61(0x140)]=STATE_FAILED,await this['sendTestRunEvent'](_0x3aeda8['ctx'][_0x220a61(0x1b0)],undefined,!![])));else _0x364a11['match'](/TestRun/)&&_0x4b8516[_0x220a61(0x163)](mapTestHooks,_0x3aeda8);const _0x7c0583=_0x102f9a[_0x4b8516[_0x220a61(0x17d)]][0x0];_0x7c0583&&(_0x102f9a[_0x4b8516['zhTrD']]=_0x7c0583[_0x4b8516[_0x220a61(0x1da)]],_0x102f9a[_0x4b8516[_0x220a61(0x1a6)]]=_0x7c0583[_0x4b8516[_0x220a61(0x1bc)]]);[_0x4b8516[_0x220a61(0x1ac)],_0x4b8516[_0x220a61(0x136)]][_0x220a61(0xf2)](_0x364a11)&&(this[_0x220a61(0x132)][_0x220a61(0xea)](_0x102f9a),_0x102f9a['hooks']=_0x4b8516['odJRy'](getHooksForTest,_0x3aeda8));const _0x37f0c1={'event_type':_0x4b8516[_0x220a61(0x170)](_0x364a11,_0x4b8516['EtPAQ'])?_0x4b8516[_0x220a61(0x1ac)]:_0x364a11};_0x364a11[_0x220a61(0xc4)](/HookRun/)?(_0x102f9a[_0x4b8516['uqxNN']]=HOOK_TYPES_MAP[_0x102f9a[_0x4b8516[_0x220a61(0x1ec)]]],_0x37f0c1[_0x4b8516['wziEO']]=_0x102f9a):_0x37f0c1[_0x4b8516[_0x220a61(0x1a1)]]=_0x102f9a,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x220a61(0x12d)],_0x37f0c1),await SessionHandler[_0x220a61(0x12c)](_0x37f0c1);}catch(_0x33d506){_0x4b8516[_0x220a61(0xfb)](debug,_0x220a61(0x179)+_0x364a11+_0x220a61(0x18c)+_0x33d506);}};[a25_0x22cd65(0x1bd)](_0x49ec7b){const _0x4dd124=a25_0x22cd65,_0xdeb951={};_0xdeb951[_0x4dd124(0x1eb)]=function(_0x4135ed,_0x3f7edd){return _0x4135ed===_0x3f7edd;},_0xdeb951[_0x4dd124(0x1db)]=_0x4dd124(0xc1),_0xdeb951[_0x4dd124(0xbd)]=_0x4dd124(0x146);const _0x33720a=_0xdeb951,_0x8145ca=path[_0x4dd124(0x111)];if(_0x33720a[_0x4dd124(0x1eb)](_0x49ec7b,null)||_0x33720a[_0x4dd124(0x1eb)](_0x49ec7b,'')||_0x33720a[_0x4dd124(0x1eb)](_0x49ec7b,_0x8145ca))return null;try{return fs[_0x4dd124(0x13f)](path[_0x4dd124(0x160)](_0x49ec7b,_0x33720a[_0x4dd124(0x1db)],_0x33720a['ukJfv'])),_0x49ec7b;}catch(_0x4500d8){const _0x2911db=path[_0x4dd124(0xfe)](_0x49ec7b);return this['findGitConfig'](_0x2911db);}}[a25_0x22cd65(0x176)]=async _0x28725d=>{const _0x59de36=a25_0x22cd65,_0x394299={'sqIon':'LogCreated','okeOB':function(_0x168b4d,_0x1fc019){return _0x168b4d(_0x1fc019);}};try{this[_0x59de36(0x161)]&&!this[_0x59de36(0x161)][_0x59de36(0x1e2)]&&(_0x28725d[_0x59de36(0xf8)]=this['current_hook'][_0x59de36(0x188)]);!_0x28725d['hook_run_uuid']&&this[_0x59de36(0xce)]&&!this[_0x59de36(0xce)][_0x59de36(0x1e2)]&&(_0x28725d[_0x59de36(0x1ab)]=this['current_test'][_0x59de36(0xc6)]);if(_0x28725d['hook_run_uuid']||_0x28725d[_0x59de36(0x1ab)]){const _0x84dd89={};_0x84dd89[_0x59de36(0x10b)]=_0x394299[_0x59de36(0xc5)],_0x84dd89['logs']=[_0x28725d],await SessionHandler[_0x59de36(0x12c)](_0x84dd89);}}catch(_0x40504b){_0x394299['okeOB'](debug,_0x59de36(0x171)+_0x40504b);}};[a25_0x22cd65(0x14e)]=async _0x5e8a1f=>{const _0xe79e97=a25_0x22cd65,_0x3eb5ca={'rySJg':'http_response','FsFGJ':_0xe79e97(0xfc),'QeTnT':function(_0x424b8b,_0x42bd82){return _0x424b8b(_0x42bd82);}};try{const _0x1db306={};_0x1db306[_0xe79e97(0x1d0)]=_0x5e8a1f[_0xe79e97(0x1d0)]||this[_0xe79e97(0xce)][_0xe79e97(0xc6)],_0x1db306[_0xe79e97(0xe3)]=_0x5e8a1f[_0x3eb5ca[_0xe79e97(0x1b6)]];const _0x4dea85=_0x1db306,_0x4d0aa6={};_0x4d0aa6[_0xe79e97(0x10b)]=_0x3eb5ca[_0xe79e97(0x14b)],_0x4d0aa6['test_run']=_0x4dea85,await SessionHandler['uploadEventData'](_0x4d0aa6);}catch(_0x584beb){_0x3eb5ca[_0xe79e97(0x19b)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x584beb);}};[a25_0x22cd65(0x138)](_0x378047){const _0x2231fe=a25_0x22cd65,_0xf85fd4={};_0xf85fd4[_0x2231fe(0x169)]='passed',_0xf85fd4['fMTKF']=_0x2231fe(0x1a7),_0xf85fd4[_0x2231fe(0x14d)]='failed';const _0x40913d=_0xf85fd4,_0x1b2025={};return _0x1b2025[STATE_PASSED]=_0x40913d['pvNUK'],_0x1b2025[STATE_PENDING]=_0x40913d[_0x2231fe(0x122)],_0x1b2025[STATE_FAILED]=_0x40913d[_0x2231fe(0x14d)],_0x1b2025[_0x378047];}[a25_0x22cd65(0x18f)](_0x3333dd){const _0x1a3ee7=a25_0x22cd65,_0x868e44={};_0x868e44[_0x1a3ee7(0x196)]=function(_0x2e5c6e,_0x2e3620){return _0x2e5c6e-_0x2e3620;};const _0xa1e68a=_0x868e44,_0x575dfa=_0x3333dd[_0x1a3ee7(0x1e1)]();return _0x575dfa[_0x1a3ee7(0x108)](0x0,_0xa1e68a[_0x1a3ee7(0x196)](_0x575dfa['length'],0x1))[_0x1a3ee7(0x160)]('\x20');}[a25_0x22cd65(0xd0)](_0x595809){const _0x58533e=a25_0x22cd65,_0x53085e={};_0x53085e['mtSyy']=function(_0x2fa1cd,_0x464216){return _0x2fa1cd-_0x464216;};const _0x268c72=_0x53085e,_0x16ba5d=_0x595809[_0x58533e(0x1e1)]();return _0x16ba5d[_0x58533e(0x108)](0x0,_0x268c72[_0x58533e(0x100)](_0x16ba5d[_0x58533e(0x1d2)],0x1));}['getRootParentFile'](_0x49d0fe){const _0xd734b2=a25_0x22cd65,_0x32eba7={};_0x32eba7[_0xd734b2(0x143)]=function(_0x3b44fd,_0x334a77){return _0x3b44fd>_0x334a77;};const _0x5c3e44=_0x32eba7;if(_0x49d0fe[_0xd734b2(0x1e5)])return _0x49d0fe[_0xd734b2(0x1e5)];if(_0x49d0fe[_0xd734b2(0x168)]){const _0x4d6eb2=_0x49d0fe[_0xd734b2(0x168)][_0xd734b2(0x1b0)]?this[_0xd734b2(0x104)](_0x49d0fe[_0xd734b2(0x168)][_0xd734b2(0x1b0)]):null;if(_0x4d6eb2)return _0x4d6eb2;}if(_0x49d0fe[_0xd734b2(0xc8)]){const _0xd70f08=this[_0xd734b2(0x104)](_0x49d0fe['parent'])||(_0x49d0fe[_0xd734b2(0xc8)][_0xd734b2(0x168)]&&_0x49d0fe[_0xd734b2(0xc8)]['ctx']['currentTest']?this[_0xd734b2(0x104)](_0x49d0fe['parent']['ctx']['currentTest']):null);if(_0xd70f08)return _0xd70f08;_0x49d0fe[_0xd734b2(0xc8)]['suites']&&_0x5c3e44[_0xd734b2(0x143)](_0x49d0fe[_0xd734b2(0xc8)]['suites'][_0xd734b2(0x1d2)],0x0)&&_0x49d0fe[_0xd734b2(0xc8)]['suites'][_0xd734b2(0xf4)](_0x2cbf47=>{const _0x1dd422=_0xd734b2,_0x5b8706=_0x2cbf47[_0x1dd422(0x168)]?this[_0x1dd422(0x104)](_0x2cbf47[_0x1dd422(0x168)]):null;if(_0x5b8706)return _0x5b8706;});}return null;}}module[a25_0x22cd65(0x1e6)]=MyReporter;
1
+ 'use strict';const a25_0x14d561=a25_0x2d8c;(function(_0x1f9322,_0x1fc4c0){const _0x4a1422=a25_0x2d8c,_0x3424ed=_0x1f9322();while(!![]){try{const _0x5bc0a9=parseInt(_0x4a1422(0x2b1))/0x1+parseInt(_0x4a1422(0x26c))/0x2+parseInt(_0x4a1422(0x239))/0x3*(parseInt(_0x4a1422(0x2bc))/0x4)+-parseInt(_0x4a1422(0x223))/0x5+parseInt(_0x4a1422(0x300))/0x6*(parseInt(_0x4a1422(0x30f))/0x7)+parseInt(_0x4a1422(0x2e8))/0x8+-parseInt(_0x4a1422(0x23f))/0x9;if(_0x5bc0a9===_0x1fc4c0)break;else _0x3424ed['push'](_0x3424ed['shift']());}catch(_0x330857){_0x3424ed['push'](_0x3424ed['shift']());}}}(a25_0x358c,0x58eab));const util=require('util'),fs=require('fs'),path=require(a25_0x14d561(0x201)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a25_0x14d561(0x21a)),utils=requireModule(a25_0x14d561(0x20a)),color=Base[a25_0x14d561(0x2e7)],Mocha=requireModule(a25_0x14d561(0x28f)),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require(a25_0x14d561(0x2cb)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require(a25_0x14d561(0x271)),{FRAMEWORKS}=require(a25_0x14d561(0x20f)),a25_0x50e32f={};a25_0x50e32f[a25_0x14d561(0x21d)]=a25_0x14d561(0x2eb),a25_0x50e32f[a25_0x14d561(0x2c7)]=a25_0x14d561(0x1df),a25_0x50e32f[a25_0x14d561(0x26a)]=a25_0x14d561(0x222),a25_0x50e32f[a25_0x14d561(0x287)]=a25_0x14d561(0x2a3);const HOOK_TYPES_MAP=a25_0x50e32f,{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[a25_0x14d561(0x2d7)][a25_0x14d561(0x256)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x14d561(0x256)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a25_0x14d561(0x20f)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x14d561(0x2ef)),RequestQueueHandler=require(a25_0x14d561(0x306)),requestQueueHandler=RequestQueueHandler[a25_0x14d561(0x2be)]();function a25_0x358c(){const _0x15fa59=['basWM','FleUr','NkGkT','docHtml','gqAuM','Fxshx','JQrtZ','backtrace','originalTitle','before\x20each','dpgMR','263292CIAhrK','failure_backtrace','skipped','root','SNQbI','../../../helpers/testhub/constants','testAnalyticsId','indent','pid','UfsdY','dnFxA','location_prefix','getRootParentFile','_testEnv','passed','kOAUb','srtkO','dot','szMqy','UckGo','PVLIv','TscQu','KtdlF','TestRunSkipped','<dl>','vemyh','RUNNING','after\x20each','config','huyUX','symbols','match','consoleLog','sep','ctx','mocha','IgiVf','Mocha','failure_reason_expanded','increaseIndent','duration','kVENe','qUYty','hKWIV','pPdgN','YybHm','result','SiaRB','lVXJH','hook_type','%s\x20','length','UnhandledError','UsWbh','apply','AFTER_EACH','iWjDz','hook_run_uuid','current_test','call','checkmark','HookFinished','</dl>','currentRetry','sendTestRunEvent','BcHgX','HookRunStarted','vxEef','body','263760kHxyUg','EhVaW','nKoKr','agEVb','bs:addLog:','LogCreated','xSWHE','CYGBg','exports','cPvlU','docAppend','1996644fFHawc','finalResults','getInstance','test','BmtnB','comma','\x20-\x20','__platform__','Failed\x20to\x20load\x20reporter\x20','_testResults','scope','after\x20all','\x20\x20%d)\x20%s','removeAllListeners','WCkOB','uuid','type','TUSFv','HookStarted','TgzgB','UfvKn','ctQpV','zMQLf','results','doc','inUeZ','shouldProcessEventForTesthub','Runner','appendTesthubParams','</code></pre></dd>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','test_run_uuid','__indents','Wzpdb','QVnuc','acnZR','MhveP','failed','reporterOption','retryOf','finished_at','RNjFG','light','color','4911568AlvmsO','escape','stdout','BEFORE_ALL','HookRunFinished','push','state','../../../helpers/test-observability/utils','slice','findGitConfig','_buildCreated','ADyrf','started_at','parent','mGjTJ','qPqaY','slow','getTime','hook_run','tCIUE','expanded','shutdown','2|3|4|1|0','FBqBO','6rOCcPD','</section>','_indents','EVENT','\x20\x20<dd\x20class=\x22error\x22><pre><code>','err','../../../helpers/test-observability/requestQueueHandler','\x20(%dms)','\x20\x20<dd><pre><code>','FdNCo','fast','nyFAK','LrLoq','relative','IShyH','632737kTPJAo','BHuNM','markedStatus','appendTestItemLog','title','zmUpA','\x20\x20<dt>','CBTSessionCreated','AFTER_ALL','JntEI','kVuKG','yLqmE','IOIFC','pgCmX','error','uTcVP','analyticsResult','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','\x20with\x20error\x20:\x20','RUiqI','kZWhA','toString','NpFoc','file','KCXwW','stFzn','hookAnalyticsId','iNptj','test_run','.git','join','File\x20path\x20could\x20not\x20be\x20found','forEach','dirname','HjHzt','mqBBo','aQCIy','rnUhD','toISOString','<h1>','cAUoN','<section\x20class=\x22suite\x22>','path','suites','Reporter','appendTestPlatform','</dt>','failCount','%s\x20-\x20%s','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','\x20\x20<dt\x20class=\x22error\x22>','mocha/lib/utils.js','kUmRO','ehcqe','VlmpO','WAfqY','../../../helpers/test-observability/constants','PpUoG','XvzFo','MLQoS','speed','pass','mINEJ','current_hook','sSdqO','MOCHA','bs:addPlatformDetails:','mocha/lib/reporters/base.js','includes','prefixTestPath','before\x20all','LFbKE','trim','jZVCu','clean','BEFORE_EACH','815045Jfurux','nbXep','currentTest','_currentRetry','jKYMK','DpZtA','nHgHi','gbDny','bright\x20yellow','</dd>','testStarted','ThhKU','yIFnX','decreaseIndent','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','registerListeners','name','\x20\x20<dd\x20class=\x22error\x22>','FWjUy','once','wTKJr','logs','3IGuDxg','clywL','cWgmM','RgTbX','MGvMP','AACSj','9645228MfroqM','titlePath','</h1>','nYgof','COMPLETED','XfTgm','failureCount','RPDDg','.js','spec','multiple','iilvC','mocha/lib/reporters/','LZUPe','Ximjz','statSync','scopes','integrations','BHAdn','testObservability','_upstreamConfig','fullTitle','fail','constants','write','event_type','cwd','failure','Zszuq','_paths','suite','TestRunStarted','uploadEventData','uesqs'];a25_0x358c=function(){return _0x15fa59;};return a25_0x358c();}class MyReporter{constructor(_0x53cb8b,_0x49c21c){const _0x2487db=a25_0x14d561,_0x5a4c77={'BcHgX':function(_0x5d33aa,_0x4a3ab4){return _0x5d33aa===_0x4a3ab4;},'UfvKn':_0x2487db(0x248),'kOAUb':function(_0x2f58c0,_0xc2ef4f){return _0x2f58c0+_0xc2ef4f;},'yLqmE':function(_0x366b4b,_0x11e567,_0x2e6afe){return _0x366b4b(_0x11e567,_0x2e6afe);},'NkGkT':'green','hzxgt':_0x2487db(0x29e),'mGjTJ':function(_0x599c17,_0x35517c,_0x542dc8){return _0x599c17(_0x35517c,_0x542dc8);},'JntEI':_0x2487db(0x2e6),'srtkO':_0x2487db(0x207),'DpZtA':_0x2487db(0x286),'cAUoN':function(_0x5a33be,_0x3a7549){return _0x5a33be===_0x3a7549;},'CYGBg':_0x2487db(0x2d4),'Ximjz':function(_0x5e7e93,_0xc0fd9f){return _0x5e7e93===_0xc0fd9f;},'KCXwW':function(_0x4d4862){return _0x4d4862();},'UfsdY':function(_0x277670){return _0x277670();},'XfTgm':_0x2487db(0x2ae),'VlmpO':function(_0x4b2eff,_0x524f0e){return _0x4b2eff===_0x524f0e;},'ADyrf':'HookRunFinished','mqBBo':function(_0x5a4ed5,_0x1bde95){return _0x5a4ed5===_0x1bde95;},'dnFxA':_0x2487db(0x27a),'Xzpsf':function(_0xd0344b,_0xd8dd90){return _0xd0344b===_0xd8dd90;},'iilvC':_0x2487db(0x30a),'LFbKE':function(_0x26b607,_0x148240){return _0x26b607+_0x148240;},'RNjFG':_0x2487db(0x2a8),'QVnuc':function(_0x1ec471,_0x288d1d){return _0x1ec471+_0x288d1d;},'cyypF':_0x2487db(0x214),'sSdqO':'\x20%s','gqAuM':function(_0x1c1d59,_0x55abcf){return _0x1c1d59+_0x55abcf;},'BHuNM':function(_0x29fd8c,_0x22a291){return _0x29fd8c+_0x22a291;},'MmgjV':function(_0x408346,_0x222482,_0x581b4e){return _0x408346(_0x222482,_0x581b4e);},'TUSFv':function(_0x42fe08,_0xe9acba){return _0x42fe08+_0xe9acba;},'RPDDg':_0x2487db(0x307),'YybHm':_0x2487db(0x255),'HjHzt':_0x2487db(0x2c8),'JQrtZ':function(_0x4d28c2,_0x3ac6c6,_0x1c583e){return _0x4d28c2(_0x3ac6c6,_0x1c583e);},'iWjDz':_0x2487db(0x22b),'SassJ':function(_0x1a012d,_0x146d65,_0x55d66f){return _0x1a012d(_0x146d65,_0x55d66f);},'IgiVf':_0x2487db(0x243),'zMQLf':function(_0xc98bf3,_0x3dc33f){return _0xc98bf3===_0x3dc33f;},'MGvMP':_0x2487db(0x27d),'SiaRB':function(_0x1f4a19,_0x4a6368){return _0x1f4a19===_0x4a6368;},'nYgof':_0x2487db(0x2f8),'Zszuq':function(_0x1b52b1,_0xd8f78){return _0x1b52b1===_0xd8f78;},'IShyH':function(_0x432a32,_0x427822){return _0x432a32===_0x427822;},'nKoKr':_0x2487db(0x2fe),'EhVaW':function(_0x367176,_0x3e201a){return _0x367176===_0x3e201a;},'Wzpdb':'pending','RgTbX':_0x2487db(0x283),'NTXss':function(_0x150332,_0x292634){return _0x150332===_0x292634;},'BmtnB':function(_0x3ad65c,_0xbfd6ec){return _0x3ad65c(_0xbfd6ec);},'FleUr':function(_0x33c8bb){return _0x33c8bb();},'xSWHE':function(_0x4f2d54,_0x455363){return _0x4f2d54(_0x455363);},'vxEef':function(_0x1ea65e,_0x36f320){return _0x1ea65e===_0x36f320;},'thJgG':function(_0x4aefbb){return _0x4aefbb();},'TOTBg':function(_0x1f6926){return _0x1f6926();},'huyUX':'xunit','NRDhn':function(_0x3c0265,_0x5a31da){return _0x3c0265===_0x5a31da;},'RUiqI':function(_0x3fe44a,_0xb6f94f){return _0x3fe44a!==_0xb6f94f;}};this[_0x2487db(0x2cc)]=_0x49c21c['reporterOption']['type'],this[_0x2487db(0x252)]=_0x5a4c77['thJgG'](isTestObservabilitySession),Base[_0x2487db(0x2a7)](this,_0x53cb8b,_0x49c21c),this['_indents']=0x0,this[_0x2487db(0x206)]=0x0,this[_0x2487db(0x2d3)]=[],this[_0x2487db(0x2bd)]=[],this['suiteCount']=0x0,this[_0x2487db(0x2f2)]=![],this[_0x2487db(0x2c5)]=[],this[_0x2487db(0x279)]=_0x5a4c77['TOTBg'](getTestEnv),this[_0x2487db(0x25c)]=new PathHelper({'cwd':process[_0x2487db(0x259)]()},this[_0x2487db(0x279)][_0x2487db(0x277)]),this[_0x2487db(0x253)]=_0x49c21c[_0x2487db(0x2e2)]['bsConfig'],this[_0x2487db(0x232)]();_0x5a4c77[_0x2487db(0x2b2)](this[_0x2487db(0x2cc)],_0x5a4c77[_0x2487db(0x2b8)])&&(this[_0x2487db(0x264)]='',this[_0x2487db(0x2dc)]=0x2);_0x53cb8b[_0x2487db(0x236)](EVENT_RUN_BEGIN,async()=>{const _0xe1324d=_0x2487db;_0x5a4c77[_0xe1324d(0x2ad)](this[_0xe1324d(0x2cc)],_0x5a4c77[_0xe1324d(0x2d0)])&&Base[_0xe1324d(0x28c)]();})['on'](EVENT_SUITE_BEGIN,_0x19ed79=>{const _0x36f606=_0x2487db;if(_0x19ed79[_0x36f606(0x26f)])return;if(_0x5a4c77[_0x36f606(0x2ad)](this[_0x36f606(0x2cc)],_0x5a4c77[_0x36f606(0x2d0)]))this[_0x36f606(0x293)](),Base[_0x36f606(0x28c)](_0x5a4c77[_0x36f606(0x27b)](_0x5a4c77['kOAUb'](this[_0x36f606(0x273)](),_0x5a4c77['yLqmE'](color,_0x5a4c77[_0x36f606(0x263)],_0x5a4c77['hzxgt'])),_0x5a4c77[_0x36f606(0x2f6)](color,_0x5a4c77[_0x36f606(0x1e0)],_0x5a4c77[_0x36f606(0x27c)])),_0x5a4c77[_0x36f606(0x228)],_0x19ed79[_0x36f606(0x313)],global[_0x36f606(0x2c3)]);else _0x5a4c77[_0x36f606(0x1ff)](this[_0x36f606(0x2cc)],_0x5a4c77[_0x36f606(0x2b8)])&&(this[_0x36f606(0x2bb)](this[_0x36f606(0x273)]()+_0x36f606(0x200)),++this[_0x36f606(0x2dc)],this[_0x36f606(0x2bb)](this[_0x36f606(0x273)]()+_0x36f606(0x1fe)+utils[_0x36f606(0x2e9)](_0x19ed79[_0x36f606(0x313)]+_0x36f606(0x2c2)+global[_0x36f606(0x2c3)])+_0x36f606(0x241)),this[_0x36f606(0x2bb)](this[_0x36f606(0x273)]()+_0x36f606(0x284)));})['on'](EVENT_HOOK_BEGIN,async _0x30e1bc=>{const _0x200ffd=_0x2487db;if(_0x5a4c77[_0x200ffd(0x24d)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x200ffd(0x303)][_0x200ffd(0x2ce)]),!![])){if(!_0x30e1bc[_0x200ffd(0x1f1)])_0x30e1bc['hookAnalyticsId']=_0x5a4c77[_0x200ffd(0x1ef)](uuidv4);else _0x30e1bc[_0x200ffd(0x311)]&&(_0x30e1bc[_0x200ffd(0x1f1)]=_0x5a4c77[_0x200ffd(0x275)](uuidv4),delete _0x30e1bc['markedStatus']);_0x30e1bc[_0x200ffd(0x2f4)]=new Date()[_0x200ffd(0x1fd)](),this[_0x200ffd(0x216)]=_0x30e1bc,await this[_0x200ffd(0x2ac)](_0x30e1bc,undefined,![],_0x5a4c77[_0x200ffd(0x244)]);}})['on'](EVENT_HOOK_END,async _0x4dafb3=>{const _0x568eb1=_0x2487db;_0x5a4c77[_0x568eb1(0x20d)](testhubUtils[_0x568eb1(0x2d6)](testHubConstants['EVENT']['HookFinished']),!![])&&(!_0x4dafb3[_0x568eb1(0x311)]&&(_0x4dafb3[_0x568eb1(0x311)]=!![],await this[_0x568eb1(0x2ac)](_0x4dafb3,undefined,![],_0x5a4c77[_0x568eb1(0x2f3)])));})['on'](EVENT_SUITE_END,_0x159bec=>{const _0x569b82=_0x2487db,_0x464bf3={'FWjUy':function(_0x4dfb3f,_0x10fca2){const _0x1392ff=a25_0x2d8c;return _0x5a4c77[_0x1392ff(0x1fa)](_0x4dfb3f,_0x10fca2);},'cPvlU':_0x5a4c77[_0x569b82(0x276)],'oCZew':function(_0x3649b0,_0x1905cf){return _0x5a4c77['Xzpsf'](_0x3649b0,_0x1905cf);},'pPdgN':_0x5a4c77[_0x569b82(0x24a)],'tCIUE':function(_0x5cd7c4,_0x470102){const _0x545ee3=_0x569b82;return _0x5a4c77[_0x545ee3(0x21e)](_0x5cd7c4,_0x470102);},'zmUpA':function(_0x3e475b,_0x54c552,_0x199a66){const _0x39fbeb=_0x569b82;return _0x5a4c77[_0x39fbeb(0x1e2)](_0x3e475b,_0x54c552,_0x199a66);},'ThhKU':_0x5a4c77[_0x569b82(0x2e5)],'Fxshx':function(_0x135daf,_0x3cbc10){const _0x265e57=_0x569b82;return _0x5a4c77[_0x265e57(0x2de)](_0x135daf,_0x3cbc10);},'pgCmX':_0x5a4c77['cyypF'],'UckGo':_0x5a4c77[_0x569b82(0x217)],'kgBmV':function(_0x563f7b,_0x444036){const _0x490e04=_0x569b82;return _0x5a4c77[_0x490e04(0x265)](_0x563f7b,_0x444036);},'jZVCu':function(_0x37d705,_0x2855bf){const _0x15f8da=_0x569b82;return _0x5a4c77[_0x15f8da(0x310)](_0x37d705,_0x2855bf);},'ehcqe':function(_0x31d69c,_0x19d041,_0x2b2b0f){return _0x5a4c77['MmgjV'](_0x31d69c,_0x19d041,_0x2b2b0f);},'FdNCo':function(_0x3ade9b,_0x4e811f){const _0x3993d2=_0x569b82;return _0x5a4c77[_0x3993d2(0x2cd)](_0x3ade9b,_0x4e811f);},'qUYty':function(_0x28be03,_0x3f5d37,_0x1d08c0){return _0x5a4c77['mGjTJ'](_0x28be03,_0x3f5d37,_0x1d08c0);},'gbDny':function(_0x38d054,_0x453275,_0x57d511){const _0x59d44a=_0x569b82;return _0x5a4c77[_0x59d44a(0x1e2)](_0x38d054,_0x453275,_0x57d511);},'CuNmY':_0x5a4c77[_0x569b82(0x246)],'WCkOB':_0x5a4c77[_0x569b82(0x299)],'kZWhA':_0x5a4c77[_0x569b82(0x1f9)]};if(_0x159bec[_0x569b82(0x26f)])return;if(_0x5a4c77[_0x569b82(0x24d)](this[_0x569b82(0x2cc)],_0x5a4c77[_0x569b82(0x2d0)]))Base[_0x569b82(0x28c)](),Base[_0x569b82(0x28c)](_0x5a4c77[_0x569b82(0x2cd)](_0x5a4c77['LFbKE'](this[_0x569b82(0x273)](),_0x5a4c77[_0x569b82(0x267)](color,_0x5a4c77['iWjDz'],_0x5a4c77['hzxgt'])),_0x5a4c77['SassJ'](color,_0x5a4c77[_0x569b82(0x1e0)],_0x5a4c77[_0x569b82(0x27c)])),_0x5a4c77[_0x569b82(0x290)],_0x159bec[_0x569b82(0x313)],global['__platform__']),this[_0x569b82(0x2d3)]['forEach'](_0x15eef1=>{const _0x40c847=_0x569b82;if(_0x464bf3[_0x40c847(0x235)](_0x15eef1[_0x40c847(0x2ee)],_0x464bf3[_0x40c847(0x2ba)])){var _0x370b6d;_0x464bf3['oCZew'](_0x15eef1['speed'],_0x464bf3[_0x40c847(0x298)])?(_0x370b6d=_0x464bf3[_0x40c847(0x2fb)](_0x464bf3[_0x40c847(0x2fb)](this[_0x40c847(0x273)](),_0x464bf3[_0x40c847(0x314)](color,_0x464bf3[_0x40c847(0x22e)],_0x464bf3['Fxshx']('\x20\x20',Base[_0x40c847(0x28a)]['ok']))),_0x464bf3[_0x40c847(0x314)](color,_0x464bf3[_0x40c847(0x1e4)],_0x464bf3[_0x40c847(0x27f)])),Base[_0x40c847(0x28c)](_0x370b6d,_0x15eef1[_0x40c847(0x313)])):(_0x370b6d=_0x464bf3['kgBmV'](_0x464bf3[_0x40c847(0x266)](_0x464bf3[_0x40c847(0x220)](this[_0x40c847(0x273)](),_0x464bf3[_0x40c847(0x20c)](color,_0x464bf3[_0x40c847(0x22e)],_0x464bf3[_0x40c847(0x309)]('\x20\x20',Base[_0x40c847(0x28a)]['ok']))),_0x464bf3[_0x40c847(0x296)](color,_0x464bf3['pgCmX'],_0x464bf3['UckGo'])),_0x464bf3[_0x40c847(0x22a)](color,_0x15eef1['speed'],_0x464bf3['CuNmY'])),Base[_0x40c847(0x28c)](_0x370b6d,_0x15eef1[_0x40c847(0x313)],_0x15eef1['duration']));}else Base['consoleLog'](_0x464bf3[_0x40c847(0x309)](this[_0x40c847(0x273)](),_0x464bf3[_0x40c847(0x314)](color,_0x464bf3[_0x40c847(0x2ca)],_0x464bf3[_0x40c847(0x1eb)])),++this[_0x40c847(0x206)],_0x15eef1[_0x40c847(0x313)]);}),this[_0x569b82(0x230)]();else _0x5a4c77[_0x569b82(0x20d)](this[_0x569b82(0x2cc)],_0x5a4c77['CYGBg'])&&(this[_0x569b82(0x2bb)](this[_0x569b82(0x273)]()+_0x569b82(0x2aa)),--this[_0x569b82(0x2dc)],this[_0x569b82(0x2bb)](this[_0x569b82(0x273)]()+_0x569b82(0x301)),--this[_0x569b82(0x2dc)]);Array['prototype'][_0x569b82(0x2ed)][_0x569b82(0x2a2)](this[_0x569b82(0x2bd)],this[_0x569b82(0x2d3)]),this[_0x569b82(0x2d3)]=[];})['on'](EVENT_TEST_PASS,async _0x5d9bd9=>{const _0x18da21=_0x2487db;this['results']['push']({'speed':_0x5d9bd9['speed'],'suite':_0x5d9bd9[_0x18da21(0x2f5)][_0x18da21(0x313)],'title':_0x5d9bd9['title'],'fullTitle':_0x5d9bd9[_0x18da21(0x254)](),'duration':_0x5d9bd9[_0x18da21(0x294)],'state':_0x5d9bd9[_0x18da21(0x2ee)],'err':{},'currentRetry':_0x5d9bd9['currentRetry'](),'titlePathV':_0x5d9bd9['titlePath'](),'isPending':_0x5d9bd9['isPending']()});if(_0x5a4c77[_0x18da21(0x2d2)](this[_0x18da21(0x2cc)],_0x5a4c77[_0x18da21(0x23d)]))_0x5a4c77[_0x18da21(0x29b)](_0x5d9bd9[_0x18da21(0x213)],_0x5a4c77[_0x18da21(0x242)])?process['stdout']['write'](Base['color'](_0x5a4c77[_0x18da21(0x2a4)],Base[_0x18da21(0x28a)][_0x18da21(0x27d)])):process[_0x18da21(0x2ea)]['write'](Base['color'](_0x5d9bd9[_0x18da21(0x213)],Base[_0x18da21(0x28a)]['dot']));else{if(_0x5a4c77[_0x18da21(0x25b)](this['type'],_0x5a4c77[_0x18da21(0x2b8)])){this['docAppend'](this[_0x18da21(0x273)]()+_0x18da21(0x315)+utils[_0x18da21(0x2e9)](_0x5d9bd9[_0x18da21(0x313)])+_0x18da21(0x205)),this[_0x18da21(0x2bb)](this[_0x18da21(0x273)]()+_0x18da21(0x315)+utils[_0x18da21(0x2e9)](_0x5d9bd9[_0x18da21(0x1ee)])+'</dt>');var _0x2b1d2d=utils[_0x18da21(0x2e9)](utils[_0x18da21(0x221)](_0x5d9bd9[_0x18da21(0x2b0)]));this[_0x18da21(0x2bb)](this['indent']()+_0x18da21(0x308)+_0x2b1d2d+'</code></pre></dd>');}}_0x5a4c77[_0x18da21(0x25b)](testhubUtils[_0x18da21(0x2d6)](),!![])&&(!_0x5d9bd9['markedStatus']&&(_0x5d9bd9[_0x18da21(0x311)]=!![],await this[_0x18da21(0x2ac)](_0x5d9bd9)));})['on'](EVENT_TEST_FAIL,async(_0x30717a,_0x484360)=>{const _0xfdccb8=_0x2487db;this[_0xfdccb8(0x2d3)][_0xfdccb8(0x2ed)]({'title':_0x30717a[_0xfdccb8(0x313)],'suite':_0x30717a[_0xfdccb8(0x2f5)][_0xfdccb8(0x313)],'state':_0x30717a[_0xfdccb8(0x2ee)],'err':{'message':util['inspect'](_0x484360)},'fullTitle':_0x30717a['fullTitle'](),'speed':_0x30717a[_0xfdccb8(0x213)],'currentRetry':_0x30717a['currentRetry'](),'titlePathV':_0x30717a[_0xfdccb8(0x240)]()});if(_0x5a4c77['IShyH'](this[_0xfdccb8(0x2cc)],_0x5a4c77[_0xfdccb8(0x23d)]))process['stdout'][_0xfdccb8(0x257)](Base[_0xfdccb8(0x2e7)](_0x5a4c77['YybHm'],Base['symbols']['bang']));else{if(_0x5a4c77[_0xfdccb8(0x25b)](this[_0xfdccb8(0x2cc)],_0x5a4c77[_0xfdccb8(0x2b8)])){const _0x3c2433=_0x5a4c77[_0xfdccb8(0x2b3)]['split']('|');let _0x43b65c=0x0;while(!![]){switch(_0x3c2433[_0x43b65c++]){case'0':this[_0xfdccb8(0x2bb)](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x234)+utils[_0xfdccb8(0x2e9)](_0x30717a[_0xfdccb8(0x305)])+_0xfdccb8(0x22c));continue;case'1':this['docAppend'](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x304)+_0x702d45+_0xfdccb8(0x2d9));continue;case'2':this[_0xfdccb8(0x2bb)](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x209)+utils[_0xfdccb8(0x2e9)](_0x30717a['title'])+_0xfdccb8(0x205));continue;case'3':this[_0xfdccb8(0x2bb)](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x209)+utils['escape'](_0x30717a['file'])+_0xfdccb8(0x205));continue;case'4':var _0x702d45=utils[_0xfdccb8(0x2e9)](utils[_0xfdccb8(0x221)](_0x30717a['body']));continue;}break;}}}if(_0x5a4c77[_0xfdccb8(0x30e)](testhubUtils[_0xfdccb8(0x2d6)](testHubConstants['EVENT'][_0xfdccb8(0x2a9)]),!![])){if(!_0x30717a[_0xfdccb8(0x311)]){_0x30717a[_0xfdccb8(0x311)]=!![];if(_0x30717a[_0xfdccb8(0x272)])await this[_0xfdccb8(0x2ac)](_0x30717a,_0x484360);else _0x30717a[_0xfdccb8(0x1f1)]&&await this[_0xfdccb8(0x2ac)](_0x30717a,_0x484360,![],_0x5a4c77[_0xfdccb8(0x2f3)]);}}})['on'](EVENT_TEST_PENDING,async _0x126aa2=>{const _0x2d7c2c=_0x2487db;this[_0x2d7c2c(0x2d3)][_0x2d7c2c(0x2ed)]({'title':_0x126aa2[_0x2d7c2c(0x313)],'suite':_0x126aa2['parent'][_0x2d7c2c(0x313)],'state':_0x126aa2[_0x2d7c2c(0x2ee)],'err':{},'fullTitle':_0x126aa2[_0x2d7c2c(0x254)](),'speed':_0x126aa2[_0x2d7c2c(0x213)],'currentRetry':_0x126aa2[_0x2d7c2c(0x2ab)](),'titlePathV':_0x126aa2[_0x2d7c2c(0x240)]()}),_0x5a4c77[_0x2d7c2c(0x2b2)](this[_0x2d7c2c(0x2cc)],_0x5a4c77[_0x2d7c2c(0x23d)])&&process[_0x2d7c2c(0x2ea)][_0x2d7c2c(0x257)](Base['color'](_0x5a4c77[_0x2d7c2c(0x2dd)],Base[_0x2d7c2c(0x28a)][_0x2d7c2c(0x2c1)])),_0x5a4c77[_0x2d7c2c(0x30e)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x126aa2[_0x2d7c2c(0x272)]&&(_0x126aa2[_0x2d7c2c(0x272)]=_0x5a4c77[_0x2d7c2c(0x275)](uuidv4)),!_0x126aa2[_0x2d7c2c(0x311)]&&(_0x126aa2['markedStatus']=!![],await this[_0x2d7c2c(0x2ac)](_0x126aa2,undefined,![],_0x5a4c77[_0x2d7c2c(0x23c)])));})['on'](EVENT_TEST_BEGIN,async _0x3b9519=>{const _0x46b37e=_0x2487db;_0x5a4c77['VlmpO'](testhubUtils[_0x46b37e(0x2d6)](),!![])&&await this[_0x46b37e(0x22d)](_0x3b9519);})['on'](EVENT_TEST_END,async _0x298a89=>{const _0x1251a1=_0x2487db;_0x5a4c77[_0x1251a1(0x2d2)](testhubUtils[_0x1251a1(0x2d6)](),!![])&&(!_0x298a89[_0x1251a1(0x311)]&&(_0x298a89[_0x1251a1(0x311)]=!![],await this[_0x1251a1(0x2ac)](_0x298a89)));})[_0x2487db(0x236)](EVENT_RUN_END,async()=>{const _0x1d831f=_0x2487db;try{if(_0x5a4c77['NTXss'](testhubUtils[_0x1d831f(0x2d6)](),!![])){const _0x5f977f=_0x5a4c77['BmtnB'](getHookSkippedTests,this['runner'][_0x1d831f(0x25d)]);for(const _0x227ac2 of _0x5f977f){!_0x227ac2[_0x1d831f(0x272)]&&(_0x227ac2[_0x1d831f(0x272)]=_0x5a4c77[_0x1d831f(0x262)](uuidv4)),await this[_0x1d831f(0x2ac)](_0x227ac2,undefined,![],_0x5a4c77[_0x1d831f(0x23c)]);}}}catch(_0x1bcd13){_0x5a4c77[_0x1d831f(0x2b7)](debug,_0x1d831f(0x2da)+_0x1bcd13);}await requestQueueHandler[_0x1d831f(0x2fd)](),_0x5a4c77[_0x1d831f(0x2af)](this[_0x1d831f(0x2cc)],_0x5a4c77[_0x1d831f(0x2b8)])&&Base[_0x1d831f(0x28c)](this[_0x1d831f(0x264)]);});if(this[_0x2487db(0x2cc)]&&![_0x5a4c77['CYGBg'],_0x5a4c77[_0x2487db(0x289)],_0x5a4c77['UfvKn'],_0x5a4c77[_0x2487db(0x23d)]][_0x2487db(0x21b)](this[_0x2487db(0x2cc)])){const _0x25ae7a=this[_0x2487db(0x2cc)][_0x2487db(0x21f)]();this[_0x2487db(0x203)]=null;try{this['Reporter']=_0x5a4c77[_0x2487db(0x2c0)](requireModule,_0x2487db(0x24b)+_0x25ae7a+_0x2487db(0x247));}catch{}if(_0x5a4c77['NRDhn'](this['Reporter'],null))try{this[_0x2487db(0x203)]=_0x5a4c77[_0x2487db(0x2b7)](require,_0x25ae7a);}catch(_0x13aefd){console[_0x2487db(0x1e5)](_0x2487db(0x2c4)+_0x25ae7a);}if(_0x5a4c77[_0x2487db(0x1ea)](this[_0x2487db(0x203)],null)){const _0x221c88={};_0x221c88['reporterOptions']=_0x49c21c[_0x2487db(0x2e2)],this[_0x2487db(0x203)]=new this[(_0x2487db(0x203))](_0x53cb8b,_0x221c88);}}}['indent'](){const _0x6cd2e7=a25_0x14d561,_0x4e1437={'zGTkk':function(_0x34ec92,_0x3e7d87){return _0x34ec92(_0x3e7d87);}};return _0x4e1437['zGTkk'](Array,this[_0x6cd2e7(0x302)])[_0x6cd2e7(0x1f5)]('\x20\x20');}[a25_0x14d561(0x293)](){this['_indents']++;}['decreaseIndent'](){const _0x4e594b=a25_0x14d561;this[_0x4e594b(0x302)]--;}[a25_0x14d561(0x2bb)](_0x461b0e){this['docHtml']+=_0x461b0e;}['done'](_0x5b9f5f,_0xc3b6b0){const _0x1fa4e2=a25_0x14d561,_0x1e9915={'hwJcl':function(_0x421ec0,_0x293f24){return _0x421ec0(_0x293f24);}},_0x3d3467={};_0x3d3467[_0x1fa4e2(0x245)]=_0x5b9f5f,_0x3d3467[_0x1fa4e2(0x2d3)]=this[_0x1fa4e2(0x2bd)],_0x1e9915['hwJcl'](_0xc3b6b0,_0x3d3467);}[a25_0x14d561(0x232)](){const _0x1a9bf7=a25_0x14d561;process[_0x1a9bf7(0x2c9)]('bs:addLog:'+process[_0x1a9bf7(0x274)]),process['on'](_0x1a9bf7(0x2b5)+process[_0x1a9bf7(0x274)],this[_0x1a9bf7(0x312)]['bind'](this)),process['removeAllListeners'](_0x1a9bf7(0x219)+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x1a9bf7(0x274)],this[_0x1a9bf7(0x204)]['bind'](this));}[a25_0x14d561(0x22d)]=async _0x354792=>{const _0x5a59e4=a25_0x14d561,_0x29670f={'hKWIV':function(_0x2f29bd){return _0x2f29bd();},'TscQu':function(_0x5e2e04,_0x30fb4f){return _0x5e2e04>_0x30fb4f;},'ctQpV':function(_0x327ea8,_0x4c570b){return _0x327ea8===_0x4c570b;},'IOIFC':_0x5a59e4(0x25e),'jKYMK':function(_0x1b37b6,_0x1e69ec){return _0x1b37b6(_0x1e69ec);}};try{const _0x353378=this[_0x5a59e4(0x2a6)];this[_0x5a59e4(0x2a6)]=_0x354792,_0x354792[_0x5a59e4(0x2e3)]=null,_0x354792[_0x5a59e4(0x272)]=_0x29670f[_0x5a59e4(0x297)](uuidv4),_0x354792[_0x5a59e4(0x2f4)]=new Date()[_0x5a59e4(0x1fd)](),_0x29670f[_0x5a59e4(0x281)](_0x354792[_0x5a59e4(0x226)],0x0)&&_0x353378&&_0x29670f[_0x5a59e4(0x2d1)](_0x353378[_0x5a59e4(0x313)],_0x354792[_0x5a59e4(0x313)])?(_0x354792[_0x5a59e4(0x2e3)]=_0x353378[_0x5a59e4(0x272)],await this['sendTestRunEvent'](_0x354792,undefined,![],_0x29670f[_0x5a59e4(0x1e3)]),_0x353378[_0x5a59e4(0x2ee)]=STATE_FAILED,await this[_0x5a59e4(0x2ac)](_0x353378,undefined,!![])):await this[_0x5a59e4(0x2ac)](_0x354792,undefined,![],_0x29670f[_0x5a59e4(0x1e3)]);}catch(_0x58a52c){_0x29670f[_0x5a59e4(0x227)](debug,_0x5a59e4(0x208)+_0x58a52c);}};[a25_0x14d561(0x2ac)]=async(_0x87d0a3,_0x3f555a=undefined,_0x1697ea=![],_0x14c7cc='TestRunFinished')=>{const _0x402347=a25_0x14d561,_0x2d5957={'TgzgB':function(_0x4d57b6,_0x140bdd){return _0x4d57b6===_0x140bdd;},'nHgHi':function(_0x42e6df,_0x301af8){return _0x42e6df!==_0x301af8;},'nyFAK':_0x402347(0x2bf),'lVXJH':'err','basWM':function(_0x48cc15,_0x5f1a31){return _0x48cc15!==_0x5f1a31;},'stFzn':function(_0x4a795c,_0x7cca7b){return _0x4a795c!==_0x7cca7b;},'iNptj':_0x402347(0x1f6),'SNQbI':_0x402347(0x291),'pXEpR':'javascript','nbXep':'TestRunSkipped','saauo':_0x402347(0x26e),'LrLoq':function(_0x35df70,_0x231d51){return _0x35df70-_0x231d51;},'MhveP':'AssertionError','agEVb':_0x402347(0x2a0),'mINEJ':function(_0x10d999,_0x77c5f0){return _0x10d999===_0x77c5f0;},'kVENe':_0x402347(0x2f4),'szMqy':_0x402347(0x2e4),'WAfqY':function(_0x5a0af1,_0x3fd17d){return _0x5a0af1(_0x3fd17d);},'rGwYU':function(_0x29c676,_0x2a1d7e){return _0x29c676===_0x2a1d7e;},'PpUoG':_0x402347(0x2ec),'FBqBO':_0x402347(0x2e1),'clywL':'passed','Luoqf':_0x402347(0x26a),'cWgmM':function(_0x183ffa,_0x298dd8){return _0x183ffa===_0x298dd8;},'KtdlF':_0x402347(0x25a),'rnUhD':_0x402347(0x26d),'XvzFo':_0x402347(0x268),'wTKJr':_0x402347(0x292),'uucLV':_0x402347(0x2fc),'vemyh':'TestRunFinished','dpgMR':function(_0x4a2843,_0x1cfb50){return _0x4a2843===_0x1cfb50;},'MLQoS':'hook_type','AACSj':_0x402347(0x2fa),'acnZR':_0x402347(0x1f3)};try{if(_0x87d0a3[_0x402347(0x2b0)]&&_0x87d0a3[_0x402347(0x2b0)][_0x402347(0x28b)](/browserstack internal helper hook/))return;let _0x1fb3d2=[];if(_0x2d5957[_0x402347(0x2cf)](_0x87d0a3[_0x402347(0x2ee)],STATE_FAILED)){if(_0x2d5957['nHgHi'](_0x87d0a3[_0x402347(0x305)],undefined))_0x1fb3d2=_0x87d0a3[_0x402347(0x305)][_0x402347(0x249)]?[_0x87d0a3[_0x402347(0x305)]['multiple'],_0x2d5957[_0x402347(0x30b)]]:[_0x87d0a3[_0x402347(0x305)],_0x2d5957['lVXJH']];else _0x2d5957[_0x402347(0x261)](_0x3f555a,undefined)?_0x1fb3d2=[_0x3f555a,_0x2d5957[_0x402347(0x29c)]]:_0x1fb3d2=[];}const _0x4b4d46=_0x2d5957[_0x402347(0x261)](_0x87d0a3[_0x402347(0x305)],undefined)?_0x87d0a3[_0x402347(0x305)][_0x402347(0x1ec)]():_0x2d5957[_0x402347(0x1f0)](_0x3f555a,undefined)?_0x3f555a[_0x402347(0x1ec)]():undefined;let _0x587a4c;try{_0x587a4c=this[_0x402347(0x278)](_0x87d0a3);}catch(_0x206daa){_0x587a4c=null;}const _0x88679f=_0x587a4c?this[_0x402347(0x2f1)](_0x587a4c):null,_0x8f024d=_0x587a4c?this[_0x402347(0x25c)][_0x402347(0x21c)](this[_0x402347(0x278)](_0x87d0a3)):_0x2d5957[_0x402347(0x1f2)],_0x33273b={'framework':_0x2d5957[_0x402347(0x270)],'uuid':_0x87d0a3[_0x402347(0x272)]||_0x87d0a3[_0x402347(0x1f1)],'name':_0x87d0a3[_0x402347(0x313)],'body':{'lang':_0x2d5957['pXEpR'],'code':_0x87d0a3[_0x402347(0x2b0)]},'scope':this[_0x402347(0x2c6)](_0x87d0a3),'scopes':this[_0x402347(0x24f)](_0x87d0a3),'identifier':_0x87d0a3[_0x402347(0x254)](),'file_name':_0x8f024d,'vc_filepath':_0x88679f?path[_0x402347(0x30d)](_0x88679f,_0x587a4c):null,'location':_0x8f024d,'result':_0x2d5957[_0x402347(0x2cf)](_0x14c7cc,_0x2d5957[_0x402347(0x224)])?_0x2d5957['saauo']:this[_0x402347(0x1e7)](_0x87d0a3[_0x402347(0x2ee)]),'failure_reason':_0x4b4d46,'duration_in_ms':_0x87d0a3[_0x402347(0x294)]||(_0x14c7cc[_0x402347(0x28b)](/Finished/)||_0x14c7cc[_0x402347(0x28b)](/Skipped/)?_0x2d5957[_0x402347(0x30c)](Date['now'](),new Date(_0x87d0a3[_0x402347(0x2f4)])[_0x402347(0x2f9)]()):null),'started_at':_0x87d0a3[_0x402347(0x2f4)],'finished_at':_0x14c7cc['match'](/Finished/)||_0x14c7cc[_0x402347(0x28b)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x402347(0x2a2)](null,_0x1fb3d2),'failure_type':!_0x4b4d46?null:_0x4b4d46[_0x402347(0x28b)](/AssertionError/)?_0x2d5957[_0x402347(0x2e0)]:_0x2d5957[_0x402347(0x2b4)],'retry_of':_0x87d0a3['retryOf']};testhubUtils[_0x402347(0x2d8)](_0x33273b,_0x14c7cc,_0x87d0a3,FRAMEWORKS[_0x402347(0x218)]);_0x2d5957[_0x402347(0x215)](_0x14c7cc,_0x2d5957[_0x402347(0x224)])&&!_0x33273b[_0x2d5957[_0x402347(0x295)]]&&(_0x33273b[_0x2d5957[_0x402347(0x295)]]=_0x33273b[_0x2d5957[_0x402347(0x27e)]]);if(_0x14c7cc[_0x402347(0x28b)](/HookRun/))[_0x33273b['hook_type'],_0x33273b[_0x402347(0x233)]]=_0x2d5957[_0x402347(0x20e)](getHookDetails,_0x87d0a3['fullTitle']()||_0x87d0a3[_0x402347(0x269)]||_0x87d0a3[_0x402347(0x313)]),_0x2d5957['rGwYU'](_0x14c7cc,_0x2d5957[_0x402347(0x210)])&&(_0x2d5957[_0x402347(0x229)](_0x33273b[_0x402347(0x29a)],_0x2d5957[_0x402347(0x2ff)])&&(_0x33273b[_0x402347(0x29a)]=_0x2d5957[_0x402347(0x23a)]),_0x2d5957[_0x402347(0x215)](_0x33273b[_0x402347(0x29d)],_0x2d5957['Luoqf'])&&_0x2d5957[_0x402347(0x23b)](_0x33273b[_0x402347(0x29a)],_0x2d5957[_0x402347(0x2ff)])&&!_0x87d0a3['ctx'][_0x402347(0x225)]['markedStatus']&&(_0x87d0a3[_0x402347(0x28e)][_0x402347(0x225)][_0x402347(0x311)]=!![],_0x87d0a3[_0x402347(0x28e)][_0x402347(0x225)][_0x402347(0x2ee)]=STATE_FAILED,await this['sendTestRunEvent'](_0x87d0a3[_0x402347(0x28e)][_0x402347(0x225)],undefined,!![])));else _0x14c7cc[_0x402347(0x28b)](/TestRun/)&&_0x2d5957['WAfqY'](mapTestHooks,_0x87d0a3);const _0x3c8c70=_0x33273b[_0x2d5957[_0x402347(0x282)]][0x0];_0x3c8c70&&(_0x33273b[_0x2d5957[_0x402347(0x1fc)]]=_0x3c8c70[_0x2d5957[_0x402347(0x211)]],_0x33273b[_0x2d5957[_0x402347(0x237)]]=_0x3c8c70[_0x2d5957['uucLV']]);[_0x2d5957[_0x402347(0x285)],_0x2d5957['nbXep']][_0x402347(0x21b)](_0x14c7cc)&&(this[_0x402347(0x2c5)][_0x402347(0x2ed)](_0x33273b),_0x33273b['hooks']=_0x2d5957[_0x402347(0x20e)](getHooksForTest,_0x87d0a3));const _0x5dc234={'event_type':_0x2d5957[_0x402347(0x26b)](_0x14c7cc,_0x2d5957[_0x402347(0x224)])?_0x2d5957[_0x402347(0x285)]:_0x14c7cc};_0x14c7cc[_0x402347(0x28b)](/HookRun/)?(_0x33273b[_0x2d5957[_0x402347(0x212)]]=HOOK_TYPES_MAP[_0x33273b[_0x2d5957[_0x402347(0x212)]]],_0x5dc234[_0x2d5957[_0x402347(0x23e)]]=_0x33273b):_0x5dc234[_0x2d5957[_0x402347(0x2df)]]=_0x33273b,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x402347(0x218)],_0x5dc234),await SessionHandler[_0x402347(0x25f)](_0x5dc234);}catch(_0x497107){_0x2d5957['WAfqY'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x14c7cc+_0x402347(0x1e9)+_0x497107);}};[a25_0x14d561(0x2f1)](_0x1c9740){const _0x4aa474=a25_0x14d561,_0xd6d310={};_0xd6d310['NpFoc']=function(_0x4d7b2d,_0x44d276){return _0x4d7b2d===_0x44d276;},_0xd6d310[_0x4aa474(0x1e6)]=function(_0x5325c6,_0x352f21){return _0x5325c6===_0x352f21;},_0xd6d310[_0x4aa474(0x24c)]=_0x4aa474(0x1f4),_0xd6d310[_0x4aa474(0x1e1)]=_0x4aa474(0x288);const _0x31d267=_0xd6d310,_0xdc3fc9=path[_0x4aa474(0x28d)];if(_0x31d267[_0x4aa474(0x1ed)](_0x1c9740,null)||_0x31d267[_0x4aa474(0x1e6)](_0x1c9740,'')||_0x31d267[_0x4aa474(0x1ed)](_0x1c9740,_0xdc3fc9))return null;try{return fs[_0x4aa474(0x24e)](path['join'](_0x1c9740,_0x31d267[_0x4aa474(0x24c)],_0x31d267[_0x4aa474(0x1e1)])),_0x1c9740;}catch(_0x51c128){const _0x43d572=path[_0x4aa474(0x1f8)](_0x1c9740);return this[_0x4aa474(0x2f1)](_0x43d572);}}[a25_0x14d561(0x312)]=async _0x2b430d=>{const _0x25574b=a25_0x14d561,_0x3d2040={'inUeZ':_0x25574b(0x2b6),'BHAdn':function(_0x2baa9f,_0x21f1c0){return _0x2baa9f(_0x21f1c0);}};try{this['current_hook']&&!this[_0x25574b(0x216)][_0x25574b(0x311)]&&(_0x2b430d['hook_run_uuid']=this['current_hook']['hookAnalyticsId']);!_0x2b430d[_0x25574b(0x2a5)]&&this[_0x25574b(0x2a6)]&&!this[_0x25574b(0x2a6)][_0x25574b(0x311)]&&(_0x2b430d[_0x25574b(0x2db)]=this[_0x25574b(0x2a6)][_0x25574b(0x272)]);if(_0x2b430d['hook_run_uuid']||_0x2b430d[_0x25574b(0x2db)]){const _0x540fe3={};_0x540fe3[_0x25574b(0x258)]=_0x3d2040[_0x25574b(0x2d5)],_0x540fe3[_0x25574b(0x238)]=[_0x2b430d],await SessionHandler[_0x25574b(0x25f)](_0x540fe3);}}catch(_0x46b43d){_0x3d2040[_0x25574b(0x251)](debug,_0x25574b(0x1e8)+_0x46b43d);}};['appendTestPlatform']=async _0x2af7d9=>{const _0x5b7496=a25_0x14d561,_0x442117={'fUgfO':'http_response','kUmRO':_0x5b7496(0x316),'VfUBP':function(_0x267646,_0x500af6){return _0x267646(_0x500af6);}};try{const _0x452f42={};_0x452f42[_0x5b7496(0x2cb)]=_0x2af7d9[_0x5b7496(0x2cb)]||this[_0x5b7496(0x2a6)][_0x5b7496(0x272)],_0x452f42[_0x5b7496(0x250)]=_0x2af7d9[_0x442117['fUgfO']];const _0x4a8a94=_0x452f42,_0x3c52c0={};_0x3c52c0[_0x5b7496(0x258)]=_0x442117[_0x5b7496(0x20b)],_0x3c52c0[_0x5b7496(0x1f3)]=_0x4a8a94,await SessionHandler[_0x5b7496(0x25f)](_0x3c52c0);}catch(_0x5e039d){_0x442117['VfUBP'](debug,_0x5b7496(0x231)+_0x5e039d);}};[a25_0x14d561(0x1e7)](_0x133f4c){const _0x355421=a25_0x14d561,_0x5d49fd={};_0x5d49fd[_0x355421(0x1fb)]='passed',_0x5d49fd[_0x355421(0x2f7)]='pending',_0x5d49fd[_0x355421(0x22f)]=_0x355421(0x2e1);const _0x45f232=_0x5d49fd,_0x1302cb={};return _0x1302cb[STATE_PASSED]=_0x45f232[_0x355421(0x1fb)],_0x1302cb[STATE_PENDING]=_0x45f232['qPqaY'],_0x1302cb[STATE_FAILED]=_0x45f232[_0x355421(0x22f)],_0x1302cb[_0x133f4c];}['scope'](_0x3a76d9){const _0x26d977=a25_0x14d561,_0x1adfc7={};_0x1adfc7[_0x26d977(0x280)]=function(_0x4dceab,_0x200047){return _0x4dceab-_0x200047;};const _0x5567e9=_0x1adfc7,_0x3bfaf6=_0x3a76d9[_0x26d977(0x240)]();return _0x3bfaf6[_0x26d977(0x2f0)](0x0,_0x5567e9[_0x26d977(0x280)](_0x3bfaf6[_0x26d977(0x29f)],0x1))['join']('\x20');}[a25_0x14d561(0x24f)](_0x45c6a7){const _0x2509f3=a25_0x14d561,_0x34ad74={};_0x34ad74['UsWbh']=function(_0x58774f,_0x4172e4){return _0x58774f-_0x4172e4;};const _0x21e647=_0x34ad74,_0x444cf6=_0x45c6a7[_0x2509f3(0x240)]();return _0x444cf6[_0x2509f3(0x2f0)](0x0,_0x21e647[_0x2509f3(0x2a1)](_0x444cf6[_0x2509f3(0x29f)],0x1));}[a25_0x14d561(0x278)](_0x245713){const _0x10c07c=a25_0x14d561,_0x51f774={};_0x51f774[_0x10c07c(0x260)]=function(_0x3006b3,_0x3e4017){return _0x3006b3>_0x3e4017;};const _0x1ba29a=_0x51f774;if(_0x245713[_0x10c07c(0x1ee)])return _0x245713['file'];if(_0x245713['ctx']){const _0x5954cf=_0x245713[_0x10c07c(0x28e)]['currentTest']?this[_0x10c07c(0x278)](_0x245713[_0x10c07c(0x28e)]['currentTest']):null;if(_0x5954cf)return _0x5954cf;}if(_0x245713[_0x10c07c(0x2f5)]){const _0x1c3aad=this[_0x10c07c(0x278)](_0x245713['parent'])||(_0x245713[_0x10c07c(0x2f5)][_0x10c07c(0x28e)]&&_0x245713[_0x10c07c(0x2f5)]['ctx'][_0x10c07c(0x225)]?this[_0x10c07c(0x278)](_0x245713['parent'][_0x10c07c(0x28e)][_0x10c07c(0x225)]):null);if(_0x1c3aad)return _0x1c3aad;_0x245713[_0x10c07c(0x2f5)][_0x10c07c(0x202)]&&_0x1ba29a[_0x10c07c(0x260)](_0x245713[_0x10c07c(0x2f5)][_0x10c07c(0x202)][_0x10c07c(0x29f)],0x0)&&_0x245713['parent'][_0x10c07c(0x202)][_0x10c07c(0x1f7)](_0xfa73b7=>{const _0x5969bd=_0x10c07c,_0x257938=_0xfa73b7[_0x5969bd(0x28e)]?this[_0x5969bd(0x278)](_0xfa73b7['ctx']):null;if(_0x257938)return _0x257938;});}return null;}}function a25_0x2d8c(_0x286c74,_0xe2177c){const _0x358c07=a25_0x358c();return a25_0x2d8c=function(_0x2d8c77,_0xbe515d){_0x2d8c77=_0x2d8c77-0x1df;let _0x2e3cd9=_0x358c07[_0x2d8c77];return _0x2e3cd9;},a25_0x2d8c(_0x286c74,_0xe2177c);}module[a25_0x14d561(0x2b9)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a26_0x28b3ef=a26_0x473e;(function(_0x240a8a,_0x28eab4){const _0x8bd1e8=a26_0x473e,_0x48ff72=_0x240a8a();while(!![]){try{const _0x305692=-parseInt(_0x8bd1e8(0xea))/0x1*(parseInt(_0x8bd1e8(0x116))/0x2)+-parseInt(_0x8bd1e8(0xe9))/0x3+parseInt(_0x8bd1e8(0xb8))/0x4*(-parseInt(_0x8bd1e8(0x128))/0x5)+parseInt(_0x8bd1e8(0xb5))/0x6*(parseInt(_0x8bd1e8(0xf6))/0x7)+parseInt(_0x8bd1e8(0x110))/0x8+-parseInt(_0x8bd1e8(0xdb))/0x9+parseInt(_0x8bd1e8(0x164))/0xa;if(_0x305692===_0x28eab4)break;else _0x48ff72['push'](_0x48ff72['shift']());}catch(_0xc20340){_0x48ff72['push'](_0x48ff72['shift']());}}}(a26_0x952a,0xaa66a));const chalk=require(a26_0x28b3ef(0x158)),logger=require('../../helpers/logger')[a26_0x28b3ef(0x10d)],{default:BrowserStackSetup}=require(a26_0x28b3ef(0xe2)),helper=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x28b3ef(0x191)),{requireModule}=require('../../helpers/helper'),{getPercyOptions}=require(a26_0x28b3ef(0x183)),Base=requireModule(a26_0x28b3ef(0x19c)),collectFiles=requireModule(a26_0x28b3ef(0xe8));function tag(_0x528e5f,_0x1682f3,_0x342e4a,_0x3d6dc5){const _0x5bcbeb=a26_0x28b3ef,_0x2f940c={'VrwOz':function(_0x55a4c7,_0x327c81){return _0x55a4c7+_0x327c81;},'yOmZk':function(_0x1f6e46,_0x371481){return _0x1f6e46(_0x371481);},'mwGcz':function(_0x90787,_0x1d64a9){return _0x90787+_0x1d64a9;},'SPypp':function(_0x4fd3c4,_0x1feb91){return _0x4fd3c4+_0x1feb91;},'FqUuF':function(_0x55fd1c,_0x3e7453){return _0x55fd1c+_0x3e7453;},'LMTpd':function(_0x5c6922,_0x408e2c){return _0x5c6922+_0x408e2c;},'pHKEY':function(_0x45e0cb,_0x249cae){return _0x45e0cb+_0x249cae;},'QnCMm':function(_0x267cf2,_0x2ada66){return _0x267cf2+_0x2ada66;},'MfdHw':function(_0x566d4f,_0x115034){return _0x566d4f+_0x115034;}},_0x28fba9=_0x342e4a?'/>':'>',_0x4f0c08=[];let _0x3249da;for(const _0xd08a2 in _0x1682f3){Object[_0x5bcbeb(0x154)][_0x5bcbeb(0x102)][_0x5bcbeb(0x134)](_0x1682f3,_0xd08a2)&&_0x4f0c08['push'](_0x2f940c[_0x5bcbeb(0xf8)](_0x2f940c[_0x5bcbeb(0xf8)](_0x2f940c[_0x5bcbeb(0xf8)](_0xd08a2,'=\x22'),_0x2f940c[_0x5bcbeb(0xaf)](escape,_0x1682f3[_0xd08a2])),'\x22'));}return _0x3249da=_0x2f940c[_0x5bcbeb(0xcc)](_0x2f940c[_0x5bcbeb(0x176)](_0x2f940c[_0x5bcbeb(0xbd)]('<',_0x528e5f),_0x4f0c08['length']?_0x2f940c[_0x5bcbeb(0xe3)]('\x20',_0x4f0c08['join']('\x20')):''),_0x28fba9),_0x3d6dc5&&(_0x3249da+=_0x2f940c[_0x5bcbeb(0x147)](_0x2f940c[_0x5bcbeb(0x175)](_0x2f940c[_0x5bcbeb(0x143)](_0x3d6dc5,'</'),_0x528e5f),_0x28fba9)),_0x3249da;}let xunitContent='';function xunitWrite(_0x325e87){xunitContent+=_0x325e87;}function xunitTest(_0x5d8b93,_0xc5995c){const _0xc59b32=a26_0x28b3ef,_0x618769={'pMlza':function(_0xd936e7,_0x4228a2){return _0xd936e7/_0x4228a2;},'FTINb':function(_0xfba4fd,_0x3cfb94){return _0xfba4fd===_0x3cfb94;},'tRfpE':_0xc59b32(0xc5),'TRHvG':function(_0x328a2c,_0x3f0c2e){return _0x328a2c+_0x3f0c2e;},'eKZus':function(_0x32e3b3,_0x10c651){return _0x32e3b3(_0x10c651);},'wpoAs':function(_0x5a44ac,_0x4c2b1c,_0x34adb9,_0x4f0279,_0xec9428){return _0x5a44ac(_0x4c2b1c,_0x34adb9,_0x4f0279,_0xec9428);},'TsyAx':'testcase','Txneb':_0xc59b32(0x151),'ANPqq':function(_0x43d987,_0x2baaa0){return _0x43d987+_0x2baaa0;},'YGOVf':function(_0x558fc7,_0x23ecc0){return _0x558fc7+_0x23ecc0;},'TNtpI':function(_0x4b6347,_0x5c58be){return _0x4b6347(_0x5c58be);},'rBnuJ':function(_0x1096e3,_0x1d47ea){return _0x1096e3(_0x1d47ea);},'MPrQH':function(_0x5bab36,_0x2a7f8a,_0x300027,_0x2a6563,_0x451e53){return _0x5bab36(_0x2a7f8a,_0x300027,_0x2a6563,_0x451e53);},'WkGKT':function(_0xb4bae4,_0x279781,_0x48f398,_0x8e9009){return _0xb4bae4(_0x279781,_0x48f398,_0x8e9009);},'ebTrB':'skipped','VOVLo':function(_0x2dabd6,_0x587e5b,_0x16bade,_0x3f1109){return _0x2dabd6(_0x587e5b,_0x16bade,_0x3f1109);}};Base[_0xc59b32(0x166)]=![];var _0x5c403d={'classname':_0x5d8b93[_0xc59b32(0x153)],'name':_0x5d8b93[_0xc59b32(0x17f)],'time':_0x618769['pMlza'](_0x5d8b93[_0xc59b32(0x161)],0x3e8)||0x0,'platform':_0xc5995c};if(_0x618769[_0xc59b32(0x187)](_0x5d8b93[_0xc59b32(0x104)],_0x618769[_0xc59b32(0x15c)])){var _0x1fb6de=_0x5d8b93['err'],_0x4d752b=!Base[_0xc59b32(0xda)]&&Base[_0xc59b32(0x14f)](_0x1fb6de)?_0x618769[_0xc59b32(0x184)]('\x0a',Base[_0xc59b32(0x127)](_0x1fb6de[_0xc59b32(0x152)],_0x1fb6de[_0xc59b32(0x132)])):'';_0x618769[_0xc59b32(0x157)](xunitWrite,_0x618769[_0xc59b32(0xfb)](tag,_0x618769[_0xc59b32(0x146)],_0x5c403d,![],_0x618769[_0xc59b32(0xfb)](tag,_0x618769[_0xc59b32(0x17d)],{},![],_0x618769['ANPqq'](_0x618769[_0xc59b32(0xd0)](_0x618769[_0xc59b32(0x177)](_0x618769[_0xc59b32(0x157)](escape,_0x1fb6de[_0xc59b32(0x198)]),_0x618769[_0xc59b32(0xf4)](escape,_0x4d752b)),'\x0a'),_0x618769['rBnuJ'](escape,_0x1fb6de[_0xc59b32(0xe4)])))));}else _0x5d8b93[_0xc59b32(0x193)]?_0x618769[_0xc59b32(0xf4)](xunitWrite,_0x618769[_0xc59b32(0x163)](tag,_0x618769[_0xc59b32(0x146)],_0x5c403d,![],_0x618769[_0xc59b32(0xc0)](tag,_0x618769[_0xc59b32(0x108)],{},!![]))):_0x618769['rBnuJ'](xunitWrite,_0x618769[_0xc59b32(0xa8)](tag,_0x618769[_0xc59b32(0x146)],_0x5c403d,!![]));};function a26_0x952a(){const _0x3663f9=['isBrowserstackInfra','mwGcz','NSFjo','results','totalTests','YGOVf','env','rerunTests','exitCode','DHFLC','\x0a\x0a\x0a','tnTDS','Qwgav','ebtSe','OAkUf','hideDiff','11058237LeAYPP','suiteName','spec','yJHZY','printBuildLink','yellow','join','../../helpers/BrowserStackSetup','LMTpd','stack','IKAKX','MRGGg','\x20platforms','mocha/lib/cli/collect-files.js','1388241wHxcsd','180284gFtWjx','reporter','BROWSERSTACK_RERUN_TESTS','consoleLog','cjs','testsFailed','EfAgb','getErrorMessageFromResults','XYPwp','then','TNtpI','bold','3187037MWoJsf','RjFjd','VrwOz','log','logLevel','wpoAs','ekePh','\x20passed','BROWSERSTACK_TEST_OBSERVABILITY_YML','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','Total\x20Suites:\x20','passed','hasOwnProperty','notifyUpdate','state','assign','GNysC','writeFileSync','ebTrB','ZyFzX','info','fGSjA','GHulX','winstonLogger','rkzEy','markSDKSetupComplete','9653416wVhGjD','****\x20FAILURES\x20****','GwVIq','extension','mAMZa','stringify','6FGyixk','suite','hXHaZ','Setting\x20non\x20exit\x20code\x20for\x20failures','ignore','output','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','finally','KEqty','MYjdk','ljWyD','BROWSERSTACK_TEST_ACCESSIBILITY_YML','includes','Running\x20your\x20mocha\x20tests\x20across\x20','YDJkw','DjywA','push','generateDiff','5JmtPWn','BROWSERSTACK_TEST_OBSERVABILITY','xunit','Writing\x20xunit\x20result\x20to\x20file','testsPending','BROWSERSTACK_AUTOMATION','Running\x20your\x20mocha\x20tests','fgkdu','EbMbF','isJWE','expected','GxKdT','call','Now,\x20showing\x20logs\x20from\x20mocha','ZrqlE','lBVKi','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dowhf','isUndefined','jfEMl','NufiT','argv','\x20total','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','xYuBw','min','eqfho','MfdHw','titlePathV','uzlyK','TsyAx','pHKEY','BbFQw','bgBlueBright','speed','mocha','ZwcBh','JSvSR','jqOhg','showDiff','size','failure','actual','fullTitle','prototype','MWmSO','file','eKZus','chalk','bgRedBright','djAgF','mjs','tRfpE','</testsuite>','error','uKOPL','Tests:\x20\x20\x20\x20\x20\x20\x20','duration','ihqii','MPrQH','4455070rDrllh','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','useColors','RNFiz','nnptJ','testSuites','testsPassed','fDJTF','green','length','proxySettings','shouldReRunObservabilityTests','err','Printing\x20stats\x20of\x20tests','--disable-test-observability','SOfui','Writing\x20json\x20result\x20to\x20file','QnCMm','SPypp','ANPqq','recursive','accessibility','Woilm','SDKTestSuccessful','bohnM','Txneb','AhDrL','title','kNWNm','BEqrd','JOtPR','../../helpers/percy/utils','TRHvG','get','framework','FTINb','debug','Listing\x20all\x20the\x20failures','OboNd','testObservability','TafJW','cliConfig','HMGdC','qrsRQ','rootHooks','../test-runner','config','isPending','huAhf','BxXLo','forEach','Mocha\x20Tests','message','titlePath','osDNp','dRJLX','mocha/lib/reporters/base.js','JLYNm','red','modifyBrowserStackCaps','isTestObservabilitySession','getHubUrl','gDkrB','VOVLo','platforms','pending','rGLUu','CpuEz','MAndN','xzCkw','yOmZk','exports','JqdIe','reporterOptions','\x20failed','MyaEt','18pfcuqg','lNPHo','oFIoV','351212gmdARs','list','modifyBrowserStackW3CCaps','fireFunnelTestEvent','McYxQ','FqUuF','WYQuQ','hZSJL','WkGKT','\x20skipped','jJAfk','KuKLf','Couldn\x27t\x20write\x20json\x20result\x20to','failed','handleApp','--disable-browserstack-automation','HlinV','Total\x20Platforms:\x20','UyAng'];a26_0x952a=function(){return _0x3663f9;};return a26_0x952a();}function getStats(_0x147023){const _0x2f33ac=a26_0x28b3ef,_0x54ca00={};_0x54ca00[_0x2f33ac(0xd6)]=_0x2f33ac(0x117),_0x54ca00[_0x2f33ac(0x130)]=_0x2f33ac(0x101),_0x54ca00[_0x2f33ac(0x167)]=_0x2f33ac(0xc5),_0x54ca00['IKAKX']='results';const _0x4de482=_0x54ca00,_0x3f6ca8=Object['keys'](_0x147023);let _0x5593db=0x0,_0x1a814f=0x0,_0x3db585=0x0,_0x180f42=0x0;const _0x41695a=new Set();_0x3f6ca8[_0x2f33ac(0x196)](_0x31eb95=>{const _0x40c066=_0x2f33ac,_0x3cdd24={};_0x3cdd24[_0x40c066(0xae)]=_0x4de482['tnTDS'],_0x3cdd24[_0x40c066(0x125)]=_0x4de482[_0x40c066(0x130)],_0x3cdd24[_0x40c066(0x168)]=_0x4de482[_0x40c066(0x167)];const _0x1f7856=_0x3cdd24;_0x147023[_0x31eb95][_0x4de482[_0x40c066(0xe5)]][_0x40c066(0x196)](_0x5ecf34=>{const _0x35bcd7=_0x40c066;_0x41695a['add'](_0x5ecf34[_0x1f7856['xzCkw']]),_0x5593db++;switch(_0x5ecf34[_0x35bcd7(0x104)]){case _0x1f7856[_0x35bcd7(0x125)]:_0x3db585++;break;case _0x1f7856[_0x35bcd7(0x168)]:_0x1a814f++;break;default:_0x180f42++;}});});const _0x4e1a49={};return _0x4e1a49[_0x2f33ac(0x169)]=_0x41695a[_0x2f33ac(0x150)],_0x4e1a49[_0x2f33ac(0xa9)]=_0x3f6ca8,_0x4e1a49[_0x2f33ac(0xcf)]=_0x5593db,_0x4e1a49[_0x2f33ac(0xef)]=_0x1a814f,_0x4e1a49[_0x2f33ac(0x16a)]=_0x3db585,_0x4e1a49[_0x2f33ac(0x12c)]=_0x180f42,_0x4e1a49;}function errorJSON(_0x12f446){const _0x3ab630=a26_0x28b3ef;var _0x152158={};return Object['getOwnPropertyNames'](_0x12f446)[_0x3ab630(0x196)](function(_0x331b81){_0x152158[_0x331b81]=_0x12f446[_0x331b81];},_0x12f446),_0x152158;}function cleanCycles(_0x3eab73){const _0x50d168=a26_0x28b3ef,_0x35a592={};_0x35a592[_0x50d168(0x181)]=function(_0x6a6d0e,_0x4becf6){return _0x6a6d0e===_0x4becf6;},_0x35a592[_0x50d168(0x114)]='object',_0x35a592[_0x50d168(0x155)]=function(_0x6275ce,_0x3ccbb){return _0x6275ce!==_0x3ccbb;},_0x35a592['bohnM']=function(_0x35763c,_0x3cc119){return _0x35763c!==_0x3cc119;},_0x35a592[_0x50d168(0x140)]=function(_0x193eca,_0x48d058){return _0x193eca+_0x48d058;};const _0x16a819=_0x35a592;var _0x9fbaec=[];return JSON['parse'](JSON[_0x50d168(0x115)](_0x3eab73,function(_0x4af559,_0x509e96){const _0x2fb73f=_0x50d168;if(_0x16a819[_0x2fb73f(0x181)](typeof _0x509e96,_0x16a819[_0x2fb73f(0x114)])&&_0x16a819['MWmSO'](_0x509e96,null)){if(_0x16a819[_0x2fb73f(0x17c)](_0x9fbaec['indexOf'](_0x509e96),-0x1))return _0x16a819[_0x2fb73f(0x140)]('',_0x509e96);_0x9fbaec[_0x2fb73f(0x126)](_0x509e96);}return _0x509e96;}));}function clean(_0x5a6139){const _0x4bb5f3=a26_0x28b3ef,_0x153aa2={'CpuEz':function(_0x3282d4,_0x3f31ab){return _0x3282d4 instanceof _0x3f31ab;},'rGLUu':function(_0x265fee,_0x5935b1){return _0x265fee(_0x5935b1);}};var _0x1aebcc=_0x5a6139[_0x4bb5f3(0x170)]||{};return _0x153aa2[_0x4bb5f3(0xac)](_0x1aebcc,Error)&&(_0x1aebcc=_0x153aa2[_0x4bb5f3(0xab)](errorJSON,_0x1aebcc)),{'title':_0x5a6139[_0x4bb5f3(0x17f)],'fullTitle':_0x5a6139[_0x4bb5f3(0x153)],'file':_0x5a6139[_0x4bb5f3(0x156)],'duration':_0x5a6139[_0x4bb5f3(0x161)],'currentRetry':_0x5a6139['currentRetry'],'speed':_0x5a6139[_0x4bb5f3(0x14a)],'err':_0x153aa2['rGLUu'](cleanCycles,_0x1aebcc)};}function printStats(_0x3709c6,_0x5ed5f8='spec',_0x207816={}){const _0x46ed49=a26_0x28b3ef,_0x74c50a={'TafJW':function(_0x336ca3,_0xccc661){return _0x336ca3(_0xccc661);},'MRGGg':function(_0x41f0f8,_0x3e8622){return _0x41f0f8===_0x3e8622;},'gDkrB':'passed','GwVIq':'passes','ZwcBh':function(_0x15d7b8,_0xc402e3){return _0x15d7b8(_0xc402e3);},'McYxQ':function(_0x58f0e5,_0x4f2343){return _0x58f0e5===_0x4f2343;},'uKOPL':_0x46ed49(0xc5),'RjFjd':'failures','huAhf':_0x46ed49(0xaa),'rkzEy':function(_0x455163,_0x513ec0){return _0x455163(_0x513ec0);},'jJAfk':_0x46ed49(0xce),'djAgF':function(_0xec2104,_0x29dfb7){return _0xec2104*_0x29dfb7;},'CjcAP':function(_0x12060b,_0xfe7d32,_0x57e019){return _0x12060b(_0xfe7d32,_0x57e019);},'uzlyK':function(_0x501c50,_0x7ac250){return _0x501c50>_0x7ac250;},'dRJLX':function(_0x14e01b){return _0x14e01b();},'yJHZY':function(_0x1d0251,_0x2b5283){return _0x1d0251===_0x2b5283;},'diiEd':'doc','OAkUf':function(_0x2e08cb,_0x5f0522){return _0x2e08cb(_0x5f0522);},'oFIoV':function(_0x4bdf71,_0x1d7892){return _0x4bdf71>_0x1d7892;},'nMcNN':_0x46ed49(0x119),'fugEE':_0x46ed49(0x171),'lNPHo':function(_0x254424,_0x12bace){return _0x254424+_0x12bace;},'Woilm':_0x46ed49(0xc9),'hXHaZ':function(_0x31d0c3,_0x12a33e){return _0x31d0c3+_0x12a33e;},'OboNd':_0x46ed49(0x100),'GHulX':function(_0x1aa5d7,_0x550b18){return _0x1aa5d7+_0x550b18;},'NufiT':function(_0x1cd18d,_0x1be20c){return _0x1cd18d+_0x1be20c;},'NSFjo':_0x46ed49(0x160),'xvRHm':function(_0x39b42b,_0x322daa){return _0x39b42b>_0x322daa;},'ekePh':function(_0x3eed58,_0x5539b5){return _0x3eed58>_0x5539b5;},'osDNp':function(_0x563f02,_0x42f86f){return _0x563f02+_0x42f86f;},'ljWyD':function(_0x5a38f3,_0x5003df){return _0x5a38f3+_0x5003df;},'SOfui':function(_0xc95fae,_0x455eb4){return _0xc95fae+_0x455eb4;},'ZyFzX':function(_0x1bff21,_0x54654e){return _0x1bff21+_0x54654e;},'fDJTF':_0x46ed49(0xd5),'WYQuQ':'json','JOtPR':_0x46ed49(0x174),'HlinV':_0x46ed49(0xc4),'dHNYS':_0x46ed49(0x13f),'ihqii':function(_0x43f553,_0x56e6ab){return _0x43f553===_0x56e6ab;},'jqOhg':_0x46ed49(0x12a),'isJWE':_0x46ed49(0x197),'GxKdT':function(_0x290818,_0x3e9cfb){return _0x290818||_0x3e9cfb;},'MyaEt':function(_0xe7eacc,_0x2cdcab,_0x4c9558,_0x4f839c){return _0xe7eacc(_0x2cdcab,_0x4c9558,_0x4f839c);},'YDJkw':'testsuite','WYdUV':function(_0x14820a,_0x3cb271){return _0x14820a-_0x3cb271;},'dodaS':function(_0x4e2672,_0x2c57de){return _0x4e2672-_0x2c57de;},'VYffO':function(_0x524251,_0x25ad8b){return _0x524251/_0x25ad8b;},'VzirH':_0x46ed49(0x15d),'BbFQw':_0x46ed49(0x12b),'MAndN':'Couldn\x27t\x20write\x20xunit\x20result\x20to','JVIfU':_0x46ed49(0xff),'ZrqlE':_0x46ed49(0x189),'MYjdk':_0x46ed49(0x111)};if(_0x74c50a[_0x46ed49(0xde)](_0x5ed5f8,_0x74c50a['diiEd']))return;const _0x519fec=0x0,_0x49b577=()=>{const _0x3a784e=_0x46ed49;return _0x74c50a[_0x3a784e(0x18c)](Array,_0x519fec)[_0x3a784e(0xe1)]('\x20\x20');},{testSuites:_0x4a5715,platforms:_0x5b6796,totalTests:_0x4f8416,testsFailed:_0x4600ef,testsPassed:_0x110b98,testsPending:_0x372f80}=_0x74c50a[_0x46ed49(0xd9)](getStats,_0x3709c6);_0x74c50a[_0x46ed49(0xb7)](_0x4600ef,0x0)&&(logger['debug'](_0x74c50a['nMcNN']),process[_0x46ed49(0xd3)]=Math[_0x46ed49(0x141)](_0x4600ef,0xff));logger[_0x46ed49(0x188)](_0x74c50a['fugEE']);const _0x20cb76=''+_0x74c50a[_0x46ed49(0xb6)](chalk[_0x46ed49(0xf5)](_0x74c50a[_0x46ed49(0x17a)]),_0x5b6796[_0x46ed49(0x16d)]),_0x573a76=''+_0x74c50a[_0x46ed49(0x118)](chalk[_0x46ed49(0xf5)](_0x74c50a[_0x46ed49(0x18a)]),_0x4a5715),_0x27ebaf=''+_0x74c50a[_0x46ed49(0x10c)](_0x74c50a[_0x46ed49(0x10c)](_0x74c50a[_0x46ed49(0x13c)](chalk[_0x46ed49(0xf5)](_0x74c50a[_0x46ed49(0xcd)]),_0x74c50a['xvRHm'](_0x4600ef,0x0)?chalk[_0x46ed49(0xf5)][_0x46ed49(0xa3)](_0x4600ef+_0x46ed49(0xb3))+',\x20':''),_0x74c50a[_0x46ed49(0xfc)](_0x372f80,0x0)?chalk[_0x46ed49(0xf5)][_0x46ed49(0xe0)](_0x372f80+_0x46ed49(0xc1))+',\x20':''),_0x74c50a[_0x46ed49(0xfc)](_0x110b98,0x0)?chalk[_0x46ed49(0xf5)][_0x46ed49(0x16c)](_0x110b98+_0x46ed49(0xfd))+',\x20':'')+_0x4f8416+_0x46ed49(0x13e);console['log'](_0x74c50a[_0x46ed49(0x19a)](_0x74c50a[_0x46ed49(0x120)](_0x74c50a[_0x46ed49(0x19a)](_0x74c50a[_0x46ed49(0x173)](_0x74c50a[_0x46ed49(0x109)](_0x74c50a[_0x46ed49(0x16b)],_0x20cb76),'\x0a'),_0x573a76),'\x0a'),_0x27ebaf));if(_0x74c50a[_0x46ed49(0xe6)](_0x5ed5f8,_0x74c50a[_0x46ed49(0xbe)])){const _0xdb0e2b={},_0x59118d={};_0x59118d[_0x46ed49(0x169)]=_0x4a5715,_0x59118d['platforms']=_0x5b6796,_0x59118d['testsFailed']=_0x4600ef,_0x59118d[_0x46ed49(0x16a)]=_0x110b98,_0x59118d[_0x46ed49(0x12c)]=_0x372f80,_0xdb0e2b['stats']=_0x59118d,_0x5b6796['forEach'](_0x362cb5=>{const _0x469192=_0x46ed49,_0x52bcbd={'KDPDO':function(_0x304734,_0x484aab){return _0x74c50a['MRGGg'](_0x304734,_0x484aab);},'fGSjA':_0x74c50a[_0x469192(0xa7)],'WKYhO':_0x74c50a[_0x469192(0x112)],'vBNJv':function(_0x1ffc1c,_0x1ecc52){const _0x47ba99=_0x469192;return _0x74c50a[_0x47ba99(0x14c)](_0x1ffc1c,_0x1ecc52);},'ebtSe':function(_0xab9a7f,_0x35737e){const _0x2867ac=_0x469192;return _0x74c50a[_0x2867ac(0xbc)](_0xab9a7f,_0x35737e);},'Qwgav':_0x74c50a[_0x469192(0x15f)],'AhDrL':_0x74c50a[_0x469192(0xf7)],'qrsRQ':function(_0x13c6c5,_0x2b0399){const _0x590ea7=_0x469192;return _0x74c50a[_0x590ea7(0x18c)](_0x13c6c5,_0x2b0399);},'EfAgb':_0x74c50a[_0x469192(0x194)],'XYPwp':function(_0x281a6e,_0x12322c){const _0x373677=_0x469192;return _0x74c50a[_0x373677(0x10e)](_0x281a6e,_0x12322c);}};_0xdb0e2b[_0x362cb5]={'pending':[],'failures':[],'passes':[],'tests':_0x3709c6[_0x362cb5][_0x74c50a[_0x469192(0xc2)]]['map'](clean)},_0x3709c6[_0x362cb5][_0x74c50a[_0x469192(0xc2)]][_0x469192(0x196)](_0x5adadc=>{const _0x543261=_0x469192;if(_0x52bcbd['KDPDO'](_0x5adadc['state'],_0x52bcbd[_0x543261(0x10b)]))_0xdb0e2b[_0x362cb5][_0x52bcbd['WKYhO']]['push'](_0x52bcbd['vBNJv'](clean,_0x5adadc));else _0x52bcbd[_0x543261(0xd8)](_0x5adadc['state'],_0x52bcbd[_0x543261(0xd7)])?_0xdb0e2b[_0x362cb5][_0x52bcbd[_0x543261(0x17e)]][_0x543261(0x126)](_0x52bcbd[_0x543261(0x18f)](clean,_0x5adadc)):_0xdb0e2b[_0x362cb5][_0x52bcbd[_0x543261(0xf0)]][_0x543261(0x126)](_0x52bcbd[_0x543261(0xf2)](clean,_0x5adadc));});});if(_0x207816[_0x46ed49(0x11b)])try{logger[_0x46ed49(0x188)](_0x74c50a[_0x46ed49(0x182)],_0x207816['output']),fs['writeFileSync'](_0x207816['output'],JSON['stringify'](_0xdb0e2b,null,0x3));}catch(_0x4b8b9f){logger[_0x46ed49(0x15e)](_0x74c50a[_0x46ed49(0xc8)],_0x207816[_0x46ed49(0x11b)]),logger['debug'](_0x4b8b9f);}else logger[_0x46ed49(0x188)](_0x74c50a['dHNYS']),console[_0x46ed49(0xf9)](JSON['stringify'](_0xdb0e2b,null,0x3));}else{if(_0x74c50a[_0x46ed49(0x162)](_0x5ed5f8,_0x74c50a[_0x46ed49(0x14e)])){let _0x39f513;const _0x1ededc=_0x74c50a[_0x46ed49(0x131)];_0x207816&&(_0x39f513=_0x207816[_0x46ed49(0xdc)]);_0x39f513=_0x74c50a[_0x46ed49(0x133)](_0x39f513,_0x1ededc);let _0x20e16e=0x0,_0xe781a2=0x0,_0x5d77ee=0x0,_0xc426fc=0x0;_0x5b6796['forEach'](_0x23ee54=>{const _0x1c5f2a=_0x46ed49;_0x3709c6[_0x23ee54][_0x74c50a[_0x1c5f2a(0xc2)]][_0x1c5f2a(0x196)](_0x5bd9cb=>{const _0xc43c8d=_0x1c5f2a;if(_0x74c50a[_0xc43c8d(0xbc)](_0x5bd9cb[_0xc43c8d(0x104)],_0x74c50a[_0xc43c8d(0xa7)]))_0x20e16e++;else _0x74c50a[_0xc43c8d(0xbc)](_0x5bd9cb[_0xc43c8d(0x104)],_0x74c50a['uKOPL'])&&_0xe781a2++;_0x5d77ee++,_0xc426fc+=_0x74c50a[_0xc43c8d(0x15a)](_0x5bd9cb[_0xc43c8d(0x161)],0x1);});}),_0x74c50a[_0x46ed49(0x18c)](xunitWrite,_0x74c50a[_0x46ed49(0xb4)](tag,_0x74c50a[_0x46ed49(0x124)],{'name':_0x39f513,'tests':_0x5d77ee,'failures':0x0,'errors':_0xe781a2,'skipped':_0x74c50a['WYdUV'](_0x74c50a['dodaS'](_0x5d77ee,_0xe781a2),_0x20e16e),'timestamp':new Date()['toUTCString'](),'time':_0x74c50a['VYffO'](_0xc426fc,0x3e8)||0x0},![])),_0x5b6796[_0x46ed49(0x196)](_0x31d733=>{const _0x1a429a=_0x46ed49;_0x3709c6[_0x31d733][_0x74c50a['jJAfk']][_0x1a429a(0x196)](_0x25abcc=>{_0x74c50a['CjcAP'](xunitTest,_0x25abcc,_0x31d733);});}),_0x74c50a[_0x46ed49(0x14c)](xunitWrite,_0x74c50a['VzirH']);if(_0x207816[_0x46ed49(0x11b)])try{logger[_0x46ed49(0x188)](_0x74c50a[_0x46ed49(0x148)],_0x207816[_0x46ed49(0x11b)]),fs[_0x46ed49(0x107)](_0x207816[_0x46ed49(0x11b)],xunitContent);}catch(_0x99ca7f){logger[_0x46ed49(0x15e)](_0x74c50a[_0x46ed49(0xad)],_0x207816['output']),logger[_0x46ed49(0x188)](_0x99ca7f);}else logger[_0x46ed49(0x188)](_0x74c50a['JVIfU']),console[_0x46ed49(0xf9)](xunitContent);}else{if(_0x74c50a[_0x46ed49(0xe6)](_0x4600ef,0x0))return;console[_0x46ed49(0xf9)](),logger['debug'](_0x74c50a[_0x46ed49(0x136)]),console[_0x46ed49(0xf9)](chalk[_0x46ed49(0xf5)][_0x46ed49(0x159)](_0x74c50a[_0x46ed49(0x11f)])),_0x5b6796[_0x46ed49(0x196)](_0x16403b=>{const _0x3875a6=_0x46ed49,_0x38094b={'dowhf':function(_0x55cc82,_0x4cdf70){const _0x55a57e=a26_0x473e;return _0x74c50a[_0x55a57e(0xe6)](_0x55cc82,_0x4cdf70);},'xfgZv':_0x74c50a[_0x3875a6(0x15f)]},_0x4a236a=[];_0x3709c6[_0x16403b][_0x74c50a[_0x3875a6(0xc2)]][_0x3875a6(0x196)](_0x1fae07=>{const _0x3de0db=_0x3875a6;_0x38094b[_0x3de0db(0x139)](_0x1fae07[_0x3de0db(0x104)],_0x38094b['xfgZv'])&&(_0x1fae07[_0x3de0db(0x199)]=()=>_0x1fae07[_0x3de0db(0x144)],_0x4a236a[_0x3de0db(0x126)](_0x1fae07));}),_0x74c50a[_0x3875a6(0x145)](_0x4a236a[_0x3875a6(0x16d)],0x0)&&(Base[_0x3875a6(0xed)](),Base[_0x3875a6(0xed)](_0x74c50a[_0x3875a6(0x19b)](_0x49b577),chalk['bold'][_0x3875a6(0x149)](_0x16403b)),Base[_0x3875a6(0xb9)](_0x4a236a));});}}}async function run(_0x4bd5e3,_0x76f078){const _0x2b50a8=a26_0x28b3ef,_0x4dbf2c={'kNWNm':function(_0x1ded93,_0xafc3f4,_0x18d2e3,_0x34b48d){return _0x1ded93(_0xafc3f4,_0x18d2e3,_0x34b48d);},'KuKLf':'reporter-option','lBVKi':_0x2b50a8(0x17b),'hZSJL':_0x2b50a8(0x14b),'LKlIf':_0x2b50a8(0x172),'jfEMl':_0x2b50a8(0xc7),'JSvSR':function(_0x423b88,_0x5d3a6c){return _0x423b88!=_0x5d3a6c;},'fgkdu':_0x2b50a8(0xee),'vzXKg':_0x2b50a8(0x15b),'DHFLC':'test','JqdIe':_0x2b50a8(0xd2),'KEqty':function(_0x2cb172,_0x17c6fc){return _0x2cb172(_0x17c6fc);},'GNysC':_0x2b50a8(0x12e),'UyAng':_0x2b50a8(0x135),'HMGdC':function(_0x171f42,_0x418344,_0x352fe9,_0x341d6e){return _0x171f42(_0x418344,_0x352fe9,_0x341d6e);},'eqfho':function(_0x52b933,_0x5323a2){return _0x52b933*_0x5323a2;},'BxXLo':function(_0x15aa13,_0x5a9888){return _0x15aa13!==_0x5a9888;},'JLYNm':function(_0x5066ea,_0x6aac8e,_0x12d716,_0x5ddca8){return _0x5066ea(_0x6aac8e,_0x12d716,_0x5ddca8);}};process[_0x2b50a8(0x13d)][_0x2b50a8(0x122)](_0x4dbf2c['LKlIf'])&&(process['env'][_0x2b50a8(0x129)]=![]);process[_0x2b50a8(0x13d)][_0x2b50a8(0x122)](_0x4dbf2c[_0x2b50a8(0x13b)])&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0x12d)]=![]);const _0x4ff851=new BrowserStackSetup(_0x4bd5e3,_0x4dbf2c[_0x2b50a8(0xbf)]);helper[_0x2b50a8(0xcb)]()&&(await _0x4ff851['initialize'](),await helper[_0x2b50a8(0xc6)](_0x4ff851[_0x2b50a8(0x192)]));const _0x3d832a=[],_0x185182=[];if(!_0x4ff851[_0x2b50a8(0x192)])return;_0x4dbf2c[_0x2b50a8(0x14d)](_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0x18b)],null)&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0xfe)]=_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0x18b)]);!helper[_0x2b50a8(0x13a)](_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0x179)])&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0x121)]=_0x4ff851[_0x2b50a8(0x192)]['accessibility']);!helper['isUndefined'](_0x4ff851[_0x2b50a8(0x192)]['accessibilityOptions'])&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0x138)]=JSON[_0x2b50a8(0x115)](_0x4ff851[_0x2b50a8(0x192)]['accessibilityOptions']));const {extension:extension=['js',_0x4dbf2c[_0x2b50a8(0x12f)],_0x4dbf2c['vzXKg']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4dbf2c[_0x2b50a8(0xd4)]]}=_0x4bd5e3,_0x10a646={..._0x4bd5e3};_0x10a646[_0x2b50a8(0x190)]=null;const _0xf1f10f=_0x10a646;let _0x1dd942;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x2b50a8(0x16f)]()){let _0x2dfa82=process[_0x2b50a8(0xd1)][_0x2b50a8(0xec)];!helper[_0x2b50a8(0x13a)](_0x4ff851[_0x2b50a8(0x18d)])&&_0x4ff851[_0x2b50a8(0x18d)]['has'](_0x4dbf2c['JqdIe'])&&(_0x2dfa82=_0x4ff851['cliConfig'][_0x2b50a8(0x185)](_0x4dbf2c[_0x2b50a8(0xb1)])),_0x1dd942=testOpsHelper['parseFileNames'](_0x2dfa82);}if(helper[_0x2b50a8(0x13a)](_0x1dd942)){const _0x43de70={};_0x43de70[_0x2b50a8(0x11a)]=ignore,_0x43de70[_0x2b50a8(0x113)]=extension,_0x43de70['file']=file,_0x43de70[_0x2b50a8(0x178)]=recursive,_0x43de70['sort']=sort,_0x43de70[_0x2b50a8(0xdd)]=spec,_0x1dd942=_0x4dbf2c['KEqty'](collectFiles,_0x43de70);}helper[_0x2b50a8(0x10f)]();if(!helper[_0x2b50a8(0xcb)]()){const _0x34a0a8=0x1,_0xaccf8f={..._0xf1f10f};_0xaccf8f[_0x2b50a8(0xdd)]=[..._0x1dd942],_0x3d832a[_0x2b50a8(0x126)]({'mochaOpts':_0xaccf8f,'configuration':{'platform':os['platform']()}}),logger[_0x2b50a8(0x10a)](_0x4dbf2c[_0x2b50a8(0x106)]),logger[_0x2b50a8(0x10a)](_0x4dbf2c[_0x2b50a8(0xca)]),_0x4dbf2c[_0x2b50a8(0x18e)](parallelTestRun,_0x3d832a,_0x34a0a8,_0x4ff851)['then'](_0x33beb1=>{const _0x6e2a=_0x2b50a8;_0x4dbf2c[_0x6e2a(0x180)](printStats,_0x33beb1,_0x4bd5e3[_0x6e2a(0xeb)],_0x4bd5e3[_0x6e2a(0xb2)]||_0x4bd5e3[_0x4dbf2c['KuKLf']]);})[_0x2b50a8(0x11d)](()=>{const _0x3c48ce=_0x2b50a8;try{helper[_0x3c48ce(0xbb)](_0x4dbf2c[_0x3c48ce(0x137)],{},_0x4ff851['config'],_0x4ff851[_0x3c48ce(0x186)]);}catch(_0x29488e){logger[_0x3c48ce(0x188)](_0x3c48ce(0x165)+_0x29488e);}try{helper[_0x3c48ce(0x103)]();}catch(_0x3baf44){logger[_0x3c48ce(0x188)](_0x3c48ce(0x11c)+_0x3baf44);}testOpsHelper[_0x3c48ce(0xdf)]();});}else{const _0x4cabe0=_0x4dbf2c[_0x2b50a8(0x142)](_0x4ff851[_0x2b50a8(0x192)]['platforms']['length'],_0x4ff851['config']['parallelsPerPlatform']),_0x2ff23e=helper['useW3C'](_0x4ff851[_0x2b50a8(0x192)]),_0x23d13a=helper[_0x2b50a8(0xa6)](_0x4ff851[_0x2b50a8(0x192)]);_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0xa9)][_0x2b50a8(0x196)]((_0x40ae6c,_0x271c43)=>{const _0x1a6d49=_0x2b50a8;_0x2ff23e?_0x185182[_0x1a6d49(0x126)](helper[_0x1a6d49(0xba)](_0x4ff851['config'],_0x4dbf2c[_0x1a6d49(0xbf)],_0x271c43)):_0x185182['push'](helper[_0x1a6d49(0xa4)](_0x4ff851[_0x1a6d49(0x192)],_0x4dbf2c[_0x1a6d49(0xbf)],_0x271c43));});const _0xbb2754=_0x4dbf2c[_0x2b50a8(0x11e)](getPercyOptions,_0x4ff851[_0x2b50a8(0x192)]);if(_0x4dbf2c[_0x2b50a8(0x195)](_0x4ff851[_0x2b50a8(0x192)]['parallelsPerPlatform'],0x1))_0x1dd942[_0x2b50a8(0x196)](_0x4a0f75=>{const _0x367060=_0x2b50a8,_0x43bd19=[];_0x185182[_0x367060(0x196)]((_0x10423f,_0xb6f623)=>{const _0xa0646f=_0x367060,_0x418047={};_0x418047[_0xa0646f(0xdd)]=[_0x4a0f75],_0x43bd19['push']({'mochaOpts':Object[_0xa0646f(0x105)]({},_0xf1f10f,_0x418047),'configuration':{'server':_0x23d13a,'capability':_0x10423f,'proxySettings':_0x4ff851[_0xa0646f(0x192)][_0xa0646f(0x16e)],'platform':helper['getPlatformName'](_0x10423f),'browserStackLogLevel':_0x4ff851[_0xa0646f(0x192)][_0xa0646f(0xfa)],'platformIndex':_0xb6f623,'browserStackPercyOptions':_0xbb2754,'platformCaps':_0x4ff851[_0xa0646f(0x192)]['platforms'][_0xb6f623]}});}),_0x3d832a[_0x367060(0x126)](..._0x43bd19);});else{const _0x5d5a8d=[];_0x185182[_0x2b50a8(0x196)]((_0x1fb560,_0x27344f)=>{const _0x61e830=_0x2b50a8;let _0x108c2b=Object[_0x61e830(0x105)]({},_0xf1f10f);testOpsHelper[_0x61e830(0xa5)]()&&testOpsHelper[_0x61e830(0x16f)]()&&(_0x108c2b={..._0x108c2b,'spec':[..._0x1dd942]}),_0x5d5a8d[_0x61e830(0x126)]({'mochaOpts':_0x108c2b,'configuration':{'server':_0x23d13a,'capability':_0x1fb560,'proxySettings':_0x4ff851[_0x61e830(0x192)][_0x61e830(0x16e)],'platform':helper['getPlatformName'](_0x1fb560),'browserStackLogLevel':_0x4ff851['config'][_0x61e830(0xfa)],'platformIndex':_0x27344f,'browserStackPercyOptions':_0xbb2754,'platformCaps':_0x4ff851[_0x61e830(0x192)][_0x61e830(0xa9)][_0x27344f]}});}),_0x3d832a[_0x2b50a8(0x126)](..._0x5d5a8d);}logger[_0x2b50a8(0x10a)](_0x2b50a8(0x123)+_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0xa9)][_0x2b50a8(0x16d)]+_0x2b50a8(0xe7)),logger['info'](_0x4dbf2c[_0x2b50a8(0xca)]);let _0xf5326a;_0x4dbf2c[_0x2b50a8(0xa2)](parallelTestRun,_0x3d832a,_0x4cabe0,_0x4ff851)[_0x2b50a8(0xf3)](_0x3969e5=>{const _0x891b43=_0x2b50a8;_0xf5326a=_0x3969e5,_0x4dbf2c['kNWNm'](printStats,_0x3969e5,_0x4bd5e3[_0x891b43(0xeb)],_0x4bd5e3['reporterOptions']||_0x4bd5e3[_0x4dbf2c[_0x891b43(0xc3)]]);})['finally'](async()=>{const _0x1df071=_0x2b50a8;_0x4ff851['errorMessage']=helper[_0x1df071(0xf1)](_0xf5326a,_0x4dbf2c[_0x1df071(0xbf)]),await helper['finalExecution'](_0x4ff851),testOpsHelper[_0x1df071(0xdf)]();});}}function a26_0x473e(_0x3267f7,_0x22fec9){const _0x952a68=a26_0x952a();return a26_0x473e=function(_0x473e55,_0x458b22){_0x473e55=_0x473e55-0xa2;let _0x3b709e=_0x952a68[_0x473e55];return _0x3b709e;},a26_0x473e(_0x3267f7,_0x22fec9);}module[a26_0x28b3ef(0xb0)]=run;
2
+ 'use strict';const a26_0x86b02e=a26_0x23fa;(function(_0xdd2e,_0x311290){const _0x5eb0a9=a26_0x23fa,_0x26b9c1=_0xdd2e();while(!![]){try{const _0x46a51b=parseInt(_0x5eb0a9(0x277))/0x1+parseInt(_0x5eb0a9(0x216))/0x2+-parseInt(_0x5eb0a9(0x2af))/0x3+parseInt(_0x5eb0a9(0x236))/0x4*(-parseInt(_0x5eb0a9(0x2bb))/0x5)+parseInt(_0x5eb0a9(0x254))/0x6*(-parseInt(_0x5eb0a9(0x2a2))/0x7)+-parseInt(_0x5eb0a9(0x281))/0x8*(-parseInt(_0x5eb0a9(0x228))/0x9)+parseInt(_0x5eb0a9(0x237))/0xa*(parseInt(_0x5eb0a9(0x203))/0xb);if(_0x46a51b===_0x311290)break;else _0x26b9c1['push'](_0x26b9c1['shift']());}catch(_0x3e1de1){_0x26b9c1['push'](_0x26b9c1['shift']());}}}(a26_0x453a,0x3c319));function a26_0x23fa(_0x16be4a,_0x70e4fa){const _0x453a87=a26_0x453a();return a26_0x23fa=function(_0x23fa28,_0x16349e){_0x23fa28=_0x23fa28-0x1d1;let _0x2f9cde=_0x453a87[_0x23fa28];return _0x2f9cde;},a26_0x23fa(_0x16be4a,_0x70e4fa);}const chalk=require(a26_0x86b02e(0x204)),logger=require(a26_0x86b02e(0x241))[a26_0x86b02e(0x282)],{default:BrowserStackSetup}=require(a26_0x86b02e(0x276)),helper=require(a26_0x86b02e(0x242)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule}=require(a26_0x86b02e(0x242)),{getPercyOptions}=require(a26_0x86b02e(0x29f)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a26_0x86b02e(0x246));function tag(_0x51516d,_0x1bdfb3,_0xab95b4,_0x4ab052){const _0x1c2322=a26_0x86b02e,_0x5481b5={'LEQpZ':function(_0x341c0d,_0xc430a9){return _0x341c0d+_0xc430a9;},'qAZfV':function(_0x25aed1,_0xe0ef4){return _0x25aed1+_0xe0ef4;},'gotdb':function(_0x42ee7e,_0x400140){return _0x42ee7e(_0x400140);},'MhbpZ':function(_0x10b7e2,_0x303d6a){return _0x10b7e2+_0x303d6a;},'cdEIL':function(_0xee02f3,_0x3e4310){return _0xee02f3+_0x3e4310;},'bDyjk':function(_0x2c5f68,_0x54861e){return _0x2c5f68+_0x54861e;},'bHRTO':function(_0x1b9a04,_0x304d04){return _0x1b9a04+_0x304d04;}},_0x197373=_0xab95b4?'/>':'>',_0x556d81=[];let _0x423f6e;for(const _0x20af0e in _0x1bdfb3){Object[_0x1c2322(0x24c)]['hasOwnProperty'][_0x1c2322(0x21e)](_0x1bdfb3,_0x20af0e)&&_0x556d81['push'](_0x5481b5[_0x1c2322(0x25f)](_0x5481b5[_0x1c2322(0x274)](_0x5481b5[_0x1c2322(0x25f)](_0x20af0e,'=\x22'),_0x5481b5['gotdb'](escape,_0x1bdfb3[_0x20af0e])),'\x22'));}return _0x423f6e=_0x5481b5['MhbpZ'](_0x5481b5[_0x1c2322(0x274)](_0x5481b5['cdEIL']('<',_0x51516d),_0x556d81[_0x1c2322(0x230)]?_0x5481b5[_0x1c2322(0x25f)]('\x20',_0x556d81[_0x1c2322(0x1e4)]('\x20')):''),_0x197373),_0x4ab052&&(_0x423f6e+=_0x5481b5[_0x1c2322(0x25f)](_0x5481b5[_0x1c2322(0x1d9)](_0x5481b5[_0x1c2322(0x2b5)](_0x4ab052,'</'),_0x51516d),_0x197373)),_0x423f6e;}let xunitContent='';function xunitWrite(_0x3cc9da){xunitContent+=_0x3cc9da;}function xunitTest(_0x582a6a,_0x5ef83f){const _0x333d0b=a26_0x86b02e,_0x1ccdb5={'mYXef':function(_0x587cad,_0x5a1dc8){return _0x587cad/_0x5a1dc8;},'puzTl':function(_0xf089d1,_0x27f660){return _0xf089d1===_0x27f660;},'KDNOn':'failed','VncXm':function(_0x52a64a,_0x5a183b){return _0x52a64a+_0x5a183b;},'QbIkL':function(_0x36eefe,_0x2928c8){return _0x36eefe(_0x2928c8);},'STrUx':function(_0x195bb9,_0x3ff116,_0x312001,_0x768da3,_0x420aa3){return _0x195bb9(_0x3ff116,_0x312001,_0x768da3,_0x420aa3);},'AREHw':'testcase','QTNnb':'failure','RhTvJ':function(_0x466abc,_0x2f68f7){return _0x466abc(_0x2f68f7);},'UUiuV':function(_0x1e0677,_0x565d0c,_0x30aa6e,_0x165443,_0x24442e){return _0x1e0677(_0x565d0c,_0x30aa6e,_0x165443,_0x24442e);},'vquvp':function(_0x3dcc02,_0x36977a,_0x1111f8,_0x835a4d){return _0x3dcc02(_0x36977a,_0x1111f8,_0x835a4d);},'JBiGK':_0x333d0b(0x22a),'HtfLa':function(_0x458910,_0x59135b){return _0x458910(_0x59135b);}};Base[_0x333d0b(0x29d)]=![];var _0x4c2c85={'classname':_0x582a6a['fullTitle'],'name':_0x582a6a[_0x333d0b(0x26e)],'time':_0x1ccdb5['mYXef'](_0x582a6a['duration'],0x3e8)||0x0,'platform':_0x5ef83f};if(_0x1ccdb5[_0x333d0b(0x2bc)](_0x582a6a['state'],_0x1ccdb5[_0x333d0b(0x2a9)])){var _0x4b546f=_0x582a6a['err'],_0x43e6d3=!Base[_0x333d0b(0x1ef)]&&Base[_0x333d0b(0x25c)](_0x4b546f)?_0x1ccdb5[_0x333d0b(0x24d)]('\x0a',Base[_0x333d0b(0x1f8)](_0x4b546f['actual'],_0x4b546f[_0x333d0b(0x225)])):'';_0x1ccdb5['QbIkL'](xunitWrite,_0x1ccdb5[_0x333d0b(0x27c)](tag,_0x1ccdb5['AREHw'],_0x4c2c85,![],_0x1ccdb5[_0x333d0b(0x27c)](tag,_0x1ccdb5[_0x333d0b(0x28d)],{},![],_0x1ccdb5[_0x333d0b(0x24d)](_0x1ccdb5[_0x333d0b(0x24d)](_0x1ccdb5[_0x333d0b(0x24d)](_0x1ccdb5[_0x333d0b(0x215)](escape,_0x4b546f[_0x333d0b(0x22f)]),_0x1ccdb5['QbIkL'](escape,_0x43e6d3)),'\x0a'),_0x1ccdb5[_0x333d0b(0x215)](escape,_0x4b546f[_0x333d0b(0x280)])))));}else _0x582a6a[_0x333d0b(0x222)]?_0x1ccdb5[_0x333d0b(0x1fc)](xunitWrite,_0x1ccdb5['UUiuV'](tag,_0x1ccdb5[_0x333d0b(0x279)],_0x4c2c85,![],_0x1ccdb5[_0x333d0b(0x266)](tag,_0x1ccdb5[_0x333d0b(0x29a)],{},!![]))):_0x1ccdb5[_0x333d0b(0x296)](xunitWrite,_0x1ccdb5[_0x333d0b(0x266)](tag,_0x1ccdb5['AREHw'],_0x4c2c85,!![]));};function getStats(_0x4296ee){const _0x3a2392=a26_0x86b02e,_0x5baea1={};_0x5baea1[_0x3a2392(0x2b7)]=_0x3a2392(0x294),_0x5baea1[_0x3a2392(0x26f)]=_0x3a2392(0x2b1),_0x5baea1[_0x3a2392(0x1f0)]=_0x3a2392(0x2aa),_0x5baea1[_0x3a2392(0x251)]=_0x3a2392(0x1f4);const _0x3b2a19=_0x5baea1,_0x1bd8cd=Object[_0x3a2392(0x217)](_0x4296ee);let _0x20dc6b=0x0,_0x3d4f20=0x0,_0x2376ac=0x0,_0x31af98=0x0;const _0x2b816e=new Set();_0x1bd8cd[_0x3a2392(0x201)](_0x5e1352=>{const _0x36e89b=_0x3a2392,_0x5de0ef={};_0x5de0ef[_0x36e89b(0x1f3)]=_0x3b2a19[_0x36e89b(0x2b7)],_0x5de0ef[_0x36e89b(0x27b)]=_0x3b2a19[_0x36e89b(0x26f)],_0x5de0ef[_0x36e89b(0x2a0)]=_0x3b2a19[_0x36e89b(0x1f0)];const _0x177139=_0x5de0ef;_0x4296ee[_0x5e1352][_0x3b2a19[_0x36e89b(0x251)]]['forEach'](_0x1aa38d=>{const _0x2efb35=_0x36e89b;_0x2b816e[_0x2efb35(0x28f)](_0x1aa38d[_0x177139[_0x2efb35(0x1f3)]]),_0x20dc6b++;switch(_0x1aa38d[_0x2efb35(0x264)]){case _0x177139[_0x2efb35(0x27b)]:_0x2376ac++;break;case _0x177139['Rhnee']:_0x3d4f20++;break;default:_0x31af98++;}});});const _0x42cff9={};return _0x42cff9['testSuites']=_0x2b816e[_0x3a2392(0x267)],_0x42cff9[_0x3a2392(0x297)]=_0x1bd8cd,_0x42cff9['totalTests']=_0x20dc6b,_0x42cff9[_0x3a2392(0x291)]=_0x3d4f20,_0x42cff9[_0x3a2392(0x2a8)]=_0x2376ac,_0x42cff9[_0x3a2392(0x2ba)]=_0x31af98,_0x42cff9;}function errorJSON(_0x1eb71e){const _0x4b99ae=a26_0x86b02e;var _0x25631d={};return Object['getOwnPropertyNames'](_0x1eb71e)[_0x4b99ae(0x201)](function(_0x4391a9){_0x25631d[_0x4391a9]=_0x1eb71e[_0x4391a9];},_0x1eb71e),_0x25631d;}function cleanCycles(_0x5a357c){const _0x51560d=a26_0x86b02e,_0x52e51f={};_0x52e51f[_0x51560d(0x20a)]=function(_0x46ffed,_0x2aeed9){return _0x46ffed===_0x2aeed9;},_0x52e51f['nLwlA']=_0x51560d(0x2b6),_0x52e51f[_0x51560d(0x214)]=function(_0x392dc8,_0xc656ba){return _0x392dc8!==_0xc656ba;},_0x52e51f[_0x51560d(0x25d)]=function(_0x8b0d23,_0x2f56be){return _0x8b0d23!==_0x2f56be;},_0x52e51f['pNUTl']=function(_0x296f3a,_0x50f2ff){return _0x296f3a+_0x50f2ff;};const _0x3d68f9=_0x52e51f;var _0x319c88=[];return JSON[_0x51560d(0x239)](JSON['stringify'](_0x5a357c,function(_0x315b73,_0x1119d4){const _0x53f37d=_0x51560d;if(_0x3d68f9['YLpql'](typeof _0x1119d4,_0x3d68f9[_0x53f37d(0x1ed)])&&_0x3d68f9['MZrge'](_0x1119d4,null)){if(_0x3d68f9[_0x53f37d(0x25d)](_0x319c88[_0x53f37d(0x29e)](_0x1119d4),-0x1))return _0x3d68f9['pNUTl']('',_0x1119d4);_0x319c88[_0x53f37d(0x256)](_0x1119d4);}return _0x1119d4;}));}function clean(_0x1a48d8){const _0x2b29ba=a26_0x86b02e,_0x43e2d7={'LiIOb':function(_0x378dfb,_0x1a6797){return _0x378dfb instanceof _0x1a6797;},'dGVru':function(_0x4a4a00,_0x175296){return _0x4a4a00(_0x175296);},'QBnBS':function(_0x3a3701,_0x3ed832){return _0x3a3701(_0x3ed832);}};var _0x1fbcfc=_0x1a48d8[_0x2b29ba(0x1dd)]||{};return _0x43e2d7[_0x2b29ba(0x1e8)](_0x1fbcfc,Error)&&(_0x1fbcfc=_0x43e2d7['dGVru'](errorJSON,_0x1fbcfc)),{'title':_0x1a48d8[_0x2b29ba(0x26e)],'fullTitle':_0x1a48d8[_0x2b29ba(0x269)],'file':_0x1a48d8[_0x2b29ba(0x1ff)],'duration':_0x1a48d8[_0x2b29ba(0x273)],'currentRetry':_0x1a48d8[_0x2b29ba(0x238)],'speed':_0x1a48d8[_0x2b29ba(0x229)],'err':_0x43e2d7['QBnBS'](cleanCycles,_0x1fbcfc)};}function a26_0x453a(){const _0x599958=['results','consoleLog','Running\x20your\x20mocha\x20tests','accessibility','generateDiff','sPGUp','yellow','ODVrB','RhTvJ','Writing\x20xunit\x20result\x20to\x20file','passes','file','useW3C','forEach','list','1111IcdPTs','chalk','Writing\x20json\x20result\x20to\x20file','mocha','CrzRg','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','EETnP','YLpql','WycOh','Couldn\x27t\x20write\x20json\x20result\x20to','FaiUL','prepareCapabilities','config','oELSO','KLcDR','lcZeA','\x0a\x0a\x0a','MZrge','QbIkL','669826evJrju','keys','ruRjK','info','includes','UFSuT','assign','notifyUpdate','call','IVvqE','failures','\x20passed','isPending','testsuite','bgRedBright','expected','Running\x20your\x20mocha\x20tests\x20across\x20','DjjfW','912294YEpAAY','speed','skipped','bnsVC','Couldn\x27t\x20write\x20xunit\x20result\x20to','Tmqie','BROWSERSTACK_TEST_OBSERVABILITY','message','length','Printing\x20stats\x20of\x20tests','Now,\x20showing\x20logs\x20from\x20mocha','aRIMu','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Total\x20Platforms:\x20','4012gTLcqP','43630faNfSf','currentRetry','parse','exaYy','isBrowserstackInfra','Total\x20Suites:\x20','--disable-browserstack-automation','frMOZ','log','--disable-test-observability','../../helpers/logger','../../helpers/helper','proxySettings','red','AJoco','../utils/constants','printBuildLink','yeOKd','shouldReRunObservabilityTests','JuWux','PpBVl','prototype','VncXm','</testsuite>','rerunTests','fireFunnelTestEvent','MLXTA','ilvcp','has','1290DuqNKd','qmXaE','push','mjs','tpSfB','debug','cliConfig','BROWSERSTACK_TEST_OBSERVABILITY_YML','showDiff','gCYlT','cjs','LEQpZ','BROWSERSTACK_AUTOMATION','YQRyN','xunit','reporterOptions','state','getErrorMessageFromResults','vquvp','size','bgBlueBright','fullTitle','AmmVv','BHXhl','spec','mQmLk','title','CsrXK','extension','ZKKaD','skKnt','duration','qAZfV','PopGy','../../helpers/BrowserStackSetup','45058RRAIPm','ErMWN','AREHw','ahsdh','tJBKN','STrUx','writeFileSync','fSZag','FYOCp','stack','32cFhDrC','winstonLogger','\x20total','bold','DOWXk','NkVxC','daVyk','parallelsPerPlatform','FRAMEWORKS','RmQrz','isTestObservabilitySession','suiteName','QTNnb','\x20failed','add','MCpEb','testsFailed','testObservability','rGRRJ','suite','ADYJk','HtfLa','platforms','toUTCString','ySUlK','JBiGK','logLevel','xojSm','useColors','indexOf','../../helpers/percy/utils','Rhnee','handleApp','10024YYTdSA','RgsUJ','gUuhz','getPlatformName','BpCUw','kHLAI','testsPassed','KDNOn','failed','dACDE','Tests:\x20\x20\x20\x20\x20\x20\x20','platform','BROWSERSTACK_RERUN_TESTS','730152mXvRyO','finally','passed','validPlatformsPresent','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getUserWorkerCount','bHRTO','object','qvMkm','errorMessage','output','testsPending','2135vBKpTF','puzTl','kJigQ','EXrmI','stringify','qzRCV','env','rootHooks','testSuites','isUndefined','bDyjk','mjwZq','reporter','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','err','then','bZLHT','FltiL','argv','Mocha\x20Tests','accessibilityOptions','join','initialize','lsndU','MOCHA','LiIOb','framework','titlePath','\x20skipped','ldDyl','nLwlA','wtNMl','hideDiff','VKNIx','doc','utyWl','Ebypz'];a26_0x453a=function(){return _0x599958;};return a26_0x453a();}function printStats(_0xc48bfb,_0x2870f3=a26_0x86b02e(0x26c),_0x20e8eb={}){const _0xdc41e5=a26_0x86b02e,_0x167760={'ruRjK':function(_0x388297,_0x56df05){return _0x388297(_0x56df05);},'PopGy':function(_0x464f2d,_0x8f34d0){return _0x464f2d===_0x8f34d0;},'RmQrz':'passed','MCpEb':_0xdc41e5(0x1fe),'mjwZq':_0xdc41e5(0x2aa),'IVvqE':_0xdc41e5(0x220),'LUBgi':function(_0x283995,_0x5edadd){return _0x283995(_0x5edadd);},'ldDyl':'pending','FYOCp':_0xdc41e5(0x1f4),'wwNNR':function(_0xbfec08,_0x2cd3f7){return _0xbfec08*_0x2cd3f7;},'EETnP':function(_0x5f1b3d,_0x3ffa5d,_0xd88d46){return _0x5f1b3d(_0x3ffa5d,_0xd88d46);},'yeOKd':function(_0x85fe67,_0xd80415){return _0x85fe67>_0xd80415;},'ZEBuy':function(_0x351a51){return _0x351a51();},'fSZag':function(_0x74c5d0,_0x3a1aa4){return _0x74c5d0===_0x3a1aa4;},'EXrmI':_0xdc41e5(0x1f1),'ilvcp':function(_0x13f718,_0x5a8135){return _0x13f718(_0x5a8135);},'AJoco':'Setting\x20non\x20exit\x20code\x20for\x20failures','AmmVv':_0xdc41e5(0x231),'oELSO':function(_0x1ab3fa,_0x206c14){return _0x1ab3fa+_0x206c14;},'skKnt':_0xdc41e5(0x235),'FaiUL':function(_0x2f4762,_0x2f5840){return _0x2f4762+_0x2f5840;},'Tmqie':_0xdc41e5(0x23c),'rGRRJ':_0xdc41e5(0x2ac),'qzRCV':function(_0x23f912,_0xf4c6ce){return _0x23f912>_0xf4c6ce;},'KLcDR':function(_0x2ff33e,_0x3827d8){return _0x2ff33e>_0x3827d8;},'PpBVl':function(_0x4563a5,_0x2bd3c9){return _0x4563a5+_0x2bd3c9;},'tekEH':function(_0x440b69,_0x4a04bc){return _0x440b69+_0x4a04bc;},'gYITB':function(_0x75f5dc,_0x19c0de){return _0x75f5dc+_0x19c0de;},'jGXwU':_0xdc41e5(0x213),'sPGUp':'json','SQDbY':_0xdc41e5(0x205),'gUuhz':_0xdc41e5(0x20c),'BTfvk':_0xdc41e5(0x208),'lcZeA':_0xdc41e5(0x262),'lsndU':_0xdc41e5(0x1e2),'ADYJk':function(_0x49d1ed,_0x2f56d1){return _0x49d1ed||_0x2f56d1;},'qmXaE':function(_0x150746,_0x5e33db){return _0x150746(_0x5e33db);},'BHXhl':function(_0x4475ff,_0x2268b1,_0x4e6f8c,_0x32b96b){return _0x4475ff(_0x2268b1,_0x4e6f8c,_0x32b96b);},'exaYy':_0xdc41e5(0x223),'BIjGN':function(_0x6f80c8,_0x59cde8){return _0x6f80c8-_0x59cde8;},'IHlqs':function(_0x2224c3,_0x2c578e){return _0x2224c3-_0x2c578e;},'JuWux':function(_0x20e7c3,_0x3ee5d2){return _0x20e7c3/_0x3ee5d2;},'icvsb':function(_0x4c72e1,_0x5c1eba){return _0x4c72e1(_0x5c1eba);},'ahsdh':_0xdc41e5(0x24e),'kJigQ':_0xdc41e5(0x1fd),'ErMWN':_0xdc41e5(0x22c),'DOWXk':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','WJPzx':function(_0x10f550,_0x29ea20){return _0x10f550===_0x29ea20;},'BpCUw':'Listing\x20all\x20the\x20failures','FltiL':'****\x20FAILURES\x20****'};if(_0x167760[_0xdc41e5(0x27e)](_0x2870f3,_0x167760[_0xdc41e5(0x1d2)]))return;const _0x3b7685=0x0,_0x14d252=()=>{const _0x5a2309=_0xdc41e5;return _0x167760['ruRjK'](Array,_0x3b7685)[_0x5a2309(0x1e4)]('\x20\x20');},{testSuites:_0x182b57,platforms:_0x1dc6ab,totalTests:_0x17bb04,testsFailed:_0x96a7f6,testsPassed:_0x42b5e2,testsPending:_0x1a6bfb}=_0x167760[_0xdc41e5(0x252)](getStats,_0xc48bfb);_0x167760[_0xdc41e5(0x248)](_0x96a7f6,0x0)&&(logger[_0xdc41e5(0x259)](_0x167760[_0xdc41e5(0x245)]),process['exitCode']=Math['min'](_0x96a7f6,0xff));logger[_0xdc41e5(0x259)](_0x167760[_0xdc41e5(0x26a)]);const _0x381ad5=''+_0x167760['oELSO'](chalk['bold'](_0x167760[_0xdc41e5(0x272)]),_0x1dc6ab[_0xdc41e5(0x230)]),_0x5f53d8=''+_0x167760[_0xdc41e5(0x20d)](chalk[_0xdc41e5(0x284)](_0x167760[_0xdc41e5(0x22d)]),_0x182b57),_0x10a4d3=''+_0x167760['FaiUL'](_0x167760[_0xdc41e5(0x210)](_0x167760['oELSO'](chalk[_0xdc41e5(0x284)](_0x167760[_0xdc41e5(0x293)]),_0x167760[_0xdc41e5(0x248)](_0x96a7f6,0x0)?chalk[_0xdc41e5(0x284)][_0xdc41e5(0x244)](_0x96a7f6+_0xdc41e5(0x28e))+',\x20':''),_0x167760[_0xdc41e5(0x1d4)](_0x1a6bfb,0x0)?chalk['bold'][_0xdc41e5(0x1fa)](_0x1a6bfb+_0xdc41e5(0x1eb))+',\x20':''),_0x167760[_0xdc41e5(0x211)](_0x42b5e2,0x0)?chalk[_0xdc41e5(0x284)]['green'](_0x42b5e2+_0xdc41e5(0x221))+',\x20':'')+_0x17bb04+_0xdc41e5(0x283);console[_0xdc41e5(0x23f)](_0x167760[_0xdc41e5(0x20d)](_0x167760['FaiUL'](_0x167760[_0xdc41e5(0x24b)](_0x167760['tekEH'](_0x167760['gYITB'](_0x167760['jGXwU'],_0x381ad5),'\x0a'),_0x5f53d8),'\x0a'),_0x10a4d3));if(_0x167760[_0xdc41e5(0x27e)](_0x2870f3,_0x167760[_0xdc41e5(0x1f9)])){const _0x5a0d6a={},_0x2689be={};_0x2689be[_0xdc41e5(0x1d7)]=_0x182b57,_0x2689be['platforms']=_0x1dc6ab,_0x2689be[_0xdc41e5(0x291)]=_0x96a7f6,_0x2689be['testsPassed']=_0x42b5e2,_0x2689be[_0xdc41e5(0x2ba)]=_0x1a6bfb,_0x5a0d6a['stats']=_0x2689be,_0x1dc6ab['forEach'](_0x12c90b=>{const _0x430e57=_0xdc41e5,_0x4391f9={'frMOZ':function(_0x1b4afb,_0x344d95){const _0x26e31e=a26_0x23fa;return _0x167760[_0x26e31e(0x275)](_0x1b4afb,_0x344d95);},'aRIMu':_0x167760[_0x430e57(0x28a)],'daVyk':_0x167760[_0x430e57(0x290)],'CrzRg':function(_0x19cde7,_0x46c5cf){const _0x59885e=_0x430e57;return _0x167760[_0x59885e(0x218)](_0x19cde7,_0x46c5cf);},'ODVrB':_0x167760[_0x430e57(0x1da)],'bnsVC':_0x167760[_0x430e57(0x21f)],'bZLHT':function(_0x19d34c,_0xed3477){return _0x167760['LUBgi'](_0x19d34c,_0xed3477);},'RLVef':_0x167760[_0x430e57(0x1ec)]};_0x5a0d6a[_0x12c90b]={'pending':[],'failures':[],'passes':[],'tests':_0xc48bfb[_0x12c90b][_0x167760['FYOCp']]['map'](clean)},_0xc48bfb[_0x12c90b][_0x167760[_0x430e57(0x27f)]][_0x430e57(0x201)](_0x42a121=>{const _0x3985ff=_0x430e57;if(_0x4391f9[_0x3985ff(0x23e)](_0x42a121[_0x3985ff(0x264)],_0x4391f9[_0x3985ff(0x233)]))_0x5a0d6a[_0x12c90b][_0x4391f9[_0x3985ff(0x287)]][_0x3985ff(0x256)](_0x4391f9[_0x3985ff(0x207)](clean,_0x42a121));else _0x4391f9[_0x3985ff(0x23e)](_0x42a121['state'],_0x4391f9[_0x3985ff(0x1fb)])?_0x5a0d6a[_0x12c90b][_0x4391f9[_0x3985ff(0x22b)]][_0x3985ff(0x256)](_0x4391f9['bZLHT'](clean,_0x42a121)):_0x5a0d6a[_0x12c90b][_0x4391f9['RLVef']][_0x3985ff(0x256)](_0x4391f9[_0x3985ff(0x1df)](clean,_0x42a121));});});if(_0x20e8eb[_0xdc41e5(0x2b9)])try{logger[_0xdc41e5(0x259)](_0x167760['SQDbY'],_0x20e8eb[_0xdc41e5(0x2b9)]),fs['writeFileSync'](_0x20e8eb['output'],JSON[_0xdc41e5(0x1d3)](_0x5a0d6a,null,0x3));}catch(_0x490ea5){logger['error'](_0x167760[_0xdc41e5(0x2a4)],_0x20e8eb[_0xdc41e5(0x2b9)]),logger[_0xdc41e5(0x259)](_0x490ea5);}else logger[_0xdc41e5(0x259)](_0x167760['BTfvk']),console['log'](JSON['stringify'](_0x5a0d6a,null,0x3));}else{if(_0x167760[_0xdc41e5(0x27e)](_0x2870f3,_0x167760[_0xdc41e5(0x212)])){let _0x4bb280;const _0x46eb1b=_0x167760[_0xdc41e5(0x1e6)];_0x20e8eb&&(_0x4bb280=_0x20e8eb[_0xdc41e5(0x28c)]);_0x4bb280=_0x167760[_0xdc41e5(0x295)](_0x4bb280,_0x46eb1b);let _0x3e5fde=0x0,_0x3afa06=0x0,_0xeb19b8=0x0,_0x3922d0=0x0;_0x1dc6ab[_0xdc41e5(0x201)](_0x361990=>{const _0x1287ef=_0xdc41e5,_0x2241a0={'ySUlK':function(_0x218a3a,_0xc181c4){return _0x167760['PopGy'](_0x218a3a,_0xc181c4);},'xojSm':_0x167760['RmQrz'],'quPKf':_0x167760[_0x1287ef(0x1da)],'oouDF':function(_0x63e9fa,_0x10d656){return _0x167760['wwNNR'](_0x63e9fa,_0x10d656);}};_0xc48bfb[_0x361990][_0x167760[_0x1287ef(0x27f)]][_0x1287ef(0x201)](_0x4e928e=>{const _0x2b955f=_0x1287ef;if(_0x2241a0[_0x2b955f(0x299)](_0x4e928e[_0x2b955f(0x264)],_0x2241a0[_0x2b955f(0x29c)]))_0x3e5fde++;else _0x2241a0[_0x2b955f(0x299)](_0x4e928e['state'],_0x2241a0['quPKf'])&&_0x3afa06++;_0xeb19b8++,_0x3922d0+=_0x2241a0['oouDF'](_0x4e928e['duration'],0x1);});}),_0x167760[_0xdc41e5(0x255)](xunitWrite,_0x167760[_0xdc41e5(0x26b)](tag,_0x167760[_0xdc41e5(0x23a)],{'name':_0x4bb280,'tests':_0xeb19b8,'failures':0x0,'errors':_0x3afa06,'skipped':_0x167760['BIjGN'](_0x167760['IHlqs'](_0xeb19b8,_0x3afa06),_0x3e5fde),'timestamp':new Date()[_0xdc41e5(0x298)](),'time':_0x167760[_0xdc41e5(0x24a)](_0x3922d0,0x3e8)||0x0},![])),_0x1dc6ab[_0xdc41e5(0x201)](_0x214910=>{const _0x5c665f=_0xdc41e5,_0x4bced1={'tpSfB':function(_0x822609,_0x4ac1ea,_0x9f0b02){const _0x3ce63c=a26_0x23fa;return _0x167760[_0x3ce63c(0x209)](_0x822609,_0x4ac1ea,_0x9f0b02);}};_0xc48bfb[_0x214910][_0x167760[_0x5c665f(0x27f)]][_0x5c665f(0x201)](_0x4f8db9=>{const _0x364f34=_0x5c665f;_0x4bced1[_0x364f34(0x258)](xunitTest,_0x4f8db9,_0x214910);});}),_0x167760['icvsb'](xunitWrite,_0x167760[_0xdc41e5(0x27a)]);if(_0x20e8eb[_0xdc41e5(0x2b9)])try{logger['debug'](_0x167760[_0xdc41e5(0x1d1)],_0x20e8eb[_0xdc41e5(0x2b9)]),fs[_0xdc41e5(0x27d)](_0x20e8eb[_0xdc41e5(0x2b9)],xunitContent);}catch(_0x37faca){logger['error'](_0x167760[_0xdc41e5(0x278)],_0x20e8eb['output']),logger[_0xdc41e5(0x259)](_0x37faca);}else logger[_0xdc41e5(0x259)](_0x167760[_0xdc41e5(0x285)]),console[_0xdc41e5(0x23f)](xunitContent);}else{if(_0x167760['WJPzx'](_0x96a7f6,0x0))return;console['log'](),logger['debug'](_0x167760[_0xdc41e5(0x2a6)]),console[_0xdc41e5(0x23f)](chalk['bold'][_0xdc41e5(0x224)](_0x167760[_0xdc41e5(0x1e0)])),_0x1dc6ab[_0xdc41e5(0x201)](_0x37e95d=>{const _0x2b4b96=_0xdc41e5,_0x14d1b2=[];_0xc48bfb[_0x37e95d][_0x167760['FYOCp']][_0x2b4b96(0x201)](_0x25b974=>{const _0x4560ef=_0x2b4b96;_0x167760[_0x4560ef(0x275)](_0x25b974[_0x4560ef(0x264)],_0x167760[_0x4560ef(0x1da)])&&(_0x25b974[_0x4560ef(0x1ea)]=()=>_0x25b974['titlePathV'],_0x14d1b2['push'](_0x25b974));}),_0x167760[_0x2b4b96(0x248)](_0x14d1b2['length'],0x0)&&(Base[_0x2b4b96(0x1f5)](),Base[_0x2b4b96(0x1f5)](_0x167760['ZEBuy'](_0x14d252),chalk[_0x2b4b96(0x284)][_0x2b4b96(0x268)](_0x37e95d)),Base[_0x2b4b96(0x202)](_0x14d1b2));});}}}async function run(_0x40ade2,_0x21bcc8){const _0x178143=a26_0x86b02e,_0xa74dc5={'mQmLk':function(_0x33e451,_0x2e0eeb,_0x1c5377,_0x52d7b5){return _0x33e451(_0x2e0eeb,_0x1c5377,_0x52d7b5);},'DjjfW':'reporter-option','RYxGt':'SDKTestSuccessful','gNfgi':function(_0x357eff,_0x570a14,_0x9ecf2f,_0x3d07c7){return _0x357eff(_0x570a14,_0x9ecf2f,_0x3d07c7);},'utyWl':_0x178143(0x206),'ZKKaD':_0x178143(0x240),'YQRyN':_0x178143(0x23d),'TxTmb':function(_0x579208,_0x7fdfac){return _0x579208!=_0x7fdfac;},'WycOh':_0x178143(0x25e),'XBiPd':_0x178143(0x257),'RgsUJ':'test','wtNMl':_0x178143(0x24f),'UFSuT':function(_0x508e90,_0x6e7554){return _0x508e90(_0x6e7554);},'MVszV':_0x178143(0x1f6),'NkVxC':_0x178143(0x232),'dACDE':function(_0x31ef6b,_0x373a88){return _0x31ef6b*_0x373a88;},'kHLAI':function(_0x58fb0e,_0x552036){return _0x58fb0e!==_0x552036;}};process[_0x178143(0x1e1)]['includes'](_0xa74dc5[_0x178143(0x271)])&&(process['env'][_0x178143(0x22e)]=![]);process[_0x178143(0x1e1)][_0x178143(0x21a)](_0xa74dc5[_0x178143(0x261)])&&(process['env'][_0x178143(0x260)]=![]);const _0x5013fd=new BrowserStackSetup(_0x40ade2,_0xa74dc5[_0x178143(0x1f2)]);helper[_0x178143(0x23b)]()&&(await _0x5013fd[_0x178143(0x1e5)](),await helper[_0x178143(0x2a1)](_0x5013fd['config']));const _0x4d42ed=[];let _0x5d5965=[];if(!_0x5013fd['config'])return;_0xa74dc5['TxTmb'](_0x5013fd[_0x178143(0x20f)][_0x178143(0x292)],null)&&(process[_0x178143(0x1d5)][_0x178143(0x25b)]=_0x5013fd[_0x178143(0x20f)]['testObservability']);!helper[_0x178143(0x1d8)](_0x5013fd[_0x178143(0x20f)]['accessibility'])&&(process[_0x178143(0x1d5)][_0x178143(0x234)]=_0x5013fd[_0x178143(0x20f)][_0x178143(0x1f7)]);!helper[_0x178143(0x1d8)](_0x5013fd['config'][_0x178143(0x1e3)])&&(process[_0x178143(0x1d5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x178143(0x1d3)](_0x5013fd[_0x178143(0x20f)][_0x178143(0x1e3)]));const {extension:extension=['js',_0xa74dc5[_0x178143(0x20b)],_0xa74dc5['XBiPd']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0xa74dc5[_0x178143(0x2a3)]]}=_0x40ade2,_0x537394={..._0x40ade2};_0x537394[_0x178143(0x1d6)]=null;const _0x480a5f=_0x537394;let _0xf893cf;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x178143(0x249)]()){let _0x4753be=process[_0x178143(0x1d5)][_0x178143(0x2ae)];!helper[_0x178143(0x1d8)](_0x5013fd[_0x178143(0x25a)])&&_0x5013fd[_0x178143(0x25a)][_0x178143(0x253)](_0xa74dc5[_0x178143(0x1ee)])&&(_0x4753be=_0x5013fd[_0x178143(0x25a)]['get'](_0xa74dc5[_0x178143(0x1ee)])),_0xf893cf=testOpsHelper['parseFileNames'](_0x4753be);}if(helper[_0x178143(0x1d8)](_0xf893cf)){const _0xe58a7d={};_0xe58a7d['ignore']=ignore,_0xe58a7d[_0x178143(0x270)]=extension,_0xe58a7d['file']=file,_0xe58a7d['recursive']=recursive,_0xe58a7d['sort']=sort,_0xe58a7d[_0x178143(0x26c)]=spec,_0xf893cf=_0xa74dc5['UFSuT'](collectFiles,_0xe58a7d);}helper['markSDKSetupComplete']();if(!helper['isBrowserstackInfra']()){const _0x5cfdae=0x1,_0x776827={..._0x480a5f};_0x776827['spec']=[..._0xf893cf],_0x4d42ed[_0x178143(0x256)]({'mochaOpts':_0x776827,'configuration':{'platform':os[_0x178143(0x2ad)]()}}),logger[_0x178143(0x219)](_0xa74dc5['MVszV']),logger[_0x178143(0x219)](_0xa74dc5['NkVxC']),_0xa74dc5[_0x178143(0x26d)](parallelTestRun,_0x4d42ed,_0x5cfdae,_0x5013fd)['then'](_0x3d0d76=>{const _0x5de7ed=_0x178143;_0xa74dc5[_0x5de7ed(0x26d)](printStats,_0x3d0d76,_0x40ade2[_0x5de7ed(0x1db)],_0x40ade2[_0x5de7ed(0x263)]||_0x40ade2[_0xa74dc5[_0x5de7ed(0x227)]]);})['finally'](()=>{const _0x5c5aa9=_0x178143;try{helper[_0x5c5aa9(0x250)](_0xa74dc5['RYxGt'],{},_0x5013fd[_0x5c5aa9(0x20f)],_0x5013fd[_0x5c5aa9(0x1e9)]);}catch(_0x168ffd){logger[_0x5c5aa9(0x259)](_0x5c5aa9(0x2b3)+_0x168ffd);}try{helper[_0x5c5aa9(0x21d)]();}catch(_0x1cd9a0){logger[_0x5c5aa9(0x259)](_0x5c5aa9(0x1dc)+_0x1cd9a0);}testOpsHelper[_0x5c5aa9(0x247)]();});}else{const _0x314682=helper[_0x178143(0x200)](_0x5013fd[_0x178143(0x20f)]),_0x234a62=helper['getHubUrl'](_0x5013fd[_0x178143(0x20f)]);_0x5d5965=helper[_0x178143(0x20e)](_0x5013fd[_0x178143(0x20f)],_0x314682,constants[_0x178143(0x289)][_0x178143(0x1e7)]);let _0x1131c7;const _0x4f4d5e=_0x5013fd[_0x178143(0x20f)][_0x178143(0x288)]||helper[_0x178143(0x2b4)](_0x40ade2,_0x21bcc8,_0x5013fd[_0x178143(0x20f)],constants[_0x178143(0x289)][_0x178143(0x1e7)])||0x1;helper[_0x178143(0x2b2)](_0x5013fd['config'])?_0x1131c7=_0xa74dc5[_0x178143(0x2ab)](_0x5013fd['config'][_0x178143(0x297)][_0x178143(0x230)],_0x4f4d5e):_0x1131c7=_0x4f4d5e;const _0x5a4310=_0xa74dc5[_0x178143(0x21b)](getPercyOptions,_0x5013fd['config']);if(_0xa74dc5[_0x178143(0x2a7)](_0x5013fd[_0x178143(0x20f)][_0x178143(0x288)],0x1))_0xf893cf[_0x178143(0x201)](_0x5af881=>{const _0x54ad1d=_0x178143,_0x52e2fa=[];_0x5d5965[_0x54ad1d(0x201)]((_0x506fd2,_0x75bdbb)=>{const _0x1b50e2=_0x54ad1d,_0x4f5cd0={};_0x4f5cd0[_0x1b50e2(0x26c)]=[_0x5af881],_0x52e2fa[_0x1b50e2(0x256)]({'mochaOpts':Object[_0x1b50e2(0x21c)]({},_0x480a5f,_0x4f5cd0),'configuration':{'server':_0x234a62,'capability':_0x506fd2,'proxySettings':_0x5013fd['config'][_0x1b50e2(0x243)],'platform':helper[_0x1b50e2(0x2a5)](_0x506fd2),'browserStackLogLevel':_0x5013fd[_0x1b50e2(0x20f)][_0x1b50e2(0x29b)],'platformIndex':_0x75bdbb,'browserStackPercyOptions':_0x5a4310,'platformCaps':_0x5013fd[_0x1b50e2(0x20f)][_0x1b50e2(0x297)][_0x75bdbb]}});}),_0x4d42ed[_0x54ad1d(0x256)](..._0x52e2fa);});else{const _0x5ec5d1=[];_0x5d5965[_0x178143(0x201)]((_0x338a6d,_0xf76ece)=>{const _0x34c640=_0x178143;let _0x5d42cc=Object[_0x34c640(0x21c)]({},_0x480a5f);testOpsHelper[_0x34c640(0x28b)]()&&testOpsHelper[_0x34c640(0x249)]()&&(_0x5d42cc={..._0x5d42cc,'spec':[..._0xf893cf]}),_0x5ec5d1[_0x34c640(0x256)]({'mochaOpts':_0x5d42cc,'configuration':{'server':_0x234a62,'capability':_0x338a6d,'proxySettings':_0x5013fd['config'][_0x34c640(0x243)],'platform':helper[_0x34c640(0x2a5)](_0x338a6d),'browserStackLogLevel':_0x5013fd['config'][_0x34c640(0x29b)],'platformIndex':_0xf76ece,'browserStackPercyOptions':_0x5a4310,'platformCaps':_0x5013fd[_0x34c640(0x20f)][_0x34c640(0x297)][_0xf76ece]}});}),_0x4d42ed[_0x178143(0x256)](..._0x5ec5d1);}logger[_0x178143(0x219)](_0x178143(0x226)+_0x5013fd[_0x178143(0x20f)]['platforms'][_0x178143(0x230)]+'\x20platforms'),logger[_0x178143(0x219)](_0xa74dc5[_0x178143(0x286)]);let _0x18ed79;_0xa74dc5[_0x178143(0x26d)](parallelTestRun,_0x4d42ed,_0x1131c7,_0x5013fd)[_0x178143(0x1de)](_0x53e40c=>{const _0x43d6b9=_0x178143;_0x18ed79=_0x53e40c,_0xa74dc5['gNfgi'](printStats,_0x53e40c,_0x40ade2[_0x43d6b9(0x1db)],_0x40ade2[_0x43d6b9(0x263)]||_0x40ade2[_0xa74dc5[_0x43d6b9(0x227)]]);})[_0x178143(0x2b0)](async()=>{const _0x4e7cca=_0x178143;_0x5013fd[_0x4e7cca(0x2b8)]=helper[_0x4e7cca(0x265)](_0x18ed79,_0xa74dc5[_0x4e7cca(0x1f2)]),await helper['finalExecution'](_0x5013fd),testOpsHelper[_0x4e7cca(0x247)]();});}}module['exports']=run;
@@ -1 +1 @@
1
- function a27_0x9a59(_0x565e63,_0x22b27c){const _0x2ae838=a27_0x2ae8();return a27_0x9a59=function(_0x9a59c5,_0x5025f6){_0x9a59c5=_0x9a59c5-0xa8;let _0x4b41a2=_0x2ae838[_0x9a59c5];return _0x4b41a2;},a27_0x9a59(_0x565e63,_0x22b27c);}const a27_0x10c959=a27_0x9a59;(function(_0x434415,_0x527bcb){const _0x43f10a=a27_0x9a59,_0x4ec4c3=_0x434415();while(!![]){try{const _0x18d1b9=parseInt(_0x43f10a(0xe2))/0x1+parseInt(_0x43f10a(0xea))/0x2+-parseInt(_0x43f10a(0x117))/0x3*(parseInt(_0x43f10a(0xfd))/0x4)+parseInt(_0x43f10a(0xcc))/0x5+-parseInt(_0x43f10a(0x106))/0x6+parseInt(_0x43f10a(0x10d))/0x7+-parseInt(_0x43f10a(0x102))/0x8;if(_0x18d1b9===_0x527bcb)break;else _0x4ec4c3['push'](_0x4ec4c3['shift']());}catch(_0x39ce53){_0x4ec4c3['push'](_0x4ec4c3['shift']());}}}(a27_0x2ae8,0xc5834));const logger=require(a27_0x10c959(0x114))[a27_0x10c959(0xc6)],helper=require(a27_0x10c959(0xe4)),constants=require(a27_0x10c959(0x10b)),hubAllocator=require(a27_0x10c959(0xc9)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x10c959(0x123)),{setAccessibilityCapabilities,setExtension}=require(a27_0x10c959(0xfb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x10c959(0xef)),globals=require(a27_0x10c959(0xd9)),modify=(_0x5e7a18,_0x235958=null,_0x132173=![])=>{const _0x263218=a27_0x10c959,_0x27bdb9={'VtDXV':function(_0x1b9ea7,_0x549406){return _0x1b9ea7!==_0x549406;},'nqHXp':_0x263218(0xc4),'CYLcz':function(_0x18e193,_0x6b1c12){return _0x18e193+_0x6b1c12;},'bsbiO':function(_0x546223,_0x5e6957){return _0x546223+_0x5e6957;},'SMobE':_0x263218(0xbd),'KGgbV':_0x263218(0x116),'XlOLL':_0x263218(0xa9),'EkZpo':_0x263218(0x113),'pmDFi':_0x263218(0x115),'wlkDx':_0x263218(0xcf),'rpVZP':_0x263218(0xce),'wSGRK':_0x263218(0xf8),'zdtLF':_0x263218(0xd3),'mURbt':_0x263218(0xf3),'xDPyz':_0x263218(0xb6),'yblRV':function(_0x37b81b,_0x446cf6){return _0x37b81b===_0x446cf6;},'wcpcj':_0x263218(0xbe),'GLWoV':_0x263218(0x124),'JHHWa':_0x263218(0xc7),'pPCXV':function(_0x59b0b7,_0xd0d380,_0x125970){return _0x59b0b7(_0xd0d380,_0x125970);},'LFNDU':function(_0x239c4f,_0xba6bef){return _0x239c4f(_0xba6bef);},'pCAsC':function(_0x24bbe8,_0x230b09,_0x1ae502){return _0x24bbe8(_0x230b09,_0x1ae502);},'cBKXg':_0x263218(0x10c),'FPEeZ':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','EUtAY':_0x263218(0xd4),'OXoVr':'isAccessibilityPlatform','ZFoIJ':function(_0x3a6cd0){return _0x3a6cd0();},'GWoxY':function(_0x1ade27,_0x2c4044){return _0x1ade27(_0x2c4044);},'tGqPv':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','YMpcd':function(_0x3268bd,_0x299852){return _0x3268bd!==_0x299852;},'sAwfT':_0x263218(0xde),'ftFVJ':'Modifying\x20webdriver\x20builder'},_0x469ebc=helper[_0x263218(0x121)]();let _0x2453b5;try{_0x2453b5=helper[_0x263218(0xfa)](),_0x2453b5[_0x263218(0xb2)]&&(_0x2453b5[_0x263218(0xe6)]=_0x2453b5[_0x263218(0xb2)]);}catch(_0x91cf8c){return;}if(helper['isBrowserstackInfra']()){const _0x25bc41={};_0x25bc41[_0x263218(0x110)]=_0x5e7a18[_0x263218(0x10e)],helper[_0x263218(0xf1)](_0x25bc41,new Map(),new Map()),logger[_0x263218(0xe7)](_0x27bdb9[_0x263218(0xad)]),logger[_0x263218(0xb9)](_0x27bdb9[_0x263218(0xe0)]);}class _0x57e18b extends _0x469ebc[_0x263218(0xf7)]{['send'](_0x3e0ceb){const _0x42fd9c=_0x263218;if(_0x27bdb9[_0x42fd9c(0x107)](_0x3e0ceb[_0x42fd9c(0xbf)],_0x27bdb9[_0x42fd9c(0x100)])&&_0x27bdb9[_0x42fd9c(0x107)](global[_0x42fd9c(0xd5)],''))try{global[_0x42fd9c(0xd5)]=_0x27bdb9[_0x42fd9c(0xbc)](_0x27bdb9['bsbiO'](_0x27bdb9[_0x42fd9c(0x125)],global['newHubUrl']),_0x27bdb9[_0x42fd9c(0xc3)]),this['options_']=hubAllocator[_0x42fd9c(0x11d)](global['newHubUrl']),logger[_0x42fd9c(0xb9)](_0x42fd9c(0xba)+global[_0x42fd9c(0xd5)]),global['newHubUrl']='';}catch(_0x4e9244){logger['error'](_0x4e9244);}return super['send'](_0x3e0ceb);}}class _0x4b4737 extends _0x2453b5[_0x263218(0xe6)]{[_0x263218(0xfe)](){const _0x2eb0e2=_0x263218;return this['url_']=helper[_0x2eb0e2(0x11a)](_0x5e7a18),logger[_0x2eb0e2(0xb9)](_0x2eb0e2(0xaa)+this[_0x2eb0e2(0xdd)]),this;}[_0x263218(0xd1)](_0x5d3b27){const _0x3711c3=_0x263218;let _0x2d2a10={};for(const _0x19139f in _0x5d3b27){switch(_0x19139f){case _0x27bdb9[_0x3711c3(0xae)]:case _0x27bdb9[_0x3711c3(0xac)]:this[_0x3711c3(0xf5)]&&(_0x2d2a10=this['chromeOptions_'][_0x3711c3(0xc0)](this[_0x3711c3(0xf5)][_0x3711c3(0xb1)])||{},this['chromeOptions_'][_0x3711c3(0x126)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9[_0x3711c3(0xc5)]:case _0x27bdb9[_0x3711c3(0xbb)]:this['edgeOptions_']&&(_0x2d2a10=this[_0x3711c3(0xb4)][_0x3711c3(0xc0)](this[_0x3711c3(0xb4)][_0x3711c3(0xb1)])||{},this[_0x3711c3(0xb4)][_0x3711c3(0x126)](this[_0x3711c3(0xb4)][_0x3711c3(0xb1)],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9['rpVZP']:case _0x27bdb9['wSGRK']:this['firefoxOptions_']&&(_0x2d2a10=this[_0x3711c3(0x119)][_0x3711c3(0xc0)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x3711c3(0x126)](this[_0x3711c3(0x119)]['CAPABILITY_KEY'],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9['zdtLF']:this[_0x3711c3(0x108)]&&(_0x2d2a10=this[_0x3711c3(0x108)][_0x3711c3(0xc0)](this[_0x3711c3(0x108)][_0x3711c3(0xb1)])||{},this['safariOptions_']['set'](this[_0x3711c3(0x108)][_0x3711c3(0xb1)],helper['mergeDeep'](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9[_0x3711c3(0xdc)]:case _0x27bdb9[_0x3711c3(0xdf)]:this['ieOptions_']&&(_0x2d2a10=this['ieOptions_'][_0x3711c3(0xc0)](this['ieOptions_'][_0x3711c3(0xb1)])||{},this[_0x3711c3(0xd2)][_0x3711c3(0x126)](this['ieOptions_'][_0x3711c3(0xb1)],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;}}}['setCapabilities'](){const _0x2f3035=_0x263218;return logger['debug'](_0x27bdb9[_0x2f3035(0x111)]),this[_0x2f3035(0xd1)](_0x5e7a18[_0x2f3035(0xb8)]),Object[_0x2f3035(0x11e)](_0x5e7a18['capability'])[_0x2f3035(0xeb)](_0x117755=>{const _0x45e03b=_0x2f3035,_0x5e5f55=this['capabilities_'][_0x45e03b(0xc0)](_0x117755);_0x27bdb9[_0x45e03b(0xff)](typeof _0x5e5f55,_0x27bdb9[_0x45e03b(0xe5)])?this[_0x45e03b(0xcd)]['set'](_0x117755,helper[_0x45e03b(0xb3)](_0x5e5f55,_0x5e7a18['capability'][_0x117755])):this[_0x45e03b(0xcd)]['set'](_0x117755,_0x5e7a18['capability'][_0x117755]);}),this;}[_0x263218(0xb0)](){const _0x2f2f34=_0x263218,_0x5c3a8e={'dvQWJ':_0x27bdb9[_0x2f2f34(0xd6)],'luiJS':_0x27bdb9[_0x2f2f34(0xf4)],'NbTRG':function(_0x3d9d64,_0x137c48,_0x1cbb7b){const _0x255fb1=_0x2f2f34;return _0x27bdb9[_0x255fb1(0xcb)](_0x3d9d64,_0x137c48,_0x1cbb7b);},'PXKfL':function(_0x3cc049,_0x2e4b0a,_0x195bc4){const _0x3a2f2f=_0x2f2f34;return _0x27bdb9[_0x3a2f2f(0xcb)](_0x3cc049,_0x2e4b0a,_0x195bc4);}};if(helper[_0x2f2f34(0xf6)]()){const _0x2703ff=_0x27bdb9[_0x2f2f34(0xc1)]['split']('|');let _0x457548=0x0;while(!![]){switch(_0x2703ff[_0x457548++]){case'0':globals['getGlobal'](_0x27bdb9['OXoVr'])&&(!_0x27bdb9['pCAsC'](setExtension,this,_0x5e7a18)&&globals['setGlobal'](_0x27bdb9[_0x2f2f34(0x101)],![]));continue;case'1':this[_0x2f2f34(0xec)]();continue;case'2':_0x27bdb9[_0x2f2f34(0x104)](isAccessibilityAutomationSession)&&_0x27bdb9[_0x2f2f34(0xab)](setAccessibilityCapabilities,_0x5e7a18);continue;case'3':this[_0x2f2f34(0xfe)]();continue;case'4':logger[_0x2f2f34(0xb9)](_0x27bdb9[_0x2f2f34(0x109)]);continue;case'5':if(helper[_0x2f2f34(0x120)](_0x5e7a18['proxySettings'][_0x2f2f34(0xca)]))this[_0x2f2f34(0xda)]=helper[_0x2f2f34(0xed)](_0x5e7a18[_0x2f2f34(0xb7)][_0x2f2f34(0xca)]);else _0x5e7a18['proxySettings'][_0x2f2f34(0xca)]&&(this[_0x2f2f34(0xe9)]=_0x5e7a18[_0x2f2f34(0xb7)][_0x2f2f34(0xca)],logger[_0x2f2f34(0xb9)](_0x2f2f34(0x112)+this[_0x2f2f34(0xe9)]));continue;}break;}}const _0x2f51bd=super['build']();return _0x2f51bd[_0x2f2f34(0x118)]['then'](_0x413d5c=>{const _0x40b0bf=_0x2f2f34;try{const _0x11b477=_0x413d5c[_0x40b0bf(0xc2)][_0x40b0bf(0xc0)](_0x5c3a8e[_0x40b0bf(0xfc)]);_0x11b477?(logger[_0x40b0bf(0xb9)](_0x40b0bf(0xb5)+_0x11b477),hubAllocator[_0x40b0bf(0x10a)](_0x11b477),helper[_0x40b0bf(0xf9)](_0x11b477)):logger[_0x40b0bf(0xb9)](_0x5c3a8e[_0x40b0bf(0xd0)]);}catch(_0xe09cdf){logger[_0x40b0bf(0xb9)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0xe09cdf);}}),_0x2f51bd[_0x2f2f34(0xa8)]=0x0,_0x2f51bd['then']&&_0x2f51bd[_0x2f2f34(0xaf)](_0xe42eae=>{const _0x5c2115=_0x2f2f34,_0x3c399e=_0x27bdb9[_0x5c2115(0xe1)][_0x5c2115(0x122)]('|');let _0x5845c8=0x0;while(!![]){switch(_0x3c399e[_0x5845c8++]){case'0':helper[_0x5c2115(0x103)](_0xe42eae,_0x5e7a18);continue;case'1':_0x27bdb9[_0x5c2115(0xcb)](overrideQuit,_0xe42eae,_0x2f51bd);continue;case'2':_0xe42eae[_0x5c2115(0xe8)]=async()=>{const _0x4275d6=_0x5c2115;return await _0x5c3a8e[_0x4275d6(0xd8)](getAccessibilityResultsSummary,_0xe42eae,global);};continue;case'3':_0x27bdb9[_0x5c2115(0x105)](overrideTakeScreenshot,_0xe42eae);continue;case'4':helper[_0x5c2115(0xf0)](_0xe42eae,_0x5e7a18);continue;case'5':_0xe42eae[_0x5c2115(0xf2)]=async()=>{const _0x1c5b5f=_0x5c2115;return await _0x5c3a8e[_0x1c5b5f(0x11f)](getAccessibilityResults,_0xe42eae,global);};continue;}break;}}),_0x2f51bd[_0x2f2f34(0xe8)]=async()=>{const _0x4193dd=_0x2f2f34;return await _0x5c3a8e[_0x4193dd(0x11f)](getAccessibilityResultsSummary,_0x2f51bd,global);},_0x2f51bd['getAccessibilityResults']=async()=>{return await _0x27bdb9['pCAsC'](getAccessibilityResults,_0x2f51bd,global);},_0x27bdb9['LFNDU'](overrideTakeScreenshot,_0x2f51bd),_0x27bdb9[_0x2f2f34(0x105)](overrideQuit,_0x2f51bd),helper[_0x2f2f34(0x103)](_0x2f51bd,_0x5e7a18),helper[_0x2f2f34(0xf0)](_0x2f51bd,_0x5e7a18),helper[_0x2f2f34(0x11c)](global['__driversArray'])&&(global[_0x2f2f34(0xee)]=[]),helper['isUndefined'](global[_0x2f2f34(0x11b)])&&(global[_0x2f2f34(0x11b)]=[]),global[_0x2f2f34(0xee)][_0x2f2f34(0xe3)](_0x2f51bd),global[_0x2f2f34(0xd7)]=_0x2f51bd,_0x27bdb9[_0x2f2f34(0x10f)](global[_0x2f2f34(0x11b)],undefined)&&global[_0x2f2f34(0x11b)][_0x2f2f34(0xe3)](_0x2f51bd),_0x235958&&helper['isUndefined'](_0x235958[_0x2f2f34(0xdb)][_0x2f2f34(0xee)])&&(_0x235958[_0x2f2f34(0xdb)][_0x2f2f34(0xee)]=[]),_0x235958&&_0x27bdb9[_0x2f2f34(0x107)](_0x235958[_0x2f2f34(0xdb)]['__drivers'],undefined)&&(_0x235958[_0x2f2f34(0xdb)][_0x2f2f34(0x11b)][_0x2f2f34(0xe3)](_0x2f51bd),_0x235958[_0x2f2f34(0xdb)]['__driversArray'][_0x2f2f34(0xe3)](_0x2f51bd)),_0x2f51bd;}}return _0x2453b5['originalBuilder']=_0x2453b5[_0x263218(0xe6)],_0x2453b5[_0x263218(0xe6)]=_0x4b4737,_0x469ebc[_0x263218(0xf7)]=_0x57e18b,_0x2453b5;};function a27_0x2ae8(){const _0xce5d0e=['ms:edgeOptions','/wd/hub','1618917oXbPRZ','session_','firefoxOptions_','getHubUrl','__drivers','isUndefined','getRequestOptions','keys','PXKfL','isPacProxy','requireHttpClient','split','../../../helpers/patchHelpers','Setting\x20Browserstack\x20capabilities','SMobE','set','quitCount_','goog:chromeOptions','Hub\x20url\x20set\x20to\x20','GWoxY','EkZpo','sAwfT','XlOLL','then','build','CAPABILITY_KEY','originalBuilder','mergeDeep','edgeOptions_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','ieOptions','proxySettings','capability','debug','New\x20hub\x20url\x20set\x20to\x20','wlkDx','CYLcz','https://','object','path','get','EUtAY','caps_','KGgbV','/session','pmDFi','winstonLogger','1|3|0|4|2|5','browserstackAgentObservability','../../../hubAllocationMethods','proxyUrl','pPCXV','8074015nLpcnN','capabilities_','moz:firefoxOptions','edgeOptions','luiJS','__setBrowserOptions','ieOptions_','safari.options','2|3|1|5|0|4','newHubUrl','cBKXg','__driver','NbTRG','../../../helpers/globals','agent_','global','mURbt','url_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','xDPyz','ftFVJ','JHHWa','625160pYZVFc','push','../../../helpers/helper','wcpcj','Builder','info','getAccessibilityResultsSummary','proxy_','3187282cKvGtZ','forEach','setCapabilities','getHttpAgent','__driversArray','../../../helpers/accessibility-automation/helper','overrideExecute','setLogLevel','getAccessibilityResults','se:ieOptions','FPEeZ','chromeOptions_','isBrowserstackInfra','HttpClient','firefoxOptions','storeOptimalHubUrl','requireSeleniumWebdriver','../accessibility-automation/helper','dvQWJ','8fSPkoG','setServer','yblRV','nqHXp','OXoVr','19647624tSQzXB','overrideGet','ZFoIJ','LFNDU','2857380fikoZj','VtDXV','safariOptions_','tGqPv','updateHubUrl','../../../bin/utils/constants','optimalHubUrl','6908083rzWMCi','browserStackLogLevel','YMpcd','logLevel','GLWoV','Proxy\x20set\x20to\x20','chromeOptions','../../../helpers/logger'];a27_0x2ae8=function(){return _0xce5d0e;};return a27_0x2ae8();}module['exports'][a27_0x10c959(0xc8)]=modify;
1
+ const a27_0x2a9efe=a27_0x5597;function a27_0x5597(_0x435e93,_0x2a1760){const _0x3b55f1=a27_0x3b55();return a27_0x5597=function(_0x559739,_0x5e762b){_0x559739=_0x559739-0x177;let _0x378d69=_0x3b55f1[_0x559739];return _0x378d69;},a27_0x5597(_0x435e93,_0x2a1760);}function a27_0x3b55(){const _0x54d28a=['proxy_','WQxVN','moz:firefoxOptions','HttpClient','mSlYR','isBrowserstackInfra','../../../helpers/helper','getAccessibilityResults','lEQdw','proxySettings','capability','then','../../../bin/utils/constants','dIazM','vbdOP','debug','ieOptions_','getGlobal','dmgpS','__setBrowserOptions','setGlobal','VYuUc','build','315996mqLtky','storeOptimalHubUrl','overrideGet','proxyUrl','ktRNj','path','aUkHA','MqwUa','firefoxOptions_','Proxy\x20set\x20to\x20','push','se:ieOptions','3241CTxkFE','../../../hubAllocationMethods','704868bmJmwd','setLogLevel','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','BYzPd','exports','6096wSfRwV','send','HGmJp','quitCount_','__driversArray','requireHttpClient','object','kiJxv','set','2925RVgssO','vyAxD','getAccessibilityResultsSummary','mergeDeep','bmkmA','Setting\x20Browserstack\x20capabilities','isAccessibilityPlatform','safariOptions_','cpCmN','KaWkd','url_','agent_','148310zZTBlx','773658cHREfy','lfrxH','edgeOptions_','YfFqy','capabilities_','../../../helpers/logger','browserstackAgentObservability','4974xzBNmn','get','setServer','winstonLogger','GwUYk','eBfbA','BVBox','getHttpAgent','Builder','nxnxB','info','ieOptions','edgeOptions','getRequestOptions','updateHubUrl','/session','safari.options','3932210QpScch','overrideExecute','ms:edgeOptions','TXkpf','requireSeleniumWebdriver','originalBuilder','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','split','8fSpYzm','ToTJy','goog:chromeOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','../../../helpers/patchHelpers','isUndefined','chromeOptions_','__drivers','gBpWj','session_','__driver','global','options_','newHubUrl','CAPABILITY_KEY','ndbDp','https://','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'];a27_0x3b55=function(){return _0x54d28a;};return a27_0x3b55();}(function(_0x459ced,_0x37d54f){const _0x156089=a27_0x5597,_0x3ba1b7=_0x459ced();while(!![]){try{const _0x4b4c30=parseInt(_0x156089(0x1aa))/0x1+parseInt(_0x156089(0x1d3))/0x2+-parseInt(_0x156089(0x1b8))/0x3+-parseInt(_0x156089(0x181))/0x4*(-parseInt(_0x156089(0x1d2))/0x5)+-parseInt(_0x156089(0x1da))/0x6*(parseInt(_0x156089(0x1b6))/0x7)+-parseInt(_0x156089(0x1bd))/0x8*(parseInt(_0x156089(0x1c6))/0x9)+parseInt(_0x156089(0x179))/0xa;if(_0x4b4c30===_0x37d54f)break;else _0x3ba1b7['push'](_0x3ba1b7['shift']());}catch(_0x51b341){_0x3ba1b7['push'](_0x3ba1b7['shift']());}}}(a27_0x3b55,0x468a9));const logger=require(a27_0x2a9efe(0x1d8))[a27_0x2a9efe(0x1dd)],helper=require(a27_0x2a9efe(0x199)),constants=require(a27_0x2a9efe(0x19f)),hubAllocator=require(a27_0x2a9efe(0x1b7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x2a9efe(0x185)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0xa2755,_0x227bd7=null,_0x424e95=![])=>{const _0x85041c=a27_0x2a9efe,_0x52607e={'vyAxD':function(_0x567964,_0xadadb0){return _0x567964!==_0xadadb0;},'lEQdw':_0x85041c(0x177),'vCnJN':function(_0x8f3aa5,_0x2ba44b){return _0x8f3aa5!==_0x2ba44b;},'dIazM':function(_0x4a352e,_0x30ad37){return _0x4a352e+_0x30ad37;},'bmkmA':_0x85041c(0x191),'aXIgw':'/wd/hub','gBpWj':_0x85041c(0x183),'MqwUa':'chromeOptions','eBfbA':_0x85041c(0x17b),'IYuWD':_0x85041c(0x1e6),'ktRNj':_0x85041c(0x195),'TXkpf':'firefoxOptions','cpCmN':_0x85041c(0x178),'VYuUc':_0x85041c(0x1b5),'vbdOP':_0x85041c(0x1e5),'cuZpw':function(_0x5b12fd,_0x4813c2){return _0x5b12fd===_0x4813c2;},'kiJxv':_0x85041c(0x1c3),'ReIIN':_0x85041c(0x1cb),'KaWkd':function(_0x1dc35a,_0x533e48,_0x4189a6){return _0x1dc35a(_0x533e48,_0x4189a6);},'dmgpS':function(_0x40c817,_0x26c804,_0x4005d5){return _0x40c817(_0x26c804,_0x4005d5);},'WQxVN':function(_0x2a0800,_0x4c564e){return _0x2a0800(_0x4c564e);},'BYzPd':'optimalHubUrl','HBowE':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','OBezy':function(_0x11c210,_0xc50b69,_0x1c2f1d){return _0x11c210(_0xc50b69,_0x1c2f1d);},'mSlYR':'0|1|5|4|2|3','jkSqP':function(_0x8fc93){return _0x8fc93();},'YfFqy':function(_0x449735,_0x39889b){return _0x449735(_0x39889b);},'lfrxH':_0x85041c(0x1cc),'ndbDp':function(_0x35a164,_0x25c537,_0x5841d1){return _0x35a164(_0x25c537,_0x5841d1);},'AIWQS':_0x85041c(0x1ba),'dygPQ':_0x85041c(0x17f),'GwUYk':'Modifying\x20webdriver\x20builder'},_0x4e6194=helper[_0x85041c(0x1c2)]();let _0x1bc56f;try{_0x1bc56f=helper[_0x85041c(0x17d)](),_0x1bc56f[_0x85041c(0x17e)]&&(_0x1bc56f[_0x85041c(0x1e2)]=_0x1bc56f[_0x85041c(0x17e)]);}catch(_0x4244d7){return;}if(helper[_0x85041c(0x198)]()){const _0x1cae94={};_0x1cae94['logLevel']=_0xa2755['browserStackLogLevel'],helper[_0x85041c(0x1b9)](_0x1cae94,new Map(),new Map()),logger[_0x85041c(0x1e4)](_0x52607e['dygPQ']),logger['debug'](_0x52607e[_0x85041c(0x1de)]);}class _0x45eb41 extends _0x4e6194[_0x85041c(0x196)]{[_0x85041c(0x1be)](_0x597122){const _0x1da720=_0x85041c;if(_0x52607e['vyAxD'](_0x597122[_0x1da720(0x1af)],_0x52607e[_0x1da720(0x19b)])&&_0x52607e['vCnJN'](global['newHubUrl'],''))try{global[_0x1da720(0x18e)]=_0x52607e[_0x1da720(0x1a0)](_0x52607e[_0x1da720(0x1a0)](_0x52607e[_0x1da720(0x1ca)],global[_0x1da720(0x18e)]),_0x52607e['aXIgw']),this[_0x1da720(0x18d)]=hubAllocator[_0x1da720(0x1e7)](global[_0x1da720(0x18e)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x1da720(0x18e)]='';}catch(_0x339d37){logger['error'](_0x339d37);}return super[_0x1da720(0x1be)](_0x597122);}}class _0x305eac extends _0x1bc56f[_0x85041c(0x1e2)]{[_0x85041c(0x1dc)](){const _0x5c0673=_0x85041c;return this[_0x5c0673(0x1d0)]=helper['getHubUrl'](_0xa2755),logger[_0x5c0673(0x1a2)]('Hub\x20url\x20set\x20to\x20'+this[_0x5c0673(0x1d0)]),this;}['__setBrowserOptions'](_0x4a1066){const _0x328788=_0x85041c;let _0x1b767c={};for(const _0x2b5de3 in _0x4a1066){switch(_0x2b5de3){case _0x52607e[_0x328788(0x189)]:case _0x52607e[_0x328788(0x1b1)]:this['chromeOptions_']&&(_0x1b767c=this[_0x328788(0x187)][_0x328788(0x1db)](this['chromeOptions_'][_0x328788(0x18f)])||{},this[_0x328788(0x187)][_0x328788(0x1c5)](this[_0x328788(0x187)][_0x328788(0x18f)],helper[_0x328788(0x1c9)](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1df)]:case _0x52607e['IYuWD']:this[_0x328788(0x1d5)]&&(_0x1b767c=this[_0x328788(0x1d5)][_0x328788(0x1db)](this[_0x328788(0x1d5)][_0x328788(0x18f)])||{},this[_0x328788(0x1d5)]['set'](this[_0x328788(0x1d5)][_0x328788(0x18f)],helper[_0x328788(0x1c9)](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1ae)]:case _0x52607e[_0x328788(0x17c)]:this['firefoxOptions_']&&(_0x1b767c=this['firefoxOptions_'][_0x328788(0x1db)](this[_0x328788(0x1b2)][_0x328788(0x18f)])||{},this[_0x328788(0x1b2)][_0x328788(0x1c5)](this['firefoxOptions_'][_0x328788(0x18f)],helper[_0x328788(0x1c9)](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1ce)]:this['safariOptions_']&&(_0x1b767c=this[_0x328788(0x1cd)][_0x328788(0x1db)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x328788(0x1cd)][_0x328788(0x1c5)](this[_0x328788(0x1cd)][_0x328788(0x18f)],helper['mergeDeep'](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1a8)]:case _0x52607e[_0x328788(0x1a1)]:this[_0x328788(0x1a3)]&&(_0x1b767c=this['ieOptions_']['get'](this[_0x328788(0x1a3)][_0x328788(0x18f)])||{},this['ieOptions_'][_0x328788(0x1c5)](this[_0x328788(0x1a3)][_0x328788(0x18f)],helper['mergeDeep'](_0x1b767c,_0x4a1066[_0x2b5de3])));break;}}}['setCapabilities'](){const _0x955c4d=_0x85041c,_0x179cde={'HGmJp':function(_0x37503f,_0x2d59b6){return _0x52607e['cuZpw'](_0x37503f,_0x2d59b6);},'BVBox':_0x52607e[_0x955c4d(0x1c4)]};return logger[_0x955c4d(0x1a2)](_0x52607e['ReIIN']),this[_0x955c4d(0x1a6)](_0xa2755[_0x955c4d(0x19d)]),Object['keys'](_0xa2755[_0x955c4d(0x19d)])['forEach'](_0x405877=>{const _0x3fb721=_0x955c4d,_0x998be2=this['capabilities_']['get'](_0x405877);_0x179cde[_0x3fb721(0x1bf)](typeof _0x998be2,_0x179cde[_0x3fb721(0x1e0)])?this['capabilities_'][_0x3fb721(0x1c5)](_0x405877,helper[_0x3fb721(0x1c9)](_0x998be2,_0xa2755[_0x3fb721(0x19d)][_0x405877])):this[_0x3fb721(0x1d7)][_0x3fb721(0x1c5)](_0x405877,_0xa2755['capability'][_0x405877]);}),this;}[_0x85041c(0x1a9)](){const _0x238d26=_0x85041c,_0xae8ee5={'nxnxB':_0x52607e[_0x238d26(0x1bb)],'aUkHA':_0x52607e['HBowE'],'ToTJy':function(_0x529dcc,_0x2afe18,_0xcad1ec){return _0x52607e['OBezy'](_0x529dcc,_0x2afe18,_0xcad1ec);}};if(helper[_0x238d26(0x198)]()){const _0x38a6b9=_0x52607e[_0x238d26(0x197)][_0x238d26(0x180)]('|');let _0x257827=0x0;while(!![]){switch(_0x38a6b9[_0x257827++]){case'0':_0x52607e['jkSqP'](isAccessibilityAutomationSession)&&_0x52607e[_0x238d26(0x1d6)](setAccessibilityCapabilities,_0xa2755);continue;case'1':this[_0x238d26(0x1dc)]();continue;case'2':globals[_0x238d26(0x1a4)](_0x52607e[_0x238d26(0x1d4)])&&(!_0x52607e[_0x238d26(0x190)](setExtension,this,_0xa2755)&&globals[_0x238d26(0x1a7)](_0x52607e['lfrxH'],![]));continue;case'3':logger[_0x238d26(0x1a2)](_0x52607e['AIWQS']);continue;case'4':if(helper['isPacProxy'](_0xa2755[_0x238d26(0x19c)][_0x238d26(0x1ad)]))this[_0x238d26(0x1d1)]=helper[_0x238d26(0x1e1)](_0xa2755[_0x238d26(0x19c)][_0x238d26(0x1ad)]);else _0xa2755[_0x238d26(0x19c)][_0x238d26(0x1ad)]&&(this[_0x238d26(0x193)]=_0xa2755['proxySettings']['proxyUrl'],logger[_0x238d26(0x1a2)](_0x238d26(0x1b3)+this[_0x238d26(0x193)]));continue;case'5':this['setCapabilities']();continue;}break;}}const _0xad9292=super[_0x238d26(0x1a9)]();return _0xad9292[_0x238d26(0x18a)]['then'](_0x5ccbea=>{const _0x17937d=_0x238d26;try{const _0x45d61d=_0x5ccbea['caps_'][_0x17937d(0x1db)](_0xae8ee5[_0x17937d(0x1e3)]);_0x45d61d?(logger['debug'](_0x17937d(0x192)+_0x45d61d),hubAllocator[_0x17937d(0x1e8)](_0x45d61d),helper[_0x17937d(0x1ab)](_0x45d61d)):logger['debug'](_0xae8ee5[_0x17937d(0x1b0)]);}catch(_0x118d2f){logger[_0x17937d(0x1a2)](_0x17937d(0x184)+_0x118d2f);}}),_0xad9292[_0x238d26(0x1c0)]=0x0,_0xad9292[_0x238d26(0x19e)]&&_0xad9292[_0x238d26(0x19e)](_0x9a3eb7=>{const _0xa1179c=_0x238d26,_0x2f615d={'FsqVy':function(_0x1571eb,_0x563032,_0xb416f8){const _0x2c060f=a27_0x5597;return _0x52607e[_0x2c060f(0x1cf)](_0x1571eb,_0x563032,_0xb416f8);}};_0x52607e[_0xa1179c(0x1a5)](overrideQuit,_0x9a3eb7,_0xad9292),_0x52607e[_0xa1179c(0x194)](overrideTakeScreenshot,_0x9a3eb7),helper[_0xa1179c(0x1ac)](_0x9a3eb7,_0xa2755),helper[_0xa1179c(0x17a)](_0x9a3eb7,_0xa2755),_0x9a3eb7[_0xa1179c(0x1c8)]=async()=>{const _0x591688=_0xa1179c;return await _0xae8ee5[_0x591688(0x182)](getAccessibilityResultsSummary,_0x9a3eb7,global);},_0x9a3eb7['getAccessibilityResults']=async()=>{return await _0x2f615d['FsqVy'](getAccessibilityResults,_0x9a3eb7,global);};}),_0xad9292[_0x238d26(0x1c8)]=async()=>{return await _0xae8ee5['ToTJy'](getAccessibilityResultsSummary,_0xad9292,global);},_0xad9292[_0x238d26(0x19a)]=async()=>{const _0x23611a=_0x238d26;return await _0xae8ee5[_0x23611a(0x182)](getAccessibilityResults,_0xad9292,global);},_0x52607e[_0x238d26(0x1d6)](overrideTakeScreenshot,_0xad9292),_0x52607e[_0x238d26(0x194)](overrideQuit,_0xad9292),helper[_0x238d26(0x1ac)](_0xad9292,_0xa2755),helper[_0x238d26(0x17a)](_0xad9292,_0xa2755),helper[_0x238d26(0x186)](global['__driversArray'])&&(global[_0x238d26(0x1c1)]=[]),helper['isUndefined'](global[_0x238d26(0x188)])&&(global[_0x238d26(0x188)]=[]),global[_0x238d26(0x1c1)]['push'](_0xad9292),global[_0x238d26(0x18b)]=_0xad9292,_0x52607e[_0x238d26(0x1c7)](global['__drivers'],undefined)&&global['__drivers'][_0x238d26(0x1b4)](_0xad9292),_0x227bd7&&helper[_0x238d26(0x186)](_0x227bd7[_0x238d26(0x18c)][_0x238d26(0x1c1)])&&(_0x227bd7[_0x238d26(0x18c)][_0x238d26(0x1c1)]=[]),_0x227bd7&&_0x52607e['vCnJN'](_0x227bd7[_0x238d26(0x18c)]['__drivers'],undefined)&&(_0x227bd7['global'][_0x238d26(0x188)][_0x238d26(0x1b4)](_0xad9292),_0x227bd7['global'][_0x238d26(0x1c1)]['push'](_0xad9292)),_0xad9292;}}return _0x1bc56f['originalBuilder']=_0x1bc56f[_0x85041c(0x1e2)],_0x1bc56f['Builder']=_0x305eac,_0x4e6194[_0x85041c(0x196)]=_0x45eb41,_0x1bc56f;};module[a27_0x2a9efe(0x1bc)][a27_0x2a9efe(0x1d9)]=modify;