browserstack-node-sdk 1.32.14 → 1.32.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -0
  116. package/src/helpers/testhub/testhubHandler.js +1 -0
  117. package/src/helpers/testhub/utils.js +1 -0
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a27_0x3221(_0x47087d,_0x48162d){const _0x1861bd=a27_0x1861();return a27_0x3221=function(_0x3221a1,_0x455564){_0x3221a1=_0x3221a1-0xd8;let _0x167f8a=_0x1861bd[_0x3221a1];return _0x167f8a;},a27_0x3221(_0x47087d,_0x48162d);}const a27_0x6c0a31=a27_0x3221;function a27_0x1861(){const _0x2c69c1=['browserStackLogLevel','CAPABILITY_KEY','../../../helpers/patchHelpers','info','requireSeleniumWebdriver','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','debug','1135364kuIzbp','isUndefined','FVnGW','object','then','updateHubUrl','segoE','../accessibility-automation/helper','caps_','FFqep','320VSfush','Modifying\x20webdriver\x20builder','proxyUrl','pHgqo','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','aHPIJ','UaQUs','../../../hubAllocationMethods','zKFvH','firefoxOptions_','../../../helpers/globals','EWjgJ','__setBrowserOptions','1878nsdZUg','global','capability','ymtxZ','forEach','hJprH','ieOptions_','ALJEp','isBrowserstackInfra','mergeDeep','mgPEo','QUsLW','1136pAjubo','PkcFS','xWFgA','pkSXU','se:ieOptions','__drivers','3|5|0|2|1|4','kSAxm','overrideGet','safariOptions_','getRequestOptions','logLevel','split','proxySettings','capabilities_','push','2263980MQtiMg','getAccessibilityResultsSummary','Hub\x20url\x20set\x20to\x20','exports','3528GnDuGS','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','qeUxJ','9653230cTyVYc','browserstackAgentObservability','SCZJX','Setting\x20Browserstack\x20capabilities','getHttpAgent','uaDPN','isPacProxy','firefoxOptions','HttpClient','../../../helpers/accessibility-automation/helper','ieOptions','aiHkI','XLjZx','send','setCapabilities','originalBuilder','error','bIGdo','../../../helpers/logger','path','overrideExecute','oUFxE','options_','session_','twflp','goog:chromeOptions','newHubUrl','winstonLogger','VcqLj','../../../bin/utils/constants','setServer','11532TkNhLI','PPobj','storeOptimalHubUrl','chromeOptions','MPiLl','ms:edgeOptions','set','agent_','get','Builder','rDRKU','setGlobal','setLogLevel','safari.options','EShZd','__driversArray','New\x20hub\x20url\x20set\x20to\x20','build','url_','14182JYREOg','getAccessibilityResults','proxy_','edgeOptions','requireHttpClient','XcBbx','ntShm','7293654GBrDRv','__driver','chromeOptions_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','edgeOptions_'];a27_0x1861=function(){return _0x2c69c1;};return a27_0x1861();}(function(_0x5216fe,_0x39e32b){const _0x3a195b=a27_0x3221,_0x3f4941=_0x5216fe();while(!![]){try{const _0x2308a1=parseInt(_0x3a195b(0xed))/0x1+-parseInt(_0x3a195b(0x120))/0x2+-parseInt(_0x3a195b(0x104))/0x3*(parseInt(_0x3a195b(0x110))/0x4)+-parseInt(_0x3a195b(0xf7))/0x5*(parseInt(_0x3a195b(0x146))/0x6)+-parseInt(_0x3a195b(0xda))/0x7*(parseInt(_0x3a195b(0x124))/0x8)+parseInt(_0x3a195b(0xe1))/0x9+parseInt(_0x3a195b(0x127))/0xa;if(_0x2308a1===_0x39e32b)break;else _0x3f4941['push'](_0x3f4941['shift']());}catch(_0x1761ec){_0x3f4941['push'](_0x3f4941['shift']());}}}(a27_0x1861,0x8ec8d));const logger=require(a27_0x6c0a31(0x139))[a27_0x6c0a31(0x142)],helper=require('../../../helpers/helper'),constants=require(a27_0x6c0a31(0x144)),hubAllocator=require(a27_0x6c0a31(0xfe)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x6c0a31(0xe8)),{setAccessibilityCapabilities,setExtension}=require(a27_0x6c0a31(0xf4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x6c0a31(0x130)),globals=require(a27_0x6c0a31(0x101)),modify=(_0x16360f,_0x5d88e9=null,_0x208d68=![])=>{const _0x5ccb15=a27_0x6c0a31,_0xa60551={'XLjZx':function(_0x3aaaef,_0xf542d4){return _0x3aaaef!==_0xf542d4;},'ONhbK':'/session','VcqLj':function(_0x355f90,_0x223ec7){return _0x355f90!==_0x223ec7;},'FVnGW':function(_0x3549a2,_0x1b596f){return _0x3549a2+_0x1b596f;},'FFqep':'https://','qNhus':'/wd/hub','kSAxm':_0x5ccb15(0x140),'xWFgA':_0x5ccb15(0x149),'bIGdo':_0x5ccb15(0x14b),'rDRKU':_0x5ccb15(0xdd),'qeUxJ':'moz:firefoxOptions','ALJEp':_0x5ccb15(0x12e),'zKFvH':_0x5ccb15(0x153),'uaDPN':_0x5ccb15(0x114),'PkcFS':_0x5ccb15(0x131),'bxlsK':function(_0x3a6fdb,_0x102645){return _0x3a6fdb===_0x102645;},'aiHkI':_0x5ccb15(0xf0),'aHPIJ':_0x5ccb15(0x12a),'mgPEo':'optimalHubUrl','XcBbx':_0x5ccb15(0x125),'PPobj':'5|0|1|2|4|3','pkSXU':function(_0x54e688,_0x23a2bb){return _0x54e688(_0x23a2bb);},'UaQUs':function(_0x2b775a,_0x2a4279,_0x2df418){return _0x2b775a(_0x2a4279,_0x2df418);},'SCZJX':function(_0x4d17b8,_0x19cc60,_0x51281a){return _0x4d17b8(_0x19cc60,_0x51281a);},'pHgqo':function(_0x7c023f,_0x2c1774,_0x50fb11){return _0x7c023f(_0x2c1774,_0x50fb11);},'EShZd':_0x5ccb15(0x116),'ntShm':'isAccessibilityPlatform','segoE':function(_0x2e418e){return _0x2e418e();},'EWjgJ':_0x5ccb15(0xe4),'oUFxE':function(_0x45f331,_0x35a2ea){return _0x45f331!==_0x35a2ea;},'MPiLl':function(_0x30c3dc,_0x4c8459){return _0x30c3dc!==_0x4c8459;},'hJprH':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','QUsLW':_0x5ccb15(0xf8)},_0x4adda8=helper[_0x5ccb15(0xde)]();let _0x343039;try{_0x343039=helper[_0x5ccb15(0xea)](),_0x343039[_0x5ccb15(0x136)]&&(_0x343039[_0x5ccb15(0x14f)]=_0x343039[_0x5ccb15(0x136)]);}catch(_0x5e2e8a){return;}if(helper[_0x5ccb15(0x10c)]()){const _0x2e642e={};_0x2e642e[_0x5ccb15(0x11b)]=_0x16360f[_0x5ccb15(0xe6)],helper[_0x5ccb15(0x152)](_0x2e642e,new Map(),new Map()),logger[_0x5ccb15(0xe9)](_0xa60551[_0x5ccb15(0x109)]),logger[_0x5ccb15(0xec)](_0xa60551[_0x5ccb15(0x10f)]);}class _0x3ec5dc extends _0x4adda8[_0x5ccb15(0x12f)]{[_0x5ccb15(0x134)](_0x1ec412){const _0x476da3=_0x5ccb15;if(_0xa60551[_0x476da3(0x133)](_0x1ec412[_0x476da3(0x13a)],_0xa60551['ONhbK'])&&_0xa60551[_0x476da3(0x143)](global[_0x476da3(0x141)],''))try{global['newHubUrl']=_0xa60551[_0x476da3(0xef)](_0xa60551[_0x476da3(0xef)](_0xa60551[_0x476da3(0xf6)],global[_0x476da3(0x141)]),_0xa60551['qNhus']),this[_0x476da3(0x13d)]=hubAllocator[_0x476da3(0x11a)](global[_0x476da3(0x141)]),logger['debug'](_0x476da3(0x156)+global[_0x476da3(0x141)]),global[_0x476da3(0x141)]='';}catch(_0x116882){logger[_0x476da3(0x137)](_0x116882);}return super[_0x476da3(0x134)](_0x1ec412);}}class _0x43c3d5 extends _0x343039['Builder']{[_0x5ccb15(0x145)](){const _0x43b549=_0x5ccb15;return this[_0x43b549(0xd9)]=helper['getHubUrl'](_0x16360f),logger[_0x43b549(0xec)](_0x43b549(0x122)+this[_0x43b549(0xd9)]),this;}[_0x5ccb15(0x103)](_0x3b0804){const _0x1523a3=_0x5ccb15;let _0x191560={};for(const _0x198453 in _0x3b0804){switch(_0x198453){case _0xa60551[_0x1523a3(0x117)]:case _0xa60551[_0x1523a3(0x112)]:this[_0x1523a3(0xe3)]&&(_0x191560=this['chromeOptions_'][_0x1523a3(0x14e)](this[_0x1523a3(0xe3)][_0x1523a3(0xe7)])||{},this[_0x1523a3(0xe3)][_0x1523a3(0x14c)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0x138)]:case _0xa60551[_0x1523a3(0x150)]:this[_0x1523a3(0xe5)]&&(_0x191560=this['edgeOptions_'][_0x1523a3(0x14e)](this[_0x1523a3(0xe5)][_0x1523a3(0xe7)])||{},this[_0x1523a3(0xe5)][_0x1523a3(0x14c)](this[_0x1523a3(0xe5)][_0x1523a3(0xe7)],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0x126)]:case _0xa60551[_0x1523a3(0x10b)]:this[_0x1523a3(0x100)]&&(_0x191560=this[_0x1523a3(0x100)][_0x1523a3(0x14e)](this[_0x1523a3(0x100)][_0x1523a3(0xe7)])||{},this['firefoxOptions_'][_0x1523a3(0x14c)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0xff)]:this[_0x1523a3(0x119)]&&(_0x191560=this[_0x1523a3(0x119)]['get'](this[_0x1523a3(0x119)]['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x1523a3(0x119)][_0x1523a3(0xe7)],helper['mergeDeep'](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0x12c)]:case _0xa60551[_0x1523a3(0x111)]:this[_0x1523a3(0x10a)]&&(_0x191560=this['ieOptions_'][_0x1523a3(0x14e)](this[_0x1523a3(0x10a)][_0x1523a3(0xe7)])||{},this['ieOptions_'][_0x1523a3(0x14c)](this[_0x1523a3(0x10a)][_0x1523a3(0xe7)],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;}}}[_0x5ccb15(0x135)](){const _0x344e98=_0x5ccb15;return logger[_0x344e98(0xec)](_0xa60551[_0x344e98(0xfc)]),this[_0x344e98(0x103)](_0x16360f['capability']),Object['keys'](_0x16360f[_0x344e98(0x106)])[_0x344e98(0x108)](_0x4946c5=>{const _0x5a7f7c=_0x344e98,_0x2f940a=this[_0x5a7f7c(0x11e)][_0x5a7f7c(0x14e)](_0x4946c5);_0xa60551['bxlsK'](typeof _0x2f940a,_0xa60551[_0x5a7f7c(0x132)])?this[_0x5a7f7c(0x11e)][_0x5a7f7c(0x14c)](_0x4946c5,helper[_0x5a7f7c(0x10d)](_0x2f940a,_0x16360f[_0x5a7f7c(0x106)][_0x4946c5])):this[_0x5a7f7c(0x11e)][_0x5a7f7c(0x14c)](_0x4946c5,_0x16360f[_0x5a7f7c(0x106)][_0x4946c5]);}),this;}[_0x5ccb15(0xd8)](){const _0x4af1e2=_0x5ccb15,_0x1fad64={'ymtxZ':function(_0xbc5e55,_0x17debf,_0x2e3d86){const _0x2d58c6=a27_0x3221;return _0xa60551[_0x2d58c6(0x129)](_0xbc5e55,_0x17debf,_0x2e3d86);},'twflp':function(_0x5223ce,_0x4eb270,_0x5c436b){const _0x592ff7=a27_0x3221;return _0xa60551[_0x592ff7(0xfa)](_0x5223ce,_0x4eb270,_0x5c436b);}};if(helper[_0x4af1e2(0x10c)]()){const _0x17ee3c=_0xa60551[_0x4af1e2(0x154)]['split']('|');let _0x32cc0c=0x0;while(!![]){switch(_0x17ee3c[_0x32cc0c++]){case'0':this[_0x4af1e2(0x135)]();continue;case'1':globals['getGlobal'](_0xa60551[_0x4af1e2(0xe0)])&&(!_0xa60551[_0x4af1e2(0xfd)](setExtension,this,_0x16360f)&&globals[_0x4af1e2(0x151)](_0xa60551[_0x4af1e2(0xe0)],![]));continue;case'2':if(helper[_0x4af1e2(0x12d)](_0x16360f[_0x4af1e2(0x11d)][_0x4af1e2(0xf9)]))this[_0x4af1e2(0x14d)]=helper[_0x4af1e2(0x12b)](_0x16360f['proxySettings'][_0x4af1e2(0xf9)]);else _0x16360f['proxySettings']['proxyUrl']&&(this[_0x4af1e2(0xdc)]=_0x16360f['proxySettings'][_0x4af1e2(0xf9)],logger[_0x4af1e2(0xec)]('Proxy\x20set\x20to\x20'+this[_0x4af1e2(0xdc)]));continue;case'3':_0xa60551[_0x4af1e2(0xf3)](isAccessibilityAutomationSession)&&_0xa60551[_0x4af1e2(0x113)](setAccessibilityCapabilities,_0x16360f);continue;case'4':logger['debug'](_0xa60551[_0x4af1e2(0x102)]);continue;case'5':this['setServer']();continue;}break;}}const _0xc44ebc=super[_0x4af1e2(0xd8)]();return _0xc44ebc[_0x4af1e2(0x13e)][_0x4af1e2(0xf1)](_0x1feee0=>{const _0x5d13b0=_0x4af1e2;try{const _0x310643=_0x1feee0[_0x5d13b0(0xf5)]['get'](_0xa60551[_0x5d13b0(0x10e)]);_0x310643?(logger[_0x5d13b0(0xec)](_0x5d13b0(0xfb)+_0x310643),hubAllocator[_0x5d13b0(0xf2)](_0x310643),helper[_0x5d13b0(0x148)](_0x310643)):logger[_0x5d13b0(0xec)](_0xa60551[_0x5d13b0(0xdf)]);}catch(_0x41a0e7){logger[_0x5d13b0(0xec)](_0x5d13b0(0xeb)+_0x41a0e7);}}),_0xc44ebc['quitCount_']=0x0,_0xc44ebc['then']&&_0xc44ebc[_0x4af1e2(0xf1)](_0x45eb93=>{const _0x26d814=_0x4af1e2,_0x17acab=_0xa60551[_0x26d814(0x147)][_0x26d814(0x11c)]('|');let _0x5364cf=0x0;while(!![]){switch(_0x17acab[_0x5364cf++]){case'0':_0xa60551[_0x26d814(0x113)](overrideTakeScreenshot,_0x45eb93);continue;case'1':helper[_0x26d814(0x118)](_0x45eb93,_0x16360f);continue;case'2':helper[_0x26d814(0x13b)](_0x45eb93,_0x16360f);continue;case'3':_0x45eb93[_0x26d814(0xdb)]=async()=>{const _0xf058c=_0x26d814;return await _0x1fad64[_0xf058c(0x13f)](getAccessibilityResults,_0x45eb93,global);};continue;case'4':_0x45eb93[_0x26d814(0x121)]=async()=>{const _0x414878=_0x26d814;return await _0x1fad64[_0x414878(0x107)](getAccessibilityResultsSummary,_0x45eb93,global);};continue;case'5':_0xa60551[_0x26d814(0xfd)](overrideQuit,_0x45eb93,_0xc44ebc);continue;}break;}}),_0xc44ebc[_0x4af1e2(0x121)]=async()=>{const _0x404b54=_0x4af1e2;return await _0x1fad64[_0x404b54(0x13f)](getAccessibilityResultsSummary,_0xc44ebc,global);},_0xc44ebc[_0x4af1e2(0xdb)]=async()=>{return await _0x1fad64['twflp'](getAccessibilityResults,_0xc44ebc,global);},_0xa60551['pkSXU'](overrideTakeScreenshot,_0xc44ebc),_0xa60551[_0x4af1e2(0x113)](overrideQuit,_0xc44ebc),helper['overrideGet'](_0xc44ebc,_0x16360f),helper[_0x4af1e2(0x13b)](_0xc44ebc,_0x16360f),helper['isUndefined'](global['__driversArray'])&&(global['__driversArray']=[]),helper[_0x4af1e2(0xee)](global[_0x4af1e2(0x115)])&&(global[_0x4af1e2(0x115)]=[]),global[_0x4af1e2(0x155)][_0x4af1e2(0x11f)](_0xc44ebc),global[_0x4af1e2(0xe2)]=_0xc44ebc,_0xa60551[_0x4af1e2(0x13c)](global[_0x4af1e2(0x115)],undefined)&&global[_0x4af1e2(0x115)][_0x4af1e2(0x11f)](_0xc44ebc),_0x5d88e9&&helper[_0x4af1e2(0xee)](_0x5d88e9[_0x4af1e2(0x105)]['__driversArray'])&&(_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x155)]=[]),_0x5d88e9&&_0xa60551[_0x4af1e2(0x14a)](_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x115)],undefined)&&(_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x115)][_0x4af1e2(0x11f)](_0xc44ebc),_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x155)][_0x4af1e2(0x11f)](_0xc44ebc)),_0xc44ebc;}}return _0x343039[_0x5ccb15(0x136)]=_0x343039['Builder'],_0x343039[_0x5ccb15(0x14f)]=_0x43c3d5,_0x4adda8['HttpClient']=_0x3ec5dc,_0x343039;};module[a27_0x6c0a31(0x123)][a27_0x6c0a31(0x128)]=modify;
1
+ function a27_0x9a59(_0x565e63,_0x22b27c){const _0x2ae838=a27_0x2ae8();return a27_0x9a59=function(_0x9a59c5,_0x5025f6){_0x9a59c5=_0x9a59c5-0xa8;let _0x4b41a2=_0x2ae838[_0x9a59c5];return _0x4b41a2;},a27_0x9a59(_0x565e63,_0x22b27c);}const a27_0x10c959=a27_0x9a59;(function(_0x434415,_0x527bcb){const _0x43f10a=a27_0x9a59,_0x4ec4c3=_0x434415();while(!![]){try{const _0x18d1b9=parseInt(_0x43f10a(0xe2))/0x1+parseInt(_0x43f10a(0xea))/0x2+-parseInt(_0x43f10a(0x117))/0x3*(parseInt(_0x43f10a(0xfd))/0x4)+parseInt(_0x43f10a(0xcc))/0x5+-parseInt(_0x43f10a(0x106))/0x6+parseInt(_0x43f10a(0x10d))/0x7+-parseInt(_0x43f10a(0x102))/0x8;if(_0x18d1b9===_0x527bcb)break;else _0x4ec4c3['push'](_0x4ec4c3['shift']());}catch(_0x39ce53){_0x4ec4c3['push'](_0x4ec4c3['shift']());}}}(a27_0x2ae8,0xc5834));const logger=require(a27_0x10c959(0x114))[a27_0x10c959(0xc6)],helper=require(a27_0x10c959(0xe4)),constants=require(a27_0x10c959(0x10b)),hubAllocator=require(a27_0x10c959(0xc9)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x10c959(0x123)),{setAccessibilityCapabilities,setExtension}=require(a27_0x10c959(0xfb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x10c959(0xef)),globals=require(a27_0x10c959(0xd9)),modify=(_0x5e7a18,_0x235958=null,_0x132173=![])=>{const _0x263218=a27_0x10c959,_0x27bdb9={'VtDXV':function(_0x1b9ea7,_0x549406){return _0x1b9ea7!==_0x549406;},'nqHXp':_0x263218(0xc4),'CYLcz':function(_0x18e193,_0x6b1c12){return _0x18e193+_0x6b1c12;},'bsbiO':function(_0x546223,_0x5e6957){return _0x546223+_0x5e6957;},'SMobE':_0x263218(0xbd),'KGgbV':_0x263218(0x116),'XlOLL':_0x263218(0xa9),'EkZpo':_0x263218(0x113),'pmDFi':_0x263218(0x115),'wlkDx':_0x263218(0xcf),'rpVZP':_0x263218(0xce),'wSGRK':_0x263218(0xf8),'zdtLF':_0x263218(0xd3),'mURbt':_0x263218(0xf3),'xDPyz':_0x263218(0xb6),'yblRV':function(_0x37b81b,_0x446cf6){return _0x37b81b===_0x446cf6;},'wcpcj':_0x263218(0xbe),'GLWoV':_0x263218(0x124),'JHHWa':_0x263218(0xc7),'pPCXV':function(_0x59b0b7,_0xd0d380,_0x125970){return _0x59b0b7(_0xd0d380,_0x125970);},'LFNDU':function(_0x239c4f,_0xba6bef){return _0x239c4f(_0xba6bef);},'pCAsC':function(_0x24bbe8,_0x230b09,_0x1ae502){return _0x24bbe8(_0x230b09,_0x1ae502);},'cBKXg':_0x263218(0x10c),'FPEeZ':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','EUtAY':_0x263218(0xd4),'OXoVr':'isAccessibilityPlatform','ZFoIJ':function(_0x3a6cd0){return _0x3a6cd0();},'GWoxY':function(_0x1ade27,_0x2c4044){return _0x1ade27(_0x2c4044);},'tGqPv':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','YMpcd':function(_0x3268bd,_0x299852){return _0x3268bd!==_0x299852;},'sAwfT':_0x263218(0xde),'ftFVJ':'Modifying\x20webdriver\x20builder'},_0x469ebc=helper[_0x263218(0x121)]();let _0x2453b5;try{_0x2453b5=helper[_0x263218(0xfa)](),_0x2453b5[_0x263218(0xb2)]&&(_0x2453b5[_0x263218(0xe6)]=_0x2453b5[_0x263218(0xb2)]);}catch(_0x91cf8c){return;}if(helper['isBrowserstackInfra']()){const _0x25bc41={};_0x25bc41[_0x263218(0x110)]=_0x5e7a18[_0x263218(0x10e)],helper[_0x263218(0xf1)](_0x25bc41,new Map(),new Map()),logger[_0x263218(0xe7)](_0x27bdb9[_0x263218(0xad)]),logger[_0x263218(0xb9)](_0x27bdb9[_0x263218(0xe0)]);}class _0x57e18b extends _0x469ebc[_0x263218(0xf7)]{['send'](_0x3e0ceb){const _0x42fd9c=_0x263218;if(_0x27bdb9[_0x42fd9c(0x107)](_0x3e0ceb[_0x42fd9c(0xbf)],_0x27bdb9[_0x42fd9c(0x100)])&&_0x27bdb9[_0x42fd9c(0x107)](global[_0x42fd9c(0xd5)],''))try{global[_0x42fd9c(0xd5)]=_0x27bdb9[_0x42fd9c(0xbc)](_0x27bdb9['bsbiO'](_0x27bdb9[_0x42fd9c(0x125)],global['newHubUrl']),_0x27bdb9[_0x42fd9c(0xc3)]),this['options_']=hubAllocator[_0x42fd9c(0x11d)](global['newHubUrl']),logger[_0x42fd9c(0xb9)](_0x42fd9c(0xba)+global[_0x42fd9c(0xd5)]),global['newHubUrl']='';}catch(_0x4e9244){logger['error'](_0x4e9244);}return super['send'](_0x3e0ceb);}}class _0x4b4737 extends _0x2453b5[_0x263218(0xe6)]{[_0x263218(0xfe)](){const _0x2eb0e2=_0x263218;return this['url_']=helper[_0x2eb0e2(0x11a)](_0x5e7a18),logger[_0x2eb0e2(0xb9)](_0x2eb0e2(0xaa)+this[_0x2eb0e2(0xdd)]),this;}[_0x263218(0xd1)](_0x5d3b27){const _0x3711c3=_0x263218;let _0x2d2a10={};for(const _0x19139f in _0x5d3b27){switch(_0x19139f){case _0x27bdb9[_0x3711c3(0xae)]:case _0x27bdb9[_0x3711c3(0xac)]:this[_0x3711c3(0xf5)]&&(_0x2d2a10=this['chromeOptions_'][_0x3711c3(0xc0)](this[_0x3711c3(0xf5)][_0x3711c3(0xb1)])||{},this['chromeOptions_'][_0x3711c3(0x126)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9[_0x3711c3(0xc5)]:case _0x27bdb9[_0x3711c3(0xbb)]:this['edgeOptions_']&&(_0x2d2a10=this[_0x3711c3(0xb4)][_0x3711c3(0xc0)](this[_0x3711c3(0xb4)][_0x3711c3(0xb1)])||{},this[_0x3711c3(0xb4)][_0x3711c3(0x126)](this[_0x3711c3(0xb4)][_0x3711c3(0xb1)],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9['rpVZP']:case _0x27bdb9['wSGRK']:this['firefoxOptions_']&&(_0x2d2a10=this[_0x3711c3(0x119)][_0x3711c3(0xc0)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x3711c3(0x126)](this[_0x3711c3(0x119)]['CAPABILITY_KEY'],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9['zdtLF']:this[_0x3711c3(0x108)]&&(_0x2d2a10=this[_0x3711c3(0x108)][_0x3711c3(0xc0)](this[_0x3711c3(0x108)][_0x3711c3(0xb1)])||{},this['safariOptions_']['set'](this[_0x3711c3(0x108)][_0x3711c3(0xb1)],helper['mergeDeep'](_0x2d2a10,_0x5d3b27[_0x19139f])));break;case _0x27bdb9[_0x3711c3(0xdc)]:case _0x27bdb9[_0x3711c3(0xdf)]:this['ieOptions_']&&(_0x2d2a10=this['ieOptions_'][_0x3711c3(0xc0)](this['ieOptions_'][_0x3711c3(0xb1)])||{},this[_0x3711c3(0xd2)][_0x3711c3(0x126)](this['ieOptions_'][_0x3711c3(0xb1)],helper[_0x3711c3(0xb3)](_0x2d2a10,_0x5d3b27[_0x19139f])));break;}}}['setCapabilities'](){const _0x2f3035=_0x263218;return logger['debug'](_0x27bdb9[_0x2f3035(0x111)]),this[_0x2f3035(0xd1)](_0x5e7a18[_0x2f3035(0xb8)]),Object[_0x2f3035(0x11e)](_0x5e7a18['capability'])[_0x2f3035(0xeb)](_0x117755=>{const _0x45e03b=_0x2f3035,_0x5e5f55=this['capabilities_'][_0x45e03b(0xc0)](_0x117755);_0x27bdb9[_0x45e03b(0xff)](typeof _0x5e5f55,_0x27bdb9[_0x45e03b(0xe5)])?this[_0x45e03b(0xcd)]['set'](_0x117755,helper[_0x45e03b(0xb3)](_0x5e5f55,_0x5e7a18['capability'][_0x117755])):this[_0x45e03b(0xcd)]['set'](_0x117755,_0x5e7a18['capability'][_0x117755]);}),this;}[_0x263218(0xb0)](){const _0x2f2f34=_0x263218,_0x5c3a8e={'dvQWJ':_0x27bdb9[_0x2f2f34(0xd6)],'luiJS':_0x27bdb9[_0x2f2f34(0xf4)],'NbTRG':function(_0x3d9d64,_0x137c48,_0x1cbb7b){const _0x255fb1=_0x2f2f34;return _0x27bdb9[_0x255fb1(0xcb)](_0x3d9d64,_0x137c48,_0x1cbb7b);},'PXKfL':function(_0x3cc049,_0x2e4b0a,_0x195bc4){const _0x3a2f2f=_0x2f2f34;return _0x27bdb9[_0x3a2f2f(0xcb)](_0x3cc049,_0x2e4b0a,_0x195bc4);}};if(helper[_0x2f2f34(0xf6)]()){const _0x2703ff=_0x27bdb9[_0x2f2f34(0xc1)]['split']('|');let _0x457548=0x0;while(!![]){switch(_0x2703ff[_0x457548++]){case'0':globals['getGlobal'](_0x27bdb9['OXoVr'])&&(!_0x27bdb9['pCAsC'](setExtension,this,_0x5e7a18)&&globals['setGlobal'](_0x27bdb9[_0x2f2f34(0x101)],![]));continue;case'1':this[_0x2f2f34(0xec)]();continue;case'2':_0x27bdb9[_0x2f2f34(0x104)](isAccessibilityAutomationSession)&&_0x27bdb9[_0x2f2f34(0xab)](setAccessibilityCapabilities,_0x5e7a18);continue;case'3':this[_0x2f2f34(0xfe)]();continue;case'4':logger[_0x2f2f34(0xb9)](_0x27bdb9[_0x2f2f34(0x109)]);continue;case'5':if(helper[_0x2f2f34(0x120)](_0x5e7a18['proxySettings'][_0x2f2f34(0xca)]))this[_0x2f2f34(0xda)]=helper[_0x2f2f34(0xed)](_0x5e7a18[_0x2f2f34(0xb7)][_0x2f2f34(0xca)]);else _0x5e7a18['proxySettings'][_0x2f2f34(0xca)]&&(this[_0x2f2f34(0xe9)]=_0x5e7a18[_0x2f2f34(0xb7)][_0x2f2f34(0xca)],logger[_0x2f2f34(0xb9)](_0x2f2f34(0x112)+this[_0x2f2f34(0xe9)]));continue;}break;}}const _0x2f51bd=super['build']();return _0x2f51bd[_0x2f2f34(0x118)]['then'](_0x413d5c=>{const _0x40b0bf=_0x2f2f34;try{const _0x11b477=_0x413d5c[_0x40b0bf(0xc2)][_0x40b0bf(0xc0)](_0x5c3a8e[_0x40b0bf(0xfc)]);_0x11b477?(logger[_0x40b0bf(0xb9)](_0x40b0bf(0xb5)+_0x11b477),hubAllocator[_0x40b0bf(0x10a)](_0x11b477),helper[_0x40b0bf(0xf9)](_0x11b477)):logger[_0x40b0bf(0xb9)](_0x5c3a8e[_0x40b0bf(0xd0)]);}catch(_0xe09cdf){logger[_0x40b0bf(0xb9)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0xe09cdf);}}),_0x2f51bd[_0x2f2f34(0xa8)]=0x0,_0x2f51bd['then']&&_0x2f51bd[_0x2f2f34(0xaf)](_0xe42eae=>{const _0x5c2115=_0x2f2f34,_0x3c399e=_0x27bdb9[_0x5c2115(0xe1)][_0x5c2115(0x122)]('|');let _0x5845c8=0x0;while(!![]){switch(_0x3c399e[_0x5845c8++]){case'0':helper[_0x5c2115(0x103)](_0xe42eae,_0x5e7a18);continue;case'1':_0x27bdb9[_0x5c2115(0xcb)](overrideQuit,_0xe42eae,_0x2f51bd);continue;case'2':_0xe42eae[_0x5c2115(0xe8)]=async()=>{const _0x4275d6=_0x5c2115;return await _0x5c3a8e[_0x4275d6(0xd8)](getAccessibilityResultsSummary,_0xe42eae,global);};continue;case'3':_0x27bdb9[_0x5c2115(0x105)](overrideTakeScreenshot,_0xe42eae);continue;case'4':helper[_0x5c2115(0xf0)](_0xe42eae,_0x5e7a18);continue;case'5':_0xe42eae[_0x5c2115(0xf2)]=async()=>{const _0x1c5b5f=_0x5c2115;return await _0x5c3a8e[_0x1c5b5f(0x11f)](getAccessibilityResults,_0xe42eae,global);};continue;}break;}}),_0x2f51bd[_0x2f2f34(0xe8)]=async()=>{const _0x4193dd=_0x2f2f34;return await _0x5c3a8e[_0x4193dd(0x11f)](getAccessibilityResultsSummary,_0x2f51bd,global);},_0x2f51bd['getAccessibilityResults']=async()=>{return await _0x27bdb9['pCAsC'](getAccessibilityResults,_0x2f51bd,global);},_0x27bdb9['LFNDU'](overrideTakeScreenshot,_0x2f51bd),_0x27bdb9[_0x2f2f34(0x105)](overrideQuit,_0x2f51bd),helper[_0x2f2f34(0x103)](_0x2f51bd,_0x5e7a18),helper[_0x2f2f34(0xf0)](_0x2f51bd,_0x5e7a18),helper[_0x2f2f34(0x11c)](global['__driversArray'])&&(global[_0x2f2f34(0xee)]=[]),helper['isUndefined'](global[_0x2f2f34(0x11b)])&&(global[_0x2f2f34(0x11b)]=[]),global[_0x2f2f34(0xee)][_0x2f2f34(0xe3)](_0x2f51bd),global[_0x2f2f34(0xd7)]=_0x2f51bd,_0x27bdb9[_0x2f2f34(0x10f)](global[_0x2f2f34(0x11b)],undefined)&&global[_0x2f2f34(0x11b)][_0x2f2f34(0xe3)](_0x2f51bd),_0x235958&&helper['isUndefined'](_0x235958[_0x2f2f34(0xdb)][_0x2f2f34(0xee)])&&(_0x235958[_0x2f2f34(0xdb)][_0x2f2f34(0xee)]=[]),_0x235958&&_0x27bdb9[_0x2f2f34(0x107)](_0x235958[_0x2f2f34(0xdb)]['__drivers'],undefined)&&(_0x235958[_0x2f2f34(0xdb)][_0x2f2f34(0x11b)][_0x2f2f34(0xe3)](_0x2f51bd),_0x235958[_0x2f2f34(0xdb)]['__driversArray'][_0x2f2f34(0xe3)](_0x2f51bd)),_0x2f51bd;}}return _0x2453b5['originalBuilder']=_0x2453b5[_0x263218(0xe6)],_0x2453b5[_0x263218(0xe6)]=_0x4b4737,_0x469ebc[_0x263218(0xf7)]=_0x57e18b,_0x2453b5;};function a27_0x2ae8(){const _0xce5d0e=['ms:edgeOptions','/wd/hub','1618917oXbPRZ','session_','firefoxOptions_','getHubUrl','__drivers','isUndefined','getRequestOptions','keys','PXKfL','isPacProxy','requireHttpClient','split','../../../helpers/patchHelpers','Setting\x20Browserstack\x20capabilities','SMobE','set','quitCount_','goog:chromeOptions','Hub\x20url\x20set\x20to\x20','GWoxY','EkZpo','sAwfT','XlOLL','then','build','CAPABILITY_KEY','originalBuilder','mergeDeep','edgeOptions_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','ieOptions','proxySettings','capability','debug','New\x20hub\x20url\x20set\x20to\x20','wlkDx','CYLcz','https://','object','path','get','EUtAY','caps_','KGgbV','/session','pmDFi','winstonLogger','1|3|0|4|2|5','browserstackAgentObservability','../../../hubAllocationMethods','proxyUrl','pPCXV','8074015nLpcnN','capabilities_','moz:firefoxOptions','edgeOptions','luiJS','__setBrowserOptions','ieOptions_','safari.options','2|3|1|5|0|4','newHubUrl','cBKXg','__driver','NbTRG','../../../helpers/globals','agent_','global','mURbt','url_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','xDPyz','ftFVJ','JHHWa','625160pYZVFc','push','../../../helpers/helper','wcpcj','Builder','info','getAccessibilityResultsSummary','proxy_','3187282cKvGtZ','forEach','setCapabilities','getHttpAgent','__driversArray','../../../helpers/accessibility-automation/helper','overrideExecute','setLogLevel','getAccessibilityResults','se:ieOptions','FPEeZ','chromeOptions_','isBrowserstackInfra','HttpClient','firefoxOptions','storeOptimalHubUrl','requireSeleniumWebdriver','../accessibility-automation/helper','dvQWJ','8fSPkoG','setServer','yblRV','nqHXp','OXoVr','19647624tSQzXB','overrideGet','ZFoIJ','LFNDU','2857380fikoZj','VtDXV','safariOptions_','tGqPv','updateHubUrl','../../../bin/utils/constants','optimalHubUrl','6908083rzWMCi','browserStackLogLevel','YMpcd','logLevel','GLWoV','Proxy\x20set\x20to\x20','chromeOptions','../../../helpers/logger'];a27_0x2ae8=function(){return _0xce5d0e;};return a27_0x2ae8();}module['exports'][a27_0x10c959(0xc8)]=modify;
@@ -1 +1 @@
1
- function a28_0x5523(){const _0x434abc=['../../../bin/utils/constants','654cYzZBx','restore','1676180mXDvqa','1370LPaagO','72psJgIh','2gIDYmJ','timeout','1218064xbIWLv','1015549jkzUCC','2099283cUtDSr','../../../helpers/request-spy','mochaHooks','10930500TMjYAn','61865rjVhNC','186230zuQBZS','../../../helpers/test-observability/utils','RSRxK'];a28_0x5523=function(){return _0x434abc;};return a28_0x5523();}const a28_0x177fc7=a28_0xd0ed;(function(_0x147b9e,_0x5151a8){const _0x12a7e8=a28_0xd0ed,_0x18bc59=_0x147b9e();while(!![]){try{const _0x5e2390=parseInt(_0x12a7e8(0xa7))/0x1*(parseInt(_0x12a7e8(0xb6))/0x2)+-parseInt(_0x12a7e8(0xa8))/0x3+-parseInt(_0x12a7e8(0xb3))/0x4+-parseInt(_0x12a7e8(0xac))/0x5*(-parseInt(_0x12a7e8(0xb1))/0x6)+-parseInt(_0x12a7e8(0xab))/0x7+-parseInt(_0x12a7e8(0xa6))/0x8*(parseInt(_0x12a7e8(0xb5))/0x9)+-parseInt(_0x12a7e8(0xb4))/0xa*(-parseInt(_0x12a7e8(0xad))/0xb);if(_0x5e2390===_0x5151a8)break;else _0x18bc59['push'](_0x18bc59['shift']());}catch(_0x15b685){_0x18bc59['push'](_0x18bc59['shift']());}}}(a28_0x5523,0xbfb5e));function a28_0xd0ed(_0x5e9a24,_0x5b5ce1){const _0x552327=a28_0x5523();return a28_0xd0ed=function(_0xd0ed2,_0xdbcfcf){_0xd0ed2=_0xd0ed2-0xa6;let _0x591bd7=_0x552327[_0xd0ed2];return _0x591bd7;},a28_0xd0ed(_0x5e9a24,_0x5b5ce1);}const requestSpy=require(a28_0x177fc7(0xa9)),constants=require(a28_0x177fc7(0xb0)),{addRequestSpy}=require(a28_0x177fc7(0xae));exports[a28_0x177fc7(0xaa)]={'beforeAll'(){const _0xe26bf9=a28_0x177fc7,_0x5494b2={'RSRxK':function(_0x4c1fc3){return _0x4c1fc3();}},_0x4dea68='browserstack internal helper hook';_0x5494b2[_0xe26bf9(0xaf)](addRequestSpy);},'afterAll'(){const _0x4eccaf=a28_0x177fc7,_0x50425d='browserstack internal helper hook';this[_0x4eccaf(0xb7)](0xea60),requestSpy[_0x4eccaf(0xb2)]();}};
1
+ const a28_0xded9ca=a28_0x543f;function a28_0x2bd6(){const _0x2d2d3a=['4810932WzEYaK','214281VaQhrr','5TKDaUq','2754444djTior','14430584HSsBBc','restore','mochaHooks','../../../helpers/request-spy','../../../helpers/test-observability/utils','645210nwtqNQ','../../../bin/utils/constants','timeout','144753nJIDrT','DusVD','8079294luNoJF'];a28_0x2bd6=function(){return _0x2d2d3a;};return a28_0x2bd6();}(function(_0x252a9f,_0x141539){const _0x1c0b02=a28_0x543f,_0x372236=_0x252a9f();while(!![]){try{const _0x3310f1=-parseInt(_0x1c0b02(0x135))/0x1+-parseInt(_0x1c0b02(0x132))/0x2+parseInt(_0x1c0b02(0x139))/0x3+parseInt(_0x1c0b02(0x138))/0x4+parseInt(_0x1c0b02(0x13a))/0x5*(parseInt(_0x1c0b02(0x137))/0x6)+parseInt(_0x1c0b02(0x13b))/0x7+-parseInt(_0x1c0b02(0x12d))/0x8;if(_0x3310f1===_0x141539)break;else _0x372236['push'](_0x372236['shift']());}catch(_0x41dd38){_0x372236['push'](_0x372236['shift']());}}}(a28_0x2bd6,0xb566c));const requestSpy=require(a28_0xded9ca(0x130)),constants=require(a28_0xded9ca(0x133)),{addRequestSpy}=require(a28_0xded9ca(0x131));function a28_0x543f(_0x2af95b,_0x122026){const _0x2bd6d3=a28_0x2bd6();return a28_0x543f=function(_0x543fc3,_0x345f83){_0x543fc3=_0x543fc3-0x12d;let _0x3fc9f9=_0x2bd6d3[_0x543fc3];return _0x3fc9f9;},a28_0x543f(_0x2af95b,_0x122026);}exports[a28_0xded9ca(0x12f)]={'beforeAll'(){const _0x409cac=a28_0xded9ca,_0x53911a={'DusVD':function(_0x53a960){return _0x53a960();}},_0x40a5b6='browserstack internal helper hook';_0x53911a[_0x409cac(0x136)](addRequestSpy);},'afterAll'(){const _0xada0eb=a28_0xded9ca,_0x2f429f='browserstack internal helper hook';this[_0xada0eb(0x134)](0xea60),requestSpy[_0xada0eb(0x12e)]();}};
@@ -1 +1 @@
1
- function a29_0x3d3d(_0x35cb9c,_0x20a2ed){const _0x43eb0a=a29_0x43eb();return a29_0x3d3d=function(_0x3d3d36,_0x1e1e75){_0x3d3d36=_0x3d3d36-0xaf;let _0x5f3234=_0x43eb0a[_0x3d3d36];return _0x5f3234;},a29_0x3d3d(_0x35cb9c,_0x20a2ed);}const a29_0x32a125=a29_0x3d3d;function a29_0x43eb(){const _0x18ebd8=['getHookSkippedTests','3068364DwqmBL','tAkLZ','_afterAll','OFbps','GXhqY','161655zudylV','uuid','flTSB','NxhPw','ESEzl','../../../helpers/test-observability/utils','hook','failed','9610696IVGTKI','getSession','airJf','concat','_beforeAll','GAQGZ','../../utils/logReportingAPI','mapTestHooks','pbcgU','moHXJ','reduce','map_','hookAnalyticsId','hook:','Orznp','../../utils/logPatcher','RnpGh','_afterEach','9ltNGxG','3789816VybgnW','getHookDetails','dGhHn','fromEntries','FNRWf','clCnE','parent','indexOf','TEST_PLATFORM','436fPkwGL','slice','app','nySEj','tests','MOOUu','string','split','getBrowserVersion','jgGqi','getHooksForTest','PQGHc','37385kezxXF','OfyRa','getPlatform','__cloud_provider___','generic','state','../../../helpers/helper','markedStatus','forEach','IZlcc','SQVat','_beforeEach','suites','js-','app-automate','gaHRA','AOLZj','hwSjn','IOzyl','NhCSZ','658851qdSUOD','pid','egnpA','../../../../package.json','toISOString','sendPlatformDetails','automate','filter','emit','passed','getCapabilities','appium:app','dVVlK','JLTDy','toJSON','470988lknlKU'];a29_0x43eb=function(){return _0x18ebd8;};return a29_0x43eb();}(function(_0x31d6c5,_0x551fcd){const _0x2c3bae=a29_0x3d3d,_0x3a4a9c=_0x31d6c5();while(!![]){try{const _0x1e1dfd=parseInt(_0x2c3bae(0xfd))/0x1+parseInt(_0x2c3bae(0xf8))/0x2+parseInt(_0x2c3bae(0xe7))/0x3+parseInt(_0x2c3bae(0xc7))/0x4*(parseInt(_0x2c3bae(0xd3))/0x5)+-parseInt(_0x2c3bae(0xbe))/0x6+-parseInt(_0x2c3bae(0xf6))/0x7+parseInt(_0x2c3bae(0x105))/0x8*(-parseInt(_0x2c3bae(0xbd))/0x9);if(_0x1e1dfd===_0x551fcd)break;else _0x3a4a9c['push'](_0x3a4a9c['shift']());}catch(_0x57807a){_0x3a4a9c['push'](_0x3a4a9c['shift']());}}}(a29_0x43eb,0xcaaee));const {v4:uuidv4}=require(a29_0x32a125(0xfe)),{name,version}=require(a29_0x32a125(0xea)),logPatcher=require(a29_0x32a125(0xba)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x32a125(0xb1)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x32a125(0x102)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a29_0x32a125(0xd9));console={},Object['keys'](consoleHolder)[a29_0x32a125(0xdb)](_0x5b05f3=>{console[_0x5b05f3]=(..._0x43b612)=>{BSTestOpsPatcher[_0x5b05f3](..._0x43b612);};}),exports['getTestEnv']=()=>{const _0x46c55a=a29_0x32a125,_0x4ebed3={'OfyRa':_0x46c55a(0xd7),'flTSB':function(_0x12be55){return _0x12be55();}};return{'ci':_0x4ebed3[_0x46c55a(0xd4)],'key':_0x4ebed3[_0x46c55a(0xff)](uuidv4),'version':version,'collector':_0x46c55a(0xe0)+name};},exports[a29_0x32a125(0xbf)]=_0xb9205e=>{const _0x28d0ce=a29_0x32a125,_0x1f9ab5={};_0x1f9ab5[_0x28d0ce(0xfb)]=function(_0x58ede8,_0x98986f){return _0x58ede8!==_0x98986f;},_0x1f9ab5['pbcgU']=_0x28d0ce(0xcd),_0x1f9ab5[_0x28d0ce(0xd0)]=function(_0x7f96,_0x3b84b0){return _0x7f96!==_0x3b84b0;},_0x1f9ab5['xaPAn']=_0x28d0ce(0xb8),_0x1f9ab5[_0x28d0ce(0x100)]=function(_0x371a3e,_0x3cafd1){return _0x371a3e!==_0x3cafd1;},_0x1f9ab5[_0x28d0ce(0x107)]=_0x28d0ce(0x103);const _0x43ec18=_0x1f9ab5;if(!_0xb9205e||_0x43ec18['OFbps'](typeof _0xb9205e,_0x43ec18[_0x28d0ce(0xb3)]))return[null,null];if(_0x43ec18[_0x28d0ce(0xd0)](_0xb9205e[_0x28d0ce(0xc5)](_0x43ec18['xaPAn']),-0x1)){const _0x17a178=_0xb9205e[_0x28d0ce(0xce)](_0x43ec18['xaPAn']);return[_0x17a178[0x0][_0x28d0ce(0xc8)](0x0,-0x1)[_0x28d0ce(0xce)]('\x22')[0x1],_0x17a178[0x1]['substring'](0x1)];}else{if(_0x43ec18[_0x28d0ce(0x100)](_0xb9205e['indexOf'](_0x43ec18[_0x28d0ce(0x107)]),-0x1)){const _0x369967=_0xb9205e[_0x28d0ce(0xce)](_0x43ec18['airJf']);return[_0x369967[0x0][_0x28d0ce(0xc8)](0x0,-0x1)[_0x28d0ce(0xce)]('\x22')[0x1],_0xb9205e];}}return[null,null];},exports[a29_0x32a125(0xd1)]=_0x43f8cd=>{const _0x1e3d73=a29_0x32a125,_0x58a6d7={'SQVat':function(_0xe10c7,_0x52084a){return _0xe10c7(_0x52084a);},'RoHQj':_0x1e3d73(0xaf),'GAQGZ':_0x1e3d73(0xfa),'NhCSZ':'_beforeEach','GXhqY':'_afterEach'};if(!_0x43f8cd||!_0x43f8cd[_0x1e3d73(0xc4)])return[];const _0x41e9d5=[];return[_0x58a6d7['RoHQj'],_0x58a6d7[_0x1e3d73(0xb0)],_0x58a6d7[_0x1e3d73(0xe6)],_0x58a6d7[_0x1e3d73(0xfc)]][_0x1e3d73(0xdb)](_0xfeaf7=>{const _0x314894=_0x1e3d73,_0x32f139=_0x43f8cd[_0x314894(0xc4)][_0xfeaf7]||[];_0x32f139[_0x314894(0xdb)](_0x10315a=>{const _0x33fd6b=_0x314894;_0x10315a[_0x33fd6b(0xb7)]&&!_0x58a6d7[_0x33fd6b(0xdd)](isInternalHook,_0x10315a['fn'])&&_0x41e9d5['push'](_0x10315a['hookAnalyticsId']);});}),[..._0x41e9d5,...exports[_0x1e3d73(0xd1)](_0x43f8cd[_0x1e3d73(0xc4)])];},exports['mapTestHooks']=_0xb74416=>{const _0x191b6e=a29_0x32a125,_0x21dbbf={'moHXJ':function(_0x2d5c02){return _0x2d5c02();},'RnpGh':function(_0x56dd7d,_0x4d39e1){return _0x56dd7d===_0x4d39e1;},'dVVlK':_0x191b6e(0xbc),'gaHRA':function(_0x544775){return _0x544775();},'egnpA':_0x191b6e(0xaf),'dGhHn':_0x191b6e(0xfa),'PQGHc':_0x191b6e(0xde)};if(!_0xb74416||!_0xb74416[_0x191b6e(0xc4)])return;[_0x21dbbf[_0x191b6e(0xe9)],_0x21dbbf[_0x191b6e(0xc0)],_0x21dbbf[_0x191b6e(0xd2)],_0x21dbbf[_0x191b6e(0xf3)]][_0x191b6e(0xdb)](_0x1b6b07=>{const _0x1e75f1=_0x191b6e,_0x90e1f5=_0xb74416[_0x1e75f1(0xc4)][_0x1b6b07]||[];_0x90e1f5[_0x1e75f1(0xdb)](_0x4d7558=>{const _0x162061=_0x1e75f1;if(!_0x4d7558['hookAnalyticsId'])_0x4d7558[_0x162061(0xb7)]=_0x21dbbf[_0x162061(0xb4)](uuidv4);else _0x4d7558[_0x162061(0xda)]&&_0x21dbbf[_0x162061(0xbb)](_0x1b6b07,_0x21dbbf[_0x162061(0xf3)])&&(_0x4d7558[_0x162061(0xb7)]=_0x21dbbf[_0x162061(0xe2)](uuidv4),delete _0x4d7558[_0x162061(0xda)]);});}),exports[_0x191b6e(0xb2)](_0xb74416['parent']);},exports[a29_0x32a125(0xec)]=async(_0x10aec8,_0x1ad87c)=>{const _0x597d19=a29_0x32a125,_0x518b6f={'ESEzl':function(_0x17514a){return _0x17514a();},'nySEj':function(_0x4471c8,_0x47907e){return _0x4471c8===_0x47907e;},'MOOUu':'browserstack','AOLZj':_0x597d19(0xf2),'URPZT':_0x597d19(0xc9),'pZpzw':_0x597d19(0xe1),'JLTDy':_0x597d19(0xed),'hwSjn':function(_0x5ae87b,_0x5e5da2){return _0x5ae87b(_0x5e5da2);},'Qczpj':'unknown_grid','FNRWf':_0x597d19(0xc6)};try{if(!_0x518b6f[_0x597d19(0x101)](isTestObservabilitySession))return;const _0x4b7130=await _0x10aec8[_0x597d19(0xf1)](),_0x5ce958=await _0x10aec8[_0x597d19(0x106)](),_0x3d22a9={},_0x373486=Object[_0x597d19(0xc1)](_0x5ce958['getCapabilities']()[_0x597d19(0xb6)]),_0x5bde6b={'product':_0x518b6f[_0x597d19(0xca)](global[_0x597d19(0xd6)],_0x518b6f[_0x597d19(0xcc)])?_0x373486[_0x518b6f[_0x597d19(0xe3)]]||_0x373486[_0x518b6f['URPZT']]?_0x518b6f['pZpzw']:_0x518b6f[_0x597d19(0xf4)]:null,'capabilities':_0x373486,'platform':_0x4b7130[_0x597d19(0xd5)](),'platform_version':_0x518b6f[_0x597d19(0xe4)](getPlatformVersion,_0x518b6f[_0x597d19(0xca)](global[_0x597d19(0xd6)],_0x518b6f['MOOUu'])),'browser':_0x4b7130['getBrowserName'](),'browser_version':_0x4b7130[_0x597d19(0xcf)](),'session_id':_0x5ce958[_0x597d19(0xf5)]()};global['__cloud_provider___']?_0x3d22a9[global['__cloud_provider___']]=_0x5bde6b:_0x3d22a9[_0x518b6f['Qczpj']]=_0x5bde6b,process[_0x597d19(0xef)]('bs:addPlatformDetails:'+process[_0x597d19(0xe8)],{'timestamp':new Date()[_0x597d19(0xeb)](),'level':null,'message':null,'kind':_0x518b6f[_0x597d19(0xc2)],'http_response':_0x3d22a9,'uuid':_0x1ad87c});}catch(_0xf72bc3){_0x518b6f[_0x597d19(0xe4)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0xf72bc3);}},exports[a29_0x32a125(0xf7)]=_0x25c3af=>{const _0x4123d2=a29_0x32a125,_0x30e7f6={};_0x30e7f6[_0x4123d2(0xdc)]=function(_0x2e9419,_0x3235da){return _0x2e9419!==_0x3235da;},_0x30e7f6[_0x4123d2(0xe5)]='hook',_0x30e7f6[_0x4123d2(0xc3)]=_0x4123d2(0xf0),_0x30e7f6[_0x4123d2(0xf9)]=function(_0x49f941,_0x55149f){return _0x49f941!==_0x55149f;},_0x30e7f6[_0x4123d2(0xb9)]=_0x4123d2(0x104);const _0x4d63b9=_0x30e7f6,_0x41a5d1=_0x25c3af[_0x4123d2(0xdf)][_0x4123d2(0xb5)]((_0x12bf75,_0x4f7ef5)=>{const _0x351e93=_0x4123d2,_0x271958=exports[_0x351e93(0xf7)](_0x4f7ef5);return _0x271958&&(_0x12bf75=_0x12bf75[_0x351e93(0x108)](_0x271958)),_0x12bf75;},[]),_0x41b6c6=_0x25c3af[_0x4123d2(0xcb)][_0x4123d2(0xee)](_0x4a88f7=>{const _0x21d981=_0x4123d2,_0xb11d67=_0x4d63b9[_0x21d981(0xdc)](_0x4a88f7['type'],_0x4d63b9[_0x21d981(0xe5)])&&!_0x4a88f7[_0x21d981(0xda)]&&_0x4d63b9[_0x21d981(0xdc)](_0x4a88f7['state'],_0x4d63b9[_0x21d981(0xc3)])&&_0x4d63b9[_0x21d981(0xf9)](_0x4a88f7[_0x21d981(0xd8)],_0x4d63b9[_0x21d981(0xb9)])&&!_0x4a88f7['pending'];return _0xb11d67;});return _0x41b6c6[_0x4123d2(0x108)](_0x41a5d1);};
1
+ const a29_0x5768ab=a29_0x5e7d;function a29_0x30a2(){const _0x543a88=['fMUyY','3DjQbBo','EUKAF','syRzY','YUyOx','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','AUlOk','hookAnalyticsId','fromEntries','parent','fNOeR','hook','app-automate','yPZoe','concat','BdToJ','state','tests','keys','1153041XhawsV','_afterEach','../../utils/logReportingAPI','generic','qtdSe','yZnzA','emit','reduce','FyUTR','jcwiY','getHookSkippedTests','filter','pid','_afterAll','substring','jtWeQ','OLvwe','10084184bSeVYo','XLeys','OvdUm','mapTestHooks','passed','getHooksForTest','LcwvL','uuid','424955YlhEXI','_beforeAll','9kSYeph','WDrPt','TEST_PLATFORM','fvGDL','78XCyKyQ','map_','OyZVO','../../../helpers/helper','uRbIr','type','getCapabilities','split','suites','wjqNC','623338pmYwLv','getBrowserVersion','appium:app','lMPXY','ZfbVp','toISOString','push','uxRZw','markedStatus','toJSON','unknown_grid','_beforeEach','25890210TmqWWJ','indexOf','__cloud_provider___','getTestEnv','HxHkY','automate','1033376JcZgzY','LhUvs','GlWpQ','js-','hHccE','../../../../package.json','hook:','GdPBN','7706587wVKKfk','getSession','forEach','string','bPCNA','failed','getBrowserName','scLOc'];a29_0x30a2=function(){return _0x543a88;};return a29_0x30a2();}(function(_0x576061,_0x35e02c){const _0x326858=a29_0x5e7d,_0x105c1b=_0x576061();while(!![]){try{const _0x475aae=-parseInt(_0x326858(0x229))/0x1+parseInt(_0x326858(0x1f4))/0x2+parseInt(_0x326858(0x217))/0x3*(parseInt(_0x326858(0x206))/0x4)+parseInt(_0x326858(0x242))/0x5*(parseInt(_0x326858(0x248))/0x6)+-parseInt(_0x326858(0x20e))/0x7+-parseInt(_0x326858(0x23a))/0x8+-parseInt(_0x326858(0x244))/0x9*(-parseInt(_0x326858(0x200))/0xa);if(_0x475aae===_0x35e02c)break;else _0x105c1b['push'](_0x105c1b['shift']());}catch(_0x128de9){_0x105c1b['push'](_0x105c1b['shift']());}}}(a29_0x30a2,0xb6f64));function a29_0x5e7d(_0x39b886,_0x2ef7a0){const _0x30a21b=a29_0x30a2();return a29_0x5e7d=function(_0x5e7d5a,_0x262ba7){_0x5e7d5a=_0x5e7d5a-0x1eb;let _0x2985d7=_0x30a21b[_0x5e7d5a];return _0x2985d7;},a29_0x5e7d(_0x39b886,_0x2ef7a0);}const {v4:uuidv4}=require(a29_0x5768ab(0x241)),{name,version}=require(a29_0x5768ab(0x20b)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x5768ab(0x22b)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a29_0x5768ab(0x1ed)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');console={},Object[a29_0x5768ab(0x228)](consoleHolder)[a29_0x5768ab(0x210)](_0x28c73a=>{console[_0x28c73a]=(..._0x553b0b)=>{BSTestOpsPatcher[_0x28c73a](..._0x553b0b);};}),exports[a29_0x5768ab(0x203)]=()=>{const _0x311dea=a29_0x5768ab,_0x5a2ef4={'HxHkY':_0x311dea(0x22c),'wjqNC':function(_0x4da10c){return _0x4da10c();}};return{'ci':_0x5a2ef4[_0x311dea(0x204)],'key':_0x5a2ef4[_0x311dea(0x1f3)](uuidv4),'version':version,'collector':_0x311dea(0x209)+name};},exports['getHookDetails']=_0x27d1b4=>{const _0x63dae=a29_0x5768ab,_0x4be183={};_0x4be183['GdPBN']=function(_0x4bcdaa,_0x318ad9){return _0x4bcdaa!==_0x318ad9;},_0x4be183[_0x63dae(0x218)]=_0x63dae(0x211),_0x4be183[_0x63dae(0x21a)]=_0x63dae(0x20c),_0x4be183[_0x63dae(0x240)]=_0x63dae(0x221);const _0x197777=_0x4be183;if(!_0x27d1b4||_0x197777[_0x63dae(0x20d)](typeof _0x27d1b4,_0x197777[_0x63dae(0x218)]))return[null,null];if(_0x197777[_0x63dae(0x20d)](_0x27d1b4[_0x63dae(0x201)](_0x197777['YUyOx']),-0x1)){const _0x655a01=_0x27d1b4['split'](_0x197777[_0x63dae(0x21a)]);return[_0x655a01[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x655a01[0x1][_0x63dae(0x237)](0x1)];}else{if(_0x197777[_0x63dae(0x20d)](_0x27d1b4[_0x63dae(0x201)](_0x197777[_0x63dae(0x240)]),-0x1)){const _0x137c9f=_0x27d1b4['split'](_0x197777[_0x63dae(0x240)]);return[_0x137c9f[0x0]['slice'](0x0,-0x1)[_0x63dae(0x1f1)]('\x22')[0x1],_0x27d1b4];}}return[null,null];},exports['getHooksForTest']=_0x5d2b4c=>{const _0x2949be=a29_0x5768ab,_0x5df0a6={'fNOeR':function(_0x154219,_0x147e02){return _0x154219(_0x147e02);},'GlWpQ':_0x2949be(0x243),'fvGDL':_0x2949be(0x236),'syRzY':_0x2949be(0x1ff),'lMPXY':_0x2949be(0x22a)};if(!_0x5d2b4c||!_0x5d2b4c[_0x2949be(0x21f)])return[];const _0x236159=[];return[_0x5df0a6[_0x2949be(0x208)],_0x5df0a6[_0x2949be(0x247)],_0x5df0a6[_0x2949be(0x219)],_0x5df0a6[_0x2949be(0x1f7)]]['forEach'](_0x1244cf=>{const _0x2dd00a=_0x2949be,_0x293c1d=_0x5d2b4c[_0x2dd00a(0x21f)][_0x1244cf]||[];_0x293c1d[_0x2dd00a(0x210)](_0x4e9f5b=>{const _0x4d0a06=_0x2dd00a;_0x4e9f5b['hookAnalyticsId']&&!_0x5df0a6[_0x4d0a06(0x220)](isInternalHook,_0x4e9f5b['fn'])&&_0x236159[_0x4d0a06(0x1fa)](_0x4e9f5b[_0x4d0a06(0x21d)]);});}),[..._0x236159,...exports[_0x2949be(0x23f)](_0x5d2b4c['parent'])];},exports['mapTestHooks']=_0x29fc9c=>{const _0x2ec959=a29_0x5768ab,_0x195d9a={'OLvwe':function(_0xfeefee){return _0xfeefee();},'ZfbVp':function(_0x5ad885,_0x44c0a9){return _0x5ad885===_0x44c0a9;},'jcwiY':_0x2ec959(0x22a),'bPCNA':'_beforeAll','WDrPt':_0x2ec959(0x236),'BdToJ':_0x2ec959(0x1ff)};if(!_0x29fc9c||!_0x29fc9c[_0x2ec959(0x21f)])return;[_0x195d9a[_0x2ec959(0x212)],_0x195d9a[_0x2ec959(0x245)],_0x195d9a[_0x2ec959(0x225)],_0x195d9a[_0x2ec959(0x232)]][_0x2ec959(0x210)](_0x18c5ed=>{const _0x27aea6=_0x2ec959,_0x599428={'fMUyY':function(_0x3ed2c4){const _0x4fb227=a29_0x5e7d;return _0x195d9a[_0x4fb227(0x239)](_0x3ed2c4);},'OyZVO':function(_0x279fb3,_0x2bb648){const _0x4157ac=a29_0x5e7d;return _0x195d9a[_0x4157ac(0x1f8)](_0x279fb3,_0x2bb648);},'hHccE':_0x195d9a[_0x27aea6(0x232)]},_0x21815b=_0x29fc9c[_0x27aea6(0x21f)][_0x18c5ed]||[];_0x21815b[_0x27aea6(0x210)](_0x263885=>{const _0x451a19=_0x27aea6;if(!_0x263885[_0x451a19(0x21d)])_0x263885['hookAnalyticsId']=_0x599428[_0x451a19(0x216)](uuidv4);else _0x263885[_0x451a19(0x1fc)]&&_0x599428[_0x451a19(0x1ec)](_0x18c5ed,_0x599428[_0x451a19(0x20a)])&&(_0x263885[_0x451a19(0x21d)]=_0x599428[_0x451a19(0x216)](uuidv4),delete _0x263885[_0x451a19(0x1fc)]);});}),exports[_0x2ec959(0x23d)](_0x29fc9c[_0x2ec959(0x21f)]);},exports['sendPlatformDetails']=async(_0x25e5e0,_0x5897f0)=>{const _0xe88e4d=a29_0x5768ab,_0x3e6920={'AUlOk':function(_0x35aa8d){return _0x35aa8d();},'ZUSuX':function(_0x5cec14,_0x10805c){return _0x5cec14===_0x10805c;},'uxRZw':'browserstack','BqMTE':_0xe88e4d(0x1f6),'MFdPk':'app','OvdUm':_0xe88e4d(0x222),'yPZoe':_0xe88e4d(0x205),'yZnzA':function(_0x561c9f,_0x15087d){return _0x561c9f(_0x15087d);},'uRbIr':function(_0x5d5341,_0x37db1b){return _0x5d5341===_0x37db1b;},'FyUTR':_0xe88e4d(0x1fe),'LhUvs':_0xe88e4d(0x246),'jtWeQ':function(_0x3af804,_0x22b649){return _0x3af804(_0x22b649);}};try{if(!_0x3e6920[_0xe88e4d(0x21c)](shouldProcessEventForTesthub))return;const _0x1207c2=await _0x25e5e0['getCapabilities'](),_0x5c68b5=await _0x25e5e0[_0xe88e4d(0x20f)](),_0x58c973={},_0x4eadaa=Object[_0xe88e4d(0x21e)](_0x5c68b5[_0xe88e4d(0x1f0)]()[_0xe88e4d(0x1eb)]),_0x34b2da={'product':_0x3e6920['ZUSuX'](global[_0xe88e4d(0x202)],_0x3e6920[_0xe88e4d(0x1fb)])?_0x4eadaa[_0x3e6920['BqMTE']]||_0x4eadaa[_0x3e6920['MFdPk']]?_0x3e6920[_0xe88e4d(0x23c)]:_0x3e6920[_0xe88e4d(0x223)]:null,'capabilities':_0x4eadaa,'platform':_0x1207c2['getPlatform'](),'platform_version':_0x3e6920[_0xe88e4d(0x22e)](getPlatformVersion,_0x3e6920[_0xe88e4d(0x1ee)](global[_0xe88e4d(0x202)],_0x3e6920[_0xe88e4d(0x1fb)])),'browser':_0x1207c2[_0xe88e4d(0x214)](),'browser_version':_0x1207c2[_0xe88e4d(0x1f5)](),'session_id':_0x5c68b5[_0xe88e4d(0x1fd)]()};global[_0xe88e4d(0x202)]?_0x58c973[global[_0xe88e4d(0x202)]]=_0x34b2da:_0x58c973[_0x3e6920[_0xe88e4d(0x231)]]=_0x34b2da,process[_0xe88e4d(0x22f)]('bs:addPlatformDetails:'+process[_0xe88e4d(0x235)],{'timestamp':new Date()[_0xe88e4d(0x1f9)](),'level':null,'message':null,'kind':_0x3e6920[_0xe88e4d(0x207)],'http_response':_0x58c973,'uuid':_0x5897f0});}catch(_0x21a445){_0x3e6920[_0xe88e4d(0x238)](debug,_0xe88e4d(0x21b)+_0x21a445);}},exports['getHookSkippedTests']=_0xbf9ceb=>{const _0x5a091a=a29_0x5768ab,_0x425843={};_0x425843[_0x5a091a(0x215)]=function(_0x188096,_0x467754){return _0x188096!==_0x467754;},_0x425843['sBHyk']='hook',_0x425843['QIafK']=function(_0x27ff86,_0x2de615){return _0x27ff86!==_0x2de615;},_0x425843[_0x5a091a(0x22d)]=_0x5a091a(0x23e),_0x425843['aEPVf']=function(_0x49f064,_0x235921){return _0x49f064!==_0x235921;},_0x425843[_0x5a091a(0x23b)]=_0x5a091a(0x213);const _0x25f330=_0x425843,_0x3198eb=_0xbf9ceb[_0x5a091a(0x1f2)][_0x5a091a(0x230)]((_0x4fc42b,_0x163450)=>{const _0x4f308e=_0x5a091a,_0x130fcb=exports[_0x4f308e(0x233)](_0x163450);return _0x130fcb&&(_0x4fc42b=_0x4fc42b[_0x4f308e(0x224)](_0x130fcb)),_0x4fc42b;},[]),_0x462b16=_0xbf9ceb[_0x5a091a(0x227)][_0x5a091a(0x234)](_0x2b19aa=>{const _0x34527d=_0x5a091a,_0x40d09d=_0x25f330['scLOc'](_0x2b19aa[_0x34527d(0x1ef)],_0x25f330['sBHyk'])&&!_0x2b19aa[_0x34527d(0x1fc)]&&_0x25f330['QIafK'](_0x2b19aa[_0x34527d(0x226)],_0x25f330['qtdSe'])&&_0x25f330['aEPVf'](_0x2b19aa['state'],_0x25f330['XLeys'])&&!_0x2b19aa['pending'];return _0x40d09d;});return _0x462b16[_0x5a091a(0x224)](_0x3198eb);};
@@ -1 +1 @@
1
- const a30_0x1ddfcb=a30_0x31fd;(function(_0x322a8c,_0x353eca){const _0x208ef8=a30_0x31fd,_0x7391d3=_0x322a8c();while(!![]){try{const _0x6d9b6=-parseInt(_0x208ef8(0x13a))/0x1*(parseInt(_0x208ef8(0x11f))/0x2)+parseInt(_0x208ef8(0x11b))/0x3+-parseInt(_0x208ef8(0xef))/0x4+parseInt(_0x208ef8(0x112))/0x5*(parseInt(_0x208ef8(0x10e))/0x6)+-parseInt(_0x208ef8(0x11e))/0x7*(parseInt(_0x208ef8(0x10c))/0x8)+parseInt(_0x208ef8(0x100))/0x9*(-parseInt(_0x208ef8(0x132))/0xa)+parseInt(_0x208ef8(0x102))/0xb;if(_0x6d9b6===_0x353eca)break;else _0x7391d3['push'](_0x7391d3['shift']());}catch(_0x3a1b2f){_0x7391d3['push'](_0x7391d3['shift']());}}}(a30_0x2c9f,0x2a00c));const util=require(a30_0x1ddfcb(0x158)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x1ddfcb(0x11d)),{percyAutoCapture}=require(a30_0x1ddfcb(0x12c)),{sendPlatformDetails}=require(a30_0x1ddfcb(0x127)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x1ddfcb(0xf1)),PerformanceTester=require(a30_0x1ddfcb(0x142)),scripts=require(a30_0x1ddfcb(0x143)),globals=require(a30_0x1ddfcb(0x155)),logger=require('../../helpers/logger')['winstonLogger'];exports['mochaHooks']={'beforeAll'(){const _0x944c68=a30_0x1ddfcb,_0x1db917={'LTcSV':function(_0x58bb61,_0x46674a,_0x26f76d,_0x197b77){return _0x58bb61(_0x46674a,_0x26f76d,_0x197b77);},'skRSz':'failed','HJWLj':'\x20|\x20','LgoXD':function(_0x369afc,_0xd51ba0,_0x1c6e33){return _0x369afc(_0xd51ba0,_0x1c6e33);},'MPXtO':_0x944c68(0x153),'iWTpV':function(_0x3a666e){return _0x3a666e();},'rZguK':function(_0xfa21ae,_0x5789ac,_0x575eb1){return _0xfa21ae(_0x5789ac,_0x575eb1);}};PerformanceTester[_0x944c68(0x13c)]();const _0x2c3338='browserstack internal helper hook';global[_0x944c68(0x13b)]=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x1156a4=_0x944c68;let _0x5cbf76=![];try{await global['__drivers'][0x0][_0x1156a4(0x141)],_0x5cbf76=!![],global['__sessionFailed']?await _0x1db917[_0x1156a4(0x121)](markSessionStatus,global['__drivers'][0x0],_0x1db917[_0x1156a4(0x116)],global['__error_messages__']['join'](_0x1db917[_0x1156a4(0xfb)])):await _0x1db917['LgoXD'](markSessionStatus,global['__drivers'][0x0],_0x1db917[_0x1156a4(0x13e)]);}catch(_0x72c2d0){}global[_0x1156a4(0x13b)]=[],global[_0x1156a4(0xee)]=![];if(_0x5cbf76)try{try{_0x1db917[_0x1156a4(0x14e)](isTestObservabilitySession)&&(global[_0x1156a4(0x113)][0x0]&&await _0x1db917[_0x1156a4(0x133)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1156a4(0x136)]?this['currentTest'][_0x1156a4(0x12f)]:null));}catch{}await global['__drivers'][0x0][_0x1156a4(0x12a)]();}catch(_0x56c875){}};},'beforeEach'(_0x59d422){const _0x3c0a5f=a30_0x1ddfcb,_0x28519f={'RqwXD':function(_0x31204c,_0x250078){return _0x31204c>_0x250078;},'hspfq':_0x3c0a5f(0x156),'plnCv':function(_0x1c4e2c,_0x132ba0,_0x51dd35){return _0x1c4e2c(_0x132ba0,_0x51dd35);},'QvvAr':_0x3c0a5f(0xed),'aIRgT':function(_0x3e7e45){return _0x3e7e45();},'UODyh':_0x3c0a5f(0x157),'tdSkA':function(_0x122bbe,_0x1d66d9){return _0x122bbe===_0x1d66d9;},'FEvMR':_0x3c0a5f(0x14f),'Reewz':function(_0x4e0711,_0x373994){return _0x4e0711===_0x373994;},'pThPj':'https:','EnRgU':_0x3c0a5f(0x110),'YKpuf':'Automate\x20test\x20case\x20execution\x20has\x20started.','AQCyQ':function(_0x288f5f){return _0x288f5f();}};new Promise(async _0x3064c2=>{const _0x4191af=_0x3c0a5f,_0x4a8a5a='browserstack internal helper hook';let _0x47ed8c=!![];try{_0x28519f[_0x4191af(0xea)](global[_0x4191af(0x113)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x4191af(0x122)]()),_0x28519f['RqwXD'](global['__drivers'][0x0][_0x4191af(0x14c)],0x0)&&(_0x47ed8c=![],await global[_0x4191af(0x104)]());}catch{}try{Array['isArray'](global['__drivers'])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x4191af(0x13f)]=this['currentTest']['titlePath']()['join'](_0x28519f[_0x4191af(0xff)])),global[_0x4191af(0x13f)]=this[_0x4191af(0x136)][_0x4191af(0x124)]()['join'](_0x28519f[_0x4191af(0xff)]);}catch(_0x115899){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x115899);}this[_0x4191af(0x136)][_0x4191af(0x117)]=_0x28519f[_0x4191af(0xf7)](shouldScanTestForAccessibility,this['currentTest'][_0x4191af(0x124)](),!![]),globals[_0x4191af(0x126)](_0x28519f[_0x4191af(0x11c)],this[_0x4191af(0x136)]['shouldScanTestForAccessibility']),this[_0x4191af(0x136)][_0x4191af(0x14d)]=!![];if(_0x28519f['aIRgT'](isAccessibilityAutomationSession)&&_0x47ed8c&&Array['isArray'](global[_0x4191af(0x113)])&&_0x28519f[_0x4191af(0xea)](global['__drivers'][_0x4191af(0xfe)],0x0)&&globals[_0x4191af(0x10d)](_0x28519f['UODyh']))try{const _0x256592=await global[_0x4191af(0x113)][0x0][_0x4191af(0x141)];if(_0x256592){let _0x1ea28c=!![];const _0x39389a=await global['__drivers'][0x0]['getCurrentUrl']();let _0x3a0882;try{_0x3a0882=new URL(_0x39389a);}catch(_0x1b6e59){_0x1ea28c=![];}_0x1ea28c=_0x28519f[_0x4191af(0x103)](_0x3a0882[_0x4191af(0x114)],_0x28519f['FEvMR'])||_0x28519f[_0x4191af(0x154)](_0x3a0882[_0x4191af(0x114)],_0x28519f[_0x4191af(0xf6)]),_0x1ea28c&&(this['currentTest'][_0x4191af(0x117)]&&logger[_0x4191af(0x10a)](_0x28519f[_0x4191af(0x125)])),this[_0x4191af(0x136)][_0x4191af(0x14d)]=this[_0x4191af(0x136)][_0x4191af(0x117)],this[_0x4191af(0x136)]['shouldScanTestForAccessibility']&&logger['info'](_0x28519f[_0x4191af(0x11a)]);}}catch(_0x5d0a9d){logger[_0x4191af(0xfd)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4191af(0x147)](_0x5d0a9d));}_0x28519f['AQCyQ'](_0x3064c2);})[_0x3c0a5f(0x14a)](_0x59d422);},'afterEach'(_0x3bf59d){const _0x5392ee=a30_0x1ddfcb,_0xcb0ddc={'bugbA':function(_0x1fd7f2,_0x11c686){return _0x1fd7f2>_0x11c686;},'DXQYc':function(_0x3686bc,_0x2827aa){return _0x3686bc===_0x2827aa;},'XhPLB':'testcase','LaLcw':'appium:app','fooLJ':function(_0x293261,_0x4c5e7a,_0x25e278,_0xb7859e){return _0x293261(_0x4c5e7a,_0x25e278,_0xb7859e);},'fInmW':_0x5392ee(0x156),'otJSj':function(_0x59f231,_0x330a84){return _0x59f231!==_0x330a84;},'QsxNW':_0x5392ee(0x153),'UjSdM':function(_0x192788,_0x34308c,_0x421441){return _0x192788(_0x34308c,_0x421441);},'TzpRg':function(_0x4e0861,_0x15284e){return _0x4e0861+_0x15284e;},'BnhIA':_0x5392ee(0x108),'NSVdV':_0x5392ee(0xfd),'iAlmz':_0x5392ee(0x14b),'xgxqk':'info','DPbKP':_0x5392ee(0x157),'SeZqC':_0x5392ee(0xed),'yqQyu':_0x5392ee(0x13d),'EQIqu':function(_0x45bab5,_0x17df61){return _0x45bab5(_0x17df61);},'PQczU':_0x5392ee(0xfc),'ZaWVZ':_0x5392ee(0x10f),'zqKyO':function(_0x355aaf){return _0x355aaf();},'xnxLH':function(_0x26c31f,_0x187c96,_0x2ff172){return _0x26c31f(_0x187c96,_0x2ff172);},'wGATG':function(_0x4338cf){return _0x4338cf();},'hPJEF':'debug','yAkBk':function(_0x343957,_0x47fa5e){return _0x343957>_0x47fa5e;}},_0x4e3f80='browserstack internal helper hook';this[_0x5392ee(0x106)](0xfde8);const _0x33d32b=async(_0x428afd,_0x1ec310)=>{const _0x1f2b95=_0x5392ee;await global[_0x1f2b95(0x113)][0x0]['executeScript'](_0x1f2b95(0x10b)+_0x428afd+_0x1f2b95(0x151)+_0x1ec310+'\x22}}');};new Promise(async _0x8acd30=>{const _0x451d52=_0x5392ee;try{_0xcb0ddc[_0x451d52(0xf4)](global[_0x451d52(0x113)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift'](),global[_0x451d52(0x13b)]=[],global['__sessionFailed']=![]);try{if(global[_0x451d52(0x109)]&&_0xcb0ddc['DXQYc'](global[_0x451d52(0x12b)],_0xcb0ddc[_0x451d52(0x135)])&&global['__drivers'][0x0]){const _0x1e1ad8=_0xcb0ddc[_0x451d52(0xf4)](global['capabilities'][_0x451d52(0xfe)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x451d52(0xf2)][0x0][_0xcb0ddc[_0x451d52(0x120)]]:![],_0x404219={};_0x404219['app']=_0x1e1ad8,await _0xcb0ddc[_0x451d52(0x150)](percyAutoCapture,global['__drivers'][0x0],_0xcb0ddc['XhPLB'],_0x404219);}}catch(_0x1aa851){}!global[_0x451d52(0x12d)]&&(await global[_0x451d52(0x113)][0x0]['executeScript'](_0x451d52(0x12e)+JSON[_0x451d52(0xf0)](this['currentTest'][_0x451d52(0x124)]()[_0x451d52(0x111)](_0xcb0ddc[_0x451d52(0x137)]))+'}}'),global['__drivers'][0x0][_0x451d52(0x152)]=!![]);const _0x561094=_0xcb0ddc[_0x451d52(0x123)](this[_0x451d52(0x136)][_0x451d52(0x146)],_0xcb0ddc[_0x451d52(0x140)]);_0x561094?(global['__sessionFailed']=!![],global[_0x451d52(0x13b)][_0x451d52(0xec)](this[_0x451d52(0x136)][_0x451d52(0x130)][_0x451d52(0xeb)]),await _0xcb0ddc['UjSdM'](_0x33d32b,JSON[_0x451d52(0xf0)](_0xcb0ddc[_0x451d52(0x134)](_0xcb0ddc[_0x451d52(0x148)],this[_0x451d52(0x136)][_0x451d52(0x130)][_0x451d52(0xeb)])),_0xcb0ddc[_0x451d52(0x118)])):await _0xcb0ddc['UjSdM'](_0x33d32b,JSON[_0x451d52(0xf0)](_0xcb0ddc['iAlmz']),_0xcb0ddc[_0x451d52(0xf5)]);}catch(_0x27a9f4){}try{if(this['currentTest'][_0x451d52(0x14d)]&&globals[_0x451d52(0x10d)](_0xcb0ddc[_0x451d52(0x138)])&&globals['getGlobal'](_0xcb0ddc['SeZqC'])){logger[_0x451d52(0x10a)](_0xcb0ddc[_0x451d52(0x128)]);const _0x3c91ec={'saveResults':this[_0x451d52(0x136)][_0x451d52(0x117)],'testDetails':{'name':this['currentTest'][_0x451d52(0x105)],'testRunId':process[_0x451d52(0xf3)]['BS_A11Y_TEST_RUN_ID'],'filePath':this['currentTest'][_0x451d52(0x131)],'scopeList':this['currentTest'][_0x451d52(0x124)]()},'platform':await _0xcb0ddc[_0x451d52(0x119)](fetchPlatformDetails,global['__drivers'][0x0])};logger[_0x451d52(0x101)](_0xcb0ddc['PQczU']),logger['debug'](util['format'](await global['__drivers'][0x0][_0x451d52(0x115)](scripts[_0x451d52(0x107)],{'method':global[_0x451d52(0x13f)]}))),await global[_0x451d52(0x113)][0x0][_0x451d52(0x115)](scripts[_0x451d52(0x129)],_0x3c91ec),logger[_0x451d52(0x10a)](_0xcb0ddc['ZaWVZ']);}}catch(_0x57aa71){logger[_0x451d52(0xfd)](_0x451d52(0x139)+this[_0x451d52(0x136)]['titlePath']()+'.\x20Error\x20:',_0x57aa71);}try{try{if(_0xcb0ddc[_0x451d52(0x149)](isTestObservabilitySession)){global[_0x451d52(0x113)][0x0]&&await _0xcb0ddc[_0x451d52(0x144)](sendPlatformDetails,global[_0x451d52(0x113)][0x0],this[_0x451d52(0x136)]?this[_0x451d52(0x136)]['testAnalyticsId']:null);if(_0xcb0ddc[_0x451d52(0xf8)](isBrowserstackInfra)){const _0x31861e='ObservabilitySync:'+Date['now']();await _0xcb0ddc[_0x451d52(0x145)](_0x33d32b,JSON['stringify'](_0x31861e),_0xcb0ddc['hPJEF']);}}}catch{}_0xcb0ddc['yAkBk'](global[_0x451d52(0x113)][0x0][_0x451d52(0x14c)],0x0)&&await global[_0x451d52(0x104)]();}catch(_0x45807f){}_0xcb0ddc[_0x451d52(0x149)](_0x8acd30);})[_0x5392ee(0x14a)](()=>_0x3bf59d());},'afterAll'(_0x102c49){const _0x5c1656=a30_0x1ddfcb,_0x3b58ef={'ErQEF':function(_0x540611){return _0x540611();}},_0x4e1bbc='browserstack internal helper hook';this[_0x5c1656(0x106)](0xfde8),new Promise(async _0x373477=>{const _0x34346e=_0x5c1656;PerformanceTester[_0x34346e(0xf9)](),await global[_0x34346e(0x104)](),_0x3b58ef[_0x34346e(0xfa)](_0x373477);})[_0x5c1656(0x14a)](()=>_0x102c49());}};function a30_0x31fd(_0x1ed5ae,_0x244296){const _0x2c9f50=a30_0x2c9f();return a30_0x31fd=function(_0x31fd35,_0x4f4d4a){_0x31fd35=_0x31fd35-0xea;let _0x55e488=_0x2c9f50[_0x31fd35];return _0x55e488;},a30_0x31fd(_0x1ed5ae,_0x244296);}function a30_0x2c9f(){const _0xffa2b2=['titlePath','EnRgU','setGlobal','./test-observability/mochaUtils','yqQyu','saveTestResults','initQuit','percyCaptureMode','../../helpers/percy/utils','__skipSessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','testAnalyticsId','err','file','17690LdZVrh','rZguK','TzpRg','XhPLB','currentTest','fInmW','DPbKP','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','9543uBAPeI','__error_messages__','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','MPXtO','browserstackSessionName','QsxNW','session_','../../helpers/performance-tester','../../helpers/accessibility-automation/scripts','xnxLH','UjSdM','state','format','BnhIA','zqKyO','then','Passed','quitCount_','accessibilityScanStarted','iWTpV','http:','fooLJ',',\x22level\x22:\x20\x22','sessionNameSet__','passed','Reewz','../../helpers/globals','\x20-\x20','isAccessibilityPlatform','util','RqwXD','message','push','bstackA11yShouldScan','__sessionFailed','576296GIHwmP','stringify','../../helpers/test-observability/utils','capabilities','env','bugbA','xgxqk','pThPj','plnCv','wGATG','stopMonitoring','ErQEF','HJWLj','Performing\x20scan\x20before\x20saving\x20results','error','length','hspfq','1422RjbItH','debug','11493603aCXpyb','tdSkA','driverCleanup','title','timeout','performScan','Failed:\x20','percy','info','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','8KEuZRb','getGlobal','24OkcSbR','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','join','57845lEgEqL','__drivers','protocol','executeAsyncScript','skRSz','shouldScanTestForAccessibility','NSVdV','EQIqu','YKpuf','179379tWnigQ','QvvAr','../../helpers/accessibility-automation/helper','1816423zjxgVY','62aDdBwd','LaLcw','LTcSV','shift','otJSj'];a30_0x2c9f=function(){return _0xffa2b2;};return a30_0x2c9f();}
1
+ function a30_0x554b(_0x5726d8,_0x545b53){const _0x521aff=a30_0x521a();return a30_0x554b=function(_0x554bd0,_0x482964){_0x554bd0=_0x554bd0-0x1a2;let _0x49fa4f=_0x521aff[_0x554bd0];return _0x49fa4f;},a30_0x554b(_0x5726d8,_0x545b53);}const a30_0x3e88ce=a30_0x554b;function a30_0x521a(){const _0x4070f8=['30149624eyYMMo','HClsw','GAxuy','../../helpers/performance-tester','then','testcase','debug','appium:app','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','4895175qonzLl','initQuit','uXKGw','XkJce','mmRVj','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','__skipSessionName','WgeST','BROWSERSTACK_TESTHUB_JWT','uCTtT','passed','Passed','BROWSERSTACK_TESTHUB_UUID','15294HITTEa','util','Automate\x20test\x20case\x20execution\x20has\x20started.','lnUkO','SgquL','thBuildUuid','\x20|\x20','accessibilityScanStarted','info','message','app','shift','join','__drivers','stopMonitoring','../../helpers/test-observability/utils','shouldScanTestForAccessibility','bstackA11yShouldScan','cFEJZ','lxioz','KILoG','WTVFT','../../helpers/percy/utils','2033584iGMtjk','testAnalyticsId','XQAdo','thTestRunUuid','kwxhD','DqpGS','CxpFm','titlePath','session_','hpmwB','error','GMHHS','winstonLogger','KCzWS','ENV_VAR','mochaHooks','\x20-\x20','../../helpers/testhub/constants','ytwVZ','browserstackSessionName','wAzxX','failed','saveTestResults','5893854FfnWjD','timeout','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','__sessionFailed','QyhPC','performScan','currentTest','IspGo','getGlobal','\x22}}','quitCount_','JzdHb','Failed\x20to\x20store\x20session\x20name:\x20','VPsDf','../../helpers/accessibility-automation/helper','length','ewZDf','ZVhba','evoTd','TpddE','__error_messages__','161gnvlew','1490007WJoIUS','push','stringify','isAccessibilityPlatform','now','.\x20Error\x20:','percy','thJwtToken','setGlobal','KgUDq','HltJt','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','format','capabilities','percyCaptureMode','haPbO','ObservabilitySync:','Failed:\x20','ngJkZ','UvDKy','TENYt','gVaWL','isArray','startMonitoring','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','err','executeAsyncScript','./test-observability/mochaUtils','protocol','2267172FtfMXw','GGPOi','FuiIi','../../helpers/accessibility-automation/scripts','driverCleanup','vPIGv','env'];a30_0x521a=function(){return _0x4070f8;};return a30_0x521a();}(function(_0x12a3ff,_0x5daf1d){const _0xd165a2=a30_0x554b,_0x1b3dea=_0x12a3ff();while(!![]){try{const _0x3e2f1a=-parseInt(_0xd165a2(0x1df))/0x1*(-parseInt(_0xd165a2(0x21a))/0x2)+parseInt(_0xd165a2(0x1e0))/0x3+parseInt(_0xd165a2(0x1fd))/0x4+parseInt(_0xd165a2(0x20d))/0x5+parseInt(_0xd165a2(0x1c9))/0x6+parseInt(_0xd165a2(0x1b2))/0x7+-parseInt(_0xd165a2(0x204))/0x8;if(_0x3e2f1a===_0x5daf1d)break;else _0x1b3dea['push'](_0x1b3dea['shift']());}catch(_0x2c0879){_0x1b3dea['push'](_0x1b3dea['shift']());}}}(a30_0x521a,0xbde36));const util=require(a30_0x3e88ce(0x21b)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x3e88ce(0x1d8)),{percyAutoCapture}=require(a30_0x3e88ce(0x1b1)),{sendPlatformDetails}=require(a30_0x3e88ce(0x1fb)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x3e88ce(0x1aa)),PerformanceTester=require(a30_0x3e88ce(0x207)),scripts=require(a30_0x3e88ce(0x200)),globals=require('../../helpers/globals'),logger=require('../../helpers/logger')[a30_0x3e88ce(0x1be)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a30_0x3e88ce(0x1c3));exports[a30_0x3e88ce(0x1c1)]={'beforeAll'(){const _0x4a2920=a30_0x3e88ce,_0x17d63f={'ZVhba':function(_0xcf1d2b,_0x21722e,_0xb9049e,_0x5130ac){return _0xcf1d2b(_0x21722e,_0xb9049e,_0x5130ac);},'KgUDq':_0x4a2920(0x1c7),'ODlZv':_0x4a2920(0x220),'hpmwB':function(_0x2b274b,_0x422186,_0x24b61b){return _0x2b274b(_0x422186,_0x24b61b);},'GAxuy':_0x4a2920(0x217),'WgeST':function(_0x1e334a){return _0x1e334a();},'kwxhD':function(_0x5ae788,_0xf7da77,_0x1349f7){return _0x5ae788(_0xf7da77,_0x1349f7);}};PerformanceTester[_0x4a2920(0x1f7)]();const _0x3511a0='browserstack internal helper hook';global[_0x4a2920(0x1de)]=[],global[_0x4a2920(0x1cd)]=![],global[_0x4a2920(0x201)]=async()=>{const _0x34375f=_0x4a2920;let _0x10b236=![];try{await global[_0x34375f(0x1a8)][0x0][_0x34375f(0x1ba)],_0x10b236=!![],global[_0x34375f(0x1cd)]?await _0x17d63f[_0x34375f(0x1db)](markSessionStatus,global[_0x34375f(0x1a8)][0x0],_0x17d63f[_0x34375f(0x1e9)],global[_0x34375f(0x1de)][_0x34375f(0x1a7)](_0x17d63f['ODlZv'])):await _0x17d63f[_0x34375f(0x1bb)](markSessionStatus,global[_0x34375f(0x1a8)][0x0],_0x17d63f[_0x34375f(0x206)]);}catch(_0x3ec4f4){}global[_0x34375f(0x1de)]=[],global[_0x34375f(0x1cd)]=![];if(_0x10b236)try{try{_0x17d63f[_0x34375f(0x214)](shouldProcessEventForTesthub)&&(global[_0x34375f(0x1a8)][0x0]&&await _0x17d63f[_0x34375f(0x1b6)](sendPlatformDetails,global[_0x34375f(0x1a8)][0x0],this[_0x34375f(0x1d0)]?this[_0x34375f(0x1d0)]['testAnalyticsId']:null));}catch{}await global['__drivers'][0x0][_0x34375f(0x20e)]();}catch(_0x4dc407){}};},'beforeEach'(_0x5a6d37){const _0x506dd0=a30_0x3e88ce,_0x384922={'uCTtT':function(_0x10927e,_0xc183ac){return _0x10927e>_0xc183ac;},'ewZDf':function(_0x1c6972,_0x327e96){return _0x1c6972>_0x327e96;},'VPsDf':'\x20-\x20','CxpFm':function(_0x3fb135,_0x323783,_0xb654c6){return _0x3fb135(_0x323783,_0xb654c6);},'cFEJZ':_0x506dd0(0x1ac),'FuiIi':function(_0x2023a0){return _0x2023a0();},'mmRVj':function(_0x31e405,_0x53139d){return _0x31e405>_0x53139d;},'ytwVZ':_0x506dd0(0x1e3),'lnUkO':function(_0x64e428,_0x716c05){return _0x64e428===_0x716c05;},'TENYt':'http:','jqnlW':function(_0x5a2f72,_0x4f8f6d){return _0x5a2f72===_0x4f8f6d;},'QyhPC':'https:','vPIGv':_0x506dd0(0x1f8),'XkJce':_0x506dd0(0x21c)};new Promise(async _0x228fa8=>{const _0x4c5c98=_0x506dd0,_0x57e9e3='browserstack internal helper hook';let _0x2b0655=!![];try{_0x384922[_0x4c5c98(0x216)](global['__drivers'][_0x4c5c98(0x1d9)],0x1)&&(await global[_0x4c5c98(0x201)](),global[_0x4c5c98(0x1a8)][_0x4c5c98(0x1a6)]()),_0x384922[_0x4c5c98(0x1da)](global[_0x4c5c98(0x1a8)][0x0]['quitCount_'],0x0)&&(_0x2b0655=![],await global[_0x4c5c98(0x201)]());}catch{}try{Array[_0x4c5c98(0x1f6)](global[_0x4c5c98(0x1a8)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x4c5c98(0x1c5)]=this[_0x4c5c98(0x1d0)][_0x4c5c98(0x1b9)]()[_0x4c5c98(0x1a7)](_0x384922[_0x4c5c98(0x1d7)])),global['browserstackSessionName']=this['currentTest'][_0x4c5c98(0x1b9)]()[_0x4c5c98(0x1a7)](_0x384922[_0x4c5c98(0x1d7)]);}catch(_0x5173b3){logger[_0x4c5c98(0x20a)](_0x4c5c98(0x1d6)+_0x5173b3);}this[_0x4c5c98(0x1d0)][_0x4c5c98(0x1ab)]=_0x384922[_0x4c5c98(0x1b8)](shouldScanTestForAccessibility,this[_0x4c5c98(0x1d0)]['titlePath'](),!![]),globals[_0x4c5c98(0x1e8)](_0x384922[_0x4c5c98(0x1ad)],this[_0x4c5c98(0x1d0)]['shouldScanTestForAccessibility']),this['currentTest'][_0x4c5c98(0x1a2)]=!![];if(_0x384922['FuiIi'](isAccessibilityAutomationSession)&&_0x2b0655&&Array[_0x4c5c98(0x1f6)](global[_0x4c5c98(0x1a8)])&&_0x384922[_0x4c5c98(0x211)](global['__drivers'][_0x4c5c98(0x1d9)],0x0)&&globals['getGlobal'](_0x384922[_0x4c5c98(0x1c4)]))try{const _0xb9905a=await global[_0x4c5c98(0x1a8)][0x0][_0x4c5c98(0x1ba)];if(_0xb9905a){let _0x48d20f=!![];const _0x3d0c21=await global['__drivers'][0x0]['getCurrentUrl']();let _0x229571;try{_0x229571=new URL(_0x3d0c21);}catch(_0x3aa9ef){_0x48d20f=![];}_0x48d20f=_0x384922[_0x4c5c98(0x21d)](_0x229571[_0x4c5c98(0x1fc)],_0x384922[_0x4c5c98(0x1f4)])||_0x384922['jqnlW'](_0x229571['protocol'],_0x384922[_0x4c5c98(0x1ce)]),_0x48d20f&&(this[_0x4c5c98(0x1d0)][_0x4c5c98(0x1ab)]&&logger[_0x4c5c98(0x1a3)](_0x384922[_0x4c5c98(0x202)])),this[_0x4c5c98(0x1d0)][_0x4c5c98(0x1a2)]=this[_0x4c5c98(0x1d0)][_0x4c5c98(0x1ab)],this[_0x4c5c98(0x1d0)]['shouldScanTestForAccessibility']&&logger[_0x4c5c98(0x1a3)](_0x384922[_0x4c5c98(0x210)]);}}catch(_0x3647fc){logger[_0x4c5c98(0x1bc)](_0x4c5c98(0x212)+util[_0x4c5c98(0x1ec)](_0x3647fc));}_0x384922[_0x4c5c98(0x1ff)](_0x228fa8);})['then'](_0x5a6d37);},'afterEach'(_0x3fea3b){const _0x2c715a=a30_0x3e88ce,_0x50399f={'evoTd':function(_0x4fa404,_0x3b6777){return _0x4fa404>_0x3b6777;},'GMHHS':function(_0x43a636,_0x280dcb){return _0x43a636===_0x280dcb;},'HltJt':_0x2c715a(0x209),'JzdHb':_0x2c715a(0x20b),'AVfgj':function(_0xc52e5a,_0x275f92,_0x5b10a9,_0x5a4edb){return _0xc52e5a(_0x275f92,_0x5b10a9,_0x5a4edb);},'WTVFT':_0x2c715a(0x1c2),'wAzxX':function(_0x5ca542,_0x12ef45){return _0x5ca542!==_0x12ef45;},'KILoG':'passed','KCzWS':function(_0x2bda59,_0x6d48c6,_0x179169){return _0x2bda59(_0x6d48c6,_0x179169);},'SgquL':function(_0x47c10d,_0x50ac7){return _0x47c10d+_0x50ac7;},'HClsw':_0x2c715a(0x1f1),'TpddE':_0x2c715a(0x1bc),'XQAdo':function(_0x32e901,_0x3c774e,_0x102964){return _0x32e901(_0x3c774e,_0x102964);},'GGPOi':_0x2c715a(0x218),'uDzKA':'info','UvDKy':_0x2c715a(0x1e3),'GSGOj':_0x2c715a(0x1ac),'IspGo':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','iwaUN':'Performing\x20scan\x20before\x20saving\x20results','lxioz':_0x2c715a(0x1eb),'haPbO':function(_0x306c08){return _0x306c08();},'DqpGS':function(_0xda3ffa){return _0xda3ffa();},'gVaWL':_0x2c715a(0x20a),'uXKGw':function(_0x431344,_0x20093d){return _0x431344>_0x20093d;}},_0x5048aa='browserstack internal helper hook';this['timeout'](0xfde8);const _0x264600=async(_0x4848bf,_0x1336ca)=>{const _0x5e8b7f=_0x2c715a;await global[_0x5e8b7f(0x1a8)][0x0][_0x5e8b7f(0x1cb)](_0x5e8b7f(0x20c)+_0x4848bf+',\x22level\x22:\x20\x22'+_0x1336ca+_0x5e8b7f(0x1d3));};new Promise(async _0x1d8882=>{const _0x656d61=_0x2c715a;try{_0x50399f[_0x656d61(0x1dc)](global[_0x656d61(0x1a8)][_0x656d61(0x1d9)],0x1)&&(await global['driverCleanup'](),global[_0x656d61(0x1a8)][_0x656d61(0x1a6)](),global[_0x656d61(0x1de)]=[],global[_0x656d61(0x1cd)]=![]);try{if(global[_0x656d61(0x1e6)]&&_0x50399f[_0x656d61(0x1bd)](global[_0x656d61(0x1ee)],_0x50399f[_0x656d61(0x1ea)])&&global[_0x656d61(0x1a8)][0x0]){const _0x9e01b=_0x50399f['evoTd'](global['capabilities'][_0x656d61(0x1d9)],0x0)?!!global[_0x656d61(0x1ed)][0x0][_0x656d61(0x1a5)]||!!global['capabilities'][0x0][_0x50399f[_0x656d61(0x1d5)]]:![],_0x4f7fb7={};_0x4f7fb7[_0x656d61(0x1a5)]=_0x9e01b,await _0x50399f['AVfgj'](percyAutoCapture,global[_0x656d61(0x1a8)][0x0],_0x50399f['HltJt'],_0x4f7fb7);}}catch(_0x5ccd0b){}!global[_0x656d61(0x213)]&&(await global['__drivers'][0x0]['executeScript'](_0x656d61(0x1cc)+JSON['stringify'](this['currentTest'][_0x656d61(0x1b9)]()[_0x656d61(0x1a7)](_0x50399f[_0x656d61(0x1b0)]))+'}}'),global[_0x656d61(0x1a8)][0x0]['sessionNameSet__']=!![]);const _0x13d375=_0x50399f[_0x656d61(0x1c6)](this[_0x656d61(0x1d0)]['state'],_0x50399f[_0x656d61(0x1af)]);_0x13d375?(global['__sessionFailed']=!![],global['__error_messages__'][_0x656d61(0x1e1)](this[_0x656d61(0x1d0)][_0x656d61(0x1f9)][_0x656d61(0x1a4)]),await _0x50399f['KCzWS'](_0x264600,JSON['stringify'](_0x50399f[_0x656d61(0x21e)](_0x50399f[_0x656d61(0x205)],this[_0x656d61(0x1d0)][_0x656d61(0x1f9)][_0x656d61(0x1a4)])),_0x50399f[_0x656d61(0x1dd)])):await _0x50399f[_0x656d61(0x1b4)](_0x264600,JSON[_0x656d61(0x1e2)](_0x50399f[_0x656d61(0x1fe)]),_0x50399f['uDzKA']);}catch(_0x1eb83b){}try{if(this[_0x656d61(0x1d0)]['accessibilityScanStarted']&&globals[_0x656d61(0x1d2)](_0x50399f[_0x656d61(0x1f3)])&&globals[_0x656d61(0x1d2)](_0x50399f['GSGOj'])){logger[_0x656d61(0x1a3)](_0x50399f[_0x656d61(0x1d1)]);const _0x44ecea={};_0x44ecea[_0x656d61(0x1b5)]=this[_0x656d61(0x1d0)][_0x656d61(0x1b3)],_0x44ecea[_0x656d61(0x21f)]=process[_0x656d61(0x203)][testHubConstants[_0x656d61(0x1c0)][_0x656d61(0x219)]],_0x44ecea[_0x656d61(0x1e7)]=process[_0x656d61(0x203)][testHubConstants[_0x656d61(0x1c0)][_0x656d61(0x215)]];const _0x4f533f=_0x44ecea;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x4f533f)),logger[_0x656d61(0x20a)](_0x50399f['iwaUN']),logger[_0x656d61(0x20a)](util[_0x656d61(0x1ec)](await global[_0x656d61(0x1a8)][0x0][_0x656d61(0x1fa)](scripts[_0x656d61(0x1cf)],{'method':global['browserstackSessionName']}))),await global[_0x656d61(0x1a8)][0x0][_0x656d61(0x1fa)](scripts[_0x656d61(0x1c8)],_0x4f533f),logger[_0x656d61(0x1a3)](_0x50399f[_0x656d61(0x1ae)]);}}catch(_0x202a6b){logger[_0x656d61(0x1bc)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x656d61(0x1d0)][_0x656d61(0x1b9)]()+_0x656d61(0x1e5),_0x202a6b);}try{try{if(_0x50399f['haPbO'](shouldProcessEventForTesthub)){global[_0x656d61(0x1a8)][0x0]&&await _0x50399f[_0x656d61(0x1bf)](sendPlatformDetails,global['__drivers'][0x0],this[_0x656d61(0x1d0)]?this[_0x656d61(0x1d0)][_0x656d61(0x1b3)]:null);if(_0x50399f[_0x656d61(0x1b7)](isBrowserstackInfra)){const _0x4ef579=_0x656d61(0x1f0)+Date[_0x656d61(0x1e4)]();await _0x50399f[_0x656d61(0x1bf)](_0x264600,JSON[_0x656d61(0x1e2)](_0x4ef579),_0x50399f[_0x656d61(0x1f5)]);}}}catch{}_0x50399f[_0x656d61(0x20f)](global['__drivers'][0x0][_0x656d61(0x1d4)],0x0)&&await global[_0x656d61(0x201)]();}catch(_0x4641c1){}_0x50399f[_0x656d61(0x1ef)](_0x1d8882);})[_0x2c715a(0x208)](()=>_0x3fea3b());},'afterAll'(_0x1bb604){const _0x39059d=a30_0x3e88ce,_0x37a911={'ngJkZ':function(_0x36453b){return _0x36453b();}},_0x175089='browserstack internal helper hook';this[_0x39059d(0x1ca)](0xfde8),new Promise(async _0x28fee9=>{const _0x1946d4=_0x39059d;PerformanceTester[_0x1946d4(0x1a9)](),await global[_0x1946d4(0x201)](),_0x37a911[_0x1946d4(0x1f2)](_0x28fee9);})[_0x39059d(0x208)](()=>_0x1bb604());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a31_0x10f1(_0x282777,_0x5b9eb2){const _0x1654f4=a31_0x1654();return a31_0x10f1=function(_0x10f147,_0x2d0f49){_0x10f147=_0x10f147-0x135;let _0x42fcb3=_0x1654f4[_0x10f147];return _0x42fcb3;},a31_0x10f1(_0x282777,_0x5b9eb2);}function a31_0x1654(){const _0x109c67=['start_process','nightwatch.json','getPlatformName','38288224gqCXzy','webdriver','--config','mergeDeep','uBkFt','zBglD','DoNPr','join','JCufw','existsSync','path','inherit','push','3495954ZgRKNs','hvrZj','--env','9668722QzAvQh','nightwatch.conf.js','child_process','winstonLogger','splice','../../helpers/logger','debug','wpZmm','filter','XJubD','Getting\x20your\x20nightwatch\x20configs\x20from\x20','config','oVBZe','7915zqGqKb','selenium','now','766488lqzwTA','byuii','env','slice','trim','forEach','nZSQh','modifyBrowserStackW3CCaps','Pcjyk','nightwatch-browserstack.json','platforms','platform','host','lwSxS','lqHco','628200FnJTwx','modifyBrowserStackCaps','Fqsty','cwd','NQmAu','findIndex','../utils/constants','info','AeRWa','../../helpers/helper','map','3504012ixNQFL','SWBIj','child\x20process\x20exited\x20with\x20code\x20','test_settings','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','port','close','Deleting\x20','656ThAnAr','length','hub.browserstack.com','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','test','../../helpers/BrowserStackSetup','split','MMguG'];a31_0x1654=function(){return _0x109c67;};return a31_0x1654();}const a31_0x9644c3=a31_0x10f1;(function(_0x47387b,_0x1780ca){const _0x2b1375=a31_0x10f1,_0x327257=_0x47387b();while(!![]){try{const _0x20fc4f=-parseInt(_0x2b1375(0x16e))/0x1+-parseInt(_0x2b1375(0x14c))/0x2+parseInt(_0x2b1375(0x15f))/0x3+-parseInt(_0x2b1375(0x181))/0x4*(-parseInt(_0x2b1375(0x15c))/0x5)+-parseInt(_0x2b1375(0x179))/0x6+-parseInt(_0x2b1375(0x14f))/0x7+parseInt(_0x2b1375(0x13f))/0x8;if(_0x20fc4f===_0x1780ca)break;else _0x327257['push'](_0x327257['shift']());}catch(_0x369418){_0x327257['push'](_0x327257['shift']());}}}(a31_0x1654,0xea4df));const fs=require('fs'),path=require(a31_0x9644c3(0x149)),{spawn}=require(a31_0x9644c3(0x151)),logger=require(a31_0x9644c3(0x154))[a31_0x9644c3(0x152)],{default:BrowserStackSetup}=require(a31_0x9644c3(0x139)),helper=require(a31_0x9644c3(0x177)),constants=require(a31_0x9644c3(0x174)),getUserNightwatchConfigs=(_0x3b0ca0,_0x28532c)=>{const _0x1359ef=a31_0x9644c3,_0x10c212={'SWBIj':_0x1359ef(0x150),'DoNPr':_0x1359ef(0x13d),'XJubD':function(_0xd481f1,_0x562490){return _0xd481f1(_0x562490);},'uBkFt':_0x1359ef(0x137)};let _0x13dedd=null,_0x14ad3f={};const _0x5d3290=_0x28532c[_0x1359ef(0x173)](_0x4844b7=>_0x4844b7===_0x1359ef(0x141));if(!helper['isUndefined'](_0x3b0ca0['config'])&&fs[_0x1359ef(0x148)](path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x3b0ca0[_0x1359ef(0x15a)])))_0x13dedd=path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x3b0ca0[_0x1359ef(0x15a)]),_0x28532c[_0x1359ef(0x153)](_0x5d3290,0x2);else{if(fs[_0x1359ef(0x148)](path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x10c212[_0x1359ef(0x17a)])))_0x13dedd=path['join'](process[_0x1359ef(0x171)](),_0x10c212[_0x1359ef(0x17a)]);else fs[_0x1359ef(0x148)](path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x10c212[_0x1359ef(0x145)]))&&(_0x13dedd=path['join'](process[_0x1359ef(0x171)](),_0x10c212['DoNPr']));}return _0x13dedd?(logger[_0x1359ef(0x175)](_0x1359ef(0x159)+_0x13dedd),_0x14ad3f=_0x10c212[_0x1359ef(0x158)](require,_0x13dedd)):logger[_0x1359ef(0x175)](_0x10c212[_0x1359ef(0x143)]),_0x14ad3f;},removeExistingEnvs=_0x68d2b1=>{const _0x18fa7b=a31_0x9644c3,_0x1bb4c3={};_0x1bb4c3[_0x18fa7b(0x13b)]=function(_0x5c1468,_0x345347){return _0x5c1468>_0x345347;},_0x1bb4c3[_0x18fa7b(0x172)]=function(_0x7f5319,_0x3efc9b){return _0x7f5319>_0x3efc9b;};const _0x173ef5=_0x1bb4c3;let _0x2ca4b2=_0x68d2b1[_0x18fa7b(0x173)](_0x50281a=>_0x50281a==='--env');_0x173ef5['MMguG'](_0x2ca4b2,-0x1)&&_0x68d2b1[_0x18fa7b(0x153)](_0x2ca4b2,0x2),_0x2ca4b2=_0x68d2b1[_0x18fa7b(0x173)](_0x54ec51=>_0x54ec51==='-e'),_0x173ef5[_0x18fa7b(0x172)](_0x2ca4b2,-0x1)&&_0x68d2b1['splice'](_0x2ca4b2,0x2);};function run(_0x5b7a62,_0x58c899){const _0x10d906=a31_0x9644c3,_0x467b59={'nZSQh':'nightwatch','zBglD':function(_0x568642,_0x29ce03){return _0x568642+_0x29ce03;},'JCufw':_0x10d906(0x17c),'Pcjyk':function(_0x242691,_0x293797,_0x4eacdf){return _0x242691(_0x293797,_0x4eacdf);},'lqHco':_0x10d906(0x136),'eBoYo':_0x10d906(0x17d),'Fqsty':function(_0x8d38d1,_0x2dc9bc){return _0x8d38d1===_0x2dc9bc;},'oVBZe':_0x10d906(0x168),'lwSxS':function(_0x5e9162,_0x3ac3a9){return _0x5e9162(_0x3ac3a9);},'wpZmm':function(_0x277f22,_0x1c29aa,_0x13d293,_0x2f4fc5){return _0x277f22(_0x1c29aa,_0x13d293,_0x2f4fc5);},'hvrZj':'nightwatch.cmd','mKYWc':_0x10d906(0x141),'byuii':_0x10d906(0x14e),'oGaIq':_0x10d906(0x14a),'AeRWa':_0x10d906(0x17f)},_0x44cda1=new BrowserStackSetup(_0x5b7a62);if(!_0x44cda1[_0x10d906(0x15a)])return;const _0x395358=_0x467b59[_0x10d906(0x167)](getUserNightwatchConfigs,_0x5b7a62,_0x58c899),_0x48d459={};_0x48d459[_0x10d906(0x13c)]=![];const _0xa58be4={};_0xa58be4[_0x10d906(0x16b)]=_0x467b59[_0x10d906(0x16d)],_0xa58be4[_0x10d906(0x17e)]=0x1bb;const _0x4a4857={};_0x4a4857[_0x10d906(0x140)]=_0x48d459,_0x4a4857[_0x10d906(0x15d)]=_0xa58be4;const _0x13082e=_0x4a4857;logger['info'](_0x467b59['eBoYo']);const _0x3bed93={..._0x395358},_0x596685=_0x3bed93,_0xfd8857=helper['useW3C'](_0x44cda1[_0x10d906(0x15a)]),_0x138d4e=[];_0x44cda1[_0x10d906(0x15a)][_0x10d906(0x169)]['forEach']((_0x2cb147,_0x4d5383)=>{const _0x15a4de=_0x10d906;_0xfd8857?_0x138d4e[_0x15a4de(0x14b)](helper[_0x15a4de(0x166)](_0x44cda1[_0x15a4de(0x15a)],_0x467b59[_0x15a4de(0x165)],_0x4d5383)):_0x138d4e['push'](helper[_0x15a4de(0x16f)](_0x44cda1['config'],_0x467b59['nZSQh'],_0x4d5383));});const _0x50b3b0={},_0x2811d4=[];_0x5b7a62['env']=_0x5b7a62[_0x10d906(0x161)]||_0x5b7a62['e'];const _0x2933dd=_0x5b7a62[_0x10d906(0x161)]?_0x5b7a62[_0x10d906(0x161)][_0x10d906(0x163)]()[_0x10d906(0x13a)](',')[_0x10d906(0x178)](_0x4ab06a=>_0x4ab06a[_0x10d906(0x163)]())[_0x10d906(0x157)](_0x390dd3=>_0x390dd3!==''):[''];_0x467b59[_0x10d906(0x170)](_0x2933dd[_0x10d906(0x135)],0x0)&&_0x2933dd['push']('');_0x2933dd[_0x10d906(0x164)](_0x45e138=>{const _0x1b5481=_0x10d906;_0x138d4e[_0x1b5481(0x164)](_0x41d6c3=>{const _0x3822de=_0x1b5481;let _0x10cb83=_0x467b59[_0x3822de(0x144)](helper[_0x3822de(0x13e)](_0x41d6c3,'_'),'_'+Date[_0x3822de(0x15e)]());_0x45e138&&(_0x10cb83+='_'+_0x45e138);if(_0x45e138&&(!_0x395358[_0x467b59[_0x3822de(0x147)]]||!_0x395358[_0x467b59['JCufw']][_0x45e138]))return;const _0x1801d0={..._0x13082e};_0x1801d0['desiredCapabilities']=_0x41d6c3;const _0x12539f=_0x1801d0;_0x50b3b0[_0x10cb83]=_0x45e138?helper[_0x3822de(0x142)](_0x395358[_0x467b59[_0x3822de(0x147)]][_0x45e138],_0x12539f):_0x12539f,_0x2811d4[_0x3822de(0x14b)](_0x10cb83);});});!_0x596685['test_settings']&&(_0x596685['test_settings']={});_0x596685[_0x10d906(0x17c)]={..._0x596685['test_settings'],..._0x50b3b0};const _0x3a78fe=path[_0x10d906(0x146)](__dirname,_0x467b59[_0x10d906(0x15b)]);fs['writeFileSync'](_0x3a78fe,JSON['stringify'](_0x596685)),_0x467b59[_0x10d906(0x16c)](removeExistingEnvs,_0x58c899);const _0x2467d5=_0x467b59[_0x10d906(0x156)](spawn,/^win/[_0x10d906(0x138)](process[_0x10d906(0x16a)])?_0x467b59[_0x10d906(0x14d)]:_0x467b59[_0x10d906(0x165)],[_0x467b59['mKYWc'],_0x3a78fe,..._0x58c899[_0x10d906(0x162)](0x1),_0x467b59[_0x10d906(0x160)],_0x2811d4[_0x10d906(0x146)](',')],{'stdio':_0x467b59['oGaIq']});_0x2467d5['on'](_0x467b59[_0x10d906(0x176)],async _0x3c0793=>{const _0x1516b6=_0x10d906;logger[_0x1516b6(0x155)](_0x1516b6(0x17b)+_0x3c0793),logger[_0x1516b6(0x175)](_0x1516b6(0x180)+_0x3a78fe),fs['unlinkSync'](_0x3a78fe);});}module['exports']=run;
2
+ 'use strict';const a31_0x46f389=a31_0x1ca9;function a31_0x1ca9(_0x15b756,_0x57a98c){const _0x485654=a31_0x4856();return a31_0x1ca9=function(_0x1ca9a6,_0x1a80d0){_0x1ca9a6=_0x1ca9a6-0x13c;let _0x4ce0ac=_0x485654[_0x1ca9a6];return _0x4ce0ac;},a31_0x1ca9(_0x15b756,_0x57a98c);}(function(_0x15b668,_0x41b0bb){const _0x1709ba=a31_0x1ca9,_0xaee26a=_0x15b668();while(!![]){try{const _0x4a505c=-parseInt(_0x1709ba(0x163))/0x1*(parseInt(_0x1709ba(0x147))/0x2)+parseInt(_0x1709ba(0x17a))/0x3+-parseInt(_0x1709ba(0x161))/0x4+-parseInt(_0x1709ba(0x17f))/0x5*(parseInt(_0x1709ba(0x145))/0x6)+-parseInt(_0x1709ba(0x17b))/0x7*(parseInt(_0x1709ba(0x178))/0x8)+parseInt(_0x1709ba(0x183))/0x9*(parseInt(_0x1709ba(0x143))/0xa)+-parseInt(_0x1709ba(0x174))/0xb*(-parseInt(_0x1709ba(0x14b))/0xc);if(_0x4a505c===_0x41b0bb)break;else _0xaee26a['push'](_0xaee26a['shift']());}catch(_0x4467f4){_0xaee26a['push'](_0xaee26a['shift']());}}}(a31_0x4856,0x9a8ec));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a31_0x46f389(0x187))[a31_0x46f389(0x153)],{default:BrowserStackSetup}=require(a31_0x46f389(0x171)),helper=require(a31_0x46f389(0x144)),constants=require(a31_0x46f389(0x15f)),getUserNightwatchConfigs=(_0x150725,_0x3381e4)=>{const _0x214ccc=a31_0x46f389,_0x3c7eb5={'cDzvp':'nightwatch.conf.js','ZZCzO':_0x214ccc(0x14d),'rylic':function(_0x3763a5,_0x16d786){return _0x3763a5(_0x16d786);},'tNNNZ':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x3e1b95=null,_0x2aa854={};const _0x5bd29b=_0x3381e4[_0x214ccc(0x148)](_0x54ede6=>_0x54ede6===_0x214ccc(0x16c));if(!helper[_0x214ccc(0x180)](_0x150725[_0x214ccc(0x185)])&&fs[_0x214ccc(0x13f)](path[_0x214ccc(0x184)](process['cwd'](),_0x150725[_0x214ccc(0x185)])))_0x3e1b95=path['join'](process[_0x214ccc(0x146)](),_0x150725[_0x214ccc(0x185)]),_0x3381e4['splice'](_0x5bd29b,0x2);else{if(fs[_0x214ccc(0x13f)](path['join'](process[_0x214ccc(0x146)](),_0x3c7eb5[_0x214ccc(0x16f)])))_0x3e1b95=path[_0x214ccc(0x184)](process[_0x214ccc(0x146)](),_0x3c7eb5[_0x214ccc(0x16f)]);else fs[_0x214ccc(0x13f)](path[_0x214ccc(0x184)](process[_0x214ccc(0x146)](),_0x3c7eb5[_0x214ccc(0x170)]))&&(_0x3e1b95=path['join'](process[_0x214ccc(0x146)](),_0x3c7eb5[_0x214ccc(0x170)]));}return _0x3e1b95?(logger[_0x214ccc(0x16d)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x3e1b95),_0x2aa854=_0x3c7eb5[_0x214ccc(0x13c)](require,_0x3e1b95)):logger[_0x214ccc(0x16d)](_0x3c7eb5[_0x214ccc(0x16b)]),_0x2aa854;},removeExistingEnvs=_0xd3223c=>{const _0x2027e1=a31_0x46f389,_0x29b235={};_0x29b235[_0x2027e1(0x142)]=function(_0x1b4c28,_0x583891){return _0x1b4c28>_0x583891;};const _0x316347=_0x29b235;let _0x524fc9=_0xd3223c['findIndex'](_0x3341a5=>_0x3341a5==='--env');_0x316347[_0x2027e1(0x142)](_0x524fc9,-0x1)&&_0xd3223c[_0x2027e1(0x15d)](_0x524fc9,0x2),_0x524fc9=_0xd3223c['findIndex'](_0x1a7806=>_0x1a7806==='-e'),_0x316347[_0x2027e1(0x142)](_0x524fc9,-0x1)&&_0xd3223c[_0x2027e1(0x15d)](_0x524fc9,0x2);};function run(_0x56363a,_0x284416){const _0xd9ec85=a31_0x46f389,_0x9f187d={'ngSVm':_0xd9ec85(0x173),'kKJSc':function(_0x10ad25,_0x1f4d6d){return _0x10ad25+_0x1f4d6d;},'MRIVZ':_0xd9ec85(0x156),'TyqIA':function(_0x19efbc,_0x516329,_0x4ee82c){return _0x19efbc(_0x516329,_0x4ee82c);},'wvURv':_0xd9ec85(0x15e),'gfeKC':_0xd9ec85(0x141),'Mrsrv':function(_0x3a29dd,_0x9905c8){return _0x3a29dd===_0x9905c8;},'QzFFG':_0xd9ec85(0x159),'HXDrd':function(_0x23aa7e,_0x34310c){return _0x23aa7e(_0x34310c);},'FnSOr':function(_0x9946e8,_0x3f93be,_0x169012,_0x1c02e0){return _0x9946e8(_0x3f93be,_0x169012,_0x1c02e0);},'bOsmt':_0xd9ec85(0x172),'aPkZI':'--config','zNESd':_0xd9ec85(0x18b),'rLzIz':_0xd9ec85(0x14a),'jSWRu':'close'},_0x282c0f=new BrowserStackSetup(_0x56363a);if(!_0x282c0f[_0xd9ec85(0x185)])return;const _0x3538ec=_0x9f187d['TyqIA'](getUserNightwatchConfigs,_0x56363a,_0x284416),_0x346d79={};_0x346d79[_0xd9ec85(0x17d)]=![];const _0x28ae50={};_0x28ae50[_0xd9ec85(0x17c)]=_0x9f187d[_0xd9ec85(0x176)],_0x28ae50[_0xd9ec85(0x150)]=0x1bb;const _0x284bb3={};_0x284bb3[_0xd9ec85(0x164)]=_0x346d79,_0x284bb3[_0xd9ec85(0x152)]=_0x28ae50;const _0x14513d=_0x284bb3;logger['info'](_0x9f187d[_0xd9ec85(0x149)]);const _0x186178={..._0x3538ec},_0x281ccf=_0x186178,_0x3cc2b3=helper[_0xd9ec85(0x179)](_0x282c0f[_0xd9ec85(0x185)]),_0x3d4d55=[];_0x282c0f[_0xd9ec85(0x185)][_0xd9ec85(0x16a)]['forEach']((_0x8949f2,_0x186ef9)=>{const _0xa929b6=_0xd9ec85;_0x3cc2b3?_0x3d4d55[_0xa929b6(0x169)](helper[_0xa929b6(0x182)](_0x282c0f[_0xa929b6(0x185)],_0x9f187d[_0xa929b6(0x181)],_0x186ef9)):_0x3d4d55[_0xa929b6(0x169)](helper[_0xa929b6(0x15c)](_0x282c0f[_0xa929b6(0x185)],_0x9f187d[_0xa929b6(0x181)],_0x186ef9));});const _0x4c2b3c={},_0x313ef5=[];_0x56363a[_0xd9ec85(0x157)]=_0x56363a['env']||_0x56363a['e'];const _0x304a66=_0x56363a['env']?_0x56363a[_0xd9ec85(0x157)][_0xd9ec85(0x15b)]()[_0xd9ec85(0x14c)](',')[_0xd9ec85(0x155)](_0x91a647=>_0x91a647['trim']())[_0xd9ec85(0x151)](_0x21b4c1=>_0x21b4c1!==''):[''];_0x9f187d[_0xd9ec85(0x154)](_0x304a66['length'],0x0)&&_0x304a66[_0xd9ec85(0x169)]('');_0x304a66[_0xd9ec85(0x167)](_0x1f1a61=>{const _0x18f4f7=_0xd9ec85;_0x3d4d55[_0x18f4f7(0x167)](_0x4cf878=>{const _0x404a2a=_0x18f4f7;let _0x2fb1a9=_0x9f187d[_0x404a2a(0x158)](helper[_0x404a2a(0x175)](_0x4cf878,'_'),'_'+Date[_0x404a2a(0x18a)]());_0x1f1a61&&(_0x2fb1a9+='_'+_0x1f1a61);if(_0x1f1a61&&(!_0x3538ec[_0x9f187d[_0x404a2a(0x13e)]]||!_0x3538ec[_0x9f187d[_0x404a2a(0x13e)]][_0x1f1a61]))return;const _0x38523a={..._0x14513d};_0x38523a[_0x404a2a(0x177)]=_0x4cf878;const _0x10086b=_0x38523a;_0x4c2b3c[_0x2fb1a9]=_0x1f1a61?helper[_0x404a2a(0x14e)](_0x3538ec[_0x9f187d[_0x404a2a(0x13e)]][_0x1f1a61],_0x10086b):_0x10086b,_0x313ef5['push'](_0x2fb1a9);});});!_0x281ccf[_0xd9ec85(0x156)]&&(_0x281ccf[_0xd9ec85(0x156)]={});_0x281ccf['test_settings']={..._0x281ccf[_0xd9ec85(0x156)],..._0x4c2b3c};const _0x2aab86=path[_0xd9ec85(0x184)](__dirname,_0x9f187d[_0xd9ec85(0x15a)]);fs[_0xd9ec85(0x13d)](_0x2aab86,JSON[_0xd9ec85(0x17e)](_0x281ccf)),_0x9f187d[_0xd9ec85(0x168)](removeExistingEnvs,_0x284416);const _0x2b7153=_0x9f187d[_0xd9ec85(0x165)](spawn,/^win/[_0xd9ec85(0x162)](process['platform'])?_0x9f187d['bOsmt']:_0x9f187d[_0xd9ec85(0x181)],[_0x9f187d[_0xd9ec85(0x189)],_0x2aab86,..._0x284416[_0xd9ec85(0x14f)](0x1),_0x9f187d[_0xd9ec85(0x188)],_0x313ef5[_0xd9ec85(0x184)](',')],{'stdio':_0x9f187d['rLzIz']});_0x2b7153['on'](_0x9f187d[_0xd9ec85(0x160)],async _0x1771ad=>{const _0x3d5df2=_0xd9ec85;logger[_0x3d5df2(0x140)](_0x3d5df2(0x16e)+_0x1771ad),logger[_0x3d5df2(0x16d)](_0x3d5df2(0x186)+_0x2aab86),fs['unlinkSync'](_0x2aab86);});}function a31_0x4856(){const _0x2f7509=['findIndex','gfeKC','inherit','12wxhjaJ','split','nightwatch.json','mergeDeep','slice','port','filter','selenium','winstonLogger','Mrsrv','map','test_settings','env','kKJSc','nightwatch-browserstack.json','QzFFG','trim','modifyBrowserStackCaps','splice','hub.browserstack.com','../utils/constants','jSWRu','3919248CxNiid','test','51gOFTSL','webdriver','FnSOr','exports','forEach','HXDrd','push','platforms','tNNNZ','--config','info','child\x20process\x20exited\x20with\x20code\x20','cDzvp','ZZCzO','../../helpers/BrowserStackSetup','nightwatch.cmd','nightwatch','33969991UTESAL','getPlatformName','wvURv','desiredCapabilities','31048LrrIaQ','useW3C','886068INvOby','1526HuFNIc','host','start_process','stringify','440bomDPv','isUndefined','ngSVm','modifyBrowserStackW3CCaps','18GCgYkT','join','config','Deleting\x20','../../helpers/logger','zNESd','aPkZI','now','--env','rylic','writeFileSync','MRIVZ','existsSync','debug','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SWmMg','3286510uTcqJc','../../helpers/helper','69054pxoEZf','cwd','22318sDHoKn'];a31_0x4856=function(){return _0x2f7509;};return a31_0x4856();}module[a31_0x46f389(0x166)]=run;
@@ -1 +1 @@
1
- const a32_0x58dabd=a32_0x3f56;function a32_0x3f56(_0x26080a,_0x44a146){const _0x49fea2=a32_0x49fe();return a32_0x3f56=function(_0x3f564f,_0x14a771){_0x3f564f=_0x3f564f-0x6f;let _0x25f660=_0x49fea2[_0x3f564f];return _0x25f660;},a32_0x3f56(_0x26080a,_0x44a146);}(function(_0x2ad3e0,_0x314d27){const _0x342db4=a32_0x3f56,_0x17362b=_0x2ad3e0();while(!![]){try{const _0x1dbe97=-parseInt(_0x342db4(0xa7))/0x1*(-parseInt(_0x342db4(0x84))/0x2)+parseInt(_0x342db4(0xab))/0x3+-parseInt(_0x342db4(0x76))/0x4+-parseInt(_0x342db4(0x88))/0x5+-parseInt(_0x342db4(0x8e))/0x6*(parseInt(_0x342db4(0xa4))/0x7)+parseInt(_0x342db4(0x7e))/0x8*(parseInt(_0x342db4(0x79))/0x9)+-parseInt(_0x342db4(0x83))/0xa*(-parseInt(_0x342db4(0xa3))/0xb);if(_0x1dbe97===_0x314d27)break;else _0x17362b['push'](_0x17362b['shift']());}catch(_0xb90c41){_0x17362b['push'](_0x17362b['shift']());}}}(a32_0x49fe,0x936f5));function a32_0x49fe(){const _0x2e05ef=['platformValidation','uySbT','AALBt','ZtwJf','name','fivfF','SVFmm','IevHs','constructor','Gngev','eDEWL','bestPractice','error','vgMvf','Tkmwc','Vrovt','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','bstackSdkArgs','BS_A11Y_JWT','debug','tspyb','parse','3979548bVtKDL','getAccessibilityResults','QEwIl','27MGooch','LXUVd','wsEndpoint','use','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1015912hGKQZf','AFsCY','warn','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','(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','22970EYfKlA','2MicDQi','browserName','project','KgGep','4200640fIXdvX','(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','browser_version','wcagVersion','scannerProcessingTimeout','getAccessibilityResultsSummary','6035622zZbiFh','WfLjg','performScan','currentTest','latest','mHnXi','deviceName','method','KdTES','Scigr','ZPYjl','needsReview','executeScript','Playwright','../../helpers/helper','yczZW','winstonLogger','pnwXm','No\x20summaryResults\x20found.','browserstack.accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','8833uZgPMA','7Utgyno','connectOptions','dvZVO','775272sliDPq','DMLBq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kgfZQ','1332345KWccaF','accessibilityOptions','../../helpers/logger','replace','pubyf','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ajgXp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','stringify','accessibilityOptions.authToken','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','DUThk','KRZWa','EXUkw','UolmB','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','env','gPBxw','playwright-chromium','accessibilityPlatform','BcVra'];a32_0x49fe=function(){return _0x2e05ef;};return a32_0x49fe();}const util=require('util'),logger=require(a32_0x58dabd(0xad))[a32_0x58dabd(0x9e)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x58dabd(0x9c)),scripts=require('../../helpers/accessibility-automation/scripts');exports['browserStackEvaluate']=async(_0x1659c6,_0x55e9b6,_0x11b0cf={})=>{const _0x864fa9=a32_0x58dabd,_0x1a5af2={};_0x1a5af2[_0x864fa9(0xaa)]=_0x864fa9(0x71);const _0x46e736=_0x1a5af2;return await _0x1659c6['evaluate'](_0x864fa9(0x89)+_0x55e9b6[_0x864fa9(0xae)](/arguments/g,_0x46e736['kgfZQ'])+_0x864fa9(0xb6)+JSON[_0x864fa9(0xb4)](_0x11b0cf)+')');},exports['browserStackExecuteDriver']=async(_0x4a0674,_0x2de3f5,_0x141074={})=>{const _0x4b3b27=a32_0x58dabd,_0x5c0a9a={};_0x5c0a9a[_0x4b3b27(0xcb)]=function(_0x1b6b62,_0x248090){return _0x1b6b62===_0x248090;},_0x5c0a9a[_0x4b3b27(0xd0)]=_0x4b3b27(0xb0),_0x5c0a9a[_0x4b3b27(0xa6)]=_0x4b3b27(0x9b),_0x5c0a9a[_0x4b3b27(0xca)]=_0x4b3b27(0x71);const _0x1350db=_0x5c0a9a;if(_0x1350db['eDEWL'](_0x4a0674['constructor']['name'],_0x1350db[_0x4b3b27(0xd0)]))return await _0x4a0674['executeAsyncScript'](_0x2de3f5,_0x141074);else{if(_0x1350db[_0x4b3b27(0xcb)](_0x4a0674[_0x4b3b27(0xc9)][_0x4b3b27(0xc5)],_0x1350db['dvZVO']))return await _0x4a0674[_0x4b3b27(0x9a)](_0x4b3b27(0x82)+_0x2de3f5[_0x4b3b27(0xae)](/arguments/g,_0x1350db['Gngev'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x4b3b27(0xb4)](_0x141074)+')');}},exports['setAccessibilityCapabilities']=async _0x15f1dc=>{const _0x127dac=a32_0x58dabd,_0x477f71={};_0x477f71[_0x127dac(0x78)]='accessibilityOptions.wcagVersion',_0x477f71[_0x127dac(0xc3)]='accessibilityOptions.scannerProcessingTimeout',_0x477f71[_0x127dac(0x98)]='accessibilityOptions.includeIssueType.bestPractice',_0x477f71[_0x127dac(0x9d)]='accessibilityOptions.includeIssueType.needsReview',_0x477f71[_0x127dac(0x7a)]=_0x127dac(0xb5),_0x477f71[_0x127dac(0xb9)]=_0x127dac(0x6f);const _0xf3bff8=_0x477f71;_0x15f1dc[_0x127dac(0xac)]&&(_0x15f1dc[_0x127dac(0xac)][_0x127dac(0x8b)]&&(_0x15f1dc[_0xf3bff8['QEwIl']]=_0x15f1dc[_0x127dac(0xac)][_0x127dac(0x8b)]),_0x15f1dc['accessibilityOptions']['scannerProcessingTimeout']&&(_0x15f1dc[_0xf3bff8[_0x127dac(0xc3)]]=_0x15f1dc['accessibilityOptions'][_0x127dac(0x8c)]),_0x15f1dc['accessibilityOptions']['includeIssueType']&&(_0x15f1dc[_0xf3bff8[_0x127dac(0x98)]]=_0x15f1dc[_0x127dac(0xac)]['includeIssueType'][_0x127dac(0xcc)],_0x15f1dc[_0xf3bff8['yczZW']]=_0x15f1dc[_0x127dac(0xac)]['includeIssueType'][_0x127dac(0x99)]));const _0x59ab05=JSON[_0x127dac(0x75)](process['env'][_0x127dac(0xa2)])['scannerVersion'];_0x15f1dc[_0xf3bff8[_0x127dac(0x7a)]]=process[_0x127dac(0xbc)][_0x127dac(0x72)],_0x15f1dc[_0xf3bff8[_0x127dac(0xb9)]]=_0x59ab05,delete _0x15f1dc[_0x127dac(0xac)];},exports[a32_0x58dabd(0x77)]=async _0x54de59=>{const _0x53ead6=a32_0x58dabd,_0x15f85f={};_0x15f85f[_0x53ead6(0xb2)]=_0x53ead6(0xd1),_0x15f85f[_0x53ead6(0xbd)]=_0x53ead6(0xb1);const _0x22d3a4=_0x15f85f;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x54de59,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x54de59,scripts.getResults);return res;}catch{return logger[_0x53ead6(0xcd)](_0x22d3a4[_0x53ead6(0xb2)]),[];}else return logger[_0x53ead6(0x80)](_0x22d3a4[_0x53ead6(0xbd)]),[];},exports[a32_0x58dabd(0x90)]=async(_0x63e68c,_0x211bad='')=>{const _0xb44890=a32_0x58dabd;if(global['accessibilityPlatform']){const _0x2a29be={};return _0x2a29be[_0xb44890(0x95)]=_0x211bad,await exports['browserStackEvaluate'](_0x63e68c,scripts['performScan'],_0x2a29be);}},exports[a32_0x58dabd(0x8d)]=async _0x5baa4b=>{const _0x5e20f0=a32_0x58dabd,_0x31e092={};_0x31e092[_0x5e20f0(0xc7)]=_0x5e20f0(0xa0),_0x31e092[_0x5e20f0(0xaf)]=_0x5e20f0(0x7d);const _0x52dbc1=_0x31e092;if(global[_0x5e20f0(0xbf)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5baa4b,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x5baa4b,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x52dbc1[_0x5e20f0(0xc7)]),{};}else return logger[_0x5e20f0(0x80)](_0x52dbc1[_0x5e20f0(0xaf)]),{};},exports[a32_0x58dabd(0xc1)]=async _0x36f2fe=>{const _0x2d71c0=a32_0x58dabd,_0x552cea={'vgMvf':function(_0x348861,_0x30e9ea){return _0x348861!==_0x30e9ea;},'BcVra':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','UolmB':function(_0x2283e0,_0x48059f){return _0x2283e0===_0x48059f;},'Scigr':'chrome','YqsuY':_0x2d71c0(0xbe),'mHnXi':_0x2d71c0(0x70),'IevHs':function(_0x4e8e49,_0x2204c7){return _0x4e8e49(_0x2204c7);},'pWFof':function(_0x1a9c5c,_0x571e0e){return _0x1a9c5c===_0x571e0e;},'DMLBq':_0x2d71c0(0x92),'uySbT':function(_0xc2b3ae,_0x1e97de){return _0xc2b3ae>_0x1e97de;},'dUPrO':_0x2d71c0(0xb3)};try{if(!_0x552cea[_0x2d71c0(0xce)](_0x36f2fe['deviceName'],''))return logger[_0x2d71c0(0x80)](_0x552cea[_0x2d71c0(0xc0)]),![];const _0xeaaad1=_0x36f2fe['browser'];if(!(_0x552cea[_0x2d71c0(0xba)](_0xeaaad1,_0x552cea[_0x2d71c0(0x97)])||_0x552cea[_0x2d71c0(0xba)](_0xeaaad1,_0x552cea['YqsuY'])))return logger['warn'](_0x552cea[_0x2d71c0(0x93)]),![];const _0xf12fe=_0x552cea[_0x2d71c0(0xc8)](parseInt,_0x36f2fe['browser_version']);if(!(_0x552cea['pWFof'](_0xf12fe,_0x552cea[_0x2d71c0(0xa8)])||_0x552cea[_0x2d71c0(0xc2)](_0xf12fe,0x5e)))return logger[_0x2d71c0(0x80)](_0x552cea['dUPrO']),![];}catch(_0x35c4f4){logger[_0x2d71c0(0x73)](_0x2d71c0(0xbb)+util['format'](_0x35c4f4));}return!![];},exports['processAccessibilityCaps']=(_0x18a4b5,_0x40bf17,_0x46bbb9)=>{const _0x4583a8=a32_0x58dabd,_0x4bc5e5={'Tkmwc':function(_0x44600c){return _0x44600c();},'KRZWa':_0x4583a8(0xa1),'pnwXm':function(_0x3cee4e,_0x289d17){return _0x3cee4e===_0x289d17;},'KgGep':'chrome','ZtwJf':function(_0x33ad89,_0x30a00c){return _0x33ad89===_0x30a00c;},'DUThk':'playwright-chromium','fivfF':_0x4583a8(0x70),'joxBF':_0x4583a8(0x92),'WfLjg':function(_0x262b50,_0x4da95c){return _0x262b50>_0x4da95c;},'VGzbG':_0x4583a8(0xb3),'AFsCY':function(_0x12f8bb,_0x2fbc6a){return _0x12f8bb(_0x2fbc6a);},'tspyb':_0x4583a8(0xa9),'KdTES':function(_0x547aaf,_0x2a099a){return _0x547aaf+_0x2a099a;}};try{if(_0x4bc5e5[_0x4583a8(0xcf)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x18a4b5[_0x4bc5e5[_0x4583a8(0xb8)]]&&(global['accessibilityPlatform']=![]);!(_0x4bc5e5[_0x4583a8(0x9f)](_0x18a4b5[_0x4583a8(0x85)],_0x4bc5e5[_0x4583a8(0x87)])||_0x4bc5e5['ZtwJf'](_0x18a4b5['browserName'],_0x4bc5e5[_0x4583a8(0xb7)]))&&(logger[_0x4583a8(0x80)](_0x4bc5e5[_0x4583a8(0xc6)]),global['accessibilityPlatform']=![]);!(_0x4bc5e5[_0x4583a8(0xc4)](_0x18a4b5[_0x4583a8(0x8a)],_0x4bc5e5['joxBF'])||_0x4bc5e5[_0x4583a8(0x8f)](_0x18a4b5[_0x4583a8(0x8a)],0x5e))&&(logger['warn'](_0x4bc5e5['VGzbG']),global[_0x4583a8(0xbf)]=![]);!_0x4bc5e5[_0x4583a8(0x7f)](isUndefined,_0x18a4b5[_0x4583a8(0x94)])&&(logger['warn'](_0x4bc5e5[_0x4583a8(0x74)]),global[_0x4583a8(0xbf)]=![]);if(!global[_0x4583a8(0xbf)]){_0x18a4b5[_0x4bc5e5['KRZWa']]=![];const _0x349a8a=_0x4bc5e5[_0x4583a8(0x96)](_0x40bf17,_0x4bc5e5['AFsCY'](encodeURIComponent,JSON[_0x4583a8(0xb4)](_0x18a4b5)));_0x46bbb9&&(_0x46bbb9[_0x4583a8(0x91)]['testInfo'][_0x4583a8(0x86)][_0x4583a8(0x7c)][_0x4583a8(0xa5)][_0x4583a8(0x7b)]=_0x349a8a);}}}catch(_0x12f5a4){logger[_0x4583a8(0x73)](_0x4583a8(0x81)+util['format'](_0x12f5a4));}};
1
+ const a32_0x54eeb9=a32_0x4453;(function(_0xcfa5c6,_0xeb3813){const _0x3fabdd=a32_0x4453,_0x434e92=_0xcfa5c6();while(!![]){try{const _0x434035=parseInt(_0x3fabdd(0xe6))/0x1+-parseInt(_0x3fabdd(0x137))/0x2+parseInt(_0x3fabdd(0x123))/0x3+parseInt(_0x3fabdd(0xfe))/0x4+-parseInt(_0x3fabdd(0xef))/0x5+parseInt(_0x3fabdd(0x115))/0x6+parseInt(_0x3fabdd(0xf0))/0x7;if(_0x434035===_0xeb3813)break;else _0x434e92['push'](_0x434e92['shift']());}catch(_0x318bf7){_0x434e92['push'](_0x434e92['shift']());}}}(a32_0x38d1,0x35f16));function a32_0x4453(_0x38df3,_0x36a4bc){const _0x38d180=a32_0x38d1();return a32_0x4453=function(_0x445392,_0x34f8b3){_0x445392=_0x445392-0xda;let _0x41a342=_0x38d180[_0x445392];return _0x41a342;},a32_0x4453(_0x38df3,_0x36a4bc);}const util=require('util'),logger=require(a32_0x54eeb9(0x141))[a32_0x54eeb9(0xf9)],{isAccessibilityAutomationSession}=require(a32_0x54eeb9(0xe5)),{isUndefined}=require(a32_0x54eeb9(0x13e)),scripts=require(a32_0x54eeb9(0x108));function a32_0x38d1(){const _0x3d692f=['30324mrcQRF','includeIssueType','kFEjI','PofKz','chrome','performScan','executeScript','executeAsyncScript','IzyoN','playwright-chromium','naXwz','browserstack.accessibility','platformValidation','wcagVersion','wkUVv','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','name','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','TFyII','207942bKmJeU','stringify','BZvDB','IuNHF','getAccessibilityResultsSummary','accessibilityOptions','wsEndpoint','../../helpers/helper','veHUr','BS_A11Y_JWT','../../helpers/logger','accessibilityPlatform','YnUGh','eSoyo','(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','HAUeX','ijKcy','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','browser','jJdFw','accessibilityOptions.scannerVersion','bsatC','uyhHv','../../helpers/accessibility-automation/helper','8879fWXcXL','KVqLp','JBukr','browserName','zwCDp','evaluate','env','TptGD','Playwright','1825375aXNCSf','1480703iVIaUe','bestPractice','warn','accessibilityOptions.includeIssueType.needsReview','accessibilityOptions.wcagVersion','replace','debug','bstackSdkArgs','No\x20summaryResults\x20found.','winstonLogger','method','scannerVersion','fSypx','ibHZl','1680392boBHaR','tWgeO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','error','WebDriver','use','needsReview','format','BYFgC','cDjsN','../../helpers/accessibility-automation/scripts','IIoGs','browserStackEvaluate','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','HkYhf','setAccessibilityCapabilities','latest','testInfo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dAcLW','LyBQb','HMsFK','236292rIjaWf','constructor','No\x20accessibility\x20results\x20were\x20found.','deviceName','sSyUz','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','wKaoh','GWBcL','FOiYE','browserStackExecuteDriver','kOpib','CAiPp','accessibilityOptions.authToken'];a32_0x38d1=function(){return _0x3d692f;};return a32_0x38d1();}exports['browserStackEvaluate']=async(_0x574474,_0x156c49,_0x3168e5={})=>{const _0x534c3f=a32_0x54eeb9,_0x4aeccb={};_0x4aeccb[_0x534c3f(0xe7)]=_0x534c3f(0xf7);const _0x15c078=_0x4aeccb;return await _0x574474[_0x534c3f(0xeb)](_0x534c3f(0xdc)+_0x156c49[_0x534c3f(0xf5)](/arguments/g,_0x15c078['KVqLp'])+_0x534c3f(0x134)+JSON[_0x534c3f(0x138)](_0x3168e5)+')');},exports[a32_0x54eeb9(0x11f)]=async(_0x54b795,_0x46a437,_0x547b52={})=>{const _0xbf3570=a32_0x54eeb9,_0x6b47d3={};_0x6b47d3[_0xbf3570(0x12d)]=function(_0x4ff88d,_0x15b4ac){return _0x4ff88d===_0x15b4ac;},_0x6b47d3[_0xbf3570(0x13f)]=_0xbf3570(0x102),_0x6b47d3[_0xbf3570(0xed)]=_0xbf3570(0xee),_0x6b47d3[_0xbf3570(0xff)]=_0xbf3570(0xf7);const _0x36a72a=_0x6b47d3;if(_0x36a72a['naXwz'](_0x54b795[_0xbf3570(0x116)][_0xbf3570(0x133)],_0x36a72a['veHUr']))return await _0x54b795[_0xbf3570(0x12a)](_0x46a437,_0x547b52);else{if(_0x36a72a[_0xbf3570(0x12d)](_0x54b795[_0xbf3570(0x116)][_0xbf3570(0x133)],_0x36a72a[_0xbf3570(0xed)]))return await _0x54b795[_0xbf3570(0x129)](_0xbf3570(0xdf)+_0x46a437[_0xbf3570(0xf5)](/arguments/g,_0x36a72a[_0xbf3570(0xff)])+_0xbf3570(0x11a)+JSON[_0xbf3570(0x138)](_0x547b52)+')');}},exports[a32_0x54eeb9(0x10e)]=async _0x2be581=>{const _0x24dd7c=a32_0x54eeb9,_0x5127eb={};_0x5127eb[_0x24dd7c(0x11c)]=_0x24dd7c(0xf4),_0x5127eb[_0x24dd7c(0x11d)]='accessibilityOptions.scannerProcessingTimeout',_0x5127eb['TFyII']='accessibilityOptions.includeIssueType.bestPractice',_0x5127eb[_0x24dd7c(0xda)]=_0x24dd7c(0xf3),_0x5127eb['wkUVv']=_0x24dd7c(0x122),_0x5127eb[_0x24dd7c(0x114)]=_0x24dd7c(0xe2);const _0x248348=_0x5127eb;_0x2be581[_0x24dd7c(0x13c)]&&(_0x2be581[_0x24dd7c(0x13c)][_0x24dd7c(0x130)]&&(_0x2be581[_0x248348[_0x24dd7c(0x11c)]]=_0x2be581[_0x24dd7c(0x13c)][_0x24dd7c(0x130)]),_0x2be581[_0x24dd7c(0x13c)]['scannerProcessingTimeout']&&(_0x2be581[_0x248348[_0x24dd7c(0x11d)]]=_0x2be581[_0x24dd7c(0x13c)]['scannerProcessingTimeout']),_0x2be581[_0x24dd7c(0x13c)]['includeIssueType']&&(_0x2be581[_0x248348[_0x24dd7c(0x136)]]=_0x2be581['accessibilityOptions'][_0x24dd7c(0x124)][_0x24dd7c(0xf1)],_0x2be581[_0x248348['YnUGh']]=_0x2be581['accessibilityOptions'][_0x24dd7c(0x124)][_0x24dd7c(0x104)]));const _0x178013=JSON['parse'](process[_0x24dd7c(0xec)][_0x24dd7c(0x111)])[_0x24dd7c(0xfb)];_0x2be581[_0x248348[_0x24dd7c(0x131)]]=process[_0x24dd7c(0xec)][_0x24dd7c(0x140)],_0x2be581[_0x248348['HMsFK']]=_0x178013,delete _0x2be581[_0x24dd7c(0x13c)];},exports['getAccessibilityResults']=async _0x325535=>{const _0x48783b=a32_0x54eeb9,_0x2224c3={};_0x2224c3[_0x48783b(0x107)]=_0x48783b(0x117),_0x2224c3[_0x48783b(0x10d)]=_0x48783b(0x11b);const _0x586c96=_0x2224c3;if(global[_0x48783b(0x142)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x325535,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x325535,scripts.getResults);return res;}catch{return logger[_0x48783b(0x101)](_0x586c96[_0x48783b(0x107)]),[];}else return logger[_0x48783b(0xf2)](_0x586c96[_0x48783b(0x10d)]),[];},exports[a32_0x54eeb9(0x128)]=async(_0x32bf40,_0x4b2de2='')=>{const _0x2a60e2=a32_0x54eeb9;if(global[_0x2a60e2(0x142)]){const _0x1a9b47={};return _0x1a9b47[_0x2a60e2(0xfa)]=_0x4b2de2,await exports[_0x2a60e2(0x10a)](_0x32bf40,scripts[_0x2a60e2(0x128)],_0x1a9b47);}},exports[a32_0x54eeb9(0x13b)]=async _0x7cf0e1=>{const _0x3c7fb8=a32_0x54eeb9,_0x4fead7={};_0x4fead7[_0x3c7fb8(0x12b)]=_0x3c7fb8(0xf8),_0x4fead7['uyhHv']=_0x3c7fb8(0x132);const _0x3ee89d=_0x4fead7;if(global[_0x3c7fb8(0x142)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x7cf0e1,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x7cf0e1,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x3ee89d[_0x3c7fb8(0x12b)]),{};}else return logger[_0x3c7fb8(0xf2)](_0x3ee89d[_0x3c7fb8(0xe4)]),{};},exports[a32_0x54eeb9(0x12f)]=async _0x230727=>{const _0x21232c=a32_0x54eeb9,_0x552d76={'sSyUz':function(_0x156780,_0x5407f2){return _0x156780!==_0x5407f2;},'jJdFw':_0x21232c(0x100),'FOiYE':function(_0x8b4b63,_0xd75162){return _0x8b4b63===_0xd75162;},'BZvDB':'chrome','IuNHF':_0x21232c(0x12c),'eSoyo':_0x21232c(0x10c),'CAiPp':function(_0x502af3,_0x2a55bd){return _0x502af3(_0x2a55bd);},'HAUeX':_0x21232c(0x10f),'kFEjI':function(_0x2d06fc,_0x217a18){return _0x2d06fc>_0x217a18;},'QNMRw':_0x21232c(0x10b)};try{if(!_0x552d76[_0x21232c(0x119)](_0x230727[_0x21232c(0x118)],''))return logger['warn'](_0x552d76[_0x21232c(0xe1)]),![];const _0x2f79e9=_0x230727[_0x21232c(0xe0)];if(!(_0x552d76['FOiYE'](_0x2f79e9,_0x552d76[_0x21232c(0x139)])||_0x552d76[_0x21232c(0x11e)](_0x2f79e9,_0x552d76[_0x21232c(0x13a)])))return logger['warn'](_0x552d76[_0x21232c(0xdb)]),![];const _0x23a574=_0x552d76[_0x21232c(0x121)](parseInt,_0x230727['browser_version']);if(!(_0x552d76[_0x21232c(0x11e)](_0x23a574,_0x552d76[_0x21232c(0xdd)])||_0x552d76[_0x21232c(0x125)](_0x23a574,0x5e)))return logger[_0x21232c(0xf2)](_0x552d76['QNMRw']),![];}catch(_0x33791d){logger[_0x21232c(0xf6)](_0x21232c(0x135)+util['format'](_0x33791d));}return!![];},exports['processAccessibilityCaps']=(_0x289d42,_0x1b22a3,_0x19c71b)=>{const _0x585369=a32_0x54eeb9,_0x50d5af={'IIoGs':function(_0x4238d7){return _0x4238d7();},'kOpib':_0x585369(0x12e),'LyBQb':function(_0x273fde,_0x3b43b5){return _0x273fde===_0x3b43b5;},'JBukr':_0x585369(0x127),'BYFgC':_0x585369(0x12c),'bsatC':_0x585369(0x10c),'eayfW':function(_0x19403b,_0x1ac16f){return _0x19403b===_0x1ac16f;},'fSypx':_0x585369(0x10f),'PofKz':function(_0x55ffa0,_0xd19e59){return _0x55ffa0>_0xd19e59;},'ijKcy':_0x585369(0x10b),'dAcLW':function(_0x323d11,_0x1dcfe0){return _0x323d11(_0x1dcfe0);},'ibHZl':_0x585369(0x100),'zwCDp':function(_0x1e206,_0x1de5c3){return _0x1e206+_0x1de5c3;}};try{if(_0x50d5af[_0x585369(0x109)](isAccessibilityAutomationSession)){global[_0x585369(0x142)]=!![];!_0x289d42[_0x50d5af['kOpib']]&&(global['accessibilityPlatform']=![]);!(_0x50d5af[_0x585369(0x113)](_0x289d42[_0x585369(0xe9)],_0x50d5af[_0x585369(0xe8)])||_0x50d5af[_0x585369(0x113)](_0x289d42[_0x585369(0xe9)],_0x50d5af[_0x585369(0x106)]))&&(logger['warn'](_0x50d5af[_0x585369(0xe3)]),global[_0x585369(0x142)]=![]);!(_0x50d5af['eayfW'](_0x289d42['browser_version'],_0x50d5af[_0x585369(0xfc)])||_0x50d5af[_0x585369(0x126)](_0x289d42['browser_version'],0x5e))&&(logger[_0x585369(0xf2)](_0x50d5af[_0x585369(0xde)]),global[_0x585369(0x142)]=![]);!_0x50d5af[_0x585369(0x112)](isUndefined,_0x289d42['deviceName'])&&(logger['warn'](_0x50d5af[_0x585369(0xfd)]),global[_0x585369(0x142)]=![]);if(!global['accessibilityPlatform']){_0x289d42[_0x50d5af[_0x585369(0x120)]]=![];const _0x5145ff=_0x50d5af[_0x585369(0xea)](_0x1b22a3,_0x50d5af[_0x585369(0x112)](encodeURIComponent,JSON[_0x585369(0x138)](_0x289d42)));_0x19c71b&&(_0x19c71b['currentTest'][_0x585369(0x110)]['project'][_0x585369(0x103)]['connectOptions'][_0x585369(0x13d)]=_0x5145ff);}}}catch(_0x2440d){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x585369(0x105)](_0x2440d));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x49954d=a33_0xf1c6;function a33_0x13f6(){const _0x2372c7=['XvZSW','cliConfig','BROWSERSTACK_PW_CONFIG_DIR','HYKic','concat','startsWith','isTrue','KMgaV','Error\x20in\x20getting\x20funnel\x20data\x20results','reporter','exitCode','BROWSERSTACK_AUTOMATION','PzJYK','SUcha','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','2nwKzhi','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','skipSessionName','testContextOptions','amWFV','UYfJe','GqgKd','respectGitIgnore','Tixiq','GwCGk','--grep','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','skipSessionStatus','cwd','1240058YgvgXL','6777430UQDabV','eGFDn','../../helpers/BrowserStackSetup','kiIIu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','homedir','Error\x20in\x20closing\x20playwright','slice','filterBrowserstackConfig','RGbqW','fsibL','2|0|4|1|3','npx','oKTzc','launch','./reporter/reporter.js','Deleting\x20','--config=','USER_CONFIG_DETAILS_PATH','6yyYDkx','collectFilesForProject','exports','BhMTV','TkUjZ','xKjYn','debug','clearTempPWConfig','10924501gXeKMv','argv','BROWSERSTACK_SETUP_CONFIG_PATH','hYarr','--disable-browserstack-automation','PLAYWRIGHT','errorMessage','bkPwU','jNVzR','testMatch','accessibility','../../helpers/helper','./globalSetup.js','BS_A11Y_TEST_RUN_ID','OVciw','testIgnore','FWHTO','uOTms','HTcmg','requirePWModule','PZwff','stringify','config','project','util','path','playwright-browserstack-sdk.config.cjs','Tarrq','lVQjU','test','isFalse','default','FfzaT','playwright','bWjNE','split','MODULE','10818999bqPLVa','xZkTv','map','LLPSV','../../helpers/accessibility-automation/helper','apply','unlinkSync','winstonLogger','AfOts','PACKAGE_TYPE','testObservability','playwright-browserstack-sdk.config.js','QgqfV','getProxyUrl','Fmbgw','dTtAd','resolve','browserstackSetupConfig.json','koXYS','finalExecution','join','POGhG','push','isUndefined','OIBby','wVBzF','nxfTP','bajAm','kUEgZ','assign','dirname','cWRFK','xgUDF','initialize','null','DfGQH','lAYva','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','env','MvcZQ','indexOf','logLevel','automation','Getting\x20your\x20playwright\x20config\x20from\x20','findIndex','trim','Playwright\x20process\x20exited\x20with\x20code\x20','win32','PAETk','accessibilityOptions','length','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','writeFileSync','getConfigPath','existsSync','rpMrR','mqufk','10mjWlya','BDUgA','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','filter','false','EATql','6|1|0|8|3|7|5|4|2','../../helpers/test-observability/sessionHandler','../../helpers/logger','testDir','PITHD','--config','platforms','9360680nNystV','_internal','LNSSy','BROWSERSTACK_TEST_ACCESSIBILITY_YML','error','tgOAS','.browserstack','mAiNA','AYHGt','inherit','uSeGX','BROWSERSTACK_TEST_OBSERVABILITY','MYUVB','zKzAc','187564jYATyo','etDRi','../utils/constants','JowbW','bxQQT','hCoxy','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','GqCNQ','info','get','./accessibility-helper','../../helpers/test-observability/error-handler','NVKFk','globalSetup','BS_A11Y_JWT','has','gYhDn','1443930dGwdgU','readFileSync','object','parse','DrXLv','platform','sRjym','../../helpers/test-observability/utils','ERrBX','markSDKSetupComplete','serializeToYamlString','FfyiH'];a33_0x13f6=function(){return _0x2372c7;};return a33_0x13f6();}(function(_0x2e38bf,_0x5ba88b){const _0x1427f9=a33_0xf1c6,_0x3378a5=_0x2e38bf();while(!![]){try{const _0x1932be=parseInt(_0x1427f9(0x215))/0x1*(parseInt(_0x1427f9(0x223))/0x2)+-parseInt(_0x1427f9(0x237))/0x3*(-parseInt(_0x1427f9(0x1e9))/0x4)+parseInt(_0x1427f9(0x29d))/0x5*(parseInt(_0x1427f9(0x1fa))/0x6)+-parseInt(_0x1427f9(0x23f))/0x7+-parseInt(_0x1427f9(0x2aa))/0x8+parseInt(_0x1427f9(0x264))/0x9+parseInt(_0x1427f9(0x224))/0xa;if(_0x1932be===_0x5ba88b)break;else _0x3378a5['push'](_0x3378a5['shift']());}catch(_0x353b57){_0x3378a5['push'](_0x3378a5['shift']());}}}(a33_0x13f6,0xeb6b4));const fs=require('fs'),path=require(a33_0x49954d(0x258)),os=require('os'),{spawn}=require('child_process'),{format}=require(a33_0x49954d(0x257)),logger=require(a33_0x49954d(0x2a5))[a33_0x49954d(0x26b)],{default:BrowserStackSetup}=require(a33_0x49954d(0x226)),helper=require(a33_0x49954d(0x24a)),constants=require(a33_0x49954d(0x1eb)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter,o11yErrorHandler}=require(a33_0x49954d(0x1f4)),{getFrameworkVersion}=require(a33_0x49954d(0x201)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x49954d(0x268)),{setAccessibilityCapabilities}=require(a33_0x49954d(0x1f3)),SessionHandler=require(a33_0x49954d(0x2a4));async function requireOrImportDefaultObject(_0x154455){const _0x487c4a=a33_0x49954d,_0x414e53={'FWHTO':function(_0x5f5a84){return _0x5f5a84();},'UYfJe':function(_0x3d4fca,_0x2717ac){return _0x3d4fca(_0x2717ac);},'tgOAS':function(_0x23d440,_0x475ffb){return _0x23d440===_0x475ffb;},'Tarrq':'object','SIErz':function(_0xb56c7c,_0x25d7b9){return _0xb56c7c in _0x25d7b9;},'hYarr':_0x487c4a(0x25e)},{requireOrImport:_0xbac617}=helper['requirePWModule'][_0x487c4a(0x269)](null,_0x414e53[_0x487c4a(0x24f)](getTransformPath));let _0x2710bc=await _0x414e53[_0x487c4a(0x21a)](_0xbac617,_0x154455);return _0x2710bc&&_0x414e53[_0x487c4a(0x2af)](typeof _0x2710bc,_0x414e53[_0x487c4a(0x25a)])&&_0x414e53['SIErz'](_0x414e53[_0x487c4a(0x242)],_0x2710bc)&&(_0x2710bc=_0x2710bc[_0x414e53['hYarr']]),_0x2710bc;}const getUserPlaywrightConfig=async(_0x514c51,_0x1358cc)=>{const _0x17ccbc=a33_0x49954d,_0x5b37ef={'PITHD':function(_0x1fb783){return _0x1fb783();},'mUeGa':function(_0x2e3846,_0xba0383){return _0x2e3846(_0xba0383);},'fLIlI':function(_0x2a0129,_0x1adf22){return _0x2a0129(_0x1adf22);},'SUcha':'resolvedConfigFile','AFwvW':function(_0x49d3d9,_0x11925d){return _0x49d3d9(_0x11925d);},'MvcZQ':_0x17ccbc(0x216),'DVKfn':_0x17ccbc(0x1ef),'yNnKV':_0x17ccbc(0x235)},_0x5d9795=!helper[_0x17ccbc(0x27b)](_0x514c51[_0x17ccbc(0x255)]),_0x4aea41=_0x5d9795?path[_0x17ccbc(0x274)](process[_0x17ccbc(0x222)](),_0x514c51['config']):process['cwd'](),{resolveConfigFile:_0x2ef8f7,resolveConfigLocation:_0x912247}=helper[_0x17ccbc(0x252)][_0x17ccbc(0x269)](null,_0x5b37ef[_0x17ccbc(0x2a7)](getConfigLoaderPath)),_0x392350=_0x2ef8f7?_0x5b37ef['mUeGa'](_0x2ef8f7,_0x4aea41):helper['nestedKeyValue'](_0x5b37ef['fLIlI'](_0x912247,_0x4aea41),[_0x5b37ef[_0x17ccbc(0x213)]]);let _0x1772d6={};if(_0x392350){logger[_0x17ccbc(0x1f1)](_0x17ccbc(0x28f)+_0x392350);try{_0x1772d6=await _0x5b37ef['AFwvW'](requireOrImportDefaultObject,_0x392350);}catch(_0x124544){return logger[_0x17ccbc(0x2ae)](_0x5b37ef[_0x17ccbc(0x28b)],_0x5b37ef['mUeGa'](format,_0x124544)),null;}}else logger[_0x17ccbc(0x1f1)](_0x5b37ef['DVKfn']);if(_0x5d9795){const _0x590d8b=_0x1358cc[_0x17ccbc(0x290)](_0x392b51=>_0x392b51===_0x17ccbc(0x2a8)||_0x392b51==='-c'||_0x392b51[_0x17ccbc(0x20b)]('--config='));_0x1358cc['splice'](_0x590d8b,_0x1358cc[_0x590d8b][_0x17ccbc(0x20b)](_0x5b37ef['yNnKV'])?0x1:0x2);}const _0x4e9bf8={};return _0x4e9bf8[_0x17ccbc(0x258)]=_0x392350,_0x4e9bf8['config']=_0x1772d6,_0x4e9bf8;},setGlobalSetup=(_0x46a11a,_0x408899)=>{const _0x576cd0=a33_0x49954d,_0x2a32ef={'mAiNA':'globalSetup','JowbW':_0x576cd0(0x214),'DfGQH':function(_0x173e60,_0x47d90e){return _0x173e60+_0x47d90e;},'GqgKd':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','xKjYn':function(_0x44da22,_0x397f30){return _0x44da22(_0x397f30);},'FfyiH':_0x576cd0(0x24b)};if(!_0x46a11a)return![];try{if(_0x46a11a[_0x576cd0(0x1f6)]){let _0x3b2138;const _0x12ae6c=path[_0x576cd0(0x274)](_0x408899,_0x46a11a[_0x2a32ef[_0x576cd0(0x1e2)]]);if(fs[_0x576cd0(0x29a)](_0x12ae6c))_0x3b2138=_0x12ae6c;else{const _0x21daca={};_0x21daca['paths']=[_0x408899],_0x3b2138=require[_0x576cd0(0x274)](_0x46a11a[_0x2a32ef[_0x576cd0(0x1e2)]],_0x21daca);}if(!_0x3b2138)throw new Error(_0x2a32ef[_0x576cd0(0x1ec)]);process['env'][_0x576cd0(0x29f)]=_0x3b2138;}}catch(_0x172765){logger[_0x576cd0(0x2ae)](_0x2a32ef[_0x576cd0(0x287)](_0x2a32ef[_0x576cd0(0x21b)],_0x2a32ef[_0x576cd0(0x23c)](format,_0x172765)));}return _0x46a11a['globalSetup']=require['resolve'](_0x2a32ef[_0x576cd0(0x205)]),!![];},addReporter=_0x18633f=>{const _0x34c638=a33_0x49954d,_0x21697d={};_0x21697d[_0x34c638(0x1e7)]=_0x34c638(0x233),_0x21697d['dTtAd']=_0x34c638(0x20f),_0x21697d[_0x34c638(0x27d)]=function(_0x187861,_0x269904){return _0x187861===_0x269904;},_0x21697d['qtOgJ']='string',_0x21697d[_0x34c638(0x1f5)]=function(_0x41971c,_0x224042){return _0x41971c===_0x224042;},_0x21697d[_0x34c638(0x288)]=_0x34c638(0x1fc);const _0x4f3fb5=_0x21697d,_0x324272=path[_0x34c638(0x278)](__dirname,_0x4f3fb5['MYUVB']),_0x3c18db=[_0x324272];if(helper[_0x34c638(0x27b)](_0x18633f[_0x4f3fb5['dTtAd']]))_0x18633f[_0x4f3fb5[_0x34c638(0x273)]]=[_0x3c18db];else{if(_0x4f3fb5[_0x34c638(0x27d)](typeof _0x18633f[_0x4f3fb5['dTtAd']],_0x4f3fb5['qtOgJ']))_0x18633f[_0x4f3fb5[_0x34c638(0x273)]]=[[_0x18633f[_0x4f3fb5['dTtAd']]],_0x3c18db];else _0x4f3fb5[_0x34c638(0x1f5)](typeof _0x18633f[_0x4f3fb5[_0x34c638(0x273)]],_0x4f3fb5[_0x34c638(0x288)])&&_0x18633f[_0x4f3fb5['dTtAd']][_0x34c638(0x27a)](_0x3c18db);}},handleO11yRerun=_0x494ec5=>{const _0xa3778c=a33_0x49954d,_0x250aab={};_0x250aab['PzJYK']=function(_0x21d783,_0x553eef){return _0x21d783!==_0x553eef;},_0x250aab[_0xa3778c(0x284)]=_0xa3778c(0x286),_0x250aab['bEnOU']=_0xa3778c(0x21f);const _0x500c37=_0x250aab,_0x37cda9=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x37cda9){const _0x58cdeb=process[_0xa3778c(0x28a)]['BROWSERSTACK_RERUN_TESTS'],_0x3ec400=[];if(_0x500c37[_0xa3778c(0x212)](_0x58cdeb,_0x500c37[_0xa3778c(0x284)])&&!helper['isUndefined'](_0x58cdeb)){_0x58cdeb[_0xa3778c(0x262)](',')[_0xa3778c(0x266)](_0x44cc9b=>{const _0x3a1304=_0xa3778c;_0x3ec400[_0x3a1304(0x27a)]('('+_0x44cc9b[_0x3a1304(0x291)]()+')');});const _0x355354='^'+_0x3ec400['join']('|')+'$';_0x494ec5[_0xa3778c(0x27a)](_0x500c37['bEnOU'],_0x355354);}}},spawnOriginalProcess=_0x494d16=>{const _0x4cf988=a33_0x49954d,_0x51151f={'XvZSW':function(_0x365617,_0x1d8a5c,_0xa133da,_0x551de7){return _0x365617(_0x1d8a5c,_0xa133da,_0x551de7);},'ZMlsn':_0x4cf988(0x230),'KMgaV':'playwright','wllky':function(_0x121b38,_0x12f3f9){return _0x121b38===_0x12f3f9;},'xcFtO':_0x4cf988(0x293),'LLPSV':_0x4cf988(0x1e4)};_0x51151f[_0x4cf988(0x206)](spawn,_0x51151f['ZMlsn'],[_0x51151f[_0x4cf988(0x20d)],..._0x494d16[_0x4cf988(0x22b)](0x1)],{'shell':_0x51151f['wllky'](process[_0x4cf988(0x1ff)],_0x51151f['xcFtO']),'stdio':_0x51151f[_0x4cf988(0x267)],'cwd':process['cwd']()});},isTestCommand=(_0x70e74f,_0x10d7ff)=>{const _0x3e4164=a33_0x49954d,_0x271014={};_0x271014[_0x3e4164(0x29b)]=function(_0x413375,_0x35c531){return _0x413375>_0x35c531;},_0x271014['bxQQT']=function(_0x145d1a,_0x46e628){return _0x145d1a===_0x46e628;},_0x271014[_0x3e4164(0x1e8)]='test';const _0xac3916=_0x271014;if(_0xac3916[_0x3e4164(0x29b)](_0x10d7ff[_0x3e4164(0x296)],0x1)&&_0xac3916[_0x3e4164(0x1ed)](_0x10d7ff[0x1],_0xac3916['zKzAc']))return!![];return![];},initO11yCrashReporter=(_0x186667,_0xe3f434)=>{const _0x109b1f=a33_0x49954d,_0x3b011e={'QrmBh':function(_0x39025a,_0x5437b6){return _0x39025a(_0x5437b6);}},_0x54027c={'frameworkName':FRAMEWORKS[_0x109b1f(0x244)],'frameworkVersion':_0x3b011e['QrmBh'](getFrameworkVersion,FRAMEWORKS[_0x109b1f(0x244)])};CrashReporter[_0x109b1f(0x285)](_0x54027c,_0x186667,_0xe3f434);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x56da9e){const _0x429759=a33_0x49954d,_0xcb3a81={};_0xcb3a81[_0x429759(0x21d)]=function(_0x22d002,_0x2df224){return _0x22d002>_0x2df224;},_0xcb3a81[_0x429759(0x280)]=function(_0x523d02,_0xc19f4c){return _0x523d02===_0xc19f4c;};const _0x10b229=_0xcb3a81;if(!_0x56da9e||_0x10b229[_0x429759(0x21d)](_0x56da9e[_0x429759(0x296)],0x1)&&_0x10b229[_0x429759(0x280)](_0x56da9e[0x0],null))return process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=![],![];return!![];});function a33_0xf1c6(_0x3c4f22,_0x24ebfc){const _0x13f60e=a33_0x13f6();return a33_0xf1c6=function(_0xf1c6d8,_0x341aaa){_0xf1c6d8=_0xf1c6d8-0x1e2;let _0x5b4fc0=_0x13f60e[_0xf1c6d8];return _0x5b4fc0;},a33_0xf1c6(_0x3c4f22,_0x24ebfc);}async function run(_0x1b2d3d,_0x1ab63f){const _0x2f2740=a33_0x49954d,_0x3ad43e={'xZkTv':_0x2f2740(0x2b0),'ERrBX':'pw_result.json','etDRi':function(_0x9d0233,_0x3c4e2c){return _0x9d0233+_0x3c4e2c;},'tuCCE':_0x2f2740(0x20e),'cWRFK':_0x2f2740(0x2a3),'OIBby':function(_0x250df,_0x5b211c){return _0x250df(_0x5b211c);},'bWjNE':function(_0x3e8af9){return _0x3e8af9();},'OVciw':_0x2f2740(0x22a),'qowSS':_0x2f2740(0x243),'lVQjU':_0x2f2740(0x2a1),'uOTms':'--disable-test-observability','GwCGk':function(_0x1e82e7,_0x4763fe){return _0x1e82e7>=_0x4763fe;},'PAETk':'Error\x20in\x20deleting\x20playwright\x20results','DrXLv':function(_0xf87b5a,_0x154314,_0x33d0d0){return _0xf87b5a(_0x154314,_0x33d0d0);},'hCoxy':function(_0x1b3e2c,_0x3e142f){return _0x1b3e2c(_0x3e142f);},'Fmbgw':'BrowserStack\x20config\x20file\x20not\x20found.','PZwff':_0x2f2740(0x28e),'nxfTP':function(_0x279ca3,_0x296fb0){return _0x279ca3!=_0x296fb0;},'QgqfV':function(_0xb79294,_0x5b6d3b,_0x2601e3){return _0xb79294(_0x5b6d3b,_0x2601e3);},'mqufk':function(_0xfb00ce,_0x3f1871){return _0xfb00ce(_0x3f1871);},'uSeGX':function(_0x235371,_0x534e7f){return _0x235371(_0x534e7f);},'xnWtp':_0x2f2740(0x22f),'fFgYR':_0x2f2740(0x297),'kiIIu':function(_0xb112c1,_0x427bcb){return _0xb112c1(_0x427bcb);},'fsibL':function(_0x4a5f9f,_0x508ce8){return _0x4a5f9f(_0x508ce8);},'TkUjZ':function(_0x29e8d4,_0x25c580){return _0x29e8d4===_0x25c580;},'amWFV':'true','sRjym':function(_0x365cef,_0x35394b){return _0x365cef(_0x35394b);},'jNVzR':function(_0x55832d,_0x1cadee,_0x21e7bf){return _0x55832d(_0x1cadee,_0x21e7bf);},'oKTzc':'@playwright/test','BDUgA':function(_0x5b5c92,_0x25e869){return _0x5b5c92===_0x25e869;},'HYKic':_0x2f2740(0x275),'HTcmg':function(_0xacee60){return _0xacee60();},'AYHGt':_0x2f2740(0x2a6),'POGhG':_0x2f2740(0x248),'eGFDn':_0x2f2740(0x24e),'bajAm':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','gfsGz':function(_0x58b2a9,_0x5ee1a1){return _0x58b2a9===_0x5ee1a1;},'GqCNQ':_0x2f2740(0x259),'koXYS':_0x2f2740(0x26f),'Ybave':function(_0x1ee85d,_0xdb72ce){return _0x1ee85d>_0xdb72ce;},'pLEzD':function(_0xcece2c,_0x39684b){return _0xcece2c+_0x39684b;},'LNSSy':function(_0x3af794,_0x4a6796,_0x1f78b9,_0x31c81){return _0x3af794(_0x4a6796,_0x1f78b9,_0x31c81);},'gYhDn':_0x2f2740(0x230),'EATql':_0x2f2740(0x260),'fMkTP':_0x2f2740(0x25c),'RGbqW':'--config','BhMTV':function(_0x107e0b,_0x85f985){return _0x107e0b===_0x85f985;},'bkPwU':_0x2f2740(0x293),'AfOts':_0x2f2740(0x1e4),'FfzaT':'close'};!helper[_0x2f2740(0x25d)](process[_0x2f2740(0x28a)][_0x2f2740(0x211)])&&(process[_0x2f2740(0x28a)][_0x2f2740(0x211)]=!![]);process[_0x2f2740(0x240)]['includes'](_0x3ad43e['qowSS'])&&(process['env'][_0x2f2740(0x211)]=_0x3ad43e[_0x2f2740(0x25b)],_0x1ab63f=_0x1ab63f[_0x2f2740(0x2a0)](_0x91a645=>_0x91a645!==_0x2f2740(0x243)));const _0x518a7b=_0x1ab63f[_0x2f2740(0x28c)](_0x3ad43e[_0x2f2740(0x250)]);_0x3ad43e[_0x2f2740(0x21e)](_0x518a7b,0x0)&&(process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]=_0x3ad43e['lVQjU'],_0x1ab63f=_0x1ab63f['filter'](_0x110e6e=>_0x110e6e!=='--disable-test-observability'));try{const _0x320265=path[_0x2f2740(0x278)](helper[_0x2f2740(0x229)](),_0x3ad43e[_0x2f2740(0x265)],_0x3ad43e[_0x2f2740(0x202)]);fs['existsSync'](_0x320265)&&fs[_0x2f2740(0x26a)](_0x320265);}catch(_0x72b900){logger[_0x2f2740(0x23d)](_0x3ad43e[_0x2f2740(0x1ea)](_0x3ad43e[_0x2f2740(0x294)],_0x72b900));}if(!_0x3ad43e[_0x2f2740(0x1fe)](isTestCommand,_0x1b2d3d,_0x1ab63f)){_0x3ad43e[_0x2f2740(0x1ee)](spawnOriginalProcess,_0x1ab63f);return;}const _0x125176=new BrowserStackSetup(_0x1b2d3d,FRAMEWORKS['PLAYWRIGHT']);if(!_0x125176[_0x2f2740(0x255)]){logger[_0x2f2740(0x2ae)](_0x3ad43e[_0x2f2740(0x272)]);return;}await _0x125176['initialize']();!helper[_0x2f2740(0x27b)](_0x125176['cliConfig'])&&_0x125176[_0x2f2740(0x207)][_0x2f2740(0x1f8)](_0x3ad43e[_0x2f2740(0x253)])&&(process[_0x2f2740(0x28a)]['BROWSERSTACK_AUTOMATION']=_0x125176['cliConfig'][_0x2f2740(0x1f2)](_0x3ad43e[_0x2f2740(0x253)])||!![]);_0x3ad43e[_0x2f2740(0x27e)](_0x125176['config'][_0x2f2740(0x26e)],null)&&!helper[_0x2f2740(0x20c)](process['env'][_0x2f2740(0x1e6)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]||_0x125176[_0x2f2740(0x255)][_0x2f2740(0x26e)]);const _0x5444e2=!helper[_0x2f2740(0x25d)](process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]);let _0x40e6e8=![];_0x125176[_0x2f2740(0x255)][_0x2f2740(0x249)]&&(_0x40e6e8=!![],process[_0x2f2740(0x28a)][_0x2f2740(0x2ad)]=_0x125176['config'][_0x2f2740(0x249)]);_0x125176[_0x2f2740(0x255)][_0x2f2740(0x295)]&&(process[_0x2f2740(0x28a)][_0x2f2740(0x228)]=JSON[_0x2f2740(0x254)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x295)]));const _0x37beab=_0x1ab63f[_0x2f2740(0x20a)](),_0x4927b5=await _0x3ad43e[_0x2f2740(0x270)](getUserPlaywrightConfig,_0x1b2d3d,_0x1ab63f);if(helper['isUndefined'](_0x4927b5)){_0x3ad43e['mqufk'](spawnOriginalProcess,_0x37beab);return;}const _0x6b3d4e={..._0x4927b5[_0x2f2740(0x255)]},_0x545635=_0x6b3d4e,_0x30f725=_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process[_0x2f2740(0x222)]();process[_0x2f2740(0x28a)][_0x2f2740(0x208)]=_0x30f725;if(!_0x3ad43e['DrXLv'](setGlobalSetup,_0x545635,_0x30f725)){_0x3ad43e[_0x2f2740(0x1ee)](spawnOriginalProcess,_0x37beab);return;}const _0x5e001b=await SessionHandler[_0x2f2740(0x232)](_0x125176['config'],{'frameworkName':FRAMEWORKS[_0x2f2740(0x244)],'frameworkVersion':_0x3ad43e['uSeGX'](getFrameworkVersion,FRAMEWORKS[_0x2f2740(0x244)])});if(_0x5444e2){const _0x1ced69=_0x3ad43e['xnWtp'][_0x2f2740(0x262)]('|');let _0x22b7a9=0x0;while(!![]){switch(_0x1ced69[_0x22b7a9++]){case'0':_0x3ad43e[_0x2f2740(0x270)](initO11yCrashReporter,_0x545635,_0x125176[_0x2f2740(0x255)]);continue;case'1':_0x3ad43e[_0x2f2740(0x29c)](handleO11yRerun,_0x1ab63f);continue;case'2':logger[_0x2f2740(0x1f1)](_0x3ad43e['fFgYR']);continue;case'3':await _0x3ad43e[_0x2f2740(0x227)](launchO11ySession,_0x5e001b);continue;case'4':_0x3ad43e[_0x2f2740(0x22e)](addReporter,_0x545635);continue;}break;}}let _0x441e87=_0x3ad43e[_0x2f2740(0x23b)](process[_0x2f2740(0x28a)][_0x2f2740(0x2ad)],_0x3ad43e[_0x2f2740(0x219)]);_0x441e87=_0x441e87||_0x3ad43e[_0x2f2740(0x200)](checkAccessibilityPlatformConfig,_0x125176['config']),process[_0x2f2740(0x28a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x441e87;if(_0x441e87){const [_0x40de11,_0x3f9a46]=await _0x3ad43e[_0x2f2740(0x247)](createAccessibilityTestRun,_0x125176['config'],_0x3ad43e[_0x2f2740(0x231)]);logger[_0x2f2740(0x23d)](_0x2f2740(0x220)+_0x3f9a46),process[_0x2f2740(0x28a)][_0x2f2740(0x1f7)]=_0x40de11,process[_0x2f2740(0x28a)][_0x2f2740(0x24c)]=_0x3f9a46,_0x3ad43e['uSeGX'](setAccessibilityCapabilities,_0x125176['config']);}(helper[_0x2f2740(0x27b)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x2a9)])||_0x3ad43e[_0x2f2740(0x29e)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x2a9)][_0x2f2740(0x296)],0x0))&&(process['env'][_0x2f2740(0x211)]=![]);const _0x148db4=path[_0x2f2740(0x278)](_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process['cwd'](),_0x3ad43e[_0x2f2740(0x209)]);fs[_0x2f2740(0x298)](_0x148db4,helper[_0x2f2740(0x204)](_0x125176['config'])),process[_0x2f2740(0x28a)][_0x2f2740(0x241)]=_0x148db4,helper[_0x2f2740(0x23e)]();if(helper['isTrue'](process[_0x2f2740(0x28a)][_0x2f2740(0x211)])){let _0xbc179b=[];try{const _0x5d6df3=helper[_0x2f2740(0x252)][_0x2f2740(0x269)](null,_0x3ad43e[_0x2f2740(0x251)](getProjectUtilsPath)),_0x300b0c={};_0x300b0c[_0x2f2740(0x21c)]=!![],_0x300b0c[_0x2f2740(0x2a6)]='',_0x300b0c[_0x2f2740(0x248)]='',_0x300b0c['testIgnore']='';const _0x1d0666={};_0x1d0666[_0x2f2740(0x21c)]=!![];const _0x40b72c={};_0x40b72c[_0x2f2740(0x256)]=_0x300b0c,_0x40b72c[_0x2f2740(0x2ab)]=_0x1d0666;let _0x6e84c0=_0x40b72c;_0x545635[_0x3ad43e[_0x2f2740(0x1e3)]]&&(_0x6e84c0[_0x2f2740(0x256)][_0x3ad43e[_0x2f2740(0x1e3)]]=_0x545635[_0x3ad43e[_0x2f2740(0x1e3)]]),_0x545635[_0x3ad43e[_0x2f2740(0x279)]]&&(_0x6e84c0['project'][_0x3ad43e['POGhG']]=_0x545635[_0x3ad43e[_0x2f2740(0x279)]]),_0x545635[_0x3ad43e[_0x2f2740(0x225)]]&&(_0x6e84c0['project'][_0x3ad43e[_0x2f2740(0x225)]]=_0x545635[_0x3ad43e[_0x2f2740(0x225)]]),_0x6e84c0=Object[_0x2f2740(0x281)](_0x6e84c0,_0x6e84c0['project']),_0xbc179b=await _0x5d6df3[_0x2f2740(0x238)](_0x6e84c0);}catch(_0x5af52a){logger['debug'](_0x3ad43e[_0x2f2740(0x1ea)](_0x3ad43e[_0x2f2740(0x27f)],_0x3ad43e[_0x2f2740(0x1e5)](format,_0x5af52a)));}}let _0xcc3323='';_0x3ad43e['gfsGz'](helper['getPackageType'](),constants[_0x2f2740(0x26d)][_0x2f2740(0x263)])?_0xcc3323=_0x3ad43e[_0x2f2740(0x1f0)]:_0xcc3323=_0x3ad43e[_0x2f2740(0x276)];const _0x22542e=path['join'](_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process[_0x2f2740(0x222)](),_0xcc3323);let _0x4ccd51=_0x4927b5['path']?_0x4927b5[_0x2f2740(0x258)]:'';_0x4ccd51=_0x3ad43e['Ybave'](_0x4ccd51['length'],0x0)?path[_0x2f2740(0x274)](_0x4ccd51):'',process['env'][_0x2f2740(0x236)]=_0x4ccd51;let _0x290ec8='\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a';const _0x4316b2=helper[_0x2f2740(0x271)](_0x125176['config']);_0x4316b2&&(_0x290ec8=_0x3ad43e['pLEzD'](_0x2f2740(0x289)+_0x4316b2+'\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();',_0x290ec8));helper[_0x2f2740(0x22c)]({},_0x1ab63f),fs[_0x2f2740(0x298)](_0x22542e,_0x290ec8),helper[_0x2f2740(0x203)]();const _0x109918=_0x3ad43e[_0x2f2740(0x2ac)](spawn,_0x3ad43e[_0x2f2740(0x1f9)],[_0x3ad43e[_0x2f2740(0x2a2)],_0x3ad43e['fMkTP'],_0x3ad43e[_0x2f2740(0x22d)],_0x22542e,..._0x1ab63f['slice'](0x2)],{'shell':_0x3ad43e[_0x2f2740(0x23a)](process[_0x2f2740(0x1ff)],_0x3ad43e[_0x2f2740(0x246)]),'stdio':_0x3ad43e[_0x2f2740(0x26c)],'cwd':process[_0x2f2740(0x222)](),'env':Object[_0x2f2740(0x281)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2f2740(0x299)](_0x1b2d3d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x125176[_0x2f2740(0x255)][_0x2f2740(0x218)][_0x2f2740(0x221)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x125176['config'][_0x2f2740(0x218)][_0x2f2740(0x217)],'BROWSERSTACK_LOG_LEVEL':_0x125176[_0x2f2740(0x255)][_0x2f2740(0x28d)]})}),_0x1d995e=()=>{const _0x479f0c=_0x2f2740;try{const _0x1d5a0b=path['join'](helper['homedir'](),_0x3ad43e['xZkTv'],_0x3ad43e['ERrBX']);if(fs[_0x479f0c(0x29a)](_0x1d5a0b)){let _0xac7556=fs[_0x479f0c(0x1fb)](_0x1d5a0b);_0xac7556=JSON[_0x479f0c(0x1fd)](_0xac7556),_0x125176[_0x479f0c(0x245)]=_0xac7556,fs[_0x479f0c(0x26a)](_0x1d5a0b);}}catch(_0x47eabf){logger['debug'](_0x3ad43e['etDRi'](_0x3ad43e['tuCCE'],_0x47eabf));}};_0x109918['on'](_0x3ad43e[_0x2f2740(0x25f)],async _0x1c6110=>{const _0x3f60c3=_0x2f2740;try{const _0xd31dd1=_0x3ad43e[_0x3f60c3(0x283)][_0x3f60c3(0x262)]('|');let _0x5857e5=0x0;while(!![]){switch(_0xd31dd1[_0x5857e5++]){case'0':await _0x3ad43e[_0x3f60c3(0x27c)](stopAccessibilityTestRun,_0x125176[_0x3f60c3(0x255)]);continue;case'1':await helper[_0x3f60c3(0x277)](_0x125176);continue;case'2':fs[_0x3f60c3(0x26a)](_0x148db4);continue;case'3':logger[_0x3f60c3(0x23d)](_0x3f60c3(0x292)+_0x1c6110);continue;case'4':logger[_0x3f60c3(0x23d)](_0x3f60c3(0x234)+_0x148db4);continue;case'5':fs[_0x3f60c3(0x26a)](_0x22542e);continue;case'6':_0x3ad43e[_0x3f60c3(0x261)](_0x1d995e);continue;case'7':logger[_0x3f60c3(0x1f1)](_0x3f60c3(0x234)+_0x22542e);continue;case'8':process[_0x3f60c3(0x210)]=_0x1c6110;continue;}break;}}catch(_0x52a980){logger['debug'](_0x3ad43e[_0x3f60c3(0x1ea)](_0x3ad43e[_0x3f60c3(0x24d)],_0x52a980));}});}module[a33_0x49954d(0x239)]=run;
2
+ 'use strict';const a33_0x4fe9d7=a33_0x3161;(function(_0x38d02f,_0x45f40c){const _0xb6d611=a33_0x3161,_0x564299=_0x38d02f();while(!![]){try{const _0x4cf48c=parseInt(_0xb6d611(0x267))/0x1*(parseInt(_0xb6d611(0x272))/0x2)+parseInt(_0xb6d611(0x258))/0x3+parseInt(_0xb6d611(0x1f1))/0x4+parseInt(_0xb6d611(0x226))/0x5*(parseInt(_0xb6d611(0x248))/0x6)+-parseInt(_0xb6d611(0x254))/0x7*(parseInt(_0xb6d611(0x209))/0x8)+-parseInt(_0xb6d611(0x243))/0x9*(parseInt(_0xb6d611(0x1bb))/0xa)+parseInt(_0xb6d611(0x1f9))/0xb*(-parseInt(_0xb6d611(0x233))/0xc);if(_0x4cf48c===_0x45f40c)break;else _0x564299['push'](_0x564299['shift']());}catch(_0x1ac18f){_0x564299['push'](_0x564299['shift']());}}}(a33_0x3e49,0x46432));const fs=require('fs'),path=require(a33_0x4fe9d7(0x217)),os=require('os'),{spawn}=require(a33_0x4fe9d7(0x224)),{format}=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x4fe9d7(0x27d)),helper=require(a33_0x4fe9d7(0x22c)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a33_0x4fe9d7(0x25e)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x4fe9d7(0x1c5)),{CrashReporter,o11yErrorHandler}=require(a33_0x4fe9d7(0x1c7)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x4fe9d7(0x26d)),{setAccessibilityCapabilities}=require(a33_0x4fe9d7(0x200)),SessionHandler=require(a33_0x4fe9d7(0x1d7)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testHubConstants=require(a33_0x4fe9d7(0x1c9)),{shouldProcessEventForTesthub}=require(a33_0x4fe9d7(0x1b6));function a33_0x3161(_0x6dc80b,_0xdc6a56){const _0x3e49d1=a33_0x3e49();return a33_0x3161=function(_0x31614f,_0x2b9196){_0x31614f=_0x31614f-0x1b4;let _0x38d50d=_0x3e49d1[_0x31614f];return _0x38d50d;},a33_0x3161(_0x6dc80b,_0xdc6a56);}async function requireOrImportDefaultObject(_0x3e15f7){const _0x284a5a=a33_0x4fe9d7,_0xb53f62={'oMwHi':function(_0x325311){return _0x325311();},'ROZGR':function(_0x2bcd5c,_0x4e6f0f){return _0x2bcd5c(_0x4e6f0f);},'LRblU':function(_0x5e12a0,_0x48da8c){return _0x5e12a0===_0x48da8c;},'wOtRL':_0x284a5a(0x1e2),'vqqRl':function(_0x1b9e92,_0x44a5de){return _0x1b9e92 in _0x44a5de;},'pDMKm':_0x284a5a(0x23f)},{requireOrImport:_0x12df12}=helper['requirePWModule'][_0x284a5a(0x1f0)](null,_0xb53f62[_0x284a5a(0x22d)](getTransformPath));let _0x46bd23=await _0xb53f62[_0x284a5a(0x220)](_0x12df12,_0x3e15f7);return _0x46bd23&&_0xb53f62['LRblU'](typeof _0x46bd23,_0xb53f62[_0x284a5a(0x274)])&&_0xb53f62[_0x284a5a(0x1c2)](_0xb53f62[_0x284a5a(0x237)],_0x46bd23)&&(_0x46bd23=_0x46bd23[_0xb53f62[_0x284a5a(0x237)]]),_0x46bd23;}const getUserPlaywrightConfig=async(_0x4f279d,_0xdcf465)=>{const _0x1f8ddb=a33_0x4fe9d7,_0xe6d62e={'EXFZd':function(_0x39ec5){return _0x39ec5();},'fuhPe':function(_0x583a23,_0x231c7f){return _0x583a23(_0x231c7f);},'ModFx':function(_0x451298,_0x4af594){return _0x451298(_0x4af594);},'ThvJA':'resolvedConfigFile','izsFS':function(_0x3445a6,_0x44f966){return _0x3445a6(_0x44f966);},'ARZRv':function(_0x1a0729,_0x4d6ae6){return _0x1a0729+_0x4d6ae6;},'JnkYF':_0x1f8ddb(0x27b),'LOJbn':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','WiYbX':'--config='},_0x16dd02=!helper['isUndefined'](_0x4f279d['config']),_0x17f344=_0x16dd02?path[_0x1f8ddb(0x24c)](process[_0x1f8ddb(0x216)](),_0x4f279d['config']):process[_0x1f8ddb(0x216)](),{resolveConfigFile:_0x152690,resolveConfigLocation:_0x3fec64}=helper[_0x1f8ddb(0x22a)]['apply'](null,_0xe6d62e['EXFZd'](getConfigLoaderPath)),_0x319b84=_0x152690?_0xe6d62e[_0x1f8ddb(0x227)](_0x152690,_0x17f344):helper[_0x1f8ddb(0x26e)](_0xe6d62e[_0x1f8ddb(0x222)](_0x3fec64,_0x17f344),[_0xe6d62e[_0x1f8ddb(0x25b)]]);let _0x926402={};if(_0x319b84){logger['info'](_0x1f8ddb(0x228)+_0x319b84);try{_0x926402=await _0xe6d62e[_0x1f8ddb(0x1e0)](requireOrImportDefaultObject,_0x319b84);}catch(_0x556898){return logger[_0x1f8ddb(0x1fe)](_0xe6d62e[_0x1f8ddb(0x265)](_0xe6d62e['JnkYF'],_0xe6d62e[_0x1f8ddb(0x227)](format,_0x556898))),null;}}else logger[_0x1f8ddb(0x259)](_0xe6d62e[_0x1f8ddb(0x1c0)]);if(_0x16dd02){const _0x29c865=_0xdcf465[_0x1f8ddb(0x20b)](_0x536759=>_0x536759===_0x1f8ddb(0x245)||_0x536759==='-c'||_0x536759[_0x1f8ddb(0x253)](_0x1f8ddb(0x25f)));_0xdcf465['splice'](_0x29c865,_0xdcf465[_0x29c865][_0x1f8ddb(0x253)](_0xe6d62e[_0x1f8ddb(0x26b)])?0x1:0x2);}const _0x5265ab={};return _0x5265ab['path']=_0x319b84,_0x5265ab[_0x1f8ddb(0x1e3)]=_0x926402,_0x5265ab;},setGlobalSetup=(_0x2d6cff,_0x3dca56)=>{const _0x559fcf=a33_0x4fe9d7,_0x4bf8af={'vYGuU':_0x559fcf(0x23b),'BLUeo':_0x559fcf(0x230),'qVeqN':function(_0x192cce,_0x31ef78){return _0x192cce+_0x31ef78;},'uSkEC':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','NAkES':function(_0x469a26,_0x5ae50f){return _0x469a26(_0x5ae50f);},'jXKcx':_0x559fcf(0x1bf)};if(!_0x2d6cff)return![];try{if(_0x2d6cff[_0x559fcf(0x23b)]){let _0x52c02d;const _0x25abc7=path[_0x559fcf(0x24c)](_0x3dca56,_0x2d6cff[_0x4bf8af[_0x559fcf(0x1fb)]]);if(fs['existsSync'](_0x25abc7))_0x52c02d=_0x25abc7;else{const _0x4a1a3b={};_0x4a1a3b[_0x559fcf(0x1d8)]=[_0x3dca56],_0x52c02d=require[_0x559fcf(0x24c)](_0x2d6cff[_0x4bf8af[_0x559fcf(0x1fb)]],_0x4a1a3b);}if(!_0x52c02d)throw new Error(_0x4bf8af[_0x559fcf(0x25c)]);process['env'][_0x559fcf(0x25a)]=_0x52c02d;}}catch(_0x1acdbd){logger[_0x559fcf(0x1fe)](_0x4bf8af[_0x559fcf(0x231)](_0x4bf8af[_0x559fcf(0x1da)],_0x4bf8af[_0x559fcf(0x1d2)](format,_0x1acdbd)));}return _0x2d6cff[_0x559fcf(0x23b)]=require[_0x559fcf(0x24c)](_0x4bf8af[_0x559fcf(0x1c3)]),!![];},addReporter=_0x4e5c03=>{const _0x2cb31e=a33_0x4fe9d7,_0x4a88cb={};_0x4a88cb[_0x2cb31e(0x24a)]='./reporter/reporter.js',_0x4a88cb[_0x2cb31e(0x1bd)]=_0x2cb31e(0x215),_0x4a88cb[_0x2cb31e(0x1b4)]=function(_0x5563a2,_0x54f6bb){return _0x5563a2===_0x54f6bb;},_0x4a88cb[_0x2cb31e(0x244)]=_0x2cb31e(0x1db),_0x4a88cb[_0x2cb31e(0x1b9)]='object';const _0x30bacf=_0x4a88cb,_0x4590fb=path[_0x2cb31e(0x1f4)](__dirname,_0x30bacf[_0x2cb31e(0x24a)]),_0x267ca2=[_0x4590fb];if(helper['isUndefined'](_0x4e5c03[_0x30bacf[_0x2cb31e(0x1bd)]]))_0x4e5c03[_0x30bacf[_0x2cb31e(0x1bd)]]=[_0x267ca2];else{if(_0x30bacf['jHZrP'](typeof _0x4e5c03[_0x30bacf[_0x2cb31e(0x1bd)]],_0x30bacf[_0x2cb31e(0x244)]))_0x4e5c03[_0x30bacf[_0x2cb31e(0x1bd)]]=[[_0x4e5c03[_0x30bacf[_0x2cb31e(0x1bd)]]],_0x267ca2];else _0x30bacf[_0x2cb31e(0x1b4)](typeof _0x4e5c03[_0x30bacf[_0x2cb31e(0x1bd)]],_0x30bacf[_0x2cb31e(0x1b9)])&&_0x4e5c03[_0x30bacf[_0x2cb31e(0x1bd)]][_0x2cb31e(0x1ef)](_0x267ca2);}},handleO11yRerun=_0x266389=>{const _0x12f37e=a33_0x4fe9d7,_0x346c38={};_0x346c38[_0x12f37e(0x1e6)]=function(_0x4aa7dd,_0x472b91){return _0x4aa7dd!==_0x472b91;},_0x346c38[_0x12f37e(0x275)]='null',_0x346c38[_0x12f37e(0x203)]=_0x12f37e(0x1d3);const _0x12c6d2=_0x346c38,_0x152d24=helper[_0x12f37e(0x264)](process['env'][_0x12f37e(0x1dc)]);if(_0x152d24){const _0x46c83a=process[_0x12f37e(0x249)]['BROWSERSTACK_RERUN_TESTS'],_0x2782d3=[];if(_0x12c6d2[_0x12f37e(0x1e6)](_0x46c83a,_0x12c6d2[_0x12f37e(0x275)])&&!helper[_0x12f37e(0x26c)](_0x46c83a)){_0x46c83a[_0x12f37e(0x240)](',')[_0x12f37e(0x24e)](_0x577ba0=>{const _0x3a1171=_0x12f37e;_0x2782d3[_0x3a1171(0x1ef)]('('+_0x577ba0[_0x3a1171(0x1de)]()+')');});const _0x27195c='^'+_0x2782d3[_0x12f37e(0x1f4)]('|')+'$';_0x266389[_0x12f37e(0x1ef)](_0x12c6d2[_0x12f37e(0x203)],_0x27195c);}}},spawnOriginalProcess=_0x5b222d=>{const _0xc49775=a33_0x4fe9d7,_0x1501c9={'YdFRc':function(_0x50c979,_0xbd8df4,_0xca0c16,_0x3f5be4){return _0x50c979(_0xbd8df4,_0xca0c16,_0x3f5be4);},'YDYaE':_0xc49775(0x242),'heTpg':_0xc49775(0x1fc),'OaGoG':function(_0x33a887,_0x3ebd90){return _0x33a887===_0x3ebd90;},'UIEfu':_0xc49775(0x27f),'MDifT':'inherit'};_0x1501c9[_0xc49775(0x236)](spawn,_0x1501c9[_0xc49775(0x20c)],[_0x1501c9[_0xc49775(0x1cb)],..._0x5b222d[_0xc49775(0x257)](0x1)],{'shell':_0x1501c9[_0xc49775(0x20a)](process[_0xc49775(0x1e8)],_0x1501c9['UIEfu']),'stdio':_0x1501c9['MDifT'],'cwd':process[_0xc49775(0x216)]()});},isTestCommand=(_0x26fbcb,_0x55fe8d)=>{const _0x3d144b=a33_0x4fe9d7,_0x2fb7d6={};_0x2fb7d6[_0x3d144b(0x261)]=function(_0x1d84b9,_0x413d43){return _0x1d84b9>_0x413d43;},_0x2fb7d6[_0x3d144b(0x219)]=function(_0xd11227,_0x56e3d7){return _0xd11227===_0x56e3d7;},_0x2fb7d6[_0x3d144b(0x218)]='test';const _0x466a73=_0x2fb7d6;if(_0x466a73[_0x3d144b(0x261)](_0x55fe8d[_0x3d144b(0x1ca)],0x1)&&_0x466a73['cONQw'](_0x55fe8d[0x1],_0x466a73['ayDVK']))return!![];return![];},initO11yCrashReporter=(_0x5e242b,_0x439200)=>{const _0x3764b6=a33_0x4fe9d7,_0x260a5d={'oAOzk':function(_0x4e984e,_0x5ef4d5){return _0x4e984e(_0x5ef4d5);}},_0x356d08={'frameworkName':FRAMEWORKS[_0x3764b6(0x205)],'frameworkVersion':_0x260a5d['oAOzk'](getFrameworkVersion,FRAMEWORKS[_0x3764b6(0x205)])};CrashReporter[_0x3764b6(0x260)](_0x356d08,_0x5e242b,_0x439200);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x1d4cb5){const _0x434097=a33_0x4fe9d7,_0x25dcd6={};_0x25dcd6[_0x434097(0x256)]=function(_0x3e24cb,_0x4a6eba){return _0x3e24cb>_0x4a6eba;},_0x25dcd6[_0x434097(0x23c)]=function(_0x3cae0c,_0xb75865){return _0x3cae0c===_0xb75865;};const _0x4d7cf0=_0x25dcd6;if(!_0x1d4cb5||_0x4d7cf0['neMym'](_0x1d4cb5[_0x434097(0x1ca)],0x1)&&_0x4d7cf0[_0x434097(0x23c)](_0x1d4cb5[0x0],null))return process[_0x434097(0x249)][_0x434097(0x241)]=![],![];return!![];});function a33_0x3e49(){const _0x930cbe=['trim','test','izsFS','LpWVp','object','config','BROWSERSTACK_SETUP_CONFIG_PATH','logLevel','Huite','lFJhU','platform','BrowserStack\x20config\x20file\x20not\x20found.','qheCF','LsNcy','zKGuc','skipSessionStatus','writeFileSync','push','apply','1462060Qmvvgm','eEVKI','clearTempPWConfig','join','existsSync','errorMessage','isFalse','foVgI','7007BEYHZr','xEjlh','vYGuU','playwright','includes','error','LgANj','./accessibility-helper','rdody','testMatch','wvjly','testIgnore','PLAYWRIGHT','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','homedir','AjFqg','480648MGJIla','OaGoG','findIndex','YDYaE','PACKAGE_TYPE','automation','stringify','mvtKT','caxVm','OBSERVABILITY','close','filterBrowserstackConfig','reporter','cwd','path','ayDVK','cONQw','playwright-browserstack-sdk.config.js','HcRlC','_internal','assign','ucYrH','AjVTk','ROZGR','IgRcq','ModFx','false','child_process','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','795735DEMZFp','fuhPe','Getting\x20your\x20playwright\x20config\x20from\x20','LzPuU','requirePWModule','exports','../../helpers/helper','oMwHi','uyrVa','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','qVeqN','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2964XejcPY','oebvZ','finalExecution','YdFRc','pDMKm','\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();','Error\x20in\x20closing\x20playwright','GvjiO','globalSetup','gxWtE','concat','--disable-test-observability','default','split','BROWSERSTACK_TEST_OBSERVABILITY','npx','1017RQJSXm','kuYSV','--config','LIpEV','accessibility','18csQkyr','env','REnJC','RZDQK','resolve','true','map','ZDOKy','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','hIcpX','project','startsWith','42VKtxKw','launchBuild','neMym','slice','923673AhBjot','info','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','ThvJA','BLUeo','.browserstack','../../helpers/test-observability/constants','--config=','initialize','EjyfU','qXWOq','pw_result.json','isTrue','ARZRv','HFQpj','53633OnDARz','kIgzl','JCIcG','HNsGc','WiYbX','isUndefined','../../helpers/accessibility-automation/helper','nestedKeyValue','BROWSERSTACK_AUTOMATION','platforms','testContextOptions','6gIRcdD','debug','wOtRL','nQQrX','testObservability','unlinkSync','JJEjf','cliConfig','browserstackSetupConfig.json','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','serializeToYamlString','../../helpers/BrowserStackSetup','readFileSync','win32','jHZrP','UtNWo','../../helpers/testhub/utils','indexOf','markSDKSetupComplete','aCHed','testDir','44790QIabsd','inherit','RWNJZ','get','./globalSetup.js','LOJbn','VFxIo','vqqRl','jXKcx','zuARs','./reporter/pwUtils','Deleting\x20','../../helpers/test-observability/error-handler','respectGitIgnore','../../helpers/testhub/constants','length','heTpg','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibilityOptions','parse','dirname','has','playwright-browserstack-sdk.config.cjs','NAkES','--grep','--disable-browserstack-automation','EVAxv','Error\x20in\x20getting\x20funnel\x20data\x20results','../../helpers/test-observability/sessionHandler','paths','XusCK','uSkEC','string','BROWSERSTACK_RERUN','ADThw'];a33_0x3e49=function(){return _0x930cbe;};return a33_0x3e49();}async function run(_0x966a9d,_0x546e35){const _0x2658a9=a33_0x4fe9d7,_0x322374={'VFxIo':_0x2658a9(0x25d),'ZDOKy':_0x2658a9(0x263),'HNsGc':function(_0x2fdf31,_0x1f6284){return _0x2fdf31+_0x1f6284;},'JJEjf':_0x2658a9(0x1d6),'hIuvA':'7|3|1|2|6|0|5|4','caxVm':function(_0x2cbb18){return _0x2cbb18();},'RZDQK':_0x2658a9(0x239),'HFQpj':_0x2658a9(0x1d4),'rdody':_0x2658a9(0x223),'kfamh':_0x2658a9(0x23e),'EVAxv':function(_0x2b9097,_0x7175b6){return _0x2b9097>=_0x7175b6;},'WAzMe':'Error\x20in\x20deleting\x20playwright\x20results','LgANj':function(_0x470f30,_0x268270,_0x1e3bff){return _0x470f30(_0x268270,_0x1e3bff);},'qidwt':function(_0x54706d,_0x245b44){return _0x54706d(_0x245b44);},'DDxTL':_0x2658a9(0x1e9),'JCIcG':_0x2658a9(0x20e),'zKGuc':function(_0x476cf9,_0x232d2d){return _0x476cf9!=_0x232d2d;},'ADThw':function(_0x321298,_0x2ee0a2){return _0x321298(_0x2ee0a2);},'uyrVa':function(_0x5303b0,_0x4cb214,_0x9ed118){return _0x5303b0(_0x4cb214,_0x9ed118);},'AjVTk':_0x2658a9(0x206),'LzPuU':function(_0x19b824,_0x2a4990,_0x1ed0de){return _0x19b824(_0x2a4990,_0x1ed0de);},'kIgzl':function(_0x8167a3,_0x2565aa){return _0x8167a3(_0x2565aa);},'HcRlC':function(_0x344c27,_0x24aaf4){return _0x344c27===_0x24aaf4;},'lFJhU':_0x2658a9(0x24d),'ucYrH':function(_0x22d3aa,_0x127148){return _0x22d3aa(_0x127148);},'IgRcq':function(_0x531560,_0x37312d){return _0x531560(_0x37312d);},'UtNWo':function(_0x5d6a91,_0x57ea3c){return _0x5d6a91===_0x57ea3c;},'eEVKI':_0x2658a9(0x27a),'czuMZ':function(_0x3131a9){return _0x3131a9();},'GvjiO':_0x2658a9(0x1ba),'zuARs':_0x2658a9(0x202),'xEjlh':_0x2658a9(0x204),'LpWVp':function(_0x120e2a,_0x25a30a){return _0x120e2a+_0x25a30a;},'UnVFC':_0x2658a9(0x225),'mvtKT':_0x2658a9(0x1d1),'LIpEV':_0x2658a9(0x21a),'AjFqg':function(_0x448b59,_0x5c0d57){return _0x448b59>_0x5c0d57;},'FTOpA':function(_0x3825e3,_0x4cdec1){return _0x3825e3+_0x4cdec1;},'oebvZ':function(_0x5e46da,_0x34cc32,_0x5bf546,_0x56d14c){return _0x5e46da(_0x34cc32,_0x5bf546,_0x56d14c);},'XusCK':_0x2658a9(0x242),'qXWOq':_0x2658a9(0x1fc),'qheCF':_0x2658a9(0x1df),'rFXvl':_0x2658a9(0x245),'QVqaJ':function(_0x325302,_0x3dfbd7){return _0x325302===_0x3dfbd7;},'hIcpX':_0x2658a9(0x27f),'LsNcy':_0x2658a9(0x1bc),'foVgI':_0x2658a9(0x213)};!helper[_0x2658a9(0x1f7)](process['env'][_0x2658a9(0x26f)])&&(process['env'][_0x2658a9(0x26f)]=!![]);process['argv'][_0x2658a9(0x1fd)](_0x322374[_0x2658a9(0x266)])&&(process[_0x2658a9(0x249)]['BROWSERSTACK_AUTOMATION']=_0x322374[_0x2658a9(0x201)],_0x546e35=_0x546e35['filter'](_0x2c783a=>_0x2c783a!=='--disable-browserstack-automation'));const _0x307ca3=_0x546e35[_0x2658a9(0x1b7)](_0x322374['kfamh']);_0x322374[_0x2658a9(0x1d5)](_0x307ca3,0x0)&&(process[_0x2658a9(0x249)][_0x2658a9(0x241)]=_0x322374[_0x2658a9(0x201)],_0x546e35=_0x546e35['filter'](_0x9a22d=>_0x9a22d!==_0x2658a9(0x23e)));try{const _0x52700e=path[_0x2658a9(0x1f4)](helper['homedir'](),_0x322374[_0x2658a9(0x1c1)],_0x322374[_0x2658a9(0x24f)]);fs[_0x2658a9(0x1f5)](_0x52700e)&&fs[_0x2658a9(0x277)](_0x52700e);}catch(_0x352e13){logger[_0x2658a9(0x273)](_0x322374['HNsGc'](_0x322374['WAzMe'],_0x352e13));}if(!_0x322374[_0x2658a9(0x1ff)](isTestCommand,_0x966a9d,_0x546e35)){_0x322374['qidwt'](spawnOriginalProcess,_0x546e35);return;}const _0x47eda1=new BrowserStackSetup(_0x966a9d,FRAMEWORKS['PLAYWRIGHT']);if(!_0x47eda1[_0x2658a9(0x1e3)]){logger['error'](_0x322374['DDxTL']);return;}await _0x47eda1[_0x2658a9(0x260)]();!helper['isUndefined'](_0x47eda1[_0x2658a9(0x279)])&&_0x47eda1[_0x2658a9(0x279)][_0x2658a9(0x1d0)](_0x322374[_0x2658a9(0x269)])&&(process[_0x2658a9(0x249)]['BROWSERSTACK_AUTOMATION']=_0x47eda1['cliConfig'][_0x2658a9(0x1be)](_0x322374[_0x2658a9(0x269)])||!![]);_0x322374[_0x2658a9(0x1ec)](_0x47eda1[_0x2658a9(0x1e3)][_0x2658a9(0x276)],null)&&!helper[_0x2658a9(0x264)](process[_0x2658a9(0x249)][_0x2658a9(0x241)])&&(process[_0x2658a9(0x249)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x2658a9(0x249)][_0x2658a9(0x241)]||_0x47eda1[_0x2658a9(0x1e3)]['testObservability']);const _0x29afec=!helper[_0x2658a9(0x1f7)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);let _0xd2879c=![];_0x47eda1[_0x2658a9(0x1e3)][_0x2658a9(0x247)]&&(_0xd2879c=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x47eda1[_0x2658a9(0x1e3)][_0x2658a9(0x247)]);_0x47eda1[_0x2658a9(0x1e3)][_0x2658a9(0x1cd)]&&(process['env'][_0x2658a9(0x232)]=JSON[_0x2658a9(0x20f)](_0x47eda1[_0x2658a9(0x1e3)][_0x2658a9(0x1cd)]));const _0x3bd4a8=_0x546e35[_0x2658a9(0x23d)](),_0x1908df=await _0x322374[_0x2658a9(0x1ff)](getUserPlaywrightConfig,_0x966a9d,_0x546e35);if(helper[_0x2658a9(0x26c)](_0x1908df)){_0x322374['ADThw'](spawnOriginalProcess,_0x3bd4a8);return;}const _0x3c90c2={..._0x1908df[_0x2658a9(0x1e3)]},_0xf89adf=_0x3c90c2,_0x278c2e=_0x1908df['path']?path[_0x2658a9(0x1cf)](_0x1908df[_0x2658a9(0x217)]):process[_0x2658a9(0x216)]();process[_0x2658a9(0x249)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x278c2e;if(!_0x322374[_0x2658a9(0x22e)](setGlobalSetup,_0xf89adf,_0x278c2e)){_0x322374['qidwt'](spawnOriginalProcess,_0x3bd4a8);return;}const _0x5529a1=await TestHubHandler[_0x2658a9(0x255)](FRAMEWORKS[_0x2658a9(0x205)],_0x47eda1);_0x29afec&&(logger['info'](_0x322374[_0x2658a9(0x21f)]),_0x322374[_0x2658a9(0x229)](initO11yCrashReporter,_0xf89adf,_0x47eda1[_0x2658a9(0x1e3)]),_0x322374[_0x2658a9(0x268)](handleO11yRerun,_0x546e35),await _0x322374[_0x2658a9(0x1dd)](launchO11ySession,_0x5529a1[testHubConstants[_0x2658a9(0x212)]]));_0x322374[_0x2658a9(0x211)](shouldProcessEventForTesthub)&&_0x322374[_0x2658a9(0x1dd)](addReporter,_0xf89adf);let _0x5212f6=_0x322374[_0x2658a9(0x21b)](process[_0x2658a9(0x249)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x322374[_0x2658a9(0x1e7)]);_0x5212f6=_0x5212f6||_0x322374[_0x2658a9(0x21e)](checkAccessibilityPlatformConfig,_0x47eda1[_0x2658a9(0x1e3)]),process[_0x2658a9(0x249)][_0x2658a9(0x1cc)]=_0x5212f6;_0x5212f6&&_0x322374[_0x2658a9(0x221)](setAccessibilityCapabilities,_0x47eda1[_0x2658a9(0x1e3)]);(helper[_0x2658a9(0x26c)](_0x47eda1[_0x2658a9(0x1e3)]['platforms'])||_0x322374[_0x2658a9(0x1b5)](_0x47eda1[_0x2658a9(0x1e3)][_0x2658a9(0x270)][_0x2658a9(0x1ca)],0x0))&&(process[_0x2658a9(0x249)][_0x2658a9(0x26f)]=![]);const _0x2a409e=path['join'](_0x1908df[_0x2658a9(0x217)]?path[_0x2658a9(0x1cf)](_0x1908df[_0x2658a9(0x217)]):process[_0x2658a9(0x216)](),_0x322374[_0x2658a9(0x1f2)]);fs[_0x2658a9(0x1ee)](_0x2a409e,helper[_0x2658a9(0x27c)](_0x47eda1[_0x2658a9(0x1e3)])),process[_0x2658a9(0x249)][_0x2658a9(0x1e4)]=_0x2a409e,helper[_0x2658a9(0x1f3)]();if(helper[_0x2658a9(0x264)](process[_0x2658a9(0x249)]['BROWSERSTACK_AUTOMATION'])){let _0x359b49=[];try{const _0x138a15=helper[_0x2658a9(0x22a)]['apply'](null,_0x322374['czuMZ'](getProjectUtilsPath)),_0x3fd029={};_0x3fd029[_0x2658a9(0x1c8)]=!![],_0x3fd029[_0x2658a9(0x1ba)]='',_0x3fd029['testMatch']='',_0x3fd029[_0x2658a9(0x204)]='';const _0x8393a5={};_0x8393a5[_0x2658a9(0x1c8)]=!![];const _0x18c4b5={};_0x18c4b5[_0x2658a9(0x252)]=_0x3fd029,_0x18c4b5[_0x2658a9(0x21c)]=_0x8393a5;let _0x5ea2d6=_0x18c4b5;_0xf89adf[_0x322374[_0x2658a9(0x23a)]]&&(_0x5ea2d6['project'][_0x322374[_0x2658a9(0x23a)]]=_0xf89adf[_0x322374['GvjiO']]),_0xf89adf[_0x322374[_0x2658a9(0x1c4)]]&&(_0x5ea2d6['project'][_0x322374[_0x2658a9(0x1c4)]]=_0xf89adf[_0x322374[_0x2658a9(0x1c4)]]),_0xf89adf[_0x322374[_0x2658a9(0x1fa)]]&&(_0x5ea2d6[_0x2658a9(0x252)][_0x322374[_0x2658a9(0x1fa)]]=_0xf89adf[_0x322374[_0x2658a9(0x1fa)]]),_0x5ea2d6=Object[_0x2658a9(0x21d)](_0x5ea2d6,_0x5ea2d6[_0x2658a9(0x252)]),_0x359b49=await _0x138a15['collectFilesForProject'](_0x5ea2d6);}catch(_0x2c2905){logger['debug'](_0x322374[_0x2658a9(0x1e1)](_0x322374['UnVFC'],_0x322374[_0x2658a9(0x221)](format,_0x2c2905)));}}let _0x544efd='';_0x322374[_0x2658a9(0x21b)](helper['getPackageType'](),constants[_0x2658a9(0x20d)]['MODULE'])?_0x544efd=_0x322374[_0x2658a9(0x210)]:_0x544efd=_0x322374[_0x2658a9(0x246)];const _0x521b16=path[_0x2658a9(0x1f4)](_0x1908df[_0x2658a9(0x217)]?path[_0x2658a9(0x1cf)](_0x1908df[_0x2658a9(0x217)]):process[_0x2658a9(0x216)](),_0x544efd);let _0x3d4281=_0x1908df['path']?_0x1908df[_0x2658a9(0x217)]:'';_0x3d4281=_0x322374[_0x2658a9(0x208)](_0x3d4281['length'],0x0)?path[_0x2658a9(0x24c)](_0x3d4281):'',process[_0x2658a9(0x249)]['USER_CONFIG_DETAILS_PATH']=_0x3d4281;let _0x2a91f8=_0x2658a9(0x22f);const _0xc43136=helper['getProxyUrl'](_0x47eda1[_0x2658a9(0x1e3)]);_0xc43136&&(_0x2a91f8=_0x322374['FTOpA'](_0x2658a9(0x250)+_0xc43136+_0x2658a9(0x238),_0x2a91f8));helper[_0x2658a9(0x214)]({},_0x546e35),fs[_0x2658a9(0x1ee)](_0x521b16,_0x2a91f8),helper[_0x2658a9(0x1b8)]();const _0x8ab8c6=_0x322374[_0x2658a9(0x234)](spawn,_0x322374[_0x2658a9(0x1d9)],[_0x322374[_0x2658a9(0x262)],_0x322374[_0x2658a9(0x1ea)],_0x322374['rFXvl'],_0x521b16,..._0x546e35[_0x2658a9(0x257)](0x2)],{'shell':_0x322374['QVqaJ'](process[_0x2658a9(0x1e8)],_0x322374[_0x2658a9(0x251)]),'stdio':_0x322374[_0x2658a9(0x1eb)],'cwd':process[_0x2658a9(0x216)](),'env':Object['assign']({},process[_0x2658a9(0x249)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x966a9d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x47eda1['config'][_0x2658a9(0x271)][_0x2658a9(0x1ed)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x47eda1[_0x2658a9(0x1e3)]['testContextOptions']['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x47eda1['config'][_0x2658a9(0x1e5)]})}),_0x2073fc=()=>{const _0x36e949=_0x2658a9;try{const _0x507fca=path[_0x36e949(0x1f4)](helper[_0x36e949(0x207)](),_0x322374[_0x36e949(0x1c1)],_0x322374[_0x36e949(0x24f)]);if(fs[_0x36e949(0x1f5)](_0x507fca)){let _0x30f90d=fs[_0x36e949(0x27e)](_0x507fca);_0x30f90d=JSON[_0x36e949(0x1ce)](_0x30f90d),_0x47eda1[_0x36e949(0x1f6)]=_0x30f90d,fs['unlinkSync'](_0x507fca);}}catch(_0x33c5c9){logger[_0x36e949(0x273)](_0x322374[_0x36e949(0x26a)](_0x322374[_0x36e949(0x278)],_0x33c5c9));}};_0x8ab8c6['on'](_0x322374[_0x2658a9(0x1f8)],async _0x2da1fa=>{const _0x72f0e2=_0x2658a9;try{const _0x3ade83=_0x322374['hIuvA']['split']('|');let _0x4318bf=0x0;while(!![]){switch(_0x3ade83[_0x4318bf++]){case'0':fs['unlinkSync'](_0x521b16);continue;case'1':process['exitCode']=_0x2da1fa;continue;case'2':logger[_0x72f0e2(0x273)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x2da1fa);continue;case'3':await helper[_0x72f0e2(0x235)](_0x47eda1);continue;case'4':fs[_0x72f0e2(0x277)](_0x2a409e);continue;case'5':logger[_0x72f0e2(0x273)](_0x72f0e2(0x1c6)+_0x2a409e);continue;case'6':logger[_0x72f0e2(0x259)]('Deleting\x20'+_0x521b16);continue;case'7':_0x322374[_0x72f0e2(0x211)](_0x2073fc);continue;}break;}}catch(_0x4937cf){logger[_0x72f0e2(0x273)](_0x322374['HNsGc'](_0x322374[_0x72f0e2(0x24b)],_0x4937cf));}});}module[a33_0x4fe9d7(0x22b)]=run;
@@ -1 +1 @@
1
- const a34_0x256a29=a34_0xd9b3;function a34_0x2301(){const _0x229ab8=['resolve','3646287MJhhRb','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/test-observability/constants','188001ncakOt','1877308FiDedt','env','Not\x20able\x20to\x20import\x20globalSetup','\x20is\x20not\x20found','rUVtQ','4939206aBqnYw','winstonLogger','HlEiq','VGoJu','7BdBDWZ','VKZvn','function','../../helpers/logger','requirePWModule','iqdBV','PLAYWRIGHT','Call\x20to\x20child\x20fork\x20with\x20args\x20','./reporter/pwUtils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','8bjmIHh','includes','error','hsShr','exports','zAsUZ','wknif','4268395opuAbV','EsHSO','compareVersions','bvYzH','../../helpers/test-observability/utils','2606uvbUjg','config','toString','./mock-process.js','fork','447VaxneN','apply','20852030PvpaJh','Running\x20existing\x20global\x20setup'];a34_0x2301=function(){return _0x229ab8;};return a34_0x2301();}function a34_0xd9b3(_0x22e500,_0x18e873){const _0x23012c=a34_0x2301();return a34_0xd9b3=function(_0xd9b323,_0x3f5ddc){_0xd9b323=_0xd9b323-0x13c;let _0x129d15=_0x23012c[_0xd9b323];return _0x129d15;},a34_0xd9b3(_0x22e500,_0x18e873);}(function(_0x25f186,_0x5a491a){const _0x17e621=a34_0xd9b3,_0x49b603=_0x25f186();while(!![]){try{const _0x4ab218=-parseInt(_0x17e621(0x149))/0x1+-parseInt(_0x17e621(0x13c))/0x2*(-parseInt(_0x17e621(0x141))/0x3)+parseInt(_0x17e621(0x14a))/0x4+-parseInt(_0x17e621(0x164))/0x5+parseInt(_0x17e621(0x14f))/0x6*(-parseInt(_0x17e621(0x153))/0x7)+-parseInt(_0x17e621(0x15d))/0x8*(parseInt(_0x17e621(0x146))/0x9)+parseInt(_0x17e621(0x143))/0xa;if(_0x4ab218===_0x5a491a)break;else _0x49b603['push'](_0x49b603['shift']());}catch(_0x134fb8){_0x49b603['push'](_0x49b603['shift']());}}}(a34_0x2301,0x74dbd));const child_process=require('child_process'),{FRAMEWORKS}=require(a34_0x256a29(0x148)),{getFrameworkVersion,debug}=require(a34_0x256a29(0x168)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x256a29(0x15b)),logger=require(a34_0x256a29(0x156))[a34_0x256a29(0x150)];module[a34_0x256a29(0x161)]=async function(_0x4d8aed){const _0x2a7fdc=a34_0x256a29,_0x56fe8e={'zAsUZ':function(_0x3aa3e1,_0x37a008){return _0x3aa3e1(_0x37a008);},'hsShr':function(_0xd50e17){return _0xd50e17();},'wknif':_0x2a7fdc(0x13f),'HlEiq':function(_0x2d751d,_0x1c59ea){return _0x2d751d(_0x1c59ea);},'EsHSO':_0x2a7fdc(0x144),'rUVtQ':function(_0x54441f,_0x2cae7c){return _0x54441f>=_0x2cae7c;},'bvYzH':'1.33.0','wkBSw':function(_0x3b0c5c,_0x1e0bd5,_0x1a0fc3){return _0x3b0c5c(_0x1e0bd5,_0x1a0fc3);},'VGoJu':function(_0x2a2819,_0x1e149a){return _0x2a2819!==_0x1e149a;},'CSdhu':_0x2a7fdc(0x155),'VKZvn':_0x2a7fdc(0x14c),'iqdBV':function(_0x5c7d8d,_0x43ec14){return _0x5c7d8d(_0x43ec14);}},_0x13dd56=child_process[_0x2a7fdc(0x140)];child_process[_0x2a7fdc(0x140)]=function(){const _0x45a4df=_0x2a7fdc;return _0x56fe8e[_0x45a4df(0x162)](debug,_0x45a4df(0x15a)+arguments[0x0]),arguments[0x0][_0x45a4df(0x15e)](_0x56fe8e[_0x45a4df(0x160)](getForkProcessPath))?arguments[0x0]=require[_0x45a4df(0x145)](_0x56fe8e[_0x45a4df(0x163)]):logger[_0x45a4df(0x15f)]('Path\x20'+_0x56fe8e[_0x45a4df(0x160)](getForkProcessPath)+_0x45a4df(0x14d)),_0x13dd56[_0x45a4df(0x142)](null,arguments);};if(process[_0x2a7fdc(0x14b)][_0x2a7fdc(0x15c)]){_0x56fe8e[_0x2a7fdc(0x151)](debug,_0x56fe8e[_0x2a7fdc(0x165)]);try{const {loadGlobalHook:_0x218cbf}=helper[_0x2a7fdc(0x157)][_0x2a7fdc(0x142)](null,_0x56fe8e[_0x2a7fdc(0x160)](getLoadUtilsPath)),_0x2721d8=_0x56fe8e[_0x2a7fdc(0x162)](getFrameworkVersion,FRAMEWORKS[_0x2a7fdc(0x159)]);let _0x487334=_0x4d8aed;if(_0x56fe8e[_0x2a7fdc(0x14e)](helper[_0x2a7fdc(0x166)](_0x2721d8,_0x56fe8e[_0x2a7fdc(0x167)]),0x0)){const _0x52ae8b={};_0x52ae8b[_0x2a7fdc(0x13d)]=_0x4d8aed,_0x487334=_0x52ae8b;}const _0x33dac7=await _0x56fe8e['wkBSw'](_0x218cbf,_0x487334,process[_0x2a7fdc(0x14b)][_0x2a7fdc(0x15c)]);if(_0x56fe8e[_0x2a7fdc(0x152)](typeof _0x33dac7,_0x56fe8e['CSdhu']))throw new Error(_0x56fe8e[_0x2a7fdc(0x154)]);return _0x33dac7[_0x2a7fdc(0x142)](null,arguments);}catch(_0x1a880c){_0x56fe8e[_0x2a7fdc(0x158)](debug,_0x2a7fdc(0x147)+_0x1a880c[_0x2a7fdc(0x13e)]());}}};
1
+ const a34_0x4ac126=a34_0x2142;function a34_0x2142(_0xb50f8a,_0x18a866){const _0x522c8d=a34_0x522c();return a34_0x2142=function(_0x2142f2,_0x97e548){_0x2142f2=_0x2142f2-0x80;let _0x45c798=_0x522c8d[_0x2142f2];return _0x45c798;},a34_0x2142(_0xb50f8a,_0x18a866);}(function(_0x13a74a,_0x26d76c){const _0x213224=a34_0x2142,_0x4244c4=_0x13a74a();while(!![]){try{const _0x4ae716=-parseInt(_0x213224(0x97))/0x1*(-parseInt(_0x213224(0xa1))/0x2)+-parseInt(_0x213224(0xa8))/0x3+parseInt(_0x213224(0x8d))/0x4+parseInt(_0x213224(0x8f))/0x5+parseInt(_0x213224(0x88))/0x6*(-parseInt(_0x213224(0xa5))/0x7)+parseInt(_0x213224(0xa7))/0x8+-parseInt(_0x213224(0x8c))/0x9*(parseInt(_0x213224(0x93))/0xa);if(_0x4ae716===_0x26d76c)break;else _0x4244c4['push'](_0x4244c4['shift']());}catch(_0x9015ba){_0x4244c4['push'](_0x4244c4['shift']());}}}(a34_0x522c,0x85c06));function a34_0x522c(){const _0x2293cc=['Call\x20to\x20child\x20fork\x20with\x20args\x20','config','tDOYN','140220UThmrD','2621032FHlyzi','AHDPE','5338695xIdacN','winstonLogger','PLAYWRIGHT','requirePWModule','650MhMyVI','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','includes','fork','6VdlVUz','XBTcK','PhVlz','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','function','gkQMh','\x20is\x20not\x20found','DRylp','1.33.0','../../helpers/helper','236374oJcPWN','exports','./mock-process.js','error','56bwmMCP','SLRaR','3343360aEcvMN','2253783DzFWNn','hBnZn','env','kpzLH','oFAHv','Path\x20','oFxVj','vweZr','./reporter/pwUtils','403674HWCYUw'];a34_0x522c=function(){return _0x2293cc;};return a34_0x522c();}const child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a34_0x4ac126(0xa0)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x4ac126(0x87)),logger=require('../../helpers/logger')[a34_0x4ac126(0x90)];module[a34_0x4ac126(0xa2)]=async function(_0x485f89){const _0x772358=a34_0x4ac126,_0x1724f4={'oFAHv':function(_0x4177fe,_0x2b47f1){return _0x4177fe(_0x2b47f1);},'DRylp':function(_0x37f6d9){return _0x37f6d9();},'gkQMh':_0x772358(0xa3),'tDOYN':'Running\x20existing\x20global\x20setup','oFxVj':function(_0x27769c){return _0x27769c();},'PhVlz':function(_0x2585fe,_0x1f822c){return _0x2585fe(_0x1f822c);},'kpzLH':function(_0x122b3f,_0x1ee1a5){return _0x122b3f>=_0x1ee1a5;},'XBTcK':_0x772358(0x9f),'vweZr':function(_0x16dc82,_0x19e116,_0x584354){return _0x16dc82(_0x19e116,_0x584354);},'SLRaR':function(_0x44761b,_0x3bec02){return _0x44761b!==_0x3bec02;},'hBnZn':_0x772358(0x9b),'gilCz':'Not\x20able\x20to\x20import\x20globalSetup','AHDPE':function(_0x3ca9d2,_0x389c83){return _0x3ca9d2(_0x389c83);}},_0x515846=child_process[_0x772358(0x96)];child_process[_0x772358(0x96)]=function(){const _0x5bc3df=_0x772358;return _0x1724f4[_0x5bc3df(0x83)](debug,_0x5bc3df(0x89)+arguments[0x0]),arguments[0x0][_0x5bc3df(0x95)](_0x1724f4[_0x5bc3df(0x9e)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x1724f4[_0x5bc3df(0x9c)]):logger[_0x5bc3df(0xa4)](_0x5bc3df(0x84)+_0x1724f4['DRylp'](getForkProcessPath)+_0x5bc3df(0x9d)),_0x515846['apply'](null,arguments);};if(process[_0x772358(0x81)][_0x772358(0x9a)]){_0x1724f4['oFAHv'](debug,_0x1724f4[_0x772358(0x8b)]);try{const {loadGlobalHook:_0x50ec93}=helper[_0x772358(0x92)]['apply'](null,_0x1724f4[_0x772358(0x85)](getLoadUtilsPath)),_0x367d00=_0x1724f4[_0x772358(0x99)](getFrameworkVersion,FRAMEWORKS[_0x772358(0x91)]);let _0x597f3c=_0x485f89;if(_0x1724f4[_0x772358(0x82)](helper['compareVersions'](_0x367d00,_0x1724f4[_0x772358(0x98)]),0x0)){const _0x348f24={};_0x348f24[_0x772358(0x8a)]=_0x485f89,_0x597f3c=_0x348f24;}const _0x551f6d=await _0x1724f4[_0x772358(0x86)](_0x50ec93,_0x597f3c,process['env'][_0x772358(0x9a)]);if(_0x1724f4[_0x772358(0xa6)](typeof _0x551f6d,_0x1724f4[_0x772358(0x80)]))throw new Error(_0x1724f4['gilCz']);return _0x551f6d['apply'](null,arguments);}catch(_0x5ef823){_0x1724f4[_0x772358(0x8e)](debug,_0x772358(0x94)+_0x5ef823['toString']());}}};