browserstack-node-sdk 1.33.1 → 1.33.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a27_0x2a9efe=a27_0x5597;function a27_0x5597(_0x435e93,_0x2a1760){const _0x3b55f1=a27_0x3b55();return a27_0x5597=function(_0x559739,_0x5e762b){_0x559739=_0x559739-0x177;let _0x378d69=_0x3b55f1[_0x559739];return _0x378d69;},a27_0x5597(_0x435e93,_0x2a1760);}function a27_0x3b55(){const _0x54d28a=['proxy_','WQxVN','moz:firefoxOptions','HttpClient','mSlYR','isBrowserstackInfra','../../../helpers/helper','getAccessibilityResults','lEQdw','proxySettings','capability','then','../../../bin/utils/constants','dIazM','vbdOP','debug','ieOptions_','getGlobal','dmgpS','__setBrowserOptions','setGlobal','VYuUc','build','315996mqLtky','storeOptimalHubUrl','overrideGet','proxyUrl','ktRNj','path','aUkHA','MqwUa','firefoxOptions_','Proxy\x20set\x20to\x20','push','se:ieOptions','3241CTxkFE','../../../hubAllocationMethods','704868bmJmwd','setLogLevel','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','BYzPd','exports','6096wSfRwV','send','HGmJp','quitCount_','__driversArray','requireHttpClient','object','kiJxv','set','2925RVgssO','vyAxD','getAccessibilityResultsSummary','mergeDeep','bmkmA','Setting\x20Browserstack\x20capabilities','isAccessibilityPlatform','safariOptions_','cpCmN','KaWkd','url_','agent_','148310zZTBlx','773658cHREfy','lfrxH','edgeOptions_','YfFqy','capabilities_','../../../helpers/logger','browserstackAgentObservability','4974xzBNmn','get','setServer','winstonLogger','GwUYk','eBfbA','BVBox','getHttpAgent','Builder','nxnxB','info','ieOptions','edgeOptions','getRequestOptions','updateHubUrl','/session','safari.options','3932210QpScch','overrideExecute','ms:edgeOptions','TXkpf','requireSeleniumWebdriver','originalBuilder','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','split','8fSpYzm','ToTJy','goog:chromeOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','../../../helpers/patchHelpers','isUndefined','chromeOptions_','__drivers','gBpWj','session_','__driver','global','options_','newHubUrl','CAPABILITY_KEY','ndbDp','https://','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'];a27_0x3b55=function(){return _0x54d28a;};return a27_0x3b55();}(function(_0x459ced,_0x37d54f){const _0x156089=a27_0x5597,_0x3ba1b7=_0x459ced();while(!![]){try{const _0x4b4c30=parseInt(_0x156089(0x1aa))/0x1+parseInt(_0x156089(0x1d3))/0x2+-parseInt(_0x156089(0x1b8))/0x3+-parseInt(_0x156089(0x181))/0x4*(-parseInt(_0x156089(0x1d2))/0x5)+-parseInt(_0x156089(0x1da))/0x6*(parseInt(_0x156089(0x1b6))/0x7)+-parseInt(_0x156089(0x1bd))/0x8*(parseInt(_0x156089(0x1c6))/0x9)+parseInt(_0x156089(0x179))/0xa;if(_0x4b4c30===_0x37d54f)break;else _0x3ba1b7['push'](_0x3ba1b7['shift']());}catch(_0x51b341){_0x3ba1b7['push'](_0x3ba1b7['shift']());}}}(a27_0x3b55,0x468a9));const logger=require(a27_0x2a9efe(0x1d8))[a27_0x2a9efe(0x1dd)],helper=require(a27_0x2a9efe(0x199)),constants=require(a27_0x2a9efe(0x19f)),hubAllocator=require(a27_0x2a9efe(0x1b7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x2a9efe(0x185)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0xa2755,_0x227bd7=null,_0x424e95=![])=>{const _0x85041c=a27_0x2a9efe,_0x52607e={'vyAxD':function(_0x567964,_0xadadb0){return _0x567964!==_0xadadb0;},'lEQdw':_0x85041c(0x177),'vCnJN':function(_0x8f3aa5,_0x2ba44b){return _0x8f3aa5!==_0x2ba44b;},'dIazM':function(_0x4a352e,_0x30ad37){return _0x4a352e+_0x30ad37;},'bmkmA':_0x85041c(0x191),'aXIgw':'/wd/hub','gBpWj':_0x85041c(0x183),'MqwUa':'chromeOptions','eBfbA':_0x85041c(0x17b),'IYuWD':_0x85041c(0x1e6),'ktRNj':_0x85041c(0x195),'TXkpf':'firefoxOptions','cpCmN':_0x85041c(0x178),'VYuUc':_0x85041c(0x1b5),'vbdOP':_0x85041c(0x1e5),'cuZpw':function(_0x5b12fd,_0x4813c2){return _0x5b12fd===_0x4813c2;},'kiJxv':_0x85041c(0x1c3),'ReIIN':_0x85041c(0x1cb),'KaWkd':function(_0x1dc35a,_0x533e48,_0x4189a6){return _0x1dc35a(_0x533e48,_0x4189a6);},'dmgpS':function(_0x40c817,_0x26c804,_0x4005d5){return _0x40c817(_0x26c804,_0x4005d5);},'WQxVN':function(_0x2a0800,_0x4c564e){return _0x2a0800(_0x4c564e);},'BYzPd':'optimalHubUrl','HBowE':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','OBezy':function(_0x11c210,_0xc50b69,_0x1c2f1d){return _0x11c210(_0xc50b69,_0x1c2f1d);},'mSlYR':'0|1|5|4|2|3','jkSqP':function(_0x8fc93){return _0x8fc93();},'YfFqy':function(_0x449735,_0x39889b){return _0x449735(_0x39889b);},'lfrxH':_0x85041c(0x1cc),'ndbDp':function(_0x35a164,_0x25c537,_0x5841d1){return _0x35a164(_0x25c537,_0x5841d1);},'AIWQS':_0x85041c(0x1ba),'dygPQ':_0x85041c(0x17f),'GwUYk':'Modifying\x20webdriver\x20builder'},_0x4e6194=helper[_0x85041c(0x1c2)]();let _0x1bc56f;try{_0x1bc56f=helper[_0x85041c(0x17d)](),_0x1bc56f[_0x85041c(0x17e)]&&(_0x1bc56f[_0x85041c(0x1e2)]=_0x1bc56f[_0x85041c(0x17e)]);}catch(_0x4244d7){return;}if(helper[_0x85041c(0x198)]()){const _0x1cae94={};_0x1cae94['logLevel']=_0xa2755['browserStackLogLevel'],helper[_0x85041c(0x1b9)](_0x1cae94,new Map(),new Map()),logger[_0x85041c(0x1e4)](_0x52607e['dygPQ']),logger['debug'](_0x52607e[_0x85041c(0x1de)]);}class _0x45eb41 extends _0x4e6194[_0x85041c(0x196)]{[_0x85041c(0x1be)](_0x597122){const _0x1da720=_0x85041c;if(_0x52607e['vyAxD'](_0x597122[_0x1da720(0x1af)],_0x52607e[_0x1da720(0x19b)])&&_0x52607e['vCnJN'](global['newHubUrl'],''))try{global[_0x1da720(0x18e)]=_0x52607e[_0x1da720(0x1a0)](_0x52607e[_0x1da720(0x1a0)](_0x52607e[_0x1da720(0x1ca)],global[_0x1da720(0x18e)]),_0x52607e['aXIgw']),this[_0x1da720(0x18d)]=hubAllocator[_0x1da720(0x1e7)](global[_0x1da720(0x18e)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x1da720(0x18e)]='';}catch(_0x339d37){logger['error'](_0x339d37);}return super[_0x1da720(0x1be)](_0x597122);}}class _0x305eac extends _0x1bc56f[_0x85041c(0x1e2)]{[_0x85041c(0x1dc)](){const _0x5c0673=_0x85041c;return this[_0x5c0673(0x1d0)]=helper['getHubUrl'](_0xa2755),logger[_0x5c0673(0x1a2)]('Hub\x20url\x20set\x20to\x20'+this[_0x5c0673(0x1d0)]),this;}['__setBrowserOptions'](_0x4a1066){const _0x328788=_0x85041c;let _0x1b767c={};for(const _0x2b5de3 in _0x4a1066){switch(_0x2b5de3){case _0x52607e[_0x328788(0x189)]:case _0x52607e[_0x328788(0x1b1)]:this['chromeOptions_']&&(_0x1b767c=this[_0x328788(0x187)][_0x328788(0x1db)](this['chromeOptions_'][_0x328788(0x18f)])||{},this[_0x328788(0x187)][_0x328788(0x1c5)](this[_0x328788(0x187)][_0x328788(0x18f)],helper[_0x328788(0x1c9)](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1df)]:case _0x52607e['IYuWD']:this[_0x328788(0x1d5)]&&(_0x1b767c=this[_0x328788(0x1d5)][_0x328788(0x1db)](this[_0x328788(0x1d5)][_0x328788(0x18f)])||{},this[_0x328788(0x1d5)]['set'](this[_0x328788(0x1d5)][_0x328788(0x18f)],helper[_0x328788(0x1c9)](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1ae)]:case _0x52607e[_0x328788(0x17c)]:this['firefoxOptions_']&&(_0x1b767c=this['firefoxOptions_'][_0x328788(0x1db)](this[_0x328788(0x1b2)][_0x328788(0x18f)])||{},this[_0x328788(0x1b2)][_0x328788(0x1c5)](this['firefoxOptions_'][_0x328788(0x18f)],helper[_0x328788(0x1c9)](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1ce)]:this['safariOptions_']&&(_0x1b767c=this[_0x328788(0x1cd)][_0x328788(0x1db)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x328788(0x1cd)][_0x328788(0x1c5)](this[_0x328788(0x1cd)][_0x328788(0x18f)],helper['mergeDeep'](_0x1b767c,_0x4a1066[_0x2b5de3])));break;case _0x52607e[_0x328788(0x1a8)]:case _0x52607e[_0x328788(0x1a1)]:this[_0x328788(0x1a3)]&&(_0x1b767c=this['ieOptions_']['get'](this[_0x328788(0x1a3)][_0x328788(0x18f)])||{},this['ieOptions_'][_0x328788(0x1c5)](this[_0x328788(0x1a3)][_0x328788(0x18f)],helper['mergeDeep'](_0x1b767c,_0x4a1066[_0x2b5de3])));break;}}}['setCapabilities'](){const _0x955c4d=_0x85041c,_0x179cde={'HGmJp':function(_0x37503f,_0x2d59b6){return _0x52607e['cuZpw'](_0x37503f,_0x2d59b6);},'BVBox':_0x52607e[_0x955c4d(0x1c4)]};return logger[_0x955c4d(0x1a2)](_0x52607e['ReIIN']),this[_0x955c4d(0x1a6)](_0xa2755[_0x955c4d(0x19d)]),Object['keys'](_0xa2755[_0x955c4d(0x19d)])['forEach'](_0x405877=>{const _0x3fb721=_0x955c4d,_0x998be2=this['capabilities_']['get'](_0x405877);_0x179cde[_0x3fb721(0x1bf)](typeof _0x998be2,_0x179cde[_0x3fb721(0x1e0)])?this['capabilities_'][_0x3fb721(0x1c5)](_0x405877,helper[_0x3fb721(0x1c9)](_0x998be2,_0xa2755[_0x3fb721(0x19d)][_0x405877])):this[_0x3fb721(0x1d7)][_0x3fb721(0x1c5)](_0x405877,_0xa2755['capability'][_0x405877]);}),this;}[_0x85041c(0x1a9)](){const _0x238d26=_0x85041c,_0xae8ee5={'nxnxB':_0x52607e[_0x238d26(0x1bb)],'aUkHA':_0x52607e['HBowE'],'ToTJy':function(_0x529dcc,_0x2afe18,_0xcad1ec){return _0x52607e['OBezy'](_0x529dcc,_0x2afe18,_0xcad1ec);}};if(helper[_0x238d26(0x198)]()){const _0x38a6b9=_0x52607e[_0x238d26(0x197)][_0x238d26(0x180)]('|');let _0x257827=0x0;while(!![]){switch(_0x38a6b9[_0x257827++]){case'0':_0x52607e['jkSqP'](isAccessibilityAutomationSession)&&_0x52607e[_0x238d26(0x1d6)](setAccessibilityCapabilities,_0xa2755);continue;case'1':this[_0x238d26(0x1dc)]();continue;case'2':globals[_0x238d26(0x1a4)](_0x52607e[_0x238d26(0x1d4)])&&(!_0x52607e[_0x238d26(0x190)](setExtension,this,_0xa2755)&&globals[_0x238d26(0x1a7)](_0x52607e['lfrxH'],![]));continue;case'3':logger[_0x238d26(0x1a2)](_0x52607e['AIWQS']);continue;case'4':if(helper['isPacProxy'](_0xa2755[_0x238d26(0x19c)][_0x238d26(0x1ad)]))this[_0x238d26(0x1d1)]=helper[_0x238d26(0x1e1)](_0xa2755[_0x238d26(0x19c)][_0x238d26(0x1ad)]);else _0xa2755[_0x238d26(0x19c)][_0x238d26(0x1ad)]&&(this[_0x238d26(0x193)]=_0xa2755['proxySettings']['proxyUrl'],logger[_0x238d26(0x1a2)](_0x238d26(0x1b3)+this[_0x238d26(0x193)]));continue;case'5':this['setCapabilities']();continue;}break;}}const _0xad9292=super[_0x238d26(0x1a9)]();return _0xad9292[_0x238d26(0x18a)]['then'](_0x5ccbea=>{const _0x17937d=_0x238d26;try{const _0x45d61d=_0x5ccbea['caps_'][_0x17937d(0x1db)](_0xae8ee5[_0x17937d(0x1e3)]);_0x45d61d?(logger['debug'](_0x17937d(0x192)+_0x45d61d),hubAllocator[_0x17937d(0x1e8)](_0x45d61d),helper[_0x17937d(0x1ab)](_0x45d61d)):logger['debug'](_0xae8ee5[_0x17937d(0x1b0)]);}catch(_0x118d2f){logger[_0x17937d(0x1a2)](_0x17937d(0x184)+_0x118d2f);}}),_0xad9292[_0x238d26(0x1c0)]=0x0,_0xad9292[_0x238d26(0x19e)]&&_0xad9292[_0x238d26(0x19e)](_0x9a3eb7=>{const _0xa1179c=_0x238d26,_0x2f615d={'FsqVy':function(_0x1571eb,_0x563032,_0xb416f8){const _0x2c060f=a27_0x5597;return _0x52607e[_0x2c060f(0x1cf)](_0x1571eb,_0x563032,_0xb416f8);}};_0x52607e[_0xa1179c(0x1a5)](overrideQuit,_0x9a3eb7,_0xad9292),_0x52607e[_0xa1179c(0x194)](overrideTakeScreenshot,_0x9a3eb7),helper[_0xa1179c(0x1ac)](_0x9a3eb7,_0xa2755),helper[_0xa1179c(0x17a)](_0x9a3eb7,_0xa2755),_0x9a3eb7[_0xa1179c(0x1c8)]=async()=>{const _0x591688=_0xa1179c;return await _0xae8ee5[_0x591688(0x182)](getAccessibilityResultsSummary,_0x9a3eb7,global);},_0x9a3eb7['getAccessibilityResults']=async()=>{return await _0x2f615d['FsqVy'](getAccessibilityResults,_0x9a3eb7,global);};}),_0xad9292[_0x238d26(0x1c8)]=async()=>{return await _0xae8ee5['ToTJy'](getAccessibilityResultsSummary,_0xad9292,global);},_0xad9292[_0x238d26(0x19a)]=async()=>{const _0x23611a=_0x238d26;return await _0xae8ee5[_0x23611a(0x182)](getAccessibilityResults,_0xad9292,global);},_0x52607e[_0x238d26(0x1d6)](overrideTakeScreenshot,_0xad9292),_0x52607e[_0x238d26(0x194)](overrideQuit,_0xad9292),helper[_0x238d26(0x1ac)](_0xad9292,_0xa2755),helper[_0x238d26(0x17a)](_0xad9292,_0xa2755),helper[_0x238d26(0x186)](global['__driversArray'])&&(global[_0x238d26(0x1c1)]=[]),helper['isUndefined'](global[_0x238d26(0x188)])&&(global[_0x238d26(0x188)]=[]),global[_0x238d26(0x1c1)]['push'](_0xad9292),global[_0x238d26(0x18b)]=_0xad9292,_0x52607e[_0x238d26(0x1c7)](global['__drivers'],undefined)&&global['__drivers'][_0x238d26(0x1b4)](_0xad9292),_0x227bd7&&helper[_0x238d26(0x186)](_0x227bd7[_0x238d26(0x18c)][_0x238d26(0x1c1)])&&(_0x227bd7[_0x238d26(0x18c)][_0x238d26(0x1c1)]=[]),_0x227bd7&&_0x52607e['vCnJN'](_0x227bd7[_0x238d26(0x18c)]['__drivers'],undefined)&&(_0x227bd7['global'][_0x238d26(0x188)][_0x238d26(0x1b4)](_0xad9292),_0x227bd7['global'][_0x238d26(0x1c1)]['push'](_0xad9292)),_0xad9292;}}return _0x1bc56f['originalBuilder']=_0x1bc56f[_0x85041c(0x1e2)],_0x1bc56f['Builder']=_0x305eac,_0x4e6194[_0x85041c(0x196)]=_0x45eb41,_0x1bc56f;};module[a27_0x2a9efe(0x1bc)][a27_0x2a9efe(0x1d9)]=modify;
1
+ function a27_0x5b0e(_0x263bdb,_0x187bbb){const _0x23199c=a27_0x2319();return a27_0x5b0e=function(_0x5b0e64,_0x11c6a6){_0x5b0e64=_0x5b0e64-0x10b;let _0x485a9b=_0x23199c[_0x5b0e64];return _0x485a9b;},a27_0x5b0e(_0x263bdb,_0x187bbb);}const a27_0x2cb701=a27_0x5b0e;(function(_0x4c6e08,_0x41bd55){const _0x2435a2=a27_0x5b0e,_0x477e03=_0x4c6e08();while(!![]){try{const _0x4070cb=-parseInt(_0x2435a2(0x16f))/0x1+-parseInt(_0x2435a2(0x118))/0x2+-parseInt(_0x2435a2(0x184))/0x3+parseInt(_0x2435a2(0x151))/0x4*(-parseInt(_0x2435a2(0x162))/0x5)+-parseInt(_0x2435a2(0x132))/0x6*(parseInt(_0x2435a2(0x170))/0x7)+-parseInt(_0x2435a2(0x136))/0x8*(-parseInt(_0x2435a2(0x17a))/0x9)+parseInt(_0x2435a2(0x168))/0xa;if(_0x4070cb===_0x41bd55)break;else _0x477e03['push'](_0x477e03['shift']());}catch(_0x511a28){_0x477e03['push'](_0x477e03['shift']());}}}(a27_0x2319,0xd77c6));function a27_0x2319(){const _0x5bf8cb=['https://','originalBuilder','ms:edgeOptions','debug','3|4|1|2|0|5','../../../helpers/helper','55krFcyb','HttpClient','CCCzc','setCapabilities','edgeOptions_','Proxy\x20set\x20to\x20','60207670bwXHMb','KXrPZ','tsKPe','../../../helpers/patchHelpers','isAccessibilityPlatform','Modifying\x20webdriver\x20builder','quitCount_','1117844XlpaUt','161fTTaLg','../../../helpers/accessibility-automation/helper','qVFEE','__setBrowserOptions','SQlPh','sGTJR','send','NlBLn','safariOptions_','../../../hubAllocationMethods','684ePcNmL','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getGlobal','New\x20hub\x20url\x20set\x20to\x20','overrideExecute','overrideGet','set','error','build','firefoxOptions','4585977dsZcnC','AUtcM','url_','KNcQQ','HBEHX','se:ieOptions','../../../helpers/logger','/session','isUndefined','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','setLogLevel','UDXoY','__driversArray','push','OzpHg','Builder','object','746918EXMeLu','xeGIE','path','ZbyyQ','capability','getAccessibilityResults','/wd/hub','tmsun','proxyUrl','TUMCM','ezsKn','edgeOptions','then','UzvFJ','../../../helpers/globals','capabilities_','ieOptions','requireHttpClient','getHttpAgent','getRequestOptions','forEach','mergeDeep','goog:chromeOptions','nvkTl','rNdJo','RMTtH','270966dOfKex','__drivers','../accessibility-automation/helper','updateHubUrl','36328LsjujV','chromeOptions','safari.options','proxySettings','zjMgp','global','IxZDy','newHubUrl','chromeOptions_','Alrsl','getHubUrl','LVBWc','ieOptions_','proxy_','setServer','isBrowserstackInfra','Hub\x20url\x20set\x20to\x20','__driver','options_','CAPABILITY_KEY','uyCgm','get','vNJzc','browserstackAgentObservability','getAccessibilityResultsSummary','browserStackLogLevel','ogvgJ','518032jjupYz','info','winstonLogger','firefoxOptions_','rPQaA','XjUoI','JLcPu','../../../bin/utils/constants','Setting\x20Browserstack\x20capabilities','HRpzY','VMvCY'];a27_0x2319=function(){return _0x5bf8cb;};return a27_0x2319();}const logger=require(a27_0x2cb701(0x10d))[a27_0x2cb701(0x153)],helper=require(a27_0x2cb701(0x161)),constants=require(a27_0x2cb701(0x158)),hubAllocator=require(a27_0x2cb701(0x179)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x2cb701(0x16b)),{setAccessibilityCapabilities,setExtension}=require(a27_0x2cb701(0x134)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x2cb701(0x171)),globals=require(a27_0x2cb701(0x126)),modify=(_0xd1d7e6,_0x3fdce9=null,_0x38585d=![])=>{const _0x19d6e8=a27_0x2cb701,_0x29b113={'ojrrk':function(_0x41e2c9,_0x41148e){return _0x41e2c9!==_0x41148e;},'rYigv':_0x19d6e8(0x10e),'CCCzc':function(_0x56f894,_0xe0f942){return _0x56f894!==_0xe0f942;},'UDXoY':function(_0x38b6da,_0x2530f2){return _0x38b6da+_0x2530f2;},'uyCgm':function(_0x3f4c43,_0x6017c3){return _0x3f4c43+_0x6017c3;},'tpdDm':_0x19d6e8(0x15c),'IxZDy':_0x19d6e8(0x11e),'OzpHg':_0x19d6e8(0x12e),'ZbyyQ':_0x19d6e8(0x137),'ezsKn':_0x19d6e8(0x15e),'HBEHX':_0x19d6e8(0x123),'xeGIE':'moz:firefoxOptions','KNcQQ':_0x19d6e8(0x183),'SQlPh':_0x19d6e8(0x138),'KXrPZ':_0x19d6e8(0x10c),'UzvFJ':_0x19d6e8(0x128),'rNdJo':function(_0xebc9a1,_0x66f841){return _0xebc9a1===_0x66f841;},'HRpzY':_0x19d6e8(0x117),'qVFEE':_0x19d6e8(0x159),'NlBLn':function(_0x3ee7f2,_0x385a9e,_0x5273d3){return _0x3ee7f2(_0x385a9e,_0x5273d3);},'ogvgJ':'optimalHubUrl','tsKPe':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','rPQaA':function(_0x5300f2,_0x2624d8){return _0x5300f2(_0x2624d8);},'RMTtH':_0x19d6e8(0x160),'zjMgp':_0x19d6e8(0x16c),'JLcPu':function(_0x2a51b7,_0x544c57,_0x78ac55){return _0x2a51b7(_0x544c57,_0x78ac55);},'trtlo':function(_0xfc26dd){return _0xfc26dd();},'nvkTl':function(_0x266311,_0x2eafcf){return _0x266311(_0x2eafcf);},'Alrsl':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','SQymF':function(_0x4aa0b5,_0x443121){return _0x4aa0b5(_0x443121);},'AUtcM':function(_0x5b735d,_0x71e3fb){return _0x5b735d!==_0x71e3fb;},'LVBWc':function(_0x348fd8,_0xd32504){return _0x348fd8!==_0xd32504;},'VNMKs':_0x19d6e8(0x110),'XjUoI':_0x19d6e8(0x16d)},_0x2b246a=helper[_0x19d6e8(0x129)]();let _0x3377b0;try{_0x3377b0=helper['requireSeleniumWebdriver'](),_0x3377b0[_0x19d6e8(0x15d)]&&(_0x3377b0[_0x19d6e8(0x116)]=_0x3377b0[_0x19d6e8(0x15d)]);}catch(_0xb134ee){return;}if(helper[_0x19d6e8(0x145)]()){const _0xbab307={};_0xbab307['logLevel']=_0xd1d7e6[_0x19d6e8(0x14f)],helper[_0x19d6e8(0x111)](_0xbab307,new Map(),new Map()),logger[_0x19d6e8(0x152)](_0x29b113['VNMKs']),logger[_0x19d6e8(0x15f)](_0x29b113[_0x19d6e8(0x156)]);}class _0x20266c extends _0x2b246a[_0x19d6e8(0x163)]{[_0x19d6e8(0x176)](_0x52e86b){const _0x5b131a=_0x19d6e8;if(_0x29b113['ojrrk'](_0x52e86b[_0x5b131a(0x11a)],_0x29b113['rYigv'])&&_0x29b113[_0x5b131a(0x164)](global['newHubUrl'],''))try{global[_0x5b131a(0x13d)]=_0x29b113[_0x5b131a(0x112)](_0x29b113[_0x5b131a(0x14a)](_0x29b113['tpdDm'],global['newHubUrl']),_0x29b113[_0x5b131a(0x13c)]),this[_0x5b131a(0x148)]=hubAllocator[_0x5b131a(0x12b)](global[_0x5b131a(0x13d)]),logger[_0x5b131a(0x15f)](_0x5b131a(0x17d)+global[_0x5b131a(0x13d)]),global[_0x5b131a(0x13d)]='';}catch(_0xc957f3){logger[_0x5b131a(0x181)](_0xc957f3);}return super[_0x5b131a(0x176)](_0x52e86b);}}class _0x1abb96 extends _0x3377b0[_0x19d6e8(0x116)]{[_0x19d6e8(0x144)](){const _0x2b0c4e=_0x19d6e8;return this[_0x2b0c4e(0x186)]=helper[_0x2b0c4e(0x140)](_0xd1d7e6),logger[_0x2b0c4e(0x15f)](_0x2b0c4e(0x146)+this['url_']),this;}['__setBrowserOptions'](_0x43e7f2){const _0x5c08b4=_0x19d6e8;let _0x119b18={};for(const _0x1a29bf in _0x43e7f2){switch(_0x1a29bf){case _0x29b113[_0x5c08b4(0x115)]:case _0x29b113[_0x5c08b4(0x11b)]:this[_0x5c08b4(0x13e)]&&(_0x119b18=this['chromeOptions_']['get'](this[_0x5c08b4(0x13e)][_0x5c08b4(0x149)])||{},this[_0x5c08b4(0x13e)][_0x5c08b4(0x180)](this[_0x5c08b4(0x13e)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x122)]:case _0x29b113[_0x5c08b4(0x10b)]:this[_0x5c08b4(0x166)]&&(_0x119b18=this[_0x5c08b4(0x166)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x166)][_0x5c08b4(0x149)])||{},this['edgeOptions_'][_0x5c08b4(0x180)](this[_0x5c08b4(0x166)]['CAPABILITY_KEY'],helper[_0x5c08b4(0x12d)](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x119)]:case _0x29b113[_0x5c08b4(0x187)]:this[_0x5c08b4(0x154)]&&(_0x119b18=this[_0x5c08b4(0x154)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x154)][_0x5c08b4(0x149)])||{},this[_0x5c08b4(0x154)][_0x5c08b4(0x180)](this[_0x5c08b4(0x154)][_0x5c08b4(0x149)],helper[_0x5c08b4(0x12d)](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x174)]:this[_0x5c08b4(0x178)]&&(_0x119b18=this[_0x5c08b4(0x178)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x178)][_0x5c08b4(0x149)])||{},this[_0x5c08b4(0x178)]['set'](this[_0x5c08b4(0x178)][_0x5c08b4(0x149)],helper['mergeDeep'](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x169)]:case _0x29b113[_0x5c08b4(0x125)]:this[_0x5c08b4(0x142)]&&(_0x119b18=this[_0x5c08b4(0x142)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x142)]['CAPABILITY_KEY'])||{},this[_0x5c08b4(0x142)][_0x5c08b4(0x180)](this[_0x5c08b4(0x142)][_0x5c08b4(0x149)],helper[_0x5c08b4(0x12d)](_0x119b18,_0x43e7f2[_0x1a29bf])));break;}}}['setCapabilities'](){const _0x5f46fb=_0x19d6e8,_0x2e1126={'TRGKN':function(_0x1be800,_0x323016){const _0x14a0c4=a27_0x5b0e;return _0x29b113[_0x14a0c4(0x130)](_0x1be800,_0x323016);},'vNJzc':_0x29b113[_0x5f46fb(0x15a)]};return logger[_0x5f46fb(0x15f)](_0x29b113[_0x5f46fb(0x172)]),this[_0x5f46fb(0x173)](_0xd1d7e6[_0x5f46fb(0x11c)]),Object['keys'](_0xd1d7e6[_0x5f46fb(0x11c)])[_0x5f46fb(0x12c)](_0x21d2b9=>{const _0x9fc407=_0x5f46fb,_0x505fd2=this[_0x9fc407(0x127)][_0x9fc407(0x14b)](_0x21d2b9);_0x2e1126['TRGKN'](typeof _0x505fd2,_0x2e1126[_0x9fc407(0x14c)])?this[_0x9fc407(0x127)]['set'](_0x21d2b9,helper[_0x9fc407(0x12d)](_0x505fd2,_0xd1d7e6['capability'][_0x21d2b9])):this[_0x9fc407(0x127)]['set'](_0x21d2b9,_0xd1d7e6[_0x9fc407(0x11c)][_0x21d2b9]);}),this;}[_0x19d6e8(0x182)](){const _0xb70109=_0x19d6e8,_0x25c019={'sGTJR':_0x29b113[_0xb70109(0x150)],'BnnpJ':_0x29b113[_0xb70109(0x16a)],'VMvCY':function(_0x5d421a,_0x28cc72,_0x467e13){const _0x17cedc=_0xb70109;return _0x29b113[_0x17cedc(0x177)](_0x5d421a,_0x28cc72,_0x467e13);},'tmsun':function(_0x557c87,_0x4ef912){const _0x105aac=_0xb70109;return _0x29b113[_0x105aac(0x155)](_0x557c87,_0x4ef912);}};if(helper[_0xb70109(0x145)]()){const _0xebff1f=_0x29b113[_0xb70109(0x131)]['split']('|');let _0x304c98=0x0;while(!![]){switch(_0xebff1f[_0x304c98++]){case'0':globals[_0xb70109(0x17c)](_0x29b113[_0xb70109(0x13a)])&&(!_0x29b113[_0xb70109(0x157)](setExtension,this,_0xd1d7e6)&&globals['setGlobal'](_0x29b113[_0xb70109(0x13a)],![]));continue;case'1':this[_0xb70109(0x165)]();continue;case'2':if(helper['isPacProxy'](_0xd1d7e6['proxySettings'][_0xb70109(0x120)]))this['agent_']=helper[_0xb70109(0x12a)](_0xd1d7e6[_0xb70109(0x139)][_0xb70109(0x120)]);else _0xd1d7e6[_0xb70109(0x139)][_0xb70109(0x120)]&&(this[_0xb70109(0x143)]=_0xd1d7e6['proxySettings']['proxyUrl'],logger['debug'](_0xb70109(0x167)+this[_0xb70109(0x143)]));continue;case'3':_0x29b113['trtlo'](isAccessibilityAutomationSession)&&_0x29b113[_0xb70109(0x12f)](setAccessibilityCapabilities,_0xd1d7e6);continue;case'4':this['setServer']();continue;case'5':logger['debug'](_0x29b113[_0xb70109(0x13f)]);continue;}break;}}const _0x2b5e88=super['build']();return _0x2b5e88['session_'][_0xb70109(0x124)](_0x48c859=>{const _0x17e619=_0xb70109;try{const _0x590e25=_0x48c859['caps_'][_0x17e619(0x14b)](_0x25c019[_0x17e619(0x175)]);_0x590e25?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x590e25),hubAllocator[_0x17e619(0x135)](_0x590e25),helper['storeOptimalHubUrl'](_0x590e25)):logger['debug'](_0x25c019['BnnpJ']);}catch(_0x5456ae){logger[_0x17e619(0x15f)](_0x17e619(0x17b)+_0x5456ae);}}),_0x2b5e88[_0xb70109(0x16e)]=0x0,_0x2b5e88[_0xb70109(0x124)]&&_0x2b5e88[_0xb70109(0x124)](_0x2a4178=>{const _0x19402f=_0xb70109,_0x923e7a={'TUMCM':function(_0x57fbfa,_0x50817b,_0x4bd942){const _0x3b96f4=a27_0x5b0e;return _0x25c019[_0x3b96f4(0x15b)](_0x57fbfa,_0x50817b,_0x4bd942);}};_0x25c019[_0x19402f(0x15b)](overrideQuit,_0x2a4178,_0x2b5e88),_0x25c019[_0x19402f(0x11f)](overrideTakeScreenshot,_0x2a4178),helper['overrideGet'](_0x2a4178,_0xd1d7e6),helper[_0x19402f(0x17e)](_0x2a4178,_0xd1d7e6),_0x2a4178['getAccessibilityResultsSummary']=async()=>{const _0x1af360=_0x19402f;return await _0x25c019[_0x1af360(0x15b)](getAccessibilityResultsSummary,_0x2a4178,global);},_0x2a4178[_0x19402f(0x11d)]=async()=>{const _0x3aeb55=_0x19402f;return await _0x923e7a[_0x3aeb55(0x121)](getAccessibilityResults,_0x2a4178,global);};}),_0x2b5e88[_0xb70109(0x14e)]=async()=>{return await _0x29b113['NlBLn'](getAccessibilityResultsSummary,_0x2b5e88,global);},_0x2b5e88['getAccessibilityResults']=async()=>{const _0x2a52e7=_0xb70109;return await _0x29b113[_0x2a52e7(0x177)](getAccessibilityResults,_0x2b5e88,global);},_0x29b113['SQymF'](overrideTakeScreenshot,_0x2b5e88),_0x29b113['SQymF'](overrideQuit,_0x2b5e88),helper[_0xb70109(0x17f)](_0x2b5e88,_0xd1d7e6),helper['overrideExecute'](_0x2b5e88,_0xd1d7e6),helper[_0xb70109(0x10f)](global[_0xb70109(0x113)])&&(global['__driversArray']=[]),helper[_0xb70109(0x10f)](global['__drivers'])&&(global['__drivers']=[]),global[_0xb70109(0x113)][_0xb70109(0x114)](_0x2b5e88),global[_0xb70109(0x147)]=_0x2b5e88,_0x29b113[_0xb70109(0x185)](global[_0xb70109(0x133)],undefined)&&global[_0xb70109(0x133)][_0xb70109(0x114)](_0x2b5e88),_0x3fdce9&&helper[_0xb70109(0x10f)](_0x3fdce9[_0xb70109(0x13b)]['__driversArray'])&&(_0x3fdce9[_0xb70109(0x13b)][_0xb70109(0x113)]=[]),_0x3fdce9&&_0x29b113[_0xb70109(0x141)](_0x3fdce9['global'][_0xb70109(0x133)],undefined)&&(_0x3fdce9[_0xb70109(0x13b)][_0xb70109(0x133)]['push'](_0x2b5e88),_0x3fdce9[_0xb70109(0x13b)][_0xb70109(0x113)][_0xb70109(0x114)](_0x2b5e88)),_0x2b5e88;}}return _0x3377b0[_0x19d6e8(0x15d)]=_0x3377b0[_0x19d6e8(0x116)],_0x3377b0[_0x19d6e8(0x116)]=_0x1abb96,_0x2b246a[_0x19d6e8(0x163)]=_0x20266c,_0x3377b0;};module['exports'][a27_0x2cb701(0x14d)]=modify;
@@ -1 +1 @@
1
- const a28_0x20fa54=a28_0x4476;(function(_0x344dc5,_0x3ec5c5){const _0x13252b=a28_0x4476,_0x59214b=_0x344dc5();while(!![]){try{const _0x5a3d55=-parseInt(_0x13252b(0x164))/0x1+-parseInt(_0x13252b(0x158))/0x2*(-parseInt(_0x13252b(0x160))/0x3)+parseInt(_0x13252b(0x161))/0x4*(-parseInt(_0x13252b(0x15a))/0x5)+-parseInt(_0x13252b(0x165))/0x6*(-parseInt(_0x13252b(0x15c))/0x7)+-parseInt(_0x13252b(0x166))/0x8+parseInt(_0x13252b(0x15e))/0x9+parseInt(_0x13252b(0x15b))/0xa;if(_0x5a3d55===_0x3ec5c5)break;else _0x59214b['push'](_0x59214b['shift']());}catch(_0x4c6262){_0x59214b['push'](_0x59214b['shift']());}}}(a28_0x28ed,0xa68ba));function a28_0x4476(_0x601ea9,_0xe06d8e){const _0x28ed0f=a28_0x28ed();return a28_0x4476=function(_0x4476e4,_0x54f5e1){_0x4476e4=_0x4476e4-0x158;let _0xa8e4ca=_0x28ed0f[_0x4476e4];return _0xa8e4ca;},a28_0x4476(_0x601ea9,_0xe06d8e);}const requestSpy=require(a28_0x20fa54(0x167)),constants=require(a28_0x20fa54(0x162)),{addRequestSpy}=require(a28_0x20fa54(0x15f));function a28_0x28ed(){const _0x12d205=['5tCiLVb','9429880pbhAyp','939127pHsidm','timeout','11716524NERCEX','../../../helpers/test-observability/utils','33624zKkOfu','3571628EmMDTI','../../../bin/utils/constants','VxIer','1210064XNPbAY','42TutPhX','3818128nAcSHc','../../../helpers/request-spy','mochaHooks','14MGQAwG','restore'];a28_0x28ed=function(){return _0x12d205;};return a28_0x28ed();}exports[a28_0x20fa54(0x168)]={'beforeAll'(){const _0x382cd7=a28_0x20fa54,_0x40addf={'VxIer':function(_0x3e4944){return _0x3e4944();}},_0xc68548='browserstack internal helper hook';_0x40addf[_0x382cd7(0x163)](addRequestSpy);},'afterAll'(){const _0x17d506=a28_0x20fa54,_0x460c65='browserstack internal helper hook';this[_0x17d506(0x15d)](0xea60),requestSpy[_0x17d506(0x159)]();}};
1
+ const a28_0xc78577=a28_0x2087;function a28_0x2087(_0x4e4402,_0x21db14){const _0x4e1c5d=a28_0x4e1c();return a28_0x2087=function(_0x20877a,_0x4e6be0){_0x20877a=_0x20877a-0x139;let _0x494ecf=_0x4e1c5d[_0x20877a];return _0x494ecf;},a28_0x2087(_0x4e4402,_0x21db14);}(function(_0x3849ed,_0x192a63){const _0x17a18e=a28_0x2087,_0xfe0458=_0x3849ed();while(!![]){try{const _0x4e57c9=-parseInt(_0x17a18e(0x144))/0x1*(-parseInt(_0x17a18e(0x140))/0x2)+parseInt(_0x17a18e(0x146))/0x3*(-parseInt(_0x17a18e(0x13d))/0x4)+-parseInt(_0x17a18e(0x148))/0x5*(-parseInt(_0x17a18e(0x13a))/0x6)+parseInt(_0x17a18e(0x147))/0x7*(-parseInt(_0x17a18e(0x149))/0x8)+-parseInt(_0x17a18e(0x143))/0x9+-parseInt(_0x17a18e(0x13b))/0xa*(-parseInt(_0x17a18e(0x13c))/0xb)+parseInt(_0x17a18e(0x141))/0xc;if(_0x4e57c9===_0x192a63)break;else _0xfe0458['push'](_0xfe0458['shift']());}catch(_0x5ab6b3){_0xfe0458['push'](_0xfe0458['shift']());}}}(a28_0x4e1c,0x77250));const requestSpy=require(a28_0xc78577(0x145)),constants=require(a28_0xc78577(0x139)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports['mochaHooks']={'beforeAll'(){const _0x51b787=a28_0xc78577,_0x323d90={'jcgSO':function(_0x3c9274){return _0x3c9274();}},_0x6118b5='browserstack internal helper hook';_0x323d90[_0x51b787(0x142)](addRequestSpy);},'afterAll'(){const _0x132815=a28_0xc78577,_0x56a9f6='browserstack internal helper hook';this[_0x132815(0x13e)](0xea60),requestSpy[_0x132815(0x13f)]();}};function a28_0x4e1c(){const _0x1e0653=['1024440xzEqMD','71450FPLwBV','407mLzCjt','16NxoKfN','timeout','restore','472238fnKUnA','5456520XbnWgj','jcgSO','8033958GqDqrc','3ZxQjyT','../../../helpers/request-spy','537762opURDH','7nxTFcc','20EbEhRz','101584sBopGM','../../../bin/utils/constants'];a28_0x4e1c=function(){return _0x1e0653;};return a28_0x4e1c();}
@@ -1 +1 @@
1
- const a29_0x59cce1=a29_0x2a93;(function(_0x3ae847,_0x3d42ed){const _0x132e33=a29_0x2a93,_0x3770c3=_0x3ae847();while(!![]){try{const _0x5a38cc=-parseInt(_0x132e33(0x20c))/0x1+parseInt(_0x132e33(0x1fe))/0x2*(parseInt(_0x132e33(0x20f))/0x3)+-parseInt(_0x132e33(0x23a))/0x4+-parseInt(_0x132e33(0x218))/0x5*(parseInt(_0x132e33(0x204))/0x6)+parseInt(_0x132e33(0x241))/0x7*(-parseInt(_0x132e33(0x24d))/0x8)+parseInt(_0x132e33(0x247))/0x9*(-parseInt(_0x132e33(0x1f9))/0xa)+parseInt(_0x132e33(0x224))/0xb;if(_0x5a38cc===_0x3d42ed)break;else _0x3770c3['push'](_0x3770c3['shift']());}catch(_0x14a927){_0x3770c3['push'](_0x3770c3['shift']());}}}(a29_0x3213,0x2a6c3));function a29_0x3213(){const _0x127ebb=['pzFLZ','slice','vyKCV','getHookSkippedTests','15410890UpOErm','getHooksForTest','BMsMN','_beforeEach','browserstack','toJSON','uuYwx','generic','BpZAI','map_','emit','LZSHZ','hook:','kiEtx','../../../helpers/helper','zZOLA','pid','failed','tests','parent','string','XHZuE','627172LVfNgQ','wgIYE','AtyKD','toISOString','../../../helpers/testhub/utils','unknown_grid','syUox','2506WzdToF','hQpxy','hook','forEach','app','ueXzp','28071sHrlNL','keys','kFffa','../../utils/logPatcher','Itkpk','../../../../package.json','7112ZJXoFQ','Koavr','JEcFp','sendPlatformDetails','CDLxF','UdsKp','concat','_afterEach','passed','push','appium:app','Rcijd','1040AqcAxs','mapTestHooks','fromEntries','_beforeAll','hookAnalyticsId','33010PnincI','getTestEnv','TAkgA','state','split','getBrowserName','572532kbNzsM','QqCxt','pRXwn','lhtDZ','VccPu','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','../../../helpers/test-observability/utils','KESxX','240560YoFpCh','getPlatform','js-','18kfbKPj','__cloud_provider___','type','FoROz','bs:addPlatformDetails:','reduce','hvsXB','filter','getBrowserVersion','15oPGwDZ','HhPke','ApNJo','_afterAll','hEmdw','../../utils/logReportingAPI','automate','getCapabilities'];a29_0x3213=function(){return _0x127ebb;};return a29_0x3213();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a29_0x59cce1(0x24c)),logPatcher=require(a29_0x59cce1(0x24a)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x59cce1(0x21d)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x59cce1(0x20a)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a29_0x59cce1(0x232)),{shouldProcessEventForTesthub}=require(a29_0x59cce1(0x23e));function a29_0x2a93(_0x101ebe,_0x3a0b89){const _0x3213b6=a29_0x3213();return a29_0x2a93=function(_0x2a93a2,_0x2c21a7){_0x2a93a2=_0x2a93a2-0x1f0;let _0x1449bc=_0x3213b6[_0x2a93a2];return _0x1449bc;},a29_0x2a93(_0x101ebe,_0x3a0b89);}console={},Object[a29_0x59cce1(0x248)](consoleHolder)['forEach'](_0x3182e5=>{console[_0x3182e5]=(..._0x4cca06)=>{BSTestOpsPatcher[_0x3182e5](..._0x4cca06);};}),exports[a29_0x59cce1(0x1ff)]=()=>{const _0x459d19=a29_0x59cce1,_0x1f8a18={'zZOLA':_0x459d19(0x22b),'KESxX':function(_0x2479ef){return _0x2479ef();}};return{'ci':_0x1f8a18[_0x459d19(0x233)],'key':_0x1f8a18[_0x459d19(0x20b)](uuidv4),'version':version,'collector':_0x459d19(0x20e)+name};},exports['getHookDetails']=_0x5029ea=>{const _0x472fc5=a29_0x59cce1,_0x19e5d5={};_0x19e5d5[_0x472fc5(0x215)]=function(_0x376223,_0x4df7bd){return _0x376223!==_0x4df7bd;},_0x19e5d5[_0x472fc5(0x205)]=_0x472fc5(0x238),_0x19e5d5[_0x472fc5(0x1f8)]=function(_0x193591,_0x52b38b){return _0x193591!==_0x52b38b;},_0x19e5d5[_0x472fc5(0x1f1)]=_0x472fc5(0x230),_0x19e5d5[_0x472fc5(0x249)]=function(_0x178e78,_0x40a5e5){return _0x178e78!==_0x40a5e5;},_0x19e5d5['uuYwx']=_0x472fc5(0x243);const _0x12abfa=_0x19e5d5;if(!_0x5029ea||_0x12abfa[_0x472fc5(0x215)](typeof _0x5029ea,_0x12abfa[_0x472fc5(0x205)]))return[null,null];if(_0x12abfa[_0x472fc5(0x1f8)](_0x5029ea['indexOf'](_0x12abfa[_0x472fc5(0x1f1)]),-0x1)){const _0x25842a=_0x5029ea[_0x472fc5(0x202)](_0x12abfa[_0x472fc5(0x1f1)]);return[_0x25842a[0x0][_0x472fc5(0x221)](0x0,-0x1)[_0x472fc5(0x202)]('\x22')[0x1],_0x25842a[0x1]['substring'](0x1)];}else{if(_0x12abfa[_0x472fc5(0x249)](_0x5029ea['indexOf'](_0x12abfa[_0x472fc5(0x22a)]),-0x1)){const _0x50a285=_0x5029ea[_0x472fc5(0x202)](_0x12abfa['uuYwx']);return[_0x50a285[0x0][_0x472fc5(0x221)](0x0,-0x1)['split']('\x22')[0x1],_0x5029ea];}}return[null,null];},exports['getHooksForTest']=_0x54e190=>{const _0x30f1cd=a29_0x59cce1,_0x736b02={'XHZuE':function(_0x8827fb,_0x380a0b){return _0x8827fb(_0x380a0b);},'ueXzp':_0x30f1cd(0x1fc),'BMsMN':_0x30f1cd(0x21b),'AtyKD':'_beforeEach','Aepiw':'_afterEach'};if(!_0x54e190||!_0x54e190[_0x30f1cd(0x237)])return[];const _0x178f07=[];return[_0x736b02[_0x30f1cd(0x246)],_0x736b02[_0x30f1cd(0x226)],_0x736b02[_0x30f1cd(0x23c)],_0x736b02['Aepiw']][_0x30f1cd(0x244)](_0x505981=>{const _0x460265=_0x30f1cd,_0x527c14=_0x54e190[_0x460265(0x237)][_0x505981]||[];_0x527c14['forEach'](_0x58975c=>{const _0x3ce25d=_0x460265;_0x58975c[_0x3ce25d(0x1fd)]&&!_0x736b02[_0x3ce25d(0x239)](isInternalHook,_0x58975c['fn'])&&_0x178f07[_0x3ce25d(0x1f6)](_0x58975c[_0x3ce25d(0x1fd)]);});}),[..._0x178f07,...exports[_0x30f1cd(0x225)](_0x54e190[_0x30f1cd(0x237)])];},exports[a29_0x59cce1(0x1fa)]=_0x572d51=>{const _0x20507f=a29_0x59cce1,_0x43e5ef={'pRXwn':function(_0x2e43ba){return _0x2e43ba();},'hEmdw':function(_0x393f15,_0x454d0b){return _0x393f15===_0x454d0b;},'Koavr':_0x20507f(0x1f4),'JEcFp':'_beforeAll','Itkpk':_0x20507f(0x21b),'FoROz':_0x20507f(0x227)};if(!_0x572d51||!_0x572d51['parent'])return;[_0x43e5ef[_0x20507f(0x24f)],_0x43e5ef[_0x20507f(0x24b)],_0x43e5ef[_0x20507f(0x212)],_0x43e5ef[_0x20507f(0x24e)]][_0x20507f(0x244)](_0x1b8ba9=>{const _0x45c80f=_0x20507f,_0x22e48a=_0x572d51[_0x45c80f(0x237)][_0x1b8ba9]||[];_0x22e48a[_0x45c80f(0x244)](_0x2c8b1c=>{const _0x40dc4e=_0x45c80f;if(!_0x2c8b1c['hookAnalyticsId'])_0x2c8b1c[_0x40dc4e(0x1fd)]=_0x43e5ef[_0x40dc4e(0x206)](uuidv4);else _0x2c8b1c['markedStatus']&&_0x43e5ef[_0x40dc4e(0x21c)](_0x1b8ba9,_0x43e5ef['Koavr'])&&(_0x2c8b1c['hookAnalyticsId']=_0x43e5ef[_0x40dc4e(0x206)](uuidv4),delete _0x2c8b1c['markedStatus']);});}),exports[_0x20507f(0x1fa)](_0x572d51[_0x20507f(0x237)]);},exports[a29_0x59cce1(0x1f0)]=async(_0x2f22d1,_0x17ae30)=>{const _0x4f53fe=a29_0x59cce1,_0x3a6fac={'wgIYE':function(_0xf028c){return _0xf028c();},'UdsKp':function(_0x512506,_0x4874e5){return _0x512506===_0x4874e5;},'HhPke':_0x4f53fe(0x228),'wCDSv':_0x4f53fe(0x1f7),'HDJle':_0x4f53fe(0x245),'vyKCV':'app-automate','syUox':_0x4f53fe(0x21e),'ApNJo':function(_0x38f35e,_0xb81612){return _0x38f35e(_0xb81612);},'LZSHZ':_0x4f53fe(0x23f),'TAkgA':'TEST_PLATFORM','lhtDZ':function(_0x1f79c9,_0x47ab72){return _0x1f79c9(_0x47ab72);}};try{if(!_0x3a6fac[_0x4f53fe(0x23b)](shouldProcessEventForTesthub))return;const _0x510c10=await _0x2f22d1[_0x4f53fe(0x21f)](),_0x4b5934=await _0x2f22d1['getSession'](),_0x7acbd5={},_0x266d35=Object[_0x4f53fe(0x1fb)](_0x4b5934['getCapabilities']()[_0x4f53fe(0x22d)]),_0x4f5143={'product':_0x3a6fac[_0x4f53fe(0x1f2)](global[_0x4f53fe(0x210)],_0x3a6fac['HhPke'])?_0x266d35[_0x3a6fac['wCDSv']]||_0x266d35[_0x3a6fac['HDJle']]?_0x3a6fac[_0x4f53fe(0x222)]:_0x3a6fac[_0x4f53fe(0x240)]:null,'capabilities':_0x266d35,'platform':_0x510c10[_0x4f53fe(0x20d)](),'platform_version':_0x3a6fac[_0x4f53fe(0x21a)](getPlatformVersion,_0x3a6fac[_0x4f53fe(0x1f2)](global[_0x4f53fe(0x210)],_0x3a6fac[_0x4f53fe(0x219)])),'browser':_0x510c10[_0x4f53fe(0x203)](),'browser_version':_0x510c10[_0x4f53fe(0x217)](),'session_id':_0x4b5934[_0x4f53fe(0x229)]()};global[_0x4f53fe(0x210)]?_0x7acbd5[global['__cloud_provider___']]=_0x4f5143:_0x7acbd5[_0x3a6fac[_0x4f53fe(0x22f)]]=_0x4f5143,process[_0x4f53fe(0x22e)](_0x4f53fe(0x213)+process[_0x4f53fe(0x234)],{'timestamp':new Date()[_0x4f53fe(0x23d)](),'level':null,'message':null,'kind':_0x3a6fac[_0x4f53fe(0x200)],'http_response':_0x7acbd5,'uuid':_0x17ae30});}catch(_0x4dacb2){_0x3a6fac[_0x4f53fe(0x207)](debug,_0x4f53fe(0x209)+_0x4dacb2);}},exports[a29_0x59cce1(0x223)]=_0x41c3c8=>{const _0x32c6ba=a29_0x59cce1,_0x4f44f2={};_0x4f44f2[_0x32c6ba(0x22c)]=function(_0x200c25,_0x12a9bc){return _0x200c25!==_0x12a9bc;},_0x4f44f2[_0x32c6ba(0x220)]=_0x32c6ba(0x243),_0x4f44f2[_0x32c6ba(0x242)]=function(_0x20e484,_0x9e8605){return _0x20e484!==_0x9e8605;},_0x4f44f2[_0x32c6ba(0x231)]=_0x32c6ba(0x1f5),_0x4f44f2[_0x32c6ba(0x208)]=_0x32c6ba(0x235);const _0xc7ff8=_0x4f44f2,_0x2ac532=_0x41c3c8['suites'][_0x32c6ba(0x214)]((_0x4af274,_0x27901d)=>{const _0x2a2cd1=_0x32c6ba,_0xfbb8cd=exports[_0x2a2cd1(0x223)](_0x27901d);return _0xfbb8cd&&(_0x4af274=_0x4af274[_0x2a2cd1(0x1f3)](_0xfbb8cd)),_0x4af274;},[]),_0xab4d1e=_0x41c3c8[_0x32c6ba(0x236)][_0x32c6ba(0x216)](_0x276d6c=>{const _0x5c1fb8=_0x32c6ba,_0xba1171=_0xc7ff8[_0x5c1fb8(0x22c)](_0x276d6c[_0x5c1fb8(0x211)],_0xc7ff8['pzFLZ'])&&!_0x276d6c['markedStatus']&&_0xc7ff8[_0x5c1fb8(0x242)](_0x276d6c[_0x5c1fb8(0x201)],_0xc7ff8[_0x5c1fb8(0x231)])&&_0xc7ff8[_0x5c1fb8(0x242)](_0x276d6c[_0x5c1fb8(0x201)],_0xc7ff8[_0x5c1fb8(0x208)])&&!_0x276d6c['pending'];return _0xba1171;});return _0xab4d1e[_0x32c6ba(0x1f3)](_0x2ac532);};
1
+ const a29_0x1f5031=a29_0x2cb4;function a29_0x2cb4(_0x16f5bd,_0x95cb63){const _0x5c5f1e=a29_0x5c5f();return a29_0x2cb4=function(_0x2cb44b,_0x123abb){_0x2cb44b=_0x2cb44b-0x10b;let _0x161aac=_0x5c5f1e[_0x2cb44b];return _0x161aac;},a29_0x2cb4(_0x16f5bd,_0x95cb63);}(function(_0x5d0dec,_0x6ed529){const _0xa2775e=a29_0x2cb4,_0x8a8a7d=_0x5d0dec();while(!![]){try{const _0x1cec29=-parseInt(_0xa2775e(0x11e))/0x1+-parseInt(_0xa2775e(0x132))/0x2*(-parseInt(_0xa2775e(0x144))/0x3)+-parseInt(_0xa2775e(0x119))/0x4*(parseInt(_0xa2775e(0x15c))/0x5)+parseInt(_0xa2775e(0x166))/0x6+-parseInt(_0xa2775e(0x146))/0x7*(-parseInt(_0xa2775e(0x11a))/0x8)+-parseInt(_0xa2775e(0x159))/0x9*(parseInt(_0xa2775e(0x141))/0xa)+-parseInt(_0xa2775e(0x145))/0xb;if(_0x1cec29===_0x6ed529)break;else _0x8a8a7d['push'](_0x8a8a7d['shift']());}catch(_0x1636de){_0x8a8a7d['push'](_0x8a8a7d['shift']());}}}(a29_0x5c5f,0x7c9ba));const {v4:uuidv4}=require(a29_0x1f5031(0x147)),{name,version}=require(a29_0x1f5031(0x12b)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x1f5031(0x152)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x1f5031(0x125)),{consoleHolder}=require(a29_0x1f5031(0x131)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a29_0x1f5031(0x13c));function a29_0x5c5f(){const _0x4b76a8=['toJSON','nkJha','getCapabilities','automate','pending','qCaip','YPshs','map_','BQjhF','JjrPS','rypMd','browserstack','NpYcT','OvvDt','10748APCFjB','3099264QFKTAL','getPlatform','concat','indexOf','141329WOxNkK','VLuFt','parent','emUCb','RVdqb','tests','gmHOj','../../../helpers/test-observability/utils','hookAnalyticsId','slice','aWxEP','substring','itMGK','../../../../package.json','getSession','suites','fzbZm','js-','getHookDetails','../../../helpers/test-observability/constants','1305682MyIddw','mapTestHooks','lMCRp','PkdJX','toISOString','DvTGQ','hook','keys','generic','MuetR','../../../helpers/testhub/utils','string','__cloud_provider___','AaTji','reduce','40bAPsIH','split','app','3pqINDc','3356881blCEuj','14krPMJo','uuid','_beforeEach','mKXfg','JSCQO','getBrowserName','oYMnL','getHookSkippedTests','markedStatus','WihJb','_beforeAll','state','../../utils/logReportingAPI','appium:app','passed','lDugz','_afterAll','idfxy','unknown_grid','959562UwabRt','forEach','zdRst','1625VumlTD','getHooksForTest','failed','_afterEach','VcnGq','push','filter','getBrowserVersion','BOuFu','sendPlatformDetails','4973904NXYUsi','NGVEN'];a29_0x5c5f=function(){return _0x4b76a8;};return a29_0x5c5f();}console={},Object[a29_0x1f5031(0x139)](consoleHolder)['forEach'](_0x2d4e53=>{console[_0x2d4e53]=(..._0x348a48)=>{BSTestOpsPatcher[_0x2d4e53](..._0x348a48);};}),exports['getTestEnv']=()=>{const _0x3a8626=a29_0x1f5031,_0x325fe1={'JSCQO':_0x3a8626(0x13a),'idfxy':function(_0x860330){return _0x860330();}};return{'ci':_0x325fe1[_0x3a8626(0x14a)],'key':_0x325fe1[_0x3a8626(0x157)](uuidv4),'version':version,'collector':_0x3a8626(0x12f)+name};},exports[a29_0x1f5031(0x130)]=_0x3c478d=>{const _0x3fc0dc=a29_0x1f5031,_0x31e5d7={};_0x31e5d7['JjrPS']=function(_0x40d253,_0xd15634){return _0x40d253!==_0xd15634;},_0x31e5d7['nWONo']=_0x3fc0dc(0x13d),_0x31e5d7[_0x3fc0dc(0x13f)]=function(_0x5184a4,_0x1da4d6){return _0x5184a4!==_0x1da4d6;},_0x31e5d7[_0x3fc0dc(0x10c)]='hook:',_0x31e5d7[_0x3fc0dc(0x149)]=function(_0xb5696e,_0x14bf64){return _0xb5696e!==_0x14bf64;},_0x31e5d7[_0x3fc0dc(0x167)]=_0x3fc0dc(0x138);const _0x32517d=_0x31e5d7;if(!_0x3c478d||_0x32517d[_0x3fc0dc(0x114)](typeof _0x3c478d,_0x32517d['nWONo']))return[null,null];if(_0x32517d[_0x3fc0dc(0x13f)](_0x3c478d['indexOf'](_0x32517d[_0x3fc0dc(0x10c)]),-0x1)){const _0x4c2a8a=_0x3c478d['split'](_0x32517d['nkJha']);return[_0x4c2a8a[0x0][_0x3fc0dc(0x127)](0x0,-0x1)[_0x3fc0dc(0x142)]('\x22')[0x1],_0x4c2a8a[0x1][_0x3fc0dc(0x129)](0x1)];}else{if(_0x32517d[_0x3fc0dc(0x149)](_0x3c478d[_0x3fc0dc(0x11d)](_0x32517d['NGVEN']),-0x1)){const _0x4454b8=_0x3c478d[_0x3fc0dc(0x142)](_0x32517d[_0x3fc0dc(0x167)]);return[_0x4454b8[0x0][_0x3fc0dc(0x127)](0x0,-0x1)[_0x3fc0dc(0x142)]('\x22')[0x1],_0x3c478d];}}return[null,null];},exports['getHooksForTest']=_0x451a93=>{const _0x396214=a29_0x1f5031,_0x29e7d1={'lMCRp':function(_0x2585ac,_0x4eb314){return _0x2585ac(_0x4eb314);},'oYMnL':'_beforeAll','BQjhF':_0x396214(0x156),'BOuFu':_0x396214(0x148),'VcnGq':_0x396214(0x15f)};if(!_0x451a93||!_0x451a93[_0x396214(0x120)])return[];const _0x52f0f7=[];return[_0x29e7d1[_0x396214(0x14c)],_0x29e7d1[_0x396214(0x113)],_0x29e7d1[_0x396214(0x164)],_0x29e7d1[_0x396214(0x160)]][_0x396214(0x15a)](_0x38d848=>{const _0xdf54b8=_0x396214,_0x2071a6=_0x451a93[_0xdf54b8(0x120)][_0x38d848]||[];_0x2071a6[_0xdf54b8(0x15a)](_0x304d40=>{const _0x34529e=_0xdf54b8;_0x304d40[_0x34529e(0x126)]&&!_0x29e7d1[_0x34529e(0x134)](isInternalHook,_0x304d40['fn'])&&_0x52f0f7[_0x34529e(0x161)](_0x304d40['hookAnalyticsId']);});}),[..._0x52f0f7,...exports[_0x396214(0x15d)](_0x451a93['parent'])];},exports[a29_0x1f5031(0x133)]=_0x3d0253=>{const _0x596b1a=a29_0x1f5031,_0x24e756={'aWxEP':function(_0x5382dd){return _0x5382dd();},'YPshs':function(_0x125ca5,_0x199c12){return _0x125ca5===_0x199c12;},'NpYcT':_0x596b1a(0x15f),'MuetR':_0x596b1a(0x150),'DvTGQ':_0x596b1a(0x156),'rypMd':_0x596b1a(0x148)};if(!_0x3d0253||!_0x3d0253[_0x596b1a(0x120)])return;[_0x24e756[_0x596b1a(0x13b)],_0x24e756[_0x596b1a(0x137)],_0x24e756[_0x596b1a(0x115)],_0x24e756[_0x596b1a(0x117)]][_0x596b1a(0x15a)](_0x701e42=>{const _0x50398a=_0x596b1a,_0x12b13b=_0x3d0253[_0x50398a(0x120)][_0x701e42]||[];_0x12b13b[_0x50398a(0x15a)](_0x30ec4f=>{const _0x2eb31b=_0x50398a;if(!_0x30ec4f[_0x2eb31b(0x126)])_0x30ec4f[_0x2eb31b(0x126)]=_0x24e756[_0x2eb31b(0x128)](uuidv4);else _0x30ec4f[_0x2eb31b(0x14e)]&&_0x24e756[_0x2eb31b(0x111)](_0x701e42,_0x24e756['NpYcT'])&&(_0x30ec4f[_0x2eb31b(0x126)]=_0x24e756['aWxEP'](uuidv4),delete _0x30ec4f[_0x2eb31b(0x14e)]);});}),exports['mapTestHooks'](_0x3d0253['parent']);},exports[a29_0x1f5031(0x165)]=async(_0x17f163,_0x36fd36)=>{const _0x28ac0b=a29_0x1f5031,_0x342a38={'ljlXx':function(_0x49c675){return _0x49c675();},'mUTJM':function(_0x410354,_0x52a5a6){return _0x410354===_0x52a5a6;},'fzbZm':_0x28ac0b(0x116),'WihJb':_0x28ac0b(0x153),'zdRst':_0x28ac0b(0x143),'PkdJX':'app-automate','qCaip':_0x28ac0b(0x10e),'lbwXc':function(_0x1a8ec2,_0x25a0cb){return _0x1a8ec2(_0x25a0cb);},'itMGK':function(_0x49a609,_0x2154e6){return _0x49a609===_0x2154e6;},'Zhdaz':_0x28ac0b(0x158),'XKhcr':'TEST_PLATFORM','lDugz':function(_0x21048a,_0x3042d4){return _0x21048a(_0x3042d4);}};try{if(!_0x342a38['ljlXx'](shouldProcessEventForTesthub))return;const _0x89a1b6=await _0x17f163['getCapabilities'](),_0x1c3098=await _0x17f163[_0x28ac0b(0x12c)](),_0x39fb95={},_0x384ad1=Object['fromEntries'](_0x1c3098[_0x28ac0b(0x10d)]()[_0x28ac0b(0x112)]),_0x428f9d={'product':_0x342a38['mUTJM'](global['__cloud_provider___'],_0x342a38['fzbZm'])?_0x384ad1[_0x342a38[_0x28ac0b(0x14f)]]||_0x384ad1[_0x342a38[_0x28ac0b(0x15b)]]?_0x342a38[_0x28ac0b(0x135)]:_0x342a38[_0x28ac0b(0x110)]:null,'capabilities':_0x384ad1,'platform':_0x89a1b6[_0x28ac0b(0x11b)](),'platform_version':_0x342a38['lbwXc'](getPlatformVersion,_0x342a38[_0x28ac0b(0x12a)](global[_0x28ac0b(0x13e)],_0x342a38[_0x28ac0b(0x12e)])),'browser':_0x89a1b6[_0x28ac0b(0x14b)](),'browser_version':_0x89a1b6[_0x28ac0b(0x163)](),'session_id':_0x1c3098[_0x28ac0b(0x10b)]()};global[_0x28ac0b(0x13e)]?_0x39fb95[global[_0x28ac0b(0x13e)]]=_0x428f9d:_0x39fb95[_0x342a38['Zhdaz']]=_0x428f9d,process['emit']('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x28ac0b(0x136)](),'level':null,'message':null,'kind':_0x342a38['XKhcr'],'http_response':_0x39fb95,'uuid':_0x36fd36});}catch(_0x1825f2){_0x342a38[_0x28ac0b(0x155)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x1825f2);}},exports[a29_0x1f5031(0x14d)]=_0x49c3f9=>{const _0x571d55=a29_0x1f5031,_0x43b703={};_0x43b703['RVdqb']=function(_0x4b01b7,_0x4420e1){return _0x4b01b7!==_0x4420e1;},_0x43b703[_0x571d55(0x124)]=_0x571d55(0x138),_0x43b703[_0x571d55(0x121)]=_0x571d55(0x154),_0x43b703['OvvDt']=function(_0x19d5e4,_0x620535){return _0x19d5e4!==_0x620535;},_0x43b703[_0x571d55(0x11f)]=_0x571d55(0x15e);const _0xb7e615=_0x43b703,_0x2506c4=_0x49c3f9[_0x571d55(0x12d)][_0x571d55(0x140)]((_0x5b9e5f,_0x17e7ef)=>{const _0x4270af=_0x571d55,_0xd08a4c=exports[_0x4270af(0x14d)](_0x17e7ef);return _0xd08a4c&&(_0x5b9e5f=_0x5b9e5f[_0x4270af(0x11c)](_0xd08a4c)),_0x5b9e5f;},[]),_0x4336a5=_0x49c3f9[_0x571d55(0x123)][_0x571d55(0x162)](_0x2104cf=>{const _0x400b55=_0x571d55,_0x323b8f=_0xb7e615['RVdqb'](_0x2104cf['type'],_0xb7e615['gmHOj'])&&!_0x2104cf[_0x400b55(0x14e)]&&_0xb7e615[_0x400b55(0x122)](_0x2104cf[_0x400b55(0x151)],_0xb7e615['emUCb'])&&_0xb7e615[_0x400b55(0x118)](_0x2104cf[_0x400b55(0x151)],_0xb7e615[_0x400b55(0x11f)])&&!_0x2104cf[_0x400b55(0x10f)];return _0x323b8f;});return _0x4336a5[_0x571d55(0x11c)](_0x2506c4);};
@@ -1 +1 @@
1
- const a30_0x260c59=a30_0x478d;function a30_0x4252(){const _0x20fc63=['performScan','initQuit','getCurrentUrl','\x22}}','VRLor','TOEku','../../helpers/globals','Automate\x20test\x20case\x20execution\x20has\x20started.','then','push','QqsfH','../../helpers/logger','lmXOu','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','titlePath','toBea','BROWSERSTACK_TESTHUB_JWT','appium:app','JJKkj','RlhXk','OupcB','2080521ngNrid','ObservabilitySync:','Performing\x20scan\x20before\x20saving\x20results','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','message','winstonLogger','rjwks','./test-observability/mochaUtils','XZonL','1037200lQxmZS',',\x22level\x22:\x20\x22','executeScript','now','bHJXm','2035747oJwiyw','error','mochaHooks','startMonitoring','\x20-\x20','4bQfAyi','19662640huPVXO','../../helpers/percy/utils','quitCount_','debug','testAnalyticsId','FwQuR','eerSS','BbdqJ','EVute','saveTestResults','percy','state','browserstackSessionName','accessibilityScanStarted','failed','OGNQx','Failed\x20to\x20store\x20session\x20name:\x20','APYkg','163388IppXnr','__error_messages__','zkvDr','env','../../helpers/testhub/constants','format','testcase','Passed','capabilities','driverCleanup','join','RaMOE','ZTjoY','../../helpers/accessibility-automation/helper','hinEA','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_UUID','__skipSessionName','__drivers','Failed:\x20','TmNNx','passed','ENV_VAR','percyCaptureMode','AxEqF','489297NUTgRl','KWBGi','../../helpers/testhub/utils','thBuildUuid','getGlobal','shouldScanTestForAccessibility','IzCeg','stringify','info','__sessionFailed','.\x20Error\x20:','MxtHI','4169094ILwmGi','DsHLf','length','sessionNameSet__','../../helpers/helper','https:','shift','err','gRtwb','currentTest','../../helpers/performance-tester','executeAsyncScript','stopMonitoring','app','isArray','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','EaHTk','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','qOAbv','session_'];a30_0x4252=function(){return _0x20fc63;};return a30_0x4252();}(function(_0x5c9c6a,_0x1e80e2){const _0x2cf1c4=a30_0x478d,_0x25136f=_0x5c9c6a();while(!![]){try{const _0x1a11fd=-parseInt(_0x2cf1c4(0x194))/0x1+-parseInt(_0x2cf1c4(0x17b))/0x2+-parseInt(_0x2cf1c4(0x1c9))/0x3+-parseInt(_0x2cf1c4(0x168))/0x4*(-parseInt(_0x2cf1c4(0x15e))/0x5)+-parseInt(_0x2cf1c4(0x1a0))/0x6+-parseInt(_0x2cf1c4(0x163))/0x7+parseInt(_0x2cf1c4(0x169))/0x8;if(_0x1a11fd===_0x1e80e2)break;else _0x25136f['push'](_0x25136f['shift']());}catch(_0x4db0ce){_0x25136f['push'](_0x25136f['shift']());}}}(a30_0x4252,0x6557e));function a30_0x478d(_0x24e500,_0x5785a0){const _0x425292=a30_0x4252();return a30_0x478d=function(_0x478d5b,_0x4d7976){_0x478d5b=_0x478d5b-0x15e;let _0x3c352f=_0x425292[_0x478d5b];return _0x3c352f;},a30_0x478d(_0x24e500,_0x5785a0);}const util=require('util'),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x260c59(0x188)),{percyAutoCapture}=require(a30_0x260c59(0x16a)),{sendPlatformDetails}=require(a30_0x260c59(0x1d0)),{isBrowserstackInfra,markSessionStatus}=require(a30_0x260c59(0x1a4)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),PerformanceTester=require(a30_0x260c59(0x1aa)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a30_0x260c59(0x1ba)),logger=require(a30_0x260c59(0x1bf))[a30_0x260c59(0x1ce)],{shouldProcessEventForTesthub}=require(a30_0x260c59(0x196)),testHubConstants=require(a30_0x260c59(0x17f));exports[a30_0x260c59(0x165)]={'beforeAll'(){const _0x2034ec=a30_0x260c59,_0x48714e={'AKElF':function(_0x1d57a2,_0x28a243,_0x25dc6e,_0x8096c8){return _0x1d57a2(_0x28a243,_0x25dc6e,_0x8096c8);},'RnYzR':_0x2034ec(0x177),'bHJXm':'\x20|\x20','AxEqF':function(_0x51e2aa,_0x53f5f5,_0x221c4a){return _0x51e2aa(_0x53f5f5,_0x221c4a);},'RaMOE':_0x2034ec(0x190),'nDaFW':function(_0x5ca133){return _0x5ca133();},'EccAx':function(_0x4cfb7b,_0x5e411b,_0x13ea84){return _0x4cfb7b(_0x5e411b,_0x13ea84);}};PerformanceTester[_0x2034ec(0x166)]();const _0x342e97='browserstack internal helper hook';global[_0x2034ec(0x17c)]=[],global[_0x2034ec(0x19d)]=![],global['driverCleanup']=async()=>{const _0x531185=_0x2034ec;let _0x2c5d88=![];try{await global[_0x531185(0x18d)][0x0][_0x531185(0x1b3)],_0x2c5d88=!![],global[_0x531185(0x19d)]?await _0x48714e['AKElF'](markSessionStatus,global[_0x531185(0x18d)][0x0],_0x48714e['RnYzR'],global['__error_messages__']['join'](_0x48714e[_0x531185(0x162)])):await _0x48714e[_0x531185(0x193)](markSessionStatus,global[_0x531185(0x18d)][0x0],_0x48714e[_0x531185(0x186)]);}catch(_0x551f54){}global[_0x531185(0x17c)]=[],global[_0x531185(0x19d)]=![];if(_0x2c5d88)try{try{_0x48714e['nDaFW'](shouldProcessEventForTesthub)&&(global[_0x531185(0x18d)][0x0]&&await _0x48714e['EccAx'](sendPlatformDetails,global[_0x531185(0x18d)][0x0],this[_0x531185(0x1a9)]?this[_0x531185(0x1a9)][_0x531185(0x16d)]:null));}catch{}await global[_0x531185(0x18d)][0x0][_0x531185(0x1b5)]();}catch(_0x79ac5e){}};},'beforeEach'(_0x394243){const _0x1b7103=a30_0x260c59,_0x936b3a={'DsHLf':function(_0x12b989,_0x4afa66){return _0x12b989>_0x4afa66;},'FwQuR':_0x1b7103(0x167),'cNbYQ':function(_0x32e95d,_0x5da3f5,_0x185d7e){return _0x32e95d(_0x5da3f5,_0x185d7e);},'EaHTk':'bstackA11yShouldScan','VRLor':function(_0x3d352d){return _0x3d352d();},'eerSS':'isAccessibilityPlatform','ksEOx':function(_0x547443,_0x560e02){return _0x547443===_0x560e02;},'BIrAf':'http:','XZonL':function(_0x528d52,_0x37855e){return _0x528d52===_0x37855e;},'lmXOu':_0x1b7103(0x1a5),'lIyxE':_0x1b7103(0x1cc),'ZTjoY':_0x1b7103(0x1bb)};new Promise(async _0x197890=>{const _0x23b22d=_0x1b7103,_0x4cd926='browserstack internal helper hook';let _0x446cc0=!![];try{_0x936b3a['DsHLf'](global[_0x23b22d(0x18d)][_0x23b22d(0x1a2)],0x1)&&(await global['driverCleanup'](),global[_0x23b22d(0x18d)][_0x23b22d(0x1a6)]()),_0x936b3a[_0x23b22d(0x1a1)](global['__drivers'][0x0][_0x23b22d(0x16b)],0x0)&&(_0x446cc0=![],await global['driverCleanup']());}catch{}try{Array['isArray'](global[_0x23b22d(0x18d)])&&global[_0x23b22d(0x18d)][0x0]&&(global[_0x23b22d(0x18d)][0x0][_0x23b22d(0x175)]=this['currentTest'][_0x23b22d(0x1c2)]()[_0x23b22d(0x185)](_0x936b3a[_0x23b22d(0x16e)])),global[_0x23b22d(0x175)]=this['currentTest'][_0x23b22d(0x1c2)]()[_0x23b22d(0x185)](_0x936b3a[_0x23b22d(0x16e)]);}catch(_0x47a691){logger[_0x23b22d(0x16c)](_0x23b22d(0x179)+_0x47a691);}this[_0x23b22d(0x1a9)]['shouldScanTestForAccessibility']=_0x936b3a['cNbYQ'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]),globals['setGlobal'](_0x936b3a[_0x23b22d(0x1b0)],this[_0x23b22d(0x1a9)]['shouldScanTestForAccessibility']),this[_0x23b22d(0x1a9)]['accessibilityScanStarted']=!![];if(_0x936b3a[_0x23b22d(0x1b8)](isAccessibilityAutomationSession)&&_0x446cc0&&Array[_0x23b22d(0x1ae)](global[_0x23b22d(0x18d)])&&_0x936b3a[_0x23b22d(0x1a1)](global['__drivers'][_0x23b22d(0x1a2)],0x0)&&globals[_0x23b22d(0x198)](_0x936b3a[_0x23b22d(0x16f)]))try{const _0x5946fa=await global[_0x23b22d(0x18d)][0x0]['session_'];if(_0x5946fa){let _0xa311cd=!![];const _0x5afde6=await global[_0x23b22d(0x18d)][0x0][_0x23b22d(0x1b6)]();let _0x3503a6;try{_0x3503a6=new URL(_0x5afde6);}catch(_0x31ef62){_0xa311cd=![];}_0xa311cd=_0x936b3a['ksEOx'](_0x3503a6['protocol'],_0x936b3a['BIrAf'])||_0x936b3a[_0x23b22d(0x1d1)](_0x3503a6['protocol'],_0x936b3a[_0x23b22d(0x1c0)]),_0xa311cd&&(this[_0x23b22d(0x1a9)]['shouldScanTestForAccessibility']&&logger[_0x23b22d(0x19c)](_0x936b3a['lIyxE'])),this[_0x23b22d(0x1a9)][_0x23b22d(0x176)]=this['currentTest'][_0x23b22d(0x199)],this['currentTest'][_0x23b22d(0x199)]&&logger['info'](_0x936b3a[_0x23b22d(0x187)]);}}catch(_0x1fee70){logger[_0x23b22d(0x164)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x23b22d(0x180)](_0x1fee70));}_0x936b3a['VRLor'](_0x197890);})[_0x1b7103(0x1bc)](_0x394243);},'afterEach'(_0x3c5917){const _0x38ad9e=a30_0x260c59,_0x21ffb3={'zkvDr':function(_0x10f581,_0x50cbaf){return _0x10f581>_0x50cbaf;},'RlhXk':function(_0x374e6e,_0x44e02f){return _0x374e6e===_0x44e02f;},'TOEku':_0x38ad9e(0x181),'QiWeu':_0x38ad9e(0x1c5),'QqsfH':function(_0x3814cf,_0x254abd,_0x277a8d,_0x4ddb55){return _0x3814cf(_0x254abd,_0x277a8d,_0x4ddb55);},'SnAaV':_0x38ad9e(0x167),'TmNNx':function(_0x1a294d,_0x44967e){return _0x1a294d!==_0x44967e;},'ZGcDj':_0x38ad9e(0x190),'EVute':function(_0x2b9253,_0x1fa0b0,_0x4cee0d){return _0x2b9253(_0x1fa0b0,_0x4cee0d);},'KWBGi':function(_0x5c96c6,_0x201d8d){return _0x5c96c6+_0x201d8d;},'rjwks':_0x38ad9e(0x18e),'APYkg':_0x38ad9e(0x164),'JJKkj':_0x38ad9e(0x182),'lgARH':_0x38ad9e(0x19c),'gRtwb':_0x38ad9e(0x18a),'ltLvL':'bstackA11yShouldScan','BbdqJ':_0x38ad9e(0x1b1),'qOAbv':_0x38ad9e(0x1cb),'toBea':_0x38ad9e(0x1c1),'MxtHI':function(_0x2a55fc){return _0x2a55fc();},'cMPKc':function(_0x5a6187,_0x27ab56,_0x3bc49b){return _0x5a6187(_0x27ab56,_0x3bc49b);},'OGNQx':function(_0x167604){return _0x167604();},'hinEA':'debug','IzCeg':function(_0x55a898){return _0x55a898();}},_0x11a786='browserstack internal helper hook';this['timeout'](0xfde8);const _0xc4b5f5=async(_0xe55529,_0x207450)=>{const _0x22482a=_0x38ad9e;await global[_0x22482a(0x18d)][0x0][_0x22482a(0x160)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xe55529+_0x22482a(0x15f)+_0x207450+_0x22482a(0x1b7));};new Promise(async _0x28eed8=>{const _0x46fb99=_0x38ad9e;try{_0x21ffb3['zkvDr'](global[_0x46fb99(0x18d)][_0x46fb99(0x1a2)],0x1)&&(await global[_0x46fb99(0x184)](),global[_0x46fb99(0x18d)]['shift'](),global[_0x46fb99(0x17c)]=[],global[_0x46fb99(0x19d)]=![]);try{if(global[_0x46fb99(0x173)]&&_0x21ffb3[_0x46fb99(0x1c7)](global[_0x46fb99(0x192)],_0x21ffb3[_0x46fb99(0x1b9)])&&global[_0x46fb99(0x18d)][0x0]){const _0x3c5d57=_0x21ffb3[_0x46fb99(0x17d)](global[_0x46fb99(0x183)][_0x46fb99(0x1a2)],0x0)?!!global[_0x46fb99(0x183)][0x0][_0x46fb99(0x1ad)]||!!global['capabilities'][0x0][_0x21ffb3['QiWeu']]:![],_0x48fca4={};_0x48fca4[_0x46fb99(0x1ad)]=_0x3c5d57,await _0x21ffb3[_0x46fb99(0x1be)](percyAutoCapture,global['__drivers'][0x0],_0x21ffb3[_0x46fb99(0x1b9)],_0x48fca4);}}catch(_0x3692d3){}!global[_0x46fb99(0x18c)]&&(await global[_0x46fb99(0x18d)][0x0][_0x46fb99(0x160)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x46fb99(0x19b)](this['currentTest']['titlePath']()[_0x46fb99(0x185)](_0x21ffb3['SnAaV']))+'}}'),global[_0x46fb99(0x18d)][0x0][_0x46fb99(0x1a3)]=!![]);const _0x410410=_0x21ffb3[_0x46fb99(0x18f)](this[_0x46fb99(0x1a9)][_0x46fb99(0x174)],_0x21ffb3['ZGcDj']);_0x410410?(global[_0x46fb99(0x19d)]=!![],global[_0x46fb99(0x17c)][_0x46fb99(0x1bd)](this['currentTest'][_0x46fb99(0x1a7)][_0x46fb99(0x1cd)]),await _0x21ffb3['EVute'](_0xc4b5f5,JSON[_0x46fb99(0x19b)](_0x21ffb3[_0x46fb99(0x195)](_0x21ffb3[_0x46fb99(0x1cf)],this[_0x46fb99(0x1a9)][_0x46fb99(0x1a7)]['message'])),_0x21ffb3[_0x46fb99(0x17a)])):await _0x21ffb3[_0x46fb99(0x171)](_0xc4b5f5,JSON[_0x46fb99(0x19b)](_0x21ffb3[_0x46fb99(0x1c6)]),_0x21ffb3['lgARH']);}catch(_0x4ddd78){}try{if(this[_0x46fb99(0x1a9)][_0x46fb99(0x176)]&&globals[_0x46fb99(0x198)](_0x21ffb3[_0x46fb99(0x1a8)])&&globals[_0x46fb99(0x198)](_0x21ffb3['ltLvL'])){logger['info'](_0x21ffb3[_0x46fb99(0x170)]);const _0x464ba9={};_0x464ba9['thTestRunUuid']=this['currentTest'][_0x46fb99(0x16d)],_0x464ba9[_0x46fb99(0x197)]=process[_0x46fb99(0x17e)][testHubConstants['ENV_VAR'][_0x46fb99(0x18b)]],_0x464ba9['thJwtToken']=process[_0x46fb99(0x17e)][testHubConstants[_0x46fb99(0x191)][_0x46fb99(0x1c4)]];const _0x1485ff=_0x464ba9;logger[_0x46fb99(0x16c)](_0x46fb99(0x1af)+JSON[_0x46fb99(0x19b)](_0x1485ff)),logger[_0x46fb99(0x16c)](_0x21ffb3[_0x46fb99(0x1b2)]),logger[_0x46fb99(0x16c)](util['format'](await global[_0x46fb99(0x18d)][0x0][_0x46fb99(0x1ab)](scripts[_0x46fb99(0x1b4)],{'method':global['browserstackSessionName']}))),await global[_0x46fb99(0x18d)][0x0][_0x46fb99(0x1ab)](scripts[_0x46fb99(0x172)],_0x1485ff),logger[_0x46fb99(0x19c)](_0x21ffb3[_0x46fb99(0x1c3)]);}}catch(_0xe2a304){logger[_0x46fb99(0x164)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x46fb99(0x1a9)][_0x46fb99(0x1c2)]()+_0x46fb99(0x19e),_0xe2a304);}try{try{if(_0x21ffb3[_0x46fb99(0x19f)](shouldProcessEventForTesthub)){global[_0x46fb99(0x18d)][0x0]&&await _0x21ffb3['cMPKc'](sendPlatformDetails,global[_0x46fb99(0x18d)][0x0],this[_0x46fb99(0x1a9)]?this[_0x46fb99(0x1a9)]['testAnalyticsId']:null);if(_0x21ffb3[_0x46fb99(0x178)](isBrowserstackInfra)){const _0x1c856b=_0x46fb99(0x1ca)+Date[_0x46fb99(0x161)]();await _0x21ffb3['EVute'](_0xc4b5f5,JSON[_0x46fb99(0x19b)](_0x1c856b),_0x21ffb3[_0x46fb99(0x189)]);}}}catch{}_0x21ffb3[_0x46fb99(0x17d)](global[_0x46fb99(0x18d)][0x0][_0x46fb99(0x16b)],0x0)&&await global[_0x46fb99(0x184)]();}catch(_0x5bdbec){}_0x21ffb3[_0x46fb99(0x19a)](_0x28eed8);})['then'](()=>_0x3c5917());},'afterAll'(_0x159ca8){const _0x17fbab={'OupcB':function(_0x34b4b5){return _0x34b4b5();}},_0x102cac='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0xf72faa=>{const _0x5b3547=a30_0x478d;PerformanceTester[_0x5b3547(0x1ac)](),await global[_0x5b3547(0x184)](),_0x17fbab[_0x5b3547(0x1c8)](_0xf72faa);})['then'](()=>_0x159ca8());}};
1
+ const a30_0x5ce6bf=a30_0x49e7;(function(_0x160fe4,_0x2534b2){const _0x4db779=a30_0x49e7,_0x5610f4=_0x160fe4();while(!![]){try{const _0x46bb11=parseInt(_0x4db779(0x21f))/0x1*(parseInt(_0x4db779(0x222))/0x2)+parseInt(_0x4db779(0x1f1))/0x3+-parseInt(_0x4db779(0x1ce))/0x4*(parseInt(_0x4db779(0x208))/0x5)+parseInt(_0x4db779(0x21e))/0x6*(parseInt(_0x4db779(0x1ed))/0x7)+parseInt(_0x4db779(0x228))/0x8+-parseInt(_0x4db779(0x219))/0x9*(parseInt(_0x4db779(0x1bd))/0xa)+-parseInt(_0x4db779(0x1c2))/0xb*(parseInt(_0x4db779(0x230))/0xc);if(_0x46bb11===_0x2534b2)break;else _0x5610f4['push'](_0x5610f4['shift']());}catch(_0x71ee04){_0x5610f4['push'](_0x5610f4['shift']());}}}(a30_0x4da7,0x5cabe));function a30_0x49e7(_0x47f03c,_0x3b6586){const _0x4da7e3=a30_0x4da7();return a30_0x49e7=function(_0x49e792,_0xebf403){_0x49e792=_0x49e792-0x1bb;let _0x1cdc1d=_0x4da7e3[_0x49e792];return _0x1cdc1d;},a30_0x49e7(_0x47f03c,_0x3b6586);}const util=require(a30_0x5ce6bf(0x1be)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a30_0x5ce6bf(0x20a)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),PerformanceTester=require(a30_0x5ce6bf(0x1d7)),scripts=require(a30_0x5ce6bf(0x1dc)),globals=require('../../helpers/globals'),logger=require(a30_0x5ce6bf(0x22d))[a30_0x5ce6bf(0x200)],{shouldProcessEventForTesthub}=require(a30_0x5ce6bf(0x215)),testHubConstants=require('../../helpers/testhub/constants');exports[a30_0x5ce6bf(0x1bf)]={'beforeAll'(){const _0x12c6e9=a30_0x5ce6bf,_0x42f6ac={'AGTfF':function(_0x4e6a51,_0x3dbe67,_0xcb47b4,_0x44da1d){return _0x4e6a51(_0x3dbe67,_0xcb47b4,_0x44da1d);},'FUPhJ':_0x12c6e9(0x1e8),'COEcz':_0x12c6e9(0x203),'GpCVK':function(_0x13f295,_0x13875e,_0x4ce330){return _0x13f295(_0x13875e,_0x4ce330);},'zJJel':_0x12c6e9(0x1fc),'tjiIr':function(_0x4f6370){return _0x4f6370();},'HgbvW':function(_0x77c838,_0xcf6ec6,_0x4027b5){return _0x77c838(_0xcf6ec6,_0x4027b5);}};PerformanceTester[_0x12c6e9(0x1fe)]();const _0x4ede9b='browserstack internal helper hook';global[_0x12c6e9(0x20b)]=[],global[_0x12c6e9(0x211)]=![],global['driverCleanup']=async()=>{const _0x4a7e35=_0x12c6e9;let _0x332948=![];try{await global[_0x4a7e35(0x1cd)][0x0]['session_'],_0x332948=!![],global[_0x4a7e35(0x211)]?await _0x42f6ac[_0x4a7e35(0x1e3)](markSessionStatus,global[_0x4a7e35(0x1cd)][0x0],_0x42f6ac[_0x4a7e35(0x217)],global[_0x4a7e35(0x20b)][_0x4a7e35(0x1bc)](_0x42f6ac['COEcz'])):await _0x42f6ac[_0x4a7e35(0x22a)](markSessionStatus,global[_0x4a7e35(0x1cd)][0x0],_0x42f6ac[_0x4a7e35(0x1da)]);}catch(_0x2c1ceb){}global['__error_messages__']=[],global[_0x4a7e35(0x211)]=![];if(_0x332948)try{try{_0x42f6ac['tjiIr'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x42f6ac[_0x4a7e35(0x1f9)](sendPlatformDetails,global[_0x4a7e35(0x1cd)][0x0],this[_0x4a7e35(0x1ca)]?this[_0x4a7e35(0x1ca)][_0x4a7e35(0x1c6)]:null));}catch{}await global[_0x4a7e35(0x1cd)][0x0][_0x4a7e35(0x20c)]();}catch(_0x57ea30){}};},'beforeEach'(_0x13d840){const _0x3c2ac5=a30_0x5ce6bf,_0x546b73={'DwaRS':function(_0x333b06,_0x4fb2a1){return _0x333b06>_0x4fb2a1;},'zAkmB':function(_0x4508a3,_0x36ef8f){return _0x4508a3>_0x36ef8f;},'zBLQt':'\x20-\x20','aTFFc':function(_0x83aa8b,_0xcf990f,_0x19a216){return _0x83aa8b(_0xcf990f,_0x19a216);},'pOtIt':_0x3c2ac5(0x1e9),'jJbKe':function(_0x5a8a34){return _0x5a8a34();},'iZtUL':function(_0x1a2f22,_0x35a392){return _0x1a2f22>_0x35a392;},'bJXFD':_0x3c2ac5(0x1f8),'HxUJE':function(_0x35bdc2,_0x5b6b71){return _0x35bdc2===_0x5b6b71;},'DlZbv':_0x3c2ac5(0x1cb),'fJiXh':'https:','BeSih':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','NvLdX':_0x3c2ac5(0x202),'ayeCB':function(_0x29d8a7){return _0x29d8a7();}};new Promise(async _0x3c9020=>{const _0x1e6222=_0x3c2ac5,_0x3ca21c='browserstack internal helper hook';let _0x5c2963=!![];try{_0x546b73[_0x1e6222(0x1fa)](global[_0x1e6222(0x1cd)]['length'],0x1)&&(await global[_0x1e6222(0x1f0)](),global['__drivers'][_0x1e6222(0x21d)]()),_0x546b73[_0x1e6222(0x1fb)](global['__drivers'][0x0][_0x1e6222(0x1ef)],0x0)&&(_0x5c2963=![],await global[_0x1e6222(0x1f0)]());}catch{}try{Array[_0x1e6222(0x221)](global[_0x1e6222(0x1cd)])&&global[_0x1e6222(0x1cd)][0x0]&&(global[_0x1e6222(0x1cd)][0x0][_0x1e6222(0x213)]=this['currentTest'][_0x1e6222(0x227)]()[_0x1e6222(0x1bc)](_0x546b73['zBLQt'])),global[_0x1e6222(0x213)]=this['currentTest'][_0x1e6222(0x227)]()['join'](_0x546b73[_0x1e6222(0x1fd)]);}catch(_0x5a4245){logger[_0x1e6222(0x22b)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5a4245);}this[_0x1e6222(0x1ca)][_0x1e6222(0x21c)]=_0x546b73['aTFFc'](shouldScanTestForAccessibility,this['currentTest'][_0x1e6222(0x227)](),!![]),globals[_0x1e6222(0x1c9)](_0x546b73[_0x1e6222(0x1d1)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x1e6222(0x1ca)][_0x1e6222(0x209)]=!![];if(_0x546b73[_0x1e6222(0x20f)](isAccessibilityAutomationSession)&&_0x5c2963&&Array['isArray'](global[_0x1e6222(0x1cd)])&&_0x546b73['iZtUL'](global[_0x1e6222(0x1cd)][_0x1e6222(0x1f3)],0x0)&&globals[_0x1e6222(0x229)](_0x546b73[_0x1e6222(0x1d3)]))try{const _0x1b3d14=await global[_0x1e6222(0x1cd)][0x0][_0x1e6222(0x1cc)];if(_0x1b3d14){let _0xb1a13b=!![];const _0x3d9cbf=await global[_0x1e6222(0x1cd)][0x0][_0x1e6222(0x1e7)]();let _0x1b4336;try{_0x1b4336=new URL(_0x3d9cbf);}catch(_0x59d2fe){_0xb1a13b=![];}_0xb1a13b=_0x546b73[_0x1e6222(0x205)](_0x1b4336[_0x1e6222(0x1f7)],_0x546b73[_0x1e6222(0x1e4)])||_0x546b73[_0x1e6222(0x205)](_0x1b4336[_0x1e6222(0x1f7)],_0x546b73[_0x1e6222(0x1f2)]),_0xb1a13b&&(this[_0x1e6222(0x1ca)][_0x1e6222(0x21c)]&&logger[_0x1e6222(0x204)](_0x546b73[_0x1e6222(0x1e2)])),this[_0x1e6222(0x1ca)][_0x1e6222(0x209)]=this['currentTest']['shouldScanTestForAccessibility'],this[_0x1e6222(0x1ca)][_0x1e6222(0x21c)]&&logger[_0x1e6222(0x204)](_0x546b73[_0x1e6222(0x1f4)]);}}catch(_0x43d208){logger[_0x1e6222(0x210)](_0x1e6222(0x1df)+util['format'](_0x43d208));}_0x546b73['ayeCB'](_0x3c9020);})[_0x3c2ac5(0x1d2)](_0x13d840);},'afterEach'(_0x3fcfd1){const _0x576e4c=a30_0x5ce6bf,_0xa7940c={'AgIDE':function(_0x5ecf31,_0x3b0555){return _0x5ecf31>_0x3b0555;},'KqEdZ':function(_0x2a2f50,_0x112cd){return _0x2a2f50===_0x112cd;},'JVOsr':_0x576e4c(0x1c0),'HGmuY':_0x576e4c(0x22e),'itxIH':function(_0x363c80,_0x12919,_0x4cb1b3,_0x59c8b8){return _0x363c80(_0x12919,_0x4cb1b3,_0x59c8b8);},'FOSLj':_0x576e4c(0x216),'teoQt':function(_0x8503d9,_0x454cd4){return _0x8503d9!==_0x454cd4;},'DHCOQ':_0x576e4c(0x1fc),'elDuc':function(_0xbe8c74,_0x32ef4c,_0x526d92){return _0xbe8c74(_0x32ef4c,_0x526d92);},'cVAEb':function(_0x3a99ba,_0x3a3b00){return _0x3a99ba+_0x3a3b00;},'CKxvj':_0x576e4c(0x20e),'pJpxM':'error','paTpK':function(_0x19320c,_0x178c51,_0x5a088f){return _0x19320c(_0x178c51,_0x5a088f);},'PLaNr':_0x576e4c(0x1c8),'srfIT':_0x576e4c(0x204),'YjknA':_0x576e4c(0x1f8),'Kfbto':'bstackA11yShouldScan','IrBvb':_0x576e4c(0x207),'HbUNk':'Performing\x20scan\x20before\x20saving\x20results','ZlWZP':_0x576e4c(0x201),'sjNQu':function(_0x21751d){return _0x21751d();},'NDqvr':_0x576e4c(0x22b),'SyJYe':function(_0x54e748,_0x1545da){return _0x54e748>_0x1545da;}},_0x1617f9='browserstack internal helper hook';this[_0x576e4c(0x1d5)](0xfde8);const _0x19ee1f=async(_0xbfa5f8,_0x1906cc)=>{const _0x567bea=_0x576e4c;await global['__drivers'][0x0][_0x567bea(0x1eb)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xbfa5f8+_0x567bea(0x1c4)+_0x1906cc+'\x22}}');};new Promise(async _0x6ef104=>{const _0x35f7ba=_0x576e4c;try{_0xa7940c[_0x35f7ba(0x22f)](global['__drivers'][_0x35f7ba(0x1f3)],0x1)&&(await global[_0x35f7ba(0x1f0)](),global[_0x35f7ba(0x1cd)][_0x35f7ba(0x21d)](),global['__error_messages__']=[],global[_0x35f7ba(0x211)]=![]);try{if(global[_0x35f7ba(0x1dd)]&&_0xa7940c['KqEdZ'](global[_0x35f7ba(0x223)],_0xa7940c[_0x35f7ba(0x1f5)])&&global['__drivers'][0x0]){const _0x25c58c=_0xa7940c[_0x35f7ba(0x22f)](global['capabilities'][_0x35f7ba(0x1f3)],0x0)?!!global[_0x35f7ba(0x225)][0x0][_0x35f7ba(0x1d4)]||!!global[_0x35f7ba(0x225)][0x0][_0xa7940c[_0x35f7ba(0x1de)]]:![],_0x11f929={};_0x11f929[_0x35f7ba(0x1d4)]=_0x25c58c,await _0xa7940c['itxIH'](percyAutoCapture,global[_0x35f7ba(0x1cd)][0x0],_0xa7940c[_0x35f7ba(0x1f5)],_0x11f929);}}catch(_0x1c4b35){}!global[_0x35f7ba(0x20d)]&&(await global['__drivers'][0x0][_0x35f7ba(0x1eb)](_0x35f7ba(0x206)+JSON[_0x35f7ba(0x1d9)](this[_0x35f7ba(0x1ca)]['titlePath']()[_0x35f7ba(0x1bc)](_0xa7940c[_0x35f7ba(0x1d0)]))+'}}'),global['__drivers'][0x0][_0x35f7ba(0x218)]=!![]);const _0x3d1f66=_0xa7940c[_0x35f7ba(0x226)](this[_0x35f7ba(0x1ca)][_0x35f7ba(0x1bb)],_0xa7940c[_0x35f7ba(0x1d6)]);_0x3d1f66?(global[_0x35f7ba(0x211)]=!![],global[_0x35f7ba(0x20b)]['push'](this[_0x35f7ba(0x1ca)][_0x35f7ba(0x1c1)]['message']),await _0xa7940c[_0x35f7ba(0x220)](_0x19ee1f,JSON[_0x35f7ba(0x1d9)](_0xa7940c['cVAEb'](_0xa7940c['CKxvj'],this[_0x35f7ba(0x1ca)]['err'][_0x35f7ba(0x1f6)])),_0xa7940c['pJpxM'])):await _0xa7940c[_0x35f7ba(0x1ee)](_0x19ee1f,JSON['stringify'](_0xa7940c[_0x35f7ba(0x1e1)]),_0xa7940c['srfIT']);}catch(_0x3f79ef){}try{if(this['currentTest'][_0x35f7ba(0x209)]&&globals[_0x35f7ba(0x229)](_0xa7940c[_0x35f7ba(0x1c5)])&&globals[_0x35f7ba(0x229)](_0xa7940c[_0x35f7ba(0x1cf)])){logger[_0x35f7ba(0x204)](_0xa7940c[_0x35f7ba(0x1e6)]);const _0x22a17e={};_0x22a17e[_0x35f7ba(0x1c7)]=this[_0x35f7ba(0x1ca)][_0x35f7ba(0x1c6)],_0x22a17e['thBuildUuid']=process['env'][testHubConstants[_0x35f7ba(0x1e0)][_0x35f7ba(0x1ea)]],_0x22a17e[_0x35f7ba(0x224)]=process[_0x35f7ba(0x214)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x5340a2=_0x22a17e;logger['debug'](_0x35f7ba(0x212)+JSON[_0x35f7ba(0x1d9)](_0x5340a2)),logger['debug'](_0xa7940c['HbUNk']),logger['debug'](util['format'](await global[_0x35f7ba(0x1cd)][0x0][_0x35f7ba(0x1c3)](scripts[_0x35f7ba(0x231)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x35f7ba(0x1ec)],_0x5340a2),logger['info'](_0xa7940c[_0x35f7ba(0x1ff)]);}}catch(_0x11f54b){logger[_0x35f7ba(0x210)](_0x35f7ba(0x21b)+this[_0x35f7ba(0x1ca)][_0x35f7ba(0x227)]()+_0x35f7ba(0x22c),_0x11f54b);}try{try{if(_0xa7940c[_0x35f7ba(0x1db)](shouldProcessEventForTesthub)){global[_0x35f7ba(0x1cd)][0x0]&&await _0xa7940c[_0x35f7ba(0x220)](sendPlatformDetails,global['__drivers'][0x0],this[_0x35f7ba(0x1ca)]?this[_0x35f7ba(0x1ca)]['testAnalyticsId']:null);if(_0xa7940c['sjNQu'](isBrowserstackInfra)){const _0x4150d4='ObservabilitySync:'+Date['now']();await _0xa7940c[_0x35f7ba(0x220)](_0x19ee1f,JSON[_0x35f7ba(0x1d9)](_0x4150d4),_0xa7940c[_0x35f7ba(0x1d8)]);}}}catch{}_0xa7940c[_0x35f7ba(0x21a)](global[_0x35f7ba(0x1cd)][0x0][_0x35f7ba(0x1ef)],0x0)&&await global[_0x35f7ba(0x1f0)]();}catch(_0x49ef1f){}_0xa7940c[_0x35f7ba(0x1db)](_0x6ef104);})[_0x576e4c(0x1d2)](()=>_0x3fcfd1());},'afterAll'(_0x502b15){const _0x4b34ed=a30_0x5ce6bf,_0x1f0e44={'QvPVo':function(_0x2f4e4a){return _0x2f4e4a();}},_0xc31ce4='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x54b460=>{const _0x53b7c0=a30_0x49e7;PerformanceTester['stopMonitoring'](),await global['driverCleanup'](),_0x1f0e44[_0x53b7c0(0x1e5)](_0x54b460);})[_0x4b34ed(0x1d2)](()=>_0x502b15());}};function a30_0x4da7(){const _0x7bbc3f=['../../helpers/testhub/utils','\x20-\x20','FUPhJ','sessionNameSet__','18bSGZOt','SyJYe','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','shouldScanTestForAccessibility','shift','6wPWMUA','24oAwcDM','elDuc','isArray','26166vctruo','percyCaptureMode','thJwtToken','capabilities','teoQt','titlePath','2551432CkdUFu','getGlobal','GpCVK','debug','.\x20Error\x20:','../../helpers/logger','appium:app','AgIDE','152940vXsuhM','performScan','state','join','1212370KPzMDQ','util','mochaHooks','testcase','err','341LvfAgb','executeAsyncScript',',\x22level\x22:\x20\x22','YjknA','testAnalyticsId','thTestRunUuid','Passed','setGlobal','currentTest','http:','session_','__drivers','60mtQtyw','Kfbto','FOSLj','pOtIt','then','bJXFD','app','timeout','DHCOQ','../../helpers/performance-tester','NDqvr','stringify','zJJel','sjNQu','../../helpers/accessibility-automation/scripts','percy','HGmuY','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','ENV_VAR','PLaNr','BeSih','AGTfF','DlZbv','QvPVo','IrBvb','getCurrentUrl','failed','bstackA11yShouldScan','BROWSERSTACK_TESTHUB_UUID','executeScript','saveTestResults','1867082FmFIrM','paTpK','quitCount_','driverCleanup','660537BLduNj','fJiXh','length','NvLdX','JVOsr','message','protocol','isAccessibilityPlatform','HgbvW','DwaRS','zAkmB','passed','zBLQt','startMonitoring','ZlWZP','winstonLogger','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Automate\x20test\x20case\x20execution\x20has\x20started.','\x20|\x20','info','HxUJE','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','34225zzPZTG','accessibilityScanStarted','./test-observability/mochaUtils','__error_messages__','initQuit','__skipSessionName','Failed:\x20','jJbKe','error','__sessionFailed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserstackSessionName','env'];a30_0x4da7=function(){return _0x7bbc3f;};return a30_0x4da7();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0xbbfe06=a31_0x56fd;(function(_0x298491,_0x534ab6){const _0x22dca4=a31_0x56fd,_0x4db56f=_0x298491();while(!![]){try{const _0x5d6571=parseInt(_0x22dca4(0x14d))/0x1*(-parseInt(_0x22dca4(0x15f))/0x2)+parseInt(_0x22dca4(0x158))/0x3*(parseInt(_0x22dca4(0x134))/0x4)+parseInt(_0x22dca4(0x135))/0x5*(-parseInt(_0x22dca4(0x15b))/0x6)+parseInt(_0x22dca4(0x14c))/0x7*(-parseInt(_0x22dca4(0x13d))/0x8)+parseInt(_0x22dca4(0x13c))/0x9+-parseInt(_0x22dca4(0x139))/0xa*(parseInt(_0x22dca4(0x149))/0xb)+parseInt(_0x22dca4(0x130))/0xc*(parseInt(_0x22dca4(0x126))/0xd);if(_0x5d6571===_0x534ab6)break;else _0x4db56f['push'](_0x4db56f['shift']());}catch(_0x53b6f5){_0x4db56f['push'](_0x4db56f['shift']());}}}(a31_0x38dc,0x7530e));function a31_0x56fd(_0x24f8d5,_0x5eb37a){const _0x38dc2b=a31_0x38dc();return a31_0x56fd=function(_0x56fd72,_0x265317){_0x56fd72=_0x56fd72-0x115;let _0x222c89=_0x38dc2b[_0x56fd72];return _0x222c89;},a31_0x56fd(_0x24f8d5,_0x5eb37a);}const fs=require('fs'),path=require(a31_0xbbfe06(0x15d)),{spawn}=require(a31_0xbbfe06(0x141)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a31_0xbbfe06(0x117)),helper=require(a31_0xbbfe06(0x145)),constants=require(a31_0xbbfe06(0x155)),getUserNightwatchConfigs=(_0x256538,_0x497ad2)=>{const _0x386d8a=a31_0xbbfe06,_0x16d070={'jqxCH':_0x386d8a(0x159),'zEsyE':_0x386d8a(0x148),'RAeXQ':function(_0x114e53,_0x4ec4cb){return _0x114e53(_0x4ec4cb);},'yAmQA':_0x386d8a(0x12a)};let _0x4320e9=null,_0x4f80a8={};const _0x8c9080=_0x497ad2[_0x386d8a(0x115)](_0x5e89ff=>_0x5e89ff===_0x386d8a(0x138));if(!helper[_0x386d8a(0x116)](_0x256538[_0x386d8a(0x151)])&&fs[_0x386d8a(0x119)](path[_0x386d8a(0x131)](process[_0x386d8a(0x11c)](),_0x256538[_0x386d8a(0x151)])))_0x4320e9=path[_0x386d8a(0x131)](process[_0x386d8a(0x11c)](),_0x256538[_0x386d8a(0x151)]),_0x497ad2[_0x386d8a(0x144)](_0x8c9080,0x2);else{if(fs[_0x386d8a(0x119)](path[_0x386d8a(0x131)](process[_0x386d8a(0x11c)](),_0x16d070[_0x386d8a(0x163)])))_0x4320e9=path[_0x386d8a(0x131)](process[_0x386d8a(0x11c)](),_0x16d070[_0x386d8a(0x163)]);else fs[_0x386d8a(0x119)](path[_0x386d8a(0x131)](process[_0x386d8a(0x11c)](),_0x16d070[_0x386d8a(0x14f)]))&&(_0x4320e9=path['join'](process['cwd'](),_0x16d070['zEsyE']));}return _0x4320e9?(logger[_0x386d8a(0x13e)](_0x386d8a(0x156)+_0x4320e9),_0x4f80a8=_0x16d070[_0x386d8a(0x12f)](require,_0x4320e9)):logger[_0x386d8a(0x13e)](_0x16d070['yAmQA']),_0x4f80a8;},removeExistingEnvs=_0x520f15=>{const _0x47fbed=a31_0xbbfe06,_0x320163={};_0x320163[_0x47fbed(0x123)]=function(_0x35ca46,_0x39f2da){return _0x35ca46>_0x39f2da;},_0x320163[_0x47fbed(0x11b)]=function(_0x309a46,_0x3eb7f3){return _0x309a46>_0x3eb7f3;};const _0x38921f=_0x320163;let _0xd35f0e=_0x520f15[_0x47fbed(0x115)](_0x2677dd=>_0x2677dd===_0x47fbed(0x12d));_0x38921f[_0x47fbed(0x123)](_0xd35f0e,-0x1)&&_0x520f15[_0x47fbed(0x144)](_0xd35f0e,0x2),_0xd35f0e=_0x520f15['findIndex'](_0x1351c1=>_0x1351c1==='-e'),_0x38921f[_0x47fbed(0x11b)](_0xd35f0e,-0x1)&&_0x520f15['splice'](_0xd35f0e,0x2);};function a31_0x38dc(){const _0x306166=['path','useW3C','926alLYWQ','getPlatformName','GHjJo','slice','jqxCH','push','mergeDeep','findIndex','isUndefined','../../helpers/BrowserStackSetup','IJEkt','existsSync','test_settings','ElGsx','cwd','platforms','nightwatch','start_process','zklHb','webdriver','trim','UFIbT','split','debug','42731oyGXrE','desiredCapabilities','selenium','xnIeJ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','stringify','unlinkSync','--env','modifyBrowserStackW3CCaps','RAeXQ','7836SBCZLc','join','forEach','uIsJU','96WpRvUI','15tOnBPu','LwxgQ','modifyBrowserStackCaps','--config','20JNUCcL','exports','env','5123619tAynwp','72QPZzVJ','info','JlPKD','Deleting\x20','child_process','hub.browserstack.com','jwOez','splice','../../helpers/helper','map','pHfpg','nightwatch.json','2149081NsPesY','nightwatch.cmd','sDLoM','541919qcIfmS','1044qfvYtr','filter','zEsyE','writeFileSync','config','child\x20process\x20exited\x20with\x20code\x20','znOqc','JWgDc','../utils/constants','Getting\x20your\x20nightwatch\x20configs\x20from\x20','BQbeL','25224MOrtWg','nightwatch.conf.js','host','1733226vcoaPy','XPMQs'];a31_0x38dc=function(){return _0x306166;};return a31_0x38dc();}function run(_0x5030b6,_0x3f166f){const _0x2d70ed=a31_0xbbfe06,_0x2dd569={'XPMQs':_0x2d70ed(0x11e),'zklHb':function(_0x521f0e,_0xc83ca){return _0x521f0e+_0xc83ca;},'LwxgQ':_0x2d70ed(0x11a),'DnZDO':function(_0x38686d,_0x25f2f3,_0x27ab1c){return _0x38686d(_0x25f2f3,_0x27ab1c);},'xnIeJ':_0x2d70ed(0x142),'znOqc':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','uIsJU':function(_0x1913a5,_0x3be163){return _0x1913a5===_0x3be163;},'JlPKD':'nightwatch-browserstack.json','jwOez':function(_0x4d45c4,_0x5b2b41){return _0x4d45c4(_0x5b2b41);},'YcdJQ':function(_0x3be265,_0x3bc26f,_0x3fe64a,_0x4547f1){return _0x3be265(_0x3bc26f,_0x3fe64a,_0x4547f1);},'GHjJo':_0x2d70ed(0x14a),'pHfpg':'--config','NnVnB':'--env','sDLoM':'inherit','JWgDc':'close'},_0x24b8a3=new BrowserStackSetup(_0x5030b6);if(!_0x24b8a3[_0x2d70ed(0x151)])return;const _0x5ee0d4=_0x2dd569['DnZDO'](getUserNightwatchConfigs,_0x5030b6,_0x3f166f),_0x24caa5={};_0x24caa5[_0x2d70ed(0x11f)]=![];const _0x50b2ae={};_0x50b2ae[_0x2d70ed(0x15a)]=_0x2dd569[_0x2d70ed(0x129)],_0x50b2ae['port']=0x1bb;const _0x352bd6={};_0x352bd6[_0x2d70ed(0x121)]=_0x24caa5,_0x352bd6[_0x2d70ed(0x128)]=_0x50b2ae;const _0x4c5590=_0x352bd6;logger[_0x2d70ed(0x13e)](_0x2dd569[_0x2d70ed(0x153)]);const _0x1108e4={..._0x5ee0d4},_0x3005cd=_0x1108e4,_0x596b00=helper[_0x2d70ed(0x15e)](_0x24b8a3[_0x2d70ed(0x151)]),_0x39e06f=[];_0x24b8a3['config'][_0x2d70ed(0x11d)][_0x2d70ed(0x132)]((_0x38be89,_0x1513f6)=>{const _0x280d12=_0x2d70ed;_0x596b00?_0x39e06f[_0x280d12(0x164)](helper[_0x280d12(0x12e)](_0x24b8a3[_0x280d12(0x151)],_0x2dd569[_0x280d12(0x15c)],_0x1513f6)):_0x39e06f['push'](helper[_0x280d12(0x137)](_0x24b8a3[_0x280d12(0x151)],_0x2dd569[_0x280d12(0x15c)],_0x1513f6));});const _0x3495d5={},_0x1b7b92=[];_0x5030b6[_0x2d70ed(0x13b)]=_0x5030b6[_0x2d70ed(0x13b)]||_0x5030b6['e'];const _0x26d0cd=_0x5030b6[_0x2d70ed(0x13b)]?_0x5030b6[_0x2d70ed(0x13b)][_0x2d70ed(0x122)]()[_0x2d70ed(0x124)](',')[_0x2d70ed(0x146)](_0x2b4279=>_0x2b4279['trim']())[_0x2d70ed(0x14e)](_0x4cd6e1=>_0x4cd6e1!==''):[''];_0x2dd569[_0x2d70ed(0x133)](_0x26d0cd['length'],0x0)&&_0x26d0cd['push']('');_0x26d0cd[_0x2d70ed(0x132)](_0x1737e2=>{const _0x5705dc=_0x2d70ed,_0x5d43d1={'BQbeL':function(_0x4f7ec1,_0x45840e){const _0x4ae526=a31_0x56fd;return _0x2dd569[_0x4ae526(0x120)](_0x4f7ec1,_0x45840e);},'IJEkt':_0x2dd569[_0x5705dc(0x136)]};_0x39e06f[_0x5705dc(0x132)](_0xd0fe26=>{const _0x281134=_0x5705dc;let _0x5666db=_0x5d43d1[_0x281134(0x157)](helper[_0x281134(0x160)](_0xd0fe26,'_'),'_'+Date['now']());_0x1737e2&&(_0x5666db+='_'+_0x1737e2);if(_0x1737e2&&(!_0x5ee0d4[_0x5d43d1[_0x281134(0x118)]]||!_0x5ee0d4[_0x5d43d1[_0x281134(0x118)]][_0x1737e2]))return;const _0x4ced97={..._0x4c5590};_0x4ced97[_0x281134(0x127)]=_0xd0fe26;const _0x38c45d=_0x4ced97;_0x3495d5[_0x5666db]=_0x1737e2?helper[_0x281134(0x165)](_0x5ee0d4[_0x5d43d1[_0x281134(0x118)]][_0x1737e2],_0x38c45d):_0x38c45d,_0x1b7b92[_0x281134(0x164)](_0x5666db);});});!_0x3005cd['test_settings']&&(_0x3005cd[_0x2d70ed(0x11a)]={});_0x3005cd[_0x2d70ed(0x11a)]={..._0x3005cd[_0x2d70ed(0x11a)],..._0x3495d5};const _0xdc907a=path['join'](__dirname,_0x2dd569[_0x2d70ed(0x13f)]);fs[_0x2d70ed(0x150)](_0xdc907a,JSON[_0x2d70ed(0x12b)](_0x3005cd)),_0x2dd569[_0x2d70ed(0x143)](removeExistingEnvs,_0x3f166f);const _0x437060=_0x2dd569['YcdJQ'](spawn,/^win/['test'](process['platform'])?_0x2dd569[_0x2d70ed(0x161)]:_0x2dd569['XPMQs'],[_0x2dd569[_0x2d70ed(0x147)],_0xdc907a,..._0x3f166f[_0x2d70ed(0x162)](0x1),_0x2dd569['NnVnB'],_0x1b7b92[_0x2d70ed(0x131)](',')],{'stdio':_0x2dd569[_0x2d70ed(0x14b)]});_0x437060['on'](_0x2dd569[_0x2d70ed(0x154)],async _0x3cc95c=>{const _0x43d920=_0x2d70ed;logger[_0x43d920(0x125)](_0x43d920(0x152)+_0x3cc95c),logger[_0x43d920(0x13e)](_0x43d920(0x140)+_0xdc907a),fs[_0x43d920(0x12c)](_0xdc907a);});}module[a31_0xbbfe06(0x13a)]=run;
2
+ 'use strict';function a31_0x5a2f(){const _0x4c3ba9=['Getting\x20your\x20nightwatch\x20configs\x20from\x20','qljHb','env','xQSdG','test','winstonLogger','join','3421395VRhATR','../../helpers/helper','exports','splice','selenium','WiKHA','modifyBrowserStackW3CCaps','stringify','path','2693604WIABtR','nightwatch.conf.js','port','PJBrO','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','platforms','--config','120biQVAT','../../helpers/BrowserStackSetup','XhJln','2466iZeGgU','findIndex','push','unlinkSync','info','dgWUO','SHavw','../../helpers/logger','cwd','5840GxlBCc','host','RtTwM','slice','getPlatformName','writeFileSync','isUndefined','existsSync','JfPfh','start_process','35014YJrXMF','nightwatch-browserstack.json','19576uowVOb','forEach','inherit','Dztlr','13772YgbXkk','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','now','147OFSPBt','wDUkf','eKppg','--env','NtIEN','nightwatch.json','zeIAN','child\x20process\x20exited\x20with\x20code\x20','hub.browserstack.com','close','trim','Deleting\x20','length','zxIqt','nightwatch.cmd','config','IjyCX','78974dDqErK','HhvaX','1171567AbMuKL','webdriver','test_settings','split'];a31_0x5a2f=function(){return _0x4c3ba9;};return a31_0x5a2f();}function a31_0x2262(_0x3df6d9,_0x38f52e){const _0x5a2fc4=a31_0x5a2f();return a31_0x2262=function(_0x2262c7,_0x208498){_0x2262c7=_0x2262c7-0x97;let _0x2745e0=_0x5a2fc4[_0x2262c7];return _0x2745e0;},a31_0x2262(_0x3df6d9,_0x38f52e);}const a31_0x40f583=a31_0x2262;(function(_0x276370,_0x23f21f){const _0x4a6e18=a31_0x2262,_0x54ac8=_0x276370();while(!![]){try{const _0x2c7f9d=-parseInt(_0x4a6e18(0xa3))/0x1+parseInt(_0x4a6e18(0xd4))/0x2*(parseInt(_0x4a6e18(0xdd))/0x3)+parseInt(_0x4a6e18(0xb7))/0x4+parseInt(_0x4a6e18(0xae))/0x5+-parseInt(_0x4a6e18(0xbe))/0x6*(parseInt(_0x4a6e18(0xa1))/0x7)+-parseInt(_0x4a6e18(0xd6))/0x8*(-parseInt(_0x4a6e18(0xc1))/0x9)+-parseInt(_0x4a6e18(0xca))/0xa*(parseInt(_0x4a6e18(0xda))/0xb);if(_0x2c7f9d===_0x23f21f)break;else _0x54ac8['push'](_0x54ac8['shift']());}catch(_0x30e5cb){_0x54ac8['push'](_0x54ac8['shift']());}}}(a31_0x5a2f,0xb8f7a));const fs=require('fs'),path=require(a31_0x40f583(0xb6)),{spawn}=require('child_process'),logger=require(a31_0x40f583(0xc8))[a31_0x40f583(0xac)],{default:BrowserStackSetup}=require(a31_0x40f583(0xbf)),helper=require(a31_0x40f583(0xaf)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x265a4a,_0x1b815a)=>{const _0x52a300=a31_0x40f583,_0x52e784={'IjyCX':_0x52a300(0xb8),'zxIqt':_0x52a300(0xe2),'SHavw':function(_0x1651d3,_0x4c976c){return _0x1651d3(_0x4c976c);},'HhvaX':_0x52a300(0xdb)};let _0x4d19f1=null,_0x57bed3={};const _0x14d54c=_0x1b815a['findIndex'](_0x2dfce8=>_0x2dfce8==='--config');if(!helper[_0x52a300(0xd0)](_0x265a4a[_0x52a300(0x9f)])&&fs['existsSync'](path[_0x52a300(0xad)](process['cwd'](),_0x265a4a[_0x52a300(0x9f)])))_0x4d19f1=path[_0x52a300(0xad)](process['cwd'](),_0x265a4a[_0x52a300(0x9f)]),_0x1b815a[_0x52a300(0xb1)](_0x14d54c,0x2);else{if(fs[_0x52a300(0xd1)](path['join'](process[_0x52a300(0xc9)](),_0x52e784[_0x52a300(0xa0)])))_0x4d19f1=path[_0x52a300(0xad)](process['cwd'](),_0x52e784[_0x52a300(0xa0)]);else fs[_0x52a300(0xd1)](path['join'](process[_0x52a300(0xc9)](),_0x52e784[_0x52a300(0x9d)]))&&(_0x4d19f1=path[_0x52a300(0xad)](process['cwd'](),_0x52e784['zxIqt']));}return _0x4d19f1?(logger['info'](_0x52a300(0xa7)+_0x4d19f1),_0x57bed3=_0x52e784[_0x52a300(0xc7)](require,_0x4d19f1)):logger[_0x52a300(0xc5)](_0x52e784[_0x52a300(0xa2)]),_0x57bed3;},removeExistingEnvs=_0xe47028=>{const _0x441a82=a31_0x40f583,_0x4f8816={};_0x4f8816[_0x441a82(0xc0)]=function(_0x2c6faa,_0x51e937){return _0x2c6faa>_0x51e937;},_0x4f8816[_0x441a82(0xd2)]=function(_0x3fdc4,_0x4f206f){return _0x3fdc4>_0x4f206f;};const _0x43b0e4=_0x4f8816;let _0x166683=_0xe47028[_0x441a82(0xc2)](_0x297020=>_0x297020===_0x441a82(0xe0));_0x43b0e4[_0x441a82(0xc0)](_0x166683,-0x1)&&_0xe47028[_0x441a82(0xb1)](_0x166683,0x2),_0x166683=_0xe47028[_0x441a82(0xc2)](_0xfe9b69=>_0xfe9b69==='-e'),_0x43b0e4[_0x441a82(0xd2)](_0x166683,-0x1)&&_0xe47028[_0x441a82(0xb1)](_0x166683,0x2);};function run(_0x3a646f,_0x34c0e9){const _0x266bd6=a31_0x40f583,_0xa5ad8d={'WiKHA':'nightwatch','zeIAN':function(_0xada4c,_0xd17566){return _0xada4c+_0xd17566;},'Rvoae':_0x266bd6(0xa5),'vuEqv':function(_0x5db07d,_0x50da9a,_0x26832e){return _0x5db07d(_0x50da9a,_0x26832e);},'dgWUO':_0x266bd6(0x98),'Dztlr':_0x266bd6(0xbb),'qljHb':function(_0x363027,_0x1217c3){return _0x363027===_0x1217c3;},'mGXzH':_0x266bd6(0xd5),'RtTwM':function(_0x3a0d12,_0x43cf06){return _0x3a0d12(_0x43cf06);},'wDUkf':function(_0x3f7e92,_0x1b2c4c,_0x5d7abb,_0x490df8){return _0x3f7e92(_0x1b2c4c,_0x5d7abb,_0x490df8);},'WsWJF':_0x266bd6(0x9e),'BEgWm':_0x266bd6(0xbd),'PJBrO':_0x266bd6(0xe0),'eKppg':_0x266bd6(0xd8),'NtIEN':_0x266bd6(0x99)},_0x5e01cb=new BrowserStackSetup(_0x3a646f);if(!_0x5e01cb[_0x266bd6(0x9f)])return;const _0x5071ec=_0xa5ad8d['vuEqv'](getUserNightwatchConfigs,_0x3a646f,_0x34c0e9),_0x38f195={};_0x38f195[_0x266bd6(0xd3)]=![];const _0x442a30={};_0x442a30[_0x266bd6(0xcb)]=_0xa5ad8d[_0x266bd6(0xc6)],_0x442a30[_0x266bd6(0xb9)]=0x1bb;const _0x554384={};_0x554384[_0x266bd6(0xa4)]=_0x38f195,_0x554384[_0x266bd6(0xb2)]=_0x442a30;const _0x5d76af=_0x554384;logger[_0x266bd6(0xc5)](_0xa5ad8d[_0x266bd6(0xd9)]);const _0x2ab659={..._0x5071ec},_0x2fd7c9=_0x2ab659,_0x1eeeef=helper['useW3C'](_0x5e01cb['config']),_0x2fd1aa=[];_0x5e01cb[_0x266bd6(0x9f)][_0x266bd6(0xbc)][_0x266bd6(0xd7)]((_0xd39f60,_0x1daead)=>{const _0x488354=_0x266bd6;_0x1eeeef?_0x2fd1aa[_0x488354(0xc3)](helper[_0x488354(0xb4)](_0x5e01cb[_0x488354(0x9f)],_0xa5ad8d[_0x488354(0xb3)],_0x1daead)):_0x2fd1aa[_0x488354(0xc3)](helper['modifyBrowserStackCaps'](_0x5e01cb[_0x488354(0x9f)],_0xa5ad8d[_0x488354(0xb3)],_0x1daead));});const _0xd58678={},_0x16f4ef=[];_0x3a646f[_0x266bd6(0xa9)]=_0x3a646f[_0x266bd6(0xa9)]||_0x3a646f['e'];const _0x183e48=_0x3a646f[_0x266bd6(0xa9)]?_0x3a646f[_0x266bd6(0xa9)][_0x266bd6(0x9a)]()[_0x266bd6(0xa6)](',')['map'](_0x4512b5=>_0x4512b5[_0x266bd6(0x9a)]())['filter'](_0xdbe097=>_0xdbe097!==''):[''];_0xa5ad8d[_0x266bd6(0xa8)](_0x183e48[_0x266bd6(0x9c)],0x0)&&_0x183e48[_0x266bd6(0xc3)]('');_0x183e48[_0x266bd6(0xd7)](_0x48b919=>{const _0x53306e=_0x266bd6,_0x598ca2={'cknYh':function(_0x57dae3,_0xebcffd){const _0x531779=a31_0x2262;return _0xa5ad8d[_0x531779(0xe3)](_0x57dae3,_0xebcffd);},'xQSdG':_0xa5ad8d['Rvoae']};_0x2fd1aa[_0x53306e(0xd7)](_0x46fcbe=>{const _0xe7fe8=_0x53306e;let _0x14d882=_0x598ca2['cknYh'](helper[_0xe7fe8(0xce)](_0x46fcbe,'_'),'_'+Date[_0xe7fe8(0xdc)]());_0x48b919&&(_0x14d882+='_'+_0x48b919);if(_0x48b919&&(!_0x5071ec[_0x598ca2[_0xe7fe8(0xaa)]]||!_0x5071ec[_0x598ca2[_0xe7fe8(0xaa)]][_0x48b919]))return;const _0xb778ca={..._0x5d76af};_0xb778ca['desiredCapabilities']=_0x46fcbe;const _0x3fc230=_0xb778ca;_0xd58678[_0x14d882]=_0x48b919?helper['mergeDeep'](_0x5071ec[_0x598ca2['xQSdG']][_0x48b919],_0x3fc230):_0x3fc230,_0x16f4ef['push'](_0x14d882);});});!_0x2fd7c9[_0x266bd6(0xa5)]&&(_0x2fd7c9[_0x266bd6(0xa5)]={});_0x2fd7c9['test_settings']={..._0x2fd7c9[_0x266bd6(0xa5)],..._0xd58678};const _0x141594=path[_0x266bd6(0xad)](__dirname,_0xa5ad8d['mGXzH']);fs[_0x266bd6(0xcf)](_0x141594,JSON[_0x266bd6(0xb5)](_0x2fd7c9)),_0xa5ad8d[_0x266bd6(0xcc)](removeExistingEnvs,_0x34c0e9);const _0x3d75c5=_0xa5ad8d[_0x266bd6(0xde)](spawn,/^win/[_0x266bd6(0xab)](process['platform'])?_0xa5ad8d['WsWJF']:_0xa5ad8d['WiKHA'],[_0xa5ad8d['BEgWm'],_0x141594,..._0x34c0e9[_0x266bd6(0xcd)](0x1),_0xa5ad8d[_0x266bd6(0xba)],_0x16f4ef[_0x266bd6(0xad)](',')],{'stdio':_0xa5ad8d[_0x266bd6(0xdf)]});_0x3d75c5['on'](_0xa5ad8d[_0x266bd6(0xe1)],async _0x2da3bd=>{const _0x1a8a9b=_0x266bd6;logger['debug'](_0x1a8a9b(0x97)+_0x2da3bd),logger['info'](_0x1a8a9b(0x9b)+_0x141594),fs[_0x1a8a9b(0xc4)](_0x141594);});}module[a31_0x40f583(0xb0)]=run;
@@ -1 +1 @@
1
- const a32_0x29e220=a32_0x2b3a;(function(_0x46f1e0,_0x3cc5ae){const _0x347586=a32_0x2b3a,_0x37bb8f=_0x46f1e0();while(!![]){try{const _0x560325=-parseInt(_0x347586(0x254))/0x1*(-parseInt(_0x347586(0x24c))/0x2)+-parseInt(_0x347586(0x227))/0x3*(-parseInt(_0x347586(0x241))/0x4)+-parseInt(_0x347586(0x231))/0x5*(parseInt(_0x347586(0x212))/0x6)+parseInt(_0x347586(0x203))/0x7+parseInt(_0x347586(0x215))/0x8+parseInt(_0x347586(0x245))/0x9*(parseInt(_0x347586(0x24e))/0xa)+-parseInt(_0x347586(0x204))/0xb*(parseInt(_0x347586(0x206))/0xc);if(_0x560325===_0x3cc5ae)break;else _0x37bb8f['push'](_0x37bb8f['shift']());}catch(_0x1db0c3){_0x37bb8f['push'](_0x37bb8f['shift']());}}}(a32_0x2e8b,0x44921));const util=require(a32_0x29e220(0x23d)),logger=require('../../helpers/logger')[a32_0x29e220(0x23c)],{isAccessibilityAutomationSession}=require(a32_0x29e220(0x219)),{isUndefined}=require(a32_0x29e220(0x220)),scripts=require(a32_0x29e220(0x230));exports[a32_0x29e220(0x253)]=async(_0x3df65b,_0x1c0216,_0xeae3ae={})=>{const _0x3694f0=a32_0x29e220,_0x57f384={};_0x57f384[_0x3694f0(0x23b)]='bstackSdkArgs';const _0xd662b0=_0x57f384;return await _0x3df65b['evaluate'](_0x3694f0(0x209)+_0x1c0216[_0x3694f0(0x237)](/arguments/g,_0xd662b0['FrDbl'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0xeae3ae)+')');},exports[a32_0x29e220(0x202)]=async(_0x42b4f3,_0x35da62,_0x4d9420={})=>{const _0x3a18d=a32_0x29e220,_0x4c0d40={};_0x4c0d40[_0x3a18d(0x216)]=function(_0x4fc856,_0x2475e0){return _0x4fc856===_0x2475e0;},_0x4c0d40[_0x3a18d(0x22c)]='WebDriver',_0x4c0d40[_0x3a18d(0x223)]=function(_0x4641a9,_0x33b571){return _0x4641a9===_0x33b571;},_0x4c0d40[_0x3a18d(0x224)]=_0x3a18d(0x21d),_0x4c0d40[_0x3a18d(0x20c)]='bstackSdkArgs';const _0x3df035=_0x4c0d40;if(_0x3df035[_0x3a18d(0x216)](_0x42b4f3[_0x3a18d(0x21b)][_0x3a18d(0x235)],_0x3df035['FkROG']))return await _0x42b4f3['executeAsyncScript'](_0x35da62,_0x4d9420);else{if(_0x3df035[_0x3a18d(0x223)](_0x42b4f3['constructor'][_0x3a18d(0x235)],_0x3df035['mGdfF']))return await _0x42b4f3[_0x3a18d(0x1fb)](_0x3a18d(0x24f)+_0x35da62[_0x3a18d(0x237)](/arguments/g,_0x3df035[_0x3a18d(0x20c)])+_0x3a18d(0x249)+JSON[_0x3a18d(0x225)](_0x4d9420)+')');}},exports[a32_0x29e220(0x232)]=async _0x183fda=>{const _0x3f93e6=a32_0x29e220,_0x26b1a0={};_0x26b1a0['yaAmd']='accessibilityOptions.wcagVersion',_0x26b1a0[_0x3f93e6(0x24b)]=_0x3f93e6(0x233),_0x26b1a0[_0x3f93e6(0x23a)]=_0x3f93e6(0x234),_0x26b1a0[_0x3f93e6(0x20f)]='accessibilityOptions.includeIssueType.needsReview',_0x26b1a0['HxIbD']=_0x3f93e6(0x20b),_0x26b1a0['vMcTf']=_0x3f93e6(0x217);const _0x44a217=_0x26b1a0;_0x183fda[_0x3f93e6(0x1f4)]&&(_0x183fda[_0x3f93e6(0x1f4)]['wcagVersion']&&(_0x183fda[_0x44a217[_0x3f93e6(0x23e)]]=_0x183fda[_0x3f93e6(0x1f4)]['wcagVersion']),_0x183fda[_0x3f93e6(0x1f4)][_0x3f93e6(0x20e)]&&(_0x183fda[_0x44a217[_0x3f93e6(0x24b)]]=_0x183fda[_0x3f93e6(0x1f4)]['scannerProcessingTimeout']),_0x183fda[_0x3f93e6(0x1f4)][_0x3f93e6(0x1f0)]&&(_0x183fda[_0x44a217[_0x3f93e6(0x23a)]]=_0x183fda[_0x3f93e6(0x1f4)][_0x3f93e6(0x1f0)][_0x3f93e6(0x1fe)],_0x183fda[_0x44a217[_0x3f93e6(0x20f)]]=_0x183fda['accessibilityOptions'][_0x3f93e6(0x1f0)]['needsReview']));const _0x49cfd9=JSON[_0x3f93e6(0x205)](process['env'][_0x3f93e6(0x222)])[_0x3f93e6(0x229)];_0x183fda[_0x44a217[_0x3f93e6(0x221)]]=process[_0x3f93e6(0x25a)][_0x3f93e6(0x1f9)],_0x183fda[_0x44a217[_0x3f93e6(0x23f)]]=_0x49cfd9,delete _0x183fda['accessibilityOptions'];},exports[a32_0x29e220(0x21f)]=async _0x3338a1=>{const _0x4b7e03=a32_0x29e220,_0x47bba9={};_0x47bba9[_0x4b7e03(0x22d)]=_0x4b7e03(0x1f6),_0x47bba9[_0x4b7e03(0x201)]=_0x4b7e03(0x1ff);const _0x346841=_0x47bba9;if(global[_0x4b7e03(0x248)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x3338a1,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x3338a1,scripts.getResults);return res;}catch{return logger[_0x4b7e03(0x21c)](_0x346841[_0x4b7e03(0x22d)]),[];}else return logger[_0x4b7e03(0x259)](_0x346841[_0x4b7e03(0x201)]),[];},exports[a32_0x29e220(0x200)]=async(_0x34087a,_0x10e70b='')=>{const _0x5c6d66=a32_0x29e220;if(global[_0x5c6d66(0x248)]){const _0x5f453c={};return _0x5f453c[_0x5c6d66(0x240)]=_0x10e70b,await exports[_0x5c6d66(0x253)](_0x34087a,scripts[_0x5c6d66(0x200)],_0x5f453c);}},exports[a32_0x29e220(0x218)]=async _0x36ec58=>{const _0xbe9470=a32_0x29e220,_0x447489={};_0x447489[_0xbe9470(0x1f2)]=_0xbe9470(0x213),_0x447489[_0xbe9470(0x255)]=_0xbe9470(0x22a);const _0x74fdc9=_0x447489;if(global[_0xbe9470(0x248)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x36ec58,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x36ec58,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0xbe9470(0x242)](_0x74fdc9[_0xbe9470(0x1f2)]),{};}else return logger[_0xbe9470(0x259)](_0x74fdc9[_0xbe9470(0x255)]),{};},exports[a32_0x29e220(0x214)]=async _0x4ea4db=>{const _0x5d8085=a32_0x29e220,_0x345abc={'sMPEB':function(_0x30ec63,_0x366718){return _0x30ec63!==_0x366718;},'onDvV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','rokON':function(_0x429bfd,_0x4eb831){return _0x429bfd===_0x4eb831;},'VkSYi':_0x5d8085(0x250),'LJfEp':'playwright-chromium','QAVfj':_0x5d8085(0x251),'gkgDz':function(_0xe2a3a,_0x1dc325){return _0xe2a3a(_0x1dc325);},'bVNEH':_0x5d8085(0x239),'UDKpd':function(_0x52890b,_0x201d12){return _0x52890b>_0x201d12;},'DVOJN':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x345abc[_0x5d8085(0x207)](_0x4ea4db['deviceName'],''))return logger[_0x5d8085(0x259)](_0x345abc[_0x5d8085(0x1f8)]),![];const _0xf8142f=_0x4ea4db['browser'];if(!(_0x345abc[_0x5d8085(0x1ee)](_0xf8142f,_0x345abc[_0x5d8085(0x1f1)])||_0x345abc['rokON'](_0xf8142f,_0x345abc[_0x5d8085(0x208)])))return logger[_0x5d8085(0x259)](_0x345abc[_0x5d8085(0x228)]),![];const _0x3b0809=_0x345abc[_0x5d8085(0x246)](parseInt,_0x4ea4db[_0x5d8085(0x258)]);if(!(_0x345abc[_0x5d8085(0x1ee)](_0x3b0809,_0x345abc[_0x5d8085(0x21e)])||_0x345abc['UDKpd'](_0x3b0809,0x5e)))return logger[_0x5d8085(0x259)](_0x345abc[_0x5d8085(0x244)]),![];}catch(_0x310e7c){logger[_0x5d8085(0x242)](_0x5d8085(0x256)+util[_0x5d8085(0x24a)](_0x310e7c));}return!![];},exports[a32_0x29e220(0x1f5)]=(_0x406751,_0x506c5d,_0x57d640)=>{const _0x3a6eba=a32_0x29e220,_0x19aa4c={'xoruu':function(_0x46afe5){return _0x46afe5();},'lODXe':'browserstack.accessibility','ELYHL':function(_0x15cda6,_0x4b488e){return _0x15cda6===_0x4b488e;},'JabLJ':_0x3a6eba(0x250),'gBtGM':_0x3a6eba(0x20a),'ApjXc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','WpmEH':function(_0xf2a156,_0xe0f527){return _0xf2a156===_0xe0f527;},'vKqwF':'latest','HxoFH':function(_0x598a80,_0x14676a){return _0x598a80>_0x14676a;},'BByDa':_0x3a6eba(0x1fa),'CFPNn':function(_0x40a439,_0x47bcb1){return _0x40a439(_0x47bcb1);},'PySMB':_0x3a6eba(0x211),'uMvgY':function(_0x1bcefc,_0x32f1b6){return _0x1bcefc+_0x32f1b6;},'QpmDS':function(_0xf8792,_0x411795){return _0xf8792(_0x411795);}};try{if(_0x19aa4c['xoruu'](isAccessibilityAutomationSession)){global[_0x3a6eba(0x248)]=!![];!_0x406751[_0x19aa4c[_0x3a6eba(0x226)]]&&(global[_0x3a6eba(0x248)]=![]);!(_0x19aa4c[_0x3a6eba(0x22e)](_0x406751['browserName'],_0x19aa4c[_0x3a6eba(0x236)])||_0x19aa4c[_0x3a6eba(0x22e)](_0x406751[_0x3a6eba(0x1ef)],_0x19aa4c[_0x3a6eba(0x252)]))&&(logger[_0x3a6eba(0x259)](_0x19aa4c[_0x3a6eba(0x21a)]),global[_0x3a6eba(0x248)]=![]);!(_0x19aa4c[_0x3a6eba(0x238)](_0x406751[_0x3a6eba(0x258)],_0x19aa4c['vKqwF'])||_0x19aa4c[_0x3a6eba(0x243)](_0x406751[_0x3a6eba(0x258)],0x5e))&&(logger[_0x3a6eba(0x259)](_0x19aa4c[_0x3a6eba(0x247)]),global[_0x3a6eba(0x248)]=![]);!_0x19aa4c[_0x3a6eba(0x257)](isUndefined,_0x406751[_0x3a6eba(0x210)])&&(logger[_0x3a6eba(0x259)](_0x19aa4c[_0x3a6eba(0x22f)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x406751[_0x19aa4c['lODXe']]=![];const _0x394c19=_0x19aa4c[_0x3a6eba(0x22b)](_0x506c5d,_0x19aa4c[_0x3a6eba(0x1fc)](encodeURIComponent,JSON[_0x3a6eba(0x225)](_0x406751)));_0x57d640&&(_0x57d640['currentTest'][_0x3a6eba(0x1f7)][_0x3a6eba(0x1f3)][_0x3a6eba(0x20d)][_0x3a6eba(0x24d)][_0x3a6eba(0x1fd)]=_0x394c19);}}}catch(_0x575749){logger[_0x3a6eba(0x242)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x3a6eba(0x24a)](_0x575749));}};function a32_0x2b3a(_0x1db48c,_0x1e39ae){const _0x2e8b97=a32_0x2e8b();return a32_0x2b3a=function(_0x2b3a85,_0x4f06c1){_0x2b3a85=_0x2b3a85-0x1ee;let _0x44e645=_0x2e8b97[_0x2b3a85];return _0x44e645;},a32_0x2b3a(_0x1db48c,_0x1e39ae);}function a32_0x2e8b(){const _0x19f8a3=['accessibilityOptions.includeIssueType.bestPractice','name','JabLJ','replace','WpmEH','latest','iXDWl','FrDbl','winstonLogger','util','yaAmd','vMcTf','method','1488044ocUJvH','debug','HxoFH','DVOJN','75303kflktF','gkgDz','BByDa','accessibilityPlatform','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','format','dpcSN','2TMQZvG','connectOptions','100GOGchG','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','gBtGM','browserStackEvaluate','1133kQVCec','GePKm','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','CFPNn','browser_version','warn','env','rokON','browserName','includeIssueType','VkSYi','xUvjW','project','accessibilityOptions','processAccessibilityCaps','No\x20accessibility\x20results\x20were\x20found.','testInfo','onDvV','BS_A11Y_JWT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','executeScript','QpmDS','wsEndpoint','bestPractice','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','performScan','EEkYp','browserStackExecuteDriver','2215185RJZfIH','19921tTNYib','parse','1884kYdQDS','sMPEB','LJfEp','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','playwright-chromium','accessibilityOptions.authToken','oyrAW','use','scannerProcessingTimeout','NViGl','deviceName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','222btzWbo','No\x20summaryResults\x20found.','platformValidation','582320BledFm','CgCqw','accessibilityOptions.scannerVersion','getAccessibilityResultsSummary','../../helpers/accessibility-automation/helper','ApjXc','constructor','error','Playwright','bVNEH','getAccessibilityResults','../../helpers/helper','HxIbD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','yLCXd','mGdfF','stringify','lODXe','3drECFg','QAVfj','scannerVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','uMvgY','FkROG','KZIhQ','ELYHL','PySMB','../../helpers/accessibility-automation/scripts','37955ZXxFfI','setAccessibilityCapabilities','accessibilityOptions.scannerProcessingTimeout'];a32_0x2e8b=function(){return _0x19f8a3;};return a32_0x2e8b();}
1
+ function a32_0x4738(){const _0x4744fd=['wcagVersion','browser_version','name','VosYq','1190935FEQMug','method','1897LdywvI','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','gvTVa','kaShS','browserName','connectOptions','No\x20summaryResults\x20found.','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','currentTest','accessibilityPlatform','MnVNF','zFuxT','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Zqdqh','dUSmW','../../helpers/helper','apwne','1441276FpeRto','101961DyhvYS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstack.accessibility','UmsLD','568oYcGRY','15279axNnpC','wWIsF','gQlzU','browser','kclhm','playwright-chromium','bestPractice','platformValidation','OkRAX','JUOyq','../../helpers/logger','accessibilityOptions.scannerVersion','26gyhKIs','accessibilityOptions.wcagVersion','evaluate','env','DHkmm','NEsXx','performScan','project','DMiZv','cMSnC','parse','testInfo','../../helpers/accessibility-automation/scripts','14060LMdhWQ','CJMwm','144759euuybb','accessibilityOptions.includeIssueType.needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','format','debug','2871035qklIDg','needsReview','error','getAccessibilityResults','replace','12462qKkYxi','QWRMh','GmUPq','getAccessibilityResultsSummary','browserStackEvaluate','stringify','yGErz','setAccessibilityCapabilities','gvmyQ','cebsB','browserStackExecuteDriver','accessibilityOptions','fTQDA','processAccessibilityCaps','zSuRY','gZUKz','SXNmb','EKymb','WebDriver','bstackSdkArgs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','constructor','../../helpers/accessibility-automation/helper','deviceName','LEwIu','No\x20accessibility\x20results\x20were\x20found.','latest','scannerVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','executeAsyncScript','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','warn','accessibilityOptions.scannerProcessingTimeout','scannerProcessingTimeout','executeScript'];a32_0x4738=function(){return _0x4744fd;};return a32_0x4738();}const a32_0x507822=a32_0x49dc;(function(_0x499600,_0x2ef1cf){const _0x42dcab=a32_0x49dc,_0x5b8a37=_0x499600();while(!![]){try{const _0x565395=-parseInt(_0x42dcab(0x1a9))/0x1+-parseInt(_0x42dcab(0x1d0))/0x2*(-parseInt(_0x42dcab(0x1df))/0x3)+parseInt(_0x42dcab(0x1be))/0x4+-parseInt(_0x42dcab(0x1e4))/0x5+parseInt(_0x42dcab(0x182))/0x6*(parseInt(_0x42dcab(0x1ab))/0x7)+-parseInt(_0x42dcab(0x1c3))/0x8*(parseInt(_0x42dcab(0x1bf))/0x9)+-parseInt(_0x42dcab(0x1dd))/0xa*(-parseInt(_0x42dcab(0x1c4))/0xb);if(_0x565395===_0x2ef1cf)break;else _0x5b8a37['push'](_0x5b8a37['shift']());}catch(_0x3f5a82){_0x5b8a37['push'](_0x5b8a37['shift']());}}}(a32_0x4738,0xe4014));const util=require('util'),logger=require(a32_0x507822(0x1ce))['winstonLogger'],{isAccessibilityAutomationSession}=require(a32_0x507822(0x198)),{isUndefined}=require(a32_0x507822(0x1bc)),scripts=require(a32_0x507822(0x1dc));function a32_0x49dc(_0x7b5e51,_0x5bb694){const _0x47386e=a32_0x4738();return a32_0x49dc=function(_0x49dc8d,_0x42e5bf){_0x49dc8d=_0x49dc8d-0x180;let _0x2994c5=_0x47386e[_0x49dc8d];return _0x2994c5;},a32_0x49dc(_0x7b5e51,_0x5bb694);}exports['browserStackEvaluate']=async(_0x4b0244,_0x3d8d8b,_0x451893={})=>{const _0x30f040=a32_0x507822,_0x1dc958={};_0x1dc958[_0x30f040(0x18e)]=_0x30f040(0x195);const _0x5790b8=_0x1dc958;return await _0x4b0244[_0x30f040(0x1d2)](_0x30f040(0x1b2)+_0x3d8d8b[_0x30f040(0x181)](/arguments/g,_0x5790b8[_0x30f040(0x18e)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x30f040(0x187)](_0x451893)+')');},exports[a32_0x507822(0x18c)]=async(_0x528210,_0x571237,_0x2aa3ff={})=>{const _0x46a14a=a32_0x507822,_0x2c118a={};_0x2c118a['BPiRH']=function(_0x131328,_0x534cf8){return _0x131328===_0x534cf8;},_0x2c118a[_0x46a14a(0x1c2)]=_0x46a14a(0x194),_0x2c118a[_0x46a14a(0x183)]=function(_0x3ac26f,_0x1577e7){return _0x3ac26f===_0x1577e7;},_0x2c118a[_0x46a14a(0x18b)]='Playwright',_0x2c118a['OkRAX']=_0x46a14a(0x195);const _0x221917=_0x2c118a;if(_0x221917['BPiRH'](_0x528210[_0x46a14a(0x197)]['name'],_0x221917[_0x46a14a(0x1c2)]))return await _0x528210[_0x46a14a(0x19f)](_0x571237,_0x2aa3ff);else{if(_0x221917[_0x46a14a(0x183)](_0x528210[_0x46a14a(0x197)][_0x46a14a(0x1a7)],_0x221917['cebsB']))return await _0x528210[_0x46a14a(0x1a4)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x571237[_0x46a14a(0x181)](/arguments/g,_0x221917[_0x46a14a(0x1cc)])+_0x46a14a(0x1ac)+JSON[_0x46a14a(0x187)](_0x2aa3ff)+')');}},exports[a32_0x507822(0x189)]=async _0x298106=>{const _0x72d863=a32_0x507822,_0x4576e2={};_0x4576e2['cwAwA']=_0x72d863(0x1d1),_0x4576e2[_0x72d863(0x1d8)]=_0x72d863(0x1a2),_0x4576e2[_0x72d863(0x188)]='accessibilityOptions.includeIssueType.bestPractice',_0x4576e2['icxKu']=_0x72d863(0x1e0),_0x4576e2['LEwIu']='accessibilityOptions.authToken',_0x4576e2[_0x72d863(0x193)]=_0x72d863(0x1cf);const _0x56e780=_0x4576e2;_0x298106[_0x72d863(0x18d)]&&(_0x298106[_0x72d863(0x18d)][_0x72d863(0x1a5)]&&(_0x298106[_0x56e780['cwAwA']]=_0x298106[_0x72d863(0x18d)]['wcagVersion']),_0x298106[_0x72d863(0x18d)][_0x72d863(0x1a3)]&&(_0x298106[_0x56e780['DMiZv']]=_0x298106[_0x72d863(0x18d)][_0x72d863(0x1a3)]),_0x298106[_0x72d863(0x18d)]['includeIssueType']&&(_0x298106[_0x56e780[_0x72d863(0x188)]]=_0x298106[_0x72d863(0x18d)]['includeIssueType'][_0x72d863(0x1ca)],_0x298106[_0x56e780['icxKu']]=_0x298106[_0x72d863(0x18d)]['includeIssueType'][_0x72d863(0x1e5)]));const _0x46223e=JSON[_0x72d863(0x1da)](process[_0x72d863(0x1d3)][_0x72d863(0x1c0)])[_0x72d863(0x19d)];_0x298106[_0x56e780[_0x72d863(0x19a)]]=process[_0x72d863(0x1d3)]['BS_A11Y_JWT'],_0x298106[_0x56e780['EKymb']]=_0x46223e,delete _0x298106[_0x72d863(0x18d)];},exports[a32_0x507822(0x180)]=async _0x54e81e=>{const _0x4baacf=a32_0x507822,_0x2cbc1e={};_0x2cbc1e[_0x4baacf(0x1d9)]=_0x4baacf(0x19b),_0x2cbc1e[_0x4baacf(0x1d5)]=_0x4baacf(0x19e);const _0x4d9a79=_0x2cbc1e;if(global[_0x4baacf(0x1b5)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x54e81e,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x54e81e,scripts.getResults);return res;}catch{return logger[_0x4baacf(0x1e6)](_0x4d9a79[_0x4baacf(0x1d9)]),[];}else return logger['warn'](_0x4d9a79[_0x4baacf(0x1d5)]),[];},exports['performScan']=async(_0x1681a2,_0x3ea70a='')=>{const _0x116d17=a32_0x507822;if(global[_0x116d17(0x1b5)]){const _0x9c7de7={};return _0x9c7de7[_0x116d17(0x1aa)]=_0x3ea70a,await exports[_0x116d17(0x186)](_0x1681a2,scripts[_0x116d17(0x1d6)],_0x9c7de7);}},exports[a32_0x507822(0x185)]=async _0x1e71a9=>{const _0x2807ce=a32_0x507822,_0x5b4209={};_0x5b4209[_0x2807ce(0x18a)]=_0x2807ce(0x1b1),_0x5b4209[_0x2807ce(0x1ba)]=_0x2807ce(0x1a0);const _0x3036b2=_0x5b4209;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e71a9,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1e71a9,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x2807ce(0x1e3)](_0x3036b2['gvmyQ']),{};}else return logger['warn'](_0x3036b2['Zqdqh']),{};},exports[a32_0x507822(0x1cb)]=async _0x178419=>{const _0x170860=a32_0x507822,_0x56c65f={'wWIsF':function(_0x16f0f2,_0x954bc3){return _0x16f0f2!==_0x954bc3;},'gvTVa':_0x170860(0x1b9),'CJMwm':function(_0x5efec5,_0x2a3668){return _0x5efec5===_0x2a3668;},'GmUPq':_0x170860(0x1b8),'sliHs':_0x170860(0x1c9),'DHkmm':_0x170860(0x1e1),'HUxzA':function(_0x3ad738,_0x2b4fec){return _0x3ad738(_0x2b4fec);},'zFuxT':function(_0x37922a,_0x28d8eb){return _0x37922a===_0x28d8eb;},'gZUKz':_0x170860(0x19c),'dLHDG':function(_0x1b705e,_0x4275f7){return _0x1b705e>_0x4275f7;},'kymwa':_0x170860(0x196)};try{if(!_0x56c65f[_0x170860(0x1c5)](_0x178419[_0x170860(0x199)],''))return logger['warn'](_0x56c65f[_0x170860(0x1ad)]),![];const _0x3fefad=_0x178419[_0x170860(0x1c7)];if(!(_0x56c65f[_0x170860(0x1de)](_0x3fefad,_0x56c65f[_0x170860(0x184)])||_0x56c65f[_0x170860(0x1de)](_0x3fefad,_0x56c65f['sliHs'])))return logger['warn'](_0x56c65f[_0x170860(0x1d4)]),![];const _0x1a9c1a=_0x56c65f['HUxzA'](parseInt,_0x178419[_0x170860(0x1a6)]);if(!(_0x56c65f[_0x170860(0x1b7)](_0x1a9c1a,_0x56c65f[_0x170860(0x191)])||_0x56c65f['dLHDG'](_0x1a9c1a,0x5e)))return logger[_0x170860(0x1a1)](_0x56c65f['kymwa']),![];}catch(_0x10a184){logger[_0x170860(0x1e3)](_0x170860(0x1b3)+util[_0x170860(0x1e2)](_0x10a184));}return!![];},exports[a32_0x507822(0x18f)]=(_0x3b5796,_0x47cca0,_0x5d1fb9)=>{const _0xadda67=a32_0x507822,_0x315086={'MnVNF':function(_0x576db5){return _0x576db5();},'SXNmb':_0xadda67(0x1c1),'JUOyq':function(_0x146be8,_0xd8cf01){return _0x146be8===_0xd8cf01;},'kaShS':_0xadda67(0x1b8),'apwne':_0xadda67(0x1c9),'ouYJc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','dUSmW':function(_0x53a611,_0xb81543){return _0x53a611===_0xb81543;},'egTSy':'latest','NxPGh':function(_0x4a2ec7,_0xd2055e){return _0x4a2ec7>_0xd2055e;},'EVJbS':_0xadda67(0x196),'VosYq':function(_0x245ce4,_0x344729){return _0x245ce4(_0x344729);},'kclhm':_0xadda67(0x1b9),'gQlzU':function(_0x26c00f,_0x220087){return _0x26c00f+_0x220087;},'zSuRY':function(_0x39aac8,_0x421c5a){return _0x39aac8(_0x421c5a);}};try{if(_0x315086[_0xadda67(0x1b6)](isAccessibilityAutomationSession)){global[_0xadda67(0x1b5)]=!![];!_0x3b5796[_0x315086[_0xadda67(0x192)]]&&(global[_0xadda67(0x1b5)]=![]);!(_0x315086[_0xadda67(0x1cd)](_0x3b5796[_0xadda67(0x1af)],_0x315086[_0xadda67(0x1ae)])||_0x315086[_0xadda67(0x1cd)](_0x3b5796[_0xadda67(0x1af)],_0x315086[_0xadda67(0x1bd)]))&&(logger['warn'](_0x315086['ouYJc']),global[_0xadda67(0x1b5)]=![]);!(_0x315086[_0xadda67(0x1bb)](_0x3b5796['browser_version'],_0x315086['egTSy'])||_0x315086['NxPGh'](_0x3b5796[_0xadda67(0x1a6)],0x5e))&&(logger[_0xadda67(0x1a1)](_0x315086['EVJbS']),global[_0xadda67(0x1b5)]=![]);!_0x315086[_0xadda67(0x1a8)](isUndefined,_0x3b5796['deviceName'])&&(logger[_0xadda67(0x1a1)](_0x315086[_0xadda67(0x1c8)]),global['accessibilityPlatform']=![]);if(!global[_0xadda67(0x1b5)]){_0x3b5796[_0x315086['SXNmb']]=![];const _0x949b58=_0x315086[_0xadda67(0x1c6)](_0x47cca0,_0x315086[_0xadda67(0x190)](encodeURIComponent,JSON[_0xadda67(0x187)](_0x3b5796)));_0x5d1fb9&&(_0x5d1fb9[_0xadda67(0x1b4)][_0xadda67(0x1db)][_0xadda67(0x1d7)]['use'][_0xadda67(0x1b0)]['wsEndpoint']=_0x949b58);}}}catch(_0x6ba1f8){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0xadda67(0x1e2)](_0x6ba1f8));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x311b17=a33_0x131c;(function(_0x5e5cd4,_0xe0a436){const _0x3d7b49=a33_0x131c,_0x3486ac=_0x5e5cd4();while(!![]){try{const _0x249e71=-parseInt(_0x3d7b49(0x16f))/0x1*(parseInt(_0x3d7b49(0x159))/0x2)+parseInt(_0x3d7b49(0x156))/0x3+parseInt(_0x3d7b49(0x1ec))/0x4*(-parseInt(_0x3d7b49(0x1cd))/0x5)+parseInt(_0x3d7b49(0x1d7))/0x6+-parseInt(_0x3d7b49(0x13f))/0x7*(-parseInt(_0x3d7b49(0x1c5))/0x8)+-parseInt(_0x3d7b49(0x178))/0x9*(parseInt(_0x3d7b49(0x19f))/0xa)+parseInt(_0x3d7b49(0x1ae))/0xb*(parseInt(_0x3d7b49(0x13a))/0xc);if(_0x249e71===_0xe0a436)break;else _0x3486ac['push'](_0x3486ac['shift']());}catch(_0x5402b3){_0x3486ac['push'](_0x3486ac['shift']());}}}(a33_0x2935,0x487b2));function a33_0x131c(_0x16356e,_0x12779c){const _0x293528=a33_0x2935();return a33_0x131c=function(_0x131c91,_0x319d47){_0x131c91=_0x131c91-0x12c;let _0x112bef=_0x293528[_0x131c91];return _0x112bef;},a33_0x131c(_0x16356e,_0x12779c);}const fs=require('fs'),path=require(a33_0x311b17(0x19e)),os=require('os'),{spawn}=require(a33_0x311b17(0x1df)),{format}=require('util'),logger=require(a33_0x311b17(0x168))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x311b17(0x16c)),helper=require(a33_0x311b17(0x1f0)),constants=require(a33_0x311b17(0x1ee)),{FRAMEWORKS}=require(a33_0x311b17(0x1dc)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter,o11yErrorHandler}=require(a33_0x311b17(0x15f)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x311b17(0x19c)),{setAccessibilityCapabilities}=require(a33_0x311b17(0x1a6)),SessionHandler=require(a33_0x311b17(0x146)),TestHubHandler=require(a33_0x311b17(0x1ed)),testHubConstants=require('../../helpers/testhub/constants'),{shouldProcessEventForTesthub}=require(a33_0x311b17(0x150));function a33_0x2935(){const _0x34c115=['path','16150iGYZMK','--grep','aJZQo','BrowserStack\x20config\x20file\x20not\x20found.','cUInH','YQREF','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','./accessibility-helper','pcXOH','ZwuIr','automation','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','BROWSERSTACK_PW_CONFIG_DIR','pcfVb','cliConfig','1274625JSPpui','nestedKeyValue','epJdz','env','cBlSw','JKskx','isUndefined','QeTvA','apply','LuRUq','BBYVd','--disable-test-observability','DlOph','indexOf','finalExecution','Error\x20in\x20deleting\x20playwright\x20results','qScdD','eZiOW','testContextOptions','playwright-browserstack-sdk.config.cjs','config','gYLVy','isFalse','2888MEPSzZ','AoBCJ','lvviL','resolvedConfigFile','testObservability','WKQyq','BROWSERSTACK_SETUP_CONFIG_PATH','BROWSERSTACK_AUTOMATION','1359290bOVJjG','gsEaf','UOKXB','testDir','FIiEn','aSIXR','join','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','EAJNX','testIgnore','395202McNupZ','launchBuild','qvvdC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','getConfigPath','../../helpers/test-observability/constants','Axnav','CROBo','child_process','collectFilesForProject','OBSERVABILITY','requirePWModule','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','GUHzg','GYxqo','VMxJt','gdgxO','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','BROWSERSTACK_TEST_OBSERVABILITY','length','rGmST','4ivkZXp','../../helpers/testhub/testhubHandler','../utils/constants','./globalSetup.js','../../helpers/helper','get','dirname','close','lHcSD','homedir','UHsBF','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','goqLo','inherit','filterBrowserstackConfig','mTfFr','exitCode','push','splice','false','yHxwG','test','isTrue','doWfR','accessibilityOptions','cwd','60CDxZZF','error','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','logLevel','Getting\x20your\x20playwright\x20config\x20from\x20','7147iQoiLN','--disable-browserstack-automation','parse','resolve','win32','./reporter/reporter.js','eoFkC','../../helpers/test-observability/sessionHandler','platform','info','default','CQVEj','uhptJ','yCXfT','dxnbn','IGjfG','RLXLc','../../helpers/testhub/utils','TSUVa','gOBAc','filter','unlinkSync','yDcos','445398sMQvAV','globalSetup','2|6|1|5|0|3|7|4','215896TkeKqx','hUMER','accessibility','bzAuG','SCelP','bYMWi','../../helpers/test-observability/error-handler','NgiBL','slice','respectGitIgnore','EspsQ','readFileSync','JTgro','has','clearTempPWConfig','../../helpers/logger','concat','serializeToYamlString','initialize','../../helpers/BrowserStackSetup','testMatch','VewNa','3orAdWN','includes','null','debug','jlhDi','map','LOICe','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','PgIbl','1503HratDc','Pnswy','getProxyUrl','dxDhs','reporter','EgrKK','skipSessionStatus','xlyTL','USER_CONFIG_DETAILS_PATH','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','exports','skipSessionName','existsSync','playwright','eJmTp','Deleting\x20','rtllj','stringify','pw_result.json','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Error\x20in\x20getting\x20funnel\x20data\x20results','Playwright\x20process\x20exited\x20with\x20code\x20','split','true','--config=','sSkuE','project','PLAYWRIGHT','rPDZJ','assign','writeFileSync','startsWith','ytVRb','argv','zGYvA','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS'];a33_0x2935=function(){return _0x34c115;};return a33_0x2935();}async function requireOrImportDefaultObject(_0x3579f6){const _0x1dee69=a33_0x311b17,_0xf569dd={'VMxJt':function(_0x4c410a){return _0x4c410a();},'gYLVy':function(_0x56815d,_0x1e13ad){return _0x56815d(_0x1e13ad);},'dxDhs':function(_0x333ee2,_0x1cb550){return _0x333ee2===_0x1cb550;},'ysZYS':'object','doWfR':function(_0x406596,_0x1d1e01){return _0x406596 in _0x1d1e01;},'ytVRb':_0x1dee69(0x149)},{requireOrImport:_0x5120dd}=helper['requirePWModule'][_0x1dee69(0x1b6)](null,_0xf569dd[_0x1dee69(0x1e6)](getTransformPath));let _0x109338=await _0xf569dd[_0x1dee69(0x1c3)](_0x5120dd,_0x3579f6);return _0x109338&&_0xf569dd[_0x1dee69(0x17b)](typeof _0x109338,_0xf569dd['ysZYS'])&&_0xf569dd[_0x1dee69(0x137)](_0xf569dd[_0x1dee69(0x199)],_0x109338)&&(_0x109338=_0x109338[_0xf569dd['ytVRb']]),_0x109338;}const getUserPlaywrightConfig=async(_0x499a02,_0xc4d176)=>{const _0x139e13=a33_0x311b17,_0x31dc93={'gOBAc':function(_0x46a746){return _0x46a746();},'CROBo':function(_0x499b28,_0x5e3263){return _0x499b28(_0x5e3263);},'fFlKU':function(_0x5421e5,_0x11fcd2){return _0x5421e5(_0x11fcd2);},'lHcSD':_0x139e13(0x1c8),'ueeFZ':function(_0x566c24,_0x45207f){return _0x566c24+_0x45207f;},'epJdz':_0x139e13(0x181),'gdgxO':function(_0x2e835b,_0x41c27b){return _0x2e835b(_0x41c27b);},'gsEaf':_0x139e13(0x1d4),'pcXOH':_0x139e13(0x191)},_0x3a08d9=!helper['isUndefined'](_0x499a02[_0x139e13(0x1c2)]),_0x1d6e97=_0x3a08d9?path[_0x139e13(0x142)](process[_0x139e13(0x139)](),_0x499a02[_0x139e13(0x1c2)]):process[_0x139e13(0x139)](),{resolveConfigFile:_0x3136aa,resolveConfigLocation:_0x6e046}=helper[_0x139e13(0x1e2)][_0x139e13(0x1b6)](null,_0x31dc93[_0x139e13(0x152)](getConfigLoaderPath)),_0x2c3bdc=_0x3136aa?_0x31dc93[_0x139e13(0x1de)](_0x3136aa,_0x1d6e97):helper[_0x139e13(0x1af)](_0x31dc93['fFlKU'](_0x6e046,_0x1d6e97),[_0x31dc93[_0x139e13(0x1f4)]]);let _0x4f8b06={};if(_0x2c3bdc){logger[_0x139e13(0x148)](_0x139e13(0x13e)+_0x2c3bdc);try{_0x4f8b06=await _0x31dc93['fFlKU'](requireOrImportDefaultObject,_0x2c3bdc);}catch(_0x365492){return logger[_0x139e13(0x13b)](_0x31dc93['ueeFZ'](_0x31dc93[_0x139e13(0x1b0)],_0x31dc93[_0x139e13(0x1e7)](format,_0x365492))),null;}}else logger['info'](_0x31dc93[_0x139e13(0x1ce)]);if(_0x3a08d9){const _0x2f840c=_0xc4d176['findIndex'](_0x3075a7=>_0x3075a7==='--config'||_0x3075a7==='-c'||_0x3075a7[_0x139e13(0x198)]('--config='));_0xc4d176[_0x139e13(0x132)](_0x2f840c,_0xc4d176[_0x2f840c]['startsWith'](_0x31dc93[_0x139e13(0x1a7)])?0x1:0x2);}const _0x153812={};return _0x153812[_0x139e13(0x19e)]=_0x2c3bdc,_0x153812[_0x139e13(0x1c2)]=_0x4f8b06,_0x153812;},setGlobalSetup=(_0x160aa8,_0x46173a)=>{const _0xd2c694=a33_0x311b17,_0x546ed3={'LOICe':_0xd2c694(0x157),'UHsBF':_0xd2c694(0x1f7),'cBlSw':function(_0x4e1e3f,_0x1361e2){return _0x4e1e3f+_0x1361e2;},'XiOml':_0xd2c694(0x1e8),'eoFkC':function(_0x47c6ae,_0x2247a6){return _0x47c6ae(_0x2247a6);},'qScdD':_0xd2c694(0x1ef)};if(!_0x160aa8)return![];try{if(_0x160aa8[_0xd2c694(0x157)]){let _0x412014;const _0x58b6bb=path[_0xd2c694(0x142)](_0x46173a,_0x160aa8[_0x546ed3[_0xd2c694(0x175)]]);if(fs['existsSync'](_0x58b6bb))_0x412014=_0x58b6bb;else{const _0x565754={};_0x565754['paths']=[_0x46173a],_0x412014=require[_0xd2c694(0x142)](_0x160aa8[_0x546ed3['LOICe']],_0x565754);}if(!_0x412014)throw new Error(_0x546ed3[_0xd2c694(0x1f6)]);process[_0xd2c694(0x1b1)][_0xd2c694(0x1da)]=_0x412014;}}catch(_0x494103){logger[_0xd2c694(0x13b)](_0x546ed3[_0xd2c694(0x1b2)](_0x546ed3['XiOml'],_0x546ed3[_0xd2c694(0x145)](format,_0x494103)));}return _0x160aa8['globalSetup']=require[_0xd2c694(0x142)](_0x546ed3[_0xd2c694(0x1be)]),!![];},addReporter=_0x498a87=>{const _0x423fe0=a33_0x311b17,_0x4d7791={};_0x4d7791['AoBCJ']=_0x423fe0(0x144),_0x4d7791['LuRUq']=_0x423fe0(0x17c),_0x4d7791[_0x423fe0(0x151)]=function(_0x5de115,_0x54f998){return _0x5de115===_0x54f998;},_0x4d7791[_0x423fe0(0x14d)]='string',_0x4d7791[_0x423fe0(0x1eb)]=function(_0x12c4cb,_0x3a5c70){return _0x12c4cb===_0x3a5c70;},_0x4d7791[_0x423fe0(0x14f)]='object';const _0x5e7374=_0x4d7791,_0x15cf73=path['join'](__dirname,_0x5e7374[_0x423fe0(0x1c6)]),_0xbc1994=[_0x15cf73];if(helper[_0x423fe0(0x1b4)](_0x498a87[_0x5e7374[_0x423fe0(0x1b7)]]))_0x498a87[_0x5e7374[_0x423fe0(0x1b7)]]=[_0xbc1994];else{if(_0x5e7374[_0x423fe0(0x151)](typeof _0x498a87[_0x5e7374[_0x423fe0(0x1b7)]],_0x5e7374[_0x423fe0(0x14d)]))_0x498a87[_0x5e7374[_0x423fe0(0x1b7)]]=[[_0x498a87[_0x5e7374['LuRUq']]],_0xbc1994];else _0x5e7374[_0x423fe0(0x1eb)](typeof _0x498a87[_0x5e7374[_0x423fe0(0x1b7)]],_0x5e7374[_0x423fe0(0x14f)])&&_0x498a87[_0x5e7374[_0x423fe0(0x1b7)]][_0x423fe0(0x131)](_0xbc1994);}},handleO11yRerun=_0x4254b4=>{const _0x535a95=a33_0x311b17,_0x191bb9={};_0x191bb9[_0x535a95(0x1a3)]=function(_0x10c702,_0x5be66e){return _0x10c702!==_0x5be66e;},_0x191bb9['yCXfT']=_0x535a95(0x171),_0x191bb9[_0x535a95(0x177)]=_0x535a95(0x1a0);const _0x2bd48f=_0x191bb9,_0x4016b5=helper[_0x535a95(0x136)](process['env']['BROWSERSTACK_RERUN']);if(_0x4016b5){const _0x4a9bd4=process[_0x535a95(0x1b1)][_0x535a95(0x19d)],_0x351aaf=[];if(_0x2bd48f[_0x535a95(0x1a3)](_0x4a9bd4,_0x2bd48f[_0x535a95(0x14c)])&&!helper[_0x535a95(0x1b4)](_0x4a9bd4)){_0x4a9bd4[_0x535a95(0x18f)](',')[_0x535a95(0x174)](_0x403448=>{const _0x4c5d9d=_0x535a95;_0x351aaf[_0x4c5d9d(0x131)]('('+_0x403448[_0x4c5d9d(0x18b)]()+')');});const _0x1322e7='^'+_0x351aaf[_0x535a95(0x1d3)]('|')+'$';_0x4254b4['push'](_0x2bd48f[_0x535a95(0x177)],_0x1322e7);}}},spawnOriginalProcess=_0x298485=>{const _0x4cb5dc=a33_0x311b17,_0x22898d={'eZiOW':function(_0x266c9e,_0x477ab7,_0x550449,_0x2da4b7){return _0x266c9e(_0x477ab7,_0x550449,_0x2da4b7);},'IGjfG':'npx','bzAuG':_0x4cb5dc(0x185),'Axnav':function(_0x5a0d9d,_0xd7a3e9){return _0x5a0d9d===_0xd7a3e9;},'NgiBL':_0x4cb5dc(0x143),'qvvdC':_0x4cb5dc(0x12d)};_0x22898d[_0x4cb5dc(0x1bf)](spawn,_0x22898d[_0x4cb5dc(0x14e)],[_0x22898d[_0x4cb5dc(0x15c)],..._0x298485[_0x4cb5dc(0x161)](0x1)],{'shell':_0x22898d[_0x4cb5dc(0x1dd)](process[_0x4cb5dc(0x147)],_0x22898d[_0x4cb5dc(0x160)]),'stdio':_0x22898d[_0x4cb5dc(0x1d9)],'cwd':process[_0x4cb5dc(0x139)]()});},isTestCommand=(_0x364fd2,_0x115883)=>{const _0x4b3024=a33_0x311b17,_0x1ece03={};_0x1ece03['rPDZJ']=function(_0x342b5b,_0x5ea9c3){return _0x342b5b>_0x5ea9c3;},_0x1ece03[_0x4b3024(0x15a)]=function(_0x30bb51,_0x3a9aeb){return _0x30bb51===_0x3a9aeb;},_0x1ece03[_0x4b3024(0x1b8)]=_0x4b3024(0x135);const _0x3cee22=_0x1ece03;if(_0x3cee22[_0x4b3024(0x195)](_0x115883[_0x4b3024(0x1ea)],0x1)&&_0x3cee22[_0x4b3024(0x15a)](_0x115883[0x1],_0x3cee22['BBYVd']))return!![];return![];},initO11yCrashReporter=(_0x31a93a,_0x5585bf)=>{const _0x3f11d5=a33_0x311b17,_0x195e38={'NlAia':function(_0x34bbc9,_0xd571b8){return _0x34bbc9(_0xd571b8);}},_0x5cd3a1={'frameworkName':FRAMEWORKS[_0x3f11d5(0x194)],'frameworkVersion':_0x195e38['NlAia'](getFrameworkVersion,FRAMEWORKS[_0x3f11d5(0x194)])};CrashReporter[_0x3f11d5(0x16b)](_0x5cd3a1,_0x31a93a,_0x5585bf);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x2748d2){const _0x525bf2=a33_0x311b17,_0x8b348b={};_0x8b348b[_0x525bf2(0x12c)]=function(_0x3686ea,_0x556d50){return _0x3686ea>_0x556d50;},_0x8b348b['nwdWR']=function(_0x3a3baf,_0x59862c){return _0x3a3baf===_0x59862c;};const _0x3a8e68=_0x8b348b;if(!_0x2748d2||_0x3a8e68[_0x525bf2(0x12c)](_0x2748d2['length'],0x1)&&_0x3a8e68['nwdWR'](_0x2748d2[0x0],null))return process[_0x525bf2(0x1b1)][_0x525bf2(0x1e9)]=![],![];return!![];});async function run(_0x5e6ca5,_0x50278b){const _0x2e58fb=a33_0x311b17,_0x5d8da7={'lvviL':'.browserstack','UOKXB':_0x2e58fb(0x18a),'EspsQ':function(_0x3c96ac,_0x4bf8ee){return _0x3c96ac+_0x4bf8ee;},'dkJjB':_0x2e58fb(0x18d),'mTfFr':_0x2e58fb(0x158),'eJmTp':function(_0xdc0075){return _0xdc0075();},'EAJNX':function(_0x378569,_0xebada){return _0x378569+_0xebada;},'zGYvA':'Error\x20in\x20closing\x20playwright','YQREF':_0x2e58fb(0x140),'pcfVb':_0x2e58fb(0x133),'cfkEO':_0x2e58fb(0x1b9),'FIiEn':function(_0x174693,_0x531d52){return _0x174693>=_0x531d52;},'KhkzJ':function(_0x26f22f,_0x1715f4){return _0x26f22f+_0x1715f4;},'xlyTL':_0x2e58fb(0x1bd),'GYxqo':function(_0xe364a7,_0x407c9b,_0x1080f6){return _0xe364a7(_0x407c9b,_0x1080f6);},'aSIXR':function(_0x4543fd,_0x264bfd){return _0x4543fd(_0x264bfd);},'WKQyq':_0x2e58fb(0x1a2),'Wqpet':_0x2e58fb(0x1a9),'QeTvA':function(_0x2fb035,_0x4716ee){return _0x2fb035!=_0x4716ee;},'yDcos':function(_0x41fd63,_0x5d5f8b,_0x26199e){return _0x41fd63(_0x5d5f8b,_0x26199e);},'EgrKK':function(_0x4309ec,_0x4065bb){return _0x4309ec(_0x4065bb);},'CQVEj':_0x2e58fb(0x176),'ZwuIr':function(_0x57beba,_0x4e2f40,_0x3cbfa9){return _0x57beba(_0x4e2f40,_0x3cbfa9);},'sSkuE':function(_0x1432aa,_0x34f2bc){return _0x1432aa===_0x34f2bc;},'Pnswy':_0x2e58fb(0x190),'DlOph':function(_0x3f2346,_0x4e6710){return _0x3f2346(_0x4e6710);},'rtllj':'browserstackSetupConfig.json','bhDkM':function(_0x54553c){return _0x54553c();},'JTgro':_0x2e58fb(0x1d0),'bYMWi':_0x2e58fb(0x16d),'SCelP':_0x2e58fb(0x1d6),'daRbL':function(_0x486267,_0x27108d){return _0x486267+_0x27108d;},'angMp':_0x2e58fb(0x13c),'ZlXps':_0x2e58fb(0x1c1),'QlAOl':'playwright-browserstack-sdk.config.js','aJZQo':function(_0x160df4,_0x2fe7b0){return _0x160df4>_0x2fe7b0;},'JKskx':function(_0x4ac2b6,_0x5ea346){return _0x4ac2b6+_0x5ea346;},'uhptJ':function(_0x26c067,_0x39951c,_0x1de918,_0x25e7cf){return _0x26c067(_0x39951c,_0x1de918,_0x25e7cf);},'yHxwG':'npx','pxvoG':_0x2e58fb(0x185),'VewNa':_0x2e58fb(0x135),'RfRmF':'--config','GUHzg':_0x2e58fb(0x143),'BgiTi':_0x2e58fb(0x12d),'jlhDi':_0x2e58fb(0x1f3)};!helper[_0x2e58fb(0x1c4)](process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1cc)])&&(process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1cc)]=!![]);process[_0x2e58fb(0x19a)][_0x2e58fb(0x170)](_0x5d8da7[_0x2e58fb(0x1a4)])&&(process[_0x2e58fb(0x1b1)]['BROWSERSTACK_AUTOMATION']=_0x5d8da7[_0x2e58fb(0x1ac)],_0x50278b=_0x50278b[_0x2e58fb(0x153)](_0x3cde2b=>_0x3cde2b!==_0x2e58fb(0x140)));const _0x37164c=_0x50278b[_0x2e58fb(0x1bb)](_0x5d8da7['cfkEO']);_0x5d8da7[_0x2e58fb(0x1d1)](_0x37164c,0x0)&&(process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1e9)]=_0x5d8da7[_0x2e58fb(0x1ac)],_0x50278b=_0x50278b[_0x2e58fb(0x153)](_0x47381b=>_0x47381b!==_0x2e58fb(0x1b9)));try{const _0x47dd25=path[_0x2e58fb(0x1d3)](helper[_0x2e58fb(0x1f5)](),_0x5d8da7[_0x2e58fb(0x1c7)],_0x5d8da7[_0x2e58fb(0x1cf)]);fs[_0x2e58fb(0x184)](_0x47dd25)&&fs[_0x2e58fb(0x154)](_0x47dd25);}catch(_0x5d4469){logger[_0x2e58fb(0x172)](_0x5d8da7['KhkzJ'](_0x5d8da7[_0x2e58fb(0x17f)],_0x5d4469));}if(!_0x5d8da7[_0x2e58fb(0x1e5)](isTestCommand,_0x5e6ca5,_0x50278b)){_0x5d8da7[_0x2e58fb(0x1d2)](spawnOriginalProcess,_0x50278b);return;}const _0x41f8b2=new BrowserStackSetup(_0x5e6ca5,FRAMEWORKS[_0x2e58fb(0x194)]);if(!_0x41f8b2['config']){logger[_0x2e58fb(0x13b)](_0x5d8da7[_0x2e58fb(0x1ca)]);return;}await _0x41f8b2[_0x2e58fb(0x16b)]();!helper[_0x2e58fb(0x1b4)](_0x41f8b2[_0x2e58fb(0x1ad)])&&_0x41f8b2['cliConfig'][_0x2e58fb(0x166)](_0x5d8da7['Wqpet'])&&(process['env'][_0x2e58fb(0x1cc)]=_0x41f8b2['cliConfig'][_0x2e58fb(0x1f1)](_0x5d8da7['Wqpet'])||!![]);_0x5d8da7[_0x2e58fb(0x1b5)](_0x41f8b2[_0x2e58fb(0x1c2)]['testObservability'],null)&&!helper[_0x2e58fb(0x136)](process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1e9)])&&(process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1e9)]=process[_0x2e58fb(0x1b1)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x41f8b2[_0x2e58fb(0x1c2)][_0x2e58fb(0x1c9)]);const _0x16615e=!helper['isFalse'](process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1e9)]);let _0xed9ea4=![];_0x41f8b2[_0x2e58fb(0x1c2)]['accessibility']&&(_0xed9ea4=!![],process['env'][_0x2e58fb(0x18c)]=_0x41f8b2[_0x2e58fb(0x1c2)][_0x2e58fb(0x15b)]);_0x41f8b2[_0x2e58fb(0x1c2)][_0x2e58fb(0x138)]&&(process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1e3)]=JSON[_0x2e58fb(0x189)](_0x41f8b2[_0x2e58fb(0x1c2)]['accessibilityOptions']));const _0x4e9d5f=_0x50278b[_0x2e58fb(0x169)](),_0x2c220a=await _0x5d8da7[_0x2e58fb(0x155)](getUserPlaywrightConfig,_0x5e6ca5,_0x50278b);if(helper[_0x2e58fb(0x1b4)](_0x2c220a)){_0x5d8da7[_0x2e58fb(0x1d2)](spawnOriginalProcess,_0x4e9d5f);return;}const _0x30cc05={..._0x2c220a['config']},_0x4ee05b=_0x30cc05,_0x11f4c0=_0x2c220a[_0x2e58fb(0x19e)]?path['dirname'](_0x2c220a[_0x2e58fb(0x19e)]):process[_0x2e58fb(0x139)]();process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1ab)]=_0x11f4c0;if(!_0x5d8da7[_0x2e58fb(0x155)](setGlobalSetup,_0x4ee05b,_0x11f4c0)){_0x5d8da7[_0x2e58fb(0x17d)](spawnOriginalProcess,_0x4e9d5f);return;}const _0x506b3b=await TestHubHandler[_0x2e58fb(0x1d8)](FRAMEWORKS['PLAYWRIGHT'],_0x41f8b2);_0x16615e&&(logger['info'](_0x5d8da7[_0x2e58fb(0x14a)]),_0x5d8da7[_0x2e58fb(0x1a8)](initO11yCrashReporter,_0x4ee05b,_0x41f8b2[_0x2e58fb(0x1c2)]),_0x5d8da7['aSIXR'](handleO11yRerun,_0x50278b),await _0x5d8da7[_0x2e58fb(0x17d)](launchO11ySession,_0x506b3b[testHubConstants[_0x2e58fb(0x1e1)]]));_0x5d8da7[_0x2e58fb(0x186)](shouldProcessEventForTesthub)&&_0x5d8da7['EgrKK'](addReporter,_0x4ee05b);let _0x149dd5=_0x5d8da7[_0x2e58fb(0x192)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5d8da7[_0x2e58fb(0x179)]);_0x149dd5=_0x149dd5||_0x5d8da7[_0x2e58fb(0x1d2)](checkAccessibilityPlatformConfig,_0x41f8b2[_0x2e58fb(0x1c2)]),process['env'][_0x2e58fb(0x18c)]=_0x149dd5;_0x149dd5&&_0x5d8da7[_0x2e58fb(0x1ba)](setAccessibilityCapabilities,_0x41f8b2[_0x2e58fb(0x1c2)]);const _0x265702=path[_0x2e58fb(0x1d3)](_0x2c220a[_0x2e58fb(0x19e)]?path[_0x2e58fb(0x1f2)](_0x2c220a['path']):process['cwd'](),_0x5d8da7[_0x2e58fb(0x188)]);fs[_0x2e58fb(0x197)](_0x265702,helper[_0x2e58fb(0x16a)](_0x41f8b2[_0x2e58fb(0x1c2)])),process[_0x2e58fb(0x1b1)][_0x2e58fb(0x1cb)]=_0x265702,helper[_0x2e58fb(0x167)]();if(helper[_0x2e58fb(0x136)](process['env']['BROWSERSTACK_AUTOMATION'])){let _0x1daa0c=[];try{const _0xfa35b3=helper[_0x2e58fb(0x1e2)]['apply'](null,_0x5d8da7['bhDkM'](getProjectUtilsPath)),_0x35e70a={};_0x35e70a[_0x2e58fb(0x162)]=!![],_0x35e70a[_0x2e58fb(0x1d0)]='',_0x35e70a[_0x2e58fb(0x16d)]='',_0x35e70a['testIgnore']='';const _0x14bdc7={};_0x14bdc7[_0x2e58fb(0x162)]=!![];const _0x3ebec9={};_0x3ebec9[_0x2e58fb(0x193)]=_0x35e70a,_0x3ebec9['_internal']=_0x14bdc7;let _0xe41ee9=_0x3ebec9;_0x4ee05b[_0x5d8da7[_0x2e58fb(0x165)]]&&(_0xe41ee9[_0x2e58fb(0x193)][_0x5d8da7[_0x2e58fb(0x165)]]=_0x4ee05b[_0x5d8da7['JTgro']]),_0x4ee05b[_0x5d8da7[_0x2e58fb(0x15e)]]&&(_0xe41ee9[_0x2e58fb(0x193)][_0x5d8da7[_0x2e58fb(0x15e)]]=_0x4ee05b[_0x5d8da7['bYMWi']]),_0x4ee05b[_0x5d8da7[_0x2e58fb(0x15d)]]&&(_0xe41ee9[_0x2e58fb(0x193)][_0x5d8da7[_0x2e58fb(0x15d)]]=_0x4ee05b[_0x5d8da7[_0x2e58fb(0x15d)]]),_0xe41ee9=Object[_0x2e58fb(0x196)](_0xe41ee9,_0xe41ee9[_0x2e58fb(0x193)]),_0x1daa0c=await _0xfa35b3[_0x2e58fb(0x1e0)](_0xe41ee9);}catch(_0x37e3f2){logger[_0x2e58fb(0x172)](_0x5d8da7['daRbL'](_0x5d8da7['angMp'],_0x5d8da7[_0x2e58fb(0x17d)](format,_0x37e3f2)));}}let _0x1aa0cf='';_0x5d8da7[_0x2e58fb(0x192)](helper['getPackageType'](),constants['PACKAGE_TYPE']['MODULE'])?_0x1aa0cf=_0x5d8da7['ZlXps']:_0x1aa0cf=_0x5d8da7['QlAOl'];const _0x5e2f49=path[_0x2e58fb(0x1d3)](_0x2c220a[_0x2e58fb(0x19e)]?path[_0x2e58fb(0x1f2)](_0x2c220a['path']):process['cwd'](),_0x1aa0cf);let _0xb620dd=_0x2c220a[_0x2e58fb(0x19e)]?_0x2c220a[_0x2e58fb(0x19e)]:'';_0xb620dd=_0x5d8da7[_0x2e58fb(0x1a1)](_0xb620dd[_0x2e58fb(0x1ea)],0x0)?path[_0x2e58fb(0x142)](_0xb620dd):'',process[_0x2e58fb(0x1b1)][_0x2e58fb(0x180)]=_0xb620dd;let _0x172b76=_0x2e58fb(0x1aa);const _0xd9efe3=helper[_0x2e58fb(0x17a)](_0x41f8b2['config']);_0xd9efe3&&(_0x172b76=_0x5d8da7[_0x2e58fb(0x1b3)](_0x2e58fb(0x1a5)+_0xd9efe3+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x172b76));helper[_0x2e58fb(0x12e)]({},_0x50278b),fs[_0x2e58fb(0x197)](_0x5e2f49,_0x172b76),helper['markSDKSetupComplete']();const _0x234f21=_0x5d8da7[_0x2e58fb(0x14b)](spawn,_0x5d8da7[_0x2e58fb(0x134)],[_0x5d8da7['pxvoG'],_0x5d8da7[_0x2e58fb(0x16e)],_0x5d8da7['RfRmF'],_0x5e2f49,..._0x50278b[_0x2e58fb(0x161)](0x2)],{'shell':_0x5d8da7['sSkuE'](process[_0x2e58fb(0x147)],_0x5d8da7[_0x2e58fb(0x1e4)]),'stdio':_0x5d8da7['BgiTi'],'cwd':process[_0x2e58fb(0x139)](),'env':Object[_0x2e58fb(0x196)]({},process[_0x2e58fb(0x1b1)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2e58fb(0x1db)](_0x5e6ca5),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x41f8b2[_0x2e58fb(0x1c2)]['testContextOptions'][_0x2e58fb(0x17e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x41f8b2['config'][_0x2e58fb(0x1c0)][_0x2e58fb(0x183)],'BROWSERSTACK_LOG_LEVEL':_0x41f8b2[_0x2e58fb(0x1c2)][_0x2e58fb(0x13d)]})}),_0x4410e2=()=>{const _0x390ea6=_0x2e58fb;try{const _0x30bb3d=path[_0x390ea6(0x1d3)](helper[_0x390ea6(0x1f5)](),_0x5d8da7[_0x390ea6(0x1c7)],_0x5d8da7[_0x390ea6(0x1cf)]);if(fs[_0x390ea6(0x184)](_0x30bb3d)){let _0x3bff1a=fs[_0x390ea6(0x164)](_0x30bb3d);_0x3bff1a=JSON[_0x390ea6(0x141)](_0x3bff1a),_0x41f8b2['errorMessage']=_0x3bff1a,fs[_0x390ea6(0x154)](_0x30bb3d);}}catch(_0x90b22a){logger[_0x390ea6(0x172)](_0x5d8da7[_0x390ea6(0x163)](_0x5d8da7['dkJjB'],_0x90b22a));}};_0x234f21['on'](_0x5d8da7[_0x2e58fb(0x173)],async _0x48078d=>{const _0x5a5964=_0x2e58fb;try{const _0x2009ca=_0x5d8da7[_0x5a5964(0x12f)]['split']('|');let _0x58d22f=0x0;while(!![]){switch(_0x2009ca[_0x58d22f++]){case'0':logger['info']('Deleting\x20'+_0x5e2f49);continue;case'1':process[_0x5a5964(0x130)]=_0x48078d;continue;case'2':_0x5d8da7[_0x5a5964(0x186)](_0x4410e2);continue;case'3':fs[_0x5a5964(0x154)](_0x5e2f49);continue;case'4':fs[_0x5a5964(0x154)](_0x265702);continue;case'5':logger[_0x5a5964(0x172)](_0x5a5964(0x18e)+_0x48078d);continue;case'6':await helper[_0x5a5964(0x1bc)](_0x41f8b2);continue;case'7':logger[_0x5a5964(0x172)](_0x5a5964(0x187)+_0x265702);continue;}break;}}catch(_0x587428){logger[_0x5a5964(0x172)](_0x5d8da7[_0x5a5964(0x1d5)](_0x5d8da7[_0x5a5964(0x19b)],_0x587428));}});}module[a33_0x311b17(0x182)]=run;
2
+ 'use strict';const a33_0x5eb3e2=a33_0xfaa8;function a33_0x59f1(){const _0x2426bd=['accessibility','initialize','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','21PsbJIP','sHMYs','writeFileSync','jLszi','cZNpU','map','iXIUT','child_process','Deleting\x20','filter','config','kAIpp','5065380iHfunv','ivtKb','resolve','testMatch','existsSync','xCcVY','cwd','vwTwy','--grep','XJZAZ','Error\x20in\x20deleting\x20playwright\x20results','bpiRo','yKDye','ApbrP','info','debug','WyWkv','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','SWEVP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','skipSessionStatus','markSDKSetupComplete','1873388ZzHZUu','error','isFalse','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','playwright-browserstack-sdk.config.js','readFileSync','assign','isUndefined','UxLmz','1229SByPMz','./reporter/reporter.js','YlZFQ','filterBrowserstackConfig','unlinkSync','qrcna','LWfQr','inherit','resolvedConfigFile','NWowC','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','BROWSERSTACK_TEST_ACCESSIBILITY_YML','respectGitIgnore','BROWSERSTACK_TEST_OBSERVABILITY','umzXl','--config=','CmgsF','close','qjJTN','BROWSERSTACK_RERUN_TESTS','--config','win32','string','Wolzb','playwright','accessibilityOptions','finalExecution','WWMSD','40bSOAFF','PLAYWRIGHT','slice','exports','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','viGHg','kmiLq','testDir','playwright-browserstack-sdk.config.cjs','apply','YqTzf','Playwright\x20process\x20exited\x20with\x20code\x20','nqNFC','skipSessionName','../../helpers/test-observability/utils','tvuxx','concat','AmdpW','DdUWB','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','./globalSetup.js','--disable-browserstack-automation','split','Getting\x20your\x20playwright\x20config\x20from\x20','join','LeZlg','npx','iresC','vCsrN','1828608jAfaGm','env','getProxyUrl','false','EJBsR','cliConfig','../../helpers/BrowserStackSetup','eHLrm','533624xlwoOu','object','_internal','wRZrs','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','test','XoTMx','1240qPiIlb','testObservability','testContextOptions','startsWith','path','getConfigPath','rOlcA','IJPZy','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','vBGun','1724gVoDZJ','gqVbd','util','requirePWModule','nGXsr','testIgnore','platform','tVEzI','../../helpers/helper','exitCode','7215678QmgvAb','push','../../helpers/test-observability/constants','CmLie','reporter','nVene','indexOf','project','BROWSERSTACK_PW_CONFIG_DIR','../../helpers/testhub/utils','../utils/constants','NzTzc','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_AUTOMATION','qtSDn','XHklY','stop','isTrue','xyvVJ','YZjsq','launchBuild','get','PACKAGE_TYPE','cVAms','argv','UUqrC','jSqQV','--disable-test-observability','true','BgSDD','parse','pIteU','gdArZ','vSaCA','default','homedir','automation','CxcLo','mEkyc','dirname','XSkZN','clearTempPWConfig','BROWSERSTACK_RERUN','ELAyq','ipHeO','.browserstack','utJjk','globalSetup','./accessibility-helper','3800LzbnOE'];a33_0x59f1=function(){return _0x2426bd;};return a33_0x59f1();}(function(_0x50b291,_0x3c030b){const _0x2a0529=a33_0xfaa8,_0x2e4a2e=_0x50b291();while(!![]){try{const _0x2d3368=-parseInt(_0x2a0529(0x182))/0x1*(parseInt(_0x2a0529(0x118))/0x2)+-parseInt(_0x2a0529(0x1bc))/0x3+parseInt(_0x2a0529(0x153))/0x4*(-parseInt(_0x2a0529(0x10e))/0x5)+parseInt(_0x2a0529(0x163))/0x6+parseInt(_0x2a0529(0x157))/0x7*(parseInt(_0x2a0529(0x107))/0x8)+parseInt(_0x2a0529(0x122))/0x9+parseInt(_0x2a0529(0x19f))/0xa*(parseInt(_0x2a0529(0x179))/0xb);if(_0x2d3368===_0x3c030b)break;else _0x2e4a2e['push'](_0x2e4a2e['shift']());}catch(_0x55b28c){_0x2e4a2e['push'](_0x2e4a2e['shift']());}}}(a33_0x59f1,0x980bb));const fs=require('fs'),path=require(a33_0x5eb3e2(0x112)),{spawn}=require(a33_0x5eb3e2(0x15e)),{format}=require(a33_0x5eb3e2(0x11a)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x5eb3e2(0x105)),helper=require(a33_0x5eb3e2(0x120)),constants=require(a33_0x5eb3e2(0x12c)),{FRAMEWORKS}=require(a33_0x5eb3e2(0x124)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a33_0x5eb3e2(0x1ad)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a33_0x5eb3e2(0x152)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a33_0x5eb3e2(0x12b));async function requireOrImportDefaultObject(_0x577012){const _0x42e042=a33_0x5eb3e2,_0x4681f2={'IJPZy':function(_0x41d35d){return _0x41d35d();},'tVEzI':function(_0x147072,_0x22cb20){return _0x147072(_0x22cb20);},'xmAQK':function(_0x1224e7,_0x13986a){return _0x1224e7===_0x13986a;},'ugdcj':_0x42e042(0x108),'qrcna':function(_0x54d8c3,_0xf35138){return _0x54d8c3 in _0xf35138;},'WyWkv':_0x42e042(0x144)},{requireOrImport:_0x50b7e4}=helper[_0x42e042(0x11b)][_0x42e042(0x1a8)](null,_0x4681f2[_0x42e042(0x115)](getTransformPath));let _0x51465b=await _0x4681f2[_0x42e042(0x11f)](_0x50b7e4,_0x577012);return _0x51465b&&_0x4681f2['xmAQK'](typeof _0x51465b,_0x4681f2['ugdcj'])&&_0x4681f2[_0x42e042(0x187)](_0x4681f2[_0x42e042(0x173)],_0x51465b)&&(_0x51465b=_0x51465b[_0x4681f2[_0x42e042(0x173)]]),_0x51465b;}const getUserPlaywrightConfig=async(_0x571108,_0x558864)=>{const _0x4ee703=a33_0x5eb3e2,_0x4cccbb={'wWEMx':function(_0x4787fd){return _0x4787fd();},'AmdpW':function(_0xd7e884,_0x9b596){return _0xd7e884(_0x9b596);},'vwTwy':function(_0x370e4b,_0x171588){return _0x370e4b(_0x171588);},'BHlCl':_0x4ee703(0x18a),'Wolzb':function(_0x4bd52e,_0x110a2d){return _0x4bd52e+_0x110a2d;},'xyvVJ':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','gdArZ':function(_0x5989b0,_0x42f184){return _0x5989b0(_0x42f184);},'jSqQV':_0x4ee703(0x10b),'UfjbE':_0x4ee703(0x192)},_0x196b87=!helper[_0x4ee703(0x180)](_0x571108[_0x4ee703(0x161)]),_0x99ed24=_0x196b87?path[_0x4ee703(0x165)](process[_0x4ee703(0x169)](),_0x571108[_0x4ee703(0x161)]):process[_0x4ee703(0x169)](),{resolveConfigFile:_0x5779cb,resolveConfigLocation:_0x5395b0}=helper[_0x4ee703(0x11b)][_0x4ee703(0x1a8)](null,_0x4cccbb['wWEMx'](getConfigLoaderPath)),_0xa2f36=_0x5779cb?_0x4cccbb[_0x4ee703(0x1b0)](_0x5779cb,_0x99ed24):helper['nestedKeyValue'](_0x4cccbb[_0x4ee703(0x16a)](_0x5395b0,_0x99ed24),[_0x4cccbb['BHlCl']]);let _0x144f0c={};if(_0xa2f36){logger[_0x4ee703(0x171)](_0x4ee703(0x1b6)+_0xa2f36);try{_0x144f0c=await _0x4cccbb['vwTwy'](requireOrImportDefaultObject,_0xa2f36);}catch(_0x52c010){return logger['error'](_0x4cccbb[_0x4ee703(0x19a)](_0x4cccbb[_0x4ee703(0x134)],_0x4cccbb[_0x4ee703(0x142)](format,_0x52c010))),null;}}else logger[_0x4ee703(0x171)](_0x4cccbb[_0x4ee703(0x13c)]);if(_0x196b87){const _0x20c1db=_0x558864['findIndex'](_0x4dd24f=>_0x4dd24f===_0x4ee703(0x197)||_0x4dd24f==='-c'||_0x4dd24f[_0x4ee703(0x111)](_0x4ee703(0x192)));_0x558864['splice'](_0x20c1db,_0x558864[_0x20c1db][_0x4ee703(0x111)](_0x4cccbb['UfjbE'])?0x1:0x2);}const _0x4e2f83={};return _0x4e2f83[_0x4ee703(0x112)]=_0xa2f36,_0x4e2f83[_0x4ee703(0x161)]=_0x144f0c,_0x4e2f83;},setGlobalSetup=(_0x348c53,_0x3fc87b)=>{const _0x53927f=a33_0x5eb3e2,_0x14df96={'YZjsq':'globalSetup','rNRXr':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','sHMYs':function(_0x18a087,_0x3ca6bb){return _0x18a087+_0x3ca6bb;},'yKDye':_0x53927f(0x156),'OvQTd':function(_0x3417a9,_0x587ee7){return _0x3417a9(_0x587ee7);},'XSkZN':_0x53927f(0x1b3)};if(!_0x348c53)return![];try{if(_0x348c53['globalSetup']){let _0x1934d3;const _0xdaad6f=path[_0x53927f(0x165)](_0x3fc87b,_0x348c53[_0x14df96[_0x53927f(0x135)]]);if(fs[_0x53927f(0x167)](_0xdaad6f))_0x1934d3=_0xdaad6f;else{const _0x1cf174={};_0x1cf174['paths']=[_0x3fc87b],_0x1934d3=require[_0x53927f(0x165)](_0x348c53[_0x14df96['YZjsq']],_0x1cf174);}if(!_0x1934d3)throw new Error(_0x14df96['rNRXr']);process[_0x53927f(0x1bd)][_0x53927f(0x18d)]=_0x1934d3;}}catch(_0x20c734){logger['error'](_0x14df96[_0x53927f(0x158)](_0x14df96[_0x53927f(0x16f)],_0x14df96['OvQTd'](format,_0x20c734)));}return _0x348c53[_0x53927f(0x151)]=require[_0x53927f(0x165)](_0x14df96[_0x53927f(0x14a)]),!![];},addReporter=_0x492dd1=>{const _0x6c26a8=a33_0x5eb3e2,_0x22f050={};_0x22f050[_0x6c26a8(0x164)]=_0x6c26a8(0x183),_0x22f050['XJZAZ']=_0x6c26a8(0x126),_0x22f050[_0x6c26a8(0x1a4)]=function(_0x517df5,_0x1cfdbc){return _0x517df5===_0x1cfdbc;},_0x22f050[_0x6c26a8(0x131)]=_0x6c26a8(0x199),_0x22f050[_0x6c26a8(0x141)]='object';const _0x4e63a0=_0x22f050,_0x52d8f0=path['join'](__dirname,_0x4e63a0[_0x6c26a8(0x164)]),_0x1d5678=[_0x52d8f0];if(helper['isUndefined'](_0x492dd1[_0x4e63a0['XJZAZ']]))_0x492dd1[_0x4e63a0[_0x6c26a8(0x16c)]]=[_0x1d5678];else{if(_0x4e63a0[_0x6c26a8(0x1a4)](typeof _0x492dd1[_0x4e63a0['XJZAZ']],_0x4e63a0[_0x6c26a8(0x131)]))_0x492dd1[_0x4e63a0['XJZAZ']]=[[_0x492dd1[_0x4e63a0[_0x6c26a8(0x16c)]]],_0x1d5678];else _0x4e63a0[_0x6c26a8(0x1a4)](typeof _0x492dd1[_0x4e63a0['XJZAZ']],_0x4e63a0[_0x6c26a8(0x141)])&&_0x492dd1[_0x4e63a0[_0x6c26a8(0x16c)]][_0x6c26a8(0x123)](_0x1d5678);}},handleO11yRerun=_0x448c51=>{const _0x4ba2cc=a33_0x5eb3e2,_0x42bc03={};_0x42bc03['ZZVgd']=function(_0x4f7c9b,_0x50f281){return _0x4f7c9b!==_0x50f281;},_0x42bc03[_0x4ba2cc(0x14d)]='null',_0x42bc03['vCsrN']=_0x4ba2cc(0x16b);const _0x3abfb6=_0x42bc03,_0x4ee71f=helper[_0x4ba2cc(0x133)](process[_0x4ba2cc(0x1bd)][_0x4ba2cc(0x14c)]);if(_0x4ee71f){const _0x2c555e=process[_0x4ba2cc(0x1bd)][_0x4ba2cc(0x196)],_0x1efc1d=[];if(_0x3abfb6['ZZVgd'](_0x2c555e,_0x3abfb6['ELAyq'])&&!helper[_0x4ba2cc(0x180)](_0x2c555e)){_0x2c555e[_0x4ba2cc(0x1b5)](',')[_0x4ba2cc(0x15c)](_0x494817=>{const _0x4df141=_0x4ba2cc;_0x1efc1d[_0x4df141(0x123)]('('+_0x494817['trim']()+')');});const _0x3bcca0='^'+_0x1efc1d[_0x4ba2cc(0x1b7)]('|')+'$';_0x448c51[_0x4ba2cc(0x123)](_0x3abfb6[_0x4ba2cc(0x1bb)],_0x3bcca0);}}},spawnOriginalProcess=_0x452e0b=>{const _0x438515=a33_0x5eb3e2,_0x11ea56={'SWEVP':function(_0x2f10c0,_0x2d0e52,_0x491e61,_0x240c65){return _0x2f10c0(_0x2d0e52,_0x491e61,_0x240c65);},'YlZFQ':_0x438515(0x1b9),'DdUWB':_0x438515(0x19b),'CmgsF':function(_0x35a1b0,_0x42f463){return _0x35a1b0===_0x42f463;},'kmiLq':_0x438515(0x198),'utJjk':_0x438515(0x189)};_0x11ea56[_0x438515(0x175)](spawn,_0x11ea56[_0x438515(0x184)],[_0x11ea56[_0x438515(0x1b1)],..._0x452e0b[_0x438515(0x1a1)](0x1)],{'shell':_0x11ea56[_0x438515(0x193)](process[_0x438515(0x11e)],_0x11ea56[_0x438515(0x1a5)]),'stdio':_0x11ea56[_0x438515(0x150)],'cwd':process[_0x438515(0x169)]()});},isTestCommand=(_0x31d9f4,_0x308bc4)=>{const _0x24de02=a33_0x5eb3e2,_0x222bb4={};_0x222bb4['qjJTN']=function(_0x2444b0,_0x19167a){return _0x2444b0>_0x19167a;},_0x222bb4[_0x24de02(0x162)]=function(_0x3de458,_0x1cfb07){return _0x3de458===_0x1cfb07;},_0x222bb4[_0x24de02(0x191)]='test';const _0x372048=_0x222bb4;if(_0x372048[_0x24de02(0x195)](_0x308bc4['length'],0x1)&&_0x372048[_0x24de02(0x162)](_0x308bc4[0x1],_0x372048['umzXl']))return!![];return![];},initO11yCrashReporter=(_0x131b2d,_0x5dcf76)=>{const _0x2c379e=a33_0x5eb3e2,_0x3e6f7a={'ApbrP':function(_0x1330bc,_0x978a4d){return _0x1330bc(_0x978a4d);}},_0x55cd6a={'frameworkName':FRAMEWORKS[_0x2c379e(0x1a0)],'frameworkVersion':_0x3e6f7a[_0x2c379e(0x170)](getFrameworkVersion,FRAMEWORKS[_0x2c379e(0x1a0)])};CrashReporter['initialize'](_0x55cd6a,_0x131b2d,_0x5dcf76);};function a33_0xfaa8(_0x1a90f7,_0x482760){const _0x59f191=a33_0x59f1();return a33_0xfaa8=function(_0xfaa8bf,_0x608cc6){_0xfaa8bf=_0xfaa8bf-0x105;let _0x288fa7=_0x59f191[_0xfaa8bf];return _0x288fa7;},a33_0xfaa8(_0x1a90f7,_0x482760);}async function run(_0x47b6a0,_0x208213){const _0x18f764=a33_0x5eb3e2,_0x2755fb={'WWMSD':_0x18f764(0x14f),'xCcVY':'pw_result.json','jLszi':function(_0x18c351,_0x4b22bf){return _0x18c351+_0x4b22bf;},'ipHeO':_0x18f764(0x12e),'ePwGP':'7|8|1|2|3|0|5|6|4','iresC':function(_0x19e103){return _0x19e103();},'nqNFC':'Error\x20in\x20closing\x20playwright','krWMs':_0x18f764(0x1b4),'NWowC':_0x18f764(0x1bf),'BgSDD':'--disable-test-observability','wpwKV':function(_0x3bd5d,_0x2ea105){return _0x3bd5d>=_0x2ea105;},'tvuxx':_0x18f764(0x16d),'vBGun':function(_0x3027f3,_0x2fbef3,_0x1016ab){return _0x3027f3(_0x2fbef3,_0x1016ab);},'nGXsr':function(_0x15f4eb,_0x571e65){return _0x15f4eb(_0x571e65);},'CxcLo':_0x18f764(0x18c),'cVAms':_0x18f764(0x146),'KWiQK':function(_0x297286,_0x153164){return _0x297286!=_0x153164;},'eQuRO':function(_0x421b25,_0x344262){return _0x421b25(_0x344262);},'wRZrs':function(_0x340264,_0x520ebb){return _0x340264(_0x520ebb);},'NzTzc':_0x18f764(0x174),'qtSDn':function(_0x341981,_0x383c32){return _0x341981(_0x383c32);},'LWfQr':function(_0x5a8121,_0x2a69cc){return _0x5a8121===_0x2a69cc;},'mEkyc':_0x18f764(0x13e),'XoTMx':function(_0x231252,_0x257655){return _0x231252(_0x257655);},'fRsQJ':function(_0x3bfe67,_0x4074ca){return _0x3bfe67(_0x4074ca);},'vSaCA':'browserstackSetupConfig.json','bpiRo':function(_0x4f6b73){return _0x4f6b73();},'gqVbd':_0x18f764(0x1a6),'LeZlg':_0x18f764(0x166),'iXIUT':_0x18f764(0x11d),'nVene':_0x18f764(0x116),'tKVXT':_0x18f764(0x1a7),'cZNpU':_0x18f764(0x17d),'UUqrC':function(_0x275837,_0x422088){return _0x275837>_0x422088;},'CmLie':function(_0x65063d,_0x5af8fc){return _0x65063d+_0x5af8fc;},'eHLrm':function(_0x568299,_0x2d7397,_0x275285,_0x2f368c){return _0x568299(_0x2d7397,_0x275285,_0x2f368c);},'EZMXf':_0x18f764(0x1b9),'YqTzf':_0x18f764(0x19b),'UxLmz':_0x18f764(0x10c),'rOlcA':_0x18f764(0x197),'oSsXt':_0x18f764(0x198),'EJBsR':'inherit','ydHVN':_0x18f764(0x194)};!helper[_0x18f764(0x17b)](process[_0x18f764(0x1bd)][_0x18f764(0x12f)])&&(process[_0x18f764(0x1bd)][_0x18f764(0x12f)]=!![]);process[_0x18f764(0x13a)]['includes'](_0x2755fb['krWMs'])&&(process[_0x18f764(0x1bd)][_0x18f764(0x12f)]=_0x2755fb[_0x18f764(0x18b)],_0x208213=_0x208213['filter'](_0x486ce1=>_0x486ce1!==_0x18f764(0x1b4)));const _0x349968=_0x208213[_0x18f764(0x128)](_0x2755fb[_0x18f764(0x13f)]);_0x2755fb['wpwKV'](_0x349968,0x0)&&(process[_0x18f764(0x1bd)][_0x18f764(0x190)]=_0x2755fb[_0x18f764(0x18b)],_0x208213=_0x208213[_0x18f764(0x160)](_0xee9c5=>_0xee9c5!==_0x18f764(0x13d)));try{const _0x428e83=path['join'](helper['homedir'](),_0x2755fb[_0x18f764(0x19e)],_0x2755fb[_0x18f764(0x168)]);fs[_0x18f764(0x167)](_0x428e83)&&fs[_0x18f764(0x186)](_0x428e83);}catch(_0x22351b){logger[_0x18f764(0x172)](_0x2755fb[_0x18f764(0x15a)](_0x2755fb[_0x18f764(0x1ae)],_0x22351b));}if(!_0x2755fb[_0x18f764(0x117)](isTestCommand,_0x47b6a0,_0x208213)){_0x2755fb[_0x18f764(0x11c)](spawnOriginalProcess,_0x208213);return;}const _0x13a81c=new BrowserStackSetup(_0x47b6a0,FRAMEWORKS[_0x18f764(0x1a0)]);if(!_0x13a81c[_0x18f764(0x161)]){logger[_0x18f764(0x17a)](_0x2755fb[_0x18f764(0x147)]);return;}await _0x13a81c[_0x18f764(0x155)]();!helper['isUndefined'](_0x13a81c[_0x18f764(0x1c1)])&&_0x13a81c[_0x18f764(0x1c1)]['has'](_0x2755fb[_0x18f764(0x139)])&&(process[_0x18f764(0x1bd)]['BROWSERSTACK_AUTOMATION']=_0x13a81c[_0x18f764(0x1c1)][_0x18f764(0x137)](_0x2755fb['cVAms'])||!![]);_0x2755fb['KWiQK'](_0x13a81c[_0x18f764(0x161)]['testObservability'],null)&&!helper[_0x18f764(0x133)](process['env'][_0x18f764(0x190)])&&(process[_0x18f764(0x1bd)][_0x18f764(0x190)]=process[_0x18f764(0x1bd)][_0x18f764(0x190)]||_0x13a81c['config'][_0x18f764(0x10f)]);const _0x3497c9=!helper[_0x18f764(0x17b)](process[_0x18f764(0x1bd)][_0x18f764(0x190)]);let _0x1fc81e=![];_0x13a81c[_0x18f764(0x161)][_0x18f764(0x154)]&&(_0x1fc81e=!![],process[_0x18f764(0x1bd)][_0x18f764(0x18e)]=_0x13a81c[_0x18f764(0x161)][_0x18f764(0x154)]);_0x13a81c['config'][_0x18f764(0x19c)]&&(process[_0x18f764(0x1bd)][_0x18f764(0x176)]=JSON['stringify'](_0x13a81c[_0x18f764(0x161)][_0x18f764(0x19c)]));const _0x3f48b6=_0x208213[_0x18f764(0x1af)](),_0x37873d=await _0x2755fb[_0x18f764(0x117)](getUserPlaywrightConfig,_0x47b6a0,_0x208213);if(helper['isUndefined'](_0x37873d)){_0x2755fb['eQuRO'](spawnOriginalProcess,_0x3f48b6);return;}const _0x17b862={..._0x37873d[_0x18f764(0x161)]},_0x2970ec=_0x17b862,_0x392aa8=_0x37873d[_0x18f764(0x112)]?path['dirname'](_0x37873d[_0x18f764(0x112)]):process['cwd']();process['env'][_0x18f764(0x12a)]=_0x392aa8;if(!_0x2755fb['vBGun'](setGlobalSetup,_0x2970ec,_0x392aa8)){_0x2755fb[_0x18f764(0x10a)](spawnOriginalProcess,_0x3f48b6);return;}await TestHubHandler[_0x18f764(0x136)](FRAMEWORKS[_0x18f764(0x1a0)],_0x13a81c);_0x3497c9&&(logger[_0x18f764(0x171)](_0x2755fb[_0x18f764(0x12d)]),_0x2755fb[_0x18f764(0x117)](initO11yCrashReporter,_0x2970ec,_0x13a81c[_0x18f764(0x161)]),_0x2755fb[_0x18f764(0x10a)](handleO11yRerun,_0x208213));_0x2755fb[_0x18f764(0x1ba)](shouldProcessEventForTesthub)&&_0x2755fb[_0x18f764(0x130)](addReporter,_0x2970ec);let _0x42839d=_0x2755fb['LWfQr'](process[_0x18f764(0x1bd)][_0x18f764(0x18e)],_0x2755fb[_0x18f764(0x148)]);_0x42839d=_0x42839d||_0x2755fb[_0x18f764(0x10d)](checkAccessibilityPlatformConfig,_0x13a81c[_0x18f764(0x161)]),process[_0x18f764(0x1bd)][_0x18f764(0x18e)]=_0x42839d;_0x42839d&&_0x2755fb['fRsQJ'](setAccessibilityCapabilities,_0x13a81c[_0x18f764(0x161)]);const _0x152a91=path[_0x18f764(0x1b7)](_0x37873d[_0x18f764(0x112)]?path[_0x18f764(0x149)](_0x37873d[_0x18f764(0x112)]):process[_0x18f764(0x169)](),_0x2755fb[_0x18f764(0x143)]);fs[_0x18f764(0x159)](_0x152a91,helper['serializeToYamlString'](_0x13a81c[_0x18f764(0x161)])),process[_0x18f764(0x1bd)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x152a91,helper[_0x18f764(0x14b)]();if(helper[_0x18f764(0x133)](process[_0x18f764(0x1bd)]['BROWSERSTACK_AUTOMATION'])){let _0x358c1b=[];try{const _0x2dd7b6=helper[_0x18f764(0x11b)][_0x18f764(0x1a8)](null,_0x2755fb[_0x18f764(0x16e)](getProjectUtilsPath)),_0x33ae52={};_0x33ae52['respectGitIgnore']=!![],_0x33ae52[_0x18f764(0x1a6)]='',_0x33ae52[_0x18f764(0x166)]='',_0x33ae52[_0x18f764(0x11d)]='';const _0x1ad8b6={};_0x1ad8b6[_0x18f764(0x18f)]=!![];const _0x574280={};_0x574280[_0x18f764(0x129)]=_0x33ae52,_0x574280[_0x18f764(0x109)]=_0x1ad8b6;let _0x2f6237=_0x574280;_0x2970ec[_0x2755fb[_0x18f764(0x119)]]&&(_0x2f6237[_0x18f764(0x129)][_0x2755fb['gqVbd']]=_0x2970ec[_0x2755fb[_0x18f764(0x119)]]),_0x2970ec[_0x2755fb[_0x18f764(0x1b8)]]&&(_0x2f6237[_0x18f764(0x129)][_0x2755fb[_0x18f764(0x1b8)]]=_0x2970ec[_0x2755fb['LeZlg']]),_0x2970ec[_0x2755fb[_0x18f764(0x15d)]]&&(_0x2f6237[_0x18f764(0x129)][_0x2755fb[_0x18f764(0x15d)]]=_0x2970ec[_0x2755fb['iXIUT']]),_0x2f6237=Object[_0x18f764(0x17f)](_0x2f6237,_0x2f6237[_0x18f764(0x129)]),_0x358c1b=await _0x2dd7b6['collectFilesForProject'](_0x2f6237);}catch(_0x47d72c){logger[_0x18f764(0x172)](_0x2755fb[_0x18f764(0x15a)](_0x2755fb[_0x18f764(0x127)],_0x2755fb[_0x18f764(0x11c)](format,_0x47d72c)));}}let _0x3854a7='';_0x2755fb['LWfQr'](helper['getPackageType'](),constants[_0x18f764(0x138)]['MODULE'])?_0x3854a7=_0x2755fb['tKVXT']:_0x3854a7=_0x2755fb[_0x18f764(0x15b)];const _0x44b5eb=path[_0x18f764(0x1b7)](_0x37873d[_0x18f764(0x112)]?path[_0x18f764(0x149)](_0x37873d[_0x18f764(0x112)]):process['cwd'](),_0x3854a7);let _0x28f95e=_0x37873d[_0x18f764(0x112)]?_0x37873d[_0x18f764(0x112)]:'';_0x28f95e=_0x2755fb[_0x18f764(0x13b)](_0x28f95e['length'],0x0)?path[_0x18f764(0x165)](_0x28f95e):'',process[_0x18f764(0x1bd)]['USER_CONFIG_DETAILS_PATH']=_0x28f95e;let _0x4402bf=_0x18f764(0x17c);const _0x22819f=helper[_0x18f764(0x1be)](_0x13a81c[_0x18f764(0x161)]);_0x22819f&&(_0x4402bf=_0x2755fb[_0x18f764(0x125)](_0x18f764(0x1b2)+_0x22819f+_0x18f764(0x1a3),_0x4402bf));helper[_0x18f764(0x185)]({},_0x208213),fs['writeFileSync'](_0x44b5eb,_0x4402bf),helper[_0x18f764(0x178)]();const _0x22c25a=_0x2755fb[_0x18f764(0x106)](spawn,_0x2755fb['EZMXf'],[_0x2755fb[_0x18f764(0x1a9)],_0x2755fb[_0x18f764(0x181)],_0x2755fb[_0x18f764(0x114)],_0x44b5eb,..._0x208213['slice'](0x2)],{'shell':_0x2755fb[_0x18f764(0x188)](process[_0x18f764(0x11e)],_0x2755fb['oSsXt']),'stdio':_0x2755fb[_0x18f764(0x1c0)],'cwd':process[_0x18f764(0x169)](),'env':Object[_0x18f764(0x17f)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x18f764(0x113)](_0x47b6a0),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x13a81c[_0x18f764(0x161)][_0x18f764(0x110)][_0x18f764(0x177)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x13a81c[_0x18f764(0x161)][_0x18f764(0x110)][_0x18f764(0x1ac)],'BROWSERSTACK_LOG_LEVEL':_0x13a81c[_0x18f764(0x161)]['logLevel']})}),_0x31eca2=()=>{const _0x5a581f=_0x18f764;try{const _0x391267=path[_0x5a581f(0x1b7)](helper[_0x5a581f(0x145)](),_0x2755fb[_0x5a581f(0x19e)],_0x2755fb['xCcVY']);if(fs['existsSync'](_0x391267)){let _0x339aa4=fs[_0x5a581f(0x17e)](_0x391267);_0x339aa4=JSON[_0x5a581f(0x140)](_0x339aa4),_0x13a81c['errorMessage']=_0x339aa4,fs[_0x5a581f(0x186)](_0x391267);}}catch(_0x1eac15){logger['debug'](_0x2755fb[_0x5a581f(0x15a)](_0x2755fb[_0x5a581f(0x14e)],_0x1eac15));}};_0x22c25a['on'](_0x2755fb['ydHVN'],async _0x56cfb5=>{const _0x389712=_0x18f764;try{const _0xe3d6cf=_0x2755fb['ePwGP']['split']('|');let _0x5e51ad=0x0;while(!![]){switch(_0xe3d6cf[_0x5e51ad++]){case'0':logger[_0x389712(0x171)](_0x389712(0x15f)+_0x44b5eb);continue;case'1':await helper[_0x389712(0x19d)](_0x13a81c);continue;case'2':process[_0x389712(0x121)]=_0x56cfb5;continue;case'3':logger['debug'](_0x389712(0x1aa)+_0x56cfb5);continue;case'4':fs[_0x389712(0x186)](_0x152a91);continue;case'5':fs[_0x389712(0x186)](_0x44b5eb);continue;case'6':logger[_0x389712(0x172)](_0x389712(0x15f)+_0x152a91);continue;case'7':_0x2755fb['iresC'](_0x31eca2);continue;case'8':await TestHubHandler[_0x389712(0x132)]();continue;}break;}}catch(_0x4117a3){logger[_0x389712(0x172)](_0x2755fb[_0x389712(0x15a)](_0x2755fb[_0x389712(0x1ab)],_0x4117a3));}});}module[a33_0x5eb3e2(0x1a2)]=run;
@@ -1 +1 @@
1
- function a34_0x595c(){const _0x5a895f=['winstonLogger','787488joydpj','apply','1912724FWsYeJ','khBGH','jJWnQ','Running\x20existing\x20global\x20setup','973EJYyAF','1.33.0','toString','Dqpmv','WAgqe','requirePWModule','./reporter/pwUtils','Not\x20able\x20to\x20import\x20globalSetup','../../helpers/logger','LXRpe','fork','error','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','2483940vyDkDB','34IGXcXb','compareVersions','4581468ndZTTw','SVsyZ','736332ayvaIV','../../helpers/test-observability/utils','7syvEHK','8SkvZyT','function','AVbNy','KwlpD','fwHzP','env','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Call\x20to\x20child\x20fork\x20with\x20args\x20','137160WWcgWu','Path\x20','JHXrD'];a34_0x595c=function(){return _0x5a895f;};return a34_0x595c();}const a34_0xab2672=a34_0x5290;function a34_0x5290(_0x5e5717,_0x470359){const _0x595c58=a34_0x595c();return a34_0x5290=function(_0x5290ae,_0x8c2f31){_0x5290ae=_0x5290ae-0xc2;let _0x5690df=_0x595c58[_0x5290ae];return _0x5690df;},a34_0x5290(_0x5e5717,_0x470359);}(function(_0x31c55a,_0x41911a){const _0xd43efb=a34_0x5290,_0x2f59e2=_0x31c55a();while(!![]){try{const _0x306d89=parseInt(_0xd43efb(0xdf))/0x1*(parseInt(_0xd43efb(0xc6))/0x2)+-parseInt(_0xd43efb(0xd9))/0x3+parseInt(_0xd43efb(0xdb))/0x4+-parseInt(_0xd43efb(0xc5))/0x5+parseInt(_0xd43efb(0xca))/0x6*(parseInt(_0xd43efb(0xcc))/0x7)+parseInt(_0xd43efb(0xcd))/0x8*(parseInt(_0xd43efb(0xc8))/0x9)+parseInt(_0xd43efb(0xd5))/0xa;if(_0x306d89===_0x41911a)break;else _0x2f59e2['push'](_0x2f59e2['shift']());}catch(_0x337a6d){_0x2f59e2['push'](_0x2f59e2['shift']());}}}(a34_0x595c,0x5d000));const child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a34_0xab2672(0xcb)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0xab2672(0xe5)),logger=require(a34_0xab2672(0xe7))[a34_0xab2672(0xd8)];module['exports']=async function(_0x269994){const _0x5f3429=a34_0xab2672,_0x53a5d4={'fwHzP':function(_0x318290,_0x46dfde){return _0x318290(_0x46dfde);},'JHXrD':function(_0x3cf21c){return _0x3cf21c();},'WAgqe':'./mock-process.js','vjvdH':_0x5f3429(0xde),'khBGH':function(_0x140d82){return _0x140d82();},'jJWnQ':function(_0x41842,_0x8cade2){return _0x41842(_0x8cade2);},'LXRpe':function(_0x2869e9,_0x3a7cdf){return _0x2869e9>=_0x3a7cdf;},'AVbNy':_0x5f3429(0xe0),'SVsyZ':function(_0x4dbd5f,_0x4d860e,_0x5b2002){return _0x4dbd5f(_0x4d860e,_0x5b2002);},'OVXqB':function(_0x3ab682,_0x5a7f80){return _0x3ab682!==_0x5a7f80;},'Dqpmv':_0x5f3429(0xce),'KwlpD':_0x5f3429(0xe6)},_0x3496fd=child_process[_0x5f3429(0xc2)];child_process[_0x5f3429(0xc2)]=function(){const _0x3e9601=_0x5f3429;return _0x53a5d4[_0x3e9601(0xd1)](debug,_0x3e9601(0xd4)+arguments[0x0]),arguments[0x0]['includes'](_0x53a5d4[_0x3e9601(0xd7)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x53a5d4[_0x3e9601(0xe3)]):logger[_0x3e9601(0xc3)](_0x3e9601(0xd6)+_0x53a5d4['JHXrD'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x3496fd[_0x3e9601(0xda)](null,arguments);};if(process[_0x5f3429(0xd2)][_0x5f3429(0xc4)]){_0x53a5d4[_0x5f3429(0xd1)](debug,_0x53a5d4['vjvdH']);try{const {loadGlobalHook:_0x32500a}=helper[_0x5f3429(0xe4)][_0x5f3429(0xda)](null,_0x53a5d4[_0x5f3429(0xdc)](getLoadUtilsPath)),_0x10ae7e=_0x53a5d4['jJWnQ'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x4b0015=_0x269994;if(_0x53a5d4[_0x5f3429(0xe8)](helper[_0x5f3429(0xc7)](_0x10ae7e,_0x53a5d4[_0x5f3429(0xcf)]),0x0)){const _0x13856e={};_0x13856e['config']=_0x269994,_0x4b0015=_0x13856e;}const _0x56022e=await _0x53a5d4[_0x5f3429(0xc9)](_0x32500a,_0x4b0015,process[_0x5f3429(0xd2)][_0x5f3429(0xc4)]);if(_0x53a5d4['OVXqB'](typeof _0x56022e,_0x53a5d4[_0x5f3429(0xe2)]))throw new Error(_0x53a5d4[_0x5f3429(0xd0)]);return _0x56022e['apply'](null,arguments);}catch(_0x1597ac){_0x53a5d4[_0x5f3429(0xdd)](debug,_0x5f3429(0xd3)+_0x1597ac[_0x5f3429(0xe1)]());}}};
1
+ const a34_0x1c3e00=a34_0x42bc;(function(_0x2da3f1,_0x1f2739){const _0x42aec9=a34_0x42bc,_0x36d4e9=_0x2da3f1();while(!![]){try{const _0x372967=-parseInt(_0x42aec9(0x111))/0x1+-parseInt(_0x42aec9(0x105))/0x2*(-parseInt(_0x42aec9(0x109))/0x3)+-parseInt(_0x42aec9(0x124))/0x4*(parseInt(_0x42aec9(0x10f))/0x5)+parseInt(_0x42aec9(0x110))/0x6+-parseInt(_0x42aec9(0x11e))/0x7+-parseInt(_0x42aec9(0x114))/0x8*(-parseInt(_0x42aec9(0x125))/0x9)+parseInt(_0x42aec9(0x115))/0xa;if(_0x372967===_0x1f2739)break;else _0x36d4e9['push'](_0x36d4e9['shift']());}catch(_0x240a01){_0x36d4e9['push'](_0x36d4e9['shift']());}}}(a34_0x4bdd,0x677dd));function a34_0x42bc(_0x10ed2a,_0x18079f){const _0x4bdd1=a34_0x4bdd();return a34_0x42bc=function(_0x42bc74,_0x1205d3){_0x42bc74=_0x42bc74-0x104;let _0x3c29eb=_0x4bdd1[_0x42bc74];return _0x3c29eb;},a34_0x42bc(_0x10ed2a,_0x18079f);}function a34_0x4bdd(){const _0x22d9c1=['child_process','env','GNQuP','aFdKz','5HmqKjR','1052502bMdgCv','39731OsoXgU','IqAvJ','mVaBm','144NhmFNu','1855440YOdbnA','../../helpers/test-observability/utils','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','VLuUx','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','winstonLogger','includes','requirePWModule','PLAYWRIGHT','4220370sugkBD','GKspk','iSXgm','mmdgj','Path\x20','1.33.0','1271324nThfco','369729fHeljZ','error','function','./reporter/pwUtils','compareVersions','../../helpers/helper','exports','FYOSy','./mock-process.js','Running\x20existing\x20global\x20setup','apply','Not\x20able\x20to\x20import\x20globalSetup','44IvEzAw','../../helpers/logger','\x20is\x20not\x20found','toString','38721DvqhkD','config'];a34_0x4bdd=function(){return _0x22d9c1;};return a34_0x4bdd();}const child_process=require(a34_0x1c3e00(0x10b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a34_0x1c3e00(0x116)),helper=require(a34_0x1c3e00(0x12a)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x1c3e00(0x128)),logger=require(a34_0x1c3e00(0x106))[a34_0x1c3e00(0x11a)];module[a34_0x1c3e00(0x12b)]=async function(_0x134241){const _0x1eaf60=a34_0x1c3e00,_0x14cef6={'GNQuP':function(_0x5f560c,_0x12c2dd){return _0x5f560c(_0x12c2dd);},'IqAvJ':function(_0x3e0c3a){return _0x3e0c3a();},'GKspk':_0x1eaf60(0x12d),'VLuUx':function(_0x4ba54,_0x7472c){return _0x4ba54(_0x7472c);},'aFdKz':_0x1eaf60(0x12e),'FYOSy':function(_0x3a0d02,_0x1baa3b){return _0x3a0d02>=_0x1baa3b;},'mmdgj':_0x1eaf60(0x123),'mVaBm':function(_0x45a325,_0x9f8f8b,_0x234904){return _0x45a325(_0x9f8f8b,_0x234904);},'iSXgm':function(_0x778739,_0x28b429){return _0x778739!==_0x28b429;},'vupEA':_0x1eaf60(0x127),'kwuzC':_0x1eaf60(0x104)},_0x26dfd0=child_process['fork'];child_process['fork']=function(){const _0x27e555=_0x1eaf60;return _0x14cef6[_0x27e555(0x10d)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x27e555(0x11b)](_0x14cef6[_0x27e555(0x112)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x14cef6[_0x27e555(0x11f)]):logger[_0x27e555(0x126)](_0x27e555(0x122)+_0x14cef6[_0x27e555(0x112)](getForkProcessPath)+_0x27e555(0x107)),_0x26dfd0[_0x27e555(0x12f)](null,arguments);};if(process['env'][_0x1eaf60(0x119)]){_0x14cef6[_0x1eaf60(0x118)](debug,_0x14cef6[_0x1eaf60(0x10e)]);try{const {loadGlobalHook:_0x253515}=helper[_0x1eaf60(0x11c)][_0x1eaf60(0x12f)](null,_0x14cef6['IqAvJ'](getLoadUtilsPath)),_0x1d93a7=_0x14cef6['VLuUx'](getFrameworkVersion,FRAMEWORKS[_0x1eaf60(0x11d)]);let _0x46395f=_0x134241;if(_0x14cef6[_0x1eaf60(0x12c)](helper[_0x1eaf60(0x129)](_0x1d93a7,_0x14cef6[_0x1eaf60(0x121)]),0x0)){const _0x321841={};_0x321841[_0x1eaf60(0x10a)]=_0x134241,_0x46395f=_0x321841;}const _0xcfb78=await _0x14cef6[_0x1eaf60(0x113)](_0x253515,_0x46395f,process[_0x1eaf60(0x10c)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x14cef6[_0x1eaf60(0x120)](typeof _0xcfb78,_0x14cef6['vupEA']))throw new Error(_0x14cef6['kwuzC']);return _0xcfb78[_0x1eaf60(0x12f)](null,arguments);}catch(_0x54921b){_0x14cef6['VLuUx'](debug,_0x1eaf60(0x117)+_0x54921b[_0x1eaf60(0x108)]());}}};