browserstack-node-sdk 1.36.3 → 1.36.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x229e72=a28_0x26c6;(function(_0x568594,_0x743715){const _0x4ed3ed=a28_0x26c6,_0x49e505=_0x568594();while(!![]){try{const _0x278e31=parseInt(_0x4ed3ed(0x1b6))/0x1+parseInt(_0x4ed3ed(0x227))/0x2*(parseInt(_0x4ed3ed(0x174))/0x3)+parseInt(_0x4ed3ed(0x1f2))/0x4*(parseInt(_0x4ed3ed(0x17c))/0x5)+-parseInt(_0x4ed3ed(0x205))/0x6+-parseInt(_0x4ed3ed(0x181))/0x7*(-parseInt(_0x4ed3ed(0x26e))/0x8)+parseInt(_0x4ed3ed(0x1a0))/0x9+-parseInt(_0x4ed3ed(0x1e8))/0xa;if(_0x278e31===_0x743715)break;else _0x49e505['push'](_0x49e505['shift']());}catch(_0x21ef40){_0x49e505['push'](_0x49e505['shift']());}}}(a28_0x254d,0x71840));function a28_0x26c6(_0xf8ca73,_0x3327a1){const _0x254d70=a28_0x254d();return a28_0x26c6=function(_0x26c64a,_0x383aca){_0x26c64a=_0x26c64a-0x168;let _0x5324a2=_0x254d70[_0x26c64a];return _0x5324a2;},a28_0x26c6(_0xf8ca73,_0x3327a1);}const chalk=require(a28_0x229e72(0x1db)),logger=require(a28_0x229e72(0x222))[a28_0x229e72(0x1cf)],helper=require(a28_0x229e72(0x197)),utilities=require(a28_0x229e72(0x1d2)),testOpsHelper=require(a28_0x229e72(0x1d4)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x229e72(0x22c)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x229e72(0x242)),Base=requireModule(a28_0x229e72(0x19b),'mocha'),collectFiles=requireModule('mocha/lib/cli/collect-files.js','mocha'),constants=require(a28_0x229e72(0x1a4)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a28_0x229e72(0x260)],centralScannerConstants=require(a28_0x229e72(0x252)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a28_0x229e72(0x1fe));function tag(_0x4f11c1,_0x556fb5,_0x5910b0,_0x21cc1b){const _0x71bc96=a28_0x229e72,_0x3934b0={'tfkoZ':function(_0x228233,_0x2a7d5f){return _0x228233+_0x2a7d5f;},'YIIVO':function(_0x315d17,_0x58441f){return _0x315d17(_0x58441f);},'zqPNg':function(_0x38d9e8,_0x263bf2){return _0x38d9e8+_0x263bf2;},'naLPr':function(_0x25542a,_0x1c2ca1){return _0x25542a+_0x1c2ca1;},'QFKIe':function(_0x1f6126,_0x5bcac7){return _0x1f6126+_0x5bcac7;},'LVmDz':function(_0x1e5ecf,_0x3317a3){return _0x1e5ecf+_0x3317a3;}},_0x8d3e1b=_0x5910b0?'/>':'>',_0x99938f=[];let _0x59908c;for(const _0x522288 in _0x556fb5){Object['prototype'][_0x71bc96(0x18f)][_0x71bc96(0x198)](_0x556fb5,_0x522288)&&_0x99938f[_0x71bc96(0x1c1)](_0x3934b0['tfkoZ'](_0x3934b0[_0x71bc96(0x1a9)](_0x3934b0['tfkoZ'](_0x522288,'=\x22'),_0x3934b0[_0x71bc96(0x1f5)](escape,_0x556fb5[_0x522288])),'\x22'));}return _0x59908c=_0x3934b0[_0x71bc96(0x1a9)](_0x3934b0[_0x71bc96(0x1a9)](_0x3934b0[_0x71bc96(0x1a9)]('<',_0x4f11c1),_0x99938f['length']?_0x3934b0[_0x71bc96(0x1b7)]('\x20',_0x99938f[_0x71bc96(0x233)]('\x20')):''),_0x8d3e1b),_0x21cc1b&&(_0x59908c+=_0x3934b0['naLPr'](_0x3934b0[_0x71bc96(0x23a)](_0x3934b0[_0x71bc96(0x1d7)](_0x21cc1b,'</'),_0x4f11c1),_0x8d3e1b)),_0x59908c;}let xunitContent='';function xunitWrite(_0x1d8b41){xunitContent+=_0x1d8b41;}function a28_0x254d(){const _0x150746=['VVLRZ','../../helpers/helper','call','QqdHc','\x0a\x0a\x0a','mocha/lib/reporters/base.js','exports','IkOeP','gDerO','debug','4527909rXVpMT','testObservability','YpfPi','frzIz','../utils/constants','isBrowserstackInfra','errorMessage','spec','SDK_CLEANUP','tfkoZ','framework','TZDBl','RdyFa','UhyRT','EDjFE','XtTFv','\x20failed','finally','exitCode','testSuites','testsPassed','printBuildLink','815809mzXJwo','zqPNg','file','env','OfCWk','indexOf','Running\x20your\x20mocha\x20tests','TkxQB','LuXfK','suiteName','map','push','parseTestOrchestrationOptions','getUserWorkerCount','alNST','testsPending','iJOqJ','actual','green','TpSFc','failure','cliConfig','shouldReRunObservabilityTests','giQtD','aVepZ','winstonLogger','ufvje','size','../../helpers/utilities','failed','../../helpers/test-observability/utils','forEach','pending','LVmDz','expected','BtEfi','speed','chalk','totalTests','PWXfr','fzECS','zGLhi','stats','rerunTests','PcDGI','useColors','FRAMEWORKS','maxRetries','stack','files','22097550DNlOHn','VSHCm','PuitH','aTwry','Writing\x20json\x20result\x20to\x20file','fireFunnelTestEvent','\x20platforms','bgBlueBright','aEKNw','setUserConfigPath','194364BXtMMG','getOwnPropertyNames','psvUA','YIIVO','message','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wTkgF','PTNYX','prepareCapabilities','reporter-option','jNiqx','output','../../helpers/testhub/testhubHandler','Writing\x20xunit\x20result\x20to\x20file','BROWSERSTACK_GRR_US_HUB_URL','SEosD','duration','kwMAP','isEmpty','5123268GkDGAK','skipped','config','Tests:\x20\x20\x20\x20\x20\x20\x20','isNotUndefined','hZLwp','rootHooks','list','fwtqz','sMtmv','\x20passed','WIUMW','sfcIE','Setting\x20non\x20exit\x20code\x20for\x20failures','rmdirSync','toUTCString','stringify','doc','Total\x20Suites:\x20','assign','DaUJw','testsFailed','BzMLe','ZPnUN','QxESt','dcasQ','showDiff','parse','keys','../../helpers/logger','roJPQ','sUVTf','ZJepc','ignore','90572EnarGz','sort','retryTestsOnFailure','hvcsQ','FZJtK','../test-runner','TlBfr','central_scanner','Running\x20your\x20mocha\x20tests\x20across\x20','UAGcs','oxLua','hKOTq','join','pLSoI','CJOVg','\x20total','bgRedBright','fsyyU','titlePath','QFKIe','isUndefined','state','fvLEx','inFaa','info','****\x20FAILURES\x20****','bold','../../helpers/percy/utils','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_RERUN_TESTS','WhhxL','hNmhd','err','min','FetIU','uousy','getCentralUser','platforms','xunit','dbQiy','mocha','log','dIPZr','../../helpers/central-scanner/constants','\x20skipped','</testsuite>','pFCoN','CXlUL','red','IoJQo','accessibilityOptions','extension','htDuF','suite','unlinkSync','get','ydTfv','EVENTS','parseFileNames','title','currentRetry','avyDJ','getTCGConfigFilePaths','accessibility','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','GszdB','SDKTestSuccessful','Icofs','testcase','rpuAs','error\x20removing\x20tcg\x20config\x20file','7295440ZTIeWl','writeFileSync','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','launchBuild','then','ZxsrU','recursive','getPlatformName','testsuite','reporterOptions','mjs','proxySettings','logLevel','error','kpfgW','passes','57HoSMyT','isTestObservabilitySession','YDZEE','fullTitle','object','reporter','Couldn\x27t\x20write\x20json\x20result\x20to','hGEVI','45cEQOik','AtRFT','consoleLog','getErrorMessageFromResults','avEMG','7yJFjqw','length','GmVps','parallelsPerPlatform','MOCHA','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','setupTCGAuth','validPlatformsPresent','icuDB','has','passed','MXchw','keRUJ','start','hasOwnProperty','BROWSERSTACK_TEST_ACCESSIBILITY_YML','results','Total\x20Platforms:\x20','HCiDp','MDFSw','rWsKX'];a28_0x254d=function(){return _0x150746;};return a28_0x254d();}function xunitTest(_0x2d7267,_0x330415){const _0x15cf0d=a28_0x229e72,_0xf07eae={'CXlUL':function(_0x874604,_0x4cce08){return _0x874604/_0x4cce08;},'dcasQ':function(_0x1664fe,_0x2fec72){return _0x1664fe===_0x2fec72;},'YpfPi':'failed','whDVi':function(_0x40859b,_0x36c41c){return _0x40859b+_0x36c41c;},'giQtD':function(_0x5acdf1,_0x105527){return _0x5acdf1(_0x105527);},'ZPnUN':function(_0x3af6fa,_0x3a1538,_0xbf6eb5,_0x437c81,_0x5b8d53){return _0x3af6fa(_0x3a1538,_0xbf6eb5,_0x437c81,_0x5b8d53);},'psvUA':_0x15cf0d(0x26b),'rWsKX':_0x15cf0d(0x1ca),'QqdHc':function(_0x429e,_0x5a9edf){return _0x429e+_0x5a9edf;},'avEMG':function(_0x30c6fa,_0x50055b){return _0x30c6fa+_0x50055b;},'PZcib':function(_0x43db13,_0x1fb001){return _0x43db13(_0x1fb001);},'hNmhd':function(_0x30576b,_0x357ee6,_0x344e53,_0x513d7e,_0x52f34c){return _0x30576b(_0x357ee6,_0x344e53,_0x513d7e,_0x52f34c);},'zGLhi':function(_0x3bfb69,_0x51fdc0,_0x2c96b9,_0x490d13){return _0x3bfb69(_0x51fdc0,_0x2c96b9,_0x490d13);},'EDjFE':_0x15cf0d(0x206),'PWXfr':function(_0x440009,_0x2565ee){return _0x440009(_0x2565ee);}};Base[_0x15cf0d(0x1e3)]=![];var _0x31edc0={'classname':_0x2d7267[_0x15cf0d(0x177)],'name':_0x2d7267[_0x15cf0d(0x262)],'time':_0xf07eae[_0x15cf0d(0x256)](_0x2d7267[_0x15cf0d(0x202)],0x3e8)||0x0,'platform':_0x330415};if(_0xf07eae[_0x15cf0d(0x21e)](_0x2d7267['state'],_0xf07eae[_0x15cf0d(0x1a2)])){var _0xa7c449=_0x2d7267['err'],_0x269d8d=!Base['hideDiff']&&Base[_0x15cf0d(0x21f)](_0xa7c449)?_0xf07eae['whDVi']('\x0a',Base['generateDiff'](_0xa7c449[_0x15cf0d(0x1c7)],_0xa7c449[_0x15cf0d(0x1d8)])):'';_0xf07eae['giQtD'](xunitWrite,_0xf07eae[_0x15cf0d(0x21c)](tag,_0xf07eae[_0x15cf0d(0x1f4)],_0x31edc0,![],_0xf07eae[_0x15cf0d(0x21c)](tag,_0xf07eae[_0x15cf0d(0x195)],{},![],_0xf07eae[_0x15cf0d(0x199)](_0xf07eae[_0x15cf0d(0x199)](_0xf07eae[_0x15cf0d(0x180)](_0xf07eae['PZcib'](escape,_0xa7c449[_0x15cf0d(0x1f6)]),_0xf07eae[_0x15cf0d(0x1cd)](escape,_0x269d8d)),'\x0a'),_0xf07eae['PZcib'](escape,_0xa7c449['stack'])))));}else _0x2d7267['isPending']?_0xf07eae[_0x15cf0d(0x1cd)](xunitWrite,_0xf07eae[_0x15cf0d(0x246)](tag,_0xf07eae[_0x15cf0d(0x1f4)],_0x31edc0,![],_0xf07eae[_0x15cf0d(0x1df)](tag,_0xf07eae[_0x15cf0d(0x1ae)],{},!![]))):_0xf07eae[_0x15cf0d(0x1dd)](xunitWrite,_0xf07eae[_0x15cf0d(0x1df)](tag,_0xf07eae[_0x15cf0d(0x1f4)],_0x31edc0,!![]));};function getStats(_0x4bfe6a){const _0x253113=a28_0x229e72,_0x47e5b2={};_0x47e5b2['XQcEK']=_0x253113(0x25c),_0x47e5b2['CJOVg']=_0x253113(0x18b),_0x47e5b2[_0x253113(0x1f8)]=_0x253113(0x1d3),_0x47e5b2['icuDB']='results';const _0x150538=_0x47e5b2,_0x3352a2=Object[_0x253113(0x221)](_0x4bfe6a);let _0x1abeae=0x0,_0x56d688=0x0,_0x41fb42=0x0,_0x5402a6=0x0;const _0x4481e0=new Set();_0x3352a2[_0x253113(0x1d5)](_0x5628ce=>{const _0x364158=_0x253113;_0x4bfe6a[_0x5628ce][_0x150538[_0x364158(0x189)]][_0x364158(0x1d5)](_0x564f4e=>{const _0x3a8bf1=_0x364158;_0x4481e0['add'](_0x564f4e[_0x150538['XQcEK']]),_0x1abeae++;switch(_0x564f4e[_0x3a8bf1(0x23c)]){case _0x150538[_0x3a8bf1(0x235)]:_0x41fb42++;break;case _0x150538[_0x3a8bf1(0x1f8)]:_0x56d688++;break;default:_0x5402a6++;}});});const _0x468404={};return _0x468404[_0x253113(0x1b3)]=_0x4481e0[_0x253113(0x1d1)],_0x468404[_0x253113(0x24c)]=_0x3352a2,_0x468404[_0x253113(0x1dc)]=_0x1abeae,_0x468404[_0x253113(0x21a)]=_0x56d688,_0x468404[_0x253113(0x1b4)]=_0x41fb42,_0x468404[_0x253113(0x1c5)]=_0x5402a6,_0x468404;}function errorJSON(_0x1084de){const _0x4117cf=a28_0x229e72;var _0x1d8ca1={};return Object[_0x4117cf(0x1f3)](_0x1084de)[_0x4117cf(0x1d5)](function(_0x3035b8){_0x1d8ca1[_0x3035b8]=_0x1084de[_0x3035b8];},_0x1084de),_0x1d8ca1;}function cleanCycles(_0xb12c71){const _0x397895=a28_0x229e72,_0x2e8a5d={};_0x2e8a5d[_0x397895(0x1a3)]=function(_0x45b4dc,_0x265cc5){return _0x45b4dc===_0x265cc5;},_0x2e8a5d['AtRFT']=_0x397895(0x178),_0x2e8a5d[_0x397895(0x1e2)]=function(_0x3d7dec,_0x1a332d){return _0x3d7dec!==_0x1a332d;},_0x2e8a5d[_0x397895(0x22d)]=function(_0x41c9c3,_0x403ddb){return _0x41c9c3+_0x403ddb;};const _0x2b50de=_0x2e8a5d;var _0x5807fd=[];return JSON[_0x397895(0x220)](JSON[_0x397895(0x215)](_0xb12c71,function(_0x354204,_0xf8a79d){const _0x269e47=_0x397895;if(_0x2b50de[_0x269e47(0x1a3)](typeof _0xf8a79d,_0x2b50de[_0x269e47(0x17d)])&&_0x2b50de[_0x269e47(0x1e2)](_0xf8a79d,null)){if(_0x2b50de['PcDGI'](_0x5807fd[_0x269e47(0x1bb)](_0xf8a79d),-0x1))return _0x2b50de[_0x269e47(0x22d)]('',_0xf8a79d);_0x5807fd[_0x269e47(0x1c1)](_0xf8a79d);}return _0xf8a79d;}));}function clean(_0x1095e9){const _0x1d8d95=a28_0x229e72,_0x40ab83={'RdyFa':function(_0x4f1a51,_0x130093){return _0x4f1a51 instanceof _0x130093;},'hKOTq':function(_0x35f0b9,_0x215886){return _0x35f0b9(_0x215886);}};var _0x5acc74=_0x1095e9[_0x1d8d95(0x247)]||{};return _0x40ab83[_0x1d8d95(0x1ac)](_0x5acc74,Error)&&(_0x5acc74=_0x40ab83['hKOTq'](errorJSON,_0x5acc74)),{'title':_0x1095e9[_0x1d8d95(0x262)],'fullTitle':_0x1095e9[_0x1d8d95(0x177)],'file':_0x1095e9[_0x1d8d95(0x1b8)],'duration':_0x1095e9[_0x1d8d95(0x202)],'currentRetry':_0x1095e9[_0x1d8d95(0x263)],'speed':_0x1095e9[_0x1d8d95(0x1da)],'err':_0x40ab83[_0x1d8d95(0x232)](cleanCycles,_0x5acc74)};}function printStats(_0x42872b,_0x358592='spec',_0x9e157e={}){const _0x2f3ecd=a28_0x229e72,_0x4378a3={'GmVps':function(_0x39efe1,_0x7bd246){return _0x39efe1(_0x7bd246);},'WhhxL':function(_0x2fcced,_0x4c45a9){return _0x2fcced===_0x4c45a9;},'HCiDp':'passed','WIUMW':_0x2f3ecd(0x173),'IkOeP':function(_0x2acf75,_0x35c6e8){return _0x2acf75(_0x35c6e8);},'htDuF':function(_0x9d8c7,_0x202d44){return _0x9d8c7===_0x202d44;},'TkxQB':_0x2f3ecd(0x1d3),'kpfgW':'failures','fzECS':function(_0x53de61,_0x412481){return _0x53de61(_0x412481);},'VSHCm':_0x2f3ecd(0x1d6),'hGEVI':function(_0x4d3964,_0x4e4fe8){return _0x4d3964(_0x4e4fe8);},'DaUJw':_0x2f3ecd(0x191),'Icofs':function(_0x2e98f4,_0x4799b8){return _0x2e98f4===_0x4799b8;},'kwMAP':function(_0x508587,_0xa563ca){return _0x508587===_0xa563ca;},'LuXfK':function(_0x15eeef,_0x701e5d){return _0x15eeef*_0x701e5d;},'sMtmv':function(_0x2ebf4f,_0x34e5ca,_0x2ec7e8){return _0x2ebf4f(_0x34e5ca,_0x2ec7e8);},'avyDJ':function(_0x4ad84f,_0x3eaa9e){return _0x4ad84f===_0x3eaa9e;},'iJOqJ':function(_0xa10ac8,_0x54c42f){return _0xa10ac8>_0x54c42f;},'IoJQo':function(_0x22e123){return _0x22e123();},'EEphe':_0x2f3ecd(0x216),'aEKNw':function(_0x4e7924,_0x3db0bc){return _0x4e7924>_0x3db0bc;},'BtEfi':_0x2f3ecd(0x212),'IygiW':'Printing\x20stats\x20of\x20tests','fwtqz':function(_0x5d69e6,_0x38db0d){return _0x5d69e6+_0x38db0d;},'YRHEq':_0x2f3ecd(0x192),'alNST':function(_0x3a29e,_0x46d976){return _0x3a29e+_0x46d976;},'hZLwp':_0x2f3ecd(0x217),'uousy':function(_0x52af29,_0x50901b){return _0x52af29+_0x50901b;},'gDerO':function(_0x58ec0a,_0x577c6e){return _0x58ec0a+_0x577c6e;},'DkRZH':_0x2f3ecd(0x208),'ufvje':function(_0x370e47,_0x389484){return _0x370e47>_0x389484;},'csAGK':function(_0x3a69ca,_0x5ee915){return _0x3a69ca>_0x5ee915;},'VVLRZ':function(_0x439045,_0x8f04ad){return _0x439045>_0x8f04ad;},'keRUJ':function(_0x2b53c4,_0x517268){return _0x2b53c4+_0x517268;},'jNiqx':function(_0x19b1c3,_0x4ec651){return _0x19b1c3+_0x4ec651;},'ZJepc':_0x2f3ecd(0x19a),'rpuAs':function(_0x267326,_0x22b432){return _0x267326===_0x22b432;},'fsyyU':'json','STYIk':_0x2f3ecd(0x1ec),'iKHbn':_0x2f3ecd(0x17a),'ydTfv':_0x2f3ecd(0x267),'pFCoN':function(_0x469450,_0x83c606){return _0x469450===_0x83c606;},'MDFSw':_0x2f3ecd(0x24d),'BzMLe':'Mocha\x20Tests','fvLEx':function(_0x36474d,_0x1308c1){return _0x36474d||_0x1308c1;},'kHmby':function(_0x48b088,_0x4d921e,_0x2d859a,_0x28ae94){return _0x48b088(_0x4d921e,_0x2d859a,_0x28ae94);},'Nqchq':_0x2f3ecd(0x16c),'FetIU':function(_0x37e5d1,_0x5d63a0){return _0x37e5d1-_0x5d63a0;},'dIPZr':function(_0x3e384b,_0x55fda5){return _0x3e384b/_0x55fda5;},'LDVAM':_0x2f3ecd(0x254),'BHxLT':_0x2f3ecd(0x1ff),'PuitH':'Couldn\x27t\x20write\x20xunit\x20result\x20to','QxESt':_0x2f3ecd(0x270),'vFeqy':function(_0x1b2bbc,_0x231e25){return _0x1b2bbc===_0x231e25;},'WhARG':'Listing\x20all\x20the\x20failures','sUVTf':_0x2f3ecd(0x240)};if(_0x4378a3[_0x2f3ecd(0x245)](_0x358592,_0x4378a3['EEphe']))return;const _0x58bb96=0x0,_0x14d9f4=()=>{const _0x21954f=_0x2f3ecd;return _0x4378a3[_0x21954f(0x183)](Array,_0x58bb96)[_0x21954f(0x233)]('\x20\x20');},{testSuites:_0x2f0358,platforms:_0x57b1ca,totalTests:_0x4d1a3e,testsFailed:_0x4a63b,testsPassed:_0x27bd8e,testsPending:_0x3f886d}=_0x4378a3['GmVps'](getStats,_0x42872b);_0x4378a3[_0x2f3ecd(0x1f0)](_0x4a63b,0x0)&&(logger[_0x2f3ecd(0x19f)](_0x4378a3[_0x2f3ecd(0x1d9)]),process[_0x2f3ecd(0x1b2)]=Math[_0x2f3ecd(0x248)](_0x4a63b,0xff));logger[_0x2f3ecd(0x19f)](_0x4378a3['IygiW']);const _0x534669=''+_0x4378a3['fwtqz'](chalk[_0x2f3ecd(0x241)](_0x4378a3['YRHEq']),_0x57b1ca[_0x2f3ecd(0x182)]),_0x33d134=''+_0x4378a3[_0x2f3ecd(0x1c4)](chalk[_0x2f3ecd(0x241)](_0x4378a3[_0x2f3ecd(0x20a)]),_0x2f0358),_0x551a01=''+_0x4378a3['uousy'](_0x4378a3['gDerO'](_0x4378a3[_0x2f3ecd(0x20d)](chalk[_0x2f3ecd(0x241)](_0x4378a3['DkRZH']),_0x4378a3[_0x2f3ecd(0x1d0)](_0x4a63b,0x0)?chalk[_0x2f3ecd(0x241)][_0x2f3ecd(0x257)](_0x4a63b+_0x2f3ecd(0x1b0))+',\x20':''),_0x4378a3['csAGK'](_0x3f886d,0x0)?chalk[_0x2f3ecd(0x241)]['yellow'](_0x3f886d+_0x2f3ecd(0x253))+',\x20':''),_0x4378a3[_0x2f3ecd(0x196)](_0x27bd8e,0x0)?chalk[_0x2f3ecd(0x241)][_0x2f3ecd(0x1c8)](_0x27bd8e+_0x2f3ecd(0x20f))+',\x20':'')+_0x4d1a3e+_0x2f3ecd(0x236);console['log'](_0x4378a3[_0x2f3ecd(0x20d)](_0x4378a3[_0x2f3ecd(0x24a)](_0x4378a3[_0x2f3ecd(0x18d)](_0x4378a3[_0x2f3ecd(0x1fc)](_0x4378a3[_0x2f3ecd(0x19e)](_0x4378a3[_0x2f3ecd(0x225)],_0x534669),'\x0a'),_0x33d134),'\x0a'),_0x551a01));if(_0x4378a3[_0x2f3ecd(0x26c)](_0x358592,_0x4378a3[_0x2f3ecd(0x238)])){const _0x271b7b={},_0x546073={};_0x546073[_0x2f3ecd(0x1b3)]=_0x2f0358,_0x546073[_0x2f3ecd(0x24c)]=_0x57b1ca,_0x546073[_0x2f3ecd(0x21a)]=_0x4a63b,_0x546073[_0x2f3ecd(0x1b4)]=_0x27bd8e,_0x546073[_0x2f3ecd(0x1c5)]=_0x3f886d,_0x271b7b[_0x2f3ecd(0x1e0)]=_0x546073,_0x57b1ca[_0x2f3ecd(0x1d5)](_0x29efee=>{const _0x45f63d=_0x2f3ecd,_0x3e947d={'oZAhk':function(_0x2db3da,_0x11d718){return _0x4378a3['WhhxL'](_0x2db3da,_0x11d718);},'MXchw':_0x4378a3[_0x45f63d(0x193)],'rlRiQ':_0x4378a3[_0x45f63d(0x210)],'TZDBl':function(_0x508469,_0x417fd8){const _0x267415=_0x45f63d;return _0x4378a3[_0x267415(0x19d)](_0x508469,_0x417fd8);},'SEosD':function(_0x32783a,_0x336493){const _0x153f76=_0x45f63d;return _0x4378a3[_0x153f76(0x25b)](_0x32783a,_0x336493);},'YDZEE':_0x4378a3['TkxQB'],'deNsT':_0x4378a3[_0x45f63d(0x172)],'GszdB':function(_0x5932ce,_0x35c467){const _0x27f715=_0x45f63d;return _0x4378a3[_0x27f715(0x1de)](_0x5932ce,_0x35c467);},'oxLua':_0x4378a3[_0x45f63d(0x1e9)],'fLUFD':function(_0x5c8f7d,_0x38bf13){const _0x470ce4=_0x45f63d;return _0x4378a3[_0x470ce4(0x17b)](_0x5c8f7d,_0x38bf13);}};_0x271b7b[_0x29efee]={'pending':[],'failures':[],'passes':[],'tests':_0x42872b[_0x29efee][_0x4378a3[_0x45f63d(0x219)]][_0x45f63d(0x1c0)](clean)},_0x42872b[_0x29efee][_0x4378a3[_0x45f63d(0x219)]][_0x45f63d(0x1d5)](_0x1dbfcd=>{const _0x9d251d=_0x45f63d;if(_0x3e947d['oZAhk'](_0x1dbfcd['state'],_0x3e947d[_0x9d251d(0x18c)]))_0x271b7b[_0x29efee][_0x3e947d['rlRiQ']]['push'](_0x3e947d[_0x9d251d(0x1ab)](clean,_0x1dbfcd));else _0x3e947d[_0x9d251d(0x201)](_0x1dbfcd[_0x9d251d(0x23c)],_0x3e947d[_0x9d251d(0x176)])?_0x271b7b[_0x29efee][_0x3e947d['deNsT']][_0x9d251d(0x1c1)](_0x3e947d[_0x9d251d(0x268)](clean,_0x1dbfcd)):_0x271b7b[_0x29efee][_0x3e947d[_0x9d251d(0x231)]][_0x9d251d(0x1c1)](_0x3e947d['fLUFD'](clean,_0x1dbfcd));});});if(_0x9e157e['output'])try{logger[_0x2f3ecd(0x19f)](_0x4378a3['STYIk'],_0x9e157e[_0x2f3ecd(0x1fd)]),fs['writeFileSync'](_0x9e157e[_0x2f3ecd(0x1fd)],JSON[_0x2f3ecd(0x215)](_0x271b7b,null,0x3));}catch(_0x1e4374){logger[_0x2f3ecd(0x171)](_0x4378a3['iKHbn'],_0x9e157e['output']),logger[_0x2f3ecd(0x19f)](_0x1e4374);}else logger[_0x2f3ecd(0x19f)](_0x4378a3[_0x2f3ecd(0x25f)]),console[_0x2f3ecd(0x250)](JSON[_0x2f3ecd(0x215)](_0x271b7b,null,0x3));}else{if(_0x4378a3[_0x2f3ecd(0x255)](_0x358592,_0x4378a3[_0x2f3ecd(0x194)])){let _0x3f7d8a;const _0xf7febd=_0x4378a3[_0x2f3ecd(0x21b)];_0x9e157e&&(_0x3f7d8a=_0x9e157e[_0x2f3ecd(0x1bf)]);_0x3f7d8a=_0x4378a3[_0x2f3ecd(0x23d)](_0x3f7d8a,_0xf7febd);let _0x58b196=0x0,_0x5a50a3=0x0,_0x18a834=0x0,_0x5d3497=0x0;_0x57b1ca[_0x2f3ecd(0x1d5)](_0x1dea57=>{const _0x25c135=_0x2f3ecd;_0x42872b[_0x1dea57][_0x4378a3[_0x25c135(0x219)]][_0x25c135(0x1d5)](_0xfba601=>{const _0x57f487=_0x25c135;if(_0x4378a3[_0x57f487(0x26a)](_0xfba601[_0x57f487(0x23c)],_0x4378a3[_0x57f487(0x193)]))_0x58b196++;else _0x4378a3[_0x57f487(0x203)](_0xfba601[_0x57f487(0x23c)],_0x4378a3[_0x57f487(0x1bd)])&&_0x5a50a3++;_0x18a834++,_0x5d3497+=_0x4378a3[_0x57f487(0x1be)](_0xfba601[_0x57f487(0x202)],0x1);});}),_0x4378a3[_0x2f3ecd(0x19d)](xunitWrite,_0x4378a3['kHmby'](tag,_0x4378a3['Nqchq'],{'name':_0x3f7d8a,'tests':_0x18a834,'failures':0x0,'errors':_0x5a50a3,'skipped':_0x4378a3['FetIU'](_0x4378a3[_0x2f3ecd(0x249)](_0x18a834,_0x5a50a3),_0x58b196),'timestamp':new Date()[_0x2f3ecd(0x214)](),'time':_0x4378a3[_0x2f3ecd(0x251)](_0x5d3497,0x3e8)||0x0},![])),_0x57b1ca[_0x2f3ecd(0x1d5)](_0xb27989=>{_0x42872b[_0xb27989][_0x4378a3['DaUJw']]['forEach'](_0x2e0e4d=>{const _0x1d3063=a28_0x26c6;_0x4378a3[_0x1d3063(0x20e)](xunitTest,_0x2e0e4d,_0xb27989);});}),_0x4378a3['hGEVI'](xunitWrite,_0x4378a3['LDVAM']);if(_0x9e157e[_0x2f3ecd(0x1fd)])try{logger['debug'](_0x4378a3['BHxLT'],_0x9e157e[_0x2f3ecd(0x1fd)]),fs[_0x2f3ecd(0x26f)](_0x9e157e[_0x2f3ecd(0x1fd)],xunitContent);}catch(_0xd3ff14){logger['error'](_0x4378a3[_0x2f3ecd(0x1ea)],_0x9e157e['output']),logger['debug'](_0xd3ff14);}else logger[_0x2f3ecd(0x19f)](_0x4378a3[_0x2f3ecd(0x21d)]),console[_0x2f3ecd(0x250)](xunitContent);}else{if(_0x4378a3['vFeqy'](_0x4a63b,0x0))return;console['log'](),logger[_0x2f3ecd(0x19f)](_0x4378a3['WhARG']),console[_0x2f3ecd(0x250)](chalk[_0x2f3ecd(0x241)][_0x2f3ecd(0x237)](_0x4378a3[_0x2f3ecd(0x224)])),_0x57b1ca[_0x2f3ecd(0x1d5)](_0x4a505c=>{const _0xbb8458=_0x2f3ecd,_0x2c2792={'pLSoI':function(_0x3ce4ec,_0x4e88d8){const _0x107325=a28_0x26c6;return _0x4378a3[_0x107325(0x264)](_0x3ce4ec,_0x4e88d8);},'BhKLV':_0x4378a3[_0xbb8458(0x1bd)]},_0x57a448=[];_0x42872b[_0x4a505c][_0x4378a3[_0xbb8458(0x219)]][_0xbb8458(0x1d5)](_0x5bad1e=>{const _0x42b65c=_0xbb8458;_0x2c2792[_0x42b65c(0x234)](_0x5bad1e['state'],_0x2c2792['BhKLV'])&&(_0x5bad1e[_0x42b65c(0x239)]=()=>_0x5bad1e['titlePathV'],_0x57a448[_0x42b65c(0x1c1)](_0x5bad1e));}),_0x4378a3[_0xbb8458(0x1c6)](_0x57a448['length'],0x0)&&(Base[_0xbb8458(0x17e)](),Base['consoleLog'](_0x4378a3[_0xbb8458(0x258)](_0x14d9f4),chalk[_0xbb8458(0x241)][_0xbb8458(0x1ef)](_0x4a505c)),Base[_0xbb8458(0x20c)](_0x57a448));});}}}async function run(_0x33dedb,_0x4a5086,_0x59fea4){const _0x934b57=a28_0x229e72,_0x1353a8={'aVepZ':function(_0x596bcd,_0x7aced0,_0x373a7b,_0x5e0b73){return _0x596bcd(_0x7aced0,_0x373a7b,_0x5e0b73);},'UhyRT':_0x934b57(0x1fb),'VgFZH':_0x934b57(0x26d),'hvcsQ':_0x934b57(0x269),'FZJtK':_0x934b57(0x24f),'PTNYX':function(_0x406439,_0x47c0fd){return _0x406439!=_0x47c0fd;},'jVqzx':'cjs','sfcIE':_0x934b57(0x16e),'dbQiy':'test','aTwry':_0x934b57(0x1e1),'ZxsrU':function(_0x239dd8,_0x14fe6c){return _0x239dd8(_0x14fe6c);},'HVMtT':function(_0x183728,_0x206bfa,_0xdcf627){return _0x183728(_0x206bfa,_0xdcf627);},'UAGcs':_0x934b57(0x1e7),'ATmue':_0x934b57(0x1bc),'TpSFc':'Now,\x20showing\x20logs\x20from\x20mocha','roJPQ':function(_0x1ab79f,_0x17d0e7,_0x29fc59,_0x1f9bb2){return _0x1ab79f(_0x17d0e7,_0x29fc59,_0x1f9bb2);},'inFaa':function(_0x1aba28,_0x8fb5d6){return _0x1aba28*_0x8fb5d6;},'XtTFv':function(_0x373bb3,_0x45f7c2){return _0x373bb3!==_0x45f7c2;},'OfCWk':function(_0x43a2f1,_0x6dc479,_0x49c9a4,_0x2b3c86){return _0x43a2f1(_0x6dc479,_0x49c9a4,_0x2b3c86);}};helper[_0x934b57(0x1f1)](_0x59fea4[_0x934b57(0x1aa)],_0x33dedb);helper[_0x934b57(0x1a5)]()?(await _0x59fea4['initialize'](_0x33dedb),await helper['handleApp'](_0x59fea4['config'])):await _0x59fea4[_0x934b57(0x187)]();const _0x120e63=[];let _0x53ca4e=[];if(!_0x59fea4[_0x934b57(0x207)])return;!helper[_0x934b57(0x23b)](_0x59fea4[_0x934b57(0x207)][_0x934b57(0x259)])&&(process[_0x934b57(0x1b9)][_0x934b57(0x1f7)]=JSON['stringify'](_0x59fea4[_0x934b57(0x207)]['accessibilityOptions']));const _0x37792d=await TestHubHandler[_0x934b57(0x271)](FRAMEWORKS[_0x934b57(0x185)],_0x59fea4);_0x1353a8[_0x934b57(0x1f9)](_0x59fea4[_0x934b57(0x207)][_0x934b57(0x1a1)],null)&&(process[_0x934b57(0x1b9)][_0x934b57(0x243)]=_0x59fea4[_0x934b57(0x207)][_0x934b57(0x1a1)]);!helper[_0x934b57(0x23b)](_0x59fea4[_0x934b57(0x207)]['accessibility'])&&(process['env'][_0x934b57(0x190)]=_0x59fea4[_0x934b57(0x207)][_0x934b57(0x266)]);const {extension:extension=['js',_0x1353a8['jVqzx'],_0x1353a8[_0x934b57(0x211)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x1353a8[_0x934b57(0x24e)]]}=_0x33dedb,_0x1a70cf={..._0x33dedb};_0x1a70cf[_0x934b57(0x20b)]=null;const _0x557b9d=_0x1a70cf;let _0x3e4d58;if(testOpsHelper[_0x934b57(0x175)]()&&testOpsHelper[_0x934b57(0x1cc)]()){let _0x2a1ed2=process[_0x934b57(0x1b9)][_0x934b57(0x244)];!helper[_0x934b57(0x23b)](_0x59fea4[_0x934b57(0x1cb)])&&_0x59fea4[_0x934b57(0x1cb)][_0x934b57(0x18a)](_0x1353a8[_0x934b57(0x1eb)])&&(_0x2a1ed2=_0x59fea4[_0x934b57(0x1cb)][_0x934b57(0x25e)](_0x1353a8['aTwry'])),_0x3e4d58=testOpsHelper[_0x934b57(0x261)](_0x2a1ed2);}if(helper[_0x934b57(0x23b)](_0x3e4d58)){const _0xf2d4fa={};_0xf2d4fa[_0x934b57(0x226)]=ignore,_0xf2d4fa[_0x934b57(0x25a)]=extension,_0xf2d4fa[_0x934b57(0x1b8)]=file,_0xf2d4fa[_0x934b57(0x16a)]=recursive,_0xf2d4fa[_0x934b57(0x228)]=sort,_0xf2d4fa[_0x934b57(0x1a7)]=spec,_0x3e4d58=_0x1353a8[_0x934b57(0x169)](collectFiles,_0xf2d4fa),_0x1353a8['HVMtT'](nestedKeyValue,_0x3e4d58,[_0x1353a8[_0x934b57(0x230)]])&&(_0x3e4d58=_0x3e4d58[_0x934b57(0x1e7)]);}const _0xfa02d8=helper[_0x934b57(0x1c2)](_0x59fea4[_0x934b57(0x207)]);!helper[_0x934b57(0x204)](_0xfa02d8)&&helper[_0x934b57(0x209)](_0xfa02d8[_0x934b57(0x229)])&&(_0x557b9d['retries']=_0xfa02d8[_0x934b57(0x229)][_0x934b57(0x1e5)]);if(!helper[_0x934b57(0x1a5)]()){const _0x421785=0x1,_0x1c6b65={..._0x557b9d};_0x1c6b65['spec']=[..._0x3e4d58],_0x120e63[_0x934b57(0x1c1)]({'mochaOpts':_0x1c6b65,'configuration':{'platform':os['platform']()}}),logger[_0x934b57(0x23f)](_0x1353a8['ATmue']),logger[_0x934b57(0x23f)](_0x1353a8[_0x934b57(0x1c9)]),_0x1353a8[_0x934b57(0x223)](parallelTestRun,_0x120e63,_0x421785,_0x59fea4)[_0x934b57(0x168)](_0x2db8d5=>{const _0x567e1d=_0x934b57;PerformanceTester['start'](PerformanceEvents[_0x567e1d(0x1a8)]),_0x1353a8[_0x567e1d(0x1ce)](printStats,_0x2db8d5,_0x33dedb['reporter'],_0x33dedb[_0x567e1d(0x16d)]||_0x33dedb[_0x1353a8[_0x567e1d(0x1ad)]]);})[_0x934b57(0x1b1)](()=>{const _0x24f105=_0x934b57;PerformanceTester['start'](PerformanceEvents[_0x24f105(0x1a8)]);try{const {browserstackFolderPath:_0x1d40db,tcgConfigPath:_0xd09e9e}=helper[_0x24f105(0x265)]();fs[_0x24f105(0x25d)](_0xd09e9e),fs[_0x24f105(0x213)](_0x1d40db);}catch(_0x2519c8){logger[_0x24f105(0x19f)](_0x1353a8['VgFZH'],_0x2519c8);}try{utilities[_0x24f105(0x1ed)](_0x1353a8[_0x24f105(0x22a)],{},_0x59fea4['config'],_0x59fea4[_0x24f105(0x1aa)]);}catch(_0x3649ee){logger['debug'](_0x24f105(0x186)+_0x3649ee[_0x24f105(0x1e6)]);}try{helper['notifyUpdate']();}catch(_0x2fbd9a){logger[_0x24f105(0x19f)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x2fbd9a);}testOpsHelper[_0x24f105(0x1b5)]();});}else{const _0x57ad46=helper['useW3C'](_0x59fea4['config']);let _0x24da86=helper['getHubUrl'](_0x59fea4[_0x934b57(0x207)]);_0x53ca4e=helper[_0x934b57(0x1fa)](_0x59fea4[_0x934b57(0x207)],_0x57ad46,constants[_0x934b57(0x1e4)]['MOCHA']);helper[_0x934b57(0x24b)]()[_0x934b57(0x22e)]&&(_0x24da86=centralScannerConstants[_0x934b57(0x200)]);let _0x3ecab6;const _0x4d04a3=_0x59fea4[_0x934b57(0x207)]['parallelsPerPlatform']||helper[_0x934b57(0x1c3)](_0x33dedb,_0x4a5086,_0x59fea4[_0x934b57(0x207)],constants[_0x934b57(0x1e4)][_0x934b57(0x185)])||0x1;helper[_0x934b57(0x188)](_0x59fea4['config'])?_0x3ecab6=_0x1353a8[_0x934b57(0x23e)](_0x59fea4['config'][_0x934b57(0x24c)][_0x934b57(0x182)],_0x4d04a3):_0x3ecab6=_0x4d04a3;const _0x1162a1=_0x1353a8[_0x934b57(0x169)](getPercyOptions,_0x59fea4['config']);if(_0x1353a8[_0x934b57(0x1af)](_0x59fea4[_0x934b57(0x207)][_0x934b57(0x184)],0x1))_0x3e4d58[_0x934b57(0x1d5)](_0x4f994=>{const _0x4da17e=[];_0x53ca4e['forEach']((_0x16d9e4,_0x18943b)=>{const _0x5aff1d=a28_0x26c6,_0xc5cdd={};_0xc5cdd['spec']=[_0x4f994],_0x4da17e['push']({'mochaOpts':Object[_0x5aff1d(0x218)]({},_0x557b9d,_0xc5cdd),'configuration':{'server':_0x24da86,'capability':_0x16d9e4,'proxySettings':_0x59fea4['config'][_0x5aff1d(0x16f)],'platform':helper['getPlatformName'](_0x16d9e4),'browserStackLogLevel':_0x59fea4[_0x5aff1d(0x207)]['logLevel'],'platformIndex':_0x18943b,'browserStackPercyOptions':_0x1162a1,'platformCaps':Object[_0x5aff1d(0x218)]({'index':_0x18943b},_0x59fea4['config']['platforms'][_0x18943b])}});}),_0x120e63['push'](..._0x4da17e);});else{const _0x8e024b=[];_0x53ca4e[_0x934b57(0x1d5)]((_0x4c4e0f,_0x38f225)=>{const _0x1689f2=_0x934b57;let _0x3f5c2e=Object[_0x1689f2(0x218)]({},_0x557b9d);testOpsHelper[_0x1689f2(0x175)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x3f5c2e={..._0x3f5c2e,'spec':[..._0x3e4d58]}),_0x8e024b[_0x1689f2(0x1c1)]({'mochaOpts':_0x3f5c2e,'configuration':{'server':_0x24da86,'capability':_0x4c4e0f,'proxySettings':_0x59fea4[_0x1689f2(0x207)][_0x1689f2(0x16f)],'platform':helper[_0x1689f2(0x16b)](_0x4c4e0f),'browserStackLogLevel':_0x59fea4[_0x1689f2(0x207)][_0x1689f2(0x170)],'platformIndex':_0x38f225,'browserStackPercyOptions':_0x1162a1,'platformCaps':Object[_0x1689f2(0x218)]({'index':_0x38f225},_0x59fea4[_0x1689f2(0x207)]['platforms'][_0x38f225])}});}),_0x120e63[_0x934b57(0x1c1)](..._0x8e024b);}logger[_0x934b57(0x23f)](_0x934b57(0x22f)+_0x59fea4[_0x934b57(0x207)][_0x934b57(0x24c)][_0x934b57(0x182)]+_0x934b57(0x1ee)),logger['info'](_0x1353a8[_0x934b57(0x1c9)]);let _0x201d5b;_0x1353a8[_0x934b57(0x1ba)](parallelTestRun,_0x120e63,_0x3ecab6,_0x59fea4)[_0x934b57(0x168)](_0x90fcfd=>{const _0x46a989=_0x934b57;PerformanceTester[_0x46a989(0x18e)](PerformanceEvents[_0x46a989(0x1a8)]),_0x201d5b=_0x90fcfd,_0x1353a8[_0x46a989(0x1ce)](printStats,_0x90fcfd,_0x33dedb[_0x46a989(0x179)],_0x33dedb['reporterOptions']||_0x33dedb[_0x1353a8['UhyRT']]);})[_0x934b57(0x1b1)](async()=>{const _0x491533=_0x934b57;PerformanceTester[_0x491533(0x18e)](PerformanceEvents['SDK_CLEANUP']),_0x59fea4[_0x491533(0x1a6)]=helper[_0x491533(0x17f)](_0x201d5b,_0x1353a8[_0x491533(0x22b)]),await utilities['finalExecution'](_0x59fea4),testOpsHelper[_0x491533(0x1b5)]();});}}module[a28_0x229e72(0x19c)]=run;
2
+ 'use strict';const a28_0x61dc=a28_0x5e06;(function(_0x5c751b,_0x4013b1){const _0x411b8e=a28_0x5e06,_0x285cd0=_0x5c751b();while(!![]){try{const _0x24479e=-parseInt(_0x411b8e(0x1ba))/0x1*(-parseInt(_0x411b8e(0xf8))/0x2)+-parseInt(_0x411b8e(0xa1))/0x3*(parseInt(_0x411b8e(0xcd))/0x4)+parseInt(_0x411b8e(0x122))/0x5*(-parseInt(_0x411b8e(0x115))/0x6)+parseInt(_0x411b8e(0x133))/0x7+parseInt(_0x411b8e(0x1ac))/0x8*(parseInt(_0x411b8e(0xa0))/0x9)+parseInt(_0x411b8e(0x11a))/0xa*(-parseInt(_0x411b8e(0x194))/0xb)+-parseInt(_0x411b8e(0x141))/0xc*(-parseInt(_0x411b8e(0x10e))/0xd);if(_0x24479e===_0x4013b1)break;else _0x285cd0['push'](_0x285cd0['shift']());}catch(_0x2f525){_0x285cd0['push'](_0x285cd0['shift']());}}}(a28_0x5c15,0x422e9));const chalk=require(a28_0x61dc(0x137)),logger=require(a28_0x61dc(0x191))[a28_0x61dc(0x14c)],helper=require(a28_0x61dc(0x18a)),utilities=require(a28_0x61dc(0xe5)),testOpsHelper=require(a28_0x61dc(0xe2)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x61dc(0xd2)),Base=requireModule(a28_0x61dc(0xc1),a28_0x61dc(0xfb)),collectFiles=requireModule(a28_0x61dc(0xa4),a28_0x61dc(0xfb)),constants=require(a28_0x61dc(0x1a3)),PerformanceTester=require(a28_0x61dc(0x14b)),PerformanceEvents=require(a28_0x61dc(0x135))[a28_0x61dc(0xda)],centralScannerConstants=require(a28_0x61dc(0xbf)),{FRAMEWORKS}=require(a28_0x61dc(0xfe)),TestHubHandler=require(a28_0x61dc(0x177));function a28_0x5c15(){const _0x145ae0=['QjdbW','GqdFW','finally','passed','retries','proxySettings','writeFileSync','../../helpers/helper','fNxsv','stack','green','getOwnPropertyNames','eUsvz','errorMessage','../../helpers/logger','SKhsB','CsGWV','312323ynrLhE','Running\x20your\x20mocha\x20tests\x20across\x20','fullTitle','pFOJe','Couldn\x27t\x20write\x20xunit\x20result\x20to','getErrorMessageFromResults','testsPending','fireFunnelTestEvent','MlsLS','hasOwnProperty','titlePathV','config','MKeSA','\x20total','info','../utils/constants','debug','LtscM','Tests:\x20\x20\x20\x20\x20\x20\x20','rootHooks','Listing\x20all\x20the\x20failures','accessibility','gwUxR','suite','8TVuNDG','woalq','xJbKN','rzmCo','oKoJO','KYVOV','IdFKn','parseFileNames','reporterOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testcase','expected','BROWSERSTACK_TEST_OBSERVABILITY_YML','XYFkI','8GzFFML','AytOM','testsPassed','Setting\x20non\x20exit\x20code\x20for\x20failures','1302381TulSLI','8709ceRsCp','reporter','WTvPL','mocha/lib/cli/collect-files.js','yellow','getUserWorkerCount','kibXW','toUTCString','hideDiff','validPlatformsPresent','tarWF','MCUpR','results','bjvbS','forEach','getHubUrl','passes','cDaYp','fpcvY','kqqiI','HrHVs','IqmPY','QjHEz','totalTests','platform','parse','consoleLog','ISHXF','IyCRQ','fNxLK','../../helpers/central-scanner/constants','CUoOy','mocha/lib/reporters/base.js','extension','MOCHA','goyFM','fMHRX','framework','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','Plsyt','wWRri','files','MPyzI','nriyt','436YqSjoP','length','BROWSERSTACK_RERUN_TESTS','WntlJ','actual','../../helpers/percy/utils','uptJe','pending','FOotu','wkKPb','DwbcK','platforms','assign','EVENTS','nqeEg','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','FCNZZ','ToZSC','EryDB','dGSMS','central_scanner','../../helpers/test-observability/utils','isPending','exports','../../helpers/utilities','TYyQw','rrjFi','push','output','EglDj','UgNGo','KBbPs','fIjfB','map','printBuildLink','setupTCGAuth','useW3C','parseTestOrchestrationOptions','prototype','rmdirSync','testsuite','failures','OytFd','74942eZNHZT','FTrKc','mOmWM','mocha','duration','skipped','../../helpers/test-observability/constants','isEmpty','yPvtQ','mgsRF','\x20failed','parallelsPerPlatform','isBrowserstackInfra','testObservability','QzVtF','QXNbK','useColors','VpJqj','file','Total\x20Suites:\x20','log','YwnDR','975zBmRKP','RuLsi','exitCode','add','cdpcS','bgBlueBright','indexOf','26682WRynvz','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','initialize','json','adpKN','190KNWpMA','mtGbz','\x20platforms','Writing\x20xunit\x20result\x20to\x20file','VxvGI','vjLWD','dytYI','tRADI','75eMdUtC','</testsuite>','start','isUndefined','pRxOZ','logLevel','MuSgF','then','stringify','get','yRAaD','Couldn\x27t\x20write\x20json\x20result\x20to','bold','Now,\x20showing\x20logs\x20from\x20mocha','size','DAGXW','generateDiff','1788346vFKAyY','doc','../../helpers/performance/constants','error','chalk','iMqGx','oxbtJ','xunit','sVNxX','Irwhe','XaeQH','cjs','ElUuf','owbNg','78996GPfdWK','JCOmJ','IhiTV','getPlatformName','getCentralUser','handleApp','titlePath','notifyUpdate','PlrfO','fKppK','../../helpers/performance/performance-tester','winstonLogger','ERDdN','testSuites','launchBuild','getTCGConfigFilePaths','min','BROWSERSTACK_GRR_US_HUB_URL','KpSpX','red','stats','testsFailed','keys','HcOJz','spec','tuxrm','hkWEf','FRAMEWORKS','bgRedBright','error\x20removing\x20tcg\x20config\x20file','dpEVQ','savcW','Writing\x20json\x20result\x20to\x20file','RTXrg','kLqPx','miBwZ','BXDak','retryTestsOnFailure','failure','cliConfig','HTeMI','Running\x20your\x20mocha\x20tests','FclDs','KhYaT','object','showDiff','env','accessibilityOptions','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','isTestObservabilitySession','bFaTZ','Mocha\x20Tests','zNaPy','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','../../helpers/testhub/testhubHandler','shouldReRunObservabilityTests','title','join','rerunTests','list','djXGE','PmVSL','message','SDKTestSuccessful','state','SDK_CLEANUP'];a28_0x5c15=function(){return _0x145ae0;};return a28_0x5c15();}function tag(_0x50000f,_0x1f1530,_0x56c1d1,_0x442177){const _0x3e700b=a28_0x61dc,_0x3d4be2={'QXNbK':function(_0x5e6274,_0x2561d4){return _0x5e6274+_0x2561d4;},'EryDB':function(_0xaddef6,_0x2922e5){return _0xaddef6+_0x2922e5;},'owbNg':function(_0x1245df,_0x64c04e){return _0x1245df+_0x64c04e;},'ISHXF':function(_0x4aa633,_0xe41ef6){return _0x4aa633(_0xe41ef6);},'XaeQH':function(_0x1cc961,_0x4ac04a){return _0x1cc961+_0x4ac04a;},'UsLRX':function(_0x646f10,_0x44c7e5){return _0x646f10+_0x44c7e5;},'DAGXW':function(_0x509a80,_0x27d9ef){return _0x509a80+_0x27d9ef;}},_0x128726=_0x56c1d1?'/>':'>',_0x5cf4dd=[];let _0x36df90;for(const _0x423cc7 in _0x1f1530){Object[_0x3e700b(0xf3)][_0x3e700b(0x19d)]['call'](_0x1f1530,_0x423cc7)&&_0x5cf4dd['push'](_0x3d4be2[_0x3e700b(0x107)](_0x3d4be2['EryDB'](_0x3d4be2['owbNg'](_0x423cc7,'=\x22'),_0x3d4be2[_0x3e700b(0xbc)](escape,_0x1f1530[_0x423cc7])),'\x22'));}return _0x36df90=_0x3d4be2[_0x3e700b(0xdf)](_0x3d4be2['EryDB'](_0x3d4be2[_0x3e700b(0x13d)]('<',_0x50000f),_0x5cf4dd[_0x3e700b(0xce)]?_0x3d4be2[_0x3e700b(0x140)]('\x20',_0x5cf4dd['join']('\x20')):''),_0x128726),_0x442177&&(_0x36df90+=_0x3d4be2['UsLRX'](_0x3d4be2['XaeQH'](_0x3d4be2[_0x3e700b(0x131)](_0x442177,'</'),_0x50000f),_0x128726)),_0x36df90;}let xunitContent='';function xunitWrite(_0x381e7a){xunitContent+=_0x381e7a;}function a28_0x5e06(_0x3bbf92,_0x36fa40){const _0x5c153a=a28_0x5c15();return a28_0x5e06=function(_0x5e06ec,_0x39d7e4){_0x5e06ec=_0x5e06ec-0x9d;let _0x19f266=_0x5c153a[_0x5e06ec];return _0x19f266;},a28_0x5e06(_0x3bbf92,_0x36fa40);}function xunitTest(_0x71327e,_0x4b7e40){const _0x35636c=a28_0x61dc,_0x45f781={'Plsyt':function(_0x24129a,_0x140ef7){return _0x24129a/_0x140ef7;},'ZCivf':function(_0x5d3b56,_0x4c5d07){return _0x5d3b56===_0x4c5d07;},'RuLsi':'failed','EglDj':function(_0x4fcee0,_0x163f5e){return _0x4fcee0+_0x163f5e;},'pRxOZ':function(_0x44862b,_0x4d6adf){return _0x44862b(_0x4d6adf);},'VxvGI':function(_0x1b807e,_0x264463,_0x58fc45,_0x21e52f,_0x22464d){return _0x1b807e(_0x264463,_0x58fc45,_0x21e52f,_0x22464d);},'oKoJO':_0x35636c(0x1b6),'tRADI':_0x35636c(0x167),'MuSgF':function(_0x389e54,_0x5ba869){return _0x389e54+_0x5ba869;},'MCUpR':function(_0xdf9e11,_0x475fb3){return _0xdf9e11+_0x475fb3;},'IqmPY':function(_0x355a77,_0x260969,_0x20110e,_0xda4b22){return _0x355a77(_0x260969,_0x20110e,_0xda4b22);},'LJlEQ':_0x35636c(0xfd)};Base[_0x35636c(0x108)]=![];var _0x44fa54={'classname':_0x71327e[_0x35636c(0x196)],'name':_0x71327e[_0x35636c(0x179)],'time':_0x45f781[_0x35636c(0xc8)](_0x71327e[_0x35636c(0xfc)],0x3e8)||0x0,'platform':_0x4b7e40};if(_0x45f781['ZCivf'](_0x71327e[_0x35636c(0x181)],_0x45f781[_0x35636c(0x10f)])){var _0x3f2a7e=_0x71327e['err'],_0x361da7=!Base[_0x35636c(0xa9)]&&Base[_0x35636c(0x16e)](_0x3f2a7e)?_0x45f781[_0x35636c(0xea)]('\x0a',Base[_0x35636c(0x132)](_0x3f2a7e[_0x35636c(0xd1)],_0x3f2a7e[_0x35636c(0x1b7)])):'';_0x45f781['pRxOZ'](xunitWrite,_0x45f781[_0x35636c(0x11e)](tag,_0x45f781[_0x35636c(0x1b0)],_0x44fa54,![],_0x45f781[_0x35636c(0x11e)](tag,_0x45f781[_0x35636c(0x121)],{},![],_0x45f781[_0x35636c(0x128)](_0x45f781[_0x35636c(0xac)](_0x45f781['EglDj'](_0x45f781[_0x35636c(0x126)](escape,_0x3f2a7e[_0x35636c(0x17f)]),_0x45f781[_0x35636c(0x126)](escape,_0x361da7)),'\x0a'),_0x45f781[_0x35636c(0x126)](escape,_0x3f2a7e[_0x35636c(0x18c)])))));}else _0x71327e[_0x35636c(0xe3)]?_0x45f781[_0x35636c(0x126)](xunitWrite,_0x45f781[_0x35636c(0x11e)](tag,_0x45f781['oKoJO'],_0x44fa54,![],_0x45f781['IqmPY'](tag,_0x45f781['LJlEQ'],{},!![]))):_0x45f781[_0x35636c(0x126)](xunitWrite,_0x45f781[_0x35636c(0xb6)](tag,_0x45f781['oKoJO'],_0x44fa54,!![]));};function getStats(_0x34bc98){const _0x2ff815=a28_0x61dc,_0xde3ed7={};_0xde3ed7[_0x2ff815(0x16c)]=_0x2ff815(0x1ab),_0xde3ed7['sVNxX']=_0x2ff815(0x186),_0xde3ed7['KpSpX']='failed',_0xde3ed7[_0x2ff815(0x1af)]=_0x2ff815(0xad);const _0x3c1c5c=_0xde3ed7,_0x23ec26=Object[_0x2ff815(0x157)](_0x34bc98);let _0xcc9d7=0x0,_0x4e2419=0x0,_0x59a30f=0x0,_0x2da4bf=0x0;const _0x1c35c8=new Set();_0x23ec26[_0x2ff815(0xaf)](_0x34b148=>{const _0x5cbc5f=_0x2ff815;_0x34bc98[_0x34b148][_0x3c1c5c[_0x5cbc5f(0x1af)]][_0x5cbc5f(0xaf)](_0x3b3ac1=>{const _0x430e2f=_0x5cbc5f;_0x1c35c8[_0x430e2f(0x111)](_0x3b3ac1[_0x3c1c5c[_0x430e2f(0x16c)]]),_0xcc9d7++;switch(_0x3b3ac1['state']){case _0x3c1c5c[_0x430e2f(0x13b)]:_0x59a30f++;break;case _0x3c1c5c[_0x430e2f(0x153)]:_0x4e2419++;break;default:_0x2da4bf++;}});});const _0x3b567a={};return _0x3b567a[_0x2ff815(0x14e)]=_0x1c35c8[_0x2ff815(0x130)],_0x3b567a[_0x2ff815(0xd8)]=_0x23ec26,_0x3b567a[_0x2ff815(0xb8)]=_0xcc9d7,_0x3b567a[_0x2ff815(0x156)]=_0x4e2419,_0x3b567a['testsPassed']=_0x59a30f,_0x3b567a[_0x2ff815(0x19a)]=_0x2da4bf,_0x3b567a;}function errorJSON(_0x530c33){const _0x2259a9=a28_0x61dc;var _0x269c6a={};return Object[_0x2259a9(0x18e)](_0x530c33)[_0x2259a9(0xaf)](function(_0x75eb13){_0x269c6a[_0x75eb13]=_0x530c33[_0x75eb13];},_0x530c33),_0x269c6a;}function cleanCycles(_0xf8ee21){const _0x54d67b=a28_0x61dc,_0x27b543={};_0x27b543[_0x54d67b(0x11f)]=function(_0x468f0c,_0x3238fe){return _0x468f0c===_0x3238fe;},_0x27b543['woalq']=_0x54d67b(0x16d),_0x27b543[_0x54d67b(0xf9)]=function(_0x507fe0,_0x1e5de0){return _0x507fe0!==_0x1e5de0;},_0x27b543['kLqPx']=function(_0x24d41a,_0x2ba222){return _0x24d41a!==_0x2ba222;},_0x27b543[_0x54d67b(0x1b2)]=function(_0x5e4390,_0x32a4b1){return _0x5e4390+_0x32a4b1;};const _0xc9f9ce=_0x27b543;var _0x59bda5=[];return JSON[_0x54d67b(0xba)](JSON[_0x54d67b(0x12a)](_0xf8ee21,function(_0x424ef4,_0x4dab2a){const _0x537c90=_0x54d67b;if(_0xc9f9ce[_0x537c90(0x11f)](typeof _0x4dab2a,_0xc9f9ce[_0x537c90(0x1ad)])&&_0xc9f9ce[_0x537c90(0xf9)](_0x4dab2a,null)){if(_0xc9f9ce[_0x537c90(0x163)](_0x59bda5[_0x537c90(0x114)](_0x4dab2a),-0x1))return _0xc9f9ce[_0x537c90(0x1b2)]('',_0x4dab2a);_0x59bda5[_0x537c90(0xe8)](_0x4dab2a);}return _0x4dab2a;}));}function clean(_0x3ec194){const _0x50ee7c=a28_0x61dc,_0x31eb08={'ERDdN':function(_0x182f62,_0x56f123){return _0x182f62 instanceof _0x56f123;},'CUoOy':function(_0x1b7083,_0x10a9ff){return _0x1b7083(_0x10a9ff);}};var _0x227896=_0x3ec194['err']||{};return _0x31eb08[_0x50ee7c(0x14d)](_0x227896,Error)&&(_0x227896=_0x31eb08[_0x50ee7c(0xc0)](errorJSON,_0x227896)),{'title':_0x3ec194[_0x50ee7c(0x179)],'fullTitle':_0x3ec194[_0x50ee7c(0x196)],'file':_0x3ec194['file'],'duration':_0x3ec194[_0x50ee7c(0xfc)],'currentRetry':_0x3ec194['currentRetry'],'speed':_0x3ec194['speed'],'err':_0x31eb08[_0x50ee7c(0xc0)](cleanCycles,_0x227896)};}function printStats(_0x25b8fa,_0x5f12b7=a28_0x61dc(0x159),_0xb1d456={}){const _0x3ba504=a28_0x61dc,_0x2646b7={'OytFd':function(_0x43f43f,_0x4e4c7e){return _0x43f43f(_0x4e4c7e);},'bjvbS':function(_0x1ac97e,_0x1cf6af){return _0x1ac97e===_0x1cf6af;},'tarWF':'passed','mtGbz':_0x3ba504(0xb1),'ToZSC':function(_0x294757,_0x408f1a){return _0x294757===_0x408f1a;},'xJbKN':'failed','CPkqN':_0x3ba504(0xf6),'WntlJ':function(_0x20dd41,_0x313e31){return _0x20dd41(_0x313e31);},'udWCi':_0x3ba504(0xd4),'YwnDR':_0x3ba504(0xad),'fNxsv':function(_0x1025ef,_0x213a2e){return _0x1025ef===_0x213a2e;},'QzVtF':function(_0x28c62a,_0x5f63bc){return _0x28c62a===_0x5f63bc;},'PmVSL':function(_0x69a6d4,_0x12cfa3){return _0x69a6d4*_0x12cfa3;},'dpEVQ':function(_0x2c26ee,_0x253a46,_0x307201){return _0x2c26ee(_0x253a46,_0x307201);},'FOotu':function(_0x31619e,_0x9f90e8){return _0x31619e===_0x9f90e8;},'dytYI':function(_0x182cd0,_0x5ae935){return _0x182cd0>_0x5ae935;},'nriyt':function(_0x53eca0){return _0x53eca0();},'GOMOo':function(_0x3edb59,_0x687361){return _0x3edb59===_0x687361;},'Irwhe':_0x3ba504(0x134),'KBbPs':function(_0x3b0c4d,_0x289825){return _0x3b0c4d>_0x289825;},'rrjFi':_0x3ba504(0x9f),'MPyzI':'Printing\x20stats\x20of\x20tests','fIjfB':function(_0x516a55,_0xba1735){return _0x516a55+_0xba1735;},'miBwZ':'Total\x20Platforms:\x20','SKhsB':function(_0x12505e,_0x1658ef){return _0x12505e+_0x1658ef;},'QjdbW':_0x3ba504(0x10b),'JPRrW':function(_0x496771,_0x2dc4e5){return _0x496771+_0x2dc4e5;},'JCOmJ':function(_0xe798d7,_0x292f7c){return _0xe798d7+_0x292f7c;},'uptJe':function(_0x377028,_0xc0441a){return _0x377028+_0xc0441a;},'fKppK':_0x3ba504(0x1a6),'WTvPL':function(_0x348f24,_0x2d07df){return _0x348f24>_0x2d07df;},'nqeEg':function(_0xebda4e,_0x3fc5e7){return _0xebda4e+_0x3fc5e7;},'cDaYp':function(_0x15762c,_0x52aaf8){return _0x15762c+_0x52aaf8;},'zNaPy':function(_0x2cd2bf,_0x31df7c){return _0x2cd2bf+_0x31df7c;},'kmoax':function(_0x2dd231,_0x482026){return _0x2dd231+_0x482026;},'hkWEf':'\x0a\x0a\x0a','YtMAZ':function(_0x95a7c7,_0x59146b){return _0x95a7c7===_0x59146b;},'RtCLu':_0x3ba504(0x118),'VpJqj':_0x3ba504(0x161),'aYmte':_0x3ba504(0x12d),'DwbcK':_0x3ba504(0xc7),'wWRri':function(_0x4a9901,_0x450b50){return _0x4a9901===_0x450b50;},'mgsRF':_0x3ba504(0x13a),'MKeSA':_0x3ba504(0x174),'IyCRQ':function(_0x683147,_0x40a25b){return _0x683147||_0x40a25b;},'jhmiH':function(_0x12a5e4,_0x3777d3,_0x357c2e,_0x51b613){return _0x12a5e4(_0x3777d3,_0x357c2e,_0x51b613);},'yRAaD':_0x3ba504(0xf5),'PlrfO':function(_0x4c93b1,_0x4c7b99){return _0x4c93b1-_0x4c7b99;},'gwUxR':function(_0x59ac46,_0x27da5c){return _0x59ac46-_0x27da5c;},'eUsvz':function(_0x1bcdb2,_0x49ebaf){return _0x1bcdb2/_0x49ebaf;},'AytOM':function(_0x225044,_0x12cf5e){return _0x225044(_0x12cf5e);},'CRCLO':_0x3ba504(0x123),'BXDak':_0x3ba504(0x11d),'kqqiI':_0x3ba504(0x198),'djXGE':_0x3ba504(0x171),'FclDs':function(_0x427776,_0x240747){return _0x427776===_0x240747;},'HcOJz':_0x3ba504(0x1a8),'FCNZZ':'****\x20FAILURES\x20****'};if(_0x2646b7['GOMOo'](_0x5f12b7,_0x2646b7[_0x3ba504(0x13c)]))return;const _0x528bbc=0x0,_0x49d663=()=>{const _0x2148d5=_0x3ba504;return _0x2646b7[_0x2148d5(0xf7)](Array,_0x528bbc)[_0x2148d5(0x17a)]('\x20\x20');},{testSuites:_0x38f65e,platforms:_0x51c398,totalTests:_0x17d214,testsFailed:_0x38a59d,testsPassed:_0x58d61e,testsPending:_0x10f3c4}=_0x2646b7[_0x3ba504(0xf7)](getStats,_0x25b8fa);_0x2646b7[_0x3ba504(0xec)](_0x38a59d,0x0)&&(logger['debug'](_0x2646b7[_0x3ba504(0xe7)]),process[_0x3ba504(0x110)]=Math[_0x3ba504(0x151)](_0x38a59d,0xff));logger[_0x3ba504(0x1a4)](_0x2646b7[_0x3ba504(0xcb)]);const _0x58d2cd=''+_0x2646b7[_0x3ba504(0xed)](chalk[_0x3ba504(0x12e)](_0x2646b7[_0x3ba504(0x164)]),_0x51c398[_0x3ba504(0xce)]),_0xf51587=''+_0x2646b7[_0x3ba504(0x192)](chalk['bold'](_0x2646b7[_0x3ba504(0x183)]),_0x38f65e),_0x33b80c=''+_0x2646b7['JPRrW'](_0x2646b7[_0x3ba504(0x142)](_0x2646b7[_0x3ba504(0xd3)](chalk[_0x3ba504(0x12e)](_0x2646b7[_0x3ba504(0x14a)]),_0x2646b7[_0x3ba504(0xec)](_0x38a59d,0x0)?chalk['bold'][_0x3ba504(0x154)](_0x38a59d+_0x3ba504(0x102))+',\x20':''),_0x2646b7[_0x3ba504(0x120)](_0x10f3c4,0x0)?chalk['bold'][_0x3ba504(0xa5)](_0x10f3c4+'\x20skipped')+',\x20':''),_0x2646b7[_0x3ba504(0xa3)](_0x58d61e,0x0)?chalk[_0x3ba504(0x12e)][_0x3ba504(0x18d)](_0x58d61e+'\x20passed')+',\x20':'')+_0x17d214+_0x3ba504(0x1a1);console[_0x3ba504(0x10c)](_0x2646b7[_0x3ba504(0xdb)](_0x2646b7[_0x3ba504(0xb2)](_0x2646b7[_0x3ba504(0xb2)](_0x2646b7[_0x3ba504(0x175)](_0x2646b7['kmoax'](_0x2646b7[_0x3ba504(0x15b)],_0x58d2cd),'\x0a'),_0xf51587),'\x0a'),_0x33b80c));if(_0x2646b7['YtMAZ'](_0x5f12b7,_0x2646b7['RtCLu'])){const _0x135609={},_0x267417={};_0x267417[_0x3ba504(0x14e)]=_0x38f65e,_0x267417[_0x3ba504(0xd8)]=_0x51c398,_0x267417['testsFailed']=_0x38a59d,_0x267417[_0x3ba504(0x9e)]=_0x58d61e,_0x267417[_0x3ba504(0x19a)]=_0x10f3c4,_0x135609[_0x3ba504(0x155)]=_0x267417,_0x51c398[_0x3ba504(0xaf)](_0x305ca3=>{const _0x49285d=_0x3ba504,_0x46e980={'KYVOV':function(_0x435b07,_0x6a8e32){const _0x15b1cc=a28_0x5e06;return _0x2646b7[_0x15b1cc(0xae)](_0x435b07,_0x6a8e32);},'wGDwn':_0x2646b7[_0x49285d(0xab)],'HrHVs':_0x2646b7[_0x49285d(0x11b)],'kibXW':function(_0x4c538a,_0x5d34be){const _0xd7abb9=_0x49285d;return _0x2646b7[_0xd7abb9(0xf7)](_0x4c538a,_0x5d34be);},'yPvtQ':function(_0x570802,_0x184228){const _0x53e101=_0x49285d;return _0x2646b7[_0x53e101(0xde)](_0x570802,_0x184228);},'goyFM':_0x2646b7['xJbKN'],'fpcvY':_0x2646b7['CPkqN'],'dGSMS':function(_0x58396d,_0x360a9b){return _0x2646b7['WntlJ'](_0x58396d,_0x360a9b);},'wkKPb':_0x2646b7['udWCi']};_0x135609[_0x305ca3]={'pending':[],'failures':[],'passes':[],'tests':_0x25b8fa[_0x305ca3][_0x2646b7['YwnDR']][_0x49285d(0xee)](clean)},_0x25b8fa[_0x305ca3][_0x2646b7['YwnDR']]['forEach'](_0x57f92c=>{const _0x2ada24=_0x49285d;if(_0x46e980[_0x2ada24(0x1b1)](_0x57f92c[_0x2ada24(0x181)],_0x46e980['wGDwn']))_0x135609[_0x305ca3][_0x46e980[_0x2ada24(0xb5)]]['push'](_0x46e980[_0x2ada24(0xa7)](clean,_0x57f92c));else _0x46e980[_0x2ada24(0x100)](_0x57f92c[_0x2ada24(0x181)],_0x46e980[_0x2ada24(0xc4)])?_0x135609[_0x305ca3][_0x46e980[_0x2ada24(0xb3)]][_0x2ada24(0xe8)](_0x46e980[_0x2ada24(0xe0)](clean,_0x57f92c)):_0x135609[_0x305ca3][_0x46e980[_0x2ada24(0xd6)]]['push'](_0x46e980[_0x2ada24(0xe0)](clean,_0x57f92c));});});if(_0xb1d456[_0x3ba504(0xe9)])try{logger['debug'](_0x2646b7[_0x3ba504(0x109)],_0xb1d456['output']),fs['writeFileSync'](_0xb1d456[_0x3ba504(0xe9)],JSON[_0x3ba504(0x12a)](_0x135609,null,0x3));}catch(_0x2631f6){logger['error'](_0x2646b7['aYmte'],_0xb1d456[_0x3ba504(0xe9)]),logger[_0x3ba504(0x1a4)](_0x2631f6);}else logger[_0x3ba504(0x1a4)](_0x2646b7[_0x3ba504(0xd7)]),console['log'](JSON[_0x3ba504(0x12a)](_0x135609,null,0x3));}else{if(_0x2646b7[_0x3ba504(0xc9)](_0x5f12b7,_0x2646b7[_0x3ba504(0x101)])){let _0x2ca8dd;const _0xb29d1d=_0x2646b7[_0x3ba504(0x1a0)];_0xb1d456&&(_0x2ca8dd=_0xb1d456['suiteName']);_0x2ca8dd=_0x2646b7[_0x3ba504(0xbd)](_0x2ca8dd,_0xb29d1d);let _0x170cc7=0x0,_0x4083e9=0x0,_0x55d7d5=0x0,_0xb83753=0x0;_0x51c398[_0x3ba504(0xaf)](_0x218e00=>{const _0x195c3b=_0x3ba504,_0x3ad32e={'iMqGx':function(_0x251e77,_0x437a79){const _0x132ae6=a28_0x5e06;return _0x2646b7[_0x132ae6(0x18b)](_0x251e77,_0x437a79);},'cdpcS':_0x2646b7['tarWF'],'GqdFW':function(_0x1b3750,_0x539192){const _0x3921ee=a28_0x5e06;return _0x2646b7[_0x3921ee(0x106)](_0x1b3750,_0x539192);},'UgNGo':_0x2646b7[_0x195c3b(0x1ae)],'MlsLS':function(_0x51dba9,_0x2a34c5){const _0x5e5200=_0x195c3b;return _0x2646b7[_0x5e5200(0x17e)](_0x51dba9,_0x2a34c5);}};_0x25b8fa[_0x218e00][_0x2646b7[_0x195c3b(0x10d)]]['forEach'](_0x1de7e7=>{const _0xfacad7=_0x195c3b;if(_0x3ad32e[_0xfacad7(0x138)](_0x1de7e7[_0xfacad7(0x181)],_0x3ad32e[_0xfacad7(0x112)]))_0x170cc7++;else _0x3ad32e[_0xfacad7(0x184)](_0x1de7e7[_0xfacad7(0x181)],_0x3ad32e[_0xfacad7(0xeb)])&&_0x4083e9++;_0x55d7d5++,_0xb83753+=_0x3ad32e[_0xfacad7(0x19c)](_0x1de7e7[_0xfacad7(0xfc)],0x1);});}),_0x2646b7[_0x3ba504(0xd0)](xunitWrite,_0x2646b7['jhmiH'](tag,_0x2646b7[_0x3ba504(0x12c)],{'name':_0x2ca8dd,'tests':_0x55d7d5,'failures':0x0,'errors':_0x4083e9,'skipped':_0x2646b7[_0x3ba504(0x149)](_0x2646b7[_0x3ba504(0x1aa)](_0x55d7d5,_0x4083e9),_0x170cc7),'timestamp':new Date()[_0x3ba504(0xa8)](),'time':_0x2646b7[_0x3ba504(0x18f)](_0xb83753,0x3e8)||0x0},![])),_0x51c398[_0x3ba504(0xaf)](_0x2ab829=>{const _0xa923d=_0x3ba504;_0x25b8fa[_0x2ab829][_0x2646b7[_0xa923d(0x10d)]][_0xa923d(0xaf)](_0x510ce2=>{const _0x136401=_0xa923d;_0x2646b7[_0x136401(0x15f)](xunitTest,_0x510ce2,_0x2ab829);});}),_0x2646b7[_0x3ba504(0x9d)](xunitWrite,_0x2646b7['CRCLO']);if(_0xb1d456['output'])try{logger[_0x3ba504(0x1a4)](_0x2646b7[_0x3ba504(0x165)],_0xb1d456[_0x3ba504(0xe9)]),fs[_0x3ba504(0x189)](_0xb1d456[_0x3ba504(0xe9)],xunitContent);}catch(_0x1f6ea5){logger[_0x3ba504(0x136)](_0x2646b7[_0x3ba504(0xb4)],_0xb1d456[_0x3ba504(0xe9)]),logger['debug'](_0x1f6ea5);}else logger['debug'](_0x2646b7[_0x3ba504(0x17d)]),console['log'](xunitContent);}else{if(_0x2646b7[_0x3ba504(0x16b)](_0x38a59d,0x0))return;console[_0x3ba504(0x10c)](),logger[_0x3ba504(0x1a4)](_0x2646b7[_0x3ba504(0x158)]),console[_0x3ba504(0x10c)](chalk[_0x3ba504(0x12e)][_0x3ba504(0x15d)](_0x2646b7[_0x3ba504(0xdd)])),_0x51c398[_0x3ba504(0xaf)](_0x1bb1c4=>{const _0x1fb80d=_0x3ba504,_0x530cec={'fMHRX':function(_0x83bbca,_0x7d0527){const _0x19aece=a28_0x5e06;return _0x2646b7[_0x19aece(0xd5)](_0x83bbca,_0x7d0527);},'LtscM':_0x2646b7[_0x1fb80d(0x1ae)]},_0x4a2e42=[];_0x25b8fa[_0x1bb1c4][_0x2646b7[_0x1fb80d(0x10d)]][_0x1fb80d(0xaf)](_0x5d6756=>{const _0x1a5514=_0x1fb80d;_0x530cec[_0x1a5514(0xc5)](_0x5d6756[_0x1a5514(0x181)],_0x530cec[_0x1a5514(0x1a5)])&&(_0x5d6756[_0x1a5514(0x147)]=()=>_0x5d6756[_0x1a5514(0x19e)],_0x4a2e42[_0x1a5514(0xe8)](_0x5d6756));}),_0x2646b7['dytYI'](_0x4a2e42[_0x1fb80d(0xce)],0x0)&&(Base[_0x1fb80d(0xbb)](),Base[_0x1fb80d(0xbb)](_0x2646b7[_0x1fb80d(0xcc)](_0x49d663),chalk['bold'][_0x1fb80d(0x113)](_0x1bb1c4)),Base[_0x1fb80d(0x17c)](_0x4a2e42));});}}}async function run(_0xacca9c,_0x186421,_0x571140){const _0x496d7d=a28_0x61dc,_0x4f879a={'mOmWM':function(_0x4ddbec,_0x46d2af,_0x11e059,_0x4114c9){return _0x4ddbec(_0x46d2af,_0x11e059,_0x4114c9);},'QjHEz':'reporter-option','TYyQw':_0x496d7d(0x15e),'kpXIo':_0x496d7d(0x180),'ElUuf':_0x496d7d(0xfb),'RTXrg':function(_0xd4eef6,_0x2bc2e0){return _0xd4eef6!=_0x2bc2e0;},'qoCyt':_0x496d7d(0x13e),'oxbtJ':'mjs','adpKN':'test','fNxLK':_0x496d7d(0x17b),'savcW':function(_0xbd1ae9,_0x28e223){return _0xbd1ae9(_0x28e223);},'CsGWV':function(_0x2281b7,_0xb140ac,_0x22bea0){return _0x2281b7(_0xb140ac,_0x22bea0);},'bFaTZ':_0x496d7d(0xca),'pFOJe':_0x496d7d(0x16a),'HTeMI':_0x496d7d(0x12f),'tuxrm':function(_0x2255b9,_0xc6606a,_0x2a740e,_0x583138){return _0x2255b9(_0xc6606a,_0x2a740e,_0x583138);},'XYFkI':function(_0xee5161,_0x505659){return _0xee5161*_0x505659;},'IhiTV':function(_0x372093,_0x49ae1e){return _0x372093!==_0x49ae1e;}};helper['setUserConfigPath'](_0x571140[_0x496d7d(0xc6)],_0xacca9c);helper[_0x496d7d(0x104)]()?(await _0x571140[_0x496d7d(0x117)](_0xacca9c),await helper[_0x496d7d(0x146)](_0x571140[_0x496d7d(0x19f)])):await _0x571140[_0x496d7d(0xf0)]();const _0x23a4ef=[];let _0x2b9fad=[];if(!_0x571140[_0x496d7d(0x19f)])return;!helper[_0x496d7d(0x125)](_0x571140[_0x496d7d(0x19f)][_0x496d7d(0x170)])&&(process[_0x496d7d(0x16f)][_0x496d7d(0x116)]=JSON[_0x496d7d(0x12a)](_0x571140['config'][_0x496d7d(0x170)]));const _0x26cdba=await TestHubHandler[_0x496d7d(0x14f)](FRAMEWORKS[_0x496d7d(0xc3)],_0x571140);_0x4f879a[_0x496d7d(0x162)](_0x571140[_0x496d7d(0x19f)][_0x496d7d(0x105)],null)&&(process[_0x496d7d(0x16f)][_0x496d7d(0x1b8)]=_0x571140[_0x496d7d(0x19f)]['testObservability']);!helper['isUndefined'](_0x571140[_0x496d7d(0x19f)]['accessibility'])&&(process[_0x496d7d(0x16f)][_0x496d7d(0x1b5)]=_0x571140[_0x496d7d(0x19f)][_0x496d7d(0x1a9)]);const {extension:extension=['js',_0x4f879a['qoCyt'],_0x4f879a[_0x496d7d(0x139)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4f879a[_0x496d7d(0x119)]]}=_0xacca9c,_0x136d0d={..._0xacca9c};_0x136d0d[_0x496d7d(0x1a7)]=null;const _0x4f7ce7=_0x136d0d;let _0xc4a81c;if(testOpsHelper[_0x496d7d(0x172)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1cb5f8=process[_0x496d7d(0x16f)][_0x496d7d(0xcf)];!helper[_0x496d7d(0x125)](_0x571140['cliConfig'])&&_0x571140[_0x496d7d(0x168)]['has'](_0x4f879a[_0x496d7d(0xbe)])&&(_0x1cb5f8=_0x571140[_0x496d7d(0x168)][_0x496d7d(0x12b)](_0x4f879a[_0x496d7d(0xbe)])),_0xc4a81c=testOpsHelper[_0x496d7d(0x1b3)](_0x1cb5f8);}if(helper[_0x496d7d(0x125)](_0xc4a81c)){const _0x4fe4e6={};_0x4fe4e6['ignore']=ignore,_0x4fe4e6[_0x496d7d(0xc2)]=extension,_0x4fe4e6[_0x496d7d(0x10a)]=file,_0x4fe4e6['recursive']=recursive,_0x4fe4e6['sort']=sort,_0x4fe4e6[_0x496d7d(0x159)]=spec,_0xc4a81c=_0x4f879a['savcW'](collectFiles,_0x4fe4e6),_0x4f879a[_0x496d7d(0x193)](nestedKeyValue,_0xc4a81c,[_0x4f879a[_0x496d7d(0x173)]])&&(_0xc4a81c=_0xc4a81c['files']);}const _0x2b9000=helper[_0x496d7d(0xf2)](_0x571140[_0x496d7d(0x19f)]);!helper[_0x496d7d(0xff)](_0x2b9000)&&helper['isNotUndefined'](_0x2b9000['retryTestsOnFailure'])&&(_0x4f7ce7[_0x496d7d(0x187)]=_0x2b9000[_0x496d7d(0x166)]['maxRetries']);if(!helper[_0x496d7d(0x104)]()){const _0x2ef47d=0x1,_0x35a530={..._0x4f7ce7};_0x35a530[_0x496d7d(0x159)]=[..._0xc4a81c],_0x23a4ef['push']({'mochaOpts':_0x35a530,'configuration':{'platform':os[_0x496d7d(0xb9)]()}}),logger[_0x496d7d(0x1a2)](_0x4f879a[_0x496d7d(0x197)]),logger['info'](_0x4f879a[_0x496d7d(0x169)]),_0x4f879a[_0x496d7d(0x15a)](parallelTestRun,_0x23a4ef,_0x2ef47d,_0x571140)[_0x496d7d(0x129)](_0x3dbaa9=>{const _0x590006=_0x496d7d;PerformanceTester['start'](PerformanceEvents[_0x590006(0x182)]),_0x4f879a[_0x590006(0xfa)](printStats,_0x3dbaa9,_0xacca9c[_0x590006(0xa2)],_0xacca9c[_0x590006(0x1b4)]||_0xacca9c[_0x4f879a[_0x590006(0xb7)]]);})[_0x496d7d(0x185)](()=>{const _0x13f713=_0x496d7d;PerformanceTester['start'](PerformanceEvents[_0x13f713(0x182)]);try{const {browserstackFolderPath:_0x83f487,tcgConfigPath:_0x5c3a91}=helper[_0x13f713(0x150)]();fs['unlinkSync'](_0x5c3a91),fs[_0x13f713(0xf4)](_0x83f487);}catch(_0x28b9bd){logger[_0x13f713(0x1a4)](_0x4f879a[_0x13f713(0xe6)],_0x28b9bd);}try{utilities[_0x13f713(0x19b)](_0x4f879a['kpXIo'],{},_0x571140[_0x13f713(0x19f)],_0x571140['framework']);}catch(_0x3fc30e){logger['debug'](_0x13f713(0xdc)+_0x3fc30e[_0x13f713(0x18c)]);}try{helper[_0x13f713(0x148)]();}catch(_0x294bbb){logger[_0x13f713(0x1a4)](_0x13f713(0x176)+_0x294bbb);}testOpsHelper[_0x13f713(0xef)]();});}else{const _0x135e62=helper[_0x496d7d(0xf1)](_0x571140[_0x496d7d(0x19f)]);let _0x3c7b65=helper[_0x496d7d(0xb0)](_0x571140['config']);_0x2b9fad=helper['prepareCapabilities'](_0x571140[_0x496d7d(0x19f)],_0x135e62,constants[_0x496d7d(0x15c)][_0x496d7d(0xc3)]);helper[_0x496d7d(0x145)]()[_0x496d7d(0xe1)]&&(_0x3c7b65=centralScannerConstants[_0x496d7d(0x152)]);let _0x3bf073;const _0x52ecbe=_0x571140[_0x496d7d(0x19f)][_0x496d7d(0x103)]||helper[_0x496d7d(0xa6)](_0xacca9c,_0x186421,_0x571140[_0x496d7d(0x19f)],constants[_0x496d7d(0x15c)]['MOCHA'])||0x1;helper[_0x496d7d(0xaa)](_0x571140['config'])?_0x3bf073=_0x4f879a[_0x496d7d(0x1b9)](_0x571140['config'][_0x496d7d(0xd8)]['length'],_0x52ecbe):_0x3bf073=_0x52ecbe;const _0x162393=_0x4f879a[_0x496d7d(0x160)](getPercyOptions,_0x571140['config']);if(_0x4f879a[_0x496d7d(0x143)](_0x571140[_0x496d7d(0x19f)]['parallelsPerPlatform'],0x1))_0xc4a81c[_0x496d7d(0xaf)](_0x2f4e4e=>{const _0x4d2271=_0x496d7d,_0x25652b=[];_0x2b9fad[_0x4d2271(0xaf)]((_0x334262,_0x345c7d)=>{const _0x40f989=_0x4d2271,_0x7de7a={};_0x7de7a[_0x40f989(0x159)]=[_0x2f4e4e],_0x25652b['push']({'mochaOpts':Object[_0x40f989(0xd9)]({},_0x4f7ce7,_0x7de7a),'configuration':{'server':_0x3c7b65,'capability':_0x334262,'proxySettings':_0x571140['config'][_0x40f989(0x188)],'platform':helper[_0x40f989(0x144)](_0x334262),'browserStackLogLevel':_0x571140[_0x40f989(0x19f)][_0x40f989(0x127)],'platformIndex':_0x345c7d,'browserStackPercyOptions':_0x162393,'platformCaps':Object[_0x40f989(0xd9)]({'index':_0x345c7d},_0x571140[_0x40f989(0x19f)][_0x40f989(0xd8)][_0x345c7d])}});}),_0x23a4ef[_0x4d2271(0xe8)](..._0x25652b);});else{const _0x26742b=[];_0x2b9fad['forEach']((_0x42e8a7,_0x4f475b)=>{const _0x5841fd=_0x496d7d;let _0x9bc9d6=Object[_0x5841fd(0xd9)]({},_0x4f7ce7);testOpsHelper[_0x5841fd(0x172)]()&&testOpsHelper[_0x5841fd(0x178)]()&&(_0x9bc9d6={..._0x9bc9d6,'spec':[..._0xc4a81c]}),_0x26742b[_0x5841fd(0xe8)]({'mochaOpts':_0x9bc9d6,'configuration':{'server':_0x3c7b65,'capability':_0x42e8a7,'proxySettings':_0x571140[_0x5841fd(0x19f)]['proxySettings'],'platform':helper['getPlatformName'](_0x42e8a7),'browserStackLogLevel':_0x571140[_0x5841fd(0x19f)][_0x5841fd(0x127)],'platformIndex':_0x4f475b,'browserStackPercyOptions':_0x162393,'platformCaps':Object['assign']({'index':_0x4f475b},_0x571140[_0x5841fd(0x19f)][_0x5841fd(0xd8)][_0x4f475b])}});}),_0x23a4ef[_0x496d7d(0xe8)](..._0x26742b);}logger[_0x496d7d(0x1a2)](_0x496d7d(0x195)+_0x571140[_0x496d7d(0x19f)]['platforms'][_0x496d7d(0xce)]+_0x496d7d(0x11c)),logger[_0x496d7d(0x1a2)](_0x4f879a[_0x496d7d(0x169)]);let _0x4c8cd1;_0x4f879a[_0x496d7d(0xfa)](parallelTestRun,_0x23a4ef,_0x3bf073,_0x571140)[_0x496d7d(0x129)](_0x3189a4=>{const _0x214b34=_0x496d7d;PerformanceTester[_0x214b34(0x124)](PerformanceEvents[_0x214b34(0x182)]),_0x4c8cd1=_0x3189a4,_0x4f879a[_0x214b34(0xfa)](printStats,_0x3189a4,_0xacca9c[_0x214b34(0xa2)],_0xacca9c[_0x214b34(0x1b4)]||_0xacca9c[_0x4f879a[_0x214b34(0xb7)]]);})[_0x496d7d(0x185)](async()=>{const _0x3e5ec0=_0x496d7d;PerformanceTester[_0x3e5ec0(0x124)](PerformanceEvents['SDK_CLEANUP']),_0x571140[_0x3e5ec0(0x190)]=helper[_0x3e5ec0(0x199)](_0x4c8cd1,_0x4f879a[_0x3e5ec0(0x13f)]),await utilities['finalExecution'](_0x571140),testOpsHelper['printBuildLink']();});}}module[a28_0x61dc(0xe4)]=run;
@@ -1 +1 @@
1
- const a29_0x28d8b3=a29_0x1c09;(function(_0x16156b,_0x3c9039){const _0x227655=a29_0x1c09,_0x24a524=_0x16156b();while(!![]){try{const _0x5616ca=parseInt(_0x227655(0x185))/0x1*(parseInt(_0x227655(0x169))/0x2)+parseInt(_0x227655(0x186))/0x3*(parseInt(_0x227655(0x18e))/0x4)+-parseInt(_0x227655(0x1a6))/0x5+-parseInt(_0x227655(0x170))/0x6*(-parseInt(_0x227655(0x194))/0x7)+parseInt(_0x227655(0x1ad))/0x8*(parseInt(_0x227655(0x176))/0x9)+-parseInt(_0x227655(0x1a7))/0xa+-parseInt(_0x227655(0x182))/0xb;if(_0x5616ca===_0x3c9039)break;else _0x24a524['push'](_0x24a524['shift']());}catch(_0x52b886){_0x24a524['push'](_0x24a524['shift']());}}}(a29_0x1fee,0xbcd8b));const logger=require(a29_0x28d8b3(0x1ac))[a29_0x28d8b3(0x1ba)],helper=require(a29_0x28d8b3(0x193)),constants=require(a29_0x28d8b3(0x17e)),hubAllocator=require(a29_0x28d8b3(0x183)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x28d8b3(0x181)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x28d8b3(0x15e)),globals=require(a29_0x28d8b3(0x17f)),{overrideExecute}=require(a29_0x28d8b3(0x15a)),modify=(_0x2d7315,_0x2a5912=null,_0xc5655d=![])=>{const _0x51b5db=a29_0x28d8b3,_0x28413e={'PEchv':function(_0x419fcc,_0x155915){return _0x419fcc!==_0x155915;},'cCwnR':_0x51b5db(0x15f),'lngDg':function(_0x4c1070,_0x24123e){return _0x4c1070+_0x24123e;},'WXBXH':_0x51b5db(0x198),'IWrPQ':_0x51b5db(0x1c3),'tfIlA':_0x51b5db(0x18d),'slMBd':_0x51b5db(0x188),'PvbDE':_0x51b5db(0x159),'YusfV':_0x51b5db(0x19c),'RxTzH':_0x51b5db(0x168),'VUvVv':_0x51b5db(0x1c1),'CMHRE':_0x51b5db(0x197),'zWBTL':'se:ieOptions','cMUvM':'ieOptions','MLSyK':function(_0x15354d,_0x277cd4){return _0x15354d===_0x277cd4;},'LyEjB':'object','iEoTD':_0x51b5db(0x191),'AMXQs':_0x51b5db(0x1c8),'xgxBo':_0x51b5db(0x153),'SgiWR':_0x51b5db(0x189),'xDXMx':function(_0x23295d,_0x3084c4,_0xdac4a9){return _0x23295d(_0x3084c4,_0xdac4a9);},'AwigN':function(_0x2b8396,_0x495f4a){return _0x2b8396(_0x495f4a);},'GaXjf':function(_0x5d2c0d,_0x5771e2,_0x2741c0){return _0x5d2c0d(_0x5771e2,_0x2741c0);},'gcduT':_0x51b5db(0x16e),'gyrxQ':_0x51b5db(0x17a),'WaXGz':function(_0x50eb00){return _0x50eb00();},'MQLVJ':function(_0x42441f,_0x117f0b){return _0x42441f(_0x117f0b);},'xcJrk':_0x51b5db(0x195),'fvYim':function(_0x557866,_0x471ecb){return _0x557866(_0x471ecb);},'iOTWG':function(_0x49dcb9,_0x32a06d){return _0x49dcb9(_0x32a06d);},'JiHWZ':function(_0x341990,_0xc166d){return _0x341990!==_0xc166d;},'JnIgX':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','uuTvM':'Modifying\x20webdriver\x20builder'},_0x57b99a=helper[_0x51b5db(0x1c5)]();let _0x59bfd0;try{_0x59bfd0=helper['requireSeleniumWebdriver'](),_0x59bfd0['originalBuilder']&&(_0x59bfd0[_0x51b5db(0x1ab)]=_0x59bfd0['originalBuilder']);}catch(_0x1cc600){return;}if(helper[_0x51b5db(0x178)]()){const _0x408ae0={};_0x408ae0[_0x51b5db(0x1a2)]=_0x2d7315['browserStackLogLevel'],helper['setLogLevel'](_0x408ae0,new Map(),new Map()),logger['info'](_0x28413e[_0x51b5db(0x1a9)]),logger[_0x51b5db(0x1b0)](_0x28413e[_0x51b5db(0x1c6)]);}class _0x2e4c8b extends _0x57b99a[_0x51b5db(0x157)]{[_0x51b5db(0x187)](_0x16fbdb){const _0x230302=_0x51b5db;if(_0x28413e[_0x230302(0x1b3)](_0x16fbdb[_0x230302(0x1aa)],_0x28413e[_0x230302(0x165)])&&_0x28413e[_0x230302(0x1b3)](global[_0x230302(0x16b)],''))try{global[_0x230302(0x16b)]=_0x28413e['lngDg'](_0x28413e[_0x230302(0x18c)](_0x28413e['WXBXH'],global[_0x230302(0x16b)]),_0x28413e[_0x230302(0x1ae)]),this[_0x230302(0x18a)]=hubAllocator[_0x230302(0x17b)](global['newHubUrl']),logger[_0x230302(0x1b0)](_0x230302(0x164)+global[_0x230302(0x16b)]),global[_0x230302(0x16b)]='';}catch(_0xc9f89b){logger[_0x230302(0x1c7)](_0xc9f89b);}return super[_0x230302(0x187)](_0x16fbdb);}}class _0x371109 extends _0x59bfd0['Builder']{[_0x51b5db(0x1b7)](){const _0xc01b28=_0x51b5db;return this['url_']=helper[_0xc01b28(0x15d)](_0x2d7315),logger[_0xc01b28(0x1b0)](_0xc01b28(0x163)+this[_0xc01b28(0x196)]),this;}[_0x51b5db(0x1c4)](_0x395b65){const _0x17c1a9=_0x51b5db;let _0x4417c0={};for(const _0xa3b6ea in _0x395b65){switch(_0xa3b6ea){case _0x28413e[_0x17c1a9(0x192)]:case _0x28413e[_0x17c1a9(0x172)]:this[_0x17c1a9(0x160)]&&(_0x4417c0=this[_0x17c1a9(0x160)][_0x17c1a9(0x17c)](this['chromeOptions_'][_0x17c1a9(0x1b6)])||{},this['chromeOptions_'][_0x17c1a9(0x161)](this[_0x17c1a9(0x160)]['CAPABILITY_KEY'],helper[_0x17c1a9(0x16a)](_0x4417c0,_0x395b65[_0xa3b6ea])));break;case _0x28413e[_0x17c1a9(0x1a3)]:case _0x28413e[_0x17c1a9(0x19b)]:this[_0x17c1a9(0x18f)]&&(_0x4417c0=this['edgeOptions_']['get'](this[_0x17c1a9(0x18f)]['CAPABILITY_KEY'])||{},this[_0x17c1a9(0x18f)]['set'](this[_0x17c1a9(0x18f)]['CAPABILITY_KEY'],helper[_0x17c1a9(0x16a)](_0x4417c0,_0x395b65[_0xa3b6ea])));break;case _0x28413e['RxTzH']:case _0x28413e[_0x17c1a9(0x155)]:this[_0x17c1a9(0x1b5)]&&(_0x4417c0=this[_0x17c1a9(0x1b5)][_0x17c1a9(0x17c)](this[_0x17c1a9(0x1b5)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x17c1a9(0x161)](this[_0x17c1a9(0x1b5)][_0x17c1a9(0x1b6)],helper[_0x17c1a9(0x16a)](_0x4417c0,_0x395b65[_0xa3b6ea])));break;case _0x28413e[_0x17c1a9(0x1b4)]:this[_0x17c1a9(0x167)]&&(_0x4417c0=this[_0x17c1a9(0x167)]['get'](this[_0x17c1a9(0x167)]['CAPABILITY_KEY'])||{},this[_0x17c1a9(0x167)][_0x17c1a9(0x161)](this['safariOptions_'][_0x17c1a9(0x1b6)],helper[_0x17c1a9(0x16a)](_0x4417c0,_0x395b65[_0xa3b6ea])));break;case _0x28413e[_0x17c1a9(0x177)]:case _0x28413e[_0x17c1a9(0x1c9)]:this['ieOptions_']&&(_0x4417c0=this['ieOptions_'][_0x17c1a9(0x17c)](this[_0x17c1a9(0x19f)][_0x17c1a9(0x1b6)])||{},this[_0x17c1a9(0x19f)]['set'](this[_0x17c1a9(0x19f)][_0x17c1a9(0x1b6)],helper['mergeDeep'](_0x4417c0,_0x395b65[_0xa3b6ea])));break;}}}[_0x51b5db(0x184)](){const _0x5b81f2=_0x51b5db;return logger[_0x5b81f2(0x1b0)](_0x28413e['iEoTD']),this[_0x5b81f2(0x1c4)](_0x2d7315[_0x5b81f2(0x16c)]),Object['keys'](_0x2d7315[_0x5b81f2(0x16c)])[_0x5b81f2(0x15c)](_0x4176b6=>{const _0x4099e9=_0x5b81f2,_0x3ae3d8=this['capabilities_'][_0x4099e9(0x17c)](_0x4176b6);_0x28413e[_0x4099e9(0x1bd)](typeof _0x3ae3d8,_0x28413e[_0x4099e9(0x1a0)])?this[_0x4099e9(0x16f)][_0x4099e9(0x161)](_0x4176b6,helper[_0x4099e9(0x16a)](_0x3ae3d8,_0x2d7315[_0x4099e9(0x16c)][_0x4176b6])):this[_0x4099e9(0x16f)][_0x4099e9(0x161)](_0x4176b6,_0x2d7315[_0x4099e9(0x16c)][_0x4176b6]);}),this;}[_0x51b5db(0x173)](){const _0x3c38ae=_0x51b5db,_0x401949={'TRrBY':function(_0x3440a6,_0x1b4b3f,_0x5ec6ed){return _0x28413e['xDXMx'](_0x3440a6,_0x1b4b3f,_0x5ec6ed);}};if(helper[_0x3c38ae(0x178)]()){const _0x4638f4=_0x28413e['gcduT'][_0x3c38ae(0x1af)]('|');let _0x42d333=0x0;while(!![]){switch(_0x4638f4[_0x42d333++]){case'0':globals['getGlobal'](_0x28413e[_0x3c38ae(0x174)])&&(!_0x28413e[_0x3c38ae(0x175)](setExtension,this,_0x2d7315)&&globals[_0x3c38ae(0x171)](_0x28413e[_0x3c38ae(0x174)],![]));continue;case'1':if(helper[_0x3c38ae(0x162)](_0x2d7315['proxySettings'][_0x3c38ae(0x16d)]))this['agent_']=helper[_0x3c38ae(0x166)](_0x2d7315[_0x3c38ae(0x17d)]['proxyUrl']);else _0x2d7315[_0x3c38ae(0x17d)][_0x3c38ae(0x16d)]&&(this[_0x3c38ae(0x1bc)]=_0x2d7315['proxySettings'][_0x3c38ae(0x16d)],logger[_0x3c38ae(0x1b0)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'2':_0x28413e[_0x3c38ae(0x1a4)](isAccessibilityAutomationSession)&&_0x28413e[_0x3c38ae(0x1bb)](setAccessibilityCapabilities,_0x2d7315);continue;case'3':this[_0x3c38ae(0x184)]();continue;case'4':logger['debug'](_0x28413e[_0x3c38ae(0x1b9)]);continue;case'5':this[_0x3c38ae(0x1b7)]();continue;}break;}}const _0x156ad8=super['build']();return _0x156ad8['session_'][_0x3c38ae(0x1a5)](_0x1c6a8a=>{const _0x51d13f=_0x3c38ae;try{const _0x9fbb27=_0x1c6a8a[_0x51d13f(0x19d)][_0x51d13f(0x17c)](_0x28413e[_0x51d13f(0x180)]);_0x9fbb27?(logger['debug'](_0x51d13f(0x1c2)+_0x9fbb27),hubAllocator[_0x51d13f(0x1cb)](_0x9fbb27),helper[_0x51d13f(0x156)](_0x9fbb27)):logger[_0x51d13f(0x1b0)](_0x28413e[_0x51d13f(0x199)]);}catch(_0x43f309){logger['debug'](_0x51d13f(0x19a)+_0x43f309);}}),_0x156ad8[_0x3c38ae(0x19e)]=0x0,_0x156ad8[_0x3c38ae(0x1a5)]&&_0x156ad8[_0x3c38ae(0x1a5)](_0x307926=>{const _0x385fb5=_0x3c38ae,_0x1b7397=_0x28413e[_0x385fb5(0x1c0)][_0x385fb5(0x1af)]('|');let _0x4c3850=0x0;while(!![]){switch(_0x1b7397[_0x4c3850++]){case'0':_0x28413e[_0x385fb5(0x175)](overrideQuit,_0x307926,_0x156ad8);continue;case'1':_0x307926[_0x385fb5(0x1b1)]=async()=>{const _0x59ba67=_0x385fb5;return await _0x401949[_0x59ba67(0x1b8)](getAccessibilityResults,_0x307926,global);};continue;case'2':_0x307926[_0x385fb5(0x1ca)]=async()=>{const _0x38bfd1=_0x385fb5;return await _0x401949[_0x38bfd1(0x1b8)](getAccessibilityResultsSummary,_0x307926,global);};continue;case'3':_0x28413e[_0x385fb5(0x1a8)](overrideTakeScreenshot,_0x307926);continue;case'4':helper['overrideGet'](_0x307926,_0x2d7315);continue;case'5':_0x28413e[_0x385fb5(0x175)](overrideExecute,_0x307926,_0x2d7315);continue;}break;}}),_0x156ad8['getAccessibilityResultsSummary']=async()=>{const _0x6cea8d=_0x3c38ae;return await _0x401949[_0x6cea8d(0x1b8)](getAccessibilityResultsSummary,_0x156ad8,global);},_0x156ad8['getAccessibilityResults']=async()=>{return await _0x28413e['GaXjf'](getAccessibilityResults,_0x156ad8,global);},_0x28413e[_0x3c38ae(0x1b2)](overrideTakeScreenshot,_0x156ad8),_0x28413e[_0x3c38ae(0x190)](overrideQuit,_0x156ad8),helper['overrideGet'](_0x156ad8,_0x2d7315),_0x28413e[_0x3c38ae(0x175)](overrideExecute,_0x156ad8,_0x2d7315),helper['isUndefined'](global[_0x3c38ae(0x154)])&&(global['__driversArray']=[]),helper[_0x3c38ae(0x18b)](global[_0x3c38ae(0x158)])&&(global[_0x3c38ae(0x158)]=[]),global[_0x3c38ae(0x154)][_0x3c38ae(0x1be)](_0x156ad8),global[_0x3c38ae(0x1bf)]=_0x156ad8,_0x28413e[_0x3c38ae(0x1b3)](global[_0x3c38ae(0x158)],undefined)&&global['__drivers']['push'](_0x156ad8),_0x2a5912&&helper['isUndefined'](_0x2a5912[_0x3c38ae(0x1a1)]['__driversArray'])&&(_0x2a5912[_0x3c38ae(0x1a1)][_0x3c38ae(0x154)]=[]),_0x2a5912&&_0x28413e[_0x3c38ae(0x179)](_0x2a5912['global'][_0x3c38ae(0x158)],undefined)&&(_0x2a5912[_0x3c38ae(0x1a1)][_0x3c38ae(0x158)][_0x3c38ae(0x1be)](_0x156ad8),_0x2a5912[_0x3c38ae(0x1a1)][_0x3c38ae(0x154)]['push'](_0x156ad8)),_0x156ad8;}}return _0x59bfd0['originalBuilder']=_0x59bfd0[_0x51b5db(0x1ab)],_0x59bfd0[_0x51b5db(0x1ab)]=_0x371109,_0x57b99a['HttpClient']=_0x2e4c8b,_0x59bfd0;};function a29_0x1c09(_0x420b80,_0x15e467){const _0x1fee61=a29_0x1fee();return a29_0x1c09=function(_0x1c094e,_0xfdb027){_0x1c094e=_0x1c094e-0x153;let _0x36c6f3=_0x1fee61[_0x1c094e];return _0x36c6f3;},a29_0x1c09(_0x420b80,_0x15e467);}module['exports'][a29_0x28d8b3(0x15b)]=modify;function a29_0x1fee(){const _0x267eae=['chromeOptions_','set','isPacProxy','Hub\x20url\x20set\x20to\x20','New\x20hub\x20url\x20set\x20to\x20','cCwnR','getHttpAgent','safariOptions_','moz:firefoxOptions','31852rQdcMp','mergeDeep','newHubUrl','capability','proxyUrl','2|5|3|1|0|4','capabilities_','6QrUOOZ','setGlobal','slMBd','build','gyrxQ','xDXMx','18cifuOW','zWBTL','isBrowserstackInfra','JiHWZ','isAccessibilityPlatform','getRequestOptions','get','proxySettings','../../../bin/utils/constants','../../../helpers/globals','AMXQs','../accessibility-automation/helper','15930640mbWjFP','../../../hubAllocationMethods','setCapabilities','82nlDmib','45YaEjrZ','send','chromeOptions','0|3|4|5|2|1','options_','isUndefined','lngDg','goog:chromeOptions','397092HllenJ','edgeOptions_','iOTWG','Setting\x20Browserstack\x20capabilities','tfIlA','../../../helpers/helper','806428ATIdDz','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','url_','safari.options','https://','xgxBo','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','YusfV','edgeOptions','caps_','quitCount_','ieOptions_','LyEjB','global','logLevel','PvbDE','WaXGz','then','1287645ugftly','4336950LVszIr','AwigN','JnIgX','path','Builder','../../../helpers/logger','10992KEBCQB','IWrPQ','split','debug','getAccessibilityResults','fvYim','PEchv','CMHRE','firefoxOptions_','CAPABILITY_KEY','setServer','TRrBY','xcJrk','winstonLogger','MQLVJ','proxy_','MLSyK','push','__driver','SgiWR','firefoxOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','/wd/hub','__setBrowserOptions','requireHttpClient','uuTvM','error','optimalHubUrl','cMUvM','getAccessibilityResultsSummary','updateHubUrl','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','__driversArray','VUvVv','storeOptimalHubUrl','HttpClient','__drivers','ms:edgeOptions','./helpers/patchHelper','browserstackAgentObservability','forEach','getHubUrl','../../../helpers/accessibility-automation/helper','/session'];a29_0x1fee=function(){return _0x267eae;};return a29_0x1fee();}
1
+ const a29_0xcb296b=a29_0x34ad;function a29_0x34ad(_0x583cb6,_0x551299){const _0x5f4d59=a29_0x5f4d();return a29_0x34ad=function(_0x34ad99,_0x161c7b){_0x34ad99=_0x34ad99-0x137;let _0x2b0253=_0x5f4d59[_0x34ad99];return _0x2b0253;},a29_0x34ad(_0x583cb6,_0x551299);}(function(_0x40c010,_0x3ded4b){const _0x1e8636=a29_0x34ad,_0x40e87b=_0x40c010();while(!![]){try{const _0x5a0e39=-parseInt(_0x1e8636(0x179))/0x1*(parseInt(_0x1e8636(0x1a5))/0x2)+parseInt(_0x1e8636(0x15e))/0x3+parseInt(_0x1e8636(0x152))/0x4*(-parseInt(_0x1e8636(0x13e))/0x5)+-parseInt(_0x1e8636(0x195))/0x6*(-parseInt(_0x1e8636(0x15c))/0x7)+parseInt(_0x1e8636(0x14c))/0x8*(-parseInt(_0x1e8636(0x1a2))/0x9)+parseInt(_0x1e8636(0x17d))/0xa*(parseInt(_0x1e8636(0x1ae))/0xb)+parseInt(_0x1e8636(0x176))/0xc*(parseInt(_0x1e8636(0x143))/0xd);if(_0x5a0e39===_0x3ded4b)break;else _0x40e87b['push'](_0x40e87b['shift']());}catch(_0x4769f3){_0x40e87b['push'](_0x40e87b['shift']());}}}(a29_0x5f4d,0x89003));function a29_0x5f4d(){const _0x17bf51=['session_','/session','4863599RwkEpL','setServer','url_','capability','exports','firefoxOptions','keys','requireSeleniumWebdriver','getAccessibilityResultsSummary','8WgxLSI','HrHmP','split','1|5|0|3|2|4','logLevel','originalBuilder','4447256ztaVMK','ms:edgeOptions','browserstackAgentObservability','New\x20hub\x20url\x20set\x20to\x20','overrideGet','BzgGB','../../../hubAllocationMethods','mergeDeep','../../../bin/utils/constants','forEach','3897761XwLbiz','Proxy\x20set\x20to\x20','929043XyCHRf','proxy_','ieOptions_','options_','safariOptions_','Modifying\x20webdriver\x20builder','FHfhG','../../../helpers/globals','setGlobal','storeOptimalHubUrl','winstonLogger','../../../helpers/logger','quitCount_','kLbtK','getHubUrl','Builder','icNNR','eejtH','Setting\x20Browserstack\x20capabilities','global','updateHubUrl','gQIdt','../../../helpers/helper','ieOptions','60ACgmyi','vKHVU','capabilities_','917538LOdnYF','proxySettings','EHHCX','edgeOptions_','3363560LHGYbt','isBrowserstackInfra','browserStackLogLevel','iWJMP','isPacProxy','../../../helpers/accessibility-automation/helper','get','xghkn','set','../../../helpers/patchHelpers','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ztyXy','__driversArray','/wd/hub','setLogLevel','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','proxyUrl','then','anWMn','firefoxOptions_','getAccessibilityResults','safari.options','build','12lkCTxs','getGlobal','setCapabilities','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','getRequestOptions','PzCAS','CAPABILITY_KEY','newHubUrl','GHCuJ','IZCtZ','LaCrR','requireHttpClient','object','9358119HfhTno','2|4|1|5|0|3','RdJdQ','2LOgmRK','ULmVO','lLAfD','bcUfm','MXNNL','ZdtpY','se:ieOptions','JhiAc','yFirL','11tHxmWz','send','HttpClient','edgeOptions','PUlyl','isUndefined','LrQDj','__drivers','xaUhH','debug','chromeOptions_','isAccessibilityPlatform','rPEHq','__setBrowserOptions','__driver','push','5NonWNr','https://','ZifuL'];a29_0x5f4d=function(){return _0x17bf51;};return a29_0x5f4d();}const logger=require(a29_0xcb296b(0x169))[a29_0xcb296b(0x168)],helper=require(a29_0xcb296b(0x174)),constants=require(a29_0xcb296b(0x15a)),hubAllocator=require(a29_0xcb296b(0x158)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0xcb296b(0x186)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0xcb296b(0x182)),globals=require(a29_0xcb296b(0x165)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x2cc16a,_0x1f0bff=null,_0x138af0=![])=>{const _0x331fff=a29_0xcb296b,_0x116889={'ZdtpY':function(_0x2f722f,_0x4859ce){return _0x2f722f!==_0x4859ce;},'EHHCX':_0x331fff(0x142),'WmSYR':function(_0x14381a,_0x9c37d5){return _0x14381a+_0x9c37d5;},'xaUhH':function(_0x56c606,_0x28e77f){return _0x56c606+_0x28e77f;},'zWlpB':_0x331fff(0x13f),'IZCtZ':_0x331fff(0x18b),'eejtH':'goog:chromeOptions','VLDIA':'chromeOptions','kLbtK':_0x331fff(0x153),'FHfhG':_0x331fff(0x1b1),'icNNR':'moz:firefoxOptions','lLAfD':_0x331fff(0x148),'ULmVO':_0x331fff(0x193),'AFTtc':_0x331fff(0x1ab),'XALew':_0x331fff(0x175),'xghkn':function(_0x4c794a,_0x4b4dfb){return _0x4c794a===_0x4b4dfb;},'ijthM':_0x331fff(0x1a1),'BstzP':_0x331fff(0x170),'PUlyl':_0x331fff(0x1a3),'zTCAD':function(_0x33bd0b,_0x5a1575,_0x45a891){return _0x33bd0b(_0x5a1575,_0x45a891);},'anWMn':function(_0x629531,_0x569380){return _0x629531(_0x569380);},'LrQDj':function(_0x1d5199,_0x5e2970,_0x53c923){return _0x1d5199(_0x5e2970,_0x53c923);},'NvXqk':'optimalHubUrl','BzgGB':_0x331fff(0x198),'rPEHq':function(_0x54d156,_0x5c5c9a,_0x46ea6a){return _0x54d156(_0x5c5c9a,_0x46ea6a);},'ZwZVb':function(_0x4aece2,_0x196ff6,_0x17e51b){return _0x4aece2(_0x196ff6,_0x17e51b);},'GHCuJ':function(_0x1b074d,_0x4779ff,_0x13447a){return _0x1b074d(_0x4779ff,_0x13447a);},'JhiAc':_0x331fff(0x14f),'HrHmP':function(_0x4bafe0){return _0x4bafe0();},'ztyXy':_0x331fff(0x139),'LaCrR':function(_0x47e203,_0x219546,_0x57afe0){return _0x47e203(_0x219546,_0x57afe0);},'gQIdt':_0x331fff(0x188),'bcUfm':function(_0x122e7c,_0x1380b7){return _0x122e7c(_0x1380b7);},'ZifuL':function(_0x10b43c,_0x34f96f){return _0x10b43c(_0x34f96f);},'yFirL':function(_0x466a75,_0xa0467e,_0x2a5ca0){return _0x466a75(_0xa0467e,_0x2a5ca0);},'Nrxwh':function(_0x3bdca5,_0x4d6cd5){return _0x3bdca5!==_0x4d6cd5;},'DDnQI':function(_0xfc0001,_0x3008c0){return _0xfc0001!==_0x3008c0;},'aWAjb':_0x331fff(0x18d),'vKHVU':_0x331fff(0x163)},_0x124b5a=helper[_0x331fff(0x1a0)]();let _0x50be4c;try{_0x50be4c=helper[_0x331fff(0x14a)](),_0x50be4c['originalBuilder']&&(_0x50be4c[_0x331fff(0x16d)]=_0x50be4c[_0x331fff(0x151)]);}catch(_0x4cf398){return;}if(helper[_0x331fff(0x17e)]()){const _0x5b78d6={};_0x5b78d6[_0x331fff(0x150)]=_0x2cc16a[_0x331fff(0x17f)],helper[_0x331fff(0x18c)](_0x5b78d6,new Map(),new Map()),logger['info'](_0x116889['aWAjb']),logger[_0x331fff(0x137)](_0x116889[_0x331fff(0x177)]);}class _0x5c1ae0 extends _0x124b5a['HttpClient']{[_0x331fff(0x1af)](_0x8c46a7){const _0x181b26=_0x331fff;if(_0x116889[_0x181b26(0x1aa)](_0x8c46a7['path'],_0x116889[_0x181b26(0x17b)])&&_0x116889[_0x181b26(0x1aa)](global[_0x181b26(0x19c)],''))try{global[_0x181b26(0x19c)]=_0x116889['WmSYR'](_0x116889[_0x181b26(0x1b6)](_0x116889['zWlpB'],global['newHubUrl']),_0x116889[_0x181b26(0x19e)]),this[_0x181b26(0x161)]=hubAllocator[_0x181b26(0x199)](global[_0x181b26(0x19c)]),logger[_0x181b26(0x137)](_0x181b26(0x155)+global[_0x181b26(0x19c)]),global[_0x181b26(0x19c)]='';}catch(_0x4e5c12){logger['error'](_0x4e5c12);}return super['send'](_0x8c46a7);}}class _0x4b9a3f extends _0x50be4c['Builder']{[_0x331fff(0x144)](){const _0x1be163=_0x331fff;return this[_0x1be163(0x145)]=helper[_0x1be163(0x16c)](_0x2cc16a),logger[_0x1be163(0x137)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x331fff(0x13b)](_0x1ef7ea){const _0x9f638c=_0x331fff;let _0xe73730={};for(const _0xc2e6ef in _0x1ef7ea){switch(_0xc2e6ef){case _0x116889[_0x9f638c(0x16f)]:case _0x116889['VLDIA']:this[_0x9f638c(0x138)]&&(_0xe73730=this[_0x9f638c(0x138)]['get'](this[_0x9f638c(0x138)][_0x9f638c(0x19b)])||{},this[_0x9f638c(0x138)][_0x9f638c(0x185)](this[_0x9f638c(0x138)][_0x9f638c(0x19b)],helper['mergeDeep'](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889[_0x9f638c(0x16b)]:case _0x116889[_0x9f638c(0x164)]:this['edgeOptions_']&&(_0xe73730=this[_0x9f638c(0x17c)][_0x9f638c(0x183)](this[_0x9f638c(0x17c)][_0x9f638c(0x19b)])||{},this[_0x9f638c(0x17c)][_0x9f638c(0x185)](this[_0x9f638c(0x17c)][_0x9f638c(0x19b)],helper[_0x9f638c(0x159)](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889[_0x9f638c(0x16e)]:case _0x116889[_0x9f638c(0x1a7)]:this[_0x9f638c(0x191)]&&(_0xe73730=this['firefoxOptions_'][_0x9f638c(0x183)](this['firefoxOptions_'][_0x9f638c(0x19b)])||{},this[_0x9f638c(0x191)][_0x9f638c(0x185)](this[_0x9f638c(0x191)][_0x9f638c(0x19b)],helper[_0x9f638c(0x159)](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889[_0x9f638c(0x1a6)]:this['safariOptions_']&&(_0xe73730=this[_0x9f638c(0x162)][_0x9f638c(0x183)](this[_0x9f638c(0x162)][_0x9f638c(0x19b)])||{},this['safariOptions_']['set'](this[_0x9f638c(0x162)]['CAPABILITY_KEY'],helper[_0x9f638c(0x159)](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889['AFTtc']:case _0x116889['XALew']:this['ieOptions_']&&(_0xe73730=this[_0x9f638c(0x160)][_0x9f638c(0x183)](this[_0x9f638c(0x160)]['CAPABILITY_KEY'])||{},this[_0x9f638c(0x160)][_0x9f638c(0x185)](this[_0x9f638c(0x160)][_0x9f638c(0x19b)],helper['mergeDeep'](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;}}}[_0x331fff(0x197)](){const _0x4511cf=_0x331fff,_0x4539a0={'iWJMP':function(_0x505567,_0x1373e9){const _0x493c45=a29_0x34ad;return _0x116889[_0x493c45(0x184)](_0x505567,_0x1373e9);},'MXNNL':_0x116889['ijthM']};return logger[_0x4511cf(0x137)](_0x116889['BstzP']),this['__setBrowserOptions'](_0x2cc16a[_0x4511cf(0x146)]),Object[_0x4511cf(0x149)](_0x2cc16a[_0x4511cf(0x146)])[_0x4511cf(0x15b)](_0x36e216=>{const _0x3e710f=_0x4511cf,_0x5ad9f2=this[_0x3e710f(0x178)]['get'](_0x36e216);_0x4539a0[_0x3e710f(0x180)](typeof _0x5ad9f2,_0x4539a0[_0x3e710f(0x1a9)])?this[_0x3e710f(0x178)][_0x3e710f(0x185)](_0x36e216,helper[_0x3e710f(0x159)](_0x5ad9f2,_0x2cc16a['capability'][_0x36e216])):this[_0x3e710f(0x178)][_0x3e710f(0x185)](_0x36e216,_0x2cc16a[_0x3e710f(0x146)][_0x36e216]);}),this;}[_0x331fff(0x194)](){const _0xc62296=_0x331fff,_0x4180d8={'GwyQG':_0x116889['NvXqk'],'RdJdQ':_0x116889[_0xc62296(0x157)],'PzCAS':function(_0x554343,_0x1eda21,_0x4f02b3){const _0x59d682=_0xc62296;return _0x116889[_0x59d682(0x13a)](_0x554343,_0x1eda21,_0x4f02b3);},'xCBBK':function(_0x2ac0e1,_0x3f4dde,_0x154ba5){return _0x116889['ZwZVb'](_0x2ac0e1,_0x3f4dde,_0x154ba5);},'loAzE':function(_0x10b770,_0x151876,_0x1558cb){const _0x326f7f=_0xc62296;return _0x116889[_0x326f7f(0x19d)](_0x10b770,_0x151876,_0x1558cb);}};if(helper[_0xc62296(0x17e)]()){const _0x4166f7=_0x116889[_0xc62296(0x1ac)][_0xc62296(0x14e)]('|');let _0x42c53e=0x0;while(!![]){switch(_0x4166f7[_0x42c53e++]){case'0':this['setCapabilities']();continue;case'1':_0x116889[_0xc62296(0x14d)](isAccessibilityAutomationSession)&&_0x116889['anWMn'](setAccessibilityCapabilities,_0x2cc16a);continue;case'2':globals[_0xc62296(0x196)](_0x116889[_0xc62296(0x189)])&&(!_0x116889[_0xc62296(0x19f)](setExtension,this,_0x2cc16a)&&globals[_0xc62296(0x166)](_0x116889[_0xc62296(0x189)],![]));continue;case'3':if(helper[_0xc62296(0x181)](_0x2cc16a['proxySettings'][_0xc62296(0x18e)]))this['agent_']=helper['getHttpAgent'](_0x2cc16a[_0xc62296(0x17a)][_0xc62296(0x18e)]);else _0x2cc16a['proxySettings'][_0xc62296(0x18e)]&&(this['proxy_']=_0x2cc16a['proxySettings'][_0xc62296(0x18e)],logger[_0xc62296(0x137)](_0xc62296(0x15d)+this[_0xc62296(0x15f)]));continue;case'4':logger[_0xc62296(0x137)](_0x116889[_0xc62296(0x173)]);continue;case'5':this[_0xc62296(0x144)]();continue;}break;}}const _0x377bf4=super['build']();return _0x377bf4[_0xc62296(0x141)][_0xc62296(0x18f)](_0x111003=>{const _0x2a9584=_0xc62296;try{const _0x13f4f3=_0x111003['caps_'][_0x2a9584(0x183)](_0x4180d8['GwyQG']);_0x13f4f3?(logger[_0x2a9584(0x137)](_0x2a9584(0x187)+_0x13f4f3),hubAllocator[_0x2a9584(0x172)](_0x13f4f3),helper[_0x2a9584(0x167)](_0x13f4f3)):logger[_0x2a9584(0x137)](_0x4180d8[_0x2a9584(0x1a4)]);}catch(_0x284b9a){logger[_0x2a9584(0x137)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x284b9a);}}),_0x377bf4[_0xc62296(0x16a)]=0x0,_0x377bf4['then']&&_0x377bf4['then'](_0x1362c0=>{const _0x2d507a=_0xc62296,_0x46f5a8=_0x116889[_0x2d507a(0x1b2)][_0x2d507a(0x14e)]('|');let _0x2cb241=0x0;while(!![]){switch(_0x46f5a8[_0x2cb241++]){case'0':_0x1362c0[_0x2d507a(0x14b)]=async()=>{const _0x4cde34=_0x2d507a;return await _0x4180d8[_0x4cde34(0x19a)](getAccessibilityResultsSummary,_0x1362c0,global);};continue;case'1':helper[_0x2d507a(0x156)](_0x1362c0,_0x2cc16a);continue;case'2':_0x116889['zTCAD'](overrideQuit,_0x1362c0,_0x377bf4);continue;case'3':_0x1362c0[_0x2d507a(0x192)]=async()=>{return await _0x4180d8['xCBBK'](getAccessibilityResults,_0x1362c0,global);};continue;case'4':_0x116889[_0x2d507a(0x190)](overrideTakeScreenshot,_0x1362c0);continue;case'5':_0x116889[_0x2d507a(0x1b4)](overrideExecute,_0x1362c0,_0x2cc16a);continue;}break;}}),_0x377bf4[_0xc62296(0x14b)]=async()=>{return await _0x116889['LrQDj'](getAccessibilityResultsSummary,_0x377bf4,global);},_0x377bf4[_0xc62296(0x192)]=async()=>{return await _0x4180d8['loAzE'](getAccessibilityResults,_0x377bf4,global);},_0x116889[_0xc62296(0x1a8)](overrideTakeScreenshot,_0x377bf4),_0x116889[_0xc62296(0x140)](overrideQuit,_0x377bf4),helper[_0xc62296(0x156)](_0x377bf4,_0x2cc16a),_0x116889[_0xc62296(0x1ad)](overrideExecute,_0x377bf4,_0x2cc16a),helper[_0xc62296(0x1b3)](global[_0xc62296(0x18a)])&&(global['__driversArray']=[]),helper[_0xc62296(0x1b3)](global[_0xc62296(0x1b5)])&&(global[_0xc62296(0x1b5)]=[]),global['__driversArray'][_0xc62296(0x13d)](_0x377bf4),global[_0xc62296(0x13c)]=_0x377bf4,_0x116889['Nrxwh'](global[_0xc62296(0x1b5)],undefined)&&global['__drivers'][_0xc62296(0x13d)](_0x377bf4),_0x1f0bff&&helper[_0xc62296(0x1b3)](_0x1f0bff[_0xc62296(0x171)]['__driversArray'])&&(_0x1f0bff[_0xc62296(0x171)][_0xc62296(0x18a)]=[]),_0x1f0bff&&_0x116889['DDnQI'](_0x1f0bff['global'][_0xc62296(0x1b5)],undefined)&&(_0x1f0bff[_0xc62296(0x171)]['__drivers']['push'](_0x377bf4),_0x1f0bff[_0xc62296(0x171)]['__driversArray'][_0xc62296(0x13d)](_0x377bf4)),_0x377bf4;}}return _0x50be4c[_0x331fff(0x151)]=_0x50be4c[_0x331fff(0x16d)],_0x50be4c['Builder']=_0x4b9a3f,_0x124b5a[_0x331fff(0x1b0)]=_0x5c1ae0,_0x50be4c;};module[a29_0xcb296b(0x147)][a29_0xcb296b(0x154)]=modify;
@@ -1 +1 @@
1
- const a30_0x5afb37=a30_0x43bc;(function(_0x43b481,_0x28f5d3){const _0x287da3=a30_0x43bc,_0x2b3e64=_0x43b481();while(!![]){try{const _0x5868d0=parseInt(_0x287da3(0x14c))/0x1*(-parseInt(_0x287da3(0x157))/0x2)+parseInt(_0x287da3(0x152))/0x3+parseInt(_0x287da3(0x154))/0x4+parseInt(_0x287da3(0x156))/0x5+parseInt(_0x287da3(0x14d))/0x6*(-parseInt(_0x287da3(0x155))/0x7)+-parseInt(_0x287da3(0x153))/0x8*(parseInt(_0x287da3(0x14f))/0x9)+parseInt(_0x287da3(0x150))/0xa;if(_0x5868d0===_0x28f5d3)break;else _0x2b3e64['push'](_0x2b3e64['shift']());}catch(_0x26967a){_0x2b3e64['push'](_0x2b3e64['shift']());}}}(a30_0x3486,0x43d7c));const requestSpy=require(a30_0x5afb37(0x159)),constants=require(a30_0x5afb37(0x14b)),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a30_0x3486(){const _0x4ddbb0=['739956IDLlxK','timeout','../../../helpers/request-spy','../../../bin/utils/constants','1mTzvpG','102oGLOjP','mochaHooks','24498KZDIFw','5092760eTaRDt','yvdIU','902655QqMhMS','1344gDQacI','919100NssMNB','81564ejfVML','1316530lbQiEU'];a30_0x3486=function(){return _0x4ddbb0;};return a30_0x3486();}function a30_0x43bc(_0x4fc683,_0x1d409b){const _0x348647=a30_0x3486();return a30_0x43bc=function(_0x43bc75,_0xff4517){_0x43bc75=_0x43bc75-0x14b;let _0x26b0f8=_0x348647[_0x43bc75];return _0x26b0f8;},a30_0x43bc(_0x4fc683,_0x1d409b);}exports[a30_0x5afb37(0x14e)]={'beforeAll'(){const _0x563438=a30_0x5afb37,_0x51ef36={'yvdIU':function(_0x533ce5){return _0x533ce5();}},_0x4cd116='browserstack internal helper hook';_0x51ef36[_0x563438(0x151)](addRequestSpy);},'afterAll'(){const _0x5d2487=a30_0x5afb37,_0xeb0304='browserstack internal helper hook';this[_0x5d2487(0x158)](0xea60),requestSpy['restore']();}};
1
+ function a30_0x4dac(){const _0x6e22d5=['12298437KltQlj','1434040CyZfoL','JXPPH','12NQQTES','../../../helpers/test-observability/utils','6GRuqoK','restore','timeout','1435366PxTtqc','804368fKdzum','26958OLXNMp','1358KhLEEk','14214910ISBmrx','../../../bin/utils/constants','11068552LthnHd'];a30_0x4dac=function(){return _0x6e22d5;};return a30_0x4dac();}function a30_0x2dbe(_0x13a6f1,_0x29e244){const _0x4dac96=a30_0x4dac();return a30_0x2dbe=function(_0x2dbe85,_0x56e79d){_0x2dbe85=_0x2dbe85-0x122;let _0x4a81d5=_0x4dac96[_0x2dbe85];return _0x4a81d5;},a30_0x2dbe(_0x13a6f1,_0x29e244);}const a30_0x2d1d0c=a30_0x2dbe;(function(_0x3dcd96,_0x2aeed6){const _0x460b05=a30_0x2dbe,_0x79eaf4=_0x3dcd96();while(!![]){try{const _0x313320=parseInt(_0x460b05(0x127))/0x1+parseInt(_0x460b05(0x126))/0x2*(-parseInt(_0x460b05(0x123))/0x3)+parseInt(_0x460b05(0x130))/0x4*(parseInt(_0x460b05(0x12e))/0x5)+parseInt(_0x460b05(0x128))/0x6*(-parseInt(_0x460b05(0x129))/0x7)+-parseInt(_0x460b05(0x12c))/0x8+parseInt(_0x460b05(0x12d))/0x9+parseInt(_0x460b05(0x12a))/0xa;if(_0x313320===_0x2aeed6)break;else _0x79eaf4['push'](_0x79eaf4['shift']());}catch(_0xc5fc1b){_0x79eaf4['push'](_0x79eaf4['shift']());}}}(a30_0x4dac,0xba157));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x2d1d0c(0x12b)),{addRequestSpy}=require(a30_0x2d1d0c(0x122));exports['mochaHooks']={'beforeAll'(){const _0xf955d4=a30_0x2d1d0c,_0x4d2e68={'JXPPH':function(_0x12f39c){return _0x12f39c();}},_0x53e034='browserstack internal helper hook';_0x4d2e68[_0xf955d4(0x12f)](addRequestSpy);},'afterAll'(){const _0x37ba95=a30_0x2d1d0c,_0x33c4df='browserstack internal helper hook';this[_0x37ba95(0x125)](0xea60),requestSpy[_0x37ba95(0x124)]();}};
@@ -1 +1 @@
1
- const a31_0x4c05f0=a31_0x41ee;function a31_0xc4c3(){const _0x27d5b0=['950368FVGPlp','6oWxPNf','../../../../package.json','../../../helpers/helper','hook:','failed','10029537yDZwAF','UabjJ','lpbrM','state','tRuPy','MvoTW','_beforeAll','markedStatus','indexOf','RCyxp','uuid','getBrowserName','toISOString','30fAjGOX','dcoYF','_afterEach','generic','slice','3934010LQwsPB','HOBBF','uilMA','lodash','filter','__cloud_provider___','mapTestHooks','CmVOc','yzFop','reduce','push','JDFPB','getSession','map_','tests','concat','wJZHj','EOOFD','gcjtw','pid','forEach','ozDOb','getTestEnv','sjGww','qbPOs','6195693LTLRAZ','MNIro','TEST_PLATFORM','getCapabilities','../../../helpers/test-observability/utils','TORuS','platformVersion','getHooksForTest','przAA','getBrowserVersion','jkLij','unknown_grid','hook','suites','eXcnQ','_afterAll','getHookDetails','toJSON','get','getHookSkippedTests','9KuVjdC','hKXsW','split','UgvJz','hookAnalyticsId','2900948XWRBIb','_beforeEach','rAHIE','1315952zogNeI','parent','WyyZB','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','moOmq','../../../helpers/testhub/utils','mIPij','22696Swjwcd','browserstack','Rhatn','QCrVA','bs:addPlatformDetails:','emit'];a31_0xc4c3=function(){return _0x27d5b0;};return a31_0xc4c3();}function a31_0x41ee(_0xa92a13,_0x2c6cfd){const _0xc4c3a6=a31_0xc4c3();return a31_0x41ee=function(_0x41ee3c,_0x5e9c22){_0x41ee3c=_0x41ee3c-0x80;let _0x49185a=_0xc4c3a6[_0x41ee3c];return _0x49185a;},a31_0x41ee(_0xa92a13,_0x2c6cfd);}(function(_0x33d61d,_0x3a808e){const _0x58fe81=a31_0x41ee,_0x4893f3=_0x33d61d();while(!![]){try{const _0x1e8328=-parseInt(_0x58fe81(0xd6))/0x1+-parseInt(_0x58fe81(0xd3))/0x2+-parseInt(_0x58fe81(0xce))/0x3*(parseInt(_0x58fe81(0x83))/0x4)+-parseInt(_0x58fe81(0xa1))/0x5+parseInt(_0x58fe81(0x8a))/0x6*(parseInt(_0x58fe81(0xba))/0x7)+parseInt(_0x58fe81(0x89))/0x8+-parseInt(_0x58fe81(0x8f))/0x9*(-parseInt(_0x58fe81(0x9c))/0xa);if(_0x1e8328===_0x3a808e)break;else _0x4893f3['push'](_0x4893f3['shift']());}catch(_0x1f7dec){_0x4893f3['push'](_0x4893f3['shift']());}}}(a31_0xc4c3,0xbda78));const {v4:uuidv4}=require(a31_0x4c05f0(0x99)),{name,version}=require(a31_0x4c05f0(0x8b)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x4c05f0(0xbe)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x4c05f0(0x8c)),{shouldProcessEventForTesthub}=require(a31_0x4c05f0(0x81)),{isFunction}=require(a31_0x4c05f0(0xa4)),{patchConsoleLogger}=require(a31_0x4c05f0(0xbe));patchConsoleLogger(),exports[a31_0x4c05f0(0xb7)]=()=>{const _0x1c9ae1=a31_0x4c05f0,_0x1b4f9f={'jkLij':_0x1c9ae1(0x9f),'EOOFD':function(_0x49c024){return _0x49c024();}};return{'ci':_0x1b4f9f[_0x1c9ae1(0xc4)],'key':_0x1b4f9f[_0x1c9ae1(0xb2)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x4c05f0(0xca)]=_0x35965f=>{const _0x17493a=a31_0x4c05f0,_0x32834b={};_0x32834b[_0x17493a(0x82)]=function(_0x325594,_0x2c536d){return _0x325594!==_0x2c536d;},_0x32834b[_0x17493a(0x98)]='string',_0x32834b[_0x17493a(0x85)]=function(_0xf1ca1f,_0x2732ff){return _0xf1ca1f!==_0x2732ff;},_0x32834b['MvoTW']=_0x17493a(0x8d),_0x32834b[_0x17493a(0x93)]=function(_0x3e5773,_0x46218a){return _0x3e5773!==_0x46218a;},_0x32834b['przAA']=_0x17493a(0xc6);const _0x164b64=_0x32834b;if(!_0x35965f||_0x164b64[_0x17493a(0x82)](typeof _0x35965f,_0x164b64[_0x17493a(0x98)]))return[null,null];if(_0x164b64[_0x17493a(0x85)](_0x35965f[_0x17493a(0x97)](_0x164b64['MvoTW']),-0x1)){const _0x1f621c=_0x35965f[_0x17493a(0xd0)](_0x164b64[_0x17493a(0x94)]);return[_0x1f621c[0x0][_0x17493a(0xa0)](0x0,-0x1)[_0x17493a(0xd0)]('\x22')[0x1],_0x1f621c[0x1]['substring'](0x1)];}else{if(_0x164b64[_0x17493a(0x93)](_0x35965f[_0x17493a(0x97)](_0x164b64['przAA']),-0x1)){const _0x2cf330=_0x35965f['split'](_0x164b64[_0x17493a(0xc2)]);return[_0x2cf330[0x0][_0x17493a(0xa0)](0x0,-0x1)[_0x17493a(0xd0)]('\x22')[0x1],_0x35965f];}}return[null,null];},exports['getHooksForTest']=_0x3c5f6c=>{const _0x557447=a31_0x4c05f0,_0x53184e={'UgvJz':function(_0x4c28ee,_0x51c89c){return _0x4c28ee(_0x51c89c);},'JDFPB':'_beforeAll','rAHIE':_0x557447(0xc9),'mjsva':_0x557447(0xd4),'UabjJ':_0x557447(0x9e)};if(!_0x3c5f6c||!_0x3c5f6c[_0x557447(0xd7)])return[];const _0x26606f=[];return[_0x53184e[_0x557447(0xac)],_0x53184e[_0x557447(0xd5)],_0x53184e['mjsva'],_0x53184e[_0x557447(0x90)]]['forEach'](_0x20f2a5=>{const _0x24385c=_0x557447,_0x48ea64=_0x3c5f6c['parent'][_0x20f2a5]||[];_0x48ea64[_0x24385c(0xb5)](_0xa13beb=>{const _0x1723e2=_0x24385c;_0xa13beb[_0x1723e2(0xd2)]&&!_0x53184e[_0x1723e2(0xd1)](isInternalHook,_0xa13beb['fn'])&&_0x26606f[_0x1723e2(0xab)](_0xa13beb[_0x1723e2(0xd2)]);});}),[..._0x26606f,...exports[_0x557447(0xc1)](_0x3c5f6c[_0x557447(0xd7)])];},exports[a31_0x4c05f0(0xa7)]=_0x29c53f=>{const _0x2920bf=a31_0x4c05f0,_0x2ff1cc={'dcoYF':function(_0x3a2674){return _0x3a2674();},'qbPOs':function(_0x41b645,_0x50f189){return _0x41b645===_0x50f189;},'yzFop':_0x2920bf(0x9e),'MNIro':_0x2920bf(0x95),'moOmq':_0x2920bf(0xc9),'eyIRA':'_beforeEach'};if(!_0x29c53f||!_0x29c53f[_0x2920bf(0xd7)])return;[_0x2ff1cc[_0x2920bf(0xbb)],_0x2ff1cc[_0x2920bf(0x80)],_0x2ff1cc['eyIRA'],_0x2ff1cc['yzFop']]['forEach'](_0x9cc525=>{const _0x10ac4b=_0x2920bf,_0x66e1fe={'eXcnQ':function(_0x21c42a){const _0x354e02=a31_0x41ee;return _0x2ff1cc[_0x354e02(0x9d)](_0x21c42a);},'wJZHj':function(_0x6f98ed,_0x495ad0){const _0x58343e=a31_0x41ee;return _0x2ff1cc[_0x58343e(0xb9)](_0x6f98ed,_0x495ad0);},'TORuS':_0x2ff1cc[_0x10ac4b(0xa9)],'OXars':function(_0x172aab){return _0x2ff1cc['dcoYF'](_0x172aab);}},_0x28d27f=_0x29c53f[_0x10ac4b(0xd7)][_0x9cc525]||[];_0x28d27f[_0x10ac4b(0xb5)](_0x2ef5c6=>{const _0x14eead=_0x10ac4b;if(!_0x2ef5c6[_0x14eead(0xd2)])_0x2ef5c6[_0x14eead(0xd2)]=_0x66e1fe[_0x14eead(0xc8)](uuidv4);else _0x2ef5c6[_0x14eead(0x96)]&&_0x66e1fe[_0x14eead(0xb1)](_0x9cc525,_0x66e1fe[_0x14eead(0xbf)])&&(_0x2ef5c6['hookAnalyticsId']=_0x66e1fe['OXars'](uuidv4),delete _0x2ef5c6[_0x14eead(0x96)]);});}),exports[_0x2920bf(0xa7)](_0x29c53f[_0x2920bf(0xd7)]);},exports['sendPlatformDetails']=async(_0x2754ad,_0x457b59)=>{const _0xfc057f=a31_0x4c05f0,_0x3017b1={'sjGww':function(_0x4b729e){return _0x4b729e();},'uilMA':function(_0x3ee776,_0x232aee){return _0x3ee776(_0x232aee);},'lpbrM':_0xfc057f(0xc0),'CmVOc':function(_0x3f4f8c,_0x483a60){return _0x3f4f8c===_0x483a60;},'HOBBF':_0xfc057f(0x84),'gcjtw':_0xfc057f(0xc5),'ozDOb':_0xfc057f(0xbc)};try{if(!_0x3017b1[_0xfc057f(0xb8)](shouldProcessEventForTesthub))return;const _0xe1cbf0=await _0x2754ad['getCapabilities'](),_0x16082b=await _0x2754ad[_0xfc057f(0xad)](),_0x52a7e6={},_0xe76e49=Object['fromEntries'](_0x16082b[_0xfc057f(0xbd)]()[_0xfc057f(0xae)]),_0x3d4953={'product':_0x3017b1['uilMA'](getObservabilityLinkedProductName,_0xe76e49),'capabilities':_0xe76e49,'platform':_0xe1cbf0['getPlatform'](),'platform_version':_0xe1cbf0[_0xfc057f(0xcc)](_0x3017b1['lpbrM'])?_0xe1cbf0['get'](_0x3017b1[_0xfc057f(0x91)]):_0x3017b1[_0xfc057f(0xa3)](getPlatformVersion,_0x3017b1[_0xfc057f(0xa8)](global[_0xfc057f(0xa6)],_0x3017b1[_0xfc057f(0xa2)])),'browser':_0xe1cbf0[_0xfc057f(0x9a)](),'browser_version':_0xe1cbf0[_0xfc057f(0xc3)](),'session_id':_0x16082b[_0xfc057f(0xcb)]()};global[_0xfc057f(0xa6)]?_0x52a7e6[global[_0xfc057f(0xa6)]]=_0x3d4953:_0x52a7e6[_0x3017b1[_0xfc057f(0xb3)]]=_0x3d4953,process[_0xfc057f(0x88)](_0xfc057f(0x87)+process[_0xfc057f(0xb4)],{'timestamp':new Date()[_0xfc057f(0x9b)](),'level':null,'message':null,'kind':_0x3017b1[_0xfc057f(0xb6)],'http_response':_0x52a7e6,'uuid':_0x457b59});}catch(_0x428a65){_0x3017b1['uilMA'](debug,_0xfc057f(0xd9)+_0x428a65);}},exports[a31_0x4c05f0(0xcd)]=_0x1a26fe=>{const _0x3d1949=a31_0x4c05f0,_0x3349f5={};_0x3349f5[_0x3d1949(0xd8)]=function(_0x3d10c8,_0x45108d){return _0x3d10c8!==_0x45108d;},_0x3349f5['EuamX']='hook',_0x3349f5['hKXsW']='passed',_0x3349f5['QCrVA']=_0x3d1949(0x8e);const _0x2ea18c=_0x3349f5,_0x5e626f=_0x1a26fe[_0x3d1949(0xc7)][_0x3d1949(0xaa)]((_0x2283fb,_0x177688)=>{const _0x354b3=_0x3d1949,_0x3d4636=exports[_0x354b3(0xcd)](_0x177688);return _0x3d4636&&(_0x2283fb=_0x2283fb[_0x354b3(0xb0)](_0x3d4636)),_0x2283fb;},[]),_0x567fd9=_0x1a26fe[_0x3d1949(0xaf)][_0x3d1949(0xa5)](_0x38d095=>{const _0x3f46d2=_0x3d1949,_0x3f60c0=_0x2ea18c[_0x3f46d2(0xd8)](_0x38d095['type'],_0x2ea18c['EuamX'])&&!_0x38d095[_0x3f46d2(0x96)]&&_0x2ea18c[_0x3f46d2(0xd8)](_0x38d095['state'],_0x2ea18c[_0x3f46d2(0xcf)])&&_0x2ea18c[_0x3f46d2(0xd8)](_0x38d095[_0x3f46d2(0x92)],_0x2ea18c[_0x3f46d2(0x86)])&&!_0x38d095['pending'];return _0x3f60c0;});return _0x567fd9[_0x3d1949(0xb0)](_0x5e626f);};
1
+ function a31_0x5ca6(_0x31e76f,_0x422844){const _0x4f2114=a31_0x4f21();return a31_0x5ca6=function(_0x5ca619,_0x59bd31){_0x5ca619=_0x5ca619-0x69;let _0x37fe56=_0x4f2114[_0x5ca619];return _0x37fe56;},a31_0x5ca6(_0x31e76f,_0x422844);}const a31_0x3ea5e9=a31_0x5ca6;function a31_0x4f21(){const _0x20ab6f=['getBrowserName','hook:','passed','filter','getSession','17068860dwLuOM','cMcAM','_afterAll','hookAnalyticsId','__cloud_provider___','Nhvhj','DSpeA','FjZeH','341667UpcSdB','157645THZRyR','pending','../../../helpers/test-observability/utils','parent','tAVbd','pid','js-','EIZaF','oYLfi','20SLvOSQ','TEST_PLATFORM','nUacJ','1377744fdGrle','vhiJv','UmvOy','type','get','1001118Gbpgru','concat','forEach','string','wwPot','map_','getPlatform','ZiZHD','../../../helpers/test-observability/constants','state','substring','majdR','_afterEach','8kIGcJx','toISOString','blufa','split','sendPlatformDetails','ksFAd','getHookSkippedTests','../../../../package.json','push','../../utils/logPatcher','uuid','8274882nZFIxI','getCapabilities','lodash','1915fAqlTC','WWJNq','browserstack','getTestEnv','TdUiI','wFFMn','bOYSw','vZzzu','hook','uKZaT','markedStatus','platformVersion','getHooksForTest','Ccejd','indexOf','generic','440RcEcMV','bs:addPlatformDetails:','bktjC','LIjRs','unknown_grid','emit','hbYLC'];a31_0x4f21=function(){return _0x20ab6f;};return a31_0x4f21();}(function(_0x589264,_0x10a663){const _0xfd1525=a31_0x5ca6,_0x6f93fa=_0x589264();while(!![]){try{const _0x3ec537=parseInt(_0xfd1525(0x7d))/0x1*(-parseInt(_0xfd1525(0x8d))/0x2)+parseInt(_0xfd1525(0xae))/0x3+-parseInt(_0xfd1525(0xab))/0x4*(-parseInt(_0xfd1525(0xa2))/0x5)+parseInt(_0xfd1525(0xb3))/0x6+-parseInt(_0xfd1525(0x7a))/0x7+-parseInt(_0xfd1525(0x6f))/0x8*(parseInt(_0xfd1525(0xa1))/0x9)+parseInt(_0xfd1525(0x99))/0xa;if(_0x3ec537===_0x10a663)break;else _0x6f93fa['push'](_0x6f93fa['shift']());}catch(_0x5eaed5){_0x6f93fa['push'](_0x6f93fa['shift']());}}}(a31_0x4f21,0xcf55b));const {v4:uuidv4}=require(a31_0x3ea5e9(0x79)),{name,version}=require(a31_0x3ea5e9(0x76)),logPatcher=require(a31_0x3ea5e9(0x78)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x3ea5e9(0xa4)),{consoleHolder}=require(a31_0x3ea5e9(0x6a)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x3ea5e9(0x7c)),{patchConsoleLogger}=require(a31_0x3ea5e9(0xa4));patchConsoleLogger(),exports[a31_0x3ea5e9(0x80)]=()=>{const _0xf1b719=a31_0x3ea5e9,_0xe2f0c6={'cMcAM':_0xf1b719(0x8c),'DLyqp':function(_0x4fc2fe){return _0x4fc2fe();}};return{'ci':_0xe2f0c6[_0xf1b719(0x9a)],'key':_0xe2f0c6['DLyqp'](uuidv4),'version':version,'collector':_0xf1b719(0xa8)+name};},exports['getHookDetails']=_0x34d7bc=>{const _0x2d028f=a31_0x3ea5e9,_0x4edaee={};_0x4edaee['jZjLf']=function(_0x237104,_0xaf82d9){return _0x237104!==_0xaf82d9;},_0x4edaee[_0x2d028f(0xaf)]=_0x2d028f(0xb6),_0x4edaee[_0x2d028f(0x81)]=function(_0x271b18,_0x36753f){return _0x271b18!==_0x36753f;},_0x4edaee['ksFAd']=_0x2d028f(0x95),_0x4edaee[_0x2d028f(0x8a)]=_0x2d028f(0x85);const _0x413739=_0x4edaee;if(!_0x34d7bc||_0x413739['jZjLf'](typeof _0x34d7bc,_0x413739[_0x2d028f(0xaf)]))return[null,null];if(_0x413739[_0x2d028f(0x81)](_0x34d7bc[_0x2d028f(0x8b)](_0x413739[_0x2d028f(0x74)]),-0x1)){const _0x19ff94=_0x34d7bc[_0x2d028f(0x72)](_0x413739[_0x2d028f(0x74)]);return[_0x19ff94[0x0]['slice'](0x0,-0x1)[_0x2d028f(0x72)]('\x22')[0x1],_0x19ff94[0x1][_0x2d028f(0x6c)](0x1)];}else{if(_0x413739['jZjLf'](_0x34d7bc[_0x2d028f(0x8b)](_0x413739[_0x2d028f(0x8a)]),-0x1)){const _0x280a75=_0x34d7bc[_0x2d028f(0x72)](_0x413739['Ccejd']);return[_0x280a75[0x0]['slice'](0x0,-0x1)[_0x2d028f(0x72)]('\x22')[0x1],_0x34d7bc];}}return[null,null];},exports[a31_0x3ea5e9(0x89)]=_0x8911b=>{const _0x586153=a31_0x3ea5e9,_0x29f667={'bOYSw':function(_0x188d21,_0x1d94cd){return _0x188d21(_0x1d94cd);},'majdR':'_beforeAll','SMaBD':_0x586153(0x9b),'bktjC':'_beforeEach','IABss':_0x586153(0x6e)};if(!_0x8911b||!_0x8911b[_0x586153(0xa5)])return[];const _0x9f13f3=[];return[_0x29f667[_0x586153(0x6d)],_0x29f667['SMaBD'],_0x29f667[_0x586153(0x8f)],_0x29f667['IABss']][_0x586153(0xb5)](_0x1edc61=>{const _0x49702d=_0x586153,_0x2ec700={'LIjRs':function(_0x394808,_0x5c2259){const _0x179479=a31_0x5ca6;return _0x29f667[_0x179479(0x83)](_0x394808,_0x5c2259);}},_0x1c3680=_0x8911b[_0x49702d(0xa5)][_0x1edc61]||[];_0x1c3680['forEach'](_0x28e528=>{const _0xe2dd19=_0x49702d;_0x28e528[_0xe2dd19(0x9c)]&&!_0x2ec700[_0xe2dd19(0x90)](isInternalHook,_0x28e528['fn'])&&_0x9f13f3[_0xe2dd19(0x77)](_0x28e528[_0xe2dd19(0x9c)]);});}),[..._0x9f13f3,...exports[_0x586153(0x89)](_0x8911b[_0x586153(0xa5)])];},exports['mapTestHooks']=_0x12364e=>{const _0x2f90cd=a31_0x3ea5e9,_0x436def={'zUEPw':function(_0x2a1d19){return _0x2a1d19();},'UmvOy':function(_0x481816,_0x45e692){return _0x481816===_0x45e692;},'tAVbd':_0x2f90cd(0x6e),'EIZaF':function(_0x679090){return _0x679090();},'Dseig':'_beforeAll','wwPot':_0x2f90cd(0x9b),'DSpeA':'_beforeEach'};if(!_0x12364e||!_0x12364e[_0x2f90cd(0xa5)])return;[_0x436def['Dseig'],_0x436def[_0x2f90cd(0xb7)],_0x436def[_0x2f90cd(0x9f)],_0x436def[_0x2f90cd(0xa6)]][_0x2f90cd(0xb5)](_0x494134=>{const _0x331365=_0x2f90cd,_0x10b3a4={'jbeVG':function(_0x153520){return _0x436def['zUEPw'](_0x153520);},'KlbKW':function(_0x4a7942,_0x16824d){const _0x2634e1=a31_0x5ca6;return _0x436def[_0x2634e1(0xb0)](_0x4a7942,_0x16824d);},'WWJNq':_0x436def[_0x331365(0xa6)],'tyoNh':function(_0xb4aaba){const _0x2c6a04=_0x331365;return _0x436def[_0x2c6a04(0xa9)](_0xb4aaba);}},_0x288a8b=_0x12364e['parent'][_0x494134]||[];_0x288a8b['forEach'](_0x5f282d=>{const _0x2e7be2=_0x331365;if(!_0x5f282d[_0x2e7be2(0x9c)])_0x5f282d[_0x2e7be2(0x9c)]=_0x10b3a4['jbeVG'](uuidv4);else _0x5f282d[_0x2e7be2(0x87)]&&_0x10b3a4['KlbKW'](_0x494134,_0x10b3a4[_0x2e7be2(0x7e)])&&(_0x5f282d[_0x2e7be2(0x9c)]=_0x10b3a4['tyoNh'](uuidv4),delete _0x5f282d[_0x2e7be2(0x87)]);});}),exports['mapTestHooks'](_0x12364e['parent']);},exports[a31_0x3ea5e9(0x73)]=async(_0x4becab,_0x3dab83)=>{const _0x4ad66d=a31_0x3ea5e9,_0x452f38={'blufa':function(_0x51cef3){return _0x51cef3();},'FjZeH':function(_0x5bea7d,_0x2e1ce5){return _0x5bea7d(_0x2e1ce5);},'Nhvhj':_0x4ad66d(0x88),'ZiZHD':function(_0x3172d6,_0x24fadf){return _0x3172d6(_0x24fadf);},'oYLfi':function(_0x3d92cb,_0x5089ab){return _0x3d92cb===_0x5089ab;},'vZzzu':_0x4ad66d(0x7f),'nUacJ':_0x4ad66d(0x91),'ACuhW':_0x4ad66d(0xac),'uKZaT':function(_0x14329e,_0x4d30b2){return _0x14329e(_0x4d30b2);}};try{if(!_0x452f38[_0x4ad66d(0x71)](shouldProcessEventForTesthub))return;const _0x273030=await _0x4becab[_0x4ad66d(0x7b)](),_0x46b89a=await _0x4becab[_0x4ad66d(0x98)](),_0x2e8d1a={},_0x4f897f=Object['fromEntries'](_0x46b89a[_0x4ad66d(0x7b)]()[_0x4ad66d(0xb8)]),_0x1f31f6={'product':_0x452f38[_0x4ad66d(0xa0)](getObservabilityLinkedProductName,_0x4f897f),'capabilities':_0x4f897f,'platform':_0x273030[_0x4ad66d(0xb9)](),'platform_version':_0x273030[_0x4ad66d(0xb2)](_0x452f38[_0x4ad66d(0x9e)])?_0x273030['get'](_0x452f38['Nhvhj']):_0x452f38[_0x4ad66d(0x69)](getPlatformVersion,_0x452f38[_0x4ad66d(0xaa)](global[_0x4ad66d(0x9d)],_0x452f38[_0x4ad66d(0x84)])),'browser':_0x273030[_0x4ad66d(0x94)](),'browser_version':_0x273030['getBrowserVersion'](),'session_id':_0x46b89a['toJSON']()};global[_0x4ad66d(0x9d)]?_0x2e8d1a[global['__cloud_provider___']]=_0x1f31f6:_0x2e8d1a[_0x452f38[_0x4ad66d(0xad)]]=_0x1f31f6,process[_0x4ad66d(0x92)](_0x4ad66d(0x8e)+process[_0x4ad66d(0xa7)],{'timestamp':new Date()[_0x4ad66d(0x70)](),'level':null,'message':null,'kind':_0x452f38['ACuhW'],'http_response':_0x2e8d1a,'uuid':_0x3dab83});}catch(_0x4f160d){_0x452f38[_0x4ad66d(0x86)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x4f160d);}},exports[a31_0x3ea5e9(0x75)]=_0x1f5eee=>{const _0x297f73=a31_0x3ea5e9,_0x1ed66e={};_0x1ed66e[_0x297f73(0x93)]=function(_0x26f72f,_0x44d77){return _0x26f72f!==_0x44d77;},_0x1ed66e[_0x297f73(0x82)]=_0x297f73(0x85),_0x1ed66e['JmhWU']=_0x297f73(0x96),_0x1ed66e['utJeh']=function(_0x4e3754,_0x1b1362){return _0x4e3754!==_0x1b1362;},_0x1ed66e['OlbkS']='failed';const _0x47d62b=_0x1ed66e,_0x558fae=_0x1f5eee['suites']['reduce']((_0x3bbaf3,_0xf124a5)=>{const _0x318e53=_0x297f73,_0x21e5e2=exports['getHookSkippedTests'](_0xf124a5);return _0x21e5e2&&(_0x3bbaf3=_0x3bbaf3[_0x318e53(0xb4)](_0x21e5e2)),_0x3bbaf3;},[]),_0x492ef9=_0x1f5eee['tests'][_0x297f73(0x97)](_0x2a5d74=>{const _0x1ebf7f=_0x297f73,_0x12cf38=_0x47d62b[_0x1ebf7f(0x93)](_0x2a5d74[_0x1ebf7f(0xb1)],_0x47d62b[_0x1ebf7f(0x82)])&&!_0x2a5d74['markedStatus']&&_0x47d62b[_0x1ebf7f(0x93)](_0x2a5d74[_0x1ebf7f(0x6b)],_0x47d62b['JmhWU'])&&_0x47d62b['utJeh'](_0x2a5d74[_0x1ebf7f(0x6b)],_0x47d62b['OlbkS'])&&!_0x2a5d74[_0x1ebf7f(0xa3)];return _0x12cf38;});return _0x492ef9[_0x297f73(0xb4)](_0x558fae);};
@@ -1 +1 @@
1
- const a32_0x10dbb6=a32_0x66ed;function a32_0x36f8(){const _0x21e0f3=['performScan','../../helpers/accessibility-automation/scripts','PLNQS','xxwvh','currentTest','error','browserstackSessionName','beforeAll','RctFu','../../helpers/performance/constants','../../helpers/globals','BMAFc','kRRcc','SAVE_RESULTS','1928900HvcYpn','APqpO','gXMfy','../../helpers/helper','end','protocol','getCurrentUrl','MWbMt','getGlobal','Failed\x20to\x20store\x20session\x20name:\x20','FyfJG','UhFXJ','cgshN','setGlobal','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Pugww','PSniR','__error_messages__','\x22}}','BROWSERSTACK_TESTHUB_JWT','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Ywvbk','join','ltuhH','NmMra','IuwsO','measureWrapper','yhqPi','accessibilityScanStarted','IfJmc','16482257LbDWYe','Failed:\x20','gwoeZ','percy','percyCaptureMode','../../helpers/testhub/constants','winstonLogger','NtPLr','quitCount_','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','kCMbv','debug','1076016qQsCXc','__platformCaps','util','shouldScanTestForAccessibility','./test-observability/mochaUtils','JSAbj','3FtsqiP','mochaHooks','\x20-\x20','LjSnJ','FDEbq','thBuildUuid','ENV_VAR','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','SESSION_STATUS','SESSION_NAME','isArray','https:','shift','ZVBZM','SDK_HOOK','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','initQuit','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','cQYgD','5StJjow','BROWSERSTACK_TESTHUB_UUID','timeout','info','IFVDS','env','kqKMg','Pjxbp','../../helpers/performance/performance-tester','zFPaj','isAccessibilityPlatform','../../helpers/testhub/utils','pDflL','format','ObservabilitySync:',',\x22level\x22:\x20\x22','message','testcase','browserstackTestName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','ABVPt','push','PERFORM_SCAN','UsyXJ','181112nikAXQ','dpNGY','7NpQtZW','beforeEach','hDSfO','tXSyn','scHRB','exqwN','VrWyX','TNJyv','vreMe','Performing\x20scan\x20before\x20saving\x20results','CUYjt','ncOyQ','QjPFg','xgLCy','afterTest','afterAll','stringify','UzMKj','.\x20Error\x20:','thTestRunUuid','index','bmhsg','sessionNameSet__','executeAsyncScript','SYNC','mBpCJ','HstHy','err','GoXMr','FAjwK','then','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','__sessionFailed','length','Automate\x20test\x20case\x20execution\x20has\x20started.','yreyt','knKoc','app','session_','tiNCH','sessionName','OEcew','wJbsO','GOJMz','../../helpers/percy/utils','../../helpers/accessibility-automation/helper','XZsNg','vCGfI','jyDlN','../../helpers/logger','__drivers','Jawxr','testAnalyticsId','wFhRj','10JArENe','342435BYYtOx','titlePath','gwPkp','fTjyq','yHVgH','bstackA11yShouldScan','saveTestResults','startMonitoring','16342RNpkHY','cejBM','rVfmJ','qJKWx','7208127LEYsKq','YdKsB','finally','driverCleanup','lPpeR','capabilities'];a32_0x36f8=function(){return _0x21e0f3;};return a32_0x36f8();}(function(_0x13413a,_0x14649a){const _0x54ff3f=a32_0x66ed,_0x11988f=_0x13413a();while(!![]){try{const _0x374fa9=parseInt(_0x54ff3f(0x164))/0x1+parseInt(_0x54ff3f(0x16c))/0x2*(parseInt(_0x54ff3f(0x1b4))/0x3)+parseInt(_0x54ff3f(0x184))/0x4*(-parseInt(_0x54ff3f(0x1c7))/0x5)+-parseInt(_0x54ff3f(0x1ae))/0x6+-parseInt(_0x54ff3f(0x12d))/0x7*(-parseInt(_0x54ff3f(0x12b))/0x8)+parseInt(_0x54ff3f(0x170))/0x9*(-parseInt(_0x54ff3f(0x163))/0xa)+parseInt(_0x54ff3f(0x1a2))/0xb;if(_0x374fa9===_0x14649a)break;else _0x11988f['push'](_0x11988f['shift']());}catch(_0x242e39){_0x11988f['push'](_0x11988f['shift']());}}}(a32_0x36f8,0x63e50));function a32_0x66ed(_0x1ba2d0,_0x5be317){const _0x36f8be=a32_0x36f8();return a32_0x66ed=function(_0x66ed1a,_0x50fb76){_0x66ed1a=_0x66ed1a-0x115;let _0x430eed=_0x36f8be[_0x66ed1a];return _0x430eed;},a32_0x66ed(_0x1ba2d0,_0x5be317);}const util=require(a32_0x10dbb6(0x1b0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x10dbb6(0x15a)),{percyAutoCapture}=require(a32_0x10dbb6(0x159)),{sendPlatformDetails}=require(a32_0x10dbb6(0x1b2)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x10dbb6(0x187)),PerformanceTester=require(a32_0x10dbb6(0x11b)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x10dbb6(0x17f)),scripts=require(a32_0x10dbb6(0x177)),globals=require(a32_0x10dbb6(0x180)),logger=require(a32_0x10dbb6(0x15e))[a32_0x10dbb6(0x1a8)],{shouldProcessEventForTesthub}=require(a32_0x10dbb6(0x11e)),testHubConstants=require(a32_0x10dbb6(0x1a7));exports[a32_0x10dbb6(0x1b5)]={'beforeAll'(){const _0xfd53a1=a32_0x10dbb6,_0x4e3b6d={'FyfJG':function(_0x16ef96,_0x480a29,_0x3d374a,_0x21c44a){return _0x16ef96(_0x480a29,_0x3d374a,_0x21c44a);},'NtPLr':'failed','IFVDS':'\x20|\x20','Pugww':function(_0x49fc2d,_0x4960c2,_0x11a3cf){return _0x49fc2d(_0x4960c2,_0x11a3cf);},'FAjwK':'passed','HzTdY':function(_0x1e5b99){return _0x1e5b99();},'yHVgH':function(_0x52d4ab,_0x3d0513,_0xf854c5){return _0x52d4ab(_0x3d0513,_0xf854c5);},'VCKfL':_0xfd53a1(0x141),'ieJSX':_0xfd53a1(0x17d)};PerformanceTester[_0xfd53a1(0x16b)]();const _0x260e8f='browserstack internal helper hook';PerformanceTester[_0xfd53a1(0x19e)](PerformanceSdkEvents[_0xfd53a1(0x1c2)],()=>{const _0x57492f=_0xfd53a1,_0xd80426={'lPpeR':function(_0xcb87b4,_0xbe683b,_0x584678,_0x1fe164){const _0x5a75ef=a32_0x66ed;return _0x4e3b6d[_0x5a75ef(0x18e)](_0xcb87b4,_0xbe683b,_0x584678,_0x1fe164);},'IuwsO':_0x4e3b6d[_0x57492f(0x1a9)],'Ywvbk':_0x4e3b6d[_0x57492f(0x117)],'rVfmJ':function(_0x262dda,_0x205473,_0x5ed65a){const _0x22f250=_0x57492f;return _0x4e3b6d[_0x22f250(0x193)](_0x262dda,_0x205473,_0x5ed65a);},'JSAbj':_0x4e3b6d[_0x57492f(0x14a)],'kqKMg':function(_0x2bb8a1){return _0x4e3b6d['HzTdY'](_0x2bb8a1);}};global['__error_messages__']=[],global[_0x57492f(0x14d)]=![],global['driverCleanup']=async()=>{const _0x483b11=_0x57492f;let _0x374732=![];try{await global[_0x483b11(0x15f)][0x0][_0x483b11(0x153)],_0x374732=!![],global[_0x483b11(0x14d)]?await _0xd80426[_0x483b11(0x174)](markSessionStatus,global[_0x483b11(0x15f)][0x0],_0xd80426[_0x483b11(0x19d)],global['__error_messages__']['join'](_0xd80426[_0x483b11(0x199)])):await _0xd80426[_0x483b11(0x16e)](markSessionStatus,global[_0x483b11(0x15f)][0x0],_0xd80426[_0x483b11(0x1b3)]);}catch(_0x4bc05d){logger['debug'](_0x483b11(0x1bb)+_0x4bc05d);}global[_0x483b11(0x195)]=[],global[_0x483b11(0x14d)]=![];if(_0x374732)try{try{_0xd80426[_0x483b11(0x119)](shouldProcessEventForTesthub)&&(global[_0x483b11(0x15f)][0x0]&&await _0xd80426[_0x483b11(0x16e)](sendPlatformDetails,global[_0x483b11(0x15f)][0x0],this['currentTest']?this[_0x483b11(0x17a)][_0x483b11(0x161)]:null));}catch(_0x4c742d){logger['debug'](_0x483b11(0x1c5)+_0x4c742d);}await global['__drivers'][0x0][_0x483b11(0x1c4)]();}catch(_0x36b4ca){logger[_0x483b11(0x1ad)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x36b4ca);}};},{'platform':_0x4e3b6d[_0xfd53a1(0x168)](nestedKeyValue,global[_0xfd53a1(0x1af)],[_0x4e3b6d['VCKfL']]),'hookType':_0x4e3b6d['ieJSX']})();},'beforeEach'(_0x452ade){const _0x236d5d=a32_0x10dbb6,_0x3ce0fd={'XZsNg':function(_0x5b8f3b,_0x1aafce){return _0x5b8f3b>_0x1aafce;},'gwoeZ':function(_0x2e0ec2,_0xe7e4bd){return _0x2e0ec2>_0xe7e4bd;},'yreyt':'\x20-\x20','UzMKj':function(_0x59f981,_0xdaa1b8,_0x24d823){return _0x59f981(_0xdaa1b8,_0x24d823);},'beOXo':_0x236d5d(0x169),'ltuhH':function(_0x1af7d0){return _0x1af7d0();},'cfEjM':function(_0xd07789,_0x244d22){return _0xd07789>_0x244d22;},'kRRcc':_0x236d5d(0x11d),'xxwvh':function(_0x13723f,_0x46d2ac){return _0x13723f===_0x46d2ac;},'hDSfO':'http:','PSniR':function(_0x1edda7,_0x336b6c){return _0x1edda7===_0x336b6c;},'FDEbq':_0x236d5d(0x1bf),'mBpCJ':_0x236d5d(0x1c3),'cJOId':_0x236d5d(0x14f),'fJljP':_0x236d5d(0x125),'MWbMt':function(_0x47855a,_0x49d420,_0xe7fab4){return _0x47855a(_0x49d420,_0xe7fab4);},'Mvapx':_0x236d5d(0x141),'yhqPi':_0x236d5d(0x12e)};globals[_0x236d5d(0x191)](_0x3ce0fd['fJljP'],this[_0x236d5d(0x17a)]['titlePath']()[_0x236d5d(0x19a)](_0x3ce0fd[_0x236d5d(0x150)])),PerformanceTester[_0x236d5d(0x19e)](PerformanceSdkEvents[_0x236d5d(0x1c2)],()=>{const _0x1d2c7c=_0x236d5d,_0x3ba423='browserstack internal helper hook';new Promise(async _0x30f120=>{const _0x580619=a32_0x66ed;let _0x1c6ac3=!![];try{_0x3ce0fd[_0x580619(0x15b)](global[_0x580619(0x15f)][_0x580619(0x14e)],0x1)&&(await global[_0x580619(0x173)](),global[_0x580619(0x15f)][_0x580619(0x1c0)]()),_0x3ce0fd[_0x580619(0x1a4)](global['__drivers'][0x0][_0x580619(0x1aa)],0x0)&&(_0x1c6ac3=![],await global['driverCleanup']());}catch(_0x2f64b0){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2f64b0);}try{Array[_0x580619(0x1be)](global[_0x580619(0x15f)])&&global['__drivers'][0x0]&&(global[_0x580619(0x15f)][0x0][_0x580619(0x17c)]=this[_0x580619(0x17a)][_0x580619(0x165)]()[_0x580619(0x19a)](_0x3ce0fd[_0x580619(0x150)])),global[_0x580619(0x17c)]=this[_0x580619(0x17a)][_0x580619(0x165)]()[_0x580619(0x19a)](_0x3ce0fd['yreyt']);}catch(_0x1ca09f){logger[_0x580619(0x1ad)](_0x580619(0x18d)+_0x1ca09f);}this[_0x580619(0x17a)]['shouldScanTestForAccessibility']=_0x3ce0fd[_0x580619(0x13e)](shouldScanTestForAccessibility,this['currentTest'][_0x580619(0x165)](),!![]),globals['setGlobal'](_0x3ce0fd['beOXo'],this['currentTest']['shouldScanTestForAccessibility']),this[_0x580619(0x17a)][_0x580619(0x1a0)]=!![];if(_0x3ce0fd[_0x580619(0x19b)](isAccessibilityAutomationSession)&&_0x1c6ac3&&Array[_0x580619(0x1be)](global[_0x580619(0x15f)])&&_0x3ce0fd['cfEjM'](global[_0x580619(0x15f)]['length'],0x0)&&globals[_0x580619(0x18c)](_0x3ce0fd[_0x580619(0x182)]))try{const _0x1726d9=await global[_0x580619(0x15f)][0x0][_0x580619(0x153)];if(_0x1726d9){let _0x287720=!![];const _0x5925c4=await global['__drivers'][0x0][_0x580619(0x18a)]();let _0x5aedb3;try{_0x5aedb3=new URL(_0x5925c4);}catch(_0x1cbdba){_0x287720=![];}_0x287720=_0x3ce0fd[_0x580619(0x179)](_0x5aedb3[_0x580619(0x189)],_0x3ce0fd[_0x580619(0x12f)])||_0x3ce0fd[_0x580619(0x194)](_0x5aedb3[_0x580619(0x189)],_0x3ce0fd[_0x580619(0x1b8)]),_0x287720&&(this[_0x580619(0x17a)][_0x580619(0x1b1)]&&logger[_0x580619(0x116)](_0x3ce0fd[_0x580619(0x146)])),this[_0x580619(0x17a)][_0x580619(0x1a0)]=this['currentTest']['shouldScanTestForAccessibility'],this['currentTest'][_0x580619(0x1b1)]&&logger[_0x580619(0x116)](_0x3ce0fd['cJOId']);}}catch(_0x1e1fa8){logger[_0x580619(0x17b)](_0x580619(0x192)+util[_0x580619(0x120)](_0x1e1fa8));}_0x3ce0fd[_0x580619(0x19b)](_0x30f120);})[_0x1d2c7c(0x14b)](()=>{_0x3ce0fd['ltuhH'](_0x452ade);});},{'platform':_0x3ce0fd[_0x236d5d(0x18b)](nestedKeyValue,global['__platformCaps'],[_0x3ce0fd['Mvapx']]),'hookType':_0x3ce0fd[_0x236d5d(0x19f)]})();},'afterEach'(_0x6e5b2a){const _0x17c026=a32_0x10dbb6,_0x1b756={'Jawxr':function(_0x3e1b3a){return _0x3e1b3a();},'YdKsB':_0x17c026(0x1b6),'gXMfy':function(_0x484a1c,_0x23a4f1){return _0x484a1c!==_0x23a4f1;},'kCMbv':'passed','zFPaj':function(_0x126e01,_0x3ee74d,_0x4fb4ee){return _0x126e01(_0x3ee74d,_0x4fb4ee);},'ncOyQ':function(_0x4f3be3,_0x3866ab){return _0x4f3be3+_0x3866ab;},'HlhqF':_0x17c026(0x1a3),'xgLCy':_0x17c026(0x17b),'GOJMz':'Passed','qJKWx':_0x17c026(0x116),'tXSyn':function(_0x546b18,_0x3dbd2c){return _0x546b18>_0x3dbd2c;},'LjSnJ':function(_0x5113c6,_0x48d16a){return _0x5113c6===_0x48d16a;},'scHRB':_0x17c026(0x124),'tnNYl':'appium:app','VrWyX':function(_0x2d2540,_0x3bed67,_0x95792a,_0x523140){return _0x2d2540(_0x3bed67,_0x95792a,_0x523140);},'ABVPt':_0x17c026(0x11d),'lawmn':'bstackA11yShouldScan','NbxWA':_0x17c026(0x198),'XBaAs':_0x17c026(0x136),'fTjyq':_0x17c026(0x13b),'JDggn':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','UhFXJ':function(_0x5cee28){return _0x5cee28();},'cgshN':function(_0x1b171c,_0x9467ad,_0xd8cf46){return _0x1b171c(_0x9467ad,_0xd8cf46);},'ZVBZM':function(_0x58f149){return _0x58f149();},'vCGfI':function(_0x2b2da4,_0x198533,_0x2a707f){return _0x2b2da4(_0x198533,_0x2a707f);},'APqpO':_0x17c026(0x1ad),'jyDlN':function(_0x53a448,_0x1fb808){return _0x53a448>_0x1fb808;},'qTSDv':_0x17c026(0x141),'Pjxbp':'afterEach'},_0x363e5e='browserstack internal helper hook';this[_0x17c026(0x115)](0xfde8),global[_0x17c026(0x155)]=this[_0x17c026(0x17a)][_0x17c026(0x165)]()[_0x17c026(0x19a)](_0x1b756[_0x17c026(0x171)]),PerformanceTester[_0x17c026(0x19e)](PerformanceSdkEvents[_0x17c026(0x1c2)],()=>{const _0xa81615=_0x17c026,_0x24e36b={'cQYgD':_0x1b756[_0xa81615(0x171)],'UsyXJ':function(_0xd54c19,_0x312784){const _0x51fbba=_0xa81615;return _0x1b756[_0x51fbba(0x186)](_0xd54c19,_0x312784);},'NmMra':_0x1b756[_0xa81615(0x1ac)],'TNJyv':function(_0x57f298,_0x49571d,_0x5e9b4b){return _0x1b756['zFPaj'](_0x57f298,_0x49571d,_0x5e9b4b);},'wJbsO':function(_0x4c069a,_0x2f9f2b){const _0x4564ee=_0xa81615;return _0x1b756[_0x4564ee(0x138)](_0x4c069a,_0x2f9f2b);},'QpBay':_0x1b756['HlhqF'],'cngRJ':_0x1b756[_0xa81615(0x13a)],'OEcew':function(_0x29ca69,_0x6c9fee,_0x2da01c){const _0x2518f4=_0xa81615;return _0x1b756[_0x2518f4(0x11c)](_0x29ca69,_0x6c9fee,_0x2da01c);},'vAspB':_0x1b756[_0xa81615(0x158)],'vreMe':_0x1b756[_0xa81615(0x16f)],'RctFu':function(_0x2580c5,_0x483683){const _0x3c0792=_0xa81615;return _0x1b756[_0x3c0792(0x130)](_0x2580c5,_0x483683);},'dpNGY':function(_0x345c5b,_0x23a417){const _0x54e0a4=_0xa81615;return _0x1b756[_0x54e0a4(0x1b7)](_0x345c5b,_0x23a417);},'wFhRj':_0x1b756[_0xa81615(0x131)],'IfJmc':function(_0x3566ae,_0x2aa3a5){const _0x1f00f=_0xa81615;return _0x1b756[_0x1f00f(0x130)](_0x3566ae,_0x2aa3a5);},'GoXMr':_0x1b756['tnNYl'],'CUYjt':function(_0x336ad0,_0x581c3a,_0x2f0dbe,_0x513a5e){const _0x4b75b0=_0xa81615;return _0x1b756[_0x4b75b0(0x133)](_0x336ad0,_0x581c3a,_0x2f0dbe,_0x513a5e);},'knKoc':_0x1b756[_0xa81615(0x127)],'gwPkp':_0x1b756['lawmn'],'BMAFc':_0x1b756['NbxWA'],'NhmMU':_0x1b756['XBaAs'],'LAvpr':_0x1b756[_0xa81615(0x167)],'exqwN':_0x1b756['JDggn'],'ObsYP':function(_0x234c58){const _0x16aa56=_0xa81615;return _0x1b756[_0x16aa56(0x18f)](_0x234c58);},'PLNQS':function(_0x15b9eb,_0x39c2fa,_0x1f7317){const _0x38c1cc=_0xa81615;return _0x1b756[_0x38c1cc(0x190)](_0x15b9eb,_0x39c2fa,_0x1f7317);},'HstHy':function(_0x2570a5){const _0x4febd1=_0xa81615;return _0x1b756[_0x4febd1(0x1c1)](_0x2570a5);},'pDflL':function(_0x2243ae,_0x3ecb61,_0x35c831){const _0x2f2122=_0xa81615;return _0x1b756[_0x2f2122(0x15c)](_0x2243ae,_0x3ecb61,_0x35c831);},'QjPFg':_0x1b756[_0xa81615(0x185)],'yWyHI':function(_0x39278c,_0x1e2b4b){const _0x448cb6=_0xa81615;return _0x1b756[_0x448cb6(0x15d)](_0x39278c,_0x1e2b4b);}},_0x2aa68b=async(_0x1a5c64,_0x4244f4)=>{const _0x504f77=_0xa81615;await global[_0x504f77(0x15f)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x1a5c64+_0x504f77(0x122)+_0x4244f4+_0x504f77(0x196));};new Promise(async _0x416dbf=>{const _0x3d992c=_0xa81615;try{_0x24e36b[_0x3d992c(0x17e)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x3d992c(0x1c0)](),global[_0x3d992c(0x195)]=[],global['__sessionFailed']=![]);try{if(global[_0x3d992c(0x1a5)]&&_0x24e36b[_0x3d992c(0x12c)](global[_0x3d992c(0x1a6)],_0x24e36b[_0x3d992c(0x162)])&&global[_0x3d992c(0x15f)][0x0]){const _0x50b1f4=_0x24e36b[_0x3d992c(0x1a1)](global[_0x3d992c(0x175)][_0x3d992c(0x14e)],0x0)?!!global[_0x3d992c(0x175)][0x0][_0x3d992c(0x152)]||!!global['capabilities'][0x0][_0x24e36b[_0x3d992c(0x149)]]:![],_0x3f971c={};_0x3f971c['app']=_0x50b1f4,await _0x24e36b[_0x3d992c(0x137)](percyAutoCapture,global[_0x3d992c(0x15f)][0x0],_0x24e36b['wFhRj'],_0x3f971c);}}catch(_0x458444){logger[_0x3d992c(0x1ad)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x458444);}!global['__skipSessionName']&&(await PerformanceTester[_0x3d992c(0x19e)](PerformanceAutEvents[_0x3d992c(0x1bd)],async()=>{const _0x51e869=_0x3d992c;await global[_0x51e869(0x15f)][0x0]['executeScript'](_0x51e869(0x126)+JSON[_0x51e869(0x13d)](this[_0x51e869(0x17a)][_0x51e869(0x165)]()['join'](_0x24e36b[_0x51e869(0x1c6)]))+'}}');})(),global[_0x3d992c(0x15f)][0x0][_0x3d992c(0x143)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x3d992c(0x1bc)],async()=>{const _0x7646e0=_0x3d992c,_0x57a595=_0x24e36b[_0x7646e0(0x12a)](this[_0x7646e0(0x17a)]['state'],_0x24e36b[_0x7646e0(0x19c)]);_0x57a595?(global[_0x7646e0(0x14d)]=!![],global[_0x7646e0(0x195)][_0x7646e0(0x128)](this[_0x7646e0(0x17a)][_0x7646e0(0x148)][_0x7646e0(0x123)]),await _0x24e36b[_0x7646e0(0x134)](_0x2aa68b,JSON['stringify'](_0x24e36b[_0x7646e0(0x157)](_0x24e36b['QpBay'],this[_0x7646e0(0x17a)]['err'][_0x7646e0(0x123)])),_0x24e36b['cngRJ'])):await _0x24e36b[_0x7646e0(0x156)](_0x2aa68b,JSON['stringify'](_0x24e36b['vAspB']),_0x24e36b[_0x7646e0(0x135)]);})();}catch(_0x4009ec){logger[_0x3d992c(0x1ad)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x4009ec);}try{if(this[_0x3d992c(0x17a)][_0x3d992c(0x1a0)]&&globals[_0x3d992c(0x18c)](_0x24e36b[_0x3d992c(0x151)])&&globals[_0x3d992c(0x18c)](_0x24e36b[_0x3d992c(0x166)])){logger['info'](_0x24e36b[_0x3d992c(0x181)]);const _0x3e45cf={};_0x3e45cf[_0x3d992c(0x140)]=this[_0x3d992c(0x17a)]['testAnalyticsId'],_0x3e45cf[_0x3d992c(0x1b9)]=process[_0x3d992c(0x118)][testHubConstants[_0x3d992c(0x1ba)][_0x3d992c(0x1c8)]],_0x3e45cf['thJwtToken']=process['env'][testHubConstants['ENV_VAR'][_0x3d992c(0x197)]];const _0x1f2cbd=_0x3e45cf;logger[_0x3d992c(0x1ad)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x1f2cbd)),logger['debug'](_0x24e36b['NhmMU']);const _0x31860f={};_0x31860f['command']=_0x24e36b['LAvpr'],await PerformanceTester[_0x3d992c(0x19e)](PerformanceA11yEvents[_0x3d992c(0x129)],async()=>{const _0x2bbbc4=_0x3d992c;logger['debug'](util[_0x2bbbc4(0x120)](await global[_0x2bbbc4(0x15f)][0x0][_0x2bbbc4(0x144)](scripts[_0x2bbbc4(0x176)],{'method':global[_0x2bbbc4(0x17c)]})));},_0x31860f)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3d992c(0x183)],async()=>{const _0x37e21c=_0x3d992c;await global[_0x37e21c(0x15f)][0x0][_0x37e21c(0x144)](scripts[_0x37e21c(0x16a)],_0x1f2cbd);})(),logger[_0x3d992c(0x116)](_0x24e36b[_0x3d992c(0x132)]);}}catch(_0x4f23e4){logger[_0x3d992c(0x17b)](_0x3d992c(0x14c)+this[_0x3d992c(0x17a)]['titlePath']()+_0x3d992c(0x13f),_0x4f23e4);}try{try{if(_0x24e36b['ObsYP'](shouldProcessEventForTesthub)){global[_0x3d992c(0x15f)][0x0]&&await _0x24e36b[_0x3d992c(0x178)](sendPlatformDetails,global[_0x3d992c(0x15f)][0x0],this[_0x3d992c(0x17a)]?this[_0x3d992c(0x17a)][_0x3d992c(0x161)]:null);if(_0x24e36b[_0x3d992c(0x147)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x3d992c(0x145)]);const _0x516217=_0x3d992c(0x121)+Date['now']();await _0x24e36b[_0x3d992c(0x11f)](_0x2aa68b,JSON[_0x3d992c(0x13d)](_0x516217),_0x24e36b[_0x3d992c(0x139)]),PerformanceTester[_0x3d992c(0x188)](PerformanceO11yEvents[_0x3d992c(0x145)]);}}}catch(_0x22db6b){logger[_0x3d992c(0x1ad)](_0x3d992c(0x1ab)+_0x22db6b),PerformanceTester[_0x3d992c(0x188)](PerformanceO11yEvents[_0x3d992c(0x145)],![],_0x22db6b);}_0x24e36b['yWyHI'](global[_0x3d992c(0x15f)][0x0][_0x3d992c(0x1aa)],0x0)&&await global['driverCleanup']();}catch(_0x18c884){logger[_0x3d992c(0x1ad)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x18c884);}_0x24e36b[_0x3d992c(0x147)](_0x416dbf);})[_0xa81615(0x14b)](()=>{const _0x1480de=_0xa81615;_0x1b756[_0x1480de(0x160)](_0x6e5b2a);});},{'platform':_0x1b756[_0x17c026(0x190)](nestedKeyValue,global[_0x17c026(0x1af)],[_0x1b756['qTSDv']]),'hookType':_0x1b756[_0x17c026(0x11a)]})();},'afterAll'(_0x18efea){const _0x312b80=a32_0x10dbb6,_0x33a9c5={'tiNCH':function(_0x13bd33){return _0x13bd33();},'mBgiM':function(_0x2d6920){return _0x2d6920();},'cejBM':function(_0x3fde11,_0xcab045,_0x3e9492){return _0x3fde11(_0xcab045,_0x3e9492);},'HqQyg':_0x312b80(0x141),'bmhsg':_0x312b80(0x13c)},_0x2d36fa='browserstack internal helper hook';this[_0x312b80(0x115)](0xfde8),PerformanceTester[_0x312b80(0x19e)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x245c4e=_0x312b80;new Promise(async _0xb26915=>{const _0x1aa8bf=a32_0x66ed;await global[_0x1aa8bf(0x173)](),_0x33a9c5[_0x1aa8bf(0x154)](_0xb26915);})[_0x245c4e(0x14b)]()[_0x245c4e(0x172)](()=>{_0x33a9c5['mBgiM'](_0x18efea);});},{'platform':_0x33a9c5[_0x312b80(0x16d)](nestedKeyValue,global[_0x312b80(0x1af)],[_0x33a9c5['HqQyg']]),'hookType':_0x33a9c5[_0x312b80(0x142)]})();}};
1
+ function a32_0x3c15(){const _0x4f9711=['debug','capabilities','191321NihHnx','shift','WNSZO','shouldScanTestForAccessibility','cKEXJ','Gznim','SESSION_STATUS','thTestRunUuid','TmPRU','RblYL','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','length','dhmnK','AgHWD','fpdqa','myOkv','info','kaILP','kdJok','\x22}}','1405480wtYxNS','measureWrapper','DaGpp','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','UheMo','RvCtE','__sessionFailed','igyRO','OHWhd','wiJgI','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','message','BROWSERSTACK_TESTHUB_JWT','qPxyC','accessibilityScanStarted','\x20|\x20','join','7tQSpVB','EHDrW','VsWYy','zXVfL','TbrWD','SESSION_NAME','OduOC','MRfRb','titlePath','AgSvg','yAFfL','isAccessibilityPlatform','FnFZS','DLdhb','mochaHooks','gRMHk','appium:app','JnZGu','afterEach','__drivers','session_','5348170OwnjtP','BROWSERSTACK_TESTHUB_UUID','\x20-\x20','../../helpers/performance/constants','ObservabilitySync:','Automate\x20test\x20case\x20execution\x20has\x20started.','afterTest','GUonT','KllzH','ouAYJ','YoHbO','beforeEach','PHSTr','eCQtY','error','format','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','pLLve','855702zJzJii','HXEkc','NXoEh','__error_messages__','app','kKvFB','SeTCw','fVtyQ','thJwtToken','LSzoQ','passed','oByqP','QTKRc','SYNC','percy','dLRVn','Failed:\x20','CBHgh','GZxfz','wXYap','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Zlnpl','bstackA11yShouldScan','testAnalyticsId','isArray','protocol','currentTest','util','ejSZx','SDK_HOOK','hftmk','beforeAll','18TQqWRn','__platformCaps','then','YnKpx','err','LDaHl','../../helpers/accessibility-automation/scripts','../../helpers/testhub/utils','driverCleanup','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','../../helpers/testhub/constants','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','1674978vqzzsc','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','RYLtM','browserstackSessionName','finally','ssQut','332391AXuVmc','AEVrO','ENV_VAR','fGSQk','thBuildUuid','saveTestResults','http:','../../helpers/accessibility-automation/helper','sessionNameSet__','krhDo','https:','pzrqU','jLLnP','performScan','DEOsC','AmOxp','afterAll','state','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Performing\x20scan\x20before\x20saving\x20results','BSXcy','PMQgH','push','./test-observability/mochaUtils','QQRtc','sxVgh','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','timeout','vuVPK','stringify','quitCount_','executeScript','../../helpers/logger','Passed','getGlobal','sessionName','642370HpcSdD','../../helpers/helper','end','kCFFI','4TsclEe','kyvHO','browserstackTestName','lhHpE','../../helpers/percy/utils','FvTLr','OiNzt','env','SAVE_RESULTS','getCurrentUrl','initQuit','AOKTw'];a32_0x3c15=function(){return _0x4f9711;};return a32_0x3c15();}const a32_0x5a12c9=a32_0xa402;(function(_0x2149e8,_0x4dd409){const _0x58326d=a32_0xa402,_0x5029b5=_0x2149e8();while(!![]){try{const _0x5a0c6f=-parseInt(_0x58326d(0x188))/0x1+-parseInt(_0x58326d(0x120))/0x2+parseInt(_0x58326d(0x152))/0x3+-parseInt(_0x58326d(0x17a))/0x4*(-parseInt(_0x58326d(0x176))/0x5)+parseInt(_0x58326d(0x14c))/0x6*(-parseInt(_0x58326d(0x1ae))/0x7)+-parseInt(_0x58326d(0x19d))/0x8*(-parseInt(_0x58326d(0x140))/0x9)+parseInt(_0x58326d(0x10e))/0xa;if(_0x5a0c6f===_0x4dd409)break;else _0x5029b5['push'](_0x5029b5['shift']());}catch(_0x370b38){_0x5029b5['push'](_0x5029b5['shift']());}}}(a32_0x3c15,0x37733));const util=require(a32_0x5a12c9(0x13b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x5a12c9(0x159)),{percyAutoCapture}=require(a32_0x5a12c9(0x17e)),{sendPlatformDetails}=require(a32_0x5a12c9(0x169)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x5a12c9(0x177)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x5a12c9(0x111)),scripts=require(a32_0x5a12c9(0x146)),globals=require('../../helpers/globals'),logger=require(a32_0x5a12c9(0x172))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x5a12c9(0x147)),testHubConstants=require(a32_0x5a12c9(0x14a));function a32_0xa402(_0x3264fc,_0x207b54){const _0x3c1578=a32_0x3c15();return a32_0xa402=function(_0xa40278,_0x1f439b){_0xa40278=_0xa40278-0xfa;let _0x3e84c8=_0x3c1578[_0xa40278];return _0x3e84c8;},a32_0xa402(_0x3264fc,_0x207b54);}exports[a32_0x5a12c9(0x107)]={'beforeAll'(){const _0x3620c3=a32_0x5a12c9,_0x58cc73={'geULu':function(_0x5db420,_0x221b65,_0x49e0d3,_0x2e0cdd){return _0x5db420(_0x221b65,_0x49e0d3,_0x2e0cdd);},'VsWYy':'failed','kaILP':_0x3620c3(0x1ac),'qPxyC':function(_0x570de0,_0x369e95,_0xe3562c){return _0x570de0(_0x369e95,_0xe3562c);},'jLLnP':_0x3620c3(0x12a),'OHWhd':function(_0x7cb06){return _0x7cb06();},'LDaHl':function(_0xc8ae1d,_0x1d9eef,_0x2f2a05){return _0xc8ae1d(_0x1d9eef,_0x2f2a05);},'WNSZO':function(_0x36b5ed,_0x22bbf0,_0xebd1b){return _0x36b5ed(_0x22bbf0,_0xebd1b);},'GIiRM':'index','oByqP':_0x3620c3(0x13f)};PerformanceTester['startMonitoring']();const _0x387e2b='browserstack internal helper hook';PerformanceTester[_0x3620c3(0x19e)](PerformanceSdkEvents[_0x3620c3(0x13d)],()=>{const _0x58db68=_0x3620c3;global[_0x58db68(0x123)]=[],global[_0x58db68(0x1a3)]=![],global[_0x58db68(0x148)]=async()=>{const _0x476c40=_0x58db68;let _0x309547=![];try{await global[_0x476c40(0x10c)][0x0]['session_'],_0x309547=!![],global['__sessionFailed']?await _0x58cc73['geULu'](markSessionStatus,global[_0x476c40(0x10c)][0x0],_0x58cc73[_0x476c40(0xfb)],global[_0x476c40(0x123)][_0x476c40(0x1ad)](_0x58cc73[_0x476c40(0x19a)])):await _0x58cc73[_0x476c40(0x1aa)](markSessionStatus,global[_0x476c40(0x10c)][0x0],_0x58cc73[_0x476c40(0x15e)]);}catch(_0x18d5b4){logger[_0x476c40(0x186)](_0x476c40(0x192)+_0x18d5b4);}global[_0x476c40(0x123)]=[],global[_0x476c40(0x1a3)]=![];if(_0x309547)try{try{_0x58cc73[_0x476c40(0x1a5)](shouldProcessEventForTesthub)&&(global[_0x476c40(0x10c)][0x0]&&await _0x58cc73[_0x476c40(0x145)](sendPlatformDetails,global[_0x476c40(0x10c)][0x0],this[_0x476c40(0x13a)]?this[_0x476c40(0x13a)][_0x476c40(0x137)]:null));}catch(_0xa40dc1){logger[_0x476c40(0x186)](_0x476c40(0x134)+_0xa40dc1);}await global[_0x476c40(0x10c)][0x0][_0x476c40(0x184)]();}catch(_0x213ffd){logger[_0x476c40(0x186)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x213ffd);}};},{'platform':_0x58cc73[_0x3620c3(0x18a)](nestedKeyValue,global[_0x3620c3(0x141)],[_0x58cc73['GIiRM']]),'hookType':_0x58cc73[_0x3620c3(0x12b)]})();},'beforeEach'(_0x27fa3f){const _0x240701=a32_0x5a12c9,_0x1363ec={'zXVfL':function(_0x146ebc,_0x3b1871){return _0x146ebc>_0x3b1871;},'RblYL':_0x240701(0x110),'JnZGu':function(_0x2f42af,_0x537ab4,_0x5a2960){return _0x2f42af(_0x537ab4,_0x5a2960);},'igyRO':_0x240701(0x136),'GZxfz':function(_0x1da52e){return _0x1da52e();},'TmPRU':'isAccessibilityPlatform','YYaOf':function(_0x32f703,_0x4a2d69){return _0x32f703===_0x4a2d69;},'cKEXJ':_0x240701(0x158),'FvTLr':function(_0x2fbc50,_0x12fa08){return _0x2fbc50===_0x12fa08;},'AgSvg':_0x240701(0x15c),'DaGpp':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','PEVIw':_0x240701(0x113),'HXEkc':_0x240701(0x17c),'LSzoQ':'index','ouAYJ':_0x240701(0x119)};globals['setGlobal'](_0x1363ec[_0x240701(0x121)],this['currentTest']['titlePath']()[_0x240701(0x1ad)](_0x1363ec[_0x240701(0x191)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x240701(0x13d)],()=>{const _0x2c6477=_0x240701,_0x4c9743='browserstack internal helper hook';new Promise(async _0x3722e4=>{const _0x4e4544=a32_0xa402;let _0x364203=!![];try{_0x1363ec[_0x4e4544(0xfc)](global[_0x4e4544(0x10c)][_0x4e4544(0x194)],0x1)&&(await global['driverCleanup'](),global[_0x4e4544(0x10c)]['shift']()),_0x1363ec[_0x4e4544(0xfc)](global[_0x4e4544(0x10c)][0x0][_0x4e4544(0x170)],0x0)&&(_0x364203=![],await global[_0x4e4544(0x148)]());}catch(_0x4f0eda){logger[_0x4e4544(0x186)](_0x4e4544(0x14b)+_0x4f0eda);}try{Array[_0x4e4544(0x138)](global[_0x4e4544(0x10c)])&&global[_0x4e4544(0x10c)][0x0]&&(global['__drivers'][0x0][_0x4e4544(0x14f)]=this[_0x4e4544(0x13a)]['titlePath']()[_0x4e4544(0x1ad)](_0x1363ec[_0x4e4544(0x191)])),global[_0x4e4544(0x14f)]=this[_0x4e4544(0x13a)][_0x4e4544(0x101)]()[_0x4e4544(0x1ad)](_0x1363ec[_0x4e4544(0x191)]);}catch(_0x1c2faa){logger[_0x4e4544(0x186)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x1c2faa);}this['currentTest']['shouldScanTestForAccessibility']=_0x1363ec[_0x4e4544(0x10a)](shouldScanTestForAccessibility,this[_0x4e4544(0x13a)]['titlePath'](),!![]),globals['setGlobal'](_0x1363ec[_0x4e4544(0x1a4)],this[_0x4e4544(0x13a)]['shouldScanTestForAccessibility']),this[_0x4e4544(0x13a)][_0x4e4544(0x1ab)]=!![];if(_0x1363ec[_0x4e4544(0x132)](isAccessibilityAutomationSession)&&_0x364203&&Array['isArray'](global[_0x4e4544(0x10c)])&&_0x1363ec[_0x4e4544(0xfc)](global[_0x4e4544(0x10c)][_0x4e4544(0x194)],0x0)&&globals[_0x4e4544(0x174)](_0x1363ec[_0x4e4544(0x190)]))try{const _0x1e9363=await global['__drivers'][0x0][_0x4e4544(0x10d)];if(_0x1e9363){let _0x38d3b3=!![];const _0x3f0631=await global[_0x4e4544(0x10c)][0x0][_0x4e4544(0x183)]();let _0x389b6d;try{_0x389b6d=new URL(_0x3f0631);}catch(_0x2c31fb){_0x38d3b3=![];}_0x38d3b3=_0x1363ec['YYaOf'](_0x389b6d[_0x4e4544(0x139)],_0x1363ec[_0x4e4544(0x18c)])||_0x1363ec[_0x4e4544(0x17f)](_0x389b6d[_0x4e4544(0x139)],_0x1363ec[_0x4e4544(0x102)]),_0x38d3b3&&(this['currentTest'][_0x4e4544(0x18b)]&&logger['info'](_0x1363ec[_0x4e4544(0x19f)])),this['currentTest']['accessibilityScanStarted']=this[_0x4e4544(0x13a)][_0x4e4544(0x18b)],this[_0x4e4544(0x13a)][_0x4e4544(0x18b)]&&logger['info'](_0x1363ec['PEVIw']);}}catch(_0x2846d4){logger[_0x4e4544(0x11c)](_0x4e4544(0x16c)+util[_0x4e4544(0x11d)](_0x2846d4));}_0x1363ec[_0x4e4544(0x132)](_0x3722e4);})[_0x2c6477(0x142)](()=>{const _0x3d27cb=_0x2c6477;_0x1363ec[_0x3d27cb(0x132)](_0x27fa3f);});},{'platform':_0x1363ec[_0x240701(0x10a)](nestedKeyValue,global[_0x240701(0x141)],[_0x1363ec[_0x240701(0x129)]]),'hookType':_0x1363ec[_0x240701(0x117)]})();},'afterEach'(_0x3f0b80){const _0x169e4b=a32_0x5a12c9,_0x51f9d4={'KllzH':function(_0x126de9){return _0x126de9();},'kyvHO':_0x169e4b(0x110),'sxVgh':function(_0x2f6d05,_0x1699ea){return _0x2f6d05!==_0x1699ea;},'IiGqD':_0x169e4b(0x12a),'fpdqa':function(_0x27f5a9,_0x2caf00,_0x42d732){return _0x27f5a9(_0x2caf00,_0x42d732);},'RYLtM':function(_0x31e992,_0x551dd1){return _0x31e992+_0x551dd1;},'QTKRc':_0x169e4b(0x130),'SeTCw':'error','Gznim':function(_0x41ba30,_0x158d56,_0x33bcf5){return _0x41ba30(_0x158d56,_0x33bcf5);},'AmOxp':_0x169e4b(0x173),'wySFn':_0x169e4b(0x199),'UheMo':function(_0xf12f1e,_0x57eaf8){return _0xf12f1e>_0x57eaf8;},'AEVrO':function(_0xa8471b,_0x518ce1){return _0xa8471b===_0x518ce1;},'GUonT':'testcase','ssQut':_0x169e4b(0x109),'OiNzt':function(_0x52b0b6,_0x2e2e22,_0x2a0424,_0x5838ba){return _0x52b0b6(_0x2e2e22,_0x2a0424,_0x5838ba);},'JywiD':_0x169e4b(0x104),'vuVPK':_0x169e4b(0x136),'fVtyQ':_0x169e4b(0x164),'myOkv':_0x169e4b(0x165),'krhDo':_0x169e4b(0x114),'oPmbl':_0x169e4b(0x193),'Zlnpl':function(_0x4c43ed){return _0x4c43ed();},'CBHgh':function(_0x311623,_0x3ba121,_0x2e7d09){return _0x311623(_0x3ba121,_0x2e7d09);},'lhHpE':_0x169e4b(0x186),'eCQtY':function(_0x3bb376){return _0x3bb376();},'dhmnK':function(_0x48bc2e,_0x463af3,_0x4e0458){return _0x48bc2e(_0x463af3,_0x4e0458);},'yAFfL':'index','DEOsC':_0x169e4b(0x10b)},_0x4259e5='browserstack internal helper hook';this[_0x169e4b(0x16d)](0xfde8),global[_0x169e4b(0x175)]=this[_0x169e4b(0x13a)][_0x169e4b(0x101)]()['join'](_0x51f9d4[_0x169e4b(0x17b)]),PerformanceTester[_0x169e4b(0x19e)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5abc5e=_0x169e4b,_0x1817ea={'PHSTr':_0x51f9d4['kyvHO'],'kdJok':function(_0x479cd5,_0x50e131){const _0x4792a4=a32_0xa402;return _0x51f9d4[_0x4792a4(0x16b)](_0x479cd5,_0x50e131);},'Chvbc':_0x51f9d4['IiGqD'],'pLLve':function(_0x26f931,_0x2df795,_0x575e95){const _0x5b8349=a32_0xa402;return _0x51f9d4[_0x5b8349(0x197)](_0x26f931,_0x2df795,_0x575e95);},'QQRtc':function(_0x20e4f8,_0xca34e5){const _0x5c15ec=a32_0xa402;return _0x51f9d4[_0x5c15ec(0x14e)](_0x20e4f8,_0xca34e5);},'BSXcy':_0x51f9d4[_0x5abc5e(0x12c)],'wbOPS':_0x51f9d4[_0x5abc5e(0x126)],'AOKTw':function(_0x2d5ac5,_0x345b5f,_0x478379){const _0x37fb16=_0x5abc5e;return _0x51f9d4[_0x37fb16(0x18d)](_0x2d5ac5,_0x345b5f,_0x478379);},'EHDrW':_0x51f9d4[_0x5abc5e(0x161)],'MRfRb':_0x51f9d4['wySFn'],'YoHbO':function(_0x2ddc51,_0x263c6e){const _0x3827ef=_0x5abc5e;return _0x51f9d4[_0x3827ef(0x1a1)](_0x2ddc51,_0x263c6e);},'kKvFB':function(_0xf6f229,_0x1dd5a4){const _0x3b929d=_0x5abc5e;return _0x51f9d4[_0x3b929d(0x153)](_0xf6f229,_0x1dd5a4);},'NXoEh':_0x51f9d4[_0x5abc5e(0x115)],'pzrqU':function(_0x4d6c53,_0x47166d){const _0x24a300=_0x5abc5e;return _0x51f9d4[_0x24a300(0x1a1)](_0x4d6c53,_0x47166d);},'TbrWD':_0x51f9d4[_0x5abc5e(0x151)],'wXYap':function(_0x3aec86,_0x41543e,_0x27c324,_0x4c2fae){const _0x28ef0c=_0x5abc5e;return _0x51f9d4[_0x28ef0c(0x180)](_0x3aec86,_0x41543e,_0x27c324,_0x4c2fae);},'ejSZx':_0x51f9d4['JywiD'],'YnKpx':_0x51f9d4[_0x5abc5e(0x16e)],'wiJgI':_0x51f9d4[_0x5abc5e(0x127)],'OduOC':_0x51f9d4[_0x5abc5e(0x198)],'fGSQk':_0x51f9d4[_0x5abc5e(0x15b)],'hcZbe':_0x51f9d4['oPmbl'],'RvCtE':function(_0x3e70ba){const _0x5b2376=_0x5abc5e;return _0x51f9d4[_0x5b2376(0x135)](_0x3e70ba);},'hftmk':function(_0x5a4784,_0x197e2c,_0x28a8dd){const _0x4fa4ac=_0x5abc5e;return _0x51f9d4[_0x4fa4ac(0x131)](_0x5a4784,_0x197e2c,_0x28a8dd);},'PMQgH':_0x51f9d4[_0x5abc5e(0x17d)],'YsZAk':function(_0x79fb2a,_0x2cd55b){const _0x1a4651=_0x5abc5e;return _0x51f9d4[_0x1a4651(0x1a1)](_0x79fb2a,_0x2cd55b);},'dLRVn':function(_0x3ec2f1){const _0x29a927=_0x5abc5e;return _0x51f9d4[_0x29a927(0x11b)](_0x3ec2f1);}},_0x22e797=async(_0x12a89e,_0x5df08a)=>{const _0x16ceef=_0x5abc5e;await global[_0x16ceef(0x10c)][0x0][_0x16ceef(0x171)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x12a89e+',\x22level\x22:\x20\x22'+_0x5df08a+_0x16ceef(0x19c));};new Promise(async _0x55cb62=>{const _0x263580=_0x5abc5e;try{_0x1817ea[_0x263580(0x118)](global[_0x263580(0x10c)]['length'],0x1)&&(await global[_0x263580(0x148)](),global[_0x263580(0x10c)][_0x263580(0x189)](),global[_0x263580(0x123)]=[],global[_0x263580(0x1a3)]=![]);try{if(global[_0x263580(0x12e)]&&_0x1817ea[_0x263580(0x125)](global['percyCaptureMode'],_0x1817ea[_0x263580(0x122)])&&global[_0x263580(0x10c)][0x0]){const _0x2e7e64=_0x1817ea[_0x263580(0x15d)](global[_0x263580(0x187)][_0x263580(0x194)],0x0)?!!global[_0x263580(0x187)][0x0][_0x263580(0x124)]||!!global[_0x263580(0x187)][0x0][_0x1817ea[_0x263580(0xfd)]]:![],_0x2b3d13={};_0x2b3d13[_0x263580(0x124)]=_0x2e7e64,await _0x1817ea[_0x263580(0x133)](percyAutoCapture,global[_0x263580(0x10c)][0x0],_0x1817ea['NXoEh'],_0x2b3d13);}}catch(_0x4e87d9){logger[_0x263580(0x186)](_0x263580(0x1a7)+_0x4e87d9);}!global['__skipSessionName']&&(await PerformanceTester[_0x263580(0x19e)](PerformanceAutEvents[_0x263580(0xfe)],async()=>{const _0x171270=_0x263580;await global[_0x171270(0x10c)][0x0][_0x171270(0x171)](_0x171270(0x1a0)+JSON[_0x171270(0x16f)](this[_0x171270(0x13a)][_0x171270(0x101)]()['join'](_0x1817ea[_0x171270(0x11a)]))+'}}');})(),global[_0x263580(0x10c)][0x0][_0x263580(0x15a)]=!![]),await PerformanceTester[_0x263580(0x19e)](PerformanceAutEvents[_0x263580(0x18e)],async()=>{const _0x4dcf61=_0x263580,_0x42882a=_0x1817ea[_0x4dcf61(0x19b)](this['currentTest'][_0x4dcf61(0x163)],_0x1817ea['Chvbc']);_0x42882a?(global[_0x4dcf61(0x1a3)]=!![],global[_0x4dcf61(0x123)][_0x4dcf61(0x168)](this[_0x4dcf61(0x13a)][_0x4dcf61(0x144)][_0x4dcf61(0x1a8)]),await _0x1817ea[_0x4dcf61(0x11f)](_0x22e797,JSON[_0x4dcf61(0x16f)](_0x1817ea[_0x4dcf61(0x16a)](_0x1817ea[_0x4dcf61(0x166)],this['currentTest']['err']['message'])),_0x1817ea['wbOPS'])):await _0x1817ea[_0x4dcf61(0x185)](_0x22e797,JSON[_0x4dcf61(0x16f)](_0x1817ea[_0x4dcf61(0xfa)]),_0x1817ea[_0x4dcf61(0x100)]);})();}catch(_0x10a3d4){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x10a3d4);}try{if(this[_0x263580(0x13a)][_0x263580(0x1ab)]&&globals[_0x263580(0x174)](_0x1817ea[_0x263580(0x13c)])&&globals[_0x263580(0x174)](_0x1817ea[_0x263580(0x143)])){logger['info'](_0x1817ea[_0x263580(0x1a6)]);const _0x196ce2={};_0x196ce2[_0x263580(0x18f)]=this[_0x263580(0x13a)][_0x263580(0x137)],_0x196ce2[_0x263580(0x156)]=process[_0x263580(0x181)][testHubConstants[_0x263580(0x154)][_0x263580(0x10f)]],_0x196ce2[_0x263580(0x128)]=process[_0x263580(0x181)][testHubConstants[_0x263580(0x154)][_0x263580(0x1a9)]];const _0x2894ce=_0x196ce2;logger[_0x263580(0x186)](_0x263580(0x14d)+JSON[_0x263580(0x16f)](_0x2894ce)),logger['debug'](_0x1817ea[_0x263580(0xff)]);const _0x166cfb={};_0x166cfb['command']=_0x1817ea[_0x263580(0x155)],await PerformanceTester[_0x263580(0x19e)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x159c32=_0x263580;logger[_0x159c32(0x186)](util[_0x159c32(0x11d)](await global[_0x159c32(0x10c)][0x0]['executeAsyncScript'](scripts[_0x159c32(0x15f)],{'method':global[_0x159c32(0x14f)]})));},_0x166cfb)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x263580(0x182)],async()=>{const _0x86c08a=_0x263580;await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x86c08a(0x157)],_0x2894ce);})(),logger[_0x263580(0x199)](_0x1817ea['hcZbe']);}}catch(_0x2d4b1c){logger['error'](_0x263580(0x149)+this['currentTest'][_0x263580(0x101)]()+'.\x20Error\x20:',_0x2d4b1c);}try{try{if(_0x1817ea[_0x263580(0x1a2)](shouldProcessEventForTesthub)){global[_0x263580(0x10c)][0x0]&&await _0x1817ea[_0x263580(0x185)](sendPlatformDetails,global[_0x263580(0x10c)][0x0],this[_0x263580(0x13a)]?this[_0x263580(0x13a)]['testAnalyticsId']:null);if(_0x1817ea[_0x263580(0x1a2)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x263580(0x12d)]);const _0xb8623c=_0x263580(0x112)+Date['now']();await _0x1817ea[_0x263580(0x13e)](_0x22e797,JSON[_0x263580(0x16f)](_0xb8623c),_0x1817ea[_0x263580(0x167)]),PerformanceTester[_0x263580(0x178)](PerformanceO11yEvents[_0x263580(0x12d)]);}}}catch(_0x398039){logger[_0x263580(0x186)](_0x263580(0x11e)+_0x398039),PerformanceTester['end'](PerformanceO11yEvents[_0x263580(0x12d)],![],_0x398039);}_0x1817ea['YsZAk'](global[_0x263580(0x10c)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x44ca6c){logger[_0x263580(0x186)](_0x263580(0x14b)+_0x44ca6c);}_0x1817ea[_0x263580(0x12f)](_0x55cb62);})[_0x5abc5e(0x142)](()=>{const _0xb5c4c2=_0x5abc5e;_0x51f9d4[_0xb5c4c2(0x116)](_0x3f0b80);});},{'platform':_0x51f9d4[_0x169e4b(0x195)](nestedKeyValue,global[_0x169e4b(0x141)],[_0x51f9d4[_0x169e4b(0x103)]]),'hookType':_0x51f9d4[_0x169e4b(0x160)]})();},'afterAll'(_0x535d4e){const _0xd81b3c=a32_0x5a12c9,_0x15b0eb={'FnFZS':function(_0x40e4cc){return _0x40e4cc();},'gRMHk':function(_0x53acd3,_0x6e7e5f,_0x1800e8){return _0x53acd3(_0x6e7e5f,_0x1800e8);},'AgHWD':'index','DLdhb':_0xd81b3c(0x162)},_0x14b862='browserstack internal helper hook';this[_0xd81b3c(0x16d)](0xfde8),PerformanceTester[_0xd81b3c(0x19e)](PerformanceSdkEvents[_0xd81b3c(0x13d)],()=>{const _0x374c54=_0xd81b3c,_0x1f4665={'kCFFI':function(_0x5e0275){const _0x10719e=a32_0xa402;return _0x15b0eb[_0x10719e(0x105)](_0x5e0275);}};new Promise(async _0x4d2a01=>{const _0x1ded3d=a32_0xa402;await global[_0x1ded3d(0x148)](),_0x1f4665[_0x1ded3d(0x179)](_0x4d2a01);})[_0x374c54(0x142)]()[_0x374c54(0x150)](()=>{const _0x452032=_0x374c54;_0x1f4665[_0x452032(0x179)](_0x535d4e);});},{'platform':_0x15b0eb[_0xd81b3c(0x108)](nestedKeyValue,global[_0xd81b3c(0x141)],[_0x15b0eb[_0xd81b3c(0x196)]]),'hookType':_0x15b0eb[_0xd81b3c(0x106)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x49d69f=a33_0x41c3;function a33_0x9d0d(){const _0x2bf652=['desiredCapabilities','LvJyf','test_settings','selenium','75EUZrpV','filter','trim','env','Getting\x20your\x20nightwatch\x20configs\x20from\x20','port','nightwatch.cmd','123052WupUnv','platforms','120NycOXd','useW3C','cwd','--env','2793OXbUUI','platform','wGbVi','isUndefined','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','findIndex','join','forEach','sOXsw','64750ZMBlRy','../../helpers/logger','slice','getPlatformName','host','config','modifyBrowserStackW3CCaps','writeFileSync','../utils/constants','child_process','../../helpers/helper','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','length','qYjBo','info','nightwatch.conf.js','close','54PCLPiU','inherit','splice','ZWiZc','RQGZt','xwjCr','Deleting\x20','nightwatch','webdriver','existsSync','KAwDO','--config','lFiSi','BlzLR','now','exports','push','unlinkSync','nightwatch.json','384410LgJlnO','oSChh','lUWln','631120CssXys','6238143cANuFc','anOyy','viPvX','../../helpers/BrowserStackSetup','64HtJrNF','debug','1440048HyhVDN','LvKlJ','hub.browserstack.com','zBusw','143miyBgY'];a33_0x9d0d=function(){return _0x2bf652;};return a33_0x9d0d();}(function(_0x44218b,_0x6ad075){const _0x4c20fc=a33_0x41c3,_0x37a8c5=_0x44218b();while(!![]){try{const _0xc60f6b=parseInt(_0x4c20fc(0x1b3))/0x1*(parseInt(_0x4c20fc(0x180))/0x2)+-parseInt(_0x4c20fc(0x1a6))/0x3*(parseInt(_0x4c20fc(0x1ad))/0x4)+parseInt(_0x4c20fc(0x16f))/0x5*(-parseInt(_0x4c20fc(0x1af))/0x6)+parseInt(_0x4c20fc(0x196))/0x7*(-parseInt(_0x4c20fc(0x19b))/0x8)+parseInt(_0x4c20fc(0x197))/0x9+-parseInt(_0x4c20fc(0x193))/0xa+-parseInt(_0x4c20fc(0x1a1))/0xb*(-parseInt(_0x4c20fc(0x19d))/0xc);if(_0xc60f6b===_0x6ad075)break;else _0x37a8c5['push'](_0x37a8c5['shift']());}catch(_0x4e11b0){_0x37a8c5['push'](_0x37a8c5['shift']());}}}(a33_0x9d0d,0x8407a));const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x49d69f(0x178)),logger=require(a33_0x49d69f(0x170))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x49d69f(0x19a)),helper=require(a33_0x49d69f(0x179)),constants=require(a33_0x49d69f(0x177)),getUserNightwatchConfigs=(_0x1b7733,_0x586c1d)=>{const _0x3a57eb=a33_0x49d69f,_0x1c17b4={'qYjBo':_0x3a57eb(0x17e),'lUWln':_0x3a57eb(0x192),'ZWiZc':function(_0x4b925c,_0x4f64e8){return _0x4b925c(_0x4f64e8);},'eEdsj':_0x3a57eb(0x1b7)};let _0x3c05e8=null,_0xe8fcd={};const _0x105590=_0x586c1d[_0x3a57eb(0x1b8)](_0x5285d1=>_0x5285d1===_0x3a57eb(0x18b));if(!helper[_0x3a57eb(0x1b6)](_0x1b7733[_0x3a57eb(0x174)])&&fs[_0x3a57eb(0x189)](path[_0x3a57eb(0x1b9)](process[_0x3a57eb(0x1b1)](),_0x1b7733['config'])))_0x3c05e8=path[_0x3a57eb(0x1b9)](process['cwd'](),_0x1b7733['config']),_0x586c1d[_0x3a57eb(0x182)](_0x105590,0x2);else{if(fs['existsSync'](path['join'](process[_0x3a57eb(0x1b1)](),_0x1c17b4[_0x3a57eb(0x17c)])))_0x3c05e8=path['join'](process['cwd'](),_0x1c17b4[_0x3a57eb(0x17c)]);else fs[_0x3a57eb(0x189)](path[_0x3a57eb(0x1b9)](process[_0x3a57eb(0x1b1)](),_0x1c17b4['lUWln']))&&(_0x3c05e8=path['join'](process['cwd'](),_0x1c17b4[_0x3a57eb(0x195)]));}return _0x3c05e8?(logger[_0x3a57eb(0x17d)](_0x3a57eb(0x1aa)+_0x3c05e8),_0xe8fcd=_0x1c17b4[_0x3a57eb(0x183)](require,_0x3c05e8)):logger[_0x3a57eb(0x17d)](_0x1c17b4['eEdsj']),_0xe8fcd;},removeExistingEnvs=_0x10feb8=>{const _0x311758=a33_0x49d69f,_0x314ad1={};_0x314ad1[_0x311758(0x18c)]=function(_0x40fcba,_0x51eac4){return _0x40fcba>_0x51eac4;},_0x314ad1[_0x311758(0x16e)]=function(_0x55bdbd,_0x53cce7){return _0x55bdbd>_0x53cce7;};const _0x16becd=_0x314ad1;let _0x158826=_0x10feb8[_0x311758(0x1b8)](_0x28753b=>_0x28753b===_0x311758(0x1b2));_0x16becd['lFiSi'](_0x158826,-0x1)&&_0x10feb8[_0x311758(0x182)](_0x158826,0x2),_0x158826=_0x10feb8[_0x311758(0x1b8)](_0x342d22=>_0x342d22==='-e'),_0x16becd[_0x311758(0x16e)](_0x158826,-0x1)&&_0x10feb8[_0x311758(0x182)](_0x158826,0x2);};function run(_0x5cef41,_0x2884c6,_0x16cc15){const _0x1b3c6e=a33_0x49d69f,_0x31c514={'LvJyf':_0x1b3c6e(0x187),'xwjCr':function(_0x317ecf,_0x5337b3){return _0x317ecf+_0x5337b3;},'LvKlJ':_0x1b3c6e(0x1a4),'BlzLR':function(_0x1d384a,_0x45614d,_0x2df241){return _0x1d384a(_0x45614d,_0x2df241);},'RQGZt':_0x1b3c6e(0x19f),'wGbVi':_0x1b3c6e(0x17a),'oSChh':function(_0x7c2b9d,_0x17b66e){return _0x7c2b9d===_0x17b66e;},'viPvX':'nightwatch-browserstack.json','GLKpX':function(_0x1a5352,_0x3c2644){return _0x1a5352(_0x3c2644);},'CKsEn':function(_0x837222,_0x4acb5a,_0x3a986b,_0x3405d8){return _0x837222(_0x4acb5a,_0x3a986b,_0x3405d8);},'uzwHf':_0x1b3c6e(0x1ac),'KAwDO':_0x1b3c6e(0x18b),'anOyy':'--env','zBusw':_0x1b3c6e(0x181),'HjbVw':_0x1b3c6e(0x17f)};if(!_0x16cc15[_0x1b3c6e(0x174)])return;const _0x51b4c4=_0x31c514[_0x1b3c6e(0x18d)](getUserNightwatchConfigs,_0x5cef41,_0x2884c6),_0x20f375={};_0x20f375['start_process']=![];const _0x550faa={};_0x550faa[_0x1b3c6e(0x173)]=_0x31c514[_0x1b3c6e(0x184)],_0x550faa[_0x1b3c6e(0x1ab)]=0x1bb;const _0x28daa1={};_0x28daa1[_0x1b3c6e(0x188)]=_0x20f375,_0x28daa1[_0x1b3c6e(0x1a5)]=_0x550faa;const _0x188528=_0x28daa1;logger[_0x1b3c6e(0x17d)](_0x31c514[_0x1b3c6e(0x1b5)]);const _0x249e5f={..._0x51b4c4},_0xa9d493=_0x249e5f,_0x368435=helper[_0x1b3c6e(0x1b0)](_0x16cc15[_0x1b3c6e(0x174)]),_0x1a33b2=[];_0x16cc15['config'][_0x1b3c6e(0x1ae)][_0x1b3c6e(0x16d)]((_0x112870,_0x5d6a9e)=>{const _0x385fb5=_0x1b3c6e;_0x368435?_0x1a33b2[_0x385fb5(0x190)](helper[_0x385fb5(0x175)](_0x16cc15[_0x385fb5(0x174)],_0x31c514[_0x385fb5(0x1a3)],_0x5d6a9e)):_0x1a33b2[_0x385fb5(0x190)](helper['modifyBrowserStackCaps'](_0x16cc15['config'],_0x31c514['LvJyf'],_0x5d6a9e));});const _0x2bdfbb={},_0x4fee44=[];_0x5cef41['env']=_0x5cef41[_0x1b3c6e(0x1a9)]||_0x5cef41['e'];const _0x36ddb5=_0x5cef41[_0x1b3c6e(0x1a9)]?_0x5cef41[_0x1b3c6e(0x1a9)][_0x1b3c6e(0x1a8)]()['split'](',')['map'](_0x219eb8=>_0x219eb8[_0x1b3c6e(0x1a8)]())[_0x1b3c6e(0x1a7)](_0x3929e4=>_0x3929e4!==''):[''];_0x31c514[_0x1b3c6e(0x194)](_0x36ddb5[_0x1b3c6e(0x17b)],0x0)&&_0x36ddb5[_0x1b3c6e(0x190)]('');_0x36ddb5[_0x1b3c6e(0x16d)](_0x36d17a=>{const _0x2543fb=_0x1b3c6e;_0x1a33b2[_0x2543fb(0x16d)](_0x401177=>{const _0x3a742c=_0x2543fb;let _0xb48c21=_0x31c514[_0x3a742c(0x185)](helper[_0x3a742c(0x172)](_0x401177,'_'),'_'+Date[_0x3a742c(0x18e)]());_0x36d17a&&(_0xb48c21+='_'+_0x36d17a);if(_0x36d17a&&(!_0x51b4c4[_0x31c514[_0x3a742c(0x19e)]]||!_0x51b4c4[_0x31c514[_0x3a742c(0x19e)]][_0x36d17a]))return;const _0x2721f6={..._0x188528};_0x2721f6[_0x3a742c(0x1a2)]=_0x401177;const _0x406f30=_0x2721f6;_0x2bdfbb[_0xb48c21]=_0x36d17a?helper['mergeDeep'](_0x51b4c4[_0x31c514[_0x3a742c(0x19e)]][_0x36d17a],_0x406f30):_0x406f30,_0x4fee44[_0x3a742c(0x190)](_0xb48c21);});});!_0xa9d493[_0x1b3c6e(0x1a4)]&&(_0xa9d493[_0x1b3c6e(0x1a4)]={});_0xa9d493[_0x1b3c6e(0x1a4)]={..._0xa9d493[_0x1b3c6e(0x1a4)],..._0x2bdfbb};const _0x307be7=path['join'](__dirname,_0x31c514[_0x1b3c6e(0x199)]);fs[_0x1b3c6e(0x176)](_0x307be7,JSON['stringify'](_0xa9d493)),_0x31c514['GLKpX'](removeExistingEnvs,_0x2884c6);const _0xbf09e7=_0x31c514['CKsEn'](spawn,/^win/['test'](process[_0x1b3c6e(0x1b4)])?_0x31c514['uzwHf']:_0x31c514[_0x1b3c6e(0x1a3)],[_0x31c514[_0x1b3c6e(0x18a)],_0x307be7,..._0x2884c6[_0x1b3c6e(0x171)](0x1),_0x31c514[_0x1b3c6e(0x198)],_0x4fee44[_0x1b3c6e(0x1b9)](',')],{'stdio':_0x31c514[_0x1b3c6e(0x1a0)]});_0xbf09e7['on'](_0x31c514['HjbVw'],async _0x114762=>{const _0x1c7ff3=_0x1b3c6e;logger[_0x1c7ff3(0x19c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x114762),logger[_0x1c7ff3(0x17d)](_0x1c7ff3(0x186)+_0x307be7),fs[_0x1c7ff3(0x191)](_0x307be7);});}function a33_0x41c3(_0x44039e,_0x2a203a){const _0x9d0d85=a33_0x9d0d();return a33_0x41c3=function(_0x41c3ff,_0xff0a2b){_0x41c3ff=_0x41c3ff-0x16d;let _0x1ac8d4=_0x9d0d85[_0x41c3ff];return _0x1ac8d4;},a33_0x41c3(_0x44039e,_0x2a203a);}module[a33_0x49d69f(0x18f)]=run;
2
+ 'use strict';const a33_0xa0fcb6=a33_0x45ed;function a33_0x1da5(){const _0x427a82=['platform','map','36798YBrsPi','now','8293638UuPfkU','slice','platforms','23sSSIcj','env','Deleting\x20','webdriver','isUndefined','length','nightwatch-browserstack.json','info','../utils/constants','stringify','existsSync','pqHIn','child\x20process\x20exited\x20with\x20code\x20','exports','UTglE','703560xJSxWl','ZqkcD','cwd','findIndex','../../helpers/logger','Getting\x20your\x20nightwatch\x20configs\x20from\x20','filter','test_settings','605HRNjyn','modifyBrowserStackW3CCaps','sjsRn','CURvS','77lnhhMa','hub.browserstack.com','desiredCapabilities','423cVxAVx','nightwatch.cmd','selenium','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','test','config','forEach','ejuJW','host','TgVfg','unlinkSync','trim','winstonLogger','child_process','7424mgXzId','writeFileSync','OjHya','mergeDeep','fxZtL','push','--config','modifyBrowserStackCaps','EPnUC','gcYdt','XlEnT','getPlatformName','--env','933112GzROBg','RmKtP','splice','join','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','34739804olFOiM','82030LaYtzY','useW3C','debug','nightwatch.json'];a33_0x1da5=function(){return _0x427a82;};return a33_0x1da5();}(function(_0x49bd04,_0x2dcc80){const _0x4e92a5=a33_0x45ed,_0x248ca8=_0x49bd04();while(!![]){try{const _0x1f6ac7=-parseInt(_0x4e92a5(0x1c2))/0x1*(-parseInt(_0x4e92a5(0x1bd))/0x2)+parseInt(_0x4e92a5(0x1d1))/0x3+-parseInt(_0x4e92a5(0x1ee))/0x4*(-parseInt(_0x4e92a5(0x1d9))/0x5)+parseInt(_0x4e92a5(0x1bf))/0x6+parseInt(_0x4e92a5(0x1dd))/0x7*(parseInt(_0x4e92a5(0x1fb))/0x8)+-parseInt(_0x4e92a5(0x1e0))/0x9*(-parseInt(_0x4e92a5(0x201))/0xa)+-parseInt(_0x4e92a5(0x200))/0xb;if(_0x1f6ac7===_0x2dcc80)break;else _0x248ca8['push'](_0x248ca8['shift']());}catch(_0x4731a0){_0x248ca8['push'](_0x248ca8['shift']());}}}(a33_0x1da5,0xbd328));function a33_0x45ed(_0x195bca,_0x210be1){const _0x1da53f=a33_0x1da5();return a33_0x45ed=function(_0x45ed72,_0x38e6a5){_0x45ed72=_0x45ed72-0x1ba;let _0xb79b2=_0x1da53f[_0x45ed72];return _0xb79b2;},a33_0x45ed(_0x195bca,_0x210be1);}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0xa0fcb6(0x1ed)),logger=require(a33_0xa0fcb6(0x1d5))[a33_0xa0fcb6(0x1ec)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a33_0xa0fcb6(0x1ca)),getUserNightwatchConfigs=(_0x209fbb,_0x4edfba)=>{const _0x1e95e9=a33_0xa0fcb6,_0x188f25={'CURvS':'nightwatch.conf.js','TgVfg':_0x1e95e9(0x1ba),'fxZtL':function(_0x49f7b4,_0x593da4){return _0x49f7b4(_0x593da4);},'UTglE':_0x1e95e9(0x1ff)};let _0xaa03fa=null,_0x34d979={};const _0x21f48c=_0x4edfba[_0x1e95e9(0x1d4)](_0x21e388=>_0x21e388==='--config');if(!helper[_0x1e95e9(0x1c6)](_0x209fbb[_0x1e95e9(0x1e5)])&&fs[_0x1e95e9(0x1cc)](path[_0x1e95e9(0x1fe)](process[_0x1e95e9(0x1d3)](),_0x209fbb[_0x1e95e9(0x1e5)])))_0xaa03fa=path['join'](process[_0x1e95e9(0x1d3)](),_0x209fbb[_0x1e95e9(0x1e5)]),_0x4edfba['splice'](_0x21f48c,0x2);else{if(fs['existsSync'](path[_0x1e95e9(0x1fe)](process[_0x1e95e9(0x1d3)](),_0x188f25['CURvS'])))_0xaa03fa=path[_0x1e95e9(0x1fe)](process['cwd'](),_0x188f25[_0x1e95e9(0x1dc)]);else fs['existsSync'](path[_0x1e95e9(0x1fe)](process['cwd'](),_0x188f25[_0x1e95e9(0x1e9)]))&&(_0xaa03fa=path[_0x1e95e9(0x1fe)](process['cwd'](),_0x188f25[_0x1e95e9(0x1e9)]));}return _0xaa03fa?(logger[_0x1e95e9(0x1c9)](_0x1e95e9(0x1d6)+_0xaa03fa),_0x34d979=_0x188f25[_0x1e95e9(0x1f2)](require,_0xaa03fa)):logger[_0x1e95e9(0x1c9)](_0x188f25[_0x1e95e9(0x1d0)]),_0x34d979;},removeExistingEnvs=_0x3fc0eb=>{const _0x1bec9d=a33_0xa0fcb6,_0x5af736={};_0x5af736[_0x1bec9d(0x1f7)]=function(_0x162d06,_0x9a79b9){return _0x162d06>_0x9a79b9;};const _0x533ec4=_0x5af736;let _0x810df0=_0x3fc0eb[_0x1bec9d(0x1d4)](_0x20f7a3=>_0x20f7a3===_0x1bec9d(0x1fa));_0x533ec4[_0x1bec9d(0x1f7)](_0x810df0,-0x1)&&_0x3fc0eb[_0x1bec9d(0x1fd)](_0x810df0,0x2),_0x810df0=_0x3fc0eb[_0x1bec9d(0x1d4)](_0x48f455=>_0x48f455==='-e'),_0x533ec4[_0x1bec9d(0x1f7)](_0x810df0,-0x1)&&_0x3fc0eb['splice'](_0x810df0,0x2);};function run(_0x36e912,_0xd835cd,_0xa50a3b){const _0x60960c=a33_0xa0fcb6,_0x4e18f5={'XlEnT':'nightwatch','ZqkcD':function(_0x181d2f,_0x16eef3){return _0x181d2f+_0x16eef3;},'ujHQW':_0x60960c(0x1d8),'EPnUC':function(_0x346231,_0x2dcc07,_0x3633f2){return _0x346231(_0x2dcc07,_0x3633f2);},'ejuJW':_0x60960c(0x1de),'sjsRn':_0x60960c(0x1e3),'ynjuS':function(_0x313cc3,_0x3c9d60){return _0x313cc3===_0x3c9d60;},'UQhPd':_0x60960c(0x1c8),'USQKU':function(_0x2fee9b,_0x5ec421){return _0x2fee9b(_0x5ec421);},'kPtpX':function(_0x20472a,_0x1f5fde,_0x47cd13,_0xf217f6){return _0x20472a(_0x1f5fde,_0x47cd13,_0xf217f6);},'NUhVs':_0x60960c(0x1e1),'leZIn':_0x60960c(0x1f4),'RmKtP':'--env','sBDLP':'inherit','pqHIn':'close'};if(!_0xa50a3b[_0x60960c(0x1e5)])return;const _0x5cb4ed=_0x4e18f5[_0x60960c(0x1f6)](getUserNightwatchConfigs,_0x36e912,_0xd835cd),_0x216745={};_0x216745['start_process']=![];const _0x5dcb4f={};_0x5dcb4f[_0x60960c(0x1e8)]=_0x4e18f5[_0x60960c(0x1e7)],_0x5dcb4f['port']=0x1bb;const _0x277759={};_0x277759[_0x60960c(0x1c5)]=_0x216745,_0x277759[_0x60960c(0x1e2)]=_0x5dcb4f;const _0x4fda84=_0x277759;logger['info'](_0x4e18f5[_0x60960c(0x1db)]);const _0x2dbc8c={..._0x5cb4ed},_0x3d7e6f=_0x2dbc8c,_0x2ddd0f=helper[_0x60960c(0x202)](_0xa50a3b[_0x60960c(0x1e5)]),_0x14dd90=[];_0xa50a3b[_0x60960c(0x1e5)][_0x60960c(0x1c1)][_0x60960c(0x1e6)]((_0x4a9fd9,_0x5af3ee)=>{const _0x5ea509=_0x60960c;_0x2ddd0f?_0x14dd90['push'](helper[_0x5ea509(0x1da)](_0xa50a3b[_0x5ea509(0x1e5)],_0x4e18f5['XlEnT'],_0x5af3ee)):_0x14dd90[_0x5ea509(0x1f3)](helper[_0x5ea509(0x1f5)](_0xa50a3b['config'],_0x4e18f5[_0x5ea509(0x1f8)],_0x5af3ee));});const _0x4e69a5={},_0x1c032f=[];_0x36e912['env']=_0x36e912[_0x60960c(0x1c3)]||_0x36e912['e'];const _0x4a855d=_0x36e912['env']?_0x36e912['env']['trim']()['split'](',')[_0x60960c(0x1bc)](_0x633b51=>_0x633b51[_0x60960c(0x1eb)]())[_0x60960c(0x1d7)](_0x13bf07=>_0x13bf07!==''):[''];_0x4e18f5['ynjuS'](_0x4a855d[_0x60960c(0x1c7)],0x0)&&_0x4a855d[_0x60960c(0x1f3)]('');_0x4a855d[_0x60960c(0x1e6)](_0x1e55b6=>{const _0x4fe7e6={'LVEUS':function(_0x2024fc,_0x14732f){const _0x5633da=a33_0x45ed;return _0x4e18f5[_0x5633da(0x1d2)](_0x2024fc,_0x14732f);},'OjHya':_0x4e18f5['ujHQW']};_0x14dd90['forEach'](_0x19ced1=>{const _0x48d842=a33_0x45ed;let _0x5f3554=_0x4fe7e6['LVEUS'](helper[_0x48d842(0x1f9)](_0x19ced1,'_'),'_'+Date[_0x48d842(0x1be)]());_0x1e55b6&&(_0x5f3554+='_'+_0x1e55b6);if(_0x1e55b6&&(!_0x5cb4ed[_0x4fe7e6[_0x48d842(0x1f0)]]||!_0x5cb4ed[_0x4fe7e6[_0x48d842(0x1f0)]][_0x1e55b6]))return;const _0x2f5986={..._0x4fda84};_0x2f5986[_0x48d842(0x1df)]=_0x19ced1;const _0x99c7d4=_0x2f5986;_0x4e69a5[_0x5f3554]=_0x1e55b6?helper[_0x48d842(0x1f1)](_0x5cb4ed[_0x4fe7e6[_0x48d842(0x1f0)]][_0x1e55b6],_0x99c7d4):_0x99c7d4,_0x1c032f[_0x48d842(0x1f3)](_0x5f3554);});});!_0x3d7e6f[_0x60960c(0x1d8)]&&(_0x3d7e6f[_0x60960c(0x1d8)]={});_0x3d7e6f[_0x60960c(0x1d8)]={..._0x3d7e6f[_0x60960c(0x1d8)],..._0x4e69a5};const _0x2f2974=path[_0x60960c(0x1fe)](__dirname,_0x4e18f5['UQhPd']);fs[_0x60960c(0x1ef)](_0x2f2974,JSON[_0x60960c(0x1cb)](_0x3d7e6f)),_0x4e18f5['USQKU'](removeExistingEnvs,_0xd835cd);const _0x521d24=_0x4e18f5['kPtpX'](spawn,/^win/[_0x60960c(0x1e4)](process[_0x60960c(0x1bb)])?_0x4e18f5['NUhVs']:_0x4e18f5[_0x60960c(0x1f8)],[_0x4e18f5['leZIn'],_0x2f2974,..._0xd835cd[_0x60960c(0x1c0)](0x1),_0x4e18f5[_0x60960c(0x1fc)],_0x1c032f[_0x60960c(0x1fe)](',')],{'stdio':_0x4e18f5['sBDLP']});_0x521d24['on'](_0x4e18f5[_0x60960c(0x1cd)],async _0x186c64=>{const _0x1866fe=_0x60960c;logger[_0x1866fe(0x203)](_0x1866fe(0x1ce)+_0x186c64),logger[_0x1866fe(0x1c9)](_0x1866fe(0x1c4)+_0x2f2974),fs[_0x1866fe(0x1ea)](_0x2f2974);});}module[a33_0xa0fcb6(0x1cf)]=run;