browserstack-node-sdk 1.32.8 → 1.32.10

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 (117) 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/templates/autoscaler/deployment.yaml +1 -1
  25. package/ats/src/utils/AWSUtils.js +1 -1
  26. package/ats/src/utils/createAutoscalerStack.js +1 -1
  27. package/ats/src/utils/createClusterStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteStack.js +1 -1
  30. package/ats/src/utils/gridComponents.js +1 -1
  31. package/ats/src/utils/hstUtils.js +1 -1
  32. package/ats/src/utils/instrumentationUtils.js +1 -1
  33. package/ats/src/utils/userInput.js +1 -1
  34. package/ats/src/utils/utilityMethods.js +1 -1
  35. package/ats/src/utils/webSocketUtils.js +1 -1
  36. package/package.json +5 -3
  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.setup.js +1 -1
  45. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  46. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  47. package/src/bin/integrations/command.js +2 -0
  48. package/src/bin/integrations/constants.js +1 -0
  49. package/src/bin/jest/command.js +1 -1
  50. package/src/bin/jest/customImplements/customCircus.js +1 -1
  51. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  52. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  53. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  54. package/src/bin/jest/jest.setup.js +1 -1
  55. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  56. package/src/bin/jest/test-observability/helper.js +1 -1
  57. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  58. package/src/bin/jest/test-observability/test-details.js +1 -1
  59. package/src/bin/jest/test_before.setup.js +1 -1
  60. package/src/bin/launcher/launcher.js +1 -1
  61. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  62. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/mocha/command.js +1 -1
  64. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  65. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  66. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  67. package/src/bin/mocha/test.setup.js +1 -1
  68. package/src/bin/nightwatch/command.js +1 -1
  69. package/src/bin/playwright/accessibility-helper.js +1 -1
  70. package/src/bin/playwright/command.js +1 -1
  71. package/src/bin/playwright/globalSetup.js +1 -1
  72. package/src/bin/playwright/mock-process.js +1 -1
  73. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/w3cMapping.js +1 -1
  116. package/src/hubAllocationMethods.js +1 -1
  117. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a25_0xe5e2fa=a25_0x264f;function a25_0x264f(_0x481af7,_0x2411a7){const _0x16727c=a25_0x1672();return a25_0x264f=function(_0x264fe8,_0x3465b2){_0x264fe8=_0x264fe8-0x14f;let _0x3f4712=_0x16727c[_0x264fe8];return _0x3f4712;},a25_0x264f(_0x481af7,_0x2411a7);}function a25_0x1672(){const _0x1b7883=['send','ezeTw','debug','setCapabilities','../../../helpers/logger','zEkBA','requireHttpClient','originalBuilder','/wd/hub','requireSeleniumWebdriver','vyuPK','se:ieOptions','newHubUrl','qNahX','GDrSV','zaBXr','setServer','1217740HgLiAP','overrideGet','CAPABILITY_KEY','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','capabilities_','5YQBxfm','Setting\x20Browserstack\x20capabilities','getGlobal','Proxy\x20set\x20to\x20','getHttpAgent','YDAxW','proxy_','moz:firefoxOptions','exports','5631yOpAJZ','110252kIOPmx','capability','then','getAccessibilityResultsSummary','https://','caps_','JlPQO','object','../../../helpers/globals','WnjZL','isAccessibilityPlatform','LsROE','isUndefined','UrDDV','mergeDeep','setGlobal','PfdyD','IQIlj','HttpClient','Nsjbe','goog:chromeOptions','../../../helpers/helper','XBOoc','updateHubUrl','safariOptions_','build','error','1909672tTxfGm','__setBrowserOptions','1515228GKQSRD','firefoxOptions','CYOtQ','Builder','Ftvxm','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','options_','url_','getRequestOptions','WLEAd','storeOptimalHubUrl','browserStackLogLevel','chromeOptions','global','get','snvdB','agent_','vdrKC','proxyUrl','DAmMm','set','isBrowserstackInfra','getHubUrl','/session','LpoKi','ms:edgeOptions','edgeOptions_','gBllK','16LSSSRN','setLogLevel','path','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','7EMjejc','1605594OobqVc','../../../hubAllocationMethods','ieOptions','JcSmc','Hub\x20url\x20set\x20to\x20','EULGQ','split','../accessibility-automation/helper','__driversArray','275660QddFJY','18RSgloK','winstonLogger','safari.options','NaLtq','edgeOptions','GeHtb','Modifying\x20webdriver\x20builder','../../../helpers/accessibility-automation/helper','qezLc','proxySettings','pSCJt','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','firefoxOptions_','push','UhDYJ','ikPqj','logLevel','session_','5|2|0|4|3|1','overrideExecute','../../../bin/utils/constants','getAccessibilityResults','ieOptions_','JKJlN','__drivers','chromeOptions_'];a25_0x1672=function(){return _0x1b7883;};return a25_0x1672();}(function(_0x212112,_0x17a5a1){const _0x59a289=a25_0x264f,_0x5867c9=_0x212112();while(!![]){try{const _0x739ccc=-parseInt(_0x59a289(0x1b6))/0x1+parseInt(_0x59a289(0x16d))/0x2*(-parseInt(_0x59a289(0x1b5))/0x3)+-parseInt(_0x59a289(0x151))/0x4+-parseInt(_0x59a289(0x1ac))/0x5*(-parseInt(_0x59a289(0x172))/0x6)+-parseInt(_0x59a289(0x171))/0x7*(-parseInt(_0x59a289(0x14f))/0x8)+parseInt(_0x59a289(0x17c))/0x9*(parseInt(_0x59a289(0x1a7))/0xa)+-parseInt(_0x59a289(0x17b))/0xb;if(_0x739ccc===_0x17a5a1)break;else _0x5867c9['push'](_0x5867c9['shift']());}catch(_0x337397){_0x5867c9['push'](_0x5867c9['shift']());}}}(a25_0x1672,0x35e31));const logger=require(a25_0xe5e2fa(0x19a))[a25_0xe5e2fa(0x17d)],helper=require(a25_0xe5e2fa(0x1cb)),constants=require(a25_0xe5e2fa(0x190)),hubAllocator=require(a25_0xe5e2fa(0x173)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a25_0xe5e2fa(0x179)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a25_0xe5e2fa(0x183)),globals=require(a25_0xe5e2fa(0x1be)),modify=(_0x3a3032,_0x5cc5c8=null,_0x274b15=![])=>{const _0x37853b=a25_0xe5e2fa,_0xe35913={'IQIlj':function(_0x21f43f,_0x17b5e3){return _0x21f43f!==_0x17b5e3;},'Nsjbe':_0x37853b(0x168),'WLEAd':function(_0x860f11,_0x3c50d0){return _0x860f11+_0x3c50d0;},'WnjZL':_0x37853b(0x1ba),'JcSmc':_0x37853b(0x19e),'JKJlN':_0x37853b(0x1ca),'LsROE':_0x37853b(0x15d),'XBOoc':_0x37853b(0x16a),'GDrSV':_0x37853b(0x180),'EULGQ':_0x37853b(0x1b3),'pEJHh':_0x37853b(0x152),'vdrKC':_0x37853b(0x17e),'gBllK':_0x37853b(0x1a1),'JlPQO':_0x37853b(0x174),'UhDYJ':function(_0x5d3246,_0x10ef19){return _0x5d3246===_0x10ef19;},'YDAxW':_0x37853b(0x1bd),'ikPqj':_0x37853b(0x1ad),'rsGYX':'optimalHubUrl','snvdB':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','qezLc':function(_0x12d7e0,_0x5eaff9,_0x222d01){return _0x12d7e0(_0x5eaff9,_0x222d01);},'PfdyD':function(_0x2dbd5a,_0x8cc4a){return _0x2dbd5a(_0x8cc4a);},'zaBXr':function(_0x253fd8,_0x49ed17,_0x391cae){return _0x253fd8(_0x49ed17,_0x391cae);},'GeHtb':_0x37853b(0x18e),'LpoKi':_0x37853b(0x156),'zEkBA':_0x37853b(0x1c0),'NaLtq':function(_0x23e8fd){return _0x23e8fd();},'DAmMm':function(_0x7d8b7d,_0x5a8589){return _0x7d8b7d(_0x5a8589);},'gpGTW':function(_0x50743a,_0x40720d){return _0x50743a(_0x40720d);},'CYOtQ':function(_0x5e9a62,_0x1a737a){return _0x5e9a62!==_0x1a737a;},'Ftvxm':function(_0x23e429,_0x17007a){return _0x23e429!==_0x17007a;},'vyuPK':_0x37853b(0x1aa),'pSCJt':_0x37853b(0x182)},_0x54d6c3=helper[_0x37853b(0x19c)]();let _0x3946a8;try{_0x3946a8=helper[_0x37853b(0x19f)](),_0x3946a8['originalBuilder']&&(_0x3946a8[_0x37853b(0x154)]=_0x3946a8[_0x37853b(0x19d)]);}catch(_0x2d5648){return;}if(helper[_0x37853b(0x166)]()){const _0x24c649={};_0x24c649[_0x37853b(0x18c)]=_0x3a3032[_0x37853b(0x15c)],helper[_0x37853b(0x16e)](_0x24c649,new Map(),new Map()),logger['info'](_0xe35913[_0x37853b(0x1a0)]),logger[_0x37853b(0x198)](_0xe35913[_0x37853b(0x186)]);}class _0x2c8739 extends _0x54d6c3[_0x37853b(0x1c8)]{[_0x37853b(0x196)](_0x1bec27){const _0x4bdbaf=_0x37853b;if(_0xe35913[_0x4bdbaf(0x1c7)](_0x1bec27[_0x4bdbaf(0x16f)],_0xe35913[_0x4bdbaf(0x1c9)])&&_0xe35913['IQIlj'](global[_0x4bdbaf(0x1a2)],''))try{global['newHubUrl']=_0xe35913['WLEAd'](_0xe35913[_0x4bdbaf(0x15a)](_0xe35913[_0x4bdbaf(0x1bf)],global['newHubUrl']),_0xe35913[_0x4bdbaf(0x175)]),this[_0x4bdbaf(0x157)]=hubAllocator[_0x4bdbaf(0x159)](global[_0x4bdbaf(0x1a2)]),logger[_0x4bdbaf(0x198)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x4bdbaf(0x1a2)]='';}catch(_0x89ad81){logger[_0x4bdbaf(0x1d0)](_0x89ad81);}return super[_0x4bdbaf(0x196)](_0x1bec27);}}class _0x1320a3 extends _0x3946a8['Builder']{[_0x37853b(0x1a6)](){const _0x5e7b58=_0x37853b;return this['url_']=helper[_0x5e7b58(0x167)](_0x3a3032),logger['debug'](_0x5e7b58(0x176)+this[_0x5e7b58(0x158)]),this;}[_0x37853b(0x150)](_0x266fb0){const _0x2cfc4f=_0x37853b;let _0x39e90b={};for(const _0x3b559e in _0x266fb0){switch(_0x3b559e){case _0xe35913[_0x2cfc4f(0x193)]:case _0xe35913[_0x2cfc4f(0x1c1)]:this['chromeOptions_']&&(_0x39e90b=this[_0x2cfc4f(0x195)]['get'](this[_0x2cfc4f(0x195)][_0x2cfc4f(0x1a9)])||{},this[_0x2cfc4f(0x195)][_0x2cfc4f(0x165)](this[_0x2cfc4f(0x195)][_0x2cfc4f(0x1a9)],helper[_0x2cfc4f(0x1c4)](_0x39e90b,_0x266fb0[_0x3b559e])));break;case _0xe35913[_0x2cfc4f(0x1cc)]:case _0xe35913[_0x2cfc4f(0x1a4)]:this['edgeOptions_']&&(_0x39e90b=this[_0x2cfc4f(0x16b)][_0x2cfc4f(0x15f)](this[_0x2cfc4f(0x16b)]['CAPABILITY_KEY'])||{},this[_0x2cfc4f(0x16b)][_0x2cfc4f(0x165)](this['edgeOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x39e90b,_0x266fb0[_0x3b559e])));break;case _0xe35913[_0x2cfc4f(0x177)]:case _0xe35913['pEJHh']:this[_0x2cfc4f(0x188)]&&(_0x39e90b=this[_0x2cfc4f(0x188)]['get'](this['firefoxOptions_'][_0x2cfc4f(0x1a9)])||{},this['firefoxOptions_'][_0x2cfc4f(0x165)](this[_0x2cfc4f(0x188)][_0x2cfc4f(0x1a9)],helper[_0x2cfc4f(0x1c4)](_0x39e90b,_0x266fb0[_0x3b559e])));break;case _0xe35913[_0x2cfc4f(0x162)]:this[_0x2cfc4f(0x1ce)]&&(_0x39e90b=this['safariOptions_'][_0x2cfc4f(0x15f)](this['safariOptions_'][_0x2cfc4f(0x1a9)])||{},this[_0x2cfc4f(0x1ce)][_0x2cfc4f(0x165)](this[_0x2cfc4f(0x1ce)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x39e90b,_0x266fb0[_0x3b559e])));break;case _0xe35913[_0x2cfc4f(0x16c)]:case _0xe35913[_0x2cfc4f(0x1bc)]:this[_0x2cfc4f(0x192)]&&(_0x39e90b=this[_0x2cfc4f(0x192)][_0x2cfc4f(0x15f)](this[_0x2cfc4f(0x192)][_0x2cfc4f(0x1a9)])||{},this[_0x2cfc4f(0x192)][_0x2cfc4f(0x165)](this[_0x2cfc4f(0x192)][_0x2cfc4f(0x1a9)],helper[_0x2cfc4f(0x1c4)](_0x39e90b,_0x266fb0[_0x3b559e])));break;}}}[_0x37853b(0x199)](){const _0x5db673=_0x37853b,_0x4c1c8f={'Fhzok':function(_0x3ec4e9,_0x303adf){const _0x59ad42=a25_0x264f;return _0xe35913[_0x59ad42(0x18a)](_0x3ec4e9,_0x303adf);},'qNahX':_0xe35913[_0x5db673(0x1b1)]};return logger[_0x5db673(0x198)](_0xe35913[_0x5db673(0x18b)]),this['__setBrowserOptions'](_0x3a3032[_0x5db673(0x1b7)]),Object['keys'](_0x3a3032['capability'])['forEach'](_0x41c5c1=>{const _0x125f05=_0x5db673,_0x3d08d0=this[_0x125f05(0x1ab)][_0x125f05(0x15f)](_0x41c5c1);_0x4c1c8f['Fhzok'](typeof _0x3d08d0,_0x4c1c8f[_0x125f05(0x1a3)])?this[_0x125f05(0x1ab)][_0x125f05(0x165)](_0x41c5c1,helper['mergeDeep'](_0x3d08d0,_0x3a3032[_0x125f05(0x1b7)][_0x41c5c1])):this[_0x125f05(0x1ab)]['set'](_0x41c5c1,_0x3a3032[_0x125f05(0x1b7)][_0x41c5c1]);}),this;}[_0x37853b(0x1cf)](){const _0x1ed506=_0x37853b,_0x458847={'ezeTw':function(_0x380412,_0x4c5023,_0x224039){return _0xe35913['qezLc'](_0x380412,_0x4c5023,_0x224039);},'LuVjW':function(_0x1bf03f,_0x10d035){const _0xc6baeb=a25_0x264f;return _0xe35913[_0xc6baeb(0x1c6)](_0x1bf03f,_0x10d035);},'bkjSq':function(_0x21afbf,_0x26e08d,_0x857623){const _0x4ce1fb=a25_0x264f;return _0xe35913[_0x4ce1fb(0x1a5)](_0x21afbf,_0x26e08d,_0x857623);},'UrDDV':function(_0x49db5b,_0x3b120d,_0x3ed35f){const _0x548845=a25_0x264f;return _0xe35913[_0x548845(0x1a5)](_0x49db5b,_0x3b120d,_0x3ed35f);}};if(helper[_0x1ed506(0x166)]()){const _0x4f56ee=_0xe35913[_0x1ed506(0x181)][_0x1ed506(0x178)]('|');let _0x161042=0x0;while(!![]){switch(_0x4f56ee[_0x161042++]){case'0':this[_0x1ed506(0x199)]();continue;case'1':logger[_0x1ed506(0x198)](_0xe35913[_0x1ed506(0x169)]);continue;case'2':this['setServer']();continue;case'3':globals[_0x1ed506(0x1ae)](_0xe35913[_0x1ed506(0x19b)])&&(!_0xe35913[_0x1ed506(0x184)](setExtension,this,_0x3a3032)&&globals[_0x1ed506(0x1c5)](_0xe35913[_0x1ed506(0x19b)],![]));continue;case'4':if(helper['isPacProxy'](_0x3a3032[_0x1ed506(0x185)][_0x1ed506(0x163)]))this[_0x1ed506(0x161)]=helper[_0x1ed506(0x1b0)](_0x3a3032[_0x1ed506(0x185)][_0x1ed506(0x163)]);else _0x3a3032[_0x1ed506(0x185)][_0x1ed506(0x163)]&&(this[_0x1ed506(0x1b2)]=_0x3a3032[_0x1ed506(0x185)]['proxyUrl'],logger[_0x1ed506(0x198)](_0x1ed506(0x1af)+this[_0x1ed506(0x1b2)]));continue;case'5':_0xe35913[_0x1ed506(0x17f)](isAccessibilityAutomationSession)&&_0xe35913[_0x1ed506(0x164)](setAccessibilityCapabilities,_0x3a3032);continue;}break;}}const _0x59538b=super[_0x1ed506(0x1cf)]();return _0x59538b[_0x1ed506(0x18d)][_0x1ed506(0x1b8)](_0x1b596b=>{const _0x1797ce=_0x1ed506;try{const _0x46528d=_0x1b596b[_0x1797ce(0x1bb)][_0x1797ce(0x15f)](_0xe35913['rsGYX']);_0x46528d?(logger[_0x1797ce(0x198)](_0x1797ce(0x170)+_0x46528d),hubAllocator[_0x1797ce(0x1cd)](_0x46528d),helper[_0x1797ce(0x15b)](_0x46528d)):logger[_0x1797ce(0x198)](_0xe35913[_0x1797ce(0x160)]);}catch(_0x1a969e){logger['debug'](_0x1797ce(0x187)+_0x1a969e);}}),_0x59538b['quitCount_']=0x0,_0x59538b[_0x1ed506(0x1b8)]&&_0x59538b[_0x1ed506(0x1b8)](_0x186915=>{const _0x3e24de=_0x1ed506,_0x464f7f={'shygA':function(_0x2c80fa,_0x5121e3,_0x57208e){const _0x5b35d6=a25_0x264f;return _0x458847[_0x5b35d6(0x197)](_0x2c80fa,_0x5121e3,_0x57208e);}};_0x458847[_0x3e24de(0x197)](overrideQuit,_0x186915,_0x59538b),_0x458847['LuVjW'](overrideTakeScreenshot,_0x186915),helper[_0x3e24de(0x1a8)](_0x186915,_0x3a3032),helper[_0x3e24de(0x18f)](_0x186915,_0x3a3032),_0x186915[_0x3e24de(0x1b9)]=async()=>{return await _0x464f7f['shygA'](getAccessibilityResultsSummary,_0x186915,global);},_0x186915[_0x3e24de(0x191)]=async()=>{return await _0x458847['ezeTw'](getAccessibilityResults,_0x186915,global);};}),_0x59538b['getAccessibilityResultsSummary']=async()=>{return await _0x458847['bkjSq'](getAccessibilityResultsSummary,_0x59538b,global);},_0x59538b[_0x1ed506(0x191)]=async()=>{const _0x54c863=_0x1ed506;return await _0x458847[_0x54c863(0x1c3)](getAccessibilityResults,_0x59538b,global);},_0xe35913['gpGTW'](overrideTakeScreenshot,_0x59538b),_0xe35913[_0x1ed506(0x164)](overrideQuit,_0x59538b),helper['overrideGet'](_0x59538b,_0x3a3032),helper[_0x1ed506(0x18f)](_0x59538b,_0x3a3032),helper['isUndefined'](global['__driversArray'])&&(global['__driversArray']=[]),helper[_0x1ed506(0x1c2)](global[_0x1ed506(0x194)])&&(global[_0x1ed506(0x194)]=[]),global[_0x1ed506(0x17a)][_0x1ed506(0x189)](_0x59538b),global['__driver']=_0x59538b,_0xe35913[_0x1ed506(0x153)](global[_0x1ed506(0x194)],undefined)&&global[_0x1ed506(0x194)]['push'](_0x59538b),_0x5cc5c8&&helper['isUndefined'](_0x5cc5c8[_0x1ed506(0x15e)][_0x1ed506(0x17a)])&&(_0x5cc5c8[_0x1ed506(0x15e)][_0x1ed506(0x17a)]=[]),_0x5cc5c8&&_0xe35913[_0x1ed506(0x155)](_0x5cc5c8[_0x1ed506(0x15e)][_0x1ed506(0x194)],undefined)&&(_0x5cc5c8['global'][_0x1ed506(0x194)][_0x1ed506(0x189)](_0x59538b),_0x5cc5c8[_0x1ed506(0x15e)]['__driversArray']['push'](_0x59538b)),_0x59538b;}}return _0x3946a8[_0x37853b(0x19d)]=_0x3946a8['Builder'],_0x3946a8['Builder']=_0x1320a3,_0x54d6c3['HttpClient']=_0x2c8739,_0x3946a8;};module[a25_0xe5e2fa(0x1b4)]['browserstackAgentObservability']=modify;
