browserstack-node-sdk 1.34.51 → 1.34.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x57aff1=a29_0x53b3;(function(_0x117d70,_0x22f33e){const _0x418dea=a29_0x53b3,_0x1e0724=_0x117d70();while(!![]){try{const _0x4729f9=-parseInt(_0x418dea(0x131))/0x1*(parseInt(_0x418dea(0x161))/0x2)+-parseInt(_0x418dea(0x17b))/0x3*(-parseInt(_0x418dea(0x19d))/0x4)+-parseInt(_0x418dea(0x171))/0x5+parseInt(_0x418dea(0x168))/0x6+-parseInt(_0x418dea(0x19f))/0x7*(parseInt(_0x418dea(0x13b))/0x8)+parseInt(_0x418dea(0x1aa))/0x9+parseInt(_0x418dea(0x163))/0xa*(parseInt(_0x418dea(0x194))/0xb);if(_0x4729f9===_0x22f33e)break;else _0x1e0724['push'](_0x1e0724['shift']());}catch(_0x42ae7b){_0x1e0724['push'](_0x1e0724['shift']());}}}(a29_0x534d,0xf158e));function a29_0x53b3(_0x3e866d,_0x2a3172){const _0x534dec=a29_0x534d();return a29_0x53b3=function(_0x53b372,_0x2c7838){_0x53b372=_0x53b372-0x130;let _0x90b212=_0x534dec[_0x53b372];return _0x90b212;},a29_0x53b3(_0x3e866d,_0x2a3172);}function a29_0x534d(){const _0x2fc7a6=['edgeOptions_','setCapabilities','mergeDeep','setGlobal','../../../helpers/patchHelpers','AZHGc','1174604BUFwpX','chromeOptions_','21BnUMra','Modifying\x20webdriver\x20builder','getHttpAgent','LqwaO','xOKns','chromeOptions','GSLcc','hEFKu','proxyUrl','__driversArray','RQHin','2412126wcEGLR','jRHaH','aDHys','storeOptimalHubUrl','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','error','../../../helpers/helper','13561RQLWAf','__setBrowserOptions','bLyNw','abyWk','FLmgr','isUndefined','Ceqvg','setLogLevel','RlnNy','push','4045704zZrheg','getRequestOptions','CKEFD','forEach','originalBuilder','FdNgN','isAccessibilityPlatform','opKNn','get','HttpClient','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','/session','edgeOptions','BvVzV','proxy_','../../../helpers/globals','Proxy\x20set\x20to\x20','getHubUrl','firefoxOptions_','newHubUrl','session_','global','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','0|1|4|3|2|5','getAccessibilityResults','then','capabilities_','exports','faOoE','../accessibility-automation/helper','info','firefoxOptions','mWjoF','https://','../../../hubAllocationMethods','isPacProxy','Setting\x20Browserstack\x20capabilities','OBGUI','178rawnNV','ieOptions_','10UnXpDH','yteJJ','url_','build','capability','2949570syZRDj','ms:edgeOptions','debug','setServer','options_','./helpers/patchHelper','send','isBrowserstackInfra','mDUWI','9501845PAgprH','quitCount_','CAPABILITY_KEY','itUar','__driver','goog:chromeOptions','New\x20hub\x20url\x20set\x20to\x20','Builder','ETSvR','otooi','3lcdodD','requireSeleniumWebdriver','safariOptions_','Tkbzr','se:ieOptions','getGlobal','QzFRy','safari.options','moz:firefoxOptions','agent_','ieOptions','Hub\x20url\x20set\x20to\x20','winstonLogger','ZiRrF','uxYCa','getAccessibilityResultsSummary','keys','fGYaY','caps_','set','../../../helpers/logger','uNsoH','../../../helpers/accessibility-automation/helper','updateHubUrl','__drivers','50157085NrOSpc','lTbKB','DoNvB'];a29_0x534d=function(){return _0x2fc7a6;};return a29_0x534d();}const logger=require(a29_0x57aff1(0x18f))[a29_0x57aff1(0x187)],helper=require(a29_0x57aff1(0x130)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x57aff1(0x15d)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x57aff1(0x19b)),{setAccessibilityCapabilities,setExtension}=require(a29_0x57aff1(0x158)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x57aff1(0x191)),globals=require(a29_0x57aff1(0x14a)),{overrideExecute}=require(a29_0x57aff1(0x16d)),modify=(_0x11535f,_0xaf6eb9=null,_0x5dc658=![])=>{const _0x1b93c8=a29_0x57aff1,_0x23a30d={'QzFRy':function(_0xce48a9,_0x295fb0){return _0xce48a9!==_0x295fb0;},'DoNvB':_0x1b93c8(0x146),'hEFKu':function(_0x35b813,_0x269df7){return _0x35b813+_0x269df7;},'mWjoF':function(_0x372079,_0x1c4339){return _0x372079+_0x1c4339;},'Tkbzr':_0x1b93c8(0x15c),'fGYaY':'/wd/hub','itUar':_0x1b93c8(0x176),'lTbKB':_0x1b93c8(0x1a4),'GNHGq':_0x1b93c8(0x169),'VRodq':_0x1b93c8(0x147),'xOKns':_0x1b93c8(0x183),'yteJJ':_0x1b93c8(0x15a),'uNsoH':_0x1b93c8(0x182),'EWYSL':_0x1b93c8(0x17f),'otooi':_0x1b93c8(0x185),'UnWbr':function(_0x259084,_0xbd0b4){return _0x259084===_0xbd0b4;},'Ceqvg':'object','GSLcc':_0x1b93c8(0x15f),'abyWk':'optimalHubUrl','opKNn':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','qVQSJ':function(_0x34e955,_0x460fee,_0x41ff11){return _0x34e955(_0x460fee,_0x41ff11);},'RlnNy':function(_0x3ae798,_0x1567a1,_0x273deb){return _0x3ae798(_0x1567a1,_0x273deb);},'jRHaH':function(_0x54f2eb,_0x269b2b){return _0x54f2eb(_0x269b2b);},'mDUWI':function(_0x41779b,_0x35524b,_0x2a6074){return _0x41779b(_0x35524b,_0x2a6074);},'uxYCa':function(_0x4abcf1,_0x3f2748,_0x4f3548){return _0x4abcf1(_0x3f2748,_0x4f3548);},'RQHin':function(_0x5b635f,_0x271873,_0x332c15){return _0x5b635f(_0x271873,_0x332c15);},'FdNgN':_0x1b93c8(0x152),'aDHys':function(_0x9a06af){return _0x9a06af();},'CKEFD':_0x1b93c8(0x141),'ETSvR':function(_0x15b7d0,_0x13137e,_0x4c775f){return _0x15b7d0(_0x13137e,_0x4c775f);},'faOoE':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','OBGUI':function(_0x105b19,_0x45446f){return _0x105b19(_0x45446f);},'AZHGc':function(_0x4f4ab7,_0x558d03){return _0x4f4ab7(_0x558d03);},'bLyNw':function(_0x1b1978,_0x5b770b){return _0x1b1978!==_0x5b770b;},'ZKhWM':_0x1b93c8(0x1ae),'lffBw':_0x1b93c8(0x1a0)},_0x23882e=helper['requireHttpClient']();let _0x3e809e;try{_0x3e809e=helper[_0x1b93c8(0x17c)](),_0x3e809e[_0x1b93c8(0x13f)]&&(_0x3e809e[_0x1b93c8(0x178)]=_0x3e809e[_0x1b93c8(0x13f)]);}catch(_0x2f9aa6){return;}if(helper['isBrowserstackInfra']()){const _0x88df3f={};_0x88df3f['logLevel']=_0x11535f['browserStackLogLevel'],helper[_0x1b93c8(0x138)](_0x88df3f,new Map(),new Map()),logger[_0x1b93c8(0x159)](_0x23a30d['ZKhWM']),logger[_0x1b93c8(0x16a)](_0x23a30d['lffBw']);}class _0x402c4c extends _0x23882e[_0x1b93c8(0x144)]{[_0x1b93c8(0x16e)](_0xc282a2){const _0x1a100a=_0x1b93c8;if(_0x23a30d[_0x1a100a(0x181)](_0xc282a2['path'],_0x23a30d[_0x1a100a(0x196)])&&_0x23a30d[_0x1a100a(0x181)](global[_0x1a100a(0x14e)],''))try{global[_0x1a100a(0x14e)]=_0x23a30d[_0x1a100a(0x1a6)](_0x23a30d[_0x1a100a(0x15b)](_0x23a30d[_0x1a100a(0x17e)],global[_0x1a100a(0x14e)]),_0x23a30d[_0x1a100a(0x18c)]),this[_0x1a100a(0x16c)]=hubAllocator[_0x1a100a(0x13c)](global['newHubUrl']),logger[_0x1a100a(0x16a)](_0x1a100a(0x177)+global[_0x1a100a(0x14e)]),global[_0x1a100a(0x14e)]='';}catch(_0x1998af){logger[_0x1a100a(0x1af)](_0x1998af);}return super[_0x1a100a(0x16e)](_0xc282a2);}}class _0x190ba4 extends _0x3e809e['Builder']{[_0x1b93c8(0x16b)](){const _0x8f1992=_0x1b93c8;return this[_0x8f1992(0x165)]=helper[_0x8f1992(0x14c)](_0x11535f),logger[_0x8f1992(0x16a)](_0x8f1992(0x186)+this[_0x8f1992(0x165)]),this;}[_0x1b93c8(0x132)](_0x3d4ec9){const _0x4a0ebe=_0x1b93c8;let _0x1b8d67={};for(const _0x1984c8 in _0x3d4ec9){switch(_0x1984c8){case _0x23a30d[_0x4a0ebe(0x174)]:case _0x23a30d[_0x4a0ebe(0x195)]:this[_0x4a0ebe(0x19e)]&&(_0x1b8d67=this[_0x4a0ebe(0x19e)][_0x4a0ebe(0x143)](this[_0x4a0ebe(0x19e)]['CAPABILITY_KEY'])||{},this['chromeOptions_']['set'](this[_0x4a0ebe(0x19e)][_0x4a0ebe(0x173)],helper[_0x4a0ebe(0x199)](_0x1b8d67,_0x3d4ec9[_0x1984c8])));break;case _0x23a30d['GNHGq']:case _0x23a30d['VRodq']:this['edgeOptions_']&&(_0x1b8d67=this[_0x4a0ebe(0x197)][_0x4a0ebe(0x143)](this[_0x4a0ebe(0x197)][_0x4a0ebe(0x173)])||{},this[_0x4a0ebe(0x197)][_0x4a0ebe(0x18e)](this['edgeOptions_'][_0x4a0ebe(0x173)],helper['mergeDeep'](_0x1b8d67,_0x3d4ec9[_0x1984c8])));break;case _0x23a30d[_0x4a0ebe(0x1a3)]:case _0x23a30d[_0x4a0ebe(0x164)]:this[_0x4a0ebe(0x14d)]&&(_0x1b8d67=this[_0x4a0ebe(0x14d)][_0x4a0ebe(0x143)](this[_0x4a0ebe(0x14d)][_0x4a0ebe(0x173)])||{},this[_0x4a0ebe(0x14d)]['set'](this[_0x4a0ebe(0x14d)]['CAPABILITY_KEY'],helper[_0x4a0ebe(0x199)](_0x1b8d67,_0x3d4ec9[_0x1984c8])));break;case _0x23a30d[_0x4a0ebe(0x190)]:this[_0x4a0ebe(0x17d)]&&(_0x1b8d67=this[_0x4a0ebe(0x17d)][_0x4a0ebe(0x143)](this[_0x4a0ebe(0x17d)][_0x4a0ebe(0x173)])||{},this['safariOptions_'][_0x4a0ebe(0x18e)](this['safariOptions_'][_0x4a0ebe(0x173)],helper[_0x4a0ebe(0x199)](_0x1b8d67,_0x3d4ec9[_0x1984c8])));break;case _0x23a30d['EWYSL']:case _0x23a30d[_0x4a0ebe(0x17a)]:this[_0x4a0ebe(0x162)]&&(_0x1b8d67=this['ieOptions_'][_0x4a0ebe(0x143)](this[_0x4a0ebe(0x162)]['CAPABILITY_KEY'])||{},this[_0x4a0ebe(0x162)][_0x4a0ebe(0x18e)](this['ieOptions_'][_0x4a0ebe(0x173)],helper['mergeDeep'](_0x1b8d67,_0x3d4ec9[_0x1984c8])));break;}}}[_0x1b93c8(0x198)](){const _0x50ead8=_0x1b93c8,_0xc7d380={'ZiRrF':function(_0x2aedd7,_0x4898a6){return _0x23a30d['UnWbr'](_0x2aedd7,_0x4898a6);},'LqwaO':_0x23a30d[_0x50ead8(0x137)]};return logger[_0x50ead8(0x16a)](_0x23a30d[_0x50ead8(0x1a5)]),this['__setBrowserOptions'](_0x11535f[_0x50ead8(0x167)]),Object[_0x50ead8(0x18b)](_0x11535f[_0x50ead8(0x167)])[_0x50ead8(0x13e)](_0xfb1c2d=>{const _0x3d6845=_0x50ead8,_0x2a3c38=this['capabilities_']['get'](_0xfb1c2d);_0xc7d380[_0x3d6845(0x188)](typeof _0x2a3c38,_0xc7d380[_0x3d6845(0x1a2)])?this[_0x3d6845(0x155)][_0x3d6845(0x18e)](_0xfb1c2d,helper[_0x3d6845(0x199)](_0x2a3c38,_0x11535f['capability'][_0xfb1c2d])):this[_0x3d6845(0x155)][_0x3d6845(0x18e)](_0xfb1c2d,_0x11535f[_0x3d6845(0x167)][_0xfb1c2d]);}),this;}[_0x1b93c8(0x166)](){const _0x5a68ff=_0x1b93c8,_0x237cae={'FLmgr':function(_0x47111b,_0x1d7021,_0x861edc){const _0x24e654=a29_0x53b3;return _0x23a30d[_0x24e654(0x189)](_0x47111b,_0x1d7021,_0x861edc);},'gksAS':function(_0x51b92c,_0xdea278,_0x535b57){const _0x463e4e=a29_0x53b3;return _0x23a30d[_0x463e4e(0x1a9)](_0x51b92c,_0xdea278,_0x535b57);}};if(helper[_0x5a68ff(0x16f)]()){const _0x9653be=_0x23a30d[_0x5a68ff(0x140)]['split']('|');let _0x1fcd88=0x0;while(!![]){switch(_0x9653be[_0x1fcd88++]){case'0':_0x23a30d[_0x5a68ff(0x1ac)](isAccessibilityAutomationSession)&&_0x23a30d['jRHaH'](setAccessibilityCapabilities,_0x11535f);continue;case'1':this['setServer']();continue;case'2':globals[_0x5a68ff(0x180)](_0x23a30d['CKEFD'])&&(!_0x23a30d[_0x5a68ff(0x179)](setExtension,this,_0x11535f)&&globals[_0x5a68ff(0x19a)](_0x23a30d[_0x5a68ff(0x13d)],![]));continue;case'3':if(helper[_0x5a68ff(0x15e)](_0x11535f['proxySettings'][_0x5a68ff(0x1a7)]))this[_0x5a68ff(0x184)]=helper[_0x5a68ff(0x1a1)](_0x11535f['proxySettings']['proxyUrl']);else _0x11535f['proxySettings']['proxyUrl']&&(this[_0x5a68ff(0x149)]=_0x11535f['proxySettings'][_0x5a68ff(0x1a7)],logger[_0x5a68ff(0x16a)](_0x5a68ff(0x14b)+this[_0x5a68ff(0x149)]));continue;case'4':this['setCapabilities']();continue;case'5':logger[_0x5a68ff(0x16a)](_0x23a30d[_0x5a68ff(0x157)]);continue;}break;}}const _0xb5d978=super[_0x5a68ff(0x166)]();return _0xb5d978[_0x5a68ff(0x14f)][_0x5a68ff(0x154)](_0x1a7c52=>{const _0x5ce855=_0x5a68ff;try{const _0x2554d3=_0x1a7c52[_0x5ce855(0x18d)]['get'](_0x23a30d[_0x5ce855(0x134)]);_0x2554d3?(logger[_0x5ce855(0x16a)](_0x5ce855(0x151)+_0x2554d3),hubAllocator[_0x5ce855(0x192)](_0x2554d3),helper[_0x5ce855(0x1ad)](_0x2554d3)):logger[_0x5ce855(0x16a)](_0x23a30d[_0x5ce855(0x142)]);}catch(_0x3f862a){logger[_0x5ce855(0x16a)](_0x5ce855(0x145)+_0x3f862a);}}),_0xb5d978[_0x5a68ff(0x172)]=0x0,_0xb5d978[_0x5a68ff(0x154)]&&_0xb5d978[_0x5a68ff(0x154)](_0x22d285=>{const _0x55f483=_0x5a68ff,_0x275d7c={'BvVzV':function(_0x3a4e49,_0x3d4dd5,_0x1063d3){return _0x23a30d['qVQSJ'](_0x3a4e49,_0x3d4dd5,_0x1063d3);}};_0x23a30d[_0x55f483(0x139)](overrideQuit,_0x22d285,_0xb5d978),_0x23a30d[_0x55f483(0x1ab)](overrideTakeScreenshot,_0x22d285),helper['overrideGet'](_0x22d285,_0x11535f),_0x23a30d[_0x55f483(0x170)](overrideExecute,_0x22d285,_0x11535f),_0x22d285[_0x55f483(0x18a)]=async()=>{const _0x8b0f9c=_0x55f483;return await _0x275d7c[_0x8b0f9c(0x148)](getAccessibilityResultsSummary,_0x22d285,global);},_0x22d285['getAccessibilityResults']=async()=>{const _0x156c99=_0x55f483;return await _0x237cae[_0x156c99(0x135)](getAccessibilityResults,_0x22d285,global);};}),_0xb5d978[_0x5a68ff(0x18a)]=async()=>{const _0x4db1e2=_0x5a68ff;return await _0x237cae[_0x4db1e2(0x135)](getAccessibilityResultsSummary,_0xb5d978,global);},_0xb5d978[_0x5a68ff(0x153)]=async()=>{return await _0x237cae['gksAS'](getAccessibilityResults,_0xb5d978,global);},_0x23a30d[_0x5a68ff(0x160)](overrideTakeScreenshot,_0xb5d978),_0x23a30d[_0x5a68ff(0x19c)](overrideQuit,_0xb5d978),helper['overrideGet'](_0xb5d978,_0x11535f),_0x23a30d[_0x5a68ff(0x170)](overrideExecute,_0xb5d978,_0x11535f),helper[_0x5a68ff(0x136)](global[_0x5a68ff(0x1a8)])&&(global[_0x5a68ff(0x1a8)]=[]),helper[_0x5a68ff(0x136)](global['__drivers'])&&(global[_0x5a68ff(0x193)]=[]),global[_0x5a68ff(0x1a8)][_0x5a68ff(0x13a)](_0xb5d978),global[_0x5a68ff(0x175)]=_0xb5d978,_0x23a30d[_0x5a68ff(0x133)](global['__drivers'],undefined)&&global[_0x5a68ff(0x193)][_0x5a68ff(0x13a)](_0xb5d978),_0xaf6eb9&&helper[_0x5a68ff(0x136)](_0xaf6eb9[_0x5a68ff(0x150)]['__driversArray'])&&(_0xaf6eb9[_0x5a68ff(0x150)][_0x5a68ff(0x1a8)]=[]),_0xaf6eb9&&_0x23a30d[_0x5a68ff(0x133)](_0xaf6eb9[_0x5a68ff(0x150)]['__drivers'],undefined)&&(_0xaf6eb9[_0x5a68ff(0x150)]['__drivers']['push'](_0xb5d978),_0xaf6eb9['global'][_0x5a68ff(0x1a8)]['push'](_0xb5d978)),_0xb5d978;}}return _0x3e809e[_0x1b93c8(0x13f)]=_0x3e809e[_0x1b93c8(0x178)],_0x3e809e[_0x1b93c8(0x178)]=_0x190ba4,_0x23882e['HttpClient']=_0x402c4c,_0x3e809e;};module[a29_0x57aff1(0x156)]['browserstackAgentObservability']=modify;
1
+ const a29_0x65fa62=a29_0x2fb7;(function(_0xbe646f,_0x11b8b5){const _0x2caf0c=a29_0x2fb7,_0x5408ef=_0xbe646f();while(!![]){try{const _0x5a8fda=parseInt(_0x2caf0c(0x1f7))/0x1*(-parseInt(_0x2caf0c(0x248))/0x2)+parseInt(_0x2caf0c(0x1f3))/0x3+parseInt(_0x2caf0c(0x209))/0x4+-parseInt(_0x2caf0c(0x233))/0x5+parseInt(_0x2caf0c(0x214))/0x6+parseInt(_0x2caf0c(0x23a))/0x7*(parseInt(_0x2caf0c(0x254))/0x8)+parseInt(_0x2caf0c(0x1f9))/0x9*(-parseInt(_0x2caf0c(0x205))/0xa);if(_0x5a8fda===_0x11b8b5)break;else _0x5408ef['push'](_0x5408ef['shift']());}catch(_0x53da31){_0x5408ef['push'](_0x5408ef['shift']());}}}(a29_0x15c5,0x1d3d2));const logger=require('../../../helpers/logger')[a29_0x65fa62(0x23d)],helper=require(a29_0x65fa62(0x1ed)),constants=require(a29_0x65fa62(0x230)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x65fa62(0x247)),{setAccessibilityCapabilities,setExtension}=require(a29_0x65fa62(0x224)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x65fa62(0x1fc)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x45eed3,_0x3b216d=null,_0xf1c385=![])=>{const _0x17352b=a29_0x65fa62,_0xa969ac={'jrlwC':function(_0x5b6d2c,_0x202311){return _0x5b6d2c!==_0x202311;},'aMZuK':_0x17352b(0x1f8),'mCAHq':function(_0x56bbd5,_0x3cf64a){return _0x56bbd5!==_0x3cf64a;},'nXnjD':function(_0x2d9491,_0x4b4672){return _0x2d9491+_0x4b4672;},'srGbg':function(_0x3e5839,_0x737bf){return _0x3e5839+_0x737bf;},'kopEL':_0x17352b(0x212),'hAXJk':_0x17352b(0x251),'wsVkd':_0x17352b(0x22d),'cezsY':_0x17352b(0x229),'OFNtb':_0x17352b(0x218),'GmZmR':_0x17352b(0x22f),'zBNsE':_0x17352b(0x1ef),'RYxDS':'firefoxOptions','mgEDY':_0x17352b(0x255),'BROpf':'se:ieOptions','TIepe':_0x17352b(0x221),'cEdbl':function(_0x21b443,_0x47ef7f){return _0x21b443===_0x47ef7f;},'ectZc':'object','QKXUj':_0x17352b(0x200),'gKJtn':function(_0x2f7eba,_0x5de283,_0x1021ad){return _0x2f7eba(_0x5de283,_0x1021ad);},'WjLlN':_0x17352b(0x206),'JkSrB':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','PfZKA':function(_0x3a7afe,_0x5aca2f){return _0x3a7afe(_0x5aca2f);},'LtRDa':function(_0x5d49ef,_0x35aff3,_0xbfc7fc){return _0x5d49ef(_0x35aff3,_0xbfc7fc);},'YSxzH':_0x17352b(0x242),'sUtPs':_0x17352b(0x21e),'eBNvV':function(_0x472134){return _0x472134();},'jadyp':function(_0x31504a,_0x10098a){return _0x31504a(_0x10098a);},'OcKtQ':_0x17352b(0x234),'QmfDy':function(_0xe36bac,_0x456a11){return _0xe36bac(_0x456a11);},'wphMf':function(_0x37f76c,_0x1c1a3d,_0xa8d92){return _0x37f76c(_0x1c1a3d,_0xa8d92);},'lLrND':function(_0x4a8f31,_0x468d6b){return _0x4a8f31!==_0x468d6b;},'QVOed':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','JhJiC':_0x17352b(0x243)},_0x228665=helper[_0x17352b(0x226)]();let _0x574525;try{_0x574525=helper['requireSeleniumWebdriver'](),_0x574525['originalBuilder']&&(_0x574525[_0x17352b(0x21c)]=_0x574525['originalBuilder']);}catch(_0x5e37bf){return;}if(helper['isBrowserstackInfra']()){const _0x466e19={};_0x466e19['logLevel']=_0x45eed3[_0x17352b(0x1ee)],helper['setLogLevel'](_0x466e19,new Map(),new Map()),logger[_0x17352b(0x225)](_0xa969ac[_0x17352b(0x244)]),logger[_0x17352b(0x1f6)](_0xa969ac['JhJiC']);}class _0x5172b3 extends _0x228665['HttpClient']{[_0x17352b(0x23b)](_0x4edaa3){const _0xa1b327=_0x17352b;if(_0xa969ac[_0xa1b327(0x203)](_0x4edaa3['path'],_0xa969ac[_0xa1b327(0x237)])&&_0xa969ac[_0xa1b327(0x1fb)](global[_0xa1b327(0x23f)],''))try{global[_0xa1b327(0x23f)]=_0xa969ac[_0xa1b327(0x232)](_0xa969ac[_0xa1b327(0x1eb)](_0xa969ac[_0xa1b327(0x23c)],global['newHubUrl']),_0xa969ac[_0xa1b327(0x1fe)]),this[_0xa1b327(0x231)]=hubAllocator[_0xa1b327(0x204)](global[_0xa1b327(0x23f)]),logger[_0xa1b327(0x1f6)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0xa1b327(0x23f)]='';}catch(_0x4ff830){logger[_0xa1b327(0x208)](_0x4ff830);}return super['send'](_0x4edaa3);}}class _0x4db256 extends _0x574525[_0x17352b(0x21c)]{[_0x17352b(0x220)](){const _0x19fdab=_0x17352b;return this[_0x19fdab(0x1fa)]=helper['getHubUrl'](_0x45eed3),logger[_0x19fdab(0x1f6)](_0x19fdab(0x21f)+this[_0x19fdab(0x1fa)]),this;}[_0x17352b(0x227)](_0x1b4278){const _0x8e6d03=_0x17352b;let _0x4ef3be={};for(const _0x2a1cb1 in _0x1b4278){switch(_0x2a1cb1){case _0xa969ac[_0x8e6d03(0x21b)]:case _0xa969ac[_0x8e6d03(0x1e5)]:this[_0x8e6d03(0x1e9)]&&(_0x4ef3be=this[_0x8e6d03(0x1e9)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x1e9)]['CAPABILITY_KEY'])||{},this[_0x8e6d03(0x1e9)][_0x8e6d03(0x252)](this[_0x8e6d03(0x1e9)][_0x8e6d03(0x213)],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac[_0x8e6d03(0x22e)]:case _0xa969ac[_0x8e6d03(0x20b)]:this[_0x8e6d03(0x1e3)]&&(_0x4ef3be=this[_0x8e6d03(0x1e3)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x1e3)]['CAPABILITY_KEY'])||{},this[_0x8e6d03(0x1e3)]['set'](this['edgeOptions_'][_0x8e6d03(0x213)],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac['zBNsE']:case _0xa969ac[_0x8e6d03(0x1f4)]:this[_0x8e6d03(0x219)]&&(_0x4ef3be=this[_0x8e6d03(0x219)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x219)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x8e6d03(0x252)](this[_0x8e6d03(0x219)][_0x8e6d03(0x213)],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac['mgEDY']:this[_0x8e6d03(0x256)]&&(_0x4ef3be=this[_0x8e6d03(0x256)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x256)][_0x8e6d03(0x213)])||{},this[_0x8e6d03(0x256)]['set'](this[_0x8e6d03(0x256)][_0x8e6d03(0x213)],helper['mergeDeep'](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac[_0x8e6d03(0x1e2)]:case _0xa969ac[_0x8e6d03(0x20a)]:this[_0x8e6d03(0x21a)]&&(_0x4ef3be=this[_0x8e6d03(0x21a)]['get'](this['ieOptions_'][_0x8e6d03(0x213)])||{},this[_0x8e6d03(0x21a)][_0x8e6d03(0x252)](this[_0x8e6d03(0x21a)]['CAPABILITY_KEY'],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;}}}[_0x17352b(0x222)](){const _0x112bbc=_0x17352b;return logger['debug'](_0xa969ac[_0x112bbc(0x235)]),this[_0x112bbc(0x227)](_0x45eed3[_0x112bbc(0x1fd)]),Object[_0x112bbc(0x236)](_0x45eed3[_0x112bbc(0x1fd)])['forEach'](_0x4db03d=>{const _0x3d6713=_0x112bbc,_0x44ab1e=this['capabilities_'][_0x3d6713(0x20f)](_0x4db03d);_0xa969ac[_0x3d6713(0x258)](typeof _0x44ab1e,_0xa969ac[_0x3d6713(0x1f5)])?this[_0x3d6713(0x1ec)][_0x3d6713(0x252)](_0x4db03d,helper[_0x3d6713(0x223)](_0x44ab1e,_0x45eed3[_0x3d6713(0x1fd)][_0x4db03d])):this[_0x3d6713(0x1ec)][_0x3d6713(0x252)](_0x4db03d,_0x45eed3[_0x3d6713(0x1fd)][_0x4db03d]);}),this;}['build'](){const _0x372c18=_0x17352b,_0x545b97={'LQffe':_0xa969ac[_0x372c18(0x228)],'cMxsR':_0xa969ac[_0x372c18(0x24e)],'VFDhE':function(_0x2328e4,_0x2c9db2,_0x4b5820){const _0x3469b7=_0x372c18;return _0xa969ac[_0x3469b7(0x257)](_0x2328e4,_0x2c9db2,_0x4b5820);},'EhTVJ':function(_0x40b0c9,_0x5aea48,_0x55719b){const _0x269a35=_0x372c18;return _0xa969ac[_0x269a35(0x257)](_0x40b0c9,_0x5aea48,_0x55719b);},'pTXUM':function(_0x41d6f6,_0x240df2,_0x32251c){return _0xa969ac['gKJtn'](_0x41d6f6,_0x240df2,_0x32251c);},'dAKra':function(_0x33e122,_0x1b26bd){return _0xa969ac['PfZKA'](_0x33e122,_0x1b26bd);},'BsrVQ':function(_0x2649cd,_0xe3f386,_0x9ce700){const _0xc636cd=_0x372c18;return _0xa969ac[_0xc636cd(0x240)](_0x2649cd,_0xe3f386,_0x9ce700);}};if(helper[_0x372c18(0x211)]()){const _0x580316=_0xa969ac['YSxzH'][_0x372c18(0x246)]('|');let _0x100c7c=0x0;while(!![]){switch(_0x580316[_0x100c7c++]){case'0':this[_0x372c18(0x220)]();continue;case'1':logger[_0x372c18(0x1f6)](_0xa969ac[_0x372c18(0x22b)]);continue;case'2':if(helper[_0x372c18(0x238)](_0x45eed3[_0x372c18(0x1e7)][_0x372c18(0x1f2)]))this['agent_']=helper[_0x372c18(0x253)](_0x45eed3[_0x372c18(0x1e7)][_0x372c18(0x1f2)]);else _0x45eed3['proxySettings'][_0x372c18(0x1f2)]&&(this[_0x372c18(0x21d)]=_0x45eed3[_0x372c18(0x1e7)][_0x372c18(0x1f2)],logger[_0x372c18(0x1f6)]('Proxy\x20set\x20to\x20'+this[_0x372c18(0x21d)]));continue;case'3':_0xa969ac['eBNvV'](isAccessibilityAutomationSession)&&_0xa969ac['jadyp'](setAccessibilityCapabilities,_0x45eed3);continue;case'4':globals[_0x372c18(0x22a)](_0xa969ac[_0x372c18(0x250)])&&(!_0xa969ac['LtRDa'](setExtension,this,_0x45eed3)&&globals[_0x372c18(0x202)](_0xa969ac[_0x372c18(0x250)],![]));continue;case'5':this[_0x372c18(0x222)]();continue;}break;}}const _0x19a564=super['build']();return _0x19a564[_0x372c18(0x207)]['then'](_0xd225aa=>{const _0x1f74dc=_0x372c18;try{const _0xf9d234=_0xd225aa['caps_'][_0x1f74dc(0x20f)](_0x545b97[_0x1f74dc(0x1e6)]);_0xf9d234?(logger[_0x1f74dc(0x1f6)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xf9d234),hubAllocator['updateHubUrl'](_0xf9d234),helper[_0x1f74dc(0x1ff)](_0xf9d234)):logger[_0x1f74dc(0x1f6)](_0x545b97[_0x1f74dc(0x1e4)]);}catch(_0x51fb60){logger[_0x1f74dc(0x1f6)](_0x1f74dc(0x215)+_0x51fb60);}}),_0x19a564[_0x372c18(0x24d)]=0x0,_0x19a564[_0x372c18(0x24f)]&&_0x19a564[_0x372c18(0x24f)](_0x2ba8f5=>{const _0x59035b=_0x372c18,_0x1fb4c7={'EMnCn':function(_0x1a9861,_0x4e7ee2,_0x185af9){return _0x545b97['EhTVJ'](_0x1a9861,_0x4e7ee2,_0x185af9);}};_0x545b97['pTXUM'](overrideQuit,_0x2ba8f5,_0x19a564),_0x545b97[_0x59035b(0x1ea)](overrideTakeScreenshot,_0x2ba8f5),helper['overrideGet'](_0x2ba8f5,_0x45eed3),_0x545b97[_0x59035b(0x22c)](overrideExecute,_0x2ba8f5,_0x45eed3),_0x2ba8f5[_0x59035b(0x20d)]=async()=>{const _0xebe3d=_0x59035b;return await _0x545b97[_0xebe3d(0x249)](getAccessibilityResultsSummary,_0x2ba8f5,global);},_0x2ba8f5[_0x59035b(0x20e)]=async()=>{const _0x2703c5=_0x59035b;return await _0x1fb4c7[_0x2703c5(0x217)](getAccessibilityResults,_0x2ba8f5,global);};}),_0x19a564[_0x372c18(0x20d)]=async()=>{const _0x3bb150=_0x372c18;return await _0x545b97[_0x3bb150(0x1f1)](getAccessibilityResultsSummary,_0x19a564,global);},_0x19a564[_0x372c18(0x20e)]=async()=>{const _0x394ae1=_0x372c18;return await _0xa969ac[_0x394ae1(0x257)](getAccessibilityResults,_0x19a564,global);},_0xa969ac[_0x372c18(0x210)](overrideTakeScreenshot,_0x19a564),_0xa969ac[_0x372c18(0x20c)](overrideQuit,_0x19a564),helper['overrideGet'](_0x19a564,_0x45eed3),_0xa969ac[_0x372c18(0x216)](overrideExecute,_0x19a564,_0x45eed3),helper[_0x372c18(0x24a)](global[_0x372c18(0x23e)])&&(global[_0x372c18(0x23e)]=[]),helper['isUndefined'](global[_0x372c18(0x241)])&&(global['__drivers']=[]),global[_0x372c18(0x23e)][_0x372c18(0x201)](_0x19a564),global['__driver']=_0x19a564,_0xa969ac[_0x372c18(0x1fb)](global['__drivers'],undefined)&&global['__drivers'][_0x372c18(0x201)](_0x19a564),_0x3b216d&&helper[_0x372c18(0x24a)](_0x3b216d[_0x372c18(0x24b)]['__driversArray'])&&(_0x3b216d['global'][_0x372c18(0x23e)]=[]),_0x3b216d&&_0xa969ac[_0x372c18(0x245)](_0x3b216d[_0x372c18(0x24b)][_0x372c18(0x241)],undefined)&&(_0x3b216d[_0x372c18(0x24b)][_0x372c18(0x241)]['push'](_0x19a564),_0x3b216d[_0x372c18(0x24b)][_0x372c18(0x23e)]['push'](_0x19a564)),_0x19a564;}}return _0x574525[_0x17352b(0x24c)]=_0x574525[_0x17352b(0x21c)],_0x574525[_0x17352b(0x21c)]=_0x4db256,_0x228665[_0x17352b(0x1e8)]=_0x5172b3,_0x574525;};module[a29_0x65fa62(0x239)][a29_0x65fa62(0x1f0)]=modify;function a29_0x2fb7(_0xbc6969,_0x198048){const _0x15c504=a29_0x15c5();return a29_0x2fb7=function(_0x2fb78c,_0x20f9b8){_0x2fb78c=_0x2fb78c-0x1e2;let _0x573d14=_0x15c504[_0x2fb78c];return _0x573d14;},a29_0x2fb7(_0xbc6969,_0x198048);}function a29_0x15c5(){const _0x582d3c=['hAXJk','storeOptimalHubUrl','Setting\x20Browserstack\x20capabilities','push','setGlobal','jrlwC','getRequestOptions','15490QOtQnv','optimalHubUrl','session_','error','348556movyxV','TIepe','GmZmR','jadyp','getAccessibilityResultsSummary','getAccessibilityResults','get','QmfDy','isBrowserstackInfra','https://','CAPABILITY_KEY','484230KwEkaB','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','wphMf','EMnCn','ms:edgeOptions','firefoxOptions_','ieOptions_','wsVkd','Builder','proxy_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Hub\x20url\x20set\x20to\x20','setServer','ieOptions','setCapabilities','mergeDeep','../accessibility-automation/helper','info','requireHttpClient','__setBrowserOptions','WjLlN','chromeOptions','getGlobal','sUtPs','BsrVQ','goog:chromeOptions','OFNtb','edgeOptions','../../../bin/utils/constants','options_','nXnjD','6115dDUcpN','isAccessibilityPlatform','QKXUj','keys','aMZuK','isPacProxy','exports','42QRaCAb','send','kopEL','winstonLogger','__driversArray','newHubUrl','LtRDa','__drivers','3|0|5|2|4|1','Modifying\x20webdriver\x20builder','QVOed','lLrND','split','../../../helpers/patchHelpers','2EtJZKq','VFDhE','isUndefined','global','originalBuilder','quitCount_','JkSrB','then','OcKtQ','/wd/hub','set','getHttpAgent','107648IjKlzR','safari.options','safariOptions_','gKJtn','cEdbl','BROpf','edgeOptions_','cMxsR','cezsY','LQffe','proxySettings','HttpClient','chromeOptions_','dAKra','srGbg','capabilities_','../../../helpers/helper','browserStackLogLevel','moz:firefoxOptions','browserstackAgentObservability','EhTVJ','proxyUrl','47244PkNiFX','RYxDS','ectZc','debug','50403jkRXKI','/session','540gFJLeS','url_','mCAHq','../../../helpers/globals','capability'];a29_0x15c5=function(){return _0x582d3c;};return a29_0x15c5();}
@@ -1 +1 @@
1
- const a30_0x129604=a30_0x2775;(function(_0xd4d1f1,_0x404510){const _0x362272=a30_0x2775,_0x1f6676=_0xd4d1f1();while(!![]){try{const _0x2c8a87=parseInt(_0x362272(0xba))/0x1*(parseInt(_0x362272(0xb6))/0x2)+-parseInt(_0x362272(0xbc))/0x3*(-parseInt(_0x362272(0xb8))/0x4)+parseInt(_0x362272(0xbb))/0x5*(-parseInt(_0x362272(0xbe))/0x6)+parseInt(_0x362272(0xb4))/0x7*(-parseInt(_0x362272(0xc0))/0x8)+-parseInt(_0x362272(0xc1))/0x9+parseInt(_0x362272(0xbf))/0xa*(parseInt(_0x362272(0xb5))/0xb)+parseInt(_0x362272(0xc2))/0xc;if(_0x2c8a87===_0x404510)break;else _0x1f6676['push'](_0x1f6676['shift']());}catch(_0x129147){_0x1f6676['push'](_0x1f6676['shift']());}}}(a30_0x1841,0xc612b));function a30_0x2775(_0x5e9503,_0x20dabf){const _0x1841d7=a30_0x1841();return a30_0x2775=function(_0x277574,_0x4d9c9d){_0x277574=_0x277574-0xb4;let _0x36de69=_0x1841d7[_0x277574];return _0x36de69;},a30_0x2775(_0x5e9503,_0x20dabf);}const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x129604(0xb7));exports['mochaHooks']={'beforeAll'(){const _0x8a870f=a30_0x129604,_0x80ea2f={'bjeyB':function(_0x17145d){return _0x17145d();}},_0x27ecc4='browserstack internal helper hook';_0x80ea2f[_0x8a870f(0xb9)](addRequestSpy);},'afterAll'(){const _0x562e3c=a30_0x129604,_0x3bccbf='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x562e3c(0xbd)]();}};function a30_0x1841(){const _0x50e33f=['../../../helpers/test-observability/utils','4veLgTy','bjeyB','21546DJyjWZ','7690CHJLpF','2760981mMAGVM','restore','3228bhXTXD','223670FIGUPt','1481344sULLDy','5998995mZGFmK','1847064CXqyGy','14xvDBhz','671pqASvm','22qdwvyO'];a30_0x1841=function(){return _0x50e33f;};return a30_0x1841();}
1
+ const a30_0x19893f=a30_0x5f39;(function(_0xcef9c6,_0x4eaf28){const _0x386ddb=a30_0x5f39,_0x3548a4=_0xcef9c6();while(!![]){try{const _0x1da9af=-parseInt(_0x386ddb(0x98))/0x1+parseInt(_0x386ddb(0x8f))/0x2*(parseInt(_0x386ddb(0x9d))/0x3)+-parseInt(_0x386ddb(0x90))/0x4*(-parseInt(_0x386ddb(0x8e))/0x5)+-parseInt(_0x386ddb(0x96))/0x6+-parseInt(_0x386ddb(0x97))/0x7*(-parseInt(_0x386ddb(0x9e))/0x8)+parseInt(_0x386ddb(0x92))/0x9*(-parseInt(_0x386ddb(0x93))/0xa)+parseInt(_0x386ddb(0x94))/0xb;if(_0x1da9af===_0x4eaf28)break;else _0x3548a4['push'](_0x3548a4['shift']());}catch(_0x4af7a8){_0x3548a4['push'](_0x3548a4['shift']());}}}(a30_0x2c6e,0x1ad7d));const requestSpy=require(a30_0x19893f(0x99)),constants=require(a30_0x19893f(0x9c)),{addRequestSpy}=require(a30_0x19893f(0x9b));function a30_0x5f39(_0x3483d2,_0x430942){const _0x2c6eb6=a30_0x2c6e();return a30_0x5f39=function(_0x5f3987,_0x53f732){_0x5f3987=_0x5f3987-0x8e;let _0x4bc67a=_0x2c6eb6[_0x5f3987];return _0x4bc67a;},a30_0x5f39(_0x3483d2,_0x430942);}exports[a30_0x19893f(0x9a)]={'beforeAll'(){const _0x3cfc60=a30_0x19893f,_0x3a0a52={'oZxXF':function(_0x41d581){return _0x41d581();}},_0x4c164c='browserstack internal helper hook';_0x3a0a52[_0x3cfc60(0x91)](addRequestSpy);},'afterAll'(){const _0x3181c8=a30_0x19893f,_0x311ca3='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x3181c8(0x95)]();}};function a30_0x2c6e(){const _0x51bdde=['../../../helpers/test-observability/utils','../../../bin/utils/constants','60903pywWBC','442448MtPRCq','373155xrABuf','14vvYFHx','8vCFHvj','oZxXF','85068ydFJrZ','10vZKaMl','836000qjlmmj','restore','1060200DoeHWn','14Mkhhzx','181880ouryJQ','../../../helpers/request-spy','mochaHooks'];a30_0x2c6e=function(){return _0x51bdde;};return a30_0x2c6e();}
@@ -1 +1 @@
1
- function a31_0x35e8(){const _0x262b21=['hookAnalyticsId','bfxEY','pid','state','hTNfu','LmXyr','getBrowserVersion','1346043mUXsnO','getBrowserName','browserstack','_afterEach','6585120hIfGja','dLPSq','getHookSkippedTests','KkfTO','../../utils/logPatcher','hook:','../../../helpers/testhub/utils','fromEntries','getCapabilities','hPsfD','platformVersion','indexOf','sendPlatformDetails','1216502qoIYtR','neese','slice','split','toISOString','BiqXN','EaDJL','kEtnO','hook','__cloud_provider___','4VPGrFC','filter','emit','passed','BAcjT','_beforeAll','RGqCr','mGmfe','forEach','toJSON','TEST_PLATFORM','338517CLZMlX','markedStatus','kxzUd','XAdzF','../../../../package.json','YKfor','oMnkV','739967JyAbLP','substring','../../../helpers/helper','zUNqa','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','fifCT','6843114DYLigZ','5998244ggLPBs','generic','../../../helpers/test-observability/utils','ZihCA','ZFTLN','reduce','concat','parent','get','getPlatform','failed','getSession','YSjUa','js-','mapTestHooks','8uuDJVc','5EorHbV','_afterAll','_beforeEach','wUwkf','eZxxq','bJvuF','suites'];a31_0x35e8=function(){return _0x262b21;};return a31_0x35e8();}const a31_0x149d5e=a31_0x2f54;function a31_0x2f54(_0x5840ea,_0x23a602){const _0x35e894=a31_0x35e8();return a31_0x2f54=function(_0x2f54b7,_0x1cebc9){_0x2f54b7=_0x2f54b7-0xa5;let _0x483c02=_0x35e894[_0x2f54b7];return _0x483c02;},a31_0x2f54(_0x5840ea,_0x23a602);}(function(_0x23f23,_0x1b4a77){const _0x1e237a=a31_0x2f54,_0x284c64=_0x23f23();while(!![]){try{const _0x29586d=parseInt(_0x1e237a(0xc9))/0x1+-parseInt(_0x1e237a(0xad))/0x2+-parseInt(_0x1e237a(0xee))/0x3*(parseInt(_0x1e237a(0xb7))/0x4)+-parseInt(_0x1e237a(0xe0))/0x5*(-parseInt(_0x1e237a(0xcf))/0x6)+-parseInt(_0x1e237a(0xd0))/0x7+parseInt(_0x1e237a(0xdf))/0x8*(-parseInt(_0x1e237a(0xc2))/0x9)+parseInt(_0x1e237a(0xf2))/0xa;if(_0x29586d===_0x1b4a77)break;else _0x284c64['push'](_0x284c64['shift']());}catch(_0x3f5551){_0x284c64['push'](_0x284c64['shift']());}}}(a31_0x35e8,0x8f729));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x149d5e(0xc6)),logPatcher=require(a31_0x149d5e(0xf6)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x149d5e(0xd2)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x149d5e(0xcb)),{shouldProcessEventForTesthub}=require(a31_0x149d5e(0xa6)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0x149d5e(0xd2));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x3c8aef=a31_0x149d5e,_0x408cff={'fifCT':_0x3c8aef(0xd1),'ZihCA':function(_0x21f2f7){return _0x21f2f7();}};return{'ci':_0x408cff[_0x3c8aef(0xce)],'key':_0x408cff[_0x3c8aef(0xd3)](uuidv4),'version':version,'collector':_0x3c8aef(0xdd)+name};},exports['getHookDetails']=_0x1ee43c=>{const _0x1005bc=a31_0x149d5e,_0x588ff0={};_0x588ff0[_0x1005bc(0xc7)]=function(_0x25cc61,_0x461147){return _0x25cc61!==_0x461147;},_0x588ff0[_0x1005bc(0xb3)]='string',_0x588ff0[_0x1005bc(0xbb)]=_0x1005bc(0xa5),_0x588ff0['hTNfu']=_0x1005bc(0xb5);const _0x446dfc=_0x588ff0;if(!_0x1ee43c||_0x446dfc[_0x1005bc(0xc7)](typeof _0x1ee43c,_0x446dfc[_0x1005bc(0xb3)]))return[null,null];if(_0x446dfc[_0x1005bc(0xc7)](_0x1ee43c[_0x1005bc(0xab)](_0x446dfc['BAcjT']),-0x1)){const _0x4737c4=_0x1ee43c[_0x1005bc(0xb0)](_0x446dfc[_0x1005bc(0xbb)]);return[_0x4737c4[0x0][_0x1005bc(0xaf)](0x0,-0x1)[_0x1005bc(0xb0)]('\x22')[0x1],_0x4737c4[0x1][_0x1005bc(0xca)](0x1)];}else{if(_0x446dfc[_0x1005bc(0xc7)](_0x1ee43c[_0x1005bc(0xab)](_0x446dfc[_0x1005bc(0xeb)]),-0x1)){const _0x1474c6=_0x1ee43c[_0x1005bc(0xb0)](_0x446dfc[_0x1005bc(0xeb)]);return[_0x1474c6[0x0]['slice'](0x0,-0x1)[_0x1005bc(0xb0)]('\x22')[0x1],_0x1ee43c];}}return[null,null];},exports['getHooksForTest']=_0x1d2a27=>{const _0xc21d78=a31_0x149d5e,_0x1b7678={'YSjUa':function(_0x3cc8ed,_0x159cdf){return _0x3cc8ed(_0x159cdf);},'dLPSq':'_beforeAll','SWqkt':_0xc21d78(0xe1),'pcJCd':_0xc21d78(0xe2),'hPsfD':_0xc21d78(0xf1)};if(!_0x1d2a27||!_0x1d2a27[_0xc21d78(0xd7)])return[];const _0xfd80b5=[];return[_0x1b7678[_0xc21d78(0xf3)],_0x1b7678['SWqkt'],_0x1b7678['pcJCd'],_0x1b7678[_0xc21d78(0xa9)]][_0xc21d78(0xbf)](_0x332ac6=>{const _0x11877c=_0xc21d78,_0x3a3555={'kxzUd':function(_0x5d2d38,_0x5ad903){const _0x52a4ed=a31_0x2f54;return _0x1b7678[_0x52a4ed(0xdc)](_0x5d2d38,_0x5ad903);}},_0x17178e=_0x1d2a27[_0x11877c(0xd7)][_0x332ac6]||[];_0x17178e['forEach'](_0x1f24a4=>{const _0x3c1aa9=_0x11877c;_0x1f24a4[_0x3c1aa9(0xe7)]&&!_0x3a3555[_0x3c1aa9(0xc4)](isInternalHook,_0x1f24a4['fn'])&&_0xfd80b5['push'](_0x1f24a4[_0x3c1aa9(0xe7)]);});}),[..._0xfd80b5,...exports['getHooksForTest'](_0x1d2a27[_0xc21d78(0xd7)])];},exports[a31_0x149d5e(0xde)]=_0x10d85e=>{const _0x18acb4=a31_0x149d5e,_0x73d0d={'wUwkf':function(_0x12a834){return _0x12a834();},'bAkHY':function(_0x3d8f5b,_0x3dd963){return _0x3d8f5b===_0x3dd963;},'XAdzF':_0x18acb4(0xf1),'uNYTi':_0x18acb4(0xbc),'oMnkV':_0x18acb4(0xe1),'AJHYz':_0x18acb4(0xe2)};if(!_0x10d85e||!_0x10d85e[_0x18acb4(0xd7)])return;[_0x73d0d['uNYTi'],_0x73d0d[_0x18acb4(0xc8)],_0x73d0d['AJHYz'],_0x73d0d[_0x18acb4(0xc5)]]['forEach'](_0x420782=>{const _0x10ca9c=_0x18acb4,_0x64a1da={'DcXkG':function(_0x23596c){const _0x54fdbb=a31_0x2f54;return _0x73d0d[_0x54fdbb(0xe3)](_0x23596c);},'bVUHY':function(_0x2906ae,_0x4f046d){return _0x73d0d['bAkHY'](_0x2906ae,_0x4f046d);},'ZFTLN':_0x73d0d[_0x10ca9c(0xc5)],'neese':function(_0x22b055){const _0x347f4e=_0x10ca9c;return _0x73d0d[_0x347f4e(0xe3)](_0x22b055);}},_0x921bbc=_0x10d85e['parent'][_0x420782]||[];_0x921bbc['forEach'](_0x46bde6=>{const _0x5aca1b=_0x10ca9c;if(!_0x46bde6['hookAnalyticsId'])_0x46bde6['hookAnalyticsId']=_0x64a1da['DcXkG'](uuidv4);else _0x46bde6[_0x5aca1b(0xc3)]&&_0x64a1da['bVUHY'](_0x420782,_0x64a1da[_0x5aca1b(0xd4)])&&(_0x46bde6[_0x5aca1b(0xe7)]=_0x64a1da[_0x5aca1b(0xae)](uuidv4),delete _0x46bde6[_0x5aca1b(0xc3)]);});}),exports[_0x18acb4(0xde)](_0x10d85e[_0x18acb4(0xd7)]);},exports[a31_0x149d5e(0xac)]=async(_0x1a5694,_0x4252ed)=>{const _0x309452=a31_0x149d5e,_0x26091b={'kEtnO':function(_0x396240){return _0x396240();},'RGqCr':function(_0x439dfc,_0x577796){return _0x439dfc(_0x577796);},'MeiXD':_0x309452(0xaa),'BiqXN':function(_0x43c51e,_0x16ef43){return _0x43c51e===_0x16ef43;},'bfxEY':_0x309452(0xf0),'zUNqa':'unknown_grid','eZxxq':_0x309452(0xc1)};try{if(!_0x26091b[_0x309452(0xb4)](shouldProcessEventForTesthub))return;const _0x42e9c8=await _0x1a5694[_0x309452(0xa8)](),_0x4d6842=await _0x1a5694[_0x309452(0xdb)](),_0x20fa80={},_0x286548=Object[_0x309452(0xa7)](_0x4d6842['getCapabilities']()['map_']),_0x327d14={'product':_0x26091b[_0x309452(0xbd)](getObservabilityLinkedProductName,_0x286548),'capabilities':_0x286548,'platform':_0x42e9c8[_0x309452(0xd9)](),'platform_version':_0x42e9c8[_0x309452(0xd8)](_0x26091b['MeiXD'])?_0x42e9c8[_0x309452(0xd8)](_0x26091b['MeiXD']):_0x26091b[_0x309452(0xbd)](getPlatformVersion,_0x26091b[_0x309452(0xb2)](global[_0x309452(0xb6)],_0x26091b[_0x309452(0xe8)])),'browser':_0x42e9c8[_0x309452(0xef)](),'browser_version':_0x42e9c8[_0x309452(0xed)](),'session_id':_0x4d6842[_0x309452(0xc0)]()};global['__cloud_provider___']?_0x20fa80[global[_0x309452(0xb6)]]=_0x327d14:_0x20fa80[_0x26091b[_0x309452(0xcc)]]=_0x327d14,process[_0x309452(0xb9)]('bs:addPlatformDetails:'+process[_0x309452(0xe9)],{'timestamp':new Date()[_0x309452(0xb1)](),'level':null,'message':null,'kind':_0x26091b[_0x309452(0xe4)],'http_response':_0x20fa80,'uuid':_0x4252ed});}catch(_0x1cb183){_0x26091b[_0x309452(0xbd)](debug,_0x309452(0xcd)+_0x1cb183);}},exports[a31_0x149d5e(0xf4)]=_0x3f228a=>{const _0x26d420=a31_0x149d5e,_0x14aeb2={};_0x14aeb2['bJvuF']=function(_0x2fca7e,_0x572b9f){return _0x2fca7e!==_0x572b9f;},_0x14aeb2[_0x26d420(0xec)]=_0x26d420(0xb5),_0x14aeb2[_0x26d420(0xbe)]=_0x26d420(0xba),_0x14aeb2[_0x26d420(0xf5)]=_0x26d420(0xda);const _0x5b0f1d=_0x14aeb2,_0x5b5b16=_0x3f228a[_0x26d420(0xe6)][_0x26d420(0xd5)]((_0x33b89e,_0x5c6e67)=>{const _0x53e2e2=_0x26d420,_0x4c2e8b=exports[_0x53e2e2(0xf4)](_0x5c6e67);return _0x4c2e8b&&(_0x33b89e=_0x33b89e[_0x53e2e2(0xd6)](_0x4c2e8b)),_0x33b89e;},[]),_0x4dccfc=_0x3f228a['tests'][_0x26d420(0xb8)](_0x3b7107=>{const _0x526fa1=_0x26d420,_0x360e97=_0x5b0f1d['bJvuF'](_0x3b7107['type'],_0x5b0f1d[_0x526fa1(0xec)])&&!_0x3b7107[_0x526fa1(0xc3)]&&_0x5b0f1d[_0x526fa1(0xe5)](_0x3b7107[_0x526fa1(0xea)],_0x5b0f1d[_0x526fa1(0xbe)])&&_0x5b0f1d['bJvuF'](_0x3b7107[_0x526fa1(0xea)],_0x5b0f1d[_0x526fa1(0xf5)])&&!_0x3b7107['pending'];return _0x360e97;});return _0x4dccfc[_0x26d420(0xd6)](_0x5b5b16);};
1
+ const a31_0x32bea0=a31_0x1aeb;(function(_0x410698,_0x393105){const _0xe08e4f=a31_0x1aeb,_0x42db73=_0x410698();while(!![]){try{const _0x35b518=parseInt(_0xe08e4f(0x1b4))/0x1+parseInt(_0xe08e4f(0x1ba))/0x2+parseInt(_0xe08e4f(0x1cf))/0x3+-parseInt(_0xe08e4f(0x1cc))/0x4+parseInt(_0xe08e4f(0x1e0))/0x5+parseInt(_0xe08e4f(0x1fb))/0x6*(-parseInt(_0xe08e4f(0x200))/0x7)+parseInt(_0xe08e4f(0x1ec))/0x8*(parseInt(_0xe08e4f(0x1e8))/0x9);if(_0x35b518===_0x393105)break;else _0x42db73['push'](_0x42db73['shift']());}catch(_0x4e90a7){_0x42db73['push'](_0x42db73['shift']());}}}(a31_0x44d0,0xcfa73));const {v4:uuidv4}=require(a31_0x32bea0(0x1b7)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x32bea0(0x1c5)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x32bea0(0x1c9)),{consoleHolder}=require(a31_0x32bea0(0x1ad)),{getPlatformVersion}=require(a31_0x32bea0(0x1f9)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x32bea0(0x1c8)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a31_0x44d0(){const _0x91b37f=['HyDCV','getHookDetails','7907850ZYmXBm','get','state','getHooksForTest','parent','vvXeC','emit','MYqKH','9iHcAth','cijLj','YupVw','kQiGE','1265608ZFguuw','RmvKb','_beforeAll','_afterEach','ZJMeT','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','string','_beforeEach','hook:','push','ubxix','slice','generic','../../../helpers/helper','getBrowserName','750bNctrm','__cloud_provider___','type','fromEntries','pid','85281ppqhKf','hook','hookAnalyticsId','../../../helpers/test-observability/constants','mzImY','failed','platformVersion','nqqEt','substring','UXXtq','362915zNmjXy','WWPwR','getCapabilities','uuid','_afterAll','RNdAF','2726690Szgoif','toISOString','fBveJ','toJSON','markedStatus','unknown_grid','CgwUK','indexOf','browserstack','filter','RwNKO','../../utils/logPatcher','tests','yImYv','lodash','../../../helpers/test-observability/utils','suites','getSession','4602300IAoPMR','baZLW','iLLeE','173898MSBncN','map_','sendPlatformDetails','TPzOr','TqQkv','JQzhm','mapTestHooks','split','forEach','olfWj','concat','TEST_PLATFORM','UjwUh','reduce','CkNdw'];a31_0x44d0=function(){return _0x91b37f;};return a31_0x44d0();}function a31_0x1aeb(_0xa07fcf,_0x2da7b3){const _0x44d0f6=a31_0x44d0();return a31_0x1aeb=function(_0x1aebca,_0x32764e){_0x1aebca=_0x1aebca-0x1ad;let _0xbb42a2=_0x44d0f6[_0x1aebca];return _0xbb42a2;},a31_0x1aeb(_0xa07fcf,_0x2da7b3);}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0xe5366c=a31_0x32bea0,_0x15341b={'ajCJJ':_0xe5366c(0x1f8),'UXXtq':function(_0x469e56){return _0x469e56();}};return{'ci':_0x15341b['ajCJJ'],'key':_0x15341b[_0xe5366c(0x1b3)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x32bea0(0x1df)]=_0xa9cb48=>{const _0x3788e4=a31_0x32bea0,_0x8894d8={};_0x8894d8[_0x3788e4(0x1e9)]=function(_0x915e0b,_0x3adbd4){return _0x915e0b!==_0x3adbd4;},_0x8894d8[_0x3788e4(0x1db)]=_0x3788e4(0x1f2),_0x8894d8[_0x3788e4(0x1c0)]=_0x3788e4(0x1f4),_0x8894d8['ZJMeT']=function(_0x4a8481,_0x5b95bb){return _0x4a8481!==_0x5b95bb;},_0x8894d8[_0x3788e4(0x1bc)]='hook';const _0x355189=_0x8894d8;if(!_0xa9cb48||_0x355189[_0x3788e4(0x1e9)](typeof _0xa9cb48,_0x355189['UjwUh']))return[null,null];if(_0x355189[_0x3788e4(0x1e9)](_0xa9cb48[_0x3788e4(0x1c1)](_0x355189[_0x3788e4(0x1c0)]),-0x1)){const _0xb6b4ea=_0xa9cb48[_0x3788e4(0x1d6)](_0x355189[_0x3788e4(0x1c0)]);return[_0xb6b4ea[0x0][_0x3788e4(0x1f7)](0x0,-0x1)[_0x3788e4(0x1d6)]('\x22')[0x1],_0xb6b4ea[0x1][_0x3788e4(0x1b2)](0x1)];}else{if(_0x355189[_0x3788e4(0x1f0)](_0xa9cb48[_0x3788e4(0x1c1)](_0x355189[_0x3788e4(0x1bc)]),-0x1)){const _0x267024=_0xa9cb48[_0x3788e4(0x1d6)](_0x355189['fBveJ']);return[_0x267024[0x0][_0x3788e4(0x1f7)](0x0,-0x1)[_0x3788e4(0x1d6)]('\x22')[0x1],_0xa9cb48];}}return[null,null];},exports[a31_0x32bea0(0x1e3)]=_0x4dfa0d=>{const _0x31f5ba=a31_0x32bea0,_0x58cec9={'ubxix':function(_0x261abc,_0x49fab3){return _0x261abc(_0x49fab3);},'CkNdw':_0x31f5ba(0x1ee),'ZIIFF':_0x31f5ba(0x1b8),'aGAWs':_0x31f5ba(0x1f3),'RNdAF':_0x31f5ba(0x1ef)};if(!_0x4dfa0d||!_0x4dfa0d[_0x31f5ba(0x1e4)])return[];const _0x2475b6=[];return[_0x58cec9[_0x31f5ba(0x1dd)],_0x58cec9['ZIIFF'],_0x58cec9['aGAWs'],_0x58cec9[_0x31f5ba(0x1b9)]][_0x31f5ba(0x1d7)](_0x5dc78f=>{const _0x3b41de=_0x31f5ba,_0x6bae44=_0x4dfa0d[_0x3b41de(0x1e4)][_0x5dc78f]||[];_0x6bae44[_0x3b41de(0x1d7)](_0x2097f9=>{const _0x3ae036=_0x3b41de;_0x2097f9[_0x3ae036(0x202)]&&!_0x58cec9[_0x3ae036(0x1f6)](isInternalHook,_0x2097f9['fn'])&&_0x2475b6[_0x3ae036(0x1f5)](_0x2097f9[_0x3ae036(0x202)]);});}),[..._0x2475b6,...exports[_0x31f5ba(0x1e3)](_0x4dfa0d[_0x31f5ba(0x1e4)])];},exports[a31_0x32bea0(0x1d5)]=_0x3caaf5=>{const _0x41346d=a31_0x32bea0,_0x5cbdeb={'MErbJ':function(_0x27611a){return _0x27611a();},'ZjwjZ':function(_0x1e51a9,_0x1b4209){return _0x1e51a9===_0x1b4209;},'TqQkv':_0x41346d(0x1ef),'RwNKO':function(_0x293975){return _0x293975();},'olfWj':'_beforeAll','TPzOr':_0x41346d(0x1b8),'WWPwR':_0x41346d(0x1f3)};if(!_0x3caaf5||!_0x3caaf5['parent'])return;[_0x5cbdeb[_0x41346d(0x1d8)],_0x5cbdeb[_0x41346d(0x1d2)],_0x5cbdeb[_0x41346d(0x1b5)],_0x5cbdeb[_0x41346d(0x1d3)]][_0x41346d(0x1d7)](_0x21bf55=>{const _0x417b09=_0x3caaf5['parent'][_0x21bf55]||[];_0x417b09['forEach'](_0x2f723b=>{const _0x16e446=a31_0x1aeb;if(!_0x2f723b[_0x16e446(0x202)])_0x2f723b[_0x16e446(0x202)]=_0x5cbdeb['MErbJ'](uuidv4);else _0x2f723b[_0x16e446(0x1be)]&&_0x5cbdeb['ZjwjZ'](_0x21bf55,_0x5cbdeb['TqQkv'])&&(_0x2f723b['hookAnalyticsId']=_0x5cbdeb[_0x16e446(0x1c4)](uuidv4),delete _0x2f723b['markedStatus']);});}),exports['mapTestHooks'](_0x3caaf5['parent']);},exports[a31_0x32bea0(0x1d1)]=async(_0x3f0a7c,_0x9ecd2b)=>{const _0x2e8f55=a31_0x32bea0,_0xe2b10d={'MYqKH':function(_0x4f8e9d){return _0x4f8e9d();},'kQiGE':function(_0x517d15,_0x1522bd){return _0x517d15(_0x1522bd);},'YupVw':_0x2e8f55(0x1b0),'QQcnt':function(_0x19c3f4,_0x1d2d38){return _0x19c3f4===_0x1d2d38;},'iLLeE':_0x2e8f55(0x1c2),'JQzhm':_0x2e8f55(0x1bf),'yImYv':_0x2e8f55(0x1da)};try{if(!_0xe2b10d[_0x2e8f55(0x1e7)](shouldProcessEventForTesthub))return;const _0x278854=await _0x3f0a7c[_0x2e8f55(0x1b6)](),_0x522480=await _0x3f0a7c[_0x2e8f55(0x1cb)](),_0x1ae573={},_0x3d939f=Object[_0x2e8f55(0x1fe)](_0x522480[_0x2e8f55(0x1b6)]()[_0x2e8f55(0x1d0)]),_0x4d8c21={'product':_0xe2b10d[_0x2e8f55(0x1eb)](getObservabilityLinkedProductName,_0x3d939f),'capabilities':_0x3d939f,'platform':_0x278854['getPlatform'](),'platform_version':_0x278854[_0x2e8f55(0x1e1)](_0xe2b10d[_0x2e8f55(0x1ea)])?_0x278854['get'](_0xe2b10d[_0x2e8f55(0x1ea)]):_0xe2b10d[_0x2e8f55(0x1eb)](getPlatformVersion,_0xe2b10d['QQcnt'](global[_0x2e8f55(0x1fc)],_0xe2b10d[_0x2e8f55(0x1ce)])),'browser':_0x278854[_0x2e8f55(0x1fa)](),'browser_version':_0x278854['getBrowserVersion'](),'session_id':_0x522480[_0x2e8f55(0x1bd)]()};global['__cloud_provider___']?_0x1ae573[global['__cloud_provider___']]=_0x4d8c21:_0x1ae573[_0xe2b10d[_0x2e8f55(0x1d4)]]=_0x4d8c21,process[_0x2e8f55(0x1e6)]('bs:addPlatformDetails:'+process[_0x2e8f55(0x1ff)],{'timestamp':new Date()[_0x2e8f55(0x1bb)](),'level':null,'message':null,'kind':_0xe2b10d[_0x2e8f55(0x1c7)],'http_response':_0x1ae573,'uuid':_0x9ecd2b});}catch(_0x2dc63f){_0xe2b10d[_0x2e8f55(0x1eb)](debug,_0x2e8f55(0x1f1)+_0x2dc63f);}},exports['getHookSkippedTests']=_0x30271b=>{const _0x31fbb2=a31_0x32bea0,_0x4b520={};_0x4b520[_0x31fbb2(0x1ae)]=function(_0x5cb77f,_0x3cf409){return _0x5cb77f!==_0x3cf409;},_0x4b520[_0x31fbb2(0x1cd)]=_0x31fbb2(0x201),_0x4b520[_0x31fbb2(0x1de)]=function(_0x302722,_0x38f9c9){return _0x302722!==_0x38f9c9;},_0x4b520[_0x31fbb2(0x1b1)]='passed',_0x4b520['vvXeC']=function(_0x1903f8,_0x23718a){return _0x1903f8!==_0x23718a;},_0x4b520['RmvKb']=_0x31fbb2(0x1af);const _0x5c1876=_0x4b520,_0x45587d=_0x30271b[_0x31fbb2(0x1ca)][_0x31fbb2(0x1dc)]((_0x4afa85,_0x13182c)=>{const _0x4ccfe8=_0x31fbb2,_0x2b1e1d=exports['getHookSkippedTests'](_0x13182c);return _0x2b1e1d&&(_0x4afa85=_0x4afa85[_0x4ccfe8(0x1d9)](_0x2b1e1d)),_0x4afa85;},[]),_0xb681c=_0x30271b[_0x31fbb2(0x1c6)][_0x31fbb2(0x1c3)](_0x5b446c=>{const _0x475bbc=_0x31fbb2,_0x23946f=_0x5c1876['mzImY'](_0x5b446c[_0x475bbc(0x1fd)],_0x5c1876[_0x475bbc(0x1cd)])&&!_0x5b446c[_0x475bbc(0x1be)]&&_0x5c1876[_0x475bbc(0x1de)](_0x5b446c[_0x475bbc(0x1e2)],_0x5c1876[_0x475bbc(0x1b1)])&&_0x5c1876[_0x475bbc(0x1e5)](_0x5b446c['state'],_0x5c1876[_0x475bbc(0x1ed)])&&!_0x5b446c['pending'];return _0x23946f;});return _0xb681c['concat'](_0x45587d);};
@@ -1 +1 @@
1
- const a32_0x21bb23=a32_0x10ae;(function(_0x3ab081,_0x3be998){const _0x175b34=a32_0x10ae,_0x16d1c9=_0x3ab081();while(!![]){try{const _0x3b5243=-parseInt(_0x175b34(0x106))/0x1*(parseInt(_0x175b34(0x151))/0x2)+parseInt(_0x175b34(0x12a))/0x3*(parseInt(_0x175b34(0x167))/0x4)+parseInt(_0x175b34(0x133))/0x5+parseInt(_0x175b34(0x190))/0x6*(parseInt(_0x175b34(0x120))/0x7)+-parseInt(_0x175b34(0x141))/0x8*(parseInt(_0x175b34(0x16d))/0x9)+-parseInt(_0x175b34(0x14e))/0xa*(-parseInt(_0x175b34(0x176))/0xb)+-parseInt(_0x175b34(0x139))/0xc;if(_0x3b5243===_0x3be998)break;else _0x16d1c9['push'](_0x16d1c9['shift']());}catch(_0x2dd908){_0x16d1c9['push'](_0x16d1c9['shift']());}}}(a32_0x39e8,0xd77d2));function a32_0x10ae(_0x7905bc,_0x17af5a){const _0x39e875=a32_0x39e8();return a32_0x10ae=function(_0x10ae26,_0x44a1e7){_0x10ae26=_0x10ae26-0xe4;let _0x38c5d1=_0x39e875[_0x10ae26];return _0x38c5d1;},a32_0x10ae(_0x7905bc,_0x17af5a);}function a32_0x39e8(){const _0x1bb350=['VCsqp','LCXCH','afterTest','debug','VKAXF','RejLQ','__error_messages__','currentTest','SAVE_RESULTS','MOkxf','GezTc','fCvHi','WImbf','FTLga','accessibilityScanStarted','util','bstackA11yShouldScan','KlaAZ','SYNC','geYUU','setGlobal','mVAim','JlOhh','titlePath','NPPZy','\x20-\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','browserstackSessionName','end','isAccessibilityPlatform','jIJza','../../helpers/globals','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','app','command','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','ErkJt','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','percyCaptureMode','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20',',\x22level\x22:\x20\x22','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','ThGoH','__platformCaps','607BtNZNh','measureWrapper','testcase','testAnalyticsId','kPuUi','protocol','__sessionFailed','jLJzk','KORGG','OgYqk','SDK_HOOK','cXZZc','quitCount_','sZrMh','SESSION_STATUS','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','message','KLedH','push','../../helpers/logger','AAXex','sessionNameSet__','hZgSb','zJswo','\x20|\x20','length','38108vBCLco','NYohF','err','rGmIb','MbKki','Failed:\x20','ObservabilitySync:','kRFED','TLKdj','http:','268572fQMUjv','browserstackTestName','./test-observability/mochaUtils','getGlobal','then','../../helpers/percy/utils','ntxia','error','Tvzhy','7249975nlnFwN','BROWSERSTACK_TESTHUB_JWT','Jciht','TWdew','BROWSERSTACK_TESTHUB_UUID','MTIQP','17238096VMPiNo','isArray','failed','ukrGa','xHujb','env','executeScript','vAinY','7486696cZQOPN','aApvW','GgGvM','Automate\x20test\x20case\x20execution\x20has\x20started.','https:','shift','HDuDj','shouldScanTestForAccessibility','driverCleanup','ENV_VAR','format','tNxIK','\x22}}','17506050DcSdmu','__skipSessionName','join','4638FvFruE','capabilities','thTestRunUuid','UubGf','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','sXPsy','winstonLogger','MYpHS','mdtVW','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','OLfph','txOVN','oWKUX','beforeEach','bwUPd','beforeAll','XUlTa','.\x20Error\x20:','LEyrO','nXyyX','passed','state','32dVdqgg','pVtdu','executeAsyncScript','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','saveTestResults','XJOXJ','9OdZylK','fZule','../../helpers/helper','thJwtToken','KBNKt','info','JhQZn','Lrduu','MWHoq','11UlkIVR','../../helpers/accessibility-automation/helper','performScan','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','index','Failed\x20to\x20store\x20session\x20name:\x20','sessionName','zkryj','Performing\x20scan\x20before\x20saving\x20results','start','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','afterAll','../../helpers/testhub/constants','GeroJ','Passed','EjHBu','ihpCT','BGtSB','stringify','session_','__drivers','lTmWB','TIKQJ','HErHK','AGZwP','timeout','822Bvyihm'];a32_0x39e8=function(){return _0x1bb350;};return a32_0x39e8();}const util=require(a32_0x21bb23(0xe9)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x21bb23(0x177)),{percyAutoCapture}=require(a32_0x21bb23(0x12f)),{sendPlatformDetails}=require(a32_0x21bb23(0x12c)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x21bb23(0x16f)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x21bb23(0xf9)),logger=require(a32_0x21bb23(0x119))[a32_0x21bb23(0x157)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x21bb23(0x182));exports['mochaHooks']={'beforeAll'(){const _0x46b0e3=a32_0x21bb23,_0x1c6495={'jLJzk':function(_0x552139,_0x727b9e,_0x4761fe,_0x569d6b){return _0x552139(_0x727b9e,_0x4761fe,_0x569d6b);},'nXyyX':_0x46b0e3(0x13b),'HDuDj':_0x46b0e3(0x11e),'ntxia':function(_0x4bdbdf,_0x55ebc0,_0x22cf82){return _0x4bdbdf(_0x55ebc0,_0x22cf82);},'jzMjE':_0x46b0e3(0x165),'zJswo':function(_0x19cb84){return _0x19cb84();},'ihpCT':function(_0x112f13,_0x507b24,_0x2854b0){return _0x112f13(_0x507b24,_0x2854b0);},'mVAim':'index','lTmWB':_0x46b0e3(0x160)};PerformanceTester['startMonitoring']();const _0x5ef411='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x46b0e3(0x110)],()=>{const _0x4ca104=_0x46b0e3;global[_0x4ca104(0x197)]=[],global[_0x4ca104(0x10c)]=![],global[_0x4ca104(0x149)]=async()=>{const _0x4d5b22=_0x4ca104;let _0x3aab25=![];try{await global[_0x4d5b22(0x18a)][0x0][_0x4d5b22(0x189)],_0x3aab25=!![],global[_0x4d5b22(0x10c)]?await _0x1c6495[_0x4d5b22(0x10d)](markSessionStatus,global[_0x4d5b22(0x18a)][0x0],_0x1c6495[_0x4d5b22(0x164)],global['__error_messages__'][_0x4d5b22(0x150)](_0x1c6495[_0x4d5b22(0x147)])):await _0x1c6495[_0x4d5b22(0x130)](markSessionStatus,global['__drivers'][0x0],_0x1c6495['jzMjE']);}catch(_0x8dbdd){logger[_0x4d5b22(0x194)](_0x4d5b22(0x101)+_0x8dbdd);}global[_0x4d5b22(0x197)]=[],global['__sessionFailed']=![];if(_0x3aab25)try{try{_0x1c6495[_0x4d5b22(0x11d)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x1c6495[_0x4d5b22(0x186)](sendPlatformDetails,global[_0x4d5b22(0x18a)][0x0],this[_0x4d5b22(0x198)]?this[_0x4d5b22(0x198)][_0x4d5b22(0x109)]:null));}catch(_0x3e386b){logger[_0x4d5b22(0x194)](_0x4d5b22(0x155)+_0x3e386b);}await global[_0x4d5b22(0x18a)][0x0]['initQuit']();}catch(_0x38b7e7){logger[_0x4d5b22(0x194)](_0x4d5b22(0x103)+_0x38b7e7);}};},{'platform':_0x1c6495[_0x46b0e3(0x186)](nestedKeyValue,global[_0x46b0e3(0x105)],[_0x1c6495[_0x46b0e3(0xef)]]),'hookType':_0x1c6495[_0x46b0e3(0x18b)]})();},'beforeEach'(_0x2d403f){const _0x3bbfa6=a32_0x21bb23,_0x176815={'Tvzhy':function(_0x32fa8a,_0x61f7d4){return _0x32fa8a>_0x61f7d4;},'RejLQ':function(_0x298b00,_0x5963a1){return _0x298b00>_0x5963a1;},'KORGG':_0x3bbfa6(0xf3),'KLedH':function(_0x239bc3,_0x382fd6,_0x50e144){return _0x239bc3(_0x382fd6,_0x50e144);},'GgGvM':_0x3bbfa6(0xea),'FTLga':function(_0x3254a9){return _0x3254a9();},'HErHK':function(_0x337485,_0x353c89){return _0x337485>_0x353c89;},'OgYqk':_0x3bbfa6(0xf7),'ErkJt':function(_0x25dd26,_0x1f11ad){return _0x25dd26===_0x1f11ad;},'UubGf':_0x3bbfa6(0x129),'VWIJY':_0x3bbfa6(0x145),'yvHrh':_0x3bbfa6(0x115),'XJOXJ':_0x3bbfa6(0x144),'mdtVW':function(_0x1b6120){return _0x1b6120();},'WImbf':_0x3bbfa6(0x12b),'VKAXF':_0x3bbfa6(0x17a),'QkJDX':_0x3bbfa6(0x15e)};globals[_0x3bbfa6(0xee)](_0x176815[_0x3bbfa6(0xe6)],this[_0x3bbfa6(0x198)][_0x3bbfa6(0xf1)]()['join'](_0x176815[_0x3bbfa6(0x10e)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3bbfa6(0x110)],()=>{const _0x31b3d1=_0x3bbfa6,_0x33661d={'jIAwQ':function(_0x1c8bf2,_0x742c01){const _0x40cfcc=a32_0x10ae;return _0x176815[_0x40cfcc(0x132)](_0x1c8bf2,_0x742c01);},'oWKUX':function(_0x58a9d0,_0x15ee66){const _0x1f4c48=a32_0x10ae;return _0x176815[_0x1f4c48(0x196)](_0x58a9d0,_0x15ee66);},'sXPsy':_0x176815['KORGG'],'KlaAZ':function(_0x257531,_0xe6afb1,_0xba78af){const _0x40788e=a32_0x10ae;return _0x176815[_0x40788e(0x117)](_0x257531,_0xe6afb1,_0xba78af);},'hJBMh':_0x176815[_0x31b3d1(0x143)],'OurRk':function(_0x251f0c){const _0x49bbe2=_0x31b3d1;return _0x176815[_0x49bbe2(0xe7)](_0x251f0c);},'TWdew':function(_0x16d19f,_0x2b341e){const _0x48e4dd=_0x31b3d1;return _0x176815[_0x48e4dd(0x18d)](_0x16d19f,_0x2b341e);},'hZgSb':_0x176815[_0x31b3d1(0x10f)],'MOkxf':function(_0x238eb5,_0x1fe4f4){const _0x1d22d8=_0x31b3d1;return _0x176815[_0x1d22d8(0xfe)](_0x238eb5,_0x1fe4f4);},'zkryj':_0x176815[_0x31b3d1(0x154)],'MbKki':function(_0x2868e4,_0x31d8ad){const _0x459d11=_0x31b3d1;return _0x176815[_0x459d11(0xfe)](_0x2868e4,_0x31d8ad);},'KBNKt':_0x176815['VWIJY'],'JhQZn':_0x176815['yvHrh'],'GezTc':_0x176815[_0x31b3d1(0x16c)],'MTIQP':function(_0x16912d){const _0x1bf97f=_0x31b3d1;return _0x176815[_0x1bf97f(0x159)](_0x16912d);},'MYpHS':function(_0x7301bb){const _0x4793fc=_0x31b3d1;return _0x176815[_0x4793fc(0x159)](_0x7301bb);}},_0x253bdb='browserstack internal helper hook';new Promise(async _0x34c3e0=>{const _0x579406=_0x31b3d1;let _0x3c5898=!![];try{_0x33661d['jIAwQ'](global['__drivers'][_0x579406(0x11f)],0x1)&&(await global[_0x579406(0x149)](),global[_0x579406(0x18a)][_0x579406(0x146)]()),_0x33661d[_0x579406(0x15d)](global[_0x579406(0x18a)][0x0]['quitCount_'],0x0)&&(_0x3c5898=![],await global[_0x579406(0x149)]());}catch(_0x296238){logger[_0x579406(0x194)](_0x579406(0x103)+_0x296238);}try{Array[_0x579406(0x13a)](global[_0x579406(0x18a)])&&global[_0x579406(0x18a)][0x0]&&(global[_0x579406(0x18a)][0x0][_0x579406(0xf5)]=this['currentTest'][_0x579406(0xf1)]()[_0x579406(0x150)](_0x33661d['sXPsy'])),global[_0x579406(0xf5)]=this['currentTest'][_0x579406(0xf1)]()[_0x579406(0x150)](_0x33661d[_0x579406(0x156)]);}catch(_0x48ad90){logger[_0x579406(0x194)](_0x579406(0x17b)+_0x48ad90);}this[_0x579406(0x198)][_0x579406(0x148)]=_0x33661d[_0x579406(0xeb)](shouldScanTestForAccessibility,this[_0x579406(0x198)][_0x579406(0xf1)](),!![]),globals[_0x579406(0xee)](_0x33661d['hJBMh'],this[_0x579406(0x198)][_0x579406(0x148)]),this[_0x579406(0x198)]['accessibilityScanStarted']=!![];if(_0x33661d['OurRk'](isAccessibilityAutomationSession)&&_0x3c5898&&Array[_0x579406(0x13a)](global[_0x579406(0x18a)])&&_0x33661d[_0x579406(0x136)](global[_0x579406(0x18a)]['length'],0x0)&&globals[_0x579406(0x12d)](_0x33661d[_0x579406(0x11c)]))try{const _0x3d1867=await global[_0x579406(0x18a)][0x0][_0x579406(0x189)];if(_0x3d1867){let _0xf51fa9=!![];const _0x243453=await global[_0x579406(0x18a)][0x0]['getCurrentUrl']();let _0x323c50;try{_0x323c50=new URL(_0x243453);}catch(_0x173fba){_0xf51fa9=![];}_0xf51fa9=_0x33661d[_0x579406(0x19a)](_0x323c50[_0x579406(0x10b)],_0x33661d[_0x579406(0x17d)])||_0x33661d[_0x579406(0x124)](_0x323c50[_0x579406(0x10b)],_0x33661d[_0x579406(0x171)]),_0xf51fa9&&(this[_0x579406(0x198)]['shouldScanTestForAccessibility']&&logger[_0x579406(0x172)](_0x33661d[_0x579406(0x173)])),this[_0x579406(0x198)]['accessibilityScanStarted']=this['currentTest'][_0x579406(0x148)],this[_0x579406(0x198)][_0x579406(0x148)]&&logger[_0x579406(0x172)](_0x33661d[_0x579406(0xe4)]);}}catch(_0x407965){logger['error'](_0x579406(0x16a)+util[_0x579406(0x14b)](_0x407965));}_0x33661d[_0x579406(0x138)](_0x34c3e0);})['then'](()=>{const _0x3cef3d=_0x31b3d1;_0x33661d[_0x3cef3d(0x158)](_0x2d403f);});},{'platform':_0x176815[_0x3bbfa6(0x117)](nestedKeyValue,global['__platformCaps'],[_0x176815[_0x3bbfa6(0x195)]]),'hookType':_0x176815['QkJDX']})();},'afterEach'(_0x2aa5ba){const _0x3f620a=a32_0x21bb23,_0x303ef9={'AAXex':function(_0x28e2c3,_0x45f17e){return _0x28e2c3!==_0x45f17e;},'kPuUi':_0x3f620a(0x165),'kRFED':function(_0x4ca65c,_0x4eeacc,_0x4f0c46){return _0x4ca65c(_0x4eeacc,_0x4f0c46);},'xpZJP':function(_0x55fe0f,_0x155c18){return _0x55fe0f+_0x155c18;},'JlOhh':_0x3f620a(0x125),'NYohF':_0x3f620a(0x131),'Lrduu':_0x3f620a(0x184),'OLfph':'info','TIKQJ':function(_0x3f3e34,_0x54260c){return _0x3f3e34>_0x54260c;},'xhxBN':function(_0x230c7,_0x4bef46){return _0x230c7===_0x4bef46;},'VCsqp':_0x3f620a(0x108),'Jciht':function(_0x41b5db,_0x220fb4){return _0x41b5db>_0x220fb4;},'vAinY':'appium:app','tNxIK':function(_0x53e08a,_0x156199,_0x26ea07,_0x30a251){return _0x53e08a(_0x156199,_0x26ea07,_0x30a251);},'fZule':_0x3f620a(0xf7),'jIJza':'bstackA11yShouldScan','txOVN':_0x3f620a(0x179),'pVtdu':_0x3f620a(0x17e),'bwUPd':_0x3f620a(0x193),'XUlTa':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sZrMh':function(_0x251c87){return _0x251c87();},'BGtSB':function(_0x19e46e,_0x1be337,_0x1146c3){return _0x19e46e(_0x1be337,_0x1146c3);},'WghEQ':_0x3f620a(0x194),'rGmIb':function(_0x5d29bb,_0x4ad46b){return _0x5d29bb>_0x4ad46b;},'TLKdj':'\x20-\x20','NPPZy':function(_0x288512,_0x2bc6eb,_0x46329a){return _0x288512(_0x2bc6eb,_0x46329a);},'MWHoq':_0x3f620a(0x17a),'ukrGa':'afterEach'},_0x42454b='browserstack internal helper hook';this[_0x3f620a(0x18f)](0xfde8),global[_0x3f620a(0x17c)]=this['currentTest'][_0x3f620a(0xf1)]()[_0x3f620a(0x150)](_0x303ef9[_0x3f620a(0x128)]),PerformanceTester[_0x3f620a(0x107)](PerformanceSdkEvents[_0x3f620a(0x110)],()=>{const _0x4535ab=_0x3f620a,_0x360b19={};_0x360b19[_0x4535ab(0x185)]=_0x303ef9['TLKdj'];const _0x14dc86=_0x360b19,_0xc9ad23=async(_0x118270,_0x5f3fcb)=>{const _0x27144f=_0x4535ab;await global[_0x27144f(0x18a)][0x0][_0x27144f(0x13f)](_0x27144f(0xf4)+_0x118270+_0x27144f(0x102)+_0x5f3fcb+_0x27144f(0x14d));};new Promise(async _0x18afe1=>{const _0x5344dd=_0x4535ab,_0x37e0f4={'GXmso':function(_0x2aad73,_0x3313ea){const _0x2913b5=a32_0x10ae;return _0x303ef9[_0x2913b5(0x11a)](_0x2aad73,_0x3313ea);},'KVbeA':_0x303ef9[_0x5344dd(0x10a)],'fCvHi':function(_0x221d11,_0x15423e,_0x2e9816){return _0x303ef9['kRFED'](_0x221d11,_0x15423e,_0x2e9816);},'mvRjs':function(_0x18a312,_0x59f943){return _0x303ef9['xpZJP'](_0x18a312,_0x59f943);},'xHujb':_0x303ef9[_0x5344dd(0xf0)],'LCXCH':_0x303ef9[_0x5344dd(0x121)],'cXZZc':function(_0xc99328,_0x3f3c0e,_0x4080e1){const _0x2df4e0=_0x5344dd;return _0x303ef9[_0x2df4e0(0x127)](_0xc99328,_0x3f3c0e,_0x4080e1);},'yMMUm':_0x303ef9[_0x5344dd(0x174)],'AGZwP':_0x303ef9[_0x5344dd(0x15b)]};try{_0x303ef9[_0x5344dd(0x18c)](global[_0x5344dd(0x18a)][_0x5344dd(0x11f)],0x1)&&(await global[_0x5344dd(0x149)](),global[_0x5344dd(0x18a)][_0x5344dd(0x146)](),global[_0x5344dd(0x197)]=[],global[_0x5344dd(0x10c)]=![]);try{if(global['percy']&&_0x303ef9['xhxBN'](global[_0x5344dd(0x100)],_0x303ef9['VCsqp'])&&global['__drivers'][0x0]){const _0x24dae=_0x303ef9[_0x5344dd(0x135)](global[_0x5344dd(0x152)][_0x5344dd(0x11f)],0x0)?!!global[_0x5344dd(0x152)][0x0][_0x5344dd(0xfb)]||!!global['capabilities'][0x0][_0x303ef9[_0x5344dd(0x140)]]:![],_0x17bf5b={};_0x17bf5b[_0x5344dd(0xfb)]=_0x24dae,await _0x303ef9[_0x5344dd(0x14c)](percyAutoCapture,global['__drivers'][0x0],_0x303ef9[_0x5344dd(0x191)],_0x17bf5b);}}catch(_0x537b70){logger[_0x5344dd(0x194)](_0x5344dd(0xff)+_0x537b70);}!global[_0x5344dd(0x14f)]&&(await PerformanceTester[_0x5344dd(0x107)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x15a62c=_0x5344dd;await global['__drivers'][0x0][_0x15a62c(0x13f)](_0x15a62c(0x180)+JSON['stringify'](this[_0x15a62c(0x198)]['titlePath']()[_0x15a62c(0x150)](_0x14dc86[_0x15a62c(0x185)]))+'}}');})(),global[_0x5344dd(0x18a)][0x0][_0x5344dd(0x11b)]=!![]),await PerformanceTester[_0x5344dd(0x107)](PerformanceAutEvents[_0x5344dd(0x114)],async()=>{const _0x168ac5=_0x5344dd,_0x54d600=_0x37e0f4['GXmso'](this[_0x168ac5(0x198)][_0x168ac5(0x166)],_0x37e0f4['KVbeA']);_0x54d600?(global[_0x168ac5(0x10c)]=!![],global['__error_messages__'][_0x168ac5(0x118)](this['currentTest'][_0x168ac5(0x122)][_0x168ac5(0x116)]),await _0x37e0f4[_0x168ac5(0xe5)](_0xc9ad23,JSON[_0x168ac5(0x188)](_0x37e0f4['mvRjs'](_0x37e0f4[_0x168ac5(0x13d)],this[_0x168ac5(0x198)][_0x168ac5(0x122)][_0x168ac5(0x116)])),_0x37e0f4[_0x168ac5(0x192)])):await _0x37e0f4[_0x168ac5(0x111)](_0xc9ad23,JSON[_0x168ac5(0x188)](_0x37e0f4['yMMUm']),_0x37e0f4[_0x168ac5(0x18e)]);})();}catch(_0x173c17){logger[_0x5344dd(0x194)](_0x5344dd(0x15a)+_0x173c17);}try{if(this[_0x5344dd(0x198)][_0x5344dd(0xe8)]&&globals[_0x5344dd(0x12d)](_0x303ef9[_0x5344dd(0x16e)])&&globals[_0x5344dd(0x12d)](_0x303ef9[_0x5344dd(0xf8)])){logger[_0x5344dd(0x172)](_0x303ef9[_0x5344dd(0x15c)]);const _0x4a59be={};_0x4a59be[_0x5344dd(0x153)]=this[_0x5344dd(0x198)][_0x5344dd(0x109)],_0x4a59be['thBuildUuid']=process['env'][testHubConstants[_0x5344dd(0x14a)][_0x5344dd(0x137)]],_0x4a59be[_0x5344dd(0x170)]=process[_0x5344dd(0x13e)][testHubConstants[_0x5344dd(0x14a)][_0x5344dd(0x134)]];const _0x30ce0a=_0x4a59be;logger[_0x5344dd(0x194)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x30ce0a)),logger[_0x5344dd(0x194)](_0x303ef9[_0x5344dd(0x168)]);const _0x42458d={};_0x42458d[_0x5344dd(0xfc)]=_0x303ef9[_0x5344dd(0x15f)],await PerformanceTester[_0x5344dd(0x107)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2b2310=_0x5344dd;logger[_0x2b2310(0x194)](util[_0x2b2310(0x14b)](await global[_0x2b2310(0x18a)][0x0][_0x2b2310(0x169)](scripts[_0x2b2310(0x178)],{'method':global[_0x2b2310(0xf5)]})));},_0x42458d)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5344dd(0x199)],async()=>{const _0x4f6f5a=_0x5344dd;await global[_0x4f6f5a(0x18a)][0x0][_0x4f6f5a(0x169)](scripts[_0x4f6f5a(0x16b)],_0x30ce0a);})(),logger[_0x5344dd(0x172)](_0x303ef9[_0x5344dd(0x161)]);}}catch(_0x1aa85a){logger[_0x5344dd(0x131)](_0x5344dd(0xfd)+this[_0x5344dd(0x198)][_0x5344dd(0xf1)]()+_0x5344dd(0x162),_0x1aa85a);}try{try{if(_0x303ef9[_0x5344dd(0x113)](shouldProcessEventForTesthub)){global[_0x5344dd(0x18a)][0x0]&&await _0x303ef9[_0x5344dd(0x187)](sendPlatformDetails,global[_0x5344dd(0x18a)][0x0],this[_0x5344dd(0x198)]?this[_0x5344dd(0x198)][_0x5344dd(0x109)]:null);if(_0x303ef9[_0x5344dd(0x113)](isBrowserstackInfra)){PerformanceTester[_0x5344dd(0x17f)](PerformanceO11yEvents[_0x5344dd(0xec)]);const _0x4df571=_0x5344dd(0x126)+Date['now']();await _0x303ef9[_0x5344dd(0x127)](_0xc9ad23,JSON[_0x5344dd(0x188)](_0x4df571),_0x303ef9['WghEQ']),PerformanceTester[_0x5344dd(0xf6)](PerformanceO11yEvents[_0x5344dd(0xec)]);}}}catch(_0x43abb7){logger[_0x5344dd(0x194)](_0x5344dd(0xfa)+_0x43abb7),PerformanceTester[_0x5344dd(0xf6)](PerformanceO11yEvents[_0x5344dd(0xec)],![],_0x43abb7);}_0x303ef9[_0x5344dd(0x123)](global[_0x5344dd(0x18a)][0x0][_0x5344dd(0x112)],0x0)&&await global['driverCleanup']();}catch(_0x17b34d){logger[_0x5344dd(0x194)](_0x5344dd(0x103)+_0x17b34d);}_0x303ef9[_0x5344dd(0x113)](_0x18afe1);})['then'](()=>{const _0x3d68c1=_0x4535ab;_0x303ef9[_0x3d68c1(0x113)](_0x2aa5ba);});},{'platform':_0x303ef9[_0x3f620a(0xf2)](nestedKeyValue,global[_0x3f620a(0x105)],[_0x303ef9[_0x3f620a(0x175)]]),'hookType':_0x303ef9[_0x3f620a(0x13c)]})();},'afterAll'(_0x1bbb11){const _0x40d06a=a32_0x21bb23,_0x2f2a53={'GeroJ':function(_0x1ff8b3){return _0x1ff8b3();},'LEyrO':function(_0x13c8a2){return _0x13c8a2();},'ThGoH':function(_0x45bbed,_0x45101e,_0x27e795){return _0x45bbed(_0x45101e,_0x27e795);},'Icvxh':_0x40d06a(0x17a),'geYUU':_0x40d06a(0x181)},_0x1bdd6e='browserstack internal helper hook';this[_0x40d06a(0x18f)](0xfde8),PerformanceTester[_0x40d06a(0x107)](PerformanceSdkEvents[_0x40d06a(0x110)],()=>{const _0x2591ad=_0x40d06a,_0x33ca61={'aApvW':function(_0x53d07d){const _0x30721b=a32_0x10ae;return _0x2f2a53[_0x30721b(0x163)](_0x53d07d);}};new Promise(async _0x545a13=>{const _0x382577=a32_0x10ae;await global[_0x382577(0x149)](),_0x33ca61[_0x382577(0x142)](_0x545a13);})[_0x2591ad(0x12e)]()['finally'](()=>{const _0x2b6961=_0x2591ad;_0x2f2a53[_0x2b6961(0x183)](_0x1bbb11);});},{'platform':_0x2f2a53[_0x40d06a(0x104)](nestedKeyValue,global[_0x40d06a(0x105)],[_0x2f2a53['Icvxh']]),'hookType':_0x2f2a53[_0x40d06a(0xed)]})();}};
1
+ const a32_0x3fec21=a32_0x4af3;(function(_0xb6577,_0x167b6c){const _0x49ccc7=a32_0x4af3,_0x5ebd58=_0xb6577();while(!![]){try{const _0x1e196a=parseInt(_0x49ccc7(0x217))/0x1+-parseInt(_0x49ccc7(0x204))/0x2*(-parseInt(_0x49ccc7(0x232))/0x3)+-parseInt(_0x49ccc7(0x1ae))/0x4+parseInt(_0x49ccc7(0x245))/0x5*(-parseInt(_0x49ccc7(0x248))/0x6)+-parseInt(_0x49ccc7(0x239))/0x7+-parseInt(_0x49ccc7(0x1fc))/0x8*(-parseInt(_0x49ccc7(0x251))/0x9)+parseInt(_0x49ccc7(0x1e1))/0xa;if(_0x1e196a===_0x167b6c)break;else _0x5ebd58['push'](_0x5ebd58['shift']());}catch(_0x3f1a0a){_0x5ebd58['push'](_0x5ebd58['shift']());}}}(a32_0x143b,0xdd402));const util=require(a32_0x3fec21(0x203)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x3fec21(0x223)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x3fec21(0x225)),PerformanceTester=require(a32_0x3fec21(0x1cc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x3fec21(0x20f)),globals=require(a32_0x3fec21(0x21c)),logger=require('../../helpers/logger')[a32_0x3fec21(0x1b6)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x3fec21(0x22b));function a32_0x4af3(_0x5bfcb0,_0x4b6898){const _0x143bb6=a32_0x143b();return a32_0x4af3=function(_0x4af3de,_0x154c76){_0x4af3de=_0x4af3de-0x1a5;let _0x4ff1d3=_0x143bb6[_0x4af3de];return _0x4ff1d3;},a32_0x4af3(_0x5bfcb0,_0x4b6898);}function a32_0x143b(){const _0x223cb3=['initQuit','Failed\x20to\x20store\x20session\x20name:\x20','message','PnbWH','driverCleanup','oNwcU','SYNC','nmadD','FXiIG','shift','__sessionFailed','REtGo','command','FFRQb','index','HzaHF','bUxXJ','zhTkC','mlUgs','qbrOb','SrUTG','CUXBG','http:','sessionNameSet__','YIeKB','mochaHooks','266248bdmwZF','debug','length','__drivers','session_','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','QEnEw','util','4rLMBue','appium:app','BPWCH','join','MplEN','mRdeq','Gqqyt','error','jXzqI','getCurrentUrl','currentTest','../../helpers/accessibility-automation/scripts','startMonitoring','axmYq','TzSVJ','state','getGlobal','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','hqhbW','1184757sxhOKP','setGlobal','end','IXtIO','executeAsyncScript','../../helpers/globals','ibUzU','CdrDB','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','BROWSERSTACK_TESTHUB_JWT','format','FsQZU','../../helpers/accessibility-automation/helper','nEUmv','../../helpers/helper','NVNOo','tiqMz','MqyMx','Fzlvl','vFDLo','../../helpers/testhub/constants','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','WEQtF','beforeEach','protocol','SDK_HOOK','nyLwM','112323CkinmD','KfrYy','timeout','MmDTG','percyCaptureMode','xYWgI','ogZUE','3978128qzWSaW','Failed:\x20','PDsZB','urQZu','browserstackTestName','vQFIU','err','fDPiB','testcase','afterTest','UUyIm','titlePath','737755abyhMz','RRvWN','__error_messages__','66pAdqiu','VKvBH','afterAll','RybyI','duEhH','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','MvSsS','SnaDh','135aJDgMd','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','BaARR','measureWrapper','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','jobaV','ZmqNA','quitCount_','stringify','then','env','EgKga','AaMDV','ObservabilitySync:','3360508SYeQyl','cnazs','zShTH',',\x22level\x22:\x20\x22','shouldScanTestForAccessibility','hzjxK','CHgjw','__platformCaps','winstonLogger','beforeAll','info','isArray','eFJwW','BROWSERSTACK_TESTHUB_UUID','browserstackSessionName','executeScript','cOjwR','afterEach','ypyIS','https:','testAnalyticsId','bstackA11yShouldScan','OEfvr','ENV_VAR','passed','finally','oTvwb','capabilities','accessibilityScanStarted','isAccessibilityPlatform','../../helpers/performance/performance-tester','thJwtToken','\x22}}','orUYW','thBuildUuid','rSoxb','sessionName','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','bwSmc','ZAVaN','SMOxJ','app','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','\x20-\x20','MkejZ','hqsya','LLtvm','rsGly','push','WXdia','Vojbb','21788800JuKLjq'];a32_0x143b=function(){return _0x223cb3;};return a32_0x143b();}exports[a32_0x3fec21(0x1fb)]={'beforeAll'(){const _0x146a74=a32_0x3fec21,_0x1ffc3c={'zCavd':function(_0x22277b,_0x31f2d1,_0x9c4782,_0xd738){return _0x22277b(_0x31f2d1,_0x9c4782,_0xd738);},'vrkrq':'failed','oTvwb':'\x20|\x20','OEfvr':function(_0xe5e481,_0x437664,_0x414b6a){return _0xe5e481(_0x437664,_0x414b6a);},'DKWZp':_0x146a74(0x1c6),'BPWCH':function(_0x55083b){return _0x55083b();},'sNAYE':function(_0x10b26c,_0x231e07,_0x3c1da0){return _0x10b26c(_0x231e07,_0x3c1da0);},'tSjWO':function(_0x466e0c,_0x2de577,_0x421dee){return _0x466e0c(_0x2de577,_0x421dee);},'zShTH':_0x146a74(0x1f0),'AaMDV':_0x146a74(0x1b7)};PerformanceTester[_0x146a74(0x210)]();const _0x45e0b6='browserstack internal helper hook';PerformanceTester[_0x146a74(0x254)](PerformanceSdkEvents[_0x146a74(0x230)],()=>{const _0x37fff5=_0x146a74;global[_0x37fff5(0x247)]=[],global['__sessionFailed']=![],global[_0x37fff5(0x1e6)]=async()=>{const _0x5d2cc5=_0x37fff5;let _0x5bb52c=![];try{await global[_0x5d2cc5(0x1ff)][0x0][_0x5d2cc5(0x200)],_0x5bb52c=!![],global[_0x5d2cc5(0x1ec)]?await _0x1ffc3c['zCavd'](markSessionStatus,global[_0x5d2cc5(0x1ff)][0x0],_0x1ffc3c['vrkrq'],global[_0x5d2cc5(0x247)][_0x5d2cc5(0x207)](_0x1ffc3c[_0x5d2cc5(0x1c8)])):await _0x1ffc3c[_0x5d2cc5(0x1c4)](markSessionStatus,global['__drivers'][0x0],_0x1ffc3c['DKWZp']);}catch(_0x1c0dce){logger['debug'](_0x5d2cc5(0x1d3)+_0x1c0dce);}global[_0x5d2cc5(0x247)]=[],global['__sessionFailed']=![];if(_0x5bb52c)try{try{_0x1ffc3c[_0x5d2cc5(0x206)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x1ffc3c['sNAYE'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x5d2cc5(0x20e)]['testAnalyticsId']:null));}catch(_0x29c77e){logger[_0x5d2cc5(0x1fd)](_0x5d2cc5(0x22c)+_0x29c77e);}await global[_0x5d2cc5(0x1ff)][0x0][_0x5d2cc5(0x1e2)]();}catch(_0x5c8743){logger[_0x5d2cc5(0x1fd)](_0x5d2cc5(0x252)+_0x5c8743);}};},{'platform':_0x1ffc3c['tSjWO'](nestedKeyValue,global[_0x146a74(0x1b5)],[_0x1ffc3c[_0x146a74(0x1b0)]]),'hookType':_0x1ffc3c[_0x146a74(0x1ac)]})();},'beforeEach'(_0x3acdc1){const _0x490a4e=a32_0x3fec21,_0x242a19={'SnaDh':function(_0x626ec6,_0x374c58){return _0x626ec6>_0x374c58;},'bUxXJ':function(_0x320bd3,_0x15ddf2){return _0x320bd3>_0x15ddf2;},'UUyIm':_0x490a4e(0x1d9),'mlUgs':function(_0x41cc70,_0xbbbb21,_0x17092f){return _0x41cc70(_0xbbbb21,_0x17092f);},'Gqqyt':_0x490a4e(0x1c3),'REtGo':function(_0x1f3396){return _0x1f3396();},'TzSVJ':_0x490a4e(0x1cb),'LDAbc':function(_0x4bbf22,_0x3b8198){return _0x4bbf22===_0x3b8198;},'HzaHF':_0x490a4e(0x1f8),'FsQZU':function(_0x35bf33,_0x534d5d){return _0x35bf33===_0x534d5d;},'hzjxK':_0x490a4e(0x1c1),'CUXBG':_0x490a4e(0x215),'MvSsS':'Automate\x20test\x20case\x20execution\x20has\x20started.','CHgjw':function(_0x6e8eb9){return _0x6e8eb9();},'NVNOo':_0x490a4e(0x23d),'YQhfL':function(_0x2717b0,_0x211f12,_0x5a6a74){return _0x2717b0(_0x211f12,_0x5a6a74);},'CdrDB':_0x490a4e(0x1f0),'SrUTG':_0x490a4e(0x22e)};globals['setGlobal'](_0x242a19[_0x490a4e(0x226)],this['currentTest'][_0x490a4e(0x244)]()[_0x490a4e(0x207)](_0x242a19[_0x490a4e(0x243)])),PerformanceTester[_0x490a4e(0x254)](PerformanceSdkEvents[_0x490a4e(0x230)],()=>{const _0x320291=_0x490a4e,_0x1be39d={'vQFIU':function(_0x3d1714){const _0x38b402=a32_0x4af3;return _0x242a19[_0x38b402(0x1ed)](_0x3d1714);}},_0x18115d='browserstack internal helper hook';new Promise(async _0x325fa3=>{const _0x53d8fd=a32_0x4af3;let _0x4e0dfc=!![];try{_0x242a19[_0x53d8fd(0x250)](global[_0x53d8fd(0x1ff)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x53d8fd(0x1ff)][_0x53d8fd(0x1eb)]()),_0x242a19[_0x53d8fd(0x1f2)](global[_0x53d8fd(0x1ff)][0x0][_0x53d8fd(0x1a7)],0x0)&&(_0x4e0dfc=![],await global[_0x53d8fd(0x1e6)]());}catch(_0x15e119){logger[_0x53d8fd(0x1fd)](_0x53d8fd(0x252)+_0x15e119);}try{Array[_0x53d8fd(0x1b9)](global[_0x53d8fd(0x1ff)])&&global[_0x53d8fd(0x1ff)][0x0]&&(global['__drivers'][0x0][_0x53d8fd(0x1bc)]=this[_0x53d8fd(0x20e)][_0x53d8fd(0x244)]()['join'](_0x242a19['UUyIm'])),global['browserstackSessionName']=this['currentTest'][_0x53d8fd(0x244)]()['join'](_0x242a19[_0x53d8fd(0x243)]);}catch(_0x3ba566){logger[_0x53d8fd(0x1fd)](_0x53d8fd(0x1e3)+_0x3ba566);}this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]=_0x242a19[_0x53d8fd(0x1f4)](shouldScanTestForAccessibility,this[_0x53d8fd(0x20e)]['titlePath'](),!![]),globals[_0x53d8fd(0x218)](_0x242a19[_0x53d8fd(0x20a)],this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]),this[_0x53d8fd(0x20e)][_0x53d8fd(0x1ca)]=!![];if(_0x242a19[_0x53d8fd(0x1ed)](isAccessibilityAutomationSession)&&_0x4e0dfc&&Array['isArray'](global['__drivers'])&&_0x242a19['bUxXJ'](global[_0x53d8fd(0x1ff)][_0x53d8fd(0x1fe)],0x0)&&globals[_0x53d8fd(0x214)](_0x242a19[_0x53d8fd(0x212)]))try{const _0x3a01b1=await global[_0x53d8fd(0x1ff)][0x0][_0x53d8fd(0x200)];if(_0x3a01b1){let _0x3ffc80=!![];const _0x47504a=await global['__drivers'][0x0][_0x53d8fd(0x20d)]();let _0x3895e8;try{_0x3895e8=new URL(_0x47504a);}catch(_0x49edae){_0x3ffc80=![];}_0x3ffc80=_0x242a19['LDAbc'](_0x3895e8['protocol'],_0x242a19[_0x53d8fd(0x1f1)])||_0x242a19[_0x53d8fd(0x222)](_0x3895e8[_0x53d8fd(0x22f)],_0x242a19[_0x53d8fd(0x1b3)]),_0x3ffc80&&(this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]&&logger[_0x53d8fd(0x1b8)](_0x242a19[_0x53d8fd(0x1f7)])),this[_0x53d8fd(0x20e)][_0x53d8fd(0x1ca)]=this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)],this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]&&logger[_0x53d8fd(0x1b8)](_0x242a19[_0x53d8fd(0x24f)]);}}catch(_0x41b399){logger[_0x53d8fd(0x20b)](_0x53d8fd(0x1d8)+util[_0x53d8fd(0x221)](_0x41b399));}_0x242a19[_0x53d8fd(0x1b4)](_0x325fa3);})[_0x320291(0x1a9)](()=>{const _0x284f00=_0x320291;_0x1be39d[_0x284f00(0x23e)](_0x3acdc1);});},{'platform':_0x242a19['YQhfL'](nestedKeyValue,global[_0x490a4e(0x1b5)],[_0x242a19[_0x490a4e(0x21e)]]),'hookType':_0x242a19[_0x490a4e(0x1f6)]})();},'afterEach'(_0x4d711e){const _0x379130=a32_0x3fec21,_0x369a97={'RybyI':_0x379130(0x1d9),'gnyDC':function(_0xc474c4,_0x457db1){return _0xc474c4!==_0x457db1;},'FXiIG':'passed','WXdia':function(_0x45cbfb,_0x590c2d,_0x39c756){return _0x45cbfb(_0x590c2d,_0x39c756);},'eFJwW':function(_0x28c097,_0x218d19){return _0x28c097+_0x218d19;},'ogZUE':_0x379130(0x23a),'MmDTG':'error','VKvBH':'Passed','IXtIO':_0x379130(0x1b8),'SMOxJ':function(_0x1f49e6,_0x5b4a31){return _0x1f49e6>_0x5b4a31;},'Grsem':function(_0x43ff20,_0x2a2231){return _0x43ff20===_0x2a2231;},'fDPiB':_0x379130(0x241),'ypyIS':_0x379130(0x205),'duEhH':function(_0x59e957,_0x2eba76,_0x32bfe7,_0x1531a4){return _0x59e957(_0x2eba76,_0x32bfe7,_0x1531a4);},'zhTkC':'isAccessibilityPlatform','mRdeq':_0x379130(0x1c3),'NfZYw':_0x379130(0x255),'FFRQb':'Performing\x20scan\x20before\x20saving\x20results','PDsZB':_0x379130(0x242),'PnbWH':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vFDLo':function(_0x4e0613){return _0x4e0613();},'ibUzU':'debug','nmadD':function(_0x453ab6){return _0x453ab6();},'jobaV':_0x379130(0x1f0),'iJhxT':_0x379130(0x1bf)},_0x15f830='browserstack internal helper hook';this[_0x379130(0x234)](0xfde8),global[_0x379130(0x1d2)]=this[_0x379130(0x20e)]['titlePath']()[_0x379130(0x207)](_0x369a97['RybyI']),PerformanceTester[_0x379130(0x254)](PerformanceSdkEvents[_0x379130(0x230)],()=>{const _0xec6133=_0x379130,_0x1337d2={'urQZu':_0x369a97[_0xec6133(0x24b)],'LmSLg':function(_0x46716a,_0x5d1c5c){return _0x369a97['gnyDC'](_0x46716a,_0x5d1c5c);},'hqhbW':_0x369a97[_0xec6133(0x1ea)],'nEUmv':function(_0x182f1e,_0x5e37b3,_0x3e237f){return _0x369a97['WXdia'](_0x182f1e,_0x5e37b3,_0x3e237f);},'Fzlvl':function(_0x432310,_0x45f913){const _0x4e15f5=_0xec6133;return _0x369a97[_0x4e15f5(0x1ba)](_0x432310,_0x45f913);},'xYWgI':_0x369a97[_0xec6133(0x238)],'nyLwM':_0x369a97[_0xec6133(0x235)],'cOjwR':_0x369a97[_0xec6133(0x249)],'BaARR':_0x369a97[_0xec6133(0x21a)],'MkejZ':function(_0x5322f0,_0x7f97a3){const _0x2e8d83=_0xec6133;return _0x369a97[_0x2e8d83(0x1d6)](_0x5322f0,_0x7f97a3);},'KfrYy':function(_0x33a243,_0x157e60){return _0x369a97['Grsem'](_0x33a243,_0x157e60);},'MplEN':_0x369a97[_0xec6133(0x240)],'bwSmc':_0x369a97[_0xec6133(0x1c0)],'qbrOb':function(_0x2d68b6,_0x26ebb9,_0x2a6cb2,_0x39c9cb){const _0x562aa6=_0xec6133;return _0x369a97[_0x562aa6(0x24c)](_0x2d68b6,_0x26ebb9,_0x2a6cb2,_0x39c9cb);},'LLtvm':_0x369a97[_0xec6133(0x1f3)],'SxHFd':_0x369a97[_0xec6133(0x209)],'kHSaO':_0x369a97['NfZYw'],'QEnEw':_0x369a97[_0xec6133(0x1ef)],'hCwpW':_0x369a97[_0xec6133(0x23b)],'cnazs':_0x369a97[_0xec6133(0x1e5)],'ZAVaN':function(_0x510866){const _0x2868e2=_0xec6133;return _0x369a97[_0x2868e2(0x22a)](_0x510866);},'EgKga':function(_0x29189e,_0x586d1b,_0x1e3896){const _0x20576e=_0xec6133;return _0x369a97[_0x20576e(0x1df)](_0x29189e,_0x586d1b,_0x1e3896);},'tdeeE':_0x369a97[_0xec6133(0x21d)],'oNwcU':function(_0x329040){const _0x39ed27=_0xec6133;return _0x369a97[_0x39ed27(0x1e9)](_0x329040);}},_0x1b450b=async(_0xce4d0,_0x85a8b9)=>{const _0x54d5f5=_0xec6133;await global[_0x54d5f5(0x1ff)][0x0][_0x54d5f5(0x1bd)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xce4d0+_0x54d5f5(0x1b1)+_0x85a8b9+_0x54d5f5(0x1ce));};new Promise(async _0x3bc579=>{const _0x1aa815=_0xec6133,_0x375faa={'MqyMx':_0x1337d2[_0x1aa815(0x23c)],'jXzqI':function(_0x50361f,_0x1b0d4f){return _0x1337d2['LmSLg'](_0x50361f,_0x1b0d4f);},'WEQtF':_0x1337d2[_0x1aa815(0x216)],'Vojbb':function(_0x2f5e44,_0x4eb991,_0x407227){const _0x518a8f=_0x1aa815;return _0x1337d2[_0x518a8f(0x224)](_0x2f5e44,_0x4eb991,_0x407227);},'axmYq':function(_0x1cf316,_0x481b6f){const _0x4435b1=_0x1aa815;return _0x1337d2[_0x4435b1(0x229)](_0x1cf316,_0x481b6f);},'orUYW':_0x1337d2[_0x1aa815(0x237)],'rSoxb':_0x1337d2[_0x1aa815(0x231)],'rsGly':_0x1337d2[_0x1aa815(0x1be)],'onIBW':_0x1337d2[_0x1aa815(0x253)]};try{_0x1337d2['MkejZ'](global['__drivers']['length'],0x1)&&(await global[_0x1aa815(0x1e6)](),global[_0x1aa815(0x1ff)][_0x1aa815(0x1eb)](),global['__error_messages__']=[],global[_0x1aa815(0x1ec)]=![]);try{if(global['percy']&&_0x1337d2[_0x1aa815(0x233)](global[_0x1aa815(0x236)],_0x1337d2[_0x1aa815(0x208)])&&global['__drivers'][0x0]){const _0x2acf0b=_0x1337d2[_0x1aa815(0x1da)](global[_0x1aa815(0x1c9)][_0x1aa815(0x1fe)],0x0)?!!global[_0x1aa815(0x1c9)][0x0]['app']||!!global[_0x1aa815(0x1c9)][0x0][_0x1337d2[_0x1aa815(0x1d4)]]:![],_0x1a5e3c={};_0x1a5e3c[_0x1aa815(0x1d7)]=_0x2acf0b,await _0x1337d2[_0x1aa815(0x1f5)](percyAutoCapture,global['__drivers'][0x0],_0x1337d2[_0x1aa815(0x208)],_0x1a5e3c);}}catch(_0x1d724c){logger[_0x1aa815(0x1fd)](_0x1aa815(0x201)+_0x1d724c);}!global['__skipSessionName']&&(await PerformanceTester[_0x1aa815(0x254)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x46d6fd=_0x1aa815;await global[_0x46d6fd(0x1ff)][0x0][_0x46d6fd(0x1bd)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x46d6fd(0x1a8)](this[_0x46d6fd(0x20e)]['titlePath']()[_0x46d6fd(0x207)](_0x375faa[_0x46d6fd(0x228)]))+'}}');})(),global[_0x1aa815(0x1ff)][0x0][_0x1aa815(0x1f9)]=!![]),await PerformanceTester[_0x1aa815(0x254)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x558c4f=_0x1aa815,_0x14d7de=_0x375faa[_0x558c4f(0x20c)](this[_0x558c4f(0x20e)][_0x558c4f(0x213)],_0x375faa[_0x558c4f(0x22d)]);_0x14d7de?(global[_0x558c4f(0x1ec)]=!![],global['__error_messages__'][_0x558c4f(0x1de)](this[_0x558c4f(0x20e)][_0x558c4f(0x23f)][_0x558c4f(0x1e4)]),await _0x375faa[_0x558c4f(0x1e0)](_0x1b450b,JSON[_0x558c4f(0x1a8)](_0x375faa[_0x558c4f(0x211)](_0x375faa[_0x558c4f(0x1cf)],this[_0x558c4f(0x20e)][_0x558c4f(0x23f)][_0x558c4f(0x1e4)])),_0x375faa[_0x558c4f(0x1d1)])):await _0x375faa[_0x558c4f(0x1e0)](_0x1b450b,JSON[_0x558c4f(0x1a8)](_0x375faa[_0x558c4f(0x1dd)]),_0x375faa['onIBW']);})();}catch(_0x4d38dd){logger['debug'](_0x1aa815(0x24e)+_0x4d38dd);}try{if(this[_0x1aa815(0x20e)][_0x1aa815(0x1ca)]&&globals[_0x1aa815(0x214)](_0x1337d2[_0x1aa815(0x1dc)])&&globals[_0x1aa815(0x214)](_0x1337d2['SxHFd'])){logger[_0x1aa815(0x1b8)](_0x1337d2['kHSaO']);const _0x1ba793={};_0x1ba793['thTestRunUuid']=this['currentTest'][_0x1aa815(0x1c2)],_0x1ba793[_0x1aa815(0x1d0)]=process['env'][testHubConstants[_0x1aa815(0x1c5)][_0x1aa815(0x1bb)]],_0x1ba793[_0x1aa815(0x1cd)]=process[_0x1aa815(0x1aa)][testHubConstants['ENV_VAR'][_0x1aa815(0x220)]];const _0x3c5a31=_0x1ba793;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1aa815(0x1a8)](_0x3c5a31)),logger[_0x1aa815(0x1fd)](_0x1337d2[_0x1aa815(0x202)]);const _0x313877={};_0x313877[_0x1aa815(0x1ee)]=_0x1337d2['hCwpW'],await PerformanceTester[_0x1aa815(0x254)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x112c1c=_0x1aa815;logger[_0x112c1c(0x1fd)](util[_0x112c1c(0x221)](await global['__drivers'][0x0][_0x112c1c(0x21b)](scripts['performScan'],{'method':global['browserstackSessionName']})));},_0x313877)(),await PerformanceTester[_0x1aa815(0x254)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4cee7a=_0x1aa815;await global['__drivers'][0x0][_0x4cee7a(0x21b)](scripts['saveTestResults'],_0x3c5a31);})(),logger[_0x1aa815(0x1b8)](_0x1337d2[_0x1aa815(0x1af)]);}}catch(_0x4a8b08){logger[_0x1aa815(0x20b)](_0x1aa815(0x21f)+this[_0x1aa815(0x20e)]['titlePath']()+'.\x20Error\x20:',_0x4a8b08);}try{try{if(_0x1337d2[_0x1aa815(0x1d5)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x1337d2[_0x1aa815(0x1ab)](sendPlatformDetails,global[_0x1aa815(0x1ff)][0x0],this[_0x1aa815(0x20e)]?this[_0x1aa815(0x20e)]['testAnalyticsId']:null);if(_0x1337d2['ZAVaN'](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x1aa815(0x1e8)]);const _0x50736e=_0x1aa815(0x1ad)+Date['now']();await _0x1337d2['nEUmv'](_0x1b450b,JSON['stringify'](_0x50736e),_0x1337d2['tdeeE']),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x1b2805){logger[_0x1aa815(0x1fd)](_0x1aa815(0x24d)+_0x1b2805),PerformanceTester[_0x1aa815(0x219)](PerformanceO11yEvents[_0x1aa815(0x1e8)],![],_0x1b2805);}_0x1337d2[_0x1aa815(0x1da)](global[_0x1aa815(0x1ff)][0x0][_0x1aa815(0x1a7)],0x0)&&await global[_0x1aa815(0x1e6)]();}catch(_0x2bc9b5){logger['debug'](_0x1aa815(0x252)+_0x2bc9b5);}_0x1337d2[_0x1aa815(0x1e7)](_0x3bc579);})[_0xec6133(0x1a9)](()=>{_0x1337d2['oNwcU'](_0x4d711e);});},{'platform':_0x369a97[_0x379130(0x1df)](nestedKeyValue,global['__platformCaps'],[_0x369a97[_0x379130(0x1a5)]]),'hookType':_0x369a97['iJhxT']})();},'afterAll'(_0x174caf){const _0x23550f=a32_0x3fec21,_0x3056b5={'QhWix':function(_0x1aa457){return _0x1aa457();},'hqsya':function(_0x127483){return _0x127483();},'RRvWN':function(_0x5198f7,_0x57e8bc,_0x5dac5d){return _0x5198f7(_0x57e8bc,_0x5dac5d);},'kdEql':_0x23550f(0x1f0),'YIeKB':_0x23550f(0x24a)},_0x4ee942='browserstack internal helper hook';this[_0x23550f(0x234)](0xfde8),PerformanceTester[_0x23550f(0x254)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5837c2=_0x23550f,_0x38d0fa={'tiqMz':function(_0x1b9c38){return _0x3056b5['QhWix'](_0x1b9c38);},'ZmqNA':function(_0x15070e){const _0x55a3c9=a32_0x4af3;return _0x3056b5[_0x55a3c9(0x1db)](_0x15070e);}};new Promise(async _0x4fc5a6=>{const _0x188cc6=a32_0x4af3;await global[_0x188cc6(0x1e6)](),_0x38d0fa[_0x188cc6(0x227)](_0x4fc5a6);})[_0x5837c2(0x1a9)]()[_0x5837c2(0x1c7)](()=>{const _0x2f7a3c=_0x5837c2;_0x38d0fa[_0x2f7a3c(0x1a6)](_0x174caf);});},{'platform':_0x3056b5[_0x23550f(0x246)](nestedKeyValue,global['__platformCaps'],[_0x3056b5['kdEql']]),'hookType':_0x3056b5[_0x23550f(0x1fa)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x5470d2=a33_0x1703;(function(_0x2b9db5,_0x428634){const _0x1aa8b9=a33_0x1703,_0x5601b3=_0x2b9db5();while(!![]){try{const _0x2a2cfa=-parseInt(_0x1aa8b9(0x1fd))/0x1*(-parseInt(_0x1aa8b9(0x219))/0x2)+-parseInt(_0x1aa8b9(0x1e8))/0x3*(-parseInt(_0x1aa8b9(0x220))/0x4)+-parseInt(_0x1aa8b9(0x1f8))/0x5+-parseInt(_0x1aa8b9(0x1e1))/0x6+-parseInt(_0x1aa8b9(0x1ed))/0x7+parseInt(_0x1aa8b9(0x1de))/0x8*(parseInt(_0x1aa8b9(0x1dd))/0x9)+parseInt(_0x1aa8b9(0x1d9))/0xa;if(_0x2a2cfa===_0x428634)break;else _0x5601b3['push'](_0x5601b3['shift']());}catch(_0x1c827a){_0x5601b3['push'](_0x5601b3['shift']());}}}(a33_0x448c,0x6a418));function a33_0x1703(_0xf8438,_0x1a0846){const _0x448c95=a33_0x448c();return a33_0x1703=function(_0x17033a,_0x4e2510){_0x17033a=_0x17033a-0x1d4;let _0x1090c8=_0x448c95[_0x17033a];return _0x1090c8;},a33_0x1703(_0xf8438,_0x1a0846);}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x5470d2(0x1f7)),logger=require(a33_0x5470d2(0x1fb))[a33_0x5470d2(0x1ee)],{default:BrowserStackSetup}=require(a33_0x5470d2(0x1e4)),helper=require(a33_0x5470d2(0x1f1)),constants=require(a33_0x5470d2(0x1f4)),getUserNightwatchConfigs=(_0x3d4134,_0x27708e)=>{const _0x18f9d0=a33_0x5470d2,_0x473b73={'dNBpq':_0x18f9d0(0x205),'mbvcd':_0x18f9d0(0x1e0),'eMepY':function(_0x2ca347,_0x21a893){return _0x2ca347(_0x21a893);},'UMCoE':_0x18f9d0(0x1ef)};let _0xc99c=null,_0x13b01b={};const _0x5c6163=_0x27708e[_0x18f9d0(0x1db)](_0x3682fe=>_0x3682fe===_0x18f9d0(0x21c));if(!helper[_0x18f9d0(0x1fa)](_0x3d4134[_0x18f9d0(0x1fc)])&&fs[_0x18f9d0(0x20e)](path['join'](process[_0x18f9d0(0x20a)](),_0x3d4134['config'])))_0xc99c=path[_0x18f9d0(0x207)](process[_0x18f9d0(0x20a)](),_0x3d4134[_0x18f9d0(0x1fc)]),_0x27708e['splice'](_0x5c6163,0x2);else{if(fs[_0x18f9d0(0x20e)](path[_0x18f9d0(0x207)](process[_0x18f9d0(0x20a)](),_0x473b73[_0x18f9d0(0x221)])))_0xc99c=path[_0x18f9d0(0x207)](process['cwd'](),_0x473b73[_0x18f9d0(0x221)]);else fs[_0x18f9d0(0x20e)](path[_0x18f9d0(0x207)](process[_0x18f9d0(0x20a)](),_0x473b73[_0x18f9d0(0x1e7)]))&&(_0xc99c=path[_0x18f9d0(0x207)](process[_0x18f9d0(0x20a)](),_0x473b73['mbvcd']));}return _0xc99c?(logger[_0x18f9d0(0x215)](_0x18f9d0(0x206)+_0xc99c),_0x13b01b=_0x473b73[_0x18f9d0(0x209)](require,_0xc99c)):logger['info'](_0x473b73['UMCoE']),_0x13b01b;},removeExistingEnvs=_0x166743=>{const _0x198951=a33_0x5470d2,_0x39756f={};_0x39756f[_0x198951(0x217)]=function(_0x4b5849,_0x4168a6){return _0x4b5849>_0x4168a6;},_0x39756f['aLpye']=function(_0x3753ee,_0x2b65ae){return _0x3753ee>_0x2b65ae;};const _0x53378f=_0x39756f;let _0x137c43=_0x166743[_0x198951(0x1db)](_0x5d3706=>_0x5d3706===_0x198951(0x1eb));_0x53378f[_0x198951(0x217)](_0x137c43,-0x1)&&_0x166743[_0x198951(0x203)](_0x137c43,0x2),_0x137c43=_0x166743[_0x198951(0x1db)](_0x37c9bf=>_0x37c9bf==='-e'),_0x53378f[_0x198951(0x20b)](_0x137c43,-0x1)&&_0x166743['splice'](_0x137c43,0x2);};function run(_0xbed486,_0x14c349){const _0x20814d=a33_0x5470d2,_0x139668={'bJvoe':_0x20814d(0x1ec),'XXgIZ':function(_0xdcd0c3,_0x5bb409){return _0xdcd0c3+_0x5bb409;},'AuNFV':_0x20814d(0x210),'QbsAq':function(_0x691814,_0x4eca80,_0x1c6ff4){return _0x691814(_0x4eca80,_0x1c6ff4);},'eJYvQ':_0x20814d(0x211),'ghXyY':_0x20814d(0x213),'yBpYJ':function(_0x5c30d5,_0x1227ce){return _0x5c30d5===_0x1227ce;},'EudLk':_0x20814d(0x20d),'gCaiU':function(_0x1385a4,_0x51c12b){return _0x1385a4(_0x51c12b);},'zKBxi':function(_0x49eab7,_0x249958,_0x26914c,_0x3de656){return _0x49eab7(_0x249958,_0x26914c,_0x3de656);},'BJiki':'nightwatch.cmd','eQIuj':_0x20814d(0x21c),'DaGmy':'--env','uqIuc':_0x20814d(0x21d),'jLZtd':_0x20814d(0x1da)},_0x519d83=new BrowserStackSetup(_0xbed486);if(!_0x519d83[_0x20814d(0x1fc)])return;const _0x9cd4f6=_0x139668[_0x20814d(0x1f2)](getUserNightwatchConfigs,_0xbed486,_0x14c349),_0x19ece2={};_0x19ece2[_0x20814d(0x1df)]=![];const _0x5a3a45={};_0x5a3a45['host']=_0x139668[_0x20814d(0x1e2)],_0x5a3a45[_0x20814d(0x1ea)]=0x1bb;const _0x383835={};_0x383835['webdriver']=_0x19ece2,_0x383835[_0x20814d(0x1fe)]=_0x5a3a45;const _0xdd5564=_0x383835;logger[_0x20814d(0x215)](_0x139668['ghXyY']);const _0x16405c={..._0x9cd4f6},_0x396ddb=_0x16405c,_0x217efe=helper[_0x20814d(0x1d5)](_0x519d83[_0x20814d(0x1fc)]),_0x1dcf99=[];_0x519d83[_0x20814d(0x1fc)][_0x20814d(0x1e9)]['forEach']((_0x34bcdd,_0x405124)=>{const _0x1557c2=_0x20814d;_0x217efe?_0x1dcf99[_0x1557c2(0x218)](helper['modifyBrowserStackW3CCaps'](_0x519d83[_0x1557c2(0x1fc)],_0x139668[_0x1557c2(0x214)],_0x405124)):_0x1dcf99[_0x1557c2(0x218)](helper['modifyBrowserStackCaps'](_0x519d83[_0x1557c2(0x1fc)],_0x139668[_0x1557c2(0x214)],_0x405124));});const _0x335ccb={},_0x4bcd12=[];_0xbed486[_0x20814d(0x1e6)]=_0xbed486[_0x20814d(0x1e6)]||_0xbed486['e'];const _0x5da4b3=_0xbed486['env']?_0xbed486[_0x20814d(0x1e6)][_0x20814d(0x1e3)]()['split'](',')[_0x20814d(0x204)](_0x459f49=>_0x459f49[_0x20814d(0x1e3)]())[_0x20814d(0x1d6)](_0x1dd40d=>_0x1dd40d!==''):[''];_0x139668[_0x20814d(0x1f5)](_0x5da4b3[_0x20814d(0x21e)],0x0)&&_0x5da4b3['push']('');_0x5da4b3[_0x20814d(0x1f6)](_0x3adf71=>{const _0x2cc692=_0x20814d;_0x1dcf99[_0x2cc692(0x1f6)](_0x171dc1=>{const _0x3892c0=_0x2cc692;let _0x414e85=_0x139668[_0x3892c0(0x200)](helper[_0x3892c0(0x1d7)](_0x171dc1,'_'),'_'+Date[_0x3892c0(0x208)]());_0x3adf71&&(_0x414e85+='_'+_0x3adf71);if(_0x3adf71&&(!_0x9cd4f6[_0x139668['AuNFV']]||!_0x9cd4f6[_0x139668[_0x3892c0(0x202)]][_0x3adf71]))return;const _0xe005d7={..._0xdd5564};_0xe005d7[_0x3892c0(0x1d4)]=_0x171dc1;const _0x19019f=_0xe005d7;_0x335ccb[_0x414e85]=_0x3adf71?helper[_0x3892c0(0x1dc)](_0x9cd4f6[_0x139668[_0x3892c0(0x202)]][_0x3adf71],_0x19019f):_0x19019f,_0x4bcd12[_0x3892c0(0x218)](_0x414e85);});});!_0x396ddb[_0x20814d(0x210)]&&(_0x396ddb[_0x20814d(0x210)]={});_0x396ddb[_0x20814d(0x210)]={..._0x396ddb[_0x20814d(0x210)],..._0x335ccb};const _0x597ec2=path['join'](__dirname,_0x139668[_0x20814d(0x1f0)]);fs[_0x20814d(0x1d8)](_0x597ec2,JSON[_0x20814d(0x212)](_0x396ddb)),_0x139668[_0x20814d(0x21f)](removeExistingEnvs,_0x14c349);const _0x2f6552=_0x139668['zKBxi'](spawn,/^win/[_0x20814d(0x1e5)](process['platform'])?_0x139668[_0x20814d(0x20c)]:_0x139668[_0x20814d(0x214)],[_0x139668[_0x20814d(0x1f9)],_0x597ec2,..._0x14c349[_0x20814d(0x20f)](0x1),_0x139668[_0x20814d(0x1f3)],_0x4bcd12['join'](',')],{'stdio':_0x139668[_0x20814d(0x21a)]});_0x2f6552['on'](_0x139668[_0x20814d(0x1ff)],async _0x56e11c=>{const _0x31066e=_0x20814d;logger[_0x31066e(0x216)](_0x31066e(0x21b)+_0x56e11c),logger['info']('Deleting\x20'+_0x597ec2),fs[_0x31066e(0x201)](_0x597ec2);});}module['exports']=run;function a33_0x448c(){const _0x5cb852=['map','nightwatch.conf.js','Getting\x20your\x20nightwatch\x20configs\x20from\x20','join','now','eMepY','cwd','aLpye','BJiki','nightwatch-browserstack.json','existsSync','slice','test_settings','hub.browserstack.com','stringify','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','bJvoe','info','debug','WpVAS','push','558UywFPs','uqIuc','child\x20process\x20exited\x20with\x20code\x20','--config','inherit','length','gCaiU','260AcZTXS','dNBpq','desiredCapabilities','useW3C','filter','getPlatformName','writeFileSync','2766690jFEqfi','close','findIndex','mergeDeep','9eBhVZj','1390776QyzkZw','start_process','nightwatch.json','4657290XMajcx','eJYvQ','trim','../../helpers/BrowserStackSetup','test','env','mbvcd','31947NPtMvX','platforms','port','--env','nightwatch','606144lzTPJJ','winstonLogger','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','EudLk','../../helpers/helper','QbsAq','DaGmy','../utils/constants','yBpYJ','forEach','child_process','1858505bBlLXE','eQIuj','isUndefined','../../helpers/logger','config','1889Ioidsq','selenium','jLZtd','XXgIZ','unlinkSync','AuNFV','splice'];a33_0x448c=function(){return _0x5cb852;};return a33_0x448c();}
2
+ 'use strict';const a33_0x57306f=a33_0x46fd;(function(_0x557f87,_0x4a3de3){const _0x51acd8=a33_0x46fd,_0x41c6c1=_0x557f87();while(!![]){try{const _0x1711b4=parseInt(_0x51acd8(0x1c8))/0x1+-parseInt(_0x51acd8(0x1db))/0x2*(-parseInt(_0x51acd8(0x1ea))/0x3)+-parseInt(_0x51acd8(0x204))/0x4*(parseInt(_0x51acd8(0x206))/0x5)+-parseInt(_0x51acd8(0x1d3))/0x6+parseInt(_0x51acd8(0x201))/0x7+-parseInt(_0x51acd8(0x1fa))/0x8*(-parseInt(_0x51acd8(0x202))/0x9)+-parseInt(_0x51acd8(0x1d8))/0xa;if(_0x1711b4===_0x4a3de3)break;else _0x41c6c1['push'](_0x41c6c1['shift']());}catch(_0xd1ed24){_0x41c6c1['push'](_0x41c6c1['shift']());}}}(a33_0x542b,0xc075b));const fs=require('fs'),path=require(a33_0x57306f(0x1d6)),{spawn}=require(a33_0x57306f(0x207)),logger=require('../../helpers/logger')[a33_0x57306f(0x1f5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x57306f(0x1e2)),constants=require(a33_0x57306f(0x1f0)),getUserNightwatchConfigs=(_0x2be7a6,_0x3daac8)=>{const _0xed5f7a=a33_0x57306f,_0x3c868f={'pCcLt':_0xed5f7a(0x1fb),'QwvEe':_0xed5f7a(0x205),'fWdbX':function(_0x4b1729,_0x384a77){return _0x4b1729(_0x384a77);},'DsVoW':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x832c9a=null,_0x2830b7={};const _0x5de667=_0x3daac8[_0xed5f7a(0x1f8)](_0x1b9148=>_0x1b9148===_0xed5f7a(0x1cf));if(!helper['isUndefined'](_0x2be7a6[_0xed5f7a(0x200)])&&fs['existsSync'](path[_0xed5f7a(0x1dc)](process['cwd'](),_0x2be7a6[_0xed5f7a(0x200)])))_0x832c9a=path[_0xed5f7a(0x1dc)](process['cwd'](),_0x2be7a6[_0xed5f7a(0x200)]),_0x3daac8['splice'](_0x5de667,0x2);else{if(fs[_0xed5f7a(0x209)](path[_0xed5f7a(0x1dc)](process[_0xed5f7a(0x1e0)](),_0x3c868f['pCcLt'])))_0x832c9a=path[_0xed5f7a(0x1dc)](process['cwd'](),_0x3c868f[_0xed5f7a(0x203)]);else fs[_0xed5f7a(0x209)](path[_0xed5f7a(0x1dc)](process[_0xed5f7a(0x1e0)](),_0x3c868f[_0xed5f7a(0x1e6)]))&&(_0x832c9a=path['join'](process[_0xed5f7a(0x1e0)](),_0x3c868f[_0xed5f7a(0x1e6)]));}return _0x832c9a?(logger[_0xed5f7a(0x1f2)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x832c9a),_0x2830b7=_0x3c868f[_0xed5f7a(0x1f1)](require,_0x832c9a)):logger['info'](_0x3c868f['DsVoW']),_0x2830b7;},removeExistingEnvs=_0x35af70=>{const _0x2a35cb=a33_0x57306f,_0x33e45a={};_0x33e45a[_0x2a35cb(0x1c9)]=function(_0x595484,_0x5096d6){return _0x595484>_0x5096d6;},_0x33e45a[_0x2a35cb(0x1d9)]=function(_0xfc8b5a,_0x28d6e7){return _0xfc8b5a>_0x28d6e7;};const _0x396632=_0x33e45a;let _0x627f26=_0x35af70['findIndex'](_0x27dc53=>_0x27dc53===_0x2a35cb(0x1cc));_0x396632[_0x2a35cb(0x1c9)](_0x627f26,-0x1)&&_0x35af70[_0x2a35cb(0x1f6)](_0x627f26,0x2),_0x627f26=_0x35af70[_0x2a35cb(0x1f8)](_0x34ae91=>_0x34ae91==='-e'),_0x396632['vbypr'](_0x627f26,-0x1)&&_0x35af70['splice'](_0x627f26,0x2);};function run(_0x4fddf5,_0x33ef92){const _0x569016=a33_0x57306f,_0x7be4a1={'wRzPC':_0x569016(0x1eb),'fyWyU':function(_0x5ec36a,_0x28554e){return _0x5ec36a+_0x28554e;},'GpMam':'test_settings','LsvcH':function(_0x4ef2e5,_0x36c502,_0x5a192a){return _0x4ef2e5(_0x36c502,_0x5a192a);},'PPwwG':_0x569016(0x1f3),'CMKXw':_0x569016(0x1f9),'RGVPk':function(_0xc36625,_0x589602){return _0xc36625===_0x589602;},'OrviA':_0x569016(0x1e7),'VVfRa':function(_0x9c5173,_0x23906c){return _0x9c5173(_0x23906c);},'FlQDK':function(_0x2a0373,_0x59bb45,_0x24b6de,_0x149bb0){return _0x2a0373(_0x59bb45,_0x24b6de,_0x149bb0);},'mncUI':_0x569016(0x1dd),'oHdVB':_0x569016(0x1cf),'dgUAG':_0x569016(0x1cc),'CSiAz':'inherit','YULsn':_0x569016(0x1e4)},_0x6ee85f=new BrowserStackSetup(_0x4fddf5);if(!_0x6ee85f[_0x569016(0x200)])return;const _0x3ba3e5=_0x7be4a1[_0x569016(0x1ee)](getUserNightwatchConfigs,_0x4fddf5,_0x33ef92),_0x234fb9={};_0x234fb9[_0x569016(0x1cd)]=![];const _0x3c1d46={};_0x3c1d46['host']=_0x7be4a1[_0x569016(0x1df)],_0x3c1d46[_0x569016(0x1fe)]=0x1bb;const _0x46123b={};_0x46123b[_0x569016(0x20a)]=_0x234fb9,_0x46123b['selenium']=_0x3c1d46;const _0x17092f=_0x46123b;logger[_0x569016(0x1f2)](_0x7be4a1[_0x569016(0x208)]);const _0x161feb={..._0x3ba3e5},_0x82301a=_0x161feb,_0x7babd8=helper[_0x569016(0x1fc)](_0x6ee85f[_0x569016(0x200)]),_0x344ef5=[];_0x6ee85f[_0x569016(0x200)][_0x569016(0x1e5)][_0x569016(0x1d5)]((_0x56bcad,_0x34641a)=>{const _0x1720cd=_0x569016;_0x7babd8?_0x344ef5[_0x1720cd(0x1f4)](helper['modifyBrowserStackW3CCaps'](_0x6ee85f['config'],_0x7be4a1['wRzPC'],_0x34641a)):_0x344ef5[_0x1720cd(0x1f4)](helper[_0x1720cd(0x1fd)](_0x6ee85f[_0x1720cd(0x200)],_0x7be4a1[_0x1720cd(0x1da)],_0x34641a));});const _0x4bcc7f={},_0x38e6b9=[];_0x4fddf5['env']=_0x4fddf5[_0x569016(0x1e1)]||_0x4fddf5['e'];const _0x3ae1ee=_0x4fddf5[_0x569016(0x1e1)]?_0x4fddf5[_0x569016(0x1e1)][_0x569016(0x1f7)]()[_0x569016(0x1de)](',')['map'](_0x5b609e=>_0x5b609e['trim']())['filter'](_0x437dce=>_0x437dce!==''):[''];_0x7be4a1[_0x569016(0x1cb)](_0x3ae1ee['length'],0x0)&&_0x3ae1ee[_0x569016(0x1f4)]('');_0x3ae1ee[_0x569016(0x1d5)](_0x376416=>{const _0x34eb26=_0x569016,_0x5be65c={'CzEhG':function(_0x2731cb,_0x15edde){return _0x7be4a1['fyWyU'](_0x2731cb,_0x15edde);},'QuaGl':_0x7be4a1[_0x34eb26(0x1e9)]};_0x344ef5['forEach'](_0xbb8332=>{const _0x437c5a=_0x34eb26;let _0x543bee=_0x5be65c['CzEhG'](helper[_0x437c5a(0x1d4)](_0xbb8332,'_'),'_'+Date[_0x437c5a(0x1e3)]());_0x376416&&(_0x543bee+='_'+_0x376416);if(_0x376416&&(!_0x3ba3e5[_0x5be65c[_0x437c5a(0x1d1)]]||!_0x3ba3e5[_0x5be65c['QuaGl']][_0x376416]))return;const _0x54a567={..._0x17092f};_0x54a567['desiredCapabilities']=_0xbb8332;const _0xed2c51=_0x54a567;_0x4bcc7f[_0x543bee]=_0x376416?helper[_0x437c5a(0x1ca)](_0x3ba3e5[_0x5be65c[_0x437c5a(0x1d1)]][_0x376416],_0xed2c51):_0xed2c51,_0x38e6b9['push'](_0x543bee);});});!_0x82301a[_0x569016(0x1ed)]&&(_0x82301a['test_settings']={});_0x82301a[_0x569016(0x1ed)]={..._0x82301a[_0x569016(0x1ed)],..._0x4bcc7f};const _0x38b9ae=path[_0x569016(0x1dc)](__dirname,_0x7be4a1[_0x569016(0x1ff)]);fs['writeFileSync'](_0x38b9ae,JSON[_0x569016(0x1d0)](_0x82301a)),_0x7be4a1['VVfRa'](removeExistingEnvs,_0x33ef92);const _0x2e86d6=_0x7be4a1[_0x569016(0x1ec)](spawn,/^win/['test'](process['platform'])?_0x7be4a1['mncUI']:_0x7be4a1[_0x569016(0x1da)],[_0x7be4a1[_0x569016(0x1d2)],_0x38b9ae,..._0x33ef92['slice'](0x1),_0x7be4a1['dgUAG'],_0x38e6b9[_0x569016(0x1dc)](',')],{'stdio':_0x7be4a1['CSiAz']});_0x2e86d6['on'](_0x7be4a1[_0x569016(0x1ce)],async _0x225c41=>{const _0x19fe51=_0x569016;logger['debug'](_0x19fe51(0x1d7)+_0x225c41),logger[_0x19fe51(0x1f2)](_0x19fe51(0x1ef)+_0x38b9ae),fs[_0x19fe51(0x1e8)](_0x38b9ae);});}function a33_0x46fd(_0xf8a65e,_0x5652ec){const _0x542b22=a33_0x542b();return a33_0x46fd=function(_0x46fd87,_0xdf5018){_0x46fd87=_0x46fd87-0x1c8;let _0x11fc5c=_0x542b22[_0x46fd87];return _0x11fc5c;},a33_0x46fd(_0xf8a65e,_0x5652ec);}module['exports']=run;function a33_0x542b(){const _0x11f37b=['nightwatch.cmd','split','PPwwG','cwd','env','../../helpers/helper','now','close','platforms','QwvEe','nightwatch-browserstack.json','unlinkSync','GpMam','18717pFbmTq','nightwatch','FlQDK','test_settings','LsvcH','Deleting\x20','../utils/constants','fWdbX','info','hub.browserstack.com','push','winstonLogger','splice','trim','findIndex','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','2248264bijzuR','nightwatch.conf.js','useW3C','modifyBrowserStackCaps','port','OrviA','config','7471422lcKgHS','18JoHmks','pCcLt','29972Dxvakd','nightwatch.json','580BdJiYO','child_process','CMKXw','existsSync','webdriver','127268EDCjhe','ouTPV','mergeDeep','RGVPk','--env','start_process','YULsn','--config','stringify','QuaGl','oHdVB','1003032yXMhxM','getPlatformName','forEach','path','child\x20process\x20exited\x20with\x20code\x20','14979940WBdNGG','vbypr','wRzPC','502nKcVUG','join'];a33_0x542b=function(){return _0x11f37b;};return a33_0x542b();}
@@ -1 +1 @@
1
- const a34_0x22e85a=a34_0x142b;function a34_0x142b(_0x5f2957,_0x4fa2df){const _0xfa5e68=a34_0xfa5e();return a34_0x142b=function(_0x142be0,_0x5e3adb){_0x142be0=_0x142be0-0x15b;let _0x9f7888=_0xfa5e68[_0x142be0];return _0x9f7888;},a34_0x142b(_0x5f2957,_0x4fa2df);}(function(_0x2e7ee9,_0x58f511){const _0x4f1bdd=a34_0x142b,_0x2abb80=_0x2e7ee9();while(!![]){try{const _0x541035=parseInt(_0x4f1bdd(0x1a4))/0x1+-parseInt(_0x4f1bdd(0x1a9))/0x2*(parseInt(_0x4f1bdd(0x1be))/0x3)+parseInt(_0x4f1bdd(0x16e))/0x4+parseInt(_0x4f1bdd(0x174))/0x5*(parseInt(_0x4f1bdd(0x185))/0x6)+-parseInt(_0x4f1bdd(0x160))/0x7+-parseInt(_0x4f1bdd(0x1b6))/0x8+-parseInt(_0x4f1bdd(0x19f))/0x9;if(_0x541035===_0x58f511)break;else _0x2abb80['push'](_0x2abb80['shift']());}catch(_0x237a45){_0x2abb80['push'](_0x2abb80['shift']());}}}(a34_0xfa5e,0x4c7ee));const util=require(a34_0x22e85a(0x1ab)),logger=require(a34_0x22e85a(0x195))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a34_0x22e85a(0x16d)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x22e85a(0x1b9)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x22e85a(0x17c));exports[a34_0x22e85a(0x180)]=async(_0xf4cacc,_0x35120a,_0xf6e43b={})=>{const _0x4800d1=a34_0x22e85a,_0x4fd7a6={};_0x4fd7a6[_0x4800d1(0x1a1)]=_0x4800d1(0x1bd);const _0x56904b=_0x4fd7a6;return await _0xf4cacc[_0x4800d1(0x18c)]('(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'+_0x35120a[_0x4800d1(0x16b)](/arguments/g,_0x56904b[_0x4800d1(0x1a1)])+_0x4800d1(0x1b1)+JSON['stringify'](_0xf6e43b)+')');},exports[a34_0x22e85a(0x1ba)]=async(_0x4bc631,_0x281239,_0x1c470b={})=>{const _0x4c98b8=a34_0x22e85a,_0x3a1aae={};_0x3a1aae['byRDB']=function(_0x51f5c0,_0x42f61c){return _0x51f5c0===_0x42f61c;},_0x3a1aae[_0x4c98b8(0x18b)]=_0x4c98b8(0x181),_0x3a1aae['QrSuW']=function(_0x3cb674,_0x4a2600){return _0x3cb674===_0x4a2600;},_0x3a1aae[_0x4c98b8(0x15b)]='Playwright',_0x3a1aae[_0x4c98b8(0x17f)]=_0x4c98b8(0x1bd);const _0x448d7a=_0x3a1aae;if(_0x448d7a['byRDB'](_0x4bc631[_0x4c98b8(0x188)][_0x4c98b8(0x189)],_0x448d7a[_0x4c98b8(0x18b)]))return await _0x4bc631[_0x4c98b8(0x1ac)](_0x281239,_0x1c470b);else{if(_0x448d7a['QrSuW'](_0x4bc631[_0x4c98b8(0x188)]['name'],_0x448d7a['pRDPK']))return await _0x4bc631[_0x4c98b8(0x17a)](_0x4c98b8(0x190)+_0x281239['replace'](/arguments/g,_0x448d7a['HNueX'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x4c98b8(0x176)](_0x1c470b)+')');}},exports[a34_0x22e85a(0x17d)]=async _0x1f77c5=>{const _0x5ce075=a34_0x22e85a,_0x257d68={};_0x257d68[_0x5ce075(0x16c)]='accessibilityOptions.wcagVersion',_0x257d68[_0x5ce075(0x1ae)]=_0x5ce075(0x161),_0x257d68[_0x5ce075(0x168)]=_0x5ce075(0x16f),_0x257d68[_0x5ce075(0x192)]=_0x5ce075(0x1a8),_0x257d68['jTlam']=_0x5ce075(0x199),_0x257d68['jGOwr']=_0x5ce075(0x1b5);const _0x49a627=_0x257d68;_0x1f77c5[_0x5ce075(0x184)]&&(_0x1f77c5[_0x5ce075(0x184)][_0x5ce075(0x1b0)]&&(_0x1f77c5[_0x49a627['ryppG']]=_0x1f77c5[_0x5ce075(0x184)]['wcagVersion']),_0x1f77c5[_0x5ce075(0x184)][_0x5ce075(0x169)]&&(_0x1f77c5[_0x49a627[_0x5ce075(0x1ae)]]=_0x1f77c5[_0x5ce075(0x184)][_0x5ce075(0x169)]),_0x1f77c5[_0x5ce075(0x184)][_0x5ce075(0x194)]&&(_0x1f77c5[_0x49a627[_0x5ce075(0x168)]]=_0x1f77c5[_0x5ce075(0x184)][_0x5ce075(0x194)][_0x5ce075(0x15e)],_0x1f77c5[_0x49a627[_0x5ce075(0x192)]]=_0x1f77c5['accessibilityOptions']['includeIssueType'][_0x5ce075(0x171)]));const _0x26714e=JSON[_0x5ce075(0x182)](process['env'][_0x5ce075(0x1aa)])[_0x5ce075(0x170)];_0x1f77c5[_0x49a627[_0x5ce075(0x167)]]=process['env'][_0x5ce075(0x183)],_0x1f77c5[_0x49a627[_0x5ce075(0x1b2)]]=_0x26714e,delete _0x1f77c5[_0x5ce075(0x184)];},exports[a34_0x22e85a(0x17e)]=async _0x4ea432=>{const _0x1ab23f=a34_0x22e85a,_0x504c99={};_0x504c99[_0x1ab23f(0x18d)]=_0x1ab23f(0x187),_0x504c99[_0x1ab23f(0x191)]=_0x1ab23f(0x1af);const _0x2939b4=_0x504c99;if(global[_0x1ab23f(0x1a0)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x4ea432,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4ea432,scripts.getResults);})();return res;}catch{return logger[_0x1ab23f(0x175)](_0x2939b4[_0x1ab23f(0x18d)]),[];}else return logger[_0x1ab23f(0x18e)](_0x2939b4[_0x1ab23f(0x191)]),[];},exports[a34_0x22e85a(0x1a2)]=async(_0x2af247,_0x2cfbef='')=>{const _0x4de533=a34_0x22e85a;if(global[_0x4de533(0x1a0)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4de533(0x179)],async()=>{const _0x444a45=_0x4de533,_0x186725={};_0x186725['command']=_0x2cfbef,await exports['browserStackEvaluate'](_0x2af247,scripts[_0x444a45(0x1a2)],_0x186725);},{'command':_0x2cfbef})();},exports[a34_0x22e85a(0x1a3)]=async _0x20f5e5=>{const _0x2a7f11=a34_0x22e85a,_0x14378a={};_0x14378a[_0x2a7f11(0x1b3)]=_0x2a7f11(0x1bc),_0x14378a[_0x2a7f11(0x1bf)]=_0x2a7f11(0x193);const _0xa396c4=_0x14378a;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x20f5e5,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x20f5e5,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0xa396c4[_0x2a7f11(0x1b3)]),{};}else return logger[_0x2a7f11(0x18e)](_0xa396c4[_0x2a7f11(0x1bf)]),{};},exports['platformValidation']=async _0x119b66=>{const _0xf23599=a34_0x22e85a,_0x526714={'lESdY':function(_0x378e48,_0x1dc863){return _0x378e48!==_0x1dc863;},'PsNuW':_0xf23599(0x16a),'tJMzC':function(_0x20d2f4,_0x5c6a6a){return _0x20d2f4===_0x5c6a6a;},'ZwfXD':_0xf23599(0x17b),'kmEeY':function(_0x165a8b,_0x4b5522){return _0x165a8b===_0x4b5522;},'RGZiz':_0xf23599(0x18f),'bnKap':_0xf23599(0x1c1),'caMlf':function(_0x20c691,_0x2f1705){return _0x20c691(_0x2f1705);},'uqSee':function(_0x4b2735,_0x59d942){return _0x4b2735===_0x59d942;},'XxlLx':_0xf23599(0x15f),'QoGzd':function(_0x5caeff,_0x1e8663){return _0x5caeff>_0x1e8663;},'mKXwx':_0xf23599(0x15d)};try{if(!_0x526714[_0xf23599(0x178)](_0x119b66['deviceName'],''))return logger[_0xf23599(0x18e)](_0x526714['PsNuW']),![];const _0x4ae1bb=_0x119b66[_0xf23599(0x173)];if(!(_0x526714[_0xf23599(0x15c)](_0x4ae1bb,_0x526714[_0xf23599(0x162)])||_0x526714[_0xf23599(0x1a5)](_0x4ae1bb,_0x526714['RGZiz'])))return logger[_0xf23599(0x18e)](_0x526714[_0xf23599(0x196)]),![];const _0x188fc9=_0x526714['caMlf'](parseInt,_0x119b66[_0xf23599(0x1a7)]);if(!(_0x526714[_0xf23599(0x1ad)](_0x188fc9,_0x526714['XxlLx'])||_0x526714['QoGzd'](_0x188fc9,0x5e)))return logger['warn'](_0x526714['mKXwx']),![];}catch(_0x13684f){logger['debug'](_0xf23599(0x19a)+util[_0xf23599(0x19b)](_0x13684f));}return!![];},exports[a34_0x22e85a(0x172)]=(_0x3c634e,_0x45a343,_0x5dd28e)=>{const _0x4824c6=a34_0x22e85a,_0x5d7af9={'WQLIC':function(_0x4af29e){return _0x4af29e();},'LyFLw':_0x4824c6(0x186),'RteZQ':function(_0x39cf97,_0x41b200){return _0x39cf97===_0x41b200;},'HNTcM':_0x4824c6(0x17b),'hFwFq':function(_0x2b46a6,_0x1f3f76){return _0x2b46a6===_0x1f3f76;},'dYLUH':_0x4824c6(0x18f),'Lrhoe':_0x4824c6(0x1c1),'MXvfc':'latest','csKmd':function(_0x128ddb,_0x3d6f03){return _0x128ddb>_0x3d6f03;},'YvnhO':_0x4824c6(0x15d),'ZMfIB':function(_0x38e30c,_0x5c3dbc){return _0x38e30c(_0x5c3dbc);},'wlPDO':_0x4824c6(0x16a),'SOrQs':function(_0x87e4d7,_0x2e863a){return _0x87e4d7+_0x2e863a;},'FPULQ':function(_0x53e5c0,_0x1465d1){return _0x53e5c0(_0x1465d1);}};try{if(_0x5d7af9[_0x4824c6(0x18a)](isAccessibilityAutomationSession)){global[_0x4824c6(0x1a0)]=!![];!_0x3c634e[_0x5d7af9['LyFLw']]&&(global[_0x4824c6(0x1a0)]=![]);!(_0x5d7af9[_0x4824c6(0x1b8)](_0x3c634e['browserName'],_0x5d7af9[_0x4824c6(0x198)])||_0x5d7af9[_0x4824c6(0x1c0)](_0x3c634e[_0x4824c6(0x164)],_0x5d7af9['dYLUH']))&&(logger[_0x4824c6(0x18e)](_0x5d7af9[_0x4824c6(0x19e)]),global[_0x4824c6(0x1a0)]=![]);!(_0x5d7af9['hFwFq'](_0x3c634e[_0x4824c6(0x1a7)],_0x5d7af9['MXvfc'])||_0x5d7af9[_0x4824c6(0x1b7)](_0x3c634e[_0x4824c6(0x1a7)],0x5e))&&(logger[_0x4824c6(0x18e)](_0x5d7af9[_0x4824c6(0x1bb)]),global[_0x4824c6(0x1a0)]=![]);!_0x5d7af9[_0x4824c6(0x19c)](isUndefined,_0x3c634e['deviceName'])&&(logger[_0x4824c6(0x18e)](_0x5d7af9['wlPDO']),global['accessibilityPlatform']=![]);if(!global[_0x4824c6(0x1a0)]){_0x3c634e[_0x5d7af9['LyFLw']]=![];const _0x1b9e24=_0x5d7af9['SOrQs'](_0x45a343,_0x5d7af9[_0x4824c6(0x163)](encodeURIComponent,JSON['stringify'](_0x3c634e)));_0x5dd28e&&(_0x5dd28e[_0x4824c6(0x1b4)][_0x4824c6(0x19d)][_0x4824c6(0x1a6)]['use'][_0x4824c6(0x166)][_0x4824c6(0x165)]=_0x1b9e24,_0x5dd28e['workerInfo'][_0x4824c6(0x1a6)][_0x4824c6(0x177)][_0x4824c6(0x166)][_0x4824c6(0x165)]=_0x1b9e24);}}}catch(_0x3e2b51){logger['debug'](_0x4824c6(0x197)+util['format'](_0x3e2b51));}};function a34_0xfa5e(){const _0x1d18fb=['WebDriver','parse','BS_A11Y_JWT','accessibilityOptions','1083306isNCPW','browserstack.accessibility','No\x20accessibility\x20results\x20were\x20found.','constructor','name','WQLIC','omZgj','evaluate','yVfJW','warn','playwright-chromium','(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','twyQk','YfjOG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','includeIssueType','../../helpers/logger','bnKap','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','HNTcM','accessibilityOptions.authToken','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','format','ZMfIB','testInfo','Lrhoe','2472669MZGleF','accessibilityPlatform','WzFAZ','performScan','getAccessibilityResultsSummary','182323Tclrbz','kmEeY','project','browser_version','accessibilityOptions.includeIssueType.needsReview','6ySsfMQ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','util','executeAsyncScript','uqSee','rAjBT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','wcagVersion','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','jGOwr','PeBxQ','currentTest','accessibilityOptions.scannerVersion','2587880LaEeZZ','csKmd','RteZQ','../../helpers/performance/performance-tester','browserStackExecuteDriver','YvnhO','No\x20summaryResults\x20found.','bstackSdkArgs','298719GGhogb','VDHSZ','hFwFq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','pRDPK','tJMzC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','bestPractice','latest','140938oaAXEs','accessibilityOptions.scannerProcessingTimeout','ZwfXD','FPULQ','browserName','wsEndpoint','connectOptions','jTlam','cXrGE','scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','replace','ryppG','../../helpers/helper','2025716KsZDnd','accessibilityOptions.includeIssueType.bestPractice','scannerVersion','needsReview','processAccessibilityCaps','browser','15QdvVjC','error','stringify','use','lESdY','PERFORM_SCAN','executeScript','chrome','../../helpers/performance/constants','setAccessibilityCapabilities','getAccessibilityResults','HNueX','browserStackEvaluate'];a34_0xfa5e=function(){return _0x1d18fb;};return a34_0xfa5e();}
1
+ const a34_0x1ba913=a34_0x1f8d;function a34_0x1f8d(_0x4043b8,_0xf4ec9a){const _0x12320e=a34_0x1232();return a34_0x1f8d=function(_0x1f8d4d,_0x28bfe5){_0x1f8d4d=_0x1f8d4d-0x18a;let _0x57785e=_0x12320e[_0x1f8d4d];return _0x57785e;},a34_0x1f8d(_0x4043b8,_0xf4ec9a);}(function(_0x441725,_0x42b880){const _0x4a0963=a34_0x1f8d,_0x31304a=_0x441725();while(!![]){try{const _0x2c2700=-parseInt(_0x4a0963(0x1a0))/0x1*(parseInt(_0x4a0963(0x1f4))/0x2)+parseInt(_0x4a0963(0x1d1))/0x3+parseInt(_0x4a0963(0x1ce))/0x4*(-parseInt(_0x4a0963(0x19d))/0x5)+-parseInt(_0x4a0963(0x1e4))/0x6*(parseInt(_0x4a0963(0x197))/0x7)+-parseInt(_0x4a0963(0x1f5))/0x8*(parseInt(_0x4a0963(0x1b5))/0x9)+parseInt(_0x4a0963(0x1b8))/0xa+parseInt(_0x4a0963(0x1a9))/0xb;if(_0x2c2700===_0x42b880)break;else _0x31304a['push'](_0x31304a['shift']());}catch(_0x8b4e50){_0x31304a['push'](_0x31304a['shift']());}}}(a34_0x1232,0x218b8));const util=require('util'),logger=require(a34_0x1ba913(0x1ae))[a34_0x1ba913(0x18a)],{isAccessibilityAutomationSession}=require(a34_0x1ba913(0x1bb)),{isUndefined}=require(a34_0x1ba913(0x1f7)),scripts=require(a34_0x1ba913(0x1d3)),PerformanceTester=require(a34_0x1ba913(0x1bd)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x1ba913(0x1d4));function a34_0x1232(){const _0x1f4156=['browserStackExecuteDriver','lGEpC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','measureWrapper','2THLNin','1904NPBndl','PERFORM_SCAN','../../helpers/helper','FzaSq','winstonLogger','yMAoI','ECuSh','accessibilityOptions.authToken','performScan','getAccessibilityResultsSummary','testInfo','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','env','EVhXg','stringify','setAccessibilityCapabilities','TGWgV','7iGsZxb','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browser_version','latest','No\x20accessibility\x20results\x20were\x20found.','command','1274210NQbkNQ','LiDOo','(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','239633WfiFGv','chrome','KMZWE','oLWpi','scannerVersion','replace','yzOiu','getAccessibilityResults','playwright-chromium','7023940LAxbLA','wovyu','WebDriver','QEIgB','wcagVersion','../../helpers/logger','processAccessibilityCaps','QxgYJ','GGUDz','browser','connectOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1359GcWLYx','jgWKN','BS_A11Y_JWT','2045230NNVVBP','debug','needsReview','../../helpers/accessibility-automation/helper','accessibilityOptions.scannerVersion','../../helpers/performance/performance-tester','accessibilityPlatform','FGLWa','error','kUUtm','use','Nrbck','warn','QFiUA','No\x20summaryResults\x20found.','vTmCz','browserName','JCqEJ','GVMRi','bstackSdkArgs','browserStackEvaluate','deviceName','4BOrOtd','bestPractice','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','213261NVnRLe','parse','../../helpers/accessibility-automation/scripts','../../helpers/performance/constants','accessibilityOptions.scannerProcessingTimeout','executeScript','bxqhl','okUNw','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','aMKEH','constructor','ArakT','accessibilityOptions','WoKIP','thBSk','qRUhC','wsEndpoint','workerInfo','accessibilityOptions.wcagVersion','1478022awilpf','oaXCw','name','includeIssueType','oxKpd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','format','HYKMf','ysMdp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','cSESq','ZlWpt'];a34_0x1232=function(){return _0x1f4156;};return a34_0x1232();}exports[a34_0x1ba913(0x1cc)]=async(_0x4dbd1c,_0x513fa1,_0x34d93c={})=>{const _0x59c3d1=a34_0x1ba913,_0x39e0b5={};_0x39e0b5[_0x59c3d1(0x19e)]=_0x59c3d1(0x1cb);const _0x121487=_0x39e0b5;return await _0x4dbd1c['evaluate']('(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'+_0x513fa1[_0x59c3d1(0x1a5)](/arguments/g,_0x121487[_0x59c3d1(0x19e)])+_0x59c3d1(0x191)+JSON[_0x59c3d1(0x194)](_0x34d93c)+')');},exports[a34_0x1ba913(0x1f0)]=async(_0x157a57,_0x2cdc4a,_0x713776={})=>{const _0x1372a4=a34_0x1ba913,_0x385744={};_0x385744['lGEpC']=function(_0x11902f,_0xd7b80b){return _0x11902f===_0xd7b80b;},_0x385744[_0x1372a4(0x1d7)]=_0x1372a4(0x1ab),_0x385744[_0x1372a4(0x1b1)]='Playwright',_0x385744['ECuSh']='bstackSdkArgs';const _0xc75800=_0x385744;if(_0xc75800['lGEpC'](_0x157a57[_0x1372a4(0x1db)][_0x1372a4(0x1e6)],_0xc75800['bxqhl']))return await _0x157a57['executeAsyncScript'](_0x2cdc4a,_0x713776);else{if(_0xc75800[_0x1372a4(0x1f1)](_0x157a57[_0x1372a4(0x1db)]['name'],_0xc75800[_0x1372a4(0x1b1)]))return await _0x157a57[_0x1372a4(0x1d6)](_0x1372a4(0x19f)+_0x2cdc4a[_0x1372a4(0x1a5)](/arguments/g,_0xc75800[_0x1372a4(0x18c)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x1372a4(0x194)](_0x713776)+')');}},exports[a34_0x1ba913(0x195)]=async _0x199fdd=>{const _0x5b2b66=a34_0x1ba913,_0x17a64a={};_0x17a64a[_0x5b2b66(0x1bf)]=_0x5b2b66(0x1e3),_0x17a64a[_0x5b2b66(0x1a2)]=_0x5b2b66(0x1d5),_0x17a64a['JCqEJ']='accessibilityOptions.includeIssueType.bestPractice',_0x17a64a[_0x5b2b66(0x1ee)]='accessibilityOptions.includeIssueType.needsReview',_0x17a64a['NSFHP']=_0x5b2b66(0x18d),_0x17a64a[_0x5b2b66(0x1c7)]=_0x5b2b66(0x1bc);const _0x5e8159=_0x17a64a;_0x199fdd[_0x5b2b66(0x1dd)]&&(_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1ad)]&&(_0x199fdd[_0x5e8159[_0x5b2b66(0x1bf)]]=_0x199fdd['accessibilityOptions'][_0x5b2b66(0x1ad)]),_0x199fdd[_0x5b2b66(0x1dd)]['scannerProcessingTimeout']&&(_0x199fdd[_0x5e8159[_0x5b2b66(0x1a2)]]=_0x199fdd[_0x5b2b66(0x1dd)]['scannerProcessingTimeout']),_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1e7)]&&(_0x199fdd[_0x5e8159[_0x5b2b66(0x1c9)]]=_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1e7)][_0x5b2b66(0x1cf)],_0x199fdd[_0x5e8159['cSESq']]=_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1e7)][_0x5b2b66(0x1ba)]));const _0x9b7fbc=JSON[_0x5b2b66(0x1d2)](process[_0x5b2b66(0x192)][_0x5b2b66(0x1d0)])[_0x5b2b66(0x1a4)];_0x199fdd[_0x5e8159['NSFHP']]=process[_0x5b2b66(0x192)][_0x5b2b66(0x1b7)],_0x199fdd[_0x5e8159[_0x5b2b66(0x1c7)]]=_0x9b7fbc,delete _0x199fdd[_0x5b2b66(0x1dd)];},exports[a34_0x1ba913(0x1a7)]=async _0x55bf55=>{const _0x3e20d9=a34_0x1ba913,_0x25c5f8={};_0x25c5f8[_0x3e20d9(0x1e8)]=_0x3e20d9(0x19b),_0x25c5f8['ArakT']=_0x3e20d9(0x1e9);const _0x587005=_0x25c5f8;if(global[_0x3e20d9(0x1be)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x55bf55,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x55bf55,scripts.getResults);})();return res;}catch{return logger[_0x3e20d9(0x1c0)](_0x587005[_0x3e20d9(0x1e8)]),[];}else return logger[_0x3e20d9(0x1c4)](_0x587005[_0x3e20d9(0x1dc)]),[];},exports[a34_0x1ba913(0x18e)]=async(_0x56cc40,_0x4e0d10='')=>{const _0x52f47b=a34_0x1ba913;if(global['accessibilityPlatform'])return await PerformanceTester[_0x52f47b(0x1f3)](PerformanceA11yEvents[_0x52f47b(0x1f6)],async()=>{const _0xb08b74=_0x52f47b,_0x55fa2f={};_0x55fa2f[_0xb08b74(0x19c)]=_0x4e0d10,await exports[_0xb08b74(0x1cc)](_0x56cc40,scripts[_0xb08b74(0x18e)],_0x55fa2f);},{'command':_0x4e0d10})();},exports[a34_0x1ba913(0x18f)]=async _0x1181ec=>{const _0x4dadb6=a34_0x1ba913,_0x4e84b7={};_0x4e84b7[_0x4dadb6(0x18b)]=_0x4dadb6(0x1c6),_0x4e84b7['GVMRi']=_0x4dadb6(0x1f2);const _0x55e510=_0x4e84b7;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1181ec,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1181ec,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x4dadb6(0x1b9)](_0x55e510[_0x4dadb6(0x18b)]),{};}else return logger['warn'](_0x55e510[_0x4dadb6(0x1ca)]),{};},exports['platformValidation']=async _0x23793a=>{const _0x37a611=a34_0x1ba913,_0x4e6ebc={'oLWpi':function(_0x122a33,_0x527b19){return _0x122a33!==_0x527b19;},'EVhXg':_0x37a611(0x1d9),'HYKMf':function(_0x54f009,_0x26e103){return _0x54f009===_0x26e103;},'kUUtm':_0x37a611(0x1a1),'QxgYJ':_0x37a611(0x1a8),'jgWKN':_0x37a611(0x1b4),'WJjPG':function(_0x4e9e94,_0x40eb7f){return _0x4e9e94(_0x40eb7f);},'aMKEH':_0x37a611(0x19a),'Nrbck':function(_0xb89f4e,_0x3a1a55){return _0xb89f4e>_0x3a1a55;},'wovyu':_0x37a611(0x1ed)};try{if(!_0x4e6ebc[_0x37a611(0x1a3)](_0x23793a[_0x37a611(0x1cd)],''))return logger[_0x37a611(0x1c4)](_0x4e6ebc[_0x37a611(0x193)]),![];const _0xc279fc=_0x23793a[_0x37a611(0x1b2)];if(!(_0x4e6ebc[_0x37a611(0x1eb)](_0xc279fc,_0x4e6ebc[_0x37a611(0x1c1)])||_0x4e6ebc['HYKMf'](_0xc279fc,_0x4e6ebc[_0x37a611(0x1b0)])))return logger['warn'](_0x4e6ebc[_0x37a611(0x1b6)]),![];const _0x2d793c=_0x4e6ebc['WJjPG'](parseInt,_0x23793a[_0x37a611(0x199)]);if(!(_0x4e6ebc[_0x37a611(0x1eb)](_0x2d793c,_0x4e6ebc[_0x37a611(0x1da)])||_0x4e6ebc[_0x37a611(0x1c3)](_0x2d793c,0x5e)))return logger['warn'](_0x4e6ebc[_0x37a611(0x1aa)]),![];}catch(_0x43722e){logger[_0x37a611(0x1b9)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x37a611(0x1ea)](_0x43722e));}return!![];},exports[a34_0x1ba913(0x1af)]=(_0xe66997,_0x1270f8,_0x490891)=>{const _0x1b3af7=a34_0x1ba913,_0x40a856={'ysMdp':function(_0x4a8402){return _0x4a8402();},'WoKIP':'browserstack.accessibility','thBSk':function(_0x4d492c,_0x4fa807){return _0x4d492c===_0x4fa807;},'yzOiu':_0x1b3af7(0x1a1),'oaXCw':function(_0x4076c6,_0x333a3e){return _0x4076c6===_0x333a3e;},'zZubi':_0x1b3af7(0x1a8),'QFiUA':_0x1b3af7(0x1b4),'qRUhC':function(_0x16bbb8,_0x3415f8){return _0x16bbb8===_0x3415f8;},'FzaSq':'latest','bwNIi':function(_0x2057b3,_0x2676e7){return _0x2057b3>_0x2676e7;},'TGWgV':_0x1b3af7(0x1ed),'QEIgB':function(_0x2cd9e7,_0x463483){return _0x2cd9e7(_0x463483);},'IRvJJ':_0x1b3af7(0x1d9),'ZlWpt':function(_0x3134a5,_0x266168){return _0x3134a5+_0x266168;},'okUNw':function(_0x2b086b,_0x2a7868){return _0x2b086b(_0x2a7868);}};try{if(_0x40a856[_0x1b3af7(0x1ec)](isAccessibilityAutomationSession)){global[_0x1b3af7(0x1be)]=!![];!_0xe66997[_0x40a856[_0x1b3af7(0x1de)]]&&(global[_0x1b3af7(0x1be)]=![]);!(_0x40a856[_0x1b3af7(0x1df)](_0xe66997[_0x1b3af7(0x1c8)],_0x40a856[_0x1b3af7(0x1a6)])||_0x40a856[_0x1b3af7(0x1e5)](_0xe66997[_0x1b3af7(0x1c8)],_0x40a856['zZubi']))&&(logger[_0x1b3af7(0x1c4)](_0x40a856[_0x1b3af7(0x1c5)]),global[_0x1b3af7(0x1be)]=![]);!(_0x40a856[_0x1b3af7(0x1e0)](_0xe66997[_0x1b3af7(0x199)],_0x40a856[_0x1b3af7(0x1f8)])||_0x40a856['bwNIi'](_0xe66997[_0x1b3af7(0x199)],0x5e))&&(logger['warn'](_0x40a856[_0x1b3af7(0x196)]),global[_0x1b3af7(0x1be)]=![]);!_0x40a856[_0x1b3af7(0x1ac)](isUndefined,_0xe66997['deviceName'])&&(logger[_0x1b3af7(0x1c4)](_0x40a856['IRvJJ']),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0xe66997[_0x40a856[_0x1b3af7(0x1de)]]=![];const _0x1b5eec=_0x40a856[_0x1b3af7(0x1ef)](_0x1270f8,_0x40a856[_0x1b3af7(0x1d8)](encodeURIComponent,JSON[_0x1b3af7(0x194)](_0xe66997)));_0x490891&&(_0x490891['currentTest'][_0x1b3af7(0x190)]['project']['use']['connectOptions'][_0x1b3af7(0x1e1)]=_0x1b5eec,_0x490891[_0x1b3af7(0x1e2)]['project'][_0x1b3af7(0x1c2)][_0x1b3af7(0x1b3)]['wsEndpoint']=_0x1b5eec);}}}catch(_0x2dca85){logger[_0x1b3af7(0x1b9)](_0x1b3af7(0x198)+util[_0x1b3af7(0x1ea)](_0x2dca85));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x4f33(){const _0x57e48e=['XdCWB','Playwright\x20process\x20exited\x20with\x20code\x20','debug','NuPkY','5748xHqNjA','XOsYL','dCvyD','automation','CkGIK','FMSqb','push','emfXD','requirePWModule','false','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','path','QwHZa','BROWSERSTACK_AUTOMATION','testObservability','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','ebsHi','MODULE','../../helpers/performance/performance-tester','argv','nntPj','playwright-browserstack-sdk.config.cjs','PACKAGE_TYPE','441727vooxDV','cHDZT','apply','config','win32','playwright','BROWSERSTACK_RERUN_TESTS','9mytHGG','filter','skipSessionStatus','ecWvz','VOALH','BrowserStack\x20config\x20file\x20not\x20found.','PxchD','trim','clearTempPWConfig','jnyQH','scWgB','BvMLM','../../helpers/accessibility-automation/helper','UZAto','8418824yNFlbw','ARScK','../../helpers/performance/constants','313XMTcoH','trace_','./reporter/test-details','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','1398YIQWQK','BROWSERSTACK_TEST_OBSERVABILITY','--config','RLBPV','measureWrapper','exports','EVENTS','./accessibility-helper','BqgNo','./reporter/pwUtils','inherit','util','Updated\x20config\x20file\x20name\x20to\x20-\x20','AbLLR','BHlKb','aBCjG','\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();','USER_CONFIG_DETAILS_PATH','concat','4633550NsCalY','--config=','testContextOptions','73028KcbJeq','platform','errorMessage','--grep','validateRerunTestList','SDK_PRE_INITIALIZE','Error\x20in\x20closing\x20playwright','eZxxe','../../helpers/helper','XpFyx','CdOHj','../../helpers/logger','has','cwd','../utils/constants','winstonLogger','lItQW','nestedKeyValue','initialize','BROWSERSTACK_PW_CONFIG_DIR','PLAYWRIGHT','hHhvA','split','bqEwE','getConfigPath','OuuYK','PCKFs','resolvedConfigFile','135nzLqUf','browserstackSetupConfig.json','splice','EIuNV','existsSync','true','Deleting\x20','ltWZq','resolve','Error\x20in\x20getting\x20funnel\x20data\x20results','stringify','accessibilityOptions','../../helpers/utilities','accessibility','start','startsWith','unlinkSync','readdirSync','../../helpers/BrowserStackSetup','dpYoy','uClHv','env','qQguA','findIndex','writeFileSync','UtBpc','isTrue','launchBuild','logLevel','LbHpK','error','XFZvW','filterBrowserstackArgs','Acini','slice','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','bugTU','length','skipSessionName','iWoNi','SDK_POST_INITIALIZE','shutdown','join','Hgqsd','RxlBR','vkeQJ','isUndefined','PDMwW','getProxyUrl','VgZFp','pw_result.json','test','XYRYM','get','cliConfig','5306WRTlpO','getPackageType','3025797lbuDgQ','EYItU','homedir','jDBli','dirname','npx','--disable-browserstack-automation','pVFTR','204SpPJQg','--disable-test-observability','ngAKM','lVxgh','MKJiS','isFalse','DLWyA','readFileSync','close'];a35_0x4f33=function(){return _0x57e48e;};return a35_0x4f33();}const a35_0x5dfc7c=a35_0x532a;(function(_0x326d2c,_0x422779){const _0xaea502=a35_0x532a,_0x3573b9=_0x326d2c();while(!![]){try{const _0x3fbfda=parseInt(_0xaea502(0x193))/0x1*(parseInt(_0xaea502(0x198))/0x2)+parseInt(_0xaea502(0x14f))/0x3+parseInt(_0xaea502(0x1ae))/0x4*(-parseInt(_0xaea502(0x115))/0x5)+-parseInt(_0xaea502(0x164))/0x6*(-parseInt(_0xaea502(0x14d))/0x7)+-parseInt(_0xaea502(0x190))/0x8+parseInt(_0xaea502(0x182))/0x9*(-parseInt(_0xaea502(0x1ab))/0xa)+-parseInt(_0xaea502(0x17b))/0xb*(-parseInt(_0xaea502(0x157))/0xc);if(_0x3fbfda===_0x422779)break;else _0x3573b9['push'](_0x3573b9['shift']());}catch(_0x1da3da){_0x3573b9['push'](_0x3573b9['shift']());}}}(a35_0x4f33,0x99374));const fs=require('fs'),path=require(a35_0x5dfc7c(0x16f)),{spawn}=require('child_process'),{format}=require(a35_0x5dfc7c(0x1a3)),logger=require(a35_0x5dfc7c(0x1b9))[a35_0x5dfc7c(0x1bd)],{default:BrowserStackSetup}=require(a35_0x5dfc7c(0x127)),helper=require(a35_0x5dfc7c(0x1b6)),utilities=require(a35_0x5dfc7c(0x121)),constants=require(a35_0x5dfc7c(0x1bc)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a35_0x5dfc7c(0x1a1)),{checkAccessibilityPlatformConfig}=require(a35_0x5dfc7c(0x18e)),{setAccessibilityCapabilities}=require(a35_0x5dfc7c(0x19f)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a35_0x5dfc7c(0x195)),TestHubHandler=require(a35_0x5dfc7c(0x196)),PerformanceTester=require(a35_0x5dfc7c(0x176)),PerformanceEvents=require(a35_0x5dfc7c(0x192))[a35_0x5dfc7c(0x19e)],getUserPlaywrightConfig=async(_0x5d63ed,_0x49ec06)=>{const _0xddd368=a35_0x5dfc7c,_0x3a1cb8={'bqEwE':function(_0x9ffe9){return _0x9ffe9();},'pVFTR':function(_0x1af214,_0x243408){return _0x1af214(_0x243408);},'iWoNi':function(_0x19d27a,_0x185f66){return _0x19d27a(_0x185f66);},'RxlBR':_0xddd368(0x114),'RLBPV':'--config='},_0x49d54d=!helper[_0xddd368(0x144)](_0x5d63ed[_0xddd368(0x17e)]),_0x552cdd=_0x49d54d?path['resolve'](process[_0xddd368(0x1bb)](),_0x5d63ed[_0xddd368(0x17e)]):process[_0xddd368(0x1bb)](),{resolveConfigFile:_0x4c81fd,resolveConfigLocation:_0x2ce14c}=helper[_0xddd368(0x16c)][_0xddd368(0x17d)](null,_0x3a1cb8[_0xddd368(0x110)](getConfigLoaderPath)),_0x42beb6=_0x4c81fd?_0x3a1cb8[_0xddd368(0x156)](_0x4c81fd,_0x552cdd):helper[_0xddd368(0x1bf)](_0x3a1cb8[_0xddd368(0x13d)](_0x2ce14c,_0x552cdd),[_0x3a1cb8[_0xddd368(0x142)]]),_0x4d3951={};if(_0x49d54d){const _0x13a15e=_0x49ec06[_0xddd368(0x12c)](_0x48c8d0=>_0x48c8d0===_0xddd368(0x19a)||_0x48c8d0==='-c'||_0x48c8d0[_0xddd368(0x124)](_0xddd368(0x1ac)));_0x49ec06[_0xddd368(0x117)](_0x13a15e,_0x49ec06[_0x13a15e][_0xddd368(0x124)](_0x3a1cb8[_0xddd368(0x19b)])?0x1:0x2);}const _0x28a8e6={};return _0x28a8e6['path']=_0x42beb6,_0x28a8e6['config']=_0x4d3951,_0x28a8e6;},handleO11yRerun=_0x38fbbe=>{const _0x371bc9=a35_0x5dfc7c,_0x9f9615={};_0x9f9615[_0x371bc9(0x11c)]=_0x371bc9(0x1b1);const _0x21a77c=_0x9f9615,_0x974151=helper[_0x371bc9(0x12f)](process[_0x371bc9(0x12a)]['BROWSERSTACK_RERUN']);if(_0x974151){const _0xf5466a=process['env'][_0x371bc9(0x181)],_0x4b4846=[];if(helper[_0x371bc9(0x1b2)](_0xf5466a)&&!helper[_0x371bc9(0x144)](_0xf5466a)){_0xf5466a[_0x371bc9(0x10f)](',')['map'](_0x5afaae=>{const _0x1a01b5=_0x371bc9;_0x4b4846[_0x1a01b5(0x16a)]('('+_0x5afaae[_0x1a01b5(0x189)]()+')');});const _0x5b6eac='^'+_0x4b4846[_0x371bc9(0x140)]('|')+'$';_0x38fbbe['push'](_0x21a77c[_0x371bc9(0x11c)],_0x5b6eac);}}},spawnOriginalProcess=_0x35e8a1=>{const _0x14120e=a35_0x5dfc7c,_0x53a258={'BqgNo':function(_0x2fe665,_0x419119,_0x4063f8,_0x11b678){return _0x2fe665(_0x419119,_0x4063f8,_0x11b678);},'WQhnz':_0x14120e(0x154),'CdOHj':_0x14120e(0x180),'RZbiT':function(_0x3ea3c7,_0x1a2f33){return _0x3ea3c7===_0x1a2f33;},'lVxgh':_0x14120e(0x17f),'dpYoy':_0x14120e(0x1a2)};_0x53a258[_0x14120e(0x1a0)](spawn,_0x53a258['WQhnz'],[_0x53a258[_0x14120e(0x1b8)],..._0x35e8a1[_0x14120e(0x137)](0x1)],{'shell':_0x53a258['RZbiT'](process[_0x14120e(0x1af)],_0x53a258[_0x14120e(0x15a)]),'stdio':_0x53a258[_0x14120e(0x128)],'cwd':process['cwd']()});},isTestCommand=(_0x43fc71,_0x319c22)=>{const _0x34d2aa=a35_0x5dfc7c,_0x871ea6={};_0x871ea6[_0x34d2aa(0x163)]=function(_0x5edfb5,_0x567c63){return _0x5edfb5>_0x567c63;},_0x871ea6[_0x34d2aa(0x12b)]=function(_0x1d0ac9,_0x555e24){return _0x1d0ac9===_0x555e24;},_0x871ea6['BHlKb']=_0x34d2aa(0x149);const _0x593437=_0x871ea6;if(_0x593437['NuPkY'](_0x319c22[_0x34d2aa(0x13b)],0x1)&&_0x593437['qQguA'](_0x319c22[0x1],_0x593437[_0x34d2aa(0x1a6)]))return!![];return![];};function a35_0x532a(_0x2b41ab,_0x8f48be){const _0x4f33d4=a35_0x4f33();return a35_0x532a=function(_0x532aa3,_0x3de0d6){_0x532aa3=_0x532aa3-0x10b;let _0x524527=_0x4f33d4[_0x532aa3];return _0x524527;},a35_0x532a(_0x2b41ab,_0x8f48be);}async function run(_0x4f69d3,_0x472f76){const _0x2fd661=a35_0x5dfc7c,_0x276adf={'AbLLR':function(_0x5d7d4e,_0x3c30df){return _0x5d7d4e(_0x3c30df);},'QwHZa':'.browserstack','vkeQJ':_0x2fd661(0x148),'XpFyx':function(_0x283666,_0x343709){return _0x283666+_0x343709;},'CkGIK':_0x2fd661(0x11e),'emfXD':function(_0x1ae6d5){return _0x1ae6d5();},'XOsYL':function(_0x12a376){return _0x12a376();},'XdCWB':function(_0xc05d12,_0x454c7e){return _0xc05d12+_0x454c7e;},'Acini':_0x2fd661(0x1b4),'PDMwW':_0x2fd661(0x187),'DLWyA':_0x2fd661(0x167),'ecWvz':function(_0xbdbcbc,_0x3d7cc5){return _0xbdbcbc!=_0x3d7cc5;},'ARScK':function(_0xe38236,_0xec9dbd,_0x42f0c8){return _0xe38236(_0xec9dbd,_0x42f0c8);},'YTiCl':function(_0x55fc13,_0x5eeb43){return _0x55fc13(_0x5eeb43);},'scWgB':function(_0x490fd5,_0x47d4f9){return _0x490fd5===_0x47d4f9;},'SfbCM':_0x2fd661(0x11a),'XFZvW':function(_0x21a618,_0x57a8b9){return _0x21a618(_0x57a8b9);},'jDBli':_0x2fd661(0x116),'LbHpK':function(_0xea92f0,_0x4e7291){return _0xea92f0===_0x4e7291;},'cHDZT':_0x2fd661(0x179),'UtBpc':'playwright-browserstack-sdk.config.js','XYRYM':function(_0x2aaff1,_0x2c5175){return _0x2aaff1-_0x2c5175;},'VgZFp':_0x2fd661(0x1a4),'REOEs':function(_0x5dac93,_0x2eb8c6){return _0x5dac93>_0x2eb8c6;},'aBCjG':function(_0x2fe9f1,_0x49dff8){return _0x2fe9f1+_0x49dff8;},'sVUui':function(_0x558445,_0x53c331,_0x5e84ae,_0x40510f){return _0x558445(_0x53c331,_0x5e84ae,_0x40510f);},'bugTU':_0x2fd661(0x154),'OuuYK':'playwright','BvMLM':'test','VOALH':_0x2fd661(0x19a),'lItQW':_0x2fd661(0x17f),'hHhvA':'inherit','nntPj':_0x2fd661(0x15f),'wfAHj':'--disable-browserstack-automation','PxchD':_0x2fd661(0x16d),'ngAKM':'--disable-test-observability','PCKFs':function(_0x18fd12,_0x200297){return _0x18fd12>=_0x200297;},'EYItU':function(_0x26558f,_0x509e12){return _0x26558f+_0x509e12;},'uClHv':'Error\x20in\x20deleting\x20playwright\x20results','jnyQH':function(_0x5c8efa,_0x5888de){return _0x5c8efa(_0x5888de);}};!helper[_0x2fd661(0x15c)](process[_0x2fd661(0x12a)][_0x2fd661(0x171)])&&(process[_0x2fd661(0x12a)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x2fd661(0x177)]['includes'](_0x276adf['wfAHj'])&&(process['env'][_0x2fd661(0x171)]=_0x276adf['PxchD'],_0x472f76=_0x472f76[_0x2fd661(0x183)](_0x47fee8=>_0x47fee8!==_0x2fd661(0x155)));const _0x1ce2b3=_0x472f76['indexOf'](_0x276adf[_0x2fd661(0x159)]);_0x276adf[_0x2fd661(0x113)](_0x1ce2b3,0x0)&&(process[_0x2fd661(0x12a)][_0x2fd661(0x199)]=_0x276adf[_0x2fd661(0x188)],_0x472f76=_0x472f76['filter'](_0x168c65=>_0x168c65!==_0x2fd661(0x158)));try{const _0x8037b3=path[_0x2fd661(0x140)](helper[_0x2fd661(0x151)](),_0x276adf[_0x2fd661(0x170)],_0x276adf['vkeQJ']);fs[_0x2fd661(0x119)](_0x8037b3)&&fs[_0x2fd661(0x125)](_0x8037b3);}catch(_0x44571b){logger[_0x2fd661(0x162)](_0x276adf[_0x2fd661(0x150)](_0x276adf[_0x2fd661(0x129)],_0x44571b));}if(!_0x276adf[_0x2fd661(0x191)](isTestCommand,_0x4f69d3,_0x472f76)){_0x276adf[_0x2fd661(0x18b)](spawnOriginalProcess,_0x472f76);return;}const _0x547233=new BrowserStackSetup(_0x4f69d3,FRAMEWORKS[_0x2fd661(0x10d)]);await PerformanceTester[_0x2fd661(0x19c)](PerformanceEvents[_0x2fd661(0x1b3)],async()=>{const _0x2f6bc7=_0x2fd661,_0x64df11={'UZAto':_0x276adf[_0x2f6bc7(0x170)],'dCvyD':_0x276adf[_0x2f6bc7(0x143)],'EIuNV':function(_0x3e0664,_0x4d6495){const _0x3a9b6f=_0x2f6bc7;return _0x276adf[_0x3a9b6f(0x1b7)](_0x3e0664,_0x4d6495);},'FMSqb':_0x276adf[_0x2f6bc7(0x168)],'eZxxe':function(_0x46c131){const _0x418a97=_0x2f6bc7;return _0x276adf[_0x418a97(0x16b)](_0x46c131);},'MKJiS':function(_0x3236fd){const _0x2285ed=_0x2f6bc7;return _0x276adf[_0x2285ed(0x165)](_0x3236fd);},'Hgqsd':function(_0x6de5db,_0x5aea40){return _0x276adf['XdCWB'](_0x6de5db,_0x5aea40);},'ebsHi':_0x276adf[_0x2f6bc7(0x136)]};if(!_0x547233[_0x2f6bc7(0x17e)]){logger[_0x2f6bc7(0x133)](_0x276adf[_0x2f6bc7(0x145)]);return;}await _0x547233[_0x2f6bc7(0x10b)]();!helper[_0x2f6bc7(0x144)](_0x547233[_0x2f6bc7(0x14c)])&&_0x547233[_0x2f6bc7(0x14c)][_0x2f6bc7(0x1ba)](_0x276adf[_0x2f6bc7(0x15d)])&&(process[_0x2f6bc7(0x12a)]['BROWSERSTACK_AUTOMATION']=_0x547233['cliConfig'][_0x2f6bc7(0x14b)](_0x276adf[_0x2f6bc7(0x15d)])||!![]);_0x276adf[_0x2f6bc7(0x185)](_0x547233[_0x2f6bc7(0x17e)][_0x2f6bc7(0x172)],null)&&!helper['isTrue'](process[_0x2f6bc7(0x12a)][_0x2f6bc7(0x199)])&&(process[_0x2f6bc7(0x12a)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x2f6bc7(0x12a)][_0x2f6bc7(0x199)]||_0x547233['config'][_0x2f6bc7(0x172)]);const _0x4fb67e=!helper[_0x2f6bc7(0x15c)](process[_0x2f6bc7(0x12a)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x2bedab=![];_0x547233['config'][_0x2f6bc7(0x122)]&&(_0x2bedab=!![],process['env'][_0x2f6bc7(0x139)]=_0x547233[_0x2f6bc7(0x17e)][_0x2f6bc7(0x122)]);_0x547233[_0x2f6bc7(0x17e)][_0x2f6bc7(0x120)]&&(process[_0x2f6bc7(0x12a)][_0x2f6bc7(0x197)]=JSON[_0x2f6bc7(0x11f)](_0x547233[_0x2f6bc7(0x17e)]['accessibilityOptions']));const _0x1a39cc=_0x472f76[_0x2f6bc7(0x1aa)](),_0x4c614e=await _0x276adf[_0x2f6bc7(0x191)](getUserPlaywrightConfig,_0x4f69d3,_0x472f76);if(helper[_0x2f6bc7(0x144)](_0x4c614e)){_0x276adf['YTiCl'](spawnOriginalProcess,_0x1a39cc);return;}const _0x3101ad=_0x4c614e[_0x2f6bc7(0x16f)]?path[_0x2f6bc7(0x153)](_0x4c614e[_0x2f6bc7(0x16f)]):process[_0x2f6bc7(0x1bb)]();process[_0x2f6bc7(0x12a)][_0x2f6bc7(0x10c)]=_0x3101ad,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x2f6bc7(0x13e)],async()=>{const _0x23f36e=_0x2f6bc7;await TestHubHandler[_0x23f36e(0x130)](FRAMEWORKS[_0x23f36e(0x10d)],_0x547233),_0x4fb67e&&_0x276adf[_0x23f36e(0x1a5)](handleO11yRerun,_0x472f76);})();let _0x24ffdf=_0x276adf[_0x2f6bc7(0x18c)](process[_0x2f6bc7(0x12a)][_0x2f6bc7(0x139)],_0x276adf['SfbCM']);_0x24ffdf=_0x24ffdf||_0x276adf['YTiCl'](checkAccessibilityPlatformConfig,_0x547233[_0x2f6bc7(0x17e)]),process['env'][_0x2f6bc7(0x139)]=_0x24ffdf;_0x24ffdf&&_0x276adf[_0x2f6bc7(0x134)](setAccessibilityCapabilities,_0x547233['config']);const _0x3abe82=path[_0x2f6bc7(0x140)](_0x4c614e[_0x2f6bc7(0x16f)]?path[_0x2f6bc7(0x153)](_0x4c614e['path']):process[_0x2f6bc7(0x1bb)](),_0x276adf[_0x2f6bc7(0x152)]);fs[_0x2f6bc7(0x12d)](_0x3abe82,helper['serializeToYamlString'](_0x547233[_0x2f6bc7(0x17e)])),process[_0x2f6bc7(0x12a)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x3abe82,helper[_0x2f6bc7(0x18a)]();let _0x59449c='';_0x276adf[_0x2f6bc7(0x132)](helper[_0x2f6bc7(0x14e)](),constants[_0x2f6bc7(0x17a)][_0x2f6bc7(0x175)])?_0x59449c=_0x276adf[_0x2f6bc7(0x17c)]:_0x59449c=_0x276adf[_0x2f6bc7(0x12e)];let _0xd4a498='';if(helper['isTypescriptProject'](_0x4c614e['path'])){_0xd4a498=_0x2f6bc7(0x16e);const _0x485402=_0x59449c[_0x2f6bc7(0x10f)]('.');_0x485402[_0x276adf[_0x2f6bc7(0x14a)](_0x485402[_0x2f6bc7(0x13b)],0x1)]='ts',_0x59449c=_0x485402[_0x2f6bc7(0x140)]('.'),logger[_0x2f6bc7(0x162)](_0x276adf[_0x2f6bc7(0x160)](_0x276adf[_0x2f6bc7(0x147)],_0x59449c));}else _0xd4a498=_0x2f6bc7(0x173);const _0x3ae7c7=path[_0x2f6bc7(0x140)](_0x4c614e[_0x2f6bc7(0x16f)]?path['dirname'](_0x4c614e['path']):process['cwd'](),_0x59449c);let _0x836b99=_0x4c614e[_0x2f6bc7(0x16f)]?_0x4c614e[_0x2f6bc7(0x16f)]:'';_0x836b99=_0x276adf['REOEs'](_0x836b99[_0x2f6bc7(0x13b)],0x0)?path[_0x2f6bc7(0x11d)](_0x836b99):'',process[_0x2f6bc7(0x12a)][_0x2f6bc7(0x1a9)]=_0x836b99;const _0x30554c=helper[_0x2f6bc7(0x146)](_0x547233['config']);_0x30554c&&(_0xd4a498=_0x276adf[_0x2f6bc7(0x1a7)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x30554c+_0x2f6bc7(0x1a8),_0xd4a498));helper[_0x2f6bc7(0x135)]({},_0x472f76),fs[_0x2f6bc7(0x12d)](_0x3ae7c7,_0xd4a498),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x55eb51=_0x276adf['sVUui'](spawn,_0x276adf[_0x2f6bc7(0x13a)],[_0x276adf[_0x2f6bc7(0x112)],_0x276adf[_0x2f6bc7(0x18d)],_0x276adf[_0x2f6bc7(0x186)],_0x3ae7c7,..._0x472f76[_0x2f6bc7(0x137)](0x2)],{'shell':_0x276adf[_0x2f6bc7(0x132)](process[_0x2f6bc7(0x1af)],_0x276adf[_0x2f6bc7(0x1be)]),'stdio':_0x276adf[_0x2f6bc7(0x10e)],'cwd':process[_0x2f6bc7(0x1bb)](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2f6bc7(0x111)](_0x4f69d3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x547233[_0x2f6bc7(0x17e)][_0x2f6bc7(0x1ad)][_0x2f6bc7(0x184)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x547233['config'][_0x2f6bc7(0x1ad)][_0x2f6bc7(0x13c)],'BROWSERSTACK_LOG_LEVEL':_0x547233[_0x2f6bc7(0x17e)][_0x2f6bc7(0x131)]})}),_0x240637=()=>{const _0x50b161=_0x2f6bc7;try{const _0x1be608=path[_0x50b161(0x140)](helper['homedir'](),_0x64df11['UZAto'],_0x64df11[_0x50b161(0x166)]);if(fs['existsSync'](_0x1be608)){let _0x18ee41=fs[_0x50b161(0x15e)](_0x1be608);_0x18ee41=JSON['parse'](_0x18ee41),_0x547233[_0x50b161(0x1b0)]=_0x18ee41,fs['unlinkSync'](_0x1be608);}}catch(_0xe10fd5){logger['debug'](_0x64df11[_0x50b161(0x118)](_0x64df11[_0x50b161(0x169)],_0xe10fd5));}};_0x55eb51['on'](_0x276adf[_0x2f6bc7(0x178)],async _0x2dddb5=>{const _0x5c3535=_0x2f6bc7;try{PerformanceTester[_0x5c3535(0x123)](PerformanceEvents['SDK_CLEANUP']),_0x64df11[_0x5c3535(0x1b5)](_0x240637),await TestHubHandler['stop'](),TestDetails[_0x5c3535(0x13f)](),_0x64df11[_0x5c3535(0x15b)](printBuildLink),await utilities['finalExecution'](_0x547233),process[_0x5c3535(0x138)]=_0x2dddb5,logger[_0x5c3535(0x162)](_0x5c3535(0x161)+_0x2dddb5),logger['info']('Deleting\x20'+_0x3ae7c7),fs[_0x5c3535(0x125)](_0x3ae7c7);fs[_0x5c3535(0x119)](_0x3abe82)&&(logger['debug'](_0x5c3535(0x11b)+_0x3abe82),fs[_0x5c3535(0x125)](_0x3abe82));const _0xc57fbd=fs[_0x5c3535(0x126)](path[_0x5c3535(0x140)](helper['homedir'](),_0x64df11[_0x5c3535(0x18f)]))['filter'](_0x15da7f=>_0x15da7f[_0x5c3535(0x124)](_0x5c3535(0x194)));_0xc57fbd['forEach'](_0x4fcff3=>{const _0x1dea14=_0x5c3535;fs[_0x1dea14(0x125)](path[_0x1dea14(0x140)](helper['homedir'](),_0x64df11[_0x1dea14(0x18f)],_0x4fcff3));});}catch(_0x20e7d6){logger[_0x5c3535(0x162)](_0x64df11[_0x5c3535(0x141)](_0x64df11[_0x5c3535(0x174)],_0x20e7d6));}});})();}module[a35_0x5dfc7c(0x19d)]=run;
2
+ 'use strict';const a35_0x515ffd=a35_0x85a2;function a35_0x85a2(_0x387488,_0x7de620){const _0x4e707f=a35_0x4e70();return a35_0x85a2=function(_0x85a203,_0x490872){_0x85a203=_0x85a203-0x1eb;let _0x3f0ec9=_0x4e707f[_0x85a203];return _0x3f0ec9;},a35_0x85a2(_0x387488,_0x7de620);}(function(_0x57799b,_0x29c109){const _0x2977fe=a35_0x85a2,_0x26edfc=_0x57799b();while(!![]){try{const _0x47cd65=parseInt(_0x2977fe(0x268))/0x1+-parseInt(_0x2977fe(0x245))/0x2+parseInt(_0x2977fe(0x21f))/0x3*(parseInt(_0x2977fe(0x231))/0x4)+parseInt(_0x2977fe(0x1f6))/0x5*(-parseInt(_0x2977fe(0x222))/0x6)+-parseInt(_0x2977fe(0x23c))/0x7+-parseInt(_0x2977fe(0x27e))/0x8+parseInt(_0x2977fe(0x276))/0x9;if(_0x47cd65===_0x29c109)break;else _0x26edfc['push'](_0x26edfc['shift']());}catch(_0x27e95a){_0x26edfc['push'](_0x26edfc['shift']());}}}(a35_0x4e70,0xe7d3f));const fs=require('fs'),path=require(a35_0x515ffd(0x292)),{spawn}=require(a35_0x515ffd(0x284)),{format}=require(a35_0x515ffd(0x258)),logger=require(a35_0x515ffd(0x22e))[a35_0x515ffd(0x24c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x515ffd(0x23d)),utilities=require(a35_0x515ffd(0x23b)),constants=require(a35_0x515ffd(0x24d)),{FRAMEWORKS}=require(a35_0x515ffd(0x281)),{getConfigLoaderPath}=require(a35_0x515ffd(0x240)),{checkAccessibilityPlatformConfig}=require(a35_0x515ffd(0x28b)),{setAccessibilityCapabilities}=require(a35_0x515ffd(0x228)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a35_0x515ffd(0x1f0)),TestHubHandler=require(a35_0x515ffd(0x205)),PerformanceTester=require(a35_0x515ffd(0x218)),PerformanceEvents=require(a35_0x515ffd(0x28d))[a35_0x515ffd(0x288)],getUserPlaywrightConfig=async(_0x49c0a3,_0x13b342)=>{const _0x47d28f=a35_0x515ffd,_0x53709a={'gosEG':function(_0x5c936b){return _0x5c936b();},'kVfhO':function(_0x413553,_0x141477){return _0x413553(_0x141477);},'eVMyZ':_0x47d28f(0x277),'ydUJO':'--config='},_0x61aeef=!helper[_0x47d28f(0x1fe)](_0x49c0a3[_0x47d28f(0x232)]),_0x3aec56=_0x61aeef?path[_0x47d28f(0x293)](process[_0x47d28f(0x280)](),_0x49c0a3[_0x47d28f(0x232)]):process[_0x47d28f(0x280)](),{resolveConfigFile:_0x326153,resolveConfigLocation:_0x324f73}=helper[_0x47d28f(0x20b)]['apply'](null,_0x53709a[_0x47d28f(0x1f2)](getConfigLoaderPath)),_0x493af0=_0x326153?_0x53709a['kVfhO'](_0x326153,_0x3aec56):helper[_0x47d28f(0x28a)](_0x53709a[_0x47d28f(0x23f)](_0x324f73,_0x3aec56),[_0x53709a[_0x47d28f(0x290)]]),_0x6fcc5c={};if(_0x61aeef){const _0x5249ff=_0x13b342['findIndex'](_0x5488dc=>_0x5488dc===_0x47d28f(0x27a)||_0x5488dc==='-c'||_0x5488dc[_0x47d28f(0x243)](_0x47d28f(0x204)));_0x13b342['splice'](_0x5249ff,_0x13b342[_0x5249ff][_0x47d28f(0x243)](_0x53709a[_0x47d28f(0x1f8)])?0x1:0x2);}const _0x1c0e02={};return _0x1c0e02[_0x47d28f(0x292)]=_0x493af0,_0x1c0e02[_0x47d28f(0x232)]=_0x6fcc5c,_0x1c0e02;},handleO11yRerun=_0x5cc0b4=>{const _0x383d0f=a35_0x515ffd,_0xcdc7b0={};_0xcdc7b0[_0x383d0f(0x27b)]='--grep';const _0x5be8cd=_0xcdc7b0,_0x19b6a3=helper[_0x383d0f(0x266)](process[_0x383d0f(0x295)][_0x383d0f(0x239)]);if(_0x19b6a3){const _0x51b645=process[_0x383d0f(0x295)][_0x383d0f(0x221)],_0x40e223=[];if(helper[_0x383d0f(0x255)](_0x51b645)&&!helper[_0x383d0f(0x1fe)](_0x51b645)){_0x51b645[_0x383d0f(0x209)](',')['map'](_0x267b79=>{const _0x238833=_0x383d0f;_0x40e223['push']('('+_0x267b79[_0x238833(0x24b)]()+')');});const _0x1087fd='^'+_0x40e223[_0x383d0f(0x1f5)]('|')+'$';_0x5cc0b4[_0x383d0f(0x252)](_0x5be8cd[_0x383d0f(0x27b)],_0x1087fd);}}},spawnOriginalProcess=_0x449e8c=>{const _0x55f9db=a35_0x515ffd,_0x1ae834={'ZldVP':function(_0x1958da,_0x2a5dfd,_0x240034,_0x5730cf){return _0x1958da(_0x2a5dfd,_0x240034,_0x5730cf);},'oyNyF':'npx','YSixO':_0x55f9db(0x202),'pImSG':function(_0x625f9e,_0xf449ae){return _0x625f9e===_0xf449ae;},'MkjvV':'win32','nhWSX':_0x55f9db(0x233)};_0x1ae834['ZldVP'](spawn,_0x1ae834['oyNyF'],[_0x1ae834[_0x55f9db(0x253)],..._0x449e8c['slice'](0x1)],{'shell':_0x1ae834['pImSG'](process[_0x55f9db(0x242)],_0x1ae834[_0x55f9db(0x200)]),'stdio':_0x1ae834[_0x55f9db(0x21e)],'cwd':process[_0x55f9db(0x280)]()});},isTestCommand=(_0x5f2da1,_0x46e084)=>{const _0xee809e=a35_0x515ffd,_0x3de96a={};_0x3de96a['LErvP']=function(_0x34d65a,_0x362077){return _0x34d65a>_0x362077;},_0x3de96a[_0xee809e(0x203)]=function(_0x16f62d,_0xf034e7){return _0x16f62d===_0xf034e7;},_0x3de96a[_0xee809e(0x296)]=_0xee809e(0x1f3);const _0x526725=_0x3de96a;if(_0x526725[_0xee809e(0x286)](_0x46e084['length'],0x1)&&_0x526725[_0xee809e(0x203)](_0x46e084[0x1],_0x526725[_0xee809e(0x296)]))return!![];return![];};async function run(_0x120c77,_0x1e4cd3){const _0x334a05=a35_0x515ffd,_0x7d2bf3={'JaLDq':function(_0x440aac,_0x10bbe0){return _0x440aac(_0x10bbe0);},'CdwIf':_0x334a05(0x225),'IMsiB':_0x334a05(0x234),'xvIem':function(_0x550120,_0x590786){return _0x550120+_0x590786;},'imYsy':'Error\x20in\x20getting\x20funnel\x20data\x20results','rrVdC':function(_0xfb1432){return _0xfb1432();},'fJjbQ':function(_0x409711,_0x3122d1){return _0x409711+_0x3122d1;},'fTjPs':_0x334a05(0x287),'geurY':_0x334a05(0x219),'rTFlp':_0x334a05(0x20c),'KAwdv':function(_0x33c49f,_0x33b8cb){return _0x33c49f!=_0x33b8cb;},'klKmR':function(_0x2924c0,_0x1631f2,_0xa210f2){return _0x2924c0(_0x1631f2,_0xa210f2);},'qhxeM':function(_0x3e0a27,_0x7ec915){return _0x3e0a27(_0x7ec915);},'zcDKv':function(_0x5541ca,_0xcdf8c4){return _0x5541ca===_0xcdf8c4;},'Ncmen':_0x334a05(0x28e),'nykwh':function(_0xcc5ee1,_0x33b5c6){return _0xcc5ee1(_0x33b5c6);},'RrwTe':_0x334a05(0x224),'OQgBW':_0x334a05(0x1f9),'DBObO':'playwright-browserstack-sdk.config.js','UgWlF':function(_0x261ce0,_0x3ff91a){return _0x261ce0-_0x3ff91a;},'Dmydx':function(_0x1ac159,_0x3d5a5d){return _0x1ac159+_0x3d5a5d;},'HJbRP':'Updated\x20config\x20file\x20name\x20to\x20-\x20','PMunc':function(_0x3a2f3f,_0x2c3758){return _0x3a2f3f>_0x2c3758;},'SPJwH':function(_0x325fc9,_0x1e0026,_0x492081,_0x17f58a){return _0x325fc9(_0x1e0026,_0x492081,_0x17f58a);},'nqrez':_0x334a05(0x24e),'APSrA':'playwright','CrwEU':'test','MNZRs':_0x334a05(0x27a),'YdNsl':function(_0x7cd4b7,_0x27b1fd){return _0x7cd4b7===_0x27b1fd;},'lqlyJ':_0x334a05(0x1ff),'nygJz':_0x334a05(0x233),'DmqYM':_0x334a05(0x26c),'kmYQO':'--disable-browserstack-automation','RgEPp':_0x334a05(0x27f),'OSoPJ':_0x334a05(0x210),'PLChe':function(_0x5d8f76,_0x50ae70){return _0x5d8f76>=_0x50ae70;},'oFyrz':'Error\x20in\x20deleting\x20playwright\x20results','ylfCe':function(_0x1e71b0,_0x58ab73){return _0x1e71b0(_0x58ab73);}};!helper[_0x334a05(0x26d)](process[_0x334a05(0x295)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x334a05(0x295)][_0x334a05(0x1ec)]=!![]);process[_0x334a05(0x1fd)][_0x334a05(0x223)](_0x7d2bf3[_0x334a05(0x265)])&&(process[_0x334a05(0x295)][_0x334a05(0x1ec)]=_0x7d2bf3[_0x334a05(0x273)],_0x1e4cd3=_0x1e4cd3[_0x334a05(0x26e)](_0x31ba67=>_0x31ba67!=='--disable-browserstack-automation'));const _0x46f82d=_0x1e4cd3['indexOf'](_0x7d2bf3['OSoPJ']);_0x7d2bf3[_0x334a05(0x259)](_0x46f82d,0x0)&&(process[_0x334a05(0x295)][_0x334a05(0x294)]=_0x7d2bf3[_0x334a05(0x273)],_0x1e4cd3=_0x1e4cd3['filter'](_0x12e67a=>_0x12e67a!=='--disable-test-observability'));try{const _0x3612a3=path[_0x334a05(0x1f5)](helper[_0x334a05(0x20d)](),_0x7d2bf3[_0x334a05(0x27d)],_0x7d2bf3[_0x334a05(0x1f1)]);fs['existsSync'](_0x3612a3)&&fs[_0x334a05(0x272)](_0x3612a3);}catch(_0x556c6c){logger[_0x334a05(0x247)](_0x7d2bf3['fJjbQ'](_0x7d2bf3[_0x334a05(0x20e)],_0x556c6c));}if(!_0x7d2bf3['klKmR'](isTestCommand,_0x120c77,_0x1e4cd3)){_0x7d2bf3[_0x334a05(0x22b)](spawnOriginalProcess,_0x1e4cd3);return;}const _0x1576b7=new BrowserStackSetup(_0x120c77,FRAMEWORKS['PLAYWRIGHT']);await PerformanceTester[_0x334a05(0x238)](PerformanceEvents[_0x334a05(0x248)],async()=>{const _0x33a670=_0x334a05,_0x1d208c={'ThtRI':function(_0x4afaa3,_0x20ff3e){const _0x348eda=a35_0x85a2;return _0x7d2bf3[_0x348eda(0x226)](_0x4afaa3,_0x20ff3e);},'NWqOo':_0x7d2bf3['CdwIf'],'drRfi':_0x7d2bf3['IMsiB'],'exium':function(_0xf16dee,_0x310c56){const _0x23cb5a=a35_0x85a2;return _0x7d2bf3[_0x23cb5a(0x289)](_0xf16dee,_0x310c56);},'csbDM':_0x7d2bf3[_0x33a670(0x261)],'DzTqh':function(_0x2482a8){const _0x44102c=_0x33a670;return _0x7d2bf3[_0x44102c(0x241)](_0x2482a8);},'RaKzg':function(_0x367665){const _0x52f845=_0x33a670;return _0x7d2bf3[_0x52f845(0x241)](_0x367665);},'lcEXP':function(_0x317d6d,_0x3cf8a4){const _0x124732=_0x33a670;return _0x7d2bf3[_0x124732(0x21a)](_0x317d6d,_0x3cf8a4);},'QYlLN':_0x7d2bf3[_0x33a670(0x271)]};if(!_0x1576b7[_0x33a670(0x232)]){logger[_0x33a670(0x285)](_0x7d2bf3[_0x33a670(0x257)]);return;}await _0x1576b7[_0x33a670(0x25e)]();!helper[_0x33a670(0x1fe)](_0x1576b7[_0x33a670(0x227)])&&_0x1576b7[_0x33a670(0x227)][_0x33a670(0x25a)](_0x7d2bf3[_0x33a670(0x211)])&&(process[_0x33a670(0x295)][_0x33a670(0x1ec)]=_0x1576b7[_0x33a670(0x227)][_0x33a670(0x1eb)](_0x7d2bf3['rTFlp'])||!![]);_0x7d2bf3[_0x33a670(0x1fc)](_0x1576b7[_0x33a670(0x232)][_0x33a670(0x21b)],null)&&!helper['isTrue'](process[_0x33a670(0x295)][_0x33a670(0x294)])&&(process[_0x33a670(0x295)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x33a670(0x295)][_0x33a670(0x294)]||_0x1576b7['config'][_0x33a670(0x21b)]);const _0x3deea2=!helper[_0x33a670(0x26d)](process[_0x33a670(0x295)][_0x33a670(0x294)]);let _0x3204c3=![];_0x1576b7[_0x33a670(0x232)]['accessibility']&&(_0x3204c3=!![],process['env'][_0x33a670(0x215)]=_0x1576b7[_0x33a670(0x232)]['accessibility']);_0x1576b7[_0x33a670(0x232)]['accessibilityOptions']&&(process['env'][_0x33a670(0x28c)]=JSON[_0x33a670(0x1ed)](_0x1576b7[_0x33a670(0x232)]['accessibilityOptions']));const _0x4ce69b=_0x1e4cd3['concat'](),_0x3cf982=await _0x7d2bf3[_0x33a670(0x230)](getUserPlaywrightConfig,_0x120c77,_0x1e4cd3);if(helper[_0x33a670(0x1fe)](_0x3cf982)){_0x7d2bf3[_0x33a670(0x269)](spawnOriginalProcess,_0x4ce69b);return;}const _0xa82440=_0x3cf982[_0x33a670(0x292)]?path[_0x33a670(0x274)](_0x3cf982[_0x33a670(0x292)]):process[_0x33a670(0x280)]();process['env'][_0x33a670(0x22c)]=_0xa82440,await PerformanceTester[_0x33a670(0x238)](PerformanceEvents[_0x33a670(0x260)],async()=>{const _0xec3ad6=_0x33a670;await TestHubHandler[_0xec3ad6(0x206)](FRAMEWORKS[_0xec3ad6(0x283)],_0x1576b7),_0x3deea2&&_0x1d208c['ThtRI'](handleO11yRerun,_0x1e4cd3);})();let _0x3f5daf=_0x7d2bf3[_0x33a670(0x254)](process[_0x33a670(0x295)][_0x33a670(0x215)],_0x7d2bf3['Ncmen']);_0x3f5daf=_0x3f5daf||_0x7d2bf3[_0x33a670(0x282)](checkAccessibilityPlatformConfig,_0x1576b7['config']),process[_0x33a670(0x295)][_0x33a670(0x215)]=_0x3f5daf;_0x3f5daf&&_0x7d2bf3[_0x33a670(0x282)](setAccessibilityCapabilities,_0x1576b7[_0x33a670(0x232)]);const _0x1d7e70=path[_0x33a670(0x1f5)](_0x3cf982[_0x33a670(0x292)]?path[_0x33a670(0x274)](_0x3cf982['path']):process[_0x33a670(0x280)](),_0x7d2bf3[_0x33a670(0x249)]);fs['writeFileSync'](_0x1d7e70,helper[_0x33a670(0x21d)](_0x1576b7[_0x33a670(0x232)])),process[_0x33a670(0x295)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x1d7e70,helper[_0x33a670(0x24a)]();let _0x8aee2e='';_0x7d2bf3[_0x33a670(0x254)](helper[_0x33a670(0x24f)](),constants[_0x33a670(0x26b)][_0x33a670(0x275)])?_0x8aee2e=_0x7d2bf3['OQgBW']:_0x8aee2e=_0x7d2bf3[_0x33a670(0x21c)];let _0xb7dac3='';if(helper[_0x33a670(0x270)](_0x3cf982[_0x33a670(0x292)])){_0xb7dac3=_0x33a670(0x244);const _0xab4d93=_0x8aee2e[_0x33a670(0x209)]('.');_0xab4d93[_0x7d2bf3['UgWlF'](_0xab4d93[_0x33a670(0x26a)],0x1)]='ts',_0x8aee2e=_0xab4d93[_0x33a670(0x1f5)]('.'),logger['debug'](_0x7d2bf3[_0x33a670(0x207)](_0x7d2bf3[_0x33a670(0x20a)],_0x8aee2e));}else _0xb7dac3=_0x33a670(0x213);const _0x2b4d84=path['join'](_0x3cf982[_0x33a670(0x292)]?path[_0x33a670(0x274)](_0x3cf982['path']):process['cwd'](),_0x8aee2e);let _0xdc7420=_0x3cf982[_0x33a670(0x292)]?_0x3cf982[_0x33a670(0x292)]:'';_0xdc7420=_0x7d2bf3[_0x33a670(0x263)](_0xdc7420[_0x33a670(0x26a)],0x0)?path[_0x33a670(0x293)](_0xdc7420):'',process[_0x33a670(0x295)][_0x33a670(0x25b)]=_0xdc7420;const _0x272ebd=helper[_0x33a670(0x1fb)](_0x1576b7[_0x33a670(0x232)]);_0x272ebd&&(_0xb7dac3=_0x7d2bf3[_0x33a670(0x21a)](_0x33a670(0x22a)+_0x272ebd+_0x33a670(0x278),_0xb7dac3));helper[_0x33a670(0x1ef)]({},_0x1e4cd3),fs[_0x33a670(0x20f)](_0x2b4d84,_0xb7dac3),PerformanceTester[_0x33a670(0x291)](PerformanceEvents[_0x33a670(0x246)]);const _0x2d9238=_0x7d2bf3[_0x33a670(0x208)](spawn,_0x7d2bf3[_0x33a670(0x220)],[_0x7d2bf3[_0x33a670(0x201)],_0x7d2bf3[_0x33a670(0x214)],_0x7d2bf3[_0x33a670(0x22d)],_0x2b4d84,..._0x1e4cd3[_0x33a670(0x237)](0x2)],{'shell':_0x7d2bf3[_0x33a670(0x262)](process[_0x33a670(0x242)],_0x7d2bf3['lqlyJ']),'stdio':_0x7d2bf3['nygJz'],'cwd':process[_0x33a670(0x280)](),'env':Object[_0x33a670(0x229)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x33a670(0x1f4)](_0x120c77),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1576b7[_0x33a670(0x232)][_0x33a670(0x28f)][_0x33a670(0x212)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1576b7[_0x33a670(0x232)][_0x33a670(0x28f)][_0x33a670(0x235)],'BROWSERSTACK_LOG_LEVEL':_0x1576b7['config'][_0x33a670(0x251)]})}),_0x1ddb27=()=>{const _0x155c4f=_0x33a670;try{const _0x13478c=path[_0x155c4f(0x1f5)](helper[_0x155c4f(0x20d)](),_0x1d208c[_0x155c4f(0x256)],_0x1d208c[_0x155c4f(0x279)]);if(fs[_0x155c4f(0x22f)](_0x13478c)){let _0x4006be=fs[_0x155c4f(0x267)](_0x13478c);_0x4006be=JSON[_0x155c4f(0x236)](_0x4006be),_0x1576b7[_0x155c4f(0x25d)]=_0x4006be,fs['unlinkSync'](_0x13478c);}}catch(_0x585c1d){logger[_0x155c4f(0x247)](_0x1d208c['exium'](_0x1d208c[_0x155c4f(0x1fa)],_0x585c1d));}};_0x2d9238['on'](_0x7d2bf3[_0x33a670(0x25f)],async _0x80aaf4=>{const _0x16eb41=_0x33a670,_0x5db8f8={};_0x5db8f8[_0x16eb41(0x25c)]=_0x1d208c[_0x16eb41(0x256)];const _0x2852fb=_0x5db8f8;try{PerformanceTester[_0x16eb41(0x23e)](PerformanceEvents['SDK_CLEANUP']),_0x1d208c['DzTqh'](_0x1ddb27),await TestHubHandler[_0x16eb41(0x1f7)](),TestDetails[_0x16eb41(0x217)](),_0x1d208c[_0x16eb41(0x264)](printBuildLink),await utilities[_0x16eb41(0x1ee)](_0x1576b7),process['exitCode']=_0x80aaf4,logger[_0x16eb41(0x247)](_0x16eb41(0x23a)+_0x80aaf4),logger[_0x16eb41(0x216)](_0x16eb41(0x27c)+_0x2b4d84),fs['unlinkSync'](_0x2b4d84);fs[_0x16eb41(0x22f)](_0x1d7e70)&&(logger[_0x16eb41(0x247)](_0x16eb41(0x27c)+_0x1d7e70),fs[_0x16eb41(0x272)](_0x1d7e70));const _0x25e2e5=fs[_0x16eb41(0x26f)](path[_0x16eb41(0x1f5)](helper['homedir'](),_0x1d208c[_0x16eb41(0x256)]))['filter'](_0xaff863=>_0xaff863['startsWith']('trace_'));_0x25e2e5[_0x16eb41(0x250)](_0x15792e=>{const _0x53b727=_0x16eb41;fs[_0x53b727(0x272)](path[_0x53b727(0x1f5)](helper[_0x53b727(0x20d)](),_0x2852fb[_0x53b727(0x25c)],_0x15792e));});}catch(_0x2e5630){logger[_0x16eb41(0x247)](_0x1d208c['lcEXP'](_0x1d208c['QYlLN'],_0x2e5630));}});})();}module['exports']=run;function a35_0x4e70(){const _0x20861a=['pw_result.json','skipSessionName','parse','slice','measureWrapper','BROWSERSTACK_RERUN','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/utilities','1115996JZzXYN','../../helpers/helper','start','kVfhO','./reporter/pwUtils','rrVdC','platform','startsWith','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','1183162HBqQrh','SDK_SETUP','debug','SDK_PRE_INITIALIZE','RrwTe','clearTempPWConfig','trim','winstonLogger','../utils/constants','npx','getPackageType','forEach','logLevel','push','YSixO','zcDKv','validateRerunTestList','NWqOo','geurY','util','PLChe','has','USER_CONFIG_DETAILS_PATH','hiRSJ','errorMessage','initialize','DmqYM','SDK_POST_INITIALIZE','imYsy','YdNsl','PMunc','RaKzg','kmYQO','isTrue','readFileSync','624384kjhtyK','qhxeM','length','PACKAGE_TYPE','close','isFalse','filter','readdirSync','isTypescriptProject','fTjPs','unlinkSync','RgEPp','dirname','MODULE','15856776YGgetJ','resolvedConfigFile','\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();','drRfi','--config','gBsyn','Deleting\x20','CdwIf','5350760HTFtnD','false','cwd','../../helpers/test-observability/constants','nykwh','PLAYWRIGHT','child_process','error','LErvP','Error\x20in\x20closing\x20playwright','EVENTS','xvIem','nestedKeyValue','../../helpers/accessibility-automation/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/performance/constants','true','testContextOptions','eVMyZ','end','path','resolve','BROWSERSTACK_TEST_OBSERVABILITY','env','BGwwo','get','BROWSERSTACK_AUTOMATION','stringify','finalExecution','filterBrowserstackArgs','./reporter/test-details','IMsiB','gosEG','test','getConfigPath','join','445bHMIgf','stop','ydUJO','playwright-browserstack-sdk.config.cjs','csbDM','getProxyUrl','KAwdv','argv','isUndefined','win32','MkjvV','APSrA','playwright','raGSe','--config=','../../helpers/testhub/testhubHandler','launchBuild','Dmydx','SPJwH','split','HJbRP','requirePWModule','automation','homedir','oFyrz','writeFileSync','--disable-test-observability','rTFlp','skipSessionStatus','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','CrwEU','BROWSERSTACK_TEST_ACCESSIBILITY_YML','info','shutdown','../../helpers/performance/performance-tester','BrowserStack\x20config\x20file\x20not\x20found.','fJjbQ','testObservability','DBObO','serializeToYamlString','nhWSX','3QLbMTh','nqrez','BROWSERSTACK_RERUN_TESTS','24216dREgtC','includes','browserstackSetupConfig.json','.browserstack','JaLDq','cliConfig','./accessibility-helper','assign','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','ylfCe','BROWSERSTACK_PW_CONFIG_DIR','MNZRs','../../helpers/logger','existsSync','klKmR','1369508vegiKL','config','inherit'];a35_0x4e70=function(){return _0x20861a;};return a35_0x4e70();}
@@ -1 +1 @@
1
- const a36_0x3bfd11=a36_0x42a3;(function(_0x324c99,_0x5732cb){const _0x1a74b1=a36_0x42a3,_0x4c7188=_0x324c99();while(!![]){try{const _0x555187=-parseInt(_0x1a74b1(0x7e))/0x1+-parseInt(_0x1a74b1(0x88))/0x2+parseInt(_0x1a74b1(0xa2))/0x3+parseInt(_0x1a74b1(0x99))/0x4*(parseInt(_0x1a74b1(0x95))/0x5)+parseInt(_0x1a74b1(0x91))/0x6+parseInt(_0x1a74b1(0x84))/0x7+parseInt(_0x1a74b1(0x94))/0x8*(-parseInt(_0x1a74b1(0x87))/0x9);if(_0x555187===_0x5732cb)break;else _0x4c7188['push'](_0x4c7188['shift']());}catch(_0x455758){_0x4c7188['push'](_0x4c7188['shift']());}}}(a36_0x4b69,0x79968));const util=require(a36_0x3bfd11(0x9b)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a36_0x3bfd11(0x80)),helper=require(a36_0x3bfd11(0x7a)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x3bfd11(0x8f)),logger=require(a36_0x3bfd11(0x9d))[a36_0x3bfd11(0x81)];function a36_0x42a3(_0x46ce51,_0x1c037d){const _0x4b699e=a36_0x4b69();return a36_0x42a3=function(_0x42a361,_0x284a72){_0x42a361=_0x42a361-0x74;let _0xde494b=_0x4b699e[_0x42a361];return _0xde494b;},a36_0x42a3(_0x46ce51,_0x1c037d);}module['exports']=async function(_0x13f812){const _0xc7f6a3=a36_0x3bfd11,_0x122029={'cSfJB':function(_0x5db4d4,_0x552b2f){return _0x5db4d4(_0x552b2f);},'iJwDG':function(_0x3d5aef){return _0x3d5aef();},'qIsAm':_0xc7f6a3(0x8d),'IBglY':function(_0x3635a3,_0x5fb6e3){return _0x3635a3(_0x5fb6e3);},'umsJU':_0xc7f6a3(0x79),'GwGSv':function(_0x84de5d){return _0x84de5d();},'THsMe':function(_0x208e54,_0x1ed190){return _0x208e54>=_0x1ed190;},'ohxeZ':_0xc7f6a3(0x9a),'bEptJ':function(_0x1bb92c,_0x3ea85a,_0x196d23){return _0x1bb92c(_0x3ea85a,_0x196d23);},'GnyFa':function(_0x249ea2,_0x25a885){return _0x249ea2!==_0x25a885;},'Zoixa':'function','tCGrA':_0xc7f6a3(0x9e),'bXBDC':function(_0x1ae801,_0x376e6b){return _0x1ae801(_0x376e6b);}},_0x40c812=child_process[_0xc7f6a3(0x83)];if(helper['isHandlePWErrorSet']())try{_0x122029[_0xc7f6a3(0x93)](mockIsWorkerRedundant);}catch(_0x5cafb4){logger[_0xc7f6a3(0x9f)](_0xc7f6a3(0x74)+util[_0xc7f6a3(0x82)](_0x5cafb4));}child_process[_0xc7f6a3(0x83)]=function(){const _0x4f9b1f=_0xc7f6a3;return _0x122029[_0x4f9b1f(0xa0)](debug,_0x4f9b1f(0x7d)+arguments[0x0]),arguments[0x0][_0x4f9b1f(0x77)](_0x122029['iJwDG'](getForkProcessPath))?arguments[0x0]=require[_0x4f9b1f(0x8a)](_0x122029[_0x4f9b1f(0x89)]):logger['error'](_0x4f9b1f(0x98)+_0x122029[_0x4f9b1f(0x93)](getForkProcessPath)+_0x4f9b1f(0xa1)),_0x40c812['apply'](null,arguments);};if(process[_0xc7f6a3(0x78)][_0xc7f6a3(0x97)]){_0x122029['IBglY'](debug,_0x122029[_0xc7f6a3(0x8c)]);try{const {loadGlobalHook:_0x190d56}=helper[_0xc7f6a3(0x7c)][_0xc7f6a3(0x86)](null,_0x122029[_0xc7f6a3(0x7b)](getLoadUtilsPath)),_0x4da790=_0x122029[_0xc7f6a3(0x8b)](getFrameworkVersion,FRAMEWORKS[_0xc7f6a3(0x96)]);let _0x383c6c=_0x13f812;if(_0x122029['THsMe'](helper[_0xc7f6a3(0x7f)](_0x4da790,_0x122029[_0xc7f6a3(0x76)]),0x0)){const _0x47910d={};_0x47910d[_0xc7f6a3(0x92)]=_0x13f812,_0x383c6c=_0x47910d;}const _0x5c88ed=await _0x122029['bEptJ'](_0x190d56,_0x383c6c,process[_0xc7f6a3(0x78)][_0xc7f6a3(0x97)]);if(_0x122029['GnyFa'](typeof _0x5c88ed,_0x122029[_0xc7f6a3(0x90)]))throw new Error(_0x122029[_0xc7f6a3(0x75)]);return _0x5c88ed['apply'](null,arguments);}catch(_0x1b4b71){_0x122029[_0xc7f6a3(0x85)](debug,_0xc7f6a3(0x9c)+_0x1b4b71[_0xc7f6a3(0x8e)]());}}};function a36_0x4b69(){const _0x4da7f5=['util','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/logger','Not\x20able\x20to\x20import\x20globalSetup','debug','cSfJB','\x20is\x20not\x20found','1212474lsNayc','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','tCGrA','ohxeZ','includes','env','Running\x20existing\x20global\x20setup','../../helpers/helper','GwGSv','requirePWModule','Call\x20to\x20child\x20fork\x20with\x20args\x20','711690qeWTIo','compareVersions','../../helpers/test-observability/utils','winstonLogger','format','fork','3401811RMbbmd','bXBDC','apply','9XqWUmo','1944466wdWgXK','qIsAm','resolve','IBglY','umsJU','./mock-process.js','toString','./patches','Zoixa','4421304kAudfQ','config','iJwDG','1262152ADLFvs','17215RDkIoe','PLAYWRIGHT','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Path\x20','828PooQMJ','1.33.0'];a36_0x4b69=function(){return _0x4da7f5;};return a36_0x4b69();}
1
+ function a36_0x4ef3(){const _0x53f828=['poowm','66682GlPiaY','../../helpers/helper','../../helpers/test-observability/utils','format','isHandlePWErrorSet','24YBFjoP','Path\x20','error','XzvkN','PLAYWRIGHT','function','fork','bNoGW','843142wFLVEN','896592UJhsYa','lPwqk','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','./patches','43839LOawio','2448445rAYylf','BsRzo','util','winstonLogger','env','rCZzn','Call\x20to\x20child\x20fork\x20with\x20args\x20','child_process','4jGuOIO','requirePWModule','vvfio','890FGVAuA','../../helpers/test-observability/constants','xcsPp','./reporter/pwUtils','457702wxtuhg','includes','../../helpers/logger','xCZsf','compareVersions','exports','debug','uZvjw','toString','\x20is\x20not\x20found','config','1525698kiDiyZ','apply','mhHvF','FQjdj','1.33.0','vgess'];a36_0x4ef3=function(){return _0x53f828;};return a36_0x4ef3();}const a36_0x10b40f=a36_0x58df;(function(_0x4a9550,_0x3f3f38){const _0x355701=a36_0x58df,_0x1f2ade=_0x4a9550();while(!![]){try{const _0x14409b=-parseInt(_0x355701(0x1e1))/0x1+parseInt(_0x355701(0x200))/0x2+-parseInt(_0x355701(0x1ec))/0x3+-parseInt(_0x355701(0x20f))/0x4*(-parseInt(_0x355701(0x207))/0x5)+-parseInt(_0x355701(0x201))/0x6+-parseInt(_0x355701(0x1f3))/0x7*(-parseInt(_0x355701(0x1f8))/0x8)+-parseInt(_0x355701(0x206))/0x9*(-parseInt(_0x355701(0x212))/0xa);if(_0x14409b===_0x3f3f38)break;else _0x1f2ade['push'](_0x1f2ade['shift']());}catch(_0x1b0f18){_0x1f2ade['push'](_0x1f2ade['shift']());}}}(a36_0x4ef3,0x3ee79));const util=require(a36_0x10b40f(0x209)),child_process=require(a36_0x10b40f(0x20e)),{FRAMEWORKS}=require(a36_0x10b40f(0x213)),{getFrameworkVersion,debug}=require(a36_0x10b40f(0x1f5)),helper=require(a36_0x10b40f(0x1f4)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x10b40f(0x1e0)),{mockIsWorkerRedundant}=require(a36_0x10b40f(0x205)),logger=require(a36_0x10b40f(0x1e3))[a36_0x10b40f(0x20a)];function a36_0x58df(_0x1977e2,_0x568f7a){const _0x4ef3ad=a36_0x4ef3();return a36_0x58df=function(_0x58dfc8,_0x5af184){_0x58dfc8=_0x58dfc8-0x1e0;let _0x199fb7=_0x4ef3ad[_0x58dfc8];return _0x199fb7;},a36_0x58df(_0x1977e2,_0x568f7a);}module[a36_0x10b40f(0x1e6)]=async function(_0x41b9f3){const _0x11be67=a36_0x10b40f,_0x50c04f={'yXQIS':function(_0x1da443,_0x319a80){return _0x1da443(_0x319a80);},'BsRzo':function(_0x392dca){return _0x392dca();},'poowm':'./mock-process.js','lPwqk':function(_0x3f4d9e){return _0x3f4d9e();},'rCZzn':function(_0x58accf){return _0x58accf();},'uZvjw':function(_0x42a6a6,_0x3bdeea){return _0x42a6a6(_0x3bdeea);},'xCZsf':'Running\x20existing\x20global\x20setup','FQjdj':function(_0x18c9ff,_0x5989be){return _0x18c9ff(_0x5989be);},'vgess':function(_0x5f0eb9,_0x10db4b){return _0x5f0eb9>=_0x10db4b;},'bNoGW':_0x11be67(0x1f0),'mWlYY':function(_0x24dbaf,_0x34fed5,_0x2d7519){return _0x24dbaf(_0x34fed5,_0x2d7519);},'mhHvF':function(_0x5f246e,_0x4bdd32){return _0x5f246e!==_0x4bdd32;},'vvfio':_0x11be67(0x1fd),'xcsPp':'Not\x20able\x20to\x20import\x20globalSetup','XzvkN':function(_0x4954fd,_0x27e0a5){return _0x4954fd(_0x27e0a5);}},_0xd30d0c=child_process[_0x11be67(0x1fe)];if(helper[_0x11be67(0x1f7)]())try{_0x50c04f[_0x11be67(0x20c)](mockIsWorkerRedundant);}catch(_0xafd9ae){logger[_0x11be67(0x1e7)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x11be67(0x1f6)](_0xafd9ae));}child_process[_0x11be67(0x1fe)]=function(){const _0x524ce1=_0x11be67;return _0x50c04f['yXQIS'](debug,_0x524ce1(0x20d)+arguments[0x0]),arguments[0x0][_0x524ce1(0x1e2)](_0x50c04f[_0x524ce1(0x208)](getForkProcessPath))?arguments[0x0]=require[_0x524ce1(0x204)](_0x50c04f[_0x524ce1(0x1f2)]):logger[_0x524ce1(0x1fa)](_0x524ce1(0x1f9)+_0x50c04f[_0x524ce1(0x202)](getForkProcessPath)+_0x524ce1(0x1ea)),_0xd30d0c[_0x524ce1(0x1ed)](null,arguments);};if(process['env'][_0x11be67(0x203)]){_0x50c04f[_0x11be67(0x1e8)](debug,_0x50c04f[_0x11be67(0x1e4)]);try{const {loadGlobalHook:_0x1cbfa5}=helper[_0x11be67(0x210)]['apply'](null,_0x50c04f['BsRzo'](getLoadUtilsPath)),_0x2e818a=_0x50c04f[_0x11be67(0x1ef)](getFrameworkVersion,FRAMEWORKS[_0x11be67(0x1fc)]);let _0x4f9864=_0x41b9f3;if(_0x50c04f[_0x11be67(0x1f1)](helper[_0x11be67(0x1e5)](_0x2e818a,_0x50c04f[_0x11be67(0x1ff)]),0x0)){const _0x247b06={};_0x247b06[_0x11be67(0x1eb)]=_0x41b9f3,_0x4f9864=_0x247b06;}const _0x5c0348=await _0x50c04f['mWlYY'](_0x1cbfa5,_0x4f9864,process[_0x11be67(0x20b)][_0x11be67(0x203)]);if(_0x50c04f[_0x11be67(0x1ee)](typeof _0x5c0348,_0x50c04f[_0x11be67(0x211)]))throw new Error(_0x50c04f[_0x11be67(0x214)]);return _0x5c0348[_0x11be67(0x1ed)](null,arguments);}catch(_0x328760){_0x50c04f[_0x11be67(0x1fb)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x328760[_0x11be67(0x1e9)]());}}};