browserstack-node-sdk 1.32.8 → 1.32.9

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
+ const a27_0x5a5bdf=a27_0x3dc8;(function(_0x57cdf2,_0x41d539){const _0x53ddac=a27_0x3dc8,_0x1c7a45=_0x57cdf2();while(!![]){try{const _0x439f30=-parseInt(_0x53ddac(0x12e))/0x1*(parseInt(_0x53ddac(0x119))/0x2)+-parseInt(_0x53ddac(0x11d))/0x3+-parseInt(_0x53ddac(0x180))/0x4+parseInt(_0x53ddac(0x137))/0x5+parseInt(_0x53ddac(0x144))/0x6+parseInt(_0x53ddac(0x155))/0x7*(-parseInt(_0x53ddac(0x13b))/0x8)+parseInt(_0x53ddac(0x146))/0x9;if(_0x439f30===_0x41d539)break;else _0x1c7a45['push'](_0x1c7a45['shift']());}catch(_0x3f04e0){_0x1c7a45['push'](_0x1c7a45['shift']());}}}(a27_0x2c87,0x3d72e));const logger=require(a27_0x5a5bdf(0x15c))[a27_0x5a5bdf(0x127)],helper=require(a27_0x5a5bdf(0x10f)),constants=require(a27_0x5a5bdf(0x16d)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x5a5bdf(0x110)),{setAccessibilityCapabilities,setExtension}=require(a27_0x5a5bdf(0x133)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x5a5bdf(0x15e)),globals=require(a27_0x5a5bdf(0x154)),modify=(_0x33c319,_0x5c88a7=null,_0xae2b72=![])=>{const _0x5caff9=a27_0x5a5bdf,_0x443e60={'Yuyoi':function(_0x43e847,_0x325974){return _0x43e847!==_0x325974;},'DzSdU':_0x5caff9(0x14e),'rsdFP':function(_0x14dff0,_0x5ae997){return _0x14dff0!==_0x5ae997;},'eBlgg':function(_0x3eb05a,_0x346a75){return _0x3eb05a+_0x346a75;},'rPMnX':function(_0x353357,_0x1a483d){return _0x353357+_0x1a483d;},'FRAEX':_0x5caff9(0x152),'UCqVp':_0x5caff9(0x131),'ROiKy':'goog:chromeOptions','jYipM':_0x5caff9(0x141),'prHck':_0x5caff9(0x10e),'roXVN':_0x5caff9(0x177),'xMSYu':_0x5caff9(0x148),'zieDp':_0x5caff9(0x164),'MJeKF':'safari.options','lqeRx':'se:ieOptions','VzaPY':_0x5caff9(0x13e),'bFlHg':function(_0x34d485,_0x40a7d3){return _0x34d485===_0x40a7d3;},'lEJAg':'object','PvkVH':_0x5caff9(0x11e),'iIzZt':_0x5caff9(0x11f),'ASecf':_0x5caff9(0x16a),'uODeD':function(_0xb38400,_0x18d1e5,_0x2466af){return _0xb38400(_0x18d1e5,_0x2466af);},'bPzLm':function(_0x101a6e,_0x1695aa){return _0x101a6e(_0x1695aa);},'GKhvs':function(_0x3f17a7,_0x18a26d,_0x3b452c){return _0x3f17a7(_0x18a26d,_0x3b452c);},'lweUw':function(_0xdb73e3,_0x10aaa3,_0x4634e6){return _0xdb73e3(_0x10aaa3,_0x4634e6);},'LvtPf':_0x5caff9(0x158),'hjYTm':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','PDdes':_0x5caff9(0x113),'tOPfV':function(_0x3c5c4c){return _0x3c5c4c();},'sTrkd':function(_0x371071,_0x4d1a26){return _0x371071(_0x4d1a26);},'xSMed':function(_0x44a923,_0x94ead9){return _0x44a923!==_0x94ead9;},'GDZNm':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','fPZQu':_0x5caff9(0x14d)},_0x421a6f=helper[_0x5caff9(0x11a)]();let _0x39bf3d;try{_0x39bf3d=helper[_0x5caff9(0x15b)](),_0x39bf3d['originalBuilder']&&(_0x39bf3d[_0x5caff9(0x17d)]=_0x39bf3d[_0x5caff9(0x163)]);}catch(_0x14251d){return;}if(helper[_0x5caff9(0x173)]()){const _0xf3abd0={};_0xf3abd0[_0x5caff9(0x13c)]=_0x33c319[_0x5caff9(0x122)],helper[_0x5caff9(0x174)](_0xf3abd0,new Map(),new Map()),logger[_0x5caff9(0x159)](_0x443e60['GDZNm']),logger[_0x5caff9(0x142)](_0x443e60[_0x5caff9(0x169)]);}class _0x935f66 extends _0x421a6f[_0x5caff9(0x15d)]{[_0x5caff9(0x145)](_0x126198){const _0x11133b=_0x5caff9;if(_0x443e60['Yuyoi'](_0x126198[_0x11133b(0x121)],_0x443e60[_0x11133b(0x126)])&&_0x443e60[_0x11133b(0x115)](global['newHubUrl'],''))try{global[_0x11133b(0x13f)]=_0x443e60[_0x11133b(0x156)](_0x443e60['rPMnX'](_0x443e60[_0x11133b(0x166)],global[_0x11133b(0x13f)]),_0x443e60['UCqVp']),this[_0x11133b(0x176)]=hubAllocator[_0x11133b(0x12d)](global[_0x11133b(0x13f)]),logger['debug'](_0x11133b(0x13a)+global[_0x11133b(0x13f)]),global[_0x11133b(0x13f)]='';}catch(_0x4c0d5c){logger[_0x11133b(0x130)](_0x4c0d5c);}return super['send'](_0x126198);}}class _0x4f1b1c extends _0x39bf3d[_0x5caff9(0x17d)]{['setServer'](){const _0x2fe40d=_0x5caff9;return this[_0x2fe40d(0x118)]=helper[_0x2fe40d(0x175)](_0x33c319),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x2fe40d(0x118)]),this;}[_0x5caff9(0x138)](_0x2d047a){const _0x54273a=_0x5caff9;let _0x1f0c38={};for(const _0x1a8770 in _0x2d047a){switch(_0x1a8770){case _0x443e60[_0x54273a(0x188)]:case _0x443e60['jYipM']:this['chromeOptions_']&&(_0x1f0c38=this[_0x54273a(0x157)][_0x54273a(0x15a)](this[_0x54273a(0x157)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x54273a(0x160)](this[_0x54273a(0x157)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x17f)]:case _0x443e60[_0x54273a(0x135)]:this['edgeOptions_']&&(_0x1f0c38=this['edgeOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x136)][_0x54273a(0x112)])||{},this[_0x54273a(0x136)][_0x54273a(0x160)](this[_0x54273a(0x136)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x183)]:case _0x443e60[_0x54273a(0x143)]:this[_0x54273a(0x15f)]&&(_0x1f0c38=this['firefoxOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x15f)][_0x54273a(0x112)])||{},this[_0x54273a(0x15f)][_0x54273a(0x160)](this[_0x54273a(0x15f)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x182)]:this[_0x54273a(0x128)]&&(_0x1f0c38=this['safariOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x128)][_0x54273a(0x112)])||{},this[_0x54273a(0x128)][_0x54273a(0x160)](this[_0x54273a(0x128)]['CAPABILITY_KEY'],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x12a)]:case _0x443e60[_0x54273a(0x17c)]:this[_0x54273a(0x161)]&&(_0x1f0c38=this[_0x54273a(0x161)][_0x54273a(0x15a)](this[_0x54273a(0x161)][_0x54273a(0x112)])||{},this['ieOptions_'][_0x54273a(0x160)](this[_0x54273a(0x161)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;}}}['setCapabilities'](){const _0x4801bc=_0x5caff9;return logger[_0x4801bc(0x142)](_0x443e60[_0x4801bc(0x140)]),this[_0x4801bc(0x138)](_0x33c319[_0x4801bc(0x14f)]),Object['keys'](_0x33c319[_0x4801bc(0x14f)])[_0x4801bc(0x179)](_0x363d28=>{const _0x2e4b9c=_0x4801bc,_0x33c4cf=this[_0x2e4b9c(0x12f)][_0x2e4b9c(0x15a)](_0x363d28);_0x443e60['bFlHg'](typeof _0x33c4cf,_0x443e60[_0x2e4b9c(0x17a)])?this[_0x2e4b9c(0x12f)]['set'](_0x363d28,helper[_0x2e4b9c(0x178)](_0x33c4cf,_0x33c319['capability'][_0x363d28])):this['capabilities_'][_0x2e4b9c(0x160)](_0x363d28,_0x33c319[_0x2e4b9c(0x14f)][_0x363d28]);}),this;}['build'](){const _0x5c9431=_0x5caff9,_0x8cd36c={'XrexS':function(_0x22e34c,_0x1428e2,_0x2e2e70){const _0x69eb8a=a27_0x3dc8;return _0x443e60[_0x69eb8a(0x12b)](_0x22e34c,_0x1428e2,_0x2e2e70);},'tlmvm':function(_0x328197,_0xd37db1,_0x2bccf3){return _0x443e60['lweUw'](_0x328197,_0xd37db1,_0x2bccf3);}};if(helper[_0x5c9431(0x173)]()){const _0x57026b=_0x443e60[_0x5c9431(0x14a)][_0x5c9431(0x151)]('|');let _0x3a8d0b=0x0;while(!![]){switch(_0x57026b[_0x3a8d0b++]){case'0':logger[_0x5c9431(0x142)](_0x443e60['hjYTm']);continue;case'1':globals[_0x5c9431(0x184)](_0x443e60[_0x5c9431(0x116)])&&(!_0x443e60[_0x5c9431(0x124)](setExtension,this,_0x33c319)&&globals[_0x5c9431(0x111)](_0x443e60[_0x5c9431(0x116)],![]));continue;case'2':this['setServer']();continue;case'3':this[_0x5c9431(0x17b)]();continue;case'4':_0x443e60[_0x5c9431(0x147)](isAccessibilityAutomationSession)&&_0x443e60[_0x5c9431(0x139)](setAccessibilityCapabilities,_0x33c319);continue;case'5':if(helper[_0x5c9431(0x181)](_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)]))this[_0x5c9431(0x114)]=helper[_0x5c9431(0x12c)](_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)]);else _0x33c319[_0x5c9431(0x165)]['proxyUrl']&&(this['proxy_']=_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)],logger[_0x5c9431(0x142)](_0x5c9431(0x162)+this['proxy_']));continue;}break;}}const _0x4fc88d=super[_0x5c9431(0x129)]();return _0x4fc88d[_0x5c9431(0x150)]['then'](_0x36fb4e=>{const _0x1f94aa=_0x5c9431;try{const _0x320c10=_0x36fb4e[_0x1f94aa(0x117)][_0x1f94aa(0x15a)](_0x443e60[_0x1f94aa(0x16b)]);_0x320c10?(logger[_0x1f94aa(0x142)](_0x1f94aa(0x168)+_0x320c10),hubAllocator[_0x1f94aa(0x185)](_0x320c10),helper[_0x1f94aa(0x125)](_0x320c10)):logger[_0x1f94aa(0x142)](_0x443e60[_0x1f94aa(0x11b)]);}catch(_0x310c39){logger[_0x1f94aa(0x142)](_0x1f94aa(0x16e)+_0x310c39);}}),_0x4fc88d[_0x5c9431(0x149)]=0x0,_0x4fc88d['then']&&_0x4fc88d['then'](_0x2a0e90=>{const _0x4dd856=_0x5c9431,_0x42468d={'sEPAS':function(_0x27b45f,_0x4e741b,_0x3330a3){const _0x3c6838=a27_0x3dc8;return _0x443e60[_0x3c6838(0x12b)](_0x27b45f,_0x4e741b,_0x3330a3);}};_0x443e60['uODeD'](overrideQuit,_0x2a0e90,_0x4fc88d),_0x443e60[_0x4dd856(0x139)](overrideTakeScreenshot,_0x2a0e90),helper[_0x4dd856(0x120)](_0x2a0e90,_0x33c319),helper[_0x4dd856(0x17e)](_0x2a0e90,_0x33c319),_0x2a0e90[_0x4dd856(0x172)]=async()=>{const _0x52760d=_0x4dd856;return await _0x8cd36c[_0x52760d(0x14b)](getAccessibilityResultsSummary,_0x2a0e90,global);},_0x2a0e90['getAccessibilityResults']=async()=>{const _0x508966=_0x4dd856;return await _0x42468d[_0x508966(0x16f)](getAccessibilityResults,_0x2a0e90,global);};}),_0x4fc88d[_0x5c9431(0x172)]=async()=>{const _0x191c9b=_0x5c9431;return await _0x8cd36c[_0x191c9b(0x167)](getAccessibilityResultsSummary,_0x4fc88d,global);},_0x4fc88d[_0x5c9431(0x153)]=async()=>{const _0x59d192=_0x5c9431;return await _0x443e60[_0x59d192(0x11c)](getAccessibilityResults,_0x4fc88d,global);},_0x443e60[_0x5c9431(0x139)](overrideTakeScreenshot,_0x4fc88d),_0x443e60['sTrkd'](overrideQuit,_0x4fc88d),helper[_0x5c9431(0x120)](_0x4fc88d,_0x33c319),helper[_0x5c9431(0x17e)](_0x4fc88d,_0x33c319),helper[_0x5c9431(0x132)](global[_0x5c9431(0x16c)])&&(global[_0x5c9431(0x16c)]=[]),helper[_0x5c9431(0x132)](global['__drivers'])&&(global[_0x5c9431(0x186)]=[]),global['__driversArray'][_0x5c9431(0x123)](_0x4fc88d),global[_0x5c9431(0x187)]=_0x4fc88d,_0x443e60[_0x5c9431(0x170)](global[_0x5c9431(0x186)],undefined)&&global[_0x5c9431(0x186)][_0x5c9431(0x123)](_0x4fc88d),_0x5c88a7&&helper['isUndefined'](_0x5c88a7['global'][_0x5c9431(0x16c)])&&(_0x5c88a7[_0x5c9431(0x134)]['__driversArray']=[]),_0x5c88a7&&_0x443e60[_0x5c9431(0x13d)](_0x5c88a7[_0x5c9431(0x134)]['__drivers'],undefined)&&(_0x5c88a7[_0x5c9431(0x134)][_0x5c9431(0x186)][_0x5c9431(0x123)](_0x4fc88d),_0x5c88a7[_0x5c9431(0x134)][_0x5c9431(0x16c)]['push'](_0x4fc88d)),_0x4fc88d;}}return _0x39bf3d['originalBuilder']=_0x39bf3d['Builder'],_0x39bf3d['Builder']=_0x4f1b1c,_0x421a6f[_0x5caff9(0x15d)]=_0x935f66,_0x39bf3d;};function a27_0x3dc8(_0x127050,_0x1226a5){const _0x2c87a7=a27_0x2c87();return a27_0x3dc8=function(_0x3dc85e,_0x2d3bd8){_0x3dc85e=_0x3dc85e-0x10e;let _0x1004d8=_0x2c87a7[_0x3dc85e];return _0x1004d8;},a27_0x3dc8(_0x127050,_0x1226a5);}function a27_0x2c87(){const _0x5b4cc5=['64QnxQoU','logLevel','xSMed','ieOptions','newHubUrl','PvkVH','chromeOptions','debug','zieDp','2121288FdOmBI','send','3962313YcNsXJ','tOPfV','moz:firefoxOptions','quitCount_','LvtPf','XrexS','browserstackAgentObservability','Modifying\x20webdriver\x20builder','/session','capability','session_','split','https://','getAccessibilityResults','../../../helpers/globals','165368BZZJhF','eBlgg','chromeOptions_','4|2|3|5|1|0','info','get','requireSeleniumWebdriver','../../../helpers/logger','HttpClient','../../../helpers/accessibility-automation/helper','firefoxOptions_','set','ieOptions_','Proxy\x20set\x20to\x20','originalBuilder','firefoxOptions','proxySettings','FRAEX','tlmvm','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','fPZQu','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','iIzZt','__driversArray','../../../bin/utils/constants','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','sEPAS','Yuyoi','proxyUrl','getAccessibilityResultsSummary','isBrowserstackInfra','setLogLevel','getHubUrl','options_','edgeOptions','mergeDeep','forEach','lEJAg','setCapabilities','VzaPY','Builder','overrideExecute','prHck','850224zdQxJJ','isPacProxy','MJeKF','xMSYu','getGlobal','updateHubUrl','__drivers','__driver','ROiKy','ms:edgeOptions','../../../helpers/helper','../../../helpers/patchHelpers','setGlobal','CAPABILITY_KEY','isAccessibilityPlatform','agent_','rsdFP','PDdes','caps_','url_','82rttYfz','requireHttpClient','ASecf','GKhvs','164178eIfiTJ','Setting\x20Browserstack\x20capabilities','optimalHubUrl','overrideGet','path','browserStackLogLevel','push','lweUw','storeOptimalHubUrl','DzSdU','winstonLogger','safariOptions_','build','lqeRx','uODeD','getHttpAgent','getRequestOptions','6986JyXvKX','capabilities_','error','/wd/hub','isUndefined','../accessibility-automation/helper','global','roXVN','edgeOptions_','1002945zyAmbo','__setBrowserOptions','bPzLm','New\x20hub\x20url\x20set\x20to\x20'];a27_0x2c87=function(){return _0x5b4cc5;};return a27_0x2c87();}module['exports'][a27_0x5a5bdf(0x14c)]=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_0x2e00a4=a28_0x1354;(function(_0x23854b,_0x2aadb8){const _0x5a773d=a28_0x1354,_0x102a28=_0x23854b();while(!![]){try{const _0x1da832=-parseInt(_0x5a773d(0xbe))/0x1+parseInt(_0x5a773d(0xbc))/0x2*(-parseInt(_0x5a773d(0xbd))/0x3)+parseInt(_0x5a773d(0xc4))/0x4+-parseInt(_0x5a773d(0xc7))/0x5*(parseInt(_0x5a773d(0xcb))/0x6)+parseInt(_0x5a773d(0xc2))/0x7+parseInt(_0x5a773d(0xbf))/0x8*(parseInt(_0x5a773d(0xc0))/0x9)+parseInt(_0x5a773d(0xc9))/0xa*(parseInt(_0x5a773d(0xc3))/0xb);if(_0x1da832===_0x2aadb8)break;else _0x102a28['push'](_0x102a28['shift']());}catch(_0x918565){_0x102a28['push'](_0x102a28['shift']());}}}(a28_0x496c,0x25b2a));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x2e00a4(0xc6)),{addRequestSpy}=require(a28_0x2e00a4(0xc8));function a28_0x1354(_0x27119b,_0x44339a){const _0x496c5d=a28_0x496c();return a28_0x1354=function(_0x135401,_0x178d1c){_0x135401=_0x135401-0xbc;let _0x19f6cc=_0x496c5d[_0x135401];return _0x19f6cc;},a28_0x1354(_0x27119b,_0x44339a);}exports[a28_0x2e00a4(0xc1)]={'beforeAll'(){const _0x22284c={'ZPFyW':function(_0x17a02a){return _0x17a02a();}},_0xf06e3e='browserstack internal helper hook';_0x22284c['ZPFyW'](addRequestSpy);},'afterAll'(){const _0x243a8e=a28_0x2e00a4,_0xc9928a='browserstack internal helper hook';this[_0x243a8e(0xca)](0xea60),requestSpy[_0x243a8e(0xc5)]();}};function a28_0x496c(){const _0x202437=['../../../bin/utils/constants','178105UzzMXe','../../../helpers/test-observability/utils','105890esKhoX','timeout','6biwCTL','1160hzzsCm','1434LEMmbk','159365vuYVNe','24qVVbeu','129699DygPIx','mochaHooks','867538XAVwjM','473mFjyLd','16568YaikvU','restore'];a28_0x496c=function(){return _0x202437;};return a28_0x496c();}
@@ -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_0x5dafac=a29_0x2f8b;function a29_0x2f8b(_0x161626,_0x250aa4){const _0x3d6891=a29_0x3d68();return a29_0x2f8b=function(_0x2f8b39,_0x55523f){_0x2f8b39=_0x2f8b39-0x189;let _0x43aca6=_0x3d6891[_0x2f8b39];return _0x43aca6;},a29_0x2f8b(_0x161626,_0x250aa4);}(function(_0x254bfe,_0x556f6c){const _0x4b8985=a29_0x2f8b,_0x43f2b4=_0x254bfe();while(!![]){try{const _0x53d40e=-parseInt(_0x4b8985(0x1c7))/0x1+-parseInt(_0x4b8985(0x1a6))/0x2*(parseInt(_0x4b8985(0x1ad))/0x3)+-parseInt(_0x4b8985(0x1e6))/0x4+parseInt(_0x4b8985(0x1c6))/0x5+-parseInt(_0x4b8985(0x197))/0x6*(-parseInt(_0x4b8985(0x1c1))/0x7)+parseInt(_0x4b8985(0x1c2))/0x8*(parseInt(_0x4b8985(0x1d9))/0x9)+-parseInt(_0x4b8985(0x198))/0xa*(-parseInt(_0x4b8985(0x1e7))/0xb);if(_0x53d40e===_0x556f6c)break;else _0x43f2b4['push'](_0x43f2b4['shift']());}catch(_0x411747){_0x43f2b4['push'](_0x43f2b4['shift']());}}}(a29_0x3d68,0x3b6e4));const {v4:uuidv4}=require('uuid'),{name,version}=require(a29_0x5dafac(0x193)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x5dafac(0x1d2)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x5dafac(0x1d0)),{consoleHolder}=require(a29_0x5dafac(0x192)),{getPlatformVersion}=require(a29_0x5dafac(0x19c));console={},Object['keys'](consoleHolder)[a29_0x5dafac(0x18e)](_0x3b9b7b=>{console[_0x3b9b7b]=(..._0x193d03)=>{BSTestOpsPatcher[_0x3b9b7b](..._0x193d03);};}),exports[a29_0x5dafac(0x1a2)]=()=>{const _0x124d65=a29_0x5dafac,_0x2b790c={'fePaO':_0x124d65(0x1d4),'bVueP':function(_0x106def){return _0x106def();}};return{'ci':_0x2b790c[_0x124d65(0x1e1)],'key':_0x2b790c[_0x124d65(0x190)](uuidv4),'version':version,'collector':_0x124d65(0x1c4)+name};},exports[a29_0x5dafac(0x18a)]=_0xe9b684=>{const _0x4f442c=a29_0x5dafac,_0x12e7f7={};_0x12e7f7[_0x4f442c(0x1c8)]=function(_0x631c90,_0x281ab0){return _0x631c90!==_0x281ab0;},_0x12e7f7[_0x4f442c(0x18c)]=_0x4f442c(0x1d5),_0x12e7f7[_0x4f442c(0x196)]=function(_0x509930,_0x42891f){return _0x509930!==_0x42891f;},_0x12e7f7[_0x4f442c(0x1ac)]=_0x4f442c(0x1dc),_0x12e7f7[_0x4f442c(0x1d1)]='hook';const _0x4f14c3=_0x12e7f7;if(!_0xe9b684||_0x4f14c3[_0x4f442c(0x1c8)](typeof _0xe9b684,_0x4f14c3['YlkPM']))return[null,null];if(_0x4f14c3[_0x4f442c(0x196)](_0xe9b684[_0x4f442c(0x1c0)](_0x4f14c3[_0x4f442c(0x1ac)]),-0x1)){const _0x2f7b5d=_0xe9b684[_0x4f442c(0x1e5)](_0x4f14c3[_0x4f442c(0x1ac)]);return[_0x2f7b5d[0x0]['slice'](0x0,-0x1)[_0x4f442c(0x1e5)]('\x22')[0x1],_0x2f7b5d[0x1]['substring'](0x1)];}else{if(_0x4f14c3[_0x4f442c(0x1c8)](_0xe9b684['indexOf'](_0x4f14c3['eRAVK']),-0x1)){const _0x3e4a48=_0xe9b684['split'](_0x4f14c3['eRAVK']);return[_0x3e4a48[0x0][_0x4f442c(0x1d3)](0x0,-0x1)[_0x4f442c(0x1e5)]('\x22')[0x1],_0xe9b684];}}return[null,null];},exports[a29_0x5dafac(0x1b0)]=_0x2cbc99=>{const _0x4fa900=a29_0x5dafac,_0x2027cc={'Ofkke':function(_0x1cceea,_0x51a980){return _0x1cceea(_0x51a980);},'GJHqm':_0x4fa900(0x194),'qyIeW':'_afterAll','nhbkt':'_beforeEach','ogRLq':_0x4fa900(0x1bd)};if(!_0x2cbc99||!_0x2cbc99[_0x4fa900(0x1b7)])return[];const _0x52450b=[];return[_0x2027cc['GJHqm'],_0x2027cc['qyIeW'],_0x2027cc[_0x4fa900(0x1dd)],_0x2027cc[_0x4fa900(0x1ab)]]['forEach'](_0x36f264=>{const _0x3b341c=_0x4fa900,_0x3a7152={'ahdab':function(_0x599437,_0x1c9104){return _0x2027cc['Ofkke'](_0x599437,_0x1c9104);}},_0x5a0039=_0x2cbc99['parent'][_0x36f264]||[];_0x5a0039[_0x3b341c(0x18e)](_0x53b348=>{const _0x25ed03=_0x3b341c;_0x53b348[_0x25ed03(0x1a8)]&&!_0x3a7152['ahdab'](isInternalHook,_0x53b348['fn'])&&_0x52450b[_0x25ed03(0x1cd)](_0x53b348[_0x25ed03(0x1a8)]);});}),[..._0x52450b,...exports[_0x4fa900(0x1b0)](_0x2cbc99[_0x4fa900(0x1b7)])];},exports['mapTestHooks']=_0x47344f=>{const _0x534bb3=a29_0x5dafac,_0x16194a={'yXQcz':function(_0xe9e345){return _0xe9e345();},'FGClG':function(_0x2af371,_0x661f66){return _0x2af371===_0x661f66;},'ngLQV':_0x534bb3(0x1bd),'thptr':_0x534bb3(0x194),'iLeBX':_0x534bb3(0x1b8),'tGIiB':_0x534bb3(0x1b6)};if(!_0x47344f||!_0x47344f[_0x534bb3(0x1b7)])return;[_0x16194a[_0x534bb3(0x191)],_0x16194a[_0x534bb3(0x1aa)],_0x16194a[_0x534bb3(0x1c9)],_0x16194a[_0x534bb3(0x1a3)]]['forEach'](_0x57f918=>{const _0x2d3bb4=_0x534bb3,_0x131b06={'StLsr':function(_0x40004d){const _0x62b9c7=a29_0x2f8b;return _0x16194a[_0x62b9c7(0x189)](_0x40004d);},'XTatO':function(_0x3e83b7,_0x163053){const _0x5e1cff=a29_0x2f8b;return _0x16194a[_0x5e1cff(0x1af)](_0x3e83b7,_0x163053);},'uEphs':_0x16194a['ngLQV']},_0x83fcdf=_0x47344f[_0x2d3bb4(0x1b7)][_0x57f918]||[];_0x83fcdf[_0x2d3bb4(0x18e)](_0x3bac34=>{const _0x180b9e=_0x2d3bb4;if(!_0x3bac34['hookAnalyticsId'])_0x3bac34[_0x180b9e(0x1a8)]=_0x131b06[_0x180b9e(0x19f)](uuidv4);else _0x3bac34[_0x180b9e(0x18f)]&&_0x131b06[_0x180b9e(0x1ba)](_0x57f918,_0x131b06[_0x180b9e(0x1d7)])&&(_0x3bac34['hookAnalyticsId']=_0x131b06[_0x180b9e(0x19f)](uuidv4),delete _0x3bac34[_0x180b9e(0x18f)]);});}),exports[_0x534bb3(0x1a9)](_0x47344f[_0x534bb3(0x1b7)]);},exports[a29_0x5dafac(0x1b1)]=async(_0xb1ba17,_0x5c90b3)=>{const _0x17193a=a29_0x5dafac,_0x28ae0c={'jabok':function(_0x362429){return _0x362429();},'VukFL':function(_0x3d7522,_0x36d8f9){return _0x3d7522===_0x36d8f9;},'ktHgp':_0x17193a(0x19d),'FxqME':_0x17193a(0x1c5),'tPAkK':_0x17193a(0x1b2),'gcGcM':_0x17193a(0x1da),'blFsD':'automate','ozoDZ':function(_0x443881,_0x118795){return _0x443881(_0x118795);},'Wlzrg':function(_0x1d99bb,_0x519257){return _0x1d99bb===_0x519257;},'LjaXu':_0x17193a(0x1d8),'Frayn':_0x17193a(0x1ea)};try{if(!_0x28ae0c['jabok'](isTestObservabilitySession))return;const _0x38741c=await _0xb1ba17[_0x17193a(0x1e8)](),_0x47b409=await _0xb1ba17[_0x17193a(0x1e2)](),_0x14cd02={},_0x4935ff=Object[_0x17193a(0x1a0)](_0x47b409[_0x17193a(0x1e8)]()[_0x17193a(0x18d)]),_0xaea31f={'product':_0x28ae0c[_0x17193a(0x1e9)](global[_0x17193a(0x1eb)],_0x28ae0c[_0x17193a(0x1a7)])?_0x4935ff[_0x28ae0c[_0x17193a(0x18b)]]||_0x4935ff[_0x28ae0c[_0x17193a(0x1ce)]]?_0x28ae0c['gcGcM']:_0x28ae0c[_0x17193a(0x1b5)]:null,'capabilities':_0x4935ff,'platform':_0x38741c[_0x17193a(0x1cf)](),'platform_version':_0x28ae0c['ozoDZ'](getPlatformVersion,_0x28ae0c[_0x17193a(0x1bf)](global['__cloud_provider___'],_0x28ae0c[_0x17193a(0x1a7)])),'browser':_0x38741c[_0x17193a(0x19b)](),'browser_version':_0x38741c[_0x17193a(0x1bb)](),'session_id':_0x47b409[_0x17193a(0x1ca)]()};global['__cloud_provider___']?_0x14cd02[global[_0x17193a(0x1eb)]]=_0xaea31f:_0x14cd02[_0x28ae0c['LjaXu']]=_0xaea31f,process[_0x17193a(0x1be)](_0x17193a(0x1cc)+process[_0x17193a(0x1a4)],{'timestamp':new Date()[_0x17193a(0x199)](),'level':null,'message':null,'kind':_0x28ae0c[_0x17193a(0x1b3)],'http_response':_0x14cd02,'uuid':_0x5c90b3});}catch(_0x4f48d4){_0x28ae0c[_0x17193a(0x1ae)](debug,_0x17193a(0x19e)+_0x4f48d4);}},exports[a29_0x5dafac(0x1a5)]=_0x5ed6a0=>{const _0x4553d2=a29_0x5dafac,_0x3b1a7d={};_0x3b1a7d[_0x4553d2(0x1df)]=function(_0x4b08f9,_0x3cf001){return _0x4b08f9!==_0x3cf001;},_0x3b1a7d['JJQiW']=_0x4553d2(0x1bc),_0x3b1a7d[_0x4553d2(0x1b4)]=function(_0x16370e,_0x2cd804){return _0x16370e!==_0x2cd804;},_0x3b1a7d[_0x4553d2(0x1de)]=_0x4553d2(0x1db),_0x3b1a7d['UkpFg']=function(_0x4aa365,_0x261ff8){return _0x4aa365!==_0x261ff8;},_0x3b1a7d[_0x4553d2(0x1cb)]='failed';const _0x3d402a=_0x3b1a7d,_0x11df2a=_0x5ed6a0[_0x4553d2(0x1a1)][_0x4553d2(0x1b9)]((_0x258307,_0x5e96b5)=>{const _0x11b90f=_0x4553d2,_0x324c7b=exports[_0x11b90f(0x1a5)](_0x5e96b5);return _0x324c7b&&(_0x258307=_0x258307[_0x11b90f(0x1e4)](_0x324c7b)),_0x258307;},[]),_0x5a369a=_0x5ed6a0[_0x4553d2(0x19a)][_0x4553d2(0x1e3)](_0x38a12a=>{const _0x156926=_0x4553d2,_0x3276dd=_0x3d402a['MSzjg'](_0x38a12a[_0x156926(0x1e0)],_0x3d402a[_0x156926(0x1c3)])&&!_0x38a12a[_0x156926(0x18f)]&&_0x3d402a[_0x156926(0x1b4)](_0x38a12a[_0x156926(0x1d6)],_0x3d402a['IzGfk'])&&_0x3d402a['UkpFg'](_0x38a12a['state'],_0x3d402a[_0x156926(0x1cb)])&&!_0x38a12a[_0x156926(0x195)];return _0x3276dd;});return _0x5a369a[_0x4553d2(0x1e4)](_0x11df2a);};function a29_0x3d68(){const _0xd18e3d=['getSession','filter','concat','split','1442944XmhwWA','11XvTunf','getCapabilities','VukFL','TEST_PLATFORM','__cloud_provider___','yXQcz','getHookDetails','FxqME','YlkPM','map_','forEach','markedStatus','bVueP','thptr','../../../helpers/test-observability/constants','../../../../package.json','_beforeAll','pending','hmLVw','1073616WeXmod','3728390czgYuu','toISOString','tests','getBrowserName','../../../helpers/helper','browserstack','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','StLsr','fromEntries','suites','getTestEnv','ngLQV','pid','getHookSkippedTests','2894uFcYhg','ktHgp','hookAnalyticsId','mapTestHooks','iLeBX','ogRLq','mkdjo','789AxMoYt','ozoDZ','FGClG','getHooksForTest','sendPlatformDetails','app','Frayn','FBjHS','blFsD','_beforeEach','parent','_afterAll','reduce','XTatO','getBrowserVersion','hook','_afterEach','emit','Wlzrg','indexOf','14tYSBBN','7808lCQAGy','JJQiW','js-','appium:app','1673160fczhqQ','316810qgmmBh','SmsVn','tGIiB','toJSON','InNqR','bs:addPlatformDetails:','push','tPAkK','getPlatform','../../../helpers/test-observability/utils','eRAVK','../../utils/logReportingAPI','slice','generic','string','state','uEphs','unknown_grid','2178iUqRCD','app-automate','passed','hook:','nhbkt','IzGfk','MSzjg','type','fePaO'];a29_0x3d68=function(){return _0xd18e3d;};return a29_0x3d68();}
@@ -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
+ const a30_0x1f8019=a30_0x2fec;function a30_0x5ee5(){const _0xcb7aaf=['4647520vQPnRe','BlBAk','MwjDl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','3682944PjqfQQ','14PQkSFS','performScan','driverCleanup','\x20-\x20','startMonitoring','percy','session_','titlePath','KxfmC','../../helpers/globals','HcnVM','quitCount_','WTpGS','BS_A11Y_TEST_RUN_ID','Failed:\x20','emqAT','app','setGlobal','accessibilityScanStarted','file','ObservabilitySync:','push','3361152fPkbAQ','saveTestResults','shift','browserstackSessionName','../../helpers/accessibility-automation/helper','../../helpers/percy/utils','currentTest','obEEW','info','shouldScanTestForAccessibility','LxlkW','Rirdm','message','eVPmN','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','GOzIU','5371965plrggv','dwznC','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','375812hUrGOc','pbnyY','now','VVpAm','then','UvDQG','fTHUJ','__skipSessionName','state','util','15EMgkTQ','677752aWrUQb',',\x22level\x22:\x20\x22','protocol','../../helpers/performance-tester','bstackA11yShouldScan','error','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','join','failed','mwVSV','\x22}}','IiSbP','jFPMx','hWQhS','testAnalyticsId','SGVBn','../../helpers/accessibility-automation/scripts','dtrBf','FxkgH','oiMDE','capabilities','__error_messages__','isAccessibilityPlatform','owobA','initQuit','getGlobal','xCgKl','format','../../helpers/test-observability/utils','rGsTn','zXryF','kOYix','rsjbw','XjAef','https:','executeAsyncScript','Automate\x20test\x20case\x20execution\x20has\x20started.','env','ZoAav','timeout','2948432lMdMZH','isArray','Kggcq','stringify','getCurrentUrl','Wnujl','length','NlHpM','percyCaptureMode','../../helpers/logger','__sessionFailed','jbVsz','.\x20Error\x20:','err','executeScript','testcase','ndHMl','\x20|\x20','__drivers','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','debug'];a30_0x5ee5=function(){return _0xcb7aaf;};return a30_0x5ee5();}(function(_0x1ae992,_0x266fd5){const _0x3e8678=a30_0x2fec,_0x4d1ab3=_0x1ae992();while(!![]){try{const _0x323c0d=-parseInt(_0x3e8678(0x20a))/0x1+-parseInt(_0x3e8678(0x1ff))/0x2*(parseInt(_0x3e8678(0x209))/0x3)+parseInt(_0x3e8678(0x1ba))/0x4+parseInt(_0x3e8678(0x1d0))/0x5+-parseInt(_0x3e8678(0x1d5))/0x6+parseInt(_0x3e8678(0x1d6))/0x7*(parseInt(_0x3e8678(0x1ec))/0x8)+parseInt(_0x3e8678(0x1fc))/0x9;if(_0x323c0d===_0x266fd5)break;else _0x4d1ab3['push'](_0x4d1ab3['shift']());}catch(_0x50eafd){_0x4d1ab3['push'](_0x4d1ab3['shift']());}}}(a30_0x5ee5,0xd50e7));function a30_0x2fec(_0x361d28,_0x28ed39){const _0x5ee5db=a30_0x5ee5();return a30_0x2fec=function(_0x2fec92,_0x5ead63){_0x2fec92=_0x2fec92-0x192;let _0x1a9075=_0x5ee5db[_0x2fec92];return _0x1a9075;},a30_0x2fec(_0x361d28,_0x28ed39);}const util=require(a30_0x1f8019(0x208)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x1f8019(0x1f0)),{percyAutoCapture}=require(a30_0x1f8019(0x1f1)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x1f8019(0x1ae)),PerformanceTester=require(a30_0x1f8019(0x194)),scripts=require(a30_0x1f8019(0x1a2)),globals=require(a30_0x1f8019(0x1df)),logger=require(a30_0x1f8019(0x1c3))[a30_0x1f8019(0x197)];exports['mochaHooks']={'beforeAll'(){const _0x4469b6=a30_0x1f8019,_0x5c901b={'SGVBn':function(_0x31cd98,_0x4e9d23,_0x2caeb9,_0x6b7ebe){return _0x31cd98(_0x4e9d23,_0x2caeb9,_0x6b7ebe);},'KxfmC':_0x4469b6(0x19a),'PenPh':_0x4469b6(0x1cb),'MwjDl':function(_0x245295,_0x1f94f9,_0x135786){return _0x245295(_0x1f94f9,_0x135786);},'rGsTn':_0x4469b6(0x1d4),'ndHMl':function(_0x596897){return _0x596897();}};PerformanceTester[_0x4469b6(0x1da)]();const _0x7c8654='browserstack internal helper hook';global['__error_messages__']=[],global[_0x4469b6(0x1c4)]=![],global[_0x4469b6(0x1d8)]=async()=>{const _0x443d28=_0x4469b6;let _0x2ff16f=![];try{await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1dc)],_0x2ff16f=!![],global['__sessionFailed']?await _0x5c901b[_0x443d28(0x1a1)](markSessionStatus,global[_0x443d28(0x1cc)][0x0],_0x5c901b[_0x443d28(0x1de)],global[_0x443d28(0x1a7)][_0x443d28(0x199)](_0x5c901b['PenPh'])):await _0x5c901b[_0x443d28(0x1d2)](markSessionStatus,global['__drivers'][0x0],_0x5c901b[_0x443d28(0x1af)]);}catch(_0x381544){}global[_0x443d28(0x1a7)]=[],global[_0x443d28(0x1c4)]=![];if(_0x2ff16f)try{try{_0x5c901b[_0x443d28(0x1ca)](isTestObservabilitySession)&&(global[_0x443d28(0x1cc)][0x0]&&await _0x5c901b['MwjDl'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x443d28(0x1f2)]['testAnalyticsId']:null));}catch{}await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1aa)]();}catch(_0x51f578){}};},'beforeEach'(_0x951200){const _0x5e1f55=a30_0x1f8019,_0x5084c1={'DlRjP':function(_0x3d4bc4,_0x338ba8){return _0x3d4bc4>_0x338ba8;},'UvDQG':function(_0x48a50f,_0x59b4fc){return _0x48a50f>_0x59b4fc;},'Rirdm':_0x5e1f55(0x1d9),'dtrBf':function(_0x420ca9,_0x1ce0e6,_0x1b6916){return _0x420ca9(_0x1ce0e6,_0x1b6916);},'XjAef':_0x5e1f55(0x195),'rsjbw':function(_0x38c20c){return _0x38c20c();},'IiSbP':function(_0x1fbcad,_0x1cc821){return _0x1fbcad>_0x1cc821;},'zXryF':_0x5e1f55(0x1a8),'emqAT':function(_0x4b0952,_0x15fb85){return _0x4b0952===_0x15fb85;},'eVPmN':'http:','aiNTm':_0x5e1f55(0x1b4),'LxlkW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VVpAm':_0x5e1f55(0x1b6),'jbVsz':function(_0x3dd113){return _0x3dd113();}};new Promise(async _0x37861b=>{const _0x374d2c=_0x5e1f55,_0x34dd7b='browserstack internal helper hook';let _0x1c961c=!![];try{_0x5084c1['DlRjP'](global[_0x374d2c(0x1cc)]['length'],0x1)&&(await global[_0x374d2c(0x1d8)](),global[_0x374d2c(0x1cc)][_0x374d2c(0x1ee)]()),_0x5084c1[_0x374d2c(0x204)](global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1e1)],0x0)&&(_0x1c961c=![],await global[_0x374d2c(0x1d8)]());}catch{}try{Array[_0x374d2c(0x1bb)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x374d2c(0x1cc)][0x0]['browserstackSessionName']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()[_0x374d2c(0x199)](_0x5084c1[_0x374d2c(0x1f7)])),global[_0x374d2c(0x1ef)]=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()['join'](_0x5084c1[_0x374d2c(0x1f7)]);}catch(_0x3af64f){logger[_0x374d2c(0x1cf)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3af64f);}this['currentTest'][_0x374d2c(0x1f5)]=_0x5084c1[_0x374d2c(0x1a3)](shouldScanTestForAccessibility,this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)](),!![]),globals[_0x374d2c(0x1e7)](_0x5084c1[_0x374d2c(0x1b3)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]),this['currentTest'][_0x374d2c(0x1e8)]=!![];if(_0x5084c1[_0x374d2c(0x1b2)](isAccessibilityAutomationSession)&&_0x1c961c&&Array[_0x374d2c(0x1bb)](global[_0x374d2c(0x1cc)])&&_0x5084c1[_0x374d2c(0x19d)](global[_0x374d2c(0x1cc)][_0x374d2c(0x1c0)],0x0)&&globals[_0x374d2c(0x1ab)](_0x5084c1[_0x374d2c(0x1b0)]))try{const _0x569451=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1dc)];if(_0x569451){let _0xe1a796=!![];const _0x3429a0=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1be)]();let _0x29459d;try{_0x29459d=new URL(_0x3429a0);}catch(_0x215f8a){_0xe1a796=![];}_0xe1a796=_0x5084c1[_0x374d2c(0x1e5)](_0x29459d[_0x374d2c(0x193)],_0x5084c1[_0x374d2c(0x1f9)])||_0x5084c1['emqAT'](_0x29459d['protocol'],_0x5084c1['aiNTm']),_0xe1a796&&(this['currentTest'][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x1f6)])),this[_0x374d2c(0x1f2)]['accessibilityScanStarted']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x202)]);}}catch(_0x2d07e2){logger[_0x374d2c(0x196)](_0x374d2c(0x1fa)+util['format'](_0x2d07e2));}_0x5084c1[_0x374d2c(0x1c5)](_0x37861b);})[_0x5e1f55(0x203)](_0x951200);},'afterEach'(_0x1a7bcd){const _0x3fe3e7=a30_0x1f8019,_0x3da5b3={'GOzIU':function(_0x12ec40,_0x245a20){return _0x12ec40>_0x245a20;},'TtPiH':function(_0x37129c,_0x3e193f){return _0x37129c===_0x3e193f;},'Kggcq':_0x3fe3e7(0x1c9),'jFPMx':'appium:app','kOYix':function(_0x5d6594,_0x50bf72,_0x16db6c,_0x8415f3){return _0x5d6594(_0x50bf72,_0x16db6c,_0x8415f3);},'NlHpM':_0x3fe3e7(0x1d9),'Wnujl':function(_0x50516f,_0x39ccfd){return _0x50516f!==_0x39ccfd;},'oiMDE':_0x3fe3e7(0x1d4),'FxkgH':function(_0x5c26ee,_0x177fbd,_0x34c00e){return _0x5c26ee(_0x177fbd,_0x34c00e);},'UTYHy':function(_0xfbc399,_0x3a733f){return _0xfbc399+_0x3a733f;},'ZoAav':_0x3fe3e7(0x1e4),'HcnVM':_0x3fe3e7(0x196),'gkiSH':'Passed','fTHUJ':_0x3fe3e7(0x1f4),'mwVSV':'isAccessibilityPlatform','cydsO':'bstackA11yShouldScan','obEEW':_0x3fe3e7(0x1fe),'owobA':function(_0x1cf7c4,_0xaf590b){return _0x1cf7c4(_0xaf590b);},'hWQhS':'Performing\x20scan\x20before\x20saving\x20results','BlBAk':_0x3fe3e7(0x1d3),'WTpGS':function(_0x25f3ed){return _0x25f3ed();},'xCgKl':function(_0x23edde,_0x542303,_0x8dbd02){return _0x23edde(_0x542303,_0x8dbd02);},'pbnyY':function(_0x4fe90a){return _0x4fe90a();},'JHdOh':_0x3fe3e7(0x1cf)},_0x6544c4='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5f4168=async(_0x2bd903,_0x51ac4b)=>{const _0x484138=_0x3fe3e7;await global[_0x484138(0x1cc)][0x0][_0x484138(0x1c8)](_0x484138(0x1ce)+_0x2bd903+_0x484138(0x192)+_0x51ac4b+_0x484138(0x19c));};new Promise(async _0x18963b=>{const _0x15b9f0=_0x3fe3e7;try{_0x3da5b3[_0x15b9f0(0x1fb)](global['__drivers']['length'],0x1)&&(await global[_0x15b9f0(0x1d8)](),global[_0x15b9f0(0x1cc)][_0x15b9f0(0x1ee)](),global['__error_messages__']=[],global[_0x15b9f0(0x1c4)]=![]);try{if(global[_0x15b9f0(0x1db)]&&_0x3da5b3['TtPiH'](global[_0x15b9f0(0x1c2)],_0x3da5b3[_0x15b9f0(0x1bc)])&&global[_0x15b9f0(0x1cc)][0x0]){const _0x56403d=_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1a6)][_0x15b9f0(0x1c0)],0x0)?!!global['capabilities'][0x0][_0x15b9f0(0x1e6)]||!!global[_0x15b9f0(0x1a6)][0x0][_0x3da5b3[_0x15b9f0(0x19e)]]:![],_0x9f8e5a={};_0x9f8e5a[_0x15b9f0(0x1e6)]=_0x56403d,await _0x3da5b3[_0x15b9f0(0x1b1)](percyAutoCapture,global[_0x15b9f0(0x1cc)][0x0],_0x3da5b3['Kggcq'],_0x9f8e5a);}}catch(_0x3377bd){}!global[_0x15b9f0(0x206)]&&(await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1c8)](_0x15b9f0(0x198)+JSON['stringify'](this['currentTest'][_0x15b9f0(0x1dd)]()['join'](_0x3da5b3[_0x15b9f0(0x1c1)]))+'}}'),global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1cd)]=!![]);const _0xa49434=_0x3da5b3[_0x15b9f0(0x1bf)](this['currentTest'][_0x15b9f0(0x207)],_0x3da5b3[_0x15b9f0(0x1a5)]);_0xa49434?(global[_0x15b9f0(0x1c4)]=!![],global[_0x15b9f0(0x1a7)][_0x15b9f0(0x1eb)](this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1c7)]['message']),await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['UTYHy'](_0x3da5b3[_0x15b9f0(0x1b8)],this['currentTest'][_0x15b9f0(0x1c7)][_0x15b9f0(0x1f8)])),_0x3da5b3[_0x15b9f0(0x1e0)])):await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['gkiSH']),_0x3da5b3[_0x15b9f0(0x205)]);}catch(_0x4a409a){}try{if(this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e8)]&&globals['getGlobal'](_0x3da5b3[_0x15b9f0(0x19b)])&&globals[_0x15b9f0(0x1ab)](_0x3da5b3['cydsO'])){logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1f3)]);const _0x16a7d4={'saveResults':this[_0x15b9f0(0x1f2)]['shouldScanTestForAccessibility'],'testDetails':{'name':this[_0x15b9f0(0x1f2)]['title'],'testRunId':process[_0x15b9f0(0x1b7)][_0x15b9f0(0x1e3)],'filePath':this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e9)],'scopeList':this['currentTest'][_0x15b9f0(0x1dd)]()},'platform':await _0x3da5b3[_0x15b9f0(0x1a9)](fetchPlatformDetails,global['__drivers'][0x0])};logger[_0x15b9f0(0x1cf)](_0x3da5b3[_0x15b9f0(0x19f)]),logger[_0x15b9f0(0x1cf)](util[_0x15b9f0(0x1ad)](await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1b5)](scripts[_0x15b9f0(0x1d7)],{'method':global['browserstackSessionName']}))),await global[_0x15b9f0(0x1cc)][0x0]['executeAsyncScript'](scripts[_0x15b9f0(0x1ed)],_0x16a7d4),logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1d1)]);}}catch(_0x1127ca){logger[_0x15b9f0(0x196)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x15b9f0(0x1f2)]['titlePath']()+_0x15b9f0(0x1c6),_0x1127ca);}try{try{if(_0x3da5b3[_0x15b9f0(0x1e2)](isTestObservabilitySession)){global[_0x15b9f0(0x1cc)][0x0]&&await _0x3da5b3[_0x15b9f0(0x1ac)](sendPlatformDetails,global[_0x15b9f0(0x1cc)][0x0],this[_0x15b9f0(0x1f2)]?this['currentTest'][_0x15b9f0(0x1a0)]:null);if(_0x3da5b3[_0x15b9f0(0x200)](isBrowserstackInfra)){const _0x5e9836=_0x15b9f0(0x1ea)+Date[_0x15b9f0(0x201)]();await _0x3da5b3[_0x15b9f0(0x1ac)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x5e9836),_0x3da5b3['JHdOh']);}}}catch{}_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1e1)],0x0)&&await global[_0x15b9f0(0x1d8)]();}catch(_0xaf5197){}_0x3da5b3[_0x15b9f0(0x200)](_0x18963b);})[_0x3fe3e7(0x203)](()=>_0x1a7bcd());},'afterAll'(_0x4504e3){const _0x14e066=a30_0x1f8019,_0x458828={'dwznC':function(_0x4ac91a){return _0x4ac91a();}},_0x29d484='browserstack internal helper hook';this[_0x14e066(0x1b9)](0xfde8),new Promise(async _0x28f20e=>{const _0x540ca6=_0x14e066;PerformanceTester['stopMonitoring'](),await global[_0x540ca6(0x1d8)](),_0x458828[_0x540ca6(0x1fd)](_0x28f20e);})[_0x14e066(0x203)](()=>_0x4504e3());}};
@@ -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';function a31_0x5363(){const _0x441475=['nightwatch-browserstack.json','writeFileSync','../../helpers/helper','map','length','join','debug','platform','--env','config','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','liNYj','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','sfgTS','hub.browserstack.com','cwd','test_settings','env','exports','7806786vXJzbC','existsSync','selenium','eqGuf','1660IEYCZn','modifyBrowserStackCaps','ezOJQ','child\x20process\x20exited\x20with\x20code\x20','XfiDm','sTRoS','JCMDJ','findIndex','2004KoBWLQ','../../helpers/BrowserStackSetup','slice','--config','2069127NvUpHV','12715829VMaYpl','child_process','../../helpers/logger','SSlZv','getPlatformName','bBcdK','filter','TywNj','webdriver','Deleting\x20','desiredCapabilities','push','test','LRzID','path','platforms','7320436sCNBAb','ZrHOB','port','8miOFLw','mergeDeep','split','uuwsO','UwqXA','../utils/constants','host','dQmTL','nightwatch.json','info','forEach','nightwatch.cmd','IJzjf','isUndefined','cApFO','splice','winstonLogger','ysTNY','inherit','start_process','stringify','2080805eWciaj','now','kuArs','trim','452392lmsJMN','Getting\x20your\x20nightwatch\x20configs\x20from\x20'];a31_0x5363=function(){return _0x441475;};return a31_0x5363();}const a31_0x5224e8=a31_0x43dc;(function(_0xfa9345,_0x33878d){const _0x5ccdf0=a31_0x43dc,_0xebf629=_0xfa9345();while(!![]){try{const _0x27f36e=-parseInt(_0x5ccdf0(0x9e))/0x1+-parseInt(_0x5ccdf0(0xb7))/0x2*(parseInt(_0x5ccdf0(0x6d))/0x3)+parseInt(_0x5ccdf0(0x82))/0x4+parseInt(_0x5ccdf0(0x9a))/0x5+parseInt(_0x5ccdf0(0xb3))/0x6+-parseInt(_0x5ccdf0(0x72))/0x7+parseInt(_0x5ccdf0(0x85))/0x8*(parseInt(_0x5ccdf0(0x71))/0x9);if(_0x27f36e===_0x33878d)break;else _0xebf629['push'](_0xebf629['shift']());}catch(_0x2f1e0f){_0xebf629['push'](_0xebf629['shift']());}}}(a31_0x5363,0xe8e45));const fs=require('fs'),path=require(a31_0x5224e8(0x80)),{spawn}=require(a31_0x5224e8(0x73)),logger=require(a31_0x5224e8(0x74))[a31_0x5224e8(0x95)],{default:BrowserStackSetup}=require(a31_0x5224e8(0x6e)),helper=require(a31_0x5224e8(0xa2)),constants=require(a31_0x5224e8(0x8a)),getUserNightwatchConfigs=(_0x35154d,_0x503b7b)=>{const _0x1d9363=a31_0x5224e8,_0x5023d={'sTRoS':'nightwatch.conf.js','XfiDm':_0x1d9363(0x8d),'dQmTL':function(_0x42ce79,_0x2044e3){return _0x42ce79(_0x2044e3);},'kuArs':_0x1d9363(0xac)};let _0x48e5a9=null,_0x230111={};const _0x17a964=_0x503b7b[_0x1d9363(0x6c)](_0x3519b8=>_0x3519b8==='--config');if(!helper[_0x1d9363(0x92)](_0x35154d[_0x1d9363(0xa9)])&&fs[_0x1d9363(0xb4)](path[_0x1d9363(0xa5)](process[_0x1d9363(0xaf)](),_0x35154d[_0x1d9363(0xa9)])))_0x48e5a9=path['join'](process[_0x1d9363(0xaf)](),_0x35154d[_0x1d9363(0xa9)]),_0x503b7b['splice'](_0x17a964,0x2);else{if(fs['existsSync'](path[_0x1d9363(0xa5)](process['cwd'](),_0x5023d['sTRoS'])))_0x48e5a9=path[_0x1d9363(0xa5)](process[_0x1d9363(0xaf)](),_0x5023d[_0x1d9363(0x6a)]);else fs[_0x1d9363(0xb4)](path[_0x1d9363(0xa5)](process['cwd'](),_0x5023d[_0x1d9363(0xbb)]))&&(_0x48e5a9=path['join'](process[_0x1d9363(0xaf)](),_0x5023d[_0x1d9363(0xbb)]));}return _0x48e5a9?(logger[_0x1d9363(0x8e)](_0x1d9363(0x9f)+_0x48e5a9),_0x230111=_0x5023d[_0x1d9363(0x8c)](require,_0x48e5a9)):logger[_0x1d9363(0x8e)](_0x5023d[_0x1d9363(0x9c)]),_0x230111;},removeExistingEnvs=_0x45c0ea=>{const _0x4db6ec=a31_0x5224e8,_0x3ba992={};_0x3ba992['IJzjf']=function(_0x136b3c,_0x17e19c){return _0x136b3c>_0x17e19c;},_0x3ba992[_0x4db6ec(0x79)]=function(_0x111fa9,_0x4ba656){return _0x111fa9>_0x4ba656;};const _0x32ba91=_0x3ba992;let _0x3d2714=_0x45c0ea[_0x4db6ec(0x6c)](_0x1432b9=>_0x1432b9===_0x4db6ec(0xa8));_0x32ba91[_0x4db6ec(0x91)](_0x3d2714,-0x1)&&_0x45c0ea[_0x4db6ec(0x94)](_0x3d2714,0x2),_0x3d2714=_0x45c0ea[_0x4db6ec(0x6c)](_0x3068fc=>_0x3068fc==='-e'),_0x32ba91[_0x4db6ec(0x79)](_0x3d2714,-0x1)&&_0x45c0ea[_0x4db6ec(0x94)](_0x3d2714,0x2);};function run(_0x1ce54e,_0x100196){const _0x3be248=a31_0x5224e8,_0x16a630={'sfgTS':'nightwatch','bBcdK':function(_0x310797,_0x19c3d6){return _0x310797+_0x19c3d6;},'SSlZv':_0x3be248(0xb0),'HbtJD':function(_0x3c3cb6,_0x4b5d60,_0x500300){return _0x3c3cb6(_0x4b5d60,_0x500300);},'JCMDJ':_0x3be248(0xae),'IlEgZ':_0x3be248(0xaa),'uuwsO':function(_0x5b94cb,_0x575a66){return _0x5b94cb===_0x575a66;},'UwqXA':_0x3be248(0xa0),'liNYj':function(_0x7ee79,_0x315510){return _0x7ee79(_0x315510);},'cApFO':function(_0x3615c7,_0x9a87a3,_0x1bf5b0,_0x50b1d7){return _0x3615c7(_0x9a87a3,_0x1bf5b0,_0x50b1d7);},'ZrHOB':_0x3be248(0x90),'LRzID':_0x3be248(0x70),'ezOJQ':_0x3be248(0xa8),'eqGuf':_0x3be248(0x97),'ysTNY':'close'},_0x24ae6b=new BrowserStackSetup(_0x1ce54e);if(!_0x24ae6b[_0x3be248(0xa9)])return;const _0x3d7485=_0x16a630['HbtJD'](getUserNightwatchConfigs,_0x1ce54e,_0x100196),_0x31f022={};_0x31f022[_0x3be248(0x98)]=![];const _0x3f5e2d={};_0x3f5e2d[_0x3be248(0x8b)]=_0x16a630[_0x3be248(0x6b)],_0x3f5e2d[_0x3be248(0x84)]=0x1bb;const _0x4fe05b={};_0x4fe05b[_0x3be248(0x7a)]=_0x31f022,_0x4fe05b[_0x3be248(0xb5)]=_0x3f5e2d;const _0x4229a9=_0x4fe05b;logger[_0x3be248(0x8e)](_0x16a630['IlEgZ']);const _0x3dec4b={..._0x3d7485},_0x4f40ed=_0x3dec4b,_0x59a88e=helper['useW3C'](_0x24ae6b[_0x3be248(0xa9)]),_0x236422=[];_0x24ae6b[_0x3be248(0xa9)][_0x3be248(0x81)][_0x3be248(0x8f)]((_0x4df9a5,_0x5f49dc)=>{const _0x476e40=_0x3be248;_0x59a88e?_0x236422[_0x476e40(0x7d)](helper['modifyBrowserStackW3CCaps'](_0x24ae6b['config'],_0x16a630[_0x476e40(0xad)],_0x5f49dc)):_0x236422['push'](helper[_0x476e40(0xb8)](_0x24ae6b['config'],_0x16a630[_0x476e40(0xad)],_0x5f49dc));});const _0x479583={},_0x29b607=[];_0x1ce54e[_0x3be248(0xb1)]=_0x1ce54e['env']||_0x1ce54e['e'];const _0x18aec4=_0x1ce54e[_0x3be248(0xb1)]?_0x1ce54e[_0x3be248(0xb1)][_0x3be248(0x9d)]()[_0x3be248(0x87)](',')[_0x3be248(0xa3)](_0x332739=>_0x332739[_0x3be248(0x9d)]())[_0x3be248(0x78)](_0x4f9718=>_0x4f9718!==''):[''];_0x16a630[_0x3be248(0x88)](_0x18aec4[_0x3be248(0xa4)],0x0)&&_0x18aec4[_0x3be248(0x7d)]('');_0x18aec4[_0x3be248(0x8f)](_0x55cc17=>{const _0x32b200=_0x3be248;_0x236422[_0x32b200(0x8f)](_0x5a1373=>{const _0xe0e8d=_0x32b200;let _0x52ec7e=_0x16a630[_0xe0e8d(0x77)](helper[_0xe0e8d(0x76)](_0x5a1373,'_'),'_'+Date[_0xe0e8d(0x9b)]());_0x55cc17&&(_0x52ec7e+='_'+_0x55cc17);if(_0x55cc17&&(!_0x3d7485[_0x16a630[_0xe0e8d(0x75)]]||!_0x3d7485[_0x16a630[_0xe0e8d(0x75)]][_0x55cc17]))return;const _0x10b3b7={..._0x4229a9};_0x10b3b7[_0xe0e8d(0x7c)]=_0x5a1373;const _0x630222=_0x10b3b7;_0x479583[_0x52ec7e]=_0x55cc17?helper[_0xe0e8d(0x86)](_0x3d7485[_0x16a630[_0xe0e8d(0x75)]][_0x55cc17],_0x630222):_0x630222,_0x29b607[_0xe0e8d(0x7d)](_0x52ec7e);});});!_0x4f40ed[_0x3be248(0xb0)]&&(_0x4f40ed[_0x3be248(0xb0)]={});_0x4f40ed['test_settings']={..._0x4f40ed['test_settings'],..._0x479583};const _0xeadd52=path[_0x3be248(0xa5)](__dirname,_0x16a630[_0x3be248(0x89)]);fs[_0x3be248(0xa1)](_0xeadd52,JSON[_0x3be248(0x99)](_0x4f40ed)),_0x16a630[_0x3be248(0xab)](removeExistingEnvs,_0x100196);const _0x513720=_0x16a630[_0x3be248(0x93)](spawn,/^win/[_0x3be248(0x7e)](process[_0x3be248(0xa7)])?_0x16a630[_0x3be248(0x83)]:_0x16a630['sfgTS'],[_0x16a630[_0x3be248(0x7f)],_0xeadd52,..._0x100196[_0x3be248(0x6f)](0x1),_0x16a630[_0x3be248(0xb9)],_0x29b607[_0x3be248(0xa5)](',')],{'stdio':_0x16a630[_0x3be248(0xb6)]});_0x513720['on'](_0x16a630[_0x3be248(0x96)],async _0x5086c9=>{const _0x28d957=_0x3be248;logger[_0x28d957(0xa6)](_0x28d957(0xba)+_0x5086c9),logger[_0x28d957(0x8e)](_0x28d957(0x7b)+_0xeadd52),fs['unlinkSync'](_0xeadd52);});}function a31_0x43dc(_0x410b3e,_0x432222){const _0x5363ef=a31_0x5363();return a31_0x43dc=function(_0x43dced,_0x5e0e43){_0x43dced=_0x43dced-0x6a;let _0x28a45b=_0x5363ef[_0x43dced];return _0x28a45b;},a31_0x43dc(_0x410b3e,_0x432222);}module[a31_0x5224e8(0xb2)]=run;
@@ -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
+ const a32_0x45786d=a32_0x16c3;function a32_0x16c3(_0x4cbbaa,_0x2f660d){const _0x4f38ee=a32_0x4f38();return a32_0x16c3=function(_0x16c30d,_0x5d76dc){_0x16c30d=_0x16c30d-0x7e;let _0x5e3156=_0x4f38ee[_0x16c30d];return _0x5e3156;},a32_0x16c3(_0x4cbbaa,_0x2f660d);}(function(_0x1bc5a4,_0x372d6a){const _0x1b642f=a32_0x16c3,_0xb7747a=_0x1bc5a4();while(!![]){try{const _0x16c69c=-parseInt(_0x1b642f(0xa5))/0x1+-parseInt(_0x1b642f(0x80))/0x2+parseInt(_0x1b642f(0xb0))/0x3+-parseInt(_0x1b642f(0xd5))/0x4*(parseInt(_0x1b642f(0xd0))/0x5)+parseInt(_0x1b642f(0x8f))/0x6*(-parseInt(_0x1b642f(0xa6))/0x7)+parseInt(_0x1b642f(0xac))/0x8*(parseInt(_0x1b642f(0xcc))/0x9)+parseInt(_0x1b642f(0x92))/0xa*(parseInt(_0x1b642f(0x9f))/0xb);if(_0x16c69c===_0x372d6a)break;else _0xb7747a['push'](_0xb7747a['shift']());}catch(_0x609c09){_0xb7747a['push'](_0xb7747a['shift']());}}}(a32_0x4f38,0x92e2f));const util=require(a32_0x45786d(0x96)),logger=require('../../helpers/logger')[a32_0x45786d(0xd8)],{isAccessibilityAutomationSession}=require(a32_0x45786d(0x8b)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a32_0x45786d(0xde)]=async(_0x48f39d,_0x4728a3,_0x474ad2={})=>{const _0x843c43=a32_0x45786d,_0x48cce4={};_0x48cce4['oqdXT']=_0x843c43(0xc7);const _0x57b040=_0x48cce4;return await _0x48f39d[_0x843c43(0xa9)](_0x843c43(0xcb)+_0x4728a3['replace'](/arguments/g,_0x57b040['oqdXT'])+_0x843c43(0xa7)+JSON['stringify'](_0x474ad2)+')');},exports[a32_0x45786d(0xe0)]=async(_0x32e6fa,_0x5e615e,_0x538dfa={})=>{const _0x3020ea=a32_0x45786d,_0x295189={};_0x295189[_0x3020ea(0xaf)]=function(_0x56d118,_0x1ce827){return _0x56d118===_0x1ce827;},_0x295189['sWJVe']=_0x3020ea(0xc1),_0x295189[_0x3020ea(0x90)]=function(_0x1b8a30,_0x5d2c26){return _0x1b8a30===_0x5d2c26;},_0x295189['tffKe']=_0x3020ea(0xe4),_0x295189[_0x3020ea(0x83)]=_0x3020ea(0xc7);const _0x27464e=_0x295189;if(_0x27464e['YtLuX'](_0x32e6fa['constructor']['name'],_0x27464e[_0x3020ea(0xc4)]))return await _0x32e6fa[_0x3020ea(0xb9)](_0x5e615e,_0x538dfa);else{if(_0x27464e[_0x3020ea(0x90)](_0x32e6fa[_0x3020ea(0xaa)]['name'],_0x27464e[_0x3020ea(0x93)]))return await _0x32e6fa[_0x3020ea(0x99)](_0x3020ea(0x8a)+_0x5e615e[_0x3020ea(0xdc)](/arguments/g,_0x27464e[_0x3020ea(0x83)])+_0x3020ea(0xc5)+JSON[_0x3020ea(0x9e)](_0x538dfa)+')');}},exports[a32_0x45786d(0xb6)]=async _0xf9dea7=>{const _0x69207d=a32_0x45786d,_0x997b81={};_0x997b81[_0x69207d(0xa2)]=_0x69207d(0xb4),_0x997b81[_0x69207d(0xa8)]='accessibilityOptions.scannerProcessingTimeout',_0x997b81[_0x69207d(0xe5)]=_0x69207d(0x85),_0x997b81[_0x69207d(0xa3)]=_0x69207d(0x7e),_0x997b81['quzYO']=_0x69207d(0xd4),_0x997b81[_0x69207d(0xd9)]=_0x69207d(0xa4);const _0x16e31d=_0x997b81;_0xf9dea7[_0x69207d(0x97)]&&(_0xf9dea7['accessibilityOptions'][_0x69207d(0xc3)]&&(_0xf9dea7[_0x16e31d['reClP']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0xc3)]),_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x95)]&&(_0xf9dea7[_0x16e31d[_0x69207d(0xa8)]]=_0xf9dea7['accessibilityOptions']['scannerProcessingTimeout']),_0xf9dea7['accessibilityOptions'][_0x69207d(0x88)]&&(_0xf9dea7[_0x16e31d['pJHGG']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xdb)],_0xf9dea7[_0x16e31d[_0x69207d(0xa3)]]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xd2)]));const _0x1c3767=JSON['parse'](process[_0x69207d(0xa1)][_0x69207d(0xb7)])[_0x69207d(0xb1)];_0xf9dea7[_0x16e31d[_0x69207d(0xca)]]=process['env']['BS_A11Y_JWT'],_0xf9dea7[_0x16e31d[_0x69207d(0xd9)]]=_0x1c3767,delete _0xf9dea7[_0x69207d(0x97)];},exports[a32_0x45786d(0x9c)]=async _0x30750c=>{const _0x3296b3=a32_0x45786d,_0x5e813b={};_0x5e813b['oCFzB']=_0x3296b3(0x9d),_0x5e813b['ApJNj']=_0x3296b3(0x8e);const _0x162683=_0x5e813b;if(global[_0x3296b3(0xe3)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x30750c,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x30750c,scripts.getResults);return res;}catch{return logger[_0x3296b3(0x91)](_0x162683['oCFzB']),[];}else return logger[_0x3296b3(0x87)](_0x162683['ApJNj']),[];},exports[a32_0x45786d(0xa0)]=async(_0x58e58c,_0x1e7a0f='')=>{const _0x3e9c96=a32_0x45786d;if(global['accessibilityPlatform']){const _0x14ef78={};return _0x14ef78[_0x3e9c96(0xbc)]=_0x1e7a0f,await exports[_0x3e9c96(0xde)](_0x58e58c,scripts[_0x3e9c96(0xa0)],_0x14ef78);}},exports[a32_0x45786d(0xc9)]=async _0x2cb80d=>{const _0x46dbae=a32_0x45786d,_0x373085={};_0x373085[_0x46dbae(0x82)]=_0x46dbae(0xe1),_0x373085['GqBLR']=_0x46dbae(0xc2);const _0x1a0e20=_0x373085;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2cb80d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x2cb80d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x46dbae(0x86)](_0x1a0e20[_0x46dbae(0x82)]),{};}else return logger[_0x46dbae(0x87)](_0x1a0e20[_0x46dbae(0xda)]),{};},exports[a32_0x45786d(0xdd)]=async _0x25374c=>{const _0x5f096a=a32_0x45786d,_0x4ecc5b={'iBJKo':function(_0x7de42,_0xf7c4d2){return _0x7de42!==_0xf7c4d2;},'nFHPw':_0x5f096a(0x81),'lAAuG':function(_0x4029d1,_0x2f7e69){return _0x4029d1===_0x2f7e69;},'BjyDA':_0x5f096a(0xab),'iBvGo':function(_0x683331,_0x5783ac){return _0x683331===_0x5783ac;},'lCxeC':_0x5f096a(0xd3),'LXszY':_0x5f096a(0xcf),'XGqUj':function(_0x5029a3,_0x63c41a){return _0x5029a3(_0x63c41a);},'yNgeC':_0x5f096a(0xba),'zOUxa':function(_0x1c21eb,_0x122f93){return _0x1c21eb>_0x122f93;},'pJKSQ':_0x5f096a(0x94)};try{if(!_0x4ecc5b[_0x5f096a(0x89)](_0x25374c[_0x5f096a(0xcd)],''))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0xae)]),![];const _0x5ada35=_0x25374c[_0x5f096a(0xb2)];if(!(_0x4ecc5b['lAAuG'](_0x5ada35,_0x4ecc5b[_0x5f096a(0xbf)])||_0x4ecc5b[_0x5f096a(0x8c)](_0x5ada35,_0x4ecc5b[_0x5f096a(0x9a)])))return logger['warn'](_0x4ecc5b[_0x5f096a(0x7f)]),![];const _0x15d89d=_0x4ecc5b[_0x5f096a(0xc0)](parseInt,_0x25374c[_0x5f096a(0x8d)]);if(!(_0x4ecc5b[_0x5f096a(0xc8)](_0x15d89d,_0x4ecc5b[_0x5f096a(0xb5)])||_0x4ecc5b[_0x5f096a(0x98)](_0x15d89d,0x5e)))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0x84)]),![];}catch(_0x112b20){logger['debug'](_0x5f096a(0xd6)+util['format'](_0x112b20));}return!![];},exports['processAccessibilityCaps']=(_0x25ae26,_0x2acea4,_0x5868d4)=>{const _0x3d2b7f=a32_0x45786d,_0x194b84={'EvABe':function(_0x2284d2){return _0x2284d2();},'cQDwq':'browserstack.accessibility','AIpvA':function(_0x19f5a5,_0x32fa01){return _0x19f5a5===_0x32fa01;},'pBCCQ':_0x3d2b7f(0xab),'NhWSR':'playwright-chromium','gFRej':_0x3d2b7f(0xcf),'yNSge':_0x3d2b7f(0xba),'DhbQe':function(_0x2707a0,_0x343a56){return _0x2707a0>_0x343a56;},'NQBiR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FuYab':function(_0x284edd,_0xd810dc){return _0x284edd(_0xd810dc);},'BzFQz':_0x3d2b7f(0x81),'cdTsV':function(_0x4833e2,_0x118be7){return _0x4833e2+_0x118be7;},'TVAlT':function(_0x38ec18,_0x12b222){return _0x38ec18(_0x12b222);}};try{if(_0x194b84[_0x3d2b7f(0xbb)](isAccessibilityAutomationSession)){global[_0x3d2b7f(0xe3)]=!![];!_0x25ae26[_0x194b84['cQDwq']]&&(global['accessibilityPlatform']=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['pBCCQ'])||_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['NhWSR']))&&(logger[_0x3d2b7f(0x87)](_0x194b84[_0x3d2b7f(0xe2)]),global[_0x3d2b7f(0xe3)]=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0x8d)],_0x194b84[_0x3d2b7f(0xdf)])||_0x194b84['DhbQe'](_0x25ae26[_0x3d2b7f(0x8d)],0x5e))&&(logger[_0x3d2b7f(0x87)](_0x194b84['NQBiR']),global[_0x3d2b7f(0xe3)]=![]);!_0x194b84[_0x3d2b7f(0xad)](isUndefined,_0x25ae26[_0x3d2b7f(0xcd)])&&(logger['warn'](_0x194b84['BzFQz']),global[_0x3d2b7f(0xe3)]=![]);if(!global[_0x3d2b7f(0xe3)]){_0x25ae26[_0x194b84[_0x3d2b7f(0xb3)]]=![];const _0x1f7743=_0x194b84[_0x3d2b7f(0xbe)](_0x2acea4,_0x194b84['TVAlT'](encodeURIComponent,JSON[_0x3d2b7f(0x9e)](_0x25ae26)));_0x5868d4&&(_0x5868d4['currentTest'][_0x3d2b7f(0xb8)]['project'][_0x3d2b7f(0xbd)][_0x3d2b7f(0xd1)][_0x3d2b7f(0xc6)]=_0x1f7743);}}}catch(_0x2009bd){logger[_0x3d2b7f(0x86)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x3d2b7f(0xce)](_0x2009bd));}};function a32_0x4f38(){const _0xdc9a=['accessibilityOptions.includeIssueType.needsReview','LXszY','870422vJCrYs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','vsFkS','RZPPp','pJKSQ','accessibilityOptions.includeIssueType.bestPractice','debug','warn','includeIssueType','iBJKo','(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','../../helpers/accessibility-automation/helper','iBvGo','browser_version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','21954hhksPj','nfQHu','error','7176880huJwWQ','tffKe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','util','accessibilityOptions','zOUxa','executeScript','lCxeC','AIpvA','getAccessibilityResults','No\x20accessibility\x20results\x20were\x20found.','stringify','22ewobGS','performScan','env','reClP','TjuPI','accessibilityOptions.scannerVersion','604096xBwHAt','2198oIKCUS','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','uEDEu','evaluate','constructor','chrome','238176zMwZgs','FuYab','nFHPw','YtLuX','1935675PUhfNq','scannerVersion','browser','cQDwq','accessibilityOptions.wcagVersion','yNgeC','setAccessibilityCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testInfo','executeAsyncScript','latest','EvABe','method','use','cdTsV','BjyDA','XGqUj','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','wcagVersion','sWJVe','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wsEndpoint','bstackSdkArgs','lAAuG','getAccessibilityResultsSummary','quzYO','(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','306CHuXhf','deviceName','format','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1514845dvmIhR','connectOptions','needsReview','playwright-chromium','accessibilityOptions.authToken','4UGfrOr','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','browserName','winstonLogger','JnWMO','GqBLR','bestPractice','replace','platformValidation','browserStackEvaluate','yNSge','browserStackExecuteDriver','No\x20summaryResults\x20found.','gFRej','accessibilityPlatform','Playwright','pJHGG'];a32_0x4f38=function(){return _0xdc9a;};return a32_0x4f38();}
@@ -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';function a33_0x4596(_0x2f303a,_0x569f41){const _0x36add2=a33_0x36ad();return a33_0x4596=function(_0x459603,_0x1d1aea){_0x459603=_0x459603-0x1b8;let _0x1171d6=_0x36add2[_0x459603];return _0x1171d6;},a33_0x4596(_0x2f303a,_0x569f41);}const a33_0x110918=a33_0x4596;(function(_0x4f23cd,_0x1ff7ac){const _0x523575=a33_0x4596,_0x37c938=_0x4f23cd();while(!![]){try{const _0x420413=-parseInt(_0x523575(0x24f))/0x1*(-parseInt(_0x523575(0x1e1))/0x2)+parseInt(_0x523575(0x1f7))/0x3*(parseInt(_0x523575(0x1e4))/0x4)+parseInt(_0x523575(0x25d))/0x5+parseInt(_0x523575(0x1cb))/0x6+-parseInt(_0x523575(0x22a))/0x7+parseInt(_0x523575(0x1c1))/0x8+-parseInt(_0x523575(0x1bf))/0x9;if(_0x420413===_0x1ff7ac)break;else _0x37c938['push'](_0x37c938['shift']());}catch(_0x43f8ac){_0x37c938['push'](_0x37c938['shift']());}}}(a33_0x36ad,0x315f2));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a33_0x110918(0x209)),{format}=require(a33_0x110918(0x20d)),logger=require(a33_0x110918(0x1fa))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x110918(0x1b8)),helper=require(a33_0x110918(0x25a)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x110918(0x26e)),{CrashReporter,o11yErrorHandler}=require(a33_0x110918(0x259)),{getFrameworkVersion}=require(a33_0x110918(0x1d9)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x110918(0x1e9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),SessionHandler=require(a33_0x110918(0x218));async function requireOrImportDefaultObject(_0x53b57b){const _0x352563=a33_0x110918,_0x323220={'vpwsq':function(_0x221245){return _0x221245();},'PQVDG':function(_0x23a6d8,_0x54c5d9){return _0x23a6d8(_0x54c5d9);},'qkBxn':function(_0x56eaca,_0xb1828c){return _0x56eaca===_0xb1828c;},'HIAVK':_0x352563(0x24b),'urerR':function(_0x23fafa,_0x306012){return _0x23fafa in _0x306012;},'YblRe':_0x352563(0x276)},{requireOrImport:_0xba2b3c}=helper[_0x352563(0x23c)]['apply'](null,_0x323220[_0x352563(0x1c2)](getTransformPath));let _0x46f823=await _0x323220[_0x352563(0x1d4)](_0xba2b3c,_0x53b57b);return _0x46f823&&_0x323220[_0x352563(0x226)](typeof _0x46f823,_0x323220['HIAVK'])&&_0x323220[_0x352563(0x264)](_0x323220[_0x352563(0x227)],_0x46f823)&&(_0x46f823=_0x46f823[_0x323220[_0x352563(0x227)]]),_0x46f823;}const getUserPlaywrightConfig=async(_0x164482,_0x452774)=>{const _0x1d60e4=a33_0x110918,_0x1954f5={'IvyOp':function(_0x3755ed){return _0x3755ed();},'UQglL':function(_0x5ac034,_0x381a3f){return _0x5ac034(_0x381a3f);},'saJfI':function(_0x391e55,_0x4cbad1){return _0x391e55(_0x4cbad1);},'VoJgn':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','EgpWR':_0x1d60e4(0x1e5),'QICvt':_0x1d60e4(0x228)},_0x437f92=!helper[_0x1d60e4(0x24d)](_0x164482['config']),_0x71e516=_0x437f92?path['resolve'](process[_0x1d60e4(0x23b)](),_0x164482[_0x1d60e4(0x1d6)]):process[_0x1d60e4(0x23b)](),{resolveConfigFile:_0x76b699}=helper[_0x1d60e4(0x23c)][_0x1d60e4(0x230)](null,_0x1954f5[_0x1d60e4(0x213)](getConfigLoaderPath)),_0x2a1439=_0x1954f5[_0x1d60e4(0x25b)](_0x76b699,_0x71e516);let _0x46c6e7={};if(_0x2a1439){logger[_0x1d60e4(0x23f)]('Getting\x20your\x20playwright\x20config\x20from\x20'+_0x2a1439);try{_0x46c6e7=await _0x1954f5[_0x1d60e4(0x22f)](requireOrImportDefaultObject,_0x2a1439);}catch(_0x56692d){return logger[_0x1d60e4(0x235)](_0x1954f5[_0x1d60e4(0x245)],_0x56692d),null;}}else logger[_0x1d60e4(0x23f)](_0x1954f5[_0x1d60e4(0x233)]);if(_0x437f92){const _0x17632c=_0x452774['findIndex'](_0x5581fb=>_0x5581fb===_0x1d60e4(0x217)||_0x5581fb==='-c'||_0x5581fb[_0x1d60e4(0x1ba)](_0x1d60e4(0x228)));_0x452774[_0x1d60e4(0x219)](_0x17632c,_0x452774[_0x17632c][_0x1d60e4(0x1ba)](_0x1954f5[_0x1d60e4(0x1dd)])?0x1:0x2);}const _0x2489ff={};return _0x2489ff[_0x1d60e4(0x20a)]=_0x2a1439,_0x2489ff[_0x1d60e4(0x1d6)]=_0x46c6e7,_0x2489ff;},setGlobalSetup=(_0x4fd653,_0x37e4c6)=>{const _0x45e4d3=a33_0x110918,_0x524057={'aBYTt':_0x45e4d3(0x26a),'NacgG':_0x45e4d3(0x21c),'cgejX':function(_0x481e24,_0x2b0f8c){return _0x481e24+_0x2b0f8c;},'ztvyn':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','npcrF':function(_0x34e040,_0x2e1e76){return _0x34e040(_0x2e1e76);},'zekiB':_0x45e4d3(0x280)};if(!_0x4fd653)return![];try{if(_0x4fd653[_0x45e4d3(0x26a)]){let _0x11a39f;const _0x1f1922=path[_0x45e4d3(0x1e3)](_0x37e4c6,_0x4fd653[_0x524057[_0x45e4d3(0x1bc)]]);if(fs[_0x45e4d3(0x1c5)](_0x1f1922))_0x11a39f=_0x1f1922;else{const _0x2d6d20={};_0x2d6d20['paths']=[_0x37e4c6],_0x11a39f=require[_0x45e4d3(0x1e3)](_0x4fd653[_0x524057['aBYTt']],_0x2d6d20);}if(!_0x11a39f)throw new Error(_0x524057[_0x45e4d3(0x246)]);process[_0x45e4d3(0x278)][_0x45e4d3(0x1e2)]=_0x11a39f;}}catch(_0x3a36a9){logger[_0x45e4d3(0x235)](_0x524057[_0x45e4d3(0x1fe)](_0x524057[_0x45e4d3(0x1cd)],_0x524057[_0x45e4d3(0x26f)](format,_0x3a36a9)));}return _0x4fd653['globalSetup']=require[_0x45e4d3(0x1e3)](_0x524057[_0x45e4d3(0x221)]),!![];},addReporter=_0x205148=>{const _0x5b07b9=a33_0x110918,_0x1077ea={};_0x1077ea[_0x5b07b9(0x1df)]='./reporter/reporter.js',_0x1077ea['wafkQ']='reporter',_0x1077ea[_0x5b07b9(0x236)]=function(_0x32f7fc,_0x1d8d4b){return _0x32f7fc===_0x1d8d4b;},_0x1077ea['MHOla']=_0x5b07b9(0x244),_0x1077ea[_0x5b07b9(0x1d5)]=function(_0x15b1f2,_0x4f6a40){return _0x15b1f2===_0x4f6a40;},_0x1077ea[_0x5b07b9(0x1ff)]=_0x5b07b9(0x24b);const _0x4ba571=_0x1077ea,_0x59270b=path[_0x5b07b9(0x1f2)](__dirname,_0x4ba571['XFhZX']),_0x344a1e=[_0x59270b];if(helper[_0x5b07b9(0x24d)](_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[_0x344a1e];else{if(_0x4ba571[_0x5b07b9(0x236)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1dc)]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[[_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]],_0x344a1e];else _0x4ba571[_0x5b07b9(0x1d5)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1ff)])&&_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]][_0x5b07b9(0x241)](_0x344a1e);}},handleO11yRerun=_0x24f479=>{const _0x66f766=a33_0x110918,_0x2f79e1={};_0x2f79e1[_0x66f766(0x207)]=function(_0x2a672f,_0x5ee144){return _0x2a672f!==_0x5ee144;},_0x2f79e1[_0x66f766(0x24a)]=_0x66f766(0x1fd),_0x2f79e1[_0x66f766(0x1da)]=_0x66f766(0x27c);const _0x4219b6=_0x2f79e1,_0x453c70=helper[_0x66f766(0x222)](process[_0x66f766(0x278)][_0x66f766(0x247)]);if(_0x453c70){const _0x4bc3b8=process[_0x66f766(0x278)][_0x66f766(0x269)],_0x411492=[];if(_0x4219b6[_0x66f766(0x207)](_0x4bc3b8,_0x4219b6[_0x66f766(0x24a)])&&!helper[_0x66f766(0x24d)](_0x4bc3b8)){_0x4bc3b8[_0x66f766(0x215)](',')[_0x66f766(0x216)](_0x55a528=>{const _0x163036=_0x66f766;_0x411492['push']('('+_0x55a528[_0x163036(0x202)]()+')');});const _0x5dab3d='^'+_0x411492[_0x66f766(0x1f2)]('|')+'$';_0x24f479[_0x66f766(0x241)](_0x4219b6[_0x66f766(0x1da)],_0x5dab3d);}}},spawnOriginalProcess=_0x43b92a=>{const _0x11691a=a33_0x110918,_0x387933={'rnKYb':function(_0xb9e7,_0x59d0a2,_0x4d251d,_0x211319){return _0xb9e7(_0x59d0a2,_0x4d251d,_0x211319);},'VFoTT':_0x11691a(0x1d8),'qzRXU':_0x11691a(0x21e),'FEbHV':function(_0x508577,_0x16c1a5){return _0x508577===_0x16c1a5;},'xLFQt':_0x11691a(0x23a),'CyHSZ':_0x11691a(0x1b9)};_0x387933[_0x11691a(0x279)](spawn,_0x387933[_0x11691a(0x223)],[_0x387933[_0x11691a(0x287)],..._0x43b92a['slice'](0x1)],{'shell':_0x387933['FEbHV'](process['platform'],_0x387933['xLFQt']),'stdio':_0x387933[_0x11691a(0x275)],'cwd':process[_0x11691a(0x23b)]()});},isTestCommand=(_0x5a824c,_0x2ec1cb)=>{const _0x5dd7a3=a33_0x110918,_0x249340={};_0x249340[_0x5dd7a3(0x1c7)]=function(_0x575511,_0x2e61b7){return _0x575511>_0x2e61b7;},_0x249340[_0x5dd7a3(0x27d)]=function(_0x2af57d,_0x565bc7){return _0x2af57d===_0x565bc7;},_0x249340['IVJKU']='test';const _0x52466f=_0x249340;if(_0x52466f['lWDng'](_0x2ec1cb[_0x5dd7a3(0x27b)],0x1)&&_0x52466f[_0x5dd7a3(0x27d)](_0x2ec1cb[0x1],_0x52466f[_0x5dd7a3(0x203)]))return!![];return![];},initO11yCrashReporter=(_0x569093,_0x1e1648)=>{const _0x3bb0a5=a33_0x110918,_0x1ca045={'DyYWg':function(_0x2f81cd,_0x49770f){return _0x2f81cd(_0x49770f);}},_0x379adb={'frameworkName':FRAMEWORKS[_0x3bb0a5(0x1cc)],'frameworkVersion':_0x1ca045[_0x3bb0a5(0x1d2)](getFrameworkVersion,FRAMEWORKS[_0x3bb0a5(0x1cc)])};CrashReporter['initialize'](_0x379adb,_0x569093,_0x1e1648);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x63bf4e){const _0x389eb9=a33_0x110918,_0x2e9792={};_0x2e9792[_0x389eb9(0x220)]=function(_0x1a6ce0,_0x39b897){return _0x1a6ce0>_0x39b897;},_0x2e9792['Cmyzz']=function(_0x1f33b7,_0x5069e9){return _0x1f33b7===_0x5069e9;};const _0x363cec=_0x2e9792;if(!_0x63bf4e||_0x363cec[_0x389eb9(0x220)](_0x63bf4e[_0x389eb9(0x27b)],0x1)&&_0x363cec[_0x389eb9(0x256)](_0x63bf4e[0x0],null))return process[_0x389eb9(0x278)][_0x389eb9(0x212)]=![],![];return!![];});function a33_0x36ad(){const _0x5975c1=['parse','isUndefined','mUiaY','122MiYEFC','DFFwe','testContextOptions','--disable-test-observability','close','project','RpJkP','Cmyzz','Error\x20in\x20getting\x20funnel\x20data\x20results','logLevel','../../helpers/test-observability/error-handler','../../helpers/helper','UQglL','automation','1744035RdhFvv','concat','accessibilityOptions','testDir','3|0|6|2|5|1|4|8|7','debug','BS_A11Y_TEST_RUN_ID','urerR','wyOXf','PACKAGE_TYPE','TUQOj','MODULE','BROWSERSTACK_RERUN_TESTS','globalSetup','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','false','Playwright\x20process\x20exited\x20with\x20code\x20','./reporter/pwUtils','npcrF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','sQtiT','pcPbX','NaKjn','dhMZV','CyHSZ','default','collectFilesForProject','env','rnKYb','finalExecution','length','--grep','dqkJJ','rQvBD','eeQby','./globalSetup.js','UTQYI','BS_A11Y_JWT','assign','testIgnore','lsxiR','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','qzRXU','../../helpers/BrowserStackSetup','inherit','startsWith','pFpWF','aBYTt','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','QtHUc','6670512AEyHNR','BROWSERSTACK_SETUP_CONFIG_PATH','2867216qCNqex','vpwsq','cJKdk','zokZl','existsSync','clearTempPWConfig','lWDng','skipSessionName','errorMessage','BROWSERSTACK_AUTOMATION','519834Ytikuc','PLAYWRIGHT','ztvyn','platforms','testMatch','XxMUx','argv','DyYWg','accessibility','PQVDG','xzGvi','config','\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();','npx','../../helpers/test-observability/utils','AScpo','rjlVi','MHOla','QICvt','BmJZo','XFhZX','GntTv','2512KrqFSC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','21272qcZTtZ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','USER_CONFIG_DETAILS_PATH','skipSessionStatus','playwright-browserstack-sdk.config.js','../../helpers/accessibility-automation/helper','get','unlinkSync','playwright-browserstack-sdk.config.cjs','wafkQ','nVCKA','bJGlh','GgQtN','dbAYW','join','KwruR','filter','@playwright/test','serializeToYamlString','213gaonMF','qgSMk','_internal','../../helpers/logger','has','markSDKSetupComplete','null','cgejX','SCPJQ','KvZic','filterBrowserstackConfig','trim','IVJKU','BrowserStack\x20config\x20file\x20not\x20found.','testObservability','indexOf','uDbzU','exports','child_process','path','qMqtC','Deleting\x20','util','--disable-browserstack-automation','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isFalse','RgFpi','BROWSERSTACK_TEST_OBSERVABILITY','IvyOp','enqFV','split','map','--config','../../helpers/test-observability/sessionHandler','splice','utFPJ','UawGi','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','Error\x20in\x20deleting\x20playwright\x20results','playwright','platform','wLytf','zekiB','isTrue','VFoTT','writeFileSync','getProxyUrl','qkBxn','YblRe','--config=','KSIQd','2668848BaCvwo','getPackageType','dirname','nnpmQ','respectGitIgnore','saJfI','apply','cliConfig','homedir','EgpWR','BROWSERSTACK_PW_CONFIG_DIR','error','tFCCP','NvbVM','slice','launch','win32','cwd','requirePWModule','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','readFileSync','info','.browserstack','push','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','stringify','string','VoJgn','NacgG','BROWSERSTACK_RERUN','browserstackSetupConfig.json','DJYHh','hRyps','object'];a33_0x36ad=function(){return _0x5975c1;};return a33_0x36ad();}async function run(_0x5e2414,_0x31db4f){const _0x450063=a33_0x110918,_0x42c190={'DFFwe':_0x450063(0x240),'KSIQd':'pw_result.json','TXRtb':function(_0x4bede8,_0x46d051){return _0x4bede8+_0x46d051;},'utFPJ':_0x450063(0x257),'cJKdk':_0x450063(0x261),'KvZic':function(_0x36e2d6){return _0x36e2d6();},'QtHUc':function(_0x50dadf,_0x4f6f8b){return _0x50dadf(_0x4f6f8b);},'qgSMk':function(_0x9b20e2,_0x4105af){return _0x9b20e2+_0x4105af;},'XxMUx':'Error\x20in\x20closing\x20playwright','sQtiT':_0x450063(0x20e),'pcPbX':_0x450063(0x26c),'mUiaY':_0x450063(0x252),'UYjPd':function(_0x4c2684,_0x1d7639){return _0x4c2684>=_0x1d7639;},'pFpWF':_0x450063(0x21d),'NaKjn':function(_0x88dfd5,_0x5e8d94,_0x8cbf21){return _0x88dfd5(_0x5e8d94,_0x8cbf21);},'GgQtN':_0x450063(0x204),'enqFV':_0x450063(0x25c),'RgFpi':function(_0x24d4f5,_0x4d209f){return _0x24d4f5!=_0x4d209f;},'DJYHh':function(_0x5bac6c,_0x365d14){return _0x5bac6c(_0x365d14);},'BmJZo':'0|1|4|3|2','rQvBD':_0x450063(0x1bd),'nVCKA':function(_0x4bd57c,_0x481e50,_0x4a5ca7){return _0x4bd57c(_0x481e50,_0x4a5ca7);},'dbAYW':function(_0x3318c5,_0x40ec0d){return _0x3318c5===_0x40ec0d;},'bJGlh':'true','dhMZV':_0x450063(0x1f5),'qMqtC':function(_0x4e08ad,_0xf64a1e){return _0x4e08ad(_0xf64a1e);},'mYsgI':_0x450063(0x248),'rjlVi':function(_0x2ac701){return _0x2ac701();},'RpJkP':'testDir','wyOXf':_0x450063(0x1cf),'nnpmQ':'testIgnore','nuflE':_0x450063(0x26b),'KwruR':function(_0x2736d3,_0x2b1727){return _0x2736d3===_0x2b1727;},'lsxiR':_0x450063(0x1ec),'NvbVM':_0x450063(0x1e8),'hRiPL':function(_0x54944c,_0x760c9d){return _0x54944c>_0x760c9d;},'GntTv':function(_0x570e02,_0x51571e,_0x4111cb,_0x45c88a){return _0x570e02(_0x51571e,_0x4111cb,_0x45c88a);},'UawGi':_0x450063(0x1d8),'aTRSs':_0x450063(0x21e),'FSXjn':'test','TUQOj':'--config','zokZl':_0x450063(0x23a),'UTQYI':_0x450063(0x1b9),'eeQby':_0x450063(0x253)};!helper[_0x450063(0x210)](process[_0x450063(0x278)][_0x450063(0x1ca)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=!![]);process[_0x450063(0x1d1)]['includes'](_0x42c190[_0x450063(0x271)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x42c190[_0x450063(0x272)],_0x31db4f=_0x31db4f['filter'](_0x2d232d=>_0x2d232d!==_0x450063(0x20e)));const _0x5d20fb=_0x31db4f[_0x450063(0x206)](_0x42c190[_0x450063(0x24e)]);_0x42c190['UYjPd'](_0x5d20fb,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x42c190['pcPbX'],_0x31db4f=_0x31db4f[_0x450063(0x1f4)](_0x2eead4=>_0x2eead4!==_0x450063(0x252)));try{const _0x2edecf=path[_0x450063(0x1f2)](helper[_0x450063(0x232)](),_0x42c190[_0x450063(0x250)],_0x42c190[_0x450063(0x229)]);fs[_0x450063(0x1c5)](_0x2edecf)&&fs[_0x450063(0x1eb)](_0x2edecf);}catch(_0x45b83f){logger['debug'](_0x42c190[_0x450063(0x1f8)](_0x42c190[_0x450063(0x1bb)],_0x45b83f));}if(!_0x42c190[_0x450063(0x273)](isTestCommand,_0x5e2414,_0x31db4f)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x31db4f);return;}const _0x348f94=new BrowserStackSetup(_0x5e2414,FRAMEWORKS[_0x450063(0x1cc)]);if(!_0x348f94[_0x450063(0x1d6)]){logger[_0x450063(0x235)](_0x42c190[_0x450063(0x1f0)]);return;}await _0x348f94['initialize']();!helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x231)])&&_0x348f94[_0x450063(0x231)][_0x450063(0x1fb)](_0x42c190[_0x450063(0x214)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x348f94['cliConfig'][_0x450063(0x1ea)](_0x42c190[_0x450063(0x214)])||!![]);_0x42c190[_0x450063(0x211)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)],null)&&!helper[_0x450063(0x222)](process['env'][_0x450063(0x212)])&&(process[_0x450063(0x278)][_0x450063(0x212)]=process[_0x450063(0x278)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)]);const _0xf9048e=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x59c4a7=![];_0x348f94['config'][_0x450063(0x1d3)]&&(_0x59c4a7=!![],process['env'][_0x450063(0x270)]=_0x348f94[_0x450063(0x1d6)][_0x450063(0x1d3)]);_0x348f94[_0x450063(0x1d6)][_0x450063(0x25f)]&&(process[_0x450063(0x278)][_0x450063(0x20f)]=JSON[_0x450063(0x243)](_0x348f94['config']['accessibilityOptions']));const _0x24d35f=_0x31db4f[_0x450063(0x25e)](),_0x4f8c8c=await _0x42c190[_0x450063(0x273)](getUserPlaywrightConfig,_0x5e2414,_0x31db4f);if(helper[_0x450063(0x24d)](_0x4f8c8c)){_0x42c190[_0x450063(0x249)](spawnOriginalProcess,_0x24d35f);return;}const _0x55e876={..._0x4f8c8c[_0x450063(0x1d6)]},_0x1243c2=_0x55e876,_0x2984c9=_0x4f8c8c[_0x450063(0x20a)]?path[_0x450063(0x22c)](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)]();process[_0x450063(0x278)][_0x450063(0x234)]=_0x2984c9;if(!_0x42c190[_0x450063(0x273)](setGlobalSetup,_0x1243c2,_0x2984c9)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x24d35f);return;}const _0x3e3314=await SessionHandler[_0x450063(0x239)](_0x348f94[_0x450063(0x1d6)],{'frameworkName':FRAMEWORKS['PLAYWRIGHT'],'frameworkVersion':_0x42c190[_0x450063(0x249)](getFrameworkVersion,FRAMEWORKS[_0x450063(0x1cc)])});if(_0xf9048e){const _0x3d9fe4=_0x42c190[_0x450063(0x1de)][_0x450063(0x215)]('|');let _0x31fc45=0x0;while(!![]){switch(_0x3d9fe4[_0x31fc45++]){case'0':logger[_0x450063(0x23f)](_0x42c190[_0x450063(0x27e)]);continue;case'1':_0x42c190[_0x450063(0x1ee)](initO11yCrashReporter,_0x1243c2,_0x348f94['config']);continue;case'2':await _0x42c190['DJYHh'](launchO11ySession,_0x3e3314);continue;case'3':_0x42c190[_0x450063(0x249)](handleO11yRerun,_0x31db4f);continue;case'4':_0x42c190[_0x450063(0x1be)](addReporter,_0x1243c2);continue;}break;}}let _0x33e55e=_0x42c190[_0x450063(0x1f1)](process['env'][_0x450063(0x270)],_0x42c190[_0x450063(0x1ef)]);_0x33e55e=_0x33e55e||_0x42c190[_0x450063(0x249)](checkAccessibilityPlatformConfig,_0x348f94['config']),process[_0x450063(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x33e55e;if(_0x33e55e){const [_0x15dcd2,_0x1c231f]=await _0x42c190[_0x450063(0x273)](createAccessibilityTestRun,_0x348f94['config'],_0x42c190[_0x450063(0x274)]);logger[_0x450063(0x262)](_0x450063(0x23d)+_0x1c231f),process[_0x450063(0x278)][_0x450063(0x282)]=_0x15dcd2,process[_0x450063(0x278)][_0x450063(0x263)]=_0x1c231f,_0x42c190[_0x450063(0x20b)](setAccessibilityCapabilities,_0x348f94[_0x450063(0x1d6)]);}(helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)])||_0x42c190['dbAYW'](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)][_0x450063(0x27b)],0x0))&&(process[_0x450063(0x278)]['BROWSERSTACK_AUTOMATION']=![]);const _0x60464f=path[_0x450063(0x1f2)](_0x4f8c8c['path']?path[_0x450063(0x22c)](_0x4f8c8c['path']):process['cwd'](),_0x42c190['mYsgI']);fs['writeFileSync'](_0x60464f,helper[_0x450063(0x1f6)](_0x348f94['config'])),process[_0x450063(0x278)][_0x450063(0x1c0)]=_0x60464f,helper[_0x450063(0x1c6)]();if(helper[_0x450063(0x222)](process[_0x450063(0x278)][_0x450063(0x1ca)])){let _0x5bcdc4=[];try{const _0x246b70=helper[_0x450063(0x23c)][_0x450063(0x230)](null,_0x42c190[_0x450063(0x1db)](getProjectUtilsPath)),_0x315ed3={};_0x315ed3[_0x450063(0x22e)]=!![],_0x315ed3[_0x450063(0x260)]='',_0x315ed3['testMatch']='',_0x315ed3[_0x450063(0x284)]='';const _0x589e2c={};_0x589e2c[_0x450063(0x22e)]=!![];const _0x35f797={};_0x35f797[_0x450063(0x254)]=_0x315ed3,_0x35f797[_0x450063(0x1f9)]=_0x589e2c;let _0x2d3c65=_0x35f797;_0x1243c2[_0x42c190[_0x450063(0x255)]]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190[_0x450063(0x255)]]=_0x1243c2[_0x42c190[_0x450063(0x255)]]),_0x1243c2[_0x42c190[_0x450063(0x265)]]&&(_0x2d3c65['project'][_0x42c190[_0x450063(0x265)]]=_0x1243c2[_0x42c190[_0x450063(0x265)]]),_0x1243c2[_0x42c190['nnpmQ']]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190['nnpmQ']]=_0x1243c2[_0x42c190[_0x450063(0x22d)]]),_0x2d3c65=Object[_0x450063(0x283)](_0x2d3c65,_0x2d3c65[_0x450063(0x254)]),_0x5bcdc4=await _0x246b70[_0x450063(0x277)](_0x2d3c65);}catch(_0x161281){logger['debug'](_0x42c190['qgSMk'](_0x42c190['nuflE'],_0x42c190[_0x450063(0x20b)](format,_0x161281)));}}let _0x28ecad='';_0x42c190['KwruR'](helper[_0x450063(0x22b)](),constants[_0x450063(0x266)][_0x450063(0x268)])?_0x28ecad=_0x42c190[_0x450063(0x285)]:_0x28ecad=_0x42c190[_0x450063(0x237)];const _0x5072c6=path['join'](_0x4f8c8c[_0x450063(0x20a)]?path['dirname'](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)](),_0x28ecad);let _0x42db22=_0x4f8c8c[_0x450063(0x20a)]?_0x4f8c8c[_0x450063(0x20a)]:'';_0x42db22=_0x42c190['hRiPL'](_0x42db22[_0x450063(0x27b)],0x0)?path[_0x450063(0x1e3)](_0x42db22):'',process[_0x450063(0x278)][_0x450063(0x1e6)]=_0x42db22;let _0x2c4391=_0x450063(0x242);const _0x4fb943=helper[_0x450063(0x225)](_0x348f94[_0x450063(0x1d6)]);_0x4fb943&&(_0x2c4391=_0x42c190[_0x450063(0x1f8)](_0x450063(0x286)+_0x4fb943+_0x450063(0x1d7),_0x2c4391));helper[_0x450063(0x201)]({},_0x31db4f),fs[_0x450063(0x224)](_0x5072c6,_0x2c4391),helper[_0x450063(0x1fc)]();const _0x5385af=_0x42c190[_0x450063(0x1e0)](spawn,_0x42c190[_0x450063(0x21b)],[_0x42c190['aTRSs'],_0x42c190['FSXjn'],_0x42c190[_0x450063(0x267)],_0x5072c6,..._0x31db4f[_0x450063(0x238)](0x2)],{'shell':_0x42c190[_0x450063(0x1f3)](process[_0x450063(0x21f)],_0x42c190[_0x450063(0x1c4)]),'stdio':_0x42c190[_0x450063(0x281)],'cwd':process[_0x450063(0x23b)](),'env':Object[_0x450063(0x283)]({},process[_0x450063(0x278)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x5e2414),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x348f94[_0x450063(0x1d6)][_0x450063(0x251)][_0x450063(0x1e7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x348f94['config'][_0x450063(0x251)][_0x450063(0x1c8)],'BROWSERSTACK_LOG_LEVEL':_0x348f94[_0x450063(0x1d6)][_0x450063(0x258)]})}),_0x167183=()=>{const _0x4d6423=_0x450063;try{const _0x17d056=path['join'](helper['homedir'](),_0x42c190['DFFwe'],_0x42c190[_0x4d6423(0x229)]);if(fs['existsSync'](_0x17d056)){let _0x4733e7=fs[_0x4d6423(0x23e)](_0x17d056);_0x4733e7=JSON[_0x4d6423(0x24c)](_0x4733e7),_0x348f94[_0x4d6423(0x1c9)]=_0x4733e7,fs[_0x4d6423(0x1eb)](_0x17d056);}}catch(_0x1d389f){logger[_0x4d6423(0x262)](_0x42c190['TXRtb'](_0x42c190[_0x4d6423(0x21a)],_0x1d389f));}};_0x5385af['on'](_0x42c190[_0x450063(0x27f)],async _0x50b8ba=>{const _0x190d06=_0x450063;try{const _0xd4f161=_0x42c190[_0x190d06(0x1c3)]['split']('|');let _0x5aa9ef=0x0;while(!![]){switch(_0xd4f161[_0x5aa9ef++]){case'0':await helper[_0x190d06(0x27a)](_0x348f94);continue;case'1':logger[_0x190d06(0x23f)](_0x190d06(0x20c)+_0x5072c6);continue;case'2':process['exitCode']=_0x50b8ba;continue;case'3':_0x42c190[_0x190d06(0x200)](_0x167183);continue;case'4':fs[_0x190d06(0x1eb)](_0x5072c6);continue;case'5':logger[_0x190d06(0x262)](_0x190d06(0x26d)+_0x50b8ba);continue;case'6':await _0x42c190['QtHUc'](stopAccessibilityTestRun,_0x348f94['config']);continue;case'7':fs['unlinkSync'](_0x60464f);continue;case'8':logger[_0x190d06(0x262)](_0x190d06(0x20c)+_0x60464f);continue;}break;}}catch(_0x342332){logger[_0x190d06(0x262)](_0x42c190[_0x190d06(0x1f8)](_0x42c190[_0x190d06(0x1d0)],_0x342332));}});}module[a33_0x110918(0x208)]=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_0x627fd0=a34_0xbebe;(function(_0x11b19b,_0xfa5975){const _0x40ca28=a34_0xbebe,_0x583550=_0x11b19b();while(!![]){try{const _0x5dd8f1=-parseInt(_0x40ca28(0xae))/0x1+parseInt(_0x40ca28(0xa4))/0x2*(parseInt(_0x40ca28(0xac))/0x3)+parseInt(_0x40ca28(0xab))/0x4+-parseInt(_0x40ca28(0xa6))/0x5+-parseInt(_0x40ca28(0xc3))/0x6*(parseInt(_0x40ca28(0xcb))/0x7)+-parseInt(_0x40ca28(0xad))/0x8+-parseInt(_0x40ca28(0xb7))/0x9*(-parseInt(_0x40ca28(0xa8))/0xa);if(_0x5dd8f1===_0xfa5975)break;else _0x583550['push'](_0x583550['shift']());}catch(_0x36ddfb){_0x583550['push'](_0x583550['shift']());}}}(a34_0x442b,0x1cb03));function a34_0xbebe(_0xa95086,_0x15e379){const _0x442b0d=a34_0x442b();return a34_0xbebe=function(_0xbebe2b,_0x255ffd){_0xbebe2b=_0xbebe2b-0xa3;let _0x409541=_0x442b0d[_0xbebe2b];return _0x409541;},a34_0xbebe(_0xa95086,_0x15e379);}const child_process=require('child_process'),{FRAMEWORKS}=require(a34_0x627fd0(0xaf)),{getFrameworkVersion,debug}=require(a34_0x627fd0(0xcf)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x627fd0(0xb6)),logger=require(a34_0x627fd0(0xb8))[a34_0x627fd0(0xbd)];function a34_0x442b(){const _0x20f41=['oXTRh','1370AaXWku','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Path\x20','371876ACpzBN','15cmsFCW','1436968lCPSfP','22872olNqcW','../../helpers/test-observability/constants','function','WGyKu','resolve','exports','AVpue','includes','./reporter/pwUtils','26595ZZhuIJ','../../helpers/logger','\x20is\x20not\x20found','GlPIY','PeVSq','env','winstonLogger','./mock-process.js','kEuuN','Call\x20to\x20child\x20fork\x20with\x20args\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','compareVersions','138KOSLgD','PLAYWRIGHT','RtQue','ShNDT','GaGko','toString','OWjyN','hOUET','28889WWxEMt','fork','1.33.0','config','../../helpers/test-observability/utils','VjRDh','53068TETQKk','apply','1077765FqARtV'];a34_0x442b=function(){return _0x20f41;};return a34_0x442b();}module[a34_0x627fd0(0xb3)]=async function(_0x36c1a7){const _0x5f96f=a34_0x627fd0,_0x14f408={'kEuuN':function(_0xc211d0,_0x48ae07){return _0xc211d0(_0x48ae07);},'uOTLE':function(_0x2cd49e){return _0x2cd49e();},'hOUET':_0x5f96f(0xbe),'VjRDh':function(_0x202495){return _0x202495();},'oXTRh':function(_0x394887,_0x1192e7){return _0x394887(_0x1192e7);},'ShNDT':'Running\x20existing\x20global\x20setup','OWjyN':function(_0x440dc4){return _0x440dc4();},'RtQue':function(_0x5cc0cd,_0xaf11ff){return _0x5cc0cd>=_0xaf11ff;},'PeVSq':_0x5f96f(0xcd),'AVpue':function(_0x451d3a,_0x348f04,_0x4768f9){return _0x451d3a(_0x348f04,_0x4768f9);},'WGyKu':function(_0x306b5e,_0x4bdfd9){return _0x306b5e!==_0x4bdfd9;},'GlPIY':_0x5f96f(0xb0),'GaGko':'Not\x20able\x20to\x20import\x20globalSetup'},_0x53ce14=child_process[_0x5f96f(0xcc)];child_process[_0x5f96f(0xcc)]=function(){const _0x2c5c07=_0x5f96f;return _0x14f408[_0x2c5c07(0xbf)](debug,_0x2c5c07(0xc0)+arguments[0x0]),arguments[0x0][_0x2c5c07(0xb5)](_0x14f408['uOTLE'](getForkProcessPath))?arguments[0x0]=require[_0x2c5c07(0xb2)](_0x14f408[_0x2c5c07(0xca)]):logger['error'](_0x2c5c07(0xaa)+_0x14f408[_0x2c5c07(0xa3)](getForkProcessPath)+_0x2c5c07(0xb9)),_0x53ce14['apply'](null,arguments);};if(process[_0x5f96f(0xbc)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x14f408[_0x5f96f(0xa7)](debug,_0x14f408[_0x5f96f(0xc6)]);try{const {loadGlobalHook:_0xb8d03b}=helper['requirePWModule'][_0x5f96f(0xa5)](null,_0x14f408[_0x5f96f(0xc9)](getLoadUtilsPath)),_0x130938=_0x14f408['oXTRh'](getFrameworkVersion,FRAMEWORKS[_0x5f96f(0xc4)]);let _0x199e14=_0x36c1a7;if(_0x14f408[_0x5f96f(0xc5)](helper[_0x5f96f(0xc2)](_0x130938,_0x14f408[_0x5f96f(0xbb)]),0x0)){const _0x1f82a7={};_0x1f82a7[_0x5f96f(0xce)]=_0x36c1a7,_0x199e14=_0x1f82a7;}const _0x95f436=await _0x14f408[_0x5f96f(0xb4)](_0xb8d03b,_0x199e14,process[_0x5f96f(0xbc)][_0x5f96f(0xa9)]);if(_0x14f408[_0x5f96f(0xb1)](typeof _0x95f436,_0x14f408[_0x5f96f(0xba)]))throw new Error(_0x14f408[_0x5f96f(0xc7)]);return _0x95f436['apply'](null,arguments);}catch(_0x301af5){_0x14f408[_0x5f96f(0xa7)](debug,_0x5f96f(0xc1)+_0x301af5[_0x5f96f(0xc8)]());}}};