1
+ function a27_0x2124(){const _0x56640d=['35chycAI','vfCVy','keys','Zunft','logLevel','requireSeleniumWebdriver','cvkAP','dzLej','edgeOptions','capability','NnEnL','proxy_','proxyUrl','safari.options','ieOptions_','quitCount_','getAccessibilityResults','setServer','overrideExecute','__driver','qauNl','getAccessibilityResultsSummary','../accessibility-automation/helper','MZcZx','ReJNM','SoYSX','optimalHubUrl','firefoxOptions','setLogLevel','edgeOptions_','nVHwR','session_','__drivers','isUndefined','612870xeskAe','getGlobal','goog:chromeOptions','newHubUrl','/wd/hub','info','bMiVc','getHubUrl','11633823eDHQCj','requireHttpClient','FsuBz','TkolC','set','__setBrowserOptions','global','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','afntk','OOACT','2434624ggZvlO','agent_','exports','debug','safariOptions_','tqHqc','build','420768pQEsgw','AfKTW','winstonLogger','Hub\x20url\x20set\x20to\x20','gWfDM','32685RGsieo','url_','../../../helpers/patchHelpers','capabilities_','CHmFJ','proxySettings','Modifying\x20webdriver\x20builder','send','overrideGet','then','firefoxOptions_','ms:edgeOptions','qvRPY','chromeOptions_','../../../hubAllocationMethods','86NpKmhH','csPjj','4592976QdzTeH','vUwvt','get','path','getHttpAgent','push','browserstackAgentObservability','KXkAC','https://','isAccessibilityPlatform','__driversArray','zRHMf','error','ugoNH','CFusA','forEach','browserStackLogLevel','VQsOQ','NRJeN','storeOptimalHubUrl','New\x20hub\x20url\x20set\x20to\x20','getRequestOptions','3042405OpywkR','updateHubUrl','setCapabilities','mergeDeep','HttpClient','CAPABILITY_KEY','DBtyN','mjotU','Builder','ieOptions','isBrowserstackInfra','originalBuilder'];a27_0x2124=function(){return _0x56640d;};return a27_0x2124();}const a27_0x59837e=a27_0x50a3;(function(_0x335c7f,_0x3540a5){const _0xd904e5=a27_0x50a3,_0x5cce9f=_0x335c7f();while(!![]){try{const _0x20c811=parseInt(_0xd904e5(0x1c9))/0x1+-parseInt(_0xd904e5(0x1dd))/0x2*(parseInt(_0xd904e5(0x1ce))/0x3)+parseInt(_0xd904e5(0x1df))/0x4+parseInt(_0xd904e5(0x1f5))/0x5+-parseInt(_0xd904e5(0x1b0))/0x6*(-parseInt(_0xd904e5(0x201))/0x7)+-parseInt(_0xd904e5(0x1c2))/0x8+-parseInt(_0xd904e5(0x1b8))/0x9;if(_0x20c811===_0x3540a5)break;else _0x5cce9f['push'](_0x5cce9f['shift']());}catch(_0x2248c4){_0x5cce9f['push'](_0x5cce9f['shift']());}}}(a27_0x2124,0x980a6));function a27_0x50a3(_0x603475,_0x35264d){const _0x2124b2=a27_0x2124();return a27_0x50a3=function(_0x50a39d,_0x55cd42){_0x50a39d=_0x50a39d-0x194;let _0x15a424=_0x2124b2[_0x50a39d];return _0x15a424;},a27_0x50a3(_0x603475,_0x35264d);}const logger=require('../../../helpers/logger')[a27_0x59837e(0x1cb)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a27_0x59837e(0x1dc)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x59837e(0x1d0)),{setAccessibilityCapabilities,setExtension}=require(a27_0x59837e(0x1a4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0x23cdbe,_0x1fe68b=null,_0x2b1e71=![])=>{const _0x39e3b5=a27_0x59837e,_0x56eac1={'dzLej':function(_0x5f2844,_0x1bf4d7){return _0x5f2844!==_0x1bf4d7;},'PfhoW':'/session','CFusA':function(_0x39f99e,_0x4867cf){return _0x39f99e!==_0x4867cf;},'DBtyN':function(_0x337cdf,_0x39b4c3){return _0x337cdf+_0x39b4c3;},'vfCVy':_0x39e3b5(0x1e7),'ugoNH':_0x39e3b5(0x1b4),'GCuRN':_0x39e3b5(0x1b2),'OOACT':'chromeOptions','mLJxw':_0x39e3b5(0x1d9),'zRHMf':_0x39e3b5(0x196),'FsuBz':'moz:firefoxOptions','kAwBx':_0x39e3b5(0x1a9),'MZcZx':_0x39e3b5(0x19b),'fQcwk':'se:ieOptions','nVHwR':_0x39e3b5(0x1fe),'afntk':function(_0x5c1344,_0x47a68e){return _0x5c1344===_0x47a68e;},'AfKTW':'object','bMiVc':'Setting\x20Browserstack\x20capabilities','qvRPY':_0x39e3b5(0x1a8),'NnEnL':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','tqHqc':function(_0x49d461,_0x1f5b59,_0x1115d5){return _0x49d461(_0x1f5b59,_0x1115d5);},'gWfDM':function(_0x568fa6,_0x2fa965,_0x27a113){return _0x568fa6(_0x2fa965,_0x27a113);},'Zunft':function(_0x27256f,_0x23db3b){return _0x27256f(_0x23db3b);},'aRXRS':'3|5|2|1|0|4','VQsOQ':_0x39e3b5(0x1e8),'bVQXV':function(_0x55cc80){return _0x55cc80();},'KXkAC':function(_0x546284,_0x2ac979){return _0x546284(_0x2ac979);},'mjotU':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ICxCA':function(_0x39e1c7,_0x2f84ca){return _0x39e1c7(_0x2f84ca);},'NRJeN':function(_0x71d70b,_0x5049c8){return _0x71d70b!==_0x5049c8;},'vUwvt':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','SoYSX':_0x39e3b5(0x1d4)},_0x354a42=helper[_0x39e3b5(0x1b9)]();let _0xbdcfda;try{_0xbdcfda=helper[_0x39e3b5(0x206)](),_0xbdcfda[_0x39e3b5(0x200)]&&(_0xbdcfda[_0x39e3b5(0x1fd)]=_0xbdcfda[_0x39e3b5(0x200)]);}catch(_0x481ff0){return;}if(helper[_0x39e3b5(0x1ff)]()){const _0x1125d4={};_0x1125d4[_0x39e3b5(0x205)]=_0x23cdbe[_0x39e3b5(0x1ef)],helper[_0x39e3b5(0x1aa)](_0x1125d4,new Map(),new Map()),logger[_0x39e3b5(0x1b5)](_0x56eac1[_0x39e3b5(0x1e0)]),logger[_0x39e3b5(0x1c5)](_0x56eac1[_0x39e3b5(0x1a7)]);}class _0x14b8ef extends _0x354a42[_0x39e3b5(0x1f9)]{[_0x39e3b5(0x1d5)](_0x16c97c){const _0x250ae4=_0x39e3b5;if(_0x56eac1[_0x250ae4(0x195)](_0x16c97c[_0x250ae4(0x1e2)],_0x56eac1['PfhoW'])&&_0x56eac1[_0x250ae4(0x1ed)](global[_0x250ae4(0x1b3)],''))try{global[_0x250ae4(0x1b3)]=_0x56eac1['DBtyN'](_0x56eac1[_0x250ae4(0x1fb)](_0x56eac1[_0x250ae4(0x202)],global[_0x250ae4(0x1b3)]),_0x56eac1[_0x250ae4(0x1ec)]),this['options_']=hubAllocator[_0x250ae4(0x1f4)](global['newHubUrl']),logger[_0x250ae4(0x1c5)](_0x250ae4(0x1f3)+global[_0x250ae4(0x1b3)]),global[_0x250ae4(0x1b3)]='';}catch(_0xe00e84){logger[_0x250ae4(0x1eb)](_0xe00e84);}return super[_0x250ae4(0x1d5)](_0x16c97c);}}class _0x24b4fb extends _0xbdcfda[_0x39e3b5(0x1fd)]{[_0x39e3b5(0x19f)](){const _0x27b9bb=_0x39e3b5;return this[_0x27b9bb(0x1cf)]=helper[_0x27b9bb(0x1b7)](_0x23cdbe),logger[_0x27b9bb(0x1c5)](_0x27b9bb(0x1cc)+this['url_']),this;}[_0x39e3b5(0x1bd)](_0x510b64){const _0x31a8af=_0x39e3b5;let _0x23a605={};for(const _0x5920c3 in _0x510b64){switch(_0x5920c3){case _0x56eac1['GCuRN']:case _0x56eac1[_0x31a8af(0x1c1)]:this['chromeOptions_']&&(_0x23a605=this[_0x31a8af(0x1db)][_0x31a8af(0x1e1)](this[_0x31a8af(0x1db)][_0x31a8af(0x1fa)])||{},this['chromeOptions_'][_0x31a8af(0x1bc)](this[_0x31a8af(0x1db)][_0x31a8af(0x1fa)],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1['mLJxw']:case _0x56eac1[_0x31a8af(0x1ea)]:this[_0x31a8af(0x1ab)]&&(_0x23a605=this[_0x31a8af(0x1ab)]['get'](this[_0x31a8af(0x1ab)][_0x31a8af(0x1fa)])||{},this['edgeOptions_'][_0x31a8af(0x1bc)](this[_0x31a8af(0x1ab)][_0x31a8af(0x1fa)],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1[_0x31a8af(0x1ba)]:case _0x56eac1['kAwBx']:this[_0x31a8af(0x1d8)]&&(_0x23a605=this[_0x31a8af(0x1d8)][_0x31a8af(0x1e1)](this[_0x31a8af(0x1d8)][_0x31a8af(0x1fa)])||{},this[_0x31a8af(0x1d8)][_0x31a8af(0x1bc)](this['firefoxOptions_'][_0x31a8af(0x1fa)],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1[_0x31a8af(0x1a5)]:this['safariOptions_']&&(_0x23a605=this['safariOptions_']['get'](this[_0x31a8af(0x1c6)][_0x31a8af(0x1fa)])||{},this[_0x31a8af(0x1c6)][_0x31a8af(0x1bc)](this[_0x31a8af(0x1c6)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1['fQcwk']:case _0x56eac1[_0x31a8af(0x1ac)]:this['ieOptions_']&&(_0x23a605=this[_0x31a8af(0x19c)][_0x31a8af(0x1e1)](this[_0x31a8af(0x19c)]['CAPABILITY_KEY'])||{},this[_0x31a8af(0x19c)][_0x31a8af(0x1bc)](this[_0x31a8af(0x19c)]['CAPABILITY_KEY'],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;}}}['setCapabilities'](){const _0xce6291=_0x39e3b5,_0x5dde54={'qauNl':function(_0x4923e6,_0x36822f){const _0x1a50bf=a27_0x50a3;return _0x56eac1[_0x1a50bf(0x1c0)](_0x4923e6,_0x36822f);},'CHmFJ':_0x56eac1[_0xce6291(0x1ca)]};return logger['debug'](_0x56eac1[_0xce6291(0x1b6)]),this['__setBrowserOptions'](_0x23cdbe['capability']),Object[_0xce6291(0x203)](_0x23cdbe[_0xce6291(0x197)])[_0xce6291(0x1ee)](_0x2e7982=>{const _0x2e367d=_0xce6291,_0x3f78d9=this[_0x2e367d(0x1d1)][_0x2e367d(0x1e1)](_0x2e7982);_0x5dde54[_0x2e367d(0x1a2)](typeof _0x3f78d9,_0x5dde54[_0x2e367d(0x1d2)])?this['capabilities_'][_0x2e367d(0x1bc)](_0x2e7982,helper[_0x2e367d(0x1f8)](_0x3f78d9,_0x23cdbe[_0x2e367d(0x197)][_0x2e7982])):this[_0x2e367d(0x1d1)]['set'](_0x2e7982,_0x23cdbe[_0x2e367d(0x197)][_0x2e7982]);}),this;}[_0x39e3b5(0x1c8)](){const _0x3874c5=_0x39e3b5,_0x548ee2={'csPjj':function(_0x1d474b,_0x59ea09,_0x751694){const _0x470572=a27_0x50a3;return _0x56eac1[_0x470572(0x1cd)](_0x1d474b,_0x59ea09,_0x751694);},'cvkAP':function(_0x44e03e,_0x3dbb84,_0x316221){return _0x56eac1['tqHqc'](_0x44e03e,_0x3dbb84,_0x316221);}};if(helper[_0x3874c5(0x1ff)]()){const _0x4c7bd6=_0x56eac1['aRXRS']['split']('|');let _0x36f58d=0x0;while(!![]){switch(_0x4c7bd6[_0x36f58d++]){case'0':globals[_0x3874c5(0x1b1)](_0x56eac1[_0x3874c5(0x1f0)])&&(!_0x56eac1['gWfDM'](setExtension,this,_0x23cdbe)&&globals['setGlobal'](_0x56eac1[_0x3874c5(0x1f0)],![]));continue;case'1':if(helper['isPacProxy'](_0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)]))this[_0x3874c5(0x1c3)]=helper[_0x3874c5(0x1e3)](_0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)]);else _0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)]&&(this[_0x3874c5(0x199)]=_0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)],logger[_0x3874c5(0x1c5)]('Proxy\x20set\x20to\x20'+this[_0x3874c5(0x199)]));continue;case'2':this[_0x3874c5(0x1f7)]();continue;case'3':_0x56eac1['bVQXV'](isAccessibilityAutomationSession)&&_0x56eac1[_0x3874c5(0x1e6)](setAccessibilityCapabilities,_0x23cdbe);continue;case'4':logger[_0x3874c5(0x1c5)](_0x56eac1[_0x3874c5(0x1fc)]);continue;case'5':this[_0x3874c5(0x19f)]();continue;}break;}}const _0x42b190=super[_0x3874c5(0x1c8)]();return _0x42b190[_0x3874c5(0x1ad)][_0x3874c5(0x1d7)](_0x1949bc=>{const _0xe5c4e2=_0x3874c5;try{const _0x411c09=_0x1949bc['caps_'][_0xe5c4e2(0x1e1)](_0x56eac1[_0xe5c4e2(0x1da)]);_0x411c09?(logger[_0xe5c4e2(0x1c5)](_0xe5c4e2(0x1bf)+_0x411c09),hubAllocator[_0xe5c4e2(0x1f6)](_0x411c09),helper[_0xe5c4e2(0x1f2)](_0x411c09)):logger[_0xe5c4e2(0x1c5)](_0x56eac1[_0xe5c4e2(0x198)]);}catch(_0x584b88){logger[_0xe5c4e2(0x1c5)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x584b88);}}),_0x42b190[_0x3874c5(0x19d)]=0x0,_0x42b190['then']&&_0x42b190[_0x3874c5(0x1d7)](_0x258750=>{const _0x338a76=_0x3874c5,_0x38e8d3={'ReJNM':function(_0x256158,_0x3939f6,_0x5820d5){return _0x56eac1['tqHqc'](_0x256158,_0x3939f6,_0x5820d5);},'TkolC':function(_0x3a03a6,_0x15fde7,_0x55a386){const _0x1bcb9f=a27_0x50a3;return _0x56eac1[_0x1bcb9f(0x1c7)](_0x3a03a6,_0x15fde7,_0x55a386);}};_0x56eac1[_0x338a76(0x1cd)](overrideQuit,_0x258750,_0x42b190),_0x56eac1[_0x338a76(0x204)](overrideTakeScreenshot,_0x258750),helper[_0x338a76(0x1d6)](_0x258750,_0x23cdbe),helper[_0x338a76(0x1a0)](_0x258750,_0x23cdbe),_0x258750[_0x338a76(0x1a3)]=async()=>{const _0x10e1d2=_0x338a76;return await _0x38e8d3[_0x10e1d2(0x1a6)](getAccessibilityResultsSummary,_0x258750,global);},_0x258750[_0x338a76(0x19e)]=async()=>{const _0x420c19=_0x338a76;return await _0x38e8d3[_0x420c19(0x1bb)](getAccessibilityResults,_0x258750,global);};}),_0x42b190[_0x3874c5(0x1a3)]=async()=>{const _0x76ae2c=_0x3874c5;return await _0x548ee2[_0x76ae2c(0x1de)](getAccessibilityResultsSummary,_0x42b190,global);},_0x42b190[_0x3874c5(0x19e)]=async()=>{const _0x4fc882=_0x3874c5;return await _0x548ee2[_0x4fc882(0x194)](getAccessibilityResults,_0x42b190,global);},_0x56eac1['ICxCA'](overrideTakeScreenshot,_0x42b190),_0x56eac1[_0x3874c5(0x1e6)](overrideQuit,_0x42b190),helper[_0x3874c5(0x1d6)](_0x42b190,_0x23cdbe),helper[_0x3874c5(0x1a0)](_0x42b190,_0x23cdbe),helper[_0x3874c5(0x1af)](global[_0x3874c5(0x1e9)])&&(global[_0x3874c5(0x1e9)]=[]),helper[_0x3874c5(0x1af)](global[_0x3874c5(0x1ae)])&&(global[_0x3874c5(0x1ae)]=[]),global[_0x3874c5(0x1e9)][_0x3874c5(0x1e4)](_0x42b190),global[_0x3874c5(0x1a1)]=_0x42b190,_0x56eac1['CFusA'](global['__drivers'],undefined)&&global[_0x3874c5(0x1ae)][_0x3874c5(0x1e4)](_0x42b190),_0x1fe68b&&helper[_0x3874c5(0x1af)](_0x1fe68b[_0x3874c5(0x1be)][_0x3874c5(0x1e9)])&&(_0x1fe68b[_0x3874c5(0x1be)][_0x3874c5(0x1e9)]=[]),_0x1fe68b&&_0x56eac1[_0x3874c5(0x1f1)](_0x1fe68b[_0x3874c5(0x1be)][_0x3874c5(0x1ae)],undefined)&&(_0x1fe68b[_0x3874c5(0x1be)]['__drivers'][_0x3874c5(0x1e4)](_0x42b190),_0x1fe68b[_0x3874c5(0x1be)]['__driversArray']['push'](_0x42b190)),_0x42b190;}}return _0xbdcfda[_0x39e3b5(0x200)]=_0xbdcfda[_0x39e3b5(0x1fd)],_0xbdcfda['Builder']=_0x24b4fb,_0x354a42['HttpClient']=_0x14b8ef,_0xbdcfda;};module[a27_0x59837e(0x1c4)][a27_0x59837e(0x1e5)]=modify;
@@ -1 +1 @@
1
- function a26_0x336d(_0x41c036,_0x97447c){const _0x5e20d6=a26_0x5e20();return a26_0x336d=function(_0x336dae,_0x34f910){_0x336dae=_0x336dae-0x1ab;let _0x5cdae1=_0x5e20d6[_0x336dae];return _0x5cdae1;},a26_0x336d(_0x41c036,_0x97447c);}const a26_0x4c1c19=a26_0x336d;function a26_0x5e20(){const _0x167b0b=['2288935BvwfHp','../../../helpers/test-observability/utils','44pIXwWW','3226242ogSSoU','../../../bin/utils/constants','857952jOyuDc','2495188xaLuWn','3TySVkM','timeout','../../../helpers/request-spy','3302408otGpfN','5699270CwYoQz','7hIKMuD','4751AKMkOH'];a26_0x5e20=function(){return _0x167b0b;};return a26_0x5e20();}(function(_0x3b9da6,_0x5d633d){const _0x351b9d=a26_0x336d,_0x2b1370=_0x3b9da6();while(!![]){try{const _0x22dccc=parseInt(_0x351b9d(0x1b3))/0x1*(-parseInt(_0x351b9d(0x1b6))/0x2)+-parseInt(_0x351b9d(0x1ad))/0x3*(-parseInt(_0x351b9d(0x1ac))/0x4)+-parseInt(_0x351b9d(0x1b4))/0x5+-parseInt(_0x351b9d(0x1b7))/0x6+parseInt(_0x351b9d(0x1b2))/0x7*(parseInt(_0x351b9d(0x1b0))/0x8)+-parseInt(_0x351b9d(0x1ab))/0x9+parseInt(_0x351b9d(0x1b1))/0xa;if(_0x22dccc===_0x5d633d)break;else _0x2b1370['push'](_0x2b1370['shift']());}catch(_0x1506a7){_0x2b1370['push'](_0x2b1370['shift']());}}}(a26_0x5e20,0x6462d));const requestSpy=require(a26_0x4c1c19(0x1af)),constants=require(a26_0x4c1c19(0x1b8)),{addRequestSpy}=require(a26_0x4c1c19(0x1b5));exports['mochaHooks']={'beforeAll'(){const _0x454ddc={'obhEG':function(_0x218ba9){return _0x218ba9();}},_0xc2de8a='browserstack internal helper hook';_0x454ddc['obhEG'](addRequestSpy);},'afterAll'(){const _0x4de4ed=a26_0x4c1c19,_0x6cdd45='browserstack internal helper hook';this[_0x4de4ed(0x1ae)](0xea60),requestSpy['restore']();}};
1
+ const a28_0x3a278c=a28_0x4384;function a28_0x4384(_0x2032b0,_0xf2df9c){const _0x4fca97=a28_0x4fca();return a28_0x4384=function(_0x4384ae,_0x3ea7f5){_0x4384ae=_0x4384ae-0xb2;let _0x53109c=_0x4fca97[_0x4384ae];return _0x53109c;},a28_0x4384(_0x2032b0,_0xf2df9c);}(function(_0x53b0c7,_0x1ee8ec){const _0x3eb7f5=a28_0x4384,_0x1c3b5b=_0x53b0c7();while(!![]){try{const _0x29b57e=parseInt(_0x3eb7f5(0xbc))/0x1+parseInt(_0x3eb7f5(0xba))/0x2+-parseInt(_0x3eb7f5(0xb3))/0x3+parseInt(_0x3eb7f5(0xb4))/0x4+-parseInt(_0x3eb7f5(0xb2))/0x5*(-parseInt(_0x3eb7f5(0xb7))/0x6)+parseInt(_0x3eb7f5(0xbd))/0x7+-parseInt(_0x3eb7f5(0xb9))/0x8;if(_0x29b57e===_0x1ee8ec)break;else _0x1c3b5b['push'](_0x1c3b5b['shift']());}catch(_0x54b2a0){_0x1c3b5b['push'](_0x1c3b5b['shift']());}}}(a28_0x4fca,0x57a8a));const requestSpy=require(a28_0x3a278c(0xb8)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x3a278c(0xbe));exports[a28_0x3a278c(0xb6)]={'beforeAll'(){const _0x390286={'Zinvg':function(_0x29884f){return _0x29884f();}},_0x48ed9e='browserstack internal helper hook';_0x390286['Zinvg'](addRequestSpy);},'afterAll'(){const _0x40d054=a28_0x3a278c,_0x2685f1='browserstack internal helper hook';this[_0x40d054(0xbb)](0xea60),requestSpy[_0x40d054(0xb5)]();}};function a28_0x4fca(){const _0x49ac18=['1531504aVnzeW','307312cBQDMo','timeout','565197euKJwu','368452mlXFCb','../../../helpers/test-observability/utils','1708980ISGNTm','1843842GGVNyM','207268CKVgun','restore','mochaHooks','6qBeVZR','../../../helpers/request-spy'];a28_0x4fca=function(){return _0x49ac18;};return a28_0x4fca();}
@@ -1 +1 @@
1
- function a27_0x5129(){const _0xe7a730=['uAogQ','dMOuH','pid','GjkUB','markedStatus','mapTestHooks','_beforeAll','UtQhm','dzsor','vZpAS','substring','fromEntries','getBrowserName','../../utils/logPatcher','pPwft','pNIey','nGqse','getBrowserVersion','concat','RowcM','_afterEach','748344eKmCUS','browserstack','hookAnalyticsId','unknown_grid','orGsu','2034790ipGtUT','PhQFt','6728kWLkwk','keys','hoesF','passed','yGSVS','../../../helpers/test-observability/constants','emit','2949632kRXjHI','push','gnoml','oYlhB','1927218zCrhIG','31sbqTtu','PdMDm','ZMfao','suites','../../../helpers/test-observability/utils','map_','getTestEnv','parent','generic','toISOString','__cloud_provider___','anaSO','bTkhc','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','state','uMvGv','app-automate','hook','getSession','type','WpWIT','getPlatform','ozbml','607135QydMnJ','slice','616EgDqSD','TfVSQ','_afterAll','HDAVt','ncgQO','TEST_PLATFORM','filter','indexOf','getHooksForTest','getHookSkippedTests','sendPlatformDetails','tests','8091XizqpS','tOSqN','12wetXCo','forEach','../../utils/logReportingAPI','_beforeEach','split','getHookDetails','automate','../../../../package.json','getCapabilities'];a27_0x5129=function(){return _0xe7a730;};return a27_0x5129();}function a27_0x4b7a(_0x476e66,_0x461d90){const _0x512960=a27_0x5129();return a27_0x4b7a=function(_0x4b7afc,_0x53e001){_0x4b7afc=_0x4b7afc-0x101;let _0x361e25=_0x512960[_0x4b7afc];return _0x361e25;},a27_0x4b7a(_0x476e66,_0x461d90);}const a27_0x56c67b=a27_0x4b7a;(function(_0x1cbe65,_0x3fc931){const _0x30c497=a27_0x4b7a,_0x4b168a=_0x1cbe65();while(!![]){try{const _0x49e8d9=parseInt(_0x30c497(0x124))/0x1*(-parseInt(_0x30c497(0x118))/0x2)+-parseInt(_0x30c497(0x111))/0x3+parseInt(_0x30c497(0x14b))/0x4*(-parseInt(_0x30c497(0x13b))/0x5)+parseInt(_0x30c497(0x123))/0x6+parseInt(_0x30c497(0x11f))/0x7+parseInt(_0x30c497(0x13d))/0x8*(parseInt(_0x30c497(0x149))/0x9)+parseInt(_0x30c497(0x116))/0xa;if(_0x49e8d9===_0x3fc931)break;else _0x4b168a['push'](_0x4b168a['shift']());}catch(_0x5a3f2a){_0x4b168a['push'](_0x4b168a['shift']());}}}(a27_0x5129,0x48934));const {v4:uuidv4}=require('uuid'),{name,version}=require(a27_0x56c67b(0x152)),logPatcher=require(a27_0x56c67b(0x109)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a27_0x56c67b(0x14d)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a27_0x56c67b(0x128)),{consoleHolder}=require(a27_0x56c67b(0x11d)),{getPlatformVersion}=require('../../../helpers/helper');console={},Object[a27_0x56c67b(0x119)](consoleHolder)[a27_0x56c67b(0x14c)](_0x37850a=>{console[_0x37850a]=(..._0x1c98a7)=>{BSTestOpsPatcher[_0x37850a](..._0x1c98a7);};}),exports[a27_0x56c67b(0x12a)]=()=>{const _0x110f9a=a27_0x56c67b,_0x57ac6b={'yGSVS':_0x110f9a(0x12c),'WpWIT':function(_0x103483){return _0x103483();}};return{'ci':_0x57ac6b[_0x110f9a(0x11c)],'key':_0x57ac6b[_0x110f9a(0x138)](uuidv4),'version':version,'collector':'js-'+name};},exports[a27_0x56c67b(0x150)]=_0x3366c3=>{const _0x41ac2a=a27_0x56c67b,_0x26eb0b={};_0x26eb0b[_0x41ac2a(0x10a)]=function(_0x1b6033,_0x3ef73d){return _0x1b6033!==_0x3ef73d;},_0x26eb0b['mnxtR']='string',_0x26eb0b[_0x41ac2a(0x14a)]='hook:',_0x26eb0b[_0x41ac2a(0x140)]=function(_0x2b802c,_0x589ad3){return _0x2b802c!==_0x589ad3;},_0x26eb0b['uAogQ']=_0x41ac2a(0x135);const _0x19853a=_0x26eb0b;if(!_0x3366c3||_0x19853a[_0x41ac2a(0x10a)](typeof _0x3366c3,_0x19853a['mnxtR']))return[null,null];if(_0x19853a[_0x41ac2a(0x10a)](_0x3366c3[_0x41ac2a(0x144)](_0x19853a[_0x41ac2a(0x14a)]),-0x1)){const _0x38aa2a=_0x3366c3[_0x41ac2a(0x14f)](_0x19853a['tOSqN']);return[_0x38aa2a[0x0][_0x41ac2a(0x13c)](0x0,-0x1)['split']('\x22')[0x1],_0x38aa2a[0x1][_0x41ac2a(0x106)](0x1)];}else{if(_0x19853a[_0x41ac2a(0x140)](_0x3366c3[_0x41ac2a(0x144)](_0x19853a[_0x41ac2a(0x154)]),-0x1)){const _0xd9b2ec=_0x3366c3[_0x41ac2a(0x14f)](_0x19853a['uAogQ']);return[_0xd9b2ec[0x0][_0x41ac2a(0x13c)](0x0,-0x1)[_0x41ac2a(0x14f)]('\x22')[0x1],_0x3366c3];}}return[null,null];},exports[a27_0x56c67b(0x145)]=_0x3511e0=>{const _0xb58870=a27_0x56c67b,_0x1aa005={'blwgu':function(_0x5f3f65,_0x1e14de){return _0x5f3f65(_0x1e14de);},'orGsu':_0xb58870(0x102),'dMOuH':'_afterAll','rcovs':_0xb58870(0x14e),'oYlhB':_0xb58870(0x110)};if(!_0x3511e0||!_0x3511e0[_0xb58870(0x12b)])return[];const _0x3e1389=[];return[_0x1aa005[_0xb58870(0x115)],_0x1aa005[_0xb58870(0x155)],_0x1aa005['rcovs'],_0x1aa005[_0xb58870(0x122)]][_0xb58870(0x14c)](_0x84430b=>{const _0x92d1e5=_0xb58870,_0x3de2bf=_0x3511e0['parent'][_0x84430b]||[];_0x3de2bf[_0x92d1e5(0x14c)](_0x147dd1=>{const _0x8d6fd8=_0x92d1e5;_0x147dd1[_0x8d6fd8(0x113)]&&!_0x1aa005['blwgu'](isInternalHook,_0x147dd1['fn'])&&_0x3e1389[_0x8d6fd8(0x120)](_0x147dd1[_0x8d6fd8(0x113)]);});}),[..._0x3e1389,...exports[_0xb58870(0x145)](_0x3511e0[_0xb58870(0x12b)])];},exports[a27_0x56c67b(0x101)]=_0x39a02a=>{const _0xe9c518=a27_0x56c67b,_0x1d3bf4={'PdMDm':function(_0x4540c8){return _0x4540c8();},'anaSO':function(_0x48596a,_0x1d48ce){return _0x48596a===_0x1d48ce;},'dzsor':_0xe9c518(0x110),'RowcM':_0xe9c518(0x102),'XlweE':_0xe9c518(0x13f),'QZmmo':_0xe9c518(0x14e)};if(!_0x39a02a||!_0x39a02a[_0xe9c518(0x12b)])return;[_0x1d3bf4[_0xe9c518(0x10f)],_0x1d3bf4['XlweE'],_0x1d3bf4['QZmmo'],_0x1d3bf4[_0xe9c518(0x104)]][_0xe9c518(0x14c)](_0xb798c6=>{const _0x4d85db=_0xe9c518,_0x1cb24a=_0x39a02a[_0x4d85db(0x12b)][_0xb798c6]||[];_0x1cb24a[_0x4d85db(0x14c)](_0x45d882=>{const _0x530251=_0x4d85db;if(!_0x45d882['hookAnalyticsId'])_0x45d882[_0x530251(0x113)]=_0x1d3bf4[_0x530251(0x125)](uuidv4);else _0x45d882['markedStatus']&&_0x1d3bf4[_0x530251(0x12f)](_0xb798c6,_0x1d3bf4[_0x530251(0x104)])&&(_0x45d882['hookAnalyticsId']=_0x1d3bf4[_0x530251(0x125)](uuidv4),delete _0x45d882[_0x530251(0x158)]);});}),exports[_0xe9c518(0x101)](_0x39a02a[_0xe9c518(0x12b)]);},exports[a27_0x56c67b(0x147)]=async(_0x1f5892,_0x260bdd)=>{const _0x2809b0=a27_0x56c67b,_0x2b1986={'hoesF':function(_0x4466b9){return _0x4466b9();},'WAkne':function(_0x303538,_0x261289){return _0x303538===_0x261289;},'GjkUB':_0x2809b0(0x112),'pNIey':'appium:app','bTkhc':'app','vZpAS':_0x2809b0(0x134),'IBNhy':_0x2809b0(0x151),'PhQFt':function(_0x39e91c,_0x23a04f){return _0x39e91c(_0x23a04f);},'nGqse':function(_0x17acfd,_0x5c871b){return _0x17acfd===_0x5c871b;},'zzqXZ':_0x2809b0(0x114),'ncgQO':_0x2809b0(0x142),'uMvGv':function(_0x136cc7,_0x5cbe04){return _0x136cc7(_0x5cbe04);}};try{if(!_0x2b1986[_0x2809b0(0x11a)](isTestObservabilitySession))return;const _0x3f0ee9=await _0x1f5892[_0x2809b0(0x153)](),_0x4c1164=await _0x1f5892[_0x2809b0(0x136)](),_0x25c1cc={},_0x8631df=Object[_0x2809b0(0x107)](_0x4c1164[_0x2809b0(0x153)]()[_0x2809b0(0x129)]),_0x230c15={'product':_0x2b1986['WAkne'](global[_0x2809b0(0x12e)],_0x2b1986[_0x2809b0(0x157)])?_0x8631df[_0x2b1986[_0x2809b0(0x10b)]]||_0x8631df[_0x2b1986[_0x2809b0(0x130)]]?_0x2b1986[_0x2809b0(0x105)]:_0x2b1986['IBNhy']:null,'capabilities':_0x8631df,'platform':_0x3f0ee9[_0x2809b0(0x139)](),'platform_version':_0x2b1986[_0x2809b0(0x117)](getPlatformVersion,_0x2b1986[_0x2809b0(0x10c)](global[_0x2809b0(0x12e)],_0x2b1986[_0x2809b0(0x157)])),'browser':_0x3f0ee9[_0x2809b0(0x108)](),'browser_version':_0x3f0ee9[_0x2809b0(0x10d)](),'session_id':_0x4c1164['toJSON']()};global['__cloud_provider___']?_0x25c1cc[global['__cloud_provider___']]=_0x230c15:_0x25c1cc[_0x2b1986['zzqXZ']]=_0x230c15,process[_0x2809b0(0x11e)]('bs:addPlatformDetails:'+process[_0x2809b0(0x156)],{'timestamp':new Date()[_0x2809b0(0x12d)](),'level':null,'message':null,'kind':_0x2b1986[_0x2809b0(0x141)],'http_response':_0x25c1cc,'uuid':_0x260bdd});}catch(_0x5defcd){_0x2b1986[_0x2809b0(0x133)](debug,_0x2809b0(0x131)+_0x5defcd);}},exports[a27_0x56c67b(0x146)]=_0xd96a4=>{const _0x54ce81=a27_0x56c67b,_0x4e716b={};_0x4e716b[_0x54ce81(0x126)]=function(_0x1c1d71,_0x50c086){return _0x1c1d71!==_0x50c086;},_0x4e716b[_0x54ce81(0x13a)]='hook',_0x4e716b[_0x54ce81(0x13e)]=function(_0x89690d,_0xd7706e){return _0x89690d!==_0xd7706e;},_0x4e716b['UtQhm']=_0x54ce81(0x11b),_0x4e716b[_0x54ce81(0x121)]='failed';const _0x12929f=_0x4e716b,_0x2fe12b=_0xd96a4[_0x54ce81(0x127)]['reduce']((_0x456a08,_0x5b6abd)=>{const _0x48673b=_0x54ce81,_0x5c7ce4=exports['getHookSkippedTests'](_0x5b6abd);return _0x5c7ce4&&(_0x456a08=_0x456a08[_0x48673b(0x10e)](_0x5c7ce4)),_0x456a08;},[]),_0x25cc97=_0xd96a4[_0x54ce81(0x148)][_0x54ce81(0x143)](_0x43deea=>{const _0x47275b=_0x54ce81,_0x34a687=_0x12929f[_0x47275b(0x126)](_0x43deea[_0x47275b(0x137)],_0x12929f[_0x47275b(0x13a)])&&!_0x43deea[_0x47275b(0x158)]&&_0x12929f[_0x47275b(0x13e)](_0x43deea['state'],_0x12929f[_0x47275b(0x103)])&&_0x12929f['TfVSQ'](_0x43deea[_0x47275b(0x132)],_0x12929f['gnoml'])&&!_0x43deea['pending'];return _0x34a687;});return _0x25cc97[_0x54ce81(0x10e)](_0x2fe12b);};
1
+ const a29_0x455c67=a29_0x38e2;function a29_0x41b3(){const _0x505e7e=['parent','passed','getHooksForTest','forEach','swiez','toJSON','sendPlatformDetails','rLeGf','string','bs:addPlatformDetails:','../../../helpers/test-observability/constants','QUnBA','getCapabilities','5872650DIlIQG','enUIq','_beforeEach','yzjKI','../../utils/logReportingAPI','getSession','nnyVb','pending','AFufK','generic','type','fromEntries','WwpTP','getTestEnv','markedStatus','IXBAL','igPVa','GqRKo','mapTestHooks','6960856zocbbk','_beforeAll','map_','substring','split','_afterAll','Hgffm','getHookDetails','state','hook','tLrlJ','unknown_grid','5264880haTfUZ','uuid','push','getHookSkippedTests','4380414pvRevD','221849LsfNxr','Rxdju','appium:app','GYykK','BZdkU','kgFWg','browserstack','../../../helpers/test-observability/utils','bpFfa','RnsMG','PxmFv','indexOf','1806pmwpWW','1186990zDnfDV','concat','tLarz','5290ieHoTH','../../utils/logPatcher','../../../../package.json','getPlatform','_afterEach','slice','automate','tests','18qRIxrx','reduce','GRfWj','EPSPS','__cloud_provider___','pid','js-','hookAnalyticsId','FPIOI','rlyUU','ElIcb'];a29_0x41b3=function(){return _0x505e7e;};return a29_0x41b3();}(function(_0x161adf,_0x5b905a){const _0x21d47a=a29_0x38e2,_0xd93c78=_0x161adf();while(!![]){try{const _0x2fa139=-parseInt(_0x21d47a(0x1d1))/0x1+-parseInt(_0x21d47a(0x1e1))/0x2*(parseInt(_0x21d47a(0x1dd))/0x3)+parseInt(_0x21d47a(0x1cc))/0x4+-parseInt(_0x21d47a(0x1de))/0x5+parseInt(_0x21d47a(0x1d0))/0x6+-parseInt(_0x21d47a(0x201))/0x7+parseInt(_0x21d47a(0x214))/0x8*(parseInt(_0x21d47a(0x1e9))/0x9);if(_0x2fa139===_0x5b905a)break;else _0xd93c78['push'](_0xd93c78['shift']());}catch(_0x52bbda){_0xd93c78['push'](_0xd93c78['shift']());}}}(a29_0x41b3,0xdac10));const {v4:uuidv4}=require(a29_0x455c67(0x1cd)),{name,version}=require(a29_0x455c67(0x1e3)),logPatcher=require(a29_0x455c67(0x1e2)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x455c67(0x205)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x455c67(0x1d8)),{consoleHolder}=require(a29_0x455c67(0x1fe)),{getPlatformVersion}=require('../../../helpers/helper');function a29_0x38e2(_0x22c453,_0x2d2873){const _0x41b3aa=a29_0x41b3();return a29_0x38e2=function(_0x38e252,_0x14c648){_0x38e252=_0x38e252-0x1c2;let _0x221758=_0x41b3aa[_0x38e252];return _0x221758;},a29_0x38e2(_0x22c453,_0x2d2873);}console={},Object['keys'](consoleHolder)[a29_0x455c67(0x1f7)](_0x17efb8=>{console[_0x17efb8]=(..._0x5db5d7)=>{BSTestOpsPatcher[_0x17efb8](..._0x5db5d7);};}),exports[a29_0x455c67(0x20e)]=()=>{const _0x22a61a=a29_0x455c67,_0x3b7f5e={'JjfMT':_0x22a61a(0x20a),'MNFSx':function(_0x127d28){return _0x127d28();}};return{'ci':_0x3b7f5e['JjfMT'],'key':_0x3b7f5e['MNFSx'](uuidv4),'version':version,'collector':_0x22a61a(0x1ef)+name};},exports[a29_0x455c67(0x1c7)]=_0x231e39=>{const _0x17f3a1=a29_0x455c67,_0x467e2f={};_0x467e2f[_0x17f3a1(0x1e0)]=function(_0xddaf7f,_0xdd2d48){return _0xddaf7f!==_0xdd2d48;},_0x467e2f[_0x17f3a1(0x1d6)]=_0x17f3a1(0x1fc),_0x467e2f[_0x17f3a1(0x1c6)]='hook:',_0x467e2f[_0x17f3a1(0x1f2)]=function(_0x48e5a0,_0x124077){return _0x48e5a0!==_0x124077;},_0x467e2f['EPSPS']=_0x17f3a1(0x1c9);const _0x4ee681=_0x467e2f;if(!_0x231e39||_0x4ee681[_0x17f3a1(0x1e0)](typeof _0x231e39,_0x4ee681[_0x17f3a1(0x1d6)]))return[null,null];if(_0x4ee681[_0x17f3a1(0x1e0)](_0x231e39[_0x17f3a1(0x1dc)](_0x4ee681['Hgffm']),-0x1)){const _0x1d978d=_0x231e39[_0x17f3a1(0x1c4)](_0x4ee681['Hgffm']);return[_0x1d978d[0x0][_0x17f3a1(0x1e6)](0x0,-0x1)[_0x17f3a1(0x1c4)]('\x22')[0x1],_0x1d978d[0x1][_0x17f3a1(0x1c3)](0x1)];}else{if(_0x4ee681[_0x17f3a1(0x1f2)](_0x231e39[_0x17f3a1(0x1dc)](_0x4ee681[_0x17f3a1(0x1ec)]),-0x1)){const _0x3aff22=_0x231e39['split'](_0x4ee681['EPSPS']);return[_0x3aff22[0x0][_0x17f3a1(0x1e6)](0x0,-0x1)['split']('\x22')[0x1],_0x231e39];}}return[null,null];},exports[a29_0x455c67(0x1f6)]=_0x3750a8=>{const _0x42419d=a29_0x455c67,_0x627f75={'PxmFv':function(_0x1c2142,_0x555477){return _0x1c2142(_0x555477);},'DdowZ':'_beforeAll','yzjKI':_0x42419d(0x1c5),'Rxdju':_0x42419d(0x203),'UeweZ':_0x42419d(0x1e5)};if(!_0x3750a8||!_0x3750a8[_0x42419d(0x1f4)])return[];const _0x40372b=[];return[_0x627f75['DdowZ'],_0x627f75[_0x42419d(0x204)],_0x627f75[_0x42419d(0x1d2)],_0x627f75['UeweZ']][_0x42419d(0x1f7)](_0x496f3d=>{const _0x4b1177=_0x42419d,_0x157306={'ElIcb':function(_0x15f52d,_0x3dd430){const _0x43ca28=a29_0x38e2;return _0x627f75[_0x43ca28(0x1db)](_0x15f52d,_0x3dd430);}},_0x2612db=_0x3750a8[_0x4b1177(0x1f4)][_0x496f3d]||[];_0x2612db[_0x4b1177(0x1f7)](_0x36fb58=>{const _0x4eaa7c=_0x4b1177;_0x36fb58[_0x4eaa7c(0x1f0)]&&!_0x157306[_0x4eaa7c(0x1f3)](isInternalHook,_0x36fb58['fn'])&&_0x40372b[_0x4eaa7c(0x1ce)](_0x36fb58[_0x4eaa7c(0x1f0)]);});}),[..._0x40372b,...exports[_0x42419d(0x1f6)](_0x3750a8[_0x42419d(0x1f4)])];},exports['mapTestHooks']=_0x584c3c=>{const _0x2a843d=a29_0x455c67,_0x442c9b={'oxQiH':function(_0x42ac8d){return _0x42ac8d();},'CeYhA':function(_0x42a68d,_0x1484a9){return _0x42a68d===_0x1484a9;},'QUnBA':_0x2a843d(0x1e5),'GYykK':_0x2a843d(0x215),'tLrlJ':_0x2a843d(0x1c5),'AFufK':_0x2a843d(0x203)};if(!_0x584c3c||!_0x584c3c[_0x2a843d(0x1f4)])return;[_0x442c9b[_0x2a843d(0x1d4)],_0x442c9b[_0x2a843d(0x1ca)],_0x442c9b[_0x2a843d(0x209)],_0x442c9b['QUnBA']][_0x2a843d(0x1f7)](_0x28a84c=>{const _0x4ce416=_0x2a843d,_0x464198=_0x584c3c[_0x4ce416(0x1f4)][_0x28a84c]||[];_0x464198['forEach'](_0x593745=>{const _0x135331=_0x4ce416;if(!_0x593745[_0x135331(0x1f0)])_0x593745[_0x135331(0x1f0)]=_0x442c9b['oxQiH'](uuidv4);else _0x593745[_0x135331(0x20f)]&&_0x442c9b['CeYhA'](_0x28a84c,_0x442c9b[_0x135331(0x1ff)])&&(_0x593745[_0x135331(0x1f0)]=_0x442c9b['oxQiH'](uuidv4),delete _0x593745[_0x135331(0x20f)]);});}),exports[_0x2a843d(0x213)](_0x584c3c['parent']);},exports[a29_0x455c67(0x1fa)]=async(_0x30c69a,_0x336517)=>{const _0x8438ca=a29_0x455c67,_0x1c99ff={'KepTl':function(_0xb2f378){return _0xb2f378();},'bpFfa':function(_0x20e24d,_0x25ce08){return _0x20e24d===_0x25ce08;},'WwpTP':_0x8438ca(0x1d7),'igPVa':_0x8438ca(0x1d3),'GqRKo':'app','rLeGf':'app-automate','nnyVb':_0x8438ca(0x1e7),'swiez':function(_0x4be144,_0x550170){return _0x4be144(_0x550170);},'nbBfd':_0x8438ca(0x1cb),'GRfWj':'TEST_PLATFORM','enUIq':function(_0xc7999e,_0x168721){return _0xc7999e(_0x168721);}};try{if(!_0x1c99ff['KepTl'](isTestObservabilitySession))return;const _0x5ccd03=await _0x30c69a[_0x8438ca(0x200)](),_0x11e3d8=await _0x30c69a[_0x8438ca(0x206)](),_0x55dff4={},_0x5279d3=Object[_0x8438ca(0x20c)](_0x11e3d8['getCapabilities']()[_0x8438ca(0x1c2)]),_0x4824ee={'product':_0x1c99ff[_0x8438ca(0x1d9)](global['__cloud_provider___'],_0x1c99ff[_0x8438ca(0x20d)])?_0x5279d3[_0x1c99ff[_0x8438ca(0x211)]]||_0x5279d3[_0x1c99ff[_0x8438ca(0x212)]]?_0x1c99ff[_0x8438ca(0x1fb)]:_0x1c99ff[_0x8438ca(0x207)]:null,'capabilities':_0x5279d3,'platform':_0x5ccd03[_0x8438ca(0x1e4)](),'platform_version':_0x1c99ff[_0x8438ca(0x1f8)](getPlatformVersion,_0x1c99ff['bpFfa'](global[_0x8438ca(0x1ed)],_0x1c99ff[_0x8438ca(0x20d)])),'browser':_0x5ccd03['getBrowserName'](),'browser_version':_0x5ccd03['getBrowserVersion'](),'session_id':_0x11e3d8[_0x8438ca(0x1f9)]()};global['__cloud_provider___']?_0x55dff4[global['__cloud_provider___']]=_0x4824ee:_0x55dff4[_0x1c99ff['nbBfd']]=_0x4824ee,process['emit'](_0x8438ca(0x1fd)+process[_0x8438ca(0x1ee)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x1c99ff[_0x8438ca(0x1eb)],'http_response':_0x55dff4,'uuid':_0x336517});}catch(_0x14c80f){_0x1c99ff[_0x8438ca(0x202)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x14c80f);}},exports['getHookSkippedTests']=_0x5b2666=>{const _0xe18524=a29_0x455c67,_0x1433b9={};_0x1433b9[_0xe18524(0x1f1)]=function(_0x4aa4f4,_0x3bcd19){return _0x4aa4f4!==_0x3bcd19;},_0x1433b9[_0xe18524(0x210)]=_0xe18524(0x1c9),_0x1433b9['RnsMG']=_0xe18524(0x1f5),_0x1433b9[_0xe18524(0x1d5)]='failed';const _0x46e0c4=_0x1433b9,_0x40eac0=_0x5b2666['suites'][_0xe18524(0x1ea)]((_0x32dbd0,_0x25cbc2)=>{const _0x3ccaf6=_0xe18524,_0xcca37f=exports[_0x3ccaf6(0x1cf)](_0x25cbc2);return _0xcca37f&&(_0x32dbd0=_0x32dbd0[_0x3ccaf6(0x1df)](_0xcca37f)),_0x32dbd0;},[]),_0x5c91ba=_0x5b2666[_0xe18524(0x1e8)]['filter'](_0x31f0a2=>{const _0x1eadd1=_0xe18524,_0x32db7a=_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2[_0x1eadd1(0x20b)],_0x46e0c4[_0x1eadd1(0x210)])&&!_0x31f0a2['markedStatus']&&_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2['state'],_0x46e0c4[_0x1eadd1(0x1da)])&&_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2[_0x1eadd1(0x1c8)],_0x46e0c4[_0x1eadd1(0x1d5)])&&!_0x31f0a2[_0x1eadd1(0x208)];return _0x32db7a;});return _0x5c91ba['concat'](_0x40eac0);};
@@ -1 +1 @@
1
- function a28_0x22cb(_0x5702af,_0x387dde){const _0x4f77bb=a28_0x4f77();return a28_0x22cb=function(_0x22cb29,_0x92bac8){_0x22cb29=_0x22cb29-0x91;let _0x166ed3=_0x4f77bb[_0x22cb29];return _0x166ed3;},a28_0x22cb(_0x5702af,_0x387dde);}function a28_0x4f77(){const _0x26bc23=['gDXMe','8984rOUghL','timeout','Passed','info','xTNxA','winstonLogger','currentTest','testAnalyticsId','driverCleanup','.\x20Error\x20:','qBrzV','hQVBt','error','getGlobal','failed','AFeRz','OTfFb','WbGwZ','titlePath','percy','FLsis','PszuA','LdBxi','then','../../helpers/performance-tester','pWbEP','env','stopMonitoring','MnFjJ','stringify','protocol','nhjgZ',',\x22level\x22:\x20\x22','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','MTaqZ','mochaHooks','../../helpers/test-observability/utils','\x22}}','BS_A11Y_TEST_RUN_ID','6084YfutDa','hVPfV','LRPIT','jjbxm','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','file','mrfFm','yCUCG','performScan','debug','shouldScanTestForAccessibility','__sessionFailed','isArray','zyMoF','session_','../../helpers/accessibility-automation/scripts','executeAsyncScript','percyCaptureMode','accessibilityScanStarted','792605gLMvQB','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','bGDxB','shift','isAccessibilityPlatform','TMfXS','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','browserstackSessionName','hqCLT','setGlobal','../../helpers/accessibility-automation/helper','../../helpers/globals','message','../../helpers/helper','passed','executeScript','https:','Performing\x20scan\x20before\x20saving\x20results','15348rwhRet','fadoy','capabilities','LTeUR','Automate\x20test\x20case\x20execution\x20has\x20started.','ObservabilitySync:','../../helpers/logger','./test-observability/mochaUtils','\x20-\x20','util','16QtmZjx','http:','testcase','NMmHp','Failed\x20to\x20store\x20session\x20name:\x20','BiSyk','app','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__error_messages__','__drivers','FAcuH','__skipSessionName','694570ytcPFZ','ynzJy','sessionNameSet__','4958716qapzHU','state','LprfG','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','initQuit','unzQN','1154870snixtr','format','aaLAe','sMTcP','4362930nnhhUY','title','qiOvj','96lhjPDf','getCurrentUrl','quitCount_','lJsYj','ZQkTy','length','\x20|\x20','55aWNGvy','saveTestResults','UiePI','join','gZlqz','ORrZG','xBXpt','wrCyb'];a28_0x4f77=function(){return _0x26bc23;};return a28_0x4f77();}const a28_0xebe439=a28_0x22cb;(function(_0x84bfef,_0x2483da){const _0x5cf54e=a28_0x22cb,_0x409622=_0x84bfef();while(!![]){try{const _0x1f8e5b=parseInt(_0x5cf54e(0x106))/0x1+parseInt(_0x5cf54e(0xbb))/0x2*(parseInt(_0x5cf54e(0x95))/0x3)+parseInt(_0x5cf54e(0x9f))/0x4*(-parseInt(_0x5cf54e(0xb4))/0x5)+-parseInt(_0x5cf54e(0xb8))/0x6+parseInt(_0x5cf54e(0xae))/0x7+-parseInt(_0x5cf54e(0xcb))/0x8*(-parseInt(_0x5cf54e(0xf3))/0x9)+-parseInt(_0x5cf54e(0xab))/0xa*(parseInt(_0x5cf54e(0xc2))/0xb);if(_0x1f8e5b===_0x2483da)break;else _0x409622['push'](_0x409622['shift']());}catch(_0x4bd955){_0x409622['push'](_0x409622['shift']());}}}(a28_0x4f77,0x7bded));const util=require(a28_0xebe439(0x9e)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a28_0xebe439(0x110)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a28_0xebe439(0x9c)),{isBrowserstackInfra,markSessionStatus}=require(a28_0xebe439(0x113)),{isTestObservabilitySession}=require(a28_0xebe439(0xf0)),PerformanceTester=require(a28_0xebe439(0xe3)),scripts=require(a28_0xebe439(0x102)),globals=require(a28_0xebe439(0x111)),logger=require(a28_0xebe439(0x9b))[a28_0xebe439(0xd0)];exports[a28_0xebe439(0xef)]={'beforeAll'(){const _0x5930bd=a28_0xebe439,_0xe61635={'TMfXS':function(_0x1f6b37,_0x2d17b3,_0x505f0c,_0x521e18){return _0x1f6b37(_0x2d17b3,_0x505f0c,_0x521e18);},'nhjgZ':_0x5930bd(0xd9),'ORrZG':_0x5930bd(0xc1),'pWbEP':function(_0x4f7b28,_0x4bed30,_0x3a67fc){return _0x4f7b28(_0x4bed30,_0x3a67fc);},'zyMoF':_0x5930bd(0x91),'uxSUC':function(_0x347869){return _0x347869();}};PerformanceTester[_0x5930bd(0xec)]();const _0x52d2ff='browserstack internal helper hook';global[_0x5930bd(0xa7)]=[],global[_0x5930bd(0xfe)]=![],global[_0x5930bd(0xd3)]=async()=>{const _0x5f4e21=_0x5930bd;let _0x3c1dd5=![];try{await global[_0x5f4e21(0xa8)][0x0][_0x5f4e21(0x101)],_0x3c1dd5=!![],global[_0x5f4e21(0xfe)]?await _0xe61635[_0x5f4e21(0x10b)](markSessionStatus,global[_0x5f4e21(0xa8)][0x0],_0xe61635[_0x5f4e21(0xea)],global['__error_messages__'][_0x5f4e21(0xc5)](_0xe61635[_0x5f4e21(0xc7)])):await _0xe61635['pWbEP'](markSessionStatus,global[_0x5f4e21(0xa8)][0x0],_0xe61635[_0x5f4e21(0x100)]);}catch(_0x4786f2){}global[_0x5f4e21(0xa7)]=[],global['__sessionFailed']=![];if(_0x3c1dd5)try{try{_0xe61635['uxSUC'](isTestObservabilitySession)&&(global['__drivers'][0x0]&&await _0xe61635[_0x5f4e21(0xe4)](sendPlatformDetails,global[_0x5f4e21(0xa8)][0x0],this[_0x5f4e21(0xd1)]?this[_0x5f4e21(0xd1)]['testAnalyticsId']:null));}catch{}await global['__drivers'][0x0][_0x5f4e21(0xb2)]();}catch(_0x1ca371){}};},'beforeEach'(_0x4bb748){const _0x2d6d22=a28_0xebe439,_0x553dac={'lJsYj':function(_0x480e13,_0x30fbf3){return _0x480e13>_0x30fbf3;},'AFeRz':_0x2d6d22(0x9d),'NMmHp':function(_0x59fcbd,_0x58c352,_0x1ef803){return _0x59fcbd(_0x58c352,_0x1ef803);},'hqCLT':'bstackA11yShouldScan','ynzJy':function(_0x5df162){return _0x5df162();},'fadoy':_0x2d6d22(0x10a),'WbGwZ':function(_0xb7d266,_0x59a621){return _0xb7d266===_0x59a621;},'xTNxA':_0x2d6d22(0xa0),'yCUCG':_0x2d6d22(0x93),'UiePI':_0x2d6d22(0x107),'BiSyk':_0x2d6d22(0x99),'LprfG':function(_0x54e2db){return _0x54e2db();}};new Promise(async _0x5613df=>{const _0x38aa76=_0x2d6d22,_0x57ccd4='browserstack internal helper hook';let _0x2cf558=!![];try{_0x553dac[_0x38aa76(0xbe)](global[_0x38aa76(0xa8)][_0x38aa76(0xc0)],0x1)&&(await global[_0x38aa76(0xd3)](),global['__drivers'][_0x38aa76(0x109)]()),_0x553dac[_0x38aa76(0xbe)](global['__drivers'][0x0][_0x38aa76(0xbd)],0x0)&&(_0x2cf558=![],await global[_0x38aa76(0xd3)]());}catch{}try{Array[_0x38aa76(0xff)](global[_0x38aa76(0xa8)])&&global[_0x38aa76(0xa8)][0x0]&&(global[_0x38aa76(0xa8)][0x0]['browserstackSessionName']=this[_0x38aa76(0xd1)][_0x38aa76(0xdd)]()[_0x38aa76(0xc5)](_0x553dac[_0x38aa76(0xda)])),global[_0x38aa76(0x10d)]=this[_0x38aa76(0xd1)][_0x38aa76(0xdd)]()[_0x38aa76(0xc5)](_0x553dac['AFeRz']);}catch(_0x2e28ce){logger[_0x38aa76(0xfc)](_0x38aa76(0xa3)+_0x2e28ce);}this[_0x38aa76(0xd1)]['shouldScanTestForAccessibility']=_0x553dac[_0x38aa76(0xa2)](shouldScanTestForAccessibility,this[_0x38aa76(0xd1)]['titlePath'](),!![]),globals[_0x38aa76(0x10f)](_0x553dac[_0x38aa76(0x10e)],this[_0x38aa76(0xd1)][_0x38aa76(0xfd)]),this[_0x38aa76(0xd1)][_0x38aa76(0x105)]=!![];if(_0x553dac[_0x38aa76(0xac)](isAccessibilityAutomationSession)&&_0x2cf558&&Array[_0x38aa76(0xff)](global[_0x38aa76(0xa8)])&&_0x553dac[_0x38aa76(0xbe)](global['__drivers']['length'],0x0)&&globals[_0x38aa76(0xd8)](_0x553dac[_0x38aa76(0x96)]))try{const _0x4ea59d=await global[_0x38aa76(0xa8)][0x0][_0x38aa76(0x101)];if(_0x4ea59d){let _0x2b7eee=!![];const _0x2c35cb=await global[_0x38aa76(0xa8)][0x0][_0x38aa76(0xbc)]();let _0x57a273;try{_0x57a273=new URL(_0x2c35cb);}catch(_0x2bd230){_0x2b7eee=![];}_0x2b7eee=_0x553dac['WbGwZ'](_0x57a273[_0x38aa76(0xe9)],_0x553dac[_0x38aa76(0xcf)])||_0x553dac[_0x38aa76(0xdc)](_0x57a273[_0x38aa76(0xe9)],_0x553dac[_0x38aa76(0xfa)]),_0x2b7eee&&(this[_0x38aa76(0xd1)][_0x38aa76(0xfd)]&&logger[_0x38aa76(0xce)](_0x553dac[_0x38aa76(0xc4)])),this['currentTest'][_0x38aa76(0x105)]=this[_0x38aa76(0xd1)]['shouldScanTestForAccessibility'],this[_0x38aa76(0xd1)]['shouldScanTestForAccessibility']&&logger['info'](_0x553dac[_0x38aa76(0xa4)]);}}catch(_0x423ba9){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x38aa76(0xb5)](_0x423ba9));}_0x553dac[_0x38aa76(0xb0)](_0x5613df);})[_0x2d6d22(0xe2)](_0x4bb748);},'afterEach'(_0x4f9927){const _0x27158a=a28_0xebe439,_0x32bbc6={'LTeUR':function(_0x481a7c,_0x847ba1){return _0x481a7c>_0x847ba1;},'qiOvj':function(_0x57dca3,_0x23cbb4){return _0x57dca3===_0x23cbb4;},'LRPIT':_0x27158a(0xa1),'QrJwa':function(_0x557412,_0x164ed9){return _0x557412>_0x164ed9;},'gDXMe':'appium:app','xBXpt':function(_0x4322ed,_0x28486d,_0x1e5918,_0x196339){return _0x4322ed(_0x28486d,_0x1e5918,_0x196339);},'LdBxi':_0x27158a(0x9d),'wrCyb':function(_0x1894d6,_0x5b8bbe){return _0x1894d6!==_0x5b8bbe;},'OTfFb':_0x27158a(0x91),'jjbxm':function(_0x35687e,_0xeb374d,_0x260b0e){return _0x35687e(_0xeb374d,_0x260b0e);},'ZQkTy':function(_0x5ef37a,_0x46225f){return _0x5ef37a+_0x46225f;},'gZlqz':'Failed:\x20','JCrew':_0x27158a(0xd7),'sMTcP':_0x27158a(0xcd),'jkOAK':_0x27158a(0xce),'FAcuH':_0x27158a(0x10a),'PszuA':'bstackA11yShouldScan','FLsis':_0x27158a(0xed),'BmIrf':function(_0x27a0f4,_0x590144){return _0x27a0f4(_0x590144);},'MTaqZ':_0x27158a(0x94),'qBrzV':_0x27158a(0xb1),'bGDxB':function(_0xf09e96){return _0xf09e96();},'hQVBt':function(_0x5c6ad6,_0x575e7a,_0x11699b){return _0x5c6ad6(_0x575e7a,_0x11699b);},'hVPfV':function(_0x37533c){return _0x37533c();},'aaLAe':'debug','unzQN':function(_0x135696,_0x38bbe0){return _0x135696>_0x38bbe0;},'MnFjJ':function(_0x54a3ba){return _0x54a3ba();}},_0x387762='browserstack internal helper hook';this[_0x27158a(0xcc)](0xfde8);const _0x4f6621=async(_0x350ac0,_0x2927fc)=>{const _0x190327=_0x27158a;await global[_0x190327(0xa8)][0x0][_0x190327(0x92)](_0x190327(0xa6)+_0x350ac0+_0x190327(0xeb)+_0x2927fc+_0x190327(0xf1));};new Promise(async _0x3591d3=>{const _0x196c0d=_0x27158a;try{_0x32bbc6[_0x196c0d(0x98)](global[_0x196c0d(0xa8)][_0x196c0d(0xc0)],0x1)&&(await global[_0x196c0d(0xd3)](),global[_0x196c0d(0xa8)][_0x196c0d(0x109)](),global[_0x196c0d(0xa7)]=[],global[_0x196c0d(0xfe)]=![]);try{if(global[_0x196c0d(0xde)]&&_0x32bbc6[_0x196c0d(0xba)](global[_0x196c0d(0x104)],_0x32bbc6[_0x196c0d(0xf5)])&&global[_0x196c0d(0xa8)][0x0]){const _0x109515=_0x32bbc6['QrJwa'](global[_0x196c0d(0x97)][_0x196c0d(0xc0)],0x0)?!!global['capabilities'][0x0][_0x196c0d(0xa5)]||!!global['capabilities'][0x0][_0x32bbc6[_0x196c0d(0xca)]]:![],_0x5b550b={};_0x5b550b[_0x196c0d(0xa5)]=_0x109515,await _0x32bbc6[_0x196c0d(0xc8)](percyAutoCapture,global[_0x196c0d(0xa8)][0x0],_0x32bbc6[_0x196c0d(0xf5)],_0x5b550b);}}catch(_0x46f070){}!global[_0x196c0d(0xaa)]&&(await global['__drivers'][0x0][_0x196c0d(0x92)](_0x196c0d(0x10c)+JSON[_0x196c0d(0xe8)](this[_0x196c0d(0xd1)][_0x196c0d(0xdd)]()[_0x196c0d(0xc5)](_0x32bbc6[_0x196c0d(0xe1)]))+'}}'),global[_0x196c0d(0xa8)][0x0][_0x196c0d(0xad)]=!![]);const _0x554bfb=_0x32bbc6[_0x196c0d(0xc9)](this[_0x196c0d(0xd1)][_0x196c0d(0xaf)],_0x32bbc6[_0x196c0d(0xdb)]);_0x554bfb?(global[_0x196c0d(0xfe)]=!![],global[_0x196c0d(0xa7)]['push'](this[_0x196c0d(0xd1)]['err'][_0x196c0d(0x112)]),await _0x32bbc6['jjbxm'](_0x4f6621,JSON[_0x196c0d(0xe8)](_0x32bbc6[_0x196c0d(0xbf)](_0x32bbc6[_0x196c0d(0xc6)],this[_0x196c0d(0xd1)]['err']['message'])),_0x32bbc6['JCrew'])):await _0x32bbc6[_0x196c0d(0xf6)](_0x4f6621,JSON[_0x196c0d(0xe8)](_0x32bbc6[_0x196c0d(0xb7)]),_0x32bbc6['jkOAK']);}catch(_0x6493c0){}try{if(this[_0x196c0d(0xd1)][_0x196c0d(0x105)]&&globals['getGlobal'](_0x32bbc6[_0x196c0d(0xa9)])&&globals[_0x196c0d(0xd8)](_0x32bbc6[_0x196c0d(0xe0)])){logger[_0x196c0d(0xce)](_0x32bbc6[_0x196c0d(0xdf)]);const _0x1bfc21={'saveResults':this[_0x196c0d(0xd1)]['shouldScanTestForAccessibility'],'testDetails':{'name':this['currentTest'][_0x196c0d(0xb9)],'testRunId':process[_0x196c0d(0xe5)][_0x196c0d(0xf2)],'filePath':this[_0x196c0d(0xd1)][_0x196c0d(0xf8)],'scopeList':this[_0x196c0d(0xd1)][_0x196c0d(0xdd)]()},'platform':await _0x32bbc6['BmIrf'](fetchPlatformDetails,global[_0x196c0d(0xa8)][0x0])};logger[_0x196c0d(0xfc)](_0x32bbc6[_0x196c0d(0xee)]),logger[_0x196c0d(0xfc)](util[_0x196c0d(0xb5)](await global[_0x196c0d(0xa8)][0x0][_0x196c0d(0x103)](scripts[_0x196c0d(0xfb)],{'method':global['browserstackSessionName']}))),await global[_0x196c0d(0xa8)][0x0]['executeAsyncScript'](scripts[_0x196c0d(0xc3)],_0x1bfc21),logger[_0x196c0d(0xce)](_0x32bbc6[_0x196c0d(0xd5)]);}}catch(_0x1f69f8){logger[_0x196c0d(0xd7)](_0x196c0d(0xf7)+this[_0x196c0d(0xd1)][_0x196c0d(0xdd)]()+_0x196c0d(0xd4),_0x1f69f8);}try{try{if(_0x32bbc6[_0x196c0d(0x108)](isTestObservabilitySession)){global[_0x196c0d(0xa8)][0x0]&&await _0x32bbc6[_0x196c0d(0xd6)](sendPlatformDetails,global[_0x196c0d(0xa8)][0x0],this[_0x196c0d(0xd1)]?this[_0x196c0d(0xd1)][_0x196c0d(0xd2)]:null);if(_0x32bbc6[_0x196c0d(0xf4)](isBrowserstackInfra)){const _0x36361a=_0x196c0d(0x9a)+Date['now']();await _0x32bbc6[_0x196c0d(0xf6)](_0x4f6621,JSON['stringify'](_0x36361a),_0x32bbc6[_0x196c0d(0xb6)]);}}}catch{}_0x32bbc6[_0x196c0d(0xb3)](global[_0x196c0d(0xa8)][0x0]['quitCount_'],0x0)&&await global[_0x196c0d(0xd3)]();}catch(_0x4f30eb){}_0x32bbc6[_0x196c0d(0xe7)](_0x3591d3);})[_0x27158a(0xe2)](()=>_0x4f9927());},'afterAll'(_0x57a486){const _0x323d20=a28_0xebe439,_0x5348a3={'mrfFm':function(_0x445b76){return _0x445b76();}},_0x173450='browserstack internal helper hook';this[_0x323d20(0xcc)](0xfde8),new Promise(async _0x4578e2=>{const _0x4680a7=_0x323d20;PerformanceTester[_0x4680a7(0xe6)](),await global[_0x4680a7(0xd3)](),_0x5348a3[_0x4680a7(0xf9)](_0x4578e2);})[_0x323d20(0xe2)](()=>_0x57a486());}};
1
+ function a30_0x4f90(){const _0x2589de=['message','getCurrentUrl','BS_A11Y_TEST_RUN_ID','titlePath','9099axdwGd','format','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','5860495wSLjfK','40002GbftoG','CVbjH','6eFAzOK','SsSLJ','jNJjW','FTAFY','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/scripts','__drivers','testcase','\x22}}','../../helpers/test-observability/utils','app','92JfccSH','UsgWm','6548352NSxqCE','yRJaQ','getGlobal','https:','bstackA11yShouldScan','NSYOX','1969704ywbjNT','Performing\x20scan\x20before\x20saving\x20results','http:','AwLDe','isAccessibilityPlatform','yRviK','\x20-\x20','session_','FKxeD','GtFQu','setGlobal','ObservabilitySync:','saveTestResults','now','then','LVDUR','Automate\x20test\x20case\x20execution\x20has\x20started.','KCeAp','8438QUdNHh','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','shift','../../helpers/accessibility-automation/helper','title','4630fboOzV','percyCaptureMode','performScan','.\x20Error\x20:','stringify','FxzfI','info','sHrFp','WKNWA','ARoMI','join','capabilities','lCnBJ','startMonitoring','length','../../helpers/helper','state','shouldScanTestForAccessibility','../../helpers/logger','lzmNT','currentTest','Passed','auBQH','stopMonitoring','cXTQc','WxDXW','passed','JKhNN','percy','quitCount_','inriQ','appium:app','driverCleanup','VweFd','YUFjU',',\x22level\x22:\x20\x22','timeout','lCIiw','3603173AFSPUn','file','EbbLZ','__error_messages__','aITAe','error','jSjFX','err','mochaHooks','accessibilityScanStarted','uAzRN','debug','util','protocol','winstonLogger','kdTnb','../../helpers/globals','executeScript','browserstackSessionName','env','failed','PTvdb','../../helpers/percy/utils','ovZrd','__sessionFailed','isArray','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','executeAsyncScript','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.'];a30_0x4f90=function(){return _0x2589de;};return a30_0x4f90();}const a30_0x2b8373=a30_0x40a6;(function(_0x17a5c5,_0x381daf){const _0x564ab8=a30_0x40a6,_0x32dfaa=_0x17a5c5();while(!![]){try{const _0x2f81c1=-parseInt(_0x564ab8(0xa3))/0x1*(parseInt(_0x564ab8(0xf5))/0x2)+-parseInt(_0x564ab8(0xf3))/0x3*(-parseInt(_0x564ab8(0x100))/0x4)+parseInt(_0x564ab8(0xf2))/0x5+-parseInt(_0x564ab8(0x8b))/0x6+parseInt(_0x564ab8(0xce))/0x7+parseInt(_0x564ab8(0x91))/0x8+parseInt(_0x564ab8(0xef))/0x9*(-parseInt(_0x564ab8(0xa8))/0xa);if(_0x2f81c1===_0x381daf)break;else _0x32dfaa['push'](_0x32dfaa['shift']());}catch(_0x30d24e){_0x32dfaa['push'](_0x32dfaa['shift']());}}}(a30_0x4f90,0x9fe56));const util=require(a30_0x2b8373(0xda)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x2b8373(0xa6)),{percyAutoCapture}=require(a30_0x2b8373(0xe4)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x2b8373(0xb7)),{isTestObservabilitySession}=require(a30_0x2b8373(0xfe)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a30_0x2b8373(0xfa)),globals=require(a30_0x2b8373(0xde)),logger=require(a30_0x2b8373(0xba))[a30_0x2b8373(0xdc)];function a30_0x40a6(_0x3e3cc8,_0x379698){const _0x4f90b1=a30_0x4f90();return a30_0x40a6=function(_0x40a6bc,_0x5b17df){_0x40a6bc=_0x40a6bc-0x8a;let _0x325a04=_0x4f90b1[_0x40a6bc];return _0x325a04;},a30_0x40a6(_0x3e3cc8,_0x379698);}exports[a30_0x2b8373(0xd6)]={'beforeAll'(){const _0x438443=a30_0x2b8373,_0x1ab3c9={'PTvdb':function(_0x15510e,_0x341402,_0x14c15e,_0x21bc95){return _0x15510e(_0x341402,_0x14c15e,_0x21bc95);},'jSjFX':_0x438443(0xe2),'uNFnJ':'\x20|\x20','WKNWA':function(_0x58ee10,_0x7613a4,_0x457990){return _0x58ee10(_0x7613a4,_0x457990);},'jNJjW':'passed','JKhNN':function(_0x4e75f9){return _0x4e75f9();},'QIbSa':function(_0x3fff51,_0x4d301e,_0x1f3d51){return _0x3fff51(_0x4d301e,_0x1f3d51);}};PerformanceTester[_0x438443(0xb5)]();const _0x39b526='browserstack internal helper hook';global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x423534=_0x438443;let _0x3dbe2a=![];try{await global[_0x423534(0xfb)][0x0][_0x423534(0x98)],_0x3dbe2a=!![],global[_0x423534(0xe6)]?await _0x1ab3c9[_0x423534(0xe3)](markSessionStatus,global[_0x423534(0xfb)][0x0],_0x1ab3c9[_0x423534(0xd4)],global[_0x423534(0xd1)][_0x423534(0xb2)](_0x1ab3c9['uNFnJ'])):await _0x1ab3c9[_0x423534(0xb0)](markSessionStatus,global[_0x423534(0xfb)][0x0],_0x1ab3c9[_0x423534(0xf7)]);}catch(_0x58ddc1){}global[_0x423534(0xd1)]=[],global[_0x423534(0xe6)]=![];if(_0x3dbe2a)try{try{_0x1ab3c9[_0x423534(0xc3)](isTestObservabilitySession)&&(global[_0x423534(0xfb)][0x0]&&await _0x1ab3c9['QIbSa'](sendPlatformDetails,global[_0x423534(0xfb)][0x0],this[_0x423534(0xbc)]?this[_0x423534(0xbc)]['testAnalyticsId']:null));}catch{}await global[_0x423534(0xfb)][0x0]['initQuit']();}catch(_0x145747){}};},'beforeEach'(_0x5e3941){const _0x12ef95=a30_0x2b8373,_0x31fee3={'cXTQc':function(_0x3b54fd,_0x73c52c){return _0x3b54fd>_0x73c52c;},'FKxeD':'\x20-\x20','AwLDe':function(_0x4229c0,_0x1c0f66,_0x263162){return _0x4229c0(_0x1c0f66,_0x263162);},'YUFjU':_0x12ef95(0x8f),'lzmNT':function(_0x460b90){return _0x460b90();},'FVGJZ':'isAccessibilityPlatform','inriQ':function(_0x3015e8,_0x3f21f1){return _0x3015e8===_0x3f21f1;},'yRviK':_0x12ef95(0x93),'ReSlt':function(_0x43bdc3,_0x49a516){return _0x43bdc3===_0x49a516;},'SsSLJ':_0x12ef95(0x8e),'UsgWm':_0x12ef95(0xea),'sHrFp':_0x12ef95(0xa1)};new Promise(async _0x3adc82=>{const _0xf1396c=_0x12ef95,_0x91d6b0='browserstack internal helper hook';let _0x244596=!![];try{_0x31fee3[_0xf1396c(0xc0)](global[_0xf1396c(0xfb)][_0xf1396c(0xb6)],0x1)&&(await global['driverCleanup'](),global[_0xf1396c(0xfb)][_0xf1396c(0xa5)]()),_0x31fee3[_0xf1396c(0xc0)](global[_0xf1396c(0xfb)][0x0]['quitCount_'],0x0)&&(_0x244596=![],await global[_0xf1396c(0xc8)]());}catch{}try{Array['isArray'](global[_0xf1396c(0xfb)])&&global[_0xf1396c(0xfb)][0x0]&&(global[_0xf1396c(0xfb)][0x0][_0xf1396c(0xe0)]=this[_0xf1396c(0xbc)]['titlePath']()[_0xf1396c(0xb2)](_0x31fee3[_0xf1396c(0x99)])),global[_0xf1396c(0xe0)]=this[_0xf1396c(0xbc)][_0xf1396c(0xee)]()['join'](_0x31fee3[_0xf1396c(0x99)]);}catch(_0x2c41e1){logger[_0xf1396c(0xd9)](_0xf1396c(0xf9)+_0x2c41e1);}this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]=_0x31fee3[_0xf1396c(0x94)](shouldScanTestForAccessibility,this[_0xf1396c(0xbc)][_0xf1396c(0xee)](),!![]),globals[_0xf1396c(0x9b)](_0x31fee3[_0xf1396c(0xca)],this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]),this[_0xf1396c(0xbc)][_0xf1396c(0xd7)]=!![];if(_0x31fee3['lzmNT'](isAccessibilityAutomationSession)&&_0x244596&&Array[_0xf1396c(0xe7)](global[_0xf1396c(0xfb)])&&_0x31fee3['cXTQc'](global[_0xf1396c(0xfb)][_0xf1396c(0xb6)],0x0)&&globals[_0xf1396c(0x8d)](_0x31fee3['FVGJZ']))try{const _0x11042a=await global['__drivers'][0x0][_0xf1396c(0x98)];if(_0x11042a){let _0x1c2baf=!![];const _0x5d48bd=await global['__drivers'][0x0][_0xf1396c(0xec)]();let _0x11de19;try{_0x11de19=new URL(_0x5d48bd);}catch(_0x1085a6){_0x1c2baf=![];}_0x1c2baf=_0x31fee3[_0xf1396c(0xc6)](_0x11de19[_0xf1396c(0xdb)],_0x31fee3[_0xf1396c(0x96)])||_0x31fee3['ReSlt'](_0x11de19[_0xf1396c(0xdb)],_0x31fee3[_0xf1396c(0xf6)]),_0x1c2baf&&(this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]&&logger['info'](_0x31fee3[_0xf1396c(0x8a)])),this[_0xf1396c(0xbc)][_0xf1396c(0xd7)]=this[_0xf1396c(0xbc)]['shouldScanTestForAccessibility'],this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]&&logger['info'](_0x31fee3[_0xf1396c(0xaf)]);}}catch(_0x456cd9){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0xf1396c(0xf0)](_0x456cd9));}_0x31fee3[_0xf1396c(0xbb)](_0x3adc82);})[_0x12ef95(0x9f)](_0x5e3941);},'afterEach'(_0x4ad42b){const _0x4f1a20=a30_0x2b8373,_0x30bf92={'FTAFY':function(_0x5403ef,_0xa08551){return _0x5403ef>_0xa08551;},'NSYOX':function(_0x3c683a,_0x4913cd){return _0x3c683a===_0x4913cd;},'LVDUR':_0x4f1a20(0xfc),'EbbLZ':_0x4f1a20(0xc7),'JDHcL':function(_0x2f78e2,_0x539d09,_0x2fcd55,_0x4ede93){return _0x2f78e2(_0x539d09,_0x2fcd55,_0x4ede93);},'ovZrd':_0x4f1a20(0x97),'GtFQu':function(_0x563513,_0x5f111a){return _0x563513!==_0x5f111a;},'SUbqG':_0x4f1a20(0xc2),'uAzRN':function(_0x42361e,_0x514ac8,_0x168759){return _0x42361e(_0x514ac8,_0x168759);},'CVbjH':function(_0x1f79e3,_0x4f4257){return _0x1f79e3+_0x4f4257;},'aITAe':'Failed:\x20','lCIiw':_0x4f1a20(0xd3),'MvRVQ':_0x4f1a20(0xbd),'FxzfI':_0x4f1a20(0xae),'STZBt':_0x4f1a20(0x95),'fjIAe':_0x4f1a20(0x8f),'ARoMI':_0x4f1a20(0xe8),'auBQH':function(_0x5b6454,_0x34b7e0){return _0x5b6454(_0x34b7e0);},'lCnBJ':_0x4f1a20(0x92),'mqGdJ':_0x4f1a20(0xa4),'VweFd':function(_0x3b111c){return _0x3b111c();},'WxDXW':function(_0x82687a,_0x599e0d,_0x27c8b3){return _0x82687a(_0x599e0d,_0x27c8b3);},'KCeAp':_0x4f1a20(0xd9),'yRJaQ':function(_0x2d6b57,_0x3caf67){return _0x2d6b57>_0x3caf67;}},_0x5b4e7a='browserstack internal helper hook';this[_0x4f1a20(0xcc)](0xfde8);const _0x1db9f6=async(_0xf72a4a,_0x2d67fb)=>{const _0x3b594d=_0x4f1a20;await global[_0x3b594d(0xfb)][0x0][_0x3b594d(0xdf)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xf72a4a+_0x3b594d(0xcb)+_0x2d67fb+_0x3b594d(0xfd));};new Promise(async _0x3b1171=>{const _0x499ca9=_0x4f1a20;try{_0x30bf92[_0x499ca9(0xf8)](global['__drivers']['length'],0x1)&&(await global[_0x499ca9(0xc8)](),global[_0x499ca9(0xfb)][_0x499ca9(0xa5)](),global[_0x499ca9(0xd1)]=[],global[_0x499ca9(0xe6)]=![]);try{if(global[_0x499ca9(0xc4)]&&_0x30bf92[_0x499ca9(0x90)](global[_0x499ca9(0xa9)],_0x30bf92['LVDUR'])&&global[_0x499ca9(0xfb)][0x0]){const _0x28c426=_0x30bf92['FTAFY'](global[_0x499ca9(0xb3)][_0x499ca9(0xb6)],0x0)?!!global[_0x499ca9(0xb3)][0x0][_0x499ca9(0xff)]||!!global[_0x499ca9(0xb3)][0x0][_0x30bf92[_0x499ca9(0xd0)]]:![],_0x303f96={};_0x303f96['app']=_0x28c426,await _0x30bf92['JDHcL'](percyAutoCapture,global[_0x499ca9(0xfb)][0x0],_0x30bf92[_0x499ca9(0xa0)],_0x303f96);}}catch(_0xec3a16){}!global['__skipSessionName']&&(await global[_0x499ca9(0xfb)][0x0]['executeScript'](_0x499ca9(0xf1)+JSON['stringify'](this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()[_0x499ca9(0xb2)](_0x30bf92[_0x499ca9(0xe5)]))+'}}'),global[_0x499ca9(0xfb)][0x0]['sessionNameSet__']=!![]);const _0x37af66=_0x30bf92[_0x499ca9(0x9a)](this[_0x499ca9(0xbc)][_0x499ca9(0xb8)],_0x30bf92['SUbqG']);_0x37af66?(global[_0x499ca9(0xe6)]=!![],global['__error_messages__']['push'](this[_0x499ca9(0xbc)][_0x499ca9(0xd5)][_0x499ca9(0xeb)]),await _0x30bf92[_0x499ca9(0xd8)](_0x1db9f6,JSON['stringify'](_0x30bf92[_0x499ca9(0xf4)](_0x30bf92[_0x499ca9(0xd2)],this[_0x499ca9(0xbc)][_0x499ca9(0xd5)][_0x499ca9(0xeb)])),_0x30bf92[_0x499ca9(0xcd)])):await _0x30bf92[_0x499ca9(0xd8)](_0x1db9f6,JSON[_0x499ca9(0xac)](_0x30bf92['MvRVQ']),_0x30bf92[_0x499ca9(0xad)]);}catch(_0x2318e5){}try{if(this[_0x499ca9(0xbc)][_0x499ca9(0xd7)]&&globals[_0x499ca9(0x8d)](_0x30bf92['STZBt'])&&globals[_0x499ca9(0x8d)](_0x30bf92['fjIAe'])){logger[_0x499ca9(0xae)](_0x30bf92[_0x499ca9(0xb1)]);const _0x2e00fc={'saveResults':this[_0x499ca9(0xbc)]['shouldScanTestForAccessibility'],'testDetails':{'name':this['currentTest'][_0x499ca9(0xa7)],'testRunId':process[_0x499ca9(0xe1)][_0x499ca9(0xed)],'filePath':this[_0x499ca9(0xbc)][_0x499ca9(0xcf)],'scopeList':this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()},'platform':await _0x30bf92[_0x499ca9(0xbe)](fetchPlatformDetails,global[_0x499ca9(0xfb)][0x0])};logger['debug'](_0x30bf92[_0x499ca9(0xb4)]),logger[_0x499ca9(0xd9)](util[_0x499ca9(0xf0)](await global[_0x499ca9(0xfb)][0x0]['executeAsyncScript'](scripts[_0x499ca9(0xaa)],{'method':global[_0x499ca9(0xe0)]}))),await global[_0x499ca9(0xfb)][0x0][_0x499ca9(0xe9)](scripts[_0x499ca9(0x9d)],_0x2e00fc),logger[_0x499ca9(0xae)](_0x30bf92['mqGdJ']);}}catch(_0x2fc732){logger[_0x499ca9(0xd3)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()+_0x499ca9(0xab),_0x2fc732);}try{try{if(_0x30bf92[_0x499ca9(0xc9)](isTestObservabilitySession)){global[_0x499ca9(0xfb)][0x0]&&await _0x30bf92[_0x499ca9(0xc1)](sendPlatformDetails,global['__drivers'][0x0],this[_0x499ca9(0xbc)]?this[_0x499ca9(0xbc)]['testAnalyticsId']:null);if(_0x30bf92[_0x499ca9(0xc9)](isBrowserstackInfra)){const _0x24f891=_0x499ca9(0x9c)+Date[_0x499ca9(0x9e)]();await _0x30bf92[_0x499ca9(0xc1)](_0x1db9f6,JSON[_0x499ca9(0xac)](_0x24f891),_0x30bf92[_0x499ca9(0xa2)]);}}}catch{}_0x30bf92[_0x499ca9(0x8c)](global['__drivers'][0x0][_0x499ca9(0xc5)],0x0)&&await global['driverCleanup']();}catch(_0x49b270){}_0x30bf92['VweFd'](_0x3b1171);})[_0x4f1a20(0x9f)](()=>_0x4ad42b());},'afterAll'(_0x31aa82){const _0x3df5b2={'kdTnb':function(_0x1a691b){return _0x1a691b();}},_0x52c976='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x320846=>{const _0x20b1d1=a30_0x40a6;PerformanceTester[_0x20b1d1(0xbf)](),await global[_0x20b1d1(0xc8)](),_0x3df5b2[_0x20b1d1(0xdd)](_0x320846);})['then'](()=>_0x31aa82());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a29_0x79215=a29_0x24ba;(function(_0x25c287,_0x39660f){const _0x28ed2d=a29_0x24ba,_0x20a1f9=_0x25c287();while(!![]){try{const _0x40e076=-parseInt(_0x28ed2d(0x106))/0x1+-parseInt(_0x28ed2d(0x13e))/0x2+parseInt(_0x28ed2d(0x12c))/0x3+parseInt(_0x28ed2d(0x116))/0x4+-parseInt(_0x28ed2d(0x12e))/0x5*(parseInt(_0x28ed2d(0x141))/0x6)+parseInt(_0x28ed2d(0x147))/0x7+parseInt(_0x28ed2d(0x11c))/0x8;if(_0x40e076===_0x39660f)break;else _0x20a1f9['push'](_0x20a1f9['shift']());}catch(_0x5b80dc){_0x20a1f9['push'](_0x20a1f9['shift']());}}}(a29_0x3206,0x44d90));function a29_0x24ba(_0x1723a3,_0x171cad){const _0x3206f9=a29_0x3206();return a29_0x24ba=function(_0x24ba4b,_0x579425){_0x24ba4b=_0x24ba4b-0x104;let _0x120fa9=_0x3206f9[_0x24ba4b];return _0x120fa9;},a29_0x24ba(_0x1723a3,_0x171cad);}const fs=require('fs'),path=require(a29_0x79215(0x109)),{spawn}=require(a29_0x79215(0x113)),logger=require('../../helpers/logger')[a29_0x79215(0x13c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a29_0x79215(0x144)),constants=require(a29_0x79215(0x10b)),getUserNightwatchConfigs=(_0x4079df,_0x21d0b8)=>{const _0x4ee7a3=a29_0x79215,_0x21db34={'Xwnyp':'nightwatch.conf.js','gDpcy':_0x4ee7a3(0x143),'FWLoj':function(_0x2cca0e,_0x6096d9){return _0x2cca0e(_0x6096d9);},'shQLs':_0x4ee7a3(0x104)};let _0x505b72=null,_0x28ca20={};const _0x45c274=_0x21d0b8[_0x4ee7a3(0x136)](_0x528a43=>_0x528a43===_0x4ee7a3(0x115));if(!helper['isUndefined'](_0x4079df[_0x4ee7a3(0x10d)])&&fs[_0x4ee7a3(0x132)](path[_0x4ee7a3(0x10c)](process[_0x4ee7a3(0x14a)](),_0x4079df[_0x4ee7a3(0x10d)])))_0x505b72=path[_0x4ee7a3(0x10c)](process[_0x4ee7a3(0x14a)](),_0x4079df['config']),_0x21d0b8[_0x4ee7a3(0x127)](_0x45c274,0x2);else{if(fs[_0x4ee7a3(0x132)](path['join'](process['cwd'](),_0x21db34[_0x4ee7a3(0x123)])))_0x505b72=path['join'](process[_0x4ee7a3(0x14a)](),_0x21db34[_0x4ee7a3(0x123)]);else fs[_0x4ee7a3(0x132)](path[_0x4ee7a3(0x10c)](process['cwd'](),_0x21db34[_0x4ee7a3(0x108)]))&&(_0x505b72=path[_0x4ee7a3(0x10c)](process[_0x4ee7a3(0x14a)](),_0x21db34['gDpcy']));}return _0x505b72?(logger[_0x4ee7a3(0x10e)](_0x4ee7a3(0x12f)+_0x505b72),_0x28ca20=_0x21db34[_0x4ee7a3(0x11f)](require,_0x505b72)):logger['info'](_0x21db34['shQLs']),_0x28ca20;},removeExistingEnvs=_0x52af22=>{const _0x5f2ba9=a29_0x79215,_0x1db964={};_0x1db964[_0x5f2ba9(0x130)]=function(_0x6bb8fc,_0xd02ec6){return _0x6bb8fc>_0xd02ec6;},_0x1db964[_0x5f2ba9(0x10a)]=function(_0x4805e5,_0x43be5f){return _0x4805e5>_0x43be5f;};const _0x1c8492=_0x1db964;let _0x37153b=_0x52af22[_0x5f2ba9(0x136)](_0x21b5d0=>_0x21b5d0===_0x5f2ba9(0x111));_0x1c8492[_0x5f2ba9(0x130)](_0x37153b,-0x1)&&_0x52af22[_0x5f2ba9(0x127)](_0x37153b,0x2),_0x37153b=_0x52af22[_0x5f2ba9(0x136)](_0x4c91ad=>_0x4c91ad==='-e'),_0x1c8492[_0x5f2ba9(0x10a)](_0x37153b,-0x1)&&_0x52af22[_0x5f2ba9(0x127)](_0x37153b,0x2);};function a29_0x3206(){const _0x59e860=['length','start_process','splice','debug','hub.browserstack.com','now','nightwatch','991485ASpYnN','useW3C','5ttnYqQ','Getting\x20your\x20nightwatch\x20configs\x20from\x20','sxnpG','yQyFx','existsSync','mergeDeep','close','wBVsA','findIndex','OpZBk','lxsif','Deleting\x20','xquIN','env','winstonLogger','BAacf','804740yeLBNy','bFUXi','writeFileSync','3259506cSgdvS','map','nightwatch.json','../../helpers/helper','split','test_settings','1927443RfQHbA','oAzFG','Hpjkp','cwd','push','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','inherit','437023nOCZld','VnEfi','gDpcy','path','enLej','../utils/constants','join','config','info','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','exports','--env','modifyBrowserStackW3CCaps','child_process','unlinkSync','--config','1753300rPlIIZ','trim','filter','forEach','nightwatch.cmd','nightwatch-browserstack.json','4963800zvHbPd','modifyBrowserStackCaps','JZxpR','FWLoj','getPlatformName','EhYIG','hmfnn','Xwnyp','OJryT'];a29_0x3206=function(){return _0x59e860;};return a29_0x3206();}function run(_0x559d59,_0x50a2d8){const _0x520a75=a29_0x79215,_0x3b77b2={'oAzFG':_0x520a75(0x12b),'EhYIG':function(_0x35e51a,_0x4b710c){return _0x35e51a+_0x4b710c;},'yQyFx':'test_settings','hmfnn':function(_0x396e7d,_0x1ce7fb,_0x4ae565){return _0x396e7d(_0x1ce7fb,_0x4ae565);},'yOIuv':_0x520a75(0x129),'lxsif':_0x520a75(0x10f),'bFUXi':function(_0x21d7e2,_0x22e510){return _0x21d7e2===_0x22e510;},'JZxpR':_0x520a75(0x11b),'dOZDK':function(_0x5b3eb6,_0x3302d0){return _0x5b3eb6(_0x3302d0);},'wBVsA':function(_0x166c11,_0x53fa75,_0x44a6a0,_0x594e18){return _0x166c11(_0x53fa75,_0x44a6a0,_0x594e18);},'VnEfi':_0x520a75(0x11a),'OJryT':_0x520a75(0x115),'OpZBk':_0x520a75(0x111),'bkDsQ':_0x520a75(0x105),'Hpjkp':_0x520a75(0x134)},_0x48e376=new BrowserStackSetup(_0x559d59);if(!_0x48e376['config'])return;const _0x2cecfb=_0x3b77b2[_0x520a75(0x122)](getUserNightwatchConfigs,_0x559d59,_0x50a2d8),_0x3fd878={};_0x3fd878[_0x520a75(0x126)]=![];const _0x5d4f0c={};_0x5d4f0c['host']=_0x3b77b2['yOIuv'],_0x5d4f0c['port']=0x1bb;const _0x52186f={};_0x52186f['webdriver']=_0x3fd878,_0x52186f['selenium']=_0x5d4f0c;const _0xe2c7e6=_0x52186f;logger[_0x520a75(0x10e)](_0x3b77b2[_0x520a75(0x138)]);const _0x4ae1a1={..._0x2cecfb},_0x272ab5=_0x4ae1a1,_0x255b5a=helper[_0x520a75(0x12d)](_0x48e376[_0x520a75(0x10d)]),_0xab5f5e=[];_0x48e376[_0x520a75(0x10d)]['platforms'][_0x520a75(0x119)]((_0x5e087b,_0x485669)=>{const _0x79c4e9=_0x520a75;_0x255b5a?_0xab5f5e[_0x79c4e9(0x14b)](helper[_0x79c4e9(0x112)](_0x48e376['config'],_0x3b77b2[_0x79c4e9(0x148)],_0x485669)):_0xab5f5e[_0x79c4e9(0x14b)](helper[_0x79c4e9(0x11d)](_0x48e376[_0x79c4e9(0x10d)],_0x3b77b2[_0x79c4e9(0x148)],_0x485669));});const _0x469f62={},_0x1ebc55=[];_0x559d59[_0x520a75(0x13b)]=_0x559d59[_0x520a75(0x13b)]||_0x559d59['e'];const _0x76c43f=_0x559d59[_0x520a75(0x13b)]?_0x559d59[_0x520a75(0x13b)][_0x520a75(0x117)]()[_0x520a75(0x145)](',')[_0x520a75(0x142)](_0x3cf060=>_0x3cf060[_0x520a75(0x117)]())[_0x520a75(0x118)](_0xf710be=>_0xf710be!==''):[''];_0x3b77b2[_0x520a75(0x13f)](_0x76c43f[_0x520a75(0x125)],0x0)&&_0x76c43f[_0x520a75(0x14b)]('');_0x76c43f[_0x520a75(0x119)](_0x180b65=>{const _0x3a4aaa=_0x520a75,_0x148a32={'xquIN':function(_0x22924e,_0x399046){const _0x41fedc=a29_0x24ba;return _0x3b77b2[_0x41fedc(0x121)](_0x22924e,_0x399046);},'BAacf':_0x3b77b2[_0x3a4aaa(0x131)]};_0xab5f5e[_0x3a4aaa(0x119)](_0x5c674f=>{const _0xaa4d4d=_0x3a4aaa;let _0x554fe8=_0x148a32[_0xaa4d4d(0x13a)](helper[_0xaa4d4d(0x120)](_0x5c674f,'_'),'_'+Date[_0xaa4d4d(0x12a)]());_0x180b65&&(_0x554fe8+='_'+_0x180b65);if(_0x180b65&&(!_0x2cecfb[_0x148a32[_0xaa4d4d(0x13d)]]||!_0x2cecfb[_0x148a32[_0xaa4d4d(0x13d)]][_0x180b65]))return;const _0x274358={..._0xe2c7e6};_0x274358['desiredCapabilities']=_0x5c674f;const _0x3bb66a=_0x274358;_0x469f62[_0x554fe8]=_0x180b65?helper[_0xaa4d4d(0x133)](_0x2cecfb[_0x148a32[_0xaa4d4d(0x13d)]][_0x180b65],_0x3bb66a):_0x3bb66a,_0x1ebc55[_0xaa4d4d(0x14b)](_0x554fe8);});});!_0x272ab5[_0x520a75(0x146)]&&(_0x272ab5[_0x520a75(0x146)]={});_0x272ab5[_0x520a75(0x146)]={..._0x272ab5[_0x520a75(0x146)],..._0x469f62};const _0x3fa658=path[_0x520a75(0x10c)](__dirname,_0x3b77b2[_0x520a75(0x11e)]);fs[_0x520a75(0x140)](_0x3fa658,JSON['stringify'](_0x272ab5)),_0x3b77b2['dOZDK'](removeExistingEnvs,_0x50a2d8);const _0x34d75f=_0x3b77b2[_0x520a75(0x135)](spawn,/^win/['test'](process['platform'])?_0x3b77b2[_0x520a75(0x107)]:_0x3b77b2['oAzFG'],[_0x3b77b2[_0x520a75(0x124)],_0x3fa658,..._0x50a2d8['slice'](0x1),_0x3b77b2[_0x520a75(0x137)],_0x1ebc55[_0x520a75(0x10c)](',')],{'stdio':_0x3b77b2['bkDsQ']});_0x34d75f['on'](_0x3b77b2[_0x520a75(0x149)],async _0x408e6e=>{const _0x31e2d1=_0x520a75;logger[_0x31e2d1(0x128)]('child\x20process\x20exited\x20with\x20code\x20'+_0x408e6e),logger['info'](_0x31e2d1(0x139)+_0x3fa658),fs[_0x31e2d1(0x114)](_0x3fa658);});}module[a29_0x79215(0x110)]=run;
2
+ 'use strict';const a31_0x5c3ac4=a31_0x484c;(function(_0x3f2ecc,_0x2c07d9){const _0xdf06ae=a31_0x484c,_0x69326c=_0x3f2ecc();while(!![]){try{const _0x1853a8=-parseInt(_0xdf06ae(0x205))/0x1+-parseInt(_0xdf06ae(0x1d3))/0x2+-parseInt(_0xdf06ae(0x208))/0x3*(parseInt(_0xdf06ae(0x1ca))/0x4)+-parseInt(_0xdf06ae(0x1d9))/0x5*(parseInt(_0xdf06ae(0x1ec))/0x6)+parseInt(_0xdf06ae(0x1ce))/0x7+-parseInt(_0xdf06ae(0x1e4))/0x8*(parseInt(_0xdf06ae(0x206))/0x9)+parseInt(_0xdf06ae(0x203))/0xa;if(_0x1853a8===_0x2c07d9)break;else _0x69326c['push'](_0x69326c['shift']());}catch(_0x555cd9){_0x69326c['push'](_0x69326c['shift']());}}}(a31_0x1a44,0xd0d74));const fs=require('fs'),path=require('path'),{spawn}=require(a31_0x5c3ac4(0x1c3)),logger=require(a31_0x5c3ac4(0x1f8))[a31_0x5c3ac4(0x1ea)],{default:BrowserStackSetup}=require(a31_0x5c3ac4(0x1c5)),helper=require(a31_0x5c3ac4(0x1e1)),constants=require(a31_0x5c3ac4(0x1f5)),getUserNightwatchConfigs=(_0x105b56,_0x596982)=>{const _0x50812f=a31_0x5c3ac4,_0x5bbbb6={'CTqkx':_0x50812f(0x1f1),'EoTxk':_0x50812f(0x1ef),'JTGBb':function(_0x3ef477,_0x55e44a){return _0x3ef477(_0x55e44a);},'gwFwB':_0x50812f(0x1cc)};let _0x1178cd=null,_0x55c089={};const _0x2c17d0=_0x596982[_0x50812f(0x1f6)](_0x46c4c8=>_0x46c4c8==='--config');if(!helper['isUndefined'](_0x105b56[_0x50812f(0x1e2)])&&fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x105b56[_0x50812f(0x1e2)])))_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x105b56['config']),_0x596982[_0x50812f(0x1c9)](_0x2c17d0,0x2);else{if(fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x5bbbb6[_0x50812f(0x1f9)])))_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x5bbbb6['CTqkx']);else fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x5bbbb6['EoTxk']))&&(_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x5bbbb6[_0x50812f(0x1cb)]));}return _0x1178cd?(logger[_0x50812f(0x1da)](_0x50812f(0x1ff)+_0x1178cd),_0x55c089=_0x5bbbb6['JTGBb'](require,_0x1178cd)):logger[_0x50812f(0x1da)](_0x5bbbb6[_0x50812f(0x1f0)]),_0x55c089;},removeExistingEnvs=_0x2da06d=>{const _0x72a3c2=a31_0x5c3ac4,_0x90b7fe={};_0x90b7fe[_0x72a3c2(0x1f7)]=function(_0x450576,_0x36290b){return _0x450576>_0x36290b;},_0x90b7fe[_0x72a3c2(0x1e8)]=function(_0x431c45,_0x57e570){return _0x431c45>_0x57e570;};const _0x588cca=_0x90b7fe;let _0x2678a1=_0x2da06d[_0x72a3c2(0x1f6)](_0x5ec1a0=>_0x5ec1a0==='--env');_0x588cca[_0x72a3c2(0x1f7)](_0x2678a1,-0x1)&&_0x2da06d['splice'](_0x2678a1,0x2),_0x2678a1=_0x2da06d['findIndex'](_0x1c9da4=>_0x1c9da4==='-e'),_0x588cca[_0x72a3c2(0x1e8)](_0x2678a1,-0x1)&&_0x2da06d[_0x72a3c2(0x1c9)](_0x2678a1,0x2);};function run(_0x38747a,_0x5be42d){const _0x5c1029=a31_0x5c3ac4,_0x1f2f35={'puXlg':_0x5c1029(0x1d5),'tKMvX':function(_0x56bde2,_0x28580e){return _0x56bde2+_0x28580e;},'baGXg':_0x5c1029(0x1dc),'jIppr':function(_0x4048ef,_0x1ed41d,_0x10ad1a){return _0x4048ef(_0x1ed41d,_0x10ad1a);},'qHJfh':_0x5c1029(0x1e3),'ZFawK':_0x5c1029(0x1d2),'bwzae':function(_0x1c9ad2,_0x331715){return _0x1c9ad2===_0x331715;},'STavm':'nightwatch-browserstack.json','cwjWe':function(_0x262e0b,_0x4c1771){return _0x262e0b(_0x4c1771);},'TtMPr':function(_0x2f4d7f,_0x51fa2a,_0x3367a7,_0x2732df){return _0x2f4d7f(_0x51fa2a,_0x3367a7,_0x2732df);},'hvjwu':_0x5c1029(0x1c6),'zRWfN':_0x5c1029(0x1f4),'eHjQQ':'--env','xcVnJ':_0x5c1029(0x1ee),'JxuNq':_0x5c1029(0x200)},_0x4db865=new BrowserStackSetup(_0x38747a);if(!_0x4db865['config'])return;const _0x455052=_0x1f2f35['jIppr'](getUserNightwatchConfigs,_0x38747a,_0x5be42d),_0x532150={};_0x532150[_0x5c1029(0x1fd)]=![];const _0x3478c7={};_0x3478c7[_0x5c1029(0x1c7)]=_0x1f2f35[_0x5c1029(0x1ed)],_0x3478c7[_0x5c1029(0x1fb)]=0x1bb;const _0x2fa4a5={};_0x2fa4a5[_0x5c1029(0x1de)]=_0x532150,_0x2fa4a5[_0x5c1029(0x1d8)]=_0x3478c7;const _0x55f780=_0x2fa4a5;logger[_0x5c1029(0x1da)](_0x1f2f35['ZFawK']);const _0x54f226={..._0x455052},_0x13b0db=_0x54f226,_0x5b7ef6=helper['useW3C'](_0x4db865[_0x5c1029(0x1e2)]),_0x2cdd47=[];_0x4db865[_0x5c1029(0x1e2)]['platforms'][_0x5c1029(0x1d7)]((_0x5379f5,_0x5f33fe)=>{const _0x5d9dab=_0x5c1029;_0x5b7ef6?_0x2cdd47[_0x5d9dab(0x207)](helper['modifyBrowserStackW3CCaps'](_0x4db865['config'],_0x1f2f35[_0x5d9dab(0x1e5)],_0x5f33fe)):_0x2cdd47[_0x5d9dab(0x207)](helper[_0x5d9dab(0x1c2)](_0x4db865[_0x5d9dab(0x1e2)],_0x1f2f35['puXlg'],_0x5f33fe));});const _0x1d6159={},_0x2bd12b=[];_0x38747a['env']=_0x38747a[_0x5c1029(0x1d0)]||_0x38747a['e'];const _0x4892b6=_0x38747a[_0x5c1029(0x1d0)]?_0x38747a[_0x5c1029(0x1d0)][_0x5c1029(0x1e0)]()[_0x5c1029(0x1d6)](',')['map'](_0x54a8a6=>_0x54a8a6['trim']())['filter'](_0x3917ed=>_0x3917ed!==''):[''];_0x1f2f35[_0x5c1029(0x1eb)](_0x4892b6['length'],0x0)&&_0x4892b6[_0x5c1029(0x207)]('');_0x4892b6[_0x5c1029(0x1d7)](_0x21388d=>{const _0x53ef2c=_0x5c1029,_0x3622b3={'wTYwN':function(_0x3a3789,_0x5a89c2){const _0xdab021=a31_0x484c;return _0x1f2f35[_0xdab021(0x1db)](_0x3a3789,_0x5a89c2);},'bTdZk':_0x1f2f35[_0x53ef2c(0x1f3)]};_0x2cdd47[_0x53ef2c(0x1d7)](_0x78a229=>{const _0x4587e4=_0x53ef2c;let _0x3a1478=_0x3622b3['wTYwN'](helper[_0x4587e4(0x1e6)](_0x78a229,'_'),'_'+Date[_0x4587e4(0x1df)]());_0x21388d&&(_0x3a1478+='_'+_0x21388d);if(_0x21388d&&(!_0x455052[_0x3622b3[_0x4587e4(0x1c4)]]||!_0x455052[_0x3622b3[_0x4587e4(0x1c4)]][_0x21388d]))return;const _0x322a20={..._0x55f780};_0x322a20[_0x4587e4(0x202)]=_0x78a229;const _0x2ecb7f=_0x322a20;_0x1d6159[_0x3a1478]=_0x21388d?helper[_0x4587e4(0x1e7)](_0x455052[_0x3622b3[_0x4587e4(0x1c4)]][_0x21388d],_0x2ecb7f):_0x2ecb7f,_0x2bd12b[_0x4587e4(0x207)](_0x3a1478);});});!_0x13b0db[_0x5c1029(0x1dc)]&&(_0x13b0db['test_settings']={});_0x13b0db[_0x5c1029(0x1dc)]={..._0x13b0db[_0x5c1029(0x1dc)],..._0x1d6159};const _0x819c82=path['join'](__dirname,_0x1f2f35['STavm']);fs[_0x5c1029(0x1fc)](_0x819c82,JSON[_0x5c1029(0x1cf)](_0x13b0db)),_0x1f2f35['cwjWe'](removeExistingEnvs,_0x5be42d);const _0x486cc8=_0x1f2f35[_0x5c1029(0x1fe)](spawn,/^win/['test'](process[_0x5c1029(0x1dd)])?_0x1f2f35[_0x5c1029(0x1c1)]:_0x1f2f35[_0x5c1029(0x1e5)],[_0x1f2f35['zRWfN'],_0x819c82,..._0x5be42d[_0x5c1029(0x1fa)](0x1),_0x1f2f35[_0x5c1029(0x1d1)],_0x2bd12b['join'](',')],{'stdio':_0x1f2f35['xcVnJ']});_0x486cc8['on'](_0x1f2f35['JxuNq'],async _0x3fc011=>{const _0x967aaa=_0x5c1029;logger[_0x967aaa(0x1c8)](_0x967aaa(0x1f2)+_0x3fc011),logger[_0x967aaa(0x1da)](_0x967aaa(0x1cd)+_0x819c82),fs[_0x967aaa(0x1d4)](_0x819c82);});}module[a31_0x5c3ac4(0x201)]=run;function a31_0x484c(_0x30900b,_0x4de574){const _0x1a44ed=a31_0x1a44();return a31_0x484c=function(_0x484c75,_0x3e4c19){_0x484c75=_0x484c75-0x1c1;let _0x227791=_0x1a44ed[_0x484c75];return _0x227791;},a31_0x484c(_0x30900b,_0x4de574);}function a31_0x1a44(){const _0x95122d=['inherit','nightwatch.json','gwFwB','nightwatch.conf.js','child\x20process\x20exited\x20with\x20code\x20','baGXg','--config','../utils/constants','findIndex','SkghD','../../helpers/logger','CTqkx','slice','port','writeFileSync','start_process','TtMPr','Getting\x20your\x20nightwatch\x20configs\x20from\x20','close','exports','desiredCapabilities','56135400lJvoIm','join','877968ndAeWG','1440mgMmEp','push','3bSJpgM','cwd','hvjwu','modifyBrowserStackCaps','child_process','bTdZk','../../helpers/BrowserStackSetup','nightwatch.cmd','host','debug','splice','5460556NMHrpA','EoTxk','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Deleting\x20','3753995MXFSbj','stringify','env','eHjQQ','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','1690832NwfLHZ','unlinkSync','nightwatch','split','forEach','selenium','33290vNAZhT','info','tKMvX','test_settings','platform','webdriver','now','trim','../../helpers/helper','config','hub.browserstack.com','35392kkbhqz','puXlg','getPlatformName','mergeDeep','JjHcd','existsSync','winstonLogger','bwzae','1350MaaFxD','qHJfh'];a31_0x1a44=function(){return _0x95122d;};return a31_0x1a44();}
@@ -1 +1 @@
1
- const a30_0x35c492=a30_0x4025;function a30_0x4025(_0x3212ed,_0x1c7496){const _0xd7494c=a30_0xd749();return a30_0x4025=function(_0x40250a,_0x3dc246){_0x40250a=_0x40250a-0x140;let _0x2350cb=_0xd7494c[_0x40250a];return _0x2350cb;},a30_0x4025(_0x3212ed,_0x1c7496);}(function(_0x17016f,_0x96ce3){const _0xd57f3c=a30_0x4025,_0x44ef76=_0x17016f();while(!![]){try{const _0x4d3ff1=-parseInt(_0xd57f3c(0x14a))/0x1*(parseInt(_0xd57f3c(0x145))/0x2)+parseInt(_0xd57f3c(0x1a4))/0x3*(-parseInt(_0xd57f3c(0x189))/0x4)+-parseInt(_0xd57f3c(0x173))/0x5+parseInt(_0xd57f3c(0x17b))/0x6*(parseInt(_0xd57f3c(0x150))/0x7)+-parseInt(_0xd57f3c(0x142))/0x8*(-parseInt(_0xd57f3c(0x182))/0x9)+parseInt(_0xd57f3c(0x15e))/0xa+-parseInt(_0xd57f3c(0x144))/0xb;if(_0x4d3ff1===_0x96ce3)break;else _0x44ef76['push'](_0x44ef76['shift']());}catch(_0x397ccd){_0x44ef76['push'](_0x44ef76['shift']());}}}(a30_0xd749,0x97d2c));function a30_0xd749(){const _0x66c7ed=['accessibilityOptions.wcagVersion','bstackSdkArgs','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','qiqAu','includeIssueType','eEVLX','18XbMdgT','playwright-chromium','iGPqo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','dOTiv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','UdMjp','86517yJnoqf','vkTJd','constructor','getAccessibilityResultsSummary','Lmrgf','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','accessibilityOptions.includeIssueType.needsReview','8tllKgm','RzZDq','parse','browserName','currentTest','util','name','debug','stringify','method','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','use','browserStackEvaluate','browser_version','browser','warn','deviceName','Whsfb','qZlsU','PlVxV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','winstonLogger','lazQR','replace','accessibilityOptions.scannerProcessingTimeout','browserstack.accessibility','sGOwS','323151wUDwPt','browserStackExecuteDriver','FGlOY','getAccessibilityResults','352RVhyeC','testInfo','3408295EpwynP','152JYvSDQ','scannerVersion','GFKKO','accessibilityOptions','accessibilityOptions.authToken','7823IwYKmR','No\x20accessibility\x20results\x20were\x20found.','RdnzV','wsEndpoint','../../helpers/accessibility-automation/scripts','latest','2231159PMFMQW','evaluate','Playwright','performScan','accessibilityPlatform','No\x20summaryResults\x20found.','GfSAV','chrome','MaRIS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','processAccessibilityCaps','lzMdu','eLase','9142680lOKJuf','bODUe','cQoAJ','wcagVersion','MVien','nZEex','accessibilityOptions.scannerVersion','platformValidation','(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','dgbPD','jNoXn','env','../../helpers/logger','XUDIf','scannerProcessingTimeout','abkdv','XVRCf','format','FCtEw','gmfrt','ufaPA','2758780PlSpBi','ysoqA'];a30_0xd749=function(){return _0x66c7ed;};return a30_0xd749();}const util=require(a30_0x35c492(0x18e)),logger=require(a30_0x35c492(0x16a))[a30_0x35c492(0x19e)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('../../helpers/helper'),scripts=require(a30_0x35c492(0x14e));exports[a30_0x35c492(0x195)]=async(_0x485fd9,_0x4be745,_0x372018={})=>{const _0x26eaba=a30_0x35c492,_0x5bdbe8={};_0x5bdbe8[_0x26eaba(0x19f)]=_0x26eaba(0x176);const _0x366947=_0x5bdbe8;return await _0x485fd9[_0x26eaba(0x151)]('(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'+_0x4be745['replace'](/arguments/g,_0x366947[_0x26eaba(0x19f)])+_0x26eaba(0x177)+JSON[_0x26eaba(0x191)](_0x372018)+')');},exports[a30_0x35c492(0x1a5)]=async(_0x1e80ad,_0x34cdcc,_0x2cde85={})=>{const _0x474a15=a30_0x35c492,_0x5601ca={};_0x5601ca[_0x474a15(0x171)]=function(_0x302582,_0xc61a63){return _0x302582===_0xc61a63;},_0x5601ca[_0x474a15(0x16e)]='WebDriver',_0x5601ca[_0x474a15(0x167)]=_0x474a15(0x152),_0x5601ca[_0x474a15(0x168)]=_0x474a15(0x176);const _0x5ae616=_0x5601ca;if(_0x5ae616['gmfrt'](_0x1e80ad[_0x474a15(0x184)][_0x474a15(0x18f)],_0x5ae616[_0x474a15(0x16e)]))return await _0x1e80ad['executeAsyncScript'](_0x34cdcc,_0x2cde85);else{if(_0x5ae616[_0x474a15(0x171)](_0x1e80ad[_0x474a15(0x184)]['name'],_0x5ae616['dgbPD']))return await _0x1e80ad['executeScript'](_0x474a15(0x166)+_0x34cdcc[_0x474a15(0x1a0)](/arguments/g,_0x5ae616[_0x474a15(0x168)])+_0x474a15(0x15a)+JSON[_0x474a15(0x191)](_0x2cde85)+')');}},exports['setAccessibilityCapabilities']=async _0x5e291c=>{const _0x26b278=a30_0x35c492,_0x3e1d5f={};_0x3e1d5f[_0x26b278(0x170)]=_0x26b278(0x175),_0x3e1d5f[_0x26b278(0x1a3)]=_0x26b278(0x1a1),_0x3e1d5f[_0x26b278(0x15d)]='accessibilityOptions.includeIssueType.bestPractice',_0x3e1d5f['qiqAu']=_0x26b278(0x188),_0x3e1d5f[_0x26b278(0x186)]=_0x26b278(0x149),_0x3e1d5f[_0x26b278(0x19b)]=_0x26b278(0x164);const _0x1318a1=_0x3e1d5f;_0x5e291c['accessibilityOptions']&&(_0x5e291c[_0x26b278(0x148)][_0x26b278(0x161)]&&(_0x5e291c[_0x1318a1[_0x26b278(0x170)]]=_0x5e291c[_0x26b278(0x148)][_0x26b278(0x161)]),_0x5e291c[_0x26b278(0x148)][_0x26b278(0x16c)]&&(_0x5e291c[_0x1318a1[_0x26b278(0x1a3)]]=_0x5e291c['accessibilityOptions'][_0x26b278(0x16c)]),_0x5e291c[_0x26b278(0x148)]['includeIssueType']&&(_0x5e291c[_0x1318a1[_0x26b278(0x15d)]]=_0x5e291c[_0x26b278(0x148)][_0x26b278(0x179)]['bestPractice'],_0x5e291c[_0x1318a1[_0x26b278(0x178)]]=_0x5e291c[_0x26b278(0x148)]['includeIssueType']['needsReview']));const _0x49225c=JSON[_0x26b278(0x18b)](process[_0x26b278(0x169)][_0x26b278(0x193)])[_0x26b278(0x146)];_0x5e291c[_0x1318a1[_0x26b278(0x186)]]=process[_0x26b278(0x169)]['BS_A11Y_JWT'],_0x5e291c[_0x1318a1[_0x26b278(0x19b)]]=_0x49225c,delete _0x5e291c[_0x26b278(0x148)];},exports[a30_0x35c492(0x141)]=async _0x4cabc7=>{const _0x3f948a=a30_0x35c492,_0xcd07d4={};_0xcd07d4[_0x3f948a(0x174)]=_0x3f948a(0x14b),_0xcd07d4[_0x3f948a(0x18a)]=_0x3f948a(0x19d);const _0x4a0ab2=_0xcd07d4;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4cabc7,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4cabc7,scripts.getResults);return res;}catch{return logger['error'](_0x4a0ab2[_0x3f948a(0x174)]),[];}else return logger['warn'](_0x4a0ab2[_0x3f948a(0x18a)]),[];},exports[a30_0x35c492(0x153)]=async(_0x5b6d4b,_0x54819e='')=>{const _0x1c8277=a30_0x35c492;if(global[_0x1c8277(0x154)]){const _0x5dd8ab={};return _0x5dd8ab[_0x1c8277(0x192)]=_0x54819e,await exports[_0x1c8277(0x195)](_0x5b6d4b,scripts['performScan'],_0x5dd8ab);}},exports[a30_0x35c492(0x185)]=async _0x12805e=>{const _0x11b93f=a30_0x35c492,_0x1e70fe={};_0x1e70fe['cQoAJ']=_0x11b93f(0x155),_0x1e70fe[_0x11b93f(0x19c)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x16a7e7=_0x1e70fe;if(global[_0x11b93f(0x154)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x12805e,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x12805e,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x11b93f(0x190)](_0x16a7e7[_0x11b93f(0x160)]),{};}else return logger[_0x11b93f(0x198)](_0x16a7e7[_0x11b93f(0x19c)]),{};},exports[a30_0x35c492(0x165)]=async _0x471a22=>{const _0x419172=a30_0x35c492,_0x45086e={'dOTiv':function(_0x560ec7,_0x285d7a){return _0x560ec7!==_0x285d7a;},'UdMjp':_0x419172(0x159),'yeMIk':function(_0x5853f0,_0x42a657){return _0x5853f0===_0x42a657;},'aScBP':_0x419172(0x157),'ufaPA':function(_0x246957,_0x51a6ad){return _0x246957===_0x51a6ad;},'iGPqo':'playwright-chromium','abkdv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','GfSAV':function(_0x40fd58,_0x2473fc){return _0x40fd58(_0x2473fc);},'MaRIS':function(_0x4e2493,_0x44380d){return _0x4e2493===_0x44380d;},'bODUe':'latest','nZEex':function(_0x394abb,_0x2c6eca){return _0x394abb>_0x2c6eca;},'Whsfb':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x45086e[_0x419172(0x17f)](_0x471a22[_0x419172(0x199)],''))return logger[_0x419172(0x198)](_0x45086e[_0x419172(0x181)]),![];const _0x2e8518=_0x471a22[_0x419172(0x197)];if(!(_0x45086e['yeMIk'](_0x2e8518,_0x45086e['aScBP'])||_0x45086e[_0x419172(0x172)](_0x2e8518,_0x45086e[_0x419172(0x17d)])))return logger[_0x419172(0x198)](_0x45086e[_0x419172(0x16d)]),![];const _0x1910ae=_0x45086e[_0x419172(0x156)](parseInt,_0x471a22[_0x419172(0x196)]);if(!(_0x45086e[_0x419172(0x158)](_0x1910ae,_0x45086e[_0x419172(0x15f)])||_0x45086e[_0x419172(0x163)](_0x1910ae,0x5e)))return logger[_0x419172(0x198)](_0x45086e[_0x419172(0x19a)]),![];}catch(_0x225698){logger['debug'](_0x419172(0x187)+util[_0x419172(0x16f)](_0x225698));}return!![];},exports[a30_0x35c492(0x15b)]=(_0x2a3504,_0x3cbb14,_0x5c6c19)=>{const _0x55fff7=a30_0x35c492,_0x140c0c={'XUDIf':function(_0x2a161f){return _0x2a161f();},'RdnzV':_0x55fff7(0x1a2),'MVien':function(_0x4b2187,_0x593714){return _0x4b2187===_0x593714;},'vkTJd':_0x55fff7(0x157),'SvYKT':function(_0xca35df,_0x298487){return _0xca35df===_0x298487;},'FGlOY':_0x55fff7(0x17c),'CBXLa':_0x55fff7(0x180),'CPHON':_0x55fff7(0x14f),'eEVLX':function(_0x20b959,_0x3637db){return _0x20b959>_0x3637db;},'GFKKO':_0x55fff7(0x17e),'FtqmA':function(_0x44f111,_0x41bf18){return _0x44f111(_0x41bf18);},'KhTjN':_0x55fff7(0x159),'lzMdu':function(_0x45a411,_0x403faf){return _0x45a411+_0x403faf;}};try{if(_0x140c0c[_0x55fff7(0x16b)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x2a3504[_0x140c0c[_0x55fff7(0x14c)]]&&(global[_0x55fff7(0x154)]=![]);!(_0x140c0c[_0x55fff7(0x162)](_0x2a3504['browserName'],_0x140c0c[_0x55fff7(0x183)])||_0x140c0c['SvYKT'](_0x2a3504[_0x55fff7(0x18c)],_0x140c0c[_0x55fff7(0x140)]))&&(logger[_0x55fff7(0x198)](_0x140c0c['CBXLa']),global[_0x55fff7(0x154)]=![]);!(_0x140c0c[_0x55fff7(0x162)](_0x2a3504[_0x55fff7(0x196)],_0x140c0c['CPHON'])||_0x140c0c[_0x55fff7(0x17a)](_0x2a3504[_0x55fff7(0x196)],0x5e))&&(logger[_0x55fff7(0x198)](_0x140c0c[_0x55fff7(0x147)]),global['accessibilityPlatform']=![]);!_0x140c0c['FtqmA'](isUndefined,_0x2a3504[_0x55fff7(0x199)])&&(logger['warn'](_0x140c0c['KhTjN']),global[_0x55fff7(0x154)]=![]);if(!global['accessibilityPlatform']){_0x2a3504[_0x140c0c[_0x55fff7(0x14c)]]=![];const _0x34f676=_0x140c0c[_0x55fff7(0x15c)](_0x3cbb14,_0x140c0c['FtqmA'](encodeURIComponent,JSON[_0x55fff7(0x191)](_0x2a3504)));_0x5c6c19&&(_0x5c6c19[_0x55fff7(0x18d)][_0x55fff7(0x143)]['project'][_0x55fff7(0x194)]['connectOptions'][_0x55fff7(0x14d)]=_0x34f676);}}}catch(_0x4c48b2){logger[_0x55fff7(0x190)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x4c48b2));}};
1
+ function a32_0x3e98(){const _0x1ad0ed=['WebDriver','IohnX','env','browserstack.accessibility','No\x20summaryResults\x20found.','9208485xjFvCe','zNMXN','../../helpers/accessibility-automation/helper','iRszg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions.wcagVersion','XhJVc','11763598YZdDqr','latest','aPxGW','method','pITOY','176684gbeMvT','xiJTs','accessibilityOptions.includeIssueType.bestPractice','constructor','GQFAU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','pjhrk','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','getAccessibilityResults','220596eJZYFy','project','browser','11940896CSJASY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','vkINE','lIhor','accessibilityOptions.includeIssueType.needsReview','oSAEh','iaYzd','../../helpers/logger','1814384gKbjrI','connectOptions','JTKvJ','TGifv','tImqB','name','lVPjV','YhveM','chrome','../../helpers/accessibility-automation/scripts','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','stringify','scannerVersion','xfqgf','AYPNl','winstonLogger','executeAsyncScript','format','deviceName','scannerProcessingTimeout','IEmxW','wsEndpoint','testInfo','XeIcV','../../helpers/helper','bfqhl','110NpntZo','playwright-chromium','use','performScan','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','FQaex','debug','POlqa','platformValidation','needsReview','accessibilityPlatform','aniEz','XaADm','pifer','bestPractice','ElPpN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserStackExecuteDriver','(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','browser_version','accessibilityOptions.scannerProcessingTimeout','ztIBw','replace','vbOMl','browserStackEvaluate','util','accessibilityOptions','bstackSdkArgs','warn','includeIssueType','rSEji','YfIIZ','21uiuKbe','HDHhe','KBSkX','477328Lejptb','sNzYW','getAccessibilityResultsSummary','browserName','wcagVersion','qkaaO','Zgomi'];a32_0x3e98=function(){return _0x1ad0ed;};return a32_0x3e98();}const a32_0x4f1400=a32_0x4d38;(function(_0x7b238,_0x37a4fa){const _0x47300b=a32_0x4d38,_0x247cef=_0x7b238();while(!![]){try{const _0x373c49=parseInt(_0x47300b(0x1e7))/0x1+-parseInt(_0x47300b(0x213))/0x2+-parseInt(_0x47300b(0x1e4))/0x3*(parseInt(_0x47300b(0x1ff))/0x4)+-parseInt(_0x47300b(0x22d))/0x5*(-parseInt(_0x47300b(0x208))/0x6)+-parseInt(_0x47300b(0x1fa))/0x7+parseInt(_0x47300b(0x20b))/0x8+parseInt(_0x47300b(0x1f3))/0x9;if(_0x373c49===_0x37a4fa)break;else _0x247cef['push'](_0x247cef['shift']());}catch(_0x4f1c0c){_0x247cef['push'](_0x247cef['shift']());}}}(a32_0x3e98,0xdcf5e));const util=require(a32_0x4f1400(0x1dd)),logger=require(a32_0x4f1400(0x212))[a32_0x4f1400(0x222)],{isAccessibilityAutomationSession}=require(a32_0x4f1400(0x1f5)),{isUndefined}=require(a32_0x4f1400(0x22b)),scripts=require(a32_0x4f1400(0x21c));function a32_0x4d38(_0x3a7b00,_0x3bc3b8){const _0x3e980=a32_0x3e98();return a32_0x4d38=function(_0x4d3857,_0x2a3a76){_0x4d3857=_0x4d3857-0x1db;let _0x5c7728=_0x3e980[_0x4d3857];return _0x5c7728;},a32_0x4d38(_0x3a7b00,_0x3bc3b8);}exports[a32_0x4f1400(0x1dc)]=async(_0x3a12e4,_0x219691,_0x47a553={})=>{const _0x544f5d=a32_0x4f1400,_0x33e045={};_0x33e045['JkLho']=_0x544f5d(0x1df);const _0x2c50a5=_0x33e045;return await _0x3a12e4['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x219691[_0x544f5d(0x244)](/arguments/g,_0x2c50a5['JkLho'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x47a553)+')');},exports[a32_0x4f1400(0x23f)]=async(_0x15617d,_0x2dbc11,_0x6b8acf={})=>{const _0x81e7d0=a32_0x4f1400,_0x914ef={};_0x914ef[_0x81e7d0(0x211)]=function(_0x55dc6d,_0x282031){return _0x55dc6d===_0x282031;},_0x914ef[_0x81e7d0(0x1ec)]=_0x81e7d0(0x1ee),_0x914ef['AYPNl']=function(_0x1ee667,_0x5d558a){return _0x1ee667===_0x5d558a;},_0x914ef[_0x81e7d0(0x200)]='Playwright',_0x914ef[_0x81e7d0(0x210)]=_0x81e7d0(0x1df);const _0x1275de=_0x914ef;if(_0x1275de[_0x81e7d0(0x211)](_0x15617d[_0x81e7d0(0x202)][_0x81e7d0(0x218)],_0x1275de['qkaaO']))return await _0x15617d[_0x81e7d0(0x223)](_0x2dbc11,_0x6b8acf);else{if(_0x1275de[_0x81e7d0(0x221)](_0x15617d[_0x81e7d0(0x202)][_0x81e7d0(0x218)],_0x1275de[_0x81e7d0(0x200)]))return await _0x15617d['executeScript'](_0x81e7d0(0x240)+_0x2dbc11[_0x81e7d0(0x244)](/arguments/g,_0x1275de[_0x81e7d0(0x210)])+_0x81e7d0(0x231)+JSON[_0x81e7d0(0x21e)](_0x6b8acf)+')');}},exports['setAccessibilityCapabilities']=async _0x582800=>{const _0x439475=a32_0x4f1400,_0x1ecc9b={};_0x1ecc9b[_0x439475(0x1ef)]=_0x439475(0x1f8),_0x1ecc9b[_0x439475(0x203)]=_0x439475(0x242),_0x1ecc9b['ElPpN']=_0x439475(0x201),_0x1ecc9b['XaADm']=_0x439475(0x20f),_0x1ecc9b[_0x439475(0x205)]='accessibilityOptions.authToken',_0x1ecc9b[_0x439475(0x220)]='accessibilityOptions.scannerVersion';const _0x41d576=_0x1ecc9b;_0x582800['accessibilityOptions']&&(_0x582800[_0x439475(0x1de)][_0x439475(0x1eb)]&&(_0x582800[_0x41d576['IohnX']]=_0x582800['accessibilityOptions'][_0x439475(0x1eb)]),_0x582800[_0x439475(0x1de)][_0x439475(0x226)]&&(_0x582800[_0x41d576[_0x439475(0x203)]]=_0x582800['accessibilityOptions']['scannerProcessingTimeout']),_0x582800['accessibilityOptions'][_0x439475(0x1e1)]&&(_0x582800[_0x41d576[_0x439475(0x23d)]]=_0x582800[_0x439475(0x1de)][_0x439475(0x1e1)][_0x439475(0x23c)],_0x582800[_0x41d576[_0x439475(0x23a)]]=_0x582800[_0x439475(0x1de)][_0x439475(0x1e1)][_0x439475(0x237)]));const _0xee807c=JSON['parse'](process[_0x439475(0x1f0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x439475(0x21f)];_0x582800[_0x41d576[_0x439475(0x205)]]=process[_0x439475(0x1f0)]['BS_A11Y_JWT'],_0x582800[_0x41d576[_0x439475(0x220)]]=_0xee807c,delete _0x582800[_0x439475(0x1de)];},exports[a32_0x4f1400(0x207)]=async _0x135206=>{const _0x22bf16=a32_0x4f1400,_0x11565d={};_0x11565d['KBSkX']='No\x20accessibility\x20results\x20were\x20found.',_0x11565d[_0x22bf16(0x1fe)]=_0x22bf16(0x20c);const _0x404694=_0x11565d;if(global[_0x22bf16(0x238)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x135206,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x135206,scripts.getResults);return res;}catch{return logger['error'](_0x404694[_0x22bf16(0x1e6)]),[];}else return logger['warn'](_0x404694['pITOY']),[];},exports[a32_0x4f1400(0x230)]=async(_0xb23771,_0x1fb911='')=>{const _0x14d261=a32_0x4f1400;if(global[_0x14d261(0x238)]){const _0x35e2ef={};return _0x35e2ef[_0x14d261(0x1fd)]=_0x1fb911,await exports[_0x14d261(0x1dc)](_0xb23771,scripts['performScan'],_0x35e2ef);}},exports[a32_0x4f1400(0x1e9)]=async _0x503979=>{const _0x5333e1=a32_0x4f1400,_0x39a103={};_0x39a103[_0x5333e1(0x23b)]=_0x5333e1(0x1f2),_0x39a103[_0x5333e1(0x1f9)]=_0x5333e1(0x232);const _0x58b9e4=_0x39a103;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x503979,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x503979,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5333e1(0x234)](_0x58b9e4[_0x5333e1(0x23b)]),{};}else return logger['warn'](_0x58b9e4['XhJVc']),{};},exports[a32_0x4f1400(0x236)]=async _0xfc7d8b=>{const _0xaba715=a32_0x4f1400,_0x232e4c={'bfqhl':function(_0x1a0547,_0x4ac5f9){return _0x1a0547!==_0x4ac5f9;},'zNMXN':_0xaba715(0x23e),'JTKvJ':function(_0x2d4996,_0x3c2c6e){return _0x2d4996===_0x3c2c6e;},'YhveM':_0xaba715(0x21b),'YzztZ':function(_0x14e1fe,_0x4e1f31){return _0x14e1fe===_0x4e1f31;},'TGifv':_0xaba715(0x22e),'KTwxR':_0xaba715(0x204),'vkINE':function(_0x49c83b,_0x4e7dd7){return _0x49c83b(_0x4e7dd7);},'lVPjV':function(_0x212022,_0x25fa5f){return _0x212022===_0x25fa5f;},'lIhor':_0xaba715(0x1fb),'XeIcV':function(_0x25dd05,_0x2e8b49){return _0x25dd05>_0x2e8b49;},'IEmxW':_0xaba715(0x1f7)};try{if(!_0x232e4c[_0xaba715(0x22c)](_0xfc7d8b['deviceName'],''))return logger[_0xaba715(0x1e0)](_0x232e4c[_0xaba715(0x1f4)]),![];const _0x4a6074=_0xfc7d8b[_0xaba715(0x20a)];if(!(_0x232e4c[_0xaba715(0x215)](_0x4a6074,_0x232e4c[_0xaba715(0x21a)])||_0x232e4c['YzztZ'](_0x4a6074,_0x232e4c[_0xaba715(0x216)])))return logger[_0xaba715(0x1e0)](_0x232e4c['KTwxR']),![];const _0x122e60=_0x232e4c[_0xaba715(0x20d)](parseInt,_0xfc7d8b[_0xaba715(0x241)]);if(!(_0x232e4c[_0xaba715(0x219)](_0x122e60,_0x232e4c[_0xaba715(0x20e)])||_0x232e4c[_0xaba715(0x22a)](_0x122e60,0x5e)))return logger[_0xaba715(0x1e0)](_0x232e4c[_0xaba715(0x227)]),![];}catch(_0x251bd2){logger[_0xaba715(0x234)](_0xaba715(0x21d)+util[_0xaba715(0x224)](_0x251bd2));}return!![];},exports['processAccessibilityCaps']=(_0x200418,_0x29b747,_0x51cf7e)=>{const _0x43a601=a32_0x4f1400,_0x5bfec5={'vbOMl':function(_0x287d71){return _0x287d71();},'HDHhe':_0x43a601(0x1f1),'sNzYW':function(_0x253cac,_0x4d2115){return _0x253cac===_0x4d2115;},'YfIIZ':'chrome','rSEji':_0x43a601(0x22e),'FQaex':_0x43a601(0x204),'iRszg':function(_0x3355db,_0x3dec9b){return _0x3355db===_0x3dec9b;},'tImqB':'latest','aPxGW':function(_0x58ae2d,_0x2e4d32){return _0x58ae2d>_0x2e4d32;},'Zgomi':_0x43a601(0x1f7),'aniEz':function(_0x44575f,_0x6bbc9b){return _0x44575f(_0x6bbc9b);},'POlqa':_0x43a601(0x23e),'CECGE':function(_0x20c76c,_0x22a52e){return _0x20c76c+_0x22a52e;},'ztIBw':function(_0x3f61d2,_0xdff7e1){return _0x3f61d2(_0xdff7e1);}};try{if(_0x5bfec5[_0x43a601(0x1db)](isAccessibilityAutomationSession)){global[_0x43a601(0x238)]=!![];!_0x200418[_0x5bfec5[_0x43a601(0x1e5)]]&&(global[_0x43a601(0x238)]=![]);!(_0x5bfec5[_0x43a601(0x1e8)](_0x200418[_0x43a601(0x1ea)],_0x5bfec5[_0x43a601(0x1e3)])||_0x5bfec5['sNzYW'](_0x200418[_0x43a601(0x1ea)],_0x5bfec5[_0x43a601(0x1e2)]))&&(logger[_0x43a601(0x1e0)](_0x5bfec5[_0x43a601(0x233)]),global[_0x43a601(0x238)]=![]);!(_0x5bfec5[_0x43a601(0x1f6)](_0x200418[_0x43a601(0x241)],_0x5bfec5[_0x43a601(0x217)])||_0x5bfec5[_0x43a601(0x1fc)](_0x200418[_0x43a601(0x241)],0x5e))&&(logger[_0x43a601(0x1e0)](_0x5bfec5[_0x43a601(0x1ed)]),global[_0x43a601(0x238)]=![]);!_0x5bfec5[_0x43a601(0x239)](isUndefined,_0x200418[_0x43a601(0x225)])&&(logger['warn'](_0x5bfec5[_0x43a601(0x235)]),global['accessibilityPlatform']=![]);if(!global[_0x43a601(0x238)]){_0x200418[_0x5bfec5['HDHhe']]=![];const _0x3ca829=_0x5bfec5['CECGE'](_0x29b747,_0x5bfec5[_0x43a601(0x243)](encodeURIComponent,JSON[_0x43a601(0x21e)](_0x200418)));_0x51cf7e&&(_0x51cf7e['currentTest'][_0x43a601(0x229)][_0x43a601(0x209)][_0x43a601(0x22f)][_0x43a601(0x214)][_0x43a601(0x228)]=_0x3ca829);}}}catch(_0x4e662e){logger['debug'](_0x43a601(0x206)+util[_0x43a601(0x224)](_0x4e662e));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x2303f6=a31_0x1f3b;(function(_0x336843,_0x550f47){const _0x506832=a31_0x1f3b,_0x556523=_0x336843();while(!![]){try{const _0x36730c=parseInt(_0x506832(0x129))/0x1*(-parseInt(_0x506832(0x133))/0x2)+parseInt(_0x506832(0x159))/0x3*(-parseInt(_0x506832(0xee))/0x4)+parseInt(_0x506832(0xfb))/0x5+-parseInt(_0x506832(0x174))/0x6+parseInt(_0x506832(0x163))/0x7+-parseInt(_0x506832(0xf5))/0x8*(parseInt(_0x506832(0x16a))/0x9)+parseInt(_0x506832(0x126))/0xa*(parseInt(_0x506832(0x162))/0xb);if(_0x36730c===_0x550f47)break;else _0x556523['push'](_0x556523['shift']());}catch(_0x2d978e){_0x556523['push'](_0x556523['shift']());}}}(a31_0x58d2,0x5338f));function a31_0x1f3b(_0x5d33f9,_0x2a6e96){const _0x58d26d=a31_0x58d2();return a31_0x1f3b=function(_0x1f3b5e,_0xc747d1){_0x1f3b5e=_0x1f3b5e-0xed;let _0x2175a9=_0x58d26d[_0x1f3b5e];return _0x2175a9;},a31_0x1f3b(_0x5d33f9,_0x2a6e96);}const fs=require('fs'),path=require(a31_0x2303f6(0x19f)),os=require('os'),{spawn}=require('child_process'),{inspect,format}=require(a31_0x2303f6(0x15d)),logger=require(a31_0x2303f6(0x1b2))[a31_0x2303f6(0x178)],{default:BrowserStackSetup}=require(a31_0x2303f6(0x148)),helper=require(a31_0x2303f6(0x16e)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a31_0x2303f6(0x15b)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a31_0x2303f6(0x153)),{CrashReporter,o11yErrorHandler}=require(a31_0x2303f6(0x138)),{getFrameworkVersion}=require(a31_0x2303f6(0x13b)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a31_0x2303f6(0x154)),{setAccessibilityCapabilities}=require(a31_0x2303f6(0x146)),SessionHandler=require(a31_0x2303f6(0x157));async function requireOrImportDefaultObject(_0x80c4ed){const _0x44abf2=a31_0x2303f6,_0x110815={'HMnPz':function(_0x1a04b9){return _0x1a04b9();},'VUdLw':function(_0x48a880,_0x2afdf2){return _0x48a880(_0x2afdf2);},'PKszw':function(_0x1d0df4,_0x448494){return _0x1d0df4===_0x448494;},'dEiXq':'object','MWEAT':function(_0x4c4f95,_0x4ac466){return _0x4c4f95 in _0x4ac466;},'ILlVS':_0x44abf2(0x17d)},{requireOrImport:_0x17d176}=helper[_0x44abf2(0x1b0)][_0x44abf2(0x109)](null,_0x110815['HMnPz'](getTransformPath));let _0xee488c=await _0x110815['VUdLw'](_0x17d176,_0x80c4ed);return _0xee488c&&_0x110815[_0x44abf2(0x125)](typeof _0xee488c,_0x110815['dEiXq'])&&_0x110815[_0x44abf2(0x190)](_0x110815[_0x44abf2(0x15e)],_0xee488c)&&(_0xee488c=_0xee488c[_0x110815['ILlVS']]),_0xee488c;}const getUserPlaywrightConfig=async(_0x169e06,_0x561e20)=>{const _0x592848=a31_0x2303f6,_0x36a894={'XfHoX':function(_0x5a3c32){return _0x5a3c32();},'UAgsj':function(_0x179c93,_0x4d247b){return _0x179c93(_0x4d247b);},'DWxuY':function(_0x4f5464,_0x2fab57){return _0x4f5464(_0x2fab57);},'OYFMz':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','AqDDK':_0x592848(0x101),'uxzjW':_0x592848(0x170)},_0x53ad4e=!helper[_0x592848(0x195)](_0x169e06['config']),_0x27a4e9=_0x53ad4e?path[_0x592848(0x113)](process[_0x592848(0x171)](),_0x169e06[_0x592848(0xf0)]):process['cwd'](),{resolveConfigFile:_0x50cb20}=helper[_0x592848(0x1b0)][_0x592848(0x109)](null,_0x36a894[_0x592848(0x150)](getConfigLoaderPath)),_0x30a92c=_0x36a894[_0x592848(0x130)](_0x50cb20,_0x27a4e9);let _0x14a5af={};if(_0x30a92c){logger[_0x592848(0x1b3)](_0x592848(0x11c)+_0x30a92c);try{_0x14a5af=await _0x36a894[_0x592848(0x11a)](requireOrImportDefaultObject,_0x30a92c);}catch(_0x3a0ed3){return logger[_0x592848(0x176)](_0x36a894['OYFMz'],_0x3a0ed3),null;}}else logger[_0x592848(0x1b3)](_0x36a894[_0x592848(0x13f)]);if(_0x53ad4e){const _0x2ec50e=_0x561e20[_0x592848(0x197)](_0x27c766=>_0x27c766===_0x592848(0x165)||_0x27c766==='-c'||_0x27c766[_0x592848(0x15a)]('--config='));_0x561e20[_0x592848(0x155)](_0x2ec50e,_0x561e20[_0x2ec50e][_0x592848(0x15a)](_0x36a894[_0x592848(0x114)])?0x1:0x2);}const _0x1f19aa={};return _0x1f19aa[_0x592848(0x19f)]=_0x30a92c,_0x1f19aa[_0x592848(0xf0)]=_0x14a5af,_0x1f19aa;},setGlobalSetup=(_0x6c3918,_0x3b0f82)=>{const _0x81afc8=a31_0x2303f6,_0x2371cd={'rSFaF':'globalSetup','VfaYc':_0x81afc8(0x135),'PgjBw':function(_0xa2ca2d,_0x32be6f){return _0xa2ca2d+_0x32be6f;},'KOPEv':_0x81afc8(0x12b),'pzlxS':function(_0x1a0db9,_0x22b8cd){return _0x1a0db9(_0x22b8cd);},'kfdXb':_0x81afc8(0x117)};if(!_0x6c3918)return![];try{if(_0x6c3918['globalSetup']){let _0x1608d9;const _0x4ff91e=path[_0x81afc8(0x113)](_0x3b0f82,_0x6c3918[_0x2371cd[_0x81afc8(0x169)]]);if(fs[_0x81afc8(0x105)](_0x4ff91e))_0x1608d9=_0x4ff91e;else{const _0x525b54={};_0x525b54['paths']=[_0x3b0f82],_0x1608d9=require[_0x81afc8(0x113)](_0x6c3918[_0x2371cd[_0x81afc8(0x169)]],_0x525b54);}if(!_0x1608d9)throw new Error(_0x2371cd['VfaYc']);process[_0x81afc8(0x173)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']=_0x1608d9;}}catch(_0x3cb5dd){logger[_0x81afc8(0x176)](_0x2371cd['PgjBw'](_0x2371cd[_0x81afc8(0x11f)],_0x2371cd[_0x81afc8(0x1b5)](format,_0x3cb5dd)));}return _0x6c3918[_0x81afc8(0x1a2)]=require[_0x81afc8(0x113)](_0x2371cd[_0x81afc8(0x1af)]),!![];},addReporter=_0x464a29=>{const _0x4741a5=a31_0x2303f6,_0x65e413={};_0x65e413['PxUby']=_0x4741a5(0x11e),_0x65e413[_0x4741a5(0x1a8)]='reporter',_0x65e413['DRMhV']=function(_0x4d421c,_0x9b75bf){return _0x4d421c===_0x9b75bf;},_0x65e413['BeoEL']=_0x4741a5(0x102),_0x65e413[_0x4741a5(0x11d)]='object';const _0x32a1a3=_0x65e413,_0x2bf958=path[_0x4741a5(0x12c)](__dirname,_0x32a1a3[_0x4741a5(0x14c)]),_0x4ad5e2=[_0x2bf958];if(helper[_0x4741a5(0x195)](_0x464a29[_0x32a1a3[_0x4741a5(0x1a8)]]))_0x464a29[_0x32a1a3[_0x4741a5(0x1a8)]]=[_0x4ad5e2];else{if(_0x32a1a3[_0x4741a5(0xfa)](typeof _0x464a29[_0x32a1a3['SCefj']],_0x32a1a3[_0x4741a5(0x13d)]))_0x464a29[_0x32a1a3[_0x4741a5(0x1a8)]]=[[_0x464a29[_0x32a1a3[_0x4741a5(0x1a8)]]],_0x4ad5e2];else _0x32a1a3['DRMhV'](typeof _0x464a29[_0x32a1a3[_0x4741a5(0x1a8)]],_0x32a1a3[_0x4741a5(0x11d)])&&_0x464a29[_0x32a1a3[_0x4741a5(0x1a8)]][_0x4741a5(0x19b)](_0x4ad5e2);}},handleO11yRerun=_0x4b96fd=>{const _0x25eb40=a31_0x2303f6,_0x57d4f0={};_0x57d4f0[_0x25eb40(0x1a7)]=function(_0x28b053,_0x3d7d5b){return _0x28b053!==_0x3d7d5b;},_0x57d4f0['WDfsv']=_0x25eb40(0x168),_0x57d4f0['fYfBv']=_0x25eb40(0x18b);const _0x39ec3a=_0x57d4f0,_0x495243=helper[_0x25eb40(0xfe)](process[_0x25eb40(0x173)][_0x25eb40(0x144)]);if(_0x495243){const _0x123730=process[_0x25eb40(0x173)]['BROWSERSTACK_RERUN_TESTS'],_0x2dde69=[];if(_0x39ec3a[_0x25eb40(0x1a7)](_0x123730,_0x39ec3a[_0x25eb40(0x187)])&&!helper[_0x25eb40(0x195)](_0x123730)){_0x123730[_0x25eb40(0x189)](',')[_0x25eb40(0xed)](_0x3c2ba2=>{const _0x1a6235=_0x25eb40;_0x2dde69[_0x1a6235(0x19b)]('('+_0x3c2ba2[_0x1a6235(0x1ad)]()+')');});const _0x134f67='^'+_0x2dde69['join']('|')+'$';_0x4b96fd[_0x25eb40(0x19b)](_0x39ec3a[_0x25eb40(0x183)],_0x134f67);}}},spawnOriginalProcess=_0x4072c3=>{const _0x1d6bbf=a31_0x2303f6,_0x31840e={'uFbXf':function(_0x5677c0,_0x461b1e,_0x23a073,_0x9b49ab){return _0x5677c0(_0x461b1e,_0x23a073,_0x9b49ab);},'vdRlE':_0x1d6bbf(0x180),'ksoFv':_0x1d6bbf(0x196),'XuViJ':function(_0x33b5be,_0x410b62){return _0x33b5be===_0x410b62;},'MBPEI':_0x1d6bbf(0x186),'VRaoc':_0x1d6bbf(0x17b)};_0x31840e[_0x1d6bbf(0x191)](spawn,_0x31840e[_0x1d6bbf(0xf7)],[_0x31840e[_0x1d6bbf(0x1a1)],..._0x4072c3[_0x1d6bbf(0x106)](0x1)],{'shell':_0x31840e['XuViJ'](process[_0x1d6bbf(0x156)],_0x31840e[_0x1d6bbf(0x10b)]),'stdio':_0x31840e[_0x1d6bbf(0x13e)],'cwd':process['cwd']()});},isTestCommand=(_0x51e565,_0x3faf60)=>{const _0x3741cb=a31_0x2303f6,_0x2d2c67={};_0x2d2c67[_0x3741cb(0x18f)]=function(_0x3cfd4f,_0x4435a1){return _0x3cfd4f>_0x4435a1;},_0x2d2c67['nodCF']=function(_0x293829,_0x499bb9){return _0x293829===_0x499bb9;},_0x2d2c67[_0x3741cb(0x167)]=_0x3741cb(0x139);const _0x3a2c64=_0x2d2c67;if(_0x3a2c64[_0x3741cb(0x18f)](_0x3faf60['length'],0x1)&&_0x3a2c64['nodCF'](_0x3faf60[0x1],_0x3a2c64[_0x3741cb(0x167)]))return!![];return![];},initO11yCrashReporter=(_0xe83769,_0x28e282)=>{const _0x166a08=a31_0x2303f6,_0x234d16={'jvLLp':function(_0xa57cc5,_0x2d13ae){return _0xa57cc5(_0x2d13ae);}},_0x4e7879={'frameworkName':FRAMEWORKS[_0x166a08(0x1a5)],'frameworkVersion':_0x234d16[_0x166a08(0x1a0)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])};CrashReporter['initialize'](_0x4e7879,_0xe83769,_0x28e282);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x182b95){const _0x58d894=a31_0x2303f6,_0x5eb09b={};_0x5eb09b[_0x58d894(0x10d)]=function(_0x43e01b,_0x3e4350){return _0x43e01b>_0x3e4350;},_0x5eb09b[_0x58d894(0x15f)]=function(_0x1af93b,_0xb3b6c4){return _0x1af93b===_0xb3b6c4;};const _0x15a835=_0x5eb09b;if(!_0x182b95||_0x15a835[_0x58d894(0x10d)](_0x182b95[_0x58d894(0x108)],0x1)&&_0x15a835['sasyf'](_0x182b95[0x0],null))return process[_0x58d894(0x173)][_0x58d894(0x13a)]=![],![];return!![];});async function run(_0x372f4c,_0x438248){const _0x253ef2=a31_0x2303f6,_0x33a250={'aLNJA':_0x253ef2(0x16f),'YMJQM':_0x253ef2(0x184),'nyXjN':function(_0x21c62e,_0x3103ea){return _0x21c62e+_0x3103ea;},'bdOql':_0x253ef2(0x110),'utsZc':_0x253ef2(0x160),'KBocY':function(_0x432210,_0x158701){return _0x432210(_0x158701);},'PmFSS':function(_0x37e230){return _0x37e230();},'MAgHZ':function(_0x37623f,_0x3adf1b){return _0x37623f+_0x3adf1b;},'vEAeB':'Error\x20in\x20closing\x20playwright','ZkHMC':_0x253ef2(0xf8),'TPAgM':'false','QWSLR':_0x253ef2(0x161),'vCNid':function(_0x555706,_0x4f93e0){return _0x555706>=_0x4f93e0;},'bFwpl':function(_0x53a36d,_0x3606ce){return _0x53a36d+_0x3606ce;},'VrwUk':'Error\x20in\x20deleting\x20playwright\x20results','lhKqK':function(_0x2cce29,_0x3105da,_0x5633a2){return _0x2cce29(_0x3105da,_0x5633a2);},'QITrV':function(_0x181be1,_0x3f97c1){return _0x181be1(_0x3f97c1);},'YfsQP':_0x253ef2(0x17f),'exTrK':_0x253ef2(0x124),'EXOTa':function(_0x7a69c1,_0x2e2933){return _0x7a69c1!=_0x2e2933;},'uVNoh':function(_0x37e9d2,_0x5e76ab,_0x21c582){return _0x37e9d2(_0x5e76ab,_0x21c582);},'gCUbS':function(_0x28a46b,_0x131556,_0x1cfedb){return _0x28a46b(_0x131556,_0x1cfedb);},'mPgJY':function(_0x1b9436,_0x14dd99){return _0x1b9436(_0x14dd99);},'xxXKY':function(_0x12821b,_0x46aa4f){return _0x12821b(_0x46aa4f);},'wgQbA':_0x253ef2(0x143),'YGtfK':function(_0x172068,_0x478914){return _0x172068(_0x478914);},'wFIvl':_0x253ef2(0x142),'ptBGM':function(_0x2114be,_0x1d59df){return _0x2114be===_0x1d59df;},'JfUFI':_0x253ef2(0x18c),'kMitc':function(_0x2103bd,_0x577688){return _0x2103bd(_0x577688);},'pAhRp':function(_0x5a61c6,_0x129430,_0x4955b0){return _0x5a61c6(_0x129430,_0x4955b0);},'xqGFw':_0x253ef2(0x1ae),'aXkTc':function(_0x3485a4,_0xe58a8a){return _0x3485a4(_0xe58a8a);},'EoFjm':_0x253ef2(0x16b),'sNLWf':function(_0x40c9ee){return _0x40c9ee();},'uEpgP':_0x253ef2(0x188),'HpPBC':_0x253ef2(0x128),'UriZd':_0x253ef2(0xfd),'LQLIi':function(_0x23644c,_0x1f3c03){return _0x23644c+_0x1f3c03;},'CBHWj':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','clMeP':function(_0x5edd4b,_0x5cf6ee){return _0x5edd4b===_0x5cf6ee;},'yTZtL':_0x253ef2(0x12d),'DOtrQ':'playwright-browserstack-sdk.config.js','LdFOc':function(_0x1d2f22,_0x5048ed){return _0x1d2f22>_0x5048ed;},'xupxy':function(_0x4f0efb,_0x1073cc,_0xc6327c,_0x1bb9a4){return _0x4f0efb(_0x1073cc,_0xc6327c,_0x1bb9a4);},'khePj':_0x253ef2(0x180),'bNoiz':'playwright','exukw':'test','hlzCP':_0x253ef2(0x165),'HrSBd':_0x253ef2(0x186),'wshPP':_0x253ef2(0x17b),'WQAWR':'close'};!helper[_0x253ef2(0x1ab)](process[_0x253ef2(0x173)][_0x253ef2(0x1b9)])&&(process[_0x253ef2(0x173)][_0x253ef2(0x1b9)]=!![]);process[_0x253ef2(0x19c)][_0x253ef2(0x1b6)](_0x33a250[_0x253ef2(0x198)])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x33a250[_0x253ef2(0x10a)],_0x438248=_0x438248[_0x253ef2(0xf9)](_0x5a97b5=>_0x5a97b5!==_0x253ef2(0xf8)));const _0xc4b8d7=_0x438248[_0x253ef2(0x119)](_0x33a250[_0x253ef2(0x137)]);_0x33a250[_0x253ef2(0x158)](_0xc4b8d7,0x0)&&(process[_0x253ef2(0x173)][_0x253ef2(0x13a)]=_0x33a250[_0x253ef2(0x10a)],_0x438248=_0x438248[_0x253ef2(0xf9)](_0xa03a95=>_0xa03a95!=='--disable-test-observability'));try{const _0x1ce81c=path[_0x253ef2(0x12c)](helper[_0x253ef2(0x121)](),_0x33a250[_0x253ef2(0x141)],_0x33a250[_0x253ef2(0x14a)]);fs[_0x253ef2(0x105)](_0x1ce81c)&&fs[_0x253ef2(0x1a6)](_0x1ce81c);}catch(_0x83ebb){logger['debug'](_0x33a250[_0x253ef2(0xf6)](_0x33a250[_0x253ef2(0x1a4)],_0x83ebb));}if(!_0x33a250['lhKqK'](isTestCommand,_0x372f4c,_0x438248)){_0x33a250[_0x253ef2(0x122)](spawnOriginalProcess,_0x438248);return;}const _0x5df9a9=new BrowserStackSetup(_0x372f4c,FRAMEWORKS['PLAYWRIGHT']);if(!_0x5df9a9[_0x253ef2(0xf0)]){logger[_0x253ef2(0x176)](_0x33a250[_0x253ef2(0x112)]);return;}await _0x5df9a9['initialize']();!helper['isUndefined'](_0x5df9a9[_0x253ef2(0xf4)])&&_0x5df9a9[_0x253ef2(0xf4)]['has'](_0x33a250[_0x253ef2(0x1b1)])&&(process[_0x253ef2(0x173)][_0x253ef2(0x1b9)]=_0x5df9a9[_0x253ef2(0xf4)][_0x253ef2(0x1b7)](_0x33a250[_0x253ef2(0x1b1)])||!![]);_0x33a250['EXOTa'](_0x5df9a9[_0x253ef2(0xf0)][_0x253ef2(0x166)],null)&&!helper[_0x253ef2(0xfe)](process[_0x253ef2(0x173)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x253ef2(0x173)][_0x253ef2(0x13a)]=process[_0x253ef2(0x173)][_0x253ef2(0x13a)]||_0x5df9a9[_0x253ef2(0xf0)]['testObservability']);const _0x370d0f=!helper[_0x253ef2(0x1ab)](process[_0x253ef2(0x173)][_0x253ef2(0x13a)]);let _0x591e23=![];_0x5df9a9[_0x253ef2(0xf0)]['accessibility']&&(_0x591e23=!![],process[_0x253ef2(0x173)][_0x253ef2(0x12e)]=_0x5df9a9[_0x253ef2(0xf0)]['accessibility']);_0x5df9a9[_0x253ef2(0xf0)][_0x253ef2(0x181)]&&(process[_0x253ef2(0x173)][_0x253ef2(0x18a)]=JSON['stringify'](_0x5df9a9['config']['accessibilityOptions']));const _0x1f3c93=_0x438248[_0x253ef2(0x100)](),_0x3e74f0=await _0x33a250[_0x253ef2(0x123)](getUserPlaywrightConfig,_0x372f4c,_0x438248);if(helper[_0x253ef2(0x195)](_0x3e74f0)){_0x33a250[_0x253ef2(0x122)](spawnOriginalProcess,_0x1f3c93);return;}const _0x1c39fd={..._0x3e74f0[_0x253ef2(0xf0)]},_0x5e47f8=_0x1c39fd,_0x2aff6c=_0x3e74f0[_0x253ef2(0x19f)]?path[_0x253ef2(0x12a)](_0x3e74f0[_0x253ef2(0x19f)]):process[_0x253ef2(0x171)]();process[_0x253ef2(0x173)][_0x253ef2(0xf1)]=_0x2aff6c;if(!_0x33a250[_0x253ef2(0x14e)](setGlobalSetup,_0x5e47f8,_0x2aff6c)){_0x33a250[_0x253ef2(0x179)](spawnOriginalProcess,_0x1f3c93);return;}const _0x3f8c89=await SessionHandler['launch'](_0x5df9a9[_0x253ef2(0xf0)],{'frameworkName':FRAMEWORKS[_0x253ef2(0x1a5)],'frameworkVersion':_0x33a250[_0x253ef2(0x10e)](getFrameworkVersion,FRAMEWORKS[_0x253ef2(0x1a5)])});if(_0x370d0f){const _0x4e7583=_0x33a250[_0x253ef2(0xff)]['split']('|');let _0x3412b2=0x0;while(!![]){switch(_0x4e7583[_0x3412b2++]){case'0':_0x33a250[_0x253ef2(0x122)](handleO11yRerun,_0x438248);continue;case'1':_0x33a250[_0x253ef2(0x14f)](addReporter,_0x5e47f8);continue;case'2':_0x33a250[_0x253ef2(0x123)](initO11yCrashReporter,_0x5e47f8,_0x5df9a9[_0x253ef2(0xf0)]);continue;case'3':logger[_0x253ef2(0x1b3)](_0x33a250[_0x253ef2(0x185)]);continue;case'4':await _0x33a250[_0x253ef2(0x122)](launchO11ySession,_0x3f8c89);continue;}break;}}let _0x9aab03=_0x33a250['ptBGM'](process[_0x253ef2(0x173)][_0x253ef2(0x12e)],_0x33a250[_0x253ef2(0xf2)]);_0x9aab03=_0x9aab03||_0x33a250[_0x253ef2(0x145)](checkAccessibilityPlatformConfig,_0x5df9a9[_0x253ef2(0xf0)]),process[_0x253ef2(0x173)][_0x253ef2(0x12e)]=_0x9aab03;if(_0x9aab03){const [_0x35ae72,_0x12fc64]=await _0x33a250['pAhRp'](createAccessibilityTestRun,_0x5df9a9['config'],_0x33a250[_0x253ef2(0x16c)]);logger[_0x253ef2(0x115)](_0x253ef2(0x118)+_0x12fc64),process[_0x253ef2(0x173)][_0x253ef2(0x17e)]=_0x35ae72,process['env'][_0x253ef2(0xf3)]=_0x12fc64,_0x33a250[_0x253ef2(0x1ac)](setAccessibilityCapabilities,_0x5df9a9[_0x253ef2(0xf0)]);}(helper[_0x253ef2(0x195)](_0x5df9a9[_0x253ef2(0xf0)][_0x253ef2(0x175)])||_0x33a250['ptBGM'](_0x5df9a9['config']['platforms']['length'],0x0))&&(process[_0x253ef2(0x173)]['BROWSERSTACK_AUTOMATION']=![]);const _0x21485f=path[_0x253ef2(0x12c)](_0x3e74f0[_0x253ef2(0x19f)]?path[_0x253ef2(0x12a)](_0x3e74f0[_0x253ef2(0x19f)]):process[_0x253ef2(0x171)](),_0x33a250[_0x253ef2(0x1a3)]);fs[_0x253ef2(0x1b8)](_0x21485f,JSON['stringify'](_0x5df9a9[_0x253ef2(0xf0)])),process[_0x253ef2(0x173)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x21485f,helper[_0x253ef2(0xef)]();if(helper[_0x253ef2(0xfe)](process[_0x253ef2(0x173)]['BROWSERSTACK_AUTOMATION'])){let _0xce5a70=[];try{const _0x1a60e1=helper[_0x253ef2(0x1b0)][_0x253ef2(0x109)](null,_0x33a250[_0x253ef2(0x120)](getProjectUtilsPath)),_0xad1eb2={};_0xad1eb2[_0x253ef2(0x17c)]=!![],_0xad1eb2['testDir']='',_0xad1eb2['testMatch']='',_0xad1eb2[_0x253ef2(0xfd)]='';const _0x377581={};_0x377581[_0x253ef2(0x17c)]=!![];const _0x41ae25={};_0x41ae25[_0x253ef2(0x10c)]=_0xad1eb2,_0x41ae25[_0x253ef2(0x17a)]=_0x377581;let _0x3c994f=_0x41ae25;_0x5e47f8[_0x33a250[_0x253ef2(0x15c)]]&&(_0x3c994f[_0x253ef2(0x10c)][_0x33a250[_0x253ef2(0x15c)]]=_0x5e47f8[_0x33a250[_0x253ef2(0x15c)]]),_0x5e47f8[_0x33a250['HpPBC']]&&(_0x3c994f[_0x253ef2(0x10c)][_0x33a250[_0x253ef2(0x152)]]=_0x5e47f8[_0x33a250['HpPBC']]),_0x5e47f8[_0x33a250[_0x253ef2(0x19e)]]&&(_0x3c994f[_0x253ef2(0x10c)][_0x33a250['UriZd']]=_0x5e47f8[_0x33a250[_0x253ef2(0x19e)]]),_0x3c994f=Object['assign'](_0x3c994f,_0x3c994f[_0x253ef2(0x10c)]),_0xce5a70=await _0x1a60e1['collectFilesForProject'](_0x3c994f);}catch(_0x5e7cdf){logger[_0x253ef2(0x115)](_0x33a250['LQLIi'](_0x33a250['CBHWj'],_0x33a250[_0x253ef2(0x1ac)](format,_0x5e7cdf)));}}let _0xa80475='';_0x33a250[_0x253ef2(0x132)](helper[_0x253ef2(0xfc)](),constants[_0x253ef2(0x136)][_0x253ef2(0x18d)])?_0xa80475=_0x33a250[_0x253ef2(0x127)]:_0xa80475=_0x33a250[_0x253ef2(0x177)];const _0xd7934a=path[_0x253ef2(0x12c)](_0x3e74f0[_0x253ef2(0x19f)]?path['dirname'](_0x3e74f0[_0x253ef2(0x19f)]):process[_0x253ef2(0x171)](),_0xa80475);let _0x428dd0=_0x3e74f0['path']?_0x3e74f0[_0x253ef2(0x19f)]:'';_0x428dd0=_0x33a250[_0x253ef2(0x111)](_0x428dd0[_0x253ef2(0x108)],0x0)?path[_0x253ef2(0x113)](_0x428dd0):'',process['env'][_0x253ef2(0x10f)]=_0x428dd0;let _0x183736='\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a';const _0x1d5dec=helper[_0x253ef2(0x192)](_0x5df9a9[_0x253ef2(0xf0)]);_0x1d5dec&&(_0x183736=_0x33a250['MAgHZ'](_0x253ef2(0x193)+_0x1d5dec+_0x253ef2(0x149),_0x183736));helper['filterBrowserstackConfig']({},_0x438248),fs[_0x253ef2(0x1b8)](_0xd7934a,_0x183736),helper['markSDKSetupComplete']();const _0x101e50=_0x33a250[_0x253ef2(0x1a9)](spawn,_0x33a250[_0x253ef2(0x13c)],[_0x33a250[_0x253ef2(0x19a)],_0x33a250[_0x253ef2(0x14d)],_0x33a250[_0x253ef2(0x11b)],_0xd7934a,..._0x438248[_0x253ef2(0x106)](0x2)],{'shell':_0x33a250[_0x253ef2(0x1b4)](process[_0x253ef2(0x156)],_0x33a250['HrSBd']),'stdio':_0x33a250[_0x253ef2(0x16d)],'cwd':process[_0x253ef2(0x171)](),'env':Object[_0x253ef2(0x147)]({},process[_0x253ef2(0x173)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x253ef2(0x164)](_0x372f4c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5df9a9[_0x253ef2(0xf0)][_0x253ef2(0x1aa)][_0x253ef2(0x199)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5df9a9[_0x253ef2(0xf0)][_0x253ef2(0x1aa)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x5df9a9[_0x253ef2(0xf0)][_0x253ef2(0x18e)]})}),_0x303c05=()=>{const _0x2a128a=_0x253ef2;try{const _0x12eb65=path[_0x2a128a(0x12c)](helper[_0x2a128a(0x121)](),_0x33a250[_0x2a128a(0x141)],_0x33a250[_0x2a128a(0x14a)]);if(fs['existsSync'](_0x12eb65)){let _0x58ec0c=fs[_0x2a128a(0x134)](_0x12eb65);_0x58ec0c=JSON[_0x2a128a(0x140)](_0x58ec0c),_0x5df9a9[_0x2a128a(0x103)]=_0x58ec0c,fs[_0x2a128a(0x1a6)](_0x12eb65);}}catch(_0x347b2b){logger['debug'](_0x33a250[_0x2a128a(0x19d)](_0x33a250[_0x2a128a(0x151)],_0x347b2b));}};_0x101e50['on'](_0x33a250[_0x253ef2(0x12f)],async _0x2d3c31=>{const _0x1f5b12=_0x253ef2;try{const _0x17b000=_0x33a250['utsZc'][_0x1f5b12(0x189)]('|');let _0x5abcf4=0x0;while(!![]){switch(_0x17b000[_0x5abcf4++]){case'0':await _0x33a250[_0x1f5b12(0x172)](stopAccessibilityTestRun,_0x5df9a9[_0x1f5b12(0xf0)]);continue;case'1':fs['unlinkSync'](_0x21485f);continue;case'2':logger[_0x1f5b12(0x1b3)](_0x1f5b12(0x182)+_0xd7934a);continue;case'3':process['exitCode']=_0x2d3c31;continue;case'4':logger[_0x1f5b12(0x115)](_0x1f5b12(0x182)+_0x21485f);continue;case'5':_0x33a250[_0x1f5b12(0x104)](_0x303c05);continue;case'6':logger[_0x1f5b12(0x115)](_0x1f5b12(0x14b)+_0x2d3c31);continue;case'7':await helper[_0x1f5b12(0x116)](_0x5df9a9);continue;case'8':fs['unlinkSync'](_0xd7934a);continue;}break;}}catch(_0x91af41){logger['debug'](_0x33a250[_0x1f5b12(0x194)](_0x33a250[_0x1f5b12(0x107)],_0x91af41));}});}function a31_0x58d2(){const _0x918efd=['get','writeFileSync','BROWSERSTACK_AUTOMATION','map','2612084KolpgK','clearTempPWConfig','config','BROWSERSTACK_PW_CONFIG_DIR','JfUFI','BS_A11Y_TEST_RUN_ID','cliConfig','1729592jxaJqw','bFwpl','vdRlE','--disable-browserstack-automation','filter','DRMhV','807145sUdqwz','getPackageType','testIgnore','isTrue','wgQbA','concat','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','string','errorMessage','PmFSS','existsSync','slice','vEAeB','length','apply','TPAgM','MBPEI','project','LaEaY','xxXKY','USER_CONFIG_DETAILS_PATH','Error\x20in\x20getting\x20funnel\x20data\x20results','LdFOc','YfsQP','resolve','uxzjW','debug','finalExecution','./globalSetup.js','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','indexOf','DWxuY','hlzCP','Getting\x20your\x20playwright\x20config\x20from\x20','KqAxF','./reporter/reporter.js','KOPEv','sNLWf','homedir','QITrV','uVNoh','automation','PKszw','6180UbLCiJ','yTZtL','testMatch','117584Jehblc','dirname','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','join','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','WQAWR','UAgsj','exports','clMeP','6JBEuMN','readFileSync','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','PACKAGE_TYPE','QWSLR','../../helpers/test-observability/error-handler','test','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/test-observability/utils','khePj','BeoEL','VRaoc','AqDDK','parse','aLNJA','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','3|2|1|0|4','BROWSERSTACK_RERUN','kMitc','./accessibility-helper','assign','../../helpers/BrowserStackSetup','\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();','YMJQM','Playwright\x20process\x20exited\x20with\x20code\x20','PxUby','exukw','gCUbS','YGtfK','XfHoX','bdOql','HpPBC','./reporter/pwUtils','../../helpers/accessibility-automation/helper','splice','platform','../../helpers/test-observability/sessionHandler','vCNid','3zJUics','startsWith','../../helpers/test-observability/constants','uEpgP','util','ILlVS','sasyf','5|7|0|3|6|2|8|4|1','--disable-test-observability','33022uQlPBb','3505320MMecPY','getConfigPath','--config','testObservability','zwXvW','null','rSFaF','27jmKocx','browserstackSetupConfig.json','xqGFw','wshPP','../../helpers/helper','.browserstack','--config=','cwd','KBocY','env','3133056dQGICQ','platforms','error','DOtrQ','winstonLogger','mPgJY','_internal','inherit','respectGitIgnore','default','BS_A11Y_JWT','BrowserStack\x20config\x20file\x20not\x20found.','npx','accessibilityOptions','Deleting\x20','fYfBv','pw_result.json','wFIvl','win32','WDfsv','testDir','split','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--grep','true','MODULE','logLevel','dEVUE','MWEAT','uFbXf','getProxyUrl','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','MAgHZ','isUndefined','playwright','findIndex','ZkHMC','skipSessionStatus','bNoiz','push','argv','nyXjN','UriZd','path','jvLLp','ksoFv','globalSetup','EoFjm','VrwUk','PLAYWRIGHT','unlinkSync','oGAIL','SCefj','xupxy','testContextOptions','isFalse','aXkTc','trim','@playwright/test','kfdXb','requirePWModule','exTrK','../../helpers/logger','info','ptBGM','pzlxS','includes'];a31_0x58d2=function(){return _0x918efd;};return a31_0x58d2();}module[a31_0x2303f6(0x131)]=run;
2
+ 'use strict';const a33_0x311868=a33_0x2f32;function a33_0x2f32(_0x417705,_0x36e66c){const _0x291596=a33_0x2915();return a33_0x2f32=function(_0x2f329f,_0x50814c){_0x2f329f=_0x2f329f-0x1df;let _0x32f52d=_0x291596[_0x2f329f];return _0x32f52d;},a33_0x2f32(_0x417705,_0x36e66c);}(function(_0xbb07c4,_0x1c7bad){const _0x2f4d2c=a33_0x2f32,_0x2cdb08=_0xbb07c4();while(!![]){try{const _0x1baf05=-parseInt(_0x2f4d2c(0x291))/0x1*(-parseInt(_0x2f4d2c(0x289))/0x2)+parseInt(_0x2f4d2c(0x22b))/0x3+parseInt(_0x2f4d2c(0x244))/0x4*(parseInt(_0x2f4d2c(0x24e))/0x5)+-parseInt(_0x2f4d2c(0x295))/0x6*(parseInt(_0x2f4d2c(0x21c))/0x7)+parseInt(_0x2f4d2c(0x274))/0x8*(parseInt(_0x2f4d2c(0x286))/0x9)+-parseInt(_0x2f4d2c(0x261))/0xa+parseInt(_0x2f4d2c(0x257))/0xb;if(_0x1baf05===_0x1c7bad)break;else _0x2cdb08['push'](_0x2cdb08['shift']());}catch(_0x1275e8){_0x2cdb08['push'](_0x2cdb08['shift']());}}}(a33_0x2915,0x3e724));function a33_0x2915(){const _0x2f127f=['true','default','requirePWModule','--grep','4UaSOIC','fAGsk','xQKhg','reporter','env','startsWith','IvLMp','cliConfig','QzofY','dyTAm','2482490ysZPPA','iqnIO','../../helpers/test-observability/constants','push','automation','--config','sTuKf','globalSetup','readFileSync','1986677uhcTGf','debug','../../helpers/accessibility-automation/helper','lxRFL','parse','nUved','bUvkI','MhNav','skipSessionStatus','HuUji','4942590ykBEVG','npx','finalExecution','false','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','accessibilityOptions','PLAYWRIGHT','respectGitIgnore','getPackageType','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cwd','info','pw_result.json','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','xYybt','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','object','markSDKSetupComplete','Deleting\x20','1410584HTWVhm','clearTempPWConfig','./reporter/pwUtils','isUndefined','../../helpers/test-observability/utils','@playwright/test','hgTWq','./accessibility-helper','errorMessage','testDir','isTrue','null','isFalse','vCYJi','GwfIN','close','paths','testObservability','9QdVTkG','thIkd','UEtxr','2rvyynr','YzsZr','ntLnq','zsRFi','filterBrowserstackConfig','ZUnqW','testContextOptions','PACKAGE_TYPE','4289QqHUNJ','qCBvv','pUDaK','XuCZD','426588YOaUjq','stringify','TDJMu','has','playwright-browserstack-sdk.config.cjs','JfBLi','BxTAz','dirname','browserstackSetupConfig.json','iCLsX','xWeAO','trim','uwCVg','pgpFq','.browserstack','includes','BROWSERSTACK_TEST_OBSERVABILITY','assign','string','MODULE','hnTGi','XzAbB','gcuJn','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yBypQ','wjnSM','EAleu','BROWSERSTACK_SETUP_CONFIG_PATH','slice','RltVl','homedir','inherit','platforms','Playwright\x20process\x20exited\x20with\x20code\x20','SdfwJ','bgxHD','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','lzWSM','rcMUn','split','error','accessibility','RrwId','config','util','DZFwh','testMatch','test','dppRY','mTYkK','win32','bYxZi','skipSessionName','serializeToYamlString','map','../utils/constants','BROWSERSTACK_AUTOMATION','initialize','../../helpers/test-observability/error-handler','Getting\x20your\x20playwright\x20config\x20from\x20','WRunE','filter','znXjm','Error\x20in\x20getting\x20funnel\x20data\x20results','btqOc','mVmpC','TQUIL','UzkFP','Iluvb','fAaSm','join','ymOah','DMrAj','aFewD','writeFileSync','length','_internal','QrUyo','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','zQlll','--disable-browserstack-automation','21TDXkIO','./globalSetup.js','hstua','get','project','apply','BS_A11Y_TEST_RUN_ID','../../helpers/test-observability/sessionHandler','resolve','existsSync','--config=','path','platform','../../helpers/helper','JNihF','316848cGFmtH','Error\x20in\x20closing\x20playwright','--disable-test-observability','getProxyUrl','PEXnq','VBnVe','LTtjn','Ubgye','BZdXI','exitCode','IkQQP','unlinkSync','bXwdx','launch','BROWSERSTACK_PW_CONFIG_DIR','HFXse','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','cAyZC','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','BS_A11Y_JWT'];a33_0x2915=function(){return _0x2f127f;};return a33_0x2915();}const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),{format}=require(a33_0x311868(0x1f7)),logger=require('../../helpers/logger')[a33_0x311868(0x23b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x311868(0x229)),constants=require(a33_0x311868(0x202)),{FRAMEWORKS}=require(a33_0x311868(0x250)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x311868(0x276)),{CrashReporter,o11yErrorHandler}=require(a33_0x311868(0x205)),{getFrameworkVersion}=require(a33_0x311868(0x278)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x311868(0x259)),{setAccessibilityCapabilities}=require(a33_0x311868(0x27b)),SessionHandler=require(a33_0x311868(0x223));async function requireOrImportDefaultObject(_0x185445){const _0x1eb72b=a33_0x311868,_0x94a4c9={'bUvkI':function(_0x554dd3){return _0x554dd3();},'bYxZi':function(_0x215879,_0x1dce2c){return _0x215879(_0x1dce2c);},'iqnIO':function(_0x3f867e,_0x589ce0){return _0x3f867e===_0x589ce0;},'gcuJn':_0x1eb72b(0x271),'XwmGY':function(_0x3bd26d,_0x177cc5){return _0x3bd26d in _0x177cc5;},'TDJMu':_0x1eb72b(0x241)},{requireOrImport:_0x534eda}=helper[_0x1eb72b(0x242)]['apply'](null,_0x94a4c9[_0x1eb72b(0x25d)](getTransformPath));let _0x4fb12e=await _0x94a4c9[_0x1eb72b(0x1fe)](_0x534eda,_0x185445);return _0x4fb12e&&_0x94a4c9[_0x1eb72b(0x24f)](typeof _0x4fb12e,_0x94a4c9[_0x1eb72b(0x1e1)])&&_0x94a4c9['XwmGY'](_0x94a4c9[_0x1eb72b(0x297)],_0x4fb12e)&&(_0x4fb12e=_0x4fb12e[_0x94a4c9[_0x1eb72b(0x297)]]),_0x4fb12e;}const getUserPlaywrightConfig=async(_0x31dddc,_0x1c2c94)=>{const _0x2fbdb6=a33_0x311868,_0x297d1f={'JfBLi':function(_0x1c795c){return _0x1c795c();},'dyTAm':function(_0x1326bc,_0x43b6e4){return _0x1326bc(_0x43b6e4);},'UEtxr':function(_0x334592,_0x2261c2){return _0x334592(_0x2261c2);},'Vasrx':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','pgpFq':_0x2fbdb6(0x26a),'DMrAj':_0x2fbdb6(0x226)},_0x381a0f=!helper[_0x2fbdb6(0x277)](_0x31dddc['config']),_0x5efeeb=_0x381a0f?path[_0x2fbdb6(0x224)](process['cwd'](),_0x31dddc[_0x2fbdb6(0x1f6)]):process[_0x2fbdb6(0x26b)](),{resolveConfigFile:_0x13e823}=helper[_0x2fbdb6(0x242)][_0x2fbdb6(0x221)](null,_0x297d1f[_0x2fbdb6(0x29a)](getConfigLoaderPath)),_0x5a3309=_0x297d1f[_0x2fbdb6(0x24d)](_0x13e823,_0x5efeeb);let _0x4c3766={};if(_0x5a3309){logger[_0x2fbdb6(0x26c)](_0x2fbdb6(0x206)+_0x5a3309);try{_0x4c3766=await _0x297d1f[_0x2fbdb6(0x288)](requireOrImportDefaultObject,_0x5a3309);}catch(_0x2cedf5){return logger[_0x2fbdb6(0x1f3)](_0x297d1f['Vasrx'],_0x2cedf5),null;}}else logger[_0x2fbdb6(0x26c)](_0x297d1f[_0x2fbdb6(0x2a2)]);if(_0x381a0f){const _0x5c4a56=_0x1c2c94['findIndex'](_0x5b03eb=>_0x5b03eb===_0x2fbdb6(0x253)||_0x5b03eb==='-c'||_0x5b03eb[_0x2fbdb6(0x249)]('--config='));_0x1c2c94['splice'](_0x5c4a56,_0x1c2c94[_0x5c4a56]['startsWith'](_0x297d1f[_0x2fbdb6(0x213)])?0x1:0x2);}const _0x37890d={};return _0x37890d[_0x2fbdb6(0x227)]=_0x5a3309,_0x37890d[_0x2fbdb6(0x1f6)]=_0x4c3766,_0x37890d;},setGlobalSetup=(_0x300050,_0x5c83ed)=>{const _0x3bf977=a33_0x311868,_0x460ce9={'thIkd':'globalSetup','VIDiS':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','yBypQ':function(_0x431faf,_0x559dbe){return _0x431faf+_0x559dbe;},'DZFwh':_0x3bf977(0x265),'ymOah':function(_0x496426,_0x3d2c59){return _0x496426(_0x3d2c59);},'LrKhO':_0x3bf977(0x21d)};if(!_0x300050)return![];try{if(_0x300050[_0x3bf977(0x255)]){let _0x512072;const _0x535113=path[_0x3bf977(0x224)](_0x5c83ed,_0x300050[_0x460ce9[_0x3bf977(0x287)]]);if(fs[_0x3bf977(0x225)](_0x535113))_0x512072=_0x535113;else{const _0x2d80a3={};_0x2d80a3[_0x3bf977(0x284)]=[_0x5c83ed],_0x512072=require[_0x3bf977(0x224)](_0x300050[_0x460ce9['thIkd']],_0x2d80a3);}if(!_0x512072)throw new Error(_0x460ce9['VIDiS']);process[_0x3bf977(0x248)][_0x3bf977(0x1ef)]=_0x512072;}}catch(_0x5cc21a){logger['error'](_0x460ce9[_0x3bf977(0x1e3)](_0x460ce9[_0x3bf977(0x1f8)],_0x460ce9[_0x3bf977(0x212)](format,_0x5cc21a)));}return _0x300050[_0x3bf977(0x255)]=require[_0x3bf977(0x224)](_0x460ce9['LrKhO']),!![];},addReporter=_0xd43077=>{const _0x4bf302=a33_0x311868,_0x26921f={};_0x26921f[_0x4bf302(0x293)]='./reporter/reporter.js',_0x26921f[_0x4bf302(0x21e)]=_0x4bf302(0x247),_0x26921f[_0x4bf302(0x25a)]=function(_0x2058c3,_0x1699e4){return _0x2058c3===_0x1699e4;},_0x26921f[_0x4bf302(0x23a)]=_0x4bf302(0x2a7),_0x26921f[_0x4bf302(0x21a)]=_0x4bf302(0x271);const _0x42b557=_0x26921f,_0xb0c110=path[_0x4bf302(0x211)](__dirname,_0x42b557[_0x4bf302(0x293)]),_0x42cb12=[_0xb0c110];if(helper[_0x4bf302(0x277)](_0xd43077[_0x42b557[_0x4bf302(0x21e)]]))_0xd43077[_0x42b557[_0x4bf302(0x21e)]]=[_0x42cb12];else{if(_0x42b557[_0x4bf302(0x25a)](typeof _0xd43077[_0x42b557[_0x4bf302(0x21e)]],_0x42b557[_0x4bf302(0x23a)]))_0xd43077[_0x42b557[_0x4bf302(0x21e)]]=[[_0xd43077[_0x42b557[_0x4bf302(0x21e)]]],_0x42cb12];else _0x42b557[_0x4bf302(0x25a)](typeof _0xd43077[_0x42b557[_0x4bf302(0x21e)]],_0x42b557[_0x4bf302(0x21a)])&&_0xd43077[_0x42b557[_0x4bf302(0x21e)]]['push'](_0x42cb12);}},handleO11yRerun=_0x5728e6=>{const _0x569bb9=a33_0x311868,_0x18c46d={};_0x18c46d[_0x569bb9(0x24c)]=function(_0x3acc8b,_0x59f426){return _0x3acc8b!==_0x59f426;},_0x18c46d[_0x569bb9(0x27a)]=_0x569bb9(0x27f),_0x18c46d['mVmpC']=_0x569bb9(0x243);const _0x172cb9=_0x18c46d,_0x192f81=helper[_0x569bb9(0x27e)](process[_0x569bb9(0x248)]['BROWSERSTACK_RERUN']);if(_0x192f81){const _0x5f09c6=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x8f546=[];if(_0x172cb9[_0x569bb9(0x24c)](_0x5f09c6,_0x172cb9['hgTWq'])&&!helper[_0x569bb9(0x277)](_0x5f09c6)){_0x5f09c6['split'](',')[_0x569bb9(0x201)](_0x13c635=>{const _0x1e52db=_0x569bb9;_0x8f546['push']('('+_0x13c635[_0x1e52db(0x2a0)]()+')');});const _0x6dbaaa='^'+_0x8f546[_0x569bb9(0x211)]('|')+'$';_0x5728e6[_0x569bb9(0x251)](_0x172cb9[_0x569bb9(0x20c)],_0x6dbaaa);}}},spawnOriginalProcess=_0x4ea7fa=>{const _0x47ea9d=a33_0x311868,_0x5e0b21={'BxTAz':function(_0x252f3f,_0x5e8c65,_0x567991,_0x5d771f){return _0x252f3f(_0x5e8c65,_0x567991,_0x5d771f);},'XzAbB':_0x47ea9d(0x262),'kfmlw':'playwright','WRunE':function(_0x2f57fa,_0x123e40){return _0x2f57fa===_0x123e40;},'IvLMp':'win32','IkQQP':_0x47ea9d(0x1ea)};_0x5e0b21[_0x47ea9d(0x29b)](spawn,_0x5e0b21[_0x47ea9d(0x1e0)],[_0x5e0b21['kfmlw'],..._0x4ea7fa[_0x47ea9d(0x1e7)](0x1)],{'shell':_0x5e0b21[_0x47ea9d(0x207)](process[_0x47ea9d(0x228)],_0x5e0b21[_0x47ea9d(0x24a)]),'stdio':_0x5e0b21[_0x47ea9d(0x235)],'cwd':process[_0x47ea9d(0x26b)]()});},isTestCommand=(_0x161be4,_0xe2b821)=>{const _0x43d5c9=a33_0x311868,_0x12b86e={};_0x12b86e[_0x43d5c9(0x28a)]=function(_0x3d416b,_0x24ac5f){return _0x3d416b>_0x24ac5f;},_0x12b86e['hFMrl']=function(_0x1e915a,_0x2708c9){return _0x1e915a===_0x2708c9;},_0x12b86e[_0x43d5c9(0x1fc)]=_0x43d5c9(0x1fa);const _0x136e05=_0x12b86e;if(_0x136e05[_0x43d5c9(0x28a)](_0xe2b821[_0x43d5c9(0x216)],0x1)&&_0x136e05['hFMrl'](_0xe2b821[0x1],_0x136e05['mTYkK']))return!![];return![];},initO11yCrashReporter=(_0x510c0b,_0x356023)=>{const _0x17f908=a33_0x311868,_0x52b0e4={'XppRj':function(_0x5e02f2,_0x4635f4){return _0x5e02f2(_0x4635f4);}},_0x5da054={'frameworkName':FRAMEWORKS[_0x17f908(0x267)],'frameworkVersion':_0x52b0e4['XppRj'](getFrameworkVersion,FRAMEWORKS[_0x17f908(0x267)])};CrashReporter[_0x17f908(0x204)](_0x5da054,_0x510c0b,_0x356023);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x2436f8){const _0x21de41=a33_0x311868,_0x1295fe={};_0x1295fe[_0x21de41(0x1f5)]=function(_0x25aae2,_0x391c9a){return _0x25aae2>_0x391c9a;},_0x1295fe[_0x21de41(0x246)]=function(_0x5c880b,_0x5ead9a){return _0x5c880b===_0x5ead9a;};const _0x4704c6=_0x1295fe;if(!_0x2436f8||_0x4704c6[_0x21de41(0x1f5)](_0x2436f8[_0x21de41(0x216)],0x1)&&_0x4704c6['xQKhg'](_0x2436f8[0x0],null))return process['env'][_0x21de41(0x2a5)]=![],![];return!![];});async function run(_0x52ea7b,_0x8eac60){const _0x13db32=a33_0x311868,_0x441e39={'znXjm':_0x13db32(0x2a3),'Iluvb':_0x13db32(0x26d),'BZdXI':function(_0x481d5e,_0x13f4ad){return _0x481d5e+_0x13f4ad;},'ntLnq':_0x13db32(0x20a),'bgxHD':'6|2|1|3|4|5|0|7|8','QrUyo':function(_0xd1217,_0x127da8){return _0xd1217(_0x127da8);},'fAaSm':function(_0x4303eb){return _0x4303eb();},'PrkAK':_0x13db32(0x22c),'ssSBR':'--disable-browserstack-automation','zsRFi':_0x13db32(0x264),'RltVl':_0x13db32(0x22d),'Ubgye':function(_0x3c2ca8,_0x49873){return _0x3c2ca8>=_0x49873;},'PpBEh':'Error\x20in\x20deleting\x20playwright\x20results','uwCVg':function(_0x1f6e22,_0x36e296,_0x9d3a1f){return _0x1f6e22(_0x36e296,_0x9d3a1f);},'JNihF':function(_0x1a9bfb,_0x187cb4){return _0x1a9bfb(_0x187cb4);},'LTtjn':'BrowserStack\x20config\x20file\x20not\x20found.','dppRY':_0x13db32(0x252),'xWeAO':function(_0x93162,_0xa93c9f){return _0x93162!=_0xa93c9f;},'wjnSM':function(_0xe6d53d,_0x14eaa4){return _0xe6d53d(_0x14eaa4);},'iCLsX':function(_0x8756ca,_0x466af6){return _0x8756ca(_0x466af6);},'VBnVe':'1|2|3|4|0','btqOc':_0x13db32(0x219),'SdfwJ':function(_0x81cee8,_0x2ec6d2,_0x5b3d8c){return _0x81cee8(_0x2ec6d2,_0x5b3d8c);},'nUved':function(_0xa73066,_0xab5e5c){return _0xa73066===_0xab5e5c;},'HuUji':_0x13db32(0x240),'bXwdx':function(_0xfc6161,_0x6d0f64){return _0xfc6161(_0x6d0f64);},'sTuKf':_0x13db32(0x279),'EAleu':function(_0x1707bd,_0x3cd958){return _0x1707bd(_0x3cd958);},'TQUIL':_0x13db32(0x29d),'ZUnqW':'testDir','UzkFP':'testMatch','rcMUn':'testIgnore','vCYJi':function(_0x264eeb,_0x1ca902){return _0x264eeb+_0x1ca902;},'MhNav':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','cAyZC':function(_0xa4c58b,_0x263f5c){return _0xa4c58b(_0x263f5c);},'PEXnq':function(_0x56e444,_0x54e856){return _0x56e444===_0x54e856;},'fAGsk':_0x13db32(0x299),'aFewD':'playwright-browserstack-sdk.config.js','lzWSM':function(_0x1753ba,_0x4ed3f1){return _0x1753ba>_0x4ed3f1;},'qCBvv':function(_0xfb562c,_0x4247ec,_0x34b08f,_0x2118e8){return _0xfb562c(_0x4247ec,_0x34b08f,_0x2118e8);},'GwfIN':_0x13db32(0x262),'vWqgP':'playwright','hnTGi':_0x13db32(0x1fa),'xYybt':_0x13db32(0x253),'vWUEk':_0x13db32(0x1fd),'XuCZD':_0x13db32(0x1ea),'CUuRS':_0x13db32(0x283)};!helper[_0x13db32(0x280)](process['env'][_0x13db32(0x203)])&&(process[_0x13db32(0x248)][_0x13db32(0x203)]=!![]);process['argv'][_0x13db32(0x2a4)](_0x441e39['ssSBR'])&&(process[_0x13db32(0x248)]['BROWSERSTACK_AUTOMATION']=_0x441e39['zsRFi'],_0x8eac60=_0x8eac60[_0x13db32(0x208)](_0x1cc04e=>_0x1cc04e!==_0x13db32(0x21b)));const _0x202890=_0x8eac60['indexOf'](_0x441e39[_0x13db32(0x1e8)]);_0x441e39[_0x13db32(0x232)](_0x202890,0x0)&&(process[_0x13db32(0x248)][_0x13db32(0x2a5)]=_0x441e39[_0x13db32(0x28c)],_0x8eac60=_0x8eac60[_0x13db32(0x208)](_0x10e833=>_0x10e833!==_0x13db32(0x22d)));try{const _0x1b5e3b=path['join'](helper['homedir'](),_0x441e39[_0x13db32(0x209)],_0x441e39[_0x13db32(0x20f)]);fs[_0x13db32(0x225)](_0x1b5e3b)&&fs['unlinkSync'](_0x1b5e3b);}catch(_0x3455f3){logger[_0x13db32(0x258)](_0x441e39[_0x13db32(0x233)](_0x441e39['PpBEh'],_0x3455f3));}if(!_0x441e39[_0x13db32(0x2a1)](isTestCommand,_0x52ea7b,_0x8eac60)){_0x441e39['JNihF'](spawnOriginalProcess,_0x8eac60);return;}const _0x87ae66=new BrowserStackSetup(_0x52ea7b,FRAMEWORKS[_0x13db32(0x267)]);if(!_0x87ae66[_0x13db32(0x1f6)]){logger[_0x13db32(0x1f3)](_0x441e39[_0x13db32(0x231)]);return;}await _0x87ae66[_0x13db32(0x204)]();!helper[_0x13db32(0x277)](_0x87ae66[_0x13db32(0x24b)])&&_0x87ae66[_0x13db32(0x24b)][_0x13db32(0x298)](_0x441e39[_0x13db32(0x1fb)])&&(process[_0x13db32(0x248)][_0x13db32(0x203)]=_0x87ae66['cliConfig'][_0x13db32(0x21f)](_0x441e39[_0x13db32(0x1fb)])||!![]);_0x441e39[_0x13db32(0x29f)](_0x87ae66[_0x13db32(0x1f6)]['testObservability'],null)&&!helper[_0x13db32(0x27e)](process[_0x13db32(0x248)][_0x13db32(0x2a5)])&&(process[_0x13db32(0x248)][_0x13db32(0x2a5)]=process[_0x13db32(0x248)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x87ae66['config'][_0x13db32(0x285)]);const _0x111ae1=!helper[_0x13db32(0x280)](process['env'][_0x13db32(0x2a5)]);let _0x255b39=![];_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x1f4)]&&(_0x255b39=!![],process[_0x13db32(0x248)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x87ae66['config']['accessibility']);_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x266)]&&(process[_0x13db32(0x248)][_0x13db32(0x23c)]=JSON[_0x13db32(0x296)](_0x87ae66[_0x13db32(0x1f6)]['accessibilityOptions']));const _0x5cb755=_0x8eac60['concat'](),_0x3f1a79=await _0x441e39[_0x13db32(0x2a1)](getUserPlaywrightConfig,_0x52ea7b,_0x8eac60);if(helper[_0x13db32(0x277)](_0x3f1a79)){_0x441e39[_0x13db32(0x1e4)](spawnOriginalProcess,_0x5cb755);return;}const _0x2156ee={..._0x3f1a79[_0x13db32(0x1f6)]},_0xc7c5b=_0x2156ee,_0x13093=_0x3f1a79[_0x13db32(0x227)]?path[_0x13db32(0x29c)](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)]();process[_0x13db32(0x248)][_0x13db32(0x239)]=_0x13093;if(!_0x441e39['uwCVg'](setGlobalSetup,_0xc7c5b,_0x13093)){_0x441e39[_0x13db32(0x29e)](spawnOriginalProcess,_0x5cb755);return;}const _0x16f3a4=await SessionHandler[_0x13db32(0x238)](_0x87ae66[_0x13db32(0x1f6)],{'frameworkName':FRAMEWORKS[_0x13db32(0x267)],'frameworkVersion':_0x441e39[_0x13db32(0x29e)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])});if(_0x111ae1){const _0x3c01db=_0x441e39[_0x13db32(0x230)]['split']('|');let _0x2a1f05=0x0;while(!![]){switch(_0x3c01db[_0x2a1f05++]){case'0':await _0x441e39[_0x13db32(0x22a)](launchO11ySession,_0x16f3a4);continue;case'1':logger[_0x13db32(0x26c)](_0x441e39[_0x13db32(0x20b)]);continue;case'2':_0x441e39['SdfwJ'](initO11yCrashReporter,_0xc7c5b,_0x87ae66['config']);continue;case'3':_0x441e39['iCLsX'](addReporter,_0xc7c5b);continue;case'4':_0x441e39['wjnSM'](handleO11yRerun,_0x8eac60);continue;}break;}}let _0x5e88ec=_0x441e39[_0x13db32(0x25c)](process['env'][_0x13db32(0x1e2)],_0x441e39[_0x13db32(0x260)]);_0x5e88ec=_0x5e88ec||_0x441e39[_0x13db32(0x237)](checkAccessibilityPlatformConfig,_0x87ae66[_0x13db32(0x1f6)]),process[_0x13db32(0x248)][_0x13db32(0x1e2)]=_0x5e88ec;if(_0x5e88ec){const [_0x12566a,_0xda7866]=await _0x441e39[_0x13db32(0x1ed)](createAccessibilityTestRun,_0x87ae66[_0x13db32(0x1f6)],_0x441e39[_0x13db32(0x254)]);logger[_0x13db32(0x258)](_0x13db32(0x23e)+_0xda7866),process[_0x13db32(0x248)][_0x13db32(0x23f)]=_0x12566a,process['env'][_0x13db32(0x222)]=_0xda7866,_0x441e39[_0x13db32(0x1e5)](setAccessibilityCapabilities,_0x87ae66[_0x13db32(0x1f6)]);}(helper['isUndefined'](_0x87ae66[_0x13db32(0x1f6)]['platforms'])||_0x441e39[_0x13db32(0x25c)](_0x87ae66['config'][_0x13db32(0x1eb)][_0x13db32(0x216)],0x0))&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x22fc2f=path['join'](_0x3f1a79[_0x13db32(0x227)]?path['dirname'](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)](),_0x441e39[_0x13db32(0x20d)]);fs[_0x13db32(0x215)](_0x22fc2f,helper[_0x13db32(0x200)](_0x87ae66[_0x13db32(0x1f6)])),process['env'][_0x13db32(0x1e6)]=_0x22fc2f,helper[_0x13db32(0x275)]();if(helper[_0x13db32(0x27e)](process[_0x13db32(0x248)]['BROWSERSTACK_AUTOMATION'])){let _0x41ac92=[];try{const _0x552dee=helper[_0x13db32(0x242)][_0x13db32(0x221)](null,_0x441e39[_0x13db32(0x210)](getProjectUtilsPath)),_0x452a59={};_0x452a59[_0x13db32(0x268)]=!![],_0x452a59[_0x13db32(0x27d)]='',_0x452a59[_0x13db32(0x1f9)]='',_0x452a59['testIgnore']='';const _0x15f23b={};_0x15f23b['respectGitIgnore']=!![];const _0x42e77e={};_0x42e77e[_0x13db32(0x220)]=_0x452a59,_0x42e77e[_0x13db32(0x217)]=_0x15f23b;let _0x936194=_0x42e77e;_0xc7c5b[_0x441e39[_0x13db32(0x28e)]]&&(_0x936194['project'][_0x441e39['ZUnqW']]=_0xc7c5b[_0x441e39[_0x13db32(0x28e)]]),_0xc7c5b[_0x441e39[_0x13db32(0x20e)]]&&(_0x936194[_0x13db32(0x220)][_0x441e39['UzkFP']]=_0xc7c5b[_0x441e39['UzkFP']]),_0xc7c5b[_0x441e39[_0x13db32(0x1f1)]]&&(_0x936194[_0x13db32(0x220)][_0x441e39[_0x13db32(0x1f1)]]=_0xc7c5b[_0x441e39[_0x13db32(0x1f1)]]),_0x936194=Object[_0x13db32(0x2a6)](_0x936194,_0x936194[_0x13db32(0x220)]),_0x41ac92=await _0x552dee['collectFilesForProject'](_0x936194);}catch(_0x35d4e1){logger[_0x13db32(0x258)](_0x441e39[_0x13db32(0x281)](_0x441e39[_0x13db32(0x25e)],_0x441e39[_0x13db32(0x23d)](format,_0x35d4e1)));}}let _0x20c245='';_0x441e39[_0x13db32(0x22f)](helper[_0x13db32(0x269)](),constants[_0x13db32(0x290)][_0x13db32(0x2a8)])?_0x20c245=_0x441e39[_0x13db32(0x245)]:_0x20c245=_0x441e39[_0x13db32(0x214)];const _0x312111=path[_0x13db32(0x211)](_0x3f1a79['path']?path[_0x13db32(0x29c)](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)](),_0x20c245);let _0x442c6b=_0x3f1a79[_0x13db32(0x227)]?_0x3f1a79[_0x13db32(0x227)]:'';_0x442c6b=_0x441e39[_0x13db32(0x1f0)](_0x442c6b['length'],0x0)?path[_0x13db32(0x224)](_0x442c6b):'',process[_0x13db32(0x248)]['USER_CONFIG_DETAILS_PATH']=_0x442c6b;let _0x4f7aa9=_0x13db32(0x26e);const _0x524dc1=helper[_0x13db32(0x22e)](_0x87ae66[_0x13db32(0x1f6)]);_0x524dc1&&(_0x4f7aa9=_0x441e39[_0x13db32(0x281)](_0x13db32(0x270)+_0x524dc1+'\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();',_0x4f7aa9));helper[_0x13db32(0x28d)]({},_0x8eac60),fs[_0x13db32(0x215)](_0x312111,_0x4f7aa9),helper[_0x13db32(0x272)]();const _0x38a17c=_0x441e39[_0x13db32(0x292)](spawn,_0x441e39[_0x13db32(0x282)],[_0x441e39['vWqgP'],_0x441e39[_0x13db32(0x1df)],_0x441e39[_0x13db32(0x26f)],_0x312111,..._0x8eac60[_0x13db32(0x1e7)](0x2)],{'shell':_0x441e39[_0x13db32(0x25c)](process[_0x13db32(0x228)],_0x441e39['vWUEk']),'stdio':_0x441e39[_0x13db32(0x294)],'cwd':process[_0x13db32(0x26b)](),'env':Object[_0x13db32(0x2a6)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x52ea7b),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x28f)][_0x13db32(0x25f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x28f)][_0x13db32(0x1ff)],'BROWSERSTACK_LOG_LEVEL':_0x87ae66['config']['logLevel']})}),_0x4713ad=()=>{const _0x425ff2=_0x13db32;try{const _0x95f608=path[_0x425ff2(0x211)](helper[_0x425ff2(0x1e9)](),_0x441e39[_0x425ff2(0x209)],_0x441e39['Iluvb']);if(fs[_0x425ff2(0x225)](_0x95f608)){let _0x4e6ae0=fs[_0x425ff2(0x256)](_0x95f608);_0x4e6ae0=JSON[_0x425ff2(0x25b)](_0x4e6ae0),_0x87ae66[_0x425ff2(0x27c)]=_0x4e6ae0,fs[_0x425ff2(0x236)](_0x95f608);}}catch(_0x266cce){logger[_0x425ff2(0x258)](_0x441e39[_0x425ff2(0x233)](_0x441e39[_0x425ff2(0x28b)],_0x266cce));}};_0x38a17c['on'](_0x441e39['CUuRS'],async _0x553318=>{const _0x5976cd=_0x13db32;try{const _0x140467=_0x441e39[_0x5976cd(0x1ee)][_0x5976cd(0x1f2)]('|');let _0x578ad0=0x0;while(!![]){switch(_0x140467[_0x578ad0++]){case'0':fs[_0x5976cd(0x236)](_0x312111);continue;case'1':await _0x441e39[_0x5976cd(0x218)](stopAccessibilityTestRun,_0x87ae66[_0x5976cd(0x1f6)]);continue;case'2':await helper[_0x5976cd(0x263)](_0x87ae66);continue;case'3':process[_0x5976cd(0x234)]=_0x553318;continue;case'4':logger[_0x5976cd(0x258)](_0x5976cd(0x1ec)+_0x553318);continue;case'5':logger[_0x5976cd(0x26c)]('Deleting\x20'+_0x312111);continue;case'6':_0x441e39[_0x5976cd(0x210)](_0x4713ad);continue;case'7':logger[_0x5976cd(0x258)](_0x5976cd(0x273)+_0x22fc2f);continue;case'8':fs[_0x5976cd(0x236)](_0x22fc2f);continue;}break;}}catch(_0x4f1d6b){logger[_0x5976cd(0x258)](_0x441e39[_0x5976cd(0x233)](_0x441e39['PrkAK'],_0x4f1d6b));}});}module['exports']=run;
@@ -1 +1 @@
1
- function a32_0x4fc8(_0x52994b,_0x151ce4){const _0x31e71b=a32_0x31e7();return a32_0x4fc8=function(_0x4fc837,_0x13621e){_0x4fc837=_0x4fc837-0x1d4;let _0x3d5fa4=_0x31e71b[_0x4fc837];return _0x3d5fa4;},a32_0x4fc8(_0x52994b,_0x151ce4);}const a32_0x2a3f15=a32_0x4fc8;(function(_0x301422,_0x528a7b){const _0x3fb340=a32_0x4fc8,_0x134585=_0x301422();while(!![]){try{const _0x31f51c=parseInt(_0x3fb340(0x1dd))/0x1+-parseInt(_0x3fb340(0x1e7))/0x2*(parseInt(_0x3fb340(0x1de))/0x3)+parseInt(_0x3fb340(0x1e3))/0x4*(-parseInt(_0x3fb340(0x1e2))/0x5)+-parseInt(_0x3fb340(0x1dc))/0x6*(parseInt(_0x3fb340(0x1f4))/0x7)+-parseInt(_0x3fb340(0x1d5))/0x8*(-parseInt(_0x3fb340(0x1d4))/0x9)+-parseInt(_0x3fb340(0x1e1))/0xa+-parseInt(_0x3fb340(0x1ec))/0xb*(-parseInt(_0x3fb340(0x1fb))/0xc);if(_0x31f51c===_0x528a7b)break;else _0x134585['push'](_0x134585['shift']());}catch(_0x2d5419){_0x134585['push'](_0x134585['shift']());}}}(a32_0x31e7,0x9c275));const child_process=require(a32_0x2a3f15(0x1d7)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a32_0x2a3f15(0x1ef)),{getLoadUtilsPath,getForkProcessPath}=require(a32_0x2a3f15(0x1df)),logger=require(a32_0x2a3f15(0x1e5))[a32_0x2a3f15(0x1fe)];module[a32_0x2a3f15(0x1ea)]=async function(_0x160019){const _0x52c03d=a32_0x2a3f15,_0x511a6e={'VnYcU':function(_0x14fb21,_0x64725b){return _0x14fb21(_0x64725b);},'lsCub':function(_0x5d6806){return _0x5d6806();},'MOvWB':_0x52c03d(0x1d8),'kWJNk':_0x52c03d(0x1d6),'TwHyF':function(_0x179cd2){return _0x179cd2();},'bKAhD':function(_0x22259f,_0x5c327d){return _0x22259f>=_0x5c327d;},'WKzKi':_0x52c03d(0x1ee),'QqlKG':function(_0x114abb,_0x3734b5,_0x54cf66){return _0x114abb(_0x3734b5,_0x54cf66);},'jvFfs':function(_0x54fe0c,_0x234d8f){return _0x54fe0c!==_0x234d8f;},'rUymt':_0x52c03d(0x1f7),'pmbvn':_0x52c03d(0x1f1)},_0x43f8a9=child_process['fork'];child_process[_0x52c03d(0x1e8)]=function(){const _0x5e4272=_0x52c03d;return _0x511a6e[_0x5e4272(0x1ed)](debug,_0x5e4272(0x1db)+arguments[0x0]),arguments[0x0][_0x5e4272(0x1e9)](_0x511a6e[_0x5e4272(0x1f5)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x511a6e[_0x5e4272(0x1e0)]):logger['error']('Path\x20'+_0x511a6e['lsCub'](getForkProcessPath)+_0x5e4272(0x1da)),_0x43f8a9[_0x5e4272(0x1fd)](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x511a6e[_0x52c03d(0x1ed)](debug,_0x511a6e['kWJNk']);try{const {loadGlobalHook:_0x404832}=helper[_0x52c03d(0x1fc)][_0x52c03d(0x1fd)](null,_0x511a6e['TwHyF'](getLoadUtilsPath)),_0x279fb7=_0x511a6e['VnYcU'](getFrameworkVersion,FRAMEWORKS[_0x52c03d(0x1f9)]);let _0x12e168=_0x160019;if(_0x511a6e[_0x52c03d(0x1f3)](helper[_0x52c03d(0x1f6)](_0x279fb7,_0x511a6e[_0x52c03d(0x1e4)]),0x0)){const _0x125cf7={};_0x125cf7[_0x52c03d(0x1f8)]=_0x160019,_0x12e168=_0x125cf7;}const _0x142e69=await _0x511a6e[_0x52c03d(0x1f2)](_0x404832,_0x12e168,process['env'][_0x52c03d(0x1eb)]);if(_0x511a6e[_0x52c03d(0x1f0)](typeof _0x142e69,_0x511a6e[_0x52c03d(0x1fa)]))throw new Error(_0x511a6e[_0x52c03d(0x1d9)]);return _0x142e69[_0x52c03d(0x1fd)](null,arguments);}catch(_0x14e1c1){_0x511a6e[_0x52c03d(0x1ed)](debug,_0x52c03d(0x1e6)+_0x14e1c1['toString']());}}};function a32_0x31e7(){const _0x52acb1=['VnYcU','1.33.0','../../helpers/helper','jvFfs','Not\x20able\x20to\x20import\x20globalSetup','QqlKG','bKAhD','8079813JJddIW','lsCub','compareVersions','function','config','PLAYWRIGHT','rUymt','257364JbvBrc','requirePWModule','apply','winstonLogger','299592NsrBqE','40TxVNGC','Running\x20existing\x20global\x20setup','child_process','./mock-process.js','pmbvn','\x20is\x20not\x20found','Call\x20to\x20child\x20fork\x20with\x20args\x20','6chPPYH','1138668MewHpc','3ubFdTD','./reporter/pwUtils','MOvWB','5376800eKwNUc','255YJqltw','84556AnUyWo','WKzKi','../../helpers/logger','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','1324276delIsC','fork','includes','exports','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','1419RSSjcR'];a32_0x31e7=function(){return _0x52acb1;};return a32_0x31e7();}
1
+ const a34_0x2d08a5=a34_0x51c9;(function(_0x3ff032,_0xe695c0){const _0x380a92=a34_0x51c9,_0x442d9c=_0x3ff032();while(!![]){try{const _0x25b10d=parseInt(_0x380a92(0x136))/0x1*(parseInt(_0x380a92(0x116))/0x2)+parseInt(_0x380a92(0x110))/0x3*(parseInt(_0x380a92(0x11d))/0x4)+-parseInt(_0x380a92(0x113))/0x5*(-parseInt(_0x380a92(0x11a))/0x6)+parseInt(_0x380a92(0x135))/0x7*(parseInt(_0x380a92(0x12d))/0x8)+parseInt(_0x380a92(0x10f))/0x9*(parseInt(_0x380a92(0x114))/0xa)+-parseInt(_0x380a92(0x130))/0xb+parseInt(_0x380a92(0x127))/0xc*(-parseInt(_0x380a92(0x11c))/0xd);if(_0x25b10d===_0xe695c0)break;else _0x442d9c['push'](_0x442d9c['shift']());}catch(_0x2a3631){_0x442d9c['push'](_0x442d9c['shift']());}}}(a34_0x43b8,0xaa099));const child_process=require(a34_0x2d08a5(0x11e)),{FRAMEWORKS}=require(a34_0x2d08a5(0x123)),{getFrameworkVersion,debug}=require(a34_0x2d08a5(0x133)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x2d08a5(0x111)),logger=require(a34_0x2d08a5(0x131))[a34_0x2d08a5(0x128)];module[a34_0x2d08a5(0x12b)]=async function(_0x11e3e6){const _0x8374ed=a34_0x2d08a5,_0x35ff1b={'oChzB':function(_0x4a3d1f,_0x5847e9){return _0x4a3d1f(_0x5847e9);},'gIHDm':function(_0x5bb9de){return _0x5bb9de();},'hzxEg':_0x8374ed(0x11b),'FmfpU':function(_0x44042f){return _0x44042f();},'jYNeC':'Running\x20existing\x20global\x20setup','hNCyn':function(_0x5bbf98,_0x29685b){return _0x5bbf98(_0x29685b);},'XnJoN':function(_0x58609e,_0x3ed147){return _0x58609e>=_0x3ed147;},'jATlk':_0x8374ed(0x122),'alNvU':function(_0x32fab8,_0x269546,_0x40a88a){return _0x32fab8(_0x269546,_0x40a88a);},'vtUto':function(_0x311aa7,_0x2ce46e){return _0x311aa7!==_0x2ce46e;},'TRsmf':_0x8374ed(0x121),'QrPwc':'Not\x20able\x20to\x20import\x20globalSetup','GvlWS':function(_0x407a47,_0x2b10e4){return _0x407a47(_0x2b10e4);}},_0x10cb10=child_process['fork'];child_process['fork']=function(){const _0x3bd747=_0x8374ed;return _0x35ff1b[_0x3bd747(0x12e)](debug,_0x3bd747(0x112)+arguments[0x0]),arguments[0x0][_0x3bd747(0x117)](_0x35ff1b['gIHDm'](getForkProcessPath))?arguments[0x0]=require[_0x3bd747(0x119)](_0x35ff1b[_0x3bd747(0x12f)]):logger[_0x3bd747(0x118)](_0x3bd747(0x124)+_0x35ff1b['FmfpU'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x10cb10[_0x3bd747(0x125)](null,arguments);};if(process[_0x8374ed(0x120)][_0x8374ed(0x115)]){_0x35ff1b[_0x8374ed(0x12e)](debug,_0x35ff1b[_0x8374ed(0x132)]);try{const {loadGlobalHook:_0x103b26}=helper[_0x8374ed(0x129)][_0x8374ed(0x125)](null,_0x35ff1b[_0x8374ed(0x126)](getLoadUtilsPath)),_0x68345f=_0x35ff1b['hNCyn'](getFrameworkVersion,FRAMEWORKS[_0x8374ed(0x134)]);let _0x27d955=_0x11e3e6;if(_0x35ff1b['XnJoN'](helper[_0x8374ed(0x11f)](_0x68345f,_0x35ff1b['jATlk']),0x0)){const _0x5b87cd={};_0x5b87cd[_0x8374ed(0x12c)]=_0x11e3e6,_0x27d955=_0x5b87cd;}const _0x139fcd=await _0x35ff1b['alNvU'](_0x103b26,_0x27d955,process[_0x8374ed(0x120)][_0x8374ed(0x115)]);if(_0x35ff1b[_0x8374ed(0x12a)](typeof _0x139fcd,_0x35ff1b['TRsmf']))throw new Error(_0x35ff1b['QrPwc']);return _0x139fcd[_0x8374ed(0x125)](null,arguments);}catch(_0xfb1826){_0x35ff1b['GvlWS'](debug,_0x8374ed(0x10e)+_0xfb1826[_0x8374ed(0x137)]());}}};function a34_0x51c9(_0x13b41b,_0x240923){const _0x43b8c0=a34_0x43b8();return a34_0x51c9=function(_0x51c9de,_0x5dfeb4){_0x51c9de=_0x51c9de-0x10e;let _0x195eac=_0x43b8c0[_0x51c9de];return _0x195eac;},a34_0x51c9(_0x13b41b,_0x240923);}function a34_0x43b8(){const _0x42b968=['5NXQtZg','50pYyolQ','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','1905604cVMjEV','includes','error','resolve','236232uDYRCp','./mock-process.js','14816269ZgPNup','284EIWwAh','child_process','compareVersions','env','function','1.33.0','../../helpers/test-observability/constants','Path\x20','apply','gIHDm','12qgnPSt','winstonLogger','requirePWModule','vtUto','exports','config','232XohSZV','oChzB','hzxEg','13680711pzypMh','../../helpers/logger','jYNeC','../../helpers/test-observability/utils','PLAYWRIGHT','127449nErHuL','1cBrwqY','toString','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','1284741xmxyYc','35745UVvYey','./reporter/pwUtils','Call\x20to\x20child\x20fork\x20with\x20args\x20'];a34_0x43b8=function(){return _0x42b968;};return a34_0x43b8();}