browserstack-node-sdk 1.34.14 → 1.34.15

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 (127) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -0
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x5c6bb4=a29_0x5c6a;function a29_0x5820(){const _0x18bbcd=['getHttpAgent','https://','MNJiR','sTIPQ','jiaYr','quitCount_','forEach','capability','20YrApXS','/session','../../../helpers/globals','setCapabilities','mergeDeep','push','debug','info','49ScRutk','HttpClient','isAccessibilityPlatform','getHubUrl','kLAOy','overrideGet','firefoxOptions','requireHttpClient','path','getRequestOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','gwfrp','optimalHubUrl','JVtyx','11308450EDjKDs','Modifying\x20webdriver\x20builder','jWxZO','AOFrS','ieOptions_','goog:chromeOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','/wd/hub','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','zSAMW','global','../../../helpers/accessibility-automation/helper','1513788SWeECO','1325oLhQsX','Jzdmz','Builder','1|4|0|2|3|5','pankM','uKPYL','browserStackLogLevel','split','exports','getAccessibilityResultsSummary','isPacProxy','updateHubUrl','Bxpog','winstonLogger','__driversArray','CAPABILITY_KEY','../../../helpers/logger','../../../bin/utils/constants','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','1278056LUwYzT','setServer','isBrowserstackInfra','safariOptions_','caps_','1|0|5|4|2|3','mlyww','vbMoM','isUndefined','1097307xVmdhW','getGlobal','proxyUrl','9426LojPhB','ms:edgeOptions','agent_','keys','DZmIm','send','newHubUrl','options_','then','object','KVvXV','omdcw','moz:firefoxOptions','ygooR','session_','build','Hub\x20url\x20set\x20to\x20','firefoxOptions_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','qdwES','wQjhD','error','137128gFcsGe','49807hUlWaJ','getAccessibilityResults','edgeOptions_','Proxy\x20set\x20to\x20','proxy_','wzocs','../accessibility-automation/helper','HfzKt','get','set','setLogLevel','capabilities_','NswTh','Setting\x20Browserstack\x20capabilities','overrideExecute','chromeOptions_','chromeOptions','__drivers','__setBrowserOptions','Bzovq','url_','storeOptimalHubUrl','XuFuu','originalBuilder','proxySettings','diZwb'];a29_0x5820=function(){return _0x18bbcd;};return a29_0x5820();}(function(_0x3d0be7,_0x377010){const _0x50e209=a29_0x5c6a,_0x21b411=_0x3d0be7();while(!![]){try{const _0x31b355=-parseInt(_0x50e209(0xef))/0x1*(parseInt(_0x50e209(0x111))/0x2)+-parseInt(_0x50e209(0x133))/0x3+parseInt(_0x50e209(0x147))/0x4+parseInt(_0x50e209(0x134))/0x5*(-parseInt(_0x50e209(0x153))/0x6)+parseInt(_0x50e209(0x119))/0x7*(parseInt(_0x50e209(0xee))/0x8)+parseInt(_0x50e209(0x150))/0x9+parseInt(_0x50e209(0x127))/0xa;if(_0x31b355===_0x377010)break;else _0x21b411['push'](_0x21b411['shift']());}catch(_0x29ddc2){_0x21b411['push'](_0x21b411['shift']());}}}(a29_0x5820,0x42b88));function a29_0x5c6a(_0x1ebf7d,_0x3320a0){const _0x5820c7=a29_0x5820();return a29_0x5c6a=function(_0x5c6a04,_0x53f7c6){_0x5c6a04=_0x5c6a04-0xe0;let _0x42c728=_0x5820c7[_0x5c6a04];return _0x42c728;},a29_0x5c6a(_0x1ebf7d,_0x3320a0);}const logger=require(a29_0x5c6bb4(0x144))[a29_0x5c6bb4(0x141)],helper=require('../../../helpers/helper'),constants=require(a29_0x5c6bb4(0x145)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x5c6bb4(0xf5)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x5c6bb4(0x132)),globals=require(a29_0x5c6bb4(0x113)),modify=(_0x4959fc,_0x417d28=null,_0x168a34=![])=>{const _0x5d5ecd=a29_0x5c6bb4,_0x1406be={'diZwb':function(_0x1d271d,_0x395868){return _0x1d271d!==_0x395868;},'vbMoM':_0x5d5ecd(0x112),'KVvXV':function(_0x1e1704,_0x386593){return _0x1e1704+_0x386593;},'jWxZO':function(_0x13746c,_0x3b9aa3){return _0x13746c+_0x3b9aa3;},'zSAMW':_0x5d5ecd(0x10a),'gwfrp':_0x5d5ecd(0x12e),'wzocs':_0x5d5ecd(0x12c),'wDoVA':_0x5d5ecd(0xff),'LxvXU':_0x5d5ecd(0x154),'AOFrS':'edgeOptions','DZmIm':_0x5d5ecd(0xe4),'MNJiR':_0x5d5ecd(0x11f),'Bxpog':'safari.options','uKPYL':'se:ieOptions','XpIbU':'ieOptions','ygooR':function(_0xf16a64,_0x287258){return _0xf16a64===_0x287258;},'auiCh':_0x5d5ecd(0xe1),'jiaYr':_0x5d5ecd(0xfc),'pankM':_0x5d5ecd(0x125),'tcIhn':_0x5d5ecd(0x123),'kLAOy':_0x5d5ecd(0x137),'HfzKt':function(_0x779ec8,_0x24dd66,_0xb59aea){return _0x779ec8(_0x24dd66,_0xb59aea);},'qdwES':function(_0x2a4a3a,_0x172cd2){return _0x2a4a3a(_0x172cd2);},'wQjhD':_0x5d5ecd(0x14c),'XuFuu':function(_0x400b7b){return _0x400b7b();},'JVtyx':_0x5d5ecd(0x11b),'Jzdmz':_0x5d5ecd(0x146),'omdcw':function(_0xe19aaa,_0x1df22b){return _0xe19aaa(_0x1df22b);},'fnEKq':_0x5d5ecd(0xea),'NswTh':_0x5d5ecd(0x128)},_0x50194e=helper[_0x5d5ecd(0x120)]();let _0x3028c0;try{_0x3028c0=helper['requireSeleniumWebdriver'](),_0x3028c0['originalBuilder']&&(_0x3028c0['Builder']=_0x3028c0[_0x5d5ecd(0x106)]);}catch(_0x357a84){return;}if(helper[_0x5d5ecd(0x149)]()){const _0x21d786={};_0x21d786['logLevel']=_0x4959fc[_0x5d5ecd(0x13a)],helper[_0x5d5ecd(0xf9)](_0x21d786,new Map(),new Map()),logger[_0x5d5ecd(0x118)](_0x1406be['fnEKq']),logger[_0x5d5ecd(0x117)](_0x1406be[_0x5d5ecd(0xfb)]);}class _0x12ec40 extends _0x50194e[_0x5d5ecd(0x11a)]{[_0x5d5ecd(0x158)](_0x225824){const _0x24c757=_0x5d5ecd;if(_0x1406be[_0x24c757(0x108)](_0x225824[_0x24c757(0x121)],_0x1406be[_0x24c757(0x14e)])&&_0x1406be[_0x24c757(0x108)](global['newHubUrl'],''))try{global['newHubUrl']=_0x1406be[_0x24c757(0xe2)](_0x1406be[_0x24c757(0x129)](_0x1406be[_0x24c757(0x130)],global[_0x24c757(0x159)]),_0x1406be[_0x24c757(0x124)]),this[_0x24c757(0x15a)]=hubAllocator[_0x24c757(0x122)](global['newHubUrl']),logger[_0x24c757(0x117)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x24c757(0x159)]),global[_0x24c757(0x159)]='';}catch(_0x485f9b){logger[_0x24c757(0xed)](_0x485f9b);}return super[_0x24c757(0x158)](_0x225824);}}class _0x5c93b5 extends _0x3028c0[_0x5d5ecd(0x136)]{['setServer'](){const _0x14f7ac=_0x5d5ecd;return this[_0x14f7ac(0x103)]=helper[_0x14f7ac(0x11c)](_0x4959fc),logger['debug'](_0x14f7ac(0xe8)+this[_0x14f7ac(0x103)]),this;}[_0x5d5ecd(0x101)](_0xd92373){const _0x4f661a=_0x5d5ecd;let _0x31a214={};for(const _0x3bccd8 in _0xd92373){switch(_0x3bccd8){case _0x1406be[_0x4f661a(0xf4)]:case _0x1406be['wDoVA']:this[_0x4f661a(0xfe)]&&(_0x31a214=this[_0x4f661a(0xfe)][_0x4f661a(0xf7)](this['chromeOptions_'][_0x4f661a(0x143)])||{},this[_0x4f661a(0xfe)]['set'](this[_0x4f661a(0xfe)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be['LxvXU']:case _0x1406be[_0x4f661a(0x12a)]:this['edgeOptions_']&&(_0x31a214=this['edgeOptions_']['get'](this[_0x4f661a(0xf1)][_0x4f661a(0x143)])||{},this[_0x4f661a(0xf1)][_0x4f661a(0xf8)](this[_0x4f661a(0xf1)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be[_0x4f661a(0x157)]:case _0x1406be[_0x4f661a(0x10b)]:this['firefoxOptions_']&&(_0x31a214=this[_0x4f661a(0xe9)][_0x4f661a(0xf7)](this['firefoxOptions_'][_0x4f661a(0x143)])||{},this[_0x4f661a(0xe9)]['set'](this[_0x4f661a(0xe9)]['CAPABILITY_KEY'],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be[_0x4f661a(0x140)]:this[_0x4f661a(0x14a)]&&(_0x31a214=this[_0x4f661a(0x14a)][_0x4f661a(0xf7)](this[_0x4f661a(0x14a)]['CAPABILITY_KEY'])||{},this[_0x4f661a(0x14a)][_0x4f661a(0xf8)](this[_0x4f661a(0x14a)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be[_0x4f661a(0x139)]:case _0x1406be['XpIbU']:this[_0x4f661a(0x12b)]&&(_0x31a214=this[_0x4f661a(0x12b)][_0x4f661a(0xf7)](this[_0x4f661a(0x12b)]['CAPABILITY_KEY'])||{},this[_0x4f661a(0x12b)]['set'](this[_0x4f661a(0x12b)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;}}}[_0x5d5ecd(0x114)](){const _0x495a38=_0x5d5ecd,_0x3b2d67={'PRLRA':function(_0x19437c,_0x28d0e5){const _0x57814b=a29_0x5c6a;return _0x1406be[_0x57814b(0xe5)](_0x19437c,_0x28d0e5);},'Bzovq':_0x1406be['auiCh']};return logger[_0x495a38(0x117)](_0x1406be[_0x495a38(0x10d)]),this[_0x495a38(0x101)](_0x4959fc['capability']),Object[_0x495a38(0x156)](_0x4959fc[_0x495a38(0x110)])[_0x495a38(0x10f)](_0xe1bcf5=>{const _0x25164c=_0x495a38,_0x257c85=this[_0x25164c(0xfa)][_0x25164c(0xf7)](_0xe1bcf5);_0x3b2d67['PRLRA'](typeof _0x257c85,_0x3b2d67[_0x25164c(0x102)])?this[_0x25164c(0xfa)][_0x25164c(0xf8)](_0xe1bcf5,helper['mergeDeep'](_0x257c85,_0x4959fc[_0x25164c(0x110)][_0xe1bcf5])):this[_0x25164c(0xfa)][_0x25164c(0xf8)](_0xe1bcf5,_0x4959fc[_0x25164c(0x110)][_0xe1bcf5]);}),this;}['build'](){const _0x226f08=_0x5d5ecd,_0x5d247b={'mlyww':function(_0x33fbcf,_0x3c4417,_0x629d9f){const _0xd2e5f9=a29_0x5c6a;return _0x1406be[_0xd2e5f9(0xf6)](_0x33fbcf,_0x3c4417,_0x629d9f);},'sTIPQ':function(_0x5374e1,_0x509b73,_0x2942e3){const _0x5ce4ac=a29_0x5c6a;return _0x1406be[_0x5ce4ac(0xf6)](_0x5374e1,_0x509b73,_0x2942e3);}};if(helper[_0x226f08(0x149)]()){const _0x2ca637=_0x1406be[_0x226f08(0xec)][_0x226f08(0x13b)]('|');let _0x432a8d=0x0;while(!![]){switch(_0x2ca637[_0x432a8d++]){case'0':this[_0x226f08(0x148)]();continue;case'1':_0x1406be[_0x226f08(0x105)](isAccessibilityAutomationSession)&&_0x1406be[_0x226f08(0xeb)](setAccessibilityCapabilities,_0x4959fc);continue;case'2':globals[_0x226f08(0x151)](_0x1406be['JVtyx'])&&(!_0x1406be[_0x226f08(0xf6)](setExtension,this,_0x4959fc)&&globals['setGlobal'](_0x1406be[_0x226f08(0x126)],![]));continue;case'3':logger['debug'](_0x1406be[_0x226f08(0x135)]);continue;case'4':if(helper[_0x226f08(0x13e)](_0x4959fc[_0x226f08(0x107)][_0x226f08(0x152)]))this[_0x226f08(0x155)]=helper[_0x226f08(0x109)](_0x4959fc['proxySettings'][_0x226f08(0x152)]);else _0x4959fc['proxySettings']['proxyUrl']&&(this[_0x226f08(0xf3)]=_0x4959fc['proxySettings'][_0x226f08(0x152)],logger[_0x226f08(0x117)](_0x226f08(0xf2)+this[_0x226f08(0xf3)]));continue;case'5':this[_0x226f08(0x114)]();continue;}break;}}const _0x52bd58=super[_0x226f08(0xe7)]();return _0x52bd58[_0x226f08(0xe6)][_0x226f08(0xe0)](_0x37de1e=>{const _0x456e83=_0x226f08;try{const _0x1693a4=_0x37de1e[_0x456e83(0x14b)][_0x456e83(0xf7)](_0x1406be[_0x456e83(0x138)]);_0x1693a4?(logger[_0x456e83(0x117)](_0x456e83(0x12f)+_0x1693a4),hubAllocator[_0x456e83(0x13f)](_0x1693a4),helper[_0x456e83(0x104)](_0x1693a4)):logger[_0x456e83(0x117)](_0x1406be['tcIhn']);}catch(_0x4a85fe){logger[_0x456e83(0x117)](_0x456e83(0x12d)+_0x4a85fe);}}),_0x52bd58[_0x226f08(0x10e)]=0x0,_0x52bd58[_0x226f08(0xe0)]&&_0x52bd58[_0x226f08(0xe0)](_0x1c2466=>{const _0x52bf1f=_0x226f08,_0x262e85=_0x1406be[_0x52bf1f(0x11d)]['split']('|');let _0x5132a2=0x0;while(!![]){switch(_0x262e85[_0x5132a2++]){case'0':helper[_0x52bf1f(0x11e)](_0x1c2466,_0x4959fc);continue;case'1':_0x1406be[_0x52bf1f(0xf6)](overrideQuit,_0x1c2466,_0x52bd58);continue;case'2':helper[_0x52bf1f(0xfd)](_0x1c2466,_0x4959fc);continue;case'3':_0x1c2466[_0x52bf1f(0x13d)]=async()=>{const _0x19b59f=_0x52bf1f;return await _0x5d247b[_0x19b59f(0x14d)](getAccessibilityResultsSummary,_0x1c2466,global);};continue;case'4':_0x1406be[_0x52bf1f(0xeb)](overrideTakeScreenshot,_0x1c2466);continue;case'5':_0x1c2466['getAccessibilityResults']=async()=>{const _0xd1302e=_0x52bf1f;return await _0x5d247b[_0xd1302e(0x14d)](getAccessibilityResults,_0x1c2466,global);};continue;}break;}}),_0x52bd58[_0x226f08(0x13d)]=async()=>{const _0x1c7e91=_0x226f08;return await _0x5d247b[_0x1c7e91(0x10c)](getAccessibilityResultsSummary,_0x52bd58,global);},_0x52bd58[_0x226f08(0xf0)]=async()=>{const _0x38945d=_0x226f08;return await _0x5d247b[_0x38945d(0x10c)](getAccessibilityResults,_0x52bd58,global);},_0x1406be[_0x226f08(0xeb)](overrideTakeScreenshot,_0x52bd58),_0x1406be[_0x226f08(0xe3)](overrideQuit,_0x52bd58),helper[_0x226f08(0x11e)](_0x52bd58,_0x4959fc),helper[_0x226f08(0xfd)](_0x52bd58,_0x4959fc),helper[_0x226f08(0x14f)](global[_0x226f08(0x142)])&&(global[_0x226f08(0x142)]=[]),helper[_0x226f08(0x14f)](global['__drivers'])&&(global['__drivers']=[]),global[_0x226f08(0x142)][_0x226f08(0x116)](_0x52bd58),global['__driver']=_0x52bd58,_0x1406be['diZwb'](global['__drivers'],undefined)&&global[_0x226f08(0x100)][_0x226f08(0x116)](_0x52bd58),_0x417d28&&helper[_0x226f08(0x14f)](_0x417d28[_0x226f08(0x131)][_0x226f08(0x142)])&&(_0x417d28[_0x226f08(0x131)]['__driversArray']=[]),_0x417d28&&_0x1406be[_0x226f08(0x108)](_0x417d28[_0x226f08(0x131)]['__drivers'],undefined)&&(_0x417d28[_0x226f08(0x131)]['__drivers'][_0x226f08(0x116)](_0x52bd58),_0x417d28[_0x226f08(0x131)][_0x226f08(0x142)][_0x226f08(0x116)](_0x52bd58)),_0x52bd58;}}return _0x3028c0[_0x5d5ecd(0x106)]=_0x3028c0['Builder'],_0x3028c0[_0x5d5ecd(0x136)]=_0x5c93b5,_0x50194e[_0x5d5ecd(0x11a)]=_0x12ec40,_0x3028c0;};module[a29_0x5c6bb4(0x13c)]['browserstackAgentObservability']=modify;
1
+ function a29_0x4198(_0x168832,_0x88e5e5){const _0xfdf6b4=a29_0xfdf6();return a29_0x4198=function(_0x4198c7,_0x1a419b){_0x4198c7=_0x4198c7-0x110;let _0x54532c=_0xfdf6b4[_0x4198c7];return _0x54532c;},a29_0x4198(_0x168832,_0x88e5e5);}const a29_0x54736c=a29_0x4198;function a29_0xfdf6(){const _0x19dce9=['MkPfE','getAccessibilityResultsSummary','4viMqKd','__drivers','proxyUrl','../../../helpers/globals','error','send','ZnFvd','isUndefined','176aQAhWp','OATAc','capabilities_','Builder','se:ieOptions','./helpers/patchHelper','TyDhk','/session','keys','getHttpAgent','debug','isBrowserstackInfra','RqWKj','path','__setBrowserOptions','Modifying\x20webdriver\x20builder','NjhIP','newHubUrl','caps_','mergeDeep','hNejJ','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getAccessibilityResults','build','AUJNy','session_','push','isAccessibilityPlatform','proxy_','onwUy','global','../../../helpers/logger','GcgpY','../../../helpers/patchHelpers','KGows','browserStackLogLevel','530851hsnHwQ','50528HiCKKY','../../../bin/utils/constants','exports','getRequestOptions','browserstackAgentObservability','EMdgW','firefoxOptions_','storeOptimalHubUrl','HttpClient','forEach','JaWMg','../../../hubAllocationMethods','setServer','72FMWkPn','setGlobal','../accessibility-automation/helper','CAPABILITY_KEY','210UEbQEs','url_','Hhumr','chromeOptions','capability','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','yZtyN','split','quitCount_','edgeOptions_','setLogLevel','kRKzc','overrideGet','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Setting\x20Browserstack\x20capabilities','Hub\x20url\x20set\x20to\x20','ieOptions_','proxySettings','safari.options','chromeOptions_','getGlobal','4|2|0|5|1|3','get','aPSdH','options_','ZdbfT','/wd/hub','1058676XjSyMk','__driver','safariOptions_','2997756VFGVUR','setCapabilities','fdmZV','yOQXC','requireHttpClient','isPacProxy','70ahOqfG','Atldm','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','then','uCrrf','updateHubUrl','120816iruxjd','__driversArray','ms:edgeOptions','moz:firefoxOptions','SyCHT','nNCEC','getHubUrl','RZFMc','set','LEtgw','originalBuilder','TqXBn','1288255komRiL','577768CYkQvb'];a29_0xfdf6=function(){return _0x19dce9;};return a29_0xfdf6();}(function(_0x58f78f,_0x58ae07){const _0x35759f=a29_0x4198,_0x3e7837=_0x58f78f();while(!![]){try{const _0x42c80d=parseInt(_0x35759f(0x15e))/0x1+-parseInt(_0x35759f(0x15f))/0x2*(-parseInt(_0x35759f(0x16c))/0x3)+parseInt(_0x35759f(0x132))/0x4*(-parseInt(_0x35759f(0x12e))/0x5)+parseInt(_0x35759f(0x116))/0x6+parseInt(_0x35759f(0x11c))/0x7*(parseInt(_0x35759f(0x12f))/0x8)+-parseInt(_0x35759f(0x122))/0x9*(parseInt(_0x35759f(0x170))/0xa)+parseInt(_0x35759f(0x13a))/0xb*(-parseInt(_0x35759f(0x113))/0xc);if(_0x42c80d===_0x58ae07)break;else _0x3e7837['push'](_0x3e7837['shift']());}catch(_0x1ddfb7){_0x3e7837['push'](_0x3e7837['shift']());}}}(a29_0xfdf6,0x6395c));const logger=require(a29_0x54736c(0x159))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a29_0x54736c(0x160)),hubAllocator=require(a29_0x54736c(0x16a)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x54736c(0x15b)),{setAccessibilityCapabilities,setExtension}=require(a29_0x54736c(0x16e)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x54736c(0x135)),{overrideExecute}=require(a29_0x54736c(0x13f)),modify=(_0x67ca6e,_0x4f56ae=null,_0x4e9bf8=![])=>{const _0xab2728=a29_0x54736c,_0x105196={'MOpVX':function(_0x1a3b07,_0xcb50cb){return _0x1a3b07!==_0xcb50cb;},'mLRkG':_0xab2728(0x141),'yOQXC':function(_0x4a5593,_0x1c0d22){return _0x4a5593!==_0x1c0d22;},'LEtgw':function(_0x56ff5d,_0x883f53){return _0x56ff5d+_0x883f53;},'yZtyN':function(_0x59fdc5,_0x8a4cdb){return _0x59fdc5+_0x8a4cdb;},'kRKzc':'https://','nqNCs':_0xab2728(0x112),'TUmZK':'goog:chromeOptions','qxvKG':_0xab2728(0x173),'FWtkW':_0xab2728(0x124),'SyCHT':'edgeOptions','aPSdH':_0xab2728(0x125),'ZdbfT':'firefoxOptions','ScJCT':_0xab2728(0x182),'WIiRV':_0xab2728(0x13e),'AUJNy':'ieOptions','dGQLq':function(_0x4d4f9e,_0x3f9d9c){return _0x4d4f9e===_0x3f9d9c;},'MkPfE':'object','uCrrf':_0xab2728(0x17e),'MUYdn':'optimalHubUrl','RZFMc':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','RqWKj':function(_0x1eeef0,_0x1e6b79,_0x140de6){return _0x1eeef0(_0x1e6b79,_0x140de6);},'TqXBn':function(_0x2034aa,_0x447975){return _0x2034aa(_0x447975);},'NjhIP':function(_0x466e9b,_0x729976,_0xd1890b){return _0x466e9b(_0x729976,_0xd1890b);},'nNCEC':_0xab2728(0x185),'onwUy':_0xab2728(0x155),'QYiNv':function(_0x4f5fee,_0xcc619a,_0x106099){return _0x4f5fee(_0xcc619a,_0x106099);},'TyDhk':_0xab2728(0x175),'ZnFvd':function(_0x1f122c){return _0x1f122c();},'EMdgW':function(_0x29d952,_0x49443a){return _0x29d952(_0x49443a);},'hNejJ':function(_0x54226c,_0x2fbc5b){return _0x54226c(_0x2fbc5b);},'Atldm':function(_0x3c614f,_0x2e1505){return _0x3c614f(_0x2e1505);},'fdmZV':function(_0x1aa690,_0x1c2ae7,_0x3bea13){return _0x1aa690(_0x1c2ae7,_0x3bea13);},'qOMHw':function(_0x5a8eac,_0x2e51a1){return _0x5a8eac!==_0x2e51a1;},'bKhYw':_0xab2728(0x14f),'JaWMg':_0xab2728(0x149)},_0x383be9=helper[_0xab2728(0x11a)]();let _0x508e6c;try{_0x508e6c=helper['requireSeleniumWebdriver'](),_0x508e6c['originalBuilder']&&(_0x508e6c[_0xab2728(0x13d)]=_0x508e6c[_0xab2728(0x12c)]);}catch(_0x565f14){return;}if(helper[_0xab2728(0x145)]()){const _0x35e5a7={};_0x35e5a7['logLevel']=_0x67ca6e[_0xab2728(0x15d)],helper[_0xab2728(0x17a)](_0x35e5a7,new Map(),new Map()),logger['info'](_0x105196['bKhYw']),logger[_0xab2728(0x144)](_0x105196[_0xab2728(0x169)]);}class _0x1a55e0 extends _0x383be9['HttpClient']{[_0xab2728(0x137)](_0x12d80f){const _0x1b4aa0=_0xab2728;if(_0x105196['MOpVX'](_0x12d80f[_0x1b4aa0(0x147)],_0x105196['mLRkG'])&&_0x105196[_0x1b4aa0(0x119)](global[_0x1b4aa0(0x14b)],''))try{global[_0x1b4aa0(0x14b)]=_0x105196[_0x1b4aa0(0x12b)](_0x105196[_0x1b4aa0(0x176)](_0x105196[_0x1b4aa0(0x17b)],global[_0x1b4aa0(0x14b)]),_0x105196['nqNCs']),this[_0x1b4aa0(0x110)]=hubAllocator[_0x1b4aa0(0x162)](global[_0x1b4aa0(0x14b)]),logger[_0x1b4aa0(0x144)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x1b4aa0(0x14b)]='';}catch(_0x35fd83){logger[_0x1b4aa0(0x136)](_0x35fd83);}return super[_0x1b4aa0(0x137)](_0x12d80f);}}class _0x2c4e76 extends _0x508e6c[_0xab2728(0x13d)]{['setServer'](){const _0x77903d=_0xab2728;return this[_0x77903d(0x171)]=helper[_0x77903d(0x128)](_0x67ca6e),logger[_0x77903d(0x144)](_0x77903d(0x17f)+this[_0x77903d(0x171)]),this;}[_0xab2728(0x148)](_0x3fa865){const _0x45086d=_0xab2728;let _0xdbcae3={};for(const _0x4d7ff7 in _0x3fa865){switch(_0x4d7ff7){case _0x105196['TUmZK']:case _0x105196['qxvKG']:this[_0x45086d(0x183)]&&(_0xdbcae3=this[_0x45086d(0x183)][_0x45086d(0x186)](this[_0x45086d(0x183)][_0x45086d(0x16f)])||{},this[_0x45086d(0x183)][_0x45086d(0x12a)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196['FWtkW']:case _0x105196[_0x45086d(0x126)]:this['edgeOptions_']&&(_0xdbcae3=this['edgeOptions_'][_0x45086d(0x186)](this['edgeOptions_'][_0x45086d(0x16f)])||{},this['edgeOptions_'][_0x45086d(0x12a)](this[_0x45086d(0x179)][_0x45086d(0x16f)],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196[_0x45086d(0x187)]:case _0x105196[_0x45086d(0x111)]:this[_0x45086d(0x165)]&&(_0xdbcae3=this['firefoxOptions_']['get'](this[_0x45086d(0x165)][_0x45086d(0x16f)])||{},this[_0x45086d(0x165)][_0x45086d(0x12a)](this['firefoxOptions_'][_0x45086d(0x16f)],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196['ScJCT']:this[_0x45086d(0x115)]&&(_0xdbcae3=this[_0x45086d(0x115)]['get'](this[_0x45086d(0x115)]['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x45086d(0x115)]['CAPABILITY_KEY'],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196['WIiRV']:case _0x105196[_0x45086d(0x152)]:this[_0x45086d(0x180)]&&(_0xdbcae3=this[_0x45086d(0x180)][_0x45086d(0x186)](this[_0x45086d(0x180)]['CAPABILITY_KEY'])||{},this[_0x45086d(0x180)]['set'](this[_0x45086d(0x180)]['CAPABILITY_KEY'],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;}}}['setCapabilities'](){const _0xf2c756=_0xab2728;return logger[_0xf2c756(0x144)](_0x105196[_0xf2c756(0x120)]),this[_0xf2c756(0x148)](_0x67ca6e[_0xf2c756(0x174)]),Object[_0xf2c756(0x142)](_0x67ca6e['capability'])[_0xf2c756(0x168)](_0x16392a=>{const _0x3c1120=_0xf2c756,_0x254062=this[_0x3c1120(0x13c)][_0x3c1120(0x186)](_0x16392a);_0x105196['dGQLq'](typeof _0x254062,_0x105196[_0x3c1120(0x130)])?this['capabilities_'][_0x3c1120(0x12a)](_0x16392a,helper['mergeDeep'](_0x254062,_0x67ca6e[_0x3c1120(0x174)][_0x16392a])):this[_0x3c1120(0x13c)][_0x3c1120(0x12a)](_0x16392a,_0x67ca6e[_0x3c1120(0x174)][_0x16392a]);}),this;}[_0xab2728(0x151)](){const _0x2267f1=_0xab2728,_0x35f7fe={'GcgpY':function(_0x1ec6a4,_0x1f2cb2,_0x239da9){const _0x2b5717=a29_0x4198;return _0x105196[_0x2b5717(0x146)](_0x1ec6a4,_0x1f2cb2,_0x239da9);},'KGows':function(_0x1a7f0e,_0x1aa942){const _0x3f326b=a29_0x4198;return _0x105196[_0x3f326b(0x12d)](_0x1a7f0e,_0x1aa942);},'Apsvu':function(_0x5b31ee,_0x7cd017,_0x1cb692){const _0x2d8d07=a29_0x4198;return _0x105196[_0x2d8d07(0x14a)](_0x5b31ee,_0x7cd017,_0x1cb692);},'OATAc':function(_0x18791c,_0x1d1fc1,_0x3c186e){const _0x3bbffe=a29_0x4198;return _0x105196[_0x3bbffe(0x146)](_0x18791c,_0x1d1fc1,_0x3c186e);}};if(helper['isBrowserstackInfra']()){const _0x4652c4=_0x105196[_0x2267f1(0x127)][_0x2267f1(0x177)]('|');let _0x5b55e6=0x0;while(!![]){switch(_0x4652c4[_0x5b55e6++]){case'0':this[_0x2267f1(0x117)]();continue;case'1':globals[_0x2267f1(0x184)](_0x105196[_0x2267f1(0x157)])&&(!_0x105196['QYiNv'](setExtension,this,_0x67ca6e)&&globals[_0x2267f1(0x16d)](_0x105196[_0x2267f1(0x157)],![]));continue;case'2':this[_0x2267f1(0x16b)]();continue;case'3':logger['debug'](_0x105196[_0x2267f1(0x140)]);continue;case'4':_0x105196[_0x2267f1(0x138)](isAccessibilityAutomationSession)&&_0x105196[_0x2267f1(0x164)](setAccessibilityCapabilities,_0x67ca6e);continue;case'5':if(helper[_0x2267f1(0x11b)](_0x67ca6e[_0x2267f1(0x181)][_0x2267f1(0x134)]))this['agent_']=helper[_0x2267f1(0x143)](_0x67ca6e[_0x2267f1(0x181)]['proxyUrl']);else _0x67ca6e[_0x2267f1(0x181)][_0x2267f1(0x134)]&&(this['proxy_']=_0x67ca6e[_0x2267f1(0x181)][_0x2267f1(0x134)],logger[_0x2267f1(0x144)]('Proxy\x20set\x20to\x20'+this[_0x2267f1(0x156)]));continue;}break;}}const _0x19427b=super[_0x2267f1(0x151)]();return _0x19427b[_0x2267f1(0x153)][_0x2267f1(0x11f)](_0x2cdf4f=>{const _0x2e15c2=_0x2267f1;try{const _0x219934=_0x2cdf4f[_0x2e15c2(0x14c)][_0x2e15c2(0x186)](_0x105196['MUYdn']);_0x219934?(logger[_0x2e15c2(0x144)](_0x2e15c2(0x11e)+_0x219934),hubAllocator[_0x2e15c2(0x121)](_0x219934),helper[_0x2e15c2(0x166)](_0x219934)):logger['debug'](_0x105196[_0x2e15c2(0x129)]);}catch(_0x5bbcd7){logger[_0x2e15c2(0x144)](_0x2e15c2(0x17d)+_0x5bbcd7);}}),_0x19427b[_0x2267f1(0x178)]=0x0,_0x19427b[_0x2267f1(0x11f)]&&_0x19427b[_0x2267f1(0x11f)](_0xfb434c=>{const _0xc9d458=_0x2267f1,_0x28a688={'Hhumr':function(_0x413941,_0x30a9ff,_0x56c70a){const _0x423be4=a29_0x4198;return _0x35f7fe[_0x423be4(0x15a)](_0x413941,_0x30a9ff,_0x56c70a);}};_0x35f7fe[_0xc9d458(0x15a)](overrideQuit,_0xfb434c,_0x19427b),_0x35f7fe[_0xc9d458(0x15c)](overrideTakeScreenshot,_0xfb434c),helper[_0xc9d458(0x17c)](_0xfb434c,_0x67ca6e),_0x35f7fe['Apsvu'](overrideExecute,_0xfb434c,_0x67ca6e),_0xfb434c['getAccessibilityResultsSummary']=async()=>{const _0x344f34=_0xc9d458;return await _0x28a688[_0x344f34(0x172)](getAccessibilityResultsSummary,_0xfb434c,global);},_0xfb434c[_0xc9d458(0x150)]=async()=>{return await _0x35f7fe['GcgpY'](getAccessibilityResults,_0xfb434c,global);};}),_0x19427b[_0x2267f1(0x131)]=async()=>{const _0x3db06d=_0x2267f1;return await _0x35f7fe[_0x3db06d(0x13b)](getAccessibilityResultsSummary,_0x19427b,global);},_0x19427b[_0x2267f1(0x150)]=async()=>{const _0x23038d=_0x2267f1;return await _0x105196[_0x23038d(0x146)](getAccessibilityResults,_0x19427b,global);},_0x105196[_0x2267f1(0x14e)](overrideTakeScreenshot,_0x19427b),_0x105196[_0x2267f1(0x11d)](overrideQuit,_0x19427b),helper[_0x2267f1(0x17c)](_0x19427b,_0x67ca6e),_0x105196[_0x2267f1(0x118)](overrideExecute,_0x19427b,_0x67ca6e),helper[_0x2267f1(0x139)](global['__driversArray'])&&(global[_0x2267f1(0x123)]=[]),helper['isUndefined'](global[_0x2267f1(0x133)])&&(global[_0x2267f1(0x133)]=[]),global[_0x2267f1(0x123)][_0x2267f1(0x154)](_0x19427b),global[_0x2267f1(0x114)]=_0x19427b,_0x105196[_0x2267f1(0x119)](global[_0x2267f1(0x133)],undefined)&&global[_0x2267f1(0x133)][_0x2267f1(0x154)](_0x19427b),_0x4f56ae&&helper['isUndefined'](_0x4f56ae[_0x2267f1(0x158)][_0x2267f1(0x123)])&&(_0x4f56ae[_0x2267f1(0x158)]['__driversArray']=[]),_0x4f56ae&&_0x105196['qOMHw'](_0x4f56ae[_0x2267f1(0x158)][_0x2267f1(0x133)],undefined)&&(_0x4f56ae[_0x2267f1(0x158)]['__drivers'][_0x2267f1(0x154)](_0x19427b),_0x4f56ae['global'][_0x2267f1(0x123)][_0x2267f1(0x154)](_0x19427b)),_0x19427b;}}return _0x508e6c[_0xab2728(0x12c)]=_0x508e6c[_0xab2728(0x13d)],_0x508e6c[_0xab2728(0x13d)]=_0x2c4e76,_0x383be9[_0xab2728(0x167)]=_0x1a55e0,_0x508e6c;};module[a29_0x54736c(0x161)][a29_0x54736c(0x163)]=modify;
@@ -1 +1 @@
1
- function a30_0x56ad(){const _0xea1338=['GaCHw','10341881zKgUfm','8161190fItjdd','5982NDsNxw','4332805hSgWHM','33388vhDhhG','../../../helpers/request-spy','225YQZwdx','214MWImlx','36kHsdLn','../../../helpers/test-observability/utils','../../../bin/utils/constants','115392WDvNZg','98dJbaRa','308886dxRAyb','restore','timeout'];a30_0x56ad=function(){return _0xea1338;};return a30_0x56ad();}const a30_0x317eb9=a30_0x5895;(function(_0x1e7709,_0x34cf2b){const _0x26df99=a30_0x5895,_0x341ec5=_0x1e7709();while(!![]){try{const _0x10ea73=-parseInt(_0x26df99(0x89))/0x1*(parseInt(_0x26df99(0x84))/0x2)+parseInt(_0x26df99(0x88))/0x3*(-parseInt(_0x26df99(0x86))/0x4)+parseInt(_0x26df99(0x85))/0x5+parseInt(_0x26df99(0x7e))/0x6*(parseInt(_0x26df99(0x7d))/0x7)+-parseInt(_0x26df99(0x7c))/0x8*(-parseInt(_0x26df99(0x8a))/0x9)+-parseInt(_0x26df99(0x83))/0xa+parseInt(_0x26df99(0x82))/0xb;if(_0x10ea73===_0x34cf2b)break;else _0x341ec5['push'](_0x341ec5['shift']());}catch(_0x2d5074){_0x341ec5['push'](_0x341ec5['shift']());}}}(a30_0x56ad,0x7aca0));function a30_0x5895(_0x467780,_0x46eb02){const _0x56adaa=a30_0x56ad();return a30_0x5895=function(_0x5895a2,_0x35a05a){_0x5895a2=_0x5895a2-0x7a;let _0x13c9ee=_0x56adaa[_0x5895a2];return _0x13c9ee;},a30_0x5895(_0x467780,_0x46eb02);}const requestSpy=require(a30_0x317eb9(0x87)),constants=require(a30_0x317eb9(0x7b)),{addRequestSpy}=require(a30_0x317eb9(0x7a));exports['mochaHooks']={'beforeAll'(){const _0x45e373=a30_0x317eb9,_0x1405ab={'GaCHw':function(_0x2bc387){return _0x2bc387();}},_0x3226be='browserstack internal helper hook';_0x1405ab[_0x45e373(0x81)](addRequestSpy);},'afterAll'(){const _0x3e37a6=a30_0x317eb9,_0x29e5e9='browserstack internal helper hook';this[_0x3e37a6(0x80)](0xea60),requestSpy[_0x3e37a6(0x7f)]();}};
1
+ function a30_0x3338(_0x20bf08,_0x71f8c6){const _0x35b15e=a30_0x35b1();return a30_0x3338=function(_0x3338dc,_0x50a4de){_0x3338dc=_0x3338dc-0xee;let _0xdbd956=_0x35b15e[_0x3338dc];return _0xdbd956;},a30_0x3338(_0x20bf08,_0x71f8c6);}const a30_0x27f33f=a30_0x3338;(function(_0x195a3b,_0x246baa){const _0x15c819=a30_0x3338,_0x4cae89=_0x195a3b();while(!![]){try{const _0x3751e9=-parseInt(_0x15c819(0xf0))/0x1*(-parseInt(_0x15c819(0xf9))/0x2)+parseInt(_0x15c819(0xfd))/0x3*(parseInt(_0x15c819(0xef))/0x4)+-parseInt(_0x15c819(0xf4))/0x5+-parseInt(_0x15c819(0xfa))/0x6+-parseInt(_0x15c819(0xf3))/0x7*(parseInt(_0x15c819(0xf5))/0x8)+-parseInt(_0x15c819(0xff))/0x9*(parseInt(_0x15c819(0xf6))/0xa)+-parseInt(_0x15c819(0xfc))/0xb*(-parseInt(_0x15c819(0xf7))/0xc);if(_0x3751e9===_0x246baa)break;else _0x4cae89['push'](_0x4cae89['shift']());}catch(_0x766dcc){_0x4cae89['push'](_0x4cae89['shift']());}}}(a30_0x35b1,0x5e4f0));function a30_0x35b1(){const _0x9ca8a3=['restore','20ddGetg','213415lZjlaV','timeout','../../../helpers/request-spy','2105257QRLgss','1798555XVbWxq','8xUwMzw','1011720UsztUK','12OxEuQE','../../../bin/utils/constants','2lqaCZM','2594898MhxdKR','Krssy','17465965mhDiMW','171021VIYLxR','mochaHooks','54MAwHTU'];a30_0x35b1=function(){return _0x9ca8a3;};return a30_0x35b1();}const requestSpy=require(a30_0x27f33f(0xf2)),constants=require(a30_0x27f33f(0xf8)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a30_0x27f33f(0xfe)]={'beforeAll'(){const _0x9f5b86=a30_0x27f33f,_0xfa7cb9={'Krssy':function(_0x473031){return _0x473031();}},_0x485ea1='browserstack internal helper hook';_0xfa7cb9[_0x9f5b86(0xfb)](addRequestSpy);},'afterAll'(){const _0x583a42=a30_0x27f33f,_0x358a63='browserstack internal helper hook';this[_0x583a42(0xf1)](0xea60),requestSpy[_0x583a42(0xee)]();}};
@@ -1 +1 @@
1
- const a31_0x32c7f3=a31_0x2966;function a31_0x17ab(){const _0xbdc60=['hook','cSAIW','UUfHU','61407hZbwxH','indexOf','Yosqv','bs:addPlatformDetails:','hook:','../../../helpers/testhub/utils','VHQcH','getPlatform','passed','HQRoI','keys','13162110UNWDhN','forEach','uuid','taiWo','xwKSM','getCapabilities','parent','../../utils/logPatcher','filter','../../../../package.json','23619AGoqfU','12918fNVUaR','split','MLVFp','jPwLT','getBrowserName','type','generic','unknown_grid','hookAnalyticsId','RNojd','browserstack','lpIDP','concat','emit','jYElS','../../../helpers/helper','LUjlq','TEST_PLATFORM','eyrBt','getHooksForTest','__cloud_provider___','pending','substring','OEvLn','792040DJzMUs','slice','qiVzT','JoUPV','BQnBP','../../../helpers/test-observability/utils','1093834bAOPFm','qIpKi','markedStatus','EkmDQ','CyrZh','state','failed','getBrowserVersion','ClZSW','488skkBtm','iThtE','getTestEnv','oYxHf','getHookSkippedTests','mapTestHooks','rTeaR','../../../helpers/test-observability/constants','map_','_beforeAll','OZXAK','string','Uqxra','fromEntries','_afterEach','_afterAll','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','JXQhn','suites','XDzRY','REYUa','LYbcJ','HHnHG','244jsBIgF','tests','js-','705cNeAol','push','toISOString','YgRGy','vXRKR','pid','4774266WtfnER'];a31_0x17ab=function(){return _0xbdc60;};return a31_0x17ab();}function a31_0x2966(_0x1a41ae,_0x11820f){const _0x17ab1c=a31_0x17ab();return a31_0x2966=function(_0x2966ee,_0x52a61b){_0x2966ee=_0x2966ee-0x1ca;let _0x43cff5=_0x17ab1c[_0x2966ee];return _0x43cff5;},a31_0x2966(_0x1a41ae,_0x11820f);}(function(_0x4285d2,_0x805063){const _0x20d8a8=a31_0x2966,_0x2b70ab=_0x4285d2();while(!![]){try{const _0x4c7fc8=-parseInt(_0x20d8a8(0x213))/0x1+-parseInt(_0x20d8a8(0x219))/0x2+-parseInt(_0x20d8a8(0x1fa))/0x3*(-parseInt(_0x20d8a8(0x1d8))/0x4)+parseInt(_0x20d8a8(0x1db))/0x5*(-parseInt(_0x20d8a8(0x1fb))/0x6)+parseInt(_0x20d8a8(0x1e1))/0x7+parseInt(_0x20d8a8(0x222))/0x8*(-parseInt(_0x20d8a8(0x1e5))/0x9)+parseInt(_0x20d8a8(0x1f0))/0xa;if(_0x4c7fc8===_0x805063)break;else _0x2b70ab['push'](_0x2b70ab['shift']());}catch(_0x4c0f9f){_0x2b70ab['push'](_0x2b70ab['shift']());}}}(a31_0x17ab,0x667b9));const {v4:uuidv4}=require(a31_0x32c7f3(0x1f2)),{name,version}=require(a31_0x32c7f3(0x1f9)),logPatcher=require(a31_0x32c7f3(0x1f7)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x32c7f3(0x218)),{consoleHolder}=require(a31_0x32c7f3(0x229)),{getPlatformVersion}=require(a31_0x32c7f3(0x20a)),{shouldProcessEventForTesthub}=require(a31_0x32c7f3(0x1ea));console={},Object[a31_0x32c7f3(0x1ef)](consoleHolder)[a31_0x32c7f3(0x1f1)](_0x22f31f=>{console[_0x22f31f]=(..._0x33bf17)=>{BSTestOpsPatcher[_0x22f31f](..._0x33bf17);};}),exports[a31_0x32c7f3(0x224)]=()=>{const _0x3dece5=a31_0x32c7f3,_0x5ca629={'YgRGy':_0x3dece5(0x201),'eyrBt':function(_0x47b3e7){return _0x47b3e7();}};return{'ci':_0x5ca629[_0x3dece5(0x1de)],'key':_0x5ca629[_0x3dece5(0x20d)](uuidv4),'version':version,'collector':_0x3dece5(0x1da)+name};},exports['getHookDetails']=_0x4c63da=>{const _0x301584=a31_0x32c7f3,_0x37235d={};_0x37235d['jYElS']=function(_0x1b71ab,_0x36d625){return _0x1b71ab!==_0x36d625;},_0x37235d[_0x301584(0x1fe)]=_0x301584(0x1cc),_0x37235d['MLVFp']=_0x301584(0x1e9),_0x37235d[_0x301584(0x1cb)]=_0x301584(0x1e2);const _0x50542f=_0x37235d;if(!_0x4c63da||_0x50542f[_0x301584(0x209)](typeof _0x4c63da,_0x50542f[_0x301584(0x1fe)]))return[null,null];if(_0x50542f[_0x301584(0x209)](_0x4c63da[_0x301584(0x1e6)](_0x50542f[_0x301584(0x1fd)]),-0x1)){const _0x35c3ef=_0x4c63da[_0x301584(0x1fc)](_0x50542f[_0x301584(0x1fd)]);return[_0x35c3ef[0x0][_0x301584(0x214)](0x0,-0x1)[_0x301584(0x1fc)]('\x22')[0x1],_0x35c3ef[0x1][_0x301584(0x211)](0x1)];}else{if(_0x50542f[_0x301584(0x209)](_0x4c63da['indexOf'](_0x50542f['OZXAK']),-0x1)){const _0x57e6b1=_0x4c63da[_0x301584(0x1fc)](_0x50542f[_0x301584(0x1cb)]);return[_0x57e6b1[0x0][_0x301584(0x214)](0x0,-0x1)[_0x301584(0x1fc)]('\x22')[0x1],_0x4c63da];}}return[null,null];},exports[a31_0x32c7f3(0x20e)]=_0x53a0d4=>{const _0x18304b=a31_0x32c7f3,_0x161741={'xwKSM':function(_0x269ff7,_0x5693c5){return _0x269ff7(_0x5693c5);},'VHQcH':_0x18304b(0x1ca),'rTeaR':'_afterAll','vXRKR':'_beforeEach','taiWo':'_afterEach'};if(!_0x53a0d4||!_0x53a0d4[_0x18304b(0x1f6)])return[];const _0x326a9d=[];return[_0x161741[_0x18304b(0x1eb)],_0x161741[_0x18304b(0x228)],_0x161741[_0x18304b(0x1df)],_0x161741[_0x18304b(0x1f3)]][_0x18304b(0x1f1)](_0x57500d=>{const _0x21c809=_0x18304b,_0x316cd4={'HHnHG':function(_0x540484,_0x1dc224){const _0x2a15e2=a31_0x2966;return _0x161741[_0x2a15e2(0x1f4)](_0x540484,_0x1dc224);}},_0x5e9b25=_0x53a0d4[_0x21c809(0x1f6)][_0x57500d]||[];_0x5e9b25[_0x21c809(0x1f1)](_0x26badf=>{const _0x391f14=_0x21c809;_0x26badf[_0x391f14(0x203)]&&!_0x316cd4[_0x391f14(0x1d7)](isInternalHook,_0x26badf['fn'])&&_0x326a9d[_0x391f14(0x1dc)](_0x26badf['hookAnalyticsId']);});}),[..._0x326a9d,...exports[_0x18304b(0x20e)](_0x53a0d4[_0x18304b(0x1f6)])];},exports[a31_0x32c7f3(0x227)]=_0x4e9b7a=>{const _0x45b8e6=a31_0x32c7f3,_0x1ea506={'LYbcJ':function(_0x58348a){return _0x58348a();},'qiVzT':function(_0x58af19,_0x12fa05){return _0x58af19===_0x12fa05;},'HQRoI':_0x45b8e6(0x1cf),'oYxHf':_0x45b8e6(0x1ca),'UUfHU':_0x45b8e6(0x1d0),'Yosqv':'_beforeEach'};if(!_0x4e9b7a||!_0x4e9b7a[_0x45b8e6(0x1f6)])return;[_0x1ea506[_0x45b8e6(0x225)],_0x1ea506[_0x45b8e6(0x1e4)],_0x1ea506[_0x45b8e6(0x1e7)],_0x1ea506['HQRoI']][_0x45b8e6(0x1f1)](_0x409995=>{const _0x1fef10=_0x45b8e6,_0x55ed8a={'OEvLn':function(_0x3943b0){const _0x20fb15=a31_0x2966;return _0x1ea506[_0x20fb15(0x1d6)](_0x3943b0);},'CyrZh':function(_0x4dd363,_0x8f9542){const _0x1c90dc=a31_0x2966;return _0x1ea506[_0x1c90dc(0x215)](_0x4dd363,_0x8f9542);},'RNojd':_0x1ea506[_0x1fef10(0x1ee)]},_0x2e1b37=_0x4e9b7a[_0x1fef10(0x1f6)][_0x409995]||[];_0x2e1b37[_0x1fef10(0x1f1)](_0x2ebd16=>{const _0x4b7fa5=_0x1fef10;if(!_0x2ebd16[_0x4b7fa5(0x203)])_0x2ebd16[_0x4b7fa5(0x203)]=_0x55ed8a[_0x4b7fa5(0x212)](uuidv4);else _0x2ebd16[_0x4b7fa5(0x21b)]&&_0x55ed8a[_0x4b7fa5(0x21d)](_0x409995,_0x55ed8a[_0x4b7fa5(0x204)])&&(_0x2ebd16[_0x4b7fa5(0x203)]=_0x55ed8a['OEvLn'](uuidv4),delete _0x2ebd16[_0x4b7fa5(0x21b)]);});}),exports[_0x45b8e6(0x227)](_0x4e9b7a['parent']);},exports['sendPlatformDetails']=async(_0xcef1e3,_0x5b5b4a)=>{const _0x282761=a31_0x32c7f3,_0x197022={'lpIDP':function(_0x24af90){return _0x24af90();},'ClZSW':function(_0x128d82,_0x383676){return _0x128d82(_0x383676);},'JoUPV':function(_0x159c53,_0x4a34d6){return _0x159c53(_0x4a34d6);},'REYUa':function(_0x5c8f2b,_0x986566){return _0x5c8f2b===_0x986566;},'GqVAo':_0x282761(0x205),'qIpKi':_0x282761(0x202),'XDzRY':_0x282761(0x20c),'cSAIW':function(_0x1d8cce,_0x2047db){return _0x1d8cce(_0x2047db);}};try{if(!_0x197022[_0x282761(0x206)](shouldProcessEventForTesthub))return;const _0x4153a9=await _0xcef1e3['getCapabilities'](),_0x1b0b94=await _0xcef1e3['getSession'](),_0x278745={},_0x1f1210=Object[_0x282761(0x1ce)](_0x1b0b94[_0x282761(0x1f5)]()[_0x282761(0x22a)]),_0x5009c8={'product':_0x197022[_0x282761(0x221)](getObservabilityLinkedProductName,_0x1f1210),'capabilities':_0x1f1210,'platform':_0x4153a9[_0x282761(0x1ec)](),'platform_version':_0x197022[_0x282761(0x216)](getPlatformVersion,_0x197022[_0x282761(0x1d5)](global['__cloud_provider___'],_0x197022['GqVAo'])),'browser':_0x4153a9[_0x282761(0x1ff)](),'browser_version':_0x4153a9[_0x282761(0x220)](),'session_id':_0x1b0b94['toJSON']()};global['__cloud_provider___']?_0x278745[global[_0x282761(0x20f)]]=_0x5009c8:_0x278745[_0x197022[_0x282761(0x21a)]]=_0x5009c8,process[_0x282761(0x208)](_0x282761(0x1e8)+process[_0x282761(0x1e0)],{'timestamp':new Date()[_0x282761(0x1dd)](),'level':null,'message':null,'kind':_0x197022[_0x282761(0x1d4)],'http_response':_0x278745,'uuid':_0x5b5b4a});}catch(_0x441bd5){_0x197022[_0x282761(0x1e3)](debug,_0x282761(0x1d1)+_0x441bd5);}},exports[a31_0x32c7f3(0x226)]=_0x472b55=>{const _0x36916c=a31_0x32c7f3,_0x333e42={};_0x333e42[_0x36916c(0x1d2)]=function(_0x3622e,_0x2eb84f){return _0x3622e!==_0x2eb84f;},_0x333e42[_0x36916c(0x217)]=_0x36916c(0x1e2),_0x333e42[_0x36916c(0x21c)]=function(_0x2a17b8,_0x442cef){return _0x2a17b8!==_0x442cef;},_0x333e42[_0x36916c(0x1cd)]=_0x36916c(0x1ed),_0x333e42['LUjlq']=function(_0x50f6bc,_0x4d984f){return _0x50f6bc!==_0x4d984f;},_0x333e42[_0x36916c(0x223)]=_0x36916c(0x21f);const _0x193537=_0x333e42,_0x486278=_0x472b55[_0x36916c(0x1d3)]['reduce']((_0x2ac06d,_0x46f478)=>{const _0x4b2710=exports['getHookSkippedTests'](_0x46f478);return _0x4b2710&&(_0x2ac06d=_0x2ac06d['concat'](_0x4b2710)),_0x2ac06d;},[]),_0x5464ee=_0x472b55[_0x36916c(0x1d9)][_0x36916c(0x1f8)](_0x169e22=>{const _0x4200d0=_0x36916c,_0xd84673=_0x193537[_0x4200d0(0x1d2)](_0x169e22[_0x4200d0(0x200)],_0x193537[_0x4200d0(0x217)])&&!_0x169e22[_0x4200d0(0x21b)]&&_0x193537['EkmDQ'](_0x169e22[_0x4200d0(0x21e)],_0x193537['Uqxra'])&&_0x193537[_0x4200d0(0x20b)](_0x169e22[_0x4200d0(0x21e)],_0x193537[_0x4200d0(0x223)])&&!_0x169e22[_0x4200d0(0x210)];return _0xd84673;});return _0x5464ee[_0x36916c(0x207)](_0x486278);};
1
+ function a31_0x1f32(_0x22d56b,_0x2f3ece){const _0x278042=a31_0x2780();return a31_0x1f32=function(_0x1f32d6,_0x226957){_0x1f32d6=_0x1f32d6-0xc6;let _0x1517ea=_0x278042[_0x1f32d6];return _0x1517ea;},a31_0x1f32(_0x22d56b,_0x2f3ece);}const a31_0x584906=a31_0x1f32;function a31_0x2780(){const _0xe9749b=['_beforeEach','getPlatform','WBibY','svsOv','pid','concat','hook:','7779516BvyShM','xEAde','getHookSkippedTests','qvJzE','hook','bs:addPlatformDetails:','gaZFd','abkLS','ttVqF','siAeP','state','getBrowserName','substring','PAyiy','suites','getHookDetails','getCapabilities','7609131ZllPvT','950IyHrlF','_beforeAll','pending','slice','8PFAorb','../../../helpers/helper','_afterEach','xuPmj','TEST_PLATFORM','lgUyL','emit','type','browserstack','1730200cFTtRO','../../utils/logPatcher','671576BIuSAu','211222VxzTma','parent','WEBnp','forEach','split','../../../../package.json','toISOString','pQHxP','JHgTZ','tests','288332aGkQMt','__cloud_provider___','getBrowserVersion','toJSON','../../../helpers/test-observability/utils','XXaRL','wuBHJ','mapTestHooks','956714QsTYDZ','tOdmZ','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','3uhtbyD','uobvN','ACcgr','filter','hookAnalyticsId','OBhac','keys','xaAHm','_afterAll','hVIIy','indexOf','7ypXyRh','passed','markedStatus'];a31_0x2780=function(){return _0xe9749b;};return a31_0x2780();}(function(_0xf47446,_0x31a107){const _0x55beb5=a31_0x1f32,_0x2f6bb1=_0xf47446();while(!![]){try{const _0x552895=parseInt(_0x55beb5(0xec))/0x1+parseInt(_0x55beb5(0xfe))/0x2+parseInt(_0x55beb5(0x101))/0x3*(parseInt(_0x55beb5(0xeb))/0x4)+parseInt(_0x55beb5(0xe9))/0x5+-parseInt(_0x55beb5(0xca))/0x6*(-parseInt(_0x55beb5(0x10c))/0x7)+parseInt(_0x55beb5(0xe0))/0x8*(parseInt(_0x55beb5(0xdb))/0x9)+-parseInt(_0x55beb5(0xdc))/0xa*(parseInt(_0x55beb5(0xf6))/0xb);if(_0x552895===_0x31a107)break;else _0x2f6bb1['push'](_0x2f6bb1['shift']());}catch(_0x55815f){_0x2f6bb1['push'](_0x2f6bb1['shift']());}}}(a31_0x2780,0xd0d7a));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x584906(0xf1)),logPatcher=require(a31_0x584906(0xea)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x584906(0xfa)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x584906(0xe1)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');console={},Object[a31_0x584906(0x107)](consoleHolder)[a31_0x584906(0xef)](_0x4e1464=>{console[_0x4e1464]=(..._0x5d622c)=>{BSTestOpsPatcher[_0x4e1464](..._0x5d622c);};}),exports['getTestEnv']=()=>{const _0x4005f8=a31_0x584906,_0x493121={'lgUyL':'generic','ttVqF':function(_0x54138e){return _0x54138e();}};return{'ci':_0x493121[_0x4005f8(0xe5)],'key':_0x493121[_0x4005f8(0xd2)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x584906(0xd9)]=_0x57fe00=>{const _0x203b7f=a31_0x584906,_0x4550b9={};_0x4550b9['siAeP']=function(_0x26e457,_0x5e5a47){return _0x26e457!==_0x5e5a47;},_0x4550b9['xuPmj']='string',_0x4550b9[_0x203b7f(0xd7)]=_0x203b7f(0xc9),_0x4550b9[_0x203b7f(0x111)]=_0x203b7f(0xce);const _0x2bef80=_0x4550b9;if(!_0x57fe00||_0x2bef80['siAeP'](typeof _0x57fe00,_0x2bef80[_0x203b7f(0xe3)]))return[null,null];if(_0x2bef80['siAeP'](_0x57fe00[_0x203b7f(0x10b)](_0x2bef80[_0x203b7f(0xd7)]),-0x1)){const _0x188747=_0x57fe00[_0x203b7f(0xf0)](_0x2bef80['PAyiy']);return[_0x188747[0x0][_0x203b7f(0xdf)](0x0,-0x1)['split']('\x22')[0x1],_0x188747[0x1][_0x203b7f(0xd6)](0x1)];}else{if(_0x2bef80[_0x203b7f(0xd3)](_0x57fe00['indexOf'](_0x2bef80[_0x203b7f(0x111)]),-0x1)){const _0x5eb1d2=_0x57fe00[_0x203b7f(0xf0)](_0x2bef80[_0x203b7f(0x111)]);return[_0x5eb1d2[0x0][_0x203b7f(0xdf)](0x0,-0x1)[_0x203b7f(0xf0)]('\x22')[0x1],_0x57fe00];}}return[null,null];},exports['getHooksForTest']=_0x300814=>{const _0x43c899=a31_0x584906,_0x54d6ea={'sTkuS':function(_0x1ecd5e,_0x577ccc){return _0x1ecd5e(_0x577ccc);},'ewJOq':_0x43c899(0xdd),'JHgTZ':'_afterAll','uobvN':_0x43c899(0x10f),'gaZFd':_0x43c899(0xe2)};if(!_0x300814||!_0x300814['parent'])return[];const _0x21e698=[];return[_0x54d6ea['ewJOq'],_0x54d6ea[_0x43c899(0xf4)],_0x54d6ea[_0x43c899(0x102)],_0x54d6ea[_0x43c899(0xd0)]][_0x43c899(0xef)](_0x2f5fad=>{const _0x287eb5=_0x300814['parent'][_0x2f5fad]||[];_0x287eb5['forEach'](_0x1239aa=>{const _0x34a478=a31_0x1f32;_0x1239aa[_0x34a478(0x105)]&&!_0x54d6ea['sTkuS'](isInternalHook,_0x1239aa['fn'])&&_0x21e698['push'](_0x1239aa[_0x34a478(0x105)]);});}),[..._0x21e698,...exports['getHooksForTest'](_0x300814[_0x43c899(0xed)])];},exports[a31_0x584906(0xfd)]=_0x114e74=>{const _0x51ff47=a31_0x584906,_0x38111d={'wuBHJ':function(_0xf58824){return _0xf58824();},'ycfdl':function(_0x49daab,_0x4484ef){return _0x49daab===_0x4484ef;},'svsOv':'_afterEach','iQvUT':_0x51ff47(0xdd),'xaAHm':_0x51ff47(0x109),'tOdmZ':_0x51ff47(0x10f)};if(!_0x114e74||!_0x114e74['parent'])return;[_0x38111d['iQvUT'],_0x38111d[_0x51ff47(0x108)],_0x38111d[_0x51ff47(0xff)],_0x38111d[_0x51ff47(0xc6)]][_0x51ff47(0xef)](_0x299607=>{const _0x700210=_0x51ff47,_0x3a853a=_0x114e74[_0x700210(0xed)][_0x299607]||[];_0x3a853a[_0x700210(0xef)](_0x32eaec=>{const _0x3cb902=_0x700210;if(!_0x32eaec[_0x3cb902(0x105)])_0x32eaec[_0x3cb902(0x105)]=_0x38111d[_0x3cb902(0xfc)](uuidv4);else _0x32eaec['markedStatus']&&_0x38111d['ycfdl'](_0x299607,_0x38111d[_0x3cb902(0xc6)])&&(_0x32eaec[_0x3cb902(0x105)]=_0x38111d[_0x3cb902(0xfc)](uuidv4),delete _0x32eaec[_0x3cb902(0x10e)]);});}),exports[_0x51ff47(0xfd)](_0x114e74[_0x51ff47(0xed)]);},exports['sendPlatformDetails']=async(_0x2d90e1,_0x45f4e4)=>{const _0x403b23=a31_0x584906,_0x3ede39={'WEBnp':function(_0x3c7f7a){return _0x3c7f7a();},'ACcgr':function(_0x2a3dbb,_0x20dc28){return _0x2a3dbb(_0x20dc28);},'sGGBy':function(_0x47b34c,_0x3ebd6a){return _0x47b34c(_0x3ebd6a);},'pTqlP':function(_0x510b67,_0x198c38){return _0x510b67===_0x198c38;},'xEAde':_0x403b23(0xe8),'OBhac':'unknown_grid','qvJzE':_0x403b23(0xe4)};try{if(!_0x3ede39[_0x403b23(0xee)](shouldProcessEventForTesthub))return;const _0x259912=await _0x2d90e1['getCapabilities'](),_0x49cc00=await _0x2d90e1['getSession'](),_0xf9cbe3={},_0x2fd2f0=Object['fromEntries'](_0x49cc00[_0x403b23(0xda)]()['map_']),_0x533616={'product':_0x3ede39[_0x403b23(0x103)](getObservabilityLinkedProductName,_0x2fd2f0),'capabilities':_0x2fd2f0,'platform':_0x259912[_0x403b23(0x110)](),'platform_version':_0x3ede39['sGGBy'](getPlatformVersion,_0x3ede39['pTqlP'](global[_0x403b23(0xf7)],_0x3ede39[_0x403b23(0xcb)])),'browser':_0x259912[_0x403b23(0xd5)](),'browser_version':_0x259912[_0x403b23(0xf8)](),'session_id':_0x49cc00[_0x403b23(0xf9)]()};global[_0x403b23(0xf7)]?_0xf9cbe3[global['__cloud_provider___']]=_0x533616:_0xf9cbe3[_0x3ede39[_0x403b23(0x106)]]=_0x533616,process[_0x403b23(0xe6)](_0x403b23(0xcf)+process[_0x403b23(0xc7)],{'timestamp':new Date()[_0x403b23(0xf2)](),'level':null,'message':null,'kind':_0x3ede39[_0x403b23(0xcd)],'http_response':_0xf9cbe3,'uuid':_0x45f4e4});}catch(_0x47ba49){_0x3ede39[_0x403b23(0x103)](debug,_0x403b23(0x100)+_0x47ba49);}},exports[a31_0x584906(0xcc)]=_0xf4dac2=>{const _0x15acc1=a31_0x584906,_0x2ceebe={};_0x2ceebe['XXaRL']=function(_0x5037e0,_0x4ed780){return _0x5037e0!==_0x4ed780;},_0x2ceebe[_0x15acc1(0xd1)]=_0x15acc1(0xce),_0x2ceebe['pQHxP']=_0x15acc1(0x10d),_0x2ceebe[_0x15acc1(0x10a)]='failed';const _0x1b3dd6=_0x2ceebe,_0x5ab5d3=_0xf4dac2[_0x15acc1(0xd8)]['reduce']((_0x4d051c,_0xa13a45)=>{const _0x53e6e7=_0x15acc1,_0x3e27b8=exports['getHookSkippedTests'](_0xa13a45);return _0x3e27b8&&(_0x4d051c=_0x4d051c[_0x53e6e7(0xc8)](_0x3e27b8)),_0x4d051c;},[]),_0x419f0e=_0xf4dac2[_0x15acc1(0xf5)][_0x15acc1(0x104)](_0x3733f3=>{const _0x2b106c=_0x15acc1,_0x5109fa=_0x1b3dd6[_0x2b106c(0xfb)](_0x3733f3[_0x2b106c(0xe7)],_0x1b3dd6[_0x2b106c(0xd1)])&&!_0x3733f3['markedStatus']&&_0x1b3dd6[_0x2b106c(0xfb)](_0x3733f3['state'],_0x1b3dd6[_0x2b106c(0xf3)])&&_0x1b3dd6['XXaRL'](_0x3733f3[_0x2b106c(0xd4)],_0x1b3dd6[_0x2b106c(0x10a)])&&!_0x3733f3[_0x2b106c(0xde)];return _0x5109fa;});return _0x419f0e[_0x15acc1(0xc8)](_0x5ab5d3);};
@@ -1 +1 @@
1
- const a32_0x7f0119=a32_0x535f;(function(_0x3c2725,_0x10be01){const _0x44cd12=a32_0x535f,_0x5777dc=_0x3c2725();while(!![]){try{const _0x36bb9d=parseInt(_0x44cd12(0x166))/0x1+parseInt(_0x44cd12(0x16f))/0x2+parseInt(_0x44cd12(0x1a2))/0x3+-parseInt(_0x44cd12(0x1b8))/0x4*(parseInt(_0x44cd12(0x178))/0x5)+parseInt(_0x44cd12(0x155))/0x6*(-parseInt(_0x44cd12(0x16b))/0x7)+-parseInt(_0x44cd12(0x1b5))/0x8*(parseInt(_0x44cd12(0x18d))/0x9)+parseInt(_0x44cd12(0x180))/0xa*(parseInt(_0x44cd12(0x1c6))/0xb);if(_0x36bb9d===_0x10be01)break;else _0x5777dc['push'](_0x5777dc['shift']());}catch(_0x549549){_0x5777dc['push'](_0x5777dc['shift']());}}}(a32_0x5b96,0x3b701));function a32_0x5b96(){const _0x160b88=['browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','./test-observability/mochaUtils','185600azoPzB','getGlobal','thBuildUuid','protocol','bstackA11yShouldScan','49CHreWM','startMonitoring','mochaHooks','wvmzl','463184oepaib','info','dfNTK','XZUAC','passed','state','HcXfb','thTestRunUuid','stopMonitoring','14085tdHGhq','\x20-\x20','Hvowd','Automate\x20test\x20case\x20execution\x20has\x20started.','isAccessibilityPlatform','hcSyl','../../helpers/performance-tester','jVoXH','126250vlTGdQ','appium:app','accessibilityScanStarted','../../helpers/testhub/utils','quitCount_','titlePath','initQuit','err','EurcT','Passed','performScan','\x20|\x20','__drivers','99crFVkW','bIGjn','nYiHR','session_','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/helper','stringify','dElpz','mxoAW','../../helpers/globals','message','push','testcase','JhBTF','driverCleanup','BROWSERSTACK_TESTHUB_UUID','Failed:\x20','__error_messages__','percy','uqtVn','ABWkI','1140126CDjkBK','dFcPp','browserstackSessionName','Peypk','bVomh','GrDmR','EtxMQ','.\x20Error\x20:','http:','BUUSI','shouldScanTestForAccessibility','__sessionFailed','env','timeout','Failed\x20to\x20store\x20session\x20name:\x20','app','CFKdq','wZmRk','PLErx','317880LdxVDv','mhZqD','../../helpers/percy/utils','4ygcJkJ','failed','capabilities','ygGVI','then','__skipSessionName','winstonLogger','length','executeScript','shift','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','dGyGX','sWyYr','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','22rKqesY','now','isArray','executeAsyncScript','currentTest','BorBo','MZGgc','join','saveTestResults','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','\x22}}','hbgJJ','119250xPuWfT','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','ENV_VAR','error','format','TDjKB','QyvgH','thJwtToken','../../helpers/logger','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/testhub/constants','Brehx','https:','Performing\x20scan\x20before\x20saving\x20results','debug'];a32_0x5b96=function(){return _0x160b88;};return a32_0x5b96();}function a32_0x535f(_0x127292,_0x686a8c){const _0x5b964b=a32_0x5b96();return a32_0x535f=function(_0x535f6c,_0x4dedf1){_0x535f6c=_0x535f6c-0x151;let _0x294094=_0x5b964b[_0x535f6c];return _0x294094;},a32_0x535f(_0x127292,_0x686a8c);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x7f0119(0x1b7)),{sendPlatformDetails}=require(a32_0x7f0119(0x165)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x7f0119(0x192)),PerformanceTester=require(a32_0x7f0119(0x17e)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x7f0119(0x196)),logger=require(a32_0x7f0119(0x15d))[a32_0x7f0119(0x1be)],{shouldProcessEventForTesthub}=require(a32_0x7f0119(0x183)),testHubConstants=require(a32_0x7f0119(0x15f));exports[a32_0x7f0119(0x16d)]={'beforeAll'(){const _0x10fc6a=a32_0x7f0119,_0x2ca0e6={'BorBo':function(_0x15ce47,_0x3bd0a6,_0xd3b494,_0x1d7128){return _0x15ce47(_0x3bd0a6,_0xd3b494,_0x1d7128);},'EtxMQ':_0x10fc6a(0x1b9),'wZmRk':_0x10fc6a(0x18b),'XZUAC':function(_0x2a758b,_0x24bff0,_0x38a938){return _0x2a758b(_0x24bff0,_0x38a938);},'ygGVI':_0x10fc6a(0x173),'TDjKB':function(_0x4ba1e4){return _0x4ba1e4();}};PerformanceTester[_0x10fc6a(0x16c)]();const _0x17820b='browserstack internal helper hook';global[_0x10fc6a(0x19e)]=[],global[_0x10fc6a(0x1ad)]=![],global[_0x10fc6a(0x19b)]=async()=>{const _0x15b71b=_0x10fc6a;let _0x3b705a=![];try{await global['__drivers'][0x0][_0x15b71b(0x190)],_0x3b705a=!![],global[_0x15b71b(0x1ad)]?await _0x2ca0e6[_0x15b71b(0x1cb)](markSessionStatus,global['__drivers'][0x0],_0x2ca0e6[_0x15b71b(0x1a8)],global['__error_messages__'][_0x15b71b(0x1cd)](_0x2ca0e6[_0x15b71b(0x1b3)])):await _0x2ca0e6['XZUAC'](markSessionStatus,global[_0x15b71b(0x18c)][0x0],_0x2ca0e6[_0x15b71b(0x1bb)]);}catch(_0xdc9db){}global[_0x15b71b(0x19e)]=[],global[_0x15b71b(0x1ad)]=![];if(_0x3b705a)try{try{_0x2ca0e6[_0x15b71b(0x15a)](shouldProcessEventForTesthub)&&(global[_0x15b71b(0x18c)][0x0]&&await _0x2ca0e6[_0x15b71b(0x172)](sendPlatformDetails,global['__drivers'][0x0],this[_0x15b71b(0x1ca)]?this[_0x15b71b(0x1ca)]['testAnalyticsId']:null));}catch{}await global[_0x15b71b(0x18c)][0x0][_0x15b71b(0x186)]();}catch(_0x2fef60){}};},'beforeEach'(_0x51ee8e){const _0x286c54=a32_0x7f0119,_0x3fb0e8={'hcSyl':function(_0x2a8dc5,_0x2cd45b){return _0x2a8dc5>_0x2cd45b;},'Hvowd':_0x286c54(0x179),'BUUSI':function(_0x2bfb3b,_0x497563,_0x2a1229){return _0x2bfb3b(_0x497563,_0x2a1229);},'zWJZw':_0x286c54(0x16a),'lNCkE':function(_0x6dad00){return _0x6dad00();},'mxoAW':_0x286c54(0x17c),'dfNTK':function(_0x38506f,_0x5c8dba){return _0x38506f===_0x5c8dba;},'gmPwe':_0x286c54(0x1aa),'YxGgU':_0x286c54(0x161),'mhZqD':_0x286c54(0x15e),'CFKdq':_0x286c54(0x17b)};new Promise(async _0x3893de=>{const _0xab8c0c=_0x286c54,_0x110867='browserstack internal helper hook';let _0x3e5c31=!![];try{_0x3fb0e8[_0xab8c0c(0x17d)](global[_0xab8c0c(0x18c)][_0xab8c0c(0x1bf)],0x1)&&(await global['driverCleanup'](),global[_0xab8c0c(0x18c)][_0xab8c0c(0x1c1)]()),_0x3fb0e8[_0xab8c0c(0x17d)](global[_0xab8c0c(0x18c)][0x0][_0xab8c0c(0x184)],0x0)&&(_0x3e5c31=![],await global[_0xab8c0c(0x19b)]());}catch{}try{Array['isArray'](global[_0xab8c0c(0x18c)])&&global[_0xab8c0c(0x18c)][0x0]&&(global[_0xab8c0c(0x18c)][0x0]['browserstackSessionName']=this[_0xab8c0c(0x1ca)][_0xab8c0c(0x185)]()[_0xab8c0c(0x1cd)](_0x3fb0e8[_0xab8c0c(0x17a)])),global[_0xab8c0c(0x1a4)]=this[_0xab8c0c(0x1ca)][_0xab8c0c(0x185)]()[_0xab8c0c(0x1cd)](_0x3fb0e8[_0xab8c0c(0x17a)]);}catch(_0x37d0b3){logger[_0xab8c0c(0x163)](_0xab8c0c(0x1b0)+_0x37d0b3);}this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]=_0x3fb0e8[_0xab8c0c(0x1ab)](shouldScanTestForAccessibility,this[_0xab8c0c(0x1ca)]['titlePath'](),!![]),globals['setGlobal'](_0x3fb0e8['zWJZw'],this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]),this[_0xab8c0c(0x1ca)]['accessibilityScanStarted']=!![];if(_0x3fb0e8['lNCkE'](isAccessibilityAutomationSession)&&_0x3e5c31&&Array[_0xab8c0c(0x1c8)](global[_0xab8c0c(0x18c)])&&_0x3fb0e8[_0xab8c0c(0x17d)](global[_0xab8c0c(0x18c)][_0xab8c0c(0x1bf)],0x0)&&globals[_0xab8c0c(0x167)](_0x3fb0e8[_0xab8c0c(0x195)]))try{const _0x13d9d7=await global['__drivers'][0x0][_0xab8c0c(0x190)];if(_0x13d9d7){let _0x1a42cc=!![];const _0x234c4b=await global[_0xab8c0c(0x18c)][0x0]['getCurrentUrl']();let _0x142fe0;try{_0x142fe0=new URL(_0x234c4b);}catch(_0x56acd3){_0x1a42cc=![];}_0x1a42cc=_0x3fb0e8[_0xab8c0c(0x171)](_0x142fe0[_0xab8c0c(0x169)],_0x3fb0e8['gmPwe'])||_0x3fb0e8[_0xab8c0c(0x171)](_0x142fe0['protocol'],_0x3fb0e8['YxGgU']),_0x1a42cc&&(this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]&&logger[_0xab8c0c(0x170)](_0x3fb0e8[_0xab8c0c(0x1b6)])),this[_0xab8c0c(0x1ca)][_0xab8c0c(0x182)]=this['currentTest'][_0xab8c0c(0x1ac)],this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]&&logger[_0xab8c0c(0x170)](_0x3fb0e8[_0xab8c0c(0x1b2)]);}}catch(_0x15a7f7){logger[_0xab8c0c(0x158)](_0xab8c0c(0x156)+util[_0xab8c0c(0x159)](_0x15a7f7));}_0x3fb0e8['lNCkE'](_0x3893de);})[_0x286c54(0x1bc)](_0x51ee8e);},'afterEach'(_0x544453){const _0x4ef9b7=a32_0x7f0119,_0x4e6922={'HcXfb':function(_0x1910e1,_0x45b969){return _0x1910e1>_0x45b969;},'nYiHR':function(_0x1566c8,_0xe564fa){return _0x1566c8===_0xe564fa;},'Peypk':_0x4ef9b7(0x199),'uqtVn':function(_0xa946f3,_0xed98d6){return _0xa946f3>_0xed98d6;},'Brehx':_0x4ef9b7(0x181),'dFcPp':function(_0x237081,_0x78b471,_0x2cc4d8,_0x5b1e57){return _0x237081(_0x78b471,_0x2cc4d8,_0x5b1e57);},'PLErx':_0x4ef9b7(0x179),'QyvgH':function(_0x659cd5,_0x4ce52f){return _0x659cd5!==_0x4ce52f;},'GrDmR':_0x4ef9b7(0x173),'nZYfo':function(_0x42d9b6,_0x4db9e2,_0x341d5d){return _0x42d9b6(_0x4db9e2,_0x341d5d);},'bVomh':function(_0x2fcd7b,_0x4ec53a){return _0x2fcd7b+_0x4ec53a;},'sWyYr':_0x4ef9b7(0x19d),'hcfAY':_0x4ef9b7(0x158),'wvmzl':_0x4ef9b7(0x189),'AabvT':_0x4ef9b7(0x170),'dGyGX':_0x4ef9b7(0x17c),'dElpz':_0x4ef9b7(0x16a),'jVoXH':_0x4ef9b7(0x1c5),'hbgJJ':_0x4ef9b7(0x162),'bIGjn':_0x4ef9b7(0x191),'aBmCY':function(_0x3b1426){return _0x3b1426();},'MZGgc':function(_0xe49488,_0x5a579e,_0xad70ec){return _0xe49488(_0x5a579e,_0xad70ec);},'JhBTF':function(_0x4c0d56){return _0x4c0d56();},'LYINw':function(_0x443cd7,_0x389a5f,_0xaa95e){return _0x443cd7(_0x389a5f,_0xaa95e);},'ABWkI':_0x4ef9b7(0x163)},_0x475531='browserstack internal helper hook';this[_0x4ef9b7(0x1af)](0xfde8);const _0x58f167=async(_0xc4ed34,_0x3eb4ea)=>{const _0xd6cb89=_0x4ef9b7;await global[_0xd6cb89(0x18c)][0x0][_0xd6cb89(0x1c0)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xc4ed34+',\x22level\x22:\x20\x22'+_0x3eb4ea+_0xd6cb89(0x153));};new Promise(async _0xd7c1f3=>{const _0x470cec=_0x4ef9b7;try{_0x4e6922['HcXfb'](global[_0x470cec(0x18c)][_0x470cec(0x1bf)],0x1)&&(await global[_0x470cec(0x19b)](),global[_0x470cec(0x18c)][_0x470cec(0x1c1)](),global[_0x470cec(0x19e)]=[],global[_0x470cec(0x1ad)]=![]);try{if(global[_0x470cec(0x19f)]&&_0x4e6922[_0x470cec(0x18f)](global['percyCaptureMode'],_0x4e6922[_0x470cec(0x1a5)])&&global[_0x470cec(0x18c)][0x0]){const _0x3de91e=_0x4e6922[_0x470cec(0x1a0)](global['capabilities'][_0x470cec(0x1bf)],0x0)?!!global[_0x470cec(0x1ba)][0x0][_0x470cec(0x1b1)]||!!global['capabilities'][0x0][_0x4e6922[_0x470cec(0x160)]]:![],_0x256416={};_0x256416[_0x470cec(0x1b1)]=_0x3de91e,await _0x4e6922[_0x470cec(0x1a3)](percyAutoCapture,global[_0x470cec(0x18c)][0x0],_0x4e6922[_0x470cec(0x1a5)],_0x256416);}}catch(_0x265e23){}!global[_0x470cec(0x1bd)]&&(await global[_0x470cec(0x18c)][0x0][_0x470cec(0x1c0)](_0x470cec(0x164)+JSON['stringify'](this[_0x470cec(0x1ca)][_0x470cec(0x185)]()['join'](_0x4e6922[_0x470cec(0x1b4)]))+'}}'),global['__drivers'][0x0]['sessionNameSet__']=!![]);const _0x20c5f6=_0x4e6922[_0x470cec(0x15b)](this[_0x470cec(0x1ca)][_0x470cec(0x174)],_0x4e6922[_0x470cec(0x1a7)]);_0x20c5f6?(global[_0x470cec(0x1ad)]=!![],global['__error_messages__'][_0x470cec(0x198)](this[_0x470cec(0x1ca)][_0x470cec(0x187)][_0x470cec(0x197)]),await _0x4e6922['nZYfo'](_0x58f167,JSON[_0x470cec(0x193)](_0x4e6922[_0x470cec(0x1a6)](_0x4e6922[_0x470cec(0x1c4)],this['currentTest'][_0x470cec(0x187)][_0x470cec(0x197)])),_0x4e6922['hcfAY'])):await _0x4e6922['nZYfo'](_0x58f167,JSON[_0x470cec(0x193)](_0x4e6922[_0x470cec(0x16e)]),_0x4e6922['AabvT']);}catch(_0x4de7bb){}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x470cec(0x167)](_0x4e6922[_0x470cec(0x1c3)])&&globals['getGlobal'](_0x4e6922[_0x470cec(0x194)])){logger[_0x470cec(0x170)](_0x4e6922[_0x470cec(0x17f)]);const _0x172b8f={};_0x172b8f[_0x470cec(0x176)]=this[_0x470cec(0x1ca)]['testAnalyticsId'],_0x172b8f[_0x470cec(0x168)]=process[_0x470cec(0x1ae)][testHubConstants[_0x470cec(0x157)][_0x470cec(0x19c)]],_0x172b8f[_0x470cec(0x15c)]=process[_0x470cec(0x1ae)][testHubConstants[_0x470cec(0x157)]['BROWSERSTACK_TESTHUB_JWT']];const _0x14f1fe=_0x172b8f;logger['debug'](_0x470cec(0x152)+JSON[_0x470cec(0x193)](_0x14f1fe)),logger['debug'](_0x4e6922[_0x470cec(0x154)]),logger[_0x470cec(0x163)](util[_0x470cec(0x159)](await global[_0x470cec(0x18c)][0x0][_0x470cec(0x1c9)](scripts[_0x470cec(0x18a)],{'method':global[_0x470cec(0x1a4)]}))),await global['__drivers'][0x0][_0x470cec(0x1c9)](scripts[_0x470cec(0x151)],_0x14f1fe),logger[_0x470cec(0x170)](_0x4e6922[_0x470cec(0x18e)]);}}catch(_0x3a2e81){logger[_0x470cec(0x158)](_0x470cec(0x1c2)+this[_0x470cec(0x1ca)]['titlePath']()+_0x470cec(0x1a9),_0x3a2e81);}try{try{if(_0x4e6922['aBmCY'](shouldProcessEventForTesthub)){global[_0x470cec(0x18c)][0x0]&&await _0x4e6922[_0x470cec(0x1cc)](sendPlatformDetails,global[_0x470cec(0x18c)][0x0],this['currentTest']?this[_0x470cec(0x1ca)]['testAnalyticsId']:null);if(_0x4e6922[_0x470cec(0x19a)](isBrowserstackInfra)){const _0xe2a48a='ObservabilitySync:'+Date[_0x470cec(0x1c7)]();await _0x4e6922['LYINw'](_0x58f167,JSON[_0x470cec(0x193)](_0xe2a48a),_0x4e6922[_0x470cec(0x1a1)]);}}}catch{}_0x4e6922[_0x470cec(0x175)](global[_0x470cec(0x18c)][0x0][_0x470cec(0x184)],0x0)&&await global[_0x470cec(0x19b)]();}catch(_0x23080e){}_0x4e6922[_0x470cec(0x19a)](_0xd7c1f3);})[_0x4ef9b7(0x1bc)](()=>_0x544453());},'afterAll'(_0x603cb8){const _0x5bbe64=a32_0x7f0119,_0x3a7bd4={'EurcT':function(_0x448726){return _0x448726();}},_0x1e4432='browserstack internal helper hook';this[_0x5bbe64(0x1af)](0xfde8),new Promise(async _0x2e0d5c=>{const _0x44ade2=_0x5bbe64;PerformanceTester[_0x44ade2(0x177)](),await global[_0x44ade2(0x19b)](),_0x3a7bd4[_0x44ade2(0x188)](_0x2e0d5c);})[_0x5bbe64(0x1bc)](()=>_0x603cb8());}};
1
+ function a32_0x1d51(_0x3667ed,_0x481579){const _0x56fa04=a32_0x56fa();return a32_0x1d51=function(_0x1d516b,_0x2ff9cb){_0x1d516b=_0x1d516b-0x12c;let _0x2cfdde=_0x56fa04[_0x1d516b];return _0x2cfdde;},a32_0x1d51(_0x3667ed,_0x481579);}const a32_0x5b8f03=a32_0x1d51;function a32_0x56fa(){const _0x8054fe=['cEJwp','../../helpers/accessibility-automation/scripts','initQuit','thBuildUuid','browserstackSessionName','executeScript','6958377jQFXVQ','50ZIWJJc','titlePath','78105jBfjnc','../../helpers/globals','http:','\x20|\x20','wiACY','iqhmy','qKreZ','accessibilityScanStarted','iQFgo','Passed','thTestRunUuid','isAccessibilityPlatform','dtbHP','error','join','Aphkw','rgPDV','failed','gpNlm','length','2528lcyPRg','app','timeout','pRYQp','5124610XiWHRs','aAoWR','capabilities','JRwNF','iuvSB','startMonitoring','Qabwi','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','AqHUS','session_','info','QagNC','stringify','appium:app','anejY','shift','HVFbn','__error_messages__','MFHpx','\x22}}','protocol','KqfqS','kPCIn','Failed:\x20','driverCleanup','IbxlF','format','Pnrqu','util','495030PACDTw','push','quitCount_','debug','then','\x20-\x20','13174RjUWLN','__skipSessionName','passed','MeloV','BClzz','state','../../helpers/testhub/utils','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','BROWSERSTACK_TESTHUB_UUID','executeAsyncScript','ENV_VAR','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','err','performScan','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','DpleO','stopMonitoring','./test-observability/mochaUtils','bstackA11yShouldScan','__drivers','XwCeb','testAnalyticsId','percyCaptureMode','392192psYplS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ObservabilitySync:','ycQlp','oFNXe','currentTest','../../helpers/testhub/constants','shouldScanTestForAccessibility','BpDXW','aEege','thJwtToken','WNhPi','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','5sILfrn','oFvIv','akadV','jVHpe','saveTestResults','.\x20Error\x20:','env','../../helpers/accessibility-automation/helper','796249bDOGbM','__sessionFailed','EJFrQ','https:','Failed\x20to\x20store\x20session\x20name:\x20','percy','../../helpers/logger'];a32_0x56fa=function(){return _0x8054fe;};return a32_0x56fa();}(function(_0x1f36bf,_0x46ead7){const _0x2167b4=a32_0x1d51,_0x35019a=_0x1f36bf();while(!![]){try{const _0x55eaa7=-parseInt(_0x2167b4(0x12f))/0x1+-parseInt(_0x2167b4(0x13d))/0x2*(parseInt(_0x2167b4(0x13f))/0x3)+parseInt(_0x2167b4(0x191))/0x4*(-parseInt(_0x2167b4(0x19e))/0x5)+parseInt(_0x2167b4(0x174))/0x6+-parseInt(_0x2167b4(0x17a))/0x7*(-parseInt(_0x2167b4(0x153))/0x8)+parseInt(_0x2167b4(0x13c))/0x9+parseInt(_0x2167b4(0x157))/0xa;if(_0x55eaa7===_0x46ead7)break;else _0x35019a['push'](_0x35019a['shift']());}catch(_0x5e65fe){_0x35019a['push'](_0x35019a['shift']());}}}(a32_0x56fa,0x65f7b));const util=require(a32_0x5b8f03(0x173)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x5b8f03(0x12e)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x5b8f03(0x18b)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x5b8f03(0x137)),globals=require(a32_0x5b8f03(0x140)),logger=require(a32_0x5b8f03(0x135))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x5b8f03(0x180)),testHubConstants=require(a32_0x5b8f03(0x197));exports['mochaHooks']={'beforeAll'(){const _0xc0e5d6=a32_0x5b8f03,_0x3d2d51={'aEege':function(_0x224973,_0x1eacad,_0x1199c5,_0x1435e1){return _0x224973(_0x1eacad,_0x1199c5,_0x1435e1);},'XwCeb':_0xc0e5d6(0x150),'oFNXe':_0xc0e5d6(0x142),'iQFgo':function(_0x46a75a,_0x512a31,_0x5adb6c){return _0x46a75a(_0x512a31,_0x5adb6c);},'GHRst':_0xc0e5d6(0x17c),'dtbHP':function(_0x2ad621){return _0x2ad621();}};PerformanceTester[_0xc0e5d6(0x15c)]();const _0x53106a='browserstack internal helper hook';global[_0xc0e5d6(0x168)]=[],global[_0xc0e5d6(0x130)]=![],global[_0xc0e5d6(0x16f)]=async()=>{const _0x45a7bb=_0xc0e5d6;let _0x2a4e59=![];try{await global[_0x45a7bb(0x18d)][0x0][_0x45a7bb(0x160)],_0x2a4e59=!![],global[_0x45a7bb(0x130)]?await _0x3d2d51[_0x45a7bb(0x19a)](markSessionStatus,global[_0x45a7bb(0x18d)][0x0],_0x3d2d51[_0x45a7bb(0x18e)],global[_0x45a7bb(0x168)]['join'](_0x3d2d51[_0x45a7bb(0x195)])):await _0x3d2d51[_0x45a7bb(0x147)](markSessionStatus,global[_0x45a7bb(0x18d)][0x0],_0x3d2d51['GHRst']);}catch(_0x52845b){}global[_0x45a7bb(0x168)]=[],global['__sessionFailed']=![];if(_0x2a4e59)try{try{_0x3d2d51[_0x45a7bb(0x14b)](shouldProcessEventForTesthub)&&(global[_0x45a7bb(0x18d)][0x0]&&await _0x3d2d51[_0x45a7bb(0x147)](sendPlatformDetails,global['__drivers'][0x0],this[_0x45a7bb(0x196)]?this[_0x45a7bb(0x196)]['testAnalyticsId']:null));}catch{}await global['__drivers'][0x0][_0x45a7bb(0x138)]();}catch(_0x129165){}};},'beforeEach'(_0x4dabc5){const _0x569b44=a32_0x5b8f03,_0x5d5a2b={'MFHpx':function(_0x2ec24a,_0x5457df){return _0x2ec24a>_0x5457df;},'BpDXW':_0x569b44(0x179),'gpNlm':function(_0x341960,_0x13a53b,_0x59a74b){return _0x341960(_0x13a53b,_0x59a74b);},'iuvSB':_0x569b44(0x18c),'QagNC':function(_0x3e62b6){return _0x3e62b6();},'Qabwi':_0x569b44(0x14a),'rgPDV':function(_0x585e04,_0xf95c53){return _0x585e04===_0xf95c53;},'YyFIS':_0x569b44(0x141),'anejY':_0x569b44(0x132),'aXQsP':_0x569b44(0x181),'WNhPi':'Automate\x20test\x20case\x20execution\x20has\x20started.','wZiSL':function(_0x45698c){return _0x45698c();}};new Promise(async _0x4efafd=>{const _0x57bb4a=_0x569b44,_0x1acb34='browserstack internal helper hook';let _0x332bf1=!![];try{_0x5d5a2b[_0x57bb4a(0x169)](global[_0x57bb4a(0x18d)][_0x57bb4a(0x152)],0x1)&&(await global[_0x57bb4a(0x16f)](),global[_0x57bb4a(0x18d)][_0x57bb4a(0x166)]()),_0x5d5a2b[_0x57bb4a(0x169)](global[_0x57bb4a(0x18d)][0x0][_0x57bb4a(0x176)],0x0)&&(_0x332bf1=![],await global[_0x57bb4a(0x16f)]());}catch{}try{Array['isArray'](global[_0x57bb4a(0x18d)])&&global[_0x57bb4a(0x18d)][0x0]&&(global[_0x57bb4a(0x18d)][0x0][_0x57bb4a(0x13a)]=this[_0x57bb4a(0x196)]['titlePath']()['join'](_0x5d5a2b['BpDXW'])),global[_0x57bb4a(0x13a)]=this[_0x57bb4a(0x196)][_0x57bb4a(0x13e)]()[_0x57bb4a(0x14d)](_0x5d5a2b[_0x57bb4a(0x199)]);}catch(_0x4351f1){logger[_0x57bb4a(0x177)](_0x57bb4a(0x133)+_0x4351f1);}this[_0x57bb4a(0x196)][_0x57bb4a(0x198)]=_0x5d5a2b[_0x57bb4a(0x151)](shouldScanTestForAccessibility,this[_0x57bb4a(0x196)][_0x57bb4a(0x13e)](),!![]),globals['setGlobal'](_0x5d5a2b[_0x57bb4a(0x15b)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x57bb4a(0x196)][_0x57bb4a(0x146)]=!![];if(_0x5d5a2b[_0x57bb4a(0x162)](isAccessibilityAutomationSession)&&_0x332bf1&&Array['isArray'](global[_0x57bb4a(0x18d)])&&_0x5d5a2b['MFHpx'](global[_0x57bb4a(0x18d)][_0x57bb4a(0x152)],0x0)&&globals['getGlobal'](_0x5d5a2b[_0x57bb4a(0x15d)]))try{const _0x1061fe=await global['__drivers'][0x0][_0x57bb4a(0x160)];if(_0x1061fe){let _0x14160d=!![];const _0x4dfe71=await global['__drivers'][0x0]['getCurrentUrl']();let _0x523388;try{_0x523388=new URL(_0x4dfe71);}catch(_0x4b5e32){_0x14160d=![];}_0x14160d=_0x5d5a2b[_0x57bb4a(0x14f)](_0x523388[_0x57bb4a(0x16b)],_0x5d5a2b['YyFIS'])||_0x5d5a2b[_0x57bb4a(0x14f)](_0x523388[_0x57bb4a(0x16b)],_0x5d5a2b[_0x57bb4a(0x165)]),_0x14160d&&(this[_0x57bb4a(0x196)][_0x57bb4a(0x198)]&&logger[_0x57bb4a(0x161)](_0x5d5a2b['aXQsP'])),this[_0x57bb4a(0x196)][_0x57bb4a(0x146)]=this['currentTest'][_0x57bb4a(0x198)],this[_0x57bb4a(0x196)][_0x57bb4a(0x198)]&&logger[_0x57bb4a(0x161)](_0x5d5a2b[_0x57bb4a(0x19c)]);}}catch(_0x5143c5){logger[_0x57bb4a(0x14c)](_0x57bb4a(0x19d)+util[_0x57bb4a(0x171)](_0x5143c5));}_0x5d5a2b['wZiSL'](_0x4efafd);})['then'](_0x4dabc5);},'afterEach'(_0x154dd9){const _0x5482f3=a32_0x5b8f03,_0x5e76c0={'IbxlF':function(_0x12d213,_0x2b9937){return _0x12d213>_0x2b9937;},'wiACY':function(_0x4266c2,_0x3f854c){return _0x4266c2===_0x3f854c;},'HVFbn':'testcase','qKreZ':_0x5482f3(0x164),'Aphkw':function(_0x348797,_0x5b080c,_0x27d60a,_0x281386){return _0x348797(_0x5b080c,_0x27d60a,_0x281386);},'ycQlp':_0x5482f3(0x179),'JRwNF':function(_0x37e953,_0x205084){return _0x37e953!==_0x205084;},'RpeYl':'passed','EJFrQ':function(_0x11b531,_0x131084,_0x3984a1){return _0x11b531(_0x131084,_0x3984a1);},'kPCIn':function(_0x116a63,_0x140e5a){return _0x116a63+_0x140e5a;},'eVuHD':_0x5482f3(0x16e),'cEJwp':_0x5482f3(0x14c),'iqhmy':function(_0x19751d,_0x371fbd,_0x21046e){return _0x19751d(_0x371fbd,_0x21046e);},'MeloV':_0x5482f3(0x148),'AqHUS':_0x5482f3(0x161),'oFvIv':_0x5482f3(0x14a),'jVHpe':_0x5482f3(0x18c),'PCTPO':_0x5482f3(0x185),'BClzz':'Performing\x20scan\x20before\x20saving\x20results','HkHxA':_0x5482f3(0x192),'DpleO':function(_0x514cdf){return _0x514cdf();},'KqfqS':function(_0x14da18,_0x33f50c,_0x6e7e3){return _0x14da18(_0x33f50c,_0x6e7e3);},'pRYQp':function(_0x14c547,_0x514969,_0x4580f1){return _0x14c547(_0x514969,_0x4580f1);},'aAoWR':_0x5482f3(0x177),'BFfcU':function(_0x6f5cfd,_0x4a4981){return _0x6f5cfd>_0x4a4981;},'akadV':function(_0x260050){return _0x260050();}},_0xc220f4='browserstack internal helper hook';this[_0x5482f3(0x155)](0xfde8);const _0x46e9ba=async(_0x34ee43,_0x516b79)=>{const _0x1ab77d=_0x5482f3;await global[_0x1ab77d(0x18d)][0x0][_0x1ab77d(0x13b)](_0x1ab77d(0x188)+_0x34ee43+',\x22level\x22:\x20\x22'+_0x516b79+_0x1ab77d(0x16a));};new Promise(async _0x38f26a=>{const _0x1a5d75=_0x5482f3;try{_0x5e76c0[_0x1a5d75(0x170)](global[_0x1a5d75(0x18d)][_0x1a5d75(0x152)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1a5d75(0x166)](),global[_0x1a5d75(0x168)]=[],global[_0x1a5d75(0x130)]=![]);try{if(global[_0x1a5d75(0x134)]&&_0x5e76c0[_0x1a5d75(0x143)](global[_0x1a5d75(0x190)],_0x5e76c0[_0x1a5d75(0x167)])&&global[_0x1a5d75(0x18d)][0x0]){const _0x5ee16b=_0x5e76c0[_0x1a5d75(0x170)](global[_0x1a5d75(0x159)][_0x1a5d75(0x152)],0x0)?!!global[_0x1a5d75(0x159)][0x0][_0x1a5d75(0x154)]||!!global[_0x1a5d75(0x159)][0x0][_0x5e76c0[_0x1a5d75(0x145)]]:![],_0x460f33={};_0x460f33[_0x1a5d75(0x154)]=_0x5ee16b,await _0x5e76c0[_0x1a5d75(0x14e)](percyAutoCapture,global[_0x1a5d75(0x18d)][0x0],_0x5e76c0[_0x1a5d75(0x167)],_0x460f33);}}catch(_0x3aad22){}!global[_0x1a5d75(0x17b)]&&(await global['__drivers'][0x0][_0x1a5d75(0x13b)](_0x1a5d75(0x15e)+JSON['stringify'](this[_0x1a5d75(0x196)][_0x1a5d75(0x13e)]()[_0x1a5d75(0x14d)](_0x5e76c0[_0x1a5d75(0x194)]))+'}}'),global[_0x1a5d75(0x18d)][0x0]['sessionNameSet__']=!![]);const _0x3f8e75=_0x5e76c0[_0x1a5d75(0x15a)](this[_0x1a5d75(0x196)][_0x1a5d75(0x17f)],_0x5e76c0['RpeYl']);_0x3f8e75?(global[_0x1a5d75(0x130)]=!![],global['__error_messages__'][_0x1a5d75(0x175)](this['currentTest'][_0x1a5d75(0x186)]['message']),await _0x5e76c0[_0x1a5d75(0x131)](_0x46e9ba,JSON['stringify'](_0x5e76c0[_0x1a5d75(0x16d)](_0x5e76c0['eVuHD'],this[_0x1a5d75(0x196)][_0x1a5d75(0x186)]['message'])),_0x5e76c0[_0x1a5d75(0x136)])):await _0x5e76c0[_0x1a5d75(0x144)](_0x46e9ba,JSON[_0x1a5d75(0x163)](_0x5e76c0[_0x1a5d75(0x17d)]),_0x5e76c0[_0x1a5d75(0x15f)]);}catch(_0x33a913){}try{if(this['currentTest'][_0x1a5d75(0x146)]&&globals['getGlobal'](_0x5e76c0[_0x1a5d75(0x19f)])&&globals['getGlobal'](_0x5e76c0[_0x1a5d75(0x1a1)])){logger[_0x1a5d75(0x161)](_0x5e76c0['PCTPO']);const _0x559262={};_0x559262[_0x1a5d75(0x149)]=this['currentTest']['testAnalyticsId'],_0x559262[_0x1a5d75(0x139)]=process['env'][testHubConstants['ENV_VAR'][_0x1a5d75(0x182)]],_0x559262[_0x1a5d75(0x19b)]=process[_0x1a5d75(0x12d)][testHubConstants[_0x1a5d75(0x184)]['BROWSERSTACK_TESTHUB_JWT']];const _0x10e210=_0x559262;logger[_0x1a5d75(0x177)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1a5d75(0x163)](_0x10e210)),logger[_0x1a5d75(0x177)](_0x5e76c0[_0x1a5d75(0x17e)]),logger[_0x1a5d75(0x177)](util[_0x1a5d75(0x171)](await global[_0x1a5d75(0x18d)][0x0][_0x1a5d75(0x183)](scripts[_0x1a5d75(0x187)],{'method':global[_0x1a5d75(0x13a)]}))),await global[_0x1a5d75(0x18d)][0x0][_0x1a5d75(0x183)](scripts[_0x1a5d75(0x1a2)],_0x10e210),logger[_0x1a5d75(0x161)](_0x5e76c0['HkHxA']);}}catch(_0x35c9d2){logger[_0x1a5d75(0x14c)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x1a5d75(0x196)]['titlePath']()+_0x1a5d75(0x12c),_0x35c9d2);}try{try{if(_0x5e76c0[_0x1a5d75(0x189)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x5e76c0[_0x1a5d75(0x16c)](sendPlatformDetails,global[_0x1a5d75(0x18d)][0x0],this[_0x1a5d75(0x196)]?this[_0x1a5d75(0x196)][_0x1a5d75(0x18f)]:null);if(_0x5e76c0['DpleO'](isBrowserstackInfra)){const _0x356afa=_0x1a5d75(0x193)+Date['now']();await _0x5e76c0[_0x1a5d75(0x156)](_0x46e9ba,JSON[_0x1a5d75(0x163)](_0x356afa),_0x5e76c0[_0x1a5d75(0x158)]);}}}catch{}_0x5e76c0['BFfcU'](global[_0x1a5d75(0x18d)][0x0][_0x1a5d75(0x176)],0x0)&&await global['driverCleanup']();}catch(_0xc90ef6){}_0x5e76c0[_0x1a5d75(0x1a0)](_0x38f26a);})[_0x5482f3(0x178)](()=>_0x154dd9());},'afterAll'(_0x9d3375){const _0x11c31b=a32_0x5b8f03,_0xde34f1={'Pnrqu':function(_0x3211dd){return _0x3211dd();}},_0x16a83f='browserstack internal helper hook';this[_0x11c31b(0x155)](0xfde8),new Promise(async _0x163156=>{const _0xb5b699=_0x11c31b;PerformanceTester[_0xb5b699(0x18a)](),await global[_0xb5b699(0x16f)](),_0xde34f1[_0xb5b699(0x172)](_0x163156);})[_0x11c31b(0x178)](()=>_0x9d3375());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x2642(_0x4ef530,_0x2970b5){const _0xfd7d09=a33_0xfd7d();return a33_0x2642=function(_0x26424f,_0x341eab){_0x26424f=_0x26424f-0x6f;let _0x1ebb90=_0xfd7d09[_0x26424f];return _0x1ebb90;},a33_0x2642(_0x4ef530,_0x2970b5);}const a33_0x31a796=a33_0x2642;(function(_0x309cbd,_0x57e1c2){const _0x133be3=a33_0x2642,_0x11d677=_0x309cbd();while(!![]){try{const _0x1414b0=parseInt(_0x133be3(0x9a))/0x1*(-parseInt(_0x133be3(0xaa))/0x2)+parseInt(_0x133be3(0x7a))/0x3*(parseInt(_0x133be3(0x94))/0x4)+parseInt(_0x133be3(0x85))/0x5*(-parseInt(_0x133be3(0x96))/0x6)+parseInt(_0x133be3(0x99))/0x7*(parseInt(_0x133be3(0xb3))/0x8)+parseInt(_0x133be3(0x70))/0x9+-parseInt(_0x133be3(0xa9))/0xa*(-parseInt(_0x133be3(0x93))/0xb)+-parseInt(_0x133be3(0x9f))/0xc*(-parseInt(_0x133be3(0x9e))/0xd);if(_0x1414b0===_0x57e1c2)break;else _0x11d677['push'](_0x11d677['shift']());}catch(_0x3915cf){_0x11d677['push'](_0x11d677['shift']());}}}(a33_0xfd7d,0x95da0));function a33_0xfd7d(){const _0x372a38=['winstonLogger','--env','cwd','useW3C','../../helpers/logger','splice','close','ftsTC','9396610UdhUYc','1127896UuMUgV','GxHxL','Lgiyr','path','getPlatformName','length','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','trim','mergeDeep','198168zFkZcJ','debug','start_process','existsSync','platforms','inherit','isUndefined','stringify','writeFileSync','9774027RicvWU','hub.browserstack.com','host','config','now','../../helpers/BrowserStackSetup','ukSLR','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','lzpuU','test_settings','245859AdTAGn','../../helpers/helper','platform','WLDCZ','join','env','otEXa','push','--config','fuJuU','JFpsy','2814710GdxQbs','exports','Getting\x20your\x20nightwatch\x20configs\x20from\x20','nightwatch-browserstack.json','modifyBrowserStackCaps','YWRgi','nJWEh','LDiqF','aRWRX','filter','test','DAaob','unlinkSync','modifyBrowserStackW3CCaps','11ipEfLD','20VYOaxw','fLGKy','12AoXuDh','info','webdriver','119MZfMko','2lZZGfU','findIndex','forEach','selenium','143468RnYNBA','12OsDukc','desiredCapabilities'];a33_0xfd7d=function(){return _0x372a38;};return a33_0xfd7d();}const fs=require('fs'),path=require(a33_0x31a796(0xad)),{spawn}=require('child_process'),logger=require(a33_0x31a796(0xa5))[a33_0x31a796(0xa1)],{default:BrowserStackSetup}=require(a33_0x31a796(0x75)),helper=require(a33_0x31a796(0x7b)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x583b45,_0x578c45)=>{const _0x33a477=a33_0x31a796,_0x2c29fb={'WLDCZ':'nightwatch.conf.js','aRWRX':'nightwatch.json','nJWEh':function(_0x91ceb8,_0x5d3f40){return _0x91ceb8(_0x5d3f40);},'otEXa':_0x33a477(0xb0)};let _0x2eba76=null,_0x5b81db={};const _0x55acad=_0x578c45[_0x33a477(0x9b)](_0x1d2a14=>_0x1d2a14===_0x33a477(0x82));if(!helper[_0x33a477(0xb9)](_0x583b45[_0x33a477(0x73)])&&fs[_0x33a477(0xb6)](path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x583b45[_0x33a477(0x73)])))_0x2eba76=path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x583b45['config']),_0x578c45[_0x33a477(0xa6)](_0x55acad,0x2);else{if(fs[_0x33a477(0xb6)](path[_0x33a477(0x7e)](process['cwd'](),_0x2c29fb[_0x33a477(0x7d)])))_0x2eba76=path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x2c29fb[_0x33a477(0x7d)]);else fs[_0x33a477(0xb6)](path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x2c29fb[_0x33a477(0x8d)]))&&(_0x2eba76=path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x2c29fb[_0x33a477(0x8d)]));}return _0x2eba76?(logger[_0x33a477(0x97)](_0x33a477(0x87)+_0x2eba76),_0x5b81db=_0x2c29fb[_0x33a477(0x8b)](require,_0x2eba76)):logger[_0x33a477(0x97)](_0x2c29fb[_0x33a477(0x80)]),_0x5b81db;},removeExistingEnvs=_0x1a6a4b=>{const _0x480c95=a33_0x31a796,_0x9b8a01={};_0x9b8a01[_0x480c95(0x90)]=function(_0x13db62,_0x2363a1){return _0x13db62>_0x2363a1;};const _0x3aaa73=_0x9b8a01;let _0x23f5b4=_0x1a6a4b[_0x480c95(0x9b)](_0x50b160=>_0x50b160==='--env');_0x3aaa73[_0x480c95(0x90)](_0x23f5b4,-0x1)&&_0x1a6a4b[_0x480c95(0xa6)](_0x23f5b4,0x2),_0x23f5b4=_0x1a6a4b[_0x480c95(0x9b)](_0x359ab2=>_0x359ab2==='-e'),_0x3aaa73[_0x480c95(0x90)](_0x23f5b4,-0x1)&&_0x1a6a4b[_0x480c95(0xa6)](_0x23f5b4,0x2);};function run(_0xf018ee,_0x5de62a){const _0x3ae176=a33_0x31a796,_0x24f343={'ukSLR':'nightwatch','JFpsy':function(_0x3c1de1,_0x315e65){return _0x3c1de1+_0x315e65;},'fuJuU':_0x3ae176(0x79),'LDiqF':function(_0x39ae64,_0x184ceb,_0x2ec229){return _0x39ae64(_0x184ceb,_0x2ec229);},'fJcti':_0x3ae176(0x71),'kyrYV':_0x3ae176(0x77),'iwOHM':function(_0x1309b4,_0x2a522a){return _0x1309b4===_0x2a522a;},'MMFSN':_0x3ae176(0x88),'YWRgi':function(_0x4519e1,_0x35ff0f){return _0x4519e1(_0x35ff0f);},'fLGKy':function(_0x5ba0a3,_0x1f460f,_0x6da407,_0x311850){return _0x5ba0a3(_0x1f460f,_0x6da407,_0x311850);},'Lgiyr':'nightwatch.cmd','GxHxL':_0x3ae176(0x82),'ftsTC':_0x3ae176(0xa2),'lzpuU':_0x3ae176(0xb8),'JyxGU':_0x3ae176(0xa7)},_0x500bfe=new BrowserStackSetup(_0xf018ee);if(!_0x500bfe[_0x3ae176(0x73)])return;const _0x5eb9dc=_0x24f343[_0x3ae176(0x8c)](getUserNightwatchConfigs,_0xf018ee,_0x5de62a),_0x342066={};_0x342066[_0x3ae176(0xb5)]=![];const _0x130360={};_0x130360[_0x3ae176(0x72)]=_0x24f343['fJcti'],_0x130360['port']=0x1bb;const _0x3ff6fc={};_0x3ff6fc[_0x3ae176(0x98)]=_0x342066,_0x3ff6fc[_0x3ae176(0x9d)]=_0x130360;const _0x3b751e=_0x3ff6fc;logger[_0x3ae176(0x97)](_0x24f343['kyrYV']);const _0x2c4e1d={..._0x5eb9dc},_0x3f8da1=_0x2c4e1d,_0x24e2ad=helper[_0x3ae176(0xa4)](_0x500bfe['config']),_0x175672=[];_0x500bfe[_0x3ae176(0x73)][_0x3ae176(0xb7)][_0x3ae176(0x9c)]((_0x357c60,_0x1e2728)=>{const _0xd2b1ce=_0x3ae176;_0x24e2ad?_0x175672[_0xd2b1ce(0x81)](helper[_0xd2b1ce(0x92)](_0x500bfe[_0xd2b1ce(0x73)],_0x24f343[_0xd2b1ce(0x76)],_0x1e2728)):_0x175672[_0xd2b1ce(0x81)](helper[_0xd2b1ce(0x89)](_0x500bfe[_0xd2b1ce(0x73)],_0x24f343['ukSLR'],_0x1e2728));});const _0x5423d2={},_0x5181fd=[];_0xf018ee[_0x3ae176(0x7f)]=_0xf018ee[_0x3ae176(0x7f)]||_0xf018ee['e'];const _0x5296e0=_0xf018ee[_0x3ae176(0x7f)]?_0xf018ee[_0x3ae176(0x7f)][_0x3ae176(0xb1)]()['split'](',')['map'](_0x28f34c=>_0x28f34c[_0x3ae176(0xb1)]())[_0x3ae176(0x8e)](_0x9e7fb4=>_0x9e7fb4!==''):[''];_0x24f343['iwOHM'](_0x5296e0[_0x3ae176(0xaf)],0x0)&&_0x5296e0[_0x3ae176(0x81)]('');_0x5296e0[_0x3ae176(0x9c)](_0x46846d=>{_0x175672['forEach'](_0x32be65=>{const _0x48f3ea=a33_0x2642;let _0x415f22=_0x24f343[_0x48f3ea(0x84)](helper[_0x48f3ea(0xae)](_0x32be65,'_'),'_'+Date[_0x48f3ea(0x74)]());_0x46846d&&(_0x415f22+='_'+_0x46846d);if(_0x46846d&&(!_0x5eb9dc[_0x24f343['fuJuU']]||!_0x5eb9dc[_0x24f343[_0x48f3ea(0x83)]][_0x46846d]))return;const _0x20f8ad={..._0x3b751e};_0x20f8ad[_0x48f3ea(0xa0)]=_0x32be65;const _0xd0d713=_0x20f8ad;_0x5423d2[_0x415f22]=_0x46846d?helper[_0x48f3ea(0xb2)](_0x5eb9dc[_0x24f343['fuJuU']][_0x46846d],_0xd0d713):_0xd0d713,_0x5181fd['push'](_0x415f22);});});!_0x3f8da1['test_settings']&&(_0x3f8da1['test_settings']={});_0x3f8da1[_0x3ae176(0x79)]={..._0x3f8da1['test_settings'],..._0x5423d2};const _0x508073=path['join'](__dirname,_0x24f343['MMFSN']);fs[_0x3ae176(0x6f)](_0x508073,JSON[_0x3ae176(0xba)](_0x3f8da1)),_0x24f343[_0x3ae176(0x8a)](removeExistingEnvs,_0x5de62a);const _0x14aa82=_0x24f343[_0x3ae176(0x95)](spawn,/^win/[_0x3ae176(0x8f)](process[_0x3ae176(0x7c)])?_0x24f343[_0x3ae176(0xac)]:_0x24f343[_0x3ae176(0x76)],[_0x24f343[_0x3ae176(0xab)],_0x508073,..._0x5de62a['slice'](0x1),_0x24f343[_0x3ae176(0xa8)],_0x5181fd[_0x3ae176(0x7e)](',')],{'stdio':_0x24f343[_0x3ae176(0x78)]});_0x14aa82['on'](_0x24f343['JyxGU'],async _0x112677=>{const _0x1f6157=_0x3ae176;logger[_0x1f6157(0xb4)]('child\x20process\x20exited\x20with\x20code\x20'+_0x112677),logger[_0x1f6157(0x97)]('Deleting\x20'+_0x508073),fs[_0x1f6157(0x91)](_0x508073);});}module[a33_0x31a796(0x86)]=run;
2
+ 'use strict';const a33_0x5cbca4=a33_0x1224;function a33_0x1224(_0xe084bb,_0x548a6f){const _0x53576d=a33_0x5357();return a33_0x1224=function(_0x12244f,_0x4b362c){_0x12244f=_0x12244f-0x13c;let _0xc2f413=_0x53576d[_0x12244f];return _0xc2f413;},a33_0x1224(_0xe084bb,_0x548a6f);}(function(_0x3be163,_0x4e952d){const _0x2de3a3=a33_0x1224,_0x5732af=_0x3be163();while(!![]){try{const _0x11b501=-parseInt(_0x2de3a3(0x14c))/0x1*(-parseInt(_0x2de3a3(0x152))/0x2)+parseInt(_0x2de3a3(0x171))/0x3+parseInt(_0x2de3a3(0x14d))/0x4+parseInt(_0x2de3a3(0x16f))/0x5+parseInt(_0x2de3a3(0x13e))/0x6+parseInt(_0x2de3a3(0x14b))/0x7+-parseInt(_0x2de3a3(0x17b))/0x8;if(_0x11b501===_0x4e952d)break;else _0x5732af['push'](_0x5732af['shift']());}catch(_0x9b8842){_0x5732af['push'](_0x5732af['shift']());}}}(a33_0x5357,0xaf846));function a33_0x5357(){const _0x488bd2=['33538944qqZZxq','ZfdML','split','winstonLogger','hub.browserstack.com','UIEdv','platforms','host','aNFoe','kbYPA','553272EkUxEw','--config','cNWme','useW3C','Getting\x20your\x20nightwatch\x20configs\x20from\x20','cwd','eOagm','../../helpers/helper','unlinkSync','env','nightwatch.json','map','../../helpers/logger','2323531VIwhTN','880886tzJhtl','5333544dMyVaa','selenium','qHyFx','VJAvl','trim','2CwzsVp','platform','config','exports','port','../../helpers/BrowserStackSetup','length','qkfjU','findIndex','test_settings','test','--env','info','webdriver','UZUjr','forEach','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','nightwatch.cmd','join','wcqsR','now','mergeDeep','pFTbj','desiredCapabilities','splice','existsSync','SzTPt','YhykB','writeFileSync','6990235ZRZkaT','child\x20process\x20exited\x20with\x20code\x20','2624466NZWWOD','slice','tfbEV','ipptl','OOyBC','gaDzp','push','child_process','isUndefined','stringify'];a33_0x5357=function(){return _0x488bd2;};return a33_0x5357();}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x5cbca4(0x178)),logger=require(a33_0x5cbca4(0x14a))[a33_0x5cbca4(0x17e)],{default:BrowserStackSetup}=require(a33_0x5cbca4(0x157)),helper=require(a33_0x5cbca4(0x145)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x39d2e7,_0xf168b6)=>{const _0x3eca1d=a33_0x5cbca4,_0x121150={'eOagm':'nightwatch.conf.js','SzTPt':_0x3eca1d(0x148),'gaDzp':function(_0xd60a37,_0xb1961f){return _0xd60a37(_0xb1961f);},'aNFoe':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x19ab9a=null,_0x3926d8={};const _0x109c24=_0xf168b6[_0x3eca1d(0x15a)](_0x47d446=>_0x47d446==='--config');if(!helper[_0x3eca1d(0x179)](_0x39d2e7[_0x3eca1d(0x154)])&&fs['existsSync'](path[_0x3eca1d(0x164)](process['cwd'](),_0x39d2e7[_0x3eca1d(0x154)])))_0x19ab9a=path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x39d2e7['config']),_0xf168b6['splice'](_0x109c24,0x2);else{if(fs[_0x3eca1d(0x16b)](path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x121150[_0x3eca1d(0x144)])))_0x19ab9a=path['join'](process[_0x3eca1d(0x143)](),_0x121150['eOagm']);else fs[_0x3eca1d(0x16b)](path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x121150[_0x3eca1d(0x16c)]))&&(_0x19ab9a=path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x121150[_0x3eca1d(0x16c)]));}return _0x19ab9a?(logger['info'](_0x3eca1d(0x142)+_0x19ab9a),_0x3926d8=_0x121150[_0x3eca1d(0x176)](require,_0x19ab9a)):logger[_0x3eca1d(0x15e)](_0x121150[_0x3eca1d(0x13c)]),_0x3926d8;},removeExistingEnvs=_0x414b6a=>{const _0x24af14=a33_0x5cbca4,_0x37d5b0={};_0x37d5b0[_0x24af14(0x174)]=function(_0x3759cf,_0x288e85){return _0x3759cf>_0x288e85;};const _0x5897d7=_0x37d5b0;let _0x1bb063=_0x414b6a[_0x24af14(0x15a)](_0x4a6040=>_0x4a6040===_0x24af14(0x15d));_0x5897d7[_0x24af14(0x174)](_0x1bb063,-0x1)&&_0x414b6a['splice'](_0x1bb063,0x2),_0x1bb063=_0x414b6a[_0x24af14(0x15a)](_0x2768fa=>_0x2768fa==='-e'),_0x5897d7[_0x24af14(0x174)](_0x1bb063,-0x1)&&_0x414b6a[_0x24af14(0x16a)](_0x1bb063,0x2);};function run(_0x5078be,_0x1dc1d5){const _0x614859=a33_0x5cbca4,_0x4ebfd1={'pFTbj':'nightwatch','qkfjU':function(_0x3bd91e,_0xd6a37a){return _0x3bd91e+_0xd6a37a;},'cNWme':_0x614859(0x15b),'VJAvl':function(_0x153cbc,_0x255361,_0x32d528){return _0x153cbc(_0x255361,_0x32d528);},'OOyBC':_0x614859(0x17f),'mHEJv':_0x614859(0x162),'UIEdv':function(_0x33681f,_0x4fb843){return _0x33681f===_0x4fb843;},'ZfdML':'nightwatch-browserstack.json','qHyFx':function(_0x219eb3,_0x48a588){return _0x219eb3(_0x48a588);},'wcqsR':function(_0x1be782,_0x454981,_0x13694e,_0x4d68f6){return _0x1be782(_0x454981,_0x13694e,_0x4d68f6);},'tfbEV':_0x614859(0x163),'LbHDa':_0x614859(0x13f),'UZUjr':_0x614859(0x15d),'kbYPA':'inherit','YhykB':'close'},_0x3b5a33=new BrowserStackSetup(_0x5078be);if(!_0x3b5a33[_0x614859(0x154)])return;const _0x3fe13b=_0x4ebfd1[_0x614859(0x150)](getUserNightwatchConfigs,_0x5078be,_0x1dc1d5),_0x354b64={};_0x354b64['start_process']=![];const _0x5b114e={};_0x5b114e[_0x614859(0x182)]=_0x4ebfd1[_0x614859(0x175)],_0x5b114e[_0x614859(0x156)]=0x1bb;const _0x54519b={};_0x54519b[_0x614859(0x15f)]=_0x354b64,_0x54519b[_0x614859(0x14e)]=_0x5b114e;const _0x48a11b=_0x54519b;logger[_0x614859(0x15e)](_0x4ebfd1['mHEJv']);const _0x820075={..._0x3fe13b},_0x497421=_0x820075,_0x20fa04=helper[_0x614859(0x141)](_0x3b5a33[_0x614859(0x154)]),_0x254b00=[];_0x3b5a33[_0x614859(0x154)][_0x614859(0x181)]['forEach']((_0xeb2de8,_0x1d36cb)=>{const _0x2a3774=_0x614859;_0x20fa04?_0x254b00[_0x2a3774(0x177)](helper['modifyBrowserStackW3CCaps'](_0x3b5a33[_0x2a3774(0x154)],_0x4ebfd1[_0x2a3774(0x168)],_0x1d36cb)):_0x254b00[_0x2a3774(0x177)](helper['modifyBrowserStackCaps'](_0x3b5a33['config'],_0x4ebfd1[_0x2a3774(0x168)],_0x1d36cb));});const _0x41e0eb={},_0x5724e4=[];_0x5078be[_0x614859(0x147)]=_0x5078be[_0x614859(0x147)]||_0x5078be['e'];const _0x5959a1=_0x5078be[_0x614859(0x147)]?_0x5078be[_0x614859(0x147)]['trim']()[_0x614859(0x17d)](',')[_0x614859(0x149)](_0x149776=>_0x149776[_0x614859(0x151)]())['filter'](_0x39076f=>_0x39076f!==''):[''];_0x4ebfd1[_0x614859(0x180)](_0x5959a1[_0x614859(0x158)],0x0)&&_0x5959a1[_0x614859(0x177)]('');_0x5959a1[_0x614859(0x161)](_0x2ce945=>{_0x254b00['forEach'](_0x317c05=>{const _0x526fc6=a33_0x1224;let _0x11faf9=_0x4ebfd1[_0x526fc6(0x159)](helper['getPlatformName'](_0x317c05,'_'),'_'+Date[_0x526fc6(0x166)]());_0x2ce945&&(_0x11faf9+='_'+_0x2ce945);if(_0x2ce945&&(!_0x3fe13b[_0x4ebfd1[_0x526fc6(0x140)]]||!_0x3fe13b[_0x4ebfd1[_0x526fc6(0x140)]][_0x2ce945]))return;const _0x365865={..._0x48a11b};_0x365865[_0x526fc6(0x169)]=_0x317c05;const _0x47f5ec=_0x365865;_0x41e0eb[_0x11faf9]=_0x2ce945?helper[_0x526fc6(0x167)](_0x3fe13b[_0x4ebfd1[_0x526fc6(0x140)]][_0x2ce945],_0x47f5ec):_0x47f5ec,_0x5724e4['push'](_0x11faf9);});});!_0x497421[_0x614859(0x15b)]&&(_0x497421[_0x614859(0x15b)]={});_0x497421[_0x614859(0x15b)]={..._0x497421[_0x614859(0x15b)],..._0x41e0eb};const _0x302f29=path[_0x614859(0x164)](__dirname,_0x4ebfd1[_0x614859(0x17c)]);fs[_0x614859(0x16e)](_0x302f29,JSON[_0x614859(0x17a)](_0x497421)),_0x4ebfd1[_0x614859(0x14f)](removeExistingEnvs,_0x1dc1d5);const _0x4c3e91=_0x4ebfd1[_0x614859(0x165)](spawn,/^win/[_0x614859(0x15c)](process[_0x614859(0x153)])?_0x4ebfd1[_0x614859(0x173)]:_0x4ebfd1[_0x614859(0x168)],[_0x4ebfd1['LbHDa'],_0x302f29,..._0x1dc1d5[_0x614859(0x172)](0x1),_0x4ebfd1[_0x614859(0x160)],_0x5724e4[_0x614859(0x164)](',')],{'stdio':_0x4ebfd1[_0x614859(0x13d)]});_0x4c3e91['on'](_0x4ebfd1[_0x614859(0x16d)],async _0x234966=>{const _0x569d0b=_0x614859;logger['debug'](_0x569d0b(0x170)+_0x234966),logger[_0x569d0b(0x15e)]('Deleting\x20'+_0x302f29),fs[_0x569d0b(0x146)](_0x302f29);});}module[a33_0x5cbca4(0x155)]=run;
@@ -1 +1 @@
1
- const a34_0x452f77=a34_0x3e1e;(function(_0x217982,_0x334f7c){const _0x13218a=a34_0x3e1e,_0x2b681a=_0x217982();while(!![]){try{const _0x164518=-parseInt(_0x13218a(0x131))/0x1*(-parseInt(_0x13218a(0x109))/0x2)+parseInt(_0x13218a(0x125))/0x3*(parseInt(_0x13218a(0x12c))/0x4)+parseInt(_0x13218a(0xf1))/0x5+parseInt(_0x13218a(0x121))/0x6+-parseInt(_0x13218a(0xe4))/0x7+parseInt(_0x13218a(0xe1))/0x8+-parseInt(_0x13218a(0xea))/0x9;if(_0x164518===_0x334f7c)break;else _0x2b681a['push'](_0x2b681a['shift']());}catch(_0x3827f3){_0x2b681a['push'](_0x2b681a['shift']());}}}(a34_0x1023,0x8bbb4));const util=require(a34_0x452f77(0x10c)),logger=require(a34_0x452f77(0x135))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x452f77(0x12d)),{isUndefined}=require(a34_0x452f77(0x104)),scripts=require(a34_0x452f77(0x112));function a34_0x3e1e(_0x15f6e4,_0x1ca847){const _0x102339=a34_0x1023();return a34_0x3e1e=function(_0x3e1e2f,_0x1065be){_0x3e1e2f=_0x3e1e2f-0xdb;let _0x31b75f=_0x102339[_0x3e1e2f];return _0x31b75f;},a34_0x3e1e(_0x15f6e4,_0x1ca847);}exports[a34_0x452f77(0x11f)]=async(_0x28ccac,_0x4c74e5,_0x43468a={})=>{const _0x9c44ca=a34_0x452f77,_0x352a84={};_0x352a84[_0x9c44ca(0x102)]=_0x9c44ca(0xe9);const _0x52adf2=_0x352a84;return await _0x28ccac['evaluate'](_0x9c44ca(0xe6)+_0x4c74e5[_0x9c44ca(0xec)](/arguments/g,_0x52adf2[_0x9c44ca(0x102)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x9c44ca(0x13a)](_0x43468a)+')');},exports['browserStackExecuteDriver']=async(_0x2c5522,_0x163fd5,_0x5cd162={})=>{const _0x41e868=a34_0x452f77,_0x55cb70={};_0x55cb70[_0x41e868(0xe5)]=function(_0x2603e3,_0x1d5542){return _0x2603e3===_0x1d5542;},_0x55cb70['sjndb']='WebDriver',_0x55cb70['raWOx']=function(_0x557a29,_0x122a5a){return _0x557a29===_0x122a5a;},_0x55cb70[_0x41e868(0x100)]=_0x41e868(0x105),_0x55cb70[_0x41e868(0x12f)]='bstackSdkArgs';const _0x51f958=_0x55cb70;if(_0x51f958[_0x41e868(0xe5)](_0x2c5522['constructor']['name'],_0x51f958[_0x41e868(0x115)]))return await _0x2c5522[_0x41e868(0x108)](_0x163fd5,_0x5cd162);else{if(_0x51f958['raWOx'](_0x2c5522['constructor'][_0x41e868(0xed)],_0x51f958[_0x41e868(0x100)]))return await _0x2c5522['executeScript'](_0x41e868(0xfd)+_0x163fd5['replace'](/arguments/g,_0x51f958[_0x41e868(0x12f)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x41e868(0x13a)](_0x5cd162)+')');}},exports[a34_0x452f77(0xef)]=async _0x1f68fd=>{const _0x1ac626=a34_0x452f77,_0x386786={};_0x386786['MIOIZ']=_0x1ac626(0x11a),_0x386786[_0x1ac626(0xf9)]=_0x1ac626(0x11c),_0x386786[_0x1ac626(0xee)]=_0x1ac626(0xf0),_0x386786[_0x1ac626(0x12b)]='accessibilityOptions.includeIssueType.needsReview',_0x386786[_0x1ac626(0x128)]=_0x1ac626(0xe3),_0x386786[_0x1ac626(0x10f)]='accessibilityOptions.scannerVersion';const _0x12cfdb=_0x386786;_0x1f68fd[_0x1ac626(0xf6)]&&(_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0x137)]&&(_0x1f68fd[_0x12cfdb['MIOIZ']]=_0x1f68fd['accessibilityOptions'][_0x1ac626(0x137)]),_0x1f68fd['accessibilityOptions'][_0x1ac626(0xe7)]&&(_0x1f68fd[_0x12cfdb[_0x1ac626(0xf9)]]=_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xe7)]),_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xf4)]&&(_0x1f68fd[_0x12cfdb['NQKTJ']]=_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xf4)][_0x1ac626(0xdb)],_0x1f68fd[_0x12cfdb[_0x1ac626(0x12b)]]=_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xf4)][_0x1ac626(0x12a)]));const _0x2764c4=JSON[_0x1ac626(0x133)](process[_0x1ac626(0xe0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x1f68fd[_0x12cfdb[_0x1ac626(0x128)]]=process[_0x1ac626(0xe0)][_0x1ac626(0x10d)],_0x1f68fd[_0x12cfdb[_0x1ac626(0x10f)]]=_0x2764c4,delete _0x1f68fd[_0x1ac626(0xf6)];},exports[a34_0x452f77(0x12e)]=async _0x54d741=>{const _0x1a4239=a34_0x452f77,_0x334ad5={};_0x334ad5['BAtOR']='No\x20accessibility\x20results\x20were\x20found.',_0x334ad5[_0x1a4239(0x11e)]=_0x1a4239(0x101);const _0x125767=_0x334ad5;if(global[_0x1a4239(0xf5)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x54d741,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x54d741,scripts.getResults);return res;}catch{return logger[_0x1a4239(0x132)](_0x125767[_0x1a4239(0x139)]),[];}else return logger['warn'](_0x125767['OoKJJ']),[];},exports[a34_0x452f77(0x119)]=async(_0x5b127b,_0x180f95='')=>{const _0x464341=a34_0x452f77;if(global[_0x464341(0xf5)]){const _0x80d0d6={};return _0x80d0d6[_0x464341(0xeb)]=_0x180f95,await exports['browserStackEvaluate'](_0x5b127b,scripts['performScan'],_0x80d0d6);}},exports[a34_0x452f77(0xe2)]=async _0x1ae5f0=>{const _0x35ac73=a34_0x452f77,_0x5cef97={};_0x5cef97[_0x35ac73(0x134)]='No\x20summaryResults\x20found.',_0x5cef97[_0x35ac73(0x122)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x28490d=_0x5cef97;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1ae5f0,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1ae5f0,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x35ac73(0x110)](_0x28490d['GGjaz']),{};}else return logger[_0x35ac73(0x116)](_0x28490d[_0x35ac73(0x122)]),{};},exports[a34_0x452f77(0x11b)]=async _0x3445a7=>{const _0x2175e8=a34_0x452f77,_0x34a5c9={'ZiHld':function(_0x2aa385,_0x35ec75){return _0x2aa385!==_0x35ec75;},'GFqHM':_0x2175e8(0x129),'vqPkb':function(_0xbe61ff,_0x18c7cb){return _0xbe61ff===_0x18c7cb;},'jggch':_0x2175e8(0x136),'pIMPV':_0x2175e8(0x111),'oJOTT':_0x2175e8(0xff),'EIIAK':function(_0x393f77,_0x4a4823){return _0x393f77(_0x4a4823);},'RFPpY':function(_0x12c7bb,_0x1854c0){return _0x12c7bb===_0x1854c0;},'rCxfQ':_0x2175e8(0xf8),'wKAME':function(_0x4587fc,_0x326762){return _0x4587fc>_0x326762;},'UJtWr':_0x2175e8(0xfa)};try{if(!_0x34a5c9[_0x2175e8(0xdf)](_0x3445a7[_0x2175e8(0x11d)],''))return logger['warn'](_0x34a5c9['GFqHM']),![];const _0x1068ca=_0x3445a7['browser'];if(!(_0x34a5c9[_0x2175e8(0x106)](_0x1068ca,_0x34a5c9['jggch'])||_0x34a5c9['vqPkb'](_0x1068ca,_0x34a5c9['pIMPV'])))return logger['warn'](_0x34a5c9[_0x2175e8(0x114)]),![];const _0x1ba3c6=_0x34a5c9[_0x2175e8(0xdc)](parseInt,_0x3445a7[_0x2175e8(0x126)]);if(!(_0x34a5c9[_0x2175e8(0x10a)](_0x1ba3c6,_0x34a5c9[_0x2175e8(0x113)])||_0x34a5c9['wKAME'](_0x1ba3c6,0x5e)))return logger['warn'](_0x34a5c9[_0x2175e8(0xfb)]),![];}catch(_0x1402a3){logger[_0x2175e8(0x110)](_0x2175e8(0x10e)+util['format'](_0x1402a3));}return!![];},exports['processAccessibilityCaps']=(_0x55523d,_0x5e0977,_0xdbacce)=>{const _0x1ad043=a34_0x452f77,_0x32787c={'JGKxH':function(_0x101500){return _0x101500();},'Gkgjt':_0x1ad043(0x124),'KNoak':function(_0x18270e,_0x47edfd){return _0x18270e===_0x47edfd;},'dOzYj':_0x1ad043(0x136),'tlCbH':_0x1ad043(0x111),'lAwQF':_0x1ad043(0xff),'YDBNb':_0x1ad043(0xf8),'unKhw':function(_0x3a437b,_0x40f437){return _0x3a437b>_0x40f437;},'OuZHz':_0x1ad043(0xfa),'dwFxn':function(_0x2051d6,_0xb69cb2){return _0x2051d6(_0xb69cb2);},'MkCqa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','RgjAX':function(_0x2e96c7,_0x233d8f){return _0x2e96c7+_0x233d8f;}};try{if(_0x32787c[_0x1ad043(0x120)](isAccessibilityAutomationSession)){global[_0x1ad043(0xf5)]=!![];!_0x55523d[_0x32787c[_0x1ad043(0xf7)]]&&(global[_0x1ad043(0xf5)]=![]);!(_0x32787c[_0x1ad043(0x10b)](_0x55523d['browserName'],_0x32787c[_0x1ad043(0x127)])||_0x32787c[_0x1ad043(0x10b)](_0x55523d[_0x1ad043(0x107)],_0x32787c[_0x1ad043(0x130)]))&&(logger[_0x1ad043(0x116)](_0x32787c[_0x1ad043(0xdd)]),global['accessibilityPlatform']=![]);!(_0x32787c[_0x1ad043(0x10b)](_0x55523d[_0x1ad043(0x126)],_0x32787c['YDBNb'])||_0x32787c['unKhw'](_0x55523d[_0x1ad043(0x126)],0x5e))&&(logger[_0x1ad043(0x116)](_0x32787c[_0x1ad043(0xfc)]),global[_0x1ad043(0xf5)]=![]);!_0x32787c[_0x1ad043(0xfe)](isUndefined,_0x55523d['deviceName'])&&(logger[_0x1ad043(0x116)](_0x32787c['MkCqa']),global[_0x1ad043(0xf5)]=![]);if(!global[_0x1ad043(0xf5)]){_0x55523d[_0x32787c[_0x1ad043(0xf7)]]=![];const _0x3b5630=_0x32787c[_0x1ad043(0x118)](_0x5e0977,_0x32787c[_0x1ad043(0xfe)](encodeURIComponent,JSON[_0x1ad043(0x13a)](_0x55523d)));_0xdbacce&&(_0xdbacce['currentTest'][_0x1ad043(0x138)]['project'][_0x1ad043(0x117)][_0x1ad043(0x123)][_0x1ad043(0xe8)]=_0x3b5630,_0xdbacce[_0x1ad043(0xde)][_0x1ad043(0xf2)][_0x1ad043(0x117)]['connectOptions'][_0x1ad043(0xe8)]=_0x3b5630);}}}catch(_0x50bf24){logger[_0x1ad043(0x110)](_0x1ad043(0x103)+util[_0x1ad043(0xf3)](_0x50bf24));}};function a34_0x1023(){const _0x183371=['accessibilityOptions','Gkgjt','latest','ZaumS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','UJtWr','OuZHz','(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','dwFxn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ypzrQ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','aaCMb','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/helper','Playwright','vqPkb','browserName','executeAsyncScript','20OCPOAR','RFPpY','KNoak','util','BS_A11Y_JWT','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','NavfY','debug','playwright-chromium','../../helpers/accessibility-automation/scripts','rCxfQ','oJOTT','sjndb','warn','use','RgjAX','performScan','accessibilityOptions.wcagVersion','platformValidation','accessibilityOptions.scannerProcessingTimeout','deviceName','OoKJJ','browserStackEvaluate','JGKxH','966504lcMyyz','ljNRY','connectOptions','browserstack.accessibility','3261597hFLsad','browser_version','dOzYj','zebIu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','needsReview','DZHTT','4UWgFIq','../../helpers/accessibility-automation/helper','getAccessibilityResults','xWAVX','tlCbH','47105JuJBOd','error','parse','GGjaz','../../helpers/logger','chrome','wcagVersion','testInfo','BAtOR','stringify','bestPractice','EIIAK','lAwQF','workerInfo','ZiHld','env','1232184TmCzkV','getAccessibilityResultsSummary','accessibilityOptions.authToken','847511XKOVli','POWRA','(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','scannerProcessingTimeout','wsEndpoint','bstackSdkArgs','11241981TfKAOO','method','replace','name','NQKTJ','setAccessibilityCapabilities','accessibilityOptions.includeIssueType.bestPractice','345830EaBaHH','project','format','includeIssueType','accessibilityPlatform'];a34_0x1023=function(){return _0x183371;};return a34_0x1023();}
1
+ const a34_0x259ccd=a34_0x4b80;(function(_0x993dc6,_0x317d80){const _0x3099f8=a34_0x4b80,_0x195969=_0x993dc6();while(!![]){try{const _0x387f46=parseInt(_0x3099f8(0x1bd))/0x1*(-parseInt(_0x3099f8(0x1cb))/0x2)+-parseInt(_0x3099f8(0x193))/0x3+-parseInt(_0x3099f8(0x1b5))/0x4+parseInt(_0x3099f8(0x1d9))/0x5*(-parseInt(_0x3099f8(0x1c5))/0x6)+-parseInt(_0x3099f8(0x1bf))/0x7*(parseInt(_0x3099f8(0x1d4))/0x8)+parseInt(_0x3099f8(0x19d))/0x9*(parseInt(_0x3099f8(0x1bb))/0xa)+parseInt(_0x3099f8(0x1b4))/0xb*(parseInt(_0x3099f8(0x1ba))/0xc);if(_0x387f46===_0x317d80)break;else _0x195969['push'](_0x195969['shift']());}catch(_0x2e6212){_0x195969['push'](_0x195969['shift']());}}}(a34_0x1afb,0x5be4a));const util=require('util'),logger=require('../../helpers/logger')[a34_0x259ccd(0x195)],{isAccessibilityAutomationSession}=require(a34_0x259ccd(0x186)),{isUndefined}=require(a34_0x259ccd(0x191)),scripts=require(a34_0x259ccd(0x1c2));function a34_0x1afb(){const _0x2ee6eb=['Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','name','platformValidation','GBMdM','wcagVersion','1168304LaERBE','tTWcM','accessibilityOptions.includeIssueType.bestPractice','use','deviceName','5bNsHJK','accessibilityOptions.authToken','ThPOB','testInfo','accessibilityOptions.scannerVersion','hVSgO','wsEndpoint','qTDsg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','env','project','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','No\x20summaryResults\x20found.','WFvfu','playwright-chromium','gFYoy','GxdeI','setAccessibilityCapabilities','Viqkz','browser_version','../../helpers/accessibility-automation/helper','debug','getAccessibilityResults','InWvl','tUdRK','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','ibStG','BBILs','(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','KyEjW','rKaOq','../../helpers/helper','sJLjb','1090755nXaCSa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','winstonLogger','accessibilityOptions.scannerProcessingTimeout','TnYIH','browserStackEvaluate','nMCyz','knsKc','needsReview','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','35433mYXECJ','PSNen','warn','ajrTj','accessibilityPlatform','stringify','(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','WebDriver','uslrZ','zScxy','getAccessibilityResultsSummary','executeScript','jMPFf','accessibilityOptions','nsktt','latest','method','scannerProcessingTimeout','evaluate','replace','Playwright','No\x20accessibility\x20results\x20were\x20found.','VzrHh','55132BxTXVM','1217108rANVxy','browserName','connectOptions','parse','FdJdC','2676jNwEcW','1580TliAxL','error','7VGXkzn','includeIssueType','28ijPLmx','PYiFi','accessibilityOptions.includeIssueType.needsReview','../../helpers/accessibility-automation/scripts','accessibilityOptions.wcagVersion','browserStackExecuteDriver','4620wAideg','constructor','chrome','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','performScan','yjjzV','31584jHpgep','fBkxR','RMquY','ZEDCf'];a34_0x1afb=function(){return _0x2ee6eb;};return a34_0x1afb();}function a34_0x4b80(_0x63457b,_0x3027ba){const _0x1afb4d=a34_0x1afb();return a34_0x4b80=function(_0x4b80d3,_0xabd06b){_0x4b80d3=_0x4b80d3-0x176;let _0x2f34b0=_0x1afb4d[_0x4b80d3];return _0x2f34b0;},a34_0x4b80(_0x63457b,_0x3027ba);}exports['browserStackEvaluate']=async(_0x370ba1,_0x68e32b,_0x1ab9ce={})=>{const _0x11f9c6=a34_0x259ccd,_0x1f5971={};_0x1f5971[_0x11f9c6(0x189)]='bstackSdkArgs';const _0x421a7a=_0x1f5971;return await _0x370ba1[_0x11f9c6(0x1af)](_0x11f9c6(0x1a3)+_0x68e32b[_0x11f9c6(0x1b0)](/arguments/g,_0x421a7a['InWvl'])+_0x11f9c6(0x1c8)+JSON[_0x11f9c6(0x1a2)](_0x1ab9ce)+')');},exports[a34_0x259ccd(0x1c4)]=async(_0x10ca4e,_0x5a89ac,_0xd5e800={})=>{const _0x5667ff=a34_0x259ccd,_0x59ceaf={};_0x59ceaf[_0x5667ff(0x1cc)]=function(_0x344300,_0x2c1533){return _0x344300===_0x2c1533;},_0x59ceaf['ajrTj']=_0x5667ff(0x1a4),_0x59ceaf[_0x5667ff(0x19e)]=_0x5667ff(0x1b1),_0x59ceaf[_0x5667ff(0x18a)]='bstackSdkArgs';const _0x49474c=_0x59ceaf;if(_0x49474c['fBkxR'](_0x10ca4e[_0x5667ff(0x1c6)]['name'],_0x49474c[_0x5667ff(0x1a0)]))return await _0x10ca4e['executeAsyncScript'](_0x5a89ac,_0xd5e800);else{if(_0x49474c['fBkxR'](_0x10ca4e[_0x5667ff(0x1c6)][_0x5667ff(0x1d0)],_0x49474c[_0x5667ff(0x19e)]))return await _0x10ca4e[_0x5667ff(0x1a8)](_0x5667ff(0x18e)+_0x5a89ac[_0x5667ff(0x1b0)](/arguments/g,_0x49474c['tUdRK'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x5667ff(0x1a2)](_0xd5e800)+')');}},exports[a34_0x259ccd(0x183)]=async _0x58b195=>{const _0x7ee470=a34_0x259ccd,_0x1fb01d={};_0x1fb01d[_0x7ee470(0x1d2)]=_0x7ee470(0x1c3),_0x1fb01d[_0x7ee470(0x1c0)]=_0x7ee470(0x196),_0x1fb01d[_0x7ee470(0x1ce)]=_0x7ee470(0x1d6),_0x1fb01d['tDgKR']=_0x7ee470(0x1c1),_0x1fb01d[_0x7ee470(0x1a6)]=_0x7ee470(0x1da),_0x1fb01d[_0x7ee470(0x18c)]=_0x7ee470(0x176);const _0x94b83e=_0x1fb01d;_0x58b195[_0x7ee470(0x1aa)]&&(_0x58b195[_0x7ee470(0x1aa)]['wcagVersion']&&(_0x58b195[_0x94b83e[_0x7ee470(0x1d2)]]=_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1d3)]),_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1ae)]&&(_0x58b195[_0x94b83e['PYiFi']]=_0x58b195['accessibilityOptions'][_0x7ee470(0x1ae)]),_0x58b195['accessibilityOptions'][_0x7ee470(0x1be)]&&(_0x58b195[_0x94b83e[_0x7ee470(0x1ce)]]=_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1be)]['bestPractice'],_0x58b195[_0x94b83e['tDgKR']]=_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1be)][_0x7ee470(0x19b)]));const _0xfc5ff4=JSON[_0x7ee470(0x1b8)](process[_0x7ee470(0x17b)][_0x7ee470(0x17d)])['scannerVersion'];_0x58b195[_0x94b83e[_0x7ee470(0x1a6)]]=process[_0x7ee470(0x17b)]['BS_A11Y_JWT'],_0x58b195[_0x94b83e[_0x7ee470(0x18c)]]=_0xfc5ff4,delete _0x58b195[_0x7ee470(0x1aa)];},exports[a34_0x259ccd(0x188)]=async _0x576b48=>{const _0x1fbab6=a34_0x259ccd,_0x38f4bb={};_0x38f4bb['ThPOB']=_0x1fbab6(0x1b2),_0x38f4bb[_0x1fbab6(0x190)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x2d742f=_0x38f4bb;if(global[_0x1fbab6(0x1a1)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x576b48,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x576b48,scripts.getResults);return res;}catch{return logger[_0x1fbab6(0x1bc)](_0x2d742f[_0x1fbab6(0x1db)]),[];}else return logger['warn'](_0x2d742f[_0x1fbab6(0x190)]),[];},exports[a34_0x259ccd(0x1c9)]=async(_0x506d82,_0x10efe6='')=>{const _0x10ae87=a34_0x259ccd;if(global['accessibilityPlatform']){const _0x59f795={};return _0x59f795[_0x10ae87(0x1ad)]=_0x10efe6,await exports[_0x10ae87(0x198)](_0x506d82,scripts[_0x10ae87(0x1c9)],_0x59f795);}},exports[a34_0x259ccd(0x1a7)]=async _0x383189=>{const _0x4176ef=a34_0x259ccd,_0x3b0049={};_0x3b0049['WFvfu']=_0x4176ef(0x17e),_0x3b0049[_0x4176ef(0x197)]=_0x4176ef(0x19c);const _0x4dabe0=_0x3b0049;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x383189,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x383189,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x4176ef(0x187)](_0x4dabe0[_0x4176ef(0x17f)]),{};}else return logger['warn'](_0x4dabe0[_0x4176ef(0x197)]),{};},exports[a34_0x259ccd(0x1d1)]=async _0x596b3c=>{const _0x178da1=a34_0x259ccd,_0x25dc2b={'sJLjb':function(_0x21a2c2,_0x45b702){return _0x21a2c2!==_0x45b702;},'RMquY':_0x178da1(0x194),'nMCyz':function(_0x3ba785,_0x430829){return _0x3ba785===_0x430829;},'gFYoy':_0x178da1(0x1c7),'knsKc':function(_0x405365,_0x134917){return _0x405365===_0x134917;},'yiooQ':_0x178da1(0x180),'qTDsg':_0x178da1(0x1cf),'FdJdC':function(_0x2b4d2a,_0x5c5585){return _0x2b4d2a(_0x5c5585);},'uslrZ':_0x178da1(0x1ac),'gnhSG':function(_0x5f5369,_0x5c882c){return _0x5f5369>_0x5c882c;},'jMPFf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x25dc2b[_0x178da1(0x192)](_0x596b3c[_0x178da1(0x1d8)],''))return logger[_0x178da1(0x19f)](_0x25dc2b[_0x178da1(0x1cd)]),![];const _0x3a95b1=_0x596b3c['browser'];if(!(_0x25dc2b['nMCyz'](_0x3a95b1,_0x25dc2b[_0x178da1(0x181)])||_0x25dc2b[_0x178da1(0x19a)](_0x3a95b1,_0x25dc2b['yiooQ'])))return logger[_0x178da1(0x19f)](_0x25dc2b[_0x178da1(0x179)]),![];const _0x207934=_0x25dc2b[_0x178da1(0x1b9)](parseInt,_0x596b3c[_0x178da1(0x185)]);if(!(_0x25dc2b[_0x178da1(0x199)](_0x207934,_0x25dc2b[_0x178da1(0x1a5)])||_0x25dc2b['gnhSG'](_0x207934,0x5e)))return logger[_0x178da1(0x19f)](_0x25dc2b[_0x178da1(0x1a9)]),![];}catch(_0x2adca7){logger[_0x178da1(0x187)](_0x178da1(0x18b)+util['format'](_0x2adca7));}return!![];},exports['processAccessibilityCaps']=(_0x483775,_0x1d0a37,_0xcd268f)=>{const _0x50c359=a34_0x259ccd,_0x35ffba={'hVSgO':function(_0x4c3138){return _0x4c3138();},'tTWcM':'browserstack.accessibility','pJgDV':function(_0x5794d1,_0x181f55){return _0x5794d1===_0x181f55;},'KyEjW':_0x50c359(0x1c7),'yjjzV':function(_0x9b4715,_0x69b434){return _0x9b4715===_0x69b434;},'nsktt':'playwright-chromium','ZOrJl':_0x50c359(0x1cf),'FmCqa':_0x50c359(0x1ac),'VzrHh':function(_0x47c590,_0x54eb6c){return _0x47c590>_0x54eb6c;},'Viqkz':_0x50c359(0x17a),'BBILs':function(_0x2c5625,_0x36c041){return _0x2c5625(_0x36c041);},'GxdeI':_0x50c359(0x194),'caEFx':function(_0x4660f7,_0x32e3d9){return _0x4660f7+_0x32e3d9;}};try{if(_0x35ffba[_0x50c359(0x177)](isAccessibilityAutomationSession)){global[_0x50c359(0x1a1)]=!![];!_0x483775[_0x35ffba['tTWcM']]&&(global[_0x50c359(0x1a1)]=![]);!(_0x35ffba['pJgDV'](_0x483775['browserName'],_0x35ffba[_0x50c359(0x18f)])||_0x35ffba[_0x50c359(0x1ca)](_0x483775[_0x50c359(0x1b6)],_0x35ffba[_0x50c359(0x1ab)]))&&(logger[_0x50c359(0x19f)](_0x35ffba['ZOrJl']),global[_0x50c359(0x1a1)]=![]);!(_0x35ffba[_0x50c359(0x1ca)](_0x483775[_0x50c359(0x185)],_0x35ffba['FmCqa'])||_0x35ffba[_0x50c359(0x1b3)](_0x483775[_0x50c359(0x185)],0x5e))&&(logger[_0x50c359(0x19f)](_0x35ffba[_0x50c359(0x184)]),global[_0x50c359(0x1a1)]=![]);!_0x35ffba['BBILs'](isUndefined,_0x483775['deviceName'])&&(logger[_0x50c359(0x19f)](_0x35ffba[_0x50c359(0x182)]),global[_0x50c359(0x1a1)]=![]);if(!global[_0x50c359(0x1a1)]){_0x483775[_0x35ffba[_0x50c359(0x1d5)]]=![];const _0xcd1d1=_0x35ffba['caEFx'](_0x1d0a37,_0x35ffba[_0x50c359(0x18d)](encodeURIComponent,JSON['stringify'](_0x483775)));_0xcd268f&&(_0xcd268f['currentTest'][_0x50c359(0x1dc)][_0x50c359(0x17c)][_0x50c359(0x1d7)][_0x50c359(0x1b7)][_0x50c359(0x178)]=_0xcd1d1,_0xcd268f['workerInfo'][_0x50c359(0x17c)]['use'][_0x50c359(0x1b7)][_0x50c359(0x178)]=_0xcd1d1);}}}catch(_0x26a3a1){logger[_0x50c359(0x187)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x26a3a1));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x1f32(){const _0x42dea6=['automation','HLmiG','--grep','../../helpers/test-observability/utils','1002928BkqHEz','hMzKO','wkWBL','startsWith','./accessibility-helper','dirname','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','USER_CONFIG_DETAILS_PATH','isFalse','HGogw','writeFileSync','626150sykgKo','Error\x20in\x20getting\x20funnel\x20data\x20results','get','XAEFh','UHKkn','testObservability','Updated\x20config\x20file\x20name\x20to\x20-\x20','winstonLogger','exitCode','hjaBN','XnjTO','error','path','uAeYR','xilKu','--disable-browserstack-automation','filterBrowserstackArgs','resolve','stop','logLevel','SmcKH','length','RczVE','DvUaN','MODULE','TkKpD','isUndefined','rRNjZ','uliyf','sBSrj','false','../../helpers/testhub/testhubHandler','cwd','NkrIw','../../helpers/helper','./reporter/pwUtils','SabNj','getProxyUrl','qumYr','547665PqfpIx','NgxNQ','Error\x20in\x20closing\x20playwright','CFtVY','BrowserStack\x20config\x20file\x20not\x20found.','slice','../../helpers/testhub/utils','util','playwright','has','0|6|5|3|4|8|1|7|2','--disable-test-observability','ooocZ','Deleting\x20','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','platform','Playwright\x20process\x20exited\x20with\x20code\x20','rQktb','pFVjT','../../helpers/test-observability/error-handler','qKotl','accessibility','TABHU','debug','nestedKeyValue','concat','null','KFmwN','KlbbH','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','filter','testContextOptions','test','yisKw','apply','JuhDb','getConfigPath','child_process','stringify','../../helpers/logger','playwright-browserstack-sdk.config.cjs','cliConfig','JYwmO','BROWSERSTACK_PW_CONFIG_DIR','skipSessionStatus','--config=','../../helpers/test-observability/constants','true','existsSync','pw_result.json','4akSysr','139123yYmVeX','env','readFileSync','resolvedConfigFile','parse','initialize','ExKWa','PLAYWRIGHT','BROWSERSTACK_AUTOMATION','1777100WSMlje','../utils/constants','push','--config','clearTempPWConfig','exports','AaoOt','skipSessionName','ahsEE','hktfs','npx','indexOf','zXaqy','split','482994JmyTQF','../../helpers/BrowserStackSetup','unlinkSync','BROWSERSTACK_SETUP_CONFIG_PATH','ZjDxP','103905uCRqAV','win32','BROWSERSTACK_TEST_OBSERVABILITY','pCkIb','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isTrue','\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();','trim','VWOGZ','join','assign','.browserstack','QAnWu','homedir','inherit','Ffehp','playwright-browserstack-sdk.config.js','MkXMG','248fTKuHe','ToKcm','abpuq','BROWSERSTACK_RERUN','Trjbc','Error\x20in\x20deleting\x20playwright\x20results','serializeToYamlString','config'];a35_0x1f32=function(){return _0x42dea6;};return a35_0x1f32();}function a35_0x595c(_0x3bf211,_0x1e5554){const _0x1f3255=a35_0x1f32();return a35_0x595c=function(_0x595cff,_0x2d4435){_0x595cff=_0x595cff-0x17e;let _0x34c019=_0x1f3255[_0x595cff];return _0x34c019;},a35_0x595c(_0x3bf211,_0x1e5554);}const a35_0x249430=a35_0x595c;(function(_0xd22451,_0x249e81){const _0xaf9c9a=a35_0x595c,_0x311050=_0xd22451();while(!![]){try{const _0x579a29=-parseInt(_0xaf9c9a(0x212))/0x1*(-parseInt(_0xaf9c9a(0x211))/0x2)+-parseInt(_0xaf9c9a(0x1df))/0x3+parseInt(_0xaf9c9a(0x1ad))/0x4+-parseInt(_0xaf9c9a(0x21b))/0x5+-parseInt(_0xaf9c9a(0x18a))/0x6+-parseInt(_0xaf9c9a(0x1b8))/0x7+parseInt(_0xaf9c9a(0x1a1))/0x8*(parseInt(_0xaf9c9a(0x18f))/0x9);if(_0x579a29===_0x249e81)break;else _0x311050['push'](_0x311050['shift']());}catch(_0x24c1d4){_0x311050['push'](_0x311050['shift']());}}}(a35_0x1f32,0x2bb05));const fs=require('fs'),path=require(a35_0x249430(0x1c4)),{spawn}=require(a35_0x249430(0x204)),{format}=require(a35_0x249430(0x1e6)),logger=require(a35_0x249430(0x206))[a35_0x249430(0x1bf)],{default:BrowserStackSetup}=require(a35_0x249430(0x18b)),helper=require(a35_0x249430(0x1da)),utilities=require('../../helpers/utilities'),constants=require(a35_0x249430(0x21c)),{FRAMEWORKS}=require(a35_0x249430(0x20d)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x249430(0x1db)),{CrashReporter}=require(a35_0x249430(0x1f2)),{getFrameworkVersion}=require(a35_0x249430(0x1ac)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a35_0x249430(0x1b1)),TestHubHandler=require(a35_0x249430(0x1d7)),{shouldProcessEventForTesthub}=require(a35_0x249430(0x1e5)),getUserPlaywrightConfig=async(_0x16998a,_0x301347)=>{const _0x395fde=a35_0x249430,_0x460ee0={'SmcKH':function(_0x332913){return _0x332913();},'MkXMG':function(_0x43d8e0,_0x5da22b){return _0x43d8e0(_0x5da22b);},'QAnWu':_0x395fde(0x215),'sBSrj':_0x395fde(0x20c)},_0x10ab0f=!helper[_0x395fde(0x1d2)](_0x16998a[_0x395fde(0x1a8)]),_0x5a4918=_0x10ab0f?path[_0x395fde(0x1c9)](process[_0x395fde(0x1d8)](),_0x16998a[_0x395fde(0x1a8)]):process[_0x395fde(0x1d8)](),{resolveConfigFile:_0x31b561,resolveConfigLocation:_0x543e2d}=helper['requirePWModule'][_0x395fde(0x201)](null,_0x460ee0[_0x395fde(0x1cc)](getConfigLoaderPath)),_0x3a6d82=_0x31b561?_0x460ee0['MkXMG'](_0x31b561,_0x5a4918):helper[_0x395fde(0x1f7)](_0x460ee0[_0x395fde(0x1a0)](_0x543e2d,_0x5a4918),[_0x460ee0[_0x395fde(0x19b)]]),_0x2dceb8={};if(_0x10ab0f){const _0xa3308f=_0x301347['findIndex'](_0x5d6626=>_0x5d6626===_0x395fde(0x17f)||_0x5d6626==='-c'||_0x5d6626[_0x395fde(0x1b0)](_0x395fde(0x20c)));_0x301347['splice'](_0xa3308f,_0x301347[_0xa3308f]['startsWith'](_0x460ee0[_0x395fde(0x1d5)])?0x1:0x2);}const _0x436fa2={};return _0x436fa2[_0x395fde(0x1c4)]=_0x3a6d82,_0x436fa2[_0x395fde(0x1a8)]=_0x2dceb8,_0x436fa2;},handleO11yRerun=_0x2c739d=>{const _0x4e4330=a35_0x249430,_0x4aac24={};_0x4aac24['rRNjZ']=function(_0x5ca425,_0xa07ec2){return _0x5ca425!==_0xa07ec2;},_0x4aac24['KlbbH']=_0x4e4330(0x1f9),_0x4aac24[_0x4e4330(0x209)]=_0x4e4330(0x1ab);const _0x2ee0f2=_0x4aac24,_0x3444b8=helper[_0x4e4330(0x194)](process['env'][_0x4e4330(0x1a4)]);if(_0x3444b8){const _0x1d539a=process[_0x4e4330(0x213)]['BROWSERSTACK_RERUN_TESTS'],_0x5f239d=[];if(_0x2ee0f2[_0x4e4330(0x1d3)](_0x1d539a,_0x2ee0f2[_0x4e4330(0x1fb)])&&!helper[_0x4e4330(0x1d2)](_0x1d539a)){_0x1d539a[_0x4e4330(0x189)](',')['map'](_0xed0130=>{const _0x111185=_0x4e4330;_0x5f239d[_0x111185(0x17e)]('('+_0xed0130[_0x111185(0x196)]()+')');});const _0x3cdba1='^'+_0x5f239d['join']('|')+'$';_0x2c739d[_0x4e4330(0x17e)](_0x2ee0f2['JYwmO'],_0x3cdba1);}}},spawnOriginalProcess=_0x1b7b65=>{const _0x1a1755=a35_0x249430,_0x26da2c={'KFmwN':function(_0x559ee9,_0x53e8d0,_0x2bf777,_0x32274c){return _0x559ee9(_0x53e8d0,_0x2bf777,_0x32274c);},'XLYmG':_0x1a1755(0x186),'uliyf':_0x1a1755(0x1e7),'Fibum':function(_0x440b3d,_0x5f3465){return _0x440b3d===_0x5f3465;},'hjaBN':_0x1a1755(0x190),'ERrSP':_0x1a1755(0x19d)};_0x26da2c[_0x1a1755(0x1fa)](spawn,_0x26da2c['XLYmG'],[_0x26da2c[_0x1a1755(0x1d4)],..._0x1b7b65[_0x1a1755(0x1e4)](0x1)],{'shell':_0x26da2c['Fibum'](process['platform'],_0x26da2c[_0x1a1755(0x1c1)]),'stdio':_0x26da2c['ERrSP'],'cwd':process[_0x1a1755(0x1d8)]()});},isTestCommand=(_0x1d295f,_0x656f5f)=>{const _0x9581a3=a35_0x249430,_0x33eb1b={};_0x33eb1b[_0x9581a3(0x200)]=function(_0x286ff3,_0x221156){return _0x286ff3>_0x221156;},_0x33eb1b[_0x9581a3(0x1f1)]=function(_0x5efdb1,_0x5b184a){return _0x5efdb1===_0x5b184a;},_0x33eb1b[_0x9581a3(0x1e2)]=_0x9581a3(0x1ff);const _0x10af62=_0x33eb1b;if(_0x10af62[_0x9581a3(0x200)](_0x656f5f[_0x9581a3(0x1cd)],0x1)&&_0x10af62[_0x9581a3(0x1f1)](_0x656f5f[0x1],_0x10af62[_0x9581a3(0x1e2)]))return!![];return![];};async function run(_0x358adc,_0x28e601){const _0x5c352d=a35_0x249430,_0x3a693a={'ExKWa':_0x5c352d(0x19a),'XAEFh':_0x5c352d(0x210),'TkKpD':function(_0x2d8a6f,_0x245b9b){return _0x2d8a6f+_0x245b9b;},'VsEvi':_0x5c352d(0x1b9),'ToKcm':_0x5c352d(0x1e9),'IamRW':function(_0x2a7f95){return _0x2a7f95();},'hktfs':_0x5c352d(0x1e1),'UHKkn':'--disable-browserstack-automation','rQktb':_0x5c352d(0x1d6),'druQr':_0x5c352d(0x1ea),'pCkIb':function(_0x45520b,_0x56aa43){return _0x45520b>=_0x56aa43;},'NkrIw':function(_0x54e89d,_0x1f2b19){return _0x54e89d+_0x1f2b19;},'ooocZ':_0x5c352d(0x1a6),'VWOGZ':function(_0x20b92e,_0x164dcc,_0x1dee3e){return _0x20b92e(_0x164dcc,_0x1dee3e);},'abpuq':function(_0x1dfeaa,_0x195555){return _0x1dfeaa(_0x195555);},'Trjbc':_0x5c352d(0x1e3),'xilKu':_0x5c352d(0x1a9),'Ffehp':function(_0x1e8c6b,_0x20aad8){return _0x1e8c6b!=_0x20aad8;},'qumYr':function(_0x3d03be,_0x3ee43d){return _0x3d03be(_0x3ee43d);},'ahsEE':function(_0x21209c,_0x5bf592){return _0x21209c===_0x5bf592;},'TABHU':_0x5c352d(0x20e),'hMzKO':function(_0x3c7a9a,_0x5cf5f2){return _0x3c7a9a(_0x5cf5f2);},'HLmiG':'browserstackSetupConfig.json','LBWhS':function(_0x227b81,_0x4cddb5){return _0x227b81===_0x4cddb5;},'DvUaN':_0x5c352d(0x207),'XnjTO':_0x5c352d(0x19f),'uAeYR':function(_0x35b636,_0x6b357c){return _0x35b636-_0x6b357c;},'wkWBL':function(_0x16159e,_0x438abb){return _0x16159e+_0x438abb;},'RczVE':_0x5c352d(0x1be),'HGogw':function(_0x479dd8,_0xd2aaad){return _0x479dd8>_0xd2aaad;},'ZjDxP':function(_0xbb145f,_0x354b86,_0x18ffea,_0x51c508){return _0xbb145f(_0x354b86,_0x18ffea,_0x51c508);},'zXaqy':_0x5c352d(0x186),'SabNj':_0x5c352d(0x1e7),'AaoOt':_0x5c352d(0x1ff),'NgxNQ':_0x5c352d(0x17f),'YaPgt':_0x5c352d(0x190),'JuhDb':_0x5c352d(0x19d),'qKotl':'close'};!helper[_0x5c352d(0x1b5)](process[_0x5c352d(0x213)][_0x5c352d(0x21a)])&&(process['env'][_0x5c352d(0x21a)]=!![]);process['argv']['includes'](_0x3a693a[_0x5c352d(0x1bc)])&&(process[_0x5c352d(0x213)][_0x5c352d(0x21a)]=_0x3a693a['rQktb'],_0x28e601=_0x28e601[_0x5c352d(0x1fd)](_0x5d1c07=>_0x5d1c07!==_0x5c352d(0x1c7)));const _0x3589b4=_0x28e601[_0x5c352d(0x187)](_0x3a693a['druQr']);_0x3a693a[_0x5c352d(0x192)](_0x3589b4,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x3a693a[_0x5c352d(0x1f0)],_0x28e601=_0x28e601[_0x5c352d(0x1fd)](_0x2c7c32=>_0x2c7c32!==_0x5c352d(0x1ea)));try{const _0x3d65cb=path['join'](helper[_0x5c352d(0x19c)](),_0x3a693a[_0x5c352d(0x218)],_0x3a693a[_0x5c352d(0x1bb)]);fs[_0x5c352d(0x20f)](_0x3d65cb)&&fs['unlinkSync'](_0x3d65cb);}catch(_0x2e36ea){logger[_0x5c352d(0x1f6)](_0x3a693a['NkrIw'](_0x3a693a[_0x5c352d(0x1eb)],_0x2e36ea));}if(!_0x3a693a[_0x5c352d(0x197)](isTestCommand,_0x358adc,_0x28e601)){_0x3a693a[_0x5c352d(0x1a3)](spawnOriginalProcess,_0x28e601);return;}const _0x5db1c8=new BrowserStackSetup(_0x358adc,FRAMEWORKS[_0x5c352d(0x219)]);if(!_0x5db1c8[_0x5c352d(0x1a8)]){logger[_0x5c352d(0x1c3)](_0x3a693a[_0x5c352d(0x1a5)]);return;}await _0x5db1c8[_0x5c352d(0x217)]();!helper['isUndefined'](_0x5db1c8[_0x5c352d(0x208)])&&_0x5db1c8[_0x5c352d(0x208)][_0x5c352d(0x1e8)](_0x3a693a[_0x5c352d(0x1c6)])&&(process[_0x5c352d(0x213)][_0x5c352d(0x21a)]=_0x5db1c8[_0x5c352d(0x208)][_0x5c352d(0x1ba)](_0x3a693a[_0x5c352d(0x1c6)])||!![]);_0x3a693a[_0x5c352d(0x19e)](_0x5db1c8[_0x5c352d(0x1a8)]['testObservability'],null)&&!helper[_0x5c352d(0x194)](process[_0x5c352d(0x213)][_0x5c352d(0x191)])&&(process['env'][_0x5c352d(0x191)]=process['env'][_0x5c352d(0x191)]||_0x5db1c8[_0x5c352d(0x1a8)][_0x5c352d(0x1bd)]);const _0x28fc2c=!helper[_0x5c352d(0x1b5)](process[_0x5c352d(0x213)][_0x5c352d(0x191)]);let _0x5b9847=![];_0x5db1c8['config'][_0x5c352d(0x1f4)]&&(_0x5b9847=!![],process[_0x5c352d(0x213)][_0x5c352d(0x193)]=_0x5db1c8['config']['accessibility']);_0x5db1c8['config']['accessibilityOptions']&&(process[_0x5c352d(0x213)][_0x5c352d(0x1b3)]=JSON[_0x5c352d(0x205)](_0x5db1c8[_0x5c352d(0x1a8)]['accessibilityOptions']));const _0xba675e=_0x28e601[_0x5c352d(0x1f8)](),_0x1478a9=await _0x3a693a[_0x5c352d(0x197)](getUserPlaywrightConfig,_0x358adc,_0x28e601);if(helper[_0x5c352d(0x1d2)](_0x1478a9)){_0x3a693a[_0x5c352d(0x1de)](spawnOriginalProcess,_0xba675e);return;}const _0x58ed66=_0x1478a9[_0x5c352d(0x1c4)]?path['dirname'](_0x1478a9[_0x5c352d(0x1c4)]):process['cwd']();process[_0x5c352d(0x213)][_0x5c352d(0x20a)]=_0x58ed66,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x5c352d(0x219)],_0x5db1c8);_0x28fc2c&&_0x3a693a[_0x5c352d(0x1a3)](handleO11yRerun,_0x28e601);let _0x3f0e95=_0x3a693a[_0x5c352d(0x184)](process[_0x5c352d(0x213)][_0x5c352d(0x193)],_0x3a693a[_0x5c352d(0x1f5)]);_0x3f0e95=_0x3f0e95||_0x3a693a[_0x5c352d(0x1a3)](checkAccessibilityPlatformConfig,_0x5db1c8[_0x5c352d(0x1a8)]),process[_0x5c352d(0x213)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3f0e95;_0x3f0e95&&_0x3a693a[_0x5c352d(0x1ae)](setAccessibilityCapabilities,_0x5db1c8['config']);const _0x271def=path[_0x5c352d(0x198)](_0x1478a9['path']?path[_0x5c352d(0x1b2)](_0x1478a9['path']):process[_0x5c352d(0x1d8)](),_0x3a693a[_0x5c352d(0x1aa)]);fs['writeFileSync'](_0x271def,helper[_0x5c352d(0x1a7)](_0x5db1c8[_0x5c352d(0x1a8)])),process[_0x5c352d(0x213)][_0x5c352d(0x18d)]=_0x271def,helper[_0x5c352d(0x180)]();let _0x5e20f9='';_0x3a693a['LBWhS'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x5c352d(0x1d0)])?_0x5e20f9=_0x3a693a[_0x5c352d(0x1cf)]:_0x5e20f9=_0x3a693a[_0x5c352d(0x1c2)];let _0x99859f='';if(helper['isTypescriptProject'](_0x1478a9['path'])){_0x99859f='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x39aa2d=_0x5e20f9['split']('.');_0x39aa2d[_0x3a693a[_0x5c352d(0x1c5)](_0x39aa2d[_0x5c352d(0x1cd)],0x1)]='ts',_0x5e20f9=_0x39aa2d['join']('.'),logger[_0x5c352d(0x1f6)](_0x3a693a[_0x5c352d(0x1af)](_0x3a693a[_0x5c352d(0x1ce)],_0x5e20f9));}else _0x99859f=_0x5c352d(0x1fc);const _0x54798c=path[_0x5c352d(0x198)](_0x1478a9['path']?path[_0x5c352d(0x1b2)](_0x1478a9['path']):process['cwd'](),_0x5e20f9);let _0x53d819=_0x1478a9['path']?_0x1478a9[_0x5c352d(0x1c4)]:'';_0x53d819=_0x3a693a[_0x5c352d(0x1b6)](_0x53d819[_0x5c352d(0x1cd)],0x0)?path['resolve'](_0x53d819):'',process[_0x5c352d(0x213)][_0x5c352d(0x1b4)]=_0x53d819;const _0x161825=helper[_0x5c352d(0x1dd)](_0x5db1c8[_0x5c352d(0x1a8)]);_0x161825&&(_0x99859f=_0x3a693a[_0x5c352d(0x1d9)](_0x5c352d(0x1ed)+_0x161825+_0x5c352d(0x195),_0x99859f));helper[_0x5c352d(0x1c8)]({},_0x28e601),fs[_0x5c352d(0x1b7)](_0x54798c,_0x99859f),helper['markSDKSetupComplete']();const _0x3dc973=_0x3a693a[_0x5c352d(0x18e)](spawn,_0x3a693a[_0x5c352d(0x188)],[_0x3a693a[_0x5c352d(0x1dc)],_0x3a693a[_0x5c352d(0x182)],_0x3a693a[_0x5c352d(0x1e0)],_0x54798c,..._0x28e601[_0x5c352d(0x1e4)](0x2)],{'shell':_0x3a693a[_0x5c352d(0x184)](process[_0x5c352d(0x1ee)],_0x3a693a['YaPgt']),'stdio':_0x3a693a[_0x5c352d(0x202)],'cwd':process[_0x5c352d(0x1d8)](),'env':Object[_0x5c352d(0x199)]({},process[_0x5c352d(0x213)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5c352d(0x203)](_0x358adc),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5db1c8[_0x5c352d(0x1a8)][_0x5c352d(0x1fe)][_0x5c352d(0x20b)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5db1c8[_0x5c352d(0x1a8)][_0x5c352d(0x1fe)][_0x5c352d(0x183)],'BROWSERSTACK_LOG_LEVEL':_0x5db1c8['config'][_0x5c352d(0x1cb)]})}),_0x38f23d=()=>{const _0x154e4c=_0x5c352d;try{const _0x479c29=path[_0x154e4c(0x198)](helper[_0x154e4c(0x19c)](),_0x3a693a[_0x154e4c(0x218)],_0x3a693a['XAEFh']);if(fs[_0x154e4c(0x20f)](_0x479c29)){let _0x2e9ec5=fs[_0x154e4c(0x214)](_0x479c29);_0x2e9ec5=JSON[_0x154e4c(0x216)](_0x2e9ec5),_0x5db1c8['errorMessage']=_0x2e9ec5,fs[_0x154e4c(0x18c)](_0x479c29);}}catch(_0x13df2){logger[_0x154e4c(0x1f6)](_0x3a693a[_0x154e4c(0x1d1)](_0x3a693a['VsEvi'],_0x13df2));}};_0x3dc973['on'](_0x3a693a[_0x5c352d(0x1f3)],async _0x20e666=>{const _0x4041f5=_0x5c352d;try{const _0x289bc4=_0x3a693a[_0x4041f5(0x1a2)][_0x4041f5(0x189)]('|');let _0x149086=0x0;while(!![]){switch(_0x289bc4[_0x149086++]){case'0':_0x3a693a['IamRW'](_0x38f23d);continue;case'1':fs['unlinkSync'](_0x54798c);continue;case'2':fs[_0x4041f5(0x18c)](_0x271def);continue;case'3':process[_0x4041f5(0x1c0)]=_0x20e666;continue;case'4':logger['debug'](_0x4041f5(0x1ef)+_0x20e666);continue;case'5':await utilities['finalExecution'](_0x5db1c8);continue;case'6':await TestHubHandler[_0x4041f5(0x1ca)]();continue;case'7':logger[_0x4041f5(0x1f6)](_0x4041f5(0x1ec)+_0x271def);continue;case'8':logger['info'](_0x4041f5(0x1ec)+_0x54798c);continue;}break;}}catch(_0x3c6e62){logger[_0x4041f5(0x1f6)](_0x3a693a['TkKpD'](_0x3a693a[_0x4041f5(0x185)],_0x3c6e62));}});}module[a35_0x249430(0x181)]=run;
2
+ 'use strict';const a35_0xd860b3=a35_0x11d9;(function(_0x1a7cca,_0xe49169){const _0x379eda=a35_0x11d9,_0xd641bb=_0x1a7cca();while(!![]){try{const _0x58c7cf=-parseInt(_0x379eda(0x1eb))/0x1*(-parseInt(_0x379eda(0x15e))/0x2)+parseInt(_0x379eda(0x173))/0x3*(parseInt(_0x379eda(0x1e5))/0x4)+parseInt(_0x379eda(0x1c6))/0x5+-parseInt(_0x379eda(0x18d))/0x6+-parseInt(_0x379eda(0x169))/0x7+-parseInt(_0x379eda(0x1e9))/0x8+parseInt(_0x379eda(0x199))/0x9*(parseInt(_0x379eda(0x19a))/0xa);if(_0x58c7cf===_0xe49169)break;else _0xd641bb['push'](_0xd641bb['shift']());}catch(_0x5b4031){_0xd641bb['push'](_0xd641bb['shift']());}}}(a35_0x3bc7,0x7348a));function a35_0x11d9(_0x571335,_0x39093e){const _0x3bc7bb=a35_0x3bc7();return a35_0x11d9=function(_0x11d978,_0x551245){_0x11d978=_0x11d978-0x155;let _0x51061e=_0x3bc7bb[_0x11d978];return _0x51061e;},a35_0x11d9(_0x571335,_0x39093e);}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0xd860b3(0x188)),{format}=require(a35_0xd860b3(0x1aa)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0xd860b3(0x155)),utilities=require(a35_0xd860b3(0x15d)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0xd860b3(0x17a)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0xd860b3(0x1b4)),{CrashReporter}=require(a35_0xd860b3(0x1a0)),{getFrameworkVersion}=require(a35_0xd860b3(0x1b5)),{checkAccessibilityPlatformConfig}=require(a35_0xd860b3(0x19b)),{setAccessibilityCapabilities}=require(a35_0xd860b3(0x193)),TestHubHandler=require(a35_0xd860b3(0x182)),{shouldProcessEventForTesthub}=require(a35_0xd860b3(0x1b3)),getUserPlaywrightConfig=async(_0x363e39,_0xc1023)=>{const _0x31650a=a35_0xd860b3,_0x38fe08={'aWAzT':function(_0x4ea9b6){return _0x4ea9b6();},'AWLJh':function(_0x21c3d5,_0x40ef9c){return _0x21c3d5(_0x40ef9c);},'pbpZJ':function(_0x3424ab,_0x55982a){return _0x3424ab(_0x55982a);},'kfVVQ':_0x31650a(0x159),'GgmfV':_0x31650a(0x1bb)},_0x13f944=!helper[_0x31650a(0x172)](_0x363e39['config']),_0x483cca=_0x13f944?path[_0x31650a(0x18e)](process['cwd'](),_0x363e39[_0x31650a(0x1a4)]):process[_0x31650a(0x1dc)](),{resolveConfigFile:_0x2098f2,resolveConfigLocation:_0x565390}=helper[_0x31650a(0x1ed)][_0x31650a(0x1e8)](null,_0x38fe08[_0x31650a(0x1f2)](getConfigLoaderPath)),_0xf2d95c=_0x2098f2?_0x38fe08[_0x31650a(0x198)](_0x2098f2,_0x483cca):helper[_0x31650a(0x162)](_0x38fe08['pbpZJ'](_0x565390,_0x483cca),[_0x38fe08[_0x31650a(0x18b)]]),_0x28daed={};if(_0x13f944){const _0x569f42=_0xc1023[_0x31650a(0x16a)](_0x214965=>_0x214965===_0x31650a(0x1b6)||_0x214965==='-c'||_0x214965[_0x31650a(0x195)](_0x31650a(0x1bb)));_0xc1023[_0x31650a(0x1a1)](_0x569f42,_0xc1023[_0x569f42]['startsWith'](_0x38fe08[_0x31650a(0x18f)])?0x1:0x2);}const _0x5a9d9a={};return _0x5a9d9a[_0x31650a(0x1ac)]=_0xf2d95c,_0x5a9d9a[_0x31650a(0x1a4)]=_0x28daed,_0x5a9d9a;},handleO11yRerun=_0x49b1aa=>{const _0x3ae5de=a35_0xd860b3,_0x45ff2d={};_0x45ff2d[_0x3ae5de(0x196)]=function(_0x41a0c6,_0x443b5c){return _0x41a0c6!==_0x443b5c;},_0x45ff2d[_0x3ae5de(0x1bf)]=_0x3ae5de(0x1b7),_0x45ff2d[_0x3ae5de(0x1c5)]=_0x3ae5de(0x165);const _0x4ed297=_0x45ff2d,_0x51c1a9=helper[_0x3ae5de(0x175)](process[_0x3ae5de(0x1bc)][_0x3ae5de(0x186)]);if(_0x51c1a9){const _0x51b07a=process[_0x3ae5de(0x1bc)][_0x3ae5de(0x1db)],_0x5d5c40=[];if(_0x4ed297[_0x3ae5de(0x196)](_0x51b07a,_0x4ed297['iWfSy'])&&!helper[_0x3ae5de(0x172)](_0x51b07a)){_0x51b07a['split'](',')[_0x3ae5de(0x15c)](_0x44baec=>{const _0x493aca=_0x3ae5de;_0x5d5c40[_0x493aca(0x1be)]('('+_0x44baec[_0x493aca(0x1a3)]()+')');});const _0x5c65af='^'+_0x5d5c40[_0x3ae5de(0x15a)]('|')+'$';_0x49b1aa[_0x3ae5de(0x1be)](_0x4ed297[_0x3ae5de(0x1c5)],_0x5c65af);}}},spawnOriginalProcess=_0x254c49=>{const _0x2ec6dc=a35_0xd860b3,_0x16de07={'vjvPX':function(_0x49cbc4,_0xdb22d1,_0x585966,_0x2270b9){return _0x49cbc4(_0xdb22d1,_0x585966,_0x2270b9);},'guILT':_0x2ec6dc(0x197),'BuYdM':_0x2ec6dc(0x1e1),'VXgWQ':function(_0x486519,_0x560076){return _0x486519===_0x560076;},'Cpwtm':_0x2ec6dc(0x1a6),'nkniA':_0x2ec6dc(0x181)};_0x16de07[_0x2ec6dc(0x1dd)](spawn,_0x16de07[_0x2ec6dc(0x1d5)],[_0x16de07[_0x2ec6dc(0x1f3)],..._0x254c49[_0x2ec6dc(0x19e)](0x1)],{'shell':_0x16de07[_0x2ec6dc(0x194)](process[_0x2ec6dc(0x1d0)],_0x16de07[_0x2ec6dc(0x1c8)]),'stdio':_0x16de07[_0x2ec6dc(0x191)],'cwd':process[_0x2ec6dc(0x1dc)]()});},isTestCommand=(_0x11f37d,_0x236344)=>{const _0x3a99f7=a35_0xd860b3,_0x65b467={};_0x65b467[_0x3a99f7(0x16f)]=function(_0x21715c,_0x120f28){return _0x21715c>_0x120f28;},_0x65b467[_0x3a99f7(0x189)]=function(_0x50d2e6,_0x16e180){return _0x50d2e6===_0x16e180;},_0x65b467[_0x3a99f7(0x187)]=_0x3a99f7(0x156);const _0x11958b=_0x65b467;if(_0x11958b[_0x3a99f7(0x16f)](_0x236344[_0x3a99f7(0x163)],0x1)&&_0x11958b[_0x3a99f7(0x189)](_0x236344[0x1],_0x11958b[_0x3a99f7(0x187)]))return!![];return![];};async function run(_0x27543a,_0x779bd5){const _0x44936f=a35_0xd860b3,_0x4be4a7={'SrUqD':_0x44936f(0x16c),'AfvJd':_0x44936f(0x192),'EUMrt':function(_0x12392a,_0x5520d6){return _0x12392a+_0x5520d6;},'QgGoY':_0x44936f(0x1ce),'oQJhN':'8|1|2|4|7|5|0|6|3','UMXWD':function(_0x85cc5a){return _0x85cc5a();},'awmmI':_0x44936f(0x183),'kWnmq':_0x44936f(0x1de),'yyqTv':_0x44936f(0x1a8),'qsowu':_0x44936f(0x1ba),'JwWVY':function(_0x18aafd,_0xf998bf){return _0x18aafd>=_0xf998bf;},'YRhQE':_0x44936f(0x1a9),'mOQnX':function(_0x4f6507,_0x47a7ee,_0x24daa9){return _0x4f6507(_0x47a7ee,_0x24daa9);},'DlHqn':function(_0xd7c44,_0x4cdae3){return _0xd7c44(_0x4cdae3);},'ZPVlu':_0x44936f(0x1b8),'tDzRA':_0x44936f(0x1d2),'rcOmj':function(_0xcd5d12,_0x22a052){return _0xcd5d12!=_0x22a052;},'IIQQz':function(_0x1e4777,_0x19e3db){return _0x1e4777===_0x19e3db;},'PpdsW':'true','Rwyks':function(_0xac8f65,_0x45489d){return _0xac8f65(_0x45489d);},'zrSur':function(_0x21dcb6,_0x465c86){return _0x21dcb6(_0x465c86);},'fiHuz':_0x44936f(0x164),'PZYbm':_0x44936f(0x171),'nojcj':_0x44936f(0x1f5),'lLgmG':function(_0x161a9d,_0x4bee9d){return _0x161a9d-_0x4bee9d;},'euCOV':_0x44936f(0x16e),'vEyHM':function(_0x2284c2,_0x1afc9b){return _0x2284c2>_0x1afc9b;},'FSvBf':function(_0x57dfea,_0x448941){return _0x57dfea+_0x448941;},'ktECE':function(_0x5041a0,_0x51675f,_0x3451bb,_0x5930d5){return _0x5041a0(_0x51675f,_0x3451bb,_0x5930d5);},'rlbPI':'npx','kTcMI':_0x44936f(0x1e1),'MTCef':'test','OtErN':_0x44936f(0x1b6),'KQqWq':function(_0x4a52ed,_0x1965f6){return _0x4a52ed===_0x1965f6;},'TxFCL':_0x44936f(0x1a6),'XHLzI':_0x44936f(0x181),'BTLyH':_0x44936f(0x1d1)};!helper[_0x44936f(0x166)](process[_0x44936f(0x1bc)][_0x44936f(0x185)])&&(process[_0x44936f(0x1bc)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x44936f(0x190)][_0x44936f(0x1a7)](_0x4be4a7[_0x44936f(0x1e0)])&&(process['env'][_0x44936f(0x185)]=_0x4be4a7[_0x44936f(0x1f4)],_0x779bd5=_0x779bd5[_0x44936f(0x16b)](_0x161601=>_0x161601!==_0x44936f(0x1de)));const _0x4df3e3=_0x779bd5[_0x44936f(0x1ab)](_0x4be4a7['qsowu']);_0x4be4a7[_0x44936f(0x1ea)](_0x4df3e3,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x4be4a7[_0x44936f(0x1f4)],_0x779bd5=_0x779bd5[_0x44936f(0x16b)](_0x52af0d=>_0x52af0d!=='--disable-test-observability'));try{const _0x1d0696=path['join'](helper[_0x44936f(0x1a5)](),_0x4be4a7[_0x44936f(0x1c0)],_0x4be4a7[_0x44936f(0x1c7)]);fs[_0x44936f(0x1d6)](_0x1d0696)&&fs[_0x44936f(0x174)](_0x1d0696);}catch(_0x5287f1){logger[_0x44936f(0x1d4)](_0x4be4a7[_0x44936f(0x15f)](_0x4be4a7['YRhQE'],_0x5287f1));}if(!_0x4be4a7[_0x44936f(0x19c)](isTestCommand,_0x27543a,_0x779bd5)){_0x4be4a7[_0x44936f(0x1d8)](spawnOriginalProcess,_0x779bd5);return;}const _0x44d2c1=new BrowserStackSetup(_0x27543a,FRAMEWORKS['PLAYWRIGHT']);if(!_0x44d2c1[_0x44936f(0x1a4)]){logger['error'](_0x4be4a7[_0x44936f(0x15b)]);return;}await _0x44d2c1[_0x44936f(0x18c)]();!helper[_0x44936f(0x172)](_0x44d2c1['cliConfig'])&&_0x44d2c1['cliConfig'][_0x44936f(0x1cd)](_0x4be4a7[_0x44936f(0x1b1)])&&(process[_0x44936f(0x1bc)]['BROWSERSTACK_AUTOMATION']=_0x44d2c1[_0x44936f(0x161)][_0x44936f(0x1c9)](_0x4be4a7[_0x44936f(0x1b1)])||!![]);_0x4be4a7[_0x44936f(0x1b2)](_0x44d2c1[_0x44936f(0x1a4)]['testObservability'],null)&&!helper[_0x44936f(0x175)](process[_0x44936f(0x1bc)][_0x44936f(0x170)])&&(process['env'][_0x44936f(0x170)]=process[_0x44936f(0x1bc)][_0x44936f(0x170)]||_0x44d2c1[_0x44936f(0x1a4)][_0x44936f(0x1cb)]);const _0xb9d316=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x2a65ea=![];_0x44d2c1['config']['accessibility']&&(_0x2a65ea=!![],process[_0x44936f(0x1bc)][_0x44936f(0x17c)]=_0x44d2c1['config'][_0x44936f(0x180)]);_0x44d2c1[_0x44936f(0x1a4)]['accessibilityOptions']&&(process[_0x44936f(0x1bc)][_0x44936f(0x1c1)]=JSON['stringify'](_0x44d2c1[_0x44936f(0x1a4)][_0x44936f(0x17f)]));const _0x40ddaf=_0x779bd5[_0x44936f(0x167)](),_0x28b791=await _0x4be4a7[_0x44936f(0x19c)](getUserPlaywrightConfig,_0x27543a,_0x779bd5);if(helper['isUndefined'](_0x28b791)){_0x4be4a7[_0x44936f(0x1d8)](spawnOriginalProcess,_0x40ddaf);return;}const _0x4f3f83=_0x28b791[_0x44936f(0x1ac)]?path[_0x44936f(0x1af)](_0x28b791[_0x44936f(0x1ac)]):process[_0x44936f(0x1dc)]();process['env'][_0x44936f(0x1c2)]=_0x4f3f83,await TestHubHandler[_0x44936f(0x1bd)](FRAMEWORKS['PLAYWRIGHT'],_0x44d2c1);_0xb9d316&&_0x4be4a7['DlHqn'](handleO11yRerun,_0x779bd5);let _0x514396=_0x4be4a7[_0x44936f(0x160)](process['env'][_0x44936f(0x17c)],_0x4be4a7['PpdsW']);_0x514396=_0x514396||_0x4be4a7['Rwyks'](checkAccessibilityPlatformConfig,_0x44d2c1[_0x44936f(0x1a4)]),process['env'][_0x44936f(0x17c)]=_0x514396;_0x514396&&_0x4be4a7[_0x44936f(0x1c4)](setAccessibilityCapabilities,_0x44d2c1[_0x44936f(0x1a4)]);const _0x18addc=path['join'](_0x28b791[_0x44936f(0x1ac)]?path[_0x44936f(0x1af)](_0x28b791['path']):process['cwd'](),_0x4be4a7[_0x44936f(0x1a2)]);fs['writeFileSync'](_0x18addc,helper[_0x44936f(0x184)](_0x44d2c1[_0x44936f(0x1a4)])),process[_0x44936f(0x1bc)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x18addc,helper[_0x44936f(0x1ca)]();let _0x2e182c='';_0x4be4a7[_0x44936f(0x160)](helper[_0x44936f(0x1f1)](),constants['PACKAGE_TYPE'][_0x44936f(0x158)])?_0x2e182c=_0x4be4a7[_0x44936f(0x1cc)]:_0x2e182c=_0x4be4a7[_0x44936f(0x17e)];let _0x226f65='';if(helper['isTypescriptProject'](_0x28b791[_0x44936f(0x1ac)])){_0x226f65=_0x44936f(0x1e6);const _0xf5ce1c=_0x2e182c[_0x44936f(0x1ec)]('.');_0xf5ce1c[_0x4be4a7[_0x44936f(0x19d)](_0xf5ce1c[_0x44936f(0x163)],0x1)]='ts',_0x2e182c=_0xf5ce1c[_0x44936f(0x15a)]('.'),logger[_0x44936f(0x1d4)](_0x4be4a7['EUMrt'](_0x4be4a7['euCOV'],_0x2e182c));}else _0x226f65=_0x44936f(0x19f);const _0x50abbc=path['join'](_0x28b791[_0x44936f(0x1ac)]?path[_0x44936f(0x1af)](_0x28b791[_0x44936f(0x1ac)]):process[_0x44936f(0x1dc)](),_0x2e182c);let _0x2accd8=_0x28b791['path']?_0x28b791['path']:'';_0x2accd8=_0x4be4a7[_0x44936f(0x16d)](_0x2accd8[_0x44936f(0x163)],0x0)?path[_0x44936f(0x18e)](_0x2accd8):'',process[_0x44936f(0x1bc)]['USER_CONFIG_DETAILS_PATH']=_0x2accd8;const _0x3816ae=helper['getProxyUrl'](_0x44d2c1['config']);_0x3816ae&&(_0x226f65=_0x4be4a7[_0x44936f(0x1e4)](_0x44936f(0x17b)+_0x3816ae+_0x44936f(0x1df),_0x226f65));helper[_0x44936f(0x1da)]({},_0x779bd5),fs[_0x44936f(0x178)](_0x50abbc,_0x226f65),helper[_0x44936f(0x1ef)]();const _0x3b6fd5=_0x4be4a7[_0x44936f(0x1d9)](spawn,_0x4be4a7[_0x44936f(0x1cf)],[_0x4be4a7[_0x44936f(0x1b0)],_0x4be4a7['MTCef'],_0x4be4a7['OtErN'],_0x50abbc,..._0x779bd5[_0x44936f(0x19e)](0x2)],{'shell':_0x4be4a7[_0x44936f(0x177)](process[_0x44936f(0x1d0)],_0x4be4a7[_0x44936f(0x1b9)]),'stdio':_0x4be4a7['XHLzI'],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x44936f(0x18a)](_0x27543a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x44d2c1['config'][_0x44936f(0x1e3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x44d2c1[_0x44936f(0x1a4)]['testContextOptions'][_0x44936f(0x1f0)],'BROWSERSTACK_LOG_LEVEL':_0x44d2c1[_0x44936f(0x1a4)][_0x44936f(0x1ae)]})}),_0x29f30d=()=>{const _0x2e6e28=_0x44936f;try{const _0x38a5d0=path[_0x2e6e28(0x15a)](helper['homedir'](),_0x4be4a7[_0x2e6e28(0x1c0)],_0x4be4a7[_0x2e6e28(0x1c7)]);if(fs[_0x2e6e28(0x1d6)](_0x38a5d0)){let _0x42b900=fs[_0x2e6e28(0x1ee)](_0x38a5d0);_0x42b900=JSON['parse'](_0x42b900),_0x44d2c1[_0x2e6e28(0x1d7)]=_0x42b900,fs[_0x2e6e28(0x174)](_0x38a5d0);}}catch(_0x1fa6d2){logger[_0x2e6e28(0x1d4)](_0x4be4a7[_0x2e6e28(0x15f)](_0x4be4a7[_0x2e6e28(0x1c3)],_0x1fa6d2));}};_0x3b6fd5['on'](_0x4be4a7[_0x44936f(0x17d)],async _0x28559e=>{const _0x54f84e=_0x44936f;try{const _0x48ac21=_0x4be4a7[_0x54f84e(0x1ad)][_0x54f84e(0x1ec)]('|');let _0xf5529b=0x0;while(!![]){switch(_0x48ac21[_0xf5529b++]){case'0':fs[_0x54f84e(0x174)](_0x50abbc);continue;case'1':await TestHubHandler[_0x54f84e(0x1e7)]();continue;case'2':await utilities['finalExecution'](_0x44d2c1);continue;case'3':fs[_0x54f84e(0x174)](_0x18addc);continue;case'4':process[_0x54f84e(0x168)]=_0x28559e;continue;case'5':logger[_0x54f84e(0x1e2)]('Deleting\x20'+_0x50abbc);continue;case'6':logger[_0x54f84e(0x1d4)](_0x54f84e(0x176)+_0x18addc);continue;case'7':logger['debug'](_0x54f84e(0x157)+_0x28559e);continue;case'8':_0x4be4a7[_0x54f84e(0x179)](_0x29f30d);continue;}break;}}catch(_0x10d5e3){logger[_0x54f84e(0x1d4)](_0x4be4a7[_0x54f84e(0x15f)](_0x4be4a7[_0x54f84e(0x1d3)],_0x10d5e3));}});}module['exports']=run;function a35_0x3bc7(){const _0x1e8909=['GgmfV','argv','nkniA','pw_result.json','./accessibility-helper','VXgWQ','startsWith','LYqjf','npx','AWLJh','27PRULqW','2498370jVnYsU','../../helpers/accessibility-automation/helper','mOQnX','lLgmG','slice','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/test-observability/error-handler','splice','fiHuz','trim','config','homedir','win32','includes','false','Error\x20in\x20deleting\x20playwright\x20results','util','indexOf','path','oQJhN','logLevel','dirname','kTcMI','tDzRA','rcOmj','../../helpers/testhub/utils','./reporter/pwUtils','../../helpers/test-observability/utils','--config','null','BrowserStack\x20config\x20file\x20not\x20found.','TxFCL','--disable-test-observability','--config=','env','launchBuild','push','iWfSy','SrUqD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_PW_CONFIG_DIR','QgGoY','zrSur','cLYMI','1970745DpOGgA','AfvJd','Cpwtm','get','clearTempPWConfig','testObservability','PZYbm','has','Error\x20in\x20getting\x20funnel\x20data\x20results','rlbPI','platform','close','automation','awmmI','debug','guILT','existsSync','errorMessage','DlHqn','ktECE','filterBrowserstackArgs','BROWSERSTACK_RERUN_TESTS','cwd','vjvPX','--disable-browserstack-automation','\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();','kWnmq','playwright','info','testContextOptions','FSvBf','197728TaVATv','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','stop','apply','831576dhHdZT','JwWVY','3jWetTl','split','requirePWModule','readFileSync','markSDKSetupComplete','skipSessionName','getPackageType','aWAzT','BuYdM','yyqTv','playwright-browserstack-sdk.config.js','../../helpers/helper','test','Playwright\x20process\x20exited\x20with\x20code\x20','MODULE','resolvedConfigFile','join','ZPVlu','map','../../helpers/utilities','201808XvEuhQ','EUMrt','IIQQz','cliConfig','nestedKeyValue','length','browserstackSetupConfig.json','--grep','isFalse','concat','exitCode','5722682VfWcjV','findIndex','filter','.browserstack','vEyHM','Updated\x20config\x20file\x20name\x20to\x20-\x20','PAzhz','BROWSERSTACK_TEST_OBSERVABILITY','playwright-browserstack-sdk.config.cjs','isUndefined','54aFsnGb','unlinkSync','isTrue','Deleting\x20','KQqWq','writeFileSync','UMXWD','../../helpers/test-observability/constants','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BTLyH','nojcj','accessibilityOptions','accessibility','inherit','../../helpers/testhub/testhubHandler','Error\x20in\x20closing\x20playwright','serializeToYamlString','BROWSERSTACK_AUTOMATION','BROWSERSTACK_RERUN','zSman','child_process','QoVgy','getConfigPath','kfVVQ','initialize','5654838UzVSCj','resolve'];a35_0x3bc7=function(){return _0x1e8909;};return a35_0x3bc7();}
@@ -1 +1 @@
1
- const a36_0x29f09a=a36_0x125f;function a36_0x5543(){const _0x274d8c=['apply','SenQW','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','./reporter/pwUtils','fork','./patches','includes','winstonLogger','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','14yAIxQk','Not\x20able\x20to\x20import\x20globalSetup','debug','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','136179MHsCtL','IVFes','resolve','EHeew','uaKkh','XaDvl','167962NEKBYA','Path\x20','155XdFOVz','function','requirePWModule','format','40YVFYoy','18012MvMZRf','slUYq','../../helpers/logger','15300vAEhYc','MsksZ','../../helpers/helper','\x20is\x20not\x20found','toString','PLAYWRIGHT','config','env','2690JSSTeM','compareVersions','okPBw','1125908GYbUXL','exports','../../helpers/test-observability/utils','Running\x20existing\x20global\x20setup','sxqXI','IvaxO','342728SEJWRX','11671yenzSM'];a36_0x5543=function(){return _0x274d8c;};return a36_0x5543();}function a36_0x125f(_0x4eda4f,_0x1079d0){const _0x554399=a36_0x5543();return a36_0x125f=function(_0x125f5f,_0x121182){_0x125f5f=_0x125f5f-0x1a2;let _0x12e1ae=_0x554399[_0x125f5f];return _0x12e1ae;},a36_0x125f(_0x4eda4f,_0x1079d0);}(function(_0x18ee69,_0x57576c){const _0x1b415e=a36_0x125f,_0x206f2d=_0x18ee69();while(!![]){try{const _0xb3a8b3=parseInt(_0x1b415e(0x1b5))/0x1+-parseInt(_0x1b415e(0x1ab))/0x2*(parseInt(_0x1b415e(0x1bf))/0x3)+parseInt(_0x1b415e(0x1d0))/0x4+parseInt(_0x1b415e(0x1b7))/0x5*(parseInt(_0x1b415e(0x1bc))/0x6)+parseInt(_0x1b415e(0x1ca))/0x7+parseInt(_0x1b415e(0x1bb))/0x8*(-parseInt(_0x1b415e(0x1af))/0x9)+-parseInt(_0x1b415e(0x1c7))/0xa*(parseInt(_0x1b415e(0x1d1))/0xb);if(_0xb3a8b3===_0x57576c)break;else _0x206f2d['push'](_0x206f2d['shift']());}catch(_0x1832f5){_0x206f2d['push'](_0x206f2d['shift']());}}}(a36_0x5543,0x1b0c2));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a36_0x29f09a(0x1cc)),helper=require(a36_0x29f09a(0x1c1)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x29f09a(0x1a5)),{mockIsWorkerRedundant}=require(a36_0x29f09a(0x1a7)),logger=require(a36_0x29f09a(0x1be))[a36_0x29f09a(0x1a9)];module[a36_0x29f09a(0x1cb)]=async function(_0x335003){const _0x5a5b1f=a36_0x29f09a,_0x412633={'XaDvl':function(_0x5529e9,_0xe04e82){return _0x5529e9(_0xe04e82);},'slUYq':function(_0x40b2ac){return _0x40b2ac();},'lAfOf':'./mock-process.js','IVFes':function(_0x146093){return _0x146093();},'MsksZ':function(_0x330cbb,_0x1a933c){return _0x330cbb(_0x1a933c);},'TsDZX':_0x5a5b1f(0x1cd),'uaKkh':function(_0x4fe1b2){return _0x4fe1b2();},'sxqXI':function(_0x4a2dbd,_0x4de498){return _0x4a2dbd(_0x4de498);},'EHeew':function(_0x228732,_0x180ae6){return _0x228732>=_0x180ae6;},'ogSfT':'1.33.0','IvaxO':function(_0xc18902,_0x5bb4a6,_0x3d62f2){return _0xc18902(_0x5bb4a6,_0x3d62f2);},'okPBw':function(_0x156847,_0x156b45){return _0x156847!==_0x156b45;},'qrpSO':_0x5a5b1f(0x1b8),'SenQW':_0x5a5b1f(0x1ac)},_0x5974b1=child_process[_0x5a5b1f(0x1a6)];if(helper['isHandlePWErrorSet']())try{_0x412633[_0x5a5b1f(0x1b0)](mockIsWorkerRedundant);}catch(_0x542dce){logger[_0x5a5b1f(0x1ad)](_0x5a5b1f(0x1aa)+util[_0x5a5b1f(0x1ba)](_0x542dce));}child_process[_0x5a5b1f(0x1a6)]=function(){const _0x152f2f=_0x5a5b1f;return _0x412633[_0x152f2f(0x1b4)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x152f2f(0x1a8)](_0x412633['slUYq'](getForkProcessPath))?arguments[0x0]=require[_0x152f2f(0x1b1)](_0x412633['lAfOf']):logger['error'](_0x152f2f(0x1b6)+_0x412633[_0x152f2f(0x1bd)](getForkProcessPath)+_0x152f2f(0x1c2)),_0x5974b1[_0x152f2f(0x1a2)](null,arguments);};if(process[_0x5a5b1f(0x1c6)][_0x5a5b1f(0x1a4)]){_0x412633[_0x5a5b1f(0x1c0)](debug,_0x412633['TsDZX']);try{const {loadGlobalHook:_0x5cce2e}=helper[_0x5a5b1f(0x1b9)][_0x5a5b1f(0x1a2)](null,_0x412633[_0x5a5b1f(0x1b3)](getLoadUtilsPath)),_0x45db3e=_0x412633[_0x5a5b1f(0x1ce)](getFrameworkVersion,FRAMEWORKS[_0x5a5b1f(0x1c4)]);let _0x3e1f3d=_0x335003;if(_0x412633[_0x5a5b1f(0x1b2)](helper[_0x5a5b1f(0x1c8)](_0x45db3e,_0x412633['ogSfT']),0x0)){const _0x7775d9={};_0x7775d9[_0x5a5b1f(0x1c5)]=_0x335003,_0x3e1f3d=_0x7775d9;}const _0xe42393=await _0x412633[_0x5a5b1f(0x1cf)](_0x5cce2e,_0x3e1f3d,process['env'][_0x5a5b1f(0x1a4)]);if(_0x412633[_0x5a5b1f(0x1c9)](typeof _0xe42393,_0x412633['qrpSO']))throw new Error(_0x412633[_0x5a5b1f(0x1a3)]);return _0xe42393['apply'](null,arguments);}catch(_0x4c79e4){_0x412633[_0x5a5b1f(0x1ce)](debug,_0x5a5b1f(0x1ae)+_0x4c79e4[_0x5a5b1f(0x1c3)]());}}};
1
+ const a36_0x49d56b=a36_0x3e62;function a36_0x3e62(_0x461366,_0xad0d14){const _0x412dbe=a36_0x412d();return a36_0x3e62=function(_0x3e62b2,_0x28c1f8){_0x3e62b2=_0x3e62b2-0x1db;let _0x11efd0=_0x412dbe[_0x3e62b2];return _0x11efd0;},a36_0x3e62(_0x461366,_0xad0d14);}(function(_0x254f65,_0x3cd665){const _0x4ee672=a36_0x3e62,_0x16fcd4=_0x254f65();while(!![]){try{const _0x27e4c7=parseInt(_0x4ee672(0x205))/0x1*(-parseInt(_0x4ee672(0x1f9))/0x2)+-parseInt(_0x4ee672(0x1dc))/0x3*(-parseInt(_0x4ee672(0x1de))/0x4)+parseInt(_0x4ee672(0x1e5))/0x5+-parseInt(_0x4ee672(0x1e6))/0x6+parseInt(_0x4ee672(0x1fb))/0x7+-parseInt(_0x4ee672(0x1ec))/0x8*(parseInt(_0x4ee672(0x1fc))/0x9)+parseInt(_0x4ee672(0x1e7))/0xa*(-parseInt(_0x4ee672(0x202))/0xb);if(_0x27e4c7===_0x3cd665)break;else _0x16fcd4['push'](_0x16fcd4['shift']());}catch(_0x2eafb8){_0x16fcd4['push'](_0x16fcd4['shift']());}}}(a36_0x412d,0x73637));function a36_0x412d(){const _0x10c3ea=['bCIds','Path\x20','dgMfT','Xuohm','debug','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','834tQOEMd','PLAYWRIGHT','9368sdcXuB','function','Vpcke','child_process','etLYs','config','gkkgQ','4311795Kbcnfb','4027458VSBEra','10dfCOxE','exports','isHandlePWErrorSet','Wqgpq','Call\x20to\x20child\x20fork\x20with\x20args\x20','1470856kpvLjK','apply','UKXht','\x20is\x20not\x20found','compareVersions','util','Xqnmg','env','./mock-process.js','./patches','PGcpv','includes','./reporter/pwUtils','617242dhWtBX','requirePWModule','5628042lzrVPR','36WwbfKw','winstonLogger','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','fork','Running\x20existing\x20global\x20setup','../../helpers/logger','1424698cpailv','hKFAj','../../helpers/test-observability/constants','1FLSzbQ'];a36_0x412d=function(){return _0x10c3ea;};return a36_0x412d();}const util=require(a36_0x49d56b(0x1f1)),child_process=require(a36_0x49d56b(0x1e1)),{FRAMEWORKS}=require(a36_0x49d56b(0x204)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x49d56b(0x1f8)),{mockIsWorkerRedundant}=require(a36_0x49d56b(0x1f5)),logger=require(a36_0x49d56b(0x201))[a36_0x49d56b(0x1fd)];module[a36_0x49d56b(0x1e8)]=async function(_0x29860e){const _0xf22e31=a36_0x49d56b,_0x5abcf4={'dgMfT':function(_0x443638,_0x2f3120){return _0x443638(_0x2f3120);},'bCIds':function(_0x219d69){return _0x219d69();},'tVnpJ':_0xf22e31(0x1f4),'gkkgQ':function(_0x2f8e18){return _0x2f8e18();},'Wqgpq':_0xf22e31(0x200),'PGcpv':function(_0x1294c3,_0x586a8f){return _0x1294c3>=_0x586a8f;},'Vpcke':'1.33.0','etLYs':function(_0x34adf7,_0x28b821,_0x1799da){return _0x34adf7(_0x28b821,_0x1799da);},'Xqnmg':function(_0x14f679,_0x3ff60c){return _0x14f679!==_0x3ff60c;},'hKFAj':_0xf22e31(0x1df),'Xuohm':'Not\x20able\x20to\x20import\x20globalSetup','UKXht':function(_0x56f7e5,_0x197052){return _0x56f7e5(_0x197052);}},_0xeb352f=child_process[_0xf22e31(0x1ff)];if(helper[_0xf22e31(0x1e9)]())try{_0x5abcf4[_0xf22e31(0x206)](mockIsWorkerRedundant);}catch(_0x5ebdb9){logger[_0xf22e31(0x20a)](_0xf22e31(0x1db)+util['format'](_0x5ebdb9));}child_process[_0xf22e31(0x1ff)]=function(){const _0x114107=_0xf22e31;return _0x5abcf4[_0x114107(0x208)](debug,_0x114107(0x1eb)+arguments[0x0]),arguments[0x0][_0x114107(0x1f7)](_0x5abcf4[_0x114107(0x206)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x5abcf4['tVnpJ']):logger['error'](_0x114107(0x207)+_0x5abcf4[_0x114107(0x1e4)](getForkProcessPath)+_0x114107(0x1ef)),_0xeb352f[_0x114107(0x1ed)](null,arguments);};if(process['env'][_0xf22e31(0x1fe)]){_0x5abcf4[_0xf22e31(0x208)](debug,_0x5abcf4[_0xf22e31(0x1ea)]);try{const {loadGlobalHook:_0xd54963}=helper[_0xf22e31(0x1fa)][_0xf22e31(0x1ed)](null,_0x5abcf4['gkkgQ'](getLoadUtilsPath)),_0x5509e3=_0x5abcf4[_0xf22e31(0x208)](getFrameworkVersion,FRAMEWORKS[_0xf22e31(0x1dd)]);let _0x3318b7=_0x29860e;if(_0x5abcf4[_0xf22e31(0x1f6)](helper[_0xf22e31(0x1f0)](_0x5509e3,_0x5abcf4[_0xf22e31(0x1e0)]),0x0)){const _0xf28d40={};_0xf28d40[_0xf22e31(0x1e3)]=_0x29860e,_0x3318b7=_0xf28d40;}const _0x41389d=await _0x5abcf4[_0xf22e31(0x1e2)](_0xd54963,_0x3318b7,process[_0xf22e31(0x1f3)][_0xf22e31(0x1fe)]);if(_0x5abcf4[_0xf22e31(0x1f2)](typeof _0x41389d,_0x5abcf4[_0xf22e31(0x203)]))throw new Error(_0x5abcf4[_0xf22e31(0x209)]);return _0x41389d[_0xf22e31(0x1ed)](null,arguments);}catch(_0x4b927e){_0x5abcf4[_0xf22e31(0x1ee)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x4b927e['toString']());}}};